From: Chet Ramey Date: Thu, 15 Sep 2016 20:59:08 +0000 (-0400) Subject: Bash-4.4 distribution sources and documentation X-Git-Tag: bash-4.4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0c0a00fc419b7bc08202a79134fcd5bc0427071;p=thirdparty%2Fbash.git Bash-4.4 distribution sources and documentation --- diff --git a/CHANGES b/CHANGES index 5985e42c5..43cb1341a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,1036 @@ +This document details the changes between this version, bash-4.4-release, and +the previous version, bash-4.4-rc2. + +1. Changes to Bash + +a. Fixed a bug that could potentially result in a crash due to an integer + overflow. + +b. Fixed a bug in where commands printed due to `set -x' could be incorrectly + quoted if being printed in contexts where they haven't yet been expanded. + +c. Fixed several memory leaks. + +d. Fixed a bug that could potentially cause the terminal attributes to be + set incorrectly by a command run from a programmable completion. + +e. Fixed several potential buffer overflow issues in the word expansion code. + +2. Changes to Readline + +3. New Features in Bash + +4. New Features in Readline + +------------------------------------------------------------------------------ +This document details the changes between this version, bash-4.4-rc2, and +the previous version, bash-4.4-beta2. + +1. Changes to Bash + +a. Fixed an out-of-bounds read in the redirection operator completion code. + +b. Fixed execution context so `until continue' doesn't disable execution for + subsequent commands. + +c. Fixed trap handling code so traps don't inherit a command's temporary + environment. + +d. Fixed a bug that resulted in incorrect line numbers when a function is + defined as part of another function's execution. + +e. Fixed a bug in the expansion of ${a[@]} in contexts where word splitting + is not performed and $IFS is not the default. + +f. Fixed a bug that caused ''"$@" to not expand to an empty argument when + there are no positional parameters. + +g. Fixed a bug that caused a shell compiled without job control to use the + incorrect exit status for builtin commands preceded by a command executed + from the file system that causes the shell to call waitpid(). + +h. Improved word completion for quoted strings containing unterminated command + substitutions with embedded double quotes. + +2. Changes to Readline + +a. Fixed a bug that caused mode strings to be displayed incorrectly if the + prompt was shorter than the mode string. + +3. New Features in Bash + +a. Using ${a[@]} or ${a[*]} with an array without any assigned elements when + the nounset option is enabled no longer throws an unbound variable error. + +4. New Features in Readline + +a. New application-callable function: rl_pending_signal(): returns the signal + number of any signal readline has caught but not yet handled. + +b. New application-settable variable: rl_persistent_signal_handlers: if set + to a non-zero value, readline will enable the readline-6.2 signal handler + behavior in callback mode: handlers are installed when + rl_callback_handler_install is called and removed removed when a complete + line has been read. + +------------------------------------------------------------------------------ +This document details the changes between this version, bash-4.4-beta2, and +the previous version, bash-4.4-rc1. + +1. Changes to Bash + +a. Fixed a memory leak when processing ${!var[@]}. + +b. Fixed a bug that caused subshells to free trap strings associated with + inherited signals. + +c. Inheriting BASHOPTS from the environment now works to force actions + associated with enabling an option, instead of just marking the option + as enabled. + +d. Fixed a bug that allowed assignments to BASH_CMDS when the shell was in + restricted mode. + +e. Fixed a bug caused by an accidental omission of part of the original patch + for EXECIGNORE. + +e. Prompt expansion now quotes the results of the \s, \h, and \H expansions. + +f. Fixed a bug that caused parsing errors in command substitutions with + consecutive case statements separated by newlines. + +g. Updated logic used to decide whether bash is running inside an emacs + terminal emulator to work with future emacs versions. + +h. Fixed two extended pattern matching bugs caused by premature short- + circuiting. + +i. Fixed a memory leak in the code that removes duplicate history entries. + +j. There are a number of bug fixes to coproc, mapfile, declare, unset, + and assignment statements that prevent nameref variables from creating + and unsetting variables with invalid names. + +k. Fixed a bug that caused variables to be inadvertently marked as both an + associative and an indexed array. + +l. Fixed a bug that caused `bash -c' to not run a trap specified in the + command string. + +j. There are a number of bug fixes to coproc, mapfile, declare, and assignment + statements that prevent nameref variables from overwriting or modifying + attributes of readonly variables. + +k. Fixed a bug that caused command substitution to attempt to set the + terminal's process group incorrectly. + +l. Fixed a bug that could cause prompt string expansion to display error + messages when the `nounset' shell option is set. + +m. Fixed a bug that caused "$@" to not expand to an empty string under the + circumstances when Posix says it should ("${@-${@-$@}}"). + +n. Fixed several bugs caused by referencing nameref variables whose values + are names of unset variables (or names that are valid for referencing + but not assignment), including creating variables in the temporary + environment. + +o. Function tracing and error tracing are disabled if --debugger is supplied + at startup but the shell can't find the debugger start file. + +p. Fixed a bug when IFS is used as the control variable in a for statement. + +q. Fixed a bug with SIGINT received by a command substitution in an interactive + shell. + +r. The checks for nameref variable self-references are more thorough. + +s. Fixed several bugs with multi-line aliases. + +t. Fixed `test' to handle the four-argument case where $1 == '(' and + $4 == ')'. + +u. Fixed a bug in the expansion of $* in the cases where word splitting is + not performed. + +v. Fixed a bug in execution of case statements where IFS includes the + pattern matching characters. + +2. Changes to Readline + +a. When refreshing the line as the result of a key sequence, Readline attempts + to redraw only the last line of a multiline prompt. + +b. Fixed an issue that caused completion of git commands to display + incorrectly when using colored-completion-prefix. + +c. Fixed several redisplay bugs having to do with multibyte characters and + invisible characters in prompt strings. + +3. New Features in Bash + +a. Value conversions (arithmetic expansions, case modification, etc.) now + happen when assigning elements of an array using compound assignment. + +b. There is a new option settable in config-top.h that makes multiple + directory arguments to `cd' a fatal error. + +c. Bash now uses mktemp() when creating internal temporary files; it produces + a warning at build time on many Linux systems. + +4. New Features in Readline + +a. The default binding for ^W in vi mode now uses word boundaries specified + by Posix (vi-unix-word-rubout is bindable command name). + +b. rl_clear_visible_line: new application-callable function; clears all + screen lines occupied by the current visible readline line. + +c. rl_tty_set_echoing: application-callable function that controls whether + or not readline thinks it is echoing terminal output. + +d. Handle >| and strings of digits preceding and following redirection + specifications as single tokens when tokenizing the line for history + expansion. + +e. Fixed a bug with displaying completions when the prefix display length + is greater than the length of the completions to be displayed. + +f. The :p history modifier now applies to the entire line, so any expansion + specifying :p causes the line to be printed instead of expanded. + +------------------------------------------------------------------------------ +This document details the changes between this version, bash-4.4-rc1, and +the previous version, bash-4.4-beta. + +1. Changes to Bash + +a. Fixed several problems with bash completion not special-casing bash syntax + constructs. + +b. Fixed a bug that caused the mapfile builtin to not create array variables + when a variable of the same name appears in the temporary environment. + +c. Fixed a bug that caused prompt expansion to loop when PS1 contained a + syntax error. + +d. Fixed a bug that caused the ${array[@]@A} expansion to split the results + even when double-quoted. + +e. There is a new implementation of the code that saves the last CHILD_MAX + exited background pids so their status can be queried later. + +f. Bash-4.4 can now be configured and built on very old versions of Solaris 2. + +g. Fixed problems with --help support for several builtins. + +h. Fixed values added to BASH_SOURCE and BASH_LINENO for functions inherited + from the environment. + +i. Fixed a bug that caused background processes run from non-interactive shells + with job control enabled to place the terminal in the wrong process group + under certain circumstances. + +j. Fixed a bug that caused `fc' to return an incorrect exit status when + executing commands from the history list. + +k. Fixed a bug that caused the shell to exit when a process substitution + received a SIGINT when run in certain terminal emulators. + +l. EXECIGNORE now honors the setting of `extglob' when attempting to match + executable names. + +m. Fixed a bug where `return' used the wrong exit status when executed in a + DEBUG trap. + +n. Fixed a bug that caused a command containing a here-document and an escaped + newline to be stored in the history list incorrectly. + +o. Fixed a bug that caused set -e to be honored in cases of builtins invoking + other builtins when it should be ignored. + +p. Fixed a bug that caused `readonly' and `export' to create local array + variables when used within shell functions. + +q. Fixed a bug that allowed subshells begun to execute process substitutions + to have access to the command's temporary environment. + +r. Fixed a bug that could cause the shell to dump core when receiving a + SIGCHLD for which a trap has been set while running in posix mode. + +s. Fixed a bug that caused bash to not restore BASH_ARGC, BASH_ARGV, + BASH_SOURCE, BASH_LINENO, and FUNCNAME if the shell received a SIGINT + while reading commands from a file while executing `.'. + +t. Fixed a bug that caused the `-o history' option to have no effect when + supplied on the command line when starting a new shell. + +u. Fixed a bug that caused history expansions occurring in command + substitutions to not be performed. + +v. Fixed a bug that caused `eval' run in a non-interactive shell to disable + history expansion for the remainder of the shell script, even if the script + had previously enabled it. + +w. Fixed a bug that caused "$@" to not expand to multiple words when IFS is set + to the empty string. + +x. Fixed a bug that caused process and command substitution to inherit output + buffered in the stdio library but not written. + +y. Fixed a bug that caused a terminating signal received during `echo' to run + an exit trap in a signal handler context. + +z. Fixed a bug that caused a builtin command containing a process substitution + to return the wrong exit status. + +aa. Fixed a bug that caused `()' subshells with piped input to incorrectly + redirect the standard input of some of the commands in the subshell from + /dev/null. + +bb. The history builtin now uses more descriptive error messages for missing or + invalid timestamps. + +2. Changes to Readline + +a. The history file writing functions only attempt to create and use a backup + history file if the history file exists and is a regular file. + +b. Fixed an out-of-bounds read in readline's internal tilde expansion + interface. + +c. Fixed several redisplay bugs with prompt strings containing multibyte + and non-visible characters whose physical length is longer than the screen + width. + +d. Fixed a redisplay bug with prompt strings containing invisible characters + whose physical length exceeds the screen width and using incremental search. + +e. Readline prints more descriptive error messages when it encounters errors + while reading an inputrc file. + +f. Fixed a bug in the character insertion code that attempts to optimize + typeahead when it reads a character that is not bound to self-insert and + resets the key sequence state. + +3. New Features in Bash + +a. BASH_COMPAT and FUNCNEST can be inherited and set from the shell's initial + environment. + +b. inherit_errexit: a new `shopt' option that, when set, causes command + substitutions to inherit the -e option. By default, those subshells disable + -e. It's enabled as part of turning on posix mode. + +c. New prompt string: PS0. Expanded and displayed by interactive shells after + reading a complete command but before executing it. + +d. Interactive shells now behave as if SIGTSTP/SIGTTIN/SIGTTOU are set to + SIG_DFL when the shell is started, so they are set to SIG_DFL in child + processes. + +e. Posix-mode shells now allow double quotes to quote the history expansion + character. + +f. OLDPWD can be inherited from the environment if it names a directory. + +g. Shells running as root no longer inherit PS4 from the environment, closing + a security hole involving PS4 expansion performing command substitution. + +h. If executing an implicit `cd' when the `autocd' option is set, bash will + now invoke a function named `cd' if one exists before executing the `cd' + builtin. + +4. New Features in Readline + +a. If an incremental search string has its last character removed with DEL, + the resulting empty search string no longer matches the previous line. + +b. If readline reads a history file that begins with `#' (or the value of + the history comment character) and has enabled history timestamps, the + history entries are assumed to be delimited by timestamps. This allows + multi-line history entries. + +c. Readline now throws an error if it parses a key binding without a + terminating `:' or whitespace. + +------------------------------------------------------------------------------ +This document details the changes between this version, bash-4.4-beta, and +the previous version, bash-4.4-alpha. + +1. Changes to Bash + +a. Fixed two bugs that caused out-of-bounds reads when skipping over assignment + statements while finding the word on which to perform programmable + completion. + +b. Fixed a memory leak in programmable completion. + +c. Fixed a bug that could cause the shell to crash when interrupting the + wait builtin. + +d. Fixed a bug that caused ${!vvv@} to be interpreted as introducing the new + `@' operator. + +e. Fixed a bug that caused the && and || operators to be incorrectly optimized. + +f. The shell now undoes redirections before exiting the shell when the `-e' + option is enabled, and a shell function fails. + +g. History expansion now skips over the history expansion character in command + and process substitution. + +h. Fixed a bug that caused stray '\001' characters to be added to the output + of `declare -p'. + +i. Fixed a memory leak when processing declare commands that perform compound + array assignments. + +j. Fixed a bug that could cause the shell to crash when reading input from a + file and the limit on open file descriptors is high. + +k. Fixed a bug that caused the ERR and RETURN traps to be unset if they were + set in a shell function but unset previously. + +l. Fixed a bug that caused several signals to be ignored if `exec' failed in + an interactive shell. + +m. A posix-mode non-interactive shell now considers a parameter expansion error + to be a fatal error. + +n. The `time' command now prints timing statistics for failed commands when + the -e option is enabled. + +o. Fixed a bug that caused the shell to crash when attempting to indirectly + expand a shell variable with an invalid name. + +p. Fixed a bug that caused the shell to crash when running a trap containing + a process substitution. + +q. Bash now prints the keyword `function' before a function with the same name + as a reserved word when using `declare -f' to avoid parse errors when + reusing the output as input. + +r. Fixed a bug that caused the shell to crash when using declare -g to attempt + to redefine an existing global indexed array variable as an associative + array. + +s. Fixed a memory leak that occurred when interrupting brace expansions + generating a sequence. + +t. Fixed a bug that resulted in alias expansion in redirections. + +u. The `declare -a' and `declare -A' commands now print fewer warnings when + attempting to create and initialize an array at the same time, but + relying on word expansions to construct the compound assignment. + +v. The `help' builtin now behaves better in locales where each wide + character occupies more than one display column. + +w. The `read' builtin no longer has a possible race condition when a timeout + occurs. + +x. Fixed several expansion problems encountered when IFS="'". + +y. Fixed a problem with the expansion of $'\c?'. + +z. Bash no longer splits the expansion of here-strings, as the documentation + has always said. + +aa. Bash now puts `s' in the value of $- if the shell is reading from standard + input, as Posix requires. + +bb. Fixed a bug that caused the shell to crash if invoked with a NULL + environment. + +cc. The shell now only trusts an inherited value for $PWD if it begins with a + `/'. + +dd. Fixed a memory leak when creating local array variables and assigning to + them using compound assignment with the `declare' builtin. + +ee. Fixed a bug that could cause the shell to crash when processing nested here + documents inside a command substitution. + +ff. Array keys and values are now displayed using $'...' quoting where + appropriate. + +gg. Fixed a bug that could cause the shell to crash if the replacement string + in pattern substitution was NULL. + +hh. Fixed a bug that could cause the shell to crash if a command substitution + contained a non-fatal syntax error. + +ii. Fixed a bug that could cause the shell to crash if variable indirection + resulted in a NULL variable. + +jj. Fixed a bug that could cause the shell to crash if a long string contained + multiple unterminated parameter expansion constructs. + +kk. Improved the code that acts on SIGINT received while waiting for a child + process only if the child exits due to SIGINT. + +ll. $BASH_SUBSHELL now has more consistent values in asynchronous simple + commands. + +2. Changes to Readline + +a. Colored completion prefixes are now displayed using a different color, less + likely to collide with files. + +b. Fixed a bug that caused vi-mode character search to misbehave when + running in callback mode. + +c. Fixed a bug that caused output to be delayed when input is coming from a + macro in vi-mode. + +d. Fixed a bug that caused the vi-mode `.' command to misbehave when redoing + a multi-key key sequence via a macro. + +e. Fixed a bug that caused problems with applications that supply their own + input function when performing completion. + +f. When read returns -1/EIO when attempting to read a key, return an error + instead of line termination back to the caller. + +g. Updated tty auditing feature based on patch from Red Hat. + +h. Fixed a bug that could cause the history library to crash on overflows + introduced by malicious editing of timestamps in the history file. + +3. New Features in Bash + +a. `make install' now installs the example loadable builtins and a set of + bash headers to use when developing new loadable builtins. + +b. `enable -f' now attempts to call functions named BUILTIN_builtin_load when + loading BUILTIN, and BUILTIN_builtin_unload when deleting it. This allows + loadable builtins to run initialization and cleanup code. + +c. There is a new BASH_LOADABLES_PATH variable containing a list of directories + where the `enable -f' command looks for shared objects containing loadable + builtins. + +d. The `complete_fullquote' option to `shopt' changes filename completion to + quote all shell metacharacters in filenames and directory names. + +e. The `kill' builtin now has a `-L' option, equivalent to `-l', for + compatibility with Linux standalone versions of kill. + +4. New Features in Readline +------------------------------------------------------------------------------ +This document details the changes between this version, bash-4.4-alpha, and +the previous version, bash-4.3-release. + +1. Changes to Bash + +a. A bug that caused pipelines to be corrupted while running the DEBUG trap + was fixed. + +b. A bug that accidentally omitted the `-R' unary operator from `test' was + fixed. + +c. A bug that could cause the shell to not restore the terminal's process + group on shell exit was fixed. + +d. Several changes were made to programmable completion to accommodate + assumptions made by the bash-completion package. + +e. Bash no longer inhibits C-style escape processing ($'...') while performing + pattern substitution word expansions. + +f. Fixed a bug that caused `return' executed from a trap handler to use the + wrong return status when one was not supplied as an argument. + +g. In Posix mode, defining a function with the same name as a special + builtin is now an error, fatal only when the shell is not interactive. + +h. Fixed a bug that caused compound array assignments to discard unset or null + variables used as subscripts, thereby making it appear as if the index was + not present. + +i. Fixed a bug that caused extended glob patterns to incorrectly match + filenames with a leading `.'. + +j. Fixed a bug involving sign extension when reallocating the input line + after a history expansion, causing segmentation faults. + +k. Bash now does a better job at identifying syntax errors during word + completion and tailoring completion appropriately. + +l. Bash now uses the current locale's decimal point in comamnd timing output. + +m. Fixed a bug that caused segmentation faults while reading here documents if + PS2 contains a command substitution. + +n. There are several changes to how $@ is expanded when unquoted but in a + context where word splitting is not performed (e.g., on the rhs of an + assignment or in a conditional command). + +o. Bash now quotes command hash table entries that contain shell metacharacters + when displaying hash table contents. + +p. Fixed a potential file descriptor leak when dup2() fails while performing a + redirection. + +q. Fixed a bug that caused directory names evaluated during word completion to + be dequoted twice. + +r. Fixed several bugs which could result in indirect variable expansion and + namerefs creating variables with invalid names or referencing variables + set to the empty string. + +s. Fixed a bug that caused bash to not expand $0 in word expansions where it + should. + +t. Fixed a bug that caused bash to perform process substitution if <( + appeared inside an arithmetic context. + +u. Fixed a bug in extglob pattern parsing that caused slashes in the pattern + to be confused as directory names. + +v. Fixed several bugs with treatment of invisible variables (variables with + attributes that are unset because they have never been assigned values). + +w. Fixed a bug that caused the `read' builtin to not clean up readline's + state when using the -e and -t options together and the read timed out. + +x. Fixed a bug that caused the shell to exit with the wrong (but non-zero) + value if a command was not found or was not executable. + +y. Fixed a bug that caused the `time' reserved word to not be recognized as + such in all contexts where it should have been. + +z. Fixed a bug that caused the shell to close process subsitution file + descriptors when executing a script without the `#!' leading line. + +aa. Fixed a typo that caused the `compat42' shell option to set the wrong + compatibility level. + +bb. The shell now handles process substitution commands with embedded + parentheses the same way as it does when parsing command substitution. + +cc. Fixed a bug that caused nested pipelines and the `lastpipe' shell option + to produce core dumps. + +dd. Fixed a bug that caused patterns containing `*' to match pathnames in cases + where slashes must be matched explicitly. + +ee. Fixed a problem with patterns containing `:' in colon-separated variables + like GLOBIGNORE. + +ff. Fixed a bug that caused indirect variable expansion using indexed arrays to + always use index 0. + +gg. Fixed a parsing problem that caused quoted newlines immediately following a + command substitution to be mishandled in certain cases. + +hh. Fixed a potential buffer overflow on systems without locale_charset or the + bash replacement. + +ii. Fixed a bug that caused background processes to modify the terminal's + process group under certain circumstances. + +jj. Asynchronous commands now always set $? to 0 and are not affected by + whether or not the command's exit status is being inverted. + +kk. Fixed a problem that caused a line ending with an escaped newline and + containingh a prior `eval' to be incorrectly parsed. + +ll. Fixed an issue with programmable completion and `!' in extglob patterns + used as arguments to `compgen -X'. + +mm. Word completion now treats the two-character token `>|' as requiring + filename expansion. + +nn. Bash no longer expands tildes in $PATH elements while in Posix mode. + +oo. Fixed a bug that caused bash to not clean up readline's state, including + the terminal settings, if it received a fatal signal while in a readline() + call (including `read -e' and `read -s'). + +pp. Fixed bug that caused importing shell functions from the environment to + execute additional commands following the function. + +qq. Fixed a bug that caused the parser to return a lookahead character pushed + back by a previous call, even when on another line. + +rr. Fixed a bug that caused many here-documents or many nested case statements + to overflow an internal stack. + +ss. Changed the way bash encodes exported functions for inclusion in the + environment to avoid name collisions with valid variable names and to + indicate that they are exported functions. + +tt. Fixed a bug that could result in an invalid memory access when processing + a here document delimited by end of file or end of string. + +uu. Fixed a bug that could cause an invalid memory access if a command was run + before initializing the job control framework. + +vv. When in Posix mode, bash prints shell function definitions as Posix + specifies them, without the leading `function' keyword. + +ww. The variable attribute display builtins no longer display variables with + invalid names that were imported from the environment. + +xx. Fixed a bug that could allow `break' or `continue' executed from shell + functions to affect loops running outside of the function. + +yy. Fixed a bug that could cause a restricted shell to attempt to import shell + functions from the environment. + +zz. The shell now allows double-quoted identifiers in arithmetic expressions. + +aaa. Fixed a bug that could allow scalar variables subscripted using [@] in + word expansions to be incorrectly quoted. + +bbb. The shell now makes sure to ignore SIGTSTP/SIGTTIN/SIGTTOU in child + processes if they were ignored at shell startup, even if job control is + in effect. + +ccc. Fixed a bug that could cause $* to be split on spaces when IFS is set to + the empty string. + +ddd. Posix says that expanding $* in a pattern context where the expansion is + double-quoted should not treat $* as if it were double quoted. + +eee. Bash now restores getopts' internal state between calls to getopts even if + a shell function declares a local copy of OPTIND. + +fff. Fixed a bug that could cause `history -r' or `history -n' to read identical + lines from the history file more than once. + +ggg. The commands executed by `bind -x' now redisplay at most the final line + of a multi-line prompt, and those commands may return 124 to indicate that + the entire prompt should be redrawn. + +hhh. Fixed a bug that could cause `mapfile' to create variables with invalid + names. + +iii. The shell only goes into debugging mode when --debugger is supplied if + the debugger initialization file is present. + +jjj. Fixed a bug that disallowed an assignment to (implicit) subscript 0 of an + existing array in a declare command that set the readonly attribute. + +kkk. Fixed a bug that inadvertently allowed assignments to FUNCNAME to disable + its special status. + +lll. Appending to an existing array variable using the compound assignment + syntax (var+=(aaa)) should not affect assignments to existing subscripts + appearing in the compound assignment. + +mmm. Fixed a bug that could cause the shell to crash when a variable with a + null value was passed in the temporary environment and the variable's + attributes are modified using `declare' while performing a redirection. + +nnn. Fixed a bug in printf so that a missing precision specifier after a `.' + is treated as 0. + +ooo. Fixed a bug that attempted to use the internal command timing to time + pipeline components if the pipeline elements are separated by newlines. + +ppp. Fixed a bug that caused `declare -al foo=(ONE TWO THREE)' to not lowercase + the values on assignment. + +qqq. Bash does a better job of determining whether or not files are executable + when running on Windows, since the X_OK flag to access(2) is not supported. + +rrr. Fixed a bug that caused some of the shell's internal traps (e.g., ERR) to + be interrupted (and leave incorrect state) by pending SIGINTs. + +sss. Fixed a bug in the bash interface to history expansion to avoid attempting + expansion if the history expansion character occurs in a command + substitution. + +ttt. Fixed a bug that caused the select command to crash if the REPLY variable + ends up empty (e.g., if it's made readonly) + +uuu. Bash handles backslash-quoting of multibyte characters better when quoting + output that is intended to be reused. + +vvv. System-specific changes for: Windows, Cygwin. + +www. Fixes for upper and lower-casing multibyte characters, some locales have + characters whose upper and lowercase versions have different numbers of + bytes. + +xxx. Fixed a bug that caused the ERR trap in a shell function to have the + wrong value for $LINENO. + +yyy. Fixed a bug that resulted in incorrect quoting of regexps for the =~ + operator when an open brace appears without a close brace. + +zzz. Fixed a bug in the array unset operation that caused it to attempt to + parse embedded single and double quotes. + +aaaa. Fixed a bug that caused $* to not expand with the first character of + $IFS as a separator in a context where word splitting will not take + place. + +bbbb. Fixed two bugs that could cause the shell to dereference a null pointer + while attempting to print an error message from arithmetic expansion. + +cccc. Fixed a bug that resulted in short-circuited evaluation when reading + commands from a string ending in an unquoted backslash, or when sourcing + a file that ends with an unquoted backslash. + +dddd. Fixed a bug that resulted in the no-fork optimization not cleaning up + any FIFOs created by process substitution. + +eeee. If the -T option is not set, allow the source builtin and shell functions + to set a DEBUG trap that persists after the sourced file or function + returns, instead of restoring the old (unset) value unconditionally. + +ffff. Fixed a bug that caused redirections to not be undone on some syntax + errors, e.g., when parsing a command substitution. + +gggg. Bash only adds asynchronous commands to the table of background pids + whose status it remembers, to avoid it growing too large during scripts + that create and reap large numbers of child processes. This means that + `wait' no longer works on synchronous jobs, but $? can be used to get + the exit status in those cases. + +hhhh. Bash now checks whether or not a shell script argument is a directory + before trying to open it; Posix says implementations may allow open(2) + on a directory. + +iiii. Fixed a bug that could cause the shell to set the terminal's process + group to a background process group when running as part of a pipeline. + +jjjj. Made a few changes to strings to avoid possible potential negative effects + caused by malicious translations. + +kkkk. Fixed a bug that caused the `unset' builtin to continue to treat its + arguments as functions after unsetting a function when invoked with no + options. + +llll. Fixed a bug that would not replace empty strings using pattern + substitution even if the pattern matched the empty string. + +mmmm. Fixed a bug with word completion that prevented some characters from + being backslash-quoted (backquote, dollar sign). + +nnnn. Fixed a bug that prevented a command from the history re-executed by the + `fc' builtin from setting verbose mode. + +oooo. Fixed a bug that caused the shell to not enable and disable function + tracing with changes to the `extdebug' shell option. + +pppp. Fixed a bug that caused assignments to nameref variables pointing to + unset variables with attributes but no values to create variables with + incorrect names. + +qqqq. Fixed a bug that caused `unset' on nameref variables (without -n) to + unset the wrong variable under certain circumstances. + +rrrr. Fixed a bug that caused close braces occurring in brace expansions within + command substitutions to incorrectly terminate parameter expansions. + +ssss. Fixed a bug that caused `command -p' to temporarily alter $PATH. + +tttt. Fixed a bug that caused interactive shells compiled without job control + to return incorrect status values for child processes when running a + single command that creates enough children to use the entire PID space. + +uuuu. `esac' should not be recognized as a reserved word when it appears as the + second or later pattern in a case statement pattern list. + +vvvv. Fixed a bug that caused the completion code to read past the end of the + readline line buffer while skipping assignment statements to find the + command name. + +wwww. Fixed a bug that caused case statements within loops contained in a + command substitution to be parsed incorrectly. + +xxxx. Fixed a bug that could cause SIGCHLD handling to be delayed after + running `wait' with no arguments and interrupting it with ^C without + a trap handler installed. + +2. Changes to Readline + +a. A bug that caused vi-mode `.' to be unable to redo `c', `d', and `y' + commands with modifiers was fixed. + +b. Fixed a bug that caused callback mode to dump core when reading a + multiple-key sequence (e.g., arrow keys). + +c. Fixed a bug that caused the redisplay code to erase some of the line when + using horizontal scrolling with incremental search. + +d. Readline's input handler now performs signal processing if read(2) is + interrupted by SIGALRM or SIGVTALRM. + +e. Fixed a problem with revert-all-at-newline freeing freed memory. + +f. Clarified the documentation for the history_quotes_inhibit_expansion + variable to note that it inhibits scanning for the history comment + character and that it only affects double-quoted strings. + +g. Fixed an off-by-one error in the prompt printed when performing searches. + +h. Use pselect(2), if available, to wait for input before calling read(2), so + a SIGWINCH can interrupt it, since it doesn't interrupt read(2). + +i. Some memory leaks caused by signals interrupting filename completion have + been fixed. + +j. Reading EOF twice on a non-empty line causes EOF to be returned, rather + than the partial line. This can cause partial lines to be executed on + SIGHUP, for example. + +k. Fixed a bug concerning deleting multibyte characters from the search + string while performing an incremental search. + +l. Fixed a bug with tilde expanding directory names in filename completion. + +m. Fixed a bug that did not allow binding sequences beginning with a `\'. + +n. Fixed a redisplay bug involving incorrect line wrapping when the prompt + contains a multibyte character in the last screen column. + +o. Fixed a bug that caused history expansion to disregard characters that are + documented to delimit a history event specifier without requiring `:'. + +p. Fixed a bug that could cause reading past the end of a string when reading + the value when binding the set of isearch terminators. + +q. Fixed a bug that caused readline commands that depend on knowing which + key invoked them to misbehave when dispatching key sequences that are + prefixes of other key bindings. + +r. Paren matching now works in vi insert mode. + +3. New Features in Bash + +a. There is now a settable configuration #define that will cause the shell + to exit if the shell is running setuid without the -p option and setuid + to the real uid fails. + +b. Command and process substitutions now turn off the `-v' option when + executing, as other shells seem to do. + +c. The default value for the `checkhash' shell option may now be set at + compile time with a #define. + +d. The `mapfile' builtin now has a -d option to use an arbitrary character + as the record delimiter, and a -t option to strip the delimiter as + supplied with -d. + +e. The maximum number of nested recursive calls to `eval' is now settable in + config-top.h; the default is no limit. + +f. The `-p' option to declare and similar builtins will display attributes for + named variables even when those variables have not been assigned values + (which are technically unset). + +g. The maximum number of nested recursive calls to `source' is now settable + in config-top.h; the default is no limit. + +h. All builtin commands recognize the `--help' option and print a usage + summary. + +i. Bash does not allow function names containing `/' and `=' to be exported. + +j. The `ulimit' builtin has new -k (kqueues) and -P (pseudoterminals) options. + +k. The shell now allows `time ; othercommand' to time null commands. + +l. There is a new `--enable-function-import' configuration option to allow + importing shell functions from the environment; import is enabled by + default. + +m. `printf -v var ""' will now set `var' to the empty string, as if `var=""' + had been executed. + +n. GLOBIGNORE, the pattern substitution word expansion, and programmable + completion match filtering now honor the value of the `nocasematch' option. + +o. There is a new ${parameter@spec} family of operators to transform the + value of `parameter'. + +p. Bash no longer attempts to perform compound assignment if a variable on the + rhs of an assignment statement argument to `declare' has the form of a + compound assignment (e.g., w='(word)' ; declare foo=$w); compound + assignments are accepted if the variable was already declared as an array, + but with a warning. + +q. The declare builtin no longer displays array variables using the compound + assignment syntax with quotes; that will generate warnings when re-used as + input, and isn't necessary. + +r. Executing the rhs of && and || will no longer cause the shell to fork if + it's not necessary. + +s. The `local' builtin takes a new argument: `-', which will cause it to save + the single-letter shell options and restore their previous values at + function return. + +t. `complete' and `compgen' have a new `-o nosort' option, which forces + readline to not sort the completion matches. + +u. Bash now allows waiting for the most recent process substitution, since it + appears as $!. + +v. The `unset' builtin now unsets a scalar variable if it is subscripted with + a `0', analogous to the ${var[0]} expansion. + +w. `set -i' is no longer valid, as in other shells. + +x. BASH_SUBSHELL is now updated for process substitution and group commands + in pipelines, and is available with the same value when running any exit + trap. + +y. Bash now checks $INSIDE_EMACS as well as $EMACS when deciding whether or + not bash is being run in a GNU Emacs shell window. + +z. Bash now treats SIGINT received when running a non-builtin command in a + loop the way it has traditionally treated running a builtin command: + running any trap handler and breaking out of the loop. + +aa. New variable: EXECIGNORE; a colon-separate list of patterns that will + cause matching filenames to be ignored when searching for commands. + +bb. Aliases whose value ends in a shell metacharacter now expand in a way to + allow them to be `pasted' to the next token, which can potentially change + the meaning of a command (e.g., turning `&' into `&&'). + +4. New Features in Readline + +a. The history truncation code now uses the same error recovery mechansim as + the history writing code, and restores the old version of the history file + on error. The error recovery mechanism handles symlinked history files. + +b. There is a new bindable variable, `enable-bracketed-paste', which enables + support for a terminal's bracketed paste mode. + +c. The editing mode indicators can now be strings and are user-settable + (new `emacs-mode-string', `vi-cmd-mode-string' and `vi-ins-mode-string' + variables). Mode strings can contain invisible character sequences. + Setting mode strings to null strings restores the defaults. + +d. Prompt expansion adds the mode string to the last line of a multi-line + prompt (one with embedded newlines). + +e. There is a new bindable variable, `colored-completion-prefix', which, if + set, causes the common prefix of a set of possible completions to be + displayed in color. + +f. There is a new bindable command `vi-yank-pop', a vi-mode version of emacs- + mode yank-pop. + +g. The redisplay code underwent several efficiency improvements for multibyte + locales. + +h. The insert-char function attempts to batch-insert all pending typeahead + that maps to self-insert, as long as it is coming from the terminal. + +i. rl_callback_sigcleanup: a new application function that can clean up and + unset any state set by readline's callback mode. Intended to be used + after a signal. + +------------------------------------------------------------------------------ This document details the changes between this version, bash-4.3-release, and the previous version, bash-4.3-rc2. @@ -769,7 +1802,7 @@ y. The {x} operators to the [[ command do not consider the current locale when comparing strings; they use ASCII ordering @@ -408,7 +430,7 @@ compat40 set compat41 set - interrupting a command list such as "a ; b ; c" causes the execution - of the entire list to be aborted (in versions before bash-4.1, + of the entire list to be aborted (in versions before bash-4.0, interrupting one command in a list caused the next to be executed) - when in posix mode, single quotes in the `word' portion of a double-quoted parameter expansion define a new quoting context and @@ -417,6 +439,18 @@ compat41 set compat42 set - the replacement string in double-quoted pattern substitution is not run through quote removal, as in previous versions + +compat43 set + - the shell does not print a warning message if an attempt is made to + use a quoted compound assignment as an argument to declare + (declare -a foo='(1 2)') + - word expansion errors are considered non-fatal errors that cause the + current command to fail, even in Posix mode + - when executing a shell function, the loop state (while/until/etc.) is + not reset, so `break' or `continue' in a shell function will break or + continue loops in the calling context. Bash-4.4 and later reset the + loop state to prevent this. + ------------------------------------------------------------------------------- Copying and distribution of this file, with or without modification, diff --git a/CWRU/changelog b/CWRU/changelog index 354720a73..f37159d8b 100644 --- a/CWRU/changelog +++ b/CWRU/changelog @@ -5848,3 +5848,5834 @@ variables.c simple variable assignment would set a variable in the global context instead of a local context. Bug report from Geir Hauge + + 2/26 + ---- +[bash-4.3 released] + + 2/27 + ---- +aclocal.m4 + - broken wcwidth check: fix typo reported by David Michael + + + 2/28 + ---- +support/bashbug.sh + - add ${BUGADDR} to error message printed if sending mail fails + +trap.c + - _run_trap_internal: don't call {save,restore}_pipeline if running + DEBUG trap; run_debug_trap calls them itself. Fixes bug reported + by Moe Tunes + +test.c + - unary_test: fix 'R' case by using find_variable_noref instead of + find_variable + - test_unop: add back missing 'R' case. Fixes bug reported by + NBaH + + 3/2 + --- +jobs.c + - end_job_control: if job control is active, we changed the terminal's + process group, so make sure we restore it. Fixes bug reported by + Eduardo A. Bustamante López + + 3/7 + --- +pcomplete.c + - pcomp_curtxt: new variable, holds the original text to be completed + as passed to the programmable completion code + - pcomp_filename_completion_function: if we are running compgen + (presumably in a shell function completion) and performing readline + completion, check the word being completed. If it's not empty, but + the original word passed to the programmable completion code is an + empty string (""), call a dequoting function if one is available. + This compensates for an assumption in bash-completion. Reported by + Albert Shih + +lib/readline/readline.c + - _rl_dispatch_subseq: when deciding whether or not to set vi mode's + idea of the last command, use whether or not the dispatching keymap + is vi_movement_keymap instead of the key sequence length. The `c', + `d', and `y' commands all take motion commands as `arguments' and + will produce key sequences longer than 1 character. The arrow keys + will end up dispatching out of a different keymap, so the test will + prevent arrow keys from setting the last command (the problem in + bash-4.2). Bug report from Daan van Rossum + +lib/readline/vi_mode.c + - _rl_vi_motion_command: convenience function to test whether a key is + a vi-mode motion command + +lib/readline/rlprivate.h + - _rl_vi_motion_command: extern declaration + +parse.y + - parse_matched_pair: we should not skip processing single quotes in + posix mode if dolbrace_state == DOLBRACE_QUOTE2 (pattern + substitution). Fixes bug reported by David Sines + + + 3/10 + ---- +lib/readline/readline.c + - _rl_dispatch_callback: treat a return value of -1 as the end of + a command dispatch sequence if the current context doesn't + indicate that we're reading a multi-key sequence + ((cxt->flags & KSEQ_SUBSEQ) == 0). Turn off the multikey flag + and free the context chain in this case. Fixes one bug reported + by Felix Yan to bug-readline list + - _rl_dispatch_callback: treat a return value of > 0 the same as 0 + and return from the function, since only values < 0 cause us to + simulate recursion. Rest of fix for bug tracked down by + Anatol Pomozov + + 3/11 + ---- + +execute_cmd.c + - execute_in_subshell: if a longjmp occurs, set result to + EXECUTION_FAILURE only if last_command_exit_value == EXECUTION_SUCCESS; + use value of last_command_exit_value otherwise. Fixes cosmetic + issue reported by Dennis Lambe Jr. + +doc/bash.1 + - shell-kill-word and shell-backward-kill-word should be documented + as unbound by default. Report from Oliver Hartley + + +trap.c + - run_pending_traps: save value of $? before running trap commands in + trap_saved_exit_value, like run_exit_trap + - _run_trap_internal: save value of $? before running trap commands in + trap_saved_exit_value, like run_exit_trap + +builtins/common.c + - get_exitstat: when running `return' in a trap action, and it is not + supplied an argument, use the saved exit status in + trap_saved_exit_value. Fixes Posix problem reported by + Eduardo A. Bustamante López + + 3/13 + ---- +lib/sh/shquote.c + - sh_contains_quotes: new function, returns true if a given string + contains any of the shell quote characters (single quote, double + quote, or backslash) + +externs.h + - sh_contains_quotes: new extern declaration + +pcomplete.c + - pcomp_filename_completion_function: more changes for the benefit of + bash-completion: if the argument is not the same as the original + argument passed to the programmable completion code (pcomp_curtxt), + and we are being run by compgen as part of a completion, dequote the + argument as bash-completion expects. Fix for the complete-word- + with-quoted-special-chars problem with bash-completion + + 3/17 + ---- +execute_cmd.c + - execute_intern_function: when in posix mode, make defining a function + with the same name as a special builtin a fatal error only when the + shell is not interactive. Interactive shells display an error + message and go on. From a discussion with Doug McIlroy + + + 3/18 + ---- +arrayfunc.c + - assign_compound_array_list: when using expand_assignment_string_to_string + to expand the value in a ( [x]=y ) compound assignment, make sure + that we convert 0x0 to "" when expanding [x]= so it doesn't appear as + if the index is unset. Fixes bug reported by Geir Hauge + + +builtins/common.c + - get_exitstat: update fix of 3/11 to allow the DEBUG trap to use the + current value of $? instead of the value it had before the trap + action was run. This is one reason the DEBUG trap exists, and + extended debug mode uses it. Might want to do this only in Posix + mode + +doc/{bash.1,bashref.texi} + - return: add language cribbed from Posix saying what happens when + return is run without an argument from a trap, including the DEBUG + trap exception + + 3/19 + ---- +lib/glob/gmisc.c + - extglob_pattern_p: make sure ?(patlist) is flagged as an extglob + pattern + +lib/glob/glob.c + - extglob_skipname: rewrite to handle patterns that begin but do not + end with an extglob pattern; change test for easy case and loop + through patterns accordingly. Fixes problem with matching filenames + with a leading dot reported by Stephane Chazelas + + - wextglob_skipname: make analogous changes + + 3/20 + ---- +Makefile.in + - pass -DDEBUG down to builds in readline and history directories + +lib/readline/util.c + - _rl_trace and related functions are now only compiled in if DEBUG + is defined + +lib/readline/Makefile.in + - substitute @DEBUG@ and pass -DDEBUG, if necessary, to compilation + in LOCAL_CFLAGS + + 3/21 + ---- +parse.y + - shell_getc: when checking whether or not to reallocate + shell_input_line to add trailing newline, don't try to subtract from + shell_input_line_size. size_t is unsigned, so if its value is less + than 3 (like, say, 2), size-3 is a very large number and the string + will not be reallocated. Use len+3 > size instead of len > size-3. + Fixes bug reported in + https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1295467 + + 3/27 + ---- +lib/readline/display.c + - _rl_clean_up_for_exit: don't bother to call _rl_move_vert to whatever + readline thinks the last displayed line is if it's 0. Two reasons: a + minor optimization, and it protects against unwanted moving if this + function is called twice, as it is when ^C is pressed. Fixes bug + reported by Egmont Koblinger + + 3/28 + ---- +bashline.c + - invalid_completion: new function, used to identify attempts to + complete words that are syntax errors + - attempt_shell_completion: if invalid_completion returns true for a + word in a command position, punt on all completions. Fixes cosmetic + issue reported by Uwe Storbeck + - attempt_shell_completion: add clause so that in_command_position + remains set to 1 for an empty word following a command separator like + (, &, or | + +lib/readline/kill.c + - rl_yank, rl_yank_nth_arg_internal: don't return -1 from bindable + functions, return 1 instead + +lib/readline/text.c + - rl_rubout, _rl_rubout_char, rl_delete, rl_change_case, + rl_transpose_chars, rl_transpose_words, _rl_set_mark_at_pos, + rl_exchange_point_and_mark, _rl_insert_next, _rl_char_search, + _rl_char_search_internal: + don't return -1 from bindable functions, return 1 instead + +lib/readline/vi_mode.c + - rl_vi_end_word, rl_vi_rubout, rl_vi_delete, rl_vi_char_search, + rl_vi_match, _rl_vi_set_mark, _rl_vi_goto_mark: + don't return -1 from bindable functions, return 1 instead + +lib/readline/macro.c + - rl_start_kbd_macro, rl_end_kbd_macro: + don't return -1 from bindable functions, return 1 instead + +builtins/setattr.def + - set_var_attribute: honor setting of no_invisible_vars when setting + att_invisible on a variable + - include "../flags.h" for no_invisible_vars + +builtins/declare.def + - declare_internal: honor setting of no_invisible_vars when setting + att_invisible on a variable + - include "../flags.h" for no_invisible_vars + +Makefile.in,builtins/Makefile.in + - make sure declare.o and setattr.o depend on flags.h + +execute_cmd.c + - decpoint: new function, returns locale's decimal point or `.' default + - mkfmt: use decpoint() to get decimal point instead of unconditionally + using `.'. Fixes bug reported by Andrey Tataranovich + in debian bug 741669 + + 4/10 + ---- +lib/readline/rltypedefs.h + - add back old Function/VFunction/etc typedefs, since other packages + (python, samba) use them. Mark as deprecated using gcc and clang + attributes. Report and fix from Max Horn + + 4/14 + ---- +jobs.c + - run_sigchld_trap: unwind-protect value of this_shell_builtin, since + it matters in some cases whether or not we are running `wait' or + `eval'. Fixes bug reported by Eduardo A. Bustamante López + + + 4/18 + ---- +shell.h + - sh_parser_state_t: add `need_here_doc' flags member, since + xparse_dolparen (via parse_command) sets it to 0 + +parse.y + - gather_here_documents: make sure need_here_doc is > 0, since we + don't want to just decrement it forever if it ends up < 0. Partial + fix for bug reported by Jared Yanovich + - {save,restore}_parser_state: save and restore need_here_doc flag. + Rest of fix for bug reported by Jared Yanovich + + 4/19 + ---- +subst.c + - cond_expand_word: since we are not supposed to be performing word + splitting here, set expand_no_split_dollar_star to 1 in addition to + setting W_NOSPLIT2 + - expand_word_internal: if we have a case where we have an unquoted + $@ but we are in a case where we don't want to split (W_NOSPLIT2), + make sure we return a list consisting of a single word with the + arguments separated by spaces and don't do word splitting. Fixes + bug reported by Greg Wooledge from an IRC + discussion + +builtins/hash.def + - print_portable_hash_info: single-quote pathnames and hashed filenames + that contain shell metacharacters. Fixes bug reported by + in debian bash bug #739853 + + 4/20 + ---- +lib/readline/display.c + - When using horizontal scrolling, the redisplay code erases too much + of the line containing successful results, so make sure we only + erase to the end of the line after making sure we move the cursor + to the end. Fixes bug reported by + + 4/23 + ---- +{bashhist,bashline}.c +builtins{bind,help,type}.def +lib/glob/glob.c, lib/intl/{loadmsgcat,localealias}.c,lib/sh/mktime.c + - fixes to memory leaks uncovered by coverity scan + + 4/24 + ---- +{bashhist,subst,redir,assoc,jobs,array,trap}.c +lib/intl/l10flist.c +builtins/complete.def + - fixes to memory leaks and other resource usage problems uncovered by + coverity scan + +redir.c + - do_redirection_internal: if dup2 fails (presumably because of a + resource limit), close the file descriptor we opened before returning + error + + 4/25 + ---- +config-top.h + - DEFAULT_BASHRC: new define with the name of the default shell + startup file + +bashline.c + - bash_directory_completion_matches: don't dequote the directory name. + If rl_completion_found_quote is non-zero, readline will dequote the + filename itself. Fixes bug reported by Clark Wang + + + 4/27 + ---- +subst.c + - parameter_brace_expand_rhs: if parameter_brace_find_indir returns + NULL or "", or if it returns something that is not a valid identifier, + report an error and return &expand_wdesc_error so the error can + propagate up. Fixes bug reported by Andre Holzhey + + + 4/29 + ---- +subst.c + - parameter_brace_substring: don't short-circuit right away if the + value is NULL but we are looking at the positional parameters. Part + of fix for bug reported by Pierre Gaston + - pos_params: if there are no positional parameters, only short-circuit + if we are looking for $1 and above. Rest of fix for bug reported + by Pierre Gaston + +subst.h + - SD_NOPROCSUB: new flag for skip_to_delim, means to not allow any + process subsitutions (should not have overloaded SD_NOSKIPCMD) + +subst.c + - skip_to_delim: honor SD_NOPROCSUB flag + +make_cmd.c + - make_arith_for_expr: set W_NOPROCSUB flag in the created word + - make_arith_for_command: set SD_NOPROCSUB in the flags argument to + skip_to_delim so we don't treat <( or >( as a process substitution + (we won't evaluate them in eval_arith_for_expr anyway). Fixes + bug reported by Pierre Gaston + + 5/1 + --- +lib/glob/gmisc.c + - glob_dirscan: new function, takes a pattern and a directory separator + argument and advances the pattern to the last occurrence of the + separator. Like strrchr, but understands extended glob patterns and + uses glob_patscan to skip over them + +lib/glob/glob.c + - extglob_skipname: if the extended globbing pattern is invalid, don't + skip the name + - glob_filename: if there is a slash in the pattern to be matched, and + extglob is enabled, use glob_dirscan to find the real last occurrence + of `/' to avoid being confused by slashes in extglob patterns. Fix + for bug reported by Pierre Gaston + + 5/6 + --- +variables.c + - make_local_variable: only set the att_invisible attribute if + no_invisible_vars isn't set + - find_variable_for_assignment: new function, intended to be called by + code that eventually wants to assign a value to the variable; will not + skip invisible variables; currently identical to find_variable + - find_variable_no_invisible: new function, finds the first visible + instance of variable with a given name in the variable context chain; + eventually will be used to replace find_variable; separate right now + for testing + +variables.h + - find_variable_for_assignment: extern declaration + - find_variable_no_invisible: extern declaration + + 5/7 + --- +variables.c + - make_local_variable: don't clear `invisible' attribute if we are + returning an existing local variable at the right context. Let the + upper layers do that. Fixes bug reported by Dan Douglas + + + 5/8 + --- +lib/readline/input.c + - rl_getc: call RL_CHECK_SIGNALS if a read(2) is interrupted (-1/EINTR) + by SIGALRM or SIGVTALRM (placeholder for non-keyboard-generated + signals of interest) + +builtins/read.def + - edit_line: call bashline_set_event_hook and + bashline_reset_event_hook around call to readline(), so the right + signal handling happens + - read_builtin: make sure we add an unwind_protect call to + bashline_reset_event_hook. These changes fix bug reported in + https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1317476 + +bashline.c + - bash_event_hook: make sure we clean up the readline state by calling + rl_cleanup_after_signal if sigalrm_seen is non-zero. The read builtin + sets this when it times out + + 5/12 + ---- +doc/{bash.1,bashref.texi} + - clarify language to make it clear that changing attributes of a + nameref variable (e.g., export), actually changes the attributes of + the referenced variable. Fixes omission noted by Jeff Haemer + + +arrayfunc.c + - bind_array_var_internal: make sure ENTRY no longer has invisible + attribute before returning. Fixes bug reported by Geir Hauge + + + 5/22 + ---- +execute_cmd.c + - shell_execve: if execve fails and we return 127 or 126, make sure to + set last_command_exit_value if a call to file_error or report_error + causes the shell to exit. This ensures that the shell exits with + the right value. + + 6/6 + --- +shell.c + - drop_priv_mode: print an error message on setuid() failure, optionally + exit if errno == EAGAIN, as it can be on Linux when RLIMIT_NPROC for + the target user is exceeded. + +config-top.h + - EXIT_ON_SETUID_FAILURE: new settable define, will cause the shell to + exit if setuid fails with errno == EAGAIN + + 6/10 + ---- +parse.y + - time_command_acceptable: fix so time is accepted everywhere the + grammar is looking for a `compound_list'. Fixes bug reported by + Dale Worley + + 6/12 + ---- +subst.c + - clear_fifo_list: new function, clears FDs associated with open pipes + in current FIFO list without closing the file descriptors. Can + possibly be used when shell_execve fails and the shell jumps back + to top_level and we don't want the shell to close the open FIFOs + each time through the read-execute loop. Bug reported by Harald + Koenig + + + 6/16 + ---- +builtins/shopt.def + - compat42: make sure the `compat42' option sets the correct variable + for compatibility level. Fixes bug reported by Ondrej Oprala + + +support/bashbug.sh + - fix typo when echoing $USAGE. Report from Shantanu Kulkarni + + +execute_cmd.c + - shell_execve: before longjmp back to subshell_top_level, clear out the + FIFO fd list by calling clear_fifo_list so the FDs (which we inherited + from our parent) aren't closed every time through the read-eval loop. + Fix for bug reported by Harald Koenig + + 6/18 + ---- +subst.c + - extract_process_subst: add additional argument: xflags, allow callers to + pass flags like extract_command_subst + - extract_process_subst: call xparse_dolparen like command substitution + to avoid problems when parsing commands constructs with embedded open + parens. Fixes bug reported by Tim Friske + +subst.h + - extract_process_subst: modified prototype for extern declaration + + 6/19 + ---- +execute_cmd.c + - execute_pipeline: if running with lastpipe enabled, make sure that we + check whether or not the job id is valid using INVALID_JOB before + calling job_exit_status. the jobs list can get frozen and unfrozen in + the presence of nested pipelines and loops and wait_for can clear a + job table entry. Fixes bug reported by + +jobs.c + - freeze_jobs_list: now returns old value of jobs_list_frozen; unused at + current time + +jobs.h + - freeze_jobs_list: change return value + + 6/20 + ---- +lib/glob/smatch.c + - MEMCHR: single-byte and wide character defines (memchr/wmemchr) + +lib/glob/sm_loop.c + - GMATCH: when the wildcards are the last element of the pattern, make + sure they do not match a string containing a `/' if FNM_PATHNAME is + set in FLAGS + - GMATCH: when recursively calling GMATCH after we see a `*', don't + try to consume the rest of the pattern with `*' if FNM_PATHNAME is + set in FLAGS, just consume up to the next slash and then see whether + or not the rest of the pattern matches. Fixes bug reported by Ian + Kelling + - GMATCH: when processing `*' in the pattern, after skipping consecutive + wildcards, if we hit a literal `/' in the pattern and we're looking + for a pathname, skip characters in the string until we find a `/' + (no slash means the match fails), and try to match the rest of the + pattern against the portion of the string after the next `/'. Picked + up from gnulib/glibc + +pathexp.c + - split_ignorespec: since split_ignorespec gets globbing patterns, + make sure we call skip_to_delim with the SD_GLOB flag so delimiters + that occur within bracket expressions don't delimit the pattern. + Fixes problem with [[:digit:]] in GLOBIGNORE reported by Ian Kelling + + +unwind_prot.c + - unwind_protect_tag_on_stack: new function, returns 1 if unwind-protect + frame corresponding to `tag' argument is on unwind-protect stack + +unwind_prot.h + - unwind_protect_tag_on_stack: extern declaration + + 6/30 + ---- +lib/readline/misc.c + - _rl_revert_all_lines: set entry->data to 0 after assigning it to + rl_undo_list to avoid pointer aliasing problems that would result + in entry->line being freed by an undo. The subsequent free would + be a double free. Report and fix from Jared Yanovich + + +subst.c + - command_substitute: other shells do not appear to inherit the -v + option when reading and executing command substitutions. Reported + by Ondrej Oprala + + 7/1 + --- +config-top.h + - CHECKHASH_DEFAULT: new define that supplies the default value for + check_hashed_filenames (`checkhash' shopt option); still 0 by default + +findcmd.c + - check_hashed_filenames: initialize using CHECKHASH_DEFAULT + +lib/readline/histexpand.c + - history_expand: double quotes can inhibit recognition of the history + comment character if history_quotes_inhibit_expansion is non-zero + +lib/readline/doc/{history.3,hstech.texi} + - history_quotes_inhibit_expansion: expand definition to note that it + inhibits scanning for the history comment character as well; correct + typo to make it clear that it only works on double-quoted strings + +lib/sh/zgetline.c + - add new fourth argument: DELIM, allows delimiter to be something + other than newline (if DELIM != '\n', UNBUFFERED_READ should be + non-zero) + - UNBUFFERED_READ is now fifth argument + - check character against DELIM rather than strictly newline + +externs.h + - zgetline: change function prototype for extern declaration + +builtins/mapfile.def + - mapfile: change calling sequence for zgetline calls + - mapfile_builtin: new -d option: DELIM, like in read builtin + - mapfile_builtin: pass `delim' to mapfile() as new argument; default + to '\n' unless -d option supplied + - mapfile: take new DELIM argument, pass to zgetline + - mapfile: if DELIM != '\n', set unbuffered_read to 1 + +doc/{bash.1,bashref.texi} + - mapfile: document new `-d DELIM' option + + 7/5 + --- +lib/readline/histfile.c + - history_truncate_file: if there is an error writing the truncated + history list back to the history file, use the same strategy as + history_do_write: create a backup file, rename the history file to + the backup file, and restore the original history file from the + backup file name if the write or the close fails. Suggestion from + Chen Gang to bug-readline + +execute_cmd.c + - evalnest, evalnest_max: new variables establishing maximum number of + recursive `eval' calls; current max is 4096 + - execute_builtin: unwind-protect value of evalnest around calls to + eval builtin. Suggested by Oliver Morais + - {initialize_subshell,execute_subshell_builtin_or_function}: reset + evalnest to 0 in a subshell + +builtins/setattr.def + - show_name_attributes: show a variable's attributes even if it's + invisible (don't show any value since it has none). This means that + declare -p var will display VAR's attributes even when var marked + as invisible. Feature request from Peggy Russell + + - show_var_attributes: don't print assignment if array or assoc + attribute is set but variable marked as invisible + +tests/array.right + - special note: changed all declare -a output tests because the shell + will no longer print out values for invisible array variables. This + is a change, but one for correctness: + + declare -a foo='()' + and + declare -a foo + are not equivalent + + 7/22 + ---- +subst.c + - parameter_brace_expand: after calling parameter_brace_expand_indir, + turn off the W_ARRAYIND flag in the word it returns, because there + is no way for it to return the index that should be used, and the + rest of the function assumes that IND is valid if W_ARRAYIND is set. + Fixes bug reported by Corentin Peuvrel + + 8/2 + --- +parse.y + - read_token_word: if we read a character that will end a command + substitution, don't skip over quoted newlines when we read an + additional character to figure out whether it's a two-character + token. This lets the higher layers deal with quoted newlines after + the command substitution. Fixes bug reported by EmanueL Czirai + + + 8/11 + ---- +execute_cmd.c + - execute_pipeline: check whether lastpipe_jid corresponds to a valid + job before calling append_process, for the same reason as fix from + 6/19. Fixes bug reported by + + 8/12 + ---- +lib/sh/unicode.c + - stub_charset: use strncpy instead of strcpy because we are copying + into a local fixed-length buffer. Fixes vulnerability reported by + + +execute_cmd.c + - execute_pipeline: if we don't call append_process, call + wait_for_single_pid to get the status of `lastpid', since that will + check the status of already-reaped processes. Fixes spurious error + message about non-existent process from fix of 8/11 + + 8/15 + ---- +jobs.c + - running_in_background: new variable, keeps track of whether or not we + are running in the background (not perfect yet) + - initialize_job_control: even if we are not turning on job control, + get the terminal pgrp so we can use it later + - {set_job_control,initialize_job_control}: set running_in_background + to 1 if terminal pgrp != shell pgrp + - {stop_pipeline,make_child,wait_for}: if we are running in the + background, don't mess with the terminal's process group; assume that + the parent shell will do that. Fixes bug reported by Greg Wooledge + + +shell.c + - shell_reinitialize: reset running_in_background back to 0 + + 8/24 + ---- +execute_cmd.c + - {execute_connection,execute_command_internal}: make sure that + asynchronous commands always set $? to 0 and are not affected by the + command's exit status being inverted using `!'. Fixes bug reported + by Vincent Lefevre + +lib/readline/display.c + - rl_message: call vsnprintf with full msg_bufsiz, since it counts + one fewer than the buffer length passed as an argument. Bug report + and fix from Dylan Cali + + 8/26 + ---- +builtins/evalstring.c + - evalstring: if CURRENT_TOKEN == yacc_EOF, reset it to newline. This + is instead of calling reset_parser(); that might still be needed. + Fixes bug with eval and a subsequent statement ending with EOF + reported by + +pcomplete.c + - filter_stringlist: when extglob is on, a leading ! in the filter + pattern should be left alone when it introduces a !(pat) pattern; + otherwise it messes up the pattern. Fixes bug reported by David + Korn + + 8/27 + ---- +doc/{bash.1,bashref.texi} + - clarify the behavior of bash when given the -c option, since $0 is + technically not a positional parameter. Bug reported by Stephane + Chazelas + + 8/28 + ---- +lib/readline/history.c + - add_history: use history_max_entries (if history is stifled) or + DEFAULT_HISTORY_INITIAL_SIZE if not (new define, defaults to 502) + to size the initial allocation of the history array. Assumption + is that this will reduce the number of allocations + + 8/29 + ---- +execute_command.c: + - sourcenest, sourcenest_max: new variables used to track level of + sourced files and (maybe) one day catch infinite source recursion + - execute_builtin: if current source level exceeds sourcenest_max, + trigger an error and jump back to the top level + - {initialize_subshell,execute_subshell_builtin_or_function}: reset + sourcenest to 0 in a subshell + + 9/2 + --- +variables.c + - bind_variable: if a nameref expands to an array reference, make + sure that assign_array_element gets called (maybe even + recursively) instead of bind_variable_internal, so invalid variable + names (like arr[0]) don't get created. Fixes bug reported by + + + 9/3 + --- +execute_cmd.c + - evalnest_max,sourcenest_max: initialize from EVALNEST_MAX and + SOURCENEST_MAX, respectively. Feature suggested by + + +config-top.h + - define EVALNEST_MAX and SOURCENEST_MAX to 0 + + 9/6 + --- +bashline.c + - find_cmd_start: fix to (crudely) deal with >| token; even though + skip_to_delim finds `|' as a delimiter, we call it again and use + what the second call finds. Fixes bug reported by Dan Jacobson + + +findcmd.c + - find_in_path_element: if in posix mode, do not expand a literal + tilde in a $PATH element + +doc/bashref.texi + - add change to tilde expansion in $PATH elements to posix mode + description + +builtins/common.h + - ISHELP: new define for builtins that do their own option parsing + and don't use internal_getopt(); checks whether argument is --help + - CHECK_HELPOPT: convenience define to help builtins that do their + own option parsing to check for --help with one line of code + - CASE_HELPOPT: convenience define to help builtins that use + internal_getopt() check for --help with one line of code + +builtins/help.def + - builtin_help: new function, prints out --help output for current + builtin + +builtins/{kill,let,pushd}.def + - add CHECK_HELPOPT to builtins that use ISOPTION; call builtin_help + and return EX_USAGE (kill/let/pushd/popd/dirs) + +builtins/{caller,fg_bg}.def + - use CHECK_HELPOPT to recognize --help, since these builtins perform + checks that can cause them to return before calling no_options + (caller/fg/bg) + +builtins/{exit,return}.def + - use CHECK_HELPOPT to recognize --help before calling get_exitstat() + (return/exit/logout) + +builtins/{break,shift}.def + - use CHECK_HELPOPT to recognize --help before any other checks + (break/continue/shift) + +builtins/bashgetopt.h + - GETOPT_EOF: convenience define + - GETOPT_HELP: new define, to indicate internal_getopt saw --help + +builtins/bashgetopt.c + - internal_getopt: return GETOPT_HELP for --help + +builtins/common.c + - no_options: recognize --help, call builtin_help and return 2 + (builtin/eval/source/./times) + +builtins/command.def + - use CASE_HELPOPT() to handle --help after calling internal_getopt() + (command) + +builtins/{colon,echo,test}.def + - do not recognize --help (:/true/false/echo/test) + + 9/8 + --- +sig.c + - termsig_sighandler: if readline is active now, set the bashline event + hook. Old code just set it for interactive shells. Part of fix for + bug reported by + +bashline.c + - bash_event_hook: call rl_cleanup_after_signal if terminating_signal + is non-zero, since check_signals_and_traps() will cause the shell to + exit if it is and we want to clean up the readline state first. Rest + of fix for bug reported by + + 9/9 + --- +jobs.c + - waitchld: when running the wait builtin in posix mode, with a trap set + on SIGCHLD, use queue_sigchld_trap instead of trap_handler (SIGCHLD), + otherwise you will lose SIGCHLDs when children_exited > 1. Fixes bug + reported by + +builtins/read.def + - read_builtin: if we are changing the tty settings, call + initialize_terminating_signals so we have a chance to catch all + terminating signals and potentially clean up the terminal before + exiting + - read_builtin: tty_modified: new variable, set to 1 if we change the + terminal attributes and have to call ttyrestore() to restore them + - if one of the `reads' returns -1/EINTR due to a terminating signal, + and we have modified the terminal, call ttyrestore before calling + CHECK_TERMSIG + - ttyrestore: set tty_modified to 0 when called + + 9/10 + ---- +builtins/read.def + - termsave: now global to file so other functions can use it + - read_tty_cleanup: if tty_modified is non-zero, call ttycleanup to + restore old terminal settings and turn off tty_modified + +sig.c + - termsig_handler: call read_tty_cleanup if currently executing read + builtin; it does the right thing. Final piece of fix for bug reported + by Jan Rome + + 9/11 + ---- +general.c + - printable_filename: general function to return a printable + representation of a string (presumed to be a filename) + +general.h + - extern declaration for printable_filename + +execute_cmd.c + - execute_disk_command: use printable_filename + +builtins/{bind,cd,enable,hash,source}.def + - use printable_filename as appropriate when printing error messages. + From a suggestion by Vincent Lefevre + +builtins/bind.def + - use CASE_HELPOPT() to handle --help after calling internal_getopt() + (bind) + + 9/12 + ---- +builtins/common.h + - SEVAL_FUNCDEF: new flag for parse_and_execute; it means that we only + accept a single function definition command, as when we are importing + functions from the environment + - SEVAL_ONECMD: new flag for parse_and_execute; for future use + +builtins/evalstring.c + - parse_and_execute: if the SEVAL_FUNCDEF flag is set, disallow anything + but a function definition command + +variables.c + - initialize_shell_variables: don't allow functions with invalid names + to be imported from the environment, even though we still allow them + to be defined + - initialize_shell_variables: when importing function definitions from + the environment, call parse_and_execute with the SEVAL_FUNCDEF flag + to force the command to be just a function definition + +subst.c + - param_expand: when expanding a $name variable expansion, make sure that + the variable is visible and set before following the nameref chain + - param_expand: when expanding a $name variable expansion and following the + nameref chain, make sure the resulting variable is visible and set + before using it + + 9/13 + ---- +variables.c + - initialize_shell_variables: when importing function definitions from + environment, use SEVAL_ONECMD flag for parse_and_execute. Part of + CVE-2014-6271 + +builtins/evalstring.c + - parse_and_execute: if SEVAL_ONECMD flag set, return immediately after + calling execute_command_internal. Final piece for fix for bug + reported by Stephane Chazelas . Part of + CVE-2014-6271 + + 9/24 + ---- +parse.y + - reset_parser: reset eol_ungetc_lookahead to 0 here, since we don't want + shell_getc returning it on the next call. Fixes problem reported by + Tavis Ormandy and Michal Zalewski + . Potentially part of CVE-2014-6271; fix for + CVE-2014-7169 + + 9/25 + ---- +parse.y + - push_heredoc: new function, pushes a here-doc redirection onto + redir_stack handling overflow of redir_stack. Exits on overflow. + Original fix from Florian Weimer . Fix for + CVE-2014-7186 + - change straight assignments to redir_stack to call push_redir + - add one to size of word_lineno stack to avoid off-by-one error + below in read_token_word. Overflow just results in line numbers + being wrong. Fix for CVE-2014-7187 + + 9/27 + ---- +{execute_cmd,trap}.c + - changes to make minimal-config builds work again, mostly missing + #ifdefs for optional features + +builtins/common.c + - builtin_help: dummy version to be included if HELP_BUILTIN not + defined, for minimal-config builds + +variables.c + - initialize_shell_variables: incorporated patches from Florian + Weimer to change the strings bash looks + for when importing shell functions from the environment. It + adds a prefix (BASH_FUNC_) and a suffix (%%) to the name to + mark it as having been created by bash as an exported function. + Fix for remote attacks part of CVE-2014-6271 and CVE-2014-7169 + - mk_env_string: takes new argument, indicating whether we are + constructing a function + - mk_env_string: encodes function names as described above, so + initialize_shell_variables can find them + + 9/28 + ---- +copy_cmd.c + - copy_redirects: before calling savestring on here_doc_eof, make + sure it's not NULL (it could have been the result of a here + document delimited by EOF or EOS). Fixes bug reported by + Michal Zalewski . Fix for CVE-2014-6277 + +make_cmd.c + - make_redirection: initialize here_doc_eof member to NULL. Rest of + fix for CVE-2014-6277 + + 9/29 + ---- +parse.y + - current_input_line_state: return a sh_input_line_state_t containing + the current shell_input_line and its index and size variables + +shell.h + - current_input_line_state: extern declaration + +builtins/evalstring.c + - parse_and_execute: call reset_parser() before returning if + SEVAL_ONECMD set. Fixes bug reported by Michal Zalewski + and designated CVE-2014-6278 + - parse_and_execute: if we parse a function definition when + SEVAL_FUNCDEF is set, but don't consume the entire passed string, + throw an error, reset the parser, and return. Part of fix for + CVE-2014-6278 + - parse_and_execute: if parsing the shell function definition when + SEVAL_FUNCDEF is set transforms the function name (e.g., if it + begins with a newline or begins or ends with whitespace), throw + an error, reset the parser, and return. Fixes bug reported by + Eric Kobrin + + 10/2 + ---- +jobs.c + - bgp_prune: don't do anything if bgpids.npid == 0 or + bgpids.list == NULL. This can happen if something gets run before + the job control framework is initialized. Bug report from + + + 10/3 + ---- +parse.y + - xparse_dolparen: don't set token_to_read to newline after calling + parse_string() and cleaning up when the shell is not interactive. This + makes the parser think it's ok to read new commands even if it's not in + a state where that should be possible. Underlying fix for bug reported + by Michal Zalewski and designated CVE-6278 + - parser_remaining_input: new function, returns the portion of + shell_input_line that hasn't yet been read + - current_input_line_state: removed + +shell.h + - parser_remaining_input: extern declaration + - current_input_line_state: removed + +builtins/evalstring.c + - parse_and_execute: change code that checks whether parse_command has + consumed the entire passed string when SEVAL_FUNCDEF is used to use + parser_remaining_input instead of messing around with (new) + current_input_line_state. Part of fix for CVE-2014-6278 + +variables.c + - initialize_shell_variables: if we don't call parse_and_execute, free + the temporary string, since parse_and_execute won't. Report and fix + from Eric Kobrin + + 10/4 + ---- +print_cmd.c + - print_function_def: when in posix mode, print shell function + definitions as posix specifies them, without the leading + `function' keyword + +general.c + - exportable_function_name: return 1 if the passed string can be + added to the environment as an exported function name. Currently + prohibits function names containing `/' and `=' from being + exported + +general.h + - exportable_function_name: extern declaration + +builtins/setattr.def + - set_or_show_attributes: if exporting a function with export -f, + call exportable_function_name to determine whether the function + should be exported; don't export function if it returns 0 + + 10/7 + ---- +builtins/setattr.def + - set_or_show_attributes: don't show identifiers that are invisible + and imported from the environment, since that combination of + attributes means that the imported variable is not a valid shell + identifier. Report from Stephane Chazelas + + + 10/8 + ---- +shell.c + - shell_initialize: set new variable should_be_restricted, which + says whether or not the shell will be a restricted one based on the + shell name; use in calls to initialize_shell_variables (to inhibit + importing shell functions) and initialize_shell_options (to inhibit + parsing $SHELLOPTS) and initialize_bashopts (to inhibit parsing + $BASHOPTS). Report from + + 10/12 + ----- +execute_cmd.c + - execute_function: unwind-protect loop_level, set loop_level to 0 + when entering a function so break and continue in functions don't + break loops running outside of the function. Fix picked up from + dash via Herbert Xu + + 10/13 + ----- +doc/Makefile.in + - bashref.pdf: create using texi2dvi --pdf rather than postprocessing + the dvi file, so we have PDF bookmarks and links. Fix from + Siep Kroonenberg + + 10/14 + ----- +subst.h + - Q_ARITH: new quoting flag. Semantics are per Posix's spec for + arithmetic expansion: act as if string is quoted, but don't treat + double quotes specially (in this case, they will be removed by quote + removal) + - Q_ARRAYSUB: new quoting flag, indicates we are expanding an indexed + array subscript + +subst.c + - expand_arith_string: if we are not expanding the string, but we saw + a quote with Q_ARITH specified as one of quoting flags, perform + quote removal even if Q_DOUBLE_QUOTES is specified + - param_expand: change calls to expand_arith_string for $[ and $(( + cases to specify Q_ARITH. Now $(( "$x" )) and $(( "x" )) work if x + has a value that evaluates to a valid number, as Posix specifies + - expand_word_internal: add test for quoted&Q_ARITH to the tilde case, + so we continue to perform tilde expansion in arithmetic contexts + - expand_word_internal: if quoted&Q_ARITH, continue processing when we + see a `"', acting as if the double quote isn't present (already + Q_DOUBLE_QUOTED) + +arrayfunc.c + - array_expand_index: pass Q_DOUBLE_QUOTED|Q_ARITH|Q_ARRAYSUB as quoted + argument in call to expand_arith_string. This inhibits word + splitting (Q_DOUBLE_QUOTED) while discarding double quotes (Q_ARITH), + identical to the quote flags passed while expanding $(( )) and $[ ]. + Q_ARRAYSUB reserved for future use. Fixes problem reported by + Stephane Chazelas + + 10/16 + ----- +subst.c + - parameter_brace_expand_word: if the PF_ASSIGNRHS flag is set and we + are expanding what looks like an array subscripted with @ or *, + make sure the variable we're expanding is actually an array before + we add Q_DOUBLE_QUOTES to the flags. If we don't, things like + scalar[@] will remain quoted. Fixes ubuntu bug 1381567 + https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1381567 + + 10/17 + ----- +{jobs,nojobs}.c + - get_original_tty_job_signals: get original signal dispostions for + SIGTSTP, SIGTTIN, SIGTTOU before we start manipulating them in + make_child + - default_tty_job_signals: make sure we set SIGTSTP, SIGTTIN, or + SIGTTOU to SIG_IGN if they were ignored at shell startup instead of + unconditionally setting them to SIG_DFL. Fixes bug reported by + idallen@idallen.ca + +jobs.h + - get_original_tty_job_signals: extern declaration + +trap.c + - initialize_traps: add call to get_original_tty_job_signals + + 10/22 + ----- +subst.c + - expand_string_for_rhs: when expanding in this context (rhs of a word + expansion or pattern removal), we don't perform word splitting, so + we don't want to split $* if IFS is empty. Fixes bug reported by + Stephane Chazelas + + 10/23 + ----- +subst.c + - param_expand: when expanding $* in a pattern context where the + expansion is quoted (Q_PATQUOTE), don't quote the expansion -- + the outer quotes don't make the characters in the expansion of + $* special. Posix interp 221. Reported by Stephane Chazelas + + + 10/28 + ----- +lib/readline/bind.c + - enable-bracketed-paste: new bindable variable, enables support for + a terminal's `bracketed paste mode'. Code contributed by + Daniel Colascione + +doc/bash.1,lib/readline/doc/{readline.3,rluser.texi} + - enable-bracketed-paste: add description + +lib/readline/{readline.c,rlprivate.h} + - _rl_enable_bracketed_paste: declarations + - #defines for use by bracketed paste implementation + +lib/readline/rltty.c + - rl_prep_terminal: send BRACK_PASTE_INIT string to terminal if we + are supposed to enable bracketed-paste mode; change terminal_prepped + to indicate we sent that string and need to clean up + - rl_deprep_terminal: if terminal_prepped indicates we sent the + bracketed-paste mode init string to the terminal, send the cleanup + string before restoring the terminal modes + +lib/readline/kill.c + - rl_bracketed_paste_begin: function to read bracketed paste until + BRACK_PASTE_SUFF; discard the suffix, and insert the rest of the + paste as a single (undoable) object. Bound to BRACK_PASTE_PREF + +lib/readline/funmap.c + - bracketed-paste-begin: new bindable command, executes + rl_bracketed_paste_begin + +lib/readline/readline.c + - bind_bracketed_paste_prefix: new function, sets up to recognize + the bracketed paste prefix sequence (BRACK_PASTE_PREF) in emacs + keymap and vi insertion keymap + - readline_initialize_everything: call bind_bracketed_paste_prefix + + 11/1 + ---- +builtins/ulimit.def + - RLIMIT_POSIXLOCKS: now synonym for RLIMIT_LOCKS + - -k: new option: RLIMIT_KQUEUES, max kqueues allocated for this + process + - -P: new option: RLIMIT_NPTS, max number of pseudoterminals available + to this process + +doc/{bash.1,bashref.texi} + - document `ulimit -k' option + - document `ulimit -P' option + +parse.y + - `timespec list_terminator' production: if the list terminator is `;' + set last_read_token to `;' to allow things like `time ; command' to + time null commands and not throw a syntax error. Patch from + Piotr Grzybowski + - `BANG list_terminator' production: do the same thing + +variables.c + - sv_optind: use find_shell_variable and get_variable_value so we can + have the variable's context in the case we need to do something + when we are restoring a previous variable context's value + +builtins/getopt.h + - sh_getopt_state_t: struct to save sh_getopt's internal state so we + can restore it around function calls in the event that we have a + local copy of OPTIND + +builtins/getopt.[ch] + - sh_getopt_{save,restore}_istate: new functions to save and restore + getopt's internal state + - sh_getopt_{alloc,dispose}_istate: new functions to allocate and + deallocate sh_getopt_istate_t objects + +execute_cmd.c + - maybe_restore_getopt_state: restore sh_getopt state after executing + function body iff the funtion declared a local copy of OPTIND + - execute_function: save sh_getopt state before executing function body + - execute_function: note in getopt_state->flags whether or not the + function declared a local copy of OPTIND; used by + maybe_restore_getopt_state + - execute_function: maybe restore sh_getopt state before returning via + call to maybe_restore_getopt_state. Fixes bugs with getopts and + state between calls reported in 2011 by Bernd Eggink + and in 2014 by Oyvind Hvidsten + + +configure.ac + - enable-function-import: new option, controls whether function imports + are included. Enabled by default. Patch from David Galos + + +config.h.in + - FUNCTION_IMPORT: define controlled by enable-function-import above + +variables.c + - initialize_shell_variables: include code to import function + definitions from the environment if FUNCTION_IMPORT is defined + +doc/bashref.texi + - --enable_function-import: document new configuration option + + 11/5 + ---- +lib/readline/history.c + - history_lines_read_from_file: new variable, set by read_history and + read_history_range to the actual number of lines read from the + history file. The value is valid immediately after a call to one + of those functions + - history_lines_written_to_file: new variable, set by write_history, + history_do_write, and history_truncate_file to the actual number of + lines written to the history file. The value is valid immediately + after a call to one of those functions + +variables.c + - sv_histsize: set history_lines_in_file after history_truncate_file() + only if hmax < history_lines_in_file (lines we've already read); a + cosmetic change only + +bashhist.c + - load_history: set history_lines_in_file after read_history() from + history_lines_read_from_file, since read_history reads all of the + lines from the history file even if it's more than $HISTSIZE + - maybe_save_shell_history: after calling write_history(), set + history_lines_in_file to history_lines_written_to_file, since we + can assume that we read everyhing we just wrote + +builtins/history.def + - history_builtin: after calling read_history (history -r), set the + new value of history_lines_in_file, for the same reason as above + - history_builtin: after calling read_history_range (history -n), set + history_lines_in_file from history_lines_read_from_file + + 11/6 + ---- +lib/readline/histfile.c + - history_truncate_file: since we move the old file to a backup copy + before truncating, make sure the new file is owned by the same uid + as the old + - history_do_write: use chown in the same way as history_truncate_file + + 11/12 + ----- +lib/readline/display.c + - expand_prompt: takes a new `flags' argument; only one flag defined + so far: PMT_MULTILINE + - expand_prompt: changed all callers to add new flags argument + - rl_expand_prompt, redraw_prompt: make sure to set PMT_MULTILINE in + FLAGS argument to expand_prompt if expanding parts of a prompt + containing embedded newlines + - expand_prompt: only add mode char to last line of a prompt with + embedded newlines, so mode indicator doesn't get lost and gets + updated properly. Fixes problem reported by Renlin Li + + + 11/13 + ----- + +lib/readline/display.c + - prompt_modestr: changed prompt_modechar to return a string denoting + the editing mode; default strings for emacs and both vi modes are + #defines in this file. prompt_modestr takes an argument in which + it returns the length of the mode string + - expand_prompt: if expanding mode strings in the prompt, get the + mode string to use and add it at the beginning of the prompt string, + before expanding it. This will allow future work allowing the mode + string to contain invisible characters + + 11/15 + ----- +lib/readline/rlprivate.h + - _rl_{emacs,vi_cmd,vi_ins}_mode_str: extern declarations for + variables to hold current values of user-settable mode strings; + variables to hold lengths + +lib/readline/rlconf.h + - defines for default values of the mode strings for each editing mode + and keymap + +lib/readline/display.c + - _rl_{emacs,vi_cmd,vi_ins}_mode_str: new variables to hold values of + user-settable mode strings + - _rl_{emacs,vi_cmd,vi_ins}_modestr_len: new variables to hold lengths + of corresponding mode string variables + - prompt_modestr: return appropriate user-settable mode string + variables + +lib/readline/bind.c + - {emacs,vi-ins,vi-cmd}-mode-string: new user-settable mode string + variables + - sv_{emacs,viins,vicmd}_modestr: variable handling functions for user- + settable mode string variables. Non-null values are run through + rl_translate_keyseq so users can include invisible character + sequences in the mode strings; null values restore the default + - _rl_get_string_variable_value: handle values for new user-settable + mode string variables. Original code contributed by Dylan Cali + + +lib/readline/doc/rluser.texi + - {emacs,vi-ins,vi-cmd}-mode-string: document, including the fact that + you can use \1 and \2 to bracket sequences of non-printing + characters + + 11/16 + ----- +lib/readline/history.c + - add_history: replace loop that copies history list down one item + with call to memmove to take advantage of whatever efficiencies + libc can offer. Won't be any slower than current loop + +lib/readline/display.c + - rl_redraw_prompt_last_line: new function, calls redraw_prompt if + the prompt contains multiple lines; calls rl_forced_update_display + if not + +lib/readline/readline.h + - rl_redraw_prompt_last_line: extern declaration, undocumented in + texinfo manual until I get it a little more work + +bashline.c + - bash_execute_unix_command: instead of unconditionally calling + rl_forced_update_display, call rl_redraw_prompt_last_line if we + cleared the last line before executing the command. This keeps + commands that don't display any other output but just manipulate + the contents of the line buffer from redisplaying the prompt lines + before the last newline multiple times. Fixes bug reported by + Jesper Nygards and Rob Foehl + . This means that commands that display output + will *only* display the final line of the prompt + - bash_execute_unix_command: if the command returns 124, we redraw + the line unconditionally, including all lines of the prompt + + 11/18 + ----- +builtins/mapfile.def + - mapfile_builtin: don't allow a valid array reference through to + mapfile(), since it will just create a shell variable with that name. + Bug and fix from Eduardo A. Bustamante López + + 11/19 + ----- +lib/readline/complete.c + - _rl_colored_completion_prefix: new variable, if non-zero, and color + support is compiled in, and the $LS_COLORS variable exists and + contains color definitions, display any common prefix of a set of + completions in blue when displaying all the possible completions. + Doesn't work with menu-complete, which inserts possible completions + inline + - colored_prefix_start(), colored_prefix_end(): new functions, used to + bracket colored completion prefixes + - fnprint: if prefix_bytes is non-zero, and _rl_colored_completion_prefix + is > 0, display the first PREFIX_BYTES bytes of the word bracketed + by calls to colored_prefix_start and colored_prefix_end + - print_filename: if _rl_colored_completion_prefix is > 0, compute the + length in bytes of the common prefix and pass that to fnprint + +lib/readline/readline.c + - readline_initialize_everything: initialize the colors from $LS_COLORS + if _rl_colored_completion_prefix is non-zero + +lib/readline/colors.c + - _rl_print_prefix_color: new function, changes text color to that + defined for the common prefix of a set of possible completions + (currently cyan, same as directories); currently uses C_PREFIX, + defined in colors.h as C_DIR + +lib/readline/colors.h + - _rl_print_prefix_color: new extern declaration + +lib/readline/bind.c + - colored-completion-prefix: new bindable variable, if set, common + prefix of a set of possible completions is displayed in color. + Feature requested by several, most recently by Richard Neill + (in a slightly different form) and + Duy Nguyen + + 11/20 + ----- +builtins/printf.def + - printf_builtin: allow null (empty) format strings supplied with + -v var to set `var' to the empty string. That is, printf -v var "" + is now the same as var="". Change suggested by Mike Frysinger + + +pathexp.h + - FNMATCH_NOCASEGLOB: macro to decide whether or not to pass + FNM_CASEFOLD flag to strmatch depending on whether glob_ignore_case + is set; analogout to FNMATCH_IGNCASE + +pathexp.c + - glob_name_is_acceptable: use FNMATCH_NOCASEMATCH to determine flags + passed to strmatch; if nocaseglob is used to generate glob matches, + it should be used to generate ignored matches + + 11/21 + ----- +pcomplete.c + - filter_stringlist: the call to strmatch now honors the setting of + nocasematch. Feature request from Ville Skytta + back in 2010 + +doc/bash.1,lib/readline/doc/rluser.texi + - complete -X: document that filtering the list of possible completions + honors the nocasematch option when performing matching + +lib/glob/gmisc.c + - include chartypes.h and strmatch.h for new defines + - match_pattern_{wchar,char}: now take new third FLAGS argument, flags + have same meanings as strmatch(); intent is to handle case + insensitive comparisons under same conditions as strmatch + - FOLD: imported case-folding define from sm_loop.c; wide and single- + byte character versions + - match_pattern_{wchar,char}: use FOLD when comparing characters to + honor FNM_CASEFOLD if set in FLAGS argument + +externs.h + - match_pattern_{wchar,char}: updated extern declarations + +subst.c + - match_{upattern,wpattern}: update strmatch/wcsmatch calls to include + FNMATCH_IGNCASE in flags argument + - match_{upattern,wpattern}: update match_pattern_{char,wchar} calls + to include FNMATCH_IGNCASE in flags argument (consistent with calls + to strmatch). This makes pattern substitution word expansion honor + nocasematch shell option. Feature requested by Davide Baldini + + - match_wpattern: make sure to fold case if necessary when doing simple + matching + +doc/{bash.1,bashref.texi} + - pattern substitution: updated description to include honoring setting + of nocasematch when performing matching + +subst.c + - expand_word_internal: optimize handling of "$@" idiom by calling + list_rest_of_args() and quote_list() directly at the top of the + function instead of going through normal code path + - cached_quoted_dollar_at: WORD_LIST of quoted positional parameters, + used by same code above that optimizes "$@"; if non-null we just + return a copy of the list; if null, we save a copy of the list we + create + - invalidate_cached_quoted_dollar_at: convenience function to allow + other parts of the shell (e.g., remember_args()) to destroy the + cached list of quoted positional parameter when the positional + parameters change + +builtins/common.c + - remember_args: call invalidate_cached_quoted_dollar_at() + +builtins/shift.def + - shift_builtin: call invalidate_cached_quoted_dollar_at after modifying + dollar_vars[] + +builtins/source.def + - maybe_pop_dollar_vars: call invalidate_cached_quoted_dollar_at just + to be safe + + 11/23 + ----- +builtins/evalfile.c + - _evalfile: return -1 if errno == ENOENT and the flags don't include + FEVAL_ENOENTOK. If we print an error message we should return an + error + - force_execute_file: new function, reads and executes commands from + a file but returns an error if file doesn't exist + +builtins/common.h + - force_execute_file: new extern declaration + +shell.c + - main: call start_debugger even if dollar_vars[1] == 0 if the shell + isn't interactive (interactive_shell == 0) + - start_debugger: call force_execute_file instead of maybe_execute_file; + turn off debugging mode if it returns value < 0 + + 11/24 + ----- +hashlib.h + - DEFAULT_HASH_BUCKETS: doubled to 128, cost in memory use is small but + changes traversal order when not sorting results + + 11/25 + ----- +doc/{bash.1,bashref.texi} + - make it clearer, by breaking it out into a separate paragraph, that + referencing an array without a subscript is equivalent to referencing + it with subscript 0 + - add text saying that referencing any variable using a valid subscript + is OK + + 11/28 + ----- + +arrayfunc.c + - bind_array_variable, bind_assoc_variable: allow binding value to a + readonly variable if the ASS_FORCE flag is set in the FLAGS + argument + +subst.h + - ASS_FORCE: new assignment flag; means to allow assignment even if + variable is marked readonly + +builtins/declare.def + - when assigning a value to an array or assoc variable using + something like `declare -r foo=bar' where foo is an existing array + variable, pass the ASS_FORCE to assign_array_var_from_string so + the assignment is allowed. Fixes debian bug 765759 + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765759 + +builtins/setattr.def + - var_attribute_string: new function to return (as argument) a char + array with attribute flag values for a given variable; returns the + length of the array + +lib/sh/shquote.c + - sh_quote_reusable: function returning a version of its string + argument that is quoted for reuse + +externs.h + - sh_quote_reusable: extern declaration + +builtins/common.h + - MAX_ATTRIBUTES: define used to size arrays for attribute flag + characters + - var_attribute_string: new extern function declaration + +subst.c + - array_remove_pattern: fixed a bug where `var' instead of `v' was + tested for invisible attribute + - get_var_and_type: fill in a valid *VARP if returning VT_VARIABLE + because callers may need to use it + - parameter_brace_transform: family of functions to implement the new + mksh-inspired ${param@spec} transformation word expansions. Some + of the operators transform the (expanded) value of the parameter, + the rest expand to information about the parameter itself + (array_transform, parameter_list_transform, list_transform, + string_transform, pos_params_assignment, array_var_assignment, + string_var_assignment) + - parameter_brace_expand: changes to parse the new `@' word expansion + operator and call parameter_brace_transform appropriately + - parameter_brace_expand: make sure we handle ${#@} as we have before + even in the presence of the new `@' operator + +variables.c + - push_temp_var: make sure to call bind_variable_internal with the + ASS_FORCE flag so we override readonly variables created with + something like `tempvar=foo declare -r foo'. + - bind_variable_internal: honor ASS_FORCE flag to allow binding even + if a variable is readonly + +execute_cmd.c + - struct func_array_state: new state to save state of BASH_LINENO, + BASH_SOURCE, and FUNCNAME during function execution so it can be + restored on a jump to top level + - restore_funcarray_state: new function to restore func_array_state + - execute_function: fill in func_array_state variable, add unwind- + protect to restore it on jump to top level, call explicitly at + end of function if subshell != 0 (may not be necessary, but safe + for now). Fixes bug with local assignments to FUNCNAME reported + by Arfrever Frehtes Taifersar Arahesis + + 11/29 + ----- +arrayfunc.c + - assign_compound_array_list: turn off ASS_APPEND flag when processing + each individual assignment inside the parens in var+=(...). The + outer += should not affect assignments to existing subscripts; + those should be treated like usual assignments unless += supplied + inside the parens. Bug report from Maarten Billemont + , fix from Eduardo A. Bustamante López + + +config.h.in + - HAVE_PSELECT: define if pselect(2) available + +configure.ac + - check for pselect(2), define HAVE_PSELECT if found + +lib/readline/input.c + - rl_getc: use pselect(2) to wait for input ready on readline's + input fd or for a signal to arrive, will handle SIGWINCH (which + does not interrupt read(2)) and thus allow resize to happen without + having to wait to read more input. Only works if pselect available + and returns -1/EINTR on a signal even if the signal was installed + with SA_RESTART. From a suggestion from Egmont Koblinger + + + 12/3 + ---- +variables.c + - flush_temporary_env: new function, disposes all temp variables in + temporary_env hash table + - bind_variable: only try to update a temporary variable's value in the + temporary env if the value argument is not null. Fixes bug reported + by + +variables.h + - flush_temporary_env: new extern declaration + +subst.c + - command_substitute: if running command substitution as part of + expanding a redirection (expanding_redir == 1), flush any temporary + environment we've inherited as part of this command, since we are not + supposed to have access to the temporary environment. Since + expanding_redir only controls access to the temporary environment for + variable lookup and binding, we can turn it off in the subshell + + 12/4 + ---- +builtins/printf.def + - printstr: make sure a missing precision specifier after a `.' is + treated as 0, as printf(3) specifies. Fixes ubuntu bash bug + 1399087 (https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1399087) + + 12/5 + ---- +subst.c + - skip_to_delim: if scanning past process substitution (skipcmd == 1, + noprocsub == 0), use extract_delimited_string instead of + extract_process_subst, which was changed a while back (bash-4.3.23) + to use xparse_dolparen. xparse_dolparen complains if the command + or process substitution is unterminated, since it runs the parser, + which is not what we want here. Command substitution does the same + thing. Fixes bug reported by Daniel Kahn Gillmor + as Debian bash bug 771968 + (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771968) + + 12/6 + ---- +subst.c + - command_substitute: short-circuit without forking on a command string + that consists entirely of s and newlines + +jobs.c + - make_child: changes to allow interrupts through if fork fails and + we are sleeping for `forksleep' seconds + - waitchld: make things a little more resilient if CHILD ends up NULL + + 12/12 + ----- +lib/readline/complete.c + - rl_display_match_list: when calculating common prefix to display in + color, make sure we correctly handle a common prefix with a trailing + `/' as we do when checking whether or not to add an ellipis. + printable_part() doesn't return the whole pathname if it ends in a + slash, to avoid printing null strings, so we have to make sure we + have the entire prefix + +lib/readline/complete.c + - _rl_complete_display_matches_interrupt: new variable, set to 1 by + _rl_complete_sigcleanup to let rl_display_match_list know it has + freed the match list + - display_matches: check for signals during the printing loops with + RL_SIG_RECEIVED(), return immediately if there is a pending signal + (might not want to do this if it's SIGWINCH -- CHECK) + - rl_complete_internal: if _rl_complete_display_matches_interrupt + set after calling display_matches, just null out `matches' since + it's already been freed and call any application-set signal hook + + 12/14 + ----- +parse.y + - time_command_acceptable: if the token before a newline is `|', + return 0, since it's not really valid to time inside a pipeline. + Only handles a single newline but allows things like + echo a | + time cat + to invoke /usr/bin/time, which is probably enough to catch the + stray carriage return. Fixes bug reported by Andre Majorel + + +builtins/declare.def + - declare_internal: don't try to perform compound assignments unless + the WORD_DESC has flags including W_COMPASSIGN (maybe should check + W_ASSIGNMENT as well), avoiding unexpected evaluation if a word + is of the form (word) and is assigned to an array variable like so: + declare -x var=$value. Bug reported by Stephane Chazelas + . Will eventually be contingent on + compatibility level > 43, but not there yet. TENTATIVE + + 12/15 + ----- +lib/sh/Makefile.in + - add missing dependencies for shmatch.o. Pointed out by Sergey + Mikhailov + + 12/16 + ----- +{execute_cmd,subst}.c + - W_ASSIGNINT: remove, not used any more + +execute_cmd.c + - fix_assignment_words: don't look for `-i' option and set W_ASSIGNINT + flag any more; doing things a different way + - shell_expand_word_list: instead of using W_ASSIGNINT flag, since it + doesn't take into account all options that can transform values on + assignment (-l/-u/-c can also), go through option arguments looking + for options that need special handling and add them to the `opts' + array for make_internal_declare to use. Fixes bug with constructs + like `declare -al foo=(UPONE UPTWO UPTHREE)' not being lowercased on + assignment reported by Linda Walsh + + + + 12/18 + ----- +lib/readline/readline.c + - rl_internal_char: when we read EOF on a non-empty line, check for + signals and invoke any readline signal handling and any application- + installed signal hook + + 12/20 + ----- +lib/readline/readline.c + - rl_internal_char: if we read EOF on a non-empty line, set c to + _rl_eof_char the first time through. If we read EOF the next time, + return EOF from readline(). If callbacks are defined, this returns + EOF immediately, since lastc isn't available. Fix for problem + most recently identified by Jiri Kukacka , + it has come up in the past + + 12/21 + ----- +builtins/declare.def + - declare_internal: keep track of whether or not an assignment statement + argument to declare is an array subscript assignment; need to + differentiate assignments from straight declarations (declare a[4]) + which are accepted for backwards compatibility + - assignment statements like declare a[2]=foo are now treated as + straight subscript assignment statements if a already exists as an + array variable + - declare foo='(1 2 3)' is treated as an assignment to foo[0] if foo + exists and is an array, just as it would be if it were an assignment + statement and `declare' was not present. All this from a proposal + by Stephane Chazelas + + 12/22 + ----- +builtins/read.def + - read_tty_modified: function to tell the rest of the shell if the + read builtin has modified the tty + - read_builtin: make sure to initialize terminating signals before + installing a SIGALRM signal handler in case we modify the tty as + well as ask for a timeout; the subsequent call to + initialize_terminating_signals would overwrite the read-builtin- + local SIGALRM handler + +builtins/common.h + - read_tty_modified: new extern declaration + +shell.c + - exit_shell: if read_tty_modified() returns true, call read_tty_cleanup + to undo the terminal modifications. Extension of previous fixes; + fixes bug with read -s reported by Richard W. Marsden + + + + 12/23 + ----- +builtins/setattr.def + - show_var_attributes: call print_array_assignment and print_assoc_assignment + with a `not quoted' flag so the assignment statements are not + surrounded by single quotes. Caused changes to a lot of test output + + 12/29 + ----- +lib/readline/complete.c + - stat_char: Windows doesn't handle X_OK flag to access(2); use file + extensions to determine whether or not a file is executable. Bug + report and fix from Eli Zaretskii + +configure.ac + - changed version to bash-4.4-devel + +lib/readline/readline.h + - changed version to readline-6.4 + + 12/30 + ----- +readline.h + - struct readline_state: fix types of `ignorefunc' and `attemptfunc' + members + +lib/sh/shquote.c,externs.h + - sh_contains_shell_metas, sh_contains_quotes: now take `const char *' + as parameter + +stringlib.c,externs.h + - strcreplace: `text' argument now `const char *' + +pathexp.[ch] + - quote_globbing_chars: `string' argument now `const char *', accompanying + changes to function local variables + +pcomplete.c + - preproc_filterpat: `text' argument now `const char *' + - filter_stringlist: `text' argument now `const char *' + + 12/31 + ----- +builtins/evalstring.c + - should_suppress_fork: new function, broke code that decides whether + to turn on CMD_NO_FORK flag out of parse_and_execute into a separate + function + +execute_cmd.c + - execute_command_internal: AND_AND, OR_OR: call should_suppress_fork + for the RHS of && and ||, make `make' invocations marginally more + efficient + +flags.c + - get_current_flags: returns a bitmap of all single-letter shell + options with a non-zero value meaning option is enabled + - set_current_flags: set current single-letter options from a passed + bitmap, which has presumably been initialized with get_current_flags + +flags.h + - {get,set}_current_flags: new extern declarations + +builtins/declare.def + - declare_internal: if invoked as `local', interpret name argument of + `-' to mean to save (and restore at shell return) single-letter + shell options + +variables.c + - push_func_var: if we encounter `-' as the name of a local variable, + take the value and call set_current_flags on it to restore old + flag settings + +builtins/set.def + - get_current_options: returns a bitmap of all shell options settable + with `set', with a non-zero value meaning option is enabled + - set_current_options: set current shell options from a passed + bitmap, which has presumably been initialized with get_current_options + + + 1/1/2015 + -------- +lib/readline/parens.c + - _rl_blink_matching_paren: initialize to 0 whether or not select(2) is + available. Inconsistency reported by Mark Karpov + + +builtins/declare.def + - declare_internal: use get_current_options instead of + get_current_flags, so `local -' can be generalized + +variables.c + - push_func_var: use set_current_options instead of set_current_flags + so `local -' can be generalized + +doc/{bash.1,bashref.texi} + - document new `local -' feature; originally inspired by Robert Elz + describing feature in NetBSD sh + + 1/3 + --- +lib/readline/{complete,funmap,kill,histfile,util} +lib/readline/readline.h +lib/tilde/tilde.c + - fixes for filename- and evironment-related issues on Windows. Fixes + from Eli Zaretskii + - Windows can paste to the console from the clipboard like Cygwin + - Windows uses $APPDATA as a pseudo-$HOME + +lib/readline/input.c + - rl_getc: use _getch on Windows to avoid being overridden by a getch + ncurses function + - win32_isatty: replace Windows isatty(3) with a function that does + additional checks, sinces Windows isatty returns non-zero for + every character device. From Eli Zaretskii + +lib/readline/display.c + - delete_chars: if compiled with ncurses on Windows, this code can + work, so build it in if NCURSES_VERSION defined + - open_some_spaces: ditto + + 1/6 + --- +doc/{bash.1,bashref.texi} + - minor grammar and typo corrections from TonyMc + + 1/8 + --- +sig.c + - throw_to_top_level: only attempt to run the interrupt trap if SIGINT + is trapped -- minor optimization + - throw_to_top_level: if we are running a trap, call run_trap_cleanup + to turn off the sigmodes flags + +trap.c + - _run_trap_internal: temporarily suppress pending SIGINTs while running + one of the traps the shell handles internally (e.g., ERR). Fixes bug + reported by Keith Thompson + + 1/10 + ---- +bashhist.c + - bash_history_inhibit_expansion: use skip_to_delim with the history + expansion character to see whether or not the instance of the + history expansion character should be skipped because, for instance, + it is in a command substitution. Fixes issue reported by + Zigmund.Ozean@zig-home.localdomain + + 1/14 + ---- +lib/readline/isearch.c + - _rl_isearch_dispatch: if we are in a multibyte locale, make sure to + use _rl_find_prev_mbchar when trying to delete characters from the + search string, instead of just chopping off the previous byte. + Fixes bug reported by Kyrylo Shpytsya + +lib/readline/complete.c + - rl_filename_completion_function: if we tilde-expand `dirname', make + sure we use the expanded result instead of throwing it away for the + quote-removed `users_dirname', which still has any leading tilde. + Fixes bug reported by Dave Rutherford + +execute_cmd.c + - select_query: if the read builtin doesn't return anything in REPLY, + return NULL (failure). Fixes bug reported by Etherial Raine + + +builtins/read.def + - read_builtin: if REPLY has the readonly or noassign attribute, return + failure + + 1/16 + ---- +redir.c + - redir_open: if open() returns -1/EINTR, check traps as well as + using QUIT to handle signals + + 1/18 + ---- +jobs.c + - wait_for: make sure queue_sigchld is set to 1 before unblocking + SIGCHLD if MUST_UNBLOCK_CHLD is defined + + 1/19 + ---- +pcomplete.h + - new progcomp option: COPT_NOSORT, means to not sort list of possible + completions + +pcomplete.c + - pcomp_set_readline_variables: if COPT_NOSORT set in compspec flags, + set rl_sort_completion_duplicates to 0 + +builtins/complete.def + - _compopt: new option value: -o nosort, sets COPT_NOSORT in compspec + option flags. Provides new -o nosort option for complete and compgen + +bashline.c + - attempt_shell_completion: make sure rl_sort_completion_matches is + set to 1 before completion is attempted; allow a compspec to turn + it off + +lib/readline/kill.c + - rl_vi_yank_pop: new function, vi-mode version of yank-pop. Original + code from Ian Kelling + +lib/readline/funmap.c + - `vi-yank-pop': bindable name mapped to rl_vi_yank_pop + +lib/readline/readline.h + - rl_vi_yank_pop: extern declaration + + 1/21 + ---- +lib/sh/shquote.c + - sh_backslash_quote: change to understand and handle multibyte + characters, using is_basic, COPY_CHAR_P. See + https://bugzilla.redhat.com/show_bug.cgi?id=1184320 for original + report + + 1/23 + ---- +include/posixjmp.h + - use setjmp_sigs instead of redefined setjmp, it fails on Cygwin. + Report from Eric Blake + +builtins/wait.def,shell.c + - use setjmp_sigs instead of setjmp call, since setjmp no longer + redefined to something known + +include/chartypes.h, lib/readline/chardefs.h + - make sure all ctype.h macros are called with unsigned char args, + casting to make sure + +lib/sh/casemod.c + - sh_modcase: don't assume that the upper and lower case versions of a + character are the same width, so don't try to do the conversion in + place: convert and copy the converted characters one or more at a + time to the returned string + - sh_modcase: since upper and lower case versions of same character + may have different widths in some locales, don't shortcut and assume + that we can do single-byte case modification (toupper) with a + single-byte input character (e.g., `i'). Fix for problem reported + by Stephane Chazelas + + 1/31 + ---- +lib/readline/histfile.c + - history_truncate_file, history_do_write: if the first rename(2) + of the history file to the backup file fails, set the backup file + name to NULL to prevent any later attempts to restore the + original. Report from Jonathan Hankins + - history_do_write: don't attempt to back up non-regular files. + Report from Jonathan Hankins + + 2/2 + --- +trap.c + - run_interrupt_trap: now takes an argument indicating whether or not + it was called just before a longjmp to top_level; change callers + - run_interrupt_trap: if running a trap and we are being called before + a longjmp to top_level, call run_trap_cleanup on running trap so + a QUIT call while running a DEBUG trap, for instance, doesn't leave + sigmodes[DEBUG_TRAP] including SIG_INPROGRESS. Fixes bug reported + by Chih-Chieh Chou + +sig.c + - throw_to_top_level: change call to run_interrupt_trap to pass arg 1 + - termsig_handler: change call to run_interrupt_trap + +trap.h + - run_interrupt_trap: update extern prototype declaration + + 2/4 + --- +lib/readline/histfile.c + - histfile_backup, histfile_restore: new functions to back up and restore + history file to `filename-', following (one level of) symlinks through + so we don't rename the symlink itself. From a suggestion by + Jonathan Hankins + +assoc.c + - assoc_to_assign: if an index happens to be `@' or `*', make sure it's + double-quoted. Bug report from Greg Wooledge + + 2/5 + --- +lib/readline/bind.c + - rl_bind_key: if we are rebinding a key that is not bound to a + function or a macro, construct a key sequence and pass it to + rl_bind_keyseq. Make sure that '\' when it is used as a key is + changed to "\\" so it can survive rl_translate_keyseq. Fixes + https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776743 + + 2/8 + --- +include/posixjmp.h + - _rl_longjmp, sh_longjmp: new defines, expand to siglongjmp or longjmp + depending on autoconf results, used to avoid redefining longjmp, + remove _OPENNT conditional code. Report from Eric Blake + + +{bashjmp,quit}.h,{execute_cmd,expr,jobs,sig,trap}.c,builtins/{evalstring.c,return.def} + - change calls to longjmp to use sh_longjmp + +lib/readline/util.c + - change calls to longjmp to use _rl_longjmp + + 2/18 + ---- +variables.c + - bind_int_variable: make sure `v' is non-null before making it visible + + 2/19 + ---- +arrayfunc.c + - assign_array_var_from_word_list: after assignment, mark variable as no + longer invisible + - assign_array_var_from_string: after assignment, mark variable as no + longer invisible + +builtins/declare.def + - declare_internal: add warning if an attempt is made to use a quoted + compound assignment as an argument to declare (declare -a foo='( 1 2 )'); + backwards compatible with bash-4.3. Still a tentative change + + 2/20 + ---- +lib/glob/smatch.c + - is_wcclass: check malloc() return value, return -1 if it fails + Report from Tobias Stoeckmann + +lib/sh/shmatch.c + - sh_regmatch: check malloc() return value, handle NULL value if it + fails. Report from Tobias Stoeckmann + + 2/22 + ---- +lib/readline/doc/rltech.texi + - rl_callback_handler_install: note that the handler function should + free the line it receives, as with readline. Suggested by + Ulf Magnusson + - Readline Signal Handling: note that application needs to clean up + readline's terminal state if it wants to handle a signal before + the line handler restores it. Suggested by Ulf Magnusson + + + 2/24 + ---- +lib/readline/histfile.c + - history_do_write,history_truncate_file: if the write fails, make sure + to set history_lines_written_to_file to 0 so we don't lose those + history entries + + 2/27 + ---- +execute_cmd.c + - execute_function: unwind-protect the value of line_number_for_err_trap, + so a function that returns a non-zero value and triggers an ERR trap + has the right value for LINENO. Any simple command in the function + body can change it. Bug report from Paul Donohue + + 3/5 + --- +lib/sh/shquote.c + - sh_backslash_quote: cast `c' to `unsigned char' before using as + index into backslash_table. Report and fix from + alexeyv.90@gmail.com + +arrayfunc.[ch] + - valid_array_reference: added second `flags' argument for future use; + currently unused + +parse.y,{redir,subst,variables,test}.c +builtins/{declare,printf,read,set}.def + - valid_array_reference: changed callers + + 3/7 + --- +lib/readline/signals.c + - _rl_handle_signal: if readline gets a SIGTSTP or SIGTTIN, block + SIGTTOU so a backgrounded readline can reset the terminal settings + appropriately, otherwise the terminal state and readline's idea + of it can get messed up. Original report from Dave Wysochanski + and Dave Anderson + +trap.c + - run_pending_traps: don't allow recursive SIGWINCH trap invocations; + they're wasteful and trying to handle a stream of signals while a + user resizes the terminal can lead to malloc errors trying to save + and restore the_pipeline multiple times. Problem reported most + recently by Martin M. S. Pederson (Fedora bash bug 1197768 + https://bugzilla.redhat.com/show_bug.cgi?id=1197768) + - reset_or_restore_signal_handlers: set pending_traps to 0 for all + signals when forking a child. TENTATIVE fix + +jobs.c + - {save,restore}_pipeline: block SIGCHLD while manipulating the_pipeline + like cleanup_the_pipeline does. XXX - may not be necessary + +lib/readline/display.c + - rl_redisplay: fixed case where multibyte character in the prompt + (e.g., \u03bb) in the last screen column causes problems with line + wrapping because the newline marker is put in the middle of the + multibyte char. Most recently reported on Ubuntu by + + +pathexp.c + - quote_string_for_globbing: if a bracket expression doesn't have a + closing right bracket, rescan it from just after the opening + bracket without treating it as a bracket expression. Bug report + from Stephane Chazelas + + 3/9 + --- +subst.c + - process_substitute: keep the last pipeline created to run a process + substitution in LAST_PROCSUB_CHILD; discard it when another one is + created + +jobs.[ch] + - discard_pipeline: now global, so process_substitute can call it + +jobs.c + - last_procsub_child: new variable, set and modified only by the process + substitution code + - find_pipeline: if the requested pid is in LAST_PROCSUB_CHILD, return + it; analogous to the way this code handles the_pipeline + - waitchld: if we find a child via find_pipeline that is a part of the + last process substitution child, mark that child appropriately. If + the child is dead, add it to the bgp list. This and the previous + change allow waiting for the most recent process substitution (the + one corresponding to $!). Original report from Stephane Chazelas + + + 3/10 + ---- +arrayfunc.c + - unbind_array_element: make sure skipsubscript() doesn't try to parse + embedded quotes in the subscript, since this has already been through + one round of word expansion before calling the unset builtin. (This + function is only called by the unset builtin). Fixes bug reported by + + + 3/17 + ---- +jobs.c + - waitchld: move code that adds the last process substitution pid to + the bgpids array from waitchld (where it can call malloc in a signal + handler context) to cleanup_dead_jobs + + 3/19 + ---- +subst.c + - parameter_brace_expand: if expanding an array in a context where word + splitting will not take place (W_ASSIGNRHS only for now), make sure + to pass the double-quoted flag to chk_atstar so we don't get the + unquoted $* behavior, which will cause unwanted word splitting. + Fixes bug reported by isabella parakiss + +arrayfunc.c + - unbind_array_element: don't assume that caller will check and pass + only array variables; don't allow non-array variables to be unset + using the `@' or `*' subscripts and don't allow any subscripts other + than 0; return -2 in those cases + - unbind_array_element: unset a non-array variable if passed a subscript + of `0' (e.g., `unbind "scalar[0]"'). This is new functionality that + parallels the ${scalar[0]} expansion + +builtins/set.def + - unset_builtin: don't check whether a variable is an array if it's + referenced using array syntax (scalar[0]); pass it to + unbind_array_element anyway and check the result. This means that + `unset scalar' and `unset scalar[0]' are equivalent + + 3/20 + ---- +builtins/set.def + - set_builtin: make `-i' an invalid option, unconditionally for now. + From a bug-bash discussion started by Peng Yu + + 3/21 + ---- +lib/readline/colors.c + - _rl_print_color_indicator: handle dangling symlinks (C_ORPHAN) and + the `target' specifier for links (dereference S_ISLNK if the target + exists). Bug report and fix from andreas@stapelspeicher.org + +{arrayfunc,subst}.c + - add code to save and restore this_command_name in places that set + this_command_name to NULL to prevent error messages from arithmetic + evaluation. Fixes bug reported by brian.carpenter@gmail.com + +builtins/mapfile.def + - do_chop: remove a new DELIM argument from the line, instead of + unconditionally removing newline + - mapfile: if -d delim is supplied and we are breaking fields at DELIM, + remove DELIM if the -t option is supplied by passing DELIM to do_chop(). + Suggested by Geir Hauge + +doc/{bash.1,bashref.texi} + - mapfile: document new -t option behavior, defaults are the same + +builtins/alias.def + - print_alias: if the first character of an alias name is `-', add a + `-- ' after `alias' to avoid option errors when trying to reuse the + output. Bug report and fix on savannah from Pasha Bolokhov + + + 3/22 + ---- +builtins/declare.def + - declare_internal: if creating a variable does not return a valid + variable in VAR, check for null variable before dereferencing it. + This happens with nameref variables referencing variables set to + the empty string. + Fixes bug reported by Arthur200000 + + 3/23 + ---- +doc/{bash.1,bashref.texi} + - INVOCATION: add language to make it clear that non-interactive login + shells execute ~/.bash_logout if they run the `exit' builtin. From a + question from Christoph Anton Mitterer + + 4/6 + --- +subst.c + - process_substitute: increment and decrement subshell_level around + calls to parse_and_execute, as in command substitution, so + $BASH_SUBSHELL gets new values in the subshell. Fixes inconsistency + pointed out by Peng Yu + +doc/{bash.1,bashref.texi} + - read: add clarifying text to note that the -N option does not split + on $IFS, but does retain backslash as an escape character subject + to -r. Report from isabella parakiss + +builtins/declare.def + - declare_internal: unless it's the last statement in a {...} block, + NEXT_VARIABLE must be protected by braces. Bug introduced in patch + from 3/22, reported by Eduardo A. Bustamante López + + + 4/7 + --- +parse.y + - shell_getc: if bash is reading input from a string that ends with an + unquoted backslash, add another backslash instead of a newline, since + the backslash and newline will disappear in normal processing. Fixes + bug with `bash -c 'eval \\; echo y' ' skipping the eval command and + setting incorrect exit status, and `bash -ic 'eval \\; echo y' ' + seeing EOF on empty line and exiting before the echo. Keep track of + backslash state with last_was_backslash; set in char reading loop. + Fixes bug reported by Eduardo A. Bustamante López + + 4/8 + --- +shell.c + - main: check for $INSIDE_EMACS as well as $EMACS when deciding whether + or not bash is being run in a GNU emacs shell window. Don't bother + checking whether $TERM is unset because variable initialization sets + it to `dumb' if unset. Fixes from Paul Eggert + +parse.y + - push_token: new function, rotates current_token through last_read_token, + saving old values like yylex() does, sets current_token to argument + +evalfile.c + - _evalfile: if current_token is yacc_EOF, push a newline as the value + of current_token instead, using push_token(). yacc_EOF can result if + sourced file doesn't end with a newline but does end with an unescaped + backslash. Fixes bug reported by Pedro Gimeno + + +lib/readline/histfile.c + - use PARAMS(x) instead of __P(x). Bug reported by Evan Gates + + + 4/9 + --- +execute_cmd.c + - execute_simple_command: if we haven't already forked, and we have + created FIFOs, turn off the no-fork optimization in the simple + command's flags. Originally reported to savannah by Kuang-che Wu as + https://savannah.gnu.org/support/index.php?108732 + + 4/10 + ---- +trap.c + - trap_if_untrapped: new function, sets a trap on a signal if that + signal is not already trapped + - maybe_set_debug_trap: new function, sets DEBUG trap to command string + argument only if it's not already trapped + +trap.h + - maybe_set_debug_trap: new extern declaration + + +builtins/source.def + - source_builtin: if the -T option isn't set, use maybe_set_debug_trap + in the unwind-protect instead of unconditionally restoring the old + trap string. That means if the sourced file changes the DEBUG trap, + that new trap will persist instead of being undone when the old + value is restored. Fixes bug reported by Scott Bronson + + +builtins/evalstring.c + - parse_string: before we jump to top_level, if we are at the `bottom' + of the parse_and_execute stack (parse_and_execute_level == 0), call + top_level_cleanup() before jumping so the right cleanup happens (e.g., + cleaning up redirections and other state). Fixes bug reported by + Sam Liddicott + + 4/15 + ---- +jobs.c + - delete_job: only add J_ASYNC (and not J_FOREGROUND) jobs to the + bgpids array, since Posix says shells only need to save the status + of async jobs. Report and fix from John Fremlin + + 4/17 + ---- +pcomplib.c + - COMPLETE_HASH_BUCKETS: increase to 256 since bash-completion is + over 300 completions by now + +variables.c + - VARIABLES_HASH_BUCKETS: constant used to size shell variables hash + table instead of relying on hash library default. Used in calls + to hash_create in create_variable_tables(), push_temp_var(), and + push_func_var(). Currently set to 1024 because why not? From a + discussion starting at + https://lists.gnu.org/archive/html/bug-bash/2015-04/msg00089.html + - initialize_shell_variables: if FUNCTION_IMPORT is not defined, the + nested conditional compilation causes syntax errors. Bug and fix + from Eric Blake + +configure.ac + - function-import: fix typo, assign to correct variable. Found as the + result of a report by Eric Blake + +shell.c + - open_shell_script: check whether or not file argument is a + directory before opening; Posix says that implementations may open + a directory with O_RDONLY. Bug report from + Eduardo A. Bustamante López + + 4/19 + ---- +ulimit.def + - fix typo in limits[] declaration of `k' + + 4/20 + ---- +configure.ac + - add template definitions set by AC_USE_SYSTEM_EXTENSIONS from a report + from Andreas Schwab + +variables.c + - FUNCTIONS_HASH_BUCKETS: constant used to size the hash tables used for + shell functions and the text of shell function definitions. Initially + set to 512, even though it's a really rare case that someone has more + than around 150 functions, even with bash-completion + + 4/21 + ---- +shell.c + - main: malloc_set_register: change arg to 0 to disable keeping track of + allocations and frees in table; change to 1 for malloc debugging on + demand. Table is too small to keep effective track of allocations on + a modern system, need to use something like valgrind + + 4/22 + ---- +shell.c + - main: move cmd_init() (initialize word desc and word list object + caches) after startup files are read so the cache doesn't get filled + up with semi-permanent storage for shell functions and variables + +execute_cmd.c + - execute_function: use maybe_set_debug_trap in the same way as source + builtin change from 4/10 to allow functions to reset a DEBUG trap + when set -T not in effect. From a report by Peng Yu + + + 4/23 + ---- +execute_cmd.c + - execute_disk_command: don't overwrite value of subshell_environment + by assigning SUBSHELL_FORK; just OR in SUBSHELL_FORK so something + like SUBSHELL_ASYNC or SUBSHELL_PIPE is preserved + +jobs.c + - wait_for: don't call give_terminal_to if running in a subshell + environment, not just if running_in_background is set; don't want + shell functions waiting for a process to complete in a pipeline to + give the terminal to the wrong process group. Part of fix for bug + reported by Valentin Bajrami + - make_child: child process should not try to give the terminal to the + pipeline_pgrp if running as part of a pipeline (SUBSHELL_PIPE in + subshell_environment); functions in execute_cmd.c don't set that + flag until after make_child returns and the child process is running. + Rest of fix for bug reported by Valentin Bajrami + + + 4/24 + ---- +redir.c + - redirection_error: if the redirection involves {varname}, only use + `varname' in the error message if the error code is < 0 (one of the + internal redirection errors, like ambiguous or bad variable name); + otherwise the issue is probably with the filename and should be treated + as usual. Fixes problem reported by Dr. David Alan Gilbert + + +configure.ac,config.h.in + - sys/ioctl.h: add check in AC_CHECK_HEADERS macro, define HAVE_SYS_IOCTL_H + +lib/readline/{rltty,terminal}.c + - sys/ioctl.h: include unconditionally for ioctl declaration, avoid + issues with `implicit declaration' warnings. Issue originally + raised on gdb list by Chen Gang + + 4/27 + ---- +lib/malloc/table.c + - mem_table: now a circular buffer showing the state of the last + REG_TABLE_SIZE allocations rather than a hash table that quickly + fills up + +builtins/declare.def + - typeset_builtin: add -n to list of supported options. Omission + reported by Valentin Bajrami + +unwind_prot.c + - use object caches instead of malloc/free to allocate and deallocate + unwind-protect elements + - uwp_init: initialize unwind-protect element object cache + +unwind_prot.h + - uwp_init: extern declaration + +shell.c + - main: call uwp_init right after calling cmd_init -- initialize all the + object caches at the same place + +lib/malloc/table.[ch] + - mlocation_table: new table to keep track of allocation locations by + file and line, functions to initialize table, record an allocation, + and dump the table to stderr + - mregister_alloc: call mlocation_register_alloc to record the location + (source file/line) for each allocation to pinpoint malloc hot spots + by number of calls. More detail than gprof + +parse.y + - set_line_mbstate: replace free/xmalloc pair with xrealloc call + - read_token_word: call alloc_word_desc instead of xmalloc so we can take + advantage of the WORD_DESC cache + + 4/28 + ---- +execute_cmd.c + - execute_simple_command: if command execution fails because the command + is a directory, and the `autocd' option is set, add a `--' argument + to the constructed `cd' command to protect against command names with + the same name as options to `cd'. Report and fix from + isabella parakiss + + 4/30 + ---- +jobs.c + - printable_job_status, j_strsignal: change calls to strcpy and sprintf + that write to retcode_name_buffer to use strncpy and snprintf to + avoid buffer overflows caused by malicious translations. Bug and fix + from Trammell Hudson + + 5/1 + --- +strtrans.c + - ansicstr: make sure the buffer is at least 12 bytes to ensure enough + space for any eventual call to u32cesc for one multibyte char + + 5/4 + --- +jobs.c + - wait_for: if an interactive shell is running a loop and waiting for + a non-builtin command to exit, and the command exits due to SIGINT, + act as if the shell received the SIGINT as well and break the loop. + This matches the behavior when the shell is running a builtin command + in a loop, and when running a non-builtin command outside a loop, and + seems more broadly useful than running the trap handler over and over + again. Report originally from Kaz Kylheku + +builtins/set.def + - unset_builtin: use different variables for keeping the state of the + -f and -v options than the loop uses to decide whether or not to + treat a name as a function or a variable. Fixes problem with + unset_function setting `sticking' after you unset a function when + invoked with no options. Bug report from Dreamcat4 + + +shell.c + - open_shell_script: set running_shell_script to 1, set to 0 in every + other case (new variable) + - main: when checking whether or not to call start_debugger, test + running_shell_script instead of dollar_vars[1]. The goal is to not + invoke the debugger for interactive shells but allow it to run for + things like `bash --debugger -i /tmp/script'. Problem reported by + Rocky Bernstein + +lib/readline/histexpand.c + - history_event_delimiter_chars: new (as yet undocumented) variable + containing by default characters that can delimit a history event + specifier without requiring a `:': "^$*%-" as the documentation has + always said. Fixes bug reported by Anders Granlund + + + 5/10 + ---- +lib/glob/gmisc.c + - match_pattern_char, match_pattern_wchar: if passed an empty string, + return a match if the first character of the pattern is `*' + +subst.c + - pat_subst: change to allow empty strings to be replaced as long as + pattern matches empty string. Report and fix from isabella parakiss + + + 5/12 + ---- +lib/sh/strtrans.c + - ansic_wshouldquote: make behavior consistent in the event of an + invalid multibyte sequence: return 1 to the caller so the string + will be $'...' quoted + +builtins/cd.def + - cd_builtin: print the right error message even if printable_filename + changes errno (e.g., EILSEQ) + +lib/sh/shquote.c + - sh_backslash_quote: in multibyte locales, even if is_basic does not + return true, backslash-quote an ASCII character that backslash_table + says should be quoted. Part of fix for bug reported by Igor + Bogomazov + +bashline.c + - directory_exists: new function, dequotes the string argument, removes + any trailing slash, and returns true if the result is a valid + existing filename + - bash_filename_stat_hook,bash_directory_completion_hook: use + directory_exists instead of calling lstat/stat on the quoted + directory name. Rest of fix for bug reported by Igor Bogomazov + + + 5/15 + ---- +aclocal.m4 + - BASH_CHECK_MULTIBYTE: when checking for locale_charset, add $LIBINTL + to $LIBS. If we're using the included lib/intl/libintl.a, it will + include a version of locale_charset + + 5/17 + ---- +lib/readline/bind.c + - sv_isrchterm: make sure we check for v[end] == 0 while in the loop + looking for whitespace. Bug report and fix from Sergio Durigan + Junior + +lib/sh/shmbchar.c + - mbstrlen,mbsmbchar: move calculation of MB_CUR_MAX out of loop; + calculate it once at beginning + +lib/sh/mbscmp.c + - mbscmp: move calculation of MB_CUR_MAX out of loop; calculate it once + at beginning + +lib/sh/mbscasecmp.c + - mbscasecmp: move calculation of MB_CUR_MAX out of loop; calculate it + once at beginning + +lib/sh/shquote.c + - sh_backslash_quote: move calculation of MB_CUR_MAX out of loop; + calculate it once at beginning + +lib/sh/casemod.c + - sh_modcase: move calculation of MB_CUR_MAX out of loop; calculate it + once at beginning + +subst.c + - expand_word_internal: move calculation of MB_CUR_MAX out of loops; + calculate it once at beginning of function (XXX should use + locale_mb_cur_max) + + 5/22 + ---- +lib/readline/rlmbutil.h + - _rl_wcwidth: new function, short-circuits wcwidth calls for ASCII + printable characters, returns 1 for those + - WCWIDTH: call _rl_wcwidth instead of wcwidth + +lib/readline/display.c + - rl_redisplay: move calculation of MB_CUR_MAX out of loop; calculate + it once at beginning. Report and patch from Ole Laursen + + + 5/24 + ---- +lib/readline/text.c + - rl_insert: change to attempt to batch-insert pending typeahead (not + pushed input or input from a macro) that maps to rl_insert. An + attempt to suppress redisplay until readline reads all typeahead -- + pasted input, for instance. Inspired by report from Ole Laursen + . XXX - need to make this a bindable + variable; already controlled by _rl_optimize_typeahead + +lib/readline/rlprivate.h + - _rl_optimize_typeahead: extern declaration + +lib/readline/doc/{hstech.texi,history.3} + - next_history: clarify under what circumstances the history offset is + incremented; suggestion from Glenn Golden + +print_cmd.c + - print_arith_command: should be compiled in if either DPAREN_ARITHMETIC + or ARITH_FOR_COMMAND is defined. Report from Flavio Medeiros + + +flags.c + - change_flag: new variable verbose_flag, set when `v' flag modified; + sets value of echo_input_at_read correspondingly + +flags.h + - verbose_flag: new extern declaration + +shell.c + - long_options: --verbose now sets verbose_flag + - main: set echo_input_at_read from verbose_flag after parsing any + long options + +builtins/fc.def + - fc_builtin: don't unwind-protect echo_input_at_read directly; set it + to 1 before calling fc_execute_file as before, and reset it to value + of global verbose_flag using set_verbose_flag called from an + unwind_protect. Report from isabella parakiss + +builtins/shopt.def + - shopt_set_debug_mode: new function, called when the extdebug shell + option changes. Right now, it sets function_trace_mode when extdebug + is enabled, and turns off when extdebug is disabled. The + documentation has always said that shopt does this. Report from + Peng Yu + + 5/27 + ---- +findcmd.[ch] + - add support for EXECIGNORE shell variable, list of extglob patterns + that prevent matching filenames from being identified as executable + files + +variables.c + - EXECIGNORE: arrange for findcmd.c:setup_exec_ignore to be called when + $EXECIGNORE changes + +variables.h + - sv_execignore: extern declaration + +doc/{bash.1,bashref.texi} + - document EXECIGNORE variable + + 5/28 + ---- +lib/readline/callback.c + - rl_callback_sigcleanup: new function, cleans up and unsets any state + rl_callback_read_char uses. Intended to be used after a signal + +lib/readline/signals.c + - _rl_handle_signal: call rl_callback_sigcleanup on SIGINT. Fixes bug + reported to python group by Martin Panter + +lib/readline/isearch.c + - _rl_isearch_cleanup: now a public function so rl_callback_cleanup can + call it + +lib/readline/search.c + - _rl_nsearch_cleanup: now a public function so rl_callback_cleanup can + call it + +lib/readline/rlprivate.h + - _rl_[in]search_cleanup: extern declarations + +lib/readline/readline.h + - rl_callback_sigcleanup: new extern declaration + +lib/readline/doc/rltech.texi + - rl_callback_sigcleanup: documented + +lib/readline/readline.h + - bump readline version to 7.0 due to addition of rl_callback_sigcleanup + + 5/29 + ---- +builtins/declare.def + - declare_internal: if we are trying to change attributes or value for + a nameref variable whose value points to an unset variable, make + sure we create a new variable whose name is the value of the nameref + variable. That is, + + declare -n foo=bar + unset foo # unsets bar + declare -i foo + + should create a (invisible) variable named `bar' with the integer + attribute. Fixes problem reported by Greg Wooledge + + +builtins/set.def + - unset_builtin: if we find a nameref variable when we look it up with + find_variable (the returned variable has a name different from what + we looked up), make sure we use that new name for the rest of the + function rather than rely on unbind_variable to do the same thing as + find_variable. Fixes problem reported by Greg Wooledge + + - unset_builtin: if we try to unset a nameref variable whose value is + not a set variable, make sure we don't try to unset the nameref + itself, but rather the variable it points to. This ensures that the + following always works as it should + + declare -n foo=bar + unset foo # unsets bar and leaves foo unchanged + +lib/readline/funmap.c + - vi-insertion-mode: make sure it maps to rl_vi_insert_mode, which is + actually what the `i' keybinding in vi_movement_keymap maps to. + Cosmetic fix from isabella parakiss + + 6/2 + --- +general.c + - conf_standard_path: moved get_standard_path here from command.def; made + public function + +general.h + - conf_standard_path: extern declaration + + + 6/3 + --- +parse.y + - parse_matched_pair: make sure that command substitution constructs + within ${...} expansions are parsed as such using parse_comsub, so + the P_FIRSTCLOSE flag doesn't stop parsing if a right brace appears + within the comsub. Report from Christos Zoulas + +findcmd.c + - search_for_command: take two new flags for FLAGS arg: CMDSRCH_STDPATH, + which means use the command -p path, and CMDSRCH_TEMPENV, currently + unused. Existing flag value of 1 now CMDSRCH_HASH + - search_for_command: don't set `path' to NULL if it wasn't found in + the temporary environment; we can use it later + - search_for_command: look for the hashed file if temp_path == 0, not + if we set path back to 0 (or path lookup failed) + - search_for_command: just call find_user_command_in_path with a + pathlist argument that's set depending on the flags passed + - find_in_path: new function, just calls find_user_command_in_path at + this point + - search_for_command: don't put non-existent files into the hash table + +findcmd.h + - CMDSRCH_*: new flags for search_for_command + - find_in_path: extern declaration + +execute_cmd.c + - execute_disk_command: check for CMD_STDPATH and call search_for_command + with CMDSRCH_STDPATH if it's set + +builtins/command.def + - command_builtin: if -p given without -v or -V, set the CMD_STDPATH + flag in the simple command we construct from the rest of the + argument list. This fixes the command -p cmd issue with changing + $PATH for the duration of `cmd's execution reported by + + +builtins/common.h + - CDESC_STDPATH: new flag for describe_command; means to use standard + path for command -pv or -pV + +builtins/command.def + - command_builtin: if -p given with -v or -V, pass the CDESC_STDPATH + flag to describe_command + +builtins/type.def + - describe_command: if given the CDESC_STDPATH flag, use find_in_path + with the conf_standard_path() result. Since `all' will never be on + with this flag, at least not yet, we can allocate and free the path + list. Fixes the bug of a temporary environment value for PATH + preceding a `command -pv' or `command -pV' persisting when the + command finishes and means we use fewer unwind-protects + + 6/4 + --- +Makefile.in (plus other Makefile.ins) + - VPATH: remove `.' from VPATH value. It's not needed any more and it + trips a GNU make 4.1 bug on Cygwin. Report and fix from Eric Blake + + +lib/readline/histfile.c + - history_tempfile: new function, takes history file name as template + and creates a temp file name including the PID + - history_truncate_file, history_do_write: instead of creating backup + and restoring it on failure, use history_tempfile to create a temp + file name, write to it, then rename to original history filename + (handling symlinks using history_restore()). Original report and + patch from Russell Stuart + +doc/{bash.1,bashref.texi} + - ulimit: clarify that -c and -f are in increments of 512 bytes when + in posix mode. Fix from Robin Johnson via + + + 6/9 + --- +execute_cmd.c + - execute_in_subshell: don't call restore_default_signal for the exit + trap, reset_signal_handlers already does the right thing and keeps + the trap string around; no need to kill trap string. Bug report + from Miroslav Koskar + + 6/11 + ---- +nojobs.c + - find_proc_slot: now takes pid as an argument to avoid finding old + procs when pids wrap around + - add_pid: pass pid to find_proc_slot to avoid multiple instances of + the same pid in the list when pids wrap around. Fixes bug reported + by Roy Keene + +execute_cmd.c + - REAP: test for job_control == 0 also to determine whether or not + to call reap_dead_jobs, since shells without job control enabled + don't report on background process status + +doc/bash.1,lib/readline/doc/hsuser.texi + - history: clarify documentation of -a option to note that it will not + append the same line to the history file more than once. Fixes + problem reported by Reuben Thomas + + 6/12 + ---- +execute_cmd.c + - execute_in_subshell: don't bother decrementing subshell_level before + this returns; the caller will just exit. This means that + $BASH_SUBSHELL will have consistent values in the subshell and any + subsequent exit trap. Fixes bug reported by Miroslav Koskar + + - shell_execve: before longjmp to subshell_top_level, call reset_parser + to free up any input line and stack of pushed strings + +parse.y + - mk_alexpansion: if the last character of the alias is a shell + metacharacter, don't add a space to the string following the alias + value, since that will change the meaning of the command. THIS IS + NOT BACKWARDS COMPATIBLE AND MAY REQUIRE REVERTING. Inspired by an + email message from Jilles Tjoelker to austin + group + + 6/13 + ---- +subst.c + - dequote_string: don't turn strings consisting of a single CTLESC + into empty strings; return them unmodified. The idea is that there + is nothing to quote. This means that something like + c=$'\001' + x=$c + results in x containing '\001' when IFS=$'\001'. See if this will + cause problems by adding a debugging statement in the code + + 6/15 + ---- +parse.y + - CHECK_FOR_RESERVED_WORD: don't return ESAC when you read `esac' + after a `|' while in a case pattern list (parser_state & PST_CASEPAT). + This is Posix grammar rule 4 + (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10_02) + + 6/16 + ---- +jobs.c + - wait_for: make sure we queue SIGCHLD signals if a SIGCHLD trap + handler is running (signal_in_progress or IMPOSSIBLE_TRAP_HANDLER), + since we allow recursive trap invocations now + - wait_for: make sure we treat SIGCHLD as trapped if the trap handler + is set to IMPOSSIBLE_TRAP_HANDLER so we don't miss signals during + calls to run_sigchld_trap() + +trap.c + - run_pending_traps: since we allow recursive trap handler invocations, + make sure we set pending_traps[SIGCHLD] to 0 while we mark the + signal handler in progress (SIG_INPROGRESS) and don't reset it to 0 + after run_sigchld_trap returns in case more SIGCHLDs have been + queued while it's running + + 6/22 + ---- +lib/readline/readline.c + - _rl_dispatch_subseq: if we shadowed any function, not just self- + insert, bind that function to the key we shadowed and dispatch on it. + This preserves and dispatches off the original key, not ANYOTHERKEY, + and makes sure we are dispatching from a keymap with the right key + binding. Fixes bug reported by Carlos Pita + + + 6/23 + ---- +bashline.c + - attempt_shell_completion: don't read past the end of rl_line_buffer + while skipping assignment statements before command names. Fix for + bug reported by Hanno Böck + +lib/readline/parens.c + - _rl_enable_paren_matching: make paren matching work in vi insert + mode. Really, this time. Bug report from Carlos Pita + + + 6/29 + ---- +parse.y + - parse_comsub: when starting to parse a word, make sure that we set + lex_rwlen to 0 along with lex_wlen if we are in a position where we + can read a reserved word. Fixes bug reported by Nathan Neulinger + + + 6/30 + ---- +sig.h + - include unconditionally and rely on guards in sig.h to + keep from including it more than once. Irix 6.5 defines SIG_DFL + in other files and defeats the test of SIG_DFL. Fixes bug + reported by Klaus Ziegler + +alias.c + - ALIAS_HASH_BUCKETS: table size increased to 64 + + 7/7 + --- + +{jobs,nojobs}.c + - wait_sigint_cleanup: new function, to be called by longjmp targets + for wait_intr_buf. Performs any necessary cleanup of internal waitchld + state before going back to top level + +jobs.h + - wait_sigint_cleanup: new extern declaration + +builtins/wait.def + - wait_builtin: call wait_sigint_cleanup after longjmp back to + wait_intr_buf on interrupt + +[bash-4.4-alpha frozen] + + 7/7 + --- +bashline.c + - attempt_shell_completion: when skipping assignment statements, don't + skip past rl_point to find the word on which to perform programmable + completion. Fixes bug reported by Hanno Böck + + 7/10 + ---- + +pcomplib.c + - compspec_copy: set the refcount on the copy to 1, since it's a freshly + allocated copy and there are no other pointers to it. Fixes memory + leak from gen_progcomp_completions + +lib/readline/complete.c + - printable_part: if the pathname passed is just `/', just return it + instead of potentially reading before the `/'. Fixes bug reported + by Hanno Böck + + 7/11 + ---- +support/man2html.c + - change calls to malloc to use xmalloc; provide standard xmalloc + definition. Report from Bill Parker + +builtins/wait.def + - wait_intr_flag: set to denote validity of wait_intr_buf as target + for longjmp; reset by WAIT_RETURN macro; should always be 0 when + wait_builtin returns + +quit.h + - CHECK_WAIT_INTR: now also checks wait_intr_flag to ensure valid state + of wait_intr_buf before sh_longjmp + +{jobs,nojobs}.c + - wait_intr_flag: extern declaration for use by CHECK_WAIT_INTR + +sig.c + - wait_intr_flag: set back to 0 every place the shell resets state after + a jump to top_level + - sigint_sighandler: only set wait_signal_received if wait_intr_flag + indicates that the wait builtin has correctly set wait_intr_buf. + Final fix for bug reported by Ondrej Oprala + +subst.c + - parameter_brace_expand: fix so that ${!vvv@} is not interpreted as + introducing a `@' operator, but instead retains its meaning as all + variables whose name begins with vvv. Fixes bug reported by + konsolebox + + 7/14 + ---- +execute_cmd.c + - execute_connection: remove the fork optimization from and AND_AND + and OR_OR cases; it has trouble with `a && b && c', since the `&&' + is left-associative. Putting that code here can result in unwanted + fork optimizations since the `b' will end up as `second' on a + recursive call to execute_command. Bug reported by Mike Frysinger + + +builtins/evalstring.c + - optimize_fork: moved code from execute_connection to here; checks + whether the RHS of a && or || passes the suppress_fork() tests and + turns on the NO_FORK bit if so + - parse_and_execute: if suppress_fork() tests fail, check whether the + command to be executed is a connection and attempt to optimize the + fork for the right side using optimize_fork(). The key is dealing + with the entire command passed to `bash -c' or `eval' + +builtins/common.h + - optimize_fork: new extern declaration + +execute_cmd.c + - execute_command_internal: enable code put in to undo redirections + before exiting the shell due to `set -e' in the case of a shell + function that gets command-not-found or a syntax error. Reported + back in May, 2014 by Mark Ferrell + +bashhist.c + - bash_history_inhibit_expansion: enable change from 1/10 that skips + over history expansion character in command and process + substitution + + 7/15 + ---- +lib/readline/{history,undo}.c + - replace_history_data now _hs_replace_history_data + + 7/16 + ---- +lib/readline/readline.c + - make sure _rl_to_lower doesn't ever get characters that are outside + of its valid range by casting arg to unsigned char + +lib/readline/colors.h + - change completion prefix color (C_PREFIX) to be the same as C_SOCK, + which is less likely to collide with file type colorings (magenta) + +lib/readline/complete.c + - fnprint: now takes an additional argument: the full, expanded pathname + corresponding to the `toprint' argument + - fnprint: don't zero out prefix_bytes if we're not printing the + ellipisis but we still want to use prefix_bytes for displaying + the common prefix in a color + - print_filename: move colored-stats display responsibility into fnprint + - fnprint: change so colored-prefix and colored-stats can cooperate + and display filenames with multiple colors: one for the prefix and + one for the file type. The prefix is displayed in the prefix color + and the remainder of the pathname, if any, is displayed in the color + corresponding to the file type. Report and suggestion from Mike + Frysinger + + 7/17 + ---- +lib/readline/readline.[ch] + - rl_readline_state: now unsigned long, prepare for more than 32 states + + + 7/18 + ---- +lib/readline/history.h + - history_offset: now declared here, was always a global variable + - copy_history_entry: now declared here, part of the public interface + - alloc_history_entry: now declared here, part of the public interface + + 7/20 + ---- +lib/readline/readline.h + - RL_STATE_CHARSEARCH: new state, for vi mode character search. Was + previously handled by simply setting _rl_callback_func + +lib/readline/vi_mode.c + - rl_domove_motion_callback: split into two functions, remaining code + after _rl_dispatch call goes into new function + _rl_vi_domove_motion_cleanup + - rl_vi_char_search: set RL_STATE_CHARSEARCH + - rl_vi_char_search: sets `i2' member of callback data to the key used + to invoke the char search + - _rl_vi_callback_char_search: unset RL_STATE_CHARSEARCH after reading + the character to find + - _rl_vi_domove_motion_cleanup: make sure RL_STATE_VIMOTION is unset in + all cases where this function returns + - _rl_vi_domove_motion_cleanup: use `end' member of vi motion context + as value of rl_end to restore after adding blank at end of line in + rl_domove_motion_callback; avoids need to keep `old_end' and somehow + pass it between the two functions + +lib/readline/rlprivate.h + - _rl_vi_domove_motion_cleanup: new extern declaration + +lib/readline/callback.c + - rl_callback_read_char: handle RL_STATE_CHARSEARCH, including case + where char search is vi motion command for d/c/y/m and RL_STATE_VIMOTION + is set when this is called. Last of set of fixes for bug reported + by Carlos Pita with vi-mode `dty' command + in callback mode + + 7/21 + ---- +subst.c + - command_substitute, process_substitute: add QUIT call in the child + after restoring original signal handlers to catch post-fork SIGINT + or terminating signal + +jobs.c,nojobs.c + - make_child: after forking, clear interrupt_state in child + before restoring signal mask so children get their own set of + interrupts + + 7/22 + ---- +lib/sh/shquote.c + - sh_double_quote: since all uses of the return value from this function + are for display and not subject to subsequent expansion, we don't + need to protect CTLESC and CTLNUL with CTLESC. Bug report and fix + from isabella parakiss + +parse.y + - decode_prompt_string: need to protect literal instances of CTLESC + and CTLNUL with CTLESC, even if they are not coming out of one of + the backslash-expansions + +subst.c + - make_internal_declare: fixed memory leak; make_internal_declare should + free the memory it allocates to construct the word list. From Red + Hat bug 1245233; https://bugzilla.redhat.com/show_bug.cgi?id=1245233 + +lib/readline/readline.c + - _rl_dispatch_subseq: when checking whether an ESC in vi insert mode + should be treated as part of a key sequence or as a single char, + make sure we are getting input from the keyboard before we check + _rl_input_queued(). If we are getting input from a macro, this + causes a needless delay. Report from Carlos Pita + + + 7/23 + ---- +input.c + - save_bash_input: before checking to see whether or not a new fd has a + stale associated buffer, make sure that the new fd is within bounds. + Bug report and fix from Alexey Makhalov + + + 7/24 + ---- +doc/{bash.1,bashref.texi} + - note that the `return' builtin accepts arguments beginning with `-' + without requiring `--' + + 7/27 + ---- +examples/loadables/Makefile.in + - add variables and targets to support `make install'; installs + supported builtins in $(libdir)/bash + + 7/28 + ---- +lib/readline/{readline,rlprivate}.h, lib/readline/display.c + - rearrange some structure members for better alignment and to reduce + padding. Fix from + +tests/run-* + - use BASH_TSTOUT instead of hardcoded /tmp/xx as output file + +trap.[ch] + - maybe_set_error_trap: set a trap for the ERR trap if it is not already + trapped; similar to maybe_set_debug_trap back from 4/10 + +lib/malloc/malloc.c + - internal_free: make sure `ubytes' is initialized if MALLOC_WATCH is + defined and we'll be passing it to _malloc_ckwatch. Report from + Flavio Medeiros + +execute_cmd.c + - execute_function: use maybe_set_error_trap in the same way as + maybe_set_debug_trap. Fixes bug reported by David Waddell + + + 7/29 + ---- +jobs.c + - wait_for: no longer need to call job_signal_status when checking + whether a comsub shell reaped a child that died due to SIGINT; code + now uses child_caught_sigint + + 7/30 + ---- +builtins/exec.def + - exec_builtin: after call to restore_original_signals, need to call + default_tty_job_signals to undo changes done by initialize_job_signals. + Fix for problem reported by Andreas Schwab + +doc/{bash.1,bashref.texi} + - clarify definition of metacharacter to explicitly include newline; + prompted by report from George Gallo + + 8/3 + --- +lib/readline/search.c + - _rl_free_history_entry: should be void, not int. Report from + Dilyan Palauzov + +general.h + - sh_load_func_t, sh_unload_func_t: new function pointer types, used by + enable for load and unload hook functions + +builtins/enable.def + - dyn_load_builtin: attempt to execute a function named + BUILTIN_builtin_load, where BUILTIN is the name of the command being + loaded. If that function returns 0, the load fails + - dyn_unload_builtin: attempt to execute a function named + BUILTIN_builtin_unload, where BUILTIN is the name of the command + being unloaded. It offers a dynamic builtin a way to clean up after + itself. Inspired by suggestion from Piotr Grzybowski + in response to a bug report from isabella + parakiss + + 8/6 + --- +lib/readline/colors.[ch] + - _rl_print_color_indicator: now takes `const char *' argument + +lib/readline/complete.c + - colored_stat_start: now takes `const char *' argument + +lib/malloc/table.h + - ma_table_t: `file' member is now `const char *' + +lib/malloc/table.c + - mlocation_register_alloc: make sure variable assigned to `file' in + ma_table_t is of type `const char *'. Fixes from Dilyan Palauzov + + +lib/termcap/termcap.[ch] + - tputs: should return int instead of void + +lib/readline/readline.h + - RL_STATE_DONE: correct value, avoid collision + +lib/readline/vi_mode.c + - _rl_vi_redoing: now global, added _rl_ prefix to `vi_redoing' + +lib/readline/readline.c + - _rl_subseq_result: call _rl_dispatch_subseq instead of rl_dispatch to + avoid changing _rl_dispatching_keymap + - _rl_subseq_result: in the -2 case, set _rl_dispatching_keymap to the + map passed as an argument. Without this, vi mode doesn't call + rl_vi_set_last when it should + - _rl_dispatch_subseq: if redoing a vi mode command with `.' + (_rl_vi_redoing != 0) in callback mode and we're indirecting into + another keymap that has shadowed the key corresponding to the command + we are redoing, just call _rl_subseq_result immediately: vi redo + doesn't need to read any additional input, and rl_vi_redo assumes + that a single call to rl_dispatch is sufficient. Fixes bug reported + by Carlos Pita + + 8/7 + --- +subst.c + - parameter_brace_expand: if a substitution (parameter expansion) error + occurs, and shell_compatibility_level is <= 43, return expansion error + as in all previous versions. If shell_compatibility_level is > 43, + a posix-mode non-interactive shell will consider this a fatal error. + Problem reported by Christian Neukirchen + +doc/bashref.texi + - documented that word expansion errors cause fatal errors in posix mode + non-interactive shells + + 8/8 + --- +subst.h + - SD_COMPLETE: skip_to_delim being called as part of word completion + - SX_COMPLETE: one of the string_extract functions being called as + part of word completion + +bashline.c + - find_cmd_start,find_cmd_end,find_cmd_name: call skip_to_delim with + SD_COMPLETE flag + +subst.c + - skip_double_quoted: takes new flags argument; changed callers + - skip_double_quoted: if flags argument includes SX_COMPLETE, pass it + to extract_command_subst + - extract_command_subst: if flags&SX_COMPLETE, call + extract_delimited_string instead of xparse_dolparen, since completion + may call this for unterminated command substitutions. Fixes + (imperfectly) bug reported by Ingo Ruhnke + - skip_to_delim: if passed the SD_COMPLETE flag, pass the SX_COMPLETE + flag to skip_double_quoted + - char_is_quoted: pass SX_COMPLETE flag to skip_double_quoted + - unclosed_pair: pass SX_COMPLETE flag to skip_double_quoted + + 8/9 + --- +execute_cmd.c + - time_command: catch longjmps to top_level and print command timing + statistics even after a jump to top_level. Fixes issue reported by + Sam Watkins + + 8/10 + ---- +config-top.h + - OPENLOG_OPTS: if SYSLOG_HISTORY is defined, define to LOG_PID, so + each message is tagged with the pid + +bashhist.h + - bash_syslog_history: the first time it's called, call openlog with + OPENLOG_OPTS and SYSLOG_FACILITY + + 8/11 + ---- +doc/{bash.1,bashref.texi} + - GROUPS,FUNCNAME: change description to note that assignments are + silently ignored, but do not return an error (which would constitute + an assignment error and cause posix mode shells to abort). Problem + pointed out by Grzegorz Bajson + + 8/12 + ---- +subst.c + - parameter_brace_expand_indir: if the value of the indirectly expanded + variable isn't something that the shell would expand if it were inside + ${}, error out right away before calling parameter_brace_expand_word. + Fixes problem reported by isabella parakiss + - parameter_brace_expand: handle returning &expand_wdesc_error or + &expand_wdesc_fatal from parameter_brace_expand_indir in case it does + that someday + + 8/13 + ---- +jobs.c + - {save,restore}_pipeline: saved_pipeline now a linked list of pipelines, + new ones allocated in save_pipeline and freed in restore_pipeline. + This allow multiple nested calls to save_pipeline (e.g., in traps + and then in process substitution). Fix for bug reported by isabella + parakiss + +print_cmd.c + - named_function_string: if printing a function with the same name as a + reserved word, add the `function ' keyword before the name to avoid + parsing problems when trying to reuse it as input. Fix for bug + reported by isabella parakiss + + 8/14 + ---- +lib/readline/text.c + - rl_insert: when optimizing typeahead, make sure we set rl_last_func + ourselves if we set pending input, since the mainline code path + won't set rl_last_func if input is pending. Fixes bug reported by + Hiroo Hayashi + + 8/15 + ---- +builtins/type.def + - describe_command: if using the short description (CDESC_SHORTDESC) in + posix mode, describe posix special builtins as such. Requested by + Stephane Chazelas + +builtins/enable.def + - BASH_LOADABLES_PATH: a colon-separated list of directories where bash + looks for loadable builtins specified as arguments to `enable -f' + +doc/{bash.1,bashref.texi} + - BASH_LOADABLES_PATH: document new shell variable + +configure.ac,Makefile.in,builtins/Makefile.in + - loadablesdir: set in configure, substitute into Makefiles. Reserved + for future use + + 8/18 + ---- +subst.c + - shell_expand_word_list: if make_internal_declare fails, make sure to + propagate that error return back and make the assignment statement + fail. Fixes seg fault reported by Sergey Tselikh + + 8/20 + ---- +builtins/declare.def + - declare_internal: made a slight tweak to the warning message about + quoted compound assignments by printing it only if the array (indexed + or assoc) does not already exist + + 8/21 + ---- +braces.c + - mkseq: call strvec_dispose before throw_to_top_level if we saw SIGINT + to avoid a memory leak + +trap.c + - maybe_set_return_trap: set the RETURN trap to string if it's not + already trapped, in the same way as the debug and error traps + +execute_cmd.c + - execute_function: use maybe_set_return_trap to allow functions to set + return traps that persist across calls even if function tracing is + enabled + +lib/readline/input.c + - rl_gather_tyi: make sure errno reset to 0 after select call, for + ioctl and read + - rl_gather_tyi: if read returns -1/EIO, return -1 + - rl_read_key: if rl_gather_tyi returns -1/EIO, return READERR if in + RL_STATE_READCMD (reading command in readline_internal_char), EOF + if not (like rl_getc). Continue to return '\n' on other errors; + rl_done = 1 in any case. Fix for issue reported by + Lubomir Rintel + +lib/readline/{misc,text,vi_mode}.c + - fix return values from rl_read_key to handle < 0 + + 8/22 + ---- + +parse.y + - parsing_redirection: macro that expands to true if the last read + token (always passed as an argument) is a redirection token that + will leave us reading a word that's the target of the redirection + - command_token_position: make sure that even if the parser state + indicates we are reading a simple command (PST_REDIRLIST), we do + not perform alias expansion on a WORD that is part of a redirection, + using parsing_redirection() to do so. Fixes but reported to Red Hat + by Robert Alm Nilsson + https://bugzilla.redhat.com/show_bug.cgi?id=795795 + +builtins/declare.def + - declare_internal: only print the warning now if the variable is not + already an array or if we are not creating an array with -a or -A, + cuts down the spurious warnings + - declare_internal: even if the rhs of the assignment looks like a + compound array, if we're not assigning to an existing array or we're + not creating an array, make it an array subscript assignment. This + means things like declare a[1]='(foo)' and a[1]='(foo)' behave + identically + +builtins/help.def + - wdispcolumn: change use of displen and add new dispchars variable to + deal with locales where each wide character does not take up one + column position. Fix for bug reported by Mingye (Arthur) Wang + + + 8/23 + ---- +sig.c + - sigint_sighandler: if we get a SIGINT while this_shell_builtin == + wait_builtin, perform the special handling only if wait_intr_flag + is non-zero, don't just use it to set wait_sigint_received. This + makes sure we run bashline_set_event_hook. Fixes bug reported by + isabella parakiss + + 8/25 + ---- +subst.h + - SD_HISTEXP: new flag for skip_to_delim, indicates we are looking for + the history expansion character (special double quote handling) + - skip_to_delim: handle SD_HISTEXP flag, changes double quote handling + to be similar to history library: don't call skip_double_quote, make + sure single quotes aren't special in double quotes, but continue to + skip over $(), ${}, and other similar constructs + + 8/27 + ---- +support/bash.pc.in + - new file, pkgconfig template for bash, installed to support nascent + loadable builtins dev environment + +examples/loadables/Makefile.inc + - new file, example Makefile with correct definitions for loadable + builtin development + +configure.ac + - headersdir: directory where headers get installed to support loadable + builtin development + - examples/loadables/Makefile.inc, support/bash.pc: create + +Makefile.in + - INSTALLED_HEADERS, INSTALLED_BUILTINS_HEADERS, INSTALLED_INCFILES, + CREATED_HEADERS: new variables holding names of include files to + install into $(headersdir) for loadable builtin development + - install-headers,install-headers-dirs: new targets to support + installing headers into $(headersdir) and subdirectories for loadable + builtin development + - uninstall-headers: target to uninistall headers in $(headersdir) + - uninstall: call uninstall-headers whether or not install-headers + was done; add uninstall in examples/loadables + - install: add install in examples/loadables + - clean: add clean in examples/loadables + +examples/loadables/Makefile.in + - install-supported, install-unsupported: new targets, make install + chooses one based on $(SHOBJ_STATUS) + - install-supported: now cds to the top level build directory and + installs the header files + - install-supported: now installs Makefile.inc to $(loadablesdir) as + an example + - uninstall-supported,uninistall-unsupported: uninstall targets, + make uninstall chooses one based on $(SHOBJ_STATUS) + + 8/31 + ---- +lib/glob/Makefile.in + - CPPFLAGS: move after ${INCLUDES} so library-specific include paths + take precedence. This is what the other parts of the shell do. + Report from Poor Yorick + +builtins/read.def + - reset_alarm: cancel alarm before restoring signal handler to avoid + possible race condition. Report and fix from Oleg Popov + + +subst.c + - string_extract_verbatim: if SEPARATORS is "'", don't short-circuit + to string_extract_single_quoted unless the SX_NOCTLESC flag is set. + Callers expect this function to honor CTLESC, even to quote a single + quote. Fixes bug reported by isabella parakiss + and several others + + 9/2 + --- +include/chartypes.h + - TOCTRL: handle '?' by special-casing it to 0x7f. Fixes a problem + with $'\c?' reported by Helmut Karlowski + +redir.c + - write_here_string: don't word-split the here string document. The + bash documentation has always said this doesn't happen, even though + bash has done so for years, and other shells that implement here- + strings don't perform any word splitting. The practical effect is + that sequences of IFS characters are collapsed to spaces. Fixes + bug reported by Clint Hepner + + 9/3 + --- +doc/{bash.1,bashref.texi} + - add \? to the list of backslash escapes expanded by $'...' ANSI-C + quoting. It was expanded but not documented + +lib/readline/util.c + - _rl_audit_tty: updated from Red Hat patch + +lib/readline/readline.c + - HAVE_DECL_AUDIT_USER_TTY: correct #define check + + 9/13 + ---- +shell.c + - read_from_stdin: make sure value set to 1 appropriately if the shell + is reading from standard input, as Posix seems to specify (?) + +lib/readline/kill.c + - _rl_copy_to_kill_ring: don't assume that rl_kill_ring has been + allocated if _rl_last_command_was_kill is non-zero; make sure it's + non-null before indexing into it + + 9/15 + ---- +variables.c + - initialize_shell_variables: cope with a NULL env pointer. Fixes bug + reported by ziyunfei <446240525@qq.com> + + 9/16 + ---- +builtins/exec.def + - exec_builtin: if -c is supplied, pass an empty array instead of a NULL + pointer to shell_execve + +variables.c + - set_pwd: only believe $PWD if it begins with a slash; try to + canonicalize it and set it to physical path if canonicalization fails. + Reported by ziyunfei <446240525@qq.com> + + 9/17 + ---- +subst.c + - do_compound_assignment: make sure to dispose of word list generated + by expand_compound_array_assignment; fixes memory leak reported in + https://bugzilla.redhat.com/show_bug.cgi?id=1264101 + +variables.c + - adjust_shell_level: clamp the value of shell_level at 1000 and reset + there, instead of > 1000, since the itos replacement code doesn't + handle the value 1000. Fixes bug reported by ziyunfei + <446240525@qq.com> + +shell.h,parse.y + - save_parser_state,restore_parser_state: now save and restore + redir_stack, short-circuiting if need_here_doc == 0. If we save a + non-zero value for need_here_doc, we have to make sure there is + something valid for gather_here_documents to work on. Fixes bug + reported by Brian Carpenter + + 9/18 + ---- +array.c + - array_to_assign: use ansic_shouldquote to check whether each element + value contains non-printable characters and use ansic_quote to + generate the value instead of using sh_double_quote unconditionally + +assoc.c + - assoc_to_assign: if either the key or the value of an associative + array element contains non-printable characters (ansic_shouldquote + returns true), use ansic_quote to quote them instead of using double + quotes unconditionally + + 9/19 + ---- +subst.c + - pat_subst: handle REP being NULL. Fixes bug reported by Brian + Carpenter + +builtins/evalstring.c + - parse_string: if we get a longjmp to top_level with DISCARD as the + code (in which case we are going to go on), return -DISCARD to our + caller (always xparse_dolparen) after doing our own cleanup instead + of calling jump_to_top_level + +parse.y + - xparse_dolparen: if parse_string returns < 0, do the appropriate + cleanup and then jump_to_top_level with the negative of the return + value. This allows us to do the appropriate parser cleanup in + case we're not going to exit the shell. Fixes bug reported by Brian + Carpenter + +subst.c + - extract_delimited_string: if a recursive call to one of the extract_ + functions or a call to ADVANCE_CHAR leaves i past the end of the + string, cut the loop off at the end of the string. Fixes bug + reported by Brian Carpenter + + 9/20 + ---- +subst.c + - get_var_and_type: return appropriate values if variable indirection + results in a NULL variable. Fixes bug reported by Brian Carpenter + + +lib/readline/history.c + - history_get_time: handle strtol overflows caused by malicious + modifications to timestamps in the history file. Fixes issue + reported by rens@endoria.net + + 9/21 + ---- +lib/readline/rlconf.h + - ENABLE_AUDIT_TTY_SUPPORT: now undefined (off) by default + + 9/24 + ---- +jobs.c + - waitchld: if we get a SIGINT while waiting for a child to exit, but + the kernel doesn't interrupt the waitpid(2) call, assume the child + caught SIGINT if it exited for some reason other than SIGINT. Fix + suggested by Stephane Chazelas + +input.c + - make_buffered_stream: use B_TEXT in buffered stream flags instead + of (typo) O_TEXT. Report and fix from Eric Blake + + 9/27 + ---- +execute_cmd.c + - shell_execve: call reset_parser before calling initialize_subshell, + which calls delete_all_aliases. reset_parser wants to free the + pushed string list, which has pointers back into the alias table + (use after free) + - execute_simple_command: if we fork for an async command, make sure + the child process increments shell_level before performing any + word expansions, so $BASH_SUBSHELL is incremented. Fixes issue + reported by ziyunfei <446240525@qq.com> + + 10/1 + ---- +builtins/kill.def + - kill_builtin: make -L equivalent to -l for compatibility with other + (Linux) versions of kill + +doc/{bash.1,bashref.texi} + - kill: document new `-L' option + + 10/2 + ---- +[bash-4.4-beta frozen] + + 10/5 + ---- +doc/{bash.1,bashref.texi} + - LC_TIME: document that the shell recognizes it and calls setlocale + when it changes; and that the shell uses it for time formatting + + 10/6 + ---- +subst.c + - skip_single_quoted: now takes an additional `flags' argument, like + skip_double_quoted; changed callers + - skip_single_quoted: now pays attention to SX_COMPLETE flag, allows + backslash to escape single quote, like $'...' allows + - skip_to_delim: added case where we are completing and we are + skipping over a $'...' string to call skip_single_quoted with + SX_COMPLETE flag to allow backslash to quote single quote. Fixes + bug reported by Daniel Colascione + - char_is_quoted: make analogous changes to handle $'...' so we can + accommodate $'ab \' cd' + + 10/11 + ----- +subst.c,bashjmp.h + - no_longjmp_on_fatal_error: now global so other parts of the shell can + use it + +arrayfunc.c + - expand_array_index: if no_longjmp_on_fatal_error is non-zero, don't + longjmp to top_level, just return 0. Fixes bug reported by + isabella parakiss + +subst.c + - CQ_RETURN: restore old value of no_longjmp_on_fatal_error (oldjmp); + make sure all callers (skip_matched_pair, skip_to_delim, + char_is_quoted) save no_longjmp_on_fatal_error to oldjmp before + setting it to 1 + +expr.c + - expr_streval: if longjmping after an unbound variable error, jump + back to expr toplevel (evalbuf) if no_longjmp_on_fatal_error is set + in an interactive shell + +variables.c + - push_func_var: if pushing an array variable, such as when a variable + in the temporary environment is promoted to an array by mapfile when + the shell is in posix mode (so variable assignments preceding special + builtins or shell functions persist in the shell environment after + the builtin returns), make sure to copy the array or hash table so + the variable is duplicated correctly. Fixes seg fault reported by + Linda Walsh + + 10/13 + ----- +variables.c + - initialize_shell_variables: add call to sv_shcompat, so BASH_COMPAT + can be set in the initial environment + +execute_cmd.c + - execute_function: set loop_level to 0 only if shell_compatibility_level + is greater than bash-4.3; this was kind of an incompatible change. + Report from Carlos Pita + +COMPAT,doc/{bash.1,bashref.texi} + - compat43: added loop_level changes to description + + 10/15 + ----- +lib/sh/casemod.c,lib/readline/display.c + - make sure mb_cur_max variable is defined outside of HANDLE_MULTIBYTE + if it's used outside HANDLE_MULTIBYTE. Fixes from Greg Wooledge + + +support/Makefile.in + - bash.pc: remove as part of distclean, not clean. Report from Andreas + Schwab + + 10/17 + ----- +subst.c + - array_var_assignment: make sure to call quote_string or quote_escapes + on the assignment string, so spaces in the assignment survive word + splitting. Fixes bug reported by isabella parakiss + + + 10/20 + ----- +doc/{bash.1,bashref.texi} + - word splitting: make sure that newline is listed as one of the IFS + whitespace characters. Fixes omission reported by ziyunfei + <446240525@qq.com> + +lib/readline/histfile.c + - history_do_write: make sure that we only create and use the tempfile + if the history file exists and is a regular file. Reported several + times, most recent check the result of a report from + + + 10/22 + ----- +jobs.c + - delete_all_jobs: if running_only == 0, we are eventually going to + clear the bgpids list, so don't bother to add pids to it in + delete_job (call with DEL_NOBGPID flag if running_only == 0) + + 10/24 + ----- +jobs.[ch] + - bgpids: new implementation from a patch from John Fremlin + , uses an array for the list of the last CHILD_MAX + terminated background pids, and a separate hash table to search it. + The storage can be freed as a unit, and the size of the hash table + (currently 4096) is independent of the size of the bgpids table + +subst.c + - inherit_errexit: new variable to control whether or not command + substitution inherits the -e (errexit) option. Disabled by default + +general.c + - posix_initialize: set inherit_errexit = 1 when Posix mode is enabled + +builtins/shopt.def + - inherit_errexit: new shell option, tracks value of inherit_errexit, + allows command substitution to inherit the setting of errexit without + posix mode. From a request and patch submitted by Christoph Gysin + + +{version,version2}.c + - use #if HAVE_SNPRINTF instead of #if defined in case configure + decides to #define it to 0. Fixes problem reported by Klaus Ziegler + + +configure.ac + - when checking for sys/resource.h, make sure to include + for the benefit of both old systems that require it and new versions + of autoconf that require a header file to compile to report its + presence. Reported by Klaus Ziegler + + 10/26 + ----- +subst.h + - SD_ARITHEXP: new flag value for skip_to_delim, supports parsing + arithmetic expressions in parameter expansions + +subst.c + - skip_to_delim: handle SD_ARITHEXP flag by skipping parentheses for + subexpressions and allowing ?: expression to not terminate an + arithmetic expression delimited by `:' + - skiparith: just call skip_to_delim with the SD_ARITHEXP option and + the right delimiter string and return the right result. Fixes bug + reported by + +include/shmbchar.h + - strip out everything except what is needed to support is_basic and + similar functions, since the mbchar_t typedef apparently conflicts + with some AIX-specific type definition. Problem reported by + Michael Felt + + 10/27 + ----- +builtins/{set,ulimit}.def + - {set,ulimit}_builtin: make sure that --help is treated the same as + -? and prints a message and returns. Fixes bug reported by ziyunfei + <446240525@qq.com> + +builtins/*.def + - make sure to consistently use builtin_help() instead of mix of that + function and builtin_usage() + + 10/29 + ----- +doc/{bash.1,bashref.texi} + - BASH_CMDS, BASH_ALIASES: note that removing elements from these + array variables is not currently reflected in the command hash + table and alias list, respectively. Reported by isabella parakiss + + + 10/30 + ----- +eval.c + - reader_loop: if PS0 is set in an interactive shell, expand and + display it after reading a (complete) command but before executing + it. This differs from the DEBUG trap because the DEBUG trap is + executed once for each simple command (and some others, like each + time through a for loop). From a patch submitted by Dan Stromberg + + +parse.y + - prompt_again: set ps0_prompt from $PS0 in an interactive shell + +doc/{bash.1,bashref.texi} + - PS0: document new prompt string + + 11/3 + ---- +subst.c + - cond_expand_node: if special > 0, remove quoted nulls from the word + list, since no word splitting takes place. Fixes bug reported by + Corentin Peuvrel + + 11/4 + ---- +doc/{bash.1,builtins.texi} + - inherit_errexit: add to shopt description; modify Posix mode + description + + 11/9 + ---- +lib/readline/util.c + - rl_tilde_expand: fix out-of-bounds read caused when this function + is invoked with rl_point == 0. Bug reported by Hanno Böck + + + 11/11 + ----- +{nojobs,jobs}.c + - get_original_tty_job_signals: force the original signal disposition + for SIGTSTP/SIGTTIN/SIGTTOU to SIG_DFL in interactive shells. This + will force child processes to get SIG_DFL even if the shell is + started with those signals ignored. From a bug report from + Keith Thompson + + 11/13 + ----- +make_cmd.c + - make_function_def: if a function is being defined without a source + file, and the shell has not been initialized, assume that the + function is being imported from the environment and set the + source_file struct member to "environment". Set to "main" if the + shell has been initialized. Fixes bug reported on savannah by + Arno-Can Uestuensoez + https://savannah.gnu.org/support/index.php?108903 + +subst.c + - skip_to_delim: if the shell is in posix mode (posixly_correct != 0) + and performing history expansion ((flags & SD_HISTEXP) != 0), allow + double quotes to quote the history expansion character. TENTATIVE + CHANGE, inspired by + https://savannah.gnu.org/support/index.php?108491 + + 11/14 + ----- +jobs.c + - wait_for: modify change from 4/23 to only give the terminal to + shell_pgrp if not running in the background and subshell_environment + indicates we're not in a pipeline and not an async command. Fixes + bug reported by konsolebox + + 11/16 + ----- +doc/{bash.1,bashref.texi} + - document new posix-mode behavior of not giving ! special meaning + within double quotes, even if histexpand is enabled + + 11/17 + ----- +builtins/evalfile.c + - fc_execute_file: pass FEVAL_BUILTIN flag to _evalfile so it returns + the value of parse_and_execute after executing the commands in the + file. Fixes bug reported by Chris Marusich + + 11/20 + ----- +subst.c + - process_substitute: don't unconditionally set pipeline_pgrp to + shell_pgrp; do that only if pipeline_pgrp == 0 (we haven't forked + yet) or if we know we haven't forked for a command, a pipeline, + or an async command. Fixes bug reported by + + as https://savannah.gnu.org/support/index.php?108593 + + 11/24 + ----- +variables.c + - set_pwd: inherit the value of OLDPWD from the initial environment + if it names a directory. From a report from John Wiersba + + +builtins/set.def + - -T: fix help text to note that the DEBUG and RETURN traps are both + inherited if this is set. Report from Grisha Levin + + +doc/{bash.1,bashref.texi} + - HISTIGNORE,GLOBIGNORE: note that the pattern matching is subject to + the setting of the `extglob' variable. Clarification raised by + Aharon Robbins + +builtins/jobs.def,doc/{bash.1,bashref.texi} + - disown: add text to synopsis making it clear that disown takes a + pid argument. From a report from Matthew Stanfield + + +findcmd.c,doc/{bash.1,bashref.texi} + - EXECIGNORE: change pattern matching to use FNMATCH_EXTFLAG like other + IGNORE variables. From a report from Aharon Robbins + +trap.c + - _run_trap_internal: make sure to catch and use return values supplied + as arguments to `return'; instead of just catching return, make sure + we use return_catch_value as well. Fixes bug reported by + Grisha Levit , affects RETURN, DEBUG, ERROR + traps + + 11/30 + ----- +lib/readline/display.c + - rl_redisplay: fix code that deals with prompts that contain + multibyte characters whose physical length is longer than the screen + width (so the prompt line wraps) to deal with invisible characters + in the prompt and set the inv_lbreaks offsets correctly and set + lpos appropriately + - _rl_move_cursor_relative: always called with either visible line or + invisible line. Decide whether we are being called with the invisible + line (or a portion thereof) as the DATA argument; make sure to account + for invisible characters in the last line of the prompt by offsetting + the desired buffer offset (NEW) by where DATA starts in invisible line + and checking whether that is past the last invisible character in + the prompt + - _rl_move_cursor_relative: do the same for the visible line by using + the visible line lbreaks array instead of _rl_screenwidth, since + that fails in the presence of multibyte characters (buffer offset + vs. physical screen position). These fix bug with prompts with + multibyte characters and invisible characters that are longer than + the screen width reported by Ryo Furue + + 12/1 + ---- +parse.y,make_cmd.c + - here_doc_first_line: new variable, set to non-zero to indicate the + first line of possibly multiple here documents associated with the + current command. Set in parse.y:gather_here_documents() before + reading any here documents, set to 0 after reading the first line + of any here document in make_cmd.c:make_here_document(). + +parse.y + - history_delimiting_chars: if parser_state indicates we are reading + a here document, don't use current_command_line_count to see whether + or not we're on the first line of a here document -- it can be fooled + by multi-line commands (or even backslash-escaped newlines). Use + here_doc_first_line to check that directly. Fixes bug reported by + Geoffrey Allott + +shell.h,parse.y + - save and restore here_doc_first_line as part of the shell's parser + state + +lib/sh/tmpfile.c + - use ANSI-C rand() interface if random() not available. Fixes problem + with linking on (ancient) Solaris 2.4 reported by Klaus Ziegler + + + 12/2 + ---- +aclocal.m4 + - RL_LIB_READLINE_VERSION: if cross-compiling, assume current version + of readline if cross-compiling bash while using an external readline + library. Fix from Barry Davis + +execute_cmd.c + - execute_builtin: save and restore value of builtin_ignoring_errexit + instead of assuming we can set it back to 0 -- the ignore-errexit + cases might be nested + - execute_builtin: after a builtin executes and eval_unwind is set, + set exit_immediately_on_error to 0 if builtin_ignoring_errexit is + set, and back to the value of errexit otherwise, just like the + code that sets -e does. Fixes short-circuiting bug reported by + Marcin Swigon + + 12/5 + ---- +builtins/setattr.def + - set_or_show_attributes: instead of using a fixed string for the + options argument to `declare', which results in export adding the + readonly attribute, build the option string dynamically like in + subst.c:shell_expand_word_list() + - set_or_show_attributes: don't add the -r option to declare if the + attribute passed as an argument doesn't include att_readonly; add + -x if the attribute includes att_exported + - set_or_show_attributes: add the -g option to declare so readonly + and export in functions that go through this code path don't create + local variables. Part of fix for bug reported by ziyunfei + <446240525@qq.com> + +execute_cmd.c + - make_internal_declare: if we have an assignment builtin that isn't + supposed to create local variables (export/readonly), make sure to + add the W_ASSNGLOBAL flag to each assignment statement word. + Part of fix for bug reported by ziyunfei <446240525@qq.com> where + readonly can create local variables when invoked with a compound + array assignment as an argument within a shell function + +subst.c + - make_internal_declare: added third argument: command name. Not used + in any useful way yet + - do_compound_assignment: handle attempted assignments to readonly + variables and print error messages, like bind_variable does and the + callers expect. This means that assignments to readonly array + variables can't go through a code path that allows them to fail + silently + +doc/Makefile.in + - uninstall: run install-info --delete after removing the installed + info file to update the directory file + +execute_cmd.c + - execute_disk_command: since we still (and have always) perform + redirections in child processes, we need to mark that state so + we know that we're in a child process. subshell_performing_redirections + is the new variable; non-zero when executing do_redirections() + +subst.c + - process_substitute: if we are executing process substitution in a + redirection expansion context (expanding_redir == 1), the child + process should not have access to any temporary environment the + parent has. Call flush_tempenv() in the child process to get rid + of it. Fix for bug reported by Clint Hepner + + 12/9 + ---- +jobs.c + - waitchld: if in posix mode and attempting to let SIGCHLD interrupt the + wait builtin, make sure wait_intr_flag is non-zero before trying to + longjmp to wait_intr_buf. Fixes bug reported by Aharon Robbins + + + 12/10 + ----- +lib/readline/display.c + - update_line: if a prompt containing invisible characters changes, + and the change is within the prompt string, we need to redraw the + entire prompt. After that redraw, if the cursor position is after + the first index where the old and new lines differ, we can short- + circuit the update if the line length stays the same + - update_line: if we redraw the entire prompt string because the prompt + contains invisible characters and the first difference is in the + middle of the prompt, we possibly need to adjust our idea of the + first differing character in the old and new lines. We punt and do + a dumb update in this case. Fixes bug with dynamic vi-mode mode + strings containing invisible characters reported by Dylan Cali + + + 12/11 + ----- +lib/readline/display.c + - update_line: if we move up to a new screen line, we need to recompute + the number of invisible characters on the new current line + (visible_wrap_offset). Fixes bug reported to bug-readline by + Per Bothner + - update_line: update code that attempts to compute where we are in + the new line buffer. Fixes `vt100' bug reported to bug-readline by + Per Bothner + + 12/18 + ----- +execute_cmd.c + - execute_function: unwind-protect and restore BASH_ARGC and BASH_ARGV + - restore_funcarray_state: now global + +execute_cmd.h + - make func_array_state type global, add extern function declaration + for restore_funcarray_state + +builtins/evalfile.c + - _evalfile: use restore_funcarray_state and pop_args as unwind-protects + to restore BASH_{SOURCE,LINENO,ARGC,ARGV} and FUNCNAME on interrupts. + Fixes bug reported back on 11/10 by Grisha Levit + + + 12/20 + ----- +lib/readline/isearch.c + - _rl_isearch_dispatch: after removing the only character from the + search string with DEL, leaving the search string empty, don't match + the previous line if we didn't have a match before + + 12/22 + ----- +bashhist.c + - enable_history_list,remember_on_history: initialize to 0 instead of 1 + +shell.c + - init_interactive,init_interactive_script: set enable_history_list and + remember_on_history to 1 (defaults) + + 12/23 + ----- +variables.c + - initialize_shell_variables: don't inherit PS4 from the environment + if the shell is running with euid == 0; just reset it to `+ '. This + is a known potential vulnerability, since PS4 expansion performs + command substitution in the root shell's context before displaying + it. Discussion started by up201407890@alunos.dcc.fc.up.pt + +bashhist.c + - bash_history_reinit: initialize remember_on_history to the value of + enable_history_list (set -o history). Fixes bug reported by + Stephane Chazelas with command-line + option `-o history' not having any effect + + 12/28 + ----- +lib/readline/{history.h,histfile.c} + - history_file_version: new int variable, reserved for future use + - history_multiline_entries: new int variable, can be set by the + calling application to enable reading multi-line history entries + from the history file (currently undocumented) + +lib/readline/history.c + - _hs_append_history_line: new function, append a line passed as an + argument to a specified history entry, used to create multi-line + history entries + +lib/readline/histfile.c + - read_history_range: implement a heuristic that temporarily sets the + history comment character if the first line read from the history + file looks like it has is a timestamp (#[:digit:]) so we can read + timestamps from the history file properly. Originally reported + back in March 2015 by Christoph Anton Mitterer + - read_history_range: make sure history_multiline_entries is non-zero + if the history file looks like it has timestamps + - read_history_range: if we think we have a history file with timestamps + and we read more than one non-timestamp consecutive history lines, + assume they are part of a single multi-line history entry and paste + them together using _hs_append_history_line. Feature most recently + requested by james harvey , also suggested + by Christoph Anton Mitterer + +examples/loadables/setpgid.c + - setpgid: new loadable builtin, originally contributed by Jason + Vas Dias + + 12/29 + ----- +bashhist.c + - bash_history_inhibit_expansion: fix cases where a history expansion + should be skipped because it's in a command or process substitution + but there is another history expansion preceding the substitution + on the command line. Don't let the previous history expansion fool + the function into saying the command substitution history expansion + should be performed + +builtins/evalstring.c + - parse_prologue: always unwind-protect history_expansion_inhibited, + since history expansion can be enabled in non-interactive shells, + and calling eval once in a non-interactive shell inhibits history + expansion forever even if `set -o histexpand' was run before the + eval + +builtins/common.h + - SEVAL_NOHISTEXP: new flag for parse_and_execute/parse_string; means + to not perform history expansion (decouple from SEVAL_NOHIST, which + now means to not remember commands on history); changed all callers + that had SEVAL_NOHIST to have SEVAL_NOHIST|SEVAL_NOHISTEXP + +builtins/evalstring.c + - parse_prologue: instead of calling bash_history_disable, set + remember_on_history to 0 if SEVAL_NOHIST and history_expansion_inhibited + to 1 if SEVAL_NOHISTEXP + + 12/30 + ----- +subst.c + - skip_to_histexp: new function, a stripped-down version of skip_to_delim. + Used to skip to the next unquoted instance of the history expansion + character, handles peculiar quoting and command/process substitution + requirements. Better fix for bug reported by + Zigmund.Ozean@zig-home.localdomain back in January, prompted by report + from Keith Thompson + +bashhist.c + - bash_history_inhibit_expansion: use skip_to_histexp instead of + skip_to_delim + +subst.c + - parameter_brace_expand_rhs: if the rhs of an expansion is "$@" and + IFS is null, we need to separate the (quoted) positional parameters + in the returned word with a space, and mark the word as needing to + be split on spaces (W_SPLITSPACE). Fix for issues reported back in + October 2014 as the result of an austin-group discussion, and just + re-reported by Martijn Dekker + + 1/4/2016 + -------- +execute_cmd.c + - execute_simple_command: if autocd is set, invoke a function named + `cd' if one exists, instead of the shell builtin. Feature requested + by transl8czech@gmail.com + +builtins/mkbuiltins.c + - if a command's short description is the same as its name (e.g., `true'), + don't mark the short doc to be translated. Report and fix from + Benno Schulenberg + + 1/6 + --- +subst.c + - command_substitute,process_substitute: before replacing the file + descriptor underlying stdout (fd 1), make sure to purge any pending + stdio output that hasn't been written successfully, even after a + call to fflush(). Fixes bug reported by cks@cs.toronto.edu + + 1/7 + --- +builtins/{echo,printf}.def + - echo_builtin,printf_builtin: don't use terminate_immediately; use + calls to QUIT in the body of the print loop after writes and flushes. + Fixes problem with running the signal handler and exit trap in a + signal context and other bug reported by cks@cs.toronto.edu + +builtins/common.c + - sh_chkwrite: put in calls to QUIT to catch signals that interrupt + writes + +shell.c + - get_current_user_info: protect endpwent() with #ifdef HAVE_GETPWENT. + Fixes bug reported by pb + + 1/8 + --- +lib/readline/bind.c + - _rl_init_file_error: now a varargs function so it can take format + strings and arguments and pass them to vfprintf + - rl_parse_and_bind: print a warning if we encounter a key binding + string with one or more hyphens but we don't find a valid modifier + (`control', `meta', etc.). Prompted by a report from Andrew Kurn + + - rl_parse_and_bind: improve several existing error messages now that + _rl_init_file_error takes a variable number of arguments + - rl_variable_bind: print error message upon encountering unknown + variable + + 1/10 + ---- +lib/readline/bind.c + - rl_parse_and_bind: if a `bare' keybinding is supplied without any + terminating `:' or whitespace separating it from the command to be + bound, signal an error + + 1/11 + ---- +subst.c + - process_substitute: when compiled without job control (JOB_CONTROL not + defined), make sure we call stop_making_children like we do in the job + control code branch, so already_making_children is reset to 0. This + is what command substitution does. Fixes bug reported by Alastair + Hughes + + 1/12 + ---- +execute_cmd.c + - execute_in_subshell: if a user subshell (`(command)') or other shell + compound command has an input pipe, note for later by setting + stdin_redir. This will inhibit the implicit redirection of standard + input from /dev/null for async commands executed as part of this + subshell. Fixes bug reported by Martin D Kealey + - execute_simple_command: if the shell forks to execute this command + because it has an input pipe, set stdin_redir to inhibit later redirection + from /dev/null for async commands + + 1/13 + ---- +execute_cmd.c + - HASH_BANG_BUFSIZE: use #define for size of buffer used in + READ_SAMPLE_BUF instead of straight constant 80 + - HASH_BANG_BUFSIZ: increase to 128 because Linux allows 128 chars in + exec header. Reported by Ludovic Courtès + +configure.ac + - remove support for purify and purecoverage + - change release level to `rc1' + + 1/15 + ---- +builtins/enable.def + - dyn_load_builtin: fix missing argument to builtin_error if load function + returns an error. Fix from Aharon Robbins + + 1/18 + ---- +builtins/history.def + - histtime: display a better error message for invalid timestamps; use + existing `??' string for empty/missing timestamps or invalid history + entries. Suggestion from Reuben Thomas + + 1/21 + ---- +lib/readline/text.c + - rl_insert: when trying to optimize typeahead, make sure to reset the + key sequence and key sequence length when we read a character that is + not bound to self-insert. Bug report from Geir Hauge + + + 1/25 + ---- +doc/{bash.1,bashref.texi} + - word splitting: add example showing how -d'' is equivalent to -d + after word splitting and null argument removal + + 1/27 + ---- +doc/{bash.1,bashref.texi} + - read: modify description to make it more clear that the line is split + using the same rules as word splitting, and use `delimiters' instead + of `separators', which people read the wrong way + + 2/2 + --- +variables.c + - initialize_shell_variables: allow FUNCNEST to set funcnest_max when + imported from the environment. Inspired by + https://bugzilla.redhat.com/show_bug.cgi?id=1274553 + + 2/11 + ---- +bashhist.c + - bash_history_inhibit_expansion: function should be compiled in only if + BANG_HISTORY is defined. Report from isabella parakiss + + +[bash-4.4-rc1 frozen] + + 2/15 + ---- +lib/readline/text.c + - rl_refresh_line: call rl_redraw_prompt_last_line instead of + rl_forced_update_display to avoid redrawing all lines of a multiline + prompt (overwriting the last line of the multiline prompt in the + process). Report from Hugh Davenport + + 2/18 + ---- +subst.c + - parameter_brace_expand: when processing ${!name[@]}, make sure to + free `name' before returning the list of keys to avoid a memory leak. + Fixes bug reported by Emilio PastorMira + + 2/19 + ---- +trap.c + - free_trap_strings: when freeing the `special' traps (NSIG to BASH_NSIG), + check whether or not the `signal' is trapped, as it would be if the + subshell inherited it (errtrace) and don't free the trap string in that + case. Fixes bug reported by Jan Klötzke + + 2/21 + ---- +lib/sh/netconn.c + - isnetconn: return false if getpeername fails with errno == EBADF. + Bug and fix from Andrew Gregory + +builtins/shopt.def + - parse_bashopts: when reading BASHOPTS from the environment, make + sure to call any set functions associated with a variable, instead + of just setting the value to 1. Report and fix from + Vehlow, Jörg + + 2/22 + ---- +lib/readline/complete.c + - rl_display_match_list: don't bother calling strrchr to check the + return value from printable_part() if rl_filename_completion_desired + is non-zero, since in that case printable_part just returns its + argument. Fixes git completion issue reported by + Dilyan Palauzov + - _rl_colored_completion_prefix: default is now 0, testing is complete + + 2/23 + ---- +variables.c + - assign_hashcmd: if the shell is restricted, reject attempts to add + pathnames containing slashes to the hash table, as the hash builtin + does. Fixes bug reported to savannah by Sylvain Beucler as + https://savannah.gnu.org/support/?108969 + + 2/24 + ---- +subst.c + - NEED_FPURGE_DECL: need it before externs.h included, since fpurge + is now used in this file. Fixes warning reported by Mike + Frysinger + - skip_double_quoted: add missing argument to declaration + +parse.y + - shell_getc: in call to internal_warning, use %lu to print an argument + cast explicitly to unsigned long. Fixes warning reported by Mike + Frysinger + + 2/27 + ---- +parse.y + - decode_prompt_string: quote result of \s expansion in case shell has + been invoked with a pathname like '$(id)'. Inspired by report from + Travis Garrell + - decode_prompt_string: quote result of \h and \H expansions in the + (unlikely) case that the hostname has been changed to something + malicious including a command substitution. From report from + Travis Garrell + +builtins/getopts.def + - getopts_unbind_variable: new static function, just calls unbind_variable + for now. Placeholder for any future work to do something special if + OPTARG is readonly. Based on discussion started by Robert Elz + + +lib/readline/vi_mode.c + - rl_vi_unix_word_rubout: new function, implements ^W as Posix specifies + it for vi mode, using whitespace and punctuation characters as word + boundaries. Prompted by question from Carlos Pita + + +lib/readline/vi_keymap.c + - bind rl_vi_unix_word_rubout to ^W by default in both insert and + command mode + +lib/readline/rltty.c + - _rl_bind_tty_special_chars: if in vi mode, bind the WERASE character + to rl_vi_unix_word_rubout + +lib/readline/funmap.c + - vi-unix-word-rubout is new bindable name for rl_vi_unix_word_rubout + +lib/readline/readline.h + - rl_vi_unix_word_rubout: new extern declaration + + 2/28 + ---- +doc/bash.1 + - document readline blink-matching-paren variable + - document readline completion-display-width variable + - document readline completion-map-case variable + - note that the default value of history-size depends on the value of + the HISTSIZE variable. All from a message from Branden Robinson + + +doc/bash.1,lib/readline/doc/{readline.3,rluser.texi} + - convert-meta: modify the description to note that readline will turn + the default to off if the locale contains eight-bit characters + - input-meta: modify the description to note that readline will turn + the default to on if the locale contains eight-bit characters + - output-meta: modify the description to note that readline will turn + the default to on if the locale contains eight-bit characters. From + a message from Branden Robinson + + 3/6 + --- +examples/loadables/Makefile.in + - install-dev: make installdirs a prerequisite; don't rely on the + install-supported target to create it first. Bug with parallel + install (`make -j 4 install') reported by Chris Staub + + + 3/12 + ---- +lib/readline/display.c: + - rl_clear_visible_line: clear all screen lines occupied by the current + visible readline line. Inspired by report from Lauri Ranta + + +lib/readline/readline.h + - rl_clear_visible_line: extern declaration + +lib/readline/doc/rltech.texi + - rl_clear_visible_line: add documentation + + 3/19 + ---- +findcmd.c + - file_status: add inadvertently-dropped test for EXECIGNORE to the + `other' bits check. The check was in the original patch + - search_for_command: if the file should not be considered executable + because it's in the EXECIGNORE blacklist, don't set file_to_lose_on, + since the attempt to execute the last-ditch path will circumvent the + EXECIGNORE setting. Fixes bug reported by Dennis Williamson + + + 3/28 + ---- +lib/readline/display.c + - rl_redisplay: when computing where the cursor should go (and the + physical cursor position) after displaying the prompt, don't adjust + the cursor position by wadjust if there are no multibyte chars in + the prompt. lpos is already a physical cursor position; _rl_screenwidth + is the physical screen width, and we're not calling _rl_col_width and + don't need to take invisible characters into account again. Fixes + bug reported by Andreas Schwab + + 4/1 + --- +parse.y + - parse_comsub: when we read `esac' followed by a break character, + turn on the LEX_RESWDOK flag because we can now read another case + statement or other compound command. Fixes bug reported by + Christian Franke , original version + of patch from Piotr Grzybowski + - parse_comsub: leave the reserved-word-ok flag set for four-char + reserved words (then/else/elif/done/time) that can be followed by + reserved words; set lex_rwlen to 0 so we know to start reading a + new one + + 4/7 + --- +builtins/{alias,complete,jobs}.def + - {alias,compopt,disown}: add missing `CASE_HELPOPT;' so --help option + prints help longdoc instead of builtin_usage() + + 4/8 + --- +arrayfunc.c + - assign_array_var_from_word_list: use bind_array_var_internal instead + of inline code, so value conversions happen on assignment (case + modification, arithmetic evaluation, etc). Fixes bug reported by + Geir Hauge + + 4/9 + --- +shell.c + - main: change the logic that determines whether or not bash is running + under an emacs terminal emulator so it works with future versions of + emacs, which will change to use only $INSIDE_EMACS. Report and fix + from Paul Eggert + +lib/glob/sm_loop.c + - EXT: if we see ?(pat), we can match 0 or 1 times, so if we don't + match, we should consume the extglob pattern and go on to attempt + to match the rest of the pattern against the string. Fixes bug + reported by Isabella Parakiss + - GMATCH: in case `*', don't short-circuit and match anything if the + * is the last character in the pattern until after we check the + special cases for matching a `.'. Fixes bugs reported back on 3/23 + by Isabella Parakiss + + 4/13 + ---- +bashhist.c + - hc_erasedups: fix memory leak by freeing history entry returned by + remove_history. Bug and fix from Seiichi Ishitsuka + + + 4/19 + ---- +config-top.h + - CD_COMPLAINS: now settable in config-top.h; enables (fatal) error + messages if cd is given multiple directory arguments + + 4/20 + ---- +execute_cmd.c + - coproc_setvars: refuse to create variables with names that are not + valid identifiers. Suggestion from Piotr Grzybowski + + +rltty.c + - rl_tty_set_echoing: interface to set _rl_echoing_p, returning old + value. Inspired by gdb use of _rl_echoing_p when switching + between terminal and curses modes described by Doug Evans + + +bashline.c + - bash_execute_unix_command: use rl_clear_visible_line instead of + erasing current line on the screen, inspired by same report from + 3/12. Still tentative change + +configure.ac + - update release status to rc2, may skip this and go directly to + release + + 4/21 + ---- +arrayfunc.c + - convert_var_to_array: make sure that the newly-converted array + variable is not marked as being an associative array. Fixes bug + reported by Grisha Levit + - convert_var_to_assoc: make sure that the newly-converted associative + array variable is not marked as being an indexed array + + 4/22 + ---- +builtins/evalstring.c + - should_suppress_fork: don't suppress the fork if there are any traps + set, since that requires that we hang around to react to a signal or + collect the command's exit status and run something. Fixes bug + reported by Brian Vandenberg + +histexpand.c + - history_tokenize_word: handle >| as a single token. Fix from + Piotr Grzybowski from a report from + idallen@idallen-fibe.dyndns.org + + 4/24 + ---- +execute_cmd. + - coproc_setvars: don't overwrite readonly variables used as coproc + names. From a report from Grisha Levit + +histexpand.c + - history_tokenize_word: handle strings of digits before redirections + beginning with `<' or `>' as part of the redirection word; handle + strings of digits following `<&' or `>&' as part of the redirection + word. Inspired by patch from Piotr Grzybowski + from a report from idallen@idallen-fibe.dyndns.org + +lib/readline/complete.c + - rl_display_match_list: if the common prefix is longer than any of + the possible matches, set the length of the common prefix to 0 so + the entire match gets printed for each match + - rl_display_match_list: make sure to output at least one space + between each displayed match, even if the displayed length is + longer than our computed max + - fnprint: if the length of the prefix (prefix_bytes) is greater than + or equal to the length of the string to be printed (print_len), make + sure to set the prefix length to 0 so the entire string is printed. + From a report from Grisha Levit + + 4/25 + ---- +subst.c + - command_substitute: update the conditions under which we give the + terminal to pipeline_pgrp with give_terminal_to to the same ones + where wait_for uses to decide whether to give the terminal back to + shell_pgrp. This code exists to undo the work wait_for does; it + has to give the terminal back to pipeline_pgrp only under those + conditions when wait_for gives it back to the shell pgrp. Fix for + bug reported by Paulo Bardes + + 4/26 + ---- +bashline.c + - bash_filename_stat_hook: temporarily disable the `nounset' shell + option around calls to expand_prompt_string so we don't get error + messages during completion. Fixes issue reported by Eric Pruitt + + + 4/27 + ---- +doc/{bash.1,bashref.texi} + - extdebug: clarify that having this option enabled at shell startup + acts identically to --debugger. From a report from Grisha Levit + + +jobs.[ch] + - wait_for_single_pid: now takes additional `int flags' argument + +{jobs,execute_cmd}.c,builtins/wait.def + - wait_for_single_pid: changed callers to add extra argument + +jobs.c + - wait_for_single_pid: if (flags & 1) == 0, don't print the error + message if PID isn't found; changed execute_pipeline call when + lastpipe is set + + 4/28 + ---- +general.c + - bash_tilde_expand: try not setting interrupt_immediately or + terminate_immediately; see what happens with networked password + databases + + 4/29 + ---- +subst.c + - parameter_brace_expand, parameter_brace_expand_rhs: now take an + additional `pflags' argument from its caller so we can pass + state + - parameter_brace_expand_rhs: if expand_string_for_rhs returns a + quoted null, but l_hasdollat is set to 1, meaning we saw a quoted + "$@" of some form, we need to turn off special handling of "$@" + so something like "${@-${@-$@}}" expands to an empty string like + Posix says it should. Fixes bug reported by Grisha Levit + + + 5/1 + --- +variables.c + - bind_variable_internal: if we have a nameref variable with a valid + array reference that is invalid for assignment (e.g., a[*]), and + assign_array_element returns NULL, short-circuit and return NULL. + Fixes bug reported by Grisha Levit + +general.[ch] + - valid_nameref_value: new function, return 1 if passed argument is + a valid variable name argument for a nameref variable: a valid + identifier, a valid array reference, or a valid positional + parameter. Second argument indicates whether the value is to be + used for an assignment; in this case, return an error if the name + consists of all digits + +builtins/declare.def + - declare_internal: disallow values for nameref variables that don't + pass the tests in valid_nameref_value. Part of fix for bug + reported by Grisha Levit + +variables.c + - bind_variable_internal: if trying to assign a value to a nameref + variable, throw an error if valid_nameref_value fails (with a second + argument of 1). More fixes for bug reported by Grisha Levit + + + 5/2 + --- +builtins/declare.def + - declare_internal: don't allow nameref attribute to be applied to an + existing readonly variable; it can be used to circumvent readonly + value. Fix for bug reported by Grisha Levit + +variables.[ch] + - find_variable_last_nameref, find_global_variable_last_nameref: takes + a new flags argument. If flags is non-zero, and we find a nameref + variable that is unset (has no value), return that variable instead + of NULL. + +{variables,execute_cmd,arrayfunc,subst}.c,builtins/{declare,set}.def + - find_variable_last_nameref, find_global_variable_last_nameref: change + callers to add flags argument (initially 0) + + 5/3 + --- +variables.c + - bind_variable_internal: make sure we run the value of a namref + variable through valid_nameref_value before doing the assignment. + This can go away if we stop allowing namerefs to refer to positional + parameters + +execute_cmd.c + - execute_select_command: if bind_variable returns NULL, handle it as + an error, as if attempting assignment to a readonly variable + - execute_for_command: use 1 as second argument to + find_variable_last_nameref, so it will return an invisible nameref + to assign for each variable in the list + - execute_for_command: if the current word in the list is an invalid + identifier and the loop variable is a nameref, handle it as an error, + as if attempting assignment to a readonly variable + + 5/4 + --- +variables.c + - bind_int_variable: add warning if assigning an int to a nameref + variable + - assign_in_env: if assigning a variable in the temporary environment + that is a namref, throw an error if trying to assign an invalid + value + - bind_variable_value: use valid_nameref_value instead of calls to + legal_identifier and valid_array_reference + +execute_cmd.c + - coproc_setvars: if we have a nameref variable as the coproc name, but + it can't be assigned to for some reason, remove the nameref attribute + and issue a warning that we are doing so + - coproc_setvars: don't allow assignment to a nameref variable with an + invalid variable name, using same code as find_or_make_array_variable + +general.c + - valid_nameref_value: disallow values consisting solely of digits, + like the positional parameters + +builtins/declare.def + - declare_internal: don't call valid_nameref_value on the existing value + of a variable that's being converted to a nameref -- that value is + going to be thrown away and we've already checked the new value + - declare_internal: call bind_variable_value with the ASS_NAMEREF flag + if we're assigning to an existing nameref variable (for instance, + `declare -n x ; declare x=42') + + 5/5 + --- +variables.c + - make_local_variable: if we are being asked to create a local copy of + a nameref variable from a prior scope (checked by looking up + using find_variable_noref), use the nameref variable, not the variable + it references (which we find using find_variable). Bug report from + Grisha Levit ; fix by Piotr Grzybowski + + +builtins/declare.def + - declare_internal: if asked to do the same thing as above (difference + is declare -n r=foo in previous case; declare -n r in this one), + don't follow reference var from a previous context. Create a new + local variable (using make_local_variable) and inherit attributes + from previous scope's nameref as above + + 5/6 + --- +builtins/declare.def + - declare_internal: if we are assigning a value to an existing + invisible nameref variable, validate value early so we don't end up + removing the variable after the assignment fails + +builtins/shopt.def + - toggle_shopts: don't call set_bashopts here unless $BASHOPTS exists, + since we don't want to set it up before it gets read from the + environment. Keeping BASHOPTS read-only should keep users from + unsetting it. Fix from Grisha Levit + - shopt_set_debug_mode: make sure error_trace_mode reflects the setting + of extdebug. This one is tentative. Fix from Grisha Levit + + - shopt_set_debug_mode: call set_shellopts after setting error_trace_mode + or function_trace_mode. Fix from Grisha Levit + +shell.c + - start_debugger: make sure that function_trace_mode and error_trace_mode + reflect the value of debugging_mode, so they are both disabled if we + disable debugging mode because we can't find the debugger start file. + Fix from Grisha Levit + - start_debugger: set $SHELLOPTS and $BASHOPTS to the option values are + reflected if we change or set them here. Fix from Grisha Levit + + +builtins/set.def + - reset_shell_options: add reset values for: posix, nolog, pipefail. + Fix from Grisha Levit + +builtins/shopt.def + - reset_shopt_options: add reset values for: autocd, checkjobs, + complete_fullquote, dirspell, failglob, globstar, gnu_errfmt, + huponexit, inherit_errexit, interactive_comments, lastpipe, + no_empty_cmd_completion, progcomp. Fix from Grisha Levit + + - reset_shopt_options: make sure the following options have the right + defaults based on #defines: checkjobs, checkwinsize, direxpand, + extglob, globasciiranges. Fix from Grisha Levit + + +flags.c + - reset_shell_flags: add missing flags, re-initialize history_expansion + based on STRICT_POSIX + + 5/8 + --- +lib/readline/histexpand.c + - history_expand: if any expansion returns 1 from history_expand_internal, + indicating that :p was supplied, make it apply to the entire line + like tcsh and csh. Fixes bug reported by Dean Stanton + + +variables.[ch] + - ifsname: move define to variables.h + +execute_cmd.c + - execute_for_command: check whether or not the word in the for command + is IFS; call setifs every time the variable is assigned a value. + Fixes bug report from Grisha Levit + + 5/16 + ---- +general.c + - valid_nameref_value: explicitly handle name == 0 and *name == 0 right + away to save calls to legal_identifier + +builtins/declare.def + - declare_internal: if trying to set nameref attribute on a variable + with a null value, flag as invalid assignment, just as if running + `declare -n r=""'. Fixes bug report from Grisha Levit + + - declare_internal: when creating a variable with a temporary value + (""), use ASS_FORCE in the assignment flags to bypass name validity + checks on nameref variable names + +variables.c + - bind_variable_internal: don't call valid_nameref_value if we're + forcing assignment with (flags & ASS_FORCE) + +builtins/read.def + - read_builtin: handle bind_variable returning NULL when setting REPLY. + Report and fix from Grisha Levit + +builtins/setattr.def + - set_var_attribute: handle bind_variable returning NULL + +lib/sh/tmpfile.c + - sh_seedrand(): call srandom() to seed the random number generator + - sh_mktmpname, sh_mktmpfd: if we have random(), assume we have + srandom() and seed the random number generator. Still looking for + better value to see random number generator with + +variables.c + - check_unbind_variable: use internal_error instead of builtin_error + +{execute_cmd,variables}.c + - fix some places where bind_variable could return NULL and it was not + checked. Fix from Piotr Grzybowski + + 5/17 + ---- +arrayfunc.c + - convert_var_to_{array,assoc}: make sure to turn off nameref attribute, + since namerefs can't be arrays + +execute_cmd.c + - coproc_setvars: if the coproc name names a nameref, resolve the + nameref and use it as the name of the coproc. Suggested by Grisha + Levit + +subst.c + - command_substitute: don't bother calling QUIT after calling + reset_signal_handlers in the child, kill the child with SIGINT in + case we just reset the signal handler to SIG_DFL and we should just + exit instead of throwing to top level. Fixes bug reported by + Grisha Levit + + 5/18 + ---- +variables.c + - find_variable_nameref_for_create: find a nameref variable whose value + doesn't resolve to an existing variable and see whether or not that + value is appropriate for a new variable to be created + - find_variable_nameref_for_assignment: find a nameref variable whose + value doesn't resolve to an existing variable and see whether or not + that value is appropriate for a new variable to be created. + Difference between _assignment and _create is that _assignment + allows the nameref value to be a subscripted array reference + +builtins/setattr.def + - set_var_attribute: if variable lookup doesn't return anything, check + for a nameref and make sure that any reference value is something we + should be working on here, using find_variable_nameref_for_create(). + If it fails, error out and return, otherwise it's probably a reference + to a variable that hasn't been set yet, so let bind_variable take care + of that. Report from Grisha Levit + +arrayfunc.c + - bind_array_variable: if find_shell_variable returns NULL, check for a + nameref using find_variable_nameref_for_create and create a new array + variable with the value if it returns a valid nameref variable. + Makes `unset var; declare -n ref=var ; ref[0]=foo' work right. + Report from Grisha Levit + + 5/19 + ---- +variables.[ch] + - unbind_variable_noref: unset a variable NAME without following any + nameref chain. If the first instance of the variable with that name + is a nameref, just unset that nameref variable. + +builtins/getopts.def + - getopts_unbind_variable: if OPTARG is going to be unbound, use + unbind_variable_noref to unbind that name even if it is a nameref + variable. Issue raised by Grisha Levit + +execute_cmd.c + - coproc_unsetvars: use unbind_variable_noref in case someone sets the + coproc _PID variable as a nameref pointing to something read-only or + strange. Issue raised by Grisha Levit + +builtins/set.def + - set_ignoreeof: use unbind_variable_noref to unset "IGNOREEOF" and + "ignoreeof" + - set_posix_mode: use unbind_variable_noref to unset "POSIXLY_CORRECT" + +variables.c + - make_vers_array: use unbind_variable_noref to unset "BASH_VERSINFO" + +lib/sh/shmatch.c + - sh_regmatch: use unbind_variable_noref to unset "BASH_REMATCH" + +bashline.c + - bash_execute_unix_command: use check_unbind_variable to unset + READLINE_LINE and READLINE_POINT + +pcomplete.c + - unbind_compfunc_variables: use unbind_variable_noref to unset + COMP_LINE, COMP_POINT, COMP_WORDS, COMP_CWORD, COMP_TYPE, COMP_KEY + - gen_shell_function_matches: use unbind_variable_noref to unset + COMPREPLY + +config-top.h + - USE_MKTEMP/USE_MKSTEMP: define by default to use libc version of + mktemp and mkstemp in lib/sh/tmpfile.c. Recommended by Mike + Frysinger to fix a FreeBSD problem + +configure.ac,config.h.in + - mkstemp: check for mkstemp, define HAVE_MKSTEMP if available + +config-bot.h + - USE_MKSTEMP: #undef if HAVE_MKSTEMP not defined + + 5/22 + ---- +variables.c + - assign_in_env: if appending to a variable's value, make sure we call + make_variable_value with the empty string if expand_assignment_string_to_string + returns NULL, as do_assignment_internal does. Fixes bug with + `str=''; val=foo ; val+=str printenv val' reported by Grisha Levit + + - assign_in_env: if assigning to a nameref variable in the temporary + environment, and the nameref has a valid value for assignment (even + if the target variable is not set), resolve the nameref and create + a variable in the temporary environment named by the nameref's value. + If the nameref variable is invisible or isn't set to a valid value + for assignment, just create a regular temporary variable with the + nameref's name. This provides a degree of ksh93 compatibility. + Suggested by Grisha Levit + - find_variable_nameref_context,find_variable_last_nameref_context: + instead of returning NULL when detecting a loop, return a + distinguished value: &nameref_maxloop_value + - bind_variable: catch nameref_maxloop_value so we can do different + things based on whether or not we get it. Right now we don't do + anything different, but we could + + 5/24 + ---- +lib/readline/display.c + - update_line,_rl_move_cursor_relative: save value of MB_CUR_MAX in a + variable and use it throughout the functions instead of recomputing it + every time (which possibly costs a function call) + + 5/25 + ---- +builtins/declare.def + - declare_internal: only check whether the value being assigned to a + nameref variable is a valid identifier if we're not appending to an + existing value. Suggested by Grisha Levit + - declare_internal: add a couple of more checks on nameref names: + o make sure `declare -n x[3]=y' is an error + o nameref variable self-references now produce a warning when + in function scope + o nameref variable self-references using subscripted arrays + (a=a[0]) now produce warnings at function scope and errors at + global scope + + 5/29 + ---- +builtins/declare.def + - declare_internal: use name of readonly variable when calling sh_readonly + instead of name passed as argument to declare in case we've followed + a nameref chain + - declare_internal: when turning off attributes on a nameref variable + after following the nameref chain and turning them off on the target + variable, don't allow the readonly attribute to be removed. This is + primarily intended to turn off the nameref attribute. Issue pointed + out by Grisha Levit + - declare_internal: if we are attempting to modify an existing global + nameref variable, and the -n option is supplied, operate on the + nameref variable itself, not the variable it references + +doc/{bash.1,bashref.texi} + - change the descriptions of namerefs and declare -n slightly to note + that using the -n option to declare will operate on the nameref + variable itself rather than the variable it references + +variables.c + - bind_variable_internal: if trying to assign to a read-only variable, + print the error message using the variable's name instead of the + name passed to bind_variable in case we followed a nameref + +builtins/declare.def + - declare_internal: when we're creating a (possibly invisible) variable + as part of another operation, assigning NULL, make sure to use + ASS_FORCE to avoid warning messages from any existing nameref + variables we follow + - declare_internal: allow the nameref attribute to be removed from a + readonly nameref variable without a value but do not allow it to be + removed from a readonly nameref variable that has a value, even if it + doesn't reference an existing variable. This distinction is for ksh93 + compatibility. Pointed out by Grisha Levit + + 5/31 + ---- +builtins/declare.def + - declare_internal: if the call to bind_variable_value fails for some + reason, make sure to restore the nameref attribute to flags_on and + flags_off before calling NEXT_VARIABLE + +subst.c + - make_internal_declare: handle += append op + - shell_expand_word_list: when transforming assignment statement + arguments to `declare', make sure to handle += append op to avoid + passing invalid identifiers to declare. Report by Grisha Levit + + + 6/1 + --- +builtins/declare.def + - declare_internal: if a nameref assignment fails, only call delete_var + to delete the variable if we created it in declare_internal in the + first place + +general.c + - check_selfref: new function, checks a NAME against a VALUE for nameref + self-reference + +general.h + - check_selfref: extern declaration + +builtins/declare.def + - declare_internal: call check_selfref to determine whether a given NAME + and VALUE constitute an invalid nameref variable self-reference + +variables.c + - bind_variable_internal: call check_selfref to determine whether a + given NAME and VALUE constitute an invalid nameref variable self- + reference + + 6/2 + --- +parse.y + - clear_shell_input_line: new function, clears contents of shell_input_line + and sets index to 0, but doesn't free it + +externs.h + - clear_shell_input_line: extern declaration + +builtins/evalstring.c + - parse_and_execute: call clear_shell_input_line after setting input to + string to be executed. Fixes problem with command substitution and + multi-line aliases reported by Grisha Levit + +eval.c + - parse_command: only execute PROMPT_COMMAND if the shell is not + currently expanding an alias; use the same tests as parse.y:SHOULD_PROMPT + and parse.y:prompt_again() use to decide whether or not to print a + prompt. Fixes problems with PROMPT_COMMAND and multi-line aliases + reported by Grisha Levit + +builtins/set.def + - unset_builtin: changes to fix three problems reported by Grisha + Levit : + o if -n is supplied, we should not try to unset a function if + a variable isn't found + o unsetting namerefs whose values are array references does + not work + o unset -n n[0], where n is a nameref, would unset the + referenced variable instead of `n' + +redir.c + - redir_varvalue: handle case where nameref var points to subscripted + array reference. Reported by Grisha Levit + +variables.c + - bind_variable_value: make sure to call check_selfref only if aflags + includes ASS_NAMEREF and not ASS_FORCE. Reported by Grisha Levit + + +general.c + - valid_nameref_value: now understands a FLAGS value of 2 to mean that + the name will be used to create a variable, so only legal_identifier + matters + +arrayfunc.c + - find_or_make_array_variable: call valid_nameref_value with FLAGS value + of 2 to indicate we will be creating a variable. Fixes mapfile issue + reported by Grisha Levit + + 6/5 + --- +builtins/declare.def + - declare_internal: only pass ASS_FORCE as part of assignment flags to + assignments concerning arrays + - declare_internal: when at the global scope, if we resolve a nameref + and commit to using the new name, go back to to the beginning of the + loop and use the new name in the checks and variable references. + Make sure we construct the new name as a straight substitution of + the nameref value into the old name, including array subscripts and + rebuilding the correct values for `offset' and `value', since they + are relative to the original value of name. + Fixes several issues with checking use of subscripted array variables + as nameref values + - declare_internal: when calling assign_array_element, make sure to + pass ASS_APPEND if aflags includes it, so things like + declare -a var; var[1]=1; declare var[1]+=4 + append to the value appropriately and var[1] ends up being `14' + +arrayfunc.c + - valid_array_reference: make sure the array reference is properly + terminated after the first subscript; return invalid if there is + anything following the closing `]' + + 6/12 + ---- +variables.c + - bind_variable_internal: if asked to perform an array subscript + assignment on a nameref variable, display a warning and remove the + nameref attribute (as bash-4.3 did). Reported by Dan Douglas + + + 6/14 + ---- +test.c + - posixtest: handle four-argument case where argv[1] == '(' and + argv[4] == ')' by performing two-argument test on $2 and $3. + Reported by Joerg Schilling + + 6/15 + ---- +variables.c + - sv_ignoreeof: make sure ignoreeof is set only if IGNOREEOF is set and + has a value (no `local IGNOREEOF'). Reported by Grisha Levit + + - sv_strict_posix: make sure posixly_correct is set only if + POSIXLY_CORRECT is set and has a value. Reported by Grisha Levit + + + 6/16 + ---- +builtins/declare.def + - declare_internal: analogous to 6/12 change; when performing an array + subscript assignment on a nameref, display a warning, remove the + nameref attribute, and go on + + 6/21 + ---- +execute_cmd.c + - shell_execve: make sure errno is (re)set appropriately before + returning error value on exec format error + + 6/23 + ---- +subst.c + - param_expand: when expanding $* in a context where splitting is not + desired (pflags & PF_ASSIGNRHS), make sure to quote the word and the + included separators. Reported by Dan Douglas + + 6/30 + ---- +configure.ac + - release version is now `beta2' + +execute_cmd.c + - execute_simple_command: even if already_making_children is non-zero, + don't call wait_for if last_made_pid == NO_PID. Indirectly inspired + by report from Nicolas Vivet + + 7/2 + --- +subst.c + - expand_word_internal: when adding an IFS character to the accumulated + string, don't quote it if word expansion is not going to be + performed ((word->flags & (W_NOSPLIT|W_NOSPLIT2)) == 0) in the + default case. This was already the case everwhere else, when we did + `goto add_ifs_character;'. Fixes bug reported by Ibrahim M. Ghazal + + +subst.[ch],arrayfunc.c + - string_list_dollar_at: now takes a new third argument, currently + reserved for future use; changed callers and declaration + + 7/7 + --- +[bash-4.4-beta2 frozen] + + 7/9 + --- +bashline.c + - check_redir: make sure that index is > 0 before checking previous + char; fixes out of bounds read reported by Hanno Böck + + + 7/16 + ---- +subst.c + - parameter_brace_expand: if ${array[@]} or ${array[*]} is supplied + with an unset (or empty) array, and -u is enabled, don't make it + an unbound variable error, like $@ or $* when there are no + positional parameters. Based on report from Ian Allen + + +lib/readline/signals.c + - rl_pending_signal(): return the number of any signal readline has + caught but is waiting to handle + +lib/readline/callback.c + - rl_persistent_signal_handlers: new variable, restores readline-6.2 + signal handler semantics: installed at rl_callback_handler_install + time and removed with rl_clear_signals when a complete line has + been read + - _rl_callback_newline: call rl_set_signals if rl_persistent_signal_handlers + is non-zero + - rl_callback_read_char: install signal handlers with rl_set_signals + if rl_persistent_signal_handlers is 0 (the default) + - CALLBACK_READ_RETURN: uninstall signal handlers with rl_clear_signals + only if rl_persistent_signal_handlers is 0 (the default) + +lib/readline/readline.h + - rl_pending_signal: new extern declaration + - rl_persistent_signal_handlers: new extern declaration + + 7/19 + ---- +execute_cmd.c + - execute_while_or_until: make sure we decrement `continuing' the way + we decrement `breaking' if the loop test indicates we will be + breaking out of the loop. That keeps `until continue' from + keeping `continuing' set to 1. Reported by Dan Douglas + + + 7/20 + ---- +trap.c + - run_pending_traps,_run_trap_internal: save and restore temporary_env, + set temporary_env to 0 before trap runs so traps don't inherit a + command's temporary env. Fixes bug with IFS assignment in tempenv + and trap reported by Andriy Martynets + +jobs.c + - run_sigchld_trap: save and restore temporary_env, set temporary_env + to 0 before trap runs so traps don't inherit a command's temporary + env (see above) + + 7/21 + ---- +execute_cmd.c + - execute_function: unwind-protect function_line_number, in case we + are executing a function inside another function. Reported by + Grisha Levit in context of evaled functions + and DEBUG traps + - execute_arith_for_command,execute_arith_command,execute_simple_command, + execute_cond_command: make sure line_number doesn't go < 0 when + adjusting it by function_line_number + + 7/23 + ---- +subst.c,command.h + - move the PF_ constants to command.h so other files can see them, now + that PF_ASSIGNRHS has meaning to string_list_dollar_at + +arrayfunc.h + - AV_ASSIGNRHS: new flag, indicate that ${a[@]} is being expanded on + the RHS of an assignment statement + +arrayfunc.c + - array_value_internal: if AV_ASSIGNRHS passed for ${a[@]}, pass + PF_ASSIGNRHS to string_list_dollar_at to support args separated by + spaces even if $IFS does not have the default value. Reported by + Dan Douglas + +subst.c + - string_list_dollar_at: if FLAGS argument includes PF_ASSIGNRHS, obey + rules for $@ on the RHS of an assignment statement: expand to + postitional parameters separated by spaces no matter what the first + character of $IFS is. Reported by Dan Douglas + - parameter_brace_expand_word: pass AV_ASSIGNRHS as flags value to + array_value if PF_ASSIGNRHS is set and we are expanding an array + variable subscripted by @ or * + - param_expand: pass pflags to string_list_dollar_at in case it contains + PF_ASSIGNRHS + - expand_word_internal: if we have an assignment statement argument to + a declaration builtin (W_ASSIGNARG), turn on W_ASSIGNRHS when we see + the `=' to enable special $@ behavior + - expand_word_internal: if W_ASSIGNARG enabled in word flags, pass that + flag and W_ASSIGNRHS to recursive call to expand_word_internal when + expanding double-quoted string; handles "$@" when IFS is not the + default value and word splitting will not be performed + +subst.c + - expand_word_internal: change case that handles '' (single-quoted + empty string) to only discard it if we will not be performing word + splitting (W_NOSPLIT|W_NOSPLIT2), since we need to add a quoted null + argument if the subsequent characters will cause word splitting. + This is how "" (double-quoted empty string) is handled after a bug + fix back in August 2010. Reported by Grisha Levit + , fix for Posix interp 888 + + 7/27 + ---- +subst.c + - param_expand: change fix from 6/23 (expanding $* in a context where + word splitting is not performed) to make sure that $* expands to + something before trying to quote the string. Bug and fix from + Andreas Schwab + +lib/readline/bind.c + - _rl_get_string_variable_value: fix a cut-and-paste error that caused + the emacs mode string to be displayed for both vi insert and command + mode strings. Report and fix from Steve Jones + + 7/28 + ---- +lib/readline/display.c + - update_line: we can't use PROMPT_ENDING_INDEX unless we're testing + against _rl_last_c_pos; if we are testing buffer indices, we need to + use prompt_last_invisible directly. Fixes mode string redisplay issue + with short prompt strings reported by Steve Jones + + 8/4 + --- +nojobs.c + - without_job_control: new function, resets child state that's + eventually used to decide whether or not to wait_for children + +execute_cmd.c + - initialize_subshell: call without_job_control in both the + JOB_CONTROL and no job control paths so we can reset the state in + subshells that will not cause them to wait_for children + inappropriately. Fixes bug reported by Dan Cross + + 8/5 + --- +configure.ac + - release version is now `rc2' + +bashline.c + - command_word_completion_function: if direxpand is set, make sure to + run hint_text through bash_directory_completion_hook, since + readline will do that and we want to be able to match the results + readline returns. Fixes bug reported by Pat Somaru + + +command.h + - W_COMPLETE: new flag word value + - PF_COMPLETE: new flags value for param_expand + +subst.h + - SX_STRIPDQ: new flag, used for string_extract_double_quoted + +bashline.c + - bash_filename_stat_hook,bash_directory_completion_hook: pass W_COMPLETE + flag to expand_prompt_string + +subst.c + - expand_word_internal: if W_COMPLETE in word->flags, pass PF_COMPLETE + to param_expand + - param_expand: if PF_COMPLETE in pflags, pass SX_COMPLETE to + extract_command_subst. This allows `"$(echo ~/' to perform + completion successfully + - string_extract_double_quoted: turn third argument into a flags arg, + old STRIPDQ is now set if flags&SX_STRIPDQ + - string_extract_double_quoted: changed callers, if third argument was + 1, pass SX_STRIPDQ instead + - expand_word_internal: if W_COMPLETE in word->flags, pass SX_COMPLETE + in flags to string_extract_double_quoted for case '"' + - string_extract_double_quoted: if SX_COMPLETE in flags, pass it to + extract_command_subst + - expand_word_internal: if W_COMPLETE in word->flags, make sure W_COMPLETE + is in temp word passed to recursive call to expand_word_internal to + expand double-quoted string. Fixes bug reported by John Passaro + + + 8/9 + --- +[bash-4.4-rc2 frozen] + + 8/10 + ---- +subst.c + - sub_append_string: use size_t variable to store string length to + avoid integer overflow. Report from Siteshwar Vashisht + + - sub_append_string: `size' argument is now pointer to size_t; changed + istring_index in expand_word_internal to accommodate change + +lib/sh/ufuncs.c + - include "posixselect.h" if HAVE_SELECT is defined, make sure that + fd_set and the rest are defined + + 8/11 + ---- +lib/readline/histexpand.c + - history_tokenize_word: use ISDIGIT instead of isdigit for more + argument checking + - "chardefs.h": include for ISDIGIT define and . Fix from + Mike Frysinger + +lib/sh/eaccess.c,externs.h + - sh_eaccess: first argument now const char * + - sh_stataccess,sh_euidaccess: first argument now const char *, since + sh_stat and sh_eaccess call them. + Fix from Mike Frysinger + +lib/glob/glob.c + - sh_eaccess: change local prototype + +general.[ch] + - all_digits,legal_identifier,valid_nameref_value,importable_function_name, + exportable_function_name,check_binary_file,file_exists,file_isdir, + file_iswdir,same_file,make_absolute,valid_nameref_value: first + argument (always identifier or filename) is now a `const char *'; + some second filename arguments now `const char *'. + Fix from Mike Frysinger + +configure.ac,config.h.in + - uintptr_t: make sure it's defined to an integer type wide enough to + hold a pointer + +lib/sh/tmpfile.c + - sh_seedrand: use `uintptr_t' to cast pointer value to int value, + instead of allowing truncation to take place, since srandom takes + an `unsigned int'. + Fix from Mike Frysinger + +arrayfunc.[ch] + - valid_array_reference,array_variable_name,array_variable_part, + array_value_internal,array_value,get_array_value: first argument + (always variable name) now a `const char *' + Fix from Mike Frysinger + + 8/19 + ---- +print_cmd.c + - xtrace_print_word_list: if (xtflags & 2), don't try to quote the + words in the LIST argument. Intended to be used in places where + the list has not yet been expanded + - xtrace_print_for_command_head: call xtrace_print_word_list with + flags argument of 2. Fixes issue reported by Aharon Robbins + + - xtrace_print_select_command_head: call xtrace_print_word_list with + flags argument of 2 + + 8/21 + ---- +lib/sh/netopen.c + - netopen: fix memory leak by freeing allocated path before error + return. Fix from Dmitry Goncharov + +doc/{bash.1,bashref.texi} + - change conditional commands description to make it clearer that + bash doesn't emulate /dev/fd if the OS provides it + + 8/22 + ---- +braces.c + - expand_amble: free partial and tem on failure to allocate memory + for merged partial+result strvec. Fix from Dmitry Goncharov + + + 8/23 + ---- +jobs.c + - wait_for: don't call get_tty_state when a job finishes if we're + running it as part of programmable completion. We test + rl_readline_state. Fixes bug reported by Jaro Punta + + + 8/24 + ---- +subst.c + - pat_subst: fix memory leak (mstr). Fix from Dmitry Goncharov + + - split_at_delims: fix memory leak (d2). Fix from Dmitry Goncharov + + + 8/26 + ---- +subst.c + - match_upattern,match_wpattern: make sure that a trailing `*' is + not escaped (preceded by an odd number of backslashes) before we + append a `*' when checking whether a pattern matches anywhere in + the string + +lib/readline/{input,signals}.c + - protect instances of SIGQUIT with #ifdef SIGQUIT; apparently + MinGW doesn't define it + - protect instances of SIGHUP with #ifdef SIGHUP; apparently + MinGW doesn't define it. From a report from Simon Sobisch + + +xmalloc.o + - allocerr: only try to find the break and report it if we're using + the bash malloc; there's no guarantee that any other malloc is + using sbrk() + +doc/{bash.1,bashref.texi} + - quote removal: add paragraph mentioning quote removal to beginning + of expansions section, referencing later paragraph. Report from + Michel Lanne + + 8/30 + ---- +lib/readline/input.c + - protect instances of SIGALRM and SIGWINCH with #ifdef; apparently + MinGW doesn't define them. From a report from Simon Sobisch + + +subst.c + - SPECIAL_VAR: make sure name is not the empty string before going on, + empty strings can result in unitialized reads + - CHECK_STRING_OVERRUN: semi-general macro to use in *extract* and + similar functions to to check whether a function called to parse an + embedded construct (like a backquoted command substitution) doesn't + consume the entire string because it's unterminated + - skip_double_quoted: make sure other extraction functions don't + consume the entire string (which they can if the construct is + unterminated) before incrementing the index and going on. Uses + CHECK_STRING_OVERRUN + - extract_dollar_brace_string: check for unterminated embedded + constructs consuming the entire string with CHECK_STRING_OVERRUN ('`') + - skip_matched_pair: use CHECK_STRING_OVERRUN to make sure unterminated + embedded "`", $(, ${ don't cause out-of-bounds reads + +[bash-4.4 frozen] diff --git a/INSTALL b/INSTALL index ebe7ea1cc..c60d59176 100644 --- a/INSTALL +++ b/INSTALL @@ -5,37 +5,37 @@ These are installation instructions for Bash. The simplest way to compile Bash is: - 1. `cd' to the directory containing the source code and type - `./configure' to configure Bash for your system. If you're using - `csh' on an old version of System V, you might need to type `sh - ./configure' instead to prevent `csh' from trying to execute - `configure' itself. + 1. 'cd' to the directory containing the source code and type + './configure' to configure Bash for your system. If you're using + 'csh' on an old version of System V, you might need to type 'sh + ./configure' instead to prevent 'csh' from trying to execute + 'configure' itself. - Running `configure' takes some time. While running, it prints + Running 'configure' takes some time. While running, it prints messages telling which features it is checking for. - 2. Type `make' to compile Bash and build the `bashbug' bug reporting + 2. Type 'make' to compile Bash and build the 'bashbug' bug reporting script. - 3. Optionally, type `make tests' to run the Bash test suite. + 3. Optionally, type 'make tests' to run the Bash test suite. - 4. Type `make install' to install `bash' and `bashbug'. This will + 4. Type 'make install' to install 'bash' and 'bashbug'. This will also install the manual pages and Info file. -The `configure' shell script attempts to guess correct values for +The 'configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package -(the top directory, the `builtins', `doc', and `support' directories, -each directory under `lib', and several others). It also creates a -`config.h' file containing system-dependent definitions. Finally, it -creates a shell script named `config.status' that you can run in the -future to recreate the current configuration, a file `config.cache' -that saves the results of its tests to speed up reconfiguring, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). If at some point `config.cache' contains -results you don't want to keep, you may remove or edit it. - -To find out more about the options and arguments that the `configure' +those values to create a 'Makefile' in each directory of the package +(the top directory, the 'builtins', 'doc', and 'support' directories, +each directory under 'lib', and several others). It also creates a +'config.h' file containing system-dependent definitions. Finally, it +creates a shell script named 'config.status' that you can run in the +future to recreate the current configuration, a file 'config.cache' that +saves the results of its tests to speed up reconfiguring, and a file +'config.log' containing compiler output (useful mainly for debugging +'configure'). If at some point 'config.cache' contains results you +don't want to keep, you may remove or edit it. + +To find out more about the options and arguments that the 'configure' script understands, type bash-2.04$ ./configure --help @@ -43,379 +43,397 @@ script understands, type at the Bash prompt in your Bash source directory. If you need to do unusual things to compile Bash, please try to figure -out how `configure' could check whether or not to do them, and mail +out how 'configure' could check whether or not to do them, and mail diffs or instructions to so they can be considered for the next release. -The file `configure.ac' is used to create `configure' by a program -called Autoconf. You only need `configure.ac' if you want to change it -or regenerate `configure' using a newer version of Autoconf. If you do +The file 'configure.ac' is used to create 'configure' by a program +called Autoconf. You only need 'configure.ac' if you want to change it +or regenerate 'configure' using a newer version of Autoconf. If you do this, make sure you are using Autoconf version 2.50 or newer. You can remove the program binaries and object files from the source -code directory by typing `make clean'. To also remove the files that -`configure' created (so you can compile Bash for a different kind of -computer), type `make distclean'. +code directory by typing 'make clean'. To also remove the files that +'configure' created (so you can compile Bash for a different kind of +computer), type 'make distclean'. + +Next: Compiling For Multiple Architectures, Prev: Basic Installation, Up: Installing Bash Compilers and Options ===================== -Some systems require unusual options for compilation or linking that -the `configure' script does not know about. You can give `configure' +Some systems require unusual options for compilation or linking that the +'configure' script does not know about. You can give 'configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure -On systems that have the `env' program, you can do it like this: +On systems that have the 'env' program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure The configuration process uses GCC to build Bash if it is available. +Next: Installation Names, Prev: Compilers and Options, Up: Installing Bash + Compiling For Multiple Architectures ==================================== You can compile Bash for more than one kind of computer at the same time, by placing the object files for each architecture in their own -directory. To do this, you must use a version of `make' that supports -the `VPATH' variable, such as GNU `make'. `cd' to the directory where -you want the object files and executables to go and run the `configure' +directory. To do this, you must use a version of 'make' that supports +the 'VPATH' variable, such as GNU 'make'. 'cd' to the directory where +you want the object files and executables to go and run the 'configure' script from the source directory. You may need to supply the -`--srcdir=PATH' argument to tell `configure' where the source files -are. `configure' automatically checks for the source code in the -directory that `configure' is in and in `..'. +'--srcdir=PATH' argument to tell 'configure' where the source files are. +'configure' automatically checks for the source code in the directory +that 'configure' is in and in '..'. -If you have to use a `make' that does not supports the `VPATH' -variable, you can compile Bash for one architecture at a time in the -source code directory. After you have installed Bash for one -architecture, use `make distclean' before reconfiguring for another -architecture. +If you have to use a 'make' that does not supports the 'VPATH' variable, +you can compile Bash for one architecture at a time in the source code +directory. After you have installed Bash for one architecture, use +'make distclean' before reconfiguring for another architecture. Alternatively, if your system supports symbolic links, you can use the -`support/mkclone' script to create a build tree which has symbolic -links back to each file in the source directory. Here's an example -that creates a build directory in the current directory from a source -directory `/usr/gnu/src/bash-2.0': +'support/mkclone' script to create a build tree which has symbolic links +back to each file in the source directory. Here's an example that +creates a build directory in the current directory from a source +directory '/usr/gnu/src/bash-2.0': bash /usr/gnu/src/bash-2.0/support/mkclone -s /usr/gnu/src/bash-2.0 . -The `mkclone' script requires Bash, so you must have already built Bash +The 'mkclone' script requires Bash, so you must have already built Bash for at least one architecture before you can create build directories for other architectures. +Next: Specifying the System Type, Prev: Compiling For Multiple Architectures, Up: Installing Bash + Installation Names ================== -By default, `make install' will install into `/usr/local/bin', -`/usr/local/man', etc. You can specify an installation prefix other -than `/usr/local' by giving `configure' the option `--prefix=PATH', or -by specifying a value for the `DESTDIR' `make' variable when running -`make install'. +By default, 'make install' will install into '/usr/local/bin', +'/usr/local/man', etc. You can specify an installation prefix other +than '/usr/local' by giving 'configure' the option '--prefix=PATH', or +by specifying a value for the 'DESTDIR' 'make' variable when running +'make install'. + +You can specify separate installation prefixes for architecture-specific +files and architecture-independent files. If you give 'configure' the +option '--exec-prefix=PATH', 'make install' will use PATH as the prefix +for installing programs and libraries. Documentation and other data +files will still use the regular prefix. -You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -give `configure' the option `--exec-prefix=PATH', `make install' will -use PATH as the prefix for installing programs and libraries. -Documentation and other data files will still use the regular prefix. +Next: Sharing Defaults, Prev: Installation Names, Up: Installing Bash Specifying the System Type ========================== -There may be some features `configure' can not figure out -automatically, but need to determine by the type of host Bash will run -on. Usually `configure' can figure that out, but if it prints a -message saying it can not guess the host type, give it the -`--host=TYPE' option. `TYPE' can either be a short name for the system -type, such as `sun4', or a canonical name with three fields: -`CPU-COMPANY-SYSTEM' (e.g., `i386-unknown-freebsd4.2'). +There may be some features 'configure' can not figure out automatically, +but need to determine by the type of host Bash will run on. Usually +'configure' can figure that out, but if it prints a message saying it +can not guess the host type, give it the '--host=TYPE' option. 'TYPE' +can either be a short name for the system type, such as 'sun4', or a +canonical name with three fields: 'CPU-COMPANY-SYSTEM' (e.g., +'i386-unknown-freebsd4.2'). -See the file `support/config.sub' for the possible values of each field. +See the file 'support/config.sub' for the possible values of each field. + +Next: Operation Controls, Prev: Specifying the System Type, Up: Installing Bash Sharing Defaults ================ -If you want to set default values for `configure' scripts to share, you -can create a site shell script called `config.site' that gives default -values for variables like `CC', `cache_file', and `prefix'. `configure' -looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: the Bash `configure' looks for a site script, but not all -`configure' scripts do. +If you want to set default values for 'configure' scripts to share, you +can create a site shell script called 'config.site' that gives default +values for variables like 'CC', 'cache_file', and 'prefix'. 'configure' +looks for 'PREFIX/share/config.site' if it exists, then +'PREFIX/etc/config.site' if it exists. Or, you can set the +'CONFIG_SITE' environment variable to the location of the site script. +A warning: the Bash 'configure' looks for a site script, but not all +'configure' scripts do. + +Next: Optional Features, Prev: Sharing Defaults, Up: Installing Bash Operation Controls ================== -`configure' recognizes the following options to control how it operates. +'configure' recognizes the following options to control how it operates. -`--cache-file=FILE' +'--cache-file=FILE' Use and save the results of the tests in FILE instead of - `./config.cache'. Set FILE to `/dev/null' to disable caching, for - debugging `configure'. + './config.cache'. Set FILE to '/dev/null' to disable caching, for + debugging 'configure'. -`--help' - Print a summary of the options to `configure', and exit. +'--help' + Print a summary of the options to 'configure', and exit. -`--quiet' -`--silent' -`-q' +'--quiet' +'--silent' +'-q' Do not print messages saying which checks are being made. -`--srcdir=DIR' +'--srcdir=DIR' Look for the Bash source code in directory DIR. Usually - `configure' can determine that directory automatically. + 'configure' can determine that directory automatically. -`--version' - Print the version of Autoconf used to generate the `configure' +'--version' + Print the version of Autoconf used to generate the 'configure' script, and exit. -`configure' also accepts some other, not widely used, boilerplate -options. `configure --help' prints the complete list. +'configure' also accepts some other, not widely used, boilerplate +options. 'configure --help' prints the complete list. + +Prev: Operation Controls, Up: Installing Bash Optional Features ================= -The Bash `configure' has a number of `--enable-FEATURE' options, where +The Bash 'configure' has a number of '--enable-FEATURE' options, where FEATURE indicates an optional part of Bash. There are also several -`--with-PACKAGE' options, where PACKAGE is something like `bash-malloc' -or `purify'. To turn off the default use of a package, use -`--without-PACKAGE'. To configure Bash without a feature that is -enabled by default, use `--disable-FEATURE'. +'--with-PACKAGE' options, where PACKAGE is something like 'bash-malloc' +or 'purify'. To turn off the default use of a package, use +'--without-PACKAGE'. To configure Bash without a feature that is +enabled by default, use '--disable-FEATURE'. -Here is a complete list of the `--enable-' and `--with-' options that -the Bash `configure' recognizes. +Here is a complete list of the '--enable-' and '--with-' options that +the Bash 'configure' recognizes. -`--with-afs' +'--with-afs' Define if you are using the Andrew File System from Transarc. -`--with-bash-malloc' - Use the Bash version of `malloc' in the directory `lib/malloc'. - This is not the same `malloc' that appears in GNU libc, but an - older version originally derived from the 4.2 BSD `malloc'. This - `malloc' is very fast, but wastes some space on each allocation. - This option is enabled by default. The `NOTES' file contains a +'--with-bash-malloc' + Use the Bash version of 'malloc' in the directory 'lib/malloc'. + This is not the same 'malloc' that appears in GNU libc, but an + older version originally derived from the 4.2 BSD 'malloc'. This + 'malloc' is very fast, but wastes some space on each allocation. + This option is enabled by default. The 'NOTES' file contains a list of systems for which this should be turned off, and - `configure' disables this option automatically for a number of + 'configure' disables this option automatically for a number of systems. -`--with-curses' +'--with-curses' Use the curses library instead of the termcap library. This should be supplied if your system has an inadequate or incomplete termcap database. -`--with-gnu-malloc' - A synonym for `--with-bash-malloc'. +'--with-gnu-malloc' + A synonym for '--with-bash-malloc'. -`--with-installed-readline[=PREFIX]' +'--with-installed-readline[=PREFIX]' Define this to make Bash link with a locally-installed version of - Readline rather than the version in `lib/readline'. This works - only with Readline 5.0 and later versions. If PREFIX is `yes' or - not supplied, `configure' uses the values of the make variables - `includedir' and `libdir', which are subdirectories of `prefix' by + Readline rather than the version in 'lib/readline'. This works + only with Readline 5.0 and later versions. If PREFIX is 'yes' or + not supplied, 'configure' uses the values of the make variables + 'includedir' and 'libdir', which are subdirectories of 'prefix' by default, to find the installed version of Readline if it is not in the standard system include and library directories. If PREFIX is - `no', Bash links with the version in `lib/readline'. If PREFIX is - set to any other value, `configure' treats it as a directory + 'no', Bash links with the version in 'lib/readline'. If PREFIX is + set to any other value, 'configure' treats it as a directory pathname and looks for the installed version of Readline in - subdirectories of that directory (include files in - PREFIX/`include' and the library in PREFIX/`lib'). + subdirectories of that directory (include files in PREFIX/'include' + and the library in PREFIX/'lib'). -`--with-purify' +'--with-purify' Define this to use the Purify memory allocation checker from Rational Software. -`--enable-minimal-config' +'--enable-minimal-config' This produces a shell with minimal features, close to the historical Bourne shell. -There are several `--enable-' options that alter how Bash is compiled +There are several '--enable-' options that alter how Bash is compiled and linked, rather than changing run-time features. -`--enable-largefile' +'--enable-largefile' Enable support for large files (http://www.sas.com/standards/large_file/x_open.20Mar96.html) if the operating system requires special compiler options to build - programs which can access large files. This is enabled by - default, if the operating system provides large file support. + programs which can access large files. This is enabled by default, + if the operating system provides large file support. -`--enable-profiling' +'--enable-profiling' This builds a Bash binary that produces profiling information to be - processed by `gprof' each time it is executed. + processed by 'gprof' each time it is executed. -`--enable-static-link' - This causes Bash to be linked statically, if `gcc' is being used. +'--enable-static-link' + This causes Bash to be linked statically, if 'gcc' is being used. This could be used to build a version to use as root's shell. -The `minimal-config' option can be used to disable all of the following -options, but it is processed first, so individual options may be -enabled using `enable-FEATURE'. +The 'minimal-config' option can be used to disable all of the following +options, but it is processed first, so individual options may be enabled +using 'enable-FEATURE'. -All of the following options except for `disabled-builtins', -`directpand-default', and `xpg-echo-default' are enabled by default, +All of the following options except for 'disabled-builtins', +'direxpand-default', and 'xpg-echo-default' are enabled by default, unless the operating system does not provide the necessary support. -`--enable-alias' - Allow alias expansion and include the `alias' and `unalias' +'--enable-alias' + Allow alias expansion and include the 'alias' and 'unalias' builtins (*note Aliases::). -`--enable-arith-for-command' - Include support for the alternate form of the `for' command that - behaves like the C language `for' statement (*note Looping +'--enable-arith-for-command' + Include support for the alternate form of the 'for' command that + behaves like the C language 'for' statement (*note Looping Constructs::). -`--enable-array-variables' +'--enable-array-variables' Include support for one-dimensional array shell variables (*note Arrays::). -`--enable-bang-history' - Include support for `csh'-like history substitution (*note History +'--enable-bang-history' + Include support for 'csh'-like history substitution (*note History Interaction::). -`--enable-brace-expansion' - Include `csh'-like brace expansion ( `b{a,b}c' ==> `bac bbc' ). +'--enable-brace-expansion' + Include 'csh'-like brace expansion ( 'b{a,b}c' ==> 'bac bbc' ). See *note Brace Expansion::, for a complete description. -`--enable-casemod-attributes' - Include support for case-modifying attributes in the `declare' +'--enable-casemod-attributes' + Include support for case-modifying attributes in the 'declare' builtin and assignment statements. Variables with the UPPERCASE attribute, for example, will have their values converted to uppercase upon assignment. -`--enable-casemod-expansion' +'--enable-casemod-expansion' Include support for case-modifying word expansions. -`--enable-command-timing' - Include support for recognizing `time' as a reserved word and for - displaying timing statistics for the pipeline following `time' +'--enable-command-timing' + Include support for recognizing 'time' as a reserved word and for + displaying timing statistics for the pipeline following 'time' (*note Pipelines::). This allows pipelines as well as shell builtins and functions to be timed. -`--enable-cond-command' - Include support for the `[[' conditional command. (*note +'--enable-cond-command' + Include support for the '[[' conditional command. (*note Conditional Constructs::). -`--enable-cond-regexp' +'--enable-cond-regexp' Include support for matching POSIX regular expressions using the - `=~' binary operator in the `[[' conditional command. (*note + '=~' binary operator in the '[[' conditional command. (*note Conditional Constructs::). -`--enable-coprocesses' - Include support for coprocesses and the `coproc' reserved word +'--enable-coprocesses' + Include support for coprocesses and the 'coproc' reserved word (*note Pipelines::). -`--enable-debugger' +'--enable-debugger' Include support for the bash debugger (distributed separately). -`--enable-direxpand-default' - Cause the `direxpand' shell option (*note The Shopt Builtin::) to +'--enable-direxpand-default' + Cause the 'direxpand' shell option (*note The Shopt Builtin::) to be enabled by default when the shell starts. It is normally disabled by default. -`--enable-directory-stack' - Include support for a `csh'-like directory stack and the `pushd', - `popd', and `dirs' builtins (*note The Directory Stack::). +'--enable-directory-stack' + Include support for a 'csh'-like directory stack and the 'pushd', + 'popd', and 'dirs' builtins (*note The Directory Stack::). -`--enable-disabled-builtins' - Allow builtin commands to be invoked via `builtin xxx' even after - `xxx' has been disabled using `enable -n xxx'. See *note Bash - Builtins::, for details of the `builtin' and `enable' builtin +'--enable-disabled-builtins' + Allow builtin commands to be invoked via 'builtin xxx' even after + 'xxx' has been disabled using 'enable -n xxx'. See *note Bash + Builtins::, for details of the 'builtin' and 'enable' builtin commands. -`--enable-dparen-arithmetic' - Include support for the `((...))' command (*note Conditional +'--enable-dparen-arithmetic' + Include support for the '((...))' command (*note Conditional Constructs::). -`--enable-extended-glob' +'--enable-extended-glob' Include support for the extended pattern matching features described above under *note Pattern Matching::. -`--enable-extended-glob-default' +'--enable-extended-glob-default' Set the default value of the EXTGLOB shell option described above under *note The Shopt Builtin:: to be enabled. -`--enable-glob-asciirange-default' +'--enable-function-import' + Include support for importing function definitions exported by + another instance of the shell from the environment. This option is + enabled by default. + +'--enable-glob-asciirange-default' Set the default value of the GLOBASCIIRANGES shell option described - above under *note The Shopt Builtin:: to be enabled. This - controls the behavior of character ranges when used in pattern - matching bracket expressions. + above under *note The Shopt Builtin:: to be enabled. This controls + the behavior of character ranges when used in pattern matching + bracket expressions. -`--enable-help-builtin' - Include the `help' builtin, which displays help on shell builtins +'--enable-help-builtin' + Include the 'help' builtin, which displays help on shell builtins and variables (*note Bash Builtins::). -`--enable-history' - Include command history and the `fc' and `history' builtin - commands (*note Bash History Facilities::). +'--enable-history' + Include command history and the 'fc' and 'history' builtin commands + (*note Bash History Facilities::). -`--enable-job-control' - This enables the job control features (*note Job Control::), if - the operating system supports them. +'--enable-job-control' + This enables the job control features (*note Job Control::), if the + operating system supports them. -`--enable-multibyte' +'--enable-multibyte' This enables support for multibyte characters if the operating system provides the necessary support. -`--enable-net-redirections' +'--enable-net-redirections' This enables the special handling of filenames of the form - `/dev/tcp/HOST/PORT' and `/dev/udp/HOST/PORT' when used in + '/dev/tcp/HOST/PORT' and '/dev/udp/HOST/PORT' when used in redirections (*note Redirections::). -`--enable-process-substitution' +'--enable-process-substitution' This enables process substitution (*note Process Substitution::) if the operating system provides the necessary support. -`--enable-progcomp' +'--enable-progcomp' Enable the programmable completion facilities (*note Programmable Completion::). If Readline is not enabled, this option has no effect. -`--enable-prompt-string-decoding' +'--enable-prompt-string-decoding' Turn on the interpretation of a number of backslash-escaped - characters in the `$PS1', `$PS2', `$PS3', and `$PS4' prompt + characters in the '$PS1', '$PS2', '$PS3', and '$PS4' prompt strings. See *note Controlling the Prompt::, for a complete list of prompt string escape sequences. -`--enable-readline' +'--enable-readline' Include support for command-line editing and history with the Bash version of the Readline library (*note Command Line Editing::). -`--enable-restricted' +'--enable-restricted' Include support for a "restricted shell". If this is enabled, - Bash, when called as `rbash', enters a restricted mode. See *note + Bash, when called as 'rbash', enters a restricted mode. See *note The Restricted Shell::, for a description of restricted mode. -`--enable-select' - Include the `select' compound command, which allows the generation +'--enable-select' + Include the 'select' compound command, which allows the generation of simple menus (*note Conditional Constructs::). -`--enable-separate-helpfiles' - Use external files for the documentation displayed by the `help' +'--enable-separate-helpfiles' + Use external files for the documentation displayed by the 'help' builtin instead of storing the text internally. -`--enable-single-help-strings' - Store the text displayed by the `help' builtin as a single string +'--enable-single-help-strings' + Store the text displayed by the 'help' builtin as a single string for each help topic. This aids in translating the text to - different languages. You may need to disable this if your - compiler cannot handle very long string literals. + different languages. You may need to disable this if your compiler + cannot handle very long string literals. -`--enable-strict-posix-default' +'--enable-strict-posix-default' Make Bash POSIX-conformant by default (*note Bash POSIX Mode::). -`--enable-usg-echo-default' - A synonym for `--enable-xpg-echo-default'. - -`--enable-xpg-echo-default' - Make the `echo' builtin expand backslash-escaped characters by - default, without requiring the `-e' option. This sets the default - value of the `xpg_echo' shell option to `on', which makes the Bash - `echo' behave more like the version specified in the Single Unix - Specification, version 3. *Note Bash Builtins::, for a - description of the escape sequences that `echo' recognizes. - -The file `config-top.h' contains C Preprocessor `#define' statements -for options which are not settable from `configure'. Some of these are -not meant to be changed; beware of the consequences if you do. Read -the comments associated with each definition for more information about -its effect. +'--enable-usg-echo-default' + A synonym for '--enable-xpg-echo-default'. + +'--enable-xpg-echo-default' + Make the 'echo' builtin expand backslash-escaped characters by + default, without requiring the '-e' option. This sets the default + value of the 'xpg_echo' shell option to 'on', which makes the Bash + 'echo' behave more like the version specified in the Single Unix + Specification, version 3. *Note Bash Builtins::, for a description + of the escape sequences that 'echo' recognizes. + +The file 'config-top.h' contains C Preprocessor '#define' statements for +options which are not settable from 'configure'. Some of these are not +meant to be changed; beware of the consequences if you do. Read the +comments associated with each definition for more information about its +effect. diff --git a/MANIFEST b/MANIFEST index 55c8d1ca0..a306b6ffc 100644 --- a/MANIFEST +++ b/MANIFEST @@ -529,6 +529,8 @@ po/ja.po f po/lt.gmo f po/lt.po f po/nl.gmo f +po/nb.po f +po/nb.gmo f po/nl.po f po/pl.gmo f po/pl.po f @@ -581,6 +583,7 @@ doc/texinfo.tex f doc/bashref.texi f doc/version.texi f doc/bashref.info f +doc/bash.info f doc/article.ms f doc/htmlpost.sh f 755 doc/infopost.sh f 755 @@ -607,8 +610,10 @@ doc/bash.pdf f doc/bashref.pdf f doc/rose94.pdf f doc/aosa-bash.pdf f +doc/aosa-bash-full.pdf f # support/Makefile.in f +support/bash.pc.in f support/bashversion.c f support/checkbashisms f 755 support/config.guess f @@ -654,11 +659,14 @@ examples/complete/complete-examples f examples/complete/bashcc-1.0.1.tar.gz f examples/loadables/README f examples/loadables/template.c f +examples/loadables/loadables.h f examples/loadables/Makefile.in f +examples/loadables/Makefile.inc.in f examples/loadables/necho.c f examples/loadables/hello.c f examples/loadables/print.c f examples/loadables/realpath.c f +examples/loadables/setpgid.c f examples/loadables/sleep.c f examples/loadables/strftime.c f examples/loadables/truefalse.c f @@ -704,6 +712,7 @@ examples/functions/basename f examples/functions/csh-compat f #examples/functions/dirfuncs f examples/functions/dirname f +examples/functions/dirstack f #examples/functions/emptydir f examples/functions/exitstat f examples/functions/external f @@ -795,8 +804,10 @@ examples/misc/aliasconv.bash f examples/misc/cshtobash f tests/README f tests/COPYRIGHT f +tests/test-glue-functions f tests/alias.tests f tests/alias1.sub f +tests/alias2.sub f tests/alias.right f tests/appendop.tests f tests/appendop1.sub f @@ -812,6 +823,7 @@ tests/arith3.sub f tests/arith4.sub f tests/arith5.sub f tests/arith6.sub f +tests/arith7.sub f tests/array.tests f tests/array.right f tests/array1.sub f @@ -830,6 +842,11 @@ tests/array13.sub f tests/array14.sub f tests/array15.sub f tests/array16.sub f +tests/array17.sub f +tests/array18.sub f +tests/array19.sub f +tests/array20.sub f +tests/array21.sub f tests/array-at-star f tests/array2.right f tests/assoc.tests f @@ -841,6 +858,11 @@ tests/assoc4.sub f tests/assoc5.sub f tests/assoc6.sub f tests/assoc7.sub f +tests/assoc8.sub f +tests/attr.tests f +tests/attr.right f +tests/attr1.sub f +tests/attr2.sub f tests/braces.tests f tests/braces.right f tests/builtins.tests f @@ -849,6 +871,8 @@ tests/builtins1.sub f tests/builtins2.sub f tests/builtins3.sub f tests/builtins4.sub f +tests/builtins5.sub f +tests/builtins6.sub f tests/source1.sub f tests/source2.sub f tests/source3.sub f @@ -864,6 +888,8 @@ tests/casemod.right f tests/comsub.tests f tests/comsub.right f tests/comsub1.sub f +tests/comsub2.sub f +tests/comsub3.sub f tests/comsub-eof.tests f tests/comsub-eof0.sub f tests/comsub-eof1.sub f @@ -894,6 +920,13 @@ tests/dbg-support2.tests f tests/dbg-support3.sub f tests/dollar-at-star f tests/dollar-at-star1.sub f +tests/dollar-at-star2.sub f +tests/dollar-at-star3.sub f +tests/dollar-at-star4.sub f +tests/dollar-at-star5.sub f +tests/dollar-at-star6.sub f +tests/dollar-at-star7.sub f +tests/dollar-at-star8.sub f tests/dollar-at1.sub f tests/dollar-at2.sub f tests/dollar-at3.sub f @@ -917,6 +950,9 @@ tests/errors.right f tests/errors1.sub f tests/errors2.sub f tests/errors3.sub f +tests/errors4.sub f +tests/errors5.sub f +tests/errors6.sub f tests/execscript f tests/exec.right f tests/exec1.sub f 755 @@ -928,6 +964,10 @@ tests/exec6.sub f tests/exec7.sub f tests/exec8.sub f tests/exec9.sub f +tests/exec10.sub f +tests/exec11.sub f +tests/exec12.sub f +tests/exec13.sub f tests/exp.tests f tests/exp.right f tests/exp1.sub f @@ -936,14 +976,25 @@ tests/exp3.sub f tests/exp4.sub f tests/exp5.sub f tests/exp6.sub f +tests/exp7.sub f +tests/exp8.sub f +tests/exp9.sub f +tests/exportfunc.tests f +tests/exportfunc.right f +tests/exportfunc1.sub f +tests/exportfunc2.sub f +tests/exportfunc3.sub f tests/extglob.tests f tests/extglob.right f tests/extglob1.sub f tests/extglob1a.sub f +tests/extglob2.sub f tests/extglob2.tests f tests/extglob2.right f +tests/extglob3.sub f tests/extglob3.tests f tests/extglob3.right f +tests/extglob4.sub f tests/func.tests f tests/func.right f tests/func1.sub f @@ -959,6 +1010,9 @@ tests/getopts4.sub f tests/getopts5.sub f tests/getopts6.sub f tests/getopts7.sub f +tests/getopts8.sub f +tests/getopts9.sub f +tests/getopts10.sub f tests/glob.tests f tests/glob1.sub f tests/glob.right f @@ -973,7 +1027,12 @@ tests/heredoc2.sub f tests/heredoc3.sub f tests/herestr.tests f tests/herestr.right f +tests/herestr1.sub f tests/histexp.tests f +tests/histexp1.sub f +tests/histexp2.sub f +tests/histexp3.sub f +tests/histexp4.sub f tests/histexp.right f tests/history.tests f tests/history.right f @@ -990,6 +1049,7 @@ tests/input.right f tests/intl.tests f tests/intl1.sub f tests/intl2.sub f +tests/intl3.sub f tests/intl.right f tests/iquote.tests f tests/iquote.right f @@ -1006,10 +1066,12 @@ tests/jobs.right f tests/lastpipe.right f tests/lastpipe.tests f tests/lastpipe1.sub f +tests/lastpipe2.sub f tests/mapfile.data f tests/mapfile.right f tests/mapfile.tests f tests/mapfile1.sub f +tests/mapfile2.sub f tests/more-exp.tests f tests/more-exp.right f tests/nameref.tests f @@ -1021,6 +1083,16 @@ tests/nameref5.sub f tests/nameref6.sub f tests/nameref7.sub f tests/nameref8.sub f +tests/nameref9.sub f +tests/nameref10.sub f +tests/nameref11.sub f +tests/nameref12.sub f +tests/nameref13.sub f +tests/nameref14.sub f +tests/nameref15.sub f +tests/nameref16.sub f +tests/nameref17.sub f +tests/nameref18.sub f tests/nameref.right f tests/new-exp.tests f tests/new-exp1.sub f @@ -1032,11 +1104,13 @@ tests/new-exp6.sub f tests/new-exp7.sub f tests/new-exp8.sub f tests/new-exp9.sub f +tests/new-exp10.sub f tests/new-exp.right f tests/nquote.tests f tests/nquote.right f tests/nquote1.sub f tests/nquote2.sub f +tests/nquote3.sub f tests/nquote1.tests f tests/nquote1.right f tests/nquote2.tests f @@ -1047,6 +1121,9 @@ tests/nquote4.tests f tests/nquote4.right f tests/nquote5.tests f tests/nquote5.right f +tests/parser.tests f +tests/parser.right f +tests/parser1.sub f tests/posix2.tests f tests/posix2.right f tests/posixexp.tests f @@ -1093,6 +1170,8 @@ tests/redir7.sub f tests/redir8.sub f tests/redir9.sub f tests/redir10.sub f +tests/redir11.sub f +tests/redir12.sub f tests/rhs-exp.tests f tests/rhs-exp.right f tests/rhs-exp1.sub f @@ -1107,6 +1186,7 @@ tests/run-arith f tests/run-array f tests/run-array2 f tests/run-assoc f +tests/run-attr f tests/run-braces f tests/run-builtins f tests/run-case f @@ -1124,6 +1204,7 @@ tests/run-dollars f tests/run-errors f tests/run-execscript f tests/run-exp-tests f +tests/run-exportfunc f tests/run-extglob f tests/run-extglob2 f tests/run-extglob3 f @@ -1153,6 +1234,7 @@ tests/run-nquote2 f tests/run-nquote3 f tests/run-nquote4 f tests/run-nquote5 f +tests/run-parser f tests/run-posix2 f tests/run-posixexp f tests/run-posixexp2 f @@ -1220,6 +1302,8 @@ tests/varenv3.sub f tests/varenv4.sub f tests/varenv5.sub f tests/varenv6.sub f +tests/varenv7.sub f +tests/varenv8.sub f tests/version f tests/version.mini f tests/vredir.tests f @@ -1230,6 +1314,7 @@ tests/vredir3.sub f tests/vredir4.sub f tests/vredir5.sub f tests/vredir6.sub f +tests/vredir7.sub f tests/misc/dev-tcp.tests f tests/misc/perf-script f tests/misc/perftest f diff --git a/Makefile.in b/Makefile.in index cf772286a..c7b62bc05 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,6 @@ -# Makefile for bash-4.3, version 4.11 +# Makefile for bash-4.4, version 4.18 # -# Copyright (C) 1996-2012 Free Software Foundation, Inc. +# Copyright (C) 1996-2015 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -42,6 +42,9 @@ includedir = @includedir@ datadir = @datadir@ localedir = @localedir@ +loadablesdir = @loadablesdir@ +headersdir = @headersdir@ + docdir = @docdir@ mandir = @mandir@ @@ -61,7 +64,7 @@ topdir = @top_srcdir@ BUILD_DIR = @BUILD_DIR@ top_builddir = @BUILD_DIR@ srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ @SET_MAKE@ CC = @CC@ @@ -86,10 +89,8 @@ TESTSCRIPT = @TESTSCRIPT@ DEBUGGER_START_FILE = @DEBUGGER_START_FILE@ -#If you have purify, and want to use it, uncomment this definition or -# run the make as `make PURIFY=purify' -# or run configure with the --with-purify argument. -PURIFY = @PURIFY@ +#If you have purify, and want to use it, run the make as `make PURIFY=purify' +#PURIFY = @PURIFY@ # Here is a rule for making .o files from .c files that does not # force the type of the machine (like -M_MACHINE) into the flags. @@ -443,6 +444,19 @@ HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \ SOURCES = $(CSOURCES) $(HSOURCES) $(BUILTIN_DEFS) +# headers in top-level source directory that get installed by install-headers +INSTALLED_HEADERS = shell.h bashjmp.h command.h syntax.h general.h error.h \ + variables.h array.h assoc.h arrayfunc.h quit.h dispose_cmd.h \ + make_cmd.h subst.h sig.h externs.h builtins.h \ + bashtypes.h xmalloc.h config-top.h config-bot.h \ + bashintl.h bashansi.h bashjmp.h alias.h hashlib.h \ + conftypes.h unwind_prot.h jobs.h siglist.h +INSTALLED_BUILTINS_HEADERS = bashgetopt.h common.h getopt.h +INSTALLED_INCFILES = posixstat.h ansi_stdlib.h filecntl.h posixdir.h \ + memalloc.h stdc.h posixjmp.h posixwait.h posixtime.h systimes.h \ + unionwait.h maxpath.h shtty.h typemax.h ocache.h chartypes.h gettext.h \ + posixstat.h shmbchar.h shmbutil.h stat-time.h + # header files chosen based on running of configure SIGNAMES_H = @SIGNAMES_H@ @@ -521,7 +535,7 @@ PO_DIR = $(dot)/po/ SIGNAMES_SUPPORT = $(SUPPORT_SRC)mksignames.c SUPPORT_SRC = $(srcdir)/support/ -SDIR = $(dot)/support/ +SDIR = $(dot)/support TESTS_SUPPORT = recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) xcase$(EXEEXT) CREATED_SUPPORT = signames.h recho$(EXEEXT) zecho$(EXEEXT) printenv$(EXEEXT) \ @@ -536,17 +550,22 @@ CREATED_MAKEFILES = Makefile builtins/Makefile doc/Makefile \ lib/readline/Makefile lib/glob/Makefile \ lib/sh/Makefile lib/tilde/Makefile lib/malloc/Makefile \ lib/termcap/Makefile examples/loadables/Makefile \ + examples/loadables/Makefile.inc \ examples/loadables/perl/Makefile support/Makefile \ lib/intl/Makefile po/Makefile po/Makefile.in +CREATED_HEADERS = signames.h config.h pathnames.h version.h y.tab.h \ + ${DEFDIR}/builtext.h OTHER_DOCS = $(srcdir)/CHANGES $(srcdir)/COMPAT $(srcdir)/NEWS $(srcdir)/POSIX \ $(srcdir)/RBASH $(srcdir)/README OTHER_INSTALLED_DOCS = CHANGES COMPAT NEWS POSIX RBASH README +LOADABLES_DIR = ${top_builddir}/examples/loadables + # Keep GNU Make from exporting the entire environment for small machines. .NOEXPORT: -.made: $(Program) bashbug +.made: $(Program) bashbug $(SDIR)/man2html$(EXEEXT) @echo "$(Program) last made for a $(Machine) running $(OS)" >.made $(Program): .build $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP) @@ -617,12 +636,12 @@ $(LIBDEP): .build $(READLINE_LIBRARY): config.h $(READLINE_SOURCE) @echo making $@ in ${RL_LIBDIR} @( { test "${RL_LIBDIR}" = "${libdir}" && exit 0; } || \ - cd ${RL_LIBDIR} && $(MAKE) $(MFLAGS) libreadline.a) || exit 1 + cd ${RL_LIBDIR} && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libreadline.a) || exit 1 $(HISTORY_LIBRARY): config.h $(HISTORY_SOURCE) $(READLINE_DEP) @echo making $@ in ${HIST_LIBDIR} @( { test "${HIST_LIBDIR}" = "${libdir}" && exit 0; } || \ - cd ${HIST_LIBDIR} && $(MAKE) $(MFLAGS) libhistory.a) || exit 1 + cd ${HIST_LIBDIR} && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libhistory.a) || exit 1 $(GLOB_LIBRARY): config.h $(GLOB_SOURCE) @echo making $@ in ${GLOB_LIBDIR} @@ -698,6 +717,9 @@ ${DEFDIR}/bashgetopt.o: $(BUILTIN_SRCDIR)/bashgetopt.c ${DEFDIR}/builtext.h: $(BUILTIN_DEFS) @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) builtext.h ) || exit 1 +$(SDIR)/man2html$(EXEEXT): ${SUPPORT_SRC}/man2html.c + @(cd $(SDIR) && $(MAKE) $(MFLAGS) all ) || exit 1 + # For the justification of the following Makefile rules, see node # `Automatic Remaking' in GNU Autoconf documentation. @@ -734,6 +756,9 @@ $(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4 $(srcdir)/confi reconfig: force sh $(srcdir)/configure -C +loadables: + cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) all + #newversion: mkversion # $(RM) .build # ./mkversion -dir $(srcdir) -dist @@ -774,12 +799,41 @@ install: .made installdirs infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ ) -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) + -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) install-strip: $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \ prefix=${prefix} exec_prefix=${exec_prefix} \ DESTDIR=$(DESTDIR) install +install-headers-dirs: + @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(headersdir) + @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(headersdir)/builtins + @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(headersdir)/include + @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig + +install-headers: install-headers-dirs + @for hf in $(INSTALLED_HEADERS) ; do \ + ${INSTALL_DATA} $(srcdir)/"$$hf" $(DESTDIR)$(headersdir)/$$hf; \ + done + @for hf in $(INSTALLED_INCFILES) ; do \ + ${INSTALL_DATA} $(BASHINCDIR)/"$$hf" $(DESTDIR)$(headersdir)/include/$$hf; \ + done + @for hf in $(INSTALLED_BUILTINS_HEADERS) ; do \ + ${INSTALL_DATA} $(BUILTIN_SRCDIR)/"$$hf" $(DESTDIR)$(headersdir)/builtins/$$hf; \ + done + @for hf in $(CREATED_HEADERS) ; do \ + ${INSTALL_DATA} $(BUILD_DIR)/"$$hf" $(DESTDIR)$(headersdir)/$$hf; \ + done + $(INSTALL_DATA) $(SDIR)/bash.pc $(DESTDIR)$(libdir)/pkgconfig/bash.pc + +uninstall-headers: + -( cd $(DESTDIR)$(headersdir) && $(RM) $(INSTALLED_HEADERS) ) + -( cd $(DESTDIR)$(headersdir)/include && $(RM) $(INSTALLED_INCFILES) ) + -( cd $(DESTDIR)$(headersdir)/builtins && $(RM) $(INSTALLED_BUILTINS_HEADERS) ) + -( cd $(DESTDIR)$(headersdir) && $(RM) $(CREATED_HEADERS) ) + -( $(RM) $(DESTDIR)$(libdir)/pkgconfig/bash.pc ) + uninstall: .made $(RM) $(DESTDIR)$(bindir)/$(Program) $(DESTDIR)$(bindir)/bashbug -( cd $(DESTDIR)$(docdir) && ${RM} ${OTHER_INSTALLED_DOCS} ) @@ -788,6 +842,7 @@ uninstall: .made man3dir=$(man3dir) man3ext=$(man3ext) \ infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ ) -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) + -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) .PHONY: basic-clean clean realclean maintainer-clean distclean mostlyclean maybe-clean @@ -806,6 +861,7 @@ clean: basic-clean (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\ done -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) + -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) $(RM) $(CREATED_SUPPORT) mostlyclean: basic-clean @@ -816,6 +872,7 @@ mostlyclean: basic-clean (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\ done -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) + -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) distclean: basic-clean maybe-clean ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ ) @@ -825,6 +882,7 @@ distclean: basic-clean maybe-clean (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\ done -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) + -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) $(RM) $(CREATED_CONFIGURE) tags TAGS $(RM) $(CREATED_SUPPORT) Makefile $(CREATED_MAKEFILES) pathnames.h @@ -839,6 +897,7 @@ maintainer-clean: basic-clean (cd $$libdir && test -f Makefile && $(MAKE) $(MFLAGS) $@) ;\ done -( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) + -( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ ) $(RM) $(CREATED_CONFIGURE) $(CREATED_MAKEFILES) $(RM) $(CREATED_SUPPORT) Makefile pathnames.h @@ -871,9 +930,11 @@ symlinks: dist: force @echo Bash distributions are created using $(srcdir)/support/mkdist. @echo Here is a sample of the necessary commands: - @echo $(Program) $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r ${PACKAGE} $(PACKAGE_VERSION) - @echo tar cf $(PACKAGE)-${PACKAGE_VERSION}.tar ${PACKAGE}-$(PACKAGE_VERSION) - @echo gzip $(PACKAGE)-$(PACKAGE_VERSION).tar + @echo $(Program) $(srcdir)/support/mkdist -m $(srcdir)/MANIFEST -s $(srcdir) -r ${PACKAGE} -t $(PACKAGE_VERSION) + +xdist: force + ( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ ) + ( cd po && $(MAKE) $(MFLAGS) $@ ) depend: depends @@ -882,7 +943,7 @@ depends: force #### PRIVATE TARGETS #### hashtest: hashlib.c - $(CC) -DTEST_HASHING $(CCFLAGS) -o $@ $(srcdir)/hashlib.c + $(CC) -DTEST_HASHING $(CCFLAGS) $(TEST_NBUCKETS) -o $@ $(srcdir)/hashlib.c xmalloc.o $(INTL_LIB) ############################ DEPENDENCIES ############################### @@ -937,6 +998,7 @@ execute_cmd.o: ${BASHINCDIR}/memalloc.h ${GRAM_H} flags.h builtins.h jobs.h quit execute_cmd.o: execute_cmd.h findcmd.h redir.h trap.h test.h pathexp.h execute_cmd.o: $(DEFSRC)/common.h ${DEFDIR}/builtext.h ${GLOB_LIBSRC}/strmatch.h execute_cmd.o: ${BASHINCDIR}/posixtime.h ${BASHINCDIR}/chartypes.h +execute_cmd.o: $(DEFSRC)/getopt.h expr.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h expr.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h expr.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h @@ -965,6 +1027,7 @@ hashcmd.o: config.h ${BASHINCDIR}/posixstat.h bashtypes.h bashansi.h ${BASHINCDI hashcmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h hashcmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashcmd.h hashcmd.o: execute_cmd.h findcmd.h ${BASHINCDIR}/stdc.h pathnames.h hashlib.h +hashcmd.o: quit.h sig.h hashlib.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h hashlib.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h hashlib.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h @@ -993,7 +1056,7 @@ mailcheck.o: execute_cmd.h mailcheck.h make_cmd.o: config.h bashtypes.h ${BASHINCDIR}/filecntl.h bashansi.h make_cmd.o: command.h ${BASHINCDIR}/stdc.h general.h xmalloc.h error.h flags.h make_cmd.h make_cmd.o: variables.h arrayfunc.h conftypes.h array.h hashlib.h subst.h input.h externs.h -make_cmd.o: jobs.h quit.h siglist.h syntax.h dispose_cmd.h parser.h +make_cmd.o: jobs.h quit.h sig.h siglist.h syntax.h dispose_cmd.h parser.h make_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h ${BASHINCDIR}/ocache.h y.tab.o: config.h bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/memalloc.h y.tab.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h @@ -1015,6 +1078,7 @@ print_cmd.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h comman print_cmd.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h print_cmd.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h print_cmd.o: make_cmd.h subst.h sig.h pathnames.h externs.h +print_cmd.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h print_cmd.o: ${GRAM_H} $(DEFSRC)/common.h redir.o: config.h bashtypes.h ${BASHINCDIR}/posixstat.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/filecntl.h redir.o: ${BASHINCDIR}/memalloc.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h @@ -1143,6 +1207,7 @@ pcomplete.o: ${BASHINCDIR}/stdc.h hashlib.h pcomplete.h shell.h syntax.h pcomplete.o: bashjmp.h command.h general.h xmalloc.h error.h variables.h arrayfunc.h conftypes.h quit.h pcomplete.o: unwind_prot.h dispose_cmd.h make_cmd.h subst.h sig.h pathnames.h pcomplete.o: externs.h ${BASHINCDIR}/maxpath.h execute_cmd.h +pcomplete.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h pcomplete.o: ${DEFDIR}/builtext.h # library support files @@ -1171,6 +1236,7 @@ bracecomp.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h bracecomp.o: array.h hashlib.h alias.h builtins.h bracecomp.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h bracecomp.o: make_cmd.h subst.h sig.h pathnames.h externs.h +bracecomp.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h # library dependencies @@ -1302,7 +1368,7 @@ builtins/command.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/std builtins/declare.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h builtins/declare.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h builtins/declare.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h -builtins/declare.o: $(DEFSRC)/bashgetopt.h pathnames.h +builtins/declare.o: $(DEFSRC)/bashgetopt.h pathnames.h flags.h builtins/echo.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h builtins/echo.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h quit.h builtins/echo.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h @@ -1377,6 +1443,7 @@ builtins/printf.o: config.h ${BASHINCDIR}/memalloc.h bashjmp.h command.h error.h builtins/printf.o: general.h xmalloc.h quit.h dispose_cmd.h make_cmd.h subst.h builtins/printf.o: externs.h sig.h pathnames.h shell.h syntax.h unwind_prot.h builtins/printf.o: variables.h arrayfunc.h conftypes.h ${BASHINCDIR}/stdc.h $(DEFSRC)/bashgetopt.h +builtins/printf.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h builtins/printf.o: ${BASHINCDIR}/chartypes.h builtins/pushd.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h builtins/pushd.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h @@ -1385,6 +1452,7 @@ builtins/pushd.o: $(DEFSRC)/common.h pathnames.h builtins/read.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h builtins/read.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h builtins/read.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h +builtins/read.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h builtins/read.o: pathnames.h builtins/return.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h builtins/return.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h @@ -1398,7 +1466,7 @@ builtins/setattr.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general. builtins/setattr.o: quit.h $(DEFSRC)/common.h $(DEFSRC)/bashgetopt.h builtins/setattr.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h builtins/setattr.o: dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h -builtins/setattr.o: pathnames.h +builtins/setattr.o: pathnames.h flags.h builtins/shift.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h builtins/shift.o: quit.h dispose_cmd.h make_cmd.h subst.h externs.h ${BASHINCDIR}/stdc.h builtins/shift.o: shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h unwind_prot.h variables.h arrayfunc.h conftypes.h @@ -1452,7 +1520,8 @@ builtins/wait.o: ${BASHINCDIR}/chartypes.h pathnames.h builtins/complete.o: config.h shell.h syntax.h bashjmp.h ${BASHINCDIR}/posixjmp.h sig.h builtins/complete.o: unwind_prot.h variables.h arrayfunc.h conftypes.h builtins/complete.o: bashtypes.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h -builtins/complete.o: builtins.h pathnames.h +builtins/complete.o: builtins.h pathnames.h general.h +builtins/complete.o: bashtypes.h ${BASHINCDIR}/chartypes.h xmalloc.h builtins/complete.o: pcomplete.h builtins/complete.o: ${DEFSRC}/common.h ${DEFSRC}/bashgetopt.h builtins/mapfile.o: command.h config.h ${BASHINCDIR}/memalloc.h error.h general.h xmalloc.h ${BASHINCDIR}/maxpath.h diff --git a/NEWS b/NEWS index 0cc3c45eb..931dc846b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,227 @@ +This is a terse description of the new features added to bash-4.4 since +the release of bash-4.3. As always, the manual page (doc/bash.1) is +the place to look for complete descriptions. + +1. New Features in Bash + +a. There is now a settable configuration #define that will cause the shell + to exit if the shell is running setuid without the -p option and setuid + to the real uid fails. + +b. Command and process substitutions now turn off the `-v' option when + executing, as other shells seem to do. + +c. The default value for the `checkhash' shell option may now be set at + compile time with a #define. + +d. The `mapfile' builtin now has a -d option to use an arbitrary character + as the record delimiter, and a -t option to strip the delimiter as + supplied with -d. + +e. The maximum number of nested recursive calls to `eval' is now settable in + config-top.h; the default is no limit. + +f. The `-p' option to declare and similar builtins will display attributes for + named variables even when those variables have not been assigned values + (which are technically unset). + +g. The maximum number of nested recursive calls to `source' is now settable + in config-top.h; the default is no limit. + +h. All builtin commands recognize the `--help' option and print a usage + summary. + +i. Bash does not allow function names containing `/' and `=' to be exported. + +j. The `ulimit' builtin has new -k (kqueues) and -P (pseudoterminals) options. + +k. The shell now allows `time ; othercommand' to time null commands. + +l. There is a new `--enable-function-import' configuration option to allow + importing shell functions from the environment; import is enabled by + default. + +m. `printf -v var ""' will now set `var' to the empty string, as if `var=""' + had been executed. + +n. GLOBIGNORE, the pattern substitution word expansion, and programmable + completion match filtering now honor the value of the `nocasematch' option. + +o. There is a new ${parameter@spec} family of operators to transform the + value of `parameter'. + +p. Bash no longer attempts to perform compound assignment if a variable on the + rhs of an assignment statement argument to `declare' has the form of a + compound assignment (e.g., w='(word)' ; declare foo=$w); compound + assignments are accepted if the variable was already declared as an array, + but with a warning. + +q. The declare builtin no longer displays array variables using the compound + assignment syntax with quotes; that will generate warnings when re-used as + input, and isn't necessary. + +r. Executing the rhs of && and || will no longer cause the shell to fork if + it's not necessary. + +s. The `local' builtin takes a new argument: `-', which will cause it to save + and the single-letter shell options and restore their previous values at + function return. + +t. `complete' and `compgen' have a new `-o nosort' option, which forces + readline to not sort the completion matches. + +u. Bash now allows waiting for the most recent process substitution, since it + appears as $!. + +v. The `unset' builtin now unsets a scalar variable if it is subscripted with + a `0', analogous to the ${var[0]} expansion. + +w. `set -i' is no longer valid, as in other shells. + +x. BASH_SUBSHELL is now updated for process substitution and group commands + in pipelines, and is available with the same value when running any exit + trap. + +y. Bash now checks $INSIDE_EMACS as well as $EMACS when deciding whether or + not bash is being run in a GNU Emacs shell window. + +z. Bash now treats SIGINT received when running a non-builtin command in a + loop the way it has traditionally treated running a builtin command: + running any trap handler and breaking out of the loop. + +aa. New variable: EXECIGNORE; a colon-separate list of patterns that will + cause matching filenames to be ignored when searching for commands. + +bb. Aliases whose value ends in a shell metacharacter now expand in a way to + allow them to be `pasted' to the next token, which can potentially change + the meaning of a command (e.g., turning `&' into `&&'). + +cc. `make install' now installs the example loadable builtins and a set of + bash headers to use when developing new loadable builtins. + +dd. `enable -f' now attempts to call functions named BUILTIN_builtin_load when + loading BUILTIN, and BUILTIN_builtin_unload when deleting it. This allows + loadable builtins to run initialization and cleanup code. + +ee. There is a new BASH_LOADABLES_PATH variable containing a list of directories + where the `enable -f' command looks for shared objects containing loadable + builtins. + +ff. The `complete_fullquote' option to `shopt' changes filename completion to + quote all shell metacharacters in filenames and directory names. + +gg. The `kill' builtin now has a `-L' option, equivalent to `-l', for + compatibility with Linux standalone versions of kill. + +hh. BASH_COMPAT and FUNCNEST can be inherited and set from the shell's initial + environment. + +ii. inherit_errexit: a new `shopt' option that, when set, causes command + substitutions to inherit the -e option. By default, those subshells disable + -e. It's enabled as part of turning on posix mode. + +jj. New prompt string: PS0. Expanded and displayed by interactive shells after + reading a complete command but before executing it. + +kk. Interactive shells now behave as if SIGTSTP/SIGTTIN/SIGTTOU are set to + SIG_DFL when the shell is started, so they are set to SIG_DFL in child + processes. + +ll. Posix-mode shells now allow double quotes to quote the history expansion + character. + +mm. OLDPWD can be inherited from the environment if it names a directory. + +nn. Shells running as root no longer inherit PS4 from the environment, closing + a security hole involving PS4 expansion performing command substitution. + +oo. If executing an implicit `cd' when the `autocd' option is set, bash will + now invoke a function named `cd' if one exists before executing the `cd' + builtin. + +pp. Value conversions (arithmetic expansions, case modification, etc.) now + happen when assigning elements of an array using compound assignment. + +qq. There is a new option settable in config-top.h that makes multiple + directory arguments to `cd' a fatal error. + +rr. Bash now uses mktemp() when creating internal temporary files; it produces + a warning at build time on many Linux systems. + +2. New Features in Readline + +a. The history truncation code now uses the same error recovery mechansim as + the history writing code, and restores the old version of the history file + on error. The error recovery mechanism handles symlinked history files. + +b. There is a new bindable variable, `enable-bracketed-paste', which enables + support for a terminal's bracketed paste mode. + +c. The editing mode indicators can now be strings and are user-settable + (new `emacs-mode-string', `vi-cmd-mode-string' and `vi-ins-mode-string' + variables). Mode strings can contain invisible character sequences. + Setting mode strings to null strings restores the defaults. + +d. Prompt expansion adds the mode string to the last line of a multi-line + prompt (one with embedded newlines). + +e. There is a new bindable variable, `colored-completion-prefix', which, if + set, causes the common prefix of a set of possible completions to be + displayed in color. + +f. There is a new bindable command `vi-yank-pop', a vi-mode version of emacs- + mode yank-pop. + +g. The redisplay code underwent several efficiency improvements for multibyte + locales. + +h. The insert-char function attempts to batch-insert all pending typeahead + that maps to self-insert, as long as it is coming from the terminal. + +i. rl_callback_sigcleanup: a new application function that can clean up and + unset any state set by readline's callback mode. Intended to be used + after a signal. + +j. If an incremental search string has its last character removed with DEL, the + resulting empty search string no longer matches the previous line. + +k. If readline reads a history file that begins with `#' (or the value of + the history comment character) and has enabled history timestamps, the + history entries are assumed to be delimited by timestamps. This allows + multi-line history entries. + +l. Readline now throws an error if it parses a key binding without a + terminating `:' or whitespace. + +m. The default binding for ^W in vi mode now uses word boundaries specified + by Posix (vi-unix-word-rubout is bindable command name). + +n. rl_clear_visible_line: new application-callable function; clears all + screen lines occupied by the current visible readline line. + +o. rl_tty_set_echoing: application-callable function that controls whether + or not readline thinks it is echoing terminal output. + +p. Handle >| and strings of digits preceding and following redirection + specifications as single tokens when tokenizing the line for history + expansion. + +q. Fixed a bug with displaying completions when the prefix display length + is greater than the length of the completions to be displayed. + +r. The :p history modifier now applies to the entire line, so any expansion + specifying :p causes the line to be printed instead of expanded. + +s. New application-callable function: rl_pending_signal(): returns the signal + number of any signal readline has caught but not yet handled. + +t. New application-settable variable: rl_persistent_signal_handlers: if set + to a non-zero value, readline will enable the readline-6.2 signal handler + behavior in callback mode: handlers are installed when + rl_callback_handler_install is called and removed removed when a complete + line has been read. + +------------------------------------------------------------------------------- This is a terse description of the new features added to bash-4.3 since the release of bash-4.2. As always, the manual page (doc/bash.1) is the place to look for complete descriptions. diff --git a/NOTES b/NOTES index b6b06a437..414e7732e 100644 --- a/NOTES +++ b/NOTES @@ -1,5 +1,5 @@ -Platform-Specific Configuration and Operation Notes -=================================================== +Platform-Specific Configuration and Operation Notes [somewhat dated] +==================================================================== 1. configure --without-gnu-malloc on: diff --git a/POSIX b/POSIX index fe830f0ef..84ab6bea6 100644 --- a/POSIX +++ b/POSIX @@ -1,216 +1,228 @@ 6.11 Bash POSIX Mode ==================== -Starting Bash with the `--posix' command-line option or executing `set +Starting Bash with the '--posix' command-line option or executing 'set -o posix' while Bash is running will cause Bash to conform more closely to the POSIX standard by changing the behavior to match that specified by POSIX in areas where the Bash default differs. -When invoked as `sh', Bash enters POSIX mode after reading the startup +When invoked as 'sh', Bash enters POSIX mode after reading the startup files. -The following list is what's changed when `POSIX mode' is in effect: +The following list is what's changed when 'POSIX mode' is in effect: 1. When a command in the hash table no longer exists, Bash will - re-search `$PATH' to find the new location. This is also - available with `shopt -s checkhash'. + re-search '$PATH' to find the new location. This is also available + with 'shopt -s checkhash'. 2. The message printed by the job control code and builtins when a job - exits with a non-zero status is `Done(status)'. + exits with a non-zero status is 'Done(status)'. 3. The message printed by the job control code and builtins when a job - is stopped is `Stopped(SIGNAME)', where SIGNAME is, for example, - `SIGTSTP'. + is stopped is 'Stopped(SIGNAME)', where SIGNAME is, for example, + 'SIGTSTP'. - 4. The `bg' builtin uses the required format to describe each job - placed in the background, which does not include an indication of - whether the job is the current or previous job. + 4. Alias expansion is always enabled, even in non-interactive shells. 5. Reserved words appearing in a context where reserved words are recognized do not undergo alias expansion. - 6. The POSIX `PS1' and `PS2' expansions of `!' to the history number - and `!!' to `!' are enabled, and parameter expansion is performed - on the values of `PS1' and `PS2' regardless of the setting of the - `promptvars' option. + 6. The POSIX 'PS1' and 'PS2' expansions of '!' to the history number + and '!!' to '!' are enabled, and parameter expansion is performed + on the values of 'PS1' and 'PS2' regardless of the setting of the + 'promptvars' option. - 7. The POSIX startup files are executed (`$ENV') rather than the + 7. The POSIX startup files are executed ('$ENV') rather than the normal Bash files. 8. Tilde expansion is only performed on assignments preceding a command name, rather than on all assignment statements on the line. - 9. The `command' builtin does not prevent builtins that take - assignment statements as arguments from expanding them as - assignment statements; when not in POSIX mode, assignment builtins - lose their assignment statement expansion properties when preceded - by `command'. + 9. The default history file is '~/.sh_history' (this is the default + value of '$HISTFILE'). - 10. The default history file is `~/.sh_history' (this is the default - value of `$HISTFILE'). + 10. Redirection operators do not perform filename expansion on the + word in the redirection unless the shell is interactive. - 11. The output of `kill -l' prints all the signal names on a single - line, separated by spaces, without the `SIG' prefix. - - 12. The `kill' builtin does not accept signal names with a `SIG' - prefix. - - 13. Non-interactive shells exit if FILENAME in `.' FILENAME is not - found. - - 14. Non-interactive shells exit if a syntax error in an arithmetic - expansion results in an invalid expression. - - 15. Non-interactive shells exit if there is a syntax error in a script - read with the `.' or `source' builtins, or in a string processed by - the `eval' builtin. - - 16. Redirection operators do not perform filename expansion on the word - in the redirection unless the shell is interactive. - - 17. Redirection operators do not perform word splitting on the word in + 11. Redirection operators do not perform word splitting on the word in the redirection. - 18. Function names must be valid shell `name's. That is, they may not + 12. Function names must be valid shell 'name's. That is, they may not contain characters other than letters, digits, and underscores, and may not start with a digit. Declaring a function with an invalid name causes a fatal syntax error in non-interactive shells. - 19. Function names may not be the same as one of the POSIX special + 13. Function names may not be the same as one of the POSIX special builtins. - 20. POSIX special builtins are found before shell functions during + 14. POSIX special builtins are found before shell functions during command lookup. - 21. The `time' reserved word may be used by itself as a command. When + 15. Literal tildes that appear as the first character in elements of + the 'PATH' variable are not expanded as described above under *note + Tilde Expansion::. + + 16. The 'time' reserved word may be used by itself as a command. When used in this way, it displays timing statistics for the shell and - its completed children. The `TIMEFORMAT' variable controls the + its completed children. The 'TIMEFORMAT' variable controls the format of the timing information. - 22. When parsing and expanding a ${...} expansion that appears within + 17. When parsing and expanding a ${...} expansion that appears within double quotes, single quotes are no longer special and cannot be used to quote a closing brace or other special character, unless the operator is one of those defined to perform pattern removal. In this case, they do not have to appear as matched pairs. - 23. The parser does not recognize `time' as a reserved word if the next - token begins with a `-'. + 18. The parser does not recognize 'time' as a reserved word if the + next token begins with a '-'. - 24. If a POSIX special builtin returns an error status, a + 19. The '!' character does not introduce history expansion within a + double-quoted string, even if the 'histexpand' option is enabled. + + 20. If a POSIX special builtin returns an error status, a non-interactive shell exits. The fatal errors are those listed in the POSIX standard, and include things like passing incorrect options, redirection errors, variable assignment errors for assignments preceding the command name, and so on. - 25. A non-interactive shell exits with an error status if a variable + 21. A non-interactive shell exits with an error status if a variable assignment error occurs when no command name follows the assignment statements. A variable assignment error occurs, for example, when trying to assign a value to a readonly variable. - 26. A non-interactive shell exits with an error status if a variable + 22. A non-interactive shell exits with an error status if a variable assignment error occurs in an assignment statement preceding a special builtin, but not with any other simple command. - 27. A non-interactive shell exits with an error status if the iteration - variable in a `for' statement or the selection variable in a - `select' statement is a readonly variable. + 23. A non-interactive shell exits with an error status if the + iteration variable in a 'for' statement or the selection variable + in a 'select' statement is a readonly variable. + + 24. Non-interactive shells exit if FILENAME in '.' FILENAME is not + found. + + 25. Non-interactive shells exit if a syntax error in an arithmetic + expansion results in an invalid expression. + + 26. Non-interactive shells exit on word expansion errors. + + 27. Non-interactive shells exit if there is a syntax error in a script + read with the '.' or 'source' builtins, or in a string processed by + the 'eval' builtin. - 28. Process substitution is not available. + 28. Process substitution is not available. - 29. While variable indirection is available, it may not be applied to - the `#' and `?' special parameters. + 29. While variable indirection is available, it may not be applied to + the '#' and '?' special parameters. - 30. Assignment statements preceding POSIX special builtins persist in + 30. Assignment statements preceding POSIX special builtins persist in the shell environment after the builtin completes. - 31. Assignment statements preceding shell function calls persist in the - shell environment after the function returns, as if a POSIX + 31. Assignment statements preceding shell function calls persist in + the shell environment after the function returns, as if a POSIX special builtin command had been executed. - 32. The `export' and `readonly' builtin commands display their output + 32. The 'command' builtin does not prevent builtins that take + assignment statements as arguments from expanding them as + assignment statements; when not in POSIX mode, assignment builtins + lose their assignment statement expansion properties when preceded + by 'command'. + + 33. The 'bg' builtin uses the required format to describe each job + placed in the background, which does not include an indication of + whether the job is the current or previous job. + + 34. The output of 'kill -l' prints all the signal names on a single + line, separated by spaces, without the 'SIG' prefix. + + 35. The 'kill' builtin does not accept signal names with a 'SIG' + prefix. + + 36. The 'export' and 'readonly' builtin commands display their output in the format required by POSIX. - 33. The `trap' builtin displays signal names without the leading `SIG'. + 37. The 'trap' builtin displays signal names without the leading + 'SIG'. - 34. The `trap' builtin doesn't check the first argument for a possible + 38. The 'trap' builtin doesn't check the first argument for a possible signal specification and revert the signal handling to the original disposition if it is, unless that argument consists solely of digits and is a valid signal number. If users want to reset the - handler for a given signal to the original disposition, they - should use `-' as the first argument. + handler for a given signal to the original disposition, they should + use '-' as the first argument. - 35. The `.' and `source' builtins do not search the current directory - for the filename argument if it is not found by searching `PATH'. + 39. The '.' and 'source' builtins do not search the current directory + for the filename argument if it is not found by searching 'PATH'. - 36. Subshells spawned to execute command substitutions inherit the - value of the `-e' option from the parent shell. When not in POSIX - mode, Bash clears the `-e' option in such subshells. + 40. Enabling POSIX mode has the effect of setting the + 'inherit_errexit' option, so subshells spawned to execute command + substitutions inherit the value of the '-e' option from the parent + shell. When the 'inherit_errexit' option is not enabled, Bash + clears the '-e' option in such subshells. - 37. Alias expansion is always enabled, even in non-interactive shells. - - 38. When the `alias' builtin displays alias definitions, it does not - display them with a leading `alias ' unless the `-p' option is + 41. When the 'alias' builtin displays alias definitions, it does not + display them with a leading 'alias ' unless the '-p' option is supplied. - 39. When the `set' builtin is invoked without options, it does not + 42. When the 'set' builtin is invoked without options, it does not display shell function names and definitions. - 40. When the `set' builtin is invoked without options, it displays + 43. When the 'set' builtin is invoked without options, it displays variable values without quotes, unless they contain shell metacharacters, even if the result contains nonprinting characters. - 41. When the `cd' builtin is invoked in LOGICAL mode, and the pathname - constructed from `$PWD' and the directory name supplied as an - argument does not refer to an existing directory, `cd' will fail + 44. When the 'cd' builtin is invoked in LOGICAL mode, and the pathname + constructed from '$PWD' and the directory name supplied as an + argument does not refer to an existing directory, 'cd' will fail instead of falling back to PHYSICAL mode. - 42. The `pwd' builtin verifies that the value it prints is the same as + 45. The 'pwd' builtin verifies that the value it prints is the same as the current directory, even if it is not asked to check the file - system with the `-P' option. + system with the '-P' option. - 43. When listing the history, the `fc' builtin does not include an + 46. When listing the history, the 'fc' builtin does not include an indication of whether or not a history entry has been modified. - 44. The default editor used by `fc' is `ed'. + 47. The default editor used by 'fc' is 'ed'. - 45. The `type' and `command' builtins will not report a non-executable - file as having been found, though the shell will attempt to - execute such a file if it is the only so-named file found in - `$PATH'. + 48. The 'type' and 'command' builtins will not report a non-executable + file as having been found, though the shell will attempt to execute + such a file if it is the only so-named file found in '$PATH'. - 46. The `vi' editing mode will invoke the `vi' editor directly when - the `v' command is run, instead of checking `$VISUAL' and - `$EDITOR'. + 49. The 'vi' editing mode will invoke the 'vi' editor directly when + the 'v' command is run, instead of checking '$VISUAL' and + '$EDITOR'. - 47. When the `xpg_echo' option is enabled, Bash does not attempt to - interpret any arguments to `echo' as options. Each argument is + 50. When the 'xpg_echo' option is enabled, Bash does not attempt to + interpret any arguments to 'echo' as options. Each argument is displayed, after escape characters are converted. - 48. The `ulimit' builtin uses a block size of 512 bytes for the `-c' - and `-f' options. + 51. The 'ulimit' builtin uses a block size of 512 bytes for the '-c' + and '-f' options. - 49. The arrival of `SIGCHLD' when a trap is set on `SIGCHLD' does not - interrupt the `wait' builtin and cause it to return immediately. + 52. The arrival of 'SIGCHLD' when a trap is set on 'SIGCHLD' does not + interrupt the 'wait' builtin and cause it to return immediately. The trap command is run once for each child that exits. - 50. The `read' builtin may be interrupted by a signal for which a trap + 53. The 'read' builtin may be interrupted by a signal for which a trap has been set. If Bash receives a trapped signal while executing - `read', the trap handler executes and `read' returns an exit - status greater than 128. + 'read', the trap handler executes and 'read' returns an exit status + greater than 128. + 54. Bash removes an exited background process's status from the list + of such statuses after the 'wait' builtin is used to obtain it. There is other POSIX behavior that Bash does not implement by default even when in POSIX mode. Specifically: - 1. The `fc' builtin checks `$EDITOR' as a program to edit history - entries if `FCEDIT' is unset, rather than defaulting directly to - `ed'. `fc' uses `ed' if `EDITOR' is unset. - - 2. As noted above, Bash requires the `xpg_echo' option to be enabled - for the `echo' builtin to be fully conformant. + 1. The 'fc' builtin checks '$EDITOR' as a program to edit history + entries if 'FCEDIT' is unset, rather than defaulting directly to + 'ed'. 'fc' uses 'ed' if 'EDITOR' is unset. + 2. As noted above, Bash requires the 'xpg_echo' option to be enabled + for the 'echo' builtin to be fully conformant. Bash can be configured to be POSIX-conformant by default, by specifying -the `--enable-strict-posix-default' to `configure' when building (*note +the '--enable-strict-posix-default' to 'configure' when building (*note Optional Features::). diff --git a/RBASH b/RBASH index 0e5c10b3e..9478fc64f 100644 --- a/RBASH +++ b/RBASH @@ -1,49 +1,37 @@ 6.10 The Restricted Shell ========================= -If Bash is started with the name `rbash', or the `--restricted' or `-r' +If Bash is started with the name 'rbash', or the '--restricted' or '-r' option is supplied at invocation, the shell becomes restricted. A restricted shell is used to set up an environment more controlled than -the standard shell. A restricted shell behaves identically to `bash' +the standard shell. A restricted shell behaves identically to 'bash' with the exception that the following are disallowed or not performed: - * Changing directories with the `cd' builtin. - - * Setting or unsetting the values of the `SHELL', `PATH', `ENV', or - `BASH_ENV' variables. - + * Changing directories with the 'cd' builtin. + * Setting or unsetting the values of the 'SHELL', 'PATH', 'ENV', or + 'BASH_ENV' variables. * Specifying command names containing slashes. - - * Specifying a filename containing a slash as an argument to the `.' + * Specifying a filename containing a slash as an argument to the '.' builtin command. - - * Specifying a filename containing a slash as an argument to the `-p' - option to the `hash' builtin command. - + * Specifying a filename containing a slash as an argument to the '-p' + option to the 'hash' builtin command. * Importing function definitions from the shell environment at startup. - - * Parsing the value of `SHELLOPTS' from the shell environment at + * Parsing the value of 'SHELLOPTS' from the shell environment at startup. - - * Redirecting output using the `>', `>|', `<>', `>&', `&>', and `>>' + * Redirecting output using the '>', '>|', '<>', '>&', '&>', and '>>' redirection operators. - - * Using the `exec' builtin to replace the shell with another command. - - * Adding or deleting builtin commands with the `-f' and `-d' options - to the `enable' builtin. - - * Using the `enable' builtin command to enable disabled shell + * Using the 'exec' builtin to replace the shell with another command. + * Adding or deleting builtin commands with the '-f' and '-d' options + to the 'enable' builtin. + * Using the 'enable' builtin command to enable disabled shell builtins. - - * Specifying the `-p' option to the `command' builtin. - - * Turning off restricted mode with `set +r' or `set +o restricted'. + * Specifying the '-p' option to the 'command' builtin. + * Turning off restricted mode with 'set +r' or 'set +o restricted'. These restrictions are enforced after any startup files are read. When a command that is found to be a shell script is executed (*note -Shell Scripts::), `rbash' turns off any restrictions in the shell +Shell Scripts::), 'rbash' turns off any restrictions in the shell spawned to execute the script. diff --git a/README b/README index db097774c..ad87aa8a6 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ Introduction ============ -This is GNU Bash, version 4.3. Bash is the GNU Project's Bourne +This is GNU Bash, version 4.4. Bash is the GNU Project's Bourne Again SHell, a complete implementation of the POSIX shell spec, but also with interactive command line editing, job control on architectures that support it, csh-like features such as history @@ -15,8 +15,8 @@ See the file POSIX for a discussion of how the Bash defaults differ from the POSIX spec and a description of the Bash `posix mode'. There are some user-visible incompatibilities between this version -of Bash and previous widely-distributed versions, bash-4.1 and -bash-4.2. For details, see the file COMPAT. The NEWS file tersely +of Bash and previous widely-distributed versions, bash-4.2 and +bash-4.3. For details, see the file COMPAT. The NEWS file tersely lists features that are new in this release. Bash is free software, distributed under the terms of the [GNU] General diff --git a/aclocal.m4 b/aclocal.m4 index a947272e2..d3bac077b 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1692,6 +1692,8 @@ AC_CHECK_HEADERS(wctype.h) AC_CHECK_HEADERS(wchar.h) AC_CHECK_HEADERS(langinfo.h) +AC_CHECK_HEADERS(mbstr.h) + AC_CHECK_FUNC(mbrlen, AC_DEFINE(HAVE_MBRLEN)) AC_CHECK_FUNC(mbscasecmp, AC_DEFINE(HAVE_MBSCMP)) AC_CHECK_FUNC(mbscmp, AC_DEFINE(HAVE_MBSCMP)) @@ -1784,14 +1786,14 @@ char **v; exit (w == 0); /* exit 0 if wcwidth broken */ } ], -bash_cv_wcwidth_broken=yes, bash_cv_wcwdith_broken=no, bash_cv_wcwidth_broken=no)]) +bash_cv_wcwidth_broken=yes, bash_cv_wcwidth_broken=no, bash_cv_wcwidth_broken=no)]) if test "$bash_cv_wcwidth_broken" = yes; then AC_DEFINE(WCWIDTH_BROKEN, 1, [wcwidth is usually not broken]) fi if test "$am_cv_func_iconv" = yes; then OLDLIBS="$LIBS" - LIBS="$LIBS $LIBICONV" + LIBS="$LIBS $LIBINTL $LIBICONV" AC_CHECK_FUNCS(locale_charset) LIBS="$OLDLIBS" fi @@ -1854,7 +1856,7 @@ main() ], ac_cv_rl_version=`cat conftest.rlv`, ac_cv_rl_version='0.0', -ac_cv_rl_version='4.2')]) +ac_cv_rl_version='6.3')]) CFLAGS="$_save_CFLAGS" LDFLAGS="$_save_LDFLAGS" diff --git a/alias.c b/alias.c index 783922965..8b3f22898 100644 --- a/alias.c +++ b/alias.c @@ -1,7 +1,7 @@ /* alias.c -- Not a full alias, but just the kind that we use in the shell. Csh style alias is somewhere else (`over there, in a box'). */ -/* Copyright (C) 1987-2009 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -42,7 +42,11 @@ # include "pcomplete.h" #endif -#define ALIAS_HASH_BUCKETS 16 /* must be power of two */ +#if defined (HAVE_MBSTR_H) && defined (HAVE_MBSCHR) +# include /* mbschr */ +#endif + +#define ALIAS_HASH_BUCKETS 64 /* must be power of two */ typedef int sh_alias_map_func_t __P((alias_t *)); diff --git a/array.c b/array.c index 4359a52fa..6a6db7763 100644 --- a/array.c +++ b/array.c @@ -55,6 +55,9 @@ static char *array_to_string_internal __P((ARRAY_ELEMENT *, ARRAY_ELEMENT *, char *, int)); +/* lastref should be moved into the array structure so each array can be + optimized separately */ + static ARRAY *lastarray = 0; static ARRAY_ELEMENT *lastref = 0; @@ -719,7 +722,7 @@ arrayind_t i; SET_LASTREF(a, ae); return(element_value(ae)); } - UNSET_LASTREF(); + UNSET_LASTREF(); /* XXX SET_LASTREF(a, start) ? */ return((char *) NULL); } @@ -834,7 +837,7 @@ int quoted; rsize, rsize); strcpy(result + rlen, t); rlen += reg; - if (quoted && t) + if (quoted) free(t); /* * Add a separator only after non-null elements. @@ -869,7 +872,10 @@ int quoted; for (ae = element_forw(a->head); ae != a->head; ae = element_forw(ae)) { is = inttostr (element_index(ae), indstr, sizeof(indstr)); - valstr = element_value (ae) ? sh_double_quote (element_value(ae)) + valstr = element_value (ae) ? + (ansic_shouldquote (element_value (ae)) ? + ansic_quote (element_value(ae), 0, (int *)0) : + sh_double_quote (element_value (ae))) : (char *)NULL; elen = STRLEN (is) + 8 + STRLEN (valstr); RESIZE_MALLOCED_BUFFER (result, rlen, (elen + 1), rsize, rsize); diff --git a/arrayfunc.c b/arrayfunc.c index c4bae0ae2..47c595e0b 100644 --- a/arrayfunc.c +++ b/arrayfunc.c @@ -1,6 +1,6 @@ /* arrayfunc.c -- High-level array functions used by other parts of the shell. */ -/* Copyright (C) 2001-2011 Free Software Foundation, Inc. +/* Copyright (C) 2001-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -33,6 +33,9 @@ #include "pathexp.h" #include "shmbutil.h" +#if defined (HAVE_MBSTR_H) && defined (HAVE_MBSCHR) +# include /* mbschr */ +#endif #include "builtins/common.h" @@ -45,7 +48,7 @@ static SHELL_VAR *assign_array_element_internal __P((SHELL_VAR *, char *, char * static char *quote_assign __P((const char *)); static void quote_array_assignment_chars __P((WORD_LIST *)); -static char *array_value_internal __P((char *, int, int, int *, arrayind_t *)); +static char *array_value_internal __P((const char *, int, int, int *, arrayind_t *)); /* Standard error message to use when encountering an invalid array subscript */ const char * const bash_badsub_errmsg = N_("bad array subscript"); @@ -84,6 +87,12 @@ convert_var_to_array (var) VSETATTR (var, att_array); VUNSETATTR (var, att_invisible); + /* Make sure it's not marked as an associative array any more */ + VUNSETATTR (var, att_assoc); + + /* Since namerefs can't be array variables, turn off nameref attribute */ + VUNSETATTR (var, att_nameref); + return var; } @@ -115,6 +124,12 @@ convert_var_to_assoc (var) VSETATTR (var, att_assoc); VUNSETATTR (var, att_invisible); + /* Make sure it's not marked as an indexed array any more */ + VUNSETATTR (var, att_array); + + /* Since namerefs can't be array variables, turn off nameref attribute */ + VUNSETATTR (var, att_nameref); + return var; } @@ -201,9 +216,18 @@ bind_array_variable (name, ind, value, flags) entry = find_shell_variable (name); + if (entry == (SHELL_VAR *) 0) + { + /* Is NAME a nameref variable that points to an unset variable? */ + entry = find_variable_nameref_for_create (name, 0); + if (entry == INVALID_NAMEREF_VALUE) + return ((SHELL_VAR *)0); + if (entry && nameref_p (entry)) + entry = make_new_array_variable (nameref_cell (entry)); + } if (entry == (SHELL_VAR *) 0) entry = make_new_array_variable (name); - else if (readonly_p (entry) || noassign_p (entry)) + else if ((readonly_p (entry) && (flags&ASS_FORCE) == 0) || noassign_p (entry)) { if (readonly_p (entry)) err_readonly (name); @@ -237,7 +261,7 @@ bind_assoc_variable (entry, name, key, value, flags) SHELL_VAR *dentry; char *newval; - if (readonly_p (entry) || noassign_p (entry)) + if ((readonly_p (entry) && (flags&ASS_FORCE) == 0) || noassign_p (entry)) { if (readonly_p (entry)) err_readonly (name); @@ -256,7 +280,7 @@ assign_array_element (name, value, flags) { char *sub, *vname; int sublen; - SHELL_VAR *entry; + SHELL_VAR *entry, *nv; vname = array_variable_name (name, &sub, &sublen); @@ -338,9 +362,21 @@ find_or_make_array_variable (name, flags) { /* See if we have a nameref pointing to a variable that hasn't been created yet. */ - var = find_variable_last_nameref (name); + var = find_variable_last_nameref (name, 1); + if (var && nameref_p (var) && invisible_p (var)) + { + internal_warning (_("%s: removing nameref attribute"), name); + VUNSETATTR (var, att_nameref); + } if (var && nameref_p (var)) - var = (flags & 2) ? make_new_assoc_variable (nameref_cell (var)) : make_new_array_variable (nameref_cell (var)); + { + if (valid_nameref_value (nameref_cell (var), 2) == 0) + { + sh_invalidid (nameref_cell (var)); + return ((SHELL_VAR *)NULL); + } + var = (flags & 2) ? make_new_assoc_variable (nameref_cell (var)) : make_new_array_variable (nameref_cell (var)); + } } if (var == 0) @@ -400,10 +436,7 @@ assign_array_var_from_word_list (var, list, flags) i = (flags & ASS_APPEND) ? array_max_index (a) + 1 : 0; for (l = list; l; l = l->next, i++) - if (var->assign_func) - (*var->assign_func) (var, l->word->word, i, 0); - else - array_insert (a, i, l->word->word); + bind_array_var_internal (var, i, 0, l->word->word, flags & ~ASS_APPEND); VUNSETATTR (var, att_invisible); /* no longer invisible */ @@ -476,7 +509,7 @@ assign_compound_array_list (var, nlist, flags) ARRAY *a; HASH_TABLE *h; WORD_LIST *list; - char *w, *val, *nval; + char *w, *val, *nval, *savecmd; int len, iflags, free_val; arrayind_t ind, last_ind; char *akey; @@ -501,7 +534,9 @@ assign_compound_array_list (var, nlist, flags) for (list = nlist; list; list = list->next) { - iflags = flags; + /* Don't allow var+=(values) to make assignments in VALUES append to + existing values by default. */ + iflags = flags & ~ASS_APPEND; w = list->word->word; /* We have a word of the form [ind]=value */ @@ -609,10 +644,12 @@ assign_compound_array_list (var, nlist, flags) free_val = 1; } + savecmd = this_command_name; if (integer_p (var)) this_command_name = (char *)NULL; /* no command name for errors */ bind_array_var_internal (var, ind, akey, val, iflags); last_ind++; + this_command_name = savecmd; if (free_val) free (val); @@ -732,7 +769,7 @@ unbind_array_element (var, sub) char *akey; ARRAY_ELEMENT *ae; - len = skipsubscript (sub, 0, 0); + len = skipsubscript (sub, 0, (var && assoc_p(var))); if (sub[len] != ']' || len == 0) { builtin_error ("%s[%s: %s", var->name, sub, _(bash_badsub_errmsg)); @@ -742,8 +779,13 @@ unbind_array_element (var, sub) if (ALL_ELEMENT_SUB (sub[0]) && sub[1] == 0) { - unbind_variable (var->name); - return (0); + if (array_p (var) || assoc_p (var)) + { + unbind_variable (var->name); /* XXX -- {array,assoc}_flush ? */ + return (0); + } + else + return -2; /* don't allow this to unset scalar variables */ } if (assoc_p (var)) @@ -758,7 +800,7 @@ unbind_array_element (var, sub) assoc_remove (assoc_cell (var), akey); free (akey); } - else + else if (array_p (var)) { ind = array_expand_index (var, sub, len+1); /* negative subscripts to indexed arrays count back from end */ @@ -773,6 +815,19 @@ unbind_array_element (var, sub) if (ae) array_dispose_element (ae); } + else /* array_p (var) == 0 && assoc_p (var) == 0 */ + { + akey = this_command_name; + ind = array_expand_index (var, sub, len+1); + this_command_name = akey; + if (ind == 0) + { + unbind_variable (var->name); + return (0); + } + else + return -2; /* any subscript other than 0 is invalid with scalar variables */ + } return 0; } @@ -825,8 +880,9 @@ print_assoc_assignment (var, quoted) /* Return 1 if NAME is a properly-formed array reference v[sub]. */ int -valid_array_reference (name) - char *name; +valid_array_reference (name, flags) + const char *name; + int flags; { char *t; int r, len; @@ -843,6 +899,8 @@ valid_array_reference (name) len = skipsubscript (t, 0, 0); if (t[len] != ']' || len == 1) return 0; + if (t[len+1] != '\0') + return 0; for (r = 1; r < len; r++) if (whitespace (t[r]) == 0) return 1; @@ -858,22 +916,26 @@ array_expand_index (var, s, len) char *s; int len; { - char *exp, *t; + char *exp, *t, *savecmd; int expok; arrayind_t val; exp = (char *)xmalloc (len); strncpy (exp, s, len - 1); exp[len - 1] = '\0'; - t = expand_arith_string (exp, 0); + t = expand_arith_string (exp, Q_DOUBLE_QUOTES|Q_ARITH|Q_ARRAYSUB); /* XXX - Q_ARRAYSUB for future use */ + savecmd = this_command_name; this_command_name = (char *)NULL; val = evalexp (t, &expok); + this_command_name = savecmd; free (t); free (exp); if (expok == 0) { last_command_exit_value = EXECUTION_FAILURE; + if (no_longjmp_on_fatal_error) + return 0; top_level_cleanup (); jump_to_top_level (DISCARD); } @@ -886,7 +948,8 @@ array_expand_index (var, s, len) in *LENP. This returns newly-allocated memory. */ char * array_variable_name (s, subp, lenp) - char *s, **subp; + const char *s; + char **subp; int *lenp; { char *t, *ret; @@ -930,7 +993,8 @@ array_variable_name (s, subp, lenp) If LENP is non-null, the length of the subscript is returned in *LENP. */ SHELL_VAR * array_variable_part (s, subp, lenp) - char *s, **subp; + const char *s; + char **subp; int *lenp; { char *t; @@ -939,14 +1003,10 @@ array_variable_part (s, subp, lenp) t = array_variable_name (s, subp, lenp); if (t == 0) return ((SHELL_VAR *)NULL); - var = find_variable (t); + var = find_variable (t); /* XXX - handle namerefs here? */ free (t); -#if 0 - return (var == 0 || invisible_p (var)) ? (SHELL_VAR *)0 : var; -#else return var; /* now return invisible variables; caller must handle */ -#endif } #define INDEX_ERROR() \ @@ -971,7 +1031,7 @@ array_variable_part (s, subp, lenp) reference is name[@], and 0 otherwise. */ static char * array_value_internal (s, quoted, flags, rtype, indp) - char *s; + const char *s; int quoted, flags, *rtype; arrayind_t *indp; { @@ -1029,7 +1089,8 @@ array_value_internal (s, quoted, flags, rtype, indp) free (temp); } else /* ${name[@]} or unquoted ${name[*]} */ - retval = string_list_dollar_at (l, quoted); /* XXX - leak here */ + /* XXX - bash-4.4/bash-5.0 test AV_ASSIGNRHS and pass PF_ASSIGNRHS */ + retval = string_list_dollar_at (l, quoted, (flags & AV_ASSIGNRHS) ? PF_ASSIGNRHS : 0); /* XXX - leak here */ dispose_words (l); } @@ -1091,7 +1152,7 @@ array_value_internal (s, quoted, flags, rtype, indp) subscript contained in S, obeying quoting for subscripts * and @. */ char * array_value (s, quoted, flags, rtype, indp) - char *s; + const char *s; int quoted, flags, *rtype; arrayind_t *indp; { @@ -1104,7 +1165,7 @@ array_value (s, quoted, flags, rtype, indp) evaluator in expr.c. */ char * get_array_value (s, flags, rtype, indp) - char *s; + const char *s; int flags, *rtype; arrayind_t *indp; { @@ -1146,7 +1207,7 @@ array_keys (s, quoted) free (temp); } else /* ${!name[@]} or unquoted ${!name[*]} */ - retval = string_list_dollar_at (l, quoted); + retval = string_list_dollar_at (l, quoted, 0); dispose_words (l); return retval; diff --git a/arrayfunc.h b/arrayfunc.h index 26f4879af..5ee275916 100644 --- a/arrayfunc.h +++ b/arrayfunc.h @@ -29,6 +29,8 @@ #define AV_ALLOWALL 0x001 #define AV_QUOTED 0x002 #define AV_USEIND 0x004 +#define AV_USEVAL 0x008 /* XXX - should move this */ +#define AV_ASSIGNRHS 0x010 /* no splitting, special case ${a[@]} */ extern SHELL_VAR *convert_var_to_array __P((SHELL_VAR *)); extern SHELL_VAR *convert_var_to_assoc __P((SHELL_VAR *)); @@ -57,20 +59,21 @@ extern void print_array_assignment __P((SHELL_VAR *, int)); extern void print_assoc_assignment __P((SHELL_VAR *, int)); extern arrayind_t array_expand_index __P((SHELL_VAR *, char *, int)); -extern int valid_array_reference __P((char *)); -extern char *array_value __P((char *, int, int, int *, arrayind_t *)); -extern char *get_array_value __P((char *, int, int *, arrayind_t *)); +extern int valid_array_reference __P((const char *, int)); +extern char *array_value __P((const char *, int, int, int *, arrayind_t *)); +extern char *get_array_value __P((const char *, int, int *, arrayind_t *)); extern char *array_keys __P((char *, int)); -extern char *array_variable_name __P((char *, char **, int *)); -extern SHELL_VAR *array_variable_part __P((char *, char **, int *)); +extern char *array_variable_name __P((const char *, char **, int *)); +extern SHELL_VAR *array_variable_part __P((const char *, char **, int *)); #else #define AV_ALLOWALL 0 #define AV_QUOTED 0 #define AV_USEIND 0 +#define AV_ASSIGNRHS 0 #endif diff --git a/assoc.c b/assoc.c index 7298a1fba..84a387c20 100644 --- a/assoc.c +++ b/assoc.c @@ -277,7 +277,10 @@ int starsub, quoted; for (i = 1; l && i < start; i++) l = l->next; if (l == 0) - return ((char *)NULL); + { + dispose_words (save); + return ((char *)NULL); + } for (j = 0,h = t = l; l && j < nelem; j++) { t = l; @@ -433,17 +436,19 @@ assoc_to_assign (hash, quoted) for (i = 0; i < hash->nbuckets; i++) for (tlist = hash_items (i, hash); tlist; tlist = tlist->next) { -#if 1 - if (sh_contains_shell_metas (tlist->key)) + if (ansic_shouldquote (tlist->key)) + istr = ansic_quote (tlist->key, 0, (int *)0); + else if (sh_contains_shell_metas (tlist->key)) istr = sh_double_quote (tlist->key); else if (ALL_ELEMENT_SUB (tlist->key[0]) && tlist->key[1] == '\0') istr = sh_double_quote (tlist->key); else istr = tlist->key; -#else - istr = tlist->key; -#endif - vstr = tlist->data ? sh_double_quote ((char *)tlist->data) : (char *)0; + + vstr = tlist->data ? (ansic_shouldquote ((char *)tlist->data) ? + ansic_quote ((char *)tlist->data, 0, (int *)0) : + sh_double_quote ((char *)tlist->data)) + : (char *)0; elen = STRLEN (istr) + 8 + STRLEN (vstr); RESIZE_MALLOCED_BUFFER (ret, rlen, (elen+1), rsize, rsize); diff --git a/bashhist.c b/bashhist.c index d4c62e7b7..9979f99ac 100644 --- a/bashhist.c +++ b/bashhist.c @@ -1,6 +1,6 @@ /* bashhist.c -- bash interface to the GNU history library. */ -/* Copyright (C) 1993-2012 Free Software Foundation, Inc. +/* Copyright (C) 1993-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -83,8 +83,8 @@ static struct ignorevar histignore = /* Non-zero means to remember lines typed to the shell on the history list. This is different than the user-controlled behaviour; this becomes zero when we read lines from a file, for example. */ -int remember_on_history = 1; -int enable_history_list = 1; /* value for `set -o history' */ +int remember_on_history = 0; +int enable_history_list = 0; /* value for `set -o history' */ /* The number of lines that Bash has added to this history session. The difference between the number of the top element in the history list @@ -99,6 +99,8 @@ int history_lines_in_file; /* Non-zero means do no history expansion on this line, regardless of what history_expansion says. */ int history_expansion_inhibited; +/* If non-zero, double quotes can quote the history expansion character. */ +int double_quotes_inhibit_history_expansion = 0; #endif /* With the old default, every line was saved in the history individually. @@ -186,7 +188,9 @@ extern int current_command_line_count; extern struct dstack dstack; extern int parser_state; +#if defined (BANG_HISTORY) static int bash_history_inhibit_expansion __P((char *, int)); +#endif #if defined (READLINE) static void re_edit __P((char *)); #endif @@ -197,6 +201,7 @@ static HIST_ENTRY *last_history_entry __P((void)); static char *expand_histignore_pattern __P((char *)); static int history_should_ignore __P((char *)); +#if defined (BANG_HISTORY) /* Is the history expansion starting at string[i] one that should not be expanded? */ static int @@ -204,6 +209,12 @@ bash_history_inhibit_expansion (string, i) char *string; int i; { + int t; + char hx[2]; + + hx[0] = history_expansion_char; + hx[1] = '\0'; + /* The shell uses ! as a pattern negation character in globbing [...] expressions, so let those pass without expansion. */ if (i > 0 && (string[i - 1] == '[') && member (']', string + i + 1)) @@ -220,17 +231,33 @@ bash_history_inhibit_expansion (string, i) else if (extended_glob && i > 1 && string[i+1] == '(' && member (')', string + i + 2)) return (1); #endif + + /* Make sure the history expansion should not be skipped by quoting or + command/process substitution. */ + else if ((t = skip_to_histexp (string, 0, hx, SD_NOJMP|SD_HISTEXP)) > 0) + { + /* Skip instances of history expansion appearing on the line before + this one. */ + while (t < i) + { + t = skip_to_histexp (string, t+1, hx, SD_NOJMP|SD_HISTEXP); + if (t <= 0) + return 0; + } + return (t > i); + } else return (0); } +#endif void bash_initialize_history () { history_quotes_inhibit_expansion = 1; history_search_delimiter_chars = ";&()|<>"; - history_inhibit_expansion_function = bash_history_inhibit_expansion; #if defined (BANG_HISTORY) + history_inhibit_expansion_function = bash_history_inhibit_expansion; sv_histchars ("histchars"); #endif } @@ -241,10 +268,10 @@ bash_history_reinit (interact) { #if defined (BANG_HISTORY) history_expansion = interact != 0; - history_expansion_inhibited = 1; -#endif - remember_on_history = enable_history_list = interact != 0; + history_expansion_inhibited = 1; /* XXX */ history_inhibit_expansion_function = bash_history_inhibit_expansion; +#endif + remember_on_history = enable_history_list; } void @@ -259,11 +286,11 @@ bash_history_disable () void bash_history_enable () { - remember_on_history = 1; + remember_on_history = enable_history_list = 1; #if defined (BANG_HISTORY) history_expansion_inhibited = 0; -#endif history_inhibit_expansion_function = bash_history_inhibit_expansion; +#endif sv_history_control ("HISTCONTROL"); sv_histignore ("HISTIGNORE"); } @@ -290,8 +317,13 @@ load_history () if (hf && *hf && file_exists (hf)) { read_history (hf); + /* We have read all of the lines from the history file, even if we + read more lines than $HISTSIZE. Remember the total number of lines + we read so we don't count the last N lines as new over and over + again. */ + history_lines_in_file = history_lines_read_from_file; using_history (); - history_lines_in_file = where_history (); + /* history_lines_in_file = where_history () + history_base - 1; */ } } @@ -300,6 +332,7 @@ bash_clear_history () { clear_history (); history_lines_this_session = 0; + /* XXX - reset history_lines_read_from_file? */ } /* Delete and free the history list entry at offset I. */ @@ -377,7 +410,7 @@ maybe_append_history (filename) struct stat buf; result = EXECUTION_SUCCESS; - if (history_lines_this_session && (history_lines_this_session <= where_history ())) + if (history_lines_this_session > 0 && (history_lines_this_session <= where_history ())) { /* If the filename was supplied, then create it if necessary. */ if (stat (filename, &buf) == -1 && errno == ENOENT) @@ -391,9 +424,14 @@ maybe_append_history (filename) close (fd); } result = append_history (history_lines_this_session, filename); + /* Pretend we already read these lines from the file because we just + added them */ history_lines_in_file += history_lines_this_session; history_lines_this_session = 0; } + else + history_lines_this_session = 0; /* reset if > where_history() */ + return (result); } @@ -406,7 +444,7 @@ maybe_save_shell_history () char *hf; result = 0; - if (history_lines_this_session) + if (history_lines_this_session > 0) { hf = get_string_value ("HISTFILE"); @@ -433,7 +471,8 @@ maybe_save_shell_history () else { result = write_history (hf); - history_lines_in_file = history_lines_this_session; + history_lines_in_file = history_lines_written_to_file; + /* history_lines_in_file = where_history () + history_base - 1; */ } history_lines_this_session = 0; @@ -532,6 +571,7 @@ pre_process_line (line, print_changes, addit) if (hist_verify && expanded == 1) { re_edit (history_value); + free (history_value); return ((char *)NULL); } # endif @@ -634,7 +674,9 @@ hc_erasedups (line) if (STREQ (temp->line, line)) { r = where_history (); - remove_history (r); + temp = remove_history (r); + if (temp) + free_history_entry (temp); } } using_history (); @@ -706,11 +748,24 @@ check_add_history (line, force) #if defined (SYSLOG_HISTORY) #define SYSLOG_MAXLEN 600 +extern char *shell_name; + +#ifndef OPENLOG_OPTS +#define OPENLOG_OPTS 0 +#endif + void bash_syslog_history (line) const char *line; { char trunc[SYSLOG_MAXLEN]; + static int first = 1; + + if (first) + { + openlog (shell_name, OPENLOG_OPTS, SYSLOG_FACILITY); + first = 0; + } if (strlen(line) < SYSLOG_MAXLEN) syslog (SYSLOG_FACILITY|SYSLOG_LEVEL, "HISTORY: PID=%d UID=%d %s", getpid(), current_user.uid, line); diff --git a/bashjmp.h b/bashjmp.h index c26053d4b..79152fe52 100644 --- a/bashjmp.h +++ b/bashjmp.h @@ -27,7 +27,9 @@ extern procenv_t top_level; extern procenv_t subshell_top_level; extern procenv_t return_catch; /* used by `return' builtin */ -#define SHFUNC_RETURN() longjmp (return_catch, 1) +extern int no_longjmp_on_fatal_error; + +#define SHFUNC_RETURN() sh_longjmp (return_catch, 1) #define COPY_PROCENV(old, save) \ xbcopy ((char *)old, (char *)save, sizeof (procenv_t)); diff --git a/bashline.c b/bashline.c index 8ff17963f..f4fe9f1b0 100644 --- a/bashline.c +++ b/bashline.c @@ -1,6 +1,6 @@ /* bashline.c -- Bash's interface to the readline library. */ -/* Copyright (C) 1987-2013 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -54,6 +54,11 @@ #include "pathexp.h" #include "shmbutil.h" #include "trap.h" +#include "flags.h" + +#if defined (HAVE_MBSTR_H) && defined (HAVE_MBSCHR) +# include /* mbschr */ +#endif #include "builtins/common.h" @@ -137,6 +142,8 @@ static int executable_completion __P((const char *, int)); static rl_icppfunc_t *save_directory_hook __P((void)); static void restore_directory_hook __P((rl_icppfunc_t)); +static int directory_exists __P((const char *)); + static void cleanup_expansion_error __P((void)); static void maybe_make_readline_line __P((char *)); static void set_up_new_line __P((char *)); @@ -631,6 +638,8 @@ bashline_reset () rl_filename_stat_hook = bash_filename_stat_hook; bashline_reset_event_hook (); + + rl_sort_completion_matches = 1; } /* Contains the line to push into readline. */ @@ -972,9 +981,6 @@ edit_and_execute_command (count, c, editing_mode, edit_command) metaval = rl_variable_value ("input-meta"); metaflag = RL_BOOLEAN_VARIABLE_VALUE (metaval); - /* Now, POSIX.1-2001 and SUSv3 say that the commands executed from the - temporary file should be placed into the history. We don't do that - yet. */ if (rl_deprep_term_function) (*rl_deprep_term_function) (); save_parser_state (&ps); @@ -1273,7 +1279,7 @@ check_redir (ti) /* Handle the two character tokens `>&', `<&', and `>|'. We are not in a command position after one of these. */ this_char = rl_line_buffer[ti]; - prev_char = rl_line_buffer[ti - 1]; + prev_char = (ti > 0) ? rl_line_buffer[ti - 1] : 0; if ((this_char == '&' && (prev_char == '<' || prev_char == '>')) || (this_char == '|' && prev_char == '>')) @@ -1305,15 +1311,26 @@ static int find_cmd_start (start) int start; { - register int s, os; + register int s, os, ns; os = 0; /* Flags == SD_NOJMP only because we want to skip over command substitutions in assignment statements. Have to test whether this affects `standalone' command substitutions as individual words. */ - while (((s = skip_to_delim (rl_line_buffer, os, COMMAND_SEPARATORS, SD_NOJMP/*|SD_NOSKIPCMD*/)) <= start) && + while (((s = skip_to_delim (rl_line_buffer, os, COMMAND_SEPARATORS, SD_NOJMP|SD_COMPLETE/*|SD_NOSKIPCMD*/)) <= start) && rl_line_buffer[s]) - os = s+1; + { + /* Handle >| token crudely; treat as > not | */ + if (rl_line_buffer[s] == '|' && rl_line_buffer[s-1] == '>') + { + ns = skip_to_delim (rl_line_buffer, s+1, COMMAND_SEPARATORS, SD_NOJMP|SD_COMPLETE/*|SD_NOSKIPCMD*/); + if (ns > start || rl_line_buffer[ns] == 0) + return os; + os = ns+1; + continue; + } + os = s+1; + } return os; } @@ -1323,7 +1340,7 @@ find_cmd_end (end) { register int e; - e = skip_to_delim (rl_line_buffer, end, COMMAND_SEPARATORS, SD_NOJMP); + e = skip_to_delim (rl_line_buffer, end, COMMAND_SEPARATORS, SD_NOJMP|SD_COMPLETE); return e; } @@ -1339,7 +1356,7 @@ find_cmd_name (start, sp, ep) ; /* skip until a shell break character */ - e = skip_to_delim (rl_line_buffer, s, "()<>;&| \t\n", SD_NOJMP); + e = skip_to_delim (rl_line_buffer, s, "()<>;&| \t\n", SD_NOJMP|SD_COMPLETE); name = substring (rl_line_buffer, s, e); @@ -1368,6 +1385,34 @@ prog_complete_return (text, matchnum) #endif /* PROGRAMMABLE_COMPLETION */ +/* Try and catch completion attempts that are syntax errors or otherwise + invalid. */ +static int +invalid_completion (text, ind) + const char *text; + int ind; +{ + int pind; + + /* If we don't catch these here, the next clause will */ + if (ind > 0 && rl_line_buffer[ind] == '(' && /*)*/ + member (rl_line_buffer[ind-1], "$<>")) + return 0; + + pind = ind - 1; + while (pind > 0 && whitespace (rl_line_buffer[pind])) + pind--; + /* If we have only whitespace preceding a paren, it's valid */ + if (ind >= 0 && pind <= 0 && rl_line_buffer[ind] == '(') /*)*/ + return 0; + /* Flag the invalid completions, which are mostly syntax errors */ + if (ind > 0 && rl_line_buffer[ind] == '(' && /*)*/ + member (rl_line_buffer[pind], COMMAND_SEPARATORS) == 0) + return 1; + + return 0; +} + /* Do some completion on TEXT. The indices of TEXT in RL_LINE_BUFFER are at START and END. Return an array of matches, or NULL if none. */ static char ** @@ -1390,6 +1435,8 @@ attempt_shell_completion (text, start, end) set_directory_hook (); rl_filename_stat_hook = bash_filename_stat_hook; + rl_sort_completion_matches = 1; /* sort by default */ + /* Determine if this could be a command word. It is if it appears at the start of the line (ignoring preceding whitespace), or if it appears after a character that separates commands. It cannot be a @@ -1436,6 +1483,12 @@ attempt_shell_completion (text, start, end) assignments. */ } + if (in_command_position && invalid_completion (text, ti)) + { + rl_attempted_completion_over = 1; + return ((char **)NULL); + } + /* Check that we haven't incorrectly flagged a closed command substitution as indicating we're in a command position. */ if (in_command_position && ti >= 0 && rl_line_buffer[ti] == '`' && @@ -1525,6 +1578,13 @@ attempt_shell_completion (text, start, end) /* command completion if programmable completion fails */ in_command_position = s == start && STREQ (n, text); /* XXX */ } + /* empty command name following command separator */ + else if (s >= e && n[0] == '\0' && text[0] == '\0' && start > 0 && + was_assignment == 0 && member (rl_line_buffer[start-1], COMMAND_SEPARATORS)) + { + foundcs = 0; + in_command_position = 1; + } else if (s >= e && n[0] == '\0' && text[0] == '\0' && start > 0) { foundcs = 0; /* empty command name following assignments */ @@ -1586,6 +1646,11 @@ bash_default_completion (text, start, end, qc, compflags) else { matches = rl_completion_matches (text, variable_completion_function); + /* If a single match, see if it expands to a directory name and append + a slash if it does. This requires us to expand the variable name, + so we don't want to display errors if the variable is unset. This + can happen with dynamic variables whose value has never been + requested. */ if (matches && matches[0] && matches[1] == 0) { t = savestring (matches[0]); @@ -1780,7 +1845,9 @@ command_word_completion_function (hint_text, state) if (globpat || absolute_program (hint_text)) { /* Perform tilde expansion on what's passed, so we don't end up - passing filenames with tildes directly to stat(). */ + passing filenames with tildes directly to stat(). The rest of + the shell doesn't do variable expansion on the word following + the tilde, so we don't do it here even if direxpand is set. */ if (*hint_text == '~') { hint = bash_tilde_expand (hint_text, 0); @@ -1794,6 +1861,11 @@ command_word_completion_function (hint_text, state) directory_part = (char *)NULL; } } + else if (dircomplete_expand) + { + hint = savestring (hint_text); + bash_directory_completion_hook (&hint); + } else hint = savestring (hint_text); @@ -3030,6 +3102,30 @@ restore_directory_hook (hookf) rl_directory_rewrite_hook = hookf; } +/* Check whether not the (dequoted) version of DIRNAME, with any trailing slash + removed, exists. */ +static int +directory_exists (dirname) + const char *dirname; +{ + char *new_dirname; + int dirlen, r; + struct stat sb; + + /* First, dequote the directory name */ + new_dirname = bash_dequote_filename ((char *)dirname, rl_completion_quote_character); + dirlen = STRLEN (new_dirname); + if (new_dirname[dirlen - 1] == '/') + new_dirname[dirlen - 1] = '\0'; +#if defined (HAVE_LSTAT) + r = lstat (new_dirname, &sb) == 0; +#else + r = stat (new_dirname, &sb) == 0; +#endif + free (new_dirname); + return (r); +} + /* Expand a filename before the readline completion code passes it to stat(2). The filename will already have had tilde expansion performed. */ static int @@ -3038,6 +3134,7 @@ bash_filename_stat_hook (dirname) { char *local_dirname, *new_dirname, *t; int should_expand_dirname, return_value; + int global_nounset; WORD_LIST *wl; struct stat sb; @@ -3048,17 +3145,18 @@ bash_filename_stat_hook (dirname) else if (t = mbschr (local_dirname, '`')) /* XXX */ should_expand_dirname = '`'; -#if defined (HAVE_LSTAT) - if (should_expand_dirname && lstat (local_dirname, &sb) == 0) -#else - if (should_expand_dirname && stat (local_dirname, &sb) == 0) -#endif + if (should_expand_dirname && directory_exists (local_dirname)) should_expand_dirname = 0; if (should_expand_dirname) { new_dirname = savestring (local_dirname); - wl = expand_prompt_string (new_dirname, 0, W_NOCOMSUB); /* does the right thing */ + /* no error messages, and expand_prompt_string doesn't longjmp so we don't + have to worry about restoring this setting. */ + global_nounset = unbound_vars_is_error; + unbound_vars_is_error = 0; + wl = expand_prompt_string (new_dirname, 0, W_NOCOMSUB|W_COMPLETE); /* does the right thing */ + unbound_vars_is_error = global_nounset; if (wl) { free (new_dirname); @@ -3116,7 +3214,8 @@ bash_directory_completion_hook (dirname) char **dirname; { char *local_dirname, *new_dirname, *t; - int return_value, should_expand_dirname, nextch, closer; + int return_value, should_expand_dirname, nextch, closer, changed; + size_t local_dirlen; WORD_LIST *wl; struct stat sb; @@ -3145,17 +3244,13 @@ bash_directory_completion_hook (dirname) should_expand_dirname = '`'; } -#if defined (HAVE_LSTAT) - if (should_expand_dirname && lstat (local_dirname, &sb) == 0) -#else - if (should_expand_dirname && stat (local_dirname, &sb) == 0) -#endif + if (should_expand_dirname && directory_exists (local_dirname)) should_expand_dirname = 0; if (should_expand_dirname) { new_dirname = savestring (local_dirname); - wl = expand_prompt_string (new_dirname, 0, W_NOCOMSUB); /* does the right thing */ + wl = expand_prompt_string (new_dirname, 0, W_NOCOMSUB|W_COMPLETE); /* does the right thing */ if (wl) { *dirname = string_list (wl); @@ -4001,8 +4096,12 @@ bash_execute_unix_command (count, key) ce = rl_get_termcap ("ce"); if (ce) /* clear current line */ { +#if 0 fprintf (rl_outstream, "\r"); tputs (ce, 1, putx); +#else + rl_clear_visible_line (); +#endif fflush (rl_outstream); } else @@ -4040,12 +4139,19 @@ bash_execute_unix_command (count, key) } } - unbind_variable ("READLINE_LINE"); - unbind_variable ("READLINE_POINT"); + check_unbind_variable ("READLINE_LINE"); + check_unbind_variable ("READLINE_POINT"); array_needs_making = 1; /* and restore the readline buffer and display after command execution. */ - rl_forced_update_display (); + /* If we clear the last line of the prompt above, redraw only that last + line. If the command returns 124, we redraw unconditionally as in + previous versions. */ + if (ce && r != 124) + rl_redraw_prompt_last_line (); + else + rl_forced_update_display (); + return 0; } diff --git a/braces.c b/braces.c index 61c1ab156..7f31dd5e7 100644 --- a/braces.c +++ b/braces.c @@ -38,6 +38,12 @@ #if defined (SHELL) # include "shell.h" +#else +# if defined (TEST) +typedef char *WORD_DESC; +typedef char **WORD_LIST; +#define _(X) X +# endif /* TEST */ #endif /* SHELL */ #include "typemax.h" /* INTMAX_MIN, INTMAX_MAX */ @@ -287,7 +293,9 @@ expand_amble (text, tlen, flags) char *tem; int start, i, c; +#if defined (SHELL) DECLARE_MBSTATE; +#endif result = (char **)NULL; @@ -301,7 +309,7 @@ expand_amble (text, tlen, flags) #else tem = (char *)xmalloc (1 + (i - start)); strncpy (tem, &text[start], (i - start)); - tem[i- start] = '\0'; + tem[i - start] = '\0'; #endif partial = brace_expand (tem); @@ -319,6 +327,8 @@ expand_amble (text, tlen, flags) if (tresult == 0) { internal_error (_("brace expansion: cannot allocate memory for %s"), tem); + free (tem); + strvec_dispose (partial); strvec_dispose (result); result = (char **)NULL; return result; @@ -333,7 +343,11 @@ expand_amble (text, tlen, flags) free (partial); } free (tem); +#if defined (SHELL) ADVANCE_CHAR (text, tlen, i); +#else + i++; +#endif start = i; } return (result); @@ -420,7 +434,12 @@ mkseq (start, end, incr, type, width) do { #if defined (SHELL) - QUIT; /* XXX - memory leak here */ + if (ISINTERRUPT) + { + strvec_dispose (result); + result = (char **)NULL; + } + QUIT; #endif if (type == ST_INT) result[i++] = t = itos (n); @@ -618,7 +637,11 @@ brace_gobbler (text, tlen, indx, satisfy) if (pass_next) { pass_next = 0; +#if defined (SHELL) ADVANCE_CHAR (text, tlen, i); +#else + i++; +#endif continue; } @@ -652,7 +675,11 @@ brace_gobbler (text, tlen, indx, satisfy) if (quoted == '"' && c == '$' && text[i+1] == '(') /*)*/ goto comsub; #endif +#if defined (SHELL) ADVANCE_CHAR (text, tlen, i); +#else + i++; +#endif continue; } @@ -705,7 +732,11 @@ comsub: commas++; #endif +#if defined (SHELL) ADVANCE_CHAR (text, tlen, i); +#else + i++; +#endif } *indx = i; @@ -784,20 +815,29 @@ array_concat (arr1, arr2) #if defined (TEST) #include -fatal_error (format, arg1, arg2) - char *format, *arg1, *arg2; +void * +xmalloc(n) + size_t n; { - report_error (format, arg1, arg2); - exit (1); + return (malloc (n)); } -report_error (format, arg1, arg2) +void * +xrealloc(p, n) + void *p; + size_t n; +{ + return (realloc (p, n)); +} + +int +internal_error (format, arg1, arg2) char *format, *arg1, *arg2; { fprintf (stderr, format, arg1, arg2); fprintf (stderr, "\n"); } - + main () { char example[256]; @@ -821,7 +861,7 @@ main () for (i = 0; result[i]; i++) printf ("%s\n", result[i]); - free_array (result); + strvec_dispose (result); } } diff --git a/builtins.h b/builtins.h index cc0c79c0f..0cfea189d 100644 --- a/builtins.h +++ b/builtins.h @@ -41,6 +41,7 @@ #define SPECIAL_BUILTIN 0x08 /* This is a Posix `special' builtin. */ #define ASSIGNMENT_BUILTIN 0x10 /* This builtin takes assignment statements. */ #define POSIX_BUILTIN 0x20 /* This builtins is special in the Posix command search order. */ +#define LOCALVAR_BUILTIN 0x40 /* This builtin creates local variables */ #define BASE_INDENT 4 diff --git a/builtins/Makefile.in b/builtins/Makefile.in index a2e7911bf..bbb96c379 100644 --- a/builtins/Makefile.in +++ b/builtins/Makefile.in @@ -1,6 +1,6 @@ # This Makefile for building libbuiltins.a is in -*- text -*- for Emacs. # -# Copyright (C) 1996-2009 Free Software Foundation, Inc. +# Copyright (C) 1996-2015 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ EXEEXT = @EXEEXT@ prefix = @prefix@ srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ topdir = @top_srcdir@ datarootdir = @datarootdir@ @@ -45,6 +45,8 @@ includedir = @includedir@ datadir = @datadir@ localedir = @localedir@ +loadablesdir = @loadablesdir@ + # Support an alternate destination root directory for package building DESTDIR = @@ -375,31 +377,31 @@ mkbuiltins.o: $(topdir)/bashansi.h $(BASHINCDIR)/ansi_stdlib.h # def files alias.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h alias.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(BASHINCDIR)/maxpath.h -alias.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +alias.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h alias.o: $(topdir)/subst.h $(topdir)/externs.h $(srcdir)/common.h alias.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h alias.o: ../pathnames.h bind.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h -bind.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +bind.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h bind.o: $(topdir)/subst.h $(topdir)/externs.h $(srcdir)/bashgetopt.h bind.o: $(topdir)/general.h $(topdir)/xmalloc.h $(BASHINCDIR)/maxpath.h $(topdir)/bashline.h bind.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h bind.o: ../pathnames.h break.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h break.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -break.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +break.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h break.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h break.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h break.o: ../pathnames.h builtin.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h builtin.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/externs.h -builtin.o: $(topdir)/quit.h $(srcdir)/common.h $(BASHINCDIR)/maxpath.h +builtin.o: $(topdir)/quit.h $(srcdir)/common.h $(BASHINCDIR)/maxpath.h $(topdir)/sig.h builtin.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h builtin.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h builtin.o: $(srcdir)/bashgetopt.h ../pathnames.h caller.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h caller.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/quit.h $(topdir)/dispose_cmd.h -caller.o: $(topdir)/make_cmd.h $(topdir)/subst.h $(topdir)/externs.h +caller.o: $(topdir)/make_cmd.h $(topdir)/subst.h $(topdir)/externs.h $(topdir)/sig.h caller.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h caller.o: $(srcdir)/common.h $(BASHINCDIR)/maxpath.h ./builtext.h caller.o: ${BASHINCDIR}/chartypes.h $(topdir)/bashtypes.h ../pathnames.h @@ -408,41 +410,43 @@ cd.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/quit.h $(topdir)/dispose cd.o: $(topdir)/make_cmd.h $(topdir)/subst.h $(topdir)/externs.h cd.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h cd.o: $(srcdir)/common.h $(BASHINCDIR)/maxpath.h ../pathnames.h +cd.o: $(topdir)/sig.h command.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h command.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/externs.h command.o: $(topdir)/quit.h $(srcdir)/bashgetopt.h $(BASHINCDIR)/maxpath.h +command.o: $(topdir)/sig.h command.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h command.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h command.o: ../pathnames.h declare.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h declare.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -declare.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +declare.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h declare.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h declare.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h -declare.o: $(topdir)/arrayfunc.h $(srcdir)/bashgetopt.h +declare.o: $(topdir)/arrayfunc.h $(srcdir)/bashgetopt.h $(topdir)/flags.h declare.o: ./builtext.h ../pathnames.h echo.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h echo.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/subst.h $(topdir)/externs.h -echo.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +echo.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h echo.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h echo.o: $(BASHINCDIR)/maxpath.h ../pathnames.h enable.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h enable.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h enable.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h -enable.o: $(topdir)/subst.h $(topdir)/externs.h +enable.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/sig.h enable.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h enable.o: $(BASHINCDIR)/maxpath.h ../pathnames.h enable.o: $(topdir)/pcomplete.h eval.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h eval.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h eval.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h -eval.o: $(topdir)/subst.h $(topdir)/externs.h +eval.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/sig.h eval.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h eval.o: $(BASHINCDIR)/maxpath.h ../pathnames.h exec.o: $(topdir)/bashtypes.h exec.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h exec.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -exec.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +exec.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h exec.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/flags.h exec.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h exec.o: $(srcdir)/common.h $(topdir)/execute_cmd.h $(BASHINCDIR)/maxpath.h @@ -450,7 +454,7 @@ exec.o: $(topdir)/findcmd.h $(topdir)/jobs.h ../pathnames.h exit.o: $(topdir)/bashtypes.h exit.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h exit.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -exit.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +exit.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h exit.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/jobs.h exit.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h exit.o: $(BASHINCDIR)/maxpath.h ./builtext.h ../pathnames.h @@ -459,7 +463,7 @@ fc.o: $(topdir)/builtins.h $(topdir)/command.h $(srcdir)/bashgetopt.h fc.o: $(topdir)/bashhist.h fc.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h fc.o: $(topdir)/general.h $(topdir)/xmalloc.h $(BASHINCDIR)/maxpath.h -fc.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +fc.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h fc.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/shell.h $(topdir)/syntax.h fc.o: $(topdir)/flags.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h fc.o: $(topdir)/bashansi.h $(BASHINCDIR)/ansi_stdlib.h $(BASHINCDIR)/chartypes.h @@ -467,18 +471,18 @@ fc.o: ../pathnames.h fg_bg.o: $(topdir)/bashtypes.h $(srcdir)/bashgetopt.h fg_bg.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h fg_bg.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -fg_bg.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +fg_bg.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h fg_bg.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h fg_bg.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h fg_bg.o: $(topdir)/jobs.h ../pathnames.h getopts.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h getopts.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -getopts.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +getopts.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h getopts.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h getopts.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h getopts.o: ../pathnames.h hash.o: $(topdir)/builtins.h $(topdir)/command.h $(topdir)/quit.h -hash.o: $(topdir)/findcmd.h $(topdir)/hashlib.h +hash.o: $(topdir)/findcmd.h $(topdir)/hashlib.h $(topdir)/sig.h hash.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h hash.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h hash.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h @@ -488,12 +492,12 @@ help.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h help.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h help.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h help.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h -help.o: ${srcdir}/common.h ../pathnames.h +help.o: ${srcdir}/common.h $(topdir)/sig.h ../pathnames.h history.o: $(topdir)/bashtypes.h history.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h history.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h history.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h -history.o: $(topdir)/subst.h $(topdir)/externs.h +history.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/sig.h history.o: ${BASHINCDIR}/filecntl.h $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h history.o: $(topdir)/variables.h $(topdir)/conftypes.h $(topdir)/bashhist.h $(BASHINCDIR)/maxpath.h history.o: ../pathnames.h @@ -507,16 +511,16 @@ jobs.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/quit.h $(srcdir)/bashg jobs.o: $(BASHINCDIR)/maxpath.h $(topdir)/externs.h $(topdir)/jobs.h jobs.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h jobs.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h -jobs.o: ../pathnames.h +jobs.o: $(topdir)/sig.h ../pathnames.h kill.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h $(topdir)/error.h kill.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/subst.h $(topdir)/externs.h -kill.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +kill.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h kill.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/trap.h $(topdir)/unwind_prot.h kill.o: $(topdir)/variables.h $(topdir)/conftypes.h $(BASHINCDIR)/maxpath.h kill.o: $(topdir)/jobs.h ../pathnames.h let.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h let.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -let.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +let.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h let.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h let.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h let.o: ../pathnames.h @@ -527,11 +531,12 @@ printf.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/sig.h printf.o: ../pathnames.h $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h printf.o: $(topdir)/variables.h $(topdir)/conftypes.h $(BASHINCDIR)/stdc.h $(srcdir)/bashgetopt.h printf.o: $(topdir)/bashtypes.h ${srcdir}/common.h $(BASHINCDIR)/chartypes.h +printf.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h printf.o: ../pathnames.h pushd.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h pushd.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h pushd.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h -pushd.o: $(topdir)/subst.h $(topdir)/externs.h +pushd.o: $(topdir)/subst.h $(topdir)/externs.h $(topdir)/sig.h pushd.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h pushd.o: $(BASHINCDIR)/maxpath.h $(srcdir)/common.h ./builtext.h pushd.o: ../pathnames.h @@ -540,11 +545,12 @@ read.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h read.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h read.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h read.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h -read.o: $(BASHINCDIR)/shtty.h +read.o: $(BASHINCDIR)/shtty.h $(topdir)/sig.h +read.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h read.o: $(topdir)/arrayfunc.h ../pathnames.h return.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h return.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -return.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +return.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h return.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h return.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h return.o: ../pathnames.h @@ -552,18 +558,18 @@ set.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h set.o: $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/subst.h $(topdir)/externs.h set.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h set.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h -set.o: $(BASHINCDIR)/maxpath.h $(topdir)/error.h +set.o: $(BASHINCDIR)/maxpath.h $(topdir)/error.h $(topdir)/sig.h set.o: $(topdir)/arrayfunc.h ../pathnames.h setattr.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h setattr.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(BASHINCDIR)/maxpath.h setattr.o: $(topdir)/quit.h $(srcdir)/common.h $(srcdir)/bashgetopt.h setattr.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h -setattr.o: $(topdir)/externs.h +setattr.o: $(topdir)/externs.h $(topdir)/flags.h $(topdir)/sig.h setattr.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h setattr.o: $(topdir)/arrayfunc.h ../pathnames.h shift.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h shift.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -shift.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +shift.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h shift.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h shift.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h shift.o: ../pathnames.h @@ -573,53 +579,53 @@ shopt.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h shopt.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h shopt.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h shopt.o: $(srcdir)/common.h $(srcdir)/bashgetopt.h ../pathnames.h -shopt.o: $(topdir)/bashhist.h $(topdir)/bashline.h +shopt.o: $(topdir)/bashhist.h $(topdir)/bashline.h $(topdir)/sig.h source.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h source.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/findcmd.h -source.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +source.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h source.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h source.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h source.o: $(srcdir)/bashgetopt.h $(topdir)/flags.h $(topdir)/trap.h source.o: ../pathnames.h suspend.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h suspend.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -suspend.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +suspend.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h suspend.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h suspend.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h suspend.o: $(topdir)/jobs.h ../pathnames.h test.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h test.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -test.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +test.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h test.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h test.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h test.o: $(topdir)/test.h ../pathnames.h times.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h times.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -times.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +times.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h times.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h times.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h times.o: $(BASHINCDIR)/posixtime.h ../pathnames.h trap.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h trap.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h $(topdir)/externs.h -trap.o: $(topdir)/quit.h $(srcdir)/common.h $(BASHINCDIR)/maxpath.h +trap.o: $(topdir)/quit.h $(srcdir)/common.h $(BASHINCDIR)/maxpath.h $(topdir)/sig.h trap.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h trap.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h trap.o: $(topdir)/findcmd.h ../pathnames.h type.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h type.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -type.o: $(topdir)/quit.h $(srcdir)/common.h $(BASHINCDIR)/maxpath.h +type.o: $(topdir)/quit.h $(srcdir)/common.h $(BASHINCDIR)/maxpath.h $(topdir)/sig.h type.o: $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/subst.h type.o: $(topdir)/externs.h $(topdir)/hashcmd.h ../pathnames.h type.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h ulimit.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h ulimit.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -ulimit.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +ulimit.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h ulimit.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h ulimit.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h ulimit.o: ../pathnames.h umask.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h umask.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -umask.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +umask.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h umask.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h umask.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h umask.o: $(BASHINCDIR)/chartypes.h ../pathnames.h @@ -628,19 +634,21 @@ wait.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h wait.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h wait.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h wait.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h -wait.o: $(topdir)/jobs.h +wait.o: $(topdir)/jobs.h $(topdir)/sig.h wait.o: $(BASHINCDIR)/chartypes.h ../pathnames.h complete.o: ../config.h ../pathnames.h complete.o: ${topdir}/shell.h $(topdir)/syntax.h ${topdir}/bashjmp.h ${BASHINCDIR}/posixjmp.h ${topdir}/sig.h complete.o: ${topdir}/unwind_prot.h ${topdir}/variables.h +complete.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h complete.o: ${topdir}/bashtypes.h ${topdir}/bashansi.h ${BASHINCDIR}/ansi_stdlib.h -complete.o: ${topdir}/builtins.h +complete.o: ${topdir}/builtins.h ${topdir}/general.h +complete.o: ${topdir}/bashtypes.h ${BASHINCDIR}/chartypes.h ${topdir}/xmalloc.h complete.o: ${topdir}/pcomplete.h complete.o: ${srcdir}/common.h ${srcdir}/bashgetopt.h mapfile.o: $(topdir)/command.h ../config.h $(BASHINCDIR)/memalloc.h mapfile.o: $(topdir)/error.h $(topdir)/general.h $(topdir)/xmalloc.h -mapfile.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h +mapfile.o: $(topdir)/quit.h $(topdir)/dispose_cmd.h $(topdir)/make_cmd.h $(topdir)/sig.h mapfile.o: $(topdir)/subst.h $(topdir)/externs.h $(BASHINCDIR)/maxpath.h mapfile.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/variables.h $(topdir)/conftypes.h mapfile.o: $(topdir)/arrayfunc.h ../pathnames.h diff --git a/builtins/alias.def b/builtins/alias.def index d760cebe0..508002475 100644 --- a/builtins/alias.def +++ b/builtins/alias.def @@ -1,7 +1,7 @@ This file is alias.def, from which is created alias.c It implements the builtins "alias" and "unalias" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -33,7 +33,7 @@ A trailing space in VALUE causes the next word to be checked for alias substitution when the alias is expanded. Options: - -p Print all defined aliases in a reusable format + -p print all defined aliases in a reusable format Exit Status: alias returns true unless a NAME is supplied for which no alias has been @@ -87,6 +87,7 @@ alias_builtin (list) pflag = 1; dflags |= AL_REUSABLE; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -160,7 +161,7 @@ $SHORT_DOC unalias [-a] name [name ...] Remove each NAME from the list of defined aliases. Options: - -a remove all alias definitions. + -a remove all alias definitions Return success unless a NAME is not an existing alias. $END @@ -183,6 +184,7 @@ unalias_builtin (list) case 'a': aflag = 1; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -232,7 +234,7 @@ print_alias (alias, flags) value = sh_single_quote (alias->value); if (flags & AL_REUSABLE) - printf ("alias "); + printf ("alias %s", (alias->name && alias->name[0] == '-') ? "-- " : ""); printf ("%s=%s\n", alias->name, value); free (value); diff --git a/builtins/bashgetopt.c b/builtins/bashgetopt.c index b1b707060..405ced437 100644 --- a/builtins/bashgetopt.c +++ b/builtins/bashgetopt.c @@ -31,6 +31,8 @@ #include "../shell.h" #include "common.h" +#include "bashgetopt.h" + #define ISOPT(s) (((*(s) == '-') || (plus && *(s) == '+')) && (s)[1]) #define NOTOPT(s) (((*(s) != '-') && (!plus || *(s) != '+')) || (s)[1] == '\0') @@ -76,6 +78,10 @@ char *opts; lhead = (WORD_LIST *)NULL; loptend = lcurrent; return(-1); + } else if (ISHELP (lcurrent->word->word)) { + lhead = (WORD_LIST *)NULL; + loptend = lcurrent; + return (GETOPT_HELP); } else if (lcurrent->word->word[0] == '-' && lcurrent->word->word[1] == '-' && lcurrent->word->word[2] == 0) { diff --git a/builtins/bashgetopt.h b/builtins/bashgetopt.h index f2aea2668..6637b429e 100644 --- a/builtins/bashgetopt.h +++ b/builtins/bashgetopt.h @@ -25,6 +25,9 @@ #include +#define GETOPT_EOF -1 +#define GETOPT_HELP -99 + extern char *list_optarg; extern int list_optopt; diff --git a/builtins/bind.def b/builtins/bind.def index 3a7cc4efd..649d73f6f 100644 --- a/builtins/bind.def +++ b/builtins/bind.def @@ -1,7 +1,7 @@ This file is bind.def, from which is created bind.c. It implements the builtin "bind" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -54,7 +54,7 @@ Options: -f filename Read key bindings from FILENAME. -x keyseq:shell-command Cause SHELL-COMMAND to be executed when KEYSEQ is entered. - -X List key sequences bound with -x and associated commands + -X List key sequences bound with -x and associated commands in a form that can be reused as input. Exit Status: @@ -115,7 +115,7 @@ bind_builtin (list) int return_code; Keymap kmap, saved_keymap; int flags, opt; - char *initfile, *map_name, *fun_name, *unbind_name, *remove_seq, *cmd_seq; + char *initfile, *map_name, *fun_name, *unbind_name, *remove_seq, *cmd_seq, *t; if (no_line_editing) { @@ -129,7 +129,7 @@ bind_builtin (list) kmap = saved_keymap = (Keymap) NULL; flags = 0; - initfile = map_name = fun_name = unbind_name = remove_seq = (char *)NULL; + initfile = map_name = fun_name = unbind_name = remove_seq = cmd_seq = (char *)NULL; return_code = EXECUTION_SUCCESS; if (bash_readline_initialized == 0) @@ -141,7 +141,7 @@ bind_builtin (list) rl_outstream = stdout; reset_internal_getopt (); - while ((opt = internal_getopt (list, "lvpVPsSXf:q:u:m:r:x:")) != EOF) + while ((opt = internal_getopt (list, "lvpVPsSXf:q:u:m:r:x:")) != -1) { switch (opt) { @@ -193,6 +193,7 @@ bind_builtin (list) case 'X': flags |= XXFLAG; break; + CASE_HELPOPT; default: builtin_usage (); BIND_RETURN (EX_USAGE); @@ -248,7 +249,10 @@ bind_builtin (list) { if (rl_read_init_file (initfile) != 0) { - builtin_error (_("%s: cannot read: %s"), initfile, strerror (errno)); + t = printable_filename (initfile, 0); + builtin_error (_("%s: cannot read: %s"), t, strerror (errno)); + if (t != initfile) + free (t); BIND_RETURN (EXECUTION_FAILURE); } } diff --git a/builtins/break.def b/builtins/break.def index 232ac1a71..bdc1182a8 100644 --- a/builtins/break.def +++ b/builtins/break.def @@ -67,6 +67,8 @@ break_builtin (list) { intmax_t newbreak; + CHECK_HELPOPT (list); + if (check_loop_level () == 0) return (EXECUTION_SUCCESS); @@ -107,6 +109,8 @@ continue_builtin (list) { intmax_t newcont; + CHECK_HELPOPT (list); + if (check_loop_level () == 0) return (EXECUTION_SUCCESS); diff --git a/builtins/caller.def b/builtins/caller.def index 965676b38..bf5eb96f8 100644 --- a/builtins/caller.def +++ b/builtins/caller.def @@ -81,6 +81,8 @@ caller_builtin (list) char *funcname_s, *source_s, *lineno_s; intmax_t num; + CHECK_HELPOPT (list); + GET_ARRAY_FROM_VAR ("FUNCNAME", funcname_v, funcname_a); GET_ARRAY_FROM_VAR ("BASH_SOURCE", bash_source_v, bash_source_a); GET_ARRAY_FROM_VAR ("BASH_LINENO", bash_lineno_v, bash_lineno_a); diff --git a/builtins/cd.def b/builtins/cd.def index f66e68c13..421e819b2 100644 --- a/builtins/cd.def +++ b/builtins/cd.def @@ -1,7 +1,7 @@ This file is cd.def, from which is created cd.c. It implements the builtins "cd" and "pwd" in Bash. -Copyright (C) 1987-2013 Free Software Foundation, Inc. +Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -93,16 +93,17 @@ 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: resolve symbolic links in - DIR after processing instances of `..' - -P use the physical directory structure without following symbolic - links: resolve symbolic links in DIR before processing instances - of `..' - -e if the -P option is supplied, and the current working directory - cannot be determined successfully, exit with a non-zero status + -L force symbolic links to be followed: resolve symbolic + links in DIR after processing instances of `..' + -P use the physical directory structure without following + symbolic links: resolve symbolic links in DIR before + processing instances of `..' + -e if the -P option is supplied, and the current working + directory cannot be determined successfully, exit with + a non-zero status #if defined (O_XATTR) - -@ on systems that support it, present a file with extended attributes - as a directory containing the file attributes + -@ on systems that support it, present a file with extended + attributes as a directory containing the file attributes #endif The default is to follow symbolic links, as if `-L' were specified. @@ -261,7 +262,7 @@ cd_builtin (list) WORD_LIST *list; { char *dirname, *cdpath, *path, *temp; - int path_index, no_symlinks, opt, lflag; + int path_index, no_symlinks, opt, lflag, e; #if defined (RESTRICTED_SHELL) if (restricted) @@ -297,6 +298,7 @@ cd_builtin (list) xattrflag = 1; break; #endif + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -327,6 +329,13 @@ cd_builtin (list) builtin_error (_("too many arguments")); return (EXECUTION_FAILURE); } +#endif +#if 0 + else if (list->word->word[0] == '\0') + { + builtin_error (_("null directory")); + return (EXECUTION_FAILURE); + } #endif else if (list->word->word[0] == '-' && list->word->word[1] == '\0') { @@ -436,7 +445,11 @@ cd_builtin (list) FREE (temp); } - builtin_error ("%s: %s", dirname, strerror (errno)); + e = errno; + temp = printable_filename (dirname, 0); + builtin_error ("%s: %s", temp, strerror (e)); + if (temp != dirname) + free (temp); return (EXECUTION_FAILURE); } @@ -447,7 +460,7 @@ Print the name of the current working directory. Options: -L print the value of $PWD if it names the current working - directory + directory -P print the physical directory, without any symbolic links By default, `pwd' behaves as if `-L' were specified. @@ -482,6 +495,7 @@ pwd_builtin (list) case 'L': verbatim_pwd = 0; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); diff --git a/builtins/command.def b/builtins/command.def index 184527994..dcb510d5b 100644 --- a/builtins/command.def +++ b/builtins/command.def @@ -1,7 +1,7 @@ This file is command.def, from which is created command.c. It implements the builtin "command" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -30,10 +30,10 @@ information about the specified COMMANDs. Can be used to invoke commands on disk when a function with the same name exists. Options: - -p use a default value for PATH that is guaranteed to find all of - the standard utilities - -v print a description of COMMAND similar to the `type' builtin - -V print a more verbose description of each COMMAND + -p use a default value for PATH that is guaranteed to find all of + the standard utilities + -v print a description of COMMAND similar to the `type' builtin + -V print a more verbose description of each COMMAND Exit Status: Returns exit status of COMMAND, or failure if COMMAND is not found. @@ -63,7 +63,6 @@ extern size_t confstr __P((int, char *, size_t)); extern int subshell_environment; static void restore_path __P((char *)); -static char *get_standard_path __P((void)); /* Run the commands mentioned in LIST without paying attention to shell functions. */ @@ -82,7 +81,7 @@ command_builtin (list) switch (opt) { case 'p': - use_standard_path = 1; + use_standard_path = CDESC_STDPATH; break; case 'V': verbose = CDESC_SHORTDESC|CDESC_ABSPATH; /* look in common.h for constants */ @@ -90,6 +89,7 @@ command_builtin (list) case 'v': verbose = CDESC_REUSABLE; /* ditto */ break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -108,30 +108,13 @@ command_builtin (list) } #endif - begin_unwind_frame ("command_builtin"); - - if (use_standard_path) - { - old_path = get_string_value ("PATH"); - /* If old_path is NULL, $PATH is unset. If so, we want to make sure - it's unset after this command completes. */ - if (old_path) - old_path = savestring (old_path); - add_unwind_protect ((Function *)restore_path, old_path); - - standard_path = get_standard_path (); - bind_variable ("PATH", standard_path ? standard_path : "", 0); - stupidly_hack_special_variables ("PATH"); - FREE (standard_path); - } - if (verbose) { int found, any_found; for (any_found = 0; list; list = list->next) { - found = describe_command (list->word->word, verbose); + found = describe_command (list->word->word, verbose|use_standard_path); if (found == 0 && verbose != CDESC_REUSABLE) sh_notfound (list->word->word); @@ -139,11 +122,12 @@ command_builtin (list) any_found += found; } - run_unwind_frame ("command_builtin"); return (any_found ? EXECUTION_SUCCESS : EXECUTION_FAILURE); } -#define COMMAND_BUILTIN_FLAGS (CMD_NO_FUNCTIONS | CMD_INHIBIT_EXPANSION | CMD_COMMAND_BUILTIN) + begin_unwind_frame ("command_builtin"); + +#define COMMAND_BUILTIN_FLAGS (CMD_NO_FUNCTIONS | CMD_INHIBIT_EXPANSION | CMD_COMMAND_BUILTIN | (use_standard_path ? CMD_STDPATH : 0)) /* We don't want this to be reparsed (consider command echo 'foo &'), so just make a simple_command structure and call execute_command with it. */ @@ -152,18 +136,7 @@ command_builtin (list) command->value.Simple->redirects = (REDIRECT *)NULL; command->flags |= COMMAND_BUILTIN_FLAGS; command->value.Simple->flags |= COMMAND_BUILTIN_FLAGS; -#if 0 - /* This breaks for things like ( cd /tmp ; command z ababa ; echo next ) - or $(command echo a ; command echo b;) or even - { command echo a; command echo b; } & */ - /* If we're in a subshell, see if we can get away without forking - again, since we've already forked to run this builtin. */ - if (subshell_environment) - { - command->flags |= CMD_NO_FORK; - command->value.Simple->flags |= CMD_NO_FORK; - } -#endif + add_unwind_protect ((char *)dispose_command, command); result = execute_command (command); @@ -188,32 +161,3 @@ restore_path (var) stupidly_hack_special_variables ("PATH"); } - -/* Return a value for PATH that is guaranteed to find all of the standard - utilities. This uses Posix.2 configuration variables, if present. It - uses a value defined in config.h as a last resort. */ -static char * -get_standard_path () -{ -#if defined (_CS_PATH) && defined (HAVE_CONFSTR) - char *p; - size_t len; - - len = (size_t)confstr (_CS_PATH, (char *)NULL, (size_t)0); - if (len > 0) - { - p = (char *)xmalloc (len + 2); - *p = '\0'; - confstr (_CS_PATH, p, len); - return (p); - } - else - return (savestring (STANDARD_UTILS_PATH)); -#else /* !_CS_PATH || !HAVE_CONFSTR */ -# if defined (CS_PATH) - return (savestring (CS_PATH)); -# else - return (savestring (STANDARD_UTILS_PATH)); -# endif /* !CS_PATH */ -#endif /* !_CS_PATH || !HAVE_CONFSTR */ -} diff --git a/builtins/common.c b/builtins/common.c index fb2b38cdd..b100ebe1c 100644 --- a/builtins/common.c +++ b/builtins/common.c @@ -1,6 +1,6 @@ /* common.c - utility functions for all builtins */ -/* Copyright (C) 1987-2010 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -70,6 +70,7 @@ extern int errno; extern int indirection_level, subshell_environment; extern int line_number; extern int last_command_exit_value; +extern int trap_saved_exit_value; extern int running_trap; extern int posixly_correct; extern char *this_command_name, *shell_name; @@ -175,9 +176,16 @@ int no_options (list) WORD_LIST *list; { + int opt; + reset_internal_getopt (); - if (internal_getopt (list, "") != -1) + if ((opt = internal_getopt (list, "")) != -1) { + if (opt == GETOPT_HELP) + { + builtin_help (); + return (2); + } builtin_usage (); return (1); } @@ -234,7 +242,7 @@ sh_invalidnum (s) { char *msg; - if (*s == '0' && isdigit (s[1])) + if (*s == '0' && isdigit ((unsigned char)s[1])) msg = _("invalid octal number"); else if (*s == '0' && s[1] == 'x') msg = _("invalid hex number"); @@ -335,7 +343,9 @@ int sh_chkwrite (s) int s; { + QUIT; fflush (stdout); + QUIT; if (ferror (stdout)) { sh_wrerror (); @@ -403,6 +413,8 @@ remember_args (list, destructive) if (destructive) set_dollar_vars_changed (); + + invalidate_cached_quoted_dollar_at (); } static int changed_dollar_vars; @@ -494,7 +506,17 @@ get_exitstat (list) list = list->next; if (list == 0) - return (last_command_exit_value); + { + /* If we're not running the DEBUG trap, the return builtin, when not + given any arguments, uses the value of $? before the trap ran. If + given an argument, return uses it. This means that the trap can't + change $?. The DEBUG trap gets to change $?, though, since that is + part of its reason for existing, and because the extended debug mode + does things with the return value. */ + if (this_shell_builtin == return_builtin && running_trap > 0 && running_trap != DEBUG_TRAP+1) + return (trap_saved_exit_value); + return (last_command_exit_value); + } arg = list->word->word; if (arg == 0 || legal_number (arg, &sval) == 0) @@ -888,3 +910,11 @@ initialize_shell_builtins () qsort (shell_builtins, num_shell_builtins, sizeof (struct builtin), (QSFUNC *)shell_builtin_compare); } + +#if !defined (HELP_BUILTIN) +void +builtin_help () +{ + printf ("%s: %s\n", this_command_name, _("help not available in this version")); +} +#endif diff --git a/builtins/common.h b/builtins/common.h index a1298cb9c..ed852305d 100644 --- a/builtins/common.h +++ b/builtins/common.h @@ -1,6 +1,6 @@ /* common.h -- extern declarations for functions defined in common.c. */ -/* Copyright (C) 1993-2010 Free Software Foundation, Inc. +/* Copyright (C) 1993-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -24,6 +24,21 @@ #include "stdc.h" #define ISOPTION(s, c) (s[0] == '-' && !s[2] && s[1] == c) +#define ISHELP(s) (STREQ ((s), "--help")) + +#define CHECK_HELPOPT(l) \ +do { \ + if ((l) && (l)->word && ISHELP((l)->word->word)) \ + { \ + builtin_help (); \ + return (EX_USAGE); \ + } \ +} while (0) + +#define CASE_HELPOPT \ + case GETOPT_HELP: \ + builtin_help (); \ + return (EX_USAGE) /* Flag values for parse_and_execute () */ #define SEVAL_NONINT 0x001 @@ -35,6 +50,7 @@ #define SEVAL_NOLONGJMP 0x040 #define SEVAL_FUNCDEF 0x080 /* only allow function definitions */ #define SEVAL_ONECMD 0x100 /* only allow a single command */ +#define SEVAL_NOHISTEXP 0x200 /* inhibit history expansion */ /* Flags for describe_command, shared between type.def and command.def */ #define CDESC_ALL 0x001 /* type -a */ @@ -45,6 +61,7 @@ #define CDESC_FORCE_PATH 0x020 /* type -ap or type -P */ #define CDESC_NOFUNCS 0x040 /* type -f */ #define CDESC_ABSPATH 0x080 /* convert to absolute path, no ./ */ +#define CDESC_STDPATH 0x100 /* command -p */ /* Flags for get_job_by_name */ #define JM_PREFIX 0x01 /* prefix of job name */ @@ -59,6 +76,9 @@ #define ARGS_FUNC 0x02 #define ARGS_SETBLTIN 0x04 +/* Maximum number of attribute letters */ +#define MAX_ATTRIBUTES 16 + /* Functions from common.c */ extern void builtin_error __P((const char *, ...)) __attribute__((__format__ (printf, 1, 2))); extern void builtin_warning __P((const char *, ...)) __attribute__((__format__ (printf, 1, 2))); @@ -122,6 +142,9 @@ extern void bash_logout __P((void)); /* Functions from getopts.def */ extern void getopts_reset __P((int)); +/* Functions from help.def */ +extern void builtin_help __P((void)); + /* Functions from read.def */ extern void read_tty_cleanup __P((void)); extern int read_tty_modified __P((void)); @@ -138,6 +161,9 @@ extern void initialize_shell_options __P((int)); extern void reset_shell_options __P((void)); +extern char *get_current_options __P((void)); +extern void set_current_options __P((const char *)); + /* Functions from shopt.def */ extern void reset_shopt_options __P((void)); extern char **get_shopt_options __P((void)); @@ -163,6 +189,7 @@ extern int show_var_attributes __P((SHELL_VAR *, int, int)); extern int show_name_attributes __P((char *, int)); extern int show_func_attributes __P((char *, int)); extern void set_var_attribute __P((char *, int, int)); +extern int var_attribute_string __P((SHELL_VAR *, int, char *)); /* Functions from pushd.def */ extern char *get_dirstack_from_string __P((char *)); @@ -175,9 +202,12 @@ extern int parse_and_execute __P((char *, const char *, int)); extern int evalstring __P((char *, const char *, int)); extern void parse_and_execute_cleanup __P((void)); extern int parse_string __P((char *, const char *, int, char **)); +extern int should_suppress_fork __P((COMMAND *)); +extern void optimize_fork __P((COMMAND *)); /* Functions from evalfile.c */ extern int maybe_execute_file __P((const char *, int)); +extern int force_execute_file __P((const char *, int)); extern int source_file __P((const char *, int)); extern int fc_execute_file __P((const char *)); diff --git a/builtins/complete.def b/builtins/complete.def index 8499b7a6e..6bdf88b47 100644 --- a/builtins/complete.def +++ b/builtins/complete.def @@ -1,7 +1,7 @@ This file is complete.def, from which is created complete.c. It implements the builtins "complete", "compgen", and "compopt" in Bash. -Copyright (C) 1999-2011 Free Software Foundation, Inc. +Copyright (C) 1999-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -33,11 +33,11 @@ allows them to be reused as input. Options: -p print existing completion specifications in a reusable format -r remove a completion specification for each NAME, or, if no - NAMEs are supplied, all completion specifications + NAMEs are supplied, all completion specifications -D apply the completions and actions as the default for commands - without any specific completion defined + without any specific completion defined -E apply the completions and actions to "empty" commands -- - completion attempted on a blank line + completion attempted on a blank line When completion is attempted, the actions are applied in the order the uppercase-letter options are listed above. The -D option takes @@ -138,6 +138,7 @@ static const struct _compopt { { "dirnames", COPT_DIRNAMES }, { "filenames",COPT_FILENAMES}, { "noquote", COPT_NOQUOTE }, + { "nosort", COPT_NOSORT }, { "nospace", COPT_NOSPACE }, { "plusdirs", COPT_PLUSDIRS }, { (char *)NULL, 0 }, @@ -170,7 +171,7 @@ find_compopt (name) /* Build the actions and compspec options from the options specified in LIST. ACTP is a pointer to an unsigned long in which to place the bitmap of actions. OPTP is a pointer to an unsigned long in which to place the - btmap of compspec options (arguments to `-o'). PP, if non-null, gets 1 + bitmap of compspec options (arguments to `-o'). PP, if non-null, gets 1 if -p is supplied; RP, if non-null, gets 1 if -r is supplied. If either is null, the corresponding option generates an error. This also sets variables corresponding to options that take arguments as @@ -324,6 +325,7 @@ build_actions (list, flagp, actp, optp) case 'X': Xarg = list_optarg; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -653,7 +655,7 @@ print_cmd_completions (list) $BUILTIN compgen $DEPENDS_ON PROGRAMMABLE_COMPLETION $FUNCTION compgen_builtin -$SHORT_DOC compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word] +$SHORT_DOC compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word] Display possible completions depending on the options. Intended to be used from within a shell function generating possible @@ -790,7 +792,7 @@ compopt_builtin (list) ret = EXECUTION_SUCCESS; reset_internal_getopt (); - while ((opt = internal_getopt (list, "+o:DE")) != EOF) + while ((opt = internal_getopt (list, "+o:DE")) != -1) { opts = (list_opttype == '-') ? &opts_on : &opts_off; @@ -811,6 +813,7 @@ compopt_builtin (list) case 'E': Eflag = 1; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -867,5 +870,8 @@ compopt_builtin (list) pcomp_set_compspec_options (cs, opts_off, 0); } + if (wl) + dispose_words (wl); + return (ret); } diff --git a/builtins/declare.def b/builtins/declare.def index a634e7ce8..f4819b423 100644 --- a/builtins/declare.def +++ b/builtins/declare.def @@ -1,7 +1,7 @@ This file is declare.def, from which is created declare.c. It implements the builtins "declare" and "local" in Bash. -Copyright (C) 1987-2012 Free Software Foundation, Inc. +Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -31,9 +31,9 @@ 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) + source file when debugging) -g create global variables when used in a shell function; otherwise - ignored + ignored -p display the attributes and value of each NAME Options which set attributes: @@ -62,10 +62,10 @@ $END $BUILTIN typeset $FUNCTION declare_builtin -$SHORT_DOC typeset [-aAfFgilrtux] [-p] name[=value] ... +$SHORT_DOC typeset [-aAfFgilnrtux] [-p] name[=value] ... Set variable values and attributes. -Obsolete. See `help declare'. +A synonym for `declare'. See `help declare'. $END #include @@ -83,6 +83,7 @@ $END #include "../bashintl.h" #include "../shell.h" +#include "../flags.h" #include "common.h" #include "builtext.h" #include "bashgetopt.h" @@ -149,10 +150,12 @@ declare_internal (list, local_var) flags_on = flags_off = any_failed = assign_error = pflag = nodefs = mkglobal = 0; refvar = (SHELL_VAR *)NULL; reset_internal_getopt (); - while ((opt = internal_getopt (list, DECLARE_OPTS)) != EOF) + while ((opt = internal_getopt (list, DECLARE_OPTS)) != -1) { flags = list_opttype == '+' ? &flags_off : &flags_on; + /* If you add options here, see whether or not they need to be added to + the loop in subst.c:shell_expand_word_list() */ switch (opt) { case 'a': @@ -221,6 +224,7 @@ declare_internal (list, local_var) flags_off |= att_capcase|att_lowercase; break; #endif /* CASEMOD_ATTRS */ + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -282,15 +286,28 @@ declare_internal (list, local_var) /* There are arguments left, so we are making variables. */ while (list) /* declare [-aAfFirx] name [name ...] */ { - char *value, *name; - int offset, aflags; + char *value, *name, *oldname; + int offset, aflags, wflags, created_var, namelen; #if defined (ARRAY_VARS) int making_array_special, compound_array_assign, simple_array_assign; + int var_exists, array_exists, creating_array, array_subscript_assignment; #endif name = savestring (list->word->word); + wflags = list->word->flags; offset = assignment (name, 0); aflags = 0; + created_var = 0; + + if (local_var && variable_context && STREQ (name, "-")) + { + var = make_local_variable ("-"); + FREE (value_cell (var)); /* just in case */ + value = get_current_options (); + var_setvalue (var, value); + VSETATTR (var, att_invisible); + NEXT_VARIABLE (); + } if (offset) /* declare [-aAfFirx] name=value */ { @@ -309,8 +326,8 @@ declare_internal (list, local_var) that is specific to nameref variables. */ if (flags_on & att_nameref) { -#if defined (ARRAY_VARIABLES) - if (valid_array_reference (name)) +#if defined (ARRAY_VARS) + if (valid_array_reference (name, 0)) { builtin_error (_("%s: reference variable cannot be an array"), name); assign_error++; @@ -318,22 +335,39 @@ declare_internal (list, local_var) } else #endif - /* disallow self references at global scope */ - if (STREQ (name, value) && variable_context == 0) + /* disallow self references at global scope, warn at function scope */ + if (check_selfref (name, value, 0)) + { + if (variable_context == 0) + { + builtin_error (_("%s: nameref variable self references not allowed"), name); + assign_error++; + NEXT_VARIABLE (); + } + else + builtin_warning (_("%s: circular name reference"), name); + } +#if 1 + if (value && *value && (aflags & ASS_APPEND) == 0 && valid_nameref_value (value, 1) == 0) { - builtin_error (_("%s: nameref variable self references not allowed"), name); + builtin_error (_("`%s': invalid variable name for name reference"), value); assign_error++; NEXT_VARIABLE (); } +#endif } +restart_new_var_name: #if defined (ARRAY_VARS) + var_exists = array_exists = creating_array = 0; compound_array_assign = simple_array_assign = 0; + array_subscript_assignment = 0; subscript_start = (char *)NULL; if (t = strchr (name, '[')) /* ] */ { - /* If offset != 0 we have already validated any array reference */ - if (offset == 0 && valid_array_reference (name) == 0) + /* If offset != 0 we have already validated any array reference + because assignment() calls skipsubscript() */ + if (offset == 0 && valid_array_reference (name, 0) == 0) { sh_invalidid (name); assign_error++; @@ -341,7 +375,8 @@ declare_internal (list, local_var) } subscript_start = t; *t = '\0'; - making_array_special = 1; + making_array_special = 1; /* XXX - should this check offset? */ + array_subscript_assignment = offset != 0; } else making_array_special = 0; @@ -368,6 +403,7 @@ declare_internal (list, local_var) refvar = (SHELL_VAR *)NULL; if (variable_context && mkglobal == 0 && ((flags_on & att_function) == 0)) { + /* check name for validity here? */ #if defined (ARRAY_VARS) if (flags_on & att_assoc) var = make_local_assoc_variable (name); @@ -375,12 +411,41 @@ declare_internal (list, local_var) var = make_local_array_variable (name, making_array_special); else #endif + if (offset == 0 && (flags_on & att_nameref)) + { + /* First look for refvar at current scope */ + refvar = find_variable_last_nameref (name, 1); + var = find_variable (name); + /* VARIABLE_CONTEXT != 0, so we are attempting to create or modify + the attributes for a local variable at the same scope. If we've + used a reference from a previous context to resolve VAR, we + want to throw REFVAR and VAR away and create a new local var. */ + if (refvar && refvar->context != variable_context) + { + refvar = 0; + var = make_local_variable (name); + } + else if (refvar && refvar->context == variable_context) + var = refvar; + /* Maybe we just want to create a new local variable */ + else if (var == 0 || var->context != variable_context) + var = make_local_variable (name); + /* otherwise we have a var at the right context */ + } + else + /* XXX - check name for validity here with valid_nameref_value */ var = make_local_variable (name); /* sets att_invisible for new vars */ if (var == 0) { any_failed++; NEXT_VARIABLE (); } + if (var && nameref_p (var) && readonly_p (var) && nameref_cell (var) && (flags_off & att_nameref)) + { + sh_readonly (name); + any_failed++; + NEXT_VARIABLE (); + } } else var = (SHELL_VAR *)NULL; @@ -444,18 +509,33 @@ declare_internal (list, local_var) NEXT_VARIABLE (); } } - else /* declare -[aAirx] name [name...] */ + else /* declare -[aAinrx] name [name...] */ { /* Non-null if we just created or fetched a local variable. */ +#if 0 + /* This is bash-4.3 code. */ /* Here's what ksh93 seems to do. If we are modifying an existing nameref variable, we don't follow the nameref chain past the last nameref, and we set the nameref variable's value so future references to that variable will return the value of the variable we're assigning right now. */ +#else + /* Here's what ksh93 seems to do as of the 2012 version: if we are + using declare -n to modify the value of an existing nameref + variable, don't follow the nameref chain at all and just search + for a nameref at the current context. If we have a nameref, + modify its value (changing which variable it references). */ +#endif if (var == 0 && (flags_on & att_nameref)) { +#if 0 /* See if we are trying to modify an existing nameref variable */ - var = mkglobal ? find_global_variable_last_nameref (name) : find_variable_last_nameref (name); + var = mkglobal ? find_global_variable_last_nameref (name, 1) : find_variable_last_nameref (name, 1); +#else + /* See if we are trying to modify an existing nameref variable, + but don't follow the nameref chain. */ + var = mkglobal ? find_global_variable_noref (name) : find_variable_noref (name); +#endif if (var && nameref_p (var) == 0) var = 0; } @@ -467,41 +547,137 @@ declare_internal (list, local_var) else if (var == 0 && (flags_off & att_nameref)) { /* See if we are trying to modify an existing nameref variable */ - refvar = mkglobal ? find_global_variable_last_nameref (name) : find_variable_last_nameref (name); + refvar = mkglobal ? find_global_variable_last_nameref (name, 0) : find_variable_last_nameref (name, 0); if (refvar && nameref_p (refvar) == 0) refvar = 0; + /* If the nameref is readonly but doesn't have a value, ksh93 + allows the nameref attribute to be removed. If it's readonly + and has a value, even if the value doesn't reference an + existing variable, we disallow the modification */ + if (refvar && nameref_cell (refvar) && readonly_p (refvar)) + { + sh_readonly (name); + any_failed++; + NEXT_VARIABLE (); + } if (refvar) var = mkglobal ? find_global_variable (nameref_cell (refvar)) : find_variable (nameref_cell (refvar)); } - +#if defined (ARRAY_VARS) + /* If we have an array assignment to a nameref, remove the nameref + attribute and go on. */ + else if (var == 0 && offset && array_subscript_assignment) + { + var = mkglobal ? find_global_variable_noref (name) : find_variable_noref (name); + if (var && nameref_p (var)) + { + internal_warning (_("%s: removing nameref attribute"), name); + FREE (value_cell (var)); /* XXX - bash-4.3 compat */ + var_setvalue (var, (char *)NULL); + VUNSETATTR (var, att_nameref); + } + } +#endif + + /* See if we are trying to set flags or value for an existing nameref + that points to a non-existent variable: e.g., + declare -n foo=bar + unset foo # unsets bar + declare -i foo + foo=4+4 + declare -p foo */ + if (var == 0 && (flags_on || flags_off || offset)) + { + refvar = mkglobal ? find_global_variable_last_nameref (name, 0) : find_variable_last_nameref (name, 0); + if (refvar && nameref_p (refvar) == 0) + refvar = 0; + if (refvar) + var = mkglobal ? find_global_variable (nameref_cell (refvar)) : find_variable (nameref_cell (refvar)); + if (refvar && var == 0) + { + oldname = name; /* need to free this */ + + namelen = strlen (nameref_cell (refvar)); +#if defined (ARRAY_VARS) + if (subscript_start) + { + *subscript_start = '['; /*]*/ + namelen += strlen (subscript_start); + } +#endif + name = xmalloc (namelen + 2 + strlen (value) + 1); + strcpy (name, nameref_cell (refvar)); +#if defined (ARRAY_VARS) + if (subscript_start) + strcpy (name + strlen (nameref_cell (refvar)), subscript_start); +#endif + /* We are committed to using the new name, so reset */ + if (offset) + { + /* Rebuild assignment and restore offset and value */ + if (aflags & ASS_APPEND) + name[namelen++] = '+'; + name[namelen++] = '='; + if (value && *value) + strcpy (name + namelen, value); + else + name[namelen] = '\0'; + offset = assignment (name, 0); + /* if offset was valid previously, but the substituting + of the nameref value results in an invalid assignment, + throw an invalid identifier error */ + if (offset == 0) + { + free (oldname); + sh_invalidid (name); + assign_error++; + NEXT_VARIABLE (); + } + name[offset] = '\0'; + value = name + namelen; + } + free (oldname); + goto restart_new_var_name; + /* NOTREACHED */ + } + } if (var == 0) var = mkglobal ? find_global_variable (name) : find_variable (name); +#if defined (ARRAY_VARS) + var_exists = var != 0; + array_exists = var && (array_p (var) || assoc_p (var)); + creating_array = flags_on & (att_array|att_assoc); +#endif + if (var == 0) { #if defined (ARRAY_VARS) if (flags_on & att_assoc) { var = make_new_assoc_variable (name); - if (offset == 0) + if (var && offset == 0 && no_invisible_vars == 0) VSETATTR (var, att_invisible); } else if ((flags_on & att_array) || making_array_special) { var = make_new_array_variable (name); - if (offset == 0) + if (var && offset == 0 && no_invisible_vars == 0) VSETATTR (var, att_invisible); } else #endif - - if (offset) - var = mkglobal ? bind_global_variable (name, "", 0) : bind_variable (name, "", 0); - else { - var = mkglobal ? bind_global_variable (name, (char *)NULL, 0) : bind_variable (name, (char *)NULL, 0); - VSETATTR (var, att_invisible); + var = mkglobal ? bind_global_variable (name, (char *)NULL, ASS_FORCE) : bind_variable (name, (char *)NULL, ASS_FORCE); + if (var && offset == 0 && no_invisible_vars == 0) + VSETATTR (var, att_invisible); + } + if (var == 0) + { + /* Has to appear in brackets */ + NEXT_VARIABLE (); } + created_var = 1; } /* Can't take an existing array variable and make it a nameref */ else if ((array_p (var) || assoc_p (var)) && (flags_on & att_nameref)) @@ -510,8 +686,30 @@ declare_internal (list, local_var) assign_error++; NEXT_VARIABLE (); } + else if (nameref_p (var) && (flags_on & att_nameref) == 0 && (flags_off & att_nameref) == 0 && offset && valid_nameref_value (value, 1) == 0) + { + builtin_error (_("`%s': invalid variable name for name reference"), value); + any_failed++; + NEXT_VARIABLE (); + } else if (flags_on & att_nameref) { +#if 1 + /* Check of offset is to allow an assignment to a nameref var as + part of the declare word to override existing value */ + if (nameref_p (var) == 0 && var_isset (var) && offset == 0 && valid_nameref_value (value_cell (var), 0) == 0) + { + builtin_error (_("`%s': invalid variable name for name reference"), value_cell (var)); + any_failed++; + NEXT_VARIABLE (); + } +#endif + if (readonly_p (var)) + { + sh_readonly (name); + any_failed++; + NEXT_VARIABLE (); + } /* ksh93 compat: turning on nameref attribute turns off -ilu */ VUNSETATTR (var, att_integer|att_uppercase|att_lowercase|att_capcase); } @@ -519,7 +717,7 @@ declare_internal (list, local_var) /* Cannot use declare +r to turn off readonly attribute. */ if (readonly_p (var) && (flags_off & att_readonly)) { - sh_readonly (name); + sh_readonly (name_cell (var)); any_failed++; NEXT_VARIABLE (); } @@ -535,12 +733,28 @@ declare_internal (list, local_var) } #if defined (ARRAY_VARS) - if ((making_array_special || (flags_on & (att_array|att_assoc)) || array_p (var) || assoc_p (var)) && offset) + /* make declare a[2]=foo as similar to a[2]=foo as possible if + a is already an array or assoc variable. */ + if (array_subscript_assignment && array_exists && creating_array == 0) + simple_array_assign = 1; + else if ((making_array_special || creating_array || array_exists) && offset) { int vlen; vlen = STRLEN (value); - - if (value[0] == '(' && value[vlen-1] == ')') +/*itrace("declare_builtin: name = %s value = %s flags = %d", name, value, wflags);*/ + if (shell_compatibility_level > 43 && (wflags & W_COMPASSIGN) == 0 && + value[0] == '(' && value[vlen-1] == ')') + { + /* The warning is only printed when using compound assignment + to an array variable that doesn't already exist. We use + creating_array to allow things like + declare -a foo$bar='(abc)' to work. */ + if (array_exists == 0 && creating_array == 0) + internal_warning (_("%s: quoted compound array assignment deprecated"), list->word->word); + compound_array_assign = array_exists || creating_array; + simple_array_assign = making_array_special; + } + else if (value[0] == '(' && value[vlen-1] == ')' && (shell_compatibility_level < 44 || (wflags & W_COMPASSIGN))) compound_array_assign = 1; else simple_array_assign = 1; @@ -604,12 +818,13 @@ declare_internal (list, local_var) #if defined (ARRAY_VARS) if (offset && compound_array_assign) - assign_array_var_from_string (var, value, aflags); + assign_array_var_from_string (var, value, aflags|ASS_FORCE); else if (simple_array_assign && subscript_start) { /* declare [-aA] name[N]=value */ *subscript_start = '['; /* ] */ - var = assign_array_element (name, value, 0); /* XXX - not aflags */ + /* XXX - problem here with appending */ + var = assign_array_element (name, value, aflags&ASS_APPEND); /* XXX - not aflags */ *subscript_start = '\0'; if (var == 0) /* some kind of assignment error */ { @@ -623,25 +838,30 @@ declare_internal (list, local_var) { /* let bind_{array,assoc}_variable take care of this. */ if (assoc_p (var)) - bind_assoc_variable (var, name, savestring ("0"), value, aflags); + bind_assoc_variable (var, name, savestring ("0"), value, aflags|ASS_FORCE); else - bind_array_variable (name, 0, value, aflags); + bind_array_variable (name, 0, value, aflags|ASS_FORCE); } else #endif + /* XXX - no ASS_FORCE here */ /* bind_variable_value duplicates the essential internals of bind_variable() */ if (offset) { - if (onref) + if (onref || nameref_p (var)) aflags |= ASS_NAMEREF; v = bind_variable_value (var, value, aflags); - if (v == 0 && onref) + if (v == 0 && (onref || nameref_p (var))) { - sh_invalidid (value); + if (valid_nameref_value (value, 1) == 0) + sh_invalidid (value); assign_error++; /* XXX - unset this variable? or leave it as normal var? */ - delete_var (var->name, mkglobal ? global_variables : shell_variables); + if (created_var) + delete_var (var->name, mkglobal ? global_variables : shell_variables); + flags_on |= onref; /* undo change from above */ + flags_off |= offref; NEXT_VARIABLE (); } } @@ -681,9 +901,16 @@ declare_internal (list, local_var) flags_on |= onref; VUNSETATTR (var, offref); flags_off |= offref; - /* Yuck. ksh93 compatibility */ + /* Yuck. ksh93 compatibility. XXX - need to investigate more but + definitely happens when turning off nameref attribute on nameref + (see comments above). Under no circumstances allow this to turn + off readonly attribute on readonly nameref variable. */ if (refvar) - VUNSETATTR (refvar, flags_off); + { + if (flags_off & att_readonly) + flags_off &= ~att_readonly; + VUNSETATTR (refvar, flags_off); + } stupidly_hack_special_variables (name); diff --git a/builtins/echo.def b/builtins/echo.def index f4738264c..3f8b5a939 100644 --- a/builtins/echo.def +++ b/builtins/echo.def @@ -1,7 +1,7 @@ This file is echo.def, from which is created echo.c. It implements the builtin "echo" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -59,9 +59,9 @@ Options: \v vertical tab \\ backslash \0nnn the character whose ASCII code is NNN (octal). NNN can be - 0 to 3 octal digits + 0 to 3 octal digits \xHH the eight-bit character whose value is HH (hexadecimal). HH - can be one or two hex digits + can be one or two hex digits Exit Status: Returns success unless a write error occurs. @@ -161,7 +161,6 @@ just_echo: clearerr (stdout); /* clear error before writing and testing success */ - terminate_immediately++; while (list) { i = len = 0; @@ -180,6 +179,7 @@ just_echo: fflush (stdout); /* Fix for bug in SunOS 5.5 printf(3) */ #endif } + QUIT; if (do_v9 && temp) free (temp); list = list->next; @@ -190,11 +190,11 @@ just_echo: } if (list) putchar(' '); + QUIT; } if (display_return) putchar ('\n'); - terminate_immediately--; return (sh_chkwrite (EXECUTION_SUCCESS)); } diff --git a/builtins/enable.def b/builtins/enable.def index 40cbb440a..39c366982 100644 --- a/builtins/enable.def +++ b/builtins/enable.def @@ -1,7 +1,7 @@ This file is enable.def, from which is created enable.c. It implements the builtin "enable" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -66,6 +66,7 @@ $END #include "../flags.h" #include "common.h" #include "bashgetopt.h" +#include "findcmd.h" #if defined (PROGRAMMABLE_COMPLETION) # include "../pcomplete.h" @@ -92,6 +93,11 @@ static void delete_builtin __P((struct builtin *)); static int local_dlclose __P((void *)); #endif +#define STRUCT_SUFFIX "_struct" +/* for now */ +#define LOAD_SUFFIX "_builtin_load" +#define UNLOAD_SUFFIX "_builtin_unload" + static void list_some_builtins __P((int)); static int enable_shell_command __P((char *, int)); @@ -145,6 +151,7 @@ enable_builtin (list) builtin_error (_("dynamic loading not available")); return (EX_USAGE); #endif /* HAVE_DLCLOSE */ + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -290,9 +297,11 @@ dyn_load_builtin (list, flags, filename) WORD_LIST *l; void *handle; - int total, size, new, replaced; - char *struct_name, *name; + int total, size, new, replaced, r; + char *struct_name, *name, *funcname; + sh_load_func_t *loadfunc; struct builtin **new_builtins, *b, *new_shell_builtins, *old_builtin; + char *loadables_path, *load_path; if (list == 0) return (EXECUTION_FAILURE); @@ -301,15 +310,39 @@ dyn_load_builtin (list, flags, filename) #define RTLD_LAZY 1 #endif + handle = 0; + if (absolute_program (filename) == 0) + { + loadables_path = get_string_value ("BASH_LOADABLES_PATH"); + if (loadables_path) + { + load_path = find_in_path (filename, loadables_path, FS_NODIRS|FS_EXEC_PREFERRED); + if (load_path) + { #if defined (_AIX) - handle = dlopen (filename, RTLD_NOW|RTLD_GLOBAL); + handle = dlopen (load_path, RTLD_NOW|RTLD_GLOBAL); #else - handle = dlopen (filename, RTLD_LAZY); + handle = dlopen (load_path, RTLD_LAZY); +#endif /* !_AIX */ + free (load_path); + } + } + } + + /* Fall back to current directory for now */ + if (handle == 0) +#if defined (_AIX) + handle = dlopen (filename, RTLD_NOW|RTLD_GLOBAL); +#else + handle = dlopen (filename, RTLD_LAZY); #endif /* !_AIX */ if (handle == 0) { - builtin_error (_("cannot open shared object %s: %s"), filename, dlerror ()); + name = printable_filename (filename, 0); + builtin_error (_("cannot open shared object %s: %s"), name, dlerror ()); + if (name != filename) + free (name); return (EXECUTION_FAILURE); } @@ -327,18 +360,36 @@ dyn_load_builtin (list, flags, filename) size = strlen (name); struct_name = (char *)xmalloc (size + 8); strcpy (struct_name, name); - strcpy (struct_name + size, "_struct"); + strcpy (struct_name + size, STRUCT_SUFFIX); b = (struct builtin *)dlsym (handle, struct_name); if (b == 0) { + name = printable_filename (filename, 0); builtin_error (_("cannot find %s in shared object %s: %s"), - struct_name, filename, dlerror ()); + struct_name, name, dlerror ()); + if (name != filename) + free (name); free (struct_name); continue; } - free (struct_name); + funcname = xrealloc (struct_name, size + sizeof (LOAD_SUFFIX) + 1); + strcpy (funcname, name); + strcpy (funcname + size, LOAD_SUFFIX); + + loadfunc = (sh_load_func_t *)dlsym (handle, funcname); + if (loadfunc) + { + r = (*loadfunc) (name); + if (r == 0) + { + builtin_error (_("load function for %s returns failure (%d): not loaded"), name, r); + free (funcname); + continue; + } + } + free (funcname); b->flags &= ~STATIC_BUILTIN; if (flags & SPECIAL) @@ -446,7 +497,9 @@ dyn_unload_builtin (name) { struct builtin *b; void *handle; - int ref, i; + char *funcname; + sh_unload_func_t *unloadfunc; + int ref, i, size; b = builtin_address_internal (name, 1); if (b == 0) @@ -467,6 +520,17 @@ dyn_unload_builtin (name) ref++; } + /* Call any unload function */ + size = strlen (name); + funcname = xmalloc (size + sizeof (UNLOAD_SUFFIX) + 1); + strcpy (funcname, name); + strcpy (funcname + size, UNLOAD_SUFFIX); + + unloadfunc = (sh_unload_func_t *)dlsym (handle, funcname); + if (unloadfunc) + (*unloadfunc) (name); /* void function */ + free (funcname); + /* Don't remove the shared object unless the reference count of builtins using it drops to zero. */ if (ref == 1 && local_dlclose (handle) != 0) diff --git a/builtins/eval.def b/builtins/eval.def index 5e824c92d..a92b538f2 100644 --- a/builtins/eval.def +++ b/builtins/eval.def @@ -1,7 +1,7 @@ This file is eval.def, from which is created eval.c. It implements the builtin "eval" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. diff --git a/builtins/evalfile.c b/builtins/evalfile.c index 058d99daf..316b7940f 100644 --- a/builtins/evalfile.c +++ b/builtins/evalfile.c @@ -1,6 +1,6 @@ /* evalfile.c - read and evaluate commands from a file or file descriptor */ -/* Copyright (C) 1996-2009 Free Software Foundation, Inc. +/* Copyright (C) 1996-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -43,6 +43,8 @@ #include "../execute_cmd.h" #include "../trap.h" +#include + #if defined (HISTORY) # include "../bashhist.h" #endif @@ -71,6 +73,7 @@ extern int indirection_level, subshell_environment; extern int return_catch_flag, return_catch_value; extern int last_command_exit_value; extern int executing_command_builtin; +extern int current_token; /* parse.y */ /* How many `levels' of sourced files we have. */ int sourcelevel = 0; @@ -91,6 +94,7 @@ _evalfile (filename, flags) #if defined (ARRAY_VARS) SHELL_VAR *funcname_v, *nfv, *bash_source_v, *bash_lineno_v; ARRAY *funcname_a, *bash_source_a, *bash_lineno_a; + struct func_array_state *fa; # if defined (DEBUGGER) SHELL_VAR *bash_argv_v, *bash_argc_v; ARRAY *bash_argv_a, *bash_argc_a; @@ -130,7 +134,7 @@ file_error_and_exit: } return ((flags & FEVAL_BUILTIN) ? EXECUTION_FAILURE - : ((errno == ENOENT) ? 0 : -1)); + : ((errno == ENOENT && (flags & FEVAL_ENOENTOK) != 0) ? 0 : -1)); } errfunc = ((flags & FEVAL_BUILTIN) ? builtin_error : internal_error); @@ -240,6 +244,17 @@ file_error_and_exit: array_push (bash_lineno_a, t); free (t); array_push (funcname_a, "source"); /* not exactly right */ + + fa = (struct func_array_state *)xmalloc (sizeof (struct func_array_state)); + fa->source_a = bash_source_a; + fa->source_v = bash_source_v; + fa->lineno_a = bash_lineno_a; + fa->lineno_v = bash_lineno_v; + fa->funcname_a = funcname_a; + fa->funcname_v = funcname_v; + if (flags & FEVAL_UNWINDPROT) + add_unwind_protect (restore_funcarray_state, fa); + # if defined (DEBUGGER) /* Have to figure out a better way to do this when `source' is supplied arguments */ @@ -248,6 +263,8 @@ file_error_and_exit: array_push (bash_argv_a, (char *)filename); tt[0] = '1'; tt[1] = '\0'; array_push (bash_argc_a, tt); + if (flags & FEVAL_UNWINDPROT) + add_unwind_protect (pop_args, 0); } # endif #endif @@ -277,30 +294,27 @@ file_error_and_exit: { if (flags & FEVAL_NONINT) interactive = old_interactive; +#if defined (ARRAY_VARS) + restore_funcarray_state (fa); +# if defined (DEBUGGER) + if ((flags & FEVAL_NOPUSHARGS) == 0) + { + /* Don't need to call pop_args here until we do something better + when source is passed arguments (see above). */ + array_pop (bash_argc_a); + array_pop (bash_argv_a); + } +# endif +#endif return_catch_flag--; sourcelevel--; COPY_PROCENV (old_return_catch, return_catch); } -#if defined (ARRAY_VARS) - /* These two variables cannot be unset, and cannot be affected by the - sourced file. */ - array_pop (bash_source_a); - array_pop (bash_lineno_a); - - /* FUNCNAME can be unset, and so can potentially be changed by the - sourced file. */ - GET_ARRAY_FROM_VAR ("FUNCNAME", nfv, funcname_a); - if (nfv == funcname_v) - array_pop (funcname_a); -# if defined (DEBUGGER) - if ((flags & FEVAL_NOPUSHARGS) == 0) - { - array_pop (bash_argc_a); - array_pop (bash_argv_a); - } -# endif -#endif + /* If we end up with EOF after sourcing a file, which can happen when the file + doesn't end with a newline, pretend that it did. */ + if (current_token == yacc_EOF) + push_token ('\n'); /* XXX */ return ((flags & FEVAL_BUILTIN) ? result : 1); } @@ -322,6 +336,23 @@ maybe_execute_file (fname, force_noninteractive) return result; } +int +force_execute_file (fname, force_noninteractive) + const char *fname; + int force_noninteractive; +{ + char *filename; + int result, flags; + + filename = bash_tilde_expand (fname, 0); + flags = 0; + if (force_noninteractive) + flags |= FEVAL_NONINT; + result = _evalfile (filename, flags); + free (filename); + return result; +} + #if defined (HISTORY) int fc_execute_file (filename) @@ -330,8 +361,9 @@ fc_execute_file (filename) int flags; /* We want these commands to show up in the history list if - remember_on_history is set. */ - flags = FEVAL_ENOENTOK|FEVAL_HISTORY|FEVAL_REGFILE; + remember_on_history is set. We use FEVAL_BUILTIN to return + the result of parse_and_execute. */ + flags = FEVAL_ENOENTOK|FEVAL_HISTORY|FEVAL_REGFILE|FEVAL_BUILTIN; return (_evalfile (filename, flags)); } #endif /* HISTORY */ diff --git a/builtins/evalstring.c b/builtins/evalstring.c index 0758c4371..e22159144 100644 --- a/builtins/evalstring.c +++ b/builtins/evalstring.c @@ -1,6 +1,6 @@ /* evalstring.c - evaluate a string as one or more shell commands. */ -/* Copyright (C) 1996-2012 Free Software Foundation, Inc. +/* Copyright (C) 1996-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -96,6 +96,38 @@ restore_lastcom (x) the_printed_command_except_trap = x; } +int +should_suppress_fork (command) + COMMAND *command; +{ + return (startup_state == 2 && parse_and_execute_level == 1 && + running_trap == 0 && + *bash_input.location.string == '\0' && + command->type == cm_simple && +#if 0 + signal_is_trapped (EXIT_TRAP) == 0 && + signal_is_trapped (ERROR_TRAP) == 0 && +#else + any_signals_trapped () < 0 && +#endif + command->redirects == 0 && command->value.Simple->redirects == 0 && + ((command->flags & CMD_TIME_PIPELINE) == 0) && + ((command->flags & CMD_INVERT_RETURN) == 0)); +} + +void +optimize_fork (command) + COMMAND *command; +{ + if (command->type == cm_connection && + (command->value.Connection->connector == AND_AND || command->value.Connection->connector == OR_OR) && + should_suppress_fork (command->value.Connection->second)) + { + command->value.Connection->second->flags |= CMD_NO_FORK; + command->value.Connection->second->value.Simple->flags |= CMD_NO_FORK; + } +} + /* How to force parse_and_execute () to clean up after itself. */ void parse_and_execute_cleanup () @@ -141,8 +173,7 @@ parse_prologue (string, flags, tag) else unwind_protect_int (remember_on_history); /* can be used in scripts */ # if defined (BANG_HISTORY) - if (interactive_shell) - unwind_protect_int (history_expansion_inhibited); + unwind_protect_int (history_expansion_inhibited); # endif /* BANG_HISTORY */ #endif /* HISTORY */ @@ -172,6 +203,10 @@ parse_prologue (string, flags, tag) #if defined (HISTORY) if (flags & SEVAL_NOHIST) bash_history_disable (); +# if defined (BANG_HISTORY) + if (flags & SEVAL_NOHISTEXP) + history_expansion_inhibited = 1; +# endif /* BANG_HISTORY */ #endif /* HISTORY */ } @@ -184,6 +219,7 @@ parse_prologue (string, flags, tag) (flags & SEVAL_NOHIST) -> call bash_history_disable () (flags & SEVAL_NOFREE) -> don't free STRING when finished (flags & SEVAL_RESETLINE) -> reset line_number to 1 + (flags & SEVAL_NOHISTEXP) -> history_expansion_inhibited -> 1 */ int @@ -205,8 +241,8 @@ parse_and_execute (string, from_file, flags) #if defined (HAVE_POSIX_SIGNALS) /* If we longjmp and are going to go on, use this to restore signal mask */ - sigemptyset (&pe_sigmask); - sigprocmask (SIG_BLOCK, (sigset_t *)NULL, &pe_sigmask); + sigemptyset ((sigset_t *)&pe_sigmask); + sigprocmask (SIG_BLOCK, (sigset_t *)NULL, (sigset_t *)&pe_sigmask); #endif /* Reset the line number if the caller wants us to. If we don't reset the @@ -226,7 +262,12 @@ parse_and_execute (string, from_file, flags) code = should_jump_to_top_level = 0; last_result = EXECUTION_SUCCESS; + /* We need to reset enough of the token state so we can start fresh. */ + if (current_token == yacc_EOF) + current_token = '\n'; /* reset_parser() ? */ + with_input_from_string (string, from_file); + clear_shell_input_line (); while (*(bash_input.location.string)) { command = (COMMAND *)NULL; @@ -285,7 +326,7 @@ parse_and_execute (string, from_file, flags) dispose_command (command); /* pe_dispose does this */ #endif #if defined (HAVE_POSIX_SIGNALS) - sigprocmask (SIG_SETMASK, &pe_sigmask, (sigset_t *)NULL); + sigprocmask (SIG_SETMASK, (sigset_t *)&pe_sigmask, (sigset_t *)NULL); #endif continue; } @@ -349,22 +390,18 @@ parse_and_execute (string, from_file, flags) * we're not going to run the exit trap AND * we have a simple command without redirections AND * the command is not being timed AND - * the command's return status is not being inverted + * the command's return status is not being inverted AND + * there aren't any traps in effect * THEN * tell the execution code that we don't need to fork */ - if (startup_state == 2 && parse_and_execute_level == 1 && - running_trap == 0 && - *bash_input.location.string == '\0' && - command->type == cm_simple && - signal_is_trapped (EXIT_TRAP) == 0 && - command->redirects == 0 && command->value.Simple->redirects == 0 && - ((command->flags & CMD_TIME_PIPELINE) == 0) && - ((command->flags & CMD_INVERT_RETURN) == 0)) + if (should_suppress_fork (command)) { command->flags |= CMD_NO_FORK; command->value.Simple->flags |= CMD_NO_FORK; } + else if (command->type == cm_connection) + optimize_fork (command); #endif /* ONESHOT */ /* See if this is a candidate for $( gs_optarg = sh_optarg; + ret->gs_optind = sh_optind; + ret->gs_curopt = sh_curopt; + ret->gs_nextchar = nextchar; /* XXX */ + ret->gs_charindex = sh_charindex; + ret->gs_flags = 0; /* XXX for later use */ + + return ret; +} + +void +sh_getopt_restore_istate (state) + sh_getopt_state_t *state; +{ + sh_optarg = state->gs_optarg; + sh_optind = state->gs_optind; + sh_curopt = state->gs_curopt; + nextchar = state->gs_nextchar; /* XXX - probably not usable */ + sh_charindex = state->gs_charindex; + + sh_getopt_dispose_istate (state); +} + #if 0 void sh_getopt_debug_restore_state (argv) diff --git a/builtins/getopt.h b/builtins/getopt.h index 75fdec571..990961888 100644 --- a/builtins/getopt.h +++ b/builtins/getopt.h @@ -60,6 +60,23 @@ extern int sh_optopt; extern int sh_badopt; extern int sh_getopt __P((int, char *const *, const char *)); + +typedef struct sh_getopt_state +{ + char *gs_optarg; + int gs_optind; + int gs_curopt; + char *gs_nextchar; + int gs_charindex; + int gs_flags; +} sh_getopt_state_t; + extern void sh_getopt_restore_state __P((char **)); +extern sh_getopt_state_t *sh_getopt_alloc_istate __P((void)); +extern void sh_getopt_dispose_istate __P((sh_getopt_state_t *)); + +extern sh_getopt_state_t *sh_getopt_save_istate __P((void)); +extern void sh_getopt_restore_istate __P((sh_getopt_state_t *)); + #endif /* _SH_GETOPT_H */ diff --git a/builtins/getopts.def b/builtins/getopts.def index 1d2a68a44..590b11035 100644 --- a/builtins/getopts.def +++ b/builtins/getopts.def @@ -1,7 +1,7 @@ This file is getopts.def, from which is created getopts.c. It implements the builtin "getopts" in Bash. -Copyright (C) 1987-2004 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -74,6 +74,7 @@ $END #endif #include "../bashansi.h" +#include "../bashintl.h" #include "../shell.h" #include "common.h" @@ -86,6 +87,7 @@ $END extern char *this_command_name; +static int getopts_unbind_variable __P((char *)); static int getopts_bind_variable __P((char *, char *)); static int dogetopts __P((int, char **)); @@ -99,6 +101,17 @@ getopts_reset (newind) sh_badopt = 0; } +static int +getopts_unbind_variable (name) + char *name; +{ +#if 0 + return (unbind_variable (name)); +#else + return (unbind_variable_noref (name)); +#endif +} + static int getopts_bind_variable (name, value) char *name, *value; @@ -253,7 +266,7 @@ dogetopts (argc, argv) if (ret == G_EOF) { - unbind_variable ("OPTARG"); + getopts_unbind_variable ("OPTARG"); getopts_bind_variable (name, "?"); return (EXECUTION_FAILURE); } @@ -270,7 +283,7 @@ dogetopts (argc, argv) bind_variable ("OPTARG", strval, 0); } else - unbind_variable ("OPTARG"); + getopts_unbind_variable ("OPTARG"); return (ret); } @@ -289,7 +302,7 @@ dogetopts (argc, argv) else { ret = getopts_bind_variable (name, "?"); - unbind_variable ("OPTARG"); + getopts_unbind_variable ("OPTARG"); } return (ret); } @@ -316,9 +329,12 @@ getopts_builtin (list) } reset_internal_getopt (); - if (internal_getopt (list, "") != -1) + if ((ret = internal_getopt (list, "")) != -1) { - builtin_usage (); + if (ret == GETOPT_HELP) + builtin_help (); + else + builtin_usage (); return (EX_USAGE); } list = loptend; diff --git a/builtins/hash.def b/builtins/hash.def index 85ef364bc..bec4b073b 100644 --- a/builtins/hash.def +++ b/builtins/hash.def @@ -1,7 +1,7 @@ This file is hash.def, from which is created hash.c. It implements the builtin "hash" in Bash. -Copyright (C) 1987-2013 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -29,15 +29,15 @@ Determine and remember the full pathname of each command NAME. If no arguments are given, information about remembered commands is displayed. Options: - -d forget the remembered location of each NAME - -l display in a format that may be reused as input + -d forget the remembered location of each NAME + -l display in a format that may be reused as input -p pathname use PATHNAME as the full pathname of NAME - -r forget all remembered locations - -t print the remembered location of each NAME, preceding + -r forget all remembered locations + -t print the remembered location of each NAME, preceding each location with the corresponding NAME if multiple NAMEs are given Arguments: - NAME Each NAME is searched for in $PATH and added to the list + NAME Each NAME is searched for in $PATH and added to the list of remembered commands. Exit Status: @@ -115,6 +115,7 @@ hash_builtin (list) case 't': list_targets = 1; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -230,7 +231,15 @@ static int print_portable_hash_info (item) BUCKET_CONTENTS *item; { - printf ("builtin hash -p %s %s\n", pathdata(item)->path, item->key); + char *fp, *fn; + + fp = printable_filename (pathdata(item)->path, 1); + fn = printable_filename (item->key, 1); + printf ("builtin hash -p %s %s\n", fp, fn); + if (fp != pathdata(item)->path) + free (fp); + if (fn != item->key) + free (fn); return 0; } diff --git a/builtins/help.def b/builtins/help.def index 1894f177e..95a1a360b 100644 --- a/builtins/help.def +++ b/builtins/help.def @@ -1,7 +1,7 @@ This file is help.def, from which is created help.c. It implements the builtin "help" in Bash. -Copyright (C) 1987-2013 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -34,7 +34,7 @@ Options: -d output short description for each topic -m display usage in pseudo-manpage format -s output only a short usage synopsis for each topic matching - PATTERN + PATTERN Arguments: PATTERN Pattern specifiying a help topic @@ -58,6 +58,7 @@ $END #include #include +#include #include "../bashintl.h" @@ -77,6 +78,9 @@ extern int errno; extern const char * const bash_copyright; extern const char * const bash_license; +extern char *this_command_name; +extern struct builtin *current_builtin; + static void show_builtin_command_help __P((void)); static int open_helpfile __P((char *)); static void show_desc __P((char *, int)); @@ -109,6 +113,7 @@ help_builtin (list) case 's': sflag = 1; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -187,6 +192,28 @@ help_builtin (list) return (EXECUTION_SUCCESS); } +void +builtin_help () +{ + int ind; + ptrdiff_t d; + + current_builtin = builtin_address_internal (this_command_name, 0); + if (current_builtin == 0) + return; + + d = current_builtin - shell_builtins; + +#if defined (__STDC__) + ind = (int)d; +#else + ind = (int)d / sizeof (struct builtin); +#endif + + printf ("%s: %s\n", this_command_name, _(shell_builtins[ind].short_doc)); + show_longdoc (ind); +} + static int open_helpfile (name) char *name; @@ -348,7 +375,7 @@ dispcolumn (i, buf, bufsize, width, height) int width, height; { int j; - int displen; + int dispcols; char *helpdoc; /* first column */ @@ -365,9 +392,9 @@ dispcolumn (i, buf, bufsize, width, height) return; } - displen = strlen (buf); + dispcols = strlen (buf); /* two spaces */ - for (j = displen; j < width; j++) + for (j = dispcols; j < width; j++) putc (' ', stdout); /* second column */ @@ -390,7 +417,7 @@ wdispcolumn (i, buf, bufsize, width, height) int width, height; { int j; - int displen; + int dispcols, dispchars; char *helpdoc; wchar_t *wcstr; size_t slen, n; @@ -420,23 +447,29 @@ wdispcolumn (i, buf, bufsize, width, height) if (wcstr[j] == L'\n' || wcstr[j] == L'\t') wcstr[j] = L' '; - displen = wcsnwidth (wcstr+1, slen, width - 2) + 1; /* +1 for ' ' or '*' */ - + /* dispchars == number of characters that will be displayed */ + dispchars = wcsnwidth (wcstr+1, slen, width - 2); + /* dispcols == number of columns required to display DISPCHARS */ + dispcols = wcswidth (wcstr+1, dispchars) + 1; /* +1 for ' ' or '*' */ + wcstr[0] = (shell_builtins[i].flags & BUILTIN_ENABLED) ? L' ' : L'*'; - /* This assumes each wide char takes up one column position when displayed */ - wcstr[width - 2] = L'>'; /* indicate truncation */ - wcstr[width - 1] = L'\0'; + if (dispcols >= width-2) + { + wcstr[dispchars] = L'>'; /* indicate truncation */ + wcstr[dispchars+1] = L'\0'; + } printf ("%ls", wcstr); if (((i << 1) >= num_shell_builtins) || (i+height >= num_shell_builtins)) { printf ("\n"); + free (wcstr); return; } /* at least one space */ - for (j = displen; j < width; j++) + for (j = dispcols; j < width; j++) putc (' ', stdout); /* second column */ @@ -446,6 +479,7 @@ wdispcolumn (i, buf, bufsize, width, height) { /* for now */ printf ("%c%s\n", (shell_builtins[i+height].flags & BUILTIN_ENABLED) ? ' ' : '*', helpdoc); + free (wcstr); return; } @@ -460,13 +494,20 @@ wdispcolumn (i, buf, bufsize, width, height) if (wcstr[j] == L'\n' || wcstr[j] == L'\t') wcstr[j] = L' '; - displen = wcsnwidth (wcstr+1, slen, width - 2); + /* dispchars == number of characters that will be displayed */ + dispchars = wcsnwidth (wcstr+1, slen, width - 2); + dispcols = wcswidth (wcstr+1, dispchars) + 1; /* +1 for ' ' or '*' */ wcstr[0] = (shell_builtins[i+height].flags & BUILTIN_ENABLED) ? L' ' : L'*'; - /* This assumes each wide char takes up one column position when displayed */ - wcstr[width - 3] = L'>'; /* indicate truncation */ - wcstr[width - 2] = L'\0'; + /* The dispchars-1 is there for terminals that behave strangely when you + have \n in the nth column for terminal width n; this is what bash-4.3 + did. */ + if (dispcols >= width - 2) + { + wcstr[dispchars-1] = L'>'; /* indicate truncation */ + wcstr[dispchars] = L'\0'; + } printf ("%ls\n", wcstr); diff --git a/builtins/history.def b/builtins/history.def index 4cf7308f1..48b59aeb5 100644 --- a/builtins/history.def +++ b/builtins/history.def @@ -1,7 +1,7 @@ This file is history.def, from which is created history.c. It implements the builtin "history" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -31,23 +31,23 @@ entry with a `*'. An argument of N lists only the last N entries. Options: -c clear the history list by deleting all of the entries - -d offset delete the history entry at offset OFFSET. + -d offset delete the history entry at position OFFSET. -a append history lines from this session to the history file -n read all history lines not already read from the history file + and append them to the history list -r read the history file and append the contents to the history - list + list -w write the current history to the history file - and append them to the history list -p perform history expansion on each ARG and display the result - without storing it in the history list + without storing it in the history list -s append the ARGs to the history list as a single entry If FILENAME is given, it is used as the history file. Otherwise, -if $HISTFILE has a value, that is used, else ~/.bash_history. +if HISTFILE has a value, that is used, else ~/.bash_history. -If the $HISTTIMEFORMAT variable is set and not null, its value is used +If the HISTTIMEFORMAT variable is set and not null, its value is used as a format string for strftime(3) to print the time stamp associated with each displayed history entry. No time stamps are printed otherwise. @@ -141,6 +141,7 @@ history_builtin (list) flags |= PFLAG; #endif break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -208,7 +209,11 @@ history_builtin (list) else if (flags & WFLAG) /* Write entire history. */ result = write_history (filename); else if (flags & RFLAG) /* Read entire file. */ - result = read_history (filename); + { + result = read_history (filename); + history_lines_in_file = history_lines_read_from_file; + /* history_lines_in_file = where_history () + history_base - 1; */ + } else if (flags & NFLAG) /* Read `new' history from file. */ { /* Read all of the lines in the file that we haven't already read. */ @@ -219,7 +224,8 @@ history_builtin (list) result = read_history_range (filename, history_lines_in_file, -1); using_history (); - history_lines_in_file = where_history (); + history_lines_in_file = history_lines_read_from_file; + /* history_lines_in_file = where_history () + history_base - 1; */ /* If we're rewriting the history file at shell exit rather than just appending the lines from this session to it, the question is whether @@ -254,6 +260,9 @@ histtime (hlist, histtimefmt) t = history_get_time (hlist); if (t) strftime (timestr, sizeof (timestr), histtimefmt, localtime (&t)); + else if (hlist->timestamp && hlist->timestamp[0]) + snprintf (timestr, sizeof (timestr), _("%s: invalid timestamp"), + (hlist->timestamp[0] == '#') ? hlist->timestamp + 1: hlist->timestamp); else strcpy (timestr, "??"); return timestr; diff --git a/builtins/jobs.def b/builtins/jobs.def index 47da58e49..be1a7d8fa 100644 --- a/builtins/jobs.def +++ b/builtins/jobs.def @@ -1,7 +1,7 @@ This file is jobs.def, from which is created jobs.c. It implements the builtins "jobs" and "disown" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -32,7 +32,7 @@ Without options, the status of all active jobs is displayed. Options: -l lists process IDs in addition to the normal information -n lists only processes that have changed status since the last - notification + notification -p lists process IDs only -r restrict output to running jobs -s restrict output to stopped jobs @@ -118,6 +118,7 @@ jobs_builtin (list) state = JSTATE_STOPPED; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -212,7 +213,7 @@ execute_list_with_replacements (list) $BUILTIN disown $FUNCTION disown_builtin $DEPENDS_ON JOB_CONTROL -$SHORT_DOC disown [-h] [-ar] [jobspec ...] +$SHORT_DOC disown [-h] [-ar] [jobspec ... | pid ...] Remove jobs from current shell. Removes each JOBSPEC argument from the table of active jobs. Without @@ -221,7 +222,7 @@ any JOBSPECs, the shell uses its notion of the current job. Options: -a remove all jobs if JOBSPEC is not supplied -h mark each JOBSPEC so that SIGHUP is not sent to the job if the - shell receives a SIGHUP + shell receives a SIGHUP -r remove only running jobs Exit Status: @@ -252,6 +253,7 @@ disown_builtin (list) case 'r': running_jobs = 1; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); diff --git a/builtins/kill.def b/builtins/kill.def index 2e68f0348..f05189dec 100644 --- a/builtins/kill.def +++ b/builtins/kill.def @@ -1,7 +1,7 @@ This file is kill.def, from which is created kill.c. It implements the builtin "kill" in Bash. -Copyright (C) 1987-2010 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -33,7 +33,8 @@ Options: -s sig SIG is a signal name -n sig SIG is a signal number -l list the signal names; if arguments follow `-l' they are - assumed to be signal numbers for which names should be listed + assumed to be signal numbers for which names should be listed + -L synonym for -l Kill is a shell builtin for two reasons: it allows job IDs to be used instead of process IDs, and allows processes to be killed if the limit @@ -96,6 +97,7 @@ kill_builtin (list) builtin_usage (); return (EX_USAGE); } + CHECK_HELPOPT (list); any_succeeded = listing = saw_signal = 0; sig = SIGTERM; @@ -107,7 +109,7 @@ kill_builtin (list) { word = list->word->word; - if (ISOPTION (word, 'l')) + if (ISOPTION (word, 'l') || ISOPTION (word, 'L')) { listing++; list = list->next; diff --git a/builtins/let.def b/builtins/let.def index 811534e48..23e684fdc 100644 --- a/builtins/let.def +++ b/builtins/let.def @@ -86,6 +86,8 @@ let_builtin (list) intmax_t ret; int expok; + CHECK_HELPOPT (list); + /* Skip over leading `--' argument. */ if (list && list->word && ISOPTION (list->word->word, '-')) list = list->next; diff --git a/builtins/mapfile.def b/builtins/mapfile.def index 2e6a64332..0d64f6189 100644 --- a/builtins/mapfile.def +++ b/builtins/mapfile.def @@ -2,7 +2,7 @@ This file is mapfile.def, from which is created mapfile.c. It implements the builtin "mapfile" in Bash. Copyright (C) 2005-2006 Rocky Bernstein for Free Software Foundation, Inc. -Copyright (C) 2008-2012 Free Software Foundation, Inc. +Copyright (C) 2008-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -23,7 +23,7 @@ $PRODUCES mapfile.c $BUILTIN mapfile $FUNCTION mapfile_builtin -$SHORT_DOC mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array] +$SHORT_DOC mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array] Read lines from the standard input into an indexed array variable. Read lines from the standard input into the indexed array variable ARRAY, or @@ -31,16 +31,18 @@ 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. + -d delim Use DELIM to terminate lines, instead of newline + -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 DELIM from each line read (default newline) + -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. + 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 @@ -101,6 +103,8 @@ static int run_callback __P((const char *, unsigned int, const char *)); #define MAPF_CLEARARRAY 0x01 #define MAPF_CHOP 0x02 +static int delim; + static int run_callback (callback, curindex, curline) const char *callback; @@ -129,21 +133,23 @@ run_callback (callback, curindex, curline) } static void -do_chop(line) - char * line; +do_chop(line, delim) + char *line; + unsigned char delim; { int length; length = strlen (line); - if (length && line[length-1] == '\n') + if (length && line[length-1] == delim) line[length-1] = '\0'; } static int -mapfile (fd, line_count_goal, origin, nskip, callback_quantum, callback, array_name, flags) +mapfile (fd, line_count_goal, origin, nskip, callback_quantum, callback, array_name, delim, flags) int fd; long line_count_goal, origin, nskip, callback_quantum; char *callback, *array_name; + int delim; int flags; { char *line; @@ -184,11 +190,14 @@ mapfile (fd, line_count_goal, origin, nskip, callback_quantum, callback, array_n unbuffered_read = 1; #endif + if (delim != '\n') + unbuffered_read = 1; + zreset (); /* Skip any lines at beginning of file? */ for (line_count = 0; line_count < nskip; line_count++) - if (zgetline (fd, &line, &line_length, unbuffered_read) < 0) + if (zgetline (fd, &line, &line_length, delim, unbuffered_read) < 0) break; line = 0; @@ -196,12 +205,12 @@ mapfile (fd, line_count_goal, origin, nskip, callback_quantum, callback, array_n /* Reset the buffer for bash own stream */ for (array_index = origin, line_count = 1; - zgetline (fd, &line, &line_length, unbuffered_read) != -1; + zgetline (fd, &line, &line_length, delim, unbuffered_read) != -1; array_index++) { /* Remove trailing newlines? */ if (flags & MAPF_CHOP) - do_chop (line); + do_chop (line, delim); /* Has a callback been registered and if so is it time to call it? */ if (callback && line_count && (line_count % callback_quantum) == 0) @@ -246,12 +255,16 @@ mapfile_builtin (list) flags = MAPF_CLEARARRAY; callback_quantum = DEFAULT_QUANTUM; callback = 0; + delim = '\n'; reset_internal_getopt (); - while ((opt = internal_getopt (list, "u:n:O:tC:c:s:")) != -1) + while ((opt = internal_getopt (list, "d:u:n:O:tC:c:s:")) != -1) { switch (opt) { + case 'd': + delim = *list_optarg; + break; case 'u': code = legal_number (list_optarg, &intval); if (code == 0 || intval < 0 || intval != (int)intval) @@ -317,6 +330,7 @@ mapfile_builtin (list) else nskip = intval; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -339,13 +353,13 @@ mapfile_builtin (list) else array_name = list->word->word; - if (legal_identifier (array_name) == 0 && valid_array_reference (array_name) == 0) + if (legal_identifier (array_name) == 0) { sh_invalidid (array_name); return (EXECUTION_FAILURE); } - return mapfile (fd, lines, origin, nskip, callback_quantum, callback, array_name, flags); + return mapfile (fd, lines, origin, nskip, callback_quantum, callback, array_name, delim, flags); } #else diff --git a/builtins/mkbuiltins.c b/builtins/mkbuiltins.c index 15bb80f4e..4f512010f 100644 --- a/builtins/mkbuiltins.c +++ b/builtins/mkbuiltins.c @@ -1,7 +1,7 @@ /* mkbuiltins.c - Create builtins.c, builtext.h, and builtdoc.c from a single source file called builtins.def. */ -/* Copyright (C) 1987-2011 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -71,7 +71,8 @@ extern char *strcpy (); /* Flag values that builtins can have. */ #define BUILTIN_FLAG_SPECIAL 0x01 #define BUILTIN_FLAG_ASSIGNMENT 0x02 -#define BUILTIN_FLAG_POSIX_BUILTIN 0x04 +#define BUILTIN_FLAG_LOCALVAR 0x04 +#define BUILTIN_FLAG_POSIX_BUILTIN 0x08 #define BASE_INDENT 4 @@ -159,6 +160,11 @@ char *assignment_builtins[] = (char *)NULL }; +char *localvar_builtins[] = +{ + "declare", "local", "typeset", (char *)NULL +}; + /* The builtin commands that are special to the POSIX search order. */ char *posix_builtins[] = { @@ -170,6 +176,7 @@ char *posix_builtins[] = /* Forward declarations. */ static int is_special_builtin (); static int is_assignment_builtin (); +static int is_localvar_builtin (); static int is_posix_builtin (); #if !defined (HAVE_RENAME) @@ -820,6 +827,8 @@ builtin_handler (self, defs, arg) new->flags |= BUILTIN_FLAG_SPECIAL; if (is_assignment_builtin (name)) new->flags |= BUILTIN_FLAG_ASSIGNMENT; + if (is_localvar_builtin (name)) + new->flags |= BUILTIN_FLAG_LOCALVAR; if (is_posix_builtin (name)) new->flags |= BUILTIN_FLAG_POSIX_BUILTIN; @@ -1102,7 +1111,7 @@ char *structfile_header[] = { "/* This file is manufactured by ./mkbuiltins, and should not be", " edited by hand. See the source to mkbuiltins for details. */", "", - "/* Copyright (C) 1987-2012 Free Software Foundation, Inc.", + "/* Copyright (C) 1987-2015 Free Software Foundation, Inc.", "", " This file is part of GNU Bash, the Bourne Again SHell.", "", @@ -1132,6 +1141,8 @@ char *structfile_header[] = { " the list of shell reserved control structures, like `if' and `while'.", " The end of the list is denoted with a NULL name field. */", "", + "/* TRANSLATORS: Please do not translate command names in descriptions */", + "", "#include \"../builtins.h\"", (char *)NULL }; @@ -1239,23 +1250,36 @@ write_builtins (defs, structfile, externfile) else fprintf (structfile, "(sh_builtin_func_t *)0x0, "); - fprintf (structfile, "%s%s%s%s, %s_doc,\n", + fprintf (structfile, "%s%s%s%s%s, %s_doc,\n", "BUILTIN_ENABLED | STATIC_BUILTIN", (builtin->flags & BUILTIN_FLAG_SPECIAL) ? " | SPECIAL_BUILTIN" : "", (builtin->flags & BUILTIN_FLAG_ASSIGNMENT) ? " | ASSIGNMENT_BUILTIN" : "", + (builtin->flags & BUILTIN_FLAG_LOCALVAR) ? " | LOCALVAR_BUILTIN" : "", (builtin->flags & BUILTIN_FLAG_POSIX_BUILTIN) ? " | POSIX_BUILTIN" : "", document_name (builtin)); - if (inhibit_functions) - fprintf - (structfile, " N_(\"%s\"), \"%s\" },\n", - builtin->shortdoc ? builtin->shortdoc : builtin->name, - document_name (builtin)); + /* Don't translate short document summaries that are identical + to command names */ + if (builtin->shortdoc && strcmp (builtin->name, builtin->shortdoc) == 0) + { + if (inhibit_functions) + fprintf (structfile, " \"%s\", \"%s\" },\n", + builtin->shortdoc ? builtin->shortdoc : builtin->name, + document_name (builtin)); + else + fprintf (structfile, " \"%s\", (char *)NULL },\n", + builtin->shortdoc ? builtin->shortdoc : builtin->name); + } else - fprintf - (structfile, " N_(\"%s\"), (char *)NULL },\n", - builtin->shortdoc ? builtin->shortdoc : builtin->name); - + { + if (inhibit_functions) + fprintf (structfile, " N_(\"%s\"), \"%s\" },\n", + builtin->shortdoc ? builtin->shortdoc : builtin->name, + document_name (builtin)); + else + fprintf (structfile, " N_(\"%s\"), (char *)NULL },\n", + builtin->shortdoc ? builtin->shortdoc : builtin->name); + } } if (structfile || separate_helpfiles) @@ -1607,6 +1631,13 @@ is_assignment_builtin (name) return (_find_in_table (name, assignment_builtins)); } +static int +is_localvar_builtin (name) + char *name; +{ + return (_find_in_table (name, localvar_builtins)); +} + static int is_posix_builtin (name) char *name; diff --git a/builtins/printf.def b/builtins/printf.def index 7f29126d1..d39a6d3f2 100644 --- a/builtins/printf.def +++ b/builtins/printf.def @@ -1,7 +1,7 @@ This file is printf.def, from which is created printf.c. It implements the builtin "printf" in Bash. -Copyright (C) 1997-2010 Free Software Foundation, Inc. +Copyright (C) 1997-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -40,8 +40,8 @@ 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 - %(fmt)T output the date-time string resulting from using FMT as a format - string for strftime(3) + %(fmt)T output the date-time string resulting from using FMT as a format + string for strftime(3) The format is re-used as necessary to consume all of the arguments. If there are fewer arguments than the format requires, extra format @@ -116,6 +116,7 @@ extern int errno; vbadd (b, 1); \ else \ putchar (c); \ + QUIT; \ } while (0) #define PF(f, func) \ @@ -131,6 +132,7 @@ extern int errno; else \ nw = vflag ? vbprintf (f, func) : printf (f, func); \ tw += nw; \ + QUIT; \ if (ferror (stdout)) \ { \ sh_wrerror (); \ @@ -143,6 +145,7 @@ extern int errno; #define PRETURN(value) \ do \ { \ + QUIT; \ if (vflag) \ { \ bind_printf_variable (vname, vbuf, 0); \ @@ -162,9 +165,9 @@ extern int errno; } \ else if (vbuf) \ vbuf[0] = 0; \ - terminate_immediately--; \ if (ferror (stdout) == 0) \ fflush (stdout); \ + QUIT; \ if (ferror (stdout)) \ { \ sh_wrerror (); \ @@ -255,7 +258,7 @@ printf_builtin (list) case 'v': vname = list_optarg; #if defined (ARRAY_VARS) - if (legal_identifier (vname) || valid_array_reference (vname)) + if (legal_identifier (vname) || valid_array_reference (vname, 0)) #else if (legal_identifier (vname)) #endif @@ -273,6 +276,7 @@ printf_builtin (list) return (EX_USAGE); } break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -286,6 +290,14 @@ printf_builtin (list) return (EX_USAGE); } + /* Allow printf -v var "" to act like var="" */ + if (vflag && list->word->word && list->word->word[0] == '\0') + { + bind_printf_variable (vname, "", 0); + stupidly_hack_special_variables (vname); + return (EXECUTION_SUCCESS); + } + if (list->word->word == 0 || list->word->word[0] == '\0') return (EXECUTION_SUCCESS); @@ -298,8 +310,6 @@ printf_builtin (list) if (format == 0 || *format == 0) return (EXECUTION_SUCCESS); - terminate_immediately++; - /* Basic algorithm is to scan the format string for conversion specifications -- once one is found, find out if the field width or precision is a '*'; if it is, gather up value. Note, @@ -409,6 +419,7 @@ printf_builtin (list) modstart[0] = convch; modstart[1] = '\0'; + QUIT; switch(convch) { case 'c': @@ -759,6 +770,8 @@ printstr (fmt, string, len, fieldwidth, precision) /* Error if precision > INT_MAX here? */ pr = (mpr < 0 || mpr > INT_MAX) ? INT_MAX : mpr; } + else + pr = 0; /* "a null digit string is treated as zero" */ } #if 0 @@ -1045,7 +1058,7 @@ vbprintf (format, va_alist) #ifdef DEBUG if (strlen (vbuf) != vblen) - internal_error ("printf:vbadd: vblen (%d) != strlen (vbuf) (%d)", vblen, (int)strlen (vbuf)); + internal_error ("printf:vbprintf: vblen (%d) != strlen (vbuf) (%d)", vblen, (int)strlen (vbuf)); #endif return (blen); @@ -1255,7 +1268,7 @@ bind_printf_variable (name, value, flags) SHELL_VAR *v; #if defined (ARRAY_VARS) - if (valid_array_reference (name) == 0) + if (valid_array_reference (name, 0) == 0) v = bind_variable (name, value, flags); else v = assign_array_element (name, value, flags); diff --git a/builtins/pushd.def b/builtins/pushd.def index 9c6548fad..82653c479 100644 --- a/builtins/pushd.def +++ b/builtins/pushd.def @@ -1,7 +1,7 @@ This file is pushd.def, from which is created pushd.c. It implements the builtins "pushd", "popd", and "dirs" in Bash. -Copyright (C) 1987-2013 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -32,19 +32,19 @@ directory. With no arguments, exchanges the top two directories. Options: -n Suppresses the normal change of directory when adding - directories to the stack, so only the stack is manipulated. + directories to the stack, so only the stack is manipulated. Arguments: +N Rotates the stack so that the Nth directory (counting - from the left of the list shown by `dirs', starting with - zero) is at the top. + from the left of the list shown by `dirs', starting with + zero) is at the top. -N Rotates the stack so that the Nth directory (counting - from the right of the list shown by `dirs', starting with - zero) is at the top. + from the right of the list shown by `dirs', starting with + zero) is at the top. dir Adds DIR to the directory stack at the top, making it the - new current working directory. + new current working directory. The `dirs' builtin displays the directory stack. @@ -64,16 +64,16 @@ the top directory from the stack, and changes to the new top directory. Options: -n Suppresses the normal change of directory when removing - directories from the stack, so only the stack is manipulated. + directories from the stack, so only the stack is manipulated. Arguments: +N Removes the Nth entry counting from the left of the list - shown by `dirs', starting with zero. For example: `popd +0' - removes the first directory, `popd +1' the second. + shown by `dirs', starting with zero. For example: `popd +0' + removes the first directory, `popd +1' the second. -N Removes the Nth entry counting from the right of the list - shown by `dirs', starting with zero. For example: `popd -0' - removes the last directory, `popd -1' the next to last. + shown by `dirs', starting with zero. For example: `popd -0' + removes the last directory, `popd -1' the next to last. The `dirs' builtin displays the directory stack. @@ -95,17 +95,19 @@ back up through the list with the `popd' command. Options: -c clear the directory stack by deleting all of the elements -l do not print tilde-prefixed versions of directories relative - to your home directory + to your home directory -p print the directory stack with one entry per line -v print the directory stack with one entry per line prefixed - with its position in the stack + with its position in the stack Arguments: - +N Displays the Nth entry counting from the left of the list shown by - dirs when invoked without options, starting with zero. + +N Displays the Nth entry counting from the left of the list + shown by dirs when invoked without options, starting with + zero. - -N Displays the Nth entry counting from the right of the list shown by - dirs when invoked without options, starting with zero. + -N Displays the Nth entry counting from the right of the list + shown by dirs when invoked without options, starting with + zero. Exit Status: Returns success unless an invalid option is supplied or an error occurs. @@ -178,6 +180,8 @@ pushd_builtin (list) char direction; orig_list = list; + + CHECK_HELPOPT (list); if (list && list->word && ISOPTION (list->word->word, '-')) { list = list->next; @@ -321,6 +325,8 @@ popd_builtin (list) char direction; char *which_word; + CHECK_HELPOPT (list); + which_word = (char *)NULL; for (flags = 0, which = 0, direction = '+'; list; list = list->next) { @@ -402,6 +408,7 @@ dirs_builtin (list) intmax_t i; char *temp, *w; + CHECK_HELPOPT (list); for (flags = vflag = index_flag = 0, desired_index = -1, w = ""; list; list = list->next) { if (ISOPTION (list->word->word, 'l')) diff --git a/builtins/read.def b/builtins/read.def index 56c23010b..48fda3306 100644 --- a/builtins/read.def +++ b/builtins/read.def @@ -1,7 +1,7 @@ This file is read.def, from which is created read.c. It implements the builtin "read" in Bash. -Copyright (C) 1987-2012 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -39,25 +39,27 @@ Options: variable ARRAY, starting at zero -d delim continue until the first character of DELIM is read, rather than newline - -e use Readline to obtain the line in an interactive shell - -i text Use TEXT as the initial text for Readline + -e use Readline to obtain the line in an interactive shell + -i text use TEXT as the initial text for Readline -n nchars return after reading NCHARS characters rather than waiting - for a newline, but honor a delimiter if fewer than NCHARS - characters are read before the delimiter + for a newline, but honor a delimiter if fewer than + NCHARS characters are read before the delimiter -N nchars return only after reading exactly NCHARS characters, unless - EOF is encountered or read times out, ignoring any delimiter + EOF is encountered or read times out, ignoring any + delimiter -p prompt output the string PROMPT without a trailing newline before attempting to read - -r do not allow backslashes to escape any characters - -s do not echo input coming from a terminal - -t timeout time out and return failure if a complete line of input is - not read within TIMEOUT seconds. The value of the TMOUT - variable is the default timeout. TIMEOUT may be a - fractional number. If TIMEOUT is 0, read returns immediately, - without trying to read any data, returning success only if - input is available on the specified file descriptor. The - exit status is greater than 128 if the timeout is exceeded - -u fd read from file descriptor FD instead of the standard input + -r do not allow backslashes to escape any characters + -s do not echo input coming from a terminal + -t timeout time out and return failure if a complete line of + input is not read within TIMEOUT seconds. The value of the + TMOUT variable is the default timeout. TIMEOUT may be a + fractional number. If TIMEOUT is 0, read returns + immediately, without trying to read any data, returning + success only if input is available on the specified + file descriptor. The exit status is greater than 128 + if the timeout is exceeded + -u fd read from file descriptor FD instead of the standard input Exit Status: The return code is zero, unless end-of-file is encountered, read times out @@ -163,8 +165,9 @@ sigalrm (s) static void reset_alarm () { - set_signal_handler (SIGALRM, old_alrm); + /* Cancel alarm before restoring signal handler. */ falarm (0, 0); + set_signal_handler (SIGALRM, old_alrm); } /* Read the value of the shell variables whose names follow. @@ -314,6 +317,7 @@ read_builtin (list) case 'd': delim = *list_optarg; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -333,7 +337,7 @@ read_builtin (list) /* Convenience: check early whether or not the first of possibly several variable names is a valid identifier, and bail early if so. */ #if defined (ARRAY_VARS) - if (list && legal_identifier (list->word->word) == 0 && valid_array_reference (list->word->word) == 0) + if (list && legal_identifier (list->word->word) == 0 && valid_array_reference (list->word->word, 0) == 0) #else if (list && legal_identifier (list->word->word) == 0) #endif @@ -793,7 +797,10 @@ assign_vars: } else var = bind_variable ("REPLY", input_string, 0); - VUNSETATTR (var, att_invisible); + if (var == 0 || readonly_p (var) || noassign_p (var)) + retval = EXECUTION_FAILURE; + else + VUNSETATTR (var, att_invisible); xfree (input_string); return (retval); @@ -812,7 +819,7 @@ assign_vars: { varname = list->word->word; #if defined (ARRAY_VARS) - if (legal_identifier (varname) == 0 && valid_array_reference (varname) == 0) + if (legal_identifier (varname) == 0 && valid_array_reference (varname, 0) == 0) #else if (legal_identifier (varname) == 0) #endif @@ -860,7 +867,7 @@ assign_vars: /* Now assign the rest of the line to the last variable argument. */ #if defined (ARRAY_VARS) - if (legal_identifier (list->word->word) == 0 && valid_array_reference (list->word->word) == 0) + if (legal_identifier (list->word->word) == 0 && valid_array_reference (list->word->word, 0) == 0) #else if (legal_identifier (list->word->word) == 0) #endif @@ -923,7 +930,7 @@ bind_read_variable (name, value) SHELL_VAR *v; #if defined (ARRAY_VARS) - if (valid_array_reference (name) == 0) + if (valid_array_reference (name, 0) == 0) v = bind_variable (name, value, 0); else v = assign_array_element (name, value, 0); diff --git a/builtins/reserved.def b/builtins/reserved.def index 2478f1630..7f3c236b2 100644 --- a/builtins/reserved.def +++ b/builtins/reserved.def @@ -145,7 +145,7 @@ to indices 0 and 1 of an array variable NAME in the executing shell. The default NAME is "COPROC". Exit Status: -Returns the exit status of COMMAND. +The coproc command returns an exit status of 0. $END $BUILTIN function diff --git a/builtins/return.def b/builtins/return.def index e6674dfa3..4d9fef1d2 100644 --- a/builtins/return.def +++ b/builtins/return.def @@ -1,7 +1,7 @@ This file is return.def, from which is created return.c. It implements the builtin "return" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -60,16 +60,12 @@ int return_builtin (list) WORD_LIST *list; { -#if 0 - if (no_options (list)) - return (EX_USAGE); - list = loptend; /* skip over possible `--' */ -#endif + CHECK_HELPOPT (list); return_catch_value = get_exitstat (list); if (return_catch_flag) - longjmp (return_catch, 1); + sh_longjmp (return_catch, 1); else { builtin_error (_("can only `return' from a function or sourced script")); diff --git a/builtins/set.def b/builtins/set.def index 9fbbca14b..8122361e3 100644 --- a/builtins/set.def +++ b/builtins/set.def @@ -1,7 +1,7 @@ This file is set.def, from which is created set.c. It implements the "set" and "unset" builtins in Bash. -Copyright (C) 1987-2012 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -141,7 +141,7 @@ Options: #endif /* BANG_HISTORY */ -P If set, do not resolve symbolic links when executing commands such as cd which change the current directory. - -T If set, the DEBUG trap is inherited by shell functions. + -T If set, the DEBUG and RETURN traps are inherited by shell functions. -- Assign any remaining arguments to the positional parameters. If there are no remaining arguments, the positional parameters are unset. @@ -179,9 +179,13 @@ static int bash_set_history __P((int, char *)); static const char * const on = "on"; static const char * const off = "off"; +static int previous_option_value; + /* A struct used to match long options for set -o to the corresponding option letter or internal variable. The functions can be called to - dynamically generate values. */ + dynamically generate values. If you add a new variable name here + that doesn't have a corresponding single-character option letter, make + sure to set the value appropriately in reset_shell_options. */ const struct { char *name; int letter; @@ -322,17 +326,52 @@ get_minus_o_opts () return ret; } +char * +get_current_options () +{ + char *temp; + int i; + + temp = (char *)xmalloc (1 + N_O_OPTIONS); + for (i = 0; o_options[i].name; i++) + { + if (o_options[i].letter) + temp[i] = *(find_flag (o_options[i].letter)); + else + temp[i] = GET_BINARY_O_OPTION_VALUE (i, o_options[i].name); + } + temp[i] = '\0'; + return (temp); +} + +void +set_current_options (bitmap) + const char *bitmap; +{ + int i; + + if (bitmap == 0) + return; + for (i = 0; o_options[i].name; i++) + { + if (o_options[i].letter) + change_flag (o_options[i].letter, bitmap[i] ? FLAG_ON : FLAG_OFF); + else + SET_BINARY_O_OPTION_VALUE (i, bitmap[i] ? FLAG_ON : FLAG_OFF, o_options[i].name); + } +} + static int set_ignoreeof (on_or_off, option_name) int on_or_off; char *option_name; { ignoreeof = on_or_off == FLAG_ON; - unbind_variable ("ignoreeof"); + unbind_variable_noref ("ignoreeof"); if (ignoreeof) bind_variable ("IGNOREEOF", "10", 0); else - unbind_variable ("IGNOREEOF"); + unbind_variable_noref ("IGNOREEOF"); sv_ignoreeof ("IGNOREEOF"); return 0; } @@ -344,7 +383,7 @@ set_posix_mode (on_or_off, option_name) { posixly_correct = on_or_off == FLAG_ON; if (posixly_correct == 0) - unbind_variable ("POSIXLY_CORRECT"); + unbind_variable_noref ("POSIXLY_CORRECT"); else bind_variable ("POSIXLY_CORRECT", "y", 0); sv_strict_posix ("POSIXLY_CORRECT"); @@ -425,12 +464,13 @@ set_minus_o_option (on_or_off, option_name) { if (o_options[i].letter == 0) { + previous_option_value = GET_BINARY_O_OPTION_VALUE (i, o_options[i].name); SET_BINARY_O_OPTION_VALUE (i, on_or_off, option_name); return (EXECUTION_SUCCESS); } else { - if (change_flag (o_options[i].letter, on_or_off) == FLAG_ERROR) + if ((previous_option_value = change_flag (o_options[i].letter, on_or_off)) == FLAG_ERROR) { sh_invalidoptname (option_name); return (EXECUTION_FAILURE); @@ -585,10 +625,18 @@ initialize_shell_options (no_shellopts) void reset_shell_options () { + pipefail_opt = 0; + ignoreeof = 0; + +#if defined (STRICT_POSIX) + posixly_correct = 1; +#else + posixly_correct = 0; +#endif #if defined (HISTORY) + dont_save_function_defs = 0; remember_on_history = enable_history_list = 1; #endif - ignoreeof = 0; } /* Set some flags from the word values in the input list. If LIST is empty, @@ -615,6 +663,14 @@ set_builtin (list) { switch (flag_name) { + case 'i': /* don't allow set -i */ + s[0] = list_opttype; + s[1] = 'i'; + s[2] = '\0'; + sh_invalidopt (s); + builtin_usage (); + return (EX_USAGE); + CASE_HELPOPT; case '?': builtin_usage (); return (list_optopt == '?' ? EXECUTION_SUCCESS : EX_USAGE); @@ -733,7 +789,7 @@ Options: -f treat each NAME as a shell function -v treat each NAME as a shell variable -n treat each NAME as a name reference and unset the variable itself - rather than the variable it references + rather than the variable it references Without options, unset first tries to unset a variable, and if that fails, tries to unset a function. @@ -752,7 +808,7 @@ unset_builtin (list) { int unset_function, unset_variable, unset_array, opt, nameref, any_failed; int global_unset_func, global_unset_var; - char *name; + char *name, *tname; unset_function = unset_variable = unset_array = nameref = any_failed = 0; global_unset_func = global_unset_var = 0; @@ -771,6 +827,7 @@ unset_builtin (list) case 'n': nameref = 1; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -802,7 +859,7 @@ unset_builtin (list) #if defined (ARRAY_VARS) unset_array = 0; - if (!unset_function && valid_array_reference (name)) + if (!unset_function && nameref == 0 && valid_array_reference (name, 0)) { t = strchr (name, '['); *t++ = '\0'; @@ -823,7 +880,7 @@ unset_builtin (list) /* Only search for functions here if -f supplied. */ var = unset_function ? find_function (name) - : (nameref ? find_variable_last_nameref (name) : find_variable (name)); + : (nameref ? find_variable_last_nameref (name, 0) : find_variable (name)); /* Some variables (but not functions yet) cannot be unset, period. */ if (var && unset_function == 0 && non_unsettable_p (var)) @@ -832,11 +889,15 @@ unset_builtin (list) NEXT_VARIABLE (); } + /* if we have a nameref we want to use it */ + if (var && unset_function == 0 && nameref == 0 && STREQ (name, name_cell(var)) == 0) + name = name_cell (var); + /* Posix.2 says try variables first, then functions. If we would find a function after unsuccessfully searching for a variable, note that we're acting on a function now as if -f were supplied. The readonly check below takes care of it. */ - if (var == 0 && unset_variable == 0 && unset_function == 0) + if (var == 0 && nameref == 0 && unset_variable == 0 && unset_function == 0) { if (var = find_function (name)) unset_function = 1; @@ -854,29 +915,52 @@ unset_builtin (list) #if defined (ARRAY_VARS) if (var && unset_array) { - if (array_p (var) == 0 && assoc_p (var) == 0) + /* Let unbind_array_element decide what to do with non-array vars */ + tem = unbind_array_element (var, t); + if (tem == -2 && array_p (var) == 0 && assoc_p (var) == 0) { builtin_error (_("%s: not an array variable"), var->name); NEXT_VARIABLE (); } - else + else if (tem < 0) + any_failed++; + } + else +#endif /* ARRAY_VARS */ + /* If we're trying to unset a nameref variable whose value isn't a set + variable, make sure we still try to unset the nameref's value */ + if (var == 0 && nameref == 0 && unset_function == 0) + { + var = find_variable_last_nameref (name, 0); + if (var && nameref_p (var)) { - tem = unbind_array_element (var, t); - if (tem == -1) - any_failed++; +#if defined (ARRAY_VARS) + if (valid_array_reference (nameref_cell (var), 0)) + { + tname = savestring (nameref_cell (var)); + if (var = array_variable_part (tname, &t, 0)) + tem = unbind_array_element (var, t); + free (tname); + } + else +#endif + tem = unbind_variable (nameref_cell (var)); } + else + tem = unbind_variable (name); } else -#endif /* ARRAY_VARS */ - tem = unset_function ? unbind_func (name) : (nameref ? unbind_nameref (name) : unbind_variable (name)); + tem = unset_function ? unbind_func (name) : (nameref ? unbind_nameref (name) : unbind_variable (name)); /* This is what Posix.2 says: ``If neither -f nor -v is specified, the name refers to a variable; if a variable by that name does not exist, a function by that name, if any, shall be unset.'' */ - if (tem == -1 && unset_function == 0 && unset_variable == 0) + if (tem == -1 && nameref == 0 && unset_function == 0 && unset_variable == 0) tem = unbind_func (name); + name = list->word->word; /* reset above for namerefs */ + /* SUSv3, POSIX.1-2001 say: ``Unsetting a variable or function that was not previously set shall not be considered an error.'' */ diff --git a/builtins/setattr.def b/builtins/setattr.def index 3be31896e..8f29e11e8 100644 --- a/builtins/setattr.def +++ b/builtins/setattr.def @@ -1,7 +1,7 @@ This file is setattr.def, from which is created setattr.c. It implements the builtins "export" and "readonly", in Bash. -Copyright (C) 1987-2012 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -34,6 +34,7 @@ $PRODUCES setattr.c #include "../bashintl.h" #include "../shell.h" +#include "../flags.h" #include "common.h" #include "bashgetopt.h" @@ -93,8 +94,8 @@ Options: -a refer to indexed array variables -A refer to associative array variables -f refer to shell functions - -p display a list of all readonly variables or functions, depending on - whether or not the -f option is given + -p display a list of all readonly variables or functions, + depending on whether or not the -f option is given An argument of `--' disables further option processing. @@ -133,6 +134,8 @@ set_or_show_attributes (list, attribute, nodefs) #if defined (ARRAY_VARS) WORD_LIST *nlist, *tlist; WORD_DESC *w; + char optw[8]; + int opti; #endif functions_only = arrays_only = assoc_only = 0; @@ -159,6 +162,7 @@ set_or_show_attributes (list, attribute, nodefs) #endif case 'p': break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -187,6 +191,11 @@ set_or_show_attributes (list, attribute, nodefs) builtin_error (_("%s: not a function"), name); any_failed++; } + else if ((attribute & att_exported) && undo == 0 && exportable_function_name (name) == 0) + { + builtin_error (_("%s: cannot export"), name); + any_failed++; + } else SETVARATTR (var, attribute, undo); @@ -231,8 +240,24 @@ set_or_show_attributes (list, attribute, nodefs) { tlist = list->next; list->next = (WORD_LIST *)NULL; - w = arrays_only ? make_word ("-ra") : make_word ("-rA"); + /* Add -g to avoid readonly/export creating local variables: + only local/declare/typeset create local variables */ + opti = 0; + optw[opti++] = '-'; + optw[opti++] = 'g'; + if (attribute & att_readonly) + optw[opti++] = 'r'; + if (attribute & att_exported) + optw[opti++] = 'x'; + if (arrays_only) + optw[opti++] = 'a'; + else + optw[opti++] = 'A'; + optw[opti] = '\0'; + + w = make_word (optw); nlist = make_word_list (w, list); + opt = declare_builtin (nlist); if (opt != EXECUTION_SUCCESS) assign_error++; @@ -296,6 +321,12 @@ set_or_show_attributes (list, attribute, nodefs) else if (assoc_only && assoc_p (var) == 0) continue; #endif + + /* If we imported a variable that's not a valid identifier, don't + show it in any lists. */ + if ((var->attributes & (att_invisible|att_imported)) == (att_invisible|att_imported)) + continue; + if ((var->attributes & attribute)) { show_var_attributes (var, READONLY_OR_EXPORT, nodefs); @@ -336,18 +367,12 @@ show_all_var_attributes (v, nodefs) return (any_failed == 0 ? EXECUTION_SUCCESS : EXECUTION_FAILURE); } -/* Show the attributes for shell variable VAR. If NODEFS is non-zero, - don't show function definitions along with the name. If PATTR is - non-zero, it indicates we're being called from `export' or `readonly'. - In POSIX mode, this prints the name of the calling builtin (`export' - or `readonly') instead of `declare', and doesn't print function defs - when called by `export' or `readonly'. */ int -show_var_attributes (var, pattr, nodefs) +var_attribute_string (var, pattr, flags) SHELL_VAR *var; - int pattr, nodefs; + int pattr; + char *flags; /* filled in with attributes */ { - char flags[16], *x; int i; i = 0; @@ -405,6 +430,24 @@ show_var_attributes (var, pattr, nodefs) } flags[i] = '\0'; + return i; +} + +/* Show the attributes for shell variable VAR. If NODEFS is non-zero, + don't show function definitions along with the name. If PATTR is + non-zero, it indicates we're being called from `export' or `readonly'. + In POSIX mode, this prints the name of the calling builtin (`export' + or `readonly') instead of `declare', and doesn't print function defs + when called by `export' or `readonly'. */ +int +show_var_attributes (var, pattr, nodefs) + SHELL_VAR *var; + int pattr, nodefs; +{ + char flags[MAX_ATTRIBUTES], *x; + int i; + + i = var_attribute_string (var, pattr, flags); /* If we're printing functions with definitions, print the function def first, then the attributes, instead of printing output that can't be @@ -425,10 +468,12 @@ show_var_attributes (var, pattr, nodefs) printf ("%s ", this_command_name); #if defined (ARRAY_VARS) - if (array_p (var)) - print_array_assignment (var, 1); + if (invisible_p (var) && (array_p (var) || assoc_p (var))) + printf ("%s\n", var->name); + else if (array_p (var)) + print_array_assignment (var, 0); else if (assoc_p (var)) - print_assoc_assignment (var, 1); + print_assoc_assignment (var, 0); else #endif /* force `readonly' and `export' to not print out function definitions @@ -461,7 +506,7 @@ show_name_attributes (name, nodefs) var = find_variable_noref (name); #endif - if (var && invisible_p (var) == 0) + if (var /* && invisible_p (var) == 0 */) /* XXX bash-4.4/bash-5.0 */ { show_var_attributes (var, READONLY_OR_EXPORT, nodefs); return (0); @@ -493,8 +538,8 @@ set_var_attribute (name, attribute, undo) char *name; int attribute, undo; { - SHELL_VAR *var, *tv, *v; - char *tvalue; + SHELL_VAR *var, *tv, *v, *refvar; + char *tvalue, *refname; if (undo) var = find_variable (name); @@ -509,6 +554,11 @@ set_var_attribute (name, attribute, undo) tvalue = var_isset (tv) ? savestring (value_cell (tv)) : savestring (""); var = bind_variable (tv->name, tvalue, 0); + if (var == 0) + { + free (tvalue); + return; /* XXX - no error message here */ + } var->attributes |= tv->attributes & ~att_tempvar; /* This avoids an error message when propagating a read-only var later on. */ @@ -533,10 +583,23 @@ set_var_attribute (name, attribute, undo) else { var = find_variable_notempenv (name); + if (var == 0) + { + /* We might have a nameref pointing to something that we can't + resolve to a shell variable. If we do, skip it. We do a little + checking just so we can print an error message. */ + refvar = find_variable_nameref_for_create (name, 0); + if (refvar == INVALID_NAMEREF_VALUE) + return; + /* Otherwise we probably have a nameref pointing to a variable + that hasn't been created yet. bind_variable will take care + of that. */ + } if (var == 0) { var = bind_variable (name, (char *)NULL, 0); - VSETATTR (var, att_invisible); + if (var && no_invisible_vars == 0) + VSETATTR (var, att_invisible); } else if (var->context != 0) VSETATTR (var, att_propagate); diff --git a/builtins/shift.def b/builtins/shift.def index 32130862a..589e3299a 100644 --- a/builtins/shift.def +++ b/builtins/shift.def @@ -61,6 +61,8 @@ shift_builtin (list) register int count; WORD_LIST *temp; + CHECK_HELPOPT (list); + if (get_numeric_arg (list, 0, ×) == 0) return (EXECUTION_FAILURE); @@ -97,5 +99,8 @@ shift_builtin (list) else dollar_vars[9] = (char *)NULL; } + + invalidate_cached_quoted_dollar_at (); + return (EXECUTION_SUCCESS); } diff --git a/builtins/shopt.def b/builtins/shopt.def index f0f9d9900..2febb7eeb 100644 --- a/builtins/shopt.def +++ b/builtins/shopt.def @@ -1,7 +1,7 @@ This file is shopt.def, from which is created shopt.c. It implements the Bash `shopt' builtin. -Copyright (C) 1994-2012 Free Software Foundation, Inc. +Copyright (C) 1994-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -90,6 +90,7 @@ extern int autocd; extern int glob_star; extern int glob_asciirange; extern int lastpipe_opt; +extern int inherit_errexit; #if defined (EXTENDED_GLOB) extern int extended_glob; @@ -131,15 +132,21 @@ static int set_restricted_shell __P((char *, int)); static int shopt_set_complete_direxpand __P((char *, int)); #endif +static int shopt_set_debug_mode __P((char *, int)); + static int shopt_login_shell; static int shopt_compat31; static int shopt_compat32; static int shopt_compat40; static int shopt_compat41; static int shopt_compat42; +static int shopt_compat43; typedef int shopt_set_func_t __P((char *, int)); +/* If you add a new variable name here, make sure to set the default value + appropriately in reset_shopt_options. */ + static struct { char *name; int *value; @@ -161,6 +168,7 @@ static struct { { "compat40", &shopt_compat40, set_compatibility_level }, { "compat41", &shopt_compat41, set_compatibility_level }, { "compat42", &shopt_compat42, set_compatibility_level }, + { "compat43", &shopt_compat43, set_compatibility_level }, #if defined (READLINE) { "complete_fullquote", &complete_fullquote, (shopt_set_func_t *)NULL}, { "direxpand", &dircomplete_expand, shopt_set_complete_direxpand }, @@ -170,7 +178,7 @@ static struct { { "execfail", &no_exit_on_failed_exec, (shopt_set_func_t *)NULL }, { "expand_aliases", &expand_aliases, (shopt_set_func_t *)NULL }, #if defined (DEBUGGER) - { "extdebug", &debugging_mode, (shopt_set_func_t *)NULL }, + { "extdebug", &debugging_mode, shopt_set_debug_mode }, #endif #if defined (EXTENDED_GLOB) { "extglob", &extended_glob, (shopt_set_func_t *)NULL }, @@ -180,8 +188,8 @@ static struct { #if defined (READLINE) { "force_fignore", &force_fignore, (shopt_set_func_t *)NULL }, #endif - { "globstar", &glob_star, (shopt_set_func_t *)NULL }, { "globasciiranges", &glob_asciirange, (shopt_set_func_t *)NULL }, + { "globstar", &glob_star, (shopt_set_func_t *)NULL }, { "gnu_errfmt", &gnu_error_format, (shopt_set_func_t *)NULL }, #if defined (HISTORY) { "histappend", &force_append_history, (shopt_set_func_t *)NULL }, @@ -192,6 +200,7 @@ static struct { { "hostcomplete", &perform_hostname_completion, shopt_enable_hostname_completion }, #endif { "huponexit", &hup_on_exit, (shopt_set_func_t *)NULL }, + { "inherit_errexit", &inherit_errexit, (shopt_set_func_t *)NULL }, { "interactive_comments", &interactive_comments, set_shellopts_after_change }, { "lastpipe", &lastpipe_opt, (shopt_set_func_t *)NULL }, #if defined (HISTORY) @@ -267,6 +276,7 @@ shopt_builtin (list) case 'p': flags |= PFLAG; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -297,33 +307,68 @@ shopt_builtin (list) } /* Reset the options managed by `shopt' to the values they would have at - shell startup. */ + shell startup. Variables from shopt_vars. */ void reset_shopt_options () { + autocd = cdable_vars = cdspelling = 0; + check_hashed_filenames = CHECKHASH_DEFAULT; + check_window_size = CHECKWINSIZE_DEFAULT; allow_null_glob_expansion = glob_dot_filenames = 0; - cdable_vars = mail_warning = 0; - no_exit_on_failed_exec = print_shift_error = 0; - check_hashed_filenames = cdspelling = expand_aliases = 0; - + no_exit_on_failed_exec = 0; + expand_aliases = 0; + extended_quote = 1; + fail_glob_expansion = 0; + glob_asciirange = GLOBASCII_DEFAULT; + glob_star = 0; + gnu_error_format = 0; + hup_on_exit = 0; + inherit_errexit = 0; + interactive_comments = 1; + lastpipe_opt = 0; + mail_warning = 0; + glob_ignore_case = match_ignore_case = 0; + print_shift_error = 0; source_uses_path = promptvars = 1; - check_window_size = CHECKWINSIZE_DEFAULT; +#if defined (JOB_CONTROL) + check_jobs_at_exit = 0; +#endif #if defined (EXTENDED_GLOB) - extended_glob = 0; + extended_glob = EXTGLOB_DEFAULT; #endif #if defined (HISTORY) - literal_history = force_append_history = 0; + literal_history = 0; + force_append_history = 0; command_oriented_history = 1; #endif #if defined (READLINE) + complete_fullquote = 1; + force_fignore = 1; hist_verify = history_reediting = 0; perform_hostname_completion = 1; +# if DIRCOMPLETE_EXPAND_DEFAULT + dircomplete_expand = 1; +# else + dircomplete_expand = 0; +#endif + dircomplete_spelling = 0; + no_empty_command_completion = 0; #endif +#if defined (PROGRAMMABLE_COMPLETION) + prog_completion_enabled = 1; +#endif + +#if defined (DEFAULT_ECHO_TO_XPG) || defined (STRICT_POSIX) + xpg_echo = 1; +#else + xpg_echo = 0; +#endif /* DEFAULT_ECHO_TO_XPG */ + shopt_login_shell = login_shell; } @@ -354,6 +399,7 @@ toggle_shopts (mode, list, quiet) { WORD_LIST *l; int ind, rval; + SHELL_VAR *v; for (l = list, rval = EXECUTION_SUCCESS; l; l = l->next) { @@ -371,7 +417,9 @@ toggle_shopts (mode, list, quiet) } } - set_bashopts (); + /* Don't set $BASHOPTS here if it hasn't already been initialized */ + if (v = find_variable ("BASHOPTS")) + set_bashopts (); return (rval); } @@ -516,6 +564,18 @@ set_shellopts_after_change (option_name, mode) return (0); } +static int +shopt_set_debug_mode (option_name, mode) + char *option_name; + int mode; +{ +#if defined (DEBUGGER) + error_trace_mode = function_trace_mode = debugging_mode; + set_shellopts (); +#endif + return (0); +} + static int shopt_enable_hostname_completion (option_name, mode) char *option_name; @@ -537,7 +597,7 @@ set_compatibility_level (option_name, mode) if (mode) { shopt_compat31 = shopt_compat32 = 0; - shopt_compat40 = shopt_compat41 = shopt_compat42 = 0; + shopt_compat40 = shopt_compat41 = shopt_compat42 = shopt_compat43 = 0; ind = find_shopt (option_name); *shopt_vars[ind].value = mode; } @@ -553,6 +613,8 @@ set_compatibility_level (option_name, mode) shell_compatibility_level = 41; else if (shopt_compat42) shell_compatibility_level = 42; + else if (shopt_compat43) + shell_compatibility_level = 43; else shell_compatibility_level = DEFAULT_COMPAT_LEVEL; @@ -564,11 +626,14 @@ set_compatibility_level (option_name, mode) void set_compatibility_opts () { - shopt_compat31 = shopt_compat32 = shopt_compat40 = shopt_compat41 = shopt_compat42 = 0; + shopt_compat31 = shopt_compat32 = 0; + shopt_compat40 = shopt_compat41 = shopt_compat42 = shopt_compat43 = 0; switch (shell_compatibility_level) { case DEFAULT_COMPAT_LEVEL: break; + case 43: + shopt_compat43 = 1; break; case 42: shopt_compat42 = 1; break; case 41: @@ -745,7 +810,11 @@ parse_bashopts (value) { ind = find_shopt (vname); if (ind >= 0) - *shopt_vars[ind].value = 1; + { + *shopt_vars[ind].value = 1; + if (shopt_vars[ind].set_func) + (*shopt_vars[ind].set_func) (shopt_vars[ind].name, 1); + } free (vname); } } diff --git a/builtins/source.def b/builtins/source.def index 71908b8bf..b3df1f9fd 100644 --- a/builtins/source.def +++ b/builtins/source.def @@ -1,7 +1,7 @@ This file is source.def, from which is created source.c. It implements the builtins "." and "source" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -108,6 +108,7 @@ maybe_pop_dollar_vars () if (debugging_mode) pop_args (); /* restore BASH_ARGC and BASH_ARGV */ set_dollar_vars_unchanged (); + invalidate_cached_quoted_dollar_at (); /* just invalidate to be safe */ } /* Read and execute commands from the file passed as argument. Guess what. @@ -119,7 +120,7 @@ source_builtin (list) WORD_LIST *list; { int result; - char *filename, *debug_trap; + char *filename, *debug_trap, *x; if (no_options (list)) return (EX_USAGE); @@ -152,7 +153,10 @@ source_builtin (list) { if (source_searches_cwd == 0) { - builtin_error (_("%s: file not found"), list->word->word); + x = printable_filename (list->word->word, 0); + builtin_error (_("%s: file not found"), x); + if (x != list->word->word) + free (x); if (posixly_correct && interactive_shell == 0 && executing_command_builtin == 0) { last_command_exit_value = 1; @@ -185,7 +189,7 @@ source_builtin (list) { debug_trap = savestring (debug_trap); add_unwind_protect (xfree, debug_trap); - add_unwind_protect (set_debug_trap, debug_trap); + add_unwind_protect (maybe_set_debug_trap, debug_trap); restore_default_signal (DEBUG_TRAP); } diff --git a/builtins/suspend.def b/builtins/suspend.def index 8711e6817..db28feec4 100644 --- a/builtins/suspend.def +++ b/builtins/suspend.def @@ -1,7 +1,7 @@ This file is suspend.def, from which is created suspend.c. It implements the builtin "suspend" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -89,6 +89,7 @@ suspend_builtin (list) case 'f': force++; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); diff --git a/builtins/test.def b/builtins/test.def index f1444000e..d6c89bf9b 100644 --- a/builtins/test.def +++ b/builtins/test.def @@ -1,7 +1,7 @@ This file is test.def, from which is created test.c. It implements the builtin "test" in Bash. -Copyright (C) 1987-2010 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -83,8 +83,9 @@ String operators: Other operators: -o OPTION True if the shell option OPTION is enabled. - -v VAR True if the shell variable VAR is set - -R VAR True if the shell variable VAR is set and is a name reference. + -v VAR True if the shell variable VAR is set. + -R VAR True if the shell variable VAR is set and is a name + reference. ! 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. diff --git a/builtins/trap.def b/builtins/trap.def index 2119f5b3c..57d9b5227 100644 --- a/builtins/trap.def +++ b/builtins/trap.def @@ -1,7 +1,7 @@ This file is trap.def, from which is created trap.c. It implements the builtin "trap" in Bash. -Copyright (C) 1987-2010 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -86,7 +86,7 @@ static int display_traps __P((WORD_LIST *)); trap -p [sigspec ...] trap [--] - Set things up so that ARG is executed when SIGNAL(s) N is recieved. + Set things up so that ARG is executed when SIGNAL(s) N is received. If ARG is the empty string, then ignore the SIGNAL(s). If there is no ARG, then set the trap for SIGNAL(s) to its original value. Just plain "trap" means to print out the list of commands associated with @@ -119,6 +119,7 @@ trap_builtin (list) case 'p': display++; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); diff --git a/builtins/type.def b/builtins/type.def index bd9ecfc1f..3187add22 100644 --- a/builtins/type.def +++ b/builtins/type.def @@ -1,7 +1,7 @@ This file is type.def, from which is created type.c. It implements the builtin "type" in Bash. -Copyright (C) 1987-2011 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -30,18 +30,18 @@ command name. Options: -a display all locations containing an executable named NAME; - includes aliases, builtins, and functions, if and only if - the `-p' option is not also used + includes aliases, builtins, and functions, if and only if + the `-p' option is not also used -f suppress shell function lookup -P force a PATH search for each NAME, even if it is an alias, - builtin, or function, and returns the name of the disk file - that would be executed + builtin, or function, and returns the name of the disk file + that would be executed -p returns either the name of the disk file that would be executed, - or nothing if `type -t NAME' would not return `file'. + or nothing if `type -t NAME' would not return `file' -t output a single word which is one of `alias', `keyword', - `function', `builtin', `file' or `', if NAME is an alias, shell - reserved word, shell function, shell builtin, disk file, or not - found, respectively + `function', `builtin', `file' or `', if NAME is an alias, + shell reserved word, shell function, shell builtin, disk file, + or not found, respectively Arguments: NAME Command name to be interpreted. @@ -168,6 +168,7 @@ type_builtin (list) dflags |= (CDESC_PATH_ONLY|CDESC_FORCE_PATH); dflags &= ~(CDESC_TYPE|CDESC_SHORTDESC); break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -204,6 +205,7 @@ type_builtin (list) * CDESC_FORCE_PATH force a path search for type -P * CDESC_NOFUNCS skip function lookup for type -f * CDESC_ABSPATH convert to absolute path, no ./ prefix + * CDESC_STDPATH command -p standard path list * * CDESC_ALL says whether or not to look for all occurrences of COMMAND, or * return after finding it once. @@ -214,7 +216,7 @@ describe_command (command, dflags) int dflags; { int found, i, found_file, f, all; - char *full_path, *x; + char *full_path, *x, *pathlist; SHELL_VAR *func; #if defined (ALIAS) alias_t *alias; @@ -293,7 +295,12 @@ describe_command (command, dflags) if (dflags & CDESC_TYPE) puts ("builtin"); else if (dflags & CDESC_SHORTDESC) - printf (_("%s is a shell builtin\n"), command); + { + if (posixly_correct && find_special_builtin (command) != 0) + printf (_("%s is a special shell builtin\n"), command); + else + printf (_("%s is a shell builtin\n"), command); + } else if (dflags & CDESC_REUSABLE) printf ("%s\n", command); @@ -346,12 +353,17 @@ describe_command (command, dflags) /* Now search through $PATH. */ while (1) { - if (all == 0) + if (dflags & CDESC_STDPATH) /* command -p, all cannot be non-zero */ + { + pathlist = conf_standard_path (); + full_path = find_in_path (command, pathlist, FS_EXEC_PREFERRED|FS_NODIRS); + free (pathlist); + /* Will only go through this once, since all == 0 if STDPATH set */ + } + else if (all == 0) full_path = find_user_command (command); else - full_path = - user_command_matches (command, FS_EXEC_ONLY, found_file); - /* XXX - should that be FS_EXEC_PREFERRED? */ + full_path = user_command_matches (command, FS_EXEC_ONLY, found_file); /* XXX - should that be FS_EXEC_PREFERRED? */ if (full_path == 0) break; @@ -382,7 +394,11 @@ describe_command (command, dflags) } /* If we require a full path and don't have one, make one */ else if ((dflags & CDESC_ABSPATH) && ABSPATH (full_path) == 0) - full_path = sh_makepath ((char *)NULL, full_path, MP_DOCWD|MP_RMDOT); + { + x = sh_makepath ((char *)NULL, full_path, MP_DOCWD|MP_RMDOT); + free (full_path); + full_path = x; + } found_file++; found = 1; diff --git a/builtins/ulimit.def b/builtins/ulimit.def index e551cfff4..62def4f6f 100644 --- a/builtins/ulimit.def +++ b/builtins/ulimit.def @@ -1,7 +1,7 @@ This file is ulimit.def, from which is created ulimit.c. It implements the builtin "ulimit" in Bash. -Copyright (C) 1987-2010 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -23,7 +23,7 @@ $PRODUCES ulimit.c $BUILTIN ulimit $FUNCTION ulimit_builtin $DEPENDS_ON !_MINIX -$SHORT_DOC ulimit [-SHabcdefilmnpqrstuvxT] [limit] +$SHORT_DOC ulimit [-SHabcdefiklmnpqrstuvxPT] [limit] Modify shell resource limits. Provides control over the resources available to the shell and processes @@ -39,6 +39,7 @@ Options: -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 @@ -50,7 +51,8 @@ Options: -u the maximum number of user processes -v the size of virtual memory -x the maximum number of file locks - -T the maximum number of threads + -P the maximum number of pseudoterminals + -T the maximum number of threads Not all options are available on all platforms. @@ -131,11 +133,17 @@ extern int errno; # define print_rlimtype(num, nl) printf ("%ld%s", num, nl ? "\n" : "") #endif +/* Alternate names */ + /* Some systems use RLIMIT_NOFILE, others use RLIMIT_OFILE */ #if defined (HAVE_RESOURCE) && defined (RLIMIT_OFILE) && !defined (RLIMIT_NOFILE) # define RLIMIT_NOFILE RLIMIT_OFILE #endif /* HAVE_RESOURCE && RLIMIT_OFILE && !RLIMIT_NOFILE */ +#if defined (HAVE_RESOURCE) && defined (RLIMIT_POSIXLOCKS) && !defined (RLIMIT_LOCKS) +# define RLIMIT_LOCKS RLIMIT_POSIXLOCKS +#endif /* HAVE_RESOURCE && RLIMIT_POSIXLOCKS && !RLIMIT_LOCKS */ + /* Some systems have these, some do not. */ #ifdef RLIMIT_FSIZE # define RLIMIT_FILESIZE RLIMIT_FSIZE @@ -223,6 +231,9 @@ typedef struct { } RESOURCE_LIMITS; static RESOURCE_LIMITS limits[] = { +#ifdef RLIMIT_NPTS + { 'P', RLIMIT_NPTS, 1, "number of pseudoterminals", (char *)NULL }, +#endif #ifdef RLIMIT_PTHREAD { 'T', RLIMIT_PTHREAD, 1, "number of threads", (char *)NULL }, #endif @@ -242,6 +253,9 @@ static RESOURCE_LIMITS limits[] = { #ifdef RLIMIT_SIGPENDING { 'i', RLIMIT_SIGPENDING, 1, "pending signals", (char *)NULL }, #endif +#ifdef RLIMIT_KQUEUES + { 'k', RLIMIT_KQUEUES, 1, "max kqueues", (char *)NULL }, +#endif #ifdef RLIMIT_MEMLOCK { 'l', RLIMIT_MEMLOCK, 1024, "max locked memory", "kbytes" }, #endif @@ -359,6 +373,7 @@ ulimit_builtin (list) mode |= LIMIT_HARD; break; + CASE_HELPOPT; case '?': builtin_usage (); return (EX_USAGE); diff --git a/builtins/umask.def b/builtins/umask.def index d9aa04183..d3138d4d5 100644 --- a/builtins/umask.def +++ b/builtins/umask.def @@ -1,7 +1,7 @@ This file is umask.def, from which is created umask.c. It implements the builtin "umask" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -91,6 +91,7 @@ umask_builtin (list) case 'p': pflag++; break; + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -145,8 +146,12 @@ umask_builtin (list) /* Print the umask in a symbolic form. In the output, a letter is printed if the corresponding bit is clear in the umask. */ static void +#if defined (__STDC__) +print_symbolic_umask (mode_t um) +#else print_symbolic_umask (um) mode_t um; +#endif { char ubits[4], gbits[4], obits[4]; /* u=rwx,g=rwx,o=rwx */ int i; diff --git a/builtins/wait.def b/builtins/wait.def index fe6d53d50..974f959b7 100644 --- a/builtins/wait.def +++ b/builtins/wait.def @@ -1,7 +1,7 @@ This file is wait.def, from which is created wait.c. It implements the builtin "wait" in Bash. -Copyright (C) 1987-2013 Free Software Foundation, Inc. +Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -73,8 +73,10 @@ $END #include "bashgetopt.h" extern int wait_signal_received; +extern int last_command_exit_signal; procenv_t wait_intr_buf; +int wait_intr_flag; /* Wait for the pid in LIST to stop or die. If no arguments are given, then wait for all of the active background processes of the shell and return @@ -86,6 +88,7 @@ procenv_t wait_intr_buf; { \ interrupt_immediately = old_interrupt_immediately;\ wait_signal_received = 0; \ + wait_intr_flag = 0; \ return (s);\ } \ while (0) @@ -110,6 +113,7 @@ wait_builtin (list) nflag = 1; break; #endif + CASE_HELPOPT; default: builtin_usage (); return (EX_USAGE); @@ -130,10 +134,14 @@ wait_builtin (list) We handle SIGINT here; it's the only one that needs to be treated specially (I think), since it's handled specially in {no,}jobs.c. */ - code = setjmp (wait_intr_buf); + wait_intr_flag = 1; + code = setjmp_sigs (wait_intr_buf); + if (code) { + last_command_exit_signal = wait_signal_received; status = 128 + wait_signal_received; + wait_sigint_cleanup (); WAIT_RETURN (status); } @@ -171,7 +179,7 @@ wait_builtin (list) if (legal_number (w, &pid_value) && pid_value == (pid_t)pid_value) { pid = (pid_t)pid_value; - status = wait_for_single_pid (pid); + status = wait_for_single_pid (pid, 1); } else { diff --git a/command.h b/command.h index 6e9d1e4bc..3da5b77da 100644 --- a/command.h +++ b/command.h @@ -1,7 +1,7 @@ /* command.h -- The structures used internally to represent commands, and the extern declarations of the functions used to create them. */ -/* Copyright (C) 1993-2010 Free Software Foundation, Inc. +/* Copyright (C) 1993-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -100,7 +100,15 @@ enum command_type { cm_for, cm_case, cm_while, cm_if, cm_simple, cm_select, #define W_ARRAYIND 0x1000000 /* word is an array index being expanded */ #define W_ASSNGLOBAL 0x2000000 /* word is a global assignment to declare (declare/typeset -g) */ #define W_NOBRACE 0x4000000 /* Don't perform brace expansion */ -#define W_ASSIGNINT 0x8000000 /* word is an integer assignment to declare */ +#define W_COMPLETE 0x8000000 /* word is being expanded for completion */ + +/* Flags for the `pflags' argument to param_expand() and various + parameter_brace_expand_xxx functions; also used for string_list_dollar_at */ +#define PF_NOCOMSUB 0x01 /* Do not perform command substitution */ +#define PF_IGNUNBOUND 0x02 /* ignore unbound vars even if -u set */ +#define PF_NOSPLIT2 0x04 /* same as W_NOSPLIT2 */ +#define PF_ASSIGNRHS 0x08 /* same as W_ASSIGNRHS */ +#define PF_COMPLETE 0x10 /* same as W_COMPLETE, sets SX_COMPLETE */ /* Possible values for subshell_environment */ #define SUBSHELL_ASYNC 0x01 /* subshell caused by `command &' */ @@ -175,6 +183,7 @@ typedef struct element { #define CMD_COMMAND_BUILTIN 0x0800 /* command executed by `command' builtin */ #define CMD_COPROC_SUBSHELL 0x1000 #define CMD_LASTPIPE 0x2000 +#define CMD_STDPATH 0x4000 /* use standard path for command lookup */ /* What a command looks like. */ typedef struct command { diff --git a/config-bot.h b/config-bot.h index 334581a2b..5563e2a87 100644 --- a/config-bot.h +++ b/config-bot.h @@ -94,6 +94,10 @@ # undef COND_REGEXP #endif +#if !HAVE_MKSTEMP +# undef USE_MKSTEMP +#endif + /* If the shell is called by this name, it will become restricted. */ #if defined (RESTRICTED_SHELL) # define RESTRICTED_SHELL_NAME "rbash" diff --git a/config-top.h b/config-top.h index 4f6373c4a..d89682e5b 100644 --- a/config-top.h +++ b/config-top.h @@ -27,6 +27,10 @@ error messages about `break' and `continue' out of context. */ #define BREAK_COMPLAINS +/* Define CD_COMPLAINS if you want the non-standard, but sometimes-desired + error messages about multiple directory arguments to `cd'. */ +#define CD_COMPLAINS + /* Define BUFFERED_INPUT if you want the shell to do its own input buffering, rather than using stdio. Do not undefine this; it's required to preserve semantics required by POSIX. */ @@ -79,6 +83,9 @@ reply to the select query is an empty line. */ #define KSH_COMPATIBLE_SELECT +/* Default interactive shell startup file. */ +#define DEFAULT_BASHRC "~/.bashrc" + /* System-wide .bashrc file for interactive shells. */ /* #define SYS_BASHRC "/etc/bash.bashrc" */ @@ -110,6 +117,7 @@ #if defined (SYSLOG_HISTORY) # define SYSLOG_FACILITY LOG_USER # define SYSLOG_LEVEL LOG_INFO +# define OPENLOG_OPTS LOG_PID #endif /* Define if you want to include code in shell.c to support wordexp(3) */ @@ -132,3 +140,23 @@ /* Define to 1 if you want to be able to export indexed arrays to processes using the foo=([0]=one [1]=two) and so on */ /* #define ARRAY_EXPORT 1 */ + +/* Define to 1 if you want the shell to exit if it is running setuid and its + attempt to drop privilege using setuid(getuid()) fails with errno == EAGAIN */ +/* #define EXIT_ON_SETUID_FAILURE 1 */ + +/* Define to 1 if you want the shell to re-check $PATH if a hashed filename + no longer exists. This behavior is the default in Posix mode. */ +#define CHECKHASH_DEFAULT 0 + +/* Define to the maximum level of recursion you want for the eval builtin. + 0 means the limit is not active. */ +#define EVALNEST_MAX 0 + +/* Define to the maximum level of recursion you want for the source/. builtin. + 0 means the limit is not active. */ +#define SOURCENEST_MAX 0 + +/* Define to use libc mktemp/mkstemp instead of replacements in lib/sh/tmpfile.c */ +#define USE_MKTEMP +#define USE_MKSTEMP diff --git a/config.h.in b/config.h.in index 08af2ba89..a5ad9e729 100644 --- a/config.h.in +++ b/config.h.in @@ -21,6 +21,17 @@ #ifndef _CONFIG_H_ #define _CONFIG_H_ +/* Template settings for autoconf */ + +#undef __EXTENSIONS__ +#undef _ALL_SOURCE +#undef _GNU_SOURCE +#undef _POSIX_SOURCE +#undef _POSIX_1_SOURCE +#undef _POSIX_PTHREAD_SEMANTICS +#undef _TANDEM_SOURCE +#undef _MINIX + /* Configuration feature settings controllable by autoconf. */ /* Define JOB_CONTROL if your operating system supports @@ -173,6 +184,9 @@ /* Define to make the `globasciiranges' shopt option enabled by default. */ #undef GLOBASCII_DEFAULT +/* Define to allow functions to be imported from the environment. */ +#undef FUNCTION_IMPORT + /* Define AFS if you are using Transarc's AFS. */ #undef AFS @@ -201,6 +215,7 @@ #undef HAVE_LONG_DOUBLE #undef PROTOTYPES +#undef __PROTOTYPES #undef __CHAR_UNSIGNED__ @@ -317,6 +332,9 @@ /* Define to `unsigned long' if doesn't define. */ #undef uintmax_t + +/* Define to integer type wide enough to hold a pointer if doesn't define. */ +#undef uintptr_t /* Define to `int' if doesn't define. */ #undef uid_t @@ -543,7 +561,6 @@ #undef UNUSABLE_RT_SIGNALS - /* Presence of system and C library functions. */ /* Define if you have the asprintf function. */ @@ -555,6 +572,9 @@ /* Define if you have the bzero function. */ #undef HAVE_BZERO +/* Define if you have the chown function. */ +#undef HAVE_CHOWN + /* Define if you have the confstr function. */ #undef HAVE_CONFSTR @@ -719,15 +739,24 @@ /* Define if you have the mkfifo function. */ #undef HAVE_MKFIFO +/* Define if you have the mkstemp function. */ +#undef HAVE_MKSTEMP + /* Define if you have the pathconf function. */ #undef HAVE_PATHCONF +/* Define if you have the pselect function. */ +#undef HAVE_PSELECT + /* Define if you have the putenv function. */ #undef HAVE_PUTENV /* Define if you have the raise function. */ #undef HAVE_RAISE +/* Define if you have the random function. */ +#undef HAVE_RANDOM + /* Define if you have the readlink function. */ #undef HAVE_READLINK @@ -926,6 +955,9 @@ /* Define if you have the header file. */ #undef HAVE_LANGINFO_H +/* Define if you have the header file. */ +#undef HAVE_LIBAUDIT_H + /* Define if you have the header file. */ #undef HAVE_LIBINTL_H @@ -935,6 +967,9 @@ /* Define if you have the header file. */ #undef HAVE_LOCALE_H +/* Define if you have the header file. */ +#undef HAVE_MBSTR_H + /* Define if you have the header file. */ #undef HAVE_NDIR_H @@ -983,6 +1018,9 @@ /* Define if you have the header file. */ #undef HAVE_SYS_FILE_H +/* Define if you have the header file. */ +#undef HAVE_SYS_IOCTL_H + /* Define if you have the header file. */ #undef HAVE_SYS_NDIR_H @@ -1059,9 +1097,6 @@ /* Are we running the GNU C library, version 2.1 or later? */ #undef GLIBC21 -/* Define if on MINIX. */ -#undef _MINIX - /* Are we running SVR5 (UnixWare 7)? */ #undef SVR5 diff --git a/configure b/configure index 98bf89094..60f86d649 100755 --- a/configure +++ b/configure @@ -1,7 +1,7 @@ #! /bin/sh -# From configure.ac for Bash 4.3, version 4.063. +# From configure.ac for Bash 4.4, version 4.082. # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for bash 4.3-release. +# Generated by GNU Autoconf 2.69 for bash 4.4-release. # # Report bugs to . # @@ -581,8 +581,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='bash' PACKAGE_TARNAME='bash' -PACKAGE_VERSION='4.3-release' -PACKAGE_STRING='bash 4.3-release' +PACKAGE_VERSION='4.4-release' +PACKAGE_STRING='bash 4.4-release' PACKAGE_BUGREPORT='bug-bash@gnu.org' PACKAGE_URL='' @@ -635,6 +635,8 @@ DEBUG RELSTATUS BASHVERS ARFLAGS +headersdir +loadablesdir BUILD_DIR incdir PROFILE_FLAGS @@ -727,7 +729,6 @@ MALLOC_LIBRARY MALLOC_LIB MALLOC_SRC MALLOC_TARGET -PURIFY TESTSCRIPT CPPFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD @@ -788,8 +789,6 @@ with_bash_malloc with_curses with_gnu_malloc with_installed_readline -with_purecov -with_purify enable_minimal_config enable_alias enable_arith_for_command @@ -809,6 +808,7 @@ enable_disabled_builtins enable_dparen_arithmetic enable_extended_glob enable_extended_glob_default +enable_function_import enable_glob_asciiranges_default enable_help_builtin enable_history @@ -1393,7 +1393,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures bash 4.3-release to adapt to many kinds of systems. +\`configure' configures bash 4.4-release to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1458,7 +1458,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of bash 4.3-release:";; + short | recursive ) echo "Configuration of bash 4.4-release:";; esac cat <<\_ACEOF @@ -1498,6 +1498,9 @@ Optional Features: --enable-extended-glob-default force extended pattern matching to be enabled by default + --enable-function-import + allow bash to import exported function definitions + by default --enable-glob-asciiranges-default force bracket range expressions in pattern matching to use the C locale by default @@ -1546,8 +1549,6 @@ Optional Packages: --with-installed-readline use a version of the readline library that is already installed - --with-purecov configure to postprocess with pure coverage - --with-purify configure to postprocess with purify --with-gnu-ld assume the C compiler uses GNU ld default=no --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir @@ -1650,7 +1651,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -bash configure 4.3-release +bash configure 4.4-release generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2359,7 +2360,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by bash $as_me 4.3-release, which was +It was created by bash $as_me 4.4-release, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2752,11 +2753,11 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. ac_config_headers="$ac_config_headers config.h" -BASHVERS=4.3 +BASHVERS=4.4 RELSTATUS=release case "$RELSTATUS" in -alp*|bet*|dev*|rc*|maint*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;; +alp*|bet*|dev*|rc*|releng*|maint*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;; *) DEBUG= MALLOC_DEBUG= ;; esac @@ -2834,8 +2835,6 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac opt_bash_malloc=yes -opt_purify=no -opt_purecov=no opt_afs=no opt_curses=no opt_with_installed_readline=no @@ -2911,18 +2910,6 @@ if test "${with_installed_readline+set}" = set; then : fi -# Check whether --with-purecov was given. -if test "${with_purecov+set}" = set; then : - withval=$with_purecov; opt_purecov=$withval -fi - - -# Check whether --with-purify was given. -if test "${with_purify+set}" = set; then : - withval=$with_purify; opt_purify=$withval -fi - - if test "$opt_bash_malloc" = yes; then MALLOC_TARGET=malloc MALLOC_SRC=malloc.c @@ -2941,18 +2928,6 @@ else MALLOC_DEP= fi -if test "$opt_purify" = yes; then - PURIFY="purify " - $as_echo "#define DISABLE_MALLOC_WRAPPERS 1" >>confdefs.h - -else - PURIFY= -fi - -if test "$opt_purecov" = yes; then - PURIFY="${PURIFY}purecov" -fi - if test "$opt_afs" = yes; then $as_echo "#define AFS 1" >>confdefs.h @@ -3002,6 +2977,7 @@ opt_casemod_expansions=yes opt_extglob_default=no opt_dircomplete_expand_default=no opt_globascii_default=no +opt_function_import=yes opt_static_link=no opt_profiling=no @@ -3115,6 +3091,11 @@ if test "${enable_extended_glob_default+set}" = set; then : enableval=$enable_extended_glob_default; opt_extglob_default=$enableval fi +# Check whether --enable-function-import was given. +if test "${enable_function_import+set}" = set; then : + enableval=$enable_function_import; opt_function_import=$enableval +fi + # Check whether --enable-glob-asciiranges-default was given. if test "${enable_glob_asciiranges_default+set}" = set; then : enableval=$enable_glob_asciiranges_default; opt_globascii_default=$enableval @@ -3341,6 +3322,10 @@ $as_echo "#define GLOBASCII_DEFAULT 1" >>confdefs.h else $as_echo "#define GLOBASCII_DEFAULT 0" >>confdefs.h +fi +if test $opt_function_import = yes; then +$as_echo "#define FUNCTION_IMPORT 1" >>confdefs.h + fi if test $opt_memscramble = yes; then @@ -3387,6 +3372,12 @@ fi +if test -z "$CFLAGS"; then + AUTO_CFLAGS="-g ${GCC+-O2} ${GCC+-Wno-parentheses}" + AUTO_LDFLAGS="-g ${GCC+-O2}" +else + AUTO_CFLAGS= AUTO_LDFLAGS= +fi echo "" echo "Beginning configuration for bash-$BASHVERS-$RELSTATUS for ${host_cpu}-${host_vendor}-${host_os}" @@ -4921,16 +4912,15 @@ fi -if test -z "$CFLAGS"; then - AUTO_CFLAGS="-g ${GCC+-O2}" - AUTO_LDFLAGS="-g ${GCC+-O2}" -else - AUTO_CFLAGS= AUTO_LDFLAGS= -fi - CFLAGS=${CFLAGS-"$AUTO_CFLAGS"} # LDFLAGS=${LDFLAGS="$AUTO_LDFLAGS"} # XXX +# turn off paren warnings in gcc +if test "$GCC" = yes # && test -n "$DEBUG" +then + CFLAGS="$CFLAGS -Wno-parentheses -Wno-format-security" +fi + if test "$opt_profiling" = "yes"; then PROFILE_FLAGS=-pg case "$host_os" in @@ -5278,7 +5268,7 @@ if ${ac_cv_rl_version+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : - ac_cv_rl_version='4.2' + ac_cv_rl_version='6.3' else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -9279,8 +9269,8 @@ fi done -for ac_header in sys/pte.h sys/stream.h sys/select.h sys/file.h \ - sys/resource.h sys/param.h sys/socket.h sys/stat.h \ +for ac_header in sys/pte.h sys/stream.h sys/select.h sys/file.h sys/ioctl.h \ + sys/param.h sys/socket.h sys/stat.h \ sys/time.h sys/times.h sys/types.h sys/wait.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` @@ -9320,6 +9310,19 @@ fi +ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" " +#if HAVE_SYS_TIME_H +# include +#endif + +" +if test "x$ac_cv_header_sys_resource_h" = xyes; then : + $as_echo "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h + +fi + + + # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 @@ -9504,6 +9507,101 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 +$as_echo_n "checking for uid_t in sys/types.h... " >&6; } +if ${ac_cv_type_uid_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "uid_t" >/dev/null 2>&1; then : + ac_cv_type_uid_t=yes +else + ac_cv_type_uid_t=no +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 +$as_echo "$ac_cv_type_uid_t" >&6; } +if test $ac_cv_type_uid_t = no; then + +$as_echo "#define uid_t int" >>confdefs.h + + +$as_echo "#define gid_t int" >>confdefs.h + +fi + +for ac_header in unistd.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" +if test "x$ac_cv_header_unistd_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_UNISTD_H 1 +_ACEOF + +fi + +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5 +$as_echo_n "checking for working chown... " >&6; } +if ${ac_cv_func_chown_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_func_chown_works=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +#include + +int +main () +{ + char *f = "conftest.chown"; + struct stat before, after; + + if (creat (f, 0600) < 0) + return 1; + if (stat (f, &before) < 0) + return 1; + if (chown (f, (uid_t) -1, (gid_t) -1) == -1) + return 1; + if (stat (f, &after) < 0) + return 1; + return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_chown_works=yes +else + ac_cv_func_chown_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +rm -f conftest.chown + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5 +$as_echo "$ac_cv_func_chown_works" >&6; } +if test $ac_cv_func_chown_works = yes; then + +$as_echo "#define HAVE_CHOWN 1" >>confdefs.h + fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 @@ -9706,7 +9804,7 @@ fi for ac_func in dup2 eaccess fcntl getdtablesize getgroups gethostname \ getpagesize getpeername getrlimit getrusage gettimeofday \ - kill killpg lstat readlink sbrk select setdtablesize \ + kill killpg lstat pselect readlink sbrk select setdtablesize \ setitimer tcgetpgrp uname ulimit waitpid do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` @@ -9736,7 +9834,7 @@ fi for ac_func in bcopy bzero confstr faccessat fnmatch \ getaddrinfo gethostbyname getservbyname getservent inet_aton \ - imaxdiv memmove pathconf putenv raise regcomp regexec \ + imaxdiv memmove pathconf putenv raise random regcomp regexec \ setenv setlinebuf setlocale setvbuf siginterrupt strchr \ sysconf syslog tcgetattr times ttyname tzset unsetenv do : @@ -9787,6 +9885,17 @@ _ACEOF fi done +for ac_func in mkstemp +do : + ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" +if test "x$ac_cv_func_mkstemp" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_MKSTEMP 1 +_ACEOF + +fi +done + ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd" if test "x$ac_cv_func_getcwd" = xyes; then : $as_echo "#define HAVE_GETCWD 1" >>confdefs.h @@ -10041,6 +10150,18 @@ fi +for ac_header in libaudit.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default" +if test "x$ac_cv_header_libaudit_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBAUDIT_H 1 +_ACEOF + +fi + +done + ac_fn_c_check_decl "$LINENO" "AUDIT_USER_TTY" "ac_cv_have_decl_AUDIT_USER_TTY" "#include " if test "x$ac_cv_have_decl_AUDIT_USER_TTY" = xyes; then : @@ -10965,6 +11086,19 @@ fi done +for ac_header in mbstr.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "mbstr.h" "ac_cv_header_mbstr_h" "$ac_includes_default" +if test "x$ac_cv_header_mbstr_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_MBSTR_H 1 +_ACEOF + +fi + +done + + ac_fn_c_check_func "$LINENO" "mbrlen" "ac_cv_func_mbrlen" if test "x$ac_cv_func_mbrlen" = xyes; then : $as_echo "#define HAVE_MBRLEN 1" >>confdefs.h @@ -11279,7 +11413,7 @@ _ACEOF if ac_fn_c_try_run "$LINENO"; then : bash_cv_wcwidth_broken=yes else - bash_cv_wcwdith_broken=no + bash_cv_wcwidth_broken=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext @@ -11296,7 +11430,7 @@ fi if test "$am_cv_func_iconv" = yes; then OLDLIBS="$LIBS" - LIBS="$LIBS $LIBICONV" + LIBS="$LIBS $LIBINTL $LIBICONV" for ac_func in locale_charset do : ac_fn_c_check_func "$LINENO" "locale_charset" "ac_cv_func_locale_charset" @@ -11667,36 +11801,6 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 -$as_echo_n "checking for uid_t in sys/types.h... " >&6; } -if ${ac_cv_type_uid_t+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "uid_t" >/dev/null 2>&1; then : - ac_cv_type_uid_t=yes -else - ac_cv_type_uid_t=no -fi -rm -f conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 -$as_echo "$ac_cv_type_uid_t" >&6; } -if test $ac_cv_type_uid_t = no; then - -$as_echo "#define uid_t int" >>confdefs.h - - -$as_echo "#define gid_t int" >>confdefs.h - -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5 $as_echo_n "checking type of array argument to getgroups... " >&6; } if ${ac_cv_type_getgroups+:} false; then : @@ -11838,6 +11942,44 @@ _ACEOF fi + + ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" +if test "x$ac_cv_type_uintptr_t" = xyes; then : + +$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h + +else + for ac_type in 'unsigned int' 'unsigned long int' \ + 'unsigned long long int'; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; +test_array [0] = 0; +return test_array [0]; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +cat >>confdefs.h <<_ACEOF +#define uintptr_t $ac_type +_ACEOF + + ac_type= +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test -z "$ac_type" && break + done +fi + + + ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" if test "x$ac_cv_type_ssize_t" = xyes; then : @@ -15923,7 +16065,7 @@ solaris2*) LOCAL_CFLAGS=-DSOLARIS ;; lynxos*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;; linux*) LOCAL_LDFLAGS=-rdynamic # allow dynamic loading case "`uname -r`" in - 2.[456789]*|3*) $as_echo "#define PGRP_PIPE 1" >>confdefs.h + 2.[456789]*|[34]*) $as_echo "#define PGRP_PIPE 1" >>confdefs.h ;; esac ;; *qnx6*) LOCAL_CFLAGS="-Dqnx -Dqnx6" LOCAL_LIBS="-lncurses" ;; @@ -15938,6 +16080,8 @@ case "${host_os}-${CC}" in aix4.2*-*gcc*) LOCAL_LDFLAGS="-Xlinker -bexpall -Xlinker -brtl" ;; aix4.2*) LOCAL_LDFLAGS="-bexpall -brtl" ;; bsdi4*-*gcc*) LOCAL_LDFLAGS="-rdynamic" ;; # allow dynamic loading, like Linux +bsdi5*-*gcc*) LOCAL_LDFLAGS="-rdynamic" ;; # allow dynamic loading, like Linux +hpux11*-gcc*) LOCAL_LDFLAGS="-Wl,-E" ;; # allow dynamic loading esac case "${host_os}" in @@ -16019,6 +16163,16 @@ fi +# directory where we install dynamically loadable builtins +if test -z "$loadablesdir"; then + loadablesdir='${libdir}/bash' +fi + +if test -z "$headersdir"; then + headersdir='$(includedir)/$(PACKAGE_NAME)' +fi + + @@ -16040,7 +16194,7 @@ fi #AC_SUBST(ALLOCA_SOURCE) #AC_SUBST(ALLOCA_OBJECT) -ac_config_files="$ac_config_files Makefile builtins/Makefile lib/readline/Makefile lib/glob/Makefile lib/intl/Makefile lib/malloc/Makefile lib/sh/Makefile lib/termcap/Makefile lib/tilde/Makefile doc/Makefile support/Makefile po/Makefile.in examples/loadables/Makefile examples/loadables/perl/Makefile" +ac_config_files="$ac_config_files Makefile builtins/Makefile lib/readline/Makefile lib/glob/Makefile lib/intl/Makefile lib/malloc/Makefile lib/sh/Makefile lib/termcap/Makefile lib/tilde/Makefile doc/Makefile support/Makefile po/Makefile.in examples/loadables/Makefile examples/loadables/Makefile.inc examples/loadables/perl/Makefile support/bash.pc" ac_config_commands="$ac_config_commands default" @@ -16551,7 +16705,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by bash $as_me 4.3-release, which was +This file was extended by bash $as_me 4.4-release, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -16617,7 +16771,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -bash config.status 4.3-release +bash config.status 4.4-release configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -16765,7 +16919,9 @@ do "support/Makefile") CONFIG_FILES="$CONFIG_FILES support/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "examples/loadables/Makefile") CONFIG_FILES="$CONFIG_FILES examples/loadables/Makefile" ;; + "examples/loadables/Makefile.inc") CONFIG_FILES="$CONFIG_FILES examples/loadables/Makefile.inc" ;; "examples/loadables/perl/Makefile") CONFIG_FILES="$CONFIG_FILES examples/loadables/perl/Makefile" ;; + "support/bash.pc") CONFIG_FILES="$CONFIG_FILES support/bash.pc" ;; "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; diff --git a/configure.ac b/configure.ac index 97e8e0440..ce4e9b607 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,11 @@ dnl -dnl Configure script for bash-4.3 +dnl Configure script for bash-4.4 dnl dnl report bugs to chet@po.cwru.edu dnl dnl Process this file with autoconf to produce a configure script. -# Copyright (C) 1987-2013 Free Software Foundation, Inc. +# Copyright (C) 1987-2016 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify @@ -21,9 +21,9 @@ dnl Process this file with autoconf to produce a configure script. # You should have received a copy of the GNU General Public License # along with this program. If not, see . -AC_REVISION([for Bash 4.3, version 4.063])dnl +AC_REVISION([for Bash 4.4, version 4.082])dnl -define(bashvers, 4.3) +define(bashvers, 4.4) define(relstatus, release) AC_INIT([bash], bashvers-relstatus, [bug-bash@gnu.org]) @@ -42,7 +42,7 @@ RELSTATUS=relstatus dnl defaults for debug settings case "$RELSTATUS" in -alp*|bet*|dev*|rc*|maint*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;; +alp*|bet*|dev*|rc*|releng*|maint*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;; *) DEBUG= MALLOC_DEBUG= ;; esac @@ -53,8 +53,6 @@ AC_CANONICAL_BUILD dnl configure defaults opt_bash_malloc=yes -opt_purify=no -opt_purecov=no opt_afs=no opt_curses=no opt_with_installed_readline=no @@ -113,8 +111,6 @@ AC_ARG_WITH(bash-malloc, AC_HELP_STRING([--with-bash-malloc], [use the Bash vers AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses], [use the curses library instead of the termcap library]), opt_curses=$withval) AC_ARG_WITH(gnu-malloc, AC_HELP_STRING([--with-gnu-malloc], [synonym for --with-bash-malloc]), opt_bash_malloc=$withval) AC_ARG_WITH(installed-readline, AC_HELP_STRING([--with-installed-readline], [use a version of the readline library that is already installed]), opt_with_installed_readline=$withval) -AC_ARG_WITH(purecov, AC_HELP_STRING([--with-purecov], [configure to postprocess with pure coverage]), opt_purecov=$withval) -AC_ARG_WITH(purify, AC_HELP_STRING([--with-purify], [configure to postprocess with purify]), opt_purify=$withval) if test "$opt_bash_malloc" = yes; then MALLOC_TARGET=malloc @@ -133,17 +129,6 @@ else MALLOC_DEP= fi -if test "$opt_purify" = yes; then - PURIFY="purify " - AC_DEFINE(DISABLE_MALLOC_WRAPPERS) -else - PURIFY= -fi - -if test "$opt_purecov" = yes; then - PURIFY="${PURIFY}purecov" -fi - if test "$opt_afs" = yes; then AC_DEFINE(AFS) fi @@ -193,6 +178,7 @@ opt_casemod_expansions=yes opt_extglob_default=no opt_dircomplete_expand_default=no opt_globascii_default=no +opt_function_import=yes dnl options that affect how bash is compiled and linked opt_static_link=no @@ -234,6 +220,7 @@ AC_ARG_ENABLE(disabled-builtins, AC_HELP_STRING([--enable-disabled-builtins], [a AC_ARG_ENABLE(dparen-arithmetic, AC_HELP_STRING([--enable-dparen-arithmetic], [include ((...)) command]), opt_dparen_arith=$enableval) AC_ARG_ENABLE(extended-glob, AC_HELP_STRING([--enable-extended-glob], [include ksh-style extended pattern matching]), opt_extended_glob=$enableval) AC_ARG_ENABLE(extended-glob-default, AC_HELP_STRING([--enable-extended-glob-default], [force extended pattern matching to be enabled by default]), opt_extglob_default=$enableval) +AC_ARG_ENABLE(function-import, AC_HELP_STRING([--enable-function-import], [allow bash to import exported function definitions by default]), opt_function_import=$enableval) AC_ARG_ENABLE(glob-asciiranges-default, AC_HELP_STRING([--enable-glob-asciiranges-default], [force bracket range expressions in pattern matching to use the C locale by default]), opt_globascii_default=$enableval) AC_ARG_ENABLE(help-builtin, AC_HELP_STRING([--enable-help-builtin], [include the help builtin]), opt_help=$enableval) AC_ARG_ENABLE(history, AC_HELP_STRING([--enable-history], [turn on command history]), opt_history=$enableval) @@ -357,6 +344,9 @@ AC_DEFINE(GLOBASCII_DEFAULT, 1) else AC_DEFINE(GLOBASCII_DEFAULT, 0) fi +if test $opt_function_import = yes; then +AC_DEFINE(FUNCTION_IMPORT) +fi if test $opt_memscramble = yes; then AC_DEFINE(MEMSCRAMBLE) @@ -386,7 +376,6 @@ fi dnl now substitute in the values generated by arguments AC_SUBST(TESTSCRIPT) -AC_SUBST(PURIFY) AC_SUBST(MALLOC_TARGET) AC_SUBST(MALLOC_SRC) @@ -403,6 +392,14 @@ AC_SUBST(HELPINSTALL) AC_SUBST(HELPFILES_TARGET) AC_SUBST(HELPSTRINGS) +dnl We want these before the checks, so the checks can modify their values. +if test -z "$CFLAGS"; then + AUTO_CFLAGS="-g ${GCC+-O2} ${GCC+-Wno-parentheses}" + AUTO_LDFLAGS="-g ${GCC+-O2}" +else + AUTO_CFLAGS= AUTO_LDFLAGS= +fi + echo "" echo "Beginning configuration for bash-$BASHVERS-$RELSTATUS for ${host_cpu}-${host_vendor}-${host_os}" echo "" @@ -460,18 +457,16 @@ AC_SUBST(SIGNAMES_O) dnl END changes for cross-building -dnl We want these before the checks, so the checks can modify their values. -if test -z "$CFLAGS"; then - AUTO_CFLAGS="-g ${GCC+-O2}" - AUTO_LDFLAGS="-g ${GCC+-O2}" -else - AUTO_CFLAGS= AUTO_LDFLAGS= -fi - dnl default values CFLAGS=${CFLAGS-"$AUTO_CFLAGS"} # LDFLAGS=${LDFLAGS="$AUTO_LDFLAGS"} # XXX +# turn off paren warnings in gcc +if test "$GCC" = yes # && test -n "$DEBUG" +then + CFLAGS="$CFLAGS -Wno-parentheses -Wno-format-security" +fi + dnl handle options that alter how bash is compiled and linked dnl these must come after the test for cc/gcc if test "$opt_profiling" = "yes"; then @@ -706,8 +701,8 @@ AC_CHECK_HEADERS(unistd.h stdlib.h stdarg.h varargs.h limits.h string.h \ memory.h locale.h termcap.h termio.h termios.h dlfcn.h \ stdbool.h stddef.h stdint.h netdb.h pwd.h grp.h strings.h \ regex.h syslog.h ulimit.h) -AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h \ - sys/resource.h sys/param.h sys/socket.h sys/stat.h \ +AC_CHECK_HEADERS(sys/pte.h sys/stream.h sys/select.h sys/file.h sys/ioctl.h \ + sys/param.h sys/socket.h sys/stat.h \ sys/time.h sys/times.h sys/types.h sys/wait.h) AC_CHECK_HEADERS(netinet/in.h arpa/inet.h) @@ -719,8 +714,17 @@ AC_CHECK_HEADER(sys/ptem.h, , ,[[ #endif ]]) +dnl SunOS 4 needs to include before to compile +dnl autoconf complains about presence but inability to compile +AC_CHECK_HEADER(sys/resource.h, AC_DEFINE(HAVE_SYS_RESOURCE_H), [], [[ +#if HAVE_SYS_TIME_H +# include +#endif +]]) + dnl special checks for libc functions AC_FUNC_ALLOCA +AC_FUNC_CHOWN AC_FUNC_GETPGRP AC_FUNC_SETVBUF_REVERSED AC_FUNC_VPRINTF @@ -766,20 +770,21 @@ AC_CHECK_FUNC(mkfifo,AC_DEFINE(HAVE_MKFIFO),AC_DEFINE(MKFIFO_MISSING)) dnl checks for system calls AC_CHECK_FUNCS(dup2 eaccess fcntl getdtablesize getgroups gethostname \ getpagesize getpeername getrlimit getrusage gettimeofday \ - kill killpg lstat readlink sbrk select setdtablesize \ + kill killpg lstat pselect readlink sbrk select setdtablesize \ setitimer tcgetpgrp uname ulimit waitpid) AC_REPLACE_FUNCS(rename) dnl checks for c library functions AC_CHECK_FUNCS(bcopy bzero confstr faccessat fnmatch \ getaddrinfo gethostbyname getservbyname getservent inet_aton \ - imaxdiv memmove pathconf putenv raise regcomp regexec \ + imaxdiv memmove pathconf putenv raise random regcomp regexec \ setenv setlinebuf setlocale setvbuf siginterrupt strchr \ sysconf syslog tcgetattr times ttyname tzset unsetenv) AC_CHECK_FUNCS(vasprintf asprintf) AC_CHECK_FUNCS(isascii isblank isgraph isprint isspace isxdigit) AC_CHECK_FUNCS(getpwent getpwnam getpwuid) +AC_CHECK_FUNCS(mkstemp) AC_REPLACE_FUNCS(getcwd memset) AC_REPLACE_FUNCS(strcasecmp strcasestr strerror strftime strnlen strpbrk strstr) AC_REPLACE_FUNCS(strtod strtol strtoul strtoll strtoull strtoimax strtoumax) @@ -787,6 +792,7 @@ AC_REPLACE_FUNCS(dprintf) AC_REPLACE_FUNCS(strchrnul) AC_REPLACE_FUNCS(strdup) +AC_CHECK_HEADERS(libaudit.h) AC_CHECK_DECLS([AUDIT_USER_TTY],,, [[#include ]]) AC_CHECK_DECLS([confstr]) @@ -886,6 +892,8 @@ AC_TYPE_MODE_T AC_TYPE_UID_T AC_TYPE_PID_T AC_TYPE_SIZE_T +AC_TYPE_UINTPTR_T + AC_CHECK_TYPE(ssize_t, int) AC_CHECK_TYPE(time_t, long) @@ -1085,7 +1093,7 @@ solaris2*) LOCAL_CFLAGS=-DSOLARIS ;; lynxos*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;; linux*) LOCAL_LDFLAGS=-rdynamic # allow dynamic loading case "`uname -r`" in - 2.[[456789]]*|3*) AC_DEFINE(PGRP_PIPE) ;; + 2.[[456789]]*|[[34]]*) AC_DEFINE(PGRP_PIPE) ;; esac ;; *qnx6*) LOCAL_CFLAGS="-Dqnx -Dqnx6" LOCAL_LIBS="-lncurses" ;; *qnx*) LOCAL_CFLAGS="-Dqnx -F -3s" LOCAL_LDFLAGS="-3s" LOCAL_LIBS="-lunix -lncurses" ;; @@ -1100,6 +1108,8 @@ case "${host_os}-${CC}" in aix4.2*-*gcc*) LOCAL_LDFLAGS="-Xlinker -bexpall -Xlinker -brtl" ;; aix4.2*) LOCAL_LDFLAGS="-bexpall -brtl" ;; bsdi4*-*gcc*) LOCAL_LDFLAGS="-rdynamic" ;; # allow dynamic loading, like Linux +bsdi5*-*gcc*) LOCAL_LDFLAGS="-rdynamic" ;; # allow dynamic loading, like Linux +hpux11*-gcc*) LOCAL_LDFLAGS="-Wl,-E" ;; # allow dynamic loading esac dnl FreeBSD-3.x can have either a.out or ELF @@ -1180,6 +1190,16 @@ AC_SUBST(BUILD_DIR) AC_SUBST(datarootdir) AC_SUBST(localedir) +# directory where we install dynamically loadable builtins +if test -z "$loadablesdir"; then + loadablesdir='${libdir}/bash' +fi +AC_SUBST(loadablesdir) +if test -z "$headersdir"; then + headersdir='$(includedir)/$(PACKAGE_NAME)' +fi +AC_SUBST(headersdir) + AC_SUBST(YACC) AC_SUBST(AR) AC_SUBST(ARFLAGS) @@ -1205,7 +1225,9 @@ AC_OUTPUT([Makefile builtins/Makefile lib/readline/Makefile lib/glob/Makefile \ lib/intl/Makefile \ lib/malloc/Makefile lib/sh/Makefile lib/termcap/Makefile \ lib/tilde/Makefile doc/Makefile support/Makefile po/Makefile.in \ - examples/loadables/Makefile examples/loadables/perl/Makefile], + examples/loadables/Makefile examples/loadables/Makefile.inc \ + examples/loadables/perl/Makefile \ + support/bash.pc], [ # Makefile uses this timestamp file to record whether config.h is up to date. echo timestamp > stamp-h diff --git a/doc/FAQ b/doc/FAQ index 1df48d5c9..87dbb2d02 100644 --- a/doc/FAQ +++ b/doc/FAQ @@ -1,4 +1,6 @@ -This is the Bash FAQ, version 4.13, for Bash version 4.3. +This is the Bash FAQ, version 4.14, for Bash version 4.4. + +[THIS FAQ IS NO LONGER MAINTAINED] This document contains a set of frequently-asked questions concerning Bash, the GNU Bourne-Again Shell. Bash is a freely-available command @@ -144,7 +146,7 @@ of Case Western Reserve University. A2) What's the latest version? -The latest version is 4.3, first made available on xx December, 2013. +The latest version is 4.3, first made available on 26 February, 2014. A3) Where can I get it? @@ -2169,11 +2171,17 @@ You may also need Finally, you need to tell readline that you will be inputting and displaying eight-bit characters. You use readline variables to do -this. These variables can be set in your .inputrc or using the bash +this. convert-meta says what to do if you read a character with its +eighth bit set. input-meta says whether to permit characters with the +eighth bit at all. output-meta determines how to display characters +with the eighth bit set: if on, they are output directly; if it is off, +such characters are displayed as a meta-prefixed escape sequence. + +These variables can be set in your .inputrc or using the bash `bind' builtin. Here's an example using `bind': bash$ bind 'set convert-meta off' - bash$ bind 'set meta-flag on' + bash$ bind 'set input-meta on' bash$ bind 'set output-meta on' The `set' commands between the single quotes may also be placed diff --git a/doc/Makefile.in b/doc/Makefile.in index 3c67db63f..5f0756c4f 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -1,6 +1,6 @@ # This Makefile is for the Bash/documentation directory -*- text -*-. # -# Copyright (C) 2003-2013 Free Software Foundation, Inc. +# Copyright (C) 2003-2015 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ RM = rm -f topdir = @top_srcdir@ srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -79,6 +79,8 @@ QUIETPS = #set this to -q to shut up dvips PAPERSIZE = letter # change to a4 for A4-size paper PSDPI = 600 # could be 300 if you like DVIPS = dvips -D ${PSDPI} $(QUIETPS) -t ${PAPERSIZE} -o $@ # tricky +# experimental; uses external texi2dvi for now; this needs pdftex to be present +TEXI2PDF = texi2dvi --pdf TEXINPUTDIR = $(RL_LIBDIR)/doc SET_TEXINPUTS = TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS @@ -90,7 +92,9 @@ PSPDF = gs -sPAPERSIZE=${PAPERSIZE} -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -s MKDIRS = ${SUPPORT_SRCDIR}/mkdirs # This should be a program that converts troff to an ascii-readable format -NROFF = groff -Tascii +# added the -P -c for benefit of Mac OS X, which insists on adding colors if +# it's not present +NROFF = groff -Tascii -P -c # This should be a program that converts troff to postscript GROFF = groff @@ -146,13 +150,17 @@ BASHREF_FILES = $(srcdir)/bashref.texi $(srcdir)/fdl.texi $(srcdir)/version.texi ${RM} $@ -${DVIPS} $< -all: ps info dvi text html +#.texi.pdf: +# $(RM) $@ +# -${TEXI2PDF} $< + +all: ps info dvi text html $(MAN2HTML) nodvi: ps info text html everything: all pdf PSFILES = bash.ps bashbug.ps article.ps builtins.ps rbash.ps DVIFILES = bashref.dvi bashref.ps -INFOFILES = bashref.info +INFOFILES = bashref.info bash.info MAN0FILES = bash.0 bashbug.0 builtins.0 rbash.0 HTMLFILES = bashref.html bash.html PDFFILES = bash.pdf bashref.pdf article.pdf rose94.pdf @@ -170,17 +178,22 @@ bashref.dvi: $(BASHREF_FILES) $(HSUSER) $(RLUSER) bashref.info: $(BASHREF_FILES) $(HSUSER) $(RLUSER) $(MAKEINFO) --no-split -I$(TEXINPUTDIR) $(srcdir)/bashref.texi +# experimental +bashref.pdf: $(BASHREF_FILES) $(HSUSER) $(RLUSER) + ${SET_TEXINPUTS} $(TEXI2PDF) $(srcdir)/bashref.texi || { ${RM} $@ ; exit 1; } + + # can also use: -# $(MAKEINFO) --html --no-split -I$(TEXINPUTDIR) $(srcdir)/bashref.texi +# $(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/bashref.texi bashref.html: $(BASHREF_FILES) $(HSUSER) $(RLUSER) - $(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/bashref.texi + $(MAKEINFO) --html --no-split -I$(TEXINPUTDIR) $(srcdir)/bashref.texi bash.info: bashref.info ${SHELL} ${INFOPOST} < $(srcdir)/bashref.info > $@ ; \ bash.txt: bash.1 bash.ps: bash.1 -bash.html: bash.1 $(MAN2HTML) +bash.html: bash.1 bashbug.ps: bashbug.1 builtins.ps: builtins.1 bash.1 rbash.ps: rbash.1 bash.1 @@ -193,7 +206,9 @@ article.ps: article.ms bashref.ps: bashref.dvi article.pdf: article.ps -bashref.pdf: bashref.dvi +#bashref.pdf: bashref.dvi +# experimental +bashref.pdf: bashref.texi bash.pdf: bash.ps rose94.pdf: rose94.ps @@ -232,7 +247,7 @@ installdirs: $(SHELL) $(SUPPORT_SRCDIR)/mkinstalldirs $(DESTDIR)$(htmldir) ; \ fi -install: info installdirs bash.info +install: info installdirs -$(INSTALL_DATA) $(srcdir)/bash.1 $(DESTDIR)$(man1dir)/bash${man1ext} -$(INSTALL_DATA) $(srcdir)/bashbug.1 $(DESTDIR)$(man1dir)/bashbug${man1ext} -$(INSTALL_DATA) $(OTHER_DOCS) $(DESTDIR)$(docdir) @@ -259,10 +274,20 @@ install_builtins: installdirs install_everything: install install_builtins +install-html: html + -if test -n "${htmldir}" ; then \ + $(INSTALL_DATA) $(srcdir)/bash.html $(DESTDIR)$(htmldir) ; \ + $(INSTALL_DATA) $(srcdir)/bashref.html $(DESTDIR)$(htmldir) ; \ + fi + uninstall: -$(RM) $(DESTDIR)$(man1dir)/bash${man1ext} $(DESTDIR)$(man1dir)/bashbug${man1ext} -$(RM) $(DESTDIR)$(man1dir)/bash_builtins${man1ext} $(RM) $(DESTDIR)$(infodir)/bash.info +# run install-info if it is present to update the info directory + if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ + install-info --delete --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/bash.info; \ + else true; fi -( cd $(DESTDIR)$(docdir) && $(RM) $(OTHER_INSTALLED_DOCS) ) -if test -n "$(htmldir)" ; then \ $(RM) $(DESTDIR)$(htmldir)/bash.html ; \ @@ -313,4 +338,4 @@ rbash: bashref.texi cmp -s RBASH ../RBASH || mv RBASH ../RBASH $(RM) RBASH -xdist: pdf inst posix rbash +xdist: everything inst posix rbash diff --git a/doc/aosa-bash-full.pdf b/doc/aosa-bash-full.pdf new file mode 100644 index 000000000..01815492c Binary files /dev/null and b/doc/aosa-bash-full.pdf differ diff --git a/doc/aosa-bash.pdf b/doc/aosa-bash.pdf index 006a76776..4c8773a90 100644 Binary files a/doc/aosa-bash.pdf and b/doc/aosa-bash.pdf differ diff --git a/doc/bash.0 b/doc/bash.0 index c3b29b563..031be8a4f 100644 --- a/doc/bash.0 +++ b/doc/bash.0 @@ -1,4 +1,4 @@ -BASH(1) BASH(1) +BASH(1) General Commands Manual BASH(1) @@ -9,7 +9,7 @@ SSYYNNOOPPSSIISS bbaasshh [options] [command_string | file] CCOOPPYYRRIIGGHHTT - Bash is Copyright (C) 1989-2013 by the Free Software Foundation, Inc. + Bash is Copyright (C) 1989-2016 by the Free Software Foundation, Inc. DDEESSCCRRIIPPTTIIOONN BBaasshh is an sshh-compatible command language interpreter that executes @@ -21,37 +21,40 @@ DDEESSCCRRIIPPTTIIOONN 1003.1). BBaasshh can be configured to be POSIX-conformant by default. OOPPTTIIOONNSS - All of the single-character shell options documented in the descrip- - tion of the sseett builtin command can be used as options when the shell - is invoked. In addition, bbaasshh interprets the following options when it - is invoked: + All of the single-character shell options documented in the description + of the sseett builtin command can be used as options when the shell is + invoked. In addition, bbaasshh interprets the following options when it is + invoked: --cc If the --cc option is present, then commands are read from the first non-option argument _c_o_m_m_a_n_d___s_t_r_i_n_g. If there are argu- - ments after the _c_o_m_m_a_n_d___s_t_r_i_n_g, they are assigned to the - positional parameters, starting with $$00. + ments after the _c_o_m_m_a_n_d___s_t_r_i_n_g, the first argument is + assigned to $$00 and any remaining arguments are assigned to + the positional parameters. The assignment to $$00 sets the + name of the shell, which is used in warning and error mes- + sages. --ii If the --ii option is present, the shell is _i_n_t_e_r_a_c_t_i_v_e. --ll Make bbaasshh act as if it had been invoked as a login shell (see IINNVVOOCCAATTIIOONN below). - --rr If the --rr option is present, the shell becomes _r_e_s_t_r_i_c_t_e_d + --rr If the --rr option is present, the shell becomes _r_e_s_t_r_i_c_t_e_d (see RREESSTTRRIICCTTEEDD SSHHEELLLL below). - --ss If the --ss option is present, or if no arguments remain after - option processing, then commands are read from the standard - input. This option allows the positional parameters to be + --ss If the --ss option is present, or if no arguments remain after + option processing, then commands are read from the standard + input. This option allows the positional parameters to be set when invoking an interactive shell. - --DD A list of all double-quoted strings preceded by $$ is printed - on the standard output. These are the strings that are sub- + --DD A list of all double-quoted strings preceded by $$ is printed + on the standard output. These are the strings that are sub- ject to language translation when the current locale is not CC - or PPOOSSIIXX. This implies the --nn option; no commands will be + or PPOOSSIIXX. This implies the --nn option; no commands will be executed. [[--++]]OO [[_s_h_o_p_t___o_p_t_i_o_n]] - _s_h_o_p_t___o_p_t_i_o_n is one of the shell options accepted by the - sshhoopptt builtin (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). If + _s_h_o_p_t___o_p_t_i_o_n is one of the shell options accepted by the + sshhoopptt builtin (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). If _s_h_o_p_t___o_p_t_i_o_n is present, --OO sets the value of that option; ++OO - unsets it. If _s_h_o_p_t___o_p_t_i_o_n is not supplied, the names and - values of the shell options accepted by sshhoopptt are printed on - the standard output. If the invocation option is ++OO, the - output is displayed in a format that may be reused as input. + unsets it. If _s_h_o_p_t___o_p_t_i_o_n is not supplied, the names and + values of the shell options accepted by sshhoopptt are printed on + the standard output. If the invocation option is ++OO, the + output is displayed in a format that may be reused as input. ---- A ---- signals the end of options and disables further option processing. Any arguments after the ---- are treated as file- names and arguments. An argument of -- is equivalent to ----. @@ -105,7 +108,7 @@ OOPPTTIIOONNSS The shell becomes restricted (see RREESSTTRRIICCTTEEDD SSHHEELLLL below). ----vveerrbboossee - Equivalent to --vv. + Equivalent to --vv. ----vveerrssiioonn Show version information for this instance of bbaasshh on the stan- @@ -127,27 +130,29 @@ IINNVVOOCCAATTIIOONN A _l_o_g_i_n _s_h_e_l_l is one whose first character of argument zero is a --, or one started with the ----llooggiinn option. - An _i_n_t_e_r_a_c_t_i_v_e shell is one started without non-option arguments and - without the --cc option whose standard input and error are both connected - to terminals (as determined by _i_s_a_t_t_y(3)), or one started with the --ii - option. PPSS11 is set and $$-- includes ii if bbaasshh is interactive, allowing - a shell script or a startup file to test this state. + An _i_n_t_e_r_a_c_t_i_v_e shell is one started without non-option arguments + (unless --ss is specified) and without the --cc option whose standard input + and error are both connected to terminals (as determined by _i_s_a_t_t_y(3)), + or one started with the --ii option. PPSS11 is set and $$-- includes ii if + bbaasshh is interactive, allowing a shell script or a startup file to test + this state. - The following paragraphs describe how bbaasshh executes its startup files. - If any of the files exist but cannot be read, bbaasshh reports an error. - Tildes are expanded in filenames as described below under TTiillddee EExxppaann-- + The following paragraphs describe how bbaasshh executes its startup files. + If any of the files exist but cannot be read, bbaasshh reports an error. + Tildes are expanded in filenames as described below under TTiillddee EExxppaann-- ssiioonn in the EEXXPPAANNSSIIOONN section. - When bbaasshh is invoked as an interactive login shell, or as a non-inter- - active shell with the ----llooggiinn option, it first reads and executes com- - mands from the file _/_e_t_c_/_p_r_o_f_i_l_e, if that file exists. After reading + When bbaasshh is invoked as an interactive login shell, or as a non-inter- + active shell with the ----llooggiinn option, it first reads and executes com- + mands from the file _/_e_t_c_/_p_r_o_f_i_l_e, if that file exists. After reading that file, it looks for _~_/_._b_a_s_h___p_r_o_f_i_l_e, _~_/_._b_a_s_h___l_o_g_i_n, and _~_/_._p_r_o_f_i_l_e, - in that order, and reads and executes commands from the first one that - exists and is readable. The ----nnoopprrooffiillee option may be used when the + in that order, and reads and executes commands from the first one that + exists and is readable. The ----nnoopprrooffiillee option may be used when the shell is started to inhibit this behavior. - When a login shell exits, bbaasshh reads and executes commands from the - file _~_/_._b_a_s_h___l_o_g_o_u_t, if it exists. + When an interactive login shell exits, or a non-interactive login shell + executes the eexxiitt builtin command, bbaasshh reads and executes commands + from the file _~_/_._b_a_s_h___l_o_g_o_u_t, if it exists. When an interactive shell that is not a login shell is started, bbaasshh reads and executes commands from _~_/_._b_a_s_h_r_c, if that file exists. This @@ -216,11 +221,11 @@ DDEEFFIINNIITTIIOONNSS mmeettaacchhaarraacctteerr A character that, when unquoted, separates words. One of the following: - || && ;; (( )) << >> ssppaaccee ttaabb + || && ;; (( )) << >> ssppaaccee ttaabb nneewwlliinnee ccoonnttrrooll ooppeerraattoorr A _t_o_k_e_n that performs a control function. It is one of the fol- lowing symbols: - |||| && &&&& ;; ;;;; (( )) || ||&& <> + |||| && &&&& ;; ;;;; ;;&& ;;;;&& (( )) || ||&& <> RREESSEERRVVEEDD WWOORRDDSS _R_e_s_e_r_v_e_d _w_o_r_d_s are words that have a special meaning to the shell. The @@ -301,7 +306,7 @@ SSHHEELLLL GGRRAAMMMMAARR command to terminate in turn. The return status is the exit status of the last command executed. - AND and OR lists are sequences of one of more pipelines separated by + AND and OR lists are sequences of one or more pipelines separated by the &&&& and |||| control operators, respectively. AND and OR lists are executed with left associativity. An AND list has the form @@ -314,7 +319,6 @@ SSHHEELLLL GGRRAAMMMMAARR _c_o_m_m_a_n_d_1 |||| _c_o_m_m_a_n_d_2 - _c_o_m_m_a_n_d_2 is executed if and only if _c_o_m_m_a_n_d_1 returns a non-zero exit status. The return status of AND and OR lists is the exit status of the last command executed in the list. @@ -365,7 +369,7 @@ SSHHEELLLL GGRRAAMMMMAARR of the operator is considered a pattern and matched according to the rules described below under PPaatttteerrnn MMaattcchhiinngg, as if the eexxtt-- gglloobb shell option were enabled. The == operator is equivalent to - ====. If the shell option nnooccaasseemmaattcchh is enabled, the match is + ====. If the nnooccaasseemmaattcchh shell option is enabled, the match is performed without regard to the case of alphabetic characters. The return value is 0 if the string matches (====) or does not match (!!==) the pattern, and 1 otherwise. Any part of the pat- @@ -378,7 +382,7 @@ SSHHEELLLL GGRRAAMMMMAARR sion and matched accordingly (as in _r_e_g_e_x(3)). The return value is 0 if the string matches the pattern, and 1 otherwise. If the regular expression is syntactically incorrect, the conditional - expression's return value is 2. If the shell option nnooccaasseemmaattcchh + expression's return value is 2. If the nnooccaasseemmaattcchh shell option is enabled, the match is performed without regard to the case of alphabetic characters. Any part of the pattern may be quoted to force the quoted portion to be matched as a string. Bracket @@ -452,21 +456,21 @@ SSHHEELLLL GGRRAAMMMMAARR each _p_a_t_t_e_r_n in turn, using the same matching rules as for path- name expansion (see PPaatthhnnaammee EExxppaannssiioonn below). The _w_o_r_d is expanded using tilde expansion, parameter and variable expan- - sion, arithmetic substitution, command substitution, process - substitution and quote removal. Each _p_a_t_t_e_r_n examined is - expanded using tilde expansion, parameter and variable expan- - sion, arithmetic substitution, command substitution, and process - substitution. If the shell option nnooccaasseemmaattcchh is enabled, the - match is performed without regard to the case of alphabetic - characters. When a match is found, the corresponding _l_i_s_t is - executed. If the ;;;; operator is used, no subsequent matches are - attempted after the first pattern match. Using ;;&& in place of - ;;;; causes execution to continue with the _l_i_s_t associated with - the next set of patterns. Using ;;;;&& in place of ;;;; causes the - shell to test the next pattern list in the statement, if any, - and execute any associated _l_i_s_t on a successful match. The exit - status is zero if no pattern matches. Otherwise, it is the exit - status of the last command executed in _l_i_s_t. + sion, arithmetic expansion, command substitution, process sub- + stitution and quote removal. Each _p_a_t_t_e_r_n examined is expanded + using tilde expansion, parameter and variable expansion, arith- + metic expansion, command substitution, and process substitution. + If the nnooccaasseemmaattcchh shell option is enabled, the match is per- + formed without regard to the case of alphabetic characters. + When a match is found, the corresponding _l_i_s_t is executed. If + the ;;;; operator is used, no subsequent matches are attempted + after the first pattern match. Using ;;&& in place of ;;;; causes + execution to continue with the _l_i_s_t associated with the next set + of patterns. Using ;;;;&& in place of ;;;; causes the shell to test + the next pattern list in the statement, if any, and execute any + associated _l_i_s_t on a successful match. The exit status is zero + if no pattern matches. Otherwise, it is the exit status of the + last command executed in _l_i_s_t. iiff _l_i_s_t; tthheenn _l_i_s_t; [ eelliiff _l_i_s_t; tthheenn _l_i_s_t; ] ... [ eellssee _l_i_s_t; ] ffii The iiff _l_i_s_t is executed. If its exit status is zero, the tthheenn @@ -482,7 +486,7 @@ SSHHEELLLL GGRRAAMMMMAARR The wwhhiillee command continuously executes the list _l_i_s_t_-_2 as long as the last command in the list _l_i_s_t_-_1 returns an exit status of zero. The uunnttiill command is identical to the wwhhiillee command, - except that the test is negated; _l_i_s_t_-_2 is executed as long as + except that the test is negated: _l_i_s_t_-_2 is executed as long as the last command in _l_i_s_t_-_1 returns a non-zero exit status. The exit status of the wwhhiillee and uunnttiill commands is the exit status of the last command executed in _l_i_s_t_-_2, or zero if none was exe- @@ -532,7 +536,9 @@ SSHHEELLLL GGRRAAMMMMAARR parentheses are optional. The _b_o_d_y of the function is the com- pound command _c_o_m_p_o_u_n_d_-_c_o_m_m_a_n_d (see CCoommppoouunndd CCoommmmaannddss above). That command is usually a _l_i_s_t of commands between { and }, but - may be any command listed under CCoommppoouunndd CCoommmmaannddss above. _c_o_m_- + may be any command listed under CCoommppoouunndd CCoommmmaannddss above, with + one exception: If the ffuunnccttiioonn reserved word is used, but the + parentheses are not supplied, the braces are required. _c_o_m_- _p_o_u_n_d_-_c_o_m_m_a_n_d is executed whenever _n_a_m_e is specified as the name of a simple command. When in _p_o_s_i_x _m_o_d_e, _n_a_m_e may not be the name of one of the POSIX _s_p_e_c_i_a_l _b_u_i_l_t_i_n_s. Any redirections @@ -580,13 +586,15 @@ QQUUOOTTIINNGG Enclosing characters in double quotes preserves the literal value of all characters within the quotes, with the exception of $$, ``, \\, and, - when history expansion is enabled, !!. The characters $$ and `` retain - their special meaning within double quotes. The backslash retains its - special meaning only when followed by one of the following characters: - $$, ``, "", \\, or <>. A double quote may be quoted within double - quotes by preceding it with a backslash. If enabled, history expansion - will be performed unless an !! appearing in double quotes is escaped - using a backslash. The backslash preceding the !! is not removed. + when history expansion is enabled, !!. When the shell is in _p_o_s_i_x _m_o_d_e, + the !! has no special meaning within double quotes, even when history + expansion is enabled. The characters $$ and `` retain their special + meaning within double quotes. The backslash retains its special mean- + ing only when followed by one of the following characters: $$, ``, "", \\, + or <>. A double quote may be quoted within double quotes by + preceding it with a backslash. If enabled, history expansion will be + performed unless an !! appearing in double quotes is escaped using a + backslash. The backslash preceding the !! is not removed. The special parameters ** and @@ have special meaning when in double quotes (see PPAARRAAMMEETTEERRSS below). @@ -607,6 +615,7 @@ QQUUOOTTIINNGG \\\\ backslash \\'' single quote \\"" double quote + \\?? question mark \\_n_n_n the eight-bit character whose value is the octal value _n_n_n (one to three digits) \\xx_H_H the eight-bit character whose value is the hexadecimal @@ -631,61 +640,66 @@ PPAARRAAMMEETTEERRSS ber, or one of the special characters listed below under SSppeecciiaall PPaarraamm-- eetteerrss. A _v_a_r_i_a_b_l_e is a parameter denoted by a _n_a_m_e. A variable has a _v_a_l_u_e and zero or more _a_t_t_r_i_b_u_t_e_s. Attributes are assigned using the - ddeeccllaarree builtin command (see ddeeccllaarree below in SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS). + ddeeccllaarree builtin command (see ddeeccllaarree below in SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS). A parameter is set if it has been assigned a value. The null string is - a valid value. Once a variable is set, it may be unset only by using + a valid value. Once a variable is set, it may be unset only by using the uunnsseett builtin command (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). A _v_a_r_i_a_b_l_e may be assigned to by a statement of the form _n_a_m_e=[_v_a_l_u_e] - If _v_a_l_u_e is not given, the variable is assigned the null string. All - _v_a_l_u_e_s undergo tilde expansion, parameter and variable expansion, com- - mand substitution, arithmetic expansion, and quote removal (see EEXXPPAANN-- + If _v_a_l_u_e is not given, the variable is assigned the null string. All + _v_a_l_u_e_s undergo tilde expansion, parameter and variable expansion, com- + mand substitution, arithmetic expansion, and quote removal (see EEXXPPAANN-- SSIIOONN below). If the variable has its iinntteeggeerr attribute set, then _v_a_l_u_e is evaluated as an arithmetic expression even if the $((...)) expansion - is not used (see AArriitthhmmeettiicc EExxppaannssiioonn below). Word splitting is not - performed, with the exception of ""$$@@"" as explained below under SSppeecciiaall - PPaarraammeetteerrss. Pathname expansion is not performed. Assignment state- - ments may also appear as arguments to the aalliiaass, ddeeccllaarree, ttyyppeesseett, - eexxppoorrtt, rreeaaddoonnllyy, and llooccaall builtin commands. When in _p_o_s_i_x _m_o_d_e, - these builtins may appear in a command after one or more instances of - the ccoommmmaanndd builtin and retain these assignment statement properties. + is not used (see AArriitthhmmeettiicc EExxppaannssiioonn below). Word splitting is not + performed, with the exception of ""$$@@"" as explained below under SSppeecciiaall + PPaarraammeetteerrss. Pathname expansion is not performed. Assignment state- + ments may also appear as arguments to the aalliiaass, ddeeccllaarree, ttyyppeesseett, + eexxppoorrtt, rreeaaddoonnllyy, and llooccaall builtin commands (_d_e_c_l_a_r_a_t_i_o_n commands). + When in _p_o_s_i_x _m_o_d_e, these builtins may appear in a command after one or + more instances of the ccoommmmaanndd builtin and retain these assignment + statement properties. In the context where an assignment statement is assigning a value to a shell variable or array index, the += operator can be used to append to - or add to the variable's previous value. When += is applied to a vari- - able for which the _i_n_t_e_g_e_r attribute has been set, _v_a_l_u_e is evaluated - as an arithmetic expression and added to the variable's current value, - which is also evaluated. When += is applied to an array variable using - compound assignment (see AArrrraayyss below), the variable's value is not - unset (as it is when using =), and new values are appended to the array - beginning at one greater than the array's maximum index (for indexed - arrays) or added as additional key-value pairs in an associative array. - When applied to a string-valued variable, _v_a_l_u_e is expanded and - appended to the variable's value. + or add to the variable's previous value. This includes arguments to + builtin commands such as ddeeccllaarree that accept assignment statements + (_d_e_c_l_a_r_a_t_i_o_n commands). When += is applied to a variable for which the + _i_n_t_e_g_e_r attribute has been set, _v_a_l_u_e is evaluated as an arithmetic + expression and added to the variable's current value, which is also + evaluated. When += is applied to an array variable using compound + assignment (see AArrrraayyss below), the variable's value is not unset (as it + is when using =), and new values are appended to the array beginning at + one greater than the array's maximum index (for indexed arrays) or + added as additional key-value pairs in an associative array. When + applied to a string-valued variable, _v_a_l_u_e is expanded and appended to + the variable's value. A variable can be assigned the _n_a_m_e_r_e_f attribute using the --nn option to the ddeeccllaarree or llooccaall builtin commands (see the descriptions of ddeeccllaarree and llooccaall below) to create a _n_a_m_e_r_e_f, or a reference to another vari- able. This allows variables to be manipulated indirectly. Whenever - the nameref variable is referenced or assigned to, the operation is - actually performed on the variable specified by the nameref variable's - value. A nameref is commonly used within shell functions to refer to a - variable whose name is passed as an argument to the function. For - instance, if a variable name is passed to a shell function as its first - argument, running + the nameref variable is referenced, assigned to, unset, or has its + attributes modified (other than using or changing the _n_a_m_e_r_e_f attribute + itself), the operation is actually performed on the variable specified + by the nameref variable's value. A nameref is commonly used within + shell functions to refer to a variable whose name is passed as an argu- + ment to the function. For instance, if a variable name is passed to a + shell function as its first argument, running declare -n ref=$1 - inside the function creates a nameref variable rreeff whose value is the + inside the function creates a nameref variable rreeff whose value is the variable name passed as the first argument. References and assignments - to rreeff are treated as references and assignments to the variable whose - name was passed as $$11. If the control variable in a ffoorr loop has the - nameref attribute, the list of words can be a list of shell variables, - and a name reference will be established for each word in the list, in - turn, when the loop is executed. Array variables cannot be given the - --nn attribute. However, nameref variables can reference array variables + to rreeff, and changes to its attributes, are treated as references, + assignments, and attribute modifications to the variable whose name was + passed as $$11. If the control variable in a ffoorr loop has the nameref + attribute, the list of words can be a list of shell variables, and a + name reference will be established for each word in the list, in turn, + when the loop is executed. Array variables cannot be given the nnaammeerreeff + attribute. However, nameref variables can reference array variables and subscripted array variables. Namerefs can be unset using the --nn option to the uunnsseett builtin. Otherwise, if uunnsseett is executed with the name of a nameref variable as an argument, the variable referenced by @@ -715,66 +729,68 @@ PPAARRAAMMEETTEERRSS variable. That is, "$$**" is equivalent to "$$11_c$$22_c......", where _c is the first character of the value of the IIFFSS variable. If IIFFSS is unset, the parameters are separated by spaces. If IIFFSS is - null, the parameters are joined without intervening separators. - @@ Expands to the positional parameters, starting from one. When + null, the parameters are joined without intervening separators. + @@ Expands to the positional parameters, starting from one. When the expansion occurs within double quotes, each parameter expands to a separate word. That is, "$$@@" is equivalent to "$$11" - "$$22" ... If the double-quoted expansion occurs within a word, - the expansion of the first parameter is joined with the begin- - ning part of the original word, and the expansion of the last - parameter is joined with the last part of the original word. - When there are no positional parameters, "$$@@" and $$@@ expand to + "$$22" ... If the double-quoted expansion occurs within a word, + the expansion of the first parameter is joined with the begin- + ning part of the original word, and the expansion of the last + parameter is joined with the last part of the original word. + When there are no positional parameters, "$$@@" and $$@@ expand to nothing (i.e., they are removed). ## Expands to the number of positional parameters in decimal. - ?? Expands to the exit status of the most recently executed fore- + ?? Expands to the exit status of the most recently executed fore- ground pipeline. - -- Expands to the current option flags as specified upon invoca- - tion, by the sseett builtin command, or those set by the shell + -- Expands to the current option flags as specified upon invoca- + tion, by the sseett builtin command, or those set by the shell itself (such as the --ii option). - $$ Expands to the process ID of the shell. In a () subshell, it - expands to the process ID of the current shell, not the sub- + $$ Expands to the process ID of the shell. In a () subshell, it + expands to the process ID of the current shell, not the sub- shell. - !! Expands to the process ID of the job most recently placed into - the background, whether executed as an asynchronous command or + !! Expands to the process ID of the job most recently placed into + the background, whether executed as an asynchronous command or using the bbgg builtin (see JJOOBB CCOONNTTRROOLL below). - 00 Expands to the name of the shell or shell script. This is set + 00 Expands to the name of the shell or shell script. This is set at shell initialization. If bbaasshh is invoked with a file of com- - mands, $$00 is set to the name of that file. If bbaasshh is started - with the --cc option, then $$00 is set to the first argument after - the string to be executed, if one is present. Otherwise, it is - set to the filename used to invoke bbaasshh, as given by argument + mands, $$00 is set to the name of that file. If bbaasshh is started + with the --cc option, then $$00 is set to the first argument after + the string to be executed, if one is present. Otherwise, it is + set to the filename used to invoke bbaasshh, as given by argument zero. - __ At shell startup, set to the absolute pathname used to invoke - the shell or shell script being executed as passed in the envi- - ronment or argument list. Subsequently, expands to the last - argument to the previous command, after expansion. Also set to - the full pathname used to invoke each command executed and + __ At shell startup, set to the absolute pathname used to invoke + the shell or shell script being executed as passed in the envi- + ronment or argument list. Subsequently, expands to the last + argument to the previous command, after expansion. Also set to + the full pathname used to invoke each command executed and placed in the environment exported to that command. When check- - ing mail, this parameter holds the name of the mail file cur- + ing mail, this parameter holds the name of the mail file cur- rently being checked. SShheellll VVaarriiaabblleess The following variables are set by the shell: - BBAASSHH Expands to the full filename used to invoke this instance of + BBAASSHH Expands to the full filename used to invoke this instance of bbaasshh. BBAASSHHOOPPTTSS - A colon-separated list of enabled shell options. Each word in - the list is a valid argument for the --ss option to the sshhoopptt + A colon-separated list of enabled shell options. Each word in + the list is a valid argument for the --ss option to the sshhoopptt builtin command (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). The options - appearing in BBAASSHHOOPPTTSS are those reported as _o_n by sshhoopptt. If - this variable is in the environment when bbaasshh starts up, each - shell option in the list will be enabled before reading any + appearing in BBAASSHHOOPPTTSS are those reported as _o_n by sshhoopptt. If + this variable is in the environment when bbaasshh starts up, each + shell option in the list will be enabled before reading any startup files. This variable is read-only. BBAASSHHPPIIDD - Expands to the process ID of the current bbaasshh process. This - differs from $$$$ under certain circumstances, such as subshells + Expands to the process ID of the current bbaasshh process. This + differs from $$$$ under certain circumstances, such as subshells that do not require bbaasshh to be re-initialized. BBAASSHH__AALLIIAASSEESS - An associative array variable whose members correspond to the - internal list of aliases as maintained by the aalliiaass builtin. - Elements added to this array appear in the alias list; unsetting - array elements cause aliases to be removed from the alias list. + An associative array variable whose members correspond to the + internal list of aliases as maintained by the aalliiaass builtin. + Elements added to this array appear in the alias list; however, + unsetting array elements currently does not cause aliases to be + removed from the alias list. If BBAASSHH__AALLIIAASSEESS is unset, it loses + its special properties, even if it is subsequently reset. BBAASSHH__AARRGGCC An array variable whose values are the number of parameters in each frame of the current bbaasshh execution call stack. The number @@ -797,8 +813,10 @@ PPAARRAAMMEETTEERRSS An associative array variable whose members correspond to the internal hash table of commands as maintained by the hhaasshh builtin. Elements added to this array appear in the hash table; - unsetting array elements cause commands to be removed from the - hash table. + however, unsetting array elements currently does not cause com- + mand names to be removed from the hash table. If BBAASSHH__CCMMDDSS is + unset, it loses its special properties, even if it is subse- + quently reset. BBAASSHH__CCOOMMMMAANNDD The command currently being executed or about to be executed, unless the shell is executing a command as the result of a trap, @@ -813,6 +831,10 @@ PPAARRAAMMEETTEERRSS ($${{BBAASSHH__SSOOUURRCCEE[[_$_i_+_1]]}}) where $${{FFUUNNCCNNAAMMEE[[_$_i]]}} was called (or $${{BBAASSHH__LLIINNEENNOO[[_$_i_-_1]]}} if referenced within another shell func- tion). Use LLIINNEENNOO to obtain the current line number. + BBAASSHH__LLOOAADDAABBLLEESS__PPAATTHH + A colon-separated list of directories in which the shell looks + for dynamically loadable builtins specified by the eennaabbllee com- + mand. BBAASSHH__RREEMMAATTCCHH An array variable whose members are assigned by the ==~~ binary operator to the [[[[ conditional command. The element with index @@ -834,8 +856,8 @@ PPAARRAAMMEETTEERRSS A readonly array variable whose members hold version information for this instance of bbaasshh. The values assigned to the array members are as follows: - BBAASSHH__VVEERRSSIINNFFOO[[0]] The major version number (the _r_e_l_e_a_s_e). - BBAASSHH__VVEERRSSIINNFFOO[[1]] The minor version number (the _v_e_r_s_i_o_n). + BBAASSHH__VVEERRSSIINNFFOO[[0]] The major version number (the _r_e_l_e_a_s_e). + BBAASSHH__VVEERRSSIINNFFOO[[1]] The minor version number (the _v_e_r_s_i_o_n). BBAASSHH__VVEERRSSIINNFFOO[[2]] The patch level. BBAASSHH__VVEERRSSIINNFFOO[[3]] The build version. BBAASSHH__VVEERRSSIINNFFOO[[4]] The release status (e.g., _b_e_t_a_1). @@ -853,17 +875,15 @@ PPAARRAAMMEETTEERRSS rent completion function. CCOOMMPP__LLIINNEE The current command line. This variable is available only in - shell functions and external commands invoked by the pro- - grammable completion facilities (see PPrrooggrraammmmaabbllee CCoommpplleettiioonn - below). + shell functions and external commands invoked by the program- + mable completion facilities (see PPrrooggrraammmmaabbllee CCoommpplleettiioonn below). CCOOMMPP__PPOOIINNTT - The index of the current cursor position relative to the begin- - ning of the current command. If the current cursor position is + The index of the current cursor position relative to the begin- + ning of the current command. If the current cursor position is at the end of the current command, the value of this variable is - equal to $${{##CCOOMMPP__LLIINNEE}}. This variable is available only in - shell functions and external commands invoked by the pro- - grammable completion facilities (see PPrrooggrraammmmaabbllee CCoommpplleettiioonn - below). + equal to $${{##CCOOMMPP__LLIINNEE}}. This variable is available only in + shell functions and external commands invoked by the program- + mable completion facilities (see PPrrooggrraammmmaabbllee CCoommpplleettiioonn below). CCOOMMPP__TTYYPPEE Set to an integer value corresponding to the type of completion attempted that caused a completion function to be called: _T_A_B, @@ -871,99 +891,98 @@ PPAARRAAMMEETTEERRSS sive tabs, _!, for listing alternatives on partial word comple- tion, _@, to list completions if the word is not unmodified, or _%, for menu completion. This variable is available only in - shell functions and external commands invoked by the pro- - grammable completion facilities (see PPrrooggrraammmmaabbllee CCoommpplleettiioonn - below). + shell functions and external commands invoked by the program- + mable completion facilities (see PPrrooggrraammmmaabbllee CCoommpplleettiioonn below). CCOOMMPP__WWOORRDDBBRREEAAKKSS - The set of characters that the rreeaaddlliinnee library treats as word - separators when performing word completion. If CCOOMMPP__WWOORRDDBBRREEAAKKSS - is unset, it loses its special properties, even if it is subse- + The set of characters that the rreeaaddlliinnee library treats as word + separators when performing word completion. If CCOOMMPP__WWOORRDDBBRREEAAKKSS + is unset, it loses its special properties, even if it is subse- quently reset. CCOOMMPP__WWOORRDDSS - An array variable (see AArrrraayyss below) consisting of the individ- - ual words in the current command line. The line is split into - words as rreeaaddlliinnee would split it, using CCOOMMPP__WWOORRDDBBRREEAAKKSS as + An array variable (see AArrrraayyss below) consisting of the individ- + ual words in the current command line. The line is split into + words as rreeaaddlliinnee would split it, using CCOOMMPP__WWOORRDDBBRREEAAKKSS as described above. This variable is available only in shell func- - tions invoked by the programmable completion facilities (see + tions invoked by the programmable completion facilities (see PPrrooggrraammmmaabbllee CCoommpplleettiioonn below). - CCOOPPRROOCC An array variable (see AArrrraayyss below) created to hold the file - descriptors for output from and input to an unnamed coprocess + CCOOPPRROOCC An array variable (see AArrrraayyss below) created to hold the file + descriptors for output from and input to an unnamed coprocess (see CCoopprroocceesssseess above). DDIIRRSSTTAACCKK An array variable (see AArrrraayyss below) containing the current con- - tents of the directory stack. Directories appear in the stack - in the order they are displayed by the ddiirrss builtin. Assigning + tents of the directory stack. Directories appear in the stack + in the order they are displayed by the ddiirrss builtin. Assigning to members of this array variable may be used to modify directo- - ries already in the stack, but the ppuusshhdd and ppooppdd builtins must + ries already in the stack, but the ppuusshhdd and ppooppdd builtins must be used to add and remove directories. Assignment to this vari- - able will not change the current directory. If DDIIRRSSTTAACCKK is - unset, it loses its special properties, even if it is subse- + able will not change the current directory. If DDIIRRSSTTAACCKK is + unset, it loses its special properties, even if it is subse- quently reset. - EEUUIIDD Expands to the effective user ID of the current user, initial- + EEUUIIDD Expands to the effective user ID of the current user, initial- ized at shell startup. This variable is readonly. FFUUNNCCNNAAMMEE - An array variable containing the names of all shell functions + An array variable containing the names of all shell functions currently in the execution call stack. The element with index 0 is the name of any currently-executing shell function. The bot- - tom-most element (the one with the highest index) is "main". - This variable exists only when a shell function is executing. - Assignments to FFUUNNCCNNAAMMEE have no effect and return an error sta- - tus. If FFUUNNCCNNAAMMEE is unset, it loses its special properties, - even if it is subsequently reset. + tom-most element (the one with the highest index) is "main". + This variable exists only when a shell function is executing. + Assignments to FFUUNNCCNNAAMMEE have no effect. If FFUUNNCCNNAAMMEE is unset, + it loses its special properties, even if it is subsequently + reset. - This variable can be used with BBAASSHH__LLIINNEENNOO and BBAASSHH__SSOOUURRCCEE. - Each element of FFUUNNCCNNAAMMEE has corresponding elements in - BBAASSHH__LLIINNEENNOO and BBAASSHH__SSOOUURRCCEE to describe the call stack. For - instance, $${{FFUUNNCCNNAAMMEE[[_$_i]]}} was called from the file - $${{BBAASSHH__SSOOUURRCCEE[[_$_i_+_1]]}} at line number $${{BBAASSHH__LLIINNEENNOO[[_$_i]]}}. The + This variable can be used with BBAASSHH__LLIINNEENNOO and BBAASSHH__SSOOUURRCCEE. + Each element of FFUUNNCCNNAAMMEE has corresponding elements in + BBAASSHH__LLIINNEENNOO and BBAASSHH__SSOOUURRCCEE to describe the call stack. For + instance, $${{FFUUNNCCNNAAMMEE[[_$_i]]}} was called from the file + $${{BBAASSHH__SSOOUURRCCEE[[_$_i_+_1]]}} at line number $${{BBAASSHH__LLIINNEENNOO[[_$_i]]}}. The ccaalllleerr builtin displays the current call stack using this infor- mation. - GGRROOUUPPSS An array variable containing the list of groups of which the - current user is a member. Assignments to GGRROOUUPPSS have no effect - and return an error status. If GGRROOUUPPSS is unset, it loses its - special properties, even if it is subsequently reset. + GGRROOUUPPSS An array variable containing the list of groups of which the + current user is a member. Assignments to GGRROOUUPPSS have no effect. + If GGRROOUUPPSS is unset, it loses its special properties, even if it + is subsequently reset. HHIISSTTCCMMDD The history number, or index in the history list, of the current - command. If HHIISSTTCCMMDD is unset, it loses its special properties, + command. If HHIISSTTCCMMDD is unset, it loses its special properties, even if it is subsequently reset. HHOOSSTTNNAAMMEE Automatically set to the name of the current host. HHOOSSTTTTYYPPEE - Automatically set to a string that uniquely describes the type - of machine on which bbaasshh is executing. The default is system- + Automatically set to a string that uniquely describes the type + of machine on which bbaasshh is executing. The default is system- dependent. - LLIINNEENNOO Each time this parameter is referenced, the shell substitutes a - decimal number representing the current sequential line number - (starting with 1) within a script or function. When not in a - script or function, the value substituted is not guaranteed to + LLIINNEENNOO Each time this parameter is referenced, the shell substitutes a + decimal number representing the current sequential line number + (starting with 1) within a script or function. When not in a + script or function, the value substituted is not guaranteed to be meaningful. If LLIINNEENNOO is unset, it loses its special proper- ties, even if it is subsequently reset. MMAACCHHTTYYPPEE - Automatically set to a string that fully describes the system - type on which bbaasshh is executing, in the standard GNU _c_p_u_-_c_o_m_- + Automatically set to a string that fully describes the system + type on which bbaasshh is executing, in the standard GNU _c_p_u_-_c_o_m_- _p_a_n_y_-_s_y_s_t_e_m format. The default is system-dependent. MMAAPPFFIILLEE - An array variable (see AArrrraayyss below) created to hold the text + An array variable (see AArrrraayyss below) created to hold the text read by the mmaappffiillee builtin when no variable name is supplied. OOLLDDPPWWDD The previous working directory as set by the ccdd command. - OOPPTTAARRGG The value of the last option argument processed by the ggeettooppttss + OOPPTTAARRGG The value of the last option argument processed by the ggeettooppttss builtin command (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). - OOPPTTIINNDD The index of the next argument to be processed by the ggeettooppttss + OOPPTTIINNDD The index of the next argument to be processed by the ggeettooppttss builtin command (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). - OOSSTTYYPPEE Automatically set to a string that describes the operating sys- - tem on which bbaasshh is executing. The default is system-depen- + OOSSTTYYPPEE Automatically set to a string that describes the operating sys- + tem on which bbaasshh is executing. The default is system-depen- dent. PPIIPPEESSTTAATTUUSS - An array variable (see AArrrraayyss below) containing a list of exit - status values from the processes in the most-recently-executed + An array variable (see AArrrraayyss below) containing a list of exit + status values from the processes in the most-recently-executed foreground pipeline (which may contain only a single command). - PPPPIIDD The process ID of the shell's parent. This variable is read- + PPPPIIDD The process ID of the shell's parent. This variable is read- only. PPWWDD The current working directory as set by the ccdd command. RRAANNDDOOMM Each time this parameter is referenced, a random integer between 0 and 32767 is generated. The sequence of random numbers may be initialized by assigning a value to RRAANNDDOOMM. If RRAANNDDOOMM is unset, - it loses its special properties, even if it is subsequently + it loses its special properties, even if it is subsequently reset. RREEAADDLLIINNEE__LLIINNEE The contents of the rreeaaddlliinnee line buffer, for use with "bind -x" @@ -971,86 +990,97 @@ PPAARRAAMMEETTEERRSS RREEAADDLLIINNEE__PPOOIINNTT The position of the insertion point in the rreeaaddlliinnee line buffer, for use with "bind -x" (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). - RREEPPLLYY Set to the line of input read by the rreeaadd builtin command when + RREEPPLLYY Set to the line of input read by the rreeaadd builtin command when no arguments are supplied. SSEECCOONNDDSS - Each time this parameter is referenced, the number of seconds - since shell invocation is returned. If a value is assigned to - SSEECCOONNDDSS, the value returned upon subsequent references is the - number of seconds since the assignment plus the value assigned. + Each time this parameter is referenced, the number of seconds + since shell invocation is returned. If a value is assigned to + SSEECCOONNDDSS, the value returned upon subsequent references is the + number of seconds since the assignment plus the value assigned. If SSEECCOONNDDSS is unset, it loses its special properties, even if it is subsequently reset. SSHHEELLLLOOPPTTSS - A colon-separated list of enabled shell options. Each word in - the list is a valid argument for the --oo option to the sseett + A colon-separated list of enabled shell options. Each word in + the list is a valid argument for the --oo option to the sseett builtin command (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). The options - appearing in SSHHEELLLLOOPPTTSS are those reported as _o_n by sseett --oo. If - this variable is in the environment when bbaasshh starts up, each - shell option in the list will be enabled before reading any + appearing in SSHHEELLLLOOPPTTSS are those reported as _o_n by sseett --oo. If + this variable is in the environment when bbaasshh starts up, each + shell option in the list will be enabled before reading any startup files. This variable is read-only. SSHHLLVVLL Incremented by one each time an instance of bbaasshh is started. UUIIDD Expands to the user ID of the current user, initialized at shell startup. This variable is readonly. - The following variables are used by the shell. In some cases, bbaasshh + The following variables are used by the shell. In some cases, bbaasshh assigns a default value to a variable; these cases are noted below. BBAASSHH__CCOOMMPPAATT - The value is used to set the shell's compatibility level. See - the description of the sshhoopptt builtin below under SSHHEELLLL BBUUIILLTTIINN - CCOOMMMMAANNDDSS for a description of the various compatibility levels - and their effects. The value may be a decimal number (e.g., - 4.2) or an integer (e.g., 42) corresponding to the desired com- - patibility level. If BBAASSHH__CCOOMMPPAATT is unset or set to the empty - string, the compatibility level is set to the default for the - current version. If BBAASSHH__CCOOMMPPAATT is set to a value that is not + The value is used to set the shell's compatibility level. See + the description of the sshhoopptt builtin below under SSHHEELLLL BBUUIILLTTIINN + CCOOMMMMAANNDDSS for a description of the various compatibility levels + and their effects. The value may be a decimal number (e.g., + 4.2) or an integer (e.g., 42) corresponding to the desired com- + patibility level. If BBAASSHH__CCOOMMPPAATT is unset or set to the empty + string, the compatibility level is set to the default for the + current version. If BBAASSHH__CCOOMMPPAATT is set to a value that is not one of the valid compatibility levels, the shell prints an error - message and sets the compatibility level to the default for the - current version. The valid compatibility levels correspond to - the compatibility options accepted by the sshhoopptt builtin + message and sets the compatibility level to the default for the + current version. The valid compatibility levels correspond to + the compatibility options accepted by the sshhoopptt builtin described below (for example, ccoommppaatt4422 means that 4.2 and 42 are valid values). The current version is also a valid value. BBAASSHH__EENNVV - If this parameter is set when bbaasshh is executing a shell script, - its value is interpreted as a filename containing commands to + If this parameter is set when bbaasshh is executing a shell script, + its value is interpreted as a filename containing commands to initialize the shell, as in _~_/_._b_a_s_h_r_c. The value of BBAASSHH__EENNVV is - subjected to parameter expansion, command substitution, and - arithmetic expansion before being interpreted as a filename. + subjected to parameter expansion, command substitution, and + arithmetic expansion before being interpreted as a filename. PPAATTHH is not used to search for the resultant filename. BBAASSHH__XXTTRRAACCEEFFDD - If set to an integer corresponding to a valid file descriptor, - bbaasshh will write the trace output generated when _s_e_t _-_x is - enabled to that file descriptor. The file descriptor is closed - when BBAASSHH__XXTTRRAACCEEFFDD is unset or assigned a new value. Unsetting - BBAASSHH__XXTTRRAACCEEFFDD or assigning it the empty string causes the trace - output to be sent to the standard error. Note that setting + If set to an integer corresponding to a valid file descriptor, + bbaasshh will write the trace output generated when _s_e_t _-_x is + enabled to that file descriptor. The file descriptor is closed + when BBAASSHH__XXTTRRAACCEEFFDD is unset or assigned a new value. Unsetting + BBAASSHH__XXTTRRAACCEEFFDD or assigning it the empty string causes the trace + output to be sent to the standard error. Note that setting BBAASSHH__XXTTRRAACCEEFFDD to 2 (the standard error file descriptor) and then unsetting it will result in the standard error being closed. - CCDDPPAATTHH The search path for the ccdd command. This is a colon-separated - list of directories in which the shell looks for destination - directories specified by the ccdd command. A sample value is + CCDDPPAATTHH The search path for the ccdd command. This is a colon-separated + list of directories in which the shell looks for destination + directories specified by the ccdd command. A sample value is ".:~:/usr". CCHHIILLDD__MMAAXX - Set the number of exited child status values for the shell to - remember. Bash will not allow this value to be decreased below - a POSIX-mandated minimum, and there is a maximum value (cur- - rently 8192) that this may not exceed. The minimum value is + Set the number of exited child status values for the shell to + remember. Bash will not allow this value to be decreased below + a POSIX-mandated minimum, and there is a maximum value (cur- + rently 8192) that this may not exceed. The minimum value is system-dependent. CCOOLLUUMMNNSS - Used by the sseelleecctt compound command to determine the terminal - width when printing selection lists. Automatically set if the - cchheecckkwwiinnssiizzee option is enabled or in an interactive shell upon + Used by the sseelleecctt compound command to determine the terminal + width when printing selection lists. Automatically set if the + cchheecckkwwiinnssiizzee option is enabled or in an interactive shell upon receipt of a SSIIGGWWIINNCCHH. CCOOMMPPRREEPPLLYY An array variable from which bbaasshh reads the possible completions - generated by a shell function invoked by the programmable com- - pletion facility (see PPrrooggrraammmmaabbllee CCoommpplleettiioonn below). Each + generated by a shell function invoked by the programmable com- + pletion facility (see PPrrooggrraammmmaabbllee CCoommpplleettiioonn below). Each array element contains one possible completion. - EEMMAACCSS If bbaasshh finds this variable in the environment when the shell - starts with value "t", it assumes that the shell is running in + EEMMAACCSS If bbaasshh finds this variable in the environment when the shell + starts with value "t", it assumes that the shell is running in an Emacs shell buffer and disables line editing. - EENNVV Similar to BBAASSHH__EENNVV; used when the shell is invoked in POSIX + EENNVV Similar to BBAASSHH__EENNVV; used when the shell is invoked in POSIX mode. + EEXXEECCIIGGNNOORREE + A colon-separated list of shell patterns (see PPaatttteerrnn MMaattcchhiinngg) + defining the list of filenames to be ignored by command search + using PPAATTHH. Files whose full pathnames match one of these pat- + terns are not considered executable files for the purposes of + completion and command execution via PPAATTHH lookup. This does not + affect the behavior of the [[, tteesstt, and [[[[ commands. Full path- + names in the command hash table are not subject to EEXXEECCIIGGNNOORREE. + Use this variable to ignore shared library files that have the + executable bit set, but are not executable files. The pattern + matching honors the setting of the eexxttgglloobb shell option. FFCCEEDDIITT The default editor for the ffcc builtin command. FFIIGGNNOORREE A colon-separated list of suffixes to ignore when performing @@ -1106,69 +1136,73 @@ PPAARRAAMMEETTEERRSS may be escaped using a backslash; the backslash is removed before attempting a match. The second and subsequent lines of a multi-line compound command are not tested, and are added to the - history regardless of the value of HHIISSTTIIGGNNOORREE. + history regardless of the value of HHIISSTTIIGGNNOORREE. The pattern + matching honors the setting of the eexxttgglloobb shell option. HHIISSTTSSIIZZEE - The number of commands to remember in the command history (see - HHIISSTTOORRYY below). If the value is 0, commands are not saved in + The number of commands to remember in the command history (see + HHIISSTTOORRYY below). If the value is 0, commands are not saved in the history list. Numeric values less than zero result in every - command being saved on the history list (there is no limit). - The shell sets the default value to 500 after reading any + command being saved on the history list (there is no limit). + The shell sets the default value to 500 after reading any startup files. HHIISSTTTTIIMMEEFFOORRMMAATT - If this variable is set and not null, its value is used as a + If this variable is set and not null, its value is used as a format string for _s_t_r_f_t_i_m_e(3) to print the time stamp associated - with each history entry displayed by the hhiissttoorryy builtin. If - this variable is set, time stamps are written to the history - file so they may be preserved across shell sessions. This uses - the history comment character to distinguish timestamps from + with each history entry displayed by the hhiissttoorryy builtin. If + this variable is set, time stamps are written to the history + file so they may be preserved across shell sessions. This uses + the history comment character to distinguish timestamps from other history lines. HHOOMMEE The home directory of the current user; the default argument for the ccdd builtin command. The value of this variable is also used when performing tilde expansion. HHOOSSTTFFIILLEE - Contains the name of a file in the same format as _/_e_t_c_/_h_o_s_t_s + Contains the name of a file in the same format as _/_e_t_c_/_h_o_s_t_s that should be read when the shell needs to complete a hostname. - The list of possible hostname completions may be changed while - the shell is running; the next time hostname completion is - attempted after the value is changed, bbaasshh adds the contents of - the new file to the existing list. If HHOOSSTTFFIILLEE is set, but has - no value, or does not name a readable file, bbaasshh attempts to - read _/_e_t_c_/_h_o_s_t_s to obtain the list of possible hostname comple- + The list of possible hostname completions may be changed while + the shell is running; the next time hostname completion is + attempted after the value is changed, bbaasshh adds the contents of + the new file to the existing list. If HHOOSSTTFFIILLEE is set, but has + no value, or does not name a readable file, bbaasshh attempts to + read _/_e_t_c_/_h_o_s_t_s to obtain the list of possible hostname comple- tions. When HHOOSSTTFFIILLEE is unset, the hostname list is cleared. - IIFFSS The _I_n_t_e_r_n_a_l _F_i_e_l_d _S_e_p_a_r_a_t_o_r that is used for word splitting - after expansion and to split lines into words with the rreeaadd + IIFFSS The _I_n_t_e_r_n_a_l _F_i_e_l_d _S_e_p_a_r_a_t_o_r that is used for word splitting + after expansion and to split lines into words with the rreeaadd builtin command. The default value is ``''. IIGGNNOORREEEEOOFF Controls the action of an interactive shell on receipt of an EEOOFF character as the sole input. If set, the value is the number of - consecutive EEOOFF characters which must be typed as the first - characters on an input line before bbaasshh exits. If the variable - exists but does not have a numeric value, or has no value, the - default value is 10. If it does not exist, EEOOFF signifies the + consecutive EEOOFF characters which must be typed as the first + characters on an input line before bbaasshh exits. If the variable + exists but does not have a numeric value, or has no value, the + default value is 10. If it does not exist, EEOOFF signifies the end of input to the shell. IINNPPUUTTRRCC - The filename for the rreeaaddlliinnee startup file, overriding the + The filename for the rreeaaddlliinnee startup file, overriding the default of _~_/_._i_n_p_u_t_r_c (see RREEAADDLLIINNEE below). - LLAANNGG Used to determine the locale category for any category not + LLAANNGG Used to determine the locale category for any category not specifically selected with a variable starting with LLCC__. - LLCC__AALLLL This variable overrides the value of LLAANNGG and any other LLCC__ + LLCC__AALLLL This variable overrides the value of LLAANNGG and any other LLCC__ variable specifying a locale category. LLCC__CCOOLLLLAATTEE - This variable determines the collation order used when sorting - the results of pathname expansion, and determines the behavior - of range expressions, equivalence classes, and collating + This variable determines the collation order used when sorting + the results of pathname expansion, and determines the behavior + of range expressions, equivalence classes, and collating sequences within pathname expansion and pattern matching. LLCC__CCTTYYPPEE - This variable determines the interpretation of characters and - the behavior of character classes within pathname expansion and + This variable determines the interpretation of characters and + the behavior of character classes within pathname expansion and pattern matching. LLCC__MMEESSSSAAGGEESS - This variable determines the locale used to translate double- + This variable determines the locale used to translate double- quoted strings preceded by a $$. LLCC__NNUUMMEERRIICC - This variable determines the locale category used for number + This variable determines the locale category used for number formatting. + LLCC__TTIIMMEE + This variable determines the locale category used for data and + time formatting. LLIINNEESS Used by the sseelleecctt compound command to determine the column length for printing selection lists. Automatically set if the cchheecckkwwiinnssiizzee option is enabled or in an interactive shell upon @@ -1186,14 +1220,15 @@ PPAARRAAMMEETTEERRSS MMAAIILLPPAATTHH A colon-separated list of filenames to be checked for mail. The message to be printed when mail arrives in a particular file may - be specified by separating the filename from the message with a - `?'. When used in the text of the message, $$__ expands to the + be specified by separating the filename from the message with a + `?'. When used in the text of the message, $$__ expands to the name of the current mailfile. Example: MMAAIILLPPAATTHH='/var/mail/bfox?"You have mail":~/shell-mail?"$_ has mail!"' - BBaasshh supplies a default value for this variable, but the loca- - tion of the user mail files that it uses is system dependent - (e.g., /var/mail/$$UUSSEERR). + BBaasshh can be configured to supply a default value for this vari- + able (there is no value by default), but the location of the + user mail files that it uses is system dependent (e.g., + /var/mail/$$UUSSEERR). OOPPTTEERRRR If set to the value 1, bbaasshh displays error messages generated by the ggeettooppttss builtin command (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). OOPPTTEERRRR is initialized to 1 each time the shell is invoked or a @@ -1204,7 +1239,7 @@ PPAARRAAMMEETTEERRSS value of PPAATTHH indicates the current directory. A null directory name may appear as two adjacent colons, or as an initial or trailing colon. The default path is system-dependent, and is - set by the administrator who installs bbaasshh. A common value is + set by the administrator who installs bbaasshh. A common value is ``/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin''. PPOOSSIIXXLLYY__CCOORRRREECCTT If this variable is in the environment when bbaasshh starts, the @@ -1220,6 +1255,9 @@ PPAARRAAMMEETTEERRSS number of trailing directory components to retain when expanding the \\ww and \\WW prompt string escapes (see PPRROOMMPPTTIINNGG below). Characters removed are replaced with an ellipsis. + PPSS00 The value of this parameter is expanded (see PPRROOMMPPTTIINNGG below) + and displayed by interactive shells after reading a command and + before the command is executed. PPSS11 The value of this parameter is expanded (see PPRROOMMPPTTIINNGG below) and used as the primary prompt string. The default value is ``\\ss--\\vv\\$$ ''. @@ -1310,9 +1348,9 @@ PPAARRAAMMEETTEERRSS explicitly declare an array. There is no maximum limit on the size of an array, nor any requirement that members be indexed or assigned con- tiguously. Indexed arrays are referenced using integers (including - arithmetic expressions) and are zero-based; associative arrays are - referenced using arbitrary strings. Unless otherwise noted, indexed - array indices must be non-negative integers. + arithmetic expressions) and are zero-based; associative arrays are ref- + erenced using arbitrary strings. Unless otherwise noted, indexed array + indices must be non-negative integers. An indexed array is created automatically if any variable is assigned to using the syntax _n_a_m_e[_s_u_b_s_c_r_i_p_t]=_v_a_l_u_e. The _s_u_b_s_c_r_i_p_t is treated as @@ -1324,48 +1362,51 @@ PPAARRAAMMEETTEERRSS Associative arrays are created using ddeeccllaarree --AA _n_a_m_e. Attributes may be specified for an array variable using the ddeeccllaarree and - rreeaaddoonnllyy builtins. Each attribute applies to all members of an array. + rreeaaddoonnllyy builtins. Each attribute applies to all members of an array. - Arrays are assigned to using compound assignments of the form - _n_a_m_e=((value_1 ... value_n)), where each _v_a_l_u_e is of the form [_s_u_b_- - _s_c_r_i_p_t]=_s_t_r_i_n_g. Indexed array assignments do not require anything but + Arrays are assigned to using compound assignments of the form + _n_a_m_e=((value_1 ... value_n)), where each _v_a_l_u_e is of the form [_s_u_b_- + _s_c_r_i_p_t]=_s_t_r_i_n_g. Indexed array assignments do not require anything but _s_t_r_i_n_g. When assigning to indexed arrays, if the optional brackets and - subscript are supplied, that index is assigned to; otherwise the index - of the element assigned is the last index assigned to by the statement + subscript are supplied, that index is assigned to; otherwise the index + of the element assigned is the last index assigned to by the statement plus one. Indexing starts at zero. When assigning to an associative array, the subscript is required. - This syntax is also accepted by the ddeeccllaarree builtin. Individual array - elements may be assigned to using the _n_a_m_e[_s_u_b_s_c_r_i_p_t]=_v_a_l_u_e syntax - introduced above. When assigning to an indexed array, if _n_a_m_e is sub- - scripted by a negative number, that number is interpreted as relative - to one greater than the maximum index of _n_a_m_e, so negative indices + This syntax is also accepted by the ddeeccllaarree builtin. Individual array + elements may be assigned to using the _n_a_m_e[_s_u_b_s_c_r_i_p_t]=_v_a_l_u_e syntax + introduced above. When assigning to an indexed array, if _n_a_m_e is sub- + scripted by a negative number, that number is interpreted as relative + to one greater than the maximum index of _n_a_m_e, so negative indices count back from the end of the array, and an index of -1 references the last element. - Any element of an array may be referenced using ${_n_a_m_e[_s_u_b_s_c_r_i_p_t]}. + Any element of an array may be referenced using ${_n_a_m_e[_s_u_b_s_c_r_i_p_t]}. The braces are required to avoid conflicts with pathname expansion. If - _s_u_b_s_c_r_i_p_t is @@ or **, the word expands to all members of _n_a_m_e. These - subscripts differ only when the word appears within double quotes. If + _s_u_b_s_c_r_i_p_t is @@ or **, the word expands to all members of _n_a_m_e. These + subscripts differ only when the word appears within double quotes. If the word is double-quoted, ${_n_a_m_e[*]} expands to a single word with the - value of each array member separated by the first character of the IIFFSS + value of each array member separated by the first character of the IIFFSS special variable, and ${_n_a_m_e[@]} expands each element of _n_a_m_e to a sep- - arate word. When there are no array members, ${_n_a_m_e[@]} expands to - nothing. If the double-quoted expansion occurs within a word, the - expansion of the first parameter is joined with the beginning part of - the original word, and the expansion of the last parameter is joined - with the last part of the original word. This is analogous to the - expansion of the special parameters ** and @@ (see SSppeecciiaall PPaarraammeetteerrss - above). ${#_n_a_m_e[_s_u_b_s_c_r_i_p_t]} expands to the length of ${_n_a_m_e[_s_u_b_- - _s_c_r_i_p_t]}. If _s_u_b_s_c_r_i_p_t is ** or @@, the expansion is the number of ele- - ments in the array. Referencing an array variable without a subscript - is equivalent to referencing the array with a subscript of 0. If the - _s_u_b_s_c_r_i_p_t used to reference an element of an indexed array evaluates to - a number less than zero, it is interpreted as relative to one greater - than the maximum index of the array, so negative indices count back - from the end of the array, and an index of -1 references the last ele- - ment. + arate word. When there are no array members, ${_n_a_m_e[@]} expands to + nothing. If the double-quoted expansion occurs within a word, the + expansion of the first parameter is joined with the beginning part of + the original word, and the expansion of the last parameter is joined + with the last part of the original word. This is analogous to the + expansion of the special parameters ** and @@ (see SSppeecciiaall PPaarraammeetteerrss + above). ${#_n_a_m_e[_s_u_b_s_c_r_i_p_t]} expands to the length of ${_n_a_m_e[_s_u_b_- + _s_c_r_i_p_t]}. If _s_u_b_s_c_r_i_p_t is ** or @@, the expansion is the number of ele- + ments in the array. If the _s_u_b_s_c_r_i_p_t used to reference an element of + an indexed array evaluates to a number less than zero, it is inter- + preted as relative to one greater than the maximum index of the array, + so negative indices count back from the end of the array, and an index + of -1 references the last element. + + Referencing an array variable without a subscript is equivalent to ref- + erencing the array with a subscript of 0. Any reference to a variable + using a valid subscript is legal, and bbaasshh will create an array if nec- + essary. An array variable is considered set if a subscript has been assigned a value. The null string is a valid value. @@ -1405,6 +1446,10 @@ EEXXPPAANNSSIIOONN tilde, parameter, variable, and arithmetic expansion and command sub- stitution. + After these expansions are performed, quote characters present in the + original word are removed unless they have been quoted themselves + (_q_u_o_t_e _r_e_m_o_v_a_l). + Only brace expansion, word splitting, and pathname expansion can change the number of words of the expansion; other expansions expand a single word to a single word. The only exceptions to this are the expansions @@ -1517,15 +1562,17 @@ EEXXPPAANNSSIIOONN parameter as described above PPAARRAAMMEETTEERRSS) or an array reference (AArrrraayyss). - If the first character of _p_a_r_a_m_e_t_e_r is an exclamation point (!!), it - introduces a level of variable indirection. BBaasshh uses the value of the - variable formed from the rest of _p_a_r_a_m_e_t_e_r as the name of the variable; - this variable is then expanded and that value is used in the rest of - the substitution, rather than the value of _p_a_r_a_m_e_t_e_r itself. This is - known as _i_n_d_i_r_e_c_t _e_x_p_a_n_s_i_o_n. The exceptions to this are the expansions - of ${!!_p_r_e_f_i_x**} and ${!!_n_a_m_e[_@]} described below. The exclamation point - must immediately follow the left brace in order to introduce indirec- - tion. + If the first character of _p_a_r_a_m_e_t_e_r is an exclamation point (!!), and + _p_a_r_a_m_e_t_e_r is not a _n_a_m_e_r_e_f, it introduces a level of variable indirec- + tion. BBaasshh uses the value of the variable formed from the rest of + _p_a_r_a_m_e_t_e_r as the name of the variable; this variable is then expanded + and that value is used in the rest of the substitution, rather than the + value of _p_a_r_a_m_e_t_e_r itself. This is known as _i_n_d_i_r_e_c_t _e_x_p_a_n_s_i_o_n. If + _p_a_r_a_m_e_t_e_r is a nameref, this expands to the name of the variable refer- + enced by _p_a_r_a_m_e_t_e_r instead of performing the complete indirect expan- + sion. The exceptions to this are the expansions of ${!!_p_r_e_f_i_x**} and + ${!!_n_a_m_e[_@]} described below. The exclamation point must immediately + follow the left brace in order to introduce indirection. In each of the cases below, _w_o_r_d is subject to tilde expansion, parame- ter expansion, command substitution, and arithmetic expansion. @@ -1661,12 +1708,14 @@ EEXXPPAANNSSIIOONN ning of the expanded value of _p_a_r_a_m_e_t_e_r. If _p_a_t_t_e_r_n begins with %%, it must match at the end of the expanded value of _p_a_r_a_m_e_t_e_r. If _s_t_r_i_n_g is null, matches of _p_a_t_t_e_r_n are deleted and the // fol- - lowing _p_a_t_t_e_r_n may be omitted. If _p_a_r_a_m_e_t_e_r is @@ or **, the sub- - stitution operation is applied to each positional parameter in - turn, and the expansion is the resultant list. If _p_a_r_a_m_e_t_e_r is - an array variable subscripted with @@ or **, the substitution - operation is applied to each member of the array in turn, and - the expansion is the resultant list. + lowing _p_a_t_t_e_r_n may be omitted. If the nnooccaasseemmaattcchh shell option + is enabled, the match is performed without regard to the case of + alphabetic characters. If _p_a_r_a_m_e_t_e_r is @@ or **, the substitution + operation is applied to each positional parameter in turn, and + the expansion is the resultant list. If _p_a_r_a_m_e_t_e_r is an array + variable subscripted with @@ or **, the substitution operation is + applied to each member of the array in turn, and the expansion + is the resultant list. ${_p_a_r_a_m_e_t_e_r^^_p_a_t_t_e_r_n} ${_p_a_r_a_m_e_t_e_r^^^^_p_a_t_t_e_r_n} @@ -1691,6 +1740,35 @@ EEXXPPAANNSSIIOONN to each member of the array in turn, and the expansion is the resultant list. + ${_p_a_r_a_m_e_t_e_r@@_o_p_e_r_a_t_o_r} + PPaarraammeetteerr ttrraannssffoorrmmaattiioonn. The expansion is either a transforma- + tion of the value of _p_a_r_a_m_e_t_e_r or information about _p_a_r_a_m_e_t_e_r + itself, depending on the value of _o_p_e_r_a_t_o_r. Each _o_p_e_r_a_t_o_r is a + single letter: + + QQ The expansion is a string that is the value of _p_a_r_a_m_e_t_e_r + quoted in a format that can be reused as input. + EE The expansion is a string that is the value of _p_a_r_a_m_e_t_e_r + with backslash escape sequences expanded as with the + $$''......'' quoting mechansim. + PP The expansion is a string that is the result of expanding + the value of _p_a_r_a_m_e_t_e_r as if it were a prompt string (see + PPRROOMMPPTTIINNGG below). + AA The expansion is a string in the form of an assignment + statement or ddeeccllaarree command that, if evaluated, will + recreate _p_a_r_a_m_e_t_e_r with its attributes and value. + aa The expansion is a string consisting of flag values rep- + resenting _p_a_r_a_m_e_t_e_r's attributes. + + If _p_a_r_a_m_e_t_e_r is @@ or **, the operation is applied to each posi- + tional parameter in turn, and the expansion is the resultant + list. If _p_a_r_a_m_e_t_e_r is an array variable subscripted with @@ or + **, the case modification operation is applied to each member of + the array in turn, and the expansion is the resultant list. + + The result of the expansion is subject to word splitting and + pathname expansion as described below. + CCoommmmaanndd SSuubbssttiittuuttiioonn _C_o_m_m_a_n_d _s_u_b_s_t_i_t_u_t_i_o_n allows the output of a command to replace the com- mand name. There are two forms: @@ -1699,51 +1777,53 @@ EEXXPPAANNSSIIOONN or ``_c_o_m_m_a_n_d`` - BBaasshh performs the expansion by executing _c_o_m_m_a_n_d and replacing the com- - mand substitution with the standard output of the command, with any - trailing newlines deleted. Embedded newlines are not deleted, but they - may be removed during word splitting. The command substitution $$((ccaatt - _f_i_l_e)) can be replaced by the equivalent but faster $$((<< _f_i_l_e)). + BBaasshh performs the expansion by executing _c_o_m_m_a_n_d in a subshell environ- + ment and replacing the command substitution with the standard output of + the command, with any trailing newlines deleted. Embedded newlines are + not deleted, but they may be removed during word splitting. The com- + mand substitution $$((ccaatt _f_i_l_e)) can be replaced by the equivalent but + faster $$((<< _f_i_l_e)). - When the old-style backquote form of substitution is used, backslash - retains its literal meaning except when followed by $$, ``, or \\. The + When the old-style backquote form of substitution is used, backslash + retains its literal meaning except when followed by $$, ``, or \\. The first backquote not preceded by a backslash terminates the command sub- - stitution. When using the $(_c_o_m_m_a_n_d) form, all characters between the + stitution. When using the $(_c_o_m_m_a_n_d) form, all characters between the parentheses make up the command; none are treated specially. Command substitutions may be nested. To nest when using the backquoted form, escape the inner backquotes with backslashes. - If the substitution appears within double quotes, word splitting and + If the substitution appears within double quotes, word splitting and pathname expansion are not performed on the results. AArriitthhmmeettiicc EExxppaannssiioonn - Arithmetic expansion allows the evaluation of an arithmetic expression - and the substitution of the result. The format for arithmetic expan- + Arithmetic expansion allows the evaluation of an arithmetic expression + and the substitution of the result. The format for arithmetic expan- sion is: $$((((_e_x_p_r_e_s_s_i_o_n)))) - The _e_x_p_r_e_s_s_i_o_n is treated as if it were within double quotes, but a - double quote inside the parentheses is not treated specially. All + The _e_x_p_r_e_s_s_i_o_n is treated as if it were within double quotes, but a + double quote inside the parentheses is not treated specially. All tokens in the expression undergo parameter and variable expansion, com- - mand substitution, and quote removal. The result is treated as the - arithmetic expression to be evaluated. Arithmetic expansions may be + mand substitution, and quote removal. The result is treated as the + arithmetic expression to be evaluated. Arithmetic expansions may be nested. - The evaluation is performed according to the rules listed below under + The evaluation is performed according to the rules listed below under AARRIITTHHMMEETTIICC EEVVAALLUUAATTIIOONN. If _e_x_p_r_e_s_s_i_o_n is invalid, bbaasshh prints a message indicating failure and no substitution occurs. PPrroocceessss SSuubbssttiittuuttiioonn - _P_r_o_c_e_s_s _s_u_b_s_t_i_t_u_t_i_o_n is supported on systems that support named pipes - (_F_I_F_O_s) or the //ddeevv//ffdd method of naming open files. It takes the form - of <<((_l_i_s_t)) or >>((_l_i_s_t)). The process _l_i_s_t is run with its input or out- - put connected to a _F_I_F_O or some file in //ddeevv//ffdd. The name of this file - is passed as an argument to the current command as the result of the - expansion. If the >>((_l_i_s_t)) form is used, writing to the file will pro- - vide input for _l_i_s_t. If the <<((_l_i_s_t)) form is used, the file passed as - an argument should be read to obtain the output of _l_i_s_t. + _P_r_o_c_e_s_s _s_u_b_s_t_i_t_u_t_i_o_n allows a process's input or output to be referred + to using a filename. It takes the form of <<((_l_i_s_t)) or >>((_l_i_s_t)). The + process _l_i_s_t is run asynchronously, and its input or output appears as + a filename. This filename is passed as an argument to the current com- + mand as the result of the expansion. If the >>((_l_i_s_t)) form is used, + writing to the file will provide input for _l_i_s_t. If the <<((_l_i_s_t)) form + is used, the file passed as an argument should be read to obtain the + output of _l_i_s_t. Process substitution is supported on systems that sup- + port named pipes (_F_I_F_O_s) or the //ddeevv//ffdd method of naming open files. When available, process substitution is performed simultaneously with parameter and variable expansion, command substitution, and arithmetic @@ -1761,18 +1841,22 @@ EEXXPPAANNSSIIOONN and <> at the beginning and end of the results of the previous expansions are ignored, and any sequence of IIFFSS characters not at the beginning or end serves to delimit words. If IIFFSS has a value other - than the default, then sequences of the whitespace characters ssppaaccee and - ttaabb are ignored at the beginning and end of the word, as long as the - whitespace character is in the value of IIFFSS (an IIFFSS whitespace charac- - ter). Any character in IIFFSS that is not IIFFSS whitespace, along with any - adjacent IIFFSS whitespace characters, delimits a field. A sequence of - IIFFSS whitespace characters is also treated as a delimiter. If the value - of IIFFSS is null, no word splitting occurs. - - Explicit null arguments ("""" or '''') are retained. Unquoted implicit - null arguments, resulting from the expansion of parameters that have no - values, are removed. If a parameter with no value is expanded within - double quotes, a null argument results and is retained. + than the default, then sequences of the whitespace characters ssppaaccee, + ttaabb, and nneewwlliinnee are ignored at the beginning and end of the word, as + long as the whitespace character is in the value of IIFFSS (an IIFFSS white- + space character). Any character in IIFFSS that is not IIFFSS whitespace, + along with any adjacent IIFFSS whitespace characters, delimits a field. A + sequence of IIFFSS whitespace characters is also treated as a delimiter. + If the value of IIFFSS is null, no word splitting occurs. + + Explicit null arguments ("""" or '''') are retained and passed to commands + as empty strings. Unquoted implicit null arguments, resulting from the + expansion of parameters that have no values, are removed. If a parame- + ter with no value is expanded within double quotes, a null argument + results and is retained and passed to a command as an empty string. + When a quoted null argument appears as part of a word whose expansion + is non-null, the null argument is removed. That is, the word -d'' + becomes -d after word splitting and null argument removal. Note that if no expansion occurs, no splitting is performed. @@ -1799,68 +1883,71 @@ EEXXPPAANNSSIIOONN The GGLLOOBBIIGGNNOORREE shell variable may be used to restrict the set of file- names matching a _p_a_t_t_e_r_n. If GGLLOOBBIIGGNNOORREE is set, each matching filename that also matches one of the patterns in GGLLOOBBIIGGNNOORREE is removed from the - list of matches. The filenames ````..'''' and ````....'''' are always ignored - when GGLLOOBBIIGGNNOORREE is set and not null. However, setting GGLLOOBBIIGGNNOORREE to a - non-null value has the effect of enabling the ddoottgglloobb shell option, so - all other filenames beginning with a ````..'''' will match. To get the old - behavior of ignoring filenames beginning with a ````..'''', make ````..**'''' one - of the patterns in GGLLOOBBIIGGNNOORREE. The ddoottgglloobb option is disabled when - GGLLOOBBIIGGNNOORREE is unset. + list of matches. If the nnooccaasseegglloobb option is set, the matching against + the patterns in GGLLOOBBIIGGNNOORREE is performed without regard to case. The + filenames ````..'''' and ````....'''' are always ignored when GGLLOOBBIIGGNNOORREE is set + and not null. However, setting GGLLOOBBIIGGNNOORREE to a non-null value has the + effect of enabling the ddoottgglloobb shell option, so all other filenames + beginning with a ````..'''' will match. To get the old behavior of ignor- + ing filenames beginning with a ````..'''', make ````..**'''' one of the patterns + in GGLLOOBBIIGGNNOORREE. The ddoottgglloobb option is disabled when GGLLOOBBIIGGNNOORREE is + unset. The pattern matching honors the setting of the eexxttgglloobb shell + option. PPaatttteerrnn MMaattcchhiinngg Any character that appears in a pattern, other than the special pattern - characters described below, matches itself. The NUL character may not - occur in a pattern. A backslash escapes the following character; the - escaping backslash is discarded when matching. The special pattern + characters described below, matches itself. The NUL character may not + occur in a pattern. A backslash escapes the following character; the + escaping backslash is discarded when matching. The special pattern characters must be quoted if they are to be matched literally. The special pattern characters have the following meanings: - ** Matches any string, including the null string. When the - gglloobbssttaarr shell option is enabled, and ** is used in a - pathname expansion context, two adjacent **s used as a - single pattern will match all files and zero or more - directories and subdirectories. If followed by a //, two - adjacent **s will match only directories and subdirecto- + ** Matches any string, including the null string. When the + gglloobbssttaarr shell option is enabled, and ** is used in a + pathname expansion context, two adjacent **s used as a + single pattern will match all files and zero or more + directories and subdirectories. If followed by a //, two + adjacent **s will match only directories and subdirecto- ries. ?? Matches any single character. - [[......]] Matches any one of the enclosed characters. A pair of - characters separated by a hyphen denotes a _r_a_n_g_e _e_x_p_r_e_s_- - _s_i_o_n; any character that falls between those two charac- - ters, inclusive, using the current locale's collating - sequence and character set, is matched. If the first + [[......]] Matches any one of the enclosed characters. A pair of + characters separated by a hyphen denotes a _r_a_n_g_e _e_x_p_r_e_s_- + _s_i_o_n; any character that falls between those two charac- + ters, inclusive, using the current locale's collating + sequence and character set, is matched. If the first character following the [[ is a !! or a ^^ then any charac- - ter not enclosed is matched. The sorting order of char- - acters in range expressions is determined by the current - locale and the values of the LLCC__CCOOLLLLAATTEE or LLCC__AALLLL shell + ter not enclosed is matched. The sorting order of char- + acters in range expressions is determined by the current + locale and the values of the LLCC__CCOOLLLLAATTEE or LLCC__AALLLL shell variables, if set. To obtain the traditional interpreta- - tion of range expressions, where [[aa--dd]] is equivalent to - [[aabbccdd]], set value of the LLCC__AALLLL shell variable to CC, or - enable the gglloobbaasscciiiirraannggeess shell option. A -- may be + tion of range expressions, where [[aa--dd]] is equivalent to + [[aabbccdd]], set value of the LLCC__AALLLL shell variable to CC, or + enable the gglloobbaasscciiiirraannggeess shell option. A -- may be matched by including it as the first or last character in the set. A ]] may be matched by including it as the first character in the set. - Within [[ and ]], _c_h_a_r_a_c_t_e_r _c_l_a_s_s_e_s can be specified using + Within [[ and ]], _c_h_a_r_a_c_t_e_r _c_l_a_s_s_e_s can be specified using the syntax [[::_c_l_a_s_s::]], where _c_l_a_s_s is one of the following classes defined in the POSIX standard: - aallnnuumm aallpphhaa aasscciiii bbllaannkk ccnnttrrll ddiiggiitt ggrraapphh lloowweerr pprriinntt + aallnnuumm aallpphhaa aasscciiii bbllaannkk ccnnttrrll ddiiggiitt ggrraapphh lloowweerr pprriinntt ppuunncctt ssppaaccee uuppppeerr wwoorrdd xxddiiggiitt A character class matches any character belonging to that class. The wwoorrdd character class matches letters, digits, and the character _. - Within [[ and ]], an _e_q_u_i_v_a_l_e_n_c_e _c_l_a_s_s can be specified + Within [[ and ]], an _e_q_u_i_v_a_l_e_n_c_e _c_l_a_s_s can be specified using the syntax [[==_c==]], which matches all characters with - the same collation weight (as defined by the current + the same collation weight (as defined by the current locale) as the character _c. Within [[ and ]], the syntax [[.._s_y_m_b_o_l..]] matches the collat- ing symbol _s_y_m_b_o_l. If the eexxttgglloobb shell option is enabled using the sshhoopptt builtin, several - extended pattern matching operators are recognized. In the following + extended pattern matching operators are recognized. In the following description, a _p_a_t_t_e_r_n_-_l_i_s_t is a list of one or more patterns separated by a ||. Composite patterns may be formed using one or more of the fol- lowing sub-patterns: @@ -1878,37 +1965,37 @@ EEXXPPAANNSSIIOONN QQuuoottee RReemmoovvaall After the preceding expansions, all unquoted occurrences of the charac- - ters \\, '', and "" that did not result from one of the above expansions + ters \\, '', and "" that did not result from one of the above expansions are removed. RREEDDIIRREECCTTIIOONN - Before a command is executed, its input and output may be _r_e_d_i_r_e_c_t_e_d - using a special notation interpreted by the shell. Redirection allows - commands' file handles to be duplicated, opened, closed, made to refer + Before a command is executed, its input and output may be _r_e_d_i_r_e_c_t_e_d + using a special notation interpreted by the shell. Redirection allows + commands' file handles to be duplicated, opened, closed, made to refer to different files, and can change the files the command reads from and - writes to. Redirection may also be used to modify file handles in the - current shell execution environment. The following redirection opera- + writes to. Redirection may also be used to modify file handles in the + current shell execution environment. The following redirection opera- tors may precede or appear anywhere within a _s_i_m_p_l_e _c_o_m_m_a_n_d or may fol- - low a _c_o_m_m_a_n_d. Redirections are processed in the order they appear, + low a _c_o_m_m_a_n_d. Redirections are processed in the order they appear, from left to right. - Each redirection that may be preceded by a file descriptor number may + Each redirection that may be preceded by a file descriptor number may instead be preceded by a word of the form {_v_a_r_n_a_m_e}. In this case, for each redirection operator except >&- and <&-, the shell will allocate a - file descriptor greater than or equal to 10 and assign it to _v_a_r_n_a_m_e. - If >&- or <&- is preceded by {_v_a_r_n_a_m_e}, the value of _v_a_r_n_a_m_e defines + file descriptor greater than or equal to 10 and assign it to _v_a_r_n_a_m_e. + If >&- or <&- is preceded by {_v_a_r_n_a_m_e}, the value of _v_a_r_n_a_m_e defines the file descriptor to close. - In the following descriptions, if the file descriptor number is omit- - ted, and the first character of the redirection operator is <<, the re- - direction refers to the standard input (file descriptor 0). If the - first character of the redirection operator is >>, the redirection + In the following descriptions, if the file descriptor number is omit- + ted, and the first character of the redirection operator is <<, the re- + direction refers to the standard input (file descriptor 0). If the + first character of the redirection operator is >>, the redirection refers to the standard output (file descriptor 1). - The word following the redirection operator in the following descrip- - tions, unless otherwise noted, is subjected to brace expansion, tilde - expansion, parameter and variable expansion, command substitution, - arithmetic expansion, quote removal, pathname expansion, and word + The word following the redirection operator in the following descrip- + tions, unless otherwise noted, is subjected to brace expansion, tilde + expansion, parameter and variable expansion, command substitution, + arithmetic expansion, quote removal, pathname expansion, and word splitting. If it expands to more than one word, bbaasshh reports an error. Note that the order of redirections is significant. For example, the @@ -1926,10 +2013,13 @@ RREEDDIIRREECCTTIIOONN put was redirected to _d_i_r_l_i_s_t. BBaasshh handles several filenames specially when they are used in redirec- - tions, as described in the following table: + tions, as described in the following table. If the operating system on + which bbaasshh is running provides these special files, bash will use them; + otherwise it will emulate them internally with the behavior described + below. //ddeevv//ffdd//_f_d - If _f_d is a valid integer, file descriptor _f_d is dupli- + If _f_d is a valid integer, file descriptor _f_d is dupli- cated. //ddeevv//ssttddiinn File descriptor 0 is duplicated. @@ -1939,22 +2029,22 @@ RREEDDIIRREECCTTIIOONN File descriptor 2 is duplicated. //ddeevv//ttccpp//_h_o_s_t//_p_o_r_t If _h_o_s_t is a valid hostname or Internet address, and _p_o_r_t - is an integer port number or service name, bbaasshh attempts + is an integer port number or service name, bbaasshh attempts to open the corresponding TCP socket. //ddeevv//uuddpp//_h_o_s_t//_p_o_r_t If _h_o_s_t is a valid hostname or Internet address, and _p_o_r_t - is an integer port number or service name, bbaasshh attempts + is an integer port number or service name, bbaasshh attempts to open the corresponding UDP socket. A failure to open or create a file causes the redirection to fail. - Redirections using file descriptors greater than 9 should be used with - care, as they may conflict with file descriptors the shell uses inter- + Redirections using file descriptors greater than 9 should be used with + care, as they may conflict with file descriptors the shell uses inter- nally. RReeddiirreeccttiinngg IInnppuutt Redirection of input causes the file whose name results from the expan- - sion of _w_o_r_d to be opened for reading on file descriptor _n, or the + sion of _w_o_r_d to be opened for reading on file descriptor _n, or the standard input (file descriptor 0) if _n is not specified. The general format for redirecting input is: @@ -1962,40 +2052,39 @@ RREEDDIIRREECCTTIIOONN [_n]<<_w_o_r_d RReeddiirreeccttiinngg OOuuttppuutt - Redirection of output causes the file whose name results from the + Redirection of output causes the file whose name results from the expansion of _w_o_r_d to be opened for writing on file descriptor _n, or the standard output (file descriptor 1) if _n is not specified. If the file - does not exist it is created; if it does exist it is truncated to zero + does not exist it is created; if it does exist it is truncated to zero size. The general format for redirecting output is: [_n]>>_w_o_r_d - If the redirection operator is >>, and the nnoocclloobbbbeerr option to the sseett - builtin has been enabled, the redirection will fail if the file whose - name results from the expansion of _w_o_r_d exists and is a regular file. + If the redirection operator is >>, and the nnoocclloobbbbeerr option to the sseett + builtin has been enabled, the redirection will fail if the file whose + name results from the expansion of _w_o_r_d exists and is a regular file. If the redirection operator is >>||, or the redirection operator is >> and the nnoocclloobbbbeerr option to the sseett builtin command is not enabled, the re- direction is attempted even if the file named by _w_o_r_d exists. AAppppeennddiinngg RReeddiirreecctteedd OOuuttppuutt - Redirection of output in this fashion causes the file whose name - results from the expansion of _w_o_r_d to be opened for appending on file - descriptor _n, or the standard output (file descriptor 1) if _n is not + Redirection of output in this fashion causes the file whose name + results from the expansion of _w_o_r_d to be opened for appending on file + descriptor _n, or the standard output (file descriptor 1) if _n is not specified. If the file does not exist it is created. The general format for appending output is: [_n]>>>>_w_o_r_d - RReeddiirreeccttiinngg SSttaannddaarrdd OOuuttppuutt aanndd SSttaannddaarrdd EErrrroorr - This construct allows both the standard output (file descriptor 1) and - the standard error output (file descriptor 2) to be redirected to the + This construct allows both the standard output (file descriptor 1) and + the standard error output (file descriptor 2) to be redirected to the file whose name is the expansion of _w_o_r_d. - There are two formats for redirecting standard output and standard + There are two formats for redirecting standard output and standard error: &&>>_w_o_r_d @@ -2007,13 +2096,13 @@ RREEDDIIRREECCTTIIOONN >>_w_o_r_d 2>>&&1 - When using the second form, _w_o_r_d may not expand to a number or --. If - it does, other redirection operators apply (see DDuupplliiccaattiinngg FFiillee + When using the second form, _w_o_r_d may not expand to a number or --. If + it does, other redirection operators apply (see DDuupplliiccaattiinngg FFiillee DDeessccrriippttoorrss below) for compatibility reasons. AAppppeennddiinngg SSttaannddaarrdd OOuuttppuutt aanndd SSttaannddaarrdd EErrrroorr - This construct allows both the standard output (file descriptor 1) and - the standard error output (file descriptor 2) to be appended to the + This construct allows both the standard output (file descriptor 1) and + the standard error output (file descriptor 2) to be appended to the file whose name is the expansion of _w_o_r_d. The format for appending standard output and standard error is: @@ -2027,22 +2116,23 @@ RREEDDIIRREECCTTIIOONN (see DDuupplliiccaattiinngg FFiillee DDeessccrriippttoorrss below). HHeerree DDooccuummeennttss - This type of redirection instructs the shell to read input from the + This type of redirection instructs the shell to read input from the current source until a line containing only _d_e_l_i_m_i_t_e_r (with no trailing - blanks) is seen. All of the lines read up to that point are then used - as the standard input for a command. + blanks) is seen. All of the lines read up to that point are then used + as the standard input (or file descriptor _n if _n is specified) for a + command. The format of here-documents is: - <<<<[--]_w_o_r_d + [_n]<<<<[--]_w_o_r_d _h_e_r_e_-_d_o_c_u_m_e_n_t _d_e_l_i_m_i_t_e_r No parameter and variable expansion, command substitution, arithmetic - expansion, or pathname expansion is performed on _w_o_r_d. If any charac- - ters in _w_o_r_d are quoted, the _d_e_l_i_m_i_t_e_r is the result of quote removal - on _w_o_r_d, and the lines in the here-document are not expanded. If _w_o_r_d - is unquoted, all lines of the here-document are subjected to parameter + expansion, or pathname expansion is performed on _w_o_r_d. If any part of + _w_o_r_d is quoted, the _d_e_l_i_m_i_t_e_r is the result of quote removal on _w_o_r_d, + and the lines in the here-document are not expanded. If _w_o_r_d is + unquoted, all lines of the here-document are subjected to parameter expansion, command substitution, and arithmetic expansion, the charac- ter sequence \\<> is ignored, and \\ must be used to quote the characters \\, $$, and ``. @@ -2055,13 +2145,14 @@ RREEDDIIRREECCTTIIOONN HHeerree SSttrriinnggss A variant of here documents, the format is: - <<<<<<_w_o_r_d + [_n]<<<<<<_w_o_r_d The _w_o_r_d undergoes brace expansion, tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, and quote removal. Pathname expansion and word splitting are not per- - formed. The result is supplied as a single string to the command on - its standard input. + formed. The result is supplied as a single string, with a newline + appended, to the command on its standard input (or file descriptor _n if + _n is specified). DDuupplliiccaattiinngg FFiillee DDeessccrriippttoorrss The redirection operator @@ -2069,22 +2160,22 @@ RREEDDIIRREECCTTIIOONN [_n]<<&&_w_o_r_d is used to duplicate input file descriptors. If _w_o_r_d expands to one or - more digits, the file descriptor denoted by _n is made to be a copy of - that file descriptor. If the digits in _w_o_r_d do not specify a file - descriptor open for input, a redirection error occurs. If _w_o_r_d evalu- - ates to --, file descriptor _n is closed. If _n is not specified, the + more digits, the file descriptor denoted by _n is made to be a copy of + that file descriptor. If the digits in _w_o_r_d do not specify a file + descriptor open for input, a redirection error occurs. If _w_o_r_d evalu- + ates to --, file descriptor _n is closed. If _n is not specified, the standard input (file descriptor 0) is used. The operator [_n]>>&&_w_o_r_d - is used similarly to duplicate output file descriptors. If _n is not - specified, the standard output (file descriptor 1) is used. If the - digits in _w_o_r_d do not specify a file descriptor open for output, a re- - direction error occurs. If _w_o_r_d evaluates to --, file descriptor _n is - closed. As a special case, if _n is omitted, and _w_o_r_d does not expand - to one or more digits or --, the standard output and standard error are + is used similarly to duplicate output file descriptors. If _n is not + specified, the standard output (file descriptor 1) is used. If the + digits in _w_o_r_d do not specify a file descriptor open for output, a re- + direction error occurs. If _w_o_r_d evaluates to --, file descriptor _n is + closed. As a special case, if _n is omitted, and _w_o_r_d does not expand + to one or more digits or --, the standard output and standard error are redirected as described previously. MMoovviinngg FFiillee DDeessccrriippttoorrss @@ -2092,7 +2183,7 @@ RREEDDIIRREECCTTIIOONN [_n]<<&&_d_i_g_i_t-- - moves the file descriptor _d_i_g_i_t to file descriptor _n, or the standard + moves the file descriptor _d_i_g_i_t to file descriptor _n, or the standard input (file descriptor 0) if _n is not specified. _d_i_g_i_t is closed after being duplicated to _n. @@ -2100,7 +2191,7 @@ RREEDDIIRREECCTTIIOONN [_n]>>&&_d_i_g_i_t-- - moves the file descriptor _d_i_g_i_t to file descriptor _n, or the standard + moves the file descriptor _d_i_g_i_t to file descriptor _n, or the standard output (file descriptor 1) if _n is not specified. OOppeenniinngg FFiillee DDeessccrriippttoorrss ffoorr RReeaaddiinngg aanndd WWrriittiinngg @@ -2108,118 +2199,118 @@ RREEDDIIRREECCTTIIOONN [_n]<<>>_w_o_r_d - causes the file whose name is the expansion of _w_o_r_d to be opened for - both reading and writing on file descriptor _n, or on file descriptor 0 + causes the file whose name is the expansion of _w_o_r_d to be opened for + both reading and writing on file descriptor _n, or on file descriptor 0 if _n is not specified. If the file does not exist, it is created. AALLIIAASSEESS - _A_l_i_a_s_e_s allow a string to be substituted for a word when it is used as - the first word of a simple command. The shell maintains a list of - aliases that may be set and unset with the aalliiaass and uunnaalliiaass builtin - commands (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). The first word of each - simple command, if unquoted, is checked to see if it has an alias. If - so, that word is replaced by the text of the alias. The characters //, - $$, ``, and == and any of the shell _m_e_t_a_c_h_a_r_a_c_t_e_r_s or quoting characters + _A_l_i_a_s_e_s allow a string to be substituted for a word when it is used as + the first word of a simple command. The shell maintains a list of + aliases that may be set and unset with the aalliiaass and uunnaalliiaass builtin + commands (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). The first word of each + simple command, if unquoted, is checked to see if it has an alias. If + so, that word is replaced by the text of the alias. The characters //, + $$, ``, and == and any of the shell _m_e_t_a_c_h_a_r_a_c_t_e_r_s or quoting characters listed above may not appear in an alias name. The replacement text may - contain any valid shell input, including shell metacharacters. The - first word of the replacement text is tested for aliases, but a word - that is identical to an alias being expanded is not expanded a second - time. This means that one may alias llss to llss --FF, for instance, and - bbaasshh does not try to recursively expand the replacement text. If the - last character of the alias value is a _b_l_a_n_k, then the next command + contain any valid shell input, including shell metacharacters. The + first word of the replacement text is tested for aliases, but a word + that is identical to an alias being expanded is not expanded a second + time. This means that one may alias llss to llss --FF, for instance, and + bbaasshh does not try to recursively expand the replacement text. If the + last character of the alias value is a _b_l_a_n_k, then the next command word following the alias is also checked for alias expansion. Aliases are created and listed with the aalliiaass command, and removed with the uunnaalliiaass command. - There is no mechanism for using arguments in the replacement text. If - arguments are needed, a shell function should be used (see FFUUNNCCTTIIOONNSS + There is no mechanism for using arguments in the replacement text. If + arguments are needed, a shell function should be used (see FFUUNNCCTTIIOONNSS below). - Aliases are not expanded when the shell is not interactive, unless the - eexxppaanndd__aalliiaasseess shell option is set using sshhoopptt (see the description of + Aliases are not expanded when the shell is not interactive, unless the + eexxppaanndd__aalliiaasseess shell option is set using sshhoopptt (see the description of sshhoopptt under SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). - The rules concerning the definition and use of aliases are somewhat - confusing. BBaasshh always reads at least one complete line of input - before executing any of the commands on that line. Aliases are - expanded when a command is read, not when it is executed. Therefore, - an alias definition appearing on the same line as another command does - not take effect until the next line of input is read. The commands + The rules concerning the definition and use of aliases are somewhat + confusing. BBaasshh always reads at least one complete line of input + before executing any of the commands on that line. Aliases are + expanded when a command is read, not when it is executed. Therefore, + an alias definition appearing on the same line as another command does + not take effect until the next line of input is read. The commands following the alias definition on that line are not affected by the new - alias. This behavior is also an issue when functions are executed. - Aliases are expanded when a function definition is read, not when the - function is executed, because a function definition is itself a com- - pound command. As a consequence, aliases defined in a function are not - available until after that function is executed. To be safe, always - put alias definitions on a separate line, and do not use aalliiaass in com- - pound commands. + alias. This behavior is also an issue when functions are executed. + Aliases are expanded when a function definition is read, not when the + function is executed, because a function definition is itself a com- + mand. As a consequence, aliases defined in a function are not avail- + able until after that function is executed. To be safe, always put + alias definitions on a separate line, and do not use aalliiaass in compound + commands. For almost every purpose, aliases are superseded by shell functions. FFUUNNCCTTIIOONNSS - A shell function, defined as described above under SSHHEELLLL GGRRAAMMMMAARR, - stores a series of commands for later execution. When the name of a - shell function is used as a simple command name, the list of commands + A shell function, defined as described above under SSHHEELLLL GGRRAAMMMMAARR, + stores a series of commands for later execution. When the name of a + shell function is used as a simple command name, the list of commands associated with that function name is executed. Functions are executed - in the context of the current shell; no new process is created to - interpret them (contrast this with the execution of a shell script). - When a function is executed, the arguments to the function become the + in the context of the current shell; no new process is created to + interpret them (contrast this with the execution of a shell script). + When a function is executed, the arguments to the function become the positional parameters during its execution. The special parameter ## is - updated to reflect the change. Special parameter 00 is unchanged. The - first element of the FFUUNNCCNNAAMMEE variable is set to the name of the func- + updated to reflect the change. Special parameter 00 is unchanged. The + first element of the FFUUNNCCNNAAMMEE variable is set to the name of the func- tion while the function is executing. - All other aspects of the shell execution environment are identical - between a function and its caller with these exceptions: the DDEEBBUUGG and - RREETTUURRNN traps (see the description of the ttrraapp builtin under SSHHEELLLL - BBUUIILLTTIINN CCOOMMMMAANNDDSS below) are not inherited unless the function has been - given the ttrraaccee attribute (see the description of the ddeeccllaarree builtin - below) or the --oo ffuunnccttrraaccee shell option has been enabled with the sseett - builtin (in which case all functions inherit the DDEEBBUUGG and RREETTUURRNN - traps), and the EERRRR trap is not inherited unless the --oo eerrrrttrraaccee shell + All other aspects of the shell execution environment are identical + between a function and its caller with these exceptions: the DDEEBBUUGG and + RREETTUURRNN traps (see the description of the ttrraapp builtin under SSHHEELLLL + BBUUIILLTTIINN CCOOMMMMAANNDDSS below) are not inherited unless the function has been + given the ttrraaccee attribute (see the description of the ddeeccllaarree builtin + below) or the --oo ffuunnccttrraaccee shell option has been enabled with the sseett + builtin (in which case all functions inherit the DDEEBBUUGG and RREETTUURRNN + traps), and the EERRRR trap is not inherited unless the --oo eerrrrttrraaccee shell option has been enabled. - Variables local to the function may be declared with the llooccaall builtin + Variables local to the function may be declared with the llooccaall builtin command. Ordinarily, variables and their values are shared between the function and its caller. - The FFUUNNCCNNEESSTT variable, if set to a numeric value greater than 0, - defines a maximum function nesting level. Function invocations that + The FFUUNNCCNNEESSTT variable, if set to a numeric value greater than 0, + defines a maximum function nesting level. Function invocations that exceed the limit cause the entire command to abort. - If the builtin command rreettuurrnn is executed in a function, the function - completes and execution resumes with the next command after the func- - tion call. Any command associated with the RREETTUURRNN trap is executed + If the builtin command rreettuurrnn is executed in a function, the function + completes and execution resumes with the next command after the func- + tion call. Any command associated with the RREETTUURRNN trap is executed before execution resumes. When a function completes, the values of the - positional parameters and the special parameter ## are restored to the + positional parameters and the special parameter ## are restored to the values they had prior to the function's execution. - Function names and definitions may be listed with the --ff option to the + Function names and definitions may be listed with the --ff option to the ddeeccllaarree or ttyyppeesseett builtin commands. The --FF option to ddeeccllaarree or ttyyppee-- - sseett will list the function names only (and optionally the source file - and line number, if the eexxttddeebbuugg shell option is enabled). Functions - may be exported so that subshells automatically have them defined with - the --ff option to the eexxppoorrtt builtin. A function definition may be - deleted using the --ff option to the uunnsseett builtin. Note that shell + sseett will list the function names only (and optionally the source file + and line number, if the eexxttddeebbuugg shell option is enabled). Functions + may be exported so that subshells automatically have them defined with + the --ff option to the eexxppoorrtt builtin. A function definition may be + deleted using the --ff option to the uunnsseett builtin. Note that shell functions and variables with the same name may result in multiple iden- - tically-named entries in the environment passed to the shell's chil- + tically-named entries in the environment passed to the shell's chil- dren. Care should be taken in cases where this may cause a problem. Functions may be recursive. The FFUUNNCCNNEESSTT variable may be used to limit - the depth of the function call stack and restrict the number of func- - tion invocations. By default, no limit is imposed on the number of + the depth of the function call stack and restrict the number of func- + tion invocations. By default, no limit is imposed on the number of recursive calls. AARRIITTHHMMEETTIICC EEVVAALLUUAATTIIOONN - The shell allows arithmetic expressions to be evaluated, under certain - circumstances (see the lleett and ddeeccllaarree builtin commands and AArriitthhmmeettiicc - EExxppaannssiioonn). Evaluation is done in fixed-width integers with no check - for overflow, though division by 0 is trapped and flagged as an error. - The operators and their precedence, associativity, and values are the - same as in the C language. The following list of operators is grouped - into levels of equal-precedence operators. The levels are listed in - order of decreasing precedence. + The shell allows arithmetic expressions to be evaluated, under certain + circumstances (see the lleett and ddeeccllaarree builtin commands, the (((( com- + pound command, and AArriitthhmmeettiicc EExxppaannssiioonn). Evaluation is done in fixed- + width integers with no check for overflow, though division by 0 is + trapped and flagged as an error. The operators and their precedence, + associativity, and values are the same as in the C language. The fol- + lowing list of operators is grouped into levels of equal-precedence + operators. The levels are listed in order of decreasing precedence. _i_d++++ _i_d---- variable post-increment and post-decrement @@ -2246,40 +2337,43 @@ AARRIITTHHMMEETTIICC EEVVAALLUUAATTIIOONN _e_x_p_r_1 ,, _e_x_p_r_2 comma - Shell variables are allowed as operands; parameter expansion is per- + Shell variables are allowed as operands; parameter expansion is per- formed before the expression is evaluated. Within an expression, shell - variables may also be referenced by name without using the parameter - expansion syntax. A shell variable that is null or unset evaluates to + variables may also be referenced by name without using the parameter + expansion syntax. A shell variable that is null or unset evaluates to 0 when referenced by name without using the parameter expansion syntax. - The value of a variable is evaluated as an arithmetic expression when - it is referenced, or when a variable which has been given the _i_n_t_e_g_e_r + The value of a variable is evaluated as an arithmetic expression when + it is referenced, or when a variable which has been given the _i_n_t_e_g_e_r attribute using ddeeccllaarree --ii is assigned a value. A null value evaluates - to 0. A shell variable need not have its _i_n_t_e_g_e_r attribute turned on + to 0. A shell variable need not have its _i_n_t_e_g_e_r attribute turned on to be used in an expression. Constants with a leading 0 are interpreted as octal numbers. A leading - 0x or 0X denotes hexadecimal. Otherwise, numbers take the form - [_b_a_s_e_#]n, where the optional _b_a_s_e is a decimal number between 2 and 64 - representing the arithmetic base, and _n is a number in that base. If - _b_a_s_e_# is omitted, then base 10 is used. When specifying _n, the digits - greater< than 9 are represented by the lowercase letters, the uppercase + 0x or 0X denotes hexadecimal. Otherwise, numbers take the form + [_b_a_s_e_#]n, where the optional _b_a_s_e is a decimal number between 2 and 64 + representing the arithmetic base, and _n is a number in that base. If + _b_a_s_e_# is omitted, then base 10 is used. When specifying _n, the digits + greater than 9 are represented by the lowercase letters, the uppercase letters, @, and _, in that order. If _b_a_s_e is less than or equal to 36, - lowercase and uppercase letters may be used interchangeably to repre- + lowercase and uppercase letters may be used interchangeably to repre- sent numbers between 10 and 35. - Operators are evaluated in order of precedence. Sub-expressions in - parentheses are evaluated first and may override the precedence rules + Operators are evaluated in order of precedence. Sub-expressions in + parentheses are evaluated first and may override the precedence rules above. CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS - Conditional expressions are used by the [[[[ compound command and the - tteesstt and [[ builtin commands to test file attributes and perform string - and arithmetic comparisons. Expressions are formed from the following - unary or binary primaries. If any _f_i_l_e argument to one of the pri- - maries is of the form _/_d_e_v_/_f_d_/_n, then file descriptor _n is checked. If - the _f_i_l_e argument to one of the primaries is one of _/_d_e_v_/_s_t_d_i_n, - _/_d_e_v_/_s_t_d_o_u_t, or _/_d_e_v_/_s_t_d_e_r_r, file descriptor 0, 1, or 2, respectively, - is checked. + Conditional expressions are used by the [[[[ compound command and the + tteesstt and [[ builtin commands to test file attributes and perform string + and arithmetic comparisons. Expressions are formed from the following + unary or binary primaries. BBaasshh handles several filenames specially + when they are used in expressions. If the operating system on which + bbaasshh is running provides these special files, bash will use them; oth- + erwise it will emulate them internally with this behavior: If any _f_i_l_e + argument to one of the primaries is of the form _/_d_e_v_/_f_d_/_n, then file + descriptor _n is checked. If the _f_i_l_e argument to one of the primaries + is one of _/_d_e_v_/_s_t_d_i_n, _/_d_e_v_/_s_t_d_o_u_t, or _/_d_e_v_/_s_t_d_e_r_r, file descriptor 0, + 1, or 2, respectively, is checked. Unless otherwise specified, primaries that operate on files follow sym- bolic links and operate on the target of the link, rather than the link @@ -2395,83 +2489,83 @@ SSIIMMPPLLEE CCOOMMMMAANNDD EEXXPPAANNSSIIOONN 4. The text after the == in each variable assignment undergoes tilde expansion, parameter expansion, command substitution, arithmetic - expansion, and quote removal before being assigned to the vari- + expansion, and quote removal before being assigned to the vari- able. If no command name results, the variable assignments affect the current - shell environment. Otherwise, the variables are added to the environ- - ment of the executed command and do not affect the current shell envi- - ronment. If any of the assignments attempts to assign a value to a - readonly variable, an error occurs, and the command exits with a non- + shell environment. Otherwise, the variables are added to the environ- + ment of the executed command and do not affect the current shell envi- + ronment. If any of the assignments attempts to assign a value to a + readonly variable, an error occurs, and the command exits with a non- zero status. - If no command name results, redirections are performed, but do not - affect the current shell environment. A redirection error causes the + If no command name results, redirections are performed, but do not + affect the current shell environment. A redirection error causes the command to exit with a non-zero status. - If there is a command name left after expansion, execution proceeds as - described below. Otherwise, the command exits. If one of the expan- - sions contained a command substitution, the exit status of the command - is the exit status of the last command substitution performed. If + If there is a command name left after expansion, execution proceeds as + described below. Otherwise, the command exits. If one of the expan- + sions contained a command substitution, the exit status of the command + is the exit status of the last command substitution performed. If there were no command substitutions, the command exits with a status of zero. CCOOMMMMAANNDD EEXXEECCUUTTIIOONN - After a command has been split into words, if it results in a simple - command and an optional list of arguments, the following actions are + After a command has been split into words, if it results in a simple + command and an optional list of arguments, the following actions are taken. - If the command name contains no slashes, the shell attempts to locate - it. If there exists a shell function by that name, that function is - invoked as described above in FFUUNNCCTTIIOONNSS. If the name does not match a - function, the shell searches for it in the list of shell builtins. If + If the command name contains no slashes, the shell attempts to locate + it. If there exists a shell function by that name, that function is + invoked as described above in FFUUNNCCTTIIOONNSS. If the name does not match a + function, the shell searches for it in the list of shell builtins. If a match is found, that builtin is invoked. - If the name is neither a shell function nor a builtin, and contains no - slashes, bbaasshh searches each element of the PPAATTHH for a directory con- - taining an executable file by that name. BBaasshh uses a hash table to - remember the full pathnames of executable files (see hhaasshh under SSHHEELLLL - BBUUIILLTTIINN CCOOMMMMAANNDDSS below). A full search of the directories in PPAATTHH is - performed only if the command is not found in the hash table. If the + If the name is neither a shell function nor a builtin, and contains no + slashes, bbaasshh searches each element of the PPAATTHH for a directory con- + taining an executable file by that name. BBaasshh uses a hash table to + remember the full pathnames of executable files (see hhaasshh under SSHHEELLLL + BBUUIILLTTIINN CCOOMMMMAANNDDSS below). A full search of the directories in PPAATTHH is + performed only if the command is not found in the hash table. If the search is unsuccessful, the shell searches for a defined shell function named ccoommmmaanndd__nnoott__ffoouunndd__hhaannddllee. If that function exists, it is invoked - with the original command and the original command's arguments as its - arguments, and the function's exit status becomes the exit status of - the shell. If that function is not defined, the shell prints an error + with the original command and the original command's arguments as its + arguments, and the function's exit status becomes the exit status of + the shell. If that function is not defined, the shell prints an error message and returns an exit status of 127. - If the search is successful, or if the command name contains one or + If the search is successful, or if the command name contains one or more slashes, the shell executes the named program in a separate execu- tion environment. Argument 0 is set to the name given, and the remain- ing arguments to the command are set to the arguments given, if any. - If this execution fails because the file is not in executable format, - and the file is not a directory, it is assumed to be a _s_h_e_l_l _s_c_r_i_p_t, a - file containing shell commands. A subshell is spawned to execute it. - This subshell reinitializes itself, so that the effect is as if a new - shell had been invoked to handle the script, with the exception that - the locations of commands remembered by the parent (see hhaasshh below + If this execution fails because the file is not in executable format, + and the file is not a directory, it is assumed to be a _s_h_e_l_l _s_c_r_i_p_t, a + file containing shell commands. A subshell is spawned to execute it. + This subshell reinitializes itself, so that the effect is as if a new + shell had been invoked to handle the script, with the exception that + the locations of commands remembered by the parent (see hhaasshh below under SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS) are retained by the child. - If the program is a file beginning with ##!!, the remainder of the first - line specifies an interpreter for the program. The shell executes the + If the program is a file beginning with ##!!, the remainder of the first + line specifies an interpreter for the program. The shell executes the specified interpreter on operating systems that do not handle this exe- cutable format themselves. The arguments to the interpreter consist of - a single optional argument following the interpreter name on the first - line of the program, followed by the name of the program, followed by + a single optional argument following the interpreter name on the first + line of the program, followed by the name of the program, followed by the command arguments, if any. CCOOMMMMAANNDD EEXXEECCUUTTIIOONN EENNVVIIRROONNMMEENNTT - The shell has an _e_x_e_c_u_t_i_o_n _e_n_v_i_r_o_n_m_e_n_t, which consists of the follow- + The shell has an _e_x_e_c_u_t_i_o_n _e_n_v_i_r_o_n_m_e_n_t, which consists of the follow- ing: - +o open files inherited by the shell at invocation, as modified by + +o open files inherited by the shell at invocation, as modified by redirections supplied to the eexxeecc builtin - +o the current working directory as set by ccdd, ppuusshhdd, or ppooppdd, or + +o the current working directory as set by ccdd, ppuusshhdd, or ppooppdd, or inherited by the shell at invocation - +o the file creation mode mask as set by uummaasskk or inherited from + +o the file creation mode mask as set by uummaasskk or inherited from the shell's parent +o current traps set by ttrraapp @@ -2479,111 +2573,112 @@ CCOOMMMMAANNDD EEXXEECCUUTTIIOONN EENNVVIIRROONNMMEENN +o shell parameters that are set by variable assignment or with sseett or inherited from the shell's parent in the environment - +o shell functions defined during execution or inherited from the + +o shell functions defined during execution or inherited from the shell's parent in the environment - +o options enabled at invocation (either by default or with com- + +o options enabled at invocation (either by default or with com- mand-line arguments) or by sseett +o options enabled by sshhoopptt +o shell aliases defined with aalliiaass - +o various process IDs, including those of background jobs, the + +o various process IDs, including those of background jobs, the value of $$$$, and the value of PPPPIIDD - When a simple command other than a builtin or shell function is to be - executed, it is invoked in a separate execution environment that con- - sists of the following. Unless otherwise noted, the values are inher- + When a simple command other than a builtin or shell function is to be + executed, it is invoked in a separate execution environment that con- + sists of the following. Unless otherwise noted, the values are inher- ited from the shell. - +o the shell's open files, plus any modifications and additions + +o the shell's open files, plus any modifications and additions specified by redirections to the command +o the current working directory +o the file creation mode mask - +o shell variables and functions marked for export, along with + +o shell variables and functions marked for export, along with variables exported for the command, passed in the environment +o traps caught by the shell are reset to the values inherited from the shell's parent, and traps ignored by the shell are ignored - A command invoked in this separate environment cannot affect the + A command invoked in this separate environment cannot affect the shell's execution environment. - Command substitution, commands grouped with parentheses, and asynchro- + Command substitution, commands grouped with parentheses, and asynchro- nous commands are invoked in a subshell environment that is a duplicate - of the shell environment, except that traps caught by the shell are + of the shell environment, except that traps caught by the shell are reset to the values that the shell inherited from its parent at invoca- tion. Builtin commands that are invoked as part of a pipeline are also executed in a subshell environment. Changes made to the subshell envi- ronment cannot affect the shell's execution environment. Subshells spawned to execute command substitutions inherit the value of - the --ee option from the parent shell. When not in _p_o_s_i_x mode, bbaasshh + the --ee option from the parent shell. When not in _p_o_s_i_x mode, bbaasshh clears the --ee option in such subshells. - If a command is followed by a && and job control is not active, the - default standard input for the command is the empty file _/_d_e_v_/_n_u_l_l. - Otherwise, the invoked command inherits the file descriptors of the + If a command is followed by a && and job control is not active, the + default standard input for the command is the empty file _/_d_e_v_/_n_u_l_l. + Otherwise, the invoked command inherits the file descriptors of the calling shell as modified by redirections. EENNVVIIRROONNMMEENNTT - When a program is invoked it is given an array of strings called the + When a program is invoked it is given an array of strings called the _e_n_v_i_r_o_n_m_e_n_t. This is a list of _n_a_m_e-_v_a_l_u_e pairs, of the form _n_a_m_e=_v_a_l_u_e. - The shell provides several ways to manipulate the environment. On + The shell provides several ways to manipulate the environment. On invocation, the shell scans its own environment and creates a parameter - for each name found, automatically marking it for _e_x_p_o_r_t to child pro- - cesses. Executed commands inherit the environment. The eexxppoorrtt and - ddeeccllaarree --xx commands allow parameters and functions to be added to and + for each name found, automatically marking it for _e_x_p_o_r_t to child pro- + cesses. Executed commands inherit the environment. The eexxppoorrtt and + ddeeccllaarree --xx commands allow parameters and functions to be added to and deleted from the environment. If the value of a parameter in the envi- - ronment is modified, the new value becomes part of the environment, - replacing the old. The environment inherited by any executed command - consists of the shell's initial environment, whose values may be modi- - fied in the shell, less any pairs removed by the uunnsseett command, plus + ronment is modified, the new value becomes part of the environment, + replacing the old. The environment inherited by any executed command + consists of the shell's initial environment, whose values may be modi- + fied in the shell, less any pairs removed by the uunnsseett command, plus any additions via the eexxppoorrtt and ddeeccllaarree --xx commands. - The environment for any _s_i_m_p_l_e _c_o_m_m_a_n_d or function may be augmented - temporarily by prefixing it with parameter assignments, as described + The environment for any _s_i_m_p_l_e _c_o_m_m_a_n_d or function may be augmented + temporarily by prefixing it with parameter assignments, as described above in PPAARRAAMMEETTEERRSS. These assignment statements affect only the envi- ronment seen by that command. - If the --kk option is set (see the sseett builtin command below), then _a_l_l - parameter assignments are placed in the environment for a command, not + If the --kk option is set (see the sseett builtin command below), then _a_l_l + parameter assignments are placed in the environment for a command, not just those that precede the command name. - When bbaasshh invokes an external command, the variable __ is set to the + When bbaasshh invokes an external command, the variable __ is set to the full filename of the command and passed to that command in its environ- ment. EEXXIITT SSTTAATTUUSS - The exit status of an executed command is the value returned by the + The exit status of an executed command is the value returned by the _w_a_i_t_p_i_d system call or equivalent function. Exit statuses fall between - 0 and 255, though, as explained below, the shell may use values above + 0 and 255, though, as explained below, the shell may use values above 125 specially. Exit statuses from shell builtins and compound commands - are also limited to this range. Under certain circumstances, the shell + are also limited to this range. Under certain circumstances, the shell will use special values to indicate specific failure modes. For the shell's purposes, a command which exits with a zero exit status - has succeeded. An exit status of zero indicates success. A non-zero - exit status indicates failure. When a command terminates on a fatal + has succeeded. An exit status of zero indicates success. A non-zero + exit status indicates failure. When a command terminates on a fatal signal _N, bbaasshh uses the value of 128+_N as the exit status. - If a command is not found, the child process created to execute it - returns a status of 127. If a command is found but is not executable, + If a command is not found, the child process created to execute it + returns a status of 127. If a command is found but is not executable, the return status is 126. If a command fails because of an error during expansion or redirection, the exit status is greater than zero. - Shell builtin commands return a status of 0 (_t_r_u_e) if successful, and - non-zero (_f_a_l_s_e) if an error occurs while they execute. All builtins - return an exit status of 2 to indicate incorrect usage. + Shell builtin commands return a status of 0 (_t_r_u_e) if successful, and + non-zero (_f_a_l_s_e) if an error occurs while they execute. All builtins + return an exit status of 2 to indicate incorrect usage, generally + invalid options or missing arguments. BBaasshh itself returns the exit status of the last command executed, unless a syntax error occurs, in which case it exits with a non-zero @@ -2706,15 +2801,16 @@ JJOOBB CCOONNTTRROOLL PPRROOMMPPTTIINNGG When executing interactively, bbaasshh displays the primary prompt PPSS11 when it is ready to read a command, and the secondary prompt PPSS22 when it - needs more input to complete a command. BBaasshh allows these prompt - strings to be customized by inserting a number of backslash-escaped + needs more input to complete a command. BBaasshh displays PPSS00 after it + reads a command but before executing it. BBaasshh allows these prompt + strings to be customized by inserting a number of backslash-escaped special characters that are decoded as follows: \\aa an ASCII bell character (07) - \\dd the date in "Weekday Month Date" format (e.g., "Tue May + \\dd the date in "Weekday Month Date" format (e.g., "Tue May 26") \\DD{{_f_o_r_m_a_t}} - the _f_o_r_m_a_t is passed to _s_t_r_f_t_i_m_e(3) and the result is - inserted into the prompt string; an empty _f_o_r_m_a_t results + the _f_o_r_m_a_t is passed to _s_t_r_f_t_i_m_e(3) and the result is + inserted into the prompt string; an empty _f_o_r_m_a_t results in a locale-specific time representation. The braces are required \\ee an ASCII escape character (033) @@ -2724,7 +2820,7 @@ PPRROOMMPPTTIINNGG \\ll the basename of the shell's terminal device name \\nn newline \\rr carriage return - \\ss the name of the shell, the basename of $$00 (the portion + \\ss the name of the shell, the basename of $$00 (the portion following the final slash) \\tt the current time in 24-hour HH:MM:SS format \\TT the current time in 12-hour HH:MM:SS format @@ -2810,19 +2906,19 @@ RREEAADDLLIINNEE M-Control-u: universal-argument or C-Meta-u: universal-argument - into the _i_n_p_u_t_r_c would make M-C-u execute the readline command _u_n_i_v_e_r_- + into the _i_n_p_u_t_r_c would make M-C-u execute the readline command _u_n_i_v_e_r_- _s_a_l_-_a_r_g_u_m_e_n_t. - The following symbolic character names are recognized: _R_U_B_O_U_T, _D_E_L, + The following symbolic character names are recognized: _R_U_B_O_U_T, _D_E_L, _E_S_C, _L_F_D, _N_E_W_L_I_N_E, _R_E_T, _R_E_T_U_R_N, _S_P_C, _S_P_A_C_E, and _T_A_B. - In addition to command names, readline allows keys to be bound to a + In addition to command names, readline allows keys to be bound to a string that is inserted when the key is pressed (a _m_a_c_r_o). RReeaaddlliinnee KKeeyy BBiinnddiinnggss - The syntax for controlling key bindings in the _i_n_p_u_t_r_c file is simple. - All that is required is the name of the command or the text of a macro - and a key sequence to which it should be bound. The name may be speci- + The syntax for controlling key bindings in the _i_n_p_u_t_r_c file is simple. + All that is required is the name of the command or the text of a macro + and a key sequence to which it should be bound. The name may be speci- fied in one of two ways: as a symbolic key name, possibly with _M_e_t_a_- or _C_o_n_t_r_o_l_- prefixes, or as a key sequence. @@ -2833,15 +2929,15 @@ RREEAADDLLIINNEE Meta-Rubout: backward-kill-word Control-o: "> output" - In the above example, _C_-_u is bound to the function uunniivveerrssaall--aarrgguummeenntt, - _M_-_D_E_L is bound to the function bbaacckkwwaarrdd--kkiillll--wwoorrdd, and _C_-_o is bound to - run the macro expressed on the right hand side (that is, to insert the + In the above example, _C_-_u is bound to the function uunniivveerrssaall--aarrgguummeenntt, + _M_-_D_E_L is bound to the function bbaacckkwwaarrdd--kkiillll--wwoorrdd, and _C_-_o is bound to + run the macro expressed on the right hand side (that is, to insert the text ``> output'' into the line). - In the second form, ""kkeeyysseeqq"":_f_u_n_c_t_i_o_n_-_n_a_m_e or _m_a_c_r_o, kkeeyysseeqq differs - from kkeeyynnaammee above in that strings denoting an entire key sequence may - be specified by placing the sequence within double quotes. Some GNU - Emacs style key escapes can be used, as in the following example, but + In the second form, ""kkeeyysseeqq"":_f_u_n_c_t_i_o_n_-_n_a_m_e or _m_a_c_r_o, kkeeyysseeqq differs + from kkeeyynnaammee above in that strings denoting an entire key sequence may + be specified by placing the sequence within double quotes. Some GNU + Emacs style key escapes can be used, as in the following example, but the symbolic character names are not recognized. "\C-u": universal-argument @@ -2849,7 +2945,7 @@ RREEAADDLLIINNEE "\e[11~": "Function Key 1" In this example, _C_-_u is again bound to the function uunniivveerrssaall--aarrgguummeenntt. - _C_-_x _C_-_r is bound to the function rree--rreeaadd--iinniitt--ffiillee, and _E_S_C _[ _1 _1 _~ is + _C_-_x _C_-_r is bound to the function rree--rreeaadd--iinniitt--ffiillee, and _E_S_C _[ _1 _1 _~ is bound to insert the text ``Function Key 1''. The full set of GNU Emacs style escape sequences is @@ -2860,7 +2956,7 @@ RREEAADDLLIINNEE \\"" literal " \\'' literal ' - In addition to the GNU Emacs style escape sequences, a second set of + In addition to the GNU Emacs style escape sequences, a second set of backslash escapes is available: \\aa alert (bell) \\bb backspace @@ -2870,20 +2966,20 @@ RREEAADDLLIINNEE \\rr carriage return \\tt horizontal tab \\vv vertical tab - \\_n_n_n the eight-bit character whose value is the octal value + \\_n_n_n the eight-bit character whose value is the octal value _n_n_n (one to three digits) - \\xx_H_H the eight-bit character whose value is the hexadecimal + \\xx_H_H the eight-bit character whose value is the hexadecimal value _H_H (one or two hex digits) When entering the text of a macro, single or double quotes must be used to indicate a macro definition. Unquoted text is assumed to be a func- - tion name. In the macro body, the backslash escapes described above - are expanded. Backslash will quote any other character in the macro + tion name. In the macro body, the backslash escapes described above + are expanded. Backslash will quote any other character in the macro text, including " and '. - BBaasshh allows the current readline key bindings to be displayed or modi- - fied with the bbiinndd builtin command. The editing mode may be switched - during interactive use by using the --oo option to the sseett builtin com- + BBaasshh allows the current readline key bindings to be displayed or modi- + fied with the bbiinndd builtin command. The editing mode may be switched + during interactive use by using the --oo option to the sseett builtin com- mand (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). RReeaaddlliinnee VVaarriiaabblleess @@ -2893,85 +2989,114 @@ RREEAADDLLIINNEE sseett _v_a_r_i_a_b_l_e_-_n_a_m_e _v_a_l_u_e - Except where noted, readline variables can take the values OOnn or OOffff - (without regard to case). Unrecognized variable names are ignored. - When a variable value is read, empty or null values, "on" (case-insen- + Except where noted, readline variables can take the values OOnn or OOffff + (without regard to case). Unrecognized variable names are ignored. + When a variable value is read, empty or null values, "on" (case-insen- sitive), and "1" are equivalent to OOnn. All other values are equivalent to OOffff. The variables and their default values are: bbeellll--ssttyyllee ((aauuddiibbllee)) - Controls what happens when readline wants to ring the terminal + Controls what happens when readline wants to ring the terminal bell. If set to nnoonnee, readline never rings the bell. If set to - vviissiibbllee, readline uses a visible bell if one is available. If + vviissiibbllee, readline uses a visible bell if one is available. If set to aauuddiibbllee, readline attempts to ring the terminal's bell. bbiinndd--ttttyy--ssppeecciiaall--cchhaarrss ((OOnn)) - If set to OOnn, readline attempts to bind the control characters + If set to OOnn, readline attempts to bind the control characters treated specially by the kernel's terminal driver to their read- line equivalents. + bblliinnkk--mmaattcchhiinngg--ppaarreenn ((OOffff)) + If set to OOnn, readline attempts to briefly move the cursor to an + opening parenthesis when a closing parenthesis is inserted. + ccoolloorreedd--ccoommpplleettiioonn--pprreeffiixx ((OOffff)) + If set to OOnn, when listing completions, readline displays the + common prefix of the set of possible completions using a differ- + ent color. The color definitions are taken from the value of + the LLSS__CCOOLLOORRSS environment variable. ccoolloorreedd--ssttaattss ((OOffff)) - If set to OOnn, readline displays possible completions using dif- - ferent colors to indicate their file type. The color defini- - tions are taken from the value of the LLSS__CCOOLLOORRSS environment + If set to OOnn, readline displays possible completions using dif- + ferent colors to indicate their file type. The color defini- + tions are taken from the value of the LLSS__CCOOLLOORRSS environment variable. ccoommmmeenntt--bbeeggiinn ((````##'''')) - The string that is inserted when the readline iinnsseerrtt--ccoommmmeenntt + The string that is inserted when the readline iinnsseerrtt--ccoommmmeenntt command is executed. This command is bound to MM--## in emacs mode and to ## in vi command mode. + ccoommpplleettiioonn--ddiissppllaayy--wwiiddtthh ((--11)) + The number of screen columns used to display possible matches + when performing completion. The value is ignored if it is less + than 0 or greater than the terminal screen width. A value of 0 + will cause matches to be displayed one per line. The default + value is -1. ccoommpplleettiioonn--iiggnnoorree--ccaassee ((OOffff)) If set to OOnn, readline performs filename matching and completion in a case-insensitive fashion. + ccoommpplleettiioonn--mmaapp--ccaassee ((OOffff)) + If set to OOnn, and ccoommpplleettiioonn--iiggnnoorree--ccaassee is enabled, readline + treats hyphens (_-) and underscores (__) as equivalent when per- + forming case-insensitive filename matching and completion. ccoommpplleettiioonn--pprreeffiixx--ddiissppllaayy--lleennggtthh ((00)) - The length in characters of the common prefix of a list of pos- - sible completions that is displayed without modification. When - set to a value greater than zero, common prefixes longer than - this value are replaced with an ellipsis when displaying possi- + The length in characters of the common prefix of a list of pos- + sible completions that is displayed without modification. When + set to a value greater than zero, common prefixes longer than + this value are replaced with an ellipsis when displaying possi- ble completions. ccoommpplleettiioonn--qquueerryy--iitteemmss ((110000)) - This determines when the user is queried about viewing the num- - ber of possible completions generated by the ppoossssiibbllee--ccoommppllee-- - ttiioonnss command. It may be set to any integer value greater than - or equal to zero. If the number of possible completions is + This determines when the user is queried about viewing the num- + ber of possible completions generated by the ppoossssiibbllee--ccoommppllee-- + ttiioonnss command. It may be set to any integer value greater than + or equal to zero. If the number of possible completions is greater than or equal to the value of this variable, the user is - asked whether or not he wishes to view them; otherwise they are + asked whether or not he wishes to view them; otherwise they are simply listed on the terminal. ccoonnvveerrtt--mmeettaa ((OOnn)) - If set to OOnn, readline will convert characters with the eighth + If set to OOnn, readline will convert characters with the eighth bit set to an ASCII key sequence by stripping the eighth bit and - prefixing an escape character (in effect, using escape as the - _m_e_t_a _p_r_e_f_i_x). + prefixing an escape character (in effect, using escape as the + _m_e_t_a _p_r_e_f_i_x). The default is _O_n, but readline will set it to + _O_f_f if the locale contains eight-bit characters. ddiissaabbllee--ccoommpplleettiioonn ((OOffff)) If set to OOnn, readline will inhibit word completion. Completion characters will be inserted into the line as if they had been mapped to sseellff--iinnsseerrtt. - eeddiittiinngg--mmooddee ((eemmaaccss)) - Controls whether readline begins with a set of key bindings sim- - ilar to _E_m_a_c_s or _v_i. eeddiittiinngg--mmooddee can be set to either eemmaaccss or - vvii. eecchhoo--ccoonnttrrooll--cchhaarraacctteerrss ((OOnn)) When set to OOnn, on operating systems that indicate they support it, readline echoes a character corresponding to a signal gener- ated from the keyboard. + eeddiittiinngg--mmooddee ((eemmaaccss)) + Controls whether readline begins with a set of key bindings sim- + ilar to _E_m_a_c_s or _v_i. eeddiittiinngg--mmooddee can be set to either eemmaaccss or + vvii. + eennaabbllee--bbrraacckkeetteedd--ppaassttee ((OOffff)) + When set to OOnn, readline will configure the terminal in a way + that will enable it to insert each paste into the editing buffer + as a single string of characters, instead of treating each char- + acter as if it had been read from the keyboard. This can pre- + vent pasted characters from being interpreted as editing com- + mands. eennaabbllee--kkeeyyppaadd ((OOffff)) When set to OOnn, readline will try to enable the application key- - pad when it is called. Some systems need this to enable the + pad when it is called. Some systems need this to enable the arrow keys. eennaabbllee--mmeettaa--kkeeyy ((OOnn)) - When set to OOnn, readline will try to enable any meta modifier - key the terminal claims to support when it is called. On many + When set to OOnn, readline will try to enable any meta modifier + key the terminal claims to support when it is called. On many terminals, the meta key is used to send eight-bit characters. eexxppaanndd--ttiillddee ((OOffff)) - If set to OOnn, tilde expansion is performed when readline + If set to OOnn, tilde expansion is performed when readline attempts word completion. hhiissttoorryy--pprreesseerrvvee--ppooiinntt ((OOffff)) - If set to OOnn, the history code attempts to place point at the - same location on each history line retrieved with pprreevviioouuss--hhiiss-- + If set to OOnn, the history code attempts to place point at the + same location on each history line retrieved with pprreevviioouuss--hhiiss-- ttoorryy or nneexxtt--hhiissttoorryy. - hhiissttoorryy--ssiizzee ((00)) - Set the maximum number of history entries saved in the history - list. If set to zero, any existing history entries are deleted + hhiissttoorryy--ssiizzee ((uunnsseett)) + Set the maximum number of history entries saved in the history + list. If set to zero, any existing history entries are deleted and no new entries are saved. If set to a value less than zero, - the number of history entries is not limited. By default, the - number of history entries is not limited. + the number of history entries is not limited. By default, the + number of history entries is set to the value of the HHIISSTTSSIIZZEE + shell variable. If an attempt is made to set _h_i_s_t_o_r_y_-_s_i_z_e to a + non-numeric value, the maximum number of history entries will be + set to 500. hhoorriizzoonnttaall--ssccrroollll--mmooddee ((OOffff)) When set to OOnn, makes readline use a single line for display, scrolling the input horizontally on a single screen line when it @@ -2979,9 +3104,11 @@ RREEAADDLLIINNEE new line. iinnppuutt--mmeettaa ((OOffff)) If set to OOnn, readline will enable eight-bit input (that is, it - will not strip the high bit from the characters it reads), + will not strip the eighth bit from the characters it reads), regardless of what the terminal claims it can support. The name - mmeettaa--ffllaagg is a synonym for this variable. + mmeettaa--ffllaagg is a synonym for this variable. The default is _O_f_f, + but readline will set it to _O_n if the locale contains eight-bit + characters. iisseeaarrcchh--tteerrmmiinnaattoorrss ((````CC--[[CC--JJ'''')) The string of characters that should terminate an incremental search without subsequently executing the character as a com- @@ -2993,6 +3120,14 @@ RREEAADDLLIINNEE _m_a_n_d, and _v_i_-_i_n_s_e_r_t. _v_i is equivalent to _v_i_-_c_o_m_m_a_n_d; _e_m_a_c_s is equivalent to _e_m_a_c_s_-_s_t_a_n_d_a_r_d. The default value is _e_m_a_c_s; the value of eeddiittiinngg--mmooddee also affects the default keymap. + eemmaaccss--mmooddee--ssttrriinngg ((@@)) + This string is displayed immediately before the last line of the + primary prompt when emacs editing mode is active. The value is + expanded like a key binding, so the standard set of meta- and + control prefixes and backslash escape sequences is available. + Use the \1 and \2 escapes to begin and end sequences of non- + printing characters, which can be used to embed a terminal con- + trol sequence into the mode string. kkeeyysseeqq--ttiimmeeoouutt ((550000)) Specifies the duration _r_e_a_d_l_i_n_e will wait for a character when reading an ambiguous key sequence (one that can form a complete @@ -3026,80 +3161,98 @@ RREEAADDLLIINNEE oouuttppuutt--mmeettaa ((OOffff)) If set to OOnn, readline will display characters with the eighth bit set directly rather than as a meta-prefixed escape sequence. + The default is _O_f_f, but readline will set it to _O_n if the locale + contains eight-bit characters. ppaaggee--ccoommpplleettiioonnss ((OOnn)) - If set to OOnn, readline uses an internal _m_o_r_e-like pager to dis- + If set to OOnn, readline uses an internal _m_o_r_e-like pager to dis- play a screenful of possible completions at a time. pprriinntt--ccoommpplleettiioonnss--hhoorriizzoonnttaallllyy ((OOffff)) - If set to OOnn, readline will display completions with matches - sorted horizontally in alphabetical order, rather than down the + If set to OOnn, readline will display completions with matches + sorted horizontally in alphabetical order, rather than down the screen. rreevveerrtt--aallll--aatt--nneewwlliinnee ((OOffff)) - If set to OOnn, readline will undo all changes to history lines + If set to OOnn, readline will undo all changes to history lines before returning when aacccceepptt--lliinnee is executed. By default, his- - tory lines may be modified and retain individual undo lists + tory lines may be modified and retain individual undo lists across calls to rreeaaddlliinnee. sshhooww--aallll--iiff--aammbbiigguuoouuss ((OOffff)) - This alters the default behavior of the completion functions. + This alters the default behavior of the completion functions. If set to OOnn, words which have more than one possible completion - cause the matches to be listed immediately instead of ringing + cause the matches to be listed immediately instead of ringing the bell. sshhooww--aallll--iiff--uunnmmooddiiffiieedd ((OOffff)) - This alters the default behavior of the completion functions in + This alters the default behavior of the completion functions in a fashion similar to sshhooww--aallll--iiff--aammbbiigguuoouuss. If set to OOnn, words - which have more than one possible completion without any possi- - ble partial completion (the possible completions don't share a - common prefix) cause the matches to be listed immediately + which have more than one possible completion without any possi- + ble partial completion (the possible completions don't share a + common prefix) cause the matches to be listed immediately instead of ringing the bell. sshhooww--mmooddee--iinn--pprroommpptt ((OOffff)) - If set to OOnn, add a character to the beginning of the prompt - indicating the editing mode: emacs (@), vi command (:) or vi + If set to OOnn, add a character to the beginning of the prompt + indicating the editing mode: emacs (@), vi command (:) or vi insertion (+). sskkiipp--ccoommpplleetteedd--tteexxtt ((OOffff)) - If set to OOnn, this alters the default completion behavior when - inserting a single match into the line. It's only active when - performing completion in the middle of a word. If enabled, - readline does not insert characters from the completion that - match characters after point in the word being completed, so + If set to OOnn, this alters the default completion behavior when + inserting a single match into the line. It's only active when + performing completion in the middle of a word. If enabled, + readline does not insert characters from the completion that + match characters after point in the word being completed, so portions of the word following the cursor are not duplicated. + vvii--ccmmdd--mmooddee--ssttrriinngg ((((ccmmdd)))) + This string is displayed immediately before the last line of the + primary prompt when vi editing mode is active and in command + mode. The value is expanded like a key binding, so the standard + set of meta- and control prefixes and backslash escape sequences + is available. Use the \1 and \2 escapes to begin and end + sequences of non-printing characters, which can be used to embed + a terminal control sequence into the mode string. + vvii--iinnss--mmooddee--ssttrriinngg ((((iinnss)))) + This string is displayed immediately before the last line of the + primary prompt when vi editing mode is active and in insertion + mode. The value is expanded like a key binding, so the standard + set of meta- and control prefixes and backslash escape sequences + is available. Use the \1 and \2 escapes to begin and end + sequences of non-printing characters, which can be used to embed + a terminal control sequence into the mode string. vviissiibbllee--ssttaattss ((OOffff)) - If set to OOnn, a character denoting a file's type as reported by - _s_t_a_t(2) is appended to the filename when listing possible com- + If set to OOnn, a character denoting a file's type as reported by + _s_t_a_t(2) is appended to the filename when listing possible com- pletions. RReeaaddlliinnee CCoonnddiittiioonnaall CCoonnssttrruuccttss - Readline implements a facility similar in spirit to the conditional - compilation features of the C preprocessor which allows key bindings - and variable settings to be performed as the result of tests. There + Readline implements a facility similar in spirit to the conditional + compilation features of the C preprocessor which allows key bindings + and variable settings to be performed as the result of tests. There are four parser directives used. - $$iiff The $$iiff construct allows bindings to be made based on the edit- - ing mode, the terminal being used, or the application using - readline. The text of the test extends to the end of the line; + $$iiff The $$iiff construct allows bindings to be made based on the edit- + ing mode, the terminal being used, or the application using + readline. The text of the test extends to the end of the line; no characters are required to isolate it. - mmooddee The mmooddee== form of the $$iiff directive is used to test - whether readline is in emacs or vi mode. This may be - used in conjunction with the sseett kkeeyymmaapp command, for - instance, to set bindings in the _e_m_a_c_s_-_s_t_a_n_d_a_r_d and - _e_m_a_c_s_-_c_t_l_x keymaps only if readline is starting out in + mmooddee The mmooddee== form of the $$iiff directive is used to test + whether readline is in emacs or vi mode. This may be + used in conjunction with the sseett kkeeyymmaapp command, for + instance, to set bindings in the _e_m_a_c_s_-_s_t_a_n_d_a_r_d and + _e_m_a_c_s_-_c_t_l_x keymaps only if readline is starting out in emacs mode. - tteerrmm The tteerrmm== form may be used to include terminal-specific + tteerrmm The tteerrmm== form may be used to include terminal-specific key bindings, perhaps to bind the key sequences output by the terminal's function keys. The word on the right side - of the == is tested against the both full name of the ter- - minal and the portion of the terminal name before the - first --. This allows _s_u_n to match both _s_u_n and _s_u_n_-_c_m_d, + of the == is tested against both the full name of the ter- + minal and the portion of the terminal name before the + first --. This allows _s_u_n to match both _s_u_n and _s_u_n_-_c_m_d, for instance. aapppplliiccaattiioonn The aapppplliiccaattiioonn construct is used to include application- specific settings. Each program using the readline - library sets the _a_p_p_l_i_c_a_t_i_o_n _n_a_m_e, and an initialization + library sets the _a_p_p_l_i_c_a_t_i_o_n _n_a_m_e, and an initialization file can test for a particular value. This could be used - to bind key sequences to functions useful for a specific - program. For instance, the following command adds a key - sequence that quotes the current or previous word in + to bind key sequences to functions useful for a specific + program. For instance, the following command adds a key + sequence that quotes the current or previous word in bbaasshh: $$iiff Bash @@ -3114,51 +3267,51 @@ RREEAADDLLIINNEE test fails. $$iinncclluuddee - This directive takes a single filename as an argument and reads - commands and bindings from that file. For example, the follow- + This directive takes a single filename as an argument and reads + commands and bindings from that file. For example, the follow- ing directive would read _/_e_t_c_/_i_n_p_u_t_r_c: $$iinncclluuddee _/_e_t_c_/_i_n_p_u_t_r_c SSeeaarrcchhiinngg - Readline provides commands for searching through the command history + Readline provides commands for searching through the command history (see HHIISSTTOORRYY below) for lines containing a specified string. There are two search modes: _i_n_c_r_e_m_e_n_t_a_l and _n_o_n_-_i_n_c_r_e_m_e_n_t_a_l. - Incremental searches begin before the user has finished typing the - search string. As each character of the search string is typed, read- + Incremental searches begin before the user has finished typing the + search string. As each character of the search string is typed, read- line displays the next entry from the history matching the string typed - so far. An incremental search requires only as many characters as - needed to find the desired history entry. The characters present in - the value of the iisseeaarrcchh--tteerrmmiinnaattoorrss variable are used to terminate an + so far. An incremental search requires only as many characters as + needed to find the desired history entry. The characters present in + the value of the iisseeaarrcchh--tteerrmmiinnaattoorrss variable are used to terminate an incremental search. If that variable has not been assigned a value the - Escape and Control-J characters will terminate an incremental search. - Control-G will abort an incremental search and restore the original - line. When the search is terminated, the history entry containing the + Escape and Control-J characters will terminate an incremental search. + Control-G will abort an incremental search and restore the original + line. When the search is terminated, the history entry containing the search string becomes the current line. - To find other matching entries in the history list, type Control-S or - Control-R as appropriate. This will search backward or forward in the - history for the next entry matching the search string typed so far. - Any other key sequence bound to a readline command will terminate the - search and execute that command. For instance, a _n_e_w_l_i_n_e will termi- + To find other matching entries in the history list, type Control-S or + Control-R as appropriate. This will search backward or forward in the + history for the next entry matching the search string typed so far. + Any other key sequence bound to a readline command will terminate the + search and execute that command. For instance, a _n_e_w_l_i_n_e will termi- nate the search and accept the line, thereby executing the command from the history list. Readline remembers the last incremental search string. If two Control- - Rs are typed without any intervening characters defining a new search + Rs are typed without any intervening characters defining a new search string, any remembered search string is used. - Non-incremental searches read the entire search string before starting - to search for matching history lines. The search string may be typed + Non-incremental searches read the entire search string before starting + to search for matching history lines. The search string may be typed by the user or be part of the contents of the current line. RReeaaddlliinnee CCoommmmaanndd NNaammeess - The following is a list of the names of the commands and the default + The following is a list of the names of the commands and the default key sequences to which they are bound. Command names without an accom- panying key sequence are unbound by default. In the following descrip- - tions, _p_o_i_n_t refers to the current cursor position, and _m_a_r_k refers to - a cursor position saved by the sseett--mmaarrkk command. The text between the + tions, _p_o_i_n_t refers to the current cursor position, and _m_a_r_k refers to + a cursor position saved by the sseett--mmaarrkk command. The text between the point and mark is referred to as the _r_e_g_i_o_n. CCoommmmaannddss ffoorr MMoovviinngg @@ -3174,17 +3327,17 @@ RREEAADDLLIINNEE Move forward to the end of the next word. Words are composed of alphanumeric characters (letters and digits). bbaacckkwwaarrdd--wwoorrdd ((MM--bb)) - Move back to the start of the current or previous word. Words + Move back to the start of the current or previous word. Words are composed of alphanumeric characters (letters and digits). sshheellll--ffoorrwwaarrdd--wwoorrdd - Move forward to the end of the next word. Words are delimited + Move forward to the end of the next word. Words are delimited by non-quoted shell metacharacters. sshheellll--bbaacckkwwaarrdd--wwoorrdd - Move back to the start of the current or previous word. Words + Move back to the start of the current or previous word. Words are delimited by non-quoted shell metacharacters. cclleeaarr--ssccrreeeenn ((CC--ll)) - Clear the screen leaving the current line at the top of the - screen. With an argument, refresh the current line without + Clear the screen leaving the current line at the top of the + screen. With an argument, refresh the current line without clearing the screen. rreeddrraaww--ccuurrrreenntt--lliinnee Refresh the current line. @@ -3192,67 +3345,67 @@ RREEAADDLLIINNEE CCoommmmaannddss ffoorr MMaanniippuullaattiinngg tthhee HHiissttoorryy aacccceepptt--lliinnee ((NNeewwlliinnee,, RReettuurrnn)) Accept the line regardless of where the cursor is. If this line - is non-empty, add it to the history list according to the state - of the HHIISSTTCCOONNTTRROOLL variable. If the line is a modified history + is non-empty, add it to the history list according to the state + of the HHIISSTTCCOONNTTRROOLL variable. If the line is a modified history line, then restore the history line to its original state. pprreevviioouuss--hhiissttoorryy ((CC--pp)) Fetch the previous command from the history list, moving back in the list. nneexxtt--hhiissttoorryy ((CC--nn)) - Fetch the next command from the history list, moving forward in + Fetch the next command from the history list, moving forward in the list. bbeeggiinnnniinngg--ooff--hhiissttoorryy ((MM--<<)) Move to the first line in the history. eenndd--ooff--hhiissttoorryy ((MM-->>)) - Move to the end of the input history, i.e., the line currently + Move to the end of the input history, i.e., the line currently being entered. rreevveerrssee--sseeaarrcchh--hhiissttoorryy ((CC--rr)) - Search backward starting at the current line and moving `up' - through the history as necessary. This is an incremental + Search backward starting at the current line and moving `up' + through the history as necessary. This is an incremental search. ffoorrwwaarrdd--sseeaarrcchh--hhiissttoorryy ((CC--ss)) - Search forward starting at the current line and moving `down' - through the history as necessary. This is an incremental + Search forward starting at the current line and moving `down' + through the history as necessary. This is an incremental search. nnoonn--iinnccrreemmeennttaall--rreevveerrssee--sseeaarrcchh--hhiissttoorryy ((MM--pp)) Search backward through the history starting at the current line - using a non-incremental search for a string supplied by the + using a non-incremental search for a string supplied by the user. nnoonn--iinnccrreemmeennttaall--ffoorrwwaarrdd--sseeaarrcchh--hhiissttoorryy ((MM--nn)) - Search forward through the history using a non-incremental + Search forward through the history using a non-incremental search for a string supplied by the user. hhiissttoorryy--sseeaarrcchh--ffoorrwwaarrdd - Search forward through the history for the string of characters - between the start of the current line and the point. This is a + Search forward through the history for the string of characters + between the start of the current line and the point. This is a non-incremental search. hhiissttoorryy--sseeaarrcchh--bbaacckkwwaarrdd Search backward through the history for the string of characters - between the start of the current line and the point. This is a + between the start of the current line and the point. This is a non-incremental search. yyaannkk--nntthh--aarrgg ((MM--CC--yy)) - Insert the first argument to the previous command (usually the + Insert the first argument to the previous command (usually the second word on the previous line) at point. With an argument _n, - insert the _nth word from the previous command (the words in the - previous command begin with word 0). A negative argument + insert the _nth word from the previous command (the words in the + previous command begin with word 0). A negative argument inserts the _nth word from the end of the previous command. Once - the argument _n is computed, the argument is extracted as if the + the argument _n is computed, the argument is extracted as if the "!_n" history expansion had been specified. yyaannkk--llaasstt--aarrgg ((MM--..,, MM--__)) - Insert the last argument to the previous command (the last word + Insert the last argument to the previous command (the last word of the previous history entry). With a numeric argument, behave - exactly like yyaannkk--nntthh--aarrgg. Successive calls to yyaannkk--llaasstt--aarrgg - move back through the history list, inserting the last word (or - the word specified by the argument to the first call) of each + exactly like yyaannkk--nntthh--aarrgg. Successive calls to yyaannkk--llaasstt--aarrgg + move back through the history list, inserting the last word (or + the word specified by the argument to the first call) of each line in turn. Any numeric argument supplied to these successive - calls determines the direction to move through the history. A - negative argument switches the direction through the history + calls determines the direction to move through the history. A + negative argument switches the direction through the history (back or forward). The history expansion facilities are used to extract the last word, as if the "!$" history expansion had been specified. sshheellll--eexxppaanndd--lliinnee ((MM--CC--ee)) Expand the line as the shell does. This performs alias and his- tory expansion as well as all of the shell word expansions. See - HHIISSTTOORRYY EEXXPPAANNSSIIOONN below for a description of history expansion. + HHIISSTTOORRYY EEXXPPAANNSSIIOONN below for a description of history expansion. hhiissttoorryy--eexxppaanndd--lliinnee ((MM--^^)) Perform history expansion on the current line. See HHIISSTTOORRYY EEXXPPAANNSSIIOONN below for a description of history expansion. @@ -3347,11 +3500,11 @@ RREEAADDLLIINNEE bbaacckkwwaarrdd--kkiillll--wwoorrdd ((MM--RRuubboouutt)) Kill the word behind point. Word boundaries are the same as those used by bbaacckkwwaarrdd--wwoorrdd. - sshheellll--kkiillll--wwoorrdd ((MM--dd)) + sshheellll--kkiillll--wwoorrdd Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as those used by sshheellll--ffoorrwwaarrdd--wwoorrdd. - sshheellll--bbaacckkwwaarrdd--kkiillll--wwoorrdd ((MM--RRuubboouutt)) + sshheellll--bbaacckkwwaarrdd--kkiillll--wwoorrdd Kill the word behind point. Word boundaries are the same as those used by sshheellll--bbaacckkwwaarrdd--wwoorrdd. uunniixx--wwoorrdd--rruubboouutt ((CC--ww)) @@ -3390,7 +3543,7 @@ RREEAADDLLIINNEE lowed by digits, executing uunniivveerrssaall--aarrgguummeenntt again ends the numeric argument, but is otherwise ignored. As a special case, if this command is immediately followed by a character that is - neither a digit or minus sign, the argument count for the next + neither a digit nor minus sign, the argument count for the next command is multiplied by four. The argument count is initially one, so executing this function the first time makes the argu- ment count four, a second time makes the argument count sixteen, @@ -3502,84 +3655,84 @@ RREEAADDLLIINNEE uunnddoo ((CC--__,, CC--xx CC--uu)) Incremental undo, separately remembered for each line. rreevveerrtt--lliinnee ((MM--rr)) - Undo all changes made to this line. This is like executing the - uunnddoo command enough times to return the line to its initial + Undo all changes made to this line. This is like executing the + uunnddoo command enough times to return the line to its initial state. ttiillddee--eexxppaanndd ((MM--&&)) Perform tilde expansion on the current word. sseett--mmaarrkk ((CC--@@,, MM--<>)) - Set the mark to the point. If a numeric argument is supplied, + Set the mark to the point. If a numeric argument is supplied, the mark is set to that position. eexxcchhaannggee--ppooiinntt--aanndd--mmaarrkk ((CC--xx CC--xx)) - Swap the point with the mark. The current cursor position is - set to the saved position, and the old cursor position is saved + Swap the point with the mark. The current cursor position is + set to the saved position, and the old cursor position is saved as the mark. cchhaarraacctteerr--sseeaarrcchh ((CC--]])) A character is read and point is moved to the next occurrence of - that character. A negative count searches for previous occur- + that character. A negative count searches for previous occur- rences. cchhaarraacctteerr--sseeaarrcchh--bbaacckkwwaarrdd ((MM--CC--]])) - A character is read and point is moved to the previous occur- - rence of that character. A negative count searches for subse- + A character is read and point is moved to the previous occur- + rence of that character. A negative count searches for subse- quent occurrences. sskkiipp--ccssii--sseeqquueennccee - Read enough characters to consume a multi-key sequence such as - those defined for keys like Home and End. Such sequences begin + Read enough characters to consume a multi-key sequence such as + those defined for keys like Home and End. Such sequences begin with a Control Sequence Indicator (CSI), usually ESC-[. If this - sequence is bound to "\[", keys producing such sequences will - have no effect unless explicitly bound to a readline command, - instead of inserting stray characters into the editing buffer. + sequence is bound to "\[", keys producing such sequences will + have no effect unless explicitly bound to a readline command, + instead of inserting stray characters into the editing buffer. This is unbound by default, but usually bound to ESC-[. iinnsseerrtt--ccoommmmeenntt ((MM--##)) - Without a numeric argument, the value of the readline ccoomm-- - mmeenntt--bbeeggiinn variable is inserted at the beginning of the current + Without a numeric argument, the value of the readline ccoomm-- + mmeenntt--bbeeggiinn variable is inserted at the beginning of the current line. If a numeric argument is supplied, this command acts as a - toggle: if the characters at the beginning of the line do not - match the value of ccoommmmeenntt--bbeeggiinn, the value is inserted, other- + toggle: if the characters at the beginning of the line do not + match the value of ccoommmmeenntt--bbeeggiinn, the value is inserted, other- wise the characters in ccoommmmeenntt--bbeeggiinn are deleted from the begin- - ning of the line. In either case, the line is accepted as if a - newline had been typed. The default value of ccoommmmeenntt--bbeeggiinn - causes this command to make the current line a shell comment. - If a numeric argument causes the comment character to be + ning of the line. In either case, the line is accepted as if a + newline had been typed. The default value of ccoommmmeenntt--bbeeggiinn + causes this command to make the current line a shell comment. + If a numeric argument causes the comment character to be removed, the line will be executed by the shell. gglloobb--ccoommpplleettee--wwoorrdd ((MM--gg)) - The word before point is treated as a pattern for pathname - expansion, with an asterisk implicitly appended. This pattern - is used to generate a list of matching filenames for possible + The word before point is treated as a pattern for pathname + expansion, with an asterisk implicitly appended. This pattern + is used to generate a list of matching filenames for possible completions. gglloobb--eexxppaanndd--wwoorrdd ((CC--xx **)) - The word before point is treated as a pattern for pathname - expansion, and the list of matching filenames is inserted, - replacing the word. If a numeric argument is supplied, an + The word before point is treated as a pattern for pathname + expansion, and the list of matching filenames is inserted, + replacing the word. If a numeric argument is supplied, an asterisk is appended before pathname expansion. gglloobb--lliisstt--eexxppaannssiioonnss ((CC--xx gg)) - The list of expansions that would have been generated by - gglloobb--eexxppaanndd--wwoorrdd is displayed, and the line is redrawn. If a - numeric argument is supplied, an asterisk is appended before + The list of expansions that would have been generated by + gglloobb--eexxppaanndd--wwoorrdd is displayed, and the line is redrawn. If a + numeric argument is supplied, an asterisk is appended before pathname expansion. dduummpp--ffuunnccttiioonnss - Print all of the functions and their key bindings to the read- + Print all of the functions and their key bindings to the read- line output stream. If a numeric argument is supplied, the out- - put is formatted in such a way that it can be made part of an + put is formatted in such a way that it can be made part of an _i_n_p_u_t_r_c file. dduummpp--vvaarriiaabblleess Print all of the settable readline variables and their values to - the readline output stream. If a numeric argument is supplied, - the output is formatted in such a way that it can be made part + the readline output stream. If a numeric argument is supplied, + the output is formatted in such a way that it can be made part of an _i_n_p_u_t_r_c file. dduummpp--mmaaccrrooss - Print all of the readline key sequences bound to macros and the - strings they output. If a numeric argument is supplied, the + Print all of the readline key sequences bound to macros and the + strings they output. If a numeric argument is supplied, the output is formatted in such a way that it can be made part of an _i_n_p_u_t_r_c file. ddiissppllaayy--sshheellll--vveerrssiioonn ((CC--xx CC--vv)) - Display version information about the current instance of bbaasshh. + Display version information about the current instance of bbaasshh. PPrrooggrraammmmaabbllee CCoommpplleettiioonn When word completion is attempted for an argument to a command for which a completion specification (a _c_o_m_p_s_p_e_c) has been defined using - the ccoommpplleettee builtin (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below), the pro- - grammable completion facilities are invoked. + the ccoommpplleettee builtin (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below), the program- + mable completion facilities are invoked. First, the command name is identified. If the command word is the empty string (completion attempted at the beginning of an empty line), @@ -3646,7 +3799,9 @@ RREEAADDLLIINNEE with a backslash; the backslash is removed before attempting a match. Any completion that matches the pattern will be removed from the list. A leading !! negates the pattern; in this case any completion not match- - ing the pattern will be removed. + ing the pattern will be removed. If the nnooccaasseemmaattcchh shell option is + enabled, the match is performed without regard to the case of alpha- + betic characters. Finally, any prefix and suffix specified with the --PP and --SS options are added to each member of the completion list, and the result is returned @@ -3776,7 +3931,9 @@ HHIISSTTOORRYY EEXXPPAANNSSIIOONN quotes are considered one word. History expansions are introduced by the appearance of the history expansion character, which is !! by default. Only backslash (\\) and single quotes can quote the history - expansion character. + expansion character, but the history expansion character is also + treated as quoted if it immediately precedes the closing double quote + in a double-quoted string. Several characters inhibit history expansion if found immediately fol- lowing the history expansion character, even if it is unquoted: space, @@ -3842,17 +3999,17 @@ HHIISSTTOORRYY EEXXPPAANNSSIIOONN expand to the zeroth word if there is only one word in the line. %% The word matched by the most recent `?_s_t_r_i_n_g?' search. _x--_y A range of words; `-_y' abbreviates `0-_y'. - ** All of the words but the zeroth. This is a synonym for `_1_-_$'. - It is not an error to use ** if there is just one word in the + ** All of the words but the zeroth. This is a synonym for `_1_-_$'. + It is not an error to use ** if there is just one word in the event; the empty string is returned in that case. xx** Abbreviates _x_-_$. xx-- Abbreviates _x_-_$ like xx**, but omits the last word. - If a word designator is supplied without an event specification, the + If a word designator is supplied without an event specification, the previous command is used as the event. MMooddiiffiieerrss - After the optional word designator, there may appear a sequence of one + After the optional word designator, there may appear a sequence of one or more of the following modifiers, each preceded by a `:'. hh Remove a trailing filename component, leaving only the head. @@ -3885,38 +4042,44 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS Unless otherwise noted, each builtin command documented in this section as accepting options preceded by -- accepts ---- to signify the end of the options. The ::, ttrruuee, ffaallssee, and tteesstt builtins do not accept options - and do not treat ---- specially. The eexxiitt, llooggoouutt, bbrreeaakk, ccoonnttiinnuuee, lleett, - and sshhiifftt builtins accept and process arguments beginning with -- with- - out requiring ----. Other builtins that accept arguments but are not - specified as accepting options interpret arguments beginning with -- as - invalid options and require ---- to prevent this interpretation. + and do not treat ---- specially. The eexxiitt, llooggoouutt, rreettuurrnn, bbrreeaakk, ccoonn-- + ttiinnuuee, lleett, and sshhiifftt builtins accept and process arguments beginning + with -- without requiring ----. Other builtins that accept arguments but + are not specified as accepting options interpret arguments beginning + with -- as invalid options and require ---- to prevent this interpreta- + tion. :: [_a_r_g_u_m_e_n_t_s] - No effect; the command does nothing beyond expanding _a_r_g_u_m_e_n_t_s - and performing any specified redirections. A zero exit code is - returned. + No effect; the command does nothing beyond expanding _a_r_g_u_m_e_n_t_s + and performing any specified redirections. The return status is + zero. .. _f_i_l_e_n_a_m_e [_a_r_g_u_m_e_n_t_s] ssoouurrccee _f_i_l_e_n_a_m_e [_a_r_g_u_m_e_n_t_s] - Read and execute commands from _f_i_l_e_n_a_m_e in the current shell - environment and return the exit status of the last command exe- - cuted from _f_i_l_e_n_a_m_e. If _f_i_l_e_n_a_m_e does not contain a slash, - filenames in PPAATTHH are used to find the directory containing + Read and execute commands from _f_i_l_e_n_a_m_e in the current shell + environment and return the exit status of the last command exe- + cuted from _f_i_l_e_n_a_m_e. If _f_i_l_e_n_a_m_e does not contain a slash, + filenames in PPAATTHH are used to find the directory containing _f_i_l_e_n_a_m_e. The file searched for in PPAATTHH need not be executable. - When bbaasshh is not in _p_o_s_i_x _m_o_d_e, the current directory is - searched if no file is found in PPAATTHH. If the ssoouurrcceeppaatthh option - to the sshhoopptt builtin command is turned off, the PPAATTHH is not - searched. If any _a_r_g_u_m_e_n_t_s are supplied, they become the posi- - tional parameters when _f_i_l_e_n_a_m_e is executed. Otherwise the - positional parameters are unchanged. The return status is the - status of the last command exited within the script (0 if no - commands are executed), and false if _f_i_l_e_n_a_m_e is not found or + When bbaasshh is not in _p_o_s_i_x _m_o_d_e, the current directory is + searched if no file is found in PPAATTHH. If the ssoouurrcceeppaatthh option + to the sshhoopptt builtin command is turned off, the PPAATTHH is not + searched. If any _a_r_g_u_m_e_n_t_s are supplied, they become the posi- + tional parameters when _f_i_l_e_n_a_m_e is executed. Otherwise the + positional parameters are unchanged. If the --TT option is + enabled, ssoouurrccee inherits any trap on DDEEBBUUGG; if it is not, any + DDEEBBUUGG trap string is saved and restored around the call to + ssoouurrccee, and ssoouurrccee unsets the DDEEBBUUGG trap while it executes. If + --TT is not set, and the sourced file changes the DDEEBBUUGG trap, the + new value is retained when ssoouurrccee completes. The return status + is the status of the last command exited within the script (0 if + no commands are executed), and false if _f_i_l_e_n_a_m_e is not found or cannot be read. aalliiaass [--pp] [_n_a_m_e[=_v_a_l_u_e] ...] AAlliiaass with no arguments or with the --pp option prints the list of aliases in the form aalliiaass _n_a_m_e=_v_a_l_u_e on standard output. When arguments are supplied, an alias is defined for each _n_a_m_e whose - _v_a_l_u_e is given. A trailing space in _v_a_l_u_e causes the next word + _v_a_l_u_e is given. A trailing space in _v_a_l_u_e causes the next word to be checked for alias substitution when the alias is expanded. For each _n_a_m_e in the argument list for which no _v_a_l_u_e is sup- plied, the name and value of the alias is printed. AAlliiaass @@ -3936,7 +4099,7 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS bbiinndd [--mm _k_e_y_m_a_p] --ff _f_i_l_e_n_a_m_e bbiinndd [--mm _k_e_y_m_a_p] --xx _k_e_y_s_e_q:_s_h_e_l_l_-_c_o_m_m_a_n_d bbiinndd [--mm _k_e_y_m_a_p] _k_e_y_s_e_q:_f_u_n_c_t_i_o_n_-_n_a_m_e - bbiinndd _r_e_a_d_l_i_n_e_-_c_o_m_m_a_n_d + bbiinndd [--mm _k_e_y_m_a_p] _k_e_y_s_e_q:_r_e_a_d_l_i_n_e_-_c_o_m_m_a_n_d Display current rreeaaddlliinnee key and function bindings, bind a key sequence to a rreeaaddlliinnee function or macro, or set a rreeaaddlliinnee variable. Each non-option argument is a command as it would @@ -3947,18 +4110,19 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS Use _k_e_y_m_a_p as the keymap to be affected by the subsequent bindings. Acceptable _k_e_y_m_a_p names are _e_m_a_c_s_, _e_m_a_c_s_-_s_t_a_n_- _d_a_r_d_, _e_m_a_c_s_-_m_e_t_a_, _e_m_a_c_s_-_c_t_l_x_, _v_i_, _v_i_-_m_o_v_e_, _v_i_-_c_o_m_m_a_n_d, - and _v_i_-_i_n_s_e_r_t. _v_i is equivalent to _v_i_-_c_o_m_m_a_n_d; _e_m_a_c_s is - equivalent to _e_m_a_c_s_-_s_t_a_n_d_a_r_d. + and _v_i_-_i_n_s_e_r_t. _v_i is equivalent to _v_i_-_c_o_m_m_a_n_d (_v_i_-_m_o_v_e + is also a synonym); _e_m_a_c_s is equivalent to _e_m_a_c_s_-_s_t_a_n_- + _d_a_r_d. --ll List the names of all rreeaaddlliinnee functions. - --pp Display rreeaaddlliinnee function names and bindings in such a + --pp Display rreeaaddlliinnee function names and bindings in such a way that they can be re-read. --PP List current rreeaaddlliinnee function names and bindings. - --ss Display rreeaaddlliinnee key sequences bound to macros and the - strings they output in such a way that they can be re- + --ss Display rreeaaddlliinnee key sequences bound to macros and the + strings they output in such a way that they can be re- read. - --SS Display rreeaaddlliinnee key sequences bound to macros and the + --SS Display rreeaaddlliinnee key sequences bound to macros and the strings they output. - --vv Display rreeaaddlliinnee variable names and values in such a way + --vv Display rreeaaddlliinnee variable names and values in such a way that they can be re-read. --VV List current rreeaaddlliinnee variable names and values. --ff _f_i_l_e_n_a_m_e @@ -3970,110 +4134,110 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS --rr _k_e_y_s_e_q Remove any current binding for _k_e_y_s_e_q. --xx _k_e_y_s_e_q::_s_h_e_l_l_-_c_o_m_m_a_n_d - Cause _s_h_e_l_l_-_c_o_m_m_a_n_d to be executed whenever _k_e_y_s_e_q is - entered. When _s_h_e_l_l_-_c_o_m_m_a_n_d is executed, the shell sets - the RREEAADDLLIINNEE__LLIINNEE variable to the contents of the rreeaadd-- - lliinnee line buffer and the RREEAADDLLIINNEE__PPOOIINNTT variable to the + Cause _s_h_e_l_l_-_c_o_m_m_a_n_d to be executed whenever _k_e_y_s_e_q is + entered. When _s_h_e_l_l_-_c_o_m_m_a_n_d is executed, the shell sets + the RREEAADDLLIINNEE__LLIINNEE variable to the contents of the rreeaadd-- + lliinnee line buffer and the RREEAADDLLIINNEE__PPOOIINNTT variable to the current location of the insertion point. If the executed - command changes the value of RREEAADDLLIINNEE__LLIINNEE or RREEAADD-- - LLIINNEE__PPOOIINNTT, those new values will be reflected in the + command changes the value of RREEAADDLLIINNEE__LLIINNEE or RREEAADD-- + LLIINNEE__PPOOIINNTT, those new values will be reflected in the editing state. - --XX List all key sequences bound to shell commands and the - associated commands in a format that can be reused as + --XX List all key sequences bound to shell commands and the + associated commands in a format that can be reused as input. - The return value is 0 unless an unrecognized option is given or + The return value is 0 unless an unrecognized option is given or an error occurred. bbrreeaakk [_n] - Exit from within a ffoorr, wwhhiillee, uunnttiill, or sseelleecctt loop. If _n is - specified, break _n levels. _n must be >= 1. If _n is greater - than the number of enclosing loops, all enclosing loops are - exited. The return value is 0 unless _n is not greater than or + Exit from within a ffoorr, wwhhiillee, uunnttiill, or sseelleecctt loop. If _n is + specified, break _n levels. _n must be >= 1. If _n is greater + than the number of enclosing loops, all enclosing loops are + exited. The return value is 0 unless _n is not greater than or equal to 1. bbuuiillttiinn _s_h_e_l_l_-_b_u_i_l_t_i_n [_a_r_g_u_m_e_n_t_s] - Execute the specified shell builtin, passing it _a_r_g_u_m_e_n_t_s, and + Execute the specified shell builtin, passing it _a_r_g_u_m_e_n_t_s, and return its exit status. This is useful when defining a function - whose name is the same as a shell builtin, retaining the func- + whose name is the same as a shell builtin, retaining the func- tionality of the builtin within the function. The ccdd builtin is - commonly redefined this way. The return status is false if + commonly redefined this way. The return status is false if _s_h_e_l_l_-_b_u_i_l_t_i_n is not a shell builtin command. ccaalllleerr [_e_x_p_r] Returns the context of any active subroutine call (a shell func- tion or a script executed with the .. or ssoouurrccee builtins). With- out _e_x_p_r, ccaalllleerr displays the line number and source filename of - the current subroutine call. If a non-negative integer is sup- + the current subroutine call. If a non-negative integer is sup- plied as _e_x_p_r, ccaalllleerr displays the line number, subroutine name, - and source file corresponding to that position in the current - execution call stack. This extra information may be used, for - example, to print a stack trace. The current frame is frame 0. - The return value is 0 unless the shell is not executing a sub- - routine call or _e_x_p_r does not correspond to a valid position in + and source file corresponding to that position in the current + execution call stack. This extra information may be used, for + example, to print a stack trace. The current frame is frame 0. + The return value is 0 unless the shell is not executing a sub- + routine call or _e_x_p_r does not correspond to a valid position in the call stack. ccdd [--LL|[--PP [--ee]] [-@]] [_d_i_r] - Change the current directory to _d_i_r. if _d_i_r is not supplied, - the value of the HHOOMMEE shell variable is the default. Any addi- + Change the current directory to _d_i_r. if _d_i_r is not supplied, + the value of the HHOOMMEE shell variable is the default. Any addi- tional arguments following _d_i_r are ignored. The variable CCDDPPAATTHH - defines the search path for the directory containing _d_i_r: each - directory name in CCDDPPAATTHH is searched for _d_i_r. Alternative - directory names in CCDDPPAATTHH are separated by a colon (:). A null - directory name in CCDDPPAATTHH is the same as the current directory, + defines the search path for the directory containing _d_i_r: each + directory name in CCDDPPAATTHH is searched for _d_i_r. Alternative + directory names in CCDDPPAATTHH are separated by a colon (:). A null + directory name in CCDDPPAATTHH is the same as the current directory, i.e., ``..''. If _d_i_r begins with a slash (/), then CCDDPPAATTHH is not - used. The --PP option causes ccdd to use the physical directory - structure by resolving symbolic links while traversing _d_i_r and + used. The --PP option causes ccdd to use the physical directory + structure by resolving symbolic links while traversing _d_i_r and before processing instances of _._. in _d_i_r (see also the --PP option to the sseett builtin command); the --LL option forces symbolic links - to be followed by resolving the link after processing instances + to be followed by resolving the link after processing instances of _._. in _d_i_r. If _._. appears in _d_i_r, it is processed by removing - the immediately previous pathname component from _d_i_r, back to a - slash or the beginning of _d_i_r. If the --ee option is supplied - with --PP, and the current working directory cannot be success- - fully determined after a successful directory change, ccdd will - return an unsuccessful status. On systems that support it, the - --@@ option presents the extended attributes associated with a - file as a directory. An argument of -- is converted to $$OOLLDDPPWWDD + the immediately previous pathname component from _d_i_r, back to a + slash or the beginning of _d_i_r. If the --ee option is supplied + with --PP, and the current working directory cannot be success- + fully determined after a successful directory change, ccdd will + return an unsuccessful status. On systems that support it, the + --@@ option presents the extended attributes associated with a + file as a directory. An argument of -- is converted to $$OOLLDDPPWWDD before the directory change is attempted. If a non-empty direc- - tory name from CCDDPPAATTHH is used, or if -- is the first argument, + tory name from CCDDPPAATTHH is used, or if -- is the first argument, and the directory change is successful, the absolute pathname of - the new working directory is written to the standard output. - The return value is true if the directory was successfully + the new working directory is written to the standard output. + The return value is true if the directory was successfully changed; false otherwise. ccoommmmaanndd [--ppVVvv] _c_o_m_m_a_n_d [_a_r_g ...] - Run _c_o_m_m_a_n_d with _a_r_g_s suppressing the normal shell function - lookup. Only builtin commands or commands found in the PPAATTHH are - executed. If the --pp option is given, the search for _c_o_m_m_a_n_d is - performed using a default value for PPAATTHH that is guaranteed to - find all of the standard utilities. If either the --VV or --vv + Run _c_o_m_m_a_n_d with _a_r_g_s suppressing the normal shell function + lookup. Only builtin commands or commands found in the PPAATTHH are + executed. If the --pp option is given, the search for _c_o_m_m_a_n_d is + performed using a default value for PPAATTHH that is guaranteed to + find all of the standard utilities. If either the --VV or --vv option is supplied, a description of _c_o_m_m_a_n_d is printed. The --vv - option causes a single word indicating the command or filename + option causes a single word indicating the command or filename used to invoke _c_o_m_m_a_n_d to be displayed; the --VV option produces a - more verbose description. If the --VV or --vv option is supplied, - the exit status is 0 if _c_o_m_m_a_n_d was found, and 1 if not. If + more verbose description. If the --VV or --vv option is supplied, + the exit status is 0 if _c_o_m_m_a_n_d was found, and 1 if not. If neither option is supplied and an error occurred or _c_o_m_m_a_n_d can- - not be found, the exit status is 127. Otherwise, the exit sta- + not be found, the exit status is 127. Otherwise, the exit sta- tus of the ccoommmmaanndd builtin is the exit status of _c_o_m_m_a_n_d. ccoommppggeenn [_o_p_t_i_o_n] [_w_o_r_d] - Generate possible completion matches for _w_o_r_d according to the - _o_p_t_i_o_ns, which may be any option accepted by the ccoommpplleettee - builtin with the exception of --pp and --rr, and write the matches - to the standard output. When using the --FF or --CC options, the - various shell variables set by the programmable completion + Generate possible completion matches for _w_o_r_d according to the + _o_p_t_i_o_ns, which may be any option accepted by the ccoommpplleettee + builtin with the exception of --pp and --rr, and write the matches + to the standard output. When using the --FF or --CC options, the + various shell variables set by the programmable completion facilities, while available, will not have useful values. - The matches will be generated in the same way as if the pro- - grammable completion code had generated them directly from a - completion specification with the same flags. If _w_o_r_d is speci- - fied, only those completions matching _w_o_r_d will be displayed. + The matches will be generated in the same way as if the program- + mable completion code had generated them directly from a comple- + tion specification with the same flags. If _w_o_r_d is specified, + only those completions matching _w_o_r_d will be displayed. - The return value is true unless an invalid option is supplied, + The return value is true unless an invalid option is supplied, or no matches were generated. - ccoommpplleettee [--aabbccddeeffggjjkkssuuvv] [--oo _c_o_m_p_-_o_p_t_i_o_n] [--DDEE] [--AA _a_c_t_i_o_n] [--GG _g_l_o_b_- + ccoommpplleettee [--aabbccddeeffggjjkkssuuvv] [--oo _c_o_m_p_-_o_p_t_i_o_n] [--DDEE] [--AA _a_c_t_i_o_n] [--GG _g_l_o_b_- _p_a_t] [--WW _w_o_r_d_l_i_s_t] [--FF _f_u_n_c_t_i_o_n] [--CC _c_o_m_m_a_n_d] [--XX _f_i_l_t_e_r_p_a_t] [--PP _p_r_e_f_i_x] [--SS _s_u_f_f_i_x] _n_a_m_e [_n_a_m_e _._._.] ccoommpplleettee --pprr [--DDEE] [_n_a_m_e ...] @@ -4091,8 +4255,8 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS attempted on a blank line. The process of applying these completion specifications when - word completion is attempted is described above under PPrroo-- - ggrraammmmaabbllee CCoommpplleettiioonn. + word completion is attempted is described above under PPrrooggrraamm-- + mmaabbllee CCoommpplleettiioonn. Other options, if specified, have the following meanings. The arguments to the --GG, --WW, and --XX options (and, if necessary, the @@ -4120,22 +4284,24 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS nnooqquuoottee Tell readline not to quote the completed words if they are filenames (quoting filenames is the default). - nnoossppaaccee Tell readline not to append a space (the - default) to words completed at the end of the + nnoossoorrtt Tell readline not to sort the list of possible + completions alphabetically. + nnoossppaaccee Tell readline not to append a space (the + default) to words completed at the end of the line. pplluussddiirrss - After any matches defined by the compspec are - generated, directory name completion is - attempted and any matches are added to the + After any matches defined by the compspec are + generated, directory name completion is + attempted and any matches are added to the results of the other actions. --AA _a_c_t_i_o_n - The _a_c_t_i_o_n may be one of the following to generate a + The _a_c_t_i_o_n may be one of the following to generate a list of possible completions: aalliiaass Alias names. May also be specified as --aa. aarrrraayyvvaarr Array variable names. bbiinnddiinngg RReeaaddlliinnee key binding names. - bbuuiillttiinn Names of shell builtin commands. May also be + bbuuiillttiinn Names of shell builtin commands. May also be specified as --bb. ccoommmmaanndd Command names. May also be specified as --cc. ddiirreeccttoorryy @@ -4143,7 +4309,7 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS ddiissaabblleedd Names of disabled shell builtins. eennaabblleedd Names of enabled shell builtins. - eexxppoorrtt Names of exported shell variables. May also be + eexxppoorrtt Names of exported shell variables. May also be specified as --ee. ffiillee File names. May also be specified as --ff. ffuunnccttiioonn @@ -4152,11 +4318,11 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS hheellppttooppiicc Help topics as accepted by the hheellpp builtin. hhoossttnnaammee - Hostnames, as taken from the file specified by + Hostnames, as taken from the file specified by the HHOOSSTTFFIILLEE shell variable. - jjoobb Job names, if job control is active. May also + jjoobb Job names, if job control is active. May also be specified as --jj. - kkeeyywwoorrdd Shell reserved words. May also be specified as + kkeeyywwoorrdd Shell reserved words. May also be specified as --kk. rruunnnniinngg Names of running jobs, if job control is active. sseerrvviiccee Service names. May also be specified as --ss. @@ -4171,40 +4337,40 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS Names of all shell variables. May also be spec- ified as --vv. --CC _c_o_m_m_a_n_d - _c_o_m_m_a_n_d is executed in a subshell environment, and its + _c_o_m_m_a_n_d is executed in a subshell environment, and its output is used as the possible completions. --FF _f_u_n_c_t_i_o_n - The shell function _f_u_n_c_t_i_o_n is executed in the current - shell environment. When the function is executed, the - first argument ($$11) is the name of the command whose - arguments are being completed, the second argument ($$22) + The shell function _f_u_n_c_t_i_o_n is executed in the current + shell environment. When the function is executed, the + first argument ($$11) is the name of the command whose + arguments are being completed, the second argument ($$22) is the word being completed, and the third argument ($$33) - is the word preceding the word being completed on the - current command line. When it finishes, the possible - completions are retrieved from the value of the CCOOMMPPRREE-- + is the word preceding the word being completed on the + current command line. When it finishes, the possible + completions are retrieved from the value of the CCOOMMPPRREE-- PPLLYY array variable. --GG _g_l_o_b_p_a_t - The pathname expansion pattern _g_l_o_b_p_a_t is expanded to + The pathname expansion pattern _g_l_o_b_p_a_t is expanded to generate the possible completions. --PP _p_r_e_f_i_x - _p_r_e_f_i_x is added at the beginning of each possible com- + _p_r_e_f_i_x is added at the beginning of each possible com- pletion after all other options have been applied. --SS _s_u_f_f_i_x _s_u_f_f_i_x is appended to each possible completion after all other options have been applied. --WW _w_o_r_d_l_i_s_t - The _w_o_r_d_l_i_s_t is split using the characters in the IIFFSS - special variable as delimiters, and each resultant word - is expanded. The possible completions are the members - of the resultant list which match the word being com- + The _w_o_r_d_l_i_s_t is split using the characters in the IIFFSS + special variable as delimiters, and each resultant word + is expanded. The possible completions are the members + of the resultant list which match the word being com- pleted. --XX _f_i_l_t_e_r_p_a_t - _f_i_l_t_e_r_p_a_t is a pattern as used for pathname expansion. + _f_i_l_t_e_r_p_a_t is a pattern as used for pathname expansion. It is applied to the list of possible completions gener- - ated by the preceding options and arguments, and each - completion matching _f_i_l_t_e_r_p_a_t is removed from the list. - A leading !! in _f_i_l_t_e_r_p_a_t negates the pattern; in this - case, any completion not matching _f_i_l_t_e_r_p_a_t is removed. + ated by the preceding options and arguments, and each + completion matching _f_i_l_t_e_r_p_a_t is removed from the list. + A leading !! in _f_i_l_t_e_r_p_a_t negates the pattern; in this + case, any completion not matching _f_i_l_t_e_r_p_a_t is removed. The return value is true unless an invalid option is supplied, an option other than --pp or --rr is supplied without a _n_a_m_e argu- @@ -4252,12 +4418,12 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS inhibits the display of function definitions; only the function name and attributes are printed. If the eexxttddeebbuugg shell option is enabled using sshhoopptt, the source file name and line number - where the function is defined are displayed as well. The --FF - option implies --ff. The --gg option forces variables to be created - or modified at the global scope, even when ddeeccllaarree is executed - in a shell function. It is ignored in all other cases. The - following options can be used to restrict output to variables - with the specified attribute or to give variables attributes: + where each _n_a_m_e is defined are displayed as well. The --FF option + implies --ff. The --gg option forces variables to be created or + modified at the global scope, even when ddeeccllaarree is executed in a + shell function. It is ignored in all other cases. The follow- + ing options can be used to restrict output to variables with the + specified attribute or to give variables attributes: --aa Each _n_a_m_e is an indexed array variable (see AArrrraayyss above). --AA Each _n_a_m_e is an associative array variable (see AArrrraayyss @@ -4271,11 +4437,11 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS attribute is disabled. --nn Give each _n_a_m_e the _n_a_m_e_r_e_f attribute, making it a name reference to another variable. That other variable is - defined by the value of _n_a_m_e. All references and assign- - ments to _n_a_m_e, except for changing the --nn attribute - itself, are performed on the variable referenced by - _n_a_m_e's value. The --nn attribute cannot be applied to - array variables. + defined by the value of _n_a_m_e. All references, assign- + ments, and attribute modifications to _n_a_m_e, except those + using or changing the --nn attribute itself, are performed + on the variable referenced by _n_a_m_e's value. The nameref + attribute cannot be applied to array variables. --rr Make _n_a_m_es readonly. These names cannot then be assigned values by subsequent assignment statements or unset. --tt Give each _n_a_m_e the _t_r_a_c_e attribute. Traced functions @@ -4312,10 +4478,11 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS directories. The default display is on a single line with directory names separated by spaces. Directories are added to the list with the ppuusshhdd command; the ppooppdd command removes - entries from the list. + entries from the list. The current directory is always the + first directory in the stack. --cc Clears the directory stack by deleting all of the entries. - --ll Produces a listing using full pathnames; the default + --ll Produces a listing using full pathnames; the default listing format uses a tilde to denote the home directory. --pp Print the directory stack with one entry per line. --vv Print the directory stack with one entry per line, pre- @@ -4330,7 +4497,7 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS The return value is 0 unless an invalid option is supplied or _n indexes beyond the end of the directory stack. - ddiissoowwnn [--aarr] [--hh] [_j_o_b_s_p_e_c ...] + ddiissoowwnn [--aarr] [--hh] [_j_o_b_s_p_e_c ... | _p_i_d ... ] Without options, remove each _j_o_b_s_p_e_c from the table of active jobs. If _j_o_b_s_p_e_c is not present, and neither the --aa nor the --rr option is supplied, the _c_u_r_r_e_n_t _j_o_b is used. If the --hh option @@ -4414,101 +4581,101 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS returns failure. An interactive shell returns failure if the file cannot be executed. If _c_o_m_m_a_n_d is not specified, any redi- rections take effect in the current shell, and the return status - is 0. If there is a redirection error, the return status is 1. + is 0. If there is a redirection error, the return status is 1. eexxiitt [_n] - Cause the shell to exit with a status of _n. If _n is omitted, + Cause the shell to exit with a status of _n. If _n is omitted, the exit status is that of the last command executed. A trap on EEXXIITT is executed before the shell terminates. eexxppoorrtt [--ffnn] [_n_a_m_e[=_w_o_r_d]] ... eexxppoorrtt --pp - The supplied _n_a_m_e_s are marked for automatic export to the envi- - ronment of subsequently executed commands. If the --ff option is - given, the _n_a_m_e_s refer to functions. If no _n_a_m_e_s are given, or - if the --pp option is supplied, a list of names of all exported - variables is printed. The --nn option causes the export property + The supplied _n_a_m_e_s are marked for automatic export to the envi- + ronment of subsequently executed commands. If the --ff option is + given, the _n_a_m_e_s refer to functions. If no _n_a_m_e_s are given, or + if the --pp option is supplied, a list of names of all exported + variables is printed. The --nn option causes the export property to be removed from each _n_a_m_e. If a variable name is followed by =_w_o_r_d, the value of the variable is set to _w_o_r_d. eexxppoorrtt returns an exit status of 0 unless an invalid option is encountered, one - of the _n_a_m_e_s is not a valid shell variable name, or --ff is sup- + of the _n_a_m_e_s is not a valid shell variable name, or --ff is sup- plied with a _n_a_m_e that is not a function. ffcc [--ee _e_n_a_m_e] [--llnnrr] [_f_i_r_s_t] [_l_a_s_t] ffcc --ss [_p_a_t=_r_e_p] [_c_m_d] - The first form selects a range of commands from _f_i_r_s_t to _l_a_s_t - from the history list and displays or edits and re-executes - them. _F_i_r_s_t and _l_a_s_t may be specified as a string (to locate - the last command beginning with that string) or as a number (an - index into the history list, where a negative number is used as - an offset from the current command number). If _l_a_s_t is not - specified it is set to the current command for listing (so that - ``fc -l -10'' prints the last 10 commands) and to _f_i_r_s_t other- - wise. If _f_i_r_s_t is not specified it is set to the previous com- + The first form selects a range of commands from _f_i_r_s_t to _l_a_s_t + from the history list and displays or edits and re-executes + them. _F_i_r_s_t and _l_a_s_t may be specified as a string (to locate + the last command beginning with that string) or as a number (an + index into the history list, where a negative number is used as + an offset from the current command number). If _l_a_s_t is not + specified it is set to the current command for listing (so that + ``fc -l -10'' prints the last 10 commands) and to _f_i_r_s_t other- + wise. If _f_i_r_s_t is not specified it is set to the previous com- mand for editing and -16 for listing. - The --nn option suppresses the command numbers when listing. The - --rr option reverses the order of the commands. If the --ll option - is given, the commands are listed on standard output. Other- - wise, the editor given by _e_n_a_m_e is invoked on a file containing - those commands. If _e_n_a_m_e is not given, the value of the FFCCEEDDIITT - variable is used, and the value of EEDDIITTOORR if FFCCEEDDIITT is not set. - If neither variable is set, _v_i is used. When editing is com- + The --nn option suppresses the command numbers when listing. The + --rr option reverses the order of the commands. If the --ll option + is given, the commands are listed on standard output. Other- + wise, the editor given by _e_n_a_m_e is invoked on a file containing + those commands. If _e_n_a_m_e is not given, the value of the FFCCEEDDIITT + variable is used, and the value of EEDDIITTOORR if FFCCEEDDIITT is not set. + If neither variable is set, _v_i is used. When editing is com- plete, the edited commands are echoed and executed. - In the second form, _c_o_m_m_a_n_d is re-executed after each instance - of _p_a_t is replaced by _r_e_p. _C_o_m_m_a_n_d is intepreted the same as - _f_i_r_s_t above. A useful alias to use with this is ``r="fc -s"'', - so that typing ``r cc'' runs the last command beginning with + In the second form, _c_o_m_m_a_n_d is re-executed after each instance + of _p_a_t is replaced by _r_e_p. _C_o_m_m_a_n_d is intepreted the same as + _f_i_r_s_t above. A useful alias to use with this is ``r="fc -s"'', + so that typing ``r cc'' runs the last command beginning with ``cc'' and typing ``r'' re-executes the last command. - If the first form is used, the return value is 0 unless an - invalid option is encountered or _f_i_r_s_t or _l_a_s_t specify history - lines out of range. If the --ee option is supplied, the return + If the first form is used, the return value is 0 unless an + invalid option is encountered or _f_i_r_s_t or _l_a_s_t specify history + lines out of range. If the --ee option is supplied, the return value is the value of the last command executed or failure if an error occurs with the temporary file of commands. If the second - form is used, the return status is that of the command re-exe- - cuted, unless _c_m_d does not specify a valid history line, in + form is used, the return status is that of the command re-exe- + cuted, unless _c_m_d does not specify a valid history line, in which case ffcc returns failure. ffgg [_j_o_b_s_p_e_c] - Resume _j_o_b_s_p_e_c in the foreground, and make it the current job. + Resume _j_o_b_s_p_e_c in the foreground, and make it the current job. If _j_o_b_s_p_e_c is not present, the shell's notion of the _c_u_r_r_e_n_t _j_o_b - is used. The return value is that of the command placed into - the foreground, or failure if run when job control is disabled + is used. The return value is that of the command placed into + the foreground, or failure if run when job control is disabled or, when run with job control enabled, if _j_o_b_s_p_e_c does not spec- - ify a valid job or _j_o_b_s_p_e_c specifies a job that was started + ify a valid job or _j_o_b_s_p_e_c specifies a job that was started without job control. ggeettooppttss _o_p_t_s_t_r_i_n_g _n_a_m_e [_a_r_g_s] - ggeettooppttss is used by shell procedures to parse positional parame- - ters. _o_p_t_s_t_r_i_n_g contains the option characters to be recog- - nized; if a character is followed by a colon, the option is - expected to have an argument, which should be separated from it - by white space. The colon and question mark characters may not - be used as option characters. Each time it is invoked, ggeettooppttss - places the next option in the shell variable _n_a_m_e, initializing + ggeettooppttss is used by shell procedures to parse positional parame- + ters. _o_p_t_s_t_r_i_n_g contains the option characters to be recog- + nized; if a character is followed by a colon, the option is + expected to have an argument, which should be separated from it + by white space. The colon and question mark characters may not + be used as option characters. Each time it is invoked, ggeettooppttss + places the next option in the shell variable _n_a_m_e, initializing _n_a_m_e if it does not exist, and the index of the next argument to be processed into the variable OOPPTTIINNDD. OOPPTTIINNDD is initialized to - 1 each time the shell or a shell script is invoked. When an - option requires an argument, ggeettooppttss places that argument into - the variable OOPPTTAARRGG. The shell does not reset OOPPTTIINNDD automati- - cally; it must be manually reset between multiple calls to + 1 each time the shell or a shell script is invoked. When an + option requires an argument, ggeettooppttss places that argument into + the variable OOPPTTAARRGG. The shell does not reset OOPPTTIINNDD automati- + cally; it must be manually reset between multiple calls to ggeettooppttss within the same shell invocation if a new set of parame- ters is to be used. - When the end of options is encountered, ggeettooppttss exits with a - return value greater than zero. OOPPTTIINNDD is set to the index of + When the end of options is encountered, ggeettooppttss exits with a + return value greater than zero. OOPPTTIINNDD is set to the index of the first non-option argument, and _n_a_m_e is set to ?. - ggeettooppttss normally parses the positional parameters, but if more + ggeettooppttss normally parses the positional parameters, but if more arguments are given in _a_r_g_s, ggeettooppttss parses those instead. - ggeettooppttss can report errors in two ways. If the first character - of _o_p_t_s_t_r_i_n_g is a colon, _s_i_l_e_n_t error reporting is used. In - normal operation, diagnostic messages are printed when invalid - options or missing option arguments are encountered. If the - variable OOPPTTEERRRR is set to 0, no error messages will be dis- + ggeettooppttss can report errors in two ways. If the first character + of _o_p_t_s_t_r_i_n_g is a colon, _s_i_l_e_n_t error reporting is used. In + normal operation, diagnostic messages are printed when invalid + options or missing option arguments are encountered. If the + variable OOPPTTEERRRR is set to 0, no error messages will be dis- played, even if the first character of _o_p_t_s_t_r_i_n_g is not a colon. If an invalid option is seen, ggeettooppttss places ? into _n_a_m_e and, if @@ -4574,33 +4741,34 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS --cc Clear the history list by deleting all the entries. --dd _o_f_f_s_e_t Delete the history entry at position _o_f_f_s_e_t. - --aa Append the ``new'' history lines (history lines entered - since the beginning of the current bbaasshh session) to the + --aa Append the ``new'' history lines to the history file. + These are history lines entered since the beginning of + the current bbaasshh session, but not already appended to the history file. - --nn Read the history lines not already read from the history - file into the current history list. These are lines - appended to the history file since the beginning of the + --nn Read the history lines not already read from the history + file into the current history list. These are lines + appended to the history file since the beginning of the current bbaasshh session. - --rr Read the contents of the history file and append them to + --rr Read the contents of the history file and append them to the current history list. --ww Write the current history list to the history file, over- writing the history file's contents. - --pp Perform history substitution on the following _a_r_g_s and - display the result on the standard output. Does not - store the results in the history list. Each _a_r_g must be + --pp Perform history substitution on the following _a_r_g_s and + display the result on the standard output. Does not + store the results in the history list. Each _a_r_g must be quoted to disable normal history expansion. - --ss Store the _a_r_g_s in the history list as a single entry. - The last command in the history list is removed before + --ss Store the _a_r_g_s in the history list as a single entry. + The last command in the history list is removed before the _a_r_g_s are added. - If the HHIISSTTTTIIMMEEFFOORRMMAATT variable is set, the time stamp informa- - tion associated with each history entry is written to the his- - tory file, marked with the history comment character. When the - history file is read, lines beginning with the history comment - character followed immediately by a digit are interpreted as - timestamps for the previous history line. The return value is 0 - unless an invalid option is encountered, an error occurs while - reading or writing the history file, an invalid _o_f_f_s_e_t is sup- + If the HHIISSTTTTIIMMEEFFOORRMMAATT variable is set, the time stamp informa- + tion associated with each history entry is written to the his- + tory file, marked with the history comment character. When the + history file is read, lines beginning with the history comment + character followed immediately by a digit are interpreted as + timestamps for the following history entry. The return value is + 0 unless an invalid option is encountered, an error occurs while + reading or writing the history file, an invalid _o_f_f_s_e_t is sup- plied as an argument to --dd, or the history expansion supplied as an argument to --pp fails. @@ -4609,8 +4777,8 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS The first form lists the active jobs. The options have the fol- lowing meanings: --ll List process IDs in addition to the normal information. - --nn Display information only about jobs that have changed - status since the user was last notified of their status. + --nn Display information only about jobs that have changed + status since the user was last notified of their status. --pp List only the process ID of the job's process group leader. --rr Display only running jobs. @@ -4625,7 +4793,7 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS executes _c_o_m_m_a_n_d passing it _a_r_g_s, returning its exit status. kkiillll [--ss _s_i_g_s_p_e_c | --nn _s_i_g_n_u_m | --_s_i_g_s_p_e_c] [_p_i_d | _j_o_b_s_p_e_c] ... - kkiillll --ll [_s_i_g_s_p_e_c | _e_x_i_t___s_t_a_t_u_s] + kkiillll --ll|--LL [_s_i_g_s_p_e_c | _e_x_i_t___s_t_a_t_u_s] Send the signal named by _s_i_g_s_p_e_c or _s_i_g_n_u_m to the processes named by _p_i_d or _j_o_b_s_p_e_c. _s_i_g_s_p_e_c is either a case-insensitive signal name such as SSIIGGKKIILLLL (with or without the SSIIGG prefix) or @@ -4635,72 +4803,80 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS the names of the signals corresponding to the arguments are listed, and the return status is 0. The _e_x_i_t___s_t_a_t_u_s argument to --ll is a number specifying either a signal number or the exit - status of a process terminated by a signal. kkiillll returns true - if at least one signal was successfully sent, or false if an - error occurs or an invalid option is encountered. + status of a process terminated by a signal. The --LL option is + equivalent to --ll. kkiillll returns true if at least one signal was + successfully sent, or false if an error occurs or an invalid + option is encountered. lleett _a_r_g [_a_r_g ...] Each _a_r_g is an arithmetic expression to be evaluated (see AARRIITTHH-- - MMEETTIICC EEVVAALLUUAATTIIOONN above). If the last _a_r_g evaluates to 0, lleett + MMEETTIICC EEVVAALLUUAATTIIOONN above). If the last _a_r_g evaluates to 0, lleett returns 1; 0 is returned otherwise. - llooccaall [_o_p_t_i_o_n] [_n_a_m_e[=_v_a_l_u_e] ...] - For each argument, a local variable named _n_a_m_e is created, and - assigned _v_a_l_u_e. The _o_p_t_i_o_n can be any of the options accepted + llooccaall [_o_p_t_i_o_n] [_n_a_m_e[=_v_a_l_u_e] ... | - ] + For each argument, a local variable named _n_a_m_e is created, and + assigned _v_a_l_u_e. The _o_p_t_i_o_n can be any of the options accepted by ddeeccllaarree. When llooccaall is used within a function, it causes the - variable _n_a_m_e to have a visible scope restricted to that func- - tion and its children. With no operands, llooccaall writes a list of - local variables to the standard output. It is an error to use - llooccaall when not within a function. The return status is 0 unless - llooccaall is used outside a function, an invalid _n_a_m_e is supplied, - or _n_a_m_e is a readonly variable. + variable _n_a_m_e to have a visible scope restricted to that func- + tion and its children. If _n_a_m_e is -, the set of shell options + is made local to the function in which llooccaall is invoked: shell + options changed using the sseett builtin inside the function are + restored to their original values when the function returns. + With no operands, llooccaall writes a list of local variables to the + standard output. It is an error to use llooccaall when not within a + function. The return status is 0 unless llooccaall is used outside a + function, an invalid _n_a_m_e is supplied, or _n_a_m_e is a readonly + variable. llooggoouutt Exit a login shell. - mmaappffiillee [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC _c_a_l_l_b_a_c_k] - [--cc _q_u_a_n_t_u_m] [_a_r_r_a_y] - rreeaaddaarrrraayy [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC _c_a_l_l_b_a_c_k] - [--cc _q_u_a_n_t_u_m] [_a_r_r_a_y] - Read lines from the standard input into the indexed array vari- - able _a_r_r_a_y, or from file descriptor _f_d if the --uu option is sup- - plied. The variable MMAAPPFFIILLEE is the default _a_r_r_a_y. Options, if + mmaappffiillee [--dd _d_e_l_i_m] [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC + _c_a_l_l_b_a_c_k] [--cc _q_u_a_n_t_u_m] [_a_r_r_a_y] + rreeaaddaarrrraayy [--dd _d_e_l_i_m] [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC + _c_a_l_l_b_a_c_k] [--cc _q_u_a_n_t_u_m] [_a_r_r_a_y] + Read lines from the standard input into the indexed array vari- + able _a_r_r_a_y, or from file descriptor _f_d if the --uu option is sup- + plied. The variable MMAAPPFFIILLEE is the default _a_r_r_a_y. Options, if supplied, have the following meanings: + --dd The first character of _d_e_l_i_m is used to terminate each + input line, rather than newline. --nn Copy at most _c_o_u_n_t lines. If _c_o_u_n_t is 0, all lines are copied. --OO Begin assigning to _a_r_r_a_y at index _o_r_i_g_i_n. The default index is 0. --ss Discard the first _c_o_u_n_t lines read. - --tt Remove a trailing newline from each line read. - --uu Read lines from file descriptor _f_d instead of the stan- + --tt Remove a trailing _d_e_l_i_m (default newline) from each line + read. + --uu Read lines from file descriptor _f_d instead of the stan- dard input. - --CC Evaluate _c_a_l_l_b_a_c_k each time _q_u_a_n_t_u_m lines are read. The + --CC Evaluate _c_a_l_l_b_a_c_k each time _q_u_a_n_t_u_m lines are read. The --cc option specifies _q_u_a_n_t_u_m. - --cc Specify the number of lines read between each call to + --cc Specify the number of lines read between each call to _c_a_l_l_b_a_c_k. - If --CC is specified without --cc, the default quantum is 5000. + If --CC is specified without --cc, the default quantum is 5000. When _c_a_l_l_b_a_c_k is evaluated, it is supplied the index of the next array element to be assigned and the line to be assigned to that - element as additional arguments. _c_a_l_l_b_a_c_k is evaluated after + element as additional arguments. _c_a_l_l_b_a_c_k is evaluated after the line is read but before the array element is assigned. - If not supplied with an explicit origin, mmaappffiillee will clear + If not supplied with an explicit origin, mmaappffiillee will clear _a_r_r_a_y before assigning to it. - mmaappffiillee returns successfully unless an invalid option or option - argument is supplied, _a_r_r_a_y is invalid or unassignable, or if + mmaappffiillee returns successfully unless an invalid option or option + argument is supplied, _a_r_r_a_y is invalid or unassignable, or if _a_r_r_a_y is not an indexed array. ppooppdd [-nn] [+_n] [-_n] - Removes entries from the directory stack. With no arguments, - removes the top directory from the stack, and performs a ccdd to + Removes entries from the directory stack. With no arguments, + removes the top directory from the stack, and performs a ccdd to the new top directory. Arguments, if supplied, have the follow- ing meanings: - --nn Suppresses the normal change of directory when removing - directories from the stack, so that only the stack is + --nn Suppresses the normal change of directory when removing + directories from the stack, so that only the stack is manipulated. - ++_n Removes the _nth entry counting from the left of the list - shown by ddiirrss, starting with zero. For example: ``popd + ++_n Removes the _nth entry counting from the left of the list + shown by ddiirrss, starting with zero. For example: ``popd +0'' removes the first directory, ``popd +1'' the second. --_n Removes the _nth entry counting from the right of the list shown by ddiirrss, starting with zero. For example: ``popd @@ -4727,83 +4903,83 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS addition to the standard _p_r_i_n_t_f(1) format specifications, pprriinnttff interprets the following extensions: %%bb causes pprriinnttff to expand backslash escape sequences in the - corresponding _a_r_g_u_m_e_n_t (except that \\cc terminates output, - backslashes in \\'', \\"", and \\?? are not removed, and octal - escapes beginning with \\00 may contain up to four digits). - %%qq causes pprriinnttff to output the corresponding _a_r_g_u_m_e_n_t in a + corresponding _a_r_g_u_m_e_n_t in the same way as eecchhoo --ee. + %%qq causes pprriinnttff to output the corresponding _a_r_g_u_m_e_n_t in a format that can be reused as shell input. %%((_d_a_t_e_f_m_t))TT - causes pprriinnttff to output the date-time string resulting - from using _d_a_t_e_f_m_t as a format string for _s_t_r_f_t_i_m_e(3). + causes pprriinnttff to output the date-time string resulting + from using _d_a_t_e_f_m_t as a format string for _s_t_r_f_t_i_m_e(3). The corresponding _a_r_g_u_m_e_n_t is an integer representing the - number of seconds since the epoch. Two special argument - values may be used: -1 represents the current time, and - -2 represents the time the shell was invoked. If no - argument is specified, conversion behaves as if -1 had - been given. This is an exception to the usual pprriinnttff + number of seconds since the epoch. Two special argument + values may be used: -1 represents the current time, and + -2 represents the time the shell was invoked. If no + argument is specified, conversion behaves as if -1 had + been given. This is an exception to the usual pprriinnttff behavior. - Arguments to non-string format specifiers are treated as C con- + Arguments to non-string format specifiers are treated as C con- stants, except that a leading plus or minus sign is allowed, and - if the leading character is a single or double quote, the value + if the leading character is a single or double quote, the value is the ASCII value of the following character. - The _f_o_r_m_a_t is reused as necessary to consume all of the _a_r_g_u_- + The _f_o_r_m_a_t is reused as necessary to consume all of the _a_r_g_u_- _m_e_n_t_s. If the _f_o_r_m_a_t requires more _a_r_g_u_m_e_n_t_s than are supplied, - the extra format specifications behave as if a zero value or - null string, as appropriate, had been supplied. The return + the extra format specifications behave as if a zero value or + null string, as appropriate, had been supplied. The return value is zero on success, non-zero on failure. ppuusshhdd [--nn] [+_n] [-_n] ppuusshhdd [--nn] [_d_i_r] - Adds a directory to the top of the directory stack, or rotates - the stack, making the new top of the stack the current working - directory. With no arguments, exchanges the top two directories - and returns 0, unless the directory stack is empty. Arguments, - if supplied, have the following meanings: - --nn Suppresses the normal change of directory when adding - directories to the stack, so that only the stack is - manipulated. - ++_n Rotates the stack so that the _nth directory (counting - from the left of the list shown by ddiirrss, starting with + Adds a directory to the top of the directory stack, or rotates + the stack, making the new top of the stack the current working + directory. With no arguments, ppuusshhdd exchanges the top two + directories and returns 0, unless the directory stack is empty. + Arguments, if supplied, have the following meanings: + --nn Suppresses the normal change of directory when rotating + or adding directories to the stack, so that only the + stack is manipulated. + ++_n Rotates the stack so that the _nth directory (counting + from the left of the list shown by ddiirrss, starting with zero) is at the top. - --_n Rotates the stack so that the _nth directory (counting - from the right of the list shown by ddiirrss, starting with + --_n Rotates the stack so that the _nth directory (counting + from the right of the list shown by ddiirrss, starting with zero) is at the top. _d_i_r Adds _d_i_r to the directory stack at the top, making it the - new current working directory as if it had been supplied + new current working directory as if it had been supplied as the argument to the ccdd builtin. If the ppuusshhdd command is successful, a ddiirrss is performed as well. - If the first form is used, ppuusshhdd returns 0 unless the cd to _d_i_r - fails. With the second form, ppuusshhdd returns 0 unless the direc- - tory stack is empty, a non-existent directory stack element is - specified, or the directory change to the specified new current + If the first form is used, ppuusshhdd returns 0 unless the cd to _d_i_r + fails. With the second form, ppuusshhdd returns 0 unless the direc- + tory stack is empty, a non-existent directory stack element is + specified, or the directory change to the specified new current directory fails. ppwwdd [--LLPP] - Print the absolute pathname of the current working directory. + Print the absolute pathname of the current working directory. The pathname printed contains no symbolic links if the --PP option is supplied or the --oo pphhyyssiiccaall option to the sseett builtin command - is enabled. If the --LL option is used, the pathname printed may - contain symbolic links. The return status is 0 unless an error - occurs while reading the name of the current directory or an + is enabled. If the --LL option is used, the pathname printed may + contain symbolic links. The return status is 0 unless an error + occurs while reading the name of the current directory or an invalid option is supplied. rreeaadd [--eerrss] [--aa _a_n_a_m_e] [--dd _d_e_l_i_m] [--ii _t_e_x_t] [--nn _n_c_h_a_r_s] [--NN _n_c_h_a_r_s] [--pp _p_r_o_m_p_t] [--tt _t_i_m_e_o_u_t] [--uu _f_d] [_n_a_m_e ...] One line is read from the standard input, or from the file - descriptor _f_d supplied as an argument to the --uu option, and the + descriptor _f_d supplied as an argument to the --uu option, split + into words as described above under WWoorrdd SSpplliittttiinngg, and the first word is assigned to the first _n_a_m_e, the second word to the - second _n_a_m_e, and so on, with leftover words and their interven- - ing separators assigned to the last _n_a_m_e. If there are fewer - words read from the input stream than names, the remaining names - are assigned empty values. The characters in IIFFSS are used to - split the line into words using the same rules the shell uses - for expansion (described above under WWoorrdd SSpplliittttiinngg). The back- - slash character (\\) may be used to remove any special meaning - for the next character read and for line continuation. Options, - if supplied, have the following meanings: + second _n_a_m_e, and so on. If there are more words than names, the + remaining words and their intervening delimiters are assigned to + the last _n_a_m_e. If there are fewer words read from the input + stream than names, the remaining names are assigned empty val- + ues. The characters in IIFFSS are used to split the line into + words using the same rules the shell uses for expansion + (described above under WWoorrdd SSpplliittttiinngg). The backslash character + (\\) may be used to remove any special meaning for the next char- + acter read and for line continuation. Options, if supplied, + have the following meanings: --aa _a_n_a_m_e The words are assigned to sequential indices of the array variable _a_n_a_m_e, starting at 0. _a_n_a_m_e is unset before any @@ -4821,7 +4997,7 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS placed into the editing buffer before editing begins. --nn _n_c_h_a_r_s rreeaadd returns after reading _n_c_h_a_r_s characters rather than - waiting for a complete line of input, but honor a delim- + waiting for a complete line of input, but honors a delim- iter if fewer than _n_c_h_a_r_s characters are read before the delimiter. --NN _n_c_h_a_r_s @@ -4830,61 +5006,69 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS EOF is encountered or rreeaadd times out. Delimiter charac- ters encountered in the input are not treated specially and do not cause rreeaadd to return until _n_c_h_a_r_s characters - are read. + are read. The result is not split on the characters in + IIFFSS; the intent is that the variable is assigned exactly + the characters read (with the exception of backslash; see + the --rr option below). --pp _p_r_o_m_p_t Display _p_r_o_m_p_t on standard error, without a trailing new- line, before attempting to read any input. The prompt is displayed only if input is coming from a terminal. --rr Backslash does not act as an escape character. The back- - slash is considered to be part of the line. In particu- - lar, a backslash-newline pair may not be used as a line + slash is considered to be part of the line. In particu- + lar, a backslash-newline pair may not be used as a line continuation. --ss Silent mode. If input is coming from a terminal, charac- ters are not echoed. --tt _t_i_m_e_o_u_t - Cause rreeaadd to time out and return failure if a complete - line of input (or a specified number of characters) is - not read within _t_i_m_e_o_u_t seconds. _t_i_m_e_o_u_t may be a deci- - mal number with a fractional portion following the deci- - mal point. This option is only effective if rreeaadd is - reading input from a terminal, pipe, or other special - file; it has no effect when reading from regular files. + Cause rreeaadd to time out and return failure if a complete + line of input (or a specified number of characters) is + not read within _t_i_m_e_o_u_t seconds. _t_i_m_e_o_u_t may be a deci- + mal number with a fractional portion following the deci- + mal point. This option is only effective if rreeaadd is + reading input from a terminal, pipe, or other special + file; it has no effect when reading from regular files. If rreeaadd times out, rreeaadd saves any partial input read into - the specified variable _n_a_m_e. If _t_i_m_e_o_u_t is 0, rreeaadd - returns immediately, without trying to read any data. - The exit status is 0 if input is available on the speci- - fied file descriptor, non-zero otherwise. The exit sta- + the specified variable _n_a_m_e. If _t_i_m_e_o_u_t is 0, rreeaadd + returns immediately, without trying to read any data. + The exit status is 0 if input is available on the speci- + fied file descriptor, non-zero otherwise. The exit sta- tus is greater than 128 if the timeout is exceeded. --uu _f_d Read input from file descriptor _f_d. If no _n_a_m_e_s are supplied, the line read is assigned to the vari- - able RREEPPLLYY. The return code is zero, unless end-of-file is - encountered, rreeaadd times out (in which case the return code is - greater than 128), a variable assignment error (such as assign- - ing to a readonly variable) occurs, or an invalid file descrip- - tor is supplied as the argument to --uu. + able RREEPPLLYY. The exit status is zero, unless end-of-file is + encountered, rreeaadd times out (in which case the status is greater + than 128), a variable assignment error (such as assigning to a + readonly variable) occurs, or an invalid file descriptor is sup- + plied as the argument to --uu. rreeaaddoonnllyy [--aaAAff] [--pp] [_n_a_m_e[=_w_o_r_d] ...] - The given _n_a_m_e_s are marked readonly; the values of these _n_a_m_e_s - may not be changed by subsequent assignment. If the --ff option - is supplied, the functions corresponding to the _n_a_m_e_s are so - marked. The --aa option restricts the variables to indexed - arrays; the --AA option restricts the variables to associative - arrays. If both options are supplied, --AA takes precedence. If - no _n_a_m_e arguments are given, or if the --pp option is supplied, a + The given _n_a_m_e_s are marked readonly; the values of these _n_a_m_e_s + may not be changed by subsequent assignment. If the --ff option + is supplied, the functions corresponding to the _n_a_m_e_s are so + marked. The --aa option restricts the variables to indexed + arrays; the --AA option restricts the variables to associative + arrays. If both options are supplied, --AA takes precedence. If + no _n_a_m_e arguments are given, or if the --pp option is supplied, a list of all readonly names is printed. The other options may be - used to restrict the output to a subset of the set of readonly - names. The --pp option causes output to be displayed in a format - that may be reused as input. If a variable name is followed by - =_w_o_r_d, the value of the variable is set to _w_o_r_d. The return - status is 0 unless an invalid option is encountered, one of the + used to restrict the output to a subset of the set of readonly + names. The --pp option causes output to be displayed in a format + that may be reused as input. If a variable name is followed by + =_w_o_r_d, the value of the variable is set to _w_o_r_d. The return + status is 0 unless an invalid option is encountered, one of the _n_a_m_e_s is not a valid shell variable name, or --ff is supplied with a _n_a_m_e that is not a function. rreettuurrnn [_n] - Causes a function to stop executing and return the value speci- - fied by _n to its caller. If _n is omitted, the return status is - that of the last command executed in the function body. If + Causes a function to stop executing and return the value speci- + fied by _n to its caller. If _n is omitted, the return status is + that of the last command executed in the function body. If + rreettuurrnn is executed by a trap handler, the last command used to + determine the status is the last command executed before the + trap handler. if rreettuurrnn is executed during a DDEEBBUUGG trap, the + last command used to determine the status is the last command + executed by the trap handler before rreettuurrnn was invoked. If rreettuurrnn is used outside a function, but during execution of a script by the .. (ssoouurrccee) command, it causes the shell to stop executing that script and return either _n or the exit status of @@ -4908,26 +5092,26 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS ues for the positional parameters and are assigned, in order, to $$11, $$22, ...... $$_n. Options, if specified, have the following meanings: - --aa Automatically mark variables and functions which are - modified or created for export to the environment of - subsequent commands. + --aa Each variable or function that is created or modified is + given the export attribute and marked for export to the + environment of subsequent commands. --bb Report the status of terminated background jobs immedi- ately, rather than before the next primary prompt. This is effective only when job control is enabled. --ee Exit immediately if a _p_i_p_e_l_i_n_e (which may consist of a single _s_i_m_p_l_e _c_o_m_m_a_n_d), a _l_i_s_t, or a _c_o_m_p_o_u_n_d _c_o_m_m_a_n_d - (see SSHHEELLLL GGRRAAMMMMAARR above), exits with a non-zero sta- - tus. The shell does not exit if the command that fails - is part of the command list immediately following a - wwhhiillee or uunnttiill keyword, part of the test following the - iiff or eelliiff reserved words, part of any command executed - in a &&&& or |||| list except the command following the - final &&&& or ||||, any command in a pipeline but the last, - or if the command's return value is being inverted with - !!. If a compound command other than a subshell returns - a non-zero status because a command failed while --ee was - being ignored, the shell does not exit. A trap on EERRRR, - if set, is executed before the shell exits. This option + (see SSHHEELLLL GGRRAAMMMMAARR above), exits with a non-zero status. + The shell does not exit if the command that fails is + part of the command list immediately following a wwhhiillee + or uunnttiill keyword, part of the test following the iiff or + eelliiff reserved words, part of any command executed in a + &&&& or |||| list except the command following the final &&&& + or ||||, any command in a pipeline but the last, or if the + command's return value is being inverted with !!. If a + compound command other than a subshell returns a non- + zero status because a command failed while --ee was being + ignored, the shell does not exit. A trap on EERRRR, if + set, is executed before the shell exits. This option applies to the shell environment and each subshell envi- ronment separately (see CCOOMMMMAANNDD EEXXEECCUUTTIIOONN EENNVVIIRROONNMMEENNTT above), and may cause subshells to exit before executing @@ -5165,138 +5349,158 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS If set, bbaasshh changes its behavior to that of version 3.2 with respect to locale-specific string comparison when using the [[[[ conditional command's << and >> operators - (see previous item). + (see previous item) and the effect of interrupting a + command list. Bash versions 3.2 and earlier continue + with the next command in the list after one terminates + due to an interrupt. ccoommppaatt4400 If set, bbaasshh changes its behavior to that of version 4.0 - with respect to locale-specific string comparison when - using the [[[[ conditional command's << and >> operators - (see description of ccoommppaatt3311) and the effect of inter- - rupting a command list. Bash versions 4.0 and later - interrupt the list as if the shell received the inter- - rupt; previous versions continue with the next command + with respect to locale-specific string comparison when + using the [[[[ conditional command's << and >> operators + (see description of ccoommppaatt3311) and the effect of inter- + rupting a command list. Bash versions 4.0 and later + interrupt the list as if the shell received the inter- + rupt; previous versions continue with the next command in the list. ccoommppaatt4411 - If set, bbaasshh, when in _p_o_s_i_x mode, treats a single quote - in a double-quoted parameter expansion as a special - character. The single quotes must match (an even num- - ber) and the characters between the single quotes are - considered quoted. This is the behavior of posix mode - through version 4.1. The default bash behavior remains + If set, bbaasshh, when in _p_o_s_i_x mode, treats a single quote + in a double-quoted parameter expansion as a special + character. The single quotes must match (an even num- + ber) and the characters between the single quotes are + considered quoted. This is the behavior of posix mode + through version 4.1. The default bash behavior remains as in previous versions. ccoommppaatt4422 - If set, bbaasshh does not process the replacement string in - the pattern substitution word expansion using quote + If set, bbaasshh does not process the replacement string in + the pattern substitution word expansion using quote removal. + ccoommppaatt4433 + If set, bbaasshh does not print a warning message if an + attempt is made to use a quoted compound array assign- + ment as an argument to ddeeccllaarree, makes word expansion + errors non-fatal errors that cause the current command + to fail (the default behavior is to make them fatal + errors that cause the shell to exit), and does not reset + the loop state when a shell function is executed (this + allows bbrreeaakk or ccoonnttiinnuuee in a shell function to affect + loops in the caller's context). ccoommpplleettee__ffuullllqquuoottee - If set, bbaasshh quotes all shell metacharacters in file- - names and directory names when performing completion. + If set, bbaasshh quotes all shell metacharacters in file- + names and directory names when performing completion. If not set, bbaasshh removes metacharacters such as the dol- - lar sign from the set of characters that will be quoted - in completed filenames when these metacharacters appear - in shell variable references in words to be completed. - This means that dollar signs in variable names that - expand to directories will not be quoted; however, any - dollar signs appearing in filenames will not be quoted, - either. This is active only when bash is using back- - slashes to quote completed filenames. This variable is - set by default, which is the default bash behavior in + lar sign from the set of characters that will be quoted + in completed filenames when these metacharacters appear + in shell variable references in words to be completed. + This means that dollar signs in variable names that + expand to directories will not be quoted; however, any + dollar signs appearing in filenames will not be quoted, + either. This is active only when bash is using back- + slashes to quote completed filenames. This variable is + set by default, which is the default bash behavior in versions through 4.2. ddiirreexxppaanndd - If set, bbaasshh replaces directory names with the results - of word expansion when performing filename completion. - This changes the contents of the readline editing - buffer. If not set, bbaasshh attempts to preserve what the + If set, bbaasshh replaces directory names with the results + of word expansion when performing filename completion. + This changes the contents of the readline editing buf- + fer. If not set, bbaasshh attempts to preserve what the user typed. ddiirrssppeellll - If set, bbaasshh attempts spelling correction on directory - names during word completion if the directory name ini- + If set, bbaasshh attempts spelling correction on directory + names during word completion if the directory name ini- tially supplied does not exist. - ddoottgglloobb If set, bbaasshh includes filenames beginning with a `.' in + ddoottgglloobb If set, bbaasshh includes filenames beginning with a `.' in the results of pathname expansion. eexxeeccffaaiill If set, a non-interactive shell will not exit if it can- - not execute the file specified as an argument to the - eexxeecc builtin command. An interactive shell does not + not execute the file specified as an argument to the + eexxeecc builtin command. An interactive shell does not exit if eexxeecc fails. eexxppaanndd__aalliiaasseess - If set, aliases are expanded as described above under + If set, aliases are expanded as described above under AALLIIAASSEESS. This option is enabled by default for interac- tive shells. eexxttddeebbuugg - If set, behavior intended for use by debuggers is - enabled: + If set at shell invocation, arrange to execute the + debugger profile before the shell starts, identical to + the ----ddeebbuuggggeerr option. If set after invocation, behav- + ior intended for use by debuggers is enabled: 11.. The --FF option to the ddeeccllaarree builtin displays the source file name and line number corresponding to each function name supplied as an argument. - 22.. If the command run by the DDEEBBUUGG trap returns a - non-zero value, the next command is skipped and + 22.. If the command run by the DDEEBBUUGG trap returns a + non-zero value, the next command is skipped and not executed. - 33.. If the command run by the DDEEBBUUGG trap returns a - value of 2, and the shell is executing in a sub- - routine (a shell function or a shell script exe- - cuted by the .. or ssoouurrccee builtins), a call to - rreettuurrnn is simulated. - 44.. BBAASSHH__AARRGGCC and BBAASSHH__AARRGGVV are updated as described + 33.. If the command run by the DDEEBBUUGG trap returns a + value of 2, and the shell is executing in a sub- + routine (a shell function or a shell script exe- + cuted by the .. or ssoouurrccee builtins), the shell + simulates a call to rreettuurrnn. + 44.. BBAASSHH__AARRGGCC and BBAASSHH__AARRGGVV are updated as described in their descriptions above. - 55.. Function tracing is enabled: command substitu- + 55.. Function tracing is enabled: command substitu- tion, shell functions, and subshells invoked with (( _c_o_m_m_a_n_d )) inherit the DDEEBBUUGG and RREETTUURRNN traps. - 66.. Error tracing is enabled: command substitution, - shell functions, and subshells invoked with (( + 66.. Error tracing is enabled: command substitution, + shell functions, and subshells invoked with (( _c_o_m_m_a_n_d )) inherit the EERRRR trap. eexxttgglloobb If set, the extended pattern matching features described above under PPaatthhnnaammee EExxppaannssiioonn are enabled. eexxttqquuoottee - If set, $$'_s_t_r_i_n_g' and $$"_s_t_r_i_n_g" quoting is performed - within $${{_p_a_r_a_m_e_t_e_r}} expansions enclosed in double + If set, $$'_s_t_r_i_n_g' and $$"_s_t_r_i_n_g" quoting is performed + within $${{_p_a_r_a_m_e_t_e_r}} expansions enclosed in double quotes. This option is enabled by default. ffaaiillgglloobb - If set, patterns which fail to match filenames during + If set, patterns which fail to match filenames during pathname expansion result in an expansion error. ffoorrccee__ffiiggnnoorree - If set, the suffixes specified by the FFIIGGNNOORREE shell - variable cause words to be ignored when performing word + If set, the suffixes specified by the FFIIGGNNOORREE shell + variable cause words to be ignored when performing word completion even if the ignored words are the only possi- ble completions. See SSHHEELLLL VVAARRIIAABBLLEESS above for a - description of FFIIGGNNOORREE. This option is enabled by + description of FFIIGGNNOORREE. This option is enabled by default. gglloobbaasscciiiirraannggeess - If set, range expressions used in pattern matching - bracket expressions (see PPaatttteerrnn MMaattcchhiinngg above) behave - as if in the traditional C locale when performing com- + If set, range expressions used in pattern matching + bracket expressions (see PPaatttteerrnn MMaattcchhiinngg above) behave + as if in the traditional C locale when performing com- parisons. That is, the current locale's collating - sequence is not taken into account, so bb will not col- - late between AA and BB, and upper-case and lower-case + sequence is not taken into account, so bb will not col- + late between AA and BB, and upper-case and lower-case ASCII characters will collate together. gglloobbssttaarr If set, the pattern **** used in a pathname expansion con- - text will match all files and zero or more directories - and subdirectories. If the pattern is followed by a //, + text will match all files and zero or more directories + and subdirectories. If the pattern is followed by a //, only directories and subdirectories match. ggnnuu__eerrrrffmmtt If set, shell error messages are written in the standard GNU error message format. hhiissttaappppeenndd - If set, the history list is appended to the file named - by the value of the HHIISSTTFFIILLEE variable when the shell + If set, the history list is appended to the file named + by the value of the HHIISSTTFFIILLEE variable when the shell exits, rather than overwriting the file. hhiissttrreeeeddiitt - If set, and rreeaaddlliinnee is being used, a user is given the + If set, and rreeaaddlliinnee is being used, a user is given the opportunity to re-edit a failed history substitution. hhiissttvveerriiffyy - If set, and rreeaaddlliinnee is being used, the results of his- - tory substitution are not immediately passed to the - shell parser. Instead, the resulting line is loaded + If set, and rreeaaddlliinnee is being used, the results of his- + tory substitution are not immediately passed to the + shell parser. Instead, the resulting line is loaded into the rreeaaddlliinnee editing buffer, allowing further modi- fication. hhoossttccoommpplleettee If set, and rreeaaddlliinnee is being used, bbaasshh will attempt to - perform hostname completion when a word containing a @@ - is being completed (see CCoommpplleettiinngg under RREEAADDLLIINNEE + perform hostname completion when a word containing a @@ + is being completed (see CCoommpplleettiinngg under RREEAADDLLIINNEE above). This is enabled by default. hhuuppoonneexxiitt If set, bbaasshh will send SSIIGGHHUUPP to all jobs when an inter- active login shell exits. + iinnhheerriitt__eerrrreexxiitt + If set, command substitution inherits the value of the + eerrrreexxiitt option, instead of unsetting it in the subshell + environment. This option is enabled when _p_o_s_i_x _m_o_d_e is + enabled. iinntteerraaccttiivvee__ccoommmmeennttss If set, allow a word beginning with ## to cause that word and all remaining characters on that line to be ignored @@ -5329,7 +5533,9 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS nnooccaasseemmaattcchh If set, bbaasshh matches patterns in a case-insensitive fashion when performing matching while executing ccaassee or - [[[[ conditional commands. + [[[[ conditional commands, when performing pattern substi- + tution word expansions, or when filtering possible com- + pletions as part of programmable completion. nnuullllgglloobb If set, bbaasshh allows patterns which match no files (see PPaatthhnnaammee EExxppaannssiioonn above) to expand to a null string, @@ -5462,7 +5668,7 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS function or a script executed with the .. or ssoouurrccee builtins fin- ishes executing. - If a _s_i_g_s_p_e_c is EERRRR, the command _a_r_g is executed whenever a a + If a _s_i_g_s_p_e_c is EERRRR, the command _a_r_g is executed whenever a pipeline (which may consist of a single simple command), a list, or a compound command returns a non-zero exit status, subject to the following conditions. The EERRRR trap is not executed if the @@ -5501,7 +5707,7 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS function lookup, as with the ccoommmmaanndd builtin. ttyyppee returns true if all of the arguments are found, false if any are not found. - uulliimmiitt [--HHSSTTaabbccddeeffiillmmnnppqqrrssttuuvvxx [_l_i_m_i_t]] + uulliimmiitt [--HHSSaabbccddeeffiikkllmmnnppqqrrssttuuvvxxPPTT [_l_i_m_i_t]] Provides control over the resources available to the shell and to processes started by it, on systems that allow such control. The --HH and --SS options specify that the hard or soft limit is set @@ -5525,6 +5731,7 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS --ff The maximum size of files written by the shell and its children --ii The maximum number of pending signals + --kk The maximum number of kqueues that may be allocated --ll The maximum size that may be locked into memory --mm The maximum resident set size (many systems do not honor this limit) @@ -5540,46 +5747,48 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS --vv The maximum amount of virtual memory available to the shell and, on some systems, to its children --xx The maximum number of file locks + --PP The maximum number of pseudoterminals --TT The maximum number of threads If _l_i_m_i_t is given, and the --aa option is not used, _l_i_m_i_t is the new value of the specified resource. If no option is given, then --ff is assumed. Values are in 1024-byte increments, except for --tt, which is in seconds; --pp, which is in units of 512-byte - blocks; and --TT, --bb, --nn, and --uu, which are unscaled values. The - return status is 0 unless an invalid option or argument is sup- - plied, or an error occurs while setting a new limit. + blocks; --PP, --TT, --bb, --kk, --nn, and --uu, which are unscaled values; + and, when in Posix mode, --cc and --ff, which are in 512-byte incre- + ments. The return status is 0 unless an invalid option or argu- + ment is supplied, or an error occurs while setting a new limit. uummaasskk [--pp] [--SS] [_m_o_d_e] The user file-creation mask is set to _m_o_d_e. If _m_o_d_e begins with - a digit, it is interpreted as an octal number; otherwise it is - interpreted as a symbolic mode mask similar to that accepted by - _c_h_m_o_d(1). If _m_o_d_e is omitted, the current value of the mask is - printed. The --SS option causes the mask to be printed in sym- - bolic form; the default output is an octal number. If the --pp + a digit, it is interpreted as an octal number; otherwise it is + interpreted as a symbolic mode mask similar to that accepted by + _c_h_m_o_d(1). If _m_o_d_e is omitted, the current value of the mask is + printed. The --SS option causes the mask to be printed in sym- + bolic form; the default output is an octal number. If the --pp option is supplied, and _m_o_d_e is omitted, the output is in a form that may be reused as input. The return status is 0 if the mode - was successfully changed or if no _m_o_d_e argument was supplied, + was successfully changed or if no _m_o_d_e argument was supplied, and false otherwise. uunnaalliiaass [-aa] [_n_a_m_e ...] - Remove each _n_a_m_e from the list of defined aliases. If --aa is - supplied, all alias definitions are removed. The return value + Remove each _n_a_m_e from the list of defined aliases. If --aa is + supplied, all alias definitions are removed. The return value is true unless a supplied _n_a_m_e is not a defined alias. uunnsseett [-ffvv] [-nn] [_n_a_m_e ...] - For each _n_a_m_e, remove the corresponding variable or function. + For each _n_a_m_e, remove the corresponding variable or function. If the --vv option is given, each _n_a_m_e refers to a shell variable, - and that variable is removed. Read-only variables may not be - unset. If --ff is specified, each _n_a_m_e refers to a shell func- - tion, and the function definition is removed. If the --nn option - is supplied, and _n_a_m_e is a variable with the _n_a_m_e_r_e_f attribute, - _n_a_m_e will be unset rather than the variable it references. --nn - has no effect if the --ff option is supplied. If no options are - supplied, each _n_a_m_e refers to a variable; if there is no vari- - able by that name, any function with that name is unset. Each - unset variable or function is removed from the environment - passed to subsequent commands. If any of CCOOMMPP__WWOORRDDBBRREEAAKKSS, RRAANN-- + and that variable is removed. Read-only variables may not be + unset. If --ff is specified, each _n_a_m_e refers to a shell func- + tion, and the function definition is removed. If the --nn option + is supplied, and _n_a_m_e is a variable with the _n_a_m_e_r_e_f attribute, + _n_a_m_e will be unset rather than the variable it references. --nn + has no effect if the --ff option is supplied. If no options are + supplied, each _n_a_m_e refers to a variable; if there is no vari- + able by that name, any function with that name is unset. Each + unset variable or function is removed from the environment + passed to subsequent commands. If any of CCOOMMPP__WWOORRDDBBRREEAAKKSS, RRAANN-- DDOOMM, SSEECCOONNDDSS, LLIINNEENNOO, HHIISSTTCCMMDD, FFUUNNCCNNAAMMEE, GGRROOUUPPSS, or DDIIRRSSTTAACCKK are unset, they lose their special properties, even if they are sub- sequently reset. The exit status is true unless a _n_a_m_e is read- @@ -5588,19 +5797,19 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS wwaaiitt [--nn] [_n _._._.] Wait for each specified child process and return its termination status. Each _n may be a process ID or a job specification; if a - job spec is given, all processes in that job's pipeline are - waited for. If _n is not given, all currently active child pro- + job spec is given, all processes in that job's pipeline are + waited for. If _n is not given, all currently active child pro- cesses are waited for, and the return status is zero. If the --nn - option is supplied, wwaaiitt waits for any job to terminate and - returns its exit status. If _n specifies a non-existent process - or job, the return status is 127. Otherwise, the return status + option is supplied, wwaaiitt waits for any job to terminate and + returns its exit status. If _n specifies a non-existent process + or job, the return status is 127. Otherwise, the return status is the exit status of the last process or job waited for. RREESSTTRRIICCTTEEDD SSHHEELLLL If bbaasshh is started with the name rrbbaasshh, or the --rr option is supplied at - invocation, the shell becomes restricted. A restricted shell is used - to set up an environment more controlled than the standard shell. It - behaves identically to bbaasshh with the exception that the following are + invocation, the shell becomes restricted. A restricted shell is used + to set up an environment more controlled than the standard shell. It + behaves identically to bbaasshh with the exception that the following are disallowed or not performed: +o changing directories with ccdd @@ -5665,7 +5874,7 @@ FFIILLEESS _~_/_._b_a_s_h_r_c The individual per-interactive-shell startup file _~_/_._b_a_s_h___l_o_g_o_u_t - The individual login shell cleanup file, executed when a login + The individual login shell cleanup file, executed when a login shell exits _~_/_._i_n_p_u_t_r_c Individual _r_e_a_d_l_i_n_e initialization file @@ -5679,14 +5888,14 @@ AAUUTTHHOORRSS BBUUGG RREEPPOORRTTSS If you find a bug in bbaasshh,, you should report it. But first, you should - make sure that it really is a bug, and that it appears in the latest - version of bbaasshh. The latest version is always available from + make sure that it really is a bug, and that it appears in the latest + version of bbaasshh. The latest version is always available from _f_t_p_:_/_/_f_t_p_._g_n_u_._o_r_g_/_p_u_b_/_g_n_u_/_b_a_s_h_/. - Once you have determined that a bug actually exists, use the _b_a_s_h_b_u_g - command to submit a bug report. If you have a fix, you are encouraged - to mail that as well! Suggestions and `philosophical' bug reports may - be mailed to _b_u_g_-_b_a_s_h_@_g_n_u_._o_r_g or posted to the Usenet newsgroup + Once you have determined that a bug actually exists, use the _b_a_s_h_b_u_g + command to submit a bug report. If you have a fix, you are encouraged + to mail that as well! Suggestions and `philosophical' bug reports may + be mailed to _b_u_g_-_b_a_s_h_@_g_n_u_._o_r_g or posted to the Usenet newsgroup ggnnuu..bbaasshh..bbuugg. ALL bug reports should include: @@ -5697,7 +5906,7 @@ BBUUGG RREEPPOORRTTSS A description of the bug behaviour A short script or `recipe' which exercises the bug - _b_a_s_h_b_u_g inserts the first three items automatically into the template + _b_a_s_h_b_u_g inserts the first three items automatically into the template it provides for filing a bug report. Comments and bug reports concerning this manual page should be directed @@ -5714,10 +5923,10 @@ BBUUGGSS Shell builtin commands and functions are not stoppable/restartable. Compound commands and command sequences of the form `a ; b ; c' are not - handled gracefully when process suspension is attempted. When a - process is stopped, the shell immediately executes the next command in - the sequence. It suffices to place the sequence of commands between - parentheses to force it into a subshell, which may be stopped as a + handled gracefully when process suspension is attempted. When a + process is stopped, the shell immediately executes the next command in + the sequence. It suffices to place the sequence of commands between + parentheses to force it into a subshell, which may be stopped as a unit. Array variables may not (yet) be exported. @@ -5726,4 +5935,4 @@ BBUUGGSS -GNU Bash 4.3 2014 February 2 BASH(1) +GNU Bash 4.4 2016 August 26 BASH(1) diff --git a/doc/bash.1 b/doc/bash.1 index ec414627f..9a7a384ae 100644 --- a/doc/bash.1 +++ b/doc/bash.1 @@ -5,12 +5,12 @@ .\" Case Western Reserve University .\" chet.ramey@case.edu .\" -.\" Last Change: Sun Feb 2 16:21:40 EST 2014 +.\" Last Change: Fri Aug 26 09:45:10 EDT 2016 .\" .\" bash_builtins, strip all but Built-Ins section .if \n(zZ=1 .ig zZ .if \n(zY=1 .ig zY -.TH BASH 1 "2014 February 2" "GNU Bash 4.3" +.TH BASH 1 "2016 August 26" "GNU Bash 4.4" .\" .\" There's some problem with having a `@' .\" in a tagged paragraph with the BSD man macros. @@ -50,8 +50,8 @@ bash \- GNU Bourne-Again SHell [options] [command_string | file] .SH COPYRIGHT -.if n Bash is Copyright (C) 1989-2013 by the Free Software Foundation, Inc. -.if t Bash is Copyright \(co 1989-2013 by the Free Software Foundation, Inc. +.if n Bash is Copyright (C) 1989-2016 by the Free Software Foundation, Inc. +.if t Bash is Copyright \(co 1989-2016 by the Free Software Foundation, Inc. .SH DESCRIPTION .B Bash is an \fBsh\fR-compatible command language interpreter that @@ -67,7 +67,7 @@ Shell and Utilities portion of the IEEE POSIX specification .B Bash can be configured to be POSIX-conformant by default. .SH OPTIONS -All of the single-character shell options documented in the +All of the single-character shell options documented in the description of the \fBset\fR builtin command can be used as options when the shell is invoked. In addition, \fBbash\fR @@ -82,8 +82,12 @@ option is present, then commands are read from the first non-option argument .IR command_string . If there are arguments after the .IR command_string , -they are assigned to the positional parameters, starting with -.BR $0 . +the first argument is assigned to +.B $0 +and any remaining arguments are assigned to the positional parameters. +The assignment to +.B $0 +sets the name of the shell, which is used in warning and error messages. .TP .B \-i If the @@ -235,7 +239,7 @@ The shell becomes restricted (see below). .TP .B \-\-verbose -Equivalent to \fB\-v\fP. +Equivalent to \fB\-v\fP. .TP .B \-\-version Show version information for this instance of @@ -251,7 +255,7 @@ option has been supplied, the first argument is assumed to be the name of a file containing shell commands. If .B bash -is invoked in this fashion, +is invoked in this fashion, .B $0 is set to the name of the file, and the positional parameters are set to the remaining arguments. @@ -268,11 +272,12 @@ for the script. .SH INVOCATION A \fIlogin shell\fP is one whose first character of argument zero is a .BR \- , -or one started with the +or one started with the .B \-\-login option. .PP An \fIinteractive\fP shell is one started without non-option arguments +(unless \fB\-s\fP is specified) and without the .B \-c option @@ -319,7 +324,8 @@ The .B \-\-noprofile option may be used when the shell is started to inhibit this behavior. .PP -When a login shell exits, +When an interactive login shell exits, +or a non-interactive login shell executes the \fBexit\fP builtin command, .B bash reads and executes commands from the file \fI~/.bash_logout\fP, if it exists. @@ -450,7 +456,7 @@ The following definitions are used throughout the rest of this document. .PD 0 .TP -.B blank +.B blank A space or tab. .TP .B word @@ -459,7 +465,7 @@ Also known as a .BR token . .TP .B name -A +A .I word consisting only of alphanumeric characters and underscores, and beginning with an alphabetic character or an underscore. Also @@ -471,8 +477,8 @@ A character that, when unquoted, separates words. One of the following: .br .RS .PP -.if t \fB| & ; ( ) < > space tab\fP -.if n \fB| & ; ( ) < > space tab\fP +.if t \fB| & ; ( ) < > space tab newline\fP +.if n \fB| & ; ( ) < > space tab newline\fP .RE .PP .TP @@ -481,8 +487,8 @@ A \fItoken\fP that performs a control function. It is one of the following symbols: .RS .PP -.if t \fB|| & && ; ;; ( ) | |& \fP -.if n \fB|| & && ; ;; ( ) | |& \fP +.if t \fB|| & && ; ;; ;& ;;& ( ) | |& \fP +.if n \fB|| & && ; ;; ;& ;;& ( ) | |& \fP .RE .PD .SH "RESERVED WORDS" @@ -491,8 +497,8 @@ The following words are recognized as reserved when unquoted and either the first word of a simple command (see .SM .B SHELL GRAMMAR -below) or the third word of a -.B case +below) or the third word of a +.B case or .B for command: @@ -622,7 +628,7 @@ are executed sequentially; the shell waits for each command to terminate in turn. The return status is the exit status of the last command executed. .PP -AND and OR lists are sequences of one of more pipelines separated by the +AND and OR lists are sequences of one or more pipelines separated by the \fB&&\fP and \fB||\fP control operators, respectively. AND and OR lists are executed with left associativity. An AND list has the form @@ -712,9 +718,9 @@ right of the operator is considered a pattern and matched according to the rules described below under \fBPattern Matching\fP, as if the \fBextglob\fP shell option were enabled. The \fB=\fP operator is equivalent to \fB==\fP. -If the shell option +If the .B nocasematch -is enabled, the match is performed without regard to the case +shell option is enabled, the match is performed without regard to the case of alphabetic characters. The return value is 0 if the string matches (\fB==\fP) or does not match (\fB!=\fP) the pattern, and 1 otherwise. @@ -725,14 +731,14 @@ to be matched as a string. An additional binary operator, \fB=~\fP, is available, with the same precedence as \fB==\fP and \fB!=\fP. When it is used, the string to the right of the operator is considered -an extended regular expression and matched accordingly (as in \fIregex\fP(3)). +an extended regular expression and matched accordingly (as in \fIregex\fP(3)). The return value is 0 if the string matches the pattern, and 1 otherwise. If the regular expression is syntactically incorrect, the conditional expression's return value is 2. -If the shell option +If the .B nocasematch -is enabled, the match is performed without regard to the case +shell option is enabled, the match is performed without regard to the case of alphabetic characters. Any part of the pattern may be quoted to force the quoted portion to be matched as a string. @@ -860,14 +866,14 @@ as for pathname expansion (see .B Pathname Expansion below). The \fIword\fP is expanded using tilde -expansion, parameter and variable expansion, arithmetic substitution, +expansion, parameter and variable expansion, arithmetic expansion, command substitution, process substitution and quote removal. Each \fIpattern\fP examined is expanded using tilde -expansion, parameter and variable expansion, arithmetic substitution, +expansion, parameter and variable expansion, arithmetic expansion, command substitution, and process substitution. -If the shell option +If the .B nocasematch -is enabled, the match is performed without regard to the case +shell option is enabled, the match is performed without regard to the case of alphabetic characters. When a match is found, the corresponding \fIlist\fP is executed. If the \fB;;\fP operator is used, no subsequent matches are attempted after @@ -885,7 +891,7 @@ last command executed in \fIlist\fP. [ \fBelif\fP \fIlist\fP; \fBthen\fP \fIlist\fP; ] ... \ [ \fBelse\fP \fIlist\fP; ] \fBfi\fP The -.B if +.B if .I list is executed. If its exit status is zero, the \fBthen\fP \fIlist\fP is executed. Otherwise, each \fBelif\fP @@ -903,7 +909,7 @@ last command executed, or zero if no condition tested true. The \fBwhile\fP command continuously executes the list \fIlist-2\fP as long as the last command in the list \fIlist-1\fP returns an exit status of zero. The \fBuntil\fP command is identical -to the \fBwhile\fP command, except that the test is negated; +to the \fBwhile\fP command, except that the test is negated: .I list-2 is executed as long as the last command in .I list-1 @@ -973,10 +979,12 @@ This defines a function named \fIname\fP. The reserved word \fBfunction\fP is optional. If the \fBfunction\fP reserved word is supplied, the parentheses are optional. The \fIbody\fP of the function is the compound command -.I compound\-command +.I compound\-command (see \fBCompound Commands\fP above). That command is usually a \fIlist\fP of commands between { and }, but -may be any command listed under \fBCompound Commands\fP above. +may be any command listed under \fBCompound Commands\fP above, +with one exception: If the \fBfunction\fP reserved word is used, but the +parentheses are not supplied, the braces are required. \fIcompound\-command\fP is executed whenever \fIname\fP is specified as the name of a simple command. When in \fIposix mode\fP, \fIname\fP may not be the name of one of the @@ -1011,7 +1019,7 @@ option enabled does not allow comments. The option is on by default in interactive shells. .SH QUOTING \fIQuoting\fP is used to remove the special meaning of certain -characters or words to the shell. Quoting can be used to +characters or words to the shell. Quoting can be used to disable special treatment for special characters, to prevent reserved words from being recognized as such, and to prevent parameter expansion. @@ -1053,6 +1061,8 @@ of all characters within the quotes, with the exception of .BR \e , and, when history expansion is enabled, .BR ! . +When the shell is in \fIposix mode\fP, the \fB!\fP has no special meaning +within double quotes, even when history expansion is enabled. The characters .B $ and @@ -1102,19 +1112,19 @@ backspace .TP .B \eE an escape character -.TP +.TP .B \ef form feed -.TP +.TP .B \en new line -.TP +.TP .B \er carriage return .TP .B \et horizontal tab -.TP +.TP .B \ev vertical tab .TP @@ -1126,7 +1136,10 @@ single quote .TP .B \e\(dq double quote -.TP +.TP +.B \e? +question mark +.TP .B \e\fInnn\fP the eight-bit character whose value is the octal value \fInnn\fP (one to three digits) @@ -1224,7 +1237,7 @@ Assignment statements may also appear as arguments to the .BR readonly , and .B local -builtin commands. +builtin commands (\fIdeclaration\fP commands). When in \fIposix mode\fP, these builtins may appear in a command after one or more instances of the \fBcommand\fP builtin and retain these assignment statement properties. @@ -1232,6 +1245,8 @@ assignment statement properties. In the context where an assignment statement is assigning a value to a shell variable or array index, the += operator can be used to append to or add to the variable's previous value. +This includes arguments to builtin commands such as \fBdeclare\fP that +accept assignment statements (\fIdeclaration\fP commands). When += is applied to a variable for which the \fIinteger\fP attribute has been set, \fIvalue\fP is evaluated as an arithmetic expression and added to the variable's current value, which is also evaluated. @@ -1250,9 +1265,11 @@ A variable can be assigned the \fInameref\fP attribute using the (see the descriptions of \fBdeclare\fP and \fBlocal\fP below) to create a \fInameref\fP, or a reference to another variable. This allows variables to be manipulated indirectly. -Whenever the nameref variable is referenced or assigned to, the operation -is actually performed on the variable specified by the nameref variable's -value. +Whenever the nameref variable is referenced, assigned to, unset, or has +its attributes modified (other than using or changing the \fInameref\fP +attribute itself), the +operation is actually performed on the variable specified by the nameref +variable's value. A nameref is commonly used within shell functions to refer to a variable whose name is passed as an argument to the function. For instance, if a variable name is passed to a shell function as its first @@ -1265,13 +1282,14 @@ argument, running .sp .5 inside the function creates a nameref variable \fBref\fP whose value is the variable name passed as the first argument. -References and assignments to \fBref\fP are treated as references and -assignments to the variable whose name was passed as \fB$1\fP. +References and assignments to \fBref\fP, and changes to its attributes, +are treated as references, assignments, and attribute modifications +to the variable whose name was passed as \fB$1\fP. If the control variable in a \fBfor\fP loop has the nameref attribute, the list of words can be a list of shell variables, and a name reference will be established for each word in the list, in turn, when the loop is executed. -Array variables cannot be given the \fB\-n\fP attribute. +Array variables cannot be given the \fBnameref\fP attribute. However, nameref variables can reference array variables and subscripted array variables. Namerefs can be unset using the \fB\-n\fP option to the \fBunset\fP builtin. @@ -1311,8 +1329,7 @@ expands to a separate word. In contexts where it is performed, those words are subject to further word splitting and pathname expansion. When the expansion occurs within double quotes, it expands to a single word -with the value of each parameter separated by the first character -of the +with the value of each parameter separated by the first character of the .SM .B IFS special variable. That is, "\fB$*\fP" is equivalent @@ -1339,7 +1356,7 @@ If the double-quoted expansion occurs within a word, the expansion of the first parameter is joined with the beginning part of the original word, and the expansion of the last parameter is joined with the last part of the original word. -When there are no positional parameters, "\fB$@\fP" and +When there are no positional parameters, "\fB$@\fP" and .B $@ expand to nothing (i.e., they are removed). .TP @@ -1440,8 +1457,13 @@ that do not require \fBbash\fP to be re-initialized. .B BASH_ALIASES An associative array variable whose members correspond to the internal list of aliases as maintained by the \fBalias\fP builtin. -Elements added to this array appear in the alias list; unsetting array -elements cause aliases to be removed from the alias list. +Elements added to this array appear in the alias list; however, +unsetting array elements currently does not cause aliases to be removed +from the alias list. +If +.B BASH_ALIASES +is unset, it loses its special properties, even if it is +subsequently reset. .TP .B BASH_ARGC An array variable whose values are the number of parameters in each @@ -1482,8 +1504,13 @@ builtin below) .B BASH_CMDS An associative array variable whose members correspond to the internal hash table of commands as maintained by the \fBhash\fP builtin. -Elements added to this array appear in the hash table; unsetting array -elements cause commands to be removed from the hash table. +Elements added to this array appear in the hash table; however, +unsetting array elements currently does not cause command names to be removed +from the hash table. +If +.B BASH_CMDS +is unset, it loses its special properties, even if it is +subsequently reset. .TP .B BASH_COMMAND The command currently being executed or about to be executed, unless the @@ -1509,6 +1536,12 @@ Use .B LINENO to obtain the current line number. .TP +.B BASH_LOADABLES_PATH +A colon-separated list of directories in which the shell looks for +dynamically loadable builtins specified by the +.B enable +command. +.TP .B BASH_REMATCH An array variable whose members are assigned by the \fB=~\fP binary operator to the \fB[[\fP conditional command. @@ -1670,7 +1703,7 @@ This variable exists only when a shell function is executing. Assignments to .SM .B FUNCNAME -have no effect and return an error status. +have no effect. If .SM .B FUNCNAME @@ -1690,10 +1723,10 @@ information. .B GROUPS An array variable containing the list of groups of which the current user is a member. -Assignments to +Assignments to .SM .B GROUPS -have no effect and return an error status. +have no effect. If .SM .B GROUPS @@ -1828,7 +1861,7 @@ builtin command when no arguments are supplied. .B SECONDS Each time this parameter is referenced, the number of seconds since shell invocation is returned. If a -value is assigned to +value is assigned to .SM .BR SECONDS , the value returned upon subsequent @@ -1980,6 +2013,21 @@ Similar to .BR BASH_ENV ; used when the shell is invoked in POSIX mode. .TP +.B EXECIGNORE +A colon-separated list of shell patterns (see \fBPattern Matching\fP) +defining the list of filenames to be ignored by command search using +\fBPATH\fP. +Files whose full pathnames match one of these patterns are not considered +executable files for the purposes of completion and command execution +via \fBPATH\fP lookup. +This does not affect the behavior of the \fB[\fP, \fBtest\fP, and \fB[[\fP +commands. +Full pathnames in the command hash table are not subject to \fBEXECIGNORE\fP. +Use this variable to ignore shared library files that have the executable +bit set, but are not executable files. +The pattern matching honors the setting of the \fBextglob\fP shell +option. +.TP .B FCEDIT The default editor for the .B fc @@ -2021,7 +2069,7 @@ If the list of values includes lines which begin with a .B space character are not saved in the history list. -A value of +A value of .I ignoredups causes lines matching the previous history entry to not be saved. A value of @@ -2080,6 +2128,8 @@ The second and subsequent lines of a multi-line compound command are not tested, and are added to the history regardless of the value of .SM .BR HISTIGNORE . +The pattern matching honors the setting of the \fBextglob\fP shell +option. .TP .B HISTSIZE The number of commands to remember in the command history (see @@ -2195,6 +2245,10 @@ strings preceded by a \fB$\fP. .B LC_NUMERIC This variable determines the locale category used for number formatting. .TP +.B LC_TIME +This variable determines the locale category used for data and time +formatting. +.TP .B LINES Used by the \fBselect\fP compound command to determine the column length for printing selection lists. @@ -2223,18 +2277,20 @@ If this variable is unset, or set to a value that is not a number greater than or equal to zero, the shell disables mail checking. .TP .B MAILPATH -A colon-separated list of filenames to be checked for mail. +A colon-separated list of filenames to be checked for mail. The message to be printed when mail arrives in a particular file may be specified by separating the filename from the message with a `?'. When used in the text of the message, \fB$_\fP expands to the name of -the current mailfile. +the current mailfile. Example: .RS .PP \fBMAILPATH\fP=\(aq/var/mail/bfox?"You have mail":~/shell\-mail?"$_ has mail!"\(aq .PP .B Bash -supplies a default value for this variable, but the location of the user +can be configured to supply +a default value for this variable (there is no value by default), +but the location of the user mail files that it uses is system dependent (e.g., /var/mail/\fB$USER\fP). .RE .TP @@ -2269,8 +2325,10 @@ The default path is system-dependent, and is set by the administrator who installs .BR bash . A common value is +.na .if t \f(CW/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin\fP. .if n ``/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin''. +.ad .TP .B POSIXLY_CORRECT If this variable is in the environment when \fBbash\fP starts, the shell @@ -2294,6 +2352,13 @@ trailing directory components to retain when expanding the \fB\ew\fP and .B PROMPTING below). Characters removed are replaced with an ellipsis. .TP +.B PS0 +The value of this parameter is expanded (see +.SM +.B PROMPTING +below) and displayed by interactive shells after reading a command +and before the command is executed. +.TP .B PS1 The value of this parameter is expanded (see .SM @@ -2460,7 +2525,7 @@ There is no maximum limit on the size of an array, nor any requirement that members be indexed or assigned contiguously. Indexed arrays are referenced using integers (including arithmetic -expressions) and are zero-based; associative arrays are referenced +expressions) and are zero-based; associative arrays are referenced using arbitrary strings. Unless otherwise noted, indexed array indices must be non-negative integers. .PP @@ -2533,16 +2598,20 @@ of the special parameters \fB*\fP and \fB@\fP (see above). ${#\fIname\fP[\fIsubscript\fP]} expands to the length of ${\fIname\fP[\fIsubscript\fP]}. If \fIsubscript\fP is \fB*\fP or \fB@\fP, the expansion is the number of elements in the array. -Referencing an array variable without a subscript is equivalent to -referencing the array with a subscript of 0. If the .I subscript used to reference an element of an indexed array -evaluates to a number less than zero, it is +evaluates to a number less than zero, it is interpreted as relative to one greater than the maximum index of the array, so negative indices count back from the end of the array, and an index of \-1 references the last element. .PP +Referencing an array variable without a subscript is equivalent to +referencing the array with a subscript of 0. +Any reference to a variable using a valid subscript is legal, and +.B bash +will create an array if necessary. +.PP An array variable is considered set if a subscript has been assigned a value. The null string is a valid value. .PP @@ -2573,7 +2642,7 @@ builtins each accept a option to specify an indexed array and a .B \-A option to specify an associative array. -If both options are supplied, +If both options are supplied, .B \-A takes precedence. The @@ -2612,6 +2681,10 @@ This is performed at the same time as tilde, parameter, variable, and arithmetic expansion and command substitution. .PP +After these expansions are performed, quote characters present in the +original word are removed unless they have been quoted themselves +(\fIquote removal\fP). +.PP Only brace expansion, word splitting, and pathname expansion can change the number of words of the expansion; other expansions expand a single word to a single word. @@ -2708,7 +2781,7 @@ If strict compatibility with is desired, start .B bash with the -.B +B +.B +B option or disable brace expansion with the .B +B option to the @@ -2802,12 +2875,16 @@ The \fIparameter\fP is a shell parameter as described above .PD .PP If the first character of \fIparameter\fP is an exclamation point (\fB!\fP), +and \fIparameter\fP is not a \fInameref\fP, it introduces a level of variable indirection. \fBBash\fP uses the value of the variable formed from the rest of \fIparameter\fP as the name of the variable; this variable is then expanded and that value is used in the rest of the substitution, rather than the value of \fIparameter\fP itself. This is known as \fIindirect expansion\fP. +If \fIparameter\fP is a nameref, this expands to the name of the +variable referenced by \fIparameter\fP instead of performing the +complete indirect expansion. The exceptions to this are the expansions of ${\fB!\fP\fIprefix\fP\fB*\fP} and ${\fB!\fP\fIname\fP[\fI@\fP]} described below. The exclamation point must immediately follow the left brace in order to @@ -2914,7 +2991,7 @@ zero. Substring expansion applied to an associative array produces undefined results. .sp 1 -Substring indexing is zero-based unless the positional parameters +Substring indexing is zero-based unless the positional parameters are used, in which case the indexing starts at 1 by default. If \fIoffset\fP is 0, and the positional parameters are used, \fB$0\fP is prefixed to the list. @@ -2953,7 +3030,7 @@ If .I parameter is .B * -or +or .BR @ , the value substituted is the number of positional parameters. If @@ -2976,7 +3053,7 @@ ${\fIparameter\fP\fB#\fP\fIword\fP} ${\fIparameter\fP\fB##\fP\fIword\fP} .PD \fBRemove matching prefix pattern\fP. -The +The .I word is expanded to produce a pattern just as in pathname expansion. If the pattern matches the beginning of @@ -3048,6 +3125,10 @@ If \fIpattern\fP begins with \fB%\fP, it must match at the end of the expanded value of \fIparameter\fP. If \fIstring\fP is null, matches of \fIpattern\fP are deleted and the \fB/\fP following \fIpattern\fP may be omitted. +If the +.B nocasematch +shell option is enabled, the match is performed without regard to the case +of alphabetic characters. If .I parameter is @@ -3105,6 +3186,58 @@ or .BR * , the case modification operation is applied to each member of the array in turn, and the expansion is the resultant list. +.TP +${\fIparameter\fP\fB@\fP\fIoperator\fP} +\fBParameter transformation\fP. +The expansion is either a transformation of the value of \fIparameter\fP +or information about \fIparameter\fP itself, depending on the value of +\fIoperator\fP. Each \fIoperator\fP is a single letter: +.sp 1 +.RS +.PD 0 +.TP +.B Q +The expansion is a string that is the value of \fIparameter\fP quoted in a +format that can be reused as input. +.TP +.B E +The expansion is a string that is the value of \fIparameter\fP with backslash +escape sequences expanded as with the \fB$'...'\fP quoting mechansim. +.TP +.B P +The expansion is a string that is the result of expanding the value of +\fIparameter\fP as if it were a prompt string (see \fBPROMPTING\fP below). +.TP +.B A +The expansion is a string in the form of +an assignment statement or \fBdeclare\fP command that, if +evaluated, will recreate \fIparameter\fP with its attributes and value. +.TP +.B a +The expansion is a string consisting of flag values representing +\fIparameter\fP's attributes. +.PD +.PP +If +.I parameter +is +.B @ +or +.BR * , +the operation is applied to each positional +parameter in turn, and the expansion is the resultant list. +If +.I parameter +is an array variable subscripted with +.B @ +or +.BR * , +the case modification operation is applied to each member of the +array in turn, and the expansion is the resultant list. +.sp 1 +The result of the expansion is subject to word splitting and pathname +expansion as described below. +.RE .SS Command Substitution .PP \fICommand substitution\fP allows the output of a command to replace @@ -3119,8 +3252,8 @@ or .RE .PP .B Bash -performs the expansion by executing \fIcommand\fP and -replacing the command substitution with the standard output of the +performs the expansion by executing \fIcommand\fP in a subshell environment +and replacing the command substitution with the standard output of the command, with any trailing newlines deleted. Embedded newlines are not deleted, but they may be removed during word splitting. @@ -3171,22 +3304,26 @@ is invalid, prints a message indicating failure and no substitution occurs. .SS Process Substitution .PP -\fIProcess substitution\fP is supported on systems that support named -pipes (\fIFIFOs\fP) or the \fB/dev/fd\fP method of naming open files. +\fIProcess substitution\fP allows a process's input or output to be +referred to using a filename. It takes the form of \fB<(\fP\fIlist\^\fP\fB)\fP or \fB>(\fP\fIlist\^\fP\fB)\fP. -The process \fIlist\fP is run with its input or output connected to a -\fIFIFO\fP or some file in \fB/dev/fd\fP. The name of this file is +The process \fIlist\fP is run asynchronously, and its input or output +appears as a filename. +This filename is passed as an argument to the current command as the result of the -expansion. If the \fB>(\fP\fIlist\^\fP\fB)\fP form is used, writing to +expansion. +If the \fB>(\fP\fIlist\^\fP\fB)\fP form is used, writing to the file will provide input for \fIlist\fP. If the \fB<(\fP\fIlist\^\fP\fB)\fP form is used, the file passed as an argument should be read to obtain the output of \fIlist\fP. +Process substitution is supported on systems that support named +pipes (\fIFIFOs\fP) or the \fB/dev/fd\fP method of naming open files. .PP When available, process substitution is performed -simultaneously with parameter and variable expansion, +simultaneously with parameter and variable expansion, command substitution, and arithmetic expansion. .SS Word Splitting @@ -3227,9 +3364,10 @@ If .B IFS has a value other than the default, then sequences of the whitespace characters -.B space +.BR space , +.BR tab , and -.B tab +.B newline are ignored at the beginning and end of the word, as long as the whitespace character is in the value of @@ -3258,11 +3396,18 @@ If the value of .B IFS is null, no word splitting occurs. .PP -Explicit null arguments (\^\f3"\^"\fP or \^\f3\(aq\^\(aq\fP\^) are retained. +Explicit null arguments (\^\f3"\^"\fP or \^\f3\(aq\^\(aq\fP\^) are retained +and passed to commands as empty strings. Unquoted implicit null arguments, resulting from the expansion of parameters that have no values, are removed. If a parameter with no value is expanded within double quotes, a -null argument results and is retained. +null argument results and is retained +and passed to a command as an empty string. +When a quoted null argument appears as part of a word whose expansion is +non-null, the null argument is removed. +That is, the word +\f(CW\-d\(aq\^\(aq\fP becomes \f(CW\-d\fP after word splitting and +null argument removal. .PP Note that if no expansion occurs, no splitting is performed. @@ -3291,7 +3436,7 @@ If no matching filenames are found, and the shell option .B nullglob is not enabled, the word is left unchanged. -If the +If the .B nullglob option is set, and no matches are found, the word is removed. @@ -3340,6 +3485,10 @@ is set, each matching filename that also matches one of the patterns in .SM .B GLOBIGNORE is removed from the list of matches. +If the \fBnocaseglob\fP option is set, the matching against the patterns in +.SM +.B GLOBIGNORE +is performed without regard to case. The filenames .B ``.'' and @@ -3368,6 +3517,8 @@ option is disabled when .SM .B GLOBIGNORE is unset. +The pattern matching honors the setting of the \fBextglob\fP shell +option. .PP \fBPattern Matching\fP .PP @@ -3427,7 +3578,7 @@ shell variable to or enable the .B globasciiranges shell option. -A +A .B \- may be matched by including it as the first or last character in the set. @@ -3458,7 +3609,7 @@ The \fBword\fP character class matches letters, digits, and the character _. .if n .sp 1 Within .B [ -and +and .BR ] , an \fIequivalence class\fP can be specified using the syntax \fB[=\fP\fIc\fP\fB=]\fP, which matches all characters with the @@ -3469,7 +3620,7 @@ the character \fIc\fP. .if n .sp 1 Within .B [ -and +and .BR ] , the syntax \fB[.\fP\fIsymbol\fP\fB.]\fP matches the collating symbol \fIsymbol\fP. @@ -3557,14 +3708,14 @@ If it expands to more than one word, .B bash reports an error. .PP -Note that the order of redirections is significant. For example, +Note that the order of redirections is significant. For example, the command .RS .PP ls \fB>\fP dirlist 2\fB>&\fP1 .RE .PP -directs both standard output and standard error to the file +directs both standard output and standard error to the file .IR dirlist , while the command .RS @@ -3579,7 +3730,10 @@ before the standard output was redirected to .IR dirlist . .PP \fBBash\fP handles several filenames specially when they are used in -redirections, as described in the following table: +redirections, as described in the following table. +If the operating system on which \fBbash\fP is running provides these +special files, bash will use them; otherwise it will emulate them +internally with the behavior described below. .RS .PP .PD 0 @@ -3745,13 +3899,13 @@ current source until a line containing only (with no trailing blanks) is seen. All of the lines read up to that point are then used as the standard -input for a command. +input (or file descriptor \fIn\fP if \fIn\fP is specified) for a command. .PP The format of here-documents is: .RS .PP .nf -\fB<<\fP[\fB\-\fP]\fIword\fP +[\fIn\fP]\fB<<\fP[\fB\-\fP]\fIword\fP \fIhere-document\fP \fIdelimiter\fP .fi @@ -3760,9 +3914,9 @@ The format of here-documents is: No parameter and variable expansion, command substitution, arithmetic expansion, or pathname expansion is performed on .IR word . -If any characters in +If any part of .I word -are quoted, the +is quoted, the .I delimiter is the result of quote removal on .IR word , @@ -3793,7 +3947,7 @@ A variant of here documents, the format is: .RS .PP .nf -\fB<<<\fP\fIword\fP +[\fIn\fP]\fB<<<\fP\fIword\fP .fi .RE .PP @@ -3801,8 +3955,9 @@ The \fIword\fP undergoes brace expansion, tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, and quote removal. Pathname expansion and word splitting are not performed. -The result is supplied as a single string to the command on its -standard input. +The result is supplied as a single string, with a newline appended, +to the command on its +standard input (or file descriptor \fIn\fP if \fIn\fP is specified). .SS "Duplicating File Descriptors" .PP The redirection operator @@ -3961,7 +4116,7 @@ on that line are not affected by the new alias. This behavior is also an issue when functions are executed. Aliases are expanded when a function definition is read, not when the function is executed, because a function definition -is itself a compound command. As a consequence, aliases +is itself a command. As a consequence, aliases defined in a function are not available until after that function is executed. To be safe, always put alias definitions on a separate line, and do not use @@ -3995,7 +4150,7 @@ is executing. .PP All other aspects of the shell execution environment are identical between a function and its caller -with these exceptions: the +with these exceptions: the .SM .B DEBUG and @@ -4079,7 +4234,7 @@ By default, no limit is imposed on the number of recursive calls. .SH "ARITHMETIC EVALUATION" The shell allows arithmetic expressions to be evaluated, under certain circumstances (see the \fBlet\fP and \fBdeclare\fP builtin -commands and \fBArithmetic Expansion\fP). +commands, the \fB((\fP compound command, and \fBArithmetic Expansion\fP). Evaluation is done in fixed-width integers with no check for overflow, though division by 0 is trapped and flagged as an error. The operators and their precedence, associativity, and values @@ -4165,7 +4320,7 @@ is a decimal number between 2 and 64 representing the arithmetic base, and \fIn\fP is a number in that base. If \fIbase#\fP is omitted, then base 10 is used. When specifying \fIn\fP, -the digits greater< than 9 are represented by the lowercase letters, +the digits greater than 9 are represented by the lowercase letters, the uppercase letters, @, and _, in that order. If \fIbase\fP is less than or equal to 36, lowercase and uppercase letters may be used interchangeably to represent numbers between 10 @@ -4179,6 +4334,11 @@ Conditional expressions are used by the \fB[[\fP compound command and the \fBtest\fP and \fB[\fP builtin commands to test file attributes and perform string and arithmetic comparisons. Expressions are formed from the following unary or binary primaries. +\fBBash\fP handles several filenames specially when they are used in +expressions. +If the operating system on which \fBbash\fP is running provides these +special files, bash will use them; otherwise it will emulate them +internally with this behavior: If any \fIfile\fP argument to one of the primaries is of the form \fI/dev/fd/n\fP, then file descriptor \fIn\fP is checked. If the \fIfile\fP argument to one of the primaries is one of @@ -4444,7 +4604,7 @@ If the program is a file beginning with the remainder of the first line specifies an interpreter for the program. The shell executes the specified interpreter on operating systems that do not -handle this executable format themselves. The arguments to the +handle this executable format themselves. The arguments to the interpreter consist of a single optional argument following the interpreter name on the first line of the program, followed by the name of the program, followed by the command @@ -4503,7 +4663,7 @@ traps caught by the shell are reset to the values inherited from the shell's parent, and traps ignored by the shell are ignored .PP A command invoked in this separate environment cannot affect the -shell's execution environment. +shell's execution environment. .PP Command substitution, commands grouped with parentheses, and asynchronous commands are invoked in a @@ -4526,7 +4686,7 @@ shell as modified by redirections. When a program is invoked it is given an array of strings called the .IR environment . -This is a list of +This is a list of \fIname\fP\-\fIvalue\fP pairs, of the form .IR "name\fR=\fPvalue" . .PP @@ -4563,7 +4723,7 @@ parameter assignments, as described above in These assignment statements affect only the environment seen by that command. .PP -If the +If the .B \-k option is set (see the .B set @@ -4584,11 +4744,11 @@ The exit status of an executed command is the value returned by the \fIwaitpid\fP system call or equivalent function. Exit statuses fall between 0 and 255, though, as explained below, the shell may use values above 125 specially. Exit statuses from shell builtins and -compound commands are also limited to this range. Under certain +compound commands are also limited to this range. Under certain circumstances, the shell will use special values to indicate specific failure modes. .PP -For the shell's purposes, a command which exits with a +For the shell's purposes, a command which exits with a zero exit status has succeeded. An exit status of zero indicates success. A non-zero exit status indicates failure. When a command terminates on a fatal signal \fIN\fP, \fBbash\fP uses @@ -4603,8 +4763,9 @@ the exit status is greater than zero. .PP Shell builtin commands return a status of 0 (\fItrue\fP) if successful, and non-zero (\fIfalse\fP) if an error occurs -while they execute. -All builtins return an exit status of 2 to indicate incorrect usage. +while they execute. +All builtins return an exit status of 2 to indicate incorrect usage, +generally invalid options or missing arguments. .PP \fBBash\fP itself returns the exit status of the last command executed, unless a syntax error occurs, in which case it exits @@ -4668,12 +4829,12 @@ to ensure that they receive the .BR SIGHUP . To prevent the shell from sending the signal to a particular job, it should be removed from the -jobs table with the +jobs table with the .B disown builtin (see .SM .B "SHELL BUILTIN COMMANDS" -below) or marked +below) or marked to not receive .SM .B SIGHUP @@ -4685,14 +4846,14 @@ If the shell option has been set with .BR shopt , .B bash -sends a +sends a .SM .B SIGHUP to all jobs when an interactive login shell exits. .PP If \fBbash\fP is waiting for a command to complete and receives a signal for which a trap has been set, the trap will not be executed until -the command completes. +the command completes. When \fBbash\fP is waiting for an asynchronous command via the \fBwait\fP builtin, the reception of a signal for which a trap has been set will cause the \fBwait\fP builtin to return immediately with an exit status @@ -4746,7 +4907,7 @@ user so specifies with \f(CWstty tostop\fP, write to the terminal. Background processes which attempt to read from (write to when \f(CWstty tostop\fP is in effect) the -terminal are sent a +terminal are sent a .SM .B SIGTTIN (SIGTTOU) signal by the kernel's terminal driver, @@ -4763,7 +4924,7 @@ Typing the character (typically .BR ^Z , Control-Z) while a process is running -causes that process to be stopped and returns control to +causes that process to be stopped and returns control to .BR bash . Typing the .I "delayed suspend" @@ -4813,7 +4974,7 @@ refer to the shell's notion of the .IR "current job" , which is the last job stopped while it was in the foreground or started in the background. -The +The .I "previous job" may be referenced using .BR %\- . @@ -4844,7 +5005,7 @@ Normally, .B bash waits until it is about to print a prompt before reporting changes in a job's status so as to not interrupt -any other output. If the +any other output. If the .B \-b option to the .B set @@ -4865,12 +5026,12 @@ warning message, and, if the \fBcheckjobs\fP option is enabled, lists the jobs and their statuses. The .B jobs -command may then be used to inspect their status. +command may then be used to inspect their status. If a second attempt to exit is made without an intervening command, the shell does not print another warning, and any stopped jobs are terminated. .SH PROMPTING -When executing interactively, +When executing interactively, .B bash displays the primary prompt .SM @@ -4880,6 +5041,10 @@ when it is ready to read a command, and the secondary prompt .B PS2 when it needs more input to complete a command. .B Bash +displays +.B PS0 +after it reads a command but before executing it. +.B Bash allows these prompt strings to be customized by inserting a number of backslash-escaped special characters that are decoded as follows: .RS @@ -5034,10 +5199,10 @@ builtin. .PP In this section, the Emacs-style notation is used to denote keystrokes. Control keys are denoted by C\-\fIkey\fR, e.g., C\-n -means Control\-N. Similarly, +means Control\-N. Similarly, .I meta keys are denoted by M\-\fIkey\fR, so M\-x means Meta\-X. (On keyboards -without a +without a .I meta key, M\-\fIx\fP means ESC \fIx\fP, i.e., press the Escape key then the @@ -5055,7 +5220,7 @@ which normally act as a repeat count. Sometimes, however, it is the sign of the argument that is significant. Passing a negative argument to a command that acts in the forward direction (e.g., \fBkill\-line\fP) causes that command to act in a -backward direction. +backward direction. Commands whose behavior with arguments deviates from this are noted below. .PP @@ -5063,7 +5228,7 @@ When a command is described as \fIkilling\fP text, the text deleted is saved for possible future retrieval (\fIyanking\fP). The killed text is saved in a \fIkill ring\fP. Consecutive kills cause the text to be -accumulated into one unit, which can be yanked all at once. +accumulated into one unit, which can be yanked all at once. Commands which do not kill text separate the chunks of text on the kill ring. .SS "Readline Initialization" @@ -5086,7 +5251,7 @@ Lines beginning with a \fB$\fP indicate conditional constructs. Other lines denote key bindings and variable settings. .PP The default key-bindings may be changed with an -.I inputrc +.I inputrc file. Other programs that use this library may add their own commands and bindings. @@ -5100,7 +5265,7 @@ or .RS C\-Meta\-u: universal\-argument .RE -into the +into the .I inputrc would make M\-C\-u execute the readline command .IR universal\-argument . @@ -5126,7 +5291,7 @@ The syntax for controlling key bindings in the .I inputrc file is simple. All that is required is the name of the command or the text of a macro and a key sequence to which -it should be bound. The name may be specified in one of two ways: +it should be bound. The name may be specified in one of two ways: as a symbolic key name, possibly with \fIMeta\-\fP or \fIControl\-\fP prefixes, or as a key sequence. .PP @@ -5182,7 +5347,7 @@ is again bound to the function .I "C\-x C\-r" is bound to the function .BR re\-read\-init\-file , -and +and .I "ESC [ 1 1 ~" is bound to insert the text .if t \f(CWFunction Key 1\fP. @@ -5306,9 +5471,19 @@ If set to \fBOn\fP, readline attempts to bind the control characters treated specially by the kernel's terminal driver to their readline equivalents. .TP +.B blink\-matching\-paren (Off) +If set to \fBOn\fP, readline attempts to briefly move the cursor to an +opening parenthesis when a closing parenthesis is inserted. +.TP +.B colored\-completion\-prefix (Off) +If set to \fBOn\fP, when listing completions, readline displays the +common prefix of the set of possible completions using a different color. +The color definitions are taken from the value of the \fBLS_COLORS\fP +environment variable. +.TP .B colored\-stats (Off) If set to \fBOn\fP, readline displays possible completions using different -colors to indicate their file type. +colors to indicate their file type. The color definitions are taken from the value of the \fBLS_COLORS\fP environment variable. .TP @@ -5322,10 +5497,23 @@ in emacs mode and to .B # in vi command mode. .TP +.B completion\-display\-width (-1) +The number of screen columns used to display possible matches +when performing completion. +The value is ignored if it is less than 0 or greater than the terminal +screen width. +A value of 0 will cause matches to be displayed one per line. +The default value is -1. +.TP .B completion\-ignore\-case (Off) If set to \fBOn\fP, readline performs filename matching and completion in a case\-insensitive fashion. .TP +.B completion\-map\-case (Off) +If set to \fBOn\fP, and \fBcompletion\-ignore\-case\fP is enabled, readline +treats hyphens (\fI\-\fP) and underscores (\fI_\fP) as equivalent when +performing case\-insensitive filename matching and completion. +.TP .B completion\-prefix\-display\-length (0) The length in characters of the common prefix of a list of possible completions that is displayed without modification. When set to a @@ -5347,12 +5535,19 @@ If set to \fBOn\fP, readline will convert characters with the eighth bit set to an ASCII key sequence by stripping the eighth bit and prefixing an escape character (in effect, using escape as the \fImeta prefix\fP). +The default is \fIOn\fP, but readline will set it to \fIOff\fP if the +locale contains eight-bit characters. .TP .B disable\-completion (Off) If set to \fBOn\fP, readline will inhibit word completion. Completion characters will be inserted into the line as if they had been mapped to \fBself-insert\fP. .TP +.B echo\-control\-characters (On) +When set to \fBOn\fP, on operating systems that indicate they support it, +readline echoes a character corresponding to a signal generated from the +keyboard. +.TP .B editing\-mode (emacs) Controls whether readline begins with a set of key bindings similar to \fIEmacs\fP or \fIvi\fP. @@ -5362,10 +5557,12 @@ can be set to either or .BR vi . .TP -.B echo\-control\-characters (On) -When set to \fBOn\fP, on operating systems that indicate they support it, -readline echoes a character corresponding to a signal generated from the -keyboard. +.B enable\-bracketed\-paste (Off) +When set to \fBOn\fP, readline will configure the terminal in a way +that will enable it to insert each paste into the editing buffer as a +single string of characters, instead of treating each character as if +it had been read from the keyboard. This can prevent pasted characters +from being interpreted as editing commands. .TP .B enable\-keypad (Off) When set to \fBOn\fP, readline will try to enable the application @@ -5386,13 +5583,16 @@ If set to \fBOn\fP, the history code attempts to place point at the same location on each history line retrieved with \fBprevious-history\fP or \fBnext-history\fP. .TP -.B history\-size (0) +.B history\-size (unset) Set the maximum number of history entries saved in the history list. If set to zero, any existing history entries are deleted and no new entries are saved. If set to a value less than zero, the number of history entries is not limited. -By default, the number of history entries is not limited. +By default, the number of history entries is set to the value of the +\fBHISTSIZE\fP shell variable. +If an attempt is made to set \fIhistory\-size\fP to a non-numeric value, +the maximum number of history entries will be set to 500. .TP .B horizontal\-scroll\-mode (Off) When set to \fBOn\fP, makes readline use a single line for display, @@ -5401,10 +5601,12 @@ becomes longer than the screen width rather than wrapping to a new line. .TP .B input\-meta (Off) If set to \fBOn\fP, readline will enable eight-bit input (that is, -it will not strip the high bit from the characters it reads), +it will not strip the eighth bit from the characters it reads), regardless of what the terminal claims it can support. The name .B meta\-flag is a synonym for this variable. +The default is \fIOff\fP, but readline will set it to \fIOn\fP if the +locale contains eight-bit characters. .TP .B isearch\-terminators (``C\-[C\-J'') The string of characters that should terminate an incremental @@ -5424,6 +5626,15 @@ the value of .B editing\-mode also affects the default keymap. .TP +.B emacs\-mode\-string (@) +This string is displayed immediately before the last line of the primary +prompt when emacs editing mode is active. The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the \e1 and \e2 escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string. +.TP .B keyseq\-timeout (500) Specifies the duration \fIreadline\fP will wait for a character when reading an ambiguous key sequence (one that can form a complete key sequence using @@ -5452,7 +5663,7 @@ have a slash appended (subject to the value of .TP .B match\-hidden\-files (On) This variable, when set to \fBOn\fP, causes readline to match files whose -names begin with a `.' (hidden files) when performing filename +names begin with a `.' (hidden files) when performing filename completion. If set to \fBOff\fP, the leading `.' must be supplied by the user in the filename to be completed. @@ -5466,6 +5677,8 @@ the list. If set to \fBOn\fP, readline will display characters with the eighth bit set directly rather than as a meta-prefixed escape sequence. +The default is \fIOff\fP, but readline will set it to \fIOn\fP if the +locale contains eight-bit characters. .TP .B page\-completions (On) If set to \fBOn\fP, readline uses an internal \fImore\fP-like pager @@ -5474,9 +5687,9 @@ to display a screenful of possible completions at a time. .B print\-completions\-horizontally (Off) If set to \fBOn\fP, readline will display completions with matches sorted horizontally in alphabetical order, rather than down the screen. -.TP +.TP .B revert\-all\-at\-newline (Off) -If set to \fBOn\fP, readline will undo all changes to history lines +If set to \fBOn\fP, readline will undo all changes to history lines before returning when \fBaccept\-line\fP is executed. By default, history lines may be modified and retain individual undo lists across calls to \fBreadline\fP. @@ -5511,6 +5724,26 @@ does not insert characters from the completion that match characters after point in the word being completed, so portions of the word following the cursor are not duplicated. .TP +.B vi\-cmd\-mode\-string ((cmd)) +This string is displayed immediately before the last line of the primary +prompt when vi editing mode is active and in command mode. +The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the \e1 and \e2 escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string. +.TP +.B vi\-ins\-mode\-string ((ins)) +This string is displayed immediately before the last line of the primary +prompt when vi editing mode is active and in insertion mode. +The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the \e1 and \e2 escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string. +.TP .B visible\-stats (Off) If set to \fBOn\fP, a character denoting a file's type as reported by \fIstat\fP(2) is appended to the filename when listing possible @@ -5523,7 +5756,7 @@ compilation features of the C preprocessor which allows key bindings and variable settings to be performed as the result of tests. There are four parser directives used. .IP \fB$if\fP -The +The .B $if construct allows bindings to be made based on the editing mode, the terminal being used, or the application using @@ -5542,7 +5775,7 @@ The \fBterm=\fP form may be used to include terminal-specific key bindings, perhaps to bind the key sequences output by the terminal's function keys. The word on the right side of the .B = -is tested against the both full name of the terminal and the portion +is tested against both the full name of the terminal and the portion of the terminal name before the first \fB\-\fP. This allows .I sun to match both @@ -5854,7 +6087,7 @@ Negative arguments have no effect. Drag the word before point past the word after point, moving point over that word as well. If point is at the end of the line, this transposes -the last two words on the line. +the last two words on the line. .TP .B upcase\-word (M\-u) Uppercase the current (or following) word. With a negative argument, @@ -5874,7 +6107,7 @@ switches to overwrite mode. With an explicit non-positive numeric argument, switches to insert mode. This command affects only \fBemacs\fP mode; \fBvi\fP mode does overwrite differently. Each call to \fIreadline()\fP starts in insert mode. -In overwrite mode, characters bound to \fBself\-insert\fP replace +In overwrite mode, characters bound to \fBself\-insert\fP replace the text at point rather than pushing the text to the right. Characters bound to \fBbackward\-delete\-char\fP replace the character before point with a space. By default, this command is unbound. @@ -5897,7 +6130,7 @@ The killed text is saved on the kill-ring. .B kill\-whole\-line Kill all characters on the current line, no matter where point is. .TP -.B kill\-word (M\-d) +.B kill\-word (M\-d) Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as those used by \fBforward\-word\fP. @@ -5906,12 +6139,12 @@ Word boundaries are the same as those used by \fBforward\-word\fP. Kill the word behind point. Word boundaries are the same as those used by \fBbackward\-word\fP. .TP -.B shell\-kill\-word (M\-d) +.B shell\-kill\-word Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as those used by \fBshell\-forward\-word\fP. .TP -.B shell\-backward\-kill\-word (M\-Rubout) +.B shell\-backward\-kill\-word Kill the word behind point. Word boundaries are the same as those used by \fBshell\-backward\-word\fP. .TP @@ -5966,7 +6199,7 @@ If the command is followed by digits, executing .B universal\-argument again ends the numeric argument, but is otherwise ignored. As a special case, if this command is immediately followed by a -character that is neither a digit or minus sign, the argument count +character that is neither a digit nor minus sign, the argument count for the next command is multiplied by four. The argument count is initially one, so executing this function the first time makes the argument count four, a second time makes the @@ -6161,10 +6394,10 @@ but usually bound to ESC\-[. Without a numeric argument, the value of the readline .B comment\-begin variable is inserted at the beginning of the current line. -If a numeric argument is supplied, this command acts as a toggle: if +If a numeric argument is supplied, this command acts as a toggle: if the characters at the beginning of the line do not match the value of \fBcomment\-begin\fP, the value is inserted, otherwise -the characters in \fBcomment\-begin\fP are deleted from the beginning of +the characters in \fBcomment\-begin\fP are deleted from the beginning of the line. In either case, the line is accepted as if a newline had been typed. The default value of @@ -6275,7 +6508,7 @@ Shell quoting is honored. Each word is then expanded using brace expansion, tilde expansion, parameter and variable expansion, command substitution, and arithmetic expansion, -as described above under +as described above under .SM .BR EXPANSION . The results are split using the rules described above under @@ -6297,7 +6530,7 @@ and .B COMP_TYPE variables are assigned values as described above under \fBShell Variables\fP. -If a shell function is being invoked, the +If a shell function is being invoked, the .SM .B COMP_WORDS and @@ -6337,6 +6570,10 @@ is removed before attempting a match. Any completion that matches the pattern will be removed from the list. A leading \fB!\fP negates the pattern; in this case any completion not matching the pattern will be removed. +If the +.B nocasematch +shell option is enabled, the match is performed without regard to the case +of alphabetic characters. .PP Finally, any prefix and suffix specified with the \fB\-P\fP and \fB\-S\fP options are added to each member of the completion list, and the result is @@ -6365,7 +6602,7 @@ generate no matches. .PP When a compspec indicates that directory name completion is desired, the programmable completion functions force readline to append a slash -to completed names which are symbolic links to directories, subject to +to completed names which are symbolic links to directories, subject to the value of the \fBmark\-directories\fP readline variable, regardless of the setting of the \fBmark-symlinked\-directories\fP readline variable. .PP @@ -6562,7 +6799,9 @@ quotes are considered one word. History expansions are introduced by the appearance of the history expansion character, which is \^\fB!\fP\^ by default. Only backslash (\^\fB\e\fP\^) and single quotes can quote -the history expansion character. +the history expansion character, but the history expansion character is +also treated as quoted if it immediately precedes the closing double quote +in a double-quoted string. .PP Several characters inhibit history expansion if found immediately following the history expansion character, even if it is unquoted: @@ -6669,7 +6908,7 @@ The entire command line typed so far. .SS Word Designators .PP Word designators are used to select desired words from the event. -A +A .B : separates the event specification from the word designator. It may be omitted if the word designator begins with a @@ -6808,7 +7047,8 @@ accepts to signify the end of the options. The \fB:\fP, \fBtrue\fP, \fBfalse\fP, and \fBtest\fP builtins do not accept options and do not treat \fB\-\-\fP specially. -The \fBexit\fP, \fBlogout\fP, \fBbreak\fP, \fBcontinue\fP, \fBlet\fP, +The \fBexit\fP, \fBlogout\fP, \fBreturn\fP, +\fBbreak\fP, \fBcontinue\fP, \fBlet\fP, and \fBshift\fP builtins accept and process arguments beginning with \fB\-\fP without requiring \fB\-\-\fP. Other builtins that accept arguments but are not specified as accepting @@ -6822,7 +7062,8 @@ require \fB\-\-\fP to prevent this interpretation. No effect; the command does nothing beyond expanding .I arguments and performing any specified -redirections. A zero exit code is returned. +redirections. +The return status is zero. .TP \fB .\| \fP \fIfilename\fP [\fIarguments\fP] .PD 0 @@ -6861,6 +7102,12 @@ is not searched. If any \fIarguments\fP are supplied, they become the positional parameters when \fIfilename\fP is executed. Otherwise the positional parameters are unchanged. +If the \fB\-T\fP option is enabled, \fBsource\fP inherits any trap on +\fBDEBUG\fP; if it is not, any \fBDEBUG\fP trap string is saved and +restored around the call to \fBsource\fP, and \fBsource\fP unsets the +\fBDEBUG\fP trap while it executes. +If \fB\-T\fP is not set, and the sourced file changes +the \fBDEBUG\fP trap, the new value is retained when \fBsource\fP completes. The return status is the status of the last command exited within the script (0 if no commands are executed), and false if .I filename @@ -6873,7 +7120,7 @@ option prints the list of aliases in the form \fBalias\fP \fIname\fP=\fIvalue\fP on standard output. When arguments are supplied, an alias is defined for each \fIname\fP whose \fIvalue\fP is given. -A trailing space in \fIvalue\fP causes the next word to be +A trailing space in \fIvalue\fP causes the next word to be checked for alias substitution when the alias is expanded. For each \fIname\fP in the argument list for which no \fIvalue\fP is supplied, the name and value of the alias is printed. @@ -6904,7 +7151,7 @@ or was started without job control. .TP \fBbind\fP [\fB\-m\fP \fIkeymap\fP] \fIkeyseq\fP:\fIfunction\-name\fP .TP -\fBbind\fP \fIreadline\-command\fP +\fBbind\fP [\fB\-m\fP \fIkeymap\fP] \fIkeyseq\fP:\fIreadline\-command\fP .PD Display current .B readline @@ -6931,7 +7178,8 @@ names are \fIemacs, emacs\-standard, emacs\-meta, emacs\-ctlx, vi, vi\-move, vi\-command\fP, and .IR vi\-insert . -\fIvi\fP is equivalent to \fIvi\-command\fP; \fIemacs\fP is +\fIvi\fP is equivalent to \fIvi\-command\fP (\fIvi\-move\fP is also +a synonym); \fIemacs\fP is equivalent to \fIemacs\-standard\fP. .TP .B \-l @@ -7030,7 +7278,7 @@ Returns the context of any active subroutine call (a shell function or a script executed with the \fB.\fP or \fBsource\fP builtins). Without \fIexpr\fP, \fBcaller\fP displays the line number and source filename of the current subroutine call. -If a non-negative integer is supplied as \fIexpr\fP, \fBcaller\fP +If a non-negative integer is supplied as \fIexpr\fP, \fBcaller\fP displays the line number, subroutine name, and source file corresponding to that position in the current execution call stack. This extra information may be used, for example, to print a stack trace. The @@ -7067,7 +7315,7 @@ begins with a slash (/), then .SM .B CDPATH -is not used. The +is not used. The .B \-P option causes \fBcd\fP to use the physical directory structure by resolving symbolic links while traversing \fIdir\fP and @@ -7112,8 +7360,8 @@ Run .I command with .I args -suppressing the normal shell function lookup. Only builtin -commands or commands found in the +suppressing the normal shell function lookup. +Only builtin commands or commands found in the .SM .B PATH are executed. If the @@ -7231,12 +7479,15 @@ Intended to be used with shell functions. Tell readline not to quote the completed words if they are filenames (quoting filenames is the default). .TP 8 +.B nosort +Tell readline not to sort the list of possible completions alphabetically. +.TP 8 .B nospace Tell readline not to append a space (the default) to words completed at the end of the line. .TP 8 .B plusdirs -After any matches defined by the compspec are generated, +After any matches defined by the compspec are generated, directory name completion is attempted and any matches are added to the results of the other actions. .RE @@ -7442,8 +7693,8 @@ The option inhibits the display of function definitions; only the function name and attributes are printed. If the \fBextdebug\fP shell option is enabled using \fBshopt\fP, -the source file name and line number where the function is defined -are displayed as well. The +the source file name and line number where each \fIname\fP +is defined are displayed as well. The .B \-F option implies .BR \-f . @@ -7486,10 +7737,11 @@ The upper-case attribute is disabled. Give each \fIname\fP the \fInameref\fP attribute, making it a name reference to another variable. That other variable is defined by the value of \fIname\fP. -All references and assignments to \fIname\fP, except for changing the +All references, assignments, and attribute modifications +to \fIname\fP, except those using or changing the \fB\-n\fP attribute itself, are performed on the variable referenced by \fIname\fP's value. -The \fB\-n\fP attribute cannot be applied to array variables. +The nameref attribute cannot be applied to array variables. .TP .B \-r Make \fIname\fPs readonly. These names cannot then be assigned values @@ -7547,11 +7799,12 @@ or an attempt is made to display a non-existent function with \fB\-f\fP. Without options, displays the list of currently remembered directories. The default display is on a single line with directory names separated by spaces. -Directories are added to the list with the +Directories are added to the list with the .B pushd command; the .B popd command removes entries from the list. +The current directory is always the first directory in the stack. .RS .PD 0 .TP @@ -7587,7 +7840,7 @@ invalid option is supplied or \fIn\fP indexes beyond the end of the directory stack. .RE .TP -\fBdisown\fP [\fB\-ar\fP] [\fB\-h\fP] [\fIjobspec\fP ...] +\fBdisown\fP [\fB\-ar\fP] [\fB\-h\fP] [\fIjobspec\fP ... | \fIpid\fP ... ] Without options, remove each .I jobspec from the table of active jobs. @@ -7746,7 +7999,7 @@ become the arguments to \fIcommand\fP. If the .B \-l option is supplied, -the shell places a dash at the beginning of the zeroth argument passed to +the shell places a dash at the beginning of the zeroth argument passed to .IR command . This is what .IR login (1) @@ -7792,10 +8045,9 @@ is executed before the shell terminates. The supplied .I names are marked for automatic export to the environment of -subsequently executed commands. If the +subsequently executed commands. If the .B \-f -option is given, -the +option is given, the .I names refer to functions. If no @@ -7835,7 +8087,7 @@ and may be specified as a string (to locate the last command beginning with that string) or as a number (an index into the history list, where a negative number is used as an offset from the current -command number). If +command number). If .I last is not specified it is set to the current command for listing (so that @@ -7992,7 +8244,7 @@ If the variable .SM .B OPTERR is set to 0, no error messages will be displayed, even if the first -character of +character of .I optstring is not a colon. .sp 1 @@ -8036,7 +8288,7 @@ error occurs. .TP \fBhash\fP [\fB\-lr\fP] [\fB\-p\fP \fIfilename\fP] [\fB\-dt\fP] [\fIname\fP] Each time \fBhash\fP is invoked, -the full pathname of the command +the full pathname of the command .I name is determined by searching the directories in @@ -8109,7 +8361,7 @@ The return status is 0 unless no command matches .PD With no options, display the command history list with line numbers. Lines listed -with a +with a .B * have been modified. An argument of .I n @@ -8139,8 +8391,9 @@ Clear the history list by deleting all the entries. Delete the history entry at position \fIoffset\fP. .TP .B \-a -Append the ``new'' history lines (history lines entered since the -beginning of the current \fBbash\fP session) to the history file. +Append the ``new'' history lines to the history file. +These are history lines entered since the beginning of the current +\fBbash\fP session, but not already appended to the history file. .TP .B \-n Read the history lines not already read from the history @@ -8179,7 +8432,7 @@ associated with each history entry is written to the history file, marked with the history comment character. When the history file is read, lines beginning with the history comment character followed immediately by a digit are interpreted -as timestamps for the previous history line. +as timestamps for the following history entry. The return value is 0 unless an invalid option is encountered, an error occurs while reading or writing the history file, an invalid \fIoffset\fP is supplied as an argument to \fB\-d\fP, or the @@ -8243,7 +8496,7 @@ returning its exit status. \fBkill\fP [\fB\-s\fP \fIsigspec\fP | \fB\-n\fP \fIsignum\fP | \fB\-\fP\fIsigspec\fP] [\fIpid\fP | \fIjobspec\fP] ... .PD 0 .TP -\fBkill\fP \fB\-l\fP [\fIsigspec\fP | \fIexit_status\fP] +\fBkill\fP \fB\-l\fP|\fB\-L\fP [\fIsigspec\fP | \fIexit_status\fP] .PD Send the signal named by .I sigspec @@ -8280,6 +8533,9 @@ The \fIexit_status\fP argument to .B \-l is a number specifying either a signal number or the exit status of a process terminated by a signal. +The +.B \-L +option is equivalent to \fB\-l\fP. .B kill returns true if at least one signal was successfully sent, or false if an error occurs or an invalid option is encountered. @@ -8297,9 +8553,9 @@ evaluates to 0, .B let returns 1; 0 is returned otherwise. .TP -\fBlocal\fP [\fIoption\fP] [\fIname\fP[=\fIvalue\fP] ...] +\fBlocal\fP [\fIoption\fP] [\fIname\fP[=\fIvalue\fP] ... | \- ] For each argument, a local variable named -.I name +.I name is created, and assigned .IR value . The \fIoption\fP can be any of the options accepted by \fBdeclare\fP. @@ -8308,6 +8564,10 @@ When is used within a function, it causes the variable .I name to have a visible scope restricted to that function and its children. +If \fIname\fP is \-, the set of shell options is made local to the function +in which \fBlocal\fP is invoked: shell options changed using the +\fBset\fP builtin inside the function are restored to their original values +when the function returns. With no operands, .B local writes a list of local variables to the standard output. It is @@ -8323,16 +8583,16 @@ is supplied, or .B logout Exit a login shell. .TP -\fBmapfile\fP [\fB\-n\fP \fIcount\fP] [\fB\-O\fP \fIorigin\fP] [\fB\-s\fP \fIcount\fP] [\fB\-t\fP] [\fB\-u\fP \fIfd\fP] [\fB\-C\fP \fIcallback\fP] [\fB\-c\fP \fIquantum\fP] [\fIarray\fP] +\fBmapfile\fP [\fB\-d\fP \fIdelim\fP] [\fB\-n\fP \fIcount\fP] [\fB\-O\fP \fIorigin\fP] [\fB\-s\fP \fIcount\fP] [\fB\-t\fP] [\fB\-u\fP \fIfd\fP] [\fB\-C\fP \fIcallback\fP] [\fB\-c\fP \fIquantum\fP] [\fIarray\fP] .PD 0 .TP -\fBreadarray\fP [\fB\-n\fP \fIcount\fP] [\fB\-O\fP \fIorigin\fP] [\fB\-s\fP \fIcount\fP] [\fB\-t\fP] [\fB\-u\fP \fIfd\fP] [\fB\-C\fP \fIcallback\fP] [\fB\-c\fP \fIquantum\fP] [\fIarray\fP] +\fBreadarray\fP [\fB\-d\fP \fIdelim\fP] [\fB\-n\fP \fIcount\fP] [\fB\-O\fP \fIorigin\fP] [\fB\-s\fP \fIcount\fP] [\fB\-t\fP] [\fB\-u\fP \fIfd\fP] [\fB\-C\fP \fIcallback\fP] [\fB\-c\fP \fIquantum\fP] [\fIarray\fP] .PD Read lines from the standard input into the indexed array variable .IR array , -or from file descriptor +or from file descriptor .IR fd -if the +if the .B \-u option is supplied. The variable @@ -8343,6 +8603,10 @@ Options, if supplied, have the following meanings: .RS .PD 0 .TP +.B \-d +The first character of \fIdelim\fP is used to terminate each input line, +rather than newline. +.TP .B \-n Copy at most .I count @@ -8359,7 +8623,7 @@ The default index is 0. Discard the first \fIcount\fP lines read. .TP .B \-t -Remove a trailing newline from each line read. +Remove a trailing \fIdelim\fP (default newline) from each line read. .TP .B \-u Read lines from file descriptor \fIfd\fP instead of the standard input. @@ -8377,13 +8641,13 @@ Specify the number of lines read between each call to .PP If .B \-C -is specified without +is specified without .BR \-c , the default quantum is 5000. When \fIcallback\fP is evaluated, it is supplied the index of the next array element to be assigned and the line to be assigned to that element as additional arguments. -\fIcallback\fP is evaluated after the line is read but before the +\fIcallback\fP is evaluated after the line is read but before the array element is assigned. .PP If not supplied with an explicit origin, \fBmapfile\fP will clear \fIarray\fP @@ -8434,7 +8698,7 @@ the next to last. .PP If the .B popd -command is successful, a +command is successful, a .B dirs is performed as well, and the return status is 0. .B popd @@ -8462,9 +8726,8 @@ In addition to the standard \fIprintf\fP(1) format specifications, .B %b causes \fBprintf\fP to expand backslash escape sequences in the corresponding -\fIargument\fP (except that \fB\ec\fP terminates output, backslashes in -\fB\e\(aq\fP, \fB\e"\fP, and \fB\e?\fP are not removed, and octal escapes -beginning with \fB\e0\fP may contain up to four digits). +\fIargument\fP +in the same way as \fBecho \-e\fP. .TP .B %q causes \fBprintf\fP to output the corresponding @@ -8500,15 +8763,15 @@ The return value is zero on success, non-zero on failure. .PD Adds a directory to the top of the directory stack, or rotates the stack, making the new top of the stack the current working -directory. With no arguments, exchanges the top two directories +directory. With no arguments, \fBpushd\fP exchanges the top two directories and returns 0, unless the directory stack is empty. Arguments, if supplied, have the following meanings: .RS .PD 0 .TP .B \-n -Suppresses the normal change of directory when adding directories -to the stack, so that only the stack is manipulated. +Suppresses the normal change of directory when rotating or +adding directories to the stack, so that only the stack is manipulated. .TP \fB+\fP\fIn\fP Rotates the stack so that the \fIn\fPth directory @@ -8533,7 +8796,7 @@ to the \fBcd\fP builtin. .PP If the .B pushd -command is successful, a +command is successful, a .B dirs is performed as well. If the first form is used, @@ -8552,7 +8815,7 @@ fails. Print the absolute pathname of the current working directory. The pathname printed contains no symbolic links if the .B \-P -option is supplied or the +option is supplied or the .B \-o physical option to the .B set @@ -8566,17 +8829,20 @@ invalid option is supplied. .TP \fBread\fP [\fB\-ers\fP] [\fB\-a\fP \fIaname\fP] [\fB\-d\fP \fIdelim\fP] [\fB\-i\fP \fItext\fP] [\fB\-n\fP \fInchars\fP] [\fB\-N\fP \fInchars\fP] [\fB\-p\fP \fIprompt\fP] [\fB\-t\fP \fItimeout\fP] [\fB\-u\fP \fIfd\fP] [\fIname\fP ...] One line is read from the standard input, or from the file descriptor -\fIfd\fP supplied as an argument to the \fB\-u\fP option, and the first word +\fIfd\fP supplied as an argument to the \fB\-u\fP option, +split into words as described above under \fBWord Splitting\fP, +and the first word is assigned to the first .IR name , the second word to the second .IR name , -and so on, with leftover words and their intervening separators assigned -to the last +and so on. +If there are more words than names, the remaining words and their +intervening delimiters are assigned to the last .IR name . If there are fewer words read from the input stream than names, the remaining names are assigned empty values. -The characters in +The characters in .SM .B IFS are used to split the line into words using the same rules the shell @@ -8619,7 +8885,7 @@ buffer before editing begins. .TP .B \-n \fInchars\fP \fBread\fP returns after reading \fInchars\fP characters rather than -waiting for a complete line of input, but honor a delimiter if fewer +waiting for a complete line of input, but honors a delimiter if fewer than \fInchars\fP characters are read before the delimiter. .TP .B \-N \fInchars\fP @@ -8629,6 +8895,9 @@ than waiting for a complete line of input, unless EOF is encountered or Delimiter characters encountered in the input are not treated specially and do not cause \fBread\fP to return until \fInchars\fP characters are read. +The result is not split on the characters in \fBIFS\fP; the intent is +that the variable is assigned exactly the characters read +(with the exception of backslash; see the \fB\-r\fP option below). .TP .B \-p \fIprompt\fP Display \fIprompt\fP on standard error, without a @@ -8670,8 +8939,8 @@ If no are supplied, the line read is assigned to the variable .SM .BR REPLY . -The return code is zero, unless end-of-file is encountered, \fBread\fP -times out (in which case the return code is greater than 128), +The exit status is zero, unless end-of-file is encountered, \fBread\fP +times out (in which case the status is greater than 128), a variable assignment error (such as assigning to a readonly variable) occurs, or an invalid file descriptor is supplied as the argument to \fB\-u\fP. .RE @@ -8721,13 +8990,19 @@ that is not a function. Causes a function to stop executing and return the value specified by .I n to its caller. -If +If .I n is omitted, the return status is that of the last command -executed in the function body. If +executed in the function body. +If \fBreturn\fP is executed by a trap handler, the last command used to +determine the status is the last command executed before the trap handler. +if \fBreturn\fP is executed during a \fBDEBUG\fP trap, the last command +used to determine the status is the last command executed by the trap +handler before \fBreturn\fP was invoked. +If .B return is used outside a function, -but during execution of a script by the +but during execution of a script by the .B . (\fBsource\fP) command, it causes the shell to stop executing that script and return either @@ -8757,7 +9032,7 @@ In \fIposix\fP mode, only shell variables are listed. The output is sorted according to the current locale. When options are specified, they set or unset shell attributes. Any arguments remaining after option processing are treated -as values for the positional parameters and are assigned, in order, to +as values for the positional parameters and are assigned, in order, to .BR $1 , .BR $2 , .B ... @@ -8767,8 +9042,9 @@ Options, if specified, have the following meanings: .PD 0 .TP 8 .B \-a -Automatically mark variables and functions which are modified or -created for export to the environment of subsequent commands. +Each variable or function that is created or modified is given the +export attribute and marked for export to the environment of +subsequent commands. .TP 8 .B \-b Report the status of terminated background jobs @@ -8783,13 +9059,13 @@ or a \fIcompound command\fP (see .SM .B SHELL GRAMMAR -above), exits with a non-zero status. +above), exits with a non-zero status. The shell does not exit if the command that fails is part of the command list immediately following a .B while or .B until -keyword, +keyword, part of the test following the .B if or @@ -8827,7 +9103,7 @@ call completes. .TP 8 .B \-f Disable pathname expansion. -.TP 8 +.TP 8 .B \-h Remember the location of commands as they are looked up for execution. This is enabled by default. @@ -8849,9 +9125,9 @@ When a background job completes, the shell prints a line containing its exit status. .TP 8 .B \-n -Read commands but do not execute them. This may be used to -check a shell script for syntax errors. This is ignored by -interactive shells. +Read commands but do not execute them. +This may be used to check a shell script for syntax errors. +This is ignored by interactive shells. .TP 8 .B \-o \fIoption\-name\fP The \fIoption\-name\fP can be one of the following: @@ -9057,7 +9333,7 @@ does not overwrite an existing file with the .BR >& , and .B <> -redirection operators. This may be overridden when +redirection operators. This may be overridden when creating output files by using the redirection operator .B >| instead of @@ -9129,7 +9405,7 @@ If .I n is 0, no parameters are changed. If -.I n +.I n is not given, it is assumed to be 1. If .I n @@ -9269,7 +9545,10 @@ If set, .B bash changes its behavior to that of version 3.2 with respect to locale-specific string comparison when using the \fB[[\fP -conditional command's \fB<\fP and \fB>\fP operators (see previous item). +conditional command's \fB<\fP and \fB>\fP operators (see previous item) +and the effect of interrupting a command list. +Bash versions 3.2 and earlier continue with the next command in the list +after one terminates due to an interrupt. .TP 8 .B compat40 If set, @@ -9297,6 +9576,18 @@ If set, does not process the replacement string in the pattern substitution word expansion using quote removal. .TP 8 +.B compat43 +If set, +.B bash +does not print a warning message if an attempt is made to use a quoted compound +array assignment as an argument to \fBdeclare\fP, +makes word expansion errors +non-fatal errors that cause the current command to fail (the default behavior is +to make them fatal errors that cause the shell to exit), +and does not reset the +loop state when a shell function is executed (this allows \fBbreak\fP or +\fBcontinue\fP in a shell function to affect loops in the caller's context). +.TP 8 .B complete_fullquote If set, .B bash @@ -9333,7 +9624,7 @@ attempts spelling correction on directory names during word completion if the directory name initially supplied does not exist. .TP 8 .B dotglob -If set, +If set, .B bash includes filenames beginning with a `.' in the results of pathname expansion. @@ -9353,7 +9644,9 @@ If set, aliases are expanded as described above under This option is enabled by default for interactive shells. .TP 8 .B extdebug -If set, behavior intended for use by debuggers is enabled: +If set at shell invocation, arrange to execute the debugger profile +before the shell starts, identical to the \fB\-\-debugger\fP option. +If set after invocation, behavior intended for use by debuggers is enabled: .RS .TP .B 1. @@ -9368,8 +9661,8 @@ next command is skipped and not executed. .B 3. If the command run by the \fBDEBUG\fP trap returns a value of 2, and the shell is executing in a subroutine (a shell function or a shell script -executed by the \fB.\fP or \fBsource\fP builtins), a call to -\fBreturn\fP is simulated. +executed by the \fB.\fP or \fBsource\fP builtins), the shell simulates +a call to \fBreturn\fP. .TP .B 4. .SM @@ -9380,12 +9673,12 @@ and are updated as described in their descriptions above. .TP .B 5. -Function tracing is enabled: command substitution, shell functions, and +Function tracing is enabled: command substitution, shell functions, and subshells invoked with \fB(\fP \fIcommand\fP \fB)\fP inherit the \fBDEBUG\fP and \fBRETURN\fP traps. .TP .B 6. -Error tracing is enabled: command substitution, shell functions, and +Error tracing is enabled: command substitution, shell functions, and subshells invoked with \fB(\fP \fIcommand\fP \fB)\fP inherit the \fBERR\fP trap. .RE @@ -9456,7 +9749,7 @@ is being used, a user is given the opportunity to re-edit a failed history substitution. .TP 8 .B histverify -If set, and +If set, and .B readline is being used, the results of history substitution are not immediately passed to the shell parser. Instead, the resulting line is loaded into @@ -9480,6 +9773,11 @@ If set, \fBbash\fP will send .B SIGHUP to all jobs when an interactive login shell exits. .TP 8 +.B inherit_errexit +If set, command substitution inherits the value of the \fBerrexit\fP option, +instead of unsetting it in the subshell environment. +This option is enabled when \fIposix mode\fP is enabled. +.TP 8 .B interactive_comments If set, allow a word beginning with .B # @@ -9507,7 +9805,7 @@ above). The value may not be changed. .TP 8 .B mailwarn -If set, and a file that \fBbash\fP is checking for mail has been +If set, and a file that \fBbash\fP is checking for mail has been accessed since the last time it was checked, the message ``The mail in \fImailfile\fP has been read'' is displayed. .TP 8 @@ -9534,7 +9832,9 @@ above). If set, .B bash matches patterns in a case\-insensitive fashion when performing matching -while executing \fBcase\fP or \fB[[\fP conditional commands. +while executing \fBcase\fP or \fB[[\fP conditional commands, +when performing pattern substitution word expansions, +or when filtering possible completions as part of programmable completion. .TP 8 .B nullglob If set, @@ -9676,7 +9976,7 @@ under the result of the expression is the result of the binary test using the first and third arguments as operands. The \fB\-a\fP and \fB\-o\fP operators are considered binary operators -when there are three arguments. +when there are three arguments. If the first argument is \fB!\fP, the value is the negation of the two-argument test using the second and third arguments. If the first argument is exactly \fB(\fP and the third argument is @@ -9687,7 +9987,7 @@ Otherwise, the expression is false. 4 arguments If the first argument is \fB!\fP, the result is the negation of the three-argument expression composed of the remaining arguments. -Otherwise, the expression is parsed and evaluated according to +Otherwise, the expression is parsed and evaluated according to precedence using the rules listed above. .TP 5 or more arguments @@ -9718,7 +10018,7 @@ is absent (and there is a single \fIsigspec\fP) or each specified signal is reset to its original disposition (the value it had upon entrance to the shell). -If +If .I arg is the null string the signal specified by each .I sigspec @@ -9790,9 +10090,9 @@ is .BR ERR , the command .I arg -is executed whenever a +is executed whenever a pipeline (which may consist of a single simple -command), a list, or a compound command returns a +command), a list, or a compound command returns a non\-zero exit status, subject to the following conditions. The @@ -9803,7 +10103,7 @@ command is part of the command list immediately following a .B while or .B until -keyword, +keyword, part of the test in an .I if statement, part of a command executed in a @@ -9828,7 +10128,7 @@ is invalid; otherwise returns true. .TP \fBtype\fP [\fB\-aftpP\fP] \fIname\fP [\fIname\fP ...] -With no options, +With no options, indicate how each .I name would be interpreted if used as a command name. @@ -9842,7 +10142,7 @@ prints a string which is one of .IR function , .IR builtin , or -.I file +.I file if .I name is an alias, shell reserved word, function, builtin, or disk file, @@ -9879,18 +10179,18 @@ If a command is hashed, and .B \-P print the hashed value, which is not necessarily the file that appears -first in +first in .SM .BR PATH . If the .B \-a -option is used, +option is used, .B type prints all of the places that contain -an executable named +an executable named .IR name . This includes aliases and functions, -if and only if the +if and only if the .B \-p option is not also used. The table of hashed commands is not consulted @@ -9903,7 +10203,7 @@ option suppresses shell function lookup, as with the \fBcommand\fP builtin. returns true if all of the arguments are found, false if any are not found. .TP -\fBulimit\fP [\fB\-HSTabcdefilmnpqrstuvx\fP [\fIlimit\fP]] +\fBulimit\fP [\fB\-HSabcdefiklmnpqrstuvxPT\fP [\fIlimit\fP]] Provides control over the resources available to the shell and to processes started by it, on systems that allow such control. The \fB\-H\fP and \fB\-S\fP options specify that the hard or soft limit is @@ -9952,6 +10252,9 @@ The maximum size of files written by the shell and its children .B \-i The maximum number of pending signals .TP +.B \-k +The maximum number of kqueues that may be allocated +.TP .B \-l The maximum size that may be locked into memory .TP @@ -9987,6 +10290,9 @@ some systems, to its children .B \-x The maximum number of file locks .TP +.B \-P +The maximum number of pseudoterminals +.TP .B \-T The maximum number of threads .PD @@ -10004,19 +10310,25 @@ is assumed. Values are in 1024-byte increments, except for which is in seconds; .BR \-p , which is in units of 512-byte blocks; -and +.BR \-P , .BR \-T , .BR \-b , +.BR \-k , .BR \-n , and .BR \-u , -which are unscaled values. +which are unscaled values; +and, when in Posix mode, +.B \-c +and +.BR \-f , +which are in 512-byte increments. The return status is 0 unless an invalid option or argument is supplied, or an error occurs while setting a new limit. .RE .TP \fBumask\fP [\fB\-p\fP] [\fB\-S\fP] [\fImode\fP] -The user file-creation mask is set to +The user file-creation mask is set to .IR mode . If .I mode @@ -10303,7 +10615,7 @@ this manual page should be directed to .PP It's too big and too slow. .PP -There are some subtle differences between +There are some subtle differences between .B bash and traditional versions of .BR sh , diff --git a/doc/bash.html b/doc/bash.html index bba7db6c0..983284e84 100644 --- a/doc/bash.html +++ b/doc/bash.html @@ -3,7 +3,7 @@ -
BASH(1)2014 February 2BASH(1) +BASH(1)2016 August 26BASH(1)

Index @@ -42,7 +42,7 @@ bash - GNU Bourne-Again SHell

COPYRIGHT

-Bash is Copyright © 1989-2013 by the Free Software Foundation, Inc. +Bash is Copyright © 1989-2016 by the Free Software Foundation, Inc.  

DESCRIPTION

@@ -67,7 +67,7 @@ can be configured to be POSIX-conformant by default.  

OPTIONS

-All of the single-character shell options documented in the +All of the single-character shell options documented in the description of the set builtin command can be used as options when the shell is invoked. In addition, bash @@ -88,9 +88,14 @@ option is present, then commands are read from the first non-option argument If there are arguments after the command_string, -they are assigned to the positional parameters, starting with -$0. +the first argument is assigned to +$0 + +and any remaining arguments are assigned to the positional parameters. +The assignment to +$0 +sets the name of the shell, which is used in warning and error messages.
-i
@@ -292,7 +297,7 @@ below).
--verbose
-Equivalent to -v. +Equivalent to -v.
--version
@@ -316,7 +321,7 @@ be the name of a file containing shell commands. If bash -is invoked in this fashion, +is invoked in this fashion, $0 is set to the name of the file, and the positional parameters @@ -339,13 +344,14 @@ for the script. A login shell is one whose first character of argument zero is a -, -or one started with the +or one started with the --login option.

An interactive shell is one started without non-option arguments +(unless -s is specified) and without the -c @@ -408,7 +414,8 @@ The option may be used when the shell is started to inhibit this behavior.

-When a login shell exits, +When an interactive login shell exits, +or a non-interactive login shell executes the exit builtin command, bash reads and executes commands from the file ~/.bash_logout, if it @@ -584,7 +591,7 @@ The following definitions are used throughout the rest of this document.

-
blank +
blank
A space or tab. @@ -598,7 +605,7 @@ Also known as a
name
-A +A word consisting only of alphanumeric characters and underscores, and @@ -615,7 +622,7 @@ A character that, when unquoted, separates words. One of the following:

-| & ; ( ) < > space tab +| & ; ( ) < > space tab newline

@@ -631,7 +638,7 @@ symbols:

-|| & && ; ;; ( ) | |& <newline> +|| & && ; ;; ;& ;;& ( ) | |& <newline>

@@ -646,8 +653,8 @@ the first word of a simple command (see SHELL GRAMMAR -below) or the third word of a -case +below) or the third word of a +case or for @@ -831,7 +838,7 @@ command to terminate in turn. The return status is the exit status of the last command executed.

-AND and OR lists are sequences of one of more pipelines separated by the +AND and OR lists are sequences of one or more pipelines separated by the && and || control operators, respectively. AND and OR lists are executed with left associativity. An AND list has the form @@ -936,10 +943,10 @@ right of the operator is considered a pattern and matched according to the rules described below under Pattern Matching, as if the extglob shell option were enabled. The = operator is equivalent to ==. -If the shell option +If the nocasematch -is enabled, the match is performed without regard to the case +shell option is enabled, the match is performed without regard to the case of alphabetic characters. The return value is 0 if the string matches (==) or does not match (!=) the pattern, and 1 otherwise. @@ -951,15 +958,15 @@ to be matched as a string. An additional binary operator, =~, is available, with the same precedence as == and !=. When it is used, the string to the right of the operator is considered -an extended regular expression and matched accordingly (as in regex(3)). +an extended regular expression and matched accordingly (as in regex(3)). The return value is 0 if the string matches the pattern, and 1 otherwise. If the regular expression is syntactically incorrect, the conditional expression's return value is 2. -If the shell option +If the nocasematch -is enabled, the match is performed without regard to the case +shell option is enabled, the match is performed without regard to the case of alphabetic characters. Any part of the pattern may be quoted to force the quoted portion to be matched as a string. @@ -1109,15 +1116,15 @@ as for pathname expansion (see below). The word is expanded using tilde -expansion, parameter and variable expansion, arithmetic substitution, +expansion, parameter and variable expansion, arithmetic expansion, command substitution, process substitution and quote removal. Each pattern examined is expanded using tilde -expansion, parameter and variable expansion, arithmetic substitution, +expansion, parameter and variable expansion, arithmetic expansion, command substitution, and process substitution. -If the shell option +If the nocasematch -is enabled, the match is performed without regard to the case +shell option is enabled, the match is performed without regard to the case of alphabetic characters. When a match is found, the corresponding list is executed. If the ;; operator is used, no subsequent matches are attempted after @@ -1132,7 +1139,7 @@ pattern matches. Otherwise, it is the exit status of the last command executed in list.

if list; then list; [ elif list; then list; ] ... [ else list; ] fi
The -if +if list @@ -1150,7 +1157,7 @@ last command executed, or zero if no condition tested true. The while command continuously executes the list list-2 as long as the last command in the list list-1 returns an exit status of zero. The until command is identical -to the while command, except that the test is negated; +to the while command, except that the test is negated: list-2 is executed as long as the last command in @@ -1237,11 +1244,13 @@ This defines a function named name. The reserved word function is optional. If the function reserved word is supplied, the parentheses are optional. The body of the function is the compound command -compound-command +compound-command (see Compound Commands above). That command is usually a list of commands between { and }, but -may be any command listed under Compound Commands above. +may be any command listed under Compound Commands above, +with one exception: If the function reserved word is used, but the +parentheses are not supplied, the braces are required. compound-command is executed whenever name is specified as the name of a simple command. When in posix mode, name may not be the name of one of the @@ -1289,7 +1298,7 @@ option is on by default in interactive shells.

QUOTING

Quoting is used to remove the special meaning of certain -characters or words to the shell. Quoting can be used to +characters or words to the shell. Quoting can be used to disable special treatment for special characters, to prevent reserved words from being recognized as such, and to prevent parameter expansion. @@ -1345,6 +1354,8 @@ of all characters within the quotes, with the exception of and, when history expansion is enabled, !. +When the shell is in posix mode, the ! has no special meaning +within double quotes, even when history expansion is enabled. The characters $ @@ -1444,6 +1455,10 @@ single quote
double quote +
\? + +
+question mark
\nnn
@@ -1581,7 +1596,7 @@ Assignment statements may also appear as arguments to the and local -builtin commands. +builtin commands (declaration commands). When in posix mode, these builtins may appear in a command after one or more instances of the command builtin and retain these assignment statement properties. @@ -1590,6 +1605,8 @@ assignment statement properties. In the context where an assignment statement is assigning a value to a shell variable or array index, the += operator can be used to append to or add to the variable's previous value. +This includes arguments to builtin commands such as declare that +accept assignment statements (declaration commands). When += is applied to a variable for which the integer attribute has been set, value is evaluated as an arithmetic expression and added to the variable's current value, which is also evaluated. @@ -1610,9 +1627,11 @@ A variable can be assigned the nameref attribute using the (see the descriptions of declare and local below) to create a nameref, or a reference to another variable. This allows variables to be manipulated indirectly. -Whenever the nameref variable is referenced or assigned to, the operation -is actually performed on the variable specified by the nameref variable's -value. +Whenever the nameref variable is referenced, assigned to, unset, or has +its attributes modified (other than using or changing the nameref +attribute itself), the +operation is actually performed on the variable specified by the nameref +variable's value. A nameref is commonly used within shell functions to refer to a variable whose name is passed as an argument to the function. For instance, if a variable name is passed to a shell function as its first @@ -1626,13 +1645,14 @@ argument, running

inside the function creates a nameref variable ref whose value is the variable name passed as the first argument. -References and assignments to ref are treated as references and -assignments to the variable whose name was passed as $1. +References and assignments to ref, and changes to its attributes, +are treated as references, assignments, and attribute modifications +to the variable whose name was passed as $1. If the control variable in a for loop has the nameref attribute, the list of words can be a list of shell variables, and a name reference will be established for each word in the list, in turn, when the loop is executed. -Array variables cannot be given the -n attribute. +Array variables cannot be given the nameref attribute. However, nameref variables can reference array variables and subscripted array variables. Namerefs can be unset using the -n option to the unset builtin. @@ -1685,8 +1705,7 @@ expands to a separate word. In contexts where it is performed, those words are subject to further word splitting and pathname expansion. When the expansion occurs within double quotes, it expands to a single word -with the value of each parameter separated by the first character -of the +with the value of each parameter separated by the first character of the IFS @@ -1719,7 +1738,7 @@ If the double-quoted expansion occurs within a word, the expansion of the first parameter is joined with the beginning part of the original word, and the expansion of the last parameter is joined with the last part of the original word. -When there are no positional parameters, "$@" and +When there are no positional parameters, "$@" and $@ expand to nothing (i.e., they are removed). @@ -1854,8 +1873,14 @@ that do not require bash to be re-initialized.

An associative array variable whose members correspond to the internal list of aliases as maintained by the alias builtin. -Elements added to this array appear in the alias list; unsetting array -elements cause aliases to be removed from the alias list. +Elements added to this array appear in the alias list; however, +unsetting array elements currently does not cause aliases to be removed +from the alias list. +If +BASH_ALIASES + +is unset, it loses its special properties, even if it is +subsequently reset.
BASH_ARGC
@@ -1907,8 +1932,14 @@ builtin below)
An associative array variable whose members correspond to the internal hash table of commands as maintained by the hash builtin. -Elements added to this array appear in the hash table; unsetting array -elements cause commands to be removed from the hash table. +Elements added to this array appear in the hash table; however, +unsetting array elements currently does not cause command names to be removed +from the hash table. +If +BASH_CMDS + +is unset, it loses its special properties, even if it is +subsequently reset.
BASH_COMMAND
@@ -1938,6 +1969,14 @@ Use to obtain the current line number. +
BASH_LOADABLES_PATH + +
+A colon-separated list of directories in which the shell looks for +dynamically loadable builtins specified by the +enable + +command.
BASH_REMATCH
@@ -2136,7 +2175,7 @@ Assignments to FUNCNAME -have no effect and return an error status. +have no effect. If FUNCNAME @@ -2159,11 +2198,11 @@ information.
An array variable containing the list of groups of which the current user is a member. -Assignments to +Assignments to GROUPS -have no effect and return an error status. +have no effect. If GROUPS @@ -2336,7 +2375,7 @@ builtin command when no arguments are supplied.
Each time this parameter is referenced, the number of seconds since shell invocation is returned. If a -value is assigned to +value is assigned to SECONDS, @@ -2524,6 +2563,22 @@ Similar to used when the shell is invoked in POSIX mode. +
EXECIGNORE + +
+A colon-separated list of shell patterns (see Pattern Matching) +defining the list of filenames to be ignored by command search using +PATH. +Files whose full pathnames match one of these patterns are not considered +executable files for the purposes of completion and command execution +via PATH lookup. +This does not affect the behavior of the [, test, and [[ +commands. +Full pathnames in the command hash table are not subject to EXECIGNORE. +Use this variable to ignore shared library files that have the executable +bit set, but are not executable files. +The pattern matching honors the setting of the extglob shell +option.
FCEDIT
@@ -2577,7 +2632,7 @@ lines which begin with a space character are not saved in the history list. -A value of +A value of ignoredups causes lines matching the previous history entry to not be saved. @@ -2648,6 +2703,8 @@ not tested, and are added to the history regardless of the value of HISTIGNORE. +The pattern matching honors the setting of the extglob shell +option.
HISTSIZE
@@ -2794,6 +2851,11 @@ strings preceded by a $.
This variable determines the locale category used for number formatting. +
LC_TIME + +
+This variable determines the locale category used for data and time +formatting.
LINES
@@ -2832,11 +2894,11 @@ greater than or equal to zero, the shell disables mail checking.
MAILPATH
-A colon-separated list of filenames to be checked for mail. +A colon-separated list of filenames to be checked for mail. The message to be printed when mail arrives in a particular file may be specified by separating the filename from the message with a `?'. When used in the text of the message, $_ expands to the name of -the current mailfile. +the current mailfile. Example:

@@ -2846,7 +2908,9 @@ Example: Bash -supplies a default value for this variable, but the location of the user +can be configured to supply +a default value for this variable (there is no value by default), +but the location of the user mail files that it uses is system dependent (e.g., /var/mail/$USER).

@@ -2891,8 +2955,10 @@ and is set by the administrator who installs bash. A common value is + /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin. +
POSIXLY_CORRECT
@@ -2920,6 +2986,15 @@ trailing directory components to retain when expanding the \w and below). Characters removed are replaced with an ellipsis. +
PS0 + +
+The value of this parameter is expanded (see +PROMPTING + + +below) and displayed by interactive shells after reading a command +and before the command is executed.
PS1
@@ -3128,7 +3203,7 @@ There is no maximum limit on the size of an array, nor any requirement that members be indexed or assigned contiguously. Indexed arrays are referenced using integers (including arithmetic -expressions) and are zero-based; associative arrays are referenced +expressions) and are zero-based; associative arrays are referenced using arbitrary strings. Unless otherwise noted, indexed array indices must be non-negative integers.

@@ -3219,18 +3294,24 @@ of the special parameters * and @ (see above). ${#name[subscript]} expands to the length of ${name[subscript]}. If subscript is * or @, the expansion is the number of elements in the array. -Referencing an array variable without a subscript is equivalent to -referencing the array with a subscript of 0. If the subscript used to reference an element of an indexed array -evaluates to a number less than zero, it is +evaluates to a number less than zero, it is interpreted as relative to one greater than the maximum index of the array, so negative indices count back from the end of the array, and an index of -1 references the last element.

+Referencing an array variable without a subscript is equivalent to +referencing the array with a subscript of 0. +Any reference to a variable using a valid subscript is legal, and +bash + +will create an array if necessary. +

+ An array variable is considered set if a subscript has been assigned a value. The null string is a valid value.

@@ -3270,7 +3351,7 @@ option to specify an indexed array and a -A option to specify an associative array. -If both options are supplied, +If both options are supplied, -A takes precedence. @@ -3326,6 +3407,11 @@ same time as tilde, parameter, variable, and arithmetic expansion and command substitution.

+After these expansions are performed, quote characters present in the +original word are removed unless they have been quoted themselves +(quote removal). +

+ Only brace expansion, word splitting, and pathname expansion can change the number of words of the expansion; other expansions expand a single word to a single word. @@ -3447,7 +3533,7 @@ is desired, start bash with the -+B ++B option or disable brace expansion with the +B @@ -3570,12 +3656,16 @@ The parameter is a shell parameter as described above

If the first character of parameter is an exclamation point (!), +and parameter is not a nameref, it introduces a level of variable indirection. Bash uses the value of the variable formed from the rest of parameter as the name of the variable; this variable is then expanded and that value is used in the rest of the substitution, rather than the value of parameter itself. This is known as indirect expansion. +If parameter is a nameref, this expands to the name of the +variable referenced by parameter instead of performing the +complete indirect expansion. The exceptions to this are the expansions of ${!prefix*} and ${!name[@]} described below. The exclamation point must immediately follow the left brace in order to @@ -3691,7 +3781,7 @@ zero. Substring expansion applied to an associative array produces undefined results.

-Substring indexing is zero-based unless the positional parameters +Substring indexing is zero-based unless the positional parameters are used, in which case the indexing starts at 1 by default. If offset is 0, and the positional parameters are used, $0 is prefixed to the list. @@ -3728,7 +3818,7 @@ If is * -or +or @, the value substituted is the number of positional parameters. @@ -3754,7 +3844,7 @@ array, and an index of -1 references the last element.

${parameter##word}
Remove matching prefix pattern. -The +The word is expanded to produce a pattern just as in pathname @@ -3840,6 +3930,11 @@ If pattern begins with %, it must match at the end of the expanded value of parameter. If string is null, matches of pattern are deleted and the / following pattern may be omitted. +If the +nocasematch + +shell option is enabled, the match is performed without regard to the case +of alphabetic characters. If parameter @@ -3905,6 +4000,72 @@ or the case modification operation is applied to each member of the array in turn, and the expansion is the resultant list. +
${parameter@operator}
+Parameter transformation. +The expansion is either a transformation of the value of parameter +or information about parameter itself, depending on the value of +operator. Each operator is a single letter: +

+

+ +
+
Q + +
+The expansion is a string that is the value of parameter quoted in a +format that can be reused as input. +
E + +
+The expansion is a string that is the value of parameter with backslash +escape sequences expanded as with the $'...' quoting mechansim. +
P + +
+The expansion is a string that is the result of expanding the value of +parameter as if it were a prompt string (see PROMPTING below). +
A + +
+The expansion is a string in the form of +an assignment statement or declare command that, if +evaluated, will recreate parameter with its attributes and value. +
a + +
+The expansion is a string consisting of flag values representing +parameter's attributes. + +
+

+ +If +parameter + +is +@ + +or +*, + +the operation is applied to each positional +parameter in turn, and the expansion is the resultant list. +If +parameter + +is an array variable subscripted with +@ + +or +*, + +the case modification operation is applied to each member of the +array in turn, and the expansion is the resultant list. +

+The result of the expansion is subject to word splitting and pathname +expansion as described below. +

+
 

Command Substitution

@@ -3928,8 +4089,8 @@ or Bash -performs the expansion by executing command and -replacing the command substitution with the standard output of the +performs the expansion by executing command in a subshell environment +and replacing the command substitution with the standard output of the command, with any trailing newlines deleted. Embedded newlines are not deleted, but they may be removed during word splitting. @@ -4000,23 +4161,27 @@ prints a message indicating failure and no substitution occurs.

-Process substitution is supported on systems that support named -pipes (FIFOs) or the /dev/fd method of naming open files. +Process substitution allows a process's input or output to be +referred to using a filename. It takes the form of <(list) or >(list). -The process list is run with its input or output connected to a -FIFO or some file in /dev/fd. The name of this file is +The process list is run asynchronously, and its input or output +appears as a filename. +This filename is passed as an argument to the current command as the result of the -expansion. If the >(list) form is used, writing to +expansion. +If the >(list) form is used, writing to the file will provide input for list. If the <(list) form is used, the file passed as an argument should be read to obtain the output of list. +Process substitution is supported on systems that support named +pipes (FIFOs) or the /dev/fd method of naming open files.

When available, process substitution is performed -simultaneously with parameter and variable expansion, +simultaneously with parameter and variable expansion, command substitution, and arithmetic expansion.   @@ -4070,10 +4235,12 @@ If has a value other than the default, then sequences of the whitespace characters -space +space, + +tab, and -tab +newline are ignored at the beginning and end of the word, as long as the whitespace character is in the @@ -4111,11 +4278,18 @@ If the value of is null, no word splitting occurs.

-Explicit null arguments ("" or aqaq) are retained. +Explicit null arguments ("" or aqaq) are retained +and passed to commands as empty strings. Unquoted implicit null arguments, resulting from the expansion of parameters that have no values, are removed. If a parameter with no value is expanded within double quotes, a -null argument results and is retained. +null argument results and is retained +and passed to a command as an empty string. +When a quoted null argument appears as part of a word whose expansion is +non-null, the null argument is removed. +That is, the word +-daqaq becomes -d after word splitting and +null argument removal.

Note that if no expansion occurs, no splitting @@ -4156,7 +4330,7 @@ and the shell option nullglob is not enabled, the word is left unchanged. -If the +If the nullglob option is set, and no matches are found, @@ -4222,6 +4396,11 @@ is set, each matching filename that also matches one of the patterns in is removed from the list of matches. +If the nocaseglob option is set, the matching against the patterns in +GLOBIGNORE + + +is performed without regard to case. The filenames ``.'' @@ -4261,6 +4440,8 @@ option is disabled when is unset. +The pattern matching honors the setting of the extglob shell +option.

Pattern Matching @@ -4338,7 +4519,7 @@ or enable the globasciiranges shell option. -A +A - may be matched by including it as the first or last character @@ -4382,7 +4563,7 @@ The word character class matches letters, digits, and the character _. Within [ -and +and ], an equivalence class can be specified using the syntax @@ -4397,7 +4578,7 @@ the character c. Within [ -and +and ], the syntax [.symbol.] matches the collating symbol @@ -4503,7 +4684,7 @@ If it expands to more than one word, reports an error.

-Note that the order of redirections is significant. For example, +Note that the order of redirections is significant. For example, the command

@@ -4513,7 +4694,7 @@ ls > dirlist 2>&1

-directs both standard output and standard error to the file +directs both standard output and standard error to the file dirlist, while the command @@ -4535,7 +4716,10 @@ before the standard output was redirected to

Bash handles several filenames specially when they are used in -redirections, as described in the following table: +redirections, as described in the following table. +If the operating system on which bash is running provides these +special files, bash will use them; otherwise it will emulate them +internally with the behavior described below.

@@ -4775,7 +4959,7 @@ current source until a line containing only (with no trailing blanks) is seen. All of the lines read up to that point are then used as the standard -input for a command. +input (or file descriptor n if n is specified) for a command.

The format of here-documents is: @@ -4783,7 +4967,7 @@ The format of here-documents is:

-<<[-]word
+[n]<<[-]word
         here-document
 delimiter
 
@@ -4796,10 +4980,10 @@ No parameter and variable expansion, command substitution, arithmetic expansion, or pathname expansion is performed on word. -If any characters in +If any part of word -are quoted, the +is quoted, the delimiter is the result of quote removal on @@ -4843,7 +5027,7 @@ A variant of here documents, the format is:

-<<<word
+[n]<<<word
 
@@ -4854,8 +5038,9 @@ The word undergoes brace expansion, tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, and quote removal. Pathname expansion and word splitting are not performed. -The result is supplied as a single string to the command on its -standard input. +The result is supplied as a single string, with a newline appended, +to the command on its +standard input (or file descriptor n if n is specified).  

Duplicating File Descriptors

@@ -5076,7 +5261,7 @@ on that line are not affected by the new alias. This behavior is also an issue when functions are executed. Aliases are expanded when a function definition is read, not when the function is executed, because a function definition -is itself a compound command. As a consequence, aliases +is itself a command. As a consequence, aliases defined in a function are not available until after that function is executed. To be safe, always put alias definitions on a separate line, and do not use @@ -5118,7 +5303,7 @@ is executing. All other aspects of the shell execution environment are identical between a function and its caller -with these exceptions: the +with these exceptions: the DEBUG @@ -5227,7 +5412,7 @@ By default, no limit is imposed on the number of recursive calls. The shell allows arithmetic expressions to be evaluated, under certain circumstances (see the let and declare builtin -commands and Arithmetic Expansion). +commands, the (( compound command, and Arithmetic Expansion). Evaluation is done in fixed-width integers with no check for overflow, though division by 0 is trapped and flagged as an error. The operators and their precedence, associativity, and values @@ -5336,7 +5521,7 @@ is a decimal number between 2 and 64 representing the arithmetic base, and n is a number in that base. If base# is omitted, then base 10 is used. When specifying n, -the digits greater< than 9 are represented by the lowercase letters, +the digits greater than 9 are represented by the lowercase letters, the uppercase letters, @, and _, in that order. If base is less than or equal to 36, lowercase and uppercase letters may be used interchangeably to represent numbers between 10 @@ -5353,6 +5538,11 @@ Conditional expressions are used by the [[ compound command and the test and [ builtin commands to test file attributes and perform string and arithmetic comparisons. Expressions are formed from the following unary or binary primaries. +Bash handles several filenames specially when they are used in +expressions. +If the operating system on which bash is running provides these +special files, bash will use them; otherwise it will emulate them +internally with this behavior: If any file argument to one of the primaries is of the form /dev/fd/n, then file descriptor n is checked. If the file argument to one of the primaries is one of @@ -5679,7 +5869,7 @@ If the program is a file beginning with the remainder of the first line specifies an interpreter for the program. The shell executes the specified interpreter on operating systems that do not -handle this executable format themselves. The arguments to the +handle this executable format themselves. The arguments to the interpreter consist of a single optional argument following the interpreter name on the first line of the program, followed by the name of the program, followed by the command @@ -5747,7 +5937,7 @@ shell's parent, and traps ignored by the shell are ignored

A command invoked in this separate environment cannot affect the -shell's execution environment. +shell's execution environment.

Command substitution, commands grouped with parentheses, @@ -5776,7 +5966,7 @@ When a program is invoked it is given an array of strings called the environment. -This is a list of +This is a list of name-value pairs, of the form name=value. @@ -5825,7 +6015,7 @@ These assignment statements affect only the environment seen by that command.

-If the +If the -k option is set (see the @@ -5855,12 +6045,12 @@ The exit status of an executed command is the value returned by the waitpid system call or equivalent function. Exit statuses fall between 0 and 255, though, as explained below, the shell may use values above 125 specially. Exit statuses from shell builtins and -compound commands are also limited to this range. Under certain +compound commands are also limited to this range. Under certain circumstances, the shell will use special values to indicate specific failure modes.

-For the shell's purposes, a command which exits with a +For the shell's purposes, a command which exits with a zero exit status has succeeded. An exit status of zero indicates success. A non-zero exit status indicates failure. When a command terminates on a fatal signal N, bash uses @@ -5878,8 +6068,9 @@ the exit status is greater than zero. Shell builtin commands return a status of 0 (true) if successful, and non-zero (false) if an error occurs -while they execute. -All builtins return an exit status of 2 to indicate incorrect usage. +while they execute. +All builtins return an exit status of 2 to indicate incorrect usage, +generally invalid options or missing arguments.

Bash itself returns the exit status of the last command @@ -5964,14 +6155,14 @@ to ensure that they receive the To prevent the shell from sending the signal to a particular job, it should be removed from the -jobs table with the +jobs table with the disown builtin (see SHELL BUILTIN COMMANDS -below) or marked +below) or marked to not receive SIGHUP @@ -5989,7 +6180,7 @@ shell option has been set with bash -sends a +sends a SIGHUP @@ -5998,7 +6189,7 @@ to all jobs when an interactive login shell exits. If bash is waiting for a command to complete and receives a signal for which a trap has been set, the trap will not be executed until -the command completes. +the command completes. When bash is waiting for an asynchronous command via the wait builtin, the reception of a signal for which a trap has been set will cause the wait builtin to return immediately with an exit status @@ -6070,7 +6261,7 @@ user so specifies with stty tostop, write to the terminal. Background processes which attempt to read from (write to when stty tostop is in effect) the -terminal are sent a +terminal are sent a SIGTTIN (SIGTTOU) @@ -6093,7 +6284,7 @@ character (typically ^Z, Control-Z) while a process is running -causes that process to be stopped and returns control to +causes that process to be stopped and returns control to bash. Typing the @@ -6163,7 +6354,7 @@ refer to the shell's notion of the which is the last job stopped while it was in the foreground or started in the background. -The +The previous job may be referenced using @@ -6204,7 +6395,7 @@ Normally, waits until it is about to print a prompt before reporting changes in a job's status so as to not interrupt -any other output. If the +any other output. If the -b option to the @@ -6232,14 +6423,14 @@ jobs and their statuses. The jobs -command may then be used to inspect their status. +command may then be used to inspect their status. If a second attempt to exit is made without an intervening command, the shell does not print another warning, and any stopped jobs are terminated.  

PROMPTING

-When executing interactively, +When executing interactively, bash displays the primary prompt @@ -6253,6 +6444,12 @@ when it is ready to read a command, and the secondary prompt when it needs more input to complete a command. Bash +displays +PS0 + +after it reads a command but before executing it. +Bash + allows these prompt strings to be customized by inserting a number of backslash-escaped special characters that are decoded as follows:
@@ -6460,11 +6657,11 @@ builtin. In this section, the Emacs-style notation is used to denote keystrokes. Control keys are denoted by C-key, e.g., C-n -means Control-N. Similarly, +means Control-N. Similarly, meta keys are denoted by M-key, so M-x means Meta-X. (On keyboards -without a +without a meta key, M-x means ESC x, i.e., press the Escape key @@ -6487,7 +6684,7 @@ which normally act as a repeat count. Sometimes, however, it is the sign of the argument that is significant. Passing a negative argument to a command that acts in the forward direction (e.g., kill-line) causes that command to act in a -backward direction. +backward direction. Commands whose behavior with arguments deviates from this are noted below.

@@ -6496,7 +6693,7 @@ When a command is described as killing text, the text deleted is saved for possible future retrieval (yanking). The killed text is saved in a kill ring. Consecutive kills cause the text to be -accumulated into one unit, which can be yanked all at once. +accumulated into one unit, which can be yanked all at once. Commands which do not kill text separate the chunks of text on the kill ring.   @@ -6525,7 +6722,7 @@ Other lines denote key bindings and variable settings.

The default key-bindings may be changed with an -inputrc +inputrc file. Other programs that use this library may add their own commands @@ -6544,7 +6741,7 @@ or C-Meta-u: universal-argument

-into the +into the inputrc would make M-C-u execute the readline command @@ -6588,7 +6785,7 @@ The syntax for controlling key bindings in the file is simple. All that is required is the name of the command or the text of a macro and a key sequence to which -it should be bound. The name may be specified in one of two ways: +it should be bound. The name may be specified in one of two ways: as a symbolic key name, possibly with Meta- or Control- prefixes, or as a key sequence.

@@ -6666,7 +6863,7 @@ is again bound to the function is bound to the function re-read-init-file, -and +and ESC [ 1 1 ~ is bound to insert the text @@ -6832,11 +7029,23 @@ If set to audible, readline attempts to ring the terminal's bell. If set to On, readline attempts to bind the control characters treated specially by the kernel's terminal driver to their readline equivalents. +

blink-matching-paren (Off) + +
+If set to On, readline attempts to briefly move the cursor to an +opening parenthesis when a closing parenthesis is inserted. +
colored-completion-prefix (Off) + +
+If set to On, when listing completions, readline displays the +common prefix of the set of possible completions using a different color. +The color definitions are taken from the value of the LS_COLORS +environment variable.
colored-stats (Off)
If set to On, readline displays possible completions using different -colors to indicate their file type. +colors to indicate their file type. The color definitions are taken from the value of the LS_COLORS environment variable.
comment-begin (``#'') @@ -6853,11 +7062,26 @@ in emacs mode and to # in vi command mode. +
completion-display-width (-1) + +
+The number of screen columns used to display possible matches +when performing completion. +The value is ignored if it is less than 0 or greater than the terminal +screen width. +A value of 0 will cause matches to be displayed one per line. +The default value is -1.
completion-ignore-case (Off)
If set to On, readline performs filename matching and completion in a case-insensitive fashion. +
completion-map-case (Off) + +
+If set to On, and completion-ignore-case is enabled, readline +treats hyphens (-) and underscores (_) as equivalent when +performing case-insensitive filename matching and completion.
completion-prefix-display-length (0)
@@ -6883,12 +7107,20 @@ If set to On, readline will convert characters with the eighth bit set to an ASCII key sequence by stripping the eighth bit and prefixing an escape character (in effect, using escape as the meta prefix). +The default is On, but readline will set it to Off if the +locale contains eight-bit characters.
disable-completion (Off)
If set to On, readline will inhibit word completion. Completion characters will be inserted into the line as if they had been mapped to self-insert. +
echo-control-characters (On) + +
+When set to On, on operating systems that indicate they support it, +readline echoes a character corresponding to a signal generated from the +keyboard.
editing-mode (emacs)
@@ -6902,12 +7134,14 @@ can be set to either or vi. -
echo-control-characters (On) +
enable-bracketed-paste (Off)
-When set to On, on operating systems that indicate they support it, -readline echoes a character corresponding to a signal generated from the -keyboard. +When set to On, readline will configure the terminal in a way +that will enable it to insert each paste into the editing buffer as a +single string of characters, instead of treating each character as if +it had been read from the keyboard. This can prevent pasted characters +from being interpreted as editing commands.
enable-keypad (Off)
@@ -6931,7 +7165,7 @@ attempts word completion. If set to On, the history code attempts to place point at the same location on each history line retrieved with previous-history or next-history. -
history-size (0) +
history-size (unset)
Set the maximum number of history entries saved in the history list. @@ -6939,7 +7173,10 @@ If set to zero, any existing history entries are deleted and no new entries are saved. If set to a value less than zero, the number of history entries is not limited. -By default, the number of history entries is not limited. +By default, the number of history entries is set to the value of the +HISTSIZE shell variable. +If an attempt is made to set history-size to a non-numeric value, +the maximum number of history entries will be set to 500.
horizontal-scroll-mode (Off)
@@ -6950,11 +7187,13 @@ becomes longer than the screen width rather than wrapping to a new line.
If set to On, readline will enable eight-bit input (that is, -it will not strip the high bit from the characters it reads), +it will not strip the eighth bit from the characters it reads), regardless of what the terminal claims it can support. The name meta-flag is a synonym for this variable. +The default is Off, but readline will set it to On if the +locale contains eight-bit characters.
isearch-terminators (``C-[C-J'')
@@ -6978,6 +7217,16 @@ the value of editing-mode also affects the default keymap. +
emacs-mode-string (@) + +
+This string is displayed immediately before the last line of the primary +prompt when emacs editing mode is active. The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the \1 and \2 escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string.
keyseq-timeout (500)
@@ -7012,7 +7261,7 @@ have a slash appended (subject to the value of
This variable, when set to On, causes readline to match files whose -names begin with a `.' (hidden files) when performing filename +names begin with a `.' (hidden files) when performing filename completion. If set to Off, the leading `.' must be supplied by the user in the filename to be completed. @@ -7028,6 +7277,8 @@ the list. If set to On, readline will display characters with the eighth bit set directly rather than as a meta-prefixed escape sequence. +The default is Off, but readline will set it to On if the +locale contains eight-bit characters.
page-completions (On)
@@ -7041,7 +7292,7 @@ sorted horizontally in alphabetical order, rather than down the screen.
revert-all-at-newline (Off)
-If set to On, readline will undo all changes to history lines +If set to On, readline will undo all changes to history lines before returning when accept-line is executed. By default, history lines may be modified and retain individual undo lists across calls to readline. @@ -7081,6 +7332,28 @@ performing completion in the middle of a word. If enabled, readline does not insert characters from the completion that match characters after point in the word being completed, so portions of the word following the cursor are not duplicated. +
vi-cmd-mode-string ((cmd)) + +
+This string is displayed immediately before the last line of the primary +prompt when vi editing mode is active and in command mode. +The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the \1 and \2 escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string. +
vi-ins-mode-string ((ins)) + +
+This string is displayed immediately before the last line of the primary +prompt when vi editing mode is active and in insertion mode. +The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the \1 and \2 escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string.
visible-stats (Off)
@@ -7100,7 +7373,7 @@ bindings and variable settings to be performed as the result of tests. There are four parser directives used.
$if
-The +The $if construct allows bindings to be made based on the @@ -7122,7 +7395,7 @@ key bindings, perhaps to bind the key sequences output by the terminal's function keys. The word on the right side of the = -is tested against the both full name of the terminal and the portion +is tested against both the full name of the terminal and the portion of the terminal name before the first -. This allows sun @@ -7518,7 +7791,7 @@ Negative arguments have no effect. Drag the word before point past the word after point, moving point over that word as well. If point is at the end of the line, this transposes -the last two words on the line. +the last two words on the line.
upcase-word (M-u)
@@ -7542,7 +7815,7 @@ switches to overwrite mode. With an explicit non-positive numeric argument, switches to insert mode. This command affects only emacs mode; vi mode does overwrite differently. Each call to readline() starts in insert mode. -In overwrite mode, characters bound to self-insert replace +In overwrite mode, characters bound to self-insert replace the text at point rather than pushing the text to the right. Characters bound to backward-delete-char replace the character before point with a space. By default, this command is unbound. @@ -7573,7 +7846,7 @@ The killed text is saved on the kill-ring.
Kill all characters on the current line, no matter where point is. -
kill-word (M-d) +
kill-word (M-d)
Kill from point to the end of the current word, or if between @@ -7584,13 +7857,13 @@ Word boundaries are the same as those used by forward-word.
Kill the word behind point. Word boundaries are the same as those used by backward-word. -
shell-kill-word (M-d) +
shell-kill-word
Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as those used by shell-forward-word. -
shell-backward-kill-word (M-Rubout) +
shell-backward-kill-word
Kill the word behind point. @@ -7666,7 +7939,7 @@ If the command is followed by digits, executing again ends the numeric argument, but is otherwise ignored. As a special case, if this command is immediately followed by a -character that is neither a digit or minus sign, the argument count +character that is neither a digit nor minus sign, the argument count for the next command is multiplied by four. The argument count is initially one, so executing this function the first time makes the argument count four, a second time makes the @@ -7920,10 +8193,10 @@ Without a numeric argument, the value of the readline comment-begin variable is inserted at the beginning of the current line. -If a numeric argument is supplied, this command acts as a toggle: if +If a numeric argument is supplied, this command acts as a toggle: if the characters at the beginning of the line do not match the value of comment-begin, the value is inserted, otherwise -the characters in comment-begin are deleted from the beginning of +the characters in comment-begin are deleted from the beginning of the line. In either case, the line is accepted as if a newline had been typed. The default value of @@ -8059,7 +8332,7 @@ Shell quoting is honored. Each word is then expanded using brace expansion, tilde expansion, parameter and variable expansion, command substitution, and arithmetic expansion, -as described above under +as described above under EXPANSION. @@ -8087,7 +8360,7 @@ and variables are assigned values as described above under Shell Variables. -If a shell function is being invoked, the +If a shell function is being invoked, the COMP_WORDS @@ -8133,6 +8406,11 @@ is removed before attempting a match. Any completion that matches the pattern will be removed from the list. A leading ! negates the pattern; in this case any completion not matching the pattern will be removed. +If the +nocasematch + +shell option is enabled, the match is performed without regard to the case +of alphabetic characters.

Finally, any prefix and suffix specified with the -P and -S @@ -8166,7 +8444,7 @@ generate no matches. When a compspec indicates that directory name completion is desired, the programmable completion functions force readline to append a slash -to completed names which are symbolic links to directories, subject to +to completed names which are symbolic links to directories, subject to the value of the mark-directories readline variable, regardless of the setting of the mark-symlinked-directories readline variable.

@@ -8414,7 +8692,9 @@ quotes are considered one word. History expansions are introduced by the appearance of the history expansion character, which is ! by default. Only backslash (\) and single quotes can quote -the history expansion character. +the history expansion character, but the history expansion character is +also treated as quoted if it immediately precedes the closing double quote +in a double-quoted string.

Several characters inhibit history expansion if found immediately @@ -8563,7 +8843,7 @@ The entire command line typed so far.

Word designators are used to select desired words from the event. -A +A : separates the event specification from the word designator. @@ -8757,7 +9037,8 @@ accepts to signify the end of the options. The :, true, false, and test builtins do not accept options and do not treat -- specially. -The exit, logout, break, continue, let, +The exit, logout, return, +break, continue, let, and shift builtins accept and process arguments beginning with - without requiring --. Other builtins that accept arguments but are not specified as accepting @@ -8772,7 +9053,8 @@ No effect; the command does nothing beyond expanding arguments and performing any specified -redirections. A zero exit code is returned. +redirections. +The return status is zero.

. filename [arguments]
source filename [arguments]
@@ -8819,6 +9101,12 @@ is not searched. If any arguments are supplied, they become the positional parameters when filename is executed. Otherwise the positional parameters are unchanged. +If the -T option is enabled, source inherits any trap on +DEBUG; if it is not, any DEBUG trap string is saved and +restored around the call to source, and source unsets the +DEBUG trap while it executes. +If -T is not set, and the sourced file changes +the DEBUG trap, the new value is retained when source completes. The return status is the status of the last command exited within the script (0 if no commands are executed), and false if filename @@ -8832,7 +9120,7 @@ option prints the list of aliases in the form alias name=value on standard output. When arguments are supplied, an alias is defined for each name whose value is given. -A trailing space in value causes the next word to be +A trailing space in value causes the next word to be checked for alias substitution when the alias is expanded. For each name in the argument list for which no value is supplied, the name and value of the alias is printed. @@ -8860,7 +9148,7 @@ or was started without job control.
bind [-m keymap] -f filename
bind [-m keymap] -x keyseq:shell-command
bind [-m keymap] keyseq:function-name
-
bind readline-command
+
bind [-m keymap] keyseq:readline-command
Display current readline @@ -8896,7 +9184,8 @@ names are vi-move, vi-command, and vi-insert. -vi is equivalent to vi-command; emacs is +vi is equivalent to vi-command (vi-move is also +a synonym); emacs is equivalent to emacs-standard.
-l @@ -9020,7 +9309,7 @@ Returns the context of any active subroutine call (a shell function or a script executed with the . or source builtins). Without expr, caller displays the line number and source filename of the current subroutine call. -If a non-negative integer is supplied as expr, caller +If a non-negative integer is supplied as expr, caller displays the line number, subroutine name, and source file corresponding to that position in the current execution call stack. This extra information may be used, for example, to print a stack trace. The @@ -9064,7 +9353,7 @@ then CDPATH -is not used. The +is not used. The -P option causes cd to use the physical directory structure @@ -9119,8 +9408,8 @@ Run with args -suppressing the normal shell function lookup. Only builtin -commands or commands found in the +suppressing the normal shell function lookup. +Only builtin commands or commands found in the PATH @@ -9259,6 +9548,10 @@ Intended to be used with shell functions.
Tell readline not to quote the completed words if they are filenames (quoting filenames is the default). +
nosort + +
+Tell readline not to sort the list of possible completions alphabetically.
nospace
@@ -9267,7 +9560,7 @@ the end of the line.
plusdirs
-After any matches defined by the compspec are generated, +After any matches defined by the compspec are generated, directory name completion is attempted and any matches are added to the results of the other actions.
@@ -9506,8 +9799,8 @@ The option inhibits the display of function definitions; only the function name and attributes are printed. If the extdebug shell option is enabled using shopt, -the source file name and line number where the function is defined -are displayed as well. The +the source file name and line number where each name +is defined are displayed as well. The -F option implies @@ -9563,10 +9856,11 @@ The upper-case attribute is disabled. Give each name the nameref attribute, making it a name reference to another variable. That other variable is defined by the value of name. -All references and assignments to name, except for changing the +All references, assignments, and attribute modifications +to name, except those using or changing the -n attribute itself, are performed on the variable referenced by name's value. -The -n attribute cannot be applied to array variables. +The nameref attribute cannot be applied to array variables.
-r
@@ -9636,13 +9930,14 @@ or an attempt is made to display a non-existent function with -f. Without options, displays the list of currently remembered directories. The default display is on a single line with directory names separated by spaces. -Directories are added to the list with the +Directories are added to the list with the pushd command; the popd command removes entries from the list. +The current directory is always the first directory in the stack.
@@ -9685,7 +9980,7 @@ invalid option is supplied or n indexes beyond the end of the directory stack.
-
disown [-ar] [-h] [jobspec ...]
+
disown [-ar] [-h] [jobspec ... | pid ... ]
Without options, remove each jobspec @@ -9885,7 +10180,7 @@ If the -l option is supplied, -the shell places a dash at the beginning of the zeroth argument passed to +the shell places a dash at the beginning of the zeroth argument passed to command. This is what @@ -9942,11 +10237,10 @@ The supplied names are marked for automatic export to the environment of -subsequently executed commands. If the +subsequently executed commands. If the -f -option is given, -the +option is given, the names refer to functions. @@ -9995,7 +10289,7 @@ and may be specified as a string (to locate the last command beginning with that string) or as a number (an index into the history list, where a negative number is used as an offset from the current -command number). If +command number). If last is not specified it is set to @@ -10191,7 +10485,7 @@ If the variable is set to 0, no error messages will be displayed, even if the first -character of +character of optstring is not a colon. @@ -10247,7 +10541,7 @@ It returns false if the end of options is encountered or an error occurs.
hash [-lr] [-p filename] [-dt] [name]
Each time hash is invoked, -the full pathname of the command +the full pathname of the command name is determined by searching @@ -10333,7 +10627,7 @@ The return status is 0 unless no command matches With no options, display the command history list with line numbers. Lines listed -with a +with a * have been modified. An argument of @@ -10370,8 +10664,9 @@ Delete the history entry at position offset.
-a
-Append the ``new'' history lines (history lines entered since the -beginning of the current bash session) to the history file. +Append the ``new'' history lines to the history file. +These are history lines entered since the beginning of the current +bash session, but not already appended to the history file.
-n
@@ -10420,7 +10715,7 @@ associated with each history entry is written to the history file, marked with the history comment character. When the history file is read, lines beginning with the history comment character followed immediately by a digit are interpreted -as timestamps for the previous history line. +as timestamps for the following history entry. The return value is 0 unless an invalid option is encountered, an error occurs while reading or writing the history file, an invalid offset is supplied as an argument to -d, or the @@ -10500,7 +10795,7 @@ returning its exit status.
kill [-s sigspec | -n signum | -sigspec] [pid | jobspec] ...
-
kill -l [sigspec | exit_status]
+
kill -l|-L [sigspec | exit_status]
Send the signal named by sigspec @@ -10550,6 +10845,10 @@ The exit_status argument to is a number specifying either a signal number or the exit status of a process terminated by a signal. +The +-L + +option is equivalent to -l. kill returns true if at least one signal was successfully sent, or false @@ -10570,9 +10869,9 @@ evaluates to 0, let returns 1; 0 is returned otherwise. -
local [option] [name[=value] ...]
+
local [option] [name[=value] ... | - ]
For each argument, a local variable named -name +name is created, and assigned value. @@ -10585,6 +10884,10 @@ is used within a function, it causes the variable name to have a visible scope restricted to that function and its children. +If name is -, the set of shell options is made local to the function +in which local is invoked: shell options changed using the +set builtin inside the function are restored to their original values +when the function returns. With no operands, local @@ -10604,17 +10907,17 @@ is supplied, or
Exit a login shell. -
mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]
+
mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]
-
readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]
+
readarray [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]
Read lines from the standard input into the indexed array variable array, -or from file descriptor +or from file descriptor fd -if the +if the -u option is supplied. @@ -10627,6 +10930,11 @@ Options, if supplied, have the following meanings:
+
-d + +
+The first character of delim is used to terminate each input line, +rather than newline.
-n
@@ -10651,7 +10959,7 @@ Discard the first count lines read.
-t
-Remove a trailing newline from each line read. +Remove a trailing delim (default newline) from each line read.
-u
@@ -10678,14 +10986,14 @@ Specify the number of lines read between each call to If -C -is specified without +is specified without -c, the default quantum is 5000. When callback is evaluated, it is supplied the index of the next array element to be assigned and the line to be assigned to that element as additional arguments. -callback is evaluated after the line is read but before the +callback is evaluated after the line is read but before the array element is assigned.

@@ -10744,7 +11052,7 @@ the next to last. If the popd -command is successful, a +command is successful, a dirs is performed as well, and the return status is 0. @@ -10776,9 +11084,8 @@ In addition to the standard printf(1) format specifications,

causes printf to expand backslash escape sequences in the corresponding -argument (except that \c terminates output, backslashes in -\aq, \", and \? are not removed, and octal escapes -beginning with \0 may contain up to four digits). +argument +in the same way as echo -e.
%q
@@ -10818,7 +11125,7 @@ The return value is zero on success, non-zero on failure. Adds a directory to the top of the directory stack, or rotates the stack, making the new top of the stack the current working -directory. With no arguments, exchanges the top two directories +directory. With no arguments, pushd exchanges the top two directories and returns 0, unless the directory stack is empty. Arguments, if supplied, have the following meanings:
@@ -10827,8 +11134,8 @@ Arguments, if supplied, have the following meanings:
-n
-Suppresses the normal change of directory when adding directories -to the stack, so that only the stack is manipulated. +Suppresses the normal change of directory when rotating or +adding directories to the stack, so that only the stack is manipulated.
+n
Rotates the stack so that the nth directory (counting from the left of the list shown by @@ -10858,7 +11165,7 @@ to the cd builtin. If the pushd -command is successful, a +command is successful, a dirs is performed as well. @@ -10882,7 +11189,7 @@ Print the absolute pathname of the current working directory. The pathname printed contains no symbolic links if the -P -option is supplied or the +option is supplied or the -o physical option to the @@ -10898,20 +11205,23 @@ reading the name of the current directory or an invalid option is supplied.
read [-ers] [-a aname] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...]
One line is read from the standard input, or from the file descriptor -fd supplied as an argument to the -u option, and the first word +fd supplied as an argument to the -u option, +split into words as described above under Word Splitting, +and the first word is assigned to the first name, the second word to the second name, -and so on, with leftover words and their intervening separators assigned -to the last +and so on. +If there are more words than names, the remaining words and their +intervening delimiters are assigned to the last name. If there are fewer words read from the input stream than names, the remaining names are assigned empty values. -The characters in +The characters in IFS @@ -10966,7 +11276,7 @@ buffer before editing begins.
read returns after reading nchars characters rather than -waiting for a complete line of input, but honor a delimiter if fewer +waiting for a complete line of input, but honors a delimiter if fewer than nchars characters are read before the delimiter.
-N nchars @@ -10977,6 +11287,9 @@ than waiting for a complete line of input, unless EOF is encountered or Delimiter characters encountered in the input are not treated specially and do not cause read to return until nchars characters are read. +The result is not split on the characters in IFS; the intent is +that the variable is assigned exactly the characters read +(with the exception of backslash; see the -r option below).
-p prompt
@@ -11027,8 +11340,8 @@ are supplied, the line read is assigned to the variable REPLY. -The return code is zero, unless end-of-file is encountered, read -times out (in which case the return code is greater than 128), +The exit status is zero, unless end-of-file is encountered, read +times out (in which case the status is greater than 128), a variable assignment error (such as assigning to a readonly variable) occurs, or an invalid file descriptor is supplied as the argument to -u.
@@ -11089,15 +11402,21 @@ Causes a function to stop executing and return the value specified by n to its caller. -If +If n is omitted, the return status is that of the last command -executed in the function body. If +executed in the function body. +If return is executed by a trap handler, the last command used to +determine the status is the last command executed before the trap handler. +if return is executed during a DEBUG trap, the last command +used to determine the status is the last command executed by the trap +handler before return was invoked. +If return is used outside a function, -but during execution of a script by the +but during execution of a script by the . (source) command, it causes the shell to stop executing @@ -11128,7 +11447,7 @@ In posix mode, only shell variables are listed. The output is sorted according to the current locale. When options are specified, they set or unset shell attributes. Any arguments remaining after option processing are treated -as values for the positional parameters and are assigned, in order, to +as values for the positional parameters and are assigned, in order, to $1, $2, @@ -11144,8 +11463,9 @@ Options, if specified, have the following meanings:
-a
-Automatically mark variables and functions which are modified or -created for export to the environment of subsequent commands. +Each variable or function that is created or modified is given the +export attribute and marked for export to the environment of +subsequent commands.
-b
@@ -11163,7 +11483,7 @@ or a compound command SHELL GRAMMAR -above), exits with a non-zero status. +above), exits with a non-zero status. The shell does not exit if the command that fails is part of the command list immediately following a while @@ -11171,7 +11491,7 @@ command that fails is part of the command list immediately following a or until -keyword, +keyword, part of the test following the if @@ -11244,9 +11564,9 @@ containing its exit status.
-n
-Read commands but do not execute them. This may be used to -check a shell script for syntax errors. This is ignored by -interactive shells. +Read commands but do not execute them. +This may be used to check a shell script for syntax errors. +This is ignored by interactive shells.
-o option-name
@@ -11530,7 +11850,7 @@ does not overwrite an existing file with the and <> -redirection operators. This may be overridden when +redirection operators. This may be overridden when creating output files by using the redirection operator >| @@ -11623,7 +11943,7 @@ If is 0, no parameters are changed. If -n +n is not given, it is assumed to be 1. If @@ -11805,7 +12125,10 @@ If set, changes its behavior to that of version 3.2 with respect to locale-specific string comparison when using the [[ -conditional command's < and > operators (see previous item). +conditional command's < and > operators (see previous item) +and the effect of interrupting a command list. +Bash versions 3.2 and earlier continue with the next command in the list +after one terminates due to an interrupt.
compat40
@@ -11838,6 +12161,20 @@ If set, does not process the replacement string in the pattern substitution word expansion using quote removal. +
compat43 + +
+If set, +bash + +does not print a warning message if an attempt is made to use a quoted compound +array assignment as an argument to declare, +makes word expansion errors +non-fatal errors that cause the current command to fail (the default behavior is +to make them fatal errors that cause the shell to exit), +and does not reset the +loop state when a shell function is executed (this allows break or +continue in a shell function to affect loops in the caller's context).
complete_fullquote
@@ -11884,7 +12221,7 @@ if the directory name initially supplied does not exist.
dotglob
-If set, +If set, bash includes filenames beginning with a `.' in the results of pathname @@ -11911,7 +12248,9 @@ This option is enabled by default for interactive shells.
extdebug
-If set, behavior intended for use by debuggers is enabled: +If set at shell invocation, arrange to execute the debugger profile +before the shell starts, identical to the --debugger option. +If set after invocation, behavior intended for use by debuggers is enabled:
1. @@ -11930,8 +12269,8 @@ next command is skipped and not executed.
If the command run by the DEBUG trap returns a value of 2, and the shell is executing in a subroutine (a shell function or a shell script -executed by the . or source builtins), a call to -return is simulated. +executed by the . or source builtins), the shell simulates +a call to return.
4.
@@ -11946,13 +12285,13 @@ are updated as described in their descriptions above.
5.
-Function tracing is enabled: command substitution, shell functions, and +Function tracing is enabled: command substitution, shell functions, and subshells invoked with ( command ) inherit the DEBUG and RETURN traps.
6.
-Error tracing is enabled: command substitution, shell functions, and +Error tracing is enabled: command substitution, shell functions, and subshells invoked with ( command ) inherit the ERR trap.
@@ -12041,7 +12380,7 @@ failed history substitution.
histverify
-If set, and +If set, and readline is being used, the results of history substitution are not immediately @@ -12071,6 +12410,12 @@ If set, bash will send to all jobs when an interactive login shell exits. +
inherit_errexit + +
+If set, command substitution inherits the value of the errexit option, +instead of unsetting it in the subshell environment. +This option is enabled when posix mode is enabled.
interactive_comments
@@ -12108,7 +12453,7 @@ The value may not be changed.
mailwarn
-If set, and a file that bash is checking for mail has been +If set, and a file that bash is checking for mail has been accessed since the last time it was checked, the message ``The mail in mailfile has been read'' is displayed.
no_empty_cmd_completion @@ -12144,7 +12489,9 @@ If set, bash matches patterns in a case-insensitive fashion when performing matching -while executing case or [[ conditional commands. +while executing case or [[ conditional commands, +when performing pattern substitution word expansions, +or when filtering possible completions as part of programmable completion.
nullglob
@@ -12311,7 +12658,7 @@ under the result of the expression is the result of the binary test using the first and third arguments as operands. The -a and -o operators are considered binary operators -when there are three arguments. +when there are three arguments. If the first argument is !, the value is the negation of the two-argument test using the second and third arguments. If the first argument is exactly ( and the third argument is @@ -12321,7 +12668,7 @@ Otherwise, the expression is false.
4 arguments
If the first argument is !, the result is the negation of the three-argument expression composed of the remaining arguments. -Otherwise, the expression is parsed and evaluated according to +Otherwise, the expression is parsed and evaluated according to precedence using the rules listed above.
5 or more arguments
The expression is parsed and evaluated according to precedence @@ -12359,7 +12706,7 @@ is absent (and there is a single sigspec) or each specified signal is reset to its original disposition (the value it had upon entrance to the shell). -If +If arg is the null string the signal specified by each @@ -12456,9 +12803,9 @@ is the command arg -is executed whenever a +is executed whenever a pipeline (which may consist of a single simple -command), a list, or a compound command returns a +command), a list, or a compound command returns a non-zero exit status, subject to the following conditions. The @@ -12472,7 +12819,7 @@ command is part of the command list immediately following a or until -keyword, +keyword, part of the test in an if @@ -12503,7 +12850,7 @@ is invalid; otherwise returns true.
type [-aftpP] name [name ...]
-With no options, +With no options, indicate how each name @@ -12524,7 +12871,7 @@ prints a string which is one of builtin, or -file +file if name @@ -12573,22 +12920,22 @@ and -P print the hashed value, which is not necessarily the file that appears -first in +first in PATH. If the -a -option is used, +option is used, type prints all of the places that contain -an executable named +an executable named name. This includes aliases and functions, -if and only if the +if and only if the -p option is not also used. @@ -12604,7 +12951,7 @@ option suppresses shell function lookup, as with the command builtin. returns true if all of the arguments are found, false if any are not found. -
ulimit [-HSTabcdefilmnpqrstuvx [limit]]
+
ulimit [-HSabcdefiklmnpqrstuvxPT [limit]]
Provides control over the resources available to the shell and to processes started by it, on systems that allow such control. The -H and -S options specify that the hard or soft limit is @@ -12665,6 +13012,10 @@ The maximum size of files written by the shell and its children
The maximum number of pending signals +
-k + +
+The maximum number of kqueues that may be allocated
-l
@@ -12711,6 +13062,10 @@ some systems, to its children
The maximum number of file locks +
-P + +
+The maximum number of pseudoterminals
-T
@@ -12737,23 +13092,33 @@ which is in seconds; -p, which is in units of 512-byte blocks; -and +-P, + -T, -b, +-k, + -n, and -u, -which are unscaled values. +which are unscaled values; +and, when in Posix mode, +-c + +and +-f, + +which are in 512-byte increments. The return status is 0 unless an invalid option or argument is supplied, or an error occurs while setting a new limit.
umask [-p] [-S] [mode]
-The user file-creation mask is set to +The user file-creation mask is set to mode. If @@ -13126,7 +13491,7 @@ this manual page should be directed to It's too big and too slow.

-There are some subtle differences between +There are some subtle differences between bash and traditional versions of @@ -13164,7 +13529,7 @@ There may be only one active coprocess at a time.


-
GNU Bash 4.32014 February 2BASH(1) +GNU Bash 4.42016 August 26BASH(1)

@@ -13270,6 +13635,6 @@ There may be only one active coprocess at a time.

This document was created by man2html from bash.1.
-Time: 24 February 2014 08:28:34 EST +Time: 31 August 2016 10:24:30 EDT diff --git a/doc/bash.info b/doc/bash.info new file mode 100644 index 000000000..fac678652 --- /dev/null +++ b/doc/bash.info @@ -0,0 +1,11484 @@ +This is bash.info, produced by makeinfo version 6.1 from +bashref.texi. + +This text is a brief description of the features that are present in the +Bash shell (version 4.4, 7 September 2016). + + This is Edition 4.4, last updated 7 September 2016, of 'The GNU Bash +Reference Manual', for 'Bash', Version 4.4. + + Copyright (C) 1988-2016 Free Software Foundation, Inc. + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.3 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts, and + no Back-Cover Texts. A copy of the license is included in the + section entitled "GNU Free Documentation License". +INFO-DIR-SECTION Basics +START-INFO-DIR-ENTRY +* Bash: (bash). The GNU Bourne-Again SHell. +END-INFO-DIR-ENTRY + + +File: bash.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir) + +Bash Features +************* + +This text is a brief description of the features that are present in the +Bash shell (version 4.4, 7 September 2016). The Bash home page is +. + + This is Edition 4.4, last updated 7 September 2016, of 'The GNU Bash +Reference Manual', for 'Bash', Version 4.4. + + Bash contains features that appear in other popular shells, and some +features that only appear in Bash. Some of the shells that Bash has +borrowed concepts from are the Bourne Shell ('sh'), the Korn Shell +('ksh'), and the C-shell ('csh' and its successor, 'tcsh'). The +following menu breaks the features up into categories, noting which +features were inspired by other shells and which are specific to Bash. + + This manual is meant as a brief introduction to features found in +Bash. The Bash manual page should be used as the definitive reference +on shell behavior. + +* Menu: + +* Introduction:: An introduction to the shell. +* Definitions:: Some definitions used in the rest of this + manual. +* Basic Shell Features:: The shell "building blocks". +* Shell Builtin Commands:: Commands that are a part of the shell. +* Shell Variables:: Variables used or set by Bash. +* Bash Features:: Features found only in Bash. +* Job Control:: What job control is and how Bash allows you + to use it. +* Command Line Editing:: Chapter describing the command line + editing features. +* Using History Interactively:: Command History Expansion +* Installing Bash:: How to build and install Bash on your system. +* Reporting Bugs:: How to report bugs in Bash. +* Major Differences From The Bourne Shell:: A terse list of the differences + between Bash and historical + versions of /bin/sh. +* GNU Free Documentation License:: Copying and sharing this documentation. +* Indexes:: Various indexes for this manual. + + +File: bash.info, Node: Introduction, Next: Definitions, Up: Top + +1 Introduction +************** + +* Menu: + +* What is Bash?:: A short description of Bash. +* What is a shell?:: A brief introduction to shells. + + +File: bash.info, Node: What is Bash?, Next: What is a shell?, Up: Introduction + +1.1 What is Bash? +================= + +Bash is the shell, or command language interpreter, for the GNU +operating system. The name is an acronym for the 'Bourne-Again SHell', +a pun on Stephen Bourne, the author of the direct ancestor of the +current Unix shell 'sh', which appeared in the Seventh Edition Bell Labs +Research version of Unix. + + Bash is largely compatible with 'sh' and incorporates useful features +from the Korn shell 'ksh' and the C shell 'csh'. It is intended to be a +conformant implementation of the IEEE POSIX Shell and Tools portion of +the IEEE POSIX specification (IEEE Standard 1003.1). It offers +functional improvements over 'sh' for both interactive and programming +use. + + While the GNU operating system provides other shells, including a +version of 'csh', Bash is the default shell. Like other GNU software, +Bash is quite portable. It currently runs on nearly every version of +Unix and a few other operating systems - independently-supported ports +exist for MS-DOS, OS/2, and Windows platforms. + + +File: bash.info, Node: What is a shell?, Prev: What is Bash?, Up: Introduction + +1.2 What is a shell? +==================== + +At its base, a shell is simply a macro processor that executes commands. +The term macro processor means functionality where text and symbols are +expanded to create larger expressions. + + A Unix shell is both a command interpreter and a programming +language. As a command interpreter, the shell provides the user +interface to the rich set of GNU utilities. The programming language +features allow these utilities to be combined. Files containing +commands can be created, and become commands themselves. These new +commands have the same status as system commands in directories such as +'/bin', allowing users or groups to establish custom environments to +automate their common tasks. + + Shells may be used interactively or non-interactively. In +interactive mode, they accept input typed from the keyboard. When +executing non-interactively, shells execute commands read from a file. + + A shell allows execution of GNU commands, both synchronously and +asynchronously. The shell waits for synchronous commands to complete +before accepting more input; asynchronous commands continue to execute +in parallel with the shell while it reads and executes additional +commands. The "redirection" constructs permit fine-grained control of +the input and output of those commands. Moreover, the shell allows +control over the contents of commands' environments. + + Shells also provide a small set of built-in commands ("builtins") +implementing functionality impossible or inconvenient to obtain via +separate utilities. For example, 'cd', 'break', 'continue', and 'exec' +cannot be implemented outside of the shell because they directly +manipulate the shell itself. The 'history', 'getopts', 'kill', or 'pwd' +builtins, among others, could be implemented in separate utilities, but +they are more convenient to use as builtin commands. All of the shell +builtins are described in subsequent sections. + + While executing commands is essential, most of the power (and +complexity) of shells is due to their embedded programming languages. +Like any high-level language, the shell provides variables, flow control +constructs, quoting, and functions. + + Shells offer features geared specifically for interactive use rather +than to augment the programming language. These interactive features +include job control, command line editing, command history and aliases. +Each of these features is described in this manual. + + +File: bash.info, Node: Definitions, Next: Basic Shell Features, Prev: Introduction, Up: Top + +2 Definitions +************* + +These definitions are used throughout the remainder of this manual. + +'POSIX' + A family of open system standards based on Unix. Bash is primarily + concerned with the Shell and Utilities portion of the POSIX 1003.1 + standard. + +'blank' + A space or tab character. + +'builtin' + A command that is implemented internally by the shell itself, + rather than by an executable program somewhere in the file system. + +'control operator' + A 'token' that performs a control function. It is a 'newline' or + one of the following: '||', '&&', '&', ';', ';;', ';&', ';;&', '|', + '|&', '(', or ')'. + +'exit status' + The value returned by a command to its caller. The value is + restricted to eight bits, so the maximum value is 255. + +'field' + A unit of text that is the result of one of the shell expansions. + After expansion, when executing a command, the resulting fields are + used as the command name and arguments. + +'filename' + A string of characters used to identify a file. + +'job' + A set of processes comprising a pipeline, and any processes + descended from it, that are all in the same process group. + +'job control' + A mechanism by which users can selectively stop (suspend) and + restart (resume) execution of processes. + +'metacharacter' + A character that, when unquoted, separates words. A metacharacter + is a 'space', 'tab', 'newline', or one of the following characters: + '|', '&', ';', '(', ')', '<', or '>'. + +'name' + A 'word' consisting solely of letters, numbers, and underscores, + and beginning with a letter or underscore. 'Name's are used as + shell variable and function names. Also referred to as an + 'identifier'. + +'operator' + A 'control operator' or a 'redirection operator'. *Note + Redirections::, for a list of redirection operators. Operators + contain at least one unquoted 'metacharacter'. + +'process group' + A collection of related processes each having the same process + group ID. + +'process group ID' + A unique identifier that represents a 'process group' during its + lifetime. + +'reserved word' + A 'word' that has a special meaning to the shell. Most reserved + words introduce shell flow control constructs, such as 'for' and + 'while'. + +'return status' + A synonym for 'exit status'. + +'signal' + A mechanism by which a process may be notified by the kernel of an + event occurring in the system. + +'special builtin' + A shell builtin command that has been classified as special by the + POSIX standard. + +'token' + A sequence of characters considered a single unit by the shell. It + is either a 'word' or an 'operator'. + +'word' + A sequence of characters treated as a unit by the shell. Words may + not include unquoted 'metacharacters'. + + +File: bash.info, Node: Basic Shell Features, Next: Shell Builtin Commands, Prev: Definitions, Up: Top + +3 Basic Shell Features +********************** + +Bash is an acronym for 'Bourne-Again SHell'. The Bourne shell is the +traditional Unix shell originally written by Stephen Bourne. All of the +Bourne shell builtin commands are available in Bash, The rules for +evaluation and quoting are taken from the POSIX specification for the +'standard' Unix shell. + + This chapter briefly summarizes the shell's 'building blocks': +commands, control structures, shell functions, shell parameters, shell +expansions, redirections, which are a way to direct input and output +from and to named files, and how the shell executes commands. + +* Menu: + +* Shell Syntax:: What your input means to the shell. +* Shell Commands:: The types of commands you can use. +* Shell Functions:: Grouping commands by name. +* Shell Parameters:: How the shell stores values. +* Shell Expansions:: How Bash expands parameters and the various + expansions available. +* Redirections:: A way to control where input and output go. +* Executing Commands:: What happens when you run a command. +* Shell Scripts:: Executing files of shell commands. + + +File: bash.info, Node: Shell Syntax, Next: Shell Commands, Up: Basic Shell Features + +3.1 Shell Syntax +================ + +* Menu: + +* Shell Operation:: The basic operation of the shell. +* Quoting:: How to remove the special meaning from characters. +* Comments:: How to specify comments. + +When the shell reads input, it proceeds through a sequence of +operations. If the input indicates the beginning of a comment, the +shell ignores the comment symbol ('#'), and the rest of that line. + + Otherwise, roughly speaking, the shell reads its input and divides +the input into words and operators, employing the quoting rules to +select which meanings to assign various words and characters. + + The shell then parses these tokens into commands and other +constructs, removes the special meaning of certain words or characters, +expands others, redirects input and output as needed, executes the +specified command, waits for the command's exit status, and makes that +exit status available for further inspection or processing. + + +File: bash.info, Node: Shell Operation, Next: Quoting, Up: Shell Syntax + +3.1.1 Shell Operation +--------------------- + +The following is a brief description of the shell's operation when it +reads and executes a command. Basically, the shell does the following: + + 1. Reads its input from a file (*note Shell Scripts::), from a string + supplied as an argument to the '-c' invocation option (*note + Invoking Bash::), or from the user's terminal. + + 2. Breaks the input into words and operators, obeying the quoting + rules described in *note Quoting::. These tokens are separated by + 'metacharacters'. Alias expansion is performed by this step (*note + Aliases::). + + 3. Parses the tokens into simple and compound commands (*note Shell + Commands::). + + 4. Performs the various shell expansions (*note Shell Expansions::), + breaking the expanded tokens into lists of filenames (*note + Filename Expansion::) and commands and arguments. + + 5. Performs any necessary redirections (*note Redirections::) and + removes the redirection operators and their operands from the + argument list. + + 6. Executes the command (*note Executing Commands::). + + 7. Optionally waits for the command to complete and collects its exit + status (*note Exit Status::). + + +File: bash.info, Node: Quoting, Next: Comments, Prev: Shell Operation, Up: Shell Syntax + +3.1.2 Quoting +------------- + +* Menu: + +* Escape Character:: How to remove the special meaning from a single + character. +* Single Quotes:: How to inhibit all interpretation of a sequence + of characters. +* Double Quotes:: How to suppress most of the interpretation of a + sequence of characters. +* ANSI-C Quoting:: How to expand ANSI-C sequences in quoted strings. +* Locale Translation:: How to translate strings into different languages. + +Quoting is used to remove the special meaning of certain characters or +words to the shell. Quoting can be used to disable special treatment +for special characters, to prevent reserved words from being recognized +as such, and to prevent parameter expansion. + + Each of the shell metacharacters (*note Definitions::) has special +meaning to the shell and must be quoted if it is to represent itself. +When the command history expansion facilities are being used (*note +History Interaction::), the HISTORY EXPANSION character, usually '!', +must be quoted to prevent history expansion. *Note Bash History +Facilities::, for more details concerning history expansion. + + There are three quoting mechanisms: the ESCAPE CHARACTER, single +quotes, and double quotes. + + +File: bash.info, Node: Escape Character, Next: Single Quotes, Up: Quoting + +3.1.2.1 Escape Character +........................ + +A non-quoted backslash '\' is the Bash escape character. It preserves +the literal value of the next character that follows, with the exception +of 'newline'. If a '\newline' pair appears, and the backslash itself is +not quoted, the '\newline' is treated as a line continuation (that is, +it is removed from the input stream and effectively ignored). + + +File: bash.info, Node: Single Quotes, Next: Double Quotes, Prev: Escape Character, Up: Quoting + +3.1.2.2 Single Quotes +..................... + +Enclosing characters in single quotes (''') preserves the literal value +of each character within the quotes. A single quote may not occur +between single quotes, even when preceded by a backslash. + + +File: bash.info, Node: Double Quotes, Next: ANSI-C Quoting, Prev: Single Quotes, Up: Quoting + +3.1.2.3 Double Quotes +..................... + +Enclosing characters in double quotes ('"') preserves the literal value +of all characters within the quotes, with the exception of '$', '`', +'\', and, when history expansion is enabled, '!'. When the shell is in +POSIX mode (*note Bash POSIX Mode::), the '!' has no special meaning +within double quotes, even when history expansion is enabled. The +characters '$' and '`' retain their special meaning within double quotes +(*note Shell Expansions::). The backslash retains its special meaning +only when followed by one of the following characters: '$', '`', '"', +'\', or 'newline'. Within double quotes, backslashes that are followed +by one of these characters are removed. Backslashes preceding +characters without a special meaning are left unmodified. A double +quote may be quoted within double quotes by preceding it with a +backslash. If enabled, history expansion will be performed unless an +'!' appearing in double quotes is escaped using a backslash. The +backslash preceding the '!' is not removed. + + The special parameters '*' and '@' have special meaning when in +double quotes (*note Shell Parameter Expansion::). + + +File: bash.info, Node: ANSI-C Quoting, Next: Locale Translation, Prev: Double Quotes, Up: Quoting + +3.1.2.4 ANSI-C Quoting +...................... + +Words of the form '$'STRING'' are treated specially. The word expands +to STRING, with backslash-escaped characters replaced as specified by +the ANSI C standard. Backslash escape sequences, if present, are +decoded as follows: + +'\a' + alert (bell) +'\b' + backspace +'\e' +'\E' + an escape character (not ANSI C) +'\f' + form feed +'\n' + newline +'\r' + carriage return +'\t' + horizontal tab +'\v' + vertical tab +'\\' + backslash +'\'' + single quote +'\"' + double quote +'\?' + question mark +'\NNN' + the eight-bit character whose value is the octal value NNN (one to + three digits) +'\xHH' + the eight-bit character whose value is the hexadecimal value HH + (one or two hex digits) +'\uHHHH' + the Unicode (ISO/IEC 10646) character whose value is the + hexadecimal value HHHH (one to four hex digits) +'\UHHHHHHHH' + the Unicode (ISO/IEC 10646) character whose value is the + hexadecimal value HHHHHHHH (one to eight hex digits) +'\cX' + a control-X character + +The expanded result is single-quoted, as if the dollar sign had not been +present. + + +File: bash.info, Node: Locale Translation, Prev: ANSI-C Quoting, Up: Quoting + +3.1.2.5 Locale-Specific Translation +................................... + +A double-quoted string preceded by a dollar sign ('$') will cause the +string to be translated according to the current locale. If the current +locale is 'C' or 'POSIX', the dollar sign is ignored. If the string is +translated and replaced, the replacement is double-quoted. + + Some systems use the message catalog selected by the 'LC_MESSAGES' +shell variable. Others create the name of the message catalog from the +value of the 'TEXTDOMAIN' shell variable, possibly adding a suffix of +'.mo'. If you use the 'TEXTDOMAIN' variable, you may need to set the +'TEXTDOMAINDIR' variable to the location of the message catalog files. +Still others use both variables in this fashion: +'TEXTDOMAINDIR'/'LC_MESSAGES'/LC_MESSAGES/'TEXTDOMAIN'.mo. + + +File: bash.info, Node: Comments, Prev: Quoting, Up: Shell Syntax + +3.1.3 Comments +-------------- + +In a non-interactive shell, or an interactive shell in which the +'interactive_comments' option to the 'shopt' builtin is enabled (*note +The Shopt Builtin::), a word beginning with '#' causes that word and all +remaining characters on that line to be ignored. An interactive shell +without the 'interactive_comments' option enabled does not allow +comments. The 'interactive_comments' option is on by default in +interactive shells. *Note Interactive Shells::, for a description of +what makes a shell interactive. + + +File: bash.info, Node: Shell Commands, Next: Shell Functions, Prev: Shell Syntax, Up: Basic Shell Features + +3.2 Shell Commands +================== + +A simple shell command such as 'echo a b c' consists of the command +itself followed by arguments, separated by spaces. + + More complex shell commands are composed of simple commands arranged +together in a variety of ways: in a pipeline in which the output of one +command becomes the input of a second, in a loop or conditional +construct, or in some other grouping. + +* Menu: + +* Simple Commands:: The most common type of command. +* Pipelines:: Connecting the input and output of several + commands. +* Lists:: How to execute commands sequentially. +* Compound Commands:: Shell commands for control flow. +* Coprocesses:: Two-way communication between commands. +* GNU Parallel:: Running commands in parallel. + + +File: bash.info, Node: Simple Commands, Next: Pipelines, Up: Shell Commands + +3.2.1 Simple Commands +--------------------- + +A simple command is the kind of command encountered most often. It's +just a sequence of words separated by 'blank's, terminated by one of the +shell's control operators (*note Definitions::). The first word +generally specifies a command to be executed, with the rest of the words +being that command's arguments. + + The return status (*note Exit Status::) of a simple command is its +exit status as provided by the POSIX 1003.1 'waitpid' function, or 128+N +if the command was terminated by signal N. + + +File: bash.info, Node: Pipelines, Next: Lists, Prev: Simple Commands, Up: Shell Commands + +3.2.2 Pipelines +--------------- + +A 'pipeline' is a sequence of one or more commands separated by one of +the control operators '|' or '|&'. + + The format for a pipeline is + [time [-p]] [!] COMMAND1 [ | or |& COMMAND2 ] ... + +The output of each command in the pipeline is connected via a pipe to +the input of the next command. That is, each command reads the previous +command's output. This connection is performed before any redirections +specified by the command. + + If '|&' is used, COMMAND1's standard error, in addition to its +standard output, is connected to COMMAND2's standard input through the +pipe; it is shorthand for '2>&1 |'. This implicit redirection of the +standard error to the standard output is performed after any +redirections specified by the command. + + The reserved word 'time' causes timing statistics to be printed for +the pipeline once it finishes. The statistics currently consist of +elapsed (wall-clock) time and user and system time consumed by the +command's execution. The '-p' option changes the output format to that +specified by POSIX. When the shell is in POSIX mode (*note Bash POSIX +Mode::), it does not recognize 'time' as a reserved word if the next +token begins with a '-'. The 'TIMEFORMAT' variable may be set to a +format string that specifies how the timing information should be +displayed. *Note Bash Variables::, for a description of the available +formats. The use of 'time' as a reserved word permits the timing of +shell builtins, shell functions, and pipelines. An external 'time' +command cannot time these easily. + + When the shell is in POSIX mode (*note Bash POSIX Mode::), 'time' may +be followed by a newline. In this case, the shell displays the total +user and system time consumed by the shell and its children. The +'TIMEFORMAT' variable may be used to specify the format of the time +information. + + If the pipeline is not executed asynchronously (*note Lists::), the +shell waits for all commands in the pipeline to complete. + + Each command in a pipeline is executed in its own subshell (*note +Command Execution Environment::). The exit status of a pipeline is the +exit status of the last command in the pipeline, unless the 'pipefail' +option is enabled (*note The Set Builtin::). If 'pipefail' is enabled, +the pipeline's return status is the value of the last (rightmost) +command to exit with a non-zero status, or zero if all commands exit +successfully. If the reserved word '!' precedes the pipeline, the exit +status is the logical negation of the exit status as described above. +The shell waits for all commands in the pipeline to terminate before +returning a value. + + +File: bash.info, Node: Lists, Next: Compound Commands, Prev: Pipelines, Up: Shell Commands + +3.2.3 Lists of Commands +----------------------- + +A 'list' is a sequence of one or more pipelines separated by one of the +operators ';', '&', '&&', or '||', and optionally terminated by one of +';', '&', or a 'newline'. + + Of these list operators, '&&' and '||' have equal precedence, +followed by ';' and '&', which have equal precedence. + + A sequence of one or more newlines may appear in a 'list' to delimit +commands, equivalent to a semicolon. + + If a command is terminated by the control operator '&', the shell +executes the command asynchronously in a subshell. This is known as +executing the command in the BACKGROUND. The shell does not wait for +the command to finish, and the return status is 0 (true). When job +control is not active (*note Job Control::), the standard input for +asynchronous commands, in the absence of any explicit redirections, is +redirected from '/dev/null'. + + Commands separated by a ';' are executed sequentially; the shell +waits for each command to terminate in turn. The return status is the +exit status of the last command executed. + + AND and OR lists are sequences of one or more pipelines separated by +the control operators '&&' and '||', respectively. AND and OR lists are +executed with left associativity. + + An AND list has the form + COMMAND1 && COMMAND2 + +COMMAND2 is executed if, and only if, COMMAND1 returns an exit status of +zero. + + An OR list has the form + COMMAND1 || COMMAND2 + +COMMAND2 is executed if, and only if, COMMAND1 returns a non-zero exit +status. + + The return status of AND and OR lists is the exit status of the last +command executed in the list. + + +File: bash.info, Node: Compound Commands, Next: Coprocesses, Prev: Lists, Up: Shell Commands + +3.2.4 Compound Commands +----------------------- + +* Menu: + +* Looping Constructs:: Shell commands for iterative action. +* Conditional Constructs:: Shell commands for conditional execution. +* Command Grouping:: Ways to group commands. + +Compound commands are the shell programming constructs. Each construct +begins with a reserved word or control operator and is terminated by a +corresponding reserved word or operator. Any redirections (*note +Redirections::) associated with a compound command apply to all commands +within that compound command unless explicitly overridden. + + In most cases a list of commands in a compound command's description +may be separated from the rest of the command by one or more newlines, +and may be followed by a newline in place of a semicolon. + + Bash provides looping constructs, conditional commands, and +mechanisms to group commands and execute them as a unit. + + +File: bash.info, Node: Looping Constructs, Next: Conditional Constructs, Up: Compound Commands + +3.2.4.1 Looping Constructs +.......................... + +Bash supports the following looping constructs. + + Note that wherever a ';' appears in the description of a command's +syntax, it may be replaced with one or more newlines. + +'until' + The syntax of the 'until' command is: + + until TEST-COMMANDS; do CONSEQUENT-COMMANDS; done + + Execute CONSEQUENT-COMMANDS as long as TEST-COMMANDS has an exit + status which is not zero. The return status is the exit status of + the last command executed in CONSEQUENT-COMMANDS, or zero if none + was executed. + +'while' + The syntax of the 'while' command is: + + while TEST-COMMANDS; do CONSEQUENT-COMMANDS; done + + Execute CONSEQUENT-COMMANDS as long as TEST-COMMANDS has an exit + status of zero. The return status is the exit status of the last + command executed in CONSEQUENT-COMMANDS, or zero if none was + executed. + +'for' + The syntax of the 'for' command is: + + for NAME [ [in [WORDS ...] ] ; ] do COMMANDS; done + + Expand WORDS, and execute COMMANDS once for each member in the + resultant list, with NAME bound to the current member. If 'in + WORDS' is not present, the 'for' command executes the COMMANDS once + for each positional parameter that is set, as if 'in "$@"' had been + specified (*note Special Parameters::). The return status is the + exit status of the last command that executes. If there are no + items in the expansion of WORDS, no commands are executed, and the + return status is zero. + + An alternate form of the 'for' command is also supported: + + for (( EXPR1 ; EXPR2 ; EXPR3 )) ; do COMMANDS ; done + + First, the arithmetic expression EXPR1 is evaluated according to + the rules described below (*note Shell Arithmetic::). The + arithmetic expression EXPR2 is then evaluated repeatedly until it + evaluates to zero. Each time EXPR2 evaluates to a non-zero value, + COMMANDS are executed and the arithmetic expression EXPR3 is + evaluated. If any expression is omitted, it behaves as if it + evaluates to 1. The return value is the exit status of the last + command in COMMANDS that is executed, or false if any of the + expressions is invalid. + + The 'break' and 'continue' builtins (*note Bourne Shell Builtins::) +may be used to control loop execution. + + +File: bash.info, Node: Conditional Constructs, Next: Command Grouping, Prev: Looping Constructs, Up: Compound Commands + +3.2.4.2 Conditional Constructs +.............................. + +'if' + The syntax of the 'if' command is: + + if TEST-COMMANDS; then + CONSEQUENT-COMMANDS; + [elif MORE-TEST-COMMANDS; then + MORE-CONSEQUENTS;] + [else ALTERNATE-CONSEQUENTS;] + fi + + The TEST-COMMANDS list is executed, and if its return status is + zero, the CONSEQUENT-COMMANDS list is executed. If TEST-COMMANDS + returns a non-zero status, each 'elif' list is executed in turn, + and if its exit status is zero, the corresponding MORE-CONSEQUENTS + is executed and the command completes. If 'else + ALTERNATE-CONSEQUENTS' is present, and the final command in the + final 'if' or 'elif' clause has a non-zero exit status, then + ALTERNATE-CONSEQUENTS is executed. The return status is the exit + status of the last command executed, or zero if no condition tested + true. + +'case' + The syntax of the 'case' command is: + + case WORD in [ [(] PATTERN [| PATTERN]...) COMMAND-LIST ;;]... esac + + 'case' will selectively execute the COMMAND-LIST corresponding to + the first PATTERN that matches WORD. If the 'nocasematch' shell + option (see the description of 'shopt' in *note The Shopt + Builtin::) is enabled, the match is performed without regard to the + case of alphabetic characters. The '|' is used to separate + multiple patterns, and the ')' operator terminates a pattern list. + A list of patterns and an associated command-list is known as a + CLAUSE. + + Each clause must be terminated with ';;', ';&', or ';;&'. The WORD + undergoes tilde expansion, parameter expansion, command + substitution, arithmetic expansion, and quote removal before + matching is attempted. Each PATTERN undergoes tilde expansion, + parameter expansion, command substitution, and arithmetic + expansion. + + There may be an arbitrary number of 'case' clauses, each terminated + by a ';;', ';&', or ';;&'. The first pattern that matches + determines the command-list that is executed. It's a common idiom + to use '*' as the final pattern to define the default case, since + that pattern will always match. + + Here is an example using 'case' in a script that could be used to + describe one interesting feature of an animal: + + echo -n "Enter the name of an animal: " + read ANIMAL + echo -n "The $ANIMAL has " + case $ANIMAL in + horse | dog | cat) echo -n "four";; + man | kangaroo ) echo -n "two";; + *) echo -n "an unknown number of";; + esac + echo " legs." + + + If the ';;' operator is used, no subsequent matches are attempted + after the first pattern match. Using ';&' in place of ';;' causes + execution to continue with the COMMAND-LIST associated with the + next clause, if any. Using ';;&' in place of ';;' causes the shell + to test the patterns in the next clause, if any, and execute any + associated COMMAND-LIST on a successful match. + + The return status is zero if no PATTERN is matched. Otherwise, the + return status is the exit status of the COMMAND-LIST executed. + +'select' + + The 'select' construct allows the easy generation of menus. It has + almost the same syntax as the 'for' command: + + select NAME [in WORDS ...]; do COMMANDS; done + + The list of words following 'in' is expanded, generating a list of + items. The set of expanded words is printed on the standard error + output stream, each preceded by a number. If the 'in WORDS' is + omitted, the positional parameters are printed, as if 'in "$@"' had + been specified. The 'PS3' prompt is then displayed and a line is + read from the standard input. If the line consists of a number + corresponding to one of the displayed words, then the value of NAME + is set to that word. If the line is empty, the words and prompt + are displayed again. If 'EOF' is read, the 'select' command + completes. Any other value read causes NAME to be set to null. + The line read is saved in the variable 'REPLY'. + + The COMMANDS are executed after each selection until a 'break' + command is executed, at which point the 'select' command completes. + + Here is an example that allows the user to pick a filename from the + current directory, and displays the name and index of the file + selected. + + select fname in *; + do + echo you picked $fname \($REPLY\) + break; + done + +'((...))' + (( EXPRESSION )) + + The arithmetic EXPRESSION is evaluated according to the rules + described below (*note Shell Arithmetic::). If the value of the + expression is non-zero, the return status is 0; otherwise the + return status is 1. This is exactly equivalent to + let "EXPRESSION" + *Note Bash Builtins::, for a full description of the 'let' builtin. + +'[[...]]' + [[ EXPRESSION ]] + + Return a status of 0 or 1 depending on the evaluation of the + conditional expression EXPRESSION. Expressions are composed of the + primaries described below in *note Bash Conditional Expressions::. + Word splitting and filename expansion are not performed on the + words between the '[[' and ']]'; tilde expansion, parameter and + variable expansion, arithmetic expansion, command substitution, + process substitution, and quote removal are performed. Conditional + operators such as '-f' must be unquoted to be recognized as + primaries. + + When used with '[[', the '<' and '>' operators sort + lexicographically using the current locale. + + When the '==' and '!=' operators are used, the string to the right + of the operator is considered a pattern and matched according to + the rules described below in *note Pattern Matching::, as if the + 'extglob' shell option were enabled. The '=' operator is identical + to '=='. If the 'nocasematch' shell option (see the description of + 'shopt' in *note The Shopt Builtin::) is enabled, the match is + performed without regard to the case of alphabetic characters. The + return value is 0 if the string matches ('==') or does not match + ('!=')the pattern, and 1 otherwise. Any part of the pattern may be + quoted to force the quoted portion to be matched as a string. + + An additional binary operator, '=~', is available, with the same + precedence as '==' and '!='. When it is used, the string to the + right of the operator is considered an extended regular expression + and matched accordingly (as in regex3)). The return value is 0 if + the string matches the pattern, and 1 otherwise. If the regular + expression is syntactically incorrect, the conditional expression's + return value is 2. If the 'nocasematch' shell option (see the + description of 'shopt' in *note The Shopt Builtin::) is enabled, + the match is performed without regard to the case of alphabetic + characters. Any part of the pattern may be quoted to force the + quoted portion to be matched as a string. Bracket expressions in + regular expressions must be treated carefully, since normal quoting + characters lose their meanings between brackets. If the pattern is + stored in a shell variable, quoting the variable expansion forces + the entire pattern to be matched as a string. Substrings matched + by parenthesized subexpressions within the regular expression are + saved in the array variable 'BASH_REMATCH'. The element of + 'BASH_REMATCH' with index 0 is the portion of the string matching + the entire regular expression. The element of 'BASH_REMATCH' with + index N is the portion of the string matching the Nth parenthesized + subexpression. + + For example, the following will match a line (stored in the shell + variable LINE) if there is a sequence of characters in the value + consisting of any number, including zero, of space characters, zero + or one instances of 'a', then a 'b': + [[ $line =~ [[:space:]]*(a)?b ]] + + That means values like 'aab' and ' aaaaaab' will match, as will a + line containing a 'b' anywhere in its value. + + Storing the regular expression in a shell variable is often a + useful way to avoid problems with quoting characters that are + special to the shell. It is sometimes difficult to specify a + regular expression literally without using quotes, or to keep track + of the quoting used by regular expressions while paying attention + to the shell's quote removal. Using a shell variable to store the + pattern decreases these problems. For example, the following is + equivalent to the above: + pattern='[[:space:]]*(a)?b' + [[ $line =~ $pattern ]] + + If you want to match a character that's special to the regular + expression grammar, it has to be quoted to remove its special + meaning. This means that in the pattern 'xxx.txt', the '.' matches + any character in the string (its usual regular expression meaning), + but in the pattern '"xxx.txt"' it can only match a literal '.'. + Shell programmers should take special care with backslashes, since + backslashes are used both by the shell and regular expressions to + remove the special meaning from the following character. The + following two sets of commands are _not_ equivalent: + pattern='\.' + + [[ . =~ $pattern ]] + [[ . =~ \. ]] + + [[ . =~ "$pattern" ]] + [[ . =~ '\.' ]] + + The first two matches will succeed, but the second two will not, + because in the second two the backslash will be part of the pattern + to be matched. In the first two examples, the backslash removes + the special meaning from '.', so the literal '.' matches. If the + string in the first examples were anything other than '.', say 'a', + the pattern would not match, because the quoted '.' in the pattern + loses its special meaning of matching any single character. + + Expressions may be combined using the following operators, listed + in decreasing order of precedence: + + '( EXPRESSION )' + Returns the value of EXPRESSION. This may be used to override + the normal precedence of operators. + + '! EXPRESSION' + True if EXPRESSION is false. + + 'EXPRESSION1 && EXPRESSION2' + True if both EXPRESSION1 and EXPRESSION2 are true. + + 'EXPRESSION1 || EXPRESSION2' + True if either EXPRESSION1 or EXPRESSION2 is true. + + The '&&' and '||' operators do not evaluate EXPRESSION2 if the + value of EXPRESSION1 is sufficient to determine the return value of + the entire conditional expression. + + +File: bash.info, Node: Command Grouping, Prev: Conditional Constructs, Up: Compound Commands + +3.2.4.3 Grouping Commands +......................... + +Bash provides two ways to group a list of commands to be executed as a +unit. When commands are grouped, redirections may be applied to the +entire command list. For example, the output of all the commands in the +list may be redirected to a single stream. + +'()' + ( LIST ) + + Placing a list of commands between parentheses causes a subshell + environment to be created (*note Command Execution Environment::), + and each of the commands in LIST to be executed in that subshell. + Since the LIST is executed in a subshell, variable assignments do + not remain in effect after the subshell completes. + +'{}' + { LIST; } + + Placing a list of commands between curly braces causes the list to + be executed in the current shell context. No subshell is created. + The semicolon (or newline) following LIST is required. + + In addition to the creation of a subshell, there is a subtle +difference between these two constructs due to historical reasons. The +braces are 'reserved words', so they must be separated from the LIST by +'blank's or other shell metacharacters. The parentheses are +'operators', and are recognized as separate tokens by the shell even if +they are not separated from the LIST by whitespace. + + The exit status of both of these constructs is the exit status of +LIST. + + +File: bash.info, Node: Coprocesses, Next: GNU Parallel, Prev: Compound Commands, Up: Shell Commands + +3.2.5 Coprocesses +----------------- + +A 'coprocess' is a shell command preceded by the 'coproc' reserved word. +A coprocess is executed asynchronously in a subshell, as if the command +had been terminated with the '&' control operator, with a two-way pipe +established between the executing shell and the coprocess. + + The format for a coprocess is: + coproc [NAME] COMMAND [REDIRECTIONS] + +This creates a coprocess named NAME. If NAME is not supplied, the +default name is COPROC. NAME must not be supplied if COMMAND is a +simple command (*note Simple Commands::); otherwise, it is interpreted +as the first word of the simple command. + + When the coprocess is executed, the shell creates an array variable +(*note Arrays::) named 'NAME' in the context of the executing shell. +The standard output of COMMAND is connected via a pipe to a file +descriptor in the executing shell, and that file descriptor is assigned +to 'NAME'[0]. The standard input of COMMAND is connected via a pipe to +a file descriptor in the executing shell, and that file descriptor is +assigned to 'NAME'[1]. This pipe is established before any redirections +specified by the command (*note Redirections::). The file descriptors +can be utilized as arguments to shell commands and redirections using +standard word expansions. The file descriptors are not available in +subshells. + + The process ID of the shell spawned to execute the coprocess is +available as the value of the variable 'NAME'_PID. The 'wait' builtin +command may be used to wait for the coprocess to terminate. + + Since the coprocess is created as an asynchronous command, the +'coproc' command always returns success. The return status of a +coprocess is the exit status of COMMAND. + + +File: bash.info, Node: GNU Parallel, Prev: Coprocesses, Up: Shell Commands + +3.2.6 GNU Parallel +------------------ + +There are ways to run commands in parallel that are not built into Bash. +GNU Parallel is a tool to do just that. + + GNU Parallel, as its name suggests, can be used to build and run +commands in parallel. You may run the same command with different +arguments, whether they are filenames, usernames, hostnames, or lines +read from files. GNU Parallel provides shorthand references to many of +the most common operations (input lines, various portions of the input +line, different ways to specify the input source, and so on). Parallel +can replace 'xargs' or feed commands from its input sources to several +different instances of Bash. + + For a complete description, refer to the GNU Parallel documentation. +A few examples should provide a brief introduction to its use. + + For example, it is easy to replace 'xargs' to gzip all html files in +the current directory and its subdirectories: + find . -type f -name '*.html' -print | parallel gzip +If you need to protect special characters such as newlines in file +names, use find's '-print0' option and parallel's '-0' option. + + You can use Parallel to move files from the current directory when +the number of files is too large to process with one 'mv' invocation: + ls | parallel mv {} destdir + + As you can see, the {} is replaced with each line read from standard +input. While using 'ls' will work in most instances, it is not +sufficient to deal with all filenames. If you need to accommodate +special characters in filenames, you can use + + find . -depth 1 \! -name '.*' -print0 | parallel -0 mv {} destdir + +as alluded to above. + + This will run as many 'mv' commands as there are files in the current +directory. You can emulate a parallel 'xargs' by adding the '-X' +option: + find . -depth 1 \! -name '.*' -print0 | parallel -0 -X mv {} destdir + + GNU Parallel can replace certain common idioms that operate on lines +read from a file (in this case, filenames listed one per line): + while IFS= read -r x; do + do-something1 "$x" "config-$x" + do-something2 < "$x" + done < file | process-output + +with a more compact syntax reminiscent of lambdas: + cat list | parallel "do-something1 {} config-{} ; do-something2 < {}" | process-output + + Parallel provides a built-in mechanism to remove filename extensions, +which lends itself to batch file transformations or renaming: + ls *.gz | parallel -j+0 "zcat {} | bzip2 >{.}.bz2 && rm {}" +This will recompress all files in the current directory with names +ending in .gz using bzip2, running one job per CPU (-j+0) in parallel. +(We use 'ls' for brevity here; using 'find' as above is more robust in +the face of filenames containing unexpected characters.) Parallel can +take arguments from the command line; the above can also be written as + + parallel "zcat {} | bzip2 >{.}.bz2 && rm {}" ::: *.gz + + If a command generates output, you may want to preserve the input +order in the output. For instance, the following command + { echo foss.org.my ; echo debian.org; echo freenetproject.org; } | parallel traceroute +will display as output the traceroute invocation that finishes first. +Adding the '-k' option + { echo foss.org.my ; echo debian.org; echo freenetproject.org; } | parallel -k traceroute +will ensure that the output of 'traceroute foss.org.my' is displayed +first. + + Finally, Parallel can be used to run a sequence of shell commands in +parallel, similar to 'cat file | bash'. It is not uncommon to take a +list of filenames, create a series of shell commands to operate on them, +and feed that list of commnds to a shell. Parallel can speed this up. +Assuming that 'file' contains a list of shell commands, one per line, + + parallel -j 10 < file + +will evaluate the commands using the shell (since no explicit command is +supplied as an argument), in blocks of ten shell jobs at a time. + + +File: bash.info, Node: Shell Functions, Next: Shell Parameters, Prev: Shell Commands, Up: Basic Shell Features + +3.3 Shell Functions +=================== + +Shell functions are a way to group commands for later execution using a +single name for the group. They are executed just like a "regular" +command. When the name of a shell function is used as a simple command +name, the list of commands associated with that function name is +executed. Shell functions are executed in the current shell context; no +new process is created to interpret them. + + Functions are declared using this syntax: + NAME () COMPOUND-COMMAND [ REDIRECTIONS ] + + or + + function NAME [()] COMPOUND-COMMAND [ REDIRECTIONS ] + + This defines a shell function named NAME. The reserved word +'function' is optional. If the 'function' reserved word is supplied, +the parentheses are optional. The BODY of the function is the compound +command COMPOUND-COMMAND (*note Compound Commands::). That command is +usually a LIST enclosed between { and }, but may be any compound command +listed above, with one exception: If the 'function' reserved word is +used, but the parentheses are not supplied, the braces are required. +COMPOUND-COMMAND is executed whenever NAME is specified as the name of a +command. When the shell is in POSIX mode (*note Bash POSIX Mode::), +NAME may not be the same as one of the special builtins (*note Special +Builtins::). Any redirections (*note Redirections::) associated with +the shell function are performed when the function is executed. + + A function definition may be deleted using the '-f' option to the +'unset' builtin (*note Bourne Shell Builtins::). + + The exit status of a function definition is zero unless a syntax +error occurs or a readonly function with the same name already exists. +When executed, the exit status of a function is the exit status of the +last command executed in the body. + + Note that for historical reasons, in the most common usage the curly +braces that surround the body of the function must be separated from the +body by 'blank's or newlines. This is because the braces are reserved +words and are only recognized as such when they are separated from the +command list by whitespace or another shell metacharacter. Also, when +using the braces, the LIST must be terminated by a semicolon, a '&', or +a newline. + + When a function is executed, the arguments to the function become the +positional parameters during its execution (*note Positional +Parameters::). The special parameter '#' that expands to the number of +positional parameters is updated to reflect the change. Special +parameter '0' is unchanged. The first element of the 'FUNCNAME' +variable is set to the name of the function while the function is +executing. + + All other aspects of the shell execution environment are identical +between a function and its caller with these exceptions: the 'DEBUG' and +'RETURN' traps are not inherited unless the function has been given the +'trace' attribute using the 'declare' builtin or the '-o functrace' +option has been enabled with the 'set' builtin, (in which case all +functions inherit the 'DEBUG' and 'RETURN' traps), and the 'ERR' trap is +not inherited unless the '-o errtrace' shell option has been enabled. +*Note Bourne Shell Builtins::, for the description of the 'trap' +builtin. + + The 'FUNCNEST' variable, if set to a numeric value greater than 0, +defines a maximum function nesting level. Function invocations that +exceed the limit cause the entire command to abort. + + If the builtin command 'return' is executed in a function, the +function completes and execution resumes with the next command after the +function call. Any command associated with the 'RETURN' trap is +executed before execution resumes. When a function completes, the +values of the positional parameters and the special parameter '#' are +restored to the values they had prior to the function's execution. If a +numeric argument is given to 'return', that is the function's return +status; otherwise the function's return status is the exit status of the +last command executed before the 'return'. + + Variables local to the function may be declared with the 'local' +builtin. These variables are visible only to the function and the +commands it invokes. + + Function names and definitions may be listed with the '-f' option to +the 'declare' ('typeset') builtin command (*note Bash Builtins::). The +'-F' option to 'declare' or 'typeset' will list the function names only +(and optionally the source file and line number, if the 'extdebug' shell +option is enabled). Functions may be exported so that subshells +automatically have them defined with the '-f' option to the 'export' +builtin (*note Bourne Shell Builtins::). Note that shell functions and +variables with the same name may result in multiple identically-named +entries in the environment passed to the shell's children. Care should +be taken in cases where this may cause a problem. + + Functions may be recursive. The 'FUNCNEST' variable may be used to +limit the depth of the function call stack and restrict the number of +function invocations. By default, no limit is placed on the number of +recursive calls. + + +File: bash.info, Node: Shell Parameters, Next: Shell Expansions, Prev: Shell Functions, Up: Basic Shell Features + +3.4 Shell Parameters +==================== + +* Menu: + +* Positional Parameters:: The shell's command-line arguments. +* Special Parameters:: Parameters denoted by special characters. + +A PARAMETER is an entity that stores values. It can be a 'name', a +number, or one of the special characters listed below. A VARIABLE is a +parameter denoted by a 'name'. A variable has a VALUE and zero or more +ATTRIBUTES. Attributes are assigned using the 'declare' builtin command +(see the description of the 'declare' builtin in *note Bash Builtins::). + + A parameter is set if it has been assigned a value. The null string +is a valid value. Once a variable is set, it may be unset only by using +the 'unset' builtin command. + + A variable may be assigned to by a statement of the form + NAME=[VALUE] +If VALUE is not given, the variable is assigned the null string. All +VALUEs undergo tilde expansion, parameter and variable expansion, +command substitution, arithmetic expansion, and quote removal (detailed +below). If the variable has its 'integer' attribute set, then VALUE is +evaluated as an arithmetic expression even if the '$((...))' expansion +is not used (*note Arithmetic Expansion::). Word splitting is not +performed, with the exception of '"$@"' as explained below. Filename +expansion is not performed. Assignment statements may also appear as +arguments to the 'alias', 'declare', 'typeset', 'export', 'readonly', +and 'local' builtin commands (DECLARATION commands). When in POSIX mode +(*note Bash POSIX Mode::), these builtins may appear in a command after +one or more instances of the 'command' builtin and retain these +assignment statement properties. + + In the context where an assignment statement is assigning a value to +a shell variable or array index (*note Arrays::), the '+=' operator can +be used to append to or add to the variable's previous value. This +includes arguments to builtin commands such as 'declare' that accept +assignment statements (DECLARATION commands). When '+=' is applied to a +variable for which the INTEGER attribute has been set, VALUE is +evaluated as an arithmetic expression and added to the variable's +current value, which is also evaluated. When '+=' is applied to an +array variable using compound assignment (*note Arrays::), the +variable's value is not unset (as it is when using '='), and new values +are appended to the array beginning at one greater than the array's +maximum index (for indexed arrays), or added as additional key-value +pairs in an associative array. When applied to a string-valued +variable, VALUE is expanded and appended to the variable's value. + + A variable can be assigned the NAMEREF attribute using the '-n' +option to the 'declare' or 'local' builtin commands (*note Bash +Builtins::) to create a NAMEREF, or a reference to another variable. +This allows variables to be manipulated indirectly. Whenever the +nameref variable is referenced, assigned to, unset, or has its +attributes modified (other than using or changing the nameref attribute +itself), the operation is actually performed on the variable specified +by the nameref variable's value. A nameref is commonly used within +shell functions to refer to a variable whose name is passed as an +argument to the function. For instance, if a variable name is passed to +a shell function as its first argument, running + declare -n ref=$1 +inside the function creates a nameref variable REF whose value is the +variable name passed as the first argument. References and assignments +to REF, and changes to its attributes, are treated as references, +assignments, and attribute modifications to the variable whose name was +passed as '$1'. + + If the control variable in a 'for' loop has the nameref attribute, +the list of words can be a list of shell variables, and a name reference +will be established for each word in the list, in turn, when the loop is +executed. Array variables cannot be given the nameref attribute. +However, nameref variables can reference array variables and subscripted +array variables. Namerefs can be unset using the '-n' option to the +'unset' builtin (*note Bourne Shell Builtins::). Otherwise, if 'unset' +is executed with the name of a nameref variable as an argument, the +variable referenced by the nameref variable will be unset. + + +File: bash.info, Node: Positional Parameters, Next: Special Parameters, Up: Shell Parameters + +3.4.1 Positional Parameters +--------------------------- + +A POSITIONAL PARAMETER is a parameter denoted by one or more digits, +other than the single digit '0'. Positional parameters are assigned +from the shell's arguments when it is invoked, and may be reassigned +using the 'set' builtin command. Positional parameter 'N' may be +referenced as '${N}', or as '$N' when 'N' consists of a single digit. +Positional parameters may not be assigned to with assignment statements. +The 'set' and 'shift' builtins are used to set and unset them (*note +Shell Builtin Commands::). The positional parameters are temporarily +replaced when a shell function is executed (*note Shell Functions::). + + When a positional parameter consisting of more than a single digit is +expanded, it must be enclosed in braces. + + +File: bash.info, Node: Special Parameters, Prev: Positional Parameters, Up: Shell Parameters + +3.4.2 Special Parameters +------------------------ + +The shell treats several parameters specially. These parameters may +only be referenced; assignment to them is not allowed. + +'*' + ($*) Expands to the positional parameters, starting from one. When + the expansion is not within double quotes, each positional + parameter expands to a separate word. In contexts where it is + performed, those words are subject to further word splitting and + pathname expansion. When the expansion occurs within double + quotes, it expands to a single word with the value of each + parameter separated by the first character of the 'IFS' special + variable. That is, '"$*"' is equivalent to '"$1C$2C..."', where C + is the first character of the value of the 'IFS' variable. If + 'IFS' is unset, the parameters are separated by spaces. If 'IFS' + is null, the parameters are joined without intervening separators. + +'@' + ($@) Expands to the positional parameters, starting from one. When + the expansion occurs within double quotes, each parameter expands + to a separate word. That is, '"$@"' is equivalent to '"$1" "$2" + ...'. If the double-quoted expansion occurs within a word, the + expansion of the first parameter is joined with the beginning part + of the original word, and the expansion of the last parameter is + joined with the last part of the original word. When there are no + positional parameters, '"$@"' and '$@' expand to nothing (i.e., + they are removed). + +'#' + ($#) Expands to the number of positional parameters in decimal. + +'?' + ($?) Expands to the exit status of the most recently executed + foreground pipeline. + +'-' + ($-, a hyphen.) Expands to the current option flags as specified + upon invocation, by the 'set' builtin command, or those set by the + shell itself (such as the '-i' option). + +'$' + ($$) Expands to the process ID of the shell. In a '()' subshell, + it expands to the process ID of the invoking shell, not the + subshell. + +'!' + ($!) Expands to the process ID of the job most recently placed + into the background, whether executed as an asynchronous command or + using the 'bg' builtin (*note Job Control Builtins::). + +'0' + ($0) Expands to the name of the shell or shell script. This is set + at shell initialization. If Bash is invoked with a file of + commands (*note Shell Scripts::), '$0' is set to the name of that + file. If Bash is started with the '-c' option (*note Invoking + Bash::), then '$0' is set to the first argument after the string to + be executed, if one is present. Otherwise, it is set to the + filename used to invoke Bash, as given by argument zero. + +'_' + ($_, an underscore.) At shell startup, set to the absolute + pathname used to invoke the shell or shell script being executed as + passed in the environment or argument list. Subsequently, expands + to the last argument to the previous command, after expansion. + Also set to the full pathname used to invoke each command executed + and placed in the environment exported to that command. When + checking mail, this parameter holds the name of the mail file. + + +File: bash.info, Node: Shell Expansions, Next: Redirections, Prev: Shell Parameters, Up: Basic Shell Features + +3.5 Shell Expansions +==================== + +Expansion is performed on the command line after it has been split into +'token's. There are seven kinds of expansion performed: + + * brace expansion + * tilde expansion + * parameter and variable expansion + * command substitution + * arithmetic expansion + * word splitting + * filename expansion + +* Menu: + +* Brace Expansion:: Expansion of expressions within braces. +* Tilde Expansion:: Expansion of the ~ character. +* Shell Parameter Expansion:: How Bash expands variables to their values. +* Command Substitution:: Using the output of a command as an argument. +* Arithmetic Expansion:: How to use arithmetic in shell expansions. +* Process Substitution:: A way to write and read to and from a + command. +* Word Splitting:: How the results of expansion are split into separate + arguments. +* Filename Expansion:: A shorthand for specifying filenames matching patterns. +* Quote Removal:: How and when quote characters are removed from + words. + + The order of expansions is: brace expansion; tilde expansion, +parameter and variable expansion, arithmetic expansion, and command +substitution (done in a left-to-right fashion); word splitting; and +filename expansion. + + On systems that can support it, there is an additional expansion +available: PROCESS SUBSTITUTION. This is performed at the same time as +tilde, parameter, variable, and arithmetic expansion and command +substitution. + + After these expansions are performed, quote characters present in the +original word are removed unless they have been quoted themselves (QUOTE +REMOVAL). + + Only brace expansion, word splitting, and filename expansion can +change the number of words of the expansion; other expansions expand a +single word to a single word. The only exceptions to this are the +expansions of '"$@"' (*note Special Parameters::) and '"${NAME[@]}"' +(*note Arrays::). + + After all expansions, 'quote removal' (*note Quote Removal::) is +performed. + + +File: bash.info, Node: Brace Expansion, Next: Tilde Expansion, Up: Shell Expansions + +3.5.1 Brace Expansion +--------------------- + +Brace expansion is a mechanism by which arbitrary strings may be +generated. This mechanism is similar to FILENAME EXPANSION (*note +Filename Expansion::), but the filenames generated need not exist. +Patterns to be brace expanded take the form of an optional PREAMBLE, +followed by either a series of comma-separated strings or a sequence +expression between a pair of braces, followed by an optional POSTSCRIPT. +The preamble is prefixed to each string contained within the braces, and +the postscript is then appended to each resulting string, expanding left +to right. + + Brace expansions may be nested. The results of each expanded string +are not sorted; left to right order is preserved. For example, + bash$ echo a{d,c,b}e + ade ace abe + + A sequence expression takes the form '{X..Y[..INCR]}', where X and Y +are either integers or single characters, and INCR, an optional +increment, is an integer. When integers are supplied, the expression +expands to each number between X and Y, inclusive. Supplied integers +may be prefixed with '0' to force each term to have the same width. +When either X or Y begins with a zero, the shell attempts to force all +generated terms to contain the same number of digits, zero-padding where +necessary. When characters are supplied, the expression expands to each +character lexicographically between X and Y, inclusive, using the +default C locale. Note that both X and Y must be of the same type. +When the increment is supplied, it is used as the difference between +each term. The default increment is 1 or -1 as appropriate. + + Brace expansion is performed before any other expansions, and any +characters special to other expansions are preserved in the result. It +is strictly textual. Bash does not apply any syntactic interpretation +to the context of the expansion or the text between the braces. To +avoid conflicts with parameter expansion, the string '${' is not +considered eligible for brace expansion. + + A correctly-formed brace expansion must contain unquoted opening and +closing braces, and at least one unquoted comma or a valid sequence +expression. Any incorrectly formed brace expansion is left unchanged. + + A { or ',' may be quoted with a backslash to prevent its being +considered part of a brace expression. To avoid conflicts with +parameter expansion, the string '${' is not considered eligible for +brace expansion. + + This construct is typically used as shorthand when the common prefix +of the strings to be generated is longer than in the above example: + mkdir /usr/local/src/bash/{old,new,dist,bugs} + or + chown root /usr/{ucb/{ex,edit},lib/{ex?.?*,how_ex}} + + +File: bash.info, Node: Tilde Expansion, Next: Shell Parameter Expansion, Prev: Brace Expansion, Up: Shell Expansions + +3.5.2 Tilde Expansion +--------------------- + +If a word begins with an unquoted tilde character ('~'), all of the +characters up to the first unquoted slash (or all characters, if there +is no unquoted slash) are considered a TILDE-PREFIX. If none of the +characters in the tilde-prefix are quoted, the characters in the +tilde-prefix following the tilde are treated as a possible LOGIN NAME. +If this login name is the null string, the tilde is replaced with the +value of the 'HOME' shell variable. If 'HOME' is unset, the home +directory of the user executing the shell is substituted instead. +Otherwise, the tilde-prefix is replaced with the home directory +associated with the specified login name. + + If the tilde-prefix is '~+', the value of the shell variable 'PWD' +replaces the tilde-prefix. If the tilde-prefix is '~-', the value of +the shell variable 'OLDPWD', if it is set, is substituted. + + If the characters following the tilde in the tilde-prefix consist of +a number N, optionally prefixed by a '+' or a '-', the tilde-prefix is +replaced with the corresponding element from the directory stack, as it +would be displayed by the 'dirs' builtin invoked with the characters +following tilde in the tilde-prefix as an argument (*note The Directory +Stack::). If the tilde-prefix, sans the tilde, consists of a number +without a leading '+' or '-', '+' is assumed. + + If the login name is invalid, or the tilde expansion fails, the word +is left unchanged. + + Each variable assignment is checked for unquoted tilde-prefixes +immediately following a ':' or the first '='. In these cases, tilde +expansion is also performed. Consequently, one may use filenames with +tildes in assignments to 'PATH', 'MAILPATH', and 'CDPATH', and the shell +assigns the expanded value. + + The following table shows how Bash treats unquoted tilde-prefixes: + +'~' + The value of '$HOME' +'~/foo' + '$HOME/foo' + +'~fred/foo' + The subdirectory 'foo' of the home directory of the user 'fred' + +'~+/foo' + '$PWD/foo' + +'~-/foo' + '${OLDPWD-'~-'}/foo' + +'~N' + The string that would be displayed by 'dirs +N' + +'~+N' + The string that would be displayed by 'dirs +N' + +'~-N' + The string that would be displayed by 'dirs -N' + + +File: bash.info, Node: Shell Parameter Expansion, Next: Command Substitution, Prev: Tilde Expansion, Up: Shell Expansions + +3.5.3 Shell Parameter Expansion +------------------------------- + +The '$' character introduces parameter expansion, command substitution, +or arithmetic expansion. The parameter name or symbol to be expanded +may be enclosed in braces, which are optional but serve to protect the +variable to be expanded from characters immediately following it which +could be interpreted as part of the name. + + When braces are used, the matching ending brace is the first '}' not +escaped by a backslash or within a quoted string, and not within an +embedded arithmetic expansion, command substitution, or parameter +expansion. + + The basic form of parameter expansion is ${PARAMETER}. The value of +PARAMETER is substituted. The PARAMETER is a shell parameter as +described above (*note Shell Parameters::) or an array reference (*note +Arrays::). The braces are required when PARAMETER is a positional +parameter with more than one digit, or when PARAMETER is followed by a +character that is not to be interpreted as part of its name. + + If the first character of PARAMETER is an exclamation point (!), and +PARAMETER is not a NAMEREF, it introduces a level of variable +indirection. Bash uses the value of the variable formed from the rest +of PARAMETER as the name of the variable; this variable is then expanded +and that value is used in the rest of the substitution, rather than the +value of PARAMETER itself. This is known as 'indirect expansion'. If +PARAMETER is a nameref, this expands to the name of the variable +referenced by PARAMETER instead of performing the complete indirect +expansion. The exceptions to this are the expansions of ${!PREFIX*} and +${!NAME[@]} described below. The exclamation point must immediately +follow the left brace in order to introduce indirection. + + In each of the cases below, WORD is subject to tilde expansion, +parameter expansion, command substitution, and arithmetic expansion. + + When not performing substring expansion, using the form described +below (e.g., ':-'), Bash tests for a parameter that is unset or null. +Omitting the colon results in a test only for a parameter that is unset. +Put another way, if the colon is included, the operator tests for both +PARAMETER's existence and that its value is not null; if the colon is +omitted, the operator tests only for existence. + +'${PARAMETER:-WORD}' + If PARAMETER is unset or null, the expansion of WORD is + substituted. Otherwise, the value of PARAMETER is substituted. + +'${PARAMETER:=WORD}' + If PARAMETER is unset or null, the expansion of WORD is assigned to + PARAMETER. The value of PARAMETER is then substituted. Positional + parameters and special parameters may not be assigned to in this + way. + +'${PARAMETER:?WORD}' + If PARAMETER is null or unset, the expansion of WORD (or a message + to that effect if WORD is not present) is written to the standard + error and the shell, if it is not interactive, exits. Otherwise, + the value of PARAMETER is substituted. + +'${PARAMETER:+WORD}' + If PARAMETER is null or unset, nothing is substituted, otherwise + the expansion of WORD is substituted. + +'${PARAMETER:OFFSET}' +'${PARAMETER:OFFSET:LENGTH}' + This is referred to as Substring Expansion. It expands to up to + LENGTH characters of the value of PARAMETER starting at the + character specified by OFFSET. If PARAMETER is '@', an indexed + array subscripted by '@' or '*', or an associative array name, the + results differ as described below. If LENGTH is omitted, it + expands to the substring of the value of PARAMETER starting at the + character specified by OFFSET and extending to the end of the + value. LENGTH and OFFSET are arithmetic expressions (*note Shell + Arithmetic::). + + If OFFSET evaluates to a number less than zero, the value is used + as an offset in characters from the end of the value of PARAMETER. + If LENGTH evaluates to a number less than zero, it is interpreted + as an offset in characters from the end of the value of PARAMETER + rather than a number of characters, and the expansion is the + characters between OFFSET and that result. Note that a negative + offset must be separated from the colon by at least one space to + avoid being confused with the ':-' expansion. + + Here are some examples illustrating substring expansion on + parameters and subscripted arrays: + + $ string=01234567890abcdefgh + $ echo ${string:7} + 7890abcdefgh + $ echo ${string:7:0} + + $ echo ${string:7:2} + 78 + $ echo ${string:7:-2} + 7890abcdef + $ echo ${string: -7} + bcdefgh + $ echo ${string: -7:0} + + $ echo ${string: -7:2} + bc + $ echo ${string: -7:-2} + bcdef + $ set -- 01234567890abcdefgh + $ echo ${1:7} + 7890abcdefgh + $ echo ${1:7:0} + + $ echo ${1:7:2} + 78 + $ echo ${1:7:-2} + 7890abcdef + $ echo ${1: -7} + bcdefgh + $ echo ${1: -7:0} + + $ echo ${1: -7:2} + bc + $ echo ${1: -7:-2} + bcdef + $ array[0]=01234567890abcdefgh + $ echo ${array[0]:7} + 7890abcdefgh + $ echo ${array[0]:7:0} + + $ echo ${array[0]:7:2} + 78 + $ echo ${array[0]:7:-2} + 7890abcdef + $ echo ${array[0]: -7} + bcdefgh + $ echo ${array[0]: -7:0} + + $ echo ${array[0]: -7:2} + bc + $ echo ${array[0]: -7:-2} + bcdef + + If PARAMETER is '@', the result is LENGTH positional parameters + beginning at OFFSET. A negative OFFSET is taken relative to one + greater than the greatest positional parameter, so an offset of -1 + evaluates to the last positional parameter. It is an expansion + error if LENGTH evaluates to a number less than zero. + + The following examples illustrate substring expansion using + positional parameters: + + $ set -- 1 2 3 4 5 6 7 8 9 0 a b c d e f g h + $ echo ${@:7} + 7 8 9 0 a b c d e f g h + $ echo ${@:7:0} + + $ echo ${@:7:2} + 7 8 + $ echo ${@:7:-2} + bash: -2: substring expression < 0 + $ echo ${@: -7:2} + b c + $ echo ${@:0} + ./bash 1 2 3 4 5 6 7 8 9 0 a b c d e f g h + $ echo ${@:0:2} + ./bash 1 + $ echo ${@: -7:0} + + + If PARAMETER is an indexed array name subscripted by '@' or '*', + the result is the LENGTH members of the array beginning with + '${PARAMETER[OFFSET]}'. A negative OFFSET is taken relative to one + greater than the maximum index of the specified array. It is an + expansion error if LENGTH evaluates to a number less than zero. + + These examples show how you can use substring expansion with + indexed arrays: + + $ array=(0 1 2 3 4 5 6 7 8 9 0 a b c d e f g h) + $ echo ${array[@]:7} + 7 8 9 0 a b c d e f g h + $ echo ${array[@]:7:2} + 7 8 + $ echo ${array[@]: -7:2} + b c + $ echo ${array[@]: -7:-2} + bash: -2: substring expression < 0 + $ echo ${array[@]:0} + 0 1 2 3 4 5 6 7 8 9 0 a b c d e f g h + $ echo ${array[@]:0:2} + 0 1 + $ echo ${array[@]: -7:0} + + + Substring expansion applied to an associative array produces + undefined results. + + Substring indexing is zero-based unless the positional parameters + are used, in which case the indexing starts at 1 by default. If + OFFSET is 0, and the positional parameters are used, '$@' is + prefixed to the list. + +'${!PREFIX*}' +'${!PREFIX@}' + Expands to the names of variables whose names begin with PREFIX, + separated by the first character of the 'IFS' special variable. + When '@' is used and the expansion appears within double quotes, + each variable name expands to a separate word. + +'${!NAME[@]}' +'${!NAME[*]}' + If NAME is an array variable, expands to the list of array indices + (keys) assigned in NAME. If NAME is not an array, expands to 0 if + NAME is set and null otherwise. When '@' is used and the expansion + appears within double quotes, each key expands to a separate word. + +'${#PARAMETER}' + The length in characters of the expanded value of PARAMETER is + substituted. If PARAMETER is '*' or '@', the value substituted is + the number of positional parameters. If PARAMETER is an array name + subscripted by '*' or '@', the value substituted is the number of + elements in the array. If PARAMETER is an indexed array name + subscripted by a negative number, that number is interpreted as + relative to one greater than the maximum index of PARAMETER, so + negative indices count back from the end of the array, and an index + of -1 references the last element. + +'${PARAMETER#WORD}' +'${PARAMETER##WORD}' + The WORD is expanded to produce a pattern just as in filename + expansion (*note Filename Expansion::). If the pattern matches the + beginning of the expanded value of PARAMETER, then the result of + the expansion is the expanded value of PARAMETER with the shortest + matching pattern (the '#' case) or the longest matching pattern + (the '##' case) deleted. If PARAMETER is '@' or '*', the pattern + removal operation is applied to each positional parameter in turn, + and the expansion is the resultant list. If PARAMETER is an array + variable subscripted with '@' or '*', the pattern removal operation + is applied to each member of the array in turn, and the expansion + is the resultant list. + +'${PARAMETER%WORD}' +'${PARAMETER%%WORD}' + The WORD is expanded to produce a pattern just as in filename + expansion. If the pattern matches a trailing portion of the + expanded value of PARAMETER, then the result of the expansion is + the value of PARAMETER with the shortest matching pattern (the '%' + case) or the longest matching pattern (the '%%' case) deleted. If + PARAMETER is '@' or '*', the pattern removal operation is applied + to each positional parameter in turn, and the expansion is the + resultant list. If PARAMETER is an array variable subscripted with + '@' or '*', the pattern removal operation is applied to each member + of the array in turn, and the expansion is the resultant list. + +'${PARAMETER/PATTERN/STRING}' + + The PATTERN is expanded to produce a pattern just as in filename + expansion. PARAMETER is expanded and the longest match of PATTERN + against its value is replaced with STRING. If PATTERN begins with + '/', all matches of PATTERN are replaced with STRING. Normally + only the first match is replaced. If PATTERN begins with '#', it + must match at the beginning of the expanded value of PARAMETER. If + PATTERN begins with '%', it must match at the end of the expanded + value of PARAMETER. If STRING is null, matches of PATTERN are + deleted and the '/' following PATTERN may be omitted. If the + 'nocasematch' shell option (see the description of 'shopt' in *note + The Shopt Builtin::) is enabled, the match is performed without + regard to the case of alphabetic characters. If PARAMETER is '@' + or '*', the substitution operation is applied to each positional + parameter in turn, and the expansion is the resultant list. If + PARAMETER is an array variable subscripted with '@' or '*', the + substitution operation is applied to each member of the array in + turn, and the expansion is the resultant list. + +'${PARAMETER^PATTERN}' +'${PARAMETER^^PATTERN}' +'${PARAMETER,PATTERN}' +'${PARAMETER,,PATTERN}' + This expansion modifies the case of alphabetic characters in + PARAMETER. The PATTERN is expanded to produce a pattern just as in + filename expansion. Each character in the expanded value of + PARAMETER is tested against PATTERN, and, if it matches the + pattern, its case is converted. The pattern should not attempt to + match more than one character. The '^' operator converts lowercase + letters matching PATTERN to uppercase; the ',' operator converts + matching uppercase letters to lowercase. The '^^' and ',,' + expansions convert each matched character in the expanded value; + the '^' and ',' expansions match and convert only the first + character in the expanded value. If PATTERN is omitted, it is + treated like a '?', which matches every character. If PARAMETER is + '@' or '*', the case modification operation is applied to each + positional parameter in turn, and the expansion is the resultant + list. If PARAMETER is an array variable subscripted with '@' or + '*', the case modification operation is applied to each member of + the array in turn, and the expansion is the resultant list. + +'${PARAMETER@OPERATOR}' + The expansion is either a transformation of the value of PARAMETER + or information about PARAMETER itself, depending on the value of + OPERATOR. Each OPERATOR is a single letter: + + 'Q' + The expansion is a string that is the value of PARAMETER + quoted in a format that can be reused as input. + 'E' + The expansion is a string that is the value of PARAMETER with + backslash escape sequences expanded as with the '$'...'' + quoting mechansim. + 'P' + The expansion is a string that is the result of expanding the + value of PARAMETER as if it were a prompt string (*note + Controlling the Prompt::). + 'A' + The expansion is a string in the form of an assignment + statement or 'declare' command that, if evaluated, will + recreate PARAMETER with its attributes and value. + 'a' + The expansion is a string consisting of flag values + representing PARAMETER's attributes. + + If PARAMETER is '@' or '*', the operation is applied to each + positional parameter in turn, and the expansion is the resultant + list. If PARAMETER is an array variable subscripted with '@' or + '*', the operation is applied to each member of the array in turn, + and the expansion is the resultant list. + + The result of the expansion is subject to word splitting and + pathname expansion as described below. + + +File: bash.info, Node: Command Substitution, Next: Arithmetic Expansion, Prev: Shell Parameter Expansion, Up: Shell Expansions + +3.5.4 Command Substitution +-------------------------- + +Command substitution allows the output of a command to replace the +command itself. Command substitution occurs when a command is enclosed +as follows: + $(COMMAND) +or + `COMMAND` + +Bash performs the expansion by executing COMMAND in a subshell +environment and replacing the command substitution with the standard +output of the command, with any trailing newlines deleted. Embedded +newlines are not deleted, but they may be removed during word splitting. +The command substitution '$(cat FILE)' can be replaced by the equivalent +but faster '$(< FILE)'. + + When the old-style backquote form of substitution is used, backslash +retains its literal meaning except when followed by '$', '`', or '\'. +The first backquote not preceded by a backslash terminates the command +substitution. When using the '$(COMMAND)' form, all characters between +the parentheses make up the command; none are treated specially. + + Command substitutions may be nested. To nest when using the +backquoted form, escape the inner backquotes with backslashes. + + If the substitution appears within double quotes, word splitting and +filename expansion are not performed on the results. + + +File: bash.info, Node: Arithmetic Expansion, Next: Process Substitution, Prev: Command Substitution, Up: Shell Expansions + +3.5.5 Arithmetic Expansion +-------------------------- + +Arithmetic expansion allows the evaluation of an arithmetic expression +and the substitution of the result. The format for arithmetic expansion +is: + + $(( EXPRESSION )) + + The expression is treated as if it were within double quotes, but a +double quote inside the parentheses is not treated specially. All +tokens in the expression undergo parameter and variable expansion, +command substitution, and quote removal. The result is treated as the +arithmetic expression to be evaluated. Arithmetic expansions may be +nested. + + The evaluation is performed according to the rules listed below +(*note Shell Arithmetic::). If the expression is invalid, Bash prints a +message indicating failure to the standard error and no substitution +occurs. + + +File: bash.info, Node: Process Substitution, Next: Word Splitting, Prev: Arithmetic Expansion, Up: Shell Expansions + +3.5.6 Process Substitution +-------------------------- + +Process substitution allows a process's input or output to be referred +to using a filename. It takes the form of + <(LIST) +or + >(LIST) +The process LIST is run asynchronously, and its input or output appears +as a filename. This filename is passed as an argument to the current +command as the result of the expansion. If the '>(LIST)' form is used, +writing to the file will provide input for LIST. If the '<(LIST)' form +is used, the file passed as an argument should be read to obtain the +output of LIST. Note that no space may appear between the '<' or '>' +and the left parenthesis, otherwise the construct would be interpreted +as a redirection. Process substitution is supported on systems that +support named pipes (FIFOs) or the '/dev/fd' method of naming open +files. + + When available, process substitution is performed simultaneously with +parameter and variable expansion, command substitution, and arithmetic +expansion. + + +File: bash.info, Node: Word Splitting, Next: Filename Expansion, Prev: Process Substitution, Up: Shell Expansions + +3.5.7 Word Splitting +-------------------- + +The shell scans the results of parameter expansion, command +substitution, and arithmetic expansion that did not occur within double +quotes for word splitting. + + The shell treats each character of '$IFS' as a delimiter, and splits +the results of the other expansions into words using these characters as +field terminators. If 'IFS' is unset, or its value is exactly +'', the default, then sequences of ' ', +'', and '' at the beginning and end of the results of the +previous expansions are ignored, and any sequence of 'IFS' characters +not at the beginning or end serves to delimit words. If 'IFS' has a +value other than the default, then sequences of the whitespace +characters 'space', 'tab', and 'newline' are ignored at the beginning +and end of the word, as long as the whitespace character is in the value +of 'IFS' (an 'IFS' whitespace character). Any character in 'IFS' that +is not 'IFS' whitespace, along with any adjacent 'IFS' whitespace +characters, delimits a field. A sequence of 'IFS' whitespace characters +is also treated as a delimiter. If the value of 'IFS' is null, no word +splitting occurs. + + Explicit null arguments ('""' or '''') are retained and passed to +commands as empty strings. Unquoted implicit null arguments, resulting +from the expansion of parameters that have no values, are removed. If a +parameter with no value is expanded within double quotes, a null +argument results and is retained and passed to a command as an empty +string. When a quoted null argument appears as part of a word whose +expansion is non-null, the null argument is removed. That is, the word +'-d''' becomes '-d' after word splitting and null argument removal. + + Note that if no expansion occurs, no splitting is performed. + + +File: bash.info, Node: Filename Expansion, Next: Quote Removal, Prev: Word Splitting, Up: Shell Expansions + +3.5.8 Filename Expansion +------------------------ + +* Menu: + +* Pattern Matching:: How the shell matches patterns. + +After word splitting, unless the '-f' option has been set (*note The Set +Builtin::), Bash scans each word for the characters '*', '?', and '['. +If one of these characters appears, then the word is regarded as a +PATTERN, and replaced with an alphabetically sorted list of filenames +matching the pattern (*note Pattern Matching::). If no matching +filenames are found, and the shell option 'nullglob' is disabled, the +word is left unchanged. If the 'nullglob' option is set, and no matches +are found, the word is removed. If the 'failglob' shell option is set, +and no matches are found, an error message is printed and the command is +not executed. If the shell option 'nocaseglob' is enabled, the match is +performed without regard to the case of alphabetic characters. + + When a pattern is used for filename expansion, the character '.' at +the start of a filename or immediately following a slash must be matched +explicitly, unless the shell option 'dotglob' is set. When matching a +filename, the slash character must always be matched explicitly. In +other cases, the '.' character is not treated specially. + + See the description of 'shopt' in *note The Shopt Builtin::, for a +description of the 'nocaseglob', 'nullglob', 'failglob', and 'dotglob' +options. + + The 'GLOBIGNORE' shell variable may be used to restrict the set of +filenames matching a pattern. If 'GLOBIGNORE' is set, each matching +filename that also matches one of the patterns in 'GLOBIGNORE' is +removed from the list of matches. If the 'nocaseglob' option is set, +the matching against the patterns in 'GLOBIGNORE' is performed without +regard to case. The filenames '.' and '..' are always ignored when +'GLOBIGNORE' is set and not null. However, setting 'GLOBIGNORE' to a +non-null value has the effect of enabling the 'dotglob' shell option, so +all other filenames beginning with a '.' will match. To get the old +behavior of ignoring filenames beginning with a '.', make '.*' one of +the patterns in 'GLOBIGNORE'. The 'dotglob' option is disabled when +'GLOBIGNORE' is unset. + + +File: bash.info, Node: Pattern Matching, Up: Filename Expansion + +3.5.8.1 Pattern Matching +........................ + +Any character that appears in a pattern, other than the special pattern +characters described below, matches itself. The NUL character may not +occur in a pattern. A backslash escapes the following character; the +escaping backslash is discarded when matching. The special pattern +characters must be quoted if they are to be matched literally. + + The special pattern characters have the following meanings: +'*' + Matches any string, including the null string. When the 'globstar' + shell option is enabled, and '*' is used in a filename expansion + context, two adjacent '*'s used as a single pattern will match all + files and zero or more directories and subdirectories. If followed + by a '/', two adjacent '*'s will match only directories and + subdirectories. +'?' + Matches any single character. +'[...]' + Matches any one of the enclosed characters. A pair of characters + separated by a hyphen denotes a RANGE EXPRESSION; any character + that falls between those two characters, inclusive, using the + current locale's collating sequence and character set, is matched. + If the first character following the '[' is a '!' or a '^' then any + character not enclosed is matched. A '-' may be matched by + including it as the first or last character in the set. A ']' may + be matched by including it as the first character in the set. The + sorting order of characters in range expressions is determined by + the current locale and the values of the 'LC_COLLATE' and 'LC_ALL' + shell variables, if set. + + For example, in the default C locale, '[a-dx-z]' is equivalent to + '[abcdxyz]'. Many locales sort characters in dictionary order, and + in these locales '[a-dx-z]' is typically not equivalent to + '[abcdxyz]'; it might be equivalent to '[aBbCcDdxXyYz]', for + example. To obtain the traditional interpretation of ranges in + bracket expressions, you can force the use of the C locale by + setting the 'LC_COLLATE' or 'LC_ALL' environment variable to the + value 'C', or enable the 'globasciiranges' shell option. + + Within '[' and ']', CHARACTER CLASSES can be specified using the + syntax '[:'CLASS':]', where CLASS is one of the following classes + defined in the POSIX standard: + alnum alpha ascii blank cntrl digit graph lower + print punct space upper word xdigit + A character class matches any character belonging to that class. + The 'word' character class matches letters, digits, and the + character '_'. + + Within '[' and ']', an EQUIVALENCE CLASS can be specified using the + syntax '[='C'=]', which matches all characters with the same + collation weight (as defined by the current locale) as the + character C. + + Within '[' and ']', the syntax '[.'SYMBOL'.]' matches the collating + symbol SYMBOL. + + If the 'extglob' shell option is enabled using the 'shopt' builtin, +several extended pattern matching operators are recognized. In the +following description, a PATTERN-LIST is a list of one or more patterns +separated by a '|'. Composite patterns may be formed using one or more +of the following sub-patterns: + +'?(PATTERN-LIST)' + Matches zero or one occurrence of the given patterns. + +'*(PATTERN-LIST)' + Matches zero or more occurrences of the given patterns. + +'+(PATTERN-LIST)' + Matches one or more occurrences of the given patterns. + +'@(PATTERN-LIST)' + Matches one of the given patterns. + +'!(PATTERN-LIST)' + Matches anything except one of the given patterns. + + +File: bash.info, Node: Quote Removal, Prev: Filename Expansion, Up: Shell Expansions + +3.5.9 Quote Removal +------------------- + +After the preceding expansions, all unquoted occurrences of the +characters '\', ''', and '"' that did not result from one of the above +expansions are removed. + + +File: bash.info, Node: Redirections, Next: Executing Commands, Prev: Shell Expansions, Up: Basic Shell Features + +3.6 Redirections +================ + +Before a command is executed, its input and output may be REDIRECTED +using a special notation interpreted by the shell. Redirection allows +commands' file handles to be duplicated, opened, closed, made to refer +to different files, and can change the files the command reads from and +writes to. Redirection may also be used to modify file handles in the +current shell execution environment. The following redirection +operators may precede or appear anywhere within a simple command or may +follow a command. Redirections are processed in the order they appear, +from left to right. + + Each redirection that may be preceded by a file descriptor number may +instead be preceded by a word of the form {VARNAME}. In this case, for +each redirection operator except >&- and <&-, the shell will allocate a +file descriptor greater than 10 and assign it to {VARNAME}. If >&- or +<&- is preceded by {VARNAME}, the value of VARNAME defines the file +descriptor to close. + + In the following descriptions, if the file descriptor number is +omitted, and the first character of the redirection operator is '<', the +redirection refers to the standard input (file descriptor 0). If the +first character of the redirection operator is '>', the redirection +refers to the standard output (file descriptor 1). + + The word following the redirection operator in the following +descriptions, unless otherwise noted, is subjected to brace expansion, +tilde expansion, parameter expansion, command substitution, arithmetic +expansion, quote removal, filename expansion, and word splitting. If it +expands to more than one word, Bash reports an error. + + Note that the order of redirections is significant. For example, the +command + ls > DIRLIST 2>&1 +directs both standard output (file descriptor 1) and standard error +(file descriptor 2) to the file DIRLIST, while the command + ls 2>&1 > DIRLIST +directs only the standard output to file DIRLIST, because the standard +error was made a copy of the standard output before the standard output +was redirected to DIRLIST. + + Bash handles several filenames specially when they are used in +redirections, as described in the following table. If the operating +system on which Bash is running provides these special files, bash will +use them; otherwise it will emulate them internally with the behavior +described below. + +'/dev/fd/FD' + If FD is a valid integer, file descriptor FD is duplicated. + +'/dev/stdin' + File descriptor 0 is duplicated. + +'/dev/stdout' + File descriptor 1 is duplicated. + +'/dev/stderr' + File descriptor 2 is duplicated. + +'/dev/tcp/HOST/PORT' + If HOST is a valid hostname or Internet address, and PORT is an + integer port number or service name, Bash attempts to open the + corresponding TCP socket. + +'/dev/udp/HOST/PORT' + If HOST is a valid hostname or Internet address, and PORT is an + integer port number or service name, Bash attempts to open the + corresponding UDP socket. + + A failure to open or create a file causes the redirection to fail. + + Redirections using file descriptors greater than 9 should be used +with care, as they may conflict with file descriptors the shell uses +internally. + +3.6.1 Redirecting Input +----------------------- + +Redirection of input causes the file whose name results from the +expansion of WORD to be opened for reading on file descriptor 'n', or +the standard input (file descriptor 0) if 'n' is not specified. + + The general format for redirecting input is: + [N][|]WORD + + If the redirection operator is '>', and the 'noclobber' option to the +'set' builtin has been enabled, the redirection will fail if the file +whose name results from the expansion of WORD exists and is a regular +file. If the redirection operator is '>|', or the redirection operator +is '>' and the 'noclobber' option is not enabled, the redirection is +attempted even if the file named by WORD exists. + +3.6.3 Appending Redirected Output +--------------------------------- + +Redirection of output in this fashion causes the file whose name results +from the expansion of WORD to be opened for appending on file descriptor +N, or the standard output (file descriptor 1) if N is not specified. If +the file does not exist it is created. + + The general format for appending output is: + [N]>>WORD + +3.6.4 Redirecting Standard Output and Standard Error +---------------------------------------------------- + +This construct allows both the standard output (file descriptor 1) and +the standard error output (file descriptor 2) to be redirected to the +file whose name is the expansion of WORD. + + There are two formats for redirecting standard output and standard +error: + &>WORD +and + >&WORD +Of the two forms, the first is preferred. This is semantically +equivalent to + >WORD 2>&1 + When using the second form, WORD may not expand to a number or '-'. +If it does, other redirection operators apply (see Duplicating File +Descriptors below) for compatibility reasons. + +3.6.5 Appending Standard Output and Standard Error +-------------------------------------------------- + +This construct allows both the standard output (file descriptor 1) and +the standard error output (file descriptor 2) to be appended to the file +whose name is the expansion of WORD. + + The format for appending standard output and standard error is: + &>>WORD +This is semantically equivalent to + >>WORD 2>&1 + (see Duplicating File Descriptors below). + +3.6.6 Here Documents +-------------------- + +This type of redirection instructs the shell to read input from the +current source until a line containing only WORD (with no trailing +blanks) is seen. All of the lines read up to that point are then used +as the standard input (or file descriptor N if N is specified) for a +command. + + The format of here-documents is: + [N]<<[-]WORD + HERE-DOCUMENT + DELIMITER + + No parameter and variable expansion, command substitution, arithmetic +expansion, or filename expansion is performed on WORD. If any part of +WORD is quoted, the DELIMITER is the result of quote removal on WORD, +and the lines in the here-document are not expanded. If WORD is +unquoted, all lines of the here-document are subjected to parameter +expansion, command substitution, and arithmetic expansion, the character +sequence '\newline' is ignored, and '\' must be used to quote the +characters '\', '$', and '`'. + + If the redirection operator is '<<-', then all leading tab characters +are stripped from input lines and the line containing DELIMITER. This +allows here-documents within shell scripts to be indented in a natural +fashion. + +3.6.7 Here Strings +------------------ + +A variant of here documents, the format is: + [N]<<< WORD + + The WORD undergoes brace expansion, tilde expansion, parameter and +variable expansion, command substitution, arithmetic expansion, and +quote removal. Pathname expansion and word splitting are not performed. +The result is supplied as a single string, with a newline appended, to +the command on its standard input (or file descriptor N if N is +specified). + +3.6.8 Duplicating File Descriptors +---------------------------------- + +The redirection operator + [N]<&WORD +is used to duplicate input file descriptors. If WORD expands to one or +more digits, the file descriptor denoted by N is made to be a copy of +that file descriptor. If the digits in WORD do not specify a file +descriptor open for input, a redirection error occurs. If WORD +evaluates to '-', file descriptor N is closed. If N is not specified, +the standard input (file descriptor 0) is used. + + The operator + [N]>&WORD +is used similarly to duplicate output file descriptors. If N is not +specified, the standard output (file descriptor 1) is used. If the +digits in WORD do not specify a file descriptor open for output, a +redirection error occurs. If WORD evaluates to '-', file descriptor N +is closed. As a special case, if N is omitted, and WORD does not expand +to one or more digits or '-', the standard output and standard error are +redirected as described previously. + +3.6.9 Moving File Descriptors +----------------------------- + +The redirection operator + [N]<&DIGIT- +moves the file descriptor DIGIT to file descriptor N, or the standard +input (file descriptor 0) if N is not specified. DIGIT is closed after +being duplicated to N. + + Similarly, the redirection operator + [N]>&DIGIT- +moves the file descriptor DIGIT to file descriptor N, or the standard +output (file descriptor 1) if N is not specified. + +3.6.10 Opening File Descriptors for Reading and Writing +------------------------------------------------------- + +The redirection operator + [N]<>WORD +causes the file whose name is the expansion of WORD to be opened for +both reading and writing on file descriptor N, or on file descriptor 0 +if N is not specified. If the file does not exist, it is created. + + +File: bash.info, Node: Executing Commands, Next: Shell Scripts, Prev: Redirections, Up: Basic Shell Features + +3.7 Executing Commands +====================== + +* Menu: + +* Simple Command Expansion:: How Bash expands simple commands before + executing them. +* Command Search and Execution:: How Bash finds commands and runs them. +* Command Execution Environment:: The environment in which Bash + executes commands that are not + shell builtins. +* Environment:: The environment given to a command. +* Exit Status:: The status returned by commands and how Bash + interprets it. +* Signals:: What happens when Bash or a command it runs + receives a signal. + + +File: bash.info, Node: Simple Command Expansion, Next: Command Search and Execution, Up: Executing Commands + +3.7.1 Simple Command Expansion +------------------------------ + +When a simple command is executed, the shell performs the following +expansions, assignments, and redirections, from left to right. + + 1. The words that the parser has marked as variable assignments (those + preceding the command name) and redirections are saved for later + processing. + + 2. The words that are not variable assignments or redirections are + expanded (*note Shell Expansions::). If any words remain after + expansion, the first word is taken to be the name of the command + and the remaining words are the arguments. + + 3. Redirections are performed as described above (*note + Redirections::). + + 4. The text after the '=' in each variable assignment undergoes tilde + expansion, parameter expansion, command substitution, arithmetic + expansion, and quote removal before being assigned to the variable. + + If no command name results, the variable assignments affect the +current shell environment. Otherwise, the variables are added to the +environment of the executed command and do not affect the current shell +environment. If any of the assignments attempts to assign a value to a +readonly variable, an error occurs, and the command exits with a +non-zero status. + + If no command name results, redirections are performed, but do not +affect the current shell environment. A redirection error causes the +command to exit with a non-zero status. + + If there is a command name left after expansion, execution proceeds +as described below. Otherwise, the command exits. If one of the +expansions contained a command substitution, the exit status of the +command is the exit status of the last command substitution performed. +If there were no command substitutions, the command exits with a status +of zero. + + +File: bash.info, Node: Command Search and Execution, Next: Command Execution Environment, Prev: Simple Command Expansion, Up: Executing Commands + +3.7.2 Command Search and Execution +---------------------------------- + +After a command has been split into words, if it results in a simple +command and an optional list of arguments, the following actions are +taken. + + 1. If the command name contains no slashes, the shell attempts to + locate it. If there exists a shell function by that name, that + function is invoked as described in *note Shell Functions::. + + 2. If the name does not match a function, the shell searches for it in + the list of shell builtins. If a match is found, that builtin is + invoked. + + 3. If the name is neither a shell function nor a builtin, and contains + no slashes, Bash searches each element of '$PATH' for a directory + containing an executable file by that name. Bash uses a hash table + to remember the full pathnames of executable files to avoid + multiple 'PATH' searches (see the description of 'hash' in *note + Bourne Shell Builtins::). A full search of the directories in + '$PATH' is performed only if the command is not found in the hash + table. If the search is unsuccessful, the shell searches for a + defined shell function named 'command_not_found_handle'. If that + function exists, it is invoked with the original command and the + original command's arguments as its arguments, and the function's + exit status becomes the exit status of the shell. If that function + is not defined, the shell prints an error message and returns an + exit status of 127. + + 4. If the search is successful, or if the command name contains one or + more slashes, the shell executes the named program in a separate + execution environment. Argument 0 is set to the name given, and + the remaining arguments to the command are set to the arguments + supplied, if any. + + 5. If this execution fails because the file is not in executable + format, and the file is not a directory, it is assumed to be a + SHELL SCRIPT and the shell executes it as described in *note Shell + Scripts::. + + 6. If the command was not begun asynchronously, the shell waits for + the command to complete and collects its exit status. + + +File: bash.info, Node: Command Execution Environment, Next: Environment, Prev: Command Search and Execution, Up: Executing Commands + +3.7.3 Command Execution Environment +----------------------------------- + +The shell has an EXECUTION ENVIRONMENT, which consists of the following: + + * open files inherited by the shell at invocation, as modified by + redirections supplied to the 'exec' builtin + + * the current working directory as set by 'cd', 'pushd', or 'popd', + or inherited by the shell at invocation + + * the file creation mode mask as set by 'umask' or inherited from the + shell's parent + + * current traps set by 'trap' + + * shell parameters that are set by variable assignment or with 'set' + or inherited from the shell's parent in the environment + + * shell functions defined during execution or inherited from the + shell's parent in the environment + + * options enabled at invocation (either by default or with + command-line arguments) or by 'set' + + * options enabled by 'shopt' (*note The Shopt Builtin::) + + * shell aliases defined with 'alias' (*note Aliases::) + + * various process IDs, including those of background jobs (*note + Lists::), the value of '$$', and the value of '$PPID' + + When a simple command other than a builtin or shell function is to be +executed, it is invoked in a separate execution environment that +consists of the following. Unless otherwise noted, the values are +inherited from the shell. + + * the shell's open files, plus any modifications and additions + specified by redirections to the command + + * the current working directory + + * the file creation mode mask + + * shell variables and functions marked for export, along with + variables exported for the command, passed in the environment + (*note Environment::) + + * traps caught by the shell are reset to the values inherited from + the shell's parent, and traps ignored by the shell are ignored + + A command invoked in this separate environment cannot affect the +shell's execution environment. + + Command substitution, commands grouped with parentheses, and +asynchronous commands are invoked in a subshell environment that is a +duplicate of the shell environment, except that traps caught by the +shell are reset to the values that the shell inherited from its parent +at invocation. Builtin commands that are invoked as part of a pipeline +are also executed in a subshell environment. Changes made to the +subshell environment cannot affect the shell's execution environment. + + Subshells spawned to execute command substitutions inherit the value +of the '-e' option from the parent shell. When not in POSIX mode, Bash +clears the '-e' option in such subshells. + + If a command is followed by a '&' and job control is not active, the +default standard input for the command is the empty file '/dev/null'. +Otherwise, the invoked command inherits the file descriptors of the +calling shell as modified by redirections. + + +File: bash.info, Node: Environment, Next: Exit Status, Prev: Command Execution Environment, Up: Executing Commands + +3.7.4 Environment +----------------- + +When a program is invoked it is given an array of strings called the +ENVIRONMENT. This is a list of name-value pairs, of the form +'name=value'. + + Bash provides several ways to manipulate the environment. On +invocation, the shell scans its own environment and creates a parameter +for each name found, automatically marking it for EXPORT to child +processes. Executed commands inherit the environment. The 'export' and +'declare -x' commands allow parameters and functions to be added to and +deleted from the environment. If the value of a parameter in the +environment is modified, the new value becomes part of the environment, +replacing the old. The environment inherited by any executed command +consists of the shell's initial environment, whose values may be +modified in the shell, less any pairs removed by the 'unset' and 'export +-n' commands, plus any additions via the 'export' and 'declare -x' +commands. + + The environment for any simple command or function may be augmented +temporarily by prefixing it with parameter assignments, as described in +*note Shell Parameters::. These assignment statements affect only the +environment seen by that command. + + If the '-k' option is set (*note The Set Builtin::), then all +parameter assignments are placed in the environment for a command, not +just those that precede the command name. + + When Bash invokes an external command, the variable '$_' is set to +the full pathname of the command and passed to that command in its +environment. + + +File: bash.info, Node: Exit Status, Next: Signals, Prev: Environment, Up: Executing Commands + +3.7.5 Exit Status +----------------- + +The exit status of an executed command is the value returned by the +WAITPID system call or equivalent function. Exit statuses fall between +0 and 255, though, as explained below, the shell may use values above +125 specially. Exit statuses from shell builtins and compound commands +are also limited to this range. Under certain circumstances, the shell +will use special values to indicate specific failure modes. + + For the shell's purposes, a command which exits with a zero exit +status has succeeded. A non-zero exit status indicates failure. This +seemingly counter-intuitive scheme is used so there is one well-defined +way to indicate success and a variety of ways to indicate various +failure modes. When a command terminates on a fatal signal whose number +is N, Bash uses the value 128+N as the exit status. + + If a command is not found, the child process created to execute it +returns a status of 127. If a command is found but is not executable, +the return status is 126. + + If a command fails because of an error during expansion or +redirection, the exit status is greater than zero. + + The exit status is used by the Bash conditional commands (*note +Conditional Constructs::) and some of the list constructs (*note +Lists::). + + All of the Bash builtins return an exit status of zero if they +succeed and a non-zero status on failure, so they may be used by the +conditional and list constructs. All builtins return an exit status of +2 to indicate incorrect usage, generally invalid options or missing +arguments. + + +File: bash.info, Node: Signals, Prev: Exit Status, Up: Executing Commands + +3.7.6 Signals +------------- + +When Bash is interactive, in the absence of any traps, it ignores +'SIGTERM' (so that 'kill 0' does not kill an interactive shell), and +'SIGINT' is caught and handled (so that the 'wait' builtin is +interruptible). When Bash receives a 'SIGINT', it breaks out of any +executing loops. In all cases, Bash ignores 'SIGQUIT'. If job control +is in effect (*note Job Control::), Bash ignores 'SIGTTIN', 'SIGTTOU', +and 'SIGTSTP'. + + Non-builtin commands started by Bash have signal handlers set to the +values inherited by the shell from its parent. When job control is not +in effect, asynchronous commands ignore 'SIGINT' and 'SIGQUIT' in +addition to these inherited handlers. Commands run as a result of +command substitution ignore the keyboard-generated job control signals +'SIGTTIN', 'SIGTTOU', and 'SIGTSTP'. + + The shell exits by default upon receipt of a 'SIGHUP'. Before +exiting, an interactive shell resends the 'SIGHUP' to all jobs, running +or stopped. Stopped jobs are sent 'SIGCONT' to ensure that they receive +the 'SIGHUP'. To prevent the shell from sending the 'SIGHUP' signal to +a particular job, it should be removed from the jobs table with the +'disown' builtin (*note Job Control Builtins::) or marked to not receive +'SIGHUP' using 'disown -h'. + + If the 'huponexit' shell option has been set with 'shopt' (*note The +Shopt Builtin::), Bash sends a 'SIGHUP' to all jobs when an interactive +login shell exits. + + If Bash is waiting for a command to complete and receives a signal +for which a trap has been set, the trap will not be executed until the +command completes. When Bash is waiting for an asynchronous command via +the 'wait' builtin, the reception of a signal for which a trap has been +set will cause the 'wait' builtin to return immediately with an exit +status greater than 128, immediately after which the trap is executed. + + +File: bash.info, Node: Shell Scripts, Prev: Executing Commands, Up: Basic Shell Features + +3.8 Shell Scripts +================= + +A shell script is a text file containing shell commands. When such a +file is used as the first non-option argument when invoking Bash, and +neither the '-c' nor '-s' option is supplied (*note Invoking Bash::), +Bash reads and executes commands from the file, then exits. This mode +of operation creates a non-interactive shell. The shell first searches +for the file in the current directory, and looks in the directories in +'$PATH' if not found there. + + When Bash runs a shell script, it sets the special parameter '0' to +the name of the file, rather than the name of the shell, and the +positional parameters are set to the remaining arguments, if any are +given. If no additional arguments are supplied, the positional +parameters are unset. + + A shell script may be made executable by using the 'chmod' command to +turn on the execute bit. When Bash finds such a file while searching +the '$PATH' for a command, it spawns a subshell to execute it. In other +words, executing + filename ARGUMENTS +is equivalent to executing + bash filename ARGUMENTS + +if 'filename' is an executable shell script. This subshell +reinitializes itself, so that the effect is as if a new shell had been +invoked to interpret the script, with the exception that the locations +of commands remembered by the parent (see the description of 'hash' in +*note Bourne Shell Builtins::) are retained by the child. + + Most versions of Unix make this a part of the operating system's +command execution mechanism. If the first line of a script begins with +the two characters '#!', the remainder of the line specifies an +interpreter for the program. Thus, you can specify Bash, 'awk', Perl, +or some other interpreter and write the rest of the script file in that +language. + + The arguments to the interpreter consist of a single optional +argument following the interpreter name on the first line of the script +file, followed by the name of the script file, followed by the rest of +the arguments. Bash will perform this action on operating systems that +do not handle it themselves. Note that some older versions of Unix +limit the interpreter name and argument to a maximum of 32 characters. + + Bash scripts often begin with '#! /bin/bash' (assuming that Bash has +been installed in '/bin'), since this ensures that Bash will be used to +interpret the script, even if it is executed under another shell. + + +File: bash.info, Node: Shell Builtin Commands, Next: Shell Variables, Prev: Basic Shell Features, Up: Top + +4 Shell Builtin Commands +************************ + +* Menu: + +* Bourne Shell Builtins:: Builtin commands inherited from the Bourne + Shell. +* Bash Builtins:: Table of builtins specific to Bash. +* Modifying Shell Behavior:: Builtins to modify shell attributes and + optional behavior. +* Special Builtins:: Builtin commands classified specially by + POSIX. + +Builtin commands are contained within the shell itself. When the name +of a builtin command is used as the first word of a simple command +(*note Simple Commands::), the shell executes the command directly, +without invoking another program. Builtin commands are necessary to +implement functionality impossible or inconvenient to obtain with +separate utilities. + + This section briefly describes the builtins which Bash inherits from +the Bourne Shell, as well as the builtin commands which are unique to or +have been extended in Bash. + + Several builtin commands are described in other chapters: builtin +commands which provide the Bash interface to the job control facilities +(*note Job Control Builtins::), the directory stack (*note Directory +Stack Builtins::), the command history (*note Bash History Builtins::), +and the programmable completion facilities (*note Programmable +Completion Builtins::). + + Many of the builtins have been extended by POSIX or Bash. + + Unless otherwise noted, each builtin command documented as accepting +options preceded by '-' accepts '--' to signify the end of the options. +The ':', 'true', 'false', and 'test' builtins do not accept options and +do not treat '--' specially. The 'exit', 'logout', 'return', 'break', +'continue', 'let', and 'shift' builtins accept and process arguments +beginning with '-' without requiring '--'. Other builtins that accept +arguments but are not specified as accepting options interpret arguments +beginning with '-' as invalid options and require '--' to prevent this +interpretation. + + +File: bash.info, Node: Bourne Shell Builtins, Next: Bash Builtins, Up: Shell Builtin Commands + +4.1 Bourne Shell Builtins +========================= + +The following shell builtin commands are inherited from the Bourne +Shell. These commands are implemented as specified by the POSIX +standard. + +': (a colon)' + : [ARGUMENTS] + + Do nothing beyond expanding ARGUMENTS and performing redirections. + The return status is zero. + +'. (a period)' + . FILENAME [ARGUMENTS] + + Read and execute commands from the FILENAME argument in the current + shell context. If FILENAME does not contain a slash, the 'PATH' + variable is used to find FILENAME. When Bash is not in POSIX mode, + the current directory is searched if FILENAME is not found in + '$PATH'. If any ARGUMENTS are supplied, they become the positional + parameters when FILENAME is executed. Otherwise the positional + parameters are unchanged. If the '-T' option is enabled, 'source' + inherits any trap on 'DEBUG'; if it is not, any 'DEBUG' trap string + is saved and restored around the call to 'source', and 'source' + unsets the 'DEBUG' trap while it executes. If '-T' is not set, and + the sourced file changes the 'DEBUG' trap, the new value is + retained when 'source' completes. The return status is the exit + status of the last command executed, or zero if no commands are + executed. If FILENAME is not found, or cannot be read, the return + status is non-zero. This builtin is equivalent to 'source'. + +'break' + break [N] + + Exit from a 'for', 'while', 'until', or 'select' loop. If N is + supplied, the Nth enclosing loop is exited. N must be greater than + or equal to 1. The return status is zero unless N is not greater + than or equal to 1. + +'cd' + cd [-L|[-P [-e]] [-@] [DIRECTORY] + + Change the current working directory to DIRECTORY. If DIRECTORY is + not supplied, the value of the 'HOME' shell variable is used. Any + additional arguments following DIRECTORY are ignored. If the shell + variable 'CDPATH' exists, it is used as a search path: each + directory name in 'CDPATH' is searched for DIRECTORY, with + alternative directory names in 'CDPATH' separated by a colon (':'). + If DIRECTORY begins with a slash, 'CDPATH' is not used. + + The '-P' option means to not follow symbolic links: symbolic links + are resolved while 'cd' is traversing DIRECTORY and before + processing an instance of '..' in DIRECTORY. + + By default, or when the '-L' option is supplied, symbolic links in + DIRECTORY are resolved after 'cd' processes an instance of '..' in + DIRECTORY. + + If '..' appears in DIRECTORY, it is processed by removing the + immediately preceding pathname component, back to a slash or the + beginning of DIRECTORY. + + If the '-e' option is supplied with '-P' and the current working + directory cannot be successfully determined after a successful + directory change, 'cd' will return an unsuccessful status. + + On systems that support it, the '-@' option presents the extended + attributes associated with a file as a directory. + + If DIRECTORY is '-', it is converted to '$OLDPWD' before the + directory change is attempted. + + If a non-empty directory name from 'CDPATH' is used, or if '-' is + the first argument, and the directory change is successful, the + absolute pathname of the new working directory is written to the + standard output. + + The return status is zero if the directory is successfully changed, + non-zero otherwise. + +'continue' + continue [N] + + Resume the next iteration of an enclosing 'for', 'while', 'until', + or 'select' loop. If N is supplied, the execution of the Nth + enclosing loop is resumed. N must be greater than or equal to 1. + The return status is zero unless N is not greater than or equal to + 1. + +'eval' + eval [ARGUMENTS] + + The arguments are concatenated together into a single command, + which is then read and executed, and its exit status returned as + the exit status of 'eval'. If there are no arguments or only empty + arguments, the return status is zero. + +'exec' + exec [-cl] [-a NAME] [COMMAND [ARGUMENTS]] + + If COMMAND is supplied, it replaces the shell without creating a + new process. If the '-l' option is supplied, the shell places a + dash at the beginning of the zeroth argument passed to COMMAND. + This is what the 'login' program does. The '-c' option causes + COMMAND to be executed with an empty environment. If '-a' is + supplied, the shell passes NAME as the zeroth argument to COMMAND. + If COMMAND cannot be executed for some reason, a non-interactive + shell exits, unless the 'execfail' shell option is enabled. In + that case, it returns failure. An interactive shell returns + failure if the file cannot be executed. If no COMMAND is + specified, redirections may be used to affect the current shell + environment. If there are no redirection errors, the return status + is zero; otherwise the return status is non-zero. + +'exit' + exit [N] + + Exit the shell, returning a status of N to the shell's parent. If + N is omitted, the exit status is that of the last command executed. + Any trap on 'EXIT' is executed before the shell terminates. + +'export' + export [-fn] [-p] [NAME[=VALUE]] + + Mark each NAME to be passed to child processes in the environment. + If the '-f' option is supplied, the NAMEs refer to shell functions; + otherwise the names refer to shell variables. The '-n' option + means to no longer mark each NAME for export. If no NAMES are + supplied, or if the '-p' option is given, a list of names of all + exported variables is displayed. The '-p' option displays output + in a form that may be reused as input. If a variable name is + followed by =VALUE, the value of the variable is set to VALUE. + + The return status is zero unless an invalid option is supplied, one + of the names is not a valid shell variable name, or '-f' is + supplied with a name that is not a shell function. + +'getopts' + getopts OPTSTRING NAME [ARGS] + + 'getopts' is used by shell scripts to parse positional parameters. + OPTSTRING contains the option characters to be recognized; if a + character is followed by a colon, the option is expected to have an + argument, which should be separated from it by whitespace. The + colon (':') and question mark ('?') may not be used as option + characters. Each time it is invoked, 'getopts' places 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 + 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 variable + 'OPTARG'. The shell does not reset 'OPTIND' automatically; it must + be manually reset between multiple calls to 'getopts' within the + same shell invocation if a new set of parameters is to be used. + + When the end of options is encountered, 'getopts' exits with a + return value greater than zero. 'OPTIND' is set to the index of + the first non-option argument, and NAME is set to '?'. + + 'getopts' normally parses the positional parameters, but if more + arguments are given in ARGS, 'getopts' parses those instead. + + 'getopts' can report errors in two ways. If the first character of + OPTSTRING is a colon, SILENT error reporting is used. In normal + operation, diagnostic messages are printed when invalid options or + missing option arguments are encountered. If the variable 'OPTERR' + is set to 0, no error messages will be displayed, even if the first + character of 'optstring' is not a colon. + + If an invalid option is seen, 'getopts' places '?' into NAME and, + if not silent, prints an error message and unsets 'OPTARG'. If + 'getopts' is silent, the option character found is placed in + 'OPTARG' and no diagnostic message is printed. + + If a required argument is not found, and 'getopts' is not silent, a + question mark ('?') is placed in NAME, 'OPTARG' is unset, and a + diagnostic message is printed. If 'getopts' is silent, then a + colon (':') is placed in NAME and 'OPTARG' is set to the option + character found. + +'hash' + hash [-r] [-p FILENAME] [-dt] [NAME] + + Each time 'hash' is invoked, it remembers the full pathnames of the + commands specified as NAME arguments, so they need not be searched + for on subsequent invocations. The commands are found by searching + through the directories listed in '$PATH'. Any + previously-remembered pathname is discarded. The '-p' option + inhibits the path search, and FILENAME is used as the location of + NAME. The '-r' option causes the shell to forget all remembered + locations. The '-d' option causes the shell to forget the + remembered location of each NAME. If the '-t' option is supplied, + the full pathname to which each NAME corresponds is printed. If + multiple NAME arguments are supplied with '-t' the NAME is printed + before the hashed full pathname. The '-l' option causes output to + be displayed in a format that may be reused as input. If no + arguments are given, or if only '-l' is supplied, information about + remembered commands is printed. The return status is zero unless a + NAME is not found or an invalid option is supplied. + +'pwd' + pwd [-LP] + + Print the absolute pathname of the current working directory. If + the '-P' option is supplied, the pathname printed will not contain + symbolic links. If the '-L' option is supplied, the pathname + printed may contain symbolic links. The return status is zero + unless an error is encountered while determining the name of the + current directory or an invalid option is supplied. + +'readonly' + readonly [-aAf] [-p] [NAME[=VALUE]] ... + + Mark each NAME as readonly. The values of these names may not be + changed by subsequent assignment. If the '-f' option is supplied, + each NAME refers to a shell function. The '-a' option means each + NAME refers to an indexed array variable; the '-A' option means + each NAME refers to an associative array variable. If both options + are supplied, '-A' takes precedence. If no NAME arguments are + given, or if the '-p' option is supplied, a list of all readonly + names is printed. The other options may be used to restrict the + output to a subset of the set of readonly names. The '-p' option + causes output to be displayed in a format that may be reused as + input. If a variable name is followed by =VALUE, the value of the + variable is set to VALUE. The return status is zero unless an + invalid option is supplied, one of the NAME arguments is not a + valid shell variable or function name, or the '-f' option is + supplied with a name that is not a shell function. + +'return' + return [N] + + Cause a shell function to stop executing and return the value N to + its caller. If N is not supplied, the return value is the exit + status of the last command executed in the function. If 'return' + is executed by a trap handler, the last command used to determine + the status is the last command executed before the trap handler. + if 'return' is executed during a 'DEBUG' trap, the last command + used to determine the status is the last command executed by the + trap handler before 'return' was invoked. 'return' may also be + used to terminate execution of a script being executed with the '.' + ('source') builtin, returning either N or the exit status of the + last command executed within the script as the exit status of the + script. If N is supplied, the return value is its least + significant 8 bits. Any command associated with the 'RETURN' trap + is executed before execution resumes after the function or script. + The return status is non-zero if 'return' is supplied a non-numeric + argument or is used outside a function and not during the execution + of a script by '.' or 'source'. + +'shift' + shift [N] + + Shift the positional parameters to the left by N. The positional + parameters from N+1 ... '$#' are renamed to '$1' ... '$#'-N. + Parameters represented by the numbers '$#' to '$#'-N+1 are unset. + N must be a non-negative number less than or equal to '$#'. If N + is zero or greater than '$#', the positional parameters are not + changed. If N is not supplied, it is assumed to be 1. The return + status is zero unless N is greater than '$#' or less than zero, + non-zero otherwise. + +'test' +'[' + test EXPR + + Evaluate a conditional expression EXPR and return a status of 0 + (true) or 1 (false). Each operator and operand must be a separate + argument. Expressions are composed of the primaries described + below in *note Bash Conditional Expressions::. 'test' does not + accept any options, nor does it accept and ignore an argument of + '--' as signifying the end of options. + + When the '[' form is used, the last argument to the command must be + a ']'. + + Expressions may be combined using the following operators, listed + in decreasing order of precedence. The evaluation depends on the + number of arguments; see below. Operator precedence is used when + there are five or more arguments. + + '! EXPR' + True if EXPR is false. + + '( EXPR )' + Returns the value of EXPR. This may be used to override the + normal precedence of operators. + + 'EXPR1 -a EXPR2' + True if both EXPR1 and EXPR2 are true. + + 'EXPR1 -o EXPR2' + True if either EXPR1 or EXPR2 is true. + + The 'test' and '[' builtins evaluate conditional expressions using + a set of rules based on the number of arguments. + + 0 arguments + The expression is false. + + 1 argument + The expression is true if and only if the argument is not + null. + + 2 arguments + If the first argument is '!', the expression is true if and + only if the second argument is null. If the first argument is + one of the unary conditional operators (*note Bash Conditional + Expressions::), the expression is true if the unary test is + true. If the first argument is not a valid unary operator, + the expression is false. + + 3 arguments + The following conditions are applied in the order listed. If + the second argument is one of the binary conditional operators + (*note Bash Conditional Expressions::), the result of the + expression is the result of the binary test using the first + and third arguments as operands. The '-a' and '-o' operators + are considered binary operators when there are three + arguments. If the first argument is '!', the value is the + negation of the two-argument test using the second and third + arguments. If the first argument is exactly '(' and the third + argument is exactly ')', the result is the one-argument test + of the second argument. Otherwise, the expression is false. + + 4 arguments + If the first argument is '!', the result is the negation of + the three-argument expression composed of the remaining + arguments. Otherwise, the expression is parsed and evaluated + according to precedence using the rules listed above. + + 5 or more arguments + The expression is parsed and evaluated according to precedence + using the rules listed above. + + When used with 'test' or '[', the '<' and '>' operators sort + lexicographically using ASCII ordering. + +'times' + times + + Print out the user and system times used by the shell and its + children. The return status is zero. + +'trap' + trap [-lp] [ARG] [SIGSPEC ...] + + The commands in ARG are to be read and executed when the shell + receives signal SIGSPEC. If ARG is absent (and there is a single + SIGSPEC) or equal to '-', each specified signal's disposition is + reset to the value it had when the shell was started. If ARG is + the null string, then the signal specified by each SIGSPEC is + ignored by the shell and commands it invokes. If ARG is not + present and '-p' has been supplied, the shell displays the trap + commands associated with each SIGSPEC. If no arguments are + supplied, or only '-p' is given, 'trap' prints the list of commands + associated with each signal number in a form that may be reused as + shell input. The '-l' option causes the shell to print a list of + signal names and their corresponding numbers. Each SIGSPEC is + either a signal name or a signal number. Signal names are case + insensitive and the 'SIG' prefix is optional. + + If a SIGSPEC is '0' or 'EXIT', ARG is executed when the shell + exits. If a SIGSPEC is 'DEBUG', the command ARG is executed before + every simple command, 'for' command, 'case' command, 'select' + command, every arithmetic 'for' command, and before the first + command executes in a shell function. Refer to the description of + the 'extdebug' option to the 'shopt' builtin (*note The Shopt + Builtin::) for details of its effect on the 'DEBUG' trap. If a + SIGSPEC is 'RETURN', the command ARG is executed each time a shell + function or a script executed with the '.' or 'source' builtins + finishes executing. + + If a SIGSPEC is 'ERR', the command ARG is executed whenever a + pipeline (which may consist of a single simple command), a list, or + a compound command returns a non-zero exit status, subject to the + following conditions. The 'ERR' trap is not executed if the failed + command is part of the command list immediately following an + 'until' or 'while' keyword, part of the test following the 'if' or + 'elif' reserved words, part of a command executed in a '&&' or '||' + list except the command following the final '&&' or '||', any + command in a pipeline but the last, or if the command's return + status is being inverted using '!'. These are the same conditions + obeyed by the 'errexit' ('-e') option. + + Signals ignored upon entry to the shell cannot be trapped or reset. + Trapped signals that are not being ignored are reset to their + original values in a subshell or subshell environment when one is + created. + + The return status is zero unless a SIGSPEC does not specify a valid + signal. + +'umask' + umask [-p] [-S] [MODE] + + Set the shell process's file creation mask to MODE. If MODE begins + with a digit, it is interpreted as an octal number; if not, it is + interpreted as a symbolic mode mask similar to that accepted by the + 'chmod' command. If MODE is omitted, the current value of the mask + is printed. If the '-S' option is supplied without a MODE + argument, the mask is printed in a symbolic format. If the '-p' + option is supplied, and MODE is omitted, the output is in a form + that may be reused as input. The return status is zero if the mode + is successfully changed or if no MODE argument is supplied, and + non-zero otherwise. + + Note that when the mode is interpreted as an octal number, each + number of the umask is subtracted from '7'. Thus, a umask of '022' + results in permissions of '755'. + +'unset' + unset [-fnv] [NAME] + + Remove each variable or function NAME. If the '-v' option is + given, each NAME refers to a shell variable and that variable is + removed. If the '-f' option is given, the NAMEs refer to shell + functions, and the function definition is removed. If the '-n' + option is supplied, and NAME is a variable with the NAMEREF + attribute, NAME will be unset rather than the variable it + references. '-n' has no effect if the '-f' option is supplied. If + no options are supplied, each NAME refers to a variable; if there + is no variable by that name, any function with that name is unset. + Readonly variables and functions may not be unset. The return + status is zero unless a NAME is readonly. + + +File: bash.info, Node: Bash Builtins, Next: Modifying Shell Behavior, Prev: Bourne Shell Builtins, Up: Shell Builtin Commands + +4.2 Bash Builtin Commands +========================= + +This section describes builtin commands which are unique to or have been +extended in Bash. Some of these commands are specified in the POSIX +standard. + +'alias' + alias [-p] [NAME[=VALUE] ...] + + Without arguments or with the '-p' option, 'alias' prints the list + of aliases on the standard output in a form that allows them to be + reused as input. If arguments are supplied, an alias is defined + for each NAME whose VALUE is given. If no VALUE is given, the name + and value of the alias is printed. Aliases are described in *note + Aliases::. + +'bind' + bind [-m KEYMAP] [-lpsvPSVX] + bind [-m KEYMAP] [-q FUNCTION] [-u FUNCTION] [-r KEYSEQ] + bind [-m KEYMAP] -f FILENAME + bind [-m KEYMAP] -x KEYSEQ:SHELL-COMMAND + bind [-m KEYMAP] KEYSEQ:FUNCTION-NAME + bind [-m KEYMAP] KEYSEQ:READLINE-COMMAND + + Display current Readline (*note Command Line Editing::) key and + function bindings, bind a key sequence to a Readline function or + macro, or set a Readline variable. Each non-option argument is a + command as it would appear in a Readline initialization file (*note + Readline Init File::), but each binding or command must be passed + as a separate argument; e.g., '"\C-x\C-r":re-read-init-file'. + + Options, if supplied, have the following meanings: + + '-m KEYMAP' + Use KEYMAP as the keymap to be affected by the subsequent + bindings. Acceptable KEYMAP names are 'emacs', + 'emacs-standard', 'emacs-meta', 'emacs-ctlx', 'vi', 'vi-move', + 'vi-command', and 'vi-insert'. 'vi' is equivalent to + 'vi-command' ('vi-move' is also a synonym); 'emacs' is + equivalent to 'emacs-standard'. + + '-l' + List the names of all Readline functions. + + '-p' + Display Readline function names and bindings in such a way + that they can be used as input or in a Readline initialization + file. + + '-P' + List current Readline function names and bindings. + + '-v' + Display Readline variable names and values in such a way that + they can be used as input or in a Readline initialization + file. + + '-V' + List current Readline variable names and values. + + '-s' + Display Readline key sequences bound to macros and the strings + they output in such a way that they can be used as input or in + a Readline initialization file. + + '-S' + Display Readline key sequences bound to macros and the strings + they output. + + '-f FILENAME' + Read key bindings from FILENAME. + + '-q FUNCTION' + Query about which keys invoke the named FUNCTION. + + '-u FUNCTION' + Unbind all keys bound to the named FUNCTION. + + '-r KEYSEQ' + Remove any current binding for KEYSEQ. + + '-x KEYSEQ:SHELL-COMMAND' + Cause SHELL-COMMAND to be executed whenever KEYSEQ is entered. + When SHELL-COMMAND is executed, the shell sets the + 'READLINE_LINE' variable to the contents of the Readline line + buffer and the 'READLINE_POINT' variable to the current + location of the insertion point. If the executed command + changes the value of 'READLINE_LINE' or 'READLINE_POINT', + those new values will be reflected in the editing state. + + '-X' + List all key sequences bound to shell commands and the + associated commands in a format that can be reused as input. + + The return status is zero unless an invalid option is supplied or + an error occurs. + +'builtin' + builtin [SHELL-BUILTIN [ARGS]] + + Run a shell builtin, passing it ARGS, and return its exit status. + This is useful when defining a shell function with the same name as + a shell builtin, retaining the functionality of the builtin within + the function. The return status is non-zero if SHELL-BUILTIN is + not a shell builtin command. + +'caller' + caller [EXPR] + + Returns the context of any active subroutine call (a shell function + or a script executed with the '.' or 'source' builtins). + + Without EXPR, 'caller' displays the line number and source filename + of the current subroutine call. If a non-negative integer is + supplied as EXPR, 'caller' displays the line number, subroutine + name, and source file corresponding to that position in the current + execution call stack. This extra information may be used, for + example, to print a stack trace. The current frame is frame 0. + + The return value is 0 unless the shell is not executing a + subroutine call or EXPR does not correspond to a valid position in + the call stack. + +'command' + command [-pVv] COMMAND [ARGUMENTS ...] + + Runs COMMAND with ARGUMENTS ignoring any shell function named + COMMAND. Only shell builtin commands or commands found by + searching the 'PATH' are executed. If there is a shell function + named 'ls', running 'command ls' within the function will execute + the external command 'ls' instead of calling the function + recursively. The '-p' option means to use a default value for + 'PATH' that is guaranteed to find all of the standard utilities. + The return status in this case is 127 if COMMAND cannot be found or + an error occurred, and the exit status of COMMAND otherwise. + + If either the '-V' or '-v' option is supplied, a description of + COMMAND is printed. The '-v' option causes a single word + indicating the command or file name used to invoke COMMAND to be + displayed; the '-V' option produces a more verbose description. In + this case, the return status is zero if COMMAND is found, and + non-zero if not. + +'declare' + declare [-aAfFgilnrtux] [-p] [NAME[=VALUE] ...] + + Declare variables and give them attributes. If no NAMEs are given, + then display the values of variables instead. + + The '-p' option will display the attributes and values of each + NAME. When '-p' is used with NAME arguments, additional options, + other than '-f' and '-F', are ignored. + + When '-p' is supplied without NAME arguments, 'declare' will + display the attributes and values of all variables having the + attributes specified by the additional options. If no other + options are supplied with '-p', 'declare' will display the + attributes and values of all shell variables. The '-f' option will + restrict the display to shell functions. + + The '-F' option inhibits the display of function definitions; only + the function name and attributes are printed. If the 'extdebug' + shell option is enabled using 'shopt' (*note The Shopt Builtin::), + the source file name and line number where each NAME is defined are + displayed as well. '-F' implies '-f'. + + The '-g' option forces variables to be created or modified at the + global scope, even when 'declare' is executed in a shell function. + It is ignored in all other cases. + + The following options can be used to restrict output to variables + with the specified attributes or to give variables attributes: + + '-a' + Each NAME is an indexed array variable (*note Arrays::). + + '-A' + Each NAME is an associative array variable (*note Arrays::). + + '-f' + Use function names only. + + '-i' + The variable is to be treated as an integer; arithmetic + evaluation (*note Shell Arithmetic::) is performed when the + variable is assigned a value. + + '-l' + When the variable is assigned a value, all upper-case + characters are converted to lower-case. The upper-case + attribute is disabled. + + '-n' + Give each NAME the NAMEREF attribute, making it a name + reference to another variable. That other variable is defined + by the value of NAME. All references, assignments, and + attribute modifications to NAME, except for those using or + changing the '-n' attribute itself, are performed on the + variable referenced by NAME's value. The nameref attribute + cannot be applied to array variables. + + '-r' + Make NAMEs readonly. These names cannot then be assigned + values by subsequent assignment statements or unset. + + '-t' + Give each NAME the 'trace' attribute. Traced functions + inherit the 'DEBUG' and 'RETURN' traps from the calling shell. + The trace attribute has no special meaning for variables. + + '-u' + When the variable is assigned a value, all lower-case + characters are converted to upper-case. The lower-case + attribute is disabled. + + '-x' + Mark each NAME for export to subsequent commands via the + environment. + + Using '+' instead of '-' turns off the attribute instead, with the + exceptions that '+a' may not be used to destroy an array variable + and '+r' will not remove the readonly attribute. When used in a + function, 'declare' makes each NAME local, as with the 'local' + command, unless the '-g' option is used. If a variable name is + followed by =VALUE, the value of the variable is set to VALUE. + + When using '-a' or '-A' and the compound assignment syntax to + create array variables, additional attributes do not take effect + until subsequent assignments. + + The return status is zero unless an invalid option is encountered, + an attempt is made to define a function using '-f foo=bar', an + attempt is made to assign a value to a readonly variable, an + attempt is made to assign a value to an array variable without + using the compound assignment syntax (*note Arrays::), one of the + NAMES is not a valid shell variable name, an attempt is made to + turn off readonly status for a readonly variable, an attempt is + made to turn off array status for an array variable, or an attempt + is made to display a non-existent function with '-f'. + +'echo' + echo [-neE] [ARG ...] + + Output the ARGs, separated by spaces, terminated with a newline. + The return status is 0 unless a write error occurs. If '-n' is + specified, the trailing newline is suppressed. If the '-e' option + is given, interpretation of the following backslash-escaped + characters is enabled. The '-E' option disables the interpretation + of these escape characters, even on systems where they are + interpreted by default. The 'xpg_echo' shell option may be used to + dynamically determine whether or not 'echo' expands these escape + characters by default. 'echo' does not interpret '--' to mean the + end of options. + + 'echo' interprets the following escape sequences: + '\a' + alert (bell) + '\b' + backspace + '\c' + suppress further output + '\e' + '\E' + escape + '\f' + form feed + '\n' + new line + '\r' + carriage return + '\t' + horizontal tab + '\v' + vertical tab + '\\' + backslash + '\0NNN' + the eight-bit character whose value is the octal value NNN + (zero to three octal digits) + '\xHH' + the eight-bit character whose value is the hexadecimal value + HH (one or two hex digits) + '\uHHHH' + the Unicode (ISO/IEC 10646) character whose value is the + hexadecimal value HHHH (one to four hex digits) + '\UHHHHHHHH' + the Unicode (ISO/IEC 10646) character whose value is the + hexadecimal value HHHHHHHH (one to eight hex digits) + +'enable' + enable [-a] [-dnps] [-f FILENAME] [NAME ...] + + Enable and disable builtin shell commands. Disabling a builtin + allows a disk command which has the same name as a shell builtin to + be executed without specifying a full pathname, even though the + shell normally searches for builtins before disk commands. If '-n' + is used, the NAMEs become disabled. Otherwise NAMEs are enabled. + For example, to use the 'test' binary found via '$PATH' instead of + the shell builtin version, type 'enable -n test'. + + If the '-p' option is supplied, or no NAME arguments appear, a list + of shell builtins is printed. With no other arguments, the list + consists of all enabled shell builtins. The '-a' option means to + list each builtin with an indication of whether or not it is + enabled. + + The '-f' option means to load the new builtin command NAME from + shared object FILENAME, on systems that support dynamic loading. + The '-d' option will delete a builtin loaded with '-f'. + + If there are no options, a list of the shell builtins is displayed. + The '-s' option restricts 'enable' to the POSIX special builtins. + If '-s' is used with '-f', the new builtin becomes a special + builtin (*note Special Builtins::). + + The return status is zero unless a NAME is not a shell builtin or + there is an error loading a new builtin from a shared object. + +'help' + help [-dms] [PATTERN] + + Display helpful information about builtin commands. If PATTERN is + specified, 'help' gives detailed help on all commands matching + PATTERN, otherwise a list of the builtins is printed. + + Options, if supplied, have the following meanings: + + '-d' + Display a short description of each PATTERN + '-m' + Display the description of each PATTERN in a manpage-like + format + '-s' + Display only a short usage synopsis for each PATTERN + + The return status is zero unless no command matches PATTERN. + +'let' + let EXPRESSION [EXPRESSION ...] + + The 'let' builtin allows arithmetic to be performed on shell + variables. Each EXPRESSION is evaluated according to the rules + given below in *note Shell Arithmetic::. If the last EXPRESSION + evaluates to 0, 'let' returns 1; otherwise 0 is returned. + +'local' + local [OPTION] NAME[=VALUE] ... + + For each argument, a local variable named NAME is created, and + assigned VALUE. The OPTION can be any of the options accepted by + 'declare'. 'local' can only be used within a function; it makes + the variable NAME have a visible scope restricted to that function + and its children. If NAME is '-', the set of shell options is made + local to the function in which 'local' is invoked: shell options + changed using the 'set' builtin inside the function are restored to + their original values when the function returns. The return status + is zero unless 'local' is used outside a function, an invalid NAME + is supplied, or NAME is a readonly variable. + +'logout' + logout [N] + + Exit a login shell, returning a status of N to the shell's parent. + +'mapfile' + mapfile [-d DELIM] [-n COUNT] [-O ORIGIN] [-s COUNT] [-t] [-u FD] + [-C CALLBACK] [-c QUANTUM] [ARRAY] + + 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, if supplied, + have the following meanings: + + '-d' + The first character of DELIM is used to terminate each input + line, rather than newline. + '-n' + Copy at most COUNT lines. If COUNT is 0, all lines are + copied. + '-O' + Begin assigning to ARRAY at index ORIGIN. The default index + is 0. + '-s' + Discard the first COUNT lines read. + '-t' + Remove a trailing DELIM (default newline) from each line read. + '-u' + Read lines from file descriptor FD instead of the standard + input. + '-C' + Evaluate CALLBACK each time QUANTUMP lines are read. The '-c' + option specifies QUANTUM. + '-c' + Specify the number of lines read between each call to + CALLBACK. + + If '-C' is specified without '-c', the default quantum is 5000. + When CALLBACK is evaluated, it is supplied the index of the next + array element to be assigned and the line to be assigned to that + element as additional arguments. CALLBACK is evaluated after the + line is read but before the array element is assigned. + + If not supplied with an explicit origin, 'mapfile' will clear ARRAY + before assigning to it. + + 'mapfile' returns successfully unless an invalid option or option + argument is supplied, ARRAY is invalid or unassignable, or ARRAY is + not an indexed array. + +'printf' + printf [-v VAR] FORMAT [ARGUMENTS] + + Write the formatted ARGUMENTS to the standard output under the + control of the FORMAT. The '-v' option causes the output to be + assigned to the variable VAR rather than being printed to the + standard output. + + The 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 'printf(1)' formats, 'printf' interprets the following + extensions: + + '%b' + Causes 'printf' to expand backslash escape sequences in the + corresponding ARGUMENT in the same way as 'echo -e' (*note + Bash Builtins::). + '%q' + Causes 'printf' to output the corresponding ARGUMENT in a + format that can be reused as shell input. + '%(DATEFMT)T' + Causes 'printf' to output the date-time string resulting from + using DATEFMT as a format string for 'strftime'(3). The + corresponding ARGUMENT is an integer representing the number + of seconds since the epoch. Two special argument values may + be used: -1 represents the current time, and -2 represents the + time the shell was invoked. If no argument is specified, + conversion behaves as if -1 had been given. This is an + exception to the usual 'printf' behavior. + + Arguments to non-string format specifiers are treated as C language + constants, except that a leading plus or minus sign is allowed, and + if the leading character is a single or double quote, the value is + the ASCII value of the following character. + + The FORMAT is reused as necessary to consume all of the ARGUMENTS. + If the FORMAT requires more ARGUMENTS than are supplied, the extra + format specifications behave as if a zero value or null string, as + appropriate, had been supplied. The return value is zero on + success, non-zero on failure. + +'read' + read [-ers] [-a ANAME] [-d DELIM] [-i TEXT] [-n NCHARS] + [-N NCHARS] [-p PROMPT] [-t TIMEOUT] [-u FD] [NAME ...] + + One line is read from the standard input, or from the file + descriptor FD supplied as an argument to the '-u' option, split + into words as described above in *note Word Splitting::, and the + first word is assigned to the first NAME, the second word to the + second NAME, and so on. If there are more words than names, the + remaining words and their intervening delimiters are assigned to + the last NAME. If there are fewer words read from the input stream + than names, the remaining names are assigned empty values. The + characters in the value of the 'IFS' variable are used to split the + line into words using the same rules the shell uses for expansion + (described above in *note Word Splitting::). The backslash + character '\' may be used to remove any special meaning for the + next character read and for line continuation. If no names are + supplied, the line read is assigned to the variable 'REPLY'. The + exit status is zero, unless end-of-file is encountered, 'read' + times out (in which case the status is greater than 128), a + variable assignment error (such as assigning to a readonly + variable) occurs, or an invalid file descriptor is supplied as the + argument to '-u'. + + Options, if supplied, have the following meanings: + + '-a ANAME' + The words are assigned to sequential indices of the array + variable ANAME, starting at 0. All elements are removed from + ANAME before the assignment. Other NAME arguments are + ignored. + + '-d DELIM' + The first character of DELIM is used to terminate the input + line, rather than newline. + + '-e' + Readline (*note Command Line Editing::) is used to obtain the + line. Readline uses the current (or default, if line editing + was not previously active) editing settings. + + '-i TEXT' + If Readline is being used to read the line, TEXT is placed + into the editing buffer before editing begins. + + '-n NCHARS' + 'read' returns after reading NCHARS characters rather than + waiting for a complete line of input, but honors a delimiter + if fewer than NCHARS characters are read before the delimiter. + + '-N NCHARS' + 'read' returns after reading exactly NCHARS characters rather + than waiting for a complete line of input, unless EOF is + encountered or 'read' times out. Delimiter characters + encountered in the input are not treated specially and do not + cause 'read' to return until NCHARS characters are read. The + result is not split on the characters in 'IFS'; the intent is + that the variable is assigned exactly the characters read + (with the exception of backslash; see the '-r' option below). + + '-p PROMPT' + Display PROMPT, without a trailing newline, before attempting + to read any input. The prompt is displayed only if input is + coming from a terminal. + + '-r' + If this option is given, backslash does not act as an escape + character. The backslash is considered to be part of the + line. In particular, a backslash-newline pair may not be used + as a line continuation. + + '-s' + Silent mode. If input is coming from a terminal, characters + are not echoed. + + '-t TIMEOUT' + Cause 'read' to time out and return failure if a complete line + of input (or a specified number of characters) is not read + within TIMEOUT seconds. TIMEOUT may be a decimal number with + a fractional portion following the decimal point. This option + is only effective if 'read' is reading input from a terminal, + pipe, or other special file; it has no effect when reading + from regular files. If 'read' times out, 'read' saves any + partial input read into the specified variable NAME. If + TIMEOUT is 0, 'read' returns immediately, without trying to + read and data. The exit status is 0 if input is available on + the specified file descriptor, non-zero otherwise. The exit + status is greater than 128 if the timeout is exceeded. + + '-u FD' + Read input from file descriptor FD. + +'readarray' + readarray [-d DELIM] [-n COUNT] [-O ORIGIN] [-s COUNT] [-t] [-u FD] + [-C CALLBACK] [-c QUANTUM] [ARRAY] + + Read lines from the standard input into the indexed array variable + ARRAY, or from file descriptor FD if the '-u' option is supplied. + + A synonym for 'mapfile'. + +'source' + source FILENAME + + A synonym for '.' (*note Bourne Shell Builtins::). + +'type' + type [-afptP] [NAME ...] + + For each NAME, indicate how it would be interpreted if used as a + command name. + + If the '-t' option is used, 'type' prints a single word which is + one of 'alias', 'function', 'builtin', 'file' or 'keyword', if NAME + is an alias, shell function, shell builtin, disk file, or shell + reserved word, respectively. If the NAME is not found, then + nothing is printed, and 'type' returns a failure status. + + If the '-p' option is used, 'type' either returns the name of the + disk file that would be executed, or nothing if '-t' would not + return 'file'. + + The '-P' option forces a path search for each NAME, even if '-t' + would not return 'file'. + + If a command is hashed, '-p' and '-P' print the hashed value, which + is not necessarily the file that appears first in '$PATH'. + + If the '-a' option is used, 'type' returns all of the places that + contain an executable named FILE. This includes aliases and + functions, if and only if the '-p' option is not also used. + + If the '-f' option is used, 'type' does not attempt to find shell + functions, as with the 'command' builtin. + + The return status is zero if all of the NAMES are found, non-zero + if any are not found. + +'typeset' + typeset [-afFgrxilnrtux] [-p] [NAME[=VALUE] ...] + + The 'typeset' command is supplied for compatibility with the Korn + shell. It is a synonym for the 'declare' builtin command. + +'ulimit' + ulimit [-HSabcdefiklmnpqrstuvxPT] [LIMIT] + + 'ulimit' provides control over the resources available to processes + started by the shell, on systems that allow such control. If an + option is given, it is interpreted as follows: + + '-S' + Change and report the soft limit associated with a resource. + + '-H' + Change and report the hard limit associated with a resource. + + '-a' + All current limits are reported. + + '-b' + The maximum 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 that may be allocated. + + '-l' + The maximum size that may be locked into memory. + + '-m' + The maximum resident set size (many systems do not honor this + limit). + + '-n' + The maximum number of open file descriptors (most systems do + not allow this value to be set). + + '-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 processes available to a single user. + + '-v' + The maximum amount of virtual memory available to the shell, + and, on some systems, to its children. + + '-x' + The maximum number of file locks. + + '-P' + The maximum number of pseudoterminals. + + '-T' + The maximum number of threads. + + If LIMIT is given, and the '-a' option is not used, LIMIT is the + new value of the specified resource. The special LIMIT values + 'hard', 'soft', and 'unlimited' stand for the current hard limit, + the current soft limit, and no limit, respectively. A hard limit + cannot be increased by a non-root user once it is set; a soft limit + may be increased up to the value of the hard limit. Otherwise, the + current value of the soft limit for the specified resource is + printed, unless the '-H' option is supplied. When setting new + limits, if neither '-H' nor '-S' is supplied, both the hard and + soft limits are set. 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 units of 512-byte blocks; '-P', '-T', + '-b', '-k', '-n' and '-u', which are unscaled values; and, when in + POSIX Mode (*note Bash POSIX Mode::), '-c' and '-f', which are in + 512-byte increments. + + The return status is zero unless an invalid option or argument is + supplied, or an error occurs while setting a new limit. + +'unalias' + unalias [-a] [NAME ... ] + + Remove each NAME from the list of aliases. If '-a' is supplied, + all aliases are removed. Aliases are described in *note Aliases::. + + +File: bash.info, Node: Modifying Shell Behavior, Next: Special Builtins, Prev: Bash Builtins, Up: Shell Builtin Commands + +4.3 Modifying Shell Behavior +============================ + +* Menu: + +* The Set Builtin:: Change the values of shell attributes and + positional parameters. +* The Shopt Builtin:: Modify shell optional behavior. + + +File: bash.info, Node: The Set Builtin, Next: The Shopt Builtin, Up: Modifying Shell Behavior + +4.3.1 The Set Builtin +--------------------- + +This builtin is so complicated that it deserves its own section. 'set' +allows you to change the values of shell options and set the positional +parameters, or to display the names and values of shell variables. + +'set' + set [--abefhkmnptuvxBCEHPT] [-o OPTION-NAME] [ARGUMENT ...] + set [+abefhkmnptuvxBCEHPT] [+o OPTION-NAME] [ARGUMENT ...] + + If no options or arguments are supplied, 'set' displays the names + and values of all shell variables and functions, sorted according + to the current locale, in a format that may be reused as input for + setting or resetting the currently-set variables. Read-only + variables cannot be reset. In POSIX mode, only shell variables are + listed. + + When options are supplied, they set or unset shell attributes. + Options, if specified, have the following meanings: + + '-a' + Each variable or function that is created or modified is given + the export attribute and marked for export to the environment + of subsequent commands. + + '-b' + Cause the status of terminated background jobs to be reported + immediately, rather than before printing the next primary + prompt. + + '-e' + Exit immediately if a pipeline (*note Pipelines::), which may + consist of a single simple command (*note Simple Commands::), + a list (*note Lists::), or a compound command (*note Compound + Commands::) returns a non-zero status. The shell does not + exit if the command that fails is part of the command list + immediately following a 'while' or 'until' keyword, part of + the test in an 'if' statement, part of any command executed in + a '&&' or '||' list except the command following the final + '&&' or '||', any command in a pipeline but the last, or if + the command's return status is being inverted with '!'. If a + compound command other than a subshell returns a non-zero + status because a command failed while '-e' was being ignored, + the shell does not exit. A trap on 'ERR', if set, is executed + before the shell exits. + + This option applies to the shell environment and each subshell + environment separately (*note Command Execution + Environment::), and may cause subshells to exit before + executing all the commands in the subshell. + + If a compound command or shell function executes in a context + where '-e' is being ignored, none of the commands executed + within the compound command or function body will be affected + by the '-e' setting, even if '-e' is set and a command returns + a failure status. If a compound command or shell function + sets '-e' while executing in a context where '-e' is ignored, + that setting will not have any effect until the compound + command or the command containing the function call completes. + + '-f' + Disable filename expansion (globbing). + + '-h' + Locate and remember (hash) commands as they are looked up for + execution. This option is enabled by default. + + '-k' + All arguments in the form of assignment statements are placed + in the environment for a command, not just those that precede + the command name. + + '-m' + Job control is enabled (*note Job Control::). All processes + run in a separate process group. When a background job + completes, the shell prints a line containing its exit status. + + '-n' + Read commands but do not execute them. This may be used to + check a script for syntax errors. This option is ignored by + interactive shells. + + '-o OPTION-NAME' + + Set the option corresponding to OPTION-NAME: + + 'allexport' + Same as '-a'. + + 'braceexpand' + Same as '-B'. + + 'emacs' + Use an 'emacs'-style line editing interface (*note + Command Line Editing::). This also affects the editing + interface used for 'read -e'. + + 'errexit' + Same as '-e'. + + 'errtrace' + Same as '-E'. + + 'functrace' + Same as '-T'. + + 'hashall' + Same as '-h'. + + 'histexpand' + Same as '-H'. + + 'history' + Enable command history, as described in *note Bash + History Facilities::. This option is on by default in + interactive shells. + + 'ignoreeof' + An interactive shell will not exit upon reading EOF. + + 'keyword' + Same as '-k'. + + 'monitor' + Same as '-m'. + + 'noclobber' + Same as '-C'. + + 'noexec' + Same as '-n'. + + 'noglob' + Same as '-f'. + + 'nolog' + Currently ignored. + + 'notify' + Same as '-b'. + + 'nounset' + Same as '-u'. + + 'onecmd' + Same as '-t'. + + 'physical' + Same as '-P'. + + 'pipefail' + If set, the return value of a pipeline is the value of + the last (rightmost) command to exit with a non-zero + status, or zero if all commands in the pipeline exit + successfully. This option is disabled by default. + + 'posix' + Change the behavior of Bash where the default operation + differs from the POSIX standard to match the standard + (*note Bash POSIX Mode::). This is intended to make Bash + behave as a strict superset of that standard. + + 'privileged' + Same as '-p'. + + 'verbose' + Same as '-v'. + + 'vi' + Use a 'vi'-style line editing interface. This also + affects the editing interface used for 'read -e'. + + 'xtrace' + Same as '-x'. + + '-p' + Turn on privileged mode. In this mode, the '$BASH_ENV' and + '$ENV' files are not processed, shell functions are not + inherited from the environment, and the 'SHELLOPTS', + 'BASHOPTS', 'CDPATH' and 'GLOBIGNORE' variables, if they + appear in the environment, are ignored. If the shell is + started with the effective user (group) id not equal to the + real user (group) id, and the '-p' option is not supplied, + these actions are taken and the effective user id is set to + the real user id. If the '-p' option is supplied at startup, + the effective user id is not reset. Turning this option off + causes the effective user and group ids to be set to the real + user and group ids. + + '-t' + Exit after reading and executing one command. + + '-u' + Treat unset variables and parameters other than the special + parameters '@' or '*' as an error when performing parameter + expansion. An error message will be written to the standard + error, and a non-interactive shell will exit. + + '-v' + Print shell input lines as they are read. + + '-x' + Print a trace of simple commands, 'for' commands, 'case' + commands, 'select' commands, and arithmetic 'for' commands and + their arguments or associated word lists after they are + expanded and before they are executed. The value of the 'PS4' + variable is expanded and the resultant value is printed before + the command and its expanded arguments. + + '-B' + The shell will perform brace expansion (*note Brace + Expansion::). This option is on by default. + + '-C' + Prevent output redirection using '>', '>&', and '<>' from + overwriting existing files. + + '-E' + If set, any trap on 'ERR' is inherited by shell functions, + command substitutions, and commands executed in a subshell + environment. The 'ERR' trap is normally not inherited in such + cases. + + '-H' + Enable '!' style history substitution (*note History + Interaction::). This option is on by default for interactive + shells. + + '-P' + If set, do not resolve symbolic links when performing commands + such as 'cd' which change the current directory. The physical + directory is used instead. By default, Bash follows the + logical chain of directories when performing commands which + change the current directory. + + For example, if '/usr/sys' is a symbolic link to + '/usr/local/sys' then: + $ cd /usr/sys; echo $PWD + /usr/sys + $ cd ..; pwd + /usr + + If 'set -P' is on, then: + $ cd /usr/sys; echo $PWD + /usr/local/sys + $ cd ..; pwd + /usr/local + + '-T' + If set, any trap on 'DEBUG' and 'RETURN' are inherited by + shell functions, command substitutions, and commands executed + in a subshell environment. The 'DEBUG' and 'RETURN' traps are + normally not inherited in such cases. + + '--' + If no arguments follow this option, then the positional + parameters are unset. Otherwise, the positional parameters + are set to the ARGUMENTS, even if some of them begin with a + '-'. + + '-' + Signal the end of options, cause all remaining ARGUMENTS to be + assigned to the positional parameters. The '-x' and '-v' + options are turned off. If there are no arguments, the + positional parameters remain unchanged. + + Using '+' rather than '-' causes these options to be turned off. + The options can also be used upon invocation of the shell. The + current set of options may be found in '$-'. + + The remaining N ARGUMENTS are positional parameters and are + assigned, in order, to '$1', '$2', ... '$N'. The special parameter + '#' is set to N. + + The return status is always zero unless an invalid option is + supplied. + + +File: bash.info, Node: The Shopt Builtin, Prev: The Set Builtin, Up: Modifying Shell Behavior + +4.3.2 The Shopt Builtin +----------------------- + +This builtin allows you to change additional shell optional behavior. + +'shopt' + shopt [-pqsu] [-o] [OPTNAME ...] + + Toggle the values of settings controlling optional shell behavior. + The settings can be either those listed below, or, if the '-o' + option is used, those available with the '-o' option to the 'set' + builtin command (*note The Set Builtin::). With no options, or + with the '-p' option, a list of all settable options is displayed, + with an indication of whether or not each is set. The '-p' option + causes output to be displayed in a form that may be reused as + input. Other options have the following meanings: + + '-s' + Enable (set) each OPTNAME. + + '-u' + Disable (unset) each OPTNAME. + + '-q' + Suppresses normal output; the return status indicates whether + the OPTNAME is set or unset. If multiple OPTNAME arguments + are given with '-q', the return status is zero if all OPTNAMES + are enabled; non-zero otherwise. + + '-o' + Restricts the values of OPTNAME to be those defined for the + '-o' option to the 'set' builtin (*note The Set Builtin::). + + If either '-s' or '-u' is used with no OPTNAME arguments, 'shopt' + shows only those options which are set or unset, respectively. + + Unless otherwise noted, the 'shopt' options are disabled (off) by + default. + + The return status when listing options is zero if all OPTNAMES are + enabled, non-zero otherwise. When setting or unsetting options, + the return status is zero unless an OPTNAME is not a valid shell + option. + + The list of 'shopt' options is: + + 'autocd' + If set, a command name that is the name of a directory is + executed as if it were the argument to the 'cd' command. This + option is only used by interactive shells. + + 'cdable_vars' + If this is set, an argument to the 'cd' builtin command that + is not a directory is assumed to be the name of a variable + whose value is the directory to change to. + + 'cdspell' + If set, minor errors in the spelling of a directory component + in a 'cd' command will be corrected. The errors checked for + are transposed characters, a missing character, and a + character too many. If a correction is found, the corrected + path is printed, and the command proceeds. This option is + only used by interactive shells. + + 'checkhash' + If this is set, Bash checks that a command found in the hash + table exists before trying to execute it. If a hashed command + no longer exists, a normal path search is performed. + + 'checkjobs' + If set, Bash lists the status of any stopped and running jobs + before exiting an interactive shell. If any jobs are running, + this causes the exit to be deferred until a second exit is + attempted without an intervening command (*note Job + Control::). The shell always postpones exiting if any jobs + are stopped. + + 'checkwinsize' + If set, Bash checks the window size after each command and, if + necessary, updates the values of 'LINES' and 'COLUMNS'. + + 'cmdhist' + If set, Bash attempts to save all lines of a multiple-line + command in the same history entry. This allows easy + re-editing of multi-line commands. + + 'compat31' + If set, Bash changes its behavior to that of version 3.1 with + respect to quoted arguments to the conditional command's '=~' + operator and with respect to locale-specific string comparison + when using the '[[' conditional command's '<' and '>' + operators. Bash versions prior to bash-4.1 use ASCII + collation and strcmp(3); bash-4.1 and later use the current + locale's collation sequence and strcoll(3). + + 'compat32' + If set, Bash changes its behavior to that of version 3.2 with + respect to locale-specific string comparison when using the + '[[' conditional command's '<' and '>' operators (see previous + item) and the effect of interrupting a command list. Bash + versions 3.2 and earlier continue with the next command in the + list after one terminates due to an interrupt. + + 'compat40' + If set, Bash changes its behavior to that of version 4.0 with + respect to locale-specific string comparison when using the + '[[' conditional command's '<' and '>' operators (see + description of 'compat31') and the effect of interrupting a + command list. Bash versions 4.0 and later interrupt the list + as if the shell received the interrupt; previous versions + continue with the next command in the list. + + 'compat41' + If set, Bash, when in POSIX mode, treats a single quote in a + double-quoted parameter expansion as a special character. The + single quotes must match (an even number) and the characters + between the single quotes are considered quoted. This is the + behavior of POSIX mode through version 4.1. The default Bash + behavior remains as in previous versions. + + 'compat42' + If set, Bash does not process the replacement string in the + pattern substitution word expansion using quote removal. + + 'compat43' + If set, Bash does not print a warning message if an attempt is + made to use a quoted compound array assignment as an argument + to 'declare', makes word expansion errors non-fatal errors + that cause the current command to fail (the default behavior + is to make them fatal errors that cause the shell to exit), + and does not reset the loop state when a shell function is + executed (this allows 'break' or 'continue' in a shell + function to affect loops in the caller's context). + + 'complete_fullquote' + If set, Bash quotes all shell metacharacters in filenames and + directory names when performing completion. If not set, Bash + removes metacharacters such as the dollar sign from the set of + characters that will be quoted in completed filenames when + these metacharacters appear in shell variable references in + words to be completed. This means that dollar signs in + variable names that expand to directories will not be quoted; + however, any dollar signs appearing in filenames will not be + quoted, either. This is active only when bash is using + backslashes to quote completed filenames. This variable is + set by default, which is the default Bash behavior in versions + through 4.2. + + 'direxpand' + If set, Bash replaces directory names with the results of word + expansion when performing filename completion. This changes + the contents of the readline editing buffer. If not set, Bash + attempts to preserve what the user typed. + + 'dirspell' + If set, Bash attempts spelling correction on directory names + during word completion if the directory name initially + supplied does not exist. + + 'dotglob' + If set, Bash includes filenames beginning with a '.' in the + results of filename expansion. + + 'execfail' + If this is set, a non-interactive shell will not exit if it + cannot execute the file specified as an argument to the 'exec' + builtin command. An interactive shell does not exit if 'exec' + fails. + + 'expand_aliases' + If set, aliases are expanded as described below under Aliases, + *note Aliases::. This option is enabled by default for + interactive shells. + + 'extdebug' + If set at shell invocation, arrange to execute the debugger + profile before the shell starts, identical to the '--debugger' + option. If set after invocation, behavior intended for use by + debuggers is enabled: + + 1. The '-F' option to the 'declare' builtin (*note Bash + Builtins::) displays the source file name and line number + corresponding to each function name supplied as an + argument. + + 2. If the command run by the 'DEBUG' trap returns a non-zero + value, the next command is skipped and not executed. + + 3. If the command run by the 'DEBUG' trap returns a value of + 2, and the shell is executing in a subroutine (a shell + function or a shell script executed by the '.' or + 'source' builtins), the shell simulates a call to + 'return'. + + 4. 'BASH_ARGC' and 'BASH_ARGV' are updated as described in + their descriptions (*note Bash Variables::). + + 5. Function tracing is enabled: command substitution, shell + functions, and subshells invoked with '( COMMAND )' + inherit the 'DEBUG' and 'RETURN' traps. + + 6. Error tracing is enabled: command substitution, shell + functions, and subshells invoked with '( COMMAND )' + inherit the 'ERR' trap. + + 'extglob' + If set, the extended pattern matching features described above + (*note Pattern Matching::) are enabled. + + 'extquote' + If set, '$'STRING'' and '$"STRING"' quoting is performed + within '${PARAMETER}' expansions enclosed in double quotes. + This option is enabled by default. + + 'failglob' + If set, patterns which fail to match filenames during filename + expansion result in an expansion error. + + 'force_fignore' + If set, the suffixes specified by the 'FIGNORE' shell variable + cause words to be ignored when performing word completion even + if the ignored words are the only possible completions. *Note + Bash Variables::, for a description of 'FIGNORE'. This option + is enabled by default. + + 'globasciiranges' + If set, range expressions used in pattern matching bracket + expressions (*note Pattern Matching::) behave as if in the + traditional C locale when performing comparisons. That is, + the current locale's collating sequence is not taken into + account, so 'b' will not collate between 'A' and 'B', and + upper-case and lower-case ASCII characters will collate + together. + + 'globstar' + If set, the pattern '**' used in a filename expansion context + will match all files and zero or more directories and + subdirectories. If the pattern is followed by a '/', only + directories and subdirectories match. + + 'gnu_errfmt' + If set, shell error messages are written in the standard GNU + error message format. + + 'histappend' + If set, the history list is appended to the file named by the + value of the 'HISTFILE' variable when the shell exits, rather + than overwriting the file. + + 'histreedit' + If set, and Readline is being used, a user is given the + opportunity to re-edit a failed history substitution. + + 'histverify' + If set, and Readline is being used, the results of history + substitution are not immediately passed to the shell parser. + Instead, the resulting line is loaded into the Readline + editing buffer, allowing further modification. + + 'hostcomplete' + If set, and Readline is being used, Bash will attempt to + perform hostname completion when a word containing a '@' is + being completed (*note Commands For Completion::). This + option is enabled by default. + + 'huponexit' + If set, Bash will send 'SIGHUP' to all jobs when an + interactive login shell exits (*note Signals::). + + 'inherit_errexit' + If set, command substitution inherits the value of the + 'errexit' option, instead of unsetting it in the subshell + environment. This option is enabled when POSIX mode is + enabled. + + 'interactive_comments' + Allow a word beginning with '#' to cause that word and all + remaining characters on that line to be ignored in an + interactive shell. This option is enabled by default. + + 'lastpipe' + If set, and job control is not active, the shell runs the last + command of a pipeline not executed in the background in the + current shell environment. + + 'lithist' + If enabled, and the 'cmdhist' option is enabled, multi-line + commands are saved to the history with embedded newlines + rather than using semicolon separators where possible. + + 'login_shell' + The shell sets this option if it is started as a login shell + (*note Invoking Bash::). The value may not be changed. + + 'mailwarn' + If set, and a file that Bash is checking for mail has been + accessed since the last time it was checked, the message '"The + mail in MAILFILE has been read"' is displayed. + + 'no_empty_cmd_completion' + If set, and Readline is being used, Bash will not attempt to + search the 'PATH' for possible completions when completion is + attempted on an empty line. + + 'nocaseglob' + If set, Bash matches filenames in a case-insensitive fashion + when performing filename expansion. + + 'nocasematch' + If set, Bash matches patterns in a case-insensitive fashion + when performing matching while executing 'case' or '[[' + conditional commands, when performing pattern substitution + word expansions, or when filtering possible completions as + part of programmable completion. + + 'nullglob' + If set, Bash allows filename patterns which match no files to + expand to a null string, rather than themselves. + + 'progcomp' + If set, the programmable completion facilities (*note + Programmable Completion::) are enabled. This option is + enabled by default. + + 'promptvars' + If set, prompt strings undergo parameter expansion, command + substitution, arithmetic expansion, and quote removal after + being expanded as described below (*note Controlling the + Prompt::). This option is enabled by default. + + 'restricted_shell' + The shell sets this option if it is started in restricted mode + (*note The Restricted Shell::). The value may not be changed. + This is not reset when the startup files are executed, + allowing the startup files to discover whether or not a shell + is restricted. + + 'shift_verbose' + If this is set, the 'shift' builtin prints an error message + when the shift count exceeds the number of positional + parameters. + + 'sourcepath' + If set, the 'source' builtin uses the value of 'PATH' to find + the directory containing the file supplied as an argument. + This option is enabled by default. + + 'xpg_echo' + If set, the 'echo' builtin expands backslash-escape sequences + by default. + + The return status when listing options is zero if all OPTNAMES are + enabled, non-zero otherwise. When setting or unsetting options, + the return status is zero unless an OPTNAME is not a valid shell + option. + + +File: bash.info, Node: Special Builtins, Prev: Modifying Shell Behavior, Up: Shell Builtin Commands + +4.4 Special Builtins +==================== + +For historical reasons, the POSIX standard has classified several +builtin commands as _special_. When Bash is executing in POSIX mode, +the special builtins differ from other builtin commands in three +respects: + + 1. Special builtins are found before shell functions during command + lookup. + + 2. If a special builtin returns an error status, a non-interactive + shell exits. + + 3. Assignment statements preceding the command stay in effect in the + shell environment after the command completes. + + When Bash is not executing in POSIX mode, these builtins behave no +differently than the rest of the Bash builtin commands. The Bash POSIX +mode is described in *note Bash POSIX Mode::. + + These are the POSIX special builtins: + break : . continue eval exec exit export readonly return set + shift trap unset + + +File: bash.info, Node: Shell Variables, Next: Bash Features, Prev: Shell Builtin Commands, Up: Top + +5 Shell Variables +***************** + +* Menu: + +* Bourne Shell Variables:: Variables which Bash uses in the same way + as the Bourne Shell. +* Bash Variables:: List of variables that exist in Bash. + +This chapter describes the shell variables that Bash uses. Bash +automatically assigns default values to a number of variables. + + +File: bash.info, Node: Bourne Shell Variables, Next: Bash Variables, Up: Shell Variables + +5.1 Bourne Shell Variables +========================== + +Bash uses certain shell variables in the same way as the Bourne shell. +In some cases, Bash assigns a default value to the variable. + +'CDPATH' + A colon-separated list of directories used as a search path for the + 'cd' builtin command. + +'HOME' + The current user's home directory; the default for the 'cd' builtin + command. The value of this variable is also used by tilde + expansion (*note Tilde Expansion::). + +'IFS' + A list of characters that separate fields; used when the shell + splits words as part of expansion. + +'MAIL' + If this parameter is set to a filename or directory name and the + 'MAILPATH' variable is not set, Bash informs the user of the + arrival of mail in the specified file or Maildir-format directory. + +'MAILPATH' + A colon-separated list of filenames which the shell periodically + checks for new mail. Each list entry can specify the message that + is printed when new mail arrives in the mail file by separating the + filename from the message with a '?'. When used in the text of the + message, '$_' expands to the name of the current mail file. + +'OPTARG' + The value of the last option argument processed by the 'getopts' + builtin. + +'OPTIND' + The index of the last option argument processed by the 'getopts' + builtin. + +'PATH' + A colon-separated list of directories in which the shell looks for + commands. A zero-length (null) directory name in the value of + 'PATH' indicates the current directory. A null directory name may + appear as two adjacent colons, or as an initial or trailing colon. + +'PS1' + The primary prompt string. The default value is '\s-\v\$ '. *Note + Controlling the Prompt::, for the complete list of escape sequences + that are expanded before 'PS1' is displayed. + +'PS2' + The secondary prompt string. The default value is '> '. + + +File: bash.info, Node: Bash Variables, Prev: Bourne Shell Variables, Up: Shell Variables + +5.2 Bash Variables +================== + +These variables are set or used by Bash, but other shells do not +normally treat them specially. + + A few variables used by Bash are described in different chapters: +variables for controlling the job control facilities (*note Job Control +Variables::). + +'BASH' + The full pathname used to execute the current instance of Bash. + +'BASHOPTS' + A colon-separated list of enabled shell options. Each word in the + list is a valid argument for the '-s' option to the 'shopt' builtin + command (*note The Shopt Builtin::). The options appearing in + 'BASHOPTS' are those reported as 'on' by 'shopt'. If this variable + is in the environment when Bash starts up, each shell option in the + list will be enabled before reading any startup files. This + variable is readonly. + +'BASHPID' + Expands to the process ID of the current Bash process. This + differs from '$$' under certain circumstances, such as subshells + that do not require Bash to be re-initialized. + +'BASH_ALIASES' + An associative array variable whose members correspond to the + internal list of aliases as maintained by the 'alias' builtin. + (*note Bourne Shell Builtins::). Elements added to this array + appear in the alias list; however, unsetting array elements + currently does not cause aliases to be removed from the alias list. + If 'BASH_ALIASES' is unset, it loses its special properties, even + if it is subsequently reset. + +'BASH_ARGC' + An array variable whose values are the number of parameters in each + frame of the current bash execution call stack. The number of + parameters to the current subroutine (shell function or script + executed with '.' or 'source') is at the top of the stack. When a + subroutine is executed, the number of parameters passed is pushed + onto 'BASH_ARGC'. The shell sets 'BASH_ARGC' only when in extended + debugging mode (see *note The Shopt Builtin:: for a description of + the 'extdebug' option to the 'shopt' builtin). + +'BASH_ARGV' + An array variable containing all of the parameters in the current + bash execution call stack. The final parameter of the last + subroutine call is at the top of the stack; the first parameter of + the initial call is at the bottom. When a subroutine is executed, + the parameters supplied are pushed onto 'BASH_ARGV'. The shell + sets 'BASH_ARGV' only when in extended debugging mode (see *note + The Shopt Builtin:: for a description of the 'extdebug' option to + the 'shopt' builtin). + +'BASH_CMDS' + An associative array variable whose members correspond to the + internal hash table of commands as maintained by the 'hash' builtin + (*note Bourne Shell Builtins::). Elements added to this array + appear in the hash table; however, unsetting array elements + currently does not cause command names to be removed from the hash + table. If 'BASH_CMDS' is unset, it loses its special properties, + even if it is subsequently reset. + +'BASH_COMMAND' + The command currently being executed or about to be executed, + unless the shell is executing a command as the result of a trap, in + which case it is the command executing at the time of the trap. + +'BASH_COMPAT' + The value is used to set the shell's compatibility level. *Note + The Shopt Builtin::, for a description of the various compatibility + levels and their effects. The value may be a decimal number (e.g., + 4.2) or an integer (e.g., 42) corresponding to the desired + compatibility level. If 'BASH_COMPAT' is unset or set to the empty + string, the compatibility level is set to the default for the + current version. If 'BASH_COMPAT' is set to a value that is not + one of the valid compatibility levels, the shell prints an error + message and sets the compatibility level to the default for the + current version. The valid compatibility levels correspond to the + compatibility options accepted by the 'shopt' builtin described + above (for example, COMPAT42 means that 4.2 and 42 are valid + values). The current version is also a valid value. + +'BASH_ENV' + If this variable is set when Bash is invoked to execute a shell + script, its value is expanded and used as the name of a startup + file to read before executing the script. *Note Bash Startup + Files::. + +'BASH_EXECUTION_STRING' + The command argument to the '-c' invocation option. + +'BASH_LINENO' + An array variable whose members are the line numbers in source + files where each corresponding member of FUNCNAME was invoked. + '${BASH_LINENO[$i]}' is the line number in the source file + ('${BASH_SOURCE[$i+1]}') where '${FUNCNAME[$i]}' was called (or + '${BASH_LINENO[$i-1]}' if referenced within another shell + function). Use 'LINENO' to obtain the current line number. + +'BASH_LOADABLES_PATH' + A colon-separated list of directories in which the shell looks for + dynamically loadable builtins specified by the 'enable' command. + +'BASH_REMATCH' + An array variable whose members are assigned by the '=~' binary + operator to the '[[' conditional command (*note Conditional + Constructs::). The element with index 0 is the portion of the + string matching the entire regular expression. The element with + index N is the portion of the string matching the Nth parenthesized + subexpression. This variable is read-only. + +'BASH_SOURCE' + An array variable whose members are the source filenames where the + corresponding shell function names in the 'FUNCNAME' array variable + are defined. The shell function '${FUNCNAME[$i]}' is defined in + the file '${BASH_SOURCE[$i]}' and called from + '${BASH_SOURCE[$i+1]}' + +'BASH_SUBSHELL' + Incremented by one within each subshell or subshell environment + when the shell begins executing in that environment. The initial + value is 0. + +'BASH_VERSINFO' + A readonly array variable (*note Arrays::) whose members hold + version information for this instance of Bash. The values assigned + to the array members are as follows: + + 'BASH_VERSINFO[0]' + The major version number (the RELEASE). + + 'BASH_VERSINFO[1]' + The minor version number (the VERSION). + + 'BASH_VERSINFO[2]' + The patch level. + + 'BASH_VERSINFO[3]' + The build version. + + 'BASH_VERSINFO[4]' + The release status (e.g., BETA1). + + 'BASH_VERSINFO[5]' + The value of 'MACHTYPE'. + +'BASH_VERSION' + The version number of the current instance of Bash. + +'BASH_XTRACEFD' + If set to an integer corresponding to a valid file descriptor, Bash + will write the trace output generated when 'set -x' is enabled to + that file descriptor. This allows tracing output to be separated + from diagnostic and error messages. The file descriptor is closed + when 'BASH_XTRACEFD' is unset or assigned a new value. Unsetting + 'BASH_XTRACEFD' or assigning it the empty string causes the trace + output to be sent to the standard error. Note that setting + 'BASH_XTRACEFD' to 2 (the standard error file descriptor) and then + unsetting it will result in the standard error being closed. + +'CHILD_MAX' + Set the number of exited child status values for the shell to + remember. Bash will not allow this value to be decreased below a + POSIX-mandated minimum, and there is a maximum value (currently + 8192) that this may not exceed. The minimum value is + system-dependent. + +'COLUMNS' + Used by the 'select' command to determine the terminal width when + printing selection lists. Automatically set if the 'checkwinsize' + option is enabled (*note The Shopt Builtin::), or in an interactive + shell upon receipt of a 'SIGWINCH'. + +'COMP_CWORD' + An index into '${COMP_WORDS}' of the word containing the current + cursor position. This variable is available only in shell + functions invoked by the programmable completion facilities (*note + Programmable Completion::). + +'COMP_LINE' + The current command line. This variable is available only in shell + functions and external commands invoked by the programmable + completion facilities (*note Programmable Completion::). + +'COMP_POINT' + The index of the current cursor position relative to the beginning + of the current command. If the current cursor position is at the + end of the current command, the value of this variable is equal to + '${#COMP_LINE}'. This variable is available only in shell + functions and external commands invoked by the programmable + completion facilities (*note Programmable Completion::). + +'COMP_TYPE' + Set to an integer value corresponding to the type of completion + attempted that caused a completion function to be called: TAB, for + normal completion, '?', for listing completions after successive + tabs, '!', for listing alternatives on partial word completion, + '@', to list completions if the word is not unmodified, or '%', for + menu completion. This variable is available only in shell + functions and external commands invoked by the programmable + completion facilities (*note Programmable Completion::). + +'COMP_KEY' + The key (or final key of a key sequence) used to invoke the current + completion function. + +'COMP_WORDBREAKS' + The set of characters that the Readline library treats as word + separators when performing word completion. If 'COMP_WORDBREAKS' + is unset, it loses its special properties, even if it is + subsequently reset. + +'COMP_WORDS' + An array variable consisting of the individual words in the current + command line. The line is split into words as Readline would split + it, using 'COMP_WORDBREAKS' as described above. This variable is + available only in shell functions invoked by the programmable + completion facilities (*note Programmable Completion::). + +'COMPREPLY' + An array variable from which Bash reads the possible completions + generated by a shell function invoked by the programmable + completion facility (*note Programmable Completion::). Each array + element contains one possible completion. + +'COPROC' + An array variable created to hold the file descriptors for output + from and input to an unnamed coprocess (*note Coprocesses::). + +'DIRSTACK' + An array variable containing the current contents of the directory + stack. Directories appear in the stack in the order they are + displayed by the 'dirs' builtin. Assigning to members of this + array variable may be used to modify directories already in the + stack, but the 'pushd' and 'popd' builtins must be used to add and + remove directories. Assignment to this variable will not change + the current directory. If 'DIRSTACK' is unset, it loses its + special properties, even if it is subsequently reset. + +'EMACS' + If Bash finds this variable in the environment when the shell + starts with value 't', it assumes that the shell is running in an + Emacs shell buffer and disables line editing. + +'ENV' + Similar to 'BASH_ENV'; used when the shell is invoked in POSIX Mode + (*note Bash POSIX Mode::). + +'EUID' + The numeric effective user id of the current user. This variable + is readonly. + +'EXECIGNORE' + A colon-separated list of shell patterns (*note Pattern Matching::) + defining the list of filenames to be ignored by command search + using 'PATH'. Files whose full pathnames match one of these + patterns are not considered executable files for the purposes of + completion and command execution via 'PATH' lookup. This does not + affect the behavior of the '[', 'test', and '[[' commands. Full + pathnames in the command hash table are not subject to + 'EXECIGNORE'. Use this variable to ignore shared library files + that have the executable bit set, but are not executable files. + The pattern matching honors the setting of the 'extglob' shell + option. + +'FCEDIT' + The editor used as a default by the '-e' option to the 'fc' builtin + command. + +'FIGNORE' + A colon-separated list of suffixes to ignore when performing + filename completion. A filename whose suffix matches one of the + entries in 'FIGNORE' is excluded from the list of matched + filenames. A sample value is '.o:~' + +'FUNCNAME' + An array variable containing the names of all shell functions + currently in the execution call stack. The element with index 0 is + the name of any currently-executing shell function. The + bottom-most element (the one with the highest index) is '"main"'. + This variable exists only when a shell function is executing. + Assignments to 'FUNCNAME' have no effect. If 'FUNCNAME' is unset, + it loses its special properties, even if it is subsequently reset. + + This variable can be used with 'BASH_LINENO' and 'BASH_SOURCE'. + Each element of 'FUNCNAME' has corresponding elements in + 'BASH_LINENO' and 'BASH_SOURCE' to describe the call stack. For + instance, '${FUNCNAME[$i]}' was called from the file + '${BASH_SOURCE[$i+1]}' at line number '${BASH_LINENO[$i]}'. The + 'caller' builtin displays the current call stack using this + information. + +'FUNCNEST' + If set to a numeric value greater than 0, defines a maximum + function nesting level. Function invocations that exceed this + nesting level will cause the current command to abort. + +'GLOBIGNORE' + A colon-separated list of patterns defining the set of filenames to + be ignored by filename expansion. If a filename matched by a + filename expansion pattern also matches one of the patterns in + 'GLOBIGNORE', it is removed from the list of matches. The pattern + matching honors the setting of the 'extglob' shell option. + +'GROUPS' + An array variable containing the list of groups of which the + current user is a member. Assignments to 'GROUPS' have no effect. + If 'GROUPS' is unset, it loses its special properties, even if it + is subsequently reset. + +'histchars' + Up to three characters which control history expansion, quick + substitution, and tokenization (*note History Interaction::). The + first character is the HISTORY EXPANSION character, that is, the + character which signifies the start of a history expansion, + normally '!'. The second character is the character which + signifies 'quick substitution' when seen as the first character on + a line, normally '^'. The optional third character is the + character which indicates that the remainder of the line is a + comment when found as the first character of a word, usually '#'. + The history comment character causes history substitution to be + skipped for the remaining words on the line. It does not + necessarily cause the shell parser to treat the rest of the line as + a comment. + +'HISTCMD' + The history number, or index in the history list, of the current + command. If 'HISTCMD' is unset, it loses its special properties, + even if it is subsequently reset. + +'HISTCONTROL' + A colon-separated list of values controlling how commands are saved + on the history list. If the list of values includes 'ignorespace', + lines which begin with a space character are not saved in the + history list. A value of 'ignoredups' causes lines which match the + previous history entry to not be saved. A value of 'ignoreboth' is + shorthand for 'ignorespace' and 'ignoredups'. A value of + 'erasedups' causes all previous lines matching the current line to + be removed from the history list before that line is saved. Any + value not in the above list is ignored. If 'HISTCONTROL' is unset, + or does not include a valid value, all lines read by the shell + parser are saved on the history list, subject to the value of + 'HISTIGNORE'. The second and subsequent lines of a multi-line + compound command are not tested, and are added to the history + regardless of the value of 'HISTCONTROL'. + +'HISTFILE' + The name of the file to which the command history is saved. The + default value is '~/.bash_history'. + +'HISTFILESIZE' + The maximum number of lines contained in the history file. When + this variable is assigned a value, the history file is truncated, + if necessary, to contain no more than that number of lines by + removing the oldest entries. The history file is also truncated to + this size after writing it when a shell exits. If the value is 0, + the history file is truncated to zero size. Non-numeric values and + numeric values less than zero inhibit truncation. The shell sets + the default value to the value of 'HISTSIZE' after reading any + startup files. + +'HISTIGNORE' + A colon-separated list of patterns used to decide which command + lines should be saved on the history list. Each pattern is + anchored at the beginning of the line and must match the complete + line (no implicit '*' is appended). Each pattern is tested against + the line after the checks specified by 'HISTCONTROL' are applied. + In addition to the normal shell pattern matching characters, '&' + matches the previous history line. '&' may be escaped using a + backslash; the backslash is removed before attempting a match. The + second and subsequent lines of a multi-line compound command are + not tested, and are added to the history regardless of the value of + 'HISTIGNORE'. The pattern matching honors the setting of the + 'extglob' shell option. + + 'HISTIGNORE' subsumes the function of 'HISTCONTROL'. A pattern of + '&' is identical to 'ignoredups', and a pattern of '[ ]*' is + identical to 'ignorespace'. Combining these two patterns, + separating them with a colon, provides the functionality of + 'ignoreboth'. + +'HISTSIZE' + The maximum number of commands to remember on the history list. If + the value is 0, commands are not saved in the history list. + Numeric values less than zero result in every command being saved + on the history list (there is no limit). The shell sets the + default value to 500 after reading any startup files. + +'HISTTIMEFORMAT' + If this variable is set and not null, its value is used as a format + string for STRFTIME to print the time stamp associated with each + history entry displayed by the 'history' builtin. If this variable + is set, time stamps are written to the history file so they may be + preserved across shell sessions. This uses the history comment + character to distinguish timestamps from other history lines. + +'HOSTFILE' + Contains the name of a file in the same format as '/etc/hosts' that + should be read when the shell needs to complete a hostname. The + list of possible hostname completions may be changed while the + shell is running; the next time hostname completion is attempted + after the value is changed, Bash adds the contents of the new file + to the existing list. If 'HOSTFILE' is set, but has no value, or + does not name a readable file, Bash attempts to read '/etc/hosts' + to obtain the list of possible hostname completions. When + 'HOSTFILE' is unset, the hostname list is cleared. + +'HOSTNAME' + The name of the current host. + +'HOSTTYPE' + A string describing the machine Bash is running on. + +'IGNOREEOF' + Controls the action of the shell on receipt of an 'EOF' character + as the sole input. If set, the value denotes the number of + consecutive 'EOF' characters that can be read as the first + character on an input line before the shell will exit. If the + variable exists but does not have a numeric value (or has no value) + then the default is 10. If the variable does not exist, then 'EOF' + signifies the end of input to the shell. This is only in effect + for interactive shells. + +'INPUTRC' + The name of the Readline initialization file, overriding the + default of '~/.inputrc'. + +'LANG' + Used to determine the locale category for any category not + specifically selected with a variable starting with 'LC_'. + +'LC_ALL' + This variable overrides the value of 'LANG' and any other 'LC_' + variable specifying a locale category. + +'LC_COLLATE' + This variable determines the collation order used when sorting the + results of filename expansion, and determines the behavior of range + expressions, equivalence classes, and collating sequences within + filename expansion and pattern matching (*note Filename + Expansion::). + +'LC_CTYPE' + This variable determines the interpretation of characters and the + behavior of character classes within filename expansion and pattern + matching (*note Filename Expansion::). + +'LC_MESSAGES' + This variable determines the locale used to translate double-quoted + strings preceded by a '$' (*note Locale Translation::). + +'LC_NUMERIC' + This variable determines the locale category used for number + formatting. + +'LC_TIME' + This variable determines the locale category used for data and time + formatting. + +'LINENO' + The line number in the script or shell function currently + executing. + +'LINES' + Used by the 'select' command to determine the column length for + printing selection lists. Automatically set if the 'checkwinsize' + option is enabled (*note The Shopt Builtin::), or in an interactive + shell upon receipt of a 'SIGWINCH'. + +'MACHTYPE' + A string that fully describes the system type on which Bash is + executing, in the standard GNU CPU-COMPANY-SYSTEM format. + +'MAILCHECK' + How often (in seconds) that the shell should check for mail in the + files specified in the 'MAILPATH' or 'MAIL' variables. The default + is 60 seconds. When it is time to check for mail, the shell does + so before displaying the primary prompt. If this variable is + unset, or set to a value that is not a number greater than or equal + to zero, the shell disables mail checking. + +'MAPFILE' + An array variable created to hold the text read by the 'mapfile' + builtin when no variable name is supplied. + +'OLDPWD' + The previous working directory as set by the 'cd' builtin. + +'OPTERR' + If set to the value 1, Bash displays error messages generated by + the 'getopts' builtin command. + +'OSTYPE' + A string describing the operating system Bash is running on. + +'PIPESTATUS' + An array variable (*note Arrays::) containing a list of exit status + values from the processes in the most-recently-executed foreground + pipeline (which may contain only a single command). + +'POSIXLY_CORRECT' + If this variable is in the environment when Bash starts, the shell + enters POSIX mode (*note Bash POSIX Mode::) before reading the + startup files, as if the '--posix' invocation option had been + supplied. If it is set while the shell is running, Bash enables + POSIX mode, as if the command + set -o posix + had been executed. + +'PPID' + The process ID of the shell's parent process. This variable is + readonly. + +'PROMPT_COMMAND' + If set, the value is interpreted as a command to execute before the + printing of each primary prompt ('$PS1'). + +'PROMPT_DIRTRIM' + If set to a number greater than zero, the value is used as the + number of trailing directory components to retain when expanding + the '\w' and '\W' prompt string escapes (*note Controlling the + Prompt::). Characters removed are replaced with an ellipsis. + +'PS0' + The value of this parameter is expanded like PS1 and displayed by + interactive shells after reading a command and before the command + is executed. + +'PS3' + The value of this variable is used as the prompt for the 'select' + command. If this variable is not set, the 'select' command prompts + with '#? ' + +'PS4' + The value is the prompt printed before the command line is echoed + when the '-x' option is set (*note The Set Builtin::). The first + character of 'PS4' is replicated multiple times, as necessary, to + indicate multiple levels of indirection. The default is '+ '. + +'PWD' + The current working directory as set by the 'cd' builtin. + +'RANDOM' + Each time this parameter is referenced, a random integer between 0 + and 32767 is generated. Assigning a value to this variable seeds + the random number generator. + +'READLINE_LINE' + The contents of the Readline line buffer, for use with 'bind -x' + (*note Bash Builtins::). + +'READLINE_POINT' + The position of the insertion point in the Readline line buffer, + for use with 'bind -x' (*note Bash Builtins::). + +'REPLY' + The default variable for the 'read' builtin. + +'SECONDS' + This variable expands to the number of seconds since the shell was + started. Assignment to this variable resets the count to the value + assigned, and the expanded value becomes the value assigned plus + the number of seconds since the assignment. + +'SHELL' + The full pathname to the shell is kept in this environment + variable. If it is not set when the shell starts, Bash assigns to + it the full pathname of the current user's login shell. + +'SHELLOPTS' + A colon-separated list of enabled shell options. Each word in the + list is a valid argument for the '-o' option to the 'set' builtin + command (*note The Set Builtin::). The options appearing in + 'SHELLOPTS' are those reported as 'on' by 'set -o'. If this + variable is in the environment when Bash starts up, each shell + option in the list will be enabled before reading any startup + files. This variable is readonly. + +'SHLVL' + Incremented by one each time a new instance of Bash is started. + This is intended to be a count of how deeply your Bash shells are + nested. + +'TIMEFORMAT' + The value of this parameter is used as a format string specifying + how the timing information for pipelines prefixed with the 'time' + reserved word should be displayed. The '%' character introduces an + escape sequence that is expanded to a time value or other + information. The escape sequences and their meanings are as + follows; the braces denote optional portions. + + '%%' + A literal '%'. + + '%[P][l]R' + The elapsed time in seconds. + + '%[P][l]U' + The number of CPU seconds spent in user mode. + + '%[P][l]S' + The number of CPU seconds spent in system mode. + + '%P' + The CPU percentage, computed as (%U + %S) / %R. + + The optional P is a digit specifying the precision, the number of + fractional digits after a decimal point. A value of 0 causes no + decimal point or fraction to be output. At most three places after + the decimal point may be specified; values of P greater than 3 are + changed to 3. If P is not specified, the value 3 is used. + + The optional 'l' specifies a longer format, including minutes, of + the form MMmSS.FFs. The value of P determines whether or not the + fraction is included. + + If this variable is not set, Bash acts as if it had the value + $'\nreal\t%3lR\nuser\t%3lU\nsys\t%3lS' + If the value is null, no timing information is displayed. A + trailing newline is added when the format string is displayed. + +'TMOUT' + If set to a value greater than zero, 'TMOUT' is treated as the + default timeout for the 'read' builtin (*note Bash Builtins::). + The 'select' command (*note Conditional Constructs::) terminates if + input does not arrive after 'TMOUT' seconds when input is coming + from a terminal. + + In an interactive shell, the value is interpreted as the number of + seconds to wait for a line of input after issuing the primary + prompt. Bash terminates after waiting for that number of seconds + if a complete line of input does not arrive. + +'TMPDIR' + If set, Bash uses its value as the name of a directory in which + Bash creates temporary files for the shell's use. + +'UID' + The numeric real user id of the current user. This variable is + readonly. + + +File: bash.info, Node: Bash Features, Next: Job Control, Prev: Shell Variables, Up: Top + +6 Bash Features +*************** + +This chapter describes features unique to Bash. + +* Menu: + +* Invoking Bash:: Command line options that you can give + to Bash. +* Bash Startup Files:: When and how Bash executes scripts. +* Interactive Shells:: What an interactive shell is. +* Bash Conditional Expressions:: Primitives used in composing expressions for + the 'test' builtin. +* Shell Arithmetic:: Arithmetic on shell variables. +* Aliases:: Substituting one command for another. +* Arrays:: Array Variables. +* The Directory Stack:: History of visited directories. +* Controlling the Prompt:: Customizing the various prompt strings. +* The Restricted Shell:: A more controlled mode of shell execution. +* Bash POSIX Mode:: Making Bash behave more closely to what + the POSIX standard specifies. + + +File: bash.info, Node: Invoking Bash, Next: Bash Startup Files, Up: Bash Features + +6.1 Invoking Bash +================= + + bash [long-opt] [-ir] [-abefhkmnptuvxdBCDHP] [-o OPTION] [-O SHOPT_OPTION] [ARGUMENT ...] + bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o OPTION] [-O SHOPT_OPTION] -c STRING [ARGUMENT ...] + bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o OPTION] [-O SHOPT_OPTION] [ARGUMENT ...] + + All of the single-character options used with the 'set' builtin +(*note The Set Builtin::) can be used as options when the shell is +invoked. In addition, there are several multi-character options that +you can use. These options must appear on the command line before the +single-character options to be recognized. + +'--debugger' + Arrange for the debugger profile to be executed before the shell + starts. Turns on extended debugging mode (see *note The Shopt + Builtin:: for a description of the 'extdebug' option to the 'shopt' + builtin). + +'--dump-po-strings' + A list of all double-quoted strings preceded by '$' is printed on + the standard output in the GNU 'gettext' PO (portable object) file + format. Equivalent to '-D' except for the output format. + +'--dump-strings' + Equivalent to '-D'. + +'--help' + Display a usage message on standard output and exit successfully. + +'--init-file FILENAME' +'--rcfile FILENAME' + Execute commands from FILENAME (instead of '~/.bashrc') in an + interactive shell. + +'--login' + Equivalent to '-l'. + +'--noediting' + Do not use the GNU Readline library (*note Command Line Editing::) + to read command lines when the shell is interactive. + +'--noprofile' + Don't load the system-wide startup file '/etc/profile' or any of + the personal initialization files '~/.bash_profile', + '~/.bash_login', or '~/.profile' when Bash is invoked as a login + shell. + +'--norc' + Don't read the '~/.bashrc' initialization file in an interactive + shell. This is on by default if the shell is invoked as 'sh'. + +'--posix' + Change the behavior of Bash where the default operation differs + from the POSIX standard to match the standard. This is intended to + make Bash behave as a strict superset of that standard. *Note Bash + POSIX Mode::, for a description of the Bash POSIX mode. + +'--restricted' + Make the shell a restricted shell (*note The Restricted Shell::). + +'--verbose' + Equivalent to '-v'. Print shell input lines as they're read. + +'--version' + Show version information for this instance of Bash on the standard + output and exit successfully. + + There are several single-character options that may be supplied at +invocation which are not available with the 'set' builtin. + +'-c' + Read and execute commands from the first non-option argument + COMMAND_STRING, then exit. If there are arguments after the + COMMAND_STRING, the first argument is assigned to '$0' and any + remaining arguments are assigned to the positional parameters. The + assignment to '$0' sets the name of the shell, which is used in + warning and error messages. + +'-i' + Force the shell to run interactively. Interactive shells are + described in *note Interactive Shells::. + +'-l' + Make this shell act as if it had been directly invoked by login. + When the shell is interactive, this is equivalent to starting a + login shell with 'exec -l bash'. When the shell is not + interactive, the login shell startup files will be executed. 'exec + bash -l' or 'exec bash --login' will replace the current shell with + a Bash login shell. *Note Bash Startup Files::, for a description + of the special behavior of a login shell. + +'-r' + Make the shell a restricted shell (*note The Restricted Shell::). + +'-s' + If this option is present, or if no arguments remain after option + processing, then commands are read from the standard input. This + option allows the positional parameters to be set when invoking an + interactive shell. + +'-D' + A list of all double-quoted strings preceded by '$' is printed on + the standard output. These are the strings that are subject to + language translation when the current locale is not 'C' or 'POSIX' + (*note Locale Translation::). This implies the '-n' option; no + commands will be executed. + +'[-+]O [SHOPT_OPTION]' + SHOPT_OPTION is one of the shell options accepted by the 'shopt' + builtin (*note The Shopt Builtin::). If SHOPT_OPTION is present, + '-O' sets the value of that option; '+O' unsets it. If + SHOPT_OPTION is not supplied, the names and values of the shell + options accepted by 'shopt' are printed on the standard output. If + the invocation option is '+O', the output is displayed in a format + that may be reused as input. + +'--' + A '--' signals the end of options and disables further option + processing. Any arguments after the '--' are treated as filenames + and arguments. + + A _login_ shell is one whose first character of argument zero is '-', +or one invoked with the '--login' option. + + An _interactive_ shell is one started without non-option arguments, +unless '-s' is specified, without specifying the '-c' option, and whose +input and output are both connected to terminals (as determined by +'isatty(3)'), or one started with the '-i' option. *Note Interactive +Shells::, for more information. + + If arguments remain after option processing, and neither the '-c' nor +the '-s' option has been supplied, the first argument is assumed to be +the name of a file containing shell commands (*note Shell Scripts::). +When Bash is invoked in this fashion, '$0' is set to the name of the +file, and the positional parameters are set to the remaining arguments. +Bash reads and executes commands from this file, then exits. Bash's +exit status is the exit status of the last command executed in the +script. If no commands are executed, the exit status is 0. + + +File: bash.info, Node: Bash Startup Files, Next: Interactive Shells, Prev: Invoking Bash, Up: Bash Features + +6.2 Bash Startup Files +====================== + +This section describes how Bash executes its startup files. If any of +the files exist but cannot be read, Bash reports an error. Tildes are +expanded in filenames as described above under Tilde Expansion (*note +Tilde Expansion::). + + Interactive shells are described in *note Interactive Shells::. + +Invoked as an interactive login shell, or with '--login' +........................................................ + +When Bash is invoked as an interactive login shell, or as a +non-interactive shell with the '--login' option, it first reads and +executes commands from the file '/etc/profile', if that file exists. +After reading that file, it looks for '~/.bash_profile', +'~/.bash_login', and '~/.profile', in that order, and reads and executes +commands from the first one that exists and is readable. The +'--noprofile' option may be used when the shell is started to inhibit +this behavior. + + When an interactive login shell exits, or a non-interactive login +shell executes the 'exit' builtin command, Bash reads and executes +commands from the file '~/.bash_logout', if it exists. + +Invoked as an interactive non-login shell +......................................... + +When an interactive shell that is not a login shell is started, Bash +reads and executes commands from '~/.bashrc', if that file exists. This +may be inhibited by using the '--norc' option. The '--rcfile FILE' +option will force Bash to read and execute commands from FILE instead of +'~/.bashrc'. + + So, typically, your '~/.bash_profile' contains the line + if [ -f ~/.bashrc ]; then . ~/.bashrc; fi +after (or before) any login-specific initializations. + +Invoked non-interactively +......................... + +When Bash is started non-interactively, to run a shell script, for +example, it looks for the variable 'BASH_ENV' in the environment, +expands its value if it appears there, and uses the expanded value as +the name of a file to read and execute. Bash behaves as if the +following command were executed: + if [ -n "$BASH_ENV" ]; then . "$BASH_ENV"; fi +but the value of the 'PATH' variable is not used to search for the +filename. + + As noted above, if a non-interactive shell is invoked with the +'--login' option, Bash attempts to read and execute commands from the +login shell startup files. + +Invoked with name 'sh' +...................... + +If Bash is invoked with the name 'sh', it tries to mimic the startup +behavior of historical versions of 'sh' as closely as possible, while +conforming to the POSIX standard as well. + + When invoked as an interactive login shell, or as a non-interactive +shell with the '--login' option, it first attempts to read and execute +commands from '/etc/profile' and '~/.profile', in that order. The +'--noprofile' option may be used to inhibit this behavior. When invoked +as an interactive shell with the name 'sh', Bash looks for the variable +'ENV', expands its value if it is defined, and uses the expanded value +as the name of a file to read and execute. Since a shell invoked as +'sh' does not attempt to read and execute commands from any other +startup files, the '--rcfile' option has no effect. A non-interactive +shell invoked with the name 'sh' does not attempt to read any other +startup files. + + When invoked as 'sh', Bash enters POSIX mode after the startup files +are read. + +Invoked in POSIX mode +..................... + +When Bash is started in POSIX mode, as with the '--posix' command line +option, it follows the POSIX standard for startup files. In this mode, +interactive shells expand the 'ENV' variable and commands are read and +executed from the file whose name is the expanded value. No other +startup files are read. + +Invoked by remote shell daemon +.............................. + +Bash attempts to determine when it is being run with its standard input +connected to a network connection, as when executed by the remote shell +daemon, usually 'rshd', or the secure shell daemon 'sshd'. If Bash +determines it is being run in this fashion, it reads and executes +commands from '~/.bashrc', if that file exists and is readable. It will +not do this if invoked as 'sh'. The '--norc' option may be used to +inhibit this behavior, and the '--rcfile' option may be used to force +another file to be read, but neither 'rshd' nor 'sshd' generally invoke +the shell with those options or allow them to be specified. + +Invoked with unequal effective and real UID/GIDs +................................................ + +If Bash is started with the effective user (group) id not equal to the +real user (group) id, and the '-p' option is not supplied, no startup +files are read, shell functions are not inherited from the environment, +the 'SHELLOPTS', 'BASHOPTS', 'CDPATH', and 'GLOBIGNORE' variables, if +they appear in the environment, are ignored, and the effective user id +is set to the real user id. If the '-p' option is supplied at +invocation, the startup behavior is the same, but the effective user id +is not reset. + + +File: bash.info, Node: Interactive Shells, Next: Bash Conditional Expressions, Prev: Bash Startup Files, Up: Bash Features + +6.3 Interactive Shells +====================== + +* Menu: + +* What is an Interactive Shell?:: What determines whether a shell is Interactive. +* Is this Shell Interactive?:: How to tell if a shell is interactive. +* Interactive Shell Behavior:: What changes in a interactive shell? + + +File: bash.info, Node: What is an Interactive Shell?, Next: Is this Shell Interactive?, Up: Interactive Shells + +6.3.1 What is an Interactive Shell? +----------------------------------- + +An interactive shell is one started without non-option arguments, unless +'-s' is specified, without specifying the '-c' option, and whose input +and error output are both connected to terminals (as determined by +'isatty(3)'), or one started with the '-i' option. + + An interactive shell generally reads from and writes to a user's +terminal. + + The '-s' invocation option may be used to set the positional +parameters when an interactive shell is started. + + +File: bash.info, Node: Is this Shell Interactive?, Next: Interactive Shell Behavior, Prev: What is an Interactive Shell?, Up: Interactive Shells + +6.3.2 Is this Shell Interactive? +-------------------------------- + +To determine within a startup script whether or not Bash is running +interactively, test the value of the '-' special parameter. It contains +'i' when the shell is interactive. For example: + + case "$-" in + *i*) echo This shell is interactive ;; + *) echo This shell is not interactive ;; + esac + + Alternatively, startup scripts may examine the variable 'PS1'; it is +unset in non-interactive shells, and set in interactive shells. Thus: + + if [ -z "$PS1" ]; then + echo This shell is not interactive + else + echo This shell is interactive + fi + + +File: bash.info, Node: Interactive Shell Behavior, Prev: Is this Shell Interactive?, Up: Interactive Shells + +6.3.3 Interactive Shell Behavior +-------------------------------- + +When the shell is running interactively, it changes its behavior in +several ways. + + 1. Startup files are read and executed as described in *note Bash + Startup Files::. + + 2. Job Control (*note Job Control::) is enabled by default. When job + control is in effect, Bash ignores the keyboard-generated job + control signals 'SIGTTIN', 'SIGTTOU', and 'SIGTSTP'. + + 3. Bash expands and displays 'PS1' before reading the first line of a + command, and expands and displays 'PS2' before reading the second + and subsequent lines of a multi-line command. Bash displays 'PS0' + after it reads a command but before executing it. + + 4. Bash executes the value of the 'PROMPT_COMMAND' variable as a + command before printing the primary prompt, '$PS1' (*note Bash + Variables::). + + 5. Readline (*note Command Line Editing::) is used to read commands + from the user's terminal. + + 6. Bash inspects the value of the 'ignoreeof' option to 'set -o' + instead of exiting immediately when it receives an 'EOF' on its + standard input when reading a command (*note The Set Builtin::). + + 7. Command history (*note Bash History Facilities::) and history + expansion (*note History Interaction::) are enabled by default. + Bash will save the command history to the file named by '$HISTFILE' + when a shell with history enabled exits. + + 8. Alias expansion (*note Aliases::) is performed by default. + + 9. In the absence of any traps, Bash ignores 'SIGTERM' (*note + Signals::). + + 10. In the absence of any traps, 'SIGINT' is caught and handled + ((*note Signals::). 'SIGINT' will interrupt some shell builtins. + + 11. An interactive login shell sends a 'SIGHUP' to all jobs on exit if + the 'huponexit' shell option has been enabled (*note Signals::). + + 12. The '-n' invocation option is ignored, and 'set -n' has no effect + (*note The Set Builtin::). + + 13. Bash will check for mail periodically, depending on the values of + the 'MAIL', 'MAILPATH', and 'MAILCHECK' shell variables (*note Bash + Variables::). + + 14. Expansion errors due to references to unbound shell variables + after 'set -u' has been enabled will not cause the shell to exit + (*note The Set Builtin::). + + 15. The shell will not exit on expansion errors caused by VAR being + unset or null in '${VAR:?WORD}' expansions (*note Shell Parameter + Expansion::). + + 16. Redirection errors encountered by shell builtins will not cause + the shell to exit. + + 17. When running in POSIX mode, a special builtin returning an error + status will not cause the shell to exit (*note Bash POSIX Mode::). + + 18. A failed 'exec' will not cause the shell to exit (*note Bourne + Shell Builtins::). + + 19. Parser syntax errors will not cause the shell to exit. + + 20. Simple spelling correction for directory arguments to the 'cd' + builtin is enabled by default (see the description of the 'cdspell' + option to the 'shopt' builtin in *note The Shopt Builtin::). + + 21. The shell will check the value of the 'TMOUT' variable and exit if + a command is not read within the specified number of seconds after + printing '$PS1' (*note Bash Variables::). + + +File: bash.info, Node: Bash Conditional Expressions, Next: Shell Arithmetic, Prev: Interactive Shells, Up: Bash Features + +6.4 Bash Conditional Expressions +================================ + +Conditional expressions are used by the '[[' compound command and the +'test' and '[' builtin commands. + + Expressions may be unary or binary. Unary expressions are often used +to examine the status of a file. There are string operators and numeric +comparison operators as well. Bash handles several filenames specially +when they are used in expressions. If the operating system on which +Bash is running provides these special files, Bash will use them; +otherwise it will emulate them internally with this behavior: If the +FILE argument to one of the primaries is of the form '/dev/fd/N', then +file descriptor N is checked. If the FILE argument to one of the +primaries is one of '/dev/stdin', '/dev/stdout', or '/dev/stderr', file +descriptor 0, 1, or 2, respectively, is checked. + + When used with '[[', the '<' and '>' operators sort lexicographically +using the current locale. The 'test' command uses ASCII ordering. + + Unless otherwise specified, primaries that operate on files follow +symbolic links and operate on the target of the link, rather than the +link itself. + +'-a FILE' + True if FILE exists. + +'-b FILE' + True if FILE exists and is a block special file. + +'-c FILE' + True if FILE exists and is a character special file. + +'-d FILE' + True if FILE exists and 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 exists and its set-group-id bit is set. + +'-h FILE' + True if FILE exists and is a symbolic link. + +'-k FILE' + True if FILE exists and its "sticky" bit is set. + +'-p FILE' + True if FILE exists and is a named pipe (FIFO). + +'-r FILE' + True if FILE exists and is readable. + +'-s FILE' + True if FILE exists and has a size greater than zero. + +'-t FD' + True if file descriptor FD is open and refers to a terminal. + +'-u FILE' + True if FILE exists and its set-user-id bit is set. + +'-w FILE' + True if FILE exists and is writable. + +'-x FILE' + True if FILE exists and is executable. + +'-G FILE' + True if FILE exists and is owned by the effective group id. + +'-L FILE' + True if FILE exists and is a symbolic link. + +'-N FILE' + True if FILE exists and has been modified since it was last read. + +'-O FILE' + True if FILE exists and is owned by the effective user id. + +'-S FILE' + True if FILE exists and is a socket. + +'FILE1 -ef FILE2' + True if FILE1 and FILE2 refer to the same device and inode numbers. + +'FILE1 -nt FILE2' + True if FILE1 is newer (according to modification date) than FILE2, + or if FILE1 exists and FILE2 does not. + +'FILE1 -ot FILE2' + True if FILE1 is older than FILE2, or if FILE2 exists and FILE1 + does not. + +'-o OPTNAME' + True if the shell option OPTNAME is enabled. The list of options + appears in the description of the '-o' option to the 'set' builtin + (*note The Set Builtin::). + +'-v VARNAME' + True if the shell variable VARNAME is set (has been assigned a + value). + +'-R VARNAME' + True if the shell variable VARNAME is set and is a name reference. + +'-z STRING' + True if the length of STRING is zero. + +'-n STRING' +'STRING' + True if the length of STRING is non-zero. + +'STRING1 == STRING2' +'STRING1 = STRING2' + True if the strings are equal. When used with the '[[' command, + this performs pattern matching as described above (*note + Conditional Constructs::). + + '=' should be used with the 'test' command for POSIX conformance. + +'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. + +'ARG1 OP ARG2' + 'OP' is one of '-eq', '-ne', '-lt', '-le', '-gt', or '-ge'. These + arithmetic binary operators return true if ARG1 is equal to, not + equal to, less than, less than or equal to, greater than, or + greater than or equal to ARG2, respectively. ARG1 and ARG2 may be + positive or negative integers. + + +File: bash.info, Node: Shell Arithmetic, Next: Aliases, Prev: Bash Conditional Expressions, Up: Bash Features + +6.5 Shell Arithmetic +==================== + +The shell allows arithmetic expressions to be evaluated, as one of the +shell expansions or by using the '((' compound command, the 'let' +builtin, or the '-i' option to the 'declare' builtin. + + Evaluation is done in fixed-width integers with no check for +overflow, though division by 0 is trapped and flagged as an error. The +operators and their precedence, associativity, and values are the same +as in the C language. 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 and post-decrement + +'++ID --ID' + variable pre-increment and pre-decrement + +'- +' + unary minus and plus + +'! ~' + logical and bitwise negation + +'**' + exponentiation + +'* / %' + multiplication, division, remainder + +'+ -' + addition, subtraction + +'<< >>' + left and right bitwise shifts + +'<= >= < >' + comparison + +'== !=' + equality and inequality + +'&' + bitwise AND + +'^' + bitwise exclusive OR + +'|' + bitwise OR + +'&&' + logical AND + +'||' + logical OR + +'expr ? expr : expr' + conditional operator + +'= *= /= %= += -= <<= >>= &= ^= |=' + assignment + +'expr1 , expr2' + comma + + Shell variables are allowed as operands; parameter expansion is +performed before the expression is evaluated. Within an expression, +shell variables may also be referenced by name without using the +parameter expansion syntax. A shell variable that is null or unset +evaluates to 0 when referenced by name without using the parameter +expansion syntax. The value of a variable is evaluated as an arithmetic +expression when it is referenced, or when a variable which has been +given the INTEGER attribute using 'declare -i' is assigned a value. A +null value evaluates to 0. A shell variable need not have its INTEGER +attribute turned on to be used in an expression. + + Constants with a leading 0 are interpreted as octal numbers. A +leading '0x' or '0X' denotes hexadecimal. Otherwise, numbers take the +form [BASE'#']N, where the optional BASE is a decimal number between 2 +and 64 representing the arithmetic base, and N is a number in that base. +If BASE'#' is omitted, then base 10 is used. When specifying N, the +digits greater than 9 are represented by the lowercase letters, the +uppercase letters, '@', and '_', in that order. If BASE is less than or +equal to 36, lowercase and uppercase letters may be used interchangeably +to represent numbers between 10 and 35. + + Operators are evaluated in order of precedence. Sub-expressions in +parentheses are evaluated first and may override the precedence rules +above. + + +File: bash.info, Node: Aliases, Next: Arrays, Prev: Shell Arithmetic, Up: Bash Features + +6.6 Aliases +=========== + +ALIASES allow a string to be substituted for a word when it is used as +the first word of a simple command. The shell maintains a list of +aliases that may be set and unset with the 'alias' and 'unalias' builtin +commands. + + The first word of each simple command, if unquoted, is checked to see +if it has an alias. If so, that word is replaced by the text of the +alias. The characters '/', '$', '`', '=' and any of the shell +metacharacters or quoting characters listed above may not appear in an +alias name. The replacement text may contain any valid shell input, +including shell metacharacters. The first word of the replacement text +is tested for aliases, but a word that is identical to an alias being +expanded is not expanded a second time. This means that one may alias +'ls' to '"ls -F"', for instance, and Bash does not try to recursively +expand the replacement text. If the last character of the alias value +is a BLANK, then the next command word following the alias is also +checked for alias expansion. + + Aliases are created and listed with the 'alias' command, and removed +with the 'unalias' command. + + There is no mechanism for using arguments in the replacement text, as +in 'csh'. If arguments are needed, a shell function should be used +(*note Shell Functions::). + + Aliases are not expanded when the shell is not interactive, unless +the 'expand_aliases' shell option is set using 'shopt' (*note The Shopt +Builtin::). + + The rules concerning the definition and use of aliases are somewhat +confusing. Bash always reads at least one complete line of input before +executing any of the commands on that line. Aliases are expanded when a +command is read, not when it is executed. Therefore, an alias +definition appearing on the same line as another command does not take +effect until the next line of input is read. The commands following the +alias definition on that line are not affected by the new alias. This +behavior is also an issue when functions are executed. Aliases are +expanded when a function definition is read, not when the function is +executed, because a function definition is itself a command. As a +consequence, aliases defined in a function are not available until after +that function is executed. To be safe, always put alias definitions on +a separate line, and do not use 'alias' in compound commands. + + For almost every purpose, shell functions are preferred over aliases. + + +File: bash.info, Node: Arrays, Next: The Directory Stack, Prev: Aliases, Up: Bash Features + +6.7 Arrays +========== + +Bash provides one-dimensional indexed and associative array variables. +Any variable may be used as an indexed array; the 'declare' builtin will +explicitly declare an array. There is no maximum limit on the size of +an array, nor any requirement that members be indexed or assigned +contiguously. Indexed arrays are referenced using integers (including +arithmetic expressions (*note Shell Arithmetic::)) and are zero-based; +associative arrays use arbitrary strings. Unless otherwise noted, +indexed array indices must be non-negative integers. + + An indexed array is created automatically if any variable is assigned +to using the syntax + NAME[SUBSCRIPT]=VALUE + +The SUBSCRIPT is treated as an arithmetic expression that must evaluate +to a number. To explicitly declare an array, use + declare -a NAME +The syntax + declare -a NAME[SUBSCRIPT] +is also accepted; the SUBSCRIPT is ignored. + +Associative arrays are created using + declare -A NAME. + + Attributes may be specified for an array variable using the 'declare' +and 'readonly' builtins. Each attribute applies to all members of an +array. + + Arrays are assigned to using compound assignments of the form + NAME=(VALUE1 VALUE2 ... ) +where each VALUE is of the form '[SUBSCRIPT]='STRING. Indexed array +assignments do not require anything but STRING. When assigning to +indexed arrays, if the optional subscript is supplied, that index is +assigned to; otherwise the index of the element assigned is the last +index assigned to by the statement plus one. Indexing starts at zero. + + When assigning to an associative array, the subscript is required. + + This syntax is also accepted by the 'declare' builtin. Individual +array elements may be assigned to using the 'NAME[SUBSCRIPT]=VALUE' +syntax introduced above. + + When assigning to an indexed array, if NAME is subscripted by a +negative number, that number is interpreted as relative to one greater +than the maximum index of NAME, so negative indices count back from the +end of the array, and an index of -1 references the last element. + + Any element of an array may be referenced using '${NAME[SUBSCRIPT]}'. +The braces are required to avoid conflicts with the shell's filename +expansion operators. If the SUBSCRIPT is '@' or '*', the word expands +to all members of the array NAME. These subscripts differ only when the +word appears within double quotes. If the word is double-quoted, +'${NAME[*]}' expands to a single word with the value of each array +member separated by the first character of the 'IFS' variable, and +'${NAME[@]}' expands each element of NAME to a separate word. When +there are no array members, '${NAME[@]}' expands to nothing. If the +double-quoted expansion occurs within a word, the expansion of the first +parameter is joined with the beginning part of the original word, and +the expansion of the last parameter is joined with the last part of the +original word. This is analogous to the expansion of the special +parameters '@' and '*'. '${#NAME[SUBSCRIPT]}' expands to the length of +'${NAME[SUBSCRIPT]}'. If SUBSCRIPT is '@' or '*', the expansion is the +number of elements in the array. If the SUBSCRIPT used to reference an +element of an indexed array evaluates to a number less than zero, it is +interpreted as relative to one greater than the maximum index of the +array, so negative indices count back from the end of the array, and an +index of -1 refers to the last element. + + Referencing an array variable without a subscript is equivalent to +referencing with a subscript of 0. Any reference to a variable using a +valid subscript is legal, and 'bash' will create an array if necessary. + + An array variable is considered set if a subscript has been assigned +a value. The null string is a valid value. + + It is possible to obtain the keys (indices) of an array as well as +the values. ${!NAME[@]} and ${!NAME[*]} expand to the indices assigned +in array variable NAME. The treatment when in double quotes is similar +to the expansion of the special parameters '@' and '*' within double +quotes. + + The 'unset' builtin is used to destroy arrays. 'unset +NAME[SUBSCRIPT]' destroys the array element at index SUBSCRIPT. +Negative subscripts to indexed arrays are interpreted as described +above. Care must be taken to avoid unwanted side effects caused by +filename expansion. 'unset NAME', where NAME is an array, removes the +entire array. A subscript of '*' or '@' also removes the entire array. + + The 'declare', 'local', and 'readonly' builtins each accept a '-a' +option to specify an indexed array and a '-A' option to specify an +associative array. If both options are supplied, '-A' takes precedence. +The 'read' builtin accepts a '-a' option to assign a list of words read +from the standard input to an array, and can read values from the +standard input into individual array elements. The 'set' and 'declare' +builtins display array values in a way that allows them to be reused as +input. + + +File: bash.info, Node: The Directory Stack, Next: Controlling the Prompt, Prev: Arrays, Up: Bash Features + +6.8 The Directory Stack +======================= + +* Menu: + +* Directory Stack Builtins:: Bash builtin commands to manipulate + the directory stack. + +The directory stack is a list of recently-visited directories. The +'pushd' builtin adds directories to the stack as it changes the current +directory, and the 'popd' builtin removes specified directories from the +stack and changes the current directory to the directory removed. The +'dirs' builtin displays the contents of the directory stack. The +current directory is always the "top" of the directory stack. + + The contents of the directory stack are also visible as the value of +the 'DIRSTACK' shell variable. + + +File: bash.info, Node: Directory Stack Builtins, Up: The Directory Stack + +6.8.1 Directory Stack Builtins +------------------------------ + +'dirs' + dirs [-clpv] [+N | -N] + + Display the list of currently remembered directories. Directories + are added to the list with the 'pushd' command; the 'popd' command + removes directories from the list. The current directory is always + the first directory in the stack. + + '-c' + Clears the directory stack by deleting all of the elements. + '-l' + Produces a listing using full pathnames; the default listing + format uses a tilde to denote the home directory. + '-p' + Causes 'dirs' to print the directory stack with one entry per + line. + '-v' + Causes 'dirs' to print the directory stack with one entry per + line, prefixing each entry with its index in the stack. + '+N' + Displays the Nth directory (counting from the left of the list + printed by 'dirs' when invoked without options), starting with + zero. + '-N' + Displays the Nth directory (counting from the right of the + list printed by 'dirs' when invoked without options), starting + with zero. + +'popd' + popd [-n] [+N | -N] + + When no arguments are given, 'popd' removes the top directory from + the stack and performs a 'cd' to the new top directory. The + elements are numbered from 0 starting at the first directory listed + with 'dirs'; that is, 'popd' is equivalent to 'popd +0'. + + '-n' + Suppresses the normal change of directory when removing + directories from the stack, so that only the stack is + manipulated. + '+N' + Removes the Nth directory (counting from the left of the list + printed by 'dirs'), starting with zero. + '-N' + Removes the Nth directory (counting from the right of the list + printed by 'dirs'), starting with zero. + +'pushd' + pushd [-n] [+N | -N | DIR] + + Save the current directory on the top of the directory stack and + then 'cd' to DIR. With no arguments, 'pushd' exchanges the top two + directories and makes the new top the current directory. + + '-n' + Suppresses the normal change of directory when rotating or + adding directories to the stack, so that only the stack is + manipulated. + '+N' + Brings the Nth directory (counting from the left of the list + printed by 'dirs', starting with zero) to the top of the list + by rotating the stack. + '-N' + Brings the Nth directory (counting from the right of the list + printed by 'dirs', starting with zero) to the top of the list + by rotating the stack. + 'DIR' + Makes DIR be the top of the stack, making it the new current + directory as if it had been supplied as an argument to the + 'cd' builtin. + + +File: bash.info, Node: Controlling the Prompt, Next: The Restricted Shell, Prev: The Directory Stack, Up: Bash Features + +6.9 Controlling the Prompt +========================== + +The value of the variable 'PROMPT_COMMAND' is examined just before Bash +prints each primary prompt. If 'PROMPT_COMMAND' is set and has a +non-null value, then the value is executed just as if it had been typed +on the command line. + + In addition, the following table describes the special characters +which can appear in the prompt variables 'PS1' to 'PS4': + +'\a' + A bell character. +'\d' + The date, in "Weekday Month Date" format (e.g., "Tue May 26"). +'\D{FORMAT}' + The FORMAT is passed to 'strftime'(3) and the result is inserted + into the prompt string; an empty FORMAT results in a + locale-specific time representation. The braces are required. +'\e' + An escape character. +'\h' + The hostname, up to the first '.'. +'\H' + The hostname. +'\j' + The number of jobs currently managed by the shell. +'\l' + The basename of the shell's terminal device name. +'\n' + A newline. +'\r' + A carriage return. +'\s' + The name of the shell, the basename of '$0' (the portion following + the final slash). +'\t' + The time, in 24-hour HH:MM:SS format. +'\T' + The time, in 12-hour HH:MM:SS format. +'\@' + The time, in 12-hour am/pm format. +'\A' + The time, in 24-hour HH:MM format. +'\u' + The username of the current user. +'\v' + The version of Bash (e.g., 2.00) +'\V' + The release of Bash, version + patchlevel (e.g., 2.00.0) +'\w' + The current working directory, with '$HOME' abbreviated with a + tilde (uses the '$PROMPT_DIRTRIM' variable). +'\W' + The basename of '$PWD', with '$HOME' abbreviated with a tilde. +'\!' + The history number of this command. +'\#' + The command number of this command. +'\$' + If the effective uid is 0, '#', otherwise '$'. +'\NNN' + The character whose ASCII code is the octal value NNN. +'\\' + A backslash. +'\[' + Begin a sequence of non-printing characters. This could be used to + embed a terminal control sequence into the prompt. +'\]' + End a sequence of non-printing characters. + + The command number and the history number are usually different: the +history number of a command is its position in the history list, which +may include commands restored from the history file (*note Bash History +Facilities::), while the command number is the position in the sequence +of commands executed during the current shell session. + + After the string is decoded, it is expanded via parameter expansion, +command substitution, arithmetic expansion, and quote removal, subject +to the value of the 'promptvars' shell option (*note Bash Builtins::). + + +File: bash.info, Node: The Restricted Shell, Next: Bash POSIX Mode, Prev: Controlling the Prompt, Up: Bash Features + +6.10 The Restricted Shell +========================= + +If Bash is started with the name 'rbash', or the '--restricted' or '-r' +option is supplied at invocation, the shell becomes restricted. A +restricted shell is used to set up an environment more controlled than +the standard shell. A restricted shell behaves identically to 'bash' +with the exception that the following are disallowed or not performed: + + * Changing directories with the 'cd' builtin. + * Setting or unsetting the values of the 'SHELL', 'PATH', 'ENV', or + 'BASH_ENV' variables. + * Specifying command names containing slashes. + * Specifying a filename containing a slash as an argument to the '.' + builtin command. + * Specifying a filename containing a slash as an argument to the '-p' + option to the 'hash' builtin command. + * Importing function definitions from the shell environment at + startup. + * Parsing the value of 'SHELLOPTS' from the shell environment at + startup. + * Redirecting output using the '>', '>|', '<>', '>&', '&>', and '>>' + redirection operators. + * Using the 'exec' builtin to replace the shell with another command. + * Adding or deleting builtin commands with the '-f' and '-d' options + to the 'enable' builtin. + * Using the 'enable' builtin command to enable disabled shell + builtins. + * Specifying the '-p' option to the 'command' builtin. + * Turning off restricted mode with 'set +r' or 'set +o restricted'. + + These restrictions are enforced after any startup files are read. + + When a command that is found to be a shell script is executed (*note +Shell Scripts::), 'rbash' turns off any restrictions in the shell +spawned to execute the script. + + +File: bash.info, Node: Bash POSIX Mode, Prev: The Restricted Shell, Up: Bash Features + +6.11 Bash POSIX Mode +==================== + +Starting Bash with the '--posix' command-line option or executing 'set +-o posix' while Bash is running will cause Bash to conform more closely +to the POSIX standard by changing the behavior to match that specified +by POSIX in areas where the Bash default differs. + + When invoked as 'sh', Bash enters POSIX mode after reading the +startup files. + + The following list is what's changed when 'POSIX mode' is in effect: + + 1. When a command in the hash table no longer exists, Bash will + re-search '$PATH' to find the new location. This is also available + with 'shopt -s checkhash'. + + 2. The message printed by the job control code and builtins when a job + exits with a non-zero status is 'Done(status)'. + + 3. The message printed by the job control code and builtins when a job + is stopped is 'Stopped(SIGNAME)', where SIGNAME is, for example, + 'SIGTSTP'. + + 4. Alias expansion is always enabled, even in non-interactive shells. + + 5. Reserved words appearing in a context where reserved words are + recognized do not undergo alias expansion. + + 6. The POSIX 'PS1' and 'PS2' expansions of '!' to the history number + and '!!' to '!' are enabled, and parameter expansion is performed + on the values of 'PS1' and 'PS2' regardless of the setting of the + 'promptvars' option. + + 7. The POSIX startup files are executed ('$ENV') rather than the + normal Bash files. + + 8. Tilde expansion is only performed on assignments preceding a + command name, rather than on all assignment statements on the line. + + 9. The default history file is '~/.sh_history' (this is the default + value of '$HISTFILE'). + + 10. Redirection operators do not perform filename expansion on the + word in the redirection unless the shell is interactive. + + 11. Redirection operators do not perform word splitting on the word in + the redirection. + + 12. Function names must be valid shell 'name's. That is, they may not + contain characters other than letters, digits, and underscores, and + may not start with a digit. Declaring a function with an invalid + name causes a fatal syntax error in non-interactive shells. + + 13. Function names may not be the same as one of the POSIX special + builtins. + + 14. POSIX special builtins are found before shell functions during + command lookup. + + 15. When printing shell function definitions (e.g., by 'type'), Bash + does not print the 'function' keyword. + + 16. Literal tildes that appear as the first character in elements of + the 'PATH' variable are not expanded as described above under *note + Tilde Expansion::. + + 17. The 'time' reserved word may be used by itself as a command. When + used in this way, it displays timing statistics for the shell and + its completed children. The 'TIMEFORMAT' variable controls the + format of the timing information. + + 18. When parsing and expanding a ${...} expansion that appears within + double quotes, single quotes are no longer special and cannot be + used to quote a closing brace or other special character, unless + the operator is one of those defined to perform pattern removal. + In this case, they do not have to appear as matched pairs. + + 19. The parser does not recognize 'time' as a reserved word if the + next token begins with a '-'. + + 20. The '!' character does not introduce history expansion within a + double-quoted string, even if the 'histexpand' option is enabled. + + 21. If a POSIX special builtin returns an error status, a + non-interactive shell exits. The fatal errors are those listed in + the POSIX standard, and include things like passing incorrect + options, redirection errors, variable assignment errors for + assignments preceding the command name, and so on. + + 22. A non-interactive shell exits with an error status if a variable + assignment error occurs when no command name follows the assignment + statements. A variable assignment error occurs, for example, when + trying to assign a value to a readonly variable. + + 23. A non-interactive shell exits with an error status if a variable + assignment error occurs in an assignment statement preceding a + special builtin, but not with any other simple command. + + 24. A non-interactive shell exits with an error status if the + iteration variable in a 'for' statement or the selection variable + in a 'select' statement is a readonly variable. + + 25. Non-interactive shells exit if FILENAME in '.' FILENAME is not + found. + + 26. Non-interactive shells exit if a syntax error in an arithmetic + expansion results in an invalid expression. + + 27. Non-interactive shells exit if a parameter expansion error occurs. + + 28. Non-interactive shells exit if there is a syntax error in a script + read with the '.' or 'source' builtins, or in a string processed by + the 'eval' builtin. + + 29. Process substitution is not available. + + 30. While variable indirection is available, it may not be applied to + the '#' and '?' special parameters. + + 31. When expanding the '*' special parameter in a pattern context + where the expansion is double-quoted does not treat the '$*' as if + it were double-quoted. + + 32. Assignment statements preceding POSIX special builtins persist in + the shell environment after the builtin completes. + + 33. Assignment statements preceding shell function calls persist in + the shell environment after the function returns, as if a POSIX + special builtin command had been executed. + + 34. The 'command' builtin does not prevent builtins that take + assignment statements as arguments from expanding them as + assignment statements; when not in POSIX mode, assignment builtins + lose their assignment statement expansion properties when preceded + by 'command'. + + 35. The 'bg' builtin uses the required format to describe each job + placed in the background, which does not include an indication of + whether the job is the current or previous job. + + 36. The output of 'kill -l' prints all the signal names on a single + line, separated by spaces, without the 'SIG' prefix. + + 37. The 'kill' builtin does not accept signal names with a 'SIG' + prefix. + + 38. The 'export' and 'readonly' builtin commands display their output + in the format required by POSIX. + + 39. The 'trap' builtin displays signal names without the leading + 'SIG'. + + 40. The 'trap' builtin doesn't check the first argument for a possible + signal specification and revert the signal handling to the original + disposition if it is, unless that argument consists solely of + digits and is a valid signal number. If users want to reset the + handler for a given signal to the original disposition, they should + use '-' as the first argument. + + 41. The '.' and 'source' builtins do not search the current directory + for the filename argument if it is not found by searching 'PATH'. + + 42. Enabling POSIX mode has the effect of setting the + 'inherit_errexit' option, so subshells spawned to execute command + substitutions inherit the value of the '-e' option from the parent + shell. When the 'inherit_errexit' option is not enabled, Bash + clears the '-e' option in such subshells. + + 43. When the 'alias' builtin displays alias definitions, it does not + display them with a leading 'alias ' unless the '-p' option is + supplied. + + 44. When the 'set' builtin is invoked without options, it does not + display shell function names and definitions. + + 45. When the 'set' builtin is invoked without options, it displays + variable values without quotes, unless they contain shell + metacharacters, even if the result contains nonprinting characters. + + 46. When the 'cd' builtin is invoked in LOGICAL mode, and the pathname + constructed from '$PWD' and the directory name supplied as an + argument does not refer to an existing directory, 'cd' will fail + instead of falling back to PHYSICAL mode. + + 47. The 'pwd' builtin verifies that the value it prints is the same as + the current directory, even if it is not asked to check the file + system with the '-P' option. + + 48. When listing the history, the 'fc' builtin does not include an + indication of whether or not a history entry has been modified. + + 49. The default editor used by 'fc' is 'ed'. + + 50. The 'type' and 'command' builtins will not report a non-executable + file as having been found, though the shell will attempt to execute + such a file if it is the only so-named file found in '$PATH'. + + 51. The 'vi' editing mode will invoke the 'vi' editor directly when + the 'v' command is run, instead of checking '$VISUAL' and + '$EDITOR'. + + 52. When the 'xpg_echo' option is enabled, Bash does not attempt to + interpret any arguments to 'echo' as options. Each argument is + displayed, after escape characters are converted. + + 53. The 'ulimit' builtin uses a block size of 512 bytes for the '-c' + and '-f' options. + + 54. The arrival of 'SIGCHLD' when a trap is set on 'SIGCHLD' does not + interrupt the 'wait' builtin and cause it to return immediately. + The trap command is run once for each child that exits. + + 55. The 'read' builtin may be interrupted by a signal for which a trap + has been set. If Bash receives a trapped signal while executing + 'read', the trap handler executes and 'read' returns an exit status + greater than 128. + + 56. Bash removes an exited background process's status from the list + of such statuses after the 'wait' builtin is used to obtain it. + + There is other POSIX behavior that Bash does not implement by default +even when in POSIX mode. Specifically: + + 1. The 'fc' builtin checks '$EDITOR' as a program to edit history + entries if 'FCEDIT' is unset, rather than defaulting directly to + 'ed'. 'fc' uses 'ed' if 'EDITOR' is unset. + + 2. As noted above, Bash requires the 'xpg_echo' option to be enabled + for the 'echo' builtin to be fully conformant. + + Bash can be configured to be POSIX-conformant by default, by +specifying the '--enable-strict-posix-default' to 'configure' when +building (*note Optional Features::). + + +File: bash.info, Node: Job Control, Next: Command Line Editing, Prev: Bash Features, Up: Top + +7 Job Control +************* + +This chapter discusses what job control is, how it works, and how Bash +allows you to access its facilities. + +* Menu: + +* Job Control Basics:: How job control works. +* Job Control Builtins:: Bash builtin commands used to interact + with job control. +* Job Control Variables:: Variables Bash uses to customize job + control. + + +File: bash.info, Node: Job Control Basics, Next: Job Control Builtins, Up: Job Control + +7.1 Job Control Basics +====================== + +Job control refers to the ability to selectively stop (suspend) the +execution of processes and continue (resume) their execution at a later +point. A user typically employs this facility via an interactive +interface supplied jointly by the operating system kernel's terminal +driver and Bash. + + The shell associates a JOB with each pipeline. It keeps a table of +currently executing jobs, which may be listed with the 'jobs' command. +When Bash starts a job asynchronously, it prints a line that looks like: + [1] 25647 +indicating that this job is job number 1 and that the process ID of the +last process in the pipeline associated with this job is 25647. All of +the processes in a single pipeline are members of the same job. Bash +uses the JOB abstraction as the basis for job control. + + To facilitate the implementation of the user interface to job +control, the operating system maintains the notion of a current terminal +process group ID. Members of this process group (processes whose +process group ID is equal to the current terminal process group ID) +receive keyboard-generated signals such as 'SIGINT'. These processes +are said to be in the foreground. Background processes are those whose +process group ID differs from the terminal's; such processes are immune +to keyboard-generated signals. Only foreground processes are allowed to +read from or, if the user so specifies with 'stty tostop', write to the +terminal. Background processes which attempt to read from (write to +when 'stty tostop' is in effect) the terminal are sent a 'SIGTTIN' +('SIGTTOU') signal by the kernel's terminal driver, which, unless +caught, suspends the process. + + If the operating system on which Bash is running supports job +control, Bash contains facilities to use it. Typing the SUSPEND +character (typically '^Z', Control-Z) while a process is running causes +that process to be stopped and returns control to Bash. Typing the +DELAYED SUSPEND character (typically '^Y', Control-Y) causes the process +to be stopped when it attempts to read input from the terminal, and +control to be returned to Bash. The user then manipulates the state of +this job, using the 'bg' command to continue it in the background, the +'fg' command to continue it in the foreground, or the 'kill' command to +kill it. A '^Z' takes effect immediately, and has the additional side +effect of causing pending output and typeahead to be discarded. + + There are a number of ways to refer to a job in the shell. The +character '%' introduces a job specification (JOBSPEC). + + Job number 'n' may be referred to as '%n'. The symbols '%%' and '%+' +refer to the shell's notion of the current job, which is the last job +stopped while it was in the foreground or started in the background. A +single '%' (with no accompanying job specification) also refers to the +current job. The previous job may be referenced using '%-'. If there +is only a single job, '%+' and '%-' can both be used to refer to that +job. In output pertaining to jobs (e.g., the output of the 'jobs' +command), the current job is always flagged with a '+', and the previous +job with a '-'. + + A job may also be referred to using a prefix of the name used to +start it, or using a substring that appears in its command line. For +example, '%ce' refers to a stopped 'ce' job. Using '%?ce', on the other +hand, refers to any job containing the string 'ce' in its command line. +If the prefix or substring matches more than one job, Bash reports an +error. + + Simply naming a job can be used to bring it into the foreground: '%1' +is a synonym for 'fg %1', bringing job 1 from the background into the +foreground. Similarly, '%1 &' resumes job 1 in the background, +equivalent to 'bg %1' + + The shell learns immediately whenever a job changes state. Normally, +Bash waits until it is about to print a prompt before reporting changes +in a job's status so as to not interrupt any other output. If the '-b' +option to the 'set' builtin is enabled, Bash reports such changes +immediately (*note The Set Builtin::). Any trap on 'SIGCHLD' is +executed for each child process that exits. + + If an attempt to exit Bash is made while jobs are stopped, (or +running, if the 'checkjobs' option is enabled - see *note The Shopt +Builtin::), the shell prints a warning message, and if the 'checkjobs' +option is enabled, lists the jobs and their statuses. The 'jobs' +command may then be used to inspect their status. If a second attempt +to exit is made without an intervening command, Bash does not print +another warning, and any stopped jobs are terminated. + + +File: bash.info, Node: Job Control Builtins, Next: Job Control Variables, Prev: Job Control Basics, Up: Job Control + +7.2 Job Control Builtins +======================== + +'bg' + bg [JOBSPEC ...] + + Resume each suspended job JOBSPEC in the background, as if it had + been started with '&'. If JOBSPEC is not supplied, the current job + is used. The return status is zero unless it is run when job + control is not enabled, or, when run with job control enabled, any + JOBSPEC was not found or specifies a job that was started without + job control. + +'fg' + fg [JOBSPEC] + + Resume the job JOBSPEC in the foreground and make it the current + job. If JOBSPEC is not supplied, the current job is used. The + return status is that of the command placed into the foreground, or + non-zero if run when job control is disabled or, when run with job + control enabled, JOBSPEC does not specify a valid job or JOBSPEC + specifies a job that was started without job control. + +'jobs' + jobs [-lnprs] [JOBSPEC] + jobs -x COMMAND [ARGUMENTS] + + The first form lists the active jobs. The options have the + following meanings: + + '-l' + List process IDs in addition to the normal information. + + '-n' + Display information only about jobs that have changed status + since the user was last notified of their status. + + '-p' + List only the process ID of the job's process group leader. + + '-r' + Display only running jobs. + + '-s' + Display only stopped jobs. + + If JOBSPEC is given, output is restricted to information about that + job. If JOBSPEC is not supplied, the status of all jobs is listed. + + If the '-x' option is supplied, 'jobs' replaces any JOBSPEC found + in COMMAND or ARGUMENTS with the corresponding process group ID, + and executes COMMAND, passing it ARGUMENTs, returning its exit + status. + +'kill' + kill [-s SIGSPEC] [-n SIGNUM] [-SIGSPEC] JOBSPEC or PID + kill -l|-L [EXIT_STATUS] + + Send a signal specified by SIGSPEC or SIGNUM to the process named + by job specification JOBSPEC or process ID PID. SIGSPEC is either + a case-insensitive signal name such as 'SIGINT' (with or without + the 'SIG' prefix) or a signal number; SIGNUM is a signal number. + If SIGSPEC and SIGNUM are not present, 'SIGTERM' is used. The '-l' + option lists the signal names. If any arguments are supplied when + '-l' is given, the names of the signals corresponding to the + arguments are listed, and the return status is zero. EXIT_STATUS + is a number specifying a signal number or the exit status of a + process terminated by a signal. The '-L' option is equivalent to + '-l'. The return status is zero if at least one signal was + successfully sent, or non-zero if an error occurs or an invalid + option is encountered. + +'wait' + wait [-n] [JOBSPEC or PID ...] + + Wait until the child process specified by each process ID PID or + job specification JOBSPEC exits and return the exit status of the + last command waited for. If a job spec is given, all processes in + the job are waited for. If no arguments are given, all currently + active child processes are waited for, and the return status is + zero. If the '-n' option is supplied, 'wait' waits for any job to + terminate and returns its exit status. If neither JOBSPEC nor PID + specifies an active child process of the shell, the return status + is 127. + +'disown' + disown [-ar] [-h] [JOBSPEC ... | PID ... ] + + Without options, remove each JOBSPEC from the table of active jobs. + If the '-h' option is given, the job is not removed from the table, + but is marked so that 'SIGHUP' is not sent to the job if the shell + receives a 'SIGHUP'. If JOBSPEC is not present, and neither the + '-a' nor the '-r' option is supplied, the current job is used. If + no JOBSPEC is supplied, the '-a' option means to remove or mark all + jobs; the '-r' option without a JOBSPEC argument restricts + operation to running jobs. + +'suspend' + suspend [-f] + + Suspend the execution of this shell until it receives a 'SIGCONT' + signal. A login shell cannot be suspended; the '-f' option can be + used to override this and force the suspension. + + When job control is not active, the 'kill' and 'wait' builtins do not +accept JOBSPEC arguments. They must be supplied process IDs. + + +File: bash.info, Node: Job Control Variables, Prev: Job Control Builtins, Up: Job Control + +7.3 Job Control Variables +========================= + +'auto_resume' + This variable controls how the shell interacts with the user and + job control. If this variable exists then single word simple + commands without redirections are treated as candidates for + resumption of an existing job. There is no ambiguity allowed; if + there is more than one job beginning with the string typed, then + the most recently accessed job will be selected. The name of a + stopped job, in this context, is the command line used to start it. + If this variable is set to the value 'exact', the string supplied + must match the name of a stopped job exactly; if set to + 'substring', the string supplied needs to match a substring of the + name of a stopped job. The 'substring' value provides + functionality analogous to the '%?' job ID (*note Job Control + Basics::). If set to any other value, the supplied string must be + a prefix of a stopped job's name; this provides functionality + analogous to the '%' job ID. + + +File: bash.info, Node: Command Line Editing, Next: Using History Interactively, Prev: Job Control, Up: Top + +8 Command Line Editing +********************** + +This chapter describes the basic features of the GNU command line +editing interface. Command line editing is provided by the Readline +library, which is used by several different programs, including Bash. +Command line editing is enabled by default when using an interactive +shell, unless the '--noediting' option is supplied at shell invocation. +Line editing is also used when using the '-e' option to the 'read' +builtin command (*note Bash Builtins::). By default, the line editing +commands are similar to those of Emacs. A vi-style line editing +interface is also available. Line editing can be enabled at any time +using the '-o emacs' or '-o vi' options to the 'set' builtin command +(*note The Set Builtin::), or disabled using the '+o emacs' or '+o vi' +options to 'set'. + +* Menu: + +* Introduction and Notation:: Notation used in this text. +* Readline Interaction:: The minimum set of commands for editing a line. +* Readline Init File:: Customizing Readline from a user's view. +* Bindable Readline Commands:: A description of most of the Readline commands + available for binding +* Readline vi Mode:: A short description of how to make Readline + behave like the vi editor. +* Programmable Completion:: How to specify the possible completions for + a specific command. +* Programmable Completion Builtins:: Builtin commands to specify how to + complete arguments for a particular command. +* A Programmable Completion Example:: An example shell function for + generating possible completions. + + +File: bash.info, Node: Introduction and Notation, Next: Readline Interaction, Up: Command Line Editing + +8.1 Introduction to Line Editing +================================ + +The following paragraphs describe the notation used to represent +keystrokes. + + The text 'C-k' is read as 'Control-K' and describes the character +produced when the key is pressed while the Control key is depressed. + + The text 'M-k' is read as 'Meta-K' and describes the character +produced when the Meta key (if you have one) is depressed, and the +key is pressed. The Meta key is labeled on many keyboards. On +keyboards with two keys labeled (usually to either side of the +space bar), the on the left side is generally set to work as a +Meta key. The key on the right may also be configured to work as +a Meta key or may be configured as some other modifier, such as a +Compose key for typing accented characters. + + If you do not have a Meta or key, or another key working as a +Meta key, the identical keystroke can be generated by typing +_first_, and then typing . Either process is known as "metafying" +the key. + + The text 'M-C-k' is read as 'Meta-Control-k' and describes the +character produced by "metafying" 'C-k'. + + In addition, several keys have their own names. Specifically, , +, , , , and all stand for themselves when seen +in this text, or in an init file (*note Readline Init File::). If your +keyboard lacks a key, typing will produce the desired +character. The key may be labeled or on some +keyboards. + + +File: bash.info, Node: Readline Interaction, Next: Readline Init File, Prev: Introduction and Notation, Up: Command Line Editing + +8.2 Readline Interaction +======================== + +Often during an interactive session you type in a long line of text, +only to notice that the first word on the line is misspelled. The +Readline library gives you a set of commands for manipulating the text +as you type it in, allowing you to just fix your typo, and not forcing +you to retype the majority of the line. Using these editing commands, +you move the cursor to the place that needs correction, and delete or +insert the text of the corrections. Then, when you are satisfied with +the line, you simply press . You do not have to be at the end of +the line to press ; the entire line is accepted regardless of the +location of the cursor within the line. + +* Menu: + +* Readline Bare Essentials:: The least you need to know about Readline. +* Readline Movement Commands:: Moving about the input line. +* Readline Killing Commands:: How to delete text, and how to get it back! +* Readline Arguments:: Giving numeric arguments to commands. +* Searching:: Searching through previous lines. + + +File: bash.info, Node: Readline Bare Essentials, Next: Readline Movement Commands, Up: Readline Interaction + +8.2.1 Readline Bare Essentials +------------------------------ + +In order to enter characters into the line, simply type them. The typed +character appears where the cursor was, and then the cursor moves one +space to the right. If you mistype a character, you can use your erase +character to back up and delete the mistyped character. + + Sometimes you may mistype a character, and not notice the error until +you have typed several other characters. In that case, you can type +'C-b' to move the cursor to the left, and then correct your mistake. +Afterwards, you can move the cursor to the right with 'C-f'. + + When you add text in the middle of a line, you will notice that +characters to the right of the cursor are 'pushed over' to make room for +the text that you have inserted. Likewise, when you delete text behind +the cursor, characters to the right of the cursor are 'pulled back' to +fill in the blank space created by the removal of the text. A list of +the bare essentials for editing the text of an input line follows. + +'C-b' + Move back one character. +'C-f' + Move forward one character. + or + Delete the character to the left of the cursor. +'C-d' + Delete the character underneath the cursor. +Printing characters + Insert the character into the line at the cursor. +'C-_' or 'C-x C-u' + Undo the last editing command. You can undo all the way back to an + empty line. + +(Depending on your configuration, the key be set to delete +the character to the left of the cursor and the key set to delete +the character underneath the cursor, like 'C-d', rather than the +character to the left of the cursor.) + + +File: bash.info, Node: Readline Movement Commands, Next: Readline Killing Commands, Prev: Readline Bare Essentials, Up: Readline Interaction + +8.2.2 Readline Movement Commands +-------------------------------- + +The above table describes the most basic keystrokes that you need in +order to do editing of the input line. For your convenience, many other +commands have been added in addition to 'C-b', 'C-f', 'C-d', and . +Here are some commands for moving more rapidly about the line. + +'C-a' + Move to the start of the line. +'C-e' + Move to the end of the line. +'M-f' + Move forward a word, where a word is composed of letters and + digits. +'M-b' + Move backward a word. +'C-l' + Clear the screen, reprinting the current line at the top. + + Notice how 'C-f' moves forward a character, while 'M-f' moves forward +a word. It is a loose convention that control keystrokes operate on +characters while meta keystrokes operate on words. + + +File: bash.info, Node: Readline Killing Commands, Next: Readline Arguments, Prev: Readline Movement Commands, Up: Readline Interaction + +8.2.3 Readline Killing Commands +------------------------------- + +"Killing" text means to delete the text from the line, but to save it +away for later use, usually by "yanking" (re-inserting) it back into the +line. ('Cut' and 'paste' are more recent jargon for 'kill' and 'yank'.) + + If the description for a command says that it 'kills' text, then you +can be sure that you can get the text back in a different (or the same) +place later. + + When you use a kill command, the text is saved in a "kill-ring". Any +number of consecutive kills save all of the killed text together, so +that when you yank it back, you get it all. The kill ring is not line +specific; the text that you killed on a previously typed line is +available to be yanked back later, when you are typing another line. + + Here is the list of commands for killing text. + +'C-k' + Kill the text from the current cursor position to the end of the + line. + +'M-d' + Kill from the cursor to the end of the current word, or, if between + words, to the end of the next word. Word boundaries are the same + as those used by 'M-f'. + +'M-' + Kill from the cursor the start of the current word, or, if between + words, to the start of the previous word. Word boundaries are the + same as those used by 'M-b'. + +'C-w' + Kill from the cursor to the previous whitespace. This is different + than 'M-' because the word boundaries differ. + + Here is how to "yank" the text back into the line. Yanking means to +copy the most-recently-killed text from the kill buffer. + +'C-y' + Yank the most recently killed text back into the buffer at the + cursor. + +'M-y' + Rotate the kill-ring, and yank the new top. You can only do this + if the prior command is 'C-y' or 'M-y'. + + +File: bash.info, Node: Readline Arguments, Next: Searching, Prev: Readline Killing Commands, Up: Readline Interaction + +8.2.4 Readline Arguments +------------------------ + +You can pass numeric arguments to Readline commands. Sometimes the +argument acts as a repeat count, other times it is the sign of the +argument that is significant. If you pass a negative argument to a +command which normally acts in a forward direction, that command will +act in a backward direction. For example, to kill text back to the +start of the line, you might type 'M-- C-k'. + + The general way to pass numeric arguments to a command is to type +meta digits before the command. If the first 'digit' typed is a minus +sign ('-'), then the sign of the argument will be negative. Once you +have typed one meta digit to get the argument started, you can type the +remainder of the digits, and then the command. For example, to give the +'C-d' command an argument of 10, you could type 'M-1 0 C-d', which will +delete the next ten characters on the input line. + + +File: bash.info, Node: Searching, Prev: Readline Arguments, Up: Readline Interaction + +8.2.5 Searching for Commands in the History +------------------------------------------- + +Readline provides commands for searching through the command history +(*note Bash History Facilities::) for lines containing a specified +string. There are two search modes: "incremental" and +"non-incremental". + + Incremental searches begin before the user has finished typing the +search string. As each character of the search string is typed, +Readline displays the next entry from the history matching the string +typed so far. An incremental search requires only as many characters as +needed to find the desired history entry. To search backward in the +history for a particular string, type 'C-r'. Typing 'C-s' searches +forward through the history. The characters present in the value of the +'isearch-terminators' variable are used to terminate an incremental +search. If that variable has not been assigned a value, the and +'C-J' characters will terminate an incremental search. 'C-g' will abort +an incremental search and restore the original line. When the search is +terminated, the history entry containing the search string becomes the +current line. + + To find other matching entries in the history list, type 'C-r' or +'C-s' as appropriate. This will search backward or forward in the +history for the next entry matching the search string typed so far. Any +other key sequence bound to a Readline command will terminate the search +and execute that command. For instance, a will terminate the +search and accept the line, thereby executing the command from the +history list. A movement command will terminate the search, make the +last line found the current line, and begin editing. + + Readline remembers the last incremental search string. If two 'C-r's +are typed without any intervening characters defining a new search +string, any remembered search string is used. + + Non-incremental searches read the entire search string before +starting to search for matching history lines. The search string may be +typed by the user or be part of the contents of the current line. + + +File: bash.info, Node: Readline Init File, Next: Bindable Readline Commands, Prev: Readline Interaction, Up: Command Line Editing + +8.3 Readline Init File +====================== + +Although the Readline library comes with a set of Emacs-like keybindings +installed by default, it is possible to use a different set of +keybindings. Any user can customize programs that use Readline by +putting commands in an "inputrc" file, conventionally in his home +directory. The name of this file is taken from the value of the shell +variable 'INPUTRC'. If that variable is unset, the default is +'~/.inputrc'. If that file does not exist or cannot be read, the +ultimate default is '/etc/inputrc'. + + When a program which uses the Readline library starts up, the init +file is read, and the key bindings are set. + + In addition, the 'C-x C-r' command re-reads this init file, thus +incorporating any changes that you might have made to it. + +* Menu: + +* Readline Init File Syntax:: Syntax for the commands in the inputrc file. + +* Conditional Init Constructs:: Conditional key bindings in the inputrc file. + +* Sample Init File:: An example inputrc file. + + +File: bash.info, Node: Readline Init File Syntax, Next: Conditional Init Constructs, Up: Readline Init File + +8.3.1 Readline Init File Syntax +------------------------------- + +There are only a few basic constructs allowed in the Readline init file. +Blank lines are ignored. Lines beginning with a '#' are comments. +Lines beginning with a '$' indicate conditional constructs (*note +Conditional Init Constructs::). Other lines denote variable settings +and key bindings. + +Variable Settings + You can modify the run-time behavior of Readline by altering the + values of variables in Readline using the 'set' command within the + init file. The syntax is simple: + + set VARIABLE VALUE + + Here, for example, is how to change from the default Emacs-like key + binding to use 'vi' line editing commands: + + set editing-mode vi + + Variable names and values, where appropriate, are recognized + without regard to case. Unrecognized variable names are ignored. + + Boolean variables (those that can be set to on or off) are set to + on if the value is null or empty, ON (case-insensitive), or 1. Any + other value results in the variable being set to off. + + The 'bind -V' command lists the current Readline variable names and + values. *Note Bash Builtins::. + + A great deal of run-time behavior is changeable with the following + variables. + + 'bell-style' + Controls what happens when Readline wants to ring the terminal + bell. If set to 'none', Readline never rings the bell. If + set to 'visible', Readline uses a visible bell if one is + available. If set to 'audible' (the default), Readline + attempts to ring the terminal's bell. + + 'bind-tty-special-chars' + If set to 'on' (the default), Readline attempts to bind the + control characters treated specially by the kernel's terminal + driver to their Readline equivalents. + + 'blink-matching-paren' + If set to 'on', Readline attempts to briefly move the cursor + to an opening parenthesis when a closing parenthesis is + inserted. The default is 'off'. + + 'colored-completion-prefix' + If set to 'on', when listing completions, Readline displays + the common prefix of the set of possible completions using a + different color. The color definitions are taken from the + value of the 'LS_COLORS' environment variable. The default is + 'off'. + + 'colored-stats' + If set to 'on', Readline displays possible completions using + different colors to indicate their file type. The color + definitions are taken from the value of the 'LS_COLORS' + environment variable. The default is 'off'. + + 'comment-begin' + The string to insert at the beginning of the line when the + 'insert-comment' command is executed. The default value is + '"#"'. + + 'completion-display-width' + The number of screen columns used to display possible matches + when performing completion. The value is ignored if it is + less than 0 or greater than the terminal screen width. A + value of 0 will cause matches to be displayed one per line. + The default value is -1. + + 'completion-ignore-case' + If set to 'on', Readline performs filename matching and + completion in a case-insensitive fashion. The default value + is 'off'. + + 'completion-map-case' + If set to 'on', and COMPLETION-IGNORE-CASE is enabled, + Readline treats hyphens ('-') and underscores ('_') as + equivalent when performing case-insensitive filename matching + and completion. + + 'completion-prefix-display-length' + The length in characters of the common prefix of a list of + possible completions that is displayed without modification. + When set to a value greater than zero, common prefixes longer + than this value are replaced with an ellipsis when displaying + possible completions. + + 'completion-query-items' + The number of possible completions that determines when the + user is asked whether the list of possibilities should be + displayed. If the number of possible completions is greater + than this value, Readline will ask the user whether or not he + wishes to view them; otherwise, they are simply listed. This + variable must be set to an integer value greater than or equal + to 0. A negative value means Readline should never ask. The + default limit is '100'. + + 'convert-meta' + If set to 'on', Readline will convert characters with the + eighth bit set to an ASCII key sequence by stripping the + eighth bit and prefixing an character, converting them + to a meta-prefixed key sequence. The default value is 'on', + but will be set to 'off' if the locale is one that contains + eight-bit characters. + + 'disable-completion' + If set to 'On', Readline will inhibit word completion. + Completion characters will be inserted into the line as if + they had been mapped to 'self-insert'. The default is 'off'. + + 'echo-control-characters' + When set to 'on', on operating systems that indicate they + support it, readline echoes a character corresponding to a + signal generated from the keyboard. The default is 'on'. + + 'editing-mode' + The 'editing-mode' variable controls which default set of key + bindings is used. By default, Readline starts up in Emacs + editing mode, where the keystrokes are most similar to Emacs. + This variable can be set to either 'emacs' or 'vi'. + + 'emacs-mode-string' + This string is displayed immediately before the last line of + the primary prompt when emacs editing mode is active. The + value is expanded like a key binding, so the standard set of + meta- and control prefixes and backslash escape sequences is + available. Use the '\1' and '\2' escapes to begin and end + sequences of non-printing characters, which can be used to + embed a terminal control sequence into the mode string. The + default is '@'. + + 'enable-bracketed-paste' + When set to 'On', Readline will configure the terminal in a + way that will enable it to insert each paste into the editing + buffer as a single string of characters, instead of treating + each character as if it had been read from the keyboard. This + can prevent pasted characters from being interpreted as + editing commands. The default is 'off'. + + 'enable-keypad' + When set to 'on', Readline will try to enable the application + keypad when it is called. Some systems need this to enable + the arrow keys. The default is 'off'. + + 'enable-meta-key' + When set to 'on', Readline will try to enable any meta + modifier key the terminal claims to support when it is called. + On many terminals, the meta key is used to send eight-bit + characters. The default is 'on'. + + 'expand-tilde' + If set to 'on', tilde expansion is performed when Readline + attempts word completion. The default is 'off'. + + 'history-preserve-point' + If set to 'on', the history code attempts to place the point + (the current cursor position) at the same location on each + history line retrieved with 'previous-history' or + 'next-history'. The default is 'off'. + + 'history-size' + Set the maximum number of history entries saved in the history + list. If set to zero, any existing history entries are + deleted and no new entries are saved. If set to a value less + than zero, the number of history entries is not limited. By + default, the number of history entries is not limited. If an + attempt is made to set HISTORY-SIZE to a non-numeric value, + the maximum number of history entries will be set to 500. + + 'horizontal-scroll-mode' + This variable can be set to either 'on' or 'off'. Setting it + to 'on' means that the text of the lines being edited will + scroll horizontally on a single screen line when they are + longer than the width of the screen, instead of wrapping onto + a new screen line. By default, this variable is set to 'off'. + + 'input-meta' + If set to 'on', Readline will enable eight-bit input (it will + not clear the eighth bit in the characters it reads), + regardless of what the terminal claims it can support. The + default value is 'off', but Readline will set it to 'on' if + the locale contains eight-bit characters. The name + 'meta-flag' is a synonym for this variable. + + 'isearch-terminators' + The string of characters that should terminate an incremental + search without subsequently executing the character as a + command (*note Searching::). If this variable has not been + given a value, the characters and 'C-J' will terminate + an incremental search. + + 'keymap' + Sets Readline's idea of the current keymap for key binding + commands. Acceptable 'keymap' names are 'emacs', + 'emacs-standard', 'emacs-meta', 'emacs-ctlx', 'vi', 'vi-move', + 'vi-command', and 'vi-insert'. 'vi' is equivalent to + 'vi-command' ('vi-move' is also a synonym); 'emacs' is + equivalent to 'emacs-standard'. The default value is 'emacs'. + The value of the 'editing-mode' variable also affects the + default keymap. + + 'keyseq-timeout' + Specifies the duration Readline will wait for a character when + reading an ambiguous key sequence (one that can form a + complete key sequence using the input read so far, or can take + additional input to complete a longer key sequence). If no + input is received within the timeout, Readline will use the + shorter but complete key sequence. Readline uses this value + to determine whether or not input is available on the current + input source ('rl_instream' by default). The value is + specified in milliseconds, so a value of 1000 means that + Readline will wait one second for additional input. If this + variable is set to a value less than or equal to zero, or to a + non-numeric value, Readline will wait until another key is + pressed to decide which key sequence to complete. The default + value is '500'. + + 'mark-directories' + If set to 'on', completed directory names have a slash + appended. The default is 'on'. + + 'mark-modified-lines' + This variable, when set to 'on', causes Readline to display an + asterisk ('*') at the start of history lines which have been + modified. This variable is 'off' by default. + + 'mark-symlinked-directories' + If set to 'on', completed names which are symbolic links to + directories have a slash appended (subject to the value of + 'mark-directories'). The default is 'off'. + + 'match-hidden-files' + This variable, when set to 'on', causes Readline to match + files whose names begin with a '.' (hidden files) when + performing filename completion. If set to 'off', the leading + '.' must be supplied by the user in the filename to be + completed. This variable is 'on' by default. + + 'menu-complete-display-prefix' + If set to 'on', menu completion displays the common prefix of + the list of possible completions (which may be empty) before + cycling through the list. The default is 'off'. + + 'output-meta' + If set to 'on', Readline will display characters with the + eighth bit set directly rather than as a meta-prefixed escape + sequence. The default is 'off', but Readline will set it to + 'on' if the locale contains eight-bit characters. + + 'page-completions' + If set to 'on', Readline uses an internal 'more'-like pager to + display a screenful of possible completions at a time. This + variable is 'on' by default. + + 'print-completions-horizontally' + If set to 'on', Readline will display completions with matches + sorted horizontally in alphabetical order, rather than down + the screen. The default is 'off'. + + 'revert-all-at-newline' + If set to 'on', Readline will undo all changes to history + lines before returning when 'accept-line' is executed. By + default, history lines may be modified and retain individual + undo lists across calls to 'readline'. The default is 'off'. + + 'show-all-if-ambiguous' + This alters the default behavior of the completion functions. + If set to 'on', words which have more than one possible + completion cause the matches to be listed immediately instead + of ringing the bell. The default value is 'off'. + + 'show-all-if-unmodified' + This alters the default behavior of the completion functions + in a fashion similar to SHOW-ALL-IF-AMBIGUOUS. If set to + 'on', words which have more than one possible completion + without any possible partial completion (the possible + completions don't share a common prefix) cause the matches to + be listed immediately instead of ringing the bell. The + default value is 'off'. + + 'show-mode-in-prompt' + If set to 'on', add a character to the beginning of the prompt + indicating the editing mode: emacs, vi command, or vi + insertion. The mode strings are user-settable. The default + value is 'off'. + + 'skip-completed-text' + If set to 'on', this alters the default completion behavior + when inserting a single match into the line. It's only active + when performing completion in the middle of a word. If + enabled, readline does not insert characters from the + completion that match characters after point in the word being + completed, so portions of the word following the cursor are + not duplicated. For instance, if this is enabled, attempting + completion when the cursor is after the 'e' in 'Makefile' will + result in 'Makefile' rather than 'Makefilefile', assuming + there is a single possible completion. The default value is + 'off'. + + 'vi-cmd-mode-string' + This string is displayed immediately before the last line of + the primary prompt when vi editing mode is active and in + command mode. The value is expanded like a key binding, so + the standard set of meta- and control prefixes and backslash + escape sequences is available. Use the '\1' and '\2' escapes + to begin and end sequences of non-printing characters, which + can be used to embed a terminal control sequence into the mode + string. The default is '(cmd)'. + + 'vi-ins-mode-string' + This string is displayed immediately before the last line of + the primary prompt when vi editing mode is active and in + insertion mode. The value is expanded like a key binding, so + the standard set of meta- and control prefixes and backslash + escape sequences is available. Use the '\1' and '\2' escapes + to begin and end sequences of non-printing characters, which + can be used to embed a terminal control sequence into the mode + string. The default is '(ins)'. + + 'visible-stats' + If set to 'on', a character denoting a file's type is appended + to the filename when listing possible completions. The + default is 'off'. + +Key Bindings + The syntax for controlling key bindings in the init file is simple. + First you need to find the name of the command that you want to + change. The following sections contain tables of the command name, + the default keybinding, if any, and a short description of what the + command does. + + Once you know the name of the command, simply place on a line in + the init file the name of the key you wish to bind the command to, + a colon, and then the name of the command. There can be no space + between the key name and the colon - that will be interpreted as + part of the key name. The name of the key can be expressed in + different ways, depending on what you find most comfortable. + + In addition to command names, readline allows keys to be bound to a + string that is inserted when the key is pressed (a MACRO). + + The 'bind -p' command displays Readline function names and bindings + in a format that can put directly into an initialization file. + *Note Bash Builtins::. + + KEYNAME: FUNCTION-NAME or MACRO + KEYNAME is the name of a key spelled out in English. For + example: + Control-u: universal-argument + Meta-Rubout: backward-kill-word + Control-o: "> output" + + In the above example, 'C-u' is bound to the function + 'universal-argument', 'M-DEL' is bound to the function + 'backward-kill-word', and 'C-o' is bound to run the macro + expressed on the right hand side (that is, to insert the text + '> output' into the line). + + A number of symbolic character names are recognized while + processing this key binding syntax: DEL, ESC, ESCAPE, LFD, + NEWLINE, RET, RETURN, RUBOUT, SPACE, SPC, and TAB. + + "KEYSEQ": FUNCTION-NAME or MACRO + KEYSEQ differs from KEYNAME above in that strings denoting an + entire key sequence can be specified, by placing the key + sequence in double quotes. Some GNU Emacs style key escapes + can be used, as in the following example, but the special + character names are not recognized. + + "\C-u": universal-argument + "\C-x\C-r": re-read-init-file + "\e[11~": "Function Key 1" + + In the above example, 'C-u' is again bound to the function + 'universal-argument' (just as it was in the first example), + ''C-x' 'C-r'' is bound to the function 're-read-init-file', + and ' <[> <1> <1> <~>' is bound to insert the text + 'Function Key 1'. + + The following GNU Emacs style escape sequences are available when + specifying key sequences: + + '\C-' + control prefix + '\M-' + meta prefix + '\e' + an escape character + '\\' + backslash + '\"' + <">, a double quotation mark + '\'' + <'>, a single quote or apostrophe + + In addition to the GNU Emacs style escape sequences, a second set + of backslash escapes is available: + + '\a' + alert (bell) + '\b' + backspace + '\d' + delete + '\f' + form feed + '\n' + newline + '\r' + carriage return + '\t' + horizontal tab + '\v' + vertical tab + '\NNN' + the eight-bit character whose value is the octal value NNN + (one to three digits) + '\xHH' + the eight-bit character whose value is the hexadecimal value + HH (one or two hex digits) + + When entering the text of a macro, single or double quotes must be + used to indicate a macro definition. Unquoted text is assumed to + be a function name. In the macro body, the backslash escapes + described above are expanded. Backslash will quote any other + character in the macro text, including '"' and '''. For example, + the following binding will make ''C-x' \' insert a single '\' into + the line: + "\C-x\\": "\\" + + +File: bash.info, Node: Conditional Init Constructs, Next: Sample Init File, Prev: Readline Init File Syntax, Up: Readline Init File + +8.3.2 Conditional Init Constructs +--------------------------------- + +Readline implements a facility similar in spirit to the conditional +compilation features of the C preprocessor which allows key bindings and +variable settings to be performed as the result of tests. There are +four parser directives used. + +'$if' + The '$if' construct allows bindings to be made based on the editing + mode, the terminal being used, or the application using Readline. + The text of the test extends to the end of the line; no characters + are required to isolate it. + + 'mode' + The 'mode=' form of the '$if' directive is used to test + whether Readline is in 'emacs' or 'vi' mode. This may be used + in conjunction with the 'set keymap' command, for instance, to + set bindings in the 'emacs-standard' and 'emacs-ctlx' keymaps + only if Readline is starting out in 'emacs' mode. + + 'term' + The 'term=' form may be used to include terminal-specific key + bindings, perhaps to bind the key sequences output by the + terminal's function keys. The word on the right side of the + '=' is tested against both the full name of the terminal and + the portion of the terminal name before the first '-'. This + allows 'sun' to match both 'sun' and 'sun-cmd', for instance. + + 'application' + The APPLICATION construct is used to include + application-specific settings. Each program using the + Readline library sets the APPLICATION NAME, and you can test + for a particular value. This could be used to bind key + sequences to functions useful for a specific program. For + instance, the following command adds a key sequence that + quotes the current or previous word in Bash: + $if Bash + # Quote the current or previous word + "\C-xq": "\eb\"\ef\"" + $endif + +'$endif' + This command, as seen in the previous example, terminates an '$if' + command. + +'$else' + Commands in this branch of the '$if' directive are executed if the + test fails. + +'$include' + This directive takes a single filename as an argument and reads + commands and bindings from that file. For example, the following + directive reads from '/etc/inputrc': + $include /etc/inputrc + + +File: bash.info, Node: Sample Init File, Prev: Conditional Init Constructs, Up: Readline Init File + +8.3.3 Sample Init File +---------------------- + +Here is an example of an INPUTRC file. This illustrates key binding, +variable assignment, and conditional syntax. + + # This file controls the behaviour of line input editing for + # programs that use the GNU Readline library. Existing + # programs include FTP, Bash, and GDB. + # + # You can re-read the inputrc file with C-x C-r. + # Lines beginning with '#' are comments. + # + # First, include any system-wide bindings and variable + # assignments from /etc/Inputrc + $include /etc/Inputrc + + # + # Set various bindings for emacs mode. + + set editing-mode emacs + + $if mode=emacs + + Meta-Control-h: backward-kill-word Text after the function name is ignored + + # + # Arrow keys in keypad mode + # + #"\M-OD": backward-char + #"\M-OC": forward-char + #"\M-OA": previous-history + #"\M-OB": next-history + # + # Arrow keys in ANSI mode + # + "\M-[D": backward-char + "\M-[C": forward-char + "\M-[A": previous-history + "\M-[B": next-history + # + # Arrow keys in 8 bit keypad mode + # + #"\M-\C-OD": backward-char + #"\M-\C-OC": forward-char + #"\M-\C-OA": previous-history + #"\M-\C-OB": next-history + # + # Arrow keys in 8 bit ANSI mode + # + #"\M-\C-[D": backward-char + #"\M-\C-[C": forward-char + #"\M-\C-[A": previous-history + #"\M-\C-[B": next-history + + C-q: quoted-insert + + $endif + + # An old-style binding. This happens to be the default. + TAB: complete + + # Macros that are convenient for shell interaction + $if Bash + # edit the path + "\C-xp": "PATH=${PATH}\e\C-e\C-a\ef\C-f" + # prepare to type a quoted word -- + # insert open and close double quotes + # and move to just after the open quote + "\C-x\"": "\"\"\C-b" + # insert a backslash (testing backslash escapes + # in sequences and macros) + "\C-x\\": "\\" + # Quote the current or previous word + "\C-xq": "\eb\"\ef\"" + # Add a binding to refresh the line, which is unbound + "\C-xr": redraw-current-line + # Edit variable on current line. + "\M-\C-v": "\C-a\C-k$\C-y\M-\C-e\C-a\C-y=" + $endif + + # use a visible bell if one is available + set bell-style visible + + # don't strip characters to 7 bits when reading + set input-meta on + + # allow iso-latin1 characters to be inserted rather + # than converted to prefix-meta sequences + set convert-meta off + + # display characters with the eighth bit set directly + # rather than as meta-prefixed characters + set output-meta on + + # if there are more than 150 possible completions for + # a word, ask the user if he wants to see all of them + set completion-query-items 150 + + # For FTP + $if Ftp + "\C-xg": "get \M-?" + "\C-xt": "put \M-?" + "\M-.": yank-last-arg + $endif + + +File: bash.info, Node: Bindable Readline Commands, Next: Readline vi Mode, Prev: Readline Init File, Up: Command Line Editing + +8.4 Bindable Readline Commands +============================== + +* Menu: + +* Commands For Moving:: Moving about the line. +* Commands For History:: Getting at previous lines. +* Commands For Text:: Commands for changing text. +* Commands For Killing:: Commands for killing and yanking. +* Numeric Arguments:: Specifying numeric arguments, repeat counts. +* Commands For Completion:: Getting Readline to do the typing for you. +* Keyboard Macros:: Saving and re-executing typed characters +* Miscellaneous Commands:: Other miscellaneous commands. + +This section describes Readline commands that may be bound to key +sequences. You can list your key bindings by executing 'bind -P' or, +for a more terse format, suitable for an INPUTRC file, 'bind -p'. +(*Note Bash Builtins::.) Command names without an accompanying key +sequence are unbound by default. + + In the following descriptions, "point" refers to the current cursor +position, and "mark" refers to a cursor position saved by the 'set-mark' +command. The text between the point and mark is referred to as the +"region". + + +File: bash.info, Node: Commands For Moving, Next: Commands For History, Up: Bindable Readline Commands + +8.4.1 Commands For Moving +------------------------- + +'beginning-of-line (C-a)' + Move to the start of the current line. + +'end-of-line (C-e)' + Move to the end of the line. + +'forward-char (C-f)' + Move forward a character. + +'backward-char (C-b)' + Move back a character. + +'forward-word (M-f)' + Move forward to the end of the next word. Words are composed of + letters and digits. + +'backward-word (M-b)' + Move back to the start of the current or previous word. Words are + composed of letters and digits. + +'shell-forward-word ()' + Move forward to the end of the next word. Words are delimited by + non-quoted shell metacharacters. + +'shell-backward-word ()' + Move back to the start of the current or previous word. Words are + delimited by non-quoted shell metacharacters. + +'clear-screen (C-l)' + Clear the screen and redraw the current line, leaving the current + line at the top of the screen. + +'redraw-current-line ()' + Refresh the current line. By default, this is unbound. + + +File: bash.info, Node: Commands For History, Next: Commands For Text, Prev: Commands For Moving, Up: Bindable Readline Commands + +8.4.2 Commands For Manipulating The History +------------------------------------------- + +'accept-line (Newline or Return)' + Accept the line regardless of where the cursor is. If this line is + non-empty, add it to the history list according to the setting of + the 'HISTCONTROL' and 'HISTIGNORE' variables. If this line is a + modified history line, then restore the history line to its + original state. + +'previous-history (C-p)' + Move 'back' through the history list, fetching the previous + command. + +'next-history (C-n)' + Move 'forward' through the history list, fetching the next command. + +'beginning-of-history (M-<)' + Move to the first line in the history. + +'end-of-history (M->)' + Move to the end of the input history, i.e., the line currently + being entered. + +'reverse-search-history (C-r)' + Search backward starting at the current line and moving 'up' + through the history as necessary. This is an incremental search. + +'forward-search-history (C-s)' + Search forward starting at the current line and moving 'down' + through the history as necessary. This is an incremental search. + +'non-incremental-reverse-search-history (M-p)' + Search backward starting at the current line and moving 'up' + through the history as necessary using a non-incremental search for + a string supplied by the user. The search string may match + anywhere in a history line. + +'non-incremental-forward-search-history (M-n)' + Search forward starting at the current line and moving 'down' + through the history as necessary using a non-incremental search for + a string supplied by the user. The search string may match + anywhere in a history line. + +'history-search-forward ()' + Search forward through the history for the string of characters + between the start of the current line and the point. The search + string must match at the beginning of a history line. This is a + non-incremental search. By default, this command is unbound. + +'history-search-backward ()' + Search backward through the history for the string of characters + between the start of the current line and the point. The search + string must match at the beginning of a history line. This is a + non-incremental search. By default, this command is unbound. + +'history-substr-search-forward ()' + Search forward through the history for the string of characters + between the start of the current line and the point. The search + string may match anywhere in a history line. This is a + non-incremental search. By default, this command is unbound. + +'history-substr-search-backward ()' + Search backward through the history for the string of characters + between the start of the current line and the point. The search + string may match anywhere in a history line. This is a + non-incremental search. By default, this command is unbound. + +'yank-nth-arg (M-C-y)' + Insert the first argument to the previous command (usually the + second word on the previous line) at point. With an argument N, + insert the Nth word from the previous command (the words in the + previous command begin with word 0). A negative argument inserts + the Nth word from the end of the previous command. Once the + argument N is computed, the argument is extracted as if the '!N' + history expansion had been specified. + +'yank-last-arg (M-. or M-_)' + Insert last argument to the previous command (the last word of the + previous history entry). With a numeric argument, behave exactly + like 'yank-nth-arg'. Successive calls to 'yank-last-arg' move back + through the history list, inserting the last word (or the word + specified by the argument to the first call) of each line in turn. + Any numeric argument supplied to these successive calls determines + the direction to move through the history. A negative argument + switches the direction through the history (back or forward). The + history expansion facilities are used to extract the last argument, + as if the '!$' history expansion had been specified. + + +File: bash.info, Node: Commands For Text, Next: Commands For Killing, Prev: Commands For History, Up: Bindable Readline Commands + +8.4.3 Commands For Changing Text +-------------------------------- + +'end-of-file (usually C-d)' + The character indicating end-of-file as set, for example, by + 'stty'. If this character is read when there are no characters on + the line, and point is at the beginning of the line, Readline + interprets it as the end of input and returns EOF. + +'delete-char (C-d)' + Delete the character at point. If this function is bound to the + same character as the tty EOF character, as 'C-d' commonly is, see + above for the effects. + +'backward-delete-char (Rubout)' + Delete the character behind the cursor. A numeric argument means + to kill the characters instead of deleting them. + +'forward-backward-delete-char ()' + Delete the character under the cursor, unless the cursor is at the + end of the line, in which case the character behind the cursor is + deleted. By default, this is not bound to a key. + +'quoted-insert (C-q or C-v)' + Add the next character typed to the line verbatim. This is how to + insert key sequences like 'C-q', for example. + +'self-insert (a, b, A, 1, !, ...)' + Insert yourself. + +'bracketed-paste-begin ()' + This function is intended to be bound to the "bracketed paste" + escape sequence sent by some terminals, and such a binding is + assigned by default. It allows Readline to insert the pasted text + as a single unit without treating each character as if it had been + read from the keyboard. The characters are inserted as if each one + was bound to 'self-insert') instead of executing any editing + commands. + +'transpose-chars (C-t)' + Drag the character before the cursor forward over the character at + the cursor, moving the cursor forward as well. If the insertion + point is at the end of the line, then this transposes the last two + characters of the line. Negative arguments have no effect. + +'transpose-words (M-t)' + Drag the word before point past the word after point, moving point + past that word as well. If the insertion point is at the end of + the line, this transposes the last two words on the line. + +'upcase-word (M-u)' + Uppercase the current (or following) word. With a negative + argument, uppercase the previous word, but do not move the cursor. + +'downcase-word (M-l)' + Lowercase the current (or following) word. With a negative + argument, lowercase the previous word, but do not move the cursor. + +'capitalize-word (M-c)' + Capitalize the current (or following) word. With a negative + argument, capitalize the previous word, but do not move the cursor. + +'overwrite-mode ()' + Toggle overwrite mode. With an explicit positive numeric argument, + switches to overwrite mode. With an explicit non-positive numeric + argument, switches to insert mode. This command affects only + 'emacs' mode; 'vi' mode does overwrite differently. Each call to + 'readline()' starts in insert mode. + + In overwrite mode, characters bound to 'self-insert' replace the + text at point rather than pushing the text to the right. + Characters bound to 'backward-delete-char' replace the character + before point with a space. + + By default, this command is unbound. + + +File: bash.info, Node: Commands For Killing, Next: Numeric Arguments, Prev: Commands For Text, Up: Bindable Readline Commands + +8.4.4 Killing And Yanking +------------------------- + +'kill-line (C-k)' + Kill the text from point to the end of the line. + +'backward-kill-line (C-x Rubout)' + Kill backward from the cursor to the beginning of the current line. + +'unix-line-discard (C-u)' + Kill backward from the cursor to the beginning of the current line. + +'kill-whole-line ()' + Kill all characters on the current line, no matter where point is. + By default, this is unbound. + +'kill-word (M-d)' + Kill from point to the end of the current word, or if between + words, to the end of the next word. Word boundaries are the same + as 'forward-word'. + +'backward-kill-word (M-)' + Kill the word behind point. Word boundaries are the same as + 'backward-word'. + +'shell-kill-word ()' + Kill from point to the end of the current word, or if between + words, to the end of the next word. Word boundaries are the same + as 'shell-forward-word'. + +'shell-backward-kill-word ()' + Kill the word behind point. Word boundaries are the same as + 'shell-backward-word'. + +'unix-word-rubout (C-w)' + Kill the word behind point, using white space as a word boundary. + The killed text is saved on the kill-ring. + +'unix-filename-rubout ()' + Kill the word behind point, using white space and the slash + character as the word boundaries. The killed text is saved on the + kill-ring. + +'delete-horizontal-space ()' + Delete all spaces and tabs around point. By default, this is + unbound. + +'kill-region ()' + Kill the text in the current region. By default, this command is + unbound. + +'copy-region-as-kill ()' + Copy the text in the region to the kill buffer, so it can be yanked + right away. By default, this command is unbound. + +'copy-backward-word ()' + Copy the word before point to the kill buffer. The word boundaries + are the same as 'backward-word'. By default, this command is + unbound. + +'copy-forward-word ()' + Copy the word following point to the kill buffer. The word + boundaries are the same as 'forward-word'. By default, this + command is unbound. + +'yank (C-y)' + Yank the top of the kill ring into the buffer at point. + +'yank-pop (M-y)' + Rotate the kill-ring, and yank the new top. You can only do this + if the prior command is 'yank' or 'yank-pop'. + + +File: bash.info, Node: Numeric Arguments, Next: Commands For Completion, Prev: Commands For Killing, Up: Bindable Readline Commands + +8.4.5 Specifying Numeric Arguments +---------------------------------- + +'digit-argument (M-0, M-1, ... M--)' + Add this digit to the argument already accumulating, or start a new + argument. 'M--' starts a negative argument. + +'universal-argument ()' + This is another way to specify an argument. If this command is + followed by one or more digits, optionally with a leading minus + sign, those digits define the argument. If the command is followed + by digits, executing 'universal-argument' again ends the numeric + argument, but is otherwise ignored. As a special case, if this + command is immediately followed by a character that is neither a + digit nor minus sign, the argument count for the next command is + multiplied by four. The argument count is initially one, so + executing this function the first time makes the argument count + four, a second time makes the argument count sixteen, and so on. + By default, this is not bound to a key. + + +File: bash.info, Node: Commands For Completion, Next: Keyboard Macros, Prev: Numeric Arguments, Up: Bindable Readline Commands + +8.4.6 Letting Readline Type For You +----------------------------------- + +'complete ()' + Attempt to perform completion on the text before point. The actual + completion performed is application-specific. Bash attempts + completion treating the text as a variable (if the text begins with + '$'), username (if the text begins with '~'), hostname (if the text + begins with '@'), or command (including aliases and functions) in + turn. If none of these produces a match, filename completion is + attempted. + +'possible-completions (M-?)' + List the possible completions of the text before point. When + displaying completions, Readline sets the number of columns used + for display to the value of 'completion-display-width', the value + of the environment variable 'COLUMNS', or the screen width, in that + order. + +'insert-completions (M-*)' + Insert all completions of the text before point that would have + been generated by 'possible-completions'. + +'menu-complete ()' + Similar to 'complete', but replaces the word to be completed with a + single match from the list of possible completions. Repeated + execution of 'menu-complete' steps through the list of possible + completions, inserting each match in turn. At the end of the list + of completions, the bell is rung (subject to the setting of + 'bell-style') and the original text is restored. An argument of N + moves N positions forward in the list of matches; a negative + argument may be used to move backward through the list. This + command is intended to be bound to , but is unbound by + default. + +'menu-complete-backward ()' + Identical to 'menu-complete', but moves backward through the list + of possible completions, as if 'menu-complete' had been given a + negative argument. + +'delete-char-or-list ()' + Deletes the character under the cursor if not at the beginning or + end of the line (like 'delete-char'). If at the end of the line, + behaves identically to 'possible-completions'. This command is + unbound by default. + +'complete-filename (M-/)' + Attempt filename completion on the text before point. + +'possible-filename-completions (C-x /)' + List the possible completions of the text before point, treating it + as a filename. + +'complete-username (M-~)' + Attempt completion on the text before point, treating it as a + username. + +'possible-username-completions (C-x ~)' + List the possible completions of the text before point, treating it + as a username. + +'complete-variable (M-$)' + Attempt completion on the text before point, treating it as a shell + variable. + +'possible-variable-completions (C-x $)' + List the possible completions of the text before point, treating it + as a shell variable. + +'complete-hostname (M-@)' + Attempt completion on the text before point, treating it as a + hostname. + +'possible-hostname-completions (C-x @)' + List the possible completions of the text before point, treating it + as a hostname. + +'complete-command (M-!)' + Attempt completion on the text before point, treating it as a + command name. Command completion attempts to match the text + against aliases, reserved words, shell functions, shell builtins, + and finally executable filenames, in that order. + +'possible-command-completions (C-x !)' + List the possible completions of the text before point, treating it + as a command name. + +'dynamic-complete-history (M-)' + Attempt completion on the text before point, comparing the text + against lines from the history list for possible completion + matches. + +'dabbrev-expand ()' + Attempt menu completion on the text before point, comparing the + text against lines from the history list for possible completion + matches. + +'complete-into-braces (M-{)' + Perform filename completion and insert the list of possible + completions enclosed within braces so the list is available to the + shell (*note Brace Expansion::). + + +File: bash.info, Node: Keyboard Macros, Next: Miscellaneous Commands, Prev: Commands For Completion, Up: Bindable Readline Commands + +8.4.7 Keyboard Macros +--------------------- + +'start-kbd-macro (C-x ()' + Begin saving the characters typed into the current keyboard macro. + +'end-kbd-macro (C-x ))' + Stop saving the characters typed into the current keyboard macro + and save the definition. + +'call-last-kbd-macro (C-x e)' + Re-execute the last keyboard macro defined, by making the + characters in the macro appear as if typed at the keyboard. + +'print-last-kbd-macro ()' + Print the last keboard macro defined in a format suitable for the + INPUTRC file. + + +File: bash.info, Node: Miscellaneous Commands, Prev: Keyboard Macros, Up: Bindable Readline Commands + +8.4.8 Some Miscellaneous Commands +--------------------------------- + +'re-read-init-file (C-x C-r)' + Read in the contents of the INPUTRC file, and incorporate any + bindings or variable assignments found there. + +'abort (C-g)' + Abort the current editing command and ring the terminal's bell + (subject to the setting of 'bell-style'). + +'do-uppercase-version (M-a, M-b, M-X, ...)' + If the metafied character X is lowercase, run the command that is + bound to the corresponding uppercase character. + +'prefix-meta ()' + Metafy the next character typed. This is for keyboards without a + meta key. Typing ' f' is equivalent to typing 'M-f'. + +'undo (C-_ or C-x C-u)' + Incremental undo, separately remembered for each line. + +'revert-line (M-r)' + Undo all changes made to this line. This is like executing the + 'undo' command enough times to get back to the beginning. + +'tilde-expand (M-&)' + Perform tilde expansion on the current word. + +'set-mark (C-@)' + Set the mark to the point. If a numeric argument is supplied, the + mark is set to that position. + +'exchange-point-and-mark (C-x C-x)' + Swap the point with the mark. The current cursor position is set + to the saved position, and the old cursor position is saved as the + mark. + +'character-search (C-])' + A character is read and point is moved to the next occurrence of + that character. A negative count searches for previous + occurrences. + +'character-search-backward (M-C-])' + A character is read and point is moved to the previous occurrence + of that character. A negative count searches for subsequent + occurrences. + +'skip-csi-sequence ()' + Read enough characters to consume a multi-key sequence such as + those defined for keys like Home and End. Such sequences begin + with a Control Sequence Indicator (CSI), usually ESC-[. If this + sequence is bound to "\e[", keys producing such sequences will have + no effect unless explicitly bound to a readline command, instead of + inserting stray characters into the editing buffer. This is + unbound by default, but usually bound to ESC-[. + +'insert-comment (M-#)' + Without a numeric argument, the value of the 'comment-begin' + variable is inserted at the beginning of the current line. If a + numeric argument is supplied, this command acts as a toggle: if the + characters at the beginning of the line do not match the value of + 'comment-begin', the value is inserted, otherwise the characters in + 'comment-begin' are deleted from the beginning of the line. In + either case, the line is accepted as if a newline had been typed. + The default value of 'comment-begin' causes this command to make + the current line a shell comment. If a numeric argument causes the + comment character to be removed, the line will be executed by the + shell. + +'dump-functions ()' + Print all of the functions and their key bindings to the Readline + output stream. If a numeric argument is supplied, the output is + formatted in such a way that it can be made part of an INPUTRC + file. This command is unbound by default. + +'dump-variables ()' + Print all of the settable variables and their values to the + Readline output stream. If a numeric argument is supplied, the + output is formatted in such a way that it can be made part of an + INPUTRC file. This command is unbound by default. + +'dump-macros ()' + Print all of the Readline key sequences bound to macros and the + strings they output. If a numeric argument is supplied, the output + is formatted in such a way that it can be made part of an INPUTRC + file. This command is unbound by default. + +'glob-complete-word (M-g)' + The word before point is treated as a pattern for pathname + expansion, with an asterisk implicitly appended. This pattern is + used to generate a list of matching file names for possible + completions. + +'glob-expand-word (C-x *)' + The word before point is treated as a pattern for pathname + expansion, and the list of matching file names is inserted, + replacing the word. If a numeric argument is supplied, a '*' is + appended before pathname expansion. + +'glob-list-expansions (C-x g)' + The list of expansions that would have been generated by + 'glob-expand-word' is displayed, and the line is redrawn. If a + numeric argument is supplied, a '*' is appended before pathname + expansion. + +'display-shell-version (C-x C-v)' + Display version information about the current instance of Bash. + +'shell-expand-line (M-C-e)' + Expand the line as the shell does. This performs alias and history + expansion as well as all of the shell word expansions (*note Shell + Expansions::). + +'history-expand-line (M-^)' + Perform history expansion on the current line. + +'magic-space ()' + Perform history expansion on the current line and insert a space + (*note History Interaction::). + +'alias-expand-line ()' + Perform alias expansion on the current line (*note Aliases::). + +'history-and-alias-expand-line ()' + Perform history and alias expansion on the current line. + +'insert-last-argument (M-. or M-_)' + A synonym for 'yank-last-arg'. + +'operate-and-get-next (C-o)' + Accept the current line for execution and fetch the next line + relative to the current line from the history for editing. Any + argument is ignored. + +'edit-and-execute-command (C-xC-e)' + Invoke an editor on the current command line, and execute the + result as shell commands. Bash attempts to invoke '$VISUAL', + '$EDITOR', and 'emacs' as the editor, in that order. + + +File: bash.info, Node: Readline vi Mode, Next: Programmable Completion, Prev: Bindable Readline Commands, Up: Command Line Editing + +8.5 Readline vi Mode +==================== + +While the Readline library does not have a full set of 'vi' editing +functions, it does contain enough to allow simple editing of the line. +The Readline 'vi' mode behaves as specified in the POSIX standard. + + In order to switch interactively between 'emacs' and 'vi' editing +modes, use the 'set -o emacs' and 'set -o vi' commands (*note The Set +Builtin::). The Readline default is 'emacs' mode. + + When you enter a line in 'vi' mode, you are already placed in +'insertion' mode, as if you had typed an 'i'. Pressing switches +you into 'command' mode, where you can edit the text of the line with +the standard 'vi' movement keys, move to previous history lines with 'k' +and subsequent lines with 'j', and so forth. + + +File: bash.info, Node: Programmable Completion, Next: Programmable Completion Builtins, Prev: Readline vi Mode, Up: Command Line Editing + +8.6 Programmable Completion +=========================== + +When word completion is attempted for an argument to a command for which +a completion specification (a COMPSPEC) has been defined using the +'complete' builtin (*note Programmable Completion Builtins::), the +programmable completion facilities are invoked. + + First, the command name is identified. If a compspec has been +defined for that command, the compspec is used to generate the list of +possible completions for the word. If the command word is the empty +string (completion attempted at the beginning of an empty line), any +compspec defined with the '-E' option to 'complete' is used. If the +command word is a full pathname, a compspec for the full pathname is +searched for first. If no compspec is found for the full pathname, an +attempt is made to find a compspec for the portion following the final +slash. If those searches do not result in a compspec, any compspec +defined with the '-D' option to 'complete' is used as the default. + + Once a compspec has been found, it is used to generate the list of +matching words. If a compspec is not found, the default Bash completion +described above (*note Commands For Completion::) is performed. + + First, the actions specified by the compspec are used. Only matches +which are prefixed by the word being completed are returned. When the +'-f' or '-d' option is used for filename or directory name completion, +the shell variable 'FIGNORE' is used to filter the matches. *Note Bash +Variables::, for a description of 'FIGNORE'. + + Any completions specified by a filename expansion pattern to the '-G' +option are generated next. The words generated by the pattern need not +match the word being completed. The 'GLOBIGNORE' shell variable is not +used to filter the matches, but the 'FIGNORE' shell variable is used. + + Next, the string specified as the argument to the '-W' option is +considered. The string is first split using the characters in the 'IFS' +special variable as delimiters. Shell quoting is honored. Each word is +then expanded using brace expansion, tilde expansion, parameter and +variable expansion, command substitution, and arithmetic expansion, as +described above (*note Shell Expansions::). The results are split using +the rules described above (*note Word Splitting::). The results of the +expansion are prefix-matched against the word being completed, and the +matching words become the possible completions. + + After these matches have been generated, any shell function or +command specified with the '-F' and '-C' options is invoked. When the +command or function is invoked, the 'COMP_LINE', 'COMP_POINT', +'COMP_KEY', and 'COMP_TYPE' variables are assigned values as described +above (*note Bash Variables::). If a shell function is being invoked, +the 'COMP_WORDS' and 'COMP_CWORD' variables are also set. When the +function or command is invoked, the first argument ($1) is the name of +the command whose arguments are being completed, the second argument +($2) is the word being completed, and the third argument ($3) is the +word preceding the word being completed on the current command line. No +filtering of the generated completions against the word being completed +is performed; the function or command has complete freedom in generating +the matches. + + Any function specified with '-F' is invoked first. The function may +use any of the shell facilities, including the 'compgen' and 'compopt' +builtins described below (*note Programmable Completion Builtins::), to +generate the matches. It must put the possible completions in the +'COMPREPLY' array variable, one per array element. + + Next, any command specified with the '-C' option is invoked in an +environment equivalent to command substitution. It should print a list +of completions, one per line, to the standard output. Backslash may be +used to escape a newline, if necessary. + + After all of the possible completions are generated, any filter +specified with the '-X' option is applied to the list. The filter is a +pattern as used for pathname expansion; a '&' in the pattern is replaced +with the text of the word being completed. A literal '&' may be escaped +with a backslash; the backslash is removed before attempting a match. +Any completion that matches the pattern will be removed from the list. +A leading '!' negates the pattern; in this case any completion not +matching the pattern will be removed. If the 'nocasematch' shell option +(see the description of 'shopt' in *note The Shopt Builtin::) is +enabled, the match is performed without regard to the case of alphabetic +characters. + + Finally, any prefix and suffix specified with the '-P' and '-S' +options are added to each member of the completion list, and the result +is returned to the Readline completion code as the list of possible +completions. + + If the previously-applied actions do not generate any matches, and +the '-o dirnames' option was supplied to 'complete' when the compspec +was defined, directory name completion is attempted. + + If the '-o plusdirs' option was supplied to 'complete' when the +compspec was defined, directory name completion is attempted and any +matches are added to the results of the other actions. + + By default, if a compspec is found, whatever it generates is returned +to the completion code as the full set of possible completions. The +default Bash completions are not attempted, and the Readline default of +filename completion is disabled. If the '-o bashdefault' option was +supplied to 'complete' when the compspec was defined, the default Bash +completions are attempted if the compspec generates no matches. If the +'-o default' option was supplied to 'complete' when the compspec was +defined, Readline's default completion will be performed if the compspec +(and, if attempted, the default Bash completions) generate no matches. + + When a compspec indicates that directory name completion is desired, +the programmable completion functions force Readline to append a slash +to completed names which are symbolic links to directories, subject to +the value of the MARK-DIRECTORIES Readline variable, regardless of the +setting of the MARK-SYMLINKED-DIRECTORIES Readline variable. + + There is some support for dynamically modifying completions. This is +most useful when used in combination with a default completion specified +with '-D'. It's possible for shell functions executed as completion +handlers to indicate that completion should be retried by returning an +exit status of 124. If a shell function returns 124, and changes the +compspec associated with the command on which completion is being +attempted (supplied as the first argument when the function is +executed), programmable completion restarts from the beginning, with an +attempt to find a new compspec for that command. This allows a set of +completions to be built dynamically as completion is attempted, rather +than being loaded all at once. + + For instance, assuming that there is a library of compspecs, each +kept in a file corresponding to the name of the command, the following +default completion function would load completions dynamically: + + _completion_loader() + { + . "/etc/bash_completion.d/$1.sh" >/dev/null 2>&1 && return 124 + } + complete -D -F _completion_loader -o bashdefault -o default + + +File: bash.info, Node: Programmable Completion Builtins, Next: A Programmable Completion Example, Prev: Programmable Completion, Up: Command Line Editing + +8.7 Programmable Completion Builtins +==================================== + +Three builtin commands are available to manipulate the programmable +completion facilities: one to specify how the arguments to a particular +command are to be completed, and two to modify the completion as it is +happening. + +'compgen' + compgen [OPTION] [WORD] + + Generate possible completion matches for WORD according to the + OPTIONs, which may be any option accepted by the 'complete' builtin + with the exception of '-p' and '-r', and write the matches to the + standard output. When using the '-F' or '-C' options, the various + shell variables set by the programmable completion facilities, + while available, will not have useful values. + + The matches will be generated in the same way as if the + programmable completion code had generated them directly from a + completion specification with the same flags. If WORD is + specified, only those completions matching WORD will be displayed. + + The return value is true unless an invalid option is supplied, or + no matches were generated. + +'complete' + complete [-abcdefgjksuv] [-o COMP-OPTION] [-DE] [-A ACTION] [-G GLOBPAT] [-W WORDLIST] + [-F FUNCTION] [-C COMMAND] [-X FILTERPAT] + [-P PREFIX] [-S SUFFIX] NAME [NAME ...] + complete -pr [-DE] [NAME ...] + + Specify how arguments to each NAME should be completed. If the + '-p' option is supplied, or if no options are supplied, existing + completion specifications are printed in a way that allows them to + be reused as input. The '-r' option removes a completion + specification for each NAME, or, if no NAMEs are supplied, all + completion specifications. The '-D' option indicates that the + remaining options and actions should apply to the "default" command + completion; that is, completion attempted on a command for which no + completion has previously been defined. The '-E' option indicates + that the remaining options and actions should apply to "empty" + command completion; that is, completion attempted on a blank line. + + The process of applying these completion specifications when word + completion is attempted is described above (*note Programmable + Completion::). The '-D' option takes precedence over '-E'. + + Other options, if specified, have the following meanings. The + arguments to the '-G', '-W', and '-X' options (and, if necessary, + the '-P' and '-S' options) should be quoted to protect them from + expansion before the 'complete' builtin is invoked. + + '-o COMP-OPTION' + The COMP-OPTION controls several aspects of the compspec's + behavior beyond the simple generation of completions. + COMP-OPTION may be one of: + + 'bashdefault' + Perform the rest of the default Bash completions if the + compspec generates no matches. + + 'default' + Use Readline's default filename completion if the + compspec generates no matches. + + 'dirnames' + Perform directory name completion if the compspec + generates no matches. + + 'filenames' + Tell Readline that the compspec generates filenames, so + it can perform any filename-specific processing (like + adding a slash to directory names quoting special + characters, or suppressing trailing spaces). This option + is intended to be used with shell functions specified + with '-F'. + + 'noquote' + Tell Readline not to quote the completed words if they + are filenames (quoting filenames is the default). + + 'nosort' + Tell Readline not to sort the list of possible + completions alphabetically. + + 'nospace' + Tell Readline not to append a space (the default) to + words completed at the end of the line. + + 'plusdirs' + After any matches defined by the compspec are generated, + directory name completion is attempted and any matches + are added to the results of the other actions. + + '-A ACTION' + The ACTION may be one of the following to generate a list of + possible completions: + + 'alias' + Alias names. May also be specified as '-a'. + + 'arrayvar' + Array variable names. + + 'binding' + Readline key binding names (*note Bindable Readline + Commands::). + + 'builtin' + Names of shell builtin commands. May also be specified + as '-b'. + + 'command' + Command names. May also be specified as '-c'. + + 'directory' + Directory names. May also be specified as '-d'. + + 'disabled' + Names of disabled shell builtins. + + 'enabled' + Names of enabled shell builtins. + + 'export' + Names of exported shell variables. May also be specified + as '-e'. + + 'file' + File names. May also be specified as '-f'. + + 'function' + Names of shell functions. + + 'group' + Group names. May also be specified as '-g'. + + 'helptopic' + Help topics as accepted by the 'help' builtin (*note Bash + Builtins::). + + 'hostname' + Hostnames, as taken from the file specified by the + 'HOSTFILE' shell variable (*note Bash Variables::). + + 'job' + Job names, if job control is active. May also be + specified as '-j'. + + 'keyword' + Shell reserved words. May also be specified as '-k'. + + 'running' + Names of running jobs, if job control is active. + + 'service' + Service names. May also be specified as '-s'. + + 'setopt' + Valid arguments for the '-o' option to the 'set' builtin + (*note The Set Builtin::). + + 'shopt' + Shell option names as accepted by the 'shopt' builtin + (*note Bash Builtins::). + + 'signal' + Signal names. + + 'stopped' + Names of stopped jobs, if job control is active. + + 'user' + User names. May also be specified as '-u'. + + 'variable' + Names of all shell variables. May also be specified as + '-v'. + + '-C COMMAND' + COMMAND is executed in a subshell environment, and its output + is used as the possible completions. + + '-F FUNCTION' + The shell function FUNCTION is executed in the current shell + environment. When it is executed, $1 is the name of the + command whose arguments are being completed, $2 is the word + being completed, and $3 is the word preceding the word being + completed, as described above (*note Programmable + Completion::). When it finishes, the possible completions are + retrieved from the value of the 'COMPREPLY' array variable. + + '-G GLOBPAT' + The filename expansion pattern GLOBPAT is expanded to generate + the possible completions. + + '-P PREFIX' + PREFIX is added at the beginning of each possible completion + after all other options have been applied. + + '-S SUFFIX' + SUFFIX is appended to each possible completion after all other + options have been applied. + + '-W WORDLIST' + The WORDLIST is split using the characters in the 'IFS' + special variable as delimiters, and each resultant word is + expanded. The possible completions are the members of the + resultant list which match the word being completed. + + '-X FILTERPAT' + FILTERPAT is a pattern as used for filename expansion. It is + applied to the list of possible completions generated by the + preceding options and arguments, and each completion matching + FILTERPAT is removed from the list. A leading '!' in + FILTERPAT negates the pattern; in this case, any completion + not matching FILTERPAT is removed. + + The return value is true unless an invalid option is supplied, an + option other than '-p' or '-r' is supplied without a NAME argument, + an attempt is made to remove a completion specification for a NAME + for which no specification exists, or an error occurs adding a + completion specification. + +'compopt' + compopt [-o OPTION] [-DE] [+o OPTION] [NAME] + Modify completion options for each NAME according to the OPTIONs, + or for the currently-executing completion if no NAMEs are supplied. + If no OPTIONs are given, display the completion options for each + NAME or the current completion. The possible values of OPTION are + those valid for the 'complete' builtin described above. The '-D' + option indicates that the remaining options should apply to the + "default" command completion; that is, completion attempted on a + command for which no completion has previously been defined. The + '-E' option indicates that the remaining options should apply to + "empty" command completion; that is, completion attempted on a + blank line. + + The '-D' option takes precedence over '-E'. + + The return value is true unless an invalid option is supplied, an + attempt is made to modify the options for a NAME for which no + completion specification exists, or an output error occurs. + + +File: bash.info, Node: A Programmable Completion Example, Prev: Programmable Completion Builtins, Up: Command Line Editing + +8.8 A Programmable Completion Example +===================================== + +The most common way to obtain additional completion functionality beyond +the default actions 'complete' and 'compgen' provide is to use a shell +function and bind it to a particular command using 'complete -F'. + + The following function provides completions for the 'cd' builtin. It +is a reasonably good example of what shell functions must do when used +for completion. This function uses the word passsed as '$2' to +determine the directory name to complete. You can also use the +'COMP_WORDS' array variable; the current word is indexed by the +'COMP_CWORD' variable. + + The function relies on the 'complete' and 'compgen' builtins to do +much of the work, adding only the things that the Bash 'cd' does beyond +accepting basic directory names: tilde expansion (*note Tilde +Expansion::), searching directories in $CDPATH, which is described above +(*note Bourne Shell Builtins::), and basic support for the 'cdable_vars' +shell option (*note The Shopt Builtin::). '_comp_cd' modifies the value +of IFS so that it contains only a newline to accommodate file names +containing spaces and tabs - 'compgen' prints the possible completions +it generates one per line. + + Possible completions go into the COMPREPLY array variable, one +completion per array element. The programmable completion system +retrieves the completions from there when the function returns. + + # A completion function for the cd builtin + # based on the cd completion function from the bash_completion package + _comp_cd() + { + local IFS=$' \t\n' # normalize IFS + local cur _skipdot _cdpath + local i j k + + # Tilde expansion, with side effect of expanding tilde to full pathname + case "$2" in + \~*) eval cur="$2" ;; + *) cur=$2 ;; + esac + + # no cdpath or absolute pathname -- straight directory completion + if [[ -z "${CDPATH:-}" ]] || [[ "$cur" == @(./*|../*|/*) ]]; then + # compgen prints paths one per line; could also use while loop + IFS=$'\n' + COMPREPLY=( $(compgen -d -- "$cur") ) + IFS=$' \t\n' + # CDPATH+directories in the current directory if not in CDPATH + else + IFS=$'\n' + _skipdot=false + # preprocess CDPATH to convert null directory names to . + _cdpath=${CDPATH/#:/.:} + _cdpath=${_cdpath//::/:.:} + _cdpath=${_cdpath/%:/:.} + for i in ${_cdpath//:/$'\n'}; do + if [[ $i -ef . ]]; then _skipdot=true; fi + k="${#COMPREPLY[@]}" + for j in $( compgen -d -- "$i/$cur" ); do + COMPREPLY[k++]=${j#$i/} # cut off directory + done + done + $_skipdot || COMPREPLY+=( $(compgen -d -- "$cur") ) + IFS=$' \t\n' + fi + + # variable names if appropriate shell option set and no completions + if shopt -q cdable_vars && [[ ${#COMPREPLY[@]} -eq 0 ]]; then + COMPREPLY=( $(compgen -v -- "$cur") ) + fi + + return 0 + } + + We install the completion function using the '-F' option to +'complete': + + # Tell readline to quote appropriate and append slashes to directories; + # use the bash default completion for other arguments + complete -o filenames -o nospace -o bashdefault -F _comp_cd cd + +Since we'd like Bash and Readline to take care of some of the other +details for us, we use several other options to tell Bash and Readline +what to do. The '-o filenames' option tells Readline that the possible +completions should be treated as filenames, and quoted appropriately. +That option will also cause Readline to append a slash to filenames it +can determine are directories (which is why we might want to extend +'_comp_cd' to append a slash if we're using directories found via +CDPATH: Readline can't tell those completions are directories). The '-o +nospace' option tells Readline to not append a space character to the +directory name, in case we want to append to it. The '-o bashdefault' +option brings in the rest of the "Bash default" completions - possible +completion that Bash adds to the default Readline set. These include +things like command name completion, variable completion for words +beginning with '{', completions containing pathname expansion patterns +(*note Filename Expansion::), and so on. + + Once installed using 'complete', '_comp_cd' will be called every time +we attempt word completion for a 'cd' command. + + Many more examples - an extensive collection of completions for most +of the common GNU, Unix, and Linux commands - are available as part of +the bash_completion project. This is installed by default on many +GNU/Linux distributions. Originally written by Ian Macdonald, the +project now lives at . There +are ports for other systems such as Solaris and Mac OS X. + + An older version of the bash_completion package is distributed with +bash in the 'examples/complete' subdirectory. + + +File: bash.info, Node: Using History Interactively, Next: Installing Bash, Prev: Command Line Editing, Up: Top + +9 Using History Interactively +***************************** + +This chapter describes how to use the GNU History Library interactively, +from a user's standpoint. It should be considered a user's guide. For +information on using the GNU History Library in other programs, see the +GNU Readline Library Manual. + +* Menu: + +* Bash History Facilities:: How Bash lets you manipulate your command + history. +* Bash History Builtins:: The Bash builtin commands that manipulate + the command history. +* History Interaction:: What it feels like using History as a user. + + +File: bash.info, Node: Bash History Facilities, Next: Bash History Builtins, Up: Using History Interactively + +9.1 Bash History Facilities +=========================== + +When the '-o history' option to the 'set' builtin is enabled (*note The +Set Builtin::), the shell provides access to the "command history", the +list of commands previously typed. The value of the 'HISTSIZE' shell +variable is used as the number of commands to save in a history list. +The text of the last '$HISTSIZE' commands (default 500) is saved. The +shell stores each command in the history list prior to parameter and +variable expansion but after history expansion is performed, subject to +the values of the shell variables 'HISTIGNORE' and 'HISTCONTROL'. + + When the shell starts up, the history is initialized from the file +named by the 'HISTFILE' variable (default '~/.bash_history'). The file +named by the value of 'HISTFILE' is truncated, if necessary, to contain +no more than the number of lines specified by the value of the +'HISTFILESIZE' variable. When a shell with history enabled exits, the +last '$HISTSIZE' lines are copied from the history list to the file +named by '$HISTFILE'. If the 'histappend' shell option is set (*note +Bash Builtins::), the lines are appended to the history file, otherwise +the history file is overwritten. If 'HISTFILE' is unset, or if the +history file is unwritable, the history is not saved. After saving the +history, the history file is truncated to contain no more than +'$HISTFILESIZE' lines. If 'HISTFILESIZE' is unset, or set to null, a +non-numeric value, or a numeric value less than zero, the history file +is not truncated. + + If the 'HISTTIMEFORMAT' is set, the time stamp information associated +with each history entry is written to the history file, marked with the +history comment character. When the history file is read, lines +beginning with the history comment character followed immediately by a +digit are interpreted as timestamps for the following history entry. + + The builtin command 'fc' may be used to list or edit and re-execute a +portion of the history list. The 'history' builtin may be used to +display or modify the history list and manipulate the history file. +When using command-line editing, search commands are available in each +editing mode that provide access to the history list (*note Commands For +History::). + + The shell allows control over which commands are saved on the history +list. The 'HISTCONTROL' and 'HISTIGNORE' variables may be set to cause +the shell to save only a subset of the commands entered. The 'cmdhist' +shell option, if enabled, causes the shell to attempt to save each line +of a multi-line command in the same history entry, adding semicolons +where necessary to preserve syntactic correctness. The 'lithist' shell +option causes the shell to save the command with embedded newlines +instead of semicolons. The 'shopt' builtin is used to set these +options. *Note Bash Builtins::, for a description of 'shopt'. + + +File: bash.info, Node: Bash History Builtins, Next: History Interaction, Prev: Bash History Facilities, Up: Using History Interactively + +9.2 Bash History Builtins +========================= + +Bash provides two builtin commands which manipulate the history list and +history file. + +'fc' + fc [-e ENAME] [-lnr] [FIRST] [LAST] + fc -s [PAT=REP] [COMMAND] + + The first form selects a range of commands from FIRST to LAST from + the history list and displays or edits and re-executes them. Both + FIRST and LAST may be specified as a string (to locate the most + recent command beginning with that string) or as a number (an index + into the history list, where a negative number is used as an offset + from the current command number). If LAST is not specified it is + set to FIRST. If FIRST is not specified it is set to the previous + command for editing and -16 for listing. If the '-l' flag is + given, the commands are listed on standard output. The '-n' flag + suppresses the command numbers when listing. The '-r' flag + reverses the order of the listing. Otherwise, the editor given by + ENAME is invoked on a file containing those commands. If ENAME is + not given, the value of the following variable expansion is used: + '${FCEDIT:-${EDITOR:-vi}}'. This says to use the value of the + 'FCEDIT' variable if set, or the value of the 'EDITOR' variable if + that is set, or 'vi' if neither is set. When editing is complete, + the edited commands are echoed and executed. + + In the second form, COMMAND is re-executed after each instance of + PAT in the selected command is replaced by REP. COMMAND is + intepreted the same as FIRST above. + + A useful alias to use with the 'fc' command is 'r='fc -s'', so that + typing 'r cc' runs the last command beginning with 'cc' and typing + 'r' re-executes the last command (*note Aliases::). + +'history' + history [N] + history -c + history -d OFFSET + history [-anrw] [FILENAME] + history -ps ARG + + With no options, display the history list with line numbers. Lines + prefixed with a '*' have been modified. An argument of N lists + only the last N lines. If the shell variable 'HISTTIMEFORMAT' is + set and not null, it is used as a format string for STRFTIME to + display the time stamp associated with each displayed history + entry. No intervening blank is printed between the formatted time + stamp and the history line. + + Options, if supplied, have the following meanings: + + '-c' + Clear the history list. This may be combined with the other + options to replace the history list completely. + + '-d OFFSET' + Delete the history entry at position OFFSET. OFFSET should be + specified as it appears when the history is displayed. + + '-a' + Append the new history lines to the history file. These are + history lines entered since the beginning of the current Bash + session, but not already appended to the history file. + + '-n' + Append the history lines not already read from the history + file to the current history list. These are lines appended to + the history file since the beginning of the current Bash + session. + + '-r' + Read the history file and append its contents to the history + list. + + '-w' + Write out the current history list to the history file. + + '-p' + Perform history substitution on the ARGs and display the + result on the standard output, without storing the results in + the history list. + + '-s' + The ARGs are added to the end of the history list as a single + entry. + + When any of the '-w', '-r', '-a', or '-n' options is used, if + FILENAME is given, then it is used as the history file. If not, + then the value of the 'HISTFILE' variable is used. + + +File: bash.info, Node: History Interaction, Prev: Bash History Builtins, Up: Using History Interactively + +9.3 History Expansion +===================== + +The History library provides a history expansion feature that is similar +to the history expansion provided by 'csh'. This section describes the +syntax used to manipulate the history information. + + History expansions introduce words from the history list into the +input stream, making it easy to repeat commands, insert the arguments to +a previous command into the current input line, or fix errors in +previous commands quickly. + + History expansion is performed immediately after a complete line is +read, before the shell breaks it into words. + + History expansion takes place in two parts. The first is to +determine which line from the history list should be used during +substitution. The second is to select portions of that line for +inclusion into the current one. The line selected from the history is +called the "event", and the portions of that line that are acted upon +are called "words". Various "modifiers" are available to manipulate the +selected words. The line is broken into words in the same fashion that +Bash does, so that several words surrounded by quotes are considered one +word. History expansions are introduced by the appearance of the +history expansion character, which is '!' by default. Only '\' and ''' +may be used to escape the history expansion character, but the history +expansion character is also treated as quoted if it immediately precedes +the closing double quote in a double-quoted string. + + Several shell options settable with the 'shopt' builtin (*note Bash +Builtins::) may be used to tailor the behavior of history expansion. If +the 'histverify' shell option is enabled, and Readline is being used, +history substitutions are not immediately passed to the shell parser. +Instead, the expanded line is reloaded into the Readline editing buffer +for further modification. If Readline is being used, and the +'histreedit' shell option is enabled, a failed history expansion will be +reloaded into the Readline editing buffer for correction. The '-p' +option to the 'history' builtin command may be used to see what a +history expansion will do before using it. The '-s' option to the +'history' builtin may be used to add commands to the end of the history +list without actually executing them, so that they are available for +subsequent recall. This is most useful in conjunction with Readline. + + The shell allows control of the various characters used by the +history expansion mechanism with the 'histchars' variable, as explained +above (*note Bash Variables::). The shell uses the history comment +character to mark history timestamps when writing the history file. + +* Menu: + +* Event Designators:: How to specify which history line to use. +* Word Designators:: Specifying which words are of interest. +* Modifiers:: Modifying the results of substitution. + + +File: bash.info, Node: Event Designators, Next: Word Designators, Up: History Interaction + +9.3.1 Event Designators +----------------------- + +An event designator is a reference to a command line entry in the +history list. Unless the reference is absolute, events are relative to +the current position in the history list. + +'!' + Start a history substitution, except when followed by a space, tab, + the end of the line, '=' or '(' (when the 'extglob' shell option is + enabled using the 'shopt' builtin). + +'!N' + Refer to command line N. + +'!-N' + Refer to the command N lines back. + +'!!' + Refer to the previous command. This is a synonym for '!-1'. + +'!STRING' + Refer to the most recent command preceding the current position in + the history list starting with STRING. + +'!?STRING[?]' + Refer to the most recent command preceding the current position in + the history list containing STRING. The trailing '?' may be + omitted if the STRING is followed immediately by a newline. + +'^STRING1^STRING2^' + Quick Substitution. Repeat the last command, replacing STRING1 + with STRING2. Equivalent to '!!:s/STRING1/STRING2/'. + +'!#' + The entire command line typed so far. + + +File: bash.info, Node: Word Designators, Next: Modifiers, Prev: Event Designators, Up: History Interaction + +9.3.2 Word Designators +---------------------- + +Word designators are used to select desired words from the event. A ':' +separates the event specification from the word designator. It may be +omitted if the word designator begins with a '^', '$', '*', '-', or '%'. +Words are numbered from the beginning of the line, with the first word +being denoted by 0 (zero). Words are inserted into the current line +separated by single spaces. + + For example, + +'!!' + designates the preceding command. When you type this, the + preceding command is repeated in toto. + +'!!:$' + designates the last argument of the preceding command. This may be + shortened to '!$'. + +'!fi:2' + designates the second argument of the most recent command starting + with the letters 'fi'. + + Here are the word designators: + +'0 (zero)' + The '0'th word. For many applications, this is the command word. + +'N' + The Nth word. + +'^' + The first argument; that is, word 1. + +'$' + The last argument. + +'%' + The word matched by the most recent '?STRING?' search. + +'X-Y' + A range of words; '-Y' abbreviates '0-Y'. + +'*' + All of the words, except the '0'th. This is a synonym for '1-$'. + It is not an error to use '*' if there is just one word in the + event; the empty string is returned in that case. + +'X*' + Abbreviates 'X-$' + +'X-' + Abbreviates 'X-$' like 'X*', but omits the last word. + + If a word designator is supplied without an event specification, the +previous command is used as the event. + + +File: bash.info, Node: Modifiers, Prev: Word Designators, Up: History Interaction + +9.3.3 Modifiers +--------------- + +After the optional word designator, you can add a sequence of one or +more of the following modifiers, each preceded by a ':'. + +'h' + Remove a trailing pathname component, leaving only the head. + +'t' + Remove all leading pathname components, leaving the tail. + +'r' + Remove a trailing suffix of the form '.SUFFIX', leaving the + basename. + +'e' + Remove all but the trailing suffix. + +'p' + Print the new command but do not execute it. + +'q' + Quote the substituted words, escaping further substitutions. + +'x' + Quote the substituted words as with 'q', but break into words at + spaces, tabs, and newlines. + +'s/OLD/NEW/' + Substitute NEW for the first occurrence of OLD in the event line. + Any delimiter may be used in place of '/'. The delimiter may be + quoted in OLD and NEW with a single backslash. If '&' appears in + NEW, it is replaced by OLD. A single backslash will quote the '&'. + The final delimiter is optional if it is the last character on the + input line. + +'&' + Repeat the previous substitution. + +'g' +'a' + Cause changes to be applied over the entire event line. Used in + conjunction with 's', as in 'gs/OLD/NEW/', or with '&'. + +'G' + Apply the following 's' modifier once to each word in the event. + + +File: bash.info, Node: Installing Bash, Next: Reporting Bugs, Prev: Using History Interactively, Up: Top + +10 Installing Bash +****************** + +This chapter provides basic instructions for installing Bash on the +various supported platforms. The distribution supports the GNU +operating systems, nearly every version of Unix, and several non-Unix +systems such as BeOS and Interix. Other independent ports exist for +MS-DOS, OS/2, and Windows platforms. + +* Menu: + +* Basic Installation:: Installation instructions. +* Compilers and Options:: How to set special options for various + systems. +* Compiling For Multiple Architectures:: How to compile Bash for more + than one kind of system from + the same source tree. +* Installation Names:: How to set the various paths used by the installation. +* Specifying the System Type:: How to configure Bash for a particular system. +* Sharing Defaults:: How to share default configuration values among GNU + programs. +* Operation Controls:: Options recognized by the configuration program. +* Optional Features:: How to enable and disable optional features when + building Bash. + + +File: bash.info, Node: Basic Installation, Next: Compilers and Options, Up: Installing Bash + +10.1 Basic Installation +======================= + +These are installation instructions for Bash. + + The simplest way to compile Bash is: + + 1. 'cd' to the directory containing the source code and type + './configure' to configure Bash for your system. If you're using + 'csh' on an old version of System V, you might need to type 'sh + ./configure' instead to prevent 'csh' from trying to execute + 'configure' itself. + + Running 'configure' takes some time. While running, it prints + messages telling which features it is checking for. + + 2. Type 'make' to compile Bash and build the 'bashbug' bug reporting + script. + + 3. Optionally, type 'make tests' to run the Bash test suite. + + 4. Type 'make install' to install 'bash' and 'bashbug'. This will + also install the manual pages and Info file. + + The 'configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a 'Makefile' in each directory of the package +(the top directory, the 'builtins', 'doc', and 'support' directories, +each directory under 'lib', and several others). It also creates a +'config.h' file containing system-dependent definitions. Finally, it +creates a shell script named 'config.status' that you can run in the +future to recreate the current configuration, a file 'config.cache' that +saves the results of its tests to speed up reconfiguring, and a file +'config.log' containing compiler output (useful mainly for debugging +'configure'). If at some point 'config.cache' contains results you +don't want to keep, you may remove or edit it. + + To find out more about the options and arguments that the 'configure' +script understands, type + + bash-2.04$ ./configure --help + +at the Bash prompt in your Bash source directory. + + If you need to do unusual things to compile Bash, please try to +figure out how 'configure' could check whether or not to do them, and +mail diffs or instructions to so they can be +considered for the next release. + + The file 'configure.ac' is used to create 'configure' by a program +called Autoconf. You only need 'configure.ac' if you want to change it +or regenerate 'configure' using a newer version of Autoconf. If you do +this, make sure you are using Autoconf version 2.50 or newer. + + You can remove the program binaries and object files from the source +code directory by typing 'make clean'. To also remove the files that +'configure' created (so you can compile Bash for a different kind of +computer), type 'make distclean'. + + +File: bash.info, Node: Compilers and Options, Next: Compiling For Multiple Architectures, Prev: Basic Installation, Up: Installing Bash + +10.2 Compilers and Options +========================== + +Some systems require unusual options for compilation or linking that the +'configure' script does not know about. You can give 'configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + + On systems that have the 'env' program, you can do it like this: + + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + + The configuration process uses GCC to build Bash if it is available. + + +File: bash.info, Node: Compiling For Multiple Architectures, Next: Installation Names, Prev: Compilers and Options, Up: Installing Bash + +10.3 Compiling For Multiple Architectures +========================================= + +You can compile Bash for more than one kind of computer at the same +time, by placing the object files for each architecture in their own +directory. To do this, you must use a version of 'make' that supports +the 'VPATH' variable, such as GNU 'make'. 'cd' to the directory where +you want the object files and executables to go and run the 'configure' +script from the source directory. You may need to supply the +'--srcdir=PATH' argument to tell 'configure' where the source files are. +'configure' automatically checks for the source code in the directory +that 'configure' is in and in '..'. + + If you have to use a 'make' that does not supports the 'VPATH' +variable, you can compile Bash for one architecture at a time in the +source code directory. After you have installed Bash for one +architecture, use 'make distclean' before reconfiguring for another +architecture. + + Alternatively, if your system supports symbolic links, you can use +the 'support/mkclone' script to create a build tree which has symbolic +links back to each file in the source directory. Here's an example that +creates a build directory in the current directory from a source +directory '/usr/gnu/src/bash-2.0': + + bash /usr/gnu/src/bash-2.0/support/mkclone -s /usr/gnu/src/bash-2.0 . + +The 'mkclone' script requires Bash, so you must have already built Bash +for at least one architecture before you can create build directories +for other architectures. + + +File: bash.info, Node: Installation Names, Next: Specifying the System Type, Prev: Compiling For Multiple Architectures, Up: Installing Bash + +10.4 Installation Names +======================= + +By default, 'make install' will install into '/usr/local/bin', +'/usr/local/man', etc. You can specify an installation prefix other +than '/usr/local' by giving 'configure' the option '--prefix=PATH', or +by specifying a value for the 'DESTDIR' 'make' variable when running +'make install'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give 'configure' the option '--exec-prefix=PATH', 'make install' will +use PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + +File: bash.info, Node: Specifying the System Type, Next: Sharing Defaults, Prev: Installation Names, Up: Installing Bash + +10.5 Specifying the System Type +=============================== + +There may be some features 'configure' can not figure out automatically, +but need to determine by the type of host Bash will run on. Usually +'configure' can figure that out, but if it prints a message saying it +can not guess the host type, give it the '--host=TYPE' option. 'TYPE' +can either be a short name for the system type, such as 'sun4', or a +canonical name with three fields: 'CPU-COMPANY-SYSTEM' (e.g., +'i386-unknown-freebsd4.2'). + + See the file 'support/config.sub' for the possible values of each +field. + + +File: bash.info, Node: Sharing Defaults, Next: Operation Controls, Prev: Specifying the System Type, Up: Installing Bash + +10.6 Sharing Defaults +===================== + +If you want to set default values for 'configure' scripts to share, you +can create a site shell script called 'config.site' that gives default +values for variables like 'CC', 'cache_file', and 'prefix'. 'configure' +looks for 'PREFIX/share/config.site' if it exists, then +'PREFIX/etc/config.site' if it exists. Or, you can set the +'CONFIG_SITE' environment variable to the location of the site script. +A warning: the Bash 'configure' looks for a site script, but not all +'configure' scripts do. + + +File: bash.info, Node: Operation Controls, Next: Optional Features, Prev: Sharing Defaults, Up: Installing Bash + +10.7 Operation Controls +======================= + +'configure' recognizes the following options to control how it operates. + +'--cache-file=FILE' + Use and save the results of the tests in FILE instead of + './config.cache'. Set FILE to '/dev/null' to disable caching, for + debugging 'configure'. + +'--help' + Print a summary of the options to 'configure', and exit. + +'--quiet' +'--silent' +'-q' + Do not print messages saying which checks are being made. + +'--srcdir=DIR' + Look for the Bash source code in directory DIR. Usually + 'configure' can determine that directory automatically. + +'--version' + Print the version of Autoconf used to generate the 'configure' + script, and exit. + + 'configure' also accepts some other, not widely used, boilerplate +options. 'configure --help' prints the complete list. + + +File: bash.info, Node: Optional Features, Prev: Operation Controls, Up: Installing Bash + +10.8 Optional Features +====================== + +The Bash 'configure' has a number of '--enable-FEATURE' options, where +FEATURE indicates an optional part of Bash. There are also several +'--with-PACKAGE' options, where PACKAGE is something like 'bash-malloc' +or 'purify'. To turn off the default use of a package, use +'--without-PACKAGE'. To configure Bash without a feature that is +enabled by default, use '--disable-FEATURE'. + + Here is a complete list of the '--enable-' and '--with-' options that +the Bash 'configure' recognizes. + +'--with-afs' + Define if you are using the Andrew File System from Transarc. + +'--with-bash-malloc' + Use the Bash version of 'malloc' in the directory 'lib/malloc'. + This is not the same 'malloc' that appears in GNU libc, but an + older version originally derived from the 4.2 BSD 'malloc'. This + 'malloc' is very fast, but wastes some space on each allocation. + This option is enabled by default. The 'NOTES' file contains a + list of systems for which this should be turned off, and + 'configure' disables this option automatically for a number of + systems. + +'--with-curses' + Use the curses library instead of the termcap library. This should + be supplied if your system has an inadequate or incomplete termcap + database. + +'--with-gnu-malloc' + A synonym for '--with-bash-malloc'. + +'--with-installed-readline[=PREFIX]' + Define this to make Bash link with a locally-installed version of + Readline rather than the version in 'lib/readline'. This works + only with Readline 5.0 and later versions. If PREFIX is 'yes' or + not supplied, 'configure' uses the values of the make variables + 'includedir' and 'libdir', which are subdirectories of 'prefix' by + default, to find the installed version of Readline if it is not in + the standard system include and library directories. If PREFIX is + 'no', Bash links with the version in 'lib/readline'. If PREFIX is + set to any other value, 'configure' treats it as a directory + pathname and looks for the installed version of Readline in + subdirectories of that directory (include files in PREFIX/'include' + and the library in PREFIX/'lib'). + +'--with-purify' + Define this to use the Purify memory allocation checker from + Rational Software. + +'--enable-minimal-config' + This produces a shell with minimal features, close to the + historical Bourne shell. + + There are several '--enable-' options that alter how Bash is compiled +and linked, rather than changing run-time features. + +'--enable-largefile' + Enable support for large files + (http://www.sas.com/standards/large_file/x_open.20Mar96.html) if + the operating system requires special compiler options to build + programs which can access large files. This is enabled by default, + if the operating system provides large file support. + +'--enable-profiling' + This builds a Bash binary that produces profiling information to be + processed by 'gprof' each time it is executed. + +'--enable-static-link' + This causes Bash to be linked statically, if 'gcc' is being used. + This could be used to build a version to use as root's shell. + + The 'minimal-config' option can be used to disable all of the +following options, but it is processed first, so individual options may +be enabled using 'enable-FEATURE'. + + All of the following options except for 'disabled-builtins', +'direxpand-default', and 'xpg-echo-default' are enabled by default, +unless the operating system does not provide the necessary support. + +'--enable-alias' + Allow alias expansion and include the 'alias' and 'unalias' + builtins (*note Aliases::). + +'--enable-arith-for-command' + Include support for the alternate form of the 'for' command that + behaves like the C language 'for' statement (*note Looping + Constructs::). + +'--enable-array-variables' + Include support for one-dimensional array shell variables (*note + Arrays::). + +'--enable-bang-history' + Include support for 'csh'-like history substitution (*note History + Interaction::). + +'--enable-brace-expansion' + Include 'csh'-like brace expansion ( 'b{a,b}c' ==> 'bac bbc' ). + See *note Brace Expansion::, for a complete description. + +'--enable-casemod-attributes' + Include support for case-modifying attributes in the 'declare' + builtin and assignment statements. Variables with the UPPERCASE + attribute, for example, will have their values converted to + uppercase upon assignment. + +'--enable-casemod-expansion' + Include support for case-modifying word expansions. + +'--enable-command-timing' + Include support for recognizing 'time' as a reserved word and for + displaying timing statistics for the pipeline following 'time' + (*note Pipelines::). This allows pipelines as well as shell + builtins and functions to be timed. + +'--enable-cond-command' + Include support for the '[[' conditional command. (*note + Conditional Constructs::). + +'--enable-cond-regexp' + Include support for matching POSIX regular expressions using the + '=~' binary operator in the '[[' conditional command. (*note + Conditional Constructs::). + +'--enable-coprocesses' + Include support for coprocesses and the 'coproc' reserved word + (*note Pipelines::). + +'--enable-debugger' + Include support for the bash debugger (distributed separately). + +'--enable-direxpand-default' + Cause the 'direxpand' shell option (*note The Shopt Builtin::) to + be enabled by default when the shell starts. It is normally + disabled by default. + +'--enable-directory-stack' + Include support for a 'csh'-like directory stack and the 'pushd', + 'popd', and 'dirs' builtins (*note The Directory Stack::). + +'--enable-disabled-builtins' + Allow builtin commands to be invoked via 'builtin xxx' even after + 'xxx' has been disabled using 'enable -n xxx'. See *note Bash + Builtins::, for details of the 'builtin' and 'enable' builtin + commands. + +'--enable-dparen-arithmetic' + Include support for the '((...))' command (*note Conditional + Constructs::). + +'--enable-extended-glob' + Include support for the extended pattern matching features + described above under *note Pattern Matching::. + +'--enable-extended-glob-default' + Set the default value of the EXTGLOB shell option described above + under *note The Shopt Builtin:: to be enabled. + +'--enable-function-import' + Include support for importing function definitions exported by + another instance of the shell from the environment. This option is + enabled by default. + +'--enable-glob-asciirange-default' + Set the default value of the GLOBASCIIRANGES shell option described + above under *note The Shopt Builtin:: to be enabled. This controls + the behavior of character ranges when used in pattern matching + bracket expressions. + +'--enable-help-builtin' + Include the 'help' builtin, which displays help on shell builtins + and variables (*note Bash Builtins::). + +'--enable-history' + Include command history and the 'fc' and 'history' builtin commands + (*note Bash History Facilities::). + +'--enable-job-control' + This enables the job control features (*note Job Control::), if the + operating system supports them. + +'--enable-multibyte' + This enables support for multibyte characters if the operating + system provides the necessary support. + +'--enable-net-redirections' + This enables the special handling of filenames of the form + '/dev/tcp/HOST/PORT' and '/dev/udp/HOST/PORT' when used in + redirections (*note Redirections::). + +'--enable-process-substitution' + This enables process substitution (*note Process Substitution::) if + the operating system provides the necessary support. + +'--enable-progcomp' + Enable the programmable completion facilities (*note Programmable + Completion::). If Readline is not enabled, this option has no + effect. + +'--enable-prompt-string-decoding' + Turn on the interpretation of a number of backslash-escaped + characters in the '$PS1', '$PS2', '$PS3', and '$PS4' prompt + strings. See *note Controlling the Prompt::, for a complete list + of prompt string escape sequences. + +'--enable-readline' + Include support for command-line editing and history with the Bash + version of the Readline library (*note Command Line Editing::). + +'--enable-restricted' + Include support for a "restricted shell". If this is enabled, + Bash, when called as 'rbash', enters a restricted mode. See *note + The Restricted Shell::, for a description of restricted mode. + +'--enable-select' + Include the 'select' compound command, which allows the generation + of simple menus (*note Conditional Constructs::). + +'--enable-separate-helpfiles' + Use external files for the documentation displayed by the 'help' + builtin instead of storing the text internally. + +'--enable-single-help-strings' + Store the text displayed by the 'help' builtin as a single string + for each help topic. This aids in translating the text to + different languages. You may need to disable this if your compiler + cannot handle very long string literals. + +'--enable-strict-posix-default' + Make Bash POSIX-conformant by default (*note Bash POSIX Mode::). + +'--enable-usg-echo-default' + A synonym for '--enable-xpg-echo-default'. + +'--enable-xpg-echo-default' + Make the 'echo' builtin expand backslash-escaped characters by + default, without requiring the '-e' option. This sets the default + value of the 'xpg_echo' shell option to 'on', which makes the Bash + 'echo' behave more like the version specified in the Single Unix + Specification, version 3. *Note Bash Builtins::, for a description + of the escape sequences that 'echo' recognizes. + + The file 'config-top.h' contains C Preprocessor '#define' statements +for options which are not settable from 'configure'. Some of these are +not meant to be changed; beware of the consequences if you do. Read the +comments associated with each definition for more information about its +effect. + + +File: bash.info, Node: Reporting Bugs, Next: Major Differences From The Bourne Shell, Prev: Installing Bash, Up: Top + +Appendix A Reporting Bugs +************************* + +Please report all bugs you find in Bash. But first, you should make +sure that it really is a bug, and that it appears in the latest version +of Bash. The latest version of Bash is always available for FTP from +. + + Once you have determined that a bug actually exists, use the +'bashbug' command to submit a bug report. If you have a fix, you are +encouraged to mail that as well! Suggestions and 'philosophical' bug +reports may be mailed to or posted to the Usenet +newsgroup 'gnu.bash.bug'. + + All bug reports should include: + * The version number of Bash. + * The hardware and operating system. + * The compiler used to compile Bash. + * A description of the bug behaviour. + * A short script or 'recipe' which exercises the bug and may be used + to reproduce it. + +'bashbug' inserts the first three items automatically into the template +it provides for filing a bug report. + + Please send all reports concerning this manual to . + + +File: bash.info, Node: Major Differences From The Bourne Shell, Next: GNU Free Documentation License, Prev: Reporting Bugs, Up: Top + +Appendix B Major Differences From The Bourne Shell +************************************************** + +Bash implements essentially the same grammar, parameter and variable +expansion, redirection, and quoting as the Bourne Shell. Bash uses the +POSIX standard as the specification of how these features are to be +implemented. There are some differences between the traditional Bourne +shell and Bash; this section quickly details the differences of +significance. A number of these differences are explained in greater +depth in previous sections. This section uses the version of 'sh' +included in SVR4.2 (the last version of the historical Bourne shell) as +the baseline reference. + + * Bash is POSIX-conformant, even where the POSIX specification + differs from traditional 'sh' behavior (*note Bash POSIX Mode::). + + * Bash has multi-character invocation options (*note Invoking + Bash::). + + * Bash has command-line editing (*note Command Line Editing::) and + the 'bind' builtin. + + * Bash provides a programmable word completion mechanism (*note + Programmable Completion::), and builtin commands 'complete', + 'compgen', and 'compopt', to manipulate it. + + * Bash has command history (*note Bash History Facilities::) and the + 'history' and 'fc' builtins to manipulate it. The Bash history + list maintains timestamp information and uses the value of the + 'HISTTIMEFORMAT' variable to display it. + + * Bash implements 'csh'-like history expansion (*note History + Interaction::). + + * Bash has one-dimensional array variables (*note Arrays::), and the + appropriate variable expansions and assignment syntax to use them. + Several of the Bash builtins take options to act on arrays. Bash + provides a number of built-in array variables. + + * The '$'...'' quoting syntax, which expands ANSI-C backslash-escaped + characters in the text between the single quotes, is supported + (*note ANSI-C Quoting::). + + * Bash supports the '$"..."' quoting syntax to do locale-specific + translation of the characters between the double quotes. The '-D', + '--dump-strings', and '--dump-po-strings' invocation options list + the translatable strings found in a script (*note Locale + Translation::). + + * Bash implements the '!' keyword to negate the return value of a + pipeline (*note Pipelines::). Very useful when an 'if' statement + needs to act only if a test fails. The Bash '-o pipefail' option + to 'set' will cause a pipeline to return a failure status if any + command fails. + + * Bash has the 'time' reserved word and command timing (*note + Pipelines::). The display of the timing statistics may be + controlled with the 'TIMEFORMAT' variable. + + * Bash implements the 'for (( EXPR1 ; EXPR2 ; EXPR3 ))' arithmetic + for command, similar to the C language (*note Looping + Constructs::). + + * Bash includes the 'select' compound command, which allows the + generation of simple menus (*note Conditional Constructs::). + + * Bash includes the '[[' compound command, which makes conditional + testing part of the shell grammar (*note Conditional Constructs::), + including optional regular expression matching. + + * Bash provides optional case-insensitive matching for the 'case' and + '[[' constructs. + + * Bash includes brace expansion (*note Brace Expansion::) and tilde + expansion (*note Tilde Expansion::). + + * Bash implements command aliases and the 'alias' and 'unalias' + builtins (*note Aliases::). + + * Bash provides shell arithmetic, the '((' compound command (*note + Conditional Constructs::), and arithmetic expansion (*note Shell + Arithmetic::). + + * Variables present in the shell's initial environment are + automatically exported to child processes. The Bourne shell does + not normally do this unless the variables are explicitly marked + using the 'export' command. + + * Bash supports the '+=' assignment operator, which appends to the + value of the variable named on the left hand side. + + * Bash includes the POSIX pattern removal '%', '#', '%%' and '##' + expansions to remove leading or trailing substrings from variable + values (*note Shell Parameter Expansion::). + + * The expansion '${#xx}', which returns the length of '${xx}', is + supported (*note Shell Parameter Expansion::). + + * The expansion '${var:'OFFSET'[:'LENGTH']}', which expands to the + substring of 'var''s value of length LENGTH, beginning at OFFSET, + is present (*note Shell Parameter Expansion::). + + * The expansion '${var/[/]'PATTERN'[/'REPLACEMENT']}', which matches + PATTERN and replaces it with REPLACEMENT in the value of 'var', is + available (*note Shell Parameter Expansion::). + + * The expansion '${!PREFIX*}' expansion, which expands to the names + of all shell variables whose names begin with PREFIX, is available + (*note Shell Parameter Expansion::). + + * Bash has INDIRECT variable expansion using '${!word}' (*note Shell + Parameter Expansion::). + + * Bash can expand positional parameters beyond '$9' using '${NUM}'. + + * The POSIX '$()' form of command substitution is implemented (*note + Command Substitution::), and preferred to the Bourne shell's '``' + (which is also implemented for backwards compatibility). + + * Bash has process substitution (*note Process Substitution::). + + * Bash automatically assigns variables that provide information about + the current user ('UID', 'EUID', and 'GROUPS'), the current host + ('HOSTTYPE', 'OSTYPE', 'MACHTYPE', and 'HOSTNAME'), and the + instance of Bash that is running ('BASH', 'BASH_VERSION', and + 'BASH_VERSINFO'). *Note Bash Variables::, for details. + + * The 'IFS' variable is used to split only the results of expansion, + not all words (*note Word Splitting::). This closes a longstanding + shell security hole. + + * The filename expansion bracket expression code uses '!' and '^' to + negate the set of characters between the brackets. The Bourne + shell uses only '!'. + + * Bash implements the full set of POSIX filename expansion operators, + including CHARACTER CLASSES, EQUIVALENCE CLASSES, and COLLATING + SYMBOLS (*note Filename Expansion::). + + * Bash implements extended pattern matching features when the + 'extglob' shell option is enabled (*note Pattern Matching::). + + * It is possible to have a variable and a function with the same + name; 'sh' does not separate the two name spaces. + + * Bash functions are permitted to have local variables using the + 'local' builtin, and thus useful recursive functions may be written + (*note Bash Builtins::). + + * Variable assignments preceding commands affect only that command, + even builtins and functions (*note Environment::). In 'sh', all + variable assignments preceding commands are global unless the + command is executed from the file system. + + * Bash performs filename expansion on filenames specified as operands + to input and output redirection operators (*note Redirections::). + + * Bash contains the '<>' redirection operator, allowing a file to be + opened for both reading and writing, and the '&>' redirection + operator, for directing standard output and standard error to the + same file (*note Redirections::). + + * Bash includes the '<<<' redirection operator, allowing a string to + be used as the standard input to a command. + + * Bash implements the '[n]<&WORD' and '[n]>&WORD' redirection + operators, which move one file descriptor to another. + + * Bash treats a number of filenames specially when they are used in + redirection operators (*note Redirections::). + + * Bash can open network connections to arbitrary machines and + services with the redirection operators (*note Redirections::). + + * The 'noclobber' option is available to avoid overwriting existing + files with output redirection (*note The Set Builtin::). The '>|' + redirection operator may be used to override 'noclobber'. + + * The Bash 'cd' and 'pwd' builtins (*note Bourne Shell Builtins::) + each take '-L' and '-P' options to switch between logical and + physical modes. + + * Bash allows a function to override a builtin with the same name, + and provides access to that builtin's functionality within the + function via the 'builtin' and 'command' builtins (*note Bash + Builtins::). + + * The 'command' builtin allows selective disabling of functions when + command lookup is performed (*note Bash Builtins::). + + * Individual builtins may be enabled or disabled using the 'enable' + builtin (*note Bash Builtins::). + + * The Bash 'exec' builtin takes additional options that allow users + to control the contents of the environment passed to the executed + command, and what the zeroth argument to the command is to be + (*note Bourne Shell Builtins::). + + * Shell functions may be exported to children via the environment + using 'export -f' (*note Shell Functions::). + + * The Bash 'export', 'readonly', and 'declare' builtins can take a + '-f' option to act on shell functions, a '-p' option to display + variables with various attributes set in a format that can be used + as shell input, a '-n' option to remove various variable + attributes, and 'name=value' arguments to set variable attributes + and values simultaneously. + + * The Bash 'hash' builtin allows a name to be associated with an + arbitrary filename, even when that filename cannot be found by + searching the '$PATH', using 'hash -p' (*note Bourne Shell + Builtins::). + + * Bash includes a 'help' builtin for quick reference to shell + facilities (*note Bash Builtins::). + + * The 'printf' builtin is available to display formatted output + (*note Bash Builtins::). + + * The Bash 'read' builtin (*note Bash Builtins::) will read a line + ending in '\' with the '-r' option, and will use the 'REPLY' + variable as a default if no non-option arguments are supplied. The + Bash 'read' builtin also accepts a prompt string with the '-p' + option and will use Readline to obtain the line when given the '-e' + option. The 'read' builtin also has additional options to control + input: the '-s' option will turn off echoing of input characters as + they are read, the '-t' option will allow 'read' to time out if + input does not arrive within a specified number of seconds, the + '-n' option will allow reading only a specified number of + characters rather than a full line, and the '-d' option will read + until a particular character rather than newline. + + * The 'return' builtin may be used to abort execution of scripts + executed with the '.' or 'source' builtins (*note Bourne Shell + Builtins::). + + * Bash includes the 'shopt' builtin, for finer control of shell + optional capabilities (*note The Shopt Builtin::), and allows these + options to be set and unset at shell invocation (*note Invoking + Bash::). + + * Bash has much more optional behavior controllable with the 'set' + builtin (*note The Set Builtin::). + + * The '-x' ('xtrace') option displays commands other than simple + commands when performing an execution trace (*note The Set + Builtin::). + + * The 'test' builtin (*note Bourne Shell Builtins::) is slightly + different, as it implements the POSIX algorithm, which specifies + the behavior based on the number of arguments. + + * Bash includes the 'caller' builtin, which displays the context of + any active subroutine call (a shell function or a script executed + with the '.' or 'source' builtins). This supports the bash + debugger. + + * The 'trap' builtin (*note Bourne Shell Builtins::) allows a 'DEBUG' + pseudo-signal specification, similar to 'EXIT'. Commands specified + with a 'DEBUG' trap are executed before every simple command, 'for' + command, 'case' command, 'select' command, every arithmetic 'for' + command, and before the first command executes in a shell function. + The 'DEBUG' trap is not inherited by shell functions unless the + function has been given the 'trace' attribute or the 'functrace' + option has been enabled using the 'shopt' builtin. The 'extdebug' + shell option has additional effects on the 'DEBUG' trap. + + The 'trap' builtin (*note Bourne Shell Builtins::) allows an 'ERR' + pseudo-signal specification, similar to 'EXIT' and 'DEBUG'. + Commands specified with an 'ERR' trap are executed after a simple + command fails, with a few exceptions. The 'ERR' trap is not + inherited by shell functions unless the '-o errtrace' option to the + 'set' builtin is enabled. + + The 'trap' builtin (*note Bourne Shell Builtins::) allows a + 'RETURN' pseudo-signal specification, similar to 'EXIT' and + 'DEBUG'. Commands specified with an 'RETURN' trap are executed + before execution resumes after a shell function or a shell script + executed with '.' or 'source' returns. The 'RETURN' trap is not + inherited by shell functions unless the function has been given the + 'trace' attribute or the 'functrace' option has been enabled using + the 'shopt' builtin. + + * The Bash 'type' builtin is more extensive and gives more + information about the names it finds (*note Bash Builtins::). + + * The Bash 'umask' builtin permits a '-p' option to cause the output + to be displayed in the form of a 'umask' command that may be reused + as input (*note Bourne Shell Builtins::). + + * Bash implements a 'csh'-like directory stack, and provides the + 'pushd', 'popd', and 'dirs' builtins to manipulate it (*note The + Directory Stack::). Bash also makes the directory stack visible as + the value of the 'DIRSTACK' shell variable. + + * Bash interprets special backslash-escaped characters in the prompt + strings when interactive (*note Controlling the Prompt::). + + * The Bash restricted mode is more useful (*note The Restricted + Shell::); the SVR4.2 shell restricted mode is too limited. + + * The 'disown' builtin can remove a job from the internal shell job + table (*note Job Control Builtins::) or suppress the sending of + 'SIGHUP' to a job when the shell exits as the result of a 'SIGHUP'. + + * Bash includes a number of features to support a separate debugger + for shell scripts. + + * The SVR4.2 shell has two privilege-related builtins ('mldmode' and + 'priv') not present in Bash. + + * Bash does not have the 'stop' or 'newgrp' builtins. + + * Bash does not use the 'SHACCT' variable or perform shell + accounting. + + * The SVR4.2 'sh' uses a 'TIMEOUT' variable like Bash uses 'TMOUT'. + +More features unique to Bash may be found in *note Bash Features::. + +B.1 Implementation Differences From The SVR4.2 Shell +==================================================== + +Since Bash is a completely new implementation, it does not suffer from +many of the limitations of the SVR4.2 shell. For instance: + + * Bash does not fork a subshell when redirecting into or out of a + shell control structure such as an 'if' or 'while' statement. + + * Bash does not allow unbalanced quotes. The SVR4.2 shell will + silently insert a needed closing quote at 'EOF' under certain + circumstances. This can be the cause of some hard-to-find errors. + + * The SVR4.2 shell uses a baroque memory management scheme based on + trapping 'SIGSEGV'. If the shell is started from a process with + 'SIGSEGV' blocked (e.g., by using the 'system()' C library function + call), it misbehaves badly. + + * In a questionable attempt at security, the SVR4.2 shell, when + invoked without the '-p' option, will alter its real and effective + UID and GID if they are less than some magic threshold value, + commonly 100. This can lead to unexpected results. + + * The SVR4.2 shell does not allow users to trap 'SIGSEGV', 'SIGALRM', + or 'SIGCHLD'. + + * The SVR4.2 shell does not allow the 'IFS', 'MAILCHECK', 'PATH', + 'PS1', or 'PS2' variables to be unset. + + * The SVR4.2 shell treats '^' as the undocumented equivalent of '|'. + + * Bash allows multiple option arguments when it is invoked ('-x -v'); + the SVR4.2 shell allows only one option argument ('-xv'). In fact, + some versions of the shell dump core if the second argument begins + with a '-'. + + * The SVR4.2 shell exits a script if any builtin fails; Bash exits a + script only if one of the POSIX special builtins fails, and only + for certain failures, as enumerated in the POSIX standard. + + * The SVR4.2 shell behaves differently when invoked as 'jsh' (it + turns on job control). + + +File: bash.info, Node: GNU Free Documentation License, Next: Indexes, Prev: Major Differences From The Bourne Shell, Up: Top + +Appendix C GNU Free Documentation License +***************************************** + + Version 1.3, 3 November 2008 + + Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. + + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + 0. PREAMBLE + + The purpose of this License is to make a manual, textbook, or other + functional and useful document "free" in the sense of freedom: to + assure everyone the effective freedom to copy and redistribute it, + with or without modifying it, either commercially or + noncommercially. Secondarily, this License preserves for the + author and publisher a way to get credit for their work, while not + being considered responsible for modifications made by others. + + This License is a kind of "copyleft", which means that derivative + works of the document must themselves be free in the same sense. + It complements the GNU General Public License, which is a copyleft + license designed for free software. + + We have designed this License in order to use it for manuals for + free software, because free software needs free documentation: a + free program should come with manuals providing the same freedoms + that the software does. But this License is not limited to + software manuals; it can be used for any textual work, regardless + of subject matter or whether it is published as a printed book. We + recommend this License principally for works whose purpose is + instruction or reference. + + 1. APPLICABILITY AND DEFINITIONS + + This License applies to any manual or other work, in any medium, + that contains a notice placed by the copyright holder saying it can + be distributed under the terms of this License. Such a notice + grants a world-wide, royalty-free license, unlimited in duration, + to use that work under the conditions stated herein. The + "Document", below, refers to any such manual or work. Any member + of the public is a licensee, and is addressed as "you". You accept + the license if you copy, modify or distribute the work in a way + requiring permission under copyright law. + + A "Modified Version" of the Document means any work containing the + Document or a portion of it, either copied verbatim, or with + modifications and/or translated into another language. + + A "Secondary Section" is a named appendix or a front-matter section + of the Document that deals exclusively with the relationship of the + publishers or authors of the Document to the Document's overall + subject (or to related matters) and contains nothing that could + fall directly within that overall subject. (Thus, if the Document + is in part a textbook of mathematics, a Secondary Section may not + explain any mathematics.) The relationship could be a matter of + historical connection with the subject or with related matters, or + of legal, commercial, philosophical, ethical or political position + regarding them. + + The "Invariant Sections" are certain Secondary Sections whose + titles are designated, as being those of Invariant Sections, in the + notice that says that the Document is released under this License. + If a section does not fit the above definition of Secondary then it + is not allowed to be designated as Invariant. The Document may + contain zero Invariant Sections. If the Document does not identify + any Invariant Sections then there are none. + + The "Cover Texts" are certain short passages of text that are + listed, as Front-Cover Texts or Back-Cover Texts, in the notice + that says that the Document is released under this License. A + Front-Cover Text may be at most 5 words, and a Back-Cover Text may + be at most 25 words. + + A "Transparent" copy of the Document means a machine-readable copy, + represented in a format whose specification is available to the + general public, that is suitable for revising the document + straightforwardly with generic text editors or (for images composed + of pixels) generic paint programs or (for drawings) some widely + available drawing editor, and that is suitable for input to text + formatters or for automatic translation to a variety of formats + suitable for input to text formatters. A copy made in an otherwise + Transparent file format whose markup, or absence of markup, has + been arranged to thwart or discourage subsequent modification by + readers is not Transparent. An image format is not Transparent if + used for any substantial amount of text. A copy that is not + "Transparent" is called "Opaque". + + Examples of suitable formats for Transparent copies include plain + ASCII without markup, Texinfo input format, LaTeX input format, + SGML or XML using a publicly available DTD, and standard-conforming + simple HTML, PostScript or PDF designed for human modification. + Examples of transparent image formats include PNG, XCF and JPG. + Opaque formats include proprietary formats that can be read and + edited only by proprietary word processors, SGML or XML for which + the DTD and/or processing tools are not generally available, and + the machine-generated HTML, PostScript or PDF produced by some word + processors for output purposes only. + + The "Title Page" means, for a printed book, the title page itself, + plus such following pages as are needed to hold, legibly, the + material this License requires to appear in the title page. For + works in formats which do not have any title page as such, "Title + Page" means the text near the most prominent appearance of the + work's title, preceding the beginning of the body of the text. + + The "publisher" means any person or entity that distributes copies + of the Document to the public. + + A section "Entitled XYZ" means a named subunit of the Document + whose title either is precisely XYZ or contains XYZ in parentheses + following text that translates XYZ in another language. (Here XYZ + stands for a specific section name mentioned below, such as + "Acknowledgements", "Dedications", "Endorsements", or "History".) + To "Preserve the Title" of such a section when you modify the + Document means that it remains a section "Entitled XYZ" according + to this definition. + + The Document may include Warranty Disclaimers next to the notice + which states that this License applies to the Document. These + Warranty Disclaimers are considered to be included by reference in + this License, but only as regards disclaiming warranties: any other + implication that these Warranty Disclaimers may have is void and + has no effect on the meaning of this License. + + 2. VERBATIM COPYING + + You may copy and distribute the Document in any medium, either + commercially or noncommercially, provided that this License, the + copyright notices, and the license notice saying this License + applies to the Document are reproduced in all copies, and that you + add no other conditions whatsoever to those of this License. You + may not use technical measures to obstruct or control the reading + or further copying of the copies you make or distribute. However, + you may accept compensation in exchange for copies. If you + distribute a large enough number of copies you must also follow the + conditions in section 3. + + You may also lend copies, under the same conditions stated above, + and you may publicly display copies. + + 3. COPYING IN QUANTITY + + If you publish printed copies (or copies in media that commonly + have printed covers) of the Document, numbering more than 100, and + the Document's license notice requires Cover Texts, you must + enclose the copies in covers that carry, clearly and legibly, all + these Cover Texts: Front-Cover Texts on the front cover, and + Back-Cover Texts on the back cover. Both covers must also clearly + and legibly identify you as the publisher of these copies. The + front cover must present the full title with all words of the title + equally prominent and visible. You may add other material on the + covers in addition. Copying with changes limited to the covers, as + long as they preserve the title of the Document and satisfy these + conditions, can be treated as verbatim copying in other respects. + + If the required texts for either cover are too voluminous to fit + legibly, you should put the first ones listed (as many as fit + reasonably) on the actual cover, and continue the rest onto + adjacent pages. + + If you publish or distribute Opaque copies of the Document + numbering more than 100, you must either include a machine-readable + Transparent copy along with each Opaque copy, or state in or with + each Opaque copy a computer-network location from which the general + network-using public has access to download using public-standard + network protocols a complete Transparent copy of the Document, free + of added material. If you use the latter option, you must take + reasonably prudent steps, when you begin distribution of Opaque + copies in quantity, to ensure that this Transparent copy will + remain thus accessible at the stated location until at least one + year after the last time you distribute an Opaque copy (directly or + through your agents or retailers) of that edition to the public. + + It is requested, but not required, that you contact the authors of + the Document well before redistributing any large number of copies, + to give them a chance to provide you with an updated version of the + Document. + + 4. MODIFICATIONS + + You may copy and distribute a Modified Version of the Document + under the conditions of sections 2 and 3 above, provided that you + release the Modified Version under precisely this License, with the + Modified Version filling the role of the Document, thus licensing + distribution and modification of the Modified Version to whoever + possesses a copy of it. In addition, you must do these things in + the Modified Version: + + A. Use in the Title Page (and on the covers, if any) a title + distinct from that of the Document, and from those of previous + versions (which should, if there were any, be listed in the + History section of the Document). You may use the same title + as a previous version if the original publisher of that + version gives permission. + + B. List on the Title Page, as authors, one or more persons or + entities responsible for authorship of the modifications in + the Modified Version, together with at least five of the + principal authors of the Document (all of its principal + authors, if it has fewer than five), unless they release you + from this requirement. + + C. State on the Title page the name of the publisher of the + Modified Version, as the publisher. + + D. Preserve all the copyright notices of the Document. + + E. Add an appropriate copyright notice for your modifications + adjacent to the other copyright notices. + + F. Include, immediately after the copyright notices, a license + notice giving the public permission to use the Modified + Version under the terms of this License, in the form shown in + the Addendum below. + + G. Preserve in that license notice the full lists of Invariant + Sections and required Cover Texts given in the Document's + license notice. + + H. Include an unaltered copy of this License. + + I. Preserve the section Entitled "History", Preserve its Title, + and add to it an item stating at least the title, year, new + authors, and publisher of the Modified Version as given on the + Title Page. If there is no section Entitled "History" in the + Document, create one stating the title, year, authors, and + publisher of the Document as given on its Title Page, then add + an item describing the Modified Version as stated in the + previous sentence. + + J. Preserve the network location, if any, given in the Document + for public access to a Transparent copy of the Document, and + likewise the network locations given in the Document for + previous versions it was based on. These may be placed in the + "History" section. You may omit a network location for a work + that was published at least four years before the Document + itself, or if the original publisher of the version it refers + to gives permission. + + K. For any section Entitled "Acknowledgements" or "Dedications", + Preserve the Title of the section, and preserve in the section + all the substance and tone of each of the contributor + acknowledgements and/or dedications given therein. + + L. Preserve all the Invariant Sections of the Document, unaltered + in their text and in their titles. Section numbers or the + equivalent are not considered part of the section titles. + + M. Delete any section Entitled "Endorsements". Such a section + may not be included in the Modified Version. + + N. Do not retitle any existing section to be Entitled + "Endorsements" or to conflict in title with any Invariant + Section. + + O. Preserve any Warranty Disclaimers. + + If the Modified Version includes new front-matter sections or + appendices that qualify as Secondary Sections and contain no + material copied from the Document, you may at your option designate + some or all of these sections as invariant. To do this, add their + titles to the list of Invariant Sections in the Modified Version's + license notice. These titles must be distinct from any other + section titles. + + You may add a section Entitled "Endorsements", provided it contains + nothing but endorsements of your Modified Version by various + parties--for example, statements of peer review or that the text + has been approved by an organization as the authoritative + definition of a standard. + + You may add a passage of up to five words as a Front-Cover Text, + and a passage of up to 25 words as a Back-Cover Text, to the end of + the list of Cover Texts in the Modified Version. Only one passage + of Front-Cover Text and one of Back-Cover Text may be added by (or + through arrangements made by) any one entity. If the Document + already includes a cover text for the same cover, previously added + by you or by arrangement made by the same entity you are acting on + behalf of, you may not add another; but you may replace the old + one, on explicit permission from the previous publisher that added + the old one. + + The author(s) and publisher(s) of the Document do not by this + License give permission to use their names for publicity for or to + assert or imply endorsement of any Modified Version. + + 5. COMBINING DOCUMENTS + + You may combine the Document with other documents released under + this License, under the terms defined in section 4 above for + modified versions, provided that you include in the combination all + of the Invariant Sections of all of the original documents, + unmodified, and list them all as Invariant Sections of your + combined work in its license notice, and that you preserve all + their Warranty Disclaimers. + + The combined work need only contain one copy of this License, and + multiple identical Invariant Sections may be replaced with a single + copy. If there are multiple Invariant Sections with the same name + but different contents, make the title of each such section unique + by adding at the end of it, in parentheses, the name of the + original author or publisher of that section if known, or else a + unique number. Make the same adjustment to the section titles in + the list of Invariant Sections in the license notice of the + combined work. + + In the combination, you must combine any sections Entitled + "History" in the various original documents, forming one section + Entitled "History"; likewise combine any sections Entitled + "Acknowledgements", and any sections Entitled "Dedications". You + must delete all sections Entitled "Endorsements." + + 6. COLLECTIONS OF DOCUMENTS + + You may make a collection consisting of the Document and other + documents released under this License, and replace the individual + copies of this License in the various documents with a single copy + that is included in the collection, provided that you follow the + rules of this License for verbatim copying of each of the documents + in all other respects. + + You may extract a single document from such a collection, and + distribute it individually under this License, provided you insert + a copy of this License into the extracted document, and follow this + License in all other respects regarding verbatim copying of that + document. + + 7. AGGREGATION WITH INDEPENDENT WORKS + + A compilation of the Document or its derivatives with other + separate and independent documents or works, in or on a volume of a + storage or distribution medium, is called an "aggregate" if the + copyright resulting from the compilation is not used to limit the + legal rights of the compilation's users beyond what the individual + works permit. When the Document is included in an aggregate, this + License does not apply to the other works in the aggregate which + are not themselves derivative works of the Document. + + If the Cover Text requirement of section 3 is applicable to these + copies of the Document, then if the Document is less than one half + of the entire aggregate, the Document's Cover Texts may be placed + on covers that bracket the Document within the aggregate, or the + electronic equivalent of covers if the Document is in electronic + form. Otherwise they must appear on printed covers that bracket + the whole aggregate. + + 8. TRANSLATION + + Translation is considered a kind of modification, so you may + distribute translations of the Document under the terms of section + 4. Replacing Invariant Sections with translations requires special + permission from their copyright holders, but you may include + translations of some or all Invariant Sections in addition to the + original versions of these Invariant Sections. You may include a + translation of this License, and all the license notices in the + Document, and any Warranty Disclaimers, provided that you also + include the original English version of this License and the + original versions of those notices and disclaimers. In case of a + disagreement between the translation and the original version of + this License or a notice or disclaimer, the original version will + prevail. + + If a section in the Document is Entitled "Acknowledgements", + "Dedications", or "History", the requirement (section 4) to + Preserve its Title (section 1) will typically require changing the + actual title. + + 9. TERMINATION + + You may not copy, modify, sublicense, or distribute the Document + except as expressly provided under this License. Any attempt + otherwise to copy, modify, sublicense, or distribute it is void, + and will automatically terminate your rights under this License. + + However, if you cease all violation of this License, then your + license from a particular copyright holder is reinstated (a) + provisionally, unless and until the copyright holder explicitly and + finally terminates your license, and (b) permanently, if the + copyright holder fails to notify you of the violation by some + reasonable means prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is + reinstated permanently if the copyright holder notifies you of the + violation by some reasonable means, this is the first time you have + received notice of violation of this License (for any work) from + that copyright holder, and you cure the violation prior to 30 days + after your receipt of the notice. + + Termination of your rights under this section does not terminate + the licenses of parties who have received copies or rights from you + under this License. If your rights have been terminated and not + permanently reinstated, receipt of a copy of some or all of the + same material does not give you any rights to use it. + + 10. FUTURE REVISIONS OF THIS LICENSE + + The Free Software Foundation may publish new, revised versions of + the GNU Free Documentation License from time to time. Such new + versions will be similar in spirit to the present version, but may + differ in detail to address new problems or concerns. See + . + + Each version of the License is given a distinguishing version + number. If the Document specifies that a particular numbered + version of this License "or any later version" applies to it, you + have the option of following the terms and conditions either of + that specified version or of any later version that has been + published (not as a draft) by the Free Software Foundation. If the + Document does not specify a version number of this License, you may + choose any version ever published (not as a draft) by the Free + Software Foundation. If the Document specifies that a proxy can + decide which future versions of this License can be used, that + proxy's public statement of acceptance of a version permanently + authorizes you to choose that version for the Document. + + 11. RELICENSING + + "Massive Multiauthor Collaboration Site" (or "MMC Site") means any + World Wide Web server that publishes copyrightable works and also + provides prominent facilities for anybody to edit those works. A + public wiki that anybody can edit is an example of such a server. + A "Massive Multiauthor Collaboration" (or "MMC") contained in the + site means any set of copyrightable works thus published on the MMC + site. + + "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 + license published by Creative Commons Corporation, a not-for-profit + corporation with a principal place of business in San Francisco, + California, as well as future copyleft versions of that license + published by that same organization. + + "Incorporate" means to publish or republish a Document, in whole or + in part, as part of another Document. + + An MMC is "eligible for relicensing" if it is licensed under this + License, and if all works that were first published under this + License somewhere other than this MMC, and subsequently + incorporated in whole or in part into the MMC, (1) had no cover + texts or invariant sections, and (2) were thus incorporated prior + to November 1, 2008. + + The operator of an MMC Site may republish an MMC contained in the + site under CC-BY-SA on the same site at any time before August 1, + 2009, provided the MMC is eligible for relicensing. + +ADDENDUM: How to use this License for your documents +==================================================== + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and license +notices just after the title page: + + Copyright (C) YEAR YOUR NAME. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. A copy of the license is included in the section entitled ``GNU + Free Documentation License''. + + If you have Invariant Sections, Front-Cover Texts and Back-Cover +Texts, replace the "with...Texts." line with this: + + with the Invariant Sections being LIST THEIR TITLES, with + the Front-Cover Texts being LIST, and with the Back-Cover Texts + being LIST. + + If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. + + If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of free +software license, such as the GNU General Public License, to permit +their use in free software. + + +File: bash.info, Node: Indexes, Prev: GNU Free Documentation License, Up: Top + +Appendix D Indexes +****************** + +* Menu: + +* Builtin Index:: Index of Bash builtin commands. +* Reserved Word Index:: Index of Bash reserved words. +* Variable Index:: Quick reference helps you find the + variable you want. +* Function Index:: Index of bindable Readline functions. +* Concept Index:: General index for concepts described in + this manual. + + +File: bash.info, Node: Builtin Index, Next: Reserved Word Index, Up: Indexes + +D.1 Index of Shell Builtin Commands +=================================== + +[index] +* Menu: + +* .: Bourne Shell Builtins. + (line 17) +* :: Bourne Shell Builtins. + (line 11) +* [: Bourne Shell Builtins. + (line 268) +* alias: Bash Builtins. (line 11) +* bg: Job Control Builtins. + (line 7) +* bind: Bash Builtins. (line 21) +* break: Bourne Shell Builtins. + (line 36) +* builtin: Bash Builtins. (line 102) +* caller: Bash Builtins. (line 111) +* cd: Bourne Shell Builtins. + (line 44) +* command: Bash Builtins. (line 128) +* compgen: Programmable Completion Builtins. + (line 12) +* complete: Programmable Completion Builtins. + (line 30) +* compopt: Programmable Completion Builtins. + (line 229) +* continue: Bourne Shell Builtins. + (line 85) +* declare: Bash Builtins. (line 148) +* dirs: Directory Stack Builtins. + (line 7) +* disown: Job Control Builtins. + (line 89) +* echo: Bash Builtins. (line 245) +* enable: Bash Builtins. (line 294) +* eval: Bourne Shell Builtins. + (line 94) +* exec: Bourne Shell Builtins. + (line 102) +* exit: Bourne Shell Builtins. + (line 119) +* export: Bourne Shell Builtins. + (line 126) +* fc: Bash History Builtins. + (line 10) +* fg: Job Control Builtins. + (line 17) +* getopts: Bourne Shell Builtins. + (line 142) +* hash: Bourne Shell Builtins. + (line 185) +* help: Bash Builtins. (line 323) +* history: Bash History Builtins. + (line 40) +* jobs: Job Control Builtins. + (line 27) +* kill: Job Control Builtins. + (line 58) +* let: Bash Builtins. (line 342) +* local: Bash Builtins. (line 350) +* logout: Bash Builtins. (line 364) +* mapfile: Bash Builtins. (line 369) +* popd: Directory Stack Builtins. + (line 35) +* printf: Bash Builtins. (line 414) +* pushd: Directory Stack Builtins. + (line 53) +* pwd: Bourne Shell Builtins. + (line 205) +* read: Bash Builtins. (line 458) +* readarray: Bash Builtins. (line 550) +* readonly: Bourne Shell Builtins. + (line 215) +* return: Bourne Shell Builtins. + (line 234) +* set: The Set Builtin. (line 11) +* shift: Bourne Shell Builtins. + (line 255) +* shopt: The Shopt Builtin. (line 9) +* source: Bash Builtins. (line 559) +* suspend: Job Control Builtins. + (line 101) +* test: Bourne Shell Builtins. + (line 268) +* times: Bourne Shell Builtins. + (line 343) +* trap: Bourne Shell Builtins. + (line 349) +* type: Bash Builtins. (line 564) +* typeset: Bash Builtins. (line 596) +* ulimit: Bash Builtins. (line 602) +* umask: Bourne Shell Builtins. + (line 398) +* unalias: Bash Builtins. (line 701) +* unset: Bourne Shell Builtins. + (line 416) +* wait: Job Control Builtins. + (line 76) + + +File: bash.info, Node: Reserved Word Index, Next: Variable Index, Prev: Builtin Index, Up: Indexes + +D.2 Index of Shell Reserved Words +================================= + +[index] +* Menu: + +* !: Pipelines. (line 9) +* [[: Conditional Constructs. + (line 121) +* ]]: Conditional Constructs. + (line 121) +* {: Command Grouping. (line 21) +* }: Command Grouping. (line 21) +* case: Conditional Constructs. + (line 28) +* do: Looping Constructs. (line 12) +* done: Looping Constructs. (line 12) +* elif: Conditional Constructs. + (line 7) +* else: Conditional Constructs. + (line 7) +* esac: Conditional Constructs. + (line 28) +* fi: Conditional Constructs. + (line 7) +* for: Looping Constructs. (line 32) +* function: Shell Functions. (line 13) +* if: Conditional Constructs. + (line 7) +* in: Conditional Constructs. + (line 28) +* select: Conditional Constructs. + (line 79) +* then: Conditional Constructs. + (line 7) +* time: Pipelines. (line 9) +* until: Looping Constructs. (line 12) +* while: Looping Constructs. (line 22) + + +File: bash.info, Node: Variable Index, Next: Function Index, Prev: Reserved Word Index, Up: Indexes + +D.3 Parameter and Variable Index +================================ + +[index] +* Menu: + +* !: Special Parameters. (line 50) +* #: Special Parameters. (line 33) +* $: Special Parameters. (line 45) +* $!: Special Parameters. (line 51) +* $#: Special Parameters. (line 34) +* $$: Special Parameters. (line 46) +* $*: Special Parameters. (line 10) +* $-: Special Parameters. (line 41) +* $0: Special Parameters. (line 56) +* $?: Special Parameters. (line 37) +* $@: Special Parameters. (line 23) +* $_: Special Parameters. (line 65) +* *: Special Parameters. (line 9) +* -: Special Parameters. (line 40) +* 0: Special Parameters. (line 55) +* ?: Special Parameters. (line 36) +* @: Special Parameters. (line 22) +* _: Special Parameters. (line 64) +* auto_resume: Job Control Variables. + (line 6) +* BASH: Bash Variables. (line 13) +* BASHOPTS: Bash Variables. (line 16) +* BASHPID: Bash Variables. (line 25) +* BASH_ALIASES: Bash Variables. (line 30) +* BASH_ARGC: Bash Variables. (line 39) +* BASH_ARGV: Bash Variables. (line 49) +* BASH_CMDS: Bash Variables. (line 59) +* BASH_COMMAND: Bash Variables. (line 68) +* BASH_COMPAT: Bash Variables. (line 73) +* BASH_ENV: Bash Variables. (line 88) +* BASH_EXECUTION_STRING: Bash Variables. (line 94) +* BASH_LINENO: Bash Variables. (line 97) +* BASH_LOADABLES_PATH: Bash Variables. (line 105) +* BASH_REMATCH: Bash Variables. (line 109) +* BASH_SOURCE: Bash Variables. (line 117) +* BASH_SUBSHELL: Bash Variables. (line 124) +* BASH_VERSINFO: Bash Variables. (line 129) +* BASH_VERSION: Bash Variables. (line 152) +* BASH_XTRACEFD: Bash Variables. (line 155) +* bell-style: Readline Init File Syntax. + (line 38) +* bind-tty-special-chars: Readline Init File Syntax. + (line 45) +* blink-matching-paren: Readline Init File Syntax. + (line 50) +* CDPATH: Bourne Shell Variables. + (line 9) +* CHILD_MAX: Bash Variables. (line 166) +* colored-completion-prefix: Readline Init File Syntax. + (line 55) +* colored-stats: Readline Init File Syntax. + (line 62) +* COLUMNS: Bash Variables. (line 173) +* comment-begin: Readline Init File Syntax. + (line 68) +* completion-display-width: Readline Init File Syntax. + (line 73) +* completion-ignore-case: Readline Init File Syntax. + (line 80) +* completion-map-case: Readline Init File Syntax. + (line 85) +* completion-prefix-display-length: Readline Init File Syntax. + (line 91) +* completion-query-items: Readline Init File Syntax. + (line 98) +* COMPREPLY: Bash Variables. (line 225) +* COMP_CWORD: Bash Variables. (line 179) +* COMP_KEY: Bash Variables. (line 208) +* COMP_LINE: Bash Variables. (line 185) +* COMP_POINT: Bash Variables. (line 190) +* COMP_TYPE: Bash Variables. (line 198) +* COMP_WORDBREAKS: Bash Variables. (line 212) +* COMP_WORDS: Bash Variables. (line 218) +* convert-meta: Readline Init File Syntax. + (line 108) +* COPROC: Bash Variables. (line 231) +* DIRSTACK: Bash Variables. (line 235) +* disable-completion: Readline Init File Syntax. + (line 116) +* echo-control-characters: Readline Init File Syntax. + (line 121) +* editing-mode: Readline Init File Syntax. + (line 126) +* EMACS: Bash Variables. (line 245) +* emacs-mode-string: Readline Init File Syntax. + (line 132) +* enable-bracketed-paste: Readline Init File Syntax. + (line 142) +* enable-keypad: Readline Init File Syntax. + (line 150) +* ENV: Bash Variables. (line 250) +* EUID: Bash Variables. (line 254) +* EXECIGNORE: Bash Variables. (line 258) +* expand-tilde: Readline Init File Syntax. + (line 161) +* FCEDIT: Bash Variables. (line 271) +* FIGNORE: Bash Variables. (line 275) +* FUNCNAME: Bash Variables. (line 281) +* FUNCNEST: Bash Variables. (line 298) +* GLOBIGNORE: Bash Variables. (line 303) +* GROUPS: Bash Variables. (line 310) +* histchars: Bash Variables. (line 316) +* HISTCMD: Bash Variables. (line 331) +* HISTCONTROL: Bash Variables. (line 336) +* HISTFILE: Bash Variables. (line 352) +* HISTFILESIZE: Bash Variables. (line 356) +* HISTIGNORE: Bash Variables. (line 367) +* history-preserve-point: Readline Init File Syntax. + (line 165) +* history-size: Readline Init File Syntax. + (line 171) +* HISTSIZE: Bash Variables. (line 387) +* HISTTIMEFORMAT: Bash Variables. (line 394) +* HOME: Bourne Shell Variables. + (line 13) +* horizontal-scroll-mode: Readline Init File Syntax. + (line 180) +* HOSTFILE: Bash Variables. (line 402) +* HOSTNAME: Bash Variables. (line 413) +* HOSTTYPE: Bash Variables. (line 416) +* IFS: Bourne Shell Variables. + (line 18) +* IGNOREEOF: Bash Variables. (line 419) +* input-meta: Readline Init File Syntax. + (line 187) +* INPUTRC: Bash Variables. (line 429) +* isearch-terminators: Readline Init File Syntax. + (line 195) +* keymap: Readline Init File Syntax. + (line 202) +* LANG: Bash Variables. (line 433) +* LC_ALL: Bash Variables. (line 437) +* LC_COLLATE: Bash Variables. (line 441) +* LC_CTYPE: Bash Variables. (line 448) +* LC_MESSAGES: Locale Translation. (line 11) +* LC_MESSAGES <1>: Bash Variables. (line 453) +* LC_NUMERIC: Bash Variables. (line 457) +* LC_TIME: Bash Variables. (line 461) +* LINENO: Bash Variables. (line 465) +* LINES: Bash Variables. (line 469) +* MACHTYPE: Bash Variables. (line 475) +* MAIL: Bourne Shell Variables. + (line 22) +* MAILCHECK: Bash Variables. (line 479) +* MAILPATH: Bourne Shell Variables. + (line 27) +* MAPFILE: Bash Variables. (line 487) +* mark-modified-lines: Readline Init File Syntax. + (line 232) +* mark-symlinked-directories: Readline Init File Syntax. + (line 237) +* match-hidden-files: Readline Init File Syntax. + (line 242) +* menu-complete-display-prefix: Readline Init File Syntax. + (line 249) +* meta-flag: Readline Init File Syntax. + (line 187) +* OLDPWD: Bash Variables. (line 491) +* OPTARG: Bourne Shell Variables. + (line 34) +* OPTERR: Bash Variables. (line 494) +* OPTIND: Bourne Shell Variables. + (line 38) +* OSTYPE: Bash Variables. (line 498) +* output-meta: Readline Init File Syntax. + (line 254) +* page-completions: Readline Init File Syntax. + (line 260) +* PATH: Bourne Shell Variables. + (line 42) +* PIPESTATUS: Bash Variables. (line 501) +* POSIXLY_CORRECT: Bash Variables. (line 506) +* PPID: Bash Variables. (line 515) +* PROMPT_COMMAND: Bash Variables. (line 519) +* PROMPT_DIRTRIM: Bash Variables. (line 523) +* PS0: Bash Variables. (line 529) +* PS1: Bourne Shell Variables. + (line 48) +* PS2: Bourne Shell Variables. + (line 53) +* PS3: Bash Variables. (line 534) +* PS4: Bash Variables. (line 539) +* PWD: Bash Variables. (line 545) +* RANDOM: Bash Variables. (line 548) +* READLINE_LINE: Bash Variables. (line 553) +* READLINE_POINT: Bash Variables. (line 557) +* REPLY: Bash Variables. (line 561) +* revert-all-at-newline: Readline Init File Syntax. + (line 270) +* SECONDS: Bash Variables. (line 564) +* SHELL: Bash Variables. (line 570) +* SHELLOPTS: Bash Variables. (line 575) +* SHLVL: Bash Variables. (line 584) +* show-all-if-ambiguous: Readline Init File Syntax. + (line 276) +* show-all-if-unmodified: Readline Init File Syntax. + (line 282) +* show-mode-in-prompt: Readline Init File Syntax. + (line 291) +* skip-completed-text: Readline Init File Syntax. + (line 297) +* TEXTDOMAIN: Locale Translation. (line 11) +* TEXTDOMAINDIR: Locale Translation. (line 11) +* TIMEFORMAT: Bash Variables. (line 589) +* TMOUT: Bash Variables. (line 627) +* TMPDIR: Bash Variables. (line 639) +* UID: Bash Variables. (line 643) +* vi-cmd-mode-string: Readline Init File Syntax. + (line 310) +* vi-ins-mode-string: Readline Init File Syntax. + (line 320) +* visible-stats: Readline Init File Syntax. + (line 330) + + +File: bash.info, Node: Function Index, Next: Concept Index, Prev: Variable Index, Up: Indexes + +D.4 Function Index +================== + +[index] +* Menu: + +* abort (C-g): Miscellaneous Commands. + (line 10) +* accept-line (Newline or Return): Commands For History. + (line 6) +* alias-expand-line (): Miscellaneous Commands. + (line 124) +* backward-char (C-b): Commands For Moving. (line 15) +* backward-delete-char (Rubout): Commands For Text. (line 17) +* backward-kill-line (C-x Rubout): Commands For Killing. + (line 9) +* backward-kill-word (M-): Commands For Killing. + (line 24) +* backward-word (M-b): Commands For Moving. (line 22) +* beginning-of-history (M-<): Commands For History. + (line 20) +* beginning-of-line (C-a): Commands For Moving. (line 6) +* bracketed-paste-begin (): Commands For Text. (line 33) +* call-last-kbd-macro (C-x e): Keyboard Macros. (line 13) +* capitalize-word (M-c): Commands For Text. (line 61) +* character-search (C-]): Miscellaneous Commands. + (line 41) +* character-search-backward (M-C-]): Miscellaneous Commands. + (line 46) +* clear-screen (C-l): Commands For Moving. (line 34) +* complete (): Commands For Completion. + (line 6) +* complete-command (M-!): Commands For Completion. + (line 80) +* complete-filename (M-/): Commands For Completion. + (line 49) +* complete-hostname (M-@): Commands For Completion. + (line 72) +* complete-into-braces (M-{): Commands For Completion. + (line 100) +* complete-username (M-~): Commands For Completion. + (line 56) +* complete-variable (M-$): Commands For Completion. + (line 64) +* copy-backward-word (): Commands For Killing. + (line 58) +* copy-forward-word (): Commands For Killing. + (line 63) +* copy-region-as-kill (): Commands For Killing. + (line 54) +* dabbrev-expand (): Commands For Completion. + (line 95) +* delete-char (C-d): Commands For Text. (line 12) +* delete-char-or-list (): Commands For Completion. + (line 43) +* delete-horizontal-space (): Commands For Killing. + (line 46) +* digit-argument (M-0, M-1, ... M--): Numeric Arguments. (line 6) +* display-shell-version (C-x C-v): Miscellaneous Commands. + (line 109) +* do-uppercase-version (M-a, M-b, M-X, ...): Miscellaneous Commands. + (line 14) +* downcase-word (M-l): Commands For Text. (line 57) +* dump-functions (): Miscellaneous Commands. + (line 73) +* dump-macros (): Miscellaneous Commands. + (line 85) +* dump-variables (): Miscellaneous Commands. + (line 79) +* dynamic-complete-history (M-): Commands For Completion. + (line 90) +* edit-and-execute-command (C-xC-e): Miscellaneous Commands. + (line 138) +* end-kbd-macro (C-x )): Keyboard Macros. (line 9) +* end-of-file (usually C-d): Commands For Text. (line 6) +* end-of-history (M->): Commands For History. + (line 23) +* end-of-line (C-e): Commands For Moving. (line 9) +* exchange-point-and-mark (C-x C-x): Miscellaneous Commands. + (line 36) +* forward-backward-delete-char (): Commands For Text. (line 21) +* forward-char (C-f): Commands For Moving. (line 12) +* forward-search-history (C-s): Commands For History. + (line 31) +* forward-word (M-f): Commands For Moving. (line 18) +* glob-complete-word (M-g): Miscellaneous Commands. + (line 91) +* glob-expand-word (C-x *): Miscellaneous Commands. + (line 97) +* glob-list-expansions (C-x g): Miscellaneous Commands. + (line 103) +* history-and-alias-expand-line (): Miscellaneous Commands. + (line 127) +* history-expand-line (M-^): Miscellaneous Commands. + (line 117) +* history-search-backward (): Commands For History. + (line 53) +* history-search-forward (): Commands For History. + (line 47) +* history-substr-search-backward (): Commands For History. + (line 65) +* history-substr-search-forward (): Commands For History. + (line 59) +* insert-comment (M-#): Miscellaneous Commands. + (line 60) +* insert-completions (M-*): Commands For Completion. + (line 22) +* insert-last-argument (M-. or M-_): Miscellaneous Commands. + (line 130) +* kill-line (C-k): Commands For Killing. + (line 6) +* kill-region (): Commands For Killing. + (line 50) +* kill-whole-line (): Commands For Killing. + (line 15) +* kill-word (M-d): Commands For Killing. + (line 19) +* magic-space (): Miscellaneous Commands. + (line 120) +* menu-complete (): Commands For Completion. + (line 26) +* menu-complete-backward (): Commands For Completion. + (line 38) +* next-history (C-n): Commands For History. + (line 17) +* non-incremental-forward-search-history (M-n): Commands For History. + (line 41) +* non-incremental-reverse-search-history (M-p): Commands For History. + (line 35) +* operate-and-get-next (C-o): Miscellaneous Commands. + (line 133) +* overwrite-mode (): Commands For Text. (line 65) +* possible-command-completions (C-x !): Commands For Completion. + (line 86) +* possible-completions (M-?): Commands For Completion. + (line 15) +* possible-filename-completions (C-x /): Commands For Completion. + (line 52) +* possible-hostname-completions (C-x @): Commands For Completion. + (line 76) +* possible-username-completions (C-x ~): Commands For Completion. + (line 60) +* possible-variable-completions (C-x $): Commands For Completion. + (line 68) +* prefix-meta (): Miscellaneous Commands. + (line 18) +* previous-history (C-p): Commands For History. + (line 13) +* print-last-kbd-macro (): Keyboard Macros. (line 17) +* quoted-insert (C-q or C-v): Commands For Text. (line 26) +* re-read-init-file (C-x C-r): Miscellaneous Commands. + (line 6) +* redraw-current-line (): Commands For Moving. (line 38) +* reverse-search-history (C-r): Commands For History. + (line 27) +* revert-line (M-r): Miscellaneous Commands. + (line 25) +* self-insert (a, b, A, 1, !, ...): Commands For Text. (line 30) +* set-mark (C-@): Miscellaneous Commands. + (line 32) +* shell-backward-kill-word (): Commands For Killing. + (line 33) +* shell-backward-word (): Commands For Moving. (line 30) +* shell-expand-line (M-C-e): Miscellaneous Commands. + (line 112) +* shell-forward-word (): Commands For Moving. (line 26) +* shell-kill-word (): Commands For Killing. + (line 28) +* skip-csi-sequence (): Miscellaneous Commands. + (line 51) +* start-kbd-macro (C-x (): Keyboard Macros. (line 6) +* tilde-expand (M-&): Miscellaneous Commands. + (line 29) +* transpose-chars (C-t): Commands For Text. (line 42) +* transpose-words (M-t): Commands For Text. (line 48) +* undo (C-_ or C-x C-u): Miscellaneous Commands. + (line 22) +* universal-argument (): Numeric Arguments. (line 10) +* unix-filename-rubout (): Commands For Killing. + (line 41) +* unix-line-discard (C-u): Commands For Killing. + (line 12) +* unix-word-rubout (C-w): Commands For Killing. + (line 37) +* upcase-word (M-u): Commands For Text. (line 53) +* yank (C-y): Commands For Killing. + (line 68) +* yank-last-arg (M-. or M-_): Commands For History. + (line 80) +* yank-nth-arg (M-C-y): Commands For History. + (line 71) +* yank-pop (M-y): Commands For Killing. + (line 71) + + +File: bash.info, Node: Concept Index, Prev: Function Index, Up: Indexes + +D.5 Concept Index +================= + +[index] +* Menu: + +* alias expansion: Aliases. (line 6) +* arithmetic evaluation: Shell Arithmetic. (line 6) +* arithmetic expansion: Arithmetic Expansion. + (line 6) +* arithmetic, shell: Shell Arithmetic. (line 6) +* arrays: Arrays. (line 6) +* background: Job Control Basics. (line 6) +* Bash configuration: Basic Installation. (line 6) +* Bash installation: Basic Installation. (line 6) +* Bourne shell: Basic Shell Features. + (line 6) +* brace expansion: Brace Expansion. (line 6) +* builtin: Definitions. (line 17) +* command editing: Readline Bare Essentials. + (line 6) +* command execution: Command Search and Execution. + (line 6) +* command expansion: Simple Command Expansion. + (line 6) +* command history: Bash History Facilities. + (line 6) +* command search: Command Search and Execution. + (line 6) +* command substitution: Command Substitution. + (line 6) +* command timing: Pipelines. (line 9) +* commands, compound: Compound Commands. (line 6) +* commands, conditional: Conditional Constructs. + (line 6) +* commands, grouping: Command Grouping. (line 6) +* commands, lists: Lists. (line 6) +* commands, looping: Looping Constructs. (line 6) +* commands, pipelines: Pipelines. (line 6) +* commands, shell: Shell Commands. (line 6) +* commands, simple: Simple Commands. (line 6) +* comments, shell: Comments. (line 6) +* completion builtins: Programmable Completion Builtins. + (line 6) +* configuration: Basic Installation. (line 6) +* control operator: Definitions. (line 21) +* coprocess: Coprocesses. (line 6) +* directory stack: The Directory Stack. (line 6) +* editing command lines: Readline Bare Essentials. + (line 6) +* environment: Environment. (line 6) +* evaluation, arithmetic: Shell Arithmetic. (line 6) +* event designators: Event Designators. (line 6) +* execution environment: Command Execution Environment. + (line 6) +* exit status: Definitions. (line 26) +* exit status <1>: Exit Status. (line 6) +* expansion: Shell Expansions. (line 6) +* expansion, arithmetic: Arithmetic Expansion. + (line 6) +* expansion, brace: Brace Expansion. (line 6) +* expansion, filename: Filename Expansion. (line 9) +* expansion, parameter: Shell Parameter Expansion. + (line 6) +* expansion, pathname: Filename Expansion. (line 9) +* expansion, tilde: Tilde Expansion. (line 6) +* expressions, arithmetic: Shell Arithmetic. (line 6) +* expressions, conditional: Bash Conditional Expressions. + (line 6) +* field: Definitions. (line 30) +* filename: Definitions. (line 35) +* filename expansion: Filename Expansion. (line 9) +* foreground: Job Control Basics. (line 6) +* functions, shell: Shell Functions. (line 6) +* history builtins: Bash History Builtins. + (line 6) +* history events: Event Designators. (line 8) +* history expansion: History Interaction. (line 6) +* history list: Bash History Facilities. + (line 6) +* History, how to use: A Programmable Completion Example. + (line 114) +* identifier: Definitions. (line 51) +* initialization file, readline: Readline Init File. (line 6) +* installation: Basic Installation. (line 6) +* interaction, readline: Readline Interaction. + (line 6) +* interactive shell: Invoking Bash. (line 128) +* interactive shell <1>: Interactive Shells. (line 6) +* internationalization: Locale Translation. (line 6) +* job: Definitions. (line 38) +* job control: Definitions. (line 42) +* job control <1>: Job Control Basics. (line 6) +* kill ring: Readline Killing Commands. + (line 18) +* killing text: Readline Killing Commands. + (line 6) +* localization: Locale Translation. (line 6) +* login shell: Invoking Bash. (line 125) +* matching, pattern: Pattern Matching. (line 6) +* metacharacter: Definitions. (line 46) +* name: Definitions. (line 51) +* native languages: Locale Translation. (line 6) +* notation, readline: Readline Bare Essentials. + (line 6) +* operator, shell: Definitions. (line 57) +* parameter expansion: Shell Parameter Expansion. + (line 6) +* parameters: Shell Parameters. (line 6) +* parameters, positional: Positional Parameters. + (line 6) +* parameters, special: Special Parameters. (line 6) +* pathname expansion: Filename Expansion. (line 9) +* pattern matching: Pattern Matching. (line 6) +* pipeline: Pipelines. (line 6) +* POSIX: Definitions. (line 9) +* POSIX Mode: Bash POSIX Mode. (line 6) +* process group: Definitions. (line 62) +* process group ID: Definitions. (line 66) +* process substitution: Process Substitution. + (line 6) +* programmable completion: Programmable Completion. + (line 6) +* prompting: Controlling the Prompt. + (line 6) +* quoting: Quoting. (line 6) +* quoting, ANSI: ANSI-C Quoting. (line 6) +* Readline, how to use: Job Control Variables. + (line 23) +* redirection: Redirections. (line 6) +* reserved word: Definitions. (line 70) +* restricted shell: The Restricted Shell. + (line 6) +* return status: Definitions. (line 75) +* shell arithmetic: Shell Arithmetic. (line 6) +* shell function: Shell Functions. (line 6) +* shell script: Shell Scripts. (line 6) +* shell variable: Shell Parameters. (line 6) +* shell, interactive: Interactive Shells. (line 6) +* signal: Definitions. (line 78) +* signal handling: Signals. (line 6) +* special builtin: Definitions. (line 82) +* special builtin <1>: Special Builtins. (line 6) +* startup files: Bash Startup Files. (line 6) +* suspending jobs: Job Control Basics. (line 6) +* tilde expansion: Tilde Expansion. (line 6) +* token: Definitions. (line 86) +* translation, native languages: Locale Translation. (line 6) +* variable, shell: Shell Parameters. (line 6) +* variables, readline: Readline Init File Syntax. + (line 37) +* word: Definitions. (line 90) +* word splitting: Word Splitting. (line 6) +* yanking text: Readline Killing Commands. + (line 6) + + + +Tag Table: +Node: Top897 +Node: Introduction2817 +Node: What is Bash?3033 +Node: What is a shell?4147 +Node: Definitions6685 +Node: Basic Shell Features9636 +Node: Shell Syntax10855 +Node: Shell Operation11881 +Node: Quoting13174 +Node: Escape Character14474 +Node: Single Quotes14959 +Node: Double Quotes15307 +Node: ANSI-C Quoting16585 +Node: Locale Translation17838 +Node: Comments18734 +Node: Shell Commands19352 +Node: Simple Commands20224 +Node: Pipelines20855 +Node: Lists23598 +Node: Compound Commands25327 +Node: Looping Constructs26330 +Node: Conditional Constructs28793 +Node: Command Grouping39715 +Node: Coprocesses41194 +Node: GNU Parallel43026 +Node: Shell Functions46999 +Node: Shell Parameters52205 +Node: Positional Parameters56618 +Node: Special Parameters57518 +Node: Shell Expansions60855 +Node: Brace Expansion62949 +Node: Tilde Expansion65730 +Node: Shell Parameter Expansion68078 +Node: Command Substitution82210 +Node: Arithmetic Expansion83565 +Node: Process Substitution84497 +Node: Word Splitting85617 +Node: Filename Expansion87561 +Node: Pattern Matching89845 +Node: Quote Removal93543 +Node: Redirections93838 +Node: Executing Commands103258 +Node: Simple Command Expansion103928 +Node: Command Search and Execution105858 +Node: Command Execution Environment108194 +Node: Environment111178 +Node: Exit Status112837 +Node: Signals114507 +Node: Shell Scripts116474 +Node: Shell Builtin Commands118989 +Node: Bourne Shell Builtins121023 +Node: Bash Builtins141623 +Node: Modifying Shell Behavior170268 +Node: The Set Builtin170613 +Node: The Shopt Builtin181026 +Node: Special Builtins196825 +Node: Shell Variables197804 +Node: Bourne Shell Variables198241 +Node: Bash Variables200272 +Node: Bash Features228652 +Node: Invoking Bash229551 +Node: Bash Startup Files235500 +Node: Interactive Shells240603 +Node: What is an Interactive Shell?241013 +Node: Is this Shell Interactive?241662 +Node: Interactive Shell Behavior242477 +Node: Bash Conditional Expressions245852 +Node: Shell Arithmetic250092 +Node: Aliases252909 +Node: Arrays255457 +Node: The Directory Stack260541 +Node: Directory Stack Builtins261325 +Node: Controlling the Prompt264293 +Node: The Restricted Shell267039 +Node: Bash POSIX Mode268864 +Node: Job Control279215 +Node: Job Control Basics279675 +Node: Job Control Builtins284394 +Node: Job Control Variables288924 +Node: Command Line Editing290080 +Node: Introduction and Notation291751 +Node: Readline Interaction293374 +Node: Readline Bare Essentials294565 +Node: Readline Movement Commands296348 +Node: Readline Killing Commands297308 +Node: Readline Arguments299226 +Node: Searching300270 +Node: Readline Init File302456 +Node: Readline Init File Syntax303603 +Node: Conditional Init Constructs323790 +Node: Sample Init File326315 +Node: Bindable Readline Commands329432 +Node: Commands For Moving330636 +Node: Commands For History331779 +Node: Commands For Text336068 +Node: Commands For Killing339457 +Node: Numeric Arguments341938 +Node: Commands For Completion343077 +Node: Keyboard Macros347268 +Node: Miscellaneous Commands347955 +Node: Readline vi Mode353759 +Node: Programmable Completion354666 +Node: Programmable Completion Builtins362127 +Node: A Programmable Completion Example372013 +Node: Using History Interactively377265 +Node: Bash History Facilities377949 +Node: Bash History Builtins380950 +Node: History Interaction384947 +Node: Event Designators387911 +Node: Word Designators389130 +Node: Modifiers390767 +Node: Installing Bash392169 +Node: Basic Installation393306 +Node: Compilers and Options395997 +Node: Compiling For Multiple Architectures396738 +Node: Installation Names398401 +Node: Specifying the System Type399219 +Node: Sharing Defaults399935 +Node: Operation Controls400608 +Node: Optional Features401566 +Node: Reporting Bugs411823 +Node: Major Differences From The Bourne Shell413017 +Node: GNU Free Documentation License429869 +Node: Indexes455046 +Node: Builtin Index455500 +Node: Reserved Word Index462327 +Node: Variable Index464775 +Node: Function Index480234 +Node: Concept Index493391 + +End Tag Table diff --git a/doc/bash.pdf b/doc/bash.pdf index fbc1fde7a..2f64c6f5b 100644 Binary files a/doc/bash.pdf and b/doc/bash.pdf differ diff --git a/doc/bash.ps b/doc/bash.ps index 27ff58018..35da9d02a 100644 --- a/doc/bash.ps +++ b/doc/bash.ps @@ -1,13 +1,13 @@ %!PS-Adobe-3.0 -%%Creator: groff version 1.19.2 -%%CreationDate: Tue Feb 11 10:59:21 2014 +%%Creator: groff version 1.22.3 +%%CreationDate: Wed Aug 31 10:23:59 2016 %%DocumentNeededResources: font Times-Roman %%+ font Times-Bold %%+ font Times-Italic %%+ font Courier %%+ font Symbol -%%DocumentSuppliedResources: procset grops 1.19 2 -%%Pages: 75 +%%DocumentSuppliedResources: procset grops 1.22 3 +%%Pages: 78 %%PageOrder: Ascend %%DocumentMedia: Default 612 792 0 () () %%Orientation: Portrait @@ -16,7 +16,7 @@ %%PageMedia: Default %%EndDefaults %%BeginProlog -%%BeginResource: procset grops 1.19 2 +%%BeginResource: procset grops 1.22 3 %!PS-Adobe-3.0 Resource-ProcSet /setpacking where{ pop @@ -74,6 +74,7 @@ exch pop add exch pop /level0 save def 1 setlinecap 1 setlinejoin +DEFS/BPhook known{DEFS begin BPhook end}if 72 RES div dup scale LS{ 90 rotate @@ -139,7 +140,10 @@ pop findfont dup maxlength 1 index/FontName known not{1 add}if dict begin { -1 index/FID ne{def}{pop pop}ifelse +1 index/FID ne +2 index/UniqueID ne +and +{def}{pop pop}ifelse }forall /Encoding exch def dup/FontName exch def @@ -177,8 +181,10 @@ newpath userdict begin /showpage{}def /setpagedevice{}def +mark }bind def /PEND{ +cleartomark countdictstack CNT sub{end}repeat level1 restore }bind def @@ -233,14 +239,15 @@ def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10.95/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0 -(bash \255 GNU Bourne-Ag)108 96 Q(ain SHell)-.05 E F1(SYNOPSIS)72 112.8 -Q/F2 10/Times-Bold@0 SF(bash)108 124.8 Q F0 -([options] [command_string | \214le])2.5 E F1(COPYRIGHT)72 141.6 Q F0 -(Bash is Cop)108 153.6 Q(yright \251 1989-2013 by the Free Softw)-.1 E -(are F)-.1 E(oundation, Inc.)-.15 E F1(DESCRIPTION)72 170.4 Q F2(Bash) -108 182.4 Q F0 .973(is an)3.474 F F2(sh)3.473 E F0 .973 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10.95 +/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0(bash \255 GNU Bourne-Ag) +108 96 Q(ain SHell)-.05 E F1(SYNOPSIS)72 112.8 Q/F2 10/Times-Bold@0 SF +(bash)108 124.8 Q F0([options] [command_string | \214le])2.5 E F1 +(COPYRIGHT)72 141.6 Q F0(Bash is Cop)108 153.6 Q +(yright \251 1989-2016 by the Free Softw)-.1 E(are F)-.1 E +(oundation, Inc.)-.15 E F1(DESCRIPTION)72 170.4 Q F2(Bash)108 182.4 Q F0 +.973(is an)3.474 F F2(sh)3.473 E F0 .973 (-compatible command language interpreter that e)B -.15(xe)-.15 G .973 (cutes commands read from the standard).15 F(input or from a \214le.)108 194.4 Q F2(Bash)5 E F0(also incorporates useful features from the)2.5 E @@ -250,526 +257,538 @@ Q/F2 10/Times-Bold@0 SF(bash)108 124.8 Q F0 ell and Utilities portion of the IEEE POSIX)3.027 F (speci\214cation \(IEEE Standard 1003.1\).)108 223.2 Q F2(Bash)5 E F0 (can be con\214gured to be POSIX-conformant by def)2.5 E(ault.)-.1 E F1 -(OPTIONS)72 240 Q F0 .61(All of the)108 252 R .61 -(single-character shell options documented in the description of the) -5.61 F F2(set)3.11 E F0 -.2(bu)3.11 G .61(iltin command can be).2 F -1.284(used as options when the shell is in)108 264 R -.2(vo)-.4 G -.1 -(ke).2 G 3.785(d. In).1 F(addition,)3.785 E F2(bash)3.785 E F0 1.285 +(OPTIONS)72 240 Q F0 .766(All of the single-character shell options doc\ +umented in the description of the)108 252 R F2(set)3.266 E F0 -.2(bu) +3.266 G .766(iltin command can be).2 F 1.284 +(used as options when the shell is in)108 264 R -.2(vo)-.4 G -.1(ke).2 G +3.785(d. In).1 F(addition,)3.785 E F2(bash)3.785 E F0 1.285 (interprets the follo)3.785 F 1.285(wing options when it is)-.25 F(in) 108 276 Q -.2(vo)-.4 G -.1(ke).2 G(d:).1 E F2108 292.8 Q F0 .881 -(If the)39.86 F F23.381 E F0 .881(option is present, then command\ -s are read from the \214rst non-option ar)3.381 F(gument)-.18 E F3(com-) -3.38 E(mand_string)158 304.8 Q F0 5.706(.I).22 G 3.206(ft)-5.706 G .706 -(here are ar)-3.206 F .706(guments after the)-.18 F F3(command_string) -3.206 E F0 3.206(,t).22 G(he)-3.206 E 3.206(ya)-.15 G .706 -(re assigned to the posi-)-3.206 F(tional parameters, starting with)158 -316.8 Q F2($0)2.5 E F0(.)A F2108 328.8 Q F0(If the)41.52 E F2 -2.5 E F0(option is present, the shell is)2.5 E F3(inter)2.5 E -(active)-.15 E F0(.).18 E F2108 340.8 Q F0(Mak)41.52 E(e)-.1 E F2 -(bash)2.5 E F0(act as if it had been in)2.5 E -.2(vo)-.4 G -.1(ke).2 G -2.5(da).1 G 2.5(sal)-2.5 G(ogin shell \(see)-2.5 E/F4 9/Times-Bold@0 SF -(INV)2.5 E(OCA)-.405 E(TION)-.855 E F0(belo)2.25 E(w\).)-.25 E F2 -108 352.8 Q F0(If the)39.86 E F22.5 E F0 +(If the)158 292.8 R F23.381 E F0 .881(option is present, then com\ +mands are read from the \214rst non-option ar)3.381 F(gument)-.18 E F3 +(com-)3.38 E(mand_string)158 304.8 Q F0 5.743(.I).22 G 3.243(ft)-5.743 G +.743(here are ar)-3.243 F .743(guments after the)-.18 F F3 +(command_string)3.243 E F0 3.243(,t).22 G .744(he \214rst ar)-3.243 F +.744(gument is assigned)-.18 F(to)158 316.8 Q F2($0)2.919 E F0 .419 +(and an)2.919 F 2.919(yr)-.15 G .419(emaining ar)-2.919 F .418 +(guments are assigned to the positional parameters.)-.18 F .418 +(The assignment)5.418 F(to)158 328.8 Q F2($0)2.5 E F0 +(sets the name of the shell, which is used in w)2.5 E +(arning and error messages.)-.1 E F2108 340.8 Q F0(If the)158 +340.8 Q F22.5 E F0(option is present, the shell is)2.5 E F3(inter) +2.5 E(active)-.15 E F0(.).18 E F2108 352.8 Q F0(Mak)158 352.8 Q(e) +-.1 E F2(bash)2.5 E F0(act as if it had been in)2.5 E -.2(vo)-.4 G -.1 +(ke).2 G 2.5(da).1 G 2.5(sal)-2.5 G(ogin shell \(see)-2.5 E/F4 9 +/Times-Bold@0 SF(INV)2.5 E(OCA)-.405 E(TION)-.855 E F0(belo)2.25 E(w\).) +-.25 E F2108 364.8 Q F0(If the)158 364.8 Q F22.5 E F0 (option is present, the shell becomes)2.5 E F3 -.37(re)2.5 G(stricted) .37 E F0(\(see)3.27 E F4(RESTRICTED SHELL)2.5 E F0(belo)2.25 E(w\).)-.25 -E F2108 364.8 Q F0 .602(If the)40.41 F F23.102 E F0 .602 +E F2108 376.8 Q F0 .602(If the)158 376.8 R F23.102 E F0 .602 (option is present, or if no ar)3.102 F .602 -(guments remain after option processing, then commands)-.18 F .616 -(are read from the standard input.)158 376.8 R .617(This option allo) -5.617 F .617(ws the positional parameters to be set when)-.25 F(in)158 -388.8 Q -.2(vo)-.4 G(king an interacti).2 E .3 -.15(ve s)-.25 H(hell.) -.15 E F2108 400.8 Q F0 3.184(Al)37.08 G .684 -(ist of all double-quoted strings preceded by)-3.184 F F2($)3.184 E F0 -.684(is printed on the standard output.)3.184 F .683(These are)5.683 F +(guments remain after option processing, then commands)-.18 F .617 +(are read from the standard input.)158 388.8 R .617(This option allo) +5.617 F .616(ws the positional parameters to be set when)-.25 F(in)158 +400.8 Q -.2(vo)-.4 G(king an interacti).2 E .3 -.15(ve s)-.25 H(hell.) +.15 E F2108 412.8 Q F0 3.183(Al)158 412.8 S .683 +(ist of all double-quoted strings preceded by)-3.183 F F2($)3.184 E F0 +.684(is printed on the standard output.)3.184 F .684(These are)5.684 F .458(the strings that are subject to language translation when the curr\ -ent locale is not)158 412.8 R F2(C)2.958 E F0(or)2.959 E F2(POSIX)2.959 -E F0(.)A(This implies the)158 424.8 Q F22.5 E F0 +ent locale is not)158 424.8 R F2(C)2.958 E F0(or)2.958 E F2(POSIX)2.958 +E F0(.)A(This implies the)158 436.8 Q F22.5 E F0 (option; no commands will be e)2.5 E -.15(xe)-.15 G(cuted.).15 E F2 -([\255+]O [)108 436.8 Q F3(shopt_option)A F2(])A F3(shopt_option)158 -448.8 Q F0 1.097(is one of the shell options accepted by the)3.597 F F2 -(shopt)3.597 E F0 -.2(bu)3.597 G 1.097(iltin \(see).2 F F4 1.096 -(SHELL B)3.596 F(UIL)-.09 E(TIN)-.828 E(COMMANDS)158 460.8 Q F0(belo) -3.002 E 3.252(w\). If)-.25 F F3(shopt_option)3.253 E F0 .753 +([\255+]O [)108 448.8 Q F3(shopt_option)A F2(])A F3(shopt_option)158 +460.8 Q F0 1.097(is one of the shell options accepted by the)3.596 F F2 +(shopt)3.597 E F0 -.2(bu)3.597 G 1.097(iltin \(see).2 F F4 1.097 +(SHELL B)3.597 F(UIL)-.09 E(TIN)-.828 E(COMMANDS)158 472.8 Q F0(belo) +3.003 E 3.253(w\). If)-.25 F F3(shopt_option)3.253 E F0 .753 (is present,)3.253 F F23.253 E F0 .753(sets the v)3.253 F .753 -(alue of that option;)-.25 F F2(+O)3.253 E F0(unsets)3.253 E 2.625 -(it. If)158 472.8 R F3(shopt_option)2.625 E F0 .125 -(is not supplied, the names and v)2.625 F .124 -(alues of the shell options accepted by)-.25 F F2(shopt)2.624 E F0 .505 -(are printed on the standard output.)158 484.8 R .505(If the in)5.505 F --.2(vo)-.4 G .505(cation option is).2 F F2(+O)3.005 E F0 3.005(,t)C .506 +(alue of that option;)-.25 F F2(+O)3.252 E F0(unsets)3.252 E 2.624 +(it. If)158 484.8 R F3(shopt_option)2.624 E F0 .124 +(is not supplied, the names and v)2.624 F .125 +(alues of the shell options accepted by)-.25 F F2(shopt)2.625 E F0 .506 +(are printed on the standard output.)158 496.8 R .505(If the in)5.505 F +-.2(vo)-.4 G .505(cation option is).2 F F2(+O)3.005 E F0 3.005(,t)C .505 (he output is displayed in a)-3.005 F -(format that may be reused as input.)158 496.8 Q F2108 508.8 Q F0 -(A)38.6 E F23.364 E F0 .864 +(format that may be reused as input.)158 508.8 Q F2108 520.8 Q F0 +(A)158 520.8 Q F23.363 E F0 .864 (signals the end of options and disables further option processing.) -3.364 F(An)5.863 E 3.363(ya)-.15 G -.18(rg)-3.363 G .863(uments after) -.18 F(the)158 520.8 Q F22.5 E F0 +3.363 F(An)5.864 E 3.364(ya)-.15 G -.18(rg)-3.364 G .864(uments after) +.18 F(the)158 532.8 Q F22.5 E F0 (are treated as \214lenames and ar)2.5 E 2.5(guments. An)-.18 F(ar)2.5 E (gument of)-.18 E F22.5 E F0(is equi)2.5 E -.25(va)-.25 G(lent to) -.25 E F22.5 E F0(.)A F2(Bash)108 537.6 Q F0 .303 -(also interprets a number of multi-character options.)2.803 F .304 +.25 E F22.5 E F0(.)A F2(Bash)108 549.6 Q F0 .304 +(also interprets a number of multi-character options.)2.804 F .303 (These options must appear on the command line)5.303 F -(before the single-character options to be recognized.)108 549.6 Q F2 -108 566.4 Q(ugger)-.2 E F0 .475(Arrange for the deb)144 -578.4 R .475(ugger pro\214le to be e)-.2 F -.15(xe)-.15 G .475 -(cuted before the shell starts.).15 F -.45(Tu)5.474 G .474(rns on e).45 -F .474(xtended deb)-.15 F(ug-)-.2 E -(ging mode \(see the description of the)144 590.4 Q F2(extdeb)2.5 E(ug) +(before the single-character options to be recognized.)108 561.6 Q F2 +108 578.4 Q(ugger)-.2 E F0 .474(Arrange for the deb)144 +590.4 R .474(ugger pro\214le to be e)-.2 F -.15(xe)-.15 G .475 +(cuted before the shell starts.).15 F -.45(Tu)5.475 G .475(rns on e).45 +F .475(xtended deb)-.15 F(ug-)-.2 E +(ging mode \(see the description of the)144 602.4 Q F2(extdeb)2.5 E(ug) -.2 E F0(option to the)2.5 E F2(shopt)2.5 E F0 -.2(bu)2.5 G(iltin belo) -.2 E(w\).)-.25 E F2(\255\255dump\255po\255strings)108 602.4 Q F0(Equi) -144 614.4 Q -.25(va)-.25 G(lent to).25 E F22.5 E F0 2.5(,b)C +.2 E(w\).)-.25 E F2(\255\255dump\255po\255strings)108 614.4 Q F0(Equi) +144 626.4 Q -.25(va)-.25 G(lent to).25 E F22.5 E F0 2.5(,b)C (ut the output is in the GNU)-2.7 E F3 -.1(ge)2.5 G(tte).1 E(xt)-.2 E F2 (po)2.5 E F0(\(portable object\) \214le format.)2.5 E F2 -(\255\255dump\255strings)108 626.4 Q F0(Equi)144 638.4 Q -.25(va)-.25 G -(lent to).25 E F22.5 E F0(.)A F2(\255\255help)108 650.4 Q F0 -(Display a usage message on standard output and e)6.26 E -(xit successfully)-.15 E(.)-.65 E F2108 662.4 Q F3 -(\214le)2.5 E F2108 674.4 Q(c\214le)-.18 E F3(\214le)2.5 E F0 -(Ex)144 686.4 Q 1.598(ecute commands from)-.15 F F3(\214le)6.008 E F0 -1.598(instead of the standard personal initialization \214le)4.278 F F3 -(~/.bashr)3.599 E(c)-.37 E F0 1.599(if the)4.409 F(shell is interacti) -144 698.4 Q .3 -.15(ve \()-.25 H(see).15 E F4(INV)2.5 E(OCA)-.405 E -(TION)-.855 E F0(belo)2.25 E(w\).)-.25 E(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(1)195.95 E 0 Cg EP +(\255\255dump\255strings)108 638.4 Q F0(Equi)144 650.4 Q -.25(va)-.25 G +(lent to).25 E F22.5 E F0(.)A F2(\255\255help)108 662.4 Q F0 +(Display a usage message on standard output and e)144 662.4 Q +(xit successfully)-.15 E(.)-.65 E F2108 674.4 Q F3 +(\214le)2.5 E F2108 686.4 Q(c\214le)-.18 E F3(\214le)2.5 E F0 +(Ex)144 698.4 Q 1.599(ecute commands from)-.15 F F3(\214le)6.009 E F0 +1.598(instead of the standard personal initialization \214le)4.279 F F3 +(~/.bashr)3.598 E(c)-.37 E F0 1.598(if the)4.408 F(shell is interacti) +144 710.4 Q .3 -.15(ve \()-.25 H(see).15 E F4(INV)2.5 E(OCA)-.405 E +(TION)-.855 E F0(belo)2.25 E(w\).)-.25 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(1)197.055 E 0 Cg EP %%Page: 2 2 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(\255\255login)108 84 Q F0(Equi)144 96 Q --.25(va)-.25 G(lent to).25 E F12.5 E F0(.)A F1(\255\255noediting) -108 112.8 Q F0(Do not use the GNU)144 124.8 Q F1 -.18(re)2.5 G(adline) -.18 E F0(library to read command lines when the shell is interacti)2.5 E --.15(ve)-.25 G(.).15 E F1(\255\255nopr)108 141.6 Q(o\214le)-.18 E F0 -.017(Do not read either the system-wide startup \214le)144 153.6 R/F2 10 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(\255\255login)108 84 Q F0(Equi)144 96 Q -.25(va)-.25 G(lent to).25 E +F12.5 E F0(.)A F1(\255\255noediting)108 112.8 Q F0 +(Do not use the GNU)144 124.8 Q F1 -.18(re)2.5 G(adline).18 E F0 +(library to read command lines when the shell is interacti)2.5 E -.15 +(ve)-.25 G(.).15 E F1(\255\255nopr)108 141.6 Q(o\214le)-.18 E F0 .017 +(Do not read either the system-wide startup \214le)144 153.6 R/F2 10 /Times-Italic@0 SF(/etc/pr)4.183 E(o\214le)-.45 E F0 .017(or an)4.183 F -2.517(yo)-.15 G 2.517(ft)-2.517 G .017 +2.517(yo)-.15 G 2.517(ft)-2.517 G .018 (he personal initialization \214les)-2.517 F F2(~/.bash_pr)144 165.6 Q -(o\214le)-.45 E F0(,).18 E F2(~/.bash_lo)2.697 E(gin)-.1 E F0 2.697(,o) -.24 G(r)-2.697 E F2(~/.pr)2.698 E(o\214le)-.45 E F0 5.198(.B).18 G 2.698 +(o\214le)-.45 E F0(,).18 E F2(~/.bash_lo)2.698 E(gin)-.1 E F0 2.698(,o) +.24 G(r)-2.698 E F2(~/.pr)2.698 E(o\214le)-.45 E F0 5.198(.B).18 G 2.698 (yd)-5.198 G(ef)-2.698 E(ault,)-.1 E F1(bash)2.698 E F0 .198 (reads these \214les when it is in)2.698 F -.2(vo)-.4 G -.1(ke).2 G -2.698(da).1 G(s)-2.698 E 2.5(al)144 177.6 S(ogin shell \(see)-2.5 E/F3 9 +2.697(da).1 G(s)-2.697 E 2.5(al)144 177.6 S(ogin shell \(see)-2.5 E/F3 9 /Times-Bold@0 SF(INV)2.5 E(OCA)-.405 E(TION)-.855 E F0(belo)2.25 E(w\).) --.25 E F1108 194.4 Q(c)-.18 E F0 1.228(Do not read and e) -5.34 F -.15(xe)-.15 G 1.228(cute the personal initialization \214le).15 +-.25 E F1108 194.4 Q(c)-.18 E F0 1.228(Do not read and e)144 +194.4 R -.15(xe)-.15 G 1.228(cute the personal initialization \214le).15 F F2(~/.bashr)3.228 E(c)-.37 E F0 1.228(if the shell is interacti)4.038 F -.15(ve)-.25 G 6.228(.T).15 G(his)-6.228 E(option is on by def)144 206.4 Q(ault if the shell is in)-.1 E -.2(vo)-.4 G -.1(ke).2 G 2.5(da).1 -G(s)-2.5 E F1(sh)2.5 E F0(.)A F1(\255\255posix)108 223.2 Q F0 1.782 +G(s)-2.5 E F1(sh)2.5 E F0(.)A F1(\255\255posix)108 223.2 Q F0 1.783 (Change the beha)144 235.2 R 1.782(vior of)-.2 F F1(bash)4.282 E F0 1.782(where the def)4.282 F 1.782(ault operation dif)-.1 F 1.782 -(fers from the POSIX standard to)-.25 F .333(match the standard \()144 -247.2 R F2 .333(posix mode)B F0 2.833(\). See)B F3 .333(SEE ALSO)2.833 F -F0(belo)2.583 E 2.833(wf)-.25 G .332 +(fers from the POSIX standard to)-.25 F .332(match the standard \()144 +247.2 R F2 .332(posix mode)B F0 2.832(\). See)B F3 .333(SEE ALSO)2.833 F +F0(belo)2.583 E 2.833(wf)-.25 G .333 (or a reference to a document that details)-2.833 F(ho)144 259.2 Q 2.5 (wp)-.25 G(osix mode af)-2.5 E(fects bash')-.25 E 2.5(sb)-.55 G(eha)-2.5 E(vior)-.2 E(.)-.55 E F1108 276 Q(estricted)-.18 E F0 (The shell becomes restricted \(see)144 288 Q F3(RESTRICTED SHELL)2.5 E F0(belo)2.25 E(w\).)-.25 E F1108 304.8 Q(erbose)-.1 E F0(Equi) -144 316.8 Q -.25(va)-.25 G(lent to).25 E F15 E F0(.)A F1 +144 316.8 Q -.25(va)-.25 G(lent to).25 E F12.5 E F0(.)A F1 108 333.6 Q(ersion)-.1 E F0(Sho)144 345.6 Q 2.5(wv)-.25 G (ersion information for this instance of)-2.65 E F1(bash)2.5 E F0 (on the standard output and e)2.5 E(xit successfully)-.15 E(.)-.65 E/F4 -10.95/Times-Bold@0 SF(ARGUMENTS)72 362.4 Q F0 .016(If ar)108 374.4 R +10.95/Times-Bold@0 SF(ARGUMENTS)72 362.4 Q F0 .017(If ar)108 374.4 R .016(guments remain after option processing, and neither the)-.18 F F1 2.516 E F0 .016(nor the)2.516 F F12.516 E F0 .016 (option has been supplied, the \214rst)2.516 F(ar)108 386.4 Q .041(gume\ nt is assumed to be the name of a \214le containing shell commands.)-.18 F(If)5.041 E F1(bash)2.541 E F0 .041(is in)2.541 F -.2(vo)-.4 G -.1(ke) -.2 G 2.541(di).1 G 2.541(nt)-2.541 G .041(his f)-2.541 F(ashion,)-.1 E +.2 G 2.541(di).1 G 2.541(nt)-2.541 G .042(his f)-2.541 F(ashion,)-.1 E F1($0)108 398.4 Q F0 .936(is set to the name of the \214le, and the pos\ -itional parameters are set to the remaining ar)3.435 F(guments.)-.18 E -F1(Bash)5.936 E F0 .234(reads and e)108 410.4 R -.15(xe)-.15 G .234 +itional parameters are set to the remaining ar)3.436 F(guments.)-.18 E +F1(Bash)5.935 E F0 .233(reads and e)108 410.4 R -.15(xe)-.15 G .233 (cutes commands from this \214le, then e).15 F(xits.)-.15 E F1(Bash) -5.234 E F0 1.334 -.55('s e)D .234(xit status is the e).4 F .233 -(xit status of the last com-)-.15 F .348(mand e)108 422.4 R -.15(xe)-.15 -G .348(cuted in the script.).15 F .348(If no commands are e)5.348 F -.15 -(xe)-.15 G .348(cuted, the e).15 F .349(xit status is 0.)-.15 F .349 -(An attempt is \214rst made to)5.349 F .254 -(open the \214le in the current directory)108 434.4 R 2.754(,a)-.65 G -.253 +5.234 E F0 1.334 -.55('s e)D .234(xit status is the e).4 F .234 +(xit status of the last com-)-.15 F .349(mand e)108 422.4 R -.15(xe)-.15 +G .349(cuted in the script.).15 F .349(If no commands are e)5.349 F -.15 +(xe)-.15 G .349(cuted, the e).15 F .348(xit status is 0.)-.15 F .348 +(An attempt is \214rst made to)5.348 F .253 +(open the \214le in the current directory)108 434.4 R 2.753(,a)-.65 G +.254 (nd, if no \214le is found, then the shell searches the directories in) --2.754 F F3 -.666(PA)2.753 G(TH)-.189 E F0(for the script.)108 446.4 Q +-2.753 F F3 -.666(PA)2.754 G(TH)-.189 E F0(for the script.)108 446.4 Q F4(INV)72 463.2 Q(OCA)-.493 E(TION)-1.04 E F0(A)108 475.2 Q F2(lo)2.5 E (gin shell)-.1 E F0(is one whose \214rst character of ar)2.5 E (gument zero is a)-.18 E F12.5 E F0 2.5(,o)C 2.5(ro)-2.5 G (ne started with the)-2.5 E F1(\255\255login)2.5 E F0(option.)2.5 E(An) -108 492 Q F2(inter)2.814 E(active)-.15 E F0 .314 -(shell is one started without non-option ar)2.814 F .315 -(guments and without the)-.18 F F12.815 E F0 .315 -(option whose standard)2.815 F 1.5 -(input and error are both connected to terminals \(as determined by)108 -504 R F2(isatty)4 E F0 1.5(\(3\)\), or one started with the).32 F F1 -4 E F0(option.)108 516 Q F3(PS1)5.289 E F0 .289(is set and)2.539 F -F1<24ad>2.789 E F0(includes)2.789 E F1(i)2.789 E F0(if)2.789 E F1(bash) -2.789 E F0 .289(is interacti)2.789 F -.15(ve)-.25 G 2.789(,a).15 G(llo) --2.789 E .29(wing a shell script or a startup \214le to test this)-.25 F -(state.)108 528 Q .033(The follo)108 544.8 R .033 -(wing paragraphs describe ho)-.25 F(w)-.25 E F1(bash)2.532 E F0 -.15 -(exe)2.532 G .032(cutes its startup \214les.).15 F .032(If an)5.032 F -2.532(yo)-.15 G 2.532(ft)-2.532 G .032(he \214les e)-2.532 F .032 -(xist b)-.15 F .032(ut cannot be)-.2 F(read,)108 556.8 Q F1(bash)2.599 E -F0 .099(reports an error)2.599 F 5.099(.T)-.55 G .099(ildes are e)-5.449 -F .099(xpanded in \214lenames as described belo)-.15 F 2.6(wu)-.25 G -(nder)-2.6 E F1 -.18(Ti)2.6 G .1(lde Expansion).18 F F0(in)2.6 E(the)108 -568.8 Q F3(EXP)2.5 E(ANSION)-.666 E F0(section.)2.25 E(When)108 585.6 Q -F1(bash)2.896 E F0 .396(is in)2.896 F -.2(vo)-.4 G -.1(ke).2 G 2.896(da) -.1 G 2.896(sa)-2.896 G 2.896(ni)-2.896 G(nteracti)-2.896 E .696 -.15 -(ve l)-.25 H .396(ogin shell, or as a non-interacti).15 F .695 -.15 -(ve s)-.25 H .395(hell with the).15 F F1(\255\255login)2.895 E F0 .395 -(option, it)2.895 F 1.333(\214rst reads and e)108 597.6 R -.15(xe)-.15 G -1.333(cutes commands from the \214le).15 F F2(/etc/pr)3.833 E(o\214le) --.45 E F0 3.834(,i)C 3.834(ft)-3.834 G 1.334(hat \214le e)-3.834 F 3.834 -(xists. After)-.15 F 1.334(reading that \214le, it)3.834 F .249 -(looks for)108 609.6 R F2(~/.bash_pr)2.749 E(o\214le)-.45 E F0(,)A F2 -(~/.bash_lo)2.749 E(gin)-.1 E F0 2.749(,a)C(nd)-2.749 E F2(~/.pr)2.749 E -(o\214le)-.45 E F0 2.749(,i)C 2.749(nt)-2.749 G .249(hat order)-2.749 F -2.748(,a)-.4 G .248(nd reads and e)-2.748 F -.15(xe)-.15 G .248 -(cutes commands from).15 F .796(the \214rst one that e)108 621.6 R .796 +108 492 Q F2(inter)2.734 E(active)-.15 E F0 .234 +(shell is one started without non-option ar)2.734 F .234 +(guments \(unless)-.18 F F12.734 E F0 .233 +(is speci\214ed\) and without the)2.734 F F12.733 E F0 .509(optio\ +n whose standard input and error are both connected to terminals \(as d\ +etermined by)108 504 R F2(isatty)3.01 E F0 .51(\(3\)\), or one).32 F +.946(started with the)108 516 R F13.445 E F0(option.)3.445 E F3 +(PS1)5.945 E F0 .945(is set and)3.195 F F1<24ad>3.445 E F0(includes) +3.445 E F1(i)3.445 E F0(if)3.445 E F1(bash)3.445 E F0 .945(is interacti) +3.445 F -.15(ve)-.25 G 3.445(,a).15 G(llo)-3.445 E .945 +(wing a shell script or a)-.25 F(startup \214le to test this state.)108 +528 Q .032(The follo)108 544.8 R .032(wing paragraphs describe ho)-.25 F +(w)-.25 E F1(bash)2.532 E F0 -.15(exe)2.532 G .032 +(cutes its startup \214les.).15 F .032(If an)5.032 F 2.532(yo)-.15 G +2.532(ft)-2.532 G .032(he \214les e)-2.532 F .033(xist b)-.15 F .033 +(ut cannot be)-.2 F(read,)108 556.8 Q F1(bash)2.6 E F0 .1 +(reports an error)2.6 F 5.1(.T)-.55 G .1(ildes are e)-5.45 F .099 +(xpanded in \214lenames as described belo)-.15 F 2.599(wu)-.25 G(nder) +-2.599 E F1 -.18(Ti)2.599 G .099(lde Expansion).18 F F0(in)2.599 E(the) +108 568.8 Q F3(EXP)2.5 E(ANSION)-.666 E F0(section.)2.25 E(When)108 +585.6 Q F1(bash)2.895 E F0 .395(is in)2.895 F -.2(vo)-.4 G -.1(ke).2 G +2.895(da).1 G 2.895(sa)-2.895 G 2.895(ni)-2.895 G(nteracti)-2.895 E .695 +-.15(ve l)-.25 H .396(ogin shell, or as a non-interacti).15 F .696 -.15 +(ve s)-.25 H .396(hell with the).15 F F1(\255\255login)2.896 E F0 .396 +(option, it)2.896 F 1.334(\214rst reads and e)108 597.6 R -.15(xe)-.15 G +1.334(cutes commands from the \214le).15 F F2(/etc/pr)3.834 E(o\214le) +-.45 E F0 3.834(,i)C 3.833(ft)-3.834 G 1.333(hat \214le e)-3.833 F 3.833 +(xists. After)-.15 F 1.333(reading that \214le, it)3.833 F .248 +(looks for)108 609.6 R F2(~/.bash_pr)2.748 E(o\214le)-.45 E F0(,)A F2 +(~/.bash_lo)2.748 E(gin)-.1 E F0 2.748(,a)C(nd)-2.748 E F2(~/.pr)2.748 E +(o\214le)-.45 E F0 2.748(,i)C 2.749(nt)-2.748 G .249(hat order)-2.749 F +2.749(,a)-.4 G .249(nd reads and e)-2.749 F -.15(xe)-.15 G .249 +(cutes commands from).15 F .797(the \214rst one that e)108 621.6 R .797 (xists and is readable.)-.15 F(The)5.796 E F1(\255\255nopr)3.296 E -(o\214le)-.18 E F0 .797(option may be used when the shell is started to) -3.296 F(inhibit this beha)108 633.6 Q(vior)-.2 E(.)-.55 E -(When a login shell e)108 650.4 Q(xits,)-.15 E F1(bash)2.5 E F0 -(reads and e)2.5 E -.15(xe)-.15 G(cutes commands from the \214le).15 E -F2(~/.bash_lo)2.5 E(gout)-.1 E F0 2.5(,i)C 2.5(fi)-2.5 G 2.5(te)-2.5 G -(xists.)-2.65 E 1.698(When an interacti)108 667.2 R 1.998 -.15(ve s)-.25 -H 1.698(hell that is not a login shell is started,).15 F F1(bash)4.197 E -F0 1.697(reads and e)4.197 F -.15(xe)-.15 G 1.697(cutes commands from) -.15 F F2(~/.bashr)108 679.2 Q(c)-.37 E F0 2.535(,i)C 2.535(ft)-2.535 G -.035(hat \214le e)-2.535 F 2.535(xists. This)-.15 F .036 +(o\214le)-.18 E F0 .796(option may be used when the shell is started to) +3.296 F(inhibit this beha)108 633.6 Q(vior)-.2 E(.)-.55 E 1.104 +(When an interacti)108 650.4 R 1.404 -.15(ve l)-.25 H 1.104 +(ogin shell e).15 F 1.104(xits, or a non-interacti)-.15 F 1.404 -.15 +(ve l)-.25 H 1.104(ogin shell e).15 F -.15(xe)-.15 G 1.104(cutes the).15 +F F1(exit)3.604 E F0 -.2(bu)3.604 G 1.104(iltin command,).2 F F1(bash) +108 662.4 Q F0(reads and e)2.5 E -.15(xe)-.15 G +(cutes commands from the \214le).15 E F2(~/.bash_lo)2.5 E(gout)-.1 E F0 +2.5(,i)C 2.5(fi)-2.5 G 2.5(te)-2.5 G(xists.)-2.65 E 1.698 +(When an interacti)108 679.2 R 1.998 -.15(ve s)-.25 H 1.698 +(hell that is not a login shell is started,).15 F F1(bash)4.197 E F0 +1.697(reads and e)4.197 F -.15(xe)-.15 G 1.697(cutes commands from).15 F +F2(~/.bashr)108 691.2 Q(c)-.37 E F0 2.535(,i)C 2.535(ft)-2.535 G .035 +(hat \214le e)-2.535 F 2.535(xists. This)-.15 F .036 (may be inhibited by using the)2.535 F F12.536 E(c)-.18 E F0 2.536(option. The)2.536 F F12.536 E(c\214le)-.18 E F2(\214le) -2.536 E F0 .036(option will)2.536 F(force)108 691.2 Q F1(bash)2.5 E F0 +2.536 E F0 .036(option will)2.536 F(force)108 703.2 Q F1(bash)2.5 E F0 (to read and e)2.5 E -.15(xe)-.15 G(cute commands from).15 E F2(\214le) -2.5 E F0(instead of)2.5 E F2(~/.bashr)2.5 E(c)-.37 E F0(.)A(When)108 708 +2.5 E F0(instead of)2.5 E F2(~/.bashr)2.5 E(c)-.37 E F0(.)A(When)108 720 Q F1(bash)5.306 E F0 2.806(is started non-interacti)5.306 F -.15(ve)-.25 G(ly).15 E 5.306(,t)-.65 G 5.306(or)-5.306 G 2.806 (un a shell script, for e)-5.306 F 2.805(xample, it looks for the v)-.15 -F(ariable)-.25 E F3 -.27(BA)108 720 S(SH_ENV).27 E F0 1.01(in the en) -3.26 F 1.01(vironment, e)-.4 F 1.01(xpands its v)-.15 F 1.01 -(alue if it appears there, and uses the e)-.25 F 1.011(xpanded v)-.15 F -1.011(alue as the)-.25 F(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E -(2)195.95 E 0 Cg EP +F(ariable)-.25 E(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(2) +197.055 E 0 Cg EP %%Page: 3 3 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(name of a \214le to read and e)108 84 Q -.15(xe)-.15 G(cute.).15 -E/F1 10/Times-Bold@0 SF(Bash)5 E F0(beha)2.5 E -.15(ve)-.2 G 2.5(sa).15 -G 2.5(si)-2.5 G 2.5(ft)-2.5 G(he follo)-2.5 E(wing command were e)-.25 E --.15(xe)-.15 G(cuted:).15 E/F2 10/Courier@0 SF -(if [ \255n "$BASH_ENV" ]; then . "$BASH_ENV"; fi)144 102 Q F0 -.2(bu) -108 120 S 2.5(tt).2 G(he v)-2.5 E(alue of the)-.25 E/F3 9/Times-Bold@0 -SF -.666(PA)2.5 G(TH)-.189 E F0 -.25(va)2.25 G -(riable is not used to search for the \214lename.).25 E(If)108 136.8 Q -F1(bash)3.417 E F0 .917(is in)3.417 F -.2(vo)-.4 G -.1(ke).2 G 3.417(dw) -.1 G .917(ith the name)-3.417 F F1(sh)3.417 E F0 3.417(,i)C 3.417(tt) +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 9/Times-Bold@0 +SF -.27(BA)108 84 S(SH_ENV).27 E F0 1.01(in the en)3.26 F 1.01 +(vironment, e)-.4 F 1.01(xpands its v)-.15 F 1.01 +(alue if it appears there, and uses the e)-.25 F 1.011(xpanded v)-.15 F +1.011(alue as the)-.25 F(name of a \214le to read and e)108 96 Q -.15 +(xe)-.15 G(cute.).15 E/F2 10/Times-Bold@0 SF(Bash)5 E F0(beha)2.5 E -.15 +(ve)-.2 G 2.5(sa).15 G 2.5(si)-2.5 G 2.5(ft)-2.5 G(he follo)-2.5 E +(wing command were e)-.25 E -.15(xe)-.15 G(cuted:).15 E/F3 10/Courier@0 +SF(if [ \255n "$BASH_ENV" ]; then . "$BASH_ENV"; fi)144 114 Q F0 -.2(bu) +108 132 S 2.5(tt).2 G(he v)-2.5 E(alue of the)-.25 E F1 -.666(PA)2.5 G +(TH)-.189 E F0 -.25(va)2.25 G +(riable is not used to search for the \214lename.).25 E(If)108 148.8 Q +F2(bash)3.417 E F0 .917(is in)3.417 F -.2(vo)-.4 G -.1(ke).2 G 3.417(dw) +.1 G .917(ith the name)-3.417 F F2(sh)3.417 E F0 3.417(,i)C 3.417(tt) -3.417 G .917(ries to mimic the startup beha)-3.417 F .917 -(vior of historical v)-.2 F .917(ersions of)-.15 F F1(sh)3.417 E F0(as) +(vior of historical v)-.2 F .917(ersions of)-.15 F F2(sh)3.417 E F0(as) 3.417 E .145 (closely as possible, while conforming to the POSIX standard as well.) -108 148.8 R .145(When in)5.145 F -.2(vo)-.4 G -.1(ke).2 G 2.645(da).1 G +108 160.8 R .145(When in)5.145 F -.2(vo)-.4 G -.1(ke).2 G 2.645(da).1 G 2.645(sa)-2.645 G 2.645(ni)-2.645 G(nteracti)-2.645 E .445 -.15(ve l) --.25 H(ogin).15 E 1.264(shell, or a non-interacti)108 160.8 R 1.564 -.15 -(ve s)-.25 H 1.264(hell with the).15 F F1(\255\255login)3.764 E F0 1.264 +-.25 H(ogin).15 E 1.264(shell, or a non-interacti)108 172.8 R 1.564 -.15 +(ve s)-.25 H 1.264(hell with the).15 F F2(\255\255login)3.764 E F0 1.264 (option, it \214rst attempts to read and e)3.764 F -.15(xe)-.15 G 1.263 -(cute commands).15 F(from)108 172.8 Q/F4 10/Times-Italic@0 SF(/etc/pr) +(cute commands).15 F(from)108 184.8 Q/F4 10/Times-Italic@0 SF(/etc/pr) 4.142 E(o\214le)-.45 E F0(and)3.172 E F4(~/.pr)2.992 E(o\214le)-.45 E F0 2.992(,i).18 G 2.992(nt)-2.992 G .492(hat order)-2.992 F 5.492(.T)-.55 G -(he)-5.492 E F1(\255\255nopr)2.992 E(o\214le)-.18 E F0 .493 +(he)-5.492 E F2(\255\255nopr)2.992 E(o\214le)-.18 E F0 .493 (option may be used to inhibit this beha)2.993 F(vior)-.2 E(.)-.55 E -.418(When in)108 184.8 R -.2(vo)-.4 G -.1(ke).2 G 2.918(da).1 G 2.918 +.418(When in)108 196.8 R -.2(vo)-.4 G -.1(ke).2 G 2.918(da).1 G 2.918 (sa)-2.918 G 2.918(ni)-2.918 G(nteracti)-2.918 E .718 -.15(ve s)-.25 H -.418(hell with the name).15 F F1(sh)2.918 E F0(,)A F1(bash)2.918 E F0 -.418(looks for the v)2.918 F(ariable)-.25 E F3(ENV)2.918 E/F5 9 +.418(hell with the name).15 F F2(sh)2.918 E F0(,)A F2(bash)2.918 E F0 +.418(looks for the v)2.918 F(ariable)-.25 E F1(ENV)2.918 E/F5 9 /Times-Roman@0 SF(,)A F0 -.15(ex)2.667 G .417(pands its v).15 F(alue) --.25 E .171(if it is de\214ned, and uses the e)108 196.8 R .171 +-.25 E .171(if it is de\214ned, and uses the e)108 208.8 R .171 (xpanded v)-.15 F .171(alue as the name of a \214le to read and e)-.25 F -.15(xe)-.15 G 2.671(cute. Since).15 F 2.671(as)2.671 G .171(hell in) --2.671 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E(as)108 208.8 Q F1(sh)3.081 E F0 +-2.671 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E(as)108 220.8 Q F2(sh)3.081 E F0 .581(does not attempt to read and e)3.081 F -.15(xe)-.15 G .581 (cute commands from an).15 F 3.08(yo)-.15 G .58 -(ther startup \214les, the)-3.08 F F13.08 E(c\214le)-.18 E F0 -.58(option has)3.08 F .182(no ef)108 220.8 R 2.682(fect. A)-.25 F +(ther startup \214les, the)-3.08 F F23.08 E(c\214le)-.18 E F0 +.58(option has)3.08 F .182(no ef)108 232.8 R 2.682(fect. A)-.25 F (non-interacti)2.682 E .482 -.15(ve s)-.25 H .182(hell in).15 F -.2(vo) --.4 G -.1(ke).2 G 2.682(dw).1 G .182(ith the name)-2.682 F F1(sh)2.682 E +-.4 G -.1(ke).2 G 2.682(dw).1 G .182(ith the name)-2.682 F F2(sh)2.682 E F0 .182(does not attempt to read an)2.682 F 2.683(yo)-.15 G .183 -(ther startup \214les.)-2.683 F(When in)108 232.8 Q -.2(vo)-.4 G -.1(ke) -.2 G 2.5(da).1 G(s)-2.5 E F1(sh)2.5 E F0(,)A F1(bash)2.5 E F0(enters)2.5 +(ther startup \214les.)-2.683 F(When in)108 244.8 Q -.2(vo)-.4 G -.1(ke) +.2 G 2.5(da).1 G(s)-2.5 E F2(sh)2.5 E F0(,)A F2(bash)2.5 E F0(enters)2.5 E F4(posix)3.75 E F0(mode after the startup \214les are read.)3.03 E -(When)108 249.6 Q F1(bash)2.727 E F0 .226(is started in)2.727 F F4 -(posix)3.976 E F0 .226(mode, as with the)3.256 F F1(\255\255posix)2.726 +(When)108 261.6 Q F2(bash)2.727 E F0 .226(is started in)2.727 F F4 +(posix)3.976 E F0 .226(mode, as with the)3.256 F F2(\255\255posix)2.726 E F0 .226(command line option, it follo)2.726 F .226(ws the POSIX stan-) --.25 F .341(dard for startup \214les.)108 261.6 R .341 +-.25 F .341(dard for startup \214les.)108 273.6 R .341 (In this mode, interacti)5.341 F .641 -.15(ve s)-.25 H .341(hells e).15 -F .341(xpand the)-.15 F F3(ENV)2.841 E F0 -.25(va)2.591 G .342 -(riable and commands are read and).25 F -.15(exe)108 273.6 S +F .341(xpand the)-.15 F F1(ENV)2.841 E F0 -.25(va)2.591 G .342 +(riable and commands are read and).25 F -.15(exe)108 285.6 S (cuted from the \214le whose name is the e).15 E(xpanded v)-.15 E 2.5 -(alue. No)-.25 F(other startup \214les are read.)2.5 E F1(Bash)108 290.4 +(alue. No)-.25 F(other startup \214les are read.)2.5 E F2(Bash)108 302.4 Q F0 .224(attempts to determine when it is being run with its standard \ input connected to a netw)2.724 F .223(ork connection,)-.1 F .025 -(as when e)108 302.4 R -.15(xe)-.15 G .025 +(as when e)108 314.4 R -.15(xe)-.15 G .025 (cuted by the remote shell daemon, usually).15 F F4 -.1(rs)2.525 G(hd).1 E F0 2.525(,o)C 2.525(rt)-2.525 G .025(he secure shell daemon)-2.525 F -F4(sshd)2.525 E F0 5.025(.I)C(f)-5.025 E F1(bash)2.525 E F0(deter)2.525 -E(-)-.2 E .134(mines it is being run in this f)108 314.4 R .134 +F4(sshd)2.525 E F0 5.025(.I)C(f)-5.025 E F2(bash)2.525 E F0(deter)2.525 +E(-)-.2 E .134(mines it is being run in this f)108 326.4 R .134 (ashion, it reads and e)-.1 F -.15(xe)-.15 G .133(cutes commands from) .15 F F4(~/.bashr)2.633 E(c)-.37 E F0 2.633(,i)C 2.633(ft)-2.633 G .133 (hat \214le e)-2.633 F .133(xists and is)-.15 F 2.869(readable. It)108 -326.4 R .369(will not do this if in)2.869 F -.2(vo)-.4 G -.1(ke).2 G -2.869(da).1 G(s)-2.869 E F1(sh)2.869 E F0 5.369(.T)C(he)-5.369 E F1 +338.4 R .369(will not do this if in)2.869 F -.2(vo)-.4 G -.1(ke).2 G +2.869(da).1 G(s)-2.869 E F2(sh)2.869 E F0 5.369(.T)C(he)-5.369 E F2 2.869 E(c)-.18 E F0 .369 (option may be used to inhibit this beha)2.869 F(vior)-.2 E 2.869(,a)-.4 -G(nd)-2.869 E(the)108 338.4 Q F12.919 E(c\214le)-.18 E F0 .419 +G(nd)-2.869 E(the)108 350.4 Q F22.919 E(c\214le)-.18 E F0 .419 (option may be used to force another \214le to be read, b)2.919 F .419 (ut neither)-.2 F F4 -.1(rs)2.919 G(hd).1 E F0(nor)2.919 E F4(sshd)2.919 E F0 .418(generally in)2.919 F -.2(vo)-.4 G -.1(ke).2 G -(the shell with those options or allo)108 350.4 Q 2.5(wt)-.25 G +(the shell with those options or allo)108 362.4 Q 2.5(wt)-.25 G (hem to be speci\214ed.)-2.5 E 1.207 -(If the shell is started with the ef)108 367.2 R(fecti)-.25 E 1.507 -.15 +(If the shell is started with the ef)108 379.2 R(fecti)-.25 E 1.507 -.15 (ve u)-.25 H 1.208 (ser \(group\) id not equal to the real user \(group\) id, and the).15 F -F13.708 E F0 .536(option is not supplied, no startup \214les are \ -read, shell functions are not inherited from the en)108 379.2 R .535 -(vironment, the)-.4 F F3(SHELLOPTS)108 391.2 Q F5(,)A F3 -.27(BA)2.959 G -(SHOPTS).27 E F5(,)A F3(CDP)2.959 E -.855(AT)-.666 G(H).855 E F5(,)A F0 -(and)2.959 E F3(GLOBIGNORE)3.209 E F0 -.25(va)2.959 G .709 +F23.708 E F0 .536(option is not supplied, no startup \214les are \ +read, shell functions are not inherited from the en)108 391.2 R .535 +(vironment, the)-.4 F F1(SHELLOPTS)108 403.2 Q F5(,)A F1 -.27(BA)2.959 G +(SHOPTS).27 E F5(,)A F1(CDP)2.959 E -.855(AT)-.666 G(H).855 E F5(,)A F0 +(and)2.959 E F1(GLOBIGNORE)3.209 E F0 -.25(va)2.959 G .709 (riables, if the).25 F 3.209(ya)-.15 G .71(ppear in the en)-3.209 F .71 -(vironment, are)-.4 F .905(ignored, and the ef)108 403.2 R(fecti)-.25 E +(vironment, are)-.4 F .905(ignored, and the ef)108 415.2 R(fecti)-.25 E 1.205 -.15(ve u)-.25 H .904(ser id is set to the real user id.).15 F -.904(If the)5.904 F F13.404 E F0 .904(option is supplied at in) -3.404 F -.2(vo)-.4 G .904(cation, the).2 F(startup beha)108 415.2 Q +.904(If the)5.904 F F23.404 E F0 .904(option is supplied at in) +3.404 F -.2(vo)-.4 G .904(cation, the).2 F(startup beha)108 427.2 Q (vior is the same, b)-.2 E(ut the ef)-.2 E(fecti)-.25 E .3 -.15(ve u) -.25 H(ser id is not reset.).15 E/F6 10.95/Times-Bold@0 SF(DEFINITIONS) -72 432 Q F0(The follo)108 444 Q +72 444 Q F0(The follo)108 456 Q (wing de\214nitions are used throughout the rest of this document.)-.25 -E F1(blank)108 456 Q F0 2.5(As)11.54 G(pace or tab)-2.5 E(.)-.4 E F1 -.1 -(wo)108 468 S(rd).1 E F0 2.5(As)13.88 G +E F2(blank)108 468 Q F0 2.5(As)144 468 S(pace or tab)-2.5 E(.)-.4 E F2 +-.1(wo)108 480 S(rd).1 E F0 2.5(As)144 480 S (equence of characters considered as a single unit by the shell.)-2.5 E -(Also kno)5 E(wn as a)-.25 E F1(tok)2.5 E(en)-.1 E F0(.)A F1(name)108 -480 Q F0(A)12.67 E F4(wor)3.005 E(d)-.37 E F0 .165 +(Also kno)5 E(wn as a)-.25 E F2(tok)2.5 E(en)-.1 E F0(.)A F2(name)108 +492 Q F0(A)144 492 Q F4(wor)3.005 E(d)-.37 E F0 .165 (consisting only of alphanumeric characters and underscores, and be) 3.435 F .166(ginning with an alpha-)-.15 F -(betic character or an underscore.)144 492 Q(Also referred to as an)5 E -F1(identi\214er)2.5 E F0(.)A F1(metacharacter)108 504 Q F0 2.5(Ac)144 -516 S(haracter that, when unquoted, separates w)-2.5 E 2.5(ords. One)-.1 -F(of the follo)2.5 E(wing:)-.25 E F1 5(|&;\(\)<>s)144 528 S 2.5 -(pace tab)-5 F(contr)108 540 Q(ol operator)-.18 E F0(A)144 552 Q F4(tok) -2.5 E(en)-.1 E F0(that performs a control function.)2.5 E -(It is one of the follo)5 E(wing symbols:)-.25 E F1 2.5 -(|| & && ; ;; \( \) | |&)144 564 R()10 E F6(RESER)72 580.8 Q -(VED W)-.602 E(ORDS)-.11 E F4 .307(Reserved wor)108 592.8 R(ds)-.37 E F0 -.307(are w)2.807 F .307(ords that ha)-.1 F .607 -.15(ve a s)-.2 H .306 -(pecial meaning to the shell.).15 F .306(The follo)5.306 F .306(wing w) --.25 F .306(ords are recognized as)-.1 F(reserv)108 604.8 Q .227 -(ed when unquoted and either the \214rst w)-.15 F .227 -(ord of a simple command \(see)-.1 F F3 .227(SHELL GRAMMAR)2.727 F F0 -(belo)2.477 E .227(w\) or)-.25 F(the third w)108 616.8 Q(ord of a)-.1 E -F1(case)2.5 E F0(or)2.5 E F1 -.25(fo)2.5 G(r).25 E F0(command:)2.5 E F1 -11.295(!c)144 633.6 S 8.795(ase copr)-11.295 F 8.795 +(betic character or an underscore.)144 504 Q(Also referred to as an)5 E +F2(identi\214er)2.5 E F0(.)A F2(metacharacter)108 516 Q F0 2.5(Ac)144 +528 S(haracter that, when unquoted, separates w)-2.5 E 2.5(ords. One)-.1 +F(of the follo)2.5 E(wing:)-.25 E F2 5(|&;\(\)<>s)144 540 S 2.5 +(pace tab newline)-5 F(contr)108 552 Q(ol operator)-.18 E F0(A)144 564 Q +F4(tok)2.5 E(en)-.1 E F0(that performs a control function.)2.5 E +(It is one of the follo)5 E(wing symbols:)-.25 E F2 2.5 +(|| & && ; ;; ;& ;;& \( \) | |&)144 576 R()10 E F6(RESER)72 +592.8 Q(VED W)-.602 E(ORDS)-.11 E F4 .307(Reserved wor)108 604.8 R(ds) +-.37 E F0 .307(are w)2.807 F .307(ords that ha)-.1 F .607 -.15(ve a s) +-.2 H .306(pecial meaning to the shell.).15 F .306(The follo)5.306 F +.306(wing w)-.25 F .306(ords are recognized as)-.1 F(reserv)108 616.8 Q +.227(ed when unquoted and either the \214rst w)-.15 F .227 +(ord of a simple command \(see)-.1 F F1 .227(SHELL GRAMMAR)2.727 F F0 +(belo)2.477 E .227(w\) or)-.25 F(the third w)108 628.8 Q(ord of a)-.1 E +F2(case)2.5 E F0(or)2.5 E F2 -.25(fo)2.5 G(r).25 E F0(command:)2.5 E F2 +11.295(!c)144 645.6 S 8.795(ase copr)-11.295 F 8.795 (oc do done elif else esac \214 f)-.18 F 8.795 (or function if in select then)-.25 F 7.5(until while { } time [[ ]])144 -645.6 R F6(SHELL GRAMMAR)72 662.4 Q F1(Simple Commands)87 674.4 Q F0(A) -108 686.4 Q F4 .388(simple command)2.888 F F0 .388 +657.6 R F6(SHELL GRAMMAR)72 674.4 Q F2(Simple Commands)87 686.4 Q F0(A) +108 698.4 Q F4 .388(simple command)2.888 F F0 .388 (is a sequence of optional v)2.888 F .389(ariable assignments follo)-.25 -F .389(wed by)-.25 F F1(blank)2.889 E F0 .389(-separated w)B .389 -(ords and)-.1 F .816(redirections, and terminated by a)108 698.4 R F4 +F .389(wed by)-.25 F F2(blank)2.889 E F0 .389(-separated w)B .389 +(ords and)-.1 F .816(redirections, and terminated by a)108 710.4 R F4 (contr)3.316 E .815(ol oper)-.45 F(ator)-.15 E F0 5.815(.T)C .815 (he \214rst w)-5.815 F .815(ord speci\214es the command to be e)-.1 F --.15(xe)-.15 G(cuted,).15 E(and is passed as ar)108 710.4 Q +-.15(xe)-.15 G(cuted,).15 E(and is passed as ar)108 722.4 Q (gument zero.)-.18 E(The remaining w)5 E(ords are passed as ar)-.1 E (guments to the in)-.18 E -.2(vo)-.4 G -.1(ke).2 G 2.5(dc).1 G(ommand.) --2.5 E .175(The return v)108 727.2 R .175(alue of a)-.25 F F4 .175 -(simple command)2.675 F F0 .175(is its e)2.675 F .175 -(xit status, or 128+)-.15 F F4(n)A F0 .176 -(if the command is terminated by signal)3.508 F F4(n)2.676 E F0(.).24 E -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(3)195.95 E 0 Cg EP +-2.5 E(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(3)197.055 E 0 Cg +EP %%Page: 4 4 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(Pipelines)87 84 Q F0(A)108 96 Q/F2 10 -/Times-Italic@0 SF(pipeline)2.996 E F0 .496(is a sequence of one or mor\ -e commands separated by one of the control operators)2.996 F F1(|)2.996 -E F0(or)2.996 E F1(|&)2.996 E F0 5.496(.T)C(he)-5.496 E -(format for a pipeline is:)108 108 Q([)144 124.8 Q F1(time)A F0([)2.5 E -F1A F0(]] [ ! ])A F2(command)2.5 E F0 2.5([[)2.5 G F1(|)-2.5 E/F3 -10/Symbol SFA F1(|&)A F0(])A F2(command2)2.5 E F0(... ])2.5 E .243 -(The standard output of)108 141.6 R F2(command)2.943 E F0 .244 -(is connected via a pipe to the standard input of)3.513 F F2(command2) -2.744 E F0 5.244(.T).02 G .244(his connec-)-5.244 F .643 -(tion is performed before an)108 153.6 R 3.143(yr)-.15 G .642 -(edirections speci\214ed by the command \(see)-3.143 F/F4 9/Times-Bold@0 -SF(REDIRECTION)3.142 E F0(belo)2.892 E 3.142(w\). If)-.25 F F1(|&)3.142 -E F0(is)3.142 E(used,)108 165.6 Q F2(command)3.647 E F0 2.247 -.55('s s) +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(The return v)108 +84 Q(alue of a)-.25 E/F1 10/Times-Italic@0 SF(simple command)2.5 E F0 +(is its e)2.5 E(xit status, or 128+)-.15 E F1(n)A F0 +(if the command is terminated by signal)3.333 E F1(n)2.5 E F0(.).24 E/F2 +10/Times-Bold@0 SF(Pipelines)87 100.8 Q F0(A)108 112.8 Q F1(pipeline) +2.996 E F0 .496(is a sequence of one or more commands separated by one \ +of the control operators)2.996 F F2(|)2.996 E F0(or)2.996 E F2(|&)2.996 +E F0 5.496(.T)C(he)-5.496 E(format for a pipeline is:)108 124.8 Q([)144 +141.6 Q F2(time)A F0([)2.5 E F2A F0(]] [ ! ])A F1(command)2.5 E F0 +2.5([[)2.5 G F2(|)-2.5 E/F3 10/Symbol SFA F2(|&)A F0(])A F1 +(command2)2.5 E F0(... ])2.5 E .244(The standard output of)108 158.4 R +F1(command)2.944 E F0 .243 +(is connected via a pipe to the standard input of)3.514 F F1(command2) +2.743 E F0 5.243(.T).02 G .243(his connec-)-5.243 F .642 +(tion is performed before an)108 170.4 R 3.142(yr)-.15 G .642 +(edirections speci\214ed by the command \(see)-3.142 F/F4 9/Times-Bold@0 +SF(REDIRECTION)3.143 E F0(belo)2.893 E 3.143(w\). If)-.25 F F2(|&)3.143 +E F0(is)3.143 E(used,)108 182.4 Q F1(command)3.648 E F0 2.248 -.55('s s) D 1.147(tandard error).55 F 3.647(,i)-.4 G 3.647(na)-3.647 G 1.147 -(ddition to its standard output, is connected to)-3.647 F F2(command2) -3.648 E F0 2.248 -.55('s s)D(tandard).55 E .028 -(input through the pipe; it is shorthand for)108 177.6 R F1 .028(2>&1 |) +(ddition to its standard output, is connected to)-3.647 F F1(command2) +3.647 E F0 2.247 -.55('s s)D(tandard).55 E .028 +(input through the pipe; it is shorthand for)108 194.4 R F2 .028(2>&1 |) 2.528 F F0 5.028(.T)C .028 (his implicit redirection of the standard error to the stan-)-5.028 F -(dard output is performed after an)108 189.6 Q 2.5(yr)-.15 G +(dard output is performed after an)108 206.4 Q 2.5(yr)-.15 G (edirections speci\214ed by the command.)-2.5 E .48 -(The return status of a pipeline is the e)108 206.4 R .48 -(xit status of the last command, unless the)-.15 F F1(pipefail)2.98 E F0 -.48(option is enabled.)2.98 F(If)108 218.4 Q F1(pipefail)2.687 E F0 .187 -(is enabled, the pipeline')2.687 F 2.687(sr)-.55 G .186 -(eturn status is the v)-2.687 F .186 -(alue of the last \(rightmost\) command to e)-.25 F .186(xit with a)-.15 -F .61(non-zero status, or zero if all commands e)108 230.4 R .611 -(xit successfully)-.15 F 5.611(.I)-.65 G 3.111(ft)-5.611 G .611 -(he reserv)-3.111 F .611(ed w)-.15 F(ord)-.1 E F1(!)3.111 E F0 .611 -(precedes a pipeline, the)5.611 F -.15(ex)108 242.4 S .55 +(The return status of a pipeline is the e)108 223.2 R .48 +(xit status of the last command, unless the)-.15 F F2(pipefail)2.98 E F0 +.48(option is enabled.)2.98 F(If)108 235.2 Q F2(pipefail)2.686 E F0 .186 +(is enabled, the pipeline')2.686 F 2.686(sr)-.55 G .186 +(eturn status is the v)-2.686 F .187 +(alue of the last \(rightmost\) command to e)-.25 F .187(xit with a)-.15 +F .611(non-zero status, or zero if all commands e)108 247.2 R .611 +(xit successfully)-.15 F 5.611(.I)-.65 G 3.111(ft)-5.611 G .61 +(he reserv)-3.111 F .61(ed w)-.15 F(ord)-.1 E F2(!)3.11 E F0 .61 +(precedes a pipeline, the)5.61 F -.15(ex)108 259.2 S .55 (it status of that pipeline is the logical ne).15 F -.05(ga)-.15 G .55 (tion of the e).05 F .55(xit status as described abo)-.15 F -.15(ve)-.15 G 5.55(.T).15 G .55(he shell w)-5.55 F .55(aits for)-.1 F (all commands in the pipeline to terminate before returning a v)108 -254.4 Q(alue.)-.25 E .298(If the)108 271.2 R F1(time)2.799 E F0(reserv) +271.2 Q(alue.)-.25 E .299(If the)108 288 R F2(time)2.799 E F0(reserv) 2.799 E .299(ed w)-.15 F .299(ord precedes a pipeline, the elapsed as w\ -ell as user and system time consumed by its)-.1 F -.15(exe)108 283.2 S -.14(cution are reported when the pipeline terminates.).15 F(The)5.139 E -F12.639 E F0 .139(option changes the output format to that spec-) -2.639 F .302(i\214ed by POSIX.)108 295.2 R .303(When the shell is in) -5.302 F F2 .303(posix mode)2.803 F F0 2.803(,i)C 2.803(td)-2.803 G .303 -(oes not recognize)-2.803 F F1(time)2.803 E F0 .303(as a reserv)2.803 F -.303(ed w)-.15 F .303(ord if the ne)-.1 F(xt)-.15 E(tok)108 307.2 Q .736 +ell as user and system time consumed by its)-.1 F -.15(exe)108 300 S +.139(cution are reported when the pipeline terminates.).15 F(The)5.139 E +F22.639 E F0 .14(option changes the output format to that spec-) +2.639 F .303(i\214ed by POSIX.)108 312 R .303(When the shell is in)5.303 +F F1 .303(posix mode)2.803 F F0 2.803(,i)C 2.803(td)-2.803 G .303 +(oes not recognize)-2.803 F F2(time)2.803 E F0 .303(as a reserv)2.803 F +.303(ed w)-.15 F .302(ord if the ne)-.1 F(xt)-.15 E(tok)108 324 Q .735 (en be)-.1 F .736(gins with a `-'.)-.15 F(The)5.736 E F4(TIMEFORMA)3.236 E(T)-.855 E F0 -.25(va)2.986 G .736 -(riable may be set to a format string that speci\214es ho).25 F 3.235 -(wt)-.25 G(he)-3.235 E 2.225 -(timing information should be displayed; see the description of)108 -319.2 R F4(TIMEFORMA)4.726 E(T)-.855 E F0(under)4.476 E F1 2.226 -(Shell V)4.726 F(ariables)-.92 E F0(belo)108 331.2 Q -.65(w.)-.25 G .85 -(When the shell is in)108 348 R F2 .85(posix mode)3.35 F F0(,)A F1(time) -3.35 E F0 .85(may be follo)3.35 F .85(wed by a ne)-.25 F 3.35(wline. In) --.25 F .85(this case, the shell displays the)3.35 F 1.073 +(riable may be set to a format string that speci\214es ho).25 F 3.236 +(wt)-.25 G(he)-3.236 E 2.226 +(timing information should be displayed; see the description of)108 336 +R F4(TIMEFORMA)4.725 E(T)-.855 E F0(under)4.475 E F2 2.225(Shell V)4.725 +F(ariables)-.92 E F0(belo)108 348 Q -.65(w.)-.25 G .85 +(When the shell is in)108 364.8 R F1 .85(posix mode)3.35 F F0(,)A F2 +(time)3.35 E F0 .85(may be follo)3.35 F .85(wed by a ne)-.25 F 3.35 +(wline. In)-.25 F .85(this case, the shell displays the)3.35 F 1.074 (total user and system time consumed by the shell and its children.)108 -360 R(The)6.074 E F4(TIMEFORMA)3.574 E(T)-.855 E F0 -.25(va)3.324 G -1.074(riable may be).25 F -(used to specify the format of the time information.)108 372 Q -(Each command in a pipeline is e)108 388.8 Q -.15(xe)-.15 G -(cuted as a separate process \(i.e., in a subshell\).).15 E F1(Lists)87 -405.6 Q F0(A)108 417.6 Q F2(list)2.85 E F0 .35(is a sequence of one or \ -more pipelines separated by one of the operators)2.85 F F1(;)2.849 E F0 -(,)A F1(&)2.849 E F0(,)A F1(&&)2.849 E F0 2.849(,o)C(r)-2.849 E F1(||) -2.849 E F0 2.849(,a)C .349(nd option-)-2.849 F -(ally terminated by one of)108 429.6 Q F1(;)2.5 E F0(,)A F1(&)2.5 E F0 -2.5(,o)C(r)-2.5 E F1()2.5 E F0(.)A .96 -(Of these list operators,)108 446.4 R F1(&&)3.46 E F0(and)3.46 E F1(||) -3.46 E F0(ha)3.46 E 1.26 -.15(ve e)-.2 H .961(qual precedence, follo).15 -F .961(wed by)-.25 F F1(;)3.461 E F0(and)3.461 E F1(&)3.461 E F0 3.461 -(,w)C .961(hich ha)-3.461 F 1.261 -.15(ve e)-.2 H .961(qual prece-).15 F -(dence.)108 458.4 Q 2.5(As)108 475.2 S(equence of one or more ne)-2.5 E -(wlines may appear in a)-.25 E F2(list)2.5 E F0 -(instead of a semicolon to delimit commands.)2.5 E .029 -(If a command is terminated by the control operator)108 492 R F1(&)2.529 -E F0 2.529(,t)C .029(he shell e)-2.529 F -.15(xe)-.15 G .029 -(cutes the command in the).15 F F2(bac)2.528 E(kgr)-.2 E(ound)-.45 E F0 -(in)2.528 E 2.875(as)108 504 S 2.875(ubshell. The)-2.875 F .375 -(shell does not w)2.875 F .375 -(ait for the command to \214nish, and the return status is 0.)-.1 F .376 -(Commands sepa-)5.376 F .849(rated by a)108 516 R F1(;)3.349 E F0 .849 -(are e)3.349 F -.15(xe)-.15 G .848(cuted sequentially; the shell w).15 F -.848(aits for each command to terminate in turn.)-.1 F .848(The return) -5.848 F(status is the e)108 528 Q(xit status of the last command e)-.15 -E -.15(xe)-.15 G(cuted.).15 E .937(AND and OR lists are sequences of on\ -e of more pipelines separated by the)108 544.8 R F1(&&)3.437 E F0(and) -3.437 E F1(||)3.437 E F0 .937(control operators,)3.437 F(respecti)108 -556.8 Q -.15(ve)-.25 G(ly).15 E 5(.A)-.65 G(ND and OR lists are e)-5 E --.15(xe)-.15 G(cuted with left associati).15 E(vity)-.25 E 5(.A)-.65 G -2.5(nA)-5 G(ND list has the form)-2.5 E F2(command1)144 573.6 Q F1(&&) -2.5 E F2(command2)2.5 E(command2)108.2 590.4 Q F0(is e)2.52 E -.15(xe) --.15 G(cuted if, and only if,).15 E F2(command1)2.7 E F0(returns an e) -2.5 E(xit status of zero.)-.15 E(An OR list has the form)108 607.2 Q F2 -(command1)144 624 Q F1(||)2.5 E F2(command2)2.5 E(command2)108.2 645.6 Q -F0 .729(is e)3.249 F -.15(xe)-.15 G .729(cuted if and only if).15 F F2 +376.8 R(The)6.073 E F4(TIMEFORMA)3.573 E(T)-.855 E F0 -.25(va)3.323 G +1.073(riable may be).25 F +(used to specify the format of the time information.)108 388.8 Q +(Each command in a pipeline is e)108 405.6 Q -.15(xe)-.15 G +(cuted as a separate process \(i.e., in a subshell\).).15 E F2(Lists)87 +422.4 Q F0(A)108 434.4 Q F1(list)2.849 E F0 .349(is a sequence of one o\ +r more pipelines separated by one of the operators)2.849 F F2(;)2.85 E +F0(,)A F2(&)2.85 E F0(,)A F2(&&)2.85 E F0 2.85(,o)C(r)-2.85 E F2(||)2.85 +E F0 2.85(,a)C .35(nd option-)-2.85 F(ally terminated by one of)108 +446.4 Q F2(;)2.5 E F0(,)A F2(&)2.5 E F0 2.5(,o)C(r)-2.5 E F2() +2.5 E F0(.)A .961(Of these list operators,)108 463.2 R F2(&&)3.461 E F0 +(and)3.461 E F2(||)3.461 E F0(ha)3.461 E 1.261 -.15(ve e)-.2 H .961 +(qual precedence, follo).15 F .96(wed by)-.25 F F2(;)3.46 E F0(and)3.46 +E F2(&)3.46 E F0 3.46(,w)C .96(hich ha)-3.46 F 1.26 -.15(ve e)-.2 H .96 +(qual prece-).15 F(dence.)108 475.2 Q 2.5(As)108 492 S +(equence of one or more ne)-2.5 E(wlines may appear in a)-.25 E F1(list) +2.5 E F0(instead of a semicolon to delimit commands.)2.5 E .029 +(If a command is terminated by the control operator)108 508.8 R F2(&) +2.529 E F0 2.529(,t)C .029(he shell e)-2.529 F -.15(xe)-.15 G .029 +(cutes the command in the).15 F F1(bac)2.529 E(kgr)-.2 E(ound)-.45 E F0 +(in)2.529 E 2.876(as)108 520.8 S 2.876(ubshell. The)-2.876 F .376 +(shell does not w)2.876 F .375 +(ait for the command to \214nish, and the return status is 0.)-.1 F .375 +(Commands sepa-)5.375 F .848(rated by a)108 532.8 R F2(;)3.348 E F0 .848 +(are e)3.348 F -.15(xe)-.15 G .848(cuted sequentially; the shell w).15 F +.849(aits for each command to terminate in turn.)-.1 F .849(The return) +5.849 F(status is the e)108 544.8 Q(xit status of the last command e) +-.15 E -.15(xe)-.15 G(cuted.).15 E .937(AND and OR lists are sequences \ +of one or more pipelines separated by the)108 561.6 R F2(&&)3.436 E F0 +(and)3.436 E F2(||)3.436 E F0 .936(control operators,)3.436 F(respecti) +108 573.6 Q -.15(ve)-.25 G(ly).15 E 5(.A)-.65 G(ND and OR lists are e)-5 +E -.15(xe)-.15 G(cuted with left associati).15 E(vity)-.25 E 5(.A)-.65 G +2.5(nA)-5 G(ND list has the form)-2.5 E F1(command1)144 590.4 Q F2(&&) +2.5 E F1(command2)2.5 E(command2)108.2 607.2 Q F0(is e)2.52 E -.15(xe) +-.15 G(cuted if, and only if,).15 E F1(command1)2.7 E F0(returns an e) +2.5 E(xit status of zero.)-.15 E(An OR list has the form)108 624 Q F1 +(command1)144 640.8 Q F2(||)2.5 E F1(command2)2.5 E(command2)108.2 657.6 +Q F0 .728(is e)3.248 F -.15(xe)-.15 G .729(cuted if and only if).15 F F1 (command1)3.429 E F0 .729(returns a non-zero e)3.229 F .729(xit status.) --.15 F .728(The return status of AND)5.729 F(and OR lists is the e)108 -657.6 Q(xit status of the last command e)-.15 E -.15(xe)-.15 G -(cuted in the list.).15 E F1(Compound Commands)87 674.4 Q F0(A)108 686.4 -Q F2 1.053(compound command)3.553 F F0 1.053(is one of the follo)3.553 F -3.553(wing. In)-.25 F 1.053(most cases a)3.553 F F2(list)3.553 E F0 -1.054(in a command')3.554 F 3.554(sd)-.55 G 1.054(escription may be) --3.554 F 1.027(separated from the rest of the command by one or more ne) -108 698.4 R 1.026(wlines, and may be follo)-.25 F 1.026(wed by a ne)-.25 -F 1.026(wline in)-.25 F(place of a semicolon.)108 710.4 Q(GNU Bash 4.3) -72 768 Q(2014 February 2)141.79 E(4)195.95 E 0 Cg EP +-.15 F .729(The return status of AND)5.729 F(and OR lists is the e)108 +669.6 Q(xit status of the last command e)-.15 E -.15(xe)-.15 G +(cuted in the list.).15 E F2(Compound Commands)87 686.4 Q F0(A)108 698.4 +Q F1 1.054(compound command)3.554 F F0 1.054(is one of the follo)3.554 F +3.553(wing. In)-.25 F 1.053(most cases a)3.553 F F1(list)3.553 E F0 +1.053(in a command')3.553 F 3.553(sd)-.55 G 1.053(escription may be) +-3.553 F 1.026(separated from the rest of the command by one or more ne) +108 710.4 R 1.026(wlines, and may be follo)-.25 F 1.027(wed by a ne)-.25 +F 1.027(wline in)-.25 F(place of a semicolon.)108 722.4 Q(GNU Bash 4.4) +72 768 Q(2016 August 26)142.895 E(4)197.055 E 0 Cg EP %%Page: 5 5 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(\()108 84 Q/F1 10/Times-Italic@0 SF(list)A F0(\))A F1(list)17.11 -E F0 .011(is e)2.511 F -.15(xe)-.15 G .011(cuted in a subshell en).15 F -.011(vironment \(see)-.4 F/F2 9/Times-Bold@0 SF .011 -(COMMAND EXECUTION ENVIR)2.511 F(ONMENT)-.27 E F0(belo)2.262 E(w\).)-.25 -E -1.11(Va)144 96 S 1.064(riable assignments and b)1.11 F 1.064 -(uiltin commands that af)-.2 F 1.064(fect the shell')-.25 F 3.564(se) --.55 G -.4(nv)-3.564 G 1.064(ironment do not remain in).4 F(ef)144 108 Q +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(\()108 84 Q/F1 10 +/Times-Italic@0 SF(list)A F0(\))A F1(list)144 84 Q F0 .011(is e)2.512 F +-.15(xe)-.15 G .011(cuted in a subshell en).15 F .011(vironment \(see) +-.4 F/F2 9/Times-Bold@0 SF .011(COMMAND EXECUTION ENVIR)2.511 F(ONMENT) +-.27 E F0(belo)2.261 E(w\).)-.25 E -1.11(Va)144 96 S 1.063 +(riable assignments and b)1.11 F 1.064(uiltin commands that af)-.2 F +1.064(fect the shell')-.25 F 3.564(se)-.55 G -.4(nv)-3.564 G 1.064 +(ironment do not remain in).4 F(ef)144 108 Q (fect after the command completes.)-.25 E(The return status is the e)5 E (xit status of)-.15 E F1(list)2.5 E F0(.)A({)108 124.8 Q F1(list)2.5 E -F0 2.5(;})C F1(list)3.89 E F0 .401(is simply e)2.901 F -.15(xe)-.15 G -.401(cuted in the current shell en).15 F(vironment.)-.4 E F1(list)5.401 -E F0 .402(must be terminated with a ne)2.901 F .402(wline or)-.25 F -3.215(semicolon. This)144 136.8 R .715(is kno)3.215 F .715(wn as a)-.25 -F F1(gr)3.215 E .715(oup command)-.45 F F0 5.715(.T)C .715 -(he return status is the e)-5.715 F .714(xit status of)-.15 F F1(list) -3.214 E F0 5.714(.N)C(ote)-5.714 E .219(that unlik)144 148.8 R 2.719(et) --.1 G .219(he metacharacters)-2.719 F/F3 10/Times-Bold@0 SF(\()2.719 E -F0(and)2.719 E F3(\))2.719 E F0(,)A F3({)2.719 E F0(and)2.719 E F3(}) -2.719 E F0(are)2.719 E F1 -.37(re)2.72 G .22(served wor).37 F(ds)-.37 E -F0 .22(and must occur where a reserv)2.72 F(ed)-.15 E -.1(wo)144 160.8 S -.257(rd is permitted to be recognized.).1 F .257(Since the)5.257 F 2.757 -(yd)-.15 G 2.756(on)-2.757 G .256(ot cause a w)-2.756 F .256 -(ord break, the)-.1 F 2.756(ym)-.15 G .256(ust be separated)-2.756 F +F0 2.5(;})C F1(list)144 124.8 Q F0 .402(is simply e)2.902 F -.15(xe)-.15 +G .401(cuted in the current shell en).15 F(vironment.)-.4 E F1(list) +5.401 E F0 .401(must be terminated with a ne)2.901 F .401(wline or)-.25 +F 3.214(semicolon. This)144 136.8 R .714(is kno)3.214 F .714(wn as a) +-.25 F F1(gr)3.215 E .715(oup command)-.45 F F0 5.715(.T)C .715 +(he return status is the e)-5.715 F .715(xit status of)-.15 F F1(list) +3.215 E F0 5.715(.N)C(ote)-5.715 E .22(that unlik)144 148.8 R 2.72(et) +-.1 G .22(he metacharacters)-2.72 F/F3 10/Times-Bold@0 SF(\()2.72 E F0 +(and)2.72 E F3(\))2.72 E F0(,)A F3({)2.72 E F0(and)2.72 E F3(})2.719 E +F0(are)2.719 E F1 -.37(re)2.719 G .219(served wor).37 F(ds)-.37 E F0 +.219(and must occur where a reserv)2.719 F(ed)-.15 E -.1(wo)144 160.8 S +.256(rd is permitted to be recognized.).1 F .256(Since the)5.256 F 2.756 +(yd)-.15 G 2.756(on)-2.756 G .257(ot cause a w)-2.756 F .257 +(ord break, the)-.1 F 2.757(ym)-.15 G .257(ust be separated)-2.757 F (from)144 172.8 Q F1(list)2.5 E F0 (by whitespace or another shell metacharacter)2.5 E(.)-.55 E(\(\()108 189.6 Q F1 -.2(ex)C(pr).2 E(ession)-.37 E F0(\)\))A(The)144 201.6 Q F1 --.2(ex)2.551 G(pr).2 E(ession)-.37 E F0 .051(is e)2.551 F -.25(va)-.25 G -.051(luated according to the rules described belo).25 F 2.552(wu)-.25 G -(nder)-2.552 E F2 .052(ARITHMETIC EV)2.552 F(ALU)-1.215 E(A-)-.54 E -(TION)144 213.6 Q/F4 9/Times-Roman@0 SF(.)A F0 .411(If the v)4.911 F -.411(alue of the e)-.25 F .411(xpression is non-zero, the return status\ - is 0; otherwise the return status)-.15 F(is 1.)144 225.6 Q(This is e)5 -E(xactly equi)-.15 E -.25(va)-.25 G(lent to).25 E F3(let ")2.5 E F1 -.2 +-.2(ex)2.552 G(pr).2 E(ession)-.37 E F0 .052(is e)2.552 F -.25(va)-.25 G +.051(luated according to the rules described belo).25 F 2.551(wu)-.25 G +(nder)-2.551 E F2 .051(ARITHMETIC EV)2.551 F(ALU)-1.215 E(A-)-.54 E +(TION)144 213.6 Q/F4 9/Times-Roman@0 SF(.)A F0 .411(If the v)4.91 F .411 +(alue of the e)-.25 F .411(xpression is non-zero, the return status is \ +0; otherwise the return status)-.15 F(is 1.)144 225.6 Q(This is e)5 E +(xactly equi)-.15 E -.25(va)-.25 G(lent to).25 E F3(let ")2.5 E F1 -.2 (ex)C(pr).2 E(ession)-.37 E F3(")A F0(.)A F3([[)108 242.4 Q F1 -.2(ex) -2.5 G(pr).2 E(ession)-.37 E F3(]])2.5 E F0 1.299 +2.5 G(pr).2 E(ession)-.37 E F3(]])2.5 E F0 1.3 (Return a status of 0 or 1 depending on the e)144 254.4 R -.25(va)-.25 G -1.3(luation of the conditional e).25 F(xpression)-.15 E F1 -.2(ex)3.8 G -(pr).2 E(ession)-.37 E F0(.)A 2.274 +1.299(luation of the conditional e).25 F(xpression)-.15 E F1 -.2(ex) +3.799 G(pr).2 E(ession)-.37 E F0(.)A 2.273 (Expressions are composed of the primaries described belo)144 266.4 R -4.773(wu)-.25 G(nder)-4.773 E F2(CONDITION)4.773 E 2.273(AL EXPRES-)-.18 -F(SIONS)144 278.4 Q F4(.)A F0 -.8(Wo)5.632 G 1.133 +4.774(wu)-.25 G(nder)-4.774 E F2(CONDITION)4.774 E 2.274(AL EXPRES-)-.18 +F(SIONS)144 278.4 Q F4(.)A F0 -.8(Wo)5.633 G 1.133 (rd splitting and pathname e).8 F 1.133 (xpansion are not performed on the w)-.15 F 1.133(ords between the)-.1 F -F3([[)3.633 E F0(and)144 290.4 Q F3(]])2.964 E F0 2.964(;t)C .464 -(ilde e)-2.964 F .464(xpansion, parameter and v)-.15 F .464(ariable e) --.25 F .463(xpansion, arithmetic e)-.15 F .463 +F3([[)3.632 E F0(and)144 290.4 Q F3(]])2.963 E F0 2.963(;t)C .463 +(ilde e)-2.963 F .464(xpansion, parameter and v)-.15 F .464(ariable e) +-.25 F .464(xpansion, arithmetic e)-.15 F .464 (xpansion, command substi-)-.15 F 1.081 (tution, process substitution, and quote remo)144 302.4 R -.25(va)-.15 G 3.581(la).25 G 1.081(re performed.)-3.581 F 1.081 -(Conditional operators such as)6.081 F F33.581 E F0 +(Conditional operators such as)6.081 F F33.58 E F0 (must be unquoted to be recognized as primaries.)144 314.4 Q (When used with)144 332.4 Q F3([[)2.5 E F0 2.5(,t)C(he)-2.5 E F3(<)2.5 E F0(and)2.5 E F3(>)2.5 E F0(operators sort le)2.5 E -(xicographically using the current locale.)-.15 E .503(When the)144 -350.4 R F3(==)3.003 E F0(and)3.002 E F3(!=)3.002 E F0 .502(operators ar\ +(xicographically using the current locale.)-.15 E .502(When the)144 +350.4 R F3(==)3.002 E F0(and)3.002 E F3(!=)3.002 E F0 .502(operators ar\ e used, the string to the right of the operator is considered a pat-) 3.002 F .81(tern and matched according to the rules described belo)144 362.4 R 3.31(wu)-.25 G(nder)-3.31 E F3 -.1(Pa)3.31 G(tter).1 E 3.31(nM) -.15 G(atching)-3.31 E F0 3.31(,a)C 3.31(si)-3.31 G 3.31(ft)-3.31 G(he) --3.31 E F3(ext-)3.31 E(glob)144 374.4 Q F0 1.007 -(shell option were enabled.)3.507 F(The)6.007 E F3(=)3.507 E F0 1.007 -(operator is equi)3.507 F -.25(va)-.25 G 1.007(lent to).25 F F3(==)3.507 -E F0 6.007(.I)C 3.507(ft)-6.007 G 1.007(he shell option)-3.507 F F3 -(nocase-)3.506 E(match)144 386.4 Q F0 .198 -(is enabled, the match is performed without re)2.698 F -.05(ga)-.15 G -.198(rd to the case of alphabetic characters.).05 F(The)5.198 E 1.068 +-3.31 E F3(ext-)3.31 E(glob)144 374.4 Q F0 1.389 +(shell option were enabled.)3.889 F(The)6.389 E F3(=)3.889 E F0 1.389 +(operator is equi)3.889 F -.25(va)-.25 G 1.389(lent to).25 F F3(==)3.89 +E F0 6.39(.I)C 3.89(ft)-6.39 G(he)-3.89 E F3(nocasematch)3.89 E F0 +(shell)3.89 E .272(option is enabled, the match is performed without re) +144 386.4 R -.05(ga)-.15 G .271 +(rd to the case of alphabetic characters.).05 F(The)5.271 E 1.067 (return v)144 398.4 R 1.068(alue is 0 if the string matches \()-.25 F F3 (==)A F0 3.568(\)o)C 3.568(rd)-3.568 G 1.068(oes not match \()-3.568 F -F3(!=)A F0 3.568(\)t)C 1.067(he pattern, and 1 otherwise.)-3.568 F(An) +F3(!=)A F0 3.568(\)t)C 1.068(he pattern, and 1 otherwise.)-3.568 F(An) 144 410.4 Q 2.5(yp)-.15 G(art of the pattern may be quoted to force the\ quoted portion to be matched as a string.)-2.5 E .243 (An additional binary operator)144 428.4 R(,)-.4 E F3(=~)2.743 E F0 @@ -777,44 +796,44 @@ F3(!=)A F0 3.568(\)t)C 1.067(he pattern, and 1 otherwise.)-3.568 F(An) (ilable, with the same precedence as).25 F F3(==)2.743 E F0(and)2.743 E F3(!=)2.743 E F0 5.243(.W)C .243(hen it is)-5.243 F 1.953 (used, the string to the right of the operator is considered an e)144 -440.4 R 1.953(xtended re)-.15 F 1.953(gular e)-.15 F 1.953 +440.4 R 1.954(xtended re)-.15 F 1.954(gular e)-.15 F 1.954 (xpression and)-.15 F .207(matched accordingly \(as in)144 452.4 R F1 -.37(re)2.707 G -.1(ge)-.03 G(x)-.1 E F0 2.707(\(3\)\). The)B .207 (return v)2.707 F .207 -(alue is 0 if the string matches the pattern, and 1)-.25 F 3.346 -(otherwise. If)144 464.4 R .846(the re)3.346 F .846(gular e)-.15 F .845 +(alue is 0 if the string matches the pattern, and 1)-.25 F 3.345 +(otherwise. If)144 464.4 R .845(the re)3.345 F .845(gular e)-.15 F .846 (xpression is syntactically incorrect, the conditional e)-.15 F -(xpression')-.15 E 3.345(sr)-.55 G(eturn)-3.345 E -.25(va)144 476.4 S -.666(lue is 2.).25 F .667(If the shell option)5.667 F F3(nocasematch) -3.167 E F0 .667(is enabled, the match is performed without re)3.167 F --.05(ga)-.15 G .667(rd to).05 F .593(the case of alphabetic characters.) -144 488.4 R(An)5.593 E 3.093(yp)-.15 G .592 -(art of the pattern may be quoted to force the quoted por)-3.093 F(-)-.2 +(xpression')-.15 E 3.346(sr)-.55 G(eturn)-3.346 E -.25(va)144 476.4 S +.667(lue is 2.).25 F .667(If the)5.667 F F3(nocasematch)3.167 E F0 .667 +(shell option is enabled, the match is performed without re)3.167 F -.05 +(ga)-.15 G .666(rd to).05 F .592(the case of alphabetic characters.)144 +488.4 R(An)5.592 E 3.092(yp)-.15 G .593 +(art of the pattern may be quoted to force the quoted por)-3.092 F(-)-.2 E 1.016(tion to be matched as a string.)144 500.4 R(Brack)6.016 E 1.016 (et e)-.1 F 1.016(xpressions in re)-.15 F 1.016(gular e)-.15 F 1.016 -(xpressions must be treated care-)-.15 F(fully)144 512.4 Q 4.436(,s)-.65 -G 1.936 -(ince normal quoting characters lose their meanings between brack)-4.436 -F 4.435(ets. If)-.1 F 1.935(the pattern is)4.435 F .264 -(stored in a shell v)144 524.4 R .264(ariable, quoting the v)-.25 F .264 -(ariable e)-.25 F .265 -(xpansion forces the entire pattern to be matched as)-.15 F 3.774(as)144 -536.4 S 3.774(tring. Substrings)-3.774 F 1.274 -(matched by parenthesized sube)3.774 F 1.273(xpressions within the re) --.15 F 1.273(gular e)-.15 F 1.273(xpression are)-.15 F(sa)144 548.4 Q --.15(ve)-.2 G 3.096(di).15 G 3.097(nt)-3.096 G .597(he array v)-3.097 F +(xpressions must be treated care-)-.15 F(fully)144 512.4 Q 4.435(,s)-.65 +G 1.935 +(ince normal quoting characters lose their meanings between brack)-4.435 +F 4.436(ets. If)-.1 F 1.936(the pattern is)4.436 F .265 +(stored in a shell v)144 524.4 R .265(ariable, quoting the v)-.25 F .264 +(ariable e)-.25 F .264 +(xpansion forces the entire pattern to be matched as)-.15 F 3.773(as)144 +536.4 S 3.773(tring. Substrings)-3.773 F 1.274 +(matched by parenthesized sube)3.773 F 1.274(xpressions within the re) +-.15 F 1.274(gular e)-.15 F 1.274(xpression are)-.15 F(sa)144 548.4 Q +-.15(ve)-.2 G 3.097(di).15 G 3.097(nt)-3.097 G .597(he array v)-3.097 F (ariable)-.25 E F2 -.27(BA)3.097 G(SH_REMA).27 E(TCH)-.855 E F4(.)A F0 .597(The element of)5.097 F F2 -.27(BA)3.097 G(SH_REMA).27 E(TCH)-.855 E -F0 .597(with inde)2.847 F 3.097(x0i)-.15 G(s)-3.097 E .049 +F0 .597(with inde)2.847 F 3.097(x0)-.15 G(is)-.001 E .049 (the portion of the string matching the entire re)144 560.4 R .049 -(gular e)-.15 F 2.549(xpression. The)-.15 F .049(element of)2.549 F F2 --.27(BA)2.549 G(SH_REMA).27 E(TCH)-.855 E F0(with inde)144 572.4 Q(x) --.15 E F1(n)2.5 E F0(is the portion of the string matching the)2.5 E F1 -(n)2.5 E F0(th parenthesized sube)A(xpression.)-.15 E .785 -(Expressions may be combined using the follo)144 590.4 R .786 +(gular e)-.15 F 2.549(xpression. The)-.15 F .05(element of)2.55 F F2 +-.27(BA)2.55 G(SH_REMA).27 E(TCH)-.855 E F0(with inde)144 572.4 Q(x)-.15 +E F1(n)2.5 E F0(is the portion of the string matching the)2.5 E F1(n)2.5 +E F0(th parenthesized sube)A(xpression.)-.15 E .786 +(Expressions may be combined using the follo)144 590.4 R .785 (wing operators, listed in decreasing order of prece-)-.25 F(dence:)144 602.4 Q F3(\()144 620.4 Q F1 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F3(\)) -2.5 E F0 .523(Returns the v)180 632.4 R .522(alue of)-.25 F F1 -.2(ex) +2.5 E F0 .522(Returns the v)180 632.4 R .522(alue of)-.25 F F1 -.2(ex) 3.022 G(pr).2 E(ession)-.37 E F0 5.522(.T)C .522(his may be used to o) -5.522 F -.15(ve)-.15 G .522(rride the normal precedence of).15 F (operators.)180 644.4 Q F3(!)144 656.4 Q F1 -.2(ex)2.5 G(pr).2 E(ession) @@ -826,145 +845,146 @@ F0 .597(with inde)2.847 F 3.097(x0i)-.15 G(s)-3.097 E .049 2.52 E F1 -.2(ex)144 704.4 S(pr).2 E(ession1)-.37 E F3(||)2.5 E F1 -.2 (ex)2.5 G(pr).2 E(ession2)-.37 E F0 -.35(Tr)180 716.4 S(ue if either).35 E F1 -.2(ex)2.5 G(pr).2 E(ession1)-.37 E F0(or)2.5 E F1 -.2(ex)2.5 G(pr) -.2 E(ession2)-.37 E F0(is true.)2.52 E(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(5)195.95 E 0 Cg EP +.2 E(ession2)-.37 E F0(is true.)2.52 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(5)197.055 E 0 Cg EP %%Page: 6 6 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(The)144 84 Q/F1 10/Times-Bold@0 SF(&&)3.64 E F0(and)3.64 E F1(||) -3.64 E F0 1.14(operators do not e)3.64 F -.25(va)-.25 G(luate).25 E/F2 -10/Times-Italic@0 SF -.2(ex)3.641 G(pr).2 E(ession2)-.37 E F0 1.141 -(if the v)3.641 F 1.141(alue of)-.25 F F2 -.2(ex)3.641 G(pr).2 E -(ession1)-.37 E F0 1.141(is suf)3.641 F 1.141(\214cient to)-.25 F +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(The)144 84 Q/F1 10 +/Times-Bold@0 SF(&&)3.641 E F0(and)3.641 E F1(||)3.641 E F0 1.141 +(operators do not e)3.641 F -.25(va)-.25 G(luate).25 E/F2 10 +/Times-Italic@0 SF -.2(ex)3.641 G(pr).2 E(ession2)-.37 E F0 1.141 +(if the v)3.641 F 1.14(alue of)-.25 F F2 -.2(ex)3.64 G(pr).2 E(ession1) +-.37 E F0 1.14(is suf)3.64 F 1.14(\214cient to)-.25 F (determine the return v)144 96 Q(alue of the entire conditional e)-.25 E (xpression.)-.15 E F1 -.25(fo)108 112.8 S(r).25 E F2(name)2.5 E F0 2.5 ([[)2.5 G F1(in)A F0([)2.5 E F2(wor)2.5 E 2.5(d.)-.37 G(..)-2.5 E F0 2.5 -(]];])2.5 G F1(do)A F2(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 .424 -(The list of w)144 124.8 R .424(ords follo)-.1 F(wing)-.25 E F1(in)2.924 -E F0 .423(is e)2.924 F .423(xpanded, generating a list of items.)-.15 F -.423(The v)5.423 F(ariable)-.25 E F2(name)2.923 E F0 .423(is set to) -2.923 F .653(each element of this list in turn, and)144 136.8 R F2(list) +(]];])2.5 G F1(do)A F2(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 .423 +(The list of w)144 124.8 R .423(ords follo)-.1 F(wing)-.25 E F1(in)2.923 +E F0 .423(is e)2.923 F .423(xpanded, generating a list of items.)-.15 F +.424(The v)5.424 F(ariable)-.25 E F2(name)2.924 E F0 .424(is set to) +2.924 F .653(each element of this list in turn, and)144 136.8 R F2(list) 3.153 E F0 .653(is e)3.153 F -.15(xe)-.15 G .653(cuted each time.).15 F .653(If the)5.653 F F1(in)3.153 E F2(wor)3.153 E(d)-.37 E F0 .653 -(is omitted, the)3.153 F F1 -.25(fo)3.153 G(r).25 E F0 .649(command e) -144 148.8 R -.15(xe)-.15 G(cutes).15 E F2(list)3.149 E F0 .648 +(is omitted, the)3.153 F F1 -.25(fo)3.153 G(r).25 E F0 .648(command e) +144 148.8 R -.15(xe)-.15 G(cutes).15 E F2(list)3.148 E F0 .648 (once for each positional parameter that is set \(see)3.148 F/F3 9 -/Times-Bold@0 SF -.666(PA)3.148 G(RAMETERS).666 E F0(belo)2.898 E(w\).) --.25 E .153(The return status is the e)144 160.8 R .153 -(xit status of the last command that e)-.15 F -.15(xe)-.15 G 2.654 -(cutes. If).15 F .154(the e)2.654 F .154(xpansion of the items)-.15 F +/Times-Bold@0 SF -.666(PA)3.149 G(RAMETERS).666 E F0(belo)2.899 E(w\).) +-.25 E .154(The return status is the e)144 160.8 R .153 +(xit status of the last command that e)-.15 F -.15(xe)-.15 G 2.653 +(cutes. If).15 F .153(the e)2.653 F .153(xpansion of the items)-.15 F (follo)144 172.8 Q(wing)-.25 E F1(in)2.5 E F0 (results in an empty list, no commands are e)2.5 E -.15(xe)-.15 G (cuted, and the return status is 0.).15 E F1 -.25(fo)108 189.6 S(r).25 E F0(\(\()2.5 E F2 -.2(ex)2.5 G(pr1).2 E F0(;)2.5 E F2 -.2(ex)2.5 G(pr2).2 E F0(;)2.5 E F2 -.2(ex)2.5 G(pr3).2 E F0(\)\) ;)2.5 E F1(do)2.5 E F2 -(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 1.236(First, the arithmetic e) -144 201.6 R(xpression)-.15 E F2 -.2(ex)3.736 G(pr1).2 E F0 1.235(is e) -3.736 F -.25(va)-.25 G 1.235 -(luated according to the rules described belo).25 F 3.735(wu)-.25 G -(nder)-3.735 E F3 .561(ARITHMETIC EV)144 213.6 R(ALU)-1.215 E -.855(AT) --.54 G(ION).855 E/F4 9/Times-Roman@0 SF(.)A F0 .561(The arithmetic e) -5.061 F(xpression)-.15 E F2 -.2(ex)3.061 G(pr2).2 E F0 .562(is then e) -3.062 F -.25(va)-.25 G .562(luated repeatedly until).25 F .592(it e)144 -225.6 R -.25(va)-.25 G .592(luates to zero.).25 F .592(Each time)5.592 F +(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 1.235(First, the arithmetic e) +144 201.6 R(xpression)-.15 E F2 -.2(ex)3.735 G(pr1).2 E F0 1.235(is e) +3.735 F -.25(va)-.25 G 1.236 +(luated according to the rules described belo).25 F 3.736(wu)-.25 G +(nder)-3.736 E F3 .562(ARITHMETIC EV)144 213.6 R(ALU)-1.215 E -.855(AT) +-.54 G(ION).855 E/F4 9/Times-Roman@0 SF(.)A F0 .562(The arithmetic e) +5.062 F(xpression)-.15 E F2 -.2(ex)3.062 G(pr2).2 E F0 .561(is then e) +3.061 F -.25(va)-.25 G .561(luated repeatedly until).25 F .591(it e)144 +225.6 R -.25(va)-.25 G .591(luates to zero.).25 F .592(Each time)5.591 F F2 -.2(ex)3.092 G(pr2).2 E F0 -.25(eva)3.092 G .592 -(luates to a non-zero v).25 F(alue,)-.25 E F2(list)3.092 E F0 .591(is e) -3.092 F -.15(xe)-.15 G .591(cuted and the arith-).15 F .228(metic e)144 -237.6 R(xpression)-.15 E F2 -.2(ex)2.728 G(pr3).2 E F0 .229(is e)2.728 F +(luates to a non-zero v).25 F(alue,)-.25 E F2(list)3.092 E F0 .592(is e) +3.092 F -.15(xe)-.15 G .592(cuted and the arith-).15 F .229(metic e)144 +237.6 R(xpression)-.15 E F2 -.2(ex)2.729 G(pr3).2 E F0 .229(is e)2.729 F -.25(va)-.25 G 2.729(luated. If).25 F(an)2.729 E 2.729(ye)-.15 G .229 (xpression is omitted, it beha)-2.879 F -.15(ve)-.2 G 2.729(sa).15 G -2.729(si)-2.729 G 2.729(fi)-2.729 G 2.729(te)-2.729 G -.25(va)-2.979 G -.229(luates to 1.).25 F .228(The return v)144 249.6 R .228 -(alue is the e)-.25 F .228(xit status of the last command in)-.15 F F2 -(list)2.728 E F0 .227(that is e)2.728 F -.15(xe)-.15 G .227(cuted, or f) -.15 F .227(alse if an)-.1 F 2.727(yo)-.15 G 2.727(ft)-2.727 G(he)-2.727 +2.729(si)-2.729 G 2.729(fi)-2.729 G 2.728(te)-2.729 G -.25(va)-2.978 G +.228(luates to 1.).25 F .227(The return v)144 249.6 R .227 +(alue is the e)-.25 F .227(xit status of the last command in)-.15 F F2 +(list)2.728 E F0 .228(that is e)2.728 F -.15(xe)-.15 G .228(cuted, or f) +.15 F .228(alse if an)-.1 F 2.728(yo)-.15 G 2.728(ft)-2.728 G(he)-2.728 E -.15(ex)144 261.6 S(pressions is in).15 E -.25(va)-.4 G(lid.).25 E F1 (select)108 278.4 Q F2(name)2.5 E F0([)2.5 E F1(in)2.5 E F2(wor)2.5 E(d) -.37 E F0 2.5(];)2.5 G F1(do)A F2(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 -.432(The list of w)144 290.4 R .432(ords follo)-.1 F(wing)-.25 E F1(in) -2.932 E F0 .432(is e)2.932 F .432(xpanded, generating a list of items.) --.15 F .433(The set of e)5.433 F .433(xpanded w)-.15 F(ords)-.1 E .843 +.433(The list of w)144 290.4 R .433(ords follo)-.1 F(wing)-.25 E F1(in) +2.933 E F0 .432(is e)2.933 F .432(xpanded, generating a list of items.) +-.15 F .432(The set of e)5.432 F .432(xpanded w)-.15 F(ords)-.1 E .842 (is printed on the standard error)144 302.4 R 3.342(,e)-.4 G .842 (ach preceded by a number)-3.342 F 5.842(.I)-.55 G 3.342(ft)-5.842 G(he) --3.342 E F1(in)3.342 E F2(wor)3.342 E(d)-.37 E F0 .842 -(is omitted, the posi-)3.342 F .201(tional parameters are printed \(see) +-3.342 E F1(in)3.342 E F2(wor)3.342 E(d)-.37 E F0 .843 +(is omitted, the posi-)3.343 F .201(tional parameters are printed \(see) 144 314.4 R F3 -.666(PA)2.701 G(RAMETERS).666 E F0(belo)2.451 E 2.701 (w\). The)-.25 F F3(PS3)2.701 E F0 .201(prompt is then displayed and a) -2.451 F .214(line read from the standard input.)144 326.4 R .213 -(If the line consists of a number corresponding to one of the dis-)5.214 -F 1.537(played w)144 338.4 R 1.537(ords, then the v)-.1 F 1.537(alue of) --.25 F F2(name)4.397 E F0 1.537(is set to that w)4.217 F 4.037(ord. If) --.1 F 1.538(the line is empty)4.038 F 4.038(,t)-.65 G 1.538(he w)-4.038 -F 1.538(ords and)-.1 F .066(prompt are displayed ag)144 350.4 R 2.566 -(ain. If)-.05 F .065(EOF is read, the command completes.)2.566 F(An) -5.065 E 2.565(yo)-.15 G .065(ther v)-2.565 F .065(alue read causes)-.25 -F F2(name)144 362.4 Q F0 .972(to be set to null.)3.652 F .972 -(The line read is sa)5.972 F -.15(ve)-.2 G 3.473(di).15 G 3.473(nt) --3.473 G .973(he v)-3.473 F(ariable)-.25 E F3(REPL)3.473 E(Y)-.828 E F4 -(.)A F0(The)5.473 E F2(list)3.563 E F0 .973(is e)4.153 F -.15(xe)-.15 G -.973(cuted after).15 F .072(each selection until a)144 374.4 R F1(br) +2.451 F .213(line read from the standard input.)144 326.4 R .213 +(If the line consists of a number corresponding to one of the dis-)5.213 +F 1.538(played w)144 338.4 R 1.538(ords, then the v)-.1 F 1.538(alue of) +-.25 F F2(name)4.398 E F0 1.537(is set to that w)4.218 F 4.037(ord. If) +-.1 F 1.537(the line is empty)4.037 F 4.037(,t)-.65 G 1.537(he w)-4.037 +F 1.537(ords and)-.1 F .065(prompt are displayed ag)144 350.4 R 2.565 +(ain. If)-.05 F .065(EOF is read, the command completes.)2.565 F(An) +5.066 E 2.566(yo)-.15 G .066(ther v)-2.566 F .066(alue read causes)-.25 +F F2(name)144.36 362.4 Q F0 .954(to be set to null.)3.634 F .954 +(The line read is sa)5.954 F -.15(ve)-.2 G 3.453(di).15 G 3.453(nt) +-3.453 G .953(he v)-3.453 F(ariable)-.25 E F3(REPL)3.453 E(Y)-.828 E F4 +(.)A F0(The)5.453 E F2(list)3.543 E F0 .953(is e)4.133 F -.15(xe)-.15 G +.953(cuted after).15 F .071(each selection until a)144 374.4 R F1(br) 2.571 E(eak)-.18 E F0 .071(command is e)2.571 F -.15(xe)-.15 G 2.571 (cuted. The).15 F -.15(ex)2.571 G .071(it status of).15 F F1(select) -2.571 E F0 .071(is the e)2.571 F .071(xit status of the)-.15 F +2.571 E F0 .071(is the e)2.571 F .072(xit status of the)-.15 F (last command e)144 386.4 Q -.15(xe)-.15 G(cuted in).15 E F2(list)2.5 E F0 2.5(,o).68 G 2.5(rz)-2.5 G(ero if no commands were e)-2.5 E -.15(xe) -.15 G(cuted.).15 E F1(case)108 403.2 Q F2(wor)2.5 E(d)-.37 E F1(in)2.5 E F0 2.5([[)2.5 G(\(])-2.5 E F2(pattern)2.5 E F0([)2.5 E F1(|)2.5 E F2 (pattern)2.5 E F0 2.5(].)2.5 G(.. \))-2.5 E F2(list)2.5 E F0(;; ] ...) -2.5 E F1(esac)2.5 E F0(A)144 415.2 Q F1(case)3.264 E F0 .764 -(command \214rst e)3.264 F(xpands)-.15 E F2(wor)3.264 E(d)-.37 E F0 +2.5 E F1(esac)2.5 E F0(A)144 415.2 Q F1(case)3.265 E F0 .764 +(command \214rst e)3.265 F(xpands)-.15 E F2(wor)3.264 E(d)-.37 E F0 3.264(,a)C .764(nd tries to match it ag)-3.264 F .764(ainst each)-.05 F -F2(pattern)3.264 E F0 .765(in turn, using the)3.264 F .596 +F2(pattern)3.264 E F0 .764(in turn, using the)3.264 F .595 (same matching rules as for pathname e)144 427.2 R .595(xpansion \(see) --.15 F F1 -.1(Pa)3.095 G .595(thname Expansion).1 F F0(belo)3.095 E -3.095(w\). The)-.25 F F2(wor)3.095 E(d)-.37 E F0(is)3.095 E -.15(ex)144 -439.2 S 1.092(panded using tilde e).15 F 1.092 -(xpansion, parameter and v)-.15 F 1.092(ariable e)-.25 F 1.092 -(xpansion, arithmetic substitution, com-)-.15 F 1.268 +-.15 F F1 -.1(Pa)3.095 G .596(thname Expansion).1 F F0(belo)3.096 E +3.096(w\). The)-.25 F F2(wor)3.096 E(d)-.37 E F0(is)3.096 E -.15(ex)144 +439.2 S 1.72(panded using tilde e).15 F 1.72(xpansion, parameter and v) +-.15 F 1.72(ariable e)-.25 F 1.72(xpansion, arithmetic e)-.15 F 1.72 +(xpansion, com-)-.15 F 1.268 (mand substitution, process substitution and quote remo)144 451.2 R -.25 (va)-.15 G 3.768(l. Each).25 F F2(pattern)3.768 E F0 -.15(ex)3.768 G -1.268(amined is e).15 F(xpanded)-.15 E .353(using tilde e)144 463.2 R -.353(xpansion, parameter and v)-.15 F .353(ariable e)-.25 F .353 -(xpansion, arithmetic substitution, command substi-)-.15 F 1.517 -(tution, and process substitution.)144 475.2 R 1.517 -(If the shell option)6.517 F F1(nocasematch)4.016 E F0 1.516 -(is enabled, the match is per)4.016 F(-)-.2 E 1.346(formed without re) -144 487.2 R -.05(ga)-.15 G 1.346 -(rd to the case of alphabetic characters.).05 F 1.347 -(When a match is found, the corre-)6.347 F(sponding)144 499.2 Q F2(list) -2.777 E F0 .277(is e)2.777 F -.15(xe)-.15 G 2.777(cuted. If).15 F(the) -2.777 E F1(;;)2.777 E F0 .277 -(operator is used, no subsequent matches are attempted after the)2.777 F -.848(\214rst pattern match.)144 511.2 R(Using)5.848 E F1(;&)3.348 E F0 -.849(in place of)3.349 F F1(;;)3.349 E F0 .849(causes e)3.349 F -.15(xe) --.15 G .849(cution to continue with the).15 F F2(list)3.349 E F0 -(associated)3.349 E .078(with the ne)144 523.2 R .078 -(xt set of patterns.)-.15 F(Using)5.078 E F1(;;&)2.578 E F0 .078 -(in place of)2.578 F F1(;;)2.578 E F0 .077 -(causes the shell to test the ne)2.578 F .077(xt pattern list in)-.15 F -.227(the statement, if an)144 535.2 R 1.527 -.65(y, a)-.15 H .227(nd e) -.65 F -.15(xe)-.15 G .227(cute an).15 F 2.727(ya)-.15 G(ssociated)-2.727 -E F2(list)2.727 E F0 .227(on a successful match.)2.727 F .227(The e) -5.227 F .227(xit status is zero)-.15 F(if no pattern matches.)144 547.2 -Q(Otherwise, it is the e)5 E(xit status of the last command e)-.15 E --.15(xe)-.15 G(cuted in).15 E F2(list)2.5 E F0(.)A F1(if)108 564 Q F2 -(list)2.5 E F0(;)A F1(then)2.5 E F2(list)2.5 E F0 2.5(;[)C F1(elif)A F2 -(list)2.5 E F0(;)A F1(then)2.5 E F2(list)2.5 E F0 2.5(;].)C(.. [)-2.5 E -F1(else)2.5 E F2(list)2.5 E F0 2.5(;])C F1<8c>A F0(The)144 576 Q F1(if) -2.978 E F2(list)3.068 E F0 .478(is e)3.658 F -.15(xe)-.15 G 2.978 +1.269(amined is e).15 F(xpanded)-.15 E .203(using tilde e)144 463.2 R +.203(xpansion, parameter and v)-.15 F .203(ariable e)-.25 F .203 +(xpansion, arithmetic e)-.15 F .203(xpansion, command substitu-)-.15 F +.232(tion, and process substitution.)144 475.2 R .233(If the)5.233 F F1 +(nocasematch)2.733 E F0 .233 +(shell option is enabled, the match is performed)2.733 F .234 +(without re)144 487.2 R -.05(ga)-.15 G .234 +(rd to the case of alphabetic characters.).05 F .234 +(When a match is found, the corresponding)5.234 F F2(list)2.734 E F0 +.625(is e)144 499.2 R -.15(xe)-.15 G 3.125(cuted. If).15 F(the)3.125 E +F1(;;)3.125 E F0 .625(operator is used, no subsequent matches are attem\ +pted after the \214rst pattern)3.125 F 2.932(match. Using)144 511.2 R F1 +(;&)2.932 E F0 .432(in place of)2.932 F F1(;;)2.932 E F0 .432(causes e) +2.932 F -.15(xe)-.15 G .432(cution to continue with the).15 F F2(list) +2.932 E F0 .431(associated with the ne)2.931 F(xt)-.15 E .866 +(set of patterns.)144 523.2 R(Using)5.866 E F1(;;&)3.366 E F0 .866 +(in place of)3.366 F F1(;;)3.366 E F0 .866 +(causes the shell to test the ne)3.366 F .866 +(xt pattern list in the state-)-.15 F .878(ment, if an)144 535.2 R 2.178 +-.65(y, a)-.15 H .878(nd e).65 F -.15(xe)-.15 G .878(cute an).15 F 3.378 +(ya)-.15 G(ssociated)-3.378 E F2(list)3.378 E F0 .878 +(on a successful match.)3.378 F .878(The e)5.878 F .877 +(xit status is zero if no)-.15 F(pattern matches.)144 547.2 Q +(Otherwise, it is the e)5 E(xit status of the last command e)-.15 E -.15 +(xe)-.15 G(cuted in).15 E F2(list)2.5 E F0(.)A F1(if)108 564 Q F2(list) +2.5 E F0(;)A F1(then)2.5 E F2(list)2.5 E F0 2.5(;[)C F1(elif)A F2(list) +2.5 E F0(;)A F1(then)2.5 E F2(list)2.5 E F0 2.5(;].)C(.. [)-2.5 E F1 +(else)2.5 E F2(list)2.5 E F0 2.5(;])C F1<8c>A F0(The)144 576 Q F1(if) +2.977 E F2(list)3.067 E F0 .478(is e)3.658 F -.15(xe)-.15 G 2.978 (cuted. If).15 F .478(its e)2.978 F .478(xit status is zero, the)-.15 F F1(then)2.978 E F2(list)2.978 E F0 .478(is e)2.978 F -.15(xe)-.15 G -2.978(cuted. Otherwise,).15 F(each)2.978 E F1(elif)2.977 E F2(list)2.977 -E F0 1.087(is e)144 588 R -.15(xe)-.15 G 1.087 +2.978(cuted. Otherwise,).15 F(each)2.978 E F1(elif)2.978 E F2(list)2.978 +E F0 1.088(is e)144 588 R -.15(xe)-.15 G 1.088 (cuted in turn, and if its e).15 F 1.087 (xit status is zero, the corresponding)-.15 F F1(then)3.587 E F2(list) -3.587 E F0 1.088(is e)3.588 F -.15(xe)-.15 G 1.088(cuted and the).15 F -.104(command completes.)144 600 R .103(Otherwise, the)5.104 F F1(else) +3.587 E F0 1.087(is e)3.587 F -.15(xe)-.15 G 1.087(cuted and the).15 F +.103(command completes.)144 600 R .103(Otherwise, the)5.103 F F1(else) 2.603 E F2(list)2.603 E F0 .103(is e)2.603 F -.15(xe)-.15 G .103 (cuted, if present.).15 F .103(The e)5.103 F .103(xit status is the e) --.15 F .103(xit sta-)-.15 F(tus of the last command e)144 612 Q -.15(xe) +-.15 F .104(xit sta-)-.15 F(tus of the last command e)144 612 Q -.15(xe) -.15 G(cuted, or zero if no condition tested true.).15 E F1(while)108 628.8 Q F2(list-1)2.5 E F0(;)A F1(do)2.5 E F2(list-2)2.5 E F0(;)A F1 (done)2.5 E(until)108 640.8 Q F2(list-1)2.5 E F0(;)A F1(do)2.5 E F2 @@ -974,89 +994,90 @@ F F2(list-2)3.45 E F0 .95(as long as the last command in the list)3.45 F F2(list-1)144 664.8 Q F0 .205(returns an e)2.705 F .205 (xit status of zero.)-.15 F(The)5.205 E F1(until)2.705 E F0 .205 (command is identical to the)2.705 F F1(while)2.705 E F0 .205 -(command, e)2.705 F(xcept)-.15 E .599(that the test is ne)144 676.8 R --.05(ga)-.15 G(ted;).05 E F2(list-2)3.189 E F0 .599(is e)3.119 F -.15 -(xe)-.15 G .6(cuted as long as the last command in).15 F F2(list-1)3.19 -E F0 .6(returns a non-zero)3.1 F -.15(ex)144 688.8 S .205(it status.).15 -F .205(The e)5.205 F .205(xit status of the)-.15 F F1(while)2.705 E F0 -(and)2.705 E F1(until)2.704 E F0 .204(commands is the e)2.704 F .204 +(command, e)2.705 F(xcept)-.15 E .6(that the test is ne)144 676.8 R -.05 +(ga)-.15 G(ted:).05 E F2(list-2)3.19 E F0 .6(is e)3.12 F -.15(xe)-.15 G +.599(cuted as long as the last command in).15 F F2(list-1)3.189 E F0 +.599(returns a non-zero)3.099 F -.15(ex)144 688.8 S .204(it status.).15 +F .204(The e)5.204 F .204(xit status of the)-.15 F F1(while)2.704 E F0 +(and)2.704 E F1(until)2.704 E F0 .205(commands is the e)2.704 F .205 (xit status of the last command)-.15 F -.15(exe)144 700.8 S(cuted in).15 E F2(list-2)2.5 E F0 2.5(,o)C 2.5(rz)-2.5 G(ero if none w)-2.5 E(as e) --.1 E -.15(xe)-.15 G(cuted.).15 E(GNU Bash 4.3)72 768 Q(2014 February 2) -141.79 E(6)195.95 E 0 Cg EP +-.1 E -.15(xe)-.15 G(cuted.).15 E(GNU Bash 4.4)72 768 Q(2016 August 26) +142.895 E(6)197.055 E 0 Cg EP %%Page: 7 7 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(Copr)87 84 Q(ocesses)-.18 E F0(A)108 96 Q -/F2 10/Times-Italic@0 SF(copr)3.712 E(ocess)-.45 E F0 1.212 -(is a shell command preceded by the)3.712 F F1(copr)3.713 E(oc)-.18 E F0 -(reserv)3.713 E 1.213(ed w)-.15 F 3.713(ord. A)-.1 F 1.213 -(coprocess is e)3.713 F -.15(xe)-.15 G 1.213(cuted asyn-).15 F .575(chr\ -onously in a subshell, as if the command had been terminated with the) -108 108 R F1(&)3.074 E F0 .574(control operator)3.074 F 3.074(,w)-.4 G -.574(ith a tw)-3.074 F(o-)-.1 E -.1(wa)108 120 S 2.5(yp).1 G -(ipe established between the e)-2.5 E -.15(xe)-.15 G -(cuting shell and the coprocess.).15 E(The format for a coprocess is:) -108 136.8 Q F1(copr)144 153.6 Q(oc)-.18 E F0([)2.5 E F2 -.27(NA)C(ME).27 -E F0(])A F2(command)2.5 E F0([)2.5 E F2 -.37(re)C(dir).37 E(ections)-.37 -E F0(])A .708(This creates a coprocess named)108 170.4 R F2 -.27(NA) -3.208 G(ME).27 E F0 5.708(.I)C(f)-5.708 E F2 -.27(NA)3.208 G(ME).27 E F0 -.708(is not supplied, the def)3.208 F .708(ault name is)-.1 F F1(COPR) -3.209 E(OC)-.3 E F0(.)A F2 -.27(NA)5.709 G(ME).27 E F0 .64 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(Copr)87 84 Q(ocesses)-.18 E F0(A)108 96 Q/F2 10/Times-Italic@0 SF +(copr)3.713 E(ocess)-.45 E F0 1.213(is a shell command preceded by the) +3.713 F F1(copr)3.712 E(oc)-.18 E F0(reserv)3.712 E 1.212(ed w)-.15 F +3.712(ord. A)-.1 F 1.212(coprocess is e)3.712 F -.15(xe)-.15 G 1.212 +(cuted asyn-).15 F .574(chronously in a subshell, as if the command had\ + been terminated with the)108 108 R F1(&)3.075 E F0 .575 +(control operator)3.075 F 3.075(,w)-.4 G .575(ith a tw)-3.075 F(o-)-.1 E +-.1(wa)108 120 S 2.5(yp).1 G(ipe established between the e)-2.5 E -.15 +(xe)-.15 G(cuting shell and the coprocess.).15 E +(The format for a coprocess is:)108 136.8 Q F1(copr)144 153.6 Q(oc)-.18 +E F0([)2.5 E F2 -.27(NA)C(ME).27 E F0(])A F2(command)2.5 E F0([)2.5 E F2 +-.37(re)C(dir).37 E(ections)-.37 E F0(])A .709 +(This creates a coprocess named)108 170.4 R F2 -.27(NA)3.208 G(ME).27 E +F0 5.708(.I)C(f)-5.708 E F2 -.27(NA)3.208 G(ME).27 E F0 .708 +(is not supplied, the def)3.208 F .708(ault name is)-.1 F F1(COPR)3.208 +E(OC)-.3 E F0(.)A F2 -.27(NA)5.708 G(ME).27 E F0 .64 (must not be supplied if)108 182.4 R F2(command)3.14 E F0 .64(is a)3.14 F F2 .64(simple command)3.14 F F0 .64(\(see abo)3.14 F -.15(ve)-.15 G .64(\); otherwise, it is interpreted as the \214rst).15 F -.1(wo)108 194.4 S 1.44(rd of the simple command.).1 F 1.44 (When the coprocess is e)6.44 F -.15(xe)-.15 G 1.44 (cuted, the shell creates an array v).15 F 1.44(ariable \(see)-.25 F F1 -(Arrays)108 206.4 Q F0(belo)3.671 E 1.171(w\) named)-.25 F F2 -.27(NA) -3.671 G(ME).27 E F0 1.171(in the conte)3.671 F 1.171(xt of the e)-.15 F --.15(xe)-.15 G 1.171(cuting shell.).15 F 1.17(The standard output of) -6.17 F F2(command)3.87 E F0(is)4.44 E 2.029 +(Arrays)108 206.4 Q F0(belo)3.67 E 1.17(w\) named)-.25 F F2 -.27(NA)3.67 +G(ME).27 E F0 1.17(in the conte)3.67 F 1.171(xt of the e)-.15 F -.15(xe) +-.15 G 1.171(cuting shell.).15 F 1.171(The standard output of)6.171 F F2 +(command)3.871 E F0(is)4.441 E 2.029 (connected via a pipe to a \214le descriptor in the e)108 218.4 R -.15 (xe)-.15 G 2.029 (cuting shell, and that \214le descriptor is assigned to).15 F F2 -.27 -(NA)108 230.4 S(ME).27 E F0 3.857([0]. The)B 1.357(standard input of) -3.857 F F2(command)4.057 E F0 1.356 -(is connected via a pipe to a \214le descriptor in the e)4.627 F -.15 +(NA)108 230.4 S(ME).27 E F0 3.856([0]. The)B 1.356(standard input of) +3.856 F F2(command)4.056 E F0 1.357 +(is connected via a pipe to a \214le descriptor in the e)4.626 F -.15 (xe)-.15 G(cuting).15 E .103 (shell, and that \214le descriptor is assigned to)108 242.4 R F2 -.27 (NA)2.603 G(ME).27 E F0 2.603([1]. This)B .103 -(pipe is established before an)2.603 F 2.604(yr)-.15 G .104 -(edirections spec-)-2.604 F 1.272(i\214ed by the command \(see)108 254.4 +(pipe is established before an)2.603 F 2.603(yr)-.15 G .103 +(edirections spec-)-2.603 F 1.271(i\214ed by the command \(see)108 254.4 R/F3 9/Times-Bold@0 SF(REDIRECTION)3.771 E F0(belo)3.521 E 3.771 (w\). The)-.25 F 1.271(\214le descriptors can be utilized as ar)3.771 F -1.271(guments to)-.18 F .515 +1.272(guments to)-.18 F .515 (shell commands and redirections using standard w)108 266.4 R .515 (ord e)-.1 F 3.015(xpansions. The)-.15 F .515 (\214le descriptors are not a)3.015 F -.25(va)-.2 G .515(ilable in).25 F -3.637(subshells. The)108 278.4 R 1.137(process ID of the shell spa)3.637 +3.636(subshells. The)108 278.4 R 1.136(process ID of the shell spa)3.636 F 1.137(wned to e)-.15 F -.15(xe)-.15 G 1.137(cute the coprocess is a) -.15 F -.25(va)-.2 G 1.136(ilable as the v).25 F 1.136(alue of the)-.25 F +.15 F -.25(va)-.2 G 1.137(ilable as the v).25 F 1.137(alue of the)-.25 F -.25(va)108 290.4 S(riable).25 E F2 -.27(NA)2.5 G(ME).27 E F0 2.5 (_PID. The)B F1(wait)2.5 E F0 -.2(bu)2.5 G (iltin command may be used to w).2 E (ait for the coprocess to terminate.)-.1 E .336 (Since the coprocess is created as an asynchronous command, the)108 -307.2 R F1(copr)2.836 E(oc)-.18 E F0 .336(command al)2.836 F -.1(wa)-.1 -G .336(ys returns success.).1 F +307.2 R F1(copr)2.836 E(oc)-.18 E F0 .335(command al)2.835 F -.1(wa)-.1 +G .335(ys returns success.).1 F (The return status of a coprocess is the e)108 319.2 Q(xit status of) -.15 E F2(command)2.5 E F0(.)A F1(Shell Function De\214nitions)87 336 Q -F0 2.698(As)108 348 S .198 -(hell function is an object that is called lik)-2.698 F 2.698(eas)-.1 G -.198(imple command and e)-2.698 F -.15(xe)-.15 G .197 +F0 2.697(As)108 348 S .198 +(hell function is an object that is called lik)-2.697 F 2.698(eas)-.1 G +.198(imple command and e)-2.698 F -.15(xe)-.15 G .198 (cutes a compound command with).15 F 2.5(an)108 360 S .5 -.25(ew s)-2.5 H(et of positional parameters.).25 E (Shell functions are declared as follo)5 E(ws:)-.25 E F2(name)108 376.8 Q F0(\(\))2.5 E F2(compound\255command)2.5 E F0([)2.5 E F2 -.37(re)C (dir).37 E(ection)-.37 E F0(])A F1(function)108 388.8 Q F2(name)2.5 E F0 ([\(\)])2.5 E F2(compound\255command)2.5 E F0([)2.5 E F2 -.37(re)C(dir) -.37 E(ection)-.37 E F0(])A 1.402(This de\214nes a function named)144 +.37 E(ection)-.37 E F0(])A 1.403(This de\214nes a function named)144 400.8 R F2(name)3.902 E F0 6.402(.T)C 1.402(he reserv)-6.402 F 1.402 (ed w)-.15 F(ord)-.1 E F1(function)3.902 E F0 1.402(is optional.)3.902 F -1.403(If the)6.402 F F1(function)3.903 E F0(reserv)144 412.8 Q .162 +1.402(If the)6.402 F F1(function)3.902 E F0(reserv)144 412.8 Q .162 (ed w)-.15 F .162(ord is supplied, the parentheses are optional.)-.1 F (The)5.162 E F2(body)2.662 E F0 .162(of the function is the compound) 2.662 F(command)144 424.8 Q F2(compound\255command)2.784 E F0(\(see) @@ -1064,7851 +1085,8257 @@ Q F0(\(\))2.5 E F2(compound\255command)2.5 E F0([)2.5 E F2 -.37(re)C 2.584(\). That).15 F .084(command is usually a)2.584 F F2(list)144 436.8 Q F0 .044(of commands between { and }, b)2.544 F .044(ut may be an)-.2 F 2.544(yc)-.15 G .044(ommand listed under)-2.544 F F1 .044 -(Compound Commands)2.544 F F0(abo)144 448.8 Q -.15(ve)-.15 G(.).15 E F2 -(compound\255command)6.67 E F0 1.67(is e)4.17 F -.15(xe)-.15 G 1.671 -(cuted whene).15 F -.15(ve)-.25 G(r).15 E F2(name)4.171 E F0 1.671 -(is speci\214ed as the name of a simple)4.171 F 2.753(command. When)144 -460.8 R(in)2.753 E F2 .253(posix mode)2.753 F F0(,)A F2(name)2.753 E F0 -.253(may not be the name of one of the POSIX)2.753 F F2 .252(special b) -2.753 F(uiltins)-.2 E F0(.)A(An)144 472.8 Q 3.241(yr)-.15 G .741 -(edirections \(see)-3.241 F F3(REDIRECTION)3.241 E F0(belo)2.991 E .742 -(w\) speci\214ed when a function is de\214ned are performed)-.25 F .171 -(when the function is e)144 484.8 R -.15(xe)-.15 G 2.671(cuted. The).15 -F -.15(ex)2.671 G .17 -(it status of a function de\214nition is zero unless a syntax error).15 -F .704(occurs or a readonly function with the same name already e)144 -496.8 R 3.205(xists. When)-.15 F -.15(exe)3.205 G .705(cuted, the e).15 -F .705(xit status)-.15 F 1.822(of a function is the e)144 508.8 R 1.821 -(xit status of the last command e)-.15 F -.15(xe)-.15 G 1.821 -(cuted in the body).15 F 6.821(.\()-.65 G(See)-6.821 E F3(FUNCTIONS) -4.321 E F0(belo)144 520.8 Q -.65(w.)-.25 G(\)).65 E/F4 10.95 -/Times-Bold@0 SF(COMMENTS)72 537.6 Q F0 .982(In a non-interacti)108 -549.6 R 1.282 -.15(ve s)-.25 H .982(hell, or an interacti).15 F 1.282 --.15(ve s)-.25 H .982(hell in which the).15 F F1(interacti)3.482 E -.1 -(ve)-.1 G(_comments).1 E F0 .982(option to the)3.482 F F1(shopt)3.482 E -F0 -.2(bu)108 561.6 S .952(iltin is enabled \(see).2 F F3 .952(SHELL B) -3.452 F(UIL)-.09 E .952(TIN COMMANDS)-.828 F F0(belo)3.202 E .952 -(w\), a w)-.25 F .952(ord be)-.1 F .952(ginning with)-.15 F F1(#)3.451 E -F0 .951(causes that w)3.451 F(ord)-.1 E .604 -(and all remaining characters on that line to be ignored.)108 573.6 R +(Compound Commands)2.544 F F0(abo)144 448.8 Q -.15(ve)-.15 G 2.902(,w) +.15 G .402(ith one e)-2.902 F .402(xception: If the)-.15 F F1(function) +2.901 E F0(reserv)2.901 E .401(ed w)-.15 F .401(ord is used, b)-.1 F +.401(ut the parentheses are not sup-)-.2 F .047 +(plied, the braces are required.)144 460.8 R F2(compound\255command) +5.047 E F0 .047(is e)2.547 F -.15(xe)-.15 G .047(cuted whene).15 F -.15 +(ve)-.25 G(r).15 E F2(name)2.547 E F0 .047(is speci\214ed as the)2.547 F +1.68(name of a simple command.)144 472.8 R 1.68(When in)6.68 F F2 1.68 +(posix mode)4.18 F F0(,)A F2(name)4.179 E F0 1.679 +(may not be the name of one of the)4.179 F(POSIX)144 484.8 Q F2 .014 +(special b)2.513 F(uiltins)-.2 E F0 5.014(.A)C .314 -.15(ny r)-5.014 H +.014(edirections \(see).15 F F3(REDIRECTION)2.514 E F0(belo)2.264 E .014 +(w\) speci\214ed when a function is)-.25 F 1.12 +(de\214ned are performed when the function is e)144 496.8 R -.15(xe)-.15 +G 3.619(cuted. The).15 F -.15(ex)3.619 G 1.119 +(it status of a function de\214nition is).15 F .217(zero unless a synta\ +x error occurs or a readonly function with the same name already e)144 +508.8 R 2.717(xists. When)-.15 F -.15(exe)144 520.8 S .546(cuted, the e) +.15 F .546(xit status of a function is the e)-.15 F .545 +(xit status of the last command e)-.15 F -.15(xe)-.15 G .545 +(cuted in the body).15 F(.)-.65 E(\(See)144 532.8 Q F3(FUNCTIONS)2.5 E +F0(belo)2.25 E -.65(w.)-.25 G(\)).65 E/F4 10.95/Times-Bold@0 SF +(COMMENTS)72 549.6 Q F0 .982(In a non-interacti)108 561.6 R 1.282 -.15 +(ve s)-.25 H .982(hell, or an interacti).15 F 1.282 -.15(ve s)-.25 H +.982(hell in which the).15 F F1(interacti)3.482 E -.1(ve)-.1 G +(_comments).1 E F0 .982(option to the)3.482 F F1(shopt)3.482 E F0 -.2 +(bu)108 573.6 S .952(iltin is enabled \(see).2 F F3 .952(SHELL B)3.452 F +(UIL)-.09 E .952(TIN COMMANDS)-.828 F F0(belo)3.202 E .952(w\), a w)-.25 +F .952(ord be)-.1 F .952(ginning with)-.15 F F1(#)3.451 E F0 .951 +(causes that w)3.451 F(ord)-.1 E .604 +(and all remaining characters on that line to be ignored.)108 585.6 R .605(An interacti)5.605 F .905 -.15(ve s)-.25 H .605(hell without the) -.15 F F1(interacti)3.105 E -.1(ve)-.1 G(_com-).1 E(ments)108 585.6 Q F0 +.15 F F1(interacti)3.105 E -.1(ve)-.1 G(_com-).1 E(ments)108 597.6 Q F0 1.337(option enabled does not allo)3.837 F 3.837(wc)-.25 G 3.836 (omments. The)-3.837 F F1(interacti)3.836 E -.1(ve)-.1 G(_comments).1 E F0 1.336(option is on by def)3.836 F 1.336(ault in)-.1 F(interacti)108 -597.6 Q .3 -.15(ve s)-.25 H(hells.).15 E F4 -.11(QU)72 614.4 S -.438(OT) -.11 G(ING).438 E F2(Quoting)108 626.4 Q F0 .477(is used to remo)2.977 F +609.6 Q .3 -.15(ve s)-.25 H(hells.).15 E F4 -.11(QU)72 626.4 S -.438(OT) +.11 G(ING).438 E F2(Quoting)108 638.4 Q F0 .477(is used to remo)2.977 F .777 -.15(ve t)-.15 H .477 (he special meaning of certain characters or w).15 F .477 (ords to the shell.)-.1 F .478(Quoting can be)5.478 F .185 (used to disable special treatment for special characters, to pre)108 -638.4 R -.15(ve)-.25 G .185(nt reserv).15 F .184(ed w)-.15 F .184 -(ords from being recognized as)-.1 F(such, and to pre)108 650.4 Q -.15 +650.4 R -.15(ve)-.25 G .185(nt reserv).15 F .184(ed w)-.15 F .184 +(ords from being recognized as)-.1 F(such, and to pre)108 662.4 Q -.15 (ve)-.25 G(nt parameter e).15 E(xpansion.)-.15 E .288(Each of the)108 -667.2 R F2(metac)2.788 E(har)-.15 E(acter)-.15 E(s)-.1 E F0 .288 +679.2 R F2(metac)2.788 E(har)-.15 E(acter)-.15 E(s)-.1 E F0 .288 (listed abo)2.788 F .588 -.15(ve u)-.15 H(nder).15 E F3(DEFINITIONS) 2.788 E F0 .288(has special meaning to the shell and must be)2.538 F -(quoted if it is to represent itself.)108 679.2 Q 1.345 -(When the command history e)108 696 R 1.344(xpansion f)-.15 F 1.344 +(quoted if it is to represent itself.)108 691.2 Q 1.345 +(When the command history e)108 708 R 1.344(xpansion f)-.15 F 1.344 (acilities are being used \(see)-.1 F F3(HIST)3.844 E(OR)-.162 E 3.594 (YE)-.315 G(XP)-3.594 E(ANSION)-.666 E F0(belo)3.594 E 1.344(w\), the) --.25 F F2(history e)108 708 Q(xpansion)-.2 E F0(character)2.5 E 2.5(,u) +-.25 F F2(history e)108 720 Q(xpansion)-.2 E F0(character)2.5 E 2.5(,u) -.4 G(sually)-2.5 E F1(!)2.5 E F0 2.5(,m)C(ust be quoted to pre)-2.5 E --.15(ve)-.25 G(nt history e).15 E(xpansion.)-.15 E -(There are three quoting mechanisms: the)108 724.8 Q F2(escape c)2.5 E -(har)-.15 E(acter)-.15 E F0 2.5(,s).73 G -(ingle quotes, and double quotes.)-2.5 E(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(7)195.95 E 0 Cg EP +-.15(ve)-.25 G(nt history e).15 E(xpansion.)-.15 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(7)197.055 E 0 Cg EP %%Page: 8 8 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E 2.974(An)108 84 S .474(on-quoted backslash \()-2.974 F/F1 10 -/Times-Bold@0 SF(\\)A F0 2.974(\)i)C 2.974(st)-2.974 G(he)-2.974 E/F2 10 -/Times-Italic@0 SF .474(escape c)2.974 F(har)-.15 E(acter)-.15 E F0 -5.474(.I).73 G 2.974(tp)-5.474 G(reserv)-2.974 E .474(es the literal v) --.15 F .474(alue of the ne)-.25 F .475(xt character that)-.15 F(follo) -108 96 Q 1.554(ws, with the e)-.25 F 1.553(xception of . If)-.25 F(a)4.053 E F1(\\)4.053 E F0(. If)-.25 F(a)4.053 E F2(\\) +4.053 E F0( pair appears, and the backslash is not itself)-.25 F 1.122 -(quoted, the)108 108 R F1(\\)3.622 E F0( is treated as a line continuation \(that is, it is remo)-.25 F -.15(ve)-.15 G 3.622(df).15 G 1.123(rom the input stream and)-3.622 F -(ef)108 120 Q(fecti)-.25 E -.15(ve)-.25 G(ly ignored\).).15 E .295 -(Enclosing characters in single quotes preserv)108 136.8 R .295 +(ef)108 136.8 Q(fecti)-.25 E -.15(ve)-.25 G(ly ignored\).).15 E .295 +(Enclosing characters in single quotes preserv)108 153.6 R .295 (es the literal v)-.15 F .295(alue of each character within the quotes.) -.25 F 2.795(As)5.295 G(in-)-2.795 E -(gle quote may not occur between single quotes, e)108 148.8 Q -.15(ve) +(gle quote may not occur between single quotes, e)108 165.6 Q -.15(ve) -.25 G 2.5(nw).15 G(hen preceded by a backslash.)-2.5 E .033 -(Enclosing characters in double quotes preserv)108 165.6 R .034 +(Enclosing characters in double quotes preserv)108 182.4 R .034 (es the literal v)-.15 F .034 (alue of all characters within the quotes, with the)-.25 F -.15(ex)108 -177.6 S .828(ception of).15 F F1($)3.328 E F0(,)A F1<92>3.328 E F0(,)A -F1(\\)3.328 E F0 3.328(,a)C .828(nd, when history e)-3.328 F .828 -(xpansion is enabled,)-.15 F F1(!)3.328 E F0 5.828(.T)C .828 -(he characters)-5.828 F F1($)3.328 E F0(and)3.328 E F1<92>3.328 E F0 -.827(retain their special)3.328 F .074(meaning within double quotes.)108 -189.6 R .074(The backslash retains its special meaning only when follo) -5.074 F .075(wed by one of the)-.25 F(follo)108 201.6 Q .205 -(wing characters:)-.25 F F1($)2.705 E F0(,)A F1<92>2.705 E F0(,)A F1(") -3.538 E F0(,).833 E F1(\\)2.705 E F0 2.705(,o)C(r)-2.705 E F1() -2.705 E F0 5.205(.A)C .204 -(double quote may be quoted within double quotes by pre-)-2.5 F .081 -(ceding it with a backslash.)108 213.6 R .082(If enabled, history e) -5.082 F .082(xpansion will be performed unless an)-.15 F F1(!)2.582 E F0 -.082(appearing in double)5.082 F(quotes is escaped using a backslash.) -108 225.6 Q(The backslash preceding the)5 E F1(!)2.5 E F0(is not remo)5 -E -.15(ve)-.15 G(d.).15 E(The special parameters)108 242.4 Q F1(*)2.5 E -F0(and)2.5 E F1(@)2.5 E F0(ha)2.5 E .3 -.15(ve s)-.2 H +194.4 S .108(ception of).15 F F2($)2.608 E F0(,)A F2<92>2.608 E F0(,)A +F2(\\)2.608 E F0 2.608(,a)C .107(nd, when history e)-2.608 F .107 +(xpansion is enabled,)-.15 F F2(!)2.607 E F0 5.107(.W)C .107 +(hen the shell is in)-5.107 F F1 .107(posix mode)2.607 F F0 2.607(,t)C +(he)-2.607 E F2(!)2.607 E F0 .107(has no)2.607 F 1.397 +(special meaning within double quotes, e)108 206.4 R -.15(ve)-.25 G +3.897(nw).15 G 1.397(hen history e)-3.897 F 1.397(xpansion is enabled.) +-.15 F 1.398(The characters)6.398 F F2($)3.898 E F0(and)3.898 E F2<92> +3.898 E F0 .045(retain their special meaning within double quotes.)108 +218.4 R .044(The backslash retains its special meaning only when fol-) +5.045 F(lo)108 230.4 Q .601(wed by one of the follo)-.25 F .602 +(wing characters:)-.25 F F2($)3.102 E F0(,)A F2<92>3.102 E F0(,)A F2(") +3.935 E F0(,).833 E F2(\\)3.102 E F0 3.102(,o)C(r)-3.102 E F2() +3.102 E F0 5.602(.A)C .602(double quote may be quoted within)-2.5 F .131 +(double quotes by preceding it with a backslash.)108 242.4 R .131 +(If enabled, history e)5.131 F .13(xpansion will be performed unless an) +-.15 F F2(!)2.63 E F0 +(appearing in double quotes is escaped using a backslash.)108 254.4 Q +(The backslash preceding the)5 E F2(!)2.5 E F0(is not remo)5 E -.15(ve) +-.15 G(d.).15 E(The special parameters)108 271.2 Q F2(*)2.5 E F0(and)2.5 +E F2(@)2.5 E F0(ha)2.5 E .3 -.15(ve s)-.2 H (pecial meaning when in double quotes \(see).15 E/F3 9/Times-Bold@0 SF --.666(PA)2.5 G(RAMETERS).666 E F0(belo)2.25 E(w\).)-.25 E -.8(Wo)108 -259.2 S .212(rds of the form).8 F F1($)2.712 E F0<08>A F2(string)A F0 -2.712<0861>C .211(re treated specially)-2.712 F 5.211(.T)-.65 G .211 -(he w)-5.211 F .211(ord e)-.1 F .211(xpands to)-.15 F F2(string)2.711 E -F0 2.711(,w)C .211(ith backslash-escaped char)-2.711 F(-)-.2 E .604 -(acters replaced as speci\214ed by the ANSI C standard.)108 271.2 R .605 +-.666(PA)2.5 G(RAMETERS).666 E F0(belo)2.25 E(w\).)-.25 E -.8(Wo)108 288 +S .211(rds of the form).8 F F2($)2.711 E F0<08>A F1(string)A F0 2.711 +<0861>C .211(re treated specially)-2.711 F 5.211(.T)-.65 G .211(he w) +-5.211 F .211(ord e)-.1 F .212(xpands to)-.15 F F1(string)2.712 E F0 +2.712(,w)C .212(ith backslash-escaped char)-2.712 F(-)-.2 E .605 +(acters replaced as speci\214ed by the ANSI C standard.)108 300 R .604 (Backslash escape sequences, if present, are decoded)5.605 F(as follo) -108 283.2 Q(ws:)-.25 E F1(\\a)144 295.2 Q F0(alert \(bell\))28.22 E F1 -(\\b)144 307.2 Q F0(backspace)27.66 E F1(\\e)144 319.2 Q(\\E)144 331.2 Q -F0(an escape character)26.55 E F1(\\f)144 343.2 Q F0(form feed)29.89 E -F1(\\n)144 355.2 Q F0(ne)27.66 E 2.5(wl)-.25 G(ine)-2.5 E F1(\\r)144 -367.2 Q F0(carriage return)28.78 E F1(\\t)144 379.2 Q F0(horizontal tab) -29.89 E F1(\\v)144 391.2 Q F0 -.15(ve)28.22 G(rtical tab).15 E F1(\\\\) -144 403.2 Q F0(backslash)30.44 E F1<5c08>144 415.2 Q F0(single quote) -30.44 E F1(\\")144 427.2 Q F0(double quote)27.67 E F1(\\)144 439.2 Q F2 -(nnn)A F0(the eight-bit character whose v)18.22 E(alue is the octal v) --.25 E(alue)-.25 E F2(nnn)2.5 E F0(\(one to three digits\))2.5 E F1(\\x) -144 451.2 Q F2(HH)A F0(the eight-bit character whose v)13.78 E -(alue is the he)-.25 E(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0 -(\(one or tw)2.5 E 2.5(oh)-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1 -(\\u)144 463.2 Q F2(HHHH)A F0 1.507 -(the Unicode \(ISO/IEC 10646\) character whose v)180 475.2 R 1.506 -(alue is the he)-.25 F 1.506(xadecimal v)-.15 F(alue)-.25 E F2(HHHH) -4.006 E F0(\(one to four he)180 487.2 Q 2.5(xd)-.15 G(igits\))-2.5 E F1 -(\\U)144 499.2 Q F2(HHHHHHHH)A F0 .547 -(the Unicode \(ISO/IEC 10646\) character whose v)180 511.2 R .547 -(alue is the he)-.25 F .548(xadecimal v)-.15 F(alue)-.25 E F2(HHHHH-) -3.048 E(HHH)180 523.2 Q F0(\(one to eight he)2.5 E 2.5(xd)-.15 G -(igits\))-2.5 E F1(\\c)144 535.2 Q F2(x)A F0 2.5(ac)24.34 G(ontrol-)-2.5 -E F2(x)A F0(character)2.5 E(The e)108 552 Q(xpanded result is single-qu\ -oted, as if the dollar sign had not been present.)-.15 E 2.64(Ad)108 -568.8 S .14(ouble-quoted string preceded by a dollar sign \()-2.64 F F1 -($)A F0(")A F2(string)A F0 .14 -("\) will cause the string to be translated according)B .495 -(to the current locale.)108 580.8 R .495(If the current locale is)5.495 -F F1(C)2.995 E F0(or)2.995 E F1(POSIX)2.995 E F0 2.995(,t)C .495 -(he dollar sign is ignored.)-2.995 F .496(If the string is trans-)5.496 -F(lated and replaced, the replacement is double-quoted.)108 592.8 Q/F4 -10.95/Times-Bold@0 SF -.81(PA)72 609.6 S(RAMETERS).81 E F0(A)108 621.6 Q -F2(par)4.593 E(ameter)-.15 E F0 .843(is an entity that stores v)4.073 F -3.343(alues. It)-.25 F .843(can be a)3.343 F F2(name)3.342 E F0 3.342 -(,an).18 G(umber)-3.342 E 3.342(,o)-.4 G 3.342(ro)-3.342 G .842 -(ne of the special characters)-3.342 F .822(listed belo)108 633.6 R -3.323(wu)-.25 G(nder)-3.323 E F1 .823(Special P)3.323 F(arameters)-.1 E -F0 5.823(.A)C F2(variable)-2.21 E F0 .823(is a parameter denoted by a) -3.503 F F2(name)3.323 E F0 5.823(.A).18 G -.25(va)-2.5 G .823 -(riable has a).25 F F2(value)108 645.6 Q F0 .369(and zero or more)2.869 -F F2(attrib)2.869 E(utes)-.2 E F0 5.369(.A)C(ttrib)-5.369 E .369 -(utes are assigned using the)-.2 F F1(declar)2.868 E(e)-.18 E F0 -.2(bu) -2.868 G .368(iltin command \(see).2 F F1(declar)2.868 E(e)-.18 E F0 -(belo)108 657.6 Q 2.5(wi)-.25 G(n)-2.5 E F3(SHELL B)2.5 E(UIL)-.09 E -(TIN COMMANDS)-.828 E/F5 9/Times-Roman@0 SF(\).)A F0 2.754(Ap)108 674.4 -S .254(arameter is set if it has been assigned a v)-2.754 F 2.754 -(alue. The)-.25 F .254(null string is a v)2.754 F .255(alid v)-.25 F -2.755(alue. Once)-.25 F 2.755(av)2.755 G .255(ariable is set, it)-3.005 -F(may be unset only by using the)108 686.4 Q F1(unset)2.5 E F0 -.2(bu) +108 312 Q(ws:)-.25 E F2(\\a)144 324 Q F0(alert \(bell\))180 324 Q F2 +(\\b)144 336 Q F0(backspace)180 336 Q F2(\\e)144 348 Q(\\E)144 360 Q F0 +(an escape character)180 360 Q F2(\\f)144 372 Q F0(form feed)180 372 Q +F2(\\n)144 384 Q F0(ne)180 384 Q 2.5(wl)-.25 G(ine)-2.5 E F2(\\r)144 396 +Q F0(carriage return)180 396 Q F2(\\t)144 408 Q F0(horizontal tab)180 +408 Q F2(\\v)144 420 Q F0 -.15(ve)180 420 S(rtical tab).15 E F2(\\\\)144 +432 Q F0(backslash)180 432 Q F2<5c08>144 444 Q F0(single quote)180 444 Q +F2(\\")144 456 Q F0(double quote)180 456 Q F2(\\?)144 468 Q F0 +(question mark)180 468 Q F2(\\)144 480 Q F1(nnn)A F0 +(the eight-bit character whose v)180 480 Q(alue is the octal v)-.25 E +(alue)-.25 E F1(nnn)2.5 E F0(\(one to three digits\))2.5 E F2(\\x)144 +492 Q F1(HH)A F0(the eight-bit character whose v)180 492 Q +(alue is the he)-.25 E(xadecimal v)-.15 E(alue)-.25 E F1(HH)2.5 E F0 +(\(one or tw)2.5 E 2.5(oh)-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F2 +(\\u)144 504 Q F1(HHHH)A F0 1.506 +(the Unicode \(ISO/IEC 10646\) character whose v)180 516 R 1.507 +(alue is the he)-.25 F 1.507(xadecimal v)-.15 F(alue)-.25 E F1(HHHH) +4.007 E F0(\(one to four he)180 528 Q 2.5(xd)-.15 G(igits\))-2.5 E F2 +(\\U)144 540 Q F1(HHHHHHHH)A F0 .548 +(the Unicode \(ISO/IEC 10646\) character whose v)180 552 R .547 +(alue is the he)-.25 F .547(xadecimal v)-.15 F(alue)-.25 E F1(HHHHH-) +3.047 E(HHH)180 564 Q F0(\(one to eight he)2.5 E 2.5(xd)-.15 G(igits\)) +-2.5 E F2(\\c)144 576 Q F1(x)A F0 2.5(ac)180 576 S(ontrol-)-2.5 E F1(x)A +F0(character)2.5 E(The e)108 592.8 Q(xpanded result is single-quoted, a\ +s if the dollar sign had not been present.)-.15 E 2.64(Ad)108 609.6 S +.14(ouble-quoted string preceded by a dollar sign \()-2.64 F F2($)A F0 +(")A F1(string)A F0 .14 +("\) will cause the string to be translated according)B .496 +(to the current locale.)108 621.6 R .495(If the current locale is)5.496 +F F2(C)2.995 E F0(or)2.995 E F2(POSIX)2.995 E F0 2.995(,t)C .495 +(he dollar sign is ignored.)-2.995 F .495(If the string is trans-)5.495 +F(lated and replaced, the replacement is double-quoted.)108 633.6 Q/F4 +10.95/Times-Bold@0 SF -.81(PA)72 650.4 S(RAMETERS).81 E F0(A)108 662.4 Q +F1(par)4.592 E(ameter)-.15 E F0 .842(is an entity that stores v)4.072 F +3.342(alues. It)-.25 F .842(can be a)3.342 F F1(name)3.343 E F0 3.343 +(,an).18 G(umber)-3.343 E 3.343(,o)-.4 G 3.343(ro)-3.343 G .843 +(ne of the special characters)-3.343 F .823(listed belo)108 674.4 R +3.323(wu)-.25 G(nder)-3.323 E F2 .823(Special P)3.323 F(arameters)-.1 E +F0 5.823(.A)C F1(variable)-2.21 E F0 .823(is a parameter denoted by a) +3.503 F F1(name)3.323 E F0 5.823(.A).18 G -.25(va)-2.5 G .823 +(riable has a).25 F F1(value)108 686.4 Q F0 .368(and zero or more)2.868 +F F1(attrib)2.868 E(utes)-.2 E F0 5.369(.A)C(ttrib)-5.369 E .369 +(utes are assigned using the)-.2 F F2(declar)2.869 E(e)-.18 E F0 -.2(bu) +2.869 G .369(iltin command \(see).2 F F2(declar)2.869 E(e)-.18 E F0 +(belo)108 698.4 Q 2.5(wi)-.25 G(n)-2.5 E F3(SHELL B)2.5 E(UIL)-.09 E +(TIN COMMANDS)-.828 E/F5 9/Times-Roman@0 SF(\).)A F0 2.755(Ap)108 715.2 +S .255(arameter is set if it has been assigned a v)-2.755 F 2.754 +(alue. The)-.25 F .254(null string is a v)2.754 F .254(alid v)-.25 F +2.754(alue. Once)-.25 F 2.754(av)2.754 G .254(ariable is set, it)-3.004 +F(may be unset only by using the)108 727.2 Q F2(unset)2.5 E F0 -.2(bu) 2.5 G(iltin command \(see).2 E F3(SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS) --.828 E F0(belo)2.25 E(w\).)-.25 E(A)108 703.2 Q F2(variable)2.79 E F0 -(may be assigned to by a statement of the form)2.68 E F2(name)144 720 Q -F0(=[)A F2(value)A F0(])A(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E -(8)195.95 E 0 Cg EP +-.828 E F0(belo)2.25 E(w\).)-.25 E(GNU Bash 4.4)72 768 Q(2016 August 26) +142.895 E(8)197.055 E 0 Cg EP %%Page: 9 9 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(If)108 84 Q/F1 10/Times-Italic@0 SF(value)3.023 E F0 .233 -(is not gi)2.913 F -.15(ve)-.25 G .233(n, the v).15 F .232 -(ariable is assigned the null string.)-.25 F(All)5.232 E F1(values)3.022 -E F0(under)3.002 E .232(go tilde e)-.18 F .232(xpansion, parameter)-.15 -F .515(and v)108 96 R .515(ariable e)-.25 F .515 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(A)108 84 Q/F1 10 +/Times-Italic@0 SF(variable)2.79 E F0 +(may be assigned to by a statement of the form)2.68 E F1(name)144 100.8 +Q F0(=[)A F1(value)A F0(])A(If)108 117.6 Q F1(value)3.022 E F0 .232 +(is not gi)2.912 F -.15(ve)-.25 G .232(n, the v).15 F .232 +(ariable is assigned the null string.)-.25 F(All)5.233 E F1(values)3.023 +E F0(under)3.003 E .233(go tilde e)-.18 F .233(xpansion, parameter)-.15 +F .515(and v)108 129.6 R .515(ariable e)-.25 F .515 (xpansion, command substitution, arithmetic e)-.15 F .515 (xpansion, and quote remo)-.15 F -.25(va)-.15 G 3.015(l\().25 G(see) --3.015 E/F2 9/Times-Bold@0 SF(EXP)3.015 E(ANSION)-.666 E F0(belo)108 108 -Q 2.699(w\). If)-.25 F .199(the v)2.699 F .199(ariable has its)-.25 F/F3 -10/Times-Bold@0 SF(integer)2.698 E F0(attrib)2.698 E .198(ute set, then) --.2 F F1(value)2.988 E F0 .198(is e)2.878 F -.25(va)-.25 G .198 -(luated as an arithmetic e).25 F .198(xpression e)-.15 F -.15(ve)-.25 G -(n).15 E .901(if the $\(\(...\)\) e)108 120 R .901 +-3.015 E/F2 9/Times-Bold@0 SF(EXP)3.015 E(ANSION)-.666 E F0(belo)108 +141.6 Q 2.698(w\). If)-.25 F .198(the v)2.698 F .198(ariable has its) +-.25 F/F3 10/Times-Bold@0 SF(integer)2.698 E F0(attrib)2.698 E .198 +(ute set, then)-.2 F F1(value)2.988 E F0 .198(is e)2.878 F -.25(va)-.25 +G .199(luated as an arithmetic e).25 F .199(xpression e)-.15 F -.15(ve) +-.25 G(n).15 E .902(if the $\(\(...\)\) e)108 153.6 R .902 (xpansion is not used \(see)-.15 F F3 .901(Arithmetic Expansion)3.401 F -F0(belo)3.401 E 3.402(w\). W)-.25 F .902 -(ord splitting is not performed,)-.8 F 1.179(with the e)108 132 R 1.179 -(xception of)-.15 F F3("$@")3.679 E F0 1.179(as e)3.679 F 1.179 -(xplained belo)-.15 F 3.679(wu)-.25 G(nder)-3.679 E F3 1.178(Special P) -3.678 F(arameters)-.1 E F0 6.178(.P)C 1.178(athname e)-6.328 F 1.178 -(xpansion is not)-.15 F 3.648(performed. Assignment)108 144 R 1.148 -(statements may also appear as ar)3.648 F 1.149(guments to the)-.18 F F3 -(alias)3.649 E F0(,)A F3(declar)3.649 E(e)-.18 E F0(,)A F3(typeset)3.649 -E F0(,)A F3(export)3.649 E F0(,)A F3 -.18(re)108 156 S(adonly).18 E F0 -2.63(,a)C(nd)-2.63 E F3(local)2.63 E F0 -.2(bu)2.63 G .13 -(iltin commands.).2 F .13(When in)5.13 F F1 .129(posix mode)2.629 F F0 -2.629(,t)C .129(hese b)-2.629 F .129 -(uiltins may appear in a command after)-.2 F -(one or more instances of the)108 168 Q F3(command)2.5 E F0 -.2(bu)2.5 G -(iltin and retain these assignment statement properties.).2 E .376 -(In the conte)108 184.8 R .376 +F0(belo)3.401 E 3.401(w\). W)-.25 F .901 +(ord splitting is not performed,)-.8 F 1.178(with the e)108 165.6 R +1.178(xception of)-.15 F F3("$@")3.678 E F0 1.178(as e)3.678 F 1.179 +(xplained belo)-.15 F 3.679(wu)-.25 G(nder)-3.679 E F3 1.179(Special P) +3.679 F(arameters)-.1 E F0 6.179(.P)C 1.179(athname e)-6.329 F 1.179 +(xpansion is not)-.15 F 3.649(performed. Assignment)108 177.6 R 1.149 +(statements may also appear as ar)3.649 F 1.148(guments to the)-.18 F F3 +(alias)3.648 E F0(,)A F3(declar)3.648 E(e)-.18 E F0(,)A F3(typeset)3.648 +E F0(,)A F3(export)3.648 E F0(,)A F3 -.18(re)108 189.6 S(adonly).18 E F0 +3.288(,a)C(nd)-3.288 E F3(local)3.288 E F0 -.2(bu)3.288 G .788 +(iltin commands \().2 F F1(declar)A(ation)-.15 E F0 3.288 +(commands\). When)3.288 F(in)3.289 E F1 .789(posix mode)3.289 F F0 3.289 +(,t)C .789(hese b)-3.289 F .789(uiltins may)-.2 F 1.496 +(appear in a command after one or more instances of the)108 201.6 R F3 +(command)3.996 E F0 -.2(bu)3.996 G 1.496 +(iltin and retain these assignment).2 F(statement properties.)108 213.6 +Q .376(In the conte)108 230.4 R .376 (xt where an assignment statement is assigning a v)-.15 F .376 (alue to a shell v)-.25 F .377(ariable or array inde)-.25 F .377 -(x, the +=)-.15 F .257 -(operator can be used to append to or add to the v)108 196.8 R(ariable') --.25 E 2.757(sp)-.55 G(re)-2.757 E .257(vious v)-.25 F 2.757(alue. When) --.25 F .257(+= is applied to a v)2.757 F(ariable)-.25 E .36 -(for which the)108 208.8 R F1(inte)2.86 E -.1(ge)-.4 G(r).1 E F0(attrib) -2.86 E .36(ute has been set,)-.2 F F1(value)2.86 E F0 .361(is e)2.861 F --.25(va)-.25 G .361(luated as an arithmetic e).25 F .361 -(xpression and added to the)-.15 F -.25(va)108 220.8 S(riable').25 E -2.889(sc)-.55 G .389(urrent v)-2.889 F .389(alue, which is also e)-.25 F --.25(va)-.25 G 2.889(luated. When).25 F .389 -(+= is applied to an array v)2.889 F .388(ariable using compound)-.25 F -.185(assignment \(see)108 232.8 R F3(Arrays)2.685 E F0(belo)2.685 E .185 -(w\), the v)-.25 F(ariable')-.25 E 2.685(sv)-.55 G .185 -(alue is not unset \(as it is when using =\), and ne)-2.935 F 2.686(wv) --.25 G .186(alues are)-2.936 F 1.385(appended to the array be)108 244.8 -R 1.384(ginning at one greater than the array')-.15 F 3.884(sm)-.55 G -1.384(aximum inde)-3.884 F 3.884(x\()-.15 G 1.384(for inde)-3.884 F -.15 -(xe)-.15 G 3.884(da).15 G 1.384(rrays\) or)-3.884 F .122 -(added as additional k)108 256.8 R -.15(ey)-.1 G.15 E .122 -(alue pairs in an associati)-.25 F .423 -.15(ve a)-.25 H(rray).15 E -5.123(.W)-.65 G .123(hen applied to a string-v)-5.123 F .123(alued v) --.25 F(ariable,)-.25 E F1(value)2.623 E F0(is e)108 268.8 Q +(x, the +=)-.15 F 1.631 +(operator can be used to append to or add to the v)108 242.4 R(ariable') +-.25 E 4.13(sp)-.55 G(re)-4.13 E 1.63(vious v)-.25 F 4.13(alue. This) +-.25 F 1.63(includes ar)4.13 F 1.63(guments to)-.18 F -.2(bu)108 254.4 S +.163(iltin commands such as).2 F F3(declar)2.664 E(e)-.18 E F0 .164 +(that accept assignment statements \()2.664 F F1(declar)A(ation)-.15 E +F0 2.664(commands\). When)2.664 F .164(+= is)2.664 F .252 +(applied to a v)108 266.4 R .252(ariable for which the)-.25 F F1(inte) +2.752 E -.1(ge)-.4 G(r).1 E F0(attrib)2.752 E .252(ute has been set,)-.2 +F F1(value)2.752 E F0 .251(is e)2.751 F -.25(va)-.25 G .251 +(luated as an arithmetic e).25 F(xpres-)-.15 E .05 +(sion and added to the v)108 278.4 R(ariable')-.25 E 2.55(sc)-.55 G .05 +(urrent v)-2.55 F .05(alue, which is also e)-.25 F -.25(va)-.25 G 2.55 +(luated. When).25 F .05(+= is applied to an array v)2.55 F(ari-)-.25 E +.459(able using compound assignment \(see)108 290.4 R F3(Arrays)2.959 E +F0(belo)2.959 E .459(w\), the v)-.25 F(ariable')-.25 E 2.959(sv)-.55 G +.459(alue is not unset \(as it is when using)-3.209 F .265(=\), and ne) +108 302.4 R 2.765(wv)-.25 G .265(alues are appended to the array be) +-3.015 F .265(ginning at one greater than the array')-.15 F 2.765(sm) +-.55 G .265(aximum inde)-2.765 F 2.765(x\()-.15 G(for)-2.765 E(inde)108 +314.4 Q -.15(xe)-.15 G 3.402(da).15 G .902 +(rrays\) or added as additional k)-3.402 F -.15(ey)-.1 G.15 E .901 +(alue pairs in an associati)-.25 F 1.201 -.15(ve a)-.25 H(rray).15 E +5.901(.W)-.65 G .901(hen applied to a string-)-5.901 F -.25(va)108 326.4 +S(lued v).25 E(ariable,)-.25 E F1(value)2.5 E F0(is e)2.5 E (xpanded and appended to the v)-.15 E(ariable')-.25 E 2.5(sv)-.55 G -(alue.)-2.75 E 3.383(Av)108 285.6 S .883(ariable can be assigned the) --3.633 F F1(namer)3.382 E(ef)-.37 E F0(attrib)3.382 E .882 +(alue.)-2.75 E 3.382(Av)108 343.2 S .882(ariable can be assigned the) +-3.632 F F1(namer)3.382 E(ef)-.37 E F0(attrib)3.382 E .882 (ute using the)-.2 F F33.382 E F0 .882(option to the)3.382 F F3 -(declar)3.382 E(e)-.18 E F0(or)3.382 E F3(local)3.382 E F0 -.2(bu)3.382 -G .882(iltin com-).2 F .315(mands \(see the descriptions of)108 297.6 R -F3(declar)2.815 E(e)-.18 E F0(and)2.815 E F3(local)2.815 E F0(belo)2.815 -E .316(w\) to create a)-.25 F F1(namer)2.816 E(ef)-.37 E F0 2.816(,o)C -2.816(rar)-2.816 G .316(eference to another v)-2.816 F(ari-)-.25 E 3.335 -(able. This)108 309.6 R(allo)3.335 E .835(ws v)-.25 F .835 -(ariables to be manipulated indirectly)-.25 F 5.835(.W)-.65 G(hene) --5.835 E -.15(ve)-.25 G 3.335(rt).15 G .835(he nameref v)-3.335 F .835 -(ariable is referenced or)-.25 F .021 -(assigned to, the operation is actually performed on the v)108 321.6 R -.021(ariable speci\214ed by the nameref v)-.25 F(ariable')-.25 E 2.522 -(sv)-.55 G 2.522(alue. A)-2.772 F .819 -(nameref is commonly used within shell functions to refer to a v)108 -333.6 R .818(ariable whose name is passed as an ar)-.25 F(gu-)-.18 E -.131(ment to the function.)108 345.6 R -.15(Fo)5.131 G 2.631(ri).15 G -.131(nstance, if a v)-2.631 F .132 -(ariable name is passed to a shell function as its \214rst ar)-.25 F -.132(gument, run-)-.18 F(ning)108 357.6 Q/F4 10/Courier@0 SF -(declare -n ref=$1)144 375.6 Q F0 .303 -(inside the function creates a nameref v)108 393.6 R(ariable)-.25 E F3 --.18(re)2.803 G(f).18 E F0 .303(whose v)2.803 F .303(alue is the v)-.25 -F .302(ariable name passed as the \214rst ar)-.25 F(gu-)-.18 E 3.318 -(ment. References)108 405.6 R .818(and assignments to)3.318 F F3 -.18 -(re)3.318 G(f).18 E F0 .818 -(are treated as references and assignments to the v)3.318 F .818 -(ariable whose)-.25 F .275(name w)108 417.6 R .275(as passed as)-.1 F F3 -($1)2.775 E F0 5.275(.I)C 2.775(ft)-5.275 G .275(he control v)-2.775 F -.275(ariable in a)-.25 F F3 -.25(fo)2.775 G(r).25 E F0 .275 -(loop has the nameref attrib)2.775 F .274(ute, the list of w)-.2 F .274 -(ords can)-.1 F .354(be a list of shell v)108 429.6 R .354 -(ariables, and a name reference will be established for each w)-.25 F -.355(ord in the list, in turn, when)-.1 F .086(the loop is e)108 441.6 R --.15(xe)-.15 G 2.586(cuted. Array).15 F -.25(va)2.586 G .086 -(riables cannot be gi).25 F -.15(ve)-.25 G 2.586(nt).15 G(he)-2.586 E F3 -2.586 E F0(attrib)2.585 E 2.585(ute. Ho)-.2 F(we)-.25 E -.15(ve) --.25 G .885 -.4(r, n).15 H .085(ameref v).4 F .085(ariables can ref-) --.25 F .883(erence array v)108 453.6 R .883 -(ariables and subscripted array v)-.25 F 3.383(ariables. Namerefs)-.25 F -.883(can be unset using the)3.383 F F33.383 E F0 .884 -(option to the)3.383 F F3(unset)108 465.6 Q F0 -.2(bu)2.558 G 2.558 -(iltin. Otherwise,).2 F(if)2.558 E F3(unset)2.558 E F0 .058(is e)2.558 F --.15(xe)-.15 G .058(cuted with the name of a nameref v).15 F .057 -(ariable as an ar)-.25 F .057(gument, the v)-.18 F(ari-)-.25 E -(able referenced by the nameref v)108 477.6 Q(ariable will be unset.) --.25 E F3 -.2(Po)87 494.4 S(sitional P).2 E(arameters)-.1 E F0(A)108 -506.4 Q F1 .705(positional par)4.455 F(ameter)-.15 E F0 .706(is a param\ -eter denoted by one or more digits, other than the single digit 0.)3.935 -F(Posi-)5.706 E .445(tional parameters are assigned from the shell')108 -518.4 R 2.944(sa)-.55 G -.18(rg)-2.944 G .444(uments when it is in).18 F --.2(vo)-.4 G -.1(ke).2 G .444(d, and may be reassigned using).1 F(the) -108 530.4 Q F3(set)3.333 E F0 -.2(bu)3.333 G .833(iltin command.).2 F -.834(Positional parameters may not be assigned to with assignment state\ -ments.)5.833 F(The)5.834 E .334(positional parameters are temporarily r\ -eplaced when a shell function is e)108 542.4 R -.15(xe)-.15 G .333 -(cuted \(see).15 F F2(FUNCTIONS)2.833 E F0(belo)2.583 E(w\).)-.25 E -1.403(When a positional parameter consisting of more than a single digi\ -t is e)108 559.2 R 1.404(xpanded, it must be enclosed in)-.15 F -(braces \(see)108 571.2 Q F2(EXP)2.5 E(ANSION)-.666 E F0(belo)2.25 E -(w\).)-.25 E F3(Special P)87 588 Q(arameters)-.1 E F0 1.675 -(The shell treats se)108 600 R -.15(ve)-.25 G 1.675 -(ral parameters specially).15 F 6.675(.T)-.65 G 1.674 +(declar)3.382 E(e)-.18 E F0(or)3.383 E F3(local)3.383 E F0 -.2(bu)3.383 +G .883(iltin com-).2 F .316(mands \(see the descriptions of)108 355.2 R +F3(declar)2.816 E(e)-.18 E F0(and)2.816 E F3(local)2.816 E F0(belo)2.816 +E .316(w\) to create a)-.25 F F1(namer)2.815 E(ef)-.37 E F0 2.815(,o)C +2.815(rar)-2.815 G .315(eference to another v)-2.815 F(ari-)-.25 E 4.04 +(able. This)108 367.2 R(allo)4.04 E 1.54(ws v)-.25 F 1.54 +(ariables to be manipulated indirectly)-.25 F 6.54(.W)-.65 G(hene)-6.54 +E -.15(ve)-.25 G 4.04(rt).15 G 1.54(he nameref v)-4.04 F 1.54 +(ariable is referenced,)-.25 F .54 +(assigned to, unset, or has its attrib)108 379.2 R .54 +(utes modi\214ed \(other than using or changing the)-.2 F F1(namer)3.04 +E(ef)-.37 E F0(attrib)3.04 E .54(ute itself\),)-.2 F .352 +(the operation is actually performed on the v)108 391.2 R .352 +(ariable speci\214ed by the nameref v)-.25 F(ariable')-.25 E 2.852(sv) +-.55 G 2.852(alue. A)-3.102 F .352(nameref is)2.852 F .972 +(commonly used within shell functions to refer to a v)108 403.2 R .971 +(ariable whose name is passed as an ar)-.25 F .971(gument to the)-.18 F +2.5(function. F)108 415.2 R(or instance, if a v)-.15 E +(ariable name is passed to a shell function as its \214rst ar)-.25 E +(gument, running)-.18 E/F4 10/Courier@0 SF(declare -n ref=$1)144 433.2 Q +F0 .302(inside the function creates a nameref v)108 451.2 R(ariable)-.25 +E F3 -.18(re)2.803 G(f).18 E F0 .303(whose v)2.803 F .303(alue is the v) +-.25 F .303(ariable name passed as the \214rst ar)-.25 F(gu-)-.18 E +3.592(ment. References)108 463.2 R 1.092(and assignments to)3.592 F F3 +-.18(re)3.592 G(f).18 E F0 3.592(,a)C 1.092(nd changes to its attrib) +-3.592 F 1.092(utes, are treated as references, assign-)-.2 F .143 +(ments, and attrib)108 475.2 R .144(ute modi\214cations to the v)-.2 F +.144(ariable whose name w)-.25 F .144(as passed as)-.1 F F3($1)2.644 E +F0 5.144(.I)C 2.644(ft)-5.144 G .144(he control v)-2.644 F .144 +(ariable in a)-.25 F F3 -.25(fo)108 487.2 S(r).25 E F0 .868 +(loop has the nameref attrib)3.368 F .868(ute, the list of w)-.2 F .867 +(ords can be a list of shell v)-.1 F .867 +(ariables, and a name reference)-.25 F .509 +(will be established for each w)108 499.2 R .509 +(ord in the list, in turn, when the loop is e)-.1 F -.15(xe)-.15 G 3.009 +(cuted. Array).15 F -.25(va)3.009 G .509(riables cannot be).25 F(gi)108 +511.2 Q -.15(ve)-.25 G 4.193(nt).15 G(he)-4.193 E F3(namer)4.193 E(ef) +-.18 E F0(attrib)4.193 E 4.193(ute. Ho)-.2 F(we)-.25 E -.15(ve)-.25 G +2.493 -.4(r, n).15 H 1.693(ameref v).4 F 1.692 +(ariables can reference array v)-.25 F 1.692(ariables and subscripted) +-.25 F .101(array v)108 523.2 R 2.601(ariables. Namerefs)-.25 F .101 +(can be unset using the)2.601 F F32.602 E F0 .102(option to the) +2.602 F F3(unset)2.602 E F0 -.2(bu)2.602 G 2.602(iltin. Otherwise,).2 F +(if)2.602 E F3(unset)2.602 E F0 .102(is e)2.602 F -.15(xe)-.15 G(-).15 E +.443(cuted with the name of a nameref v)108 535.2 R .442 +(ariable as an ar)-.25 F .442(gument, the v)-.18 F .442 +(ariable referenced by the nameref v)-.25 F(ariable)-.25 E +(will be unset.)108 547.2 Q F3 -.2(Po)87 564 S(sitional P).2 E +(arameters)-.1 E F0(A)108 576 Q F1 .705(positional par)4.455 F(ameter) +-.15 E F0 .706(is a parameter denoted by one or more digits, other than\ + the single digit 0.)3.935 F(Posi-)5.706 E .445 +(tional parameters are assigned from the shell')108 588 R 2.944(sa)-.55 +G -.18(rg)-2.944 G .444(uments when it is in).18 F -.2(vo)-.4 G -.1(ke) +.2 G .444(d, and may be reassigned using).1 F(the)108 600 Q F3(set)3.333 +E F0 -.2(bu)3.333 G .833(iltin command.).2 F .834(Positional parameters\ + may not be assigned to with assignment statements.)5.833 F(The)5.834 E +(positional parameters are temporarily replaced when a shell function i\ +s e)108 612 Q -.15(xe)-.15 G(cuted \(see).15 E F2(FUNCTIONS)2.5 E F0 +(belo)2.25 E(w\).)-.25 E 1.404(When a positional parameter consisting o\ +f more than a single digit is e)108 628.8 R 1.403 +(xpanded, it must be enclosed in)-.15 F(braces \(see)108 640.8 Q F2(EXP) +2.5 E(ANSION)-.666 E F0(belo)2.25 E(w\).)-.25 E F3(Special P)87 657.6 Q +(arameters)-.1 E F0 1.674(The shell treats se)108 669.6 R -.15(ve)-.25 G +1.674(ral parameters specially).15 F 6.675(.T)-.65 G 1.675 (hese parameters may only be referenced; assignment to)-6.675 F -(them is not allo)108 612 Q(wed.)-.25 E F3(*)108 624 Q F0 .223 -(Expands to the positional parameters, starting from one.)31 F .224 -(When the e)5.224 F .224(xpansion is not within double)-.15 F .663 -(quotes, each positional parameter e)144 636 R .662 +(them is not allo)108 681.6 Q(wed.)-.25 E F3(*)108 693.6 Q F0 .224 +(Expands to the positional parameters, starting from one.)144 693.6 R +.223(When the e)5.224 F .223(xpansion is not within double)-.15 F .662 +(quotes, each positional parameter e)144 705.6 R .662 (xpands to a separate w)-.15 F 3.162(ord. In)-.1 F(conte)3.162 E .662 -(xts where it is performed,)-.15 F 1.081(those w)144 648 R 1.081 -(ords are subject to further w)-.1 F 1.082(ord splitting and pathname e) --.1 F 3.582(xpansion. When)-.15 F 1.082(the e)3.582 F(xpansion)-.15 E -.915(occurs within double quotes, it e)144 660 R .914 -(xpands to a single w)-.15 F .914(ord with the v)-.1 F .914 -(alue of each parameter sepa-)-.25 F .89 -(rated by the \214rst character of the)144 672 R F2(IFS)3.39 E F0 .89 -(special v)3.14 F 3.39(ariable. That)-.25 F .891(is, ")3.391 F F3($*)A -F0 3.391("i)C 3.391(se)-3.391 G(qui)-3.391 E -.25(va)-.25 G .891 -(lent to ").25 F F3($1)A F1(c)A F3($2)A F1(c)A F3(...)A F0(",)A(where) -144 684 Q F1(c)3.533 E F0 .832(is the \214rst character of the v)3.643 F -.832(alue of the)-.25 F F2(IFS)3.332 E F0 -.25(va)3.082 G 3.332 -(riable. If).25 F F2(IFS)3.332 E F0 .832(is unset, the parameters are) -3.082 F(separated by spaces.)144 696 Q(If)5 E F2(IFS)2.5 E F0 -(is null, the parameters are joined without interv)2.25 E -(ening separators.)-.15 E F3(@)108 708 Q F0 .605 -(Expands to the positional parameters, starting from one.)26.7 F .606 -(When the e)5.605 F .606(xpansion occurs within dou-)-.15 F .114 -(ble quotes, each parameter e)144 720 R .114(xpands to a separate w)-.15 -F 2.614(ord. That)-.1 F .113(is, ")2.613 F F3($@)A F0 2.613("i)C 2.613 -(se)-2.613 G(qui)-2.613 E -.25(va)-.25 G .113(lent to ").25 F F3($1)A F0 -2.613("")C F3($2)-2.613 E F0 2.613(".)C(..)-2.613 E(GNU Bash 4.3)72 768 -Q(2014 February 2)141.79 E(9)195.95 E 0 Cg EP +(xts where it is performed,)-.15 F 1.082(those w)144 717.6 R 1.082 +(ords are subject to further w)-.1 F 1.081(ord splitting and pathname e) +-.1 F 3.581(xpansion. When)-.15 F 1.081(the e)3.581 F(xpansion)-.15 E +2.548(occurs within double quotes, it e)144 729.6 R 2.549 +(xpands to a single w)-.15 F 2.549(ord with the v)-.1 F 2.549 +(alue of each parameter)-.25 F(GNU Bash 4.4)72 768 Q(2016 August 26) +142.895 E(9)197.055 E 0 Cg EP %%Page: 10 10 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .134(If the double-quoted e)144 84 R .134 -(xpansion occurs within a w)-.15 F .135(ord, the e)-.1 F .135 -(xpansion of the \214rst parameter is joined)-.15 F .151(with the be)144 -96 R .151(ginning part of the original w)-.15 F .151(ord, and the e)-.1 -F .15(xpansion of the last parameter is joined with)-.15 F .337 -(the last part of the original w)144 108 R 2.837(ord. When)-.1 F .338 -(there are no positional parameters, ")2.837 F/F1 10/Times-Bold@0 SF($@) -A F0 2.838("a)C(nd)-2.838 E F1($@)2.838 E F0 -.15(ex)2.838 G(pand).15 E -(to nothing \(i.e., the)144 120 Q 2.5(ya)-.15 G(re remo)-2.5 E -.15(ve) --.15 G(d\).).15 E F1(#)108 132 Q F0 -(Expands to the number of positional parameters in decimal.)31 E F1(?) -108 144 Q F0(Expands to the e)31 E(xit status of the most recently e) --.15 E -.15(xe)-.15 G(cuted fore).15 E(ground pipeline.)-.15 E F1108 -156 Q F0 .882 -(Expands to the current option \215ags as speci\214ed upon in)30.3 F -.2 -(vo)-.4 G .881(cation, by the).2 F F1(set)3.381 E F0 -.2(bu)3.381 G .881 -(iltin command, or).2 F(those set by the shell itself \(such as the)144 -168 Q F12.5 E F0(option\).)2.5 E F1($)108 180 Q F0 .214 -(Expands to the process ID of the shell.)31 F .214 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E 3.068 +(separated by the \214rst character of the)144 84 R/F1 9/Times-Bold@0 SF +(IFS)5.568 E F0 3.068(special v)5.318 F 5.568(ariable. That)-.25 F 3.067 +(is, ")5.568 F/F2 10/Times-Bold@0 SF($*)A F0 5.567("i)C 5.567(se)-5.567 +G(qui)-5.567 E -.25(va)-.25 G 3.067(lent to).25 F(")144 96 Q F2($1)A/F3 +10/Times-Italic@0 SF(c)A F2($2)A F3(c)A F2(...)A F0 1.519(", where)B F3 +(c)4.219 E F0 1.519(is the \214rst character of the v)4.329 F 1.52 +(alue of the)-.25 F F1(IFS)4.02 E F0 -.25(va)3.77 G 4.02(riable. If).25 +F F1(IFS)4.02 E F0 1.52(is unset, the)3.77 F .833 +(parameters are separated by spaces.)144 108 R(If)5.833 E F1(IFS)3.333 E +F0 .832(is null, the parameters are joined without interv)3.083 F(ening) +-.15 E(separators.)144 120 Q F2(@)108 132 Q F0 .605 +(Expands to the positional parameters, starting from one.)144 132 R .606 +(When the e)5.605 F .606(xpansion occurs within dou-)-.15 F .114 +(ble quotes, each parameter e)144 144 R .114(xpands to a separate w)-.15 +F 2.614(ord. That)-.1 F .113(is, ")2.613 F F2($@)A F0 2.613("i)C 2.613 +(se)-2.613 G(qui)-2.613 E -.25(va)-.25 G .113(lent to ").25 F F2($1)A F0 +2.613("")C F2($2)-2.613 E F0 2.613(".)C(..)-2.613 E .134 +(If the double-quoted e)144 156 R .134(xpansion occurs within a w)-.15 F +.135(ord, the e)-.1 F .135(xpansion of the \214rst parameter is joined) +-.15 F .151(with the be)144 168 R .151(ginning part of the original w) +-.15 F .151(ord, and the e)-.1 F .15 +(xpansion of the last parameter is joined with)-.15 F .337 +(the last part of the original w)144 180 R 2.837(ord. When)-.1 F .338 +(there are no positional parameters, ")2.837 F F2($@)A F0 2.838("a)C(nd) +-2.838 E F2($@)2.838 E F0 -.15(ex)2.838 G(pand).15 E +(to nothing \(i.e., the)144 192 Q 2.5(ya)-.15 G(re remo)-2.5 E -.15(ve) +-.15 G(d\).).15 E F2(#)108 204 Q F0 +(Expands to the number of positional parameters in decimal.)144 204 Q F2 +(?)108 216 Q F0(Expands to the e)144 216 Q +(xit status of the most recently e)-.15 E -.15(xe)-.15 G(cuted fore).15 +E(ground pipeline.)-.15 E F2108 228 Q F0 .882 +(Expands to the current option \215ags as speci\214ed upon in)144 228 R +-.2(vo)-.4 G .881(cation, by the).2 F F2(set)3.381 E F0 -.2(bu)3.381 G +.881(iltin command, or).2 F(those set by the shell itself \(such as the) +144 240 Q F22.5 E F0(option\).)2.5 E F2($)108 252 Q F0 .214 +(Expands to the process ID of the shell.)144 252 R .214 (In a \(\) subshell, it e)5.214 F .214 (xpands to the process ID of the current)-.15 F -(shell, not the subshell.)144 192 Q F1(!)108 204 Q F0 .499(Expands to t\ +(shell, not the subshell.)144 264 Q F2(!)108 276 Q F0 .499(Expands to t\ he process ID of the job most recently placed into the background, whet\ -her e)32.67 F -.15(xe)-.15 G(cuted).15 E -(as an asynchronous command or using the)144 216 Q F1(bg)2.5 E F0 -.2 -(bu)2.5 G(iltin \(see).2 E/F2 9/Times-Bold@0 SF(JOB CONTR)2.5 E(OL)-.27 -E F0(belo)2.25 E(w\).)-.25 E F1(0)108 228 Q F0 1.691 -(Expands to the name of the shell or shell script.)31 F 1.692 -(This is set at shell initialization.)6.692 F(If)6.692 E F1(bash)4.192 E -F0(is)4.192 E(in)144 240 Q -.2(vo)-.4 G -.1(ke).2 G 3.078(dw).1 G .578 -(ith a \214le of commands,)-3.078 F F1($0)3.078 E F0 .578 -(is set to the name of that \214le.)3.078 F(If)5.577 E F1(bash)3.077 E -F0 .577(is started with the)3.077 F F13.077 E F0 .368 -(option, then)144 252 R F1($0)2.869 E F0 .369(is set to the \214rst ar) +her e)144 276 R -.15(xe)-.15 G(cuted).15 E +(as an asynchronous command or using the)144 288 Q F2(bg)2.5 E F0 -.2 +(bu)2.5 G(iltin \(see).2 E F1(JOB CONTR)2.5 E(OL)-.27 E F0(belo)2.25 E +(w\).)-.25 E F2(0)108 300 Q F0 1.691 +(Expands to the name of the shell or shell script.)144 300 R 1.692 +(This is set at shell initialization.)6.692 F(If)6.692 E F2(bash)4.192 E +F0(is)4.192 E(in)144 312 Q -.2(vo)-.4 G -.1(ke).2 G 3.078(dw).1 G .578 +(ith a \214le of commands,)-3.078 F F2($0)3.078 E F0 .578 +(is set to the name of that \214le.)3.078 F(If)5.577 E F2(bash)3.077 E +F0 .577(is started with the)3.077 F F23.077 E F0 .368 +(option, then)144 324 R F2($0)2.869 E F0 .369(is set to the \214rst ar) 2.869 F .369(gument after the string to be e)-.18 F -.15(xe)-.15 G .369 (cuted, if one is present.).15 F(Other)5.369 E(-)-.2 E -(wise, it is set to the \214lename used to in)144 264 Q -.2(vo)-.4 G -.1 -(ke).2 G F1(bash)2.6 E F0 2.5(,a)C 2.5(sg)-2.5 G -2.15 -.25(iv e)-2.5 H -2.5(nb).25 G 2.5(ya)-2.5 G -.18(rg)-2.5 G(ument zero.).18 E F1(_)108 276 -Q F0 .055(At shell startup, set to the absolute pathname used to in)31 F --.2(vo)-.4 G .255 -.1(ke t).2 H .054(he shell or shell script being e).1 -F -.15(xe)-.15 G(cuted).15 E .691(as passed in the en)144 288 R .691 -(vironment or ar)-.4 F .691(gument list.)-.18 F(Subsequently)5.691 E -3.191(,e)-.65 G .692(xpands to the last ar)-3.341 F .692(gument to the) --.18 F(pre)144 300 Q .571(vious command, after e)-.25 F 3.071 -(xpansion. Also)-.15 F .571(set to the full pathname used to in)3.071 F --.2(vo)-.4 G .77 -.1(ke e).2 H .57(ach command).1 F -.15(exe)144 312 S -1.6(cuted and placed in the en).15 F 1.6(vironment e)-.4 F 1.6 +(wise, it is set to the \214lename used to in)144 336 Q -.2(vo)-.4 G -.1 +(ke).2 G F2(bash)2.6 E F0 2.5(,a)C 2.5(sg)-2.5 G -2.15 -.25(iv e)-2.5 H +2.5(nb).25 G 2.5(ya)-2.5 G -.18(rg)-2.5 G(ument zero.).18 E F2(_)108 348 +Q F0 .055(At shell startup, set to the absolute pathname used to in)144 +348 R -.2(vo)-.4 G .255 -.1(ke t).2 H .054 +(he shell or shell script being e).1 F -.15(xe)-.15 G(cuted).15 E .691 +(as passed in the en)144 360 R .691(vironment or ar)-.4 F .691 +(gument list.)-.18 F(Subsequently)5.691 E 3.191(,e)-.65 G .692 +(xpands to the last ar)-3.341 F .692(gument to the)-.18 F(pre)144 372 Q +.571(vious command, after e)-.25 F 3.071(xpansion. Also)-.15 F .571 +(set to the full pathname used to in)3.071 F -.2(vo)-.4 G .77 -.1(ke e) +.2 H .57(ach command).1 F -.15(exe)144 384 S 1.6 +(cuted and placed in the en).15 F 1.6(vironment e)-.4 F 1.6 (xported to that command.)-.15 F 1.6(When checking mail, this)6.6 F (parameter holds the name of the mail \214le currently being check)144 -324 Q(ed.)-.1 E F1(Shell V)87 340.8 Q(ariables)-.92 E F0(The follo)108 -352.8 Q(wing v)-.25 E(ariables are set by the shell:)-.25 E F1 -.3(BA) -108 369.6 S(SH).3 E F0(Expands to the full \214lename used to in)9.07 E --.2(vo)-.4 G .2 -.1(ke t).2 H(his instance of).1 E F1(bash)2.5 E F0(.)A -F1 -.3(BA)108 381.6 S(SHOPTS).3 E F0 2.549(Ac)144 393.6 S .049 +396 Q(ed.)-.1 E F2(Shell V)87 412.8 Q(ariables)-.92 E F0(The follo)108 +424.8 Q(wing v)-.25 E(ariables are set by the shell:)-.25 E F2 -.3(BA) +108 441.6 S(SH).3 E F0(Expands to the full \214lename used to in)144 +441.6 Q -.2(vo)-.4 G .2 -.1(ke t).2 H(his instance of).1 E F2(bash)2.5 E +F0(.)A F2 -.3(BA)108 453.6 S(SHOPTS).3 E F0 2.549(Ac)144 465.6 S .049 (olon-separated list of enabled shell options.)-2.549 F .049(Each w) 5.049 F .049(ord in the list is a v)-.1 F .049(alid ar)-.25 F .049 -(gument for the)-.18 F F12.548 E F0 1.398(option to the)144 405.6 -R F1(shopt)3.898 E F0 -.2(bu)3.898 G 1.398(iltin command \(see).2 F F2 +(gument for the)-.18 F F22.548 E F0 1.398(option to the)144 477.6 +R F2(shopt)3.898 E F0 -.2(bu)3.898 G 1.398(iltin command \(see).2 F F1 1.398(SHELL B)3.898 F(UIL)-.09 E 1.398(TIN COMMANDS)-.828 F F0(belo) 3.648 E 3.898(w\). The)-.25 F(options)3.898 E .477(appearing in)144 -417.6 R F2 -.27(BA)2.977 G(SHOPTS).27 E F0 .477(are those reported as) -2.727 F/F3 10/Times-Italic@0 SF(on)3.207 E F0(by)3.217 E F1(shopt)2.977 -E F0 5.476(.I)C 2.976(ft)-5.476 G .476(his v)-2.976 F .476 -(ariable is in the en)-.25 F(vironment)-.4 E(when)144 429.6 Q F1(bash) -3.141 E F0 .642(starts up, each shell option in the list will be enable\ -d before reading an)3.141 F 3.142(ys)-.15 G .642(tartup \214les.)-3.142 -F(This v)144 441.6 Q(ariable is read-only)-.25 E(.)-.65 E F1 -.3(BA)108 -453.6 S(SHPID).3 E F0 .188(Expands to the process ID of the current)144 -465.6 R F1(bash)2.688 E F0 2.687(process. This)2.687 F(dif)2.687 E .187 -(fers from)-.25 F F1($$)2.687 E F0 .187(under certain circum-)2.687 F -(stances, such as subshells that do not require)144 477.6 Q F1(bash)2.5 -E F0(to be re-initialized.)2.5 E F1 -.3(BA)108 489.6 S(SH_ALIASES).3 E -F0 1.195(An associati)144 501.6 R 1.495 -.15(ve a)-.25 H 1.195(rray v) +489.6 R F1 -.27(BA)2.977 G(SHOPTS).27 E F0 .477(are those reported as) +2.727 F F3(on)3.207 E F0(by)3.217 E F2(shopt)2.977 E F0 5.476(.I)C 2.976 +(ft)-5.476 G .476(his v)-2.976 F .476(ariable is in the en)-.25 F +(vironment)-.4 E(when)144 501.6 Q F2(bash)3.141 E F0 .642(starts up, ea\ +ch shell option in the list will be enabled before reading an)3.141 F +3.142(ys)-.15 G .642(tartup \214les.)-3.142 F(This v)144 513.6 Q +(ariable is read-only)-.25 E(.)-.65 E F2 -.3(BA)108 525.6 S(SHPID).3 E +F0 .188(Expands to the process ID of the current)144 537.6 R F2(bash) +2.688 E F0 2.687(process. This)2.687 F(dif)2.687 E .187(fers from)-.25 F +F2($$)2.687 E F0 .187(under certain circum-)2.687 F +(stances, such as subshells that do not require)144 549.6 Q F2(bash)2.5 +E F0(to be re-initialized.)2.5 E F2 -.3(BA)108 561.6 S(SH_ALIASES).3 E +F0 1.195(An associati)144 573.6 R 1.495 -.15(ve a)-.25 H 1.195(rray v) .15 F 1.195(ariable whose members correspond to the internal list of al\ -iases as main-)-.25 F .025(tained by the)144 513.6 R F1(alias)2.524 E F0 --.2(bu)2.524 G 2.524(iltin. Elements).2 F .024 -(added to this array appear in the alias list; unsetting array ele-) -2.524 F(ments cause aliases to be remo)144 525.6 Q -.15(ve)-.15 G 2.5 -(df).15 G(rom the alias list.)-2.5 E F1 -.3(BA)108 537.6 S(SH_ARGC).3 E -F0 .934(An array v)144 549.6 R .934(ariable whose v)-.25 F .934 +iases as main-)-.25 F .16(tained by the)144 585.6 R F2(alias)2.66 E F0 +-.2(bu)2.66 G 2.66(iltin. Elements).2 F .16 +(added to this array appear in the alias list; ho)2.66 F(we)-.25 E -.15 +(ve)-.25 G .96 -.4(r, u).15 H(nsetting).4 E 4.503 +(array elements currently does not cause aliases to be remo)144 597.6 R +-.15(ve)-.15 G 7.003(df).15 G 4.503(rom the alias list.)-7.003 F(If) +9.503 E F2 -.3(BA)144 609.6 S(SH_ALIASES).3 E F0 +(is unset, it loses its special properties, e)2.5 E -.15(ve)-.25 G 2.5 +(ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.) +-2.5 E F2 -.3(BA)108 621.6 S(SH_ARGC).3 E F0 .935(An array v)144 633.6 R +.935(ariable whose v)-.25 F .934 (alues are the number of parameters in each frame of the current)-.25 F -F1(bash)3.435 E F0 -.15(exe)144 561.6 S .535(cution call stack.).15 F +F2(bash)3.434 E F0 -.15(exe)144 645.6 S .535(cution call stack.).15 F .535(The number of parameters to the current subroutine \(shell functio\ -n or script)5.535 F -.15(exe)144 573.6 S .141(cuted with).15 F F1(.) -2.641 E F0(or)2.641 E F1(sour)2.641 E(ce)-.18 E F0 2.641(\)i)C 2.641(sa) --2.641 G 2.641(tt)-2.641 G .142(he top of the stack.)-2.641 F .142 -(When a subroutine is e)5.142 F -.15(xe)-.15 G .142 -(cuted, the number of).15 F 2.631(parameters passed is pushed onto)144 -585.6 R F2 -.27(BA)5.13 G(SH_ARGC).27 E/F4 9/Times-Roman@0 SF(.)A F0 -2.63(The shell sets)7.13 F F2 -.27(BA)5.13 G(SH_ARGC).27 E F0 2.63 -(only when in)4.88 F -.15(ex)144 597.6 S(tended deb).15 E -(ugging mode \(see the description of the)-.2 E F1(extdeb)2.5 E(ug)-.2 E -F0(option to the)2.5 E F1(shopt)2.5 E F0 -.2(bu)2.5 G(iltin belo).2 E -(w\))-.25 E F1 -.3(BA)108 609.6 S(SH_ARGV).3 E F0 .979(An array v)144 -621.6 R .979(ariable containing all of the parameters in the current) --.25 F F1(bash)3.48 E F0 -.15(exe)3.48 G .98(cution call stack.).15 F -(The)5.98 E .275(\214nal parameter of the last subroutine call is at th\ -e top of the stack; the \214rst parameter of the initial)144 633.6 R -1.424(call is at the bottom.)144 645.6 R 1.424(When a subroutine is e) +n or script)5.535 F -.15(exe)144 657.6 S .142(cuted with).15 F F2(.) +2.642 E F0(or)2.642 E F2(sour)2.642 E(ce)-.18 E F0 2.642(\)i)C 2.642(sa) +-2.642 G 2.642(tt)-2.642 G .142(he top of the stack.)-2.642 F .141 +(When a subroutine is e)5.141 F -.15(xe)-.15 G .141 +(cuted, the number of).15 F 2.63(parameters passed is pushed onto)144 +669.6 R F1 -.27(BA)5.13 G(SH_ARGC).27 E/F4 9/Times-Roman@0 SF(.)A F0 +2.63(The shell sets)7.13 F F1 -.27(BA)5.131 G(SH_ARGC).27 E F0 2.631 +(only when in)4.881 F -.15(ex)144 681.6 S(tended deb).15 E +(ugging mode \(see the description of the)-.2 E F2(extdeb)2.5 E(ug)-.2 E +F0(option to the)2.5 E F2(shopt)2.5 E F0 -.2(bu)2.5 G(iltin belo).2 E +(w\))-.25 E F2 -.3(BA)108 693.6 S(SH_ARGV).3 E F0 .98(An array v)144 +705.6 R .979(ariable containing all of the parameters in the current) +-.25 F F2(bash)3.479 E F0 -.15(exe)3.479 G .979(cution call stack.).15 F +(The)5.979 E .275(\214nal parameter of the last subroutine call is at t\ +he top of the stack; the \214rst parameter of the initial)144 717.6 R +1.424(call is at the bottom.)144 729.6 R 1.424(When a subroutine is e) 6.424 F -.15(xe)-.15 G 1.424 -(cuted, the parameters supplied are pushed onto).15 F F2 -.27(BA)144 -657.6 S(SH_ARGV).27 E F4(.)A F0 2.197(The shell sets)6.697 F F2 -.27(BA) -4.697 G(SH_ARGV).27 E F0 2.197(only when in e)4.447 F 2.197(xtended deb) --.15 F 2.197(ugging mode \(see the)-.2 F(description of the)144 669.6 Q -F1(extdeb)2.5 E(ug)-.2 E F0(option to the)2.5 E F1(shopt)2.5 E F0 -.2 -(bu)2.5 G(iltin belo).2 E(w\))-.25 E F1 -.3(BA)108 681.6 S(SH_CMDS).3 E -F0 .667(An associati)144 693.6 R .967 -.15(ve a)-.25 H .667(rray v).15 F -.668(ariable whose members correspond to the internal hash table of com\ -mands)-.25 F .147(as maintained by the)144 705.6 R F1(hash)2.647 E F0 --.2(bu)2.646 G 2.646(iltin. Elements).2 F .146 -(added to this array appear in the hash table; unsetting)2.646 F -(array elements cause commands to be remo)144 717.6 Q -.15(ve)-.15 G 2.5 -(df).15 G(rom the hash table.)-2.5 E(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(10)190.95 E 0 Cg EP +(cuted, the parameters supplied are pushed onto).15 F(GNU Bash 4.4)72 +768 Q(2016 August 26)142.895 E(10)192.055 E 0 Cg EP %%Page: 11 11 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF -.3(BA)108 84 S(SH_COMMAND).3 E F0 1.242 -(The command currently being e)144 96 R -.15(xe)-.15 G 1.243 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 9/Times-Bold@0 +SF -.27(BA)144 84 S(SH_ARGV).27 E/F2 9/Times-Roman@0 SF(.)A F0 2.197 +(The shell sets)6.697 F F1 -.27(BA)4.697 G(SH_ARGV).27 E F0 2.197 +(only when in e)4.447 F 2.197(xtended deb)-.15 F 2.197 +(ugging mode \(see the)-.2 F(description of the)144 96 Q/F3 10 +/Times-Bold@0 SF(extdeb)2.5 E(ug)-.2 E F0(option to the)2.5 E F3(shopt) +2.5 E F0 -.2(bu)2.5 G(iltin belo).2 E(w\))-.25 E F3 -.3(BA)108 108 S +(SH_CMDS).3 E F0 .668(An associati)144 120 R .968 -.15(ve a)-.25 H .668 +(rray v).15 F .668(ariable whose members correspond to the internal has\ +h table of commands)-.25 F .195(as maintained by the)144 132 R F3(hash) +2.695 E F0 -.2(bu)2.695 G 2.695(iltin. Elements).2 F .196 +(added to this array appear in the hash table; ho)2.696 F(we)-.25 E -.15 +(ve)-.25 G -.4(r,).15 G .852(unsetting array elements currently does no\ +t cause command names to be remo)144 144 R -.15(ve)-.15 G 3.352(df).15 G +.852(rom the hash)-3.352 F 2.5(table. If)144 156 R F3 -.3(BA)2.5 G +(SH_CMDS).3 E F0(is unset, it loses its special properties, e)2.5 E -.15 +(ve)-.25 G 2.5(ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G +(ubsequently reset.)-2.5 E F3 -.3(BA)108 168 S(SH_COMMAND).3 E F0 1.242 +(The command currently being e)144 180 R -.15(xe)-.15 G 1.243 (cuted or about to be e).15 F -.15(xe)-.15 G 1.243 (cuted, unless the shell is e).15 F -.15(xe)-.15 G 1.243(cuting a).15 F (command as the result of a trap, in which case it is the command e)144 -108 Q -.15(xe)-.15 G(cuting at the time of the trap.).15 E F1 -.3(BA)108 -120 S(SH_EXECUTION_STRING).3 E F0(The command ar)144 132 Q -(gument to the)-.18 E F12.5 E F0(in)2.5 E -.2(vo)-.4 G -(cation option.).2 E F1 -.3(BA)108 144 S(SH_LINENO).3 E F0 .693 -(An array v)144 156 R .692(ariable whose members are the line numbers i\ -n source \214les where each corresponding)-.25 F .969(member of)144 168 -R/F2 9/Times-Bold@0 SF(FUNCN)3.469 E(AME)-.18 E F0 -.1(wa)3.219 G 3.469 -(si).1 G -1.9 -.4(nv o)-3.469 H -.1(ke).4 G(d.).1 E F1(${B)5.969 E -(ASH_LINENO[)-.3 E/F3 10/Times-Italic@0 SF($i)A F1(]})A F0 .97 -(is the line number in the source)3.469 F 14.672(\214le \()144 180 R F1 -(${B)A(ASH_SOURCE[)-.3 E F3($i+1)A F1(]})A F0 17.172(\)w)C(here)-17.172 -E F1(${FUNCN)17.172 E(AME[)-.2 E F3($i)A F1(]})A F0 -.1(wa)17.172 G -17.171(sc).1 G 14.671(alled \(or)-17.171 F F1(${B)144 192 Q(ASH_LINENO[) --.3 E F3($i-1)A F1(]})A F0 .115 -(if referenced within another shell function\).)2.615 F(Use)5.115 E F2 +192 Q -.15(xe)-.15 G(cuting at the time of the trap.).15 E F3 -.3(BA)108 +204 S(SH_EXECUTION_STRING).3 E F0(The command ar)144 216 Q +(gument to the)-.18 E F32.5 E F0(in)2.5 E -.2(vo)-.4 G +(cation option.).2 E F3 -.3(BA)108 228 S(SH_LINENO).3 E F0 .693 +(An array v)144 240 R .692(ariable whose members are the line numbers i\ +n source \214les where each corresponding)-.25 F .969(member of)144 252 +R F1(FUNCN)3.469 E(AME)-.18 E F0 -.1(wa)3.219 G 3.469(si).1 G -1.9 -.4 +(nv o)-3.469 H -.1(ke).4 G(d.).1 E F3(${B)5.969 E(ASH_LINENO[)-.3 E/F4 +10/Times-Italic@0 SF($i)A F3(]})A F0 .97 +(is the line number in the source)3.469 F 14.672(\214le \()144 264 R F3 +(${B)A(ASH_SOURCE[)-.3 E F4($i+1)A F3(]})A F0 17.172(\)w)C(here)-17.172 +E F3(${FUNCN)17.172 E(AME[)-.2 E F4($i)A F3(]})A F0 -.1(wa)17.172 G +17.171(sc).1 G 14.671(alled \(or)-17.171 F F3(${B)144 276 Q(ASH_LINENO[) +-.3 E F4($i-1)A F3(]})A F0 .115 +(if referenced within another shell function\).)2.615 F(Use)5.115 E F1 (LINENO)2.615 E F0 .115(to obtain the)2.365 F(current line number)144 -204 Q(.)-.55 E F1 -.3(BA)108 216 S(SH_REMA).3 E(TCH)-.95 E F0 .006 -(An array v)144 228 R .006(ariable whose members are assigned by the) --.25 F F1(=~)2.506 E F0 .005(binary operator to the)2.506 F F1([[)2.505 -E F0 .005(conditional com-)2.505 F 2.506(mand. The)144 240 R .007 -(element with inde)2.506 F 2.507(x0i)-.15 G 2.507(st)-2.507 G .007 -(he portion of the string matching the entire re)-2.507 F .007(gular e) --.15 F(xpression.)-.15 E .998(The element with inde)144 252 R(x)-.15 E -F3(n)3.498 E F0 .997(is the portion of the string matching the)3.498 F -F3(n)3.497 E F0 .997(th parenthesized sube)B(xpres-)-.15 E 2.5 -(sion. This)144 264 R -.25(va)2.5 G(riable is read-only).25 E(.)-.65 E -F1 -.3(BA)108 276 S(SH_SOURCE).3 E F0 .125(An array v)144 288 R .125(ar\ +288 Q(.)-.55 E F3 -.3(BA)108 300 S(SH_LO).3 E(AD)-.4 E(ABLES_P)-.35 E +-.95(AT)-.74 G(H).95 E F0 4.07(Ac)144 312 S 1.57(olon-separated list of\ + directories in which the shell looks for dynamically loadable b)-4.07 F +(uiltins)-.2 E(speci\214ed by the)144 324 Q F3(enable)2.5 E F0(command.) +2.5 E F3 -.3(BA)108 336 S(SH_REMA).3 E(TCH)-.95 E F0 .005(An array v)144 +348 R .005(ariable whose members are assigned by the)-.25 F F3(=~)2.506 +E F0 .006(binary operator to the)2.506 F F3([[)2.506 E F0 .006 +(conditional com-)2.506 F 2.507(mand. The)144 360 R .007 +(element with inde)2.507 F 2.507(x0i)-.15 G 2.507(st)-2.507 G .007 +(he portion of the string matching the entire re)-2.507 F .006(gular e) +-.15 F(xpression.)-.15 E .997(The element with inde)144 372 R(x)-.15 E +F4(n)3.497 E F0 .997(is the portion of the string matching the)3.497 F +F4(n)3.498 E F0 .998(th parenthesized sube)B(xpres-)-.15 E 2.5 +(sion. This)144 384 R -.25(va)2.5 G(riable is read-only).25 E(.)-.65 E +F3 -.3(BA)108 396 S(SH_SOURCE).3 E F0 .126(An array v)144 408 R .125(ar\ iable whose members are the source \214lenames where the corresponding \ -shell function)-.25 F .781(names in the)144 300 R F2(FUNCN)3.28 E(AME) +shell function)-.25 F .78(names in the)144 420 R F1(FUNCN)3.28 E(AME) -.18 E F0 .78(array v)3.03 F .78(ariable are de\214ned.)-.25 F .78 -(The shell function)5.78 F F1(${FUNCN)3.28 E(AME[)-.2 E F3($i)A F1(]})A -F0(is)3.28 E(de\214ned in the \214le)144 312 Q F1(${B)2.5 E(ASH_SOURCE[) --.3 E F3($i)A F1(]})A F0(and called from)2.5 E F1(${B)2.5 E(ASH_SOURCE[) --.3 E F3($i+1)A F1(]})A F0(.)A F1 -.3(BA)108 324 S(SH_SUBSHELL).3 E F0 -.296(Incremented by one within each subshell or subshell en)144 336 R -.296(vironment when the shell be)-.4 F .297(gins e)-.15 F -.15(xe)-.15 G -(cuting).15 E(in that en)144 348 Q 2.5(vironment. The)-.4 F(initial v) -2.5 E(alue is 0.)-.25 E F1 -.3(BA)108 360 S(SH_VERSINFO).3 E F0 2.645 -(Ar)144 372 S .145(eadonly array v)-2.645 F .144 +(The shell function)5.78 F F3(${FUNCN)3.281 E(AME[)-.2 E F4($i)A F3(]})A +F0(is)3.281 E(de\214ned in the \214le)144 432 Q F3(${B)2.5 E +(ASH_SOURCE[)-.3 E F4($i)A F3(]})A F0(and called from)2.5 E F3(${B)2.5 E +(ASH_SOURCE[)-.3 E F4($i+1)A F3(]})A F0(.)A F3 -.3(BA)108 444 S +(SH_SUBSHELL).3 E F0 .296 +(Incremented by one within each subshell or subshell en)144 456 R .296 +(vironment when the shell be)-.4 F .296(gins e)-.15 F -.15(xe)-.15 G +(cuting).15 E(in that en)144 468 Q 2.5(vironment. The)-.4 F(initial v) +2.5 E(alue is 0.)-.25 E F3 -.3(BA)108 480 S(SH_VERSINFO).3 E F0 2.644 +(Ar)144 492 S .144(eadonly array v)-2.644 F .144 (ariable whose members hold v)-.25 F .144 -(ersion information for this instance of)-.15 F F1(bash)2.644 E F0 5.144 -(.T)C(he)-5.144 E -.25(va)144 384 S -(lues assigned to the array members are as follo).25 E(ws:)-.25 E F1 -.3 -(BA)144 402 S(SH_VERSINFO[).3 E F0(0)A F1(])A F0(The major v)24.74 E -(ersion number \(the)-.15 E F3 -.37(re)2.5 G(lease).37 E F0(\).)A F1 -.3 -(BA)144 414 S(SH_VERSINFO[).3 E F0(1)A F1(])A F0(The minor v)24.74 E -(ersion number \(the)-.15 E F3(ver)2.5 E(sion)-.1 E F0(\).)A F1 -.3(BA) -144 426 S(SH_VERSINFO[).3 E F0(2)A F1(])A F0(The patch le)24.74 E -.15 -(ve)-.25 G(l.).15 E F1 -.3(BA)144 438 S(SH_VERSINFO[).3 E F0(3)A F1(])A -F0(The b)24.74 E(uild v)-.2 E(ersion.)-.15 E F1 -.3(BA)144 450 S -(SH_VERSINFO[).3 E F0(4)A F1(])A F0(The release status \(e.g.,)24.74 E -F3(beta1)2.5 E F0(\).)A F1 -.3(BA)144 462 S(SH_VERSINFO[).3 E F0(5)A F1 -(])A F0(The v)24.74 E(alue of)-.25 E F2(MA)2.5 E(CHTYPE)-.495 E/F4 9 -/Times-Roman@0 SF(.)A F1 -.3(BA)108 474 S(SH_VERSION).3 E F0 -(Expands to a string describing the v)144 486 Q -(ersion of this instance of)-.15 E F1(bash)2.5 E F0(.)A F1(COMP_CW)108 -498 Q(ORD)-.1 E F0 .396(An inde)144 510 R 2.896(xi)-.15 G(nto)-2.896 E -F1(${COMP_W)2.896 E(ORDS})-.1 E F0 .396(of the w)2.896 F .396 -(ord containing the current cursor position.)-.1 F .397(This v)5.397 F -(ari-)-.25 E 1.181(able is a)144 522 R -.25(va)-.2 G 1.181 +(ersion information for this instance of)-.15 F F3(bash)2.645 E F0 5.145 +(.T)C(he)-5.145 E -.25(va)144 504 S +(lues assigned to the array members are as follo).25 E(ws:)-.25 E F3 -.3 +(BA)144 522 S(SH_VERSINFO[).3 E F0(0)A F3(])A F0(The major v)264 522 Q +(ersion number \(the)-.15 E F4 -.37(re)2.5 G(lease).37 E F0(\).)A F3 -.3 +(BA)144 534 S(SH_VERSINFO[).3 E F0(1)A F3(])A F0(The minor v)264 534 Q +(ersion number \(the)-.15 E F4(ver)2.5 E(sion)-.1 E F0(\).)A F3 -.3(BA) +144 546 S(SH_VERSINFO[).3 E F0(2)A F3(])A F0(The patch le)264 546 Q -.15 +(ve)-.25 G(l.).15 E F3 -.3(BA)144 558 S(SH_VERSINFO[).3 E F0(3)A F3(])A +F0(The b)264 558 Q(uild v)-.2 E(ersion.)-.15 E F3 -.3(BA)144 570 S +(SH_VERSINFO[).3 E F0(4)A F3(])A F0(The release status \(e.g.,)264 570 Q +F4(beta1)2.5 E F0(\).)A F3 -.3(BA)144 582 S(SH_VERSINFO[).3 E F0(5)A F3 +(])A F0(The v)264 582 Q(alue of)-.25 E F1(MA)2.5 E(CHTYPE)-.495 E F2(.)A +F3 -.3(BA)108 594 S(SH_VERSION).3 E F0 +(Expands to a string describing the v)144 606 Q +(ersion of this instance of)-.15 E F3(bash)2.5 E F0(.)A F3(COMP_CW)108 +618 Q(ORD)-.1 E F0 .397(An inde)144 630 R 2.897(xi)-.15 G(nto)-2.897 E +F3(${COMP_W)2.896 E(ORDS})-.1 E F0 .396(of the w)2.896 F .396 +(ord containing the current cursor position.)-.1 F .396(This v)5.396 F +(ari-)-.25 E 1.18(able is a)144 642 R -.25(va)-.2 G 1.181 (ilable only in shell functions in).25 F -.2(vo)-.4 G -.1(ke).2 G 3.681 -(db).1 G 3.681(yt)-3.681 G 1.18(he programmable completion f)-3.681 F -1.18(acilities \(see)-.1 F F1(Pr)144 534 Q(ogrammable Completion)-.18 E -F0(belo)2.5 E(w\).)-.25 E F1(COMP_KEY)108 546 Q F0(The k)144 558 Q .3 +(db).1 G 3.681(yt)-3.681 G 1.181(he programmable completion f)-3.681 F +1.181(acilities \(see)-.1 F F3(Pr)144 654 Q(ogrammable Completion)-.18 E +F0(belo)2.5 E(w\).)-.25 E F3(COMP_KEY)108 666 Q F0(The k)144 678 Q .3 -.15(ey \()-.1 H(or \214nal k).15 E .3 -.15(ey o)-.1 H 2.5(fak).15 G .3 -.15(ey s)-2.6 H(equence\) used to in).15 E -.2(vo)-.4 G .2 -.1(ke t).2 -H(he current completion function.).1 E F1(COMP_LINE)108 570 Q F0 1.207 -(The current command line.)144 582 R 1.208(This v)6.208 F 1.208 +H(he current completion function.).1 E F3(COMP_LINE)108 690 Q F0 1.208 +(The current command line.)144 702 R 1.208(This v)6.208 F 1.208 (ariable is a)-.25 F -.25(va)-.2 G 1.208 -(ilable only in shell functions and e).25 F 1.208(xternal com-)-.15 F -2.849(mands in)144 594 R -.2(vo)-.4 G -.1(ke).2 G 5.349(db).1 G 5.349 +(ilable only in shell functions and e).25 F 1.207(xternal com-)-.15 F +2.848(mands in)144 714 R -.2(vo)-.4 G -.1(ke).2 G 5.349(db).1 G 5.349 (yt)-5.349 G 2.849(he programmable completion f)-5.349 F 2.849 -(acilities \(see)-.1 F F1(Pr)5.349 E 2.848(ogrammable Completion)-.18 F -F0(belo)144 606 Q(w\).)-.25 E F1(COMP_POINT)108 618 Q F0 .666(The inde) -144 630 R 3.166(xo)-.15 G 3.166(ft)-3.166 G .666 -(he current cursor position relati)-3.166 F .966 -.15(ve t)-.25 H 3.166 -(ot).15 G .666(he be)-3.166 F .666(ginning of the current command.)-.15 -F .667(If the)5.667 F .535 -(current cursor position is at the end of the current command, the v)144 -642 R .534(alue of this v)-.25 F .534(ariable is equal to)-.25 F F1 -(${#COMP_LINE})144 654 Q F0 7.005(.T)C 2.005(his v)-7.005 F 2.005 -(ariable is a)-.25 F -.25(va)-.2 G 2.006 -(ilable only in shell functions and e).25 F 2.006(xternal commands)-.15 -F(in)144 666 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(db).1 G 2.5(yt)-2.5 G -(he programmable completion f)-2.5 E(acilities \(see)-.1 E F1(Pr)2.5 E -(ogrammable Completion)-.18 E F0(belo)2.5 E(w\).)-.25 E F1(COMP_TYPE)108 -678 Q F0 .042(Set to an inte)144 690 R .042(ger v)-.15 F .041(alue corr\ -esponding to the type of completion attempted that caused a completion) --.25 F .337(function to be called:)144 702 R F3 -.5(TA)2.837 G(B).5 E F0 -2.837(,f)C .337(or normal completion,)-2.837 F F3(?)2.837 E F0 2.837(,f) -C .337(or listing completions after successi)-2.837 F .638 -.15(ve t) --.25 H(abs,).15 E F3(!)144 714 Q F0 4.092(,f)C 1.592 -(or listing alternati)-4.092 F -.15(ve)-.25 G 4.092(so).15 G 4.092(np) --4.092 G 1.592(artial w)-4.092 F 1.592(ord completion,)-.1 F F3(@)4.092 -E F0 4.092(,t)C 4.092(ol)-4.092 G 1.592(ist completions if the w)-4.092 -F 1.591(ord is not)-.1 F 1.552(unmodi\214ed, or)144 726 R F3(%)4.052 E -F0 4.052(,f)C 1.552(or menu completion.)-4.052 F 1.552(This v)6.552 F -1.552(ariable is a)-.25 F -.25(va)-.2 G 1.552 -(ilable only in shell functions and).25 F(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(11)190.95 E 0 Cg EP +(acilities \(see)-.1 F F3(Pr)5.349 E 2.849(ogrammable Completion)-.18 F +F0(belo)144 726 Q(w\).)-.25 E(GNU Bash 4.4)72 768 Q(2016 August 26) +142.895 E(11)192.055 E 0 Cg EP %%Page: 12 12 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E -.15(ex)144 84 S 2.929(ternal commands in).15 F -.2(vo)-.4 G -.1 -(ke).2 G 5.429(db).1 G 5.429(yt)-5.429 G 2.929 -(he programmable completion f)-5.429 F 2.929(acilities \(see)-.1 F/F1 10 -/Times-Bold@0 SF(Pr)5.428 E(ogrammable)-.18 E(Completion)144 96 Q F0 -(belo)2.5 E(w\).)-.25 E F1(COMP_W)108 108 Q(ORDBREAKS)-.1 E F0 1.335 -(The set of characters that the)144 120 R F1 -.18(re)3.836 G(adline).18 -E F0 1.336(library treats as w)3.836 F 1.336 -(ord separators when performing w)-.1 F(ord)-.1 E 3.126(completion. If) -144 132 R/F2 9/Times-Bold@0 SF(COMP_W)3.126 E(ORDBREAKS)-.09 E F0 .626 -(is unset, it loses its special properties, e)2.876 F -.15(ve)-.25 G -3.125(ni).15 G 3.125(fi)-3.125 G 3.125(ti)-3.125 G 3.125(ss)-3.125 G -(ubse-)-3.125 E(quently reset.)144 144 Q F1(COMP_W)108 156 Q(ORDS)-.1 E -F0 .653(An array v)144 168 R .653(ariable \(see)-.25 F F1(Arrays)3.153 E -F0(belo)3.153 E .654(w\) consisting of the indi)-.25 F .654(vidual w) --.25 F .654(ords in the current command)-.1 F 4.333(line. The)144 180 R +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(COMP_POINT)108 84 Q F0 .667(The inde)144 96 R 3.167(xo)-.15 G 3.167 +(ft)-3.167 G .666(he current cursor position relati)-3.167 F .966 -.15 +(ve t)-.25 H 3.166(ot).15 G .666(he be)-3.166 F .666 +(ginning of the current command.)-.15 F .666(If the)5.666 F .534 +(current cursor position is at the end of the current command, the v)144 +108 R .535(alue of this v)-.25 F .535(ariable is equal to)-.25 F F1 +(${#COMP_LINE})144 120 Q F0 7.006(.T)C 2.006(his v)-7.006 F 2.006 +(ariable is a)-.25 F -.25(va)-.2 G 2.005 +(ilable only in shell functions and e).25 F 2.005(xternal commands)-.15 +F(in)144 132 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(db).1 G 2.5(yt)-2.5 G +(he programmable completion f)-2.5 E(acilities \(see)-.1 E F1(Pr)2.5 E +(ogrammable Completion)-.18 E F0(belo)2.5 E(w\).)-.25 E F1(COMP_TYPE)108 +144 Q F0 .041(Set to an inte)144 156 R .041(ger v)-.15 F .041(alue corr\ +esponding to the type of completion attempted that caused a completion) +-.25 F .338(function to be called:)144 168 R/F2 10/Times-Italic@0 SF -.5 +(TA)2.837 G(B).5 E F0 2.837(,f)C .337(or normal completion,)-2.837 F F2 +(?)2.837 E F0 2.837(,f)C .337(or listing completions after successi) +-2.837 F .637 -.15(ve t)-.25 H(abs,).15 E F2(!)144 180 Q F0 4.091(,f)C +1.591(or listing alternati)-4.091 F -.15(ve)-.25 G 4.092(so).15 G 4.092 +(np)-4.092 G 1.592(artial w)-4.092 F 1.592(ord completion,)-.1 F F2(@) +4.092 E F0 4.092(,t)C 4.092(ol)-4.092 G 1.592(ist completions if the w) +-4.092 F 1.592(ord is not)-.1 F 1.553(unmodi\214ed, or)144 192 R F2(%) +4.053 E F0 4.052(,f)C 1.552(or menu completion.)-4.052 F 1.552(This v) +6.552 F 1.552(ariable is a)-.25 F -.25(va)-.2 G 1.552 +(ilable only in shell functions and).25 F -.15(ex)144 204 S 2.928 +(ternal commands in).15 F -.2(vo)-.4 G -.1(ke).2 G 5.429(db).1 G 5.429 +(yt)-5.429 G 2.929(he programmable completion f)-5.429 F 2.929 +(acilities \(see)-.1 F F1(Pr)5.429 E(ogrammable)-.18 E(Completion)144 +216 Q F0(belo)2.5 E(w\).)-.25 E F1(COMP_W)108 228 Q(ORDBREAKS)-.1 E F0 +1.336(The set of characters that the)144 240 R F1 -.18(re)3.836 G +(adline).18 E F0 1.336(library treats as w)3.836 F 1.335 +(ord separators when performing w)-.1 F(ord)-.1 E 3.125(completion. If) +144 252 R/F3 9/Times-Bold@0 SF(COMP_W)3.125 E(ORDBREAKS)-.09 E F0 .626 +(is unset, it loses its special properties, e)2.875 F -.15(ve)-.25 G +3.126(ni).15 G 3.126(fi)-3.126 G 3.126(ti)-3.126 G 3.126(ss)-3.126 G +(ubse-)-3.126 E(quently reset.)144 264 Q F1(COMP_W)108 276 Q(ORDS)-.1 E +F0 .654(An array v)144 288 R .654(ariable \(see)-.25 F F1(Arrays)3.154 E +F0(belo)3.154 E .654(w\) consisting of the indi)-.25 F .653(vidual w) +-.25 F .653(ords in the current command)-.1 F 4.332(line. The)144 300 R 1.832(line is split into w)4.332 F 1.832(ords as)-.1 F F1 -.18(re)4.332 -G(adline).18 E F0 -.1(wo)4.332 G 1.832(uld split it, using).1 F F2 -(COMP_W)4.332 E(ORDBREAKS)-.09 E F0(as)4.082 E .831(described abo)144 -192 R -.15(ve)-.15 G 5.831(.T).15 G .831(his v)-5.831 F .831 -(ariable is a)-.25 F -.25(va)-.2 G .832 -(ilable only in shell functions in).25 F -.2(vo)-.4 G -.1(ke).2 G 3.332 -(db).1 G 3.332(yt)-3.332 G .832(he programmable)-3.332 F(completion f) -144 204 Q(acilities \(see)-.1 E F1(Pr)2.5 E(ogrammable Completion)-.18 E -F0(belo)2.5 E(w\).)-.25 E F1(COPR)108 216 Q(OC)-.3 E F0 .169(An array v) -144 228 R .169(ariable \(see)-.25 F F1(Arrays)2.669 E F0(belo)2.669 E +G(adline).18 E F0 -.1(wo)4.332 G 1.832(uld split it, using).1 F F3 +(COMP_W)4.332 E(ORDBREAKS)-.09 E F0(as)4.083 E .832(described abo)144 +312 R -.15(ve)-.15 G 5.832(.T).15 G .832(his v)-5.832 F .832 +(ariable is a)-.25 F -.25(va)-.2 G .831 +(ilable only in shell functions in).25 F -.2(vo)-.4 G -.1(ke).2 G 3.331 +(db).1 G 3.331(yt)-3.331 G .831(he programmable)-3.331 F(completion f) +144 324 Q(acilities \(see)-.1 E F1(Pr)2.5 E(ogrammable Completion)-.18 E +F0(belo)2.5 E(w\).)-.25 E F1(COPR)108 336 Q(OC)-.3 E F0 .168(An array v) +144 348 R .168(ariable \(see)-.25 F F1(Arrays)2.668 E F0(belo)2.669 E .169 (w\) created to hold the \214le descriptors for output from and input) --.25 F(to an unnamed coprocess \(see)144 240 Q F1(Copr)2.5 E(ocesses) --.18 E F0(abo)2.5 E -.15(ve)-.15 G(\).).15 E F1(DIRST)108 252 Q -.55(AC) --.9 G(K).55 E F0 2.26(An array v)144 264 R 2.26(ariable \(see)-.25 F F1 +-.25 F(to an unnamed coprocess \(see)144 360 Q F1(Copr)2.5 E(ocesses) +-.18 E F0(abo)2.5 E -.15(ve)-.15 G(\).).15 E F1(DIRST)108 372 Q -.55(AC) +-.9 G(K).55 E F0 2.26(An array v)144 384 R 2.26(ariable \(see)-.25 F F1 (Arrays)4.76 E F0(belo)4.76 E 2.26 (w\) containing the current contents of the directory stack.)-.25 F -1.095(Directories appear in the stack in the order the)144 276 R 3.594 -(ya)-.15 G 1.094(re displayed by the)-3.594 F F1(dirs)3.594 E F0 -.2(bu) -3.594 G 3.594(iltin. Assigning).2 F(to)3.594 E 1.431 -(members of this array v)144 288 R 1.432 +1.094(Directories appear in the stack in the order the)144 396 R 3.594 +(ya)-.15 G 1.095(re displayed by the)-3.594 F F1(dirs)3.595 E F0 -.2(bu) +3.595 G 3.595(iltin. Assigning).2 F(to)3.595 E 1.432 +(members of this array v)144 408 R 1.432 (ariable may be used to modify directories already in the stack, b)-.25 -F 1.432(ut the)-.2 F F1(pushd)144 300 Q F0(and)2.746 E F1(popd)2.746 E +F 1.431(ut the)-.2 F F1(pushd)144 420 Q F0(and)2.746 E F1(popd)2.746 E F0 -.2(bu)2.746 G .246(iltins must be used to add and remo).2 F .546 -.15(ve d)-.15 H 2.746(irectories. Assignment).15 F .246(to this v)2.746 -F(ariable)-.25 E .35(will not change the current directory)144 312 R -5.35(.I)-.65 G(f)-5.35 E F2(DIRST)2.85 E -.495(AC)-.81 G(K).495 E F0 .35 -(is unset, it loses its special properties, e)2.6 F -.15(ve)-.25 G 2.851 -(ni).15 G(f)-2.851 E(it is subsequently reset.)144 324 Q F1(EUID)108 336 -Q F0 1.104(Expands to the ef)11 F(fecti)-.25 E 1.403 -.15(ve u)-.25 H -1.103(ser ID of the current user).15 F 3.603(,i)-.4 G 1.103 -(nitialized at shell startup.)-3.603 F 1.103(This v)6.103 F 1.103 -(ariable is)-.25 F(readonly)144 348 Q(.)-.65 E F1(FUNCN)108 360 Q(AME) --.2 E F0 .478(An array v)144 372 R .479 +F(ariable)-.25 E .351(will not change the current directory)144 432 R +5.35(.I)-.65 G(f)-5.35 E F3(DIRST)2.85 E -.495(AC)-.81 G(K).495 E F0 .35 +(is unset, it loses its special properties, e)2.6 F -.15(ve)-.25 G 2.85 +(ni).15 G(f)-2.85 E(it is subsequently reset.)144 444 Q F1(EUID)108 456 +Q F0 1.103(Expands to the ef)144 456 R(fecti)-.25 E 1.403 -.15(ve u)-.25 +H 1.103(ser ID of the current user).15 F 3.603(,i)-.4 G 1.103 +(nitialized at shell startup.)-3.603 F 1.104(This v)6.103 F 1.104 +(ariable is)-.25 F(readonly)144 468 Q(.)-.65 E F1(FUNCN)108 480 Q(AME) +-.2 E F0 .479(An array v)144 492 R .479 (ariable containing the names of all shell functions currently in the e) --.25 F -.15(xe)-.15 G .479(cution call stack.).15 F .277 -(The element with inde)144 384 R 2.777(x0i)-.15 G 2.777(st)-2.777 G .276 -(he name of an)-2.777 F 2.776(yc)-.15 G(urrently-e)-2.776 E -.15(xe)-.15 -G .276(cuting shell function.).15 F .276(The bottom-most)5.276 F .384 -(element \(the one with the highest inde)144 396 R .384(x\) is)-.15 F/F3 -10/Courier@0 SF("main")2.884 E F0 5.384(.T)C .384(his v)-5.384 F .385 -(ariable e)-.25 F .385(xists only when a shell func-)-.15 F .035 -(tion is e)144 408 R -.15(xe)-.15 G 2.535(cuting. Assignments).15 F(to) -2.535 E F2(FUNCN)2.535 E(AME)-.18 E F0(ha)2.285 E .335 -.15(ve n)-.2 H -2.535(oe).15 G -.25(ff)-2.535 G .035(ect and return an error status.).25 -F(If)5.034 E F2(FUNC-)2.534 E -.18(NA)144 420 S(ME).18 E F0 -(is unset, it loses its special properties, e)2.25 E -.15(ve)-.25 G 2.5 -(ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.) --2.5 E .11(This v)144 438 R .111(ariable can be used with)-.25 F F1 -.3 -(BA)2.611 G(SH_LINENO).3 E F0(and)2.611 E F1 -.3(BA)2.611 G(SH_SOURCE).3 -E F0 5.111(.E)C .111(ach element of)-5.111 F F1(FUNC-)2.611 E -.2(NA)144 -450 S(ME).2 E F0 1.404(has corresponding elements in)3.904 F F1 -.3(BA) -3.904 G(SH_LINENO).3 E F0(and)3.904 E F1 -.3(BA)3.904 G(SH_SOURCE).3 E -F0 1.404(to describe the)3.904 F .012(call stack.)144 462 R -.15(Fo) -5.012 G 2.512(ri).15 G(nstance,)-2.512 E F1(${FUNCN)2.512 E(AME[)-.2 E -/F4 10/Times-Italic@0 SF($i)A F1(]})A F0 -.1(wa)2.512 G 2.512(sc).1 G -.012(alled from the \214le)-2.512 F F1(${B)2.512 E(ASH_SOURCE[)-.3 E F4 -($i+1)A F1(]})A F0 1.184(at line number)144 474 R F1(${B)3.684 E -(ASH_LINENO[)-.3 E F4($i)A F1(]})A F0 6.184(.T)C(he)-6.184 E F1(caller) -3.683 E F0 -.2(bu)3.683 G 1.183 -(iltin displays the current call stack using).2 F(this information.)144 -486 Q F1(GR)108 498 Q(OUPS)-.3 E F0 1.228(An array v)144 510 R 1.228(ar\ -iable containing the list of groups of which the current user is a memb\ -er)-.25 F 6.229(.A)-.55 G(ssign-)-6.229 E .597(ments to)144 522 R F2(GR) -3.097 E(OUPS)-.27 E F0(ha)2.847 E .897 -.15(ve n)-.2 H 3.097(oe).15 G --.25(ff)-3.097 G .597(ect and return an error status.).25 F(If)5.597 E -F2(GR)3.097 E(OUPS)-.27 E F0 .597(is unset, it loses its spe-)2.847 F -(cial properties, e)144 534 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(fi)-2.5 G -2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.)-2.5 E F1(HISTCMD)108 546 -Q F0 .355(The history number)144 558 R 2.855(,o)-.4 G 2.855(ri)-2.855 G -(nde)-2.855 E 2.856(xi)-.15 G 2.856(nt)-2.856 G .356 -(he history list, of the current command.)-2.856 F(If)5.356 E F2 -(HISTCMD)2.856 E F0 .356(is unset, it)2.606 F -(loses its special properties, e)144 570 Q -.15(ve)-.25 G 2.5(ni).15 G +-.25 F -.15(xe)-.15 G .478(cution call stack.).15 F .276 +(The element with inde)144 504 R 2.776(x0i)-.15 G 2.776(st)-2.776 G .276 +(he name of an)-2.776 F 2.777(yc)-.15 G(urrently-e)-2.777 E -.15(xe)-.15 +G .277(cuting shell function.).15 F .277(The bottom-most)5.277 F .385 +(element \(the one with the highest inde)144 516 R .384(x\) is)-.15 F/F4 +10/Courier@0 SF("main")2.884 E F0 5.384(.T)C .384(his v)-5.384 F .384 +(ariable e)-.25 F .384(xists only when a shell func-)-.15 F .075 +(tion is e)144 528 R -.15(xe)-.15 G 2.575(cuting. Assignments).15 F(to) +2.575 E F3(FUNCN)2.575 E(AME)-.18 E F0(ha)2.325 E .376 -.15(ve n)-.2 H +2.576(oe).15 G -.25(ff)-2.576 G 2.576(ect. If).25 F F3(FUNCN)2.576 E +(AME)-.18 E F0 .076(is unset, it loses its)2.326 F +(special properties, e)144 540 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(fi)-2.5 +G 2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.)-2.5 E .111(This v)144 +558 R .111(ariable can be used with)-.25 F F1 -.3(BA)2.611 G(SH_LINENO) +.3 E F0(and)2.611 E F1 -.3(BA)2.611 G(SH_SOURCE).3 E F0 5.111(.E)C .111 +(ach element of)-5.111 F F1(FUNC-)2.61 E -.2(NA)144 570 S(ME).2 E F0 +1.404(has corresponding elements in)3.904 F F1 -.3(BA)3.904 G(SH_LINENO) +.3 E F0(and)3.904 E F1 -.3(BA)3.904 G(SH_SOURCE).3 E F0 1.404 +(to describe the)3.904 F .012(call stack.)144 582 R -.15(Fo)5.012 G +2.512(ri).15 G(nstance,)-2.512 E F1(${FUNCN)2.512 E(AME[)-.2 E F2($i)A +F1(]})A F0 -.1(wa)2.512 G 2.512(sc).1 G .012(alled from the \214le) +-2.512 F F1(${B)2.512 E(ASH_SOURCE[)-.3 E F2($i+1)A F1(]})A F0 1.183 +(at line number)144 594 R F1(${B)3.683 E(ASH_LINENO[)-.3 E F2($i)A F1 +(]})A F0 6.183(.T)C(he)-6.183 E F1(caller)3.683 E F0 -.2(bu)3.683 G +1.184(iltin displays the current call stack using).2 F +(this information.)144 606 Q F1(GR)108 618 Q(OUPS)-.3 E F0 1.229 +(An array v)144 630 R 1.228(ariable containing the list of groups of wh\ +ich the current user is a member)-.25 F 6.228(.A)-.55 G(ssign-)-6.228 E +.571(ments to)144 642 R F3(GR)3.071 E(OUPS)-.27 E F0(ha)2.822 E .872 +-.15(ve n)-.2 H 3.072(oe).15 G -.25(ff)-3.072 G 3.072(ect. If).25 F F3 +(GR)3.072 E(OUPS)-.27 E F0 .572 +(is unset, it loses its special properties, e)2.822 F -.15(ve)-.25 G +3.072(ni).15 G 3.072(fi)-3.072 G 3.072(ti)-3.072 G(s)-3.072 E +(subsequently reset.)144 654 Q F1(HISTCMD)108 666 Q F0 .356 +(The history number)144 678 R 2.856(,o)-.4 G 2.856(ri)-2.856 G(nde) +-2.856 E 2.856(xi)-.15 G 2.856(nt)-2.856 G .356 +(he history list, of the current command.)-2.856 F(If)5.356 E F3 +(HISTCMD)2.855 E F0 .355(is unset, it)2.605 F +(loses its special properties, e)144 690 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.)-2.5 E F1 -(HOSTN)108 582 Q(AME)-.2 E F0 -(Automatically set to the name of the current host.)144 594 Q F1 -(HOSTTYPE)108 606 Q F0 .223(Automatically set to a string that uniquely\ - describes the type of machine on which)144 618 R F1(bash)2.722 E F0 -.222(is e)2.722 F -.15(xe)-.15 G(cut-).15 E 2.5(ing. The)144 630 R(def) -2.5 E(ault is system-dependent.)-.1 E F1(LINENO)108 642 Q F0 1.408(Each\ - time this parameter is referenced, the shell substitutes a decimal num\ -ber representing the)144 654 R .078(current sequential line number \(st\ -arting with 1\) within a script or function.)144 666 R .078 -(When not in a script or)5.078 F .306(function, the v)144 678 R .306 -(alue substituted is not guaranteed to be meaningful.)-.25 F(If)5.307 E -F2(LINENO)2.807 E F0 .307(is unset, it loses its)2.557 F -(special properties, e)144 690 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(fi)-2.5 -G 2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.)-2.5 E F1(MA)108 702 Q -(CHTYPE)-.55 E F0 .898(Automatically set to a string that fully describ\ -es the system type on which)144 714 R F1(bash)3.398 E F0 .898(is e)3.398 -F -.15(xe)-.15 G .898(cuting, in).15 F(the standard GNU)144 726 Q F4 -(cpu-company-system)2.5 E F0 2.5(format. The)2.5 F(def)2.5 E -(ault is system-dependent.)-.1 E(GNU Bash 4.3)72 768 Q(2014 February 2) -141.79 E(12)190.95 E 0 Cg EP +(HOSTN)108 702 Q(AME)-.2 E F0 +(Automatically set to the name of the current host.)144 714 Q +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(12)192.055 E 0 Cg EP %%Page: 13 13 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(MAPFILE)108 84 Q F0 .293(An array v)144 96 -R .293(ariable \(see)-.25 F F1(Arrays)2.793 E F0(belo)2.793 E .293 -(w\) created to hold the te)-.25 F .294(xt read by the)-.15 F F1 -(map\214le)2.794 E F0 -.2(bu)2.794 G .294(iltin when no).2 F -.25(va)144 -108 S(riable name is supplied.).25 E F1(OLDPWD)108 120 Q F0(The pre)144 -132 Q(vious w)-.25 E(orking directory as set by the)-.1 E F1(cd)2.5 E F0 -(command.)2.5 E F1(OPT)108 144 Q(ARG)-.9 E F0 1.627(The v)144 156 R -1.627(alue of the last option ar)-.25 F 1.627(gument processed by the) --.18 F F1(getopts)4.127 E F0 -.2(bu)4.127 G 1.626(iltin command \(see).2 -F/F2 9/Times-Bold@0 SF(SHELL)4.126 E -.09(BU)144 168 S(IL).09 E -(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F1(OPTIND)108 180 Q F0 -1.651(The inde)144 192 R 4.151(xo)-.15 G 4.151(ft)-4.151 G 1.651(he ne) --4.151 F 1.651(xt ar)-.15 F 1.652(gument to be processed by the)-.18 F -F1(getopts)4.152 E F0 -.2(bu)4.152 G 1.652(iltin command \(see).2 F F2 -(SHELL)4.152 E -.09(BU)144 204 S(IL).09 E(TIN COMMANDS)-.828 E F0(belo) -2.25 E(w\).)-.25 E F1(OSTYPE)108 216 Q F0 .329(Automatically set to a s\ -tring that describes the operating system on which)144 228 R F1(bash) -2.829 E F0 .329(is e)2.829 F -.15(xe)-.15 G 2.829(cuting. The).15 F(def) -144 240 Q(ault is system-dependent.)-.1 E F1(PIPEST)108 252 Q -.95(AT) --.9 G(US).95 E F0 .61(An array v)144 264 R .61(ariable \(see)-.25 F F1 -(Arrays)3.11 E F0(belo)3.11 E .61(w\) containing a list of e)-.25 F .61 -(xit status v)-.15 F .61(alues from the processes in)-.25 F -(the most-recently-e)144 276 Q -.15(xe)-.15 G(cuted fore).15 E +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(HOSTTYPE)108 84 Q F0 .222(Automatically set to a string that uniquel\ +y describes the type of machine on which)144 96 R F1(bash)2.723 E F0 +.223(is e)2.723 F -.15(xe)-.15 G(cut-).15 E 2.5(ing. The)144 108 R(def) +2.5 E(ault is system-dependent.)-.1 E F1(LINENO)108 120 Q F0 1.408(Each\ + time this parameter is referenced, the shell substitutes a decimal num\ +ber representing the)144 132 R .078(current sequential line number \(st\ +arting with 1\) within a script or function.)144 144 R .079 +(When not in a script or)5.078 F .307(function, the v)144 156 R .307 +(alue substituted is not guaranteed to be meaningful.)-.25 F(If)5.306 E +/F2 9/Times-Bold@0 SF(LINENO)2.806 E F0 .306(is unset, it loses its) +2.556 F(special properties, e)144 168 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5 +(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.)-2.5 E F1(MA) +108 180 Q(CHTYPE)-.55 E F0 .898(Automatically set to a string that full\ +y describes the system type on which)144 192 R F1(bash)3.398 E F0 .899 +(is e)3.398 F -.15(xe)-.15 G .899(cuting, in).15 F(the standard GNU)144 +204 Q/F3 10/Times-Italic@0 SF(cpu-company-system)2.5 E F0 2.5 +(format. The)2.5 F(def)2.5 E(ault is system-dependent.)-.1 E F1(MAPFILE) +108 216 Q F0 .294(An array v)144 228 R .294(ariable \(see)-.25 F F1 +(Arrays)2.794 E F0(belo)2.794 E .294(w\) created to hold the te)-.25 F +.293(xt read by the)-.15 F F1(map\214le)2.793 E F0 -.2(bu)2.793 G .293 +(iltin when no).2 F -.25(va)144 240 S(riable name is supplied.).25 E F1 +(OLDPWD)108 252 Q F0(The pre)144 264 Q(vious w)-.25 E +(orking directory as set by the)-.1 E F1(cd)2.5 E F0(command.)2.5 E F1 +(OPT)108 276 Q(ARG)-.9 E F0 1.626(The v)144 288 R 1.627 +(alue of the last option ar)-.25 F 1.627(gument processed by the)-.18 F +F1(getopts)4.127 E F0 -.2(bu)4.127 G 1.627(iltin command \(see).2 F F2 +(SHELL)4.127 E -.09(BU)144 300 S(IL).09 E(TIN COMMANDS)-.828 E F0(belo) +2.25 E(w\).)-.25 E F1(OPTIND)108 312 Q F0 1.652(The inde)144 324 R 4.152 +(xo)-.15 G 4.152(ft)-4.152 G 1.652(he ne)-4.152 F 1.652(xt ar)-.15 F +1.652(gument to be processed by the)-.18 F F1(getopts)4.151 E F0 -.2(bu) +4.151 G 1.651(iltin command \(see).2 F F2(SHELL)4.151 E -.09(BU)144 336 +S(IL).09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F1(OSTYPE)108 +348 Q F0 .329(Automatically set to a string that describes the operatin\ +g system on which)144 360 R F1(bash)2.83 E F0 .33(is e)2.83 F -.15(xe) +-.15 G 2.83(cuting. The).15 F(def)144 372 Q(ault is system-dependent.) +-.1 E F1(PIPEST)108 384 Q -.95(AT)-.9 G(US).95 E F0 .61(An array v)144 +396 R .61(ariable \(see)-.25 F F1(Arrays)3.11 E F0(belo)3.11 E .61 +(w\) containing a list of e)-.25 F .61(xit status v)-.15 F .61 +(alues from the processes in)-.25 F(the most-recently-e)144 408 Q -.15 +(xe)-.15 G(cuted fore).15 E (ground pipeline \(which may contain only a single command\).)-.15 E F1 -(PPID)108 288 Q F0(The process ID of the shell')12.67 E 2.5(sp)-.55 G +(PPID)108 420 Q F0(The process ID of the shell')144 420 Q 2.5(sp)-.55 G 2.5(arent. This)-2.5 F -.25(va)2.5 G(riable is readonly).25 E(.)-.65 E -F1(PWD)108 300 Q F0(The current w)12.67 E +F1(PWD)108 432 Q F0(The current w)144 432 Q (orking directory as set by the)-.1 E F1(cd)2.5 E F0(command.)2.5 E F1 -(RANDOM)108 312 Q F0 .566 -(Each time this parameter is referenced, a random inte)144 324 R .565 -(ger between 0 and 32767 is generated.)-.15 F(The)5.565 E .01 -(sequence of random numbers may be initialized by assigning a v)144 336 -R .01(alue to)-.25 F F2(RANDOM)2.51 E/F3 9/Times-Roman@0 SF(.)A F0(If) +(RANDOM)108 444 Q F0 .565 +(Each time this parameter is referenced, a random inte)144 456 R .566 +(ger between 0 and 32767 is generated.)-.15 F(The)5.566 E .01 +(sequence of random numbers may be initialized by assigning a v)144 468 +R .01(alue to)-.25 F F2(RANDOM)2.51 E/F4 9/Times-Roman@0 SF(.)A F0(If) 4.51 E F2(RANDOM)2.51 E F0(is)2.26 E -(unset, it loses its special properties, e)144 348 Q -.15(ve)-.25 G 2.5 +(unset, it loses its special properties, e)144 480 Q -.15(ve)-.25 G 2.5 (ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.) --2.5 E F1(READLINE_LINE)108 360 Q F0 1.547(The contents of the)144 372 R +-2.5 E F1(READLINE_LINE)108 492 Q F0 1.546(The contents of the)144 504 R F1 -.18(re)4.047 G(adline).18 E F0 1.547(line b)4.047 F(uf)-.2 E(fer) --.25 E 4.047(,f)-.4 G 1.547(or use with)-4.047 F/F4 10/Courier@0 SF -1.547(bind -x)4.047 F F0(\(see)4.047 E F2 1.546(SHELL B)4.047 F(UIL)-.09 -E 1.546(TIN COM-)-.828 F(MANDS)144 384 Q F0(belo)2.25 E(w\).)-.25 E F1 -(READLINE_POINT)108 396 Q F0 .313 -(The position of the insertion point in the)144 408 R F1 -.18(re)2.813 G +-.25 E 4.047(,f)-.4 G 1.547(or use with)-4.047 F/F5 10/Courier@0 SF +1.547(bind -x)4.047 F F0(\(see)4.047 E F2 1.547(SHELL B)4.047 F(UIL)-.09 +E 1.547(TIN COM-)-.828 F(MANDS)144 516 Q F0(belo)2.25 E(w\).)-.25 E F1 +(READLINE_POINT)108 528 Q F0 .314 +(The position of the insertion point in the)144 540 R F1 -.18(re)2.813 G (adline).18 E F0 .313(line b)2.813 F(uf)-.2 E(fer)-.25 E 2.813(,f)-.4 G -.313(or use with)-2.813 F F4 .314(bind -x)2.814 F F0(\(see)2.814 E F2 -(SHELL)2.814 E -.09(BU)144 420 S(IL).09 E(TIN COMMANDS)-.828 E F0(belo) -2.25 E(w\).)-.25 E F1(REPL)108 432 Q(Y)-.92 E F0 -(Set to the line of input read by the)144 444 Q F1 -.18(re)2.5 G(ad).18 +.313(or use with)-2.813 F F5 .313(bind -x)2.813 F F0(\(see)2.813 E F2 +(SHELL)2.813 E -.09(BU)144 552 S(IL).09 E(TIN COMMANDS)-.828 E F0(belo) +2.25 E(w\).)-.25 E F1(REPL)108 564 Q(Y)-.92 E F0 +(Set to the line of input read by the)144 576 Q F1 -.18(re)2.5 G(ad).18 E F0 -.2(bu)2.5 G(iltin command when no ar).2 E(guments are supplied.) --.18 E F1(SECONDS)108 456 Q F0 .795(Each time this parameter is referen\ -ced, the number of seconds since shell in)144 468 R -.2(vo)-.4 G .795 -(cation is returned.).2 F .712(If a v)144 480 R .712 -(alue is assigned to)-.25 F F2(SECONDS)3.212 E F3(,)A F0 .712(the v) +-.18 E F1(SECONDS)108 588 Q F0 .795(Each time this parameter is referen\ +ced, the number of seconds since shell in)144 600 R -.2(vo)-.4 G .795 +(cation is returned.).2 F .713(If a v)144 612 R .712 +(alue is assigned to)-.25 F F2(SECONDS)3.212 E F4(,)A F0 .712(the v) 2.962 F .712(alue returned upon subsequent references is the number)-.25 -F .408(of seconds since the assignment plus the v)144 492 R .408 -(alue assigned.)-.25 F(If)5.408 E F2(SECONDS)2.908 E F0 .407 -(is unset, it loses its special)2.658 F(properties, e)144 504 Q -.15(ve) +F .407(of seconds since the assignment plus the v)144 624 R .408 +(alue assigned.)-.25 F(If)5.408 E F2(SECONDS)2.908 E F0 .408 +(is unset, it loses its special)2.658 F(properties, e)144 636 Q -.15(ve) -.25 G 2.5(ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G -(ubsequently reset.)-2.5 E F1(SHELLOPTS)108 516 Q F0 3.262(Ac)144 528 S -.763(olon-separated list of enabled shell options.)-3.262 F .763(Each w) +(ubsequently reset.)-2.5 E F1(SHELLOPTS)108 648 Q F0 3.263(Ac)144 660 S +.763(olon-separated list of enabled shell options.)-3.263 F .763(Each w) 5.763 F .763(ord in the list is a v)-.1 F .763(alid ar)-.25 F .763 -(gument for the)-.18 F F1144 540 Q F0 1.174(option to the)3.674 F -F1(set)3.674 E F0 -.2(bu)3.674 G 1.174(iltin command \(see).2 F F2 1.173 -(SHELL B)3.673 F(UIL)-.09 E 1.173(TIN COMMANDS)-.828 F F0(belo)3.423 E -3.673(w\). The)-.25 F(options)3.673 E .019(appearing in)144 552 R F2 -(SHELLOPTS)2.519 E F0 .019(are those reported as)2.269 F/F5 10 -/Times-Italic@0 SF(on)2.749 E F0(by)2.759 E F1 .019(set \255o)2.519 F F0 -5.019(.I)C 2.519(ft)-5.019 G .019(his v)-2.519 F .02 -(ariable is in the en)-.25 F(vironment)-.4 E(when)144 564 Q F1(bash) -3.142 E F0 .642(starts up, each shell option in the list will be enable\ -d before reading an)3.142 F 3.141(ys)-.15 G .641(tartup \214les.)-3.141 -F(This v)144 576 Q(ariable is read-only)-.25 E(.)-.65 E F1(SHL)108 588 Q -(VL)-.92 E F0(Incremented by one each time an instance of)144 600 Q F1 -(bash)2.5 E F0(is started.)2.5 E F1(UID)108 612 Q F0 -(Expands to the user ID of the current user)17.67 E 2.5(,i)-.4 G +(gument for the)-.18 F F1144 672 Q F0 1.173(option to the)3.673 F +F1(set)3.673 E F0 -.2(bu)3.673 G 1.173(iltin command \(see).2 F F2 1.174 +(SHELL B)3.674 F(UIL)-.09 E 1.174(TIN COMMANDS)-.828 F F0(belo)3.424 E +3.674(w\). The)-.25 F(options)3.674 E .02(appearing in)144 684 R F2 +(SHELLOPTS)2.52 E F0 .019(are those reported as)2.27 F F3(on)2.749 E F0 +(by)2.759 E F1 .019(set \255o)2.519 F F0 5.019(.I)C 2.519(ft)-5.019 G +.019(his v)-2.519 F .019(ariable is in the en)-.25 F(vironment)-.4 E +(when)144 696 Q F1(bash)3.141 E F0 .642(starts up, each shell option in\ + the list will be enabled before reading an)3.141 F 3.142(ys)-.15 G .642 +(tartup \214les.)-3.142 F(This v)144 708 Q(ariable is read-only)-.25 E +(.)-.65 E(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(13)192.055 E 0 +Cg EP +%%Page: 14 14 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(SHL)108 84 Q(VL)-.92 E F0 +(Incremented by one each time an instance of)144 96 Q F1(bash)2.5 E F0 +(is started.)2.5 E F1(UID)108 108 Q F0 +(Expands to the user ID of the current user)144 108 Q 2.5(,i)-.4 G (nitialized at shell startup.)-2.5 E(This v)5 E(ariable is readonly)-.25 -E(.)-.65 E .993(The follo)108 628.8 R .993(wing v)-.25 F .994 +E(.)-.65 E .994(The follo)108 124.8 R .994(wing v)-.25 F .994 (ariables are used by the shell.)-.25 F .994(In some cases,)5.994 F F1 -(bash)3.494 E F0 .994(assigns a def)3.494 F .994(ault v)-.1 F .994 -(alue to a v)-.25 F(ariable;)-.25 E(these cases are noted belo)108 640.8 -Q -.65(w.)-.25 G F1 -.3(BA)108 657.6 S(SH_COMP).3 E -.95(AT)-.74 G F0 -1.193(The v)144 669.6 R 1.193(alue is used to set the shell')-.25 F -3.693(sc)-.55 G 1.192(ompatibility le)-3.693 F -.15(ve)-.25 G 3.692 -(l. See).15 F 1.192(the description of the)3.692 F F1(shopt)3.692 E F0 --.2(bu)3.692 G(iltin).2 E(belo)144 681.6 Q 2.871(wu)-.25 G(nder)-2.871 E -F1 .371(SHELL B)2.871 F(UIL)-.1 E .371(TIN COMMANDS)-.92 F F0 .372 -(for a description of the v)2.872 F .372(arious compatibility le)-.25 F -(v-)-.25 E .361(els and their ef)144 693.6 R 2.861(fects. The)-.25 F --.25(va)2.861 G .361 -(lue may be a decimal number \(e.g., 4.2\) or an inte).25 F .36 -(ger \(e.g., 42\) corre-)-.15 F 1.75 -(sponding to the desired compatibility le)144 705.6 R -.15(ve)-.25 G -4.251(l. If).15 F F1 -.3(BA)4.251 G(SH_COMP).3 E -.95(AT)-.74 G F0 1.751 +(bash)3.494 E F0 .994(assigns a def)3.494 F .994(ault v)-.1 F .993 +(alue to a v)-.25 F(ariable;)-.25 E(these cases are noted belo)108 136.8 +Q -.65(w.)-.25 G F1 -.3(BA)108 153.6 S(SH_COMP).3 E -.95(AT)-.74 G F0 +1.192(The v)144 165.6 R 1.192(alue is used to set the shell')-.25 F +3.692(sc)-.55 G 1.193(ompatibility le)-3.692 F -.15(ve)-.25 G 3.693 +(l. See).15 F 1.193(the description of the)3.693 F F1(shopt)3.693 E F0 +-.2(bu)3.693 G(iltin).2 E(belo)144 177.6 Q 2.872(wu)-.25 G(nder)-2.872 E +F1 .372(SHELL B)2.872 F(UIL)-.1 E .372(TIN COMMANDS)-.92 F F0 .372 +(for a description of the v)2.872 F .371(arious compatibility le)-.25 F +(v-)-.25 E .36(els and their ef)144 189.6 R 2.86(fects. The)-.25 F -.25 +(va)2.86 G .361(lue may be a decimal number \(e.g., 4.2\) or an inte).25 +F .361(ger \(e.g., 42\) corre-)-.15 F 1.751 +(sponding to the desired compatibility le)144 201.6 R -.15(ve)-.25 G +4.251(l. If).15 F F1 -.3(BA)4.251 G(SH_COMP).3 E -.95(AT)-.74 G F0 1.75 (is unset or set to the empty)5.201 F .578(string, the compatibility le) -144 717.6 R -.15(ve)-.25 G 3.078(li).15 G 3.078(ss)-3.078 G .578 +144 213.6 R -.15(ve)-.25 G 3.078(li).15 G 3.078(ss)-3.078 G .578 (et to the def)-3.078 F .578(ault for the current v)-.1 F 3.078 (ersion. If)-.15 F F1 -.3(BA)3.078 G(SH_COMP).3 E -.95(AT)-.74 G F0(is) -4.028 E .248(set to a v)144 729.6 R .248(alue that is not one of the v) --.25 F .248(alid compatibility le)-.25 F -.15(ve)-.25 G .249 -(ls, the shell prints an error message and).15 F(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(13)190.95 E 0 Cg EP -%%Page: 14 14 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E 1.12(sets the compatibility le)144 84 R -.15(ve)-.25 G 3.62(lt) -.15 G 3.619(ot)-3.62 G 1.119(he def)-3.619 F 1.119 -(ault for the current v)-.1 F 3.619(ersion. The)-.15 F -.25(va)3.619 G -1.119(lid compatibility le).25 F -.15(ve)-.25 G(ls).15 E .575 -(correspond to the compatibility options accepted by the)144 96 R/F1 10 -/Times-Bold@0 SF(shopt)3.075 E F0 -.2(bu)3.076 G .576 -(iltin described belo).2 F 3.076(w\()-.25 G .576(for e)-3.076 F(xam-) --.15 E(ple,)144 108 Q F1(compat42)2.5 E F0(means that 4.2 and 42 are v) -2.5 E(alid v)-.25 E 2.5(alues\). The)-.25 F(current v)2.5 E -(ersion is also a v)-.15 E(alid v)-.25 E(alue.)-.25 E F1 -.3(BA)108 120 -S(SH_ENV).3 E F0 .506(If this parameter is set when)144 132 R F1(bash) -3.006 E F0 .506(is e)3.006 F -.15(xe)-.15 G .505 -(cuting a shell script, its v).15 F .505 -(alue is interpreted as a \214lename)-.25 F .354 -(containing commands to initialize the shell, as in)144 144 R/F2 10 -/Times-Italic@0 SF(~/.bashr)2.855 E(c)-.37 E F0 5.355(.T).31 G .355 -(he v)-5.355 F .355(alue of)-.25 F/F3 9/Times-Bold@0 SF -.27(BA)2.855 G -(SH_ENV).27 E F0 .355(is subjected)2.605 F .525(to parameter e)144 156 R -.525(xpansion, command substitution, and arithmetic e)-.15 F .525 -(xpansion before being interpreted)-.15 F(as a \214lename.)144 168 Q F3 --.666(PA)5 G(TH)-.189 E F0 +4.028 E .249(set to a v)144 225.6 R .249(alue that is not one of the v) +-.25 F .248(alid compatibility le)-.25 F -.15(ve)-.25 G .248 +(ls, the shell prints an error message and).15 F 1.119 +(sets the compatibility le)144 237.6 R -.15(ve)-.25 G 3.619(lt).15 G +3.619(ot)-3.619 G 1.119(he def)-3.619 F 1.119(ault for the current v)-.1 +F 3.62(ersion. The)-.15 F -.25(va)3.62 G 1.12(lid compatibility le).25 F +-.15(ve)-.25 G(ls).15 E .576 +(correspond to the compatibility options accepted by the)144 249.6 R F1 +(shopt)3.075 E F0 -.2(bu)3.075 G .575(iltin described belo).2 F 3.075 +(w\()-.25 G .575(for e)-3.075 F(xam-)-.15 E(ple,)144 261.6 Q F1 +(compat42)2.5 E F0(means that 4.2 and 42 are v)2.5 E(alid v)-.25 E 2.5 +(alues\). The)-.25 F(current v)2.5 E(ersion is also a v)-.15 E(alid v) +-.25 E(alue.)-.25 E F1 -.3(BA)108 273.6 S(SH_ENV).3 E F0 .505 +(If this parameter is set when)144 285.6 R F1(bash)3.005 E F0 .505(is e) +3.005 F -.15(xe)-.15 G .506(cuting a shell script, its v).15 F .506 +(alue is interpreted as a \214lename)-.25 F .355 +(containing commands to initialize the shell, as in)144 297.6 R/F2 10 +/Times-Italic@0 SF(~/.bashr)2.855 E(c)-.37 E F0 5.354(.T).31 G .354 +(he v)-5.354 F .354(alue of)-.25 F/F3 9/Times-Bold@0 SF -.27(BA)2.854 G +(SH_ENV).27 E F0 .354(is subjected)2.604 F .525(to parameter e)144 309.6 +R .525(xpansion, command substitution, and arithmetic e)-.15 F .525 +(xpansion before being interpreted)-.15 F(as a \214lename.)144 321.6 Q +F3 -.666(PA)5 G(TH)-.189 E F0 (is not used to search for the resultant \214lename.)2.25 E F1 -.3(BA) -108 180 S(SH_XTRA).3 E(CEFD)-.55 E F0 .48(If set to an inte)144 192 R -.48(ger corresponding to a v)-.15 F .481(alid \214le descriptor)-.25 F -(,)-.4 E F1(bash)2.981 E F0 .481(will write the trace output gener)2.981 -F(-)-.2 E 3.114(ated when)144 204 R/F4 10/Courier@0 SF 3.114(set -x) +108 333.6 S(SH_XTRA).3 E(CEFD)-.55 E F0 .481(If set to an inte)144 345.6 +R .481(ger corresponding to a v)-.15 F .481(alid \214le descriptor)-.25 +F(,)-.4 E F1(bash)2.98 E F0 .48(will write the trace output gener)2.98 F +(-)-.2 E 3.114(ated when)144 357.6 R/F4 10/Courier@0 SF 3.114(set -x) 5.614 F F0 3.114(is enabled to that \214le descriptor)5.614 F 8.114(.T) -.55 G 3.114(he \214le descriptor is closed when)-8.114 F F3 -.27(BA)144 -216 S(SH_XTRA).27 E(CEFD)-.495 E F0 .138(is unset or assigned a ne)2.388 -F 2.638(wv)-.25 G 2.638(alue. Unsetting)-2.888 F F3 -.27(BA)2.638 G -(SH_XTRA).27 E(CEFD)-.495 E F0 .138(or assigning it)2.388 F 2.531(the e\ -mpty string causes the trace output to be sent to the standard error)144 -228 R 7.53(.N)-.55 G 2.53(ote that setting)-7.53 F F3 -.27(BA)144 240 S -(SH_XTRA).27 E(CEFD)-.495 E F0 .74(to 2 \(the standard error \214le des\ -criptor\) and then unsetting it will result in the)2.99 F -(standard error being closed.)144 252 Q F1(CDP)108 264 Q -.95(AT)-.74 G -(H).95 E F0 1.248(The search path for the)144 276 R F1(cd)3.748 E F0 -3.748(command. This)3.748 F 1.247 -(is a colon-separated list of directories in which the)3.748 F 3.795 -(shell looks for destination directories speci\214ed by the)144 288 R F1 -(cd)6.295 E F0 6.296(command. A)6.296 F 3.796(sample v)6.296 F 3.796 -(alue is)-.25 F F4(".:~:/usr")144 300 Q F0(.)A F1(CHILD_MAX)108 312 Q F0 -.997(Set the number of e)144 324 R .997(xited child status v)-.15 F .997 -(alues for the shell to remember)-.25 F 5.997(.B)-.55 G .997 -(ash will not allo)-5.997 F 3.497(wt)-.25 G(his)-3.497 E -.25(va)144 336 -S 1.077(lue to be decreased belo).25 F 3.577(waP)-.25 G 1.077 -(OSIX-mandated minimum, and there is a maximum v)-3.577 F 1.078 -(alue \(cur)-.25 F(-)-.2 E(rently 8192\) that this may not e)144 348 Q +369.6 S(SH_XTRA).27 E(CEFD)-.495 E F0 .138(is unset or assigned a ne) +2.388 F 2.638(wv)-.25 G 2.638(alue. Unsetting)-2.888 F F3 -.27(BA)2.638 +G(SH_XTRA).27 E(CEFD)-.495 E F0 .138(or assigning it)2.388 F 2.531(the \ +empty string causes the trace output to be sent to the standard error) +144 381.6 R 7.531(.N)-.55 G 2.531(ote that setting)-7.531 F F3 -.27(BA) +144 393.6 S(SH_XTRA).27 E(CEFD)-.495 E F0 .74(to 2 \(the standard error\ + \214le descriptor\) and then unsetting it will result in the)2.991 F +(standard error being closed.)144 405.6 Q F1(CDP)108 417.6 Q -.95(AT) +-.74 G(H).95 E F0 1.247(The search path for the)144 429.6 R F1(cd)3.747 +E F0 3.747(command. This)3.747 F 1.248 +(is a colon-separated list of directories in which the)3.747 F 3.796 +(shell looks for destination directories speci\214ed by the)144 441.6 R +F1(cd)6.295 E F0 6.295(command. A)6.295 F 3.795(sample v)6.295 F 3.795 +(alue is)-.25 F F4(".:~:/usr")144 453.6 Q F0(.)A F1(CHILD_MAX)108 465.6 +Q F0 .997(Set the number of e)144 477.6 R .997(xited child status v)-.15 +F .997(alues for the shell to remember)-.25 F 5.997(.B)-.55 G .997 +(ash will not allo)-5.997 F 3.498(wt)-.25 G(his)-3.498 E -.25(va)144 +489.6 S 1.078(lue to be decreased belo).25 F 3.577(waP)-.25 G 1.077 +(OSIX-mandated minimum, and there is a maximum v)-3.577 F 1.077 +(alue \(cur)-.25 F(-)-.2 E(rently 8192\) that this may not e)144 501.6 Q 2.5(xceed. The)-.15 F(minimum v)2.5 E(alue is system-dependent.)-.25 E -F1(COLUMNS)108 360 Q F0 .829(Used by the)144 372 R F1(select)3.329 E F0 -.828(compound command to determine the terminal width when printing sel\ -ection)3.329 F 4.506(lists. Automatically)144 384 R 2.006(set if the) -4.506 F F1(checkwinsize)4.506 E F0 2.007 -(option is enabled or in an interacti)4.506 F 2.307 -.15(ve s)-.25 H -2.007(hell upon).15 F(receipt of a)144 396 Q F3(SIGWINCH)2.5 E/F5 9 -/Times-Roman@0 SF(.)A F1(COMPREPL)108 408 Q(Y)-.92 E F0 .848(An array v) -144 420 R .848(ariable from which)-.25 F F1(bash)3.348 E F0 .848 -(reads the possible completions generated by a shell function)3.348 F -(in)144 432 Q -.2(vo)-.4 G -.1(ke).2 G 2.785(db).1 G 2.785(yt)-2.785 G -.285(he programmable completion f)-2.785 F .285(acility \(see)-.1 F F1 -(Pr)2.785 E .285(ogrammable Completion)-.18 F F0(belo)2.785 E 2.785 -(w\). Each)-.25 F(array element contains one possible completion.)144 -444 Q F1(EMA)108 456 Q(CS)-.55 E F0(If)144 468 Q F1(bash)2.536 E F0 .036 -(\214nds this v)2.536 F .036(ariable in the en)-.25 F .036 -(vironment when the shell starts with v)-.4 F(alue)-.25 E F4(t)2.535 E -F0 2.535(,i)C 2.535(ta)-2.535 G .035(ssumes that the)-2.535 F -(shell is running in an Emacs shell b)144 480 Q(uf)-.2 E -(fer and disables line editing.)-.25 E F1(ENV)108 492 Q F0(Similar to) -14.89 E F3 -.27(BA)2.5 G(SH_ENV).27 E F5(;)A F0 +F1(COLUMNS)108 513.6 Q F0 .828(Used by the)144 525.6 R F1(select)3.328 E +F0 .829(compound command to determine the terminal width when printing \ +selection)3.328 F 4.507(lists. Automatically)144 537.6 R 2.007 +(set if the)4.507 F F1(checkwinsize)4.507 E F0 2.006 +(option is enabled or in an interacti)4.507 F 2.306 -.15(ve s)-.25 H +2.006(hell upon).15 F(receipt of a)144 549.6 Q F3(SIGWINCH)2.5 E/F5 9 +/Times-Roman@0 SF(.)A F1(COMPREPL)108 561.6 Q(Y)-.92 E F0 .847 +(An array v)144 573.6 R .848(ariable from which)-.25 F F1(bash)3.348 E +F0 .848(reads the possible completions generated by a shell function) +3.348 F(in)144 585.6 Q -.2(vo)-.4 G -.1(ke).2 G 2.785(db).1 G 2.785(yt) +-2.785 G .285(he programmable completion f)-2.785 F .285(acility \(see) +-.1 F F1(Pr)2.785 E .285(ogrammable Completion)-.18 F F0(belo)2.785 E +2.785(w\). Each)-.25 F(array element contains one possible completion.) +144 597.6 Q F1(EMA)108 609.6 Q(CS)-.55 E F0(If)144 621.6 Q F1(bash)2.535 +E F0 .035(\214nds this v)2.535 F .035(ariable in the en)-.25 F .036 +(vironment when the shell starts with v)-.4 F(alue)-.25 E F4(t)2.536 E +F0 2.536(,i)C 2.536(ta)-2.536 G .036(ssumes that the)-2.536 F +(shell is running in an Emacs shell b)144 633.6 Q(uf)-.2 E +(fer and disables line editing.)-.25 E F1(ENV)108 645.6 Q F0(Similar to) +144 645.6 Q F3 -.27(BA)2.5 G(SH_ENV).27 E F5(;)A F0 (used when the shell is in)2.25 E -.2(vo)-.4 G -.1(ke).2 G 2.5(di).1 G -2.5(nP)-2.5 G(OSIX mode.)-2.5 E F1(FCEDIT)108 504 Q F0(The def)144 516 Q -(ault editor for the)-.1 E F1(fc)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 -E F1(FIGNORE)108 528 Q F0 2.598(Ac)144 540 S .098 -(olon-separated list of suf)-2.598 F<8c78>-.25 E .098 -(es to ignore when performing \214lename completion \(see)-.15 F F3 -(READLINE)2.599 E F0(belo)144 552 Q 2.705(w\). A)-.25 F .205 -(\214lename whose suf)2.705 F .205(\214x matches one of the entries in) --.25 F F3(FIGNORE)2.705 E F0 .205(is e)2.455 F .204 -(xcluded from the list)-.15 F(of matched \214lenames.)144 564 Q 2.5(As)5 -G(ample v)-2.5 E(alue is)-.25 E F4(".o:~")2.5 E F0(.)A F1(FUNCNEST)108 -576 Q F0 1.78(If set to a numeric v)144 588 R 1.78 -(alue greater than 0, de\214nes a maximum function nesting le)-.25 F --.15(ve)-.25 G 4.28(l. Function).15 F(in)144 600 Q -.2(vo)-.4 G -(cations that e).2 E(xceed this nesting le)-.15 E -.15(ve)-.25 G 2.5(lw) -.15 G(ill cause the current command to abort.)-2.5 E F1(GLOBIGNORE)108 -612 Q F0 3.118(Ac)144 624 S .618(olon-separated list of patterns de\214\ -ning the set of \214lenames to be ignored by pathname e)-3.118 F(xpan-) --.15 E 3.131(sion. If)144 636 R 3.132<618c>3.131 G .632 -(lename matched by a pathname e)-3.132 F .632 -(xpansion pattern also matches one of the patterns in)-.15 F F3 -(GLOBIGNORE)144 648 Q F5(,)A F0(it is remo)2.25 E -.15(ve)-.15 G 2.5(df) -.15 G(rom the list of matches.)-2.5 E F1(HISTCONTR)108 660 Q(OL)-.3 E F0 -2.654(Ac)144 672 S .153(olon-separated list of v)-2.654 F .153 -(alues controlling ho)-.25 F 2.653(wc)-.25 G .153(ommands are sa)-2.653 -F -.15(ve)-.2 G 2.653(do).15 G 2.653(nt)-2.653 G .153(he history list.) --2.653 F .153(If the list)5.153 F .49(of v)144 684 R .49(alues includes) --.25 F F2(ignor)2.99 E(espace)-.37 E F0 2.99(,l).18 G .49(ines which be) --2.99 F .491(gin with a)-.15 F F1(space)2.991 E F0 .491 -(character are not sa)2.991 F -.15(ve)-.2 G 2.991(di).15 G 2.991(nt) --2.991 G .491(he his-)-2.991 F .558(tory list.)144 696 R 3.058(Av)5.558 -G .558(alue of)-3.308 F F2(ignor)3.068 E(edups)-.37 E F0 .558 -(causes lines matching the pre)3.328 F .557 -(vious history entry to not be sa)-.25 F -.15(ve)-.2 G(d.).15 E 2.958 -(Av)144 708 S .458(alue of)-3.208 F F2(ignor)2.968 E(eboth)-.37 E F0 -.458(is shorthand for)3.238 F F2(ignor)2.959 E(espace)-.37 E F0(and) -2.959 E F2(ignor)2.959 E(edups)-.37 E F0 5.459(.A)C -.25(va)-2.5 G .459 -(lue of).25 F F2(er)2.959 E(asedups)-.15 E F0(causes)2.959 E .699 -(all pre)144 720 R .698 -(vious lines matching the current line to be remo)-.25 F -.15(ve)-.15 G -3.198(df).15 G .698(rom the history list before that line is)-3.198 F -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(14)190.95 E 0 Cg EP +2.5(nP)-2.5 G(OSIX mode.)-2.5 E F1(EXECIGNORE)108 657.6 Q F0 2.717(Ac) +144 669.6 S .217(olon-separated list of shell patterns \(see)-2.717 F F1 +-.1(Pa)2.717 G(tter).1 E 2.717(nM)-.15 G(atching)-2.717 E F0 2.717(\)d)C +.216(e\214ning the list of \214lenames to be)-2.717 F .116 +(ignored by command search using)144 681.6 R F1 -.74(PA)2.616 G(TH)-.21 +E F0 5.116(.F)C .117 +(iles whose full pathnames match one of these patterns)-5.116 F 1.433 +(are not considered e)144 693.6 R -.15(xe)-.15 G 1.432 +(cutable \214les for the purposes of completion and command e).15 F -.15 +(xe)-.15 G 1.432(cution via).15 F F1 -.74(PA)144 705.6 S(TH)-.21 E F0 +2.908(lookup. This)2.908 F .408(does not af)2.908 F .408(fect the beha) +-.25 F .408(vior of the)-.2 F F1([)2.908 E F0(,)A F1(test)2.908 E F0 +2.908(,a)C(nd)-2.908 E F1([[)2.908 E F0 2.909(commands. Full)2.908 F +(pathnames)2.909 E .364(in the command hash table are not subject to)144 +717.6 R F1(EXECIGNORE)2.864 E F0 5.364(.U)C .364(se this v)-5.364 F .364 +(ariable to ignore shared)-.25 F 1.37(library \214les that ha)144 729.6 +R 1.67 -.15(ve t)-.2 H 1.37(he e).15 F -.15(xe)-.15 G 1.37 +(cutable bit set, b).15 F 1.37(ut are not e)-.2 F -.15(xe)-.15 G 1.37 +(cutable \214les.).15 F 1.37(The pattern matching)6.37 F(GNU Bash 4.4)72 +768 Q(2016 August 26)142.895 E(14)192.055 E 0 Cg EP %%Page: 15 15 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(sa)144 84 Q -.15(ve)-.2 G 2.763(d. An).15 F 2.763(yv)-.15 G .263 -(alue not in the abo)-3.013 F .563 -.15(ve l)-.15 H .263 -(ist is ignored.).15 F(If)5.263 E/F1 9/Times-Bold@0 SF(HISTCONTR)2.763 E -(OL)-.27 E F0 .264(is unset, or does not include)2.513 F 2.942(av)144 96 -S .442(alid v)-3.192 F .442 -(alue, all lines read by the shell parser are sa)-.25 F -.15(ve)-.2 G -2.941(do).15 G 2.941(nt)-2.941 G .441(he history list, subject to the v) --2.941 F .441(alue of)-.25 F F1(HISTIGNORE)144 108 Q/F2 9/Times-Roman@0 -SF(.)A F0 1.981(The second and subsequent lines of a multi-line compoun\ -d command are not)6.481 F(tested, and are added to the history re)144 -120 Q -.05(ga)-.15 G(rdless of the v).05 E(alue of)-.25 E F1(HISTCONTR) -2.5 E(OL)-.27 E F2(.)A/F3 10/Times-Bold@0 SF(HISTFILE)108 132 Q F0 .181 -(The name of the \214le in which command history is sa)144 144 R -.15 -(ve)-.2 G 2.681(d\().15 G(see)-2.681 E F1(HIST)2.681 E(OR)-.162 E(Y) --.315 E F0(belo)2.431 E 2.681(w\). The)-.25 F(def)2.681 E .181(ault v) --.1 F(alue)-.25 E(is)144 156 Q/F4 10/Times-Italic@0 SF(~/.bash_history) -2.5 E F0 5(.I)C 2.5(fu)-5 G(nset, the command history is not sa)-2.5 E --.15(ve)-.2 G 2.5(dw).15 G(hen a shell e)-2.5 E(xits.)-.15 E F3 -(HISTFILESIZE)108 168 Q F0 1.622 -(The maximum number of lines contained in the history \214le.)144 180 R -1.623(When this v)6.623 F 1.623(ariable is assigned a)-.25 F -.25(va)144 -192 S .932(lue, the history \214le is truncated, if necessary).25 F -3.432(,t)-.65 G 3.432(oc)-3.432 G .932 -(ontain no more than that number of lines by)-3.432 F(remo)144 204 Q .87 -(ving the oldest entries.)-.15 F .871(The history \214le is also trunca\ -ted to this size after writing it when a)5.87 F 1.245(shell e)144 216 R -3.745(xits. If)-.15 F 1.244(the v)3.744 F 1.244 -(alue is 0, the history \214le is truncated to zero size.)-.25 F 1.244 -(Non-numeric v)6.244 F 1.244(alues and)-.25 F 1.021(numeric v)144 228 R +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E +(honors the setting of the)144 84 Q/F1 10/Times-Bold@0 SF(extglob)2.5 E +F0(shell option.)2.5 E F1(FCEDIT)108 96 Q F0(The def)144 108 Q +(ault editor for the)-.1 E F1(fc)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 +E F1(FIGNORE)108 120 Q F0 2.599(Ac)144 132 S .098 +(olon-separated list of suf)-2.599 F<8c78>-.25 E .098 +(es to ignore when performing \214lename completion \(see)-.15 F/F2 9 +/Times-Bold@0 SF(READLINE)2.598 E F0(belo)144 144 Q 2.704(w\). A)-.25 F +.204(\214lename whose suf)2.704 F .205 +(\214x matches one of the entries in)-.25 F F2(FIGNORE)2.705 E F0 .205 +(is e)2.455 F .205(xcluded from the list)-.15 F(of matched \214lenames.) +144 156 Q 2.5(As)5 G(ample v)-2.5 E(alue is)-.25 E/F3 10/Courier@0 SF +(".o:~")2.5 E F0(.)A F1(FUNCNEST)108 168 Q F0 .231 +(If set to a numeric v)144 180 R .231 +(alue greater than 0, de\214nes a maximum function nesting le)-.25 F +-.15(ve)-.25 G 2.73(l. Function).15 F(in)2.73 E -.2(vo)-.4 G(-).2 E +(cations that e)144 192 Q(xceed this nesting le)-.15 E -.15(ve)-.25 G +2.5(lw).15 G(ill cause the current command to abort.)-2.5 E F1 +(GLOBIGNORE)108 204 Q F0 3.118(Ac)144 216 S .618(olon-separated list of\ + patterns de\214ning the set of \214lenames to be ignored by pathname e) +-3.118 F(xpan-)-.15 E 3.132(sion. If)144 228 R 3.132<618c>3.132 G .632 +(lename matched by a pathname e)-3.132 F .632 +(xpansion pattern also matches one of the patterns in)-.15 F F2 +(GLOBIGNORE)144 240 Q/F4 9/Times-Roman@0 SF(,)A F0(it is remo)2.25 E +-.15(ve)-.15 G 2.5(df).15 G(rom the list of matches.)-2.5 E F1 +(HISTCONTR)108 252 Q(OL)-.3 E F0 2.653(Ac)144 264 S .153 +(olon-separated list of v)-2.653 F .153(alues controlling ho)-.25 F +2.653(wc)-.25 G .153(ommands are sa)-2.653 F -.15(ve)-.2 G 2.653(do).15 +G 2.653(nt)-2.653 G .153(he history list.)-2.653 F .154(If the list) +5.153 F .491(of v)144 276 R .491(alues includes)-.25 F/F5 10 +/Times-Italic@0 SF(ignor)2.991 E(espace)-.37 E F0 2.991(,l).18 G .491 +(ines which be)-2.991 F .491(gin with a)-.15 F F1(space)2.991 E F0 .49 +(character are not sa)2.991 F -.15(ve)-.2 G 2.99(di).15 G 2.99(nt)-2.99 +G .49(he his-)-2.99 F .557(tory list.)144 288 R 3.057(Av)5.557 G .557 +(alue of)-3.307 F F5(ignor)3.067 E(edups)-.37 E F0 .557 +(causes lines matching the pre)3.327 F .558 +(vious history entry to not be sa)-.25 F -.15(ve)-.2 G(d.).15 E 2.959 +(Av)144 300 S .459(alue of)-3.209 F F5(ignor)2.969 E(eboth)-.37 E F0 +.459(is shorthand for)3.239 F F5(ignor)2.959 E(espace)-.37 E F0(and) +2.959 E F5(ignor)2.958 E(edups)-.37 E F0 5.458(.A)C -.25(va)-2.5 G .458 +(lue of).25 F F5(er)2.958 E(asedups)-.15 E F0(causes)2.958 E .698 +(all pre)144 312 R .698 +(vious lines matching the current line to be remo)-.25 F -.15(ve)-.15 G +3.198(df).15 G .699(rom the history list before that line is)-3.198 F +(sa)144 324 Q -.15(ve)-.2 G 2.764(d. An).15 F 2.764(yv)-.15 G .264 +(alue not in the abo)-3.014 F .563 -.15(ve l)-.15 H .263 +(ist is ignored.).15 F(If)5.263 E F2(HISTCONTR)2.763 E(OL)-.27 E F0 .263 +(is unset, or does not include)2.513 F 2.941(av)144 336 S .441(alid v) +-3.191 F .441(alue, all lines read by the shell parser are sa)-.25 F +-.15(ve)-.2 G 2.942(do).15 G 2.942(nt)-2.942 G .442 +(he history list, subject to the v)-2.942 F .442(alue of)-.25 F F2 +(HISTIGNORE)144 348 Q F4(.)A F0 1.981(The second and subsequent lines o\ +f a multi-line compound command are not)6.482 F +(tested, and are added to the history re)144 360 Q -.05(ga)-.15 G +(rdless of the v).05 E(alue of)-.25 E F2(HISTCONTR)2.5 E(OL)-.27 E F4(.) +A F1(HISTFILE)108 372 Q F0 .181 +(The name of the \214le in which command history is sa)144 384 R -.15 +(ve)-.2 G 2.681(d\().15 G(see)-2.681 E F2(HIST)2.681 E(OR)-.162 E(Y) +-.315 E F0(belo)2.431 E 2.682(w\). The)-.25 F(def)2.682 E .182(ault v) +-.1 F(alue)-.25 E(is)144 396 Q F5(~/.bash_history)2.5 E F0 5(.I)C 2.5 +(fu)-5 G(nset, the command history is not sa)-2.5 E -.15(ve)-.2 G 2.5 +(dw).15 G(hen a shell e)-2.5 E(xits.)-.15 E F1(HISTFILESIZE)108 408 Q F0 +1.623(The maximum number of lines contained in the history \214le.)144 +420 R 1.622(When this v)6.623 F 1.622(ariable is assigned a)-.25 F -.25 +(va)144 432 S .931(lue, the history \214le is truncated, if necessary) +.25 F 3.432(,t)-.65 G 3.432(oc)-3.432 G .932 +(ontain no more than that number of lines by)-3.432 F(remo)144 444 Q +.871(ving the oldest entries.)-.15 F .87(The history \214le is also tru\ +ncated to this size after writing it when a)5.871 F 1.244(shell e)144 +456 R 3.744(xits. If)-.15 F 1.244(the v)3.744 F 1.244 +(alue is 0, the history \214le is truncated to zero size.)-.25 F 1.245 +(Non-numeric v)6.244 F 1.245(alues and)-.25 F 1.022(numeric v)144 468 R 1.022(alues less than zero inhibit truncation.)-.25 F 1.022 (The shell sets the def)6.022 F 1.022(ault v)-.1 F 1.022(alue to the v) --.25 F 1.022(alue of)-.25 F F3(HISTSIZE)144 240 Q F0(after reading an) -2.5 E 2.5(ys)-.15 G(tartup \214les.)-2.5 E F3(HISTIGNORE)108 252 Q F0 -2.658(Ac)144 264 S .158(olon-separated list of patterns used to decide \ -which command lines should be sa)-2.658 F -.15(ve)-.2 G 2.657(do).15 G -2.657(nt)-2.657 G .157(he his-)-2.657 F .707(tory list.)144 276 R .707 -(Each pattern is anchored at the be)5.707 F .708 -(ginning of the line and must match the complete line)-.15 F .626 -(\(no implicit `)144 288 R F3(*)A F0 3.126('i)C 3.126(sa)-3.126 G 3.126 -(ppended\). Each)-3.126 F .626(pattern is tested ag)3.126 F .625 -(ainst the line after the checks speci\214ed by)-.05 F F1(HISTCONTR)144 -300 Q(OL)-.27 E F0 1.793(are applied.)4.043 F 1.793 +-.25 F 1.021(alue of)-.25 F F1(HISTSIZE)144 480 Q F0(after reading an) +2.5 E 2.5(ys)-.15 G(tartup \214les.)-2.5 E F1(HISTIGNORE)108 492 Q F0 +2.657(Ac)144 504 S .157(olon-separated list of patterns used to decide \ +which command lines should be sa)-2.657 F -.15(ve)-.2 G 2.658(do).15 G +2.658(nt)-2.658 G .158(he his-)-2.658 F .708(tory list.)144 516 R .708 +(Each pattern is anchored at the be)5.708 F .707 +(ginning of the line and must match the complete line)-.15 F .625 +(\(no implicit `)144 528 R F1(*)A F0 3.125('i)C 3.125(sa)-3.125 G 3.125 +(ppended\). Each)-3.125 F .626(pattern is tested ag)3.125 F .626 +(ainst the line after the checks speci\214ed by)-.05 F F2(HISTCONTR)144 +540 Q(OL)-.27 E F0 1.793(are applied.)4.043 F 1.793 (In addition to the normal shell pattern matching characters, `)6.793 F -F3(&)A F0(')A 2.515(matches the pre)144 312 R 2.515(vious history line.) --.25 F(`)7.514 E F3(&)A F0 5.014('m)C 2.514 -(ay be escaped using a backslash; the backslash is)-5.014 F(remo)144 324 -Q -.15(ve)-.15 G 3.352(db).15 G .852(efore attempting a match.)-3.352 F +F1(&)A F0(')A 2.514(matches the pre)144 552 R 2.514(vious history line.) +-.25 F(`)7.514 E F1(&)A F0 5.014('m)C 2.514 +(ay be escaped using a backslash; the backslash is)-5.014 F(remo)144 564 +Q -.15(ve)-.15 G 3.353(db).15 G .853(efore attempting a match.)-3.353 F .852(The second and subsequent lines of a multi-line compound)5.852 F -(command are not tested, and are added to the history re)144 336 Q -.05 -(ga)-.15 G(rdless of the v).05 E(alue of)-.25 E F1(HISTIGNORE)2.5 E F2 -(.)A F3(HISTSIZE)108 348 Q F0 1.387 -(The number of commands to remember in the command history \(see)144 360 -R F1(HIST)3.887 E(OR)-.162 E(Y)-.315 E F0(belo)3.637 E 3.887(w\). If) --.25 F(the)3.887 E -.25(va)144 372 S 1.32(lue is 0, commands are not sa) +1.269(command are not tested, and are added to the history re)144 576 R +-.05(ga)-.15 G 1.269(rdless of the v).05 F 1.269(alue of)-.25 F F2 +(HISTIGNORE)3.77 E F4(.)A F0 +(The pattern matching honors the setting of the)144 588 Q F1(extglob)2.5 +E F0(shell option.)2.5 E F1(HISTSIZE)108 600 Q F0 1.387 +(The number of commands to remember in the command history \(see)144 612 +R F2(HIST)3.887 E(OR)-.162 E(Y)-.315 E F0(belo)3.637 E 3.887(w\). If) +-.25 F(the)3.887 E -.25(va)144 624 S 1.32(lue is 0, commands are not sa) .25 F -.15(ve)-.2 G 3.82(di).15 G 3.821(nt)-3.82 G 1.321 (he history list.)-3.821 F 1.321(Numeric v)6.321 F 1.321 -(alues less than zero result in)-.25 F -2.15 -.25(ev e)144 384 T .437 +(alues less than zero result in)-.25 F -2.15 -.25(ev e)144 636 T .437 (ry command being sa).25 F -.15(ve)-.2 G 2.937(do).15 G 2.937(nt)-2.937 G .437(he history list \(there is no limit\).)-2.937 F .436 (The shell sets the def)5.436 F .436(ault v)-.1 F(alue)-.25 E -(to 500 after reading an)144 396 Q 2.5(ys)-.15 G(tartup \214les.)-2.5 E -F3(HISTTIMEFORMA)108 408 Q(T)-.95 E F0 .951(If this v)144 420 R .951 +(to 500 after reading an)144 648 Q 2.5(ys)-.15 G(tartup \214les.)-2.5 E +F1(HISTTIMEFORMA)108 660 Q(T)-.95 E F0 .951(If this v)144 672 R .951 (ariable is set and not null, its v)-.25 F .952 -(alue is used as a format string for)-.25 F F4(strftime)3.452 E F0 .952 +(alue is used as a format string for)-.25 F F5(strftime)3.452 E F0 .952 (\(3\) to print the)B .673 -(time stamp associated with each history entry displayed by the)144 432 -R F3(history)3.173 E F0 -.2(bu)3.172 G 3.172(iltin. If).2 F .672(this v) +(time stamp associated with each history entry displayed by the)144 684 +R F1(history)3.173 E F0 -.2(bu)3.172 G 3.172(iltin. If).2 F .672(this v) 3.172 F .672(ariable is)-.25 F .144 -(set, time stamps are written to the history \214le so the)144 444 R +(set, time stamps are written to the history \214le so the)144 696 R 2.644(ym)-.15 G .144(ay be preserv)-2.644 F .144 (ed across shell sessions.)-.15 F(This)5.145 E(uses the history comment\ - character to distinguish timestamps from other history lines.)144 456 Q -F3(HOME)108 468 Q F0 1.27 -(The home directory of the current user; the def)144 480 R 1.27(ault ar) --.1 F 1.27(gument for the)-.18 F F3(cd)3.77 E F0 -.2(bu)3.77 G 1.27 -(iltin command.).2 F(The)6.27 E -.25(va)144 492 S(lue of this v).25 E -(ariable is also used when performing tilde e)-.25 E(xpansion.)-.15 E F3 -(HOSTFILE)108 504 Q F0 1.015 -(Contains the name of a \214le in the same format as)144 516 R F4 -(/etc/hosts)5.181 E F0 1.015(that should be read when the shell)5.181 F -.551(needs to complete a hostname.)144 528 R .551 + character to distinguish timestamps from other history lines.)144 708 Q +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(15)192.055 E 0 Cg EP +%%Page: 16 16 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(HOME)108 84 Q F0 1.27 +(The home directory of the current user; the def)144 96 R 1.27(ault ar) +-.1 F 1.27(gument for the)-.18 F F1(cd)3.77 E F0 -.2(bu)3.77 G 1.27 +(iltin command.).2 F(The)6.27 E -.25(va)144 108 S(lue of this v).25 E +(ariable is also used when performing tilde e)-.25 E(xpansion.)-.15 E F1 +(HOSTFILE)108 120 Q F0 1.015 +(Contains the name of a \214le in the same format as)144 132 R/F2 10 +/Times-Italic@0 SF(/etc/hosts)5.181 E F0 1.015 +(that should be read when the shell)5.181 F .551 +(needs to complete a hostname.)144 144 R .551 (The list of possible hostname completions may be changed while)5.551 F -1.058(the shell is running; the ne)144 540 R 1.059 +1.058(the shell is running; the ne)144 156 R 1.059 (xt time hostname completion is attempted after the v)-.15 F 1.059 -(alue is changed,)-.25 F F3(bash)144 552 Q F0 .138 +(alue is changed,)-.25 F F1(bash)144 168 Q F0 .138 (adds the contents of the ne)2.639 F 2.638<778c>-.25 G .138(le to the e) --2.638 F .138(xisting list.)-.15 F(If)5.138 E F1(HOSTFILE)2.638 E F0 -.138(is set, b)2.388 F .138(ut has no v)-.2 F .138(alue, or)-.25 F .517 -(does not name a readable \214le,)144 564 R F3(bash)3.017 E F0 .517 -(attempts to read)3.017 F F4(/etc/hosts)4.684 E F0 .518 -(to obtain the list of possible host-)4.684 F(name completions.)144 576 -Q(When)5 E F1(HOSTFILE)2.5 E F0(is unset, the hostname list is cleared.) -2.25 E F3(IFS)108 588 Q F0(The)20.44 E F4 .556(Internal F)3.636 F .556 -(ield Separ)-.45 F(ator)-.15 E F0 .556(that is used for w)3.786 F .556 -(ord splitting after e)-.1 F .555(xpansion and to split lines into)-.15 -F -.1(wo)144 600 S(rds with the).1 E F3 -.18(re)2.5 G(ad).18 E F0 -.2 -(bu)2.5 G(iltin command.).2 E(The def)5 E(ault v)-.1 E(alue is `)-.25 E -(`')-.25 E('.)-.74 E F3(IGNOREEOF)108 612 Q -F0 .503(Controls the action of an interacti)144 624 R .803 -.15(ve s) --.25 H .503(hell on receipt of an).15 F F1(EOF)3.003 E F0 .503 +-2.638 F .138(xisting list.)-.15 F(If)5.138 E/F3 9/Times-Bold@0 SF +(HOSTFILE)2.638 E F0 .138(is set, b)2.388 F .138(ut has no v)-.2 F .138 +(alue, or)-.25 F .517(does not name a readable \214le,)144 180 R F1 +(bash)3.017 E F0 .517(attempts to read)3.017 F F2(/etc/hosts)4.684 E F0 +.518(to obtain the list of possible host-)4.684 F(name completions.)144 +192 Q(When)5 E F3(HOSTFILE)2.5 E F0 +(is unset, the hostname list is cleared.)2.25 E F1(IFS)108 204 Q F0(The) +144 204 Q F2 .556(Internal F)3.636 F .556(ield Separ)-.45 F(ator)-.15 E +F0 .556(that is used for w)3.786 F .556(ord splitting after e)-.1 F .555 +(xpansion and to split lines into)-.15 F -.1(wo)144 216 S(rds with the) +.1 E F1 -.18(re)2.5 G(ad).18 E F0 -.2(bu)2.5 G(iltin command.).2 E +(The def)5 E(ault v)-.1 E(alue is `)-.25 E(`')-.25 E('.)-.74 E F1(IGNOREEOF)108 228 Q F0 .503 +(Controls the action of an interacti)144 240 R .803 -.15(ve s)-.25 H +.503(hell on receipt of an).15 F F3(EOF)3.003 E F0 .503 (character as the sole input.)2.753 F .504(If set,)5.504 F .426(the v) -144 636 R .426(alue is the number of consecuti)-.25 F -.15(ve)-.25 G F1 +144 252 R .426(alue is the number of consecuti)-.25 F -.15(ve)-.25 G F3 (EOF)3.076 E F0 .426 (characters which must be typed as the \214rst characters)2.676 F .302 -(on an input line before)144 648 R F3(bash)2.802 E F0 -.15(ex)2.802 G +(on an input line before)144 264 R F1(bash)2.802 E F0 -.15(ex)2.802 G 2.802(its. If).15 F .302(the v)2.802 F .302(ariable e)-.25 F .302 (xists b)-.15 F .302(ut does not ha)-.2 F .602 -.15(ve a n)-.2 H .302 -(umeric v).15 F .303(alue, or has)-.25 F(no v)144 660 Q(alue, the def) +(umeric v).15 F .303(alue, or has)-.25 F(no v)144 276 Q(alue, the def) -.25 E(ault v)-.1 E(alue is 10.)-.25 E(If it does not e)5 E(xist,)-.15 E -F1(EOF)2.5 E F0(signi\214es the end of input to the shell.)2.25 E F3 -(INPUTRC)108 672 Q F0 1.436(The \214lename for the)144 684 R F3 -.18(re) +F3(EOF)2.5 E F0(signi\214es the end of input to the shell.)2.25 E F1 +(INPUTRC)108 288 Q F0 1.436(The \214lename for the)144 300 R F1 -.18(re) 3.936 G(adline).18 E F0 1.436(startup \214le, o)3.936 F -.15(ve)-.15 G -1.436(rriding the def).15 F 1.436(ault of)-.1 F F4(~/.inputr)5.602 E(c) --.37 E F0(\(see)5.601 E F1(READLINE)3.935 E F0(belo)144 696 Q(w\).)-.25 -E F3(LANG)108 708 Q F0 1.239(Used to determine the locale cate)7.11 F +1.436(rriding the def).15 F 1.436(ault of)-.1 F F2(~/.inputr)5.602 E(c) +-.37 E F0(\(see)5.601 E F3(READLINE)3.935 E F0(belo)144 312 Q(w\).)-.25 +E F1(LANG)108 324 Q F0 1.239(Used to determine the locale cate)144 324 R 1.239(gory for an)-.15 F 3.739(yc)-.15 G(ate)-3.739 E 1.24 (gory not speci\214cally selected with a v)-.15 F(ariable)-.25 E -(starting with)144 720 Q F3(LC_)2.5 E F0(.)A(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(15)190.95 E 0 Cg EP -%%Page: 16 16 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(LC_ALL)108 84 Q F0 .974(This v)144 96 R -.974(ariable o)-.25 F -.15(ve)-.15 G .974(rrides the v).15 F .973 -(alue of)-.25 F/F2 9/Times-Bold@0 SF(LANG)3.473 E F0 .973(and an)3.223 F -3.473(yo)-.15 G(ther)-3.473 E F1(LC_)3.473 E F0 -.25(va)3.473 G .973 -(riable specifying a locale cate-).25 F(gory)144 108 Q(.)-.65 E F1 -(LC_COLLA)108 120 Q(TE)-.95 E F0 .411(This v)144 132 R .412(ariable det\ +(starting with)144 336 Q F1(LC_)2.5 E F0(.)A F1(LC_ALL)108 348 Q F0 .974 +(This v)144 360 R .974(ariable o)-.25 F -.15(ve)-.15 G .974 +(rrides the v).15 F .973(alue of)-.25 F F3(LANG)3.473 E F0 .973(and an) +3.223 F 3.473(yo)-.15 G(ther)-3.473 E F1(LC_)3.473 E F0 -.25(va)3.473 G +.973(riable specifying a locale cate-).25 F(gory)144 372 Q(.)-.65 E F1 +(LC_COLLA)108 384 Q(TE)-.95 E F0 .411(This v)144 396 R .412(ariable det\ ermines the collation order used when sorting the results of pathname e) --.25 F(xpansion,)-.15 E 1.465(and determines the beha)144 144 R 1.465 +-.25 F(xpansion,)-.15 E 1.465(and determines the beha)144 408 R 1.465 (vior of range e)-.2 F 1.464(xpressions, equi)-.15 F -.25(va)-.25 G 1.464(lence classes, and collating sequences).25 F(within pathname e)144 -156 Q(xpansion and pattern matching.)-.15 E F1(LC_CTYPE)108 168 Q F0 -1.935(This v)144 180 R 1.936 +420 Q(xpansion and pattern matching.)-.15 E F1(LC_CTYPE)108 432 Q F0 +1.935(This v)144 444 R 1.936 (ariable determines the interpretation of characters and the beha)-.25 F -1.936(vior of character classes)-.2 F(within pathname e)144 192 Q -(xpansion and pattern matching.)-.15 E F1(LC_MESSA)108 204 Q(GES)-.55 E -F0(This v)144 216 Q(ariable determines the locale used to translate dou\ +1.936(vior of character classes)-.2 F(within pathname e)144 456 Q +(xpansion and pattern matching.)-.15 E F1(LC_MESSA)108 468 Q(GES)-.55 E +F0(This v)144 480 Q(ariable determines the locale used to translate dou\ ble-quoted strings preceded by a)-.25 E F1($)2.5 E F0(.)A F1(LC_NUMERIC) -108 228 Q F0(This v)144 240 Q(ariable determines the locale cate)-.25 E -(gory used for number formatting.)-.15 E F1(LINES)108 252 Q F0 .055 -(Used by the)5.99 F F1(select)2.555 E F0 .054(compound command to deter\ -mine the column length for printing selection lists.)2.555 F .264 -(Automatically set if the)144 264 R F1(checkwinsize)2.764 E F0 .264 +108 492 Q F0(This v)144 504 Q(ariable determines the locale cate)-.25 E +(gory used for number formatting.)-.15 E F1(LC_TIME)108 516 Q F0(This v) +144 528 Q(ariable determines the locale cate)-.25 E +(gory used for data and time formatting.)-.15 E F1(LINES)108 540 Q F0 +.055(Used by the)144 540 R F1(select)2.555 E F0 .054(compound command t\ +o determine the column length for printing selection lists.)2.555 F .264 +(Automatically set if the)144 552 R F1(checkwinsize)2.764 E F0 .264 (option is enabled or in an interacti)2.764 F .565 -.15(ve s)-.25 H .265 -(hell upon receipt of a).15 F F2(SIGWINCH)144 276 Q/F3 9/Times-Roman@0 -SF(.)A F1(MAIL)108 288 Q F0 1.201 -(If this parameter is set to a \214le or directory name and the)8.78 F -F2(MAILP)3.701 E -.855(AT)-.666 G(H).855 E F0 -.25(va)3.451 G 1.201 +(hell upon receipt of a).15 F F3(SIGWINCH)144 564 Q/F4 9/Times-Roman@0 +SF(.)A F1(MAIL)108 576 Q F0 1.201 +(If this parameter is set to a \214le or directory name and the)144 576 +R F3(MAILP)3.701 E -.855(AT)-.666 G(H).855 E F0 -.25(va)3.451 G 1.201 (riable is not set,).25 F F1(bash)3.701 E F0 -(informs the user of the arri)144 300 Q -.25(va)-.25 G 2.5(lo).25 G 2.5 +(informs the user of the arri)144 588 Q -.25(va)-.25 G 2.5(lo).25 G 2.5 (fm)-2.5 G(ail in the speci\214ed \214le or Maildir)-2.5 E -(-format directory)-.2 E(.)-.65 E F1(MAILCHECK)108 312 Q F0 .098 -(Speci\214es ho)144 324 R 2.598(wo)-.25 G .098(ften \(in seconds\)) +(-format directory)-.2 E(.)-.65 E F1(MAILCHECK)108 600 Q F0 .098 +(Speci\214es ho)144 612 R 2.598(wo)-.25 G .098(ften \(in seconds\)) -2.598 F F1(bash)2.598 E F0 .098(checks for mail.)2.598 F .098(The def) 5.098 F .098(ault is 60 seconds.)-.1 F .099(When it is time)5.099 F .224 (to check for mail, the shell does so before displaying the primary pro\ -mpt.)144 336 R .223(If this v)5.223 F .223(ariable is unset,)-.25 F .066 -(or set to a v)144 348 R .066(alue that is not a number greater than or\ - equal to zero, the shell disables mail checking.)-.25 F F1(MAILP)108 -360 Q -.95(AT)-.74 G(H).95 E F0 2.99(Ac)144 372 S .49 +mpt.)144 624 R .223(If this v)5.223 F .223(ariable is unset,)-.25 F +(or set to a v)144 636 Q(alue that is not a number greater than or equa\ +l to zero, the shell disables mail checking.)-.25 E F1(MAILP)108 648 Q +-.95(AT)-.74 G(H).95 E F0 2.99(Ac)144 660 S .49 (olon-separated list of \214lenames to be check)-2.99 F .49 (ed for mail.)-.1 F .49(The message to be printed when mail)5.49 F(arri) -144 384 Q -.15(ve)-.25 G 2.62(si).15 G 2.62(nap)-2.62 G .12(articular \ +144 672 Q -.15(ve)-.25 G 2.62(si).15 G 2.62(nap)-2.62 G .12(articular \ \214le may be speci\214ed by separating the \214lename from the message\ - with a `?'.)-2.62 F(When used in the te)144 396 Q(xt of the message,) + with a `?'.)-2.62 F(When used in the te)144 684 Q(xt of the message,) -.15 E F1($_)2.5 E F0 -.15(ex)2.5 G (pands to the name of the current mail\214le.).15 E(Example:)5 E F1 -(MAILP)144 408 Q -.95(AT)-.74 G(H).95 E F0(=\010/v)A(ar/mail/bfox?"Y) +(MAILP)144 696 Q -.95(AT)-.74 G(H).95 E F0(=\010/v)A(ar/mail/bfox?"Y) -.25 E(ou ha)-1.1 E .3 -.15(ve m)-.2 H -(ail":~/shell\255mail?"$_ has mail!"\010).15 E F1(Bash)144 420 Q F0 .389 -(supplies a def)2.889 F .389(ault v)-.1 F .389(alue for this v)-.25 F -.389(ariable, b)-.25 F .388 -(ut the location of the user mail \214les that it uses is)-.2 F -(system dependent \(e.g., /v)144 432 Q(ar/mail/)-.25 E F1($USER)A F0 -(\).)A F1(OPTERR)108 444 Q F0 .389(If set to the v)144 456 R .389 -(alue 1,)-.25 F F1(bash)2.889 E F0 .389 -(displays error messages generated by the)2.889 F F1(getopts)2.89 E F0 --.2(bu)2.89 G .39(iltin command \(see).2 F F2 .36(SHELL B)144 468 R(UIL) --.09 E .36(TIN COMMANDS)-.828 F F0(belo)2.61 E(w\).)-.25 E F2(OPTERR) -5.36 E F0 .359(is initialized to 1 each time the shell is in)2.61 F -.2 -(vo)-.4 G -.1(ke).2 G(d).1 E(or a shell script is e)144 480 Q -.15(xe) --.15 G(cuted.).15 E F1 -.74(PA)108 492 S(TH)-.21 E F0 .587 -(The search path for commands.)9.91 F .588 +(ail":~/shell\255mail?"$_ has mail!"\010).15 E F1(Bash)144 708 Q F0 .015 +(can be con\214gured to supply a def)2.515 F .015(ault v)-.1 F .015 +(alue for this v)-.25 F .015(ariable \(there is no v)-.25 F .015 +(alue by def)-.25 F .015(ault\), b)-.1 F(ut)-.2 E(the location of the u\ +ser mail \214les that it uses is system dependent \(e.g., /v)144 720 Q +(ar/mail/)-.25 E F1($USER)A F0(\).)A(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(16)192.055 E 0 Cg EP +%%Page: 17 17 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(OPTERR)108 84 Q F0 .39(If set to the v)144 96 R .39(alue 1,)-.25 F F1 +(bash)2.89 E F0 .389(displays error messages generated by the)2.889 F F1 +(getopts)2.889 E F0 -.2(bu)2.889 G .389(iltin command \(see).2 F/F2 9 +/Times-Bold@0 SF .359(SHELL B)144 108 R(UIL)-.09 E .359(TIN COMMANDS) +-.828 F F0(belo)2.609 E(w\).)-.25 E F2(OPTERR)5.359 E F0 .36 +(is initialized to 1 each time the shell is in)2.609 F -.2(vo)-.4 G -.1 +(ke).2 G(d).1 E(or a shell script is e)144 120 Q -.15(xe)-.15 G(cuted.) +.15 E F1 -.74(PA)108 132 S(TH)-.21 E F0 .588 +(The search path for commands.)144 132 R .587 (It is a colon-separated list of directories in which the shell looks) -5.587 F .472(for commands \(see)144 504 R F2 .472(COMMAND EXECUTION) -2.972 F F0(belo)2.722 E 2.972(w\). A)-.25 F .471 -(zero-length \(null\) directory name in the)2.972 F -.25(va)144 516 S -.535(lue of).25 F F2 -.666(PA)3.035 G(TH)-.189 E F0 .535 -(indicates the current directory)2.785 F 5.535(.A)-.65 G .535 -(null directory name may appear as tw)-2.5 F 3.036(oa)-.1 G(djacent) --3.036 E .868(colons, or as an initial or trailing colon.)144 528 R .868 -(The def)5.868 F .867(ault path is system-dependent, and is set by the) --.1 F 26.328(administrator who installs)144 540 R F1(bash)28.828 E F0 -31.329(.A)C 26.329(common v)-2.5 F 26.329(alue is)-.25 F/F4 10/Courier@0 -SF(/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin)144 552 -Q F0(.)A F1(POSIXL)108 564 Q(Y_CORRECT)-.92 E F0 .472(If this v)144 576 -R .472(ariable is in the en)-.25 F .471(vironment when)-.4 F F1(bash) -2.971 E F0 .471(starts, the shell enters)2.971 F/F5 10/Times-Italic@0 SF -.471(posix mode)2.971 F F0 .471(before reading)2.971 F .011 -(the startup \214les, as if the)144 588 R F1(\255\255posix)2.511 E F0 +5.588 F .471(for commands \(see)144 144 R F2 .471(COMMAND EXECUTION) +2.971 F F0(belo)2.722 E 2.972(w\). A)-.25 F .472 +(zero-length \(null\) directory name in the)2.972 F -.25(va)144 156 S +.536(lue of).25 F F2 -.666(PA)3.036 G(TH)-.189 E F0 .535 +(indicates the current directory)2.786 F 5.535(.A)-.65 G .535 +(null directory name may appear as tw)-2.5 F 3.035(oa)-.1 G(djacent) +-3.035 E .867(colons, or as an initial or trailing colon.)144 168 R .868 +(The def)5.868 F .868(ault path is system-dependent, and is set by the) +-.1 F(administrator who installs)144 180 Q F1(bash)2.5 E F0 5(.A)C +(common v)-2.5 E(alue is)-.25 E/F3 10/Courier@0 SF +(/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin)144 192 Q +F0(.)A F1(POSIXL)108 204 Q(Y_CORRECT)-.92 E F0 .471(If this v)144 216 R +.471(ariable is in the en)-.25 F .471(vironment when)-.4 F F1(bash)2.971 +E F0 .471(starts, the shell enters)2.971 F/F4 10/Times-Italic@0 SF .472 +(posix mode)2.972 F F0 .472(before reading)2.972 F .011 +(the startup \214les, as if the)144 228 R F1(\255\255posix)2.511 E F0 (in)2.511 E -.2(vo)-.4 G .011(cation option had been supplied.).2 F .011 -(If it is set while the shell is)5.011 F(running,)144 600 Q F1(bash)2.5 -E F0(enables)2.5 E F5(posix mode)2.5 E F0 2.5(,a)C 2.5(si)-2.5 G 2.5(ft) --2.5 G(he command)-2.5 E F4(set -o posix)2.5 E F0(had been e)2.5 E -.15 -(xe)-.15 G(cuted.).15 E F1(PR)108 612 Q(OMPT_COMMAND)-.3 E F0 -(If set, the v)144 624 Q(alue is e)-.25 E -.15(xe)-.15 G +(If it is set while the shell is)5.011 F(running,)144 240 Q F1(bash)2.5 +E F0(enables)2.5 E F4(posix mode)2.5 E F0 2.5(,a)C 2.5(si)-2.5 G 2.5(ft) +-2.5 G(he command)-2.5 E F3(set -o posix)2.5 E F0(had been e)2.5 E -.15 +(xe)-.15 G(cuted.).15 E F1(PR)108 252 Q(OMPT_COMMAND)-.3 E F0 +(If set, the v)144 264 Q(alue is e)-.25 E -.15(xe)-.15 G (cuted as a command prior to issuing each primary prompt.).15 E F1(PR) -108 636 Q(OMPT_DIR)-.3 E(TRIM)-.4 E F0 .676 -(If set to a number greater than zero, the v)144 648 R .676 +108 276 Q(OMPT_DIR)-.3 E(TRIM)-.4 E F0 .676 +(If set to a number greater than zero, the v)144 288 R .676 (alue is used as the number of trailing directory compo-)-.25 F .923 -(nents to retain when e)144 660 R .923(xpanding the)-.15 F F1(\\w)3.423 +(nents to retain when e)144 300 R .923(xpanding the)-.15 F F1(\\w)3.423 E F0(and)3.423 E F1(\\W)3.423 E F0 .923(prompt string escapes \(see) 3.423 F F2(PR)3.423 E(OMPTING)-.27 E F0(belo)3.173 E(w\).)-.25 E -(Characters remo)144 672 Q -.15(ve)-.15 G 2.5(da).15 G -(re replaced with an ellipsis.)-2.5 E F1(PS1)108 684 Q F0 .065(The v) -19.33 F .065(alue of this parameter is e)-.25 F .065(xpanded \(see)-.15 -F F2(PR)2.565 E(OMPTING)-.27 E F0(belo)2.315 E .065 -(w\) and used as the primary prompt)-.25 F 2.5(string. The)144 696 R +(Characters remo)144 312 Q -.15(ve)-.15 G 2.5(da).15 G +(re replaced with an ellipsis.)-2.5 E F1(PS0)108 324 Q F0 1.174(The v) +144 324 R 1.174(alue of this parameter is e)-.25 F 1.174(xpanded \(see) +-.15 F F2(PR)3.674 E(OMPTING)-.27 E F0(belo)3.424 E 1.174 +(w\) and displayed by interacti)-.25 F -.15(ve)-.25 G +(shells after reading a command and before the command is e)144 336 Q +-.15(xe)-.15 G(cuted.).15 E F1(PS1)108 348 Q F0 .065(The v)144 348 R +.065(alue of this parameter is e)-.25 F .065(xpanded \(see)-.15 F F2(PR) +2.565 E(OMPTING)-.27 E F0(belo)2.315 E .065 +(w\) and used as the primary prompt)-.25 F 2.5(string. The)144 360 R (def)2.5 E(ault v)-.1 E(alue is `)-.25 E(`)-.74 E F1(\\s\255\\v\\$)A F0 --.74('')2.5 G(.).74 E F1(PS2)108 708 Q F0 .117(The v)19.33 F .117 +-.74('')2.5 G(.).74 E F1(PS2)108 372 Q F0 .117(The v)144 372 R .117 (alue of this parameter is e)-.25 F .117(xpanded as with)-.15 F F2(PS1) 2.617 E F0 .118(and used as the secondary prompt string.)2.368 F(The) -5.118 E(def)144 720 Q(ault is `)-.1 E(`)-.74 E F1(>)A F0 -.74('')2.5 G -(.).74 E(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(16)190.95 E 0 Cg -EP -%%Page: 17 17 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(PS3)108 84 Q F0 1.116(The v)19.33 F 1.115 +5.118 E(def)144 384 Q(ault is `)-.1 E(`)-.74 E F1(>)A F0 -.74('')2.5 G +(.).74 E F1(PS3)108 396 Q F0 1.116(The v)144 396 R 1.115 (alue of this parameter is used as the prompt for the)-.25 F F1(select) -3.615 E F0 1.115(command \(see)3.615 F/F2 9/Times-Bold@0 SF 1.115 -(SHELL GRAM-)3.615 F(MAR)144 96 Q F0(abo)2.25 E -.15(ve)-.15 G(\).).15 E -F1(PS4)108 108 Q F0 .1(The v)19.33 F .1(alue of this parameter is e)-.25 -F .1(xpanded as with)-.15 F F2(PS1)2.6 E F0 .101(and the v)2.35 F .101 -(alue is printed before each command)-.25 F F1(bash)144 120 Q F0 .292 +3.615 E F0 1.115(command \(see)3.615 F F2 1.115(SHELL GRAM-)3.615 F(MAR) +144 408 Q F0(abo)2.25 E -.15(ve)-.15 G(\).).15 E F1(PS4)108 420 Q F0 .1 +(The v)144 420 R .1(alue of this parameter is e)-.25 F .1 +(xpanded as with)-.15 F F2(PS1)2.6 E F0 .101(and the v)2.35 F .101 +(alue is printed before each command)-.25 F F1(bash)144 432 Q F0 .292 (displays during an e)2.792 F -.15(xe)-.15 G .292(cution trace.).15 F .292(The \214rst character of)5.292 F F2(PS4)2.792 E F0 .291 -(is replicated multiple times, as)2.542 F(necessary)144 132 Q 2.5(,t) +(is replicated multiple times, as)2.542 F(necessary)144 444 Q 2.5(,t) -.65 G 2.5(oi)-2.5 G(ndicate multiple le)-2.5 E -.15(ve)-.25 G (ls of indirection.).15 E(The def)5 E(ault is `)-.1 E(`)-.74 E F1(+)A F0 --.74('')2.5 G(.).74 E F1(SHELL)108 144 Q F0 .663 -(The full pathname to the shell is k)144 156 R .664(ept in this en)-.1 F +-.74('')2.5 G(.).74 E F1(SHELL)108 456 Q F0 .663 +(The full pathname to the shell is k)144 468 R .664(ept in this en)-.1 F .664(vironment v)-.4 F 3.164(ariable. If)-.25 F .664 -(it is not set when the shell)3.164 F(starts,)144 168 Q F1(bash)2.5 E F0 +(it is not set when the shell)3.164 F(starts,)144 480 Q F1(bash)2.5 E F0 (assigns to it the full pathname of the current user')2.5 E 2.5(sl)-.55 -G(ogin shell.)-2.5 E F1(TIMEFORMA)108 180 Q(T)-.95 E F0 .827(The v)144 -192 R .826 +G(ogin shell.)-2.5 E F1(TIMEFORMA)108 492 Q(T)-.95 E F0 .827(The v)144 +504 R .826 (alue of this parameter is used as a format string specifying ho)-.25 F 3.326(wt)-.25 G .826(he timing information for)-3.326 F .648 -(pipelines pre\214x)144 204 R .648(ed with the)-.15 F F1(time)3.148 E F0 +(pipelines pre\214x)144 516 R .648(ed with the)-.15 F F1(time)3.148 E F0 (reserv)3.148 E .648(ed w)-.15 F .649(ord should be displayed.)-.1 F (The)5.649 E F1(%)3.149 E F0 .649(character introduces)3.149 F .712 -(an escape sequence that is e)144 216 R .711(xpanded to a time v)-.15 F +(an escape sequence that is e)144 528 R .711(xpanded to a time v)-.15 F .711(alue or other information.)-.25 F .711(The escape sequences)5.711 F -(and their meanings are as follo)144 228 Q -(ws; the braces denote optional portions.)-.25 E F1(%%)144 246 Q F0 2.5 -(Al)30 G(iteral)-2.5 E F1(%)2.5 E F0(.)A F1(%[)144 258 Q/F3 10 -/Times-Italic@0 SF(p)A F1(][l]R)A F0(The elapsed time in seconds.)11.68 -E F1(%[)144 270 Q F3(p)A F1(][l]U)A F0 -(The number of CPU seconds spent in user mode.)11.68 E F1(%[)144 282 Q -F3(p)A F1(][l]S)A F0(The number of CPU seconds spent in system mode.) -13.34 E F1(%P)144 294 Q F0 -(The CPU percentage, computed as \(%U + %S\) / %R.)33.89 E .87 -(The optional)144 310.8 R F3(p)3.37 E F0 .87(is a digit specifying the) -3.37 F F3(pr)3.37 E(ecision)-.37 E F0 3.37(,t)C .87 +(and their meanings are as follo)144 540 Q +(ws; the braces denote optional portions.)-.25 E F1(%%)144 558 Q F0 2.5 +(Al)194 558 S(iteral)-2.5 E F1(%)2.5 E F0(.)A F1(%[)144 570 Q F4(p)A F1 +(][l]R)A F0(The elapsed time in seconds.)194 570 Q F1(%[)144 582 Q F4(p) +A F1(][l]U)A F0(The number of CPU seconds spent in user mode.)194 582 Q +F1(%[)144 594 Q F4(p)A F1(][l]S)A F0 +(The number of CPU seconds spent in system mode.)194 594 Q F1(%P)144 606 +Q F0(The CPU percentage, computed as \(%U + %S\) / %R.)194 606 Q .87 +(The optional)144 622.8 R F4(p)3.37 E F0 .87(is a digit specifying the) +3.37 F F4(pr)3.37 E(ecision)-.37 E F0 3.37(,t)C .87 (he number of fractional digits after a decimal)-3.37 F 2.526(point. A) -144 322.8 R -.25(va)2.526 G .025 +144 634.8 R -.25(va)2.526 G .025 (lue of 0 causes no decimal point or fraction to be output.).25 F .025 (At most three places after the)5.025 F .537 -(decimal point may be speci\214ed; v)144 334.8 R .537(alues of)-.25 F F3 +(decimal point may be speci\214ed; v)144 646.8 R .537(alues of)-.25 F F4 (p)3.037 E F0 .537(greater than 3 are changed to 3.)3.037 F(If)5.538 E -F3(p)3.038 E F0 .538(is not speci\214ed,)3.038 F(the v)144 346.8 Q -(alue 3 is used.)-.25 E .668(The optional)144 363.6 R F1(l)3.168 E F0 +F4(p)3.038 E F0 .538(is not speci\214ed,)3.038 F(the v)144 658.8 Q +(alue 3 is used.)-.25 E .668(The optional)144 675.6 R F1(l)3.168 E F0 .668(speci\214es a longer format, including minutes, of the form)3.168 F -F3(MM)3.168 E F0(m)A F3(SS)A F0(.)A F3(FF)A F0 3.167(s. The)B -.25(va) -3.167 G(lue).25 E(of)144 375.6 Q F3(p)2.5 E F0 +F4(MM)3.168 E F0(m)A F4(SS)A F0(.)A F4(FF)A F0 3.167(s. The)B -.25(va) +3.167 G(lue).25 E(of)144 687.6 Q F4(p)2.5 E F0 (determines whether or not the fraction is included.)2.5 E 13.364 -(If this v)144 392.4 R 13.364(ariable is not set,)-.25 F F1(bash)15.865 +(If this v)144 704.4 R 13.364(ariable is not set,)-.25 F F1(bash)15.865 E F0 13.365(acts as if it had the v)15.865 F(alue)-.25 E F1($\010\\nr) -144 404.4 Q(eal\\t%3lR\\nuser\\t%3lU\\nsys\\t%3lS\010)-.18 E F0 7.113 +144 716.4 Q(eal\\t%3lR\\nuser\\t%3lU\\nsys\\t%3lS\010)-.18 E F0 7.113 (.I)C 4.613(ft)-7.113 G 2.113(he v)-4.613 F 2.113 (alue is null, no timing information is dis-)-.25 F 2.5(played. A)144 -416.4 R(trailing ne)2.5 E -(wline is added when the format string is displayed.)-.25 E F1(TMOUT)108 -428.4 Q F0 .941(If set to a v)144 440.4 R .941(alue greater than zero,) --.25 F F2(TMOUT)3.441 E F0 .941(is treated as the def)3.191 F .941 -(ault timeout for the)-.1 F F1 -.18(re)3.441 G(ad).18 E F0 -.2(bu)3.441 -G(iltin.).2 E(The)144 452.4 Q F1(select)2.811 E F0 .311 -(command terminates if input does not arri)2.811 F .61 -.15(ve a)-.25 H -(fter).15 E F2(TMOUT)2.81 E F0 .31(seconds when input is com-)2.56 F -.885(ing from a terminal.)144 464.4 R .885(In an interacti)5.885 F 1.185 --.15(ve s)-.25 H .885(hell, the v).15 F .886 -(alue is interpreted as the number of seconds to)-.25 F -.1(wa)144 476.4 -S 1.05(it for a line of input after issuing the primary prompt.).1 F F1 -(Bash)6.05 E F0 1.05(terminates after w)3.55 F 1.05(aiting for that)-.1 -F(number of seconds if a complete line of input does not arri)144 488.4 -Q -.15(ve)-.25 G(.).15 E F1(TMPDIR)108 500.4 Q F0 .39(If set,)144 512.4 +728.4 R(trailing ne)2.5 E +(wline is added when the format string is displayed.)-.25 E +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(17)192.055 E 0 Cg EP +%%Page: 18 18 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(TMOUT)108 84 Q F0 .941(If set to a v)144 96 R .941 +(alue greater than zero,)-.25 F/F2 9/Times-Bold@0 SF(TMOUT)3.441 E F0 +.941(is treated as the def)3.191 F .941(ault timeout for the)-.1 F F1 +-.18(re)3.441 G(ad).18 E F0 -.2(bu)3.441 G(iltin.).2 E(The)144 108 Q F1 +(select)2.811 E F0 .311(command terminates if input does not arri)2.811 +F .61 -.15(ve a)-.25 H(fter).15 E F2(TMOUT)2.81 E F0 .31 +(seconds when input is com-)2.56 F .885(ing from a terminal.)144 120 R +.885(In an interacti)5.885 F 1.185 -.15(ve s)-.25 H .885(hell, the v).15 +F .886(alue is interpreted as the number of seconds to)-.25 F -.1(wa)144 +132 S 1.05(it for a line of input after issuing the primary prompt.).1 F +F1(Bash)6.05 E F0 1.05(terminates after w)3.55 F 1.05(aiting for that) +-.1 F(number of seconds if a complete line of input does not arri)144 +144 Q -.15(ve)-.25 G(.).15 E F1(TMPDIR)108 156 Q F0 .39(If set,)144 168 R F1(bash)2.89 E F0 .39(uses its v)2.89 F .39 (alue as the name of a directory in which)-.25 F F1(bash)2.891 E F0 .391 -(creates temporary \214les for the)2.891 F(shell')144 524.4 Q 2.5(su) --.55 G(se.)-2.5 E F1(auto_r)108 536.4 Q(esume)-.18 E F0 .531(This v)144 -548.4 R .531(ariable controls ho)-.25 F 3.031(wt)-.25 G .531 +(creates temporary \214les for the)2.891 F(shell')144 180 Q 2.5(su)-.55 +G(se.)-2.5 E F1(auto_r)108 192 Q(esume)-.18 E F0 .531(This v)144 204 R +.531(ariable controls ho)-.25 F 3.031(wt)-.25 G .531 (he shell interacts with the user and job control.)-3.031 F .53 -(If this v)5.53 F .53(ariable is set,)-.25 F .538(single w)144 560.4 R +(If this v)5.53 F .53(ariable is set,)-.25 F .538(single w)144 216 R .538(ord simple commands without redirections are treated as candidates\ - for resumption of an)-.1 F -.15(ex)144 572.4 S .367(isting stopped job) + for resumption of an)-.1 F -.15(ex)144 228 S .367(isting stopped job) .15 F 5.367(.T)-.4 G .366(here is no ambiguity allo)-5.367 F .366 (wed; if there is more than one job be)-.25 F .366(ginning with)-.15 F 1.124(the string typed, the job most recently accessed is selected.)144 -584.4 R(The)6.125 E F3(name)3.985 E F0 1.125(of a stopped job, in this) -3.805 F(conte)144 596.4 Q 1.133 +240 R(The)6.125 E/F3 10/Times-Italic@0 SF(name)3.985 E F0 1.125 +(of a stopped job, in this)3.805 F(conte)144 252 Q 1.133 (xt, is the command line used to start it.)-.15 F 1.133(If set to the v) 6.133 F(alue)-.25 E F3 -.2(ex)3.633 G(act).2 E F0 3.632(,t).68 G 1.132 (he string supplied must)-3.632 F .624 -(match the name of a stopped job e)144 608.4 R .624(xactly; if set to) --.15 F F3(substring)3.125 E F0 3.125(,t).22 G .625 +(match the name of a stopped job e)144 264 R .624(xactly; if set to)-.15 +F F3(substring)3.125 E F0 3.125(,t).22 G .625 (he string supplied needs to match a)-3.125 F .885 -(substring of the name of a stopped job)144 620.4 R 5.884(.T)-.4 G(he) +(substring of the name of a stopped job)144 276 R 5.884(.T)-.4 G(he) -5.884 E F3(substring)3.724 E F0 -.25(va)3.604 G .884(lue pro).25 F .884 -(vides functionality analogous to)-.15 F(the)144 632.4 Q F1(%?)3.333 E -F0 .833(job identi\214er \(see)5.833 F F2 .834(JOB CONTR)3.334 F(OL)-.27 -E F0(belo)3.084 E 3.334(w\). If)-.25 F .834(set to an)3.334 F 3.334(yo) +(vides functionality analogous to)-.15 F(the)144 288 Q F1(%?)3.333 E F0 +.833(job identi\214er \(see)5.833 F F2 .834(JOB CONTR)3.334 F(OL)-.27 E +F0(belo)3.084 E 3.334(w\). If)-.25 F .834(set to an)3.334 F 3.334(yo) -.15 G .834(ther v)-3.334 F .834(alue, the supplied string)-.25 F .316 -(must be a pre\214x of a stopped job')144 644.4 R 2.816(sn)-.55 G .316 +(must be a pre\214x of a stopped job')144 300 R 2.816(sn)-.55 G .316 (ame; this pro)-2.816 F .315(vides functionality analogous to the)-.15 F -F1(%)2.815 E F3(string)A F0(job)2.815 E(identi\214er)144 656.4 Q(.)-.55 -E F1(histchars)108 668.4 Q F0 2.069(The tw)144 680.4 R 4.57(oo)-.1 G -4.57(rt)-4.57 G 2.07(hree characters which control history e)-4.57 F -2.07(xpansion and tok)-.15 F 2.07(enization \(see)-.1 F F2(HIST)4.57 E -(OR)-.162 E(Y)-.315 E(EXP)144 692.4 Q(ANSION)-.666 E F0(belo)3.466 E -3.716(w\). The)-.25 F 1.216(\214rst character is the)3.716 F F3 1.215 +F1(%)2.815 E F3(string)A F0(job)2.815 E(identi\214er)144 312 Q(.)-.55 E +F1(histchars)108 324 Q F0 2.069(The tw)144 336 R 4.57(oo)-.1 G 4.57(rt) +-4.57 G 2.07(hree characters which control history e)-4.57 F 2.07 +(xpansion and tok)-.15 F 2.07(enization \(see)-.1 F F2(HIST)4.57 E(OR) +-.162 E(Y)-.315 E(EXP)144 348 Q(ANSION)-.666 E F0(belo)3.466 E 3.716 +(w\). The)-.25 F 1.216(\214rst character is the)3.716 F F3 1.215 (history e)3.715 F(xpansion)-.2 E F0(character)3.715 E 3.715(,t)-.4 G 1.215(he character which)-3.715 F .798(signals the start of a history e) -144 704.4 R .798(xpansion, normally `)-.15 F F1(!)A F0 3.298('. The)B -.798(second character is the)3.298 F F3(quic)3.298 E 3.298(ks)-.2 G -(ubstitu-)-3.298 E(tion)144 716.4 Q F0(character)2.74 E 2.74(,w)-.4 G -.239(hich is used as shorthand for re-running the pre)-2.74 F .239 +144 360 R .798(xpansion, normally `)-.15 F F1(!)A F0 3.298('. The)B .798 +(second character is the)3.298 F F3(quic)3.298 E 3.298(ks)-.2 G +(ubstitu-)-3.298 E(tion)144 372 Q F0(character)2.74 E 2.74(,w)-.4 G .239 +(hich is used as shorthand for re-running the pre)-2.74 F .239 (vious command entered, substitut-)-.25 F .575 -(ing one string for another in the command.)144 728.4 R .575(The def) -5.575 F .575(ault is `)-.1 F F1(^)A F0 3.075('. The)B .576 -(optional third character is the)3.076 F(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(17)190.95 E 0 Cg EP -%%Page: 18 18 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .223(character which indicates that the remainder of the line is\ - a comment when found as the \214rst char)144 84 R(-)-.2 E 1.293 -(acter of a w)144 96 R 1.293(ord, normally `)-.1 F/F1 10/Times-Bold@0 SF -(#)A F0 3.793('. The)B 1.294 +(ing one string for another in the command.)144 384 R .575(The def)5.575 +F .575(ault is `)-.1 F F1(^)A F0 3.075('. The)B .576 +(optional third character is the)3.076 F .223(character which indicates\ + that the remainder of the line is a comment when found as the \214rst \ +char)144 396 R(-)-.2 E 1.293(acter of a w)144 408 R 1.293 +(ord, normally `)-.1 F F1(#)A F0 3.793('. The)B 1.294 (history comment character causes history substitution to be)3.794 F .38 -(skipped for the remaining w)144 108 R .38(ords on the line.)-.1 F .379 +(skipped for the remaining w)144 420 R .38(ords on the line.)-.1 F .379 (It does not necessarily cause the shell parser to treat)5.379 F -(the rest of the line as a comment.)144 120 Q F1(Arrays)87 136.8 Q(Bash) -108 148.8 Q F0(pro)3.39 E .89(vides one-dimensional inde)-.15 F -.15(xe) +(the rest of the line as a comment.)144 432 Q F1(Arrays)87 448.8 Q(Bash) +108 460.8 Q F0(pro)3.39 E .89(vides one-dimensional inde)-.15 F -.15(xe) -.15 G 3.39(da).15 G .891(nd associati)-3.39 F 1.191 -.15(ve a)-.25 H .891(rray v).15 F 3.391(ariables. An)-.25 F 3.391(yv)-.15 G .891 -(ariable may be used as an)-3.641 F(inde)108 160.8 Q -.15(xe)-.15 G +(ariable may be used as an)-3.641 F(inde)108 472.8 Q -.15(xe)-.15 G 2.574(da).15 G .074(rray; the)-2.574 F F1(declar)2.574 E(e)-.18 E F0 -.2 (bu)2.574 G .074(iltin will e).2 F .073(xplicitly declare an array)-.15 F 5.073(.T)-.65 G .073(here is no maximum limit on the size of)-5.073 F -.328(an array)108 172.8 R 2.828(,n)-.65 G .328(or an)-2.828 F 2.828(yr) +.328(an array)108 484.8 R 2.828(,n)-.65 G .328(or an)-2.828 F 2.828(yr) -.15 G .329(equirement that members be inde)-2.828 F -.15(xe)-.15 G 2.829(do).15 G 2.829(ra)-2.829 G .329(ssigned contiguously)-2.829 F 5.329(.I)-.65 G(nde)-5.329 E -.15(xe)-.15 G 2.829(da).15 G .329 -(rrays are refer)-2.829 F(-)-.2 E 1.387(enced using inte)108 184.8 R -1.387(gers \(including arithmetic e)-.15 F 3.887(xpressions\) and)-.15 F -1.387(are zero-based; associati)3.887 F 1.686 -.15(ve a)-.25 H 1.386 -(rrays are refer).15 F(-)-.2 E .219(enced using arbitrary strings.)108 -196.8 R .219(Unless otherwise noted, inde)5.219 F -.15(xe)-.15 G 2.719 -(da).15 G .219(rray indices must be non-ne)-2.719 F -.05(ga)-.15 G(ti) -.05 E .52 -.15(ve i)-.25 H(nte).15 E(gers.)-.15 E 2.463(An inde)108 -213.6 R -.15(xe)-.15 G 4.963(da).15 G 2.463 -(rray is created automatically if an)-4.963 F 4.963(yv)-.15 G 2.462 -(ariable is assigned to using the syntax)-5.213 F/F2 10/Times-Italic@0 -SF(name)4.962 E F0([)A F2(sub-)A(script)108 225.6 Q F0(]=)A F2(value)A -F0 6.548(.T)C(he)-6.548 E F2(subscript)4.388 E F0 1.549 -(is treated as an arithmetic e)4.728 F 1.549(xpression that must e)-.15 -F -.25(va)-.25 G 1.549(luate to a number).25 F 6.549(.T)-.55 G(o)-7.349 -E -.15(ex)108 237.6 S 1.98(plicitly declare an inde).15 F -.15(xe)-.15 G -4.48(da).15 G(rray)-4.48 E 4.48(,u)-.65 G(se)-4.48 E F1(declar)4.48 E -4.48<65ad>-.18 G(a)-4.48 E F2(name)4.48 E F0(\(see)4.48 E/F3 9 -/Times-Bold@0 SF 1.979(SHELL B)4.479 F(UIL)-.09 E 1.979(TIN COMMANDS) --.828 F F0(belo)4.229 E(w\).)-.25 E F1(declar)108 249.6 Q 2.5<65ad>-.18 -G(a)-2.5 E F2(name)2.5 E F1([)A F2(subscript)A F1(])A F0 -(is also accepted; the)2.5 E F2(subscript)2.5 E F0(is ignored.)2.5 E -(Associati)108 266.4 Q .3 -.15(ve a)-.25 H(rrays are created using).15 E -F1(declar)2.5 E 2.5<65ad>-.18 G(A)-2.5 E F2(name)2.5 E F0(.)A(Attrib)108 -283.2 Q .94(utes may be speci\214ed for an array v)-.2 F .941 -(ariable using the)-.25 F F1(declar)3.441 E(e)-.18 E F0(and)3.441 E F1 --.18(re)3.441 G(adonly).18 E F0 -.2(bu)3.441 G 3.441(iltins. Each).2 F -(attrib)3.441 E(ute)-.2 E(applies to all members of an array)108 295.2 Q -(.)-.65 E 1.647 -(Arrays are assigned to using compound assignments of the form)108 312 R -F2(name)4.147 E F0(=)A F1(\()A F0 -.25(va)C(lue).25 E F2(1)A F0 1.647 -(... v)4.147 F(alue)-.25 E F2(n)A F1(\))A F0 4.147(,w)C 1.647(here each) --4.147 F F2(value)108 324 Q F0 1.833(is of the form [)4.332 F F2 -(subscript)A F0(]=)A F2(string)A F0 6.833(.I)C(nde)-6.833 E -.15(xe)-.15 -G 4.333(da).15 G 1.833(rray assignments do not require an)-4.333 F 1.833 -(ything b)-.15 F(ut)-.2 E F2(string)4.333 E F0(.)A .164 -(When assigning to inde)108 336 R -.15(xe)-.15 G 2.663(da).15 G .163 +(rrays are refer)-2.829 F(-)-.2 E 1.595(enced using inte)108 496.8 R +1.595(gers \(including arithmetic e)-.15 F 1.595 +(xpressions\) and are zero-based; associati)-.15 F 1.895 -.15(ve a)-.25 +H 1.595(rrays are refer).15 F(-)-.2 E(enced using arbitrary strings.)108 +508.8 Q(Unless otherwise noted, inde)5 E -.15(xe)-.15 G 2.5(da).15 G +(rray indices must be non-ne)-2.5 E -.05(ga)-.15 G(ti).05 E .3 -.15 +(ve i)-.25 H(nte).15 E(gers.)-.15 E 2.462(An inde)108 525.6 R -.15(xe) +-.15 G 4.962(da).15 G 2.462(rray is created automatically if an)-4.962 F +4.963(yv)-.15 G 2.463(ariable is assigned to using the syntax)-5.213 F +F3(name)4.963 E F0([)A F3(sub-)A(script)108 537.6 Q F0(]=)A F3(value)A +F0 6.549(.T)C(he)-6.549 E F3(subscript)4.389 E F0 1.549 +(is treated as an arithmetic e)4.729 F 1.549(xpression that must e)-.15 +F -.25(va)-.25 G 1.548(luate to a number).25 F 6.548(.T)-.55 G(o)-7.348 +E -.15(ex)108 549.6 S 1.979(plicitly declare an inde).15 F -.15(xe)-.15 +G 4.479(da).15 G(rray)-4.479 E 4.48(,u)-.65 G(se)-4.48 E F1(declar)4.48 +E 4.48<65ad>-.18 G(a)-4.48 E F3(name)4.48 E F0(\(see)4.48 E F2 1.98 +(SHELL B)4.48 F(UIL)-.09 E 1.98(TIN COMMANDS)-.828 F F0(belo)4.23 E +(w\).)-.25 E F1(declar)108 561.6 Q 2.5<65ad>-.18 G(a)-2.5 E F3(name)2.5 +E F1([)A F3(subscript)A F1(])A F0(is also accepted; the)2.5 E F3 +(subscript)2.5 E F0(is ignored.)2.5 E(Associati)108 578.4 Q .3 -.15 +(ve a)-.25 H(rrays are created using).15 E F1(declar)2.5 E 2.5<65ad>-.18 +G(A)-2.5 E F3(name)2.5 E F0(.)A(Attrib)108 595.2 Q .941 +(utes may be speci\214ed for an array v)-.2 F .941(ariable using the) +-.25 F F1(declar)3.441 E(e)-.18 E F0(and)3.44 E F1 -.18(re)3.44 G +(adonly).18 E F0 -.2(bu)3.44 G 3.44(iltins. Each).2 F(attrib)3.44 E(ute) +-.2 E(applies to all members of an array)108 607.2 Q(.)-.65 E 1.647 +(Arrays are assigned to using compound assignments of the form)108 624 R +F3(name)4.147 E F0(=)A F1(\()A F0 -.25(va)C(lue).25 E F3(1)A F0 1.647 +(... v)4.147 F(alue)-.25 E F3(n)A F1(\))A F0 4.148(,w)C 1.648(here each) +-4.148 F F3(value)108 636 Q F0 1.833(is of the form [)4.333 F F3 +(subscript)A F0(]=)A F3(string)A F0 6.833(.I)C(nde)-6.833 E -.15(xe)-.15 +G 4.333(da).15 G 1.833(rray assignments do not require an)-4.333 F 1.832 +(ything b)-.15 F(ut)-.2 E F3(string)4.332 E F0(.)A .163 +(When assigning to inde)108 648 R -.15(xe)-.15 G 2.663(da).15 G .163 (rrays, if the optional brack)-2.663 F .163 -(ets and subscript are supplied, that inde)-.1 F 2.663(xi)-.15 G 2.663 -(sa)-2.663 G(ssigned)-2.663 E 1.41(to; otherwise the inde)108 348 R 3.91 -(xo)-.15 G 3.91(ft)-3.91 G 1.41(he element assigned is the last inde) --3.91 F 3.911(xa)-.15 G 1.411(ssigned to by the statement plus one.) --3.911 F(Inde)108 360 Q(xing starts at zero.)-.15 E -(When assigning to an associati)108 376.8 Q .3 -.15(ve a)-.25 H(rray).15 -E 2.5(,t)-.65 G(he subscript is required.)-2.5 E .24 -(This syntax is also accepted by the)108 393.6 R F1(declar)2.74 E(e)-.18 -E F0 -.2(bu)2.739 G 2.739(iltin. Indi).2 F .239 -(vidual array elements may be assigned to using the)-.25 F F2(name)108 -405.6 Q F0([)A F2(subscript)A F0(]=)A F2(value)A F0 1.917 -(syntax introduced abo)4.416 F -.15(ve)-.15 G 6.917(.W).15 G 1.917 +(ets and subscript are supplied, that inde)-.1 F 2.664(xi)-.15 G 2.664 +(sa)-2.664 G(ssigned)-2.664 E 1.411(to; otherwise the inde)108 660 R +3.911(xo)-.15 G 3.911(ft)-3.911 G 1.411 +(he element assigned is the last inde)-3.911 F 3.91(xa)-.15 G 1.41 +(ssigned to by the statement plus one.)-3.91 F(Inde)108 672 Q +(xing starts at zero.)-.15 E(When assigning to an associati)108 688.8 Q +.3 -.15(ve a)-.25 H(rray).15 E 2.5(,t)-.65 G(he subscript is required.) +-2.5 E .239(This syntax is also accepted by the)108 705.6 R F1(declar) +2.739 E(e)-.18 E F0 -.2(bu)2.739 G 2.739(iltin. Indi).2 F .24 +(vidual array elements may be assigned to using the)-.25 F F3(name)108 +717.6 Q F0([)A F3(subscript)A F0(]=)A F3(value)A F0 1.917 +(syntax introduced abo)4.417 F -.15(ve)-.15 G 6.917(.W).15 G 1.917 (hen assigning to an inde)-6.917 F -.15(xe)-.15 G 4.417(da).15 G(rray) --4.417 E 4.417(,i)-.65 G(f)-4.417 E F2(name)4.777 E F0 1.917(is sub-) -4.597 F .116(scripted by a ne)108 417.6 R -.05(ga)-.15 G(ti).05 E .416 --.15(ve n)-.25 H(umber).15 E 2.616(,t)-.4 G .115 -(hat number is interpreted as relati)-2.616 F .415 -.15(ve t)-.25 H -2.615(oo).15 G .115(ne greater than the maximum inde)-2.615 F(x)-.15 E -(of)108 429.6 Q F2(name)3.338 E F0 3.338(,s)C 3.338(on)-3.338 G -2.25 +-4.417 E 4.417(,i)-.65 G(f)-4.417 E F3(name)4.777 E F0 1.916(is sub-) +4.597 F .115(scripted by a ne)108 729.6 R -.05(ga)-.15 G(ti).05 E .415 +-.15(ve n)-.25 H(umber).15 E 2.615(,t)-.4 G .115 +(hat number is interpreted as relati)-2.615 F .415 -.15(ve t)-.25 H +2.615(oo).15 G .116(ne greater than the maximum inde)-2.615 F(x)-.15 E +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(18)192.055 E 0 Cg EP +%%Page: 19 19 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(of)108 84 Q/F1 10 +/Times-Italic@0 SF(name)3.338 E F0 3.338(,s)C 3.338(on)-3.338 G -2.25 -.15(eg a)-3.338 H(ti).15 E 1.138 -.15(ve i)-.25 H .838 (ndices count back from the end of the array).15 F 3.338(,a)-.65 G .838 (nd an inde)-3.338 F 3.338(xo)-.15 G 3.338<66ad>-3.338 G 3.338(1r)-3.338 -G .838(eferences the last)-3.338 F(element.)108 441.6 Q(An)108 458.4 Q -3.576(ye)-.15 G 1.076(lement of an array may be referenced using ${) --3.576 F F2(name)A F0([)A F2(subscript)A F0 3.575(]}. The)B 1.075 -(braces are required to a)3.575 F -.2(vo)-.2 G(id).2 E 1.541 -(con\215icts with pathname e)108 470.4 R 4.041(xpansion. If)-.15 F F2 -(subscript)4.041 E F0(is)4.041 E F1(@)4.041 E F0(or)4.041 E F1(*)4.041 E -F0 4.041(,t)C 1.541(he w)-4.041 F 1.541(ord e)-.1 F 1.541 -(xpands to all members of)-.15 F F2(name)4.042 E F0(.)A 1.057 -(These subscripts dif)108 482.4 R 1.057(fer only when the w)-.25 F 1.057 -(ord appears within double quotes.)-.1 F 1.056(If the w)6.056 F 1.056 -(ord is double-quoted,)-.1 F(${)108 494.4 Q F2(name)A F0 .52([*]} e)B -.52(xpands to a single w)-.15 F .52(ord with the v)-.1 F .521 +G .838(eferences the last)-3.338 F(element.)108 96 Q(An)108 112.8 Q +3.575(ye)-.15 G 1.075(lement of an array may be referenced using ${) +-3.575 F F1(name)A F0([)A F1(subscript)A F0 3.575(]}. The)B 1.076 +(braces are required to a)3.576 F -.2(vo)-.2 G(id).2 E 1.542 +(con\215icts with pathname e)108 124.8 R 4.041(xpansion. If)-.15 F F1 +(subscript)4.041 E F0(is)4.041 E/F2 10/Times-Bold@0 SF(@)4.041 E F0(or) +4.041 E F2(*)4.041 E F0 4.041(,t)C 1.541(he w)-4.041 F 1.541(ord e)-.1 F +1.541(xpands to all members of)-.15 F F1(name)4.041 E F0(.)A 1.056 +(These subscripts dif)108 136.8 R 1.056(fer only when the w)-.25 F 1.057 +(ord appears within double quotes.)-.1 F 1.057(If the w)6.057 F 1.057 +(ord is double-quoted,)-.1 F(${)108 148.8 Q F1(name)A F0 .521([*]} e)B +.521(xpands to a single w)-.15 F .521(ord with the v)-.1 F .52 (alue of each array member separated by the \214rst character)-.25 F -1.375(of the)108 506.4 R F3(IFS)3.875 E F0 1.375(special v)3.625 F 1.375 -(ariable, and ${)-.25 F F2(name)A F0 1.375([@]} e)B 1.375 -(xpands each element of)-.15 F F2(name)3.875 E F0 1.374(to a separate w) -3.875 F 3.874(ord. When)-.1 F 2.027(there are no array members, ${)108 -518.4 R F2(name)A F0 2.028([@]} e)B 2.028(xpands to nothing.)-.15 F -2.028(If the double-quoted e)7.028 F 2.028(xpansion occurs)-.15 F .759 -(within a w)108 530.4 R .759(ord, the e)-.1 F .759 +1.374(of the)108 160.8 R/F3 9/Times-Bold@0 SF(IFS)3.874 E F0 1.374 +(special v)3.624 F 1.375(ariable, and ${)-.25 F F1(name)A F0 1.375 +([@]} e)B 1.375(xpands each element of)-.15 F F1(name)3.875 E F0 1.375 +(to a separate w)3.875 F 3.875(ord. When)-.1 F 2.028 +(there are no array members, ${)108 172.8 R F1(name)A F0 2.028([@]} e)B +2.028(xpands to nothing.)-.15 F 2.027(If the double-quoted e)7.028 F +2.027(xpansion occurs)-.15 F .758(within a w)108 184.8 R .759 +(ord, the e)-.1 F .759 (xpansion of the \214rst parameter is joined with the be)-.15 F .759 -(ginning part of the original w)-.15 F(ord,)-.1 E .515(and the e)108 -542.4 R .516(xpansion of the last parameter is joined with the last par\ -t of the original w)-.15 F 3.016(ord. This)-.1 F .516(is analogous)3.016 -F .228(to the e)108 554.4 R .228(xpansion of the special parameters)-.15 -F F1(*)2.728 E F0(and)2.728 E F1(@)2.728 E F0(\(see)2.728 E F1 .228 -(Special P)2.728 F(arameters)-.1 E F0(abo)2.727 E -.15(ve)-.15 G 2.727 -(\). ${#).15 F F2(name)A F0([)A F2(subscript)A F0(]})A -.15(ex)108 566.4 -S .886(pands to the length of ${).15 F F2(name)A F0([)A F2(subscript)A -F0 3.386(]}. If)B F2(subscript)3.386 E F0(is)3.386 E F1(*)3.386 E F0(or) -3.386 E F1(@)3.386 E F0 3.386(,t)C .886(he e)-3.386 F .886 -(xpansion is the number of ele-)-.15 F .463(ments in the array)108 578.4 -R 5.463(.R)-.65 G .463(eferencing an array v)-5.463 F .462 -(ariable without a subscript is equi)-.25 F -.25(va)-.25 G .462 -(lent to referencing the array).25 F .233(with a subscript of 0.)108 -590.4 R .233(If the)5.233 F F2(subscript)3.073 E F0 .233 -(used to reference an element of an inde)3.413 F -.15(xe)-.15 G 2.733 -(da).15 G .233(rray e)-2.733 F -.25(va)-.25 G .233(luates to a num-).25 -F .617(ber less than zero, it is interpreted as relati)108 602.4 R .917 --.15(ve t)-.25 H 3.117(oo).15 G .616(ne greater than the maximum inde) --3.117 F 3.116(xo)-.15 G 3.116(ft)-3.116 G .616(he array)-3.116 F 3.116 -(,s)-.65 G 3.116(on)-3.116 G -.15(eg)-3.116 G(-).15 E(ati)108 614.4 Q .3 --.15(ve i)-.25 H(ndices count back from the end of the array).15 E 2.5 -(,a)-.65 G(nd an inde)-2.5 E 2.5(xo)-.15 G 2.5<66ad>-2.5 G 2.5(1r)-2.5 G -(eferences the last element.)-2.5 E .168(An array v)108 631.2 R .168 -(ariable is considered set if a subscript has been assigned a v)-.25 F -2.668(alue. The)-.25 F .168(null string is a v)2.668 F .168(alid v)-.25 -F(alue.)-.25 E .418(It is possible to obtain the k)108 648 R -.15(ey)-.1 -G 2.918(s\().15 G .418(indices\) of an array as well as the v)-2.918 F -2.917(alues. ${)-.25 F F1(!)A F2(name)A F0([)A F2(@)A F0 .417(]} and ${) -B F1(!)A F2(name)A F0([)A F2(*)A F0(]})A -.15(ex)108 660 S .749 -(pand to the indices assigned in array v).15 F(ariable)-.25 E F2(name) +(ginning part of the original w)-.15 F(ord,)-.1 E .516(and the e)108 +196.8 R .516(xpansion of the last parameter is joined with the last par\ +t of the original w)-.15 F 3.015(ord. This)-.1 F .515(is analogous)3.015 +F .227(to the e)108 208.8 R .228(xpansion of the special parameters)-.15 +F F2(*)2.728 E F0(and)2.728 E F2(@)2.728 E F0(\(see)2.728 E F2 .228 +(Special P)2.728 F(arameters)-.1 E F0(abo)2.728 E -.15(ve)-.15 G 2.728 +(\). ${#).15 F F1(name)A F0([)A F1(subscript)A F0(]})A -.15(ex)108 220.8 +S .886(pands to the length of ${).15 F F1(name)A F0([)A F1(subscript)A +F0 3.386(]}. If)B F1(subscript)3.386 E F0(is)3.386 E F2(*)3.386 E F0(or) +3.386 E F2(@)3.386 E F0 3.386(,t)C .886(he e)-3.386 F .886 +(xpansion is the number of ele-)-.15 F .294(ments in the array)108 232.8 +R 5.294(.I)-.65 G 2.794(ft)-5.294 G(he)-2.794 E F1(subscript)3.135 E F0 +.295(used to reference an element of an inde)3.475 F -.15(xe)-.15 G +2.795(da).15 G .295(rray e)-2.795 F -.25(va)-.25 G .295 +(luates to a number).25 F .629 +(less than zero, it is interpreted as relati)108 244.8 R .929 -.15(ve t) +-.25 H 3.128(oo).15 G .628(ne greater than the maximum inde)-3.128 F +3.128(xo)-.15 G 3.128(ft)-3.128 G .628(he array)-3.128 F 3.128(,s)-.65 G +3.128(on)-3.128 G -2.25 -.15(eg a)-3.128 H(ti).15 E -.15(ve)-.25 G +(indices count back from the end of the array)108 256.8 Q 2.5(,a)-.65 G +(nd an inde)-2.5 E 2.5(xo)-.15 G 2.5<66ad>-2.5 G 2.5(1r)-2.5 G +(eferences the last element.)-2.5 E .595(Referencing an array v)108 +273.6 R .595(ariable without a subscript is equi)-.25 F -.25(va)-.25 G +.595(lent to referencing the array with a subscript of).25 F 2.5(0. An) +108 285.6 R 2.5(yr)-.15 G(eference to a v)-2.5 E(ariable using a v)-.25 +E(alid subscript is le)-.25 E -.05(ga)-.15 G(l, and).05 E F2(bash)2.5 E +F0(will create an array if necessary)2.5 E(.)-.65 E(An array v)108 302.4 +Q(ariable is considered set if a subscript has been assigned a v)-.25 E +2.5(alue. The)-.25 F(null string is a v)2.5 E(alid v)-.25 E(alue.)-.25 E +.418(It is possible to obtain the k)108 319.2 R -.15(ey)-.1 G 2.918(s\() +.15 G .418(indices\) of an array as well as the v)-2.918 F 2.917 +(alues. ${)-.25 F F2(!)A F1(name)A F0([)A F1(@)A F0 .417(]} and ${)B F2 +(!)A F1(name)A F0([)A F1(*)A F0(]})A -.15(ex)108 331.2 S .749 +(pand to the indices assigned in array v).15 F(ariable)-.25 E F1(name) 3.249 E F0 5.749(.T)C .75 -(he treatment when in double quotes is similar to)-5.749 F(the e)108 672 -Q(xpansion of the special parameters)-.15 E F2(@)2.5 E F0(and)2.5 E F2 -(*)2.5 E F0(within double quotes.)2.5 E(The)108 688.8 Q F1(unset)2.767 E -F0 -.2(bu)2.767 G .267(iltin is used to destro).2 F 2.767(ya)-.1 G -(rrays.)-2.767 E F1(unset)5.267 E F2(name)2.767 E F0([)A F2(subscript)A +(he treatment when in double quotes is similar to)-5.749 F(the e)108 +343.2 Q(xpansion of the special parameters)-.15 E F1(@)2.5 E F0(and)2.5 +E F1(*)2.5 E F0(within double quotes.)2.5 E(The)108 360 Q F2(unset)2.767 +E F0 -.2(bu)2.767 G .267(iltin is used to destro).2 F 2.767(ya)-.1 G +(rrays.)-2.767 E F2(unset)5.267 E F1(name)2.767 E F0([)A F1(subscript)A F0 2.767(]d)C(estro)-2.767 E .267(ys the array element at inde)-.1 F(x) --.15 E F2(sub-)2.766 E(script)108 700.8 Q F0 6.318(.N)C -2.25 -.15(eg a) +-.15 E F1(sub-)2.766 E(script)108 372 Q F0 6.318(.N)C -2.25 -.15(eg a) -6.318 H(ti).15 E 1.618 -.15(ve s)-.25 H 1.318(ubscripts to inde).15 F -.15(xe)-.15 G 3.818(da).15 G 1.319 (rrays are interpreted as described abo)-3.818 F -.15(ve)-.15 G 6.319 (.C).15 G 1.319(are must be tak)-6.319 F 1.319(en to)-.1 F -.2(avo)108 -712.8 S .298(id unw).2 F .298(anted side ef)-.1 F .298 -(fects caused by pathname e)-.25 F(xpansion.)-.15 E F1(unset)5.298 E F2 -(name)2.797 E F0 2.797(,w)C(here)-2.797 E F2(name)2.797 E F0 .297 -(is an array)2.797 F 2.797(,o)-.65 G(r)-2.797 E F1(unset)2.797 E F2 -(name)108 724.8 Q F0([)A F2(subscript)A F0(], where)A F2(subscript)2.5 E -F0(is)2.5 E F1(*)2.5 E F0(or)2.5 E F1(@)2.5 E F0 2.5(,r)C(emo)-2.5 E --.15(ve)-.15 G 2.5(st).15 G(he entire array)-2.5 E(.)-.65 E -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(18)190.95 E 0 Cg EP -%%Page: 19 19 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(The)108 84 Q/F1 10/Times-Bold@0 SF(declar)3.573 E(e)-.18 E F0(,)A -F1(local)3.573 E F0 3.573(,a)C(nd)-3.573 E F1 -.18(re)3.573 G(adonly).18 -E F0 -.2(bu)3.573 G 1.073(iltins each accept a).2 F F13.573 E F0 -1.073(option to specify an inde)3.573 F -.15(xe)-.15 G 3.574(da).15 G -1.074(rray and a)-3.574 F F13.574 E F0 .339 -(option to specify an associati)108 96 R .638 -.15(ve a)-.25 H(rray).15 -E 5.338(.I)-.65 G 2.838(fb)-5.338 G .338(oth options are supplied,) --2.838 F F12.838 E F0(tak)2.838 E .338(es precedence.)-.1 F(The) -5.338 E F1 -.18(re)2.838 G(ad).18 E F0 -.2(bu)2.838 G(iltin).2 E .44 -(accepts a)108 108 R F12.941 E F0 .441 +384 S .298(id unw).2 F .298(anted side ef)-.1 F .298 +(fects caused by pathname e)-.25 F(xpansion.)-.15 E F2(unset)5.298 E F1 +(name)2.797 E F0 2.797(,w)C(here)-2.797 E F1(name)2.797 E F0 .297 +(is an array)2.797 F 2.797(,o)-.65 G(r)-2.797 E F2(unset)2.797 E F1 +(name)108 396 Q F0([)A F1(subscript)A F0(], where)A F1(subscript)2.5 E +F0(is)2.5 E F2(*)2.5 E F0(or)2.5 E F2(@)2.5 E F0 2.5(,r)C(emo)-2.5 E +-.15(ve)-.15 G 2.5(st).15 G(he entire array)-2.5 E(.)-.65 E(The)108 +412.8 Q F2(declar)3.573 E(e)-.18 E F0(,)A F2(local)3.573 E F0 3.573(,a)C +(nd)-3.573 E F2 -.18(re)3.573 G(adonly).18 E F0 -.2(bu)3.573 G 1.073 +(iltins each accept a).2 F F23.573 E F0 1.073 +(option to specify an inde)3.573 F -.15(xe)-.15 G 3.574(da).15 G 1.074 +(rray and a)-3.574 F F23.574 E F0 .339 +(option to specify an associati)108 424.8 R .638 -.15(ve a)-.25 H(rray) +.15 E 5.338(.I)-.65 G 2.838(fb)-5.338 G .338(oth options are supplied,) +-2.838 F F22.838 E F0(tak)2.838 E .338(es precedence.)-.1 F(The) +5.338 E F2 -.18(re)2.838 G(ad).18 E F0 -.2(bu)2.838 G(iltin).2 E .44 +(accepts a)108 436.8 R F22.941 E F0 .441 (option to assign a list of w)2.941 F .441 (ords read from the standard input to an array)-.1 F 5.441(.T)-.65 G(he) --5.441 E F1(set)2.941 E F0(and)2.941 E F1(declar)2.941 E(e)-.18 E F0 -.2 -(bu)108 120 S(iltins display array v).2 E(alues in a w)-.25 E -(ay that allo)-.1 E(ws them to be reused as assignments.)-.25 E/F2 10.95 -/Times-Bold@0 SF(EXP)72 136.8 Q(ANSION)-.81 E F0 .76(Expansion is perfo\ -rmed on the command line after it has been split into w)108 148.8 R 3.26 +-5.441 E F2(set)2.941 E F0(and)2.941 E F2(declar)2.941 E(e)-.18 E F0 -.2 +(bu)108 448.8 S(iltins display array v).2 E(alues in a w)-.25 E +(ay that allo)-.1 E(ws them to be reused as assignments.)-.25 E/F4 10.95 +/Times-Bold@0 SF(EXP)72 465.6 Q(ANSION)-.81 E F0 .76(Expansion is perfo\ +rmed on the command line after it has been split into w)108 477.6 R 3.26 (ords. There)-.1 F .76(are se)3.26 F -.15(ve)-.25 G 3.26(nk).15 G .76 -(inds of)-3.26 F -.15(ex)108 160.8 S .369(pansion performed:).15 F/F3 10 -/Times-Italic@0 SF(br)2.869 E .369(ace e)-.15 F(xpansion)-.2 E F0(,).24 -E F3 .369(tilde e)2.869 F(xpansion)-.2 E F0(,).24 E F3(par)2.869 E .369 -(ameter and variable e)-.15 F(xpansion)-.2 E F0(,).24 E F3 .37 -(command sub-)2.869 F(stitution)108 172.8 Q F0(,).24 E F3(arithmetic e) -2.5 E(xpansion)-.2 E F0(,).24 E F3(wor)2.5 E 2.5(ds)-.37 G(plitting)-2.5 -E F0 2.5(,a).22 G(nd)-2.5 E F3(pathname e)2.5 E(xpansion)-.2 E F0(.).24 -E .419(The order of e)108 189.6 R .419(xpansions is: brace e)-.15 F .418 +(inds of)-3.26 F -.15(ex)108 489.6 S .369(pansion performed:).15 F F1 +(br)2.869 E .369(ace e)-.15 F(xpansion)-.2 E F0(,).24 E F1 .369(tilde e) +2.869 F(xpansion)-.2 E F0(,).24 E F1(par)2.869 E .369 +(ameter and variable e)-.15 F(xpansion)-.2 E F0(,).24 E F1 .37 +(command sub-)2.869 F(stitution)108 501.6 Q F0(,).24 E F1(arithmetic e) +2.5 E(xpansion)-.2 E F0(,).24 E F1(wor)2.5 E 2.5(ds)-.37 G(plitting)-2.5 +E F0 2.5(,a).22 G(nd)-2.5 E F1(pathname e)2.5 E(xpansion)-.2 E F0(.).24 +E .419(The order of e)108 518.4 R .419(xpansions is: brace e)-.15 F .418 (xpansion; tilde e)-.15 F .418(xpansion, parameter and v)-.15 F .418 -(ariable e)-.25 F .418(xpansion, arithmetic)-.15 F -.15(ex)108 201.6 S +(ariable e)-.25 F .418(xpansion, arithmetic)-.15 F -.15(ex)108 530.4 S .195(pansion, and command substitution \(done in a left-to-right f).15 F .196(ashion\); w)-.1 F .196(ord splitting; and pathname e)-.1 F(xpan-) --.15 E(sion.)108 213.6 Q .257 -(On systems that can support it, there is an additional e)108 230.4 R -.257(xpansion a)-.15 F -.25(va)-.2 G(ilable:).25 E F3(pr)2.757 E .257 +-.15 E(sion.)108 542.4 Q .257 +(On systems that can support it, there is an additional e)108 559.2 R +.257(xpansion a)-.15 F -.25(va)-.2 G(ilable:).25 E F1(pr)2.757 E .257 (ocess substitution)-.45 F F0 5.257(.T)C .256(his is per)-5.257 F(-)-.2 -E(formed at the same time as tilde, parameter)108 242.4 Q 2.5(,v)-.4 G +E(formed at the same time as tilde, parameter)108 571.2 Q 2.5(,v)-.4 G (ariable, and arithmetic e)-2.75 E(xpansion and command substitution.) --.15 E 1.486(Only brace e)108 259.2 R 1.486(xpansion, w)-.15 F 1.486 +-.15 E .002(After these e)108 588 R .003 +(xpansions are performed, quote characters present in the original w) +-.15 F .003(ord are remo)-.1 F -.15(ve)-.15 G 2.503(du).15 G .003 +(nless the)-2.503 F(y)-.15 E(ha)108 600 Q .3 -.15(ve b)-.2 H +(een quoted themselv).15 E(es \()-.15 E F1(quote r)A(emo)-.37 E(val)-.1 +E F0(\).)A 1.487(Only brace e)108 616.8 R 1.487(xpansion, w)-.15 F 1.487 (ord splitting, and pathname e)-.1 F 1.487 -(xpansion can change the number of w)-.15 F 1.487(ords of the)-.1 F -.15 -(ex)108 271.2 S 1.165(pansion; other e).15 F 1.165(xpansions e)-.15 F -1.165(xpand a single w)-.15 F 1.165(ord to a single w)-.1 F 3.665 -(ord. The)-.1 F 1.164(only e)3.665 F 1.164(xceptions to this are the) --.15 F -.15(ex)108 283.2 S(pansions of ").15 E F1($@)A F0 2.5("a)C(nd ") --2.5 E F1(${)A F3(name)A F1([@]})A F0 2.5("a)C 2.5(se)-2.5 G -(xplained abo)-2.65 E .3 -.15(ve \()-.15 H(see).15 E/F4 9/Times-Bold@0 -SF -.666(PA)2.5 G(RAMETERS).666 E/F5 9/Times-Roman@0 SF(\).)A F1 -(Brace Expansion)87 300 Q F3(Br)108.58 312 Q .606(ace e)-.15 F(xpansion) --.2 E F0 .606 +(xpansion can change the number of w)-.15 F 1.486(ords of the)-.1 F -.15 +(ex)108 628.8 S 1.164(pansion; other e).15 F 1.164(xpansions e)-.15 F +1.164(xpand a single w)-.15 F 1.165(ord to a single w)-.1 F 3.665 +(ord. The)-.1 F 1.165(only e)3.665 F 1.165(xceptions to this are the) +-.15 F -.15(ex)108 640.8 S(pansions of ").15 E F2($@)A F0 2.5("a)C(nd ") +-2.5 E F2(${)A F1(name)A F2([@]})A F0 2.5("a)C 2.5(se)-2.5 G +(xplained abo)-2.65 E .3 -.15(ve \()-.15 H(see).15 E F3 -.666(PA)2.5 G +(RAMETERS).666 E/F5 9/Times-Roman@0 SF(\).)A F2(Brace Expansion)87 657.6 +Q F1(Br)108.58 669.6 Q .606(ace e)-.15 F(xpansion)-.2 E F0 .606 (is a mechanism by which arbitrary strings may be generated.)3.346 F -.606(This mechanism is similar)5.606 F(to)108 324 Q F3 .415(pathname e) -2.915 F(xpansion)-.2 E F0 2.915(,b)C .415 +.606(This mechanism is similar)5.606 F(to)108 681.6 Q F1 .415 +(pathname e)2.915 F(xpansion)-.2 E F0 2.915(,b)C .415 (ut the \214lenames generated need not e)-3.115 F 2.915(xist. P)-.15 F .415(atterns to be brace e)-.15 F .415(xpanded tak)-.15 F 2.915(et)-.1 G -(he)-2.915 E .151(form of an optional)108 336 R F3(pr)2.651 E(eamble) +(he)-2.915 E .152(form of an optional)108 693.6 R F1(pr)2.652 E(eamble) -.37 E F0 2.651(,f).18 G(ollo)-2.651 E .151 (wed by either a series of comma-separated strings or a sequence e)-.25 -F(xpres-)-.15 E .563(sion between a pair of braces, follo)108 348 R .563 -(wed by an optional)-.25 F F3(postscript)3.063 E F0 5.563(.T).68 G .563 -(he preamble is pre\214x)-5.563 F .563(ed to each string)-.15 F .659(co\ -ntained within the braces, and the postscript is then appended to each \ -resulting string, e)108 360 R .659(xpanding left to)-.15 F(right.)108 -372 Q .719(Brace e)108 388.8 R .719(xpansions may be nested.)-.15 F .719 -(The results of each e)5.719 F .719 -(xpanded string are not sorted; left to right order is)-.15 F(preserv) -108 400.8 Q 2.5(ed. F)-.15 F(or e)-.15 E(xample, a)-.15 E F1({)A F0 -(d,c,b)A F1(})A F0 2.5(ee)C(xpands into `ade ace abe'.)-2.65 E 3.242(As) -108 417.6 S .742(equence e)-3.242 F .742(xpression tak)-.15 F .742 -(es the form)-.1 F F1({)3.242 E F3(x)A F1(..)A F3(y)A F1([..)A F3(incr)A -F1(]})A F0 3.242(,w)C(here)-3.242 E F3(x)3.242 E F0(and)3.243 E F3(y) -3.243 E F0 .743(are either inte)3.243 F .743(gers or single characters,) --.15 F(and)108 429.6 Q F3(incr)3.032 E F0 3.032(,a)C 3.032(no)-3.032 G -.532(ptional increment, is an inte)-3.032 F(ger)-.15 E 5.532(.W)-.55 G -.532(hen inte)-5.532 F .532(gers are supplied, the e)-.15 F .532 -(xpression e)-.15 F .531(xpands to each)-.15 F .077(number between)108 -441.6 R F3(x)2.577 E F0(and)2.577 E F3(y)2.577 E F0 2.577(,i)C(nclusi) --2.577 E -.15(ve)-.25 G 5.077(.S).15 G .077(upplied inte)-5.077 F .077 -(gers may be pre\214x)-.15 F .077(ed with)-.15 F F3(0)2.577 E F0 .078 -(to force each term to ha)2.578 F .378 -.15(ve t)-.2 H(he).15 E .015 -(same width.)108 453.6 R .015(When either)5.015 F F3(x)2.515 E F0(or) -2.515 E F3(y)2.515 E F0(be)2.515 E .014(gins with a zero, the shell att\ +F(xpres-)-.15 E .563(sion between a pair of braces, follo)108 705.6 R +.563(wed by an optional)-.25 F F1(postscript)3.063 E F0 5.563(.T).68 G +.563(he preamble is pre\214x)-5.563 F .563(ed to each string)-.15 F .659 +(contained within the braces, and the postscript is then appended to ea\ +ch resulting string, e)108 717.6 R .658(xpanding left to)-.15 F(right.) +108 729.6 Q(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(19)192.055 E +0 Cg EP +%%Page: 20 20 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E .718(Brace e)108 +84 R .719(xpansions may be nested.)-.15 F .719(The results of each e) +5.719 F .719(xpanded string are not sorted; left to right order is)-.15 +F(preserv)108 96 Q 2.5(ed. F)-.15 F(or e)-.15 E(xample, a)-.15 E/F1 10 +/Times-Bold@0 SF({)A F0(d,c,b)A F1(})A F0 2.5(ee)C +(xpands into `ade ace abe'.)-2.65 E 3.243(As)108 112.8 S .743(equence e) +-3.243 F .743(xpression tak)-.15 F .743(es the form)-.1 F F1({)3.243 E +/F2 10/Times-Italic@0 SF(x)A F1(..)A F2(y)A F1([..)A F2(incr)A F1(]})A +F0 3.243(,w)C(here)-3.243 E F2(x)3.243 E F0(and)3.242 E F2(y)3.242 E F0 +.742(are either inte)3.242 F .742(gers or single characters,)-.15 F(and) +108 124.8 Q F2(incr)3.031 E F0 3.031(,a)C 3.032(no)-3.031 G .532 +(ptional increment, is an inte)-3.032 F(ger)-.15 E 5.532(.W)-.55 G .532 +(hen inte)-5.532 F .532(gers are supplied, the e)-.15 F .532 +(xpression e)-.15 F .532(xpands to each)-.15 F .078(number between)108 +136.8 R F2(x)2.578 E F0(and)2.578 E F2(y)2.578 E F0 2.578(,i)C(nclusi) +-2.578 E -.15(ve)-.25 G 5.078(.S).15 G .078(upplied inte)-5.078 F .077 +(gers may be pre\214x)-.15 F .077(ed with)-.15 F F2(0)2.577 E F0 .077 +(to force each term to ha)2.577 F .377 -.15(ve t)-.2 H(he).15 E .014 +(same width.)108 148.8 R .014(When either)5.014 F F2(x)2.514 E F0(or) +2.514 E F2(y)2.514 E F0(be)2.514 E .015(gins with a zero, the shell att\ empts to force all generated terms to contain)-.15 F 1.143 -(the same number of digits, zero-padding where necessary)108 465.6 R +(the same number of digits, zero-padding where necessary)108 160.8 R 6.143(.W)-.65 G 1.143(hen characters are supplied, the e)-6.143 F -(xpression)-.15 E -.15(ex)108 477.6 S 1.064(pands to each character le) -.15 F 1.064(xicographically between)-.15 F F3(x)3.564 E F0(and)3.564 E -F3(y)3.564 E F0 3.564(,i)C(nclusi)-3.564 E -.15(ve)-.25 G 3.564(,u).15 G -1.064(sing the def)-3.564 F 1.064(ault C locale.)-.1 F(Note)6.064 E .983 -(that both)108 489.6 R F3(x)3.483 E F0(and)3.483 E F3(y)3.483 E F0 .983 -(must be of the same type.)3.483 F .984 +(xpression)-.15 E -.15(ex)108 172.8 S 1.064(pands to each character le) +.15 F 1.064(xicographically between)-.15 F F2(x)3.564 E F0(and)3.564 E +F2(y)3.564 E F0 3.564(,i)C(nclusi)-3.564 E -.15(ve)-.25 G 3.564(,u).15 G +1.064(sing the def)-3.564 F 1.064(ault C locale.)-.1 F(Note)6.064 E .984 +(that both)108 184.8 R F2(x)3.484 E F0(and)3.484 E F2(y)3.484 E F0 .983 +(must be of the same type.)3.484 F .983 (When the increment is supplied, it is used as the dif)5.983 F(ference) --.25 E(between each term.)108 501.6 Q(The def)5 E -(ault increment is 1 or -1 as appropriate.)-.1 E .582(Brace e)108 518.4 -R .582(xpansion is performed before an)-.15 F 3.082(yo)-.15 G .581 -(ther e)-3.082 F .581(xpansions, and an)-.15 F 3.081(yc)-.15 G .581 -(haracters special to other e)-3.081 F(xpansions)-.15 E .015 -(are preserv)108 530.4 R .015(ed in the result.)-.15 F .015 -(It is strictly te)5.015 F(xtual.)-.15 E F1(Bash)5.016 E F0 .016 -(does not apply an)2.516 F 2.516(ys)-.15 G .016 -(yntactic interpretation to the con-)-2.516 F(te)108 542.4 Q +-.25 E(between each term.)108 196.8 Q(The def)5 E +(ault increment is 1 or -1 as appropriate.)-.1 E .581(Brace e)108 213.6 +R .581(xpansion is performed before an)-.15 F 3.081(yo)-.15 G .581 +(ther e)-3.081 F .581(xpansions, and an)-.15 F 3.082(yc)-.15 G .582 +(haracters special to other e)-3.082 F(xpansions)-.15 E .016 +(are preserv)108 225.6 R .016(ed in the result.)-.15 F .016 +(It is strictly te)5.016 F(xtual.)-.15 E F1(Bash)5.016 E F0 .015 +(does not apply an)2.516 F 2.515(ys)-.15 G .015 +(yntactic interpretation to the con-)-2.515 F(te)108 237.6 Q (xt of the e)-.15 E(xpansion or the te)-.15 E(xt between the braces.) --.15 E 3.633(Ac)108 559.2 S 1.133(orrectly-formed brace e)-3.633 F 1.132 +-.15 E 3.632(Ac)108 254.4 S 1.132(orrectly-formed brace e)-3.632 F 1.132 (xpansion must contain unquoted opening and closing braces, and at leas\ -t one)-.15 F 3.44(unquoted comma or a v)108 571.2 R 3.441 +t one)-.15 F 3.441(unquoted comma or a v)108 266.4 R 3.441 (alid sequence e)-.25 F 5.941(xpression. An)-.15 F 5.941(yi)-.15 G 3.441 -(ncorrectly formed brace e)-5.941 F 3.441(xpansion is left)-.15 F 2.755 -(unchanged. A)108 583.2 R F1({)2.755 E F0(or)2.755 E F1(,)2.755 E F0 +(ncorrectly formed brace e)-5.941 F 3.44(xpansion is left)-.15 F 2.755 +(unchanged. A)108 278.4 R F1({)2.755 E F0(or)2.755 E F1(,)2.755 E F0 .255(may be quoted with a backslash to pre)2.755 F -.15(ve)-.25 G .255 -(nt its being considered part of a brace e).15 F(xpres-)-.15 E 2.91 -(sion. T)108 595.2 R 2.91(oa)-.8 G -.2(vo)-3.11 G .41 +(nt its being considered part of a brace e).15 F(xpres-)-.15 E 2.911 +(sion. T)108 290.4 R 2.911(oa)-.8 G -.2(vo)-3.111 G .411 (id con\215icts with parameter e).2 F .411(xpansion, the string)-.15 F -F1(${)2.911 E F0 .411(is not considered eligible for brace e)2.911 F -(xpan-)-.15 E(sion.)108 607.2 Q 1.476(This construct is typically used \ +F1(${)2.911 E F0 .41(is not considered eligible for brace e)2.911 F +(xpan-)-.15 E(sion.)108 302.4 Q 1.476(This construct is typically used \ as shorthand when the common pre\214x of the strings to be generated is) -108 624 R(longer than in the abo)108 636 Q .3 -.15(ve ex)-.15 H(ample:) -.15 E(mkdir /usr/local/src/bash/{old,ne)144 652.8 Q -.65(w,)-.25 G -(dist,b).65 E(ugs})-.2 E(or)108 664.8 Q(cho)144 676.8 Q +108 319.2 R(longer than in the abo)108 331.2 Q .3 -.15(ve ex)-.15 H +(ample:).15 E(mkdir /usr/local/src/bash/{old,ne)144 348 Q -.65(w,)-.25 G +(dist,b).65 E(ugs})-.2 E(or)108 360 Q(cho)144 372 Q (wn root /usr/{ucb/{e)-.25 E(x,edit},lib/{e)-.15 E(x?.?*,ho)-.15 E(w_e) --.25 E(x}})-.15 E .618(Brace e)108 693.6 R .618 +-.25 E(x}})-.15 E .618(Brace e)108 388.8 R .618 (xpansion introduces a slight incompatibility with historical v)-.15 F .618(ersions of)-.15 F F1(sh)3.118 E F0(.)A F1(sh)5.618 E F0 .618 -(does not treat open-)3.118 F .248 -(ing or closing braces specially when the)108 705.6 R 2.748(ya)-.15 G -.247(ppear as part of a w)-2.748 F .247(ord, and preserv)-.1 F .247 -(es them in the output.)-.15 F F1(Bash)5.247 E F0(remo)108 717.6 Q -.15 +(does not treat open-)3.118 F .247 +(ing or closing braces specially when the)108 400.8 R 2.747(ya)-.15 G +.247(ppear as part of a w)-2.747 F .248(ord, and preserv)-.1 F .248 +(es them in the output.)-.15 F F1(Bash)5.248 E F0(remo)108 412.8 Q -.15 (ve)-.15 G 3.53(sb).15 G 1.03(races from w)-3.53 F 1.03 (ords as a consequence of brace e)-.1 F 3.53(xpansion. F)-.15 F 1.03 (or e)-.15 F 1.03(xample, a w)-.15 F 1.03(ord entered to)-.1 F F1(sh) -3.53 E F0(as)3.53 E F3(\214le{1,2})108 729.6 Q F0 .515 -(appears identically in the output.)3.015 F .515(The same w)5.515 F .515 -(ord is output as)-.1 F F3 .514(\214le1 \214le2)4.925 F F0 .514(after e) -3.034 F .514(xpansion by)-.15 F F1(bash)3.014 E F0(.)A(GNU Bash 4.3)72 -768 Q(2014 February 2)141.79 E(19)190.95 E 0 Cg EP -%%Page: 20 20 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .436(If strict compatibility with)108 84 R/F1 10/Times-Bold@0 SF -(sh)2.936 E F0 .436(is desired, start)2.936 F F1(bash)2.936 E F0 .436 -(with the)2.936 F F1(+B)2.936 E F0 .436(option or disable brace e)2.936 -F .437(xpansion with the)-.15 F F1(+B)108 96 Q F0(option to the)2.5 E F1 -(set)2.5 E F0(command \(see)2.5 E/F2 9/Times-Bold@0 SF(SHELL B)2.5 E +3.53 E F0(as)3.53 E F2(\214le{1,2})108 424.8 Q F0 .514 +(appears identically in the output.)3.014 F .515(The same w)5.515 F .515 +(ord is output as)-.1 F F2 .515(\214le1 \214le2)4.925 F F0 .515(after e) +3.035 F .515(xpansion by)-.15 F F1(bash)3.015 E F0(.)A .437 +(If strict compatibility with)108 436.8 R F1(sh)2.936 E F0 .436 +(is desired, start)2.936 F F1(bash)2.936 E F0 .436(with the)2.936 F F1 +(+B)2.936 E F0 .436(option or disable brace e)2.936 F .436 +(xpansion with the)-.15 F F1(+B)108 448.8 Q F0(option to the)2.5 E F1 +(set)2.5 E F0(command \(see)2.5 E/F3 9/Times-Bold@0 SF(SHELL B)2.5 E (UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F1 -.18(Ti) -87 112.8 S(lde Expansion).18 E F0 1.087(If a w)108 124.8 R 1.087(ord be) --.1 F 1.087(gins with an unquoted tilde character \(`)-.15 F F1(~)A F0 -1.086('\), all of the characters preceding the \214rst unquoted)B .185(\ +87 465.6 S(lde Expansion).18 E F0 1.086(If a w)108 477.6 R 1.086(ord be) +-.1 F 1.086(gins with an unquoted tilde character \(`)-.15 F F1(~)A F0 +1.087('\), all of the characters preceding the \214rst unquoted)B .185(\ slash \(or all characters, if there is no unquoted slash\) are consider\ -ed a)108 136.8 R/F3 10/Times-Italic@0 SF(tilde-pr)2.685 E(e\214x)-.37 E -F0 5.185(.I)C 2.685(fn)-5.185 G .185(one of the characters)-2.685 F .726 -(in the tilde-pre\214x are quoted, the characters in the tilde-pre\214x\ - follo)108 148.8 R .725(wing the tilde are treated as a possible)-.25 F -F3(lo)108 160.8 Q .522(gin name)-.1 F F0 5.522(.I)C 3.022(ft)-5.522 G -.522 +ed a)108 489.6 R F2(tilde-pr)2.685 E(e\214x)-.37 E F0 5.185(.I)C 2.685 +(fn)-5.185 G .185(one of the characters)-2.685 F .725(in the tilde-pre\ +\214x are quoted, the characters in the tilde-pre\214x follo)108 501.6 R +.726(wing the tilde are treated as a possible)-.25 F F2(lo)108 513.6 Q +.523(gin name)-.1 F F0 5.523(.I)C 3.023(ft)-5.523 G .523 (his login name is the null string, the tilde is replaced with the v) --3.022 F .523(alue of the shell parameter)-.25 F F2(HOME)108 172.8 Q/F4 -9/Times-Roman@0 SF(.)A F0(If)4.787 E F2(HOME)2.787 E F0 .287 -(is unset, the home directory of the user e)2.537 F -.15(xe)-.15 G .286 -(cuting the shell is substituted instead.).15 F(Other)5.286 E(-)-.2 E(w\ +-3.023 F .522(alue of the shell parameter)-.25 F F3(HOME)108 525.6 Q/F4 +9/Times-Roman@0 SF(.)A F0(If)4.786 E F3(HOME)2.786 E F0 .287 +(is unset, the home directory of the user e)2.536 F -.15(xe)-.15 G .287 +(cuting the shell is substituted instead.).15 F(Other)5.287 E(-)-.2 E(w\ ise, the tilde-pre\214x is replaced with the home directory associated \ -with the speci\214ed login name.)108 184.8 Q .092 -(If the tilde-pre\214x is a `~+', the v)108 201.6 R .092 -(alue of the shell v)-.25 F(ariable)-.25 E F2(PWD)2.592 E F0 .092 -(replaces the tilde-pre\214x.)2.342 F .093(If the tilde-pre\214x is) -5.093 F 3.404(a`)108 213.6 S .904(~\255', the v)-3.404 F .904 -(alue of the shell v)-.25 F(ariable)-.25 E F2(OLDPWD)3.404 E F4(,)A F0 -.904(if it is set, is substituted.)3.154 F .903(If the characters follo) -5.903 F .903(wing the)-.25 F 1.641 -(tilde in the tilde-pre\214x consist of a number)108 225.6 R F3(N)4.141 -E F0 4.142(,o)C 1.642(ptionally pre\214x)-4.142 F 1.642 -(ed by a `+' or a `\255', the tilde-pre\214x is)-.15 F 1.438(replaced w\ +with the speci\214ed login name.)108 537.6 Q .093 +(If the tilde-pre\214x is a `~+', the v)108 554.4 R .092 +(alue of the shell v)-.25 F(ariable)-.25 E F3(PWD)2.592 E F0 .092 +(replaces the tilde-pre\214x.)2.342 F .092(If the tilde-pre\214x is) +5.092 F 3.403(a`)108 566.4 S .903(~\255', the v)-3.403 F .903 +(alue of the shell v)-.25 F(ariable)-.25 E F3(OLDPWD)3.404 E F4(,)A F0 +.904(if it is set, is substituted.)3.154 F .904(If the characters follo) +5.904 F .904(wing the)-.25 F 1.642 +(tilde in the tilde-pre\214x consist of a number)108 578.4 R F2(N)4.142 +E F0 4.142(,o)C 1.642(ptionally pre\214x)-4.142 F 1.641 +(ed by a `+' or a `\255', the tilde-pre\214x is)-.15 F 1.437(replaced w\ ith the corresponding element from the directory stack, as it w)108 -237.6 R 1.437(ould be displayed by the)-.1 F F1(dirs)3.937 E F0 -.2(bu) -108 249.6 S .454(iltin in).2 F -.2(vo)-.4 G -.1(ke).2 G 2.954(dw).1 G -.454(ith the tilde-pre\214x as an ar)-2.954 F 2.954(gument. If)-.18 F -.454(the characters follo)2.954 F .455 +590.4 R 1.438(ould be displayed by the)-.1 F F1(dirs)3.938 E F0 -.2(bu) +108 602.4 S .455(iltin in).2 F -.2(vo)-.4 G -.1(ke).2 G 2.955(dw).1 G +.455(ith the tilde-pre\214x as an ar)-2.955 F 2.954(gument. If)-.18 F +.454(the characters follo)2.954 F .454 (wing the tilde in the tilde-pre\214x)-.25 F (consist of a number without a leading `+' or `\255', `+' is assumed.) -108 261.6 Q(If the login name is in)108 278.4 Q -.25(va)-.4 G +108 614.4 Q(If the login name is in)108 631.2 Q -.25(va)-.4 G (lid, or the tilde e).25 E(xpansion f)-.15 E(ails, the w)-.1 E -(ord is unchanged.)-.1 E .167(Each v)108 295.2 R .167 +(ord is unchanged.)-.1 E .166(Each v)108 648 R .167 (ariable assignment is check)-.25 F .167(ed for unquoted tilde-pre\214x) -.1 F .167(es immediately follo)-.15 F .167(wing a)-.25 F F1(:)2.667 E -F0 .167(or the \214rst)2.667 F F1(=)2.666 E F0 5.166(.I)C(n)-5.166 E -.467(these cases, tilde e)108 307.2 R .467(xpansion is also performed.) --.15 F(Consequently)5.467 E 2.967(,o)-.65 G .468 -(ne may use \214lenames with tildes in assign-)-2.967 F(ments to)108 -319.2 Q F2 -.666(PA)2.5 G(TH)-.189 E F4(,)A F2(MAILP)2.25 E -.855(AT) --.666 G(H).855 E F4(,)A F0(and)2.25 E F2(CDP)2.5 E -.855(AT)-.666 G(H) -.855 E F4(,)A F0(and the shell assigns the e)2.25 E(xpanded v)-.15 E -(alue.)-.25 E F1 -.1(Pa)87 336 S(rameter Expansion).1 E F0 1.606(The `) -108 348 R F1($)A F0 4.106('c)C 1.606(haracter introduces parameter e) --4.106 F 1.605(xpansion, command substitution, or arithmetic e)-.15 F -4.105(xpansion. The)-.15 F .406(parameter name or symbol to be e)108 360 -R .407(xpanded may be enclosed in braces, which are optional b)-.15 F -.407(ut serv)-.2 F 2.907(et)-.15 G 2.907(op)-2.907 G(ro-)-2.907 E .033 -(tect the v)108 372 R .033(ariable to be e)-.25 F .033 -(xpanded from characters immediately follo)-.15 F .032 -(wing it which could be interpreted as part)-.25 F(of the name.)108 384 -Q 1.189 +F0 .167(or the \214rst)2.667 F F1(=)2.667 E F0 5.167(.I)C(n)-5.167 E +.468(these cases, tilde e)108 660 R .468(xpansion is also performed.) +-.15 F(Consequently)5.467 E 2.967(,o)-.65 G .467 +(ne may use \214lenames with tildes in assign-)-2.967 F(ments to)108 672 +Q F3 -.666(PA)2.5 G(TH)-.189 E F4(,)A F3(MAILP)2.25 E -.855(AT)-.666 G +(H).855 E F4(,)A F0(and)2.25 E F3(CDP)2.5 E -.855(AT)-.666 G(H).855 E F4 +(,)A F0(and the shell assigns the e)2.25 E(xpanded v)-.15 E(alue.)-.25 E +F1 -.1(Pa)87 688.8 S(rameter Expansion).1 E F0 1.605(The `)108 700.8 R +F1($)A F0 4.105('c)C 1.605(haracter introduces parameter e)-4.105 F +1.606(xpansion, command substitution, or arithmetic e)-.15 F 4.106 +(xpansion. The)-.15 F .407(parameter name or symbol to be e)108 712.8 R +.407(xpanded may be enclosed in braces, which are optional b)-.15 F .406 +(ut serv)-.2 F 2.906(et)-.15 G 2.906(op)-2.906 G(ro-)-2.906 E .032 +(tect the v)108 724.8 R .032(ariable to be e)-.25 F .032 +(xpanded from characters immediately follo)-.15 F .033 +(wing it which could be interpreted as part)-.25 F(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(20)192.055 E 0 Cg EP +%%Page: 21 21 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(of the name.)108 +84 Q 1.19 (When braces are used, the matching ending brace is the \214rst `)108 -400.8 R F1(})A F0 3.69('n)C 1.19(ot escaped by a backslash or within a) --3.69 F 2.15(quoted string, and not within an embedded arithmetic e)108 -412.8 R 2.15(xpansion, command substitution, or parameter)-.15 F -.15 -(ex)108 424.8 S(pansion.).15 E(${)108 441.6 Q F3(par)A(ameter)-.15 E F0 -(})A 1.204(The v)144 453.6 R 1.204(alue of)-.25 F F3(par)3.704 E(ameter) --.15 E F0 1.204(is substituted.)3.704 F 1.204 -(The braces are required when)6.204 F F3(par)4.955 E(ameter)-.15 E F0 -1.205(is a positional)4.435 F .264 -(parameter with more than one digit, or when)144 465.6 R F3(par)4.014 E +100.8 R/F1 10/Times-Bold@0 SF(})A F0 3.689('n)C 1.189 +(ot escaped by a backslash or within a)-3.689 F 2.15 +(quoted string, and not within an embedded arithmetic e)108 112.8 R 2.15 +(xpansion, command substitution, or parameter)-.15 F -.15(ex)108 124.8 S +(pansion.).15 E(${)108 141.6 Q/F2 10/Times-Italic@0 SF(par)A(ameter)-.15 +E F0(})A 1.205(The v)144 153.6 R 1.205(alue of)-.25 F F2(par)3.705 E +(ameter)-.15 E F0 1.204(is substituted.)3.705 F 1.204 +(The braces are required when)6.204 F F2(par)4.954 E(ameter)-.15 E F0 +1.204(is a positional)4.434 F .264 +(parameter with more than one digit, or when)144 165.6 R F2(par)4.014 E (ameter)-.15 E F0 .264(is follo)3.494 F .264 -(wed by a character which is not to)-.25 F 2.676 -(be interpreted as part of its name.)144 477.6 R(The)7.677 E F3(par) -5.177 E(ameter)-.15 E F0 2.677(is a shell parameter as described abo) -5.177 F -.15(ve)-.15 G F1 -.74(PA)144 489.6 S(RAMETERS).74 E F0 2.5(\)o) +(wed by a character which is not to)-.25 F 2.677 +(be interpreted as part of its name.)144 177.6 R(The)7.677 E F2(par) +5.177 E(ameter)-.15 E F0 2.676(is a shell parameter as described abo) +5.177 F -.15(ve)-.15 G F1 -.74(PA)144 189.6 S(RAMETERS).74 E F0 2.5(\)o) C 2.5(ra)-2.5 G 2.5(na)-2.5 G(rray reference \()-2.5 E F1(Arrays)A F0 -(\).)A .816(If the \214rst character of)108 506.4 R F3(par)3.316 E -(ameter)-.15 E F0 .816(is an e)3.316 F .816(xclamation point \()-.15 F -F1(!)A F0 .816(\), it introduces a le)B -.15(ve)-.25 G 3.316(lo).15 G -3.315(fv)-3.316 G .815(ariable indirection.)-3.565 F F1(Bash)108 518.4 Q -F0 .106(uses the v)2.606 F .106(alue of the v)-.25 F .106 -(ariable formed from the rest of)-.25 F F3(par)2.606 E(ameter)-.15 E F0 -.106(as the name of the v)2.606 F .106(ariable; this v)-.25 F(ari-)-.25 -E .352(able is then e)108 530.4 R .352(xpanded and that v)-.15 F .351 -(alue is used in the rest of the substitution, rather than the v)-.25 F -.351(alue of)-.25 F F3(par)2.851 E(ame-)-.15 E(ter)108 542.4 Q F0 2.519 -(itself. This)2.519 F .019(is kno)2.519 F .019(wn as)-.25 F F3(indir) -2.519 E .019(ect e)-.37 F(xpansion)-.2 E F0 5.019(.T)C .019(he e)-5.019 -F .02(xceptions to this are the e)-.15 F .02(xpansions of ${)-.15 F F1 -(!)A F3(pr)A(e\214x)-.37 E F1(*)A F0 2.52(}a)C(nd)-2.52 E(${)108 554.4 Q -F1(!)A F3(name)A F0([)A F3(@)A F0 .763(]} described belo)B 4.563 -.65 -(w. T)-.25 H .763(he e).65 F .763 -(xclamation point must immediately follo)-.15 F 3.263(wt)-.25 G .763 -(he left brace in order to)-3.263 F(introduce indirection.)108 566.4 Q -.334(In each of the cases belo)108 583.2 R -.65(w,)-.25 G F3(wor)3.484 E +(\).)A .346(If the \214rst character of)108 206.4 R F2(par)2.846 E +(ameter)-.15 E F0 .346(is an e)2.846 F .346(xclamation point \()-.15 F +F1(!)A F0 .346(\), and)B F2(par)2.846 E(ameter)-.15 E F0 .346(is not a) +2.846 F F2(namer)2.846 E(ef)-.37 E F0 2.847(,i)C 2.847(ti)-2.847 G +(ntroduces)-2.847 E 2.635(al)108 218.4 S -2.15 -.25(ev e)-2.635 H 2.635 +(lo).25 G 2.635(fv)-2.635 G .135(ariable indirection.)-2.885 F F1(Bash) +5.134 E F0 .134(uses the v)2.634 F .134(alue of the v)-.25 F .134 +(ariable formed from the rest of)-.25 F F2(par)2.634 E(ameter)-.15 E F0 +.134(as the)2.634 F 1.003(name of the v)108 230.4 R 1.003 +(ariable; this v)-.25 F 1.003(ariable is then e)-.25 F 1.003 +(xpanded and that v)-.15 F 1.003 +(alue is used in the rest of the substitution,)-.25 F .595 +(rather than the v)108 242.4 R .595(alue of)-.25 F F2(par)3.095 E +(ameter)-.15 E F0 3.095(itself. This)3.095 F .595(is kno)3.095 F .595 +(wn as)-.25 F F2(indir)3.095 E .595(ect e)-.37 F(xpansion)-.2 E F0 5.594 +(.I)C(f)-5.594 E F2(par)3.094 E(ameter)-.15 E F0 .594(is a nameref,) +3.094 F .477(this e)108 254.4 R .477(xpands to the name of the v)-.15 F +.477(ariable referenced by)-.25 F F2(par)2.978 E(ameter)-.15 E F0 .478 +(instead of performing the complete indi-)2.978 F 2.164(rect e)108 266.4 +R 4.663(xpansion. The)-.15 F -.15(ex)4.663 G 2.163 +(ceptions to this are the e).15 F 2.163(xpansions of ${)-.15 F F1(!)A F2 +(pr)A(e\214x)-.37 E F1(*)A F0 4.663(}a)C 2.163(nd ${)-4.663 F F1(!)A F2 +(name)A F0([)A F2(@)A F0 2.163(]} described)B(belo)108 278.4 Q 3.8 -.65 +(w. T)-.25 H(he e).65 E(xclamation point must immediately follo)-.15 E +2.5(wt)-.25 G(he left brace in order to introduce indirection.)-2.5 E +.334(In each of the cases belo)108 295.2 R -.65(w,)-.25 G F2(wor)3.484 E (d)-.37 E F0 .334(is subject to tilde e)2.834 F .334 (xpansion, parameter e)-.15 F .334(xpansion, command substitution,)-.15 -F(and arithmetic e)108 595.2 Q(xpansion.)-.15 E 1.09 -(When not performing substring e)108 612 R 1.089 +F(and arithmetic e)108 307.2 Q(xpansion.)-.15 E 1.09 +(When not performing substring e)108 324 R 1.089 (xpansion, using the forms documented belo)-.15 F 3.589(w\()-.25 G (e.g.,)-3.589 E F1(:-)3.589 E F0(\),)A F1(bash)3.589 E F0 1.089 -(tests for a)3.589 F(parameter that is unset or null.)108 624 Q(Omittin\ +(tests for a)3.589 F(parameter that is unset or null.)108 336 Q(Omittin\ g the colon results in a test only for a parameter that is unset.)5 E -(${)108 640.8 Q F3(par)A(ameter)-.15 E F1<3aad>A F3(wor)A(d)-.37 E F0(}) -A F1 .722(Use Default V)144 652.8 R(alues)-.92 E F0 5.722(.I)C(f)-5.722 -E F3(par)4.472 E(ameter)-.15 E F0 .723(is unset or null, the e)3.952 F -.723(xpansion of)-.15 F F3(wor)3.563 E(d)-.37 E F0 .723(is substituted.) -3.993 F(Other)5.723 E(-)-.2 E(wise, the v)144 664.8 Q(alue of)-.25 E F3 -(par)3.75 E(ameter)-.15 E F0(is substituted.)3.23 E(${)108 676.8 Q F3 -(par)A(ameter)-.15 E F1(:=)A F3(wor)A(d)-.37 E F0(})A F1 2.005 -(Assign Default V)144 688.8 R(alues)-.92 E F0 7.005(.I)C(f)-7.005 E F3 +(${)108 352.8 Q F2(par)A(ameter)-.15 E F1<3aad>A F2(wor)A(d)-.37 E F0(}) +A F1 .722(Use Default V)144 364.8 R(alues)-.92 E F0 5.722(.I)C(f)-5.722 +E F2(par)4.472 E(ameter)-.15 E F0 .723(is unset or null, the e)3.952 F +.723(xpansion of)-.15 F F2(wor)3.563 E(d)-.37 E F0 .723(is substituted.) +3.993 F(Other)5.723 E(-)-.2 E(wise, the v)144 376.8 Q(alue of)-.25 E F2 +(par)3.75 E(ameter)-.15 E F0(is substituted.)3.23 E(${)108 388.8 Q F2 +(par)A(ameter)-.15 E F1(:=)A F2(wor)A(d)-.37 E F0(})A F1 2.005 +(Assign Default V)144 400.8 R(alues)-.92 E F0 7.005(.I)C(f)-7.005 E F2 (par)5.755 E(ameter)-.15 E F0 2.005(is unset or null, the e)5.235 F -2.004(xpansion of)-.15 F F3(wor)4.844 E(d)-.37 E F0 2.004 -(is assigned to)5.274 F F3(par)144 700.8 Q(ameter)-.15 E F0 5.278(.T).73 -G .278(he v)-5.278 F .278(alue of)-.25 F F3(par)4.028 E(ameter)-.15 E F0 +2.004(xpansion of)-.15 F F2(wor)4.844 E(d)-.37 E F0 2.004 +(is assigned to)5.274 F F2(par)144 412.8 Q(ameter)-.15 E F0 5.278(.T).73 +G .278(he v)-5.278 F .278(alue of)-.25 F F2(par)4.028 E(ameter)-.15 E F0 .278(is then substituted.)3.508 F .279 (Positional parameters and special param-)5.278 F -(eters may not be assigned to in this w)144 712.8 Q(ay)-.1 E(.)-.65 E -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(20)190.95 E 0 Cg EP -%%Page: 21 21 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(${)108 84 Q/F1 10/Times-Italic@0 SF(par)A(ameter)-.15 E/F2 10 -/Times-Bold@0 SF(:?)A F1(wor)A(d)-.37 E F0(})A F2 .535(Display Err)144 -96 R .535(or if Null or Unset)-.18 F F0 5.535(.I)C(f)-5.535 E F1(par) -4.285 E(ameter)-.15 E F0 .535(is null or unset, the e)3.765 F .535 -(xpansion of)-.15 F F1(wor)3.035 E(d)-.37 E F0 .535(\(or a mes-)3.035 F -.661(sage to that ef)144 108 R .661(fect if)-.25 F F1(wor)3.501 E(d)-.37 -E F0 .662(is not present\) is written to the standard error and the she\ -ll, if it is not)3.931 F(interacti)144 120 Q -.15(ve)-.25 G 2.5(,e).15 G -2.5(xits. Otherwise,)-2.65 F(the v)2.5 E(alue of)-.25 E F1(par)2.5 E -(ameter)-.15 E F0(is substituted.)2.5 E(${)108 132 Q F1(par)A(ameter) --.15 E F2(:+)A F1(wor)A(d)-.37 E F0(})A F2 .745(Use Alter)144 144 R .745 -(nate V)-.15 F(alue)-.92 E F0 5.745(.I)C(f)-5.745 E F1(par)4.495 E -(ameter)-.15 E F0 .745 -(is null or unset, nothing is substituted, otherwise the e)3.975 F -(xpan-)-.15 E(sion of)144 156 Q F1(wor)2.84 E(d)-.37 E F0 -(is substituted.)3.27 E(${)108 168 Q F1(par)A(ameter)-.15 E F2(:)A F1 -(of)A(fset)-.18 E F0(})A(${)108 180 Q F1(par)A(ameter)-.15 E F2(:)A F1 -(of)A(fset)-.18 E F2(:)A F1(length)A F0(})A F2 .002(Substring Expansion) -144 192 R F0 5.002(.E)C .002(xpands to up to)-5.002 F F1(length)2.502 E -F0 .002(characters of the v)2.502 F .002(alue of)-.25 F F1(par)2.502 E +(eters may not be assigned to in this w)144 424.8 Q(ay)-.1 E(.)-.65 E +(${)108 436.8 Q F2(par)A(ameter)-.15 E F1(:?)A F2(wor)A(d)-.37 E F0(})A +F1 .535(Display Err)144 448.8 R .535(or if Null or Unset)-.18 F F0 5.535 +(.I)C(f)-5.535 E F2(par)4.285 E(ameter)-.15 E F0 .535 +(is null or unset, the e)3.765 F .535(xpansion of)-.15 F F2(wor)3.035 E +(d)-.37 E F0 .535(\(or a mes-)3.035 F .661(sage to that ef)144 460.8 R +.661(fect if)-.25 F F2(wor)3.501 E(d)-.37 E F0 .662(is not present\) is\ + written to the standard error and the shell, if it is not)3.931 F +(interacti)144 472.8 Q -.15(ve)-.25 G 2.5(,e).15 G 2.5(xits. Otherwise,) +-2.65 F(the v)2.5 E(alue of)-.25 E F2(par)2.5 E(ameter)-.15 E F0 +(is substituted.)2.5 E(${)108 484.8 Q F2(par)A(ameter)-.15 E F1(:+)A F2 +(wor)A(d)-.37 E F0(})A F1 .745(Use Alter)144 496.8 R .745(nate V)-.15 F +(alue)-.92 E F0 5.745(.I)C(f)-5.745 E F2(par)4.495 E(ameter)-.15 E F0 +.745(is null or unset, nothing is substituted, otherwise the e)3.975 F +(xpan-)-.15 E(sion of)144 508.8 Q F2(wor)2.84 E(d)-.37 E F0 +(is substituted.)3.27 E(${)108 520.8 Q F2(par)A(ameter)-.15 E F1(:)A F2 +(of)A(fset)-.18 E F0(})A(${)108 532.8 Q F2(par)A(ameter)-.15 E F1(:)A F2 +(of)A(fset)-.18 E F1(:)A F2(length)A F0(})A F1 .002(Substring Expansion) +144 544.8 R F0 5.002(.E)C .002(xpands to up to)-5.002 F F2(length)2.502 +E F0 .002(characters of the v)2.502 F .002(alue of)-.25 F F2(par)2.502 E (ameter)-.15 E F0 .002(starting at the)2.502 F 1.082 -(character speci\214ed by)144 204 R F1(of)3.582 E(fset)-.18 E F0 6.082 -(.I)C(f)-6.082 E F1(par)3.582 E(ameter)-.15 E F0(is)3.582 E F2(@)3.582 E +(character speci\214ed by)144 556.8 R F2(of)3.582 E(fset)-.18 E F0 6.082 +(.I)C(f)-6.082 E F2(par)3.582 E(ameter)-.15 E F0(is)3.582 E F1(@)3.582 E F0 3.582(,a)C 3.582(ni)-3.582 G(nde)-3.582 E -.15(xe)-.15 G 3.582(da).15 -G 1.082(rray subscripted by)-3.582 F F2(@)3.582 E F0(or)3.581 E F2(*) -3.581 E F0 3.581(,o)C 3.581(ra)-3.581 G(n)-3.581 E(associati)144 216 Q +G 1.082(rray subscripted by)-3.582 F F1(@)3.582 E F0(or)3.581 E F1(*) +3.581 E F0 3.581(,o)C 3.581(ra)-3.581 G(n)-3.581 E(associati)144 568.8 Q 1.022 -.15(ve a)-.25 H .722(rray name, the results dif).15 F .722 -(fer as described belo)-.25 F 4.522 -.65(w. I)-.25 H(f).65 E F1(length) +(fer as described belo)-.25 F 4.522 -.65(w. I)-.25 H(f).65 E F2(length) 3.222 E F0 .722(is omitted, e)3.222 F .722(xpands to the)-.15 F .043 -(substring of the v)144 228 R .043(alue of)-.25 F F1(par)2.543 E(ameter) --.15 E F0 .042(starting at the character speci\214ed by)2.543 F F1(of) -2.542 E(fset)-.18 E F0 .042(and e)2.542 F .042(xtending to the)-.15 F -.846(end of the v)144 240 R(alue.)-.25 E F1(length)5.846 E F0(and)3.346 -E F1(of)3.346 E(fset)-.18 E F0 .846(are arithmetic e)3.346 F .847 -(xpressions \(see)-.15 F/F3 9/Times-Bold@0 SF .847(ARITHMETIC EV)3.347 F -(ALU)-1.215 E -.855(AT)-.54 G(ION).855 E F0(belo)144 252 Q(w\).)-.25 E -(If)144 276 Q F1(of)3.029 E(fset)-.18 E F0 -.25(eva)3.029 G .529 -(luates to a number less than zero, the v).25 F .529 +(substring of the v)144 580.8 R .043(alue of)-.25 F F2(par)2.543 E +(ameter)-.15 E F0 .042(starting at the character speci\214ed by)2.543 F +F2(of)2.542 E(fset)-.18 E F0 .042(and e)2.542 F .042(xtending to the) +-.15 F .846(end of the v)144 592.8 R(alue.)-.25 E F2(length)5.846 E F0 +(and)3.346 E F2(of)3.346 E(fset)-.18 E F0 .846(are arithmetic e)3.346 F +.847(xpressions \(see)-.15 F/F3 9/Times-Bold@0 SF .847(ARITHMETIC EV) +3.347 F(ALU)-1.215 E -.855(AT)-.54 G(ION).855 E F0(belo)144 604.8 Q +(w\).)-.25 E(If)144 628.8 Q F2(of)3.029 E(fset)-.18 E F0 -.25(eva)3.029 +G .529(luates to a number less than zero, the v).25 F .529 (alue is used as an of)-.25 F .529(fset in characters from the)-.25 F -.045(end of the v)144 288 R .045(alue of)-.25 F F1(par)2.546 E(ameter) --.15 E F0 5.046(.I)C(f)-5.046 E F1(length)2.546 E F0 -.25(eva)2.546 G +.045(end of the v)144 640.8 R .045(alue of)-.25 F F2(par)2.546 E(ameter) +-.15 E F0 5.046(.I)C(f)-5.046 E F2(length)2.546 E F0 -.25(eva)2.546 G .046(luates to a number less than zero, it is interpreted as an).25 F -(of)144 300 Q .203(fset in characters from the end of the v)-.25 F .202 -(alue of)-.25 F F1(par)2.702 E(ameter)-.15 E F0 .202 -(rather than a number of characters, and)2.702 F .557(the e)144 312 R -.557(xpansion is the characters between)-.15 F F1(of)3.057 E(fset)-.18 E +(of)144 652.8 Q .203(fset in characters from the end of the v)-.25 F +.202(alue of)-.25 F F2(par)2.702 E(ameter)-.15 E F0 .202 +(rather than a number of characters, and)2.702 F .557(the e)144 664.8 R +.557(xpansion is the characters between)-.15 F F2(of)3.057 E(fset)-.18 E F0 .557(and that result.)3.057 F .558(Note that a ne)5.558 F -.05(ga) -.15 G(ti).05 E .858 -.15(ve o)-.25 H -.25(ff).15 G .558(set must be).25 -F(separated from the colon by at least one space to a)144 324 Q -.2(vo) --.2 G(id being confused with the).2 E F2(:-)2.5 E F0 -.15(ex)2.5 G -(pansion.).15 E(If)144 348 Q F1(par)2.959 E(ameter)-.15 E F0(is)2.959 E -F2(@)2.959 E F0 2.959(,t)C .459(he result is)-2.959 F F1(length)2.959 E -F0 .459(positional parameters be)2.959 F .458(ginning at)-.15 F F1(of) +F(separated from the colon by at least one space to a)144 676.8 Q -.2 +(vo)-.2 G(id being confused with the).2 E F1(:-)2.5 E F0 -.15(ex)2.5 G +(pansion.).15 E(If)144 700.8 Q F2(par)2.959 E(ameter)-.15 E F0(is)2.959 +E F1(@)2.959 E F0 2.959(,t)C .459(he result is)-2.959 F F2(length)2.959 +E F0 .459(positional parameters be)2.959 F .458(ginning at)-.15 F F2(of) 2.958 E(fset)-.18 E F0 5.458(.A)C(ne)-2.5 E -.05(ga)-.15 G(ti).05 E -.15 -(ve)-.25 G F1(of)3.108 E(fset)-.18 E F0 .095(is tak)144 360 R .095 +(ve)-.25 G F2(of)3.108 E(fset)-.18 E F0 .095(is tak)144 712.8 R .095 (en relati)-.1 F .396 -.15(ve t)-.25 H 2.596(oo).15 G .096 (ne greater than the greatest positional parameter)-2.596 F 2.596(,s)-.4 G 2.596(oa)-2.596 G 2.596(no)-2.596 G -.25(ff)-2.596 G .096(set of -1 e) .25 F -.25(va)-.25 G .096(luates to).25 F 1.322 -(the last positional parameter)144 372 R 6.322(.I)-.55 G 3.822(ti)-6.322 -G 3.822(sa)-3.822 G 3.822(ne)-3.822 G 1.322(xpansion error if)-3.972 F -F1(length)3.822 E F0 -.25(eva)3.822 G 1.322 -(luates to a number less than).25 F(zero.)144 384 Q(If)144 408 Q F1(par) -3.013 E(ameter)-.15 E F0 .514(is an inde)3.013 F -.15(xe)-.15 G 3.014 -(da).15 G .514(rray name subscripted by @ or *, the result is the)-3.014 -F F1(length)3.014 E F0 .514(members of)3.014 F 1.082(the array be)144 -420 R 1.082(ginning with ${)-.15 F F1(par)A(ameter)-.15 E F0([)A F1(of)A -(fset)-.18 E F0 3.582(]}. A)B(ne)3.582 E -.05(ga)-.15 G(ti).05 E -.15 -(ve)-.25 G F1(of)3.732 E(fset)-.18 E F0 1.081(is tak)3.581 F 1.081 -(en relati)-.1 F 1.381 -.15(ve t)-.25 H 3.581(oo).15 G 1.081(ne greater) --3.581 F 1.079(than the maximum inde)144 432 R 3.579(xo)-.15 G 3.579(ft) --3.579 G 1.079(he speci\214ed array)-3.579 F 6.079(.I)-.65 G 3.579(ti) --6.079 G 3.579(sa)-3.579 G 3.58(ne)-3.579 G 1.08(xpansion error if)-3.73 -F F1(length)3.58 E F0 -.25(eva)3.58 G 1.08(luates to a).25 F -(number less than zero.)144 444 Q(Substring e)144 468 Q -(xpansion applied to an associati)-.15 E .3 -.15(ve a)-.25 H -(rray produces unde\214ned results.).15 E 1.931(Substring inde)144 492 R -1.931(xing is zero-based unless the positional parameters are used, in \ -which case the)-.15 F(inde)144 504 Q .306(xing starts at 1 by def)-.15 F -2.806(ault. If)-.1 F F1(of)2.807 E(fset)-.18 E F0 .307 -(is 0, and the positional parameters are used,)2.807 F F2($0)2.807 E F0 -.307(is pre\214x)2.807 F(ed)-.15 E(to the list.)144 516 Q(${)108 532.8 Q -F2(!)A F1(pr)A(e\214x)-.37 E F2(*)A F0(})A(${)108 544.8 Q F2(!)A F1(pr)A -(e\214x)-.37 E F2(@)A F0(})A F2 .085(Names matching pr)144 556.8 R -(e\214x)-.18 E F0 5.085(.E)C .084(xpands to the names of v)-5.085 F .084 -(ariables whose names be)-.25 F .084(gin with)-.15 F F1(pr)2.584 E -(e\214x)-.37 E F0 2.584(,s)C(epa-)-2.584 E .257 -(rated by the \214rst character of the)144 568.8 R F3(IFS)2.757 E F0 -.257(special v)2.507 F 2.757(ariable. When)-.25 F F1(@)2.758 E F0 .258 -(is used and the e)2.758 F .258(xpansion appears)-.15 F -(within double quotes, each v)144 580.8 Q(ariable name e)-.25 E -(xpands to a separate w)-.15 E(ord.)-.1 E(${)108 597.6 Q F2(!)A F1(name) -A F0([)A F1(@)A F0(]})A(${)108 609.6 Q F2(!)A F1(name)A F0([)A F1(*)A F0 -(]})A F2 2.036(List of array k)144 621.6 R(eys)-.1 E F0 7.036(.I)C(f) --7.036 E F1(name)4.536 E F0 2.036(is an array v)4.536 F 2.036 -(ariable, e)-.25 F 2.036(xpands to the list of array indices \(k)-.15 F --.15(ey)-.1 G(s\)).15 E .595(assigned in)144 633.6 R F1(name)3.095 E F0 -5.595(.I)C(f)-5.595 E F1(name)3.095 E F0 .595(is not an array)3.095 F -3.095(,e)-.65 G .595(xpands to 0 if)-3.245 F F1(name)3.095 E F0 .596 -(is set and null otherwise.)3.095 F(When)5.596 E F1(@)144 645.6 Q F0 +(the last positional parameter)144 724.8 R 6.322(.I)-.55 G 3.822(ti) +-6.322 G 3.822(sa)-3.822 G 3.822(ne)-3.822 G 1.322(xpansion error if) +-3.972 F F2(length)3.822 E F0 -.25(eva)3.822 G 1.322 +(luates to a number less than).25 F(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(21)192.055 E 0 Cg EP +%%Page: 22 22 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(zero.)144 84 Q(If) +144 108 Q/F1 10/Times-Italic@0 SF(par)3.013 E(ameter)-.15 E F0 .514 +(is an inde)3.013 F -.15(xe)-.15 G 3.014(da).15 G .514 +(rray name subscripted by @ or *, the result is the)-3.014 F F1(length) +3.014 E F0 .514(members of)3.014 F 1.082(the array be)144 120 R 1.082 +(ginning with ${)-.15 F F1(par)A(ameter)-.15 E F0([)A F1(of)A(fset)-.18 +E F0 3.582(]}. A)B(ne)3.582 E -.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G F1 +(of)3.732 E(fset)-.18 E F0 1.081(is tak)3.581 F 1.081(en relati)-.1 F +1.381 -.15(ve t)-.25 H 3.581(oo).15 G 1.081(ne greater)-3.581 F 1.079 +(than the maximum inde)144 132 R 3.579(xo)-.15 G 3.579(ft)-3.579 G 1.079 +(he speci\214ed array)-3.579 F 6.079(.I)-.65 G 3.579(ti)-6.079 G 3.579 +(sa)-3.579 G 3.58(ne)-3.579 G 1.08(xpansion error if)-3.73 F F1(length) +3.58 E F0 -.25(eva)3.58 G 1.08(luates to a).25 F(number less than zero.) +144 144 Q(Substring e)144 168 Q(xpansion applied to an associati)-.15 E +.3 -.15(ve a)-.25 H(rray produces unde\214ned results.).15 E 1.931 +(Substring inde)144 192 R 1.931(xing is zero-based unless the positiona\ +l parameters are used, in which case the)-.15 F(inde)144 204 Q .306 +(xing starts at 1 by def)-.15 F 2.806(ault. If)-.1 F F1(of)2.807 E(fset) +-.18 E F0 .307(is 0, and the positional parameters are used,)2.807 F/F2 +10/Times-Bold@0 SF($0)2.807 E F0 .307(is pre\214x)2.807 F(ed)-.15 E +(to the list.)144 216 Q(${)108 232.8 Q F2(!)A F1(pr)A(e\214x)-.37 E F2 +(*)A F0(})A(${)108 244.8 Q F2(!)A F1(pr)A(e\214x)-.37 E F2(@)A F0(})A F2 +.085(Names matching pr)144 256.8 R(e\214x)-.18 E F0 5.085(.E)C .084 +(xpands to the names of v)-5.085 F .084(ariables whose names be)-.25 F +.084(gin with)-.15 F F1(pr)2.584 E(e\214x)-.37 E F0 2.584(,s)C(epa-) +-2.584 E .257(rated by the \214rst character of the)144 268.8 R/F3 9 +/Times-Bold@0 SF(IFS)2.757 E F0 .257(special v)2.507 F 2.757 +(ariable. When)-.25 F F1(@)2.758 E F0 .258(is used and the e)2.758 F +.258(xpansion appears)-.15 F(within double quotes, each v)144 280.8 Q +(ariable name e)-.25 E(xpands to a separate w)-.15 E(ord.)-.1 E(${)108 +297.6 Q F2(!)A F1(name)A F0([)A F1(@)A F0(]})A(${)108 309.6 Q F2(!)A F1 +(name)A F0([)A F1(*)A F0(]})A F2 2.036(List of array k)144 321.6 R(eys) +-.1 E F0 7.036(.I)C(f)-7.036 E F1(name)4.536 E F0 2.036(is an array v) +4.536 F 2.036(ariable, e)-.25 F 2.036 +(xpands to the list of array indices \(k)-.15 F -.15(ey)-.1 G(s\)).15 E +.595(assigned in)144 333.6 R F1(name)3.095 E F0 5.595(.I)C(f)-5.595 E F1 +(name)3.095 E F0 .595(is not an array)3.095 F 3.095(,e)-.65 G .595 +(xpands to 0 if)-3.245 F F1(name)3.095 E F0 .596 +(is set and null otherwise.)3.095 F(When)5.596 E F1(@)144 345.6 Q F0 (is used and the e)2.5 E(xpansion appears within double quotes, each k) -.15 E .3 -.15(ey ex)-.1 H(pands to a separate w).15 E(ord.)-.1 E(${)108 -662.4 Q F2(#)A F1(par)A(ameter)-.15 E F0(})A F2 -.1(Pa)144 674.4 S .471 +362.4 Q F2(#)A F1(par)A(ameter)-.15 E F0(})A F2 -.1(Pa)144 374.4 S .471 (rameter length).1 F F0 5.471(.T)C .471 (he length in characters of the v)-5.471 F .471(alue of)-.25 F F1(par) 2.971 E(ameter)-.15 E F0 .47(is substituted.)2.97 F(If)5.47 E F1(par) -4.22 E(ame-)-.15 E(ter)144 686.4 Q F0(is)4.438 E F2(*)3.708 E F0(or) +4.22 E(ame-)-.15 E(ter)144 386.4 Q F0(is)4.438 E F2(*)3.708 E F0(or) 3.708 E F2(@)3.708 E F0 3.708(,t)C 1.208(he v)-3.708 F 1.208 (alue substituted is the number of positional parameters.)-.25 F(If) 6.209 E F1(par)4.959 E(ameter)-.15 E F0 1.209(is an)4.439 F .349 -(array name subscripted by)144 698.4 R F2(*)2.849 E F0(or)2.849 E F2(@) +(array name subscripted by)144 398.4 R F2(*)2.849 E F0(or)2.849 E F2(@) 2.849 E F0 2.849(,t)C .349(he v)-2.849 F .349 (alue substituted is the number of elements in the array)-.25 F 5.348 -(.I)-.65 G(f)-5.348 E F1(par)145.25 710.4 Q(ameter)-.15 E F0 .455 +(.I)-.65 G(f)-5.348 E F1(par)145.25 410.4 Q(ameter)-.15 E F0 .455 (is an inde)3.685 F -.15(xe)-.15 G 2.955(da).15 G .456 (rray name subscripted by a ne)-2.955 F -.05(ga)-.15 G(ti).05 E .756 -.15(ve n)-.25 H(umber).15 E 2.956(,t)-.4 G .456 -(hat number is interpreted)-2.956 F .973(as relati)144 722.4 R 1.273 +(hat number is interpreted)-2.956 F .973(as relati)144 422.4 R 1.273 -.15(ve t)-.25 H 3.473(oo).15 G .973(ne greater than the maximum inde) -3.473 F 3.473(xo)-.15 G(f)-3.473 E F1(par)3.473 E(ameter)-.15 E F0 3.472(,s)C 3.472(on)-3.472 G -2.25 -.15(eg a)-3.472 H(ti).15 E 1.272 --.15(ve i)-.25 H .972(ndices count back).15 F(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(21)190.95 E 0 Cg EP -%%Page: 22 22 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(from the end of the array)144 84 Q 2.5(,a)-.65 G(nd an inde)-2.5 -E 2.5(xo)-.15 G 2.5<66ad>-2.5 G 2.5(1r)-2.5 G -(eferences the last element.)-2.5 E(${)108 100.8 Q/F1 10/Times-Italic@0 -SF(par)A(ameter)-.15 E/F2 10/Times-Bold@0 SF(#)A F1(wor)A(d)-.37 E F0(}) -A(${)108 112.8 Q F1(par)A(ameter)-.15 E F2(##)A F1(wor)A(d)-.37 E F0(})A -F2(Remo)144 124.8 Q 1.396 -.1(ve m)-.1 H 1.196(atching pr).1 F 1.196 -(e\214x patter)-.18 F(n)-.15 E F0 6.196(.T)C(he)-6.196 E F1(wor)4.036 E -(d)-.37 E F0 1.196(is e)4.466 F 1.196 -(xpanded to produce a pattern just as in path-)-.15 F .152(name e)144 -136.8 R 2.652(xpansion. If)-.15 F .152(the pattern matches the be)2.652 -F .152(ginning of the v)-.15 F .152(alue of)-.25 F F1(par)2.652 E -(ameter)-.15 E F0 2.652(,t).73 G .151(hen the result of)-2.652 F 1.4 -(the e)144 148.8 R 1.4(xpansion is the e)-.15 F 1.4(xpanded v)-.15 F 1.4 -(alue of)-.25 F F1(par)5.15 E(ameter)-.15 E F0 1.4 -(with the shortest matching pattern \(the `)4.63 F(`)-.74 E F2(#)A F0 --.74('')C .281(case\) or the longest matching pattern \(the `)144 160.8 -R(`)-.74 E F2(##)A F0 1.761 -.74('' c)D .281(ase\) deleted.).74 F(If) -5.281 E F1(par)4.031 E(ameter)-.15 E F0(is)3.511 E F2(@)2.781 E F0(or) -2.781 E F2(*)2.781 E F0 2.781(,t)C .281(he pattern)-2.781 F(remo)144 -172.8 Q -.25(va)-.15 G 3.274(lo).25 G .774 +-.15(ve i)-.25 H .972(ndices count back).15 F(from the end of the array) +144 434.4 Q 2.5(,a)-.65 G(nd an inde)-2.5 E 2.5(xo)-.15 G 2.5<66ad>-2.5 +G 2.5(1r)-2.5 G(eferences the last element.)-2.5 E(${)108 451.2 Q F1 +(par)A(ameter)-.15 E F2(#)A F1(wor)A(d)-.37 E F0(})A(${)108 463.2 Q F1 +(par)A(ameter)-.15 E F2(##)A F1(wor)A(d)-.37 E F0(})A F2(Remo)144 475.2 +Q 1.396 -.1(ve m)-.1 H 1.196(atching pr).1 F 1.196(e\214x patter)-.18 F +(n)-.15 E F0 6.196(.T)C(he)-6.196 E F1(wor)4.036 E(d)-.37 E F0 1.196 +(is e)4.466 F 1.196(xpanded to produce a pattern just as in path-)-.15 F +.152(name e)144 487.2 R 2.652(xpansion. If)-.15 F .152 +(the pattern matches the be)2.652 F .152(ginning of the v)-.15 F .152 +(alue of)-.25 F F1(par)2.652 E(ameter)-.15 E F0 2.652(,t).73 G .151 +(hen the result of)-2.652 F 1.4(the e)144 499.2 R 1.4(xpansion is the e) +-.15 F 1.4(xpanded v)-.15 F 1.4(alue of)-.25 F F1(par)5.15 E(ameter)-.15 +E F0 1.4(with the shortest matching pattern \(the `)4.63 F(`)-.74 E F2 +(#)A F0 -.74('')C .281(case\) or the longest matching pattern \(the `) +144 511.2 R(`)-.74 E F2(##)A F0 1.761 -.74('' c)D .281(ase\) deleted.) +.74 F(If)5.281 E F1(par)4.031 E(ameter)-.15 E F0(is)3.511 E F2(@)2.781 E +F0(or)2.781 E F2(*)2.781 E F0 2.781(,t)C .281(he pattern)-2.781 F(remo) +144 523.2 Q -.25(va)-.15 G 3.274(lo).25 G .774 (peration is applied to each positional parameter in turn, and the e) --3.274 F .774(xpansion is the resul-)-.15 F .402(tant list.)144 184.8 R +-3.274 F .774(xpansion is the resul-)-.15 F .402(tant list.)144 535.2 R (If)5.402 E F1(par)4.152 E(ameter)-.15 E F0 .401(is an array v)3.632 F .401(ariable subscripted with)-.25 F F2(@)2.901 E F0(or)2.901 E F2(*) 2.901 E F0 2.901(,t)C .401(he pattern remo)-2.901 F -.25(va)-.15 G 2.901 (lo).25 G(peration)-2.901 E -(is applied to each member of the array in turn, and the e)144 196.8 Q -(xpansion is the resultant list.)-.15 E(${)108 213.6 Q F1(par)A(ameter) --.15 E F2(%)A F1(wor)A(d)-.37 E F0(})A(${)108 225.6 Q F1(par)A(ameter) --.15 E F2(%%)A F1(wor)A(d)-.37 E F0(})A F2(Remo)144 237.6 Q .346 -.1 -(ve m)-.1 H .146(atching suf\214x patter).1 F(n)-.15 E F0 5.146(.T)C(he) --5.146 E F1(wor)2.646 E(d)-.37 E F0 .147(is e)2.647 F .147 -(xpanded to produce a pattern just as in pathname)-.15 F -.15(ex)144 -249.6 S 3.088(pansion. If).15 F .588 +(is applied to each member of the array in turn, and the e)144 547.2 Q +(xpansion is the resultant list.)-.15 E(${)108 564 Q F1(par)A(ameter) +-.15 E F2(%)A F1(wor)A(d)-.37 E F0(})A(${)108 576 Q F1(par)A(ameter)-.15 +E F2(%%)A F1(wor)A(d)-.37 E F0(})A F2(Remo)144 588 Q .346 -.1(ve m)-.1 H +.146(atching suf\214x patter).1 F(n)-.15 E F0 5.146(.T)C(he)-5.146 E F1 +(wor)2.646 E(d)-.37 E F0 .147(is e)2.647 F .147 +(xpanded to produce a pattern just as in pathname)-.15 F -.15(ex)144 600 +S 3.088(pansion. If).15 F .588 (the pattern matches a trailing portion of the e)3.088 F .588(xpanded v) -.15 F .588(alue of)-.25 F F1(par)3.088 E(ameter)-.15 E F0 3.088(,t).73 -G .588(hen the)-3.088 F .226(result of the e)144 261.6 R .226 +G .588(hen the)-3.088 F .226(result of the e)144 612 R .226 (xpansion is the e)-.15 F .226(xpanded v)-.15 F .226(alue of)-.25 F F1 (par)3.976 E(ameter)-.15 E F0 .226 -(with the shortest matching pattern \(the)3.456 F -.74(``)144 273.6 S F2 +(with the shortest matching pattern \(the)3.456 F -.74(``)144 624 S F2 (%).74 E F0 1.522 -.74('' c)D .042 (ase\) or the longest matching pattern \(the `).74 F(`)-.74 E F2(%%)A F0 1.522 -.74('' c)D .042(ase\) deleted.).74 F(If)5.042 E F1(par)3.792 E (ameter)-.15 E F0(is)3.272 E F2(@)2.541 E F0(or)2.541 E F2(*)2.541 E F0 -2.541(,t)C(he)-2.541 E .44(pattern remo)144 285.6 R -.25(va)-.15 G 2.94 +2.541(,t)C(he)-2.541 E .44(pattern remo)144 636 R -.25(va)-.15 G 2.94 (lo).25 G .441 (peration is applied to each positional parameter in turn, and the e) --2.94 F .441(xpansion is the)-.15 F .241(resultant list.)144 297.6 R(If) +-2.94 F .441(xpansion is the)-.15 F .241(resultant list.)144 648 R(If) 5.241 E F1(par)3.991 E(ameter)-.15 E F0 .241(is an array v)3.471 F .241 (ariable subscripted with)-.25 F F2(@)2.741 E F0(or)2.74 E F2(*)2.74 E F0 2.74(,t)C .24(he pattern remo)-2.74 F -.25(va)-.15 G 2.74(lo).25 G (per)-2.74 E(-)-.2 E -(ation is applied to each member of the array in turn, and the e)144 -309.6 Q(xpansion is the resultant list.)-.15 E(${)108 326.4 Q F1(par)A -(ameter)-.15 E F2(/)A F1(pattern)A F2(/)A F1(string)A F0(})A F2 -.1(Pa) -144 338.4 S(tter).1 E 3.606(ns)-.15 G(ubstitution)-3.606 E F0 6.106(.T)C -(he)-6.106 E F1(pattern)3.606 E F0 1.106(is e)3.606 F 1.107 +(ation is applied to each member of the array in turn, and the e)144 660 +Q(xpansion is the resultant list.)-.15 E(${)108 676.8 Q F1(par)A(ameter) +-.15 E F2(/)A F1(pattern)A F2(/)A F1(string)A F0(})A F2 -.1(Pa)144 688.8 +S(tter).1 E 3.606(ns)-.15 G(ubstitution)-3.606 E F0 6.106(.T)C(he)-6.106 +E F1(pattern)3.606 E F0 1.106(is e)3.606 F 1.107 (xpanded to produce a pattern just as in pathname e)-.15 F(xpan-)-.15 E -(sion.)144 350.4 Q F1 -.8(Pa)6.034 G -.15(ra).8 G(meter).15 E F0 1.034 +(sion.)144 700.8 Q F1 -.8(Pa)6.034 G -.15(ra).8 G(meter).15 E F0 1.034 (is e)3.534 F 1.033(xpanded and the longest match of)-.15 F F1(pattern) 3.533 E F0(ag)3.533 E 1.033(ainst its v)-.05 F 1.033 -(alue is replaced with)-.25 F F1(string)144 362.4 Q F0 5.16(.I)C(f)-5.16 +(alue is replaced with)-.25 F F1(string)144 712.8 Q F0 5.16(.I)C(f)-5.16 E F1(pattern)2.66 E F0(be)2.66 E .16(gins with)-.15 F F2(/)2.66 E F0 2.66(,a)C .161(ll matches of)-2.66 F F1(pattern)2.661 E F0 .161 (are replaced with)2.661 F F1(string)2.661 E F0 5.161(.N)C .161 -(ormally only the)-5.161 F .807(\214rst match is replaced.)144 374.4 R +(ormally only the)-5.161 F .807(\214rst match is replaced.)144 724.8 R (If)5.807 E F1(pattern)3.307 E F0(be)3.307 E .807(gins with)-.15 F F2(#) 3.307 E F0 3.306(,i)C 3.306(tm)-3.306 G .806(ust match at the be)-3.306 -F .806(ginning of the e)-.15 F(xpanded)-.15 E -.25(va)144 386.4 S .62 -(lue of).25 F F1(par)3.12 E(ameter)-.15 E F0 5.62(.I)C(f)-5.62 E F1 -(pattern)3.12 E F0(be)3.12 E .62(gins with)-.15 F F2(%)3.12 E F0 3.12 -(,i)C 3.121(tm)-3.12 G .621(ust match at the end of the e)-3.121 F .621 -(xpanded v)-.15 F .621(alue of)-.25 F F1(par)144 398.4 Q(ameter)-.15 E -F0 6.254(.I)C(f)-6.254 E F1(string)3.754 E F0 1.253(is null, matches of) -3.753 F F1(pattern)3.753 E F0 1.253(are deleted and the)3.753 F F2(/) -3.753 E F0(follo)3.753 E(wing)-.25 E F1(pattern)3.753 E F0 1.253(may be) -3.753 F 2.678(omitted. If)144 410.4 R F1(par)3.928 E(ameter)-.15 E F0 -(is)3.408 E F2(@)2.678 E F0(or)2.678 E F2(*)2.679 E F0 2.679(,t)C .179 -(he substitution operation is applied to each positional parameter) --2.679 F .619(in turn, and the e)144 422.4 R .619 -(xpansion is the resultant list.)-.15 F(If)5.619 E F1(par)4.369 E -(ameter)-.15 E F0 .618(is an array v)3.849 F .618 -(ariable subscripted with)-.25 F F2(@)144 434.4 Q F0(or)3.223 E F2(*) -3.223 E F0 3.223(,t)C .723(he substitution operation is applied to each\ - member of the array in turn, and the e)-3.223 F(xpan-)-.15 E -(sion is the resultant list.)144 446.4 Q(${)108 463.2 Q F1(par)A(ameter) --.15 E F2(^)A F1(pattern)A F0(})A(${)108 475.2 Q F1(par)A(ameter)-.15 E -F2(^^)A F1(pattern)A F0(})A(${)108 487.2 Q F1(par)A(ameter)-.15 E F2(,)A -F1(pattern)A F0(})A(${)108 499.2 Q F1(par)A(ameter)-.15 E F2(,,)A F1 -(pattern)A F0(})A F2 .438(Case modi\214cation)144 511.2 R F0 5.438(.T)C -.438(his e)-5.438 F .437 +F .806(ginning of the e)-.15 F(xpanded)-.15 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(22)192.055 E 0 Cg EP +%%Page: 23 23 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E -.25(va)144 84 S +.62(lue of).25 F/F1 10/Times-Italic@0 SF(par)3.12 E(ameter)-.15 E F0 +5.62(.I)C(f)-5.62 E F1(pattern)3.12 E F0(be)3.12 E .62(gins with)-.15 F +/F2 10/Times-Bold@0 SF(%)3.12 E F0 3.12(,i)C 3.121(tm)-3.12 G .621 +(ust match at the end of the e)-3.121 F .621(xpanded v)-.15 F .621 +(alue of)-.25 F F1(par)144 96 Q(ameter)-.15 E F0 6.254(.I)C(f)-6.254 E +F1(string)3.754 E F0 1.253(is null, matches of)3.753 F F1(pattern)3.753 +E F0 1.253(are deleted and the)3.753 F F2(/)3.753 E F0(follo)3.753 E +(wing)-.25 E F1(pattern)3.753 E F0 1.253(may be)3.753 F 2.731 +(omitted. If)144 108 R(the)2.731 E F2(nocasematch)2.731 E F0 .231 +(shell option is enabled, the match is performed without re)2.731 F -.05 +(ga)-.15 G .232(rd to the).05 F .188(case of alphabetic characters.)144 +120 R(If)5.188 E F1(par)3.938 E(ameter)-.15 E F0(is)3.418 E F2(@)2.688 E +F0(or)2.688 E F2(*)2.687 E F0 2.687(,t)C .187 +(he substitution operation is applied to each)-2.687 F .445 +(positional parameter in turn, and the e)144 132 R .446 +(xpansion is the resultant list.)-.15 F(If)5.446 E F1(par)4.196 E +(ameter)-.15 E F0 .446(is an array v)3.676 F(ari-)-.25 E .463 +(able subscripted with)144 144 R F2(@)2.963 E F0(or)2.963 E F2(*)2.963 E +F0 2.963(,t)C .462 +(he substitution operation is applied to each member of the array in) +-2.963 F(turn, and the e)144 156 Q(xpansion is the resultant list.)-.15 +E(${)108 172.8 Q F1(par)A(ameter)-.15 E F2(^)A F1(pattern)A F0(})A(${) +108 184.8 Q F1(par)A(ameter)-.15 E F2(^^)A F1(pattern)A F0(})A(${)108 +196.8 Q F1(par)A(ameter)-.15 E F2(,)A F1(pattern)A F0(})A(${)108 208.8 Q +F1(par)A(ameter)-.15 E F2(,,)A F1(pattern)A F0(})A F2 .437 +(Case modi\214cation)144 220.8 R F0 5.437(.T)C .437(his e)-5.437 F .438 (xpansion modi\214es the case of alphabetic characters in)-.15 F F1(par) -2.937 E(ameter)-.15 E F0 5.437(.T)C(he)-5.437 E F1(pattern)144 523.2 Q -F0 1.406(is e)3.906 F 1.407 -(xpanded to produce a pattern just as in pathname e)-.15 F 3.907 -(xpansion. Each)-.15 F 1.407(character in the)3.907 F -.15(ex)144 535.2 -S 1.232(panded v).15 F 1.232(alue of)-.25 F F1(par)3.732 E(ameter)-.15 E +2.938 E(ameter)-.15 E F0 5.438(.T)C(he)-5.438 E F1(pattern)144 232.8 Q +F0 1.407(is e)3.907 F 1.407 +(xpanded to produce a pattern just as in pathname e)-.15 F 3.906 +(xpansion. Each)-.15 F 1.406(character in the)3.906 F -.15(ex)144 244.8 +S 1.231(panded v).15 F 1.231(alue of)-.25 F F1(par)3.732 E(ameter)-.15 E F0 1.232(is tested ag)3.732 F(ainst)-.05 E F1(pattern)3.732 E F0 3.732 (,a)C 1.232(nd, if it matches the pattern, its case is)-3.732 F(con)144 -547.2 Q -.15(ve)-.4 G 2.924(rted. The).15 F .424 +256.8 Q -.15(ve)-.4 G 2.924(rted. The).15 F .424 (pattern should not attempt to match more than one character)2.924 F 5.424(.T)-.55 G(he)-5.424 E F2(^)2.924 E F0 .424(operator con-)2.924 F --.15(ve)144 559.2 S .61(rts lo).15 F .61(wercase letters matching)-.25 F +-.15(ve)144 268.8 S .61(rts lo).15 F .61(wercase letters matching)-.25 F F1(pattern)3.11 E F0 .61(to uppercase; the)3.11 F F2(,)3.11 E F0 .61 (operator con)3.11 F -.15(ve)-.4 G .61(rts matching uppercase).15 F -1.547(letters to lo)144 571.2 R 4.047(wercase. The)-.25 F F2(^^)4.047 E +1.548(letters to lo)144 280.8 R 4.047(wercase. The)-.25 F F2(^^)4.047 E F0(and)4.047 E F2(,,)4.047 E F0 -.15(ex)4.047 G 1.547(pansions con).15 F -.15(ve)-.4 G 1.547(rt each matched character in the e).15 F(xpanded) --.15 E -.25(va)144 583.2 S .634(lue; the).25 F F2(^)3.134 E F0(and)3.134 -E F2(,)3.134 E F0 -.15(ex)3.134 G .634(pansions match and con).15 F -.15 -(ve)-.4 G .633(rt only the \214rst character in the e).15 F .633 -(xpanded v)-.15 F 3.133(alue. If)-.25 F F1(pattern)144 595.2 Q F0 .78 +-.15 E -.25(va)144 292.8 S .633(lue; the).25 F F2(^)3.133 E F0(and)3.133 +E F2(,)3.133 E F0 -.15(ex)3.133 G .633(pansions match and con).15 F -.15 +(ve)-.4 G .634(rt only the \214rst character in the e).15 F .634 +(xpanded v)-.15 F 3.134(alue. If)-.25 F F1(pattern)144 304.8 Q F0 .78 (is omitted, it is treated lik)3.28 F 3.28(ea)-.1 G F2(?)A F0 3.28(,w)C .78(hich matches e)-3.28 F -.15(ve)-.25 G .78(ry character).15 F 5.78 (.I)-.55 G(f)-5.78 E F1(par)4.53 E(ameter)-.15 E F0(is)4.01 E F2(@)3.28 E F0(or)3.28 E F2(*)3.28 E F0(,)A .582(the case modi\214cation operatio\ -n is applied to each positional parameter in turn, and the e)144 607.2 R -(xpansion)-.15 E .468(is the resultant list.)144 619.2 R(If)5.468 E F1 +n is applied to each positional parameter in turn, and the e)144 316.8 R +(xpansion)-.15 E .469(is the resultant list.)144 328.8 R(If)5.469 E F1 (par)4.218 E(ameter)-.15 E F0 .468(is an array v)3.698 F .468 -(ariable subscripted with)-.25 F F2(@)2.968 E F0(or)2.968 E F2(*)2.969 E -F0 2.969(,t)C .469(he case modi\214ca-)-2.969 F .005(tion operation is \ -applied to each member of the array in turn, and the e)144 631.2 R .005 -(xpansion is the resultant list.)-.15 F F2(Command Substitution)87 648 Q -F1 1.697(Command substitution)108 660 R F0(allo)4.197 E 1.697 +(ariable subscripted with)-.25 F F2(@)2.968 E F0(or)2.968 E F2(*)2.968 E +F0 2.968(,t)C .468(he case modi\214ca-)-2.968 F(tion operation is appli\ +ed to each member of the array in turn, and the e)144 340.8 Q +(xpansion is the resultant list.)-.15 E(${)108 357.6 Q F1(par)A(ameter) +-.15 E F2(@)A F1(oper)A(ator)-.15 E F0(})A F2 -.1(Pa)144 369.6 S .86 +(rameter transf).1 F(ormation)-.25 E F0 5.86(.T)C .86(he e)-5.86 F .86 +(xpansion is either a transformation of the v)-.15 F .86(alue of)-.25 F +F1(par)3.36 E(ameter)-.15 E F0 .154(or information about)144 381.6 R F1 +(par)2.654 E(ameter)-.15 E F0 .153(itself, depending on the v)2.654 F +.153(alue of)-.25 F F1(oper)2.653 E(ator)-.15 E F0 5.153(.E)C(ach)-5.153 +E F1(oper)2.653 E(ator)-.15 E F0 .153(is a sin-)2.653 F(gle letter:)144 +393.6 Q F2(Q)144 417.6 Q F0 1.064(The e)180 417.6 R 1.064 +(xpansion is a string that is the v)-.15 F 1.065(alue of)-.25 F F1(par) +3.565 E(ameter)-.15 E F0 1.065(quoted in a format that can be)3.565 F +(reused as input.)180 429.6 Q F2(E)144 441.6 Q F0 .441(The e)180 441.6 R +.441(xpansion is a string that is the v)-.15 F .441(alue of)-.25 F F1 +(par)2.941 E(ameter)-.15 E F0 .44(with backslash escape sequences)2.94 F +-.15(ex)180 453.6 S(panded as with the).15 E F2($'...)2.5 E(')-.55 E F0 +(quoting mechansim.)2.5 E F2(P)144 465.6 Q F0 1.072(The e)180 465.6 R +1.073(xpansion is a string that is the result of e)-.15 F 1.073 +(xpanding the v)-.15 F 1.073(alue of)-.25 F F1(par)3.573 E(ameter)-.15 E +F0 1.073(as if it)3.573 F(were a prompt string \(see)180 477.6 Q F2(PR) +2.5 E(OMPTING)-.3 E F0(belo)2.5 E(w\).)-.25 E F2(A)144 489.6 Q F0 1.138 +(The e)180 489.6 R 1.138 +(xpansion is a string in the form of an assignment statement or)-.15 F +F2(declar)3.637 E(e)-.18 E F0(command)3.637 E(that, if e)180 501.6 Q +-.25(va)-.25 G(luated, will recreate).25 E F1(par)2.5 E(ameter)-.15 E F0 +(with its attrib)2.5 E(utes and v)-.2 E(alue.)-.25 E F2(a)144 513.6 Q F0 +(The e)180 513.6 Q(xpansion is a string consisting of \215ag v)-.15 E +(alues representing)-.25 E F1(par)2.5 E(ameter)-.15 E F0 1.1 -.55('s a)D +(ttrib).55 E(utes.)-.2 E(If)144 530.4 Q F1(par)5.33 E(ameter)-.15 E F0 +(is)4.81 E F2(@)4.08 E F0(or)4.08 E F2(*)4.08 E F0 4.08(,t)C 1.581 +(he operation is applied to each positional parameter in turn, and the) +-4.08 F -.15(ex)144 542.4 S .347(pansion is the resultant list.).15 F +(If)5.347 E F1(par)4.097 E(ameter)-.15 E F0 .346(is an array v)3.577 F +.346(ariable subscripted with)-.25 F F2(@)2.846 E F0(or)2.846 E F2(*) +2.846 E F0 2.846(,t)C .346(he case)-2.846 F 1.204(modi\214cation operat\ +ion is applied to each member of the array in turn, and the e)144 554.4 +R 1.204(xpansion is the)-.15 F(resultant list.)144 566.4 Q 1.85 +(The result of the e)144 590.4 R 1.849(xpansion is subject to w)-.15 F +1.849(ord splitting and pathname e)-.1 F 1.849(xpansion as described) +-.15 F(belo)144 602.4 Q -.65(w.)-.25 G F2(Command Substitution)87 619.2 +Q F1 1.697(Command substitution)108 631.2 R F0(allo)4.197 E 1.697 (ws the output of a command to replace the command name.)-.25 F 1.698 -(There are tw)6.698 F(o)-.1 E(forms:)108 672 Q F2($\()144 688.8 Q F1 -(command)A F2(\))1.666 E F0(or)108 700.8 Q F2<92>144 712.8 Q F1(command) -A F2<92>A(Bash)108 729.6 Q F0 1.709(performs the e)4.209 F 1.709 -(xpansion by e)-.15 F -.15(xe)-.15 G(cuting).15 E F1(command)4.209 E F0 -1.708(and replacing the command substitution with the)4.208 F -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(22)190.95 E 0 Cg EP -%%Page: 23 23 +(There are tw)6.698 F(o)-.1 E(forms:)108 643.2 Q F2($\()144 660 Q F1 +(command)A F2(\))1.666 E F0(or)108 672 Q F2<92>144 684 Q F1(command)A F2 +<92>A(Bash)108 700.8 Q F0 .089(performs the e)2.589 F .089 +(xpansion by e)-.15 F -.15(xe)-.15 G(cuting).15 E F1(command)2.589 E F0 +.088(in a subshell en)2.589 F .088(vironment and replacing the command) +-.4 F .41(substitution with the standard output of the command, with an) +108 712.8 R 2.91(yt)-.15 G .41(railing ne)-2.91 F .41(wlines deleted.) +-.25 F .41(Embedded ne)5.41 F(w-)-.25 E .192(lines are not deleted, b) +108 724.8 R .192(ut the)-.2 F 2.692(ym)-.15 G .192(ay be remo)-2.692 F +-.15(ve)-.15 G 2.692(dd).15 G .192(uring w)-2.692 F .192(ord splitting.) +-.1 F .192(The command substitution)5.192 F F2($\(cat)2.691 E F1(\214le) +2.691 E F2(\))A F0(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(23) +192.055 E 0 Cg EP +%%Page: 24 24 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .749(standard output of the command, with an)108 84 R 3.249(yt) --.15 G .749(railing ne)-3.249 F .749(wlines deleted.)-.25 F .75 -(Embedded ne)5.749 F .75(wlines are not deleted,)-.25 F -.2(bu)108 96 S -3.197(tt).2 G(he)-3.197 E 3.197(ym)-.15 G .697(ay be remo)-3.197 F -.15 -(ve)-.15 G 3.196(dd).15 G .696(uring w)-3.196 F .696(ord splitting.)-.1 -F .696(The command substitution)5.696 F/F1 10/Times-Bold@0 SF($\(cat) -3.196 E/F2 10/Times-Italic@0 SF(\214le)3.196 E F1(\))A F0 .696 -(can be replaced by)3.196 F(the equi)108 108 Q -.25(va)-.25 G(lent b).25 -E(ut f)-.2 E(aster)-.1 E F1($\(<)2.5 E F2(\214le)2.5 E F1(\))A F0(.)A -1.724(When the old-style backquote form of substitution is used, backsl\ -ash retains its literal meaning e)108 124.8 R(xcept)-.15 E .315 -(when follo)108 136.8 R .315(wed by)-.25 F F1($)2.815 E F0(,)A F1<92> -2.815 E F0 2.815(,o)C(r)-2.815 E F1(\\)2.815 E F0 5.315(.T)C .314(he \ -\214rst backquote not preceded by a backslash terminates the command su\ -b-)-5.315 F 3.886(stitution. When)108 148.8 R 1.386(using the $\()3.886 -F F2(command).833 E F0 3.886(\)f)1.666 G 1.387 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E +(can be replaced by the equi)108 84 Q -.25(va)-.25 G(lent b).25 E(ut f) +-.2 E(aster)-.1 E/F1 10/Times-Bold@0 SF($\(<)2.5 E/F2 10/Times-Italic@0 +SF(\214le)2.5 E F1(\))A F0(.)A 1.724(When the old-style backquote form \ +of substitution is used, backslash retains its literal meaning e)108 +100.8 R(xcept)-.15 E .315(when follo)108 112.8 R .315(wed by)-.25 F F1 +($)2.815 E F0(,)A F1<92>2.815 E F0 2.815(,o)C(r)-2.815 E F1(\\)2.815 E +F0 5.315(.T)C .314(he \214rst backquote not preceded by a backslash ter\ +minates the command sub-)-5.315 F 3.886(stitution. When)108 124.8 R +1.386(using the $\()3.886 F F2(command).833 E F0 3.886(\)f)1.666 G 1.387 (orm, all characters between the parentheses mak)-3.886 F 3.887(eu)-.1 G 3.887(pt)-3.887 G 1.387(he com-)-3.887 F -(mand; none are treated specially)108 160.8 Q(.)-.65 E .894 -(Command substitutions may be nested.)108 177.6 R 2.494 -.8(To n)5.894 H +(mand; none are treated specially)108 136.8 Q(.)-.65 E .894 +(Command substitutions may be nested.)108 153.6 R 2.494 -.8(To n)5.894 H .894(est when using the backquoted form, escape the inner back-).8 F -(quotes with backslashes.)108 189.6 Q .422 -(If the substitution appears within double quotes, w)108 206.4 R .422 +(quotes with backslashes.)108 165.6 Q .422 +(If the substitution appears within double quotes, w)108 182.4 R .422 (ord splitting and pathname e)-.1 F .423(xpansion are not performed)-.15 -F(on the results.)108 218.4 Q F1(Arithmetic Expansion)87 235.2 Q F0 -1.035(Arithmetic e)108 247.2 R 1.035(xpansion allo)-.15 F 1.035 +F(on the results.)108 194.4 Q F1(Arithmetic Expansion)87 211.2 Q F0 +1.035(Arithmetic e)108 223.2 R 1.035(xpansion allo)-.15 F 1.035 (ws the e)-.25 F -.25(va)-.25 G 1.034(luation of an arithmetic e).25 F 1.034(xpression and the substitution of the result.)-.15 F -(The format for arithmetic e)108 259.2 Q(xpansion is:)-.15 E F1($\(\() -144 276 Q F2 -.2(ex)C(pr).2 E(ession)-.37 E F1(\)\))A F0(The)108 292.8 Q +(The format for arithmetic e)108 235.2 Q(xpansion is:)-.15 E F1($\(\() +144 252 Q F2 -.2(ex)C(pr).2 E(ession)-.37 E F1(\)\))A F0(The)108 268.8 Q F2 -.2(ex)2.665 G(pr).2 E(ession)-.37 E F0 .165 (is treated as if it were within double quotes, b)2.905 F .166 (ut a double quote inside the parentheses is not)-.2 F .231 -(treated specially)108 304.8 R 5.231(.A)-.65 G .231(ll tok)-5.231 F .231 +(treated specially)108 280.8 R 5.231(.A)-.65 G .231(ll tok)-5.231 F .231 (ens in the e)-.1 F .231(xpression under)-.15 F .231(go parameter and v) -.18 F .23(ariable e)-.25 F .23(xpansion, command substi-)-.15 F 1.059 -(tution, and quote remo)108 316.8 R -.25(va)-.15 G 3.559(l. The).25 F +(tution, and quote remo)108 292.8 R -.25(va)-.15 G 3.559(l. The).25 F 1.059(result is treated as the arithmetic e)3.559 F 1.06 (xpression to be e)-.15 F -.25(va)-.25 G 3.56(luated. Arithmetic).25 F --.15(ex)108 328.8 S(pansions may be nested.).15 E 1.379(The e)108 345.6 +-.15(ex)108 304.8 S(pansions may be nested.).15 E 1.379(The e)108 321.6 R -.25(va)-.25 G 1.378 (luation is performed according to the rules listed belo).25 F 3.878(wu) -.25 G(nder)-3.878 E/F3 9/Times-Bold@0 SF 1.378(ARITHMETIC EV)3.878 F (ALU)-1.215 E -.855(AT)-.54 G(ION).855 E/F4 9/Times-Roman@0 SF(.)A F0 -(If)5.878 E F2 -.2(ex)108 357.6 S(pr).2 E(ession)-.37 E F0(is in)2.74 E +(If)5.878 E F2 -.2(ex)108 333.6 S(pr).2 E(ession)-.37 E F0(is in)2.74 E -.25(va)-.4 G(lid,).25 E F1(bash)2.5 E F0(prints a message indicating f) -2.5 E(ailure and no substitution occurs.)-.1 E F1(Pr)87 374.4 Q -(ocess Substitution)-.18 E F2(Pr)108 386.4 Q .97(ocess substitution)-.45 -F F0 .971(is supported on systems that support named pipes \()3.47 F F2 -(FIFOs)A F0 3.471(\)o)C 3.471(rt)-3.471 G(he)-3.471 E F1(/de)3.471 E -(v/fd)-.15 E F0 .971(method of)3.471 F .022(naming open \214les.)108 -398.4 R .021(It tak)5.022 F .021(es the form of)-.1 F F1(<\()2.521 E F2 -(list)A F1(\)).833 E F0(or)2.521 E F1(>\()2.521 E F2(list)A F1(\)).833 E -F0 5.021(.T)C .021(he process)-5.021 F F2(list)2.521 E F0 .021 -(is run with its input or output con-)2.521 F .058(nected to a)108 410.4 -R F2(FIFO)2.558 E F0 .058(or some \214le in)2.558 F F1(/de)2.558 E(v/fd) --.15 E F0 5.058(.T)C .058(he name of this \214le is passed as an ar) --5.058 F .059(gument to the current com-)-.18 F .131 -(mand as the result of the e)108 422.4 R 2.631(xpansion. If)-.15 F(the) -2.63 E F1(>\()2.63 E F2(list)A F1(\)).833 E F0 .13 -(form is used, writing to the \214le will pro)2.63 F .13(vide input for) --.15 F F2(list)2.63 E F0(.)A(If the)108 434.4 Q F1(<\()2.5 E F2(list)A -F1(\)).833 E F0(form is used, the \214le passed as an ar)2.5 E -(gument should be read to obtain the output of)-.18 E F2(list)2.5 E F0 -(.)A .896(When a)108 451.2 R -.25(va)-.2 G .896(ilable, process substit\ -ution is performed simultaneously with parameter and v).25 F .897 -(ariable e)-.25 F(xpansion,)-.15 E -(command substitution, and arithmetic e)108 463.2 Q(xpansion.)-.15 E F1 --.75(Wo)87 480 S(rd Splitting).75 E F0 1.143 -(The shell scans the results of parameter e)108 492 R 1.142 -(xpansion, command substitution, and arithmetic e)-.15 F 1.142 -(xpansion that)-.15 F(did not occur within double quotes for)108 504 Q +2.5 E(ailure and no substitution occurs.)-.1 E F1(Pr)87 350.4 Q +(ocess Substitution)-.18 E F2(Pr)108 362.4 Q .405(ocess substitution) +-.45 F F0(allo)2.905 E .405(ws a process')-.25 F 2.905(si)-.55 G .405 +(nput or output to be referred to using a \214lename.)-2.905 F .405 +(It tak)5.405 F .405(es the form)-.1 F(of)108 374.4 Q F1(<\()3.251 E F2 +(list)A F1(\)).833 E F0(or)3.251 E F1(>\()3.251 E F2(list)A F1(\)).833 E +F0 5.751(.T)C .751(he process)-5.751 F F2(list)3.251 E F0 .751 +(is run asynchronously)3.251 F 3.251(,a)-.65 G .751 +(nd its input or output appears as a \214lename.)-3.251 F .147 +(This \214lename is passed as an ar)108 386.4 R .148 +(gument to the current command as the result of the e)-.18 F 2.648 +(xpansion. If)-.15 F(the)2.648 E F1(>\()2.648 E F2(list)A F1(\)).833 E +F0 .56(form is used, writing to the \214le will pro)108 398.4 R .56 +(vide input for)-.15 F F2(list)3.059 E F0 5.559(.I)C 3.059(ft)-5.559 G +(he)-3.059 E F1(<\()3.059 E F2(list)A F1(\)).833 E F0 .559 +(form is used, the \214le passed as an)3.059 F(ar)108 410.4 Q .308 +(gument should be read to obtain the output of)-.18 F F2(list)2.808 E F0 +5.308(.P)C .309(rocess substitution is supported on systems that sup-) +-5.308 F(port named pipes \()108 422.4 Q F2(FIFOs)A F0 2.5(\)o)C 2.5(rt) +-2.5 G(he)-2.5 E F1(/de)2.5 E(v/fd)-.15 E F0 +(method of naming open \214les.)2.5 E .897(When a)108 439.2 R -.25(va) +-.2 G .896(ilable, process substitution is performed simultaneously wit\ +h parameter and v).25 F .896(ariable e)-.25 F(xpansion,)-.15 E +(command substitution, and arithmetic e)108 451.2 Q(xpansion.)-.15 E F1 +-.75(Wo)87 468 S(rd Splitting).75 E F0 1.142 +(The shell scans the results of parameter e)108 480 R 1.143 +(xpansion, command substitution, and arithmetic e)-.15 F 1.143 +(xpansion that)-.15 F(did not occur within double quotes for)108 492 Q F2(wor)2.5 E 2.5(ds)-.37 G(plitting)-2.5 E F0(.).22 E .063 -(The shell treats each character of)108 520.8 R F3(IFS)2.563 E F0 .063 +(The shell treats each character of)108 508.8 R F3(IFS)2.563 E F0 .063 (as a delimiter)2.313 F 2.563(,a)-.4 G .063 (nd splits the results of the other e)-2.563 F .063(xpansions into w) -.15 F(ords)-.1 E .207(using these characters as \214eld terminators.) -108 532.8 R(If)5.207 E F3(IFS)2.707 E F0 .207(is unset, or its v)2.457 F -.207(alue is e)-.25 F(xactly)-.15 E F1()2.707 E F0 -(,)A .836(the def)108 544.8 R .836(ault, then sequences of)-.1 F F1 -()3.336 E F0(,)A F1()3.336 E F0 3.336(,a)C(nd)-3.336 E F1 -()3.336 E F0 .837(at the be)3.336 F .837 -(ginning and end of the results of)-.15 F .346(the pre)108 556.8 R .345 +108 520.8 R(If)5.207 E F3(IFS)2.707 E F0 .207(is unset, or its v)2.457 F +.207(alue is e)-.25 F(xactly)-.15 E F1()2.708 E F0 +(,)A .837(the def)108 532.8 R .837(ault, then sequences of)-.1 F F1 +()3.337 E F0(,)A F1()3.337 E F0 3.337(,a)C(nd)-3.337 E F1 +()3.337 E F0 .836(at the be)3.336 F .836 +(ginning and end of the results of)-.15 F .345(the pre)108 544.8 R .345 (vious e)-.25 F .345(xpansions are ignored, and an)-.15 F 2.845(ys)-.15 G .345(equence of)-2.845 F F3(IFS)2.845 E F0 .345 (characters not at the be)2.595 F .345(ginning or end serv)-.15 F(es) --.15 E 1.236(to delimit w)108 568.8 R 3.736(ords. If)-.1 F F3(IFS)3.736 -E F0 1.236(has a v)3.486 F 1.236(alue other than the def)-.25 F 1.237 +-.15 E 1.237(to delimit w)108 556.8 R 3.737(ords. If)-.1 F F3(IFS)3.737 +E F0 1.236(has a v)3.486 F 1.236(alue other than the def)-.25 F 1.236 (ault, then sequences of the whitespace characters)-.1 F F1(space)108 -580.8 Q F0(and)3.187 E F1(tab)3.187 E F0 .687(are ignored at the be) -3.187 F .687(ginning and end of the w)-.15 F .686 -(ord, as long as the whitespace character is in)-.1 F .276(the v)108 -592.8 R .276(alue of)-.25 F F3(IFS)2.777 E F0(\(an)2.527 E F3(IFS)2.777 -E F0 .277(whitespace character\).)2.527 F(An)5.277 E 2.777(yc)-.15 G -.277(haracter in)-2.777 F F3(IFS)2.777 E F0 .277(that is not)2.527 F F3 -(IFS)2.777 E F0 .277(whitespace, along with)2.527 F(an)108 604.8 Q 3.336 -(ya)-.15 G(djacent)-3.336 E F3(IFS)3.336 E F0 .836 -(whitespace characters, delimits a \214eld.)3.086 F 3.335(As)5.835 G -.835(equence of)-3.335 F F3(IFS)3.335 E F0 .835 -(whitespace characters is also)3.085 F(treated as a delimiter)108 616.8 -Q 5(.I)-.55 G 2.5(ft)-5 G(he v)-2.5 E(alue of)-.25 E F3(IFS)2.5 E F0 -(is null, no w)2.25 E(ord splitting occurs.)-.1 E 1.878 -(Explicit null ar)108 633.6 R 1.878(guments \()-.18 F F1 .833("").833 G -F0(or)3.545 E F1 .833<0808>5.211 G F0 4.378(\)a)C 1.878(re retained.) --4.378 F 1.878(Unquoted implicit null ar)6.878 F 1.879 -(guments, resulting from the)-.18 F -.15(ex)108 645.6 S .177 -(pansion of parameters that ha).15 F .477 -.15(ve n)-.2 H 2.677(ov).15 G -.177(alues, are remo)-2.927 F -.15(ve)-.15 G 2.676(d. If).15 F 2.676(ap) -2.676 G .176(arameter with no v)-2.676 F .176(alue is e)-.25 F .176 -(xpanded within)-.15 F(double quotes, a null ar)108 657.6 Q -(gument results and is retained.)-.18 E(Note that if no e)108 674.4 Q -(xpansion occurs, no splitting is performed.)-.15 E F1 -.1(Pa)87 691.2 S -(thname Expansion).1 E F0 .37(After w)108 703.2 R .37 +568.8 Q F0(,)A F1(tab)2.506 E F0 2.506(,a)C(nd)-2.506 E F1(newline)2.506 +E F0 .006(are ignored at the be)2.506 F .006(ginning and end of the w) +-.15 F .007(ord, as long as the whitespace charac-)-.1 F .921 +(ter is in the v)108 580.8 R .92(alue of)-.25 F F3(IFS)3.42 E F0(\(an) +3.17 E F3(IFS)3.42 E F0 .92(whitespace character\).)3.17 F(An)5.92 E +3.42(yc)-.15 G .92(haracter in)-3.42 F F3(IFS)3.42 E F0 .92(that is not) +3.17 F F3(IFS)3.42 E F0(whitespace,)3.17 E .428(along with an)108 592.8 +R 2.928(ya)-.15 G(djacent)-2.928 E F3(IFS)2.928 E F0 .428 +(whitespace characters, delimits a \214eld.)2.678 F 2.928(As)5.428 G +.428(equence of)-2.928 F F3(IFS)2.928 E F0 .429(whitespace charac-)2.679 +F(ters is also treated as a delimiter)108 604.8 Q 5(.I)-.55 G 2.5(ft)-5 +G(he v)-2.5 E(alue of)-.25 E F3(IFS)2.5 E F0(is null, no w)2.25 E +(ord splitting occurs.)-.1 E 1.927(Explicit null ar)108 621.6 R 1.927 +(guments \()-.18 F F1 .833("").833 G F0(or)3.594 E F1 .833<0808>5.26 G +F0 4.427(\)a)C 1.927 +(re retained and passed to commands as empty strings.)-4.427 F(Unquoted) +6.927 E .484(implicit null ar)108 633.6 R .484 +(guments, resulting from the e)-.18 F .484 +(xpansion of parameters that ha)-.15 F .785 -.15(ve n)-.2 H 2.985(ov).15 +G .485(alues, are remo)-3.235 F -.15(ve)-.15 G 2.985(d. If).15 F(a)2.985 +E 1.572(parameter with no v)108 645.6 R 1.572(alue is e)-.25 F 1.571 +(xpanded within double quotes, a null ar)-.15 F 1.571 +(gument results and is retained and)-.18 F .723 +(passed to a command as an empty string.)108 657.6 R .724 +(When a quoted null ar)5.724 F .724(gument appears as part of a w)-.18 F +.724(ord whose)-.1 F -.15(ex)108 669.6 S .176 +(pansion is non-null, the null ar).15 F .176(gument is remo)-.18 F -.15 +(ve)-.15 G 2.676(d. That).15 F .176(is, the w)2.676 F(ord)-.1 E/F5 10 +/Courier@0 SF -5.1672.676 F F0(becomes)2.675 E F52.675 +E F0 .175(after w)2.675 F .175(ord split-)-.1 F(ting and null ar)108 +681.6 Q(gument remo)-.18 E -.25(va)-.15 G(l.).25 E(Note that if no e)108 +698.4 Q(xpansion occurs, no splitting is performed.)-.15 E(GNU Bash 4.4) +72 768 Q(2016 August 26)142.895 E(24)192.055 E 0 Cg EP +%%Page: 25 25 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF -.1(Pa)87 84 S(thname Expansion).1 E F0 .37(After w)108 96 R .37 (ord splitting, unless the)-.1 F F12.87 E F0 .37 (option has been set,)2.87 F F1(bash)2.87 E F0 .371(scans each w)2.871 F .371(ord for the characters)-.1 F F1(*)2.871 E F0(,)A F1(?)2.871 E F0 2.871(,a)C(nd)-2.871 E F1([)2.871 E F0(.)A .678 -(If one of these characters appears, then the w)108 715.2 R .677 -(ord is re)-.1 F -.05(ga)-.15 G .677(rded as a).05 F F2(pattern)3.177 E -F0 3.177(,a).24 G .677(nd replaced with an alphabeti-)-3.177 F .562 -(cally sorted list of \214lenames matching the pattern \(see)108 727.2 R -F3 -.09(Pa)3.062 G(tter).09 E 2.812(nM)-.135 G(atching)-2.812 E F0(belo) -2.812 E 3.062(w\). If)-.25 F .562(no matching \214lenames)3.062 F -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(23)190.95 E 0 Cg EP -%%Page: 24 24 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .009(are found, and the shell option)108 84 R/F1 10/Times-Bold@0 -SF(nullglob)2.509 E F0 .008(is not enabled, the w)2.509 F .008 +(If one of these characters appears, then the w)108 108 R .677 +(ord is re)-.1 F -.05(ga)-.15 G .677(rded as a).05 F/F2 10 +/Times-Italic@0 SF(pattern)3.177 E F0 3.177(,a).24 G .677 +(nd replaced with an alphabeti-)-3.177 F .562 +(cally sorted list of \214lenames matching the pattern \(see)108 120 R +/F3 9/Times-Bold@0 SF -.09(Pa)3.062 G(tter).09 E 2.812(nM)-.135 G +(atching)-2.812 E F0(belo)2.812 E 3.062(w\). If)-.25 F .562 +(no matching \214lenames)3.062 F .009(are found, and the shell option) +108 132 R F1(nullglob)2.509 E F0 .008(is not enabled, the w)2.509 F .008 (ord is left unchanged.)-.1 F .008(If the)5.008 F F1(nullglob)2.508 E F0 -.008(option is)2.508 F .442(set, and no matches are found, the w)108 96 +.008(option is)2.508 F .442(set, and no matches are found, the w)108 144 R .442(ord is remo)-.1 F -.15(ve)-.15 G 2.942(d. If).15 F(the)2.943 E F1 (failglob)2.943 E F0 .443(shell option is set, and no matches are)2.943 F 1.38(found, an error message is printed and the command is not e)108 -108 R -.15(xe)-.15 G 3.88(cuted. If).15 F 1.38(the shell option)3.88 F +156 R -.15(xe)-.15 G 3.88(cuted. If).15 F 1.38(the shell option)3.88 F F1(nocaseglob)3.88 E F0(is)3.88 E .103 -(enabled, the match is performed without re)108 120 R -.05(ga)-.15 G +(enabled, the match is performed without re)108 168 R -.05(ga)-.15 G .104(rd to the case of alphabetic characters.).05 F .104 -(When a pattern is used)5.104 F .378(for pathname e)108 132 R .378 +(When a pattern is used)5.104 F .378(for pathname e)108 180 R .378 (xpansion, the character)-.15 F F1 -.63(``)2.878 G -.55(.').63 G(')-.08 E F0 .378(at the start of a name or immediately follo)5.378 F .377 -(wing a slash must be)-.25 F .578(matched e)108 144 R(xplicitly)-.15 E +(wing a slash must be)-.25 F .578(matched e)108 192 R(xplicitly)-.15 E 3.078(,u)-.65 G .578(nless the shell option)-3.078 F F1(dotglob)3.079 E F0 .579(is set.)3.079 F .579 (When matching a pathname, the slash character)5.579 F 1.789(must al)108 -156 R -.1(wa)-.1 G 1.788(ys be matched e).1 F(xplicitly)-.15 E 6.788(.I) +204 R -.1(wa)-.1 G 1.788(ys be matched e).1 F(xplicitly)-.15 E 6.788(.I) -.65 G 4.288(no)-6.788 G 1.788(ther cases, the)-4.288 F F1 -.63(``)4.288 G -.55(.').63 G(')-.08 E F0 1.788(character is not treated specially) 6.788 F 6.788(.S)-.65 G 1.788(ee the)-6.788 F .165(description of)108 -168 R F1(shopt)2.665 E F0(belo)2.665 E 2.665(wu)-.25 G(nder)-2.665 E/F2 -9/Times-Bold@0 SF .165(SHELL B)2.665 F(UIL)-.09 E .165(TIN COMMANDS) --.828 F F0 .166(for a description of the)2.415 F F1(nocaseglob)2.666 E -F0(,)A F1(null-)2.666 E(glob)108 180 Q F0(,)A F1(failglob)2.5 E F0 2.5 -(,a)C(nd)-2.5 E F1(dotglob)2.5 E F0(shell options.)2.5 E(The)108 196.8 Q -F2(GLOBIGNORE)2.786 E F0 .286(shell v)2.536 F .285 +216 R F1(shopt)2.665 E F0(belo)2.665 E 2.665(wu)-.25 G(nder)-2.665 E F3 +.165(SHELL B)2.665 F(UIL)-.09 E .165(TIN COMMANDS)-.828 F F0 .166 +(for a description of the)2.415 F F1(nocaseglob)2.666 E F0(,)A F1(null-) +2.666 E(glob)108 228 Q F0(,)A F1(failglob)2.5 E F0 2.5(,a)C(nd)-2.5 E F1 +(dotglob)2.5 E F0(shell options.)2.5 E(The)108 244.8 Q F3(GLOBIGNORE) +2.786 E F0 .286(shell v)2.536 F .285 (ariable may be used to restrict the set of \214lenames matching a)-.25 -F/F3 10/Times-Italic@0 SF(pattern)2.785 E F0 5.285(.I).24 G(f)-5.285 E -F2(GLO-)2.785 E(BIGNORE)108 208.8 Q F0 2.316(is set, each matching \214\ -lename that also matches one of the patterns in)4.565 F F2(GLOBIGNORE) -4.816 E F0(is)4.566 E(remo)108 220.8 Q -.15(ve)-.15 G 2.66(df).15 G .16 -(rom the list of matches.)-2.66 F .16(The \214lenames)5.16 F F1 -.63(``) -2.66 G -.55(.').63 G(')-.08 E F0(and)5.16 E F1 -.63(``)2.66 G(..).63 E --.63('')-.55 G F0 .16(are al)5.79 F -.1(wa)-.1 G .159(ys ignored when).1 -F F2(GLOBIGNORE)2.659 E F0(is)2.409 E .045(set and not null.)108 232.8 R -(Ho)5.045 E(we)-.25 E -.15(ve)-.25 G .845 -.4(r, s).15 H(etting).4 E F2 -(GLOBIGNORE)2.545 E F0 .046(to a non-null v)2.296 F .046 -(alue has the ef)-.25 F .046(fect of enabling the)-.25 F F1(dotglob) -2.546 E F0 .787(shell option, so all other \214lenames be)108 244.8 R -.787(ginning with a)-.15 F F1 -.63(``)3.287 G -.55(.').63 G(')-.08 E F0 -.787(will match.)5.787 F 2.386 -.8(To g)5.787 H .786(et the old beha).8 -F .786(vior of ignoring)-.2 F .641(\214lenames be)108 256.8 R .641 -(ginning with a)-.15 F F1 -.63(``)3.141 G -.55(.').63 G(')-.08 E F0 -3.141(,m)C(ak)-3.141 E(e)-.1 E F1 -.63(``)3.141 G(.*').63 E(')-.63 E F0 -.642(one of the patterns in)5.642 F F2(GLOBIGNORE)3.142 E/F4 9 -/Times-Roman@0 SF(.)A F0(The)5.142 E F1(dotglob)3.142 E F0 .642 -(option is)3.142 F(disabled when)108 268.8 Q F2(GLOBIGNORE)2.5 E F0 -(is unset.)2.25 E F1 -.1(Pa)108 285.6 S(tter).1 E 2.5(nM)-.15 G(atching) --2.5 E F0(An)108 302.4 Q 3.138(yc)-.15 G .638(haracter that appears in \ -a pattern, other than the special pattern characters described belo) --3.138 F 1.938 -.65(w, m)-.25 H(atches).65 E 3.62(itself. The)108 314.4 -R 1.12(NUL character may not occur in a pattern.)3.62 F 3.62(Ab)6.12 G -1.12(ackslash escapes the follo)-3.62 F 1.12(wing character; the)-.25 F -.576(escaping backslash is discarded when matching.)108 326.4 R .576 +F F2(pattern)2.785 E F0 5.285(.I).24 G(f)-5.285 E F3(GLO-)2.785 E +(BIGNORE)108 256.8 Q F0 2.316(is set, each matching \214lename that als\ +o matches one of the patterns in)4.565 F F3(GLOBIGNORE)4.816 E F0(is) +4.566 E(remo)108 268.8 Q -.15(ve)-.15 G 3.915(df).15 G 1.415 +(rom the list of matches.)-3.915 F 1.415(If the)6.415 F F1(nocaseglob) +3.915 E F0 1.415(option is set, the matching ag)3.915 F 1.414 +(ainst the patterns in)-.05 F F3(GLOBIGNORE)108 280.8 Q F0 .146 +(is performed without re)2.396 F -.05(ga)-.15 G .146(rd to case.).05 F +.146(The \214lenames)5.146 F F1 -.63(``)2.646 G -.55(.').63 G(')-.08 E +F0(and)5.147 E F1 -.63(``)2.647 G(..).63 E -.63('')-.55 G F0 .147 +(are al)5.777 F -.1(wa)-.1 G .147(ys ignored when).1 F F3(GLOBIGNORE)108 +292.8 Q F0 .827(is set and not null.)3.077 F(Ho)5.827 E(we)-.25 E -.15 +(ve)-.25 G 1.627 -.4(r, s).15 H(etting).4 E F3(GLOBIGNORE)3.327 E F0 +.827(to a non-null v)3.077 F .827(alue has the ef)-.25 F .827(fect of) +-.25 F .682(enabling the)108 304.8 R F1(dotglob)3.182 E F0 .682 +(shell option, so all other \214lenames be)3.182 F .682(ginning with a) +-.15 F F1 -.63(``)3.182 G -.55(.').63 G(')-.08 E F0 .682(will match.) +5.682 F 2.283 -.8(To g)5.683 H .683(et the old).8 F(beha)108 316.8 Q +1.185(vior of ignoring \214lenames be)-.2 F 1.185(ginning with a)-.15 F +F1 -.63(``)3.684 G -.55(.').63 G(')-.08 E F0 3.684(,m)C(ak)-3.684 E(e) +-.1 E F1 -.63(``)3.684 G(.*').63 E(')-.63 E F0 1.184 +(one of the patterns in)6.184 F F3(GLOBIGNORE)3.684 E/F4 9/Times-Roman@0 +SF(.)A F0(The)108 328.8 Q F1(dotglob)3.131 E F0 .631 +(option is disabled when)3.131 F F3(GLOBIGNORE)3.132 E F0 .632 +(is unset.)2.882 F .632(The pattern matching honors the setting of)5.632 +F(the)108 340.8 Q F1(extglob)2.5 E F0(shell option.)2.5 E F1 -.1(Pa)108 +357.6 S(tter).1 E 2.5(nM)-.15 G(atching)-2.5 E F0(An)108 374.4 Q 3.138 +(yc)-.15 G .638(haracter that appears in a pattern, other than the spec\ +ial pattern characters described belo)-3.138 F 1.938 -.65(w, m)-.25 H +(atches).65 E 3.62(itself. The)108 386.4 R 1.12 +(NUL character may not occur in a pattern.)3.62 F 3.62(Ab)6.12 G 1.12 +(ackslash escapes the follo)-3.62 F 1.12(wing character; the)-.25 F .576 +(escaping backslash is discarded when matching.)108 398.4 R .576 (The special pattern characters must be quoted if the)5.576 F 3.076(ya) --.15 G(re)-3.076 E(to be matched literally)108 338.4 Q(.)-.65 E -(The special pattern characters ha)108 355.2 Q .3 -.15(ve t)-.2 H -(he follo).15 E(wing meanings:)-.25 E F1(*)144 372 Q F0 .376(Matches an) -31 F 2.876(ys)-.15 G .376(tring, including the null string.)-2.876 F -.376(When the)5.376 F F1(globstar)2.876 E F0 .377 -(shell option is enabled,)2.876 F(and)180 384 Q F1(*)3.275 E F0 .775 +-.15 G(re)-3.076 E(to be matched literally)108 410.4 Q(.)-.65 E +(The special pattern characters ha)108 427.2 Q .3 -.15(ve t)-.2 H +(he follo).15 E(wing meanings:)-.25 E F1(*)144 444 Q F0 .376(Matches an) +180 444 R 2.876(ys)-.15 G .376(tring, including the null string.)-2.876 +F .376(When the)5.376 F F1(globstar)2.876 E F0 .377 +(shell option is enabled,)2.876 F(and)180 456 Q F1(*)3.275 E F0 .775 (is used in a pathname e)3.275 F .775(xpansion conte)-.15 F .775(xt, tw) -.15 F 3.275(oa)-.1 G(djacent)-3.275 E F1(*)3.275 E F0 3.275(su)C .775 (sed as a single pattern)-3.275 F 1.058(will match all \214les and zero\ - or more directories and subdirectories.)180 396 R 1.058(If follo)6.058 -F 1.058(wed by a)-.25 F F1(/)3.558 E F0(,)A(tw)180 408 Q 2.5(oa)-.1 G + or more directories and subdirectories.)180 468 R 1.058(If follo)6.058 +F 1.058(wed by a)-.25 F F1(/)3.558 E F0(,)A(tw)180 480 Q 2.5(oa)-.1 G (djacent)-2.5 E F1(*)2.5 E F0 2.5(sw)C -(ill match only directories and subdirectories.)-2.5 E F1(?)144 420 Q F0 -(Matches an)31 E 2.5(ys)-.15 G(ingle character)-2.5 E(.)-.55 E F1([...]) -144 432 Q F0 .579(Matches an)21.84 F 3.079(yo)-.15 G .579 +(ill match only directories and subdirectories.)-2.5 E F1(?)144 492 Q F0 +(Matches an)180 492 Q 2.5(ys)-.15 G(ingle character)-2.5 E(.)-.55 E F1 +([...])144 504 Q F0 .579(Matches an)180 504 R 3.079(yo)-.15 G .579 (ne of the enclosed characters.)-3.079 F 3.079(Ap)5.579 G .578 (air of characters separated by a h)-3.079 F(yphen)-.05 E .684 -(denotes a)180 444 R F3 -.15(ra)3.184 G(ng).15 E 3.184(ee)-.1 G(xpr) +(denotes a)180 516 R F2 -.15(ra)3.184 G(ng).15 E 3.184(ee)-.1 G(xpr) -3.384 E(ession)-.37 E F0 3.184(;a)C .984 -.15(ny c)-3.184 H .684 (haracter that f).15 F .684(alls between those tw)-.1 F 3.185(oc)-.1 G -.685(haracters, inclu-)-3.185 F(si)180 456 Q -.15(ve)-.25 G 3.713(,u).15 +.685(haracters, inclu-)-3.185 F(si)180 528 Q -.15(ve)-.25 G 3.713(,u).15 G 1.213(sing the current locale')-3.713 F 3.712(sc)-.55 G 1.212 (ollating sequence and character set, is matched.)-3.712 F 1.212(If the) -6.212 F 1.123(\214rst character follo)180 468 R 1.123(wing the)-.25 F F1 +6.212 F 1.123(\214rst character follo)180 540 R 1.123(wing the)-.25 F F1 ([)3.623 E F0 1.123(is a)3.623 F F1(!)3.623 E F0 1.124(or a)6.123 F F1 (^)3.624 E F0 1.124(then an)3.624 F 3.624(yc)-.15 G 1.124 (haracter not enclosed is matched.)-3.624 F .895 -(The sorting order of characters in range e)180 480 R .894 +(The sorting order of characters in range e)180 552 R .894 (xpressions is determined by the current locale)-.15 F .375(and the v) -180 492 R .375(alues of the)-.25 F F2(LC_COLLA)2.875 E(TE)-.855 E F0(or) -2.625 E F2(LC_ALL)2.875 E F0 .375(shell v)2.625 F .375 +180 564 R .375(alues of the)-.25 F F3(LC_COLLA)2.875 E(TE)-.855 E F0(or) +2.625 E F3(LC_ALL)2.875 E F0 .375(shell v)2.625 F .375 (ariables, if set.)-.25 F 1.976 -.8(To o)5.376 H .376(btain the tra-).8 -F .068(ditional interpretation of range e)180 504 R .068 +F .068(ditional interpretation of range e)180 576 R .068 (xpressions, where)-.15 F F1([a\255d])2.568 E F0 .067(is equi)2.567 F -.25(va)-.25 G .067(lent to).25 F F1([abcd])2.567 E F0 2.567(,s)C .067 -(et v)-2.567 F(alue)-.25 E .156(of the)180 516 R F1(LC_ALL)2.656 E F0 +(et v)-2.567 F(alue)-.25 E .156(of the)180 588 R F1(LC_ALL)2.656 E F0 .156(shell v)2.656 F .156(ariable to)-.25 F F1(C)2.657 E F0 2.657(,o)C 2.657(re)-2.657 G .157(nable the)-2.657 F F1(globasciiranges)2.657 E F0 .157(shell option.)2.657 F(A)5.157 E F12.657 E F0(may)2.657 E .193(\ be matched by including it as the \214rst or last character in the set.) -180 528 R(A)5.193 E F1(])2.693 E F0 .193(may be matched by)2.693 F -(including it as the \214rst character in the set.)180 540 Q -.4(Wi)180 -558 S(thin).4 E F1([)3.07 E F0(and)3.07 E F1(])3.07 E F0(,)A F3 -.15(ch) +180 600 R(A)5.193 E F1(])2.693 E F0 .193(may be matched by)2.693 F +(including it as the \214rst character in the set.)180 612 Q -.4(Wi)180 +630 S(thin).4 E F1([)3.07 E F0(and)3.07 E F1(])3.07 E F0(,)A F2 -.15(ch) 3.07 G(ar).15 E .571(acter classes)-.15 F F0 .571 -(can be speci\214ed using the syntax)3.071 F F1([:)3.071 E F3(class)A F1 -(:])A F0 3.071(,w)C(here)-3.071 E F3(class)3.071 E F0 -(is one of the follo)180 570 Q +(can be speci\214ed using the syntax)3.071 F F1([:)3.071 E F2(class)A F1 +(:])A F0 3.071(,w)C(here)-3.071 E F2(class)3.071 E F0 +(is one of the follo)180 642 Q (wing classes de\214ned in the POSIX standard:)-.25 E F1 8.173 -(alnum alpha ascii blank cntrl digit graph lo)180 582 R 8.173 -(wer print punct space)-.1 F 5(upper w)180 594 R 5(ord xdigit)-.1 F F0 -4.289(Ac)180 606 S 1.789(haracter class matches an)-4.289 F 4.289(yc) +(alnum alpha ascii blank cntrl digit graph lo)180 654 R 8.173 +(wer print punct space)-.1 F 5(upper w)180 666 R 5(ord xdigit)-.1 F F0 +4.289(Ac)180 678 S 1.789(haracter class matches an)-4.289 F 4.289(yc) -.15 G 1.789(haracter belonging to that class.)-4.289 F(The)6.789 E F1 -.1(wo)4.29 G(rd).1 E F0(character)4.29 E -(class matches letters, digits, and the character _.)180 618 Q -.4(Wi) -180 636 S(thin).4 E F1([)4.537 E F0(and)4.537 E F1(])4.537 E F0 4.537 -(,a)C(n)-4.537 E F3 2.037(equivalence class)4.537 F F0 2.036 -(can be speci\214ed using the syntax)4.536 F F1([=)4.536 E F3(c)A F1(=]) +(class matches letters, digits, and the character _.)180 690 Q -.4(Wi) +180 708 S(thin).4 E F1([)4.537 E F0(and)4.537 E F1(])4.537 E F0 4.537 +(,a)C(n)-4.537 E F2 2.037(equivalence class)4.537 F F0 2.036 +(can be speci\214ed using the syntax)4.536 F F1([=)4.536 E F2(c)A F1(=]) A F0 4.536(,w)C(hich)-4.536 E .125(matches all characters with the same\ - collation weight \(as de\214ned by the current locale\) as)180 648 R -(the character)180 660 Q F3(c)2.5 E F0(.)A -.4(Wi)180 678 S(thin).4 E F1 -([)2.5 E F0(and)2.5 E F1(])2.5 E F0 2.5(,t)C(he syntax)-2.5 E F1([.)2.5 -E F3(symbol)A F1(.])A F0(matches the collating symbol)2.5 E F3(symbol) -2.5 E F0(.)A .705(If the)108 694.8 R F1(extglob)3.205 E F0 .705 -(shell option is enabled using the)3.205 F F1(shopt)3.205 E F0 -.2(bu) + collation weight \(as de\214ned by the current locale\) as)180 720 R +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(25)192.055 E 0 Cg EP +%%Page: 26 26 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(the character)180 +84 Q/F1 10/Times-Italic@0 SF(c)2.5 E F0(.)A -.4(Wi)180 102 S(thin).4 E +/F2 10/Times-Bold@0 SF([)2.5 E F0(and)2.5 E F2(])2.5 E F0 2.5(,t)C +(he syntax)-2.5 E F2([.)2.5 E F1(symbol)A F2(.])A F0 +(matches the collating symbol)2.5 E F1(symbol)2.5 E F0(.)A .705(If the) +108 118.8 R F2(extglob)3.205 E F0 .705 +(shell option is enabled using the)3.205 F F2(shopt)3.205 E F0 -.2(bu) 3.205 G .704(iltin, se).2 F -.15(ve)-.25 G .704(ral e).15 F .704 (xtended pattern matching operators)-.15 F .255(are recognized.)108 -706.8 R .255(In the follo)5.255 F .255(wing description, a)-.25 F F3 +130.8 R .255(In the follo)5.255 F .255(wing description, a)-.25 F F1 (pattern-list)2.755 E F0 .255 -(is a list of one or more patterns separated by a)2.755 F F1(|)2.756 E +(is a list of one or more patterns separated by a)2.755 F F2(|)2.756 E F0(.)A(Composite patterns may be formed using one or more of the follo) -108 718.8 Q(wing sub-patterns:)-.25 E(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(24)190.95 E 0 Cg EP -%%Page: 25 25 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(?\()144 84 Q/F2 10/Times-Italic@0 SF -(pattern-list).833 E F1(\)).833 E F0 -(Matches zero or one occurrence of the gi)180 96 Q -.15(ve)-.25 G 2.5 -(np).15 G(atterns)-2.5 E F1(*\()144 108 Q F2(pattern-list).833 E F1(\)) -.833 E F0(Matches zero or more occurrences of the gi)180 120 Q -.15(ve) --.25 G 2.5(np).15 G(atterns)-2.5 E F1(+\()144 132 Q F2(pattern-list).833 -E F1(\)).833 E F0(Matches one or more occurrences of the gi)180 144 Q --.15(ve)-.25 G 2.5(np).15 G(atterns)-2.5 E F1(@\()144 156 Q F2 -(pattern-list).833 E F1(\)).833 E F0(Matches one of the gi)180 168 Q --.15(ve)-.25 G 2.5(np).15 G(atterns)-2.5 E F1(!\()144 180 Q F2 -(pattern-list).833 E F1(\)).833 E F0(Matches an)180 192 Q(ything e)-.15 -E(xcept one of the gi)-.15 E -.15(ve)-.25 G 2.5(np).15 G(atterns)-2.5 E -F1(Quote Remo)87 208.8 Q -.1(va)-.1 G(l).1 E F0 1.113 -(After the preceding e)108 220.8 R 1.113 -(xpansions, all unquoted occurrences of the characters)-.15 F F1(\\) -3.613 E F0(,)A F1<08>3.612 E F0 3.612(,a)C(nd)-3.612 E F1(")4.445 E F0 -1.112(that did not result)4.445 F(from one of the abo)108 232.8 Q .3 +108 142.8 Q(wing sub-patterns:)-.25 E F2(?\()144 166.8 Q F1 +(pattern-list).833 E F2(\)).833 E F0 +(Matches zero or one occurrence of the gi)180 178.8 Q -.15(ve)-.25 G 2.5 +(np).15 G(atterns)-2.5 E F2(*\()144 190.8 Q F1(pattern-list).833 E F2 +(\)).833 E F0(Matches zero or more occurrences of the gi)180 202.8 Q +-.15(ve)-.25 G 2.5(np).15 G(atterns)-2.5 E F2(+\()144 214.8 Q F1 +(pattern-list).833 E F2(\)).833 E F0 +(Matches one or more occurrences of the gi)180 226.8 Q -.15(ve)-.25 G +2.5(np).15 G(atterns)-2.5 E F2(@\()144 238.8 Q F1(pattern-list).833 E F2 +(\)).833 E F0(Matches one of the gi)180 250.8 Q -.15(ve)-.25 G 2.5(np) +.15 G(atterns)-2.5 E F2(!\()144 262.8 Q F1(pattern-list).833 E F2(\)) +.833 E F0(Matches an)180 274.8 Q(ything e)-.15 E(xcept one of the gi) +-.15 E -.15(ve)-.25 G 2.5(np).15 G(atterns)-2.5 E F2(Quote Remo)87 291.6 +Q -.1(va)-.1 G(l).1 E F0 1.113(After the preceding e)108 303.6 R 1.113 +(xpansions, all unquoted occurrences of the characters)-.15 F F2(\\) +3.613 E F0(,)A F2<08>3.612 E F0 3.612(,a)C(nd)-3.612 E F2(")4.445 E F0 +1.112(that did not result)4.445 F(from one of the abo)108 315.6 Q .3 -.15(ve ex)-.15 H(pansions are remo).15 E -.15(ve)-.15 G(d.).15 E/F3 -10.95/Times-Bold@0 SF(REDIRECTION)72 249.6 Q F0 .545 -(Before a command is e)108 261.6 R -.15(xe)-.15 G .545 -(cuted, its input and output may be).15 F F2 -.37(re)3.045 G(dir).37 E +10.95/Times-Bold@0 SF(REDIRECTION)72 332.4 Q F0 .545 +(Before a command is e)108 344.4 R -.15(xe)-.15 G .545 +(cuted, its input and output may be).15 F F1 -.37(re)3.045 G(dir).37 E (ected)-.37 E F0 .545(using a special notation interpreted)3.815 F .405 -(by the shell.)108 273.6 R .405(Redirection allo)5.405 F .405(ws comman\ +(by the shell.)108 356.4 R .405(Redirection allo)5.405 F .405(ws comman\ ds' \214le handles to be duplicated, opened, closed, made to refer to) --.25 F(dif)108 285.6 Q 1.019(ferent \214les, and can change the \214les\ +-.25 F(dif)108 368.4 Q 1.019(ferent \214les, and can change the \214les\ the command reads from and writes to.)-.25 F 1.02 (Redirection may also be)6.02 F .215 -(used to modify \214le handles in the current shell e)108 297.6 R -.15 +(used to modify \214le handles in the current shell e)108 380.4 R -.15 (xe)-.15 G .215(cution en).15 F 2.715(vironment. The)-.4 F(follo)2.715 E .215(wing redirection operators)-.25 F .875(may precede or appear an)108 -309.6 R .875(ywhere within a)-.15 F F2 .875(simple command)3.715 F F0 -.875(or may follo)4.145 F 3.376(wa)-.25 G F2(command)A F0 5.876(.R).77 G -.876(edirections are)-5.876 F(processed in the order the)108 321.6 Q 2.5 +392.4 R .875(ywhere within a)-.15 F F1 .875(simple command)3.715 F F0 +.875(or may follo)4.145 F 3.376(wa)-.25 G F1(command)A F0 5.876(.R).77 G +.876(edirections are)-5.876 F(processed in the order the)108 404.4 Q 2.5 (ya)-.15 G(ppear)-2.5 E 2.5(,f)-.4 G(rom left to right.)-2.5 E .771(Eac\ h redirection that may be preceded by a \214le descriptor number may in\ -stead be preceded by a w)108 338.4 R .771(ord of)-.1 F .292(the form {) -108 350.4 R F2(varname)A F0 2.793(}. In)B .293 +stead be preceded by a w)108 421.2 R .771(ord of)-.1 F .292(the form {) +108 433.2 R F1(varname)A F0 2.793(}. In)B .293 (this case, for each redirection operator e)2.793 F .293 -(xcept >&- and <&-, the shell will allocate)-.15 F 3.18<618c>108 362.4 S +(xcept >&- and <&-, the shell will allocate)-.15 F 3.18<618c>108 445.2 S .679(le descriptor greater than or equal to 10 and assign it to)-3.18 F -F2(varname)3.179 E F0 5.679(.I)C 3.179(f>)-5.679 G .679 -(&- or <&- is preceded by {)-3.179 F F2(var)A(-)-.2 E(name)108 374.4 Q -F0(}, the v)A(alue of)-.25 E F2(varname)2.5 E F0 +F1(varname)3.179 E F0 5.679(.I)C 3.179(f>)-5.679 G .679 +(&- or <&- is preceded by {)-3.179 F F1(var)A(-)-.2 E(name)108 457.2 Q +F0(}, the v)A(alue of)-.25 E F1(varname)2.5 E F0 (de\214nes the \214le descriptor to close.)2.5 E .283(In the follo)108 -391.2 R .284(wing descriptions, if the \214le descriptor number is omit\ -ted, and the \214rst character of the redirect-)-.25 F .513 -(ion operator is)108 403.2 R F1(<)3.012 E F0 3.012(,t)C .512 +474 R .284(wing descriptions, if the \214le descriptor number is omitte\ +d, and the \214rst character of the redirect-)-.25 F .513 +(ion operator is)108 486 R F2(<)3.012 E F0 3.012(,t)C .512 (he redirection refers to the standard input \(\214le descriptor 0\).) -3.012 F .512(If the \214rst character of the)5.512 F -(redirection operator is)108 415.2 Q F1(>)2.5 E F0 2.5(,t)C +(redirection operator is)108 498 Q F2(>)2.5 E F0 2.5(,t)C (he redirection refers to the standard output \(\214le descriptor 1\).) --2.5 E .824(The w)108 432 R .824(ord follo)-.1 F .824 +-2.5 E .824(The w)108 514.8 R .824(ord follo)-.1 F .824 (wing the redirection operator in the follo)-.25 F .825 (wing descriptions, unless otherwise noted, is sub-)-.25 F .463 -(jected to brace e)108 444 R .463(xpansion, tilde e)-.15 F .462 +(jected to brace e)108 526.8 R .463(xpansion, tilde e)-.15 F .462 (xpansion, parameter and v)-.15 F .462(ariable e)-.25 F .462 -(xpansion, command substitution, arith-)-.15 F .866(metic e)108 456 R +(xpansion, command substitution, arith-)-.15 F .866(metic e)108 538.8 R .866(xpansion, quote remo)-.15 F -.25(va)-.15 G .866(l, pathname e).25 F .867(xpansion, and w)-.15 F .867(ord splitting.)-.1 F .867(If it e)5.867 -F .867(xpands to more than one)-.15 F -.1(wo)108 468 S(rd,).1 E F1(bash) -2.5 E F0(reports an error)2.5 E(.)-.55 E -(Note that the order of redirections is signi\214cant.)108 484.8 Q -.15 -(Fo)5 G 2.5(re).15 G(xample, the command)-2.65 E(ls)144 501.6 Q F1(>)2.5 -E F0(dirlist 2)2.5 E F1(>&)A F0(1)A -(directs both standard output and standard error to the \214le)108 518.4 -Q F2(dirlist)2.5 E F0 2.5(,w).68 G(hile the command)-2.5 E(ls 2)144 -535.2 Q F1(>&)A F0(1)A F1(>)2.5 E F0(dirlist)2.5 E .527 -(directs only the standard output to \214le)108 552 R F2(dirlist)3.027 E -F0 3.027(,b).68 G .527(ecause the standard error w)-3.027 F .527 +F .867(xpands to more than one)-.15 F -.1(wo)108 550.8 S(rd,).1 E F2 +(bash)2.5 E F0(reports an error)2.5 E(.)-.55 E +(Note that the order of redirections is signi\214cant.)108 567.6 Q -.15 +(Fo)5 G 2.5(re).15 G(xample, the command)-2.65 E(ls)144 584.4 Q F2(>)2.5 +E F0(dirlist 2)2.5 E F2(>&)A F0(1)A +(directs both standard output and standard error to the \214le)108 601.2 +Q F1(dirlist)2.5 E F0 2.5(,w).68 G(hile the command)-2.5 E(ls 2)144 618 +Q F2(>&)A F0(1)A F2(>)2.5 E F0(dirlist)2.5 E .527 +(directs only the standard output to \214le)108 634.8 R F1(dirlist)3.027 +E F0 3.027(,b).68 G .527(ecause the standard error w)-3.027 F .527 (as duplicated from the standard)-.1 F -(output before the standard output w)108 564 Q(as redirected to)-.1 E F2 -(dirlist)2.5 E F0(.).68 E F1(Bash)108 580.8 Q F0 .598(handles se)3.098 F --.15(ve)-.25 G .598(ral \214lenames specially when the).15 F 3.099(ya) +(output before the standard output w)108 646.8 Q(as redirected to)-.1 E +F1(dirlist)2.5 E F0(.).68 E F2(Bash)108 663.6 Q F0 .598(handles se)3.098 +F -.15(ve)-.25 G .598(ral \214lenames specially when the).15 F 3.099(ya) -.15 G .599(re used in redirections, as described in the follo)-3.099 F -(wing)-.25 E(table:)108 592.8 Q F1(/de)144 609.6 Q(v/fd/)-.15 E F2(fd)A -F0(If)180 621.6 Q F2(fd)2.5 E F0(is a v)2.5 E(alid inte)-.25 E(ger)-.15 -E 2.5<2c8c>-.4 G(le descriptor)-2.5 E F2(fd)2.5 E F0(is duplicated.)2.5 -E F1(/de)144 633.6 Q(v/stdin)-.15 E F0(File descriptor 0 is duplicated.) -180 645.6 Q F1(/de)144 657.6 Q(v/stdout)-.15 E F0 -(File descriptor 1 is duplicated.)180 669.6 Q F1(/de)144 681.6 Q -(v/stderr)-.15 E F0(File descriptor 2 is duplicated.)180 693.6 Q F1(/de) -144 705.6 Q(v/tcp/)-.15 E F2(host)A F1(/)A F2(port)A F0(If)180 717.6 Q -F2(host)2.997 E F0 .497(is a v)2.997 F .497 -(alid hostname or Internet address, and)-.25 F F2(port)2.996 E F0 .496 -(is an inte)2.996 F .496(ger port number or ser)-.15 F(-)-.2 E -(vice name,)180 729.6 Q F1(bash)2.5 E F0 -(attempts to open the corresponding TCP sock)2.5 E(et.)-.1 E -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(25)190.95 E 0 Cg EP -%%Page: 26 26 +(wing)-.25 E 3.478(table. If)108 675.6 R .978 +(the operating system on which)3.478 F F2(bash)3.478 E F0 .978 +(is running pro)3.478 F .977 +(vides these special \214les, bash will use them;)-.15 F +(otherwise it will emulate them internally with the beha)108 687.6 Q +(vior described belo)-.2 E -.65(w.)-.25 G F2(/de)144 704.4 Q(v/fd/)-.15 +E F1(fd)A F0(If)180 716.4 Q F1(fd)2.5 E F0(is a v)2.5 E(alid inte)-.25 E +(ger)-.15 E 2.5<2c8c>-.4 G(le descriptor)-2.5 E F1(fd)2.5 E F0 +(is duplicated.)2.5 E(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(26) +192.055 E 0 Cg EP +%%Page: 27 27 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(/de)144 84 Q(v/udp/)-.15 E/F2 10 -/Times-Italic@0 SF(host)A F1(/)A F2(port)A F0(If)180 96 Q F2(host)2.996 -E F0 .496(is a v)2.996 F .496(alid hostname or Internet address, and) --.25 F F2(port)2.997 E F0 .497(is an inte)2.997 F .497 -(ger port number or ser)-.15 F(-)-.2 E(vice name,)180 108 Q F1(bash)2.5 -E F0(attempts to open the corresponding UDP sock)2.5 E(et.)-.1 E 2.5(Af) -108 124.8 S -(ailure to open or create a \214le causes the redirection to f)-2.6 E -(ail.)-.1 E .947(Redirections using \214le descriptors greater than 9 s\ -hould be used with care, as the)108 141.6 R 3.446(ym)-.15 G .946 -(ay con\215ict with \214le)-3.446 F -(descriptors the shell uses internally)108 153.6 Q(.)-.65 E F1(Redir)87 -170.4 Q(ecting Input)-.18 E F0 .391 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(/de)144 84 Q(v/stdin)-.15 E F0(File descriptor 0 is duplicated.)180 +96 Q F1(/de)144 108 Q(v/stdout)-.15 E F0 +(File descriptor 1 is duplicated.)180 120 Q F1(/de)144 132 Q(v/stderr) +-.15 E F0(File descriptor 2 is duplicated.)180 144 Q F1(/de)144 156 Q +(v/tcp/)-.15 E/F2 10/Times-Italic@0 SF(host)A F1(/)A F2(port)A F0(If)180 +168 Q F2(host)2.996 E F0 .496(is a v)2.996 F .496 +(alid hostname or Internet address, and)-.25 F F2(port)2.997 E F0 .497 +(is an inte)2.997 F .497(ger port number or ser)-.15 F(-)-.2 E +(vice name,)180 180 Q F1(bash)2.5 E F0 +(attempts to open the corresponding TCP sock)2.5 E(et.)-.1 E F1(/de)144 +192 Q(v/udp/)-.15 E F2(host)A F1(/)A F2(port)A F0(If)180 204 Q F2(host) +2.997 E F0 .497(is a v)2.997 F .497 +(alid hostname or Internet address, and)-.25 F F2(port)2.996 E F0 .496 +(is an inte)2.996 F .496(ger port number or ser)-.15 F(-)-.2 E +(vice name,)180 216 Q F1(bash)2.5 E F0 +(attempts to open the corresponding UDP sock)2.5 E(et.)-.1 E 2.5(Af)108 +232.8 S(ailure to open or create a \214le causes the redirection to f) +-2.6 E(ail.)-.1 E .946(Redirections using \214le descriptors greater th\ +an 9 should be used with care, as the)108 249.6 R 3.447(ym)-.15 G .947 +(ay con\215ict with \214le)-3.447 F +(descriptors the shell uses internally)108 261.6 Q(.)-.65 E F1(Redir)87 +278.4 Q(ecting Input)-.18 E F0 .391 (Redirection of input causes the \214le whose name results from the e) -108 182.4 R .391(xpansion of)-.15 F F2(wor)3.231 E(d)-.37 E F0 .391 -(to be opened for read-)3.661 F(ing on \214le descriptor)108 194.4 Q F2 +108 290.4 R .391(xpansion of)-.15 F F2(wor)3.231 E(d)-.37 E F0 .391 +(to be opened for read-)3.661 F(ing on \214le descriptor)108 302.4 Q F2 (n)2.5 E F0 2.5(,o).24 G 2.5(rt)-2.5 G (he standard input \(\214le descriptor 0\) if)-2.5 E F2(n)2.86 E F0 (is not speci\214ed.)2.74 E -(The general format for redirecting input is:)108 211.2 Q([)144 228 Q F2 -(n)A F0(])A F1(<)A F2(wor)A(d)-.37 E F1(Redir)87 244.8 Q(ecting Output) --.18 E F0 .175 +(The general format for redirecting input is:)108 319.2 Q([)144 336 Q F2 +(n)A F0(])A F1(<)A F2(wor)A(d)-.37 E F1(Redir)87 352.8 Q(ecting Output) +-.18 E F0 .174 (Redirection of output causes the \214le whose name results from the e) -108 256.8 R .174(xpansion of)-.15 F F2(wor)3.014 E(d)-.37 E F0 .174 -(to be opened for writ-)3.444 F .824(ing on \214le descriptor)108 268.8 -R F2(n)3.324 E F0 3.324(,o).24 G 3.324(rt)-3.324 G .824 -(he standard output \(\214le descriptor 1\) if)-3.324 F F2(n)3.684 E F0 -.824(is not speci\214ed.)3.564 F .825(If the \214le does not)5.825 F --.15(ex)108 280.8 S(ist it is created; if it does e).15 E +108 364.8 R .175(xpansion of)-.15 F F2(wor)3.015 E(d)-.37 E F0 .175 +(to be opened for writ-)3.445 F .825(ing on \214le descriptor)108 376.8 +R F2(n)3.325 E F0 3.325(,o).24 G 3.325(rt)-3.325 G .824 +(he standard output \(\214le descriptor 1\) if)-3.325 F F2(n)3.684 E F0 +.824(is not speci\214ed.)3.564 F .824(If the \214le does not)5.824 F +-.15(ex)108 388.8 S(ist it is created; if it does e).15 E (xist it is truncated to zero size.)-.15 E -(The general format for redirecting output is:)108 297.6 Q([)144 314.4 Q -F2(n)A F0(])A F1(>)A F2(wor)A(d)-.37 E F0 .155 -(If the redirection operator is)108 331.2 R F1(>)2.655 E F0 2.655(,a)C -.155(nd the)-2.655 F F1(noclob)2.655 E(ber)-.1 E F0 .154(option to the) -2.654 F F1(set)2.654 E F0 -.2(bu)2.654 G .154 -(iltin has been enabled, the redirection).2 F .657(will f)108 343.2 R -.657(ail if the \214le whose name results from the e)-.1 F .658 -(xpansion of)-.15 F F2(wor)3.158 E(d)-.37 E F0 -.15(ex)3.158 G .658 -(ists and is a re).15 F .658(gular \214le.)-.15 F .658(If the redi-) -5.658 F .409(rection operator is)108 355.2 R F1(>|)2.909 E F0 2.909(,o)C +(The general format for redirecting output is:)108 405.6 Q([)144 422.4 Q +F2(n)A F0(])A F1(>)A F2(wor)A(d)-.37 E F0 .154 +(If the redirection operator is)108 439.2 R F1(>)2.654 E F0 2.654(,a)C +.154(nd the)-2.654 F F1(noclob)2.654 E(ber)-.1 E F0 .154(option to the) +2.654 F F1(set)2.655 E F0 -.2(bu)2.655 G .155 +(iltin has been enabled, the redirection).2 F .658(will f)108 451.2 R +.658(ail if the \214le whose name results from the e)-.1 F .658 +(xpansion of)-.15 F F2(wor)3.158 E(d)-.37 E F0 -.15(ex)3.158 G .657 +(ists and is a re).15 F .657(gular \214le.)-.15 F .657(If the redi-) +5.657 F .408(rection operator is)108 463.2 R F1(>|)2.909 E F0 2.909(,o)C 2.909(rt)-2.909 G .409(he redirection operator is)-2.909 F F1(>)2.909 E F0 .409(and the)2.909 F F1(noclob)2.909 E(ber)-.1 E F0 .409 -(option to the)2.909 F F1(set)2.909 E F0 -.2(bu)2.908 G .408 +(option to the)2.909 F F1(set)2.909 E F0 -.2(bu)2.909 G .409 (iltin command).2 F(is not enabled, the redirection is attempted e)108 -367.2 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he \214le named by) +475.2 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he \214le named by) -2.5 E F2(wor)2.5 E(d)-.37 E F0 -.15(ex)2.5 G(ists.).15 E F1 -.25(Ap)87 -384 S(pending Redir).25 E(ected Output)-.18 E F0 .641 -(Redirection of output in this f)108 396 R .642 -(ashion causes the \214le whose name results from the e)-.1 F .642 -(xpansion of)-.15 F F2(wor)3.482 E(d)-.37 E F0 .642(to be)3.912 F .474 -(opened for appending on \214le descriptor)108 408 R F2(n)2.974 E F0 +492 S(pending Redir).25 E(ected Output)-.18 E F0 .642 +(Redirection of output in this f)108 504 R .642 +(ashion causes the \214le whose name results from the e)-.1 F .641 +(xpansion of)-.15 F F2(wor)3.481 E(d)-.37 E F0 .641(to be)3.911 F .473 +(opened for appending on \214le descriptor)108 516 R F2(n)2.973 E F0 2.974(,o).24 G 2.974(rt)-2.974 G .474 -(he standard output \(\214le descriptor 1\) if)-2.974 F F2(n)3.333 E F0 -.473(is not speci\214ed.)3.213 F(If)5.473 E(the \214le does not e)108 -420 Q(xist it is created.)-.15 E -(The general format for appending output is:)108 436.8 Q([)144 453.6 Q -F2(n)A F0(])A F1(>>)A F2(wor)A(d)-.37 E F1(Redir)87 475.2 Q -(ecting Standard Output and Standard Err)-.18 E(or)-.18 E F0 .248 -(This construct allo)108 487.2 R .249(ws both the standard output \(\ +(he standard output \(\214le descriptor 1\) if)-2.974 F F2(n)3.334 E F0 +.474(is not speci\214ed.)3.214 F(If)5.474 E(the \214le does not e)108 +528 Q(xist it is created.)-.15 E +(The general format for appending output is:)108 544.8 Q([)144 561.6 Q +F2(n)A F0(])A F1(>>)A F2(wor)A(d)-.37 E F1(Redir)87 578.4 Q +(ecting Standard Output and Standard Err)-.18 E(or)-.18 E F0 .249 +(This construct allo)108 590.4 R .249(ws both the standard output \(\ \214le descriptor 1\) and the standard error output \(\214le descrip-) -.25 F(tor 2\) to be redirected to the \214le whose name is the e)108 -499.2 Q(xpansion of)-.15 E F2(wor)2.5 E(d)-.37 E F0(.).77 E -(There are tw)108 516 Q 2.5(of)-.1 G +602.4 Q(xpansion of)-.15 E F2(wor)2.5 E(d)-.37 E F0(.).77 E +(There are tw)108 619.2 Q 2.5(of)-.1 G (ormats for redirecting standard output and standard error:)-2.5 E F1 -(&>)144 532.8 Q F2(wor)A(d)-.37 E F0(and)108 544.8 Q F1(>&)144 556.8 Q -F2(wor)A(d)-.37 E F0(Of the tw)108 573.6 Q 2.5(of)-.1 G +(&>)144 636 Q F2(wor)A(d)-.37 E F0(and)108 648 Q F1(>&)144 660 Q F2(wor) +A(d)-.37 E F0(Of the tw)108 676.8 Q 2.5(of)-.1 G (orms, the \214rst is preferred.)-2.5 E(This is semantically equi)5 E --.25(va)-.25 G(lent to).25 E F1(>)144 590.4 Q F2(wor)A(d)-.37 E F0(2)2.5 -E F1(>&)A F0(1)A .115(When using the second form,)108 607.2 R F2(wor) +-.25(va)-.25 G(lent to).25 E F1(>)144 693.6 Q F2(wor)A(d)-.37 E F0(2)2.5 +E F1(>&)A F0(1)A .114(When using the second form,)108 710.4 R F2(wor) 2.614 E(d)-.37 E F0 .114(may not e)2.614 F .114(xpand to a number or) --.15 F F12.614 E F0 5.114(.I)C 2.614(fi)-5.114 G 2.614(td)-2.614 G -.114(oes, other redirection operators)-2.614 F(apply \(see)108 619.2 Q +-.15 F F12.614 E F0 5.114(.I)C 2.614(fi)-5.114 G 2.615(td)-2.614 G +.115(oes, other redirection operators)-2.615 F(apply \(see)108 722.4 Q F1(Duplicating File Descriptors)2.5 E F0(belo)2.5 E -(w\) for compatibility reasons.)-.25 E F1 -.25(Ap)87 636 S -(pending Standard Output and Standard Err).25 E(or)-.18 E F0 .248 -(This construct allo)108 648 R .249(ws both the standard output \(\214l\ -e descriptor 1\) and the standard error output \(\214le descrip-)-.25 F -(tor 2\) to be appended to the \214le whose name is the e)108 660 Q -(xpansion of)-.15 E F2(wor)2.5 E(d)-.37 E F0(.).77 E -(The format for appending standard output and standard error is:)108 -676.8 Q F1(&>>)144 693.6 Q F2(wor)A(d)-.37 E F0 -(This is semantically equi)108 710.4 Q -.25(va)-.25 G(lent to).25 E F1 -(>>)144 727.2 Q F2(wor)A(d)-.37 E F0(2)2.5 E F1(>&)A F0(1)A -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(26)190.95 E 0 Cg EP -%%Page: 27 27 +(w\) for compatibility reasons.)-.25 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(27)192.055 E 0 Cg EP +%%Page: 28 28 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(\(see)108 84 Q/F1 10/Times-Bold@0 SF -(Duplicating File Descriptors)2.5 E F0(belo)2.5 E(w\).)-.25 E F1(Her)87 -100.8 Q 2.5(eD)-.18 G(ocuments)-2.5 E F0 .33(This type of redirection i\ -nstructs the shell to read input from the current source until a line c\ -ontaining only)108 112.8 R/F2 10/Times-Italic@0 SF(delimiter)108.35 -124.8 Q F0 .614(\(with no trailing blanks\) is seen.)3.844 F .615 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF -.25(Ap)87 84 S(pending Standard Output and Standard Err).25 E(or) +-.18 E F0 .249(This construct allo)108 96 R .249(ws both the standard o\ +utput \(\214le descriptor 1\) and the standard error output \(\214le de\ +scrip-)-.25 F(tor 2\) to be appended to the \214le whose name is the e) +108 108 Q(xpansion of)-.15 E/F2 10/Times-Italic@0 SF(wor)2.5 E(d)-.37 E +F0(.).77 E +(The format for appending standard output and standard error is:)108 +124.8 Q F1(&>>)144 141.6 Q F2(wor)A(d)-.37 E F0 +(This is semantically equi)108 158.4 Q -.25(va)-.25 G(lent to).25 E F1 +(>>)144 175.2 Q F2(wor)A(d)-.37 E F0(2)2.5 E F1(>&)A F0(1)A(\(see)108 +192 Q F1(Duplicating File Descriptors)2.5 E F0(belo)2.5 E(w\).)-.25 E F1 +(Her)87 208.8 Q 2.5(eD)-.18 G(ocuments)-2.5 E F0 .33(This type of redir\ +ection instructs the shell to read input from the current source until \ +a line containing only)108 220.8 R F2(delimiter)108.35 232.8 Q F0 .615 +(\(with no trailing blanks\) is seen.)3.845 F .615 (All of the lines read up to that point are then used as the stan-)5.615 -F(dard input for a command.)108 136.8 Q -(The format of here-documents is:)108 153.6 Q F1(<<)144 170.4 Q F0([)A -F1A F0(])A F2(wor)A(d)-.37 E(her)164 182.4 Q(e-document)-.37 E -(delimiter)144 194.4 Q F0 .302(No parameter and v)108 211.2 R .302 -(ariable e)-.25 F .302(xpansion, command substitution, arithmetic e)-.15 -F .301(xpansion, or pathname e)-.15 F(xpansion)-.15 E .225 -(is performed on)108 223.2 R F2(wor)2.725 E(d)-.37 E F0 5.225(.I).77 G -2.726(fa)-5.225 G .526 -.15(ny c)-2.726 H .226(haracters in).15 F F2 -(wor)3.066 E(d)-.37 E F0 .226(are quoted, the)3.496 F F2(delimiter)3.076 -E F0 .226(is the result of quote remo)3.456 F -.25(va)-.15 G 2.726(lo) -.25 G(n)-2.726 E F2(wor)108 235.2 Q(d)-.37 E F0 2.715(,a).77 G .215 -(nd the lines in the here-document are not e)-2.715 F 2.714(xpanded. If) --.15 F F2(wor)2.714 E(d)-.37 E F0 .214 -(is unquoted, all lines of the here-docu-)2.714 F .499 -(ment are subjected to parameter e)108 247.2 R .499 -(xpansion, command substitution, and arithmetic e)-.15 F .5 -(xpansion, the character)-.15 F(sequence)108 259.2 Q F1(\\)2.5 +F(dard input \(or \214le descriptor)108 244.8 Q F2(n)2.5 E F0(if)2.5 E +F2(n)2.5 E F0(is speci\214ed\) for a command.)2.5 E +(The format of here-documents is:)108 261.6 Q([)144 278.4 Q F2(n)A F0(]) +A F1(<<)A F0([)A F1A F0(])A F2(wor)A(d)-.37 E(her)164 290.4 Q +(e-document)-.37 E(delimiter)144 302.4 Q F0 .301(No parameter and v)108 +319.2 R .302(ariable e)-.25 F .302 +(xpansion, command substitution, arithmetic e)-.15 F .302 +(xpansion, or pathname e)-.15 F(xpansion)-.15 E .415(is performed on)108 +331.2 R F2(wor)2.915 E(d)-.37 E F0 5.415(.I).77 G 2.915(fa)-5.415 G .715 +-.15(ny p)-2.915 H .415(art of).15 F F2(wor)3.255 E(d)-.37 E F0 .415 +(is quoted, the)3.685 F F2(delimiter)3.265 E F0 .415 +(is the result of quote remo)3.645 F -.25(va)-.15 G 2.915(lo).25 G(n) +-2.915 E F2(wor)2.915 E(d)-.37 E F0(,).77 E .773 +(and the lines in the here-document are not e)108 343.2 R 3.274 +(xpanded. If)-.15 F F2(wor)3.274 E(d)-.37 E F0 .774 +(is unquoted, all lines of the here-document)3.274 F 2.59 +(are subjected to parameter e)108 355.2 R 2.59 +(xpansion, command substitution, and arithmetic e)-.15 F 2.59 +(xpansion, the character)-.15 F(sequence)108 367.2 Q F1(\\)2.5 E F0(is ignored, and)2.5 E F1(\\)2.5 E F0 (must be used to quote the characters)2.5 E F1(\\)2.5 E F0(,)A F1($)2.5 -E F0 2.5(,a)C(nd)-2.5 E F1<92>2.5 E F0(.)A .602 -(If the redirection operator is)108 276 R F1(<<\255)3.101 E F0 3.101(,t) +E F0 2.5(,a)C(nd)-2.5 E F1<92>2.5 E F0(.)A .601 +(If the redirection operator is)108 384 R F1(<<\255)3.101 E F0 3.101(,t) C .601(hen all leading tab characters are stripped from input lines and\ - the line)-3.101 F(containing)108 288 Q F2(delimiter)2.5 E F0 5(.T).73 G + the line)-3.101 F(containing)108 396 Q F2(delimiter)2.5 E F0 5(.T).73 G (his allo)-5 E (ws here-documents within shell scripts to be indented in a natural f) --.25 E(ashion.)-.1 E F1(Her)87 304.8 Q 2.5(eS)-.18 G(trings)-2.5 E F0 -2.5(Av)108 316.8 S(ariant of here documents, the format is:)-2.75 E F1 -(<<<)144 333.6 Q F2(wor)A(d)-.37 E F0(The)108 350.4 Q F2(wor)2.893 E(d) --.37 E F0(under)2.893 E .393(goes brace e)-.18 F .393(xpansion, tilde e) --.15 F .393(xpansion, parameter and v)-.15 F .394(ariable e)-.25 F .394 -(xpansion, command substi-)-.15 F 2.148(tution, arithmetic e)108 362.4 R -2.148(xpansion, and quote remo)-.15 F -.25(va)-.15 G 4.648(l. P).25 F -2.148(athname e)-.15 F 2.148(xpansion and w)-.15 F 2.147 -(ord splitting are not per)-.1 F(-)-.2 E 2.5(formed. The)108 374.4 R(re\ -sult is supplied as a single string to the command on its standard inpu\ -t.)2.5 E F1(Duplicating File Descriptors)87 391.2 Q F0 -(The redirection operator)108 403.2 Q([)144 420 Q F2(n)A F0(])A F1(<&)A -F2(wor)A(d)-.37 E F0 .126 -(is used to duplicate input \214le descriptors.)108 436.8 R(If)5.127 E +-.25 E(ashion.)-.1 E F1(Her)87 412.8 Q 2.5(eS)-.18 G(trings)-2.5 E F0 +2.5(Av)108 424.8 S(ariant of here documents, the format is:)-2.75 E([) +144 441.6 Q F2(n)A F0(])A F1(<<<)A F2(wor)A(d)-.37 E F0(The)108 458.4 Q +F2(wor)2.894 E(d)-.37 E F0(under)2.894 E .394(goes brace e)-.18 F .393 +(xpansion, tilde e)-.15 F .393(xpansion, parameter and v)-.15 F .393 +(ariable e)-.25 F .393(xpansion, command substi-)-.15 F 2.147 +(tution, arithmetic e)108 470.4 R 2.147(xpansion, and quote remo)-.15 F +-.25(va)-.15 G 4.648(l. P).25 F 2.148(athname e)-.15 F 2.148 +(xpansion and w)-.15 F 2.148(ord splitting are not per)-.1 F(-)-.2 E +2.813(formed. The)108 482.4 R .313 +(result is supplied as a single string, with a ne)2.813 F .312 +(wline appended, to the command on its standard)-.25 F +(input \(or \214le descriptor)108 494.4 Q F2(n)2.5 E F0(if)2.5 E F2(n) +2.5 E F0(is speci\214ed\).)2.5 E F1(Duplicating File Descriptors)87 +511.2 Q F0(The redirection operator)108 523.2 Q([)144 540 Q F2(n)A F0(]) +A F1(<&)A F2(wor)A(d)-.37 E F0 .126 +(is used to duplicate input \214le descriptors.)108 556.8 R(If)5.127 E F2(wor)2.967 E(d)-.37 E F0 -.15(ex)3.397 G .127 (pands to one or more digits, the \214le descriptor denoted).15 F(by)108 -448.8 Q F2(n)3.318 E F0 .458(is made to be a cop)3.198 F 2.958(yo)-.1 G +568.8 Q F2(n)3.318 E F0 .458(is made to be a cop)3.198 F 2.958(yo)-.1 G 2.958(ft)-2.958 G .457(hat \214le descriptor)-2.958 F 5.457(.I)-.55 G 2.957(ft)-5.457 G .457(he digits in)-2.957 F F2(wor)3.297 E(d)-.37 E F0 .457(do not specify a \214le descriptor open)3.727 F .149 -(for input, a redirection error occurs.)108 460.8 R(If)5.149 E F2(wor) +(for input, a redirection error occurs.)108 580.8 R(If)5.149 E F2(wor) 2.989 E(d)-.37 E F0 -.25(eva)3.419 G .149(luates to).25 F F12.649 E F0 2.65<2c8c>C .15(le descriptor)-2.65 F F2(n)3.01 E F0 .15(is closed.) 2.89 F(If)5.15 E F2(n)3.01 E F0 .15(is not speci\214ed,)2.89 F -(the standard input \(\214le descriptor 0\) is used.)108 472.8 Q -(The operator)108 489.6 Q([)144 506.4 Q F2(n)A F0(])A F1(>&)A F2(wor)A +(the standard input \(\214le descriptor 0\) is used.)108 592.8 Q +(The operator)108 609.6 Q([)144 626.4 Q F2(n)A F0(])A F1(>&)A F2(wor)A (d)-.37 E F0 .444 -(is used similarly to duplicate output \214le descriptors.)108 523.2 R +(is used similarly to duplicate output \214le descriptors.)108 643.2 R (If)5.444 E F2(n)3.304 E F0 .443 (is not speci\214ed, the standard output \(\214le descrip-)3.183 F 1.357 -(tor 1\) is used.)108 535.2 R 1.357(If the digits in)6.357 F F2(wor) +(tor 1\) is used.)108 655.2 R 1.357(If the digits in)6.357 F F2(wor) 4.197 E(d)-.37 E F0 1.358(do not specify a \214le descriptor open for o\ -utput, a redirection error)4.627 F 2.754(occurs. If)108 547.2 R F2(wor) +utput, a redirection error)4.627 F 2.754(occurs. If)108 667.2 R F2(wor) 3.094 E(d)-.37 E F0 -.25(eva)3.524 G .254(luates to).25 F F12.754 E F0 2.754<2c8c>C .254(le descriptor)-2.754 F F2(n)3.114 E F0 .254 (is closed.)2.994 F .254(As a special case, if)5.254 F F2(n)2.754 E F0 .253(is omitted, and)2.754 F F2(wor)2.753 E(d)-.37 E F0(does)2.753 E -.965(not e)108 559.2 R .965(xpand to one or more digits or)-.15 F F1 +.965(not e)108 679.2 R .965(xpand to one or more digits or)-.15 F F1 3.465 E F0 3.466(,t)C .966 (he standard output and standard error are redirected as described) --3.466 F(pre)108 571.2 Q(viously)-.25 E(.)-.65 E F1(Mo)87 588 Q -(ving File Descriptors)-.1 E F0(The redirection operator)108 600 Q([)144 -616.8 Q F2(n)A F0(])A F1(<&)A F2(digit)A F1A F0(mo)108 633.6 Q -.15 -(ve)-.15 G 3.036(st).15 G .536(he \214le descriptor)-3.036 F F2(digit) -3.036 E F0 .536(to \214le descriptor)3.036 F F2(n)3.036 E F0 3.036(,o) -.24 G 3.036(rt)-3.036 G .535 -(he standard input \(\214le descriptor 0\) if)-3.036 F F2(n)3.035 E F0 -.535(is not speci-)3.035 F(\214ed.)108 645.6 Q F2(digit)5 E F0 -(is closed after being duplicated to)2.5 E F2(n)2.5 E F0(.)A(Similarly) -108 662.4 Q 2.5(,t)-.65 G(he redirection operator)-2.5 E([)144 679.2 Q -F2(n)A F0(])A F1(>&)A F2(digit)A F1A F0(mo)108 696 Q -.15(ve)-.15 G -2.785(st).15 G .285(he \214le descriptor)-2.785 F F2(digit)2.785 E F0 -.285(to \214le descriptor)2.785 F F2(n)2.785 E F0 2.785(,o).24 G 2.785 -(rt)-2.785 G .286(he standard output \(\214le descriptor 1\) if)-2.785 F -F2(n)2.786 E F0 .286(is not speci-)2.786 F(\214ed.)108 708 Q -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(27)190.95 E 0 Cg EP -%%Page: 28 28 +-3.466 F(pre)108 691.2 Q(viously)-.25 E(.)-.65 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(28)192.055 E 0 Cg EP +%%Page: 29 29 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(Opening File Descriptors f)87 84 Q -(or Reading and Writing)-.25 E F0(The redirection operator)108 96 Q([) -144 112.8 Q/F2 10/Times-Italic@0 SF(n)A F0(])A F1(<>)A F2(wor)A(d)-.37 E -F0 1.349(causes the \214le whose name is the e)108 129.6 R 1.349 -(xpansion of)-.15 F F2(wor)4.189 E(d)-.37 E F0 1.349 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(Mo)87 84 Q(ving File Descriptors)-.1 E F0(The redirection operator) +108 96 Q([)144 112.8 Q/F2 10/Times-Italic@0 SF(n)A F0(])A F1(<&)A F2 +(digit)A F1A F0(mo)108 129.6 Q -.15(ve)-.15 G 3.036(st).15 G .536 +(he \214le descriptor)-3.036 F F2(digit)3.036 E F0 .536 +(to \214le descriptor)3.036 F F2(n)3.036 E F0 3.036(,o).24 G 3.036(rt) +-3.036 G .535(he standard input \(\214le descriptor 0\) if)-3.036 F F2 +(n)3.035 E F0 .535(is not speci-)3.035 F(\214ed.)108 141.6 Q F2(digit)5 +E F0(is closed after being duplicated to)2.5 E F2(n)2.5 E F0(.)A +(Similarly)108 158.4 Q 2.5(,t)-.65 G(he redirection operator)-2.5 E([) +144 175.2 Q F2(n)A F0(])A F1(>&)A F2(digit)A F1A F0(mo)108 192 Q +-.15(ve)-.15 G 2.785(st).15 G .285(he \214le descriptor)-2.785 F F2 +(digit)2.785 E F0 .285(to \214le descriptor)2.785 F F2(n)2.785 E F0 +2.785(,o).24 G 2.785(rt)-2.785 G .286 +(he standard output \(\214le descriptor 1\) if)-2.785 F F2(n)2.786 E F0 +.286(is not speci-)2.786 F(\214ed.)108 204 Q F1 +(Opening File Descriptors f)87 220.8 Q(or Reading and Writing)-.25 E F0 +(The redirection operator)108 232.8 Q([)144 249.6 Q F2(n)A F0(])A F1(<>) +A F2(wor)A(d)-.37 E F0 1.349(causes the \214le whose name is the e)108 +266.4 R 1.349(xpansion of)-.15 F F2(wor)4.189 E(d)-.37 E F0 1.349 (to be opened for both reading and writing on \214le)4.619 F(descriptor) -108 141.6 Q F2(n)2.5 E F0 2.5(,o).24 G 2.5(ro)-2.5 G 2.5<6e8c>-2.5 G +108 278.4 Q F2(n)2.5 E F0 2.5(,o).24 G 2.5(ro)-2.5 G 2.5<6e8c>-2.5 G (le descriptor 0 if)-2.5 E F2(n)2.86 E F0(is not speci\214ed.)2.74 E (If the \214le does not e)5 E(xist, it is created.)-.15 E/F3 10.95 -/Times-Bold@0 SF(ALIASES)72 158.4 Q F2(Aliases)108 170.4 Q F0(allo)3.173 +/Times-Bold@0 SF(ALIASES)72 295.2 Q F2(Aliases)108 307.2 Q F0(allo)3.173 E 3.173(was)-.25 G .674(tring to be substituted for a w)-3.173 F .674 (ord when it is used as the \214rst w)-.1 F .674 (ord of a simple command.)-.1 F .394(The shell maintains a list of alia\ -ses that may be set and unset with the)108 182.4 R F1(alias)2.893 E F0 +ses that may be set and unset with the)108 319.2 R F1(alias)2.893 E F0 (and)2.893 E F1(unalias)2.893 E F0 -.2(bu)2.893 G .393(iltin commands).2 -F(\(see)108 194.4 Q/F4 9/Times-Bold@0 SF 1.979(SHELL B)4.479 F(UIL)-.09 +F(\(see)108 331.2 Q/F4 9/Times-Bold@0 SF 1.979(SHELL B)4.479 F(UIL)-.09 E 1.979(TIN COMMANDS)-.828 F F0(belo)4.229 E 4.48(w\). The)-.25 F 1.98 (\214rst w)4.48 F 1.98(ord of each simple command, if unquoted, is)-.1 F -(check)108 206.4 Q .473(ed to see if it has an alias.)-.1 F .473 +(check)108 343.2 Q .473(ed to see if it has an alias.)-.1 F .473 (If so, that w)5.473 F .472(ord is replaced by the te)-.1 F .472 (xt of the alias.)-.15 F .472(The characters)5.472 F F1(/)2.972 E F0(,)A -F1($)2.972 E F0(,)A F1<92>2.972 E F0(,)A(and)108 218.4 Q F1(=)3.611 E F0 +F1($)2.972 E F0(,)A F1<92>2.972 E F0(,)A(and)108 355.2 Q F1(=)3.611 E F0 1.111(and an)3.611 F 3.611(yo)-.15 G 3.611(ft)-3.611 G 1.111(he shell) -3.611 F F2(metac)3.612 E(har)-.15 E(acter)-.15 E(s)-.1 E F0 1.112 (or quoting characters listed abo)3.612 F 1.412 -.15(ve m)-.15 H 1.112 -(ay not appear in an alias).15 F 3.62(name. The)108 230.4 R 1.12 +(ay not appear in an alias).15 F 3.62(name. The)108 367.2 R 1.12 (replacement te)3.62 F 1.119(xt may contain an)-.15 F 3.619(yv)-.15 G 1.119(alid shell input, including shell metacharacters.)-3.869 F 1.119 -(The \214rst)6.119 F -.1(wo)108 242.4 S .513(rd of the replacement te).1 +(The \214rst)6.119 F -.1(wo)108 379.2 S .513(rd of the replacement te).1 F .513(xt is tested for aliases, b)-.15 F .513(ut a w)-.2 F .514 (ord that is identical to an alias being e)-.1 F .514(xpanded is)-.15 F -.296(not e)108 254.4 R .296(xpanded a second time.)-.15 F .296 +.296(not e)108 391.2 R .296(xpanded a second time.)-.15 F .296 (This means that one may alias)5.296 F F1(ls)2.796 E F0(to)2.796 E F1 .296(ls \255F)2.796 F F0 2.796(,f)C .295(or instance, and)-2.796 F F1 -(bash)2.795 E F0 .295(does not try)2.795 F .542(to recursi)108 266.4 R +(bash)2.795 E F0 .295(does not try)2.795 F .542(to recursi)108 403.2 R -.15(ve)-.25 G .542(ly e).15 F .542(xpand the replacement te)-.15 F 3.042(xt. If)-.15 F .543(the last character of the alias v)3.042 F .543 (alue is a)-.25 F F2(blank)3.043 E F0 3.043(,t).67 G .543(hen the ne) --3.043 F(xt)-.15 E(command w)108 278.4 Q(ord follo)-.1 E +-3.043 F(xt)-.15 E(command w)108 415.2 Q(ord follo)-.1 E (wing the alias is also check)-.25 E(ed for alias e)-.1 E(xpansion.)-.15 -E(Aliases are created and listed with the)108 295.2 Q F1(alias)2.5 E F0 +E(Aliases are created and listed with the)108 432 Q F1(alias)2.5 E F0 (command, and remo)2.5 E -.15(ve)-.15 G 2.5(dw).15 G(ith the)-2.5 E F1 (unalias)2.5 E F0(command.)2.5 E .284 -(There is no mechanism for using ar)108 312 R .284 +(There is no mechanism for using ar)108 448.8 R .284 (guments in the replacement te)-.18 F 2.784(xt. If)-.15 F(ar)2.784 E .284(guments are needed, a shell func-)-.18 F(tion should be used \(see) -108 324 Q F4(FUNCTIONS)2.5 E F0(belo)2.25 E(w\).)-.25 E 1.22 -(Aliases are not e)108 340.8 R 1.22 +108 460.8 Q F4(FUNCTIONS)2.5 E F0(belo)2.25 E(w\).)-.25 E 1.22 +(Aliases are not e)108 477.6 R 1.22 (xpanded when the shell is not interacti)-.15 F -.15(ve)-.25 G 3.72(,u) .15 G 1.22(nless the)-3.72 F F1(expand_aliases)3.72 E F0 1.22 -(shell option is set)3.72 F(using)108 352.8 Q F1(shopt)2.5 E F0 +(shell option is set)3.72 F(using)108 489.6 Q F1(shopt)2.5 E F0 (\(see the description of)2.5 E F1(shopt)2.5 E F0(under)2.5 E F4 (SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E .436 (The rules concerning the de\214nition and use of aliases are some)108 -369.6 R .435(what confusing.)-.25 F F1(Bash)5.435 E F0(al)2.935 E -.1 +506.4 R .435(what confusing.)-.25 F F1(Bash)5.435 E F0(al)2.935 E -.1 (wa)-.1 G .435(ys reads at least).1 F .337 -(one complete line of input before e)108 381.6 R -.15(xe)-.15 G .338 +(one complete line of input before e)108 518.4 R -.15(xe)-.15 G .338 (cuting an).15 F 2.838(yo)-.15 G 2.838(ft)-2.838 G .338 (he commands on that line.)-2.838 F .338(Aliases are e)5.338 F .338 -(xpanded when)-.15 F 3.404(ac)108 393.6 S .904 +(xpanded when)-.15 F 3.404(ac)108 530.4 S .904 (ommand is read, not when it is e)-3.404 F -.15(xe)-.15 G 3.404 (cuted. Therefore,).15 F .904 (an alias de\214nition appearing on the same line as)3.404 F 1.161 -(another command does not tak)108 405.6 R 3.662(ee)-.1 G -.25(ff)-3.662 +(another command does not tak)108 542.4 R 3.662(ee)-.1 G -.25(ff)-3.662 G 1.162(ect until the ne).25 F 1.162(xt line of input is read.)-.15 F 1.162(The commands follo)6.162 F 1.162(wing the)-.25 F .277 -(alias de\214nition on that line are not af)108 417.6 R .277 +(alias de\214nition on that line are not af)108 554.4 R .277 (fected by the ne)-.25 F 2.777(wa)-.25 G 2.777(lias. This)-2.777 F(beha) 2.777 E .277(vior is also an issue when functions)-.2 F .698(are e)108 -429.6 R -.15(xe)-.15 G 3.198(cuted. Aliases).15 F .698(are e)3.198 F +566.4 R -.15(xe)-.15 G 3.198(cuted. Aliases).15 F .698(are e)3.198 F .699(xpanded when a function de\214nition is read, not when the functio\ -n is e)-.15 F -.15(xe)-.15 G(cuted,).15 E .495 -(because a function de\214nition is itself a compound command.)108 441.6 -R .494(As a consequence, aliases de\214ned in a func-)5.494 F .084 -(tion are not a)108 453.6 R -.25(va)-.2 G .084 -(ilable until after that function is e).25 F -.15(xe)-.15 G 2.584 -(cuted. T).15 F 2.584(ob)-.8 G 2.584(es)-2.584 G .084(afe, al)-2.584 F --.1(wa)-.1 G .085(ys put alias de\214nitions on a sepa-).1 F -(rate line, and do not use)108 465.6 Q F1(alias)2.5 E F0 -(in compound commands.)2.5 E -.15(Fo)108 482.4 S 2.5(ra).15 G(lmost e) --2.5 E -.15(ve)-.25 G +n is e)-.15 F -.15(xe)-.15 G(cuted,).15 E .613 +(because a function de\214nition is itself a command.)108 578.4 R .612 +(As a consequence, aliases de\214ned in a function are not)5.612 F -.2 +(av)108 590.4 S .058(ailable until after that function is e)-.05 F -.15 +(xe)-.15 G 2.558(cuted. T).15 F 2.558(ob)-.8 G 2.558(es)-2.558 G .058 +(afe, al)-2.558 F -.1(wa)-.1 G .059 +(ys put alias de\214nitions on a separate line, and).1 F(do not use)108 +602.4 Q F1(alias)2.5 E F0(in compound commands.)2.5 E -.15(Fo)108 619.2 +S 2.5(ra).15 G(lmost e)-2.5 E -.15(ve)-.25 G (ry purpose, aliases are superseded by shell functions.).15 E F3 -(FUNCTIONS)72 499.2 Q F0 3.468(As)108 511.2 S .968 +(FUNCTIONS)72 636 Q F0 3.468(As)108 648 S .968 (hell function, de\214ned as described abo)-3.468 F 1.267 -.15(ve u)-.15 H(nder).15 E F4 .967(SHELL GRAMMAR)3.467 F/F5 9/Times-Roman@0 SF(,)A F0 -.967(stores a series of commands for)3.217 F 1.001(later e)108 523.2 R +.967(stores a series of commands for)3.217 F 1.001(later e)108 660 R -.15(xe)-.15 G 3.501(cution. When).15 F 1.002(the name of a shell funct\ ion is used as a simple command name, the list of com-)3.501 F .316 -(mands associated with that function name is e)108 535.2 R -.15(xe)-.15 -G 2.816(cuted. Functions).15 F .316(are e)2.816 F -.15(xe)-.15 G .315 +(mands associated with that function name is e)108 672 R -.15(xe)-.15 G +2.816(cuted. Functions).15 F .316(are e)2.816 F -.15(xe)-.15 G .315 (cuted in the conte).15 F .315(xt of the current)-.15 F .035 -(shell; no ne)108 547.2 R 2.535(wp)-.25 G .036 +(shell; no ne)108 684 R 2.535(wp)-.25 G .036 (rocess is created to interpret them \(contrast this with the e)-2.535 F -.15(xe)-.15 G .036(cution of a shell script\).).15 F .036(When a)5.036 -F .64(function is e)108 559.2 R -.15(xe)-.15 G .64(cuted, the ar).15 F +F .64(function is e)108 696 R -.15(xe)-.15 G .64(cuted, the ar).15 F .639 (guments to the function become the positional parameters during its e) --.18 F -.15(xe)-.15 G(cution.).15 E .532(The special parameter)108 571.2 -R F1(#)3.032 E F0 .532(is updated to re\215ect the change.)3.032 F .532 +-.18 F -.15(xe)-.15 G(cution.).15 E .532(The special parameter)108 708 R +F1(#)3.032 E F0 .532(is updated to re\215ect the change.)3.032 F .532 (Special parameter)5.532 F F1(0)3.033 E F0 .533(is unchanged.)3.033 F -.533(The \214rst ele-)5.533 F(ment of the)108 583.2 Q F4(FUNCN)2.5 E -(AME)-.18 E F0 -.25(va)2.25 G +.533(The \214rst ele-)5.533 F(ment of the)108 720 Q F4(FUNCN)2.5 E(AME) +-.18 E F0 -.25(va)2.25 G (riable is set to the name of the function while the function is e).25 E --.15(xe)-.15 G(cuting.).15 E 1.25(All other aspects of the shell e)108 -600 R -.15(xe)-.15 G 1.25(cution en).15 F 1.25 +-.15(xe)-.15 G(cuting.).15 E(GNU Bash 4.4)72 768 Q(2016 August 26) +142.895 E(29)192.055 E 0 Cg EP +%%Page: 30 30 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E 1.25 +(All other aspects of the shell e)108 84 R -.15(xe)-.15 G 1.25 +(cution en).15 F 1.25 (vironment are identical between a function and its caller with)-.4 F -1.048(these e)108 612 R 3.548(xceptions: the)-.15 F F4(DEB)3.548 E(UG) --.09 E F0(and)3.298 E F1(RETURN)3.548 E F0 1.048 -(traps \(see the description of the)3.548 F F1(trap)3.548 E F0 -.2(bu) -3.548 G 1.048(iltin under).2 F F4(SHELL)3.549 E -.09(BU)108 624 S(IL).09 -E .479(TIN COMMANDS)-.828 F F0(belo)2.729 E .479 +1.214(these e)108 96 R 1.214(xceptions: the)-.15 F/F1 9/Times-Bold@0 SF +(DEB)3.714 E(UG)-.09 E F0(and)3.464 E/F2 10/Times-Bold@0 SF(RETURN)3.715 +E F0 1.215(traps \(see the description of the)3.715 F F2(trap)3.715 E F0 +-.2(bu)3.715 G 1.215(iltin under).2 F F1(SHELL)3.715 E -.09(BU)108 108 S +(IL).09 E .479(TIN COMMANDS)-.828 F F0(belo)2.729 E .479 (w\) are not inherited unless the function has been gi)-.25 F -.15(ve) --.25 G 2.978(nt).15 G(he)-2.978 E F1(trace)2.978 E F0(attrib)2.978 E -.478(ute \(see)-.2 F .42(the description of the)108 636 R F4(declar)2.92 +-.25 G 2.978(nt).15 G(he)-2.978 E F2(trace)2.978 E F0(attrib)2.978 E +.478(ute \(see)-.2 F .42(the description of the)108 120 R F1(declar)2.92 E(e)-.162 E F0 -.2(bu)2.67 G .42(iltin belo).2 F .42(w\) or the)-.25 F -F1 .42(\255o functrace)2.92 F F0 .42 -(shell option has been enabled with the)2.92 F F1(set)2.921 E F0 -.2(bu) -108 648 S .072(iltin \(in which case all functions inherit the).2 F F1 -(DEB)2.572 E(UG)-.1 E F0(and)2.572 E F1(RETURN)2.572 E F0 .072 -(traps\), and the)2.572 F F4(ERR)2.571 E F0 .071(trap is not inher)2.321 -F(-)-.2 E(ited unless the)108 660 Q F1(\255o errtrace)2.5 E F0 -(shell option has been enabled.)2.5 E -1.11(Va)108 676.8 S .655 -(riables local to the function may be declared with the)1.11 F F1(local) +F2 .42(\255o functrace)2.92 F F0 .42 +(shell option has been enabled with the)2.92 F F2(set)2.921 E F0 -.2(bu) +108 132 S .072(iltin \(in which case all functions inherit the).2 F F2 +(DEB)2.572 E(UG)-.1 E F0(and)2.572 E F2(RETURN)2.572 E F0 .072 +(traps\), and the)2.572 F F1(ERR)2.571 E F0 .071(trap is not inher)2.321 +F(-)-.2 E(ited unless the)108 144 Q F2(\255o errtrace)2.5 E F0 +(shell option has been enabled.)2.5 E -1.11(Va)108 160.8 S .655 +(riables local to the function may be declared with the)1.11 F F2(local) 3.155 E F0 -.2(bu)3.156 G .656(iltin command.).2 F(Ordinarily)5.656 E -3.156(,v)-.65 G .656(ariables and)-3.406 F(their v)108 688.8 Q +3.156(,v)-.65 G .656(ariables and)-3.406 F(their v)108 172.8 Q (alues are shared between the function and its caller)-.25 E(.)-.55 E -(The)108 705.6 Q F1(FUNCNEST)3.529 E F0 -.25(va)3.529 G 1.028 +(The)108 189.6 Q F2(FUNCNEST)3.529 E F0 -.25(va)3.529 G 1.028 (riable, if set to a numeric v).25 F 1.028 (alue greater than 0, de\214nes a maximum function nesting)-.25 F(le)108 -717.6 Q -.15(ve)-.25 G 2.5(l. Function).15 F(in)2.5 E -.2(vo)-.4 G +201.6 Q -.15(ve)-.25 G 2.5(l. Function).15 F(in)2.5 E -.2(vo)-.4 G (cations that e).2 E(xceed the limit cause the entire command to abort.) --.15 E(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(28)190.95 E 0 Cg -EP -%%Page: 29 29 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .043(If the b)108 84 R .043(uiltin command)-.2 F/F1 10 -/Times-Bold@0 SF -.18(re)2.543 G(tur).18 E(n)-.15 E F0 .043(is e)2.543 F --.15(xe)-.15 G .043(cuted in a function, the function completes and e) -.15 F -.15(xe)-.15 G .044(cution resumes with).15 F 1.012(the ne)108 96 -R 1.012(xt command after the function call.)-.15 F(An)6.011 E 3.511(yc) --.15 G 1.011(ommand associated with the)-3.511 F F1(RETURN)3.511 E F0 -1.011(trap is e)3.511 F -.15(xe)-.15 G(cuted).15 E .213(before e)108 108 -R -.15(xe)-.15 G .213(cution resumes.).15 F .213 +-.15 E .043(If the b)108 218.4 R .043(uiltin command)-.2 F F2 -.18(re) +2.543 G(tur).18 E(n)-.15 E F0 .043(is e)2.543 F -.15(xe)-.15 G .043 +(cuted in a function, the function completes and e).15 F -.15(xe)-.15 G +.044(cution resumes with).15 F 1.012(the ne)108 230.4 R 1.012 +(xt command after the function call.)-.15 F(An)6.011 E 3.511(yc)-.15 G +1.011(ommand associated with the)-3.511 F F2(RETURN)3.511 E F0 1.011 +(trap is e)3.511 F -.15(xe)-.15 G(cuted).15 E .213(before e)108 242.4 R +-.15(xe)-.15 G .213(cution resumes.).15 F .213 (When a function completes, the v)5.213 F .214 (alues of the positional parameters and the spe-)-.25 F(cial parameter) -108 120 Q F1(#)2.5 E F0(are restored to the v)2.5 E(alues the)-.25 E 2.5 -(yh)-.15 G(ad prior to the function')-2.5 E 2.5(se)-.55 G -.15(xe)-2.65 -G(cution.).15 E 1.359 -(Function names and de\214nitions may be listed with the)108 136.8 R F1 -3.858 E F0 1.358(option to the)3.858 F F1(declar)3.858 E(e)-.18 E -F0(or)3.858 E F1(typeset)3.858 E F0 -.2(bu)3.858 G 1.358(iltin com-).2 F -3.39(mands. The)108 148.8 R F13.39 E F0 .89(option to)3.39 F F1 -(declar)3.39 E(e)-.18 E F0(or)3.39 E F1(typeset)3.39 E F0 .89 +108 254.4 Q F2(#)2.5 E F0(are restored to the v)2.5 E(alues the)-.25 E +2.5(yh)-.15 G(ad prior to the function')-2.5 E 2.5(se)-.55 G -.15(xe) +-2.65 G(cution.).15 E 1.359 +(Function names and de\214nitions may be listed with the)108 271.2 R F2 +3.858 E F0 1.358(option to the)3.858 F F2(declar)3.858 E(e)-.18 E +F0(or)3.858 E F2(typeset)3.858 E F0 -.2(bu)3.858 G 1.358(iltin com-).2 F +3.39(mands. The)108 283.2 R F23.39 E F0 .89(option to)3.39 F F2 +(declar)3.39 E(e)-.18 E F0(or)3.39 E F2(typeset)3.39 E F0 .89 (will list the function names only \(and optionally the source)3.39 F -.327(\214le and line number)108 160.8 R 2.827(,i)-.4 G 2.827(ft)-2.827 G -(he)-2.827 E F1(extdeb)2.827 E(ug)-.2 E F0 .326 +.327(\214le and line number)108 295.2 R 2.827(,i)-.4 G 2.827(ft)-2.827 G +(he)-2.827 E F2(extdeb)2.827 E(ug)-.2 E F0 .326 (shell option is enabled\).)2.827 F .326(Functions may be e)5.326 F .326 -(xported so that subshells)-.15 F 1.297(automatically ha)108 172.8 R -1.597 -.15(ve t)-.2 H 1.297(hem de\214ned with the).15 F F13.797 E -F0 1.297(option to the)3.797 F F1(export)3.798 E F0 -.2(bu)3.798 G 3.798 +(xported so that subshells)-.15 F 1.297(automatically ha)108 307.2 R +1.597 -.15(ve t)-.2 H 1.297(hem de\214ned with the).15 F F23.797 E +F0 1.297(option to the)3.797 F F2(export)3.798 E F0 -.2(bu)3.798 G 3.798 (iltin. A).2 F 1.298(function de\214nition may be)3.798 F .161 -(deleted using the)108 184.8 R F12.661 E F0 .161(option to the) -2.661 F F1(unset)2.661 E F0 -.2(bu)2.661 G 2.661(iltin. Note).2 F .16 +(deleted using the)108 319.2 R F22.661 E F0 .161(option to the) +2.661 F F2(unset)2.661 E F0 -.2(bu)2.661 G 2.661(iltin. Note).2 F .16 (that shell functions and v)2.661 F .16(ariables with the same name)-.25 F 1.325(may result in multiple identically-named entries in the en)108 -196.8 R 1.325(vironment passed to the shell')-.4 F 3.825(sc)-.55 G 3.825 -(hildren. Care)-3.825 F(should be tak)108 208.8 Q +331.2 R 1.325(vironment passed to the shell')-.4 F 3.825(sc)-.55 G 3.825 +(hildren. Care)-3.825 F(should be tak)108 343.2 Q (en in cases where this may cause a problem.)-.1 E .372 -(Functions may be recursi)108 225.6 R -.15(ve)-.25 G 5.371(.T).15 G(he) --5.371 E F1(FUNCNEST)2.871 E F0 -.25(va)2.871 G .371 +(Functions may be recursi)108 360 R -.15(ve)-.25 G 5.371(.T).15 G(he) +-5.371 E F2(FUNCNEST)2.871 E F0 -.25(va)2.871 G .371 (riable may be used to limit the depth of the function call).25 F 1.141 -(stack and restrict the number of function in)108 237.6 R -.2(vo)-.4 G +(stack and restrict the number of function in)108 372 R -.2(vo)-.4 G 3.641(cations. By).2 F(def)3.641 E 1.141 -(ault, no limit is imposed on the number of)-.1 F(recursi)108 249.6 Q .3 --.15(ve c)-.25 H(alls.).15 E/F2 10.95/Times-Bold@0 SF(ARITHMETIC EV)72 -266.4 Q(ALU)-1.478 E -1.04(AT)-.657 G(ION)1.04 E F0 2.298 -(The shell allo)108 278.4 R 2.297(ws arithmetic e)-.25 F 2.297 +(ault, no limit is imposed on the number of)-.1 F(recursi)108 384 Q .3 +-.15(ve c)-.25 H(alls.).15 E/F3 10.95/Times-Bold@0 SF(ARITHMETIC EV)72 +400.8 Q(ALU)-1.478 E -1.04(AT)-.657 G(ION)1.04 E F0 2.298 +(The shell allo)108 412.8 R 2.297(ws arithmetic e)-.25 F 2.297 (xpressions to be e)-.15 F -.25(va)-.25 G 2.297 -(luated, under certain circumstances \(see the).25 F F1(let)4.797 E F0 -(and)4.797 E F1(declar)108 290.4 Q(e)-.18 E F0 -.2(bu)2.705 G .205 -(iltin commands and).2 F F1 .205(Arithmetic Expansion)2.705 F F0 2.705 -(\). Ev)B .205(aluation is done in \214x)-.25 F .206(ed-width inte)-.15 -F .206(gers with no)-.15 F .429(check for o)108 302.4 R -.15(ve)-.15 G -(r\215o).15 E 1.729 -.65(w, t)-.25 H .429(hough di).65 F .428 -(vision by 0 is trapped and \215agged as an error)-.25 F 5.428(.T)-.55 G -.428(he operators and their prece-)-5.428 F 1.919(dence, associati)108 -314.4 R(vity)-.25 E 4.419(,a)-.65 G 1.919(nd v)-4.419 F 1.919 -(alues are the same as in the C language.)-.25 F 1.92(The follo)6.92 F -1.92(wing list of operators is)-.25 F(grouped into le)108 326.4 Q -.15 -(ve)-.25 G(ls of equal-precedence operators.).15 E(The le)5 E -.15(ve) --.25 G(ls are listed in order of decreasing precedence.).15 E/F3 10 -/Times-Italic@0 SF(id)108 343.2 Q F1(++)A F3(id)2.5 E F1A F0 -.25 -(va)144 355.2 S(riable post-increment and post-decrement).25 E F1(++)108 -367.2 Q F3(id)A F12.5 E F3(id)A F0 -.25(va)144 379.2 S -(riable pre-increment and pre-decrement).25 E F1 2.5108 391.2 S F0 -(unary minus and plus)19.6 E F1 2.5(!~)108 403.2 S F0 -(logical and bitwise ne)24.34 E -.05(ga)-.15 G(tion).05 E F1(**)108 -415.2 Q F0 -.15(ex)26 G(ponentiation).15 E F1 2.5(*/%)108 427.2 S F0 -(multiplication, di)10.72 E(vision, remainder)-.25 E F1 2.5<2bad>108 -439.2 S F0(addition, subtraction)19.6 E F1(<< >>)108 451.2 Q F0 -(left and right bitwise shifts)10.7 E F1(<= >= < >)108 463.2 Q F0 -(comparison)144 475.2 Q F1(== !=)108 487.2 Q F0(equality and inequality) -13.07 E F1(&)108 499.2 Q F0(bitwise AND)27.67 E F1(^)108 511.2 Q F0 -(bitwise e)32.67 E(xclusi)-.15 E .3 -.15(ve O)-.25 H(R).15 E F1(|)108 -523.2 Q F0(bitwise OR)33.8 E F1(&&)108 535.2 Q F0(logical AND)19.34 E F1 -(||)108 547.2 Q F0(logical OR)31.6 E F3 -.2(ex)108 559.2 S(pr).2 E F1(?) -A F3 -.2(ex)C(pr).2 E F1(:)A F3 -.2(ex)C(pr).2 E F0 -(conditional operator)144 571.2 Q F1 2.5(=*)108 583.2 S 2.5(=/)-2.5 G -2.5(=%)-2.5 G 2.5(=+)-2.5 G 2.5<3dad>-2.5 G 2.5(=<)-2.5 G -(<= >>= &= ^= |=)-2.5 E F0(assignment)144 595.2 Q F3 -.2(ex)108 607.2 S -(pr1).2 E F1(,)2.5 E F3 -.2(ex)2.5 G(pr2).2 E F0(comma)144 619.2 Q .68 -(Shell v)108 636 R .68(ariables are allo)-.25 F .68 -(wed as operands; parameter e)-.25 F .68 -(xpansion is performed before the e)-.15 F .68(xpression is e)-.15 F --.25(va)-.25 G(lu-).25 E 3.507(ated. W)108 648 R 1.007(ithin an e)-.4 F -1.007(xpression, shell v)-.15 F 1.007 -(ariables may also be referenced by name without using the parameter) --.25 F -.15(ex)108 660 S 1.041(pansion syntax.).15 F 3.541(As)6.041 G -1.041(hell v)-3.541 F 1.041(ariable that is null or unset e)-.25 F -.25 -(va)-.25 G 1.04(luates to 0 when referenced by name without).25 F 1.466 -(using the parameter e)108 672 R 1.466(xpansion syntax.)-.15 F 1.467 -(The v)6.466 F 1.467(alue of a v)-.25 F 1.467(ariable is e)-.25 F -.25 -(va)-.25 G 1.467(luated as an arithmetic e).25 F(xpression)-.15 E 1.39 -(when it is referenced, or when a v)108 684 R 1.389 -(ariable which has been gi)-.25 F -.15(ve)-.25 G 3.889(nt).15 G(he) --3.889 E F3(inte)3.889 E -.1(ge)-.4 G(r).1 E F0(attrib)3.889 E 1.389 -(ute using)-.2 F F1(declar)3.889 E 3.889(e-)-.18 G(i)-3.889 E F0(is) -3.889 E .332(assigned a v)108 696 R 2.832(alue. A)-.25 F .332(null v) -2.832 F .332(alue e)-.25 F -.25(va)-.25 G .332(luates to 0.).25 F 2.832 -(As)5.332 G .332(hell v)-2.832 F .332(ariable need not ha)-.25 F .632 --.15(ve i)-.2 H(ts).15 E F3(inte)2.832 E -.1(ge)-.4 G(r).1 E F0(attrib) -2.832 E .333(ute turned on)-.2 F(to be used in an e)108 708 Q -(xpression.)-.15 E 1.406 -(Constants with a leading 0 are interpreted as octal numbers.)108 724.8 -R 3.906(Al)6.406 G 1.406(eading 0x or 0X denotes he)-3.906 F(xadecimal.) --.15 E(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(29)190.95 E 0 Cg -EP -%%Page: 30 30 +(luated, under certain circumstances \(see the).25 F F2(let)4.797 E F0 +(and)4.797 E F2(declar)108 424.8 Q(e)-.18 E F0 -.2(bu)2.683 G .183 +(iltin commands, the).2 F F2(\(\()2.683 E F0 .183(compound command, and) +2.683 F F2 .183(Arithmetic Expansion)2.683 F F0 2.683(\). Ev)B .183 +(aluation is done in)-.25 F<8c78>108 436.8 Q 1.058(ed-width inte)-.15 F +1.057(gers with no check for o)-.15 F -.15(ve)-.15 G(r\215o).15 E 2.357 +-.65(w, t)-.25 H 1.057(hough di).65 F 1.057 +(vision by 0 is trapped and \215agged as an error)-.25 F(.)-.55 E .828 +(The operators and their precedence, associati)108 448.8 R(vity)-.25 E +3.329(,a)-.65 G .829(nd v)-3.329 F .829 +(alues are the same as in the C language.)-.25 F .829(The fol-)5.829 F +(lo)108 460.8 Q .44(wing list of operators is grouped into le)-.25 F +-.15(ve)-.25 G .439(ls of equal-precedence operators.).15 F .439(The le) +5.439 F -.15(ve)-.25 G .439(ls are listed in order).15 F +(of decreasing precedence.)108 472.8 Q/F4 10/Times-Italic@0 SF(id)108 +489.6 Q F2(++)A F4(id)2.5 E F2A F0 -.25(va)144 501.6 S +(riable post-increment and post-decrement).25 E F2(++)108 513.6 Q F4(id) +A F22.5 E F4(id)A F0 -.25(va)144 525.6 S +(riable pre-increment and pre-decrement).25 E F2 2.5108 537.6 S F0 +(unary minus and plus)144 537.6 Q F2 2.5(!~)108 549.6 S F0 +(logical and bitwise ne)144 549.6 Q -.05(ga)-.15 G(tion).05 E F2(**)108 +561.6 Q F0 -.15(ex)144 561.6 S(ponentiation).15 E F2 2.5(*/%)108 573.6 S +F0(multiplication, di)144 573.6 Q(vision, remainder)-.25 E F2 2.5<2bad> +108 585.6 S F0(addition, subtraction)144 585.6 Q F2(<< >>)108 597.6 Q F0 +(left and right bitwise shifts)144 597.6 Q F2(<= >= < >)108 609.6 Q F0 +(comparison)144 621.6 Q F2(== !=)108 633.6 Q F0(equality and inequality) +144 633.6 Q F2(&)108 645.6 Q F0(bitwise AND)144 645.6 Q F2(^)108 657.6 Q +F0(bitwise e)144 657.6 Q(xclusi)-.15 E .3 -.15(ve O)-.25 H(R).15 E F2(|) +108 669.6 Q F0(bitwise OR)144 669.6 Q F2(&&)108 681.6 Q F0(logical AND) +144 681.6 Q F2(||)108 693.6 Q F0(logical OR)144 693.6 Q F4 -.2(ex)108 +705.6 S(pr).2 E F2(?)A F4 -.2(ex)C(pr).2 E F2(:)A F4 -.2(ex)C(pr).2 E F0 +(conditional operator)144 717.6 Q(GNU Bash 4.4)72 768 Q(2016 August 26) +142.895 E(30)192.055 E 0 Cg EP +%%Page: 31 31 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .112(Otherwise, numbers tak)108 84 R 2.612(et)-.1 G .112 -(he form [)-2.612 F/F1 10/Times-Italic@0 SF(base#)A F0 .112 -(]n, where the optional)B F1(base)2.612 E F0 .113 -(is a decimal number between 2 and 64)2.612 F .534 -(representing the arithmetic base, and)108 96 R F1(n)3.034 E F0 .534 -(is a number in that base.)3.034 F(If)5.533 E F1(base#)3.033 E F0 .533 -(is omitted, then base 10 is used.)3.033 F .16(When specifying)108 108 R -F1(n)2.66 E F0 2.66(,t)C .16 -(he digits greater< than 9 are represented by the lo)-2.66 F .16 -(wercase letters, the uppercase letters,)-.25 F .943 -(@, and _, in that order)108 120 R 5.943(.I)-.55 G(f)-5.943 E F1(base) -3.443 E F0 .942(is less than or equal to 36, lo)3.443 F .942 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF 2.5(=*)108 84 S 2.5(=/)-2.5 G 2.5(=%)-2.5 G 2.5(=+)-2.5 G 2.5<3dad> +-2.5 G 2.5(=<)-2.5 G(<= >>= &= ^= |=)-2.5 E F0(assignment)144 96 Q/F2 10 +/Times-Italic@0 SF -.2(ex)108 108 S(pr1).2 E F1(,)2.5 E F2 -.2(ex)2.5 G +(pr2).2 E F0(comma)144 120 Q .68(Shell v)108 136.8 R .68 +(ariables are allo)-.25 F .68(wed as operands; parameter e)-.25 F .68 +(xpansion is performed before the e)-.15 F .68(xpression is e)-.15 F +-.25(va)-.25 G(lu-).25 E 3.508(ated. W)108 148.8 R 1.008(ithin an e)-.4 +F 1.008(xpression, shell v)-.15 F 1.007 +(ariables may also be referenced by name without using the parameter) +-.25 F -.15(ex)108 160.8 S 1.04(pansion syntax.).15 F 3.54(As)6.04 G +1.04(hell v)-3.54 F 1.04(ariable that is null or unset e)-.25 F -.25(va) +-.25 G 1.041(luates to 0 when referenced by name without).25 F 1.467 +(using the parameter e)108 172.8 R 1.467(xpansion syntax.)-.15 F 1.467 +(The v)6.467 F 1.467(alue of a v)-.25 F 1.467(ariable is e)-.25 F -.25 +(va)-.25 G 1.466(luated as an arithmetic e).25 F(xpression)-.15 E 1.389 +(when it is referenced, or when a v)108 184.8 R 1.389 +(ariable which has been gi)-.25 F -.15(ve)-.25 G 3.89(nt).15 G(he)-3.89 +E F2(inte)3.89 E -.1(ge)-.4 G(r).1 E F0(attrib)3.89 E 1.39(ute using)-.2 +F F1(declar)3.89 E 3.89(e-)-.18 G(i)-3.89 E F0(is)3.89 E .333 +(assigned a v)108 196.8 R 2.832(alue. A)-.25 F .332(null v)2.832 F .332 +(alue e)-.25 F -.25(va)-.25 G .332(luates to 0.).25 F 2.832(As)5.332 G +.332(hell v)-2.832 F .332(ariable need not ha)-.25 F .632 -.15(ve i)-.2 +H(ts).15 E F2(inte)2.832 E -.1(ge)-.4 G(r).1 E F0(attrib)2.832 E .332 +(ute turned on)-.2 F(to be used in an e)108 208.8 Q(xpression.)-.15 E +1.406(Constants with a leading 0 are interpreted as octal numbers.)108 +225.6 R 3.906(Al)6.406 G 1.407(eading 0x or 0X denotes he)-3.906 F +(xadecimal.)-.15 E .113(Otherwise, numbers tak)108 237.6 R 2.613(et)-.1 +G .113(he form [)-2.613 F F2(base#)A F0 .112(]n, where the optional)B F2 +(base)2.612 E F0 .112(is a decimal number between 2 and 64)2.612 F .533 +(representing the arithmetic base, and)108 249.6 R F2(n)3.033 E F0 .533 +(is a number in that base.)3.033 F(If)5.534 E F2(base#)3.034 E F0 .534 +(is omitted, then base 10 is used.)3.034 F .513(When specifying)108 +261.6 R F2(n)3.013 E F0 3.013(,t)C .513 +(he digits greater than 9 are represented by the lo)-3.013 F .512 +(wercase letters, the uppercase letters,)-.25 F .942 +(@, and _, in that order)108 273.6 R 5.942(.I)-.55 G(f)-5.942 E F2(base) +3.442 E F0 .942(is less than or equal to 36, lo)3.442 F .943 (wercase and uppercase letters may be used)-.25 F -(interchangeably to represent numbers between 10 and 35.)108 132 Q .234 -(Operators are e)108 148.8 R -.25(va)-.25 G .234 +(interchangeably to represent numbers between 10 and 35.)108 285.6 Q +.235(Operators are e)108 302.4 R -.25(va)-.25 G .235 (luated in order of precedence.).25 F(Sub-e)5.234 E .234 -(xpressions in parentheses are e)-.15 F -.25(va)-.25 G .235 -(luated \214rst and may).25 F -.15(ove)108 160.8 S -(rride the precedence rules abo).15 E -.15(ve)-.15 G(.).15 E/F2 10.95 -/Times-Bold@0 SF(CONDITION)72 177.6 Q(AL EXPRESSIONS)-.219 E F0 .256 -(Conditional e)108 189.6 R .256(xpressions are used by the)-.15 F/F3 10 -/Times-Bold@0 SF([[)2.755 E F0 .255(compound command and the)2.755 F F3 -(test)2.755 E F0(and)2.755 E F3([)2.755 E F0 -.2(bu)2.755 G .255 -(iltin commands to test).2 F .77(\214le attrib)108 201.6 R .77 +(xpressions in parentheses are e)-.15 F -.25(va)-.25 G .234 +(luated \214rst and may).25 F -.15(ove)108 314.4 S +(rride the precedence rules abo).15 E -.15(ve)-.15 G(.).15 E/F3 10.95 +/Times-Bold@0 SF(CONDITION)72 331.2 Q(AL EXPRESSIONS)-.219 E F0 .255 +(Conditional e)108 343.2 R .255(xpressions are used by the)-.15 F F1([[) +2.755 E F0 .255(compound command and the)2.755 F F1(test)2.755 E F0(and) +2.755 E F1([)2.756 E F0 -.2(bu)2.756 G .256(iltin commands to test).2 F +.77(\214le attrib)108 355.2 R .77 (utes and perform string and arithmetic comparisons.)-.2 F .77 -(Expressions are formed from the follo)5.77 F(wing)-.25 E 1.041 -(unary or binary primaries.)108 213.6 R 1.041(If an)6.041 F(y)-.15 E F1 -(\214le)3.541 E F0(ar)3.541 E 1.04 -(gument to one of the primaries is of the form)-.18 F F1(/de)3.54 E -(v/fd/n)-.15 E F0 3.54(,t)C 1.04(hen \214le)-3.54 F(descriptor)108 225.6 -Q F1(n)3.788 E F0 1.289(is check)3.788 F 3.789(ed. If)-.1 F(the)3.789 E -F1(\214le)3.789 E F0(ar)3.789 E 1.289 -(gument to one of the primaries is one of)-.18 F F1(/de)3.789 E(v/stdin) --.15 E F0(,)A F1(/de)3.789 E(v/stdout)-.15 E F0 3.789(,o)C(r)-3.789 E F1 -(/de)108 237.6 Q(v/stderr)-.15 E F0 2.5<2c8c>C +(Expressions are formed from the follo)5.77 F(wing)-.25 E .426 +(unary or binary primaries.)108 367.2 R F1(Bash)5.426 E F0 .426 +(handles se)2.926 F -.15(ve)-.25 G .426 +(ral \214lenames specially when the).15 F 2.926(ya)-.15 G .426 +(re used in e)-2.926 F 2.926(xpressions. If)-.15 F .193 +(the operating system on which)108 379.2 R F1(bash)2.693 E F0 .193 +(is running pro)2.693 F .193 +(vides these special \214les, bash will use them; otherwise it)-.15 F +.589(will emulate them internally with this beha)108 391.2 R .589 +(vior: If an)-.2 F(y)-.15 E F2(\214le)3.089 E F0(ar)3.089 E .589 +(gument to one of the primaries is of the form)-.18 F F2(/de)108 403.2 Q +(v/fd/n)-.15 E F0 2.917(,t)C .417(hen \214le descriptor)-2.917 F F2(n) +2.917 E F0 .417(is check)2.917 F 2.917(ed. If)-.1 F(the)2.917 E F2 +(\214le)2.917 E F0(ar)2.917 E .417 +(gument to one of the primaries is one of)-.18 F F2(/de)2.916 E(v/stdin) +-.15 E F0(,)A F2(/de)108 415.2 Q(v/stdout)-.15 E F0 2.5(,o)C(r)-2.5 E F2 +(/de)2.5 E(v/stderr)-.15 E F0 2.5<2c8c>C (le descriptor 0, 1, or 2, respecti)-2.5 E -.15(ve)-.25 G(ly).15 E 2.5 -(,i)-.65 G 2.5(sc)-2.5 G(heck)-2.5 E(ed.)-.1 E .722 +(,i)-.65 G 2.5(sc)-2.5 G(heck)-2.5 E(ed.)-.1 E .721 (Unless otherwise speci\214ed, primaries that operate on \214les follo) -108 254.4 R 3.221(ws)-.25 G .721(ymbolic links and operate on the tar) --3.221 F(get)-.18 E(of the link, rather than the link itself.)108 266.4 -Q 1.095(When used with)108 284.4 R F3([[)3.595 E F0 3.595(,t)C(he)-3.595 -E F3(<)3.595 E F0(and)3.595 E F3(>)3.595 E F0 1.095(operators sort le) -3.595 F 1.095(xicographically using the current locale.)-.15 F(The)6.096 -E F3(test)3.596 E F0(com-)3.596 E(mand sorts using ASCII ordering.)108 -296.4 Q F3108 320.4 Q F1(\214le)2.5 E F0 -.35(Tr)10.58 G(ue if).35 -E F1(\214le)2.5 E F0 -.15(ex)2.5 G(ists.).15 E F3108 332.4 Q F1 -(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex) -2.5 G(ists and is a block special \214le.).15 E F3108 344.4 Q F1 -(\214le)2.5 E F0 -.35(Tr)11.14 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex) -2.5 G(ists and is a character special \214le.).15 E F3108 356.4 Q -F1(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E F0 -.15 -(ex)2.5 G(ists and is a directory).15 E(.)-.65 E F3108 368.4 Q F1 -(\214le)2.5 E F0 -.35(Tr)11.14 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex) -2.5 G(ists.).15 E F3108 380.4 Q F1(\214le)2.5 E F0 -.35(Tr)12.25 G -(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is a re).15 E -(gular \214le.)-.15 E F3108 392.4 Q F1(\214le)2.5 E F0 -.35(Tr) -10.58 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G -(ists and is set-group-id.).15 E F3108 404.4 Q F1(\214le)2.5 E F0 --.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G -(ists and is a symbolic link.).15 E F3108 416.4 Q F1(\214le)2.5 E -F0 -.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G +108 432 R 3.221(ws)-.25 G .722(ymbolic links and operate on the tar) +-3.221 F(get)-.18 E(of the link, rather than the link itself.)108 444 Q +1.096(When used with)108 462 R F1([[)3.596 E F0 3.596(,t)C(he)-3.596 E +F1(<)3.596 E F0(and)3.595 E F1(>)3.595 E F0 1.095(operators sort le) +3.595 F 1.095(xicographically using the current locale.)-.15 F(The)6.095 +E F1(test)3.595 E F0(com-)3.595 E(mand sorts using ASCII ordering.)108 +474 Q F1108 498 Q F2(\214le)2.5 E F0 -.35(Tr)144 498 S(ue if).35 E +F2(\214le)2.5 E F0 -.15(ex)2.5 G(ists.).15 E F1108 510 Q F2 +(\214le)2.5 E F0 -.35(Tr)144 510 S(ue if).35 E F2(\214le)2.5 E F0 -.15 +(ex)2.5 G(ists and is a block special \214le.).15 E F1108 522 Q F2 +(\214le)2.5 E F0 -.35(Tr)144 522 S(ue if).35 E F2(\214le)2.5 E F0 -.15 +(ex)2.5 G(ists and is a character special \214le.).15 E F1108 534 +Q F2(\214le)2.5 E F0 -.35(Tr)144 534 S(ue if).35 E F2(\214le)2.5 E F0 +-.15(ex)2.5 G(ists and is a directory).15 E(.)-.65 E F1108 546 Q +F2(\214le)2.5 E F0 -.35(Tr)144 546 S(ue if).35 E F2(\214le)2.5 E F0 -.15 +(ex)2.5 G(ists.).15 E F1108 558 Q F2(\214le)2.5 E F0 -.35(Tr)144 +558 S(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is a re).15 +E(gular \214le.)-.15 E F1108 570 Q F2(\214le)2.5 E F0 -.35(Tr)144 +570 S(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and is set-group-id.).15 E F1108 582 Q F2(\214le)2.5 E F0 +-.35(Tr)144 582 S(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and is a symbolic link.).15 E F1108 594 Q F2(\214le)2.5 E F0 +-.35(Tr)144 594 S(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G (ists and its `).15 E(`stick)-.74 E(y')-.15 E 2.5('b)-.74 G(it is set.) --2.5 E F3108 428.4 Q F1(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 -E F1(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is a named pipe \(FIFO\).) -.15 E F3108 440.4 Q F1(\214le)2.5 E F0 -.35(Tr)11.14 G(ue if).35 E -F1(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is readable.).15 E F3108 -452.4 Q F1(\214le)2.5 E F0 -.35(Tr)11.69 G(ue if).35 E F1(\214le)2.5 E -F0 -.15(ex)2.5 G(ists and has a size greater than zero.).15 E F3 -108 464.4 Q F1(fd)2.5 E F0 -.35(Tr)16.69 G(ue if \214le descriptor).35 E -F1(fd)4.47 E F0(is open and refers to a terminal.)3.27 E F3108 -476.4 Q F1(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E -F0 -.15(ex)2.5 G(ists and its set-user).15 E(-id bit is set.)-.2 E F3 -108 488.4 Q F1(\214le)2.5 E F0 -.35(Tr)8.36 G(ue if).35 E F1 -(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is writable.).15 E F3108 -500.4 Q F1(\214le)2.5 E F0 -.35(Tr)10.58 G(ue if).35 E F1(\214le)2.5 E -F0 -.15(ex)2.5 G(ists and is e).15 E -.15(xe)-.15 G(cutable.).15 E F3 -108 512.4 Q F1(\214le)2.5 E F0 -.35(Tr)7.8 G(ue if).35 E F1 -(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is o).15 E(wned by the ef)-.25 E -(fecti)-.25 E .3 -.15(ve g)-.25 H(roup id.).15 E F3108 524.4 Q F1 -(\214le)2.5 E F0 -.35(Tr)8.91 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex) -2.5 G(ists and is a symbolic link.).15 E F3108 536.4 Q F1(\214le) -2.5 E F0 -.35(Tr)8.36 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G -(ists and has been modi\214ed since it w).15 E(as last read.)-.1 E F3 -108 548.4 Q F1(\214le)2.5 E F0 -.35(Tr)7.8 G(ue if).35 E F1 -(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is o).15 E(wned by the ef)-.25 E -(fecti)-.25 E .3 -.15(ve u)-.25 H(ser id.).15 E F3108 560.4 Q F1 -(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex) -2.5 G(ists and is a sock).15 E(et.)-.1 E F1(\214le1)108 572.4 Q F3 -(\255ef)2.5 E F1(\214le2)2.5 E F0 -.35(Tr)144 584.4 S(ue if).35 E F1 -(\214le1)2.5 E F0(and)2.5 E F1(\214le2)2.5 E F0(refer to the same de)2.5 -E(vice and inode numbers.)-.25 E F1(\214le1)108 596.4 Q F02.5 E F3 -(nt)A F1(\214le2)2.5 E F0 -.35(Tr)144 608.4 S .039(ue if).35 F F1 -(\214le1)2.539 E F0 .039(is ne)2.539 F .039 -(wer \(according to modi\214cation date\) than)-.25 F F1(\214le2)2.539 E -F0 2.539(,o)C 2.539(ri)-2.539 G(f)-2.539 E F1(\214le1)2.539 E F0 -.15 -(ex)2.539 G .039(ists and).15 F F1(\214le2)2.539 E F0 .038(does not.) -2.538 F F1(\214le1)108 620.4 Q F02.5 E F3(ot)A F1(\214le2)2.5 E F0 --.35(Tr)144 632.4 S(ue if).35 E F1(\214le1)2.5 E F0(is older than)2.5 E -F1(\214le2)2.5 E F0 2.5(,o)C 2.5(ri)-2.5 G(f)-2.5 E F1(\214le2)2.5 E F0 --.15(ex)2.5 G(ists and).15 E F1(\214le1)2.5 E F0(does not.)2.5 E F3 -108 644.4 Q F1(optname)2.5 E F0 -.35(Tr)144 656.4 S .262 -(ue if the shell option).35 F F1(optname)2.992 E F0 .262(is enabled.) -2.942 F .262(See the list of options under the description of the)5.262 -F F32.763 E F0(option to the)144 668.4 Q F3(set)2.5 E F0 -.2(bu) -2.5 G(iltin belo).2 E -.65(w.)-.25 G F3108 680.4 Q F1(varname)2.5 -E F0 -.35(Tr)144 692.4 S(ue if the shell v).35 E(ariable)-.25 E F1 -(varname)2.79 E F0(is set \(has been assigned a v)2.68 E(alue\).)-.25 E -F3108 704.4 Q F1(varname)2.5 E F0 -.35(Tr)144 716.4 S -(ue if the shell v).35 E(ariable)-.25 E F1(varname)2.79 E F0 -(is set and is a name reference.)2.68 E(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(30)190.95 E 0 Cg EP -%%Page: 31 31 +-2.5 E F1108 606 Q F2(\214le)2.5 E F0 -.35(Tr)144 606 S(ue if).35 +E F2(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is a named pipe \(FIFO\).) +.15 E F1108 618 Q F2(\214le)2.5 E F0 -.35(Tr)144 618 S(ue if).35 E +F2(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is readable.).15 E F1108 +630 Q F2(\214le)2.5 E F0 -.35(Tr)144 630 S(ue if).35 E F2(\214le)2.5 E +F0 -.15(ex)2.5 G(ists and has a size greater than zero.).15 E F1 +108 642 Q F2(fd)2.5 E F0 -.35(Tr)144 642 S(ue if \214le descriptor).35 E +F2(fd)4.47 E F0(is open and refers to a terminal.)3.27 E F1108 654 +Q F2(\214le)2.5 E F0 -.35(Tr)144 654 S(ue if).35 E F2(\214le)2.5 E F0 +-.15(ex)2.5 G(ists and its set-user).15 E(-id bit is set.)-.2 E F1 +108 666 Q F2(\214le)2.5 E F0 -.35(Tr)144 666 S(ue if).35 E F2(\214le)2.5 +E F0 -.15(ex)2.5 G(ists and is writable.).15 E F1108 678 Q F2 +(\214le)2.5 E F0 -.35(Tr)144 678 S(ue if).35 E F2(\214le)2.5 E F0 -.15 +(ex)2.5 G(ists and is e).15 E -.15(xe)-.15 G(cutable.).15 E F1108 +690 Q F2(\214le)2.5 E F0 -.35(Tr)144 690 S(ue if).35 E F2(\214le)2.5 E +F0 -.15(ex)2.5 G(ists and is o).15 E(wned by the ef)-.25 E(fecti)-.25 E +.3 -.15(ve g)-.25 H(roup id.).15 E F1108 702 Q F2(\214le)2.5 E F0 +-.35(Tr)144 702 S(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and is a symbolic link.).15 E F1108 714 Q F2(\214le)2.5 E F0 +-.35(Tr)144 714 S(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and has been modi\214ed since it w).15 E(as last read.)-.1 E +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(31)192.055 E 0 Cg EP +%%Page: 32 32 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF108 84 Q/F2 10/Times-Italic@0 SF -(string)2.5 E F0 -.35(Tr)144 96 S(ue if the length of).35 E F2(string) -2.5 E F0(is zero.)2.5 E F2(string)108 108 Q F1108 120 Q F2(string) -2.5 E F0 -.35(Tr)144 132 S(ue if the length of).35 E F2(string)2.84 E F0 -(is non-zero.)2.72 E F2(string1)108 148.8 Q F1(==)2.5 E F2(string2)2.5 E -(string1)108 160.8 Q F1(=)2.5 E F2(string2)2.5 E F0 -.35(Tr)144 172.8 S -.862(ue if the strings are equal.).35 F F1(=)5.861 E F0 .861 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF108 84 Q/F2 10/Times-Italic@0 SF(\214le)2.5 E F0 -.35(Tr)144 84 +S(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is o).15 E +(wned by the ef)-.25 E(fecti)-.25 E .3 -.15(ve u)-.25 H(ser id.).15 E F1 +108 96 Q F2(\214le)2.5 E F0 -.35(Tr)144 96 S(ue if).35 E F2 +(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is a sock).15 E(et.)-.1 E F2 +(\214le1)108 108 Q F1(\255ef)2.5 E F2(\214le2)2.5 E F0 -.35(Tr)144 120 S +(ue if).35 E F2(\214le1)2.5 E F0(and)2.5 E F2(\214le2)2.5 E F0 +(refer to the same de)2.5 E(vice and inode numbers.)-.25 E F2(\214le1) +108 132 Q F02.5 E F1(nt)A F2(\214le2)2.5 E F0 -.35(Tr)144 144 S +(ue if).35 E F2(\214le1)2.5 E F0(is ne)2.5 E +(wer \(according to modi\214cation date\) than)-.25 E F2(\214le2)2.5 E +F0 2.5(,o)C 2.5(ri)-2.5 G(f)-2.5 E F2(\214le1)2.5 E F0 -.15(ex)2.5 G +(ists and).15 E F2(\214le2)2.5 E F0(does not.)2.5 E F2(\214le1)108 156 Q +F02.5 E F1(ot)A F2(\214le2)2.5 E F0 -.35(Tr)144 168 S(ue if).35 E F2 +(\214le1)2.5 E F0(is older than)2.5 E F2(\214le2)2.5 E F0 2.5(,o)C 2.5 +(ri)-2.5 G(f)-2.5 E F2(\214le2)2.5 E F0 -.15(ex)2.5 G(ists and).15 E F2 +(\214le1)2.5 E F0(does not.)2.5 E F1108 180 Q F2(optname)2.5 E F0 +-.35(Tr)144 192 S .262(ue if the shell option).35 F F2(optname)2.992 E +F0 .262(is enabled.)2.942 F .262 +(See the list of options under the description of the)5.262 F F1 +2.763 E F0(option to the)144 204 Q F1(set)2.5 E F0 -.2(bu)2.5 G +(iltin belo).2 E -.65(w.)-.25 G F1108 216 Q F2(varname)2.5 E F0 +-.35(Tr)144 228 S(ue if the shell v).35 E(ariable)-.25 E F2(varname)2.79 +E F0(is set \(has been assigned a v)2.68 E(alue\).)-.25 E F1108 +240 Q F2(varname)2.5 E F0 -.35(Tr)144 252 S(ue if the shell v).35 E +(ariable)-.25 E F2(varname)2.79 E F0(is set and is a name reference.) +2.68 E F1108 264 Q F2(string)2.5 E F0 -.35(Tr)144 276 S +(ue if the length of).35 E F2(string)2.5 E F0(is zero.)2.5 E F2(string) +108 288 Q F1108 300 Q F2(string)2.5 E F0 -.35(Tr)144 312 S +(ue if the length of).35 E F2(string)2.84 E F0(is non-zero.)2.72 E F2 +(string1)108 328.8 Q F1(==)2.5 E F2(string2)2.5 E(string1)108 340.8 Q F1 +(=)2.5 E F2(string2)2.5 E F0 -.35(Tr)144 352.8 S .862 +(ue if the strings are equal.).35 F F1(=)5.861 E F0 .861 (should be used with the)3.361 F F1(test)3.361 E F0 .861 (command for POSIX conformance.)3.361 F .446(When used with the)144 -184.8 R F1([[)2.946 E F0 .446 +364.8 R F1([[)2.946 E F0 .446 (command, this performs pattern matching as described abo)2.946 F .747 --.15(ve \()-.15 H F1(Compound).15 E(Commands)144 196.8 Q F0(\).)A F2 -(string1)108 213.6 Q F1(!=)2.5 E F2(string2)2.5 E F0 -.35(Tr)144 225.6 S -(ue if the strings are not equal.).35 E F2(string1)108 242.4 Q F1(<)2.5 -E F2(string2)2.5 E F0 -.35(Tr)144 254.4 S(ue if).35 E F2(string1)2.5 E +-.15(ve \()-.15 H F1(Compound).15 E(Commands)144 376.8 Q F0(\).)A F2 +(string1)108 393.6 Q F1(!=)2.5 E F2(string2)2.5 E F0 -.35(Tr)144 405.6 S +(ue if the strings are not equal.).35 E F2(string1)108 422.4 Q F1(<)2.5 +E F2(string2)2.5 E F0 -.35(Tr)144 434.4 S(ue if).35 E F2(string1)2.5 E F0(sorts before)2.5 E F2(string2)2.5 E F0(le)2.5 E(xicographically)-.15 -E(.)-.65 E F2(string1)108 271.2 Q F1(>)2.5 E F2(string2)2.5 E F0 -.35 -(Tr)144 283.2 S(ue if).35 E F2(string1)2.5 E F0(sorts after)2.5 E F2 +E(.)-.65 E F2(string1)108 451.2 Q F1(>)2.5 E F2(string2)2.5 E F0 -.35 +(Tr)144 463.2 S(ue if).35 E F2(string1)2.5 E F0(sorts after)2.5 E F2 (string2)2.5 E F0(le)2.5 E(xicographically)-.15 E(.)-.65 E F2(ar)108.33 -300 Q(g1)-.37 E F1(OP)2.5 E F2(ar)2.5 E(g2)-.37 E/F3 9/Times-Bold@0 SF -(OP)144 312 Q F0 .385(is one of)2.635 F F1(\255eq)2.885 E F0(,)A F1 +480 Q(g1)-.37 E F1(OP)2.5 E F2(ar)2.5 E(g2)-.37 E/F3 9/Times-Bold@0 SF +(OP)144 492 Q F0 .385(is one of)2.635 F F1(\255eq)2.885 E F0(,)A F1 (\255ne)2.885 E F0(,)A F1(\255lt)2.885 E F0(,)A F1(\255le)2.885 E F0(,)A F1(\255gt)2.885 E F0 2.885(,o)C(r)-2.885 E F1(\255ge)2.885 E F0 5.385 (.T)C .385(hese arithmetic binary operators return true if)-5.385 F F2 (ar)2.884 E(g1)-.37 E F0 .845(is equal to, not equal to, less than, les\ -s than or equal to, greater than, or greater than or equal to)144 324 R -F2(ar)144 336 Q(g2)-.37 E F0 2.5(,r)C(especti)-2.5 E -.15(ve)-.25 G(ly) +s than or equal to, greater than, or greater than or equal to)144 504 R +F2(ar)144 516 Q(g2)-.37 E F0 2.5(,r)C(especti)-2.5 E -.15(ve)-.25 G(ly) .15 E(.)-.65 E F2(Ar)6.01 E(g1)-.37 E F0(and)2.5 E F2(ar)2.83 E(g2)-.37 E F0(may be positi)2.52 E .3 -.15(ve o)-.25 H 2.5(rn).15 G -2.25 -.15 (eg a)-2.5 H(ti).15 E .3 -.15(ve i)-.25 H(nte).15 E(gers.)-.15 E/F4 -10.95/Times-Bold@0 SF(SIMPLE COMMAND EXP)72 352.8 Q(ANSION)-.81 E F0 -.614(When a simple command is e)108 364.8 R -.15(xe)-.15 G .614 +10.95/Times-Bold@0 SF(SIMPLE COMMAND EXP)72 532.8 Q(ANSION)-.81 E F0 +.614(When a simple command is e)108 544.8 R -.15(xe)-.15 G .614 (cuted, the shell performs the follo).15 F .613(wing e)-.25 F .613 (xpansions, assignments, and redi-)-.15 F(rections, from left to right.) -108 376.8 Q 26(1. The)108 393.6 R -.1(wo)4.348 G 1.848 -(rds that the parser has mark).1 F 1.848(ed as v)-.1 F 1.849 +108 556.8 Q(1.)108 573.6 Q 1.848(The w)144 573.6 R 1.848 +(ords that the parser has mark)-.1 F 1.848(ed as v)-.1 F 1.849 (ariable assignments \(those preceding the command)-.25 F -(name\) and redirections are sa)144 405.6 Q -.15(ve)-.2 G 2.5(df).15 G -(or later processing.)-2.5 E 26(2. The)108 422.4 R -.1(wo)3.664 G 1.164 -(rds that are not v).1 F 1.164 +(name\) and redirections are sa)144 585.6 Q -.15(ve)-.2 G 2.5(df).15 G +(or later processing.)-2.5 E(2.)108 602.4 Q 1.164(The w)144 602.4 R +1.164(ords that are not v)-.1 F 1.164 (ariable assignments or redirections are e)-.25 F 3.663(xpanded. If)-.15 F(an)3.663 E 3.663(yw)-.15 G 1.163(ords remain)-3.763 F .775(after e)144 -434.4 R .775(xpansion, the \214rst w)-.15 F .775(ord is tak)-.1 F .775 +614.4 R .775(xpansion, the \214rst w)-.15 F .775(ord is tak)-.1 F .775 (en to be the name of the command and the remaining w)-.1 F(ords)-.1 E -(are the ar)144 446.4 Q(guments.)-.18 E 26(3. Redirections)108 463.2 R -(are performed as described abo)2.5 E .3 -.15(ve u)-.15 H(nder).15 E F3 -(REDIRECTION)2.5 E/F5 9/Times-Roman@0 SF(.)A F0 26(4. The)108 480 R(te) -3.217 E .717(xt after the)-.15 F F1(=)3.217 E F0 .717(in each v)3.217 F -.717(ariable assignment under)-.25 F .717(goes tilde e)-.18 F .717 -(xpansion, parameter e)-.15 F(xpansion,)-.15 E .339 -(command substitution, arithmetic e)144 492 R .339 +(are the ar)144 626.4 Q(guments.)-.18 E(3.)108 643.2 Q +(Redirections are performed as described abo)144 643.2 Q .3 -.15(ve u) +-.15 H(nder).15 E F3(REDIRECTION)2.5 E/F5 9/Times-Roman@0 SF(.)A F0(4.) +108 660 Q .717(The te)144 660 R .717(xt after the)-.15 F F1(=)3.217 E F0 +.717(in each v)3.217 F .717(ariable assignment under)-.25 F .717 +(goes tilde e)-.18 F .717(xpansion, parameter e)-.15 F(xpansion,)-.15 E +.339(command substitution, arithmetic e)144 672 R .339 (xpansion, and quote remo)-.15 F -.25(va)-.15 G 2.839(lb).25 G .339 -(efore being assigned to the v)-2.839 F(ari-)-.25 E(able.)144 504 Q .332 -(If no command name results, the v)108 520.8 R .332 +(efore being assigned to the v)-2.839 F(ari-)-.25 E(able.)144 684 Q .332 +(If no command name results, the v)108 700.8 R .332 (ariable assignments af)-.25 F .332(fect the current shell en)-.25 F -2.832(vironment. Otherwise,)-.4 F(the)2.832 E -.25(va)108 532.8 S .757 +2.832(vironment. Otherwise,)-.4 F(the)2.832 E -.25(va)108 712.8 S .757 (riables are added to the en).25 F .757(vironment of the e)-.4 F -.15 (xe)-.15 G .757(cuted command and do not af).15 F .757 -(fect the current shell en)-.25 F(vi-)-.4 E 3.177(ronment. If)108 544.8 +(fect the current shell en)-.25 F(vi-)-.4 E 3.177(ronment. If)108 724.8 R(an)3.177 E 3.177(yo)-.15 G 3.177(ft)-3.177 G .677 (he assignments attempts to assign a v)-3.177 F .677 (alue to a readonly v)-.25 F .676(ariable, an error occurs, and)-.25 F -(the command e)108 556.8 Q(xits with a non-zero status.)-.15 E .149 -(If no command name results, redirections are performed, b)108 573.6 R +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(32)192.055 E 0 Cg EP +%%Page: 33 33 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(the command e)108 +84 Q(xits with a non-zero status.)-.15 E .149 +(If no command name results, redirections are performed, b)108 100.8 R .149(ut do not af)-.2 F .15(fect the current shell en)-.25 F 2.65 -(vironment. A)-.4 F(redirection error causes the command to e)108 585.6 +(vironment. A)-.4 F(redirection error causes the command to e)108 112.8 Q(xit with a non-zero status.)-.15 E 1.064 -(If there is a command name left after e)108 602.4 R 1.064(xpansion, e) +(If there is a command name left after e)108 129.6 R 1.064(xpansion, e) -.15 F -.15(xe)-.15 G 1.064(cution proceeds as described belo).15 F 4.864 -.65(w. O)-.25 H 1.064(therwise, the).65 F .068(command e)108 -614.4 R 2.568(xits. If)-.15 F .069(one of the e)2.568 F .069 +141.6 R 2.568(xits. If)-.15 F .069(one of the e)2.568 F .069 (xpansions contained a command substitution, the e)-.15 F .069 -(xit status of the command)-.15 F .467(is the e)108 626.4 R .466 +(xit status of the command)-.15 F .467(is the e)108 153.6 R .466 (xit status of the last command substitution performed.)-.15 F .466 -(If there were no command substitutions, the)5.466 F(command e)108 638.4 -Q(xits with a status of zero.)-.15 E F4(COMMAND EXECUTION)72 655.2 Q F0 -.546(After a command has been split into w)108 667.2 R .547 +(If there were no command substitutions, the)5.466 F(command e)108 165.6 +Q(xits with a status of zero.)-.15 E/F1 10.95/Times-Bold@0 SF +(COMMAND EXECUTION)72 182.4 Q F0 .546 +(After a command has been split into w)108 194.4 R .547 (ords, if it results in a simple command and an optional list of ar)-.1 -F(gu-)-.18 E(ments, the follo)108 679.2 Q(wing actions are tak)-.25 E +F(gu-)-.18 E(ments, the follo)108 206.4 Q(wing actions are tak)-.25 E (en.)-.1 E .379(If the command name contains no slashes, the shell atte\ -mpts to locate it.)108 696 R .379(If there e)5.379 F .379 +mpts to locate it.)108 223.2 R .379(If there e)5.379 F .379 (xists a shell function by)-.15 F .246(that name, that function is in) -108 708 R -.2(vo)-.4 G -.1(ke).2 G 2.746(da).1 G 2.746(sd)-2.746 G .246 -(escribed abo)-2.746 F .546 -.15(ve i)-.15 H(n).15 E F3(FUNCTIONS)2.746 -E F5(.)A F0 .246(If the name does not match a func-)4.746 F -(tion, the shell searches for it in the list of shell b)108 720 Q 2.5 +108 235.2 R -.2(vo)-.4 G -.1(ke).2 G 2.746(da).1 G 2.746(sd)-2.746 G +.246(escribed abo)-2.746 F .546 -.15(ve i)-.15 H(n).15 E/F2 9 +/Times-Bold@0 SF(FUNCTIONS)2.746 E/F3 9/Times-Roman@0 SF(.)A F0 .246 +(If the name does not match a func-)4.746 F +(tion, the shell searches for it in the list of shell b)108 247.2 Q 2.5 (uiltins. If)-.2 F 2.5(am)2.5 G(atch is found, that b)-2.5 E -(uiltin is in)-.2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E(GNU Bash 4.3)72 768 -Q(2014 February 2)141.79 E(31)190.95 E 0 Cg EP -%%Page: 32 32 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .31(If the name is neither a shell function nor a b)108 84 R .309 -(uiltin, and contains no slashes,)-.2 F/F1 10/Times-Bold@0 SF(bash)2.809 -E F0 .309(searches each element of)2.809 F(the)108 96 Q/F2 9 -/Times-Bold@0 SF -.666(PA)3.162 G(TH)-.189 E F0 .662 -(for a directory containing an e)2.912 F -.15(xe)-.15 G .662 -(cutable \214le by that name.).15 F F1(Bash)5.662 E F0 .663 -(uses a hash table to remember)3.162 F 1.915(the full pathnames of e)108 -108 R -.15(xe)-.15 G 1.915(cutable \214les \(see).15 F F1(hash)4.415 E -F0(under)4.415 E F2 1.915(SHELL B)4.415 F(UIL)-.09 E 1.914(TIN COMMANDS) --.828 F F0(belo)4.164 E 4.414(w\). A)-.25 F(full)4.414 E .719 -(search of the directories in)108 120 R F2 -.666(PA)3.219 G(TH)-.189 E -F0 .72(is performed only if the command is not found in the hash table.) -2.969 F .72(If the)5.72 F .956(search is unsuccessful, the shell search\ -es for a de\214ned shell function named)108 132 R F1(command_not_f)3.455 -E(ound_han-)-.25 E(dle)108 144 Q F0 5.277(.I)C 2.777(ft)-5.277 G .277 +(uiltin is in)-.2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E .31 +(If the name is neither a shell function nor a b)108 264 R .309 +(uiltin, and contains no slashes,)-.2 F/F4 10/Times-Bold@0 SF(bash)2.809 +E F0 .309(searches each element of)2.809 F(the)108 276 Q F2 -.666(PA) +3.162 G(TH)-.189 E F0 .662(for a directory containing an e)2.912 F -.15 +(xe)-.15 G .662(cutable \214le by that name.).15 F F4(Bash)5.662 E F0 +.663(uses a hash table to remember)3.162 F 1.915 +(the full pathnames of e)108 288 R -.15(xe)-.15 G 1.915 +(cutable \214les \(see).15 F F4(hash)4.415 E F0(under)4.415 E F2 1.915 +(SHELL B)4.415 F(UIL)-.09 E 1.914(TIN COMMANDS)-.828 F F0(belo)4.164 E +4.414(w\). A)-.25 F(full)4.414 E .719(search of the directories in)108 +300 R F2 -.666(PA)3.219 G(TH)-.189 E F0 .72 +(is performed only if the command is not found in the hash table.)2.969 +F .72(If the)5.72 F .956(search is unsuccessful, the shell searches for\ + a de\214ned shell function named)108 312 R F4(command_not_f)3.455 E +(ound_han-)-.25 E(dle)108 324 Q F0 5.277(.I)C 2.777(ft)-5.277 G .277 (hat function e)-2.777 F .277(xists, it is in)-.15 F -.2(vo)-.4 G -.1 (ke).2 G 2.777(dw).1 G .278 (ith the original command and the original command')-2.777 F 2.778(sa) --.55 G -.18(rg)-2.778 G(uments).18 E .776(as its ar)108 156 R .776 +-.55 G -.18(rg)-2.778 G(uments).18 E .776(as its ar)108 336 R .776 (guments, and the function')-.18 F 3.275(se)-.55 G .775 (xit status becomes the e)-3.425 F .775(xit status of the shell.)-.15 F .775(If that function is not)5.775 F -(de\214ned, the shell prints an error message and returns an e)108 168 Q +(de\214ned, the shell prints an error message and returns an e)108 348 Q (xit status of 127.)-.15 E 1.089(If the search is successful, or if the\ - command name contains one or more slashes, the shell e)108 184.8 R -.15 + command name contains one or more slashes, the shell e)108 364.8 R -.15 (xe)-.15 G 1.09(cutes the).15 F .198(named program in a separate e)108 -196.8 R -.15(xe)-.15 G .198(cution en).15 F 2.698(vironment. Ar)-.4 F +376.8 R -.15(xe)-.15 G .198(cution en).15 F 2.698(vironment. Ar)-.4 F .198(gument 0 is set to the name gi)-.18 F -.15(ve)-.25 G .197 -(n, and the remain-).15 F(ing ar)108 208.8 Q +(n, and the remain-).15 F(ing ar)108 388.8 Q (guments to the command are set to the ar)-.18 E(guments gi)-.18 E -.15 -(ve)-.25 G(n, if an).15 E -.65(y.)-.15 G 1.809(If this e)108 225.6 R +(ve)-.25 G(n, if an).15 E -.65(y.)-.15 G 1.809(If this e)108 405.6 R -.15(xe)-.15 G 1.809(cution f).15 F 1.809 (ails because the \214le is not in e)-.1 F -.15(xe)-.15 G 1.809 (cutable format, and the \214le is not a directory).15 F 4.309(,i)-.65 G -4.309(ti)-4.309 G(s)-4.309 E .678(assumed to be a)108 237.6 R/F3 10 +4.309(ti)-4.309 G(s)-4.309 E .678(assumed to be a)108 417.6 R/F5 10 /Times-Italic@0 SF .678(shell script)3.178 F F0 3.178(,a\214)C .678 (le containing shell commands.)-3.178 F 3.178(As)5.678 G .678 (ubshell is spa)-3.178 F .677(wned to e)-.15 F -.15(xe)-.15 G .677 (cute it.).15 F(This)5.677 E .329 -(subshell reinitializes itself, so that the ef)108 249.6 R .329 +(subshell reinitializes itself, so that the ef)108 429.6 R .329 (fect is as if a ne)-.25 F 2.83(ws)-.25 G .33(hell had been in)-2.83 F -.2(vo)-.4 G -.1(ke).2 G 2.83(dt).1 G 2.83(oh)-2.83 G .33 -(andle the script, with)-2.83 F 1.219(the e)108 261.6 R 1.219 +(andle the script, with)-2.83 F 1.219(the e)108 441.6 R 1.219 (xception that the locations of commands remembered by the parent \(see) --.15 F F1(hash)3.719 E F0(belo)3.719 E 3.719(wu)-.25 G(nder)-3.719 E F2 -(SHELL)3.719 E -.09(BU)108 273.6 S(IL).09 E(TIN COMMANDS)-.828 E/F4 9 -/Times-Roman@0 SF(\))A F0(are retained by the child.)2.25 E .347 -(If the program is a \214le be)108 290.4 R .347(ginning with)-.15 F F1 -(#!)2.847 E F0 2.847(,t)C .348(he remainder of the \214rst line speci\ -\214es an interpreter for the pro-)-2.847 F 3.178(gram. The)108 302.4 R -.678(shell e)3.178 F -.15(xe)-.15 G .678(cutes the speci\214ed interpre\ -ter on operating systems that do not handle this e).15 F -.15(xe)-.15 G -(cutable).15 E 1.192(format themselv)108 314.4 R 3.692(es. The)-.15 F -(ar)3.693 E 1.193 +-.15 F F4(hash)3.719 E F0(belo)3.719 E 3.719(wu)-.25 G(nder)-3.719 E F2 +(SHELL)3.719 E -.09(BU)108 453.6 S(IL).09 E(TIN COMMANDS)-.828 E F3(\))A +F0(are retained by the child.)2.25 E .347(If the program is a \214le be) +108 470.4 R .347(ginning with)-.15 F F4(#!)2.847 E F0 2.847(,t)C .348(h\ +e remainder of the \214rst line speci\214es an interpreter for the pro-) +-2.847 F 3.178(gram. The)108 482.4 R .678(shell e)3.178 F -.15(xe)-.15 G +.678(cutes the speci\214ed interpreter on operating systems that do not\ + handle this e).15 F -.15(xe)-.15 G(cutable).15 E 1.192(format themselv) +108 494.4 R 3.692(es. The)-.15 F(ar)3.693 E 1.193 (guments to the interpreter consist of a single optional ar)-.18 F 1.193 (gument follo)-.18 F 1.193(wing the)-.25 F 1.131 -(interpreter name on the \214rst line of the program, follo)108 326.4 R +(interpreter name on the \214rst line of the program, follo)108 506.4 R 1.13(wed by the name of the program, follo)-.25 F 1.13(wed by the)-.25 F -(command ar)108 338.4 Q(guments, if an)-.18 E -.65(y.)-.15 G/F5 10.95 -/Times-Bold@0 SF(COMMAND EXECUTION ENVIR)72 355.2 Q(ONMENT)-.329 E F0 -(The shell has an)108 367.2 Q F3 -.2(ex)2.5 G(ecution en).2 E(vir)-.4 E -(onment)-.45 E F0 2.5(,w)C(hich consists of the follo)-2.5 E(wing:)-.25 -E 32.5<836f>108 384 S 1.405(pen \214les inherited by the shell at in) --32.5 F -.2(vo)-.4 G 1.406 -(cation, as modi\214ed by redirections supplied to the).2 F F1(exec) -3.906 E F0 -.2(bu)144 396 S(iltin).2 E 32.5<8374>108 412.8 S -(he current w)-32.5 E(orking directory as set by)-.1 E F1(cd)2.5 E F0(,) -A F1(pushd)2.5 E F0 2.5(,o)C(r)-2.5 E F1(popd)2.5 E F0 2.5(,o)C 2.5(ri) --2.5 G(nherited by the shell at in)-2.5 E -.2(vo)-.4 G(cation).2 E 32.5 -<8374>108 429.6 S(he \214le creation mode mask as set by)-32.5 E F1 +(command ar)108 518.4 Q(guments, if an)-.18 E -.65(y.)-.15 G F1 +(COMMAND EXECUTION ENVIR)72 535.2 Q(ONMENT)-.329 E F0(The shell has an) +108 547.2 Q F5 -.2(ex)2.5 G(ecution en).2 E(vir)-.4 E(onment)-.45 E F0 +2.5(,w)C(hich consists of the follo)-2.5 E(wing:)-.25 E<83>108 564 Q +1.405(open \214les inherited by the shell at in)144 564 R -.2(vo)-.4 G +1.406(cation, as modi\214ed by redirections supplied to the).2 F F4 +(exec)3.906 E F0 -.2(bu)144 576 S(iltin).2 E<83>108 592.8 Q +(the current w)144 592.8 Q(orking directory as set by)-.1 E F4(cd)2.5 E +F0(,)A F4(pushd)2.5 E F0 2.5(,o)C(r)-2.5 E F4(popd)2.5 E F0 2.5(,o)C 2.5 +(ri)-2.5 G(nherited by the shell at in)-2.5 E -.2(vo)-.4 G(cation).2 E +<83>108 609.6 Q(the \214le creation mode mask as set by)144 609.6 Q F4 (umask)2.5 E F0(or inherited from the shell')2.5 E 2.5(sp)-.55 G(arent) --2.5 E 32.5<8363>108 446.4 S(urrent traps set by)-32.5 E F1(trap)2.5 E -F0 32.5<8373>108 463.2 S .257(hell parameters that are set by v)-32.5 F -.256(ariable assignment or with)-.25 F F1(set)2.756 E F0 .256 +-2.5 E<83>108 626.4 Q(current traps set by)144 626.4 Q F4(trap)2.5 E F0 +<83>108 643.2 Q .257(shell parameters that are set by v)144 643.2 R .256 +(ariable assignment or with)-.25 F F4(set)2.756 E F0 .256 (or inherited from the shell')2.756 F 2.756(sp)-.55 G(arent)-2.756 E -(in the en)144 475.2 Q(vironment)-.4 E 32.5<8373>108 492 S -(hell functions de\214ned during e)-32.5 E -.15(xe)-.15 G +(in the en)144 655.2 Q(vironment)-.4 E<83>108 672 Q +(shell functions de\214ned during e)144 672 Q -.15(xe)-.15 G (cution or inherited from the shell').15 E 2.5(sp)-.55 G -(arent in the en)-2.5 E(vironment)-.4 E 32.5<836f>108 508.8 S -(ptions enabled at in)-32.5 E -.2(vo)-.4 G(cation \(either by def).2 E -(ault or with command-line ar)-.1 E(guments\) or by)-.18 E F1(set)2.5 E -F0 32.5<836f>108 525.6 S(ptions enabled by)-32.5 E F1(shopt)2.5 E F0 -32.5<8373>108 542.4 S(hell aliases de\214ned with)-32.5 E F1(alias)2.5 E -F0 32.5<8376>108 559.2 S -(arious process IDs, including those of background jobs, the v)-32.75 E +(arent in the en)-2.5 E(vironment)-.4 E<83>108 688.8 Q +(options enabled at in)144 688.8 Q -.2(vo)-.4 G(cation \(either by def) +.2 E(ault or with command-line ar)-.1 E(guments\) or by)-.18 E F4(set) +2.5 E F0<83>108 705.6 Q(options enabled by)144 705.6 Q F4(shopt)2.5 E F0 +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(33)192.055 E 0 Cg EP +%%Page: 34 34 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E<83>108 84 Q +(shell aliases de\214ned with)144 84 Q/F1 10/Times-Bold@0 SF(alias)2.5 E +F0<83>108 100.8 Q -.25(va)144 100.8 S +(rious process IDs, including those of background jobs, the v).25 E (alue of)-.25 E F1($$)2.5 E F0 2.5(,a)C(nd the v)-2.5 E(alue of)-.25 E -F2(PPID)2.5 E F0 .426(When a simple command other than a b)108 576 R -.427(uiltin or shell function is to be e)-.2 F -.15(xe)-.15 G .427 +/F2 9/Times-Bold@0 SF(PPID)2.5 E F0 .426 +(When a simple command other than a b)108 117.6 R .427 +(uiltin or shell function is to be e)-.2 F -.15(xe)-.15 G .427 (cuted, it is in).15 F -.2(vo)-.4 G -.1(ke).2 G 2.927(di).1 G 2.927(nas) --2.927 G(eparate)-2.927 E -.15(exe)108 588 S .134(cution en).15 F .134 +-2.927 G(eparate)-2.927 E -.15(exe)108 129.6 S .134(cution en).15 F .134 (vironment that consists of the follo)-.4 F 2.634(wing. Unless)-.25 F .133(otherwise noted, the v)2.634 F .133(alues are inherited from)-.25 F -(the shell.)108 600 Q 32.5<8374>108 616.8 S 1.055(he shell')-32.5 F +(the shell.)108 141.6 Q<83>108 158.4 Q 1.055(the shell')144 158.4 R 3.555(so)-.55 G 1.055(pen \214les, plus an)-3.555 F 3.556(ym)-.15 G 1.056 (odi\214cations and additions speci\214ed by redirections to the com-) --3.556 F(mand)144 628.8 Q 32.5<8374>108 645.6 S(he current w)-32.5 E -(orking directory)-.1 E 32.5<8374>108 662.4 S -(he \214le creation mode mask)-32.5 E 32.5<8373>108 679.2 S .857(hell v) --32.5 F .857(ariables and functions mark)-.25 F .857(ed for e)-.1 F .857 +-3.556 F(mand)144 170.4 Q<83>108 187.2 Q(the current w)144 187.2 Q +(orking directory)-.1 E<83>108 204 Q(the \214le creation mode mask)144 +204 Q<83>108 220.8 Q .857(shell v)144 220.8 R .857 +(ariables and functions mark)-.25 F .857(ed for e)-.1 F .857 (xport, along with v)-.15 F .857(ariables e)-.25 F .857 -(xported for the command,)-.15 F(passed in the en)144 691.2 Q(vironment) --.4 E 32.5<8374>108 708 S .306 -(raps caught by the shell are reset to the v)-32.5 F .307 -(alues inherited from the shell')-.25 F 2.807(sp)-.55 G .307 -(arent, and traps ignored)-2.807 F(by the shell are ignored)144 720 Q -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(32)190.95 E 0 Cg EP -%%Page: 33 33 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E 2.5(Ac)108 84 S(ommand in)-2.5 E -.2(vo)-.4 G -.1(ke).2 G 2.5(di) -.1 G 2.5(nt)-2.5 G(his separate en)-2.5 E(vironment cannot af)-.4 E +(xported for the command,)-.15 F(passed in the en)144 232.8 Q(vironment) +-.4 E<83>108 249.6 Q .306(traps caught by the shell are reset to the v) +144 249.6 R .307(alues inherited from the shell')-.25 F 2.807(sp)-.55 G +.307(arent, and traps ignored)-2.807 F(by the shell are ignored)144 +261.6 Q 2.5(Ac)108 278.4 S(ommand in)-2.5 E -.2(vo)-.4 G -.1(ke).2 G 2.5 +(di).1 G 2.5(nt)-2.5 G(his separate en)-2.5 E(vironment cannot af)-.4 E (fect the shell')-.25 E 2.5(se)-.55 G -.15(xe)-2.65 G(cution en).15 E (vironment.)-.4 E .577(Command substitution, commands grouped with pare\ -ntheses, and asynchronous commands are in)108 100.8 R -.2(vo)-.4 G -.1 -(ke).2 G 3.077(di).1 G(n)-3.077 E 2.744(as)108 112.8 S .244(ubshell en) +ntheses, and asynchronous commands are in)108 295.2 R -.2(vo)-.4 G -.1 +(ke).2 G 3.077(di).1 G(n)-3.077 E 2.744(as)108 307.2 S .244(ubshell en) -2.744 F .244(vironment that is a duplicate of the shell en)-.4 F .245 (vironment, e)-.4 F .245(xcept that traps caught by the shell are)-.15 F -.359(reset to the v)108 124.8 R .358 +.359(reset to the v)108 319.2 R .358 (alues that the shell inherited from its parent at in)-.25 F -.2(vo)-.4 G 2.858(cation. Builtin).2 F .358(commands that are in)2.858 F -.2(vo) --.4 G -.1(ke).2 G(d).1 E .856(as part of a pipeline are also e)108 136.8 +-.4 G -.1(ke).2 G(d).1 E .856(as part of a pipeline are also e)108 331.2 R -.15(xe)-.15 G .856(cuted in a subshell en).15 F 3.357 (vironment. Changes)-.4 F .857(made to the subshell en)3.357 F(viron-) --.4 E(ment cannot af)108 148.8 Q(fect the shell')-.25 E 2.5(se)-.55 G +-.4 E(ment cannot af)108 343.2 Q(fect the shell')-.25 E 2.5(se)-.55 G -.15(xe)-2.65 G(cution en).15 E(vironment.)-.4 E 1.377(Subshells spa)108 -165.6 R 1.377(wned to e)-.15 F -.15(xe)-.15 G 1.377 +360 R 1.377(wned to e)-.15 F -.15(xe)-.15 G 1.377 (cute command substitutions inherit the v).15 F 1.377(alue of the)-.25 F -/F1 10/Times-Bold@0 SF3.876 E F0 1.376(option from the parent) -3.876 F 2.5(shell. When)108 177.6 R(not in)2.5 E/F2 10/Times-Italic@0 SF -(posix)2.5 E F0(mode,)2.5 E F1(bash)2.5 E F0(clears the)2.5 E F1 -2.5 E F0(option in such subshells.)2.5 E .404(If a command is follo)108 -194.4 R .404(wed by a)-.25 F F1(&)2.904 E F0 .405 -(and job control is not acti)2.904 F -.15(ve)-.25 G 2.905(,t).15 G .405 -(he def)-2.905 F .405(ault standard input for the command)-.1 F .198 -(is the empty \214le)108 206.4 R F2(/de)2.698 E(v/null)-.15 E F0 5.198 -(.O)C .198(therwise, the in)-5.198 F -.2(vo)-.4 G -.1(ke).2 G 2.698(dc) -.1 G .197(ommand inherits the \214le descriptors of the calling shell) --2.698 F(as modi\214ed by redirections.)108 218.4 Q/F3 10.95 -/Times-Bold@0 SF(ENVIR)72 235.2 Q(ONMENT)-.329 E F0 2.353 -(When a program is in)108 247.2 R -.2(vo)-.4 G -.1(ke).2 G 4.853(di).1 G -4.853(ti)-4.853 G 4.853(sg)-4.853 G -2.15 -.25(iv e)-4.853 H 4.853(na) -.25 G 4.853(na)-4.853 G 2.353(rray of strings called the)-4.853 F F2(en) -4.853 E(vir)-.4 E(onment)-.45 E F0 7.353(.T).68 G 2.354 -(his is a list of)-7.353 F F2(name)108 259.2 Q F0A F2(value)A F0 -(pairs, of the form)2.5 E F2(name)2.5 E F0(=)A F2(value)A F0(.).18 E -1.486(The shell pro)108 276 R 1.486(vides se)-.15 F -.15(ve)-.25 G 1.486 -(ral w).15 F 1.485(ays to manipulate the en)-.1 F 3.985(vironment. On) --.4 F(in)3.985 E -.2(vo)-.4 G 1.485(cation, the shell scans its o).2 F -(wn)-.25 E(en)108 288 Q .144(vironment and creates a parameter for each\ - name found, automatically marking it for)-.4 F F2 -.2(ex)2.644 G(port) -.2 E F0 .144(to child pro-)3.324 F 2.704(cesses. Ex)108 300 R .203 -(ecuted commands inherit the en)-.15 F 2.703(vironment. The)-.4 F F1 -(export)2.703 E F0(and)2.703 E F1(declar)2.703 E 2.703<65ad>-.18 G(x) --2.703 E F0 .203(commands allo)2.703 F 2.703(wp)-.25 G(aram-)-2.703 E -1.153(eters and functions to be added to and deleted from the en)108 312 -R 3.653(vironment. If)-.4 F 1.153(the v)3.653 F 1.154 -(alue of a parameter in the)-.25 F(en)108 324 Q .64 +F13.876 E F0 1.376(option from the parent)3.876 F 2.5(shell. When) +108 372 R(not in)2.5 E/F3 10/Times-Italic@0 SF(posix)2.5 E F0(mode,)2.5 +E F1(bash)2.5 E F0(clears the)2.5 E F12.5 E F0 +(option in such subshells.)2.5 E .404(If a command is follo)108 388.8 R +.404(wed by a)-.25 F F1(&)2.904 E F0 .405(and job control is not acti) +2.904 F -.15(ve)-.25 G 2.905(,t).15 G .405(he def)-2.905 F .405 +(ault standard input for the command)-.1 F .198(is the empty \214le)108 +400.8 R F3(/de)2.698 E(v/null)-.15 E F0 5.198(.O)C .198 +(therwise, the in)-5.198 F -.2(vo)-.4 G -.1(ke).2 G 2.698(dc).1 G .197 +(ommand inherits the \214le descriptors of the calling shell)-2.698 F +(as modi\214ed by redirections.)108 412.8 Q/F4 10.95/Times-Bold@0 SF +(ENVIR)72 429.6 Q(ONMENT)-.329 E F0 2.353(When a program is in)108 441.6 +R -.2(vo)-.4 G -.1(ke).2 G 4.853(di).1 G 4.853(ti)-4.853 G 4.853(sg) +-4.853 G -2.15 -.25(iv e)-4.853 H 4.853(na).25 G 4.853(na)-4.853 G 2.353 +(rray of strings called the)-4.853 F F3(en)4.853 E(vir)-.4 E(onment)-.45 +E F0 7.353(.T).68 G 2.354(his is a list of)-7.353 F F3(name)108 453.6 Q +F0A F3(value)A F0(pairs, of the form)2.5 E F3(name)2.5 E F0(=)A F3 +(value)A F0(.).18 E 1.486(The shell pro)108 470.4 R 1.486(vides se)-.15 +F -.15(ve)-.25 G 1.486(ral w).15 F 1.485(ays to manipulate the en)-.1 F +3.985(vironment. On)-.4 F(in)3.985 E -.2(vo)-.4 G 1.485 +(cation, the shell scans its o).2 F(wn)-.25 E(en)108 482.4 Q .144(viron\ +ment and creates a parameter for each name found, automatically marking\ + it for)-.4 F F3 -.2(ex)2.644 G(port).2 E F0 .144(to child pro-)3.324 F +2.704(cesses. Ex)108 494.4 R .203(ecuted commands inherit the en)-.15 F +2.703(vironment. The)-.4 F F1(export)2.703 E F0(and)2.703 E F1(declar) +2.703 E 2.703<65ad>-.18 G(x)-2.703 E F0 .203(commands allo)2.703 F 2.703 +(wp)-.25 G(aram-)-2.703 E 1.153 +(eters and functions to be added to and deleted from the en)108 506.4 R +3.653(vironment. If)-.4 F 1.153(the v)3.653 F 1.154 +(alue of a parameter in the)-.25 F(en)108 518.4 Q .64 (vironment is modi\214ed, the ne)-.4 F 3.14(wv)-.25 G .64 (alue becomes part of the en)-3.39 F .64(vironment, replacing the old.) --.4 F .64(The en)5.64 F(viron-)-.4 E .58(ment inherited by an)108 336 R -3.08(ye)-.15 G -.15(xe)-3.23 G .58(cuted command consists of the shell') -.15 F 3.08(si)-.55 G .58(nitial en)-3.08 F .58(vironment, whose v)-.4 F -.58(alues may be)-.25 F .301(modi\214ed in the shell, less an)108 348 R -2.801(yp)-.15 G .301(airs remo)-2.801 F -.15(ve)-.15 G 2.801(db).15 G -2.801(yt)-2.801 G(he)-2.801 E F1(unset)2.801 E F0 .3(command, plus an) -2.8 F 2.8(ya)-.15 G .3(dditions via the)-2.8 F F1(export)2.8 E F0(and) -2.8 E F1(declar)108 360 Q 2.5<65ad>-.18 G(x)-2.5 E F0(commands.)2.5 E -.562(The en)108 376.8 R .562(vironment for an)-.4 F(y)-.15 E F2 .562 -(simple command)3.402 F F0 .563 +-.4 F .64(The en)5.64 F(viron-)-.4 E .58(ment inherited by an)108 530.4 +R 3.08(ye)-.15 G -.15(xe)-3.23 G .58 +(cuted command consists of the shell').15 F 3.08(si)-.55 G .58 +(nitial en)-3.08 F .58(vironment, whose v)-.4 F .58(alues may be)-.25 F +.301(modi\214ed in the shell, less an)108 542.4 R 2.801(yp)-.15 G .301 +(airs remo)-2.801 F -.15(ve)-.15 G 2.801(db).15 G 2.801(yt)-2.801 G(he) +-2.801 E F1(unset)2.801 E F0 .3(command, plus an)2.8 F 2.8(ya)-.15 G .3 +(dditions via the)-2.8 F F1(export)2.8 E F0(and)2.8 E F1(declar)108 +554.4 Q 2.5<65ad>-.18 G(x)-2.5 E F0(commands.)2.5 E .562(The en)108 +571.2 R .562(vironment for an)-.4 F(y)-.15 E F3 .562(simple command) +3.402 F F0 .563 (or function may be augmented temporarily by pre\214xing it with)3.833 F -.203(parameter assignments, as described abo)108 388.8 R .502 -.15(ve i) --.15 H(n).15 E/F4 9/Times-Bold@0 SF -.666(PA)2.702 G(RAMETERS).666 E/F5 -9/Times-Roman@0 SF(.)A F0 .202(These assignment statements af)4.702 F -.202(fect only the)-.25 F(en)108 400.8 Q -(vironment seen by that command.)-.4 E .81(If the)108 417.6 R F1 -3.31 E F0 .81(option is set \(see the)3.31 F F1(set)3.31 E F0 -.2(bu) -3.31 G .81(iltin command belo).2 F .81(w\), then)-.25 F F2(all)3.64 E F0 -.81(parameter assignments are placed in)3.82 F(the en)108 429.6 Q +.203(parameter assignments, as described abo)108 583.2 R .502 -.15(ve i) +-.15 H(n).15 E F2 -.666(PA)2.702 G(RAMETERS).666 E/F5 9/Times-Roman@0 SF +(.)A F0 .202(These assignment statements af)4.702 F .202(fect only the) +-.25 F(en)108 595.2 Q(vironment seen by that command.)-.4 E .81(If the) +108 612 R F13.31 E F0 .81(option is set \(see the)3.31 F F1(set) +3.31 E F0 -.2(bu)3.31 G .81(iltin command belo).2 F .81(w\), then)-.25 F +F3(all)3.64 E F0 .81(parameter assignments are placed in)3.82 F(the en) +108 624 Q (vironment for a command, not just those that precede the command name.) --.4 E(When)108 446.4 Q F1(bash)3.586 E F0(in)3.586 E -.2(vo)-.4 G -.1 +-.4 E(When)108 640.8 Q F1(bash)3.586 E F0(in)3.586 E -.2(vo)-.4 G -.1 (ke).2 G 3.586(sa).1 G 3.586(ne)-3.586 G 1.086(xternal command, the v) -3.736 F(ariable)-.25 E F1(_)3.586 E F0 1.085 (is set to the full \214lename of the command and)3.586 F -(passed to that command in its en)108 458.4 Q(vironment.)-.4 E F3 -(EXIT ST)72 475.2 Q -1.04(AT)-.986 G(US)1.04 E F0 .15(The e)108 487.2 R +(passed to that command in its en)108 652.8 Q(vironment.)-.4 E F4 +(EXIT ST)72 669.6 Q -1.04(AT)-.986 G(US)1.04 E F0 .15(The e)108 681.6 R .15(xit status of an e)-.15 F -.15(xe)-.15 G .15(cuted command is the v) -.15 F .151(alue returned by the)-.25 F F2(waitpid)2.651 E F0 .151 +.15 F .151(alue returned by the)-.25 F F3(waitpid)2.651 E F0 .151 (system call or equi)2.651 F -.25(va)-.25 G .151(lent func-).25 F 2.848 -(tion. Exit)108 499.2 R .348(statuses f)2.848 F .347 +(tion. Exit)108 693.6 R .348(statuses f)2.848 F .347 (all between 0 and 255, though, as e)-.1 F .347(xplained belo)-.15 F 1.647 -.65(w, t)-.25 H .347(he shell may use v).65 F .347(alues abo)-.25 -F .647 -.15(ve 1)-.15 H(25).15 E(specially)108 511.2 Q 5.673(.E)-.65 G -.673(xit statuses from shell b)-5.673 F .673 -(uiltins and compound commands are also limited to this range. Under)-.2 -F(certain circumstances, the shell will use special v)108 523.2 Q -(alues to indicate speci\214c f)-.25 E(ailure modes.)-.1 E -.15(Fo)108 -540 S 3.373(rt).15 G .873(he shell')-3.373 F 3.373(sp)-.55 G .873 +F .647 -.15(ve 1)-.15 H(25).15 E(specially)108 705.6 Q 5.506(.E)-.65 G +.506(xit statuses from shell b)-5.506 F .507 +(uiltins and compound commands are also limited to this range.)-.2 F +(Under)5.507 E(certain circumstances, the shell will use special v)108 +717.6 Q(alues to indicate speci\214c f)-.25 E(ailure modes.)-.1 E +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(34)192.055 E 0 Cg EP +%%Page: 35 35 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E -.15(Fo)108 84 S +3.373(rt).15 G .873(he shell')-3.373 F 3.373(sp)-.55 G .873 (urposes, a command which e)-3.373 F .873(xits with a zero e)-.15 F .873 (xit status has succeeded.)-.15 F .872(An e)5.872 F .872(xit status of) --.15 F .048(zero indicates success.)108 552 R 2.548(An)5.048 G .049 +-.15 F .048(zero indicates success.)108 96 R 2.548(An)5.048 G .049 (on-zero e)-2.548 F .049(xit status indicates f)-.15 F 2.549 (ailure. When)-.1 F 2.549(ac)2.549 G .049(ommand terminates on a f) --2.549 F .049(atal sig-)-.1 F(nal)108 564 Q F2(N)2.5 E F0(,)A F1(bash) -2.5 E F0(uses the v)2.5 E(alue of 128+)-.25 E F2(N)A F0(as the e)2.5 E -(xit status.)-.15 E .405 -(If a command is not found, the child process created to e)108 580.8 R +-2.549 F .049(atal sig-)-.1 F(nal)108 108 Q/F1 10/Times-Italic@0 SF(N) +2.5 E F0(,)A/F2 10/Times-Bold@0 SF(bash)2.5 E F0(uses the v)2.5 E +(alue of 128+)-.25 E F1(N)A F0(as the e)2.5 E(xit status.)-.15 E .405 +(If a command is not found, the child process created to e)108 124.8 R -.15(xe)-.15 G .404(cute it returns a status of 127.).15 F .404 -(If a command is)5.404 F(found b)108 592.8 Q(ut is not e)-.2 E -.15(xe) --.15 G(cutable, the return status is 126.).15 E(If a command f)108 609.6 +(If a command is)5.404 F(found b)108 136.8 Q(ut is not e)-.2 E -.15(xe) +-.15 G(cutable, the return status is 126.).15 E(If a command f)108 153.6 Q(ails because of an error during e)-.1 E (xpansion or redirection, the e)-.15 E(xit status is greater than zero.) --.15 E .08(Shell b)108 626.4 R .08 -(uiltin commands return a status of 0 \()-.2 F F2(true)A F0 2.581(\)i)C -2.581(fs)-2.581 G .081(uccessful, and non-zero \()-2.581 F F2(false)A F0 +-.15 E .08(Shell b)108 170.4 R .08 +(uiltin commands return a status of 0 \()-.2 F F1(true)A F0 2.581(\)i)C +2.581(fs)-2.581 G .081(uccessful, and non-zero \()-2.581 F F1(false)A F0 2.581(\)i)C 2.581(fa)-2.581 G 2.581(ne)-2.581 G .081(rror occurs while) --2.581 F(the)108 638.4 Q 2.5(ye)-.15 G -.15(xe)-2.65 G 2.5(cute. All).15 -F -.2(bu)2.5 G(iltins return an e).2 E -(xit status of 2 to indicate incorrect usage.)-.15 E F1(Bash)108 655.2 Q -F0 .202(itself returns the e)2.702 F .202 -(xit status of the last command e)-.15 F -.15(xe)-.15 G .201 -(cuted, unless a syntax error occurs, in which case).15 F(it e)108 667.2 -Q(xits with a non-zero v)-.15 E 2.5(alue. See)-.25 F(also the)2.5 E F1 -(exit)2.5 E F0 -.2(bu)2.5 G(iltin command belo).2 E -.65(w.)-.25 G F3 -(SIGN)72 684 Q(ALS)-.219 E F0(When)108 696 Q F1(bash)3.182 E F0 .682 -(is interacti)3.182 F -.15(ve)-.25 G 3.182(,i).15 G 3.182(nt)-3.182 G -.682(he absence of an)-3.182 F 3.183(yt)-.15 G .683(raps, it ignores) --3.183 F F4(SIGTERM)3.183 E F0 .683(\(so that)2.933 F F1 .683(kill 0) -3.183 F F0 .683(does not kill an)3.183 F(interacti)108 708 Q .758 -.15 -(ve s)-.25 H .458(hell\), and).15 F F4(SIGINT)2.958 E F0 .458 -(is caught and handled \(so that the)2.708 F F1(wait)2.958 E F0 -.2(bu) -2.958 G .457(iltin is interruptible\).).2 F .457(In all cases,)5.457 F -F1(bash)108 720 Q F0(ignores)2.5 E F4(SIGQ)2.5 E(UIT)-.09 E F5(.)A F0 -(If job control is in ef)4.5 E(fect,)-.25 E F1(bash)2.5 E F0(ignores)2.5 -E F4(SIGTTIN)2.5 E F5(,)A F4(SIGTT)2.25 E(OU)-.162 E F5(,)A F0(and)2.25 -E F4(SIGTSTP)2.5 E F5(.)A F0(GNU Bash 4.3)72 768 Q(2014 February 2) -141.79 E(33)190.95 E 0 Cg EP -%%Page: 34 34 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(Non-b)108 84 Q 1.064(uiltin commands run by)-.2 F/F1 10 -/Times-Bold@0 SF(bash)3.564 E F0(ha)3.564 E 1.365 -.15(ve s)-.2 H 1.065 -(ignal handlers set to the v).15 F 1.065 -(alues inherited by the shell from its)-.25 F 3.248(parent. When)108 96 -R .748(job control is not in ef)3.248 F .747 -(fect, asynchronous commands ignore)-.25 F/F2 9/Times-Bold@0 SF(SIGINT) -3.247 E F0(and)2.997 E F2(SIGQ)3.247 E(UIT)-.09 E F0 .747(in addi-)2.997 -F .652(tion to these inherited handlers.)108 108 R .653 -(Commands run as a result of command substitution ignore the k)5.652 F --.15(ey)-.1 G(board-).15 E(generated job control signals)108 120 Q F2 -(SIGTTIN)2.5 E/F3 9/Times-Roman@0 SF(,)A F2(SIGTT)2.25 E(OU)-.162 E F3 -(,)A F0(and)2.25 E F2(SIGTSTP)2.5 E F3(.)A F0 2.046(The shell e)108 -136.8 R 2.046(xits by def)-.15 F 2.045(ault upon receipt of a)-.1 F F2 -(SIGHUP)4.545 E F3(.)A F0 2.045(Before e)6.545 F 2.045 -(xiting, an interacti)-.15 F 2.345 -.15(ve s)-.25 H 2.045 -(hell resends the).15 F F2(SIGHUP)108 148.8 Q F0 1.004 -(to all jobs, running or stopped.)3.254 F 1.004(Stopped jobs are sent) -6.004 F F2(SIGCONT)3.505 E F0 1.005(to ensure that the)3.255 F 3.505(yr) --.15 G(ecei)-3.505 E 1.305 -.15(ve t)-.25 H(he).15 E F2(SIGHUP)108 160.8 -Q F3(.)A F0 2.53 -.8(To p)5.43 H(re).8 E -.15(ve)-.25 G .93(nt the shel\ -l from sending the signal to a particular job, it should be remo).15 F --.15(ve)-.15 G 3.429(df).15 G .929(rom the)-3.429 F 1.356 -(jobs table with the)108 172.8 R F1(diso)3.856 E(wn)-.1 E F0 -.2(bu) -3.856 G 1.356(iltin \(see).2 F F2 1.356(SHELL B)3.856 F(UIL)-.09 E 1.356 -(TIN COMMANDS)-.828 F F0(belo)3.607 E 1.357(w\) or mark)-.25 F 1.357 -(ed to not recei)-.1 F -.15(ve)-.25 G F2(SIGHUP)108 184.8 Q F0(using) -2.25 E F1(diso)2.5 E(wn \255h)-.1 E F0(.)A .166(If the)108 201.6 R F1 -(huponexit)2.666 E F0 .166(shell option has been set with)2.666 F F1 -(shopt)2.666 E F0(,)A F1(bash)2.666 E F0 .166(sends a)2.666 F F2(SIGHUP) -2.666 E F0 .166(to all jobs when an interacti)2.416 F -.15(ve)-.25 G -(login shell e)108 213.6 Q(xits.)-.15 E(If)108 230.4 Q F1(bash)3.046 E -F0 .546(is w)3.046 F .546(aiting for a command to complete and recei)-.1 -F -.15(ve)-.25 G 3.046(sas).15 G .546 -(ignal for which a trap has been set, the trap)-3.046 F .663 -(will not be e)108 242.4 R -.15(xe)-.15 G .663 -(cuted until the command completes.).15 F(When)5.663 E F1(bash)3.163 E -F0 .662(is w)3.163 F .662(aiting for an asynchronous command)-.1 F .99 -(via the)108 254.4 R F1(wait)3.49 E F0 -.2(bu)3.49 G .99(iltin, the rec\ -eption of a signal for which a trap has been set will cause the).2 F F1 +-2.581 F(the)108 182.4 Q 2.968(ye)-.15 G -.15(xe)-3.118 G 2.968 +(cute. All).15 F -.2(bu)2.968 G .468(iltins return an e).2 F .468 +(xit status of 2 to indicate incorrect usage, generally in)-.15 F -.25 +(va)-.4 G .467(lid options or).25 F(missing ar)108 194.4 Q(guments.)-.18 +E F2(Bash)108 211.2 Q F0 .201(itself returns the e)2.701 F .202 +(xit status of the last command e)-.15 F -.15(xe)-.15 G .202 +(cuted, unless a syntax error occurs, in which case).15 F(it e)108 223.2 +Q(xits with a non-zero v)-.15 E 2.5(alue. See)-.25 F(also the)2.5 E F2 +(exit)2.5 E F0 -.2(bu)2.5 G(iltin command belo).2 E -.65(w.)-.25 G/F3 +10.95/Times-Bold@0 SF(SIGN)72 240 Q(ALS)-.219 E F0(When)108 252 Q F2 +(bash)3.183 E F0 .683(is interacti)3.183 F -.15(ve)-.25 G 3.183(,i).15 G +3.183(nt)-3.183 G .683(he absence of an)-3.183 F 3.183(yt)-.15 G .683 +(raps, it ignores)-3.183 F/F4 9/Times-Bold@0 SF(SIGTERM)3.183 E F0 .682 +(\(so that)2.933 F F2 .682(kill 0)3.182 F F0 .682(does not kill an)3.182 +F(interacti)108 264 Q .757 -.15(ve s)-.25 H .457(hell\), and).15 F F4 +(SIGINT)2.957 E F0 .458(is caught and handled \(so that the)2.707 F F2 +(wait)2.958 E F0 -.2(bu)2.958 G .458(iltin is interruptible\).).2 F .458 +(In all cases,)5.458 F F2(bash)108 276 Q F0(ignores)2.5 E F4(SIGQ)2.5 E +(UIT)-.09 E/F5 9/Times-Roman@0 SF(.)A F0(If job control is in ef)4.5 E +(fect,)-.25 E F2(bash)2.5 E F0(ignores)2.5 E F4(SIGTTIN)2.5 E F5(,)A F4 +(SIGTT)2.25 E(OU)-.162 E F5(,)A F0(and)2.25 E F4(SIGTSTP)2.5 E F5(.)A F0 +(Non-b)108 292.8 Q 1.065(uiltin commands run by)-.2 F F2(bash)3.565 E F0 +(ha)3.565 E 1.365 -.15(ve s)-.2 H 1.065(ignal handlers set to the v).15 +F 1.064(alues inherited by the shell from its)-.25 F 3.247(parent. When) +108 304.8 R .747(job control is not in ef)3.247 F .747 +(fect, asynchronous commands ignore)-.25 F F4(SIGINT)3.248 E F0(and) +2.998 E F4(SIGQ)3.248 E(UIT)-.09 E F0 .748(in addi-)2.998 F .653 +(tion to these inherited handlers.)108 316.8 R .653 +(Commands run as a result of command substitution ignore the k)5.653 F +-.15(ey)-.1 G(board-).15 E(generated job control signals)108 328.8 Q F4 +(SIGTTIN)2.5 E F5(,)A F4(SIGTT)2.25 E(OU)-.162 E F5(,)A F0(and)2.25 E F4 +(SIGTSTP)2.5 E F5(.)A F0 2.045(The shell e)108 345.6 R 2.045 +(xits by def)-.15 F 2.045(ault upon receipt of a)-.1 F F4(SIGHUP)4.545 E +F5(.)A F0 2.045(Before e)6.545 F 2.045(xiting, an interacti)-.15 F 2.346 +-.15(ve s)-.25 H 2.046(hell resends the).15 F F4(SIGHUP)108 357.6 Q F0 +1.005(to all jobs, running or stopped.)3.255 F 1.004 +(Stopped jobs are sent)6.005 F F4(SIGCONT)3.504 E F0 1.004 +(to ensure that the)3.254 F 3.504(yr)-.15 G(ecei)-3.504 E 1.304 -.15 +(ve t)-.25 H(he).15 E F4(SIGHUP)108 369.6 Q F5(.)A F0 2.529 -.8(To p) +5.429 H(re).8 E -.15(ve)-.25 G .93(nt the shell from sending the signal\ + to a particular job, it should be remo).15 F -.15(ve)-.15 G 3.43(df).15 +G .93(rom the)-3.43 F 1.357(jobs table with the)108 381.6 R F2(diso) +3.857 E(wn)-.1 E F0 -.2(bu)3.857 G 1.357(iltin \(see).2 F F4 1.356 +(SHELL B)3.856 F(UIL)-.09 E 1.356(TIN COMMANDS)-.828 F F0(belo)3.606 E +1.356(w\) or mark)-.25 F 1.356(ed to not recei)-.1 F -.15(ve)-.25 G F4 +(SIGHUP)108 393.6 Q F0(using)2.25 E F2(diso)2.5 E(wn \255h)-.1 E F0(.)A +.166(If the)108 410.4 R F2(huponexit)2.666 E F0 .166 +(shell option has been set with)2.666 F F2(shopt)2.666 E F0(,)A F2(bash) +2.666 E F0 .166(sends a)2.666 F F4(SIGHUP)2.666 E F0 .166 +(to all jobs when an interacti)2.416 F -.15(ve)-.25 G(login shell e)108 +422.4 Q(xits.)-.15 E(If)108 439.2 Q F2(bash)3.047 E F0 .547(is w)3.047 F +.546(aiting for a command to complete and recei)-.1 F -.15(ve)-.25 G +3.046(sas).15 G .546(ignal for which a trap has been set, the trap) +-3.046 F .662(will not be e)108 451.2 R -.15(xe)-.15 G .662 +(cuted until the command completes.).15 F(When)5.663 E F2(bash)3.163 E +F0 .663(is w)3.163 F .663(aiting for an asynchronous command)-.1 F .99 +(via the)108 463.2 R F2(wait)3.49 E F0 -.2(bu)3.49 G .99(iltin, the rec\ +eption of a signal for which a trap has been set will cause the).2 F F2 (wait)3.49 E F0 -.2(bu)3.49 G .99(iltin to).2 F -(return immediately with an e)108 266.4 Q +(return immediately with an e)108 475.2 Q (xit status greater than 128, immediately after which the trap is e)-.15 -E -.15(xe)-.15 G(cuted.).15 E/F4 10.95/Times-Bold@0 SF(JOB CONTR)72 -283.2 Q(OL)-.329 E/F5 10/Times-Italic@0 SF -.25(Jo)108 295.2 S 4.568(bc) -.25 G(ontr)-4.568 E(ol)-.45 E F0 2.068(refers to the ability to selecti) -5.078 F -.15(ve)-.25 G 2.067(ly stop \().15 F F5(suspend)A F0 4.567(\)t) -C 2.067(he e)-4.567 F -.15(xe)-.15 G 2.067 -(cution of processes and continue).15 F(\()108 307.2 Q F5 -.37(re)C -(sume).37 E F0 3.201(\)t)C .701(heir e)-3.201 F -.15(xe)-.15 G .702 -(cution at a later point.).15 F 3.202(Au)5.702 G .702 +E -.15(xe)-.15 G(cuted.).15 E F3(JOB CONTR)72 492 Q(OL)-.329 E F1 -.25 +(Jo)108 504 S 4.567(bc).25 G(ontr)-4.567 E(ol)-.45 E F0 2.067 +(refers to the ability to selecti)5.077 F -.15(ve)-.25 G 2.067 +(ly stop \().15 F F1(suspend)A F0 4.567(\)t)C 2.068(he e)-4.567 F -.15 +(xe)-.15 G 2.068(cution of processes and continue).15 F(\()108 516 Q F1 +-.37(re)C(sume).37 E F0 3.202(\)t)C .702(heir e)-3.202 F -.15(xe)-.15 G +.702(cution at a later point.).15 F 3.202(Au)5.702 G .702 (ser typically emplo)-3.202 F .702(ys this f)-.1 F .702 -(acility via an interacti)-.1 F 1.002 -.15(ve i)-.25 H(nterf).15 E(ace) --.1 E(supplied jointly by the operating system k)108 319.2 Q(ernel')-.1 -E 2.5(st)-.55 G(erminal dri)-2.5 E -.15(ve)-.25 G 2.5(ra).15 G(nd)-2.5 E -F1(bash)2.5 E F0(.)A .785(The shell associates a)108 336 R F5(job)5.025 -E F0 .785(with each pipeline.)3.515 F .784(It k)5.785 F .784 -(eeps a table of currently e)-.1 F -.15(xe)-.15 G .784 -(cuting jobs, which may be).15 F .34(listed with the)108 348 R F1(jobs) -2.84 E F0 2.84(command. When)2.84 F F1(bash)2.84 E F0 .341 -(starts a job asynchronously \(in the)2.84 F F5(bac)2.841 E(kgr)-.2 E -(ound)-.45 E F0 .341(\), it prints a line).77 F(that looks lik)108 360 Q -(e:)-.1 E([1] 25647)144 376.8 Q .241(indicating that this job is job nu\ -mber 1 and that the process ID of the last process in the pipeline asso\ -ciated)108 393.6 R .732(with this job is 25647.)108 405.6 R .733 +(acility via an interacti)-.1 F 1.001 -.15(ve i)-.25 H(nterf).15 E(ace) +-.1 E(supplied jointly by the operating system k)108 528 Q(ernel')-.1 E +2.5(st)-.55 G(erminal dri)-2.5 E -.15(ve)-.25 G 2.5(ra).15 G(nd)-2.5 E +F2(bash)2.5 E F0(.)A .784(The shell associates a)108 544.8 R F1(job) +5.024 E F0 .784(with each pipeline.)3.514 F .784(It k)5.784 F .785 +(eeps a table of currently e)-.1 F -.15(xe)-.15 G .785 +(cuting jobs, which may be).15 F .341(listed with the)108 556.8 R F2 +(jobs)2.841 E F0 2.841(command. When)2.841 F F2(bash)2.841 E F0 .341 +(starts a job asynchronously \(in the)2.841 F F1(bac)2.84 E(kgr)-.2 E +(ound)-.45 E F0 .34(\), it prints a line).77 F(that looks lik)108 568.8 +Q(e:)-.1 E([1] 25647)144 585.6 Q .241(indicating that this job is job n\ +umber 1 and that the process ID of the last process in the pipeline ass\ +ociated)108 602.4 R .733(with this job is 25647.)108 614.4 R .732 (All of the processes in a single pipeline are members of the same job) -5.732 F(.)-.4 E F1(Bash)5.733 E F0(uses)3.233 E(the)108 417.6 Q F5(job) -4.24 E F0(abstraction as the basis for job control.)2.73 E 3.063 -.8 -(To f)108 434.4 T 1.463(acilitate the implementation of the user interf) -.7 F 1.462(ace to job control, the operating system maintains the)-.1 F -.87(notion of a)108 446.4 R F5(curr)3.37 E .87(ent terminal pr)-.37 F -.871(ocess gr)-.45 F .871(oup ID)-.45 F F0 5.871(.M)C .871 +5.733 F(.)-.4 E F2(Bash)5.732 E F0(uses)3.232 E(the)108 626.4 Q F1(job) +4.24 E F0(abstraction as the basis for job control.)2.73 E 3.062 -.8 +(To f)108 643.2 T 1.462(acilitate the implementation of the user interf) +.7 F 1.463(ace to job control, the operating system maintains the)-.1 F +.871(notion of a)108 655.2 R F1(curr)3.371 E .871(ent terminal pr)-.37 F +.871(ocess gr)-.45 F .871(oup ID)-.45 F F0 5.871(.M)C .87 (embers of this process group \(processes whose process)-5.871 F .023 (group ID is equal to the current terminal process group ID\) recei)108 -458.4 R .323 -.15(ve k)-.25 H -.15(ey).05 G .023 -(board-generated signals such as).15 F F2(SIG-)2.522 E(INT)108 470.4 Q -F3(.)A F0 1.346(These processes are said to be in the)5.846 F F5(for) -3.847 E -.4(eg)-.37 G -.45(ro).4 G(und).45 E F0(.).77 E F5(Bac)6.927 E -(kgr)-.2 E(ound)-.45 E F0 1.347(processes are those whose process)4.617 -F .146(group ID dif)108 482.4 R .146(fers from the terminal')-.25 F .146 -(s; such processes are immune to k)-.55 F -.15(ey)-.1 G .145 -(board-generated signals.).15 F .145(Only fore-)5.145 F .16 -(ground processes are allo)108 494.4 R .16(wed to read from or)-.25 F +667.2 R .323 -.15(ve k)-.25 H -.15(ey).05 G .023 +(board-generated signals such as).15 F F4(SIG-)2.523 E(INT)108 679.2 Q +F5(.)A F0 1.347(These processes are said to be in the)5.847 F F1(for) +3.846 E -.4(eg)-.37 G -.45(ro).4 G(und).45 E F0(.).77 E F1(Bac)6.926 E +(kgr)-.2 E(ound)-.45 E F0 1.346(processes are those whose process)4.616 +F .145(group ID dif)108 691.2 R .145(fers from the terminal')-.25 F .146 +(s; such processes are immune to k)-.55 F -.15(ey)-.1 G .146 +(board-generated signals.).15 F .146(Only fore-)5.146 F .16 +(ground processes are allo)108 703.2 R .16(wed to read from or)-.25 F 2.66(,i)-.4 G 2.66(ft)-2.66 G .16(he user so speci\214es with)-2.66 F/F6 10/Courier@0 SF .16(stty tostop)2.66 F F0 2.66(,w)C .16(rite to the ter) --2.66 F(-)-.2 E 3.052(minal. Background)108 506.4 R .551 -(processes which attempt to read from \(write to when)3.052 F F6 .551 -(stty tostop)3.051 F F0 .551(is in ef)3.051 F .551(fect\) the)-.25 F -.717(terminal are sent a)108 518.4 R F2 .717(SIGTTIN \(SIGTT)3.217 F -(OU\))-.162 E F0 .718(signal by the k)2.967 F(ernel')-.1 E 3.218(st)-.55 -G .718(erminal dri)-3.218 F -.15(ve)-.25 G 1.518 -.4(r, w).15 H .718 -(hich, unless caught, sus-).4 F(pends the process.)108 530.4 Q 1.088 -(If the operating system on which)108 547.2 R F1(bash)3.588 E F0 1.088 -(is running supports job control,)3.588 F F1(bash)3.587 E F0 1.087 -(contains f)3.587 F 1.087(acilities to use it.)-.1 F -.8(Ty)108 559.2 S -.301(ping the).8 F F5(suspend)3.141 E F0 .301(character \(typically) -3.571 F F1(^Z)2.801 E F0 2.801(,C)C .301 +-2.66 F(-)-.2 E 3.051(minal. Background)108 715.2 R .551 +(processes which attempt to read from \(write to when)3.051 F F6 .551 +(stty tostop)3.051 F F0 .552(is in ef)3.052 F .552(fect\) the)-.25 F +2.098(terminal are sent a)108 727.2 R F4 2.098(SIGTTIN \(SIGTT)4.598 F +(OU\))-.162 E F0 2.098(signal by the k)4.348 F(ernel')-.1 E 4.598(st) +-.55 G 2.098(erminal dri)-4.598 F -.15(ve)-.25 G 2.898 -.4(r, w).15 H +2.098(hich, unless caught,).4 F(GNU Bash 4.4)72 768 Q(2016 August 26) +142.895 E(35)192.055 E 0 Cg EP +%%Page: 36 36 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E +(suspends the process.)108 84 Q 1.087(If the operating system on which) +108 100.8 R/F1 10/Times-Bold@0 SF(bash)3.587 E F0 1.088 +(is running supports job control,)3.588 F F1(bash)3.588 E F0 1.088 +(contains f)3.588 F 1.088(acilities to use it.)-.1 F -.8(Ty)108 112.8 S +.302(ping the).8 F/F2 10/Times-Italic@0 SF(suspend)3.142 E F0 .302 +(character \(typically)3.572 F F1(^Z)2.801 E F0 2.801(,C)C .301 (ontrol-Z\) while a process is running causes that process to be)-2.801 -F 2.143(stopped and returns control to)108 571.2 R F1(bash)4.642 E F0 -7.142(.T)C 2.142(yping the)-7.942 F F5 2.142(delayed suspend)4.992 F F0 -2.142(character \(typically)5.412 F F1(^Y)4.642 E F0 4.642(,C)C -(ontrol-Y\))-4.642 E .021(causes the process to be stopped when it atte\ +F 2.142(stopped and returns control to)108 124.8 R F1(bash)4.642 E F0 +7.142(.T)C 2.142(yping the)-7.942 F F2 2.142(delayed suspend)4.992 F F0 +2.143(character \(typically)5.413 F F1(^Y)4.643 E F0 4.643(,C)C +(ontrol-Y\))-4.643 E .021(causes the process to be stopped when it atte\ mpts to read input from the terminal, and control to be returned)108 -583.2 R(to)108 595.2 Q F1(bash)3.392 E F0 5.892(.T)C .892 +136.8 R(to)108 148.8 Q F1(bash)3.392 E F0 5.892(.T)C .892 (he user may then manipulate the state of this job, using the)-5.892 F -F1(bg)3.392 E F0 .892(command to continue it in the)3.392 F .894 -(background, the)108 607.2 R F1(fg)3.394 E F0 .895 -(command to continue it in the fore)3.394 F .895(ground, or the)-.15 F -F1(kill)3.395 E F0 .895(command to kill it.)3.395 F(A)5.895 E F1(^Z) -3.395 E F0(tak)3.395 E(es)-.1 E(ef)108 619.2 Q .949(fect immediately) --.25 F 3.449(,a)-.65 G .948(nd has the additional side ef)-3.449 F .948 +F1(bg)3.392 E F0 .892(command to continue it in the)3.392 F .895 +(background, the)108 160.8 R F1(fg)3.395 E F0 .895 +(command to continue it in the fore)3.395 F .895(ground, or the)-.15 F +F1(kill)3.395 E F0 .894(command to kill it.)3.395 F(A)5.894 E F1(^Z) +3.394 E F0(tak)3.394 E(es)-.1 E(ef)108 172.8 Q .948(fect immediately) +-.25 F 3.448(,a)-.65 G .948(nd has the additional side ef)-3.448 F .948 (fect of causing pending output and typeahead to be dis-)-.25 F(carded.) -108 631.2 Q .777(There are a number of w)108 648 R .777 +108 184.8 Q .777(There are a number of w)108 201.6 R .777 (ays to refer to a job in the shell.)-.1 F .777(The character)5.777 F F1 -(%)3.277 E F0 .777(introduces a job speci\214cation)3.277 F(\()108 660 Q -F5(jobspec)A F0 3.458(\). Job)B(number)3.458 E F5(n)3.818 E F0 .957 +(%)3.277 E F0 .777(introduces a job speci\214cation)3.277 F(\()108 213.6 +Q F2(jobspec)A F0 3.457(\). Job)B(number)3.457 E F2(n)3.817 E F0 .957 (may be referred to as)3.697 F F1(%n)3.457 E F0 5.957(.A)C .957 (job may also be referred to using a pre\214x of the)-2.5 F .59(name us\ ed to start it, or using a substring that appears in its command line.) -108 672 R -.15(Fo)5.59 G 3.09(re).15 G(xample,)-3.24 E F1(%ce)3.09 E F0 -.59(refers to a)3.09 F(stopped)108 684 Q F1(ce)3.464 E F0(job)3.464 E -5.964(.I)-.4 G 3.463(fap)-5.964 G .963 +108 225.6 R -.15(Fo)5.59 G 3.09(re).15 G(xample,)-3.24 E F1(%ce)3.09 E +F0 .59(refers to a)3.09 F(stopped)108 237.6 Q F1(ce)3.463 E F0(job)3.463 +E 5.963(.I)-.4 G 3.463(fap)-5.963 G .963 (re\214x matches more than one job,)-3.463 F F1(bash)3.463 E F0 .963 (reports an error)3.463 F 5.963(.U)-.55 G(sing)-5.963 E F1(%?ce)3.463 E -F0 3.463(,o)C 3.463(nt)-3.463 G .963(he other)-3.463 F .086 -(hand, refers to an)108 696 R 2.587(yj)-.15 G .087 +F0 3.464(,o)C 3.464(nt)-3.464 G .964(he other)-3.464 F .087 +(hand, refers to an)108 249.6 R 2.587(yj)-.15 G .087 (ob containing the string)-2.587 F F1(ce)2.587 E F0 .087 (in its command line.)2.587 F .087 -(If the substring matches more than one)5.087 F(job,)108 708 Q F1(bash) -2.518 E F0 .018(reports an error)2.518 F 5.018(.T)-.55 G .018 +(If the substring matches more than one)5.087 F(job,)108 261.6 Q F1 +(bash)2.518 E F0 .018(reports an error)2.518 F 5.018(.T)-.55 G .018 (he symbols)-5.018 F F1(%%)2.518 E F0(and)2.518 E F1(%+)2.518 E F0 .018 (refer to the shell')2.518 F 2.518(sn)-.55 G .018(otion of the)-2.518 F -F5(curr)2.518 E .018(ent job)-.37 F F0 2.518(,w).23 G .018(hich is) --2.518 F .494(the last job stopped while it w)108 720 R .495 +F2(curr)2.518 E .018(ent job)-.37 F F0 2.518(,w).23 G .018(hich is) +-2.518 F .495(the last job stopped while it w)108 273.6 R .495 (as in the fore)-.1 F .495(ground or started in the background.)-.15 F -(The)5.495 E F5(pr)4.245 E -.15(ev)-.37 G .495(ious job).15 F F0 .495 -(may be)3.225 F(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(34)190.95 -E 0 Cg EP -%%Page: 35 35 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .788(referenced using)108 84 R/F1 10/Times-Bold@0 SF<25ad>3.288 E -F0 5.788(.I)C 3.288(ft)-5.788 G .787(here is only a single job,)-3.288 F -F1(%+)3.287 E F0(and)3.287 E F1<25ad>3.287 E F0 .787 -(can both be used to refer to that job)3.287 F 5.787(.I)-.4 G(n)-5.787 E -.256(output pertaining to jobs \(e.g., the output of the)108 96 R F1 +(The)5.494 E F2(pr)4.244 E -.15(ev)-.37 G .494(ious job).15 F F0 .494 +(may be)3.224 F .787(referenced using)108 285.6 R F1<25ad>3.287 E F0 +5.787(.I)C 3.287(ft)-5.787 G .787(here is only a single job,)-3.287 F F1 +(%+)3.287 E F0(and)3.287 E F1<25ad>3.287 E F0 .788 +(can both be used to refer to that job)3.287 F 5.788(.I)-.4 G(n)-5.788 E +.257(output pertaining to jobs \(e.g., the output of the)108 297.6 R F1 (jobs)2.756 E F0 .256(command\), the current job is al)2.756 F -.1(wa) --.1 G .257(ys \215agged with a).1 F F1(+)2.757 E F0(,)A .411 -(and the pre)108 108 R .411(vious job with a)-.25 F F12.911 E F0 -5.411(.A)C .411(single % \(with no accompan)-2.5 F .41 +-.1 G .256(ys \215agged with a).1 F F1(+)2.756 E F0(,)A .41(and the pre) +108 309.6 R .41(vious job with a)-.25 F F12.91 E F0 5.41(.A)C .411 +(single % \(with no accompan)-2.5 F .411 (ying job speci\214cation\) also refers to the cur)-.15 F(-)-.2 E -(rent job)108 120 Q(.)-.4 E .443 -(Simply naming a job can be used to bring it into the fore)108 136.8 R -(ground:)-.15 E F1(%1)2.944 E F0 .444(is a synon)2.944 F .444(ym for) --.15 F F1 -.63(``)2.944 G .444(fg %1').63 F(')-.63 E F0 2.944(,b)C -(ringing)-2.944 E 1.473(job 1 from the background into the fore)108 -148.8 R 3.973(ground. Similarly)-.15 F(,)-.65 E F1 -.63(``)3.972 G 1.472 -(%1 &').63 F(')-.63 E F0 1.472(resumes job 1 in the background,)3.972 F -(equi)108 160.8 Q -.25(va)-.25 G(lent to).25 E F1 -.63(``)2.5 G(bg %1') -.63 E(')-.63 E F0(.)A .13(The shell learns immediately whene)108 177.6 R --.15(ve)-.25 G 2.63(raj).15 G .13(ob changes state.)-2.63 F(Normally) -5.131 E(,)-.65 E F1(bash)2.631 E F0 -.1(wa)2.631 G .131 -(its until it is about to print a).1 F .158 -(prompt before reporting changes in a job')108 189.6 R 2.658(ss)-.55 G -.158(tatus so as to not interrupt an)-2.658 F 2.657(yo)-.15 G .157 -(ther output.)-2.657 F .157(If the)5.157 F F12.657 E F0 .157 -(option to)2.657 F(the)108 201.6 Q F1(set)3.951 E F0 -.2(bu)3.951 G -1.451(iltin command is enabled,).2 F F1(bash)3.951 E F0 1.452 -(reports such changes immediately)3.951 F 6.452(.A)-.65 G 1.752 -.15 -(ny t)-6.452 H 1.452(rap on).15 F/F2 9/Times-Bold@0 SF(SIGCHLD)3.952 E -F0(is)3.702 E -.15(exe)108 213.6 S(cuted for each child that e).15 E -(xits.)-.15 E .033(If an attempt to e)108 230.4 R(xit)-.15 E F1(bash) -2.533 E F0 .033(is made while jobs are stopped \(or)2.533 F 2.532(,i)-.4 -G 2.532(ft)-2.532 G(he)-2.532 E F1(checkjobs)2.532 E F0 .032 -(shell option has been enabled)2.532 F 2.019(using the)108 242.4 R F1 -(shopt)4.519 E F0 -.2(bu)4.519 G 2.019 -(iltin, running\), the shell prints a w).2 F 2.02 -(arning message, and, if the)-.1 F F1(checkjobs)4.52 E F0 2.02 -(option is)4.52 F .459(enabled, lists the jobs and their statuses.)108 -254.4 R(The)5.459 E F1(jobs)2.959 E F0 .458 -(command may then be used to inspect their status.)2.958 F .458(If a) -5.458 F .603(second attempt to e)108 266.4 R .604 +(rent job)108 321.6 Q(.)-.4 E .444 +(Simply naming a job can be used to bring it into the fore)108 338.4 R +(ground:)-.15 E F1(%1)2.943 E F0 .443(is a synon)2.943 F .443(ym for) +-.15 F F1 -.63(``)2.943 G .443(fg %1').63 F(')-.63 E F0 2.943(,b)C +(ringing)-2.943 E 1.472(job 1 from the background into the fore)108 +350.4 R 3.972(ground. Similarly)-.15 F(,)-.65 E F1 -.63(``)3.973 G 1.473 +(%1 &').63 F(')-.63 E F0 1.473(resumes job 1 in the background,)3.973 F +(equi)108 362.4 Q -.25(va)-.25 G(lent to).25 E F1 -.63(``)2.5 G(bg %1') +.63 E(')-.63 E F0(.)A .131(The shell learns immediately whene)108 379.2 +R -.15(ve)-.25 G 2.631(raj).15 G .131(ob changes state.)-2.631 F +(Normally)5.131 E(,)-.65 E F1(bash)2.631 E F0 -.1(wa)2.63 G .13 +(its until it is about to print a).1 F .157 +(prompt before reporting changes in a job')108 391.2 R 2.657(ss)-.55 G +.157(tatus so as to not interrupt an)-2.657 F 2.658(yo)-.15 G .158 +(ther output.)-2.658 F .158(If the)5.158 F F12.658 E F0 .158 +(option to)2.658 F(the)108 403.2 Q F1(set)2.648 E F0 -.2(bu)2.648 G .148 +(iltin command is enabled,).2 F F1(bash)2.648 E F0 .148 +(reports such changes immediately)2.648 F 5.147(.A)-.65 G .447 -.15 +(ny t)-5.147 H .147(rap on).15 F/F3 9/Times-Bold@0 SF(SIGCHLD)2.647 E F0 +.147(is e)2.397 F -.15(xe)-.15 G(-).15 E(cuted for each child that e)108 +415.2 Q(xits.)-.15 E .032(If an attempt to e)108 432 R(xit)-.15 E F1 +(bash)2.532 E F0 .032(is made while jobs are stopped \(or)2.532 F 2.533 +(,i)-.4 G 2.533(ft)-2.533 G(he)-2.533 E F1(checkjobs)2.533 E F0 .033 +(shell option has been enabled)2.533 F 2.02(using the)108 444 R F1 +(shopt)4.52 E F0 -.2(bu)4.52 G 2.02 +(iltin, running\), the shell prints a w).2 F 2.019 +(arning message, and, if the)-.1 F F1(checkjobs)4.519 E F0 2.019 +(option is)4.519 F .458(enabled, lists the jobs and their statuses.)108 +456 R(The)5.458 E F1(jobs)2.958 E F0 .459 +(command may then be used to inspect their status.)2.958 F .459(If a) +5.459 F .604(second attempt to e)108 468 R .604 (xit is made without an interv)-.15 F .604 (ening command, the shell does not print another w)-.15 F(arning,)-.1 E -(and an)108 278.4 Q 2.5(ys)-.15 G(topped jobs are terminated.)-2.5 E/F3 -10.95/Times-Bold@0 SF(PR)72 295.2 Q(OMPTING)-.329 E F0 .645(When e)108 -307.2 R -.15(xe)-.15 G .645(cuting interacti).15 F -.15(ve)-.25 G(ly).15 -E(,)-.65 E F1(bash)3.145 E F0 .645(displays the primary prompt)3.145 F -F2(PS1)3.145 E F0 .645(when it is ready to read a command,)2.895 F 1.825 -(and the secondary prompt)108 319.2 R F2(PS2)4.325 E F0 1.825 -(when it needs more input to complete a command.)4.075 F F1(Bash)6.826 E -F0(allo)4.326 E 1.826(ws these)-.25 F 1.499(prompt strings to be custom\ -ized by inserting a number of backslash-escaped special characters that\ - are)108 331.2 R(decoded as follo)108 343.2 Q(ws:)-.25 E F1(\\a)144 -355.2 Q F0(an ASCII bell character \(07\))28.22 E F1(\\d)144 367.2 Q F0 -(the date in "W)27.66 E(eekday Month Date" format \(e.g., "T)-.8 E -(ue May 26"\))-.45 E F1(\\D{)144 379.2 Q/F4 10/Times-Italic@0 SF(format) -A F1(})A F0(the)180 391.2 Q F4(format)3.926 E F0 1.426(is passed to) -3.926 F F4(strftime)3.926 E F0 1.427 +(and an)108 480 Q 2.5(ys)-.15 G(topped jobs are terminated.)-2.5 E/F4 +10.95/Times-Bold@0 SF(PR)72 496.8 Q(OMPTING)-.329 E F0 .644(When e)108 +508.8 R -.15(xe)-.15 G .644(cuting interacti).15 F -.15(ve)-.25 G(ly).15 +E(,)-.65 E F1(bash)3.144 E F0 .645(displays the primary prompt)3.145 F +F3(PS1)3.145 E F0 .645(when it is ready to read a command,)2.895 F .315 +(and the secondary prompt)108 520.8 R F3(PS2)2.815 E F0 .315 +(when it needs more input to complete a command.)2.565 F F1(Bash)5.314 E +F0(displays)2.814 E F1(PS0)2.814 E F0(after)2.814 E .049 +(it reads a command b)108 532.8 R .049(ut before e)-.2 F -.15(xe)-.15 G +.049(cuting it.).15 F F1(Bash)5.049 E F0(allo)2.549 E .05 +(ws these prompt strings to be customized by inserting)-.25 F 2.5(an)108 +544.8 S(umber of backslash-escaped special characters that are decoded \ +as follo)-2.5 E(ws:)-.25 E F1(\\a)144 556.8 Q F0 +(an ASCII bell character \(07\))180 556.8 Q F1(\\d)144 568.8 Q F0 +(the date in "W)180 568.8 Q(eekday Month Date" format \(e.g., "T)-.8 E +(ue May 26"\))-.45 E F1(\\D{)144 580.8 Q F2(format)A F1(})A F0(the)180 +592.8 Q F2(format)3.927 E F0 1.427(is passed to)3.927 F F2(strftime) +3.927 E F0 1.427 (\(3\) and the result is inserted into the prompt string; an)B(empty)180 -403.2 Q F4(format)2.5 E F0 +604.8 Q F2(format)2.5 E F0 (results in a locale-speci\214c time representation.)2.5 E -(The braces are required)5 E F1(\\e)144 415.2 Q F0 -(an ASCII escape character \(033\))28.78 E F1(\\h)144 427.2 Q F0 -(the hostname up to the \214rst `.)27.66 E(')-.7 E F1(\\H)144 439.2 Q F0 -(the hostname)25.44 E F1(\\j)144 451.2 Q F0 -(the number of jobs currently managed by the shell)29.89 E F1(\\l)144 -463.2 Q F0(the basename of the shell')30.44 E 2.5(st)-.55 G(erminal de) --2.5 E(vice name)-.25 E F1(\\n)144 475.2 Q F0(ne)27.66 E(wline)-.25 E F1 -(\\r)144 487.2 Q F0(carriage return)28.78 E F1(\\s)144 499.2 Q F0 -(the name of the shell, the basename of)29.33 E F1($0)2.5 E F0 -(\(the portion follo)2.5 E(wing the \214nal slash\))-.25 E F1(\\t)144 -511.2 Q F0(the current time in 24-hour HH:MM:SS format)29.89 E F1(\\T) -144 523.2 Q F0(the current time in 12-hour HH:MM:SS format)26.55 E F1 -(\\@)144 535.2 Q F0(the current time in 12-hour am/pm format)23.92 E F1 -(\\A)144 547.2 Q F0(the current time in 24-hour HH:MM format)26 E F1 -(\\u)144 559.2 Q F0(the username of the current user)27.66 E F1(\\v)144 -571.2 Q F0(the v)28.22 E(ersion of)-.15 E F1(bash)2.5 E F0 -(\(e.g., 2.00\))2.5 E F1(\\V)144 583.2 Q F0(the release of)26 E F1(bash) -2.5 E F0 2.5(,v)C(ersion + patch le)-2.65 E -.15(ve)-.25 G 2.5(l\().15 G -(e.g., 2.00.0\))-2.5 E F1(\\w)144 595.2 Q F0 .116(the current w)26 F -.116(orking directory)-.1 F 2.616(,w)-.65 G(ith)-2.616 E F2($HOME)2.616 -E F0(abbre)2.366 E .115(viated with a tilde \(uses the v)-.25 F .115 -(alue of the)-.25 F F2(PR)180 607.2 Q(OMPT_DIR)-.27 E(TRIM)-.36 E F0 --.25(va)2.25 G(riable\)).25 E F1(\\W)144 619.2 Q F0 -(the basename of the current w)23.22 E(orking directory)-.1 E 2.5(,w) --.65 G(ith)-2.5 E F2($HOME)2.5 E F0(abbre)2.25 E(viated with a tilde) --.25 E F1(\\!)144 631.2 Q F0(the history number of this command)29.89 E -F1(\\#)144 643.2 Q F0(the command number of this command)28.22 E F1(\\$) -144 655.2 Q F0(if the ef)28.22 E(fecti)-.25 E .3 -.15(ve U)-.25 H -(ID is 0, a).15 E F1(#)2.5 E F0 2.5(,o)C(therwise a)-2.5 E F1($)2.5 E -(\\)144 667.2 Q F4(nnn)A F0 -(the character corresponding to the octal number)18.22 E F4(nnn)2.5 E F1 -(\\\\)144 679.2 Q F0 2.5(ab)30.44 G(ackslash)-2.5 E F1(\\[)144 691.2 Q -F0(be)29.89 E 1.257(gin a sequence of non-printing characters, which co\ -uld be used to embed a terminal)-.15 F(control sequence into the prompt) -180 703.2 Q F1(\\])144 715.2 Q F0 -(end a sequence of non-printing characters)29.89 E(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(35)190.95 E 0 Cg EP -%%Page: 36 36 +(The braces are required)5 E F1(\\e)144 616.8 Q F0 +(an ASCII escape character \(033\))180 616.8 Q F1(\\h)144 628.8 Q F0 +(the hostname up to the \214rst `.)180 628.8 Q(')-.7 E F1(\\H)144 640.8 +Q F0(the hostname)180 640.8 Q F1(\\j)144 652.8 Q F0 +(the number of jobs currently managed by the shell)180 652.8 Q F1(\\l) +144 664.8 Q F0(the basename of the shell')180 664.8 Q 2.5(st)-.55 G +(erminal de)-2.5 E(vice name)-.25 E F1(\\n)144 676.8 Q F0(ne)180 676.8 Q +(wline)-.25 E F1(\\r)144 688.8 Q F0(carriage return)180 688.8 Q F1(\\s) +144 700.8 Q F0(the name of the shell, the basename of)180 700.8 Q F1($0) +2.5 E F0(\(the portion follo)2.5 E(wing the \214nal slash\))-.25 E F1 +(\\t)144 712.8 Q F0(the current time in 24-hour HH:MM:SS format)180 +712.8 Q(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(36)192.055 E 0 Cg +EP +%%Page: 37 37 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .12(The command number and the history number are usually dif)108 -84 R .119(ferent: the history number of a command is its)-.25 F 1.585(p\ -osition in the history list, which may include commands restored from t\ -he history \214le \(see)108 96 R/F1 9/Times-Bold@0 SF(HIST)4.085 E(OR) --.162 E(Y)-.315 E F0(belo)108 108 Q .541(w\), while the command number \ -is the position in the sequence of commands e)-.25 F -.15(xe)-.15 G .54 -(cuted during the cur).15 F(-)-.2 E .546(rent shell session.)108 120 R +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(\\T)144 84 Q F0(the current time in 12-hour HH:MM:SS format)180 84 Q +F1(\\@)144 96 Q F0(the current time in 12-hour am/pm format)180 96 Q F1 +(\\A)144 108 Q F0(the current time in 24-hour HH:MM format)180 108 Q F1 +(\\u)144 120 Q F0(the username of the current user)180 120 Q F1(\\v)144 +132 Q F0(the v)180 132 Q(ersion of)-.15 E F1(bash)2.5 E F0 +(\(e.g., 2.00\))2.5 E F1(\\V)144 144 Q F0(the release of)180 144 Q F1 +(bash)2.5 E F0 2.5(,v)C(ersion + patch le)-2.65 E -.15(ve)-.25 G 2.5 +(l\().15 G(e.g., 2.00.0\))-2.5 E F1(\\w)144 156 Q F0 .115(the current w) +180 156 R .115(orking directory)-.1 F 2.615(,w)-.65 G(ith)-2.615 E/F2 9 +/Times-Bold@0 SF($HOME)2.615 E F0(abbre)2.365 E .116 +(viated with a tilde \(uses the v)-.25 F .116(alue of the)-.25 F F2(PR) +180 168 Q(OMPT_DIR)-.27 E(TRIM)-.36 E F0 -.25(va)2.25 G(riable\)).25 E +F1(\\W)144 180 Q F0(the basename of the current w)180 180 Q +(orking directory)-.1 E 2.5(,w)-.65 G(ith)-2.5 E F2($HOME)2.5 E F0 +(abbre)2.25 E(viated with a tilde)-.25 E F1(\\!)144 192 Q F0 +(the history number of this command)180 192 Q F1(\\#)144 204 Q F0 +(the command number of this command)180 204 Q F1(\\$)144 216 Q F0 +(if the ef)180 216 Q(fecti)-.25 E .3 -.15(ve U)-.25 H(ID is 0, a).15 E +F1(#)2.5 E F0 2.5(,o)C(therwise a)-2.5 E F1($)2.5 E(\\)144 228 Q/F3 10 +/Times-Italic@0 SF(nnn)A F0 +(the character corresponding to the octal number)180 228 Q F3(nnn)2.5 E +F1(\\\\)144 240 Q F0 2.5(ab)180 240 S(ackslash)-2.5 E F1(\\[)144 252 Q +F0(be)180 252 Q 1.257(gin a sequence of non-printing characters, which \ +could be used to embed a terminal)-.15 F +(control sequence into the prompt)180 264 Q F1(\\])144 276 Q F0 +(end a sequence of non-printing characters)180 276 Q .119 +(The command number and the history number are usually dif)108 292.8 R +.12(ferent: the history number of a command is its)-.25 F 1.585(positio\ +n in the history list, which may include commands restored from the his\ +tory \214le \(see)108 304.8 R F2(HIST)4.084 E(OR)-.162 E(Y)-.315 E F0 +(belo)108 316.8 Q .541(w\), while the command number is the position in\ + the sequence of commands e)-.25 F -.15(xe)-.15 G .541 +(cuted during the cur).15 F(-)-.2 E .546(rent shell session.)108 328.8 R .546(After the string is decoded, it is e)5.546 F .546 (xpanded via parameter e)-.15 F .546(xpansion, command substitu-)-.15 F -.352(tion, arithmetic e)108 132 R .352(xpansion, and quote remo)-.15 F --.25(va)-.15 G .352(l, subject to the v).25 F .352(alue of the)-.25 F/F2 -10/Times-Bold@0 SF(pr)2.852 E(omptv)-.18 E(ars)-.1 E F0 .351 -(shell option \(see the)2.852 F(description of the)108 144 Q F2(shopt) -2.5 E F0(command under)2.5 E F1(SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS) --.828 E F0(belo)2.25 E(w\).)-.25 E/F3 10.95/Times-Bold@0 SF(READLINE)72 -160.8 Q F0 .15 +.351(tion, arithmetic e)108 340.8 R .352(xpansion, and quote remo)-.15 F +-.25(va)-.15 G .352(l, subject to the v).25 F .352(alue of the)-.25 F F1 +(pr)2.852 E(omptv)-.18 E(ars)-.1 E F0 .352(shell option \(see the)2.852 +F(description of the)108 352.8 Q F1(shopt)2.5 E F0(command under)2.5 E +F2(SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).) +-.25 E/F4 10.95/Times-Bold@0 SF(READLINE)72 369.6 Q F0 .151 (This is the library that handles reading input when using an interacti) -108 172.8 R .451 -.15(ve s)-.25 H .151(hell, unless the).15 F F2 -(\255\255noediting)2.651 E F0(option)2.651 E 1.209(is gi)108 184.8 R --.15(ve)-.25 G 3.709(na).15 G 3.709(ts)-3.709 G 1.209(hell in)-3.709 F --.2(vo)-.4 G 3.709(cation. Line).2 F 1.208 -(editing is also used when using the)3.709 F F23.708 E F0 1.208 -(option to the)3.708 F F2 -.18(re)3.708 G(ad).18 E F0 -.2(bu)3.708 G -3.708(iltin. By).2 F(def)108 196.8 Q .851 +108 381.6 R .45 -.15(ve s)-.25 H .15(hell, unless the).15 F F1 +(\255\255noediting)2.65 E F0(option)2.65 E 1.208(is gi)108 393.6 R -.15 +(ve)-.25 G 3.708(na).15 G 3.708(ts)-3.708 G 1.208(hell in)-3.708 F -.2 +(vo)-.4 G 3.708(cation. Line).2 F 1.208 +(editing is also used when using the)3.708 F F13.709 E F0 1.209 +(option to the)3.709 F F1 -.18(re)3.709 G(ad).18 E F0 -.2(bu)3.709 G +3.709(iltin. By).2 F(def)108 405.6 Q .851 (ault, the line editing commands are similar to those of Emacs.)-.1 F -3.351(Av)5.851 G .851(i-style line editing interf)-3.351 F .852 -(ace is also)-.1 F -.2(av)108 208.8 S 3.35(ailable. Line)-.05 F .85 +3.351(Av)5.851 G .851(i-style line editing interf)-3.351 F .851 +(ace is also)-.1 F -.2(av)108 417.6 S 3.35(ailable. Line)-.05 F .85 (editing can be enabled at an)3.35 F 3.35(yt)-.15 G .85(ime using the) --3.35 F F2 .85(\255o emacs)3.35 F F0(or)3.35 E F2 .85(\255o vi)3.35 F F0 -.85(options to the)3.35 F F2(set)3.35 E F0 -.2(bu)3.35 G(iltin).2 E -(\(see)108 220.8 Q F1 .762(SHELL B)3.262 F(UIL)-.09 E .762(TIN COMMANDS) --.828 F F0(belo)3.012 E 3.262(w\). T)-.25 F 3.263(ot)-.8 G .763(urn of) +-3.35 F F1 .85(\255o emacs)3.35 F F0(or)3.35 E F1 .85(\255o vi)3.35 F F0 +.85(options to the)3.35 F F1(set)3.35 E F0 -.2(bu)3.35 G(iltin).2 E +(\(see)108 429.6 Q F2 .763(SHELL B)3.263 F(UIL)-.09 E .763(TIN COMMANDS) +-.828 F F0(belo)3.013 E 3.263(w\). T)-.25 F 3.263(ot)-.8 G .763(urn of) -3.263 F 3.263(fl)-.25 G .763 -(ine editing after the shell is running, use the)-3.263 F F2(+o)3.263 E -(emacs)108 232.8 Q F0(or)2.5 E F2(+o vi)2.5 E F0(options to the)2.5 E F2 -(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F2(Readline Notation)87 249.6 Q +(ine editing after the shell is running, use the)-3.263 F F1(+o)3.262 E +(emacs)108 441.6 Q F0(or)2.5 E F1(+o vi)2.5 E F0(options to the)2.5 E F1 +(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1(Readline Notation)87 458.4 Q F0 .463(In this section, the Emacs-style notation is used to denote k) -108 261.6 R -.15(ey)-.1 G(strok).15 E 2.963(es. Control)-.1 F -.1(ke) -2.963 G .463(ys are denoted by C\255)-.05 F/F4 10/Times-Italic@0 SF -.1 -(ke)C(y)-.2 E F0(,)A 1.152(e.g., C\255n means Control\255N.)108 273.6 R -(Similarly)6.152 E(,)-.65 E F4(meta)4.032 E F0 -.1(ke)3.913 G 1.153 -(ys are denoted by M\255)-.05 F F4 -.1(ke)C(y)-.2 E F0 3.653(,s)C 3.653 -(oM)-3.653 G 1.153(\255x means Meta\255X.)-3.653 F(\(On)6.153 E -.1(ke) -108 285.6 S .831(yboards without a)-.05 F F4(meta)3.711 E F0 -.1(ke) -3.591 G 2.131 -.65(y, M)-.05 H.65 E F4(x)A F0 .831(means ESC)3.331 F -F4(x)3.331 E F0 3.331(,i)C .83(.e., press the Escape k)-3.331 F 1.13 --.15(ey t)-.1 H .83(hen the).15 F F4(x)4.1 E F0 -.1(ke)3.86 G 4.63 -.65 -(y. T)-.05 H .83(his mak).65 F(es)-.1 E .599(ESC the)108 297.6 R F4 .599 -(meta pr)3.099 F(e\214x)-.37 E F0 5.599(.T)C .599 -(he combination M\255C\255)-5.599 F F4(x)A F0 .599 -(means ESC\255Control\255)3.099 F F4(x)A F0 3.099(,o)C 3.099(rp)-3.099 G -.6(ress the Escape k)-3.099 F .9 -.15(ey t)-.1 H .6(hen hold).15 F -(the Control k)108 309.6 Q .3 -.15(ey w)-.1 H(hile pressing the).15 E F4 -(x)3.27 E F0 -.1(ke)3.03 G -.65(y.)-.05 G(\)).65 E .62 -(Readline commands may be gi)108 326.4 R -.15(ve)-.25 G 3.119(nn).15 G -(umeric)-3.119 E F4(ar)3.119 E(guments)-.37 E F0 3.119(,w).27 G .619 -(hich normally act as a repeat count.)-3.119 F(Sometimes,)5.619 E(ho)108 -338.4 Q(we)-.25 E -.15(ve)-.25 G 1.418 -.4(r, i).15 H 3.118(ti).4 G -3.119(st)-3.118 G .619(he sign of the ar)-3.119 F .619 +108 470.4 R -.15(ey)-.1 G(strok).15 E 2.963(es. Control)-.1 F -.1(ke) +2.963 G .463(ys are denoted by C\255)-.05 F F3 -.1(ke)C(y)-.2 E F0(,)A +1.153(e.g., C\255n means Control\255N.)108 482.4 R(Similarly)6.153 E(,) +-.65 E F3(meta)4.033 E F0 -.1(ke)3.913 G 1.153(ys are denoted by M\255) +-.05 F F3 -.1(ke)C(y)-.2 E F0 3.652(,s)C 3.652(oM)-3.652 G 1.152 +(\255x means Meta\255X.)-3.652 F(\(On)6.152 E -.1(ke)108 494.4 S .83 +(yboards without a)-.05 F F3(meta)3.71 E F0 -.1(ke)3.59 G 2.13 -.65 +(y, M)-.05 H.65 E F3(x)A F0 .83(means ESC)3.33 F F3(x)3.33 E F0 3.33 +(,i)C .831(.e., press the Escape k)-3.33 F 1.131 -.15(ey t)-.1 H .831 +(hen the).15 F F3(x)4.101 E F0 -.1(ke)3.861 G 4.631 -.65(y. T)-.05 H +.831(his mak).65 F(es)-.1 E .6(ESC the)108 506.4 R F3 .6(meta pr)3.1 F +(e\214x)-.37 E F0 5.6(.T)C .6(he combination M\255C\255)-5.6 F F3(x)A F0 +.599(means ESC\255Control\255)3.099 F F3(x)A F0 3.099(,o)C 3.099(rp) +-3.099 G .599(ress the Escape k)-3.099 F .899 -.15(ey t)-.1 H .599 +(hen hold).15 F(the Control k)108 518.4 Q .3 -.15(ey w)-.1 H +(hile pressing the).15 E F3(x)3.27 E F0 -.1(ke)3.03 G -.65(y.)-.05 G(\)) +.65 E .619(Readline commands may be gi)108 535.2 R -.15(ve)-.25 G 3.119 +(nn).15 G(umeric)-3.119 E F3(ar)3.119 E(guments)-.37 E F0 3.119(,w).27 G +.619(hich normally act as a repeat count.)-3.119 F(Sometimes,)5.62 E(ho) +108 547.2 Q(we)-.25 E -.15(ve)-.25 G 1.419 -.4(r, i).15 H 3.119(ti).4 G +3.119(st)-3.119 G .619(he sign of the ar)-3.119 F .619 (gument that is signi\214cant.)-.18 F -.15(Pa)5.619 G .619(ssing a ne) .15 F -.05(ga)-.15 G(ti).05 E .919 -.15(ve a)-.25 H -.18(rg).15 G .619 -(ument to a command that).18 F 1.019(acts in the forw)108 350.4 R 1.018 -(ard direction \(e.g.,)-.1 F F2(kill\255line)3.518 E F0 3.518(\)c)C -1.018(auses that command to act in a backw)-3.518 F 1.018 -(ard direction.)-.1 F(Com-)6.018 E(mands whose beha)108 362.4 Q +(ument to a command that).18 F 1.018(acts in the forw)108 559.2 R 1.018 +(ard direction \(e.g.,)-.1 F F1(kill\255line)3.518 E F0 3.518(\)c)C +1.018(auses that command to act in a backw)-3.518 F 1.019 +(ard direction.)-.1 F(Com-)6.019 E(mands whose beha)108 571.2 Q (vior with ar)-.2 E(guments de)-.18 E(viates from this are noted belo) --.25 E -.65(w.)-.25 G .811(When a command is described as)108 379.2 R F4 +-.25 E -.65(w.)-.25 G .812(When a command is described as)108 588 R F3 (killing)3.311 E F0(te)3.311 E .811(xt, the te)-.15 F .811 -(xt deleted is sa)-.15 F -.15(ve)-.2 G 3.311(df).15 G .812 -(or possible future retrie)-3.311 F -.25(va)-.25 G 3.312(l\().25 G F4 -(yank-)-3.312 E(ing)108 391.2 Q F0 2.529(\). The)B .029(killed te)2.529 -F .029(xt is sa)-.15 F -.15(ve)-.2 G 2.529(di).15 G 2.529(na)-2.529 G F4 +(xt deleted is sa)-.15 F -.15(ve)-.2 G 3.311(df).15 G .811 +(or possible future retrie)-3.311 F -.25(va)-.25 G 3.311(l\().25 G F3 +(yank-)-3.311 E(ing)108 600 Q F0 2.529(\). The)B .029(killed te)2.529 F +.029(xt is sa)-.15 F -.15(ve)-.2 G 2.529(di).15 G 2.529(na)-2.529 G F3 .029(kill ring)B F0 5.029(.C)C(onsecuti)-5.029 E .329 -.15(ve k)-.25 H .029(ills cause the te).15 F .029(xt to be accumulated into one unit,) --.15 F .567(which can be yank)108 403.2 R .567(ed all at once.)-.1 F -.567(Commands which do not kill te)5.567 F .567 +-.15 F .567(which can be yank)108 612 R .567(ed all at once.)-.1 F .567 +(Commands which do not kill te)5.567 F .567 (xt separate the chunks of te)-.15 F .567(xt on the kill)-.15 F(ring.) -108 415.2 Q F2(Readline Initialization)87 432 Q F0 .091(Readline is cus\ -tomized by putting commands in an initialization \214le \(the)108 444 R -F4(inputr)2.591 E(c)-.37 E F0 2.591(\214le\). The)2.591 F .091 -(name of this \214le)2.591 F .196(is tak)108 456 R .196(en from the v) --.1 F .196(alue of the)-.25 F F1(INPUTRC)2.696 E F0 -.25(va)2.446 G +108 624 Q F1(Readline Initialization)87 640.8 Q F0 .091(Readline is cus\ +tomized by putting commands in an initialization \214le \(the)108 652.8 +R F3(inputr)2.591 E(c)-.37 E F0 2.591(\214le\). The)2.591 F .092 +(name of this \214le)2.591 F .197(is tak)108 664.8 R .196(en from the v) +-.1 F .196(alue of the)-.25 F F2(INPUTRC)2.696 E F0 -.25(va)2.446 G 2.696(riable. If).25 F .196(that v)2.696 F .196 -(ariable is unset, the def)-.25 F .196(ault is)-.1 F F4(~/.inputr)2.696 -E(c)-.37 E F0 5.196(.W).31 G .197(hen a)-5.196 F 1.034(program which us\ +(ariable is unset, the def)-.25 F .196(ault is)-.1 F F3(~/.inputr)2.696 +E(c)-.37 E F0 5.196(.W).31 G .196(hen a)-5.196 F 1.034(program which us\ es the readline library starts up, the initialization \214le is read, a\ -nd the k)108 468 R 1.334 -.15(ey b)-.1 H 1.034(indings and).15 F -.25 -(va)108 480 S 1.149(riables are set.).25 F 1.149(There are only a fe) -6.149 F 3.649(wb)-.25 G 1.149(asic constructs allo)-3.649 F 1.15 -(wed in the readline initialization \214le.)-.25 F(Blank)6.15 E .737 -(lines are ignored.)108 492 R .737(Lines be)5.737 F .737(ginning with a) --.15 F F2(#)3.237 E F0 .737(are comments.)3.237 F .737(Lines be)5.737 F -.737(ginning with a)-.15 F F2($)3.237 E F0 .736(indicate conditional) -3.236 F 2.5(constructs. Other)108 504 R(lines denote k)2.5 E .3 -.15 -(ey b)-.1 H(indings and v).15 E(ariable settings.)-.25 E .986(The def) -108 520.8 R .986(ault k)-.1 F -.15(ey)-.1 G .987 -(-bindings may be changed with an).15 F F4(inputr)3.497 E(c)-.37 E F0 -3.487(\214le. Other)3.797 F .987(programs that use this library may) -3.487 F(add their o)108 532.8 Q(wn commands and bindings.)-.25 E -.15 -(Fo)108 549.6 S 2.5(re).15 G(xample, placing)-2.65 E -(M\255Control\255u: uni)144 566.4 Q -.15(ve)-.25 G(rsal\255ar).15 E -(gument)-.18 E(or)108 578.4 Q(C\255Meta\255u: uni)144 590.4 Q -.15(ve) --.25 G(rsal\255ar).15 E(gument)-.18 E(into the)108 602.4 Q F4(inputr) -2.51 E(c)-.37 E F0 -.1(wo)2.81 G(uld mak).1 E 2.5(eM)-.1 G(\255C\255u e) --2.5 E -.15(xe)-.15 G(cute the readline command).15 E F4(univer)2.5 E -(sal\255ar)-.1 E(gument)-.37 E F0(.).68 E 1.261(The follo)108 619.2 R -1.261(wing symbolic character names are recognized:)-.25 F F4 -.4(RU) -3.761 G(BOUT).4 E F0(,)1.27 E F4(DEL)3.761 E F0(,).53 E F4(ESC)3.761 E -F0(,).72 E F4(LFD)3.761 E F0(,).28 E F4(NEWLINE)3.76 E F0(,).73 E F4 -(RET)3.76 E F0(,)1.27 E F4(RETURN)108 631.2 Q F0(,)1.1 E F4(SPC)2.5 E F0 -(,).72 E F4(SP)2.5 E -.3(AC)-.9 G(E).3 E F0 2.5(,a).73 G(nd)-2.5 E F4 --.5(TA)2.5 G(B).5 E F0(.).27 E .209 -(In addition to command names, readline allo)108 648 R .209(ws k)-.25 F --.15(ey)-.1 G 2.709(st).15 G 2.709(ob)-2.709 G 2.709(eb)-2.709 G .209 -(ound to a string that is inserted when the k)-2.709 F .509 -.15(ey i) --.1 H(s).15 E(pressed \(a)108 660 Q F4(macr)2.5 E(o)-.45 E F0(\).)A F2 -(Readline K)87 676.8 Q(ey Bindings)-.25 E F0 .366 -(The syntax for controlling k)108 688.8 R .666 -.15(ey b)-.1 H .366 -(indings in the).15 F F4(inputr)2.876 E(c)-.37 E F0 .366 -(\214le is simple.)3.176 F .366(All that is required is the name of the) -5.366 F .382(command or the te)108 700.8 R .383(xt of a macro and a k) --.15 F .683 -.15(ey s)-.1 H .383 -(equence to which it should be bound. The name may be speci-).15 F .853 -(\214ed in one of tw)108 712.8 R 3.353(ow)-.1 G .853 -(ays: as a symbolic k)-3.453 F 1.153 -.15(ey n)-.1 H .853 -(ame, possibly with).15 F F4(Meta\255)3.353 E F0(or)3.353 E F4(Contr) -3.353 E(ol\255)-.45 E F0(pre\214x)3.353 E .853(es, or as a k)-.15 F -.15 -(ey)-.1 G(sequence.)108 724.8 Q(GNU Bash 4.3)72 768 Q(2014 February 2) -141.79 E(36)190.95 E 0 Cg EP -%%Page: 37 37 +nd the k)108 676.8 R 1.335 -.15(ey b)-.1 H 1.035(indings and).15 F -.25 +(va)108 688.8 S 1.15(riables are set.).25 F 1.15(There are only a fe) +6.15 F 3.649(wb)-.25 G 1.149(asic constructs allo)-3.649 F 1.149 +(wed in the readline initialization \214le.)-.25 F(Blank)6.149 E .736 +(lines are ignored.)108 700.8 R .737(Lines be)5.737 F .737 +(ginning with a)-.15 F F1(#)3.237 E F0 .737(are comments.)3.237 F .737 +(Lines be)5.737 F .737(ginning with a)-.15 F F1($)3.237 E F0 .737 +(indicate conditional)3.237 F 2.5(constructs. Other)108 712.8 R +(lines denote k)2.5 E .3 -.15(ey b)-.1 H(indings and v).15 E +(ariable settings.)-.25 E .987(The def)108 729.6 R .987(ault k)-.1 F +-.15(ey)-.1 G .987(-bindings may be changed with an).15 F F3(inputr) +3.497 E(c)-.37 E F0 3.487(\214le. Other)3.797 F .987 +(programs that use this library may)3.487 F(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(37)192.055 E 0 Cg EP +%%Page: 38 38 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E 1.541(When using the form)108 84 R/F1 10/Times-Bold@0 SF -.1(ke) -4.041 G(yname).1 E F0(:)A/F2 10/Times-Italic@0 SF(function\255name).833 -E F0(or)4.041 E F2(macr)4.042 E(o)-.45 E F0(,)A F2 -.1(ke)4.042 G(yname) --.2 E F0 1.542(is the name of a k)4.222 F 1.842 -.15(ey s)-.1 H 1.542 -(pelled out in).15 F 2.5(English. F)108 96 R(or e)-.15 E(xample:)-.15 E -(Control-u: uni)144 120 Q -.15(ve)-.25 G(rsal\255ar).15 E(gument)-.18 E -(Meta-Rubout: backw)144 132 Q(ard-kill-w)-.1 E(ord)-.1 E -(Control-o: "> output")144 144 Q .699(In the abo)108 160.8 R .998 -.15 -(ve ex)-.15 H(ample,).15 E F2(C\255u)3.038 E F0 .698 -(is bound to the function)3.448 F F1(uni)3.198 E -.1(ve)-.1 G -(rsal\255ar).1 E(gument)-.1 E F0(,)A F2(M\255DEL)3.878 E F0 .698 -(is bound to the func-)3.728 F(tion)108 172.8 Q F1 -(backward\255kill\255w)2.758 E(ord)-.1 E F0 2.758(,a)C(nd)-2.758 E F2 -(C\255o)2.598 E F0 .258(is bound to run the macro e)2.938 F .259 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(add their o)108 84 +Q(wn commands and bindings.)-.25 E -.15(Fo)108 100.8 S 2.5(re).15 G +(xample, placing)-2.65 E(M\255Control\255u: uni)144 117.6 Q -.15(ve)-.25 +G(rsal\255ar).15 E(gument)-.18 E(or)108 129.6 Q(C\255Meta\255u: uni)144 +141.6 Q -.15(ve)-.25 G(rsal\255ar).15 E(gument)-.18 E(into the)108 153.6 +Q/F1 10/Times-Italic@0 SF(inputr)2.51 E(c)-.37 E F0 -.1(wo)2.81 G +(uld mak).1 E 2.5(eM)-.1 G(\255C\255u e)-2.5 E -.15(xe)-.15 G +(cute the readline command).15 E F1(univer)2.5 E(sal\255ar)-.1 E(gument) +-.37 E F0(.).68 E 1.26(The follo)108 170.4 R 1.261 +(wing symbolic character names are recognized:)-.25 F F1 -.4(RU)3.761 G +(BOUT).4 E F0(,)1.27 E F1(DEL)3.761 E F0(,).53 E F1(ESC)3.761 E F0(,).72 +E F1(LFD)3.761 E F0(,).28 E F1(NEWLINE)3.761 E F0(,).73 E F1(RET)3.761 E +F0(,)1.27 E F1(RETURN)108 182.4 Q F0(,)1.1 E F1(SPC)2.5 E F0(,).72 E F1 +(SP)2.5 E -.3(AC)-.9 G(E).3 E F0 2.5(,a).73 G(nd)-2.5 E F1 -.5(TA)2.5 G +(B).5 E F0(.).27 E .209(In addition to command names, readline allo)108 +199.2 R .209(ws k)-.25 F -.15(ey)-.1 G 2.709(st).15 G 2.709(ob)-2.709 G +2.709(eb)-2.709 G .209(ound to a string that is inserted when the k) +-2.709 F .509 -.15(ey i)-.1 H(s).15 E(pressed \(a)108 211.2 Q F1(macr) +2.5 E(o)-.45 E F0(\).)A/F2 10/Times-Bold@0 SF(Readline K)87 228 Q +(ey Bindings)-.25 E F0 .366(The syntax for controlling k)108 240 R .666 +-.15(ey b)-.1 H .366(indings in the).15 F F1(inputr)2.876 E(c)-.37 E F0 +.366(\214le is simple.)3.176 F .366 +(All that is required is the name of the)5.366 F .264(command or the te) +108 252 R .264(xt of a macro and a k)-.15 F .564 -.15(ey s)-.1 H .264 +(equence to which it should be bound.).15 F .263(The name may be speci-) +5.264 F .853(\214ed in one of tw)108 264 R 3.353(ow)-.1 G .853 +(ays: as a symbolic k)-3.453 F 1.153 -.15(ey n)-.1 H .853 +(ame, possibly with).15 F F1(Meta\255)3.353 E F0(or)3.353 E F1(Contr) +3.353 E(ol\255)-.45 E F0(pre\214x)3.353 E .853(es, or as a k)-.15 F -.15 +(ey)-.1 G(sequence.)108 276 Q .161(When using the form)108 292.8 R F2 +-.1(ke)2.661 G(yname).1 E F0(:)A F1(function\255name).833 E F0(or)2.661 +E F1(macr)2.661 E(o)-.45 E F0(,)A F1 -.1(ke)2.661 G(yname)-.2 E F0 .16 +(is the name of a k)2.84 F .46 -.15(ey s)-.1 H .16(pelled out in Eng-) +.15 F 2.5(lish. F)108 304.8 R(or e)-.15 E(xample:)-.15 E(Control-u: uni) +144 328.8 Q -.15(ve)-.25 G(rsal\255ar).15 E(gument)-.18 E +(Meta-Rubout: backw)144 340.8 Q(ard-kill-w)-.1 E(ord)-.1 E +(Control-o: "> output")144 352.8 Q .698(In the abo)108 369.6 R .998 -.15 +(ve ex)-.15 H(ample,).15 E F1(C\255u)3.038 E F0 .698 +(is bound to the function)3.448 F F2(uni)3.198 E -.1(ve)-.1 G +(rsal\255ar).1 E(gument)-.1 E F0(,)A F1(M\255DEL)3.878 E F0 .698 +(is bound to the func-)3.728 F(tion)108 381.6 Q F2 +(backward\255kill\255w)2.759 E(ord)-.1 E F0 2.759(,a)C(nd)-2.759 E F1 +(C\255o)2.599 E F0 .258(is bound to run the macro e)2.939 F .258 (xpressed on the right hand side \(that is, to)-.15 F(insert the te)108 -184.8 Q(xt)-.15 E/F3 10/Courier@0 SF 6(>o)2.5 G(utput)-6 E F0 -(into the line\).)2.5 E .056(In the second form,)108 201.6 R F1("k)2.556 -E(eyseq")-.1 E F0(:)A F2(function\255name).833 E F0(or)2.556 E F2(macr) -2.556 E(o)-.45 E F0(,)A F1 -.1(ke)2.556 G(yseq).1 E F0(dif)2.555 E .055 -(fers from)-.25 F F1 -.1(ke)2.555 G(yname).1 E F0(abo)2.555 E .355 -.15 -(ve i)-.15 H 2.555(nt).15 G .055(hat strings)-2.555 F 1.284 -(denoting an entire k)108 213.6 R 1.584 -.15(ey s)-.1 H 1.284(equence m\ +393.6 Q(xt)-.15 E/F3 10/Courier@0 SF 6(>o)2.5 G(utput)-6 E F0 +(into the line\).)2.5 E .055(In the second form,)108 410.4 R F2("k)2.555 +E(eyseq")-.1 E F0(:)A F1(function\255name).833 E F0(or)2.555 E F1(macr) +2.555 E(o)-.45 E F0(,)A F2 -.1(ke)2.555 G(yseq).1 E F0(dif)2.556 E .056 +(fers from)-.25 F F2 -.1(ke)2.556 G(yname).1 E F0(abo)2.556 E .356 -.15 +(ve i)-.15 H 2.556(nt).15 G .056(hat strings)-2.556 F 1.284 +(denoting an entire k)108 422.4 R 1.584 -.15(ey s)-.1 H 1.284(equence m\ ay be speci\214ed by placing the sequence within double quotes.).15 F -(Some)6.284 E .386(GNU Emacs style k)108 225.6 R .686 -.15(ey e)-.1 H -.385(scapes can be used, as in the follo).15 F .385(wing e)-.25 F .385 -(xample, b)-.15 F .385(ut the symbolic character names)-.2 F -(are not recognized.)108 237.6 Q("\\C\255u": uni)144 261.6 Q -.15(ve) +(Some)6.284 E .385(GNU Emacs style k)108 434.4 R .685 -.15(ey e)-.1 H +.385(scapes can be used, as in the follo).15 F .385(wing e)-.25 F .386 +(xample, b)-.15 F .386(ut the symbolic character names)-.2 F +(are not recognized.)108 446.4 Q("\\C\255u": uni)144 470.4 Q -.15(ve) -.25 G(rsal\255ar).15 E(gument)-.18 E -("\\C\255x\\C\255r": re\255read\255init\255\214le)144 273.6 Q -("\\e[11~": "Function K)144 285.6 Q .3 -.15(ey 1)-.25 H(").15 E .314 -(In this e)108 302.4 R(xample,)-.15 E F2(C\255u)2.654 E F0 .314(is ag) -3.064 F .315(ain bound to the function)-.05 F F1(uni)2.815 E -.1(ve)-.1 -G(rsal\255ar).1 E(gument)-.1 E F0(.)A F2 .315(C\255x C\255r)5.155 F F0 -.315(is bound to the func-)3.545 F(tion)108 314.4 Q F1 -.18(re)2.5 G -.18 E(ead\255init\255\214le)-.18 E F0 2.5(,a)C(nd)-2.5 E F2 +("\\C\255x\\C\255r": re\255read\255init\255\214le)144 482.4 Q +("\\e[11~": "Function K)144 494.4 Q .3 -.15(ey 1)-.25 H(").15 E .315 +(In this e)108 511.2 R(xample,)-.15 E F1(C\255u)2.655 E F0 .315(is ag) +3.065 F .315(ain bound to the function)-.05 F F2(uni)2.815 E -.1(ve)-.1 +G(rsal\255ar).1 E(gument)-.1 E F0(.)A F1 .315(C\255x C\255r)5.155 F F0 +.314(is bound to the func-)3.544 F(tion)108 523.2 Q F2 -.18(re)2.5 G +.18 E(ead\255init\255\214le)-.18 E F0 2.5(,a)C(nd)-2.5 E F1 (ESC [ 1 1 ~)3.01 E F0(is bound to insert the te)3.94 E(xt)-.15 E F3 (Function Key 1)2.5 E F0(.)A -(The full set of GNU Emacs style escape sequences is)108 331.2 Q F1 -<5c43ad>144 343.2 Q F0(control pre\214x)20.3 E F1<5c4dad>144 355.2 Q F0 -(meta pre\214x)18.08 E F1(\\e)144 367.2 Q F0(an escape character)28.78 E -F1(\\\\)144 379.2 Q F0(backslash)30.44 E F1(\\")144 391.2 Q F0 -(literal ")27.67 E F1<5c08>144 403.2 Q F0(literal \010)30.44 E(In addit\ -ion to the GNU Emacs style escape sequences, a second set of backslash \ -escapes is a)108 420 Q -.25(va)-.2 G(ilable:).25 E F1(\\a)144 432 Q F0 -(alert \(bell\))28.22 E F1(\\b)144 444 Q F0(backspace)27.66 E F1(\\d)144 -456 Q F0(delete)27.66 E F1(\\f)144 468 Q F0(form feed)29.89 E F1(\\n)144 -480 Q F0(ne)27.66 E(wline)-.25 E F1(\\r)144 492 Q F0(carriage return) -28.78 E F1(\\t)144 504 Q F0(horizontal tab)29.89 E F1(\\v)144 516 Q F0 --.15(ve)28.22 G(rtical tab).15 E F1(\\)144 528 Q F2(nnn)A F0 -(the eight-bit character whose v)18.22 E(alue is the octal v)-.25 E -(alue)-.25 E F2(nnn)2.5 E F0(\(one to three digits\))2.5 E F1(\\x)144 -540 Q F2(HH)A F0(the eight-bit character whose v)13.78 E(alue is the he) --.25 E(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0(\(one or tw)2.5 E -2.5(oh)-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E 1.142 -(When entering the te)108 556.8 R 1.141(xt of a macro, single or double\ - quotes must be used to indicate a macro de\214nition.)-.15 F .089 -(Unquoted te)108 568.8 R .089(xt is assumed to be a function name.)-.15 -F .09(In the macro body)5.089 F 2.59(,t)-.65 G .09 -(he backslash escapes described abo)-2.59 F -.15(ve)-.15 G(are e)108 -580.8 Q 2.5(xpanded. Backslash)-.15 F(will quote an)2.5 E 2.5(yo)-.15 G -(ther character in the macro te)-2.5 E(xt, including " and \010.)-.15 E -F1(Bash)108 597.6 Q F0(allo)2.93 E .43(ws the current readline k)-.25 F -.73 -.15(ey b)-.1 H .429(indings to be displayed or modi\214ed with the) -.15 F F1(bind)2.929 E F0 -.2(bu)2.929 G .429(iltin command.).2 F .045 -(The editing mode may be switched during interacti)108 609.6 R .345 -.15 -(ve u)-.25 H .046(se by using the).15 F F12.546 E F0 .046 -(option to the)2.546 F F1(set)2.546 E F0 -.2(bu)2.546 G .046 -(iltin command).2 F(\(see)108 621.6 Q/F4 9/Times-Bold@0 SF(SHELL B)2.5 E +(The full set of GNU Emacs style escape sequences is)108 540 Q F2 +<5c43ad>144 552 Q F0(control pre\214x)180 552 Q F2<5c4dad>144 564 Q F0 +(meta pre\214x)180 564 Q F2(\\e)144 576 Q F0(an escape character)180 576 +Q F2(\\\\)144 588 Q F0(backslash)180 588 Q F2(\\")144 600 Q F0 +(literal ")180 600 Q F2<5c08>144 612 Q F0(literal \010)180 612 Q(In add\ +ition to the GNU Emacs style escape sequences, a second set of backslas\ +h escapes is a)108 628.8 Q -.25(va)-.2 G(ilable:).25 E F2(\\a)144 640.8 +Q F0(alert \(bell\))180 640.8 Q F2(\\b)144 652.8 Q F0(backspace)180 +652.8 Q F2(\\d)144 664.8 Q F0(delete)180 664.8 Q F2(\\f)144 676.8 Q F0 +(form feed)180 676.8 Q F2(\\n)144 688.8 Q F0(ne)180 688.8 Q(wline)-.25 E +F2(\\r)144 700.8 Q F0(carriage return)180 700.8 Q F2(\\t)144 712.8 Q F0 +(horizontal tab)180 712.8 Q(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 +E(38)192.055 E 0 Cg EP +%%Page: 39 39 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(\\v)144 84 Q F0 -.15(ve)180 84 S(rtical tab).15 E F1(\\)144 96 Q/F2 +10/Times-Italic@0 SF(nnn)A F0(the eight-bit character whose v)180 96 Q +(alue is the octal v)-.25 E(alue)-.25 E F2(nnn)2.5 E F0 +(\(one to three digits\))2.5 E F1(\\x)144 108 Q F2(HH)A F0 +(the eight-bit character whose v)180 108 Q(alue is the he)-.25 E +(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0(\(one or tw)2.5 E 2.5(oh) +-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E 1.141(When entering the te)108 +124.8 R 1.141(xt of a macro, single or double quotes must be used to in\ +dicate a macro de\214nition.)-.15 F .09(Unquoted te)108 136.8 R .09 +(xt is assumed to be a function name.)-.15 F .089(In the macro body) +5.089 F 2.589(,t)-.65 G .089(he backslash escapes described abo)-2.589 F +-.15(ve)-.15 G(are e)108 148.8 Q 2.5(xpanded. Backslash)-.15 F +(will quote an)2.5 E 2.5(yo)-.15 G(ther character in the macro te)-2.5 E +(xt, including " and \010.)-.15 E F1(Bash)108 165.6 Q F0(allo)2.929 E +.429(ws the current readline k)-.25 F .729 -.15(ey b)-.1 H .429 +(indings to be displayed or modi\214ed with the).15 F F1(bind)2.93 E F0 +-.2(bu)2.93 G .43(iltin command.).2 F .046 +(The editing mode may be switched during interacti)108 177.6 R .346 -.15 +(ve u)-.25 H .046(se by using the).15 F F12.545 E F0 .045 +(option to the)2.545 F F1(set)2.545 E F0 -.2(bu)2.545 G .045 +(iltin command).2 F(\(see)108 189.6 Q/F3 9/Times-Bold@0 SF(SHELL B)2.5 E (UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F1 -(Readline V)87 638.4 Q(ariables)-.92 E F0 .044(Readline has v)108 650.4 +(Readline V)87 206.4 Q(ariables)-.92 E F0 .043(Readline has v)108 218.4 R .043(ariables that can be used to further customize its beha)-.25 F (vior)-.2 E 5.043(.A)-.55 G -.25(va)-2.5 G .043 -(riable may be set in the).25 F F2(inpu-)2.553 E(tr)108 662.4 Q(c)-.37 E -F0(\214le with a statement of the form)2.81 E F1(set)144 679.2 Q F2 +(riable may be set in the).25 F F2(inpu-)2.554 E(tr)108 230.4 Q(c)-.37 E +F0(\214le with a statement of the form)2.81 E F1(set)144 247.2 Q F2 (variable\255name value)2.5 E F0 .79(Except where noted, readline v)108 -696 R .79(ariables can tak)-.25 F 3.29(et)-.1 G .79(he v)-3.29 F(alues) +264 R .79(ariables can tak)-.25 F 3.29(et)-.1 G .79(he v)-3.29 F(alues) -.25 E F1(On)3.29 E F0(or)3.29 E F1(Off)3.29 E F0 .79(\(without re)3.29 -F -.05(ga)-.15 G .79(rd to case\).).05 F(Unrecog-)5.79 E .449(nized v) -108 708 R .448(ariable names are ignored.)-.25 F .448(When a v)5.448 F -.448(ariable v)-.25 F .448(alue is read, empty or null v)-.25 F .448 -(alues, "on" \(case-insensi-)-.25 F(ti)108 720 Q -.15(ve)-.25 G .467 +F -.05(ga)-.15 G .79(rd to case\).).05 F(Unrecog-)5.79 E .448(nized v) +108 276 R .448(ariable names are ignored.)-.25 F .448(When a v)5.448 F +.448(ariable v)-.25 F .448(alue is read, empty or null v)-.25 F .449 +(alues, "on" \(case-insensi-)-.25 F(ti)108 288 Q -.15(ve)-.25 G .468 (\), and "1" are equi).15 F -.25(va)-.25 G .468(lent to).25 F F1(On) 2.968 E F0 5.468(.A)C .468(ll other v)-5.468 F .468(alues are equi)-.25 -F -.25(va)-.25 G .468(lent to).25 F F1(Off)2.968 E F0 5.468(.T)C .468 -(he v)-5.468 F .468(ariables and their def)-.25 F(ault)-.1 E -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(37)190.95 E 0 Cg EP -%%Page: 38 38 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E -.25(va)108 84 S(lues are:).25 E/F1 10/Times-Bold@0 SF -(bell\255style \(audible\))108 100.8 Q F0 .011 -(Controls what happens when readline w)144 112.8 R .011 -(ants to ring the terminal bell.)-.1 F .01(If set to)5.01 F F1(none)2.51 -E F0 2.51(,r)C .01(eadline ne)-2.51 F -.15(ve)-.25 G(r).15 E .94 -(rings the bell.)144 124.8 R .94(If set to)5.94 F F1(visible)3.44 E F0 -3.44(,r)C .94(eadline uses a visible bell if one is a)-3.44 F -.25(va) --.2 G 3.44(ilable. If).25 F .94(set to)3.44 F F1(audible)3.44 E F0(,)A -(readline attempts to ring the terminal')144 136.8 Q 2.5(sb)-.55 G(ell.) --2.5 E F1(bind\255tty\255special\255chars \(On\))108 148.8 Q F0 .056 -(If set to)144 160.8 R F1(On)2.556 E F0 2.556(,r)C .056(eadline attempt\ -s to bind the control characters treated specially by the k)-2.556 F -(ernel')-.1 E 2.555(st)-.55 G(ermi-)-2.555 E(nal dri)144 172.8 Q -.15 +F -.25(va)-.25 G .468(lent to).25 F F1(Off)2.968 E F0 5.468(.T)C .467 +(he v)-5.468 F .467(ariables and their def)-.25 F(ault)-.1 E -.25(va)108 +300 S(lues are:).25 E F1(bell\255style \(audible\))108 316.8 Q F0 .01 +(Controls what happens when readline w)144 328.8 R .011 +(ants to ring the terminal bell.)-.1 F .011(If set to)5.011 F F1(none) +2.511 E F0 2.511(,r)C .011(eadline ne)-2.511 F -.15(ve)-.25 G(r).15 E +.94(rings the bell.)144 340.8 R .94(If set to)5.94 F F1(visible)3.44 E +F0 3.44(,r)C .94(eadline uses a visible bell if one is a)-3.44 F -.25 +(va)-.2 G 3.44(ilable. If).25 F .94(set to)3.44 F F1(audible)3.44 E F0 +(,)A(readline attempts to ring the terminal')144 352.8 Q 2.5(sb)-.55 G +(ell.)-2.5 E F1(bind\255tty\255special\255chars \(On\))108 364.8 Q F0 +.055(If set to)144 376.8 R F1(On)2.555 E F0 2.555(,r)C .056(eadline att\ +empts to bind the control characters treated specially by the k)-2.555 F +(ernel')-.1 E 2.556(st)-.55 G(ermi-)-2.556 E(nal dri)144 388.8 Q -.15 (ve)-.25 G 2.5(rt).15 G 2.5(ot)-2.5 G(heir readline equi)-2.5 E -.25(va) --.25 G(lents.).25 E F1(color)108 184.8 Q(ed\255stats \(Off\))-.18 E F0 -1.579(If set to)144 196.8 R F1(On)4.079 E F0 4.079(,r)C 1.579 -(eadline displays possible completions using dif)-4.079 F 1.58 -(ferent colors to indicate their \214le)-.25 F 2.5(type. The)144 208.8 R -(color de\214nitions are tak)2.5 E(en from the v)-.1 E(alue of the)-.25 -E F1(LS_COLORS)2.5 E F0(en)2.5 E(vironment v)-.4 E(ariable.)-.25 E F1 -(comment\255begin \(`)108 220.8 Q(`#')-.63 E('\))-.63 E F0 .885 -(The string that is inserted when the readline)144 232.8 R F1 -(insert\255comment)3.385 E F0 .884(command is e)3.384 F -.15(xe)-.15 G -3.384(cuted. This).15 F(com-)3.384 E(mand is bound to)144 244.8 Q F1 +-.25 G(lents.).25 E F1(blink\255matching\255par)108 400.8 Q(en \(Off\)) +-.18 E F0 .21(If set to)144 412.8 R F1(On)2.71 E F0 2.71(,r)C .21 +(eadline attempts to brie\215y mo)-2.71 F .51 -.15(ve t)-.15 H .21 +(he cursor to an opening parenthesis when a closing).15 F +(parenthesis is inserted.)144 424.8 Q F1(color)108 436.8 Q +(ed\255completion\255pr)-.18 E(e\214x \(Off\))-.18 E F0 .515(If set to) +144 448.8 R F1(On)3.015 E F0 3.015(,w)C .515(hen listing completions, r\ +eadline displays the common pre\214x of the set of possible)-3.015 F +2.936(completions using a dif)144 460.8 R 2.936(ferent color)-.25 F +7.936(.T)-.55 G 2.936(he color de\214nitions are tak)-7.936 F 2.935 +(en from the v)-.1 F 2.935(alue of the)-.25 F F1(LS_COLORS)144 472.8 Q +F0(en)2.5 E(vironment v)-.4 E(ariable.)-.25 E F1(color)108 484.8 Q +(ed\255stats \(Off\))-.18 E F0 1.579(If set to)144 496.8 R F1(On)4.079 E +F0 4.079(,r)C 1.579(eadline displays possible completions using dif) +-4.079 F 1.58(ferent colors to indicate their \214le)-.25 F 2.5 +(type. The)144 508.8 R(color de\214nitions are tak)2.5 E(en from the v) +-.1 E(alue of the)-.25 E F1(LS_COLORS)2.5 E F0(en)2.5 E(vironment v)-.4 +E(ariable.)-.25 E F1(comment\255begin \(`)108 520.8 Q(`#')-.63 E('\)) +-.63 E F0 .885(The string that is inserted when the readline)144 532.8 R +F1(insert\255comment)3.385 E F0 .884(command is e)3.384 F -.15(xe)-.15 G +3.384(cuted. This).15 F(com-)3.384 E(mand is bound to)144 544.8 Q F1 (M\255#)2.5 E F0(in emacs mode and to)2.5 E F1(#)2.5 E F0 -(in vi command mode.)2.5 E F1(completion\255ignor)108 256.8 Q -(e\255case \(Off\))-.18 E F0(If set to)144 268.8 Q F1(On)2.5 E F0 2.5 +(in vi command mode.)2.5 E F1(completion\255display\255width \(-1\))108 +556.8 Q F0 1.453(The number of screen columns used to display possible \ +matches when performing completion.)144 568.8 R .194(The v)144 580.8 R +.193(alue is ignored if it is less than 0 or greater than the terminal \ +screen width.)-.25 F 2.693(Av)5.193 G .193(alue of 0 will)-2.943 F +(cause matches to be displayed one per line.)144 592.8 Q(The def)5 E +(ault v)-.1 E(alue is -1.)-.25 E F1(completion\255ignor)108 604.8 Q +(e\255case \(Off\))-.18 E F0(If set to)144 616.8 Q F1(On)2.5 E F0 2.5 (,r)C(eadline performs \214lename matching and completion in a case\255\ -insensiti)-2.5 E .3 -.15(ve f)-.25 H(ashion.).05 E F1(completion\255pr) -108 280.8 Q(e\214x\255display\255length \(0\))-.18 E F0 .829(The length\ - in characters of the common pre\214x of a list of possible completions\ - that is displayed)144 292.8 R 1.275(without modi\214cation.)144 304.8 R -1.275(When set to a v)6.275 F 1.274 -(alue greater than zero, common pre\214x)-.25 F 1.274 -(es longer than this)-.15 F -.25(va)144 316.8 S(lue are replaced with a\ -n ellipsis when displaying possible completions.).25 E F1 -(completion\255query\255items \(100\))108 328.8 Q F0 .529 -(This determines when the user is queried about vie)144 340.8 R .53 -(wing the number of possible completions gen-)-.25 F .561(erated by the) -144 352.8 R F1(possible\255completions)3.061 E F0 3.061(command. It) -3.061 F .561(may be set to an)3.061 F 3.06(yi)-.15 G(nte)-3.06 E .56 -(ger v)-.15 F .56(alue greater than or)-.25 F .782(equal to zero.)144 -364.8 R .783(If the number of possible completions is greater than or e\ -qual to the v)5.782 F .783(alue of this)-.25 F -.25(va)144 376.8 S .237 +insensiti)-2.5 E .3 -.15(ve f)-.25 H(ashion.).05 E F1 +(completion\255map\255case \(Off\))108 628.8 Q F0 .093(If set to)144 +640.8 R F1(On)2.593 E F0 2.593(,a)C(nd)-2.593 E F1(completion\255ignor) +2.593 E(e\255case)-.18 E F0 .093(is enabled, readline treats h)2.593 F +.093(yphens \()-.05 F F2A F0 2.593(\)a)C .094(nd underscores)-2.593 +F(\()144 652.8 Q F2(_)A F0 2.5(\)a)C 2.5(se)-2.5 G(qui)-2.5 E -.25(va) +-.25 G(lent when performing case\255insensiti).25 E .3 -.15(ve \214)-.25 +H(lename matching and completion.).15 E F1(completion\255pr)108 664.8 Q +(e\214x\255display\255length \(0\))-.18 E F0 .829(The length in charact\ +ers of the common pre\214x of a list of possible completions that is di\ +splayed)144 676.8 R 1.274(without modi\214cation.)144 688.8 R 1.274 +(When set to a v)6.274 F 1.274(alue greater than zero, common pre\214x) +-.25 F 1.275(es longer than this)-.15 F -.25(va)144 700.8 S(lue are rep\ +laced with an ellipsis when displaying possible completions.).25 E +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(39)192.055 E 0 Cg EP +%%Page: 40 40 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(completion\255query\255items \(100\))108 84 Q F0 .53 +(This determines when the user is queried about vie)144 96 R .529 +(wing the number of possible completions gen-)-.25 F .56(erated by the) +144 108 R F1(possible\255completions)3.06 E F0 3.06(command. It)3.06 F +.561(may be set to an)3.061 F 3.061(yi)-.15 G(nte)-3.061 E .561(ger v) +-.15 F .561(alue greater than or)-.25 F .783(equal to zero.)144 120 R +.783(If the number of possible completions is greater than or equal to \ +the v)5.783 F .782(alue of this)-.25 F -.25(va)144 132 S .237 (riable, the user is ask).25 F .237(ed whether or not he wishes to vie) -.1 F 2.737(wt)-.25 G .237(hem; otherwise the)-2.737 F 2.737(ya)-.15 G -.237(re simply listed)-2.737 F(on the terminal.)144 388.8 Q F1(con)108 -400.8 Q -.1(ve)-.4 G(rt\255meta \(On\)).1 E F0 .612(If set to)144 412.8 -R F1(On)3.112 E F0 3.112(,r)C .613(eadline will con)-3.112 F -.15(ve)-.4 -G .613(rt characters with the eighth bit set to an ASCII k).15 F .913 --.15(ey s)-.1 H .613(equence by).15 F .541 +.237(re simply listed)-2.737 F(on the terminal.)144 144 Q F1(con)108 156 +Q -.1(ve)-.4 G(rt\255meta \(On\)).1 E F0 .613(If set to)144 168 R F1(On) +3.113 E F0 3.113(,r)C .613(eadline will con)-3.113 F -.15(ve)-.4 G .613 +(rt characters with the eighth bit set to an ASCII k).15 F .912 -.15 +(ey s)-.1 H .612(equence by).15 F .541 (stripping the eighth bit and pre\214xing an escape character \(in ef) -144 424.8 R .541(fect, using escape as the)-.25 F/F2 10/Times-Italic@0 -SF .541(meta pr)3.041 F(e-)-.37 E<8c78>144 436.8 Q F0(\).)A F1 -(disable\255completion \(Off\))108 448.8 Q F0 .038(If set to)144 460.8 R +144 180 R .541(fect, using escape as the)-.25 F/F2 10/Times-Italic@0 SF +.542(meta pr)3.042 F(e-)-.37 E<8c78>144 192 Q F0 2.5(\). The)B(def)2.5 E +(ault is)-.1 E F2(On)2.5 E F0 2.5(,b)C(ut readline will set it to)-2.7 E +F2(Of)2.5 E(f)-.18 E F0(if the locale contains eight-bit characters.)2.5 +E F1(disable\255completion \(Off\))108 204 Q F0 .038(If set to)144 216 R F1(On)2.538 E F0 2.538(,r)C .038(eadline will inhibit w)-2.538 F .038 (ord completion.)-.1 F .038 (Completion characters will be inserted into the)5.038 F(line as if the) -144 472.8 Q 2.5(yh)-.15 G(ad been mapped to)-2.5 E F1(self-insert)2.5 E -F0(.)A F1(editing\255mode \(emacs\))108 484.8 Q F0 .142 -(Controls whether readline be)144 496.8 R .141(gins with a set of k)-.15 -F .441 -.15(ey b)-.1 H .141(indings similar to).15 F F2(Emacs)2.641 E F0 -(or)2.641 E F2(vi)2.641 E F0(.)A F1(editing\255mode)5.141 E F0 -(can be set to either)144 508.8 Q F1(emacs)2.5 E F0(or)2.5 E F1(vi)2.5 E -F0(.)A F1(echo\255contr)108 520.8 Q(ol\255characters \(On\))-.18 E F0 -1.21(When set to)144 532.8 R F1(On)3.71 E F0 3.71(,o)C 3.71(no)-3.71 G -1.211(perating systems that indicate the)-3.71 F 3.711(ys)-.15 G 1.211 +144 228 Q 2.5(yh)-.15 G(ad been mapped to)-2.5 E F1(self-insert)2.5 E F0 +(.)A F1(echo\255contr)108 240 Q(ol\255characters \(On\))-.18 E F0 1.21 +(When set to)144 252 R F1(On)3.71 E F0 3.71(,o)C 3.71(no)-3.71 G 1.211 +(perating systems that indicate the)-3.71 F 3.711(ys)-.15 G 1.211 (upport it, readline echoes a character)-3.711 F -(corresponding to a signal generated from the k)144 544.8 Q -.15(ey)-.1 -G(board.).15 E F1(enable\255k)108 556.8 Q(eypad \(Off\))-.1 E F0 .893 -(When set to)144 568.8 R F1(On)3.393 E F0 3.393(,r)C .893 +(corresponding to a signal generated from the k)144 264 Q -.15(ey)-.1 G +(board.).15 E F1(editing\255mode \(emacs\))108 276 Q F0 .142 +(Controls whether readline be)144 288 R .141(gins with a set of k)-.15 F +.441 -.15(ey b)-.1 H .141(indings similar to).15 F F2(Emacs)2.641 E F0 +(or)2.641 E F2(vi)2.641 E F0(.)A F1(editing\255mode)5.141 E F0 +(can be set to either)144 300 Q F1(emacs)2.5 E F0(or)2.5 E F1(vi)2.5 E +F0(.)A F1(enable\255brack)108 312 Q(eted\255paste \(Off\))-.1 E F0 1.221 +(When set to)144 324 R F1(On)3.721 E F0 3.721(,r)C 1.221 +(eadline will con\214gure the terminal in a w)-3.721 F 1.221 +(ay that will enable it to insert each)-.1 F .353 +(paste into the editing b)144 336 R(uf)-.2 E .353(fer as a single strin\ +g of characters, instead of treating each character as if)-.25 F .543 +(it had been read from the k)144 348 R -.15(ey)-.1 G 3.043(board. This) +.15 F .543(can pre)3.043 F -.15(ve)-.25 G .544 +(nt pasted characters from being interpreted as).15 F(editing commands.) +144 360 Q F1(enable\255k)108 372 Q(eypad \(Off\))-.1 E F0 .893 +(When set to)144 384 R F1(On)3.393 E F0 3.393(,r)C .893 (eadline will try to enable the application k)-3.393 F -.15(ey)-.1 G .893(pad when it is called.).15 F .892(Some sys-)5.893 F -(tems need this to enable the arro)144 580.8 Q 2.5(wk)-.25 G -.15(ey) --2.6 G(s.).15 E F1(enable\255meta\255k)108 592.8 Q(ey \(On\))-.1 E F0 -.64(When set to)144 604.8 R F1(On)3.14 E F0 3.14(,r)C .64 +(tems need this to enable the arro)144 396 Q 2.5(wk)-.25 G -.15(ey)-2.6 +G(s.).15 E F1(enable\255meta\255k)108 408 Q(ey \(On\))-.1 E F0 .64 +(When set to)144 420 R F1(On)3.14 E F0 3.14(,r)C .64 (eadline will try to enable an)-3.14 F 3.14(ym)-.15 G .64 (eta modi\214er k)-3.14 F .94 -.15(ey t)-.1 H .64 -(he terminal claims to support).15 F(when it is called.)144 616.8 Q +(he terminal claims to support).15 F(when it is called.)144 432 Q (On man)5 E 2.5(yt)-.15 G(erminals, the meta k)-2.5 E .3 -.15(ey i)-.1 H 2.5(su).15 G(sed to send eight-bit characters.)-2.5 E F1 -(expand\255tilde \(Off\))108 628.8 Q F0(If set to)144 640.8 Q F1(On)2.5 -E F0 2.5(,t)C(ilde e)-2.5 E -(xpansion is performed when readline attempts w)-.15 E(ord completion.) --.1 E F1(history\255pr)108 652.8 Q(eser)-.18 E -.1(ve)-.1 G -(\255point \(Off\)).1 E F0 1.339(If set to)144 664.8 R F1(On)3.839 E F0 -3.839(,t)C 1.338(he history code attempts to place point at the same lo\ -cation on each history line)-3.839 F(retrie)144 676.8 Q -.15(ve)-.25 G -2.5(dw).15 G(ith)-2.5 E F1(pr)2.5 E -.15(ev)-.18 G(ious-history).15 E F0 -(or)2.5 E F1(next-history)2.5 E F0(.)A F1(history\255size \(0\))108 -688.8 Q F0 .948(Set the maximum number of history entries sa)144 700.8 R --.15(ve)-.2 G 3.448(di).15 G 3.448(nt)-3.448 G .948(he history list.) --3.448 F .949(If set to zero, an)5.948 F 3.449(ye)-.15 G(xisting)-3.599 -E .483(history entries are deleted and no ne)144 712.8 R 2.983(we)-.25 G -.483(ntries are sa)-2.983 F -.15(ve)-.2 G 2.983(d. If).15 F .482 -(set to a v)2.983 F .482(alue less than zero, the num-)-.25 F -(ber of history entries is not limited.)144 724.8 Q(By def)5 E -(ault, the number of history entries is not limited.)-.1 E(GNU Bash 4.3) -72 768 Q(2014 February 2)141.79 E(38)190.95 E 0 Cg EP -%%Page: 39 39 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(horizontal\255scr)108 84 Q -(oll\255mode \(Off\))-.18 E F0 .448(When set to)144 96 R F1(On)2.948 E -F0 2.948(,m)C(ak)-2.948 E .448 +(expand\255tilde \(Off\))108 444 Q F0(If set to)144 456 Q F1(On)2.5 E F0 +2.5(,t)C(ilde e)-2.5 E(xpansion is performed when readline attempts w) +-.15 E(ord completion.)-.1 E F1(history\255pr)108 468 Q(eser)-.18 E -.1 +(ve)-.1 G(\255point \(Off\)).1 E F0 1.339(If set to)144 480 R F1(On) +3.839 E F0 3.839(,t)C 1.338(he history code attempts to place point at \ +the same location on each history line)-3.839 F(retrie)144 492 Q -.15 +(ve)-.25 G 2.5(dw).15 G(ith)-2.5 E F1(pr)2.5 E -.15(ev)-.18 G +(ious-history).15 E F0(or)2.5 E F1(next-history)2.5 E F0(.)A F1 +(history\255size \(unset\))108 504 Q F0 .948 +(Set the maximum number of history entries sa)144 516 R -.15(ve)-.2 G +3.448(di).15 G 3.448(nt)-3.448 G .948(he history list.)-3.448 F .949 +(If set to zero, an)5.948 F 3.449(ye)-.15 G(xisting)-3.599 E .483 +(history entries are deleted and no ne)144 528 R 2.983(we)-.25 G .483 +(ntries are sa)-2.983 F -.15(ve)-.2 G 2.983(d. If).15 F .482(set to a v) +2.983 F .482(alue less than zero, the num-)-.25 F .277 +(ber of history entries is not limited.)144 540 R .277(By def)5.277 F +.278(ault, the number of history entries is set to the v)-.1 F .278 +(alue of)-.25 F(the)144 552 Q F1(HISTSIZE)3.411 E F0 .911(shell v)3.411 +F 3.411(ariable. If)-.25 F .911(an attempt is made to set)3.411 F F2 +(history\255size)3.41 E F0 .91(to a non-numeric v)3.41 F(alue,)-.25 E +(the maximum number of history entries will be set to 500.)144 564 Q F1 +(horizontal\255scr)108 576 Q(oll\255mode \(Off\))-.18 E F0 .448 +(When set to)144 588 R F1(On)2.948 E F0 2.948(,m)C(ak)-2.948 E .448 (es readline use a single line for display)-.1 F 2.948(,s)-.65 G .449 (crolling the input horizontally on a)-2.948 F 1.194(single screen line\ when it becomes longer than the screen width rather than wrapping to a\ - ne)144 108 R(w)-.25 E(line.)144 120 Q F1(input\255meta \(Off\))108 132 -Q F0 .227(If set to)144 144 R F1(On)2.727 E F0 2.727(,r)C .228(eadline \ -will enable eight-bit input \(that is, it will not strip the high bit f\ -rom the char)-2.727 F(-)-.2 E .957(acters it reads\), re)144 156 R -.05 -(ga)-.15 G .956(rdless of what the terminal claims it can support.).05 F -.956(The name)5.956 F F1(meta\255\215ag)3.456 E F0 .956(is a)3.456 F -(synon)144 168 Q(ym for this v)-.15 E(ariable.)-.25 E F1(isear)108 180 Q -(ch\255terminators \(`)-.18 E(`C\255[C\255J')-.63 E('\))-.63 E F0 .439(\ -The string of characters that should terminate an incremental search wi\ -thout subsequently e)144 192 R -.15(xe)-.15 G(cut-).15 E .935 -(ing the character as a command.)144 204 R .935(If this v)5.935 F .935 -(ariable has not been gi)-.25 F -.15(ve)-.25 G 3.434(nav).15 G .934 -(alue, the characters)-3.684 F/F2 10/Times-Italic@0 SF(ESC)3.434 E F0 -(and)144 216 Q F2(C\255J)2.5 E F0(will terminate an incremental search.) -2.5 E F1 -.1(ke)108 228 S(ymap \(emacs\)).1 E F0 2.02 -(Set the current readline k)144 240 R -.15(ey)-.1 G 4.521(map. The).15 F + ne)144 600 R(w)-.25 E(line.)144 612 Q F1(input\255meta \(Off\))108 624 +Q F0 1.061(If set to)144 636 R F1(On)3.561 E F0 3.561(,r)C 1.062(eadlin\ +e will enable eight-bit input \(that is, it will not strip the eighth b\ +it from the)-3.561 F .336(characters it reads\), re)144 648 R -.05(ga) +-.15 G .335(rdless of what the terminal claims it can support.).05 F +.335(The name)5.335 F F1(meta\255\215ag)2.835 E F0(is)2.835 E 2.864(as) +144 660 S(ynon)-2.864 E .364(ym for this v)-.15 F 2.864(ariable. The) +-.25 F(def)2.864 E .364(ault is)-.1 F F2(Of)2.864 E(f)-.18 E F0 2.864 +(,b)C .364(ut readline will set it to)-3.064 F F2(On)2.864 E F0 .365 +(if the locale contains)2.865 F(eight-bit characters.)144 672 Q F1 +(isear)108 684 Q(ch\255terminators \(`)-.18 E(`C\255[C\255J')-.63 E('\)) +-.63 E F0 .439(The string of characters that should terminate an increm\ +ental search without subsequently e)144 696 R -.15(xe)-.15 G(cut-).15 E +.934(ing the character as a command.)144 708 R .935(If this v)5.935 F +.935(ariable has not been gi)-.25 F -.15(ve)-.25 G 3.435(nav).15 G .935 +(alue, the characters)-3.685 F F2(ESC)3.435 E F0(and)144 720 Q F2 +(C\255J)2.5 E F0(will terminate an incremental search.)2.5 E +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(40)192.055 E 0 Cg EP +%%Page: 41 41 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF -.1(ke)108 84 S(ymap \(emacs\)).1 E F0 2.021 +(Set the current readline k)144 96 R -.15(ey)-.1 G 4.521(map. The).15 F 2.021(set of v)4.521 F 2.021(alid k)-.25 F -.15(ey)-.1 G 2.021 -(map names is).15 F F2 2.021(emacs, emacs\255standar)4.521 F(d,)-.37 E -.069(emacs\255meta, emacs\255ctlx, vi, vi\255command)144 252 R F0 2.568 -(,a)C(nd)-2.568 E F2(vi\255insert)2.568 E F0(.).68 E F2(vi)5.068 E F0 -.068(is equi)2.568 F -.25(va)-.25 G .068(lent to).25 F F2(vi\255command) -2.568 E F0(;)A F2(emacs)2.568 E F0 1.543(is equi)144 264 R -.25(va)-.25 -G 1.543(lent to).25 F F2(emacs\255standar)4.044 E(d)-.37 E F0 6.544(.T)C +(map names is).15 F/F2 10/Times-Italic@0 SF 2.02 +(emacs, emacs\255standar)4.52 F(d,)-.37 E .068 +(emacs\255meta, emacs\255ctlx, vi, vi\255command)144 108 R F0 2.568(,a)C +(nd)-2.568 E F2(vi\255insert)2.568 E F0(.).68 E F2(vi)5.068 E F0 .068 +(is equi)2.568 F -.25(va)-.25 G .068(lent to).25 F F2(vi\255command) +2.569 E F0(;)A F2(emacs)2.569 E F0 1.544(is equi)144 120 R -.25(va)-.25 +G 1.544(lent to).25 F F2(emacs\255standar)4.044 E(d)-.37 E F0 6.544(.T)C 1.544(he def)-6.544 F 1.544(ault v)-.1 F 1.544(alue is)-.25 F F2(emacs) 4.044 E F0 4.044(;t).27 G 1.544(he v)-4.044 F 1.544(alue of)-.25 F F1 -(editing\255mode)4.044 E F0(also)4.044 E(af)144 276 Q(fects the def)-.25 -E(ault k)-.1 E -.15(ey)-.1 G(map.).15 E F1 -.1(ke)108 288 S -(yseq\255timeout \(500\)).1 E F0 .368(Speci\214es the duration)144 300 R -F2 -.37(re)2.867 G(adline).37 E F0 .367(will w)2.867 F .367 -(ait for a character when reading an ambiguous k)-.1 F .667 -.15(ey s) --.1 H(equence).15 E 1.356(\(one that can form a complete k)144 312 R +(editing\255mode)4.043 E F0(also)4.043 E(af)144 132 Q(fects the def)-.25 +E(ault k)-.1 E -.15(ey)-.1 G(map.).15 E F1 +(emacs\255mode\255string \(@\))108 144 Q F0 .051(This string is display\ +ed immediately before the last line of the primary prompt when emacs ed\ +iting)144 156 R .293(mode is acti)144 168 R -.15(ve)-.25 G 5.293(.T).15 +G .293(he v)-5.293 F .293(alue is e)-.25 F .293(xpanded lik)-.15 F 2.793 +(eak)-.1 G .593 -.15(ey b)-2.893 H .293 +(inding, so the standard set of meta- and control).15 F(pre\214x)144 180 +Q .601(es and backslash escape sequences is a)-.15 F -.25(va)-.2 G 3.101 +(ilable. Use).25 F .601(the \\1 and \\2 escapes to be)3.101 F .602 +(gin and end)-.15 F .019(sequences of non-printing characters, which ca\ +n be used to embed a terminal control sequence into)144 192 R +(the mode string.)144 204 Q F1 -.1(ke)108 216 S(yseq\255timeout \(500\)) +.1 E F0 .367(Speci\214es the duration)144 228 R F2 -.37(re)2.867 G +(adline).37 E F0 .367(will w)2.867 F .367 +(ait for a character when reading an ambiguous k)-.1 F .668 -.15(ey s) +-.1 H(equence).15 E 1.356(\(one that can form a complete k)144 240 R 1.656 -.15(ey s)-.1 H 1.356(equence using the input read so f).15 F(ar) --.1 E 3.856(,o)-.4 G 3.856(rc)-3.856 G 1.356(an tak)-3.856 F 3.856(ea) --.1 G(dditional)-3.856 E .32(input to complete a longer k)144 324 R .62 +-.1 E 3.856(,o)-.4 G 3.856(rc)-3.856 G 1.355(an tak)-3.856 F 3.855(ea) +-.1 G(dditional)-3.855 E .32(input to complete a longer k)144 252 R .62 -.15(ey s)-.1 H 2.82(equence\). If).15 F .32(no input is recei)2.82 F -.15(ve)-.25 G 2.82(dw).15 G .32(ithin the timeout,)-2.82 F F2 -.37(re) -2.82 G(adline).37 E F0(will)2.82 E .906(use the shorter b)144 336 R .907 +2.82 G(adline).37 E F0(will)2.82 E .907(use the shorter b)144 264 R .907 (ut complete k)-.2 F 1.207 -.15(ey s)-.1 H 3.407(equence. The).15 F -.25 -(va)3.407 G .907(lue is speci\214ed in milliseconds, so a v).25 F .907 -(alue of)-.25 F .05(1000 means that)144 348 R F2 -.37(re)2.55 G(adline) +(va)3.407 G .907(lue is speci\214ed in milliseconds, so a v).25 F .906 +(alue of)-.25 F .05(1000 means that)144 276 R F2 -.37(re)2.55 G(adline) .37 E F0 .05(will w)2.55 F .05(ait one second for additional input.)-.1 F .05(If this v)5.05 F .05(ariable is set to a v)-.25 F(alue)-.25 E .051 -(less than or equal to zero, or to a non-numeric v)144 360 R(alue,)-.25 +(less than or equal to zero, or to a non-numeric v)144 288 R(alue,)-.25 E F2 -.37(re)2.551 G(adline).37 E F0 .051(will w)2.551 F .051 -(ait until another k)-.1 F .352 -.15(ey i)-.1 H 2.552(sp).15 G(ressed) --2.552 E(to decide which k)144 372 Q .3 -.15(ey s)-.1 H -(equence to complete.).15 E F1(mark\255dir)108 384 Q(ectories \(On\)) --.18 E F0(If set to)144 396 Q F1(On)2.5 E F0 2.5(,c)C +(ait until another k)-.1 F .351 -.15(ey i)-.1 H 2.551(sp).15 G(ressed) +-2.551 E(to decide which k)144 300 Q .3 -.15(ey s)-.1 H +(equence to complete.).15 E F1(mark\255dir)108 312 Q(ectories \(On\)) +-.18 E F0(If set to)144 324 Q F1(On)2.5 E F0 2.5(,c)C (ompleted directory names ha)-2.5 E .3 -.15(ve a s)-.2 H(lash appended.) -.15 E F1(mark\255modi\214ed\255lines \(Off\))108 408 Q F0(If set to)144 -420 Q F1(On)2.5 E F0 2.5(,h)C(istory lines that ha)-2.5 E .3 -.15(ve b) +.15 E F1(mark\255modi\214ed\255lines \(Off\))108 336 Q F0(If set to)144 +348 Q F1(On)2.5 E F0 2.5(,h)C(istory lines that ha)-2.5 E .3 -.15(ve b) -.2 H(een modi\214ed are displayed with a preceding asterisk \().15 E F1 -(*)A F0(\).)A F1(mark\255symlink)108 432 Q(ed\255dir)-.1 E -(ectories \(Off\))-.18 E F0 .175(If set to)144 444 R F1(On)2.675 E F0 +(*)A F0(\).)A F1(mark\255symlink)108 360 Q(ed\255dir)-.1 E +(ectories \(Off\))-.18 E F0 .175(If set to)144 372 R F1(On)2.675 E F0 2.675(,c)C .175 (ompleted names which are symbolic links to directories ha)-2.675 F .475 --.15(ve a s)-.2 H .175(lash appended \(sub-).15 F(ject to the v)144 456 +-.15(ve a s)-.2 H .175(lash appended \(sub-).15 F(ject to the v)144 384 Q(alue of)-.25 E F1(mark\255dir)2.5 E(ectories)-.18 E F0(\).)A F1 -(match\255hidden\255\214les \(On\))108 468 Q F0 .192(This v)144 480 R -.192(ariable, when set to)-.25 F F1(On)2.692 E F0 2.692(,c)C .192 -(auses readline to match \214les whose names be)-2.692 F .193 -(gin with a `.)-.15 F 2.693('\()-.7 G(hidden)-2.693 E .457 -(\214les\) when performing \214lename completion.)144 492 R .456 +(match\255hidden\255\214les \(On\))108 396 Q F0 .193(This v)144 408 R +.193(ariable, when set to)-.25 F F1(On)2.693 E F0 2.693(,c)C .192 +(auses readline to match \214les whose names be)-2.693 F .192 +(gin with a `.)-.15 F 2.692('\()-.7 G(hidden)-2.692 E .456 +(\214les\) when performing \214lename completion.)144 420 R .456 (If set to)5.456 F F1(Off)2.956 E F0 2.956(,t)C .456(he leading `.) --2.956 F 2.956('m)-.7 G .456(ust be supplied by the)-2.956 F -(user in the \214lename to be completed.)144 504 Q F1 -(menu\255complete\255display\255pr)108 516 Q(e\214x \(Off\))-.18 E F0 -1.585(If set to)144 528 R F1(On)4.085 E F0 4.085(,m)C 1.585(enu complet\ +-2.956 F 2.956('m)-.7 G .457(ust be supplied by the)-2.956 F +(user in the \214lename to be completed.)144 432 Q F1 +(menu\255complete\255display\255pr)108 444 Q(e\214x \(Off\))-.18 E F0 +1.586(If set to)144 456 R F1(On)4.086 E F0 4.086(,m)C 1.585(enu complet\ ion displays the common pre\214x of the list of possible completions) --4.085 F(\(which may be empty\) before c)144 540 Q -(ycling through the list.)-.15 E F1(output\255meta \(Off\))108 552 Q F0 -.507(If set to)144 564 R F1(On)3.007 E F0 3.007(,r)C .507(eadline will \ +-4.086 F(\(which may be empty\) before c)144 468 Q +(ycling through the list.)-.15 E F1(output\255meta \(Off\))108 480 Q F0 +.506(If set to)144 492 R F1(On)3.006 E F0 3.006(,r)C .507(eadline will \ display characters with the eighth bit set directly rather than as a me\ -ta-)-3.007 F(pre\214x)144 576 Q(ed escape sequence.)-.15 E F1 -(page\255completions \(On\))108 588 Q F0 .808(If set to)144 600 R F1(On) +ta-)-3.006 F(pre\214x)144 504 Q .885(ed escape sequence.)-.15 F .884 +(The def)5.884 F .884(ault is)-.1 F F2(Of)3.384 E(f)-.18 E F0 3.384(,b)C +.884(ut readline will set it to)-3.584 F F2(On)3.384 E F0 .884 +(if the locale contains)3.384 F(eight-bit characters.)144 516 Q F1 +(page\255completions \(On\))108 528 Q F0 .808(If set to)144 540 R F1(On) 3.308 E F0 3.308(,r)C .808(eadline uses an internal)-3.308 F F2(mor) 3.308 E(e)-.37 E F0(-lik)A 3.308(ep)-.1 G .808 (ager to display a screenful of possible comple-)-3.308 F -(tions at a time.)144 612 Q F1 -(print\255completions\255horizontally \(Off\))108 624 Q F0 1.319 -(If set to)144 636 R F1(On)3.819 E F0 3.819(,r)C 1.318(eadline will dis\ +(tions at a time.)144 552 Q F1 +(print\255completions\255horizontally \(Off\))108 564 Q F0 1.319 +(If set to)144 576 R F1(On)3.819 E F0 3.819(,r)C 1.318(eadline will dis\ play completions with matches sorted horizontally in alphabetical)-3.819 -F(order)144 648 Q 2.5(,r)-.4 G(ather than do)-2.5 E(wn the screen.)-.25 -E F1 -2.29 -.18(re v)108 660 T(ert\255all\255at\255newline \(Off\)).08 E -F0 .698(If set to)144 672 R F1(On)3.198 E F0 3.198(,r)C .699 +F(order)144 588 Q 2.5(,r)-.4 G(ather than do)-2.5 E(wn the screen.)-.25 +E F1 -2.29 -.18(re v)108 600 T(ert\255all\255at\255newline \(Off\)).08 E +F0 .698(If set to)144 612 R F1(On)3.198 E F0 3.198(,r)C .699 (eadline will undo all changes to history lines before returning when) --3.198 F F1(accept\255line)3.199 E F0(is)3.199 E -.15(exe)144 684 S +-3.198 F F1(accept\255line)3.199 E F0(is)3.199 E -.15(exe)144 624 S 2.686(cuted. By).15 F(def)2.686 E .186 (ault, history lines may be modi\214ed and retain indi)-.1 F .186 -(vidual undo lists across calls to)-.25 F F1 -.18(re)144 696 S(adline) -.18 E F0(.)A(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(39)190.95 E -0 Cg EP -%%Page: 40 40 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(sho)108 84 Q -(w\255all\255if\255ambiguous \(Off\))-.1 E F0 .303(This alters the def) -144 96 R .303(ault beha)-.1 F .304(vior of the completion functions.)-.2 -F .304(If set to)5.304 F F1(On)2.804 E F0 2.804(,w)C .304(ords which ha) --2.904 F .604 -.15(ve m)-.2 H(ore).15 E 1.264(than one possible complet\ -ion cause the matches to be listed immediately instead of ringing the) -144 108 R(bell.)144 120 Q F1(sho)108 132 Q -(w\255all\255if\255unmodi\214ed \(Off\))-.1 E F0 5.345 -(This alters the def)144 144 R 5.345(ault beha)-.1 F 5.345 +(vidual undo lists across calls to)-.25 F F1 -.18(re)144 636 S(adline) +.18 E F0(.)A F1(sho)108 648 Q(w\255all\255if\255ambiguous \(Off\))-.1 E +F0 .303(This alters the def)144 660 R .303(ault beha)-.1 F .304 +(vior of the completion functions.)-.2 F .304(If set to)5.304 F F1(On) +2.804 E F0 2.804(,w)C .304(ords which ha)-2.904 F .604 -.15(ve m)-.2 H +(ore).15 E 1.264(than one possible completion cause the matches to be l\ +isted immediately instead of ringing the)144 672 R(bell.)144 684 Q F1 +(sho)108 696 Q(w\255all\255if\255unmodi\214ed \(Off\))-.1 E F0 5.345 +(This alters the def)144 708 R 5.345(ault beha)-.1 F 5.345 (vior of the completion functions in a f)-.2 F 5.346(ashion similar to) --.1 F F1(sho)144 156 Q(w\255all\255if\255ambiguous)-.1 E F0 6.691(.I)C +-.1 F F1(sho)144 720 Q(w\255all\255if\255ambiguous)-.1 E F0 6.691(.I)C 4.191(fs)-6.691 G 1.691(et to)-4.191 F F1(On)4.191 E F0 4.191(,w)C 1.691 (ords which ha)-4.291 F 1.991 -.15(ve m)-.2 H 1.691 -(ore than one possible completion).15 F 1.039(without an)144 168 R 3.539 -(yp)-.15 G 1.039 +(ore than one possible completion).15 F(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(41)192.055 E 0 Cg EP +%%Page: 42 42 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E 1.039(without an) +144 84 R 3.539(yp)-.15 G 1.039 (ossible partial completion \(the possible completions don')-3.539 F 3.539(ts)-.18 G 1.04(hare a common pre\214x\))-3.539 F(cause the matche\ -s to be listed immediately instead of ringing the bell.)144 180 Q F1 -(sho)108 192 Q(w\255mode\255in\255pr)-.1 E(ompt \(Off\))-.18 E F0 1.019 -(If set to)144 204 R F1(On)3.519 E F0 3.519(,a)C 1.018 +s to be listed immediately instead of ringing the bell.)144 96 Q/F1 10 +/Times-Bold@0 SF(sho)108 108 Q(w\255mode\255in\255pr)-.1 E(ompt \(Off\)) +-.18 E F0 1.019(If set to)144 120 R F1(On)3.519 E F0 3.519(,a)C 1.018 (dd a character to the be)-3.519 F 1.018 (ginning of the prompt indicating the editing mode: emacs)-.15 F -(\(@\), vi command \(:\) or vi insertion \(+\).)144 216 Q F1 -(skip\255completed\255text \(Off\))108 228 Q F0 .094(If set to)144 240 R +(\(@\), vi command \(:\) or vi insertion \(+\).)144 132 Q F1 +(skip\255completed\255text \(Off\))108 144 Q F0 .094(If set to)144 156 R F1(On)2.594 E F0 2.594(,t)C .095(his alters the def)-2.594 F .095 (ault completion beha)-.1 F .095 -(vior when inserting a single match into the line.)-.2 F(It')144 252 Q +(vior when inserting a single match into the line.)-.2 F(It')144 168 Q 2.546(so)-.55 G .046(nly acti)-2.546 F .346 -.15(ve w)-.25 H .046 (hen performing completion in the middle of a w).15 F 2.545(ord. If)-.1 F .045(enabled, readline does not)2.545 F 1.394(insert characters from \ -the completion that match characters after point in the w)144 264 R -1.395(ord being com-)-.1 F(pleted, so portions of the w)144 276 Q +the completion that match characters after point in the w)144 180 R +1.395(ord being com-)-.1 F(pleted, so portions of the w)144 192 Q (ord follo)-.1 E(wing the cursor are not duplicated.)-.25 E F1 -(visible\255stats \(Off\))108 288 Q F0 .847(If set to)144 300 R F1(On) +(vi\255cmd\255mode\255string \(\(cmd\)\))108 204 Q F0 1.198(This string\ + is displayed immediately before the last line of the primary prompt wh\ +en vi editing)144 216 R .521(mode is acti)144 228 R .821 -.15(ve a)-.25 +H .522(nd in command mode.).15 F .522(The v)5.522 F .522(alue is e)-.25 +F .522(xpanded lik)-.15 F 3.022(eak)-.1 G .822 -.15(ey b)-3.122 H .522 +(inding, so the standard).15 F .87(set of meta- and control pre\214x)144 +240 R .869(es and backslash escape sequences is a)-.15 F -.25(va)-.2 G +3.369(ilable. Use).25 F .869(the \\1 and \\2)3.369 F .386(escapes to be) +144 252 R .386(gin and end sequences of non-printing characters, which \ +can be used to embed a ter)-.15 F(-)-.2 E +(minal control sequence into the mode string.)144 264 Q F1 +(vi\255ins\255mode\255string \(\(ins\)\))108 276 Q F0 1.198(This string\ + is displayed immediately before the last line of the primary prompt wh\ +en vi editing)144 288 R .782(mode is acti)144 300 R 1.083 -.15(ve a)-.25 +H .783(nd in insertion mode.).15 F .783(The v)5.783 F .783(alue is e) +-.25 F .783(xpanded lik)-.15 F 3.283(eak)-.1 G 1.083 -.15(ey b)-3.383 H +.783(inding, so the standard).15 F .87 +(set of meta- and control pre\214x)144 312 R .869 +(es and backslash escape sequences is a)-.15 F -.25(va)-.2 G 3.369 +(ilable. Use).25 F .869(the \\1 and \\2)3.369 F .386(escapes to be)144 +324 R .386(gin and end sequences of non-printing characters, which can \ +be used to embed a ter)-.15 F(-)-.2 E +(minal control sequence into the mode string.)144 336 Q F1 +(visible\255stats \(Off\))108 348 Q F0 .847(If set to)144 360 R F1(On) 3.346 E F0 3.346(,ac)C .846(haracter denoting a \214le')-3.346 F 3.346 (st)-.55 G .846(ype as reported by)-3.346 F/F2 10/Times-Italic@0 SF (stat)3.346 E F0 .846(\(2\) is appended to the \214lename)B -(when listing possible completions.)144 312 Q F1 -(Readline Conditional Constructs)87 328.8 Q F0 .05 -(Readline implements a f)108 340.8 R .05(acility similar in spirit to t\ +(when listing possible completions.)144 372 Q F1 +(Readline Conditional Constructs)87 388.8 Q F0 .05 +(Readline implements a f)108 400.8 R .05(acility similar in spirit to t\ he conditional compilation features of the C preprocessor)-.1 F .097 -(which allo)108 352.8 R .097(ws k)-.25 F .396 -.15(ey b)-.1 H .096 +(which allo)108 412.8 R .097(ws k)-.25 F .396 -.15(ey b)-.1 H .096 (indings and v).15 F .096 (ariable settings to be performed as the result of tests.)-.25 F .096 -(There are four parser)5.096 F(directi)108 364.8 Q -.15(ve)-.25 G 2.5 -(su).15 G(sed.)-2.5 E F1($if)108 381.6 Q F0(The)24.89 E F1($if)2.962 E -F0 .462(construct allo)2.962 F .463(ws bindings to be made based on the\ - editing mode, the terminal being used,)-.25 F .478 -(or the application using readline.)144 393.6 R .477(The te)5.477 F .477 +(There are four parser)5.096 F(directi)108 424.8 Q -.15(ve)-.25 G 2.5 +(su).15 G(sed.)-2.5 E F1($if)108 441.6 Q F0(The)144 441.6 Q F1($if)2.962 +E F0 .462(construct allo)2.962 F .463(ws bindings to be made based on t\ +he editing mode, the terminal being used,)-.25 F .478 +(or the application using readline.)144 453.6 R .477(The te)5.477 F .477 (xt of the test e)-.15 F .477 (xtends to the end of the line; no characters)-.15 F -(are required to isolate it.)144 405.6 Q F1(mode)144 422.4 Q F0(The) -12.67 E F1(mode=)3.711 E F0 1.211(form of the)3.711 F F1($if)3.711 E F0 +(are required to isolate it.)144 465.6 Q F1(mode)144 482.4 Q F0(The)180 +482.4 Q F1(mode=)3.711 E F0 1.211(form of the)3.711 F F1($if)3.711 E F0 (directi)3.711 E 1.511 -.15(ve i)-.25 H 3.711(su).15 G 1.211 (sed to test whether readline is in emacs or vi)-3.711 F 3.065 -(mode. This)180 434.4 R .565(may be used in conjunction with the)3.065 F +(mode. This)180 494.4 R .565(may be used in conjunction with the)3.065 F F1 .565(set k)3.065 F(eymap)-.1 E F0 .565(command, for instance, to) -3.065 F .735(set bindings in the)180 446.4 R F2(emacs\255standar)3.235 E +3.065 F .735(set bindings in the)180 506.4 R F2(emacs\255standar)3.235 E (d)-.37 E F0(and)3.235 E F2(emacs\255ctlx)3.235 E F0 -.1(ke)3.235 G .735 -(ymaps only if readline is starting)-.05 F(out in emacs mode.)180 458.4 -Q F1(term)144 475.2 Q F0(The)15.46 E F1(term=)3.197 E F0 .696 +(ymaps only if readline is starting)-.05 F(out in emacs mode.)180 518.4 +Q F1(term)144 535.2 Q F0(The)180 535.2 Q F1(term=)3.197 E F0 .696 (form may be used to include terminal-speci\214c k)3.197 F .996 -.15 -(ey b)-.1 H .696(indings, perhaps to bind).15 F .654(the k)180 487.2 R +(ey b)-.1 H .696(indings, perhaps to bind).15 F .654(the k)180 547.2 R .954 -.15(ey s)-.1 H .654(equences output by the terminal').15 F 3.154 (sf)-.55 G .654(unction k)-3.154 F -.15(ey)-.1 G 3.154(s. The).15 F -.1 -(wo)3.154 G .654(rd on the right side of).1 F(the)180 499.2 Q F1(=)3.232 -E F0 .732(is tested ag)3.232 F .732(ainst the both full name of the ter\ +(wo)3.154 G .654(rd on the right side of).1 F(the)180 559.2 Q F1(=)3.232 +E F0 .732(is tested ag)3.232 F .732(ainst both the full name of the ter\ minal and the portion of the terminal)-.05 F(name before the \214rst)180 -511.2 Q F12.5 E F0 5(.T)C(his allo)-5 E(ws)-.25 E F2(sun)2.84 E F0 +571.2 Q F12.5 E F0 5(.T)C(his allo)-5 E(ws)-.25 E F2(sun)2.84 E F0 (to match both)2.74 E F2(sun)2.84 E F0(and)2.74 E F2(sun\255cmd)2.5 E F0 -2.5(,f).77 G(or instance.)-2.5 E F1(application)144 528 Q F0(The)180 540 +2.5(,f).77 G(or instance.)-2.5 E F1(application)144 588 Q F0(The)180 600 Q F1(application)3.003 E F0 .503 (construct is used to include application-speci\214c settings.)3.003 F .503(Each program)5.503 F .114(using the readline library sets the)180 -552 R F2 .114(application name)2.614 F F0 2.614(,a)C .114 +612 R F2 .114(application name)2.614 F F0 2.614(,a)C .114 (nd an initialization \214le can test for a)-2.614 F .5(particular v)180 -564 R 3(alue. This)-.25 F .501(could be used to bind k)3 F .801 -.15 +624 R 3(alue. This)-.25 F .501(could be used to bind k)3 F .801 -.15 (ey s)-.1 H .501(equences to functions useful for a spe-).15 F .397 -(ci\214c program.)180 576 R -.15(Fo)5.397 G 2.896(ri).15 G .396 +(ci\214c program.)180 636 R -.15(Fo)5.397 G 2.896(ri).15 G .396 (nstance, the follo)-2.896 F .396(wing command adds a k)-.25 F .696 -.15 -(ey s)-.1 H .396(equence that quotes the).15 F(current or pre)180 588 Q -(vious w)-.25 E(ord in)-.1 E F1(bash)2.5 E F0(:)A F1($if)180 612 Q F0 -(Bash)2.5 E 2.5(#Q)180 624 S(uote the current or pre)-2.5 E(vious w)-.25 -E(ord)-.1 E("\\C\255xq": "\\eb\\"\\ef\\"")180 636 Q F1($endif)180 648 Q -($endif)108 664.8 Q F0(This command, as seen in the pre)9.33 E(vious e) --.25 E(xample, terminates an)-.15 E F1($if)2.5 E F0(command.)2.5 E F1 -($else)108 681.6 Q F0(Commands in this branch of the)15.45 E F1($if)2.5 -E F0(directi)2.5 E .3 -.15(ve a)-.25 H(re e).15 E -.15(xe)-.15 G -(cuted if the test f).15 E(ails.)-.1 E F1($include)108 698.4 Q F0 .356 -(This directi)144 710.4 R .656 -.15(ve t)-.25 H(ak).15 E .356 -(es a single \214lename as an ar)-.1 F .357 -(gument and reads commands and bindings from that)-.18 F 2.5(\214le. F) -144 722.4 R(or e)-.15 E(xample, the follo)-.15 E(wing directi)-.25 E .3 --.15(ve w)-.25 H(ould read).05 E F2(/etc/inputr)2.5 E(c)-.37 E F0(:)A -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(40)190.95 E 0 Cg EP -%%Page: 41 41 +(ey s)-.1 H .396(equence that quotes the).15 F(current or pre)180 648 Q +(vious w)-.25 E(ord in)-.1 E F1(bash)2.5 E F0(:)A F1($if)180 672 Q F0 +(Bash)2.5 E 2.5(#Q)180 684 S(uote the current or pre)-2.5 E(vious w)-.25 +E(ord)-.1 E("\\C\255xq": "\\eb\\"\\ef\\"")180 696 Q F1($endif)180 708 Q +F0(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(42)192.055 E 0 Cg EP +%%Page: 43 43 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF($include)144 84 Q/F2 10/Times-Italic@0 SF -(/etc/inputr)5.833 E(c)-.37 E F1(Sear)87 100.8 Q(ching)-.18 E F0 .835 -(Readline pro)108 112.8 R .835 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF($endif)108 84 Q F0(This command, as seen in the pre)144 84 Q(vious e) +-.25 E(xample, terminates an)-.15 E F1($if)2.5 E F0(command.)2.5 E F1 +($else)108 100.8 Q F0(Commands in this branch of the)144 100.8 Q F1($if) +2.5 E F0(directi)2.5 E .3 -.15(ve a)-.25 H(re e).15 E -.15(xe)-.15 G +(cuted if the test f).15 E(ails.)-.1 E F1($include)108 117.6 Q F0 .356 +(This directi)144 129.6 R .656 -.15(ve t)-.25 H(ak).15 E .356 +(es a single \214lename as an ar)-.1 F .357 +(gument and reads commands and bindings from that)-.18 F 2.5(\214le. F) +144 141.6 R(or e)-.15 E(xample, the follo)-.15 E(wing directi)-.25 E .3 +-.15(ve w)-.25 H(ould read).05 E/F2 10/Times-Italic@0 SF(/etc/inputr)2.5 +E(c)-.37 E F0(:)A F1($include)144 165.6 Q F2(/etc/inputr)5.833 E(c)-.37 +E F1(Sear)87 182.4 Q(ching)-.18 E F0 .835(Readline pro)108 194.4 R .835 (vides commands for searching through the command history \(see)-.15 F /F3 9/Times-Bold@0 SF(HIST)3.334 E(OR)-.162 E(Y)-.315 E F0(belo)3.084 E -.834(w\) for lines)-.25 F(containing a speci\214ed string.)108 124.8 Q +.834(w\) for lines)-.25 F(containing a speci\214ed string.)108 206.4 Q (There are tw)5 E 2.5(os)-.1 G(earch modes:)-2.5 E F2(incr)2.51 E (emental)-.37 E F0(and)3.01 E F2(non-incr)2.5 E(emental)-.37 E F0(.).51 -E .697(Incremental searches be)108 141.6 R .697 +E .697(Incremental searches be)108 223.2 R .697 (gin before the user has \214nished typing the search string.)-.15 F .698(As each character of the)5.698 F .113 -(search string is typed, readline displays the ne)108 153.6 R .112 +(search string is typed, readline displays the ne)108 235.2 R .112 (xt entry from the history matching the string typed so f)-.15 F(ar)-.1 E 5.112(.A)-.55 G(n)-5.112 E .542 -(incremental search requires only as man)108 165.6 R 3.042(yc)-.15 G +(incremental search requires only as man)108 247.2 R 3.042(yc)-.15 G .542(haracters as needed to \214nd the desired history entry)-3.042 F 5.542(.T)-.65 G .542(he char)-5.542 F(-)-.2 E .224 -(acters present in the v)108 177.6 R .224(alue of the)-.25 F F1(isear) +(acters present in the v)108 259.2 R .224(alue of the)-.25 F F1(isear) 2.724 E(ch-terminators)-.18 E F0 -.25(va)2.724 G .224 (riable are used to terminate an incremental search.).25 F .66 -(If that v)108 189.6 R .66(ariable has not been assigned a v)-.25 F .66 +(If that v)108 271.2 R .66(ariable has not been assigned a v)-.25 F .66 (alue the Escape and Control-J characters will terminate an incre-)-.25 -F .097(mental search.)108 201.6 R .096(Control-G will abort an incremen\ +F .097(mental search.)108 283.2 R .096(Control-G will abort an incremen\ tal search and restore the original line.)5.097 F .096 (When the search is)5.096 F(terminated, the history entry containing th\ -e search string becomes the current line.)108 213.6 Q 2.938 -.8(To \214) -108 230.4 T 1.339(nd other matching entries in the history list, type C\ -ontrol-S or Control-R as appropriate.).8 F 1.339(This will)6.339 F .675 -(search backw)108 242.4 R .675(ard or forw)-.1 F .675 +e search string becomes the current line.)108 295.2 Q 2.938 -.8(To \214) +108 312 T 1.339(nd other matching entries in the history list, type Con\ +trol-S or Control-R as appropriate.).8 F 1.339(This will)6.339 F .675 +(search backw)108 324 R .675(ard or forw)-.1 F .675 (ard in the history for the ne)-.1 F .674 (xt entry matching the search string typed so f)-.15 F(ar)-.1 E 5.674 -(.A)-.55 G -.15(ny)-5.674 G .174(other k)108 254.4 R .474 -.15(ey s)-.1 -H .174 +(.A)-.55 G -.15(ny)-5.674 G .174(other k)108 336 R .474 -.15(ey s)-.1 H +.174 (equence bound to a readline command will terminate the search and e).15 F -.15(xe)-.15 G .175(cute that command.).15 F -.15(Fo)5.175 G(r).15 E -.541(instance, a)108 266.4 R F2(ne)3.041 E(wline)-.15 E F0 .541 +.541(instance, a)108 348 R F2(ne)3.041 E(wline)-.15 E F0 .541 (will terminate the search and accept the line, thereby e)3.041 F -.15 -(xe)-.15 G .54(cuting the command from the).15 F(history list.)108 278.4 -Q .653(Readline remembers the last incremental search string.)108 295.2 -R .653(If tw)5.653 F 3.153(oC)-.1 G .653(ontrol-Rs are typed without an) +(xe)-.15 G .54(cuting the command from the).15 F(history list.)108 360 Q +.653(Readline remembers the last incremental search string.)108 376.8 R +.653(If tw)5.653 F 3.153(oC)-.1 G .653(ontrol-Rs are typed without an) -3.153 F 3.153(yi)-.15 G(nterv)-3.153 E(en-)-.15 E -(ing characters de\214ning a ne)108 307.2 Q 2.5(ws)-.25 G +(ing characters de\214ning a ne)108 388.8 Q 2.5(ws)-.25 G (earch string, an)-2.5 E 2.5(yr)-.15 G(emembered search string is used.) -2.5 E .567(Non-incremental searches read the entire search string befo\ -re starting to search for matching history lines.)108 324 R(The search \ -string may be typed by the user or be part of the contents of the curre\ -nt line.)108 336 Q F1(Readline Command Names)87 352.8 Q F0 1.391 -(The follo)108 364.8 R 1.391 +re starting to search for matching history lines.)108 405.6 R(The searc\ +h string may be typed by the user or be part of the contents of the cur\ +rent line.)108 417.6 Q F1(Readline Command Names)87 434.4 Q F0 1.391 +(The follo)108 446.4 R 1.391 (wing is a list of the names of the commands and the def)-.25 F 1.391 (ault k)-.1 F 1.691 -.15(ey s)-.1 H 1.391(equences to which the).15 F -3.892(ya)-.15 G(re)-3.892 E 2.622(bound. Command)108 376.8 R .122 +3.892(ya)-.15 G(re)-3.892 E 2.622(bound. Command)108 458.4 R .122 (names without an accompan)2.622 F .122(ying k)-.15 F .421 -.15(ey s)-.1 H .121(equence are unbound by def).15 F 2.621(ault. In)-.1 F .121 -(the follo)2.621 F(wing)-.25 E(descriptions,)108 388.8 Q F2(point)3.41 E +(the follo)2.621 F(wing)-.25 E(descriptions,)108 470.4 Q F2(point)3.41 E F0 .91(refers to the current cursor position, and)3.41 F F2(mark)3.411 E F0 .911(refers to a cursor position sa)3.411 F -.15(ve)-.2 G 3.411(db) -.15 G 3.411(yt)-3.411 G(he)-3.411 E F1(set\255mark)108 400.8 Q F0 2.5 +.15 G 3.411(yt)-3.411 G(he)-3.411 E F1(set\255mark)108 482.4 Q F0 2.5 (command. The)2.5 F(te)2.5 E (xt between the point and mark is referred to as the)-.15 E F2 -.37(re) -2.5 G(gion)-.03 E F0(.)A F1(Commands f)87 417.6 Q(or Mo)-.25 E(ving)-.1 -E(beginning\255of\255line \(C\255a\))108 429.6 Q F0(Mo)144 441.6 Q .3 +2.5 G(gion)-.03 E F0(.)A F1(Commands f)87 499.2 Q(or Mo)-.25 E(ving)-.1 +E(beginning\255of\255line \(C\255a\))108 511.2 Q F0(Mo)144 523.2 Q .3 -.15(ve t)-.15 H 2.5(ot).15 G(he start of the current line.)-2.5 E F1 -(end\255of\255line \(C\255e\))108 453.6 Q F0(Mo)144 465.6 Q .3 -.15 +(end\255of\255line \(C\255e\))108 535.2 Q F0(Mo)144 547.2 Q .3 -.15 (ve t)-.15 H 2.5(ot).15 G(he end of the line.)-2.5 E F1 -.25(fo)108 -477.6 S(rward\255char \(C\255f\)).25 E F0(Mo)144 489.6 Q .3 -.15(ve f) +559.2 S(rward\255char \(C\255f\)).25 E F0(Mo)144 571.2 Q .3 -.15(ve f) -.15 H(orw).15 E(ard a character)-.1 E(.)-.55 E F1 -(backward\255char \(C\255b\))108 501.6 Q F0(Mo)144 513.6 Q .3 -.15(ve b) --.15 H(ack a character).15 E(.)-.55 E F1 -.25(fo)108 525.6 S(rward\255w) -.25 E(ord \(M\255f\))-.1 E F0(Mo)144 537.6 Q .823 -.15(ve f)-.15 H(orw) +(backward\255char \(C\255b\))108 583.2 Q F0(Mo)144 595.2 Q .3 -.15(ve b) +-.15 H(ack a character).15 E(.)-.55 E F1 -.25(fo)108 607.2 S(rward\255w) +.25 E(ord \(M\255f\))-.1 E F0(Mo)144 619.2 Q .823 -.15(ve f)-.15 H(orw) .15 E .523(ard to the end of the ne)-.1 F .523(xt w)-.15 F 3.023(ord. W) -.1 F .522(ords are composed of alphanumeric characters \(let-)-.8 F -(ters and digits\).)144 549.6 Q F1(backward\255w)108 561.6 Q -(ord \(M\255b\))-.1 E F0(Mo)144 573.6 Q 1.71 -.15(ve b)-.15 H 1.41 +(ters and digits\).)144 631.2 Q F1(backward\255w)108 643.2 Q +(ord \(M\255b\))-.1 E F0(Mo)144 655.2 Q 1.71 -.15(ve b)-.15 H 1.41 (ack to the start of the current or pre).15 F 1.41(vious w)-.25 F 3.91 (ord. W)-.1 F 1.41(ords are composed of alphanumeric)-.8 F -(characters \(letters and digits\).)144 585.6 Q F1(shell\255f)108 597.6 -Q(orward\255w)-.25 E(ord)-.1 E F0(Mo)144 609.6 Q .784 -.15(ve f)-.15 H +(characters \(letters and digits\).)144 667.2 Q F1(shell\255f)108 679.2 +Q(orward\255w)-.25 E(ord)-.1 E F0(Mo)144 691.2 Q .784 -.15(ve f)-.15 H (orw).15 E .484(ard to the end of the ne)-.1 F .484(xt w)-.15 F 2.984 (ord. W)-.1 F .484(ords are delimited by non-quoted shell metacharac-) --.8 F(ters.)144 621.6 Q F1(shell\255backward\255w)108 633.6 Q(ord)-.1 E -F0(Mo)144 645.6 Q .908 -.15(ve b)-.15 H .609 -(ack to the start of the current or pre).15 F .609(vious w)-.25 F 3.109 -(ord. W)-.1 F .609(ords are delimited by non-quoted shell)-.8 F -(metacharacters.)144 657.6 Q F1(clear\255scr)108 669.6 Q(een \(C\255l\)) --.18 E F0 .993(Clear the screen lea)144 681.6 R .993 -(ving the current line at the top of the screen.)-.2 F -.4(Wi)5.993 G -.993(th an ar).4 F .993(gument, refresh the)-.18 F -(current line without clearing the screen.)144 693.6 Q F1 -.18(re)108 -705.6 S(draw\255curr).18 E(ent\255line)-.18 E F0 -(Refresh the current line.)144 717.6 Q(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(41)190.95 E 0 Cg EP -%%Page: 42 42 +-.8 F(ters.)144 703.2 Q(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E +(43)192.055 E 0 Cg EP +%%Page: 44 44 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(Commands f)87 84 Q -(or Manipulating the History)-.25 E(accept\255line \(Newline, Retur)108 -96 Q(n\))-.15 E F0 .158(Accept the line re)144 108 R -.05(ga)-.15 G .158 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(shell\255backward\255w)108 84 Q(ord)-.1 E F0(Mo)144 96 Q .908 -.15 +(ve b)-.15 H .609(ack to the start of the current or pre).15 F .609 +(vious w)-.25 F 3.109(ord. W)-.1 F .609 +(ords are delimited by non-quoted shell)-.8 F(metacharacters.)144 108 Q +F1(clear\255scr)108 120 Q(een \(C\255l\))-.18 E F0 .993 +(Clear the screen lea)144 132 R .993 +(ving the current line at the top of the screen.)-.2 F -.4(Wi)5.993 G +.993(th an ar).4 F .993(gument, refresh the)-.18 F +(current line without clearing the screen.)144 144 Q F1 -.18(re)108 156 +S(draw\255curr).18 E(ent\255line)-.18 E F0(Refresh the current line.)144 +168 Q F1(Commands f)87 184.8 Q(or Manipulating the History)-.25 E +(accept\255line \(Newline, Retur)108 196.8 Q(n\))-.15 E F0 .158 +(Accept the line re)144 208.8 R -.05(ga)-.15 G .158 (rdless of where the cursor is.).05 F .158(If this line is non-empty) 5.158 F 2.659(,a)-.65 G .159(dd it to the history list)-2.659 F .699 -(according to the state of the)144 120 R/F2 9/Times-Bold@0 SF(HISTCONTR) -3.199 E(OL)-.27 E F0 -.25(va)2.949 G 3.199(riable. If).25 F .699 -(the line is a modi\214ed history line, then)3.199 F -(restore the history line to its original state.)144 132 Q F1(pr)108 144 -Q -.15(ev)-.18 G(ious\255history \(C\255p\)).15 E F0(Fetch the pre)144 -156 Q(vious command from the history list, mo)-.25 E -(ving back in the list.)-.15 E F1(next\255history \(C\255n\))108 168 Q -F0(Fetch the ne)144 180 Q(xt command from the history list, mo)-.15 E -(ving forw)-.15 E(ard in the list.)-.1 E F1 -(beginning\255of\255history \(M\255<\))108 192 Q F0(Mo)144 204 Q .3 -.15 -(ve t)-.15 H 2.5(ot).15 G(he \214rst line in the history)-2.5 E(.)-.65 E -F1(end\255of\255history \(M\255>\))108 216 Q F0(Mo)144 228 Q .3 -.15 -(ve t)-.15 H 2.5(ot).15 G(he end of the input history)-2.5 E 2.5(,i)-.65 -G(.e., the line currently being entered.)-2.5 E F1 -2.29 -.18(re v)108 -240 T(erse\255sear).08 E(ch\255history \(C\255r\))-.18 E F0 1.47 -(Search backw)144 252 R 1.471(ard starting at the current line and mo) --.1 F 1.471(ving `up' through the history as necessary)-.15 F(.)-.65 E -(This is an incremental search.)144 264 Q F1 -.25(fo)108 276 S +(according to the state of the)144 220.8 R/F2 9/Times-Bold@0 SF +(HISTCONTR)3.199 E(OL)-.27 E F0 -.25(va)2.949 G 3.199(riable. If).25 F +.699(the line is a modi\214ed history line, then)3.199 F +(restore the history line to its original state.)144 232.8 Q F1(pr)108 +244.8 Q -.15(ev)-.18 G(ious\255history \(C\255p\)).15 E F0 +(Fetch the pre)144 256.8 Q(vious command from the history list, mo)-.25 +E(ving back in the list.)-.15 E F1(next\255history \(C\255n\))108 268.8 +Q F0(Fetch the ne)144 280.8 Q(xt command from the history list, mo)-.15 +E(ving forw)-.15 E(ard in the list.)-.1 E F1 +(beginning\255of\255history \(M\255<\))108 292.8 Q F0(Mo)144 304.8 Q .3 +-.15(ve t)-.15 H 2.5(ot).15 G(he \214rst line in the history)-2.5 E(.) +-.65 E F1(end\255of\255history \(M\255>\))108 316.8 Q F0(Mo)144 328.8 Q +.3 -.15(ve t)-.15 H 2.5(ot).15 G(he end of the input history)-2.5 E 2.5 +(,i)-.65 G(.e., the line currently being entered.)-2.5 E F1 -2.29 -.18 +(re v)108 340.8 T(erse\255sear).08 E(ch\255history \(C\255r\))-.18 E F0 +1.47(Search backw)144 352.8 R 1.471 +(ard starting at the current line and mo)-.1 F 1.471 +(ving `up' through the history as necessary)-.15 F(.)-.65 E +(This is an incremental search.)144 364.8 Q F1 -.25(fo)108 376.8 S (rward\255sear).25 E(ch\255history \(C\255s\))-.18 E F0 1.132 -(Search forw)144 288 R 1.132(ard starting at the current line and mo)-.1 -F 1.131(ving `do)-.15 F 1.131(wn' through the history as necessary)-.25 -F(.)-.65 E(This is an incremental search.)144 300 Q F1(non\255incr)108 -312 Q(emental\255r)-.18 E -2.3 -.15(ev e)-.18 H(rse\255sear).15 E -(ch\255history \(M\255p\))-.18 E F0 .164(Search backw)144 324 R .164(ar\ -d through the history starting at the current line using a non-incremen\ -tal search for)-.1 F 2.5(as)144 336 S(tring supplied by the user)-2.5 E -(.)-.55 E F1(non\255incr)108 348 Q(emental\255f)-.18 E(orward\255sear) --.25 E(ch\255history \(M\255n\))-.18 E F0 1.354(Search forw)144 360 R -1.354(ard through the history using a non-incremental search for a stri\ -ng supplied by the)-.1 F(user)144 372 Q(.)-.55 E F1(history\255sear)108 -384 Q(ch\255f)-.18 E(orward)-.25 E F0 .248(Search forw)144 396 R .249(a\ -rd through the history for the string of characters between the start o\ -f the current line)-.1 F(and the point.)144 408 Q -(This is a non-incremental search.)5 E F1(history\255sear)108 420 Q -(ch\255backward)-.18 E F0 .951(Search backw)144 432 R .951(ard through \ -the history for the string of characters between the start of the curre\ -nt)-.1 F(line and the point.)144 444 Q -(This is a non-incremental search.)5 E F1(yank\255nth\255ar)108 456 Q -2.5(g\()-.1 G<4dad43ad7929>-2.5 E F0 .622(Insert the \214rst ar)144 468 -R .622(gument to the pre)-.18 F .622 +(Search forw)144 388.8 R 1.132(ard starting at the current line and mo) +-.1 F 1.131(ving `do)-.15 F 1.131(wn' through the history as necessary) +-.25 F(.)-.65 E(This is an incremental search.)144 400.8 Q F1 +(non\255incr)108 412.8 Q(emental\255r)-.18 E -2.3 -.15(ev e)-.18 H +(rse\255sear).15 E(ch\255history \(M\255p\))-.18 E F0 .164(Search backw) +144 424.8 R .164(ard through the history starting at the current line u\ +sing a non-incremental search for)-.1 F 2.5(as)144 436.8 S +(tring supplied by the user)-2.5 E(.)-.55 E F1(non\255incr)108 448.8 Q +(emental\255f)-.18 E(orward\255sear)-.25 E(ch\255history \(M\255n\))-.18 +E F0 1.354(Search forw)144 460.8 R 1.354(ard through the history using \ +a non-incremental search for a string supplied by the)-.1 F(user)144 +472.8 Q(.)-.55 E F1(history\255sear)108 484.8 Q(ch\255f)-.18 E(orward) +-.25 E F0 .248(Search forw)144 496.8 R .249(ard through the history for\ + the string of characters between the start of the current line)-.1 F +(and the point.)144 508.8 Q(This is a non-incremental search.)5 E F1 +(history\255sear)108 520.8 Q(ch\255backward)-.18 E F0 .951(Search backw) +144 532.8 R .951(ard through the history for the string of characters b\ +etween the start of the current)-.1 F(line and the point.)144 544.8 Q +(This is a non-incremental search.)5 E F1(yank\255nth\255ar)108 556.8 Q +2.5(g\()-.1 G<4dad43ad7929>-2.5 E F0 .622(Insert the \214rst ar)144 +568.8 R .622(gument to the pre)-.18 F .622 (vious command \(usually the second w)-.25 F .622(ord on the pre)-.1 F -.622(vious line\))-.25 F .795(at point.)144 480 R -.4(Wi)5.795 G .794 +.622(vious line\))-.25 F .795(at point.)144 580.8 R -.4(Wi)5.795 G .794 (th an ar).4 F(gument)-.18 E/F3 10/Times-Italic@0 SF(n)3.294 E F0 3.294 (,i).24 G .794(nsert the)-3.294 F F3(n)3.294 E F0 .794(th w)B .794 (ord from the pre)-.1 F .794(vious command \(the w)-.25 F .794 -(ords in the)-.1 F(pre)144 492 Q .291(vious command be)-.25 F .291 +(ords in the)-.1 F(pre)144 592.8 Q .291(vious command be)-.25 F .291 (gin with w)-.15 F .291(ord 0\).)-.1 F 2.791(An)5.291 G -2.25 -.15(eg a) -2.791 H(ti).15 E .591 -.15(ve a)-.25 H -.18(rg).15 G .291 (ument inserts the).18 F F3(n)2.791 E F0 .291(th w)B .292 -(ord from the end of)-.1 F .282(the pre)144 504 R .282(vious command.) +(ord from the end of)-.1 F .282(the pre)144 604.8 R .282(vious command.) -.25 F .282(Once the ar)5.282 F(gument)-.18 E F3(n)2.781 E F0 .281 (is computed, the ar)2.781 F .281(gument is e)-.18 F .281 -(xtracted as if the "!)-.15 F F3(n)A F0(")A(history e)144 516 Q -(xpansion had been speci\214ed.)-.15 E F1(yank\255last\255ar)108 528 Q +(xtracted as if the "!)-.15 F F3(n)A F0(")A(history e)144 616.8 Q +(xpansion had been speci\214ed.)-.15 E F1(yank\255last\255ar)108 628.8 Q 2.5(g\()-.1 G -1.667(M\255. ,)-2.5 F -1.667(M\255_ \))2.5 F F0 1.307 -(Insert the last ar)144 540 R 1.307(gument to the pre)-.18 F 1.307 +(Insert the last ar)144 640.8 R 1.307(gument to the pre)-.18 F 1.307 (vious command \(the last w)-.25 F 1.308(ord of the pre)-.1 F 1.308 -(vious history entry\).)-.25 F -.4(Wi)144 552 S .204(th a numeric ar).4 -F .204(gument, beha)-.18 F .504 -.15(ve ex)-.2 H .204(actly lik).15 F(e) --.1 E F1(yank\255nth\255ar)2.704 E(g)-.1 E F0 5.203(.S)C(uccessi)-5.203 -E .503 -.15(ve c)-.25 H .203(alls to).15 F F1(yank\255last\255ar)2.703 E -(g)-.1 E F0(mo)144 564 Q .806 -.15(ve b)-.15 H .507 +(vious history entry\).)-.25 F -.4(Wi)144 652.8 S .204(th a numeric ar) +.4 F .204(gument, beha)-.18 F .504 -.15(ve ex)-.2 H .204(actly lik).15 F +(e)-.1 E F1(yank\255nth\255ar)2.704 E(g)-.1 E F0 5.203(.S)C(uccessi) +-5.203 E .503 -.15(ve c)-.25 H .203(alls to).15 F F1(yank\255last\255ar) +2.703 E(g)-.1 E F0(mo)144 664.8 Q .806 -.15(ve b)-.15 H .507 (ack through the history list, inserting the last w).15 F .507 (ord \(or the w)-.1 F .507(ord speci\214ed by the ar)-.1 F(gument)-.18 E -1.397(to the \214rst call\) of each line in turn.)144 576 R(An)6.396 E +1.397(to the \214rst call\) of each line in turn.)144 676.8 R(An)6.396 E 3.896(yn)-.15 G 1.396(umeric ar)-3.896 F 1.396 (gument supplied to these successi)-.18 F 1.696 -.15(ve c)-.25 H(alls) -.15 E .491(determines the direction to mo)144 588 R .791 -.15(ve t)-.15 -H .491(hrough the history).15 F 5.492(.A)-.65 G(ne)-2.5 E -.05(ga)-.15 G -(ti).05 E .792 -.15(ve a)-.25 H -.18(rg).15 G .492 +.15 E .491(determines the direction to mo)144 688.8 R .791 -.15(ve t) +-.15 H .491(hrough the history).15 F 5.492(.A)-.65 G(ne)-2.5 E -.05(ga) +-.15 G(ti).05 E .792 -.15(ve a)-.25 H -.18(rg).15 G .492 (ument switches the direction).18 F .494 -(through the history \(back or forw)144 600 R 2.994(ard\). The)-.1 F +(through the history \(back or forw)144 700.8 R 2.994(ard\). The)-.1 F .494(history e)2.994 F .494(xpansion f)-.15 F .494 (acilities are used to e)-.1 F .494(xtract the last)-.15 F -.1(wo)144 -612 S(rd, as if the "!$" history e).1 E(xpansion had been speci\214ed.) --.15 E F1(shell\255expand\255line \(M\255C\255e\))108 624 Q F0 .622 -(Expand the line as the shell does.)144 636 R .622 +712.8 S(rd, as if the "!$" history e).1 E +(xpansion had been speci\214ed.)-.15 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(44)192.055 E 0 Cg EP +%%Page: 45 45 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(shell\255expand\255line \(M\255C\255e\))108 84 Q F0 .622 +(Expand the line as the shell does.)144 96 R .622 (This performs alias and history e)5.622 F .623 -(xpansion as well as all of the)-.15 F(shell w)144 648 Q(ord e)-.1 E 2.5 -(xpansions. See)-.15 F F2(HIST)2.5 E(OR)-.162 E 2.25(YE)-.315 G(XP)-2.25 -E(ANSION)-.666 E F0(belo)2.25 E 2.5(wf)-.25 G +(xpansion as well as all of the)-.15 F(shell w)144 108 Q(ord e)-.1 E 2.5 +(xpansions. See)-.15 F/F2 9/Times-Bold@0 SF(HIST)2.5 E(OR)-.162 E 2.25 +(YE)-.315 G(XP)-2.25 E(ANSION)-.666 E F0(belo)2.25 E 2.5(wf)-.25 G (or a description of history e)-2.5 E(xpansion.)-.15 E F1 -(history\255expand\255line \(M\255^\))108 660 Q F0 .939 -(Perform history e)144 672 R .939(xpansion on the current line.)-.15 F +(history\255expand\255line \(M\255^\))108 120 Q F0 .939 +(Perform history e)144 132 R .939(xpansion on the current line.)-.15 F (See)5.939 E F2(HIST)3.439 E(OR)-.162 E 3.189(YE)-.315 G(XP)-3.189 E (ANSION)-.666 E F0(belo)3.189 E 3.438(wf)-.25 G .938(or a descrip-) --3.438 F(tion of history e)144 684 Q(xpansion.)-.15 E F1(magic\255space) -108 696 Q F0 1.626(Perform history e)144 708 R 1.626 +-3.438 F(tion of history e)144 144 Q(xpansion.)-.15 E F1(magic\255space) +108 156 Q F0 1.626(Perform history e)144 168 R 1.626 (xpansion on the current line and insert a space.)-.15 F(See)6.627 E F2 (HIST)4.127 E(OR)-.162 E 3.877(YE)-.315 G(XP)-3.877 E(ANSION)-.666 E F0 -(belo)144 720 Q 2.5(wf)-.25 G(or a description of history e)-2.5 E -(xpansion.)-.15 E(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(42) -190.95 E 0 Cg EP -%%Page: 43 43 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(alias\255expand\255line)108 84 Q F0 .395 -(Perform alias e)144 96 R .395(xpansion on the current line.)-.15 F(See) -5.395 E/F2 9/Times-Bold@0 SF(ALIASES)2.895 E F0(abo)2.645 E .694 -.15 -(ve f)-.15 H .394(or a description of alias e).15 F(xpan-)-.15 E(sion.) -144 108 Q F1(history\255and\255alias\255expand\255line)108 120 Q F0 -(Perform history and alias e)144 132 Q(xpansion on the current line.) --.15 E F1(insert\255last\255ar)108 144 Q(gument \(M\255.)-.1 E 2.5(,M) -.833 G -1.667(\255_ \))-2.5 F F0 2.5(As)144 156 S(ynon)-2.5 E(ym for) +(belo)144 180 Q 2.5(wf)-.25 G(or a description of history e)-2.5 E +(xpansion.)-.15 E F1(alias\255expand\255line)108 192 Q F0 .395 +(Perform alias e)144 204 R .395(xpansion on the current line.)-.15 F +(See)5.395 E F2(ALIASES)2.895 E F0(abo)2.645 E .694 -.15(ve f)-.15 H +.394(or a description of alias e).15 F(xpan-)-.15 E(sion.)144 216 Q F1 +(history\255and\255alias\255expand\255line)108 228 Q F0 +(Perform history and alias e)144 240 Q(xpansion on the current line.) +-.15 E F1(insert\255last\255ar)108 252 Q(gument \(M\255.)-.1 E 2.5(,M) +.833 G -1.667(\255_ \))-2.5 F F0 2.5(As)144 264 S(ynon)-2.5 E(ym for) -.15 E F1(yank\255last\255ar)2.5 E(g)-.1 E F0(.)A F1 -(operate\255and\255get\255next \(C\255o\))108 168 Q F0 .947 -(Accept the current line for e)144 180 R -.15(xe)-.15 G .948 +(operate\255and\255get\255next \(C\255o\))108 276 Q F0 .947 +(Accept the current line for e)144 288 R -.15(xe)-.15 G .948 (cution and fetch the ne).15 F .948(xt line relati)-.15 F 1.248 -.15 (ve t)-.25 H 3.448(ot).15 G .948(he current line from the)-3.448 F -(history for editing.)144 192 Q(An)5 E 2.5(ya)-.15 G -.18(rg)-2.5 G +(history for editing.)144 300 Q(An)5 E 2.5(ya)-.15 G -.18(rg)-2.5 G (ument is ignored.).18 E F1 -(edit\255and\255execute\255command \(C\255xC\255e\))108 204 Q F0(In)144 -216 Q -.2(vo)-.4 G 1.226 -.1(ke a).2 H 3.526(ne).1 G 1.026 +(edit\255and\255execute\255command \(C\255xC\255e\))108 312 Q F0(In)144 +324 Q -.2(vo)-.4 G 1.226 -.1(ke a).2 H 3.526(ne).1 G 1.026 (ditor on the current command line, and e)-3.526 F -.15(xe)-.15 G 1.026 (cute the result as shell commands.).15 F F1(Bash)6.026 E F0 -(attempts to in)144 228 Q -.2(vo)-.4 G -.1(ke).2 G F2($VISU)2.6 E(AL) +(attempts to in)144 336 Q -.2(vo)-.4 G -.1(ke).2 G F2($VISU)2.6 E(AL) -.54 E/F3 9/Times-Roman@0 SF(,)A F2($EDIT)2.25 E(OR)-.162 E F3(,)A F0 (and)2.25 E/F4 10/Times-Italic@0 SF(emacs)2.5 E F0(as the editor)2.5 E 2.5(,i)-.4 G 2.5(nt)-2.5 G(hat order)-2.5 E(.)-.55 E F1(Commands f)87 -244.8 Q(or Changing T)-.25 E(ext)-.92 E F4(end\255of\255\214le)108 256.8 +352.8 Q(or Changing T)-.25 E(ext)-.92 E F4(end\255of\255\214le)108 364.8 Q F1(\(usually C\255d\))2.5 E F0 .798 -(The character indicating end-of-\214le as set, for e)144 268.8 R .799 +(The character indicating end-of-\214le as set, for e)144 376.8 R .799 (xample, by)-.15 F/F5 10/Courier@0 SF(stty)3.299 E F0 5.799(.I)C 3.299 (ft)-5.799 G .799(his character is read when)-3.299 F .592 -(there are no characters on the line, and point is at the be)144 280.8 R +(there are no characters on the line, and point is at the be)144 388.8 R .592(ginning of the line, Readline interprets it)-.15 F -(as the end of input and returns)144 292.8 Q F2(EOF)2.5 E F3(.)A F1 -(delete\255char \(C\255d\))108 304.8 Q F0 .441 -(Delete the character at point.)144 316.8 R .442 +(as the end of input and returns)144 400.8 Q F2(EOF)2.5 E F3(.)A F1 +(delete\255char \(C\255d\))108 412.8 Q F0 .441 +(Delete the character at point.)144 424.8 R .442 (If this function is bound to the same character as the tty)5.441 F F1 -(EOF)2.942 E F0(char)2.942 E(-)-.2 E(acter)144 328.8 Q 2.5(,a)-.4 G(s) +(EOF)2.942 E F0(char)2.942 E(-)-.2 E(acter)144 436.8 Q 2.5(,a)-.4 G(s) -2.5 E F1(C\255d)2.5 E F0(commonly is, see abo)2.5 E .3 -.15(ve f)-.15 H (or the ef).15 E(fects.)-.25 E F1(backward\255delete\255char \(Rubout\)) -108 340.8 Q F0 .553(Delete the character behind the cursor)144 352.8 R +108 448.8 Q F0 .553(Delete the character behind the cursor)144 460.8 R 5.553(.W)-.55 G .553(hen gi)-5.553 F -.15(ve)-.25 G 3.053(nan).15 G .553 (umeric ar)-3.053 F .552(gument, sa)-.18 F .852 -.15(ve t)-.2 H .552 -(he deleted te).15 F .552(xt on)-.15 F(the kill ring.)144 364.8 Q F1 --.25(fo)108 376.8 S(rward\255backward\255delete\255char).25 E F0 .473 -(Delete the character under the cursor)144 388.8 R 2.973(,u)-.4 G .474 +(he deleted te).15 F .552(xt on)-.15 F(the kill ring.)144 472.8 Q F1 +-.25(fo)108 484.8 S(rward\255backward\255delete\255char).25 E F0 .473 +(Delete the character under the cursor)144 496.8 R 2.973(,u)-.4 G .474 (nless the cursor is at the end of the line, in which case the)-2.973 F -(character behind the cursor is deleted.)144 400.8 Q F1 -(quoted\255insert \(C\255q, C\255v\))108 412.8 Q F0 .779(Add the ne)144 -424.8 R .779(xt character typed to the line v)-.15 F 3.279 +(character behind the cursor is deleted.)144 508.8 Q F1 +(quoted\255insert \(C\255q, C\255v\))108 520.8 Q F0 .779(Add the ne)144 +532.8 R .779(xt character typed to the line v)-.15 F 3.279 (erbatim. This)-.15 F .779(is ho)3.279 F 3.279(wt)-.25 G 3.279(oi)-3.279 G .779(nsert characters lik)-3.279 F(e)-.1 E F1(C\255q)3.278 E F0 3.278 -(,f)C(or)-3.278 E -.15(ex)144 436.8 S(ample.).15 E F1 -(tab\255insert \(C\255v T)108 448.8 Q(AB\))-.9 E F0 -(Insert a tab character)144 460.8 Q(.)-.55 E F1 -(self\255insert \(a, b, A, 1, !, ...\))108 472.8 Q F0 -(Insert the character typed.)144 484.8 Q F1 -(transpose\255chars \(C\255t\))108 496.8 Q F0 .321 -(Drag the character before point forw)144 508.8 R .321(ard o)-.1 F -.15 +(,f)C(or)-3.278 E -.15(ex)144 544.8 S(ample.).15 E F1 +(tab\255insert \(C\255v T)108 556.8 Q(AB\))-.9 E F0 +(Insert a tab character)144 568.8 Q(.)-.55 E F1 +(self\255insert \(a, b, A, 1, !, ...\))108 580.8 Q F0 +(Insert the character typed.)144 592.8 Q F1 +(transpose\255chars \(C\255t\))108 604.8 Q F0 .321 +(Drag the character before point forw)144 616.8 R .321(ard o)-.1 F -.15 (ve)-.15 G 2.821(rt).15 G .321(he character at point, mo)-2.821 F .322 (ving point forw)-.15 F .322(ard as well.)-.1 F 1.182 (If point is at the end of the line, then this transposes the tw)144 -520.8 R 3.682(oc)-.1 G 1.182(haracters before point.)-3.682 F(Ne)6.182 E --.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G(ar)144 532.8 Q(guments ha)-.18 E +628.8 R 3.682(oc)-.1 G 1.182(haracters before point.)-3.682 F(Ne)6.182 E +-.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G(ar)144 640.8 Q(guments ha)-.18 E .3 -.15(ve n)-.2 H 2.5(oe).15 G -.25(ff)-2.5 G(ect.).25 E F1 -(transpose\255w)108 544.8 Q(ords \(M\255t\))-.1 E F0 .023(Drag the w)144 -556.8 R .023(ord before point past the w)-.1 F .023(ord after point, mo) +(transpose\255w)108 652.8 Q(ords \(M\255t\))-.1 E F0 .023(Drag the w)144 +664.8 R .023(ord before point past the w)-.1 F .023(ord after point, mo) -.1 F .023(ving point o)-.15 F -.15(ve)-.15 G 2.524(rt).15 G .024(hat w) -2.524 F .024(ord as well.)-.1 F .024(If point)5.024 F -(is at the end of the line, this transposes the last tw)144 568.8 Q 2.5 -(ow)-.1 G(ords on the line.)-2.6 E F1(upcase\255w)108 580.8 Q +(is at the end of the line, this transposes the last tw)144 676.8 Q 2.5 +(ow)-.1 G(ords on the line.)-2.6 E F1(upcase\255w)108 688.8 Q (ord \(M\255u\))-.1 E F0 1.699(Uppercase the current \(or follo)144 -592.8 R 1.698(wing\) w)-.25 F 4.198(ord. W)-.1 F 1.698(ith a ne)-.4 F +700.8 R 1.698(wing\) w)-.25 F 4.198(ord. W)-.1 F 1.698(ith a ne)-.4 F -.05(ga)-.15 G(ti).05 E 1.998 -.15(ve a)-.25 H -.18(rg).15 G 1.698 -(ument, uppercase the pre).18 F(vious)-.25 E -.1(wo)144 604.8 S(rd, b).1 -E(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1(do)108 616.8 Q -(wncase\255w)-.1 E(ord \(M\255l\))-.1 E F0(Lo)144 628.8 Q 1.647 -(wercase the current \(or follo)-.25 F 1.647(wing\) w)-.25 F 4.147 +(ument, uppercase the pre).18 F(vious)-.25 E -.1(wo)144 712.8 S(rd, b).1 +E(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E(GNU Bash 4.4)72 768 +Q(2016 August 26)142.895 E(45)192.055 E 0 Cg EP +%%Page: 46 46 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(do)108 84 Q(wncase\255w)-.1 E(ord \(M\255l\))-.1 E F0(Lo)144 96 Q +1.647(wercase the current \(or follo)-.25 F 1.647(wing\) w)-.25 F 4.147 (ord. W)-.1 F 1.648(ith a ne)-.4 F -.05(ga)-.15 G(ti).05 E 1.948 -.15 (ve a)-.25 H -.18(rg).15 G 1.648(ument, lo).18 F 1.648(wercase the pre) --.25 F(vious)-.25 E -.1(wo)144 640.8 S(rd, b).1 E(ut do not mo)-.2 E .3 --.15(ve p)-.15 H(oint.).15 E F1(capitalize\255w)108 652.8 Q -(ord \(M\255c\))-.1 E F0 1.975(Capitalize the current \(or follo)144 -664.8 R 1.974(wing\) w)-.25 F 4.474(ord. W)-.1 F 1.974(ith a ne)-.4 F --.05(ga)-.15 G(ti).05 E 2.274 -.15(ve a)-.25 H -.18(rg).15 G 1.974 -(ument, capitalize the pre).18 F(vious)-.25 E -.1(wo)144 676.8 S(rd, b) -.1 E(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1 -.1(ove)108 -688.8 S(rwrite\255mode).1 E F0 -.8(To)144 700.8 S .437(ggle o).8 F -.15 -(ve)-.15 G .437(rwrite mode.).15 F -.4(Wi)5.437 G .437(th an e).4 F .437 +-.25 F(vious)-.25 E -.1(wo)144 108 S(rd, b).1 E(ut do not mo)-.2 E .3 +-.15(ve p)-.15 H(oint.).15 E F1(capitalize\255w)108 120 Q +(ord \(M\255c\))-.1 E F0 1.975(Capitalize the current \(or follo)144 132 +R 1.974(wing\) w)-.25 F 4.474(ord. W)-.1 F 1.974(ith a ne)-.4 F -.05(ga) +-.15 G(ti).05 E 2.274 -.15(ve a)-.25 H -.18(rg).15 G 1.974 +(ument, capitalize the pre).18 F(vious)-.25 E -.1(wo)144 144 S(rd, b).1 +E(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1 -.1(ove)108 156 +S(rwrite\255mode).1 E F0 -.8(To)144 168 S .437(ggle o).8 F -.15(ve)-.15 +G .437(rwrite mode.).15 F -.4(Wi)5.437 G .437(th an e).4 F .437 (xplicit positi)-.15 F .738 -.15(ve n)-.25 H .438(umeric ar).15 F .438 (gument, switches to o)-.18 F -.15(ve)-.15 G .438(rwrite mode.).15 F -.4 -(Wi)144 712.8 S .781(th an e).4 F .781(xplicit non-positi)-.15 F 1.081 +(Wi)144 180 S .781(th an e).4 F .781(xplicit non-positi)-.15 F 1.081 -.15(ve n)-.25 H .781(umeric ar).15 F .781 (gument, switches to insert mode.)-.18 F .78(This command af)5.781 F -(fects)-.25 E(only)144 724.8 Q F1(emacs)4.394 E F0(mode;)4.394 E F1(vi) +(fects)-.25 E(only)144 192 Q F1(emacs)4.394 E F0(mode;)4.394 E F1(vi) 4.394 E F0 1.894(mode does o)4.394 F -.15(ve)-.15 G 1.894(rwrite dif).15 -F(ferently)-.25 E 6.894(.E)-.65 G 1.894(ach call to)-6.894 F F4 -.37(re) -4.395 G(adline\(\)).37 E F0 1.895(starts in insert)4.395 F(GNU Bash 4.3) -72 768 Q(2014 February 2)141.79 E(43)190.95 E 0 Cg EP -%%Page: 44 44 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E 3.969(mode. In)144 84 R -.15(ove)3.969 G 1.469 -(rwrite mode, characters bound to).15 F/F1 10/Times-Bold@0 SF -(self\255insert)3.969 E F0 1.468(replace the te)3.969 F 1.468 -(xt at point rather than)-.15 F .957(pushing the te)144 96 R .957 -(xt to the right.)-.15 F .958(Characters bound to)5.957 F F1 -(backward\255delete\255char)3.458 E F0 .958(replace the character)3.458 -F(before point with a space.)144 108 Q(By def)5 E -(ault, this command is unbound.)-.1 E F1(Killing and Y)87 124.8 Q -(anking)-.85 E(kill\255line \(C\255k\))108 136.8 Q F0(Kill the te)144 -148.8 Q(xt from point to the end of the line.)-.15 E F1 -(backward\255kill\255line \(C\255x Rubout\))108 160.8 Q F0(Kill backw) -144 172.8 Q(ard to the be)-.1 E(ginning of the line.)-.15 E F1 -(unix\255line\255discard \(C\255u\))108 184.8 Q F0(Kill backw)144 196.8 +F(ferently)-.25 E 6.894(.E)-.65 G 1.894(ach call to)-6.894 F/F2 10 +/Times-Italic@0 SF -.37(re)4.395 G(adline\(\)).37 E F0 1.895 +(starts in insert)4.395 F 3.969(mode. In)144 204 R -.15(ove)3.969 G +1.469(rwrite mode, characters bound to).15 F F1(self\255insert)3.969 E +F0 1.468(replace the te)3.969 F 1.468(xt at point rather than)-.15 F +.957(pushing the te)144 216 R .957(xt to the right.)-.15 F .958 +(Characters bound to)5.957 F F1(backward\255delete\255char)3.458 E F0 +.958(replace the character)3.458 F(before point with a space.)144 228 Q +(By def)5 E(ault, this command is unbound.)-.1 E F1(Killing and Y)87 +244.8 Q(anking)-.85 E(kill\255line \(C\255k\))108 256.8 Q F0 +(Kill the te)144 268.8 Q(xt from point to the end of the line.)-.15 E F1 +(backward\255kill\255line \(C\255x Rubout\))108 280.8 Q F0(Kill backw) +144 292.8 Q(ard to the be)-.1 E(ginning of the line.)-.15 E F1 +(unix\255line\255discard \(C\255u\))108 304.8 Q F0(Kill backw)144 316.8 Q(ard from point to the be)-.1 E(ginning of the line.)-.15 E (The killed te)5 E(xt is sa)-.15 E -.15(ve)-.2 G 2.5(do).15 G 2.5(nt) --2.5 G(he kill-ring.)-2.5 E F1(kill\255whole\255line)108 208.8 Q F0 +-2.5 G(he kill-ring.)-2.5 E F1(kill\255whole\255line)108 328.8 Q F0 (Kill all characters on the current line, no matter where point is.)144 -220.8 Q F1(kill\255w)108 232.8 Q(ord \(M\255d\))-.1 E F0 .729 -(Kill from point to the end of the current w)144 244.8 R .728 +340.8 Q F1(kill\255w)108 352.8 Q(ord \(M\255d\))-.1 E F0 .729 +(Kill from point to the end of the current w)144 364.8 R .728 (ord, or if between w)-.1 F .728(ords, to the end of the ne)-.1 F .728 -(xt w)-.15 F(ord.)-.1 E -.8(Wo)144 256.8 S +(xt w)-.15 F(ord.)-.1 E -.8(Wo)144 376.8 S (rd boundaries are the same as those used by).8 E F1 -.25(fo)2.5 G -(rward\255w).25 E(ord)-.1 E F0(.)A F1(backward\255kill\255w)108 268.8 Q -(ord \(M\255Rubout\))-.1 E F0(Kill the w)144 280.8 Q(ord behind point.) +(rward\255w).25 E(ord)-.1 E F0(.)A F1(backward\255kill\255w)108 388.8 Q +(ord \(M\255Rubout\))-.1 E F0(Kill the w)144 400.8 Q(ord behind point.) -.1 E -.8(Wo)5 G(rd boundaries are the same as those used by).8 E F1 -(backward\255w)2.5 E(ord)-.1 E F0(.)A F1(shell\255kill\255w)108 292.8 Q -(ord \(M\255d\))-.1 E F0 .728 -(Kill from point to the end of the current w)144 304.8 R .729 -(ord, or if between w)-.1 F .729(ords, to the end of the ne)-.1 F .729 -(xt w)-.15 F(ord.)-.1 E -.8(Wo)144 316.8 S +(backward\255w)2.5 E(ord)-.1 E F0(.)A F1(shell\255kill\255w)108 412.8 Q +(ord)-.1 E F0 .728(Kill from point to the end of the current w)144 424.8 +R .729(ord, or if between w)-.1 F .729(ords, to the end of the ne)-.1 F +.729(xt w)-.15 F(ord.)-.1 E -.8(Wo)144 436.8 S (rd boundaries are the same as those used by).8 E F1(shell\255f)2.5 E (orward\255w)-.25 E(ord)-.1 E F0(.)A F1(shell\255backward\255kill\255w) -108 328.8 Q(ord \(M\255Rubout\))-.1 E F0 3.025(Kill the w)144 340.8 R -3.025(ord behind point.)-.1 F -.8(Wo)8.025 G 3.025 +108 448.8 Q(ord)-.1 E F0 3.025(Kill the w)144 460.8 R 3.025 +(ord behind point.)-.1 F -.8(Wo)8.025 G 3.025 (rd boundaries are the same as those used by).8 F F1(shell\255back-) -5.525 E(ward\255w)144 352.8 Q(ord)-.1 E F0(.)A F1(unix\255w)108 364.8 Q -(ord\255rubout \(C\255w\))-.1 E F0 .364(Kill the w)144 376.8 R .364 +5.525 E(ward\255w)144 472.8 Q(ord)-.1 E F0(.)A F1(unix\255w)108 484.8 Q +(ord\255rubout \(C\255w\))-.1 E F0 .364(Kill the w)144 496.8 R .364 (ord behind point, using white space as a w)-.1 F .365(ord boundary)-.1 F 5.365(.T)-.65 G .365(he killed te)-5.365 F .365(xt is sa)-.15 F -.15 (ve)-.2 G 2.865(do).15 G 2.865(nt)-2.865 G(he)-2.865 E(kill-ring.)144 -388.8 Q F1(unix\255\214lename\255rubout)108 400.8 Q F0 .167(Kill the w) -144 412.8 R .166 +508.8 Q F1(unix\255\214lename\255rubout)108 520.8 Q F0 .167(Kill the w) +144 532.8 R .166 (ord behind point, using white space and the slash character as the w) --.1 F .166(ord boundaries.)-.1 F(The)5.166 E(killed te)144 424.8 Q +-.1 F .166(ord boundaries.)-.1 F(The)5.166 E(killed te)144 544.8 Q (xt is sa)-.15 E -.15(ve)-.2 G 2.5(do).15 G 2.5(nt)-2.5 G(he kill-ring.) --2.5 E F1(delete\255horizontal\255space \(M\255\\\))108 436.8 Q F0 -(Delete all spaces and tabs around point.)144 448.8 Q F1(kill\255r)108 -460.8 Q(egion)-.18 E F0(Kill the te)144 472.8 Q(xt in the current re) --.15 E(gion.)-.15 E F1(copy\255r)108 484.8 Q(egion\255as\255kill)-.18 E -F0(Cop)144 496.8 Q 2.5(yt)-.1 G(he te)-2.5 E(xt in the re)-.15 E +-2.5 E F1(delete\255horizontal\255space \(M\255\\\))108 556.8 Q F0 +(Delete all spaces and tabs around point.)144 568.8 Q F1(kill\255r)108 +580.8 Q(egion)-.18 E F0(Kill the te)144 592.8 Q(xt in the current re) +-.15 E(gion.)-.15 E F1(copy\255r)108 604.8 Q(egion\255as\255kill)-.18 E +F0(Cop)144 616.8 Q 2.5(yt)-.1 G(he te)-2.5 E(xt in the re)-.15 E (gion to the kill b)-.15 E(uf)-.2 E(fer)-.25 E(.)-.55 E F1 -(copy\255backward\255w)108 508.8 Q(ord)-.1 E F0(Cop)144 520.8 Q 4.8(yt) +(copy\255backward\255w)108 628.8 Q(ord)-.1 E F0(Cop)144 640.8 Q 4.8(yt) -.1 G 2.3(he w)-4.8 F 2.3(ord before point to the kill b)-.1 F(uf)-.2 E (fer)-.25 E 7.301(.T)-.55 G 2.301(he w)-7.301 F 2.301 (ord boundaries are the same as)-.1 F F1(back-)4.801 E(ward\255w)144 -532.8 Q(ord)-.1 E F0(.)A F1(copy\255f)108 544.8 Q(orward\255w)-.25 E -(ord)-.1 E F0(Cop)144 556.8 Q 4.508(yt)-.1 G 2.008(he w)-4.508 F 2.008 +652.8 Q(ord)-.1 E F0(.)A F1(copy\255f)108 664.8 Q(orward\255w)-.25 E +(ord)-.1 E F0(Cop)144 676.8 Q 4.508(yt)-.1 G 2.008(he w)-4.508 F 2.008 (ord follo)-.1 F 2.008(wing point to the kill b)-.25 F(uf)-.2 E(fer)-.25 E 7.007(.T)-.55 G 2.007(he w)-7.007 F 2.007 (ord boundaries are the same as)-.1 F F1 -.25(fo)4.507 G -.37(r-).25 G -(ward\255w)144 568.8 Q(ord)-.1 E F0(.)A F1(yank \(C\255y\))108 580.8 Q -F0 -1(Ya)144 592.8 S(nk the top of the kill ring into the b)1 E(uf)-.2 E -(fer at point.)-.25 E F1(yank\255pop \(M\255y\))108 604.8 Q F0 -(Rotate the kill ring, and yank the ne)144 616.8 Q 2.5(wt)-.25 G 2.5 +(ward\255w)144 688.8 Q(ord)-.1 E F0(.)A F1(yank \(C\255y\))108 700.8 Q +F0 -1(Ya)144 712.8 S(nk the top of the kill ring into the b)1 E(uf)-.2 E +(fer at point.)-.25 E(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(46) +192.055 E 0 Cg EP +%%Page: 47 47 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(yank\255pop \(M\255y\))108 84 Q F0 +(Rotate the kill ring, and yank the ne)144 96 Q 2.5(wt)-.25 G 2.5 (op. Only)-2.5 F -.1(wo)2.5 G(rks follo).1 E(wing)-.25 E F1(yank)2.5 E -F0(or)2.5 E F1(yank\255pop)2.5 E F0(.)A F1(Numeric Ar)87 633.6 Q -(guments)-.1 E(digit\255ar)108 645.6 Q -(gument \(M\2550, M\2551, ..., M\255\255\))-.1 E F0 .641 -(Add this digit to the ar)144 657.6 R .641 -(gument already accumulating, or start a ne)-.18 F 3.141(wa)-.25 G -.18 -(rg)-3.141 G 3.142(ument. M\255\255).18 F .642(starts a ne)3.142 F(g-) --.15 E(ati)144 669.6 Q .3 -.15(ve a)-.25 H -.18(rg).15 G(ument.).18 E F1 -(uni)108 681.6 Q -.1(ve)-.1 G(rsal\255ar).1 E(gument)-.1 E F0 .779 -(This is another w)144 693.6 R .779(ay to specify an ar)-.1 F 3.279 -(gument. If)-.18 F .779(this command is follo)3.279 F .778 +F0(or)2.5 E F1(yank\255pop)2.5 E F0(.)A F1(Numeric Ar)87 112.8 Q +(guments)-.1 E(digit\255ar)108 124.8 Q +(gument \(M\2550, M\2551, ..., M\255\255\))-.1 E F0 .367 +(Add this digit to the ar)144 136.8 R .367 +(gument already accumulating, or start a ne)-.18 F 2.867(wa)-.25 G -.18 +(rg)-2.867 G 2.867(ument. M\255\255).18 F .367(starts a ne)2.867 F -.05 +(ga)-.15 G(-).05 E(ti)144 148.8 Q .3 -.15(ve a)-.25 H -.18(rg).15 G +(ument.).18 E F1(uni)108 160.8 Q -.1(ve)-.1 G(rsal\255ar).1 E(gument)-.1 +E F0 .779(This is another w)144 172.8 R .779(ay to specify an ar)-.1 F +3.279(gument. If)-.18 F .779(this command is follo)3.279 F .778 (wed by one or more digits,)-.25 F 1.376 (optionally with a leading minus sign, those digits de\214ne the ar)144 -705.6 R 3.876(gument. If)-.18 F 1.376(the command is fol-)3.876 F(lo)144 -717.6 Q 1.17(wed by digits, e)-.25 F -.15(xe)-.15 G(cuting).15 E F1(uni) +184.8 R 3.876(gument. If)-.18 F 1.376(the command is fol-)3.876 F(lo)144 +196.8 Q 1.17(wed by digits, e)-.25 F -.15(xe)-.15 G(cuting).15 E F1(uni) 3.67 E -.1(ve)-.1 G(rsal\255ar).1 E(gument)-.1 E F0(ag)3.67 E 1.17 (ain ends the numeric ar)-.05 F 1.17(gument, b)-.18 F 1.17(ut is other) --.2 F(-)-.2 E .898(wise ignored.)144 729.6 R .898 +-.2 F(-)-.2 E .898(wise ignored.)144 208.8 R .898 (As a special case, if this command is immediately follo)5.898 F .898 -(wed by a character that is)-.25 F(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(44)190.95 E 0 Cg EP -%%Page: 45 45 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .243(neither a digit or minus sign, the ar)144 84 R .243 -(gument count for the ne)-.18 F .243(xt command is multiplied by four) --.15 F 5.242(.T)-.55 G(he)-5.242 E(ar)144 96 Q .378 -(gument count is initially one, so e)-.18 F -.15(xe)-.15 G .378 -(cuting this function the \214rst time mak).15 F .378(es the ar)-.1 F -.378(gument count)-.18 F(four)144 108 Q 2.5(,as)-.4 G(econd time mak) --2.5 E(es the ar)-.1 E(gument count sixteen, and so on.)-.18 E/F1 10 -/Times-Bold@0 SF(Completing)87 124.8 Q(complete \(T)108 136.8 Q(AB\))-.9 -E F0 1.137(Attempt to perform completion on the te)144 148.8 R 1.137 +(wed by a character that is)-.25 F 1.23 +(neither a digit nor minus sign, the ar)144 220.8 R 1.23 +(gument count for the ne)-.18 F 1.23(xt command is multiplied by four) +-.15 F(.)-.55 E .822(The ar)144 232.8 R .822 +(gument count is initially one, so e)-.18 F -.15(xe)-.15 G .823 +(cuting this function the \214rst time mak).15 F .823(es the ar)-.1 F +(gument)-.18 E(count four)144 244.8 Q 2.5(,as)-.4 G(econd time mak)-2.5 +E(es the ar)-.1 E(gument count sixteen, and so on.)-.18 E F1(Completing) +87 261.6 Q(complete \(T)108 273.6 Q(AB\))-.9 E F0 1.137 +(Attempt to perform completion on the te)144 285.6 R 1.137 (xt before point.)-.15 F F1(Bash)6.137 E F0 1.137 -(attempts completion treating the)3.637 F(te)144 160.8 Q .532(xt as a v) +(attempts completion treating the)3.637 F(te)144 297.6 Q .532(xt as a v) -.15 F .532(ariable \(if the te)-.25 F .532(xt be)-.15 F .533(gins with) -.15 F F1($)3.033 E F0 .533(\), username \(if the te)B .533(xt be)-.15 F .533(gins with)-.15 F F1(~)3.033 E F0 .533(\), hostname \(if the)B(te) -144 172.8 Q .702(xt be)-.15 F .702(gins with)-.15 F F1(@)3.202 E F0 .701 +144 309.6 Q .702(xt be)-.15 F .702(gins with)-.15 F F1(@)3.202 E F0 .701 (\), or command \(including aliases and functions\) in turn.)B .701 (If none of these pro-)5.701 F -(duces a match, \214lename completion is attempted.)144 184.8 Q F1 -(possible\255completions \(M\255?\))108 196.8 Q F0 -(List the possible completions of the te)144 208.8 Q(xt before point.) --.15 E F1(insert\255completions \(M\255*\))108 220.8 Q F0 .783 -(Insert all completions of the te)144 232.8 R .783 +(duces a match, \214lename completion is attempted.)144 321.6 Q F1 +(possible\255completions \(M\255?\))108 333.6 Q F0 +(List the possible completions of the te)144 345.6 Q(xt before point.) +-.15 E F1(insert\255completions \(M\255*\))108 357.6 Q F0 .783 +(Insert all completions of the te)144 369.6 R .783 (xt before point that w)-.15 F .783(ould ha)-.1 F 1.083 -.15(ve b)-.2 H .783(een generated by).15 F F1(possible\255com-)3.283 E(pletions)144 -244.8 Q F0(.)A F1(menu\255complete)108 256.8 Q F0 .929(Similar to)144 -268.8 R F1(complete)3.429 E F0 3.429(,b)C .929(ut replaces the w)-3.629 +381.6 Q F0(.)A F1(menu\255complete)108 393.6 Q F0 .929(Similar to)144 +405.6 R F1(complete)3.429 E F0 3.429(,b)C .929(ut replaces the w)-3.629 F .929(ord to be completed with a single match from the list of)-.1 F -1.193(possible completions.)144 280.8 R 1.193(Repeated e)6.193 F -.15 +1.193(possible completions.)144 417.6 R 1.193(Repeated e)6.193 F -.15 (xe)-.15 G 1.193(cution of).15 F F1(menu\255complete)3.694 E F0 1.194 (steps through the list of possible)3.694 F .829 -(completions, inserting each match in turn.)144 292.8 R .828 +(completions, inserting each match in turn.)144 429.6 R .828 (At the end of the list of completions, the bell is rung)5.828 F .727 -(\(subject to the setting of)144 304.8 R F1(bell\255style)3.227 E F0 +(\(subject to the setting of)144 441.6 R F1(bell\255style)3.227 E F0 3.227(\)a)C .727(nd the original te)-3.227 F .727(xt is restored.)-.15 F .727(An ar)5.727 F .727(gument of)-.18 F/F2 10/Times-Italic@0 SF(n)3.227 E F0(mo)3.227 E -.15(ve)-.15 G(s).15 E F2(n)3.228 E F0 1.73 -(positions forw)144 316.8 R 1.73(ard in the list of matches; a ne)-.1 F +(positions forw)144 453.6 R 1.73(ard in the list of matches; a ne)-.1 F -.05(ga)-.15 G(ti).05 E 2.03 -.15(ve a)-.25 H -.18(rg).15 G 1.73 (ument may be used to mo).18 F 2.03 -.15(ve b)-.15 H(ackw).15 E(ard)-.1 -E(through the list.)144 328.8 Q(This command is intended to be bound to) +E(through the list.)144 465.6 Q(This command is intended to be bound to) 5 E F1 -.9(TA)2.5 G(B).9 E F0 2.5(,b)C(ut is unbound by def)-2.7 E -(ault.)-.1 E F1(menu\255complete\255backward)108 340.8 Q F0 .82 -(Identical to)144 352.8 R F1(menu\255complete)3.32 E F0 3.32(,b)C .82 +(ault.)-.1 E F1(menu\255complete\255backward)108 477.6 Q F0 .82 +(Identical to)144 489.6 R F1(menu\255complete)3.32 E F0 3.32(,b)C .82 (ut mo)-3.52 F -.15(ve)-.15 G 3.32(sb).15 G(ackw)-3.32 E .82 (ard through the list of possible completions, as if)-.1 F F1 -(menu\255complete)144 364.8 Q F0(had been gi)2.5 E -.15(ve)-.25 G 2.5 +(menu\255complete)144 501.6 Q F0(had been gi)2.5 E -.15(ve)-.25 G 2.5 (nan).15 G -2.25 -.15(eg a)-2.5 H(ti).15 E .3 -.15(ve a)-.25 H -.18(rg) .15 G 2.5(ument. This).18 F(command is unbound by def)2.5 E(ault.)-.1 E -F1(delete\255char\255or\255list)108 376.8 Q F0 .234 -(Deletes the character under the cursor if not at the be)144 388.8 R +F1(delete\255char\255or\255list)108 513.6 Q F0 .234 +(Deletes the character under the cursor if not at the be)144 525.6 R .234(ginning or end of the line \(lik)-.15 F(e)-.1 E F1(delete\255char) -2.734 E F0(\).)A .425(If at the end of the line, beha)144 400.8 R -.15 +2.734 E F0(\).)A .425(If at the end of the line, beha)144 537.6 R -.15 (ve)-.2 G 2.925(si).15 G .425(dentically to)-2.925 F F1 (possible\255completions)2.925 E F0 5.425(.T)C .425 -(his command is unbound)-5.425 F(by def)144 412.8 Q(ault.)-.1 E F1 -(complete\255\214lename \(M\255/\))108 424.8 Q F0 -(Attempt \214lename completion on the te)144 436.8 Q(xt before point.) --.15 E F1(possible\255\214lename\255completions \(C\255x /\))108 448.8 Q -F0(List the possible completions of the te)144 460.8 Q +(his command is unbound)-5.425 F(by def)144 549.6 Q(ault.)-.1 E F1 +(complete\255\214lename \(M\255/\))108 561.6 Q F0 +(Attempt \214lename completion on the te)144 573.6 Q(xt before point.) +-.15 E F1(possible\255\214lename\255completions \(C\255x /\))108 585.6 Q +F0(List the possible completions of the te)144 597.6 Q (xt before point, treating it as a \214lename.)-.15 E F1 -(complete\255user)108 472.8 Q(name \(M\255~\))-.15 E F0 -(Attempt completion on the te)144 484.8 Q +(complete\255user)108 609.6 Q(name \(M\255~\))-.15 E F0 +(Attempt completion on the te)144 621.6 Q (xt before point, treating it as a username.)-.15 E F1(possible\255user) -108 496.8 Q(name\255completions \(C\255x ~\))-.15 E F0 -(List the possible completions of the te)144 508.8 Q +108 633.6 Q(name\255completions \(C\255x ~\))-.15 E F0 +(List the possible completions of the te)144 645.6 Q (xt before point, treating it as a username.)-.15 E F1(complete\255v)108 -520.8 Q(ariable \(M\255$\))-.1 E F0(Attempt completion on the te)144 -532.8 Q(xt before point, treating it as a shell v)-.15 E(ariable.)-.25 E -F1(possible\255v)108 544.8 Q(ariable\255completions \(C\255x $\))-.1 E -F0(List the possible completions of the te)144 556.8 Q +657.6 Q(ariable \(M\255$\))-.1 E F0(Attempt completion on the te)144 +669.6 Q(xt before point, treating it as a shell v)-.15 E(ariable.)-.25 E +F1(possible\255v)108 681.6 Q(ariable\255completions \(C\255x $\))-.1 E +F0(List the possible completions of the te)144 693.6 Q (xt before point, treating it as a shell v)-.15 E(ariable.)-.25 E F1 -(complete\255hostname \(M\255@\))108 568.8 Q F0 -(Attempt completion on the te)144 580.8 Q -(xt before point, treating it as a hostname.)-.15 E F1 -(possible\255hostname\255completions \(C\255x @\))108 592.8 Q F0 -(List the possible completions of the te)144 604.8 Q +(complete\255hostname \(M\255@\))108 705.6 Q F0 +(Attempt completion on the te)144 717.6 Q +(xt before point, treating it as a hostname.)-.15 E(GNU Bash 4.4)72 768 +Q(2016 August 26)142.895 E(47)192.055 E 0 Cg EP +%%Page: 48 48 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(possible\255hostname\255completions \(C\255x @\))108 84 Q F0 +(List the possible completions of the te)144 96 Q (xt before point, treating it as a hostname.)-.15 E F1 -(complete\255command \(M\255!\))108 616.8 Q F0 .581 -(Attempt completion on the te)144 628.8 R .581 +(complete\255command \(M\255!\))108 108 Q F0 .581 +(Attempt completion on the te)144 120 R .581 (xt before point, treating it as a command name.)-.15 F .58 -(Command comple-)5.58 F .715(tion attempts to match the te)144 640.8 R +(Command comple-)5.58 F .715(tion attempts to match the te)144 132 R .715(xt ag)-.15 F .715(ainst aliases, reserv)-.05 F .715(ed w)-.15 F .715(ords, shell functions, shell b)-.1 F .715(uiltins, and)-.2 F -(\214nally e)144 652.8 Q -.15(xe)-.15 G +(\214nally e)144 144 Q -.15(xe)-.15 G (cutable \214lenames, in that order).15 E(.)-.55 E F1 -(possible\255command\255completions \(C\255x !\))108 664.8 Q F0 -(List the possible completions of the te)144 676.8 Q +(possible\255command\255completions \(C\255x !\))108 156 Q F0 +(List the possible completions of the te)144 168 Q (xt before point, treating it as a command name.)-.15 E F1 -(dynamic\255complete\255history \(M\255T)108 688.8 Q(AB\))-.9 E F0 .425 -(Attempt completion on the te)144 700.8 R .425 +(dynamic\255complete\255history \(M\255T)108 180 Q(AB\))-.9 E F0 .425 +(Attempt completion on the te)144 192 R .425 (xt before point, comparing the te)-.15 F .425(xt ag)-.15 F .424 (ainst lines from the history list)-.05 F -(for possible completion matches.)144 712.8 Q(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(45)190.95 E 0 Cg EP -%%Page: 46 46 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(dab)108 84 Q(br)-.1 E -.15(ev)-.18 G -(\255expand).15 E F0 .61(Attempt menu completion on the te)144 96 R .611 +(for possible completion matches.)144 204 Q F1(dab)108 216 Q(br)-.1 E +-.15(ev)-.18 G(\255expand).15 E F0 .61 +(Attempt menu completion on the te)144 228 R .611 (xt before point, comparing the te)-.15 F .611(xt ag)-.15 F .611 (ainst lines from the his-)-.05 F -(tory list for possible completion matches.)144 108 Q F1 -(complete\255into\255braces \(M\255{\))108 120 Q F0 .4(Perform \214lena\ +(tory list for possible completion matches.)144 240 Q F1 +(complete\255into\255braces \(M\255{\))108 252 Q F0 .4(Perform \214lena\ me completion and insert the list of possible completions enclosed with\ -in braces so)144 132 R(the list is a)144 144 Q -.25(va)-.2 G +in braces so)144 264 R(the list is a)144 276 Q -.25(va)-.2 G (ilable to the shell \(see).25 E F1(Brace Expansion)2.5 E F0(abo)2.5 E --.15(ve)-.15 G(\).).15 E F1 -.25(Ke)87 160.8 S(yboard Macr).25 E(os)-.18 -E(start\255kbd\255macr)108 172.8 Q 2.5(o\()-.18 G(C\255x \()-2.5 E(\)) -.833 E F0(Be)144 184.8 Q(gin sa)-.15 E +-.15(ve)-.15 G(\).).15 E F1 -.25(Ke)87 292.8 S(yboard Macr).25 E(os)-.18 +E(start\255kbd\255macr)108 304.8 Q 2.5(o\()-.18 G(C\255x \()-2.5 E(\)) +.833 E F0(Be)144 316.8 Q(gin sa)-.15 E (ving the characters typed into the current k)-.2 E -.15(ey)-.1 G -(board macro.).15 E F1(end\255kbd\255macr)108 196.8 Q 2.5(o\()-.18 G -(C\255x \))-2.5 E(\)).833 E F0(Stop sa)144 208.8 Q +(board macro.).15 E F1(end\255kbd\255macr)108 328.8 Q 2.5(o\()-.18 G +(C\255x \))-2.5 E(\)).833 E F0(Stop sa)144 340.8 Q (ving the characters typed into the current k)-.2 E -.15(ey)-.1 G (board macro and store the de\214nition.).15 E F1 -(call\255last\255kbd\255macr)108 220.8 Q 2.5(o\()-.18 G(C\255x e\))-2.5 -E F0(Re-e)144 232.8 Q -.15(xe)-.15 G .999(cute the last k).15 F -.15(ey) +(call\255last\255kbd\255macr)108 352.8 Q 2.5(o\()-.18 G(C\255x e\))-2.5 +E F0(Re-e)144 364.8 Q -.15(xe)-.15 G .999(cute the last k).15 F -.15(ey) -.1 G .999(board macro de\214ned, by making the characters in the macro\ - appear as if).15 F(typed at the k)144 244.8 Q -.15(ey)-.1 G(board.).15 -E F1(print\255last\255kbd\255macr)108 256.8 Q 2.5(o\()-.18 G(\))-2.5 E -F0(Print the last k)144 268.8 Q -.15(ey)-.1 G + appear as if).15 F(typed at the k)144 376.8 Q -.15(ey)-.1 G(board.).15 +E F1(print\255last\255kbd\255macr)108 388.8 Q 2.5(o\()-.18 G(\))-2.5 E +F0(Print the last k)144 400.8 Q -.15(ey)-.1 G (board macro de\214ned in a format suitable for the).15 E/F2 10 /Times-Italic@0 SF(inputr)2.5 E(c)-.37 E F0(\214le.)2.5 E F1 -(Miscellaneous)87 285.6 Q -.18(re)108 297.6 S.18 E +(Miscellaneous)87 417.6 Q -.18(re)108 429.6 S.18 E (ead\255init\255\214le \(C\255x C\255r\))-.18 E F0 1.777 -(Read in the contents of the)144 309.6 R F2(inputr)4.277 E(c)-.37 E F0 +(Read in the contents of the)144 441.6 R F2(inputr)4.277 E(c)-.37 E F0 1.776(\214le, and incorporate an)4.276 F 4.276(yb)-.15 G 1.776 (indings or v)-4.276 F 1.776(ariable assignments)-.25 F(found there.)144 -321.6 Q F1(abort \(C\255g\))108 333.6 Q F0 3.248 -(Abort the current editing command and ring the terminal')144 345.6 R +453.6 Q F1(abort \(C\255g\))108 465.6 Q F0 3.248 +(Abort the current editing command and ring the terminal')144 477.6 R 5.749(sb)-.55 G 3.249(ell \(subject to the setting of)-5.749 F F1 -(bell\255style)144 357.6 Q F0(\).)A F1(do\255upper)108 369.6 Q +(bell\255style)144 489.6 Q F0(\).)A F1(do\255upper)108 501.6 Q (case\255v)-.18 E(ersion \(M\255a, M\255b, M\255)-.1 E F2(x)A F1 2.5(,.) -C(..\))-2.5 E F0 1.756(If the meta\214ed character)144 381.6 R F2(x) +C(..\))-2.5 E F0 1.756(If the meta\214ed character)144 513.6 R F2(x) 4.256 E F0 1.755(is lo)4.256 F 1.755 (wercase, run the command that is bound to the corresponding)-.25 F -(uppercase character)144 393.6 Q(.)-.55 E F1(pr)108 405.6 Q -(e\214x\255meta \(ESC\))-.18 E F0(Metafy the ne)144 417.6 Q +(uppercase character)144 525.6 Q(.)-.55 E F1(pr)108 537.6 Q +(e\214x\255meta \(ESC\))-.18 E F0(Metafy the ne)144 549.6 Q (xt character typed.)-.15 E/F3 9/Times-Bold@0 SF(ESC)5 E F1(f)2.25 E F0 (is equi)2.5 E -.25(va)-.25 G(lent to).25 E F1(Meta\255f)2.5 E F0(.)A F1 -(undo \(C\255_, C\255x C\255u\))108 429.6 Q F0 -(Incremental undo, separately remembered for each line.)144 441.6 Q F1 --2.29 -.18(re v)108 453.6 T(ert\255line \(M\255r\)).08 E F0 1.095 -(Undo all changes made to this line.)144 465.6 R 1.095(This is lik)6.095 +(undo \(C\255_, C\255x C\255u\))108 561.6 Q F0 +(Incremental undo, separately remembered for each line.)144 573.6 Q F1 +-2.29 -.18(re v)108 585.6 T(ert\255line \(M\255r\)).08 E F0 1.095 +(Undo all changes made to this line.)144 597.6 R 1.095(This is lik)6.095 F 3.595(ee)-.1 G -.15(xe)-3.745 G 1.095(cuting the).15 F F1(undo)3.595 E F0 1.095(command enough times to)3.595 F -(return the line to its initial state.)144 477.6 Q F1 -(tilde\255expand \(M\255&\))108 489.6 Q F0(Perform tilde e)144 501.6 Q +(return the line to its initial state.)144 609.6 Q F1 +(tilde\255expand \(M\255&\))108 621.6 Q F0(Perform tilde e)144 633.6 Q (xpansion on the current w)-.15 E(ord.)-.1 E F1 -(set\255mark \(C\255@, M\255\))108 513.6 Q F0 -(Set the mark to the point.)144 525.6 Q(If a numeric ar)5 E +(set\255mark \(C\255@, M\255\))108 645.6 Q F0 +(Set the mark to the point.)144 657.6 Q(If a numeric ar)5 E (gument is supplied, the mark is set to that position.)-.18 E F1 -(exchange\255point\255and\255mark \(C\255x C\255x\))108 537.6 Q F0(Sw) -144 549.6 Q .283(ap the point with the mark.)-.1 F .283 +(exchange\255point\255and\255mark \(C\255x C\255x\))108 669.6 Q F0(Sw) +144 681.6 Q .283(ap the point with the mark.)-.1 F .283 (The current cursor position is set to the sa)5.283 F -.15(ve)-.2 G 2.782(dp).15 G .282(osition, and the old)-2.782 F(cursor position is sa) -144 561.6 Q -.15(ve)-.2 G 2.5(da).15 G 2.5(st)-2.5 G(he mark.)-2.5 E F1 -(character\255sear)108 573.6 Q(ch \(C\255]\))-.18 E F0 3.035(Ac)144 -585.6 S .535(haracter is read and point is mo)-3.035 F -.15(ve)-.15 G +144 693.6 Q -.15(ve)-.2 G 2.5(da).15 G 2.5(st)-2.5 G(he mark.)-2.5 E F1 +(character\255sear)108 705.6 Q(ch \(C\255]\))-.18 E F0 3.035(Ac)144 +717.6 S .535(haracter is read and point is mo)-3.035 F -.15(ve)-.15 G 3.035(dt).15 G 3.035(ot)-3.035 G .535(he ne)-3.035 F .535 (xt occurrence of that character)-.15 F 5.536(.A)-.55 G(ne)-2.5 E -.05 (ga)-.15 G(ti).05 E .836 -.15(ve c)-.25 H(ount).15 E(searches for pre) -144 597.6 Q(vious occurrences.)-.25 E F1(character\255sear)108 609.6 Q -(ch\255backward \(M\255C\255]\))-.18 E F0 3.544(Ac)144 621.6 S 1.044 -(haracter is read and point is mo)-3.544 F -.15(ve)-.15 G 3.544(dt).15 G -3.544(ot)-3.544 G 1.044(he pre)-3.544 F 1.044 -(vious occurrence of that character)-.25 F 6.043(.A)-.55 G(ne)-2.5 E --.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G -(count searches for subsequent occurrences.)144 633.6 Q F1 -(skip\255csi\255sequence)108 645.6 Q F0 1.826 -(Read enough characters to consume a multi-k)144 657.6 R 2.126 -.15 -(ey s)-.1 H 1.827(equence such as those de\214ned for k).15 F -.15(ey) --.1 G 4.327(sl).15 G(ik)-4.327 E(e)-.1 E .791(Home and End.)144 669.6 R -.791(Such sequences be)5.791 F .791 -(gin with a Control Sequence Indicator \(CSI\), usually ESC\255[.)-.15 F -.331(If this sequence is bound to "\\[", k)144 681.6 R -.15(ey)-.1 G -2.831(sp).15 G .331(roducing such sequences will ha)-2.831 F .632 -.15 -(ve n)-.2 H 2.832(oe).15 G -.25(ff)-2.832 G .332(ect unless e).25 F -(xplic-)-.15 E .026(itly bound to a readline command, instead of insert\ -ing stray characters into the editing b)144 693.6 R(uf)-.2 E(fer)-.25 E -5.026(.T)-.55 G(his)-5.026 E(is unbound by def)144 705.6 Q(ault, b)-.1 E -(ut usually bound to ESC\255[.)-.2 E(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(46)190.95 E 0 Cg EP -%%Page: 47 47 +144 729.6 Q(vious occurrences.)-.25 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(48)192.055 E 0 Cg EP +%%Page: 49 49 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(insert\255comment \(M\255#\))108 84 Q F0 --.4(Wi)144 96 S .48(thout a numeric ar).4 F .48(gument, the v)-.18 F -.481(alue of the readline)-.25 F F1(comment\255begin)2.981 E F0 -.25(va) -2.981 G .481(riable is inserted at the).25 F(be)144 108 Q .098 -(ginning of the current line.)-.15 F .098(If a numeric ar)5.098 F .097 -(gument is supplied, this command acts as a toggle:)-.18 F(if)5.097 E -.321(the characters at the be)144 120 R .321 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(character\255sear)108 84 Q(ch\255backward \(M\255C\255]\))-.18 E F0 +3.544(Ac)144 96 S 1.044(haracter is read and point is mo)-3.544 F -.15 +(ve)-.15 G 3.544(dt).15 G 3.544(ot)-3.544 G 1.044(he pre)-3.544 F 1.044 +(vious occurrence of that character)-.25 F 6.043(.A)-.55 G(ne)-2.5 E +-.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G +(count searches for subsequent occurrences.)144 108 Q F1 +(skip\255csi\255sequence)108 120 Q F0 1.826 +(Read enough characters to consume a multi-k)144 132 R 2.126 -.15(ey s) +-.1 H 1.827(equence such as those de\214ned for k).15 F -.15(ey)-.1 G +4.327(sl).15 G(ik)-4.327 E(e)-.1 E .791(Home and End.)144 144 R .791 +(Such sequences be)5.791 F .791 +(gin with a Control Sequence Indicator \(CSI\), usually ESC\255[.)-.15 F +.331(If this sequence is bound to "\\[", k)144 156 R -.15(ey)-.1 G 2.831 +(sp).15 G .331(roducing such sequences will ha)-2.831 F .632 -.15(ve n) +-.2 H 2.832(oe).15 G -.25(ff)-2.832 G .332(ect unless e).25 F(xplic-) +-.15 E .026(itly bound to a readline command, instead of inserting stra\ +y characters into the editing b)144 168 R(uf)-.2 E(fer)-.25 E 5.026(.T) +-.55 G(his)-5.026 E(is unbound by def)144 180 Q(ault, b)-.1 E +(ut usually bound to ESC\255[.)-.2 E F1(insert\255comment \(M\255#\))108 +192 Q F0 -.4(Wi)144 204 S .48(thout a numeric ar).4 F .48(gument, the v) +-.18 F .481(alue of the readline)-.25 F F1(comment\255begin)2.981 E F0 +-.25(va)2.981 G .481(riable is inserted at the).25 F(be)144 216 Q .245 +(ginning of the current line.)-.15 F .245(If a numeric ar)5.245 F .244 +(gument is supplied, this command acts as a toggle: if)-.18 F .321 +(the characters at the be)144 228 R .321 (ginning of the line do not match the v)-.15 F .321(alue of)-.25 F F1 (comment\255begin)2.821 E F0 2.822(,t)C .322(he v)-2.822 F .322(alue is) --.25 F .832(inserted, otherwise the characters in)144 132 R F1 +-.25 F .832(inserted, otherwise the characters in)144 240 R F1 (comment\255begin)3.332 E F0 .831(are deleted from the be)3.332 F .831 (ginning of the line.)-.15 F 1.468 -(In either case, the line is accepted as if a ne)144 144 R 1.468 +(In either case, the line is accepted as if a ne)144 252 R 1.468 (wline had been typed.)-.25 F 1.469(The def)6.469 F 1.469(ault v)-.1 F -1.469(alue of)-.25 F F1(com-)3.969 E(ment\255begin)144 156 Q F0 .84 +1.469(alue of)-.25 F F1(com-)3.969 E(ment\255begin)144 264 Q F0 .84 (causes this command to mak)3.34 F 3.339(et)-.1 G .839 (he current line a shell comment.)-3.339 F .839(If a numeric ar)5.839 F -(gu-)-.18 E(ment causes the comment character to be remo)144 168 Q -.15 +(gu-)-.18 E(ment causes the comment character to be remo)144 276 Q -.15 (ve)-.15 G(d, the line will be e).15 E -.15(xe)-.15 G -(cuted by the shell.).15 E F1(glob\255complete\255w)108 180 Q -(ord \(M\255g\))-.1 E F0 .791(The w)144 192 R .791 +(cuted by the shell.).15 E F1(glob\255complete\255w)108 288 Q +(ord \(M\255g\))-.1 E F0 .791(The w)144 300 R .791 (ord before point is treated as a pattern for pathname e)-.1 F .792 -(xpansion, with an asterisk implicitly)-.15 F 2.5(appended. This)144 204 +(xpansion, with an asterisk implicitly)-.15 F 2.5(appended. This)144 312 R(pattern is used to generate a list of matching \214lenames for possib\ -le completions.)2.5 E F1(glob\255expand\255w)108 216 Q(ord \(C\255x *\)) --.1 E F0 .176(The w)144 228 R .176 +le completions.)2.5 E F1(glob\255expand\255w)108 324 Q(ord \(C\255x *\)) +-.1 E F0 .176(The w)144 336 R .176 (ord before point is treated as a pattern for pathname e)-.1 F .176 (xpansion, and the list of matching \214le-)-.15 F .516 -(names is inserted, replacing the w)144 240 R 3.016(ord. If)-.1 F 3.016 +(names is inserted, replacing the w)144 348 R 3.016(ord. If)-.1 F 3.016 (an)3.016 G .516(umeric ar)-3.016 F .516 (gument is supplied, an asterisk is appended)-.18 F(before pathname e) -144 252 Q(xpansion.)-.15 E F1(glob\255list\255expansions \(C\255x g\)) -108 264 Q F0 .923(The list of e)144 276 R .923(xpansions that w)-.15 F +144 360 Q(xpansion.)-.15 E F1(glob\255list\255expansions \(C\255x g\)) +108 372 Q F0 .923(The list of e)144 384 R .923(xpansions that w)-.15 F .923(ould ha)-.1 F 1.223 -.15(ve b)-.2 H .923(een generated by).15 F F1 (glob\255expand\255w)3.423 E(ord)-.1 E F0 .923(is displayed, and)3.423 F -.872(the line is redra)144 288 R 3.372(wn. If)-.15 F 3.372(an)3.372 G +.872(the line is redra)144 396 R 3.372(wn. If)-.15 F 3.372(an)3.372 G .872(umeric ar)-3.372 F .872 (gument is supplied, an asterisk is appended before pathname)-.18 F -.15 -(ex)144 300 S(pansion.).15 E F1(dump\255functions)108 312 Q F0 .627 -(Print all of the functions and their k)144 324 R .927 -.15(ey b)-.1 H +(ex)144 408 S(pansion.).15 E F1(dump\255functions)108 420 Q F0 .627 +(Print all of the functions and their k)144 432 R .927 -.15(ey b)-.1 H .626(indings to the readline output stream.).15 F .626(If a numeric ar) 5.626 F(gu-)-.18 E -(ment is supplied, the output is formatted in such a w)144 336 Q +(ment is supplied, the output is formatted in such a w)144 444 Q (ay that it can be made part of an)-.1 E/F2 10/Times-Italic@0 SF(inputr) -2.5 E(c)-.37 E F0(\214le.)2.5 E F1(dump\255v)108 348 Q(ariables)-.1 E F0 -1.799(Print all of the settable readline v)144 360 R 1.799 +2.5 E(c)-.37 E F0(\214le.)2.5 E F1(dump\255v)108 456 Q(ariables)-.1 E F0 +1.799(Print all of the settable readline v)144 468 R 1.799 (ariables and their v)-.25 F 1.8(alues to the readline output stream.) --.25 F 1.8(If a)6.8 F .305(numeric ar)144 372 R .304 +-.25 F 1.8(If a)6.8 F .305(numeric ar)144 480 R .304 (gument is supplied, the output is formatted in such a w)-.18 F .304 -(ay that it can be made part of an)-.1 F F2(inputr)144 384 Q(c)-.37 E F0 -(\214le.)2.5 E F1(dump\255macr)108 396 Q(os)-.18 E F0 .592 -(Print all of the readline k)144 408 R .892 -.15(ey s)-.1 H .592 +(ay that it can be made part of an)-.1 F F2(inputr)144 492 Q(c)-.37 E F0 +(\214le.)2.5 E F1(dump\255macr)108 504 Q(os)-.18 E F0 .592 +(Print all of the readline k)144 516 R .892 -.15(ey s)-.1 H .592 (equences bound to macros and the strings the).15 F 3.093(yo)-.15 G -3.093(utput. If)-3.093 F 3.093(an)3.093 G(umeric)-3.093 E(ar)144 420 Q +3.093(utput. If)-3.093 F 3.093(an)3.093 G(umeric)-3.093 E(ar)144 528 Q .528(gument is supplied, the output is formatted in such a w)-.18 F .528 (ay that it can be made part of an)-.1 F F2(inputr)3.027 E(c)-.37 E F0 -(\214le.)144 432 Q F1(display\255shell\255v)108 444 Q -(ersion \(C\255x C\255v\))-.1 E F0(Display v)144 456 Q +(\214le.)144 540 Q F1(display\255shell\255v)108 552 Q +(ersion \(C\255x C\255v\))-.1 E F0(Display v)144 564 Q (ersion information about the current instance of)-.15 E F1(bash)2.5 E -F0(.)A F1(Pr)87 472.8 Q(ogrammable Completion)-.18 E F0 .146(When w)108 -484.8 R .147(ord completion is attempted for an ar)-.1 F .147 +F0(.)A F1(Pr)87 580.8 Q(ogrammable Completion)-.18 E F0 .146(When w)108 +592.8 R .147(ord completion is attempted for an ar)-.1 F .147 (gument to a command for which a completion speci\214cation \(a)-.18 F -F2(compspec)108 496.8 Q F0 3.829(\)h)C 1.329 +F2(compspec)108 604.8 Q F0 3.829(\)h)C 1.329 (as been de\214ned using the)-3.829 F F1(complete)3.829 E F0 -.2(bu) 3.829 G 1.329(iltin \(see).2 F/F3 9/Times-Bold@0 SF 1.329(SHELL B)3.829 F(UIL)-.09 E 1.329(TIN COMMANDS)-.828 F F0(belo)3.579 E 1.328(w\), the) --.25 F(programmable completion f)108 508.8 Q(acilities are in)-.1 E -.2 +-.25 F(programmable completion f)108 616.8 Q(acilities are in)-.1 E -.2 (vo)-.4 G -.1(ke).2 G(d.).1 E .497 -(First, the command name is identi\214ed.)108 525.6 R .497 +(First, the command name is identi\214ed.)108 633.6 R .497 (If the command w)5.497 F .498 (ord is the empty string \(completion attempted at)-.1 F .234(the be)108 -537.6 R .233(ginning of an empty line\), an)-.15 F 2.733(yc)-.15 G .233 +645.6 R .233(ginning of an empty line\), an)-.15 F 2.733(yc)-.15 G .233 (ompspec de\214ned with the)-2.733 F F12.733 E F0 .233(option to) 2.733 F F1(complete)2.733 E F0 .233(is used.)2.733 F .233(If a comp-) 5.233 F .481(spec has been de\214ned for that command, the compspec is \ -used to generate the list of possible completions)108 549.6 R .823 -(for the w)108 561.6 R 3.323(ord. If)-.1 F .823(the command w)3.323 F +used to generate the list of possible completions)108 657.6 R .823 +(for the w)108 669.6 R 3.323(ord. If)-.1 F .823(the command w)3.323 F .822(ord is a full pathname, a compspec for the full pathname is search\ -ed for)-.1 F 2.866(\214rst. If)108 573.6 R .367(no compspec is found fo\ +ed for)-.1 F 2.866(\214rst. If)108 681.6 R .367(no compspec is found fo\ r the full pathname, an attempt is made to \214nd a compspec for the po\ -rtion)2.866 F(follo)108 585.6 Q .299(wing the \214nal slash.)-.25 F .298 +rtion)2.866 F(follo)108 693.6 Q .299(wing the \214nal slash.)-.25 F .298 (If those searches do not result in a compspec, an)5.299 F 2.798(yc)-.15 G .298(ompspec de\214ned with the)-2.798 F F12.798 E F0(option to) -108 597.6 Q F1(complete)2.5 E F0(is used as the def)2.5 E(ault.)-.1 E +108 705.6 Q F1(complete)2.5 E F0(is used as the def)2.5 E(ault.)-.1 E .817(Once a compspec has been found, it is used to generate the list of\ - matching w)108 614.4 R 3.317(ords. If)-.1 F 3.317(ac)3.317 G .817 -(ompspec is not)-3.317 F(found, the def)108 626.4 Q(ault)-.1 E F1(bash) -2.5 E F0(completion as described abo)2.5 E .3 -.15(ve u)-.15 H(nder).15 -E F1(Completing)2.5 E F0(is performed.)2.5 E .464 -(First, the actions speci\214ed by the compspec are used.)108 643.2 R + matching w)108 722.4 R 3.317(ords. If)-.1 F 3.317(ac)3.317 G .817 +(ompspec is not)-3.317 F(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E +(49)192.055 E 0 Cg EP +%%Page: 50 50 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(found, the def)108 +84 Q(ault)-.1 E/F1 10/Times-Bold@0 SF(bash)2.5 E F0 +(completion as described abo)2.5 E .3 -.15(ve u)-.15 H(nder).15 E F1 +(Completing)2.5 E F0(is performed.)2.5 E .464 +(First, the actions speci\214ed by the compspec are used.)108 100.8 R .463(Only matches which are pre\214x)5.464 F .463(ed by the w)-.15 F -.463(ord being)-.1 F .595(completed are returned.)108 655.2 R .595 +.463(ord being)-.1 F .595(completed are returned.)108 112.8 R .595 (When the)5.595 F F13.095 E F0(or)3.095 E F13.095 E F0 .596 (option is used for \214lename or directory name completion, the)3.095 F -(shell v)108 667.2 Q(ariable)-.25 E F3(FIGNORE)2.5 E F0 -(is used to \214lter the matches.)2.25 E(An)108 684 Q 4.084(yc)-.15 G -1.584(ompletions speci\214ed by a pathname e)-4.084 F 1.584 +(shell v)108 124.8 Q(ariable)-.25 E/F2 9/Times-Bold@0 SF(FIGNORE)2.5 E +F0(is used to \214lter the matches.)2.25 E(An)108 141.6 Q 4.084(yc)-.15 +G 1.584(ompletions speci\214ed by a pathname e)-4.084 F 1.584 (xpansion pattern to the)-.15 F F14.084 E F0 1.584 -(option are generated ne)4.084 F 4.084(xt. The)-.15 F -.1(wo)108 696 S +(option are generated ne)4.084 F 4.084(xt. The)-.15 F -.1(wo)108 153.6 S .554(rds generated by the pattern need not match the w).1 F .555 -(ord being completed.)-.1 F(The)5.555 E F3(GLOBIGNORE)3.055 E F0 .555 +(ord being completed.)-.1 F(The)5.555 E F2(GLOBIGNORE)3.055 E F0 .555 (shell v)2.805 F(ari-)-.25 E -(able is not used to \214lter the matches, b)108 708 Q(ut the)-.2 E F3 -(FIGNORE)2.5 E F0 -.25(va)2.25 G(riable is used.).25 E(Ne)108 724.8 Q +(able is not used to \214lter the matches, b)108 165.6 Q(ut the)-.2 E F2 +(FIGNORE)2.5 E F0 -.25(va)2.25 G(riable is used.).25 E(Ne)108 182.4 Q .321(xt, the string speci\214ed as the ar)-.15 F .321(gument to the)-.18 F F12.821 E F0 .32(option is considered.)2.821 F .32 -(The string is \214rst split using the)5.32 F(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(47)190.95 E 0 Cg EP -%%Page: 48 48 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .412(characters in the)108 84 R/F1 9/Times-Bold@0 SF(IFS)2.912 E -F0 .412(special v)2.662 F .412(ariable as delimiters.)-.25 F .412 -(Shell quoting is honored.)5.412 F .413(Each w)5.412 F .413 -(ord is then e)-.1 F(xpanded)-.15 E .092(using brace e)108 96 R .092 -(xpansion, tilde e)-.15 F .092(xpansion, parameter and v)-.15 F .092 -(ariable e)-.25 F .091(xpansion, command substitution, and arith-)-.15 F -1.396(metic e)108 108 R 1.396(xpansion, as described abo)-.15 F 1.696 --.15(ve u)-.15 H(nder).15 E F1(EXP)3.896 E(ANSION)-.666 E/F2 9 -/Times-Roman@0 SF(.)A F0 1.396 -(The results are split using the rules described)5.896 F(abo)108 120 Q -.51 -.15(ve u)-.15 H(nder).15 E/F3 10/Times-Bold@0 SF -.75(Wo)2.71 G .21 +(The string is \214rst split using the)5.32 F .412(characters in the)108 +194.4 R F2(IFS)2.912 E F0 .412(special v)2.662 F .412 +(ariable as delimiters.)-.25 F .412(Shell quoting is honored.)5.412 F +.413(Each w)5.412 F .413(ord is then e)-.1 F(xpanded)-.15 E .092 +(using brace e)108 206.4 R .092(xpansion, tilde e)-.15 F .092 +(xpansion, parameter and v)-.15 F .092(ariable e)-.25 F .091 +(xpansion, command substitution, and arith-)-.15 F 1.396(metic e)108 +218.4 R 1.396(xpansion, as described abo)-.15 F 1.696 -.15(ve u)-.15 H +(nder).15 E F2(EXP)3.896 E(ANSION)-.666 E/F3 9/Times-Roman@0 SF(.)A F0 +1.396(The results are split using the rules described)5.896 F(abo)108 +230.4 Q .51 -.15(ve u)-.15 H(nder).15 E F1 -.75(Wo)2.71 G .21 (rd Splitting).75 F F0 5.21(.T)C .209(he results of the e)-5.21 F .209 (xpansion are pre\214x-matched ag)-.15 F .209(ainst the w)-.05 F .209 -(ord being com-)-.1 F(pleted, and the matching w)108 132 Q +(ord being com-)-.1 F(pleted, and the matching w)108 242.4 Q (ords become the possible completions.)-.1 E 1.237 -(After these matches ha)108 148.8 R 1.537 -.15(ve b)-.2 H 1.237 +(After these matches ha)108 259.2 R 1.537 -.15(ve b)-.2 H 1.237 (een generated, an).15 F 3.737(ys)-.15 G 1.238 -(hell function or command speci\214ed with the)-3.737 F F33.738 E -F0(and)3.738 E F33.738 E F0 3.376(options is in)108 160.8 R -.2 +(hell function or command speci\214ed with the)-3.737 F F13.738 E +F0(and)3.738 E F13.738 E F0 3.376(options is in)108 271.2 R -.2 (vo)-.4 G -.1(ke).2 G 5.875(d. When).1 F 3.375 (the command or function is in)5.875 F -.2(vo)-.4 G -.1(ke).2 G 3.375 -(d, the).1 F F1(COMP_LINE)5.875 E F2(,)A F1(COMP_POINT)5.625 E F2(,)A F1 -(COMP_KEY)108 172.8 Q F2(,)A F0(and)2.407 E F1(COMP_TYPE)2.657 E F0 -.25 +(d, the).1 F F2(COMP_LINE)5.875 E F3(,)A F2(COMP_POINT)5.625 E F3(,)A F2 +(COMP_KEY)108 283.2 Q F3(,)A F0(and)2.407 E F2(COMP_TYPE)2.657 E F0 -.25 (va)2.407 G .157(riables are assigned v).25 F .157 -(alues as described abo)-.25 F .457 -.15(ve u)-.15 H(nder).15 E F3 .158 +(alues as described abo)-.25 F .457 -.15(ve u)-.15 H(nder).15 E F1 .158 (Shell V)2.658 F(ariables)-.92 E F0 5.158(.I)C(f)-5.158 E 3.486(as)108 -184.8 S .986(hell function is being in)-3.486 F -.2(vo)-.4 G -.1(ke).2 G -.986(d, the).1 F F1(COMP_W)3.486 E(ORDS)-.09 E F0(and)3.236 E F1 +295.2 S .986(hell function is being in)-3.486 F -.2(vo)-.4 G -.1(ke).2 G +.986(d, the).1 F F2(COMP_W)3.486 E(ORDS)-.09 E F0(and)3.236 E F2 (COMP_CW)3.486 E(ORD)-.09 E F0 -.25(va)3.236 G .986 (riables are also set.).25 F(When)5.985 E .346 -(the function or command is in)108 196.8 R -.2(vo)-.4 G -.1(ke).2 G .346 -(d, the \214rst ar).1 F .346(gument \()-.18 F F3($1)A F0 2.847(\)i)C +(the function or command is in)108 307.2 R -.2(vo)-.4 G -.1(ke).2 G .346 +(d, the \214rst ar).1 F .346(gument \()-.18 F F1($1)A F0 2.847(\)i)C 2.847(st)-2.847 G .347(he name of the command whose ar)-2.847 F(guments) --.18 E .264(are being completed, the second ar)108 208.8 R .264 -(gument \()-.18 F F3($2)A F0 2.764(\)i)C 2.764(st)-2.764 G .264(he w) +-.18 E .264(are being completed, the second ar)108 319.2 R .264 +(gument \()-.18 F F1($2)A F0 2.764(\)i)C 2.764(st)-2.764 G .264(he w) -2.764 F .263(ord being completed, and the third ar)-.1 F .263 -(gument \()-.18 F F3($3)A F0 2.763(\)i)C(s)-2.763 E .628(the w)108 220.8 +(gument \()-.18 F F1($3)A F0 2.763(\)i)C(s)-2.763 E .628(the w)108 331.2 R .628(ord preceding the w)-.1 F .629 (ord being completed on the current command line.)-.1 F .629 -(No \214ltering of the generated)5.629 F .715(completions ag)108 232.8 R +(No \214ltering of the generated)5.629 F .715(completions ag)108 343.2 R .715(ainst the w)-.05 F .714(ord being completed is performed; the func\ tion or command has complete free-)-.1 F(dom in generating the matches.) -108 244.8 Q(An)108 261.6 Q 2.937(yf)-.15 G .437 -(unction speci\214ed with)-2.937 F F32.937 E F0 .437(is in)2.937 F --.2(vo)-.4 G -.1(ke).2 G 2.937<648c>.1 G 2.937(rst. The)-2.937 F .437 -(function may use an)2.937 F 2.937(yo)-.15 G 2.937(ft)-2.937 G .437 -(he shell f)-2.937 F .438(acilities, including)-.1 F(the)108 273.6 Q F3 -(compgen)2.957 E F0 -.2(bu)2.957 G .457(iltin described belo).2 F 1.756 --.65(w, t)-.25 H 2.956(og).65 G .456(enerate the matches.)-2.956 F .456 -(It must put the possible completions in the)5.456 F F1(COMPREPL)108 -285.6 Q(Y)-.828 E F0(array v)2.25 E(ariable, one per array element.)-.25 -E(Ne)108 302.4 Q .08(xt, an)-.15 F 2.58(yc)-.15 G .08 -(ommand speci\214ed with the)-2.58 F F32.58 E F0 .081 +108 355.2 Q(An)108 372 Q 2.937(yf)-.15 G .437(unction speci\214ed with) +-2.937 F F12.937 E F0 .437(is in)2.937 F -.2(vo)-.4 G -.1(ke).2 G +2.937<648c>.1 G 2.937(rst. The)-2.937 F .437(function may use an)2.937 F +2.937(yo)-.15 G 2.937(ft)-2.937 G .437(he shell f)-2.937 F .438 +(acilities, including)-.1 F(the)108 384 Q F1(compgen)2.957 E F0 -.2(bu) +2.957 G .457(iltin described belo).2 F 1.756 -.65(w, t)-.25 H 2.956(og) +.65 G .456(enerate the matches.)-2.956 F .456 +(It must put the possible completions in the)5.456 F F2(COMPREPL)108 396 +Q(Y)-.828 E F0(array v)2.25 E(ariable, one per array element.)-.25 E(Ne) +108 412.8 Q .08(xt, an)-.15 F 2.58(yc)-.15 G .08 +(ommand speci\214ed with the)-2.58 F F12.58 E F0 .081 (option is in)2.581 F -.2(vo)-.4 G -.1(ke).2 G 2.581(di).1 G 2.581(na) -2.581 G 2.581(ne)-2.581 G -.4(nv)-2.581 G .081(ironment equi).4 F -.25 -(va)-.25 G .081(lent to command sub-).25 F 2.859(stitution. It)108 314.4 +(va)-.25 G .081(lent to command sub-).25 F 2.859(stitution. It)108 424.8 R .359(should print a list of completions, one per line, to the standar\ d output.)2.859 F .358(Backslash may be used)5.359 F(to escape a ne)108 -326.4 Q(wline, if necessary)-.25 E(.)-.65 E .376 -(After all of the possible completions are generated, an)108 343.2 R -2.877<798c>-.15 G .377(lter speci\214ed with the)-2.877 F F32.877 -E F0 .377(option is applied to the)2.877 F 3.182(list. The)108 355.2 R +436.8 Q(wline, if necessary)-.25 E(.)-.65 E .376 +(After all of the possible completions are generated, an)108 453.6 R +2.877<798c>-.15 G .377(lter speci\214ed with the)-2.877 F F12.877 +E F0 .377(option is applied to the)2.877 F 3.182(list. The)108 465.6 R .682(\214lter is a pattern as used for pathname e)3.182 F .681 -(xpansion; a)-.15 F F3(&)3.181 E F0 .681 +(xpansion; a)-.15 F F1(&)3.181 E F0 .681 (in the pattern is replaced with the te)3.181 F .681(xt of)-.15 F .522 -(the w)108 367.2 R .522(ord being completed.)-.1 F 3.022(Al)5.522 G -(iteral)-3.022 E F3(&)3.022 E F0 .523 +(the w)108 477.6 R .522(ord being completed.)-.1 F 3.022(Al)5.522 G +(iteral)-3.022 E F1(&)3.022 E F0 .523 (may be escaped with a backslash; the backslash is remo)3.022 F -.15(ve) --.15 G 3.023(db).15 G(efore)-3.023 E .85(attempting a match.)108 379.2 R +-.15 G 3.023(db).15 G(efore)-3.023 E .85(attempting a match.)108 489.6 R (An)5.85 E 3.35(yc)-.15 G .849 (ompletion that matches the pattern will be remo)-3.35 F -.15(ve)-.15 G 3.349(df).15 G .849(rom the list.)-3.349 F 3.349(Al)5.849 G(eading) --3.349 E F3(!)3.349 E F0(ne)108 391.2 Q -.05(ga)-.15 G -(tes the pattern; in this case an).05 E 2.5(yc)-.15 G -(ompletion not matching the pattern will be remo)-2.5 E -.15(ve)-.15 G -(d.).15 E(Finally)108 408 Q 3.086(,a)-.65 G .886 -.15(ny p)-3.086 H .586 -(re\214x and suf).15 F .587(\214x speci\214ed with the)-.25 F F3 -3.087 E F0(and)3.087 E F33.087 E F0 .587 -(options are added to each member of the com-)3.087 F(pletion list, and\ - the result is returned to the readline completion code as the list of \ -possible completions.)108 420 Q .247(If the pre)108 436.8 R .247 -(viously-applied actions do not generate an)-.25 F 2.747(ym)-.15 G .247 -(atches, and the)-2.747 F F3 .247(\255o dir)2.747 F(names)-.15 E F0 .247 -(option w)2.747 F .246(as supplied to)-.1 F F3(complete)108 448.8 Q F0 -(when the compspec w)2.5 E -(as de\214ned, directory name completion is attempted.)-.1 E .461 -(If the)108 465.6 R F3 .462(\255o plusdirs)2.961 F F0 .462(option w) -2.962 F .462(as supplied to)-.1 F F3(complete)2.962 E F0 .462 +-3.349 E F1(!)3.349 E F0(ne)108 501.6 Q -.05(ga)-.15 G .764 +(tes the pattern; in this case an).05 F 3.264(yc)-.15 G .764 +(ompletion not matching the pattern will be remo)-3.264 F -.15(ve)-.15 G +3.264(d. If).15 F(the)3.265 E F1(nocase-)3.265 E(match)108 513.6 Q F0 +(shell option is enabled, the match is performed without re)2.5 E -.05 +(ga)-.15 G(rd to the case of alphabetic characters.).05 E(Finally)108 +530.4 Q 3.087(,a)-.65 G .887 -.15(ny p)-3.087 H .587(re\214x and suf).15 +F .587(\214x speci\214ed with the)-.25 F F13.087 E F0(and)3.087 E +F13.087 E F0 .587(options are added to each member of the com-) +3.087 F(pletion list, and the result is returned to the readline comple\ +tion code as the list of possible completions.)108 542.4 Q .246 +(If the pre)108 559.2 R .247(viously-applied actions do not generate an) +-.25 F 2.747(ym)-.15 G .247(atches, and the)-2.747 F F1 .247(\255o dir) +2.747 F(names)-.15 E F0 .247(option w)2.747 F .247(as supplied to)-.1 F +F1(complete)108 571.2 Q F0(when the compspec w)2.5 E +(as de\214ned, directory name completion is attempted.)-.1 E .462 +(If the)108 588 R F1 .462(\255o plusdirs)2.962 F F0 .462(option w)2.962 +F .462(as supplied to)-.1 F F1(complete)2.962 E F0 .462 (when the compspec w)2.962 F .462(as de\214ned, directory name com-)-.1 -F(pletion is attempted and an)108 477.6 Q 2.5(ym)-.15 G -(atches are added to the results of the other actions.)-2.5 E .56 -(By def)108 494.4 R .56(ault, if a compspec is found, whate)-.1 F -.15 -(ve)-.25 G 3.06(ri).15 G 3.06(tg)-3.06 G .559 -(enerates is returned to the completion code as the full set)-3.06 F -.631(of possible completions.)108 506.4 R .631(The def)5.631 F(ault)-.1 -E F3(bash)3.131 E F0 .631 -(completions are not attempted, and the readline def)3.131 F .632 -(ault of \214le-)-.1 F .559(name completion is disabled.)108 518.4 R -.559(If the)5.559 F F3 .559(\255o bashdefault)3.059 F F0 .559(option w) -3.059 F .559(as supplied to)-.1 F F3(complete)3.058 E F0 .558 -(when the compspec)3.058 F -.1(wa)108 530.4 S 3.171(sd).1 G .671 -(e\214ned, the)-3.171 F F3(bash)3.171 E F0(def)3.171 E .671 +F(pletion is attempted and an)108 600 Q 2.5(ym)-.15 G +(atches are added to the results of the other actions.)-2.5 E .559 +(By def)108 616.8 R .559(ault, if a compspec is found, whate)-.1 F -.15 +(ve)-.25 G 3.059(ri).15 G 3.059(tg)-3.059 G .56 +(enerates is returned to the completion code as the full set)-3.059 F +.632(of possible completions.)108 628.8 R .632(The def)5.632 F(ault)-.1 +E F1(bash)3.132 E F0 .631 +(completions are not attempted, and the readline def)3.131 F .631 +(ault of \214le-)-.1 F .558(name completion is disabled.)108 640.8 R +.558(If the)5.558 F F1 .559(\255o bashdefault)3.059 F F0 .559(option w) +3.059 F .559(as supplied to)-.1 F F1(complete)3.059 E F0 .559 +(when the compspec)3.059 F -.1(wa)108 652.8 S 3.172(sd).1 G .672 +(e\214ned, the)-3.172 F F1(bash)3.172 E F0(def)3.172 E .671 (ault completions are attempted if the compspec generates no matches.) --.1 F .672(If the)5.672 F F33.172 E(default)108 542.4 Q F0 1.207 -(option w)3.707 F 1.207(as supplied to)-.1 F F3(complete)3.707 E F0 +-.1 F .671(If the)5.671 F F13.171 E(default)108 664.8 Q F0 1.207 +(option w)3.706 F 1.207(as supplied to)-.1 F F1(complete)3.707 E F0 1.207(when the compspec w)3.707 F 1.207(as de\214ned, readline')-.1 F -3.707(sd)-.55 G(ef)-3.707 E 1.206(ault completion)-.1 F +3.707(sd)-.55 G(ef)-3.707 E 1.207(ault completion)-.1 F (will be performed if the compspec \(and, if attempted, the def)108 -554.4 Q(ault)-.1 E F3(bash)2.5 E F0(completions\) generate no matches.) +676.8 Q(ault)-.1 E F1(bash)2.5 E F0(completions\) generate no matches.) 2.5 E .245(When a compspec indicates that directory name completion is \ -desired, the programmable completion func-)108 571.2 R .633(tions force\ +desired, the programmable completion func-)108 693.6 R .632(tions force\ readline to append a slash to completed names which are symbolic links\ - to directories, subject)108 583.2 R 2.761(to the v)108 595.2 R 2.761 -(alue of the)-.25 F F3(mark\255dir)5.261 E(ectories)-.18 E F0 2.761 -(readline v)5.261 F 2.761(ariable, re)-.25 F -.05(ga)-.15 G 2.762 -(rdless of the setting of the).05 F F3(mark-sym-)5.262 E(link)108 607.2 + to directories, subject)108 705.6 R 2.762(to the v)108 717.6 R 2.762 +(alue of the)-.25 F F1(mark\255dir)5.262 E(ectories)-.18 E F0 2.761 +(readline v)5.262 F 2.761(ariable, re)-.25 F -.05(ga)-.15 G 2.761 +(rdless of the setting of the).05 F F1(mark-sym-)5.261 E(link)108 729.6 Q(ed\255dir)-.1 E(ectories)-.18 E F0(readline v)2.5 E(ariable.)-.25 E -.191(There is some support for dynamically modifying completions.)108 -624 R .19(This is most useful when used in combina-)5.191 F 1.33 -(tion with a def)108 636 R 1.33(ault completion speci\214ed with)-.1 F -F3 1.33(complete -D)3.83 F F0 6.33(.I)C(t')-6.33 E 3.83(sp)-.55 G 1.33 -(ossible for shell functions e)-3.83 F -.15(xe)-.15 G 1.33(cuted as).15 -F .93(completion handlers to indicate that completion should be retried\ - by returning an e)108 648 R .93(xit status of 124.)-.15 F .93(If a)5.93 -F .1(shell function returns 124, and changes the compspec associated wi\ -th the command on which completion is)108 660 R .666 -(being attempted \(supplied as the \214rst ar)108 672 R .665 -(gument when the function is e)-.18 F -.15(xe)-.15 G .665 -(cuted\), programmable completion).15 F .083(restarts from the be)108 -684 R .084(ginning, with an attempt to \214nd a ne)-.15 F 2.584(wc)-.25 -G .084(ompspec for that command.)-2.584 F .084(This allo)5.084 F .084 -(ws a set of)-.25 F(completions to be b)108 696 Q(uilt dynamically as c\ -ompletion is attempted, rather than being loaded all at once.)-.2 E -.15 -(Fo)108 712.8 S 2.637(ri).15 G .137 -(nstance, assuming that there is a library of compspecs, each k)-2.637 F -.137(ept in a \214le corresponding to the name of)-.1 F -(the command, the follo)108 724.8 Q(wing def)-.25 E -(ault completion function w)-.1 E(ould load completions dynamically:)-.1 -E(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(48)190.95 E 0 Cg EP -%%Page: 49 49 +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(50)192.055 E 0 Cg EP +%%Page: 51 51 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Courier@0 SF(_completion_loader\(\))108 84 Q({)108 96 Q 6 -(.")144 108 S +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E .19 +(There is some support for dynamically modifying completions.)108 84 R +.191(This is most useful when used in combina-)5.191 F 1.33 +(tion with a def)108 96 R 1.33(ault completion speci\214ed with)-.1 F/F1 +10/Times-Bold@0 SF 1.33(complete -D)3.83 F F0 6.33(.I)C(t')-6.33 E 3.83 +(sp)-.55 G 1.33(ossible for shell functions e)-3.83 F -.15(xe)-.15 G +1.33(cuted as).15 F .93(completion handlers to indicate that completion\ + should be retried by returning an e)108 108 R .93(xit status of 124.) +-.15 F .93(If a)5.93 F .1(shell function returns 124, and changes the c\ +ompspec associated with the command on which completion is)108 120 R +.665(being attempted \(supplied as the \214rst ar)108 132 R .666 +(gument when the function is e)-.18 F -.15(xe)-.15 G .666 +(cuted\), programmable completion).15 F .084(restarts from the be)108 +144 R .084(ginning, with an attempt to \214nd a ne)-.15 F 2.584(wc)-.25 +G .084(ompspec for that command.)-2.584 F .083(This allo)5.083 F .083 +(ws a set of)-.25 F(completions to be b)108 156 Q(uilt dynamically as c\ +ompletion is attempted, rather than being loaded all at once.)-.2 E -.15 +(Fo)108 172.8 S 2.636(ri).15 G .137 +(nstance, assuming that there is a library of compspecs, each k)-2.636 F +.137(ept in a \214le corresponding to the name of)-.1 F +(the command, the follo)108 184.8 Q(wing def)-.25 E +(ault completion function w)-.1 E(ould load completions dynamically:)-.1 +E/F2 10/Courier@0 SF(_completion_loader\(\))108 201.6 Q({)108 213.6 Q 6 +(.")144 225.6 S (/etc/bash_completion.d/$1.sh" >/dev/null 2>&1 && return 124)-6 E(})108 -120 Q(complete -D -F _completion_loader -o bashdefault -o default)108 -132 Q/F2 10.95/Times-Bold@0 SF(HIST)72 160.8 Q(OR)-.197 E(Y)-.383 E F0 -.371(When the)108 172.8 R/F3 10/Times-Bold@0 SF .371(\255o history)2.871 -F F0 .371(option to the)2.871 F F3(set)2.872 E F0 -.2(bu)2.872 G .372 -(iltin is enabled, the shell pro).2 F .372(vides access to the)-.15 F/F4 -10/Times-Italic@0 SF .372(command history)2.872 F F0(,)A .305 -(the list of commands pre)108 184.8 R .305(viously typed.)-.25 F .305 -(The v)5.305 F .304(alue of the)-.25 F/F5 9/Times-Bold@0 SF(HISTSIZE) -2.804 E F0 -.25(va)2.554 G .304(riable is used as the number of com-).25 -F .429(mands to sa)108 196.8 R .729 -.15(ve i)-.2 H 2.929(nah).15 G .429 -(istory list.)-2.929 F .429(The te)5.429 F .429(xt of the last)-.15 F F5 -(HISTSIZE)2.93 E F0 .43(commands \(def)2.68 F .43(ault 500\) is sa)-.1 F --.15(ve)-.2 G 2.93(d. The).15 F(shell)2.93 E .287 +237.6 Q(complete -D -F _completion_loader -o bashdefault -o default)108 +249.6 Q/F3 10.95/Times-Bold@0 SF(HIST)72 278.4 Q(OR)-.197 E(Y)-.383 E F0 +.372(When the)108 290.4 R F1 .372(\255o history)2.872 F F0 .372 +(option to the)2.872 F F1(set)2.872 E F0 -.2(bu)2.872 G .372 +(iltin is enabled, the shell pro).2 F .371(vides access to the)-.15 F/F4 +10/Times-Italic@0 SF .371(command history)2.871 F F0(,)A .304 +(the list of commands pre)108 302.4 R .304(viously typed.)-.25 F .304 +(The v)5.304 F .304(alue of the)-.25 F/F5 9/Times-Bold@0 SF(HISTSIZE) +2.804 E F0 -.25(va)2.554 G .305(riable is used as the number of com-).25 +F .43(mands to sa)108 314.4 R .73 -.15(ve i)-.2 H 2.93(nah).15 G .43 +(istory list.)-2.93 F .43(The te)5.43 F .429(xt of the last)-.15 F F5 +(HISTSIZE)2.929 E F0 .429(commands \(def)2.679 F .429(ault 500\) is sa) +-.1 F -.15(ve)-.2 G 2.929(d. The).15 F(shell)2.929 E .287 (stores each command in the history list prior to parameter and v)108 -208.8 R .287(ariable e)-.25 F .287(xpansion \(see)-.15 F F5(EXP)2.787 E -(ANSION)-.666 E F0(abo)2.537 E -.15(ve)-.15 G(\)).15 E -.2(bu)108 220.8 -S 4.065(ta).2 G 1.565(fter history e)-4.065 F 1.565 +326.4 R .287(ariable e)-.25 F .287(xpansion \(see)-.15 F F5(EXP)2.787 E +(ANSION)-.666 E F0(abo)2.537 E -.15(ve)-.15 G(\)).15 E -.2(bu)108 338.4 +S 4.066(ta).2 G 1.565(fter history e)-4.066 F 1.565 (xpansion is performed, subject to the v)-.15 F 1.565 (alues of the shell v)-.25 F(ariables)-.25 E F5(HISTIGNORE)4.065 E F0 -(and)3.816 E F5(HISTCONTR)108 232.8 Q(OL)-.27 E/F6 9/Times-Roman@0 SF(.) +(and)3.815 E F5(HISTCONTR)108 350.4 Q(OL)-.27 E/F6 9/Times-Roman@0 SF(.) A F0 .082 (On startup, the history is initialized from the \214le named by the v) -108 249.6 R(ariable)-.25 E F5(HISTFILE)2.582 E F0(\(def)2.332 E(ault)-.1 -E F4(~/.bash_history)2.582 E F0(\).)A .315(The \214le named by the v)108 -261.6 R .315(alue of)-.25 F F5(HISTFILE)2.815 E F0 .315 +108 367.2 R(ariable)-.25 E F5(HISTFILE)2.583 E F0(\(def)2.333 E(ault)-.1 +E F4(~/.bash_history)2.583 E F0(\).)A .315(The \214le named by the v)108 +379.2 R .315(alue of)-.25 F F5(HISTFILE)2.815 E F0 .315 (is truncated, if necessary)2.565 F 2.815(,t)-.65 G 2.815(oc)-2.815 G -.315(ontain no more than the number of)-2.815 F .659 -(lines speci\214ed by the v)108 273.6 R .659(alue of)-.25 F F5 -(HISTFILESIZE)3.158 E F6(.)A F0(If)5.158 E F3(HISTFILESIZE)3.158 E F0 -.658(is unset, or set to null, a non-numeric)3.158 F -.25(va)108 285.6 S +.315(ontain no more than the number of)-2.815 F .658 +(lines speci\214ed by the v)108 391.2 R .658(alue of)-.25 F F5 +(HISTFILESIZE)3.158 E F6(.)A F0(If)5.158 E F1(HISTFILESIZE)3.158 E F0 +.659(is unset, or set to null, a non-numeric)3.158 F -.25(va)108 403.2 S .142(lue, or a numeric v).25 F .142 (alue less than zero, the history \214le is not truncated.)-.25 F .142 -(When the history \214le is read, lines)5.142 F(be)108 297.6 Q 1.605 +(When the history \214le is read, lines)5.142 F(be)108 415.2 Q 1.604 (ginning with the history comment character follo)-.15 F 1.604 (wed immediately by a digit are interpreted as time-)-.25 F .098 -(stamps for the preceding history line.)108 309.6 R .098 +(stamps for the preceding history line.)108 427.2 R .098 (These timestamps are optionally displayed depending on the v)5.098 F -.098(alue of)-.25 F(the)108 321.6 Q F5(HISTTIMEFORMA)3.559 E(T)-.855 E +.098(alue of)-.25 F(the)108 439.2 Q F5(HISTTIMEFORMA)3.558 E(T)-.855 E F0 -.25(va)3.309 G 3.559(riable. When).25 F 3.559(as)3.559 G 1.059 (hell with history enabled e)-3.559 F 1.059(xits, the last)-.15 F F5 -($HISTSIZE)3.559 E F0 1.058(lines are)3.309 F .158 -(copied from the history list to)108 333.6 R F5($HISTFILE)2.658 E F6(.)A -F0 .158(If the)4.658 F F3(histappend)2.658 E F0 .159 -(shell option is enabled \(see the description of)2.659 F F3(shopt)108 -345.6 Q F0(under)2.582 E F5 .082(SHELL B)2.582 F(UIL)-.09 E .082 +($HISTSIZE)3.559 E F0 1.059(lines are)3.309 F .159 +(copied from the history list to)108 451.2 R F5($HISTFILE)2.659 E F6(.)A +F0 .159(If the)4.659 F F1(histappend)2.658 E F0 .158 +(shell option is enabled \(see the description of)2.658 F F1(shopt)108 +463.2 Q F0(under)2.581 E F5 .081(SHELL B)2.581 F(UIL)-.09 E .081 (TIN COMMANDS)-.828 F F0(belo)2.332 E .082 (w\), the lines are appended to the history \214le, otherwise the)-.25 F -.196(history \214le is o)108 357.6 R -.15(ve)-.15 G 2.696(rwritten. If) -.15 F F5(HISTFILE)2.696 E F0 .197(is unset, or if the history \214le is\ - unwritable, the history is not sa)2.446 F -.15(ve)-.2 G(d.).15 E .584 -(If the)108 369.6 R F5(HISTTIMEFORMA)3.084 E(T)-.855 E F0 -.25(va)2.834 +.197(history \214le is o)108 475.2 R -.15(ve)-.15 G 2.697(rwritten. If) +.15 F F5(HISTFILE)2.697 E F0 .196(is unset, or if the history \214le is\ + unwritable, the history is not sa)2.447 F -.15(ve)-.2 G(d.).15 E .583 +(If the)108 487.2 R F5(HISTTIMEFORMA)3.083 E(T)-.855 E F0 -.25(va)2.834 G .584 (riable is set, time stamps are written to the history \214le, mark).25 -F .583(ed with the his-)-.1 F 1.147(tory comment character)108 381.6 R -3.647(,s)-.4 G 3.647(ot)-3.647 G(he)-3.647 E 3.647(ym)-.15 G 1.147 -(ay be preserv)-3.647 F 1.147(ed across shell sessions.)-.15 F 1.148 -(This uses the history comment)6.148 F 1.377 -(character to distinguish timestamps from other history lines.)108 393.6 -R 1.377(After sa)6.377 F 1.377(ving the history)-.2 F 3.876(,t)-.65 G -1.376(he history \214le is)-3.876 F .756 -(truncated to contain no more than)108 405.6 R F5(HISTFILESIZE)3.257 E +F .584(ed with the his-)-.1 F 1.148(tory comment character)108 499.2 R +3.648(,s)-.4 G 3.648(ot)-3.648 G(he)-3.648 E 3.648(ym)-.15 G 1.147 +(ay be preserv)-3.648 F 1.147(ed across shell sessions.)-.15 F 1.147 +(This uses the history comment)6.147 F 1.376 +(character to distinguish timestamps from other history lines.)108 511.2 +R 1.377(After sa)6.377 F 1.377(ving the history)-.2 F 3.877(,t)-.65 G +1.377(he history \214le is)-3.877 F .757 +(truncated to contain no more than)108 523.2 R F5(HISTFILESIZE)3.257 E F0 3.257(lines. If)3.007 F F5(HISTFILESIZE)3.257 E F0 .757 -(is unset, or set to null, a non-)3.007 F(numeric v)108 417.6 Q +(is unset, or set to null, a non-)3.007 F(numeric v)108 535.2 Q (alue, or a numeric v)-.25 E -(alue less than zero, the history \214le is not truncated.)-.25 E 1.294 -(The b)108 434.4 R 1.294(uiltin command)-.2 F F3(fc)3.794 E F0(\(see) -3.794 E F5 1.293(SHELL B)3.794 F(UIL)-.09 E 1.293(TIN COMMANDS)-.828 F -F0(belo)3.543 E 1.293(w\) may be used to list or edit and re-)-.25 F --.15(exe)108 446.4 S .673(cute a portion of the history list.).15 F(The) -5.673 E F3(history)3.173 E F0 -.2(bu)3.173 G .673 -(iltin may be used to display or modify the history list).2 F .28 -(and manipulate the history \214le.)108 458.4 R .279 -(When using command-line editing, search commands are a)5.279 F -.25(va) --.2 G .279(ilable in each).25 F(editing mode that pro)108 470.4 Q -(vide access to the history list.)-.15 E 1.485(The shell allo)108 487.2 -R 1.485(ws control o)-.25 F -.15(ve)-.15 G 3.986(rw).15 G 1.486 +(alue less than zero, the history \214le is not truncated.)-.25 E .298 +(The b)108 552 R .298(uiltin command)-.2 F F1(fc)2.798 E F0(\(see)2.798 +E F5 .298(SHELL B)2.798 F(UIL)-.09 E .298(TIN COMMANDS)-.828 F F0(belo) +2.549 E .299(w\) may be used to list or edit and re-e)-.25 F -.15(xe) +-.15 G(-).15 E .472(cute a portion of the history list.)108 564 R(The) +5.472 E F1(history)2.972 E F0 -.2(bu)2.972 G .471 +(iltin may be used to display or modify the history list and).2 F .001 +(manipulate the history \214le.)108 576 R .001 +(When using command-line editing, search commands are a)5.001 F -.25(va) +-.2 G .002(ilable in each edit-).25 F(ing mode that pro)108 588 Q +(vide access to the history list.)-.15 E 1.486(The shell allo)108 604.8 +R 1.486(ws control o)-.25 F -.15(ve)-.15 G 3.986(rw).15 G 1.486 (hich commands are sa)-3.986 F -.15(ve)-.2 G 3.986(do).15 G 3.986(nt) --3.986 G 1.486(he history list.)-3.986 F(The)6.486 E F5(HISTCONTR)3.986 -E(OL)-.27 E F0(and)3.736 E F5(HISTIGNORE)108 499.2 Q F0 -.25(va)2.708 G -.458(riables may be set to cause the shell to sa).25 F .757 -.15(ve o) --.2 H .457(nly a subset of the commands entered.).15 F(The)5.457 E F3 -(cmdhist)108 511.2 Q F0 .75 +-3.986 G 1.486(he history list.)-3.986 F(The)6.485 E F5(HISTCONTR)3.985 +E(OL)-.27 E F0(and)3.735 E F5(HISTIGNORE)108 616.8 Q F0 -.25(va)2.707 G +.457(riables may be set to cause the shell to sa).25 F .758 -.15(ve o) +-.2 H .458(nly a subset of the commands entered.).15 F(The)5.458 E F1 +(cmdhist)108 628.8 Q F0 .75 (shell option, if enabled, causes the shell to attempt to sa)3.25 F 1.05 -.15(ve e)-.2 H .75(ach line of a multi-line command in).15 F 1.077 -(the same history entry)108 523.2 R 3.577(,a)-.65 G 1.077 +(the same history entry)108 640.8 R 3.577(,a)-.65 G 1.077 (dding semicolons where necessary to preserv)-3.577 F 3.577(es)-.15 G -1.077(yntactic correctness.)-3.577 F(The)6.077 E F3(lithist)3.576 E F0 -.373(shell option causes the shell to sa)108 535.2 R .674 -.15(ve t)-.2 -H .374(he command with embedded ne).15 F .374 -(wlines instead of semicolons.)-.25 F .374(See the)5.374 F .319 -(description of the)108 547.2 R F3(shopt)2.819 E F0 -.2(bu)2.819 G .318 +1.077(yntactic correctness.)-3.577 F(The)6.077 E F1(lithist)3.577 E F0 +.374(shell option causes the shell to sa)108 652.8 R .674 -.15(ve t)-.2 +H .374(he command with embedded ne).15 F .373 +(wlines instead of semicolons.)-.25 F .373(See the)5.373 F .318 +(description of the)108 664.8 R F1(shopt)2.818 E F0 -.2(bu)2.818 G .318 (iltin belo).2 F 2.818(wu)-.25 G(nder)-2.818 E F5 .318(SHELL B)2.818 F -(UIL)-.09 E .318(TIN COMMANDS)-.828 F F0 .318 +(UIL)-.09 E .318(TIN COMMANDS)-.828 F F0 .319 (for information on setting and)2.568 F(unsetting shell options.)108 -559.2 Q F2(HIST)72 576 Q(OR)-.197 E 2.738(YE)-.383 G(XP)-2.738 E(ANSION) --.81 E F0 .61(The shell supports a history e)108 588 R .611 -(xpansion feature that is similar to the history e)-.15 F .611 -(xpansion in)-.15 F F3(csh.)3.111 E F0 .611(This section)5.611 F .871 -(describes what syntax features are a)108 600 R -.25(va)-.2 G 3.371 -(ilable. This).25 F .871(feature is enabled by def)3.371 F .87 -(ault for interacti)-.1 F 1.17 -.15(ve s)-.25 H .87(hells, and).15 F -2.013(can be disabled using the)108 612 R F3(+H)4.514 E F0 2.014 -(option to the)4.514 F F3(set)4.514 E F0 -.2(bu)4.514 G 2.014 -(iltin command \(see).2 F F5 2.014(SHELL B)4.514 F(UIL)-.09 E 2.014 -(TIN COMMANDS)-.828 F F0(belo)108 624 Q 2.5(w\). Non-interacti)-.25 F .3 --.15(ve s)-.25 H(hells do not perform history e).15 E(xpansion by def) --.15 E(ault.)-.1 E 1.306(History e)108 640.8 R 1.306 -(xpansions introduce w)-.15 F 1.306(ords from the history list into the\ - input stream, making it easy to repeat)-.1 F .209 -(commands, insert the ar)108 652.8 R .209(guments to a pre)-.18 F .21 +676.8 Q F3(HIST)72 693.6 Q(OR)-.197 E 2.738(YE)-.383 G(XP)-2.738 E +(ANSION)-.81 E F0 .611(The shell supports a history e)108 705.6 R .611 +(xpansion feature that is similar to the history e)-.15 F .61 +(xpansion in)-.15 F F1(csh.)3.11 E F0 .61(This section)5.61 F .87 +(describes what syntax features are a)108 717.6 R -.25(va)-.2 G 3.371 +(ilable. This).25 F .871(feature is enabled by def)3.371 F .871 +(ault for interacti)-.1 F 1.171 -.15(ve s)-.25 H .871(hells, and).15 F +2.014(can be disabled using the)108 729.6 R F1(+H)4.514 E F0 2.014 +(option to the)4.514 F F1(set)4.514 E F0 -.2(bu)4.514 G 2.014 +(iltin command \(see).2 F F5 2.013(SHELL B)4.513 F(UIL)-.09 E 2.013 +(TIN COMMANDS)-.828 F F0(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E +(51)192.055 E 0 Cg EP +%%Page: 52 52 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E(belo)108 84 Q 2.5 +(w\). Non-interacti)-.25 F .3 -.15(ve s)-.25 H +(hells do not perform history e).15 E(xpansion by def)-.15 E(ault.)-.1 E +1.305(History e)108 100.8 R 1.305(xpansions introduce w)-.15 F 1.306(or\ +ds from the history list into the input stream, making it easy to repea\ +t)-.1 F .21(commands, insert the ar)108 112.8 R .21(guments to a pre) +-.18 F .209 (vious command into the current input line, or \214x errors in pre)-.25 -F(vious)-.25 E(commands quickly)108 664.8 Q(.)-.65 E 1.164(History e)108 -681.6 R 1.163(xpansion is performed immediately after a complete line i\ -s read, before the shell breaks it into)-.15 F -.1(wo)108 693.6 S 3.2 +F(vious)-.25 E(commands quickly)108 124.8 Q(.)-.65 E 1.163(History e)108 +141.6 R 1.163(xpansion is performed immediately after a complete line i\ +s read, before the shell breaks it into)-.15 F -.1(wo)108 153.6 S 3.2 (rds. It).1 F(tak)3.2 E .7(es place in tw)-.1 F 3.2(op)-.1 G 3.2 (arts. The)-3.2 F .7 (\214rst is to determine which line from the history list to use during) -3.2 F 4.368(substitution. The)108 705.6 R 1.868(second is to select por\ -tions of that line for inclusion into the current one.)4.368 F 1.867 -(The line)6.867 F .662(selected from the history is the)108 717.6 R F4 --.15(ev)3.162 G(ent).15 E F0 3.162(,a)C .663 -(nd the portions of that line that are acted upon are)-3.162 F F4(wor) -3.163 E(ds)-.37 E F0 5.663(.V)C(arious)-6.773 E F4(modi\214er)108 729.6 -Q(s)-.1 E F0 .227(are a)2.727 F -.25(va)-.2 G .227 -(ilable to manipulate the selected w).25 F 2.727(ords. The)-.1 F .226 -(line is brok)2.726 F .226(en into w)-.1 F .226(ords in the same f)-.1 F -(ashion)-.1 E(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(49)190.95 E -0 Cg EP -%%Page: 50 50 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .351(as when reading input, so that se)108 84 R -.15(ve)-.25 G -(ral).15 E/F1 10/Times-Italic@0 SF(metac)2.852 E(har)-.15 E(acter)-.15 E -F0 .352(-separated w)B .352(ords surrounded by quotes are considered)-.1 -F .625(one w)108 96 R 3.125(ord. History)-.1 F -.15(ex)3.125 G .624 -(pansions are introduced by the appearance of the history e).15 F .624 -(xpansion character)-.15 F 3.124(,w)-.4 G(hich)-3.124 E(is)108 108 Q/F2 -10/Times-Bold@0 SF(!)3.333 E F0(by def)3.333 E 2.5(ault. Only)-.1 F -(backslash \()2.5 E F2(\\).833 E F0 2.5(\)a).833 G -(nd single quotes can quote the history e)-2.5 E(xpansion character)-.15 -E(.)-.55 E(Se)108 124.8 Q -.15(ve)-.25 G .03 +3.2 F 4.367(substitution. The)108 165.6 R 1.868(second is to select por\ +tions of that line for inclusion into the current one.)4.367 F 1.868 +(The line)6.868 F .663(selected from the history is the)108 177.6 R/F1 +10/Times-Italic@0 SF -.15(ev)3.163 G(ent).15 E F0 3.163(,a)C .663 +(nd the portions of that line that are acted upon are)-3.163 F F1(wor) +3.162 E(ds)-.37 E F0 5.662(.V)C(arious)-6.772 E F1(modi\214er)108 189.6 +Q(s)-.1 E F0 .226(are a)2.726 F -.25(va)-.2 G .226 +(ilable to manipulate the selected w).25 F 2.726(ords. The)-.1 F .227 +(line is brok)2.726 F .227(en into w)-.1 F .227(ords in the same f)-.1 F +(ashion)-.1 E .352(as when reading input, so that se)108 201.6 R -.15 +(ve)-.25 G(ral).15 E F1(metac)2.852 E(har)-.15 E(acter)-.15 E F0 .351 +(-separated w)B .351(ords surrounded by quotes are considered)-.1 F .624 +(one w)108 213.6 R 3.124(ord. History)-.1 F -.15(ex)3.124 G .624 +(pansions are introduced by the appearance of the history e).15 F .625 +(xpansion character)-.15 F 3.125(,w)-.4 G(hich)-3.125 E(is)108 225.6 Q +/F2 10/Times-Bold@0 SF(!)3.511 E F0 .178(by def)3.511 F 2.678 +(ault. Only)-.1 F .178(backslash \()2.678 F F2(\\).833 E F0 2.678(\)a) +.833 G .178(nd single quotes can quote the history e)-2.678 F .177 +(xpansion character)-.15 F 2.677(,b)-.4 G .177(ut the his-)-2.877 F .67 +(tory e)108 237.6 R .67(xpansion character is also treated as quoted if\ + it immediately precedes the closing double quote in a)-.15 F +(double-quoted string.)108 249.6 Q(Se)108 266.4 Q -.15(ve)-.25 G .03 (ral characters inhibit history e).15 F .03 (xpansion if found immediately follo)-.15 F .03(wing the history e)-.25 -F .03(xpansion character)-.15 F(,)-.4 E -2.15 -.25(ev e)108 136.8 T -3.163(ni).25 G 3.163(fi)-3.163 G 3.162(ti)-3.163 G 3.162(su)-3.162 G +F .03(xpansion character)-.15 F(,)-.4 E -2.15 -.25(ev e)108 278.4 T +3.162(ni).25 G 3.162(fi)-3.162 G 3.162(ti)-3.162 G 3.162(su)-3.162 G .662(nquoted: space, tab, ne)-3.162 F .662(wline, carriage return, and) -.25 F F2(=)3.162 E F0 5.662(.I)C 3.162(ft)-5.662 G(he)-3.162 E F2 -(extglob)3.162 E F0 .662(shell option is enabled,)3.162 F F2(\()3.162 E -F0(will also inhibit e)108 148.8 Q(xpansion.)-.15 E(Se)108 165.6 Q -.15 -(ve)-.25 G .109(ral shell options settable with the).15 F F2(shopt)2.609 -E F0 -.2(bu)2.609 G .11(iltin may be used to tailor the beha).2 F .11 -(vior of history e)-.2 F(xpansion.)-.15 E 1.143(If the)108 177.6 R F2 +(extglob)3.162 E F0 .662(shell option is enabled,)3.162 F F2(\()3.163 E +F0(will also inhibit e)108 290.4 Q(xpansion.)-.15 E(Se)108 307.2 Q -.15 +(ve)-.25 G .11(ral shell options settable with the).15 F F2(shopt)2.61 E +F0 -.2(bu)2.61 G .109(iltin may be used to tailor the beha).2 F .109 +(vior of history e)-.2 F(xpansion.)-.15 E 1.142(If the)108 319.2 R F2 (histv)3.643 E(erify)-.1 E F0 1.143 (shell option is enabled \(see the description of the)3.643 F F2(shopt) 3.643 E F0 -.2(bu)3.643 G 1.143(iltin belo).2 F 1.143(w\), and)-.25 F F2 --.18(re)3.643 G(adline).18 E F0(is)3.642 E .461(being used, history sub\ -stitutions are not immediately passed to the shell parser)108 189.6 R -5.461(.I)-.55 G .461(nstead, the e)-5.461 F .461(xpanded line)-.15 F -1.516(is reloaded into the)108 201.6 R F2 -.18(re)4.016 G(adline).18 E -F0 1.516(editing b)4.016 F(uf)-.2 E 1.516 -(fer for further modi\214cation.)-.25 F(If)6.516 E F2 -.18(re)4.015 G -(adline).18 E F0 1.515(is being used, and the)4.015 F F2(histr)108 213.6 -Q(eedit)-.18 E F0 1.202(shell option is enabled, a f)3.702 F 1.202 +-.18(re)3.643 G(adline).18 E F0(is)3.643 E .461(being used, history sub\ +stitutions are not immediately passed to the shell parser)108 331.2 R +5.46(.I)-.55 G .46(nstead, the e)-5.46 F .46(xpanded line)-.15 F 1.515 +(is reloaded into the)108 343.2 R F2 -.18(re)4.015 G(adline).18 E F0 +1.515(editing b)4.015 F(uf)-.2 E 1.516(fer for further modi\214cation.) +-.25 F(If)6.516 E F2 -.18(re)4.016 G(adline).18 E F0 1.516 +(is being used, and the)4.016 F F2(histr)108 355.2 Q(eedit)-.18 E F0 +1.202(shell option is enabled, a f)3.702 F 1.202 (ailed history substitution will be reloaded into the)-.1 F F2 -.18(re) -3.702 G(adline).18 E F0(editing)3.702 E -.2(bu)108 225.6 S -.25(ff).2 G -1.161(er for correction.).25 F(The)6.161 E F23.661 E F0 1.161 -(option to the)3.661 F F2(history)3.661 E F0 -.2(bu)3.661 G 1.16 -(iltin command may be used to see what a history).2 F -.15(ex)108 237.6 -S .055(pansion will do before using it.).15 F(The)5.055 E F22.555 -E F0 .055(option to the)2.555 F F2(history)2.556 E F0 -.2(bu)2.556 G -.056(iltin may be used to add commands to the).2 F -(end of the history list without actually e)108 249.6 Q -.15(xe)-.15 G +3.702 G(adline).18 E F0(editing)3.702 E -.2(bu)108 367.2 S -.25(ff).2 G +1.16(er for correction.).25 F(The)6.16 E F23.66 E F0 1.16 +(option to the)3.66 F F2(history)3.66 E F0 -.2(bu)3.661 G 1.161 +(iltin command may be used to see what a history).2 F -.15(ex)108 379.2 +S .056(pansion will do before using it.).15 F(The)5.056 E F22.556 +E F0 .056(option to the)2.556 F F2(history)2.555 E F0 -.2(bu)2.555 G +.055(iltin may be used to add commands to the).2 F +(end of the history list without actually e)108 391.2 Q -.15(xe)-.15 G (cuting them, so that the).15 E 2.5(ya)-.15 G(re a)-2.5 E -.25(va)-.2 G -(ilable for subsequent recall.).25 E 2.2(The shell allo)108 266.4 R 2.2 +(ilable for subsequent recall.).25 E 2.2(The shell allo)108 408 R 2.2 (ws control of the v)-.25 F 2.2(arious characters used by the history e) --.25 F 2.2(xpansion mechanism \(see the)-.15 F 1.146(description of)108 -278.4 R F2(histchars)3.646 E F0(abo)3.646 E 1.446 -.15(ve u)-.15 H(nder) -.15 E F2 1.146(Shell V)3.646 F(ariables)-.92 E F0 3.646(\). The)B 1.147 +-.25 F 2.2(xpansion mechanism \(see the)-.15 F 1.147(description of)108 +420 R F2(histchars)3.647 E F0(abo)3.647 E 1.447 -.15(ve u)-.15 H(nder) +.15 E F2 1.147(Shell V)3.647 F(ariables)-.92 E F0 3.646(\). The)B 1.146 (shell uses the history comment character to)3.646 F -(mark history timestamps when writing the history \214le.)108 290.4 Q F2 -(Ev)87 307.2 Q(ent Designators)-.1 E F0 .205(An e)108 319.2 R -.15(ve) +(mark history timestamps when writing the history \214le.)108 432 Q F2 +(Ev)87 448.8 Q(ent Designators)-.1 E F0 .204(An e)108 460.8 R -.15(ve) -.25 G .204(nt designator is a reference to a command line entry in the\ - history list.).15 F .204(Unless the reference is abso-)5.204 F(lute, e) -108 331.2 Q -.15(ve)-.25 G(nts are relati).15 E .3 -.15(ve t)-.25 H 2.5 -(ot).15 G(he current position in the history list.)-2.5 E F2(!)108 348 Q -F0 1.607(Start a history substitution, e)32.67 F 1.607(xcept when follo) --.15 F 1.607(wed by a)-.25 F F2(blank)4.107 E F0 4.107(,n)C -.25(ew) --4.107 G 1.608(line, carriage return, = or \().25 F(\(when the)144 360 Q -F2(extglob)2.5 E F0(shell option is enabled using the)2.5 E F2(shopt)2.5 -E F0 -.2(bu)2.5 G(iltin\).).2 E F2(!)108 372 Q F1(n)A F0 -(Refer to command line)27.67 E F1(n)2.5 E F0(.).24 E F2<21ad>108 384 Q -F1(n)A F0(Refer to the current command minus)21.97 E F1(n)2.5 E F0(.).24 -E F2(!!)108 396 Q F0(Refer to the pre)29.34 E(vious command.)-.25 E -(This is a synon)5 E(ym for `!\2551'.)-.15 E F2(!)108 408 Q F1(string)A -F0 .865(Refer to the most recent command preceding the current position\ - in the history list starting with)9.33 F F1(string)144 420 Q F0(.).22 E -F2(!?)108 432 Q F1(string)A F2([?])A F0 1.503(Refer to the most recent \ -command preceding the current position in the history list containing) -144 444 R F1(string)144 456 Q F0 5(.T).22 G(he trailing)-5 E F2(?)2.5 E -F0(may be omitted if)2.5 E F1(string)2.84 E F0(is follo)2.72 E -(wed immediately by a ne)-.25 E(wline.)-.25 E/F3 12/Times-Bold@0 SF(^) -108 473 Q F1(string1)-5 I F3(^)5 I F1(string2)-5 I F3(^)5 I F0 .784 -(Quick substitution.)144 480 R .784(Repeat the pre)5.784 F .784 -(vious command, replacing)-.25 F F1(string1)3.624 E F0(with)3.283 E F1 -(string2)3.283 E F0 5.783(.E).02 G(qui)-5.783 E -.25(va)-.25 G .783 -(lent to).25 F -.74(``)144 492 S(!!:s/).74 E F1(string1)A F0(/)A F1 + history list.).15 F .205(Unless the reference is abso-)5.204 F(lute, e) +108 472.8 Q -.15(ve)-.25 G(nts are relati).15 E .3 -.15(ve t)-.25 H 2.5 +(ot).15 G(he current position in the history list.)-2.5 E F2(!)108 489.6 +Q F0 1.608(Start a history substitution, e)144 489.6 R 1.608 +(xcept when follo)-.15 F 1.607(wed by a)-.25 F F2(blank)4.107 E F0 4.107 +(,n)C -.25(ew)-4.107 G 1.607(line, carriage return, = or \().25 F +(\(when the)144 501.6 Q F2(extglob)2.5 E F0 +(shell option is enabled using the)2.5 E F2(shopt)2.5 E F0 -.2(bu)2.5 G +(iltin\).).2 E F2(!)108 513.6 Q F1(n)A F0(Refer to command line)144 +513.6 Q F1(n)2.5 E F0(.).24 E F2<21ad>108 525.6 Q F1(n)A F0 +(Refer to the current command minus)144 525.6 Q F1(n)2.5 E F0(.).24 E F2 +(!!)108 537.6 Q F0(Refer to the pre)144 537.6 Q(vious command.)-.25 E +(This is a synon)5 E(ym for `!\2551'.)-.15 E F2(!)108 549.6 Q F1(string) +A F0 .865(Refer to the most recent command preceding the current positi\ +on in the history list starting with)144 549.6 R F1(string)144 561.6 Q +F0(.).22 E F2(!?)108 573.6 Q F1(string)A F2([?])A F0 1.503(Refer to the\ + most recent command preceding the current position in the history list\ + containing)144 585.6 R F1(string)144 597.6 Q F0 5(.T).22 G(he trailing) +-5 E F2(?)2.5 E F0(may be omitted if)2.5 E F1(string)2.84 E F0(is follo) +2.72 E(wed immediately by a ne)-.25 E(wline.)-.25 E/F3 12/Times-Bold@0 +SF(^)108 614.6 Q F1(string1)-5 I F3(^)5 I F1(string2)-5 I F3(^)5 I F0 +.783(Quick substitution.)144 621.6 R .783(Repeat the pre)5.783 F .784 +(vious command, replacing)-.25 F F1(string1)3.624 E F0(with)3.284 E F1 +(string2)3.284 E F0 5.784(.E).02 G(qui)-5.784 E -.25(va)-.25 G .784 +(lent to).25 F -.74(``)144 633.6 S(!!:s/).74 E F1(string1)A F0(/)A F1 (string2)A F0(/')A 2.5('\()-.74 G(see)-2.5 E F2(Modi\214ers)2.5 E F0 -(belo)2.5 E(w\).)-.25 E F2(!#)108 504 Q F0 -(The entire command line typed so f)27.67 E(ar)-.1 E(.)-.55 E F2 -.75 -(Wo)87 520.8 S(rd Designators).75 E F0 -.8(Wo)108 532.8 S 1.313 +(belo)2.5 E(w\).)-.25 E F2(!#)108 645.6 Q F0 +(The entire command line typed so f)144 645.6 Q(ar)-.1 E(.)-.55 E F2 +-.75(Wo)87 662.4 S(rd Designators).75 E F0 -.8(Wo)108 674.4 S 1.314 (rd designators are used to select desired w).8 F 1.314(ords from the e) --.1 F -.15(ve)-.25 G 3.814(nt. A).15 F F2(:)3.814 E F0 1.314 -(separates the e)3.814 F -.15(ve)-.25 G 1.314(nt speci\214cation).15 F -.53(from the w)108 544.8 R .529(ord designator)-.1 F 5.529(.I)-.55 G +-.1 F -.15(ve)-.25 G 3.814(nt. A).15 F F2(:)3.814 E F0 1.313 +(separates the e)3.813 F -.15(ve)-.25 G 1.313(nt speci\214cation).15 F +.529(from the w)108 686.4 R .529(ord designator)-.1 F 5.529(.I)-.55 G 3.029(tm)-5.529 G .529(ay be omitted if the w)-3.029 F .529 (ord designator be)-.1 F .529(gins with a)-.15 F F2(^)3.029 E F0(,)A F2 ($)3.029 E F0(,)A F2(*)3.029 E F0(,)A F23.029 E F0 3.029(,o)C(r) --3.029 E F2(%)3.029 E F0 5.529(.W)C(ords)-6.329 E 1.3 -(are numbered from the be)108 556.8 R 1.3 -(ginning of the line, with the \214rst w)-.15 F 1.301 -(ord being denoted by 0 \(zero\).)-.1 F -.8(Wo)6.301 G 1.301(rds are).8 -F(inserted into the current line separated by single spaces.)108 568.8 Q -F2 2.5(0\()108 585.6 S(zer)-2.5 E(o\))-.18 E F0(The zeroth w)144 597.6 Q -2.5(ord. F)-.1 F(or the shell, this is the command w)-.15 E(ord.)-.1 E -F1(n)108.36 609.6 Q F0(The)30.64 E F1(n)2.5 E F0(th w)A(ord.)-.1 E F2(^) -108 621.6 Q F0(The \214rst ar)32.67 E 2.5(gument. That)-.18 F(is, w)2.5 -E(ord 1.)-.1 E F2($)108 633.6 Q F0 .064(The last w)31 F 2.564(ord. This) --.1 F .064(is usually the last ar)2.564 F .064(gument, b)-.18 F .064 -(ut will e)-.2 F .064(xpand to the zeroth w)-.15 F .063 -(ord if there is only)-.1 F(one w)144 645.6 Q(ord in the line.)-.1 E F2 -(%)108 657.6 Q F0(The w)26 E(ord matched by the most recent `?)-.1 E F1 -(string)A F0(?' search.)A F1(x)108.77 669.6 Q F2A F1(y)A F0 2.5(Ar) -20.65 G(ange of w)-2.5 E(ords; `\255)-.1 E F1(y)A F0 2.5('a)C(bbre)-2.5 -E(viates `0\255)-.25 E F1(y)A F0('.)A F2(*)108 681.6 Q F0 .315 -(All of the w)31 F .315(ords b)-.1 F .315(ut the zeroth.)-.2 F .315 -(This is a synon)5.315 F .315(ym for `)-.15 F F1(1\255$)A F0 2.815 -('. It)B .315(is not an error to use)2.815 F F2(*)2.816 E F0 .316 -(if there is)2.816 F(just one w)144 693.6 Q(ord in the e)-.1 E -.15(ve) --.25 G(nt; the empty string is returned in that case.).15 E F2(x*)108 -705.6 Q F0(Abbre)26 E(viates)-.25 E F1(x\255$)2.5 E F0(.)A F2<78ad>108 -717.6 Q F0(Abbre)25.3 E(viates)-.25 E F1(x\255$)2.5 E F0(lik)2.5 E(e)-.1 -E F2(x*)2.5 E F0 2.5(,b)C(ut omits the last w)-2.7 E(ord.)-.1 E -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(50)190.95 E 0 Cg EP -%%Page: 51 51 +-3.029 E F2(%)3.029 E F0 5.53(.W)C(ords)-6.33 E 1.301 +(are numbered from the be)108 698.4 R 1.301 +(ginning of the line, with the \214rst w)-.15 F 1.3 +(ord being denoted by 0 \(zero\).)-.1 F -.8(Wo)6.3 G 1.3(rds are).8 F +(inserted into the current line separated by single spaces.)108 710.4 Q +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(52)192.055 E 0 Cg EP +%%Page: 53 53 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(If a w)108 84 Q(ord designator is supplied without an e)-.1 E --.15(ve)-.25 G(nt speci\214cation, the pre).15 E -(vious command is used as the e)-.25 E -.15(ve)-.25 G(nt.).15 E/F1 10 -/Times-Bold@0 SF(Modi\214ers)87 100.8 Q F0 .184(After the optional w)108 -112.8 R .184(ord designator)-.1 F 2.684(,t)-.4 G .183 -(here may appear a sequence of one or more of the follo)-2.684 F .183 -(wing modi\214ers,)-.25 F(each preceded by a `:'.)108 124.8 Q F1(h)108 -141.6 Q F0(Remo)30.44 E .3 -.15(ve a t)-.15 H +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF 2.5(0\()108 84 S(zer)-2.5 E(o\))-.18 E F0(The zeroth w)144 96 Q 2.5 +(ord. F)-.1 F(or the shell, this is the command w)-.15 E(ord.)-.1 E/F2 +10/Times-Italic@0 SF(n)108.36 108 Q F0(The)144 108 Q F2(n)2.5 E F0(th w) +A(ord.)-.1 E F1(^)108 120 Q F0(The \214rst ar)144 120 Q 2.5 +(gument. That)-.18 F(is, w)2.5 E(ord 1.)-.1 E F1($)108 132 Q F0 .063 +(The last w)144 132 R 2.563(ord. This)-.1 F .063(is usually the last ar) +2.563 F .064(gument, b)-.18 F .064(ut will e)-.2 F .064 +(xpand to the zeroth w)-.15 F .064(ord if there is only)-.1 F(one w)144 +144 Q(ord in the line.)-.1 E F1(%)108 156 Q F0(The w)144 156 Q +(ord matched by the most recent `?)-.1 E F2(string)A F0(?' search.)A F2 +(x)108.77 168 Q F1A F2(y)A F0 2.5(Ar)144 168 S(ange of w)-2.5 E +(ords; `\255)-.1 E F2(y)A F0 2.5('a)C(bbre)-2.5 E(viates `0\255)-.25 E +F2(y)A F0('.)A F1(*)108 180 Q F0 .316(All of the w)144 180 R .316 +(ords b)-.1 F .316(ut the zeroth.)-.2 F .315(This is a synon)5.315 F +.315(ym for `)-.15 F F2(1\255$)A F0 2.815('. It)B .315 +(is not an error to use)2.815 F F1(*)2.815 E F0 .315(if there is)2.815 F +(just one w)144 192 Q(ord in the e)-.1 E -.15(ve)-.25 G +(nt; the empty string is returned in that case.).15 E F1(x*)108 204 Q F0 +(Abbre)144 204 Q(viates)-.25 E F2(x\255$)2.5 E F0(.)A F1<78ad>108 216 Q +F0(Abbre)144 216 Q(viates)-.25 E F2(x\255$)2.5 E F0(lik)2.5 E(e)-.1 E F1 +(x*)2.5 E F0 2.5(,b)C(ut omits the last w)-2.7 E(ord.)-.1 E(If a w)108 +232.8 Q(ord designator is supplied without an e)-.1 E -.15(ve)-.25 G +(nt speci\214cation, the pre).15 E(vious command is used as the e)-.25 E +-.15(ve)-.25 G(nt.).15 E F1(Modi\214ers)87 249.6 Q F0 .183 +(After the optional w)108 261.6 R .183(ord designator)-.1 F 2.683(,t)-.4 +G .184(here may appear a sequence of one or more of the follo)-2.683 F +.184(wing modi\214ers,)-.25 F(each preceded by a `:'.)108 273.6 Q F1(h) +108 290.4 Q F0(Remo)144 290.4 Q .3 -.15(ve a t)-.15 H (railing \214lename component, lea).15 E(ving only the head.)-.2 E F1(t) -108 153.6 Q F0(Remo)32.67 E .3 -.15(ve a)-.15 H +108 302.4 Q F0(Remo)144 302.4 Q .3 -.15(ve a)-.15 H (ll leading \214lename components, lea).15 E(ving the tail.)-.2 E F1(r) -108 165.6 Q F0(Remo)31.56 E .3 -.15(ve a t)-.15 H(railing suf).15 E -(\214x of the form)-.25 E/F2 10/Times-Italic@0 SF(.xxx)2.5 E F0 2.5(,l)C -(ea)-2.5 E(ving the basename.)-.2 E F1(e)108 177.6 Q F0(Remo)31.56 E .3 --.15(ve a)-.15 H(ll b).15 E(ut the trailing suf)-.2 E(\214x.)-.25 E F1 -(p)108 189.6 Q F0(Print the ne)30.44 E 2.5(wc)-.25 G(ommand b)-2.5 E -(ut do not e)-.2 E -.15(xe)-.15 G(cute it.).15 E F1(q)108 201.6 Q F0 -(Quote the substituted w)30.44 E(ords, escaping further substitutions.) --.1 E F1(x)108 213.6 Q F0(Quote the substituted w)31 E(ords as with)-.1 -E F1(q)2.5 E F0 2.5(,b)C(ut break into w)-2.7 E(ords at)-.1 E F1(blanks) -2.5 E F0(and ne)2.5 E(wlines.)-.25 E F1(s/)108 225.6 Q F2(old)A F1(/)A -F2(ne)A(w)-.15 E F1(/)A F0(Substitute)144 237.6 Q F2(ne)3.081 E(w)-.15 E -F0 .221(for the \214rst occurrence of)3.031 F F2(old)2.951 E F0 .221 -(in the e)3.491 F -.15(ve)-.25 G .221(nt line.).15 F(An)5.221 E 2.721 -(yd)-.15 G .221(elimiter can be used in place)-2.721 F .617(of /.)144 -249.6 R .617 +108 314.4 Q F0(Remo)144 314.4 Q .3 -.15(ve a t)-.15 H(railing suf).15 E +(\214x of the form)-.25 E F2(.xxx)2.5 E F0 2.5(,l)C(ea)-2.5 E +(ving the basename.)-.2 E F1(e)108 326.4 Q F0(Remo)144 326.4 Q .3 -.15 +(ve a)-.15 H(ll b).15 E(ut the trailing suf)-.2 E(\214x.)-.25 E F1(p)108 +338.4 Q F0(Print the ne)144 338.4 Q 2.5(wc)-.25 G(ommand b)-2.5 E +(ut do not e)-.2 E -.15(xe)-.15 G(cute it.).15 E F1(q)108 350.4 Q F0 +(Quote the substituted w)144 350.4 Q +(ords, escaping further substitutions.)-.1 E F1(x)108 362.4 Q F0 +(Quote the substituted w)144 362.4 Q(ords as with)-.1 E F1(q)2.5 E F0 +2.5(,b)C(ut break into w)-2.7 E(ords at)-.1 E F1(blanks)2.5 E F0(and ne) +2.5 E(wlines.)-.25 E F1(s/)108 374.4 Q F2(old)A F1(/)A F2(ne)A(w)-.15 E +F1(/)A F0(Substitute)144 386.4 Q F2(ne)3.082 E(w)-.15 E F0 .221 +(for the \214rst occurrence of)3.032 F F2(old)2.951 E F0 .221(in the e) +3.491 F -.15(ve)-.25 G .221(nt line.).15 F(An)5.221 E 2.721(yd)-.15 G +.221(elimiter can be used in place)-2.721 F .616(of /.)144 398.4 R .617 (The \214nal delimiter is optional if it is the last character of the e) -5.617 F -.15(ve)-.25 G .617(nt line.).15 F .616(The delimiter may)5.616 -F .666(be quoted in)144 261.6 R F2(old)3.396 E F0(and)3.936 E F2(ne) +5.616 F -.15(ve)-.25 G .617(nt line.).15 F .617(The delimiter may)5.617 +F .666(be quoted in)144 410.4 R F2(old)3.396 E F0(and)3.936 E F2(ne) 3.526 E(w)-.15 E F0 .666(with a single backslash.)3.476 F .666 (If & appears in)5.666 F F2(ne)3.166 E(w)-.15 E F0 3.166(,i).31 G 3.166 (ti)-3.166 G 3.166(sr)-3.166 G .666(eplaced by)-3.166 F F2(old)3.166 E -F0 5.666(.A).77 G .275(single backslash will quote the &.)144 273.6 R -(If)5.275 E F2(old)3.004 E F0 .274(is null, it is set to the last)3.544 -F F2(old)3.004 E F0 .274(substituted, or)3.544 F 2.774(,i)-.4 G 2.774 -(fn)-2.774 G 2.774(op)-2.774 G(re)-2.774 E(vi-)-.25 E -(ous history substitutions took place, the last)144 285.6 Q F2(string) +F0 5.666(.A).77 G .274(single backslash will quote the &.)144 422.4 R +(If)5.274 E F2(old)3.004 E F0 .274(is null, it is set to the last)3.544 +F F2(old)3.005 E F0 .275(substituted, or)3.545 F 2.775(,i)-.4 G 2.775 +(fn)-2.775 G 2.775(op)-2.775 G(re)-2.775 E(vi-)-.25 E +(ous history substitutions took place, the last)144 434.4 Q F2(string) 2.84 E F0(in a)2.72 E F1(!?)2.5 E F2(string)A F1([?])A F0(search.)5 E F1 -(&)108 297.6 Q F0(Repeat the pre)27.67 E(vious substitution.)-.25 E F1 -(g)108 309.6 Q F0 .397(Cause changes to be applied o)31 F -.15(ve)-.15 G -2.897(rt).15 G .398(he entire e)-2.897 F -.15(ve)-.25 G .398(nt line.) -.15 F .398(This is used in conjunction with `)5.398 F F1(:s)A F0 2.898 -('\()C(e.g.,)-2.898 E(`)144 321.6 Q F1(:gs/)A F2(old)A F1(/)A F2(ne)A(w) --.15 E F1(/)A F0 1.219('\) or `)B F1(:&)A F0 3.719('. If)B 1.219 -(used with `)3.719 F F1(:s)A F0 1.218(', an)B 3.718(yd)-.15 G 1.218 -(elimiter can be used in place of /, and the \214nal)-3.718 F .089 -(delimiter is optional if it is the last character of the e)144 333.6 R --.15(ve)-.25 G .09(nt line.).15 F(An)5.09 E F1(a)2.59 E F0 .09 -(may be used as a synon)2.59 F .09(ym for)-.15 F F1(g)144 345.6 Q F0(.)A -F1(G)108 357.6 Q F0(Apply the follo)28.22 E(wing `)-.25 E F1(s)A F0 2.5 -('m)C(odi\214er once to each w)-2.5 E(ord in the e)-.1 E -.15(ve)-.25 G -(nt line.).15 E/F3 10.95/Times-Bold@0 SF(SHELL B)72 374.4 Q(UIL)-.11 E -(TIN COMMANDS)-1.007 E F0 .063(Unless otherwise noted, each b)108 386.4 -R .062(uiltin command documented in this section as accepting options p\ -receded by)-.2 F F1108 398.4 Q F0(accepts)2.533 E F12.533 E F0 -.034(to signify the end of the options.)2.533 F(The)5.034 E F1(:)2.534 E -F0(,)A F1(true)2.534 E F0(,)A F1(false)2.534 E F0 2.534(,a)C(nd)-2.534 E -F1(test)2.534 E F0 -.2(bu)2.534 G .034(iltins do not accept options and) -.2 F .078(do not treat)108 410.4 R F12.577 E F0(specially)2.577 E -5.077(.T)-.65 G(he)-5.077 E F1(exit)2.577 E F0(,)A F1(logout)2.577 E F0 -(,)A F1(br)2.577 E(eak)-.18 E F0(,)A F1(continue)2.577 E F0(,)A F1(let) -2.577 E F0 2.577(,a)C(nd)-2.577 E F1(shift)2.577 E F0 -.2(bu)2.577 G -.077(iltins accept and process ar).2 F(gu-)-.18 E .319(ments be)108 -422.4 R .319(ginning with)-.15 F F12.819 E F0 .319 -(without requiring)2.819 F F12.819 E F0 5.319(.O)C .319(ther b) --5.319 F .319(uiltins that accept ar)-.2 F .32(guments b)-.18 F .32 -(ut are not speci\214ed as)-.2 F 1.144(accepting options interpret ar) -108 434.4 R 1.144(guments be)-.18 F 1.144(ginning with)-.15 F F1 -3.643 E F0 1.143(as in)3.643 F -.25(va)-.4 G 1.143 -(lid options and require).25 F F13.643 E F0 1.143(to pre)3.643 F --.15(ve)-.25 G 1.143(nt this).15 F(interpretation.)108 446.4 Q F1(:)108 -464.4 Q F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A .451(No ef)144 476.4 R -.451(fect; the command does nothing be)-.25 F .452(yond e)-.15 F -(xpanding)-.15 E F2(ar)3.282 E(guments)-.37 E F0 .452(and performing an) -3.222 F 2.952(ys)-.15 G(peci\214ed)-2.952 E 2.5(redirections. A)144 -488.4 R(zero e)2.5 E(xit code is returned.)-.15 E F1(.)110.5 505.2 Q F2 -(\214lename)6.666 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A F1(sour)108 -517.2 Q(ce)-.18 E F2(\214lename)2.5 E F0([)2.5 E F2(ar)A(guments)-.37 E -F0(])A 1.02(Read and e)144 529.2 R -.15(xe)-.15 G 1.02 -(cute commands from).15 F F2(\214lename)5.43 E F0 1.02 -(in the current shell en)3.7 F 1.02(vironment and return the e)-.4 F -(xit)-.15 E 1.458(status of the last command e)144 541.2 R -.15(xe)-.15 -G 1.458(cuted from).15 F F2(\214lename)3.958 E F0 6.458(.I).18 G(f) --6.458 E F2(\214lename)5.868 E F0 1.458 -(does not contain a slash, \214le-)4.138 F .608(names in)144 553.2 R/F4 -9/Times-Bold@0 SF -.666(PA)3.108 G(TH)-.189 E F0 .608 -(are used to \214nd the directory containing)2.858 F F2(\214lename)3.108 -E F0 5.608(.T).18 G .608(he \214le searched for in)-5.608 F F4 -.666(PA) -3.108 G(TH)-.189 E F0 .832(need not be e)144 565.2 R -.15(xe)-.15 G -3.332(cutable. When).15 F F1(bash)3.332 E F0 .832(is not in)3.332 F F2 -.832(posix mode)3.332 F F0 3.332(,t)C .833 -(he current directory is searched if no)-3.332 F .982 -(\214le is found in)144 577.2 R F4 -.666(PA)3.481 G(TH)-.189 E/F5 9 +(&)108 446.4 Q F0(Repeat the pre)144 446.4 Q(vious substitution.)-.25 E +F1(g)108 458.4 Q F0 .398(Cause changes to be applied o)144 458.4 R -.15 +(ve)-.15 G 2.898(rt).15 G .398(he entire e)-2.898 F -.15(ve)-.25 G .398 +(nt line.).15 F .397(This is used in conjunction with `)5.398 F F1(:s)A +F0 2.897('\()C(e.g.,)-2.897 E(`)144 470.4 Q F1(:gs/)A F2(old)A F1(/)A F2 +(ne)A(w)-.15 E F1(/)A F0 1.218('\) or `)B F1(:&)A F0 3.718('. If)B 1.218 +(used with `)3.718 F F1(:s)A F0 1.218(', an)B 3.718(yd)-.15 G 1.219 +(elimiter can be used in place of /, and the \214nal)-3.718 F .09 +(delimiter is optional if it is the last character of the e)144 482.4 R +-.15(ve)-.25 G .089(nt line.).15 F(An)5.089 E F1(a)2.589 E F0 .089 +(may be used as a synon)2.589 F .089(ym for)-.15 F F1(g)144 494.4 Q F0 +(.)A F1(G)108 506.4 Q F0(Apply the follo)144 506.4 Q(wing `)-.25 E F1(s) +A F0 2.5('m)C(odi\214er once to each w)-2.5 E(ord in the e)-.1 E -.15 +(ve)-.25 G(nt line.).15 E/F3 10.95/Times-Bold@0 SF(SHELL B)72 523.2 Q +(UIL)-.11 E(TIN COMMANDS)-1.007 E F0 .062 +(Unless otherwise noted, each b)108 535.2 R .062(uiltin command documen\ +ted in this section as accepting options preceded by)-.2 F F1108 +547.2 Q F0(accepts)2.534 E F12.534 E F0 .034 +(to signify the end of the options.)2.534 F(The)5.034 E F1(:)2.534 E F0 +(,)A F1(true)2.534 E F0(,)A F1(false)2.534 E F0 2.534(,a)C(nd)-2.534 E +F1(test)2.534 E F0 -.2(bu)2.534 G .033(iltins do not accept options and) +.2 F 1.548(do not treat)108 559.2 R F14.048 E F0(specially)4.048 E +6.549(.T)-.65 G(he)-6.549 E F1(exit)4.049 E F0(,)A F1(logout)4.049 E F0 +(,)A F1 -.18(re)4.049 G(tur).18 E(n)-.15 E F0(,)A F1(br)4.049 E(eak)-.18 +E F0(,)A F1(continue)4.049 E F0(,)A F1(let)4.049 E F0 4.049(,a)C(nd) +-4.049 E F1(shift)4.049 E F0 -.2(bu)4.049 G 1.549(iltins accept and).2 F +.261(process ar)108 571.2 R .261(guments be)-.18 F .261(ginning with) +-.15 F F12.761 E F0 .261(without requiring)2.761 F F12.761 E +F0 5.261(.O)C .261(ther b)-5.261 F .26(uiltins that accept ar)-.2 F .26 +(guments b)-.18 F .26(ut are not)-.2 F 1.154 +(speci\214ed as accepting options interpret ar)108 583.2 R 1.154 +(guments be)-.18 F 1.154(ginning with)-.15 F F13.654 E F0 1.154 +(as in)3.654 F -.25(va)-.4 G 1.154(lid options and require).25 F F1 +3.654 E F0(to)3.654 E(pre)108 595.2 Q -.15(ve)-.25 G +(nt this interpretation.).15 E F1(:)108 613.2 Q F0([)2.5 E F2(ar)A +(guments)-.37 E F0(])A .452(No ef)144 625.2 R .452 +(fect; the command does nothing be)-.25 F .452(yond e)-.15 F(xpanding) +-.15 E F2(ar)3.282 E(guments)-.37 E F0 .451(and performing an)3.221 F +2.951(ys)-.15 G(peci\214ed)-2.951 E 2.5(redirections. The)144 637.2 R +(return status is zero.)2.5 E F1(.)110.5 654 Q F2(\214lename)6.666 E F0 +([)2.5 E F2(ar)A(guments)-.37 E F0(])A F1(sour)108 666 Q(ce)-.18 E F2 +(\214lename)2.5 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A 1.02 +(Read and e)144 678 R -.15(xe)-.15 G 1.02(cute commands from).15 F F2 +(\214lename)5.43 E F0 1.02(in the current shell en)3.7 F 1.02 +(vironment and return the e)-.4 F(xit)-.15 E 1.458 +(status of the last command e)144 690 R -.15(xe)-.15 G 1.458(cuted from) +.15 F F2(\214lename)3.958 E F0 6.458(.I).18 G(f)-6.458 E F2(\214lename) +5.868 E F0 1.458(does not contain a slash, \214le-)4.138 F .608 +(names in)144 702 R/F4 9/Times-Bold@0 SF -.666(PA)3.108 G(TH)-.189 E F0 +.608(are used to \214nd the directory containing)2.858 F F2(\214lename) +3.108 E F0 5.608(.T).18 G .608(he \214le searched for in)-5.608 F F4 +-.666(PA)3.108 G(TH)-.189 E F0 .833(need not be e)144 714 R -.15(xe)-.15 +G 3.333(cutable. When).15 F F1(bash)3.333 E F0 .832(is not in)3.333 F F2 +.832(posix mode)3.332 F F0 3.332(,t)C .832 +(he current directory is searched if no)-3.332 F .981 +(\214le is found in)144 726 R F4 -.666(PA)3.481 G(TH)-.189 E/F5 9 /Times-Roman@0 SF(.)A F0 .981(If the)5.481 F F1(sour)3.481 E(cepath)-.18 E F0 .981(option to the)3.481 F F1(shopt)3.481 E F0 -.2(bu)3.481 G .981 -(iltin command is turned of).2 F .981(f, the)-.25 F F4 -.666(PA)144 -589.2 S(TH)-.189 E F0 .112(is not searched.)2.362 F .112(If an)5.112 F -(y)-.15 E F2(ar)2.612 E(guments)-.37 E F0 .112(are supplied, the)2.612 F -2.612(yb)-.15 G .112(ecome the positional parameters when)-2.612 F F2 -(\214lename)144 601.2 Q F0 .342(is e)2.842 F -.15(xe)-.15 G 2.842 -(cuted. Otherwise).15 F .342(the positional parameters are unchanged.) -2.842 F .341(The return status is the)5.341 F .716 -(status of the last command e)144 613.2 R .716 -(xited within the script \(0 if no commands are e)-.15 F -.15(xe)-.15 G -.716(cuted\), and f).15 F .716(alse if)-.1 F F2(\214lename)145.91 625.2 -Q F0(is not found or cannot be read.)2.68 E F1(alias)108 642 Q F0([)2.5 -E F1A F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C -(..])-2.5 E F1(Alias)144 654 Q F0 2.725(with no ar)5.225 F 2.724 -(guments or with the)-.18 F F15.224 E F0 2.724 -(option prints the list of aliases in the form)5.224 F F1(alias)5.224 E -F2(name)144 666 Q F0(=)A F2(value)A F0 .58(on standard output.)3.08 F +(iltin command is turned of).2 F .982(f, the)-.25 F(GNU Bash 4.4)72 768 +Q(2016 August 26)142.895 E(53)192.055 E 0 Cg EP +%%Page: 54 54 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 9/Times-Bold@0 +SF -.666(PA)144 84 S(TH)-.189 E F0 .112(is not searched.)2.363 F .112 +(If an)5.112 F(y)-.15 E/F2 10/Times-Italic@0 SF(ar)2.612 E(guments)-.37 +E F0 .112(are supplied, the)2.612 F 2.612(yb)-.15 G .112 +(ecome the positional parameters when)-2.612 F F2(\214lename)144 96 Q F0 +1.697(is e)4.196 F -.15(xe)-.15 G 4.197(cuted. Otherwise).15 F 1.697 +(the positional parameters are unchanged.)4.197 F 1.697(If the)6.697 F +/F3 10/Times-Bold@0 SF4.197 E F0 1.697(option is)4.197 F(enabled,) +144 108 Q F3(sour)3.618 E(ce)-.18 E F0 1.118(inherits an)3.618 F 3.618 +(yt)-.15 G 1.118(rap on)-3.618 F F3(DEB)3.618 E(UG)-.1 E F0 3.618(;i)C +3.618(fi)-3.618 G 3.618(ti)-3.618 G 3.618(sn)-3.618 G 1.118(ot, an) +-3.618 F(y)-.15 E F3(DEB)3.617 E(UG)-.1 E F0 1.117(trap string is sa) +3.617 F -.15(ve)-.2 G 3.617(da).15 G(nd)-3.617 E .36 +(restored around the call to)144 120 R F3(sour)2.86 E(ce)-.18 E F0 2.86 +(,a)C(nd)-2.86 E F3(sour)2.86 E(ce)-.18 E F0 .36(unsets the)2.86 F F3 +(DEB)2.86 E(UG)-.1 E F0 .36(trap while it e)2.86 F -.15(xe)-.15 G 2.86 +(cutes. If).15 F F32.86 E F0(is)2.86 E 1.435 +(not set, and the sourced \214le changes the)144 132 R F3(DEB)3.935 E +(UG)-.1 E F0 1.435(trap, the ne)3.935 F 3.935(wv)-.25 G 1.435 +(alue is retained when)-4.185 F F3(sour)3.935 E(ce)-.18 E F0 3.762 +(completes. The)144 144 R 1.262 +(return status is the status of the last command e)3.762 F 1.263 +(xited within the script \(0 if no)-.15 F(commands are e)144 156 Q -.15 +(xe)-.15 G(cuted\), and f).15 E(alse if)-.1 E F2(\214lename)4.41 E F0 +(is not found or cannot be read.)2.68 E F3(alias)108 172.8 Q F0([)2.5 E +F3A F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..]) +-2.5 E F3(Alias)144 184.8 Q F0 2.725(with no ar)5.225 F 2.724 +(guments or with the)-.18 F F35.224 E F0 2.724 +(option prints the list of aliases in the form)5.224 F F3(alias)5.224 E +F2(name)144 196.8 Q F0(=)A F2(value)A F0 .58(on standard output.)3.08 F .58(When ar)5.58 F .58 (guments are supplied, an alias is de\214ned for each)-.18 F F2(name) -3.08 E F0(whose)144 678 Q F2(value)2.895 E F0 .395(is gi)2.895 F -.15 -(ve)-.25 G 2.895(n. A).15 F .395(trailing space in)2.895 F F2(value) -5.395 E F0 .395(causes the ne)2.895 F .395(xt w)-.15 F .395 -(ord to be check)-.1 F .395(ed for alias sub-)-.1 F .054 -(stitution when the alias is e)144 690 R 2.554(xpanded. F)-.15 F .054 -(or each)-.15 F F2(name)2.554 E F0 .054(in the ar)2.554 F .054 -(gument list for which no)-.18 F F2(value)2.554 E F0 .054(is sup-)2.554 -F 1.314(plied, the name and v)144 702 R 1.314 -(alue of the alias is printed.)-.25 F F1(Alias)6.314 E F0 1.314 +3.08 E F0(whose)144 208.8 Q F2(value)2.509 E F0 .009(is gi)2.509 F -.15 +(ve)-.25 G 2.509(n. A).15 F .009(trailing space in)2.509 F F2(value) +2.509 E F0 .009(causes the ne)2.509 F .009(xt w)-.15 F .009 +(ord to be check)-.1 F .008(ed for alias substi-)-.1 F .579 +(tution when the alias is e)144 220.8 R 3.079(xpanded. F)-.15 F .579 +(or each)-.15 F F2(name)3.079 E F0 .579(in the ar)3.079 F .579 +(gument list for which no)-.18 F F2(value)3.079 E F0 .579(is sup-)3.079 +F 1.314(plied, the name and v)144 232.8 R 1.314 +(alue of the alias is printed.)-.25 F F3(Alias)6.314 E F0 1.314 (returns true unless a)3.814 F F2(name)3.814 E F0 1.313(is gi)3.814 F -.15(ve)-.25 G 3.813(nf).15 G(or)-3.813 E -(which no alias has been de\214ned.)144 714 Q(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(51)190.95 E 0 Cg EP -%%Page: 52 52 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(bg)108 84 Q F0([)2.5 E/F2 10/Times-Italic@0 -SF(jobspec)A F0(...])2.5 E .744(Resume each suspended job)144 96 R F2 -(jobspec)3.244 E F0 .745 -(in the background, as if it had been started with)3.244 F F1(&)3.245 E -F0 5.745(.I)C(f)-5.745 E F2(job-)4.985 E(spec)144 108 Q F0 .672 +(which no alias has been de\214ned.)144 244.8 Q F3(bg)108 261.6 Q F0([) +2.5 E F2(jobspec)A F0(...])2.5 E .744(Resume each suspended job)144 +273.6 R F2(jobspec)3.244 E F0 .745 +(in the background, as if it had been started with)3.244 F F3(&)3.245 E +F0 5.745(.I)C(f)-5.745 E F2(job-)4.985 E(spec)144 285.6 Q F0 .672 (is not present, the shell')3.482 F 3.172(sn)-.55 G .672(otion of the) --3.172 F F2(curr)3.172 E .672(ent job)-.37 F F0 .672(is used.)3.172 F F1 +-3.172 F F2(curr)3.172 E .672(ent job)-.37 F F0 .672(is used.)3.172 F F3 (bg)5.671 E F2(jobspec)4.911 E F0 .671(returns 0 unless run)3.481 F .418 -(when job control is disabled or)144 120 R 2.919(,w)-.4 G .419 +(when job control is disabled or)144 297.6 R 2.919(,w)-.4 G .419 (hen run with job control enabled, an)-2.919 F 2.919(ys)-.15 G (peci\214ed)-2.919 E F2(jobspec)2.919 E F0 -.1(wa)2.919 G 2.919(sn).1 G -(ot)-2.919 E(found or w)144 132 Q(as started without job control.)-.1 E -F1(bind)108 148.8 Q F0([)2.5 E F1A F2 -.1(ke)2.5 G(ymap)-.2 E F0 -2.5(][)C F1(\255lpsvPSVX)-2.5 E F0(])A F1(bind)108 160.8 Q F0([)2.5 E F1 -A F2 -.1(ke)2.5 G(ymap)-.2 E F0 2.5(][)C F1-2.5 E F2 -(function)2.5 E F0 2.5(][)C F1-2.5 E F2(function)2.5 E F0 2.5(][)C -F1-2.5 E F2 -.1(ke)2.5 G(yseq)-.2 E F0(])A F1(bind)108 172.8 Q F0 -([)2.5 E F1A F2 -.1(ke)2.5 G(ymap)-.2 E F0(])A F12.5 E F2 -(\214lename)2.5 E F1(bind)108 184.8 Q F0([)2.5 E F1A F2 -.1(ke)2.5 -G(ymap)-.2 E F0(])A F12.5 E F2 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F2 -(shell\255command)A F1(bind)108 196.8 Q F0([)2.5 E F1A F2 -.1(ke) +(ot)-2.919 E(found or w)144 309.6 Q(as started without job control.)-.1 +E F3(bind)108 326.4 Q F0([)2.5 E F3A F2 -.1(ke)2.5 G(ymap)-.2 E F0 +2.5(][)C F3(\255lpsvPSVX)-2.5 E F0(])A F3(bind)108 338.4 Q F0([)2.5 E F3 +A F2 -.1(ke)2.5 G(ymap)-.2 E F0 2.5(][)C F3-2.5 E F2 +(function)2.5 E F0 2.5(][)C F3-2.5 E F2(function)2.5 E F0 2.5(][)C +F3-2.5 E F2 -.1(ke)2.5 G(yseq)-.2 E F0(])A F3(bind)108 350.4 Q F0 +([)2.5 E F3A F2 -.1(ke)2.5 G(ymap)-.2 E F0(])A F32.5 E F2 +(\214lename)2.5 E F3(bind)108 362.4 Q F0([)2.5 E F3A F2 -.1(ke)2.5 +G(ymap)-.2 E F0(])A F32.5 E F2 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F2 +(shell\255command)A F3(bind)108 374.4 Q F0([)2.5 E F3A F2 -.1(ke) 2.5 G(ymap)-.2 E F0(])A F2 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F2 -(function\255name)A F1(bind)108 208.8 Q F2 -.37(re)2.5 G -(adline\255command).37 E F0 .239(Display current)144 220.8 R F1 -.18(re) +(function\255name)A F3(bind)108 386.4 Q F0([)2.5 E F3A F2 -.1(ke) +2.5 G(ymap)-.2 E F0(])A F2 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F2 -.37(re)C +(adline\255command).37 E F0 .239(Display current)144 398.4 R F3 -.18(re) 2.739 G(adline).18 E F0 -.1(ke)2.739 G 2.739(ya)-.05 G .239 (nd function bindings, bind a k)-2.739 F .539 -.15(ey s)-.1 H .238 -(equence to a).15 F F1 -.18(re)2.738 G(adline).18 E F0 .238(function or) -2.738 F .475(macro, or set a)144 232.8 R F1 -.18(re)2.975 G(adline).18 E +(equence to a).15 F F3 -.18(re)2.738 G(adline).18 E F0 .238(function or) +2.738 F .475(macro, or set a)144 410.4 R F3 -.18(re)2.975 G(adline).18 E F0 -.25(va)2.975 G 2.975(riable. Each).25 F .476(non-option ar)2.976 F .476(gument is a command as it w)-.18 F .476(ould appear in)-.1 F F2 -(.inputr)144 244.8 Q(c)-.37 E F0 2.984(,b).31 G .484 +(.inputr)144 422.4 Q(c)-.37 E F0 2.984(,b).31 G .484 (ut each binding or command must be passed as a separate ar)-3.184 F .483(gument; e.g., '"\\C\255x\\C\255r":)-.18 F 2.5 -(re\255read\255init\255\214le'. Options,)144 256.8 R(if supplied, ha)2.5 -E .3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1144 -268.8 Q F2 -.1(ke)2.5 G(ymap)-.2 E F0(Use)180 280.8 Q F2 -.1(ke)5.158 G +(re\255read\255init\255\214le'. Options,)144 434.4 R(if supplied, ha)2.5 +E .3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F3144 +446.4 Q F2 -.1(ke)2.5 G(ymap)-.2 E F0(Use)180 458.4 Q F2 -.1(ke)5.158 G (ymap)-.2 E F0 2.658(as the k)5.348 F -.15(ey)-.1 G 2.658(map to be af) .15 F 2.659(fected by the subsequent bindings.)-.25 F(Acceptable)7.659 E -F2 -.1(ke)180 292.8 S(ymap)-.2 E F0 3.193(names are)5.883 F F2 3.193 +F2 -.1(ke)180 470.4 S(ymap)-.2 E F0 3.193(names are)5.883 F F2 3.193 (emacs, emacs\255standar)5.693 F 3.192 (d, emacs\255meta, emacs\255ctlx, vi, vi\255mo)-.37 F(ve)-.1 E(,)-.1 E -(vi\255command)180 304.8 Q F0 4.429(,a)C(nd)-4.429 E F2(vi\255insert) -4.429 E F0(.).68 E F2(vi)6.929 E F0 1.929(is equi)4.429 F -.25(va)-.25 G -1.929(lent to).25 F F2(vi\255command)4.429 E F0(;)A F2(emacs)4.429 E F0 -1.929(is equi)4.429 F -.25(va)-.25 G 1.93(lent to).25 F F2 -(emacs\255standar)180 316.8 Q(d)-.37 E F0(.)A F1144 328.8 Q F0 -(List the names of all)27.52 E F1 -.18(re)2.5 G(adline).18 E F0 -(functions.)2.5 E F1144 340.8 Q F0(Display)24.74 E F1 -.18(re)2.5 -G(adline).18 E F0(function names and bindings in such a w)2.5 E -(ay that the)-.1 E 2.5(yc)-.15 G(an be re-read.)-2.5 E F1144 352.8 -Q F0(List current)24.19 E F1 -.18(re)2.5 G(adline).18 E F0 -(function names and bindings.)2.5 E F1144 364.8 Q F0(Display)26.41 -E F1 -.18(re)3.655 G(adline).18 E F0 -.1(ke)3.655 G 3.655(ys)-.05 G -1.155(equences bound to macros and the strings the)-3.655 F 3.655(yo) --.15 G 1.155(utput in such a)-3.655 F -.1(wa)180 376.8 S 2.5(yt).1 G -(hat the)-2.5 E 2.5(yc)-.15 G(an be re-read.)-2.5 E F1144 388.8 Q -F0(Display)24.74 E F1 -.18(re)2.5 G(adline).18 E F0 -.1(ke)2.5 G 2.5(ys) --.05 G(equences bound to macros and the strings the)-2.5 E 2.5(yo)-.15 G -(utput.)-2.5 E F1144 400.8 Q F0(Display)25.3 E F1 -.18(re)2.5 G -(adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E +(vi\255command)180 482.4 Q F0 4.113(,a)C(nd)-4.113 E F2(vi\255insert) +4.113 E F0(.).68 E F2(vi)6.613 E F0 1.613(is equi)4.113 F -.25(va)-.25 G +1.613(lent to).25 F F2(vi\255command)4.113 E F0(\()4.113 E F2(vi\255mo)A +(ve)-.1 E F0 1.614(is also a syn-)4.114 F(on)180 494.4 Q(ym\);)-.15 E F2 +(emacs)2.5 E F0(is equi)2.5 E -.25(va)-.25 G(lent to).25 E F2 +(emacs\255standar)2.5 E(d)-.37 E F0(.)A F3144 506.4 Q F0 +(List the names of all)180 506.4 Q F3 -.18(re)2.5 G(adline).18 E F0 +(functions.)2.5 E F3144 518.4 Q F0(Display)180 518.4 Q F3 -.18(re) +2.5 G(adline).18 E F0(function names and bindings in such a w)2.5 E +(ay that the)-.1 E 2.5(yc)-.15 G(an be re-read.)-2.5 E F3144 530.4 +Q F0(List current)180 530.4 Q F3 -.18(re)2.5 G(adline).18 E F0 +(function names and bindings.)2.5 E F3144 542.4 Q F0(Display)180 +542.4 Q F3 -.18(re)3.655 G(adline).18 E F0 -.1(ke)3.655 G 3.655(ys)-.05 +G 1.155(equences bound to macros and the strings the)-3.655 F 3.655(yo) +-.15 G 1.155(utput in such a)-3.655 F -.1(wa)180 554.4 S 2.5(yt).1 G +(hat the)-2.5 E 2.5(yc)-.15 G(an be re-read.)-2.5 E F3144 566.4 Q +F0(Display)180 566.4 Q F3 -.18(re)2.5 G(adline).18 E F0 -.1(ke)2.5 G 2.5 +(ys)-.05 G(equences bound to macros and the strings the)-2.5 E 2.5(yo) +-.15 G(utput.)-2.5 E F3144 578.4 Q F0(Display)180 578.4 Q F3 -.18 +(re)2.5 G(adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E (alues in such a w)-.25 E(ay that the)-.1 E 2.5(yc)-.15 G -(an be re-read.)-2.5 E F1144 412.8 Q F0(List current)23.08 E F1 --.18(re)2.5 G(adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E -(alues.)-.25 E F1144 424.8 Q F2(\214lename)2.5 E F0(Read k)180 -436.8 Q .3 -.15(ey b)-.1 H(indings from).15 E F2(\214lename)2.5 E F0(.)A -F1144 448.8 Q F2(function)2.5 E F0(Query about which k)180 460.8 Q +(an be re-read.)-2.5 E F3144 590.4 Q F0(List current)180 590.4 Q +F3 -.18(re)2.5 G(adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E +(alues.)-.25 E F3144 602.4 Q F2(\214lename)2.5 E F0(Read k)180 +614.4 Q .3 -.15(ey b)-.1 H(indings from).15 E F2(\214lename)2.5 E F0(.)A +F3144 626.4 Q F2(function)2.5 E F0(Query about which k)180 638.4 Q -.15(ey)-.1 G 2.5(si).15 G -1.9 -.4(nv o)-2.5 H .2 -.1(ke t).4 H -(he named).1 E F2(function)2.5 E F0(.)A F1144 472.8 Q F2(function) -2.5 E F0(Unbind all k)180 484.8 Q -.15(ey)-.1 G 2.5(sb).15 G -(ound to the named)-2.5 E F2(function)2.5 E F0(.)A F1144 496.8 Q -F2 -.1(ke)2.5 G(yseq)-.2 E F0(Remo)180 508.8 Q .3 -.15(ve a)-.15 H .3 +(he named).1 E F2(function)2.5 E F0(.)A F3144 650.4 Q F2(function) +2.5 E F0(Unbind all k)180 662.4 Q -.15(ey)-.1 G 2.5(sb).15 G +(ound to the named)-2.5 E F2(function)2.5 E F0(.)A F3144 674.4 Q +F2 -.1(ke)2.5 G(yseq)-.2 E F0(Remo)180 686.4 Q .3 -.15(ve a)-.15 H .3 -.15(ny c).15 H(urrent binding for).15 E F2 -.1(ke)2.5 G(yseq)-.2 E F0 -(.)A F1144 520.8 Q F2 -.1(ke)2.5 G(yseq)-.2 E F1(:)A F2 -(shell\255command)A F0(Cause)180 532.8 Q F2(shell\255command)4.325 E F0 +(.)A F3144 698.4 Q F2 -.1(ke)2.5 G(yseq)-.2 E F3(:)A F2 +(shell\255command)A F0(Cause)180 710.4 Q F2(shell\255command)4.325 E F0 1.825(to be e)4.325 F -.15(xe)-.15 G 1.825(cuted whene).15 F -.15(ve) -.25 G(r).15 E F2 -.1(ke)4.325 G(yseq)-.2 E F0 1.825(is entered.)4.325 F -(When)6.825 E F2(shell\255com-)4.325 E(mand)180 544.8 Q F0 1.765(is e) -4.265 F -.15(xe)-.15 G 1.765(cuted, the shell sets the).15 F/F3 9 -/Times-Bold@0 SF(READLINE_LINE)4.265 E F0 -.25(va)4.015 G 1.765 -(riable to the contents of the).25 F F1 -.18(re)180 556.8 S(adline).18 E -F0 1.353(line b)3.852 F(uf)-.2 E 1.353(fer and the)-.25 F F3 -(READLINE_POINT)3.853 E F0 -.25(va)3.603 G 1.353 -(riable to the current location of the).25 F 2.012(insertion point.)180 -568.8 R 2.011(If the e)7.012 F -.15(xe)-.15 G 2.011 -(cuted command changes the v).15 F 2.011(alue of)-.25 F F3 -(READLINE_LINE)4.511 E F0(or)4.261 E F3(READLINE_POINT)180 580.8 Q/F4 9 +(When)6.825 E F2(shell\255com-)4.325 E(mand)180 722.4 Q F0 1.765(is e) +4.265 F -.15(xe)-.15 G 1.765(cuted, the shell sets the).15 F F1 +(READLINE_LINE)4.265 E F0 -.25(va)4.015 G 1.765 +(riable to the contents of the).25 F(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(54)192.055 E 0 Cg EP +%%Page: 55 55 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF -.18(re)180 84 S(adline).18 E F0 1.353(line b)3.852 F(uf)-.2 E 1.353 +(fer and the)-.25 F/F2 9/Times-Bold@0 SF(READLINE_POINT)3.853 E F0 -.25 +(va)3.603 G 1.353(riable to the current location of the).25 F 2.012 +(insertion point.)180 96 R 2.011(If the e)7.012 F -.15(xe)-.15 G 2.011 +(cuted command changes the v).15 F 2.011(alue of)-.25 F F2 +(READLINE_LINE)4.511 E F0(or)4.261 E F2(READLINE_POINT)180 108 Q/F3 9 /Times-Roman@0 SF(,)A F0(those ne)2.25 E 2.5(wv)-.25 G -(alues will be re\215ected in the editing state.)-2.75 E F1144 -592.8 Q F0 .829(List all k)23.08 F 1.129 -.15(ey s)-.1 H .829 +(alues will be re\215ected in the editing state.)-2.75 E F1144 120 +Q F0 .829(List all k)180 120 R 1.129 -.15(ey s)-.1 H .829 (equences bound to shell commands and the associated commands in a for) -.15 F(-)-.2 E(mat that can be reused as input.)180 604.8 Q(The return v) -144 621.6 Q(alue is 0 unless an unrecognized option is gi)-.25 E -.15 +.15 F(-)-.2 E(mat that can be reused as input.)180 132 Q(The return v) +144 148.8 Q(alue is 0 unless an unrecognized option is gi)-.25 E -.15 (ve)-.25 G 2.5(no).15 G 2.5(ra)-2.5 G 2.5(ne)-2.5 G(rror occurred.)-2.5 -E F1(br)108 638.4 Q(eak)-.18 E F0([)2.5 E F2(n)A F0(])A .055 -(Exit from within a)144 650.4 R F1 -.25(fo)2.555 G(r).25 E F0(,)A F1 -(while)2.555 E F0(,)A F1(until)2.555 E F0 2.555(,o)C(r)-2.555 E F1 -(select)2.555 E F0 2.555(loop. If)2.555 F F2(n)2.555 E F0 .055 -(is speci\214ed, break)2.555 F F2(n)2.555 E F0(le)2.555 E -.15(ve)-.25 G -(ls.).15 E F2(n)5.414 E F0 .054(must be)2.794 F/F5 10/Symbol SF2.554 -E F0(1.)2.554 E(If)144 662.4 Q F2(n)3.074 E F0 .215(is greater than the\ +E F1(br)108 165.6 Q(eak)-.18 E F0([)2.5 E/F4 10/Times-Italic@0 SF(n)A F0 +(])A .055(Exit from within a)144 177.6 R F1 -.25(fo)2.555 G(r).25 E F0 +(,)A F1(while)2.555 E F0(,)A F1(until)2.555 E F0 2.555(,o)C(r)-2.555 E +F1(select)2.555 E F0 2.555(loop. If)2.555 F F4(n)2.555 E F0 .055 +(is speci\214ed, break)2.555 F F4(n)2.555 E F0(le)2.555 E -.15(ve)-.25 G +(ls.).15 E F4(n)5.414 E F0 .054(must be)2.794 F/F5 10/Symbol SF2.554 +E F0(1.)2.554 E(If)144 189.6 Q F4(n)3.074 E F0 .215(is greater than the\ number of enclosing loops, all enclosing loops are e)2.954 F 2.715 (xited. The)-.15 F .215(return v)2.715 F(alue)-.25 E(is 0 unless)144 -674.4 Q F2(n)2.5 E F0(is not greater than or equal to 1.)2.5 E F1 -.2 -(bu)108 691.2 S(iltin).2 E F2(shell\255b)2.5 E(uiltin)-.2 E F0([)2.5 E -F2(ar)A(guments)-.37 E F0(])A(Ex)144 703.2 Q .793 -(ecute the speci\214ed shell b)-.15 F .793(uiltin, passing it)-.2 F F2 +201.6 Q F4(n)2.5 E F0(is not greater than or equal to 1.)2.5 E F1 -.2 +(bu)108 218.4 S(iltin).2 E F4(shell\255b)2.5 E(uiltin)-.2 E F0([)2.5 E +F4(ar)A(guments)-.37 E F0(])A(Ex)144 230.4 Q .793 +(ecute the speci\214ed shell b)-.15 F .793(uiltin, passing it)-.2 F F4 (ar)3.293 E(guments)-.37 E F0 3.293(,a).27 G .793(nd return its e)-3.293 F .792(xit status.)-.15 F .792(This is useful)5.792 F .615 (when de\214ning a function whose name is the same as a shell b)144 -715.2 R .616(uiltin, retaining the functionality of)-.2 F .57(the b)144 -727.2 R .57(uiltin within the function.)-.2 F(The)5.57 E F1(cd)3.07 E F0 +242.4 R .616(uiltin, retaining the functionality of)-.2 F .57(the b)144 +254.4 R .57(uiltin within the function.)-.2 F(The)5.57 E F1(cd)3.07 E F0 -.2(bu)3.07 G .57(iltin is commonly rede\214ned this w).2 F(ay)-.1 E -5.57(.T)-.65 G .57(he return status)-5.57 F(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(52)190.95 E 0 Cg EP -%%Page: 53 53 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(is f)144 84 Q(alse if)-.1 E/F1 10/Times-Italic@0 SF(shell\255b) -2.84 E(uiltin)-.2 E F0(is not a shell b)2.74 E(uiltin command.)-.2 E/F2 -10/Times-Bold@0 SF(caller)108 100.8 Q F0([)2.5 E F1 -.2(ex)C(pr).2 E F0 -(])A .253(Returns the conte)144 112.8 R .254(xt of an)-.15 F 2.754(ya) --.15 G(cti)-2.754 E .554 -.15(ve s)-.25 H .254 +5.57(.T)-.65 G .57(he return status)-5.57 F(is f)144 266.4 Q(alse if)-.1 +E F4(shell\255b)2.84 E(uiltin)-.2 E F0(is not a shell b)2.74 E +(uiltin command.)-.2 E F1(caller)108 283.2 Q F0([)2.5 E F4 -.2(ex)C(pr) +.2 E F0(])A .253(Returns the conte)144 295.2 R .254(xt of an)-.15 F +2.754(ya)-.15 G(cti)-2.754 E .554 -.15(ve s)-.25 H .254 (ubroutine call \(a shell function or a script e).15 F -.15(xe)-.15 G -.254(cuted with the).15 F F2(.)2.754 E F0(or)2.754 E F2(sour)144 124.8 Q -(ce)-.18 E F0 -.2(bu)2.825 G 2.825(iltins\). W).2 F(ithout)-.4 E F1 -.2 -(ex)2.825 G(pr).2 E F0(,)A F2(caller)2.825 E F0 .324 +.254(cuted with the).15 F F1(.)2.754 E F0(or)2.754 E F1(sour)144 307.2 Q +(ce)-.18 E F0 -.2(bu)2.825 G 2.825(iltins\). W).2 F(ithout)-.4 E F4 -.2 +(ex)2.825 G(pr).2 E F0(,)A F1(caller)2.825 E F0 .324 (displays the line number and source \214lename of the current)2.824 F -.253(subroutine call.)144 136.8 R .253(If a non-ne)5.253 F -.05(ga)-.15 +.253(subroutine call.)144 319.2 R .253(If a non-ne)5.253 F -.05(ga)-.15 G(ti).05 E .553 -.15(ve i)-.25 H(nte).15 E .253(ger is supplied as)-.15 -F F1 -.2(ex)2.753 G(pr).2 E F0(,)A F2(caller)2.753 E F0 .254 +F F4 -.2(ex)2.753 G(pr).2 E F0(,)A F1(caller)2.753 E F0 .254 (displays the line number)2.754 F 2.754(,s)-.4 G(ub-)-2.754 E 1.327(rou\ tine name, and source \214le corresponding to that position in the curr\ -ent e)144 148.8 R -.15(xe)-.15 G 1.327(cution call stack.).15 F(This e) -144 160.8 Q(xtra information may be used, for e)-.15 E .001 +ent e)144 331.2 R -.15(xe)-.15 G 1.327(cution call stack.).15 F(This e) +144 343.2 Q(xtra information may be used, for e)-.15 E .001 (xample, to print a stack trace.)-.15 F .001(The current frame is frame) -5.001 F 3.02(0. The)144 172.8 R .52(return v)3.02 F .52 +5.001 F 3.02(0. The)144 355.2 R .52(return v)3.02 F .52 (alue is 0 unless the shell is not e)-.25 F -.15(xe)-.15 G .519 -(cuting a subroutine call or).15 F F1 -.2(ex)3.019 G(pr).2 E F0 .519 -(does not corre-)3.019 F(spond to a v)144 184.8 Q -(alid position in the call stack.)-.25 E F2(cd)108 201.6 Q F0([)2.5 E F2 -A F0(|[)A F2A F0([)2.5 E F2A F0(]] [\255@]] [)A F1 -(dir)A F0(])A .321(Change the current directory to)144 213.6 R F1(dir) -2.821 E F0 5.321(.i)C(f)-5.321 E F1(dir)2.821 E F0 .322 -(is not supplied, the v)2.821 F .322(alue of the)-.25 F/F3 9 -/Times-Bold@0 SF(HOME)2.822 E F0 .322(shell v)2.572 F .322(ariable is) --.25 F 1.036(the def)144 225.6 R 3.536(ault. An)-.1 F 3.536(ya)-.15 G -1.035(dditional ar)-3.536 F 1.035(guments follo)-.18 F(wing)-.25 E F1 -(dir)3.535 E F0 1.035(are ignored.)3.535 F 1.035(The v)6.035 F(ariable) --.25 E F3(CDP)3.535 E -.855(AT)-.666 G(H).855 E F0(de\214nes)3.285 E -.849(the search path for the directory containing)144 237.6 R F1(dir) -3.349 E F0 3.35(:e).73 G .85(ach directory name in)-3.35 F F3(CDP)3.35 E --.855(AT)-.666 G(H).855 E F0 .85(is searched for)3.1 F F1(dir)144 249.6 -Q F0 5.665(.A)C(lternati)-5.665 E .965 -.15(ve d)-.25 H .665 -(irectory names in).15 F F3(CDP)3.165 E -.855(AT)-.666 G(H).855 E F0 +(cuting a subroutine call or).15 F F4 -.2(ex)3.019 G(pr).2 E F0 .519 +(does not corre-)3.019 F(spond to a v)144 367.2 Q +(alid position in the call stack.)-.25 E F1(cd)108 384 Q F0([)2.5 E F1 +A F0(|[)A F1A F0([)2.5 E F1A F0(]] [\255@]] [)A F4 +(dir)A F0(])A .321(Change the current directory to)144 396 R F4(dir) +2.821 E F0 5.321(.i)C(f)-5.321 E F4(dir)2.821 E F0 .322 +(is not supplied, the v)2.821 F .322(alue of the)-.25 F F2(HOME)2.822 E +F0 .322(shell v)2.572 F .322(ariable is)-.25 F 1.036(the def)144 408 R +3.536(ault. An)-.1 F 3.536(ya)-.15 G 1.035(dditional ar)-3.536 F 1.035 +(guments follo)-.18 F(wing)-.25 E F4(dir)3.535 E F0 1.035(are ignored.) +3.535 F 1.035(The v)6.035 F(ariable)-.25 E F2(CDP)3.535 E -.855(AT)-.666 +G(H).855 E F0(de\214nes)3.285 E .849 +(the search path for the directory containing)144 420 R F4(dir)3.349 E +F0 3.35(:e).73 G .85(ach directory name in)-3.35 F F2(CDP)3.35 E -.855 +(AT)-.666 G(H).855 E F0 .85(is searched for)3.1 F F4(dir)144 432 Q F0 +5.665(.A)C(lternati)-5.665 E .965 -.15(ve d)-.25 H .665 +(irectory names in).15 F F2(CDP)3.165 E -.855(AT)-.666 G(H).855 E F0 .665(are separated by a colon \(:\).)2.915 F 3.165(An)5.665 G .664 -(ull directory name)-3.165 F(in)144 261.6 Q F3(CDP)4.162 E -.855(AT) --.666 G(H).855 E F0 1.662(is the same as the current directory)3.912 F -4.162(,i)-.65 G 1.662(.e., `)-4.162 F(`)-.74 E F2(.)A F0 -.74('')C 6.662 -(.I).74 G(f)-6.662 E F1(dir)4.513 E F0(be)4.893 E 1.663 -(gins with a slash \(/\), then)-.15 F F3(CDP)144 273.6 Q -.855(AT)-.666 -G(H).855 E F0 .347(is not used. The)2.598 F F22.847 E F0 .347 -(option causes)2.847 F F2(cd)2.847 E F0 .347(to use the ph)2.847 F .347 -(ysical directory structure by resolving)-.05 F 1.12 -(symbolic links while tra)144 285.6 R -.15(ve)-.2 G(rsing).15 E F1(dir) -3.62 E F0 1.12(and before processing instances of)3.62 F F1(..)3.62 E F0 -(in)3.62 E F1(dir)3.62 E F0 1.12(\(see also the)3.62 F F23.62 E F0 -.395(option to the)144 297.6 R F2(set)2.895 E F0 -.2(bu)2.895 G .395 -(iltin command\); the).2 F F22.895 E F0 .395 +(ull directory name)-3.165 F(in)144 444 Q F2(CDP)4.162 E -.855(AT)-.666 +G(H).855 E F0 1.662(is the same as the current directory)3.912 F 4.162 +(,i)-.65 G 1.662(.e., `)-4.162 F(`)-.74 E F1(.)A F0 -.74('')C 6.662(.I) +.74 G(f)-6.662 E F4(dir)4.513 E F0(be)4.893 E 1.663 +(gins with a slash \(/\), then)-.15 F F2(CDP)144 456 Q -.855(AT)-.666 G +(H).855 E F0 .191(is not used.)2.441 F(The)5.191 E F12.691 E F0 +.191(option causes)2.691 F F1(cd)2.691 E F0 .191(to use the ph)2.691 F +.19(ysical directory structure by resolving)-.05 F 1.12 +(symbolic links while tra)144 468 R -.15(ve)-.2 G(rsing).15 E F4(dir) +3.62 E F0 1.12(and before processing instances of)3.62 F F4(..)3.62 E F0 +(in)3.62 E F4(dir)3.62 E F0 1.12(\(see also the)3.62 F F13.62 E F0 +.395(option to the)144 480 R F1(set)2.895 E F0 -.2(bu)2.895 G .395 +(iltin command\); the).2 F F12.895 E F0 .395 (option forces symbolic links to be follo)2.895 F .395(wed by resolv-) --.25 F .443(ing the link after processing instances of)144 309.6 R F1 -(..)2.943 E F0(in)2.943 E F1(dir)2.943 E F0 5.443(.I)C(f)-5.443 E F1(..) -2.943 E F0 .443(appears in)2.943 F F1(dir)2.943 E F0 2.943(,i)C 2.943 +-.25 F .443(ing the link after processing instances of)144 492 R F4(..) +2.943 E F0(in)2.943 E F4(dir)2.943 E F0 5.443(.I)C(f)-5.443 E F4(..) +2.943 E F0 .443(appears in)2.943 F F4(dir)2.943 E F0 2.943(,i)C 2.943 (ti)-2.943 G 2.944(sp)-2.943 G .444(rocessed by remo)-2.944 F(ving)-.15 -E .744(the immediately pre)144 321.6 R .744 -(vious pathname component from)-.25 F F1(dir)3.244 E F0 3.244(,b)C .744 -(ack to a slash or the be)-3.244 F .744(ginning of)-.15 F F1(dir)3.244 E -F0(.)A 1.465(If the)144 333.6 R F23.965 E F0 1.465 -(option is supplied with)3.965 F F23.965 E F0 3.965(,a)C 1.465 -(nd the current w)-3.965 F 1.466 +E .744(the immediately pre)144 504 R .744(vious pathname component from) +-.25 F F4(dir)3.244 E F0 3.244(,b)C .744(ack to a slash or the be)-3.244 +F .744(ginning of)-.15 F F4(dir)3.244 E F0(.)A 1.465(If the)144 516 R F1 +3.965 E F0 1.465(option is supplied with)3.965 F F13.965 E +F0 3.965(,a)C 1.465(nd the current w)-3.965 F 1.466 (orking directory cannot be successfully)-.1 F .468 -(determined after a successful directory change,)144 345.6 R F2(cd)2.968 -E F0 .468(will return an unsuccessful status.)2.968 F .467(On systems) -5.467 F .336(that support it, the)144 357.6 R F22.836 E F0 .336 +(determined after a successful directory change,)144 528 R F1(cd)2.968 E +F0 .468(will return an unsuccessful status.)2.968 F .467(On systems) +5.467 F .336(that support it, the)144 540 R F12.836 E F0 .336 (option presents the e)2.836 F .336(xtended attrib)-.15 F .337 (utes associated with a \214le as a directory)-.2 F(.)-.65 E .71(An ar) -144 369.6 R .71(gument of)-.18 F F23.21 E F0 .71(is con)3.21 F -.15 -(ve)-.4 G .71(rted to).15 F F3($OLDPWD)3.21 E F0 .71 +144 552 R .71(gument of)-.18 F F13.21 E F0 .71(is con)3.21 F -.15 +(ve)-.4 G .71(rted to).15 F F2($OLDPWD)3.21 E F0 .71 (before the directory change is attempted.)2.96 F .71(If a non-)5.71 F -.106(empty directory name from)144 381.6 R F3(CDP)2.606 E -.855(AT)-.666 -G(H).855 E F0 .107(is used, or if)2.356 F F22.607 E F0 .107 +.106(empty directory name from)144 564 R F2(CDP)2.606 E -.855(AT)-.666 G +(H).855 E F0 .107(is used, or if)2.356 F F12.607 E F0 .107 (is the \214rst ar)2.607 F .107(gument, and the directory change)-.18 F -.038(is successful, the absolute pathname of the ne)144 393.6 R 2.538 -(ww)-.25 G .038(orking directory is written to the standard output.) --2.638 F(The return v)144 405.6 Q(alue is true if the directory w)-.25 E -(as successfully changed; f)-.1 E(alse otherwise.)-.1 E F2(command)108 -422.4 Q F0([)2.5 E F2(\255pVv)A F0(])A F1(command)2.5 E F0([)2.5 E F1 -(ar)A(g)-.37 E F0(...])2.5 E(Run)144 434.4 Q F1(command)2.956 E F0(with) -3.527 E F1(ar)3.087 E(gs)-.37 E F0 .257 -(suppressing the normal shell function lookup. Only b)3.027 F .257 -(uiltin commands or)-.2 F .502(commands found in the)144 446.4 R F3 --.666(PA)3.002 G(TH)-.189 E F0 .502(are e)2.752 F -.15(xe)-.15 G 3.002 -(cuted. If).15 F(the)3.002 E F23.002 E F0 .502(option is gi)3.002 -F -.15(ve)-.25 G .501(n, the search for).15 F F1(command)3.201 E F0(is) -3.771 E .399(performed using a def)144 458.4 R .399(ault v)-.1 F .399 -(alue for)-.25 F F3 -.666(PA)2.899 G(TH)-.189 E F0 .4 +.038(is successful, the absolute pathname of the ne)144 576 R 2.538(ww) +-.25 G .038(orking directory is written to the standard output.)-2.638 F +(The return v)144 588 Q(alue is true if the directory w)-.25 E +(as successfully changed; f)-.1 E(alse otherwise.)-.1 E F1(command)108 +604.8 Q F0([)2.5 E F1(\255pVv)A F0(])A F4(command)2.5 E F0([)2.5 E F4 +(ar)A(g)-.37 E F0(...])2.5 E(Run)144 616.8 Q F4(command)2.764 E F0(with) +3.334 E F4(ar)2.894 E(gs)-.37 E F0 .065 +(suppressing the normal shell function lookup.)2.834 F .065(Only b)5.065 +F .065(uiltin commands or)-.2 F .502(commands found in the)144 628.8 R +F2 -.666(PA)3.002 G(TH)-.189 E F0 .502(are e)2.752 F -.15(xe)-.15 G +3.002(cuted. If).15 F(the)3.002 E F13.002 E F0 .502(option is gi) +3.002 F -.15(ve)-.25 G .501(n, the search for).15 F F4(command)3.201 E +F0(is)3.771 E .399(performed using a def)144 640.8 R .399(ault v)-.1 F +.399(alue for)-.25 F F2 -.666(PA)2.899 G(TH)-.189 E F0 .4 (that is guaranteed to \214nd all of the standard utilities.)2.649 F(If) -5.4 E .175(either the)144 470.4 R F22.675 E F0(or)2.675 E F2 -2.675 E F0 .175(option is supplied, a description of)2.675 F F1(command) -2.875 E F0 .174(is printed.)3.445 F(The)5.174 E F22.674 E F0 .174 -(option causes)2.674 F 3.317(as)144 482.4 S .817(ingle w)-3.317 F .817 +5.4 E .175(either the)144 652.8 R F12.675 E F0(or)2.675 E F1 +2.675 E F0 .175(option is supplied, a description of)2.675 F F4(command) +2.875 E F0 .174(is printed.)3.445 F(The)5.174 E F12.674 E F0 .174 +(option causes)2.674 F 3.317(as)144 664.8 S .817(ingle w)-3.317 F .817 (ord indicating the command or \214lename used to in)-.1 F -.2(vo)-.4 G --.1(ke).2 G F1(command)3.618 E F0 .818(to be displayed; the)4.088 F F2 -144 494.4 Q F0 .25(option produces a more v)2.75 F .25 -(erbose description.)-.15 F .249(If the)5.25 F F22.749 E F0(or) -2.749 E F22.749 E F0 .249(option is supplied, the e)2.749 F .249 -(xit status)-.15 F 1.004(is 0 if)144 506.4 R F1(command)3.704 E F0 -.1 +-.1(ke).2 G F4(command)3.618 E F0 .818(to be displayed; the)4.088 F F1 +144 676.8 Q F0 .25(option produces a more v)2.75 F .25 +(erbose description.)-.15 F .249(If the)5.25 F F12.749 E F0(or) +2.749 E F12.749 E F0 .249(option is supplied, the e)2.749 F .249 +(xit status)-.15 F 1.004(is 0 if)144 688.8 R F4(command)3.704 E F0 -.1 (wa)4.274 G 3.504(sf).1 G 1.005(ound, and 1 if not.)-3.504 F 1.005 -(If neither option is supplied and an error occurred or)6.005 F F1 -(command)144.2 518.4 Q F0 1.599(cannot be found, the e)4.869 F 1.599 +(If neither option is supplied and an error occurred or)6.005 F F4 +(command)144.2 700.8 Q F0 1.599(cannot be found, the e)4.869 F 1.599 (xit status is 127.)-.15 F 1.599(Otherwise, the e)6.599 F 1.598 -(xit status of the)-.15 F F2(command)4.098 E F0 -.2(bu)144 530.4 S -(iltin is the e).2 E(xit status of)-.15 E F1(command)2.5 E F0(.).77 E F2 -(compgen)108 547.2 Q F0([)2.5 E F1(option)A F0 2.5(][)C F1(wor)-2.5 E(d) --.37 E F0(])A .012(Generate possible completion matches for)144 559.2 R -F1(wor)2.513 E(d)-.37 E F0 .013(according to the)2.513 F F1(option)2.513 -E F0 .013(s, which may be an)B 2.513(yo)-.15 G(ption)-2.513 E .982 -(accepted by the)144 571.2 R F2(complete)3.482 E F0 -.2(bu)3.481 G .981 -(iltin with the e).2 F .981(xception of)-.15 F F23.481 E F0(and) -3.481 E F23.481 E F0 3.481(,a)C .981(nd write the matches to the) --3.481 F 1.415(standard output.)144 583.2 R 1.415(When using the)6.415 F -F23.915 E F0(or)3.915 E F23.915 E F0 1.415(options, the v) -3.915 F 1.415(arious shell v)-.25 F 1.415(ariables set by the pro-)-.25 -F(grammable completion f)144 595.2 Q(acilities, while a)-.1 E -.25(va) --.2 G(ilable, will not ha).25 E .3 -.15(ve u)-.2 H(seful v).15 E(alues.) --.25 E .352(The matches will be generated in the same w)144 619.2 R .352 -(ay as if the programmable completion code had gen-)-.1 F .02(erated th\ -em directly from a completion speci\214cation with the same \215ags.)144 -631.2 R(If)5.02 E F1(wor)2.52 E(d)-.37 E F0 .02(is speci\214ed, only) -2.52 F(those completions matching)144 643.2 Q F1(wor)2.5 E(d)-.37 E F0 -(will be displayed.)2.5 E(The return v)144 667.2 Q -(alue is true unless an in)-.25 E -.25(va)-.4 G -(lid option is supplied, or no matches were generated.).25 E F2 -(complete)108 684 Q F0([)3.729 E F2(\255abcdefgjksuv)A F0 3.729(][)C F2 --3.729 E F1(comp-option)3.729 E F0 3.729(][)C F2(\255DE)-3.729 E -F0 3.728(][)C F2-3.728 E F1(action)3.728 E F0 3.728(][)C F2 --3.728 E F1(globpat)3.728 E F0 3.728(][)C F2-3.728 E F1(wor)3.728 -E(dlist)-.37 E F0 3.728(][)C F2-3.728 E F1(func-)3.728 E(tion)108 -696 Q F0 2.5(][)C F2-2.5 E F1(command)2.5 E F0(])A([)144 708 Q F2 -A F1(\214lterpat)2.5 E F0 2.5(][)C F2-2.5 E F1(pr)2.5 E -(e\214x)-.37 E F0 2.5(][)C F2-2.5 E F1(suf)2.5 E<8c78>-.18 E F0(]) -A F1(name)2.5 E F0([)2.5 E F1(name ...)A F0(])A(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(53)190.95 E 0 Cg EP -%%Page: 54 54 +(xit status of the)-.15 F F1(command)4.098 E F0 -.2(bu)144 712.8 S +(iltin is the e).2 E(xit status of)-.15 E F4(command)2.5 E F0(.).77 E +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(55)192.055 E 0 Cg EP +%%Page: 56 56 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(complete \255pr)108 84 Q F0([)2.5 E F1 -(\255DE)A F0 2.5(][)C/F2 10/Times-Italic@0 SF(name)-2.5 E F0(...])2.5 E -.634(Specify ho)144 96 R 3.134(wa)-.25 G -.18(rg)-3.134 G .634 -(uments to each).18 F F2(name)3.134 E F0 .634(should be completed.)3.134 -F .633(If the)5.634 F F13.133 E F0 .633 -(option is supplied, or if no)3.133 F .139(options are supplied, e)144 -108 R .139(xisting completion speci\214cations are printed in a w)-.15 F -.14(ay that allo)-.1 F .14(ws them to be)-.25 F .31(reused as input.)144 -120 R(The)5.31 E F12.81 E F0 .31(option remo)2.81 F -.15(ve)-.15 G -2.81(sac).15 G .31(ompletion speci\214cation for each)-2.81 F F2(name) -2.81 E F0 2.81(,o)C 1.11 -.4(r, i)-2.81 H 2.81(fn).4 G(o)-2.81 E F2 -(name)2.81 E F0(s)A 1.346 -(are supplied, all completion speci\214cations.)144 132 R(The)6.347 E F1 -3.847 E F0 1.347(option indicates that the remaining options)3.847 -F .5(and actions should apply to the `)144 144 R(`def)-.74 E(ault')-.1 E -3('c)-.74 G .5(ommand completion; that is, completion attempted on)-3 F -3.455(ac)144 156 S .955(ommand for which no completion has pre)-3.455 F -.955(viously been de\214ned.)-.25 F(The)5.955 E F13.455 E F0 .955 -(option indicates that)3.455 F .065 -(the remaining options and actions should apply to `)144 168 R(`empty') --.74 E 2.564('c)-.74 G .064(ommand completion; that is, comple-)-2.564 F -(tion attempted on a blank line.)144 180 Q 1.437 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(compgen)108 84 Q F0([)2.5 E/F2 10/Times-Italic@0 SF(option)A F0 2.5 +(][)C F2(wor)-2.5 E(d)-.37 E F0(])A .012 +(Generate possible completion matches for)144 96 R F2(wor)2.513 E(d)-.37 +E F0 .013(according to the)2.513 F F2(option)2.513 E F0 .013 +(s, which may be an)B 2.513(yo)-.15 G(ption)-2.513 E .982 +(accepted by the)144 108 R F1(complete)3.482 E F0 -.2(bu)3.481 G .981 +(iltin with the e).2 F .981(xception of)-.15 F F13.481 E F0(and) +3.481 E F13.481 E F0 3.481(,a)C .981(nd write the matches to the) +-3.481 F .13(standard output.)144 120 R .13(When using the)5.13 F F1 +2.63 E F0(or)2.63 E F12.631 E F0 .131(options, the v)2.631 F +.131(arious shell v)-.25 F .131(ariables set by the program-)-.25 F +(mable completion f)144 132 Q(acilities, while a)-.1 E -.25(va)-.2 G +(ilable, will not ha).25 E .3 -.15(ve u)-.2 H(seful v).15 E(alues.)-.25 +E .352(The matches will be generated in the same w)144 156 R .352 +(ay as if the programmable completion code had gen-)-.1 F .02(erated th\ +em directly from a completion speci\214cation with the same \215ags.)144 +168 R(If)5.02 E F2(wor)2.52 E(d)-.37 E F0 .02(is speci\214ed, only)2.52 +F(those completions matching)144 180 Q F2(wor)2.5 E(d)-.37 E F0 +(will be displayed.)2.5 E(The return v)144 204 Q +(alue is true unless an in)-.25 E -.25(va)-.4 G +(lid option is supplied, or no matches were generated.).25 E F1 +(complete)108 220.8 Q F0([)3.729 E F1(\255abcdefgjksuv)A F0 3.729(][)C +F1-3.729 E F2(comp-option)3.729 E F0 3.729(][)C F1(\255DE)-3.729 E +F0 3.728(][)C F1-3.728 E F2(action)3.728 E F0 3.728(][)C F1 +-3.728 E F2(globpat)3.728 E F0 3.728(][)C F1-3.728 E F2(wor)3.728 +E(dlist)-.37 E F0 3.728(][)C F1-3.728 E F2(func-)3.728 E(tion)108 +232.8 Q F0 2.5(][)C F1-2.5 E F2(command)2.5 E F0(])A([)144 244.8 Q +F1A F2(\214lterpat)2.5 E F0 2.5(][)C F1-2.5 E F2(pr)2.5 E +(e\214x)-.37 E F0 2.5(][)C F1-2.5 E F2(suf)2.5 E<8c78>-.18 E F0(]) +A F2(name)2.5 E F0([)2.5 E F2(name ...)A F0(])A F1(complete \255pr)108 +256.8 Q F0([)2.5 E F1(\255DE)A F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E +.633(Specify ho)144 268.8 R 3.133(wa)-.25 G -.18(rg)-3.133 G .633 +(uments to each).18 F F2(name)3.133 E F0 .633(should be completed.)3.133 +F .634(If the)5.634 F F13.134 E F0 .634 +(option is supplied, or if no)3.134 F .14(options are supplied, e)144 +280.8 R .139(xisting completion speci\214cations are printed in a w)-.15 +F .139(ay that allo)-.1 F .139(ws them to be)-.25 F .31 +(reused as input.)144 292.8 R(The)5.31 E F12.81 E F0 .31 +(option remo)2.81 F -.15(ve)-.15 G 2.81(sac).15 G .31 +(ompletion speci\214cation for each)-2.81 F F2(name)2.81 E F0 2.81(,o)C +1.11 -.4(r, i)-2.81 H 2.81(fn).4 G(o)-2.81 E F2(name)2.81 E F0(s)A 1.347 +(are supplied, all completion speci\214cations.)144 304.8 R(The)6.347 E +F13.847 E F0 1.346(option indicates that the remaining options) +3.847 F .5(and actions should apply to the `)144 316.8 R(`def)-.74 E +(ault')-.1 E 3('c)-.74 G .5 +(ommand completion; that is, completion attempted on)-3 F 3.455(ac)144 +328.8 S .955(ommand for which no completion has pre)-3.455 F .955 +(viously been de\214ned.)-.25 F(The)5.955 E F13.455 E F0 .955 +(option indicates that)3.455 F .064 +(the remaining options and actions should apply to `)144 340.8 R +(`empty')-.74 E 2.565('c)-.74 G .065 +(ommand completion; that is, comple-)-2.565 F +(tion attempted on a blank line.)144 352.8 Q 1.438 (The process of applying these completion speci\214cations when w)144 -204 R 1.438(ord completion is attempted is)-.1 F(described abo)144 216 Q -.3 -.15(ve u)-.15 H(nder).15 E F1(Pr)2.5 E(ogrammable Completion)-.18 E -F0(.)A .556(Other options, if speci\214ed, ha)144 240 R .856 -.15(ve t) --.2 H .555(he follo).15 F .555(wing meanings.)-.25 F .555(The ar)5.555 F -.555(guments to the)-.18 F F13.055 E F0(,)A F13.055 E F0 -3.055(,a)C(nd)-3.055 E F13.055 E F0 .722 -(options \(and, if necessary)144 252 R 3.222(,t)-.65 G(he)-3.222 E F1 -3.222 E F0(and)3.222 E F13.222 E F0 .723 -(options\) should be quoted to protect them from e)3.222 F(xpan-)-.15 E -(sion before the)144 264 Q F1(complete)2.5 E F0 -.2(bu)2.5 G -(iltin is in).2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E F1144 276 Q F2 -(comp-option)2.5 E F0(The)184 288 Q F2(comp-option)2.791 E F0 .291 +376.8 R 1.437(ord completion is attempted is)-.1 F(described abo)144 +388.8 Q .3 -.15(ve u)-.15 H(nder).15 E F1(Pr)2.5 E +(ogrammable Completion)-.18 E F0(.)A .555 +(Other options, if speci\214ed, ha)144 412.8 R .855 -.15(ve t)-.2 H .555 +(he follo).15 F .555(wing meanings.)-.25 F .555(The ar)5.555 F .555 +(guments to the)-.18 F F13.056 E F0(,)A F13.056 E F0 3.056 +(,a)C(nd)-3.056 E F13.056 E F0 .723(options \(and, if necessary) +144 424.8 R 3.223(,t)-.65 G(he)-3.223 E F13.223 E F0(and)3.223 E +F13.223 E F0 .722 +(options\) should be quoted to protect them from e)3.223 F(xpan-)-.15 E +(sion before the)144 436.8 Q F1(complete)2.5 E F0 -.2(bu)2.5 G +(iltin is in).2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E F1144 448.8 Q +F2(comp-option)2.5 E F0(The)184 460.8 Q F2(comp-option)2.79 E F0 .291 (controls se)2.791 F -.15(ve)-.25 G .291(ral aspects of the compspec') .15 F 2.791(sb)-.55 G(eha)-2.791 E .291(vior be)-.2 F .291 -(yond the simple)-.15 F(generation of completions.)184 300 Q F2 -(comp-option)5 E F0(may be one of:)2.5 E F1(bashdefault)184 312 Q F0 -.281(Perform the rest of the def)224 324 R(ault)-.1 E F1(bash)2.781 E F0 -.281(completions if the compspec generates no)2.781 F(matches.)224 336 Q -F1(default)184 348 Q F0 2.876(Use readline')10 F 5.376(sd)-.55 G(ef) --5.376 E 2.875(ault \214lename completion if the compspec generates no) --.1 F(matches.)224 360 Q F1(dir)184 372 Q(names)-.15 E F0(Perform direc\ -tory name completion if the compspec generates no matches.)224 384 Q F1 -(\214lenames)184 396 Q F0 -.7(Te)224 408 S .137(ll readline that the co\ -mpspec generates \214lenames, so it can perform an).7 F 2.637<798c>-.15 -G(le-)-2.637 E .134(name\255speci\214c processing \(lik)224 420 R 2.634 -(ea)-.1 G .134(dding a slash to directory names, quoting spe-)-2.634 F -.45(cial characters, or suppressing trailing spaces\).)224 432 R .45 -(Intended to be used with shell)5.45 F(functions.)224 444 Q F1(noquote) -184 456 Q F0 -.7(Te)5.55 G .814 +(yond the simple)-.15 F(generation of completions.)184 472.8 Q F2 +(comp-option)5 E F0(may be one of:)2.5 E F1(bashdefault)184 484.8 Q F0 +.281(Perform the rest of the def)224 496.8 R(ault)-.1 E F1(bash)2.781 E +F0 .281(completions if the compspec generates no)2.781 F(matches.)224 +508.8 Q F1(default)184 520.8 Q F0 2.875(Use readline')224 520.8 R 5.375 +(sd)-.55 G(ef)-5.375 E 2.876 +(ault \214lename completion if the compspec generates no)-.1 F(matches.) +224 532.8 Q F1(dir)184 544.8 Q(names)-.15 E F0(Perform directory name c\ +ompletion if the compspec generates no matches.)224 556.8 Q F1 +(\214lenames)184 568.8 Q F0 -.7(Te)224 580.8 S .137(ll readline that th\ +e compspec generates \214lenames, so it can perform an).7 F 2.636<798c> +-.15 G(le-)-2.636 E .134(name\255speci\214c processing \(lik)224 592.8 R +2.634(ea)-.1 G .134(dding a slash to directory names, quoting spe-) +-2.634 F .45(cial characters, or suppressing trailing spaces\).)224 +604.8 R .45(Intended to be used with shell)5.45 F(functions.)224 616.8 Q +F1(noquote)184 628.8 Q F0 -.7(Te)224 628.8 S .814 (ll readline not to quote the completed w).7 F .814(ords if the)-.1 F -3.314(ya)-.15 G .814(re \214lenames \(quoting)-3.314 F -(\214lenames is the def)224 468 Q(ault\).)-.1 E F1(nospace)184 480 Q F0 --.7(Te)6.11 G .22(ll readline not to append a space \(the def).7 F .22 +3.314(ya)-.15 G .815(re \214lenames \(quoting)-3.314 F +(\214lenames is the def)224 640.8 Q(ault\).)-.1 E F1(nosort)184 652.8 Q +F0 -.7(Te)224 652.8 S(ll readline not to sort the list of possible comp\ +letions alphabetically).7 E(.)-.65 E F1(nospace)184 664.8 Q F0 -.7(Te) +224 664.8 S .22(ll readline not to append a space \(the def).7 F .22 (ault\) to w)-.1 F .22(ords completed at the end)-.1 F(of the line.)224 -492 Q F1(plusdirs)184 504 Q F0 1.985(After an)5.54 F 4.485(ym)-.15 G -1.985(atches de\214ned by the compspec are generated, directory name) --4.485 F .583(completion is attempted and an)224 516 R 3.084(ym)-.15 G -.584(atches are added to the results of the other)-3.084 F(actions.)224 -528 Q F1144 540 Q F2(action)2.5 E F0(The)184 552 Q F2(action)2.5 E -F0(may be one of the follo)2.5 E -(wing to generate a list of possible completions:)-.25 E F1(alias)184 -564 Q F0(Alias names.)20.55 E(May also be speci\214ed as)5 E F12.5 -E F0(.)A F1(arrayv)184 576 Q(ar)-.1 E F0(Array v)224 588 Q -(ariable names.)-.25 E F1 4.7(binding Readline)184 600 R F0 -.1(ke)2.5 G -2.5(yb)-.05 G(inding names.)-2.5 E F1 -.2(bu)184 612 S(iltin).2 E F0 -(Names of shell b)11.85 E(uiltin commands.)-.2 E -(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(command)184 624 -Q F0(Command names.)224 636 Q(May also be speci\214ed as)5 E F12.5 -E F0(.)A F1(dir)184 648 Q(ectory)-.18 E F0(Directory names.)224 660 Q -(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(disabled)184 672 -Q F0(Names of disabled shell b)224 684 Q(uiltins.)-.2 E F1(enabled)184 -696 Q F0(Names of enabled shell b)6.66 E(uiltins.)-.2 E F1(export)184 -708 Q F0(Names of e)12.23 E(xported shell v)-.15 E 2.5(ariables. May) --.25 F(also be speci\214ed as)2.5 E F12.5 E F0(.)A(GNU Bash 4.3)72 -768 Q(2014 February 2)141.79 E(54)190.95 E 0 Cg EP -%%Page: 55 55 +676.8 Q F1(plusdirs)184 688.8 Q F0 1.985(After an)224 688.8 R 4.485(ym) +-.15 G 1.985 +(atches de\214ned by the compspec are generated, directory name)-4.485 F +.584(completion is attempted and an)224 700.8 R 3.084(ym)-.15 G .584 +(atches are added to the results of the other)-3.084 F(actions.)224 +712.8 Q(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(56)192.055 E 0 Cg +EP +%%Page: 57 57 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(\214le)184 84 Q F0(File names.)27.22 E -(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(function)184 96 -Q F0(Names of shell functions.)224 108 Q F1(gr)184 120 Q(oup)-.18 E F0 -(Group names.)14.62 E(May also be speci\214ed as)5 E F12.5 E F0(.) -A F1(helptopic)184 132 Q F0(Help topics as accepted by the)224 144 Q F1 -(help)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1(hostname)184 156 Q F0 -(Hostnames, as tak)224 168 Q(en from the \214le speci\214ed by the)-.1 E -/F2 9/Times-Bold@0 SF(HOSTFILE)2.5 E F0(shell v)2.25 E(ariable.)-.25 E -F1(job)184 180 Q F0(Job names, if job control is acti)26.11 E -.15(ve) --.25 G 5(.M).15 G(ay also be speci\214ed as)-5 E F12.5 E F0(.)A F1 --.1(ke)184 192 S(yw).1 E(ord)-.1 E F0(Shell reserv)224 204 Q(ed w)-.15 E -2.5(ords. May)-.1 F(also be speci\214ed as)2.5 E F12.5 E F0(.)A F1 -(running)184 216 Q F0(Names of running jobs, if job control is acti)5.54 -E -.15(ve)-.25 G(.).15 E F1(ser)184 228 Q(vice)-.1 E F0(Service names.) -10.67 E(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(setopt) -184 240 Q F0 -1.11(Va)14.45 G(lid ar)1.11 E(guments for the)-.18 E F1 -2.5 E F0(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.) -.2 E F1(shopt)184 252 Q F0(Shell option names as accepted by the)16.66 E -F1(shopt)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1(signal)184 264 Q F0 -(Signal names.)14.99 E F1(stopped)184 276 Q F0 -(Names of stopped jobs, if job control is acti)6.66 E -.15(ve)-.25 G(.) -.15 E F1(user)184 288 Q F0(User names.)21.67 E -(May also be speci\214ed as)5 E F12.5 E F0(.)A F1 -.1(va)184 300 S -(riable).1 E F0(Names of all shell v)5.1 E 2.5(ariables. May)-.25 F -(also be speci\214ed as)2.5 E F12.5 E F0(.)A F1144 312 Q/F3 -10/Times-Italic@0 SF(command)2.5 E(command)184 324 Q F0 1.056(is e)3.556 -F -.15(xe)-.15 G 1.056(cuted in a subshell en).15 F 1.056 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF144 84 Q/F2 10/Times-Italic@0 SF(action)2.5 E F0(The)184 96 Q F2 +(action)2.5 E F0(may be one of the follo)2.5 E +(wing to generate a list of possible completions:)-.25 E F1(alias)184 +108 Q F0(Alias names.)224 108 Q(May also be speci\214ed as)5 E F1 +2.5 E F0(.)A F1(arrayv)184 120 Q(ar)-.1 E F0(Array v)224 132 Q +(ariable names.)-.25 E F1(binding)184 144 Q(Readline)224 144 Q F0 -.1 +(ke)2.5 G 2.5(yb)-.05 G(inding names.)-2.5 E F1 -.2(bu)184 156 S(iltin) +.2 E F0(Names of shell b)224 156 Q(uiltin commands.)-.2 E +(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(command)184 168 +Q F0(Command names.)224 180 Q(May also be speci\214ed as)5 E F12.5 +E F0(.)A F1(dir)184 192 Q(ectory)-.18 E F0(Directory names.)224 204 Q +(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(disabled)184 216 +Q F0(Names of disabled shell b)224 228 Q(uiltins.)-.2 E F1(enabled)184 +240 Q F0(Names of enabled shell b)224 240 Q(uiltins.)-.2 E F1(export)184 +252 Q F0(Names of e)224 252 Q(xported shell v)-.15 E 2.5(ariables. May) +-.25 F(also be speci\214ed as)2.5 E F12.5 E F0(.)A F1(\214le)184 +264 Q F0(File names.)224 264 Q(May also be speci\214ed as)5 E F1 +2.5 E F0(.)A F1(function)184 276 Q F0(Names of shell functions.)224 288 +Q F1(gr)184 300 Q(oup)-.18 E F0(Group names.)224 300 Q +(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(helptopic)184 +312 Q F0(Help topics as accepted by the)224 324 Q F1(help)2.5 E F0 -.2 +(bu)2.5 G(iltin.).2 E F1(hostname)184 336 Q F0(Hostnames, as tak)224 348 +Q(en from the \214le speci\214ed by the)-.1 E/F3 9/Times-Bold@0 SF +(HOSTFILE)2.5 E F0(shell v)2.25 E(ariable.)-.25 E F1(job)184 360 Q F0 +(Job names, if job control is acti)224 360 Q -.15(ve)-.25 G 5(.M).15 G +(ay also be speci\214ed as)-5 E F12.5 E F0(.)A F1 -.1(ke)184 372 S +(yw).1 E(ord)-.1 E F0(Shell reserv)224 384 Q(ed w)-.15 E 2.5(ords. May) +-.1 F(also be speci\214ed as)2.5 E F12.5 E F0(.)A F1(running)184 +396 Q F0(Names of running jobs, if job control is acti)224 396 Q -.15 +(ve)-.25 G(.).15 E F1(ser)184 408 Q(vice)-.1 E F0(Service names.)224 408 +Q(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(setopt)184 420 +Q F0 -1.11(Va)224 420 S(lid ar)1.11 E(guments for the)-.18 E F12.5 +E F0(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1 +(shopt)184 432 Q F0(Shell option names as accepted by the)224 432 Q F1 +(shopt)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1(signal)184 444 Q F0 +(Signal names.)224 444 Q F1(stopped)184 456 Q F0 +(Names of stopped jobs, if job control is acti)224 456 Q -.15(ve)-.25 G +(.).15 E F1(user)184 468 Q F0(User names.)224 468 Q +(May also be speci\214ed as)5 E F12.5 E F0(.)A F1 -.1(va)184 480 S +(riable).1 E F0(Names of all shell v)224 480 Q 2.5(ariables. May)-.25 F +(also be speci\214ed as)2.5 E F12.5 E F0(.)A F1144 492 Q F2 +(command)2.5 E(command)184 504 Q F0 1.055(is e)3.555 F -.15(xe)-.15 G +1.055(cuted in a subshell en).15 F 1.056 (vironment, and its output is used as the possible)-.4 F(completions.) -184 336 Q F1144 348 Q F3(function)2.5 E F0 .113 -(The shell function)184 360 R F3(function)2.614 E F0 .114(is e)2.614 F +184 516 Q F1144 528 Q F2(function)2.5 E F0 .114 +(The shell function)184 540 R F2(function)2.614 E F0 .114(is e)2.614 F -.15(xe)-.15 G .114(cuted in the current shell en).15 F 2.614 -(vironment. When)-.4 F .114(the func-)2.614 F .817(tion is e)184 372 R --.15(xe)-.15 G .817(cuted, the \214rst ar).15 F .817(gument \()-.18 F F1 -($1)A F0 3.316(\)i)C 3.316(st)-3.316 G .816 +(vironment. When)-.4 F .113(the func-)2.613 F .816(tion is e)184 552 R +-.15(xe)-.15 G .816(cuted, the \214rst ar).15 F .816(gument \()-.18 F F1 +($1)A F0 3.316(\)i)C 3.316(st)-3.316 G .817 (he name of the command whose ar)-3.316 F(guments)-.18 E 1.407 -(are being completed, the second ar)184 384 R 1.407(gument \()-.18 F F1 +(are being completed, the second ar)184 564 R 1.407(gument \()-.18 F F1 ($2)A F0 3.907(\)i)C 3.907(st)-3.907 G 1.407(he w)-3.907 F 1.407 -(ord being completed, and the)-.1 F .104(third ar)184 396 R .104 -(gument \()-.18 F F1($3)A F0 2.604(\)i)C 2.604(st)-2.604 G .104(he w) --2.604 F .104(ord preceding the w)-.1 F .103 -(ord being completed on the current com-)-.1 F .101(mand line.)184 408 R -.101(When it \214nishes, the possible completions are retrie)5.101 F --.15(ve)-.25 G 2.602(df).15 G .102(rom the v)-2.602 F .102(alue of the) --.25 F F2(COMPREPL)184 420 Q(Y)-.828 E F0(array v)2.25 E(ariable.)-.25 E -F1144 432 Q F3(globpat)2.5 E F0 1.008(The pathname e)184 444 R -1.008(xpansion pattern)-.15 F F3(globpat)3.507 E F0 1.007(is e)3.507 F -1.007(xpanded to generate the possible comple-)-.15 F(tions.)184 456 Q -F1144 468 Q F3(pr)2.5 E(e\214x)-.37 E(pr)184 480 Q(e\214x)-.37 E -F0 .534(is added at the be)3.034 F .534 +(ord being completed, and the)-.1 F .103(third ar)184 576 R .103 +(gument \()-.18 F F1($3)A F0 2.603(\)i)C 2.603(st)-2.603 G .103(he w) +-2.603 F .104(ord preceding the w)-.1 F .104 +(ord being completed on the current com-)-.1 F .102(mand line.)184 588 R +.102(When it \214nishes, the possible completions are retrie)5.102 F +-.15(ve)-.25 G 2.601(df).15 G .101(rom the v)-2.601 F .101(alue of the) +-.25 F F3(COMPREPL)184 600 Q(Y)-.828 E F0(array v)2.25 E(ariable.)-.25 E +F1144 612 Q F2(globpat)2.5 E F0 1.007(The pathname e)184 624 R +1.007(xpansion pattern)-.15 F F2(globpat)3.507 E F0 1.007(is e)3.507 F +1.008(xpanded to generate the possible comple-)-.15 F(tions.)184 636 Q +F1144 648 Q F2(pr)2.5 E(e\214x)-.37 E(pr)184 660 Q(e\214x)-.37 E +F0 .535(is added at the be)3.035 F .534 (ginning of each possible completion after all other options ha)-.15 F --.15(ve)-.2 G(been applied.)184 492 Q F1144 504 Q F3(suf)2.5 E -2.81(\214x suf)-.18 F<8c78>-.18 E F0 +-.15(ve)-.2 G(been applied.)184 672 Q F1144 684 Q F2(suf)2.5 E +<8c78>-.18 E(suf)184 684 Q<8c78>-.18 E F0 (is appended to each possible completion after all other options ha)2.5 -E .3 -.15(ve b)-.2 H(een applied.).15 E F1144 516 Q F3(wor)2.5 E -(dlist)-.37 E F0(The)184 528 Q F3(wor)3.64 E(dlist)-.37 E F0 1.14 -(is split using the characters in the)3.64 F F2(IFS)3.64 E F0 1.139 -(special v)3.39 F 1.139(ariable as delimiters, and)-.25 F 2.007 -(each resultant w)184 540 R 2.007(ord is e)-.1 F 4.507(xpanded. The)-.15 -F 2.008(possible completions are the members of the)4.507 F -(resultant list which match the w)184 552 Q(ord being completed.)-.1 E -F1144 564 Q F3(\214lterpat)2.5 E(\214lterpat)184 576 Q F0 .456 -(is a pattern as used for pathname e)2.956 F 2.956(xpansion. It)-.15 F -.455(is applied to the list of possible)2.956 F 1.596 -(completions generated by the preceding options and ar)184 588 R 1.596 -(guments, and each completion)-.18 F(matching)184 600 Q F3(\214lterpat) -3.205 E F0 .705(is remo)3.205 F -.15(ve)-.15 G 3.205(df).15 G .704 -(rom the list.)-3.205 F 3.204(Al)5.704 G(eading)-3.204 E F1(!)3.204 E F0 -(in)3.204 E F3(\214lterpat)3.204 E F0(ne)3.204 E -.05(ga)-.15 G .704 -(tes the pattern;).05 F(in this case, an)184 612 Q 2.5(yc)-.15 G -(ompletion not matching)-2.5 E F3(\214lterpat)2.5 E F0(is remo)2.5 E --.15(ve)-.15 G(d.).15 E .466(The return v)144 628.8 R .466 +E .3 -.15(ve b)-.2 H(een applied.).15 E F1144 696 Q F2(wor)2.5 E +(dlist)-.37 E F0(The)184 708 Q F2(wor)3.639 E(dlist)-.37 E F0 1.14 +(is split using the characters in the)3.639 F F3(IFS)3.64 E F0 1.14 +(special v)3.39 F 1.14(ariable as delimiters, and)-.25 F 2.008 +(each resultant w)184 720 R 2.008(ord is e)-.1 F 4.508(xpanded. The)-.15 +F 2.007(possible completions are the members of the)4.508 F +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(57)192.055 E 0 Cg EP +%%Page: 58 58 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E +(resultant list which match the w)184 84 Q(ord being completed.)-.1 E/F1 +10/Times-Bold@0 SF144 96 Q/F2 10/Times-Italic@0 SF(\214lterpat)2.5 +E(\214lterpat)184 108 Q F0 .455(is a pattern as used for pathname e) +2.955 F 2.956(xpansion. It)-.15 F .456 +(is applied to the list of possible)2.956 F 1.596 +(completions generated by the preceding options and ar)184 120 R 1.596 +(guments, and each completion)-.18 F(matching)184 132 Q F2(\214lterpat) +3.204 E F0 .704(is remo)3.204 F -.15(ve)-.15 G 3.204(df).15 G .704 +(rom the list.)-3.204 F 3.204(Al)5.704 G(eading)-3.204 E F1(!)3.204 E F0 +(in)3.204 E F2(\214lterpat)3.205 E F0(ne)3.205 E -.05(ga)-.15 G .705 +(tes the pattern;).05 F(in this case, an)184 144 Q 2.5(yc)-.15 G +(ompletion not matching)-2.5 E F2(\214lterpat)2.5 E F0(is remo)2.5 E +-.15(ve)-.15 G(d.).15 E .467(The return v)144 160.8 R .467 (alue is true unless an in)-.25 F -.25(va)-.4 G .466 -(lid option is supplied, an option other than).25 F F12.967 E F0 -(or)2.967 E F12.967 E F0 .467(is sup-)2.967 F 1.362 -(plied without a)144 640.8 R F3(name)3.862 E F0(ar)3.862 E 1.361 -(gument, an attempt is made to remo)-.18 F 1.661 -.15(ve a c)-.15 H -1.361(ompletion speci\214cation for a).15 F F3(name)144 652.8 Q F0 +(lid option is supplied, an option other than).25 F F12.966 E F0 +(or)2.966 E F12.966 E F0 .466(is sup-)2.966 F 1.361 +(plied without a)144 172.8 R F2(name)3.861 E F0(ar)3.861 E 1.361 +(gument, an attempt is made to remo)-.18 F 1.662 -.15(ve a c)-.15 H +1.362(ompletion speci\214cation for a).15 F F2(name)144 184.8 Q F0 (for which no speci\214cation e)2.5 E (xists, or an error occurs adding a completion speci\214cation.)-.15 E -F1(compopt)108 669.6 Q F0([)2.5 E F1A F3(option)2.5 E F0 2.5(][)C -F1(\255DE)-2.5 E F0 2.5(][)C F1(+o)-2.5 E F3(option)2.5 E F0 2.5(][)C F3 -(name)-2.5 E F0(])A .447(Modify completion options for each)144 681.6 R -F3(name)2.947 E F0 .447(according to the)2.947 F F3(option)2.947 E F0 -.447(s, or for the currently-e)B -.15(xe)-.15 G(cuting).15 E .726 -(completion if no)144 693.6 R F3(name)3.226 E F0 3.226(sa)C .726 -(re supplied.)-3.226 F .725(If no)5.725 F F3(option)3.225 E F0 3.225(sa) -C .725(re gi)-3.225 F -.15(ve)-.25 G .725 -(n, display the completion options for).15 F(each)144 705.6 Q F3(name) -3.223 E F0 .723(or the current completion.)3.223 F .724(The possible v) -5.724 F .724(alues of)-.25 F F3(option)3.224 E F0 .724(are those v)3.224 -F .724(alid for the)-.25 F F1(com-)3.224 E(plete)144 717.6 Q F0 -.2(bu) -2.798 G .298(iltin described abo).2 F -.15(ve)-.15 G 5.297(.T).15 G(he) +F1(compopt)108 201.6 Q F0([)2.5 E F1A F2(option)2.5 E F0 2.5(][)C +F1(\255DE)-2.5 E F0 2.5(][)C F1(+o)-2.5 E F2(option)2.5 E F0 2.5(][)C F2 +(name)-2.5 E F0(])A .447(Modify completion options for each)144 213.6 R +F2(name)2.947 E F0 .447(according to the)2.947 F F2(option)2.947 E F0 +.447(s, or for the currently-e)B -.15(xe)-.15 G(cuting).15 E .725 +(completion if no)144 225.6 R F2(name)3.225 E F0 3.225(sa)C .725 +(re supplied.)-3.225 F .725(If no)5.725 F F2(option)3.225 E F0 3.225(sa) +C .725(re gi)-3.225 F -.15(ve)-.25 G .726 +(n, display the completion options for).15 F(each)144 237.6 Q F2(name) +3.224 E F0 .724(or the current completion.)3.224 F .724(The possible v) +5.724 F .724(alues of)-.25 F F2(option)3.224 E F0 .724(are those v)3.224 +F .723(alid for the)-.25 F F1(com-)3.223 E(plete)144 249.6 Q F0 -.2(bu) +2.797 G .297(iltin described abo).2 F -.15(ve)-.15 G 5.297(.T).15 G(he) -5.297 E F12.797 E F0 .297 (option indicates that the remaining options should apply to)2.797 F -1.227(the `)144 729.6 R(`def)-.74 E(ault')-.1 E 3.727('c)-.74 G 1.228(o\ +1.228(the `)144 261.6 R(`def)-.74 E(ault')-.1 E 3.728('c)-.74 G 1.228(o\ mmand completion; that is, completion attempted on a command for which \ -no)-3.727 F(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(55)190.95 E 0 -Cg EP -%%Page: 56 56 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E 2.178(completion has pre)144 84 R 2.178(viously been de\214ned.) --.25 F(The)7.178 E/F1 10/Times-Bold@0 SF4.678 E F0 2.177 -(option indicates that the remaining options)4.677 F(should apply to `) -144 96 Q(`empty')-.74 E 2.5('c)-.74 G +no)-3.728 F 2.177(completion has pre)144 273.6 R 2.177 +(viously been de\214ned.)-.25 F(The)7.177 E F14.677 E F0 2.178 +(option indicates that the remaining options)4.678 F(should apply to `) +144 285.6 Q(`empty')-.74 E 2.5('c)-.74 G (ommand completion; that is, completion attempted on a blank line.)-2.5 -E 1.387(The return v)144 120 R 1.387(alue is true unless an in)-.25 F --.25(va)-.4 G 1.388 +E 1.388(The return v)144 309.6 R 1.388(alue is true unless an in)-.25 F +-.25(va)-.4 G 1.387 (lid option is supplied, an attempt is made to modify the).25 F -(options for a)144 132 Q/F2 10/Times-Italic@0 SF(name)2.5 E F0 +(options for a)144 321.6 Q F2(name)2.5 E F0 (for which no completion speci\214cation e)2.5 E -(xists, or an output error occurs.)-.15 E F1(continue)108 148.8 Q F0([) -2.5 E F2(n)A F0(])A 1.754(Resume the ne)144 160.8 R 1.754 +(xists, or an output error occurs.)-.15 E F1(continue)108 338.4 Q F0([) +2.5 E F2(n)A F0(])A 1.753(Resume the ne)144 350.4 R 1.753 (xt iteration of the enclosing)-.15 F F1 -.25(fo)4.254 G(r).25 E F0(,)A F1(while)4.254 E F0(,)A F1(until)4.254 E F0 4.254(,o)C(r)-4.254 E F1 -(select)4.254 E F0 4.253(loop. If)4.254 F F2(n)4.613 E F0 1.753 -(is speci\214ed,)4.493 F 1.208(resume at the)144 172.8 R F2(n)3.709 E F0 +(select)4.254 E F0 4.254(loop. If)4.254 F F2(n)4.614 E F0 1.754 +(is speci\214ed,)4.494 F 1.209(resume at the)144 362.4 R F2(n)3.709 E F0 1.209(th enclosing loop.)B F2(n)6.569 E F0 1.209(must be)3.949 F/F3 10 /Symbol SF3.709 E F0 3.709(1. If)3.709 F F2(n)4.069 E F0 1.209 -(is greater than the number of enclosing)3.949 F .514 -(loops, the last enclosing loop \(the `)144 184.8 R(`top-le)-.74 E -.15 -(ve)-.25 G(l').15 E 3.014('l)-.74 G .514(oop\) is resumed.)-3.014 F .513 -(The return v)5.513 F .513(alue is 0 unless)-.25 F F2(n)3.013 E F0(is) -3.013 E(not greater than or equal to 1.)144 196.8 Q F1(declar)108 213.6 +(is greater than the number of enclosing)3.949 F .513 +(loops, the last enclosing loop \(the `)144 374.4 R(`top-le)-.74 E -.15 +(ve)-.25 G(l').15 E 3.013('l)-.74 G .513(oop\) is resumed.)-3.013 F .514 +(The return v)5.514 F .514(alue is 0 unless)-.25 F F2(n)3.014 E F0(is) +3.014 E(not greater than or equal to 1.)144 386.4 Q F1(declar)108 403.2 Q(e)-.18 E F0([)2.5 E F1(\255aAfFgilnrtux)A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E F1 -(typeset)108 225.6 Q F0([)2.5 E F1(\255aAfFgilnrtux)A F0 2.5(][)C F1 +(typeset)108 415.2 Q F0([)2.5 E F1(\255aAfFgilnrtux)A F0 2.5(][)C F1 -2.5 E F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C -(..])-2.5 E 1.264(Declare v)144 237.6 R 1.264(ariables and/or gi)-.25 F -1.564 -.15(ve t)-.25 H 1.264(hem attrib).15 F 3.765(utes. If)-.2 F(no) +(..])-2.5 E 1.265(Declare v)144 427.2 R 1.265(ariables and/or gi)-.25 F +1.565 -.15(ve t)-.25 H 1.265(hem attrib).15 F 3.765(utes. If)-.2 F(no) 3.765 E F2(name)3.765 E F0 3.765(sa)C 1.265(re gi)-3.765 F -.15(ve)-.25 -G 3.765(nt).15 G 1.265(hen display the v)-3.765 F 1.265(alues of)-.25 F --.25(va)144 249.6 S 3.483(riables. The).25 F F13.483 E F0 .983 -(option will display the attrib)3.483 F .983(utes and v)-.2 F .982 -(alues of each)-.25 F F2(name)3.482 E F0 5.982(.W).18 G(hen)-5.982 E F1 -3.482 E F0 .982(is used)3.482 F(with)144 261.6 Q F2(name)2.774 E -F0(ar)2.774 E .274(guments, additional options, other than)-.18 F F1 -2.775 E F0(and)2.775 E F12.775 E F0 2.775(,a)C .275 -(re ignored.)-2.775 F(When)5.275 E F12.775 E F0 .275(is supplied) -2.775 F(without)144 273.6 Q F2(name)4.814 E F0(ar)4.814 E 2.314 -(guments, it will display the attrib)-.18 F 2.314(utes and v)-.2 F 2.313 -(alues of all v)-.25 F 2.313(ariables ha)-.25 F 2.313(ving the)-.2 F -(attrib)144 285.6 Q 1.181(utes speci\214ed by the additional options.) --.2 F 1.182(If no other options are supplied with)6.181 F F13.682 -E F0(,)A F1(declar)3.682 E(e)-.18 E F0 .62(will display the attrib)144 -297.6 R .62(utes and v)-.2 F .62(alues of all shell v)-.25 F 3.12 +G 3.764(nt).15 G 1.264(hen display the v)-3.764 F 1.264(alues of)-.25 F +-.25(va)144 439.2 S 3.482(riables. The).25 F F13.482 E F0 .982 +(option will display the attrib)3.482 F .982(utes and v)-.2 F .983 +(alues of each)-.25 F F2(name)3.483 E F0 5.983(.W).18 G(hen)-5.983 E F1 +3.483 E F0 .983(is used)3.483 F(with)144 451.2 Q F2(name)2.775 E +F0(ar)2.775 E .275(guments, additional options, other than)-.18 F F1 +2.775 E F0(and)2.775 E F12.775 E F0 2.775(,a)C .274 +(re ignored.)-2.775 F(When)5.274 E F12.774 E F0 .274(is supplied) +2.774 F(without)144 463.2 Q F2(name)4.813 E F0(ar)4.813 E 2.313 +(guments, it will display the attrib)-.18 F 2.314(utes and v)-.2 F 2.314 +(alues of all v)-.25 F 2.314(ariables ha)-.25 F 2.314(ving the)-.2 F +(attrib)144 475.2 Q 1.182(utes speci\214ed by the additional options.) +-.2 F 1.181(If no other options are supplied with)6.182 F F13.681 +E F0(,)A F1(declar)3.681 E(e)-.18 E F0 .62(will display the attrib)144 +487.2 R .62(utes and v)-.2 F .62(alues of all shell v)-.25 F 3.12 (ariables. The)-.25 F F13.12 E F0 .62 -(option will restrict the display)3.12 F 1.29(to shell functions.)144 -309.6 R(The)6.29 E F13.79 E F0 1.291(option inhibits the display \ -of function de\214nitions; only the function)3.791 F .948 -(name and attrib)144 321.6 R .948(utes are printed.)-.2 F .948(If the) +(option will restrict the display)3.12 F 1.291(to shell functions.)144 +499.2 R(The)6.291 E F13.791 E F0 1.291(option inhibits the displa\ +y of function de\214nitions; only the function)3.791 F .948 +(name and attrib)144 511.2 R .948(utes are printed.)-.2 F .948(If the) 5.948 F F1(extdeb)3.448 E(ug)-.2 E F0 .948 (shell option is enabled using)3.448 F F1(shopt)3.448 E F0 3.448(,t)C -.948(he source)-3.448 F 1.342(\214le name and line number where the fun\ -ction is de\214ned are displayed as well.)144 333.6 R(The)6.342 E F1 -3.842 E F0(option)3.842 E(implies)144 345.6 Q F13.892 E F0 -6.392(.T)C(he)-6.392 E F13.892 E F0 1.391(option forces v)3.892 F -1.391(ariables to be created or modi\214ed at the global scope, e)-.25 F --.15(ve)-.25 G(n).15 E(when)144 357.6 Q F1(declar)4.382 E(e)-.18 E F0 -1.882(is e)4.382 F -.15(xe)-.15 G 1.882(cuted in a shell function.).15 F -1.883(It is ignored in all other cases.)6.882 F 1.883(The follo)6.883 F -(wing)-.25 E .794(options can be used to restrict output to v)144 369.6 -R .794(ariables with the speci\214ed attrib)-.25 F .793(ute or to gi)-.2 -F 1.093 -.15(ve v)-.25 H(ariables)-.1 E(attrib)144 381.6 Q(utes:)-.2 E -F1144 393.6 Q F0(Each)25.3 E F2(name)2.5 E F0(is an inde)2.5 E --.15(xe)-.15 G 2.5(da).15 G(rray v)-2.5 E(ariable \(see)-.25 E F1 -(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G(\).).15 E F1144 405.6 Q -F0(Each)23.08 E F2(name)2.5 E F0(is an associati)2.5 E .3 -.15(ve a)-.25 -H(rray v).15 E(ariable \(see)-.25 E F1(Arrays)2.5 E F0(abo)2.5 E -.15 -(ve)-.15 G(\).).15 E F1144 417.6 Q F0(Use function names only) -26.97 E(.)-.65 E F1144 429.6 Q F0 .557(The v)27.52 F .558 +.948(he source)-3.448 F 1.69(\214le name and line number where each)144 +523.2 R F2(name)4.19 E F0 1.69(is de\214ned are displayed as well.)4.19 +F(The)6.69 E F14.19 E F0(option)4.19 E(implies)144 535.2 Q F1 +3.891 E F0 6.391(.T)C(he)-6.391 E F13.891 E F0 1.391 +(option forces v)3.891 F 1.391 +(ariables to be created or modi\214ed at the global scope, e)-.25 F -.15 +(ve)-.25 G(n).15 E(when)144 547.2 Q F1(declar)4.383 E(e)-.18 E F0 1.883 +(is e)4.383 F -.15(xe)-.15 G 1.883(cuted in a shell function.).15 F +1.882(It is ignored in all other cases.)6.883 F 1.882(The follo)6.882 F +(wing)-.25 E .793(options can be used to restrict output to v)144 559.2 +R .794(ariables with the speci\214ed attrib)-.25 F .794(ute or to gi)-.2 +F 1.094 -.15(ve v)-.25 H(ariables)-.1 E(attrib)144 571.2 Q(utes:)-.2 E +F1144 583.2 Q F0(Each)180 583.2 Q F2(name)2.5 E F0(is an inde)2.5 +E -.15(xe)-.15 G 2.5(da).15 G(rray v)-2.5 E(ariable \(see)-.25 E F1 +(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G(\).).15 E F1144 595.2 Q +F0(Each)180 595.2 Q F2(name)2.5 E F0(is an associati)2.5 E .3 -.15(ve a) +-.25 H(rray v).15 E(ariable \(see)-.25 E F1(Arrays)2.5 E F0(abo)2.5 E +-.15(ve)-.15 G(\).).15 E F1144 607.2 Q F0(Use function names only) +180 607.2 Q(.)-.65 E F1144 619.2 Q F0 .558(The v)180 619.2 R .558 (ariable is treated as an inte)-.25 F .558(ger; arithmetic e)-.15 F -.25 -(va)-.25 G .558(luation \(see).25 F/F4 9/Times-Bold@0 SF .558 -(ARITHMETIC EV)3.058 F(ALU)-1.215 E(A-)-.54 E(TION)180 441.6 Q F0(abo) +(va)-.25 G .558(luation \(see).25 F/F4 9/Times-Bold@0 SF .557 +(ARITHMETIC EV)3.058 F(ALU)-1.215 E(A-)-.54 E(TION)180 631.2 Q F0(abo) 2.25 E -.15(ve)-.15 G 2.5(\)i).15 G 2.5(sp)-2.5 G(erformed when the v) --2.5 E(ariable is assigned a v)-.25 E(alue.)-.25 E F1144 453.6 Q -F0 .91(When the v)27.52 F .909(ariable is assigned a v)-.25 F .909 +-2.5 E(ariable is assigned a v)-.25 E(alue.)-.25 E F1144 643.2 Q +F0 .909(When the v)180 643.2 R .909(ariable is assigned a v)-.25 F .909 (alue, all upper)-.25 F .909(-case characters are con)-.2 F -.15(ve)-.4 -G .909(rted to lo).15 F(wer)-.25 E(-)-.2 E 2.5(case. The)180 465.6 R -(upper)2.5 E(-case attrib)-.2 E(ute is disabled.)-.2 E F1144 477.6 -Q F0(Gi)24.74 E 1.619 -.15(ve e)-.25 H(ach).15 E F2(name)3.819 E F0(the) -3.819 E F2(namer)3.819 E(ef)-.37 E F0(attrib)3.819 E 1.319 +G .91(rted to lo).15 F(wer)-.25 E(-)-.2 E 2.5(case. The)180 655.2 R +(upper)2.5 E(-case attrib)-.2 E(ute is disabled.)-.2 E F1144 667.2 +Q F0(Gi)180 667.2 Q 1.62 -.15(ve e)-.25 H(ach).15 E F2(name)3.82 E F0 +(the)3.82 E F2(namer)3.819 E(ef)-.37 E F0(attrib)3.819 E 1.319 (ute, making it a name reference to another v)-.2 F(ariable.)-.25 E -1.033(That other v)180 489.6 R 1.033(ariable is de\214ned by the v)-.25 -F 1.033(alue of)-.25 F F2(name)3.533 E F0 6.033(.A)C 1.033 -(ll references and assignments to)-6.033 F F2(name)180 501.6 Q F0 4.032 -(,e)C 1.532(xcept for changing the)-4.182 F F14.032 E F0(attrib) -4.032 E 1.532(ute itself, are performed on the v)-.2 F 1.533 -(ariable refer)-.25 F(-)-.2 E(enced by)180 513.6 Q F2(name)2.5 E F0 1.1 --.55('s v)D 2.5(alue. The).3 F F12.5 E F0(attrib)2.5 E -(ute cannot be applied to array v)-.2 E(ariables.)-.25 E F1144 -525.6 Q F0(Mak)25.86 E(e)-.1 E F2(name)5.047 E F0 5.047(sr)C(eadonly) --5.047 E 7.547(.T)-.65 G 2.546(hese names cannot then be assigned v) --7.547 F 2.546(alues by subsequent)-.25 F -(assignment statements or unset.)180 537.6 Q F1144 549.6 Q F0(Gi) -26.97 E .729 -.15(ve e)-.25 H(ach).15 E F2(name)2.929 E F0(the)2.929 E -F2(tr)2.929 E(ace)-.15 E F0(attrib)2.929 E 2.929(ute. T)-.2 F .429 -(raced functions inherit the)-.35 F F1(DEB)2.929 E(UG)-.1 E F0(and)2.93 -E F1(RETURN)2.93 E F0(traps from the calling shell.)180 561.6 Q -(The trace attrib)5 E(ute has no special meaning for v)-.2 E(ariables.) --.25 E F1144 573.6 Q F0 .91(When the v)24.74 F .909 +1.518(That other v)180 679.2 R 1.518(ariable is de\214ned by the v)-.25 +F 1.519(alue of)-.25 F F2(name)4.019 E F0 6.519(.A)C 1.519 +(ll references, assignments, and)-6.519 F(attrib)180 691.2 Q .227 +(ute modi\214cations to)-.2 F F2(name)2.726 E F0 2.726(,e)C .226 +(xcept those using or changing the)-2.876 F F12.726 E F0(attrib) +2.726 E .226(ute itself, are)-.2 F .808(performed on the v)180 703.2 R +.808(ariable referenced by)-.25 F F2(name)3.308 E F0 1.908 -.55('s v)D +3.308(alue. The).3 F .809(nameref attrib)3.309 F .809(ute cannot be)-.2 +F(applied to array v)180 715.2 Q(ariables.)-.25 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(58)192.055 E 0 Cg EP +%%Page: 59 59 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF144 84 Q F0(Mak)180 84 Q(e)-.1 E/F2 10/Times-Italic@0 SF(name) +5.047 E F0 5.047(sr)C(eadonly)-5.047 E 7.547(.T)-.65 G 2.546 +(hese names cannot then be assigned v)-7.547 F 2.546 +(alues by subsequent)-.25 F(assignment statements or unset.)180 96 Q F1 +144 108 Q F0(Gi)180 108 Q .729 -.15(ve e)-.25 H(ach).15 E F2(name) +2.929 E F0(the)2.929 E F2(tr)2.929 E(ace)-.15 E F0(attrib)2.929 E 2.929 +(ute. T)-.2 F .429(raced functions inherit the)-.35 F F1(DEB)2.929 E(UG) +-.1 E F0(and)2.93 E F1(RETURN)2.93 E F0(traps from the calling shell.) +180 120 Q(The trace attrib)5 E(ute has no special meaning for v)-.2 E +(ariables.)-.25 E F1144 132 Q F0 .91(When the v)180 132 R .909 (ariable is assigned a v)-.25 F .909(alue, all lo)-.25 F(wer)-.25 E .909 (-case characters are con)-.2 F -.15(ve)-.4 G .909(rted to upper).15 F -(-)-.2 E 2.5(case. The)180 585.6 R(lo)2.5 E(wer)-.25 E(-case attrib)-.2 -E(ute is disabled.)-.2 E F1144 597.6 Q F0(Mark)25.3 E F2(name)2.5 +(-)-.2 E 2.5(case. The)180 144 R(lo)2.5 E(wer)-.25 E(-case attrib)-.2 E +(ute is disabled.)-.2 E F1144 156 Q F0(Mark)180 156 Q F2(name)2.5 E F0 2.5(sf)C(or e)-2.5 E(xport to subsequent commands via the en)-.15 E -(vironment.)-.4 E .12(Using `+' instead of `\255' turns of)144 614.4 R +(vironment.)-.4 E .12(Using `+' instead of `\255' turns of)144 172.8 R 2.62(ft)-.25 G .12(he attrib)-2.62 F .121(ute instead, with the e)-.2 F .121(xceptions that)-.15 F F1(+a)2.621 E F0 .121(may not be used)2.621 F -.645(to destro)144 626.4 R 3.145(ya)-.1 G 3.145(na)-3.145 G .645(rray v) +.645(to destro)144 184.8 R 3.145(ya)-.1 G 3.145(na)-3.145 G .645(rray v) -3.145 F .645(ariable and)-.25 F F1(+r)3.145 E F0 .645(will not remo) 3.145 F .945 -.15(ve t)-.15 H .645(he readonly attrib).15 F 3.144 -(ute. When)-.2 F .644(used in a func-)3.144 F(tion,)144 638.4 Q F1 +(ute. When)-.2 F .644(used in a func-)3.144 F(tion,)144 196.8 Q F1 (declar)2.835 E(e)-.18 E F0(and)2.835 E F1(typeset)2.835 E F0(mak)2.835 E 2.835(ee)-.1 G(ach)-2.835 E F2(name)2.835 E F0 .335 (local, as with the)2.835 F F1(local)2.835 E F0 .335 (command, unless the)2.835 F F12.835 E F0(option)2.835 E 1.283 -(is supplied.)144 650.4 R 1.283(If a v)6.283 F 1.283 +(is supplied.)144 208.8 R 1.283(If a v)6.283 F 1.283 (ariable name is follo)-.25 F 1.283(wed by =)-.25 F F2(value)A F0 3.783 (,t)C 1.283(he v)-3.783 F 1.283(alue of the v)-.25 F 1.282 (ariable is set to)-.25 F F2(value)3.782 E F0(.)A .926(When using)144 -662.4 R F13.426 E F0(or)3.426 E F13.426 E F0 .927 +220.8 R F13.426 E F0(or)3.426 E F13.426 E F0 .927 (and the compound assignment syntax to create array v)3.426 F .927 -(ariables, additional)-.25 F(attrib)144 674.4 Q .592(utes do not tak)-.2 +(ariables, additional)-.25 F(attrib)144 232.8 Q .592(utes do not tak)-.2 F 3.092(ee)-.1 G -.25(ff)-3.092 G .592 (ect until subsequent assignments.).25 F .592(The return v)5.592 F .592 (alue is 0 unless an in)-.25 F -.25(va)-.4 G(lid).25 E .429 (option is encountered, an attempt is made to de\214ne a function using) -144 686.4 R/F5 10/Courier@0 SF .429(\255f foo=bar)2.929 F F0 2.929(,a)C +144 244.8 R/F3 10/Courier@0 SF .429(\255f foo=bar)2.929 F F0 2.929(,a)C 2.929(na)-2.929 G .429(ttempt is)-2.929 F .063(made to assign a v)144 -698.4 R .063(alue to a readonly v)-.25 F .062 +256.8 R .063(alue to a readonly v)-.25 F .062 (ariable, an attempt is made to assign a v)-.25 F .062 (alue to an array v)-.25 F(ari-)-.25 E .102 -(able without using the compound assignment syntax \(see)144 710.4 R F1 +(able without using the compound assignment syntax \(see)144 268.8 R F1 (Arrays)2.602 E F0(abo)2.602 E -.15(ve)-.15 G .102(\), one of the).15 F -F2(names)2.602 E F0 .102(is not a)2.602 F -.25(va)144 722.4 S .172 +F2(names)2.602 E F0 .102(is not a)2.602 F -.25(va)144 280.8 S .172 (lid shell v).25 F .171(ariable name, an attempt is made to turn of)-.25 F 2.671(fr)-.25 G .171(eadonly status for a readonly v)-2.671 F .171 -(ariable, an)-.25 F(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(56) -190.95 E 0 Cg EP -%%Page: 57 57 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .96(attempt is made to turn of)144 84 R 3.46(fa)-.25 G .96 -(rray status for an array v)-3.46 F .96 -(ariable, or an attempt is made to display a)-.25 F(non-e)144 96 Q -(xistent function with)-.15 E/F1 10/Times-Bold@0 SF2.5 E F0(.)A F1 -(dirs [\255clpv] [+)108 112.8 Q/F2 10/Times-Italic@0 SF(n)A F1 2.5(][)C --2.5 E F2(n)A F1(])A F0 -.4(Wi)144 124.8 S .329 +(ariable, an)-.25 F .96(attempt is made to turn of)144 292.8 R 3.46(fa) +-.25 G .96(rray status for an array v)-3.46 F .96 +(ariable, or an attempt is made to display a)-.25 F(non-e)144 304.8 Q +(xistent function with)-.15 E F12.5 E F0(.)A F1 +(dirs [\255clpv] [+)108 321.6 Q F2(n)A F1 2.5(][)C-2.5 E F2(n)A F1 +(])A F0 -.4(Wi)144 333.6 S .329 (thout options, displays the list of currently remembered directories.) .4 F .328(The def)5.328 F .328(ault display is on a)-.1 F 1.238 -(single line with directory names separated by spaces.)144 136.8 R 1.238 -(Directories are added to the list with the)6.238 F F1(pushd)144 148.8 Q -F0(command; the)2.5 E F1(popd)2.5 E F0(command remo)2.5 E -.15(ve)-.15 G -2.5(se).15 G(ntries from the list.)-2.5 E F1144 160.8 Q F0 -(Clears the directory stack by deleting all of the entries.)25.86 E F1 -144 172.8 Q F0 .882 -(Produces a listing using full pathnames; the def)27.52 F .881 +(single line with directory names separated by spaces.)144 345.6 R 1.238 +(Directories are added to the list with the)6.238 F F1(pushd)144 357.6 Q +F0 2.003(command; the)4.504 F F1(popd)4.503 E F0 2.003(command remo) +4.503 F -.15(ve)-.15 G 4.503(se).15 G 2.003(ntries from the list.)-4.503 +F 2.003(The current directory is)7.003 F(al)144 369.6 Q -.1(wa)-.1 G +(ys the \214rst directory in the stack.).1 E F1144 381.6 Q F0 +(Clears the directory stack by deleting all of the entries.)180 381.6 Q +F1144 393.6 Q F0 .881 +(Produces a listing using full pathnames; the def)180 393.6 R .882 (ault listing format uses a tilde to denote)-.1 F(the home directory)180 -184.8 Q(.)-.65 E F1144 196.8 Q F0 -(Print the directory stack with one entry per line.)24.74 E F1144 -208.8 Q F0 .272(Print the directory stack with one entry per line, pre\ -\214xing each entry with its inde)25.3 F 2.773(xi)-.15 G 2.773(nt)-2.773 -G(he)-2.773 E(stack.)180 220.8 Q F1(+)144 232.8 Q F2(n)A F0 1.565 -(Displays the)25.3 F F2(n)4.065 E F0 1.565 -(th entry counting from the left of the list sho)B 1.564(wn by)-.25 F F1 -(dirs)4.064 E F0 1.564(when in)4.064 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E -(without options, starting with zero.)180 244.8 Q F1144 256.8 Q F2 -(n)A F0 1.194(Displays the)25.3 F F2(n)3.694 E F0 1.194 +405.6 Q(.)-.65 E F1144 417.6 Q F0 +(Print the directory stack with one entry per line.)180 417.6 Q F1 +144 429.6 Q F0 .273(Print the directory stack with one entry per line, \ +pre\214xing each entry with its inde)180 429.6 R 2.772(xi)-.15 G 2.772 +(nt)-2.772 G(he)-2.772 E(stack.)180 441.6 Q F1(+)144 453.6 Q F2(n)A F0 +1.564(Displays the)180 453.6 R F2(n)4.064 E F0 1.565 +(th entry counting from the left of the list sho)B 1.565(wn by)-.25 F F1 +(dirs)4.065 E F0 1.565(when in)4.065 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E +(without options, starting with zero.)180 465.6 Q F1144 477.6 Q F2 +(n)A F0 1.194(Displays the)180 477.6 R F2(n)3.694 E F0 1.194 (th entry counting from the right of the list sho)B 1.194(wn by)-.25 F F1(dirs)3.694 E F0 1.194(when in)3.694 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E -(without options, starting with zero.)180 268.8 Q .258(The return v)144 -285.6 R .258(alue is 0 unless an in)-.25 F -.25(va)-.4 G .258 +(without options, starting with zero.)180 489.6 Q .257(The return v)144 +506.4 R .258(alue is 0 unless an in)-.25 F -.25(va)-.4 G .258 (lid option is supplied or).25 F F2(n)2.758 E F0(inde)2.758 E -.15(xe) -.15 G 2.758(sb).15 G -.15(ey)-2.758 G .258(ond the end of the direc-) -.15 F(tory stack.)144 297.6 Q F1(diso)108 314.4 Q(wn)-.1 E F0([)2.5 E F1 +.15 F(tory stack.)144 518.4 Q F1(diso)108 535.2 Q(wn)-.1 E F0([)2.5 E F1 (\255ar)A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(jobspec)-2.5 E F0 -(...])2.5 E -.4(Wi)144 326.4 S .121(thout options, remo).4 F .422 -.15 -(ve e)-.15 H(ach).15 E F2(jobspec)4.362 E F0 .122 -(from the table of acti)2.932 F .422 -.15(ve j)-.25 H 2.622(obs. If).15 -F F2(jobspec)4.362 E F0 .122(is not present, and)2.932 F .096 -(neither the)144 338.4 R F12.596 E F0 .096(nor the)2.596 F F1 -2.596 E F0 .096(option is supplied, the)2.596 F F2(curr)2.596 E +(... |)2.5 E F2(pid)2.5 E F0(... ])2.5 E -.4(Wi)144 547.2 S .122 +(thout options, remo).4 F .422 -.15(ve e)-.15 H(ach).15 E F2(jobspec) +4.362 E F0 .122(from the table of acti)2.932 F .422 -.15(ve j)-.25 H +2.622(obs. If).15 F F2(jobspec)4.362 E F0 .121(is not present, and)2.932 +F .096(neither the)144 559.2 R F12.596 E F0 .096(nor the)2.596 F +F12.596 E F0 .096(option is supplied, the)2.596 F F2(curr)2.596 E .096(ent job)-.37 F F0 .096(is used.)2.596 F .096(If the)5.096 F F1 2.596 E F0 .096(option is gi)2.596 F -.15(ve)-.25 G .096(n, each) -.15 F F2(jobspec)144 350.4 Q F0 .672(is not remo)3.482 F -.15(ve)-.15 G -3.172(df).15 G .672(rom the table, b)-3.172 F .672(ut is mark)-.2 F .672 -(ed so that)-.1 F/F3 9/Times-Bold@0 SF(SIGHUP)3.172 E F0 .673 -(is not sent to the job if the)2.922 F .962(shell recei)144 362.4 R -.15 -(ve)-.25 G 3.462(sa).15 G F3(SIGHUP)A/F4 9/Times-Roman@0 SF(.)A F0 .962 +.15 F F2(jobspec)145.74 571.2 Q F0 .586(is not remo)3.396 F -.15(ve)-.15 +G 3.086(df).15 G .585(rom the table, b)-3.086 F .585(ut is mark)-.2 F +.585(ed so that)-.1 F/F4 9/Times-Bold@0 SF(SIGHUP)3.085 E F0 .585 +(is not sent to the job if the)2.835 F .962(shell recei)144 583.2 R -.15 +(ve)-.25 G 3.462(sa).15 G F4(SIGHUP)A/F5 9/Times-Roman@0 SF(.)A F0 .962 (If no)5.462 F F2(jobspec)5.202 E F0 .962(is supplied, the)3.772 F F1 3.462 E F0 .962(option means to remo)3.462 F 1.262 -.15(ve o)-.15 -H 3.462(rm).15 G .962(ark all)-3.462 F 1.358(jobs; the)144 374.4 R F1 -3.858 E F0 1.358(option without a)3.858 F F2(jobspec)5.598 E F0 -(ar)4.169 E 1.359(gument restricts operation to running jobs.)-.18 F -1.359(The return)6.359 F -.25(va)144 386.4 S(lue is 0 unless a).25 E F2 +H 3.462(rm).15 G .962(ark all)-3.462 F 1.359(jobs; the)144 595.2 R F1 +3.859 E F0 1.359(option without a)3.859 F F2(jobspec)5.599 E F0 +(ar)4.169 E 1.358(gument restricts operation to running jobs.)-.18 F +1.358(The return)6.358 F -.25(va)144 607.2 S(lue is 0 unless a).25 E F2 (jobspec)4.24 E F0(does not specify a v)2.81 E(alid job)-.25 E(.)-.4 E -F1(echo)108 403.2 Q F0([)2.5 E F1(\255neE)A F0 2.5(][)C F2(ar)-2.5 E(g) --.37 E F0(...])2.5 E .425(Output the)144 415.2 R F2(ar)2.925 E(g)-.37 E -F0 .424(s, separated by spaces, follo)B .424(wed by a ne)-.25 F 2.924 -(wline. The)-.25 F .424(return status is 0 unless a write)2.924 F .307 -(error occurs.)144 427.2 R(If)5.307 E F12.807 E F0 .307 -(is speci\214ed, the trailing ne)2.807 F .308(wline is suppressed.)-.25 -F .308(If the)5.308 F F12.808 E F0 .308(option is gi)2.808 F -.15 -(ve)-.25 G .308(n, inter).15 F(-)-.2 E 1.349(pretation of the follo)144 -439.2 R 1.348(wing backslash-escaped characters is enabled.)-.25 F(The) -6.348 E F13.848 E F0 1.348(option disables the)3.848 F 1.054 -(interpretation of these escape characters, e)144 451.2 R -.15(ve)-.25 G -3.555(no).15 G 3.555(ns)-3.555 G 1.055(ystems where the)-3.555 F 3.555 -(ya)-.15 G 1.055(re interpreted by def)-3.555 F(ault.)-.1 E(The)144 -463.2 Q F1(xpg_echo)3.459 E F0 .959 -(shell option may be used to dynamically determine whether or not)3.459 -F F1(echo)3.458 E F0 -.15(ex)3.458 G(pands).15 E .715 -(these escape characters by def)144 475.2 R(ault.)-.1 E F1(echo)5.715 E -F0 .716(does not interpret)3.215 F F13.216 E F0 .716 -(to mean the end of options.)3.216 F F1(echo)5.716 E F0 -(interprets the follo)144 487.2 Q(wing escape sequences:)-.25 E F1(\\a) -144 499.2 Q F0(alert \(bell\))28.22 E F1(\\b)144 511.2 Q F0(backspace) -27.66 E F1(\\c)144 523.2 Q F0(suppress further output)28.78 E F1(\\e)144 -535.2 Q(\\E)144 547.2 Q F0(an escape character)26.55 E F1(\\f)144 559.2 -Q F0(form feed)29.89 E F1(\\n)144 571.2 Q F0(ne)27.66 E 2.5(wl)-.25 G -(ine)-2.5 E F1(\\r)144 583.2 Q F0(carriage return)28.78 E F1(\\t)144 -595.2 Q F0(horizontal tab)29.89 E F1(\\v)144 607.2 Q F0 -.15(ve)28.22 G -(rtical tab).15 E F1(\\\\)144 619.2 Q F0(backslash)30.44 E F1(\\0)144 -631.2 Q F2(nnn)A F0(the eight-bit character whose v)13.22 E -(alue is the octal v)-.25 E(alue)-.25 E F2(nnn)2.5 E F0 -(\(zero to three octal digits\))2.5 E F1(\\x)144 643.2 Q F2(HH)A F0 -(the eight-bit character whose v)13.78 E(alue is the he)-.25 E -(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0(\(one or tw)2.5 E 2.5(oh) --.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1(\\u)144 655.2 Q F2(HHHH)A F0 -1.507(the Unicode \(ISO/IEC 10646\) character whose v)180 667.2 R 1.506 -(alue is the he)-.25 F 1.506(xadecimal v)-.15 F(alue)-.25 E F2(HHHH) -4.006 E F0(\(one to four he)180 679.2 Q 2.5(xd)-.15 G(igits\))-2.5 E F1 -(\\U)144 691.2 Q F2(HHHHHHHH)A F0 .547 -(the Unicode \(ISO/IEC 10646\) character whose v)180 703.2 R .547 -(alue is the he)-.25 F .548(xadecimal v)-.15 F(alue)-.25 E F2(HHHHH-) -3.048 E(HHH)180 715.2 Q F0(\(one to eight he)2.5 E 2.5(xd)-.15 G -(igits\))-2.5 E(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(57)190.95 -E 0 Cg EP -%%Page: 58 58 +F1(echo)108 624 Q F0([)2.5 E F1(\255neE)A F0 2.5(][)C F2(ar)-2.5 E(g) +-.37 E F0(...])2.5 E .424(Output the)144 636 R F2(ar)2.924 E(g)-.37 E F0 +.424(s, separated by spaces, follo)B .424(wed by a ne)-.25 F 2.924 +(wline. The)-.25 F .424(return status is 0 unless a write)2.924 F .308 +(error occurs.)144 648 R(If)5.308 E F12.808 E F0 .308 +(is speci\214ed, the trailing ne)2.808 F .308(wline is suppressed.)-.25 +F .307(If the)5.308 F F12.807 E F0 .307(option is gi)2.807 F -.15 +(ve)-.25 G .307(n, inter).15 F(-)-.2 E 1.348(pretation of the follo)144 +660 R 1.348(wing backslash-escaped characters is enabled.)-.25 F(The) +6.348 E F13.849 E F0 1.349(option disables the)3.849 F 1.055 +(interpretation of these escape characters, e)144 672 R -.15(ve)-.25 G +3.555(no).15 G 3.555(ns)-3.555 G 1.055(ystems where the)-3.555 F 3.554 +(ya)-.15 G 1.054(re interpreted by def)-3.554 F(ault.)-.1 E(The)144 684 +Q F1(xpg_echo)3.458 E F0 .959 +(shell option may be used to dynamically determine whether or not)3.458 +F F1(echo)3.459 E F0 -.15(ex)3.459 G(pands).15 E .716 +(these escape characters by def)144 696 R(ault.)-.1 E F1(echo)5.716 E F0 +.716(does not interpret)3.216 F F13.216 E F0 .715 +(to mean the end of options.)3.216 F F1(echo)5.715 E F0 +(interprets the follo)144 708 Q(wing escape sequences:)-.25 E +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(59)192.055 E 0 Cg EP +%%Page: 60 60 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(enable)108 84 Q F0([)2.5 E F1A F0 2.5 -(][)C F1(\255dnps)-2.5 E F0 2.5(][)C F1-2.5 E/F2 10/Times-Italic@0 -SF(\214lename)2.5 E F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E .278 -(Enable and disable b)144 96 R .278(uiltin shell commands.)-.2 F .278 -(Disabling a b)5.278 F .278(uiltin allo)-.2 F .278 -(ws a disk command which has)-.25 F .833(the same name as a shell b)144 -108 R .834(uiltin to be e)-.2 F -.15(xe)-.15 G .834 -(cuted without specifying a full pathname, e).15 F -.15(ve)-.25 G 3.334 -(nt).15 G(hough)-3.334 E .99(the shell normally searches for b)144 120 R -.989(uiltins before disk commands.)-.2 F(If)5.989 E F13.489 E F0 -.989(is used, each)3.489 F F2(name)3.489 E F0 .989(is dis-)3.489 F 1.581 -(abled; otherwise,)144 132 R F2(names)4.082 E F0 1.582(are enabled.) +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(\\a)144 84 Q F0(alert \(bell\))180 84 Q F1(\\b)144 96 Q F0(backspace) +180 96 Q F1(\\c)144 108 Q F0(suppress further output)180 108 Q F1(\\e) +144 120 Q(\\E)144 132 Q F0(an escape character)180 132 Q F1(\\f)144 144 +Q F0(form feed)180 144 Q F1(\\n)144 156 Q F0(ne)180 156 Q 2.5(wl)-.25 G +(ine)-2.5 E F1(\\r)144 168 Q F0(carriage return)180 168 Q F1(\\t)144 180 +Q F0(horizontal tab)180 180 Q F1(\\v)144 192 Q F0 -.15(ve)180 192 S +(rtical tab).15 E F1(\\\\)144 204 Q F0(backslash)180 204 Q F1(\\0)144 +216 Q/F2 10/Times-Italic@0 SF(nnn)A F0(the eight-bit character whose v) +180 216 Q(alue is the octal v)-.25 E(alue)-.25 E F2(nnn)2.5 E F0 +(\(zero to three octal digits\))2.5 E F1(\\x)144 228 Q F2(HH)A F0 +(the eight-bit character whose v)180 228 Q(alue is the he)-.25 E +(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0(\(one or tw)2.5 E 2.5(oh) +-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1(\\u)144 240 Q F2(HHHH)A F0 +1.506(the Unicode \(ISO/IEC 10646\) character whose v)180 252 R 1.507 +(alue is the he)-.25 F 1.507(xadecimal v)-.15 F(alue)-.25 E F2(HHHH) +4.007 E F0(\(one to four he)180 264 Q 2.5(xd)-.15 G(igits\))-2.5 E F1 +(\\U)144 276 Q F2(HHHHHHHH)A F0 .548 +(the Unicode \(ISO/IEC 10646\) character whose v)180 288 R .547 +(alue is the he)-.25 F .547(xadecimal v)-.15 F(alue)-.25 E F2(HHHHH-) +3.047 E(HHH)180 300 Q F0(\(one to eight he)2.5 E 2.5(xd)-.15 G(igits\)) +-2.5 E F1(enable)108 316.8 Q F0([)2.5 E F1A F0 2.5(][)C F1 +(\255dnps)-2.5 E F0 2.5(][)C F1-2.5 E F2(\214lename)2.5 E F0 2.5 +(][)C F2(name)-2.5 E F0(...])2.5 E .277(Enable and disable b)144 328.8 R +.278(uiltin shell commands.)-.2 F .278(Disabling a b)5.278 F .278 +(uiltin allo)-.2 F .278(ws a disk command which has)-.25 F .834 +(the same name as a shell b)144 340.8 R .834(uiltin to be e)-.2 F -.15 +(xe)-.15 G .834(cuted without specifying a full pathname, e).15 F -.15 +(ve)-.25 G 3.333(nt).15 G(hough)-3.333 E .989 +(the shell normally searches for b)144 352.8 R .989 +(uiltins before disk commands.)-.2 F(If)5.989 E F13.489 E F0 .99 +(is used, each)3.49 F F2(name)3.49 E F0 .99(is dis-)3.49 F 1.582 +(abled; otherwise,)144 364.8 R F2(names)4.082 E F0 1.582(are enabled.) 4.082 F -.15(Fo)6.582 G 4.082(re).15 G 1.582(xample, to use the)-4.232 F F1(test)4.082 E F0 1.582(binary found via the)4.082 F/F3 9/Times-Bold@0 -SF -.666(PA)4.082 G(TH)-.189 E F0 .081(instead of the shell b)144 144 R -.081(uiltin v)-.2 F .081(ersion, run)-.15 F/F4 10/Courier@0 SF .081 -(enable -n test)2.581 F F0 5.081(.T)C(he)-5.081 E F12.58 E F0 .08 -(option means to load the ne)2.58 F(w)-.25 E -.2(bu)144 156 S 1.524 -(iltin command).2 F F2(name)4.384 E F0 1.524(from shared object)4.204 F +SF -.666(PA)4.081 G(TH)-.189 E F0 .08(instead of the shell b)144 376.8 R +.08(uiltin v)-.2 F .08(ersion, run)-.15 F/F4 10/Courier@0 SF .081 +(enable -n test)2.58 F F0 5.081(.T)C(he)-5.081 E F12.581 E F0 .081 +(option means to load the ne)2.581 F(w)-.25 E -.2(bu)144 388.8 S 1.525 +(iltin command).2 F F2(name)4.385 E F0 1.524(from shared object)4.204 F F2(\214lename)4.024 E F0 4.024(,o).18 G 4.024(ns)-4.024 G 1.524 -(ystems that support dynamic loading.)-4.024 F(The)144 168 Q F1 -2.867 E F0 .367(option will delete a b)2.867 F .367(uiltin pre)-.2 F -.367(viously loaded with)-.25 F F12.866 E F0 5.366(.I)C 2.866(fn) --5.366 G(o)-2.866 E F2(name)2.866 E F0(ar)2.866 E .366(guments are gi) --.18 F -.15(ve)-.25 G .366(n, or).15 F .398(if the)144 180 R F1 -2.898 E F0 .399(option is supplied, a list of shell b)2.899 F .399 +(ystems that support dynamic loading.)-4.024 F(The)144 400.8 Q F1 +2.866 E F0 .366(option will delete a b)2.866 F .366(uiltin pre)-.2 F +.366(viously loaded with)-.25 F F12.867 E F0 5.367(.I)C 2.867(fn) +-5.367 G(o)-2.867 E F2(name)2.867 E F0(ar)2.867 E .367(guments are gi) +-.18 F -.15(ve)-.25 G .367(n, or).15 F .399(if the)144 412.8 R F1 +2.899 E F0 .399(option is supplied, a list of shell b)2.899 F .399 (uiltins is printed.)-.2 F -.4(Wi)5.399 G .399(th no other option ar).4 -F .399(guments, the)-.18 F .099(list consists of all enabled shell b)144 -192 R 2.598(uiltins. If)-.2 F F12.598 E F0 .098 -(is supplied, only disabled b)2.598 F .098(uiltins are printed.)-.2 F -(If)5.098 E F12.598 E F0 1.916 -(is supplied, the list printed includes all b)144 204 R 1.916 -(uiltins, with an indication of whether or not each is)-.2 F 2.879 -(enabled. If)144 216 R F12.879 E F0 .379 -(is supplied, the output is restricted to the POSIX)2.879 F F2(special) -2.879 E F0 -.2(bu)2.878 G 2.878(iltins. The).2 F .378(return v)2.878 F -(alue)-.25 E .994(is 0 unless a)144 228 R F2(name)3.854 E F0 .994 -(is not a shell b)3.674 F .994(uiltin or there is an error loading a ne) --.2 F 3.495(wb)-.25 G .995(uiltin from a shared)-3.695 F(object.)144 240 -Q F1 -2.3 -.15(ev a)108 256.8 T(l).15 E F0([)2.5 E F2(ar)A(g)-.37 E F0 -(...])2.5 E(The)144 268.8 Q F2(ar)3.171 E(g)-.37 E F0 3.171(sa)C .671 -(re read and concatenated together into a single command.)-3.171 F .67 -(This command is then read)5.67 F .495(and e)144 280.8 R -.15(xe)-.15 G +F .398(guments, the)-.18 F .098(list consists of all enabled shell b)144 +424.8 R 2.598(uiltins. If)-.2 F F12.598 E F0 .098 +(is supplied, only disabled b)2.598 F .099(uiltins are printed.)-.2 F +(If)5.099 E F12.599 E F0 1.917 +(is supplied, the list printed includes all b)144 436.8 R 1.916 +(uiltins, with an indication of whether or not each is)-.2 F 2.878 +(enabled. If)144 448.8 R F12.878 E F0 .379 +(is supplied, the output is restricted to the POSIX)2.878 F F2(special) +2.879 E F0 -.2(bu)2.879 G 2.879(iltins. The).2 F .379(return v)2.879 F +(alue)-.25 E .995(is 0 unless a)144 460.8 R F2(name)3.855 E F0 .994 +(is not a shell b)3.675 F .994(uiltin or there is an error loading a ne) +-.2 F 3.494(wb)-.25 G .994(uiltin from a shared)-3.694 F(object.)144 +472.8 Q F1 -2.3 -.15(ev a)108 489.6 T(l).15 E F0([)2.5 E F2(ar)A(g)-.37 +E F0(...])2.5 E(The)144 501.6 Q F2(ar)3.17 E(g)-.37 E F0 3.17(sa)C .671 +(re read and concatenated together into a single command.)-3.17 F .671 +(This command is then read)5.671 F .495(and e)144 513.6 R -.15(xe)-.15 G .495(cuted by the shell, and its e).15 F .495 (xit status is returned as the v)-.15 F .495(alue of)-.25 F F1 -2.3 -.15 (ev a)2.995 H(l).15 E F0 5.495(.I)C 2.995(ft)-5.495 G .495(here are no) --2.995 F F2(ar)2.995 E(gs)-.37 E F0(,).27 E(or only null ar)144 292.8 Q +-2.995 F F2(ar)2.995 E(gs)-.37 E F0(,).27 E(or only null ar)144 525.6 Q (guments,)-.18 E F1 -2.3 -.15(ev a)2.5 H(l).15 E F0(returns 0.)2.5 E F1 -(exec)108 309.6 Q F0([)2.5 E F1(\255cl)A F0 2.5(][)C F1-2.5 E F2 +(exec)108 542.4 Q F0([)2.5 E F1(\255cl)A F0 2.5(][)C F1-2.5 E F2 (name)2.5 E F0 2.5(][)C F2(command)-2.5 E F0([)2.5 E F2(ar)A(guments) --.37 E F0(]])A(If)144 321.6 Q F2(command)3.006 E F0 .306 -(is speci\214ed, it replaces the shell.)3.576 F .305(No ne)5.305 F 2.805 -(wp)-.25 G .305(rocess is created.)-2.805 F(The)5.305 E F2(ar)3.135 E -(guments)-.37 E F0(become)3.075 E .176(the ar)144 333.6 R .176 +-.37 E F0(]])A(If)144 554.4 Q F2(command)3.005 E F0 .305 +(is speci\214ed, it replaces the shell.)3.575 F .305(No ne)5.305 F 2.805 +(wp)-.25 G .306(rocess is created.)-2.805 F(The)5.306 E F2(ar)3.136 E +(guments)-.37 E F0(become)3.076 E .177(the ar)144 566.4 R .177 (guments to)-.18 F F2(command)2.676 E F0 5.176(.I)C 2.676(ft)-5.176 G (he)-2.676 E F12.676 E F0 .176 -(option is supplied, the shell places a dash at the be)2.676 F .177 -(ginning of)-.15 F .5(the zeroth ar)144 345.6 R .5(gument passed to)-.18 -F F2(command)3 E F0 5.499(.T).77 G .499(his is what)-5.499 F F2(lo)2.999 -E(gin)-.1 E F0 .499(\(1\) does.).24 F(The)5.499 E F12.999 E F0 -.499(option causes)2.999 F F2(com-)3.199 E(mand)144 357.6 Q F0 .638 -(to be e)3.908 F -.15(xe)-.15 G .638(cuted with an empty en).15 F 3.138 +(option is supplied, the shell places a dash at the be)2.676 F .176 +(ginning of)-.15 F .499(the zeroth ar)144 578.4 R .499(gument passed to) +-.18 F F2(command)2.999 E F0 5.499(.T).77 G .499(his is what)-5.499 F F2 +(lo)2.999 E(gin)-.1 E F0 .499(\(1\) does.).24 F(The)5.5 E F13 E F0 +.5(option causes)3 F F2(com-)3.2 E(mand)144 590.4 Q F0 .639(to be e) +3.909 F -.15(xe)-.15 G .638(cuted with an empty en).15 F 3.138 (vironment. If)-.4 F F13.138 E F0 .638 -(is supplied, the shell passes)3.138 F F2(name)3.499 E F0 .639(as the) -3.319 F 1.078(zeroth ar)144 369.6 R 1.077(gument to the e)-.18 F -.15 +(is supplied, the shell passes)3.138 F F2(name)3.498 E F0 .638(as the) +3.318 F 1.077(zeroth ar)144 602.4 R 1.077(gument to the e)-.18 F -.15 (xe)-.15 G 1.077(cuted command.).15 F(If)6.077 E F2(command)3.777 E F0 1.077(cannot be e)4.347 F -.15(xe)-.15 G 1.077(cuted for some reason, a) -.15 F(non-interacti)144 381.6 Q .876 -.15(ve s)-.25 H .576(hell e).15 F -.576(xits, unless the)-.15 F F1(execfail)3.076 E F0 .577 -(shell option is enabled.)3.077 F .577(In that case, it returns f)5.577 -F(ail-)-.1 E 2.505(ure. An)144 393.6 R(interacti)2.505 E .305 -.15(ve s) +.15 F(non-interacti)144 614.4 Q .877 -.15(ve s)-.25 H .577(hell e).15 F +.577(xits, unless the)-.15 F F1(execfail)3.077 E F0 .577 +(shell option is enabled.)3.077 F .576(In that case, it returns f)5.577 +F(ail-)-.1 E 2.505(ure. An)144 626.4 R(interacti)2.505 E .305 -.15(ve s) -.25 H .005(hell returns f).15 F .005(ailure if the \214le cannot be e) -.1 F -.15(xe)-.15 G 2.505(cuted. If).15 F F2(command)2.705 E F0 .005 -(is not speci\214ed,)3.275 F(an)144 405.6 Q 3.036(yr)-.15 G .536 -(edirections tak)-3.036 F 3.036(ee)-.1 G -.25(ff)-3.036 G .536 +(is not speci\214ed,)3.275 F(an)144 638.4 Q 3.037(yr)-.15 G .537 +(edirections tak)-3.037 F 3.036(ee)-.1 G -.25(ff)-3.036 G .536 (ect in the current shell, and the return status is 0.).25 F .536 -(If there is a redirection)5.536 F(error)144 417.6 Q 2.5(,t)-.4 G -(he return status is 1.)-2.5 E F1(exit)108 434.4 Q F0([)2.5 E F2(n)A F0 -6.29(]C)C .096(ause the shell to e)-6.29 F .096(xit with a status of) --.15 F F2(n)2.596 E F0 5.096(.I)C(f)-5.096 E F2(n)2.955 E F0 .095 -(is omitted, the e)2.835 F .095(xit status is that of the last command) --.15 F -.15(exe)144 446.4 S 2.5(cuted. A).15 F(trap on)2.5 E F3(EXIT)2.5 +(If there is a redirection)5.536 F(error)144 650.4 Q 2.5(,t)-.4 G +(he return status is 1.)-2.5 E F1(exit)108 667.2 Q F0([)2.5 E F2(n)A F0 +(])A .095(Cause the shell to e)144 667.2 R .095(xit with a status of) +-.15 F F2(n)2.595 E F0 5.095(.I)C(f)-5.095 E F2(n)2.955 E F0 .096 +(is omitted, the e)2.835 F .096(xit status is that of the last command) +-.15 F -.15(exe)144 679.2 S 2.5(cuted. A).15 F(trap on)2.5 E F3(EXIT)2.5 E F0(is e)2.25 E -.15(xe)-.15 G(cuted before the shell terminates.).15 E -F1(export)108 463.2 Q F0([)2.5 E F1(\255fn)A F0 2.5(][).833 G F2(name) --2.5 E F0([=)A F2(wor)A(d)-.37 E F0(]] ...)A F1(export \255p)108 475.2 Q -F0 .256(The supplied)144 487.2 R F2(names)3.117 E F0 .257(are mark)3.027 -F .257(ed for automatic e)-.1 F .257(xport to the en)-.15 F .257 -(vironment of subsequently e)-.4 F -.15(xe)-.15 G(cuted).15 E 2.627 -(commands. If)144 499.2 R(the)2.627 E F12.627 E F0 .127 +F1(export)108 696 Q F0([)2.5 E F1(\255fn)A F0 2.5(][).833 G F2(name)-2.5 +E F0([=)A F2(wor)A(d)-.37 E F0(]] ...)A(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(60)192.055 E 0 Cg EP +%%Page: 61 61 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(export \255p)108 84 Q F0 .257(The supplied)144 96 R/F2 10 +/Times-Italic@0 SF(names)3.117 E F0 .257(are mark)3.027 F .257 +(ed for automatic e)-.1 F .257(xport to the en)-.15 F .257 +(vironment of subsequently e)-.4 F -.15(xe)-.15 G(cuted).15 E 2.626 +(commands. If)144 108 R(the)2.626 E F12.626 E F0 .127 (option is gi)2.627 F -.15(ve)-.25 G .127(n, the).15 F F2(names)2.987 E F0 .127(refer to functions.)2.897 F .127(If no)5.127 F F2(names)2.987 E -F0 .127(are gi)2.897 F -.15(ve)-.25 G .126(n, or if the).15 F F1 -144 511.2 Q F0 .048(option is supplied, a list of names of all e)2.547 F +F0 .127(are gi)2.897 F -.15(ve)-.25 G .127(n, or if the).15 F F1 +144 120 Q F0 .048(option is supplied, a list of names of all e)2.548 F .048(xported v)-.15 F .048(ariables is printed.)-.25 F(The)5.048 E F1 -2.548 E F0 .048(option causes the)2.548 F -.15(ex)144 523.2 S -1.447(port property to be remo).15 F -.15(ve)-.15 G 3.947(df).15 G 1.447 +2.547 E F0 .047(option causes the)2.547 F -.15(ex)144 132 S 1.446 +(port property to be remo).15 F -.15(ve)-.15 G 3.947(df).15 G 1.447 (rom each)-3.947 F F2(name)3.947 E F0 6.447(.I)C 3.947(fav)-6.447 G 1.447(ariable name is follo)-4.197 F 1.447(wed by =)-.25 F F2(wor)A(d) --.37 E F0 3.946(,t)C(he)-3.946 E -.25(va)144 535.2 S .741(lue of the v) -.25 F .741(ariable is set to)-.25 F F2(wor)3.241 E(d)-.37 E F0(.)A F1 -(export)5.741 E F0 .742(returns an e)3.242 F .742 -(xit status of 0 unless an in)-.15 F -.25(va)-.4 G .742(lid option is) -.25 F .032(encountered, one of the)144 547.2 R F2(names)2.532 E F0 .032 -(is not a v)2.532 F .032(alid shell v)-.25 F .032(ariable name, or)-.25 -F F12.531 E F0 .031(is supplied with a)2.531 F F2(name)2.891 E F0 -(that)2.711 E(is not a function.)144 559.2 Q F1(fc)108 576 Q F0([)2.5 E +-.37 E F0 3.947(,t)C(he)-3.947 E -.25(va)144 144 S .742(lue of the v).25 +F .742(ariable is set to)-.25 F F2(wor)3.242 E(d)-.37 E F0(.)A F1 +(export)5.742 E F0 .742(returns an e)3.242 F .741 +(xit status of 0 unless an in)-.15 F -.25(va)-.4 G .741(lid option is) +.25 F .031(encountered, one of the)144 156 R F2(names)2.531 E F0 .031 +(is not a v)2.531 F .032(alid shell v)-.25 F .032(ariable name, or)-.25 +F F12.532 E F0 .032(is supplied with a)2.532 F F2(name)2.892 E F0 +(that)2.712 E(is not a function.)144 168 Q F1(fc)108 184.8 Q F0([)2.5 E F1A F2(ename)2.5 E F0 2.5(][)C F1(\255lnr)-2.5 E F0 2.5(][)C F2 <8c72>-2.5 E(st)-.1 E F0 2.5(][)C F2(last)-2.5 E F0(])A F1(fc \255s)108 -588 Q F0([)2.5 E F2(pat)A F0(=)A F2 -.37(re)C(p).37 E F0 2.5(][)C F2 -(cmd)-2.5 E F0(])A .431 -(The \214rst form selects a range of commands from)144 600 R F2<8c72> -4.842 E(st)-.1 E F0(to)3.612 E F2(last)3.022 E F0 .432 -(from the history list and displays or)3.612 F .142(edits and re-e)144 -612 R -.15(xe)-.15 G .142(cutes them.).15 F F2 -.45(Fi)5.141 G -.1(rs) +196.8 Q F0([)2.5 E F2(pat)A F0(=)A F2 -.37(re)C(p).37 E F0 2.5(][)C F2 +(cmd)-2.5 E F0(])A .432 +(The \214rst form selects a range of commands from)144 208.8 R F2<8c72> +4.842 E(st)-.1 E F0(to)3.612 E F2(last)3.022 E F0 .431 +(from the history list and displays or)3.612 F .141(edits and re-e)144 +220.8 R -.15(xe)-.15 G .141(cutes them.).15 F F2 -.45(Fi)5.141 G -.1(rs) .45 G(t).1 E F0(and)3.321 E F2(last)2.731 E F0 .141 (may be speci\214ed as a string \(to locate the last command)3.321 F(be) -144 624 Q .31(ginning with that string\) or as a number \(an inde)-.15 F -2.811(xi)-.15 G .311(nto the history list, where a ne)-2.811 F -.05(ga) --.15 G(ti).05 E .611 -.15(ve n)-.25 H(umber).15 E .315(is used as an of) -144 636 R .315(fset from the current command number\).)-.25 F(If)5.315 E -F2(last)2.904 E F0 .314(is not speci\214ed it is set to the cur)3.494 F -(-)-.2 E .948(rent command for listing \(so that)144 648 R F4 .948 +144 232.8 Q .311(ginning with that string\) or as a number \(an inde) +-.15 F 2.811(xi)-.15 G .31(nto the history list, where a ne)-2.811 F +-.05(ga)-.15 G(ti).05 E .61 -.15(ve n)-.25 H(umber).15 E .314 +(is used as an of)144 244.8 R .314 +(fset from the current command number\).)-.25 F(If)5.314 E F2(last)2.905 +E F0 .315(is not speci\214ed it is set to the cur)3.495 F(-)-.2 E .949 +(rent command for listing \(so that)144 256.8 R/F3 10/Courier@0 SF .948 (fc \255l \25510)3.448 F F0 .948(prints the last 10 commands\) and to) -3.448 F F2<8c72>5.359 E(st)-.1 E F0(other)4.129 E(-)-.2 E 2.5(wise. If) -144 660 R F2<8c72>4.41 E(st)-.1 E F0 +3.448 F F2<8c72>5.358 E(st)-.1 E F0(other)4.128 E(-)-.2 E 2.5(wise. If) +144 268.8 R F2<8c72>4.41 E(st)-.1 E F0 (is not speci\214ed it is set to the pre)3.18 E -(vious command for editing and \25516 for listing.)-.25 E(The)144 684 Q -F12.522 E F0 .022 +(vious command for editing and \25516 for listing.)-.25 E(The)144 292.8 +Q F12.522 E F0 .022 (option suppresses the command numbers when listing.)2.522 F(The)5.022 E F12.522 E F0 .022(option re)2.522 F -.15(ve)-.25 G .022 -(rses the order of).15 F .438(the commands.)144 696 R .438(If the)5.438 -F F12.938 E F0 .438(option is gi)2.938 F -.15(ve)-.25 G .438 +(rses the order of).15 F .438(the commands.)144 304.8 R .438(If the) +5.438 F F12.938 E F0 .438(option is gi)2.938 F -.15(ve)-.25 G .438 (n, the commands are listed on standard output.).15 F(Otherwise,)5.438 E -.335(the editor gi)144 708 R -.15(ve)-.25 G 2.835(nb).15 G(y)-2.835 E F2 -(ename)3.025 E F0 .335(is in)3.015 F -.2(vo)-.4 G -.1(ke).2 G 2.835(do) -.1 G 2.835(na\214)-2.835 G .335(le containing those commands.)-2.835 F -(If)5.334 E F2(ename)3.024 E F0 .334(is not gi)3.014 F -.15(ve)-.25 G -(n,).15 E 1.668(the v)144 720 R 1.668(alue of the)-.25 F F3(FCEDIT)4.168 -E F0 -.25(va)3.918 G 1.668(riable is used, and the v).25 F 1.669 -(alue of)-.25 F F3(EDIT)4.169 E(OR)-.162 E F0(if)3.919 E F3(FCEDIT)4.169 -E F0 1.669(is not set.)3.919 F(If)6.669 E(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(58)190.95 E 0 Cg EP -%%Page: 59 59 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .187(neither v)144 84 R .187(ariable is set,)-.25 F/F1 10 -/Times-Italic@0 SF(vi)4.353 E F0 .187(is used.)4.353 F .187 -(When editing is complete, the edited commands are echoed and)5.187 F --.15(exe)144 96 S(cuted.).15 E .788(In the second form,)144 120 R F1 -(command)3.288 E F0 .788(is re-e)3.288 F -.15(xe)-.15 G .788 -(cuted after each instance of).15 F F1(pat)3.288 E F0 .788 -(is replaced by)3.288 F F1 -.37(re)3.289 G(p).37 E F0(.)A F1(Com-)5.789 -E(mand)144 132 Q F0 .347(is intepreted the same as)2.847 F F1<8c72>2.847 -E(st)-.1 E F0(abo)2.847 E -.15(ve)-.15 G 5.347(.A).15 G .347 -(useful alias to use with this is)-2.5 F/F2 10/Courier@0 SF .346 -(r='fc \255s')2.847 F F0 2.846(,s)C 2.846(ot)-2.846 G(hat)-2.846 E -(typing)144 144 Q F2 7.165(rc)3.665 G(c)-7.165 E F0 1.165 -(runs the last command be)3.665 F 1.166(ginning with)-.15 F F2(cc)3.666 -E F0 1.166(and typing)3.666 F F2(r)3.666 E F0(re-e)3.666 E -.15(xe)-.15 -G 1.166(cutes the last com-).15 F(mand.)144 156 Q .142 -(If the \214rst form is used, the return v)144 180 R .142 -(alue is 0 unless an in)-.25 F -.25(va)-.4 G .142 -(lid option is encountered or).25 F F1<8c72>4.552 E(st)-.1 E F0(or)3.322 -E F1(last)2.732 E F0 .454(specify history lines out of range.)144 192 R -.454(If the)5.454 F/F3 10/Times-Bold@0 SF2.954 E F0 .454 -(option is supplied, the return v)2.954 F .455(alue is the v)-.25 F .455 -(alue of the)-.25 F .788(last command e)144 204 R -.15(xe)-.15 G .788 -(cuted or f).15 F .787 +.334(the editor gi)144 316.8 R -.15(ve)-.25 G 2.834(nb).15 G(y)-2.834 E +F2(ename)3.024 E F0 .335(is in)3.014 F -.2(vo)-.4 G -.1(ke).2 G 2.835 +(do).1 G 2.835(na\214)-2.835 G .335(le containing those commands.)-2.835 +F(If)5.335 E F2(ename)3.025 E F0 .335(is not gi)3.015 F -.15(ve)-.25 G +(n,).15 E .631(the v)144 328.8 R .631(alue of the)-.25 F/F4 9 +/Times-Bold@0 SF(FCEDIT)3.131 E F0 -.25(va)2.881 G .631 +(riable is used, and the v).25 F .631(alue of)-.25 F F4(EDIT)3.131 E(OR) +-.162 E F0(if)2.881 E F4(FCEDIT)3.13 E F0 .63(is not set.)2.88 F .63 +(If nei-)5.63 F .95(ther v)144 340.8 R .95(ariable is set,)-.25 F F2(vi) +5.116 E F0 .95(is used.)5.116 F .951 +(When editing is complete, the edited commands are echoed and)5.95 F +-.15(exe)144 352.8 S(cuted.).15 E .789(In the second form,)144 376.8 R +F2(command)3.288 E F0 .788(is re-e)3.288 F -.15(xe)-.15 G .788 +(cuted after each instance of).15 F F2(pat)3.288 E F0 .788 +(is replaced by)3.288 F F2 -.37(re)3.288 G(p).37 E F0(.)A F2(Com-)5.788 +E(mand)144 388.8 Q F0 .346(is intepreted the same as)2.846 F F2<8c72> +2.847 E(st)-.1 E F0(abo)2.847 E -.15(ve)-.15 G 5.347(.A).15 G .347 +(useful alias to use with this is)-2.5 F F3 .347(r='fc \255s')2.847 F F0 +2.847(,s)C 2.847(ot)-2.847 G(hat)-2.847 E(typing)144 400.8 Q F3 7.166 +(rc)3.666 G(c)-7.166 E F0 1.166(runs the last command be)3.666 F 1.166 +(ginning with)-.15 F F3(cc)3.666 E F0 1.165(and typing)3.666 F F3(r) +3.665 E F0(re-e)3.665 E -.15(xe)-.15 G 1.165(cutes the last com-).15 F +(mand.)144 412.8 Q .142(If the \214rst form is used, the return v)144 +436.8 R .142(alue is 0 unless an in)-.25 F -.25(va)-.4 G .142 +(lid option is encountered or).25 F F2<8c72>4.552 E(st)-.1 E F0(or)3.322 +E F2(last)2.732 E F0 .455(specify history lines out of range.)144 448.8 +R .454(If the)5.454 F F12.954 E F0 .454 +(option is supplied, the return v)2.954 F .454(alue is the v)-.25 F .454 +(alue of the)-.25 F .787(last command e)144 460.8 R -.15(xe)-.15 G .787 +(cuted or f).15 F .788 (ailure if an error occurs with the temporary \214le of commands.)-.1 F -.787(If the)5.787 F 1.135 +.788(If the)5.788 F 1.136 (second form is used, the return status is that of the command re-e)144 -216 R -.15(xe)-.15 G 1.136(cuted, unless).15 F F1(cmd)3.836 E F0 1.136 -(does not)4.406 F(specify a v)144 228 Q -(alid history line, in which case)-.25 E F3(fc)2.5 E F0(returns f)2.5 E -(ailure.)-.1 E F3(fg)108 244.8 Q F0([)2.5 E F1(jobspec)A F0(])A(Resume) -144 256.8 Q F1(jobspec)5.654 E F0 1.413(in the fore)4.224 F 1.413 +472.8 R -.15(xe)-.15 G 1.135(cuted, unless).15 F F2(cmd)3.835 E F0 1.135 +(does not)4.405 F(specify a v)144 484.8 Q +(alid history line, in which case)-.25 E F1(fc)2.5 E F0(returns f)2.5 E +(ailure.)-.1 E F1(fg)108 501.6 Q F0([)2.5 E F2(jobspec)A F0(])A(Resume) +144 513.6 Q F2(jobspec)5.653 E F0 1.413(in the fore)4.223 F 1.413 (ground, and mak)-.15 F 3.913(ei)-.1 G 3.913(tt)-3.913 G 1.413 -(he current job)-3.913 F 6.413(.I)-.4 G(f)-6.413 E F1(jobspec)5.653 E F0 -1.413(is not present, the)4.223 F(shell')144 268.8 Q 3.116(sn)-.55 G -.616(otion of the)-3.116 F F1(curr)3.116 E .616(ent job)-.37 F F0 .617 -(is used.)3.116 F .617(The return v)5.617 F .617 -(alue is that of the command placed into the)-.25 F(fore)144 280.8 Q -.363(ground, or f)-.15 F .363 -(ailure if run when job control is disabled or)-.1 F 2.862(,w)-.4 G .362 -(hen run with job control enabled, if)-2.862 F F1(jobspec)145.74 292.8 Q -F0 .004(does not specify a v)2.814 F .004(alid job or)-.25 F F1(jobspec) -4.244 E F0 .004(speci\214es a job that w)2.814 F .004 -(as started without job control.)-.1 F F3(getopts)108 309.6 Q F1 -(optstring name)2.5 E F0([)2.5 E F1(ar)A(gs)-.37 E F0(])A F3(getopts)144 -321.6 Q F0 .793 -(is used by shell procedures to parse positional parameters.)3.294 F F1 +(he current job)-3.913 F 6.413(.I)-.4 G(f)-6.413 E F2(jobspec)5.653 E F0 +1.414(is not present, the)4.223 F(shell')144 525.6 Q 3.117(sn)-.55 G +.617(otion of the)-3.117 F F2(curr)3.117 E .617(ent job)-.37 F F0 .617 +(is used.)3.117 F .617(The return v)5.617 F .616 +(alue is that of the command placed into the)-.25 F(fore)144 537.6 Q +.362(ground, or f)-.15 F .362 +(ailure if run when job control is disabled or)-.1 F 2.862(,w)-.4 G .363 +(hen run with job control enabled, if)-2.862 F F2(jobspec)145.74 549.6 Q +F0(does not specify a v)2.81 E(alid job or)-.25 E F2(jobspec)4.24 E F0 +(speci\214es a job that w)2.81 E(as started without job control.)-.1 E +F1(getopts)108 566.4 Q F2(optstring name)2.5 E F0([)2.5 E F2(ar)A(gs) +-.37 E F0(])A F1(getopts)144 578.4 Q F0 .793 +(is used by shell procedures to parse positional parameters.)3.294 F F2 (optstring)6.023 E F0 .793(contains the option)3.513 F .149 -(characters to be recognized; if a character is follo)144 333.6 R .15 +(characters to be recognized; if a character is follo)144 590.4 R .15 (wed by a colon, the option is e)-.25 F .15(xpected to ha)-.15 F .45 --.15(ve a)-.2 H(n).15 E(ar)144 345.6 Q .579 +-.15(ve a)-.2 H(n).15 E(ar)144 602.4 Q .579 (gument, which should be separated from it by white space.)-.18 F .578 (The colon and question mark char)5.579 F(-)-.2 E 1.665 -(acters may not be used as option characters.)144 357.6 R 1.665 -(Each time it is in)6.665 F -.2(vo)-.4 G -.1(ke).2 G(d,).1 E F3(getopts) +(acters may not be used as option characters.)144 614.4 R 1.665 +(Each time it is in)6.665 F -.2(vo)-.4 G -.1(ke).2 G(d,).1 E F1(getopts) 4.165 E F0 1.665(places the ne)4.165 F(xt)-.15 E .797 -(option in the shell v)144 369.6 R(ariable)-.25 E F1(name)3.297 E F0 -3.297(,i).18 G(nitializing)-3.297 E F1(name)3.657 E F0 .797 +(option in the shell v)144 626.4 R(ariable)-.25 E F2(name)3.297 E F0 +3.297(,i).18 G(nitializing)-3.297 E F2(name)3.657 E F0 .797 (if it does not e)3.477 F .796(xist, and the inde)-.15 F 3.296(xo)-.15 G -3.296(ft)-3.296 G .796(he ne)-3.296 F(xt)-.15 E(ar)144 381.6 Q .085 -(gument to be processed into the v)-.18 F(ariable)-.25 E/F4 9 -/Times-Bold@0 SF(OPTIND)2.585 E/F5 9/Times-Roman@0 SF(.)A F4(OPTIND) -4.585 E F0 .085(is initialized to 1 each time the shell)2.335 F .846 -(or a shell script is in)144 393.6 R -.2(vo)-.4 G -.1(ke).2 G 3.345 -(d. When).1 F .845(an option requires an ar)3.345 F(gument,)-.18 E F3 +3.296(ft)-3.296 G .796(he ne)-3.296 F(xt)-.15 E(ar)144 638.4 Q .085 +(gument to be processed into the v)-.18 F(ariable)-.25 E F4(OPTIND)2.585 +E/F5 9/Times-Roman@0 SF(.)A F4(OPTIND)4.585 E F0 .085 +(is initialized to 1 each time the shell)2.335 F .846 +(or a shell script is in)144 650.4 R -.2(vo)-.4 G -.1(ke).2 G 3.345 +(d. When).1 F .845(an option requires an ar)3.345 F(gument,)-.18 E F1 (getopts)3.345 E F0 .845(places that ar)3.345 F(gument)-.18 E .803 -(into the v)144 405.6 R(ariable)-.25 E F4(OPT)3.303 E(ARG)-.81 E F5(.)A +(into the v)144 662.4 R(ariable)-.25 E F4(OPT)3.303 E(ARG)-.81 E F5(.)A F0 .803(The shell does not reset)5.303 F F4(OPTIND)3.303 E F0 .804 (automatically; it must be manually)3.054 F .294 -(reset between multiple calls to)144 417.6 R F3(getopts)2.793 E F0 .293 +(reset between multiple calls to)144 674.4 R F1(getopts)2.793 E F0 .293 (within the same shell in)2.793 F -.2(vo)-.4 G .293(cation if a ne).2 F -2.793(ws)-.25 G .293(et of parameters)-2.793 F(is to be used.)144 429.6 -Q 2.043(When the end of options is encountered,)144 453.6 R F3(getopts) +2.793(ws)-.25 G .293(et of parameters)-2.793 F(is to be used.)144 686.4 +Q 2.043(When the end of options is encountered,)144 710.4 R F1(getopts) 4.543 E F0 -.15(ex)4.543 G 2.043(its with a return v).15 F 2.044 -(alue greater than zero.)-.25 F F4(OPTIND)144 465.6 Q F0 +(alue greater than zero.)-.25 F F4(OPTIND)144 722.4 Q F0 (is set to the inde)2.25 E 2.5(xo)-.15 G 2.5(ft)-2.5 G -(he \214rst non-option ar)-2.5 E(gument, and)-.18 E F1(name)2.5 E F0 -(is set to ?.)2.5 E F3(getopts)144 489.6 Q F0 2.393 +(he \214rst non-option ar)-2.5 E(gument, and)-.18 E F2(name)2.5 E F0 +(is set to ?.)2.5 E(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(61) +192.055 E 0 Cg EP +%%Page: 62 62 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(getopts)144 84 Q F0 2.393 (normally parses the positional parameters, b)4.893 F 2.392 (ut if more ar)-.2 F 2.392(guments are gi)-.18 F -.15(ve)-.25 G 4.892 -(ni).15 G(n)-4.892 E F1(ar)4.892 E(gs)-.37 E F0(,).27 E F3(getopts)144 -501.6 Q F0(parses those instead.)2.5 E F3(getopts)144 525.6 Q F0 1.165 -(can report errors in tw)3.665 F 3.665(ow)-.1 G 3.665(ays. If)-3.765 F -1.165(the \214rst character of)3.665 F F1(optstring)3.895 E F0 1.166 -(is a colon,)3.886 F F1(silent)4.006 E F0(error)4.346 E 1.071 -(reporting is used.)144 537.6 R 1.071 +(ni).15 G(n)-4.892 E/F2 10/Times-Italic@0 SF(ar)4.892 E(gs)-.37 E F0(,) +.27 E F1(getopts)144 96 Q F0(parses those instead.)2.5 E F1(getopts)144 +120 Q F0 1.165(can report errors in tw)3.665 F 3.665(ow)-.1 G 3.665 +(ays. If)-3.765 F 1.165(the \214rst character of)3.665 F F2(optstring) +3.895 E F0 1.166(is a colon,)3.886 F F2(silent)4.006 E F0(error)4.346 E +1.071(reporting is used.)144 132 R 1.071 (In normal operation, diagnostic messages are printed when in)6.071 F --.25(va)-.4 G 1.07(lid options or).25 F .393(missing option ar)144 549.6 -R .393(guments are encountered.)-.18 F .394(If the v)5.394 F(ariable) --.25 E F4(OPTERR)2.894 E F0 .394(is set to 0, no error messages)2.644 F -(will be displayed, e)144 561.6 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft) --2.5 G(he \214rst character of)-2.5 E F1(optstring)2.73 E F0 -(is not a colon.)2.72 E .667(If an in)144 585.6 R -.25(va)-.4 G .667 -(lid option is seen,).25 F F3(getopts)3.167 E F0 .667(places ? into) -3.167 F F1(name)3.527 E F0 .666 +-.25(va)-.4 G 1.07(lid options or).25 F .393(missing option ar)144 144 R +.393(guments are encountered.)-.18 F .394(If the v)5.394 F(ariable)-.25 +E/F3 9/Times-Bold@0 SF(OPTERR)2.894 E F0 .394 +(is set to 0, no error messages)2.644 F(will be displayed, e)144 156 Q +-.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he \214rst character of)-2.5 E +F2(optstring)2.73 E F0(is not a colon.)2.72 E .667(If an in)144 180 R +-.25(va)-.4 G .667(lid option is seen,).25 F F1(getopts)3.167 E F0 .667 +(places ? into)3.167 F F2(name)3.527 E F0 .666 (and, if not silent, prints an error message)3.347 F .399(and unsets)144 -597.6 R F4(OPT)2.899 E(ARG)-.81 E F5(.)A F0(If)4.899 E F3(getopts)2.899 -E F0 .399(is silent, the option character found is placed in)2.899 F F4 -(OPT)2.899 E(ARG)-.81 E F0 .4(and no)2.65 F -(diagnostic message is printed.)144 609.6 Q 1.242(If a required ar)144 -633.6 R 1.242(gument is not found, and)-.18 F F3(getopts)3.741 E F0 -1.241(is not silent, a question mark \()3.741 F F3(?).833 E F0 3.741 -(\)i).833 G 3.741(sp)-3.741 G 1.241(laced in)-3.741 F F1(name)144 645.6 -Q F0(,).18 E F4(OPT)2.734 E(ARG)-.81 E F0 .234 -(is unset, and a diagnostic message is printed.)2.484 F(If)5.234 E F3 -(getopts)2.734 E F0 .235(is silent, then a colon \()2.734 F F3(:).833 E -F0(\)).833 E(is placed in)144 657.6 Q F1(name)2.86 E F0(and)2.68 E F4 -(OPT)2.5 E(ARG)-.81 E F0(is set to the option character found.)2.25 E F3 -(getopts)144 681.6 Q F0 .902 +192 R F3(OPT)2.899 E(ARG)-.81 E/F4 9/Times-Roman@0 SF(.)A F0(If)4.899 E +F1(getopts)2.899 E F0 .399 +(is silent, the option character found is placed in)2.899 F F3(OPT)2.899 +E(ARG)-.81 E F0 .4(and no)2.65 F(diagnostic message is printed.)144 204 +Q 1.242(If a required ar)144 228 R 1.242(gument is not found, and)-.18 F +F1(getopts)3.741 E F0 1.241(is not silent, a question mark \()3.741 F F1 +(?).833 E F0 3.741(\)i).833 G 3.741(sp)-3.741 G 1.241(laced in)-3.741 F +F2(name)144 240 Q F0(,).18 E F3(OPT)2.734 E(ARG)-.81 E F0 .234 +(is unset, and a diagnostic message is printed.)2.484 F(If)5.234 E F1 +(getopts)2.734 E F0 .235(is silent, then a colon \()2.734 F F1(:).833 E +F0(\)).833 E(is placed in)144 252 Q F2(name)2.86 E F0(and)2.68 E F3(OPT) +2.5 E(ARG)-.81 E F0(is set to the option character found.)2.25 E F1 +(getopts)144 276 Q F0 .902 (returns true if an option, speci\214ed or unspeci\214ed, is found.) 3.402 F .902(It returns f)5.902 F .901(alse if the end of)-.1 F -(options is encountered or an error occurs.)144 693.6 Q(GNU Bash 4.3)72 -768 Q(2014 February 2)141.79 E(59)190.95 E 0 Cg EP -%%Page: 60 60 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(hash)108 84 Q F0([)2.5 E F1(\255lr)A F0 2.5 -(][)C F1-2.5 E/F2 10/Times-Italic@0 SF(\214lename)2.5 E F0 2.5(][) -C F1(\255dt)-2.5 E F0 2.5(][)C F2(name)-2.5 E F0(])A .858(Each time)144 -96 R F1(hash)3.358 E F0 .858(is in)3.358 F -.2(vo)-.4 G -.1(ke).2 G .858 -(d, the full pathname of the command).1 F F2(name)3.718 E F0 .858 -(is determined by searching)3.538 F .956(the directories in)144 108 R F1 -($P)3.456 E -.95(AT)-.74 G(H).95 E F0 .956(and remembered.)3.456 F(An) -5.956 E 3.456(yp)-.15 G(re)-3.456 E .956 -(viously-remembered pathname is discarded.)-.25 F .242(If the)144 120 R -F12.742 E F0 .243 +(options is encountered or an error occurs.)144 288 Q F1(hash)108 304.8 +Q F0([)2.5 E F1(\255lr)A F0 2.5(][)C F1-2.5 E F2(\214lename)2.5 E +F0 2.5(][)C F1(\255dt)-2.5 E F0 2.5(][)C F2(name)-2.5 E F0(])A .858 +(Each time)144 316.8 R F1(hash)3.358 E F0 .858(is in)3.358 F -.2(vo)-.4 +G -.1(ke).2 G .858(d, the full pathname of the command).1 F F2(name) +3.718 E F0 .858(is determined by searching)3.538 F .956 +(the directories in)144 328.8 R F1($P)3.456 E -.95(AT)-.74 G(H).95 E F0 +.956(and remembered.)3.456 F(An)5.956 E 3.456(yp)-.15 G(re)-3.456 E .956 +(viously-remembered pathname is discarded.)-.25 F .242(If the)144 340.8 +R F12.742 E F0 .243 (option is supplied, no path search is performed, and)2.742 F F2 (\214lename)4.653 E F0 .243(is used as the full \214lename)2.923 F 1.712 -(of the command.)144 132 R(The)6.712 E F14.212 E F0 1.711 +(of the command.)144 352.8 R(The)6.712 E F14.212 E F0 1.711 (option causes the shell to for)4.212 F 1.711 (get all remembered locations.)-.18 F(The)6.711 E F14.211 E F0 -.833(option causes the shell to for)144 144 R .833 +.833(option causes the shell to for)144 364.8 R .833 (get the remembered location of each)-.18 F F2(name)3.333 E F0 5.833(.I) C 3.333(ft)-5.833 G(he)-3.333 E F13.333 E F0 .833(option is sup-) -3.333 F .704(plied, the full pathname to which each)144 156 R F2(name) +3.333 F .704(plied, the full pathname to which each)144 376.8 R F2(name) 3.204 E F0 .703(corresponds is printed.)3.204 F .703(If multiple)5.703 F F2(name)3.203 E F0(ar)3.203 E(guments)-.18 E .795(are supplied with)144 -168 R F13.295 E F0 3.295(,t)C(he)-3.295 E F2(name)3.295 E F0 .795 -(is printed before the hashed full pathname.)3.295 F(The)5.795 E F1 +388.8 R F13.295 E F0 3.295(,t)C(he)-3.295 E F2(name)3.295 E F0 +.795(is printed before the hashed full pathname.)3.295 F(The)5.795 E F1 3.295 E F0 .795(option causes)3.295 F .934 -(output to be displayed in a format that may be reused as input.)144 180 -R .934(If no ar)5.934 F .934(guments are gi)-.18 F -.15(ve)-.25 G .934 -(n, or if).15 F(only)144 192 Q F12.821 E F0 .321 +(output to be displayed in a format that may be reused as input.)144 +400.8 R .934(If no ar)5.934 F .934(guments are gi)-.18 F -.15(ve)-.25 G +.934(n, or if).15 F(only)144 412.8 Q F12.821 E F0 .321 (is supplied, information about remembered commands is printed.)2.821 F -.322(The return status is true)5.322 F(unless a)144 204 Q F2(name)2.86 E -F0(is not found or an in)2.68 E -.25(va)-.4 G(lid option is supplied.) -.25 E F1(help)108 220.8 Q F0([)2.5 E F1(\255dms)A F0 2.5(][)C F2 +.322(The return status is true)5.322 F(unless a)144 424.8 Q F2(name)2.86 +E F0(is not found or an in)2.68 E -.25(va)-.4 G(lid option is supplied.) +.25 E F1(help)108 441.6 Q F0([)2.5 E F1(\255dms)A F0 2.5(][)C F2 (pattern)-2.5 E F0(])A .867(Display helpful information about b)144 -232.8 R .867(uiltin commands.)-.2 F(If)5.867 E F2(pattern)4.617 E F0 +453.6 R .867(uiltin commands.)-.2 F(If)5.867 E F2(pattern)4.617 E F0 .866(is speci\214ed,)3.607 F F1(help)3.366 E F0(gi)3.366 E -.15(ve)-.25 G 3.366(sd).15 G(etailed)-3.366 E .306(help on all commands matching)144 -244.8 R F2(pattern)2.806 E F0 2.807(;o).24 G .307 +465.6 R F2(pattern)2.806 E F0 2.807(;o).24 G .307 (therwise help for all the b)-2.807 F .307 -(uiltins and shell control struc-)-.2 F(tures is printed.)144 256.8 Q F1 -144 268.8 Q F0(Display a short description of each)24.74 E F2 -(pattern)2.5 E F1144 280.8 Q F0(Display the description of each) -21.97 E F2(pattern)2.5 E F0(in a manpage-lik)2.5 E 2.5(ef)-.1 G(ormat) --2.5 E F1144 292.8 Q F0 -(Display only a short usage synopsis for each)26.41 E F2(pattern)2.5 E -F0(The return status is 0 unless no command matches)144 309.6 Q F2 -(pattern)2.5 E F0(.).24 E F1(history [)108 326.4 Q F2(n)A F1(])A -(history \255c)108 338.4 Q(history \255d)108 350.4 Q F2(of)2.5 E(fset) --.18 E F1(history \255anrw)108 362.4 Q F0([)2.5 E F2(\214lename)A F0(])A -F1(history \255p)108 374.4 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A 2.5 -(g.)-.37 G(..)-2.5 E F0(])A F1(history \255s)108 386.4 Q F2(ar)2.5 E(g) +(uiltins and shell control struc-)-.2 F(tures is printed.)144 477.6 Q F1 +144 489.6 Q F0(Display a short description of each)180 489.6 Q F2 +(pattern)2.5 E F1144 501.6 Q F0(Display the description of each) +180 501.6 Q F2(pattern)2.5 E F0(in a manpage-lik)2.5 E 2.5(ef)-.1 G +(ormat)-2.5 E F1144 513.6 Q F0 +(Display only a short usage synopsis for each)180 513.6 Q F2(pattern)2.5 +E F0(The return status is 0 unless no command matches)144 530.4 Q F2 +(pattern)2.5 E F0(.).24 E F1(history [)108 547.2 Q F2(n)A F1(])A +(history \255c)108 559.2 Q(history \255d)108 571.2 Q F2(of)2.5 E(fset) +-.18 E F1(history \255anrw)108 583.2 Q F0([)2.5 E F2(\214lename)A F0(])A +F1(history \255p)108 595.2 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A 2.5 +(g.)-.37 G(..)-2.5 E F0(])A F1(history \255s)108 607.2 Q F2(ar)2.5 E(g) -.37 E F0([)2.5 E F2(ar)A 2.5(g.)-.37 G(..)-2.5 E F0(])A -.4(Wi)144 -398.4 S .752 +619.2 S .752 (th no options, display the command history list with line numbers.).4 F .752(Lines listed with a)5.752 F F1(*)3.251 E F0(ha)3.251 E -.15(ve)-.2 -G .38(been modi\214ed.)144 410.4 R .38(An ar)5.38 F .38(gument of)-.18 F +G .38(been modi\214ed.)144 631.2 R .38(An ar)5.38 F .38(gument of)-.18 F F2(n)3.24 E F0 .38(lists only the last)3.12 F F2(n)3.24 E F0 2.88 -(lines. If)3.12 F .38(the shell v)2.88 F(ariable)-.25 E/F3 9 -/Times-Bold@0 SF(HISTTIMEFOR-)2.881 E(MA)144 422.4 Q(T)-.855 E F0 .265 +(lines. If)3.12 F .38(the shell v)2.88 F(ariable)-.25 E F3(HISTTIMEFOR-) +2.881 E(MA)144 643.2 Q(T)-.855 E F0 .265 (is set and not null, it is used as a format string for)2.515 F F2 (strftime)2.764 E F0 .264(\(3\) to display the time stamp asso-)B 1.019 -(ciated with each displayed history entry)144 434.4 R 6.019(.N)-.65 G +(ciated with each displayed history entry)144 655.2 R 6.019(.N)-.65 G 3.519(oi)-6.019 G(nterv)-3.519 E 1.019 (ening blank is printed between the formatted)-.15 F .176 -(time stamp and the history line.)144 446.4 R(If)5.176 E F2(\214lename) +(time stamp and the history line.)144 667.2 R(If)5.176 E F2(\214lename) 2.676 E F0 .176 (is supplied, it is used as the name of the history \214le; if)2.676 F -(not, the v)144 458.4 Q(alue of)-.25 E F3(HISTFILE)2.5 E F0(is used.) +(not, the v)144 679.2 Q(alue of)-.25 E F3(HISTFILE)2.5 E F0(is used.) 2.25 E(Options, if supplied, ha)5 E .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F1144 470.4 Q F0 -(Clear the history list by deleting all the entries.)25.86 E F1144 -482.4 Q F2(of)2.5 E(fset)-.18 E F0(Delete the history entry at position) -180 494.4 Q F2(of)2.5 E(fset)-.18 E F0(.)A F1144 506.4 Q F0 .598 -(Append the `)25.3 F(`ne)-.74 E(w')-.25 E 3.098('h)-.74 G .598 -(istory lines \(history lines entered since the be)-3.098 F .599 -(ginning of the current)-.15 F F1(bash)180 518.4 Q F0 -(session\) to the history \214le.)2.5 E F1144 530.4 Q F0 .854(Rea\ -d the history lines not already read from the history \214le into the c\ -urrent history list.)24.74 F .772 -(These are lines appended to the history \214le since the be)180 542.4 R +(wing meanings:)-.25 E F1144 691.2 Q F0 +(Clear the history list by deleting all the entries.)180 691.2 Q F1 +144 703.2 Q F2(of)2.5 E(fset)-.18 E F0 +(Delete the history entry at position)180 715.2 Q F2(of)2.5 E(fset)-.18 +E F0(.)A(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(62)192.055 E 0 +Cg EP +%%Page: 63 63 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF144 84 Q F0 .564(Append the `)180 84 R(`ne)-.74 E(w')-.25 E +3.064('h)-.74 G .564(istory lines to the history \214le.)-3.064 F .565 +(These are history lines entered since)5.564 F(the be)180 96 Q +(ginning of the current)-.15 E F1(bash)2.5 E F0(session, b)2.5 E +(ut not already appended to the history \214le.)-.2 E F1144 108 Q +F0 .854(Read the history lines not already read from the history \214le\ + into the current history list.)180 108 R .772 +(These are lines appended to the history \214le since the be)180 120 R .773(ginning of the current)-.15 F F1(bash)3.273 E F0(ses-)3.273 E -(sion.)180 554.4 Q F1144 566.4 Q F0(Read the contents of the hist\ -ory \214le and append them to the current history list.)25.86 E F1 -144 578.4 Q F0(Write the current history list to the history \214le, o) -23.08 E -.15(ve)-.15 G(rwriting the history \214le').15 E 2.5(sc)-.55 G -(ontents.)-2.5 E F1144 590.4 Q F0 .626 -(Perform history substitution on the follo)24.74 F(wing)-.25 E F2(ar) -3.125 E(gs)-.37 E F0 .625(and display the result on the standard)3.125 F -2.975(output. Does)180 602.4 R .475 -(not store the results in the history list.)2.975 F(Each)5.475 E F2(ar) -2.975 E(g)-.37 E F0 .475(must be quoted to disable)2.975 F -(normal history e)180 614.4 Q(xpansion.)-.15 E F1144 626.4 Q F0 -.363(Store the)26.41 F F2(ar)3.193 E(gs)-.37 E F0 .363 +(sion.)180 132 Q F1144 144 Q F0(Read the contents of the history \ +\214le and append them to the current history list.)180 144 Q F1 +144 156 Q F0(Write the current history list to the history \214le, o)180 +156 Q -.15(ve)-.15 G(rwriting the history \214le').15 E 2.5(sc)-.55 G +(ontents.)-2.5 E F1144 168 Q F0 .626 +(Perform history substitution on the follo)180 168 R(wing)-.25 E/F2 10 +/Times-Italic@0 SF(ar)3.125 E(gs)-.37 E F0 .625 +(and display the result on the standard)3.125 F 2.975(output. Does)180 +180 R .475(not store the results in the history list.)2.975 F(Each)5.475 +E F2(ar)2.975 E(g)-.37 E F0 .475(must be quoted to disable)2.975 F +(normal history e)180 192 Q(xpansion.)-.15 E F1144 204 Q F0 .363 +(Store the)180 204 R F2(ar)3.193 E(gs)-.37 E F0 .363 (in the history list as a single entry)3.133 F 5.363(.T)-.65 G .362 -(he last command in the history list is)-5.363 F(remo)180 638.4 Q -.15 -(ve)-.15 G 2.5(db).15 G(efore the)-2.5 E F2(ar)2.83 E(gs)-.37 E F0 -(are added.)2.77 E .145(If the)144 655.2 R F3(HISTTIMEFORMA)2.645 E(T) --.855 E F0 -.25(va)2.395 G .145 +(he last command in the history list is)-5.363 F(remo)180 216 Q -.15(ve) +-.15 G 2.5(db).15 G(efore the)-2.5 E F2(ar)2.83 E(gs)-.37 E F0 +(are added.)2.77 E .145(If the)144 232.8 R/F3 9/Times-Bold@0 SF +(HISTTIMEFORMA)2.645 E(T)-.855 E F0 -.25(va)2.395 G .145 (riable is set, the time stamp information associated with each history) -.25 F .669(entry is written to the history \214le, mark)144 667.2 R .669 +.25 F .669(entry is written to the history \214le, mark)144 244.8 R .669 (ed with the history comment character)-.1 F 5.668(.W)-.55 G .668 -(hen the history)-5.668 F .955(\214le is read, lines be)144 679.2 R .956 +(hen the history)-5.668 F .955(\214le is read, lines be)144 256.8 R .956 (ginning with the history comment character follo)-.15 F .956 -(wed immediately by a digit)-.25 F .416 -(are interpreted as timestamps for the pre)144 691.2 R .416 -(vious history line.)-.25 F .416(The return v)5.416 F .415 -(alue is 0 unless an in)-.25 F -.25(va)-.4 G(lid).25 E .499(option is e\ -ncountered, an error occurs while reading or writing the history \214le\ -, an in)144 703.2 R -.25(va)-.4 G(lid).25 E F2(of)3 E(fset)-.18 E F0(is) -3 E(supplied as an ar)144 715.2 Q(gument to)-.18 E F12.5 E F0 2.5 -(,o)C 2.5(rt)-2.5 G(he history e)-2.5 E(xpansion supplied as an ar)-.15 -E(gument to)-.18 E F12.5 E F0 -.1(fa)2.5 G(ils.).1 E(GNU Bash 4.3) -72 768 Q(2014 February 2)141.79 E(60)190.95 E 0 Cg EP -%%Page: 61 61 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(jobs)108 84 Q F0([)2.5 E F1(\255lnprs)A F0 -2.5(][)C/F2 10/Times-Italic@0 SF(jobspec)A F0(... ])2.5 E F1(jobs \255x) -108 96 Q F2(command)2.5 E F0([)2.5 E F2(ar)2.5 E(gs)-.37 E F0(... ])2.5 -E(The \214rst form lists the acti)144 108 Q .3 -.15(ve j)-.25 H 2.5 -(obs. The).15 F(options ha)2.5 E .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F1144 120 Q F0 -(List process IDs in addition to the normal information.)27.52 E F1 -144 132 Q F0 .194(Display information only about jobs that ha) -24.74 F .494 -.15(ve c)-.2 H .193(hanged status since the user w).15 F -.193(as last noti-)-.1 F(\214ed of their status.)180 144 Q F1144 -156 Q F0(List only the process ID of the job')24.74 E 2.5(sp)-.55 G -(rocess group leader)-2.5 E(.)-.55 E F1144 168 Q F0 -(Display only running jobs.)25.86 E F1144 180 Q F0 -(Display only stopped jobs.)26.41 E(If)144 196.8 Q F2(jobspec)4.553 E F0 -.313(is gi)3.123 F -.15(ve)-.25 G .313 -(n, output is restricted to information about that job).15 F 5.314(.T) --.4 G .314(he return status is 0 unless)-5.314 F(an in)144 208.8 Q -.25 +(wed immediately by a digit)-.25 F 1.796 +(are interpreted as timestamps for the follo)144 268.8 R 1.795 +(wing history entry)-.25 F 6.795(.T)-.65 G 1.795(he return v)-6.795 F +1.795(alue is 0 unless an)-.25 F(in)144 280.8 Q -.25(va)-.4 G .768(lid \ +option is encountered, an error occurs while reading or writing the his\ +tory \214le, an in).25 F -.25(va)-.4 G(lid).25 E F2(of)144 292.8 Q(fset) +-.18 E F0 1.032(is supplied as an ar)3.532 F 1.031(gument to)-.18 F F1 +3.531 E F0 3.531(,o)C 3.531(rt)-3.531 G 1.031(he history e)-3.531 +F 1.031(xpansion supplied as an ar)-.15 F 1.031(gument to)-.18 F F1 +3.531 E F0 -.1(fa)144 304.8 S(ils.).1 E F1(jobs)108 321.6 Q F0([) +2.5 E F1(\255lnprs)A F0 2.5(][)C F2(jobspec)A F0(... ])2.5 E F1 +(jobs \255x)108 333.6 Q F2(command)2.5 E F0([)2.5 E F2(ar)2.5 E(gs)-.37 +E F0(... ])2.5 E(The \214rst form lists the acti)144 345.6 Q .3 -.15 +(ve j)-.25 H 2.5(obs. The).15 F(options ha)2.5 E .3 -.15(ve t)-.2 H +(he follo).15 E(wing meanings:)-.25 E F1144 357.6 Q F0 +(List process IDs in addition to the normal information.)180 357.6 Q F1 +144 369.6 Q F0 .193(Display information only about jobs that ha) +180 369.6 R .494 -.15(ve c)-.2 H .194(hanged status since the user w).15 +F .194(as last noti-)-.1 F(\214ed of their status.)180 381.6 Q F1 +144 393.6 Q F0(List only the process ID of the job')180 393.6 Q 2.5(sp) +-.55 G(rocess group leader)-2.5 E(.)-.55 E F1144 405.6 Q F0 +(Display only running jobs.)180 405.6 Q F1144 417.6 Q F0 +(Display only stopped jobs.)180 417.6 Q(If)144 434.4 Q F2(jobspec)4.554 +E F0 .314(is gi)3.124 F -.15(ve)-.25 G .314 +(n, output is restricted to information about that job).15 F 5.313(.T) +-.4 G .313(he return status is 0 unless)-5.313 F(an in)144 446.4 Q -.25 (va)-.4 G(lid option is encountered or an in).25 E -.25(va)-.4 G(lid).25 -E F2(jobspec)4.24 E F0(is supplied.)2.81 E .395(If the)144 225.6 R F1 -2.895 E F0 .394(option is supplied,)2.894 F F1(jobs)2.894 E F0 +E F2(jobspec)4.24 E F0(is supplied.)2.81 E .394(If the)144 463.2 R F1 +2.894 E F0 .394(option is supplied,)2.894 F F1(jobs)2.894 E F0 .394(replaces an)2.894 F(y)-.15 E F2(jobspec)4.634 E F0 .394(found in) -3.204 F F2(command)3.094 E F0(or)3.664 E F2(ar)3.224 E(gs)-.37 E F0 .394 -(with the corre-)3.164 F(sponding process group ID, and e)144 237.6 Q +3.204 F F2(command)3.094 E F0(or)3.664 E F2(ar)3.224 E(gs)-.37 E F0 .395 +(with the corre-)3.164 F(sponding process group ID, and e)144 475.2 Q -.15(xe)-.15 G(cutes).15 E F2(command)2.7 E F0(passing it)3.27 E F2(ar) 2.5 E(gs)-.37 E F0 2.5(,r).27 G(eturning its e)-2.5 E(xit status.)-.15 E -F1(kill)108 254.4 Q F0([)2.5 E F1A F2(sigspec)2.5 E F0(|)2.5 E F1 +F1(kill)108 492 Q F0([)2.5 E F1A F2(sigspec)2.5 E F0(|)2.5 E F1 2.5 E F2(signum)2.5 E F0(|)2.5 E F12.5 E F2(sigspec)A F0 2.5 (][)C F2(pid)-2.5 E F0(|)2.5 E F2(jobspec)2.5 E F0 2.5(].)C(..)-2.5 E F1 -(kill \255l)108 266.4 Q F0([)2.5 E F2(sigspec)A F0(|)2.5 E F2 -.2(ex)2.5 -G(it_status).2 E F0(])A .119(Send the signal named by)144 278.4 R F2 -(sigspec)2.959 E F0(or)2.929 E F2(signum)2.959 E F0 .119 -(to the processes named by)2.939 F F2(pid)3.87 E F0(or)3.39 E F2 -(jobspec)2.62 E F0(.).31 E F2(sigspec)5.46 E F0(is)2.93 E .319 -(either a case-insensiti)144 290.4 R .619 -.15(ve s)-.25 H .319 -(ignal name such as).15 F/F3 9/Times-Bold@0 SF(SIGKILL)2.819 E F0 .318 -(\(with or without the)2.569 F F3(SIG)2.818 E F0 .318 -(pre\214x\) or a signal)2.568 F(number;)144 302.4 Q F2(signum)4.188 E F0 -1.349(is a signal number)4.168 F 6.349(.I)-.55 G(f)-6.349 E F2(sigspec) +(kill \255l)108 504 Q F0(|)A F1A F0([)2.5 E F2(sigspec)A F0(|)2.5 +E F2 -.2(ex)2.5 G(it_status).2 E F0(])A .12(Send the signal named by)144 +516 R F2(sigspec)2.96 E F0(or)2.93 E F2(signum)2.96 E F0 .119 +(to the processes named by)2.939 F F2(pid)3.869 E F0(or)3.389 E F2 +(jobspec)2.619 E F0(.).31 E F2(sigspec)5.459 E F0(is)2.929 E .318 +(either a case-insensiti)144 528 R .618 -.15(ve s)-.25 H .318 +(ignal name such as).15 F F3(SIGKILL)2.818 E F0 .319 +(\(with or without the)2.569 F F3(SIG)2.819 E F0 .319 +(pre\214x\) or a signal)2.569 F(number;)144 540 Q F2(signum)4.189 E F0 +1.349(is a signal number)4.169 F 6.349(.I)-.55 G(f)-6.349 E F2(sigspec) 4.189 E F0 1.349(is not present, then)4.159 F F3(SIGTERM)3.849 E F0 -1.349(is assumed.)3.599 F(An)6.349 E(ar)144 314.4 Q .523(gument of)-.18 -F F13.023 E F0 .523(lists the signal names.)3.023 F .523(If an) -5.523 F 3.023(ya)-.15 G -.18(rg)-3.023 G .523(uments are supplied when) -.18 F F13.023 E F0 .523(is gi)3.023 F -.15(ve)-.25 G .523 -(n, the names).15 F .28(of the signals corresponding to the ar)144 326.4 -R .28(guments are listed, and the return status is 0.)-.18 F(The)5.28 E -F2 -.2(ex)2.78 G(it_status).2 E F0(ar)144 338.4 Q .378(gument to)-.18 F -F12.878 E F0 .378 -(is a number specifying either a signal number or the e)2.878 F .377 -(xit status of a process termi-)-.15 F .593(nated by a signal.)144 350.4 -R F1(kill)5.593 E F0 .593(returns true if at least one signal w)3.093 F -.593(as successfully sent, or f)-.1 F .594(alse if an error)-.1 F -(occurs or an in)144 362.4 Q -.25(va)-.4 G(lid option is encountered.) -.25 E F1(let)108 379.2 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A(g)-.37 -E F0(...])2.5 E(Each)144 391.2 Q F2(ar)3.027 E(g)-.37 E F0 .197 -(is an arithmetic e)2.917 F .197(xpression to be e)-.15 F -.25(va)-.25 G -.196(luated \(see).25 F F3 .196(ARITHMETIC EV)2.696 F(ALU)-1.215 E -.855 -(AT)-.54 G(ION).855 E F0(abo)2.446 E -.15(ve)-.15 G 2.696(\). If).15 F -(the last)144 403.2 Q F2(ar)2.83 E(g)-.37 E F0 -.25(eva)2.72 G -(luates to 0,).25 E F1(let)2.5 E F0(returns 1; 0 is returned otherwise.) -2.5 E F1(local)108 420 Q F0([)2.5 E F2(option)A F0 2.5(][)C F2(name)-2.5 -E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E -.15(Fo)144 432 S 2.56(re) -.15 G .06(ach ar)-2.56 F .06(gument, a local v)-.18 F .06(ariable named) --.25 F F2(name)2.92 E F0 .06(is created, and assigned)2.74 F F2(value) -2.56 E F0 5.06(.T).18 G(he)-5.06 E F2(option)2.56 E F0 .06(can be)2.56 F -(an)144 444 Q 3.153(yo)-.15 G 3.153(ft)-3.153 G .653 -(he options accepted by)-3.153 F F1(declar)3.153 E(e)-.18 E F0 5.652(.W) -C(hen)-5.652 E F1(local)3.152 E F0 .652 +1.348(is assumed.)3.599 F(An)6.348 E(ar)144 552 Q .522(gument of)-.18 F +F13.023 E F0 .523(lists the signal names.)3.023 F .523(If an)5.523 +F 3.023(ya)-.15 G -.18(rg)-3.023 G .523(uments are supplied when).18 F +F13.023 E F0 .523(is gi)3.023 F -.15(ve)-.25 G .523(n, the names) +.15 F .28(of the signals corresponding to the ar)144 564 R .28 +(guments are listed, and the return status is 0.)-.18 F(The)5.28 E F2 +-.2(ex)2.78 G(it_status).2 E F0(ar)144 576 Q .377(gument to)-.18 F F1 +2.877 E F0 .378 +(is a number specifying either a signal number or the e)2.877 F .378 +(xit status of a process termi-)-.15 F .963(nated by a signal.)144 588 R +(The)5.962 E F13.462 E F0 .962(option is equi)3.462 F -.25(va)-.25 +G .962(lent to).25 F F13.462 E F0(.)A F1(kill)5.962 E F0 .962 +(returns true if at least one signal w)3.462 F(as)-.1 E +(successfully sent, or f)144 600 Q(alse if an error occurs or an in)-.1 +E -.25(va)-.4 G(lid option is encountered.).25 E F1(let)108 616.8 Q F2 +(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A(g)-.37 E F0(...])2.5 E(Each)144 +628.8 Q F2(ar)3.026 E(g)-.37 E F0 .196(is an arithmetic e)2.916 F .197 +(xpression to be e)-.15 F -.25(va)-.25 G .197(luated \(see).25 F F3 .197 +(ARITHMETIC EV)2.697 F(ALU)-1.215 E -.855(AT)-.54 G(ION).855 E F0(abo) +2.447 E -.15(ve)-.15 G 2.697(\). If).15 F(the last)144 640.8 Q F2(ar) +2.83 E(g)-.37 E F0 -.25(eva)2.72 G(luates to 0,).25 E F1(let)2.5 E F0 +(returns 1; 0 is returned otherwise.)2.5 E F1(local)108 657.6 Q F0([)2.5 +E F2(option)A F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C +(.. | \255 ])-2.5 E -.15(Fo)144 669.6 S 2.56(re).15 G .06(ach ar)-2.56 F +.06(gument, a local v)-.18 F .06(ariable named)-.25 F F2(name)2.92 E F0 +.06(is created, and assigned)2.74 F F2(value)2.56 E F0 5.06(.T).18 G(he) +-5.06 E F2(option)2.56 E F0 .06(can be)2.56 F(an)144 681.6 Q 3.152(yo) +-.15 G 3.152(ft)-3.152 G .652(he options accepted by)-3.152 F F1(declar) +3.152 E(e)-.18 E F0 5.652(.W)C(hen)-5.652 E F1(local)3.152 E F0 .653 (is used within a function, it causes the v)3.152 F(ari-)-.25 E(able)144 -456 Q F2(name)3.72 E F0 .86(to ha)3.54 F 1.16 -.15(ve a v)-.2 H .861 -(isible scope restricted to that function and its children.).15 F -.4 -(Wi)5.861 G .861(th no operands,).4 F F1(local)144 468 Q F0 1.165 -(writes a list of local v)3.665 F 1.165 -(ariables to the standard output.)-.25 F 1.165(It is an error to use) -6.165 F F1(local)3.664 E F0 1.164(when not)3.664 F .232 -(within a function.)144 480 R .233(The return status is 0 unless)5.232 F -F1(local)2.733 E F0 .233(is used outside a function, an in)2.733 F -.25 -(va)-.4 G(lid).25 E F2(name)3.093 E F0(is)2.913 E(supplied, or)144 492 Q -F2(name)2.5 E F0(is a readonly v)2.5 E(ariable.)-.25 E F1(logout)108 -508.8 Q F0(Exit a login shell.)9.33 E F1(map\214le)108 525.6 Q F0([)2.5 -E F1A F2(count)2.5 E F0 2.5(][)C F1-2.5 E F2(origin)2.5 E F0 -2.5(][)C F1-2.5 E F2(count)2.5 E F0 2.5(][)C F1-2.5 E F0 2.5 -(][)C F1-2.5 E F2(fd)2.5 E F0 2.5(][)C F1-2.5 E F2(callbac) -2.5 E(k)-.2 E F0 2.5(][)C F1-2.5 E F2(quantum)2.5 E F0 2.5(][)C F2 -(arr)-2.5 E(ay)-.15 E F0(])A F1 -.18(re)108 537.6 S(adarray).18 E F0([) -2.5 E F1A F2(count)2.5 E F0 2.5(][)C F1-2.5 E F2(origin)2.5 -E F0 2.5(][)C F1-2.5 E F2(count)2.5 E F0 2.5(][)C F1-2.5 E -F0 2.5(][)C F1-2.5 E F2(fd)2.5 E F0 2.5(][)C F1-2.5 E F2 +693.6 Q F2(name)3.282 E F0 .422(to ha)3.102 F .722 -.15(ve a v)-.2 H +.422(isible scope restricted to that function and its children.).15 F +(If)5.421 E F2(name)2.921 E F0 .421(is \255, the set)2.921 F 1.461 +(of shell options is made local to the function in which)144 705.6 R F1 +(local)3.961 E F0 1.462(is in)3.961 F -.2(vo)-.4 G -.1(ke).2 G 1.462 +(d: shell options changed).1 F 1.563(using the)144 717.6 R F1(set)4.063 +E F0 -.2(bu)4.063 G 1.563 +(iltin inside the function are restored to their original v).2 F 1.562 +(alues when the function)-.25 F 3.743(returns. W)144 729.6 R 1.243 +(ith no operands,)-.4 F F1(local)3.743 E F0 1.243 +(writes a list of local v)3.743 F 1.244 +(ariables to the standard output.)-.25 F 1.244(It is an)6.244 F +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(63)192.055 E 0 Cg EP +%%Page: 64 64 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E .42(error to use) +144 84 R/F1 10/Times-Bold@0 SF(local)2.92 E F0 .42 +(when not within a function.)2.92 F .42(The return status is 0 unless) +5.42 F F1(local)2.92 E F0 .42(is used outside a)2.92 F(function, an in) +144 96 Q -.25(va)-.4 G(lid).25 E/F2 10/Times-Italic@0 SF(name)2.86 E F0 +(is supplied, or)2.68 E F2(name)2.5 E F0(is a readonly v)2.5 E(ariable.) +-.25 E F1(logout)108 112.8 Q F0(Exit a login shell.)144 112.8 Q F1 +(map\214le)108 129.6 Q F0([)2.5 E F1A F2(delim)2.5 E F0 2.5(][)C +F1-2.5 E F2(count)2.5 E F0 2.5(][)C F1-2.5 E F2(origin)2.5 E +F0 2.5(][)C F1-2.5 E F2(count)2.5 E F0 2.5(][)C F1-2.5 E F0 +2.5(][)C F1-2.5 E F2(fd)2.5 E F0 2.5(][)C F1-2.5 E F2 (callbac)2.5 E(k)-.2 E F0 2.5(][)C F1-2.5 E F2(quantum)2.5 E F0 -2.5(][)C F2(arr)-2.5 E(ay)-.15 E F0(])A .351 -(Read lines from the standard input into the inde)144 549.6 R -.15(xe) --.15 G 2.851(da).15 G .351(rray v)-2.851 F(ariable)-.25 E F2(arr)2.85 E -(ay)-.15 E F0 2.85(,o).32 G 2.85(rf)-2.85 G .35(rom \214le descriptor) --2.85 F F2(fd)2.85 E F0 1.248(if the)144 561.6 R F13.748 E F0 -1.248(option is supplied.)3.748 F 1.249(The v)6.249 F(ariable)-.25 E F3 -(MAPFILE)3.749 E F0 1.249(is the def)3.499 F(ault)-.1 E F2(arr)3.749 E -(ay)-.15 E F0 6.249(.O)C 1.249(ptions, if supplied,)-6.249 F(ha)144 -573.6 Q .3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1 -144 585.6 Q F0(Cop)24.74 E 2.5(ya)-.1 G 2.5(tm)-2.5 G(ost)-2.5 E F2 -(count)2.7 E F0 2.5(lines. If)3.18 F F2(count)2.5 E F0 -(is 0, all lines are copied.)2.5 E F1144 597.6 Q F0(Be)22.52 E +2.5(][)C F2(arr)-2.5 E(ay)-.15 E F0(])A F1 -.18(re)108 141.6 S(adarray) +.18 E F0([)2.5 E F1A F2(delim)2.5 E F0 2.5(][)C F1-2.5 E F2 +(count)2.5 E F0 2.5(][)C F1-2.5 E F2(origin)2.5 E F0 2.5(][)C F1 +-2.5 E F2(count)2.5 E F0 2.5(][)C F1-2.5 E F0 2.5(][)C F1 +-2.5 E F2(fd)2.5 E F0 2.5(][)C F1-2.5 E F2(callbac)2.5 E(k) +-.2 E F0 2.5(][)C F1-2.5 E F2(quantum)2.5 E F0 2.5(][)C F2(arr) +-2.5 E(ay)-.15 E F0(])A .35 +(Read lines from the standard input into the inde)144 153.6 R -.15(xe) +-.15 G 2.851(da).15 G .351(rray v)-2.851 F(ariable)-.25 E F2(arr)2.851 E +(ay)-.15 E F0 2.851(,o).32 G 2.851(rf)-2.851 G .351 +(rom \214le descriptor)-2.851 F F2(fd)2.851 E F0 1.249(if the)144 165.6 +R F13.749 E F0 1.249(option is supplied.)3.749 F 1.249(The v)6.249 +F(ariable)-.25 E/F3 9/Times-Bold@0 SF(MAPFILE)3.749 E F0 1.249 +(is the def)3.499 F(ault)-.1 E F2(arr)3.748 E(ay)-.15 E F0 6.248(.O)C +1.248(ptions, if supplied,)-6.248 F(ha)144 177.6 Q .3 -.15(ve t)-.2 H +(he follo).15 E(wing meanings:)-.25 E F1144 189.6 Q F0 +(The \214rst character of)180 189.6 Q F2(delim)2.5 E F0 +(is used to terminate each input line, rather than ne)2.5 E(wline.)-.25 +E F1144 201.6 Q F0(Cop)180 201.6 Q 2.5(ya)-.1 G 2.5(tm)-2.5 G(ost) +-2.5 E F2(count)2.7 E F0 2.5(lines. If)3.18 F F2(count)2.5 E F0 +(is 0, all lines are copied.)2.5 E F1144 213.6 Q F0(Be)180 213.6 Q (gin assigning to)-.15 E F2(arr)2.83 E(ay)-.15 E F0(at inde)2.82 E(x) -.15 E F2(origin)2.5 E F0 5(.T).24 G(he def)-5 E(ault inde)-.1 E 2.5(xi) --.15 G 2.5(s0)-2.5 G(.)-2.5 E F1144 609.6 Q F0 -(Discard the \214rst)26.41 E F2(count)2.5 E F0(lines read.)2.5 E F1 -144 621.6 Q F0(Remo)26.97 E .3 -.15(ve a t)-.15 H(railing ne).15 E -(wline from each line read.)-.25 E F1144 633.6 Q F0 -(Read lines from \214le descriptor)24.74 E F2(fd)2.5 E F0 -(instead of the standard input.)2.5 E F1144 645.6 Q F0(Ev)23.08 E -(aluate)-.25 E F2(callbac)2.7 E(k)-.2 E F0(each time)3.17 E F2(quantum) -2.5 E F0(lines are read.)2.5 E(The)5 E F12.5 E F0 -(option speci\214es)2.5 E F2(quantum)2.5 E F0(.).32 E F1144 657.6 -Q F0(Specify the number of lines read between each call to)25.86 E F2 -(callbac)2.5 E(k)-.2 E F0(.).67 E(If)144 674.4 Q F12.968 E F0 .467 -(is speci\214ed without)2.967 F F12.967 E F0 2.967(,t)C .467 +-.15 G 2.5(s0)-2.5 G(.)-2.5 E F1144 225.6 Q F0 +(Discard the \214rst)180 225.6 Q F2(count)2.5 E F0(lines read.)2.5 E F1 +144 237.6 Q F0(Remo)180 237.6 Q .3 -.15(ve a t)-.15 H(railing).15 +E F2(delim)2.5 E F0(\(def)2.5 E(ault ne)-.1 E +(wline\) from each line read.)-.25 E F1144 249.6 Q F0 +(Read lines from \214le descriptor)180 249.6 Q F2(fd)2.5 E F0 +(instead of the standard input.)2.5 E F1144 261.6 Q F0(Ev)180 +261.6 Q(aluate)-.25 E F2(callbac)2.7 E(k)-.2 E F0(each time)3.17 E F2 +(quantum)2.5 E F0(lines are read.)2.5 E(The)5 E F12.5 E F0 +(option speci\214es)2.5 E F2(quantum)2.5 E F0(.).32 E F1144 273.6 +Q F0(Specify the number of lines read between each call to)180 273.6 Q +F2(callbac)2.5 E(k)-.2 E F0(.).67 E(If)144 290.4 Q F12.967 E F0 +.467(is speci\214ed without)2.967 F F12.967 E F0 2.967(,t)C .467 (he def)-2.967 F .467(ault quantum is 5000.)-.1 F(When)5.467 E F2 (callbac)2.967 E(k)-.2 E F0 .467(is e)2.967 F -.25(va)-.25 G .467 -(luated, it is sup-).25 F .261(plied the inde)144 686.4 R 2.761(xo)-.15 -G 2.761(ft)-2.761 G .261(he ne)-2.761 F .262(xt array element to be ass\ -igned and the line to be assigned to that element)-.15 F .275 -(as additional ar)144 698.4 R(guments.)-.18 E F2(callbac)5.275 E(k)-.2 E -F0 .275(is e)2.775 F -.25(va)-.25 G .274 -(luated after the line is read b).25 F .274 -(ut before the array element is)-.2 F(assigned.)144 710.4 Q -(If not supplied with an e)144 727.2 Q(xplicit origin,)-.15 E F1 +(luated, it is sup-).25 F .262(plied the inde)144 302.4 R 2.762(xo)-.15 +G 2.762(ft)-2.762 G .262(he ne)-2.762 F .261(xt array element to be ass\ +igned and the line to be assigned to that element)-.15 F .274 +(as additional ar)144 314.4 R(guments.)-.18 E F2(callbac)5.274 E(k)-.2 E +F0 .274(is e)2.774 F -.25(va)-.25 G .274 +(luated after the line is read b).25 F .275 +(ut before the array element is)-.2 F(assigned.)144 326.4 Q +(If not supplied with an e)144 343.2 Q(xplicit origin,)-.15 E F1 (map\214le)2.5 E F0(will clear)2.5 E F2(arr)2.5 E(ay)-.15 E F0 -(before assigning to it.)2.5 E(GNU Bash 4.3)72 768 Q(2014 February 2) -141.79 E(61)190.95 E 0 Cg EP -%%Page: 62 62 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(map\214le)144 84 Q F0 1.905 -(returns successfully unless an in)4.405 F -.25(va)-.4 G 1.905 -(lid option or option ar).25 F 1.906(gument is supplied,)-.18 F/F2 10 -/Times-Italic@0 SF(arr)4.406 E(ay)-.15 E F0(is)4.406 E(in)144 96 Q -.25 -(va)-.4 G(lid or unassignable, or if).25 E F2(arr)2.5 E(ay)-.15 E F0 +(before assigning to it.)2.5 E F1(map\214le)144 360 Q F0 1.906 +(returns successfully unless an in)4.406 F -.25(va)-.4 G 1.905 +(lid option or option ar).25 F 1.905(gument is supplied,)-.18 F F2(arr) +4.405 E(ay)-.15 E F0(is)4.405 E(in)144 372 Q -.25(va)-.4 G +(lid or unassignable, or if).25 E F2(arr)2.5 E(ay)-.15 E F0 (is not an inde)2.5 E -.15(xe)-.15 G 2.5(da).15 G(rray)-2.5 E(.)-.65 E -F1(popd)108 112.8 Q F0<5bad>2.5 E F1(n)A F0 2.5(][)C(+)-2.5 E F2(n)A F0 -2.5(][)C-2.5 E F2(n)A F0(])A(Remo)144 124.8 Q -.15(ve)-.15 G 2.8(se) -.15 G .3(ntries from the directory stack.)-2.8 F -.4(Wi)5.299 G .299 -(th no ar).4 F .299(guments, remo)-.18 F -.15(ve)-.15 G 2.799(st).15 G -.299(he top directory from the)-2.799 F 1.478(stack, and performs a)144 -136.8 R F1(cd)3.978 E F0 1.479(to the ne)3.978 F 3.979(wt)-.25 G 1.479 -(op directory)-3.979 F 6.479(.A)-.65 G -.18(rg)-6.479 G 1.479 -(uments, if supplied, ha).18 F 1.779 -.15(ve t)-.2 H 1.479(he follo).15 -F(wing)-.25 E(meanings:)144 148.8 Q F1144 160.8 Q F0 .551 -(Suppresses the normal change of directory when remo)24.74 F .551 +F1(popd)108 388.8 Q F0<5bad>2.5 E F1(n)A F0 2.5(][)C(+)-2.5 E F2(n)A F0 +2.5(][)C-2.5 E F2(n)A F0(])A(Remo)144 400.8 Q -.15(ve)-.15 G 2.799 +(se).15 G .299(ntries from the directory stack.)-2.799 F -.4(Wi)5.299 G +.299(th no ar).4 F .299(guments, remo)-.18 F -.15(ve)-.15 G 2.799(st).15 +G .3(he top directory from the)-2.799 F 1.479(stack, and performs a)144 +412.8 R F1(cd)3.979 E F0 1.479(to the ne)3.979 F 3.979(wt)-.25 G 1.479 +(op directory)-3.979 F 6.479(.A)-.65 G -.18(rg)-6.479 G 1.478 +(uments, if supplied, ha).18 F 1.778 -.15(ve t)-.2 H 1.478(he follo).15 +F(wing)-.25 E(meanings:)144 424.8 Q F1144 436.8 Q F0 .551 +(Suppresses the normal change of directory when remo)180 436.8 R .551 (ving directories from the stack, so)-.15 F -(that only the stack is manipulated.)180 172.8 Q F1(+)144 184.8 Q F2(n)A -F0(Remo)25.3 E -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F2(n)2.64 E F0 -.14(th entry counting from the left of the list sho)B .14(wn by)-.25 F -F1(dirs)2.64 E F0 2.64(,s)C .14(tarting with zero.)-2.64 F -.15(Fo)180 -196.8 S 2.5(re).15 G(xample:)-2.65 E/F3 10/Courier@0 SF(popd +0)2.5 E F0 +(that only the stack is manipulated.)180 448.8 Q F1(+)144 460.8 Q F2(n)A +F0(Remo)180 460.8 Q -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F2(n)2.64 E +F0 .14(th entry counting from the left of the list sho)B .14(wn by)-.25 +F F1(dirs)2.64 E F0 2.64(,s)C .14(tarting with zero.)-2.64 F -.15(Fo)180 +472.8 S 2.5(re).15 G(xample:)-2.65 E/F4 10/Courier@0 SF(popd +0)2.5 E F0 (remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he \214rst directory)-2.5 E(,) --.65 E F3(popd +1)2.5 E F0(the second.)2.5 E F1144 208.8 Q F2(n)A F0 -(Remo)25.3 E -.15(ve)-.15 G 3.76(st).15 G(he)-3.76 E F2(n)3.76 E F0 -1.259(th entry counting from the right of the list sho)B 1.259(wn by) --.25 F F1(dirs)3.759 E F0 3.759(,s)C 1.259(tarting with)-3.759 F 2.5 -(zero. F)180 220.8 R(or e)-.15 E(xample:)-.15 E F3(popd -0)2.5 E F0 +-.65 E F4(popd +1)2.5 E F0(the second.)2.5 E F1144 484.8 Q F2(n)A F0 +(Remo)180 484.8 Q -.15(ve)-.15 G 3.759(st).15 G(he)-3.759 E F2(n)3.759 E +F0 1.259(th entry counting from the right of the list sho)B 1.26(wn by) +-.25 F F1(dirs)3.76 E F0 3.76(,s)C 1.26(tarting with)-3.76 F 2.5 +(zero. F)180 496.8 R(or e)-.15 E(xample:)-.15 E F4(popd -0)2.5 E F0 (remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he last directory)-2.5 E(,)-.65 -E F3(popd -1)2.5 E F0(the ne)2.5 E(xt to last.)-.15 E .643(If the)144 -237.6 R F1(popd)3.143 E F0 .643(command is successful, a)3.143 F F1 -(dirs)3.143 E F0 .644(is performed as well, and the return status is 0.) -3.143 F F1(popd)5.644 E F0 .416(returns f)144 249.6 R .416 +E F4(popd -1)2.5 E F0(the ne)2.5 E(xt to last.)-.15 E .644(If the)144 +513.6 R F1(popd)3.144 E F0 .644(command is successful, a)3.144 F F1 +(dirs)3.143 E F0 .643(is performed as well, and the return status is 0.) +3.143 F F1(popd)5.643 E F0 .415(returns f)144 525.6 R .415 (alse if an in)-.1 F -.25(va)-.4 G .415 -(lid option is encountered, the directory stack is empty).25 F 2.915 -(,an)-.65 G(on-e)-2.915 E .415(xistent direc-)-.15 F -(tory stack entry is speci\214ed, or the directory change f)144 261.6 Q -(ails.)-.1 E F1(printf)108 278.4 Q F0([)2.5 E F1A F2(var)2.5 E F0 -(])A F2(format)2.5 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A 1.436 -(Write the formatted)144 290.4 R F2(ar)3.936 E(guments)-.37 E F0 1.437 -(to the standard output under the control of the)3.936 F F2(format)3.937 -E F0 6.437(.T)C(he)-6.437 E F13.937 E F0 .126 -(option causes the output to be assigned to the v)144 302.4 R(ariable) +(lid option is encountered, the directory stack is empty).25 F 2.916 +(,an)-.65 G(on-e)-2.916 E .416(xistent direc-)-.15 F +(tory stack entry is speci\214ed, or the directory change f)144 537.6 Q +(ails.)-.1 E F1(printf)108 554.4 Q F0([)2.5 E F1A F2(var)2.5 E F0 +(])A F2(format)2.5 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A 1.437 +(Write the formatted)144 566.4 R F2(ar)3.937 E(guments)-.37 E F0 1.437 +(to the standard output under the control of the)3.937 F F2(format)3.936 +E F0 6.436(.T)C(he)-6.436 E F13.936 E F0 .126 +(option causes the output to be assigned to the v)144 578.4 R(ariable) -.25 E F2(var)2.626 E F0 .126(rather than being printed to the standard) -2.626 F(output.)144 314.4 Q(The)144 338.4 Q F2(format)3.017 E F0 .517(i\ +2.626 F(output.)144 590.4 Q(The)144 614.4 Q F2(format)3.018 E F0 .517(i\ s a character string which contains three types of objects: plain chara\ -cters, which are)3.017 F .704(simply copied to standard output, charact\ -er escape sequences, which are con)144 350.4 R -.15(ve)-.4 G .703 +cters, which are)3.018 F .704(simply copied to standard output, charact\ +er escape sequences, which are con)144 626.4 R -.15(ve)-.4 G .704 (rted and copied to).15 F .036(the standard output, and format speci\ -\214cations, each of which causes printing of the ne)144 362.4 R .037 -(xt successi)-.15 F -.15(ve)-.25 G F2(ar)144 374.4 Q(gument)-.37 E F0 -5.532(.I)C 3.032(na)-5.532 G .532(ddition to the standard)-3.032 F F2 -(printf)3.032 E F0 .532(\(1\) format speci\214cations,)B F1(printf)3.031 -E F0 .531(interprets the follo)3.031 F(w-)-.25 E(ing e)144 386.4 Q -(xtensions:)-.15 E F1(%b)144 398.4 Q F0(causes)20.44 E F1(printf)5.115 E -F0 2.615(to e)5.115 F 2.615 +\214cations, each of which causes printing of the ne)144 638.4 R .036 +(xt successi)-.15 F -.15(ve)-.25 G F2(ar)144 650.4 Q(gument)-.37 E F0 +5.531(.I)C 3.031(na)-5.531 G .531(ddition to the standard)-3.031 F F2 +(printf)3.032 E F0 .532(\(1\) format speci\214cations,)B F1(printf)3.032 +E F0 .532(interprets the follo)3.032 F(w-)-.25 E(ing e)144 662.4 Q +(xtensions:)-.15 E F1(%b)144 674.4 Q F0(causes)180 674.4 Q F1(printf) +2.596 E F0 .096(to e)2.596 F .096 (xpand backslash escape sequences in the corresponding)-.15 F F2(ar) -5.115 E(gument)-.37 E F0(\(e)180 410.4 Q .608(xcept that)-.15 F F1(\\c) -3.108 E F0 .608(terminates output, backslashes in)3.108 F F1<5c08>3.108 -E F0(,)A F1(\\")3.108 E F0 3.108(,a)C(nd)-3.108 E F1(\\?)3.108 E F0 .608 -(are not remo)3.108 F -.15(ve)-.15 G .608(d, and octal).15 F(escapes be) -180 422.4 Q(ginning with)-.15 E F1(\\0)2.5 E F0 -(may contain up to four digits\).)2.5 E F1(%q)144 434.4 Q F0(causes) -20.44 E F1(printf)2.51 E F0 .01(to output the corresponding)2.51 F F2 -(ar)2.51 E(gument)-.37 E F0 .01(in a format that can be reused as shell) -2.51 F(input.)180 446.4 Q F1(%\()144 458.4 Q F2(datefmt)A F1(\)T)A F0 -(causes)180 470.4 Q F1(printf)4.404 E F0 1.904 +2.596 E(gument)-.37 E F0 .095(in the)2.595 F(same w)180 686.4 Q(ay as) +-.1 E F1(echo \255e)2.5 E F0(.)A F1(%q)144 698.4 Q F0(causes)180 698.4 Q +F1(printf)2.51 E F0 .01(to output the corresponding)2.51 F F2(ar)2.51 E +(gument)-.37 E F0 .01(in a format that can be reused as shell)2.51 F +(input.)180 710.4 Q(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(64) +192.055 E 0 Cg EP +%%Page: 65 65 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(%\()144 84 Q/F2 10/Times-Italic@0 SF(datefmt)A F1(\)T)A F0(causes)180 +96 Q F1(printf)4.404 E F0 1.904 (to output the date-time string resulting from using)4.404 F F2(datefmt) -4.404 E F0 1.903(as a format)4.404 F .38(string for)180 482.4 R F2 +4.404 E F0 1.903(as a format)4.404 F .38(string for)180 108 R F2 (strftime)2.881 E F0 2.881(\(3\). The)B(corresponding)2.881 E F2(ar) 2.881 E(gument)-.37 E F0 .381(is an inte)2.881 F .381 (ger representing the number)-.15 F .458(of seconds since the epoch.)180 -494.4 R -1 -.8(Tw o)5.458 H .458(special ar)3.758 F .458(gument v)-.18 F +120 R -1 -.8(Tw o)5.458 H .458(special ar)3.758 F .458(gument v)-.18 F .458(alues may be used: -1 represents the)-.25 F .847 -(current time, and -2 represents the time the shell w)180 506.4 R .847 +(current time, and -2 represents the time the shell w)180 132 R .847 (as in)-.1 F -.2(vo)-.4 G -.1(ke).2 G 3.348(d. If).1 F .848(no ar)3.348 -F .848(gument is speci-)-.18 F .355(\214ed, con)180 518.4 R -.15(ve)-.4 -G .355(rsion beha).15 F -.15(ve)-.2 G 2.855(sa).15 G 2.855(si)-2.855 G +F .848(gument is speci-)-.18 F .355(\214ed, con)180 144 R -.15(ve)-.4 G +.355(rsion beha).15 F -.15(ve)-.2 G 2.855(sa).15 G 2.855(si)-2.855 G 2.855(f-)-2.855 G 2.855(1h)-2.855 G .354(ad been gi)-2.855 F -.15(ve) -.25 G 2.854(n. This).15 F .354(is an e)2.854 F .354 -(xception to the usual)-.15 F F1(printf)2.854 E F0(beha)180 530.4 Q -(vior)-.2 E(.)-.55 E(Ar)144 547.2 Q .463(guments to non-string format s\ -peci\214ers are treated as C constants, e)-.18 F .464 -(xcept that a leading plus or)-.15 F 1.259(minus sign is allo)144 559.2 +(xception to the usual)-.15 F F1(printf)2.854 E F0(beha)180 156 Q(vior) +-.2 E(.)-.55 E(Ar)144 172.8 Q .463(guments to non-string format speci\ +\214ers are treated as C constants, e)-.18 F .464 +(xcept that a leading plus or)-.15 F 1.259(minus sign is allo)144 184.8 R 1.259 (wed, and if the leading character is a single or double quote, the v) --.25 F 1.258(alue is the)-.25 F(ASCII v)144 571.2 Q(alue of the follo) --.25 E(wing character)-.25 E(.)-.55 E(The)144 588 Q F2(format)3.423 E F0 -.923(is reused as necessary to consume all of the)3.423 F F2(ar)3.423 E -(guments)-.37 E F0 5.923(.I)C 3.423(ft)-5.923 G(he)-3.423 E F2(format) -3.423 E F0 .924(requires more)3.424 F F2(ar)144 600 Q(guments)-.37 E F0 -.033(than are supplied, the e)2.534 F .033 +-.25 F 1.258(alue is the)-.25 F(ASCII v)144 196.8 Q(alue of the follo) +-.25 E(wing character)-.25 E(.)-.55 E(The)144 213.6 Q F2(format)3.423 E +F0 .923(is reused as necessary to consume all of the)3.423 F F2(ar)3.423 +E(guments)-.37 E F0 5.923(.I)C 3.423(ft)-5.923 G(he)-3.423 E F2(format) +3.423 E F0 .924(requires more)3.424 F F2(ar)144 225.6 Q(guments)-.37 E +F0 .033(than are supplied, the e)2.534 F .033 (xtra format speci\214cations beha)-.15 F .333 -.15(ve a)-.2 H 2.533(si) .15 G 2.533(faz)-2.533 G .033(ero v)-2.533 F .033(alue or null string,) --.25 F(as appropriate, had been supplied.)144 612 Q(The return v)5 E +-.25 F(as appropriate, had been supplied.)144 237.6 Q(The return v)5 E (alue is zero on success, non-zero on f)-.25 E(ailure.)-.1 E F1(pushd) -108 628.8 Q F0([)2.5 E F1A F0 2.5(][)C(+)-2.5 E F2(n)A F0 2.5(][)C --2.5 E F2(n)A F0(])A F1(pushd)108 640.8 Q F0([)2.5 E F1A F0 +108 254.4 Q F0([)2.5 E F1A F0 2.5(][)C(+)-2.5 E F2(n)A F0 2.5(][)C +-2.5 E F2(n)A F0(])A F1(pushd)108 266.4 Q F0([)2.5 E F1A F0 2.5(][)C F2(dir)-2.5 E F0(])A .639(Adds a directory to the top of the d\ -irectory stack, or rotates the stack, making the ne)144 652.8 R 3.14(wt) --.25 G .64(op of the)-3.14 F 1.316(stack the current w)144 664.8 R 1.316 -(orking directory)-.1 F 6.316(.W)-.65 G 1.315(ith no ar)-6.716 F 1.315 -(guments, e)-.18 F 1.315(xchanges the top tw)-.15 F 3.815(od)-.1 G 1.315 -(irectories and)-3.815 F .871 -(returns 0, unless the directory stack is empty)144 676.8 R 5.871(.A) --.65 G -.18(rg)-5.871 G .872(uments, if supplied, ha).18 F 1.172 -.15 -(ve t)-.2 H .872(he follo).15 F .872(wing mean-)-.25 F(ings:)144 688.8 Q -F1144 700.8 Q F0 .902(Suppresses the normal change of directory w\ -hen adding directories to the stack, so that)24.74 F -(only the stack is manipulated.)180 712.8 Q(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(62)190.95 E 0 Cg EP -%%Page: 63 63 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(+)144 84 Q/F2 10/Times-Italic@0 SF(n)A F0 -1.267(Rotates the stack so that the)25.3 F F2(n)3.767 E F0 1.268 -(th directory \(counting from the left of the list sho)B 1.268(wn by) --.25 F F1(dirs)180 96 Q F0 2.5(,s)C(tarting with zero\) is at the top.) --2.5 E F1144 108 Q F2(n)A F0 .92(Rotates the stack so that the)25.3 -F F2(n)3.42 E F0 .92 +irectory stack, or rotates the stack, making the ne)144 278.4 R 3.14(wt) +-.25 G .64(op of the)-3.14 F .417(stack the current w)144 290.4 R .416 +(orking directory)-.1 F 5.416(.W)-.65 G .416(ith no ar)-5.816 F +(guments,)-.18 E F1(pushd)2.916 E F0 -.15(ex)2.916 G .416 +(changes the top tw).15 F 2.916(od)-.1 G(irectories)-2.916 E 1.625 +(and returns 0, unless the directory stack is empty)144 302.4 R 6.625 +(.A)-.65 G -.18(rg)-6.625 G 1.625(uments, if supplied, ha).18 F 1.925 +-.15(ve t)-.2 H 1.625(he follo).15 F(wing)-.25 E(meanings:)144 314.4 Q +F1144 326.4 Q F0 1.811(Suppresses the normal change of directory \ +when rotating or adding directories to the)180 326.4 R +(stack, so that only the stack is manipulated.)180 338.4 Q F1(+)144 +350.4 Q F2(n)A F0 1.267(Rotates the stack so that the)180 350.4 R F2(n) +3.767 E F0 1.268(th directory \(counting from the left of the list sho)B +1.268(wn by)-.25 F F1(dirs)180 362.4 Q F0 2.5(,s)C +(tarting with zero\) is at the top.)-2.5 E F1144 374.4 Q F2(n)A F0 +.92(Rotates the stack so that the)180 374.4 R F2(n)3.42 E F0 .92 (th directory \(counting from the right of the list sho)B .92(wn by)-.25 -F F1(dirs)180 120 Q F0 2.5(,s)C(tarting with zero\) is at the top.)-2.5 -E F2(dir)144.35 132 Q F0(Adds)23.98 E F2(dir)3.137 E F0 .287 +F F1(dirs)180 386.4 Q F0 2.5(,s)C(tarting with zero\) is at the top.) +-2.5 E F2(dir)144.35 398.4 Q F0(Adds)180 398.4 Q F2(dir)3.137 E F0 .287 (to the directory stack at the top, making it the ne)3.517 F 2.788(wc) -.25 G .288(urrent w)-2.788 F .288(orking directory as)-.1 F -(if it had been supplied as the ar)180 144 Q(gument to the)-.18 E F1(cd) -2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .489(If the)144 160.8 R F1(pushd)2.989 -E F0 .489(command is successful, a)2.989 F F1(dirs)2.988 E F0 .488 +(if it had been supplied as the ar)180 410.4 Q(gument to the)-.18 E F1 +(cd)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .489(If the)144 427.2 R F1(pushd) +2.989 E F0 .489(command is successful, a)2.989 F F1(dirs)2.988 E F0 .488 (is performed as well.)2.988 F .488(If the \214rst form is used,)5.488 F -F1(pushd)2.988 E F0 1.039(returns 0 unless the cd to)144 172.8 R F2(dir) +F1(pushd)2.988 E F0 1.039(returns 0 unless the cd to)144 439.2 R F2(dir) 3.889 E F0 -.1(fa)4.269 G 3.539(ils. W).1 F 1.039(ith the second form,) -.4 F F1(pushd)3.54 E F0 1.04(returns 0 unless the directory)3.54 F .847 -(stack is empty)144 184.8 R 3.347(,an)-.65 G(on-e)-3.347 E .847(xistent\ +(stack is empty)144 451.2 R 3.347(,an)-.65 G(on-e)-3.347 E .847(xistent\ directory stack element is speci\214ed, or the directory change to the) --.15 F(speci\214ed ne)144 196.8 Q 2.5(wc)-.25 G(urrent directory f)-2.5 -E(ails.)-.1 E F1(pwd)108 213.6 Q F0([)2.5 E F1(\255LP)A F0(])A .844 -(Print the absolute pathname of the current w)144 225.6 R .845 +-.15 F(speci\214ed ne)144 463.2 Q 2.5(wc)-.25 G(urrent directory f)-2.5 +E(ails.)-.1 E F1(pwd)108 480 Q F0([)2.5 E F1(\255LP)A F0(])A .844 +(Print the absolute pathname of the current w)144 492 R .845 (orking directory)-.1 F 5.845(.T)-.65 G .845 (he pathname printed contains no)-5.845 F .182(symbolic links if the)144 -237.6 R F12.681 E F0 .181(option is supplied or the)2.681 F F1 -.181(\255o ph)2.681 F(ysical)-.15 E F0 .181(option to the)2.681 F F1 -(set)2.681 E F0 -.2(bu)2.681 G .181(iltin command is).2 F 3.263 -(enabled. If)144 249.6 R(the)3.263 E F13.263 E F0 .763 +504 R F12.681 E F0 .181(option is supplied or the)2.681 F F1 .181 +(\255o ph)2.681 F(ysical)-.15 E F0 .181(option to the)2.681 F F1(set) +2.681 E F0 -.2(bu)2.681 G .181(iltin command is).2 F 3.263(enabled. If) +144 516 R(the)3.263 E F13.263 E F0 .763 (option is used, the pathname printed may contain symbolic links.)3.263 F .764(The return)5.764 F 1.36(status is 0 unless an error occurs while\ - reading the name of the current directory or an in)144 261.6 R -.25(va) --.4 G(lid).25 E(option is supplied.)144 273.6 Q F1 -.18(re)108 290.4 S -(ad).18 E F0([)3.816 E F1(\255ers)A F0 3.816(][)C F1-3.816 E F2 -(aname)3.816 E F0 3.816(][)C F1-3.816 E F2(delim)3.816 E F0 3.816 -(][)C F1-3.816 E F2(te)3.816 E(xt)-.2 E F0 3.816(][)C F1 --3.816 E F2(nc)3.816 E(har)-.15 E(s)-.1 E F0 3.817(][)C F1-3.817 E -F2(nc)3.817 E(har)-.15 E(s)-.1 E F0 3.817(][)C F1-3.817 E F2(pr) -3.817 E(ompt)-.45 E F0 3.817(][)C F1-3.817 E F2(timeout)3.817 E F0 -3.817(][)C F1-3.817 E F2(fd)3.817 E F0(])A([)108 302.4 Q F2(name)A -F0(...])2.5 E .516(One line is read from the standard input, or from th\ -e \214le descriptor)144 314.4 R F2(fd)3.016 E F0 .516(supplied as an ar) -3.016 F .517(gument to)-.18 F(the)144 326.4 Q F12.539 E F0 .039 -(option, and the \214rst w)2.539 F .038(ord is assigned to the \214rst) --.1 F F2(name)2.538 E F0 2.538(,t).18 G .038(he second w)-2.538 F .038 -(ord to the second)-.1 F F2(name)2.538 E F0(,).18 E .42 -(and so on, with lefto)144 338.4 R -.15(ve)-.15 G 2.92(rw).15 G .42 -(ords and their interv)-3.02 F .42 -(ening separators assigned to the last)-.15 F F2(name)2.92 E F0 5.42(.I) -.18 G 2.92(ft)-5.42 G(here)-2.92 E .541(are fe)144 350.4 R .541(wer w) --.25 F .541(ords read from the input stream than names, the remaining n\ -ames are assigned empty)-.1 F -.25(va)144 362.4 S 3.357(lues. The).25 F -.857(characters in)3.357 F/F3 9/Times-Bold@0 SF(IFS)3.357 E F0 .857 -(are used to split the line into w)3.107 F .857 -(ords using the same rules the shell)-.1 F .754(uses for e)144 374.4 R -.753(xpansion \(described abo)-.15 F 1.053 -.15(ve u)-.15 H(nder).15 E -F1 -.75(Wo)3.253 G .753(rd Splitting).75 F F0 3.253(\). The)B .753 -(backslash character \()3.253 F F1(\\)A F0 3.253(\)m)C .753(ay be)-3.253 -F .075(used to remo)144 386.4 R .375 -.15(ve a)-.15 H .375 -.15(ny s).15 -H .075(pecial meaning for the ne).15 F .076 -(xt character read and for line continuation.)-.15 F(Options,)5.076 E -(if supplied, ha)144 398.4 Q .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F1144 410.4 Q F2(aname)2.5 E F0 1.05(The w) -180 422.4 R 1.049 + reading the name of the current directory or an in)144 528 R -.25(va) +-.4 G(lid).25 E(option is supplied.)144 540 Q F1 -.18(re)108 556.8 S(ad) +.18 E F0([)3.816 E F1(\255ers)A F0 3.816(][)C F1-3.816 E F2(aname) +3.816 E F0 3.816(][)C F1-3.816 E F2(delim)3.816 E F0 3.816(][)C F1 +-3.816 E F2(te)3.816 E(xt)-.2 E F0 3.816(][)C F1-3.816 E F2 +(nc)3.816 E(har)-.15 E(s)-.1 E F0 3.817(][)C F1-3.817 E F2(nc) +3.817 E(har)-.15 E(s)-.1 E F0 3.817(][)C F1-3.817 E F2(pr)3.817 E +(ompt)-.45 E F0 3.817(][)C F1-3.817 E F2(timeout)3.817 E F0 3.817 +(][)C F1-3.817 E F2(fd)3.817 E F0(])A([)108 568.8 Q F2(name)A F0 +(...])2.5 E .516(One line is read from the standard input, or from the \ +\214le descriptor)144 580.8 R F2(fd)3.016 E F0 .516(supplied as an ar) +3.016 F .516(gument to)-.18 F(the)144 592.8 Q F13.847 E F0 1.347 +(option, split into w)3.847 F 1.347(ords as described abo)-.1 F 1.648 +-.15(ve u)-.15 H(nder).15 E F1 -.75(Wo)3.848 G 1.348(rd Splitting).75 F +F0 3.848(,a)C 1.348(nd the \214rst w)-3.848 F 1.348(ord is)-.1 F 1.465 +(assigned to the \214rst)144 604.8 R F2(name)3.965 E F0 3.965(,t).18 G +1.465(he second w)-3.965 F 1.465(ord to the second)-.1 F F2(name)3.965 E +F0 3.965(,a).18 G 1.465(nd so on.)-3.965 F 1.465(If there are more)6.465 +F -.1(wo)144 616.8 S 1.112(rds than names, the remaining w).1 F 1.112 +(ords and their interv)-.1 F 1.112 +(ening delimiters are assigned to the last)-.15 F F2(name)144 628.8 Q F0 +5.723(.I).18 G 3.223(ft)-5.723 G .723(here are fe)-3.223 F .723(wer w) +-.25 F .722 +(ords read from the input stream than names, the remaining names are)-.1 +F .531(assigned empty v)144 640.8 R 3.031(alues. The)-.25 F .531 +(characters in)3.031 F/F3 9/Times-Bold@0 SF(IFS)3.031 E F0 .532 +(are used to split the line into w)2.781 F .532(ords using the same)-.1 +F .197(rules the shell uses for e)144 652.8 R .197 +(xpansion \(described abo)-.15 F .497 -.15(ve u)-.15 H(nder).15 E F1 +-.75(Wo)2.697 G .197(rd Splitting).75 F F0 2.697(\). The)B .196 +(backslash charac-)2.697 F .156(ter \()144 664.8 R F1(\\)A F0 2.656(\)m) +C .156(ay be used to remo)-2.656 F .457 -.15(ve a)-.15 H .457 -.15(ny s) +.15 H .157(pecial meaning for the ne).15 F .157 +(xt character read and for line continu-)-.15 F 2.5(ation. Options,)144 +676.8 R(if supplied, ha)2.5 E .3 -.15(ve t)-.2 H(he follo).15 E +(wing meanings:)-.25 E F1144 688.8 Q F2(aname)2.5 E F0 1.05(The w) +180 700.8 R 1.049 (ords are assigned to sequential indices of the array v)-.1 F(ariable) -.25 E F2(aname)3.549 E F0 3.549(,s).18 G 1.049(tarting at 0.)-3.549 F -F2(aname)180.33 434.4 Q F0(is unset before an)2.68 E 2.5(yn)-.15 G .5 +F2(aname)180.33 712.8 Q F0(is unset before an)2.68 E 2.5(yn)-.15 G .5 -.25(ew va)-2.5 H(lues are assigned.).25 E(Other)5 E F2(name)2.5 E F0 -(ar)2.5 E(guments are ignored.)-.18 E F1144 446.4 Q F2(delim)2.5 E -F0(The \214rst character of)180 458.4 Q F2(delim)2.5 E F0 +(ar)2.5 E(guments are ignored.)-.18 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(65)192.055 E 0 Cg EP +%%Page: 66 66 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF144 84 Q/F2 10/Times-Italic@0 SF(delim)2.5 E F0 +(The \214rst character of)180 96 Q F2(delim)2.5 E F0 (is used to terminate the input line, rather than ne)2.5 E(wline.)-.25 E -F1144 470.4 Q F0 .372 -(If the standard input is coming from a terminal,)25.86 F F1 -.18(re) -2.873 G(adline).18 E F0(\(see)2.873 E F3(READLINE)2.873 E F0(abo)2.623 E --.15(ve)-.15 G 2.873(\)i).15 G 2.873(su)-2.873 G(sed)-2.873 E .218 -(to obtain the line.)180 482.4 R .218 +F1144 108 Q F0 .372 +(If the standard input is coming from a terminal,)180 108 R F1 -.18(re) +2.873 G(adline).18 E F0(\(see)2.873 E/F3 9/Times-Bold@0 SF(READLINE) +2.873 E F0(abo)2.623 E -.15(ve)-.15 G 2.873(\)i).15 G 2.873(su)-2.873 G +(sed)-2.873 E .218(to obtain the line.)180 120 R .218 (Readline uses the current \(or def)5.218 F .218 (ault, if line editing w)-.1 F .218(as not pre)-.1 F(viously)-.25 E -(acti)180 494.4 Q -.15(ve)-.25 G 2.5(\)e).15 G(diting settings.)-2.5 E -F1144 506.4 Q F2(te)2.5 E(xt)-.2 E F0(If)10.78 E F1 -.18(re)2.715 -G(adline).18 E F0 .216(is being used to read the line,)2.715 F F2(te) +(acti)180 132 Q -.15(ve)-.25 G 2.5(\)e).15 G(diting settings.)-2.5 E F1 +144 144 Q F2(te)2.5 E(xt)-.2 E F0(If)180 144 Q F1 -.18(re)2.715 G +(adline).18 E F0 .216(is being used to read the line,)2.715 F F2(te) 2.716 E(xt)-.2 E F0 .216(is placed into the editing b)2.716 F(uf)-.2 E -.216(fer before edit-)-.25 F(ing be)180 518.4 Q(gins.)-.15 E F1144 -530.4 Q F2(nc)2.5 E(har)-.15 E(s)-.1 E F1 -.18(re)180 542.4 S(ad).18 E -F0 1.395(returns after reading)3.895 F F2(nc)3.895 E(har)-.15 E(s)-.1 E -F0 1.395(characters rather than w)3.895 F 1.394 -(aiting for a complete line of)-.1 F(input, b)180 554.4 Q -(ut honor a delimiter if fe)-.2 E(wer than)-.25 E F2(nc)2.5 E(har)-.15 E -(s)-.1 E F0(characters are read before the delimiter)2.5 E(.)-.55 E F1 -144 566.4 Q F2(nc)2.5 E(har)-.15 E(s)-.1 E F1 -.18(re)180 578.4 S -(ad).18 E F0 1.269(returns after reading e)3.769 F(xactly)-.15 E F2(nc) -3.769 E(har)-.15 E(s)-.1 E F0 1.269(characters rather than w)3.769 F -1.27(aiting for a complete)-.1 F .275 -(line of input, unless EOF is encountered or)180 590.4 R F1 -.18(re) -2.775 G(ad).18 E F0 .274(times out.)2.774 F .274 -(Delimiter characters encoun-)5.274 F 1.002 -(tered in the input are not treated specially and do not cause)180 602.4 -R F1 -.18(re)3.503 G(ad).18 E F0 1.003(to return until)3.503 F F2(nc) -3.503 E(har)-.15 E(s)-.1 E F0(characters are read.)180 614.4 Q F1 -144 626.4 Q F2(pr)2.5 E(ompt)-.45 E F0(Display)180 638.4 Q F2(pr)3.661 E -(ompt)-.45 E F0 1.161(on standard error)3.661 F 3.661(,w)-.4 G 1.161 -(ithout a trailing ne)-3.661 F 1.161(wline, before attempting to read) --.25 F(an)180 650.4 Q 2.5(yi)-.15 G 2.5(nput. The)-2.5 F +.216(fer before edit-)-.25 F(ing be)180 156 Q(gins.)-.15 E F1144 +168 Q F2(nc)2.5 E(har)-.15 E(s)-.1 E F1 -.18(re)180 180 S(ad).18 E F0 +1.395(returns after reading)3.895 F F2(nc)3.895 E(har)-.15 E(s)-.1 E F0 +1.395(characters rather than w)3.895 F 1.394 +(aiting for a complete line of)-.1 F(input, b)180 192 Q +(ut honors a delimiter if fe)-.2 E(wer than)-.25 E F2(nc)2.5 E(har)-.15 +E(s)-.1 E F0(characters are read before the delimiter)2.5 E(.)-.55 E F1 +144 204 Q F2(nc)2.5 E(har)-.15 E(s)-.1 E F1 -.18(re)180 216 S(ad) +.18 E F0 1.269(returns after reading e)3.769 F(xactly)-.15 E F2(nc)3.769 +E(har)-.15 E(s)-.1 E F0 1.269(characters rather than w)3.769 F 1.27 +(aiting for a complete)-.1 F .275 +(line of input, unless EOF is encountered or)180 228 R F1 -.18(re)2.775 +G(ad).18 E F0 .274(times out.)2.774 F .274(Delimiter characters encoun-) +5.274 F 1.002 +(tered in the input are not treated specially and do not cause)180 240 R +F1 -.18(re)3.503 G(ad).18 E F0 1.003(to return until)3.503 F F2(nc)3.503 +E(har)-.15 E(s)-.1 E F0 .609(characters are read.)180 252 R .608 +(The result is not split on the characters in)5.609 F F1(IFS)3.108 E F0 +3.108(;t)C .608(he intent is that the)-3.108 F -.25(va)180 264 S .669 +(riable is assigned e).25 F .669 +(xactly the characters read \(with the e)-.15 F .67 +(xception of backslash; see the)-.15 F F1180 276 Q F0(option belo) +2.5 E(w\).)-.25 E F1144 288 Q F2(pr)2.5 E(ompt)-.45 E F0(Display) +180 300 Q F2(pr)3.661 E(ompt)-.45 E F0 1.161(on standard error)3.661 F +3.661(,w)-.4 G 1.161(ithout a trailing ne)-3.661 F 1.161 +(wline, before attempting to read)-.25 F(an)180 312 Q 2.5(yi)-.15 G 2.5 +(nput. The)-2.5 F (prompt is displayed only if input is coming from a terminal.)2.5 E F1 -144 662.4 Q F0 .543(Backslash does not act as an escape character) -25.86 F 5.543(.T)-.55 G .544(he backslash is considered to be part of) --5.543 F(the line.)180 674.4 Q(In particular)5 E 2.5(,ab)-.4 G +144 324 Q F0 .543(Backslash does not act as an escape character) +180 324 R 5.543(.T)-.55 G .544(he backslash is considered to be part of) +-5.543 F(the line.)180 336 Q(In particular)5 E 2.5(,ab)-.4 G (ackslash-ne)-2.5 E(wline pair may not be used as a line continuation.) --.25 E F1144 686.4 Q F0(Silent mode.)26.41 E +-.25 E F1144 348 Q F0(Silent mode.)180 348 Q (If input is coming from a terminal, characters are not echoed.)5 E F1 -144 698.4 Q F2(timeout)2.5 E F0(Cause)180 710.4 Q F1 -.18(re)2.929 -G(ad).18 E F0 .428(to time out and return f)2.929 F .428 +144 360 Q F2(timeout)2.5 E F0(Cause)180 372 Q F1 -.18(re)2.929 G +(ad).18 E F0 .428(to time out and return f)2.929 F .428 (ailure if a complete line of input \(or a speci\214ed num-)-.1 F .56 -(ber of characters\) is not read within)180 722.4 R F2(timeout)3.061 E -F0(seconds.)3.061 E F2(timeout)5.561 E F0 .561(may be a decimal number) -3.061 F(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(63)190.95 E 0 Cg -EP -%%Page: 64 64 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(with a fractional portion follo)180 84 Q(wing the decimal point.) --.25 E(This option is only ef)5 E(fecti)-.25 E .3 -.15(ve i)-.25 H(f).15 -E/F1 10/Times-Bold@0 SF -.18(re)2.5 G(ad).18 E F0 .506(is reading input\ - from a terminal, pipe, or other special \214le; it has no ef)180 96 R -.506(fect when reading)-.25 F .59(from re)180 108 R .59(gular \214les.) --.15 F(If)5.59 E F1 -.18(re)3.09 G(ad).18 E F0 .589(times out,)3.09 F F1 --.18(re)3.089 G(ad).18 E F0(sa)3.089 E -.15(ve)-.2 G 3.089(sa).15 G .889 --.15(ny p)-3.089 H .589(artial input read into the speci\214ed).15 F --.25(va)180 120 S(riable).25 E/F2 10/Times-Italic@0 SF(name)2.77 E F0 -5.27(.I)C(f)-5.27 E F2(timeout)2.77 E F0 .27(is 0,)2.77 F F1 -.18(re) -2.77 G(ad).18 E F0 .27(returns immediately)2.77 F 2.77(,w)-.65 G .27 -(ithout trying to read an)-2.77 F 2.77(yd)-.15 G(ata.)-2.77 E 1.12 -(The e)180 132 R 1.12(xit status is 0 if input is a)-.15 F -.25(va)-.2 G -1.12(ilable on the speci\214ed \214le descriptor).25 F 3.62(,n)-.4 G -1.12(on-zero other)-3.62 F(-)-.2 E 2.5(wise. The)180 144 R -.15(ex)2.5 G -(it status is greater than 128 if the timeout is e).15 E(xceeded.)-.15 E -F1144 156 Q F2(fd)2.5 E F0(Read input from \214le descriptor)14.46 -E F2(fd)2.5 E F0(.)A .191(If no)144 172.8 R F2(names)3.051 E F0 .191 -(are supplied, the line read is assigned to the v)2.961 F(ariable)-.25 E -/F3 9/Times-Bold@0 SF(REPL)2.692 E(Y)-.828 E/F4 9/Times-Roman@0 SF(.)A -F0 .192(The return code is zero,)4.692 F 1.344 -(unless end-of-\214le is encountered,)144 184.8 R F1 -.18(re)3.844 G(ad) -.18 E F0 1.343 -(times out \(in which case the return code is greater than)3.844 F .871 -(128\), a v)144 196.8 R .871 -(ariable assignment error \(such as assigning to a readonly v)-.25 F -.872(ariable\) occurs, or an in)-.25 F -.25(va)-.4 G(lid).25 E -(\214le descriptor is supplied as the ar)144 208.8 Q(gument to)-.18 E F1 -2.5 E F0(.)A F1 -.18(re)108 225.6 S(adonly).18 E F0([)2.5 E F1 -(\255aAf)A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(name)-2.5 E F0([=)A -F2(wor)A(d)-.37 E F0 2.5(].)C(..])-2.5 E .77(The gi)144 237.6 R -.15(ve) --.25 G(n).15 E F2(names)3.27 E F0 .77(are mark)3.27 F .77 -(ed readonly; the v)-.1 F .77(alues of these)-.25 F F2(names)3.63 E F0 -.77(may not be changed by subse-)3.54 F 1.096(quent assignment.)144 -249.6 R 1.096(If the)6.096 F F13.596 E F0 1.097 +(ber of characters\) is not read within)180 384 R F2(timeout)3.061 E F0 +(seconds.)3.061 E F2(timeout)5.561 E F0 .561(may be a decimal number) +3.061 F(with a fractional portion follo)180 396 Q +(wing the decimal point.)-.25 E(This option is only ef)5 E(fecti)-.25 E +.3 -.15(ve i)-.25 H(f).15 E F1 -.18(re)2.5 G(ad).18 E F0 .506(is readin\ +g input from a terminal, pipe, or other special \214le; it has no ef)180 +408 R .506(fect when reading)-.25 F .59(from re)180 420 R .59 +(gular \214les.)-.15 F(If)5.59 E F1 -.18(re)3.09 G(ad).18 E F0 .589 +(times out,)3.09 F F1 -.18(re)3.089 G(ad).18 E F0(sa)3.089 E -.15(ve)-.2 +G 3.089(sa).15 G .889 -.15(ny p)-3.089 H .589 +(artial input read into the speci\214ed).15 F -.25(va)180 432 S(riable) +.25 E F2(name)2.77 E F0 5.27(.I)C(f)-5.27 E F2(timeout)2.77 E F0 .27 +(is 0,)2.77 F F1 -.18(re)2.77 G(ad).18 E F0 .27(returns immediately)2.77 +F 2.77(,w)-.65 G .27(ithout trying to read an)-2.77 F 2.77(yd)-.15 G +(ata.)-2.77 E 1.12(The e)180 444 R 1.12(xit status is 0 if input is a) +-.15 F -.25(va)-.2 G 1.12(ilable on the speci\214ed \214le descriptor) +.25 F 3.62(,n)-.4 G 1.12(on-zero other)-3.62 F(-)-.2 E 2.5(wise. The)180 +456 R -.15(ex)2.5 G(it status is greater than 128 if the timeout is e) +.15 E(xceeded.)-.15 E F1144 468 Q F2(fd)2.5 E F0 +(Read input from \214le descriptor)180 468 Q F2(fd)2.5 E F0(.)A .476 +(If no)144 484.8 R F2(names)3.336 E F0 .476 +(are supplied, the line read is assigned to the v)3.246 F(ariable)-.25 E +F3(REPL)2.977 E(Y)-.828 E/F4 9/Times-Roman@0 SF(.)A F0 .477(The e)4.977 +F .477(xit status is zero,)-.15 F .773 +(unless end-of-\214le is encountered,)144 496.8 R F1 -.18(re)3.273 G(ad) +.18 E F0 .772 +(times out \(in which case the status is greater than 128\), a)3.273 F +-.25(va)144 508.8 S 2.004 +(riable assignment error \(such as assigning to a readonly v).25 F 2.005 +(ariable\) occurs, or an in)-.25 F -.25(va)-.4 G 2.005(lid \214le).25 F +(descriptor is supplied as the ar)144 520.8 Q(gument to)-.18 E F1 +2.5 E F0(.)A F1 -.18(re)108 537.6 S(adonly).18 E F0([)2.5 E F1(\255aAf)A +F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(wor)A +(d)-.37 E F0 2.5(].)C(..])-2.5 E .77(The gi)144 549.6 R -.15(ve)-.25 G +(n).15 E F2(names)3.27 E F0 .77(are mark)3.27 F .77(ed readonly; the v) +-.1 F .77(alues of these)-.25 F F2(names)3.63 E F0 .77 +(may not be changed by subse-)3.54 F 1.096(quent assignment.)144 561.6 R +1.096(If the)6.096 F F13.596 E F0 1.097 (option is supplied, the functions corresponding to the)3.596 F F2 -(names)3.597 E F0 1.097(are so)3.597 F(mark)144 261.6 Q 3.334(ed. The) +(names)3.597 E F0 1.097(are so)3.597 F(mark)144 573.6 Q 3.334(ed. The) -.1 F F13.334 E F0 .834(option restricts the v)3.334 F .834 (ariables to inde)-.25 F -.15(xe)-.15 G 3.334(da).15 G .834(rrays; the) -3.334 F F13.334 E F0 .834(option restricts the v)3.334 F(ari-) --.25 E .776(ables to associati)144 273.6 R 1.076 -.15(ve a)-.25 H 3.276 +-.25 E .776(ables to associati)144 585.6 R 1.076 -.15(ve a)-.25 H 3.276 (rrays. If).15 F .777(both options are supplied,)3.276 F F13.277 E F0(tak)3.277 E .777(es precedence.)-.1 F .777(If no)5.777 F F2(name) -3.637 E F0(ar)3.457 E(gu-)-.18 E .522(ments are gi)144 285.6 R -.15(ve) +3.637 E F0(ar)3.457 E(gu-)-.18 E .522(ments are gi)144 597.6 R -.15(ve) -.25 G .521(n, or if the).15 F F13.021 E F0 .521 (option is supplied, a list of all readonly names is printed.)3.021 F .521(The other)5.521 F .295(options may be used to restrict the output \ -to a subset of the set of readonly names.)144 297.6 R(The)5.296 E F1 +to a subset of the set of readonly names.)144 609.6 R(The)5.296 E F1 2.796 E F0(option)2.796 E .786 (causes output to be displayed in a format that may be reused as input.) -144 309.6 R .786(If a v)5.786 F .785(ariable name is fol-)-.25 F(lo)144 -321.6 Q .717(wed by =)-.25 F F2(wor)A(d)-.37 E F0 3.218(,t)C .718(he v) +144 621.6 R .786(If a v)5.786 F .785(ariable name is fol-)-.25 F(lo)144 +633.6 Q .717(wed by =)-.25 F F2(wor)A(d)-.37 E F0 3.218(,t)C .718(he v) -3.218 F .718(alue of the v)-.25 F .718(ariable is set to)-.25 F F2(wor) 3.218 E(d)-.37 E F0 5.718(.T)C .718(he return status is 0 unless an in) -5.718 F -.25(va)-.4 G(lid).25 E .26(option is encountered, one of the) -144 333.6 R F2(names)3.12 E F0 .26(is not a v)3.03 F .26(alid shell v) +144 645.6 R F2(names)3.12 E F0 .26(is not a v)3.03 F .26(alid shell v) -.25 F .26(ariable name, or)-.25 F F12.76 E F0 .26 -(is supplied with a)2.76 F F2(name)144.36 345.6 Q F0 -(that is not a function.)2.68 E F1 -.18(re)108 362.4 S(tur).18 E(n)-.15 -E F0([)2.5 E F2(n)A F0(])A .02(Causes a function to stop e)144 374.4 R +(is supplied with a)2.76 F F2(name)144.36 657.6 Q F0 +(that is not a function.)2.68 E F1 -.18(re)108 674.4 S(tur).18 E(n)-.15 +E F0([)2.5 E F2(n)A F0(])A .02(Causes a function to stop e)144 686.4 R -.15(xe)-.15 G .02(cuting and return the v).15 F .021 (alue speci\214ed by)-.25 F F2(n)2.881 E F0 .021(to its caller)2.761 F -5.021(.I)-.55 G(f)-5.021 E F2(n)2.881 E F0 .021(is omitted,)2.761 F .469 -(the return status is that of the last command e)144 386.4 R -.15(xe) --.15 G .469(cuted in the function body).15 F 5.469(.I)-.65 G(f)-5.469 E -F1 -.18(re)2.969 G(tur).18 E(n)-.15 E F0 .468(is used out-)2.969 F .466 -(side a function, b)144 398.4 R .466(ut during e)-.2 F -.15(xe)-.15 G -.467(cution of a script by the).15 F F1(.)2.967 E F0(\()5.467 E F1(sour) -A(ce)-.18 E F0 2.967(\)c)C .467(ommand, it causes the shell to)-2.967 F -.088(stop e)144 410.4 R -.15(xe)-.15 G .087 -(cuting that script and return either).15 F F2(n)2.947 E F0 .087 -(or the e)2.827 F .087(xit status of the last command e)-.15 F -.15(xe) --.15 G .087(cuted within).15 F .613(the script as the e)144 422.4 R .613 -(xit status of the script.)-.15 F(If)5.613 E F2(n)3.113 E F0 .613 -(is supplied, the return v)3.113 F .613 -(alue is its least signi\214cant 8)-.25 F 2.511(bits. The)144 434.4 R -.011(return status is non-zero if)2.511 F F1 -.18(re)2.511 G(tur).18 E -(n)-.15 E F0 .011(is supplied a non-numeric ar)2.511 F .01 -(gument, or is used outside)-.18 F 2.909(af)144 446.4 S .409 -(unction and not during e)-2.909 F -.15(xe)-.15 G .41 -(cution of a script by).15 F F1(.)2.91 E F0(or)3.743 E F1(sour)2.91 E -(ce)-.18 E F0 5.41(.A)C .71 -.15(ny c)-5.41 H .41 -(ommand associated with the).15 F F1(RETURN)144 458.4 Q F0(trap is e)2.5 -E -.15(xe)-.15 G(cuted before e).15 E -.15(xe)-.15 G -(cution resumes after the function or script.).15 E F1(set)108 475.2 Q -F0([)2.5 E F1(\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1-2.5 E -F2(option\255name)2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -F1(set)108 487.2 Q F0([)2.5 E F1(+abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1 -(+o)-2.5 E F2(option\255name)2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0 -(...])2.5 E -.4(Wi)144 499.2 S .836(thout options, the name and v).4 F -.835(alue of each shell v)-.25 F .835 -(ariable are displayed in a format that can be)-.25 F .784 -(reused as input for setting or resetting the currently-set v)144 511.2 +5.021(.I)-.55 G(f)-5.021 E F2(n)2.881 E F0 .021(is omitted,)2.761 F .597 +(the return status is that of the last command e)144 698.4 R -.15(xe) +-.15 G .596(cuted in the function body).15 F 5.596(.I)-.65 G(f)-5.596 E +F1 -.18(re)3.096 G(tur).18 E(n)-.15 E F0 .596(is e)3.096 F -.15(xe)-.15 +G(cuted).15 E 1.238(by a trap handler)144 710.4 R 3.738(,t)-.4 G 1.238 +(he last command used to determine the status is the last command e) +-3.738 F -.15(xe)-.15 G(cuted).15 E 1.067(before the trap handler)144 +722.4 R 6.067(.i)-.55 G(f)-6.067 E F1 -.18(re)3.567 G(tur).18 E(n)-.15 E +F0 1.067(is e)3.567 F -.15(xe)-.15 G 1.067(cuted during a).15 F F1(DEB) +3.567 E(UG)-.1 E F0 1.067(trap, the last command used to)3.567 F +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(66)192.055 E 0 Cg EP +%%Page: 67 67 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E .389 +(determine the status is the last command e)144 84 R -.15(xe)-.15 G .389 +(cuted by the trap handler before).15 F/F1 10/Times-Bold@0 SF -.18(re) +2.89 G(tur).18 E(n)-.15 E F0 -.1(wa)2.89 G 2.89(si).1 G -1.9 -.4(nv o) +-2.89 H -.1(ke).4 G(d.).1 E(If)144 96 Q F1 -.18(re)2.584 G(tur).18 E(n) +-.15 E F0 .084(is used outside a function, b)2.584 F .084(ut during e) +-.2 F -.15(xe)-.15 G .084(cution of a script by the).15 F F1(.)2.584 E +F0(\()5.084 E F1(sour)A(ce)-.18 E F0 2.583(\)c)C .083(ommand, it)-2.583 +F .588(causes the shell to stop e)144 108 R -.15(xe)-.15 G .588 +(cuting that script and return either).15 F/F2 10/Times-Italic@0 SF(n) +3.448 E F0 .589(or the e)3.329 F .589(xit status of the last com-)-.15 F +.326(mand e)144 120 R -.15(xe)-.15 G .326 +(cuted within the script as the e).15 F .326(xit status of the script.) +-.15 F(If)5.326 E F2(n)2.826 E F0 .325(is supplied, the return v)2.826 F +.325(alue is)-.25 F .444(its least signi\214cant 8 bits.)144 132 R .444 +(The return status is non-zero if)5.444 F F1 -.18(re)2.945 G(tur).18 E +(n)-.15 E F0 .445(is supplied a non-numeric ar)2.945 F(gu-)-.18 E .381 +(ment, or is used outside a function and not during e)144 144 R -.15(xe) +-.15 G .381(cution of a script by).15 F F1(.)2.881 E F0(or)3.714 E F1 +(sour)2.881 E(ce)-.18 E F0 5.38(.A)C .68 -.15(ny c)-5.38 H(om-).15 E +.749(mand associated with the)144 156 R F1(RETURN)3.249 E F0 .749 +(trap is e)3.249 F -.15(xe)-.15 G .749(cuted before e).15 F -.15(xe)-.15 +G .75(cution resumes after the function).15 F(or script.)144 168 Q F1 +(set)108 184.8 Q F0([)2.5 E F1(\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C +F1-2.5 E F2(option\255name)2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E +F0(...])2.5 E F1(set)108 196.8 Q F0([)2.5 E F1(+abefhkmnptuvxBCEHPT)A F0 +2.5(][)C F1(+o)-2.5 E F2(option\255name)2.5 E F0 2.5(][)C F2(ar)-2.5 E +(g)-.37 E F0(...])2.5 E -.4(Wi)144 208.8 S .836 +(thout options, the name and v).4 F .835(alue of each shell v)-.25 F +.835(ariable are displayed in a format that can be)-.25 F .784 +(reused as input for setting or resetting the currently-set v)144 220.8 R 3.284(ariables. Read-only)-.25 F -.25(va)3.284 G .784 -(riables cannot be).25 F 2.912(reset. In)144 523.2 R F2(posix)2.912 E F0 +(riables cannot be).25 F 2.912(reset. In)144 232.8 R F2(posix)2.912 E F0 .412(mode, only shell v)2.912 F .412(ariables are listed.)-.25 F .412 (The output is sorted according to the current)5.412 F 3.53 -(locale. When)144 535.2 R 1.031(options are speci\214ed, the)3.53 F +(locale. When)144 244.8 R 1.031(options are speci\214ed, the)3.53 F 3.531(ys)-.15 G 1.031(et or unset shell attrib)-3.531 F 3.531(utes. An) -.2 F 3.531(ya)-.15 G -.18(rg)-3.531 G 1.031(uments remaining).18 F -1.624(after option processing are treated as v)144 547.2 R 1.623 +1.624(after option processing are treated as v)144 256.8 R 1.623 (alues for the positional parameters and are assigned, in)-.25 F(order) -144 559.2 Q 2.5(,t)-.4 G(o)-2.5 E F1($1)2.5 E F0(,)A F1($2)2.5 E F0(,)A +144 268.8 Q 2.5(,t)-.4 G(o)-2.5 E F1($1)2.5 E F0(,)A F1($2)2.5 E F0(,)A F1 2.5(... $)2.5 F F2(n)A F0 5(.O)C(ptions, if speci\214ed, ha)-5 E .3 --.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1144 571.2 Q -F0 .539(Automatically mark v)29.3 F .539 -(ariables and functions which are modi\214ed or created for e)-.25 F .54 -(xport to)-.15 F(the en)184 583.2 Q(vironment of subsequent commands.) --.4 E F1144 595.2 Q F0 .132 -(Report the status of terminated background jobs immediately)28.74 F +-.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1144 280.8 Q +F0 1.377(Each v)184 280.8 R 1.377 +(ariable or function that is created or modi\214ed is gi)-.25 F -.15(ve) +-.25 G 3.877(nt).15 G 1.377(he e)-3.877 F 1.378(xport attrib)-.15 F +1.378(ute and)-.2 F(mark)184 292.8 Q(ed for e)-.1 E(xport to the en)-.15 +E(vironment of subsequent commands.)-.4 E F1144 304.8 Q F0 .132 +(Report the status of terminated background jobs immediately)184 304.8 R 2.632(,r)-.65 G .131(ather than before the ne)-2.632 F(xt)-.15 E -(primary prompt.)184 607.2 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o) --.25 H(nly when job control is enabled.).15 E F1144 619.2 Q F0 -.087(Exit immediately if a)29.86 F F2(pipeline)2.587 E F0 .087 +(primary prompt.)184 316.8 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o) +-.25 H(nly when job control is enabled.).15 E F1144 328.8 Q F0 +.087(Exit immediately if a)184 328.8 R F2(pipeline)2.587 E F0 .087 (\(which may consist of a single)2.587 F F2 .088(simple command)2.588 F -F0 .088(\), a)B F2(list)2.588 E F0 2.588(,o)C(r)-2.588 E(a)184 631.2 Q -F2 1.294(compound command)3.794 F F0(\(see)3.794 E F3 1.294 -(SHELL GRAMMAR)3.794 F F0(abo)3.544 E -.15(ve)-.15 G 3.793(\), e).15 F -1.293(xits with a non-zero status.)-.15 F .079(The shell does not e)184 -643.2 R .079(xit if the command that f)-.15 F .08 -(ails is part of the command list immediately)-.1 F(follo)184 655.2 Q +F0 .088(\), a)B F2(list)2.588 E F0 2.588(,o)C(r)-2.588 E(a)184 340.8 Q +F2 1.521(compound command)4.021 F F0(\(see)4.021 E/F3 9/Times-Bold@0 SF +1.521(SHELL GRAMMAR)4.021 F F0(abo)3.771 E -.15(ve)-.15 G 1.521(\), e) +.15 F 1.521(xits with a non-zero status.)-.15 F .079 +(The shell does not e)184 352.8 R .079(xit if the command that f)-.15 F +.08(ails is part of the command list immediately)-.1 F(follo)184 364.8 Q 1.655(wing a)-.25 F F1(while)4.155 E F0(or)4.155 E F1(until)4.155 E F0 -.1(ke)4.155 G(yw)-.05 E 1.655(ord, part of the test follo)-.1 F 1.654 (wing the)-.25 F F1(if)4.154 E F0(or)4.154 E F1(elif)4.154 E F0(reserv) -4.154 E(ed)-.15 E -.1(wo)184 667.2 S .581(rds, part of an).1 F 3.081(yc) +4.154 E(ed)-.15 E -.1(wo)184 376.8 S .581(rds, part of an).1 F 3.081(yc) -.15 G .581(ommand e)-3.081 F -.15(xe)-.15 G .581(cuted in a).15 F F1 (&&)3.081 E F0(or)3.081 E F1(||)3.081 E F0 .582(list e)3.082 F .582 -(xcept the command follo)-.15 F(wing)-.25 E .918(the \214nal)184 679.2 R +(xcept the command follo)-.15 F(wing)-.25 E .918(the \214nal)184 388.8 R F1(&&)3.418 E F0(or)3.418 E F1(||)3.418 E F0 3.418(,a)C 1.218 -.15(ny c) -3.418 H .918(ommand in a pipeline b).15 F .917 (ut the last, or if the command')-.2 F 3.417(sr)-.55 G(eturn)-3.417 E --.25(va)184 691.2 S .66(lue is being in).25 F -.15(ve)-.4 G .66 +-.25(va)184 400.8 S .66(lue is being in).25 F -.15(ve)-.4 G .66 (rted with).15 F F1(!)3.16 E F0 5.661(.I)C 3.161(fac)-5.661 G .661 (ompound command other than a subshell returns a)-3.161 F 1.113 -(non-zero status because a command f)184 703.2 R 1.112(ailed while)-.1 F +(non-zero status because a command f)184 412.8 R 1.112(ailed while)-.1 F F13.612 E F0 -.1(wa)3.612 G 3.612(sb).1 G 1.112 -(eing ignored, the shell does)-3.612 F .177(not e)184 715.2 R 2.677 +(eing ignored, the shell does)-3.612 F .177(not e)184 424.8 R 2.677 (xit. A)-.15 F .177(trap on)2.677 F F1(ERR)2.677 E F0 2.677(,i)C 2.678 (fs)-2.677 G .178(et, is e)-2.678 F -.15(xe)-.15 G .178 (cuted before the shell e).15 F 2.678(xits. This)-.15 F .178 -(option applies to)2.678 F 3.325(the shell en)184 727.2 R 3.325 -(vironment and each subshell en)-.4 F 3.325(vironment separately \(see) --.4 F F3(COMMAND)5.824 E F0(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 -E(64)190.95 E 0 Cg EP -%%Page: 65 65 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 9/Times-Bold@0 SF .106(EXECUTION ENVIR)184 84 R(ONMENT)-.27 E -F0(abo)2.356 E -.15(ve)-.15 G .107(\), and may cause subshells to e).15 -F .107(xit before e)-.15 F -.15(xe)-.15 G(cuting).15 E -(all the commands in the subshell.)184 96 Q 2.042 -(If a compound command or shell function e)184 114 R -.15(xe)-.15 G -2.042(cutes in a conte).15 F 2.042(xt where)-.15 F/F2 10/Times-Bold@0 SF -4.542 E F0 2.042(is being)4.542 F 1.435 -(ignored, none of the commands e)184 126 R -.15(xe)-.15 G 1.436 +(option applies to)2.678 F .618(the shell en)184 436.8 R .617 +(vironment and each subshell en)-.4 F .617(vironment separately \(see) +-.4 F F3 .617(COMMAND EXE-)3.117 F .642(CUTION ENVIR)184 448.8 R(ONMENT) +-.27 E F0(abo)2.893 E -.15(ve)-.15 G .643 +(\), and may cause subshells to e).15 F .643(xit before e)-.15 F -.15 +(xe)-.15 G .643(cuting all).15 F(the commands in the subshell.)184 460.8 +Q 2.042(If a compound command or shell function e)184 478.8 R -.15(xe) +-.15 G 2.042(cutes in a conte).15 F 2.042(xt where)-.15 F F14.542 +E F0 2.042(is being)4.542 F 1.435(ignored, none of the commands e)184 +490.8 R -.15(xe)-.15 G 1.436 (cuted within the compound command or function).15 F .194 -(body will be af)184 138 R .194(fected by the)-.25 F F22.694 E F0 -.193(setting, e)2.693 F -.15(ve)-.25 G 2.693(ni).15 G(f)-2.693 E F2 +(body will be af)184 502.8 R .194(fected by the)-.25 F F12.694 E +F0 .193(setting, e)2.693 F -.15(ve)-.25 G 2.693(ni).15 G(f)-2.693 E F1 2.693 E F0 .193(is set and a command returns a f)2.693 F(ailure) --.1 E 3.39(status. If)184 150 R 3.39(ac)3.39 G .89 -(ompound command or shell function sets)-3.39 F F23.39 E F0 .89 +-.1 E 3.39(status. If)184 514.8 R 3.39(ac)3.39 G .89 +(ompound command or shell function sets)-3.39 F F13.39 E F0 .89 (while e)3.39 F -.15(xe)-.15 G .89(cuting in a conte).15 F(xt)-.15 E -(where)184 162 Q F23.154 E F0 .654 +(where)184 526.8 Q F13.154 E F0 .654 (is ignored, that setting will not ha)3.154 F .953 -.15(ve a)-.2 H .953 -.15(ny e).15 H -.25(ff).15 G .653(ect until the compound command).25 F -(or the command containing the function call completes.)184 174 Q F2 -144 186 Q F0(Disable pathname e)30.97 E(xpansion.)-.15 E F2 -144 198 Q F0 2.238(Remember the location of commands as the)28.74 F -4.738(ya)-.15 G 2.239(re look)-4.738 F 2.239(ed up for e)-.1 F -.15(xe) --.15 G 4.739(cution. This).15 F(is)4.739 E(enabled by def)184 210 Q -(ault.)-.1 E F2144 222 Q F0 .514(All ar)28.74 F .514 +(or the command containing the function call completes.)184 538.8 Q F1 +144 550.8 Q F0(Disable pathname e)184 550.8 Q(xpansion.)-.15 E F1 +144 562.8 Q F0 2.238(Remember the location of commands as the)184 +562.8 R 4.738(ya)-.15 G 2.239(re look)-4.738 F 2.239(ed up for e)-.1 F +-.15(xe)-.15 G 4.739(cution. This).15 F(is)4.739 E(enabled by def)184 +574.8 Q(ault.)-.1 E F1144 586.8 Q F0 .514(All ar)184 586.8 R .514 (guments in the form of assignment statements are placed in the en)-.18 F .513(vironment for a)-.4 F -(command, not just those that precede the command name.)184 234 Q F2 -144 246 Q F0 .148(Monitor mode.)25.97 F .148 +(command, not just those that precede the command name.)184 598.8 Q F1 +144 610.8 Q F0 .148(Monitor mode.)184 610.8 R .148 (Job control is enabled.)5.148 F .149(This option is on by def)5.148 F .149(ault for interacti)-.1 F .449 -.15(ve s)-.25 H(hells).15 E .651 -(on systems that support it \(see)184 258 R F1 .651(JOB CONTR)3.151 F +(on systems that support it \(see)184 622.8 R F3 .651(JOB CONTR)3.151 F (OL)-.27 E F0(abo)2.901 E -.15(ve)-.15 G 3.151(\). All).15 F .65 -(processes run in a separate)3.151 F .678(process group.)184 270 R .679 -(When a background job completes, the shell prints a line containing it\ -s)5.678 F -.15(ex)184 282 S(it status.).15 E F2144 294 Q F0 .653 -(Read commands b)28.74 F .653(ut do not e)-.2 F -.15(xe)-.15 G .653 -(cute them.).15 F .652(This may be used to check a shell script for) -5.653 F(syntax errors.)184 306 Q(This is ignored by interacti)5 E .3 --.15(ve s)-.25 H(hells.).15 E F2144 318 Q/F3 10/Times-Italic@0 SF -(option\255name)2.5 E F0(The)184 330 Q F3(option\255name)2.5 E F0 -(can be one of the follo)2.5 E(wing:)-.25 E F2(allexport)184 342 Q F0 -(Same as)224 354 Q F22.5 E F0(.)A F2(braceexpand)184 366 Q F0 -(Same as)224 378 Q F22.5 E F0(.)A F2(emacs)184 390 Q F0 .089 -(Use an emacs-style command line editing interf)13.9 F 2.589(ace. This) --.1 F .089(is enabled by def)2.589 F(ault)-.1 E .95 -(when the shell is interacti)224 402 R -.15(ve)-.25 G 3.45(,u).15 G .95 -(nless the shell is started with the)-3.45 F F2(\255\255noediting)3.45 E -F0 2.5(option. This)224 414 R(also af)2.5 E(fects the editing interf) --.25 E(ace used for)-.1 E F2 -.18(re)2.5 G(ad \255e).18 E F0(.)A F2(err) -184 426 Q(exit)-.18 E F0(Same as)11.31 E F22.5 E F0(.)A F2 -(errtrace)184 438 Q F0(Same as)5.03 E F22.5 E F0(.)A F2(functrace) -184 450 Q F0(Same as)224 462 Q F22.5 E F0(.)A F2(hashall)184 474 Q -F0(Same as)9.43 E F22.5 E F0(.)A F2(histexpand)184 486 Q F0 -(Same as)224 498 Q F22.5 E F0(.)A F2(history)184 510 Q F0 .586 -(Enable command history)10 F 3.087(,a)-.65 G 3.087(sd)-3.087 G .587 -(escribed abo)-3.087 F .887 -.15(ve u)-.15 H(nder).15 E F1(HIST)3.087 E -(OR)-.162 E(Y)-.315 E/F4 9/Times-Roman@0 SF(.)A F0 .587(This option is) -5.087 F(on by def)224 522 Q(ault in interacti)-.1 E .3 -.15(ve s)-.25 H -(hells.).15 E F2(ignor)184 534 Q(eeof)-.18 E F0 1.657(The ef)224 546 R -1.657(fect is as if the shell command)-.25 F/F5 10/Courier@0 SF -(IGNOREEOF=10)4.156 E F0 1.656(had been e)4.156 F -.15(xe)-.15 G(cuted) -.15 E(\(see)224 558 Q F2(Shell V)2.5 E(ariables)-.92 E F0(abo)2.5 E -.15 -(ve)-.15 G(\).).15 E F2 -.1(ke)184 570 S(yw).1 E(ord)-.1 E F0(Same as) -224 582 Q F22.5 E F0(.)A F2(monitor)184 594 Q F0(Same as)5.56 E F2 -2.5 E F0(.)A F2(noclob)184 606 Q(ber)-.1 E F0(Same as)224 618 Q F2 -2.5 E F0(.)A F2(noexec)184 630 Q F0(Same as)11.12 E F22.5 E -F0(.)A F2(noglob)184 642 Q F0(Same as)11.1 E F22.5 E F0(.)A F2 -(nolog)184 654 Q F0(Currently ignored.)16.66 E F2(notify)184 666 Q F0 -(Same as)15 E F22.5 E F0(.)A F2(nounset)184 678 Q F0(Same as)6.66 -E F22.5 E F0(.)A F2(onecmd)184 690 Q F0(Same as)6.67 E F22.5 -E F0(.)A F2(ph)184 702 Q(ysical)-.15 E F0(Same as)5.14 E F22.5 E -F0(.)A F2(pipefail)184 714 Q F0 1.029(If set, the return v)7.77 F 1.029 -(alue of a pipeline is the v)-.25 F 1.03 -(alue of the last \(rightmost\) com-)-.25 F 1.137(mand to e)224 726 R -1.136 -(xit with a non-zero status, or zero if all commands in the pipeline) --.15 F(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(65)190.95 E 0 Cg -EP -%%Page: 66 66 +(processes run in a separate)3.151 F .678(process group.)184 634.8 R +.679(When a background job completes, the shell prints a line containin\ +g its)5.678 F -.15(ex)184 646.8 S(it status.).15 E F1144 658.8 Q +F0 .653(Read commands b)184 658.8 R .653(ut do not e)-.2 F -.15(xe)-.15 +G .653(cute them.).15 F .652 +(This may be used to check a shell script for)5.653 F(syntax errors.)184 +670.8 Q(This is ignored by interacti)5 E .3 -.15(ve s)-.25 H(hells.).15 +E F1144 682.8 Q F2(option\255name)2.5 E F0(The)184 694.8 Q F2 +(option\255name)2.5 E F0(can be one of the follo)2.5 E(wing:)-.25 E F1 +(allexport)184 706.8 Q F0(Same as)224 718.8 Q F12.5 E F0(.)A +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(67)192.055 E 0 Cg EP +%%Page: 68 68 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E -.15(ex)224 84 S(it successfully).15 E 5(.T)-.65 G -(his option is disabled by def)-5 E(ault.)-.1 E/F1 10/Times-Bold@0 SF -(posix)184 96 Q F0 2.09(Change the beha)17.77 F 2.091(vior of)-.2 F F1 -(bash)4.591 E F0 2.091(where the def)4.591 F 2.091(ault operation dif) --.1 F 2.091(fers from the)-.25 F 1.212 -(POSIX standard to match the standard \()224 108 R/F2 10/Times-Italic@0 -SF 1.212(posix mode)B F0 3.712(\). See)B/F3 9/Times-Bold@0 SF 1.212 -(SEE ALSO)3.712 F F0(belo)3.462 E(w)-.25 E 2.306 -(for a reference to a document that details ho)224 120 R 4.807(wp)-.25 G +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(braceexpand)184 84 Q F0(Same as)224 96 Q F12.5 E F0(.)A F1 +(emacs)184 108 Q F0 .089(Use an emacs-style command line editing interf) +224 108 R 2.589(ace. This)-.1 F .089(is enabled by def)2.589 F(ault)-.1 +E .95(when the shell is interacti)224 120 R -.15(ve)-.25 G 3.45(,u).15 G +.95(nless the shell is started with the)-3.45 F F1(\255\255noediting) +3.45 E F0 2.5(option. This)224 132 R(also af)2.5 E +(fects the editing interf)-.25 E(ace used for)-.1 E F1 -.18(re)2.5 G +(ad \255e).18 E F0(.)A F1(err)184 144 Q(exit)-.18 E F0(Same as)224 144 Q +F12.5 E F0(.)A F1(errtrace)184 156 Q F0(Same as)224 156 Q F1 +2.5 E F0(.)A F1(functrace)184 168 Q F0(Same as)224 180 Q F12.5 E +F0(.)A F1(hashall)184 192 Q F0(Same as)224 192 Q F12.5 E F0(.)A F1 +(histexpand)184 204 Q F0(Same as)224 216 Q F12.5 E F0(.)A F1 +(history)184 228 Q F0 .586(Enable command history)224 228 R 3.087(,a) +-.65 G 3.087(sd)-3.087 G .587(escribed abo)-3.087 F .887 -.15(ve u)-.15 +H(nder).15 E/F2 9/Times-Bold@0 SF(HIST)3.087 E(OR)-.162 E(Y)-.315 E/F3 9 +/Times-Roman@0 SF(.)A F0 .587(This option is)5.087 F(on by def)224 240 Q +(ault in interacti)-.1 E .3 -.15(ve s)-.25 H(hells.).15 E F1(ignor)184 +252 Q(eeof)-.18 E F0 1.657(The ef)224 264 R 1.657 +(fect is as if the shell command)-.25 F/F4 10/Courier@0 SF(IGNOREEOF=10) +4.156 E F0 1.656(had been e)4.156 F -.15(xe)-.15 G(cuted).15 E(\(see)224 +276 Q F1(Shell V)2.5 E(ariables)-.92 E F0(abo)2.5 E -.15(ve)-.15 G(\).) +.15 E F1 -.1(ke)184 288 S(yw).1 E(ord)-.1 E F0(Same as)224 300 Q F1 +2.5 E F0(.)A F1(monitor)184 312 Q F0(Same as)224 312 Q F12.5 +E F0(.)A F1(noclob)184 324 Q(ber)-.1 E F0(Same as)224 336 Q F12.5 +E F0(.)A F1(noexec)184 348 Q F0(Same as)224 348 Q F12.5 E F0(.)A +F1(noglob)184 360 Q F0(Same as)224 360 Q F12.5 E F0(.)A F1(nolog) +184 372 Q F0(Currently ignored.)224 372 Q F1(notify)184 384 Q F0 +(Same as)224 384 Q F12.5 E F0(.)A F1(nounset)184 396 Q F0(Same as) +224 396 Q F12.5 E F0(.)A F1(onecmd)184 408 Q F0(Same as)224 408 Q +F12.5 E F0(.)A F1(ph)184 420 Q(ysical)-.15 E F0(Same as)224 420 Q +F12.5 E F0(.)A F1(pipefail)184 432 Q F0 1.029 +(If set, the return v)224 432 R 1.029(alue of a pipeline is the v)-.25 F +1.03(alue of the last \(rightmost\) com-)-.25 F 1.137(mand to e)224 444 +R 1.136 +(xit with a non-zero status, or zero if all commands in the pipeline) +-.15 F -.15(ex)224 456 S(it successfully).15 E 5(.T)-.65 G +(his option is disabled by def)-5 E(ault.)-.1 E F1(posix)184 468 Q F0 +2.09(Change the beha)224 468 R 2.091(vior of)-.2 F F1(bash)4.591 E F0 +2.091(where the def)4.591 F 2.091(ault operation dif)-.1 F 2.091 +(fers from the)-.25 F 1.212(POSIX standard to match the standard \()224 +480 R/F5 10/Times-Italic@0 SF 1.212(posix mode)B F0 3.712(\). See)B F2 +1.212(SEE ALSO)3.712 F F0(belo)3.462 E(w)-.25 E 2.306 +(for a reference to a document that details ho)224 492 R 4.807(wp)-.25 G 2.307(osix mode af)-4.807 F 2.307(fects bash')-.25 F(s)-.55 E(beha)224 -132 Q(vior)-.2 E(.)-.55 E F1(pri)184 144 Q(vileged)-.1 E F0(Same as)224 -156 Q F12.5 E F0(.)A F1 -.1(ve)184 168 S(rbose).1 E F0(Same as) -7.33 E F12.5 E F0(.)A F1(vi)184 180 Q F0 1.466 -(Use a vi-style command line editing interf)32.22 F 3.965(ace. This)-.1 -F 1.465(also af)3.965 F 1.465(fects the editing)-.25 F(interf)224 192 Q -(ace used for)-.1 E F1 -.18(re)2.5 G(ad \255e).18 E F0(.)A F1(xtrace)184 -204 Q F0(Same as)13.35 E F12.5 E F0(.)A(If)184 222 Q F13.052 -E F0 .552(is supplied with no)3.052 F F2(option\255name)3.053 E F0 3.053 -(,t)C .553(he v)-3.053 F .553(alues of the current options are printed.) --.25 F(If)5.553 E F1(+o)184 234 Q F0 1.072(is supplied with no)3.572 F -F2(option\255name)3.572 E F0 3.572(,a)C 1.071(series of)-.001 F F1(set) -3.571 E F0 1.071(commands to recreate the current)3.571 F -(option settings is displayed on the standard output.)184 246 Q F1 -144 258 Q F0 -.45(Tu)28.74 G 1.071(rn on).45 F F2(privile)4.821 E -.1 +504 Q(vior)-.2 E(.)-.55 E F1(pri)184 516 Q(vileged)-.1 E F0(Same as)224 +528 Q F12.5 E F0(.)A F1 -.1(ve)184 540 S(rbose).1 E F0(Same as)224 +540 Q F12.5 E F0(.)A F1(vi)184 552 Q F0 1.466 +(Use a vi-style command line editing interf)224 552 R 3.965(ace. This) +-.1 F 1.465(also af)3.965 F 1.465(fects the editing)-.25 F(interf)224 +564 Q(ace used for)-.1 E F1 -.18(re)2.5 G(ad \255e).18 E F0(.)A F1 +(xtrace)184 576 Q F0(Same as)224 576 Q F12.5 E F0(.)A(If)184 594 Q +F13.052 E F0 .552(is supplied with no)3.052 F F5(option\255name) +3.053 E F0 3.053(,t)C .553(he v)-3.053 F .553 +(alues of the current options are printed.)-.25 F(If)5.553 E F1(+o)184 +606 Q F0 1.072(is supplied with no)3.572 F F5(option\255name)3.572 E F0 +3.572(,a)C 1.071(series of)-.001 F F1(set)3.571 E F0 1.071 +(commands to recreate the current)3.571 F +(option settings is displayed on the standard output.)184 618 Q F1 +144 630 Q F0 -.45(Tu)184 630 S 1.071(rn on).45 F F5(privile)4.821 E -.1 (ge)-.4 G(d).1 E F0 3.572(mode. In)4.341 F 1.072(this mode, the)3.572 F -F3($ENV)3.572 E F0(and)3.322 E F3($B)3.572 E(ASH_ENV)-.27 E F0 1.072 +F2($ENV)3.572 E F0(and)3.322 E F2($B)3.572 E(ASH_ENV)-.27 E F0 1.072 (\214les are not pro-)3.322 F 1.501 -(cessed, shell functions are not inherited from the en)184 270 R 1.5 -(vironment, and the)-.4 F F3(SHELLOPTS)4 E/F4 9/Times-Roman@0 SF(,)A F3 --.27(BA)184 282 S(SHOPTS).27 E F4(,)A F3(CDP)2.774 E -.855(AT)-.666 G(H) -.855 E F4(,)A F0(and)2.774 E F3(GLOBIGNORE)3.024 E F0 -.25(va)2.774 G -.524(riables, if the).25 F 3.025(ya)-.15 G .525(ppear in the en)-3.025 F -(vironment,)-.4 E .38(are ignored.)184 294 R .38 +(cessed, shell functions are not inherited from the en)184 642 R 1.5 +(vironment, and the)-.4 F F2(SHELLOPTS)4 E F3(,)A F2 -.27(BA)184 654 S +(SHOPTS).27 E F3(,)A F2(CDP)2.774 E -.855(AT)-.666 G(H).855 E F3(,)A F0 +(and)2.774 E F2(GLOBIGNORE)3.024 E F0 -.25(va)2.774 G .524 +(riables, if the).25 F 3.025(ya)-.15 G .525(ppear in the en)-3.025 F +(vironment,)-.4 E .38(are ignored.)184 666 R .38 (If the shell is started with the ef)5.38 F(fecti)-.25 E .679 -.15(ve u) -.25 H .379(ser \(group\) id not equal to the real).15 F .461 -(user \(group\) id, and the)184 306 R F12.961 E F0 .461 +(user \(group\) id, and the)184 678 R F12.961 E F0 .461 (option is not supplied, these actions are tak)2.961 F .462 -(en and the ef)-.1 F(fec-)-.25 E(ti)184 318 Q .695 -.15(ve u)-.25 H .395 +(en and the ef)-.1 F(fec-)-.25 E(ti)184 690 Q .695 -.15(ve u)-.25 H .395 (ser id is set to the real user id.).15 F .395(If the)5.395 F F1 2.895 E F0 .394(option is supplied at startup, the ef)2.895 F(fecti)-.25 -E -.15(ve)-.25 G .386(user id is not reset.)184 330 R -.45(Tu)5.386 G +E -.15(ve)-.25 G .386(user id is not reset.)184 702 R -.45(Tu)5.386 G .386(rning this option of).45 F 2.886(fc)-.25 G .387(auses the ef)-2.886 F(fecti)-.25 E .687 -.15(ve u)-.25 H .387(ser and group ids to be).15 F -(set to the real user and group ids.)184 342 Q F1144 354 Q F0 -(Exit after reading and e)30.97 E -.15(xe)-.15 G(cuting one command.).15 -E F1144 366 Q F0 -.35(Tr)28.74 G .044(eat unset v).35 F .044(aria\ -bles and parameters other than the special parameters "@" and "*" as an) --.25 F .182(error when performing parameter e)184 378 R 2.682 -(xpansion. If)-.15 F -.15(ex)2.682 G .183 -(pansion is attempted on an unset v).15 F(ari-)-.25 E .746 -(able or parameter)184 390 R 3.246(,t)-.4 G .746 +(set to the real user and group ids.)184 714 Q(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(68)192.055 E 0 Cg EP +%%Page: 69 69 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF144 84 Q F0(Exit after reading and e)184 84 Q -.15(xe)-.15 G +(cuting one command.).15 E F1144 96 Q F0 -.35(Tr)184 96 S .044 +(eat unset v).35 F .044(ariables and parameters other than the special \ +parameters "@" and "*" as an)-.25 F .182 +(error when performing parameter e)184 108 R 2.682(xpansion. If)-.15 F +-.15(ex)2.682 G .183(pansion is attempted on an unset v).15 F(ari-)-.25 +E .746(able or parameter)184 120 R 3.246(,t)-.4 G .746 (he shell prints an error message, and, if not interacti)-3.246 F -.15 (ve)-.25 G 3.246(,e).15 G .746(xits with a)-3.396 F(non-zero status.)184 -402 Q F1144 414 Q F0(Print shell input lines as the)29.3 E 2.5(ya) --.15 G(re read.)-2.5 E F1144 426 Q F0 .315(After e)29.3 F .315 -(xpanding each)-.15 F F2 .315(simple command)2.815 F F0(,)A F1 -.25(fo) -2.815 G(r).25 E F0(command,)2.815 E F1(case)2.815 E F0(command,)2.815 E -F1(select)2.815 E F0(command,)2.815 E 1.236(or arithmetic)184 438 R F1 --.25(fo)3.736 G(r).25 E F0 1.236(command, display the e)3.736 F 1.236 -(xpanded v)-.15 F 1.236(alue of)-.25 F F3(PS4)3.736 E F4(,)A F0(follo) -3.486 E 1.236(wed by the com-)-.25 F(mand and its e)184 450 Q +132 Q F1144 144 Q F0(Print shell input lines as the)184 144 Q 2.5 +(ya)-.15 G(re read.)-2.5 E F1144 156 Q F0 .315(After e)184 156 R +.315(xpanding each)-.15 F/F2 10/Times-Italic@0 SF .315(simple command) +2.815 F F0(,)A F1 -.25(fo)2.815 G(r).25 E F0(command,)2.815 E F1(case) +2.815 E F0(command,)2.815 E F1(select)2.815 E F0(command,)2.815 E 1.236 +(or arithmetic)184 168 R F1 -.25(fo)3.736 G(r).25 E F0 1.236 +(command, display the e)3.736 F 1.236(xpanded v)-.15 F 1.236(alue of) +-.25 F/F3 9/Times-Bold@0 SF(PS4)3.736 E/F4 9/Times-Roman@0 SF(,)A F0 +(follo)3.486 E 1.236(wed by the com-)-.25 F(mand and its e)184 180 Q (xpanded ar)-.15 E(guments or associated w)-.18 E(ord list.)-.1 E F1 -144 462 Q F0 2.578(The shell performs brace e)27.63 F 2.578 +144 192 Q F0 2.578(The shell performs brace e)184 192 R 2.578 (xpansion \(see)-.15 F F1 2.578(Brace Expansion)5.078 F F0(abo)5.078 E --.15(ve)-.15 G 5.079(\). This).15 F 2.579(is on by)5.079 F(def)184 474 Q -(ault.)-.1 E F1144 486 Q F0 .214(If set,)27.08 F F1(bash)2.714 E +-.15(ve)-.15 G 5.079(\). This).15 F 2.579(is on by)5.079 F(def)184 204 Q +(ault.)-.1 E F1144 216 Q F0 .214(If set,)184 216 R F1(bash)2.714 E F0 .214(does not o)2.714 F -.15(ve)-.15 G .214(rwrite an e).15 F .214 (xisting \214le with the)-.15 F F1(>)2.714 E F0(,)A F1(>&)2.714 E F0 2.713(,a)C(nd)-2.713 E F1(<>)2.713 E F0 .213(redirection opera-)2.713 F -3.053(tors. This)184 498 R .553(may be o)3.053 F -.15(ve)-.15 G .553 +3.053(tors. This)184 228 R .553(may be o)3.053 F -.15(ve)-.15 G .553 (rridden when creating output \214les by using the redirection opera-) -.15 F(tor)184 510 Q F1(>|)2.5 E F0(instead of)2.5 E F1(>)2.5 E F0(.)A F1 -144 522 Q F0 .104(If set, an)27.63 F 2.604(yt)-.15 G .104(rap on) --2.604 F F1(ERR)2.604 E F0 .103 +.15 F(tor)184 240 Q F1(>|)2.5 E F0(instead of)2.5 E F1(>)2.5 E F0(.)A F1 +144 252 Q F0 .104(If set, an)184 252 R 2.604(yt)-.15 G .104 +(rap on)-2.604 F F1(ERR)2.604 E F0 .103 (is inherited by shell functions, command substitutions, and com-)2.604 -F .838(mands e)184 534 R -.15(xe)-.15 G .838(cuted in a subshell en).15 +F .838(mands e)184 264 R -.15(xe)-.15 G .838(cuted in a subshell en).15 F 3.338(vironment. The)-.4 F F1(ERR)3.338 E F0 .839 -(trap is normally not inherited in)3.339 F(such cases.)184 546 Q F1 -144 558 Q F0(Enable)26.52 E F1(!)3.032 E F0 .532 +(trap is normally not inherited in)3.339 F(such cases.)184 276 Q F1 +144 288 Q F0(Enable)184 288 Q F1(!)3.032 E F0 .532 (style history substitution.)5.532 F .531(This option is on by def)5.532 -F .531(ault when the shell is inter)-.1 F(-)-.2 E(acti)184 570 Q -.15 -(ve)-.25 G(.).15 E F1144 582 Q F0 .959 -(If set, the shell does not resolv)28.19 F 3.459(es)-.15 G .959 +F .531(ault when the shell is inter)-.1 F(-)-.2 E(acti)184 300 Q -.15 +(ve)-.25 G(.).15 E F1144 312 Q F0 .959 +(If set, the shell does not resolv)184 312 R 3.459(es)-.15 G .959 (ymbolic links when e)-3.459 F -.15(xe)-.15 G .96 (cuting commands such as).15 F F1(cd)3.46 E F0 2.822 -(that change the current w)184 594 R 2.822(orking directory)-.1 F 7.822 +(that change the current w)184 324 R 2.822(orking directory)-.1 F 7.822 (.I)-.65 G 5.322(tu)-7.822 G 2.822(ses the ph)-5.322 F 2.821 -(ysical directory structure)-.05 F 2.685(instead. By)184 606 R(def)2.685 +(ysical directory structure)-.05 F 2.685(instead. By)184 336 R(def)2.685 E(ault,)-.1 E F1(bash)2.686 E F0(follo)2.686 E .186 (ws the logical chain of directories when performing com-)-.25 F -(mands which change the current directory)184 618 Q(.)-.65 E F1144 -630 Q F0 .89(If set, an)27.63 F 3.39(yt)-.15 G .89(raps on)-3.39 F F1 +(mands which change the current directory)184 348 Q(.)-.65 E F1144 +360 Q F0 .89(If set, an)184 360 R 3.39(yt)-.15 G .89(raps on)-3.39 F F1 (DEB)3.39 E(UG)-.1 E F0(and)3.39 E F1(RETURN)3.39 E F0 .89 (are inherited by shell functions, command)3.39 F 1.932 -(substitutions, and commands e)184 642 R -.15(xe)-.15 G 1.932 +(substitutions, and commands e)184 372 R -.15(xe)-.15 G 1.932 (cuted in a subshell en).15 F 4.432(vironment. The)-.4 F F1(DEB)4.432 E -(UG)-.1 E F0(and)4.432 E F1(RETURN)184 654 Q F0 -(traps are normally not inherited in such cases.)2.5 E F1144 666 Q -F0 .401(If no ar)28.6 F .401(guments follo)-.18 F 2.901(wt)-.25 G .401 -(his option, then the positional parameters are unset.)-2.901 F -(Otherwise,)5.4 E(the positional parameters are set to the)184 678 Q F2 +(UG)-.1 E F0(and)4.432 E F1(RETURN)184 384 Q F0 +(traps are normally not inherited in such cases.)2.5 E F1144 396 Q +F0 .401(If no ar)184 396 R .401(guments follo)-.18 F 2.901(wt)-.25 G +.401(his option, then the positional parameters are unset.)-2.901 F +(Otherwise,)5.4 E(the positional parameters are set to the)184 408 Q F2 (ar)2.5 E(g)-.37 E F0(s, e)A -.15(ve)-.25 G 2.5(ni).15 G 2.5(fs)-2.5 G (ome of them be)-2.5 E(gin with a)-.15 E F12.5 E F0(.)A F1144 -690 Q F0 1.944(Signal the end of options, cause all remaining)34.3 F F2 -(ar)4.444 E(g)-.37 E F0 4.444(st)C 4.444(ob)-4.444 G 4.445(ea)-4.444 G -1.945(ssigned to the positional)-4.445 F 3.446(parameters. The)184 702 R +420 Q F0 1.944(Signal the end of options, cause all remaining)184 420 R +F2(ar)4.444 E(g)-.37 E F0 4.444(st)C 4.444(ob)-4.444 G 4.445(ea)-4.444 G +1.945(ssigned to the positional)-4.445 F 3.446(parameters. The)184 432 R F13.446 E F0(and)3.446 E F13.446 E F0 .945 (options are turned of)3.446 F 3.445(f. If)-.25 F .945(there are no) 3.445 F F2(ar)3.445 E(g)-.37 E F0 .945(s, the positional)B -(parameters remain unchanged.)184 714 Q .425(The options are of)144 -730.8 R 2.925(fb)-.25 G 2.925(yd)-2.925 G(ef)-2.925 E .425 +(parameters remain unchanged.)184 444 Q .425(The options are of)144 +460.8 R 2.925(fb)-.25 G 2.925(yd)-2.925 G(ef)-2.925 E .425 (ault unless otherwise noted.)-.1 F .425 -(Using + rather than \255 causes these options)5.425 F(GNU Bash 4.3)72 -768 Q(2014 February 2)141.79 E(66)190.95 E 0 Cg EP -%%Page: 67 67 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .178(to be turned of)144 84 R 2.678(f. The)-.25 F .178 +(Using + rather than \255 causes these options)5.425 F .178 +(to be turned of)144 472.8 R 2.678(f. The)-.25 F .178 (options can also be speci\214ed as ar)2.678 F .178(guments to an in) -.18 F -.2(vo)-.4 G .177(cation of the shell.).2 F(The)5.177 E .066 -(current set of options may be found in)144 96 R/F1 10/Times-Bold@0 SF -<24ad>2.566 E F0 5.066(.T)C .066(he return status is al)-5.066 F -.1(wa) --.1 G .066(ys true unless an in).1 F -.25(va)-.4 G .067(lid option).25 F -(is encountered.)144 108 Q F1(shift)108 124.8 Q F0([)2.5 E/F2 10 -/Times-Italic@0 SF(n)A F0(])A .429(The positional parameters from)144 -136.8 R F2(n)2.929 E F0 .429(+1 ... are renamed to)B F1 .429($1 ....) -2.929 F F0 -.15(Pa)5.428 G .428(rameters represented by the num-).15 F -(bers)144 148.8 Q F1($#)2.582 E F0(do)2.582 E .082(wn to)-.25 F F1($#) -2.582 E F0A F2(n)A F0 .082(+1 are unset.)B F2(n)5.442 E F0 .082 -(must be a non-ne)2.822 F -.05(ga)-.15 G(ti).05 E .383 -.15(ve n)-.25 H -.083(umber less than or equal to).15 F F1($#)2.583 E F0 5.083(.I)C(f) --5.083 E F2(n)2.943 E F0 .06(is 0, no parameters are changed.)144 160.8 -R(If)5.06 E F2(n)2.92 E F0 .06(is not gi)2.8 F -.15(ve)-.25 G .06 -(n, it is assumed to be 1.).15 F(If)5.06 E F2(n)2.92 E F0 .06 -(is greater than)2.8 F F1($#)2.56 E F0 2.56(,t)C(he)-2.56 E .143 -(positional parameters are not changed.)144 172.8 R .144 -(The return status is greater than zero if)5.143 F F2(n)3.004 E F0 .144 -(is greater than)2.884 F F1($#)2.644 E F0 -(or less than zero; otherwise 0.)144 184.8 Q F1(shopt)108 201.6 Q F0([) +(current set of options may be found in)144 484.8 R F1<24ad>2.566 E F0 +5.066(.T)C .066(he return status is al)-5.066 F -.1(wa)-.1 G .066 +(ys true unless an in).1 F -.25(va)-.4 G .067(lid option).25 F +(is encountered.)144 496.8 Q F1(shift)108 513.6 Q F0([)2.5 E F2(n)A F0 +(])A .429(The positional parameters from)144 525.6 R F2(n)2.929 E F0 +.429(+1 ... are renamed to)B F1 .429($1 ....)2.929 F F0 -.15(Pa)5.428 G +.428(rameters represented by the num-).15 F(bers)144 537.6 Q F1($#)2.582 +E F0(do)2.582 E .082(wn to)-.25 F F1($#)2.582 E F0A F2(n)A F0 .082 +(+1 are unset.)B F2(n)5.442 E F0 .082(must be a non-ne)2.822 F -.05(ga) +-.15 G(ti).05 E .383 -.15(ve n)-.25 H .083(umber less than or equal to) +.15 F F1($#)2.583 E F0 5.083(.I)C(f)-5.083 E F2(n)2.943 E F0 .06 +(is 0, no parameters are changed.)144 549.6 R(If)5.06 E F2(n)2.92 E F0 +.06(is not gi)2.8 F -.15(ve)-.25 G .06(n, it is assumed to be 1.).15 F +(If)5.06 E F2(n)2.92 E F0 .06(is greater than)2.8 F F1($#)2.56 E F0 2.56 +(,t)C(he)-2.56 E .143(positional parameters are not changed.)144 561.6 R +.144(The return status is greater than zero if)5.143 F F2(n)3.004 E F0 +.144(is greater than)2.884 F F1($#)2.644 E F0 +(or less than zero; otherwise 0.)144 573.6 Q F1(shopt)108 590.4 Q F0([) 2.5 E F1(\255pqsu)A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(optname) --2.5 E F0(...])2.5 E -.8(To)144 213.6 S .64(ggle the v).8 F .639 +-2.5 E F0(...])2.5 E -.8(To)144 602.4 S .64(ggle the v).8 F .639 (alues of settings controlling optional shell beha)-.25 F(vior)-.2 E 5.639(.T)-.55 G .639(he settings can be either those)-5.639 F .374 -(listed belo)144 225.6 R 1.674 -.65(w, o)-.25 H 1.174 -.4(r, i).65 H +(listed belo)144 614.4 R 1.674 -.65(w, o)-.25 H 1.174 -.4(r, i).65 H 2.874(ft).4 G(he)-2.874 E F12.874 E F0 .375 (option is used, those a)2.875 F -.25(va)-.2 G .375(ilable with the).25 F F12.875 E F0 .375(option to the)2.875 F F1(set)2.875 E F0 -.2 -(bu)2.875 G .375(iltin com-).2 F 3.326(mand. W)144 237.6 R .826 +(bu)2.875 G .375(iltin com-).2 F 3.326(mand. W)144 626.4 R .826 (ith no options, or with the)-.4 F F13.326 E F0 .825 (option, a list of all settable options is displayed, with an)3.326 F -.945(indication of whether or not each is set.)144 249.6 R(The)5.945 E +.945(indication of whether or not each is set.)144 638.4 R(The)5.945 E F13.445 E F0 .945(option causes output to be displayed in a form) -3.445 F(that may be reused as input.)144 261.6 Q(Other options ha)5 E .3 --.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1144 273.6 Q -F0(Enable \(set\) each)26.41 E F2(optname)2.5 E F0(.)A F1144 285.6 -Q F0(Disable \(unset\) each)24.74 E F2(optname)2.5 E F0(.)A F1144 -297.6 Q F0 .003(Suppresses normal output \(quiet mode\); the return sta\ -tus indicates whether the)24.74 F F2(optname)2.503 E F0(is)2.503 E .255 -(set or unset.)180 309.6 R .255(If multiple)5.255 F F2(optname)2.755 E -F0(ar)2.755 E .256(guments are gi)-.18 F -.15(ve)-.25 G 2.756(nw).15 G -(ith)-2.756 E F12.756 E F0 2.756(,t)C .256 -(he return status is zero if)-2.756 F(all)180 321.6 Q F2(optnames)2.5 E -F0(are enabled; non-zero otherwise.)2.5 E F1144 333.6 Q F0 -(Restricts the v)25.3 E(alues of)-.25 E F2(optname)2.5 E F0 -(to be those de\214ned for the)2.5 E F12.5 E F0(option to the)2.5 -E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .625(If either)144 350.4 R F1 -3.125 E F0(or)3.124 E F13.124 E F0 .624(is used with no) -3.124 F F2(optname)3.124 E F0(ar)3.124 E(guments,)-.18 E F1(shopt)3.124 -E F0(sho)3.124 E .624(ws only those options which are)-.25 F 2.233 -(set or unset, respecti)144 362.4 R -.15(ve)-.25 G(ly).15 E 7.234(.U) --.65 G 2.234(nless otherwise noted, the)-7.234 F F1(shopt)4.734 E F0 -2.234(options are disabled \(unset\) by)4.734 F(def)144 374.4 Q(ault.) --.1 E 1.544(The return status when listing options is zero if all)144 -391.2 R F2(optnames)4.044 E F0 1.544(are enabled, non-zero otherwise.) -4.044 F .696 +3.445 F(that may be reused as input.)144 650.4 Q(Other options ha)5 E .3 +-.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1144 662.4 Q +F0(Enable \(set\) each)180 662.4 Q F2(optname)2.5 E F0(.)A F1144 +674.4 Q F0(Disable \(unset\) each)180 674.4 Q F2(optname)2.5 E F0(.)A F1 +144 686.4 Q F0 .003(Suppresses normal output \(quiet mode\); the \ +return status indicates whether the)180 686.4 R F2(optname)2.503 E F0 +(is)2.503 E .255(set or unset.)180 698.4 R .255(If multiple)5.255 F F2 +(optname)2.755 E F0(ar)2.755 E .256(guments are gi)-.18 F -.15(ve)-.25 G +2.756(nw).15 G(ith)-2.756 E F12.756 E F0 2.756(,t)C .256 +(he return status is zero if)-2.756 F(all)180 710.4 Q F2(optnames)2.5 E +F0(are enabled; non-zero otherwise.)2.5 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(69)192.055 E 0 Cg EP +%%Page: 70 70 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF144 84 Q F0(Restricts the v)180 84 Q(alues of)-.25 E/F2 10 +/Times-Italic@0 SF(optname)2.5 E F0(to be those de\214ned for the)2.5 E +F12.5 E F0(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G +(iltin.).2 E .625(If either)144 100.8 R F13.125 E F0(or)3.124 E F1 +3.124 E F0 .624(is used with no)3.124 F F2(optname)3.124 E F0(ar) +3.124 E(guments,)-.18 E F1(shopt)3.124 E F0(sho)3.124 E .624 +(ws only those options which are)-.25 F 2.233(set or unset, respecti)144 +112.8 R -.15(ve)-.25 G(ly).15 E 7.234(.U)-.65 G 2.234 +(nless otherwise noted, the)-7.234 F F1(shopt)4.734 E F0 2.234 +(options are disabled \(unset\) by)4.734 F(def)144 124.8 Q(ault.)-.1 E +1.544(The return status when listing options is zero if all)144 141.6 R +F2(optnames)4.044 E F0 1.544(are enabled, non-zero otherwise.)4.044 F +.696 (When setting or unsetting options, the return status is zero unless an) -144 403.2 R F2(optname)3.196 E F0 .696(is not a v)3.196 F .696 -(alid shell)-.25 F(option.)144 415.2 Q(The list of)144 432 Q F1(shopt) -2.5 E F0(options is:)2.5 E F1(autocd)144 450 Q F0 .2 -(If set, a command name that is the name of a directory is e)11.11 F +144 153.6 R F2(optname)3.196 E F0 .696(is not a v)3.196 F .696 +(alid shell)-.25 F(option.)144 165.6 Q(The list of)144 182.4 Q F1(shopt) +2.5 E F0(options is:)2.5 E F1(autocd)144 200.4 Q F0 .2 +(If set, a command name that is the name of a directory is e)184 200.4 R -.15(xe)-.15 G .199(cuted as if it were the ar).15 F(gu-)-.18 E -(ment to the)184 462 Q F1(cd)2.5 E F0 2.5(command. This)2.5 F +(ment to the)184 212.4 Q F1(cd)2.5 E F0 2.5(command. This)2.5 F (option is only used by interacti)2.5 E .3 -.15(ve s)-.25 H(hells.).15 E -F1(cdable_v)144 474 Q(ars)-.1 E F0 .155(If set, an ar)184 486 R .155 +F1(cdable_v)144 224.4 Q(ars)-.1 E F0 .155(If set, an ar)184 236.4 R .155 (gument to the)-.18 F F1(cd)2.655 E F0 -.2(bu)2.655 G .156 (iltin command that is not a directory is assumed to be the).2 F -(name of a v)184 498 Q(ariable whose v)-.25 E -(alue is the directory to change to.)-.25 E F1(cdspell)144 510 Q F0 +(name of a v)184 248.4 Q(ariable whose v)-.25 E +(alue is the directory to change to.)-.25 E F1(cdspell)144 260.4 Q F0 1.055 -(If set, minor errors in the spelling of a directory component in a) -10.55 F F1(cd)3.555 E F0 1.055(command will be)3.555 F 3.987 -(corrected. The)184 522 R 1.487(errors check)3.987 F 1.487 +(If set, minor errors in the spelling of a directory component in a)184 +260.4 R F1(cd)3.555 E F0 1.055(command will be)3.555 F 3.987 +(corrected. The)184 272.4 R 1.487(errors check)3.987 F 1.487 (ed for are transposed characters, a missing character)-.1 F 3.988(,a) --.4 G(nd)-3.988 E .77(one character too man)184 534 R 4.57 -.65(y. I) +-.4 G(nd)-3.988 E .77(one character too man)184 284.4 R 4.57 -.65(y. I) -.15 H 3.27(fac).65 G .77 (orrection is found, the corrected \214lename is printed, and)-3.27 F -(the command proceeds.)184 546 Q(This option is only used by interacti)5 -E .3 -.15(ve s)-.25 H(hells.).15 E F1(checkhash)144 558 Q F0 2.079 -(If set,)184 570 R F1(bash)4.579 E F0 2.079 -(checks that a command found in the hash table e)4.579 F 2.08 -(xists before trying to)-.15 F -.15(exe)184 582 S(cute it.).15 E -(If a hashed command no longer e)5 E -(xists, a normal path search is performed.)-.15 E F1(checkjobs)144 594 Q -F0 .449(If set,)184 606 R F1(bash)2.949 E F0 .449 +(the command proceeds.)184 296.4 Q +(This option is only used by interacti)5 E .3 -.15(ve s)-.25 H(hells.) +.15 E F1(checkhash)144 308.4 Q F0 .736(If set,)184 320.4 R F1(bash)3.236 +E F0 .736(checks that a command found in the hash table e)3.236 F .737 +(xists before trying to e)-.15 F -.15(xe)-.15 G(-).15 E(cute it.)184 +332.4 Q(If a hashed command no longer e)5 E +(xists, a normal path search is performed.)-.15 E F1(checkjobs)144 344.4 +Q F0 .449(If set,)184 356.4 R F1(bash)2.949 E F0 .449 (lists the status of an)2.949 F 2.949(ys)-.15 G .448 (topped and running jobs before e)-2.949 F .448(xiting an interacti)-.15 -F -.15(ve)-.25 G 3.438(shell. If)184 618 R(an)3.438 E 3.438(yj)-.15 G +F -.15(ve)-.25 G 3.438(shell. If)184 368.4 R(an)3.438 E 3.438(yj)-.15 G .938(obs are running, this causes the e)-3.438 F .938 (xit to be deferred until a second e)-.15 F .939(xit is)-.15 F 2.203 -(attempted without an interv)184 630 R 2.203(ening command \(see)-.15 F -/F3 9/Times-Bold@0 SF 2.203(JOB CONTR)4.703 F(OL)-.27 E F0(abo)4.453 E --.15(ve)-.15 G 4.703(\). The).15 F(shell)4.703 E(al)184 642 Q -.1(wa)-.1 -G(ys postpones e).1 E(xiting if an)-.15 E 2.5(yj)-.15 G -(obs are stopped.)-2.5 E F1(checkwinsize)144 654 Q F0 .796(If set,)184 -666 R F1(bash)3.296 E F0 .796(checks the windo)3.296 F 3.296(ws)-.25 G +(attempted without an interv)184 380.4 R 2.203(ening command \(see)-.15 +F/F3 9/Times-Bold@0 SF 2.203(JOB CONTR)4.703 F(OL)-.27 E F0(abo)4.453 E +-.15(ve)-.15 G 4.703(\). The).15 F(shell)4.703 E(al)184 392.4 Q -.1(wa) +-.1 G(ys postpones e).1 E(xiting if an)-.15 E 2.5(yj)-.15 G +(obs are stopped.)-2.5 E F1(checkwinsize)144 404.4 Q F0 .796(If set,)184 +416.4 R F1(bash)3.296 E F0 .796(checks the windo)3.296 F 3.296(ws)-.25 G .797(ize after each command and, if necessary)-3.296 F 3.297(,u)-.65 G -.797(pdates the)-3.297 F -.25(va)184 678 S(lues of).25 E F3(LINES)2.5 E -F0(and)2.25 E F3(COLUMNS)2.5 E/F4 9/Times-Roman@0 SF(.)A F1(cmdhist)144 -690 Q F0 1.202(If set,)6.11 F F1(bash)3.702 E F0 1.202(attempts to sa) -3.702 F 1.502 -.15(ve a)-.2 H 1.202 +.797(pdates the)-3.297 F -.25(va)184 428.4 S(lues of).25 E F3(LINES)2.5 +E F0(and)2.25 E F3(COLUMNS)2.5 E/F4 9/Times-Roman@0 SF(.)A F1(cmdhist) +144 440.4 Q F0 1.202(If set,)184 440.4 R F1(bash)3.702 E F0 1.202 +(attempts to sa)3.702 F 1.502 -.15(ve a)-.2 H 1.202 (ll lines of a multiple-line command in the same history).15 F(entry)184 -702 Q 5(.T)-.65 G(his allo)-5 E -(ws easy re-editing of multi-line commands.)-.25 E(GNU Bash 4.3)72 768 Q -(2014 February 2)141.79 E(67)190.95 E 0 Cg EP -%%Page: 68 68 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(compat31)144 84 Q F0 .419(If set,)184 96 R -F1(bash)2.919 E F0 .419(changes its beha)2.919 F .419(vior to that of v) --.2 F .42(ersion 3.1 with respect to quoted ar)-.15 F(guments)-.18 E -.462(to the)184 108 R F1([[)2.962 E F0 .462(conditional command')2.962 F -(s)-.55 E F1(=~)2.962 E F0 .462 +452.4 Q 5(.T)-.65 G(his allo)-5 E +(ws easy re-editing of multi-line commands.)-.25 E F1(compat31)144 464.4 +Q F0 .419(If set,)184 476.4 R F1(bash)2.919 E F0 .419(changes its beha) +2.919 F .419(vior to that of v)-.2 F .42 +(ersion 3.1 with respect to quoted ar)-.15 F(guments)-.18 E .462(to the) +184 488.4 R F1([[)2.962 E F0 .462(conditional command')2.962 F(s)-.55 E +F1(=~)2.962 E F0 .462 (operator and locale-speci\214c string comparison when)2.962 F .71 -(using the)184 120 R F1([[)3.21 E F0 .71(conditional command')3.21 F(s) --.55 E F1(<)3.21 E F0(and)3.21 E F1(>)3.21 E F0 3.21(operators. Bash) +(using the)184 500.4 R F1([[)3.21 E F0 .71(conditional command')3.21 F +(s)-.55 E F1(<)3.21 E F0(and)3.21 E F1(>)3.21 E F0 3.21(operators. Bash) 3.21 F -.15(ve)3.21 G .71(rsions prior to bash-4.1).15 F .821 -(use ASCII collation and)184 132 R/F2 10/Times-Italic@0 SF(str)3.321 E -(cmp)-.37 E F0 .821(\(3\); bash-4.1 and later use the current locale') -.19 F 3.32(sc)-.55 G(ollation)-3.32 E(sequence and)184 144 Q F2(str)2.5 -E(coll)-.37 E F0(\(3\).).51 E F1(compat32)144 156 Q F0 1.409(If set,)184 -168 R F1(bash)3.909 E F0 1.409(changes its beha)3.909 F 1.409 -(vior to that of v)-.2 F 1.41 -(ersion 3.2 with respect to locale-speci\214c)-.15 F .423 -(string comparison when using the)184 180 R F1([[)2.922 E F0 .422 +(use ASCII collation and)184 512.4 R F2(str)3.321 E(cmp)-.37 E F0 .821 +(\(3\); bash-4.1 and later use the current locale').19 F 3.32(sc)-.55 G +(ollation)-3.32 E(sequence and)184 524.4 Q F2(str)2.5 E(coll)-.37 E F0 +(\(3\).).51 E F1(compat32)144 536.4 Q F0 1.409(If set,)184 548.4 R F1 +(bash)3.909 E F0 1.409(changes its beha)3.909 F 1.409(vior to that of v) +-.2 F 1.41(ersion 3.2 with respect to locale-speci\214c)-.15 F .423 +(string comparison when using the)184 560.4 R F1([[)2.922 E F0 .422 (conditional command')2.922 F(s)-.55 E F1(<)2.922 E F0(and)2.922 E F1(>) -2.922 E F0 .422(operators \(see pre-)2.922 F(vious item\).)184 192 Q F1 -(compat40)144 204 Q F0 1.409(If set,)184 216 R F1(bash)3.909 E F0 1.409 -(changes its beha)3.909 F 1.409(vior to that of v)-.2 F 1.41 -(ersion 4.0 with respect to locale-speci\214c)-.15 F 2.008 -(string comparison when using the)184 228 R F1([[)4.508 E F0 2.007 -(conditional command')4.508 F(s)-.55 E F1(<)4.507 E F0(and)4.507 E F1(>) -4.507 E F0 2.007(operators \(see)4.507 F .769(description of)184 240 R -F1(compat31)3.269 E F0 3.269(\)a)C .769(nd the ef)-3.269 F .769 -(fect of interrupting a command list.)-.25 F .77(Bash v)5.77 F(ersions) --.15 E .087(4.0 and later interrupt the list as if the shell recei)184 -252 R -.15(ve)-.25 G 2.586(dt).15 G .086(he interrupt; pre)-2.586 F .086 -(vious v)-.25 F .086(ersions con-)-.15 F(tinue with the ne)184 264 Q -(xt command in the list.)-.15 E F1(compat41)144 276 Q F0 1.483(If set,) -184 288 R F1(bash)3.983 E F0 3.983(,w)C 1.483(hen in)-3.983 F F2(posix) -3.983 E F0 1.484 -(mode, treats a single quote in a double-quoted parameter)3.983 F -.15 -(ex)184 300 S .959(pansion as a special character).15 F 5.959(.T)-.55 G -.958(he single quotes must match \(an e)-5.959 F -.15(ve)-.25 G 3.458 -(nn).15 G .958(umber\) and)-3.458 F .59 -(the characters between the single quotes are considered quoted.)184 312 -R .59(This is the beha)5.59 F .59(vior of)-.2 F .59 -(posix mode through v)184 324 R .589(ersion 4.1.)-.15 F .589(The def) -5.589 F .589(ault bash beha)-.1 F .589(vior remains as in pre)-.2 F .589 -(vious v)-.25 F(er)-.15 E(-)-.2 E(sions.)184 336 Q F1(compat42)144 348 Q -F0 1.796(If set,)184 360 R F1(bash)4.296 E F0 1.796 +2.922 E F0 .422(operators \(see pre-)2.922 F .48 +(vious item\) and the ef)184 572.4 R .481 +(fect of interrupting a command list.)-.25 F .481(Bash v)5.481 F .481 +(ersions 3.2 and earlier)-.15 F(continue with the ne)184 584.4 Q +(xt command in the list after one terminates due to an interrupt.)-.15 E +F1(compat40)144 596.4 Q F0 1.41(If set,)184 608.4 R F1(bash)3.91 E F0 +1.41(changes its beha)3.91 F 1.409(vior to that of v)-.2 F 1.409 +(ersion 4.0 with respect to locale-speci\214c)-.15 F 2.007 +(string comparison when using the)184 620.4 R F1([[)4.507 E F0 2.008 +(conditional command')4.507 F(s)-.55 E F1(<)4.508 E F0(and)4.508 E F1(>) +4.508 E F0 2.008(operators \(see)4.508 F .77(description of)184 632.4 R +F1(compat31)3.27 E F0 3.269(\)a)C .769(nd the ef)-3.269 F .769 +(fect of interrupting a command list.)-.25 F .769(Bash v)5.769 F +(ersions)-.15 E .086 +(4.0 and later interrupt the list as if the shell recei)184 644.4 R -.15 +(ve)-.25 G 2.587(dt).15 G .087(he interrupt; pre)-2.587 F .087(vious v) +-.25 F .087(ersions con-)-.15 F(tinue with the ne)184 656.4 Q +(xt command in the list.)-.15 E F1(compat41)144 668.4 Q F0 1.484 +(If set,)184 680.4 R F1(bash)3.984 E F0 3.984(,w)C 1.484(hen in)-3.984 F +F2(posix)3.984 E F0 1.483 +(mode, treats a single quote in a double-quoted parameter)3.984 F -.15 +(ex)184 692.4 S .958(pansion as a special character).15 F 5.958(.T)-.55 +G .959(he single quotes must match \(an e)-5.958 F -.15(ve)-.25 G 3.459 +(nn).15 G .959(umber\) and)-3.459 F .59 +(the characters between the single quotes are considered quoted.)184 +704.4 R .59(This is the beha)5.59 F .59(vior of)-.2 F .589 +(posix mode through v)184 716.4 R .589(ersion 4.1.)-.15 F .589(The def) +5.589 F .589(ault bash beha)-.1 F .589(vior remains as in pre)-.2 F .59 +(vious v)-.25 F(er)-.15 E(-)-.2 E(sions.)184 728.4 Q(GNU Bash 4.4)72 768 +Q(2016 August 26)142.895 E(70)192.055 E 0 Cg EP +%%Page: 71 71 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(compat42)144 84 Q F0 1.797(If set,)184 96 R F1(bash)4.297 E F0 1.796 (does not process the replacement string in the pattern substitution w) -4.296 F(ord)-.1 E -.15(ex)184 372 S(pansion using quote remo).15 E -.25 -(va)-.15 G(l.).25 E F1(complete_fullquote)144 384 Q F0 .654(If set,)184 -396 R F1(bash)3.153 E F0 .653(quotes all shell metacharacters in \214le\ -names and directory names when per)3.153 F(-)-.2 E 1.524 -(forming completion.)184 408 R 1.524(If not set,)6.524 F F1(bash)4.024 E -F0(remo)4.024 E -.15(ve)-.15 G 4.024(sm).15 G 1.524 -(etacharacters such as the dollar sign)-4.024 F 2.667(from the set of c\ -haracters that will be quoted in completed \214lenames when these)184 -420 R .028(metacharacters appear in shell v)184 432 R .028 -(ariable references in w)-.25 F .029(ords to be completed.)-.1 F .029 -(This means)5.029 F 1.073(that dollar signs in v)184 444 R 1.073 +4.296 F(ord)-.1 E -.15(ex)184 108 S(pansion using quote remo).15 E -.25 +(va)-.15 G(l.).25 E F1(compat43)144 120 Q F0 .14(If set,)184 132 R F1 +(bash)2.64 E F0 .14(does not print a w)2.64 F .141 +(arning message if an attempt is made to use a quoted com-)-.1 F .913 +(pound array assignment as an ar)184 144 R .913(gument to)-.18 F F1 +(declar)3.412 E(e)-.18 E F0 3.412(,m)C(ak)-3.412 E .912(es w)-.1 F .912 +(ord e)-.1 F .912(xpansion errors non-)-.15 F -.1(fa)184 156 S .352 +(tal errors that cause the current command to f).1 F .353(ail \(the def) +-.1 F .353(ault beha)-.1 F .353(vior is to mak)-.2 F 2.853(et)-.1 G(hem) +-2.853 E -.1(fa)184 168 S 1.058(tal errors that cause the shell to e).1 +F 1.057(xit\), and does not reset the loop state when a shell)-.15 F +.374(function is e)184 180 R -.15(xe)-.15 G .374(cuted \(this allo).15 F +(ws)-.25 E F1(br)2.874 E(eak)-.18 E F0(or)2.875 E F1(continue)2.875 E F0 +.375(in a shell function to af)2.875 F .375(fect loops in)-.25 F +(the caller')184 192 Q 2.5(sc)-.55 G(onte)-2.5 E(xt\).)-.15 E F1 +(complete_fullquote)144 204 Q F0 .654(If set,)184 216 R F1(bash)3.153 E +F0 .653(quotes all shell metacharacters in \214lenames and directory na\ +mes when per)3.153 F(-)-.2 E 1.524(forming completion.)184 228 R 1.524 +(If not set,)6.524 F F1(bash)4.024 E F0(remo)4.024 E -.15(ve)-.15 G +4.024(sm).15 G 1.524(etacharacters such as the dollar sign)-4.024 F +2.667(from the set of characters that will be quoted in completed \214l\ +enames when these)184 240 R .028(metacharacters appear in shell v)184 +252 R .028(ariable references in w)-.25 F .029(ords to be completed.)-.1 +F .029(This means)5.029 F 1.073(that dollar signs in v)184 264 R 1.073 (ariable names that e)-.25 F 1.073 (xpand to directories will not be quoted; ho)-.15 F(w-)-.25 E -2.15 -.25 -(ev e)184 456 T 1.922 -.4(r, a).25 H 1.422 -.15(ny d).4 H 1.123 +(ev e)184 276 T 1.922 -.4(r, a).25 H 1.422 -.15(ny d).4 H 1.123 (ollar signs appearing in \214lenames will not be quoted, either).15 F 6.123(.T)-.55 G 1.123(his is acti)-6.123 F -.15(ve)-.25 G .59 (only when bash is using backslashes to quote completed \214lenames.)184 -468 R .59(This v)5.59 F .59(ariable is set)-.25 F(by def)184 480 Q +288 R .59(This v)5.59 F .59(ariable is set)-.25 F(by def)184 300 Q (ault, which is the def)-.1 E(ault bash beha)-.1 E(vior in v)-.2 E -(ersions through 4.2.)-.15 E F1(dir)144 492 Q(expand)-.18 E F0 .486 -(If set,)184 504 R F1(bash)2.986 E F0 .486 +(ersions through 4.2.)-.15 E F1(dir)144 312 Q(expand)-.18 E F0 .486 +(If set,)184 324 R F1(bash)2.986 E F0 .486 (replaces directory names with the results of w)2.986 F .486(ord e)-.1 F .487(xpansion when perform-)-.15 F .18(ing \214lename completion.)184 -516 R .179(This changes the contents of the readline editing b)5.18 F +336 R .179(This changes the contents of the readline editing b)5.18 F (uf)-.2 E(fer)-.25 E 5.179(.I)-.55 G 2.679(fn)-5.179 G(ot)-2.679 E(set,) -184 528 Q F1(bash)2.5 E F0(attempts to preserv)2.5 E 2.5(ew)-.15 G -(hat the user typed.)-2.5 E F1(dirspell)144 540 Q F0 .858(If set,)7.77 F -F1(bash)3.358 E F0 .858 +184 348 Q F1(bash)2.5 E F0(attempts to preserv)2.5 E 2.5(ew)-.15 G +(hat the user typed.)-2.5 E F1(dirspell)144 360 Q F0 .858(If set,)184 +360 R F1(bash)3.358 E F0 .858 (attempts spelling correction on directory names during w)3.358 F .859 (ord completion if)-.1 F -(the directory name initially supplied does not e)184 552 Q(xist.)-.15 E -F1(dotglob)144 564 Q F0 .165(If set,)7.77 F F1(bash)2.665 E F0 .165 -(includes \214lenames be)2.665 F .165(ginning with a `.)-.15 F 2.665('i) --.7 G 2.665(nt)-2.665 G .165(he results of pathname e)-2.665 F -(xpansion.)-.15 E F1(execfail)144 576 Q F0 1.386 -(If set, a non-interacti)7.79 F 1.686 -.15(ve s)-.25 H 1.386 -(hell will not e).15 F 1.386(xit if it cannot e)-.15 F -.15(xe)-.15 G -1.387(cute the \214le speci\214ed as an).15 F(ar)184 588 Q +(the directory name initially supplied does not e)184 372 Q(xist.)-.15 E +F1(dotglob)144 384 Q F0(If set,)184 384 Q F1(bash)2.5 E F0 +(includes \214lenames be)2.5 E(ginning with a `.)-.15 E 2.5('i)-.7 G 2.5 +(nt)-2.5 G(he results of pathname e)-2.5 E(xpansion.)-.15 E F1(execfail) +144 396 Q F0 1.387(If set, a non-interacti)184 396 R 1.687 -.15(ve s) +-.25 H 1.386(hell will not e).15 F 1.386(xit if it cannot e)-.15 F -.15 +(xe)-.15 G 1.386(cute the \214le speci\214ed as an).15 F(ar)184 408 Q (gument to the)-.18 E F1(exec)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 E (An interacti)5 E .3 -.15(ve s)-.25 H(hell does not e).15 E(xit if)-.15 -E F1(exec)2.5 E F0 -.1(fa)2.5 G(ils.).1 E F1(expand_aliases)144 600 Q F0 -.717(If set, aliases are e)184 612 R .717(xpanded as described abo)-.15 -F 1.017 -.15(ve u)-.15 H(nder).15 E/F3 9/Times-Bold@0 SF(ALIASES)3.217 E -/F4 9/Times-Roman@0 SF(.)A F0 .716(This option is enabled)5.217 F -(by def)184 624 Q(ault for interacti)-.1 E .3 -.15(ve s)-.25 H(hells.) -.15 E F1(extdeb)144 636 Q(ug)-.2 E F0(If set, beha)184 648 Q -(vior intended for use by deb)-.2 E(uggers is enabled:)-.2 E F1(1.)184 -660 Q F0(The)28.5 E F14.25 E F0 1.75(option to the)4.25 F F1 -(declar)4.251 E(e)-.18 E F0 -.2(bu)4.251 G 1.751 -(iltin displays the source \214le name and line).2 F -(number corresponding to each function name supplied as an ar)220 672 Q -(gument.)-.18 E F1(2.)184 684 Q F0 1.667(If the command run by the)28.5 -F F1(DEB)4.167 E(UG)-.1 E F0 1.667(trap returns a non-zero v)4.167 F -1.667(alue, the ne)-.25 F(xt)-.15 E(command is skipped and not e)220 696 -Q -.15(xe)-.15 G(cuted.).15 E F1(3.)184 708 Q F0 .84 -(If the command run by the)28.5 F F1(DEB)3.34 E(UG)-.1 E F0 .841 -(trap returns a v)3.341 F .841(alue of 2, and the shell is)-.25 F -.15 -(exe)220 720 S .488 +E F1(exec)2.5 E F0 -.1(fa)2.5 G(ils.).1 E F1(expand_aliases)144 420 Q F0 +.716(If set, aliases are e)184 432 R .717(xpanded as described abo)-.15 +F 1.017 -.15(ve u)-.15 H(nder).15 E/F2 9/Times-Bold@0 SF(ALIASES)3.217 E +/F3 9/Times-Roman@0 SF(.)A F0 .717(This option is enabled)5.217 F +(by def)184 444 Q(ault for interacti)-.1 E .3 -.15(ve s)-.25 H(hells.) +.15 E F1(extdeb)144 456 Q(ug)-.2 E F0 .672(If set at shell in)184 468 R +-.2(vo)-.4 G .672(cation, arrange to e).2 F -.15(xe)-.15 G .671 +(cute the deb).15 F .671(ugger pro\214le before the shell starts,)-.2 F +.22(identical to the)184 480 R F12.72 E(ugger)-.2 E F0 2.721 +(option. If)2.721 F .221(set after in)2.721 F -.2(vo)-.4 G .221 +(cation, beha).2 F .221(vior intended for use by)-.2 F(deb)184 492 Q +(uggers is enabled:)-.2 E F1(1.)184 504 Q F0(The)220 504 Q F14.251 +E F0 1.751(option to the)4.251 F F1(declar)4.251 E(e)-.18 E F0 -.2(bu) +4.251 G 1.751(iltin displays the source \214le name and line).2 F +(number corresponding to each function name supplied as an ar)220 516 Q +(gument.)-.18 E F1(2.)184 528 Q F0 1.667(If the command run by the)220 +528 R F1(DEB)4.167 E(UG)-.1 E F0 1.667(trap returns a non-zero v)4.167 F +1.667(alue, the ne)-.25 F(xt)-.15 E(command is skipped and not e)220 540 +Q -.15(xe)-.15 G(cuted.).15 E F1(3.)184 552 Q F0 .841 +(If the command run by the)220 552 R F1(DEB)3.341 E(UG)-.1 E F0 .841 +(trap returns a v)3.341 F .84(alue of 2, and the shell is)-.25 F -.15 +(exe)220 564 S .488 (cuting in a subroutine \(a shell function or a shell script e).15 F --.15(xe)-.15 G .488(cuted by the).15 F F1(.)2.988 E F0(or)2.988 E -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(68)190.95 E 0 Cg EP -%%Page: 69 69 +-.15(xe)-.15 G .488(cuted by the).15 F F1(.)2.988 E F0(or)2.988 E F1 +(sour)220 576 Q(ce)-.18 E F0 -.2(bu)2.5 G +(iltins\), the shell simulates a call to).2 E F1 -.18(re)2.5 G(tur).18 E +(n)-.15 E F0(.)A F1(4.)184 588 Q F2 -.27(BA)220 588 S(SH_ARGC).27 E F0 +(and)3.154 E F2 -.27(BA)3.404 G(SH_ARGV).27 E F0 .904 +(are updated as described in their descriptions)3.154 F(abo)220 600 Q +-.15(ve)-.15 G(.).15 E F1(5.)184 612 Q F0 1.637(Function tracing is ena\ +bled: command substitution, shell functions, and sub-)220 612 R +(shells in)220 624 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1 +(\()2.5 E/F4 10/Times-Italic@0 SF(command)2.5 E F1(\))2.5 E F0 +(inherit the)2.5 E F1(DEB)2.5 E(UG)-.1 E F0(and)2.5 E F1(RETURN)2.5 E F0 +(traps.)2.5 E F1(6.)184 636 Q F0 1.082(Error tracing is enabled: comman\ +d substitution, shell functions, and subshells)220 636 R(in)220 648 Q +-.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E F4(command) +2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1(ERR)2.5 E F0(trap.)2.5 E F1 +(extglob)144 660 Q F0 .4(If set, the e)184 660 R .4 +(xtended pattern matching features described abo)-.15 F .7 -.15(ve u) +-.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 672 Q +F0(are enabled.)2.5 E F1(extquote)144 684 Q F0 2.473(If set,)184 696 R +F1($)4.973 E F0<08>A F4(string)A F0 4.973<0861>C(nd)-4.973 E F1($)4.973 +E F0(")A F4(string)A F0 4.973("q)C 2.473(uoting is performed within) +-4.973 F F1(${)4.973 E F4(par)A(ameter)-.15 E F1(})A F0 -.15(ex)4.973 G +(pansions).15 E(enclosed in double quotes.)184 708 Q +(This option is enabled by def)5 E(ault.)-.1 E(GNU Bash 4.4)72 768 Q +(2016 August 26)142.895 E(71)192.055 E 0 Cg EP +%%Page: 72 72 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(sour)220 84 Q(ce)-.18 E F0 -.2(bu)2.5 G -(iltins\), a call to).2 E F1 -.18(re)2.5 G(tur).18 E(n)-.15 E F0 -(is simulated.)2.5 E F1(4.)184 96 Q/F2 9/Times-Bold@0 SF -.27(BA)28.5 G -(SH_ARGC).27 E F0(and)3.153 E F2 -.27(BA)3.403 G(SH_ARGV).27 E F0 .904 -(are updated as described in their descriptions)3.154 F(abo)220 108 Q --.15(ve)-.15 G(.).15 E F1(5.)184 120 Q F0 1.359 -(Function tracing is enabled:)28.5 F 1.359 -(command substitution, shell functions, and sub-)6.359 F(shells in)220 -132 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E/F3 10 -/Times-Italic@0 SF(command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1 -(DEB)2.5 E(UG)-.1 E F0(and)2.5 E F1(RETURN)2.5 E F0(traps.)2.5 E F1(6.) -184 144 Q F0 .804(Error tracing is enabled:)28.5 F .805 -(command substitution, shell functions, and subshells)5.804 F(in)220 156 -Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E F3 -(command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1(ERR)2.5 E F0(trap.) -2.5 E F1(extglob)144 168 Q F0 .4(If set, the e)8.89 F .4 -(xtended pattern matching features described abo)-.15 F .7 -.15(ve u) --.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 180 Q -F0(are enabled.)2.5 E F1(extquote)144 192 Q F0 2.473(If set,)184 204 R -F1($)4.973 E F0<08>A F3(string)A F0 4.973<0861>C(nd)-4.973 E F1($)4.973 -E F0(")A F3(string)A F0 4.973("q)C 2.473(uoting is performed within) --4.973 F F1(${)4.973 E F3(par)A(ameter)-.15 E F1(})A F0 -.15(ex)4.973 G -(pansions).15 E(enclosed in double quotes.)184 216 Q -(This option is enabled by def)5 E(ault.)-.1 E F1(failglob)144 228 Q F0 -1.425(If set, patterns which f)7.77 F 1.425 -(ail to match \214lenames during pathname e)-.1 F 1.424 -(xpansion result in an)-.15 F -.15(ex)184 240 S(pansion error).15 E(.) --.55 E F1 -.25(fo)144 252 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 E F0 -.936(If set, the suf)184 264 R<8c78>-.25 E .936(es speci\214ed by the) --.15 F F2(FIGNORE)3.436 E F0 .936(shell v)3.186 F .936(ariable cause w) --.25 F .937(ords to be ignored)-.1 F .32(when performing w)184 276 R .32 -(ord completion e)-.1 F -.15(ve)-.25 G 2.82(ni).15 G 2.82(ft)-2.82 G .32 -(he ignored w)-2.82 F .32(ords are the only possible com-)-.1 F 2.947 -(pletions. See)184 288 R F2 .447(SHELL V)2.947 F(ARIABLES)-1.215 E F0 -(abo)2.697 E .747 -.15(ve f)-.15 H .448(or a description of).15 F F2 -(FIGNORE)2.948 E/F4 9/Times-Roman@0 SF(.)A F0 .448(This option is)4.948 -F(enabled by def)184 300 Q(ault.)-.1 E F1(globasciiranges)144 312 Q F0 -2.519(If set, range e)184 324 R 2.519 -(xpressions used in pattern matching brack)-.15 F 2.518(et e)-.1 F 2.518 -(xpressions \(see)-.15 F F2 -.09(Pa)5.018 G(tter).09 E(n)-.135 E -(Matching)184 336 Q F0(abo)2.964 E -.15(ve)-.15 G 3.214(\)b).15 G(eha) --3.214 E 1.014 -.15(ve a)-.2 H 3.214(si).15 G 3.214(fi)-3.214 G 3.214 -(nt)-3.214 G .714(he traditional C locale when performing comparisons.) --3.214 F 1.02(That is, the current locale')184 348 R 3.52(sc)-.55 G 1.02 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(failglob)144 84 Q F0 1.424(If set, patterns which f)184 84 R 1.425 +(ail to match \214lenames during pathname e)-.1 F 1.425 +(xpansion result in an)-.15 F -.15(ex)184 96 S(pansion error).15 E(.) +-.55 E F1 -.25(fo)144 108 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 E F0 +.937(If set, the suf)184 120 R<8c78>-.25 E .936(es speci\214ed by the) +-.15 F/F2 9/Times-Bold@0 SF(FIGNORE)3.436 E F0 .936(shell v)3.186 F .936 +(ariable cause w)-.25 F .936(ords to be ignored)-.1 F .32 +(when performing w)184 132 R .32(ord completion e)-.1 F -.15(ve)-.25 G +2.82(ni).15 G 2.82(ft)-2.82 G .32(he ignored w)-2.82 F .32 +(ords are the only possible com-)-.1 F 2.948(pletions. See)184 144 R F2 +.448(SHELL V)2.948 F(ARIABLES)-1.215 E F0(abo)2.698 E .748 -.15(ve f) +-.15 H .448(or a description of).15 F F2(FIGNORE)2.947 E/F3 9 +/Times-Roman@0 SF(.)A F0 .447(This option is)4.947 F(enabled by def)184 +156 Q(ault.)-.1 E F1(globasciiranges)144 168 Q F0 2.518(If set, range e) +184 180 R 2.519(xpressions used in pattern matching brack)-.15 F 2.519 +(et e)-.1 F 2.519(xpressions \(see)-.15 F F2 -.09(Pa)5.019 G(tter).09 E +(n)-.135 E(Matching)184 192 Q F0(abo)2.965 E -.15(ve)-.15 G 3.215(\)b) +.15 G(eha)-3.215 E 1.015 -.15(ve a)-.2 H 3.214(si).15 G 3.214(fi)-3.214 +G 3.214(nt)-3.214 G .714 +(he traditional C locale when performing comparisons.)-3.214 F 1.02 +(That is, the current locale')184 204 R 3.52(sc)-.55 G 1.02 (ollating sequence is not tak)-3.52 F 1.02(en into account, so)-.1 F F1 -(b)3.52 E F0 1.02(will not)3.52 F .956(collate between)184 360 R F1(A) -3.456 E F0(and)3.456 E F1(B)3.456 E F0 3.457(,a)C .957(nd upper)-3.457 F -.957(-case and lo)-.2 F(wer)-.25 E .957 -(-case ASCII characters will collate)-.2 F(together)184 372 Q(.)-.55 E -F1(globstar)144 384 Q F0 .519(If set, the pattern)5 F F1(**)3.019 E F0 -.519(used in a pathname e)3.019 F .519(xpansion conte)-.15 F .518 -(xt will match all \214les and zero)-.15 F .431 -(or more directories and subdirectories.)184 396 R .431 -(If the pattern is follo)5.431 F .432(wed by a)-.25 F F1(/)2.932 E F0 -2.932(,o)C .432(nly directories)-2.932 F(and subdirectories match.)184 -408 Q F1(gnu_errfmt)144 420 Q F0(If set, shell error messages are writt\ -en in the standard GNU error message format.)184 432 Q F1(histappend)144 -444 Q F0 .676 +(b)3.52 E F0 1.02(will not)3.52 F .957(collate between)184 216 R F1(A) +3.457 E F0(and)3.457 E F1(B)3.457 E F0 3.457(,a)C .957(nd upper)-3.457 F +.957(-case and lo)-.2 F(wer)-.25 E .956 +(-case ASCII characters will collate)-.2 F(together)184 228 Q(.)-.55 E +F1(globstar)144 240 Q F0 .518(If set, the pattern)184 240 R F1(**)3.018 +E F0 .519(used in a pathname e)3.019 F .519(xpansion conte)-.15 F .519 +(xt will match all \214les and zero)-.15 F .432 +(or more directories and subdirectories.)184 252 R .431 +(If the pattern is follo)5.432 F .431(wed by a)-.25 F F1(/)2.931 E F0 +2.931(,o)C .431(nly directories)-2.931 F(and subdirectories match.)184 +264 Q F1(gnu_errfmt)144 276 Q F0(If set, shell error messages are writt\ +en in the standard GNU error message format.)184 288 Q F1(histappend)144 +300 Q F0 .676 (If set, the history list is appended to the \214le named by the v)184 -456 R .676(alue of the)-.25 F F2(HISTFILE)3.176 E F0 -.25(va)2.926 G -(ri-).25 E(able when the shell e)184 468 Q(xits, rather than o)-.15 E --.15(ve)-.15 G(rwriting the \214le.).15 E F1(histr)144 480 Q(eedit)-.18 -E F0 .575(If set, and)184 492 R F1 -.18(re)3.075 G(adline).18 E F0 .575 -(is being used, a user is gi)3.075 F -.15(ve)-.25 G 3.075(nt).15 G .576 -(he opportunity to re-edit a f)-3.075 F .576(ailed his-)-.1 F -(tory substitution.)184 504 Q F1(histv)144 516 Q(erify)-.1 E F0 .403 -(If set, and)184 528 R F1 -.18(re)2.903 G(adline).18 E F0 .403 +312 R .676(alue of the)-.25 F F2(HISTFILE)3.177 E F0 -.25(va)2.927 G +(ri-).25 E(able when the shell e)184 324 Q(xits, rather than o)-.15 E +-.15(ve)-.15 G(rwriting the \214le.).15 E F1(histr)144 336 Q(eedit)-.18 +E F0 .576(If set, and)184 348 R F1 -.18(re)3.076 G(adline).18 E F0 .575 +(is being used, a user is gi)3.076 F -.15(ve)-.25 G 3.075(nt).15 G .575 +(he opportunity to re-edit a f)-3.075 F .575(ailed his-)-.1 F +(tory substitution.)184 360 Q F1(histv)144 372 Q(erify)-.1 E F0 .402 +(If set, and)184 384 R F1 -.18(re)2.903 G(adline).18 E F0 .403 (is being used, the results of history substitution are not immediately) -2.903 F .661(passed to the shell parser)184 540 R 5.661(.I)-.55 G .662 -(nstead, the resulting line is loaded into the)-5.661 F F1 -.18(re)3.162 -G(adline).18 E F0(editing)3.162 E -.2(bu)184 552 S -.25(ff).2 G(er).25 E +2.903 F .662(passed to the shell parser)184 396 R 5.662(.I)-.55 G .661 +(nstead, the resulting line is loaded into the)-5.662 F F1 -.18(re)3.161 +G(adline).18 E F0(editing)3.161 E -.2(bu)184 408 S -.25(ff).2 G(er).25 E 2.5(,a)-.4 G(llo)-2.5 E(wing further modi\214cation.)-.25 E F1 -(hostcomplete)144 564 Q F0 1.182(If set, and)184 576 R F1 -.18(re)3.682 -G(adline).18 E F0 1.182(is being used,)3.682 F F1(bash)3.682 E F0 1.181 -(will attempt to perform hostname completion)3.681 F 1.38(when a w)184 -588 R 1.38(ord containing a)-.1 F F1(@)3.881 E F0 1.381 -(is being completed \(see)3.881 F F1(Completing)3.881 E F0(under)3.881 E -F2(READLINE)3.881 E F0(abo)184 600 Q -.15(ve)-.15 G 2.5(\). This).15 F -(is enabled by def)2.5 E(ault.)-.1 E F1(huponexit)144 612 Q F0(If set,) -184 624 Q F1(bash)2.5 E F0(will send)2.5 E F2(SIGHUP)2.5 E F0 +(hostcomplete)144 420 Q F0 1.181(If set, and)184 432 R F1 -.18(re)3.681 +G(adline).18 E F0 1.181(is being used,)3.681 F F1(bash)3.682 E F0 1.182 +(will attempt to perform hostname completion)3.682 F 1.381(when a w)184 +444 R 1.381(ord containing a)-.1 F F1(@)3.881 E F0 1.381 +(is being completed \(see)3.881 F F1(Completing)3.88 E F0(under)3.88 E +F2(READLINE)3.88 E F0(abo)184 456 Q -.15(ve)-.15 G 2.5(\). This).15 F +(is enabled by def)2.5 E(ault.)-.1 E F1(huponexit)144 468 Q F0(If set,) +184 480 Q F1(bash)2.5 E F0(will send)2.5 E F2(SIGHUP)2.5 E F0 (to all jobs when an interacti)2.25 E .3 -.15(ve l)-.25 H(ogin shell e) -.15 E(xits.)-.15 E F1(interacti)144 636 Q -.1(ve)-.1 G(_comments).1 E F0 -.33(If set, allo)184 648 R 2.83(waw)-.25 G .33(ord be)-2.93 F .33 +.15 E(xits.)-.15 E F1(inherit_err)144 492 Q(exit)-.18 E F0 .219 +(If set, command substitution inherits the v)184 504 R .219(alue of the) +-.25 F F1(err)2.719 E(exit)-.18 E F0 .22(option, instead of unsetting) +2.719 F(it in the subshell en)184 516 Q 2.5(vironment. This)-.4 F +(option is enabled when)2.5 E/F4 10/Times-Italic@0 SF(posix mode)2.5 E +F0(is enabled.)2.5 E F1(interacti)144 528 Q -.1(ve)-.1 G(_comments).1 E +F0 .33(If set, allo)184 540 R 2.83(waw)-.25 G .33(ord be)-2.93 F .33 (ginning with)-.15 F F1(#)2.83 E F0 .33(to cause that w)2.83 F .33 (ord and all remaining characters on)-.1 F .967 -(that line to be ignored in an interacti)184 660 R 1.267 -.15(ve s)-.25 +(that line to be ignored in an interacti)184 552 R 1.267 -.15(ve s)-.25 H .967(hell \(see).15 F F2(COMMENTS)3.467 E F0(abo)3.217 E -.15(ve)-.15 -G 3.467(\). This).15 F .968(option is)3.468 F(enabled by def)184 672 Q -(ault.)-.1 E F1(lastpipe)144 684 Q F0 1.212 -(If set, and job control is not acti)6.66 F -.15(ve)-.25 G 3.712(,t).15 -G 1.212(he shell runs the last command of a pipeline not)-3.712 F -.15 -(exe)184 696 S(cuted in the background in the current shell en).15 E -(vironment.)-.4 E F1(lithist)144 708 Q F0 .654(If set, and the)15.55 F -F1(cmdhist)3.154 E F0 .654 +G 3.467(\). This).15 F .968(option is)3.468 F(enabled by def)184 564 Q +(ault.)-.1 E F1(lastpipe)144 576 Q F0 .066 +(If set, and job control is not acti)184 576 R -.15(ve)-.25 G 2.566(,t) +.15 G .066(he shell runs the last command of a pipeline not e)-2.566 F +-.15(xe)-.15 G(-).15 E(cuted in the background in the current shell en) +184 588 Q(vironment.)-.4 E F1(lithist)144 600 Q F0 .654(If set, and the) +184 600 R F1(cmdhist)3.154 E F0 .654 (option is enabled, multi-line commands are sa)3.154 F -.15(ve)-.2 G 3.155(dt).15 G 3.155(ot)-3.155 G .655(he history)-3.155 F -(with embedded ne)184 720 Q -(wlines rather than using semicolon separators where possible.)-.25 E -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(69)190.95 E 0 Cg EP -%%Page: 70 70 +(with embedded ne)184 612 Q +(wlines rather than using semicolon separators where possible.)-.25 E F1 +(login_shell)144 624 Q F0 .486 +(The shell sets this option if it is started as a login shell \(see)184 +636 R F2(INV)2.986 E(OCA)-.405 E(TION)-.855 E F0(abo)2.736 E -.15(ve) +-.15 G 2.986(\). The).15 F -.25(va)184 648 S(lue may not be changed.).25 +E F1(mailwar)144 660 Q(n)-.15 E F0 .814(If set, and a \214le that)184 +672 R F1(bash)3.314 E F0 .815 +(is checking for mail has been accessed since the last time it)3.314 F +-.1(wa)184 684 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E +(`The mail in)-.74 E F4(mail\214le)2.5 E F0(has been read')2.5 E 2.5('i) +-.74 G 2.5(sd)-2.5 G(isplayed.)-2.5 E F1(no_empty_cmd_completion)144 696 +Q F0 .325(If set, and)184 708 R F1 -.18(re)2.825 G(adline).18 E F0 .325 +(is being used,)2.825 F F1(bash)2.824 E F0 .324 +(will not attempt to search the)2.824 F F2 -.666(PA)2.824 G(TH)-.189 E +F0 .324(for possible)2.574 F +(completions when completion is attempted on an empty line.)184 720 Q +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(72)192.055 E 0 Cg EP +%%Page: 73 73 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(login_shell)144 84 Q F0 .486 -(The shell sets this option if it is started as a login shell \(see)184 -96 R/F2 9/Times-Bold@0 SF(INV)2.986 E(OCA)-.405 E(TION)-.855 E F0(abo) -2.736 E -.15(ve)-.15 G 2.986(\). The).15 F -.25(va)184 108 S -(lue may not be changed.).25 E F1(mailwar)144 120 Q(n)-.15 E F0 .814 -(If set, and a \214le that)184 132 R F1(bash)3.314 E F0 .815 -(is checking for mail has been accessed since the last time it)3.314 F --.1(wa)184 144 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E -(`The mail in)-.74 E/F3 10/Times-Italic@0 SF(mail\214le)2.5 E F0 -(has been read')2.5 E 2.5('i)-.74 G 2.5(sd)-2.5 G(isplayed.)-2.5 E F1 -(no_empty_cmd_completion)144 156 Q F0 .325(If set, and)184 168 R F1 -.18 -(re)2.825 G(adline).18 E F0 .325(is being used,)2.825 F F1(bash)2.824 E -F0 .324(will not attempt to search the)2.824 F F2 -.666(PA)2.824 G(TH) --.189 E F0 .324(for possible)2.574 F -(completions when completion is attempted on an empty line.)184 180 Q F1 -(nocaseglob)144 192 Q F0 .436(If set,)184 204 R F1(bash)2.936 E F0 .436 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10/Times-Bold@0 +SF(nocaseglob)144 84 Q F0 .436(If set,)184 96 R F1(bash)2.936 E F0 .436 (matches \214lenames in a case\255insensiti)2.936 F .737 -.15(ve f)-.25 -H .437(ashion when performing pathname).05 F -.15(ex)184 216 S +H .437(ashion when performing pathname).05 F -.15(ex)184 108 S (pansion \(see).15 E F1 -.1(Pa)2.5 G(thname Expansion).1 E F0(abo)2.5 E --.15(ve)-.15 G(\).).15 E F1(nocasematch)144 228 Q F0 1.194(If set,)184 -240 R F1(bash)3.694 E F0 1.194(matches patterns in a case\255insensiti) +-.15(ve)-.15 G(\).).15 E F1(nocasematch)144 120 Q F0 1.194(If set,)184 +132 R F1(bash)3.694 E F0 1.194(matches patterns in a case\255insensiti) 3.694 F 1.493 -.15(ve f)-.25 H 1.193(ashion when performing matching).05 -F(while e)184 252 Q -.15(xe)-.15 G(cuting).15 E F1(case)2.5 E F0(or)2.5 -E F1([[)2.5 E F0(conditional commands.)2.5 E F1(nullglob)144 264 Q F0 -.854(If set,)184 276 R F1(bash)3.354 E F0(allo)3.354 E .855 -(ws patterns which match no \214les \(see)-.25 F F1 -.1(Pa)3.355 G .855 -(thname Expansion).1 F F0(abo)3.355 E -.15(ve)-.15 G 3.355(\)t).15 G(o) --3.355 E -.15(ex)184 288 S(pand to a null string, rather than themselv) -.15 E(es.)-.15 E F1(pr)144 300 Q(ogcomp)-.18 E F0 .677 -(If set, the programmable completion f)184 312 R .677(acilities \(see) --.1 F F1(Pr)3.176 E .676(ogrammable Completion)-.18 F F0(abo)3.176 E --.15(ve)-.15 G(\)).15 E(are enabled.)184 324 Q -(This option is enabled by def)5 E(ault.)-.1 E F1(pr)144 336 Q(omptv) --.18 E(ars)-.1 E F0 1.447(If set, prompt strings under)184 348 R 1.448 -(go parameter e)-.18 F 1.448(xpansion, command substitution, arithmetic) --.15 F -.15(ex)184 360 S .171(pansion, and quote remo).15 F -.25(va)-.15 -G 2.67(la).25 G .17(fter being e)-2.67 F .17(xpanded as described in) --.15 F F2(PR)2.67 E(OMPTING)-.27 E F0(abo)2.42 E -.15(ve)-.15 G(.).15 E -(This option is enabled by def)184 372 Q(ault.)-.1 E F1 -.18(re)144 384 -S(stricted_shell).18 E F0 1.069 +F .551(while e)184 144 R -.15(xe)-.15 G(cuting).15 E F1(case)3.051 E F0 +(or)3.051 E F1([[)3.051 E F0 .551 +(conditional commands, when performing pattern substitution)3.051 F -.1 +(wo)184 156 S .623(rd e).1 F .623(xpansions, or when \214ltering possib\ +le completions as part of programmable com-)-.15 F(pletion.)184 168 Q F1 +(nullglob)144 180 Q F0 .854(If set,)184 192 R F1(bash)3.354 E F0(allo) +3.354 E .855(ws patterns which match no \214les \(see)-.25 F F1 -.1(Pa) +3.355 G .855(thname Expansion).1 F F0(abo)3.355 E -.15(ve)-.15 G 3.355 +(\)t).15 G(o)-3.355 E -.15(ex)184 204 S +(pand to a null string, rather than themselv).15 E(es.)-.15 E F1(pr)144 +216 Q(ogcomp)-.18 E F0 .677(If set, the programmable completion f)184 +228 R .677(acilities \(see)-.1 F F1(Pr)3.176 E .676 +(ogrammable Completion)-.18 F F0(abo)3.176 E -.15(ve)-.15 G(\)).15 E +(are enabled.)184 240 Q(This option is enabled by def)5 E(ault.)-.1 E F1 +(pr)144 252 Q(omptv)-.18 E(ars)-.1 E F0 1.447 +(If set, prompt strings under)184 264 R 1.448(go parameter e)-.18 F +1.448(xpansion, command substitution, arithmetic)-.15 F -.15(ex)184 276 +S .171(pansion, and quote remo).15 F -.25(va)-.15 G 2.67(la).25 G .17 +(fter being e)-2.67 F .17(xpanded as described in)-.15 F/F2 9 +/Times-Bold@0 SF(PR)2.67 E(OMPTING)-.27 E F0(abo)2.42 E -.15(ve)-.15 G +(.).15 E(This option is enabled by def)184 288 Q(ault.)-.1 E F1 -.18(re) +144 300 S(stricted_shell).18 E F0 1.069 (The shell sets this option if it is started in restricted mode \(see) -184 396 R F2 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 408 Q 4.178 -(w\). The)-.25 F -.25(va)4.178 G 1.678(lue may not be changed.).25 F -1.678(This is not reset when the startup \214les are)6.678 F -.15(exe) -184 420 S(cuted, allo).15 E(wing the startup \214les to disco)-.25 E +184 312 R F2 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 324 Q 2.86 +(w\). The)-.25 F -.25(va)2.86 G .36(lue may not be changed.).25 F .36 +(This is not reset when the startup \214les are e)5.36 F -.15(xe)-.15 G +(-).15 E(cuted, allo)184 336 Q(wing the startup \214les to disco)-.25 E -.15(ve)-.15 G 2.5(rw).15 G(hether or not a shell is restricted.)-2.5 E -F1(shift_v)144 432 Q(erbose)-.1 E F0 .501(If set, the)184 444 R F1 +F1(shift_v)144 348 Q(erbose)-.1 E F0 .501(If set, the)184 360 R F1 (shift)3.001 E F0 -.2(bu)3.001 G .501 (iltin prints an error message when the shift count e).2 F .502 -(xceeds the number)-.15 F(of positional parameters.)184 456 Q F1(sour) -144 468 Q(cepath)-.18 E F0 .771(If set, the)184 480 R F1(sour)3.271 E +(xceeds the number)-.15 F(of positional parameters.)184 372 Q F1(sour) +144 384 Q(cepath)-.18 E F0 .771(If set, the)184 396 R F1(sour)3.271 E (ce)-.18 E F0(\()3.271 E F1(.)A F0 3.271(\)b)C .771(uiltin uses the v) -3.471 F .771(alue of)-.25 F F2 -.666(PA)3.27 G(TH)-.189 E F0 .77 (to \214nd the directory containing the)3.02 F(\214le supplied as an ar) -184 492 Q 2.5(gument. This)-.18 F(option is enabled by def)2.5 E(ault.) --.1 E F1(xpg_echo)144 504 Q F0(If set, the)184 516 Q F1(echo)2.5 E F0 +184 408 Q 2.5(gument. This)-.18 F(option is enabled by def)2.5 E(ault.) +-.1 E F1(xpg_echo)144 420 Q F0(If set, the)184 432 Q F1(echo)2.5 E F0 -.2(bu)2.5 G(iltin e).2 E(xpands backslash-escape sequences by def)-.15 -E(ault.)-.1 E F1(suspend)108 532.8 Q F0([)2.5 E F1A F0(])A 1.001 -(Suspend the e)144 544.8 R -.15(xe)-.15 G 1.001 +E(ault.)-.1 E F1(suspend)108 448.8 Q F0([)2.5 E F1A F0(])A 1.001 +(Suspend the e)144 460.8 R -.15(xe)-.15 G 1.001 (cution of this shell until it recei).15 F -.15(ve)-.25 G 3.501(sa).15 G F2(SIGCONT)A F0 3.502(signal. A)3.252 F 1.002(login shell cannot be) -3.502 F .023(suspended; the)144 556.8 R F12.523 E F0 .023 +3.502 F .023(suspended; the)144 472.8 R F12.523 E F0 .023 (option can be used to o)2.523 F -.15(ve)-.15 G .022 (rride this and force the suspension.).15 F .022(The return status is) -5.022 F 2.5(0u)144 568.8 S(nless the shell is a login shell and)-2.5 E +5.022 F 2.5(0u)144 484.8 S(nless the shell is a login shell and)-2.5 E F12.5 E F0(is not supplied, or if job control is not enabled.)2.5 -E F1(test)108 585.6 Q F3 -.2(ex)2.5 G(pr).2 E F1([)108 597.6 Q F3 -.2 -(ex)2.5 G(pr).2 E F1(])2.5 E F0 .877 -(Return a status of 0 \(true\) or 1 \(f)6.77 F .878 +E F1(test)108 501.6 Q/F3 10/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F1([) +108 513.6 Q F3 -.2(ex)2.5 G(pr).2 E F1(])2.5 E F0 .877 +(Return a status of 0 \(true\) or 1 \(f)144 513.6 R .878 (alse\) depending on the e)-.1 F -.25(va)-.25 G .878 -(luation of the conditional e).25 F(xpression)-.15 E F3 -.2(ex)144 609.6 +(luation of the conditional e).25 F(xpression)-.15 E F3 -.2(ex)144 525.6 S(pr).2 E F0 5.53(.E).73 G .53 (ach operator and operand must be a separate ar)-5.53 F 3.03 (gument. Expressions)-.18 F .53(are composed of the)3.03 F 3.079 -(primaries described abo)144 621.6 R 3.379 -.15(ve u)-.15 H(nder).15 E +(primaries described abo)144 537.6 R 3.379 -.15(ve u)-.15 H(nder).15 E F2(CONDITION)5.579 E 3.079(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF (.)A F1(test)7.579 E F0 3.08(does not accept an)5.58 F(y)-.15 E -(options, nor does it accept and ignore an ar)144 633.6 Q(gument of)-.18 +(options, nor does it accept and ignore an ar)144 549.6 Q(gument of)-.18 E F12.5 E F0(as signifying the end of options.)2.5 E .786 -(Expressions may be combined using the follo)144 651.6 R .785 +(Expressions may be combined using the follo)144 567.6 R .785 (wing operators, listed in decreasing order of prece-)-.25 F 3.411 -(dence. The)144 663.6 R -.25(eva)3.411 G .911 +(dence. The)144 579.6 R -.25(eva)3.411 G .911 (luation depends on the number of ar).25 F .912(guments; see belo)-.18 F 4.712 -.65(w. O)-.25 H .912(perator precedence is).65 F -(used when there are \214v)144 675.6 Q 2.5(eo)-.15 G 2.5(rm)-2.5 G -(ore ar)-2.5 E(guments.)-.18 E F1(!)144 687.6 Q F3 -.2(ex)2.5 G(pr).2 E -F0 -.35(Tr)12.6 G(ue if).35 E F3 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E -(alse.)-.1 E F1(\()144 699.6 Q F3 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 -.26(Returns the v)6.77 F .26(alue of)-.25 F F3 -.2(ex)2.76 G(pr).2 E F0 -5.26(.T)C .26(his may be used to o)-5.26 F -.15(ve)-.15 G .26 -(rride the normal precedence of opera-).15 F(tors.)180 711.6 Q -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(70)190.95 E 0 Cg EP -%%Page: 71 71 +(used when there are \214v)144 591.6 Q 2.5(eo)-.15 G 2.5(rm)-2.5 G +(ore ar)-2.5 E(guments.)-.18 E F1(!)144 603.6 Q F3 -.2(ex)2.5 G(pr).2 E +F0 -.35(Tr)180 603.6 S(ue if).35 E F3 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 +E(alse.)-.1 E F1(\()144 615.6 Q F3 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 +.26(Returns the v)180 615.6 R .26(alue of)-.25 F F3 -.2(ex)2.76 G(pr).2 +E F0 5.26(.T)C .26(his may be used to o)-5.26 F -.15(ve)-.15 G .26 +(rride the normal precedence of opera-).15 F(tors.)180 627.6 Q F3 -.2 +(ex)144 639.6 S(pr1).2 E F02.5 E F1(a)A F3 -.2(ex)2.5 G(pr2).2 E F0 +-.35(Tr)180 651.6 S(ue if both).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 +E F3 -.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F3 -.2(ex)144 663.6 S +(pr1).2 E F02.5 E F1(o)A F3 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 +675.6 S(ue if either).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F3 -.2 +(ex)2.5 G(pr2).2 E F0(is true.)2.52 E F1(test)144 692.4 Q F0(and)2.5 E +F1([)2.5 E F0 -.25(eva)2.5 G(luate conditional e).25 E +(xpressions using a set of rules based on the number of ar)-.15 E +(guments.)-.18 E(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(73) +192.055 E 0 Cg EP +%%Page: 74 74 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Italic@0 SF -.2(ex)144 84 S(pr1).2 E F02.5 E/F2 -10/Times-Bold@0 SF(a)A F1 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 96 S -(ue if both).35 E F1 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 E F1 -.2(ex)2.5 G -(pr2).2 E F0(are true.)2.52 E F1 -.2(ex)144 108 S(pr1).2 E F02.5 E -F2(o)A F1 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 120 S(ue if either).35 E -F1 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F1 -.2(ex)2.5 G(pr2).2 E F0 -(is true.)2.52 E F2(test)144 136.8 Q F0(and)2.5 E F2([)2.5 E F0 -.25 -(eva)2.5 G(luate conditional e).25 E -(xpressions using a set of rules based on the number of ar)-.15 E -(guments.)-.18 E 2.5(0a)144 154.8 S -.18(rg)-2.5 G(uments).18 E(The e) -180 166.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 178.8 S -.18 -(rg)-2.5 G(ument).18 E(The e)180 190.8 Q +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E 2.5(0a)144 84 S +-.18(rg)-2.5 G(uments).18 E(The e)180 96 Q(xpression is f)-.15 E(alse.) +-.1 E 2.5(1a)144 108 S -.18(rg)-2.5 G(ument).18 E(The e)180 120 Q (xpression is true if and only if the ar)-.15 E(gument is not null.)-.18 -E 2.5(2a)144 202.8 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar) -180 214.8 R .37(gument is)-.18 F F2(!)2.87 E F0 2.87(,t)C .37(he e)-2.87 -F .37(xpression is true if and only if the second ar)-.15 F .37 -(gument is null.)-.18 F .38(If the \214rst ar)180 226.8 R .38 +E 2.5(2a)144 132 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar)180 +144 R .37(gument is)-.18 F/F1 10/Times-Bold@0 SF(!)2.87 E F0 2.87(,t)C +.37(he e)-2.87 F .37(xpression is true if and only if the second ar)-.15 +F .37(gument is null.)-.18 F .38(If the \214rst ar)180 156 R .38 (gument is one of the unary conditional operators listed abo)-.18 F .679 --.15(ve u)-.15 H(nder).15 E/F3 9/Times-Bold@0 SF(CONDI-)2.879 E(TION)180 -238.8 Q .552(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF(,)A F0 .552 +-.15(ve u)-.15 H(nder).15 E/F2 9/Times-Bold@0 SF(CONDI-)2.879 E(TION)180 +168 Q .552(AL EXPRESSIONS)-.18 F/F3 9/Times-Roman@0 SF(,)A F0 .552 (the e)2.802 F .552(xpression is true if the unary test is true.)-.15 F -.552(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 250.8 Q +.552(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 180 Q (alid unary conditional operator)-.25 E 2.5(,t)-.4 G(he e)-2.5 E -(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 262.8 S -.18(rg)-2.5 G -(uments).18 E .236(The follo)180 274.8 R .236 +(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 192 S -.18(rg)-2.5 G +(uments).18 E .236(The follo)180 204 R .236 (wing conditions are applied in the order listed.)-.25 F .236 (If the second ar)5.236 F .236(gument is one of)-.18 F .855 -(the binary conditional operators listed abo)180 286.8 R 1.155 -.15 -(ve u)-.15 H(nder).15 E F3(CONDITION)3.355 E .855(AL EXPRESSIONS)-.18 F -F4(,)A F0(the)3.105 E .579(result of the e)180 298.8 R .578(xpression i\ -s the result of the binary test using the \214rst and third ar)-.15 F -(guments)-.18 E 1.332(as operands.)180 310.8 R(The)6.332 E F23.832 -E F0(and)3.832 E F23.832 E F0 1.333 +(the binary conditional operators listed abo)180 216 R 1.155 -.15(ve u) +-.15 H(nder).15 E F2(CONDITION)3.355 E .855(AL EXPRESSIONS)-.18 F F3(,)A +F0(the)3.105 E .579(result of the e)180 228 R .578(xpression is the res\ +ult of the binary test using the \214rst and third ar)-.15 F(guments) +-.18 E 1.332(as operands.)180 240 R(The)6.332 E F13.832 E F0(and) +3.832 E F13.832 E F0 1.333 (operators are considered binary operators when there are)3.832 F .558 -(three ar)180 322.8 R 3.058(guments. If)-.18 F .558(the \214rst ar)3.058 -F .558(gument is)-.18 F F2(!)3.058 E F0 3.058(,t)C .558(he v)-3.058 F -.558(alue is the ne)-.25 F -.05(ga)-.15 G .558(tion of the tw).05 F -(o-ar)-.1 E(gument)-.18 E .52(test using the second and third ar)180 -334.8 R 3.021(guments. If)-.18 F .521(the \214rst ar)3.021 F .521 -(gument is e)-.18 F(xactly)-.15 E F2(\()3.021 E F0 .521(and the third) -3.021 F(ar)180 346.8 Q .485(gument is e)-.18 F(xactly)-.15 E F2(\))2.985 -E F0 2.985(,t)C .485(he result is the one-ar)-2.985 F .485 -(gument test of the second ar)-.18 F 2.985(gument. Other)-.18 F(-)-.2 E -(wise, the e)180 358.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(4a)144 -370.8 S -.18(rg)-2.5 G(uments).18 E .384(If the \214rst ar)180 382.8 R -.384(gument is)-.18 F F2(!)2.884 E F0 2.885(,t)C .385 -(he result is the ne)-2.885 F -.05(ga)-.15 G .385(tion of the three-ar) -.05 F .385(gument e)-.18 F .385(xpression com-)-.15 F 1.648 -(posed of the remaining ar)180 394.8 R 4.147(guments. Otherwise,)-.18 F -1.647(the e)4.147 F 1.647(xpression is parsed and e)-.15 F -.25(va)-.25 -G(luated).25 E(according to precedence using the rules listed abo)180 -406.8 Q -.15(ve)-.15 G(.).15 E 2.5(5o)144 418.8 S 2.5(rm)-2.5 G(ore ar) --2.5 E(guments)-.18 E 1.635(The e)180 430.8 R 1.635 -(xpression is parsed and e)-.15 F -.25(va)-.25 G 1.635 -(luated according to precedence using the rules listed).25 F(abo)180 -442.8 Q -.15(ve)-.15 G(.).15 E(When used with)144 460.8 Q F2(test)2.5 E -F0(or)2.5 E F2([)2.5 E F0 2.5(,t)C(he)-2.5 E F2(<)2.5 E F0(and)2.5 E F2 -(>)2.5 E F0(operators sort le)2.5 E -(xicographically using ASCII ordering.)-.15 E F2(times)108 477.6 Q F0 +(three ar)180 252 R 3.058(guments. If)-.18 F .558(the \214rst ar)3.058 F +.558(gument is)-.18 F F1(!)3.058 E F0 3.058(,t)C .558(he v)-3.058 F .558 +(alue is the ne)-.25 F -.05(ga)-.15 G .558(tion of the tw).05 F(o-ar)-.1 +E(gument)-.18 E .52(test using the second and third ar)180 264 R 3.021 +(guments. If)-.18 F .521(the \214rst ar)3.021 F .521(gument is e)-.18 F +(xactly)-.15 E F1(\()3.021 E F0 .521(and the third)3.021 F(ar)180 276 Q +.485(gument is e)-.18 F(xactly)-.15 E F1(\))2.985 E F0 2.985(,t)C .485 +(he result is the one-ar)-2.985 F .485(gument test of the second ar)-.18 +F 2.985(gument. Other)-.18 F(-)-.2 E(wise, the e)180 288 Q +(xpression is f)-.15 E(alse.)-.1 E 2.5(4a)144 300 S -.18(rg)-2.5 G +(uments).18 E .384(If the \214rst ar)180 312 R .384(gument is)-.18 F F1 +(!)2.884 E F0 2.885(,t)C .385(he result is the ne)-2.885 F -.05(ga)-.15 +G .385(tion of the three-ar).05 F .385(gument e)-.18 F .385 +(xpression com-)-.15 F 1.648(posed of the remaining ar)180 324 R 4.147 +(guments. Otherwise,)-.18 F 1.647(the e)4.147 F 1.647 +(xpression is parsed and e)-.15 F -.25(va)-.25 G(luated).25 E +(according to precedence using the rules listed abo)180 336 Q -.15(ve) +-.15 G(.).15 E 2.5(5o)144 348 S 2.5(rm)-2.5 G(ore ar)-2.5 E(guments)-.18 +E 1.635(The e)180 360 R 1.635(xpression is parsed and e)-.15 F -.25(va) +-.25 G 1.635(luated according to precedence using the rules listed).25 F +(abo)180 372 Q -.15(ve)-.15 G(.).15 E(When used with)144 390 Q F1(test) +2.5 E F0(or)2.5 E F1([)2.5 E F0 2.5(,t)C(he)-2.5 E F1(<)2.5 E F0(and)2.5 +E F1(>)2.5 E F0(operators sort le)2.5 E +(xicographically using ASCII ordering.)-.15 E F1(times)108 406.8 Q F0 1.229(Print the accumulated user and system times for the shell and for\ - processes run from the shell.)13.23 F(The return status is 0.)144 489.6 -Q F2(trap)108 506.4 Q F0([)2.5 E F2(\255lp)A F0 2.5(][)C([)-2.5 E F1(ar) -A(g)-.37 E F0(])A F1(sigspec)2.5 E F0(...])2.5 E .702(The command)144 -518.4 R F1(ar)3.532 E(g)-.37 E F0 .702(is to be read and e)3.422 F -.15 -(xe)-.15 G .702(cuted when the shell recei).15 F -.15(ve)-.25 G 3.203 -(ss).15 G(ignal\(s\))-3.203 E F1(sigspec)3.203 E F0 5.703(.I).31 G(f) --5.703 E F1(ar)3.533 E(g)-.37 E F0(is)3.423 E .609 -(absent \(and there is a single)144 530.4 R F1(sigspec)3.108 E F0 3.108 -(\)o)C(r)-3.108 E F23.108 E F0 3.108(,e)C .608 + processes run from the shell.)144 406.8 R(The return status is 0.)144 +418.8 Q F1(trap)108 435.6 Q F0([)2.5 E F1(\255lp)A F0 2.5(][)C([)-2.5 E +/F4 10/Times-Italic@0 SF(ar)A(g)-.37 E F0(])A F4(sigspec)2.5 E F0(...]) +2.5 E .702(The command)144 447.6 R F4(ar)3.532 E(g)-.37 E F0 .702 +(is to be read and e)3.422 F -.15(xe)-.15 G .702 +(cuted when the shell recei).15 F -.15(ve)-.25 G 3.203(ss).15 G +(ignal\(s\))-3.203 E F4(sigspec)3.203 E F0 5.703(.I).31 G(f)-5.703 E F4 +(ar)3.533 E(g)-.37 E F0(is)3.423 E .609(absent \(and there is a single) +144 459.6 R F4(sigspec)3.108 E F0 3.108(\)o)C(r)-3.108 E F13.108 E +F0 3.108(,e)C .608 (ach speci\214ed signal is reset to its original disposition)-3.108 F -.658(\(the v)144 542.4 R .658(alue it had upon entrance to the shell\).) --.25 F(If)5.658 E F1(ar)3.488 E(g)-.37 E F0 .659 -(is the null string the signal speci\214ed by each)3.378 F F1(sigspec) -144.34 554.4 Q F0 .581 +.658(\(the v)144 471.6 R .658(alue it had upon entrance to the shell\).) +-.25 F(If)5.658 E F4(ar)3.488 E(g)-.37 E F0 .659 +(is the null string the signal speci\214ed by each)3.378 F F4(sigspec) +144.34 483.6 Q F0 .581 (is ignored by the shell and by the commands it in)3.391 F -.2(vo)-.4 G --.1(ke).2 G 3.08(s. If).1 F F1(ar)3.41 E(g)-.37 E F0 .58 -(is not present and)3.3 F F23.08 E F0(has)3.08 E 1.214 -(been supplied, then the trap commands associated with each)144 566.4 R -F1(sigspec)4.054 E F0 1.215(are displayed.)4.024 F 1.215(If no ar)6.215 -F(gu-)-.18 E .86(ments are supplied or if only)144 578.4 R F23.36 -E F0 .86(is gi)3.36 F -.15(ve)-.25 G(n,).15 E F2(trap)3.36 E F0 .86 +-.1(ke).2 G 3.08(s. If).1 F F4(ar)3.41 E(g)-.37 E F0 .58 +(is not present and)3.3 F F13.08 E F0(has)3.08 E 1.214 +(been supplied, then the trap commands associated with each)144 495.6 R +F4(sigspec)4.054 E F0 1.215(are displayed.)4.024 F 1.215(If no ar)6.215 +F(gu-)-.18 E .86(ments are supplied or if only)144 507.6 R F13.36 +E F0 .86(is gi)3.36 F -.15(ve)-.25 G(n,).15 E F1(trap)3.36 E F0 .86 (prints the list of commands associated with each)3.36 F 2.83 -(signal. The)144 590.4 R F22.83 E F0 .33(option causes the shell \ +(signal. The)144 519.6 R F12.83 E F0 .33(option causes the shell \ to print a list of signal names and their corresponding num-)2.83 F -4.311(bers. Each)144 602.4 R F1(sigspec)4.651 E F0 1.811 -(is either a signal name de\214ned in <)4.621 F F1(signal.h)A F0 1.81 +4.311(bers. Each)144 531.6 R F4(sigspec)4.651 E F0 1.811 +(is either a signal name de\214ned in <)4.621 F F4(signal.h)A F0 1.81 (>, or a signal number)B 6.81(.S)-.55 G(ignal)-6.81 E -(names are case insensiti)144 614.4 Q .3 -.15(ve a)-.25 H(nd the).15 E -F3(SIG)2.5 E F0(pre\214x is optional.)2.25 E 1.648(If a)144 632.4 R F1 -(sigspec)4.488 E F0(is)4.458 E F3(EXIT)4.148 E F0 1.648 -(\(0\) the command)3.898 F F1(ar)4.479 E(g)-.37 E F0 1.649(is e)4.369 F +(names are case insensiti)144 543.6 Q .3 -.15(ve a)-.25 H(nd the).15 E +F2(SIG)2.5 E F0(pre\214x is optional.)2.25 E 1.648(If a)144 561.6 R F4 +(sigspec)4.488 E F0(is)4.458 E F2(EXIT)4.148 E F0 1.648 +(\(0\) the command)3.898 F F4(ar)4.479 E(g)-.37 E F0 1.649(is e)4.369 F -.15(xe)-.15 G 1.649(cuted on e).15 F 1.649(xit from the shell.)-.15 F -1.649(If a)6.649 F F1(sigspec)4.489 E F0(is)4.459 E F3(DEB)144 644.4 Q -(UG)-.09 E F4(,)A F0 1.168(the command)3.418 F F1(ar)3.998 E(g)-.37 E F0 +1.649(If a)6.649 F F4(sigspec)4.489 E F0(is)4.459 E F2(DEB)144 573.6 Q +(UG)-.09 E F3(,)A F0 1.168(the command)3.418 F F4(ar)3.998 E(g)-.37 E F0 1.168(is e)3.888 F -.15(xe)-.15 G 1.167(cuted before e).15 F -.15(ve) --.25 G(ry).15 E F1 1.167(simple command)3.667 F F0(,)A F1(for)3.667 E F0 -(command,)3.667 E F1(case)3.667 E F0(com-)3.667 E(mand,)144 656.4 Q F1 +-.25 G(ry).15 E F4 1.167(simple command)3.667 F F0(,)A F4(for)3.667 E F0 +(command,)3.667 E F4(case)3.667 E F0(com-)3.667 E(mand,)144 585.6 Q F4 (select)2.646 E F0 .146(command, e)2.646 F -.15(ve)-.25 G .146 -(ry arithmetic).15 F F1(for)2.646 E F0 .147 +(ry arithmetic).15 F F4(for)2.646 E F0 .147 (command, and before the \214rst command e)2.646 F -.15(xe)-.15 G .147 -(cutes in a).15 F .146(shell function \(see)144 668.4 R F3 .146 +(cutes in a).15 F .146(shell function \(see)144 597.6 R F2 .146 (SHELL GRAMMAR)2.646 F F0(abo)2.396 E -.15(ve)-.15 G 2.646(\). Refer).15 -F .146(to the description of the)2.646 F F2(extdeb)2.645 E(ug)-.2 E F0 -.145(option to)2.645 F(the)144 680.4 Q F2(shopt)3.2 E F0 -.2(bu)3.2 G .7 -(iltin for details of its ef).2 F .7(fect on the)-.25 F F2(DEB)3.2 E(UG) --.1 E F0 3.2(trap. If)3.2 F(a)3.2 E F1(sigspec)3.54 E F0(is)3.51 E F3 -(RETURN)3.2 E F4(,)A F0 .701(the com-)2.951 F(mand)144 692.4 Q F1(ar) +F .146(to the description of the)2.646 F F1(extdeb)2.645 E(ug)-.2 E F0 +.145(option to)2.645 F(the)144 609.6 Q F1(shopt)3.2 E F0 -.2(bu)3.2 G .7 +(iltin for details of its ef).2 F .7(fect on the)-.25 F F1(DEB)3.2 E(UG) +-.1 E F0 3.2(trap. If)3.2 F(a)3.2 E F4(sigspec)3.54 E F0(is)3.51 E F2 +(RETURN)3.2 E F3(,)A F0 .701(the com-)2.951 F(mand)144 621.6 Q F4(ar) 3.474 E(g)-.37 E F0 .644(is e)3.364 F -.15(xe)-.15 G .643 (cuted each time a shell function or a script e).15 F -.15(xe)-.15 G -.643(cuted with the).15 F F2(.)3.143 E F0(or)3.143 E F2(sour)3.143 E(ce) --.18 E F0 -.2(bu)3.143 G(iltins).2 E(\214nishes e)144 704.4 Q -.15(xe) --.15 G(cuting.).15 E .521(If a)144 722.4 R F1(sigspec)3.361 E F0(is) -3.331 E F3(ERR)3.021 E F4(,)A F0 .522(the command)2.771 F F1(ar)3.352 E -(g)-.37 E F0 .522(is e)3.242 F -.15(xe)-.15 G .522(cuted whene).15 F --.15(ve)-.25 G 3.022(raap).15 G .522(ipeline \(which may consist of a) --3.022 F(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(71)190.95 E 0 Cg -EP -%%Page: 72 72 +.643(cuted with the).15 F F1(.)3.143 E F0(or)3.143 E F1(sour)3.143 E(ce) +-.18 E F0 -.2(bu)3.143 G(iltins).2 E(\214nishes e)144 633.6 Q -.15(xe) +-.15 G(cuting.).15 E .96(If a)144 651.6 R F4(sigspec)3.8 E F0(is)3.77 E +F2(ERR)3.46 E F3(,)A F0 .96(the command)3.21 F F4(ar)3.791 E(g)-.37 E F0 +.961(is e)3.681 F -.15(xe)-.15 G .961(cuted whene).15 F -.15(ve)-.25 G +3.461(rap).15 G .961(ipeline \(which may consist of a)-3.461 F .185(sin\ +gle simple command\), a list, or a compound command returns a non\255ze\ +ro e)144 663.6 R .184(xit status, subject to)-.15 F .451(the follo)144 +675.6 R .451(wing conditions.)-.25 F(The)5.451 E F2(ERR)2.951 E F0 .451 +(trap is not e)2.701 F -.15(xe)-.15 G .451(cuted if the f).15 F .452 +(ailed command is part of the com-)-.1 F .388 +(mand list immediately follo)144 687.6 R .388(wing a)-.25 F F1(while) +2.888 E F0(or)2.888 E F1(until)2.888 E F0 -.1(ke)2.888 G(yw)-.05 E .388 +(ord, part of the test in an)-.1 F F4(if)2.897 E F0 .387 +(statement, part)4.847 F .777(of a command e)144 699.6 R -.15(xe)-.15 G +.778(cuted in a).15 F F1(&&)3.278 E F0(or)3.278 E F1(||)3.278 E F0 .778 +(list e)3.278 F .778(xcept the command follo)-.15 F .778 +(wing the \214nal)-.25 F F1(&&)3.278 E F0(or)3.278 E F1(||)3.278 E F0 +3.278(,a)C -.15(ny)-3.278 G 1.28(command in a pipeline b)144 711.6 R +1.28(ut the last, or if the command')-.2 F 3.78(sr)-.55 G 1.28(eturn v) +-3.78 F 1.28(alue is being in)-.25 F -.15(ve)-.4 G 1.28(rted using).15 F +F1(!)3.78 E F0(.)A(These are the same conditions obe)144 723.6 Q +(yed by the)-.15 E F1(err)2.5 E(exit)-.18 E F0(\()2.5 E F1A F0 2.5 +(\)o)C(ption.)-2.5 E(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(74) +192.055 E 0 Cg EP +%%Page: 75 75 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .185(single simple command\), a list, or a compound command retu\ -rns a non\255zero e)144 84 R .184(xit status, subject to)-.15 F .451 -(the follo)144 96 R .451(wing conditions.)-.25 F(The)5.451 E/F1 9 -/Times-Bold@0 SF(ERR)2.951 E F0 .451(trap is not e)2.701 F -.15(xe)-.15 -G .451(cuted if the f).15 F .452(ailed command is part of the com-)-.1 F -.388(mand list immediately follo)144 108 R .388(wing a)-.25 F/F2 10 -/Times-Bold@0 SF(while)2.888 E F0(or)2.888 E F2(until)2.888 E F0 -.1(ke) -2.888 G(yw)-.05 E .388(ord, part of the test in an)-.1 F/F3 10 -/Times-Italic@0 SF(if)2.897 E F0 .387(statement, part)4.847 F .777 -(of a command e)144 120 R -.15(xe)-.15 G .778(cuted in a).15 F F2(&&) -3.278 E F0(or)3.278 E F2(||)3.278 E F0 .778(list e)3.278 F .778 -(xcept the command follo)-.15 F .778(wing the \214nal)-.25 F F2(&&)3.278 -E F0(or)3.278 E F2(||)3.278 E F0 3.278(,a)C -.15(ny)-3.278 G 1.28 -(command in a pipeline b)144 132 R 1.28(ut the last, or if the command') --.2 F 3.78(sr)-.55 G 1.28(eturn v)-3.78 F 1.28(alue is being in)-.25 F --.15(ve)-.4 G 1.28(rted using).15 F F2(!)3.78 E F0(.)A -(These are the same conditions obe)144 144 Q(yed by the)-.15 E F2(err) -2.5 E(exit)-.18 E F0(\()2.5 E F2A F0 2.5(\)o)C(ption.)-2.5 E 1.095 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E 1.095 (Signals ignored upon entry to the shell cannot be trapped or reset.)144 -162 R -.35(Tr)6.095 G 1.095(apped signals that are not).35 F .662 -(being ignored are reset to their original v)144 174 R .662 +84 R -.35(Tr)6.095 G 1.095(apped signals that are not).35 F .662 +(being ignored are reset to their original v)144 96 R .662 (alues in a subshell or subshell en)-.25 F .661(vironment when one is) --.4 F 2.5(created. The)144 186 R(return status is f)2.5 E(alse if an)-.1 -E(y)-.15 E F3(sigspec)2.84 E F0(is in)2.81 E -.25(va)-.4 G -(lid; otherwise).25 E F2(trap)2.5 E F0(returns true.)2.5 E F2(type)108 -202.8 Q F0([)2.5 E F2(\255aftpP)A F0(])A F3(name)2.5 E F0([)2.5 E F3 -(name)A F0(...])2.5 E -.4(Wi)144 214.8 S .173 -(th no options, indicate ho).4 F 2.673(we)-.25 G(ach)-2.673 E F3(name) -3.033 E F0 -.1(wo)2.853 G .174 +-.4 F 2.5(created. The)144 108 R(return status is f)2.5 E(alse if an)-.1 +E(y)-.15 E/F1 10/Times-Italic@0 SF(sigspec)2.84 E F0(is in)2.81 E -.25 +(va)-.4 G(lid; otherwise).25 E/F2 10/Times-Bold@0 SF(trap)2.5 E F0 +(returns true.)2.5 E F2(type)108 124.8 Q F0([)2.5 E F2(\255aftpP)A F0(]) +A F1(name)2.5 E F0([)2.5 E F1(name)A F0(...])2.5 E -.4(Wi)144 136.8 S +.173(th no options, indicate ho).4 F 2.673(we)-.25 G(ach)-2.673 E F1 +(name)3.033 E F0 -.1(wo)2.853 G .174 (uld be interpreted if used as a command name.).1 F .174(If the)5.174 F -F2144 226.8 Q F0 .843(option is used,)3.343 F F2(type)3.343 E F0 -.843(prints a string which is one of)3.343 F F3(alias)3.343 E F0(,).27 E -F3 -.1(ke)3.343 G(ywor)-.2 E(d)-.37 E F0(,).77 E F3(function)3.343 E F0 -(,).24 E F3 -.2(bu)3.342 G(iltin).2 E F0 3.342(,o).24 G(r)-3.342 E F3 -(\214le)5.252 E F0(if)3.522 E F3(name)144.36 238.8 Q F0 .086 +F2144 148.8 Q F0 .843(option is used,)3.343 F F2(type)3.343 E F0 +.843(prints a string which is one of)3.343 F F1(alias)3.343 E F0(,).27 E +F1 -.1(ke)3.343 G(ywor)-.2 E(d)-.37 E F0(,).77 E F1(function)3.343 E F0 +(,).24 E F1 -.2(bu)3.342 G(iltin).2 E F0 3.342(,o).24 G(r)-3.342 E F1 +(\214le)5.252 E F0(if)3.522 E F1(name)144.36 160.8 Q F0 .086 (is an alias, shell reserv)2.766 F .086(ed w)-.15 F .086 (ord, function, b)-.1 F .087(uiltin, or disk \214le, respecti)-.2 F -.15 -(ve)-.25 G(ly).15 E 5.087(.I)-.65 G 2.587(ft)-5.087 G(he)-2.587 E F3 +(ve)-.25 G(ly).15 E 5.087(.I)-.65 G 2.587(ft)-5.087 G(he)-2.587 E F1 (name)2.947 E F0 .087(is not)2.767 F .119 -(found, then nothing is printed, and an e)144 250.8 R .118 +(found, then nothing is printed, and an e)144 172.8 R .118 (xit status of f)-.15 F .118(alse is returned.)-.1 F .118(If the)5.118 F F22.618 E F0 .118(option is used,)2.618 F F2(type)2.618 E F0 .855 -(either returns the name of the disk \214le that w)144 262.8 R .855 -(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F3(name)3.715 E F0 +(either returns the name of the disk \214le that w)144 184.8 R .855 +(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F1(name)3.715 E F0 .855(were speci\214ed as a com-)3.535 F .641(mand name, or nothing if) -144 274.8 R/F4 10/Courier@0 SF .641(type -t name)3.141 F F0 -.1(wo)3.141 -G .641(uld not return).1 F F3(\214le)3.14 E F0 5.64(.T).18 G(he)-5.64 E -F23.14 E F0 .64(option forces a)3.14 F F1 -.666(PA)3.14 G(TH)-.189 -E F0 .112(search for each)144 286.8 R F3(name)2.612 E F0 2.612(,e)C -.15 -(ve)-2.862 G 2.613(ni).15 G(f)-2.613 E F4 .113(type -t name)2.613 F F0 --.1(wo)2.613 G .113(uld not return).1 F F3(\214le)2.613 E F0 5.113(.I) -.18 G 2.613(fac)-5.113 G .113(ommand is hashed,)-2.613 F F22.613 E -F0(and)144 298.8 Q F23.231 E F0 .731(print the hashed v)3.231 F -.73(alue, which is not necessarily the \214le that appears \214rst in) --.25 F F1 -.666(PA)3.23 G(TH)-.189 E/F5 9/Times-Roman@0 SF(.)A F0 .73 -(If the)5.23 F F2144 310.8 Q F0 1.748(option is used,)4.248 F F2 -(type)4.248 E F0 1.748(prints all of the places that contain an e)4.248 -F -.15(xe)-.15 G 1.748(cutable named).15 F F3(name)4.249 E F0 6.749(.T) -.18 G(his)-6.749 E .744 -(includes aliases and functions, if and only if the)144 322.8 R F2 -3.244 E F0 .744(option is not also used.)3.244 F .743 -(The table of hashed)5.744 F 1.223(commands is not consulted when using) -144 334.8 R F23.723 E F0 6.223(.T)C(he)-6.223 E F23.723 E F0 -1.223(option suppresses shell function lookup, as)3.723 F .326(with the) -144 346.8 R F2(command)2.826 E F0 -.2(bu)2.826 G(iltin.).2 E F2(type) -5.326 E F0 .326(returns true if all of the ar)2.826 F .325 -(guments are found, f)-.18 F .325(alse if an)-.1 F 2.825(ya)-.15 G .325 -(re not)-2.825 F(found.)144 358.8 Q F2(ulimit)108 375.6 Q F0([)2.5 E F2 -(\255HST)A(abcde\214lmnpqrstuvx)-.92 E F0([)2.5 E F3(limit)A F0(]])A -(Pro)144 387.6 Q .243(vides control o)-.15 F -.15(ve)-.15 G 2.743(rt).15 -G .243(he resources a)-2.743 F -.25(va)-.2 G .244 +144 196.8 R/F3 10/Courier@0 SF .641(type -t name)3.141 F F0 -.1(wo)3.141 +G .641(uld not return).1 F F1(\214le)3.14 E F0 5.64(.T).18 G(he)-5.64 E +F23.14 E F0 .64(option forces a)3.14 F/F4 9/Times-Bold@0 SF -.666 +(PA)3.14 G(TH)-.189 E F0 .112(search for each)144 208.8 R F1(name)2.612 +E F0 2.612(,e)C -.15(ve)-2.862 G 2.613(ni).15 G(f)-2.613 E F3 .113 +(type -t name)2.613 F F0 -.1(wo)2.613 G .113(uld not return).1 F F1 +(\214le)2.613 E F0 5.113(.I).18 G 2.613(fac)-5.113 G .113 +(ommand is hashed,)-2.613 F F22.613 E F0(and)144 220.8 Q F2 +3.231 E F0 .731(print the hashed v)3.231 F .73 +(alue, which is not necessarily the \214le that appears \214rst in)-.25 +F F4 -.666(PA)3.23 G(TH)-.189 E/F5 9/Times-Roman@0 SF(.)A F0 .73(If the) +5.23 F F2144 232.8 Q F0 1.748(option is used,)4.248 F F2(type) +4.248 E F0 1.748(prints all of the places that contain an e)4.248 F -.15 +(xe)-.15 G 1.748(cutable named).15 F F1(name)4.249 E F0 6.749(.T).18 G +(his)-6.749 E .744(includes aliases and functions, if and only if the) +144 244.8 R F23.244 E F0 .744(option is not also used.)3.244 F +.743(The table of hashed)5.744 F 1.223 +(commands is not consulted when using)144 256.8 R F23.723 E F0 +6.223(.T)C(he)-6.223 E F23.723 E F0 1.223 +(option suppresses shell function lookup, as)3.723 F .326(with the)144 +268.8 R F2(command)2.826 E F0 -.2(bu)2.826 G(iltin.).2 E F2(type)5.326 E +F0 .326(returns true if all of the ar)2.826 F .325(guments are found, f) +-.18 F .325(alse if an)-.1 F 2.825(ya)-.15 G .325(re not)-2.825 F +(found.)144 280.8 Q F2(ulimit)108 297.6 Q F0([)2.5 E F2 +(\255HSabcde\214klmnpqrstuvxPT)A F0([)2.5 E F1(limit)A F0(]])A(Pro)144 +309.6 Q .243(vides control o)-.15 F -.15(ve)-.15 G 2.743(rt).15 G .243 +(he resources a)-2.743 F -.25(va)-.2 G .244 (ilable to the shell and to processes started by it, on systems).25 F -.944(that allo)144 399.6 R 3.444(ws)-.25 G .944(uch control.)-3.444 F +.944(that allo)144 321.6 R 3.444(ws)-.25 G .944(uch control.)-3.444 F (The)5.944 E F23.444 E F0(and)3.444 E F23.444 E F0 .943 (options specify that the hard or soft limit is set for the)3.444 F(gi) -144 411.6 Q -.15(ve)-.25 G 2.708(nr).15 G 2.708(esource. A)-2.708 F .208 +144 333.6 Q -.15(ve)-.25 G 2.708(nr).15 G 2.708(esource. A)-2.708 F .208 (hard limit cannot be increased by a non-root user once it is set; a so\ -ft limit may)2.708 F .426(be increased up to the v)144 423.6 R .426 +ft limit may)2.708 F .426(be increased up to the v)144 345.6 R .426 (alue of the hard limit.)-.25 F .425(If neither)5.426 F F22.925 E F0(nor)2.925 E F22.925 E F0 .425 (is speci\214ed, both the soft and)2.925 F .139(hard limits are set.)144 -435.6 R .139(The v)5.139 F .139(alue of)-.25 F F3(limit)2.729 E F0 .139 +357.6 R .139(The v)5.139 F .139(alue of)-.25 F F1(limit)2.729 E F0 .139 (can be a number in the unit speci\214ed for the resource or one)3.319 F -.742(of the special v)144 447.6 R(alues)-.25 E F2(hard)3.242 E F0(,)A F2 +.742(of the special v)144 369.6 R(alues)-.25 E F2(hard)3.242 E F0(,)A F2 (soft)3.241 E F0 3.241(,o)C(r)-3.241 E F2(unlimited)3.241 E F0 3.241(,w) C .741(hich stand for the current hard limit, the current)-3.241 F .78 -(soft limit, and no limit, respecti)144 459.6 R -.15(ve)-.25 G(ly).15 E -5.78(.I)-.65 G(f)-5.78 E F3(limit)3.37 E F0 .78 +(soft limit, and no limit, respecti)144 381.6 R -.15(ve)-.25 G(ly).15 E +5.78(.I)-.65 G(f)-5.78 E F1(limit)3.37 E F0 .78 (is omitted, the current v)3.96 F .78(alue of the soft limit of the)-.25 -F .499(resource is printed, unless the)144 471.6 R F22.999 E F0 +F .499(resource is printed, unless the)144 393.6 R F22.999 E F0 .499(option is gi)2.999 F -.15(ve)-.25 G 2.999(n. When).15 F .498 (more than one resource is speci\214ed, the)2.999 F -(limit name and unit are printed before the v)144 483.6 Q 2.5 +(limit name and unit are printed before the v)144 405.6 Q 2.5 (alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E F2 -144 495.6 Q F0(All current limits are reported)25.3 E F2144 -507.6 Q F0(The maximum sock)24.74 E(et b)-.1 E(uf)-.2 E(fer size)-.25 E -F2144 519.6 Q F0(The maximum size of core \214les created)25.86 E -F2144 531.6 Q F0(The maximum size of a process')24.74 E 2.5(sd) --.55 G(ata se)-2.5 E(gment)-.15 E F2144 543.6 Q F0 -(The maximum scheduling priority \("nice"\))25.86 E F2144 555.6 Q -F0(The maximum size of \214les written by the shell and its children) -26.97 E F2144 567.6 Q F0(The maximum number of pending signals) -27.52 E F2144 579.6 Q F0(The maximum size that may be lock)27.52 E -(ed into memory)-.1 E F2144 591.6 Q F0 -(The maximum resident set size \(man)21.97 E 2.5(ys)-.15 G -(ystems do not honor this limit\))-2.5 E F2144 603.6 Q F0 .791(Th\ +144 417.6 Q F0(All current limits are reported)180 417.6 Q F2 +144 429.6 Q F0(The maximum sock)180 429.6 Q(et b)-.1 E(uf)-.2 E +(fer size)-.25 E F2144 441.6 Q F0 +(The maximum size of core \214les created)180 441.6 Q F2144 453.6 +Q F0(The maximum size of a process')180 453.6 Q 2.5(sd)-.55 G(ata se) +-2.5 E(gment)-.15 E F2144 465.6 Q F0 +(The maximum scheduling priority \("nice"\))180 465.6 Q F2144 +477.6 Q F0 +(The maximum size of \214les written by the shell and its children)180 +477.6 Q F2144 489.6 Q F0(The maximum number of pending signals)180 +489.6 Q F2144 501.6 Q F0 +(The maximum number of kqueues that may be allocated)180 501.6 Q F2 +144 513.6 Q F0(The maximum size that may be lock)180 513.6 Q +(ed into memory)-.1 E F2144 525.6 Q F0 +(The maximum resident set size \(man)180 525.6 Q 2.5(ys)-.15 G +(ystems do not honor this limit\))-2.5 E F2144 537.6 Q F0 .791(Th\ e maximum number of open \214le descriptors \(most systems do not allo) -24.74 F 3.291(wt)-.25 G .791(his v)-3.291 F .791(alue to)-.25 F -(be set\))180 615.6 Q F2144 627.6 Q F0 -(The pipe size in 512-byte blocks \(this may not be set\))24.74 E F2 -144 639.6 Q F0 -(The maximum number of bytes in POSIX message queues)24.74 E F2144 -651.6 Q F0(The maximum real-time scheduling priority)25.86 E F2144 -663.6 Q F0(The maximum stack size)26.41 E F2144 675.6 Q F0 -(The maximum amount of cpu time in seconds)26.97 E F2144 687.6 Q -F0(The maximum number of processes a)24.74 E -.25(va)-.2 G -(ilable to a single user).25 E F2144 699.6 Q F0 .47 -(The maximum amount of virtual memory a)25.3 F -.25(va)-.2 G .47 +180 537.6 R 3.291(wt)-.25 G .791(his v)-3.291 F .791(alue to)-.25 F +(be set\))180 549.6 Q F2144 561.6 Q F0 +(The pipe size in 512-byte blocks \(this may not be set\))180 561.6 Q F2 +144 573.6 Q F0 +(The maximum number of bytes in POSIX message queues)180 573.6 Q F2 +144 585.6 Q F0(The maximum real-time scheduling priority)180 585.6 +Q F2144 597.6 Q F0(The maximum stack size)180 597.6 Q F2144 +609.6 Q F0(The maximum amount of cpu time in seconds)180 609.6 Q F2 +144 621.6 Q F0(The maximum number of processes a)180 621.6 Q -.25 +(va)-.2 G(ilable to a single user).25 E F2144 633.6 Q F0 .47 +(The maximum amount of virtual memory a)180 633.6 R -.25(va)-.2 G .47 (ilable to the shell and, on some systems, to).25 F(its children)180 -711.6 Q(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(72)190.95 E 0 Cg -EP -%%Page: 73 73 +645.6 Q F2144 657.6 Q F0(The maximum number of \214le locks)180 +657.6 Q F2144 669.6 Q F0(The maximum number of pseudoterminals)180 +669.6 Q F2144 681.6 Q F0(The maximum number of threads)180 681.6 Q +(If)144 698.4 Q F1(limit)3.058 E F0 .468(is gi)3.648 F -.15(ve)-.25 G +.468(n, and the).15 F F22.968 E F0 .468(option is not used,)2.968 +F F1(limit)2.968 E F0 .468(is the ne)2.968 F 2.968(wv)-.25 G .468 +(alue of the speci\214ed resource.)-3.218 F(If)5.468 E .045 +(no option is gi)144 710.4 R -.15(ve)-.25 G .045(n, then).15 F F2 +2.545 E F0 .045(is assumed.)2.545 F -1.11(Va)5.045 G .045 +(lues are in 1024-byte increments, e)1.11 F .044(xcept for)-.15 F F2 +2.544 E F0 2.544(,w)C .044(hich is)-2.544 F 1.588(in seconds;)144 +722.4 R F24.088 E F0 4.089(,w)C 1.589 +(hich is in units of 512-byte blocks;)-4.089 F F24.089 E F0(,)A F2 +4.089 E F0(,)A F24.089 E F0(,)A F24.089 E F0(,)A F2 +4.089 E F0 4.089(,a)C(nd)-4.089 E F24.089 E F0 4.089(,w)C +1.589(hich are)-4.089 F(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E +(75)192.055 E 0 Cg EP +%%Page: 76 76 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF144 84 Q F0 -(The maximum number of \214le locks)25.3 E F1144 96 Q F0 -(The maximum number of threads)23.63 E(If)144 112.8 Q/F2 10 -/Times-Italic@0 SF(limit)3.058 E F0 .468(is gi)3.648 F -.15(ve)-.25 G -.468(n, and the).15 F F12.968 E F0 .468(option is not used,)2.968 -F F2(limit)2.968 E F0 .468(is the ne)2.968 F 2.968(wv)-.25 G .468 -(alue of the speci\214ed resource.)-3.218 F(If)5.468 E .045 -(no option is gi)144 124.8 R -.15(ve)-.25 G .045(n, then).15 F F1 -2.545 E F0 .045(is assumed.)2.545 F -1.11(Va)5.045 G .045 -(lues are in 1024-byte increments, e)1.11 F .044(xcept for)-.15 F F1 -2.544 E F0 2.544(,w)C .044(hich is)-2.544 F .402(in seconds;)144 -136.8 R F12.902 E F0 2.902(,w)C .402 -(hich is in units of 512-byte blocks; and)-2.902 F F12.902 E F0(,) -A F12.902 E F0(,)A F12.902 E F0 2.902(,a)C(nd)-2.902 E F1 -2.903 E F0 2.903(,w)C .403(hich are unscaled)-2.903 F -.25(va)144 -148.8 S 3.083(lues. The).25 F .583(return status is 0 unless an in)3.083 -F -.25(va)-.4 G .583(lid option or ar).25 F .583 -(gument is supplied, or an error occurs)-.18 F(while setting a ne)144 -160.8 Q 2.5(wl)-.25 G(imit.)-2.5 E F1(umask)108 177.6 Q F0([)2.5 E F1 -A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(mode)-2.5 E F0(])A .2 -(The user \214le-creation mask is set to)144 189.6 R F2(mode)2.7 E F0 -5.2(.I).18 G(f)-5.2 E F2(mode)3.08 E F0(be)2.88 E .2 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E 1.439(unscaled v) +144 84 R 1.439(alues; and, when in Posix mode,)-.25 F/F1 10/Times-Bold@0 +SF3.939 E F0(and)3.939 E F13.939 E F0 3.939(,w)C 1.438 +(hich are in 512-byte increments.)-3.939 F(The)6.438 E .404 +(return status is 0 unless an in)144 96 R -.25(va)-.4 G .404 +(lid option or ar).25 F .404 +(gument is supplied, or an error occurs while setting)-.18 F 2.5(an)144 +108 S .5 -.25(ew l)-2.5 H(imit.).25 E F1(umask)108 124.8 Q F0([)2.5 E F1 +A F0 2.5(][)C F1-2.5 E F0 2.5(][)C/F2 10/Times-Italic@0 SF +(mode)-2.5 E F0(])A .2(The user \214le-creation mask is set to)144 136.8 +R F2(mode)2.7 E F0 5.2(.I).18 G(f)-5.2 E F2(mode)3.08 E F0(be)2.88 E .2 (gins with a digit, it is interpreted as an octal)-.15 F .066(number; o\ therwise it is interpreted as a symbolic mode mask similar to that acce\ -pted by)144 201.6 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144 -213.6 Q F2(mode)3.262 E F0 .382(is omitted, the current v)3.062 F .382 +pted by)144 148.8 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144 +160.8 Q F2(mode)3.263 E F0 .382(is omitted, the current v)3.063 F .382 (alue of the mask is printed.)-.25 F(The)5.382 E F12.882 E F0 .382 (option causes the mask to be)2.882 F .547 -(printed in symbolic form; the def)144 225.6 R .547 +(printed in symbolic form; the def)144 172.8 R .547 (ault output is an octal number)-.1 F 5.547(.I)-.55 G 3.047(ft)-5.547 G (he)-3.047 E F13.047 E F0 .547(option is supplied, and)3.047 F F2 -(mode)144.38 237.6 Q F0 .551 -(is omitted, the output is in a form that may be reused as input.)3.231 -F .552(The return status is 0 if the)5.552 F(mode w)144 249.6 Q +(mode)144.38 184.8 Q F0 .552 +(is omitted, the output is in a form that may be reused as input.)3.232 +F .551(The return status is 0 if the)5.551 F(mode w)144 196.8 Q (as successfully changed or if no)-.1 E F2(mode)2.5 E F0(ar)2.5 E (gument w)-.18 E(as supplied, and f)-.1 E(alse otherwise.)-.1 E F1 -(unalias)108 266.4 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0 -(...])2.5 E(Remo)144 278.4 Q 1.955 -.15(ve e)-.15 H(ach).15 E F2(name) +(unalias)108 213.6 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0 +(...])2.5 E(Remo)144 225.6 Q 1.955 -.15(ve e)-.15 H(ach).15 E F2(name) 4.155 E F0 1.655(from the list of de\214ned aliases.)4.155 F(If)6.655 E F14.155 E F0 1.655(is supplied, all alias de\214nitions are)4.155 -F(remo)144 290.4 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E +F(remo)144 237.6 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E (alue is true unless a supplied)-.25 E F2(name)2.86 E F0 -(is not a de\214ned alias.)2.68 E F1(unset)108 307.2 Q F0<5bad>2.5 E F1 +(is not a de\214ned alias.)2.68 E F1(unset)108 254.4 Q F0<5bad>2.5 E F1 (fv)A F0 2.5(][)C-2.5 E F1(n)A F0 2.5(][)C F2(name)-2.5 E F0(...]) -2.5 E -.15(Fo)144 319.2 S 3.827(re).15 G(ach)-3.827 E F2(name)3.827 E F0 -3.827(,r).18 G(emo)-3.827 E 1.627 -.15(ve t)-.15 H 1.327 +2.5 E -.15(Fo)144 266.4 S 3.828(re).15 G(ach)-3.828 E F2(name)3.828 E F0 +3.828(,r).18 G(emo)-3.828 E 1.628 -.15(ve t)-.15 H 1.328 (he corresponding v).15 F 1.327(ariable or function.)-.25 F 1.327 -(If the)6.327 F F13.828 E F0 1.328(option is gi)3.828 F -.15(ve) --.25 G 1.328(n, each).15 F F2(name)144.36 331.2 Q F0 1.551 -(refers to a shell v)4.231 F 1.551(ariable, and that v)-.25 F 1.551 -(ariable is remo)-.25 F -.15(ve)-.15 G 4.05(d. Read-only).15 F -.25(va) -4.05 G 1.55(riables may not be).25 F 4.641(unset. If)144 343.2 R F1 -4.641 E F0 2.141(is speci\214ed, each)4.641 F F2(name)5.001 E F0 +(If the)6.327 F F13.827 E F0 1.327(option is gi)3.827 F -.15(ve) +-.25 G 1.327(n, each).15 F F2(name)144.36 278.4 Q F0 1.55 +(refers to a shell v)4.23 F 1.551(ariable, and that v)-.25 F 1.551 +(ariable is remo)-.25 F -.15(ve)-.15 G 4.051(d. Read-only).15 F -.25(va) +4.051 G 1.551(riables may not be).25 F 4.642(unset. If)144 290.4 R F1 +4.642 E F0 2.142(is speci\214ed, each)4.642 F F2(name)5.001 E F0 2.141(refers to a shell function, and the function de\214nition is)4.821 -F(remo)144 355.2 Q -.15(ve)-.15 G 2.538(d. If).15 F(the)2.537 E F1 +F(remo)144 302.4 Q -.15(ve)-.15 G 2.537(d. If).15 F(the)2.537 E F1 2.537 E F0 .037(option is supplied, and)2.537 F F2(name)2.537 E F0 .037 (is a v)2.537 F .037(ariable with the)-.25 F F2(namer)2.537 E(ef)-.37 E -F0(attrib)2.537 E(ute,)-.2 E F2(name)2.537 E F0(will)2.537 E .492 -(be unset rather than the v)144 367.2 R .492(ariable it references.)-.25 +F0(attrib)2.537 E(ute,)-.2 E F2(name)2.537 E F0(will)2.538 E .492 +(be unset rather than the v)144 314.4 R .492(ariable it references.)-.25 F F15.492 E F0 .492(has no ef)2.992 F .492(fect if the)-.25 F F1 -2.992 E F0 .492(option is supplied.)2.992 F .493(If no)5.493 F -.221(options are supplied, each)144 379.2 R F2(name)2.721 E F0 .221 -(refers to a v)2.721 F .22(ariable; if there is no v)-.25 F .22 -(ariable by that name, an)-.25 F 2.72(yf)-.15 G(unc-)-2.72 E 1.188 -(tion with that name is unset.)144 391.2 R 1.189(Each unset v)6.189 F -1.189(ariable or function is remo)-.25 F -.15(ve)-.15 G 3.689(df).15 G -1.189(rom the en)-3.689 F(vironment)-.4 E 3.206 -(passed to subsequent commands.)144 403.2 R 3.206(If an)8.206 F 5.706 +2.992 E F0 .492(option is supplied.)2.992 F .492(If no)5.492 F .22 +(options are supplied, each)144 326.4 R F2(name)2.72 E F0 .22 +(refers to a v)2.72 F .221(ariable; if there is no v)-.25 F .221 +(ariable by that name, an)-.25 F 2.721(yf)-.15 G(unc-)-2.721 E 1.189 +(tion with that name is unset.)144 338.4 R 1.189(Each unset v)6.189 F +1.189(ariable or function is remo)-.25 F -.15(ve)-.15 G 3.688(df).15 G +1.188(rom the en)-3.688 F(vironment)-.4 E 3.205 +(passed to subsequent commands.)144 350.4 R 3.206(If an)8.206 F 5.706 (yo)-.15 G(f)-5.706 E/F3 9/Times-Bold@0 SF(COMP_W)5.706 E(ORDBREAKS)-.09 -E/F4 9/Times-Roman@0 SF(,)A F3(RANDOM)5.455 E F4(,)A F3(SECONDS)5.455 E -F4(,)A F3(LINENO)144 415.2 Q F4(,)A F3(HISTCMD)4.347 E F4(,)A F3(FUNCN) -4.347 E(AME)-.18 E F4(,)A F3(GR)4.347 E(OUPS)-.27 E F4(,)A F0(or)4.348 E +E/F4 9/Times-Roman@0 SF(,)A F3(RANDOM)5.456 E F4(,)A F3(SECONDS)5.456 E +F4(,)A F3(LINENO)144 362.4 Q F4(,)A F3(HISTCMD)4.348 E F4(,)A F3(FUNCN) +4.348 E(AME)-.18 E F4(,)A F3(GR)4.348 E(OUPS)-.27 E F4(,)A F0(or)4.348 E F3(DIRST)4.598 E -.495(AC)-.81 G(K).495 E F0 2.098(are unset, the)4.348 -F 4.598(yl)-.15 G 2.098(ose their special)-4.598 F(properties, e)144 -427.2 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he)-2.5 E 2.5(ya)-.15 +F 4.597(yl)-.15 G 2.097(ose their special)-4.597 F(properties, e)144 +374.4 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he)-2.5 E 2.5(ya)-.15 G(re subsequently reset.)-2.5 E(The e)5 E(xit status is true unless a) --.15 E F2(name)2.86 E F0(is readonly)2.68 E(.)-.65 E F1(wait)108 444 Q +-.15 E F2(name)2.86 E F0(is readonly)2.68 E(.)-.65 E F1(wait)108 391.2 Q F0([)2.5 E F1A F0 2.5(][)C F2 2.5(n.)-2.5 G(..)-2.5 E F0(])A -.8 -(Wa)144 456 S .027(it for each speci\214ed child process and return its\ - termination status.).8 F(Each)5.026 E F2(n)2.886 E F0 .026 -(may be a process ID)2.766 F .256 -(or a job speci\214cation; if a job spec is gi)144 468 R -.15(ve)-.25 G -.256(n, all processes in that job').15 F 2.756(sp)-.55 G .256 +(Wa)144 403.2 S .026(it for each speci\214ed child process and return i\ +ts termination status.).8 F(Each)5.027 E F2(n)2.887 E F0 .027 +(may be a process ID)2.767 F .256 +(or a job speci\214cation; if a job spec is gi)144 415.2 R -.15(ve)-.25 +G .256(n, all processes in that job').15 F 2.756(sp)-.55 G .256 (ipeline are w)-2.756 F .256(aited for)-.1 F 5.256(.I)-.55 G(f)-5.256 E -F2(n)3.116 E F0 .318(is not gi)144 480 R -.15(ve)-.25 G .318 +F2(n)3.116 E F0 .317(is not gi)144 427.2 R -.15(ve)-.25 G .317 (n, all currently acti).15 F .618 -.15(ve c)-.25 H .318 (hild processes are w).15 F .318(aited for)-.1 F 2.818(,a)-.4 G .318 -(nd the return status is zero.)-2.818 F .317(If the)5.317 F F1144 -492 Q F0 .361(option is supplied,)2.861 F F1(wait)2.861 E F0 -.1(wa) -2.861 G .361(its for an).1 F 2.862(yj)-.15 G .362 -(ob to terminate and returns its e)-2.862 F .362(xit status.)-.15 F(If) -5.362 E F2(n)3.222 E F0(speci\214es)3.102 E 2.596(an)144 504 S(on-e) --2.596 E .096(xistent process or job, the return status is 127.)-.15 F -.095(Otherwise, the return status is the e)5.095 F .095(xit status)-.15 -F(of the last process or job w)144 516 Q(aited for)-.1 E(.)-.55 E/F5 -10.95/Times-Bold@0 SF(RESTRICTED SHELL)72 532.8 Q F0(If)108 544.8 Q F1 -(bash)4.396 E F0 1.896(is started with the name)4.396 F F1(rbash)4.397 E -F0 4.397(,o)C 4.397(rt)-4.397 G(he)-4.397 E F14.397 E F0 1.897 -(option is supplied at in)4.397 F -.2(vo)-.4 G 1.897 -(cation, the shell becomes).2 F 3.446(restricted. A)108 556.8 R .945 -(restricted shell is used to set up an en)3.446 F .945 -(vironment more controlled than the standard shell.)-.4 F(It)5.945 E -(beha)108 568.8 Q -.15(ve)-.2 G 2.5(si).15 G(dentically to)-2.5 E F1 -(bash)2.5 E F0(with the e)2.5 E(xception that the follo)-.15 E -(wing are disallo)-.25 E(wed or not performed:)-.25 E 32.5<8363>108 -585.6 S(hanging directories with)-32.5 E F1(cd)2.5 E F0 32.5<8373>108 -602.4 S(etting or unsetting the v)-32.5 E(alues of)-.25 E F3(SHELL)2.5 E +(nd the return status is zero.)-2.818 F .318(If the)5.318 F F1144 +439.2 Q F0 .362(option is supplied,)2.862 F F1(wait)2.862 E F0 -.1(wa) +2.862 G .362(its for an).1 F 2.862(yj)-.15 G .362 +(ob to terminate and returns its e)-2.862 F .361(xit status.)-.15 F(If) +5.361 E F2(n)3.221 E F0(speci\214es)3.101 E 2.595(an)144 451.2 S(on-e) +-2.595 E .095(xistent process or job, the return status is 127.)-.15 F +.096(Otherwise, the return status is the e)5.095 F .096(xit status)-.15 +F(of the last process or job w)144 463.2 Q(aited for)-.1 E(.)-.55 E/F5 +10.95/Times-Bold@0 SF(RESTRICTED SHELL)72 480 Q F0(If)108 492 Q F1(bash) +4.397 E F0 1.897(is started with the name)4.397 F F1(rbash)4.397 E F0 +4.397(,o)C 4.397(rt)-4.397 G(he)-4.397 E F14.397 E F0 1.896 +(option is supplied at in)4.397 F -.2(vo)-.4 G 1.896 +(cation, the shell becomes).2 F 3.445(restricted. A)108 504 R .945 +(restricted shell is used to set up an en)3.445 F .946 +(vironment more controlled than the standard shell.)-.4 F(It)5.946 E +(beha)108 516 Q -.15(ve)-.2 G 2.5(si).15 G(dentically to)-2.5 E F1(bash) +2.5 E F0(with the e)2.5 E(xception that the follo)-.15 E +(wing are disallo)-.25 E(wed or not performed:)-.25 E<83>108 532.8 Q +(changing directories with)144 532.8 Q F1(cd)2.5 E F0<83>108 549.6 Q +(setting or unsetting the v)144 549.6 Q(alues of)-.25 E F3(SHELL)2.5 E F4(,)A F3 -.666(PA)2.25 G(TH)-.189 E F4(,)A F3(ENV)2.25 E F4(,)A F0(or) -2.25 E F3 -.27(BA)2.5 G(SH_ENV).27 E F0 32.5<8373>108 619.2 S -(pecifying command names containing)-32.5 E F1(/)2.5 E F0 32.5<8373>108 -636 S(pecifying a \214lename containing a)-32.5 E F1(/)2.5 E F0 +2.25 E F3 -.27(BA)2.5 G(SH_ENV).27 E F0<83>108 566.4 Q +(specifying command names containing)144 566.4 Q F1(/)2.5 E F0<83>108 +583.2 Q(specifying a \214lename containing a)144 583.2 Q F1(/)2.5 E F0 (as an ar)2.5 E(gument to the)-.18 E F1(.)2.5 E F0 -.2(bu)5 G -(iltin command).2 E 32.5<8373>108 652.8 S .449 -(pecifying a \214lename containing a slash as an ar)-32.5 F .449 -(gument to the)-.18 F F12.95 E F0 .45(option to the)2.95 F F1 -(hash)2.95 E F0 -.2(bu)2.95 G .45(iltin com-).2 F(mand)144 664.8 Q 32.5 -<8369>108 681.6 S(mporting function de\214nitions from the shell en) --32.5 E(vironment at startup)-.4 E 32.5<8370>108 698.4 S(arsing the v) --32.5 E(alue of)-.25 E F3(SHELLOPTS)2.5 E F0(from the shell en)2.25 E -(vironment at startup)-.4 E 32.5<8372>108 715.2 S(edirecting output usi\ -ng the >, >|, <>, >&, &>, and >> redirection operators)-32.5 E -(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(73)190.95 E 0 Cg EP -%%Page: 74 74 +(iltin command).2 E<83>108 600 Q .45 +(specifying a \214lename containing a slash as an ar)144 600 R .449 +(gument to the)-.18 F F12.949 E F0 .449(option to the)2.949 F F1 +(hash)2.949 E F0 -.2(bu)2.949 G .449(iltin com-).2 F(mand)144 612 Q<83> +108 628.8 Q(importing function de\214nitions from the shell en)144 628.8 +Q(vironment at startup)-.4 E<83>108 645.6 Q(parsing the v)144 645.6 Q +(alue of)-.25 E F3(SHELLOPTS)2.5 E F0(from the shell en)2.25 E +(vironment at startup)-.4 E<83>108 662.4 Q(redirecting output using the\ + >, >|, <>, >&, &>, and >> redirection operators)144 662.4 Q<83>108 +679.2 Q(using the)144 679.2 Q F1(exec)2.5 E F0 -.2(bu)2.5 G +(iltin command to replace the shell with another command).2 E<83>108 696 +Q(adding or deleting b)144 696 Q(uiltin commands with the)-.2 E F1 +2.5 E F0(and)2.5 E F12.5 E F0(options to the)2.5 E F1(enable)2.5 E +F0 -.2(bu)2.5 G(iltin command).2 E<83>108 712.8 Q(using the)144 712.8 Q +F1(enable)2.5 E F0 -.2(bu)2.5 G +(iltin command to enable disabled shell b).2 E(uiltins)-.2 E +(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(76)192.055 E 0 Cg EP +%%Page: 77 77 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E 32.5<8375>108 84 S(sing the)-32.5 E/F1 10/Times-Bold@0 SF(exec) -2.5 E F0 -.2(bu)2.5 G -(iltin command to replace the shell with another command).2 E 32.5<8361> -108 100.8 S(dding or deleting b)-32.5 E(uiltin commands with the)-.2 E -F12.5 E F0(and)2.5 E F12.5 E F0(options to the)2.5 E F1 -(enable)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E 32.5<8375>108 117.6 S -(sing the)-32.5 E F1(enable)2.5 E F0 -.2(bu)2.5 G -(iltin command to enable disabled shell b).2 E(uiltins)-.2 E 32.5<8373> -108 134.4 S(pecifying the)-32.5 E F12.5 E F0(option to the)2.5 E -F1(command)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E 32.5<8374>108 151.2 -S(urning of)-32.5 E 2.5(fr)-.25 G(estricted mode with)-2.5 E F1(set +r) -2.5 E F0(or)2.5 E F1(set +o r)2.5 E(estricted)-.18 E F0(.)A -(These restrictions are enforced after an)108 168 Q 2.5(ys)-.15 G -(tartup \214les are read.)-2.5 E 1.566 -(When a command that is found to be a shell script is e)108 184.8 R -.15 -(xe)-.15 G 1.566(cuted \(see).15 F/F2 9/Times-Bold@0 SF 1.566 -(COMMAND EXECUTION)4.066 F F0(abo)3.816 E -.15(ve)-.15 G(\),).15 E F1 -(rbash)108 196.8 Q F0(turns of)2.5 E 2.5(fa)-.25 G .3 -.15(ny r)-2.5 H +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E<83>108 84 Q +(specifying the)144 84 Q/F1 10/Times-Bold@0 SF2.5 E F0 +(option to the)2.5 E F1(command)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E +<83>108 100.8 Q(turning of)144 100.8 Q 2.5(fr)-.25 G +(estricted mode with)-2.5 E F1(set +r)2.5 E F0(or)2.5 E F1(set +o r)2.5 +E(estricted)-.18 E F0(.)A(These restrictions are enforced after an)108 +117.6 Q 2.5(ys)-.15 G(tartup \214les are read.)-2.5 E 1.566 +(When a command that is found to be a shell script is e)108 134.4 R -.15 +(xe)-.15 G 1.567(cuted \(see).15 F/F2 9/Times-Bold@0 SF 1.567 +(COMMAND EXECUTION)4.067 F F0(abo)3.817 E -.15(ve)-.15 G(\),).15 E F1 +(rbash)108 146.4 Q F0(turns of)2.5 E 2.5(fa)-.25 G .3 -.15(ny r)-2.5 H (estrictions in the shell spa).15 E(wned to e)-.15 E -.15(xe)-.15 G -(cute the script.).15 E/F3 10.95/Times-Bold@0 SF(SEE ALSO)72 213.6 Q/F4 -10/Times-Italic@0 SF(Bash Refer)108 225.6 Q(ence Manual)-.37 E F0 2.5 +(cute the script.).15 E/F3 10.95/Times-Bold@0 SF(SEE ALSO)72 163.2 Q/F4 +10/Times-Italic@0 SF(Bash Refer)108 175.2 Q(ence Manual)-.37 E F0 2.5 (,B)C(rian F)-2.5 E(ox and Chet Rame)-.15 E(y)-.15 E F4 -(The Gnu Readline Libr)108 237.6 Q(ary)-.15 E F0 2.5(,B)C(rian F)-2.5 E -(ox and Chet Rame)-.15 E(y)-.15 E F4(The Gnu History Libr)108 249.6 Q +(The Gnu Readline Libr)108 187.2 Q(ary)-.15 E F0 2.5(,B)C(rian F)-2.5 E +(ox and Chet Rame)-.15 E(y)-.15 E F4(The Gnu History Libr)108 199.2 Q (ary)-.15 E F0 2.5(,B)C(rian F)-2.5 E(ox and Chet Rame)-.15 E(y)-.15 E -F4 -.8(Po)108 261.6 S(rtable Oper).8 E +F4 -.8(Po)108 211.2 S(rtable Oper).8 E (ating System Interface \(POSIX\) P)-.15 E(art 2: Shell and Utilities) --.8 E F0 2.5(,I)C(EEE --)-2.5 E(http://pubs.opengroup.or)144 273.6 Q -(g/onlinepubs/9699919799/)-.18 E(http://tiswww)108 285.6 Q +-.8 E F0 2.5(,I)C(EEE --)-2.5 E(http://pubs.opengroup.or)144 223.2 Q +(g/onlinepubs/9699919799/)-.18 E(http://tiswww)108 235.2 Q (.case.edu/~chet/bash/POSIX -- a description of posix mode)-.65 E F4(sh) -108 297.6 Q F0(\(1\),)A F4(ksh)2.5 E F0(\(1\),)A F4(csh)2.5 E F0(\(1\))A -F4(emacs)108 309.6 Q F0(\(1\),)A F4(vi)2.5 E F0(\(1\))A F4 -.37(re)108 -321.6 S(adline).37 E F0(\(3\))A F3(FILES)72 338.4 Q F4(/bin/bash)109.666 -350.4 Q F0(The)144 362.4 Q F1(bash)2.5 E F0 -.15(exe)2.5 G(cutable).15 E -F4(/etc/pr)109.666 374.4 Q(o\214le)-.45 E F0 -(The systemwide initialization \214le, e)144 386.4 Q -.15(xe)-.15 G -(cuted for login shells).15 E F4(~/.bash_pr)109.666 398.4 Q(o\214le)-.45 -E F0(The personal initialization \214le, e)144 410.4 Q -.15(xe)-.15 G -(cuted for login shells).15 E F4(~/.bashr)109.666 422.4 Q(c)-.37 E F0 -(The indi)144 434.4 Q(vidual per)-.25 E(-interacti)-.2 E -.15(ve)-.25 G -(-shell startup \214le).15 E F4(~/.bash_lo)109.666 446.4 Q(gout)-.1 E F0 -(The indi)144 458.4 Q(vidual login shell cleanup \214le, e)-.25 E -.15 -(xe)-.15 G(cuted when a login shell e).15 E(xits)-.15 E F4(~/.inputr) -109.666 470.4 Q(c)-.37 E F0(Indi)144 482.4 Q(vidual)-.25 E F4 -.37(re) -2.5 G(adline).37 E F0(initialization \214le)2.5 E F3 -.548(AU)72 499.2 S -(THORS).548 E F0(Brian F)108 511.2 Q(ox, Free Softw)-.15 E(are F)-.1 E -(oundation)-.15 E(bfox@gnu.or)108 523.2 Q(g)-.18 E(Chet Rame)108 540 Q -1.3 -.65(y, C)-.15 H(ase W).65 E(estern Reserv)-.8 E 2.5(eU)-.15 G(ni) --2.5 E -.15(ve)-.25 G(rsity).15 E(chet.rame)108 552 Q(y@case.edu)-.15 E -F3 -.11(BU)72 568.8 S 2.738(GR).11 G(EPOR)-2.738 E(TS)-.438 E F0 .567 -(If you \214nd a b)108 580.8 R .568(ug in)-.2 F F1(bash,)3.068 E F0 .568 +108 247.2 Q F0(\(1\),)A F4(ksh)2.5 E F0(\(1\),)A F4(csh)2.5 E F0(\(1\))A +F4(emacs)108 259.2 Q F0(\(1\),)A F4(vi)2.5 E F0(\(1\))A F4 -.37(re)108 +271.2 S(adline).37 E F0(\(3\))A F3(FILES)72 288 Q F4(/bin/bash)109.666 +300 Q F0(The)144 312 Q F1(bash)2.5 E F0 -.15(exe)2.5 G(cutable).15 E F4 +(/etc/pr)109.666 324 Q(o\214le)-.45 E F0 +(The systemwide initialization \214le, e)144 336 Q -.15(xe)-.15 G +(cuted for login shells).15 E F4(~/.bash_pr)109.666 348 Q(o\214le)-.45 E +F0(The personal initialization \214le, e)144 360 Q -.15(xe)-.15 G +(cuted for login shells).15 E F4(~/.bashr)109.666 372 Q(c)-.37 E F0 +(The indi)144 384 Q(vidual per)-.25 E(-interacti)-.2 E -.15(ve)-.25 G +(-shell startup \214le).15 E F4(~/.bash_lo)109.666 396 Q(gout)-.1 E F0 +(The indi)144 408 Q(vidual login shell cleanup \214le, e)-.25 E -.15(xe) +-.15 G(cuted when a login shell e).15 E(xits)-.15 E F4(~/.inputr)109.666 +420 Q(c)-.37 E F0(Indi)144 432 Q(vidual)-.25 E F4 -.37(re)2.5 G(adline) +.37 E F0(initialization \214le)2.5 E F3 -.548(AU)72 448.8 S(THORS).548 E +F0(Brian F)108 460.8 Q(ox, Free Softw)-.15 E(are F)-.1 E(oundation)-.15 +E(bfox@gnu.or)108 472.8 Q(g)-.18 E(Chet Rame)108 489.6 Q 1.3 -.65(y, C) +-.15 H(ase W).65 E(estern Reserv)-.8 E 2.5(eU)-.15 G(ni)-2.5 E -.15(ve) +-.25 G(rsity).15 E(chet.rame)108 501.6 Q(y@case.edu)-.15 E F3 -.11(BU)72 +518.4 S 2.738(GR).11 G(EPOR)-2.738 E(TS)-.438 E F0 .568 +(If you \214nd a b)108 530.4 R .568(ug in)-.2 F F1(bash,)3.068 E F0 .568 (you should report it.)3.068 F .568(But \214rst, you should mak)5.568 F -3.068(es)-.1 G .568(ure that it really is a b)-3.068 F .568(ug, and)-.2 -F 5.626(that it appears in the latest v)108 592.8 R 5.625(ersion of)-.15 -F F1(bash)8.125 E F0 10.625(.T)C 5.625(he latest v)-10.625 F 5.625 -(ersion is al)-.15 F -.1(wa)-.1 G 5.625(ys a).1 F -.25(va)-.2 G 5.625 -(ilable from).25 F F4(ftp://ftp.gnu.or)108 604.8 Q(g/pub/gnu/bash/)-.37 -E F0(.)A .41(Once you ha)108 621.6 R .71 -.15(ve d)-.2 H .41 -(etermined that a b).15 F .41(ug actually e)-.2 F .411(xists, use the) --.15 F F4(bashb)3.181 E(ug)-.2 E F0 .411(command to submit a b)3.131 F -.411(ug report.)-.2 F(If)5.411 E .595(you ha)108 633.6 R .895 -.15 -(ve a \214)-.2 H .595(x, you are encouraged to mail that as well!).15 F -.594(Suggestions and `philosophical' b)5.595 F .594(ug reports may)-.2 F -(be mailed to)108 645.6 Q F4 -.2(bu)2.5 G(g-bash@gnu.or).2 E(g)-.37 E F0 +3.068(es)-.1 G .568(ure that it really is a b)-3.068 F .567(ug, and)-.2 +F 5.625(that it appears in the latest v)108 542.4 R 5.625(ersion of)-.15 +F F1(bash)8.125 E F0 10.625(.T)C 5.625(he latest v)-10.625 F 5.626 +(ersion is al)-.15 F -.1(wa)-.1 G 5.626(ys a).1 F -.25(va)-.2 G 5.626 +(ilable from).25 F F4(ftp://ftp.gnu.or)108 554.4 Q(g/pub/gnu/bash/)-.37 +E F0(.)A .411(Once you ha)108 571.2 R .711 -.15(ve d)-.2 H .411 +(etermined that a b).15 F .411(ug actually e)-.2 F .411(xists, use the) +-.15 F F4(bashb)3.18 E(ug)-.2 E F0 .41(command to submit a b)3.13 F .41 +(ug report.)-.2 F(If)5.41 E .594(you ha)108 583.2 R .894 -.15(ve a \214) +-.2 H .595(x, you are encouraged to mail that as well!).15 F .595 +(Suggestions and `philosophical' b)5.595 F .595(ug reports may)-.2 F +(be mailed to)108 595.2 Q F4 -.2(bu)2.5 G(g-bash@gnu.or).2 E(g)-.37 E F0 (or posted to the Usenet ne)2.5 E(wsgroup)-.25 E F1(gnu.bash.b)2.5 E(ug) --.2 E F0(.)A(ALL b)108 662.4 Q(ug reports should include:)-.2 E(The v) -108 679.2 Q(ersion number of)-.15 E F1(bash)2.5 E F0(The hardw)108 691.2 -Q(are and operating system)-.1 E(The compiler used to compile)108 703.2 -Q(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 E(74)190.95 E 0 Cg EP -%%Page: 75 75 +-.2 E F0(.)A(ALL b)108 612 Q(ug reports should include:)-.2 E(The v)108 +628.8 Q(ersion number of)-.15 E F1(bash)2.5 E F0(The hardw)108 640.8 Q +(are and operating system)-.1 E(The compiler used to compile)108 652.8 Q +2.5(Ad)108 664.8 S(escription of the b)-2.5 E(ug beha)-.2 E(viour)-.2 E +2.5(As)108 676.8 S(hort script or `recipe' which e)-2.5 E -.15(xe)-.15 G +(rcises the b).15 E(ug)-.2 E F4(bashb)108.27 693.6 Q(ug)-.2 E F0 +(inserts the \214rst three items automatically into the template it pro) +2.72 E(vides for \214ling a b)-.15 E(ug report.)-.2 E(Comments and b)108 +710.4 Q(ug reports concerning this manual page should be directed to)-.2 +E F4 -.15(ch)2.5 G(et.r).15 E(ame)-.15 E(y@case)-.3 E(.edu)-.15 E F0(.) +.25 E(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 E(77)192.055 E 0 Cg +EP +%%Page: 78 78 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E 2.5(Ad)108 84 S(escription of the b)-2.5 E(ug beha)-.2 E(viour) --.2 E 2.5(As)108 96 S(hort script or `recipe' which e)-2.5 E -.15(xe) --.15 G(rcises the b).15 E(ug)-.2 E/F1 10/Times-Italic@0 SF(bashb)108.27 -112.8 Q(ug)-.2 E F0 -(inserts the \214rst three items automatically into the template it pro) -2.72 E(vides for \214ling a b)-.15 E(ug report.)-.2 E(Comments and b)108 -129.6 Q(ug reports concerning this manual page should be directed to)-.2 -E F1 -.15(ch)2.5 G(et.r).15 E(ame)-.15 E(y@case)-.3 E(.edu)-.15 E F0(.) -.25 E/F2 10.95/Times-Bold@0 SF -.11(BU)72 146.4 S(GS).11 E F0(It')108 -158.4 Q 2.5(st)-.55 G(oo big and too slo)-2.5 E -.65(w.)-.25 G 1.868 -(There are some subtle dif)108 175.2 R 1.868(ferences between)-.25 F/F3 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 137.14(SH\(1\) General).35 F +(Commands Manual)2.5 E -.35(BA)139.64 G(SH\(1\)).35 E/F1 10.95 +/Times-Bold@0 SF -.11(BU)72 84 S(GS).11 E F0(It')108 96 Q 2.5(st)-.55 G +(oo big and too slo)-2.5 E -.65(w.)-.25 G 1.869 +(There are some subtle dif)108 112.8 R 1.869(ferences between)-.25 F/F2 10/Times-Bold@0 SF(bash)4.369 E F0 1.869(and traditional v)4.369 F 1.869 -(ersions of)-.15 F F3(sh)4.369 E F0 4.369(,m)C 1.869 -(ostly because of the)-4.369 F/F4 9/Times-Bold@0 SF(POSIX)108 187.2 Q F0 -(speci\214cation.)2.25 E(Aliases are confusing in some uses.)108 204 Q -(Shell b)108 220.8 Q +(ersions of)-.15 F F2(sh)4.368 E F0 4.368(,m)C 1.868 +(ostly because of the)-4.368 F/F3 9/Times-Bold@0 SF(POSIX)108 124.8 Q F0 +(speci\214cation.)2.25 E(Aliases are confusing in some uses.)108 141.6 Q +(Shell b)108 158.4 Q (uiltin commands and functions are not stoppable/restartable.)-.2 E 1.315(Compound commands and command sequences of the form `a ; b ; c' a\ -re not handled gracefully when)108 237.6 R .389 -(process suspension is attempted.)108 249.6 R .389 -(When a process is stopped, the shell immediately e)5.389 F -.15(xe)-.15 -G .39(cutes the ne).15 F .39(xt com-)-.15 F .193(mand in the sequence.) -108 261.6 R .192(It suf)5.193 F .192(\214ces to place the sequence of c\ -ommands between parentheses to force it into a)-.25 F -(subshell, which may be stopped as a unit.)108 273.6 Q(Array v)108 290.4 -Q(ariables may not \(yet\) be e)-.25 E(xported.)-.15 E -(There may be only one acti)108 307.2 Q .3 -.15(ve c)-.25 H -(oprocess at a time.).15 E(GNU Bash 4.3)72 768 Q(2014 February 2)141.79 -E(75)190.95 E 0 Cg EP +re not handled gracefully when)108 175.2 R .39 +(process suspension is attempted.)108 187.2 R .389 +(When a process is stopped, the shell immediately e)5.39 F -.15(xe)-.15 +G .389(cutes the ne).15 F .389(xt com-)-.15 F .192 +(mand in the sequence.)108 199.2 R .192(It suf)5.192 F .192(\214ces to \ +place the sequence of commands between parentheses to force it into a) +-.25 F(subshell, which may be stopped as a unit.)108 211.2 Q(Array v)108 +228 Q(ariables may not \(yet\) be e)-.25 E(xported.)-.15 E +(There may be only one acti)108 244.8 Q .3 -.15(ve c)-.25 H +(oprocess at a time.).15 E(GNU Bash 4.4)72 768 Q(2016 August 26)142.895 +E(78)192.055 E 0 Cg EP %%Trailer end %%EOF diff --git a/doc/bashbug.0 b/doc/bashbug.0 index 41fc1edbb..e40eed379 100644 --- a/doc/bashbug.0 +++ b/doc/bashbug.0 @@ -1,4 +1,4 @@ -BASHBUG(1) BASHBUG(1) +BASHBUG(1) General Commands Manual BASHBUG(1) @@ -27,8 +27,9 @@ DDEESSCCRRIIPPTTIIOONN EENNVVIIRROONNMMEENNTT bbaasshhbbuugg will utilize the following environment variables if they exist: - EEDDIITTOORR Specifies the preferred editor. If EEDDIITTOORR is not set, bbaasshhbbuugg - defaults to eemmaaccss. + EEDDIITTOORR Specifies the preferred editor. If EEDDIITTOORR is not set, bbaasshhbbuugg + attempts to locate a number of alternative editors, including + eemmaaccss, and defaults to vvii. HHOOMMEE Directory in which the failed bug report is saved if the mail fails. @@ -47,4 +48,4 @@ AAUUTTHHOORRSS -GNU Bash-4.0 1998 July 30 BASHBUG(1) +GNU Bash-4.4 2016 February 15 BASHBUG(1) diff --git a/doc/bashbug.1 b/doc/bashbug.1 index 962cb9cba..61d9122ab 100644 --- a/doc/bashbug.1 +++ b/doc/bashbug.1 @@ -5,9 +5,9 @@ .\" Case Western Reserve University .\" chet@po.cwru.edu .\" -.\" Last Change: Tue Apr 3 15:46:30 EDT 2007 +.\" Last Change: Mon Feb 15 14:42:40 EST 2016 .\" -.TH BASHBUG 1 "1998 July 30" "GNU Bash-4.0" +.TH BASHBUG 1 "2016 February 15" "GNU Bash-4.4" .SH NAME bashbug \- report a bug in bash .SH SYNOPSIS @@ -43,8 +43,9 @@ Specifies the preferred editor. If .B EDITOR is not set, .B bashbug -defaults to -.BR emacs . +attempts to locate a number of alternative editors, including +.BR emacs , +and defaults to \fBvi\fP. .TP .B HOME Directory in which the failed bug report is saved if the mail fails. diff --git a/doc/bashbug.ps b/doc/bashbug.ps index efbcdda14..a5df73f55 100644 --- a/doc/bashbug.ps +++ b/doc/bashbug.ps @@ -1,20 +1,20 @@ %!PS-Adobe-3.0 -%%Creator: groff version 1.19.2 -%%CreationDate: Mon Nov 17 17:38:06 2008 +%%Creator: groff version 1.22.3 +%%CreationDate: Mon Mar 28 15:34:55 2016 %%DocumentNeededResources: font Times-Roman %%+ font Times-Bold %%+ font Times-Italic -%%DocumentSuppliedResources: procset grops 1.19 2 +%%DocumentSuppliedResources: procset grops 1.22 3 %%Pages: 1 %%PageOrder: Ascend -%%DocumentMedia: Default 595 842 0 () () +%%DocumentMedia: Default 612 792 0 () () %%Orientation: Portrait %%EndComments %%BeginDefaults %%PageMedia: Default %%EndDefaults %%BeginProlog -%%BeginResource: procset grops 1.19 2 +%%BeginResource: procset grops 1.22 3 %!PS-Adobe-3.0 Resource-ProcSet /setpacking where{ pop @@ -72,6 +72,7 @@ exch pop add exch pop /level0 save def 1 setlinecap 1 setlinejoin +DEFS/BPhook known{DEFS begin BPhook end}if 72 RES div dup scale LS{ 90 rotate @@ -137,7 +138,10 @@ pop findfont dup maxlength 1 index/FontName known not{1 add}if dict begin { -1 index/FID ne{def}{pop pop}ifelse +1 index/FID ne +2 index/UniqueID ne +and +{def}{pop pop}ifelse }forall /Encoding exch def dup/FontName exch def @@ -175,8 +179,10 @@ newpath userdict begin /showpage{}def /setpagedevice{}def +mark }bind def /PEND{ +cleartomark countdictstack CNT sub{end}repeat level1 restore }bind def @@ -189,17 +195,17 @@ setpacking %%EndProlog %%BeginSetup %%BeginFeature: *PageSize Default -<< /PageSize [ 595 842 ] /ImagingBBox null >> setpagedevice +<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice %%EndFeature %%IncludeResource: font Times-Roman %%IncludeResource: font Times-Bold %%IncludeResource: font Times-Italic grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72 -def/PL 841.89 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron -/Zcaron/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef +def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron +/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef /.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef -/.notdef/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent +/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent /ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen /period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon /semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O @@ -229,13 +235,14 @@ def/PL 841.89 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SHB).35 E 347.52(UG\(1\) B)-.1 F -(ASHB)-.35 E(UG\(1\))-.1 E/F1 10.95/Times-Bold@0 SF -.219(NA)72 84 S(ME) -.219 E F0(bashb)108 96 Q(ug \255 report a b)-.2 E(ug in bash)-.2 E F1 -(SYNOPSIS)72 112.8 Q/F2 10/Times-Bold@0 SF(bashb)108 124.8 Q(ug)-.2 E F0 -([)2.5 E/F3 10/Times-Italic@0 SF(--ver)A(sion)-.1 E F0 2.5(][)C F3 -(--help)-2.5 E F0 2.5(][)C F3(email-addr)-2.5 E(ess)-.37 E F0(])A F1 -(DESCRIPTION)72 141.6 Q F2(bashb)108 153.6 Q(ug)-.2 E F0 .446 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SHB).35 E 116.13 +(UG\(1\) General)-.1 F(Commands Manual)2.5 E -.35(BA)118.63 G(SHB).35 E +(UG\(1\))-.1 E/F1 10.95/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0 +(bashb)108 96 Q(ug \255 report a b)-.2 E(ug in bash)-.2 E F1(SYNOPSIS)72 +112.8 Q/F2 10/Times-Bold@0 SF(bashb)108 124.8 Q(ug)-.2 E F0([)2.5 E/F3 +10/Times-Italic@0 SF(--ver)A(sion)-.1 E F0 2.5(][)C F3(--help)-2.5 E F0 +2.5(][)C F3(email-addr)-2.5 E(ess)-.37 E F0(])A F1(DESCRIPTION)72 141.6 +Q F2(bashb)108 153.6 Q(ug)-.2 E F0 .446 (is a shell script to help the user compose and mail b)2.947 F .446 (ug reports concerning bash in a standard for)-.2 F(-)-.2 E(mat.)108 165.6 Q F2(bashb)5.961 E(ug)-.2 E F0(in)3.461 E -.2(vo)-.4 G -.1(ke).2 G @@ -265,20 +272,23 @@ F0(in the in)2.5 E -.2(vo)-.4 G(king user').2 E 2.5(sh)-.55 G (Fix)5 E(es are encouraged.)-.15 E F1(ENVIR)72 271.2 Q(ONMENT)-.329 E F2 (bashb)108 283.2 Q(ug)-.2 E F0(will utilize the follo)2.5 E(wing en)-.25 E(vironment v)-.4 E(ariables if the)-.25 E 2.5(ye)-.15 G(xist:)-2.65 E -F2(EDIT)108 300 Q(OR)-.18 E F0(Speci\214es the preferred editor)144 312 -Q 2.5(.I)-.55 G(f)-2.5 E F4(EDIT)2.5 E(OR)-.162 E F0(is not set,)2.25 E -F2(bashb)2.5 E(ug)-.2 E F0(def)2.5 E(aults to)-.1 E F2(emacs)2.5 E F0(.) -A F2(HOME)108 328.8 Q F0(Directory in which the f)144 340.8 Q(ailed b) --.1 E(ug report is sa)-.2 E -.15(ve)-.2 G 2.5(di).15 G 2.5(ft)-2.5 G -(he mail f)-2.5 E(ails.)-.1 E F2(TMPDIR)108 357.6 Q F0 +F2(EDIT)108 300 Q(OR)-.18 E F0 .327(Speci\214es the preferred editor)144 +312 R 2.827(.I)-.55 G(f)-2.827 E F4(EDIT)2.827 E(OR)-.162 E F0 .327 +(is not set,)2.577 F F2(bashb)2.827 E(ug)-.2 E F0 .328 +(attempts to locate a number of alter)2.827 F(-)-.2 E(nati)144 324 Q .3 +-.15(ve e)-.25 H(ditors, including).15 E F2(emacs)2.5 E F0 2.5(,a)C +(nd def)-2.5 E(aults to)-.1 E F2(vi)2.5 E F0(.)A F2(HOME)108 340.8 Q F0 +(Directory in which the f)144 352.8 Q(ailed b)-.1 E(ug report is sa)-.2 +E -.15(ve)-.2 G 2.5(di).15 G 2.5(ft)-2.5 G(he mail f)-2.5 E(ails.)-.1 E +F2(TMPDIR)108 369.6 Q F0 (Directory in which to create temporary \214les and directories.)144 -369.6 Q F1(SEE ALSO)72 386.4 Q F3(bash)108 398.4 Q F0(\(1\))A F1 -.548 -(AU)72 415.2 S(THORS).548 E F0(Brian F)108 427.2 Q(ox, Free Softw)-.15 E -(are F)-.1 E(oundation)-.15 E(bfox@gnu.or)108 439.2 Q(g)-.18 E -(Chet Rame)108 456 Q 1.3 -.65(y, C)-.15 H(ase W).65 E(estern Reserv)-.8 +381.6 Q F1(SEE ALSO)72 398.4 Q F3(bash)108 410.4 Q F0(\(1\))A F1 -.548 +(AU)72 427.2 S(THORS).548 E F0(Brian F)108 439.2 Q(ox, Free Softw)-.15 E +(are F)-.1 E(oundation)-.15 E(bfox@gnu.or)108 451.2 Q(g)-.18 E +(Chet Rame)108 468 Q 1.3 -.65(y, C)-.15 H(ase W).65 E(estern Reserv)-.8 E 2.5(eU)-.15 G(ni)-2.5 E -.15(ve)-.25 G(rsity).15 E(chet@po.cwru.edu) -108 468 Q(GNU Bash-4.0)72 768 Q(1998 July 30)148.175 E(1)203.165 E 0 Cg -EP +108 480 Q(GNU Bash-4.4)72 768 Q(2016 February 15)138.46 E(1)193.45 E 0 +Cg EP %%Trailer end %%EOF diff --git a/doc/bashref.dvi b/doc/bashref.dvi index f56627f8e..6b4fc4912 100644 Binary files a/doc/bashref.dvi and b/doc/bashref.dvi differ diff --git a/doc/bashref.html b/doc/bashref.html index 6f9270767..8c2eabf06 100644 --- a/doc/bashref.html +++ b/doc/bashref.html @@ -1,1390 +1,1451 @@ - - - - + + +Bash Reference Manual + + + + + + + + + + + + + + + + + +

Bash Reference Manual

+ + + + + + + + + + + +

Table of Contents

+ +
+ + +
+ + + +
+

+Next: , Previous: , Up: (dir)   [Contents][Index]

+
+ +

Bash Features

+ +

This text is a brief description of the features that are present in +the Bash shell (version 4.4, 7 September 2016). +The Bash home page is http://www.gnu.org/software/bash/. +

+

This is Edition 4.4, last updated 7 September 2016, +of The GNU Bash Reference Manual, +for Bash, Version 4.4. +

+

Bash contains features that appear in other popular shells, and some features that only appear in Bash. Some of the shells that Bash has -borrowed concepts from are the Bourne Shell (`sh'), the Korn Shell -(`ksh'), and the C-shell (`csh' and its successor, -`tcsh'). The following menu breaks the features up into +borrowed concepts from are the Bourne Shell (sh), the Korn Shell +(ksh), and the C-shell (csh and its successor, +tcsh). The following menu breaks the features up into categories, noting which features were inspired by other shells and which are specific to Bash. -

- -This manual is meant as a brief introduction to features found in +

+

This manual is meant as a brief introduction to features found in Bash. The Bash manual page should be used as the definitive reference on shell behavior. -

- -

- - - - - - - - - - - - + + +
1. Introduction  An introduction to the shell.
2. Definitions  Some definitions used in the rest of this - manual.
3. Basic Shell Features  The shell "building blocks".
4. Shell Builtin Commands  Commands that are a part of the shell.
5. Shell Variables  Variables used or set by Bash.
6. Bash Features  Features found only in Bash.
7. Job Control  What job control is and how Bash allows you - to use it.
8. Command Line Editing  Chapter describing the command line - editing features.
9. Using History Interactively  Command History Expansion
10. Installing Bash  How to build and install Bash on your system.
A. Reporting Bugs  How to report bugs in Bash.
B. Major Differences From The Bourne Shell  A terse list of the differences +

+ + + + + + + + + + + + + - - - -

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
- -

1. Introduction

- -
- - -
1.1 What is Bash?  A short description of Bash.
1.2 What is a shell?  A brief introduction to shells.
-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

1.1 What is Bash?

- -

- -Bash is the shell, or command language interpreter, -for the GNU operating system. -The name is an acronym for the `Bourne-Again SHell', + versions of /bin/sh. +

GNU Free Documentation License:  Copying and sharing this documentation. +
Indexes:  Various indexes for this manual. +
+ +
+ +
+

+Next: , Up: Top   [Contents][Index]

+
+ +

1 Introduction

+ + + + + +
+ + + +

1.1 What is Bash?

+ +

Bash is the shell, or command language interpreter, +for the GNU operating system. +The name is an acronym for the ‘Bourne-Again SHell’, a pun on Stephen Bourne, the author of the direct ancestor of -the current Unix shell sh, +the current Unix shell sh, which appeared in the Seventh Edition Bell Labs Research version of Unix. -

- -Bash is largely compatible with sh and incorporates useful -features from the Korn shell ksh and the C shell csh. -It is intended to be a conformant implementation of the IEEE -POSIX Shell and Tools portion of the IEEE POSIX -specification (IEEE Standard 1003.1). -It offers functional improvements over sh for both interactive and +

+

Bash is largely compatible with sh and incorporates useful +features from the Korn shell ksh and the C shell csh. +It is intended to be a conformant implementation of the IEEE +POSIX Shell and Tools portion of the IEEE POSIX +specification (IEEE Standard 1003.1). +It offers functional improvements over sh for both interactive and programming use. -

- -While the GNU operating system provides other shells, including -a version of csh, Bash is the default shell. -Like other GNU software, Bash is quite portable. It currently runs +

+

While the GNU operating system provides other shells, including +a version of csh, Bash is the default shell. +Like other GNU software, Bash is quite portable. It currently runs on nearly every version of Unix and a few other operating systems - -independently-supported ports exist for MS-DOS, OS/2, +independently-supported ports exist for MS-DOS, OS/2, and Windows platforms. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

1.2 What is a shell?

- -

- -At its base, a shell is simply a macro processor that executes +

+
+ +
+

+Previous: , Up: Introduction   [Contents][Index]

+
+ +

1.2 What is a shell?

+ +

At its base, a shell is simply a macro processor that executes commands. The term macro processor means functionality where text and symbols are expanded to create larger expressions. -

- -A Unix shell is both a command interpreter and a programming +

+

A Unix shell is both a command interpreter and a programming language. As a command interpreter, the shell provides the user -interface to the rich set of GNU utilities. The programming +interface to the rich set of GNU utilities. The programming language features allow these utilities to be combined. Files containing commands can be created, and become commands themselves. These new commands have the same status as -system commands in directories such as `/bin', allowing users +system commands in directories such as /bin, allowing users or groups to establish custom environments to automate their common tasks. -

- -Shells may be used interactively or non-interactively. In +

+

Shells may be used interactively or non-interactively. In interactive mode, they accept input typed from the keyboard. When executing non-interactively, shells execute commands read from a file. -

- -A shell allows execution of GNU commands, both synchronously and +

+

A shell allows execution of GNU commands, both synchronously and asynchronously. The shell waits for synchronous commands to complete before accepting more input; asynchronous commands continue to execute in parallel with the shell while it reads and executes additional commands. -The redirection constructs permit +The redirection constructs permit fine-grained control of the input and output of those commands. -Moreover, the shell allows control over the contents of commands' +Moreover, the shell allows control over the contents of commands’ environments. -

- -Shells also provide a small set of built-in -commands (builtins) implementing functionality impossible +

+

Shells also provide a small set of built-in +commands (builtins) implementing functionality impossible or inconvenient to obtain via separate utilities. -For example, cd, break, continue, and -exec cannot be implemented outside of the shell because +For example, cd, break, continue, and +exec cannot be implemented outside of the shell because they directly manipulate the shell itself. -The history, getopts, kill, or pwd +The history, getopts, kill, or pwd builtins, among others, could be implemented in separate utilities, but they are more convenient to use as builtin commands. All of the shell builtins are described in subsequent sections. -

- -While executing commands is essential, most of the power (and +

+

While executing commands is essential, most of the power (and complexity) of shells is due to their embedded programming languages. Like any high-level language, the shell provides variables, flow control constructs, quoting, and functions. -

- -Shells offer features geared specifically for +

+

Shells offer features geared specifically for interactive use rather than to augment the programming language. These interactive features include job control, command line editing, command history and aliases. Each of these features is described in this manual. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

2. Definitions

- -These definitions are used throughout the remainder of this manual. -

- -

- -
POSIX -
-A family of open system standards based on Unix. Bash +

+
+ +
+

+Next: , Previous: , Up: Top   [Contents][Index]

+
+ +

2 Definitions

+

These definitions are used throughout the remainder of this manual. +

+
+
POSIX
+
+

A family of open system standards based on Unix. Bash is primarily concerned with the Shell and Utilities portion of the -POSIX 1003.1 standard. -

- -

blank -
A space or tab character. -

- -

builtin -
-A command that is implemented internally by the shell itself, rather +POSIX 1003.1 standard. +

+
+
blank
+

A space or tab character. +

+
+
builtin
+
+

A command that is implemented internally by the shell itself, rather than by an executable program somewhere in the file system. -

- -

control operator -
-A token that performs a control function. It is a newline +

+
+
control operator
+
+

A token that performs a control function. It is a newline or one of the following: -`||', `&&', `&', `;', `;;', -`|', `|&', `(', or `)'. -

- -

exit status -
-The value returned by a command to its caller. The value is restricted +‘||’, ‘&&’, ‘&’, ‘;’, ‘;;’, ‘;&’, ‘;;&’, +‘|’, ‘|&’, ‘(’, or ‘)’. +

+
+
exit status
+
+

The value returned by a command to its caller. The value is restricted to eight bits, so the maximum value is 255. -

- -

field -
-A unit of text that is the result of one of the shell expansions. After +

+
+
field
+
+

A unit of text that is the result of one of the shell expansions. After expansion, when executing a command, the resulting fields are used as the command name and arguments. -

- -

filename -
-A string of characters used to identify a file. -

- -

job -
-A set of processes comprising a pipeline, and any processes descended +

+
+
filename
+
+

A string of characters used to identify a file. +

+
+
job
+
+

A set of processes comprising a pipeline, and any processes descended from it, that are all in the same process group. -

- -

job control -
-A mechanism by which users can selectively stop (suspend) and restart +

+
+
job control
+
+

A mechanism by which users can selectively stop (suspend) and restart (resume) execution of processes. -

- -

metacharacter -
-A character that, when unquoted, separates words. A metacharacter is -a blank or one of the following characters: -`|', `&', `;', `(', `)', `<', or -`>'. -

- -

name -
- -A word consisting solely of letters, numbers, and underscores, -and beginning with a letter or underscore. Names are used as +

+
+
metacharacter
+
+

A character that, when unquoted, separates words. A metacharacter is +a space, tab, newline, or one of the following characters: +‘|’, ‘&’, ‘;’, ‘(’, ‘)’, ‘<’, or +‘>’. +

+
+
name
+
+ +

A word consisting solely of letters, numbers, and underscores, +and beginning with a letter or underscore. Names are used as shell variable and function names. -Also referred to as an identifier. -

- -

operator -
-A control operator or a redirection operator. -See section 3.6 Redirections, for a list of redirection operators. -Operators contain at least one unquoted metacharacter. -

- -

process group -
-A collection of related processes each having the same process -group ID. -

- -

process group ID -
-A unique identifier that represents a process group +Also referred to as an identifier. +

+
+
operator
+
+

A control operator or a redirection operator. +See Redirections, for a list of redirection operators. +Operators contain at least one unquoted metacharacter. +

+
+
process group
+
+

A collection of related processes each having the same process +group ID. +

+
+
process group ID
+
+

A unique identifier that represents a process group during its lifetime. -

- -

reserved word -
-A word that has a special meaning to the shell. Most reserved -words introduce shell flow control constructs, such as for and -while. -

- -

return status -
-A synonym for exit status. -

- -

signal -
-A mechanism by which a process may be notified by the kernel +

+
+
reserved word
+
+

A word that has a special meaning to the shell. Most reserved +words introduce shell flow control constructs, such as for and +while. +

+
+
return status
+
+

A synonym for exit status. +

+
+
signal
+
+

A mechanism by which a process may be notified by the kernel of an event occurring in the system. -

- -

special builtin -
-A shell builtin command that has been classified as special by the -POSIX standard. -

- -

token -
-A sequence of characters considered a single unit by the shell. -It is either a word or an operator. -

- -

word -
-A sequence of characters treated as a unit by the shell. -Words may not include unquoted metacharacters. -
-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3. Basic Shell Features

- -

- -Bash is an acronym for `Bourne-Again SHell'. +

+
+
special builtin
+
+

A shell builtin command that has been classified as special by the +POSIX standard. +

+
+
token
+
+

A sequence of characters considered a single unit by the shell. +It is either a word or an operator. +

+
+
word
+
+

A sequence of characters treated as a unit by the shell. +Words may not include unquoted metacharacters. +

+
+ +
+ +
+

+Next: , Previous: , Up: Top   [Contents][Index]

+
+ +

3 Basic Shell Features

+ + +

Bash is an acronym for ‘Bourne-Again SHell’. The Bourne shell is the traditional Unix shell originally written by Stephen Bourne. All of the Bourne shell builtin commands are available in Bash, -The rules for evaluation and quoting are taken from the POSIX -specification for the `standard' Unix shell. -

- -This chapter briefly summarizes the shell's `building blocks': -commands, control structures, shell functions, shell parameters, +The rules for evaluation and quoting are taken from the POSIX +specification for the ‘standard’ Unix shell. +

+

This chapter briefly summarizes the shell’s ‘building blocks’: +commands, control structures, shell functions, shell parameters, shell expansions, -redirections, which are a way to direct input and output from +redirections, which are a way to direct input and output from and to named files, and how the shell executes commands. -

- -

- - - - - - - - -
3.1 Shell Syntax  What your input means to the shell.
3.2 Shell Commands  The types of commands you can use.
3.3 Shell Functions  Grouping commands by name.
3.4 Shell Parameters  How the shell stores values.
3.5 Shell Expansions  How Bash expands parameters and the various - expansions available.
3.6 Redirections  A way to control where input and output go.
3.7 Executing Commands  What happens when you run a command.
3.8 Shell Scripts  Executing files of shell commands.
-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.1 Shell Syntax

- -
- - - -
3.1.1 Shell Operation  The basic operation of the shell.
3.1.2 Quoting  How to remove the special meaning from characters.
3.1.3 Comments  How to specify comments.
-

- -When the shell reads input, it proceeds through a +

+ + + + + + + + + + + +
+ + + +

3.1 Shell Syntax

+ + + + + + +

When the shell reads input, it proceeds through a sequence of operations. If the input indicates the beginning of a -comment, the shell ignores the comment symbol (`#'), and the rest +comment, the shell ignores the comment symbol (‘#’), and the rest of that line. - -Otherwise, roughly speaking, the shell reads its input and +

+

Otherwise, roughly speaking, the shell reads its input and divides the input into words and operators, employing the quoting rules to select which meanings to assign various words and characters. -

- -The shell then parses these tokens into commands and other constructs, +

+

The shell then parses these tokens into commands and other constructs, removes the special meaning of certain words or characters, expands others, redirects input and output as needed, executes the specified -command, waits for the command's exit status, and makes that exit status +command, waits for the command’s exit status, and makes that exit status available for further inspection or processing. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.1.1 Shell Operation

- -

- -The following is a brief description of the shell's operation when it +

+
+ +
+

+Next: , Up: Shell Syntax   [Contents][Index]

+
+ +

3.1.1 Shell Operation

+ +

The following is a brief description of the shell’s operation when it reads and executes a command. Basically, the shell does the following: -

- -

    -
  1. -Reads its input from a file (see section 3.8 Shell Scripts), from a string -supplied as an argument to the `-c' invocation option -(see section 6.1 Invoking Bash), or from the user's terminal. -

    - -

  2. -Breaks the input into words and operators, obeying the quoting rules -described in 3.1.2 Quoting. These tokens are separated by -metacharacters. Alias expansion is performed by this step -(see section 6.6 Aliases). -

    - -

  3. -Parses the tokens into simple and compound commands -(see section 3.2 Shell Commands). -

    - -

  4. -Performs the various shell expansions (see section 3.5 Shell Expansions), breaking -the expanded tokens into lists of filenames (see section 3.5.8 Filename Expansion) +

    +
      +
    1. Reads its input from a file (see Shell Scripts), from a string +supplied as an argument to the -c invocation option +(see Invoking Bash), or from the user’s terminal. + +
    2. Breaks the input into words and operators, obeying the quoting rules +described in Quoting. These tokens are separated by +metacharacters. Alias expansion is performed by this step +(see Aliases). + +
    3. Parses the tokens into simple and compound commands +(see Shell Commands). + +
    4. Performs the various shell expansions (see Shell Expansions), breaking +the expanded tokens into lists of filenames (see Filename Expansion) and commands and arguments. -

      -

    5. -Performs any necessary redirections (see section 3.6 Redirections) and removes +
    6. Performs any necessary redirections (see Redirections) and removes the redirection operators and their operands from the argument list. -

      - -

    7. -Executes the command (see section 3.7 Executing Commands). -

      - -

    8. -Optionally waits for the command to complete and collects its exit -status (see section 3.7.5 Exit Status). -

      - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    3.1.2 Quoting

    - -
    - - - - - -
    3.1.2.1 Escape Character  How to remove the special meaning from a single - character.
    3.1.2.2 Single Quotes  How to inhibit all interpretation of a sequence - of characters.
    3.1.2.3 Double Quotes  How to suppress most of the interpretation of a - sequence of characters.
    3.1.2.4 ANSI-C Quoting  How to expand ANSI-C sequences in quoted strings.
    3.1.2.5 Locale-Specific Translation  How to translate strings into different languages.
    -

    - -Quoting is used to remove the special meaning of certain + +

  5. Executes the command (see Executing Commands). + +
  6. Optionally waits for the command to complete and collects its exit +status (see Exit Status). + +
+ +
+ +
+

+Next: , Previous: , Up: Shell Syntax   [Contents][Index]

+
+ +

3.1.2 Quoting

+ + + + + + + + + +

Quoting is used to remove the special meaning of certain characters or words to the shell. Quoting can be used to disable special treatment for special characters, to prevent reserved words from being recognized as such, and to prevent parameter expansion. -

- -Each of the shell metacharacters (see section 2. Definitions) +

+

Each of the shell metacharacters (see Definitions) has special meaning to the shell and must be quoted if it is to represent itself. When the command history expansion facilities are being used -(see section 9.3 History Expansion), the -history expansion character, usually `!', must be quoted -to prevent history expansion. See section 9.1 Bash History Facilities, for +(see History Interaction), the +history expansion character, usually ‘!’, must be quoted +to prevent history expansion. See Bash History Facilities, for more details concerning history expansion. -

- -There are three quoting mechanisms: the -escape character, single quotes, and double quotes. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.1.2.1 Escape Character

- -A non-quoted backslash `\' is the Bash escape character. +

+

There are three quoting mechanisms: the +escape character, single quotes, and double quotes. +

+
+ +
+

+Next: , Up: Quoting   [Contents][Index]

+
+ +

3.1.2.1 Escape Character

+

A non-quoted backslash ‘\’ is the Bash escape character. It preserves the literal value of the next character that follows, -with the exception of newline. If a \newline pair -appears, and the backslash itself is not quoted, the \newline +with the exception of newline. If a \newline pair +appears, and the backslash itself is not quoted, the \newline is treated as a line continuation (that is, it is removed from the input stream and effectively ignored). -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.1.2.2 Single Quotes

- -

- -Enclosing characters in single quotes (`'') preserves the literal value +

+
+ +
+

+Next: , Previous: , Up: Quoting   [Contents][Index]

+
+ +

3.1.2.2 Single Quotes

+ +

Enclosing characters in single quotes (‘'’) preserves the literal value of each character within the quotes. A single quote may not occur between single quotes, even when preceded by a backslash. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.1.2.3 Double Quotes

- -

- -Enclosing characters in double quotes (`"') preserves the literal value +

+
+ +
+

+Next: , Previous: , Up: Quoting   [Contents][Index]

+
+ +

3.1.2.3 Double Quotes

+ +

Enclosing characters in double quotes (‘"’) preserves the literal value of all characters within the quotes, with the exception of -`$', ``', `\', -and, when history expansion is enabled, `!'. -The characters `$' and ``' -retain their special meaning within double quotes (see section 3.5 Shell Expansions). +‘$’, ‘`’, ‘\’, +and, when history expansion is enabled, ‘!’. +When the shell is in +POSIX mode (see Bash POSIX Mode), +the ‘!’ has no special meaning +within double quotes, even when history expansion is enabled. +The characters ‘$’ and ‘`’ +retain their special meaning within double quotes (see Shell Expansions). The backslash retains its special meaning only when followed by one of the following characters: -`$', ``', `"', `\', or newline. +‘$’, ‘`’, ‘"’, ‘\’, or newline. Within double quotes, backslashes that are followed by one of these characters are removed. Backslashes preceding characters without a special meaning are left unmodified. A double quote may be quoted within double quotes by preceding it with a backslash. -If enabled, history expansion will be performed unless an `!' +If enabled, history expansion will be performed unless an ‘!’ appearing in double quotes is escaped using a backslash. -The backslash preceding the `!' is not removed. -

- -The special parameters `*' and `@' have special meaning -when in double quotes (see section 3.5.3 Shell Parameter Expansion). -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.1.2.4 ANSI-C Quoting

- -

- -Words of the form $'string' are treated specially. The -word expands to string, with backslash-escaped characters replaced +The backslash preceding the ‘!’ is not removed. +

+

The special parameters ‘*’ and ‘@’ have special meaning +when in double quotes (see Shell Parameter Expansion). +

+
+ +
+

+Next: , Previous: , Up: Quoting   [Contents][Index]

+
+ +

3.1.2.4 ANSI-C Quoting

+ + +

Words of the form $'string' are treated specially. The +word expands to string, with backslash-escaped characters replaced as specified by the ANSI C standard. Backslash escape sequences, if present, are decoded as follows: -

- -

-
\a -
alert (bell) -
\b -
backspace -
\e -
\E -
an escape character (not ANSI C) -
\f -
form feed -
\n -
newline -
\r -
carriage return -
\t -
horizontal tab -
\v -
vertical tab -
\\ -
backslash -
\' -
single quote -
\" -
double quote -
\nnn -
the eight-bit character whose value is the octal value nnn +

+
+
\a
+

alert (bell) +

+
\b
+

backspace +

+
\e
+
\E
+

an escape character (not ANSI C) +

+
\f
+

form feed +

+
\n
+

newline +

+
\r
+

carriage return +

+
\t
+

horizontal tab +

+
\v
+

vertical tab +

+
\\
+

backslash +

+
\'
+

single quote +

+
\"
+

double quote +

+
\?
+

question mark +

+
\nnn
+

the eight-bit character whose value is the octal value nnn (one to three digits) -

\xHH -
the eight-bit character whose value is the hexadecimal value HH +

+
\xHH
+

the eight-bit character whose value is the hexadecimal value HH (one or two hex digits) -

\uHHHH -
the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value -HHHH (one to four hex digits) -
\UHHHHHHHH -
the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value -HHHHHHHH (one to eight hex digits) -
\cx -
a control-x character -
-

- -The expanded result is single-quoted, as if the dollar sign had not +

+
\uHHHH
+

the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value +HHHH (one to four hex digits) +

+
\UHHHHHHHH
+

the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value +HHHHHHHH (one to eight hex digits) +

+
\cx
+

a control-x character +

+
+ +

The expanded result is single-quoted, as if the dollar sign had not been present. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.1.2.5 Locale-Specific Translation

- -

- -A double-quoted string preceded by a dollar sign (`$') will cause +

+
+ +
+

+Previous: , Up: Quoting   [Contents][Index]

+
+ +

3.1.2.5 Locale-Specific Translation

+ + + + + +

A double-quoted string preceded by a dollar sign (‘$’) will cause the string to be translated according to the current locale. -If the current locale is C or POSIX, the dollar sign +If the current locale is C or POSIX, the dollar sign is ignored. If the string is translated and replaced, the replacement is double-quoted. -

- - - - -Some systems use the message catalog selected by the LC_MESSAGES +

+ + + +

Some systems use the message catalog selected by the LC_MESSAGES shell variable. Others create the name of the message catalog from the -value of the TEXTDOMAIN shell variable, possibly adding a -suffix of `.mo'. If you use the TEXTDOMAIN variable, you -may need to set the TEXTDOMAINDIR variable to the location of +value of the TEXTDOMAIN shell variable, possibly adding a +suffix of ‘.mo’. If you use the TEXTDOMAIN variable, you +may need to set the TEXTDOMAINDIR variable to the location of the message catalog files. Still others use both variables in this fashion: -TEXTDOMAINDIR/LC_MESSAGES/LC_MESSAGES/TEXTDOMAIN.mo. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.1.3 Comments

- -

- -In a non-interactive shell, or an interactive shell in which the -interactive_comments option to the shopt -builtin is enabled (see section 4.3.2 The Shopt Builtin), -a word beginning with `#' +TEXTDOMAINDIR/LC_MESSAGES/LC_MESSAGES/TEXTDOMAIN.mo. +

+
+ +
+

+Previous: , Up: Shell Syntax   [Contents][Index]

+
+ +

3.1.3 Comments

+ + +

In a non-interactive shell, or an interactive shell in which the +interactive_comments option to the shopt +builtin is enabled (see The Shopt Builtin), +a word beginning with ‘#’ causes that word and all remaining characters on that line to -be ignored. An interactive shell without the interactive_comments -option enabled does not allow comments. The interactive_comments +be ignored. An interactive shell without the interactive_comments +option enabled does not allow comments. The interactive_comments option is on by default in interactive shells. -See section 6.3 Interactive Shells, for a description of what makes +See Interactive Shells, for a description of what makes a shell interactive. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.2 Shell Commands

- -

- -A simple shell command such as echo a b c consists of the command +

+
+ + + +

3.2 Shell Commands

+ + +

A simple shell command such as echo a b c consists of the command itself followed by arguments, separated by spaces. -

- -More complex shell commands are composed of simple commands arranged together +

+

More complex shell commands are composed of simple commands arranged together in a variety of ways: in a pipeline in which the output of one command becomes the input of a second, in a loop or conditional construct, or in some other grouping. -

- -

- - - - - - -
3.2.1 Simple Commands  The most common type of command.
3.2.2 Pipelines  Connecting the input and output of several - commands.
3.2.3 Lists of Commands  How to execute commands sequentially.
3.2.4 Compound Commands  Shell commands for control flow.
3.2.5 Coprocesses  Two-way communication between commands.
3.2.6 GNU Parallel  Running commands in parallel.
-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.2.1 Simple Commands

- -

- -A simple command is the kind of command encountered most often. -It's just a sequence of words separated by blanks, terminated -by one of the shell's control operators (see section 2. Definitions). The +

+ + + + + + + + + +
+ +
+

+Next: , Up: Shell Commands   [Contents][Index]

+
+ +

3.2.1 Simple Commands

+ + +

A simple command is the kind of command encountered most often. +It’s just a sequence of words separated by blanks, terminated +by one of the shell’s control operators (see Definitions). The first word generally specifies a command to be executed, with the -rest of the words being that command's arguments. -

- -The return status (see section 3.7.5 Exit Status) of a simple command is +rest of the words being that command’s arguments. +

+

The return status (see Exit Status) of a simple command is its exit status as provided -by the POSIX 1003.1 waitpid function, or 128+n if -the command was terminated by signal n. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.2.2 Pipelines

- -

- -A pipeline is a sequence of simple commands separated by one of -the control operators `|' or `|&'. -

- - - - -The format for a pipeline is -
 
[time [-p]] [!] command1 [ | or |& command2 ] ...
-

- -The output of each command in the pipeline is connected via a pipe +by the POSIX 1003.1 waitpid function, or 128+n if +the command was terminated by signal n. +

+
+ +
+

+Next: , Previous: , Up: Shell Commands   [Contents][Index]

+
+ +

3.2.2 Pipelines

+ + + +

A pipeline is a sequence of one or more commands separated by +one of the control operators ‘|’ or ‘|&’. +

+ + + +

The format for a pipeline is +

+
[time [-p]] [!] command1 [ | or |& command2 ] …
+
+ +

The output of each command in the pipeline is connected via a pipe to the input of the next command. -That is, each command reads the previous command's output. This +That is, each command reads the previous command’s output. This connection is performed before any redirections specified by the command. -

- -If `|&' is used, command1's standard error, in addition to +

+

If ‘|&’ is used, command1’s standard error, in addition to its standard output, is connected to -command2's standard input through the pipe; -it is shorthand for 2>&1 |. +command2’s standard input through the pipe; +it is shorthand for 2>&1 |. This implicit redirection of the standard error to the standard output is performed after any redirections specified by the command. -

- -The reserved word time causes timing statistics +

+

The reserved word time causes timing statistics to be printed for the pipeline once it finishes. The statistics currently consist of elapsed (wall-clock) time and -user and system time consumed by the command's execution. -The `-p' option changes the output format to that specified -by POSIX. -When the shell is in POSIX mode (see section 6.11 Bash POSIX Mode), -it does not recognize time as a reserved word if the next -token begins with a `-'. -The TIMEFORMAT variable may be set to a format string that +user and system time consumed by the command’s execution. +The -p option changes the output format to that specified +by POSIX. +When the shell is in POSIX mode (see Bash POSIX Mode), +it does not recognize time as a reserved word if the next +token begins with a ‘-’. +The TIMEFORMAT variable may be set to a format string that specifies how the timing information should be displayed. -See section 5.2 Bash Variables, for a description of the available formats. -The use of time as a reserved word permits the timing of +See Bash Variables, for a description of the available formats. +The use of time as a reserved word permits the timing of shell builtins, shell functions, and pipelines. An external -time command cannot time these easily. -

- -When the shell is in POSIX mode (see section 6.11 Bash POSIX Mode), time +time command cannot time these easily. +

+

When the shell is in POSIX mode (see Bash POSIX Mode), time may be followed by a newline. In this case, the shell displays the total user and system time consumed by the shell and its children. -The TIMEFORMAT variable may be used to specify the format of +The TIMEFORMAT variable may be used to specify the format of the time information. -

- -If the pipeline is not executed asynchronously (see section 3.2.3 Lists of Commands), the +

+

If the pipeline is not executed asynchronously (see Lists), the shell waits for all commands in the pipeline to complete. -

- -Each command in a pipeline is executed in its own subshell -(see section 3.7.3 Command Execution Environment). The exit +

+

Each command in a pipeline is executed in its own subshell +(see Command Execution Environment). The exit status of a pipeline is the exit status of the last command in the -pipeline, unless the pipefail option is enabled -(see section 4.3.1 The Set Builtin). -If pipefail is enabled, the pipeline's return status is the +pipeline, unless the pipefail option is enabled +(see The Set Builtin). +If pipefail is enabled, the pipeline’s return status is the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands exit successfully. -If the reserved word `!' precedes the pipeline, the +If the reserved word ‘!’ precedes the pipeline, the exit status is the logical negation of the exit status as described above. The shell waits for all commands in the pipeline to terminate before returning a value. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.2.3 Lists of Commands

- -

- -A list is a sequence of one or more pipelines separated by one -of the operators `;', `&', `&&', or `||', -and optionally terminated by one of `;', `&', or a -newline. -

- -Of these list operators, `&&' and `||' -have equal precedence, followed by `;' and `&', +

+
+ +
+

+Next: , Previous: , Up: Shell Commands   [Contents][Index]

+
+ +

3.2.3 Lists of Commands

+ + +

A list is a sequence of one or more pipelines separated by one +of the operators ‘;’, ‘&’, ‘&&’, or ‘||’, +and optionally terminated by one of ‘;’, ‘&’, or a +newline. +

+

Of these list operators, ‘&&’ and ‘||’ +have equal precedence, followed by ‘;’ and ‘&’, which have equal precedence. -

- -A sequence of one or more newlines may appear in a list +

+

A sequence of one or more newlines may appear in a list to delimit commands, equivalent to a semicolon. -

- -If a command is terminated by the control operator `&', +

+

If a command is terminated by the control operator ‘&’, the shell executes the command asynchronously in a subshell. -This is known as executing the command in the background. +This is known as executing the command in the background. The shell does not wait for the command to finish, and the return status is 0 (true). -When job control is not active (see section 7. Job Control), +When job control is not active (see Job Control), the standard input for asynchronous commands, in the absence of any -explicit redirections, is redirected from /dev/null. -

- -Commands separated by a `;' are executed sequentially; the shell +explicit redirections, is redirected from /dev/null. +

+

Commands separated by a ‘;’ are executed sequentially; the shell waits for each command to terminate in turn. The return status is the exit status of the last command executed. -

- -AND and OR lists are sequences of one or more pipelines -separated by the control operators `&&' and `||', -respectively. AND and OR lists are executed with left +

+

AND and OR lists are sequences of one or more pipelines +separated by the control operators ‘&&’ and ‘||’, +respectively. AND and OR lists are executed with left associativity. -

- -An AND list has the form -
 
command1 && command2
-

+

+

An AND list has the form +

+
command1 && command2
+
-command2 is executed if, and only if, command1 +

command2 is executed if, and only if, command1 returns an exit status of zero. -

+

+

An OR list has the form +

+
command1 || command2
+
-An OR list has the form -
 
command1 || command2
-

- -command2 is executed if, and only if, command1 +

command2 is executed if, and only if, command1 returns a non-zero exit status. -

- -The return status of -AND and OR lists is the exit status of the last command +

+

The return status of +AND and OR lists is the exit status of the last command executed in the list. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.2.4 Compound Commands

- -

- -

- - - -
3.2.4.1 Looping Constructs  Shell commands for iterative action.
3.2.4.2 Conditional Constructs  Shell commands for conditional execution.
3.2.4.3 Grouping Commands  Ways to group commands.
-

- -Compound commands are the shell programming constructs. +

+
+ +
+

+Next: , Previous: , Up: Shell Commands   [Contents][Index]

+
+ +

3.2.4 Compound Commands

+ + + + + + + + +

Compound commands are the shell programming constructs. Each construct begins with a reserved word or control operator and is terminated by a corresponding reserved word or operator. -Any redirections (see section 3.6 Redirections) associated with a compound command +Any redirections (see Redirections) associated with a compound command apply to all commands within that compound command unless explicitly overridden. -

- -In most cases a list of commands in a compound command's description may be +

+

In most cases a list of commands in a compound command’s description may be separated from the rest of the command by one or more newlines, and may be followed by a newline in place of a semicolon. -

- -Bash provides looping constructs, conditional commands, and mechanisms +

+

Bash provides looping constructs, conditional commands, and mechanisms to group commands and execute them as a unit. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.2.4.1 Looping Constructs

- -

- -Bash supports the following looping constructs. -

- -Note that wherever a `;' appears in the description of a -command's syntax, it may be replaced with one or more newlines. -

- -

-
until -
- - -The syntax of the until command is: -

- -
 
until test-commands; do consequent-commands; done
-

- -Execute consequent-commands as long as -test-commands has an exit status which is not zero. +

+
+ + + +

3.2.4.1 Looping Constructs

+ + +

Bash supports the following looping constructs. +

+

Note that wherever a ‘;’ appears in the description of a +command’s syntax, it may be replaced with one or more newlines. +

+
+
until
+
+ + +

The syntax of the until command is: +

+
+
until test-commands; do consequent-commands; done
+
+ +

Execute consequent-commands as long as +test-commands has an exit status which is not zero. The return status is the exit status of the last command executed -in consequent-commands, or zero if none was executed. -

- -

while -
-The syntax of the while command is: -

- -
 
while test-commands; do consequent-commands; done
-

- -Execute consequent-commands as long as -test-commands has an exit status of zero. +in consequent-commands, or zero if none was executed. +

+
+
while
+
+

The syntax of the while command is: +

+
+
while test-commands; do consequent-commands; done
+
+ +

Execute consequent-commands as long as +test-commands has an exit status of zero. The return status is the exit status of the last command executed -in consequent-commands, or zero if none was executed. -

- -

for -
-The syntax of the for command is: -

- -
 
for name [ [in [words ...] ] ; ] do commands; done
-

- -Expand words, and execute commands once for each member -in the resultant list, with name bound to the current member. -If `in words' is not present, the for command -executes the commands once for each positional parameter that is -set, as if `in "$@"' had been specified -(see section 3.4.2 Special Parameters). +in consequent-commands, or zero if none was executed. +

+
+
for
+
+

The syntax of the for command is: +

+
+
for name [ [in [words …] ] ; ] do commands; done
+
+ +

Expand words, and execute commands once for each member +in the resultant list, with name bound to the current member. +If ‘in words’ is not present, the for command +executes the commands once for each positional parameter that is +set, as if ‘in "$@"’ had been specified +(see Special Parameters). The return status is the exit status of the last command that executes. -If there are no items in the expansion of words, no commands are +If there are no items in the expansion of words, no commands are executed, and the return status is zero. -

- -An alternate form of the for command is also supported: -

- -
 
for (( expr1 ; expr2 ; expr3 )) ; do commands ; done
-

- -First, the arithmetic expression expr1 is evaluated according -to the rules described below (see section 6.5 Shell Arithmetic). -The arithmetic expression expr2 is then evaluated repeatedly +

+

An alternate form of the for command is also supported: +

+
+
for (( expr1 ; expr2 ; expr3 )) ; do commands ; done
+
+ +

First, the arithmetic expression expr1 is evaluated according +to the rules described below (see Shell Arithmetic). +The arithmetic expression expr2 is then evaluated repeatedly until it evaluates to zero. -Each time expr2 evaluates to a non-zero value, commands are -executed and the arithmetic expression expr3 is evaluated. +Each time expr2 evaluates to a non-zero value, commands are +executed and the arithmetic expression expr3 is evaluated. If any expression is omitted, it behaves as if it evaluates to 1. -The return value is the exit status of the last command in commands +The return value is the exit status of the last command in commands that is executed, or false if any of the expressions is invalid. -

-

+

+
-The break and continue builtins (see section 4.1 Bourne Shell Builtins) +

The break and continue builtins (see Bourne Shell Builtins) may be used to control loop execution. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.2.4.2 Conditional Constructs

- -

- -

-
if -
- - - - -The syntax of the if command is: -

- -
 
if test-commands; then
-  consequent-commands;
-[elif more-test-commands; then
-  more-consequents;]
-[else alternate-consequents;]
+

+
+ + + +

3.2.4.2 Conditional Constructs

+ + +
+
if
+
+ + + + +

The syntax of the if command is: +

+
+
if test-commands; then
+  consequent-commands;
+[elif more-test-commands; then
+  more-consequents;]
+[else alternate-consequents;]
 fi
-

+ -The test-commands list is executed, and if its return status is zero, -the consequent-commands list is executed. -If test-commands returns a non-zero status, each elif list +

The test-commands list is executed, and if its return status is zero, +the consequent-commands list is executed. +If test-commands returns a non-zero status, each elif list is executed in turn, and if its exit status is zero, -the corresponding more-consequents is executed and the +the corresponding more-consequents is executed and the command completes. -If `else alternate-consequents' is present, and -the final command in the final if or elif clause -has a non-zero exit status, then alternate-consequents is executed. +If ‘else alternate-consequents’ is present, and +the final command in the final if or elif clause +has a non-zero exit status, then alternate-consequents is executed. The return status is the exit status of the last command executed, or zero if no condition tested true. -

- -

case -
- - -The syntax of the case command is: -

- -
 
case word in [ [(] pattern [| pattern]...) command-list ;;]... esac
-

- -case will selectively execute the command-list corresponding to -the first pattern that matches word. -If the shell option nocasematch -(see the description of shopt in 4.3.2 The Shopt Builtin) +

+
+
case
+
+ + +

The syntax of the case command is: +

+
+
case word in [ [(] pattern [| pattern]…) command-list ;;]… esac
+
+ +

case will selectively execute the command-list corresponding to +the first pattern that matches word. +If the nocasematch shell option +(see the description of shopt in The Shopt Builtin) is enabled, the match is performed without regard to the case of alphabetic characters. -The `|' is used to separate multiple patterns, and the `)' +The ‘|’ is used to separate multiple patterns, and the ‘)’ operator terminates a pattern list. A list of patterns and an associated command-list is known -as a clause. -

- -Each clause must be terminated with `;;', `;&', or `;;&'. -The word undergoes tilde expansion, parameter expansion, command +as a clause. +

+

Each clause must be terminated with ‘;;’, ‘;&’, or ‘;;&’. +The word undergoes tilde expansion, parameter expansion, command substitution, arithmetic expansion, and quote removal before matching is -attempted. Each pattern undergoes tilde expansion, parameter +attempted. Each pattern undergoes tilde expansion, parameter expansion, command substitution, and arithmetic expansion. -

- -There may be an arbitrary number of case clauses, each terminated -by a `;;', `;&', or `;;&'. +

+

There may be an arbitrary number of case clauses, each terminated +by a ‘;;’, ‘;&’, or ‘;;&’. The first pattern that matches determines the command-list that is executed. -It's a common idiom to use `*' as the final pattern to define the +It’s a common idiom to use ‘*’ as the final pattern to define the default case, since that pattern will always match. -

- -Here is an example using case in a script that could be used to +

+

Here is an example using case in a script that could be used to describe one interesting feature of an animal: -

- -
 
echo -n "Enter the name of an animal: "
+

+
+
echo -n "Enter the name of an animal: "
 read ANIMAL
-echo -n "The $ANIMAL has "
+echo -n "The $ANIMAL has "
 case $ANIMAL in
-  horse | dog | cat) echo -n "four";;
-  man | kangaroo ) echo -n "two";;
-  *) echo -n "an unknown number of";;
+  horse | dog | cat) echo -n "four";;
+  man | kangaroo ) echo -n "two";;
+  *) echo -n "an unknown number of";;
 esac
-echo " legs."
-

+echo " legs." + -

-If the `;;' operator is used, no subsequent matches are attempted after +

If the ‘;;’ operator is used, no subsequent matches are attempted after the first pattern match. -Using `;&' in place of `;;' causes execution to continue with -the command-list associated with the next clause, if any. -Using `;;&' in place of `;;' causes the shell to test the patterns -in the next clause, if any, and execute any associated command-list +Using ‘;&’ in place of ‘;;’ causes execution to continue with +the command-list associated with the next clause, if any. +Using ‘;;&’ in place of ‘;;’ causes the shell to test the patterns +in the next clause, if any, and execute any associated command-list on a successful match. -

- -The return status is zero if no pattern is matched. Otherwise, the -return status is the exit status of the command-list executed. -

- -

select -
-

- -The select construct allows the easy generation of menus. -It has almost the same syntax as the for command: -

- -
 
select name [in words ...]; do commands; done
-

- -The list of words following in is expanded, generating a list +

+

The return status is zero if no pattern is matched. Otherwise, the +return status is the exit status of the command-list executed. +

+
+
select
+
+ +

The select construct allows the easy generation of menus. +It has almost the same syntax as the for command: +

+
+
select name [in words …]; do commands; done
+
+ +

The list of words following in is expanded, generating a list of items. The set of expanded words is printed on the standard error output stream, each preceded by a number. If the -`in words' is omitted, the positional parameters are printed, -as if `in "$@"' had been specified. -The PS3 prompt is then displayed and a line is read from the +‘in words’ is omitted, the positional parameters are printed, +as if ‘in "$@"’ had been specified. +The PS3 prompt is then displayed and a line is read from the standard input. If the line consists of a number corresponding to one of the displayed -words, then the value of name is set to that word. +words, then the value of name is set to that word. If the line is empty, the words and prompt are displayed again. -If EOF is read, the select command completes. -Any other value read causes name to be set to null. -The line read is saved in the variable REPLY. -

- -The commands are executed after each selection until a -break command is executed, at which -point the select command completes. -

- -Here is an example that allows the user to pick a filename from the +If EOF is read, the select command completes. +Any other value read causes name to be set to null. +The line read is saved in the variable REPLY. +

+

The commands are executed after each selection until a +break command is executed, at which +point the select command completes. +

+

Here is an example that allows the user to pick a filename from the current directory, and displays the name and index of the file selected. -

- -
 
select fname in *;
+

+
+
select fname in *;
 do
 	echo you picked $fname \($REPLY\)
 	break;
 done
-

+ -

((...)) -
 
(( expression ))
-

+

+
((…))
+
+
(( expression ))
+
-The arithmetic expression is evaluated according to the rules -described below (see section 6.5 Shell Arithmetic). +

The arithmetic expression is evaluated according to the rules +described below (see Shell Arithmetic). If the value of the expression is non-zero, the return status is 0; otherwise the return status is 1. This is exactly equivalent to -
 
let "expression"
-
See section 4.2 Bash Builtin Commands, for a full description of the let builtin. -

- -

[[...]] -
- -
 
[[ expression ]]
-

- -Return a status of 0 or 1 depending on the evaluation of -the conditional expression expression. +

+
let "expression"
+
+

See Bash Builtins, for a full description of the let builtin. +

+
+
[[…]]
+
+ +
+
[[ expression ]]
+
+ +

Return a status of 0 or 1 depending on the evaluation of +the conditional expression expression. Expressions are composed of the primaries described below in -6.4 Bash Conditional Expressions. +Bash Conditional Expressions. Word splitting and filename expansion are not performed on the words -between the [[ and ]]; tilde expansion, parameter and +between the [[ and ]]; tilde expansion, parameter and variable expansion, arithmetic expansion, command substitution, process substitution, and quote removal are performed. -Conditional operators such as `-f' must be unquoted to be recognized +Conditional operators such as ‘-f’ must be unquoted to be recognized as primaries. -

- -When used with [[, the `<' and `>' operators sort +

+

When used with [[, the ‘<’ and ‘>’ operators sort lexicographically using the current locale. -

- -When the `==' and `!=' operators are used, the string to the +

+

When the ‘==’ and ‘!=’ operators are used, the string to the right of the operator is considered a pattern and matched according -to the rules described below in 3.5.8.1 Pattern Matching, -as if the extglob shell option were enabled. -The `=' operator is identical to `=='. -If the shell option nocasematch -(see the description of shopt in 4.3.2 The Shopt Builtin) +to the rules described below in Pattern Matching, +as if the extglob shell option were enabled. +The ‘=’ operator is identical to ‘==’. +If the nocasematch shell option +(see the description of shopt in The Shopt Builtin) is enabled, the match is performed without regard to the case of alphabetic characters. -The return value is 0 if the string matches (`==') or does not -match (`!=')the pattern, and 1 otherwise. +The return value is 0 if the string matches (‘==’) or does not +match (‘!=’)the pattern, and 1 otherwise. Any part of the pattern may be quoted to force the quoted portion to be matched as a string. -

- -An additional binary operator, `=~', is available, with the same -precedence as `==' and `!='. +

+

An additional binary operator, ‘=~’, is available, with the same +precedence as ‘==’ and ‘!=’. When it is used, the string to the right of the operator is considered -an extended regular expression and matched accordingly (as in regex3)). +an extended regular expression and matched accordingly (as in regex3)). The return value is 0 if the string matches the pattern, and 1 otherwise. If the regular expression is syntactically incorrect, the conditional -expression's return value is 2. -If the shell option nocasematch -(see the description of shopt in 4.3.2 The Shopt Builtin) +expression’s return value is 2. +If the nocasematch shell option +(see the description of shopt in The Shopt Builtin) is enabled, the match is performed without regard to the case of alphabetic characters. Any part of the pattern may be quoted to force the quoted portion @@ -1394,748 +1455,683 @@ since normal quoting characters lose their meanings between brackets. If the pattern is stored in a shell variable, quoting the variable expansion forces the entire pattern to be matched as a string. Substrings matched by parenthesized subexpressions within the regular -expression are saved in the array variable BASH_REMATCH. -The element of BASH_REMATCH with index 0 is the portion of the string +expression are saved in the array variable BASH_REMATCH. +The element of BASH_REMATCH with index 0 is the portion of the string matching the entire regular expression. -The element of BASH_REMATCH with index n is the portion of the -string matching the nth parenthesized subexpression. -

- -For example, the following will match a line -(stored in the shell variable line) +The element of BASH_REMATCH with index n is the portion of the +string matching the nth parenthesized subexpression. +

+

For example, the following will match a line +(stored in the shell variable line) if there is a sequence of characters in the value consisting of any number, including zero, of -space characters, zero or one instances of `a', then a `b': -
 
[[ $line =~ [[:space:]]*(a)?b ]]
-

- -That means values like `aab' and ` aaaaaab' will match, as -will a line containing a `b' anywhere in its value. -

- -Storing the regular expression in a shell variable is often a useful +space characters, zero or one instances of ‘a’, then a ‘b’: +

+
[[ $line =~ [[:space:]]*(a)?b ]]
+
+ +

That means values like ‘aab’ and ‘ aaaaaab’ will match, as +will a line containing a ‘b’ anywhere in its value. +

+

Storing the regular expression in a shell variable is often a useful way to avoid problems with quoting characters that are special to the shell. It is sometimes difficult to specify a regular expression literally without using quotes, or to keep track of the quoting used by regular -expressions while paying attention to the shell's quote removal. +expressions while paying attention to the shell’s quote removal. Using a shell variable to store the pattern decreases these problems. For example, the following is equivalent to the above: -
 
pattern='[[:space:]]*(a)?b'
+

+
pattern='[[:space:]]*(a)?b'
 [[ $line =~ $pattern ]]
-

+ -If you want to match a character that's special to the regular expression +

If you want to match a character that’s special to the regular expression grammar, it has to be quoted to remove its special meaning. -This means that in the pattern `xxx.txt', the `.' matches any +This means that in the pattern ‘xxx.txt’, the ‘.’ matches any character in the string (its usual regular expression meaning), but in the -pattern `"xxx.txt"' it can only match a literal `.'. +pattern ‘"xxx.txt"’ it can only match a literal ‘.’. Shell programmers should take special care with backslashes, since backslashes are used both by the shell and regular expressions to remove the special meaning from the following character. -The following two sets of commands are not equivalent: -
 
pattern='\.'
+The following two sets of commands are not equivalent:
+

+
pattern='\.'
 
 [[ . =~ $pattern ]]
 [[ . =~ \. ]]
 
-[[ . =~ "$pattern" ]]
+[[ . =~ "$pattern" ]]
 [[ . =~ '\.' ]]
-

+ -The first two matches will succeed, but the second two will not, because +

The first two matches will succeed, but the second two will not, because in the second two the backslash will be part of the pattern to be matched. In the first two examples, the backslash removes the special meaning from -`.', so the literal `.' matches. -If the string in the first examples were anything other than `.', say -`a', the pattern would not match, because the quoted `.' in the +‘.’, so the literal ‘.’ matches. +If the string in the first examples were anything other than ‘.’, say +‘a’, the pattern would not match, because the quoted ‘.’ in the pattern loses its special meaning of matching any single character. -

- -Expressions may be combined using the following operators, listed +

+

Expressions may be combined using the following operators, listed in decreasing order of precedence: -

- -

-
( expression ) -
Returns the value of expression. +

+
+
( expression )
+

Returns the value of expression. This may be used to override the normal precedence of operators. -

- -

! expression -
True if expression is false. -

- -

expression1 && expression2 -
True if both expression1 and expression2 are true. -

- -

expression1 || expression2 -
True if either expression1 or expression2 is true. -
-

- -The && and || operators do not evaluate expression2 if the -value of expression1 is sufficient to determine the return +

+
+
! expression
+

True if expression is false. +

+
+
expression1 && expression2
+

True if both expression1 and expression2 are true. +

+
+
expression1 || expression2
+

True if either expression1 or expression2 is true. +

+
+ +

The && and || operators do not evaluate expression2 if the +value of expression1 is sufficient to determine the return value of the entire conditional expression. -

-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.2.4.3 Grouping Commands

- -

- -Bash provides two ways to group a list of commands to be executed +

+
+ +
+ + + +

3.2.4.3 Grouping Commands

+ + +

Bash provides two ways to group a list of commands to be executed as a unit. When commands are grouped, redirections may be applied to the entire command list. For example, the output of all the commands in the list may be redirected to a single stream. -

- -

-
() -
 
( list )
-

- -Placing a list of commands between parentheses causes a subshell -environment to be created (see section 3.7.3 Command Execution Environment), and each -of the commands in list to be executed in that subshell. Since the -list is executed in a subshell, variable assignments do not remain in +

+
+
()
+
+
( list )
+
+ +

Placing a list of commands between parentheses causes a subshell +environment to be created (see Command Execution Environment), and each +of the commands in list to be executed in that subshell. Since the +list is executed in a subshell, variable assignments do not remain in effect after the subshell completes. -

- -

{} -
- -
 
{ list; }
-

- -Placing a list of commands between curly braces causes the list to +

+
+
{}
+
+ +
+
{ list; }
+
+ +

Placing a list of commands between curly braces causes the list to be executed in the current shell context. No subshell is created. -The semicolon (or newline) following list is required. -

-

+The semicolon (or newline) following list is required. +

+
-In addition to the creation of a subshell, there is a subtle difference +

In addition to the creation of a subshell, there is a subtle difference between these two constructs due to historical reasons. The braces -are reserved words, so they must be separated from the list -by blanks or other shell metacharacters. -The parentheses are operators, and are +are reserved words, so they must be separated from the list +by blanks or other shell metacharacters. +The parentheses are operators, and are recognized as separate tokens by the shell even if they are not separated -from the list by whitespace. -

- -The exit status of both of these constructs is the exit status of -list. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.2.5 Coprocesses

- -

- -A coprocess is a shell command preceded by the coproc +from the list by whitespace. +

+

The exit status of both of these constructs is the exit status of +list. +

+
+ +
+

+Next: , Previous: , Up: Shell Commands   [Contents][Index]

+
+ +

3.2.5 Coprocesses

+ + +

A coprocess is a shell command preceded by the coproc reserved word. A coprocess is executed asynchronously in a subshell, as if the command -had been terminated with the `&' control operator, with a two-way pipe +had been terminated with the ‘&’ control operator, with a two-way pipe established between the executing shell and the coprocess. -

- -The format for a coprocess is: -
 
coproc [NAME] command [redirections]
-

- -This creates a coprocess named NAME. -If NAME is not supplied, the default name is COPROC. -NAME must not be supplied if command is a simple -command (see section 3.2.1 Simple Commands); otherwise, it is interpreted as +

+

The format for a coprocess is: +

+
coproc [NAME] command [redirections]
+
+ +

This creates a coprocess named NAME. +If NAME is not supplied, the default name is COPROC. +NAME must not be supplied if command is a simple +command (see Simple Commands); otherwise, it is interpreted as the first word of the simple command. -

- -When the coprocess is executed, the shell creates an array variable -(see section 6.7 Arrays) -named NAME in the context of the executing shell. -The standard output of command +

+

When the coprocess is executed, the shell creates an array variable +(see Arrays) +named NAME in the context of the executing shell. +The standard output of command is connected via a pipe to a file descriptor in the executing shell, -and that file descriptor is assigned to NAME[0]. -The standard input of command +and that file descriptor is assigned to NAME[0]. +The standard input of command is connected via a pipe to a file descriptor in the executing shell, -and that file descriptor is assigned to NAME[1]. +and that file descriptor is assigned to NAME[1]. This pipe is established before any redirections specified by the -command (see section 3.6 Redirections). +command (see Redirections). The file descriptors can be utilized as arguments to shell commands and redirections using standard word expansions. The file descriptors are not available in subshells. -

- -The process ID of the shell spawned to execute the coprocess is -available as the value of the variable NAME_PID. -The wait +

+

The process ID of the shell spawned to execute the coprocess is +available as the value of the variable NAME_PID. +The wait builtin command may be used to wait for the coprocess to terminate. -

- -Since the coprocess is created as an asynchronous command, -the coproc command always returns success. -The return status of a coprocess is the exit status of command. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.2.6 GNU Parallel

- -

- -There are ways to run commands in parallel that are not built into Bash. +

+

Since the coprocess is created as an asynchronous command, +the coproc command always returns success. +The return status of a coprocess is the exit status of command. +

+
+ +
+

+Previous: , Up: Shell Commands   [Contents][Index]

+
+ +

3.2.6 GNU Parallel

+ +

There are ways to run commands in parallel that are not built into Bash. GNU Parallel is a tool to do just that. -

- -GNU Parallel, as its name suggests, can be used to build and run commands +

+

GNU Parallel, as its name suggests, can be used to build and run commands in parallel. You may run the same command with different arguments, whether they are filenames, usernames, hostnames, or lines read from files. GNU Parallel provides shorthand references to many of the most common operations (input lines, various portions of the input line, different ways to specify -the input source, and so on). Parallel can replace xargs or feed +the input source, and so on). Parallel can replace xargs or feed commands from its input sources to several different instances of Bash. -

- -For a complete description, refer to the GNU Parallel documentation. A few +

+

For a complete description, refer to the GNU Parallel documentation. A few examples should provide a brief introduction to its use. -

- -For example, it is easy to replace xargs to gzip all html files in the +

+

For example, it is easy to replace xargs to gzip all html files in the current directory and its subdirectories: -
 
find . -type f -name '*.html' -print | parallel gzip
-
If you need to protect special characters such as newlines in file names, -use find's `-print0' option and parallel's `-0' option. -

- -You can use Parallel to move files from the current directory when the -number of files is too large to process with one mv invocation: -
 
ls | parallel mv {} destdir
-

- -As you can see, the {} is replaced with each line read from standard input. -While using ls will work in most instances, it is not sufficient to +

+
find . -type f -name '*.html' -print | parallel gzip
+
+

If you need to protect special characters such as newlines in file names, +use find’s -print0 option and parallel’s -0 option. +

+

You can use Parallel to move files from the current directory when the +number of files is too large to process with one mv invocation: +

+
ls | parallel mv {} destdir
+
+ +

As you can see, the {} is replaced with each line read from standard input. +While using ls will work in most instances, it is not sufficient to deal with all filenames. If you need to accommodate special characters in filenames, you can use -

- -
 
find . -depth 1 \! -name '.*' -print0 | parallel -0 mv {} destdir
-

- -as alluded to above. -

- -This will run as many mv commands as there are files in the current +

+
+
find . -depth 1 \! -name '.*' -print0 | parallel -0 mv {} destdir
+
+ +

as alluded to above. +

+

This will run as many mv commands as there are files in the current directory. -You can emulate a parallel xargs by adding the `-X' option: -
 
find . -depth 1 \! -name '.*' -print0 | parallel -0 -X mv {} destdir
-

+You can emulate a parallel xargs by adding the -X option: +

+
find . -depth 1 \! -name '.*' -print0 | parallel -0 -X mv {} destdir
+
-GNU Parallel can replace certain common idioms that operate on lines read +

GNU Parallel can replace certain common idioms that operate on lines read from a file (in this case, filenames listed one per line): -
 
	while IFS= read -r x; do
-		do-something1 "$x" "config-$x"
-		do-something2 < "$x"
-	done < file | process-output
-

- -with a more compact syntax reminiscent of lambdas: -
 
cat list | parallel "do-something1 {} config-{} ; do-something2 < {}" | process-output
-

- -Parallel provides a built-in mechanism to remove filename extensions, which +

+
	while IFS= read -r x; do
+		do-something1 "$x" "config-$x"
+		do-something2 < "$x"
+	done < file | process-output
+
+ +

with a more compact syntax reminiscent of lambdas: +

+
cat list | parallel "do-something1 {} config-{} ; do-something2 < {}" | process-output
+
+ +

Parallel provides a built-in mechanism to remove filename extensions, which lends itself to batch file transformations or renaming: -
 
ls *.gz | parallel -j+0 "zcat {} | bzip2 >{.}.bz2 && rm {}"
-
This will recompress all files in the current directory with names ending +

+
ls *.gz | parallel -j+0 "zcat {} | bzip2 >{.}.bz2 && rm {}"
+
+

This will recompress all files in the current directory with names ending in .gz using bzip2, running one job per CPU (-j+0) in parallel. -(We use ls for brevity here; using find as above is more +(We use ls for brevity here; using find as above is more robust in the face of filenames containing unexpected characters.) Parallel can take arguments from the command line; the above can also be written as -

+

+
+
parallel "zcat {} | bzip2 >{.}.bz2 && rm {}" ::: *.gz
+
-
 
parallel "zcat {} | bzip2 >{.}.bz2 && rm {}" ::: *.gz
-

- -If a command generates output, you may want to preserve the input order in +

If a command generates output, you may want to preserve the input order in the output. For instance, the following command -
 
{ echo foss.org.my ; echo debian.org; echo freenetproject.org; } | parallel traceroute
-
will display as output the traceroute invocation that finishes first. -Adding the `-k' option -
 
{ echo foss.org.my ; echo debian.org; echo freenetproject.org; } | parallel -k traceroute
-
will ensure that the output of traceroute foss.org.my is displayed first. -

- -Finally, Parallel can be used to run a sequence of shell commands in parallel, -similar to `cat file | bash'. +

+
{ echo foss.org.my ; echo debian.org; echo freenetproject.org; } | parallel traceroute
+
+

will display as output the traceroute invocation that finishes first. +Adding the -k option +

+
{ echo foss.org.my ; echo debian.org; echo freenetproject.org; } | parallel -k traceroute
+
+

will ensure that the output of traceroute foss.org.my is displayed first. +

+

Finally, Parallel can be used to run a sequence of shell commands in parallel, +similar to ‘cat file | bash’. It is not uncommon to take a list of filenames, create a series of shell commands to operate on them, and feed that list of commnds to a shell. -Parallel can speed this up. Assuming that `file' contains a list of +Parallel can speed this up. Assuming that file contains a list of shell commands, one per line, -

- -
 
parallel -j 10 < file
-

+

+
+
parallel -j 10 < file
+
-will evaluate the commands using the shell (since no explicit command is +

will evaluate the commands using the shell (since no explicit command is supplied as an argument), in blocks of ten shell jobs at a time. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.3 Shell Functions

- -

- -Shell functions are a way to group commands for later execution +

+
+ + + +

3.3 Shell Functions

+ + + +

Shell functions are a way to group commands for later execution using a single name for the group. They are executed just like -a "regular" command. +a "regular" command. When the name of a shell function is used as a simple command name, the list of commands associated with that function name is executed. Shell functions are executed in the current shell context; no new process is created to interpret them. -

- -Functions are declared using this syntax: - -
 
name () compound-command [ redirections ]
-

- -or -

- -
 
function name [()] compound-command [ redirections ]
-

- -This defines a shell function named name. The reserved -word function is optional. -If the function reserved +

+

Functions are declared using this syntax: + +

+
name () compound-command [ redirections ]
+
+ +

or +

+
+
function name [()] compound-command [ redirections ]
+
+ +

This defines a shell function named name. The reserved +word function is optional. +If the function reserved word is supplied, the parentheses are optional. -The body of the function is the compound command -compound-command (see section 3.2.4 Compound Commands). -That command is usually a list enclosed between { and }, but -may be any compound command listed above. -compound-command is executed whenever name is specified as the +The body of the function is the compound command +compound-command (see Compound Commands). +That command is usually a list enclosed between { and }, but +may be any compound command listed above, +with one exception: If the function reserved word is used, but the +parentheses are not supplied, the braces are required. +compound-command is executed whenever name is specified as the name of a command. -When the shell is in POSIX mode (see section 6.11 Bash POSIX Mode), -name may not be the same as one of the special builtins -(see section 4.4 Special Builtins). -Any redirections (see section 3.6 Redirections) associated with the shell function +When the shell is in POSIX mode (see Bash POSIX Mode), +name may not be the same as one of the special builtins +(see Special Builtins). +Any redirections (see Redirections) associated with the shell function are performed when the function is executed. -

- -A function definition may be deleted using the `-f' option to the -unset builtin (see section 4.1 Bourne Shell Builtins). -

- -The exit status of a function definition is zero unless a syntax error +

+

A function definition may be deleted using the -f option to the +unset builtin (see Bourne Shell Builtins). +

+

The exit status of a function definition is zero unless a syntax error occurs or a readonly function with the same name already exists. When executed, the exit status of a function is the exit status of the last command executed in the body. -

- -Note that for historical reasons, in the most common usage the curly braces +

+

Note that for historical reasons, in the most common usage the curly braces that surround the body of the function must be separated from the body by -blanks or newlines. +blanks or newlines. This is because the braces are reserved words and are only recognized as such when they are separated from the command list by whitespace or another shell metacharacter. -Also, when using the braces, the list must be terminated by a semicolon, -a `&', or a newline. -

- -When a function is executed, the arguments to the +Also, when using the braces, the list must be terminated by a semicolon, +a ‘&’, or a newline. +

+

When a function is executed, the arguments to the function become the positional parameters -during its execution (see section 3.4.1 Positional Parameters). -The special parameter `#' that expands to the number of +during its execution (see Positional Parameters). +The special parameter ‘#’ that expands to the number of positional parameters is updated to reflect the change. -Special parameter 0 is unchanged. -The first element of the FUNCNAME variable is set to the +Special parameter 0 is unchanged. +The first element of the FUNCNAME variable is set to the name of the function while the function is executing. -

- -All other aspects of the shell execution +

+

All other aspects of the shell execution environment are identical between a function and its caller with these exceptions: -the DEBUG and RETURN traps +the DEBUG and RETURN traps are not inherited unless the function has been given the -trace attribute using the declare builtin or -the -o functrace option has been enabled with -the set builtin, -(in which case all functions inherit the DEBUG and RETURN traps), -and the ERR trap is not inherited unless the -o errtrace +trace attribute using the declare builtin or +the -o functrace option has been enabled with +the set builtin, +(in which case all functions inherit the DEBUG and RETURN traps), +and the ERR trap is not inherited unless the -o errtrace shell option has been enabled. -See section 4.1 Bourne Shell Builtins, for the description of the -trap builtin. -

- -The FUNCNEST variable, if set to a numeric value greater +See Bourne Shell Builtins, for the description of the +trap builtin. +

+

The FUNCNEST variable, if set to a numeric value greater than 0, defines a maximum function nesting level. Function invocations that exceed the limit cause the entire command to abort. -

- -If the builtin command return +

+

If the builtin command return is executed in a function, the function completes and execution resumes with the next command after the function call. -Any command associated with the RETURN trap is executed +Any command associated with the RETURN trap is executed before execution resumes. When a function completes, the values of the -positional parameters and the special parameter `#' -are restored to the values they had prior to the function's -execution. If a numeric argument is given to return, -that is the function's return status; otherwise the function's +positional parameters and the special parameter ‘#’ +are restored to the values they had prior to the function’s +execution. If a numeric argument is given to return, +that is the function’s return status; otherwise the function’s return status is the exit status of the last command executed -before the return. -

- -Variables local to the function may be declared with the -local builtin. These variables are visible only to +before the return. +

+

Variables local to the function may be declared with the +local builtin. These variables are visible only to the function and the commands it invokes. -

- -Function names and definitions may be listed with the -`-f' option to the declare (typeset) -builtin command (see section 4.2 Bash Builtin Commands). -The `-F' option to declare or typeset +

+

Function names and definitions may be listed with the +-f option to the declare (typeset) +builtin command (see Bash Builtins). +The -F option to declare or typeset will list the function names only -(and optionally the source file and line number, if the extdebug +(and optionally the source file and line number, if the extdebug shell option is enabled). Functions may be exported so that subshells automatically have them defined with the -`-f' option to the export builtin -(see section 4.1 Bourne Shell Builtins). +-f option to the export builtin +(see Bourne Shell Builtins). Note that shell functions and variables with the same name may result in multiple identically-named entries in the environment passed to the -shell's children. +shell’s children. Care should be taken in cases where this may cause a problem. -

- -Functions may be recursive. -The FUNCNEST variable may be used to limit the depth of the +

+

Functions may be recursive. +The FUNCNEST variable may be used to limit the depth of the function call stack and restrict the number of function invocations. By default, no limit is placed on the number of recursive calls. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.4 Shell Parameters

- -

- -

- - -
3.4.1 Positional Parameters  The shell's command-line arguments.
3.4.2 Special Parameters  Parameters denoted by special characters.
-

- -A parameter is an entity that stores values. -It can be a name, a number, or one of the special characters +

+
+ + + +

3.4 Shell Parameters

+ + + + + + + + + +

A parameter is an entity that stores values. +It can be a name, a number, or one of the special characters listed below. -A variable is a parameter denoted by a name. -A variable has a value and zero or more attributes. -Attributes are assigned using the declare builtin command -(see the description of the declare builtin in 4.2 Bash Builtin Commands). -

- -A parameter is set if it has been assigned a value. The null string is +A variable is a parameter denoted by a name. +A variable has a value and zero or more attributes. +Attributes are assigned using the declare builtin command +(see the description of the declare builtin in Bash Builtins). +

+

A parameter is set if it has been assigned a value. The null string is a valid value. Once a variable is set, it may be unset only by using -the unset builtin command. -

- -A variable may be assigned to by a statement of the form -
 
name=[value]
-
If value +the unset builtin command. +

+

A variable may be assigned to by a statement of the form +

+
name=[value]
+
+

If value is not given, the variable is assigned the null string. All -values undergo tilde expansion, parameter and variable expansion, +values undergo tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, and quote -removal (detailed below). If the variable has its integer -attribute set, then value -is evaluated as an arithmetic expression even if the $((...)) -expansion is not used (see section 3.5.5 Arithmetic Expansion). +removal (detailed below). If the variable has its integer +attribute set, then value +is evaluated as an arithmetic expression even if the $((…)) +expansion is not used (see Arithmetic Expansion). Word splitting is not performed, with the exception -of "$@" as explained below. +of "$@" as explained below. Filename expansion is not performed. Assignment statements may also appear as arguments to the -alias, -declare, typeset, export, readonly, -and local builtin commands. -When in POSIX mode (see section 6.11 Bash POSIX Mode), these builtins may appear -in a command after one or more instances of the command builtin +alias, +declare, typeset, export, readonly, +and local builtin commands (declaration commands). +When in POSIX mode (see Bash POSIX Mode), these builtins may appear +in a command after one or more instances of the command builtin and retain these assignment statement properties. -

- -In the context where an assignment statement is assigning a value -to a shell variable or array index (see section 6.7 Arrays), the `+=' +

+

In the context where an assignment statement is assigning a value +to a shell variable or array index (see Arrays), the ‘+=’ operator can be used to -append to or add to the variable's previous value. -When `+=' is applied to a variable for which the integer attribute -has been set, value is evaluated as an arithmetic expression and -added to the variable's current value, which is also evaluated. -When `+=' is applied to an array variable using compound assignment -(see section 6.7 Arrays), the -variable's value is not unset (as it is when using `='), and new -values are appended to the array beginning at one greater than the array's +append to or add to the variable’s previous value. +This includes arguments to builtin commands such as declare that +accept assignment statements (declaration commands). +When ‘+=’ is applied to a variable for which the integer attribute +has been set, value is evaluated as an arithmetic expression and +added to the variable’s current value, which is also evaluated. +When ‘+=’ is applied to an array variable using compound assignment +(see Arrays), the +variable’s value is not unset (as it is when using ‘=’), and new +values are appended to the array beginning at one greater than the array’s maximum index (for indexed arrays), or added as additional key-value pairs in an associative array. -When applied to a string-valued variable, value is expanded and -appended to the variable's value. -

- -A variable can be assigned the nameref attribute using the -`-n' option to the \fBdeclare\fP or \fBlocal\fP builtin commands -(see section 4.2 Bash Builtin Commands) -to create a nameref, or a reference to another variable. +When applied to a string-valued variable, value is expanded and +appended to the variable’s value. +

+

A variable can be assigned the nameref attribute using the +-n option to the declare or local builtin commands +(see Bash Builtins) +to create a nameref, or a reference to another variable. This allows variables to be manipulated indirectly. -Whenever the nameref variable is referenced or assigned to, the operation -is actually performed on the variable specified by the nameref variable's -value. +Whenever the nameref variable is referenced, assigned to, unset, or has +its attributes modified (other than using or changing the nameref +attribute itself), the +operation is actually performed on the variable specified by the nameref +variable’s value. A nameref is commonly used within shell functions to refer to a variable whose name is passed as an argument to the function. For instance, if a variable name is passed to a shell function as its first argument, running -
 
declare -n ref=$1
-
inside the function creates a nameref variable ref whose value is +

+
declare -n ref=$1
+
+

inside the function creates a nameref variable ref whose value is the variable name passed as the first argument. -References and assignments to ref are treated as references and -assignments to the variable whose name was passed as $1. -

- -If the control variable in a for loop has the nameref attribute, +References and assignments to ref, and changes to its attributes, +are treated as references, assignments, and attribute modifications +to the variable whose name was passed as $1. +

+

If the control variable in a for loop has the nameref attribute, the list of words can be a list of shell variables, and a name reference will be established for each word in the list, in turn, when the loop is executed. -Array variables cannot be given the `-n' attribute. +Array variables cannot be given the nameref attribute. However, nameref variables can reference array variables and subscripted array variables. -Namerefs can be unset using the `-n' option to the unset builtin -(see section 4.1 Bourne Shell Builtins). -Otherwise, if unset is executed with the name of a nameref variable +Namerefs can be unset using the -n option to the unset builtin +(see Bourne Shell Builtins). +Otherwise, if unset is executed with the name of a nameref variable as an argument, the variable referenced by the nameref variable will be unset. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.4.1 Positional Parameters

- -

- -A positional parameter is a parameter denoted by one or more -digits, other than the single digit 0. Positional parameters are -assigned from the shell's arguments when it is invoked, -and may be reassigned using the set builtin command. -Positional parameter N may be referenced as ${N}, or -as $N when N consists of a single digit. +

+
+ + + +

3.4.1 Positional Parameters

+ + +

A positional parameter is a parameter denoted by one or more +digits, other than the single digit 0. Positional parameters are +assigned from the shell’s arguments when it is invoked, +and may be reassigned using the set builtin command. +Positional parameter N may be referenced as ${N}, or +as $N when N consists of a single digit. Positional parameters may not be assigned to with assignment statements. -The set and shift builtins are used to set and -unset them (see section 4. Shell Builtin Commands). +The set and shift builtins are used to set and +unset them (see Shell Builtin Commands). The positional parameters are temporarily replaced when a shell function is executed -(see section 3.3 Shell Functions). -

- -When a positional parameter consisting of more than a single +(see Shell Functions). +

+

When a positional parameter consisting of more than a single digit is expanded, it must be enclosed in braces. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.4.2 Special Parameters

- -

- -The shell treats several parameters specially. These parameters may +

+
+ + + +

3.4.2 Special Parameters

+ + +

The shell treats several parameters specially. These parameters may only be referenced; assignment to them is not allowed. -

- -

- - -
* -
- -($*) Expands to the positional parameters, starting from one. +

+
+
* + +
+
+

($*) Expands to the positional parameters, starting from one. When the expansion is not within double quotes, each positional parameter expands to a separate word. In contexts where it is performed, those words are subject to further word splitting and pathname expansion. When the expansion occurs within double quotes, it expands to a single word -with the value of each parameter separated by the first character -of the IFS -special variable. That is, "$*" is equivalent -to "$1c$2c...", where c -is the first character of the value of the IFS +with the value of each parameter separated by the first character of the +IFS special variable. That is, "$*" is equivalent +to "$1c$2c…", where c +is the first character of the value of the IFS variable. -If IFS is unset, the parameters are separated by spaces. -If IFS is null, the parameters are joined without intervening +If IFS is unset, the parameters are separated by spaces. +If IFS is null, the parameters are joined without intervening separators. -

- - -

@ -
- -($@) Expands to the positional parameters, starting from one. When the +

+
+
@ + +
+
+

($@) Expands to the positional parameters, starting from one. When the expansion occurs within double quotes, each parameter expands to a -separate word. That is, "$@" is equivalent to -"$1" "$2" .... +separate word. That is, "$@" is equivalent to +"$1" "$2" …. If the double-quoted expansion occurs within a word, the expansion of the first parameter is joined with the beginning part of the original word, and the expansion of the last parameter is joined with the last part of the original word. -When there are no positional parameters, "$@" and -$@ +When there are no positional parameters, "$@" and +$@ expand to nothing (i.e., they are removed). -

- - -

# -
- -($#) Expands to the number of positional parameters in decimal. -

- - -

? -
- -($?) Expands to the exit status of the most recently executed foreground +

+
+
# + +
+
+

($#) Expands to the number of positional parameters in decimal. +

+
+
? + +
+
+

($?) Expands to the exit status of the most recently executed foreground pipeline. -

- - -

- -
- -($-, a hyphen.) Expands to the current option flags as specified upon -invocation, by the set +

+
+
- + +
+
+

($-, a hyphen.) Expands to the current option flags as specified upon +invocation, by the set builtin command, or those set by the shell itself -(such as the `-i' option). -

- - -

$ -
- -($$) Expands to the process ID of the shell. In a () subshell, it -expands to the process ID of the invoking shell, not the subshell. -

- - -

! -
- -($!) Expands to the process ID of the job most recently placed into the +(such as the -i option). +

+
+
$ + +
+
+

($$) Expands to the process ID of the shell. In a () subshell, it +expands to the process ID of the invoking shell, not the subshell. +

+
+
! + +
+
+

($!) Expands to the process ID of the job most recently placed into the background, whether executed as an asynchronous command or using -the bg builtin (see section 7.2 Job Control Builtins). -

- - -

0 -
- -($0) Expands to the name of the shell or shell script. This is set at +the bg builtin (see Job Control Builtins). +

+
+
0 + +
+
+

($0) Expands to the name of the shell or shell script. This is set at shell initialization. If Bash is invoked with a file of commands -(see section 3.8 Shell Scripts), $0 is set to the name of that file. -If Bash is started with the `-c' option (see section 6.1 Invoking Bash), -then $0 is set to the first argument after the string to be +(see Shell Scripts), $0 is set to the name of that file. +If Bash is started with the -c option (see Invoking Bash), +then $0 is set to the first argument after the string to be executed, if one is present. Otherwise, it is set to the filename used to invoke Bash, as given by argument zero. -

- - -

_ -
- -($_, an underscore.) +

+
+
_ + +
+
+

($_, an underscore.) At shell startup, set to the absolute pathname used to invoke the shell or shell script being executed as passed in the environment or argument list. @@ -2144,404 +2140,367 @@ after expansion. Also set to the full pathname used to invoke each command executed and placed in the environment exported to that command. When checking mail, this parameter holds the name of the mail file. -

-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5 Shell Expansions

- -

- -Expansion is performed on the command line after it has been split into -tokens. There are seven kinds of expansion performed: -

- -

    -
  • brace expansion -
  • tilde expansion -
  • parameter and variable expansion -
  • command substitution -
  • arithmetic expansion -
  • word splitting -
  • filename expansion -
-

- -

- - - - - - - - - -
3.5.1 Brace Expansion  Expansion of expressions within braces.
3.5.2 Tilde Expansion  Expansion of the ~ character.
3.5.3 Shell Parameter Expansion  How Bash expands variables to their values.
3.5.4 Command Substitution  Using the output of a command as an argument.
3.5.5 Arithmetic Expansion  How to use arithmetic in shell expansions.
3.5.6 Process Substitution  A way to write and read to and from a - command.
3.5.7 Word Splitting  How the results of expansion are split into separate - arguments.
3.5.8 Filename Expansion  A shorthand for specifying filenames matching patterns.
3.5.9 Quote Removal  How and when quote characters are removed from - words.
-

- -The order of expansions is: +

+
+ +
+ + + +

3.5 Shell Expansions

+ + +

Expansion is performed on the command line after it has been split into +tokens. There are seven kinds of expansion performed: +

+
    +
  • brace expansion +
  • tilde expansion +
  • parameter and variable expansion +
  • command substitution +
  • arithmetic expansion +
  • word splitting +
  • filename expansion +
+ + + + + + + + + + + + + +

The order of expansions is: brace expansion; tilde expansion, parameter and variable expansion, arithmetic expansion, and command substitution (done in a left-to-right fashion); word splitting; and filename expansion. -

- -On systems that can support it, there is an additional expansion -available: process substitution. +

+

On systems that can support it, there is an additional expansion +available: process substitution. This is performed at the same time as tilde, parameter, variable, and arithmetic expansion and command substitution. -

- -Only brace expansion, word splitting, and filename expansion +

+

After these expansions are performed, quote characters present in the +original word are removed unless they have been quoted themselves +(quote removal). +

+

Only brace expansion, word splitting, and filename expansion can change the number of words of the expansion; other expansions expand a single word to a single word. The only exceptions to this are the expansions of -"$@" (see section 3.4.2 Special Parameters) and "${name[@]}" -(see section 6.7 Arrays). -

- -After all expansions, quote removal (see section 3.5.9 Quote Removal) +"$@" (see Special Parameters) and "${name[@]}" +(see Arrays). +

+

After all expansions, quote removal (see Quote Removal) is performed. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5.1 Brace Expansion

- -

- -Brace expansion is a mechanism by which arbitrary strings may be generated. +

+
+ + + +

3.5.1 Brace Expansion

+ + + +

Brace expansion is a mechanism by which arbitrary strings may be generated. This mechanism is similar to -filename expansion (see section 3.5.8 Filename Expansion), +filename expansion (see Filename Expansion), but the filenames generated need not exist. -Patterns to be brace expanded take the form of an optional preamble, +Patterns to be brace expanded take the form of an optional preamble, followed by either a series of comma-separated strings or a sequence expression between a pair of braces, -followed by an optional postscript. +followed by an optional postscript. The preamble is prefixed to each string contained within the braces, and the postscript is then appended to each resulting string, expanding left to right. -

- -Brace expansions may be nested. +

+

Brace expansions may be nested. The results of each expanded string are not sorted; left to right order is preserved. For example, -
 
bash$ echo a{d,c,b}e
+

+
bash$ echo a{d,c,b}e
 ade ace abe
-

+ -A sequence expression takes the form {x..y[..incr]}, -where x and y are either integers or single characters, -and incr, an optional increment, is an integer. +

A sequence expression takes the form {x..y[..incr]}, +where x and y are either integers or single characters, +and incr, an optional increment, is an integer. When integers are supplied, the expression expands to each number between -x and y, inclusive. -Supplied integers may be prefixed with `0' to force each term to have the +x and y, inclusive. +Supplied integers may be prefixed with ‘0’ to force each term to have the same width. -When either x or y begins with a zero, the shell +When either x or y begins with a zero, the shell attempts to force all generated terms to contain the same number of digits, zero-padding where necessary. When characters are supplied, the expression expands to each character -lexicographically between x and y, inclusive, +lexicographically between x and y, inclusive, using the default C locale. -Note that both x and y must be of the same type. +Note that both x and y must be of the same type. When the increment is supplied, it is used as the difference between each term. The default increment is 1 or -1 as appropriate. -

- -Brace expansion is performed before any other expansions, +

+

Brace expansion is performed before any other expansions, and any characters special to other expansions are preserved in the result. It is strictly textual. Bash does not apply any syntactic interpretation to the context of the expansion or the text between the braces. -To avoid conflicts with parameter expansion, the string `${' +To avoid conflicts with parameter expansion, the string ‘${’ is not considered eligible for brace expansion. -

- -A correctly-formed brace expansion must contain unquoted opening +

+

A correctly-formed brace expansion must contain unquoted opening and closing braces, and at least one unquoted comma or a valid sequence expression. Any incorrectly formed brace expansion is left unchanged. -

- -A { or `,' may be quoted with a backslash to prevent its +

+

A { or ‘,’ may be quoted with a backslash to prevent its being considered part of a brace expression. -To avoid conflicts with parameter expansion, the string `${' +To avoid conflicts with parameter expansion, the string ‘${’ is not considered eligible for brace expansion. -

- -This construct is typically used as shorthand when the common +

+

This construct is typically used as shorthand when the common prefix of the strings to be generated is longer than in the above example: -
 
mkdir /usr/local/src/bash/{old,new,dist,bugs}
-
or -
 
chown root /usr/{ucb/{ex,edit},lib/{ex?.?*,how_ex}}
-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5.2 Tilde Expansion

- -

- -If a word begins with an unquoted tilde character (`~'), all of the +

+
mkdir /usr/local/src/bash/{old,new,dist,bugs}
+
+

or +

+
chown root /usr/{ucb/{ex,edit},lib/{ex?.?*,how_ex}}
+
+ +
+ + + +

3.5.2 Tilde Expansion

+ + + +

If a word begins with an unquoted tilde character (‘~’), all of the characters up to the first unquoted slash (or all characters, -if there is no unquoted slash) are considered a tilde-prefix. +if there is no unquoted slash) are considered a tilde-prefix. If none of the characters in the tilde-prefix are quoted, the characters in the tilde-prefix following the tilde are treated as a -possible login name. +possible login name. If this login name is the null string, the tilde is replaced with the -value of the HOME shell variable. -If HOME is unset, the home directory of the user executing the +value of the HOME shell variable. +If HOME is unset, the home directory of the user executing the shell is substituted instead. Otherwise, the tilde-prefix is replaced with the home directory associated with the specified login name. -

- -If the tilde-prefix is `~+', the value of -the shell variable PWD replaces the tilde-prefix. -If the tilde-prefix is `~-', the value of the shell variable -OLDPWD, if it is set, is substituted. -

- -If the characters following the tilde in the tilde-prefix consist of a -number N, optionally prefixed by a `+' or a `-', +

+

If the tilde-prefix is ‘~+’, the value of +the shell variable PWD replaces the tilde-prefix. +If the tilde-prefix is ‘~-’, the value of the shell variable +OLDPWD, if it is set, is substituted. +

+

If the characters following the tilde in the tilde-prefix consist of a +number N, optionally prefixed by a ‘+’ or a ‘-’, the tilde-prefix is replaced with the corresponding element from the directory stack, as it would be displayed -by the dirs builtin invoked with the characters following tilde -in the tilde-prefix as an argument (see section 6.8 The Directory Stack). +by the dirs builtin invoked with the characters following tilde +in the tilde-prefix as an argument (see The Directory Stack). If the tilde-prefix, sans the tilde, consists of a number without a -leading `+' or `-', `+' is assumed. -

- -If the login name is invalid, or the tilde expansion fails, the word is +leading ‘+’ or ‘-’, ‘+’ is assumed. +

+

If the login name is invalid, or the tilde expansion fails, the word is left unchanged. -

- -Each variable assignment is checked for unquoted tilde-prefixes immediately -following a `:' or the first `='. +

+

Each variable assignment is checked for unquoted tilde-prefixes immediately +following a ‘:’ or the first ‘=’. In these cases, tilde expansion is also performed. Consequently, one may use filenames with tildes in assignments to -PATH, MAILPATH, and CDPATH, +PATH, MAILPATH, and CDPATH, and the shell assigns the expanded value. -

- -The following table shows how Bash treats unquoted tilde-prefixes: -

- -

-
~ -
The value of $HOME -
~/foo -
`$HOME/foo' -

- -

~fred/foo -
The subdirectory foo of the home directory of the user -fred -

- -

~+/foo -
`$PWD/foo' -

- -

~-/foo -
`${OLDPWD-'~-'}/foo' -

- -

~N -
The string that would be displayed by `dirs +N' -

- -

~+N -
The string that would be displayed by `dirs +N' -

- -

~-N -
The string that would be displayed by `dirs -N' -
-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5.3 Shell Parameter Expansion

- -

- -The `$' character introduces parameter expansion, +

+

The following table shows how Bash treats unquoted tilde-prefixes: +

+
+
~
+

The value of $HOME +

+
~/foo
+

$HOME/foo +

+
+
~fred/foo
+

The subdirectory foo of the home directory of the user +fred +

+
+
~+/foo
+

$PWD/foo +

+
+
~-/foo
+

${OLDPWD-'~-'}/foo +

+
+
~N
+

The string that would be displayed by ‘dirs +N’ +

+
+
~+N
+

The string that would be displayed by ‘dirs +N’ +

+
+
~-N
+

The string that would be displayed by ‘dirs -N’ +

+
+ +
+ + + +

3.5.3 Shell Parameter Expansion

+ + + +

The ‘$’ character introduces parameter expansion, command substitution, or arithmetic expansion. The parameter name or symbol to be expanded may be enclosed in braces, which are optional but serve to protect the variable to be expanded from characters immediately following it which could be interpreted as part of the name. -

- -When braces are used, the matching ending brace is the first `}' +

+

When braces are used, the matching ending brace is the first ‘}’ not escaped by a backslash or within a quoted string, and not within an embedded arithmetic expansion, command substitution, or parameter expansion. -

- -The basic form of parameter expansion is ${parameter}. -The value of parameter is substituted. -The parameter is a shell parameter as described above -(see section 3.4 Shell Parameters) or an array reference (see section 6.7 Arrays). -The braces are required when parameter +

+

The basic form of parameter expansion is ${parameter}. +The value of parameter is substituted. +The parameter is a shell parameter as described above +(see Shell Parameters) or an array reference (see Arrays). +The braces are required when parameter is a positional parameter with more than one digit, -or when parameter is followed by a character that is not to be +or when parameter is followed by a character that is not to be interpreted as part of its name. -

- -If the first character of parameter is an exclamation point (!), +

+

If the first character of parameter is an exclamation point (!), +and parameter is not a nameref, it introduces a level of variable indirection. Bash uses the value of the variable formed from the rest of -parameter as the name of the variable; this variable is then +parameter as the name of the variable; this variable is then expanded and that value is used in the rest of the substitution, rather -than the value of parameter itself. -This is known as indirect expansion. -The exceptions to this are the expansions of ${!prefix*} -and ${!name[@]} +than the value of parameter itself. +This is known as indirect expansion. +If parameter is a nameref, this expands to the name of the +variable referenced by parameter instead of performing the +complete indirect expansion. +The exceptions to this are the expansions of ${!prefix*} +and ${!name[@]} described below. The exclamation point must immediately follow the left brace in order to introduce indirection. -

- -In each of the cases below, word is subject to tilde expansion, +

+

In each of the cases below, word is subject to tilde expansion, parameter expansion, command substitution, and arithmetic expansion. -

- -When not performing substring expansion, using the form described -below (e.g., `:-'), Bash tests for a parameter that is unset or null. +

+

When not performing substring expansion, using the form described +below (e.g., ‘:-’), Bash tests for a parameter that is unset or null. Omitting the colon results in a test only for a parameter that is unset. Put another way, if the colon is included, -the operator tests for both parameter's existence and that its value +the operator tests for both parameter’s existence and that its value is not null; if the colon is omitted, the operator tests only for existence. -

- -

- -
${parameter:-word} -
If parameter is unset or null, the expansion of -word is substituted. Otherwise, the value of -parameter is substituted. -

- -

${parameter:=word} -
If parameter -is unset or null, the expansion of word -is assigned to parameter. -The value of parameter is then substituted. +

+
+
${parameter:-word}
+

If parameter is unset or null, the expansion of +word is substituted. Otherwise, the value of +parameter is substituted. +

+
+
${parameter:=word}
+

If parameter +is unset or null, the expansion of word +is assigned to parameter. +The value of parameter is then substituted. Positional parameters and special parameters may not be assigned to in this way. -

- -

${parameter:?word} -
If parameter -is null or unset, the expansion of word (or a message -to that effect if word +

+
+
${parameter:?word}
+

If parameter +is null or unset, the expansion of word (or a message +to that effect if word is not present) is written to the standard error and the shell, if it -is not interactive, exits. Otherwise, the value of parameter is +is not interactive, exits. Otherwise, the value of parameter is substituted. -

- -

${parameter:+word} -
If parameter +

+
+
${parameter:+word}
+

If parameter is null or unset, nothing is substituted, otherwise the expansion of -word is substituted. -

- -

${parameter:offset} -
${parameter:offset:length} -
This is referred to as Substring Expansion. -It expands to up to length characters of the value of parameter -starting at the character specified by offset. -If parameter is `@', an indexed array subscripted by -`@' or `*', or an associative array name, the results differ as +word is substituted. +

+
+
${parameter:offset}
+
${parameter:offset:length}
+

This is referred to as Substring Expansion. +It expands to up to length characters of the value of parameter +starting at the character specified by offset. +If parameter is ‘@’, an indexed array subscripted by +‘@’ or ‘*’, or an associative array name, the results differ as described below. -If length is omitted, it expands to the substring of the value of -parameter starting at the character specified by offset +If length is omitted, it expands to the substring of the value of +parameter starting at the character specified by offset and extending to the end of the value. -length and offset are arithmetic expressions -(see section 6.5 Shell Arithmetic). -

- -If offset evaluates to a number less than zero, the value +length and offset are arithmetic expressions +(see Shell Arithmetic). +

+

If offset evaluates to a number less than zero, the value is used as an offset in characters -from the end of the value of parameter. -If length evaluates to a number less than zero, +from the end of the value of parameter. +If length evaluates to a number less than zero, it is interpreted as an offset in characters -from the end of the value of parameter rather than +from the end of the value of parameter rather than a number of characters, and the expansion is the characters between -offset and that result. +offset and that result. Note that a negative offset must be separated from the colon by at least -one space to avoid being confused with the `:-' expansion. -

- -Here are some examples illustrating substring expansion on parameters and +one space to avoid being confused with the ‘:-’ expansion. +

+

Here are some examples illustrating substring expansion on parameters and subscripted arrays: -

- -@verbatim -$ string=01234567890abcdefgh +

+
$ string=01234567890abcdefgh
 $ echo ${string:7}
 7890abcdefgh
 $ echo ${string:7:0}
-

$ echo ${string:7:2} 78 @@ -2550,7 +2509,6 @@ $ echo ${string:7:-2} $ echo ${string: -7} bcdefgh $ echo ${string: -7:0} -

$ echo ${string: -7:2} bc @@ -2560,7 +2518,6 @@ $ set -- 01234567890abcdefgh $ echo ${1:7} 7890abcdefgh $ echo ${1:7:0} -

$ echo ${1:7:2} 78 @@ -2569,7 +2526,6 @@ $ echo ${1:7:-2} $ echo ${1: -7} bcdefgh $ echo ${1: -7:0} -

$ echo ${1: -7:2} bc @@ -2579,7 +2535,6 @@ $ array[0]=01234567890abcdefgh $ echo ${array[0]:7} 7890abcdefgh $ echo ${array[0]:7:0} -

$ echo ${array[0]:7:2} 78 @@ -2588,60 +2543,51 @@ $ echo ${array[0]:7:-2} $ echo ${array[0]: -7} bcdefgh $ echo ${array[0]: -7:0} -

$ echo ${array[0]: -7:2} bc $ echo ${array[0]: -7:-2} bcdef -

- -If parameter is `@', the result is length positional -parameters beginning at offset. -A negative offset is taken relative to one greater than the greatest +

+

If parameter is ‘@’, the result is length positional +parameters beginning at offset. +A negative offset is taken relative to one greater than the greatest positional parameter, so an offset of -1 evaluates to the last positional parameter. -It is an expansion error if length evaluates to a number less than zero. -

- -The following examples illustrate substring expansion using positional +It is an expansion error if length evaluates to a number less than zero. +

+

The following examples illustrate substring expansion using positional parameters: -

- -@verbatim -$ set -- 1 2 3 4 5 6 7 8 9 0 a b c d e f g h -$ echo ${7} +

+
$ set -- 1 2 3 4 5 6 7 8 9 0 a b c d e f g h
+$ echo ${@:7}
 7 8 9 0 a b c d e f g h
-$ echo ${7:0}
-

+$ echo ${@:7:0} -$ echo ${7:2} +$ echo ${@:7:2} 7 8 -$ echo ${7:-2} -bash: -2: substring expression < 0 -$ echo ${ -7:2} +$ echo ${@:7:-2} +bash: -2: substring expression < 0 +$ echo ${@: -7:2} b c -$ echo ${0} +$ echo ${@:0} ./bash 1 2 3 4 5 6 7 8 9 0 a b c d e f g h -$ echo ${0:2} +$ echo ${@:0:2} ./bash 1 -$ echo ${ -7:0} -

+$ echo ${@: -7:0} -If parameter is an indexed array name subscripted -by `@' or `*', the result is the length -members of the array beginning with ${parameter[offset]}. -A negative offset is taken relative to one greater than the maximum +

+

If parameter is an indexed array name subscripted +by ‘@’ or ‘*’, the result is the length +members of the array beginning with ${parameter[offset]}. +A negative offset is taken relative to one greater than the maximum index of the specified array. -It is an expansion error if length evaluates to a number less than zero. -

- -These examples show how you can use substring expansion with indexed +It is an expansion error if length evaluates to a number less than zero. +

+

These examples show how you can use substring expansion with indexed arrays: -

- -@verbatim -$ array=(0 1 2 3 4 5 6 7 8 9 0 a b c d e f g h) +

+
$ array=(0 1 2 3 4 5 6 7 8 9 0 a b c d e f g h)
 $ echo ${array[@]:7}
 7 8 9 0 a b c d e f g h
 $ echo ${array[@]:7:2}
@@ -2649,566 +2595,548 @@ $ echo ${array[@]:7:2}
 $ echo ${array[@]: -7:2}
 b c
 $ echo ${array[@]: -7:-2}
-bash: -2: substring expression < 0
+bash: -2: substring expression < 0
 $ echo ${array[@]:0}
 0 1 2 3 4 5 6 7 8 9 0 a b c d e f g h
 $ echo ${array[@]:0:2}
 0 1
 $ echo ${array[@]: -7:0}
-

-Substring expansion applied to an associative array produces undefined +

+

Substring expansion applied to an associative array produces undefined results. -

- -Substring indexing is zero-based unless the positional parameters +

+

Substring indexing is zero-based unless the positional parameters are used, in which case the indexing starts at 1 by default. -If offset is 0, and the positional parameters are used, $@ is +If offset is 0, and the positional parameters are used, $@ is prefixed to the list. -

- -

${!prefix*} -
${!prefix@} -
Expands to the names of variables whose names begin with prefix, -separated by the first character of the IFS special variable. -When `@' is used and the expansion appears within double quotes, each +

+
+
${!prefix*}
+
${!prefix@}
+

Expands to the names of variables whose names begin with prefix, +separated by the first character of the IFS special variable. +When ‘@’ is used and the expansion appears within double quotes, each variable name expands to a separate word. -

- -

${!name[@]} -
${!name[*]} -
If name is an array variable, expands to the list of array indices -(keys) assigned in name. -If name is not an array, expands to 0 if name is set and null +

+
+
${!name[@]}
+
${!name[*]}
+

If name is an array variable, expands to the list of array indices +(keys) assigned in name. +If name is not an array, expands to 0 if name is set and null otherwise. -When `@' is used and the expansion appears within double quotes, each +When ‘@’ is used and the expansion appears within double quotes, each key expands to a separate word. -

- -

${#parameter} -
The length in characters of the expanded value of parameter is +

+
+
${#parameter}
+

The length in characters of the expanded value of parameter is substituted. -If parameter is `*' or `@', the value substituted +If parameter is ‘*’ or ‘@’, the value substituted is the number of positional parameters. -If parameter is an array name subscripted by `*' or `@', +If parameter is an array name subscripted by ‘*’ or ‘@’, the value substituted is the number of elements in the array. -If parameter +If parameter is an indexed array name subscripted by a negative number, that number is interpreted as relative to one greater than the maximum index of -parameter, so negative indices count back from the end of the +parameter, so negative indices count back from the end of the array, and an index of -1 references the last element. -

- -

${parameter#word} -
${parameter##word} -
The word +

+
+
${parameter#word}
+
${parameter##word}
+

The word is expanded to produce a pattern just as in filename -expansion (see section 3.5.8 Filename Expansion). If the pattern matches -the beginning of the expanded value of parameter, -then the result of the expansion is the expanded value of parameter -with the shortest matching pattern (the `#' case) or the -longest matching pattern (the `##' case) deleted. -If parameter is `@' or `*', +expansion (see Filename Expansion). If the pattern matches +the beginning of the expanded value of parameter, +then the result of the expansion is the expanded value of parameter +with the shortest matching pattern (the ‘#’ case) or the +longest matching pattern (the ‘##’ case) deleted. +If parameter is ‘@’ or ‘*’, the pattern removal operation is applied to each positional parameter in turn, and the expansion is the resultant list. -If parameter is an array variable subscripted with -`@' or `*', +If parameter is an array variable subscripted with +‘@’ or ‘*’, the pattern removal operation is applied to each member of the array in turn, and the expansion is the resultant list. -

- -

${parameter%word} -
${parameter%%word} -
The word is expanded to produce a pattern just as in +

+
+
${parameter%word}
+
${parameter%%word}
+

The word is expanded to produce a pattern just as in filename expansion. If the pattern matches a trailing portion of the expanded value of -parameter, then the result of the expansion is the value of -parameter with the shortest matching pattern (the `%' case) -or the longest matching pattern (the `%%' case) deleted. -If parameter is `@' or `*', +parameter, then the result of the expansion is the value of +parameter with the shortest matching pattern (the ‘%’ case) +or the longest matching pattern (the ‘%%’ case) deleted. +If parameter is ‘@’ or ‘*’, the pattern removal operation is applied to each positional parameter in turn, and the expansion is the resultant list. -If parameter -is an array variable subscripted with `@' or `*', +If parameter +is an array variable subscripted with ‘@’ or ‘*’, the pattern removal operation is applied to each member of the array in turn, and the expansion is the resultant list. -

- -

${parameter/pattern/string} -

- -The pattern is expanded to produce a pattern just as in +

+
+
${parameter/pattern/string}
+
+

The pattern is expanded to produce a pattern just as in filename expansion. -Parameter is expanded and the longest match of pattern -against its value is replaced with string. -If pattern begins with `/', all matches of pattern are -replaced with string. Normally only the first match is replaced. -If pattern begins with `#', it must match at the beginning -of the expanded value of parameter. -If pattern begins with `%', it must match at the end -of the expanded value of parameter. -If string is null, matches of pattern are deleted -and the / following pattern may be omitted. -If parameter is `@' or `*', +Parameter is expanded and the longest match of pattern +against its value is replaced with string. +If pattern begins with ‘/’, all matches of pattern are +replaced with string. Normally only the first match is replaced. +If pattern begins with ‘#’, it must match at the beginning +of the expanded value of parameter. +If pattern begins with ‘%’, it must match at the end +of the expanded value of parameter. +If string is null, matches of pattern are deleted +and the / following pattern may be omitted. +If the nocasematch shell option +(see the description of shopt in The Shopt Builtin) +is enabled, the match is performed without regard to the case +of alphabetic characters. +If parameter is ‘@’ or ‘*’, the substitution operation is applied to each positional parameter in turn, and the expansion is the resultant list. -If parameter -is an array variable subscripted with `@' or `*', +If parameter +is an array variable subscripted with ‘@’ or ‘*’, the substitution operation is applied to each member of the array in turn, and the expansion is the resultant list. -

- -

${parameter^pattern} -
${parameter^^pattern} -
${parameter,pattern} -
${parameter,,pattern} -
This expansion modifies the case of alphabetic characters in parameter. -The pattern is expanded to produce a pattern just as in +

+
+
${parameter^pattern}
+
${parameter^^pattern}
+
${parameter,pattern}
+
${parameter,,pattern}
+

This expansion modifies the case of alphabetic characters in parameter. +The pattern is expanded to produce a pattern just as in filename expansion. -Each character in the expanded value of parameter is tested against -pattern, and, if it matches the pattern, its case is converted. +Each character in the expanded value of parameter is tested against +pattern, and, if it matches the pattern, its case is converted. The pattern should not attempt to match more than one character. -The `^' operator converts lowercase letters matching pattern -to uppercase; the `,' operator converts matching uppercase letters +The ‘^’ operator converts lowercase letters matching pattern +to uppercase; the ‘,’ operator converts matching uppercase letters to lowercase. -The `^^' and `,,' expansions convert each matched character in the -expanded value; the `^' and `,' expansions match and convert only +The ‘^^’ and ‘,,’ expansions convert each matched character in the +expanded value; the ‘^’ and ‘,’ expansions match and convert only the first character in the expanded value. -If pattern is omitted, it is treated like a `?', which matches +If pattern is omitted, it is treated like a ‘?’, which matches every character. -If parameter is `@' or `*', +If parameter is ‘@’ or ‘*’, the case modification operation is applied to each positional parameter in turn, and the expansion is the resultant list. -If parameter -is an array variable subscripted with `@' or `*', +If parameter +is an array variable subscripted with ‘@’ or ‘*’, the case modification operation is applied to each member of the array in turn, and the expansion is the resultant list. -

-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5.4 Command Substitution

- -

- -Command substitution allows the output of a command to replace +

+
+
${parameter@operator}
+

The expansion is either a transformation of the value of parameter +or information about parameter itself, depending on the value of +operator. Each operator is a single letter: +

+
+
Q
+

The expansion is a string that is the value of parameter quoted in a +format that can be reused as input. +

+
E
+

The expansion is a string that is the value of parameter with backslash +escape sequences expanded as with the $'…' quoting mechansim. +

+
P
+

The expansion is a string that is the result of expanding the value of +parameter as if it were a prompt string (see Controlling the Prompt). +

+
A
+

The expansion is a string in the form of +an assignment statement or declare command that, if +evaluated, will recreate parameter with its attributes and value. +

+
a
+

The expansion is a string consisting of flag values representing +parameter’s attributes. +

+
+ +

If parameter is ‘@’ or ‘*’, +the operation is applied to each positional +parameter in turn, and the expansion is the resultant list. +If parameter +is an array variable subscripted with ‘@’ or ‘*’, +the operation is applied to each member of the +array in turn, and the expansion is the resultant list. +

+

The result of the expansion is subject to word splitting and pathname +expansion as described below. +

+
+ +
+ + + +

3.5.4 Command Substitution

+ + +

Command substitution allows the output of a command to replace the command itself. Command substitution occurs when a command is enclosed as follows: -
 
$(command)
-
or -
 
`command`
-

- -Bash performs the expansion by executing command and -replacing the command substitution with the standard output of the +

+
$(command)
+
+

or +

+
`command`
+
+ +

Bash performs the expansion by executing command in a subshell environment +and replacing the command substitution with the standard output of the command, with any trailing newlines deleted. Embedded newlines are not deleted, but they may be removed during word splitting. -The command substitution $(cat file) can be -replaced by the equivalent but faster $(< file). -

- -When the old-style backquote form of substitution is used, +The command substitution $(cat file) can be +replaced by the equivalent but faster $(< file). +

+

When the old-style backquote form of substitution is used, backslash retains its literal meaning except when followed by -`$', ``', or `\'. +‘$’, ‘`’, or ‘\’. The first backquote not preceded by a backslash terminates the command substitution. -When using the $(command) form, all characters between +When using the $(command) form, all characters between the parentheses make up the command; none are treated specially. -

- -Command substitutions may be nested. To nest when using the backquoted +

+

Command substitutions may be nested. To nest when using the backquoted form, escape the inner backquotes with backslashes. -

- -If the substitution appears within double quotes, word splitting and +

+

If the substitution appears within double quotes, word splitting and filename expansion are not performed on the results. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5.5 Arithmetic Expansion

- -

- -Arithmetic expansion allows the evaluation of an arithmetic expression +

+
+ + + +

3.5.5 Arithmetic Expansion

+ + + +

Arithmetic expansion allows the evaluation of an arithmetic expression and the substitution of the result. The format for arithmetic expansion is: -

- -
 
$(( expression ))
-

+

+
+
$(( expression ))
+
-The expression is treated as if it were within double quotes, but +

The expression is treated as if it were within double quotes, but a double quote inside the parentheses is not treated specially. All tokens in the expression undergo parameter and variable expansion, command substitution, and quote removal. The result is treated as the arithmetic expression to be evaluated. Arithmetic expansions may be nested. -

- -The evaluation is performed according to the rules listed below -(see section 6.5 Shell Arithmetic). +

+

The evaluation is performed according to the rules listed below +(see Shell Arithmetic). If the expression is invalid, Bash prints a message indicating failure to the standard error and no substitution occurs. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5.6 Process Substitution

- -

- -Process substitution is supported on systems that support named -pipes (FIFOs) or the `/dev/fd' method of naming open files. +

+
+ + + +

3.5.6 Process Substitution

+ + +

Process substitution allows a process’s input or output to be +referred to using a filename. It takes the form of -
 
<(list)
-
or -
 
>(list)
-
The process list is run with its input or output connected to a -FIFO or some file in `/dev/fd'. The name of this file is +

+
<(list)
+
+

or +

+
>(list)
+
+

The process list is run asynchronously, and its input or output +appears as a filename. +This filename is passed as an argument to the current command as the result of the -expansion. If the >(list) form is used, writing to -the file will provide input for list. If the -<(list) form is used, the file passed as an -argument should be read to obtain the output of list. -Note that no space may appear between the < or > +expansion. +If the >(list) form is used, writing to +the file will provide input for list. If the +<(list) form is used, the file passed as an +argument should be read to obtain the output of list. +Note that no space may appear between the < or > and the left parenthesis, otherwise the construct would be interpreted as a redirection. -

- -When available, process substitution is performed simultaneously with +Process substitution is supported on systems that support named +pipes (FIFOs) or the /dev/fd method of naming open files. +

+

When available, process substitution is performed simultaneously with parameter and variable expansion, command substitution, and arithmetic expansion. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5.7 Word Splitting

- -

- -The shell scans the results of parameter expansion, command substitution, +

+
+ + + +

3.5.7 Word Splitting

+ + +

The shell scans the results of parameter expansion, command substitution, and arithmetic expansion that did not occur within double quotes for word splitting. -

- -The shell treats each character of $IFS as a delimiter, and splits +

+

The shell treats each character of $IFS as a delimiter, and splits the results of the other expansions into words using these characters as field terminators. -If IFS is unset, or its value is exactly <space><tab><newline>, +If IFS is unset, or its value is exactly <space><tab><newline>, the default, then sequences of - <space>, <tab>, and <newline> + <space>, <tab>, and <newline> at the beginning and end of the results of the previous -expansions are ignored, and any sequence of IFS +expansions are ignored, and any sequence of IFS characters not at the beginning or end serves to delimit words. -If IFS has a value other than the default, then sequences of -the whitespace characters space and tab +If IFS has a value other than the default, then sequences of +the whitespace characters space, tab, and newline are ignored at the beginning and end of the word, as long as the whitespace character is in the -value of IFS (an IFS whitespace character). -Any character in IFS that is not IFS -whitespace, along with any adjacent IFS -whitespace characters, delimits a field. A sequence of IFS +value of IFS (an IFS whitespace character). +Any character in IFS that is not IFS +whitespace, along with any adjacent IFS +whitespace characters, delimits a field. A sequence of IFS whitespace characters is also treated as a delimiter. -If the value of IFS is null, no word splitting occurs. -

- -Explicit null arguments ("" or ") are retained. +If the value of IFS is null, no word splitting occurs. +

+

Explicit null arguments ("" or '') are retained +and passed to commands as empty strings. Unquoted implicit null arguments, resulting from the expansion of parameters that have no values, are removed. If a parameter with no value is expanded within double quotes, a -null argument results and is retained. -

- -Note that if no expansion occurs, no splitting +null argument results and is retained +and passed to a command as an empty string. +When a quoted null argument appears as part of a word whose expansion is +non-null, the null argument is removed. +That is, the word +-d'' becomes -d after word splitting and +null argument removal. +

+

Note that if no expansion occurs, no splitting is performed. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5.8 Filename Expansion

- -
- -
3.5.8.1 Pattern Matching  How the shell matches patterns.
- - - - -

- -After word splitting, unless the `-f' option has been set -(see section 4.3.1 The Set Builtin), Bash scans each word for the characters -`*', `?', and `['. +

+
+ +
+

+Next: , Previous: , Up: Shell Expansions   [Contents][Index]

+
+ +

3.5.8 Filename Expansion

+ + + + + + + + +

After word splitting, unless the -f option has been set +(see The Set Builtin), Bash scans each word for the characters +‘*’, ‘?’, and ‘[’. If one of these characters appears, then the word is -regarded as a pattern, +regarded as a pattern, and replaced with an alphabetically sorted list of -filenames matching the pattern (see section 3.5.8.1 Pattern Matching). +filenames matching the pattern (see Pattern Matching). If no matching filenames are found, -and the shell option nullglob is disabled, the word is left +and the shell option nullglob is disabled, the word is left unchanged. -If the nullglob option is set, and no matches are found, the word +If the nullglob option is set, and no matches are found, the word is removed. -If the failglob shell option is set, and no matches are found, +If the failglob shell option is set, and no matches are found, an error message is printed and the command is not executed. -If the shell option nocaseglob is enabled, the match is performed +If the shell option nocaseglob is enabled, the match is performed without regard to the case of alphabetic characters. -

- -When a pattern is used for filename expansion, the character `.' +

+

When a pattern is used for filename expansion, the character ‘.’ at the start of a filename or immediately following a slash -must be matched explicitly, unless the shell option dotglob is set. +must be matched explicitly, unless the shell option dotglob is set. When matching a filename, the slash character must always be matched explicitly. -In other cases, the `.' character is not treated specially. -

- -See the description of shopt in 4.3.2 The Shopt Builtin, -for a description of the nocaseglob, nullglob, -failglob, and dotglob options. -

- -The GLOBIGNORE +In other cases, the ‘.’ character is not treated specially. +

+

See the description of shopt in The Shopt Builtin, +for a description of the nocaseglob, nullglob, +failglob, and dotglob options. +

+

The GLOBIGNORE shell variable may be used to restrict the set of filenames matching a -pattern. If GLOBIGNORE +pattern. If GLOBIGNORE is set, each matching filename that also matches one of the patterns in -GLOBIGNORE is removed from the list of matches. The filenames -`.' and `..' -are always ignored when GLOBIGNORE +GLOBIGNORE is removed from the list of matches. +If the nocaseglob option is set, the matching against the patterns in +GLOBIGNORE is performed without regard to case. +The filenames +. and .. +are always ignored when GLOBIGNORE is set and not null. -However, setting GLOBIGNORE to a non-null value has the effect of -enabling the dotglob +However, setting GLOBIGNORE to a non-null value has the effect of +enabling the dotglob shell option, so all other filenames beginning with a -`.' will match. +‘.’ will match. To get the old behavior of ignoring filenames beginning with a -`.', make `.*' one of the patterns in GLOBIGNORE. -The dotglob option is disabled when GLOBIGNORE +‘.’, make ‘.*’ one of the patterns in GLOBIGNORE. +The dotglob option is disabled when GLOBIGNORE is unset. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5.8.1 Pattern Matching

- -

- -Any character that appears in a pattern, other than the special pattern +

+
+ + + +

3.5.8.1 Pattern Matching

+ + + +

Any character that appears in a pattern, other than the special pattern characters described below, matches itself. -The NUL character may not occur in a pattern. +The NUL character may not occur in a pattern. A backslash escapes the following character; the escaping backslash is discarded when matching. The special pattern characters must be quoted if they are to be matched literally. -

- -The special pattern characters have the following meanings: -

-
* -
Matches any string, including the null string. -When the globstar shell option is enabled, and `*' is used in -a filename expansion context, two adjacent `*'s used as a single +

+

The special pattern characters have the following meanings: +

+
*
+

Matches any string, including the null string. +When the globstar shell option is enabled, and ‘*’ is used in +a filename expansion context, two adjacent ‘*’s used as a single pattern will match all files and zero or more directories and subdirectories. -If followed by a `/', two adjacent `*'s will match only +If followed by a ‘/’, two adjacent ‘*’s will match only directories and subdirectories. -

? -
Matches any single character. -
[...] -
Matches any one of the enclosed characters. A pair of characters -separated by a hyphen denotes a range expression; +

+
?
+

Matches any single character. +

+
[…]
+

Matches any one of the enclosed characters. A pair of characters +separated by a hyphen denotes a range expression; any character that falls between those two characters, inclusive, -using the current locale's collating sequence and character set, +using the current locale’s collating sequence and character set, is matched. If the first character following the -`[' is a `!' or a `^' -then any character not enclosed is matched. A `-' +‘[’ is a ‘!’ or a ‘^’ +then any character not enclosed is matched. A ‘-’ may be matched by including it as the first or last character -in the set. A `]' may be matched by including it as the first +in the set. A ‘]’ may be matched by including it as the first character in the set. The sorting order of characters in range expressions is determined by the current locale and the values of the -LC_COLLATE and LC_ALL shell variables, if set. -

- -For example, in the default C locale, `[a-dx-z]' is equivalent to -`[abcdxyz]'. Many locales sort characters in dictionary order, and in -these locales `[a-dx-z]' is typically not equivalent to `[abcdxyz]'; -it might be equivalent to `[aBbCcDdxXyYz]', for example. To obtain +LC_COLLATE and LC_ALL shell variables, if set. +

+

For example, in the default C locale, ‘[a-dx-z]’ is equivalent to +‘[abcdxyz]’. Many locales sort characters in dictionary order, and in +these locales ‘[a-dx-z]’ is typically not equivalent to ‘[abcdxyz]’; +it might be equivalent to ‘[aBbCcDdxXyYz]’, for example. To obtain the traditional interpretation of ranges in bracket expressions, you can -force the use of the C locale by setting the LC_COLLATE or -LC_ALL environment variable to the value `C', or enable the -globasciiranges shell option. -

- -Within `[' and `]', character classes can be specified +force the use of the C locale by setting the LC_COLLATE or +LC_ALL environment variable to the value ‘C’, or enable the +globasciiranges shell option. +

+

Within ‘[’ and ‘]’, character classes can be specified using the syntax -[:class:], where class is one of the -following classes defined in the POSIX standard: -
 
alnum   alpha   ascii   blank   cntrl   digit   graph   lower
+[:class:], where class is one of the
+following classes defined in the POSIX standard:
+

+
alnum   alpha   ascii   blank   cntrl   digit   graph   lower
 print   punct   space   upper   word    xdigit
-
A character class matches any character belonging to that class. -The word character class matches letters, digits, and the character -`_'. -

- -Within `[' and `]', an equivalence class can be -specified using the syntax [=c=], which + +

A character class matches any character belonging to that class. +The word character class matches letters, digits, and the character +‘_’. +

+

Within ‘[’ and ‘]’, an equivalence class can be +specified using the syntax [=c=], which matches all characters with the same collation weight (as defined -by the current locale) as the character c. -

- -Within `[' and `]', the syntax [.symbol.] -matches the collating symbol symbol. -

-

- -If the extglob shell option is enabled using the shopt +by the current locale) as the character c. +

+

Within ‘[’ and ‘]’, the syntax [.symbol.] +matches the collating symbol symbol. +

+
+ +

If the extglob shell option is enabled using the shopt builtin, several extended pattern matching operators are recognized. -In the following description, a pattern-list is a list of one -or more patterns separated by a `|'. +In the following description, a pattern-list is a list of one +or more patterns separated by a ‘|’. Composite patterns may be formed using one or more of the following sub-patterns: -

- -

-
?(pattern-list) -
Matches zero or one occurrence of the given patterns. -

- -

*(pattern-list) -
Matches zero or more occurrences of the given patterns. -

- -

+(pattern-list) -
Matches one or more occurrences of the given patterns. -

- -

@(pattern-list) -
Matches one of the given patterns. -

- -

!(pattern-list) -
Matches anything except one of the given patterns. -
-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.5.9 Quote Removal

- -

- -After the preceding expansions, all unquoted occurrences of the -characters `\', `'', and `"' that did not +

+
+
?(pattern-list)
+

Matches zero or one occurrence of the given patterns. +

+
+
*(pattern-list)
+

Matches zero or more occurrences of the given patterns. +

+
+
+(pattern-list)
+

Matches one or more occurrences of the given patterns. +

+
+
@(pattern-list)
+

Matches one of the given patterns. +

+
+
!(pattern-list)
+

Matches anything except one of the given patterns. +

+
+ +
+ + + +

3.5.9 Quote Removal

+ +

After the preceding expansions, all unquoted occurrences of the +characters ‘\’, ‘'’, and ‘"’ that did not result from one of the above expansions are removed. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6 Redirections

- -

- -Before a command is executed, its input and output -may be redirected +

+
+ + + +

3.6 Redirections

+ + +

Before a command is executed, its input and output +may be redirected using a special notation interpreted by the shell. -Redirection allows commands' file handles to be +Redirection allows commands’ file handles to be duplicated, opened, closed, made to refer to different files, and can change the files the command reads from and writes to. @@ -3218,3098 +3146,2828 @@ operators may precede or appear anywhere within a simple command or may follow a command. Redirections are processed in the order they appear, from left to right. -

- -Each redirection that may be preceded by a file descriptor number -may instead be preceded by a word of the form {varname}. +

+

Each redirection that may be preceded by a file descriptor number +may instead be preceded by a word of the form {varname}. In this case, for each redirection operator except ->&- and <&-, the shell will allocate a file descriptor greater -than 10 and assign it to {varname}. If >&- or <&- is preceded -by {varname}, the value of varname defines the file +>&- and <&-, the shell will allocate a file descriptor greater +than 10 and assign it to {varname}. If >&- or <&- is preceded +by {varname}, the value of varname defines the file descriptor to close. -

- -In the following descriptions, if the file descriptor number is +

+

In the following descriptions, if the file descriptor number is omitted, and the first character of the redirection operator is -`<', the redirection refers to the standard input (file +‘<’, the redirection refers to the standard input (file descriptor 0). If the first character of the redirection operator -is `>', the redirection refers to the standard output (file +is ‘>’, the redirection refers to the standard output (file descriptor 1). -

- -The word following the redirection operator in the following +

+

The word following the redirection operator in the following descriptions, unless otherwise noted, is subjected to brace expansion, tilde expansion, parameter expansion, command substitution, arithmetic expansion, quote removal, filename expansion, and word splitting. If it expands to more than one word, Bash reports an error. -

- -Note that the order of redirections is significant. For example, +

+

Note that the order of redirections is significant. For example, the command -
 
ls > dirlist 2>&1
-
directs both standard output (file descriptor 1) and standard error -(file descriptor 2) to the file dirlist, while the command -
 
ls 2>&1 > dirlist
-
directs only the standard output to file dirlist, +

+
ls > dirlist 2>&1
+
+

directs both standard output (file descriptor 1) and standard error +(file descriptor 2) to the file dirlist, while the command +

+
ls 2>&1 > dirlist
+
+

directs only the standard output to file dirlist, because the standard error was made a copy of the standard output -before the standard output was redirected to dirlist. -

- -Bash handles several filenames specially when they are used in -redirections, as described in the following table: -

- -

-
/dev/fd/fd -
If fd is a valid integer, file descriptor fd is duplicated. -

- -

/dev/stdin -
File descriptor 0 is duplicated. -

- -

/dev/stdout -
File descriptor 1 is duplicated. -

- -

/dev/stderr -
File descriptor 2 is duplicated. -

- -

/dev/tcp/host/port -
If host is a valid hostname or Internet address, and port +before the standard output was redirected to dirlist. +

+

Bash handles several filenames specially when they are used in +redirections, as described in the following table. +If the operating system on which Bash is running provides these +special files, bash will use them; otherwise it will emulate them +internally with the behavior described below. +

+
+
/dev/fd/fd
+

If fd is a valid integer, file descriptor fd is duplicated. +

+
+
/dev/stdin
+

File descriptor 0 is duplicated. +

+
+
/dev/stdout
+

File descriptor 1 is duplicated. +

+
+
/dev/stderr
+

File descriptor 2 is duplicated. +

+
+
/dev/tcp/host/port
+

If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding TCP socket. -

- -

/dev/udp/host/port -
If host is a valid hostname or Internet address, and port +

+
+
/dev/udp/host/port
+

If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding UDP socket. -

-

- -A failure to open or create a file causes the redirection to fail. -

+

+
-Redirections using file descriptors greater than 9 should be used with +

A failure to open or create a file causes the redirection to fail. +

+

Redirections using file descriptors greater than 9 should be used with care, as they may conflict with file descriptors the shell uses internally. -

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6.1 Redirecting Input

- -Redirection of input causes the file whose name results from -the expansion of word -to be opened for reading on file descriptor n, -or the standard input (file descriptor 0) if n +

+ +

3.6.1 Redirecting Input

+

Redirection of input causes the file whose name results from +the expansion of word +to be opened for reading on file descriptor n, +or the standard input (file descriptor 0) if n is not specified. -

- -The general format for redirecting input is: -
 
[n]<word
-

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6.2 Redirecting Output

- -Redirection of output causes the file whose name results from -the expansion of word -to be opened for writing on file descriptor n, -or the standard output (file descriptor 1) if n +

+

The general format for redirecting input is: +

+
[n]<word
+
+ + +

3.6.2 Redirecting Output

+

Redirection of output causes the file whose name results from +the expansion of word +to be opened for writing on file descriptor n, +or the standard output (file descriptor 1) if n is not specified. If the file does not exist it is created; if it does exist it is truncated to zero size. -

- -The general format for redirecting output is: -
 
[n]>[|]word
-

- -If the redirection operator is `>', and the noclobber -option to the set builtin has been enabled, the redirection +

+

The general format for redirecting output is: +

+
[n]>[|]word
+
+ +

If the redirection operator is ‘>’, and the noclobber +option to the set builtin has been enabled, the redirection will fail if the file whose name results from the expansion of -word exists and is a regular file. -If the redirection operator is `>|', or the redirection operator is -`>' and the noclobber option is not enabled, the redirection -is attempted even if the file named by word exists. -

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6.3 Appending Redirected Output

- -Redirection of output in this fashion +word exists and is a regular file. +If the redirection operator is ‘>|’, or the redirection operator is +‘>’ and the noclobber option is not enabled, the redirection +is attempted even if the file named by word exists. +

+ +

3.6.3 Appending Redirected Output

+

Redirection of output in this fashion causes the file whose name results from -the expansion of word -to be opened for appending on file descriptor n, -or the standard output (file descriptor 1) if n +the expansion of word +to be opened for appending on file descriptor n, +or the standard output (file descriptor 1) if n is not specified. If the file does not exist it is created. -

- -The general format for appending output is: -
 
[n]>>word
-

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6.4 Redirecting Standard Output and Standard Error

- -This construct allows both the +

+

The general format for appending output is: +

+
[n]>>word
+
+ + +

3.6.4 Redirecting Standard Output and Standard Error

+

This construct allows both the standard output (file descriptor 1) and the standard error output (file descriptor 2) to be redirected to the file whose name is the -expansion of word. -

- -There are two formats for redirecting standard output and +expansion of word. +

+

There are two formats for redirecting standard output and standard error: -
 
&>word
-
and -
 
>&word
-
Of the two forms, the first is preferred. +

+
&>word
+
+

and +

+
>&word
+
+

Of the two forms, the first is preferred. This is semantically equivalent to -
 
>word 2>&1
-
When using the second form, word may not expand to a number or -`-'. If it does, other redirection operators apply +

+
>word 2>&1
+
+

When using the second form, word may not expand to a number or +‘-’. If it does, other redirection operators apply (see Duplicating File Descriptors below) for compatibility reasons. -

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6.5 Appending Standard Output and Standard Error

- -This construct allows both the +

+ +

3.6.5 Appending Standard Output and Standard Error

+

This construct allows both the standard output (file descriptor 1) and the standard error output (file descriptor 2) to be appended to the file whose name is the -expansion of word. -

- -The format for appending standard output and standard error is: -
 
&>>word
-
This is semantically equivalent to -
 
>>word 2>&1
-
(see Duplicating File Descriptors below). -

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6.6 Here Documents

- -This type of redirection instructs the shell to read input from the -current source until a line containing only word +expansion of word. +

+

The format for appending standard output and standard error is: +

+
&>>word
+
+

This is semantically equivalent to +

+
>>word 2>&1
+
+

(see Duplicating File Descriptors below). +

+ +

3.6.6 Here Documents

+

This type of redirection instructs the shell to read input from the +current source until a line containing only word (with no trailing blanks) is seen. All of the lines read up to that point are then used as the standard -input for a command. -

- -The format of here-documents is: -
 
<<[-]word
-        here-document
-delimiter
-

- -No parameter and variable expansion, command substitution, +input (or file descriptor n if n is specified) for a command. +

+

The format of here-documents is: +

+
[n]<<[-]word
+        here-document
+delimiter
+
+ +

No parameter and variable expansion, command substitution, arithmetic expansion, or filename expansion is performed on -word. If any characters in word are quoted, the -delimiter is the result of quote removal on word, +word. If any part of word is quoted, the +delimiter is the result of quote removal on word, and the lines in the here-document are not expanded. -If word is unquoted, +If word is unquoted, all lines of the here-document are subjected to parameter expansion, command substitution, and arithmetic expansion, -the character sequence \newline is ignored, and `\' +the character sequence \newline is ignored, and ‘\’ must be used to quote the characters -`\', `$', and ``'. -

- -If the redirection operator is `<<-', +‘\’, ‘$’, and ‘`’. +

+

If the redirection operator is ‘<<-’, then all leading tab characters are stripped from input lines and the -line containing delimiter. +line containing delimiter. This allows here-documents within shell scripts to be indented in a natural fashion. -

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6.7 Here Strings

- -A variant of here documents, the format is: -
 
<<< word
-

- -The word undergoes +

+ +

3.6.7 Here Strings

+

A variant of here documents, the format is: +

+
[n]<<< word
+
+ +

The word undergoes brace expansion, tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, and quote removal. Pathname expansion and word splitting are not performed. -The result is supplied as a single string to the command on its -standard input. -

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6.8 Duplicating File Descriptors

- -The redirection operator -
 
[n]<&word
-
is used to duplicate input file descriptors. -If word -expands to one or more digits, the file descriptor denoted by n +The result is supplied as a single string, +with a newline appended, +to the command on its +standard input (or file descriptor n if n is specified). +

+ +

3.6.8 Duplicating File Descriptors

+

The redirection operator +

+
[n]<&word
+
+

is used to duplicate input file descriptors. +If word +expands to one or more digits, the file descriptor denoted by n is made to be a copy of that file descriptor. -If the digits in word do not specify a file descriptor open for +If the digits in word do not specify a file descriptor open for input, a redirection error occurs. -If word -evaluates to `-', file descriptor n is closed. -If n is not specified, the standard input (file descriptor 0) is used. -

- -The operator -
 
[n]>&word
-
is used similarly to duplicate output file descriptors. If -n is not specified, the standard output (file descriptor 1) is used. -If the digits in word do not specify a file descriptor open for +If word +evaluates to ‘-’, file descriptor n is closed. +If n is not specified, the standard input (file descriptor 0) is used. +

+

The operator +

+
[n]>&word
+
+

is used similarly to duplicate output file descriptors. If +n is not specified, the standard output (file descriptor 1) is used. +If the digits in word do not specify a file descriptor open for output, a redirection error occurs. -If word -evaluates to `-', file descriptor n is closed. -As a special case, if n is omitted, and word does not -expand to one or more digits or `-', the standard output and standard +If word +evaluates to ‘-’, file descriptor n is closed. +As a special case, if n is omitted, and word does not +expand to one or more digits or ‘-’, the standard output and standard error are redirected as described previously. -

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6.9 Moving File Descriptors

- -The redirection operator -
 
[n]<&digit-
-
moves the file descriptor digit to file descriptor n, -or the standard input (file descriptor 0) if n is not specified. -digit is closed after being duplicated to n. -

- -Similarly, the redirection operator -
 
[n]>&digit-
-
moves the file descriptor digit to file descriptor n, -or the standard output (file descriptor 1) if n is not specified. -

- -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.6.10 Opening File Descriptors for Reading and Writing

- -The redirection operator -
 
[n]<>word
-
causes the file whose name is the expansion of word +

+ +

3.6.9 Moving File Descriptors

+

The redirection operator +

+
[n]<&digit-
+
+

moves the file descriptor digit to file descriptor n, +or the standard input (file descriptor 0) if n is not specified. +digit is closed after being duplicated to n. +

+

Similarly, the redirection operator +

+
[n]>&digit-
+
+

moves the file descriptor digit to file descriptor n, +or the standard output (file descriptor 1) if n is not specified. +

+ +

3.6.10 Opening File Descriptors for Reading and Writing

+

The redirection operator +

+
[n]<>word
+
+

causes the file whose name is the expansion of word to be opened for both reading and writing on file descriptor -n, or on file descriptor 0 if n +n, or on file descriptor 0 if n is not specified. If the file does not exist, it is created. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.7 Executing Commands

- -

- -

- - - + + + +
3.7.1 Simple Command Expansion  How Bash expands simple commands before - executing them.
3.7.2 Command Search and Execution  How Bash finds commands and runs them.
3.7.3 Command Execution Environment  The environment in which Bash +

+
+ + + +

3.7 Executing Commands

+ + + + + - - - - -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.7.1 Simple Command Expansion

- -

- -When a simple command is executed, the shell performs the following + shell builtins. +

Environment:  The environment given to a command. +
Exit Status:  The status returned by commands and how Bash + interprets it. +
Signals:  What happens when Bash or a command it runs + receives a signal. +
+ +
+ + + +

3.7.1 Simple Command Expansion

+ + +

When a simple command is executed, the shell performs the following expansions, assignments, and redirections, from left to right. -

- -

    -
  1. -The words that the parser has marked as variable assignments (those +

    +
      +
    1. The words that the parser has marked as variable assignments (those preceding the command name) and redirections are saved for later processing. -

      -

    2. -The words that are not variable assignments or redirections are -expanded (see section 3.5 Shell Expansions). +
    3. The words that are not variable assignments or redirections are +expanded (see Shell Expansions). If any words remain after expansion, the first word is taken to be the name of the command and the remaining words are the arguments. -

      -

    4. -Redirections are performed as described above (see section 3.6 Redirections). -

      +

    5. Redirections are performed as described above (see Redirections). -
    6. -The text after the `=' in each variable assignment undergoes tilde +
    7. The text after the ‘=’ in each variable assignment undergoes tilde expansion, parameter expansion, command substitution, arithmetic expansion, and quote removal before being assigned to the variable. -
    -

    +

-If no command name results, the variable assignments affect the current +

If no command name results, the variable assignments affect the current shell environment. Otherwise, the variables are added to the environment of the executed command and do not affect the current shell environment. If any of the assignments attempts to assign a value to a readonly variable, an error occurs, and the command exits with a non-zero status. -

- -If no command name results, redirections are performed, but do not +

+

If no command name results, redirections are performed, but do not affect the current shell environment. A redirection error causes the command to exit with a non-zero status. -

- -If there is a command name left after expansion, execution proceeds as +

+

If there is a command name left after expansion, execution proceeds as described below. Otherwise, the command exits. If one of the expansions contained a command substitution, the exit status of the command is the exit status of the last command substitution performed. If there were no command substitutions, the command exits with a status of zero. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.7.2 Command Search and Execution

- -

- -After a command has been split into words, if it results in a +

+
+ + + +

3.7.2 Command Search and Execution

+ + + +

After a command has been split into words, if it results in a simple command and an optional list of arguments, the following actions are taken. -

- -

    -
  1. -If the command name contains no slashes, the shell attempts to +

    +
      +
    1. If the command name contains no slashes, the shell attempts to locate it. If there exists a shell function by that name, that -function is invoked as described in 3.3 Shell Functions. -

      +function is invoked as described in Shell Functions. -

    2. -If the name does not match a function, the shell searches for +
    3. If the name does not match a function, the shell searches for it in the list of shell builtins. If a match is found, that builtin is invoked. -

      -

    4. -If the name is neither a shell function nor a builtin, +
    5. If the name is neither a shell function nor a builtin, and contains no slashes, Bash searches each element of -$PATH for a directory containing an executable file +$PATH for a directory containing an executable file by that name. Bash uses a hash table to remember the full -pathnames of executable files to avoid multiple PATH searches -(see the description of hash in 4.1 Bourne Shell Builtins). -A full search of the directories in $PATH +pathnames of executable files to avoid multiple PATH searches +(see the description of hash in Bourne Shell Builtins). +A full search of the directories in $PATH is performed only if the command is not found in the hash table. If the search is unsuccessful, the shell searches for a defined shell -function named command_not_found_handle. +function named command_not_found_handle. If that function exists, it is invoked with the original command and -the original command's arguments as its arguments, and the function's +the original command’s arguments as its arguments, and the function’s exit status becomes the exit status of the shell. If that function is not defined, the shell prints an error message and returns an exit status of 127. -

      -

    6. -If the search is successful, or if the command name contains +
    7. If the search is successful, or if the command name contains one or more slashes, the shell executes the named program in a separate execution environment. Argument 0 is set to the name given, and the remaining arguments to the command are set to the arguments supplied, if any. -

      -

    8. -If this execution fails because the file is not in executable +
    9. If this execution fails because the file is not in executable format, and the file is not a directory, it is assumed to be a -shell script and the shell executes it as described in -3.8 Shell Scripts. -

      +shell script and the shell executes it as described in +Shell Scripts. -

    10. -If the command was not begun asynchronously, the shell waits for +
    11. If the command was not begun asynchronously, the shell waits for the command to complete and collects its exit status. -

      - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    3.7.3 Command Execution Environment

    - -

    - -The shell has an execution environment, which consists of the + +

+ +
+ + + +

3.7.3 Command Execution Environment

+ + +

The shell has an execution environment, which consists of the following: -

- -

    -
  • -open files inherited by the shell at invocation, as modified by -redirections supplied to the exec builtin -

    - -

  • -the current working directory as set by cd, pushd, or -popd, or inherited by the shell at invocation -

    - -

  • -the file creation mode mask as set by umask or inherited from -the shell's parent -

    - -

  • -current traps set by trap -

    - -

  • -shell parameters that are set by variable assignment or with set -or inherited from the shell's parent in the environment -

    - -

  • -shell functions defined during execution or inherited from the shell's +

    +
      +
    • open files inherited by the shell at invocation, as modified by +redirections supplied to the exec builtin + +
    • the current working directory as set by cd, pushd, or +popd, or inherited by the shell at invocation + +
    • the file creation mode mask as set by umask or inherited from +the shell’s parent + +
    • current traps set by trap + +
    • shell parameters that are set by variable assignment or with set +or inherited from the shell’s parent in the environment + +
    • shell functions defined during execution or inherited from the shell’s parent in the environment -

      -

    • -options enabled at invocation (either by default or with command-line -arguments) or by set -

      +

    • options enabled at invocation (either by default or with command-line +arguments) or by set -
    • -options enabled by shopt (see section 4.3.2 The Shopt Builtin) -

      +

    • options enabled by shopt (see The Shopt Builtin) -
    • -shell aliases defined with alias (see section 6.6 Aliases) -

      +

    • shell aliases defined with alias (see Aliases) -
    • -various process IDs, including those of background jobs -(see section 3.2.3 Lists of Commands), the value of $$, and the value of -$PPID -

      +

    • various process IDs, including those of background jobs +(see Lists), the value of $$, and the value of +$PPID -
    -

    +

-When a simple command other than a builtin or shell function +

When a simple command other than a builtin or shell function is to be executed, it is invoked in a separate execution environment that consists of the following. Unless otherwise noted, the values are inherited from the shell. -

- -

    -
  • -the shell's open files, plus any modifications and additions specified +

    +
      +
    • the shell’s open files, plus any modifications and additions specified by redirections to the command -

      -

    • -the current working directory -

      +

    • the current working directory -
    • -the file creation mode mask -

      +

    • the file creation mode mask -
    • -shell variables and functions marked for export, along with variables -exported for the command, passed in the environment (see section 3.7.4 Environment) -

      +

    • shell variables and functions marked for export, along with variables +exported for the command, passed in the environment (see Environment) -
    • -traps caught by the shell are reset to the values inherited from the -shell's parent, and traps ignored by the shell are ignored -

      +

    • traps caught by the shell are reset to the values inherited from the +shell’s parent, and traps ignored by the shell are ignored -
    -

    +

-A command invoked in this separate environment cannot affect the -shell's execution environment. -

- -Command substitution, commands grouped with parentheses, +

A command invoked in this separate environment cannot affect the +shell’s execution environment. +

+

Command substitution, commands grouped with parentheses, and asynchronous commands are invoked in a subshell environment that is a duplicate of the shell environment, except that traps caught by the shell are reset to the values that the shell inherited from its parent at invocation. Builtin commands that are invoked as part of a pipeline are also executed in a subshell environment. Changes made to the subshell environment -cannot affect the shell's execution environment. -

- -Subshells spawned to execute command substitutions inherit the value of -the `-e' option from the parent shell. When not in POSIX mode, -Bash clears the `-e' option in such subshells. -

- -If a command is followed by a `&' and job control is not active, the -default standard input for the command is the empty file `/dev/null'. +cannot affect the shell’s execution environment. +

+

Subshells spawned to execute command substitutions inherit the value of +the -e option from the parent shell. When not in POSIX mode, +Bash clears the -e option in such subshells. +

+

If a command is followed by a ‘&’ and job control is not active, the +default standard input for the command is the empty file /dev/null. Otherwise, the invoked command inherits the file descriptors of the calling shell as modified by redirections. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.7.4 Environment

- -

- -When a program is invoked it is given an array of strings -called the environment. -This is a list of name-value pairs, of the form name=value. -

- -Bash provides several ways to manipulate the environment. +

+
+ + + +

3.7.4 Environment

+ + +

When a program is invoked it is given an array of strings +called the environment. +This is a list of name-value pairs, of the form name=value. +

+

Bash provides several ways to manipulate the environment. On invocation, the shell scans its own environment and creates a parameter for each name found, automatically marking -it for export +it for export to child processes. Executed commands inherit the environment. -The export and `declare -x' +The export and ‘declare -x’ commands allow parameters and functions to be added to and deleted from the environment. If the value of a parameter in the environment is modified, the new value becomes part of the environment, replacing the old. The environment -inherited by any executed command consists of the shell's +inherited by any executed command consists of the shell’s initial environment, whose values may be modified in the shell, -less any pairs removed by the unset and `export -n' -commands, plus any additions via the export and -`declare -x' commands. -

- -The environment for any simple command +less any pairs removed by the unset and ‘export -n’ +commands, plus any additions via the export and +‘declare -x’ commands. +

+

The environment for any simple command or function may be augmented temporarily by prefixing it with -parameter assignments, as described in 3.4 Shell Parameters. +parameter assignments, as described in Shell Parameters. These assignment statements affect only the environment seen by that command. -

- -If the `-k' option is set (see section 4.3.1 The Set Builtin), then all +

+

If the -k option is set (see The Set Builtin), then all parameter assignments are placed in the environment for a command, not just those that precede the command name. -

- -When Bash invokes an external command, the variable `$_' +

+

When Bash invokes an external command, the variable ‘$_’ is set to the full pathname of the command and passed to that command in its environment. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.7.5 Exit Status

- -

- -The exit status of an executed command is the value returned by the -waitpid system call or equivalent function. Exit statuses +

+
+ +
+

+Next: , Previous: , Up: Executing Commands   [Contents][Index]

+
+ +

3.7.5 Exit Status

+ + +

The exit status of an executed command is the value returned by the +waitpid system call or equivalent function. Exit statuses fall between 0 and 255, though, as explained below, the shell may use values above 125 specially. Exit statuses from shell builtins and compound commands are also limited to this range. Under certain circumstances, the shell will use special values to indicate specific failure modes. -

- -For the shell's purposes, a command which exits with a +

+

For the shell’s purposes, a command which exits with a zero exit status has succeeded. A non-zero exit status indicates failure. This seemingly counter-intuitive scheme is used so there is one well-defined way to indicate success and a variety of ways to indicate various failure modes. -When a command terminates on a fatal signal whose number is N, -Bash uses the value 128+N as the exit status. -

- -If a command is not found, the child process created to +When a command terminates on a fatal signal whose number is N, +Bash uses the value 128+N as the exit status. +

+

If a command is not found, the child process created to execute it returns a status of 127. If a command is found but is not executable, the return status is 126. -

- -If a command fails because of an error during expansion or redirection, +

+

If a command fails because of an error during expansion or redirection, the exit status is greater than zero. -

- -The exit status is used by the Bash conditional commands -(see section 3.2.4.2 Conditional Constructs) and some of the list -constructs (see section 3.2.3 Lists of Commands). -

- -All of the Bash builtins return an exit status of zero if they succeed +

+

The exit status is used by the Bash conditional commands +(see Conditional Constructs) and some of the list +constructs (see Lists). +

+

All of the Bash builtins return an exit status of zero if they succeed and a non-zero status on failure, so they may be used by the conditional and list constructs. -All builtins return an exit status of 2 to indicate incorrect usage. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.7.6 Signals

- -

- -When Bash is interactive, in the absence of any traps, it ignores -SIGTERM (so that `kill 0' does not kill an interactive shell), -and SIGINT -is caught and handled (so that the wait builtin is interruptible). -When Bash receives a SIGINT, it breaks out of any executing loops. -In all cases, Bash ignores SIGQUIT. -If job control is in effect (see section 7. Job Control), Bash -ignores SIGTTIN, SIGTTOU, and SIGTSTP. -

- -Non-builtin commands started by Bash have signal handlers set to the +All builtins return an exit status of 2 to indicate incorrect usage, +generally invalid options or missing arguments. +

+
+ +
+

+Previous: , Up: Executing Commands   [Contents][Index]

+
+ +

3.7.6 Signals

+ + +

When Bash is interactive, in the absence of any traps, it ignores +SIGTERM (so that ‘kill 0’ does not kill an interactive shell), +and SIGINT +is caught and handled (so that the wait builtin is interruptible). +When Bash receives a SIGINT, it breaks out of any executing loops. +In all cases, Bash ignores SIGQUIT. +If job control is in effect (see Job Control), Bash +ignores SIGTTIN, SIGTTOU, and SIGTSTP. +

+

Non-builtin commands started by Bash have signal handlers set to the values inherited by the shell from its parent. When job control is not in effect, asynchronous commands -ignore SIGINT and SIGQUIT in addition to these inherited +ignore SIGINT and SIGQUIT in addition to these inherited handlers. Commands run as a result of command substitution ignore the keyboard-generated job control signals -SIGTTIN, SIGTTOU, and SIGTSTP. -

- -The shell exits by default upon receipt of a SIGHUP. -Before exiting, an interactive shell resends the SIGHUP to +SIGTTIN, SIGTTOU, and SIGTSTP. +

+

The shell exits by default upon receipt of a SIGHUP. +Before exiting, an interactive shell resends the SIGHUP to all jobs, running or stopped. -Stopped jobs are sent SIGCONT to ensure that they receive -the SIGHUP. -To prevent the shell from sending the SIGHUP signal to a +Stopped jobs are sent SIGCONT to ensure that they receive +the SIGHUP. +To prevent the shell from sending the SIGHUP signal to a particular job, it should be removed -from the jobs table with the disown -builtin (see section 7.2 Job Control Builtins) or marked -to not receive SIGHUP using disown -h. -

- -If the huponexit shell option has been set with shopt -(see section 4.3.2 The Shopt Builtin), Bash sends a SIGHUP to all jobs when +from the jobs table with the disown +builtin (see Job Control Builtins) or marked +to not receive SIGHUP using disown -h. +

+

If the huponexit shell option has been set with shopt +(see The Shopt Builtin), Bash sends a SIGHUP to all jobs when an interactive login shell exits. -

- -If Bash is waiting for a command to complete and receives a signal +

+

If Bash is waiting for a command to complete and receives a signal for which a trap has been set, the trap will not be executed until -the command completes. +the command completes. When Bash is waiting for an asynchronous -command via the wait builtin, the reception of a signal for -which a trap has been set will cause the wait builtin to return +command via the wait builtin, the reception of a signal for +which a trap has been set will cause the wait builtin to return immediately with an exit status greater than 128, immediately after which the trap is executed. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

3.8 Shell Scripts

- -

- -A shell script is a text file containing shell commands. When such +

+
+ + + +

3.8 Shell Scripts

+ + +

A shell script is a text file containing shell commands. When such a file is used as the first non-option argument when invoking Bash, -and neither the `-c' nor `-s' option is supplied -(see section 6.1 Invoking Bash), +and neither the -c nor -s option is supplied +(see Invoking Bash), Bash reads and executes commands from the file, then exits. This mode of operation creates a non-interactive shell. The shell first searches for the file in the current directory, and looks in the -directories in $PATH if not found there. -

- -When Bash runs -a shell script, it sets the special parameter 0 to the name +directories in $PATH if not found there. +

+

When Bash runs +a shell script, it sets the special parameter 0 to the name of the file, rather than the name of the shell, and the positional parameters are set to the remaining arguments, if any are given. If no additional arguments are supplied, the positional parameters are unset. -

- -A shell script may be made executable by using the chmod command +

+

A shell script may be made executable by using the chmod command to turn on the execute bit. When Bash finds such a file while -searching the $PATH for a command, it spawns a subshell to +searching the $PATH for a command, it spawns a subshell to execute it. In other words, executing -
 
filename arguments
-
is equivalent to executing -
 
bash filename arguments
-

- -if filename is an executable shell script. +

+
filename arguments
+
+

is equivalent to executing +

+
bash filename arguments
+
+ +

if filename is an executable shell script. This subshell reinitializes itself, so that the effect is as if a new shell had been invoked to interpret the script, with the exception that the locations of commands remembered by the parent -(see the description of hash in 4.1 Bourne Shell Builtins) +(see the description of hash in Bourne Shell Builtins) are retained by the child. -

- -Most versions of Unix make this a part of the operating system's command +

+

Most versions of Unix make this a part of the operating system’s command execution mechanism. If the first line of a script begins with -the two characters `#!', the remainder of the line specifies +the two characters ‘#!’, the remainder of the line specifies an interpreter for the program. -Thus, you can specify Bash, awk, Perl, or some other +Thus, you can specify Bash, awk, Perl, or some other interpreter and write the rest of the script file in that language. -

- -The arguments to the interpreter +

+

The arguments to the interpreter consist of a single optional argument following the interpreter name on the first line of the script file, followed by the name of the script file, followed by the rest of the arguments. Bash will perform this action on operating systems that do not handle it themselves. Note that some older versions of Unix limit the interpreter name and argument to a maximum of 32 characters. -

- -Bash scripts often begin with #! /bin/bash (assuming that -Bash has been installed in `/bin'), since this ensures that +

+

Bash scripts often begin with #! /bin/bash (assuming that +Bash has been installed in /bin), since this ensures that Bash will be used to interpret the script, even if it is executed under another shell. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

4. Shell Builtin Commands

- -

- -

- - - - -
4.1 Bourne Shell Builtins  Builtin commands inherited from the Bourne - Shell.
4.2 Bash Builtin Commands  Table of builtins specific to Bash.
4.3 Modifying Shell Behavior  Builtins to modify shell attributes and - optional behavior.
4.4 Special Builtins  Builtin commands classified specially by - POSIX.
-

- -Builtin commands are contained within the shell itself. +

+
+ +
+

+Next: , Previous: , Up: Top   [Contents][Index]

+
+ +

4 Shell Builtin Commands

+ + + + + + + + +

Builtin commands are contained within the shell itself. When the name of a builtin command is used as the first word of -a simple command (see section 3.2.1 Simple Commands), the shell executes +a simple command (see Simple Commands), the shell executes the command directly, without invoking another program. Builtin commands are necessary to implement functionality impossible or inconvenient to obtain with separate utilities. -

- -This section briefly describes the builtins which Bash inherits from +

+

This section briefly describes the builtins which Bash inherits from the Bourne Shell, as well as the builtin commands which are unique to or have been extended in Bash. -

- -Several builtin commands are described in other chapters: builtin +

+

Several builtin commands are described in other chapters: builtin commands which provide the Bash interface to the job control -facilities (see section 7.2 Job Control Builtins), the directory stack -(see section 6.8.1 Directory Stack Builtins), the command history -(see section 9.2 Bash History Builtins), and the programmable completion -facilities (see section 8.7 Programmable Completion Builtins). -

- -Many of the builtins have been extended by POSIX or Bash. -

- -Unless otherwise noted, each builtin command documented as accepting -options preceded by `-' accepts `--' +facilities (see Job Control Builtins), the directory stack +(see Directory Stack Builtins), the command history +(see Bash History Builtins), and the programmable completion +facilities (see Programmable Completion Builtins). +

+

Many of the builtins have been extended by POSIX or Bash. +

+

Unless otherwise noted, each builtin command documented as accepting +options preceded by ‘-’ accepts ‘--’ to signify the end of the options. -The :, true, false, and test -builtins do not accept options and do not treat `--' specially. -The exit, logout, break, continue, let, -and shift builtins accept and process arguments beginning -with `-' without requiring `--'. +The :, true, false, and test +builtins do not accept options and do not treat ‘--’ specially. +The exit, logout, return, +break, continue, let, +and shift builtins accept and process arguments beginning +with ‘-’ without requiring ‘--’. Other builtins that accept arguments but are not specified as accepting -options interpret arguments beginning with `-' as invalid options and -require `--' to prevent this interpretation. -

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

4.1 Bourne Shell Builtins

- -

- -The following shell builtin commands are inherited from the Bourne Shell. -These commands are implemented as specified by the POSIX standard. -

- -

-
: (a colon) -
-
 
: [arguments]
-

- -Do nothing beyond expanding arguments and performing redirections. +options interpret arguments beginning with ‘-’ as invalid options and +require ‘--’ to prevent this interpretation. +

+
+ + + +

4.1 Bourne Shell Builtins

+ +

The following shell builtin commands are inherited from the Bourne Shell. +These commands are implemented as specified by the POSIX standard. +

+
+
: (a colon)
+
+
+
: [arguments]
+
+ +

Do nothing beyond expanding arguments and performing redirections. The return status is zero. -

- -

. (a period) -
-
 
. filename [arguments]
-

- -Read and execute commands from the filename argument in the -current shell context. If filename does not contain a slash, -the PATH variable is used to find filename. -When Bash is not in POSIX mode, the current directory is searched -if filename is not found in $PATH. -If any arguments are supplied, they become the positional -parameters when filename is executed. Otherwise the positional +

+
+
. (a period)
+
+
+
. filename [arguments]
+
+ +

Read and execute commands from the filename argument in the +current shell context. If filename does not contain a slash, +the PATH variable is used to find filename. +When Bash is not in POSIX mode, the current directory is searched +if filename is not found in $PATH. +If any arguments are supplied, they become the positional +parameters when filename is executed. Otherwise the positional parameters are unchanged. +If the -T option is enabled, source inherits any trap on +DEBUG; if it is not, any DEBUG trap string is saved and +restored around the call to source, and source unsets the +DEBUG trap while it executes. +If -T is not set, and the sourced file changes +the DEBUG trap, the new value is retained when source completes. The return status is the exit status of the last command executed, or -zero if no commands are executed. If filename is not found, or +zero if no commands are executed. If filename is not found, or cannot be read, the return status is non-zero. -This builtin is equivalent to source. -

- -

break -
-
 
break [n]
-

- -Exit from a for, while, until, or select loop. -If n is supplied, the nth enclosing loop is exited. -n must be greater than or equal to 1. -The return status is zero unless n is not greater than or equal to 1. -

- -

cd -
-
 
cd [-L|[-P [-e]] [-@] [directory]
-

- -Change the current working directory to directory. -If directory is not supplied, the value of the HOME +This builtin is equivalent to source. +

+
+
break
+
+
+
break [n]
+
+ +

Exit from a for, while, until, or select loop. +If n is supplied, the nth enclosing loop is exited. +n must be greater than or equal to 1. +The return status is zero unless n is not greater than or equal to 1. +

+
+
cd
+
+
+
cd [-L|[-P [-e]] [-@] [directory]
+
+ +

Change the current working directory to directory. +If directory is not supplied, the value of the HOME shell variable is used. -Any additional arguments following directory are ignored. +Any additional arguments following directory are ignored. If the shell variable -CDPATH exists, it is used as a search path: -each directory name in CDPATH is searched for -directory, with alternative directory names in CDPATH -separated by a colon (`:'). -If directory begins with a slash, CDPATH is not used. -

- -The `-P' option means to not follow symbolic links: symbolic links -are resolved while cd is traversing directory and before -processing an instance of `..' in directory. -

- -By default, or when the `-L' option is supplied, symbolic links -in directory are resolved after cd processes an instance -of `..' in directory. -

- -If `..' appears in directory, it is processed by removing the +CDPATH exists, it is used as a search path: +each directory name in CDPATH is searched for +directory, with alternative directory names in CDPATH +separated by a colon (‘:’). +If directory begins with a slash, CDPATH is not used. +

+

The -P option means to not follow symbolic links: symbolic links +are resolved while cd is traversing directory and before +processing an instance of ‘..’ in directory. +

+

By default, or when the -L option is supplied, symbolic links +in directory are resolved after cd processes an instance +of ‘..’ in directory. +

+

If ‘..’ appears in directory, it is processed by removing the immediately preceding pathname component, back to a slash or the beginning -of directory. -

- -If the `-e' option is supplied with `-P' +of directory. +

+

If the -e option is supplied with -P and the current working directory cannot be successfully determined -after a successful directory change, cd will return an unsuccessful +after a successful directory change, cd will return an unsuccessful status. -

- -On systems that support it, the `-@' option presents the extended +

+

On systems that support it, the -@ option presents the extended attributes associated with a file as a directory. -

- -If directory is `-', it is converted to $OLDPWD +

+

If directory is ‘-’, it is converted to $OLDPWD before the directory change is attempted. -

- -If a non-empty directory name from CDPATH is used, or if -`-' is the first argument, and the directory change is +

+

If a non-empty directory name from CDPATH is used, or if +‘-’ is the first argument, and the directory change is successful, the absolute pathname of the new working directory is written to the standard output. -

- -The return status is zero if the directory is successfully changed, +

+

The return status is zero if the directory is successfully changed, non-zero otherwise. -

- -

continue -
-
 
continue [n]
-

- -Resume the next iteration of an enclosing for, while, -until, or select loop. -If n is supplied, the execution of the nth enclosing loop +

+
+
continue
+
+
+
continue [n]
+
+ +

Resume the next iteration of an enclosing for, while, +until, or select loop. +If n is supplied, the execution of the nth enclosing loop is resumed. -n must be greater than or equal to 1. -The return status is zero unless n is not greater than or equal to 1. -

- -

eval -
-
 
eval [arguments]
-

- -The arguments are concatenated together into a single command, which is +n must be greater than or equal to 1. +The return status is zero unless n is not greater than or equal to 1. +

+
+
eval
+
+
+
eval [arguments]
+
+ +

The arguments are concatenated together into a single command, which is then read and executed, and its exit status returned as the exit status -of eval. +of eval. If there are no arguments or only empty arguments, the return status is zero. -

- -

exec -
-
 
exec [-cl] [-a name] [command [arguments]]
-

- -If command +

+
+
exec
+
+
+
exec [-cl] [-a name] [command [arguments]]
+
+ +

If command is supplied, it replaces the shell without creating a new process. -If the `-l' option is supplied, the shell places a dash at the -beginning of the zeroth argument passed to command. -This is what the login program does. -The `-c' option causes command to be executed with an empty +If the -l option is supplied, the shell places a dash at the +beginning of the zeroth argument passed to command. +This is what the login program does. +The -c option causes command to be executed with an empty environment. -If `-a' is supplied, the shell passes name as the zeroth -argument to command. -If command +If -a is supplied, the shell passes name as the zeroth +argument to command. +If command cannot be executed for some reason, a non-interactive shell exits, -unless the execfail shell option +unless the execfail shell option is enabled. In that case, it returns failure. An interactive shell returns failure if the file cannot be executed. -If no command is specified, redirections may be used to affect +If no command is specified, redirections may be used to affect the current shell environment. If there are no redirection errors, the return status is zero; otherwise the return status is non-zero. -

- -

exit -
-
 
exit [n]
-

- -Exit the shell, returning a status of n to the shell's parent. -If n is omitted, the exit status is that of the last command executed. -Any trap on EXIT is executed before the shell terminates. -

- -

export -
-
 
export [-fn] [-p] [name[=value]]
-

- -Mark each name to be passed to child processes -in the environment. If the `-f' option is supplied, the names +

+
+
exit
+
+
+
exit [n]
+
+ +

Exit the shell, returning a status of n to the shell’s parent. +If n is omitted, the exit status is that of the last command executed. +Any trap on EXIT is executed before the shell terminates. +

+
+
export
+
+
+
export [-fn] [-p] [name[=value]]
+
+ +

Mark each name to be passed to child processes +in the environment. If the -f option is supplied, the names refer to shell functions; otherwise the names refer to shell variables. -The `-n' option means to no longer mark each name for export. -If no names are supplied, or if the `-p' option is given, a +The -n option means to no longer mark each name for export. +If no names are supplied, or if the -p option is given, a list of names of all exported variables is displayed. -The `-p' option displays output in a form that may be reused as input. -If a variable name is followed by =value, the value of -the variable is set to value. -

- -The return status is zero unless an invalid option is supplied, one of -the names is not a valid shell variable name, or `-f' is supplied +The -p option displays output in a form that may be reused as input. +If a variable name is followed by =value, the value of +the variable is set to value. +

+

The return status is zero unless an invalid option is supplied, one of +the names is not a valid shell variable name, or -f is supplied with a name that is not a shell function. -

- -

getopts -
-
 
getopts optstring name [args]
-

- -getopts is used by shell scripts to parse positional parameters. -optstring contains the option characters to be recognized; if a +

+
+
getopts
+
+
+
getopts optstring name [args]
+
+ +

getopts is used by shell scripts to parse positional parameters. +optstring contains the option characters to be recognized; if a character is followed by a colon, the option is expected to have an argument, which should be separated from it by whitespace. -The colon (`:') and question mark (`?') may not be +The colon (‘:’) and question mark (‘?’) may not be used as option characters. -Each time it is invoked, getopts -places the next option in the shell variable name, initializing -name if it does not exist, +Each time it is invoked, getopts +places 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 -variable OPTIND. -OPTIND is initialized to 1 each time the shell or a shell script +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 variable OPTARG. -The shell does not reset OPTIND automatically; it must be manually -reset between multiple calls to getopts within the same shell +getopts places that argument into the variable OPTARG. +The shell does not reset OPTIND automatically; it must be manually +reset between multiple calls to getopts within the same shell invocation if a new set of parameters is to be used. -

- -When the end of options is encountered, getopts exits with a +

+

When the end of options is encountered, getopts exits with a return value greater than zero. -OPTIND is set to the index of the first non-option argument, -and name is set to `?'. -

- -getopts +OPTIND is set to the index of the first non-option argument, +and name is set to ‘?’. +

+

getopts normally parses the positional parameters, but if more arguments are -given in args, getopts parses those instead. -

- -getopts can report errors in two ways. If the first character of -optstring is a colon, silent +given in args, getopts parses those instead. +

+

getopts can report errors in two ways. If the first character of +optstring is a colon, silent error reporting is used. In normal operation, diagnostic messages are printed when invalid options or missing option arguments are encountered. -If the variable OPTERR +If the variable OPTERR is set to 0, no error messages will be displayed, even if the first -character of optstring is not a colon. -

- -If an invalid option is seen, -getopts places `?' into name and, if not silent, -prints an error message and unsets OPTARG. -If getopts is silent, the option character found is placed in -OPTARG and no diagnostic message is printed. -

- -If a required argument is not found, and getopts -is not silent, a question mark (`?') is placed in name, -OPTARG is unset, and a diagnostic message is printed. -If getopts is silent, then a colon (`:') is placed in -name and OPTARG is set to the option character found. -

- -

hash -
-
 
hash [-r] [-p filename] [-dt] [name]
-

- -Each time hash is invoked, it remembers the full pathnames of the -commands specified as name arguments, +character of optstring is not a colon. +

+

If an invalid option is seen, +getopts places ‘?’ into name and, if not silent, +prints an error message and unsets OPTARG. +If getopts is silent, the option character found is placed in +OPTARG and no diagnostic message is printed. +

+

If a required argument is not found, and getopts +is not silent, a question mark (‘?’) is placed in name, +OPTARG is unset, and a diagnostic message is printed. +If getopts is silent, then a colon (‘:’) is placed in +name and OPTARG is set to the option character found. +

+
+
hash
+
+
+
hash [-r] [-p filename] [-dt] [name]
+
+ +

Each time hash is invoked, it remembers the full pathnames of the +commands specified as name arguments, so they need not be searched for on subsequent invocations. The commands are found by searching through the directories listed in -$PATH. +$PATH. Any previously-remembered pathname is discarded. -The `-p' option inhibits the path search, and filename is -used as the location of name. -The `-r' option causes the shell to forget all remembered locations. -The `-d' option causes the shell to forget the remembered location -of each name. -If the `-t' option is supplied, the full pathname to which each -name corresponds is printed. If multiple name arguments are -supplied with `-t' the name is printed before the hashed +The -p option inhibits the path search, and filename is +used as the location of name. +The -r option causes the shell to forget all remembered locations. +The -d option causes the shell to forget the remembered location +of each name. +If the -t option is supplied, the full pathname to which each +name corresponds is printed. If multiple name arguments are +supplied with -t the name is printed before the hashed full pathname. -The `-l' option causes output to be displayed in a format +The -l option causes output to be displayed in a format that may be reused as input. -If no arguments are given, or if only `-l' is supplied, +If no arguments are given, or if only -l is supplied, information about remembered commands is printed. -The return status is zero unless a name is not found or an invalid +The return status is zero unless a name is not found or an invalid option is supplied. -

- -

pwd -
-
 
pwd [-LP]
-

- -Print the absolute pathname of the current working directory. -If the `-P' option is supplied, the pathname printed will not +

+
+
pwd
+
+
+
pwd [-LP]
+
+ +

Print the absolute pathname of the current working directory. +If the -P option is supplied, the pathname printed will not contain symbolic links. -If the `-L' option is supplied, the pathname printed may contain +If the -L option is supplied, the pathname printed may contain symbolic links. The return status is zero unless an error is encountered while determining the name of the current directory or an invalid option is supplied. -

- -

readonly -
-
 
readonly [-aAf] [-p] [name[=value]] ...
-

- -Mark each name as readonly. +

+
+
readonly
+
+
+
readonly [-aAf] [-p] [name[=value]] …
+
+ +

Mark each name as readonly. The values of these names may not be changed by subsequent assignment. -If the `-f' option is supplied, each name refers to a shell +If the -f option is supplied, each name refers to a shell function. -The `-a' option means each name refers to an indexed -array variable; the `-A' option means each name refers +The -a option means each name refers to an indexed +array variable; the -A option means each name refers to an associative array variable. -If both options are supplied, `-A' takes precedence. -If no name arguments are given, or if the `-p' +If both options are supplied, -A takes precedence. +If no name arguments are given, or if the -p option is supplied, a list of all readonly names is printed. The other options may be used to restrict the output to a subset of the set of readonly names. -The `-p' option causes output to be displayed in a format that +The -p option causes output to be displayed in a format that may be reused as input. -If a variable name is followed by =value, the value of -the variable is set to value. +If a variable name is followed by =value, the value of +the variable is set to value. The return status is zero unless an invalid option is supplied, one of -the name arguments is not a valid shell variable or function name, -or the `-f' option is supplied with a name that is not a shell function. -

- -

return -
-
 
return [n]
-

- -Cause a shell function to stop executing and return the value n +the name arguments is not a valid shell variable or function name, +or the -f option is supplied with a name that is not a shell function. +

+
+
return
+
+
+
return [n]
+
+ +

Cause a shell function to stop executing and return the value n to its caller. -If n is not supplied, the return value is the exit status of the +If n is not supplied, the return value is the exit status of the last command executed in the function. -return may also be used to terminate execution of a script -being executed with the . (source) builtin, -returning either n or +If return is executed by a trap handler, the last command used to +determine the status is the last command executed before the trap handler. +if return is executed during a DEBUG trap, the last command +used to determine the status is the last command executed by the trap +handler before return was invoked. +return may also be used to terminate execution of a script +being executed with the . (source) builtin, +returning either n or the exit status of the last command executed within the script as the exit status of the script. -If n is supplied, the return value is its least significant +If n is supplied, the return value is its least significant 8 bits. -Any command associated with the RETURN trap is executed +Any command associated with the RETURN trap is executed before execution resumes after the function or script. -The return status is non-zero if return is supplied a non-numeric +The return status is non-zero if return is supplied a non-numeric argument or is used outside a function -and not during the execution of a script by . or source. -

- -

shift -
-
 
shift [n]
-

- -Shift the positional parameters to the left by n. -The positional parameters from n+1 ... $# are -renamed to $1 ... $#-n. -Parameters represented by the numbers $# to $#-n+1 +and not during the execution of a script by . or source. +

+
+
shift
+
+
+
shift [n]
+
+ +

Shift the positional parameters to the left by n. +The positional parameters from n+1 … $# are +renamed to $1$#-n. +Parameters represented by the numbers $# to $#-n+1 are unset. -n must be a non-negative number less than or equal to $#. -If n is zero or greater than $#, the positional parameters +n must be a non-negative number less than or equal to $#. +If n is zero or greater than $#, the positional parameters are not changed. -If n is not supplied, it is assumed to be 1. -The return status is zero unless n is greater than $# or +If n is not supplied, it is assumed to be 1. +The return status is zero unless n is greater than $# or less than zero, non-zero otherwise. -

- -

test -
[ -
- -
 
test expr
-

- -Evaluate a conditional express -ion expr and return a status of 0 +

+
+
test
+
[
+
+ +
+
test expr
+
+ +

Evaluate a conditional expression expr and return a status of 0 (true) or 1 (false). Each operator and operand must be a separate argument. Expressions are composed of the primaries described below in -6.4 Bash Conditional Expressions. -test does not accept any options, nor does it accept and ignore -an argument of `--' as signifying the end of options. -

- -When the [ form is used, the last argument to the command must -be a ]. -

- -Expressions may be combined using the following operators, listed in +Bash Conditional Expressions. +test does not accept any options, nor does it accept and ignore +an argument of -- as signifying the end of options. +

+

When the [ form is used, the last argument to the command must +be a ]. +

+

Expressions may be combined using the following operators, listed in decreasing order of precedence. The evaluation depends on the number of arguments; see below. Operator precedence is used when there are five or more arguments. -

- -

-
! expr -
True if expr is false. -

- -

( expr ) -
Returns the value of expr. +

+
+
! expr
+

True if expr is false. +

+
+
( expr )
+

Returns the value of expr. This may be used to override the normal precedence of operators. -

- -

expr1 -a expr2 -
True if both expr1 and expr2 are true. -

- -

expr1 -o expr2 -
True if either expr1 or expr2 is true. -
-

- -The test and [ builtins evaluate conditional +

+
+
expr1 -a expr2
+

True if both expr1 and expr2 are true. +

+
+
expr1 -o expr2
+

True if either expr1 or expr2 is true. +

+
+ +

The test and [ builtins evaluate conditional expressions using a set of rules based on the number of arguments. -

- -

-
0 arguments -
The expression is false. -

- -

1 argument -
The expression is true if and only if the argument is not null. -

- -

2 arguments -
If the first argument is `!', the expression is true if and +

+
+
0 arguments
+

The expression is false. +

+
+
1 argument
+

The expression is true if and only if the argument is not null. +

+
+
2 arguments
+

If the first argument is ‘!’, the expression is true if and only if the second argument is null. If the first argument is one of the unary conditional operators -(see section 6.4 Bash Conditional Expressions), the expression +(see Bash Conditional Expressions), the expression is true if the unary test is true. If the first argument is not a valid unary operator, the expression is false. -

- -

3 arguments -
The following conditions are applied in the order listed. +

+
+
3 arguments
+

The following conditions are applied in the order listed. If the second argument is one of the binary conditional -operators (see section 6.4 Bash Conditional Expressions), the +operators (see Bash Conditional Expressions), the result of the expression is the result of the binary test using the first and third arguments as operands. -The `-a' and `-o' operators are considered binary operators +The ‘-a’ and ‘-o’ operators are considered binary operators when there are three arguments. -If the first argument is `!', the value is the negation of +If the first argument is ‘!’, the value is the negation of the two-argument test using the second and third arguments. -If the first argument is exactly `(' and the third argument is -exactly `)', the result is the one-argument test of the second +If the first argument is exactly ‘(’ and the third argument is +exactly ‘)’, the result is the one-argument test of the second argument. Otherwise, the expression is false. -

- -

4 arguments -
If the first argument is `!', the result is the negation of +

+
+
4 arguments
+

If the first argument is ‘!’, the result is the negation of the three-argument expression composed of the remaining arguments. -Otherwise, the expression is parsed and evaluated according to +Otherwise, the expression is parsed and evaluated according to precedence using the rules listed above. -

- -

5 or more arguments -
The expression is parsed and evaluated according to precedence +

+
+
5 or more arguments
+

The expression is parsed and evaluated according to precedence using the rules listed above. -

-

+

+
-When used with test or `[', the `<' and `>' +

When used with test or ‘[’, the ‘<’ and ‘>’ operators sort lexicographically using ASCII ordering. -

- -

times -
-
 
times
-

- -Print out the user and system times used by the shell and its children. +

+
+
times
+
+
+
times
+
+ +

Print out the user and system times used by the shell and its children. The return status is zero. -

- -

trap -
-
 
trap [-lp] [arg] [sigspec ...]
-

- -The commands in arg are to be read and executed when the -shell receives signal sigspec. If arg is absent (and -there is a single sigspec) or -equal to `-', each specified signal's disposition is reset +

+
+
trap
+
+
+
trap [-lp] [arg] [sigspec …]
+
+ +

The commands in arg are to be read and executed when the +shell receives signal sigspec. If arg is absent (and +there is a single sigspec) or +equal to ‘-’, each specified signal’s disposition is reset to the value it had when the shell was started. -If arg is the null string, then the signal specified by -each sigspec is ignored by the shell and commands it invokes. -If arg is not present and `-p' has been supplied, -the shell displays the trap commands associated with each sigspec. +If arg is the null string, then the signal specified by +each sigspec is ignored by the shell and commands it invokes. +If arg is not present and -p has been supplied, +the shell displays the trap commands associated with each sigspec. If no arguments are supplied, or -only `-p' is given, trap prints the list of commands +only -p is given, trap prints the list of commands associated with each signal number in a form that may be reused as shell input. -The `-l' option causes the shell to print a list of signal names +The -l option causes the shell to print a list of signal names and their corresponding numbers. -Each sigspec is either a signal name or a signal number. -Signal names are case insensitive and the SIG prefix is optional. -

- -If a sigspec -is 0 or EXIT, arg is executed when the shell exits. -If a sigspec is DEBUG, the command arg is executed -before every simple command, for command, case command, -select command, every arithmetic for command, and before +Each sigspec is either a signal name or a signal number. +Signal names are case insensitive and the SIG prefix is optional. +

+

If a sigspec +is 0 or EXIT, arg is executed when the shell exits. +If a sigspec is DEBUG, the command arg is executed +before every simple command, for command, case command, +select command, every arithmetic for command, and before the first command executes in a shell function. -Refer to the description of the extdebug option to the -shopt builtin (see section 4.3.2 The Shopt Builtin) for details of its -effect on the DEBUG trap. -If a sigspec is RETURN, the command arg is executed -each time a shell function or a script executed with the . or -source builtins finishes executing. -

- -If a sigspec is ERR, the command arg +Refer to the description of the extdebug option to the +shopt builtin (see The Shopt Builtin) for details of its +effect on the DEBUG trap. +If a sigspec is RETURN, the command arg is executed +each time a shell function or a script executed with the . or +source builtins finishes executing. +

+

If a sigspec is ERR, the command arg is executed whenever a pipeline (which may consist of a single simple -command), a list, or a compound command returns a +command), a list, or a compound command returns a non-zero exit status, subject to the following conditions. -The ERR trap is not executed if the failed command is part of the -command list immediately following an until or while keyword, -part of the test following the if or elif reserved words, -part of a command executed in a && or || list -except the command following the final && or ||, +The ERR trap is not executed if the failed command is part of the +command list immediately following an until or while keyword, +part of the test following the if or elif reserved words, +part of a command executed in a && or || list +except the command following the final && or ||, any command in a pipeline but the last, -or if the command's return -status is being inverted using !. -These are the same conditions obeyed by the errexit (`-e') +or if the command’s return +status is being inverted using !. +These are the same conditions obeyed by the errexit (-e) option. -

- -Signals ignored upon entry to the shell cannot be trapped or reset. +

+

Signals ignored upon entry to the shell cannot be trapped or reset. Trapped signals that are not being ignored are reset to their original values in a subshell or subshell environment when one is created. -

- -The return status is zero unless a sigspec does not specify a +

+

The return status is zero unless a sigspec does not specify a valid signal. -

- -

umask -
-
 
umask [-p] [-S] [mode]
-

- -Set the shell process's file creation mask to mode. If -mode begins with a digit, it is interpreted as an octal number; +

+
+
umask
+
+
+
umask [-p] [-S] [mode]
+
+ +

Set the shell process’s file creation mask to mode. If +mode begins with a digit, it is interpreted as an octal number; if not, it is interpreted as a symbolic mode mask similar -to that accepted by the chmod command. If mode is -omitted, the current value of the mask is printed. If the `-S' -option is supplied without a mode argument, the mask is printed +to that accepted by the chmod command. If mode is +omitted, the current value of the mask is printed. If the -S +option is supplied without a mode argument, the mask is printed in a symbolic format. -If the `-p' option is supplied, and mode +If the -p option is supplied, and mode is omitted, the output is in a form that may be reused as input. The return status is zero if the mode is successfully changed or if -no mode argument is supplied, and non-zero otherwise. -

- -Note that when the mode is interpreted as an octal number, each number -of the umask is subtracted from 7. Thus, a umask of 022 -results in permissions of 755. -

- -

unset -
-
 
unset [-fnv] [name]
-

- -Remove each variable or function name. -If the `-v' option is given, each -name refers to a shell variable and that variable is remvoved. -If the `-f' option is given, the names refer to shell +no mode argument is supplied, and non-zero otherwise. +

+

Note that when the mode is interpreted as an octal number, each number +of the umask is subtracted from 7. Thus, a umask of 022 +results in permissions of 755. +

+
+
unset
+
+
+
unset [-fnv] [name]
+
+ +

Remove each variable or function name. +If the -v option is given, each +name refers to a shell variable and that variable is removed. +If the -f option is given, the names refer to shell functions, and the function definition is removed. -If the `-n' option is supplied, and name is a variable with -the nameref attribute, name will be unset rather than the +If the -n option is supplied, and name is a variable with +the nameref attribute, name will be unset rather than the variable it references. -`-n' has no effect if the `-f' option is supplied. -If no options are supplied, each name refers to a variable; if +-n has no effect if the -f option is supplied. +If no options are supplied, each name refers to a variable; if there is no variable by that name, any function with that name is unset. Readonly variables and functions may not be unset. -The return status is zero unless a name is readonly. -

-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

4.2 Bash Builtin Commands

- -

- -This section describes builtin commands which are unique to +The return status is zero unless a name is readonly. +

+
+ +
+ + + +

4.2 Bash Builtin Commands

+ +

This section describes builtin commands which are unique to or have been extended in Bash. -Some of these commands are specified in the POSIX standard. -

- -

- -
alias -
-
 
alias [-p] [name[=value] ...]
-

- -Without arguments or with the `-p' option, alias prints +Some of these commands are specified in the POSIX standard. +

+
+
alias
+
+
+
alias [-p] [name[=value] …]
+
+ +

Without arguments or with the -p option, alias prints the list of aliases on the standard output in a form that allows them to be reused as input. -If arguments are supplied, an alias is defined for each name -whose value is given. If no value is given, the name +If arguments are supplied, an alias is defined for each name +whose value is given. If no value is given, the name and value of the alias is printed. -Aliases are described in 6.6 Aliases. -

- -

bind -
-
 
bind [-m keymap] [-lpsvPSVX]
-bind [-m keymap] [-q function] [-u function] [-r keyseq]
-bind [-m keymap] -f filename
-bind [-m keymap] -x keyseq:shell-command
-bind [-m keymap] keyseq:function-name
-bind readline-command
-

- -Display current Readline (see section 8. Command Line Editing) +Aliases are described in Aliases. +

+
+
bind
+
+
+
bind [-m keymap] [-lpsvPSVX]
+bind [-m keymap] [-q function] [-u function] [-r keyseq]
+bind [-m keymap] -f filename
+bind [-m keymap] -x keyseq:shell-command
+bind [-m keymap] keyseq:function-name
+bind [-m keymap] keyseq:readline-command
+
+ +

Display current Readline (see Command Line Editing) key and function bindings, bind a key sequence to a Readline function or macro, or set a Readline variable. Each non-option argument is a command as it would appear in a -Readline initialization file (see section 8.3 Readline Init File), +Readline initialization file (see Readline Init File), but each binding or command must be passed as a separate argument; e.g., -`"\C-x\C-r":re-read-init-file'. -

- -Options, if supplied, have the following meanings: -

- -

-
-m keymap -
Use keymap as the keymap to be affected by -the subsequent bindings. Acceptable keymap +‘"\C-x\C-r":re-read-init-file’. +

+

Options, if supplied, have the following meanings: +

+
+
-m keymap
+

Use keymap as the keymap to be affected by +the subsequent bindings. Acceptable keymap names are -emacs, -emacs-standard, -emacs-meta, -emacs-ctlx, -vi, -vi-move, -vi-command, and -vi-insert. -vi is equivalent to vi-command; -emacs is equivalent to emacs-standard. -

- -

-l -
List the names of all Readline functions. -

- -

-p -
Display Readline function names and bindings in such a way that they +emacs, +emacs-standard, +emacs-meta, +emacs-ctlx, +vi, +vi-move, +vi-command, and +vi-insert. +vi is equivalent to vi-command (vi-move is also a +synonym); emacs is equivalent to emacs-standard. +

+
+
-l
+

List the names of all Readline functions. +

+
+
-p
+

Display Readline function names and bindings in such a way that they can be used as input or in a Readline initialization file. -

- -

-P -
List current Readline function names and bindings. -

- -

-v -
Display Readline variable names and values in such a way that they +

+
+
-P
+

List current Readline function names and bindings. +

+
+
-v
+

Display Readline variable names and values in such a way that they can be used as input or in a Readline initialization file. -

- -

-V -
List current Readline variable names and values. -

- -

-s -
Display Readline key sequences bound to macros and the strings they output +

+
+
-V
+

List current Readline variable names and values. +

+
+
-s
+

Display Readline key sequences bound to macros and the strings they output in such a way that they can be used as input or in a Readline initialization file. -

- -

-S -
Display Readline key sequences bound to macros and the strings they output. -

- -

-f filename -
Read key bindings from filename. -

- -

-q function -
Query about which keys invoke the named function. -

- -

-u function -
Unbind all keys bound to the named function. -

- -

-r keyseq -
Remove any current binding for keyseq. -

- -

-x keyseq:shell-command -
Cause shell-command to be executed whenever keyseq is +

+
+
-S
+

Display Readline key sequences bound to macros and the strings they output. +

+
+
-f filename
+

Read key bindings from filename. +

+
+
-q function
+

Query about which keys invoke the named function. +

+
+
-u function
+

Unbind all keys bound to the named function. +

+
+
-r keyseq
+

Remove any current binding for keyseq. +

+
+
-x keyseq:shell-command
+

Cause shell-command to be executed whenever keyseq is entered. -When shell-command is executed, the shell sets the -READLINE_LINE variable to the contents of the Readline line -buffer and the READLINE_POINT variable to the current location +When shell-command is executed, the shell sets the +READLINE_LINE variable to the contents of the Readline line +buffer and the READLINE_POINT variable to the current location of the insertion point. -If the executed command changes the value of READLINE_LINE or -READLINE_POINT, those new values will be reflected in the +If the executed command changes the value of READLINE_LINE or +READLINE_POINT, those new values will be reflected in the editing state. -

- -

-X -
List all key sequences bound to shell commands and the associated commands +

+
+
-X
+

List all key sequences bound to shell commands and the associated commands in a format that can be reused as input. -

-

+

+
-The return status is zero unless an invalid option is supplied or an +

The return status is zero unless an invalid option is supplied or an error occurs. -

- -

builtin -
-
 
builtin [shell-builtin [args]]
-

- -Run a shell builtin, passing it args, and return its exit status. +

+
+
builtin
+
+
+
builtin [shell-builtin [args]]
+
+ +

Run a shell builtin, passing it args, and return its exit status. This is useful when defining a shell function with the same name as a shell builtin, retaining the functionality of the builtin within the function. -The return status is non-zero if shell-builtin is not a shell +The return status is non-zero if shell-builtin is not a shell builtin command. -

- -

caller -
-
 
caller [expr]
-

- -Returns the context of any active subroutine call (a shell function or -a script executed with the . or source builtins). -

- -Without expr, caller displays the line number and source +

+
+
caller
+
+
+
caller [expr]
+
+ +

Returns the context of any active subroutine call (a shell function or +a script executed with the . or source builtins). +

+

Without expr, caller displays the line number and source filename of the current subroutine call. -If a non-negative integer is supplied as expr, caller +If a non-negative integer is supplied as expr, caller displays the line number, subroutine name, and source file corresponding to that position in the current execution call stack. This extra information may be used, for example, to print a stack trace. The current frame is frame 0. -

- -The return value is 0 unless the shell is not executing a subroutine -call or expr does not correspond to a valid position in the +

+

The return value is 0 unless the shell is not executing a subroutine +call or expr does not correspond to a valid position in the call stack. -

- -

command -
-
 
command [-pVv] command [arguments ...]
-

- -Runs command with arguments ignoring any shell function -named command. +

+
+
command
+
+
+
command [-pVv] command [arguments …]
+
+ +

Runs command with arguments ignoring any shell function +named command. Only shell builtin commands or commands found by searching the -PATH are executed. -If there is a shell function named ls, running `command ls' -within the function will execute the external command ls +PATH are executed. +If there is a shell function named ls, running ‘command ls’ +within the function will execute the external command ls instead of calling the function recursively. -The `-p' option means to use a default value for PATH +The -p option means to use a default value for PATH that is guaranteed to find all of the standard utilities. -The return status in this case is 127 if command cannot be -found or an error occurred, and the exit status of command +The return status in this case is 127 if command cannot be +found or an error occurred, and the exit status of command otherwise. -

- -If either the `-V' or `-v' option is supplied, a -description of command is printed. The `-v' option +

+

If either the -V or -v option is supplied, a +description of command is printed. The -v option causes a single word indicating the command or file name used to -invoke command to be displayed; the `-V' option produces +invoke command to be displayed; the -V option produces a more verbose description. In this case, the return status is -zero if command is found, and non-zero if not. -

- -

declare -
-
 
declare [-aAfFgilnrtux] [-p] [name[=value] ...]
-

- -Declare variables and give them attributes. If no names +zero if command is found, and non-zero if not. +

+
+
declare
+
+
+
declare [-aAfFgilnrtux] [-p] [name[=value] …]
+
+ +

Declare variables and give them attributes. If no names are given, then display the values of variables instead. -

- -The `-p' option will display the attributes and values of each -name. -When `-p' is used with name arguments, additional options, -other than `-f' and `-F', are ignored. -

- -When `-p' is supplied without name arguments, declare +

+

The -p option will display the attributes and values of each +name. +When -p is used with name arguments, additional options, +other than -f and -F, are ignored. +

+

When -p is supplied without name arguments, declare will display the attributes and values of all variables having the attributes specified by the additional options. -If no other options are supplied with `-p', declare will -display the attributes and values of all shell variables. The `-f' +If no other options are supplied with -p, declare will +display the attributes and values of all shell variables. The -f option will restrict the display to shell functions. -

- -The `-F' option inhibits the display of function definitions; +

+

The -F option inhibits the display of function definitions; only the function name and attributes are printed. -If the extdebug shell option is enabled using shopt -(see section 4.3.2 The Shopt Builtin), the source file name and line number where -the function is defined are displayed as well. -`-F' implies `-f'. -

- -The `-g' option forces variables to be created or modified at -the global scope, even when declare is executed in a shell function. +If the extdebug shell option is enabled using shopt +(see The Shopt Builtin), the source file name and line number where +each name is defined are displayed as well. +-F implies -f. +

+

The -g option forces variables to be created or modified at +the global scope, even when declare is executed in a shell function. It is ignored in all other cases. -

- -The following options can be used to restrict output to variables with +

+

The following options can be used to restrict output to variables with the specified attributes or to give variables attributes: -

- -

-
-a -
Each name is an indexed array variable (see section 6.7 Arrays). -

- -

-A -
Each name is an associative array variable (see section 6.7 Arrays). -

- -

-f -
Use function names only. -

- -

-i -
The variable is to be treated as -an integer; arithmetic evaluation (see section 6.5 Shell Arithmetic) is +

+
+
-a
+

Each name is an indexed array variable (see Arrays). +

+
+
-A
+

Each name is an associative array variable (see Arrays). +

+
+
-f
+

Use function names only. +

+
+
-i
+

The variable is to be treated as +an integer; arithmetic evaluation (see Shell Arithmetic) is performed when the variable is assigned a value. -

- -

-l -
When the variable is assigned a value, all upper-case characters are +

+
+
-l
+

When the variable is assigned a value, all upper-case characters are converted to lower-case. The upper-case attribute is disabled. -

- -

-n -
Give each name the nameref attribute, making +

+
+
-n
+

Give each name the nameref attribute, making it a name reference to another variable. -That other variable is defined by the value of name. -All references and assignments to name, except for changing the -`-n' attribute itself, are performed on the variable referenced by -name's value. -The `-n' attribute cannot be applied to array variables. -

- -

-r -
Make names readonly. These names cannot then be assigned values +That other variable is defined by the value of name. +All references, assignments, and attribute modifications +to name, except for those using or changing the +-n attribute itself, are performed on the variable referenced by +name’s value. +The nameref attribute cannot be applied to array variables. +

+
+
-r
+

Make names readonly. These names cannot then be assigned values by subsequent assignment statements or unset. -

- -

-t -
Give each name the trace attribute. -Traced functions inherit the DEBUG and RETURN traps from +

+
+
-t
+

Give each name the trace attribute. +Traced functions inherit the DEBUG and RETURN traps from the calling shell. The trace attribute has no special meaning for variables. -

- -

-u -
When the variable is assigned a value, all lower-case characters are +

+
+
-u
+

When the variable is assigned a value, all lower-case characters are converted to upper-case. The lower-case attribute is disabled. -

- -

-x -
Mark each name for export to subsequent commands via +

+
+
-x
+

Mark each name for export to subsequent commands via the environment. -

-

+

+
-Using `+' instead of `-' turns off the attribute instead, -with the exceptions that `+a' -may not be used to destroy an array variable and `+r' will not +

Using ‘+’ instead of ‘-’ turns off the attribute instead, +with the exceptions that ‘+a’ +may not be used to destroy an array variable and ‘+r’ will not remove the readonly attribute. -When used in a function, declare makes each name local, -as with the local command, unless the `-g' option is used. -If a variable name is followed by =value, the value of the variable -is set to value. -

- -When using `-a' or `-A' and the compound assignment syntax to +When used in a function, declare makes each name local, +as with the local command, unless the -g option is used. +If a variable name is followed by =value, the value of the variable +is set to value. +

+

When using -a or -A and the compound assignment syntax to create array variables, additional attributes do not take effect until subsequent assignments. -

- -The return status is zero unless an invalid option is encountered, -an attempt is made to define a function using `-f foo=bar', +

+

The return status is zero unless an invalid option is encountered, +an attempt is made to define a function using ‘-f foo=bar’, an attempt is made to assign a value to a readonly variable, an attempt is made to assign a value to an array variable without -using the compound assignment syntax (see section 6.7 Arrays), -one of the names is not a valid shell variable name, +using the compound assignment syntax (see Arrays), +one of the names is not a valid shell variable name, an attempt is made to turn off readonly status for a readonly variable, an attempt is made to turn off array status for an array variable, -or an attempt is made to display a non-existent function with `-f'. -

- -

echo -
-
 
echo [-neE] [arg ...]
-

- -Output the args, separated by spaces, terminated with a +or an attempt is made to display a non-existent function with -f. +

+
+
echo
+
+
+
echo [-neE] [arg …]
+
+ +

Output the args, separated by spaces, terminated with a newline. The return status is 0 unless a write error occurs. -If `-n' is specified, the trailing newline is suppressed. -If the `-e' option is given, interpretation of the following +If -n is specified, the trailing newline is suppressed. +If the -e option is given, interpretation of the following backslash-escaped characters is enabled. -The `-E' option disables the interpretation of these escape characters, +The -E option disables the interpretation of these escape characters, even on systems where they are interpreted by default. -The xpg_echo shell option may be used to -dynamically determine whether or not echo expands these +The xpg_echo shell option may be used to +dynamically determine whether or not echo expands these escape characters by default. -echo does not interpret `--' to mean the end of options. -

- -echo interprets the following escape sequences: -

-
\a -
alert (bell) -
\b -
backspace -
\c -
suppress further output -
\e -
\E -
escape -
\f -
form feed -
\n -
new line -
\r -
carriage return -
\t -
horizontal tab -
\v -
vertical tab -
\\ -
backslash -
\0nnn -
the eight-bit character whose value is the octal value nnn +echo does not interpret -- to mean the end of options. +

+

echo interprets the following escape sequences: +

+
\a
+

alert (bell) +

+
\b
+

backspace +

+
\c
+

suppress further output +

+
\e
+
\E
+

escape +

+
\f
+

form feed +

+
\n
+

new line +

+
\r
+

carriage return +

+
\t
+

horizontal tab +

+
\v
+

vertical tab +

+
\\
+

backslash +

+
\0nnn
+

the eight-bit character whose value is the octal value nnn (zero to three octal digits) -

\xHH -
the eight-bit character whose value is the hexadecimal value HH +

+
\xHH
+

the eight-bit character whose value is the hexadecimal value HH (one or two hex digits) -

\uHHHH -
the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value -HHHH (one to four hex digits) -
\UHHHHHHHH -
the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value -HHHHHHHH (one to eight hex digits) -
-

- -

enable -
-
 
enable [-a] [-dnps] [-f filename] [name ...]
-

- -Enable and disable builtin shell commands. +

+
\uHHHH
+

the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value +HHHH (one to four hex digits) +

+
\UHHHHHHHH
+

the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value +HHHHHHHH (one to eight hex digits) +

+
+ +
+
enable
+
+
+
enable [-a] [-dnps] [-f filename] [name …]
+
+ +

Enable and disable builtin shell commands. Disabling a builtin allows a disk command which has the same name as a shell builtin to be executed without specifying a full pathname, even though the shell normally searches for builtins before disk commands. -If `-n' is used, the names become disabled. Otherwise -names are enabled. For example, to use the test binary -found via $PATH instead of the shell builtin version, type -`enable -n test'. -

- -If the `-p' option is supplied, or no name arguments appear, +If -n is used, the names become disabled. Otherwise +names are enabled. For example, to use the test binary +found via $PATH instead of the shell builtin version, type +‘enable -n test’. +

+

If the -p option is supplied, or no name arguments appear, a list of shell builtins is printed. With no other arguments, the list consists of all enabled shell builtins. -The `-a' option means to list +The -a option means to list each builtin with an indication of whether or not it is enabled. -

- -The `-f' option means to load the new builtin command name -from shared object filename, on systems that support dynamic loading. -The `-d' option will delete a builtin loaded with `-f'. -

- -If there are no options, a list of the shell builtins is displayed. -The `-s' option restricts enable to the POSIX special -builtins. If `-s' is used with `-f', the new builtin becomes -a special builtin (see section 4.4 Special Builtins). -

- -The return status is zero unless a name is not a shell builtin +

+

The -f option means to load the new builtin command name +from shared object filename, on systems that support dynamic loading. +The -d option will delete a builtin loaded with -f. +

+

If there are no options, a list of the shell builtins is displayed. +The -s option restricts enable to the POSIX special +builtins. If -s is used with -f, the new builtin becomes +a special builtin (see Special Builtins). +

+

The return status is zero unless a name is not a shell builtin or there is an error loading a new builtin from a shared object. -

- -

help -
-
 
help [-dms] [pattern]
-

- -Display helpful information about builtin commands. -If pattern is specified, help gives detailed help -on all commands matching pattern, otherwise a list of +

+
+
help
+
+
+
help [-dms] [pattern]
+
+ +

Display helpful information about builtin commands. +If pattern is specified, help gives detailed help +on all commands matching pattern, otherwise a list of the builtins is printed. -

- -Options, if supplied, have the following meanings: -

- -

-
-d -
Display a short description of each pattern -
-m -
Display the description of each pattern in a manpage-like format -
-s -
Display only a short usage synopsis for each pattern -
-

- -The return status is zero unless no command matches pattern. -

- -

let -
-
 
let expression [expression ...]
-

- -The let builtin allows arithmetic to be performed on shell -variables. Each expression is evaluated according to the -rules given below in 6.5 Shell Arithmetic. If the -last expression evaluates to 0, let returns 1; +

+

Options, if supplied, have the following meanings: +

+
+
-d
+

Display a short description of each pattern +

+
-m
+

Display the description of each pattern in a manpage-like format +

+
-s
+

Display only a short usage synopsis for each pattern +

+
+ +

The return status is zero unless no command matches pattern. +

+
+
let
+
+
+
let expression [expression …]
+
+ +

The let builtin allows arithmetic to be performed on shell +variables. Each expression is evaluated according to the +rules given below in Shell Arithmetic. If the +last expression evaluates to 0, let returns 1; otherwise 0 is returned. -

- -

local -
-
 
local [option] name[=value] ...
-

- -For each argument, a local variable named name is created, -and assigned value. -The option can be any of the options accepted by declare. -local can only be used within a function; it makes the variable -name have a visible scope restricted to that function and its -children. The return status is zero unless local is used outside -a function, an invalid name is supplied, or name is a +

+
+
local
+
+
+
local [option] name[=value] …
+
+ +

For each argument, a local variable named name is created, +and assigned value. +The option can be any of the options accepted by declare. +local can only be used within a function; it makes the variable +name have a visible scope restricted to that function and its +children. +If name is ‘-’, the set of shell options is made local to the +function in which local is invoked: shell options changed using +the set builtin inside the function are restored to their original +values when the function returns. +The return status is zero unless local is used outside +a function, an invalid name is supplied, or name is a readonly variable. -

- -

logout -
-
 
logout [n]
-

- -Exit a login shell, returning a status of n to the shell's +

+
+
logout
+
+
+
logout [n]
+
+ +

Exit a login shell, returning a status of n to the shell’s parent. -

- -

mapfile -
-
 
mapfile [-n count] [-O origin] [-s count] [-t] [-u fd]
-    [-C callback] [-c quantum] [array]
-

- -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. +

+
+
mapfile
+
+
+
mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd]
+    [-C callback] [-c quantum] [array]
+
+ +

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, if supplied, have the following meanings: -

- -

- -
-n -
Copy at most count lines. If count is 0, all lines are copied. -
-O -
Begin assigning to array at index origin. +

+
+
-d
+

The first character of delim is used to terminate each input line, +rather than newline. +

+
-n
+

Copy at most count lines. If count is 0, all lines are copied. +

+
-O
+

Begin assigning to array at index origin. The default index is 0. -

-s -
Discard the first count lines read. -
-t -
Remove a trailing newline from each line read. -
-u -
Read lines from file descriptor fd instead of the standard input. -
-C -
Evaluate callback each time quantumP lines are read. -The `-c' option specifies quantum. -
-c -
Specify the number of lines read between each call to callback. -
-

- -If `-C' is specified without `-c', +

+
-s
+

Discard the first count lines read. +

+
-t
+

Remove a trailing delim (default newline) from each line read. +

+
-u
+

Read lines from file descriptor fd instead of the standard input. +

+
-C
+

Evaluate callback each time quantumP lines are read. +The -c option specifies quantum. +

+
-c
+

Specify the number of lines read between each call to callback. +

+
+ +

If -C is specified without -c, the default quantum is 5000. -When callback is evaluated, it is supplied the index of the next +When callback is evaluated, it is supplied the index of the next array element to be assigned and the line to be assigned to that element as additional arguments. -callback is evaluated after the line is read but before the +callback is evaluated after the line is read but before the array element is assigned. -

- -If not supplied with an explicit origin, mapfile will clear array +

+

If not supplied with an explicit origin, mapfile will clear array before assigning to it. -

- -mapfile returns successfully unless an invalid option or option -argument is supplied, array is invalid or unassignable, or array +

+

mapfile returns successfully unless an invalid option or option +argument is supplied, array is invalid or unassignable, or array is not an indexed array. -

- -

printf -
-
 
printf [-v var] format [arguments]
-

- -Write the formatted arguments to the standard output under the -control of the format. -The `-v' option causes the output to be assigned to the variable -var rather than being printed to the standard output. -

- -The format is a character string which contains three types of objects: +

+
+
printf
+
+
+
printf [-v var] format [arguments]
+
+ +

Write the formatted arguments to the standard output under the +control of the format. +The -v option causes the output to be assigned to the variable +var rather than being printed to the standard output. +

+

The 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 printf(1) formats, printf +argument. +In addition to the standard printf(1) formats, printf interprets the following extensions: -

- -

-
%b -
Causes printf to expand backslash escape sequences in the -corresponding argument, -except that `\c' terminates output, backslashes in -`\'', `\"', and `\?' are not removed, and octal escapes -beginning with `\0' may contain up to four digits. -
%q -
Causes printf to output the -corresponding argument in a format that can be reused as shell input. -
%(datefmt)T -
Causes printf to output the date-time string resulting from using -datefmt as a format string for strftime(3). -The corresponding argument is an integer representing the number of +

+
+
%b
+

Causes printf to expand backslash escape sequences in the +corresponding argument in the same way as echo -e +(see Bash Builtins). +

+
%q
+

Causes printf to output the +corresponding argument in a format that can be reused as shell input. +

+
%(datefmt)T
+

Causes printf to output the date-time string resulting from using +datefmt as a format string for strftime(3). +The corresponding argument is an integer representing the number of seconds since the epoch. Two special argument values may be used: -1 represents the current time, and -2 represents the time the shell was invoked. If no argument is specified, conversion behaves as if -1 had been given. -This is an exception to the usual printf behavior. -

-

+This is an exception to the usual printf behavior. +

+
-Arguments to non-string format specifiers are treated as C language constants, +

Arguments to non-string format specifiers are treated as C language constants, except that a leading plus or minus sign is allowed, and if the leading character is a single or double quote, the value is the ASCII value of the following character. -

- -The format is reused as necessary to consume all of the arguments. -If the format requires more arguments than are supplied, the +

+

The format is reused as necessary to consume all of the arguments. +If the format requires more arguments than are supplied, the extra format specifications behave as if a zero value or null string, as appropriate, had been supplied. The return value is zero on success, non-zero on failure. -

- -

read -
-
 
read [-ers] [-a aname] [-d delim] [-i text] [-n nchars]
-    [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...]
-

- -One line is read from the standard input, or from the file descriptor -fd supplied as an argument to the `-u' option, and the first word -is assigned to the first name, the second word to the second name, -and so on, with leftover words and their intervening separators assigned -to the last name. +

+
+
read
+
+
+
read [-ers] [-a aname] [-d delim] [-i text] [-n nchars]
+    [-N nchars] [-p prompt] [-t timeout] [-u fd] [name …]
+
+ +

One line is read from the standard input, or from the file descriptor +fd supplied as an argument to the -u option, +split into words as described above in Word Splitting, +and the first word +is assigned to the first name, the second word to the second name, +and so on. +If there are more words than names, +the remaining words and their intervening delimiters are assigned +to the last name. If there are fewer words read from the input stream than names, the remaining names are assigned empty values. -The characters in the value of the IFS variable +The characters in the value of the IFS variable are used to split the line into words using the same rules the shell -uses for expansion (described above in 3.5.7 Word Splitting). -The backslash character `\' may be used to remove any special +uses for expansion (described above in Word Splitting). +The backslash character ‘\’ may be used to remove any special meaning for the next character read and for line continuation. If no names are supplied, the line read is assigned to the -variable REPLY. -The return code is zero, unless end-of-file is encountered, read -times out (in which case the return code is greater than 128), +variable REPLY. +The exit status is zero, unless end-of-file is encountered, read +times out (in which case the status is greater than 128), a variable assignment error (such as assigning to a readonly variable) occurs, -or an invalid file descriptor is supplied as the argument to `-u'. -

- -Options, if supplied, have the following meanings: -

- -

-
-a aname -
The words are assigned to sequential indices of the array variable -aname, starting at 0. -All elements are removed from aname before the assignment. -Other name arguments are ignored. -

- -

-d delim -
The first character of delim is used to terminate the input line, +or an invalid file descriptor is supplied as the argument to -u. +

+

Options, if supplied, have the following meanings: +

+
+
-a aname
+

The words are assigned to sequential indices of the array variable +aname, starting at 0. +All elements are removed from aname before the assignment. +Other name arguments are ignored. +

+
+
-d delim
+

The first character of delim is used to terminate the input line, rather than newline. -

- -

-e -
Readline (see section 8. Command Line Editing) is used to obtain the line. +

+
+
-e
+

Readline (see Command Line Editing) is used to obtain the line. Readline uses the current (or default, if line editing was not previously active) editing settings. -

- -

-i text -
If Readline is being used to read the line, text is placed into +

+
+
-i text
+

If Readline is being used to read the line, text is placed into the editing buffer before editing begins. -

- -

-n nchars -
read returns after reading nchars characters rather than -waiting for a complete line of input, but honor a delimiter if fewer -than nchars characters are read before the delimiter. -

- -

-N nchars -
read returns after reading exactly nchars characters rather +

+
+
-n nchars
+

read returns after reading nchars characters rather than +waiting for a complete line of input, but honors a delimiter if fewer +than nchars characters are read before the delimiter. +

+
+
-N nchars
+

read returns after reading exactly nchars characters rather than waiting for a complete line of input, unless EOF is encountered or -read times out. +read times out. Delimiter characters encountered in the input are -not treated specially and do not cause read to return until -nchars characters are read. -

- -

-p prompt -
Display prompt, without a trailing newline, before attempting +not treated specially and do not cause read to return until +nchars characters are read. +The result is not split on the characters in IFS; the intent is +that the variable is assigned exactly the characters read +(with the exception of backslash; see the -r option below). +

+
+
-p prompt
+

Display prompt, without a trailing newline, before attempting to read any input. The prompt is displayed only if input is coming from a terminal. -

- -

-r -
If this option is given, backslash does not act as an escape character. +

+
+
-r
+

If this option is given, backslash does not act as an escape character. The backslash is considered to be part of the line. In particular, a backslash-newline pair may not be used as a line continuation. -

- -

-s -
Silent mode. If input is coming from a terminal, characters are +

+
+
-s
+

Silent mode. If input is coming from a terminal, characters are not echoed. -

- -

-t timeout -
Cause read to time out and return failure if a complete line of +

+
+
-t timeout
+

Cause read to time out and return failure if a complete line of input (or a specified number of characters) -is not read within timeout seconds. -timeout may be a decimal number with a fractional portion following +is not read within timeout seconds. +timeout may be a decimal number with a fractional portion following the decimal point. -This option is only effective if read is reading input from a +This option is only effective if read is reading input from a terminal, pipe, or other special file; it has no effect when reading from regular files. -If read times out, read saves any partial input read into -the specified variable name. -If timeout is 0, read returns immediately, without trying to +If read times out, read saves any partial input read into +the specified variable name. +If timeout is 0, read returns immediately, without trying to read and data. The exit status is 0 if input is available on the specified file descriptor, non-zero otherwise. The exit status is greater than 128 if the timeout is exceeded. -

- -

-u fd -
Read input from file descriptor fd. -
-

- -

readarray -
-
 
readarray [-n count] [-O origin] [-s count] [-t] [-u fd]
-    [-C callback] [-c quantum] [array]
-

- -Read lines from the standard input into the indexed array variable array, -or from file descriptor fd -if the `-u' option is supplied. -

- -A synonym for mapfile. -

- -

source -
-
 
source filename
-

- -A synonym for . (see section 4.1 Bourne Shell Builtins). -

- -

type -
-
 
type [-afptP] [name ...]
-

- -For each name, indicate how it would be interpreted if used as a +

+
+
-u fd
+

Read input from file descriptor fd. +

+
+ +
+
readarray
+
+
+
readarray [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd]
+    [-C callback] [-c quantum] [array]
+
+ +

Read lines from the standard input into the indexed array variable array, +or from file descriptor fd +if the -u option is supplied. +

+

A synonym for mapfile. +

+
+
source
+
+
+
source filename
+
+ +

A synonym for . (see Bourne Shell Builtins). +

+
+
type
+
+
+
type [-afptP] [name …]
+
+ +

For each name, indicate how it would be interpreted if used as a command name. -

- -If the `-t' option is used, type prints a single word -which is one of `alias', `function', `builtin', -`file' or `keyword', -if name is an alias, shell function, shell builtin, +

+

If the -t option is used, type prints a single word +which is one of ‘alias’, ‘function’, ‘builtin’, +‘file’ or ‘keyword’, +if name is an alias, shell function, shell builtin, disk file, or shell reserved word, respectively. -If the name is not found, then nothing is printed, and -type returns a failure status. -

- -If the `-p' option is used, type either returns the name -of the disk file that would be executed, or nothing if `-t' -would not return `file'. -

- -The `-P' option forces a path search for each name, even if -`-t' would not return `file'. -

- -If a command is hashed, `-p' and `-P' print the hashed value, -which is not necessarily the file that appears first in $PATH. -

- -If the `-a' option is used, type returns all of the places -that contain an executable named file. -This includes aliases and functions, if and only if the `-p' option +If the name is not found, then nothing is printed, and +type returns a failure status. +

+

If the -p option is used, type either returns the name +of the disk file that would be executed, or nothing if -t +would not return ‘file’. +

+

The -P option forces a path search for each name, even if +-t would not return ‘file’. +

+

If a command is hashed, -p and -P print the hashed value, +which is not necessarily the file that appears first in $PATH. +

+

If the -a option is used, type returns all of the places +that contain an executable named file. +This includes aliases and functions, if and only if the -p option is not also used. -

- -If the `-f' option is used, type does not attempt to find -shell functions, as with the command builtin. -

- -The return status is zero if all of the names are found, non-zero +

+

If the -f option is used, type does not attempt to find +shell functions, as with the command builtin. +

+

The return status is zero if all of the names are found, non-zero if any are not found. -

- -

typeset -
-
 
typeset [-afFgrxilnrtux] [-p] [name[=value] ...]
-

- -The typeset command is supplied for compatibility with the Korn +

+
+
typeset
+
+
+
typeset [-afFgrxilnrtux] [-p] [name[=value] …]
+
+ +

The typeset command is supplied for compatibility with the Korn shell. -It is a synonym for the declare builtin command. -

- -

ulimit -
-
 
ulimit [-abcdefilmnpqrstuvxHST] [limit]
-

- -ulimit provides control over the resources available to processes +It is a synonym for the declare builtin command. +

+
+
ulimit
+
+
+
ulimit [-HSabcdefiklmnpqrstuvxPT] [limit]
+
+ +

ulimit provides control over the resources available to processes started by the shell, on systems that allow such control. If an option is given, it is interpreted as follows: -

- -

-
-S -
Change and report the soft limit associated with a resource. -

- -

-H -
Change and report the hard limit associated with a resource. -

- -

-a -
All current limits are reported. -

- -

-b -
The maximum 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. -

- -

-l -
The maximum size that may be locked into memory. -

- -

-m -
The maximum resident set size (many systems do not honor this limit). -

- -

-n -
The maximum number of open file descriptors (most systems do not +

+
+
-S
+

Change and report the soft limit associated with a resource. +

+
+
-H
+

Change and report the hard limit associated with a resource. +

+
+
-a
+

All current limits are reported. +

+
+
-b
+

The maximum 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 that may be allocated. +

+
+
-l
+

The maximum size that may be locked into memory. +

+
+
-m
+

The maximum resident set size (many systems do not honor this limit). +

+
+
-n
+

The maximum number of open file descriptors (most systems do not allow this value to be set). -

- -

-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 processes available to a single user. -

- -

-v -
The maximum amount of virtual memory available to the shell, and, on +

+
+
-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 processes available to a single user. +

+
+
-v
+

The maximum amount of virtual memory available to the shell, and, on some systems, to its children. -

- -

-x -
The maximum number of file locks. -

- -

-T -
The maximum number of threads. -
-

- -If limit is given, and the `-a' option is not used, -limit is the new value of the specified resource. -The special limit values hard, soft, and -unlimited stand for the current hard limit, the current soft limit, +

+
+
-x
+

The maximum number of file locks. +

+
+
-P
+

The maximum number of pseudoterminals. +

+
+
-T
+

The maximum number of threads. +

+
+ +

If limit is given, and the -a option is not used, +limit is the new value of the specified resource. +The special limit values hard, soft, and +unlimited stand for the current hard limit, the current soft limit, and no limit, respectively. A hard limit cannot be increased by a non-root user once it is set; a soft limit may be increased up to the value of the hard limit. Otherwise, the current value of the soft limit for the specified resource -is printed, unless the `-H' option is supplied. -When setting new limits, if neither `-H' nor `-S' is supplied, +is printed, unless the -H option is supplied. +When setting new limits, if neither -H nor -S is supplied, both the hard and soft limits are set. -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 units of 512-byte blocks; and `-T', `-b', -`-n' and `-u', which are unscaled values. -

- -The return status is zero unless an invalid option or argument is supplied, +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 units of 512-byte blocks; +-P, +-T, +-b, +-k, +-n and -u, which are unscaled values; +and, when in POSIX Mode (see Bash POSIX Mode), +-c and -f, which are in 512-byte increments. +

+

The return status is zero unless an invalid option or argument is supplied, or an error occurs while setting a new limit. -

- -

unalias -
-
 
unalias [-a] [name ... ]
-

- -Remove each name from the list of aliases. If `-a' is +

+
+
unalias
+
+
+
unalias [-a] [name … ]
+
+ +

Remove each name from the list of aliases. If -a is supplied, all aliases are removed. -Aliases are described in 6.6 Aliases. -

-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

4.3 Modifying Shell Behavior

- +Aliases are described in Aliases. +

+
+ +
+ + + +

4.3 Modifying Shell Behavior

-
- - -
4.3.1 The Set Builtin  Change the values of shell attributes and - positional parameters.
4.3.2 The Shopt Builtin  Modify shell optional behavior.
-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

4.3.1 The Set Builtin

- -

- -This builtin is so complicated that it deserves its own section. set + + + + + +


+ + + +

4.3.1 The Set Builtin

+ +

This builtin is so complicated that it deserves its own section. set allows you to change the values of shell options and set the positional parameters, or to display the names and values of shell variables. -

- -

-
set -
-
 
set [--abefhkmnptuvxBCEHPT] [-o option-name] [argument ...]
-set [+abefhkmnptuvxBCEHPT] [+o option-name] [argument ...]
-

- -If no options or arguments are supplied, set displays the names +

+
+
set
+
+
+
set [--abefhkmnptuvxBCEHPT] [-o option-name] [argument …]
+set [+abefhkmnptuvxBCEHPT] [+o option-name] [argument …]
+
+ +

If no options or arguments are supplied, set displays the names and values of all shell variables and functions, sorted according to the current locale, in a format that may be reused as input for setting or resetting the currently-set variables. Read-only variables cannot be reset. -In POSIX mode, only shell variables are listed. -

- -When options are supplied, they set or unset shell attributes. +In POSIX mode, only shell variables are listed. +

+

When options are supplied, they set or unset shell attributes. Options, if specified, have the following meanings: -

- -

-
-a -
Mark variables and function which are modified or created for export -to the environment of subsequent commands. -

- -

-b -
Cause the status of terminated background jobs to be reported +

+
+
-a
+

Each variable or function that is created or modified is given the +export attribute and marked for export to the environment of +subsequent commands. +

+
+
-b
+

Cause the status of terminated background jobs to be reported immediately, rather than before printing the next primary prompt. -

- -

-e -
Exit immediately if -a pipeline (see section 3.2.2 Pipelines), which may consist of a single simple command -(see section 3.2.1 Simple Commands), -a list (see section 3.2.3 Lists of Commands), -or a compound command (see section 3.2.4 Compound Commands) +

+
+
-e
+

Exit immediately if +a pipeline (see Pipelines), which may consist of a single simple command +(see Simple Commands), +a list (see Lists), +or a compound command (see Compound Commands) returns a non-zero status. The shell does not exit if the command that fails is part of the -command list immediately following a while or until keyword, -part of the test in an if statement, -part of any command executed in a && or || list except -the command following the final && or ||, +command list immediately following a while or until keyword, +part of the test in an if statement, +part of any command executed in a && or || list except +the command following the final && or ||, any command in a pipeline but the last, -or if the command's return status is being inverted with !. +or if the command’s return status is being inverted with !. If a compound command other than a subshell returns a non-zero status because a command failed -while `-e' was being ignored, the shell does not exit. -A trap on ERR, if set, is executed before the shell exits. -

- -This option applies to the shell environment and each subshell environment -separately (see section 3.7.3 Command Execution Environment), and may cause +while -e was being ignored, the shell does not exit. +A trap on ERR, if set, is executed before the shell exits. +

+

This option applies to the shell environment and each subshell environment +separately (see Command Execution Environment), and may cause subshells to exit before executing all the commands in the subshell. -

- -If a compound command or shell function executes in a context where -`-e' is being ignored, +

+

If a compound command or shell function executes in a context where +-e is being ignored, none of the commands executed within the compound command or function body -will be affected by the `-e' setting, even if `-e' is set +will be affected by the -e setting, even if -e is set and a command returns a failure status. -If a compound command or shell function sets `-e' while executing in -a context where `-e' is ignored, that setting will not have any +If a compound command or shell function sets -e while executing in +a context where -e is ignored, that setting will not have any effect until the compound command or the command containing the function call completes. -

- -

-f -
Disable filename expansion (globbing). -

- -

-h -
Locate and remember (hash) commands as they are looked up for execution. +

+
+
-f
+

Disable filename expansion (globbing). +

+
+
-h
+

Locate and remember (hash) commands as they are looked up for execution. This option is enabled by default. -

- -

-k -
All arguments in the form of assignment statements are placed +

+
+
-k
+

All arguments in the form of assignment statements are placed in the environment for a command, not just those that precede the command name. -

- -

-m -
Job control is enabled (see section 7. Job Control). +

+
+
-m
+

Job control is enabled (see Job Control). All processes run in a separate process group. When a background job completes, the shell prints a line containing its exit status. -

- -

-n -
Read commands but do not execute them; this may be used to check a -script for syntax errors. +

+
+
-n
+

Read commands but do not execute them. +This may be used to check a script for syntax errors. This option is ignored by interactive shells. -

- -

-o option-name -

- -Set the option corresponding to option-name: -

- -

-
allexport -
Same as -a. -

- -

braceexpand -
Same as -B. -

- -

emacs -
Use an emacs-style line editing interface (see section 8. Command Line Editing). -This also affects the editing interface used for read -e. -

- -

errexit -
Same as -e. -

- -

errtrace -
Same as -E. -

- -

functrace -
Same as -T. -

- -

hashall -
Same as -h. -

- -

histexpand -
Same as -H. -

- -

history -
Enable command history, as described in 9.1 Bash History Facilities. +

+
+
-o option-name
+
+

Set the option corresponding to option-name: +

+
+
allexport
+

Same as -a. +

+
+
braceexpand
+

Same as -B. +

+
+
emacs
+

Use an emacs-style line editing interface (see Command Line Editing). +This also affects the editing interface used for read -e. +

+
+
errexit
+

Same as -e. +

+
+
errtrace
+

Same as -E. +

+
+
functrace
+

Same as -T. +

+
+
hashall
+

Same as -h. +

+
+
histexpand
+

Same as -H. +

+
+
history
+

Enable command history, as described in Bash History Facilities. This option is on by default in interactive shells. -

- -

ignoreeof -
An interactive shell will not exit upon reading EOF. -

- -

keyword -
Same as -k. -

- -

monitor -
Same as -m. -

- -

noclobber -
Same as -C. -

- -

noexec -
Same as -n. -

- -

noglob -
Same as -f. -

- -

nolog -
Currently ignored. -

- -

notify -
Same as -b. -

- -

nounset -
Same as -u. -

- -

onecmd -
Same as -t. -

- -

physical -
Same as -P. -

- -

pipefail -
If set, the return value of a pipeline is the value of the last +

+
+
ignoreeof
+

An interactive shell will not exit upon reading EOF. +

+
+
keyword
+

Same as -k. +

+
+
monitor
+

Same as -m. +

+
+
noclobber
+

Same as -C. +

+
+
noexec
+

Same as -n. +

+
+
noglob
+

Same as -f. +

+
+
nolog
+

Currently ignored. +

+
+
notify
+

Same as -b. +

+
+
nounset
+

Same as -u. +

+
+
onecmd
+

Same as -t. +

+
+
physical
+

Same as -P. +

+
+
pipefail
+

If set, the return value of a pipeline is the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands in the pipeline exit successfully. This option is disabled by default. -

- -

posix -
Change the behavior of Bash where the default operation differs -from the POSIX standard to match the standard -(see section 6.11 Bash POSIX Mode). +

+
+
posix
+

Change the behavior of Bash where the default operation differs +from the POSIX standard to match the standard +(see Bash POSIX Mode). This is intended to make Bash behave as a strict superset of that standard. -

- -

privileged -
Same as -p. -

- -

verbose -
Same as -v. -

- -

vi -
Use a vi-style line editing interface. -This also affects the editing interface used for read -e. -

- -

xtrace -
Same as -x. -
-

- -

-p -
Turn on privileged mode. -In this mode, the $BASH_ENV and $ENV files are not +

+
+
privileged
+

Same as -p. +

+
+
verbose
+

Same as -v. +

+
+
vi
+

Use a vi-style line editing interface. +This also affects the editing interface used for read -e. +

+
+
xtrace
+

Same as -x. +

+
+ +
+
-p
+

Turn on privileged mode. +In this mode, the $BASH_ENV and $ENV files are not processed, shell functions are not inherited from the environment, -and the SHELLOPTS, BASHOPTS, CDPATH and GLOBIGNORE +and the SHELLOPTS, BASHOPTS, CDPATH and GLOBIGNORE variables, if they appear in the environment, are ignored. If the shell is started with the effective user (group) id not equal to the -real user (group) id, and the `-p' option is not supplied, these actions +real user (group) id, and the -p option is not supplied, these actions are taken and the effective user id is set to the real user id. -If the `-p' option is supplied at startup, the effective user id is +If the -p option is supplied at startup, the effective user id is not reset. Turning this option off causes the effective user and group ids to be set to the real user and group ids. -

- -

-t -
Exit after reading and executing one command. -

- -

-u -
Treat unset variables and parameters other than the special parameters -`@' or `*' as an error when performing parameter expansion. +

+
+
-t
+

Exit after reading and executing one command. +

+
+
-u
+

Treat unset variables and parameters other than the special parameters +‘@’ or ‘*’ as an error when performing parameter expansion. An error message will be written to the standard error, and a non-interactive shell will exit. -

- -

-v -
Print shell input lines as they are read. -

- -

-x -
Print a trace of simple commands, for commands, case -commands, select commands, and arithmetic for commands +

+
+
-v
+

Print shell input lines as they are read. +

+
+
-x
+

Print a trace of simple commands, for commands, case +commands, select commands, and arithmetic for commands and their arguments or associated word lists after they are -expanded and before they are executed. The value of the PS4 +expanded and before they are executed. The value of the PS4 variable is expanded and the resultant value is printed before the command and its expanded arguments. -

- -

-B -
The shell will perform brace expansion (see section 3.5.1 Brace Expansion). +

+
+
-B
+

The shell will perform brace expansion (see Brace Expansion). This option is on by default. -

- -

-C -
Prevent output redirection using `>', `>&', and `<>' +

+
+
-C
+

Prevent output redirection using ‘>’, ‘>&’, and ‘<>’ from overwriting existing files. -

- -

-E -
If set, any trap on ERR is inherited by shell functions, command +

+
+
-E
+

If set, any trap on ERR is inherited by shell functions, command substitutions, and commands executed in a subshell environment. -The ERR trap is normally not inherited in such cases. -

- -

-H -
Enable `!' style history substitution (see section 9.3 History Expansion). +The ERR trap is normally not inherited in such cases. +

+
+
-H
+

Enable ‘!’ style history substitution (see History Interaction). This option is on by default for interactive shells. -

- -

-P -
If set, do not resolve symbolic links when performing commands such as -cd which change the current directory. The physical directory +

+
+
-P
+

If set, do not resolve symbolic links when performing commands such as +cd which change the current directory. The physical directory is used instead. By default, Bash follows the logical chain of directories when performing commands which change the current directory. -

- -For example, if `/usr/sys' is a symbolic link to `/usr/local/sys' +

+

For example, if /usr/sys is a symbolic link to /usr/local/sys then: -
 
$ cd /usr/sys; echo $PWD
+

+
$ cd /usr/sys; echo $PWD
 /usr/sys
 $ cd ..; pwd
 /usr
-

+ -If set -P is on, then: -
 
$ cd /usr/sys; echo $PWD
+

If set -P is on, then: +

+
$ cd /usr/sys; echo $PWD
 /usr/local/sys
 $ cd ..; pwd
 /usr/local
-

+ -

-T -
If set, any trap on DEBUG and RETURN are inherited by +
+
-T
+

If set, any trap on DEBUG and RETURN are inherited by shell functions, command substitutions, and commands executed in a subshell environment. -The DEBUG and RETURN traps are normally not inherited +The DEBUG and RETURN traps are normally not inherited in such cases. -

- -

-- -
If no arguments follow this option, then the positional parameters are +

+
+
--
+

If no arguments follow this option, then the positional parameters are unset. Otherwise, the positional parameters are set to the -arguments, even if some of them begin with a `-'. -

- -

- -
Signal the end of options, cause all remaining arguments -to be assigned to the positional parameters. The `-x' -and `-v' options are turned off. +arguments, even if some of them begin with a ‘-’. +

+
+
-
+

Signal the end of options, cause all remaining arguments +to be assigned to the positional parameters. The -x +and -v options are turned off. If there are no arguments, the positional parameters remain unchanged. -

-

+

+
-Using `+' rather than `-' causes these options to be +

Using ‘+’ rather than ‘-’ causes these options to be turned off. The options can also be used upon invocation of the -shell. The current set of options may be found in $-. -

- -The remaining N arguments are positional parameters and are -assigned, in order, to $1, $2, ... $N. -The special parameter # is set to N. -

- -The return status is always zero unless an invalid option is supplied. -

-

- - -


- - - - - - - - - - - -
[ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
-

4.3.2 The Shopt Builtin

- -

- -This builtin allows you to change additional shell optional behavior. -

- -

- -
shopt -
-
 
shopt [-pqsu] [-o] [optname ...]
-

- -Toggle the values of settings controlling optional shell behavior. +shell. The current set of options may be found in $-. +

+

The remaining N arguments are positional parameters and are +assigned, in order, to $1, $2, … $N. +The special parameter # is set to N. +

+

The return status is always zero unless an invalid option is supplied. +

+
+ +
+ + + +

4.3.2 The Shopt Builtin

+ +

This builtin allows you to change additional shell optional behavior. +

+
+
shopt
+
+
+
shopt [-pqsu] [-o] [optname …]
+
+ +

Toggle the values of settings controlling optional shell behavior. The settings can be either those listed below, or, if the -`-o' option is used, those available with the `-o' -option to the set builtin command (see section 4.3.1 The Set Builtin). -With no options, or with the `-p' option, a list of all settable +-o option is used, those available with the -o +option to the set builtin command (see The Set Builtin). +With no options, or with the -p option, a list of all settable options is displayed, with an indication of whether or not each is set. -The `-p' option causes output to be displayed in a form that +The -p option causes output to be displayed in a form that may be reused as input. Other options have the following meanings: -

- -

-
-s -
Enable (set) each optname. -

- -

-u -
Disable (unset) each optname. -

- -

-q -
Suppresses normal output; the return status -indicates whether the optname is set or unset. -If multiple optname arguments are given with `-q', -the return status is zero if all optnames are enabled; +

+
+
-s
+

Enable (set) each optname. +

+
+
-u
+

Disable (unset) each optname. +

+
+
-q
+

Suppresses normal output; the return status +indicates whether the optname is set or unset. +If multiple optname arguments are given with -q, +the return status is zero if all optnames are enabled; non-zero otherwise. -

- -

-o -
Restricts the values of -optname to be those defined for the `-o' option to the -set builtin (see section 4.3.1 The Set Builtin). -
-

- -If either `-s' or `-u' -is used with no optname arguments, shopt shows only +

+
+
-o
+

Restricts the values of +optname to be those defined for the -o option to the +set builtin (see The Set Builtin). +

+
+ +

If either -s or -u +is used with no optname arguments, shopt shows only those options which are set or unset, respectively. -

- -Unless otherwise noted, the shopt options are disabled (off) +

+

Unless otherwise noted, the shopt options are disabled (off) by default. -

- -The return status when listing options is zero if all optnames +

+

The return status when listing options is zero if all optnames are enabled, non-zero otherwise. When setting or unsetting options, -the return status is zero unless an optname is not a valid shell +the return status is zero unless an optname is not a valid shell option. -

- -The list of shopt options is: -

- -
autocd -
If set, a command name that is the name of a directory is executed as if -it were the argument to the cd command. +

+

The list of shopt options is: +

+
autocd
+

If set, a command name that is the name of a directory is executed as if +it were the argument to the cd command. This option is only used by interactive shells. -

- -

cdable_vars -
If this is set, an argument to the cd builtin command that +

+
+
cdable_vars
+

If this is set, an argument to the cd builtin command that is not a directory is assumed to be the name of a variable whose value is the directory to change to. -

- -

cdspell -
If set, minor errors in the spelling of a directory component in a -cd command will be corrected. +

+
+
cdspell
+

If set, minor errors in the spelling of a directory component in a +cd command will be corrected. The errors checked for are transposed characters, a missing character, and a character too many. If a correction is found, the corrected path is printed, and the command proceeds. This option is only used by interactive shells. -

- -

checkhash -
If this is set, Bash checks that a command found in the hash +

+
+
checkhash
+

If this is set, Bash checks that a command found in the hash table exists before trying to execute it. If a hashed command no longer exists, a normal path search is performed. -

- -

checkjobs -
If set, Bash lists the status of any stopped and running jobs before +

+
+
checkjobs
+

If set, Bash lists the status of any stopped and running jobs before exiting an interactive shell. If any jobs are running, this causes the exit to be deferred until a second exit is attempted without an -intervening command (see section 7. Job Control). +intervening command (see Job Control). The shell always postpones exiting if any jobs are stopped. -

- -

checkwinsize -
If set, Bash checks the window size after each command +

+
+
checkwinsize
+

If set, Bash checks the window size after each command and, if necessary, updates the values of -LINES and COLUMNS. -

- -

cmdhist -
If set, Bash +LINES and COLUMNS. +

+
+
cmdhist
+

If set, Bash attempts to save all lines of a multiple-line command in the same history entry. This allows easy re-editing of multi-line commands. -

- -

compat31 -
If set, Bash +

+
+
compat31
+

If set, Bash changes its behavior to that of version 3.1 with respect to quoted -arguments to the conditional command's `=~' operator +arguments to the conditional command’s ‘=~’ operator and with respect to locale-specific -string comparison when using the [[ -conditional command's `<' and `>' operators. +string comparison when using the [[ +conditional command’s ‘<’ and ‘>’ operators. Bash versions prior to bash-4.1 use ASCII collation and strcmp(3); -bash-4.1 and later use the current locale's collation sequence and strcoll(3). -

- -

compat32 -
If set, Bash +bash-4.1 and later use the current locale’s collation sequence and strcoll(3). +

+
+
compat32
+

If set, Bash changes its behavior to that of version 3.2 with respect to locale-specific -string comparison when using the [[ -conditional command's `<' and `>' operators (see previous item). -

- -

compat40 -
If set, Bash +string comparison when using the [[ +conditional command’s ‘<’ and ‘>’ operators (see previous item) +and the effect of interrupting a command list. +Bash versions 3.2 and earlier continue with the next command in the list +after one terminates due to an interrupt. +

+
+
compat40
+

If set, Bash changes its behavior to that of version 4.0 with respect to locale-specific -string comparison when using the [[ -conditional command's `<' and `>' operators (see description -of compat31) +string comparison when using the [[ +conditional command’s ‘<’ and ‘>’ operators (see description +of compat31) and the effect of interrupting a command list. Bash versions 4.0 and later interrupt the list as if the shell received the interrupt; previous versions continue with the next command in the list. -

- -

compat41 -
If set, Bash, when in POSIX mode, treats a single quote in a double-quoted +

+
+
compat41
+

If set, Bash, when in POSIX mode, treats a single quote in a double-quoted parameter expansion as a special character. The single quotes must match (an even number) and the characters between the single quotes are considered -quoted. This is the behavior of POSIX mode through version 4.1. +quoted. This is the behavior of POSIX mode through version 4.1. The default Bash behavior remains as in previous versions. -

- -

compat42 -
If set, Bash +

+
+
compat42
+

If set, Bash does not process the replacement string in the pattern substitution word expansion using quote removal. -

- -

complete_fullquote -
If set, Bash +

+
+
compat43
+

If set, Bash +does not print a warning message if an attempt is made to use a quoted compound +array assignment as an argument to declare, +makes word expansion errors +non-fatal errors that cause the current command to fail (the default behavior is +to make them fatal errors that cause the shell to exit), +and does not reset the +loop state when a shell function is executed (this allows break or +continue in a shell function to affect loops in the caller’s context). +

+
+
complete_fullquote
+

If set, Bash quotes all shell metacharacters in filenames and directory names when performing completion. If not set, Bash @@ -6324,966 +5982,949 @@ This is active only when bash is using backslashes to quote completed filenames. This variable is set by default, which is the default Bash behavior in versions through 4.2. -

- -

direxpand -
If set, Bash +

+
+
direxpand
+

If set, Bash replaces directory names with the results of word expansion when performing filename completion. This changes the contents of the readline editing buffer. If not set, Bash attempts to preserve what the user typed. -

- -

dirspell -
If set, Bash +

+
+
dirspell
+

If set, Bash attempts spelling correction on directory names during word completion if the directory name initially supplied does not exist. -

- -

dotglob -
If set, Bash includes filenames beginning with a `.' in +

+
+
dotglob
+

If set, Bash includes filenames beginning with a ‘.’ in the results of filename expansion. -

- -

execfail -
If this is set, a non-interactive shell will not exit if -it cannot execute the file specified as an argument to the exec -builtin command. An interactive shell does not exit if exec +

+
+
execfail
+

If this is set, a non-interactive shell will not exit if +it cannot execute the file specified as an argument to the exec +builtin command. An interactive shell does not exit if exec fails. -

- -

expand_aliases -
If set, aliases are expanded as described below under Aliases, -6.6 Aliases. +

+
+
expand_aliases
+

If set, aliases are expanded as described below under Aliases, +Aliases. This option is enabled by default for interactive shells. -

- -

extdebug -
If set, behavior intended for use by debuggers is enabled: -

- -

    -
  1. -The `-F' option to the declare builtin (see section 4.2 Bash Builtin Commands) +

    +
+
extdebug
+

If set at shell invocation, arrange to execute the debugger profile +before the shell starts, identical to the --debugger option. +If set after invocation, behavior intended for use by debuggers is enabled: +

+
    +
  1. The -F option to the declare builtin (see Bash Builtins) displays the source file name and line number corresponding to each function name supplied as an argument. -

    -

  2. -If the command run by the DEBUG trap returns a non-zero value, the +
  3. If the command run by the DEBUG trap returns a non-zero value, the next command is skipped and not executed. -

    -

  4. -If the command run by the DEBUG trap returns a value of 2, and the +
  5. If the command run by the DEBUG trap returns a value of 2, and the shell is executing in a subroutine (a shell function or a shell script -executed by the . or source builtins), a call to -return is simulated. -

    - -

  6. -BASH_ARGC and BASH_ARGV are updated as described in their -descriptions (see section 5.2 Bash Variables). -

    - -

  7. -Function tracing is enabled: command substitution, shell functions, and -subshells invoked with ( command ) inherit the -DEBUG and RETURN traps. -

    - -

  8. -Error tracing is enabled: command substitution, shell functions, and -subshells invoked with ( command ) inherit the -ERR trap. -
-

- -

extglob -
If set, the extended pattern matching features described above -(see section 3.5.8.1 Pattern Matching) are enabled. -

- -

extquote -
If set, $'string' and $"string" quoting is -performed within ${parameter} expansions +executed by the . or source builtins), the shell simulates +a call to return. + +
  • BASH_ARGC and BASH_ARGV are updated as described in their +descriptions (see Bash Variables). + +
  • Function tracing is enabled: command substitution, shell functions, and +subshells invoked with ( command ) inherit the +DEBUG and RETURN traps. + +
  • Error tracing is enabled: command substitution, shell functions, and +subshells invoked with ( command ) inherit the +ERR trap. +
  • + +
    +
    extglob
    +

    If set, the extended pattern matching features described above +(see Pattern Matching) are enabled. +

    +
    +
    extquote
    +

    If set, $'string' and $"string" quoting is +performed within ${parameter} expansions enclosed in double quotes. This option is enabled by default. -

    - -

    failglob -
    If set, patterns which fail to match filenames during filename expansion +

    +
    +
    failglob
    +

    If set, patterns which fail to match filenames during filename expansion result in an expansion error. -

    - -

    force_fignore -
    If set, the suffixes specified by the FIGNORE shell variable +

    +
    +
    force_fignore
    +

    If set, the suffixes specified by the FIGNORE shell variable cause words to be ignored when performing word completion even if the ignored words are the only possible completions. -See section 5.2 Bash Variables, for a description of FIGNORE. +See Bash Variables, for a description of FIGNORE. This option is enabled by default. -

    - -

    globasciiranges -
    If set, range expressions used in pattern matching bracket expressions -(see section 3.5.8.1 Pattern Matching) +

    +
    +
    globasciiranges
    +

    If set, range expressions used in pattern matching bracket expressions +(see Pattern Matching) behave as if in the traditional C locale when performing -comparisons. That is, the current locale's collating sequence +comparisons. That is, the current locale’s collating sequence is not taken into account, so -`b' will not collate between `A' and `B', +‘b’ will not collate between ‘A’ and ‘B’, and upper-case and lower-case ASCII characters will collate together. -

    - -

    globstar -
    If set, the pattern `**' used in a filename expansion context will +

    +
    +
    globstar
    +

    If set, the pattern ‘**’ used in a filename expansion context will match all files and zero or more directories and subdirectories. -If the pattern is followed by a `/', only directories and +If the pattern is followed by a ‘/’, only directories and subdirectories match. -

    - -

    gnu_errfmt -
    If set, shell error messages are written in the standard GNU error +

    +
    +
    gnu_errfmt
    +

    If set, shell error messages are written in the standard GNU error message format. -

    - -

    histappend -
    If set, the history list is appended to the file named by the value -of the HISTFILE +

    +
    +
    histappend
    +

    If set, the history list is appended to the file named by the value +of the HISTFILE variable when the shell exits, rather than overwriting the file. -

    - -

    histreedit -
    If set, and Readline +

    +
    +
    histreedit
    +

    If set, and Readline is being used, a user is given the opportunity to re-edit a failed history substitution. -

    - -

    histverify -
    If set, and Readline +

    +
    +
    histverify
    +

    If set, and Readline is being used, the results of history substitution are not immediately passed to the shell parser. Instead, the resulting line is loaded into the Readline editing buffer, allowing further modification. -

    - -

    hostcomplete -
    If set, and Readline is being used, Bash will attempt to perform -hostname completion when a word containing a `@' is being -completed (see section 8.4.6 Letting Readline Type For You). This option is enabled +

    +
    +
    hostcomplete
    +

    If set, and Readline is being used, Bash will attempt to perform +hostname completion when a word containing a ‘@’ is being +completed (see Commands For Completion). This option is enabled by default. -

    - -

    huponexit -
    If set, Bash will send SIGHUP to all jobs when an interactive -login shell exits (see section 3.7.6 Signals). -

    - -

    interactive_comments -
    Allow a word beginning with `#' +

    +
    +
    huponexit
    +

    If set, Bash will send SIGHUP to all jobs when an interactive +login shell exits (see Signals). +

    +
    +
    inherit_errexit
    +

    If set, command substitution inherits the value of the errexit option, +instead of unsetting it in the subshell environment. +This option is enabled when POSIX mode is enabled. +

    +
    +
    interactive_comments
    +

    Allow a word beginning with ‘#’ to cause that word and all remaining characters on that line to be ignored in an interactive shell. This option is enabled by default. -

    - -

    lastpipe -
    If set, and job control is not active, the shell runs the last command of +

    +
    +
    lastpipe
    +

    If set, and job control is not active, the shell runs the last command of a pipeline not executed in the background in the current shell environment. -

    - -

    lithist -
    If enabled, and the cmdhist +

    +
    +
    lithist
    +

    If enabled, and the cmdhist option is enabled, multi-line commands are saved to the history with embedded newlines rather than using semicolon separators where possible. -

    - -

    login_shell -
    The shell sets this option if it is started as a login shell -(see section 6.1 Invoking Bash). +

    +
    +
    login_shell
    +

    The shell sets this option if it is started as a login shell +(see Invoking Bash). The value may not be changed. -

    - -

    mailwarn -
    If set, and a file that Bash is checking for mail has been +

    +
    +
    mailwarn
    +

    If set, and a file that Bash is checking for mail has been accessed since the last time it was checked, the message -"The mail in mailfile has been read" is displayed. -

    - -

    no_empty_cmd_completion -
    If set, and Readline is being used, Bash will not attempt to search -the PATH for possible completions when completion is attempted +"The mail in mailfile has been read" is displayed. +

    +
    +
    no_empty_cmd_completion
    +

    If set, and Readline is being used, Bash will not attempt to search +the PATH for possible completions when completion is attempted on an empty line. -

    - -

    nocaseglob -
    If set, Bash matches filenames in a case-insensitive fashion when +

    +
    +
    nocaseglob
    +

    If set, Bash matches filenames in a case-insensitive fashion when performing filename expansion. -

    - -

    nocasematch -
    If set, Bash matches patterns in a case-insensitive fashion when -performing matching while executing case or [[ -conditional commands. -

    - -

    nullglob -
    If set, Bash allows filename patterns which match no +

    +
    +
    nocasematch
    +

    If set, Bash matches patterns in a case-insensitive fashion when +performing matching while executing case or [[ +conditional commands, +when performing pattern substitution word expansions, +or when filtering possible completions as part of programmable completion. +

    +
    +
    nullglob
    +

    If set, Bash allows filename patterns which match no files to expand to a null string, rather than themselves. -

    - -

    progcomp -
    If set, the programmable completion facilities -(see section 8.6 Programmable Completion) are enabled. +

    +
    +
    progcomp
    +

    If set, the programmable completion facilities +(see Programmable Completion) are enabled. This option is enabled by default. -

    - -

    promptvars -
    If set, prompt strings undergo +

    +
    +
    promptvars
    +

    If set, prompt strings undergo parameter expansion, command substitution, arithmetic expansion, and quote removal after being expanded -as described below (see section 6.9 Controlling the Prompt). +as described below (see Controlling the Prompt). This option is enabled by default. -

    - -

    restricted_shell -
    The shell sets this option if it is started in restricted mode -(see section 6.10 The Restricted Shell). +

    +
    +
    restricted_shell
    +

    The shell sets this option if it is started in restricted mode +(see The Restricted Shell). The value may not be changed. This is not reset when the startup files are executed, allowing the startup files to discover whether or not a shell is restricted. -

    - -

    shift_verbose -
    If this is set, the shift +

    +
    +
    shift_verbose
    +

    If this is set, the shift builtin prints an error message when the shift count exceeds the number of positional parameters. -

    - -

    sourcepath -
    If set, the source builtin uses the value of PATH +

    +
    +
    sourcepath
    +

    If set, the source builtin uses the value of PATH to find the directory containing the file supplied as an argument. This option is enabled by default. -

    - -

    xpg_echo -
    If set, the echo builtin expands backslash-escape sequences +

    +
    +
    xpg_echo
    +

    If set, the echo builtin expands backslash-escape sequences by default. -

    - -

    -

    +

    +
    +
    -The return status when listing options is zero if all optnames +

    The return status when listing options is zero if all optnames are enabled, non-zero otherwise. When setting or unsetting options, the return status is zero unless an -optname is not a valid shell option. -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    4.4 Special Builtins

    - -

    - -For historical reasons, the POSIX standard has classified -several builtin commands as special. -When Bash is executing in POSIX mode, the special builtins +optname is not a valid shell option. +

    +
    + +
    + + + +

    4.4 Special Builtins

    + + +

    For historical reasons, the POSIX standard has classified +several builtin commands as special. +When Bash is executing in POSIX mode, the special builtins differ from other builtin commands in three respects: -

    +

    +
      +
    1. Special builtins are found before shell functions during command lookup. -
        -
      1. -Special builtins are found before shell functions during command lookup. -

        +

      2. If a special builtin returns an error status, a non-interactive shell exits. -
      3. -If a special builtin returns an error status, a non-interactive shell exits. -

        - -

      4. -Assignment statements preceding the command stay in effect in the shell +
      5. Assignment statements preceding the command stay in effect in the shell environment after the command completes. -
      -

      +

    -When Bash is not executing in POSIX mode, these builtins behave no +

    When Bash is not executing in POSIX mode, these builtins behave no differently than the rest of the Bash builtin commands. -The Bash POSIX mode is described in 6.11 Bash POSIX Mode. -

    - -These are the POSIX special builtins: -
     
    break : . continue eval exec exit export readonly return set
    -shift trap unset
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    5. Shell Variables

    - -

    - -

    - - -
    5.1 Bourne Shell Variables  Variables which Bash uses in the same way - as the Bourne Shell.
    5.2 Bash Variables  List of variables that exist in Bash.
    -

    - -This chapter describes the shell variables that Bash uses. +The Bash POSIX mode is described in Bash POSIX Mode. +

    +

    These are the POSIX special builtins: +

    +
    break : . continue eval exec exit export readonly return set
    +shift trap unset
    +
    + +
    + +
    +

    +Next: , Previous: , Up: Top   [Contents][Index]

    +
    + +

    5 Shell Variables

    + + + + + + +

    This chapter describes the shell variables that Bash uses. Bash automatically assigns default values to a number of variables. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    5.1 Bourne Shell Variables

    - -

    - -Bash uses certain shell variables in the same way as the Bourne shell. +

    +
    + + + +

    5.1 Bourne Shell Variables

    + +

    Bash uses certain shell variables in the same way as the Bourne shell. In some cases, Bash assigns a default value to the variable. -

    - -

    - - -
    CDPATH -
    -A colon-separated list of directories used as a search path for -the cd builtin command. -

    - - -

    HOME -
    -The current user's home directory; the default for the cd builtin +

    +
    +
    CDPATH + +
    +

    A colon-separated list of directories used as a search path for +the cd builtin command. +

    +
    +
    HOME + +
    +

    The current user’s home directory; the default for the cd builtin command. The value of this variable is also used by tilde expansion -(see section 3.5.2 Tilde Expansion). -

    - - -

    IFS -
    -A list of characters that separate fields; used when the shell splits +(see Tilde Expansion). +

    +
    +
    IFS + +
    +

    A list of characters that separate fields; used when the shell splits words as part of expansion. -

    - - -

    MAIL -
    -If this parameter is set to a filename or directory name -and the MAILPATH variable +

    +
    +
    MAIL + +
    +

    If this parameter is set to a filename or directory name +and the MAILPATH variable is not set, Bash informs the user of the arrival of mail in the specified file or Maildir-format directory. -

    - - -

    MAILPATH -
    -A colon-separated list of filenames which the shell periodically checks +

    +
    +
    MAILPATH + +
    +

    A colon-separated list of filenames which the shell periodically checks for new mail. Each list entry can specify the message that is printed when new mail arrives in the mail file by separating the filename from the message with -a `?'. -When used in the text of the message, $_ expands to the name of +a ‘?’. +When used in the text of the message, $_ expands to the name of the current mail file. -

    - - -

    OPTARG -
    -The value of the last option argument processed by the getopts builtin. -

    - - -

    OPTIND -
    -The index of the last option argument processed by the getopts builtin. -

    - - -

    PATH -
    -A colon-separated list of directories in which the shell looks for +

    +
    +
    OPTARG + +
    +

    The value of the last option argument processed by the getopts builtin. +

    +
    +
    OPTIND + +
    +

    The index of the last option argument processed by the getopts builtin. +

    +
    +
    PATH + +
    +

    A colon-separated list of directories in which the shell looks for commands. -A zero-length (null) directory name in the value of PATH indicates the +A zero-length (null) directory name in the value of PATH indicates the current directory. A null directory name may appear as two adjacent colons, or as an initial or trailing colon. -

    - - -

    PS1 -
    -The primary prompt string. The default value is `\s-\v\$ '. -See section 6.9 Controlling the Prompt, for the complete list of escape -sequences that are expanded before PS1 is displayed. -

    - - -

    PS2 -
    -The secondary prompt string. The default value is `> '. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    5.2 Bash Variables

    - -

    - -These variables are set or used by Bash, but other shells +

    +
    +
    PS1 + +
    +

    The primary prompt string. The default value is ‘\s-\v\$ ’. +See Controlling the Prompt, for the complete list of escape +sequences that are expanded before PS1 is displayed. +

    +
    +
    PS2 + +
    +

    The secondary prompt string. The default value is ‘> ’. +

    +
    +
    + +
    + + + +

    5.2 Bash Variables

    + +

    These variables are set or used by Bash, but other shells do not normally treat them specially. -

    - -A few variables used by Bash are described in different chapters: +

    +

    A few variables used by Bash are described in different chapters: variables for controlling the job control facilities -(see section 7.3 Job Control Variables). -

    - -

    - - -
    BASH -
    -The full pathname used to execute the current instance of Bash. -

    - - -

    BASHOPTS -
    -A colon-separated list of enabled shell options. Each word in -the list is a valid argument for the `-s' option to the -shopt builtin command (see section 4.3.2 The Shopt Builtin). -The options appearing in BASHOPTS are those reported -as `on' by `shopt'. +(see Job Control Variables). +

    +
    +
    BASH + +
    +

    The full pathname used to execute the current instance of Bash. +

    +
    +
    BASHOPTS + +
    +

    A colon-separated list of enabled shell options. Each word in +the list is a valid argument for the -s option to the +shopt builtin command (see The Shopt Builtin). +The options appearing in BASHOPTS are those reported +as ‘on’ by ‘shopt’. If this variable is in the environment when Bash starts up, each shell option in the list will be enabled before reading any startup files. This variable is readonly. -

    - - -

    BASHPID -
    -Expands to the process ID of the current Bash process. -This differs from $$ under certain circumstances, such as subshells +

    +
    +
    BASHPID + +
    +

    Expands to the process ID of the current Bash process. +This differs from $$ under certain circumstances, such as subshells that do not require Bash to be re-initialized. -

    - - -

    BASH_ALIASES -
    -An associative array variable whose members correspond to the internal -list of aliases as maintained by the alias builtin. -(see section 4.1 Bourne Shell Builtins). -Elements added to this array appear in the alias list; unsetting array -elements cause aliases to be removed from the alias list. -

    - - -

    BASH_ARGC -
    -An array variable whose values are the number of parameters in each +

    +
    +
    BASH_ALIASES + +
    +

    An associative array variable whose members correspond to the internal +list of aliases as maintained by the alias builtin. +(see Bourne Shell Builtins). +Elements added to this array appear in the alias list; however, +unsetting array elements currently does not cause aliases to be removed +from the alias list. +If BASH_ALIASES +is unset, it loses its special properties, even if it is +subsequently reset. +

    +
    +
    BASH_ARGC + +
    +

    An array variable whose values are the number of parameters in each frame of the current bash execution call stack. The number of parameters to the current subroutine (shell function or script executed -with . or source) is at the top of the stack. When a +with . or source) is at the top of the stack. When a subroutine is executed, the number of parameters passed is pushed onto -BASH_ARGC. -The shell sets BASH_ARGC only when in extended debugging mode -(see 4.3.2 The Shopt Builtin -for a description of the extdebug option to the shopt +BASH_ARGC. +The shell sets BASH_ARGC only when in extended debugging mode +(see The Shopt Builtin +for a description of the extdebug option to the shopt builtin). -

    - - -

    BASH_ARGV -
    -An array variable containing all of the parameters in the current bash +

    +
    +
    BASH_ARGV + +
    +

    An array variable containing all of the parameters in the current bash execution call stack. The final parameter of the last subroutine call is at the top of the stack; the first parameter of the initial call is at the bottom. When a subroutine is executed, the parameters supplied -are pushed onto BASH_ARGV. -The shell sets BASH_ARGV only when in extended debugging mode -(see 4.3.2 The Shopt Builtin -for a description of the extdebug option to the shopt +are pushed onto BASH_ARGV. +The shell sets BASH_ARGV only when in extended debugging mode +(see The Shopt Builtin +for a description of the extdebug option to the shopt builtin). -

    - - -

    BASH_CMDS -
    -An associative array variable whose members correspond to the internal -hash table of commands as maintained by the hash builtin -(see section 4.1 Bourne Shell Builtins). -Elements added to this array appear in the hash table; unsetting array -elements cause commands to be removed from the hash table. -

    - - -

    BASH_COMMAND -
    -The command currently being executed or about to be executed, unless the +

    +
    +
    BASH_CMDS + +
    +

    An associative array variable whose members correspond to the internal +hash table of commands as maintained by the hash builtin +(see Bourne Shell Builtins). +Elements added to this array appear in the hash table; however, +unsetting array elements currently does not cause command names to be removed +from the hash table. +If BASH_CMDS +is unset, it loses its special properties, even if it is +subsequently reset. +

    +
    +
    BASH_COMMAND + +
    +

    The command currently being executed or about to be executed, unless the shell is executing a command as the result of a trap, in which case it is the command executing at the time of the trap. -

    - - -

    BASH_COMPAT -
    -The value is used to set the shell's compatibility level. -See section 4.3.2 The Shopt Builtin, for a description of the various compatibility +

    +
    +
    BASH_COMPAT + +
    +

    The value is used to set the shell’s compatibility level. +See The Shopt Builtin, for a description of the various compatibility levels and their effects. The value may be a decimal number (e.g., 4.2) or an integer (e.g., 42) corresponding to the desired compatibility level. -If BASH_COMPAT is unset or set to the empty string, the compatibility +If BASH_COMPAT is unset or set to the empty string, the compatibility level is set to the default for the current version. -If BASH_COMPAT is set to a value that is not one of the valid +If BASH_COMPAT is set to a value that is not one of the valid compatibility levels, the shell prints an error message and sets the compatibility level to the default for the current version. The valid compatibility levels correspond to the compatibility options -accepted by the shopt builtin described above (for example, -compat42 means that 4.2 and 42 are valid values). +accepted by the shopt builtin described above (for example, +compat42 means that 4.2 and 42 are valid values). The current version is also a valid value. -

    - - -

    BASH_ENV -
    -If this variable is set when Bash is invoked to execute a shell +

    +
    +
    BASH_ENV + +
    +

    If this variable is set when Bash is invoked to execute a shell script, its value is expanded and used as the name of a startup file -to read before executing the script. See section 6.2 Bash Startup Files. -

    - - -

    BASH_EXECUTION_STRING -
    -The command argument to the `-c' invocation option. -

    - - -

    BASH_LINENO -
    -An array variable whose members are the line numbers in source files -where each corresponding member of FUNCNAME was invoked. -${BASH_LINENO[$i]} is the line number in the source file -(${BASH_SOURCE[$i+1]}) where -${FUNCNAME[$i]} was called (or ${BASH_LINENO[$i-1]} if +to read before executing the script. See Bash Startup Files. +

    +
    +
    BASH_EXECUTION_STRING + +
    +

    The command argument to the -c invocation option. +

    +
    +
    BASH_LINENO + +
    +

    An array variable whose members are the line numbers in source files +where each corresponding member of FUNCNAME was invoked. +${BASH_LINENO[$i]} is the line number in the source file +(${BASH_SOURCE[$i+1]}) where +${FUNCNAME[$i]} was called (or ${BASH_LINENO[$i-1]} if referenced within another shell function). -Use LINENO to obtain the current line number. -

    - - -

    BASH_REMATCH -
    -An array variable whose members are assigned by the `=~' binary -operator to the [[ conditional command -(see section 3.2.4.2 Conditional Constructs). +Use LINENO to obtain the current line number. +

    +
    +
    BASH_LOADABLES_PATH + +
    +

    A colon-separated list of directories in which the shell looks for +dynamically loadable builtins specified by the +enable command. +

    +
    +
    BASH_REMATCH + +
    +

    An array variable whose members are assigned by the ‘=~’ binary +operator to the [[ conditional command +(see Conditional Constructs). The element with index 0 is the portion of the string matching the entire regular expression. -The element with index n is the portion of the -string matching the nth parenthesized subexpression. +The element with index n is the portion of the +string matching the nth parenthesized subexpression. This variable is read-only. -

    - - -

    BASH_SOURCE -
    -An array variable whose members are the source filenames where the -corresponding shell function names in the FUNCNAME array +

    +
    +
    BASH_SOURCE + +
    +

    An array variable whose members are the source filenames where the +corresponding shell function names in the FUNCNAME array variable are defined. -The shell function ${FUNCNAME[$i]} is defined in the file -${BASH_SOURCE[$i]} and called from ${BASH_SOURCE[$i+1]} -

    - - -

    BASH_SUBSHELL -
    -Incremented by one within each subshell or subshell environment when +The shell function ${FUNCNAME[$i]} is defined in the file +${BASH_SOURCE[$i]} and called from ${BASH_SOURCE[$i+1]} +

    +
    +
    BASH_SUBSHELL + +
    +

    Incremented by one within each subshell or subshell environment when the shell begins executing in that environment. The initial value is 0. -

    - - -

    BASH_VERSINFO -
    -A readonly array variable (see section 6.7 Arrays) +

    +
    +
    BASH_VERSINFO + +
    +

    A readonly array variable (see Arrays) whose members hold version information for this instance of Bash. The values assigned to the array members are as follows: -

    - -

    - -
    BASH_VERSINFO[0] -
    The major version number (the release). -

    - -

    BASH_VERSINFO[1] -
    The minor version number (the version). -

    - -

    BASH_VERSINFO[2] -
    The patch level. -

    - -

    BASH_VERSINFO[3] -
    The build version. -

    - -

    BASH_VERSINFO[4] -
    The release status (e.g., beta1). -

    - -

    BASH_VERSINFO[5] -
    The value of MACHTYPE. -
    -

    - - -

    BASH_VERSION -
    -The version number of the current instance of Bash. -

    - - -

    BASH_XTRACEFD -
    -If set to an integer corresponding to a valid file descriptor, Bash -will write the trace output generated when `set -x' +

    +
    +
    BASH_VERSINFO[0]
    +

    The major version number (the release). +

    +
    +
    BASH_VERSINFO[1]
    +

    The minor version number (the version). +

    +
    +
    BASH_VERSINFO[2]
    +

    The patch level. +

    +
    +
    BASH_VERSINFO[3]
    +

    The build version. +

    +
    +
    BASH_VERSINFO[4]
    +

    The release status (e.g., beta1). +

    +
    +
    BASH_VERSINFO[5]
    +

    The value of MACHTYPE. +

    +
    + +
    +
    BASH_VERSION + +
    +

    The version number of the current instance of Bash. +

    +
    +
    BASH_XTRACEFD + +
    +

    If set to an integer corresponding to a valid file descriptor, Bash +will write the trace output generated when ‘set -x’ is enabled to that file descriptor. This allows tracing output to be separated from diagnostic and error messages. -The file descriptor is closed when BASH_XTRACEFD is unset or assigned +The file descriptor is closed when BASH_XTRACEFD is unset or assigned a new value. -Unsetting BASH_XTRACEFD or assigning it the empty string causes the +Unsetting BASH_XTRACEFD or assigning it the empty string causes the trace output to be sent to the standard error. -Note that setting BASH_XTRACEFD to 2 (the standard error file +Note that setting BASH_XTRACEFD to 2 (the standard error file descriptor) and then unsetting it will result in the standard error being closed. -

    - - -

    CHILD_MAX -
    -Set the number of exited child status values for the shell to remember. -Bash will not allow this value to be decreased below a POSIX-mandated +

    +
    +
    CHILD_MAX + +
    +

    Set the number of exited child status values for the shell to remember. +Bash will not allow this value to be decreased below a POSIX-mandated minimum, and there is a maximum value (currently 8192) that this may not exceed. The minimum value is system-dependent. -

    - - -

    COLUMNS -
    -Used by the select command to determine the terminal width +

    +
    +
    COLUMNS + +
    +

    Used by the select command to determine the terminal width when printing selection lists. -Automatically set if the checkwinsize option is enabled -(see section 4.3.2 The Shopt Builtin), or in an interactive shell upon receipt of a -SIGWINCH. -

    - - -

    COMP_CWORD -
    -An index into ${COMP_WORDS} of the word containing the current +Automatically set if the checkwinsize option is enabled +(see The Shopt Builtin), or in an interactive shell upon receipt of a +SIGWINCH. +

    +
    +
    COMP_CWORD + +
    +

    An index into ${COMP_WORDS} of the word containing the current cursor position. This variable is available only in shell functions invoked by the -programmable completion facilities (see section 8.6 Programmable Completion). -

    - - -

    COMP_LINE -
    -The current command line. +programmable completion facilities (see Programmable Completion). +

    +
    +
    COMP_LINE + +
    +

    The current command line. This variable is available only in shell functions and external commands invoked by the -programmable completion facilities (see section 8.6 Programmable Completion). -

    - - -

    COMP_POINT -
    -The index of the current cursor position relative to the beginning of +programmable completion facilities (see Programmable Completion). +

    +
    +
    COMP_POINT + +
    +

    The index of the current cursor position relative to the beginning of the current command. If the current cursor position is at the end of the current command, -the value of this variable is equal to ${#COMP_LINE}. +the value of this variable is equal to ${#COMP_LINE}. This variable is available only in shell functions and external commands invoked by the -programmable completion facilities (see section 8.6 Programmable Completion). -

    - - -

    COMP_TYPE -
    -Set to an integer value corresponding to the type of completion attempted +programmable completion facilities (see Programmable Completion). +

    +
    +
    COMP_TYPE + +
    +

    Set to an integer value corresponding to the type of completion attempted that caused a completion function to be called: -TAB, for normal completion, -`?', for listing completions after successive tabs, -`!', for listing alternatives on partial word completion, -`@', to list completions if the word is not unmodified, +TAB, for normal completion, +‘?’, for listing completions after successive tabs, +‘!’, for listing alternatives on partial word completion, +‘@’, to list completions if the word is not unmodified, or -`%', for menu completion. +‘%’, for menu completion. This variable is available only in shell functions and external commands invoked by the -programmable completion facilities (see section 8.6 Programmable Completion). -

    - - -

    COMP_KEY -
    -The key (or final key of a key sequence) used to invoke the current +programmable completion facilities (see Programmable Completion). +

    +
    +
    COMP_KEY + +
    +

    The key (or final key of a key sequence) used to invoke the current completion function. -

    - - -

    COMP_WORDBREAKS -
    -The set of characters that the Readline library treats as word +

    +
    +
    COMP_WORDBREAKS + +
    +

    The set of characters that the Readline library treats as word separators when performing word completion. -If COMP_WORDBREAKS is unset, it loses its special properties, +If COMP_WORDBREAKS is unset, it loses its special properties, even if it is subsequently reset. -

    - - -

    COMP_WORDS -
    -An array variable consisting of the individual +

    +
    +
    COMP_WORDS + +
    +

    An array variable consisting of the individual words in the current command line. The line is split into words as Readline would split it, using -COMP_WORDBREAKS as described above. +COMP_WORDBREAKS as described above. This variable is available only in shell functions invoked by the -programmable completion facilities (see section 8.6 Programmable Completion). -

    - - -

    COMPREPLY -
    -An array variable from which Bash reads the possible completions +programmable completion facilities (see Programmable Completion). +

    +
    +
    COMPREPLY + +
    +

    An array variable from which Bash reads the possible completions generated by a shell function invoked by the programmable completion -facility (see section 8.6 Programmable Completion). +facility (see Programmable Completion). Each array element contains one possible completion. -

    - - -

    COPROC -
    -An array variable created to hold the file descriptors -for output from and input to an unnamed coprocess (see section 3.2.5 Coprocesses). -

    - - -

    DIRSTACK -
    -An array variable containing the current contents of the directory stack. +

    +
    +
    COPROC + +
    +

    An array variable created to hold the file descriptors +for output from and input to an unnamed coprocess (see Coprocesses). +

    +
    +
    DIRSTACK + +
    +

    An array variable containing the current contents of the directory stack. Directories appear in the stack in the order they are displayed by the -dirs builtin. +dirs builtin. Assigning to members of this array variable may be used to modify -directories already in the stack, but the pushd and popd +directories already in the stack, but the pushd and popd builtins must be used to add and remove directories. Assignment to this variable will not change the current directory. -If DIRSTACK is unset, it loses its special properties, even if +If DIRSTACK is unset, it loses its special properties, even if it is subsequently reset. -

    - - -

    EMACS -
    -If Bash finds this variable in the environment when the shell -starts with value `t', it assumes that the shell is running in an +

    +
    +
    EMACS + +
    +

    If Bash finds this variable in the environment when the shell +starts with value ‘t’, it assumes that the shell is running in an Emacs shell buffer and disables line editing. -

    - - -

    ENV -
    -Similar to BASH_ENV; used when the shell is invoked in -POSIX Mode (see section 6.11 Bash POSIX Mode). -

    - - -

    EUID -
    -The numeric effective user id of the current user. This variable +

    +
    +
    ENV + +
    +

    Similar to BASH_ENV; used when the shell is invoked in +POSIX Mode (see Bash POSIX Mode). +

    +
    +
    EUID + +
    +

    The numeric effective user id of the current user. This variable is readonly. -

    - - -

    FCEDIT -
    -The editor used as a default by the `-e' option to the fc +

    +
    +
    EXECIGNORE + +
    +

    A colon-separated list of shell patterns (see Pattern Matching) +defining the list of filenames to be ignored by command search using +PATH. +Files whose full pathnames match one of these patterns are not considered +executable files for the purposes of completion and command execution +via PATH lookup. +This does not affect the behavior of the [, test, and [[ +commands. +Full pathnames in the command hash table are not subject to EXECIGNORE. +Use this variable to ignore shared library files that have the executable +bit set, but are not executable files. +The pattern matching honors the setting of the extglob shell +option. +

    +
    +
    FCEDIT + +
    +

    The editor used as a default by the -e option to the fc builtin command. -

    - - -

    FIGNORE -
    -A colon-separated list of suffixes to ignore when performing +

    +
    +
    FIGNORE + +
    +

    A colon-separated list of suffixes to ignore when performing filename completion. A filename whose suffix matches one of the entries in -FIGNORE +FIGNORE is excluded from the list of matched filenames. A sample -value is `.o:~' -

    - - -

    FUNCNAME -
    -An array variable containing the names of all shell functions +value is ‘.o:~’ +

    +
    +
    FUNCNAME + +
    +

    An array variable containing the names of all shell functions currently in the execution call stack. The element with index 0 is the name of any currently-executing shell function. The bottom-most element (the one with the highest index) -is "main". +is "main". This variable exists only when a shell function is executing. -Assignments to FUNCNAME have no effect and return an error status. -If FUNCNAME is unset, it loses its special properties, even if +Assignments to FUNCNAME have no effect. +If FUNCNAME is unset, it loses its special properties, even if it is subsequently reset. -

    - -This variable can be used with BASH_LINENO and BASH_SOURCE. -Each element of FUNCNAME has corresponding elements in -BASH_LINENO and BASH_SOURCE to describe the call stack. -For instance, ${FUNCNAME[$i]} was called from the file -${BASH_SOURCE[$i+1]} at line number ${BASH_LINENO[$i]}. -The caller builtin displays the current call stack using this +

    +

    This variable can be used with BASH_LINENO and BASH_SOURCE. +Each element of FUNCNAME has corresponding elements in +BASH_LINENO and BASH_SOURCE to describe the call stack. +For instance, ${FUNCNAME[$i]} was called from the file +${BASH_SOURCE[$i+1]} at line number ${BASH_LINENO[$i]}. +The caller builtin displays the current call stack using this information. -

    - - -

    FUNCNEST -
    -If set to a numeric value greater than 0, defines a maximum function +

    +
    +
    FUNCNEST + +
    +

    If set to a numeric value greater than 0, defines a maximum function nesting level. Function invocations that exceed this nesting level will cause the current command to abort. -

    - - -

    GLOBIGNORE -
    -A colon-separated list of patterns defining the set of filenames to +

    +
    +
    GLOBIGNORE + +
    +

    A colon-separated list of patterns defining the set of filenames to be ignored by filename expansion. If a filename matched by a filename expansion pattern also matches one -of the patterns in GLOBIGNORE, it is removed from the list +of the patterns in GLOBIGNORE, it is removed from the list of matches. -

    - - -

    GROUPS -
    -An array variable containing the list of groups of which the current +The pattern matching honors the setting of the extglob shell +option. +

    +
    +
    GROUPS + +
    +

    An array variable containing the list of groups of which the current user is a member. -Assignments to GROUPS have no effect and return an error status. -If GROUPS is unset, it loses its special properties, even if it is +Assignments to GROUPS have no effect. +If GROUPS is unset, it loses its special properties, even if it is subsequently reset. -

    - - -

    histchars -
    -Up to three characters which control history expansion, quick -substitution, and tokenization (see section 9.3 History Expansion). +

    +
    +
    histchars + +
    +

    Up to three characters which control history expansion, quick +substitution, and tokenization (see History Interaction). The first character is the -history expansion character, that is, the character which signifies the -start of a history expansion, normally `!'. The second character is the -character which signifies `quick substitution' when seen as the first -character on a line, normally `^'. The optional third character is the +history expansion character, that is, the character which signifies the +start of a history expansion, normally ‘!’. The second character is the +character which signifies ‘quick substitution’ when seen as the first +character on a line, normally ‘^’. The optional third character is the character which indicates that the remainder of the line is a comment when -found as the first character of a word, usually `#'. The history +found as the first character of a word, usually ‘#’. The history comment character causes history substitution to be skipped for the remaining words on the line. It does not necessarily cause the shell parser to treat the rest of the line as a comment. -

    - - -

    HISTCMD -
    -The history number, or index in the history list, of the current -command. If HISTCMD is unset, it loses its special properties, +

    +
    +
    HISTCMD + +
    +

    The history number, or index in the history list, of the current +command. If HISTCMD is unset, it loses its special properties, even if it is subsequently reset. -

    - - -

    HISTCONTROL -
    -A colon-separated list of values controlling how commands are saved on +

    +
    +
    HISTCONTROL + +
    +

    A colon-separated list of values controlling how commands are saved on the history list. -If the list of values includes `ignorespace', lines which begin +If the list of values includes ‘ignorespace’, lines which begin with a space character are not saved in the history list. -A value of `ignoredups' causes lines which match the previous +A value of ‘ignoredups’ causes lines which match the previous history entry to not be saved. -A value of `ignoreboth' is shorthand for -`ignorespace' and `ignoredups'. -A value of `erasedups' causes all previous lines matching the +A value of ‘ignoreboth’ is shorthand for +‘ignorespace’ and ‘ignoredups’. +A value of ‘erasedups’ causes all previous lines matching the current line to be removed from the history list before that line is saved. Any value not in the above list is ignored. -If HISTCONTROL is unset, or does not include a valid value, +If HISTCONTROL is unset, or does not include a valid value, all lines read by the shell parser are saved on the history list, -subject to the value of HISTIGNORE. +subject to the value of HISTIGNORE. The second and subsequent lines of a multi-line compound command are not tested, and are added to the history regardless of the value of -HISTCONTROL. -

    - - -

    HISTFILE -
    -The name of the file to which the command history is saved. The -default value is `~/.bash_history'. -

    - - -

    HISTFILESIZE -
    -The maximum number of lines contained in the history file. +HISTCONTROL. +

    +
    +
    HISTFILE + +
    +

    The name of the file to which the command history is saved. The +default value is ~/.bash_history. +

    +
    +
    HISTFILESIZE + +
    +

    The maximum number of lines contained in the history file. When this variable is assigned a value, the history file is truncated, if necessary, to contain no more than that number of lines by removing the oldest entries. @@ -7291,1373 +6932,1254 @@ The history file is also truncated to this size after writing it when a shell exits. If the value is 0, the history file is truncated to zero size. Non-numeric values and numeric values less than zero inhibit truncation. -The shell sets the default value to the value of HISTSIZE +The shell sets the default value to the value of HISTSIZE after reading any startup files. -

    - - -

    HISTIGNORE -
    -A colon-separated list of patterns used to decide which command +

    +
    +
    HISTIGNORE + +
    +

    A colon-separated list of patterns used to decide which command lines should be saved on the history list. Each pattern is anchored at the beginning of the line and must match the complete -line (no implicit `*' is appended). Each pattern is tested -against the line after the checks specified by HISTCONTROL +line (no implicit ‘*’ is appended). Each pattern is tested +against the line after the checks specified by HISTCONTROL are applied. In addition to the normal shell pattern matching -characters, `&' matches the previous history line. `&' +characters, ‘&’ matches the previous history line. ‘&’ may be escaped using a backslash; the backslash is removed before attempting a match. The second and subsequent lines of a multi-line compound command are not tested, and are added to the history regardless of the value of -HISTIGNORE. -

    - -HISTIGNORE subsumes the function of HISTCONTROL. A -pattern of `&' is identical to ignoredups, and a -pattern of `[ ]*' is identical to ignorespace. +HISTIGNORE. +The pattern matching honors the setting of the extglob shell +option. +

    +

    HISTIGNORE subsumes the function of HISTCONTROL. A +pattern of ‘&’ is identical to ignoredups, and a +pattern of ‘[ ]*’ is identical to ignorespace. Combining these two patterns, separating them with a colon, -provides the functionality of ignoreboth. -

    - - -

    HISTSIZE -
    -The maximum number of commands to remember on the history list. +provides the functionality of ignoreboth. +

    +
    +
    HISTSIZE + +
    +

    The maximum number of commands to remember on the history list. If the value is 0, commands are not saved in the history list. Numeric values less than zero result in every command being saved on the history list (there is no limit). The shell sets the default value to 500 after reading any startup files. -

    - - -

    HISTTIMEFORMAT -
    -If this variable is set and not null, its value is used as a format string -for strftime to print the time stamp associated with each history -entry displayed by the history builtin. +

    +
    +
    HISTTIMEFORMAT + +
    +

    If this variable is set and not null, its value is used as a format string +for strftime to print the time stamp associated with each history +entry displayed by the history builtin. If this variable is set, time stamps are written to the history file so they may be preserved across shell sessions. This uses the history comment character to distinguish timestamps from other history lines. -

    - - -

    HOSTFILE -
    -Contains the name of a file in the same format as `/etc/hosts' that +

    +
    +
    HOSTFILE + +
    +

    Contains the name of a file in the same format as /etc/hosts that should be read when the shell needs to complete a hostname. The list of possible hostname completions may be changed while the shell is running; the next time hostname completion is attempted after the value is changed, Bash adds the contents of the new file to the existing list. -If HOSTFILE is set, but has no value, or does not name a readable file, +If HOSTFILE is set, but has no value, or does not name a readable file, Bash attempts to read -`/etc/hosts' to obtain the list of possible hostname completions. -When HOSTFILE is unset, the hostname list is cleared. -

    - - -

    HOSTNAME -
    -The name of the current host. -

    - - -

    HOSTTYPE -
    -A string describing the machine Bash is running on. -

    - - -

    IGNOREEOF -
    -Controls the action of the shell on receipt of an EOF character +/etc/hosts to obtain the list of possible hostname completions. +When HOSTFILE is unset, the hostname list is cleared. +

    +
    +
    HOSTNAME + +
    +

    The name of the current host. +

    +
    +
    HOSTTYPE + +
    +

    A string describing the machine Bash is running on. +

    +
    +
    IGNOREEOF + +
    +

    Controls the action of the shell on receipt of an EOF character as the sole input. If set, the value denotes the number -of consecutive EOF characters that can be read as the +of consecutive EOF characters that can be read as the first character on an input line before the shell will exit. If the variable exists but does not have a numeric value (or has no value) then the default is 10. -If the variable does not exist, then EOF signifies the end of +If the variable does not exist, then EOF signifies the end of input to the shell. This is only in effect for interactive shells. -

    - - -

    INPUTRC -
    -The name of the Readline initialization file, overriding the default -of `~/.inputrc'. -

    - - -

    LANG -
    -Used to determine the locale category for any category not specifically -selected with a variable starting with LC_. -

    - - -

    LC_ALL -
    -This variable overrides the value of LANG and any other -LC_ variable specifying a locale category. -

    - - -

    LC_COLLATE -
    -This variable determines the collation order used when sorting the +

    +
    +
    INPUTRC + +
    +

    The name of the Readline initialization file, overriding the default +of ~/.inputrc. +

    +
    +
    LANG + +
    +

    Used to determine the locale category for any category not specifically +selected with a variable starting with LC_. +

    +
    +
    LC_ALL + +
    +

    This variable overrides the value of LANG and any other +LC_ variable specifying a locale category. +

    +
    +
    LC_COLLATE + +
    +

    This variable determines the collation order used when sorting the results of filename expansion, and determines the behavior of range expressions, equivalence classes, and collating sequences within filename expansion and pattern matching -(see section 3.5.8 Filename Expansion). -

    - - -

    LC_CTYPE -
    -This variable determines the interpretation of characters and the +(see Filename Expansion). +

    +
    +
    LC_CTYPE + +
    +

    This variable determines the interpretation of characters and the behavior of character classes within filename expansion and pattern -matching (see section 3.5.8 Filename Expansion). -

    - - -

    LC_MESSAGES -
    -This variable determines the locale used to translate double-quoted -strings preceded by a `$' (see section 3.1.2.5 Locale-Specific Translation). -

    - - -

    LC_NUMERIC -
    -This variable determines the locale category used for number formatting. -

    - - -

    LINENO -
    -The line number in the script or shell function currently executing. -

    - - -

    LINES -
    -Used by the select command to determine the column length +matching (see Filename Expansion). +

    +
    +
    LC_MESSAGES + +
    +

    This variable determines the locale used to translate double-quoted +strings preceded by a ‘$’ (see Locale Translation). +

    +
    +
    LC_NUMERIC + +
    +

    This variable determines the locale category used for number formatting. +

    +
    +
    LC_TIME + +
    +

    This variable determines the locale category used for data and time +formatting. +

    +
    +
    LINENO + +
    +

    The line number in the script or shell function currently executing. +

    +
    +
    LINES + +
    +

    Used by the select command to determine the column length for printing selection lists. -Automatically set if the checkwinsize option is enabled -(see section 4.3.2 The Shopt Builtin), or in an interactive shell upon receipt of a -SIGWINCH. -

    - - -

    MACHTYPE -
    -A string that fully describes the system type on which Bash -is executing, in the standard GNU cpu-company-system format. -

    - - -

    MAILCHECK -
    -How often (in seconds) that the shell should check for mail in the -files specified in the MAILPATH or MAIL variables. +Automatically set if the checkwinsize option is enabled +(see The Shopt Builtin), or in an interactive shell upon receipt of a +SIGWINCH. +

    +
    +
    MACHTYPE + +
    +

    A string that fully describes the system type on which Bash +is executing, in the standard GNU cpu-company-system format. +

    +
    +
    MAILCHECK + +
    +

    How often (in seconds) that the shell should check for mail in the +files specified in the MAILPATH or MAIL variables. The default is 60 seconds. When it is time to check for mail, the shell does so before displaying the primary prompt. If this variable is unset, or set to a value that is not a number greater than or equal to zero, the shell disables mail checking. -

    - - -

    MAPFILE -
    -An array variable created to hold the text read by the -mapfile builtin when no variable name is supplied. -

    - - -

    OLDPWD -
    -The previous working directory as set by the cd builtin. -

    - - -

    OPTERR -
    -If set to the value 1, Bash displays error messages -generated by the getopts builtin command. -

    - - -

    OSTYPE -
    -A string describing the operating system Bash is running on. -

    - - -

    PIPESTATUS -
    -An array variable (see section 6.7 Arrays) +

    +
    +
    MAPFILE + +
    +

    An array variable created to hold the text read by the +mapfile builtin when no variable name is supplied. +

    +
    +
    OLDPWD + +
    +

    The previous working directory as set by the cd builtin. +

    +
    +
    OPTERR + +
    +

    If set to the value 1, Bash displays error messages +generated by the getopts builtin command. +

    +
    +
    OSTYPE + +
    +

    A string describing the operating system Bash is running on. +

    +
    +
    PIPESTATUS + +
    +

    An array variable (see Arrays) containing a list of exit status values from the processes in the most-recently-executed foreground pipeline (which may contain only a single command). -

    - - -

    POSIXLY_CORRECT -
    -If this variable is in the environment when Bash starts, the shell -enters POSIX mode (see section 6.11 Bash POSIX Mode) before reading the -startup files, as if the `--posix' invocation option had been supplied. -If it is set while the shell is running, Bash enables POSIX mode, +

    +
    +
    POSIXLY_CORRECT + +
    +

    If this variable is in the environment when Bash starts, the shell +enters POSIX mode (see Bash POSIX Mode) before reading the +startup files, as if the --posix invocation option had been supplied. +If it is set while the shell is running, Bash enables POSIX mode, as if the command -
     
    set -o posix
    -
    had been executed. -

    - - -

    PPID -
    -The process ID of the shell's parent process. This variable +

    +
    set -o posix
    +
    +

    had been executed. +

    +
    +
    PPID + +
    +

    The process ID of the shell’s parent process. This variable is readonly. -

    - - -

    PROMPT_COMMAND -
    -If set, the value is interpreted as a command to execute -before the printing of each primary prompt ($PS1). -

    - - -

    PROMPT_DIRTRIM -
    -If set to a number greater than zero, the value is used as the number of -trailing directory components to retain when expanding the \w and -\W prompt string escapes (see section 6.9 Controlling the Prompt). +

    +
    +
    PROMPT_COMMAND + +
    +

    If set, the value is interpreted as a command to execute +before the printing of each primary prompt ($PS1). +

    +
    +
    PROMPT_DIRTRIM + +
    +

    If set to a number greater than zero, the value is used as the number of +trailing directory components to retain when expanding the \w and +\W prompt string escapes (see Controlling the Prompt). Characters removed are replaced with an ellipsis. -

    - - -

    PS3 -
    -The value of this variable is used as the prompt for the -select command. If this variable is not set, the -select command prompts with `#? ' -

    - - -

    PS4 -
    -The value is the prompt printed before the command line is echoed -when the `-x' option is set (see section 4.3.1 The Set Builtin). -The first character of PS4 is replicated multiple times, as +

    +
    +
    PS0 + +
    +

    The value of this parameter is expanded like PS1 +and displayed by interactive shells after reading a command +and before the command is executed. +

    +
    +
    PS3 + +
    +

    The value of this variable is used as the prompt for the +select command. If this variable is not set, the +select command prompts with ‘#? ’ +

    +
    +
    PS4 + +
    +

    The value is the prompt printed before the command line is echoed +when the -x option is set (see The Set Builtin). +The first character of PS4 is replicated multiple times, as necessary, to indicate multiple levels of indirection. -The default is `+ '. -

    - - -

    PWD -
    -The current working directory as set by the cd builtin. -

    - - -

    RANDOM -
    -Each time this parameter is referenced, a random integer +The default is ‘+ ’. +

    +
    +
    PWD + +
    +

    The current working directory as set by the cd builtin. +

    +
    +
    RANDOM + +
    +

    Each time this parameter is referenced, a random integer between 0 and 32767 is generated. Assigning a value to this variable seeds the random number generator. -

    - - -

    READLINE_LINE -
    -The contents of the Readline line buffer, for use -with `bind -x' (see section 4.2 Bash Builtin Commands). -

    - - -

    READLINE_POINT -
    -The position of the insertion point in the Readline line buffer, for use -with `bind -x' (see section 4.2 Bash Builtin Commands). -

    - - -

    REPLY -
    -The default variable for the read builtin. -

    - - -

    SECONDS -
    -This variable expands to the number of seconds since the +

    +
    +
    READLINE_LINE + +
    +

    The contents of the Readline line buffer, for use +with ‘bind -x’ (see Bash Builtins). +

    +
    +
    READLINE_POINT + +
    +

    The position of the insertion point in the Readline line buffer, for use +with ‘bind -x’ (see Bash Builtins). +

    +
    +
    REPLY + +
    +

    The default variable for the read builtin. +

    +
    +
    SECONDS + +
    +

    This variable expands to the number of seconds since the shell was started. Assignment to this variable resets the count to the value assigned, and the expanded value becomes the value assigned plus the number of seconds since the assignment. -

    - - -

    SHELL -
    -The full pathname to the shell is kept in this environment variable. +

    +
    +
    SHELL + +
    +

    The full pathname to the shell is kept in this environment variable. If it is not set when the shell starts, -Bash assigns to it the full pathname of the current user's login shell. -

    - - -

    SHELLOPTS -
    -A colon-separated list of enabled shell options. Each word in -the list is a valid argument for the `-o' option to the -set builtin command (see section 4.3.1 The Set Builtin). -The options appearing in SHELLOPTS are those reported -as `on' by `set -o'. +Bash assigns to it the full pathname of the current user’s login shell. +

    +
    +
    SHELLOPTS + +
    +

    A colon-separated list of enabled shell options. Each word in +the list is a valid argument for the -o option to the +set builtin command (see The Set Builtin). +The options appearing in SHELLOPTS are those reported +as ‘on’ by ‘set -o’. If this variable is in the environment when Bash starts up, each shell option in the list will be enabled before reading any startup files. This variable is readonly. -

    - - -

    SHLVL -
    -Incremented by one each time a new instance of Bash is started. This is +

    +
    +
    SHLVL + +
    +

    Incremented by one each time a new instance of Bash is started. This is intended to be a count of how deeply your Bash shells are nested. -

    - - -

    TIMEFORMAT -
    -The value of this parameter is used as a format string specifying -how the timing information for pipelines prefixed with the time +

    +
    +
    TIMEFORMAT + +
    +

    The value of this parameter is used as a format string specifying +how the timing information for pipelines prefixed with the time reserved word should be displayed. -The `%' character introduces an +The ‘%’ character introduces an escape sequence that is expanded to a time value or other information. The escape sequences and their meanings are as follows; the braces denote optional portions. -

    - -

    - -
    %% -
    A literal `%'. -

    - -

    %[p][l]R -
    The elapsed time in seconds. -

    - -

    %[p][l]U -
    The number of CPU seconds spent in user mode. -

    - -

    %[p][l]S -
    The number of CPU seconds spent in system mode. -

    - -

    %P -
    The CPU percentage, computed as (%U + %S) / %R. -
    -

    - -The optional p is a digit specifying the precision, the number of +

    +
    +
    %%
    +

    A literal ‘%’. +

    +
    +
    %[p][l]R
    +

    The elapsed time in seconds. +

    +
    +
    %[p][l]U
    +

    The number of CPU seconds spent in user mode. +

    +
    +
    %[p][l]S
    +

    The number of CPU seconds spent in system mode. +

    +
    +
    %P
    +

    The CPU percentage, computed as (%U + %S) / %R. +

    +
    + +

    The optional p is a digit specifying the precision, the number of fractional digits after a decimal point. A value of 0 causes no decimal point or fraction to be output. At most three places after the decimal point may be specified; values -of p greater than 3 are changed to 3. -If p is not specified, the value 3 is used. -

    - -The optional l specifies a longer format, including minutes, of -the form MMmSS.FFs. -The value of p determines whether or not the fraction is included. -

    - -If this variable is not set, Bash acts as if it had the value -
     
    $'\nreal\t%3lR\nuser\t%3lU\nsys\t%3lS'
    -
    If the value is null, no timing information is displayed. +of p greater than 3 are changed to 3. +If p is not specified, the value 3 is used. +

    +

    The optional l specifies a longer format, including minutes, of +the form MMmSS.FFs. +The value of p determines whether or not the fraction is included. +

    +

    If this variable is not set, Bash acts as if it had the value +

    +
    $'\nreal\t%3lR\nuser\t%3lU\nsys\t%3lS'
    +
    +

    If the value is null, no timing information is displayed. A trailing newline is added when the format string is displayed. -

    - - -

    TMOUT -
    -If set to a value greater than zero, TMOUT is treated as the -default timeout for the read builtin (see section 4.2 Bash Builtin Commands). -The select command (see section 3.2.4.2 Conditional Constructs) terminates -if input does not arrive after TMOUT seconds when input is coming +

    +
    +
    TMOUT + +
    +

    If set to a value greater than zero, TMOUT is treated as the +default timeout for the read builtin (see Bash Builtins). +The select command (see Conditional Constructs) terminates +if input does not arrive after TMOUT seconds when input is coming from a terminal. -

    - -In an interactive shell, the value is interpreted as +

    +

    In an interactive shell, the value is interpreted as the number of seconds to wait for a line of input after issuing the primary prompt. Bash terminates after waiting for that number of seconds if a complete line of input does not arrive. -

    - - -

    TMPDIR -
    -If set, Bash uses its value as the name of a directory in which -Bash creates temporary files for the shell's use. -

    - - -

    UID -
    -The numeric real user id of the current user. This variable is readonly. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6. Bash Features

    - -

    - -This chapter describes features unique to Bash. -

    - -

    - - - - - - - - - - - -
    6.1 Invoking Bash  Command line options that you can give - to Bash.
    6.2 Bash Startup Files  When and how Bash executes scripts.
    6.3 Interactive Shells  What an interactive shell is.
    6.4 Bash Conditional Expressions  Primitives used in composing expressions for - the test builtin.
    6.5 Shell Arithmetic  Arithmetic on shell variables.
    6.6 Aliases  Substituting one command for another.
    6.7 Arrays  Array Variables.
    6.8 The Directory Stack  History of visited directories.
    6.9 Controlling the Prompt  Customizing the various prompt strings.
    6.10 The Restricted Shell  A more controlled mode of shell execution.
    6.11 Bash POSIX Mode  Making Bash behave more closely to what - the POSIX standard specifies.
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.1 Invoking Bash

    - -

    - -
     
    bash [long-opt] [-ir] [-abefhkmnptuvxdBCDHP] [-o option] [-O shopt_option] [argument ...]
    -bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o option] [-O shopt_option] -c string [argument ...]
    -bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o option] [-O shopt_option] [argument ...]
    -

    - -All of the single-character options used with the set builtin -(see section 4.3.1 The Set Builtin) can be used as options when the shell is invoked. +

    +
    +
    TMPDIR + +
    +

    If set, Bash uses its value as the name of a directory in which +Bash creates temporary files for the shell’s use. +

    +
    +
    UID + +
    +

    The numeric real user id of the current user. This variable is readonly. +

    +
    +
    + +
    + +
    +

    +Next: , Previous: , Up: Top   [Contents][Index]

    +
    + +

    6 Bash Features

    + +

    This chapter describes features unique to Bash. +

    + + + + + + + + + + + + + + +
    + + + +

    6.1 Invoking Bash

    + +
    +
    bash [long-opt] [-ir] [-abefhkmnptuvxdBCDHP] [-o option] [-O shopt_option] [argument …]
    +bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o option] [-O shopt_option] -c string [argument …]
    +bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o option] [-O shopt_option] [argument …]
    +
    + +

    All of the single-character options used with the set builtin +(see The Set Builtin) can be used as options when the shell is invoked. In addition, there are several multi-character options that you can use. These options must appear on the command line before the single-character options to be recognized. -

    - -

    -
    --debugger -
    Arrange for the debugger profile to be executed before the shell -starts. Turns on extended debugging mode (see 4.3.2 The Shopt Builtin -for a description of the extdebug option to the shopt +

    +
    +
    --debugger
    +

    Arrange for the debugger profile to be executed before the shell +starts. Turns on extended debugging mode (see The Shopt Builtin +for a description of the extdebug option to the shopt builtin). -

    - -

    --dump-po-strings -
    A list of all double-quoted strings preceded by `$' +

    +
    +
    --dump-po-strings
    +

    A list of all double-quoted strings preceded by ‘$’ is printed on the standard output -in the GNU gettext PO (portable object) file format. -Equivalent to `-D' except for the output format. -

    - -

    --dump-strings -
    Equivalent to `-D'. -

    - -

    --help -
    Display a usage message on standard output and exit successfully. -

    - -

    --init-file filename -
    --rcfile filename -
    Execute commands from filename (instead of `~/.bashrc') +in the GNU gettext PO (portable object) file format. +Equivalent to -D except for the output format. +

    +
    +
    --dump-strings
    +

    Equivalent to -D. +

    +
    +
    --help
    +

    Display a usage message on standard output and exit successfully. +

    +
    +
    --init-file filename
    +
    --rcfile filename
    +

    Execute commands from filename (instead of ~/.bashrc) in an interactive shell. -

    - -

    --login -
    Equivalent to `-l'. -

    - -

    --noediting -
    Do not use the GNU Readline library (see section 8. Command Line Editing) +

    +
    +
    --login
    +

    Equivalent to -l. +

    +
    +
    --noediting
    +

    Do not use the GNU Readline library (see Command Line Editing) to read command lines when the shell is interactive. -

    - -

    --noprofile -
    Don't load the system-wide startup file `/etc/profile' +

    +
    +
    --noprofile
    +

    Don’t load the system-wide startup file /etc/profile or any of the personal initialization files -`~/.bash_profile', `~/.bash_login', or `~/.profile' +~/.bash_profile, ~/.bash_login, or ~/.profile when Bash is invoked as a login shell. -

    - -

    --norc -
    Don't read the `~/.bashrc' initialization file in an +

    +
    +
    --norc
    +

    Don’t read the ~/.bashrc initialization file in an interactive shell. This is on by default if the shell is -invoked as sh. -

    - -

    --posix -
    Change the behavior of Bash where the default operation differs -from the POSIX standard to match the standard. This +invoked as sh. +

    +
    +
    --posix
    +

    Change the behavior of Bash where the default operation differs +from the POSIX standard to match the standard. This is intended to make Bash behave as a strict superset of that -standard. See section 6.11 Bash POSIX Mode, for a description of the Bash -POSIX mode. -

    - -

    --restricted -
    Make the shell a restricted shell (see section 6.10 The Restricted Shell). -

    - -

    --verbose -
    Equivalent to `-v'. Print shell input lines as they're read. -

    - -

    --version -
    Show version information for this instance of +standard. See Bash POSIX Mode, for a description of the Bash +POSIX mode. +

    +
    +
    --restricted
    +

    Make the shell a restricted shell (see The Restricted Shell). +

    +
    +
    --verbose
    +

    Equivalent to -v. Print shell input lines as they’re read. +

    +
    +
    --version
    +

    Show version information for this instance of Bash on the standard output and exit successfully. -

    -

    - -There are several single-character options that may be supplied at -invocation which are not available with the set builtin. -

    - -

    -
    -c -
    Read and execute commands from the first non-option argument -after processing the options, then exit. -Any remaining arguments are assigned to the -positional parameters, starting with $0. -

    - -

    -i -
    Force the shell to run interactively. Interactive shells are -described in 6.3 Interactive Shells. -

    - -

    -l -
    Make this shell act as if it had been directly invoked by login. +

    +
    + +

    There are several single-character options that may be supplied at +invocation which are not available with the set builtin. +

    +
    +
    -c
    +

    Read and execute commands from the first non-option argument +command_string, then exit. +If there are arguments after the command_string, +the first argument is assigned to $0 +and any remaining arguments are assigned to the positional parameters. +The assignment to $0 sets the name of the shell, which is used +in warning and error messages. +

    +
    +
    -i
    +

    Force the shell to run interactively. Interactive shells are +described in Interactive Shells. +

    +
    +
    -l
    +

    Make this shell act as if it had been directly invoked by login. When the shell is interactive, this is equivalent to starting a -login shell with `exec -l bash'. +login shell with ‘exec -l bash’. When the shell is not interactive, the login shell startup files will be executed. -`exec bash -l' or `exec bash --login' +‘exec bash -l’ or ‘exec bash --login’ will replace the current shell with a Bash login shell. -See section 6.2 Bash Startup Files, for a description of the special behavior +See Bash Startup Files, for a description of the special behavior of a login shell. -

    - -

    -r -
    Make the shell a restricted shell (see section 6.10 The Restricted Shell). -

    - -

    -s -
    If this option is present, or if no arguments remain after option +

    +
    +
    -r
    +

    Make the shell a restricted shell (see The Restricted Shell). +

    +
    +
    -s
    +

    If this option is present, or if no arguments remain after option processing, then commands are read from the standard input. This option allows the positional parameters to be set when invoking an interactive shell. -

    - -

    -D -
    A list of all double-quoted strings preceded by `$' +

    +
    +
    -D
    +

    A list of all double-quoted strings preceded by ‘$’ is printed on the standard output. These are the strings that are subject to language translation when the current locale -is not C or POSIX (see section 3.1.2.5 Locale-Specific Translation). -This implies the `-n' option; no commands will be executed. -

    - -

    [-+]O [shopt_option] -
    shopt_option is one of the shell options accepted by the -shopt builtin (see section 4.3.2 The Shopt Builtin). -If shopt_option is present, `-O' sets the value of that option; -`+O' unsets it. -If shopt_option is not supplied, the names and values of the shell -options accepted by shopt are printed on the standard output. -If the invocation option is `+O', the output is displayed in a format +is not C or POSIX (see Locale Translation). +This implies the -n option; no commands will be executed. +

    +
    +
    [-+]O [shopt_option]
    +

    shopt_option is one of the shell options accepted by the +shopt builtin (see The Shopt Builtin). +If shopt_option is present, -O sets the value of that option; ++O unsets it. +If shopt_option is not supplied, the names and values of the shell +options accepted by shopt are printed on the standard output. +If the invocation option is +O, the output is displayed in a format that may be reused as input. -

    - -

    -- -
    A -- signals the end of options and disables further option +

    +
    +
    --
    +

    A -- signals the end of options and disables further option processing. -Any arguments after the -- are treated as filenames and arguments. -

    -

    - - -A login shell is one whose first character of argument zero is -`-', or one invoked with the `--login' option. -

    - - -An interactive shell is one started without non-option arguments, -unless `-s' is specified, -without specifying the `-c' option, and whose input and output are both -connected to terminals (as determined by isatty(3)), or one -started with the `-i' option. See section 6.3 Interactive Shells, for more +Any arguments after the -- are treated as filenames and arguments. +

    +
    + + +

    A login shell is one whose first character of argument zero is +‘-’, or one invoked with the --login option. +

    + +

    An interactive shell is one started without non-option arguments, +unless -s is specified, +without specifying the -c option, and whose input and output are both +connected to terminals (as determined by isatty(3)), or one +started with the -i option. See Interactive Shells, for more information. -

    - -If arguments remain after option processing, and neither the -`-c' nor the `-s' +

    +

    If arguments remain after option processing, and neither the +-c nor the -s option has been supplied, the first argument is assumed to -be the name of a file containing shell commands (see section 3.8 Shell Scripts). -When Bash is invoked in this fashion, $0 +be the name of a file containing shell commands (see Shell Scripts). +When Bash is invoked in this fashion, $0 is set to the name of the file, and the positional parameters are set to the remaining arguments. Bash reads and executes commands from this file, then exits. -Bash's exit status is the exit status of the last command executed +Bash’s exit status is the exit status of the last command executed in the script. If no commands are executed, the exit status is 0. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.2 Bash Startup Files

    - -

    - -This section describes how Bash executes its startup files. +

    +
    + +
    +

    +Next: , Previous: , Up: Bash Features   [Contents][Index]

    +
    + +

    6.2 Bash Startup Files

    + + +

    This section describes how Bash executes its startup files. If any of the files exist but cannot be read, Bash reports an error. Tildes are expanded in filenames as described above under -Tilde Expansion (see section 3.5.2 Tilde Expansion). -

    - -Interactive shells are described in 6.3 Interactive Shells. -

    - - -

    Invoked as an interactive login shell, or with `--login'

    - -

    - -When Bash is invoked as an interactive login shell, or as a -non-interactive shell with the `--login' option, it first reads and -executes commands from the file `/etc/profile', if that file exists. -After reading that file, it looks for `~/.bash_profile', -`~/.bash_login', and `~/.profile', in that order, and reads +Tilde Expansion (see Tilde Expansion). +

    +

    Interactive shells are described in Interactive Shells. +

    + +

    Invoked as an interactive login shell, or with --login

    + +

    When Bash is invoked as an interactive login shell, or as a +non-interactive shell with the --login option, it first reads and +executes commands from the file /etc/profile, if that file exists. +After reading that file, it looks for ~/.bash_profile, +~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. -The `--noprofile' option may be used when the shell is started to +The --noprofile option may be used when the shell is started to inhibit this behavior. -

    - -When a login shell exits, Bash reads and executes commands from -the file `~/.bash_logout', if it exists. -

    - - -

    Invoked as an interactive non-login shell

    - -

    - -When an interactive shell that is not a login shell is started, Bash -reads and executes commands from `~/.bashrc', if that file exists. -This may be inhibited by using the `--norc' option. -The `--rcfile file' option will force Bash to read and -execute commands from file instead of `~/.bashrc'. -

    - -So, typically, your `~/.bash_profile' contains the line -
     
    if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
    -
    after (or before) any login-specific initializations. -

    - - -

    Invoked non-interactively

    - -

    - -When Bash is started non-interactively, to run a shell script, -for example, it looks for the variable BASH_ENV in the environment, +

    +

    When an interactive login shell exits, +or a non-interactive login shell executes the exit builtin command, +Bash reads and executes commands from +the file ~/.bash_logout, if it exists. +

    + +

    Invoked as an interactive non-login shell

    + +

    When an interactive shell that is not a login shell is started, Bash +reads and executes commands from ~/.bashrc, if that file exists. +This may be inhibited by using the --norc option. +The --rcfile file option will force Bash to read and +execute commands from file instead of ~/.bashrc. +

    +

    So, typically, your ~/.bash_profile contains the line +

    +
    if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
    +
    +

    after (or before) any login-specific initializations. +

    + +

    Invoked non-interactively

    + +

    When Bash is started non-interactively, to run a shell script, +for example, it looks for the variable BASH_ENV in the environment, expands its value if it appears there, and uses the expanded value as the name of a file to read and execute. Bash behaves as if the following command were executed: -
     
    if [ -n "$BASH_ENV" ]; then . "$BASH_ENV"; fi
    -
    but the value of the PATH variable is not used to search for the +

    +
    if [ -n "$BASH_ENV" ]; then . "$BASH_ENV"; fi
    +
    +

    but the value of the PATH variable is not used to search for the filename. -

    - -As noted above, if a non-interactive shell is invoked with the -`--login' option, Bash attempts to read and execute commands from the +

    +

    As noted above, if a non-interactive shell is invoked with the +--login option, Bash attempts to read and execute commands from the login shell startup files. -

    - - -

    Invoked with name sh

    - -

    - -If Bash is invoked with the name sh, it tries to mimic the -startup behavior of historical versions of sh as closely as -possible, while conforming to the POSIX standard as well. -

    - -When invoked as an interactive login shell, or as a non-interactive -shell with the `--login' option, it first attempts to read -and execute commands from `/etc/profile' and `~/.profile', in +

    + +

    Invoked with name sh

    + +

    If Bash is invoked with the name sh, it tries to mimic the +startup behavior of historical versions of sh as closely as +possible, while conforming to the POSIX standard as well. +

    +

    When invoked as an interactive login shell, or as a non-interactive +shell with the --login option, it first attempts to read +and execute commands from /etc/profile and ~/.profile, in that order. -The `--noprofile' option may be used to inhibit this behavior. -When invoked as an interactive shell with the name sh, Bash -looks for the variable ENV, expands its value if it is defined, +The --noprofile option may be used to inhibit this behavior. +When invoked as an interactive shell with the name sh, Bash +looks for the variable ENV, expands its value if it is defined, and uses the expanded value as the name of a file to read and execute. -Since a shell invoked as sh does not attempt to read and execute -commands from any other startup files, the `--rcfile' option has +Since a shell invoked as sh does not attempt to read and execute +commands from any other startup files, the --rcfile option has no effect. -A non-interactive shell invoked with the name sh does not attempt +A non-interactive shell invoked with the name sh does not attempt to read any other startup files. -

    - -When invoked as sh, Bash enters POSIX mode after +

    +

    When invoked as sh, Bash enters POSIX mode after the startup files are read. -

    +

    + +

    Invoked in POSIX mode

    - -

    Invoked in POSIX mode

    - -

    - -When Bash is started in POSIX mode, as with the -`--posix' command line option, it follows the POSIX standard +

    When Bash is started in POSIX mode, as with the +--posix command line option, it follows the POSIX standard for startup files. -In this mode, interactive shells expand the ENV variable +In this mode, interactive shells expand the ENV variable and commands are read and executed from the file whose name is the expanded value. No other startup files are read. -

    - - -

    Invoked by remote shell daemon

    - -

    +

    + +

    Invoked by remote shell daemon

    -Bash attempts to determine when it is being run with its standard input +

    Bash attempts to determine when it is being run with its standard input connected to a network connection, as when executed by the remote shell -daemon, usually rshd, or the secure shell daemon sshd. +daemon, usually rshd, or the secure shell daemon sshd. If Bash determines it is being run in -this fashion, it reads and executes commands from `~/.bashrc', if that +this fashion, it reads and executes commands from ~/.bashrc, if that file exists and is readable. -It will not do this if invoked as sh. -The `--norc' option may be used to inhibit this behavior, and the -`--rcfile' option may be used to force another file to be read, but -neither rshd nor sshd generally invoke the shell with those +It will not do this if invoked as sh. +The --norc option may be used to inhibit this behavior, and the +--rcfile option may be used to force another file to be read, but +neither rshd nor sshd generally invoke the shell with those options or allow them to be specified. -

    +

    + +

    Invoked with unequal effective and real UID/GIDs

    - -

    Invoked with unequal effective and real UID/GIDs

    - -

    - -If Bash is started with the effective user (group) id not equal to the -real user (group) id, and the `-p' option is not supplied, no startup +

    If Bash is started with the effective user (group) id not equal to the +real user (group) id, and the -p option is not supplied, no startup files are read, shell functions are not inherited from the environment, -the SHELLOPTS, BASHOPTS, CDPATH, and GLOBIGNORE +the SHELLOPTS, BASHOPTS, CDPATH, and GLOBIGNORE variables, if they appear in the environment, are ignored, and the effective user id is set to the real user id. -If the `-p' option is supplied at invocation, the startup behavior is +If the -p option is supplied at invocation, the startup behavior is the same, but the effective user id is not reset. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.3 Interactive Shells

    - -

    - -

    - - - -
    6.3.1 What is an Interactive Shell?  What determines whether a shell is Interactive.
    6.3.2 Is this Shell Interactive?  How to tell if a shell is interactive.
    6.3.3 Interactive Shell Behavior  What changes in a interactive shell?
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.3.1 What is an Interactive Shell?

    - -

    - -An interactive shell -is one started without non-option arguments, unless `-s' is -specified, without specifying the `-c' option, and +

    +
    + + + +

    6.3 Interactive Shells

    + + + + + + + + + +
    + + + +

    6.3.1 What is an Interactive Shell?

    + +

    An interactive shell +is one started without non-option arguments, unless -s is +specified, without specifying the -c option, and whose input and error output are both -connected to terminals (as determined by isatty(3)), -or one started with the `-i' option. -

    - -An interactive shell generally reads from and writes to a user's +connected to terminals (as determined by isatty(3)), +or one started with the -i option. +

    +

    An interactive shell generally reads from and writes to a user’s terminal. -

    - -The `-s' invocation option may be used to set the positional parameters +

    +

    The -s invocation option may be used to set the positional parameters when an interactive shell is started. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.3.2 Is this Shell Interactive?

    - -

    - -To determine within a startup script whether or not Bash is +

    +
    + + + +

    6.3.2 Is this Shell Interactive?

    + +

    To determine within a startup script whether or not Bash is running interactively, -test the value of the `-' special parameter. -It contains i when the shell is interactive. For example: -

    - -
     
    case "$-" in
    +test the value of the ‘-’ special parameter.
    +It contains i when the shell is interactive.  For example:
    +

    +
    +
    case "$-" in
     *i*)	echo This shell is interactive ;;
     *)	echo This shell is not interactive ;;
     esac
    -

    + -Alternatively, startup scripts may examine the variable -PS1; it is unset in non-interactive shells, and set in +

    Alternatively, startup scripts may examine the variable +PS1; it is unset in non-interactive shells, and set in interactive shells. Thus: -

    - -
     
    if [ -z "$PS1" ]; then
    +

    +
    +
    if [ -z "$PS1" ]; then
             echo This shell is not interactive
     else
             echo This shell is interactive
     fi
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.3.3 Interactive Shell Behavior

    - -

    - -When the shell is running interactively, it changes its behavior in + + +


    + + + +

    6.3.3 Interactive Shell Behavior

    + +

    When the shell is running interactively, it changes its behavior in several ways. -

    - -

      -
    1. -Startup files are read and executed as described in 6.2 Bash Startup Files. -

      +

      +
        +
      1. Startup files are read and executed as described in Bash Startup Files. -
      2. -Job Control (see section 7. Job Control) is enabled by default. When job +
      3. Job Control (see Job Control) is enabled by default. When job control is in effect, Bash ignores the keyboard-generated job control -signals SIGTTIN, SIGTTOU, and SIGTSTP. -

        +signals SIGTTIN, SIGTTOU, and SIGTSTP. -

      4. -Bash expands and displays PS1 before reading the first line -of a command, and expands and displays PS2 before reading the +
      5. Bash expands and displays PS1 before reading the first line +of a command, and expands and displays PS2 before reading the second and subsequent lines of a multi-line command. -

        - -

      6. -Bash executes the value of the PROMPT_COMMAND variable as a command -before printing the primary prompt, $PS1 -(see section 5.2 Bash Variables). -

        - -

      7. -Readline (see section 8. Command Line Editing) is used to read commands from -the user's terminal. -

        - -

      8. -Bash inspects the value of the ignoreeof option to set -o -instead of exiting immediately when it receives an EOF on its -standard input when reading a command (see section 4.3.1 The Set Builtin). -

        - -

      9. -Command history (see section 9.1 Bash History Facilities) -and history expansion (see section 9.3 History Expansion) -are enabled by default. -Bash will save the command history to the file named by $HISTFILE -when a shell with history enabled exits. -

        - -

      10. -Alias expansion (see section 6.6 Aliases) is performed by default. -

        - -

      11. -In the absence of any traps, Bash ignores SIGTERM -(see section 3.7.6 Signals). -

        - -

      12. -In the absence of any traps, SIGINT is caught and handled -((see section 3.7.6 Signals). -SIGINT will interrupt some shell builtins. -

        - -

      13. -An interactive login shell sends a SIGHUP to all jobs on exit -if the huponexit shell option has been enabled (see section 3.7.6 Signals). -

        - -

      14. -The `-n' invocation option is ignored, and `set -n' has -no effect (see section 4.3.1 The Set Builtin). -

        - -

      15. -Bash will check for mail periodically, depending on the values of the -MAIL, MAILPATH, and MAILCHECK shell variables -(see section 5.2 Bash Variables). -

        - -

      16. -Expansion errors due to references to unbound shell variables after -`set -u' has been enabled will not cause the shell to exit -(see section 4.3.1 The Set Builtin). -

        - -

      17. -The shell will not exit on expansion errors caused by var being unset -or null in ${var:?word} expansions -(see section 3.5.3 Shell Parameter Expansion). -

        - -

      18. -Redirection errors encountered by shell builtins will not cause the -shell to exit. -

        - -

      19. -When running in POSIX mode, a special builtin returning an error -status will not cause the shell to exit (see section 6.11 Bash POSIX Mode). -

        - -

      20. -A failed exec will not cause the shell to exit -(see section 4.1 Bourne Shell Builtins). -

        - -

      21. -Parser syntax errors will not cause the shell to exit. -

        - -

      22. -Simple spelling correction for directory arguments to the cd -builtin is enabled by default (see the description of the cdspell -option to the shopt builtin in 4.3.2 The Shopt Builtin). -

        - -

      23. -The shell will check the value of the TMOUT variable and exit -if a command is not read within the specified number of seconds after -printing $PS1 (see section 5.2 Bash Variables). -

        - -

      -

      - - -


      - - - - - - - - - - - -
      [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
      -

      6.4 Bash Conditional Expressions

      - -

      - -Conditional expressions are used by the [[ compound command -and the test and [ builtin commands. -

      - -Expressions may be unary or binary. -Unary expressions are often used to examine the status of a file. -There are string operators and numeric comparison operators as well. -If the file argument to one of the primaries is of the form -`/dev/fd/N', then file descriptor N is checked. -If the file argument to one of the primaries is one of -`/dev/stdin', `/dev/stdout', or `/dev/stderr', file -descriptor 0, 1, or 2, respectively, is checked. -

      - -When used with [[, the `<' and `>' operators sort -lexicographically using the current locale. -The test command uses ASCII ordering. -

      - -Unless otherwise specified, primaries that operate on files follow symbolic -links and operate on the target of the link, rather than the link itself. -

      - -

      -
      -a file -
      True if file exists. -

      - -

      -b file -
      True if file exists and is a block special file. -

      - -

      -c file -
      True if file exists and is a character special file. -

      +Bash displays PS0 after it reads a command but before executing it. -

      -d file -
      True if file exists and is a directory. -

      +

    2. Bash executes the value of the PROMPT_COMMAND variable as a command +before printing the primary prompt, $PS1 +(see Bash Variables). -
      -e file -
      True if file exists. -

      +

    3. Readline (see Command Line Editing) is used to read commands from +the user’s terminal. -
      -f file -
      True if file exists and is a regular file. -

      +

    4. Bash inspects the value of the ignoreeof option to set -o +instead of exiting immediately when it receives an EOF on its +standard input when reading a command (see The Set Builtin). -
      -g file -
      True if file exists and its set-group-id bit is set. -

      - -

      -h file -
      True if file exists and is a symbolic link. -

      +

    5. Command history (see Bash History Facilities) +and history expansion (see History Interaction) +are enabled by default. +Bash will save the command history to the file named by $HISTFILE +when a shell with history enabled exits. -
      -k file -
      True if file exists and its "sticky" bit is set. -

      +

    6. Alias expansion (see Aliases) is performed by default. -
      -p file -
      True if file exists and is a named pipe (FIFO). -

      +

    7. In the absence of any traps, Bash ignores SIGTERM +(see Signals). -
      -r file -
      True if file exists and is readable. -

      +

    8. In the absence of any traps, SIGINT is caught and handled +((see Signals). +SIGINT will interrupt some shell builtins. -
      -s file -
      True if file exists and has a size greater than zero. -

      +

    9. An interactive login shell sends a SIGHUP to all jobs on exit +if the huponexit shell option has been enabled (see Signals). -
      -t fd -
      True if file descriptor fd is open and refers to a terminal. -

      +

    10. The -n invocation option is ignored, and ‘set -n’ has +no effect (see The Set Builtin). -
      -u file -
      True if file exists and its set-user-id bit is set. -

      +

    11. Bash will check for mail periodically, depending on the values of the +MAIL, MAILPATH, and MAILCHECK shell variables +(see Bash Variables). -
      -w file -
      True if file exists and is writable. -

      +

    12. Expansion errors due to references to unbound shell variables after +‘set -u’ has been enabled will not cause the shell to exit +(see The Set Builtin). -
      -x file -
      True if file exists and is executable. -

      +

    13. The shell will not exit on expansion errors caused by var being unset +or null in ${var:?word} expansions +(see Shell Parameter Expansion). -
      -G file -
      True if file exists and is owned by the effective group id. -

      +

    14. Redirection errors encountered by shell builtins will not cause the +shell to exit. -
      -L file -
      True if file exists and is a symbolic link. -

      +

    15. When running in POSIX mode, a special builtin returning an error +status will not cause the shell to exit (see Bash POSIX Mode). -
      -N file -
      True if file exists and has been modified since it was last read. -

      +

    16. A failed exec will not cause the shell to exit +(see Bourne Shell Builtins). -
      -O file -
      True if file exists and is owned by the effective user id. -

      +

    17. Parser syntax errors will not cause the shell to exit. -
      -S file -
      True if file exists and is a socket. -

      +

    18. Simple spelling correction for directory arguments to the cd +builtin is enabled by default (see the description of the cdspell +option to the shopt builtin in The Shopt Builtin). -
      file1 -ef file2 -
      True if file1 and file2 refer to the same device and +
    19. The shell will check the value of the TMOUT variable and exit +if a command is not read within the specified number of seconds after +printing $PS1 (see Bash Variables). + +
    + +
    + + + +

    6.4 Bash Conditional Expressions

    + + +

    Conditional expressions are used by the [[ compound command +and the test and [ builtin commands. +

    +

    Expressions may be unary or binary. +Unary expressions are often used to examine the status of a file. +There are string operators and numeric comparison operators as well. +Bash handles several filenames specially when they are used in +expressions. +If the operating system on which Bash is running provides these +special files, Bash will use them; otherwise it will emulate them +internally with this behavior: +If the file argument to one of the primaries is of the form +/dev/fd/N, then file descriptor N is checked. +If the file argument to one of the primaries is one of +/dev/stdin, /dev/stdout, or /dev/stderr, file +descriptor 0, 1, or 2, respectively, is checked. +

    +

    When used with [[, the ‘<’ and ‘>’ operators sort +lexicographically using the current locale. +The test command uses ASCII ordering. +

    +

    Unless otherwise specified, primaries that operate on files follow symbolic +links and operate on the target of the link, rather than the link itself. +

    +
    +
    -a file
    +

    True if file exists. +

    +
    +
    -b file
    +

    True if file exists and is a block special file. +

    +
    +
    -c file
    +

    True if file exists and is a character special file. +

    +
    +
    -d file
    +

    True if file exists and 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 exists and its set-group-id bit is set. +

    +
    +
    -h file
    +

    True if file exists and is a symbolic link. +

    +
    +
    -k file
    +

    True if file exists and its "sticky" bit is set. +

    +
    +
    -p file
    +

    True if file exists and is a named pipe (FIFO). +

    +
    +
    -r file
    +

    True if file exists and is readable. +

    +
    +
    -s file
    +

    True if file exists and has a size greater than zero. +

    +
    +
    -t fd
    +

    True if file descriptor fd is open and refers to a terminal. +

    +
    +
    -u file
    +

    True if file exists and its set-user-id bit is set. +

    +
    +
    -w file
    +

    True if file exists and is writable. +

    +
    +
    -x file
    +

    True if file exists and is executable. +

    +
    +
    -G file
    +

    True if file exists and is owned by the effective group id. +

    +
    +
    -L file
    +

    True if file exists and is a symbolic link. +

    +
    +
    -N file
    +

    True if file exists and has been modified since it was last read. +

    +
    +
    -O file
    +

    True if file exists and is owned by the effective user id. +

    +
    +
    -S file
    +

    True if file exists and is a socket. +

    +
    +
    file1 -ef file2
    +

    True if file1 and file2 refer to the same device and inode numbers. -

    - -

    file1 -nt file2 -
    True if file1 is newer (according to modification date) -than file2, or if file1 exists and file2 does not. -

    - -

    file1 -ot file2 -
    True if file1 is older than file2, -or if file2 exists and file1 does not. -

    - -

    -o optname -
    True if the shell option optname is enabled. -The list of options appears in the description of the `-o' -option to the set builtin (see section 4.3.1 The Set Builtin). -

    - -

    -v varname -
    True if the shell variable varname is set (has been assigned a value). -

    - -

    -R varname -
    True if the shell variable varname is set and is a name reference. -

    - -

    -z string -
    True if the length of string is zero. -

    - -

    -n string -
    string -
    True if the length of string is non-zero. -

    - -

    string1 == string2 -
    string1 = string2 -
    True if the strings are equal. -When used with the [[ command, this performs pattern matching as -described above (see section 3.2.4.2 Conditional Constructs). -

    - -`=' should be used with the test command for POSIX conformance. -

    - -

    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. -

    - -

    arg1 OP arg2 -
    OP is one of -`-eq', `-ne', `-lt', `-le', `-gt', or `-ge'. -These arithmetic binary operators return true if arg1 +

    +
    +
    file1 -nt file2
    +

    True if file1 is newer (according to modification date) +than file2, or if file1 exists and file2 does not. +

    +
    +
    file1 -ot file2
    +

    True if file1 is older than file2, +or if file2 exists and file1 does not. +

    +
    +
    -o optname
    +

    True if the shell option optname is enabled. +The list of options appears in the description of the -o +option to the set builtin (see The Set Builtin). +

    +
    +
    -v varname
    +

    True if the shell variable varname is set (has been assigned a value). +

    +
    +
    -R varname
    +

    True if the shell variable varname is set and is a name reference. +

    +
    +
    -z string
    +

    True if the length of string is zero. +

    +
    +
    -n string
    +
    string
    +

    True if the length of string is non-zero. +

    +
    +
    string1 == string2
    +
    string1 = string2
    +

    True if the strings are equal. +When used with the [[ command, this performs pattern matching as +described above (see Conditional Constructs). +

    +

    =’ should be used with the test command for POSIX conformance. +

    +
    +
    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. +

    +
    +
    arg1 OP arg2
    +

    OP is one of +‘-eq’, ‘-ne’, ‘-lt’, ‘-le’, ‘-gt’, or ‘-ge’. +These arithmetic binary operators return true if arg1 is equal to, not equal to, less than, less than or equal to, -greater than, or greater than or equal to arg2, -respectively. Arg1 and arg2 +greater than, or greater than or equal to arg2, +respectively. Arg1 and arg2 may be positive or negative integers. -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.5 Shell Arithmetic

    - -

    - -The shell allows arithmetic expressions to be evaluated, as one of -the shell expansions or by the let and the `-i' option -to the declare builtins. -

    - -Evaluation is done in fixed-width integers with no check for overflow, +

    + + +
    + + + +

    6.5 Shell Arithmetic

    + + + + + + +

    The shell allows arithmetic expressions to be evaluated, as one of +the shell expansions or by using the (( compound command, the +let builtin, or the -i option to the declare builtin. +

    +

    Evaluation is done in fixed-width integers with no check for overflow, though division by 0 is trapped and flagged as an error. The operators and their precedence, associativity, and values are the same as in the C language. 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 and post-decrement -

    - -

    ++id --id -
    variable pre-increment and pre-decrement -

    - -

    - + -
    unary minus and plus -

    - -

    ! ~ -
    logical and bitwise negation -

    - -

    ** -
    exponentiation -

    - -

    * / % -
    multiplication, division, remainder -

    - -

    + - -
    addition, subtraction -

    - -

    << >> -
    left and right bitwise shifts -

    - -

    <= >= < > -
    comparison -

    - -

    == != -
    equality and inequality -

    - -

    & -
    bitwise AND -

    - -

    ^ -
    bitwise exclusive OR -

    - -

    | -
    bitwise OR -

    - -

    && -
    logical AND -

    - -

    || -
    logical OR -

    - -

    expr ? expr : expr -
    conditional operator -

    - -

    = *= /= %= += -= <<= >>= &= ^= |= -
    assignment -

    - -

    expr1 , expr2 -
    comma -
    -

    - -Shell variables are allowed as operands; parameter expansion is +

    +
    +
    id++ id--
    +

    variable post-increment and post-decrement +

    +
    +
    ++id --id
    +

    variable pre-increment and pre-decrement +

    +
    +
    - +
    +

    unary minus and plus +

    +
    +
    ! ~
    +

    logical and bitwise negation +

    +
    +
    **
    +

    exponentiation +

    +
    +
    * / %
    +

    multiplication, division, remainder +

    +
    +
    + -
    +

    addition, subtraction +

    +
    +
    << >>
    +

    left and right bitwise shifts +

    +
    +
    <= >= < >
    +

    comparison +

    +
    +
    == !=
    +

    equality and inequality +

    +
    +
    &
    +

    bitwise AND +

    +
    +
    ^
    +

    bitwise exclusive OR +

    +
    +
    |
    +

    bitwise OR +

    +
    +
    &&
    +

    logical AND +

    +
    +
    ||
    +

    logical OR +

    +
    +
    expr ? expr : expr
    +

    conditional operator +

    +
    +
    = *= /= %= += -= <<= >>= &= ^= |=
    +

    assignment +

    +
    +
    expr1 , expr2
    +

    comma +

    +
    + +

    Shell variables are allowed as operands; parameter expansion is performed before the expression is evaluated. Within an expression, shell variables may also be referenced by name without using the parameter expansion syntax. @@ -8665,59 +8187,47 @@ A shell variable that is null or unset evaluates to 0 when referenced by name without using the parameter expansion syntax. The value of a variable is evaluated as an arithmetic expression when it is referenced, or when a variable which has been given the -integer attribute using `declare -i' is assigned a value. +integer attribute using ‘declare -i’ is assigned a value. A null value evaluates to 0. -A shell variable need not have its integer attribute turned on +A shell variable need not have its integer attribute turned on to be used in an expression. -

    - -Constants with a leading 0 are interpreted as octal numbers. -A leading `0x' or `0X' denotes hexadecimal. Otherwise, -numbers take the form [base#]n, where the optional base +

    +

    Constants with a leading 0 are interpreted as octal numbers. +A leading ‘0x’ or ‘0X’ denotes hexadecimal. Otherwise, +numbers take the form [base#]n, where the optional base is a decimal number between 2 and 64 representing the arithmetic -base, and n is a number in that base. -If base# is omitted, then base 10 is used. -When specifying n, -he digits greater than 9 are represented by the lowercase letters, -the uppercase letters, `@', and `_', in that order. -If base is less than or equal to 36, lowercase and uppercase +base, and n is a number in that base. +If base# is omitted, then base 10 is used. +When specifying n, +the digits greater than 9 are represented by the lowercase letters, +the uppercase letters, ‘@’, and ‘_’, in that order. +If base is less than or equal to 36, lowercase and uppercase letters may be used interchangeably to represent numbers between 10 and 35. -

    - -Operators are evaluated in order of precedence. Sub-expressions in +

    +

    Operators are evaluated in order of precedence. Sub-expressions in parentheses are evaluated first and may override the precedence rules above. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.6 Aliases

    - -

    - -Aliases allow a string to be substituted for a word when it is used +

    +
    + +
    +

    +Next: , Previous: , Up: Bash Features   [Contents][Index]

    +
    + +

    6.6 Aliases

    + + +

    Aliases allow a string to be substituted for a word when it is used as the first word of a simple command. The shell maintains a list of aliases that may be set and unset with -the alias and unalias builtin commands. -

    - -The first word of each simple command, if unquoted, is checked to see +the alias and unalias builtin commands. +

    +

    The first word of each simple command, if unquoted, is checked to see if it has an alias. If so, that word is replaced by the text of the alias. -The characters `/', `$', ``', `=' and any of the +The characters ‘/’, ‘$’, ‘`’, ‘=’ and any of the shell metacharacters or quoting characters listed above may not appear in an alias name. The replacement text may contain any valid @@ -8725,30 +8235,26 @@ shell input, including shell metacharacters. The first word of the replacement text is tested for aliases, but a word that is identical to an alias being expanded is not expanded a second time. -This means that one may alias ls to "ls -F", +This means that one may alias ls to "ls -F", for instance, and Bash does not try to recursively expand the replacement text. If the last character of the alias value is a -blank, then the next command word following the +blank, then the next command word following the alias is also checked for alias expansion. -

    - -Aliases are created and listed with the alias -command, and removed with the unalias command. -

    - -There is no mechanism for using arguments in the replacement text, -as in csh. +

    +

    Aliases are created and listed with the alias +command, and removed with the unalias command. +

    +

    There is no mechanism for using arguments in the replacement text, +as in csh. If arguments are needed, a shell function should be used -(see section 3.3 Shell Functions). -

    - -Aliases are not expanded when the shell is not interactive, -unless the expand_aliases shell option is set using -shopt (see section 4.3.2 The Shopt Builtin). -

    - -The rules concerning the definition and use of aliases are +(see Shell Functions). +

    +

    Aliases are not expanded when the shell is not interactive, +unless the expand_aliases shell option is set using +shopt (see The Shopt Builtin). +

    +

    The rules concerning the definition and use of aliases are somewhat confusing. Bash always reads at least one complete line of input before executing any @@ -8761,2334 +8267,2135 @@ on that line are not affected by the new alias. This behavior is also an issue when functions are executed. Aliases are expanded when a function definition is read, not when the function is executed, because a function definition -is itself a compound command. As a consequence, aliases +is itself a command. As a consequence, aliases defined in a function are not available until after that function is executed. To be safe, always put -alias definitions on a separate line, and do not use alias +alias definitions on a separate line, and do not use alias in compound commands. -

    - -For almost every purpose, shell functions are preferred over aliases. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.7 Arrays

    - -

    - -Bash provides one-dimensional indexed and associative array variables. +

    +

    For almost every purpose, shell functions are preferred over aliases. +

    +
    + +
    +

    +Next: , Previous: , Up: Bash Features   [Contents][Index]

    +
    + +

    6.7 Arrays

    + + +

    Bash provides one-dimensional indexed and associative array variables. Any variable may be used as an indexed array; -the declare builtin will explicitly declare an array. +the declare builtin will explicitly declare an array. There is no maximum limit on the size of an array, nor any requirement that members be indexed or assigned contiguously. Indexed arrays are referenced using integers (including arithmetic -expressions (see section 6.5 Shell Arithmetic)) and are zero-based; +expressions (see Shell Arithmetic)) and are zero-based; associative arrays use arbitrary strings. Unless otherwise noted, indexed array indices must be non-negative integers. -

    - -An indexed array is created automatically if any variable is assigned to +

    +

    An indexed array is created automatically if any variable is assigned to using the syntax -
     
    name[subscript]=value
    -

    +

    +
    name[subscript]=value
    +
    -The subscript +

    The subscript is treated as an arithmetic expression that must evaluate to a number. To explicitly declare an array, use -
     
    declare -a name
    -
    The syntax -
     
    declare -a name[subscript]
    -
    is also accepted; the subscript is ignored. -

    - -Associative arrays are created using -
     
    declare -A name.
    -

    - -Attributes may be -specified for an array variable using the declare and -readonly builtins. Each attribute applies to all members of +

    +
    declare -a name
    +
    +

    The syntax +

    +
    declare -a name[subscript]
    +
    +

    is also accepted; the subscript is ignored. +

    +

    Associative arrays are created using +

    +
    declare -A name.
    +
    + +

    Attributes may be +specified for an array variable using the declare and +readonly builtins. Each attribute applies to all members of an array. -

    - -Arrays are assigned to using compound assignments of the form -
     
    name=(value1 value2 ... )
    -
    where each -value is of the form [subscript]=string. -Indexed array assignments do not require anything but string. +

    +

    Arrays are assigned to using compound assignments of the form +

    +
    name=(value1 value2 … )
    +
    +

    where each +value is of the form [subscript]=string. +Indexed array assignments do not require anything but string. When assigning to indexed arrays, if the optional subscript is supplied, that index is assigned to; otherwise the index of the element assigned is the last index assigned to by the statement plus one. Indexing starts at zero. -

    - -When assigning to an associative array, the subscript is required. -

    - -This syntax is also accepted by the declare +

    +

    When assigning to an associative array, the subscript is required. +

    +

    This syntax is also accepted by the declare builtin. Individual array elements may be assigned to using the -name[subscript]=value syntax introduced above. -

    - -When assigning to an indexed array, if name +name[subscript]=value syntax introduced above. +

    +

    When assigning to an indexed array, if name is subscripted by a negative number, that number is interpreted as relative to one greater than the maximum index of -name, so negative indices count back from the end of the +name, so negative indices count back from the end of the array, and an index of -1 references the last element. -

    - -Any element of an array may be referenced using -${name[subscript]}. +

    +

    Any element of an array may be referenced using +${name[subscript]}. The braces are required to avoid -conflicts with the shell's filename expansion operators. If the -subscript is `@' or `*', the word expands to all members -of the array name. These subscripts differ only when the word +conflicts with the shell’s filename expansion operators. If the +subscript is ‘@’ or ‘*’, the word expands to all members +of the array name. These subscripts differ only when the word appears within double quotes. If the word is double-quoted, -${name[*]} expands to a single word with +${name[*]} expands to a single word with the value of each array member separated by the first character of the -IFS variable, and ${name[@]} expands each element of -name to a separate word. When there are no array members, -${name[@]} expands to nothing. +IFS variable, and ${name[@]} expands each element of +name to a separate word. When there are no array members, +${name[@]} expands to nothing. If the double-quoted expansion occurs within a word, the expansion of the first parameter is joined with the beginning part of the original word, and the expansion of the last parameter is joined with the last part of the original word. This is analogous to the -expansion of the special parameters `@' and `*'. -${#name[subscript]} expands to the length of -${name[subscript]}. -If subscript is `@' or -`*', the expansion is the number of elements in the array. -Referencing an array variable without a subscript is equivalent to -referencing with a subscript of 0. -If the subscript +expansion of the special parameters ‘@’ and ‘*’. +${#name[subscript]} expands to the length of +${name[subscript]}. +If subscript is ‘@’ or +‘*’, the expansion is the number of elements in the array. +If the subscript used to reference an element of an indexed array -evaluates to a number less than zero, it is +evaluates to a number less than zero, it is interpreted as relative to one greater than the maximum index of the array, so negative indices count back from the end of the array, and an index of -1 refers to the last element. -

    - -An array variable is considered set if a subscript has been assigned a +

    +

    Referencing an array variable without a subscript is equivalent to +referencing with a subscript of 0. +Any reference to a variable using a valid subscript is legal, and +bash will create an array if necessary. +

    +

    An array variable is considered set if a subscript has been assigned a value. The null string is a valid value. -

    - -It is possible to obtain the keys (indices) of an array as well as the values. -${!name[@]} and ${!name[*]} expand to the indices -assigned in array variable name. +

    +

    It is possible to obtain the keys (indices) of an array as well as the values. +${!name[@]} and ${!name[*]} expand to the indices +assigned in array variable name. The treatment when in double quotes is similar to the expansion of the -special parameters `@' and `*' within double quotes. -

    - -The unset builtin is used to destroy arrays. -unset name[subscript] -destroys the array element at index subscript. +special parameters ‘@’ and ‘*’ within double quotes. +

    +

    The unset builtin is used to destroy arrays. +unset name[subscript] +destroys the array element at index subscript. Negative subscripts to indexed arrays are interpreted as described above. Care must be taken to avoid unwanted side effects caused by filename expansion. -unset name, where name is an array, removes the -entire array. A subscript of `*' or `@' also removes the +unset name, where name is an array, removes the +entire array. A subscript of ‘*’ or ‘@’ also removes the entire array. -

    - -The declare, local, and readonly -builtins each accept a `-a' option to specify an indexed -array and a `-A' option to specify an associative array. -If both options are supplied, `-A' takes precedence. -The read builtin accepts a `-a' +

    +

    The declare, local, and readonly +builtins each accept a -a option to specify an indexed +array and a -A option to specify an associative array. +If both options are supplied, -A takes precedence. +The read builtin accepts a -a option to assign a list of words read from the standard input to an array, and can read values from the standard input into -individual array elements. The set and declare +individual array elements. The set and declare builtins display array values in a way that allows them to be reused as input. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.8 The Directory Stack

    - -

    - -

    - -
    6.8.1 Directory Stack Builtins  Bash builtin commands to manipulate - the directory stack.
    -

    - -The directory stack is a list of recently-visited directories. The -pushd builtin adds directories to the stack as it changes -the current directory, and the popd builtin removes specified +

    +
    + +
    +

    +Next: , Previous: , Up: Bash Features   [Contents][Index]

    +
    + +

    6.8 The Directory Stack

    + + + + + + +

    The directory stack is a list of recently-visited directories. The +pushd builtin adds directories to the stack as it changes +the current directory, and the popd builtin removes specified directories from the stack and changes the current directory to -the directory removed. The dirs builtin displays the contents +the directory removed. The dirs builtin displays the contents +of the directory stack. The current directory is always the "top" of the directory stack. -

    - -The contents of the directory stack are also visible -as the value of the DIRSTACK shell variable. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.8.1 Directory Stack Builtins

    - -

    - -

    - -
    dirs -
    -
     
    dirs [-clpv] [+N | -N]
    -

    - -Display the list of currently remembered directories. Directories -are added to the list with the pushd command; the -popd command removes directories from the list. -

    - -

    -
    -c -
    Clears the directory stack by deleting all of the elements. -
    -l -
    Produces a listing using full pathnames; +

    +

    The contents of the directory stack are also visible +as the value of the DIRSTACK shell variable. +

    +
    + + + +

    6.8.1 Directory Stack Builtins

    + +
    +
    dirs
    +
    +
    +
    dirs [-clpv] [+N | -N]
    +
    + +

    Display the list of currently remembered directories. Directories +are added to the list with the pushd command; the +popd command removes directories from the list. +The current directory is always the first directory in the stack. +

    +
    +
    -c
    +

    Clears the directory stack by deleting all of the elements. +

    +
    -l
    +

    Produces a listing using full pathnames; the default listing format uses a tilde to denote the home directory. -

    -p -
    Causes dirs to print the directory stack with one entry per +

    +
    -p
    +

    Causes dirs to print the directory stack with one entry per line. -

    -v -
    Causes dirs to print the directory stack with one entry per +

    +
    -v
    +

    Causes dirs to print the directory stack with one entry per line, prefixing each entry with its index in the stack. -

    +N -
    Displays the Nth directory (counting from the left of the -list printed by dirs when invoked without options), starting +

    +
    +N
    +

    Displays the Nth directory (counting from the left of the +list printed by dirs when invoked without options), starting with zero. -

    -N -
    Displays the Nth directory (counting from the right of the -list printed by dirs when invoked without options), starting +

    +
    -N
    +

    Displays the Nth directory (counting from the right of the +list printed by dirs when invoked without options), starting with zero. -

    -

    +

    +
    -
    popd -
    -
     
    popd [-n] [+N | -N]
    -

    +

    +
    popd
    +
    +
    +
    popd [-n] [+N | -N]
    +
    -Remove the top entry from the directory stack, and cd -to the new top directory. -When no arguments are given, popd +

    When no arguments are given, popd removes the top directory from the stack and -performs a cd to the new top directory. The -elements are numbered from 0 starting at the first directory listed with -dirs; that is, popd is equivalent to popd +0. -

    - -

    -
    -n -
    Suppresses the normal change of directory when removing directories +performs a cd to the new top directory. +The elements are numbered from 0 starting at the first directory +listed with dirs; that is, popd is equivalent to popd +0. +

    +
    +
    -n
    +

    Suppresses the normal change of directory when removing directories from the stack, so that only the stack is manipulated. -

    +N -
    Removes the Nth directory (counting from the left of the -list printed by dirs), starting with zero. -
    -N -
    Removes the Nth directory (counting from the right of the -list printed by dirs), starting with zero. -
    -

    - - -

    pushd -
     
    pushd [-n] [+N | -N | dir]
    -

    - -Save the current directory on the top of the directory stack -and then cd to dir. -With no arguments, pushd exchanges the top two directories. -

    - -

    -
    -n -
    Suppresses the normal change of directory when adding directories -to the stack, so that only the stack is manipulated. -
    +N -
    Brings the Nth directory (counting from the left of the -list printed by dirs, starting with zero) to the top of +

    +
    +N
    +

    Removes the Nth directory (counting from the left of the +list printed by dirs), starting with zero. +

    +
    -N
    +

    Removes the Nth directory (counting from the right of the +list printed by dirs), starting with zero. +

    +
    + + +
    +
    pushd
    +
    +
    pushd [-n] [+N | -N | dir]
    +
    + +

    Save the current directory on the top of the directory stack +and then cd to dir. +With no arguments, pushd exchanges the top two directories +and makes the new top the current directory. +

    +
    +
    -n
    +

    Suppresses the normal change of directory when rotating or +adding directories to the stack, so that only the stack is manipulated. +

    +
    +N
    +

    Brings the Nth directory (counting from the left of the +list printed by dirs, starting with zero) to the top of the list by rotating the stack. -

    -N -
    Brings the Nth directory (counting from the right of the -list printed by dirs, starting with zero) to the top of +

    +
    -N
    +

    Brings the Nth directory (counting from the right of the +list printed by dirs, starting with zero) to the top of the list by rotating the stack. -

    dir -
    Makes the current working directory be the top of the stack, making +

    +
    dir
    +

    Makes dir be the top of the stack, making it the new current directory as if it had been supplied as an argument -to the cd builtin. -

    -
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.9 Controlling the Prompt

    - -

    - -The value of the variable PROMPT_COMMAND is examined just before -Bash prints each primary prompt. If PROMPT_COMMAND is set and +to the cd builtin. +

    +
    +
    +
    + +
    + + + +

    6.9 Controlling the Prompt

    + + +

    The value of the variable PROMPT_COMMAND is examined just before +Bash prints each primary prompt. If PROMPT_COMMAND is set and has a non-null value, then the value is executed just as if it had been typed on the command line. -

    - -In addition, the following table describes the special characters which -can appear in the prompt variables PS1 to PS4: -

    - -

    -
    \a -
    A bell character. -
    \d -
    The date, in "Weekday Month Date" format (e.g., "Tue May 26"). -
    \D{format} -
    The format is passed to strftime(3) and the result is inserted -into the prompt string; an empty format results in a locale-specific +

    +

    In addition, the following table describes the special characters which +can appear in the prompt variables PS1 to PS4: +

    +
    +
    \a
    +

    A bell character. +

    +
    \d
    +

    The date, in "Weekday Month Date" format (e.g., "Tue May 26"). +

    +
    \D{format}
    +

    The format is passed to strftime(3) and the result is inserted +into the prompt string; an empty format results in a locale-specific time representation. The braces are required. -

    \e -
    An escape character. -
    \h -
    The hostname, up to the first `.'. -
    \H -
    The hostname. -
    \j -
    The number of jobs currently managed by the shell. -
    \l -
    The basename of the shell's terminal device name. -
    \n -
    A newline. -
    \r -
    A carriage return. -
    \s -
    The name of the shell, the basename of $0 (the portion +

    +
    \e
    +

    An escape character. +

    +
    \h
    +

    The hostname, up to the first ‘.’. +

    +
    \H
    +

    The hostname. +

    +
    \j
    +

    The number of jobs currently managed by the shell. +

    +
    \l
    +

    The basename of the shell’s terminal device name. +

    +
    \n
    +

    A newline. +

    +
    \r
    +

    A carriage return. +

    +
    \s
    +

    The name of the shell, the basename of $0 (the portion following the final slash). -

    \t -
    The time, in 24-hour HH:MM:SS format. -
    \T -
    The time, in 12-hour HH:MM:SS format. -
    \@ -
    The time, in 12-hour am/pm format. -
    \A -
    The time, in 24-hour HH:MM format. -
    \u -
    The username of the current user. -
    \v -
    The version of Bash (e.g., 2.00) -
    \V -
    The release of Bash, version + patchlevel (e.g., 2.00.0) -
    \w -
    The current working directory, with $HOME abbreviated with a tilde -(uses the $PROMPT_DIRTRIM variable). -
    \W -
    The basename of $PWD, with $HOME abbreviated with a tilde. -
    \! -
    The history number of this command. -
    \# -
    The command number of this command. -
    \$ -
    If the effective uid is 0, #, otherwise $. -
    \nnn -
    The character whose ASCII code is the octal value nnn. -
    \\ -
    A backslash. -
    \[ -
    Begin a sequence of non-printing characters. This could be used to +

    +
    \t
    +

    The time, in 24-hour HH:MM:SS format. +

    +
    \T
    +

    The time, in 12-hour HH:MM:SS format. +

    +
    \@
    +

    The time, in 12-hour am/pm format. +

    +
    \A
    +

    The time, in 24-hour HH:MM format. +

    +
    \u
    +

    The username of the current user. +

    +
    \v
    +

    The version of Bash (e.g., 2.00) +

    +
    \V
    +

    The release of Bash, version + patchlevel (e.g., 2.00.0) +

    +
    \w
    +

    The current working directory, with $HOME abbreviated with a tilde +(uses the $PROMPT_DIRTRIM variable). +

    +
    \W
    +

    The basename of $PWD, with $HOME abbreviated with a tilde. +

    +
    \!
    +

    The history number of this command. +

    +
    \#
    +

    The command number of this command. +

    +
    \$
    +

    If the effective uid is 0, #, otherwise $. +

    +
    \nnn
    +

    The character whose ASCII code is the octal value nnn. +

    +
    \\
    +

    A backslash. +

    +
    \[
    +

    Begin a sequence of non-printing characters. This could be used to embed a terminal control sequence into the prompt. -

    \] -
    End a sequence of non-printing characters. -
    -

    +

    +
    \]
    +

    End a sequence of non-printing characters. +

    +
    -The command number and the history number are usually different: +

    The command number and the history number are usually different: the history number of a command is its position in the history list, which may include commands restored from the history file -(see section 9.1 Bash History Facilities), while the command number is +(see Bash History Facilities), while the command number is the position in the sequence of commands executed during the current shell session. -

    - -After the string is decoded, it is expanded via +

    +

    After the string is decoded, it is expanded via parameter expansion, command substitution, arithmetic expansion, and quote removal, subject to the value of the -promptvars shell option (see section 4.2 Bash Builtin Commands). -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.10 The Restricted Shell

    - -

    - -If Bash is started with the name rbash, or the -`--restricted' +promptvars shell option (see Bash Builtins). +

    +
    + + + +

    6.10 The Restricted Shell

    + + +

    If Bash is started with the name rbash, or the +--restricted or -`-r' +-r option is supplied at invocation, the shell becomes restricted. A restricted shell is used to set up an environment more controlled than the standard shell. -A restricted shell behaves identically to bash +A restricted shell behaves identically to bash with the exception that the following are disallowed or not performed: -

    - -

      -
    • -Changing directories with the cd builtin. -
    • -Setting or unsetting the values of the SHELL, PATH, -ENV, or BASH_ENV variables. -
    • -Specifying command names containing slashes. -
    • -Specifying a filename containing a slash as an argument to the . +

      +
        +
      • Changing directories with the cd builtin. +
      • Setting or unsetting the values of the SHELL, PATH, +ENV, or BASH_ENV variables. +
      • Specifying command names containing slashes. +
      • Specifying a filename containing a slash as an argument to the . builtin command. -
      • -Specifying a filename containing a slash as an argument to the `-p' -option to the hash builtin command. -
      • -Importing function definitions from the shell environment at startup. -
      • -Parsing the value of SHELLOPTS from the shell environment at startup. -
      • -Redirecting output using the `>', `>|', `<>', `>&', -`&>', and `>>' redirection operators. -
      • -Using the exec builtin to replace the shell with another command. -
      • -Adding or deleting builtin commands with the -`-f' and `-d' options to the enable builtin. -
      • -Using the enable builtin command to enable disabled shell builtins. -
      • -Specifying the `-p' option to the command builtin. -
      • -Turning off restricted mode with `set +r' or `set +o restricted'. -
      -

      - -These restrictions are enforced after any startup files are read. -

      - -When a command that is found to be a shell script is executed -(see section 3.8 Shell Scripts), rbash turns off any restrictions in +

    • Specifying a filename containing a slash as an argument to the -p +option to the hash builtin command. +
    • Importing function definitions from the shell environment at startup. +
    • Parsing the value of SHELLOPTS from the shell environment at startup. +
    • Redirecting output using the ‘>’, ‘>|’, ‘<>’, ‘>&’, +‘&>’, and ‘>>’ redirection operators. +
    • Using the exec builtin to replace the shell with another command. +
    • Adding or deleting builtin commands with the +-f and -d options to the enable builtin. +
    • Using the enable builtin command to enable disabled shell builtins. +
    • Specifying the -p option to the command builtin. +
    • Turning off restricted mode with ‘set +r’ or ‘set +o restricted’. +
    + +

    These restrictions are enforced after any startup files are read. +

    +

    When a command that is found to be a shell script is executed +(see Shell Scripts), rbash turns off any restrictions in the shell spawned to execute the script. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    6.11 Bash POSIX Mode

    - -

    - -Starting Bash with the `--posix' command-line option or executing -`set -o posix' while Bash is running will cause Bash to conform more -closely to the POSIX standard by changing the behavior to -match that specified by POSIX in areas where the Bash default differs. -

    - -When invoked as sh, Bash enters POSIX mode after reading the +

    +
    + + + +

    6.11 Bash POSIX Mode

    + + +

    Starting Bash with the --posix command-line option or executing +‘set -o posix’ while Bash is running will cause Bash to conform more +closely to the POSIX standard by changing the behavior to +match that specified by POSIX in areas where the Bash default differs. +

    +

    When invoked as sh, Bash enters POSIX mode after reading the startup files. -

    - -The following list is what's changed when `POSIX mode' is in effect: -

    - -

      -
    1. -When a command in the hash table no longer exists, Bash will re-search -$PATH to find the new location. This is also available with -`shopt -s checkhash'. -

      - -

    2. -The message printed by the job control code and builtins when a job -exits with a non-zero status is `Done(status)'. -

      - -

    3. -The message printed by the job control code and builtins when a job -is stopped is `Stopped(signame)', where signame is, for -example, SIGTSTP. -

      - -

    4. -The bg builtin uses the required format to describe each job placed -in the background, which does not include an indication of whether the job -is the current or previous job. -

      +

      +

      The following list is what’s changed when ‘POSIX mode’ is in effect: +

      +
        +
      1. When a command in the hash table no longer exists, Bash will re-search +$PATH to find the new location. This is also available with +‘shopt -s checkhash’. -
      2. -Reserved words appearing in a context where reserved words are recognized -do not undergo alias expansion. -

        +

      3. The message printed by the job control code and builtins when a job +exits with a non-zero status is ‘Done(status)’. -
      4. -The POSIX PS1 and PS2 expansions of `!' to -the history number and `!!' to `!' are enabled, -and parameter expansion is performed on the values of PS1 and -PS2 regardless of the setting of the promptvars option. -

        +

      5. The message printed by the job control code and builtins when a job +is stopped is ‘Stopped(signame)’, where signame is, for +example, SIGTSTP. -
      6. -The POSIX startup files are executed ($ENV) rather than -the normal Bash files. -

        +

      7. Alias expansion is always enabled, even in non-interactive shells. -
      8. -Tilde expansion is only performed on assignments preceding a command -name, rather than on all assignment statements on the line. -

        +

      9. Reserved words appearing in a context where reserved words are recognized +do not undergo alias expansion. -
      10. -The command builtin does not prevent builtins that take assignment -statements as arguments from expanding them as assignment statements; -when not in POSIX mode, assignment builtins lose their assignment -statement expansion properties when preceded by command. -

        - -

      11. -The default history file is `~/.sh_history' (this is the -default value of $HISTFILE). -

        - -

      12. -The output of `kill -l' prints all the signal names on a single line, -separated by spaces, without the `SIG' prefix. -

        - -

      13. -The kill builtin does not accept signal names with a `SIG' -prefix. -

        +

      14. The POSIX PS1 and PS2 expansions of ‘!’ to +the history number and ‘!!’ to ‘!’ are enabled, +and parameter expansion is performed on the values of PS1 and +PS2 regardless of the setting of the promptvars option. -
      15. -Non-interactive shells exit if filename in . filename -is not found. -

        +

      16. The POSIX startup files are executed ($ENV) rather than +the normal Bash files. -
      17. -Non-interactive shells exit if a syntax error in an arithmetic expansion -results in an invalid expression. -

        +

      18. Tilde expansion is only performed on assignments preceding a command +name, rather than on all assignment statements on the line. -
      19. -Non-interactive shells exit if there is a syntax error in a script read -with the . or source builtins, or in a string processed by -the eval builtin. -

        +

      20. The default history file is ~/.sh_history (this is the +default value of $HISTFILE). -
      21. -Redirection operators do not perform filename expansion on the word +
      22. Redirection operators do not perform filename expansion on the word in the redirection unless the shell is interactive. -

        -

      23. -Redirection operators do not perform word splitting on the word in the +
      24. Redirection operators do not perform word splitting on the word in the redirection. -

        -

      25. -Function names must be valid shell names. That is, they may not +
      26. Function names must be valid shell names. That is, they may not contain characters other than letters, digits, and underscores, and may not start with a digit. Declaring a function with an invalid name causes a fatal syntax error in non-interactive shells. -

        -

      27. -Function names may not be the same as one of the POSIX special +
      28. Function names may not be the same as one of the POSIX special builtins. -

        -

      29. -POSIX special builtins are found before shell functions +
      30. POSIX special builtins are found before shell functions during command lookup. -

        -

      31. -The time reserved word may be used by itself as a command. When +
      32. When printing shell function definitions (e.g., by type), Bash does +not print the function keyword. + +
      33. Literal tildes that appear as the first character in elements of +the PATH variable are not expanded as described above +under Tilde Expansion. + +
      34. The time reserved word may be used by itself as a command. When used in this way, it displays timing statistics for the shell and its -completed children. The TIMEFORMAT variable controls the format +completed children. The TIMEFORMAT variable controls the format of the timing information. -

        -

      35. -When parsing and expanding a ${...} expansion that appears within +
      36. When parsing and expanding a ${…} expansion that appears within double quotes, single quotes are no longer special and cannot be used to quote a closing brace or other special character, unless the operator is one of those defined to perform pattern removal. In this case, they do not have to appear as matched pairs. -

        -

      37. -The parser does not recognize time as a reserved word if the next -token begins with a `-'. -

        +

      38. The parser does not recognize time as a reserved word if the next +token begins with a ‘-’. + +
      39. The ‘!’ character does not introduce history expansion within a +double-quoted string, even if the histexpand option is enabled. -
      40. -If a POSIX special builtin returns an error status, a +
      41. If a POSIX special builtin returns an error status, a non-interactive shell exits. The fatal errors are those listed in -the POSIX standard, and include things like passing incorrect options, +the POSIX standard, and include things like passing incorrect options, redirection errors, variable assignment errors for assignments preceding the command name, and so on. -

        -

      42. -A non-interactive shell exits with an error status if a variable +
      43. A non-interactive shell exits with an error status if a variable assignment error occurs when no command name follows the assignment statements. A variable assignment error occurs, for example, when trying to assign a value to a readonly variable. -

        -

      44. -A non-interactive shell exits with an error status if a variable +
      45. A non-interactive shell exits with an error status if a variable assignment error occurs in an assignment statement preceding a special builtin, but not with any other simple command. -

        -

      46. -A non-interactive shell exits with an error status if the iteration -variable in a for statement or the selection variable in a -select statement is a readonly variable. -

        +

      47. A non-interactive shell exits with an error status if the iteration +variable in a for statement or the selection variable in a +select statement is a readonly variable. -
      48. -Process substitution is not available. -

        +

      49. Non-interactive shells exit if filename in . filename +is not found. + +
      50. Non-interactive shells exit if a syntax error in an arithmetic expansion +results in an invalid expression. + +
      51. Non-interactive shells exit if a parameter expansion error occurs. -
      52. -While variable indirection is available, it may not be applied to the -`#' and `?' special parameters. -

        +

      53. Non-interactive shells exit if there is a syntax error in a script read +with the . or source builtins, or in a string processed by +the eval builtin. + +
      54. Process substitution is not available. + +
      55. While variable indirection is available, it may not be applied to the +‘#’ and ‘?’ special parameters. + +
      56. When expanding the ‘*’ special parameter in a pattern context where the +expansion is double-quoted does not treat the $* as if it were +double-quoted. -
      57. -Assignment statements preceding POSIX special builtins +
      58. Assignment statements preceding POSIX special builtins persist in the shell environment after the builtin completes. -

        -

      59. -Assignment statements preceding shell function calls persist in the -shell environment after the function returns, as if a POSIX +
      60. Assignment statements preceding shell function calls persist in the +shell environment after the function returns, as if a POSIX special builtin command had been executed. -

        -

      61. -The export and readonly builtin commands display their -output in the format required by POSIX. -

        +

      62. The command builtin does not prevent builtins that take assignment +statements as arguments from expanding them as assignment statements; +when not in POSIX mode, assignment builtins lose their assignment +statement expansion properties when preceded by command. + +
      63. The bg builtin uses the required format to describe each job placed +in the background, which does not include an indication of whether the job +is the current or previous job. + +
      64. The output of ‘kill -l’ prints all the signal names on a single line, +separated by spaces, without the ‘SIG’ prefix. + +
      65. The kill builtin does not accept signal names with a ‘SIG’ +prefix. + +
      66. The export and readonly builtin commands display their +output in the format required by POSIX. -
      67. -The trap builtin displays signal names without the leading -SIG. -

        +

      68. The trap builtin displays signal names without the leading +SIG. -
      69. -The trap builtin doesn't check the first argument for a possible +
      70. The trap builtin doesn’t check the first argument for a possible signal specification and revert the signal handling to the original disposition if it is, unless that argument consists solely of digits and is a valid signal number. If users want to reset the handler for a given -signal to the original disposition, they should use `-' as the +signal to the original disposition, they should use ‘-’ as the first argument. -

        - -

      71. -The . and source builtins do not search the current directory -for the filename argument if it is not found by searching PATH. -

        - -

      72. -Subshells spawned to execute command substitutions inherit the value of -the `-e' option from the parent shell. When not in POSIX mode, -Bash clears the `-e' option in such subshells. -

        - -

      73. -Alias expansion is always enabled, even in non-interactive shells. -

        - -

      74. -When the alias builtin displays alias definitions, it does not -display them with a leading `alias ' unless the `-p' option + +
      75. The . and source builtins do not search the current directory +for the filename argument if it is not found by searching PATH. + +
      76. Enabling POSIX mode has the effect of setting the +inherit_errexit option, so +subshells spawned to execute command substitutions inherit the value of +the -e option from the parent shell. +When the inherit_errexit option is not enabled, +Bash clears the -e option in such subshells. + +
      77. When the alias builtin displays alias definitions, it does not +display them with a leading ‘alias ’ unless the -p option is supplied. -

        -

      78. -When the set builtin is invoked without options, it does not display +
      79. When the set builtin is invoked without options, it does not display shell function names and definitions. -

        -

      80. -When the set builtin is invoked without options, it displays +
      81. When the set builtin is invoked without options, it displays variable values without quotes, unless they contain shell metacharacters, even if the result contains nonprinting characters. -

        -

      82. -When the cd builtin is invoked in logical mode, and the pathname -constructed from $PWD and the directory name supplied as an argument -does not refer to an existing directory, cd will fail instead of -falling back to physical mode. -

        +

      83. When the cd builtin is invoked in logical mode, and the pathname +constructed from $PWD and the directory name supplied as an argument +does not refer to an existing directory, cd will fail instead of +falling back to physical mode. -
      84. -The pwd builtin verifies that the value it prints is the same as the +
      85. The pwd builtin verifies that the value it prints is the same as the current directory, even if it is not asked to check the file system with the -`-P' option. -

        +-P option. -

      86. -When listing the history, the fc builtin does not include an +
      87. When listing the history, the fc builtin does not include an indication of whether or not a history entry has been modified. -

        -

      88. -The default editor used by fc is ed. -

        +

      89. The default editor used by fc is ed. -
      90. -The type and command builtins will not report a non-executable +
      91. The type and command builtins will not report a non-executable file as having been found, though the shell will attempt to execute such a -file if it is the only so-named file found in $PATH. -

        - -

      92. -The vi editing mode will invoke the vi editor directly when -the `v' command is run, instead of checking $VISUAL and -$EDITOR. -

        - -

      93. -When the xpg_echo option is enabled, Bash does not attempt to interpret -any arguments to echo as options. Each argument is displayed, after +file if it is the only so-named file found in $PATH. + +
      94. The vi editing mode will invoke the vi editor directly when +the ‘v’ command is run, instead of checking $VISUAL and +$EDITOR. + +
      95. When the xpg_echo option is enabled, Bash does not attempt to interpret +any arguments to echo as options. Each argument is displayed, after escape characters are converted. -

        -

      96. -The ulimit builtin uses a block size of 512 bytes for the `-c' -and `-f' options. -

        +

      97. The ulimit builtin uses a block size of 512 bytes for the -c +and -f options. -
      98. -The arrival of SIGCHLD when a trap is set on SIGCHLD does -not interrupt the wait builtin and cause it to return immediately. +
      99. The arrival of SIGCHLD when a trap is set on SIGCHLD does +not interrupt the wait builtin and cause it to return immediately. The trap command is run once for each child that exits. -

        -

      100. -The read builtin may be interrupted by a signal for which a trap +
      101. The read builtin may be interrupted by a signal for which a trap has been set. -If Bash receives a trapped signal while executing read, the trap -handler executes and read returns an exit status greater than 128. -

        +If Bash receives a trapped signal while executing read, the trap +handler executes and read returns an exit status greater than 128. + +

      102. Bash removes an exited background process’s status from the list of such +statuses after the wait builtin is used to obtain it. -
      -

      +

    -There is other POSIX behavior that Bash does not implement by -default even when in POSIX mode. +

    There is other POSIX behavior that Bash does not implement by +default even when in POSIX mode. Specifically: -

    - -

      - -
    1. -The fc builtin checks $EDITOR as a program to edit history -entries if FCEDIT is unset, rather than defaulting directly to -ed. fc uses ed if EDITOR is unset. -

      - -

    2. -As noted above, Bash requires the xpg_echo option to be enabled for -the echo builtin to be fully conformant. -

      - -

    -

    - -Bash can be configured to be POSIX-conformant by default, by specifying -the `--enable-strict-posix-default' to configure when building -(see section 10.8 Optional Features). -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    7. Job Control

    - -

    - -This chapter discusses what job control is, how it works, and how +

    +
      +
    1. The fc builtin checks $EDITOR as a program to edit history +entries if FCEDIT is unset, rather than defaulting directly to +ed. fc uses ed if EDITOR is unset. + +
    2. As noted above, Bash requires the xpg_echo option to be enabled for +the echo builtin to be fully conformant. + +
    + +

    Bash can be configured to be POSIX-conformant by default, by specifying +the --enable-strict-posix-default to configure when building +(see Optional Features). +

    +
    + +
    +

    +Next: , Previous: , Up: Top   [Contents][Index]

    +
    + +

    7 Job Control

    + +

    This chapter discusses what job control is, how it works, and how Bash allows you to access its facilities. -

    - -

    - - - -
    7.1 Job Control Basics  How job control works.
    7.2 Job Control Builtins  Bash builtin commands used to interact - with job control.
    7.3 Job Control Variables  Variables Bash uses to customize job - control.
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    7.1 Job Control Basics

    - -

    - -Job control +

    + + + + + + +
    + + + +

    7.1 Job Control Basics

    + + + + + +

    Job control refers to the ability to selectively stop (suspend) the execution of processes and continue (resume) their execution at a later point. A user typically employs this facility via an interactive interface supplied jointly -by the operating system kernel's terminal driver and Bash. -

    - -The shell associates a job with each pipeline. It keeps a +by the operating system kernel’s terminal driver and Bash. +

    +

    The shell associates a job with each pipeline. It keeps a table of currently executing jobs, which may be listed with the -jobs command. When Bash starts a job +jobs command. When Bash starts a job asynchronously, it prints a line that looks like: -
     
    [1] 25647
    -
    indicating that this job is job number 1 and that the process ID +

    +
    [1] 25647
    +
    +

    indicating that this job is job number 1 and that the process ID of the last process in the pipeline associated with this job is 25647. All of the processes in a single pipeline are members of -the same job. Bash uses the job abstraction as the +the same job. Bash uses the job abstraction as the basis for job control. -

    - -To facilitate the implementation of the user interface to job +

    +

    To facilitate the implementation of the user interface to job control, the operating system maintains the notion of a current terminal -process group ID. Members of this process group (processes whose -process group ID is equal to the current terminal process group -ID) receive keyboard-generated signals such as SIGINT. +process group ID. Members of this process group (processes whose +process group ID is equal to the current terminal process group +ID) receive keyboard-generated signals such as SIGINT. These processes are said to be in the foreground. Background -processes are those whose process group ID differs from the -terminal's; such processes are immune to keyboard-generated +processes are those whose process group ID differs from the +terminal’s; such processes are immune to keyboard-generated signals. Only foreground processes are allowed to read from or, if -the user so specifies with stty tostop, write to the terminal. +the user so specifies with stty tostop, write to the terminal. Background processes which attempt to -read from (write to when stty tostop is in effect) the -terminal are sent a SIGTTIN (SIGTTOU) -signal by the kernel's terminal driver, +read from (write to when stty tostop is in effect) the +terminal are sent a SIGTTIN (SIGTTOU) +signal by the kernel’s terminal driver, which, unless caught, suspends the process. -

    - -If the operating system on which Bash is running supports +

    +

    If the operating system on which Bash is running supports job control, Bash contains facilities to use it. Typing the -suspend character (typically `^Z', Control-Z) while a +suspend character (typically ‘^Z’, Control-Z) while a process is running causes that process to be stopped and returns -control to Bash. Typing the delayed suspend character -(typically `^Y', Control-Y) causes the process to be stopped +control to Bash. Typing the delayed suspend character +(typically ‘^Y’, Control-Y) causes the process to be stopped when it attempts to read input from the terminal, and control to be returned to Bash. The user then manipulates the state of -this job, using the bg command to continue it in the -background, the fg command to continue it in the -foreground, or the kill command to kill it. A `^Z' +this job, using the bg command to continue it in the +background, the fg command to continue it in the +foreground, or the kill command to kill it. A ‘^Z’ takes effect immediately, and has the additional side effect of causing pending output and typeahead to be discarded. -

    - -There are a number of ways to refer to a job in the shell. The -character `%' introduces a job specification (jobspec). -

    - -Job number n may be referred to as `%n'. -The symbols `%%' and `%+' refer to the shell's notion of the +

    +

    There are a number of ways to refer to a job in the shell. The +character ‘%’ introduces a job specification (jobspec). +

    +

    Job number n may be referred to as ‘%n’. +The symbols ‘%%’ and ‘%+’ refer to the shell’s notion of the current job, which is the last job stopped while it was in the foreground or started in the background. -A single `%' (with no accompanying job specification) also refers +A single ‘%’ (with no accompanying job specification) also refers to the current job. -The previous job may be referenced using `%-'. -If there is only a single job, `%+' and `%-' can both be used +The previous job may be referenced using ‘%-’. +If there is only a single job, ‘%+’ and ‘%-’ can both be used to refer to that job. -In output pertaining to jobs (e.g., the output of the jobs -command), the current job is always flagged with a `+', and the -previous job with a `-'. -

    - -A job may also be referred to +In output pertaining to jobs (e.g., the output of the jobs +command), the current job is always flagged with a ‘+’, and the +previous job with a ‘-’. +

    +

    A job may also be referred to using a prefix of the name used to start it, or using a substring -that appears in its command line. For example, `%ce' refers -to a stopped ce job. Using `%?ce', on the -other hand, refers to any job containing the string `ce' in +that appears in its command line. For example, ‘%ce’ refers +to a stopped ce job. Using ‘%?ce’, on the +other hand, refers to any job containing the string ‘ce’ in its command line. If the prefix or substring matches more than one job, Bash reports an error. -

    - -Simply naming a job can be used to bring it into the foreground: -`%1' is a synonym for `fg %1', bringing job 1 from the -background into the foreground. Similarly, `%1 &' resumes -job 1 in the background, equivalent to `bg %1' -

    - -The shell learns immediately whenever a job changes state. +

    +

    Simply naming a job can be used to bring it into the foreground: +‘%1’ is a synonym for ‘fg %1’, bringing job 1 from the +background into the foreground. Similarly, ‘%1 &’ resumes +job 1 in the background, equivalent to ‘bg %1’ +

    +

    The shell learns immediately whenever a job changes state. Normally, Bash waits until it is about to print a prompt -before reporting changes in a job's status so as to not interrupt +before reporting changes in a job’s status so as to not interrupt any other output. -If the `-b' option to the set builtin is enabled, -Bash reports such changes immediately (see section 4.3.1 The Set Builtin). -Any trap on SIGCHLD is executed for each child process +If the -b option to the set builtin is enabled, +Bash reports such changes immediately (see The Set Builtin). +Any trap on SIGCHLD is executed for each child process that exits. -

    - -If an attempt to exit Bash is made while jobs are stopped, (or running, if -the checkjobs option is enabled -- see 4.3.2 The Shopt Builtin), the -shell prints a warning message, and if the checkjobs option is +

    +

    If an attempt to exit Bash is made while jobs are stopped, (or running, if +the checkjobs option is enabled – see The Shopt Builtin), the +shell prints a warning message, and if the checkjobs option is enabled, lists the jobs and their statuses. -The jobs command may then be used to inspect their status. +The jobs command may then be used to inspect their status. If a second attempt to exit is made without an intervening command, Bash does not print another warning, and any stopped jobs are terminated. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    7.2 Job Control Builtins

    - -

    - -

    - -
    bg -
    -
     
    bg [jobspec ...]
    -

    - -Resume each suspended job jobspec in the background, as if it -had been started with `&'. -If jobspec is not supplied, the current job is used. +

    +
    + + + +

    7.2 Job Control Builtins

    + +
    +
    bg
    +
    +
    +
    bg [jobspec …]
    +
    + +

    Resume each suspended job jobspec in the background, as if it +had been started with ‘&’. +If jobspec is not supplied, the current job is used. The return status is zero unless it is run when job control is not enabled, or, when run with job control enabled, any -jobspec was not found or specifies a job +jobspec was not found or specifies a job that was started without job control. -

    - -

    fg -
    -
     
    fg [jobspec]
    -

    - -Resume the job jobspec in the foreground and make it the current job. -If jobspec is not supplied, the current job is used. +

    +
    +
    fg
    +
    +
    +
    fg [jobspec]
    +
    + +

    Resume the job jobspec in the foreground and make it the current job. +If jobspec is not supplied, the current job is used. The return status is that of the command placed into the foreground, or non-zero if run when job control is disabled or, when run with -job control enabled, jobspec does not specify a valid job or -jobspec specifies a job that was started without job control. -

    - -

    jobs -
    -
     
    jobs [-lnprs] [jobspec]
    -jobs -x command [arguments]
    -

    - -The first form lists the active jobs. The options have the +job control enabled, jobspec does not specify a valid job or +jobspec specifies a job that was started without job control. +

    +
    +
    jobs
    +
    +
    +
    jobs [-lnprs] [jobspec]
    +jobs -x command [arguments]
    +
    + +

    The first form lists the active jobs. The options have the following meanings: -

    - -

    -
    -l -
    List process IDs in addition to the normal information. -

    - -

    -n -
    Display information only about jobs that have changed status since +

    +
    +
    -l
    +

    List process IDs in addition to the normal information. +

    +
    +
    -n
    +

    Display information only about jobs that have changed status since the user was last notified of their status. -

    - -

    -p -
    List only the process ID of the job's process group leader. -

    - -

    -r -
    Display only running jobs. -

    - -

    -s -
    Display only stopped jobs. -
    -

    - -If jobspec is given, +

    +
    +
    -p
    +

    List only the process ID of the job’s process group leader. +

    +
    +
    -r
    +

    Display only running jobs. +

    +
    +
    -s
    +

    Display only stopped jobs. +

    +
    + +

    If jobspec is given, output is restricted to information about that job. -If jobspec is not supplied, the status of all jobs is +If jobspec is not supplied, the status of all jobs is listed. -

    - -If the `-x' option is supplied, jobs replaces any -jobspec found in command or arguments with the -corresponding process group ID, and executes command, -passing it arguments, returning its exit status. -

    - -

    kill -
    -
     
    kill [-s sigspec] [-n signum] [-sigspec] jobspec or pid
    -kill -l [exit_status]
    -

    - -Send a signal specified by sigspec or signum to the process -named by job specification jobspec or process ID pid. -sigspec is either a case-insensitive signal name such as -SIGINT (with or without the SIG prefix) -or a signal number; signum is a signal number. -If sigspec and signum are not present, SIGTERM is used. -The `-l' option lists the signal names. -If any arguments are supplied when `-l' is given, the names of the +

    +

    If the -x option is supplied, jobs replaces any +jobspec found in command or arguments with the +corresponding process group ID, and executes command, +passing it arguments, returning its exit status. +

    +
    +
    kill
    +
    +
    +
    kill [-s sigspec] [-n signum] [-sigspec] jobspec or pid
    +kill -l|-L [exit_status]
    +
    + +

    Send a signal specified by sigspec or signum to the process +named by job specification jobspec or process ID pid. +sigspec is either a case-insensitive signal name such as +SIGINT (with or without the SIG prefix) +or a signal number; signum is a signal number. +If sigspec and signum are not present, SIGTERM is used. +The -l option lists the signal names. +If any arguments are supplied when -l is given, the names of the signals corresponding to the arguments are listed, and the return status is zero. -exit_status is a number specifying a signal number or the exit +exit_status is a number specifying a signal number or the exit status of a process terminated by a signal. +The -L option is equivalent to -l. The return status is zero if at least one signal was successfully sent, or non-zero if an error occurs or an invalid option is encountered. -

    - -

    wait -
    -
     
    wait [-n] [jobspec or pid ...]
    -

    - -Wait until the child process specified by each process ID pid -or job specification jobspec exits and return the exit status of the +

    +
    +
    wait
    +
    +
    +
    wait [-n] [jobspec or pid …]
    +
    + +

    Wait until the child process specified by each process ID pid +or job specification jobspec exits and return the exit status of the last command waited for. If a job spec is given, all processes in the job are waited for. If no arguments are given, all currently active child processes are waited for, and the return status is zero. -If the `-n' option is supplied, wait waits for any job to +If the -n option is supplied, wait waits for any job to terminate and returns its exit status. -If neither jobspec nor pid specifies an active child process +If neither jobspec nor pid specifies an active child process of the shell, the return status is 127. -

    - -

    disown -
    -
     
    disown [-ar] [-h] [jobspec ...]
    -

    - -Without options, remove each jobspec from the table of +

    +
    +
    disown
    +
    +
    +
    disown [-ar] [-h] [jobspec … | pid … ]
    +
    + +

    Without options, remove each jobspec from the table of active jobs. -If the `-h' option is given, the job is not removed from the table, -but is marked so that SIGHUP is not sent to the job if the shell -receives a SIGHUP. -If jobspec is not present, and neither the `-a' nor the -`-r' option is supplied, the current job is used. -If no jobspec is supplied, the `-a' option means to remove or -mark all jobs; the `-r' option without a jobspec +If the -h option is given, the job is not removed from the table, +but is marked so that SIGHUP is not sent to the job if the shell +receives a SIGHUP. +If jobspec is not present, and neither the -a nor the +-r option is supplied, the current job is used. +If no jobspec is supplied, the -a option means to remove or +mark all jobs; the -r option without a jobspec argument restricts operation to running jobs. -

    - -

    suspend -
    -
     
    suspend [-f]
    -

    - -Suspend the execution of this shell until it receives a -SIGCONT signal. -A login shell cannot be suspended; the `-f' +

    +
    +
    suspend
    +
    +
    +
    suspend [-f]
    +
    + +

    Suspend the execution of this shell until it receives a +SIGCONT signal. +A login shell cannot be suspended; the -f option can be used to override this and force the suspension. -

    -

    - -When job control is not active, the kill and wait -builtins do not accept jobspec arguments. They must be -supplied process IDs. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    7.3 Job Control Variables

    - -

    - -

    - - -
    auto_resume -
    -This variable controls how the shell interacts with the user and +

    +
    + +

    When job control is not active, the kill and wait +builtins do not accept jobspec arguments. They must be +supplied process IDs. +

    +
    + +
    +

    +Previous: , Up: Job Control   [Contents][Index]

    +
    + +

    7.3 Job Control Variables

    + +
    +
    auto_resume + +
    +

    This variable controls how the shell interacts with the user and job control. If this variable exists then single word simple commands without redirections are treated as candidates for resumption of an existing job. There is no ambiguity allowed; if there is more than one job beginning with the string typed, then the most recently accessed job will be selected. The name of a stopped job, in this context, is the command line -used to start it. If this variable is set to the value `exact', +used to start it. If this variable is set to the value ‘exact’, the string supplied must match the name of a stopped job exactly; -if set to `substring', +if set to ‘substring’, the string supplied needs to match a substring of the name of a -stopped job. The `substring' value provides functionality -analogous to the `%?' job ID (see section 7.1 Job Control Basics). +stopped job. The ‘substring’ value provides functionality +analogous to the ‘%?’ job ID (see Job Control Basics). If set to any other value, the supplied string must -be a prefix of a stopped job's name; this provides functionality -analogous to the `%' job ID. -

    - -

    -

    - - -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8. Command Line Editing

    - -

    - -This chapter describes the basic features of the GNU +be a prefix of a stopped job’s name; this provides functionality +analogous to the ‘%’ job ID. +

    +
    +
    + + + + + + +
    + +
    +

    +Next: , Previous: , Up: Top   [Contents][Index]

    +
    + +

    8 Command Line Editing

    + +

    This chapter describes the basic features of the GNU command line editing interface. Command line editing is provided by the Readline library, which is used by several different programs, including Bash. Command line editing is enabled by default when using an interactive shell, -unless the `--noediting' option is supplied at shell invocation. -Line editing is also used when using the `-e' option to the -read builtin command (see section 4.2 Bash Builtin Commands). +unless the --noediting option is supplied at shell invocation. +Line editing is also used when using the -e option to the +read builtin command (see Bash Builtins). By default, the line editing commands are similar to those of Emacs. A vi-style line editing interface is also available. -Line editing can be enabled at any time using the `-o emacs' or -`-o vi' options to the set builtin command -(see section 4.3.1 The Set Builtin), or disabled using the `+o emacs' or -`+o vi' options to set. -

    - -

    - - - - - - - - -
    8.1 Introduction to Line Editing  Notation used in this text.
    8.2 Readline Interaction  The minimum set of commands for editing a line.
    8.3 Readline Init File  Customizing Readline from a user's view.
    8.4 Bindable Readline Commands  A description of most of the Readline commands - available for binding
    8.5 Readline vi Mode  A short description of how to make Readline - behave like the vi editor.
    8.6 Programmable Completion  How to specify the possible completions for - a specific command.
    8.7 Programmable Completion Builtins  Builtin commands to specify how to - complete arguments for a particular command.
    8.8 A Programmable Completion Example  An example shell function for - generating possible completions.
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.1 Introduction to Line Editing

    - -

    - -The following paragraphs describe the notation used to represent +Line editing can be enabled at any time using the -o emacs or +-o vi options to the set builtin command +(see The Set Builtin), or disabled using the +o emacs or ++o vi options to set. +

    + + + + + + + + + + + +
    + + + +

    8.1 Introduction to Line Editing

    + +

    The following paragraphs describe the notation used to represent keystrokes. -

    - -The text C-k is read as `Control-K' and describes the character -produced when the k key is pressed while the Control key +

    +

    The text C-k is read as ‘Control-K’ and describes the character +produced when the k key is pressed while the Control key is depressed. -

    - -The text M-k is read as `Meta-K' and describes the character -produced when the Meta key (if you have one) is depressed, and the k +

    +

    The text M-k is read as ‘Meta-K’ and describes the character +produced when the Meta key (if you have one) is depressed, and the k key is pressed. -The Meta key is labeled ALT on many keyboards. -On keyboards with two keys labeled ALT (usually to either side of -the space bar), the ALT on the left side is generally set to +The Meta key is labeled ALT on many keyboards. +On keyboards with two keys labeled ALT (usually to either side of +the space bar), the ALT on the left side is generally set to work as a Meta key. -The ALT key on the right may also be configured to work as a +The ALT key on the right may also be configured to work as a Meta key or may be configured as some other modifier, such as a Compose key for typing accented characters. -

    - -If you do not have a Meta or ALT key, or another key working as -a Meta key, the identical keystroke can be generated by typing ESC -first, and then typing k. -Either process is known as metafying the k key. -

    - -The text M-C-k is read as `Meta-Control-k' and describes the -character produced by metafying C-k. -

    - -In addition, several keys have their own names. Specifically, -DEL, ESC, LFD, SPC, RET, and TAB all +

    +

    If you do not have a Meta or ALT key, or another key working as +a Meta key, the identical keystroke can be generated by typing ESC +first, and then typing k. +Either process is known as metafying the k key. +

    +

    The text M-C-k is read as ‘Meta-Control-k’ and describes the +character produced by metafying C-k. +

    +

    In addition, several keys have their own names. Specifically, +DEL, ESC, LFD, SPC, RET, and TAB all stand for themselves when seen in this text, or in an init file -(see section 8.3 Readline Init File). -If your keyboard lacks a LFD key, typing C-j will +(see Readline Init File). +If your keyboard lacks a LFD key, typing C-j will produce the desired character. -The RET key may be labeled Return or Enter on +The RET key may be labeled Return or Enter on some keyboards. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.2 Readline Interaction

    - -

    - -Often during an interactive session you type in a long line of text, +

    +
    + + + +

    8.2 Readline Interaction

    + + +

    Often during an interactive session you type in a long line of text, only to notice that the first word on the line is misspelled. The Readline library gives you a set of commands for manipulating the text as you type it in, allowing you to just fix your typo, and not forcing you to retype the majority of the line. Using these editing commands, you move the cursor to the place that needs correction, and delete or insert the text of the corrections. Then, when you are satisfied with -the line, you simply press RET. You do not have to be at the -end of the line to press RET; the entire line is accepted +the line, you simply press RET. You do not have to be at the +end of the line to press RET; the entire line is accepted regardless of the location of the cursor within the line. -

    - -

    - - - - - -
    8.2.1 Readline Bare Essentials  The least you need to know about Readline.
    8.2.2 Readline Movement Commands  Moving about the input line.
    8.2.3 Readline Killing Commands  How to delete text, and how to get it back!
    8.2.4 Readline Arguments  Giving numeric arguments to commands.
    8.2.5 Searching for Commands in the History  Searching through previous lines.
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.2.1 Readline Bare Essentials

    - -

    - -In order to enter characters into the line, simply type them. The typed +

    + + + + + + + + +
    + + + +

    8.2.1 Readline Bare Essentials

    + + + + +

    In order to enter characters into the line, simply type them. The typed character appears where the cursor was, and then the cursor moves one space to the right. If you mistype a character, you can use your erase character to back up and delete the mistyped character. -

    - -Sometimes you may mistype a character, and +

    +

    Sometimes you may mistype a character, and not notice the error until you have typed several other characters. In -that case, you can type C-b to move the cursor to the left, and then +that case, you can type C-b to move the cursor to the left, and then correct your mistake. Afterwards, you can move the cursor to the right -with C-f. -

    - -When you add text in the middle of a line, you will notice that characters -to the right of the cursor are `pushed over' to make room for the text +with C-f. +

    +

    When you add text in the middle of a line, you will notice that characters +to the right of the cursor are ‘pushed over’ to make room for the text that you have inserted. Likewise, when you delete text behind the cursor, -characters to the right of the cursor are `pulled back' to fill in the +characters to the right of the cursor are ‘pulled back’ to fill in the blank space created by the removal of the text. A list of the bare essentials for editing the text of an input line follows. -

    - -

    -
    C-b -
    Move back one character. -
    C-f -
    Move forward one character. -
    DEL or Backspace -
    Delete the character to the left of the cursor. -
    C-d -
    Delete the character underneath the cursor. -
    Printing characters -
    Insert the character into the line at the cursor. -
    C-_ or C-x C-u -
    Undo the last editing command. You can undo all the way back to an +

    +
    +
    C-b
    +

    Move back one character. +

    +
    C-f
    +

    Move forward one character. +

    +
    DEL or Backspace
    +

    Delete the character to the left of the cursor. +

    +
    C-d
    +

    Delete the character underneath the cursor. +

    +
    Printing characters
    +

    Insert the character into the line at the cursor. +

    +
    C-_ or C-x C-u
    +

    Undo the last editing command. You can undo all the way back to an empty line. -

    -

    +

    +
    -(Depending on your configuration, the Backspace key be set to -delete the character to the left of the cursor and the DEL key set -to delete the character underneath the cursor, like C-d, rather +

    (Depending on your configuration, the Backspace key be set to +delete the character to the left of the cursor and the DEL key set +to delete the character underneath the cursor, like C-d, rather than the character to the left of the cursor.) -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.2.2 Readline Movement Commands

    - -

    - -The above table describes the most basic keystrokes that you need +

    +
    + + + +

    8.2.2 Readline Movement Commands

    + + +

    The above table describes the most basic keystrokes that you need in order to do editing of the input line. For your convenience, many -other commands have been added in addition to C-b, C-f, -C-d, and DEL. Here are some commands for moving more rapidly +other commands have been added in addition to C-b, C-f, +C-d, and DEL. Here are some commands for moving more rapidly about the line. -

    - -

    -
    C-a -
    Move to the start of the line. -
    C-e -
    Move to the end of the line. -
    M-f -
    Move forward a word, where a word is composed of letters and digits. -
    M-b -
    Move backward a word. -
    C-l -
    Clear the screen, reprinting the current line at the top. -
    -

    - -Notice how C-f moves forward a character, while M-f moves +

    +
    +
    C-a
    +

    Move to the start of the line. +

    +
    C-e
    +

    Move to the end of the line. +

    +
    M-f
    +

    Move forward a word, where a word is composed of letters and digits. +

    +
    M-b
    +

    Move backward a word. +

    +
    C-l
    +

    Clear the screen, reprinting the current line at the top. +

    +
    + +

    Notice how C-f moves forward a character, while M-f moves forward a word. It is a loose convention that control keystrokes operate on characters while meta keystrokes operate on words. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.2.3 Readline Killing Commands

    - -

    - - - -

    - -Killing text means to delete the text from the line, but to save -it away for later use, usually by yanking (re-inserting) +

    +
    + + + +

    8.2.3 Readline Killing Commands

    + + + + +

    Killing text means to delete the text from the line, but to save +it away for later use, usually by yanking (re-inserting) it back into the line. -(`Cut' and `paste' are more recent jargon for `kill' and `yank'.) -

    - -If the description for a command says that it `kills' text, then you can +(‘Cut’ and ‘paste’ are more recent jargon for ‘kill’ and ‘yank’.) +

    +

    If the description for a command says that it ‘kills’ text, then you can be sure that you can get the text back in a different (or the same) place later. -

    - -When you use a kill command, the text is saved in a kill-ring. +

    +

    When you use a kill command, the text is saved in a kill-ring. Any number of consecutive kills save all of the killed text together, so that when you yank it back, you get it all. The kill ring is not line specific; the text that you killed on a previously typed line is available to be yanked back later, when you are typing another line. - -

    - -Here is the list of commands for killing text. -

    - -

    -
    C-k -
    Kill the text from the current cursor position to the end of the line. -

    - -

    M-d -
    Kill from the cursor to the end of the current word, or, if between + +

    +

    Here is the list of commands for killing text. +

    +
    +
    C-k
    +

    Kill the text from the current cursor position to the end of the line. +

    +
    +
    M-d
    +

    Kill from the cursor to the end of the current word, or, if between words, to the end of the next word. -Word boundaries are the same as those used by M-f. -

    - -

    M-DEL -
    Kill from the cursor the start of the current word, or, if between +Word boundaries are the same as those used by M-f. +

    +
    +
    M-DEL
    +

    Kill from the cursor the start of the current word, or, if between words, to the start of the previous word. -Word boundaries are the same as those used by M-b. -

    - -

    C-w -
    Kill from the cursor to the previous whitespace. This is different than -M-DEL because the word boundaries differ. -

    - -

    -

    - -Here is how to yank the text back into the line. Yanking +Word boundaries are the same as those used by M-b. +

    +
    +
    C-w
    +

    Kill from the cursor to the previous whitespace. This is different than +M-DEL because the word boundaries differ. +

    +
    +
    + +

    Here is how to yank the text back into the line. Yanking means to copy the most-recently-killed text from the kill buffer. -

    - -

    -
    C-y -
    Yank the most recently killed text back into the buffer at the cursor. -

    - -

    M-y -
    Rotate the kill-ring, and yank the new top. You can only do this if -the prior command is C-y or M-y. -
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.2.4 Readline Arguments

    - -

    - -You can pass numeric arguments to Readline commands. Sometimes the -argument acts as a repeat count, other times it is the sign of the +

    +
    +
    C-y
    +

    Yank the most recently killed text back into the buffer at the cursor. +

    +
    +
    M-y
    +

    Rotate the kill-ring, and yank the new top. You can only do this if +the prior command is C-y or M-y. +

    +
    + +
    + + + +

    8.2.4 Readline Arguments

    + +

    You can pass numeric arguments to Readline commands. Sometimes the +argument acts as a repeat count, other times it is the sign of the argument that is significant. If you pass a negative argument to a command which normally acts in a forward direction, that command will act in a backward direction. For example, to kill text back to the -start of the line, you might type `M-- C-k'. -

    - -The general way to pass numeric arguments to a command is to type meta -digits before the command. If the first `digit' typed is a minus -sign (`-'), then the sign of the argument will be negative. Once +start of the line, you might type ‘M-- C-k’. +

    +

    The general way to pass numeric arguments to a command is to type meta +digits before the command. If the first ‘digit’ typed is a minus +sign (‘-’), then the sign of the argument will be negative. Once you have typed one meta digit to get the argument started, you can type the remainder of the digits, and then the command. For example, to give -the C-d command an argument of 10, you could type `M-1 0 C-d', +the C-d command an argument of 10, you could type ‘M-1 0 C-d’, which will delete the next ten characters on the input line. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.2.5 Searching for Commands in the History

    - -

    - -Readline provides commands for searching through the command history -(see section 9.1 Bash History Facilities) +

    +
    + + + +

    8.2.5 Searching for Commands in the History

    + +

    Readline provides commands for searching through the command history +(see Bash History Facilities) for lines containing a specified string. -There are two search modes: incremental and non-incremental. -

    - -Incremental searches begin before the user has finished typing the +There are two search modes: incremental and non-incremental. +

    +

    Incremental searches begin before the user has finished typing the search string. As each character of the search string is typed, Readline displays the next entry from the history matching the string typed so far. An incremental search requires only as many characters as needed to find the desired history entry. To search backward in the history for a particular string, type -C-r. Typing C-s searches forward through the history. -The characters present in the value of the isearch-terminators variable +C-r. Typing C-s searches forward through the history. +The characters present in the value of the isearch-terminators variable are used to terminate an incremental search. -If that variable has not been assigned a value, the ESC and -C-J characters will terminate an incremental search. -C-g will abort an incremental search and restore the original line. +If that variable has not been assigned a value, the ESC and +C-J characters will terminate an incremental search. +C-g will abort an incremental search and restore the original line. When the search is terminated, the history entry containing the search string becomes the current line. -

    - -To find other matching entries in the history list, type C-r or -C-s as appropriate. +

    +

    To find other matching entries in the history list, type C-r or +C-s as appropriate. This will search backward or forward in the history for the next entry matching the search string typed so far. Any other key sequence bound to a Readline command will terminate the search and execute that command. -For instance, a RET will terminate the search and accept +For instance, a RET will terminate the search and accept the line, thereby executing the command from the history list. A movement command will terminate the search, make the last line found the current line, and begin editing. -

    - -Readline remembers the last incremental search string. If two -C-rs are typed without any intervening characters defining a new +

    +

    Readline remembers the last incremental search string. If two +C-rs are typed without any intervening characters defining a new search string, any remembered search string is used. -

    - -Non-incremental searches read the entire search string before starting +

    +

    Non-incremental searches read the entire search string before starting to search for matching history lines. The search string may be typed by the user or be part of the contents of the current line. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.3 Readline Init File

    - -

    - -Although the Readline library comes with a set of Emacs-like +

    +
    + + + +

    8.3 Readline Init File

    + + +

    Although the Readline library comes with a set of Emacs-like keybindings installed by default, it is possible to use a different set of keybindings. Any user can customize programs that use Readline by putting -commands in an inputrc file, conventionally in his home directory. +commands in an inputrc file, conventionally in his home directory. The name of this -file is taken from the value of the shell variable INPUTRC. If -that variable is unset, the default is `~/.inputrc'. If that +file is taken from the value of the shell variable INPUTRC. If +that variable is unset, the default is ~/.inputrc. If that file does not exist or cannot be read, the ultimate default is -`/etc/inputrc'. -

    - -When a program which uses the Readline library starts up, the +/etc/inputrc. +

    +

    When a program which uses the Readline library starts up, the init file is read, and the key bindings are set. -

    - -In addition, the C-x C-r command re-reads this init file, thus +

    +

    In addition, the C-x C-r command re-reads this init file, thus incorporating any changes that you might have made to it. -

    - -

    - -
    8.3.1 Readline Init File Syntax  Syntax for the commands in the inputrc file.
    - -
    - - -
    8.3.2 Conditional Init Constructs  Conditional key bindings in the inputrc file.
    - -
    - - -
    8.3.3 Sample Init File  An example inputrc file.
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.3.1 Readline Init File Syntax

    - -

    - -There are only a few basic constructs allowed in the +

    + + + + + + +
    + + + +

    8.3.1 Readline Init File Syntax

    + +

    There are only a few basic constructs allowed in the Readline init file. Blank lines are ignored. -Lines beginning with a `#' are comments. -Lines beginning with a `$' indicate conditional -constructs (see section 8.3.2 Conditional Init Constructs). Other lines +Lines beginning with a ‘#’ are comments. +Lines beginning with a ‘$’ indicate conditional +constructs (see Conditional Init Constructs). Other lines denote variable settings and key bindings. -

    - -

    -
    Variable Settings -
    You can modify the run-time behavior of Readline by +

    +
    +
    Variable Settings
    +

    You can modify the run-time behavior of Readline by altering the values of variables in Readline -using the set command within the init file. +using the set command within the init file. The syntax is simple: -

    +

    +
    +
    set variable value
    +
    -
     
    set variable value
    -

    - -Here, for example, is how to +

    Here, for example, is how to change from the default Emacs-like key binding to use -vi line editing commands: -

    - -
     
    set editing-mode vi
    -

    +vi line editing commands: +

    +
    +
    set editing-mode vi
    +
    -Variable names and values, where appropriate, are recognized without regard +

    Variable names and values, where appropriate, are recognized without regard to case. Unrecognized variable names are ignored. -

    - -Boolean variables (those that can be set to on or off) are set to on if -the value is null or empty, on (case-insensitive), or 1. Any other +

    +

    Boolean variables (those that can be set to on or off) are set to on if +the value is null or empty, on (case-insensitive), or 1. Any other value results in the variable being set to off. -

    - -The bind -V command lists the current Readline variable names -and values. See section 4.2 Bash Builtin Commands. -

    - -A great deal of run-time behavior is changeable with the following +

    +

    The bind -V command lists the current Readline variable names +and values. See Bash Builtins. +

    +

    A great deal of run-time behavior is changeable with the following variables. -

    - - -

    - -
    bell-style -
    -Controls what happens when Readline wants to ring the terminal bell. -If set to `none', Readline never rings the bell. If set to -`visible', Readline uses a visible bell if one is available. -If set to `audible' (the default), Readline attempts to ring -the terminal's bell. -

    - -

    bind-tty-special-chars -
    -If set to `on', Readline attempts to bind the control characters -treated specially by the kernel's terminal driver to their Readline -equivalents. -

    - -

    colored-stats -
    -If set to `on', Readline displays possible completions using different +

    + +
    +
    bell-style
    +
    +

    Controls what happens when Readline wants to ring the terminal bell. +If set to ‘none’, Readline never rings the bell. If set to +‘visible’, Readline uses a visible bell if one is available. +If set to ‘audible’ (the default), Readline attempts to ring +the terminal’s bell. +

    +
    +
    bind-tty-special-chars
    +
    +

    If set to ‘on’ (the default), Readline attempts to bind the control +characters treated specially by the kernel’s terminal driver to their +Readline equivalents. +

    +
    +
    blink-matching-paren
    +
    +

    If set to ‘on’, Readline attempts to briefly move the cursor to an +opening parenthesis when a closing parenthesis is inserted. The default +is ‘off’. +

    +
    +
    colored-completion-prefix
    +
    +

    If set to ‘on’, when listing completions, Readline displays the +common prefix of the set of possible completions using a different color. +The color definitions are taken from the value of the LS_COLORS +environment variable. +The default is ‘off’. +

    +
    +
    colored-stats
    +
    +

    If set to ‘on’, Readline displays possible completions using different colors to indicate their file type. -The color definitions are taken from the value of the LS_COLORS +The color definitions are taken from the value of the LS_COLORS environment variable. -The default is `off'. -

    - -

    comment-begin -
    -The string to insert at the beginning of the line when the -insert-comment command is executed. The default value -is "#". -

    - -

    completion-display-width -
    -The number of screen columns used to display possible matches +The default is ‘off’. +

    +
    +
    comment-begin
    +
    +

    The string to insert at the beginning of the line when the +insert-comment command is executed. The default value +is "#". +

    +
    +
    completion-display-width
    +
    +

    The number of screen columns used to display possible matches when performing completion. The value is ignored if it is less than 0 or greater than the terminal screen width. A value of 0 will cause matches to be displayed one per line. The default value is -1. -

    - -

    completion-ignore-case -
    -If set to `on', Readline performs filename matching and completion +

    +
    +
    completion-ignore-case
    +
    +

    If set to ‘on’, Readline performs filename matching and completion in a case-insensitive fashion. -The default value is `off'. -

    - -

    completion-map-case -
    -If set to `on', and completion-ignore-case is enabled, Readline -treats hyphens (`-') and underscores (`_') as equivalent when +The default value is ‘off’. +

    +
    +
    completion-map-case
    +
    +

    If set to ‘on’, and completion-ignore-case is enabled, Readline +treats hyphens (‘-’) and underscores (‘_’) as equivalent when performing case-insensitive filename matching and completion. -

    - -

    completion-prefix-display-length -
    -The length in characters of the common prefix of a list of possible +

    +
    +
    completion-prefix-display-length
    +
    +

    The length in characters of the common prefix of a list of possible completions that is displayed without modification. When set to a value greater than zero, common prefixes longer than this value are replaced with an ellipsis when displaying possible completions. -

    - -

    completion-query-items -
    -The number of possible completions that determines when the user is +

    +
    +
    completion-query-items
    +
    +

    The number of possible completions that determines when the user is asked whether the list of possibilities should be displayed. If the number of possible completions is greater than this value, Readline will ask the user whether or not he wishes to view them; otherwise, they are simply listed. This variable must be set to an integer value greater than or equal to 0. A negative value means Readline should never ask. -The default limit is 100. -

    - -

    convert-meta -
    -If set to `on', Readline will convert characters with the -eighth bit set to an ASCII key sequence by stripping the eighth -bit and prefixing an ESC character, converting them to a -meta-prefixed key sequence. The default value is `on'. -

    - -

    disable-completion -
    -If set to `On', Readline will inhibit word completion. +The default limit is 100. +

    +
    +
    convert-meta
    +
    +

    If set to ‘on’, Readline will convert characters with the +eighth bit set to an ASCII key sequence by stripping the eighth +bit and prefixing an ESC character, converting them to a +meta-prefixed key sequence. The default value is ‘on’, but +will be set to ‘off’ if the locale is one that contains +eight-bit characters. +

    +
    +
    disable-completion
    +
    +

    If set to ‘On’, Readline will inhibit word completion. Completion characters will be inserted into the line as if they had -been mapped to self-insert. The default is `off'. -

    - -

    editing-mode -
    -The editing-mode variable controls which default set of +been mapped to self-insert. The default is ‘off’. +

    +
    +
    echo-control-characters
    +
    +

    When set to ‘on’, on operating systems that indicate they support it, +readline echoes a character corresponding to a signal generated from the +keyboard. The default is ‘on’. +

    +
    +
    editing-mode
    +
    +

    The editing-mode variable controls which default set of key bindings is used. By default, Readline starts up in Emacs editing mode, where the keystrokes are most similar to Emacs. This variable can be -set to either `emacs' or `vi'. -

    - -

    echo-control-characters -
    When set to `on', on operating systems that indicate they support it, -readline echoes a character corresponding to a signal generated from the -keyboard. The default is `on'. -

    - -

    enable-keypad -
    -When set to `on', Readline will try to enable the application +set to either ‘emacs’ or ‘vi’. +

    +
    +
    emacs-mode-string
    +
    +

    This string is displayed immediately before the last line of the primary +prompt when emacs editing mode is active. The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the ‘\1’ and ‘\2’ escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string. +The default is ‘@’. +

    +
    +
    enable-bracketed-paste
    +
    +

    When set to ‘On’, Readline will configure the terminal in a way +that will enable it to insert each paste into the editing buffer as a +single string of characters, instead of treating each character as if +it had been read from the keyboard. This can prevent pasted characters +from being interpreted as editing commands. The default is ‘off’. +

    +
    +
    enable-keypad
    +
    +

    When set to ‘on’, Readline will try to enable the application keypad when it is called. Some systems need this to enable the -arrow keys. The default is `off'. -

    - -

    enable-meta-key -
    When set to `on', Readline will try to enable any meta modifier +arrow keys. The default is ‘off’. +

    +
    +
    enable-meta-key
    +

    When set to ‘on’, Readline will try to enable any meta modifier key the terminal claims to support when it is called. On many terminals, the meta key is used to send eight-bit characters. -The default is `on'. -

    - -

    expand-tilde -
    -If set to `on', tilde expansion is performed when Readline -attempts word completion. The default is `off'. -

    - -

    history-preserve-point -
    -If set to `on', the history code attempts to place the point (the +The default is ‘on’. +

    +
    +
    expand-tilde
    +
    +

    If set to ‘on’, tilde expansion is performed when Readline +attempts word completion. The default is ‘off’. +

    +
    +
    history-preserve-point
    +
    +

    If set to ‘on’, the history code attempts to place the point (the current cursor position) at the -same location on each history line retrieved with previous-history -or next-history. The default is `off'. -

    - -

    history-size -
    -Set the maximum number of history entries saved in the history list. +same location on each history line retrieved with previous-history +or next-history. The default is ‘off’. +

    +
    +
    history-size
    +
    +

    Set the maximum number of history entries saved in the history list. If set to zero, any existing history entries are deleted and no new entries are saved. If set to a value less than zero, the number of history entries is not limited. By default, the number of history entries is not limited. -

    - -

    horizontal-scroll-mode -
    -This variable can be set to either `on' or `off'. Setting it -to `on' means that the text of the lines being edited will scroll +If an attempt is made to set history-size to a non-numeric value, +the maximum number of history entries will be set to 500. +

    +
    +
    horizontal-scroll-mode
    +
    +

    This variable can be set to either ‘on’ or ‘off’. Setting it +to ‘on’ means that the text of the lines being edited will scroll horizontally on a single screen line when they are longer than the width of the screen, instead of wrapping onto a new screen line. By default, -this variable is set to `off'. -

    - -

    input-meta -
    - -If set to `on', Readline will enable eight-bit input (it +this variable is set to ‘off’. +

    +
    +
    input-meta
    +
    + +

    If set to ‘on’, Readline will enable eight-bit input (it will not clear the eighth bit in the characters it reads), regardless of what the terminal claims it can support. The -default value is `off'. The name meta-flag is a -synonym for this variable. -

    - -

    isearch-terminators -
    -The string of characters that should terminate an incremental search without -subsequently executing the character as a command (see section 8.2.5 Searching for Commands in the History). -If this variable has not been given a value, the characters ESC and -C-J will terminate an incremental search. -

    - -

    keymap -
    -Sets Readline's idea of the current keymap for key binding commands. -Acceptable keymap names are -emacs, -emacs-standard, -emacs-meta, -emacs-ctlx, -vi, -vi-move, -vi-command, and -vi-insert. -vi is equivalent to vi-command; emacs is -equivalent to emacs-standard. The default value is emacs. -The value of the editing-mode variable also affects the +default value is ‘off’, but Readline will set it to ‘on’ if the +locale contains eight-bit characters. +The name meta-flag is a synonym for this variable. +

    +
    +
    isearch-terminators
    +
    +

    The string of characters that should terminate an incremental search without +subsequently executing the character as a command (see Searching). +If this variable has not been given a value, the characters ESC and +C-J will terminate an incremental search. +

    +
    +
    keymap
    +
    +

    Sets Readline’s idea of the current keymap for key binding commands. +Acceptable keymap names are +emacs, +emacs-standard, +emacs-meta, +emacs-ctlx, +vi, +vi-move, +vi-command, and +vi-insert. +vi is equivalent to vi-command (vi-move is also a +synonym); emacs is equivalent to emacs-standard. +The default value is emacs. +The value of the editing-mode variable also affects the default keymap. -

    - -

    keyseq-timeout -
    Specifies the duration Readline will wait for a character when reading an +

    +
    +
    keyseq-timeout
    +

    Specifies the duration Readline will wait for a character when reading an ambiguous key sequence (one that can form a complete key sequence using the input read so far, or can take additional input to complete a longer key sequence). If no input is received within the timeout, Readline will use the shorter but complete key sequence. Readline uses this value to determine whether or not input is -available on the current input source (rl_instream by default). +available on the current input source (rl_instream by default). The value is specified in milliseconds, so a value of 1000 means that Readline will wait one second for additional input. If this variable is set to a value less than or equal to zero, or to a non-numeric value, Readline will wait until another key is pressed to decide which key sequence to complete. -The default value is 500. -

    - -

    mark-directories -
    If set to `on', completed directory names have a slash -appended. The default is `on'. -

    - -

    mark-modified-lines -
    -This variable, when set to `on', causes Readline to display an -asterisk (`*') at the start of history lines which have been modified. -This variable is `off' by default. -

    - -

    mark-symlinked-directories -
    -If set to `on', completed names which are symbolic links +The default value is 500. +

    +
    +
    mark-directories
    +

    If set to ‘on’, completed directory names have a slash +appended. The default is ‘on’. +

    +
    +
    mark-modified-lines
    +
    +

    This variable, when set to ‘on’, causes Readline to display an +asterisk (‘*’) at the start of history lines which have been modified. +This variable is ‘off’ by default. +

    +
    +
    mark-symlinked-directories
    +
    +

    If set to ‘on’, completed names which are symbolic links to directories have a slash appended (subject to the value of -mark-directories). -The default is `off'. -

    - -

    match-hidden-files -
    -This variable, when set to `on', causes Readline to match files whose -names begin with a `.' (hidden files) when performing filename +mark-directories). +The default is ‘off’. +

    +
    +
    match-hidden-files
    +
    +

    This variable, when set to ‘on’, causes Readline to match files whose +names begin with a ‘.’ (hidden files) when performing filename completion. -If set to `off', the leading `.' must be +If set to ‘off’, the leading ‘.’ must be supplied by the user in the filename to be completed. -This variable is `on' by default. -

    - -

    menu-complete-display-prefix -
    -If set to `on', menu completion displays the common prefix of the +This variable is ‘on’ by default. +

    +
    +
    menu-complete-display-prefix
    +
    +

    If set to ‘on’, menu completion displays the common prefix of the list of possible completions (which may be empty) before cycling through -the list. The default is `off'. -

    - -

    output-meta -
    -If set to `on', Readline will display characters with the +the list. The default is ‘off’. +

    +
    +
    output-meta
    +
    +

    If set to ‘on’, Readline will display characters with the eighth bit set directly rather than as a meta-prefixed escape -sequence. The default is `off'. -

    - -

    page-completions -
    -If set to `on', Readline uses an internal more-like pager +sequence. +The default is ‘off’, but Readline will set it to ‘on’ if the +locale contains eight-bit characters. +

    +
    +
    page-completions
    +
    +

    If set to ‘on’, Readline uses an internal more-like pager to display a screenful of possible completions at a time. -This variable is `on' by default. -

    - -

    print-completions-horizontally -
    If set to `on', Readline will display completions with matches +This variable is ‘on’ by default. +

    +
    +
    print-completions-horizontally
    +

    If set to ‘on’, Readline will display completions with matches sorted horizontally in alphabetical order, rather than down the screen. -The default is `off'. -

    - -

    revert-all-at-newline -
    -If set to `on', Readline will undo all changes to history lines -before returning when accept-line is executed. By default, +The default is ‘off’. +

    +
    +
    revert-all-at-newline
    +
    +

    If set to ‘on’, Readline will undo all changes to history lines +before returning when accept-line is executed. By default, history lines may be modified and retain individual undo lists across -calls to readline. The default is `off'. -

    - -

    show-all-if-ambiguous -
    -This alters the default behavior of the completion functions. If -set to `on', +calls to readline. The default is ‘off’. +

    +
    +
    show-all-if-ambiguous
    +
    +

    This alters the default behavior of the completion functions. If +set to ‘on’, words which have more than one possible completion cause the matches to be listed immediately instead of ringing the bell. -The default value is `off'. -

    - -

    show-all-if-unmodified -
    -This alters the default behavior of the completion functions in -a fashion similar to show-all-if-ambiguous. -If set to `on', +The default value is ‘off’. +

    +
    +
    show-all-if-unmodified
    +
    +

    This alters the default behavior of the completion functions in +a fashion similar to show-all-if-ambiguous. +If set to ‘on’, words which have more than one possible completion without any -possible partial completion (the possible completions don't share +possible partial completion (the possible completions don’t share a common prefix) cause the matches to be listed immediately instead of ringing the bell. -The default value is `off'. -

    - -

    show-mode-in-prompt -
    -If set to `on', add a character to the beginning of the prompt -indicating the editing mode: emacs (`@'), vi command (`:'), -or vi insertion (`+'). -The default value is `off'. -

    - -

    skip-completed-text -
    -If set to `on', this alters the default completion behavior when -inserting a single match into the line. It's only active when +The default value is ‘off’. +

    +
    +
    show-mode-in-prompt
    +
    +

    If set to ‘on’, add a character to the beginning of the prompt +indicating the editing mode: emacs, vi command, or vi insertion. +The mode strings are user-settable. +The default value is ‘off’. +

    +
    +
    skip-completed-text
    +
    +

    If set to ‘on’, this alters the default completion behavior when +inserting a single match into the line. It’s only active when performing completion in the middle of a word. If enabled, readline does not insert characters from the completion that match characters after point in the word being completed, so portions of the word following the cursor are not duplicated. For instance, if this is enabled, attempting completion when the cursor -is after the `e' in `Makefile' will result in `Makefile' -rather than `Makefilefile', assuming there is a single possible +is after the ‘e’ in ‘Makefile’ will result in ‘Makefile’ +rather than ‘Makefilefile’, assuming there is a single possible completion. -The default value is `off'. -

    - -

    visible-stats -
    -If set to `on', a character denoting a file's type +The default value is ‘off’. +

    +
    +
    vi-cmd-mode-string
    +
    +

    This string is displayed immediately before the last line of the primary +prompt when vi editing mode is active and in command mode. +The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the ‘\1’ and ‘\2’ escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string. +The default is ‘(cmd)’. +

    +
    +
    vi-ins-mode-string
    +
    +

    This string is displayed immediately before the last line of the primary +prompt when vi editing mode is active and in insertion mode. +The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the ‘\1’ and ‘\2’ escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string. +The default is ‘(ins)’. +

    +
    +
    visible-stats
    +
    +

    If set to ‘on’, a character denoting a file’s type is appended to the filename when listing possible -completions. The default is `off'. -

    - -

    -

    - -

    Key Bindings -
    The syntax for controlling key bindings in the init file is +completions. The default is ‘off’. +

    +
    +
    + +
    +
    Key Bindings
    +

    The syntax for controlling key bindings in the init file is simple. First you need to find the name of the command that you want to change. The following sections contain tables of the command name, the default keybinding, if any, and a short description of what the command does. -

    - -Once you know the name of the command, simply place on a line +

    +

    Once you know the name of the command, simply place on a line in the init file the name of the key you wish to bind the command to, a colon, and then the name of the command. -There can be no space between the key name and the colon -- that will be +There can be no space between the key name and the colon – that will be interpreted as part of the key name. The name of the key can be expressed in different ways, depending on what you find most comfortable. -

    - -In addition to command names, readline allows keys to be bound -to a string that is inserted when the key is pressed (a macro). -

    - -The bind -p command displays Readline function names and +

    +

    In addition to command names, readline allows keys to be bound +to a string that is inserted when the key is pressed (a macro). +

    +

    The bind -p command displays Readline function names and bindings in a format that can put directly into an initialization file. -See section 4.2 Bash Builtin Commands. -

    - -

    -
    keyname: function-name or macro -
    keyname is the name of a key spelled out in English. For example: -
     
    Control-u: universal-argument
    +See Bash Builtins.
    +

    +
    +
    keynamefunction-name or macro
    +

    keyname is the name of a key spelled out in English. For example: +

    +
    Control-u: universal-argument
     Meta-Rubout: backward-kill-word
    -Control-o: "> output"
    -

    +Control-o: "> output" + -In the above example, C-u is bound to the function -universal-argument, -M-DEL is bound to the function backward-kill-word, and -C-o is bound to run the macro +

    In the above example, C-u is bound to the function +universal-argument, +M-DEL is bound to the function backward-kill-word, and +C-o is bound to run the macro expressed on the right hand side (that is, to insert the text -`> output' into the line). -

    - -A number of symbolic character names are recognized while +‘> output’ into the line). +

    +

    A number of symbolic character names are recognized while processing this key binding syntax: -DEL, -ESC, -ESCAPE, -LFD, -NEWLINE, -RET, -RETURN, -RUBOUT, -SPACE, -SPC, +DEL, +ESC, +ESCAPE, +LFD, +NEWLINE, +RET, +RETURN, +RUBOUT, +SPACE, +SPC, and -TAB. -

    - -

    "keyseq": function-name or macro -
    keyseq differs from keyname above in that strings +TAB. +

    +
    +
    "keyseq": function-name or macro
    +

    keyseq differs from keyname above in that strings denoting an entire key sequence can be specified, by placing -the key sequence in double quotes. Some GNU Emacs style key +the key sequence in double quotes. Some GNU Emacs style key escapes can be used, as in the following example, but the special character names are not recognized. -

    - -
     
    "\C-u": universal-argument
    -"\C-x\C-r": re-read-init-file
    -"\e[11~": "Function Key 1"
    -

    - -In the above example, C-u is again bound to the function -universal-argument (just as it was in the first example), -`C-x C-r' is bound to the function re-read-init-file, -and `ESC [ 1 1 ~' is bound to insert -the text `Function Key 1'. -

    - -

    -

    - -The following GNU Emacs style escape sequences are available when +

    +
    +
    "\C-u": universal-argument
    +"\C-x\C-r": re-read-init-file
    +"\e[11~": "Function Key 1"
    +
    + +

    In the above example, C-u is again bound to the function +universal-argument (just as it was in the first example), +‘C-x C-r’ is bound to the function re-read-init-file, +and ‘ESC [ 1 1 ~’ is bound to insert +the text ‘Function Key 1’. +

    +
    +
    + +

    The following GNU Emacs style escape sequences are available when specifying key sequences: -

    - -

    -
    \C- -
    control prefix -
    \M- -
    meta prefix -
    \e -
    an escape character -
    \\ -
    backslash -
    \" -
    ", a double quotation mark -
    \' -
    ', a single quote or apostrophe -
    -

    - -In addition to the GNU Emacs style escape sequences, a second +

    +
    +
    \C-
    +

    control prefix +

    +
    \M-
    +

    meta prefix +

    +
    \e
    +

    an escape character +

    +
    \\
    +

    backslash +

    +
    \"
    +

    ", a double quotation mark +

    +
    \'
    +

    ', a single quote or apostrophe +

    +
    + +

    In addition to the GNU Emacs style escape sequences, a second set of backslash escapes is available: -

    - -

    -
    \a -
    alert (bell) -
    \b -
    backspace -
    \d -
    delete -
    \f -
    form feed -
    \n -
    newline -
    \r -
    carriage return -
    \t -
    horizontal tab -
    \v -
    vertical tab -
    \nnn -
    the eight-bit character whose value is the octal value nnn +

    +
    +
    \a
    +

    alert (bell) +

    +
    \b
    +

    backspace +

    +
    \d
    +

    delete +

    +
    \f
    +

    form feed +

    +
    \n
    +

    newline +

    +
    \r
    +

    carriage return +

    +
    \t
    +

    horizontal tab +

    +
    \v
    +

    vertical tab +

    +
    \nnn
    +

    the eight-bit character whose value is the octal value nnn (one to three digits) -

    \xHH -
    the eight-bit character whose value is the hexadecimal value HH +

    +
    \xHH
    +

    the eight-bit character whose value is the hexadecimal value HH (one or two hex digits) -

    -

    +

    +
    -When entering the text of a macro, single or double quotes must +

    When entering the text of a macro, single or double quotes must be used to indicate a macro definition. Unquoted text is assumed to be a function name. In the macro body, the backslash escapes described above are expanded. Backslash will quote any other character in the macro text, -including `"' and `''. -For example, the following binding will make `C-x \' -insert a single `\' into the line: -
     
    "\C-x\\": "\\"
    -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.3.2 Conditional Init Constructs

    - -

    - -Readline implements a facility similar in spirit to the conditional +including ‘"’ and ‘'’. +For example, the following binding will make ‘C-x \’ +insert a single ‘\’ into the line: +

    +
    "\C-x\\": "\\"
    +
    + + + + +
    + + + +

    8.3.2 Conditional Init Constructs

    + +

    Readline implements a facility similar in spirit to the conditional compilation features of the C preprocessor which allows key bindings and variable settings to be performed as the result of tests. There are four parser directives used. -

    - -

    -
    $if -
    The $if construct allows bindings to be made based on the +

    +
    +
    $if
    +

    The $if construct allows bindings to be made based on the editing mode, the terminal being used, or the application using Readline. The text of the test extends to the end of the line; no characters are required to isolate it. -

    - -

    -
    mode -
    The mode= form of the $if directive is used to test -whether Readline is in emacs or vi mode. +

    +
    +
    mode
    +

    The mode= form of the $if directive is used to test +whether Readline is in emacs or vi mode. This may be used in conjunction -with the `set keymap' command, for instance, to set bindings in -the emacs-standard and emacs-ctlx keymaps only if -Readline is starting out in emacs mode. -

    - -

    term -
    The term= form may be used to include terminal-specific +with the ‘set keymap’ command, for instance, to set bindings in +the emacs-standard and emacs-ctlx keymaps only if +Readline is starting out in emacs mode. +

    +
    +
    term
    +

    The term= form may be used to include terminal-specific key bindings, perhaps to bind the key sequences output by the -terminal's function keys. The word on the right side of the -`=' is tested against both the full name of the terminal and -the portion of the terminal name before the first `-'. This -allows sun to match both sun and sun-cmd, +terminal’s function keys. The word on the right side of the +‘=’ is tested against both the full name of the terminal and +the portion of the terminal name before the first ‘-’. This +allows sun to match both sun and sun-cmd, for instance. -

    - -

    application -
    The application construct is used to include +

    +
    +
    application
    +

    The application construct is used to include application-specific settings. Each program using the Readline -library sets the application name, and you can test for +library sets the application name, and you can test for a particular value. This could be used to bind key sequences to functions useful for a specific program. For instance, the following command adds a key sequence that quotes the current or previous word in Bash: -
     
    $if Bash
    +

    +
    $if Bash
     # Quote the current or previous word
    -"\C-xq": "\eb\"\ef\""
    +"\C-xq": "\eb\"\ef\""
     $endif
    -

    -

    - -

    $endif -
    This command, as seen in the previous example, terminates an -$if command. -

    - -

    $else -
    Commands in this branch of the $if directive are executed if + +
    +
    + +
    +
    $endif
    +

    This command, as seen in the previous example, terminates an +$if command. +

    +
    +
    $else
    +

    Commands in this branch of the $if directive are executed if the test fails. -

    - -

    $include -
    This directive takes a single filename as an argument and reads commands +

    +
    +
    $include
    +

    This directive takes a single filename as an argument and reads commands and bindings from that file. -For example, the following directive reads from `/etc/inputrc': -
     
    $include /etc/inputrc
    -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.3.3 Sample Init File

    - -

    - -Here is an example of an inputrc file. This illustrates key +For example, the following directive reads from /etc/inputrc: +

    +
    $include /etc/inputrc
    +
    +
    +
    + +
    + + + +

    8.3.3 Sample Init File

    + +

    Here is an example of an inputrc file. This illustrates key binding, variable assignment, and conditional syntax. -

    - -
     
    # This file controls the behaviour of line input editing for
    +

    +
    +
    # This file controls the behaviour of line input editing for
     # programs that use the GNU Readline library.  Existing
     # programs include FTP, Bash, and GDB.
     #
    @@ -11111,31 +10418,31 @@ Meta-Control-h:	backward-kill-word	Text after the function name is ignored
     #
     # Arrow keys in keypad mode
     #
    -#"\M-OD":        backward-char
    -#"\M-OC":        forward-char
    -#"\M-OA":        previous-history
    -#"\M-OB":        next-history
    +#"\M-OD":        backward-char
    +#"\M-OC":        forward-char
    +#"\M-OA":        previous-history
    +#"\M-OB":        next-history
     #
     # Arrow keys in ANSI mode
     #
    -"\M-[D":        backward-char
    -"\M-[C":        forward-char
    -"\M-[A":        previous-history
    -"\M-[B":        next-history
    +"\M-[D":        backward-char
    +"\M-[C":        forward-char
    +"\M-[A":        previous-history
    +"\M-[B":        next-history
     #
     # Arrow keys in 8 bit keypad mode
     #
    -#"\M-\C-OD":       backward-char
    -#"\M-\C-OC":       forward-char
    -#"\M-\C-OA":       previous-history
    -#"\M-\C-OB":       next-history
    +#"\M-\C-OD":       backward-char
    +#"\M-\C-OC":       forward-char
    +#"\M-\C-OA":       previous-history
    +#"\M-\C-OB":       next-history
     #
     # Arrow keys in 8 bit ANSI mode
     #
    -#"\M-\C-[D":       backward-char
    -#"\M-\C-[C":       forward-char
    -#"\M-\C-[A":       previous-history
    -#"\M-\C-[B":       next-history
    +#"\M-\C-[D":       backward-char
    +#"\M-\C-[C":       forward-char
    +#"\M-\C-[A":       previous-history
    +#"\M-\C-[B":       next-history
     
     C-q: quoted-insert
     
    @@ -11147,20 +10454,20 @@ TAB: complete
     # Macros that are convenient for shell interaction
     $if Bash
     # edit the path
    -"\C-xp": "PATH=${PATH}\e\C-e\C-a\ef\C-f"
    +"\C-xp": "PATH=${PATH}\e\C-e\C-a\ef\C-f"
     # prepare to type a quoted word --
     # insert open and close double quotes
     # and move to just after the open quote
    -"\C-x\"": "\"\"\C-b"
    +"\C-x\"": "\"\"\C-b"
     # insert a backslash (testing backslash escapes
     # in sequences and macros)
    -"\C-x\\": "\\"
    +"\C-x\\": "\\"
     # Quote the current or previous word
    -"\C-xq": "\eb\"\ef\""
    +"\C-xq": "\eb\"\ef\""
     # Add a binding to refresh the line, which is unbound
    -"\C-xr": redraw-current-line
    +"\C-xr": redraw-current-line
     # Edit variable on current line.
    -"\M-\C-v": "\C-a\C-k$\C-y\M-\C-e\C-a\C-y="
    +"\M-\C-v": "\C-a\C-k$\C-y\M-\C-e\C-a\C-y="
     $endif
     
     # use a visible bell if one is available
    @@ -11183,1202 +10490,1107 @@ set completion-query-items 150
     
     # For FTP
     $if Ftp
    -"\C-xg": "get \M-?"
    -"\C-xt": "put \M-?"
    -"\M-.": yank-last-arg
    +"\C-xg": "get \M-?"
    +"\C-xt": "put \M-?"
    +"\M-.": yank-last-arg
     $endif
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.4 Bindable Readline Commands

    - -

    - -

    - - - - - - - - -
    8.4.1 Commands For Moving  Moving about the line.
    8.4.2 Commands For Manipulating The History  Getting at previous lines.
    8.4.3 Commands For Changing Text  Commands for changing text.
    8.4.4 Killing And Yanking  Commands for killing and yanking.
    8.4.5 Specifying Numeric Arguments  Specifying numeric arguments, repeat counts.
    8.4.6 Letting Readline Type For You  Getting Readline to do the typing for you.
    8.4.7 Keyboard Macros  Saving and re-executing typed characters
    8.4.8 Some Miscellaneous Commands  Other miscellaneous commands.
    -

    - -This section describes Readline commands that may be bound to key + + +


    + + + +

    8.4 Bindable Readline Commands

    + + + + + + + + + + + + +

    This section describes Readline commands that may be bound to key sequences. You can list your key bindings by executing -bind -P or, for a more terse format, suitable for an -inputrc file, bind -p. (See section 4.2 Bash Builtin Commands.) +bind -P or, for a more terse format, suitable for an +inputrc file, bind -p. (See Bash Builtins.) Command names without an accompanying key sequence are unbound by default. -

    - -In the following descriptions, point refers to the current cursor -position, and mark refers to a cursor position saved by the -set-mark command. -The text between the point and mark is referred to as the region. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.4.1 Commands For Moving

    - -
    - -
    beginning-of-line (C-a) -
    -Move to the start of the current line. -

    - - -

    end-of-line (C-e) -
    -Move to the end of the line. -

    - - -

    forward-char (C-f) -
    -Move forward a character. -

    - - -

    backward-char (C-b) -
    -Move back a character. -

    - - -

    forward-word (M-f) -
    -Move forward to the end of the next word. +

    +

    In the following descriptions, point refers to the current cursor +position, and mark refers to a cursor position saved by the +set-mark command. +The text between the point and mark is referred to as the region. +

    +
    + + + +

    8.4.1 Commands For Moving

    +
    +
    beginning-of-line (C-a) + +
    +

    Move to the start of the current line. +

    +
    +
    end-of-line (C-e) + +
    +

    Move to the end of the line. +

    +
    +
    forward-char (C-f) + +
    +

    Move forward a character. +

    +
    +
    backward-char (C-b) + +
    +

    Move back a character. +

    +
    +
    forward-word (M-f) + +
    +

    Move forward to the end of the next word. Words are composed of letters and digits. -

    - - -

    backward-word (M-b) -
    -Move back to the start of the current or previous word. +

    +
    +
    backward-word (M-b) + +
    +

    Move back to the start of the current or previous word. Words are composed of letters and digits. -

    - - -

    shell-forward-word () -
    -Move forward to the end of the next word. +

    +
    +
    shell-forward-word () + +
    +

    Move forward to the end of the next word. Words are delimited by non-quoted shell metacharacters. -

    - - -

    shell-backward-word () -
    -Move back to the start of the current or previous word. +

    +
    +
    shell-backward-word () + +
    +

    Move back to the start of the current or previous word. Words are delimited by non-quoted shell metacharacters. -

    - - -

    clear-screen (C-l) -
    -Clear the screen and redraw the current line, +

    +
    +
    clear-screen (C-l) + +
    +

    Clear the screen and redraw the current line, leaving the current line at the top of the screen. -

    - - -

    redraw-current-line () -
    -Refresh the current line. By default, this is unbound. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.4.2 Commands For Manipulating The History

    - -

    - -

    - -
    accept-line (Newline or Return) -
    -Accept the line regardless of where the cursor is. +

    +
    +
    redraw-current-line () + +
    +

    Refresh the current line. By default, this is unbound. +

    +
    +
    + +
    + + + +

    8.4.2 Commands For Manipulating The History

    + +
    +
    accept-line (Newline or Return) + +
    +

    Accept the line regardless of where the cursor is. If this line is non-empty, add it to the history list according to the setting of -the HISTCONTROL and HISTIGNORE variables. +the HISTCONTROL and HISTIGNORE variables. If this line is a modified history line, then restore the history line to its original state. -

    - - -

    previous-history (C-p) -
    -Move `back' through the history list, fetching the previous command. -

    - - -

    next-history (C-n) -
    -Move `forward' through the history list, fetching the next command. -

    - - -

    beginning-of-history (M-<) -
    -Move to the first line in the history. -

    - - -

    end-of-history (M->) -
    -Move to the end of the input history, i.e., the line currently +

    +
    +
    previous-history (C-p) + +
    +

    Move ‘back’ through the history list, fetching the previous command. +

    +
    +
    next-history (C-n) + +
    +

    Move ‘forward’ through the history list, fetching the next command. +

    +
    +
    beginning-of-history (M-<) + +
    +

    Move to the first line in the history. +

    +
    +
    end-of-history (M->) + +
    +

    Move to the end of the input history, i.e., the line currently being entered. -

    - - -

    reverse-search-history (C-r) -
    -Search backward starting at the current line and moving `up' through +

    +
    +
    reverse-search-history (C-r) + +
    +

    Search backward starting at the current line and moving ‘up’ through +the history as necessary. This is an incremental search. +

    +
    +
    forward-search-history (C-s) + +
    +

    Search forward starting at the current line and moving ‘down’ through the history as necessary. This is an incremental search. -

    - - -

    forward-search-history (C-s) -
    -Search forward starting at the current line and moving `down' through -the the history as necessary. This is an incremental search. -

    - - -

    non-incremental-reverse-search-history (M-p) -
    -Search backward starting at the current line and moving `up' +

    +
    +
    non-incremental-reverse-search-history (M-p) + +
    +

    Search backward starting at the current line and moving ‘up’ through the history as necessary using a non-incremental search for a string supplied by the user. -

    - - -

    non-incremental-forward-search-history (M-n) -
    -Search forward starting at the current line and moving `down' -through the the history as necessary using a non-incremental search +The search string may match anywhere in a history line. +

    +
    +
    non-incremental-forward-search-history (M-n) + +
    +

    Search forward starting at the current line and moving ‘down’ +through the history as necessary using a non-incremental search for a string supplied by the user. -

    - - -

    history-search-forward () -
    -Search forward through the history for the string of characters +The search string may match anywhere in a history line. +

    +
    +
    history-search-forward () + +
    +

    Search forward through the history for the string of characters between the start of the current line and the point. The search string must match at the beginning of a history line. This is a non-incremental search. By default, this command is unbound. -

    - - -

    history-search-backward () -
    -Search backward through the history for the string of characters +

    +
    +
    history-search-backward () + +
    +

    Search backward through the history for the string of characters between the start of the current line and the point. The search string must match at the beginning of a history line. This is a non-incremental search. By default, this command is unbound. -

    - - -

    history-substr-search-forward () -
    -Search forward through the history for the string of characters +

    +
    +
    history-substr-search-forward () + +
    +

    Search forward through the history for the string of characters between the start of the current line and the point. The search string may match anywhere in a history line. This is a non-incremental search. By default, this command is unbound. -

    - - -

    history-substr-search-backward () -
    -Search backward through the history for the string of characters +

    +
    +
    history-substr-search-backward () + +
    +

    Search backward through the history for the string of characters between the start of the current line and the point. The search string may match anywhere in a history line. This is a non-incremental search. By default, this command is unbound. -

    - - -

    yank-nth-arg (M-C-y) -
    -Insert the first argument to the previous command (usually +

    +
    +
    yank-nth-arg (M-C-y) + +
    +

    Insert the first argument to the previous command (usually the second word on the previous line) at point. -With an argument n, -insert the nth word from the previous command (the words +With an argument n, +insert the nth word from the previous command (the words in the previous command begin with word 0). A negative argument -inserts the nth word from the end of the previous command. -Once the argument n is computed, the argument is extracted -as if the `!n' history expansion had been specified. -

    - - -

    yank-last-arg (M-. or M-_) -
    -Insert last argument to the previous command (the last word of the +inserts the nth word from the end of the previous command. +Once the argument n is computed, the argument is extracted +as if the ‘!n’ history expansion had been specified. +

    +
    +
    yank-last-arg (M-. or M-_) + +
    +

    Insert last argument to the previous command (the last word of the previous history entry). -With a numeric argument, behave exactly like yank-nth-arg. -Successive calls to yank-last-arg move back through the history +With a numeric argument, behave exactly like yank-nth-arg. +Successive calls to yank-last-arg move back through the history list, inserting the last word (or the word specified by the argument to the first call) of each line in turn. Any numeric argument supplied to these successive calls determines the direction to move through the history. A negative argument switches the direction through the history (back or forward). The history expansion facilities are used to extract the last argument, -as if the `!$' history expansion had been specified. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.4.3 Commands For Changing Text

    - -

    - -

    - - -
    end-of-file (usually C-d) -
    -The character indicating end-of-file as set, for example, by -stty. If this character is read when there are no characters +as if the ‘!$’ history expansion had been specified. +

    +
    +
    + +
    + + + +

    8.4.3 Commands For Changing Text

    + +
    +
    end-of-file (usually C-d) + +
    +

    The character indicating end-of-file as set, for example, by +stty. If this character is read when there are no characters on the line, and point is at the beginning of the line, Readline -interprets it as the end of input and returns EOF. -

    - - -

    delete-char (C-d) -
    -Delete the character at point. If this function is bound to the -same character as the tty EOF character, as C-d +interprets it as the end of input and returns EOF. +

    +
    +
    delete-char (C-d) + +
    +

    Delete the character at point. If this function is bound to the +same character as the tty EOF character, as C-d commonly is, see above for the effects. -

    - - -

    backward-delete-char (Rubout) -
    -Delete the character behind the cursor. A numeric argument means +

    +
    +
    backward-delete-char (Rubout) + +
    +

    Delete the character behind the cursor. A numeric argument means to kill the characters instead of deleting them. -

    - - -

    forward-backward-delete-char () -
    -Delete the character under the cursor, unless the cursor is at the +

    +
    +
    forward-backward-delete-char () + +
    +

    Delete the character under the cursor, unless the cursor is at the end of the line, in which case the character behind the cursor is deleted. By default, this is not bound to a key. -

    - - -

    quoted-insert (C-q or C-v) -
    -Add the next character typed to the line verbatim. This is -how to insert key sequences like C-q, for example. -

    - - -

    self-insert (a, b, A, 1, !, ...) -
    -Insert yourself. -

    - - -

    transpose-chars (C-t) -
    -Drag the character before the cursor forward over +

    +
    +
    quoted-insert (C-q or C-v) + +
    +

    Add the next character typed to the line verbatim. This is +how to insert key sequences like C-q, for example. +

    + +
    +
    self-insert (a, b, A, 1, !, …) + +
    +

    Insert yourself. +

    +
    +
    bracketed-paste-begin () + +
    +

    This function is intended to be bound to the "bracketed paste" escape +sequence sent by some terminals, and such a binding is assigned by default. +It allows Readline to insert the pasted text as a single unit without treating +each character as if it had been read from the keyboard. The characters +are inserted as if each one was bound to self-insert) instead of +executing any editing commands. +

    +
    +
    transpose-chars (C-t) + +
    +

    Drag the character before the cursor forward over the character at the cursor, moving the cursor forward as well. If the insertion point is at the end of the line, then this transposes the last two characters of the line. Negative arguments have no effect. -

    - - -

    transpose-words (M-t) -
    -Drag the word before point past the word after point, +

    +
    +
    transpose-words (M-t) + +
    +

    Drag the word before point past the word after point, moving point past that word as well. If the insertion point is at the end of the line, this transposes the last two words on the line. -

    - - -

    upcase-word (M-u) -
    -Uppercase the current (or following) word. With a negative argument, +

    +
    +
    upcase-word (M-u) + +
    +

    Uppercase the current (or following) word. With a negative argument, uppercase the previous word, but do not move the cursor. -

    - - -

    downcase-word (M-l) -
    -Lowercase the current (or following) word. With a negative argument, +

    +
    +
    downcase-word (M-l) + +
    +

    Lowercase the current (or following) word. With a negative argument, lowercase the previous word, but do not move the cursor. -

    - - -

    capitalize-word (M-c) -
    -Capitalize the current (or following) word. With a negative argument, +

    +
    +
    capitalize-word (M-c) + +
    +

    Capitalize the current (or following) word. With a negative argument, capitalize the previous word, but do not move the cursor. -

    - - -

    overwrite-mode () -
    -Toggle overwrite mode. With an explicit positive numeric argument, +

    +
    +
    overwrite-mode () + +
    +

    Toggle overwrite mode. With an explicit positive numeric argument, switches to overwrite mode. With an explicit non-positive numeric argument, switches to insert mode. This command affects only -emacs mode; vi mode does overwrite differently. -Each call to readline() starts in insert mode. -

    - -In overwrite mode, characters bound to self-insert replace +emacs mode; vi mode does overwrite differently. +Each call to readline() starts in insert mode. +

    +

    In overwrite mode, characters bound to self-insert replace the text at point rather than pushing the text to the right. -Characters bound to backward-delete-char replace the character +Characters bound to backward-delete-char replace the character before point with a space. -

    - -By default, this command is unbound. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.4.4 Killing And Yanking

    - -

    - -

    - - -
    kill-line (C-k) -
    -Kill the text from point to the end of the line. -

    - - -

    backward-kill-line (C-x Rubout) -
    -Kill backward to the beginning of the line. -

    - - -

    unix-line-discard (C-u) -
    -Kill backward from the cursor to the beginning of the current line. -

    - - -

    kill-whole-line () -
    -Kill all characters on the current line, no matter where point is. +

    +

    By default, this command is unbound. +

    +
    +
    + +
    + + + +

    8.4.4 Killing And Yanking

    + +
    +
    kill-line (C-k) + +
    +

    Kill the text from point to the end of the line. +

    +
    +
    backward-kill-line (C-x Rubout) + +
    +

    Kill backward from the cursor to the beginning of the current line. +

    +
    +
    unix-line-discard (C-u) + +
    +

    Kill backward from the cursor to the beginning of the current line. +

    +
    +
    kill-whole-line () + +
    +

    Kill all characters on the current line, no matter where point is. By default, this is unbound. -

    - - -

    kill-word (M-d) -
    -Kill from point to the end of the current word, or if between +

    +
    +
    kill-word (M-d) + +
    +

    Kill from point to the end of the current word, or if between words, to the end of the next word. -Word boundaries are the same as forward-word. -

    - - -

    backward-kill-word (M-DEL) -
    -Kill the word behind point. -Word boundaries are the same as backward-word. -

    - - -

    shell-kill-word () -
    -Kill from point to the end of the current word, or if between +Word boundaries are the same as forward-word. +

    +
    +
    backward-kill-word (M-DEL) + +
    +

    Kill the word behind point. +Word boundaries are the same as backward-word. +

    +
    +
    shell-kill-word () + +
    +

    Kill from point to the end of the current word, or if between words, to the end of the next word. -Word boundaries are the same as shell-forward-word. -

    - - -

    shell-backward-kill-word () -
    -Kill the word behind point. -Word boundaries are the same as shell-backward-word. -

    - - -

    unix-word-rubout (C-w) -
    -Kill the word behind point, using white space as a word boundary. +Word boundaries are the same as shell-forward-word. +

    +
    +
    shell-backward-kill-word () + +
    +

    Kill the word behind point. +Word boundaries are the same as shell-backward-word. +

    +
    +
    unix-word-rubout (C-w) + +
    +

    Kill the word behind point, using white space as a word boundary. The killed text is saved on the kill-ring. -

    - - -

    unix-filename-rubout () -
    -Kill the word behind point, using white space and the slash character +

    +
    +
    unix-filename-rubout () + +
    +

    Kill the word behind point, using white space and the slash character as the word boundaries. The killed text is saved on the kill-ring. -

    - - -

    delete-horizontal-space () -
    -Delete all spaces and tabs around point. By default, this is unbound. -

    - - -

    kill-region () -
    -Kill the text in the current region. +

    +
    +
    delete-horizontal-space () + +
    +

    Delete all spaces and tabs around point. By default, this is unbound. +

    +
    +
    kill-region () + +
    +

    Kill the text in the current region. By default, this command is unbound. -

    - - -

    copy-region-as-kill () -
    -Copy the text in the region to the kill buffer, so it can be yanked +

    +
    +
    copy-region-as-kill () + +
    +

    Copy the text in the region to the kill buffer, so it can be yanked right away. By default, this command is unbound. -

    - - -

    copy-backward-word () -
    -Copy the word before point to the kill buffer. -The word boundaries are the same as backward-word. +

    +
    +
    copy-backward-word () + +
    +

    Copy the word before point to the kill buffer. +The word boundaries are the same as backward-word. By default, this command is unbound. -

    - - -

    copy-forward-word () -
    -Copy the word following point to the kill buffer. -The word boundaries are the same as forward-word. +

    +
    +
    copy-forward-word () + +
    +

    Copy the word following point to the kill buffer. +The word boundaries are the same as forward-word. By default, this command is unbound. -

    - - -

    yank (C-y) -
    -Yank the top of the kill ring into the buffer at point. -

    - - -

    yank-pop (M-y) -
    -Rotate the kill-ring, and yank the new top. You can only do this if -the prior command is yank or yank-pop. -
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.4.5 Specifying Numeric Arguments

    - -
    - - -
    digit-argument (M-0, M-1, ... M--) -
    -Add this digit to the argument already accumulating, or start a new -argument. M-- starts a negative argument. -

    - - -

    universal-argument () -
    -This is another way to specify an argument. +

    +
    +
    yank (C-y) + +
    +

    Yank the top of the kill ring into the buffer at point. +

    +
    +
    yank-pop (M-y) + +
    +

    Rotate the kill-ring, and yank the new top. You can only do this if +the prior command is yank or yank-pop. +

    +
    + +
    + + + +

    8.4.5 Specifying Numeric Arguments

    +
    +
    digit-argument (M-0, M-1, … M--) + +
    +

    Add this digit to the argument already accumulating, or start a new +argument. M-- starts a negative argument. +

    +
    +
    universal-argument () + +
    +

    This is another way to specify an argument. If this command is followed by one or more digits, optionally with a leading minus sign, those digits define the argument. -If the command is followed by digits, executing universal-argument +If the command is followed by digits, executing universal-argument again ends the numeric argument, but is otherwise ignored. As a special case, if this command is immediately followed by a -character that is neither a digit or minus sign, the argument count +character that is neither a digit nor minus sign, the argument count for the next command is multiplied by four. The argument count is initially one, so executing this function the first time makes the argument count four, a second time makes the argument count sixteen, and so on. By default, this is not bound to a key. -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.4.6 Letting Readline Type For You

    - -

    - -

    - -
    complete (TAB) -
    -Attempt to perform completion on the text before point. +

    +
    + +
    + + + +

    8.4.6 Letting Readline Type For You

    + +
    +
    complete (TAB) + +
    +

    Attempt to perform completion on the text before point. The actual completion performed is application-specific. Bash attempts completion treating the text as a variable (if the -text begins with `$'), username (if the text begins with -`~'), hostname (if the text begins with `@'), or +text begins with ‘$’), username (if the text begins with +‘~’), hostname (if the text begins with ‘@’), or command (including aliases and functions) in turn. If none of these produces a match, filename completion is attempted. -

    - - -

    possible-completions (M-?) -
    -List the possible completions of the text before point. +

    +
    +
    possible-completions (M-?) + +
    +

    List the possible completions of the text before point. When displaying completions, Readline sets the number of columns used -for display to the value of completion-display-width, the value of -the environment variable COLUMNS, or the screen width, in that order. -

    - - -

    insert-completions (M-*) -
    -Insert all completions of the text before point that would have -been generated by possible-completions. -

    - - -

    menu-complete () -
    -Similar to complete, but replaces the word to be completed +for display to the value of completion-display-width, the value of +the environment variable COLUMNS, or the screen width, in that order. +

    +
    +
    insert-completions (M-*) + +
    +

    Insert all completions of the text before point that would have +been generated by possible-completions. +

    +
    +
    menu-complete () + +
    +

    Similar to complete, but replaces the word to be completed with a single match from the list of possible completions. -Repeated execution of menu-complete steps through the list +Repeated execution of menu-complete steps through the list of possible completions, inserting each match in turn. At the end of the list of completions, the bell is rung -(subject to the setting of bell-style) +(subject to the setting of bell-style) and the original text is restored. -An argument of n moves n positions forward in the list +An argument of n moves n positions forward in the list of matches; a negative argument may be used to move backward through the list. -This command is intended to be bound to TAB, but is unbound +This command is intended to be bound to TAB, but is unbound by default. -

    - - -

    menu-complete-backward () -
    -Identical to menu-complete, but moves backward through the list -of possible completions, as if menu-complete had been given a +

    +
    +
    menu-complete-backward () + +
    +

    Identical to menu-complete, but moves backward through the list +of possible completions, as if menu-complete had been given a negative argument. -

    - - -

    delete-char-or-list () -
    -Deletes the character under the cursor if not at the beginning or -end of the line (like delete-char). +

    +
    +
    delete-char-or-list () + +
    +

    Deletes the character under the cursor if not at the beginning or +end of the line (like delete-char). If at the end of the line, behaves identically to -possible-completions. +possible-completions. This command is unbound by default. -

    - - -

    complete-filename (M-/) -
    -Attempt filename completion on the text before point. -

    - - -

    possible-filename-completions (C-x /) -
    -List the possible completions of the text before point, +

    +
    +
    complete-filename (M-/) + +
    +

    Attempt filename completion on the text before point. +

    +
    +
    possible-filename-completions (C-x /) + +
    +

    List the possible completions of the text before point, treating it as a filename. -

    - - -

    complete-username (M-~) -
    -Attempt completion on the text before point, treating +

    +
    +
    complete-username (M-~) + +
    +

    Attempt completion on the text before point, treating it as a username. -

    - - -

    possible-username-completions (C-x ~) -
    -List the possible completions of the text before point, +

    +
    +
    possible-username-completions (C-x ~) + +
    +

    List the possible completions of the text before point, treating it as a username. -

    - - -

    complete-variable (M-$) -
    -Attempt completion on the text before point, treating +

    +
    +
    complete-variable (M-$) + +
    +

    Attempt completion on the text before point, treating it as a shell variable. -

    - - -

    possible-variable-completions (C-x $) -
    -List the possible completions of the text before point, +

    +
    +
    possible-variable-completions (C-x $) + +
    +

    List the possible completions of the text before point, treating it as a shell variable. -

    - - -

    complete-hostname (M-@) -
    -Attempt completion on the text before point, treating +

    +
    +
    complete-hostname (M-@) + +
    +

    Attempt completion on the text before point, treating it as a hostname. -

    - - -

    possible-hostname-completions (C-x @) -
    -List the possible completions of the text before point, +

    +
    +
    possible-hostname-completions (C-x @) + +
    +

    List the possible completions of the text before point, treating it as a hostname. -

    - - -

    complete-command (M-!) -
    -Attempt completion on the text before point, treating +

    +
    +
    complete-command (M-!) + +
    +

    Attempt completion on the text before point, treating it as a command name. Command completion attempts to match the text against aliases, reserved words, shell functions, shell builtins, and finally executable filenames, in that order. -

    - - -

    possible-command-completions (C-x !) -
    -List the possible completions of the text before point, +

    +
    +
    possible-command-completions (C-x !) + +
    +

    List the possible completions of the text before point, treating it as a command name. -

    - - -

    dynamic-complete-history (M-TAB) -
    -Attempt completion on the text before point, comparing +

    +
    +
    dynamic-complete-history (M-TAB) + +
    +

    Attempt completion on the text before point, comparing the text against lines from the history list for possible completion matches. -

    - - -

    dabbrev-expand () -
    -Attempt menu completion on the text before point, comparing +

    +
    +
    dabbrev-expand () + +
    +

    Attempt menu completion on the text before point, comparing the text against lines from the history list for possible completion matches. -

    - - -

    complete-into-braces (M-{) -
    -Perform filename completion and insert the list of possible completions +

    +
    +
    complete-into-braces (M-{) + +
    +

    Perform filename completion and insert the list of possible completions enclosed within braces so the list is available to the shell -(see section 3.5.1 Brace Expansion). -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.4.7 Keyboard Macros

    - -
    - - -
    start-kbd-macro (C-x () -
    -Begin saving the characters typed into the current keyboard macro. -

    - - -

    end-kbd-macro (C-x )) -
    -Stop saving the characters typed into the current keyboard macro +(see Brace Expansion). +

    +
    +
    + +
    + + + +

    8.4.7 Keyboard Macros

    +
    +
    start-kbd-macro (C-x () + +
    +

    Begin saving the characters typed into the current keyboard macro. +

    +
    +
    end-kbd-macro (C-x )) + +
    +

    Stop saving the characters typed into the current keyboard macro and save the definition. -

    - - -

    call-last-kbd-macro (C-x e) -
    -Re-execute the last keyboard macro defined, by making the characters +

    +
    +
    call-last-kbd-macro (C-x e) + +
    +

    Re-execute the last keyboard macro defined, by making the characters in the macro appear as if typed at the keyboard. -

    - - -

    print-last-kbd-macro () -
    -Print the last keboard macro defined in a format suitable for the -inputrc file. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.4.8 Some Miscellaneous Commands

    - -
    - - -
    re-read-init-file (C-x C-r) -
    -Read in the contents of the inputrc file, and incorporate +

    +
    +
    print-last-kbd-macro () + +
    +

    Print the last keboard macro defined in a format suitable for the +inputrc file. +

    +
    +
    + +
    + + + +

    8.4.8 Some Miscellaneous Commands

    +
    +
    re-read-init-file (C-x C-r) + +
    +

    Read in the contents of the inputrc file, and incorporate any bindings or variable assignments found there. -

    - - -

    abort (C-g) -
    -Abort the current editing command and -ring the terminal's bell (subject to the setting of -bell-style). -

    - - -

    do-uppercase-version (M-a, M-b, M-x, ...) -
    -If the metafied character x is lowercase, run the command +

    +
    +
    abort (C-g) + +
    +

    Abort the current editing command and +ring the terminal’s bell (subject to the setting of +bell-style). +

    +
    +
    do-uppercase-version (M-a, M-b, M-x, …) + +
    +

    If the metafied character x is lowercase, run the command that is bound to the corresponding uppercase character. -

    - - -

    prefix-meta (ESC) -
    -Metafy the next character typed. This is for keyboards -without a meta key. Typing `ESC f' is equivalent to typing -M-f. -

    - - -

    undo (C-_ or C-x C-u) -
    -Incremental undo, separately remembered for each line. -

    - - -

    revert-line (M-r) -
    -Undo all changes made to this line. This is like executing the undo +

    +
    +
    prefix-meta (ESC) + +
    +

    Metafy the next character typed. This is for keyboards +without a meta key. Typing ‘ESC f’ is equivalent to typing +M-f. +

    +
    +
    undo (C-_ or C-x C-u) + +
    +

    Incremental undo, separately remembered for each line. +

    +
    +
    revert-line (M-r) + +
    +

    Undo all changes made to this line. This is like executing the undo command enough times to get back to the beginning. -

    - - -

    tilde-expand (M-&) -
    -Perform tilde expansion on the current word. -

    - - -

    set-mark (C-@) -
    -Set the mark to the point. If a +

    +
    +
    tilde-expand (M-&) + +
    +

    Perform tilde expansion on the current word. +

    +
    +
    set-mark (C-@) + +
    +

    Set the mark to the point. If a numeric argument is supplied, the mark is set to that position. -

    - - -

    exchange-point-and-mark (C-x C-x) -
    -Swap the point with the mark. The current cursor position is set to +

    +
    +
    exchange-point-and-mark (C-x C-x) + +
    +

    Swap the point with the mark. The current cursor position is set to the saved position, and the old cursor position is saved as the mark. -

    - - -

    character-search (C-]) -
    -A character is read and point is moved to the next occurrence of that +

    +
    +
    character-search (C-]) + +
    +

    A character is read and point is moved to the next occurrence of that character. A negative count searches for previous occurrences. -

    - - -

    character-search-backward (M-C-]) -
    -A character is read and point is moved to the previous occurrence +

    +
    +
    character-search-backward (M-C-]) + +
    +

    A character is read and point is moved to the previous occurrence of that character. A negative count searches for subsequent occurrences. -

    - - -

    skip-csi-sequence () -
    -Read enough characters to consume a multi-key sequence such as those +

    +
    +
    skip-csi-sequence () + +
    +

    Read enough characters to consume a multi-key sequence such as those defined for keys like Home and End. Such sequences begin with a Control Sequence Indicator (CSI), usually ESC-[. If this sequence is -bound to "\e[", keys producing such sequences will have no effect +bound to "\e[", keys producing such sequences will have no effect unless explicitly bound to a readline command, instead of inserting stray characters into the editing buffer. This is unbound by default, but usually bound to ESC-[. -

    - - -

    insert-comment (M-#) -
    -Without a numeric argument, the value of the comment-begin +

    +
    +
    insert-comment (M-#) + +
    +

    Without a numeric argument, the value of the comment-begin variable is inserted at the beginning of the current line. If a numeric argument is supplied, this command acts as a toggle: if the characters at the beginning of the line do not match the value -of comment-begin, the value is inserted, otherwise -the characters in comment-begin are deleted from the beginning of +of comment-begin, the value is inserted, otherwise +the characters in comment-begin are deleted from the beginning of the line. In either case, the line is accepted as if a newline had been typed. -The default value of comment-begin causes this command +The default value of comment-begin causes this command to make the current line a shell comment. If a numeric argument causes the comment character to be removed, the line will be executed by the shell. -

    - - -

    dump-functions () -
    -Print all of the functions and their key bindings to the +

    +
    +
    dump-functions () + +
    +

    Print all of the functions and their key bindings to the Readline output stream. If a numeric argument is supplied, the output is formatted in such a way that it can be made part -of an inputrc file. This command is unbound by default. -

    - - -

    dump-variables () -
    -Print all of the settable variables and their values to the +of an inputrc file. This command is unbound by default. +

    +
    +
    dump-variables () + +
    +

    Print all of the settable variables and their values to the Readline output stream. If a numeric argument is supplied, the output is formatted in such a way that it can be made part -of an inputrc file. This command is unbound by default. -

    - - -

    dump-macros () -
    -Print all of the Readline key sequences bound to macros and the +of an inputrc file. This command is unbound by default. +

    +
    +
    dump-macros () + +
    +

    Print all of the Readline key sequences bound to macros and the strings they output. If a numeric argument is supplied, the output is formatted in such a way that it can be made part -of an inputrc file. This command is unbound by default. -

    - - -

    glob-complete-word (M-g) -
    -The word before point is treated as a pattern for pathname expansion, +of an inputrc file. This command is unbound by default. +

    +
    +
    glob-complete-word (M-g) + +
    +

    The word before point is treated as a pattern for pathname expansion, with an asterisk implicitly appended. This pattern is used to generate a list of matching file names for possible completions. -

    - - -

    glob-expand-word (C-x *) -
    -The word before point is treated as a pattern for pathname expansion, +

    +
    +
    glob-expand-word (C-x *) + +
    +

    The word before point is treated as a pattern for pathname expansion, and the list of matching file names is inserted, replacing the word. -If a numeric argument is supplied, a `*' is appended before +If a numeric argument is supplied, a ‘*’ is appended before pathname expansion. -

    - - -

    glob-list-expansions (C-x g) -
    -The list of expansions that would have been generated by -glob-expand-word is displayed, and the line is redrawn. -If a numeric argument is supplied, a `*' is appended before +

    +
    +
    glob-list-expansions (C-x g) + +
    +

    The list of expansions that would have been generated by +glob-expand-word is displayed, and the line is redrawn. +If a numeric argument is supplied, a ‘*’ is appended before pathname expansion. -

    - - -

    display-shell-version (C-x C-v) -
    -Display version information about the current instance of Bash. -

    - - -

    shell-expand-line (M-C-e) -
    -Expand the line as the shell does. +

    +
    +
    display-shell-version (C-x C-v) + +
    +

    Display version information about the current instance of Bash. +

    +
    +
    shell-expand-line (M-C-e) + +
    +

    Expand the line as the shell does. This performs alias and history expansion as well as all of the shell -word expansions (see section 3.5 Shell Expansions). -

    - - -

    history-expand-line (M-^) -
    -Perform history expansion on the current line. -

    - - -

    magic-space () -
    -Perform history expansion on the current line and insert a space -(see section 9.3 History Expansion). -

    - - -

    alias-expand-line () -
    -Perform alias expansion on the current line (see section 6.6 Aliases). -

    - - -

    history-and-alias-expand-line () -
    -Perform history and alias expansion on the current line. -

    - - -

    insert-last-argument (M-. or M-_) -
    -A synonym for yank-last-arg. -

    - - -

    operate-and-get-next (C-o) -
    -Accept the current line for execution and fetch the next line +word expansions (see Shell Expansions). +

    +
    +
    history-expand-line (M-^) + +
    +

    Perform history expansion on the current line. +

    +
    +
    magic-space () + +
    +

    Perform history expansion on the current line and insert a space +(see History Interaction). +

    +
    +
    alias-expand-line () + +
    +

    Perform alias expansion on the current line (see Aliases). +

    +
    +
    history-and-alias-expand-line () + +
    +

    Perform history and alias expansion on the current line. +

    +
    +
    insert-last-argument (M-. or M-_) + +
    +

    A synonym for yank-last-arg. +

    +
    +
    operate-and-get-next (C-o) + +
    +

    Accept the current line for execution and fetch the next line relative to the current line from the history for editing. Any argument is ignored. -

    - - -

    edit-and-execute-command (C-xC-e) -
    -Invoke an editor on the current command line, and execute the result as shell +

    +
    +
    edit-and-execute-command (C-xC-e) + +
    +

    Invoke an editor on the current command line, and execute the result as shell commands. Bash attempts to invoke -$VISUAL, $EDITOR, and emacs +$VISUAL, $EDITOR, and emacs as the editor, in that order. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.5 Readline vi Mode

    - -

    - -While the Readline library does not have a full set of vi +

    + + +
    +
    + +
    + + + +

    8.5 Readline vi Mode

    + +

    While the Readline library does not have a full set of vi editing functions, it does contain enough to allow simple editing -of the line. The Readline vi mode behaves as specified in -the POSIX standard. -

    - -In order to switch interactively between emacs and vi -editing modes, use the `set -o emacs' and `set -o vi' -commands (see section 4.3.1 The Set Builtin). -The Readline default is emacs mode. -

    - -When you enter a line in vi mode, you are already placed in -`insertion' mode, as if you had typed an `i'. Pressing ESC -switches you into `command' mode, where you can edit the text of the -line with the standard vi movement keys, move to previous -history lines with `k' and subsequent lines with `j', and +of the line. The Readline vi mode behaves as specified in +the POSIX standard. +

    +

    In order to switch interactively between emacs and vi +editing modes, use the ‘set -o emacs’ and ‘set -o vi’ +commands (see The Set Builtin). +The Readline default is emacs mode. +

    +

    When you enter a line in vi mode, you are already placed in +‘insertion’ mode, as if you had typed an ‘i’. Pressing ESC +switches you into ‘command’ mode, where you can edit the text of the +line with the standard vi movement keys, move to previous +history lines with ‘k’ and subsequent lines with ‘j’, and so forth. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.6 Programmable Completion

    - -

    - -When word completion is attempted for an argument to a command for -which a completion specification (a compspec) has been defined -using the complete builtin (see section 8.7 Programmable Completion Builtins), +

    +
    + + + +

    8.6 Programmable Completion

    + + +

    When word completion is attempted for an argument to a command for +which a completion specification (a compspec) has been defined +using the complete builtin (see Programmable Completion Builtins), the programmable completion facilities are invoked. -

    - -First, the command name is identified. +

    +

    First, the command name is identified. If a compspec has been defined for that command, the compspec is used to generate the list of possible completions for the word. If the command word is the empty string (completion attempted at the beginning of an empty line), any compspec defined with -the `-E' option to complete is used. +the -E option to complete is used. If the command word is a full pathname, a compspec for the full pathname is searched for first. If no compspec is found for the full pathname, an attempt is made to find a compspec for the portion following the final slash. If those searches do not result in a compspec, any compspec defined with -the `-D' option to complete is used as the default. -

    - -Once a compspec has been found, it is used to generate the list of +the -D option to complete is used as the default. +

    +

    Once a compspec has been found, it is used to generate the list of matching words. If a compspec is not found, the default Bash completion -described above (see section 8.4.6 Letting Readline Type For You) is performed. -

    - -First, the actions specified by the compspec are used. +described above (see Commands For Completion) is performed. +

    +

    First, the actions specified by the compspec are used. Only matches which are prefixed by the word being completed are returned. -When the `-f' or `-d' option is used for filename or -directory name completion, the shell variable FIGNORE is +When the -f or -d option is used for filename or +directory name completion, the shell variable FIGNORE is used to filter the matches. -See section 5.2 Bash Variables, for a description of FIGNORE. -

    - -Any completions specified by a filename expansion pattern to the -`-G' option are generated next. +See Bash Variables, for a description of FIGNORE. +

    +

    Any completions specified by a filename expansion pattern to the +-G option are generated next. The words generated by the pattern need not match the word being completed. -The GLOBIGNORE shell variable is not used to filter the matches, -but the FIGNORE shell variable is used. -

    - -Next, the string specified as the argument to the `-W' option +The GLOBIGNORE shell variable is not used to filter the matches, +but the FIGNORE shell variable is used. +

    +

    Next, the string specified as the argument to the -W option is considered. -The string is first split using the characters in the IFS +The string is first split using the characters in the IFS special variable as delimiters. Shell quoting is honored. Each word is then expanded using brace expansion, tilde expansion, parameter and variable expansion, command substitution, and arithmetic expansion, -as described above (see section 3.5 Shell Expansions). +as described above (see Shell Expansions). The results are split using the rules described above -(see section 3.5.7 Word Splitting). +(see Word Splitting). The results of the expansion are prefix-matched against the word being completed, and the matching words become the possible completions. -

    - -After these matches have been generated, any shell function or command -specified with the `-F' and `-C' options is invoked. -When the command or function is invoked, the COMP_LINE, -COMP_POINT, COMP_KEY, and COMP_TYPE variables are -assigned values as described above (see section 5.2 Bash Variables). -If a shell function is being invoked, the COMP_WORDS and -COMP_CWORD variables are also set. +

    +

    After these matches have been generated, any shell function or command +specified with the -F and -C options is invoked. +When the command or function is invoked, the COMP_LINE, +COMP_POINT, COMP_KEY, and COMP_TYPE variables are +assigned values as described above (see Bash Variables). +If a shell function is being invoked, the COMP_WORDS and +COMP_CWORD variables are also set. When the function or command is invoked, the first argument ($1) is the name of the command whose arguments are being completed, the second argument ($2) is the word being completed, and the third argument @@ -12387,73 +11599,68 @@ line. No filtering of the generated completions against the word being completed is performed; the function or command has complete freedom in generating the matches. -

    - -Any function specified with `-F' is invoked first. +

    +

    Any function specified with -F is invoked first. The function may use any of the shell facilities, including the -compgen and compopt builtins described below -(see section 8.7 Programmable Completion Builtins), to generate the matches. -It must put the possible completions in the COMPREPLY array +compgen and compopt builtins described below +(see Programmable Completion Builtins), to generate the matches. +It must put the possible completions in the COMPREPLY array variable, one per array element. -

    - -Next, any command specified with the `-C' option is invoked +

    +

    Next, any command specified with the -C option is invoked in an environment equivalent to command substitution. It should print a list of completions, one per line, to the standard output. Backslash may be used to escape a newline, if necessary. -

    - -After all of the possible completions are generated, any filter -specified with the `-X' option is applied to the list. -The filter is a pattern as used for pathname expansion; a `&' +

    +

    After all of the possible completions are generated, any filter +specified with the -X option is applied to the list. +The filter is a pattern as used for pathname expansion; a ‘&’ in the pattern is replaced with the text of the word being completed. -A literal `&' may be escaped with a backslash; the backslash +A literal ‘&’ may be escaped with a backslash; the backslash is removed before attempting a match. Any completion that matches the pattern will be removed from the list. -A leading `!' negates the pattern; in this case any completion +A leading ‘!’ negates the pattern; in this case any completion not matching the pattern will be removed. -

    - -Finally, any prefix and suffix specified with the `-P' and `-S' +If the nocasematch shell option +(see the description of shopt in The Shopt Builtin) +is enabled, the match is performed without regard to the case +of alphabetic characters. +

    +

    Finally, any prefix and suffix specified with the -P and -S options are added to each member of the completion list, and the result is returned to the Readline completion code as the list of possible completions. -

    - -If the previously-applied actions do not generate any matches, and the -`-o dirnames' option was supplied to complete when the +

    +

    If the previously-applied actions do not generate any matches, and the +-o dirnames option was supplied to complete when the compspec was defined, directory name completion is attempted. -

    - -If the `-o plusdirs' option was supplied to complete when +

    +

    If the -o plusdirs option was supplied to complete when the compspec was defined, directory name completion is attempted and any matches are added to the results of the other actions. -

    - -By default, if a compspec is found, whatever it generates is returned to +

    +

    By default, if a compspec is found, whatever it generates is returned to the completion code as the full set of possible completions. The default Bash completions are not attempted, and the Readline default of filename completion is disabled. -If the `-o bashdefault' option was supplied to complete when +If the -o bashdefault option was supplied to complete when the compspec was defined, the default Bash completions are attempted if the compspec generates no matches. -If the `-o default' option was supplied to complete when the -compspec was defined, Readline's default completion will be performed +If the -o default option was supplied to complete when the +compspec was defined, Readline’s default completion will be performed if the compspec (and, if attempted, the default Bash completions) generate no matches. -

    - -When a compspec indicates that directory name completion is desired, +

    +

    When a compspec indicates that directory name completion is desired, the programmable completion functions force Readline to append a slash to completed names which are symbolic links to directories, subject to -the value of the mark-directories Readline variable, regardless -of the setting of the mark-symlinked-directories Readline variable. -

    - -There is some support for dynamically modifying completions. This is +the value of the mark-directories Readline variable, regardless +of the setting of the mark-symlinked-directories Readline variable. +

    +

    There is some support for dynamically modifying completions. This is most useful when used in combination with a default completion specified -with `-D'. It's possible for shell functions executed as completion +with -D. It’s possible for shell functions executed as completion handlers to indicate that completion should be retried by returning an exit status of 124. If a shell function returns 124, and changes the compspec associated with the command on which completion is being @@ -12462,396 +11669,373 @@ programmable completion restarts from the beginning, with an attempt to find a new compspec for that command. This allows a set of completions to be built dynamically as completion is attempted, rather than being loaded all at once. -

    - -For instance, assuming that there is a library of compspecs, each kept in a +

    +

    For instance, assuming that there is a library of compspecs, each kept in a file corresponding to the name of the command, the following default completion function would load completions dynamically: -

    - -
     
    _completion_loader()
    +

    +
    +
    _completion_loader()
     {
    -    . "/etc/bash_completion.d/$1.sh" >/dev/null 2>&1 && return 124
    +    . "/etc/bash_completion.d/$1.sh" >/dev/null 2>&1 && return 124
     }
     complete -D -F _completion_loader -o bashdefault -o default
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.7 Programmable Completion Builtins

    - -

    - -Three builtin commands are available to manipulate the programmable completion + + +


    + + + +

    8.7 Programmable Completion Builtins

    + + +

    Three builtin commands are available to manipulate the programmable completion facilities: one to specify how the arguments to a particular command are to be completed, and two to modify the completion as it is happening. -

    - -

    -
    compgen -
    -
     
    compgen [option] [word]
    -

    - -Generate possible completion matches for word according to -the options, which may be any option accepted by the -complete -builtin with the exception of `-p' and `-r', and write +

    +
    +
    compgen
    +
    +
    +
    compgen [option] [word]
    +
    + +

    Generate possible completion matches for word according to +the options, which may be any option accepted by the +complete +builtin with the exception of -p and -r, and write the matches to the standard output. -When using the `-F' or `-C' options, the various shell variables +When using the -F or -C options, the various shell variables set by the programmable completion facilities, while available, will not have useful values. -

    - -The matches will be generated in the same way as if the programmable +

    +

    The matches will be generated in the same way as if the programmable completion code had generated them directly from a completion specification with the same flags. -If word is specified, only those completions matching word +If word is specified, only those completions matching word will be displayed. -

    - -The return value is true unless an invalid option is supplied, or no +

    +

    The return value is true unless an invalid option is supplied, or no matches were generated. -

    - -

    complete -
    -
     
    complete [-abcdefgjksuv] [-o comp-option] [-DE] [-A action] [-G globpat] [-W wordlist]
    -[-F function] [-C command] [-X filterpat]
    -[-P prefix] [-S suffix] name [name ...]
    -complete -pr [-DE] [name ...]
    -

    - -Specify how arguments to each name should be completed. -If the `-p' option is supplied, or if no options are supplied, existing +

    +
    +
    complete
    +
    +
    +
    complete [-abcdefgjksuv] [-o comp-option] [-DE] [-A action] [-G globpat] [-W wordlist]
    +[-F function] [-C command] [-X filterpat]
    +[-P prefix] [-S suffix] name [name …]
    +complete -pr [-DE] [name …]
    +
    + +

    Specify how arguments to each name should be completed. +If the -p option is supplied, or if no options are supplied, existing completion specifications are printed in a way that allows them to be reused as input. -The `-r' option removes a completion specification for -each name, or, if no names are supplied, all +The -r option removes a completion specification for +each name, or, if no names are supplied, all completion specifications. -The `-D' option indicates that the remaining options and actions should -apply to the "default" command completion; that is, completion attempted +The -D option indicates that the remaining options and actions should +apply to the “default” command completion; that is, completion attempted on a command for which no completion has previously been defined. -The `-E' option indicates that the remaining options and actions should -apply to "empty" command completion; that is, completion attempted on a +The -E option indicates that the remaining options and actions should +apply to “empty” command completion; that is, completion attempted on a blank line. -

    - -The process of applying these completion specifications when word completion -is attempted is described above (see section 8.6 Programmable Completion). The -`-D' option takes precedence over `-E'. -

    - -Other options, if specified, have the following meanings. -The arguments to the `-G', `-W', and `-X' options -(and, if necessary, the `-P' and `-S' options) +

    +

    The process of applying these completion specifications when word completion +is attempted is described above (see Programmable Completion). The +-D option takes precedence over -E. +

    +

    Other options, if specified, have the following meanings. +The arguments to the -G, -W, and -X options +(and, if necessary, the -P and -S options) should be quoted to protect them from expansion before the -complete builtin is invoked. -

    +complete builtin is invoked. +

    -
    -
    -o comp-option -
    The comp-option controls several aspects of the compspec's behavior +
    +
    -o comp-option
    +

    The comp-option controls several aspects of the compspec’s behavior beyond the simple generation of completions. -comp-option may be one of: -

    - -

    - -
    bashdefault -
    Perform the rest of the default Bash completions if the compspec +comp-option may be one of: +

    +
    +
    bashdefault
    +

    Perform the rest of the default Bash completions if the compspec generates no matches. -

    - -

    default -
    Use Readline's default filename completion if the compspec generates +

    +
    +
    default
    +

    Use Readline’s default filename completion if the compspec generates no matches. -

    - -

    dirnames -
    Perform directory name completion if the compspec generates no matches. -

    - -

    filenames -
    Tell Readline that the compspec generates filenames, so it can perform any +

    +
    +
    dirnames
    +

    Perform directory name completion if the compspec generates no matches. +

    +
    +
    filenames
    +

    Tell Readline that the compspec generates filenames, so it can perform any filename-specific processing (like adding a slash to directory names quoting special characters, or suppressing trailing spaces). This option is intended to be used with shell functions specified -with `-F'. -

    - -

    noquote -
    Tell Readline not to quote the completed words if they are filenames +with -F. +

    +
    +
    noquote
    +

    Tell Readline not to quote the completed words if they are filenames (quoting filenames is the default). -

    - -

    nospace -
    Tell Readline not to append a space (the default) to words completed at +

    +
    +
    nosort
    +

    Tell Readline not to sort the list of possible completions alphabetically. +

    +
    +
    nospace
    +

    Tell Readline not to append a space (the default) to words completed at the end of the line. -

    - -

    plusdirs -
    After any matches defined by the compspec are generated, +

    +
    +
    plusdirs
    +

    After any matches defined by the compspec are generated, directory name completion is attempted and any matches are added to the results of the other actions. -

    - -

    -

    +

    +
    +
    -
    -A action -
    The action may be one of the following to generate a list of possible +
    +
    -A action
    +

    The action may be one of the following to generate a list of possible completions: -

    - -

    -
    alias -
    Alias names. May also be specified as `-a'. -

    - -

    arrayvar -
    Array variable names. -

    - -

    binding -
    Readline key binding names (see section 8.4 Bindable Readline Commands). -

    - -

    builtin -
    Names of shell builtin commands. May also be specified as `-b'. -

    - -

    command -
    Command names. May also be specified as `-c'. -

    - -

    directory -
    Directory names. May also be specified as `-d'. -

    - -

    disabled -
    Names of disabled shell builtins. -

    - -

    enabled -
    Names of enabled shell builtins. -

    - -

    export -
    Names of exported shell variables. May also be specified as `-e'. -

    - -

    file -
    File names. May also be specified as `-f'. -

    - -

    function -
    Names of shell functions. -

    - -

    group -
    Group names. May also be specified as `-g'. -

    - -

    helptopic -
    Help topics as accepted by the help builtin (see section 4.2 Bash Builtin Commands). -

    - -

    hostname -
    Hostnames, as taken from the file specified by the -HOSTFILE shell variable (see section 5.2 Bash Variables). -

    - -

    job -
    Job names, if job control is active. May also be specified as `-j'. -

    - -

    keyword -
    Shell reserved words. May also be specified as `-k'. -

    - -

    running -
    Names of running jobs, if job control is active. -

    - -

    service -
    Service names. May also be specified as `-s'. -

    - -

    setopt -
    Valid arguments for the `-o' option to the set builtin -(see section 4.3.1 The Set Builtin). -

    - -

    shopt -
    Shell option names as accepted by the shopt builtin -(see section 4.2 Bash Builtin Commands). -

    - -

    signal -
    Signal names. -

    - -

    stopped -
    Names of stopped jobs, if job control is active. -

    - -

    user -
    User names. May also be specified as `-u'. -

    - -

    variable -
    Names of all shell variables. May also be specified as `-v'. -
    -

    - -

    -C command -
    command is executed in a subshell environment, and its output is +

    +
    +
    alias
    +

    Alias names. May also be specified as -a. +

    +
    +
    arrayvar
    +

    Array variable names. +

    +
    +
    binding
    +

    Readline key binding names (see Bindable Readline Commands). +

    +
    +
    builtin
    +

    Names of shell builtin commands. May also be specified as -b. +

    +
    +
    command
    +

    Command names. May also be specified as -c. +

    +
    +
    directory
    +

    Directory names. May also be specified as -d. +

    +
    +
    disabled
    +

    Names of disabled shell builtins. +

    +
    +
    enabled
    +

    Names of enabled shell builtins. +

    +
    +
    export
    +

    Names of exported shell variables. May also be specified as -e. +

    +
    +
    file
    +

    File names. May also be specified as -f. +

    +
    +
    function
    +

    Names of shell functions. +

    +
    +
    group
    +

    Group names. May also be specified as -g. +

    +
    +
    helptopic
    +

    Help topics as accepted by the help builtin (see Bash Builtins). +

    +
    +
    hostname
    +

    Hostnames, as taken from the file specified by the +HOSTFILE shell variable (see Bash Variables). +

    +
    +
    job
    +

    Job names, if job control is active. May also be specified as -j. +

    +
    +
    keyword
    +

    Shell reserved words. May also be specified as -k. +

    +
    +
    running
    +

    Names of running jobs, if job control is active. +

    +
    +
    service
    +

    Service names. May also be specified as -s. +

    +
    +
    setopt
    +

    Valid arguments for the -o option to the set builtin +(see The Set Builtin). +

    +
    +
    shopt
    +

    Shell option names as accepted by the shopt builtin +(see Bash Builtins). +

    +
    +
    signal
    +

    Signal names. +

    +
    +
    stopped
    +

    Names of stopped jobs, if job control is active. +

    +
    +
    user
    +

    User names. May also be specified as -u. +

    +
    +
    variable
    +

    Names of all shell variables. May also be specified as -v. +

    +
    + +
    +
    -C command
    +

    command is executed in a subshell environment, and its output is used as the possible completions. -

    - -

    -F function -
    The shell function function is executed in the current shell +

    +
    +
    -F function
    +

    The shell function function is executed in the current shell environment. When it is executed, $1 is the name of the command whose arguments are being completed, $2 is the word being completed, and $3 is the word preceding the word being completed, as described above -(see section 8.6 Programmable Completion). +(see Programmable Completion). When it finishes, the possible completions are retrieved from the value -of the COMPREPLY array variable. -

    - -

    -G globpat -
    The filename expansion pattern globpat is expanded to generate +of the COMPREPLY array variable. +

    +
    +
    -G globpat
    +

    The filename expansion pattern globpat is expanded to generate the possible completions. -

    - -

    -P prefix -
    prefix is added at the beginning of each possible completion +

    +
    +
    -P prefix
    +

    prefix is added at the beginning of each possible completion after all other options have been applied. -

    - -

    -S suffix -
    suffix is appended to each possible completion +

    +
    +
    -S suffix
    +

    suffix is appended to each possible completion after all other options have been applied. -

    - -

    -W wordlist -
    The wordlist is split using the characters in the -IFS special variable as delimiters, and each resultant word +

    +
    +
    -W wordlist
    +

    The wordlist is split using the characters in the +IFS special variable as delimiters, and each resultant word is expanded. The possible completions are the members of the resultant list which match the word being completed. -

    - -

    -X filterpat -
    filterpat is a pattern as used for filename expansion. +

    +
    +
    -X filterpat
    +

    filterpat is a pattern as used for filename expansion. It is applied to the list of possible completions generated by the preceding options and arguments, and each completion matching -filterpat is removed from the list. -A leading `!' in filterpat negates the pattern; in this -case, any completion not matching filterpat is removed. -

    -

    - -The return value is true unless an invalid option is supplied, an option -other than `-p' or `-r' is supplied without a name +filterpat is removed from the list. +A leading ‘!’ in filterpat negates the pattern; in this +case, any completion not matching filterpat is removed. +

    +
    + +

    The return value is true unless an invalid option is supplied, an option +other than -p or -r is supplied without a name argument, an attempt is made to remove a completion specification for -a name for which no specification exists, or +a name for which no specification exists, or an error occurs adding a completion specification. -

    - -

    compopt -
    -
     
    compopt [-o option] [-DE] [+o option] [name]
    -
    Modify completion options for each name according to the -options, or for the currently-executing completion if no names +

    +
    +
    compopt
    +
    +
    +
    compopt [-o option] [-DE] [+o option] [name]
    +
    +

    Modify completion options for each name according to the +options, or for the currently-executing completion if no names are supplied. -If no options are given, display the completion options for each -name or the current completion. -The possible values of option are those valid for the complete +If no options are given, display the completion options for each +name or the current completion. +The possible values of option are those valid for the complete builtin described above. -The `-D' option indicates that the remaining options should -apply to the "default" command completion; that is, completion attempted +The -D option indicates that the remaining options should +apply to the “default” command completion; that is, completion attempted on a command for which no completion has previously been defined. -The `-E' option indicates that the remaining options should -apply to "empty" command completion; that is, completion attempted on a +The -E option indicates that the remaining options should +apply to “empty” command completion; that is, completion attempted on a blank line. -

    - -The `-D' option takes precedence over `-E'. -

    - -The return value is true unless an invalid option is supplied, an attempt -is made to modify the options for a name for which no completion +

    +

    The -D option takes precedence over -E. +

    +

    The return value is true unless an invalid option is supplied, an attempt +is made to modify the options for a name for which no completion specification exists, or an output error occurs. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    8.8 A Programmable Completion Example

    - -

    - -The most common way to obtain additional completion functionality beyond -the default actions complete and compgen provide is to use -a shell function and bind it to a particular command using complete -F. -

    - -The following function provides completions for the cd builtin. +

    +
    +
    + +
    + + + +

    8.8 A Programmable Completion Example

    + +

    The most common way to obtain additional completion functionality beyond +the default actions complete and compgen provide is to use +a shell function and bind it to a particular command using complete -F. +

    +

    The following function provides completions for the cd builtin. It is a reasonably good example of what shell functions must do when -used for completion. This function uses the word passsed as $2 +used for completion. This function uses the word passsed as $2 to determine the directory name to complete. You can also use the -COMP_WORDS array variable; the current word is indexed by the -COMP_CWORD variable. -

    - -The function relies on the complete and compgen builtins -to do much of the work, adding only the things that the Bash cd +COMP_WORDS array variable; the current word is indexed by the +COMP_CWORD variable. +

    +

    The function relies on the complete and compgen builtins +to do much of the work, adding only the things that the Bash cd does beyond accepting basic directory names: -tilde expansion (see section 3.5.2 Tilde Expansion), -searching directories in $CDPATH, which is described above -(see section 4.1 Bourne Shell Builtins), -and basic support for the cdable_vars shell option -(see section 4.3.2 The Shopt Builtin). -_comp_cd modifies the value of IFS so that it contains only -a newline to accommodate file names containing spaces and tabs -- -compgen prints the possible completions it generates one per line. -

    - -Possible completions go into the COMPREPLY array variable, one +tilde expansion (see Tilde Expansion), +searching directories in $CDPATH, which is described above +(see Bourne Shell Builtins), +and basic support for the cdable_vars shell option +(see The Shopt Builtin). +_comp_cd modifies the value of IFS so that it contains only +a newline to accommodate file names containing spaces and tabs – +compgen prints the possible completions it generates one per line. +

    +

    Possible completions go into the COMPREPLY array variable, one completion per array element. The programmable completion system retrieves the completions from there when the function returns. -

    - -
     
    # A completion function for the cd builtin
    +

    +
    +
    # A completion function for the cd builtin
     # based on the cd completion function from the bash_completion package
     _comp_cd()
     {
    @@ -12860,16 +12044,16 @@ _comp_cd()
         local i j k
     
         # Tilde expansion, with side effect of expanding tilde to full pathname
    -    case "$2" in
    -    \~*)    eval cur="$2" ;;
    +    case "$2" in
    +    \~*)    eval cur="$2" ;;
         *)      cur=$2 ;;
         esac
     
         # no cdpath or absolute pathname -- straight directory completion
    -    if [[ -z "${CDPATH:-}" ]] || [[ "$cur" == @(./*|../*|/*) ]]; then
    +    if [[ -z "${CDPATH:-}" ]] || [[ "$cur" == @(./*|../*|/*) ]]; then
             # compgen prints paths one per line; could also use while loop
             IFS=$'\n'
    -        COMPREPLY=( $(compgen -d -- "$cur") )
    +        COMPREPLY=( $(compgen -d -- "$cur") )
             IFS=$' \t\n'
         # CDPATH+directories in the current directory if not in CDPATH
         else
    @@ -12881,2091 +12065,1676 @@ _comp_cd()
             _cdpath=${_cdpath/%:/:.}
             for i in ${_cdpath//:/$'\n'}; do
                 if [[ $i -ef . ]]; then _skipdot=true; fi
    -            k="${#COMPREPLY[@]}"
    -            for j in $( compgen -d -- "$i/$cur" ); do
    +            k="${#COMPREPLY[@]}"
    +            for j in $( compgen -d -- "$i/$cur" ); do
                     COMPREPLY[k++]=${j#$i/}        # cut off directory
                 done
             done
    -        $_skipdot || COMPREPLY+=( $(compgen -d -- "$cur") )
    +        $_skipdot || COMPREPLY+=( $(compgen -d -- "$cur") )
             IFS=$' \t\n'
         fi
     
         # variable names if appropriate shell option set and no completions
    -    if shopt -q cdable_vars && [[ ${#COMPREPLY[@]} -eq 0 ]]; then
    -        COMPREPLY=( $(compgen -v -- "$cur") )
    +    if shopt -q cdable_vars && [[ ${#COMPREPLY[@]} -eq 0 ]]; then
    +        COMPREPLY=( $(compgen -v -- "$cur") )
         fi
     
         return 0
     }
    -

    + -We install the completion function using the `-F' option to -complete: -

    - -
     
    # Tell readline to quote appropriate and append slashes to directories;
    +

    We install the completion function using the -F option to +complete: +

    +
    +
    # Tell readline to quote appropriate and append slashes to directories;
     # use the bash default completion for other arguments
     complete -o filenames -o nospace -o bashdefault -F _comp_cd cd
    -

    + -Since we'd like Bash and Readline to take care of some +

    Since we’d like Bash and Readline to take care of some of the other details for us, we use several other options to tell Bash -and Readline what to do. The `-o filenames' option tells Readline +and Readline what to do. The -o filenames option tells Readline that the possible completions should be treated as filenames, and quoted appropriately. That option will also cause Readline to append a slash to filenames it can determine are directories (which is why we might want to -extend _comp_cd to append a slash if we're using directories found -via CDPATH: Readline can't tell those completions are directories). -The `-o nospace' option tells Readline to not append a space +extend _comp_cd to append a slash if we’re using directories found +via CDPATH: Readline can’t tell those completions are directories). +The -o nospace option tells Readline to not append a space character to the directory name, in case we want to append to it. -The `-o bashdefault' option brings in the rest of the "Bash default" -completions -- possible completion that Bash adds to the default Readline +The -o bashdefault option brings in the rest of the "Bash default" +completions – possible completion that Bash adds to the default Readline set. These include things like command name completion, variable completion -for words beginning with `{', completions containing pathname -expansion patterns (see section 3.5.8 Filename Expansion), and so on. -

    - -Once installed using complete, _comp_cd will be called every -time we attempt word completion for a cd command. -

    - -Many more examples -- an extensive collection of completions for most of -the common GNU, Unix, and Linux commands -- are available as part of the +for words beginning with ‘{’, completions containing pathname +expansion patterns (see Filename Expansion), and so on. +

    +

    Once installed using complete, _comp_cd will be called every +time we attempt word completion for a cd command. +

    +

    Many more examples – an extensive collection of completions for most of +the common GNU, Unix, and Linux commands – are available as part of the bash_completion project. This is installed by default on many GNU/Linux distributions. Originally written by Ian Macdonald, the project now lives -at http://bash-completion.alioth.debian.org/. There are ports for +at http://bash-completion.alioth.debian.org/. There are ports for other systems such as Solaris and Mac OS X. -

    - -An older version of the bash_completion package is distributed with bash -in the `examples/complete' subdirectory. -

    - - -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    9. Using History Interactively

    - -

    - -This chapter describes how to use the GNU History Library -interactively, from a user's standpoint. -It should be considered a user's guide. -For information on using the GNU History Library in other programs, -see the GNU Readline Library Manual. -

    - -

    - - - -
    9.1 Bash History Facilities  How Bash lets you manipulate your command - history.
    9.2 Bash History Builtins  The Bash builtin commands that manipulate - the command history.
    9.3 History Expansion  What it feels like using History as a user.
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    9.1 Bash History Facilities

    - -

    - -When the `-o history' option to the set builtin -is enabled (see section 4.3.1 The Set Builtin), -the shell provides access to the command history, +

    +

    An older version of the bash_completion package is distributed with bash +in the examples/complete subdirectory. +

    + + +
    + +
    +

    +Next: , Previous: , Up: Top   [Contents][Index]

    +
    + +

    9 Using History Interactively

    + + +

    This chapter describes how to use the GNU History Library +interactively, from a user’s standpoint. +It should be considered a user’s guide. +For information on using the GNU History Library in other programs, +see the GNU Readline Library Manual. +

    + + + + + + +
    + + + +

    9.1 Bash History Facilities

    + + + +

    When the -o history option to the set builtin +is enabled (see The Set Builtin), +the shell provides access to the command history, the list of commands previously typed. -The value of the HISTSIZE shell variable is used as the +The value of the HISTSIZE shell variable is used as the number of commands to save in a history list. -The text of the last $HISTSIZE +The text of the last $HISTSIZE commands (default 500) is saved. The shell stores each command in the history list prior to parameter and variable expansion but after history expansion is performed, subject to the values of the shell variables -HISTIGNORE and HISTCONTROL. -

    - -When the shell starts up, the history is initialized from the -file named by the HISTFILE variable (default `~/.bash_history'). -The file named by the value of HISTFILE is truncated, if +HISTIGNORE and HISTCONTROL. +

    +

    When the shell starts up, the history is initialized from the +file named by the HISTFILE variable (default ~/.bash_history). +The file named by the value of HISTFILE is truncated, if necessary, to contain no more than the number of lines specified by -the value of the HISTFILESIZE variable. +the value of the HISTFILESIZE variable. When a shell with history enabled exits, the last -$HISTSIZE lines are copied from the history list to the file -named by $HISTFILE. -If the histappend shell option is set (see section 4.2 Bash Builtin Commands), +$HISTSIZE lines are copied from the history list to the file +named by $HISTFILE. +If the histappend shell option is set (see Bash Builtins), the lines are appended to the history file, otherwise the history file is overwritten. -If HISTFILE +If HISTFILE is unset, or if the history file is unwritable, the history is not saved. After saving the history, the history file is truncated -to contain no more than $HISTFILESIZE lines. -If HISTFILESIZE is unset, or set to null, a non-numeric value, or +to contain no more than $HISTFILESIZE lines. +If HISTFILESIZE is unset, or set to null, a non-numeric value, or a numeric value less than zero, the history file is not truncated. -

    - -If the HISTTIMEFORMAT is set, the time stamp information +

    +

    If the HISTTIMEFORMAT is set, the time stamp information associated with each history entry is written to the history file, marked with the history comment character. When the history file is read, lines beginning with the history comment character followed immediately by a digit are interpreted -as timestamps for the previous history line. -

    - -The builtin command fc may be used to list or edit and re-execute +as timestamps for the following history entry. +

    +

    The builtin command fc may be used to list or edit and re-execute a portion of the history list. -The history builtin may be used to display or modify the history +The history builtin may be used to display or modify the history list and manipulate the history file. When using command-line editing, search commands are available in each editing mode that provide access to the -history list (see section 8.4.2 Commands For Manipulating The History). -

    - -The shell allows control over which commands are saved on the history -list. The HISTCONTROL and HISTIGNORE +history list (see Commands For History). +

    +

    The shell allows control over which commands are saved on the history +list. The HISTCONTROL and HISTIGNORE variables may be set to cause the shell to save only a subset of the commands entered. -The cmdhist +The cmdhist shell option, if enabled, causes the shell to attempt to save each line of a multi-line command in the same history entry, adding semicolons where necessary to preserve syntactic correctness. -The lithist +The lithist shell option causes the shell to save the command with embedded newlines instead of semicolons. -The shopt builtin is used to set these options. -See section 4.2 Bash Builtin Commands, for a description of shopt. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    9.2 Bash History Builtins

    - -

    - -Bash provides two builtin commands which manipulate the +The shopt builtin is used to set these options. +See Bash Builtins, for a description of shopt. +

    +
    + + + +

    9.2 Bash History Builtins

    + + +

    Bash provides two builtin commands which manipulate the history list and history file. -

    - -

    - -
    fc -
    -
     
    fc [-e ename] [-lnr] [first] [last]
    -fc -s [pat=rep] [command]
    -

    - -The first form selects a range of commands from first to -last from the history list and displays or edits and re-executes +

    +
    +
    fc
    +
    +
    +
    fc [-e ename] [-lnr] [first] [last]
    +fc -s [pat=rep] [command]
    +
    + +

    The first form selects a range of commands from first to +last from the history list and displays or edits and re-executes them. -Both first and -last may be specified as a string (to locate the most recent +Both first and +last may be specified as a string (to locate the most recent command beginning with that string) or as a number (an index into the history list, where a negative number is used as an offset from the -current command number). If last is not specified it is set to -first. If first is not specified it is set to the previous -command for editing and -16 for listing. If the `-l' flag is -given, the commands are listed on standard output. The `-n' flag -suppresses the command numbers when listing. The `-r' flag +current command number). If last is not specified it is set to +first. If first is not specified it is set to the previous +command for editing and -16 for listing. If the -l flag is +given, the commands are listed on standard output. The -n flag +suppresses the command numbers when listing. The -r flag reverses the order of the listing. Otherwise, the editor given by -ename is invoked on a file containing those commands. If -ename is not given, the value of the following variable expansion -is used: ${FCEDIT:-${EDITOR:-vi}}. This says to use the -value of the FCEDIT variable if set, or the value of the -EDITOR variable if that is set, or vi if neither is set. +ename is invoked on a file containing those commands. If +ename is not given, the value of the following variable expansion +is used: ${FCEDIT:-${EDITOR:-vi}}. This says to use the +value of the FCEDIT variable if set, or the value of the +EDITOR variable if that is set, or vi if neither is set. When editing is complete, the edited commands are echoed and executed. -

    - -In the second form, command is re-executed after each instance -of pat in the selected command is replaced by rep. -command is intepreted the same as first above. -

    - -A useful alias to use with the fc command is r='fc -s', so -that typing `r cc' runs the last command beginning with cc -and typing `r' re-executes the last command (see section 6.6 Aliases). -

    - -

    history -
    -
     
    history [n]
    +

    +

    In the second form, command is re-executed after each instance +of pat in the selected command is replaced by rep. +command is intepreted the same as first above. +

    +

    A useful alias to use with the fc command is r='fc -s', so +that typing ‘r cc’ runs the last command beginning with cc +and typing ‘r’ re-executes the last command (see Aliases). +

    + +
    history
    +
    +
    +
    history [n]
     history -c
    -history -d offset
    -history [-anrw] [filename]
    -history -ps arg
    -

    - -With no options, display the history list with line numbers. -Lines prefixed with a `*' have been modified. -An argument of n lists only the last n lines. -If the shell variable HISTTIMEFORMAT is set and not null, -it is used as a format string for strftime to display +history -d offset +history [-anrw] [filename] +history -ps arg + + +

    With no options, display the history list with line numbers. +Lines prefixed with a ‘*’ have been modified. +An argument of n lists only the last n lines. +If the shell variable HISTTIMEFORMAT is set and not null, +it is used as a format string for strftime to display the time stamp associated with each displayed history entry. No intervening blank is printed between the formatted time stamp and the history line. -

    - -Options, if supplied, have the following meanings: -

    - -

    -
    -c -
    Clear the history list. This may be combined +

    +

    Options, if supplied, have the following meanings: +

    +
    +
    -c
    +

    Clear the history list. This may be combined with the other options to replace the history list completely. -

    - -

    -d offset -
    Delete the history entry at position offset. -offset should be specified as it appears when the history is +

    +
    +
    -d offset
    +

    Delete the history entry at position offset. +offset should be specified as it appears when the history is displayed. -

    - -

    -a -
    Append the new -history lines (history lines entered since the beginning of the -current Bash session) to the history file. -

    - -

    -n -
    Append the history lines not already read from the history file +

    +
    +
    -a
    +

    Append the new history lines to the history file. +These are history lines entered since the beginning of the current +Bash session, but not already appended to the history file. +

    +
    +
    -n
    +

    Append the history lines not already read from the history file to the current history list. These are lines appended to the history file since the beginning of the current Bash session. -

    - -

    -r -
    Read the history file and append its contents to +

    +
    +
    -r
    +

    Read the history file and append its contents to the history list. -

    - -

    -w -
    Write out the current history list to the history file. -

    - -

    -p -
    Perform history substitution on the args and display the result +

    +
    +
    -w
    +

    Write out the current history list to the history file. +

    +
    +
    -p
    +

    Perform history substitution on the args and display the result on the standard output, without storing the results in the history list. -

    - -

    -s -
    The args are added to the end of +

    +
    +
    -s
    +

    The args are added to the end of the history list as a single entry. -

    - -

    -

    +

    +
    +
    -When any of the `-w', `-r', `-a', or `-n' options is -used, if filename +

    When any of the -w, -r, -a, or -n options is +used, if filename is given, then it is used as the history file. If not, then -the value of the HISTFILE variable is used. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    9.3 History Expansion

    - -

    - -The History library provides a history expansion feature that is similar -to the history expansion provided by csh. This section +the value of the HISTFILE variable is used. +

    +
    +
    + +
    + + + +

    9.3 History Expansion

    + + +

    The History library provides a history expansion feature that is similar +to the history expansion provided by csh. This section describes the syntax used to manipulate the history information. -

    - -History expansions introduce words from the history list into +

    +

    History expansions introduce words from the history list into the input stream, making it easy to repeat commands, insert the arguments to a previous command into the current input line, or fix errors in previous commands quickly. -

    - -History expansion takes place in two parts. The first is to determine +

    +

    History expansion is performed immediately after a complete line +is read, before the shell breaks it into words. +

    +

    History expansion takes place in two parts. The first is to determine which line from the history list should be used during substitution. The second is to select portions of that line for inclusion into the current one. The line selected from the history is called the -event, and the portions of that line that are acted upon are -called words. Various modifiers are available to manipulate +event, and the portions of that line that are acted upon are +called words. Various modifiers are available to manipulate the selected words. The line is broken into words in the same fashion that Bash does, so that several words surrounded by quotes are considered one word. History expansions are introduced by the appearance of the -history expansion character, which is `!' by default. -Only `\' and `'' may be used to escape the history expansion -character. -

    - -Several shell options settable with the shopt -builtin (see section 4.2 Bash Builtin Commands) may be used to tailor +history expansion character, which is ‘!’ by default. +Only ‘\’ and ‘'’ may be used to escape the history expansion +character, but the history expansion character is +also treated as quoted if it immediately precedes the closing double quote +in a double-quoted string. +

    +

    Several shell options settable with the shopt +builtin (see Bash Builtins) may be used to tailor the behavior of history expansion. If the -histverify shell option is enabled, and Readline +histverify shell option is enabled, and Readline is being used, history substitutions are not immediately passed to the shell parser. Instead, the expanded line is reloaded into the Readline editing buffer for further modification. -If Readline is being used, and the histreedit +If Readline is being used, and the histreedit shell option is enabled, a failed history expansion will be reloaded into the Readline editing buffer for correction. -The `-p' option to the history builtin command +The -p option to the history builtin command may be used to see what a history expansion will do before using it. -The `-s' option to the history builtin may be used to +The -s option to the history builtin may be used to add commands to the end of the history list without actually executing them, so that they are available for subsequent recall. This is most useful in conjunction with Readline. -

    - -The shell allows control of the various characters used by the -history expansion mechanism with the histchars variable, -as explained above (see section 5.2 Bash Variables). The shell uses +

    +

    The shell allows control of the various characters used by the +history expansion mechanism with the histchars variable, +as explained above (see Bash Variables). The shell uses the history comment character to mark history timestamps when writing the history file. -

    - -

    - - - -
    9.3.1 Event Designators  How to specify which history line to use.
    9.3.2 Word Designators  Specifying which words are of interest.
    9.3.3 Modifiers  Modifying the results of substitution.
    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    9.3.1 Event Designators

    - -

    - -An event designator is a reference to a command line entry in the +

    + + + + + + +
    + + + +

    9.3.1 Event Designators

    + + +

    An event designator is a reference to a command line entry in the history list. Unless the reference is absolute, events are relative to the current position in the history list. - -

    - -

    - -
    ! -
    Start a history substitution, except when followed by a space, tab, -the end of the line, `=' or `(' (when the -extglob shell option is enabled using the shopt builtin). -

    - -

    !n -
    Refer to command line n. -

    - -

    !-n -
    Refer to the command n lines back. -

    - -

    !! -
    Refer to the previous command. This is a synonym for `!-1'. -

    - -

    !string -
    Refer to the most recent command + +

    +
    +
    !
    +

    Start a history substitution, except when followed by a space, tab, +the end of the line, ‘=’ or ‘(’ (when the +extglob shell option is enabled using the shopt builtin). +

    +
    +
    !n
    +

    Refer to command line n. +

    +
    +
    !-n
    +

    Refer to the command n lines back. +

    +
    +
    !!
    +

    Refer to the previous command. This is a synonym for ‘!-1’. +

    +
    +
    !string
    +

    Refer to the most recent command preceding the current position in the history list -starting with string. -

    - -

    !?string[?] -
    Refer to the most recent command +starting with string. +

    +
    +
    !?string[?]
    +

    Refer to the most recent command preceding the current position in the history list -containing string. +containing string. The trailing -`?' may be omitted if the string is followed immediately by +‘?’ may be omitted if the string is followed immediately by a newline. -

    - -

    ^string1^string2^ -
    Quick Substitution. Repeat the last command, replacing string1 -with string2. Equivalent to -!!:s/string1/string2/. -

    - -

    !# -
    The entire command line typed so far. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    9.3.2 Word Designators

    - -

    - -Word designators are used to select desired words from the event. -A `:' separates the event specification from the word designator. It -may be omitted if the word designator begins with a `^', `$', -`*', `-', or `%'. Words are numbered from the beginning +

    +
    +
    ^string1^string2^
    +

    Quick Substitution. Repeat the last command, replacing string1 +with string2. Equivalent to +!!:s/string1/string2/. +

    +
    +
    !#
    +

    The entire command line typed so far. +

    +
    +
    + +
    + + + +

    9.3.2 Word Designators

    + +

    Word designators are used to select desired words from the event. +A ‘:’ separates the event specification from the word designator. It +may be omitted if the word designator begins with a ‘^’, ‘$’, +‘*’, ‘-’, or ‘%’. Words are numbered from the beginning of the line, with the first word being denoted by 0 (zero). Words are inserted into the current line separated by single spaces. -

    - -For example, -

    - -

    -
    !! -
    designates the preceding command. When you type this, the preceding +

    +

    For example, +

    +
    +
    !!
    +

    designates the preceding command. When you type this, the preceding command is repeated in toto. -

    - -

    !!:$ -
    designates the last argument of the preceding command. This may be -shortened to !$. -

    - -

    !fi:2 -
    designates the second argument of the most recent command starting with -the letters fi. -
    -

    - -Here are the word designators: - -

    - -
    0 (zero) -
    The 0th word. For many applications, this is the command word. -

    - -

    n -
    The nth word. -

    - -

    ^ -
    The first argument; that is, word 1. -

    - -

    $ -
    The last argument. -

    - -

    % -
    The word matched by the most recent `?string?' search. -

    - -

    x-y -
    A range of words; `-y' abbreviates `0-y'. -

    - -

    * -
    All of the words, except the 0th. This is a synonym for `1-$'. -It is not an error to use `*' if there is just one word in the event; +

    +
    +
    !!:$
    +

    designates the last argument of the preceding command. This may be +shortened to !$. +

    +
    +
    !fi:2
    +

    designates the second argument of the most recent command starting with +the letters fi. +

    +
    + +

    Here are the word designators: +

    +
    +
    0 (zero)
    +

    The 0th word. For many applications, this is the command word. +

    +
    +
    n
    +

    The nth word. +

    +
    +
    ^
    +

    The first argument; that is, word 1. +

    +
    +
    $
    +

    The last argument. +

    +
    +
    %
    +

    The word matched by the most recent ‘?string?’ search. +

    +
    +
    x-y
    +

    A range of words; ‘-y’ abbreviates ‘0-y’. +

    +
    +
    *
    +

    All of the words, except the 0th. This is a synonym for ‘1-$’. +It is not an error to use ‘*’ if there is just one word in the event; the empty string is returned in that case. -

    - -

    x* -
    Abbreviates `x-$' -

    - -

    x- -
    Abbreviates `x-$' like `x*', but omits the last word. -

    - -

    -

    - -If a word designator is supplied without an event specification, the +

    +
    +
    x*
    +

    Abbreviates ‘x-$’ +

    +
    +
    x-
    +

    Abbreviates ‘x-$’ like ‘x*’, but omits the last word. +

    +
    +
    + +

    If a word designator is supplied without an event specification, the previous command is used as the event. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    9.3.3 Modifiers

    - -

    - -After the optional word designator, you can add a sequence of one or more -of the following modifiers, each preceded by a `:'. -

    - -

    - -
    h -
    Remove a trailing pathname component, leaving only the head. -

    - -

    t -
    Remove all leading pathname components, leaving the tail. -

    - -

    r -
    Remove a trailing suffix of the form `.suffix', leaving +

    +
    + + + +

    9.3.3 Modifiers

    + +

    After the optional word designator, you can add a sequence of one or more +of the following modifiers, each preceded by a ‘:’. +

    +
    +
    h
    +

    Remove a trailing pathname component, leaving only the head. +

    +
    +
    t
    +

    Remove all leading pathname components, leaving the tail. +

    +
    +
    r
    +

    Remove a trailing suffix of the form ‘.suffix’, leaving the basename. -

    - -

    e -
    Remove all but the trailing suffix. -

    - -

    p -
    Print the new command but do not execute it. -

    - -

    q -
    Quote the substituted words, escaping further substitutions. -

    - -

    x -
    Quote the substituted words as with `q', +

    +
    +
    e
    +

    Remove all but the trailing suffix. +

    +
    +
    p
    +

    Print the new command but do not execute it. +

    +
    +
    q
    +

    Quote the substituted words, escaping further substitutions. +

    +
    +
    x
    +

    Quote the substituted words as with ‘q’, but break into words at spaces, tabs, and newlines. -

    - -

    s/old/new/ -
    Substitute new for the first occurrence of old in the -event line. Any delimiter may be used in place of `/'. -The delimiter may be quoted in old and new -with a single backslash. If `&' appears in new, -it is replaced by old. A single backslash will quote -the `&'. The final delimiter is optional if it is the last +

    +
    +
    s/old/new/
    +

    Substitute new for the first occurrence of old in the +event line. Any delimiter may be used in place of ‘/’. +The delimiter may be quoted in old and new +with a single backslash. If ‘&’ appears in new, +it is replaced by old. A single backslash will quote +the ‘&’. The final delimiter is optional if it is the last character on the input line. -

    - -

    & -
    Repeat the previous substitution. -

    - -

    g -
    a -
    Cause changes to be applied over the entire event line. Used in -conjunction with `s', as in gs/old/new/, -or with `&'. -

    - -

    G -
    Apply the following `s' modifier once to each word in the event. -

    - -

    -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    10. Installing Bash

    - -

    - -This chapter provides basic instructions for installing Bash on +

    +
    +
    &
    +

    Repeat the previous substitution. +

    +
    +
    g
    +
    a
    +

    Cause changes to be applied over the entire event line. Used in +conjunction with ‘s’, as in gs/old/new/, +or with ‘&’. +

    +
    +
    G
    +

    Apply the following ‘s’ modifier once to each word in the event. +

    +
    +
    + +
    + +
    +

    +Next: , Previous: , Up: Top   [Contents][Index]

    +
    + +

    10 Installing Bash

    + +

    This chapter provides basic instructions for installing Bash on the various supported platforms. The distribution supports the -GNU operating systems, nearly every version of Unix, and several +GNU operating systems, nearly every version of Unix, and several non-Unix systems such as BeOS and Interix. Other independent ports exist for -MS-DOS, OS/2, and Windows platforms. -

    - -

    - - - + + + + + +
    10.1 Basic Installation  Installation instructions.
    10.2 Compilers and Options  How to set special options for various - systems.
    10.3 Compiling For Multiple Architectures  How to compile Bash for more +MS-DOS, OS/2, and Windows platforms. +

    + + + + - - - - - - -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    10.1 Basic Installation

    - -

    - -These are installation instructions for Bash. -

    - -The simplest way to compile Bash is: -

    - -

      -
    1. -cd to the directory containing the source code and type -`./configure' to configure Bash for your system. If you're -using csh on an old version of System V, you might need to -type `sh ./configure' instead to prevent csh from trying -to execute configure itself. -

      - -Running configure takes some time. + the same source tree. +

    Installation Names:  How to set the various paths used by the installation. +
    Specifying the System Type:  How to configure Bash for a particular system. +
    Sharing Defaults:  How to share default configuration values among GNU + programs. +
    Operation Controls:  Options recognized by the configuration program. +
    Optional Features:  How to enable and disable optional features when + building Bash. +
    + +
    + + + +

    10.1 Basic Installation

    + + + + + +

    These are installation instructions for Bash. +

    +

    The simplest way to compile Bash is: +

    +
      +
    1. cd to the directory containing the source code and type +‘./configure’ to configure Bash for your system. If you’re +using csh on an old version of System V, you might need to +type ‘sh ./configure’ instead to prevent csh from trying +to execute configure itself. + +

      Running configure takes some time. While running, it prints messages telling which features it is checking for. -

      - -

    2. -Type `make' to compile Bash and build the bashbug bug +

      +
    3. Type ‘make’ to compile Bash and build the bashbug bug reporting script. -

      -

    4. -Optionally, type `make tests' to run the Bash test suite. -

      +

    5. Optionally, type ‘make tests’ to run the Bash test suite. -
    6. -Type `make install' to install bash and bashbug. +
    7. Type ‘make install’ to install bash and bashbug. This will also install the manual pages and Info file. -

      -

    -

    + -The configure shell script attempts to guess correct +

    The configure shell script attempts to guess correct values for various system-dependent variables used during -compilation. It uses those values to create a `Makefile' in +compilation. It uses those values to create a Makefile in each directory of the package (the top directory, the -`builtins', `doc', and `support' directories, -each directory under `lib', and several others). It also creates a -`config.h' file containing system-dependent definitions. -Finally, it creates a shell script named config.status that you +builtins, doc, and support directories, +each directory under lib, and several others). It also creates a +config.h file containing system-dependent definitions. +Finally, it creates a shell script named config.status that you can run in the future to recreate the current configuration, a -file `config.cache' that saves the results of its tests to -speed up reconfiguring, and a file `config.log' containing -compiler output (useful mainly for debugging configure). +file config.cache that saves the results of its tests to +speed up reconfiguring, and a file config.log containing +compiler output (useful mainly for debugging configure). If at some point -`config.cache' contains results you don't want to keep, you +config.cache contains results you don’t want to keep, you may remove or edit it. -

    - -To find out more about the options and arguments that the -configure script understands, type -

    - -
     
    bash-2.04$ ./configure --help
    -

    - -at the Bash prompt in your Bash source directory. -

    - -If you need to do unusual things to compile Bash, please -try to figure out how configure could check whether or not +

    +

    To find out more about the options and arguments that the +configure script understands, type +

    +
    +
    bash-2.04$ ./configure --help
    +
    + +

    at the Bash prompt in your Bash source directory. +

    +

    If you need to do unusual things to compile Bash, please +try to figure out how configure could check whether or not to do them, and mail diffs or instructions to -bash-maintainers@gnu.org so they can be +bash-maintainers@gnu.org so they can be considered for the next release. -

    - -The file `configure.ac' is used to create configure +

    +

    The file configure.ac is used to create configure by a program called Autoconf. You only need -`configure.ac' if you want to change it or regenerate -configure using a newer version of Autoconf. If +configure.ac if you want to change it or regenerate +configure using a newer version of Autoconf. If you do this, make sure you are using Autoconf version 2.50 or newer. -

    - -You can remove the program binaries and object files from the -source code directory by typing `make clean'. To also remove the -files that configure created (so you can compile Bash for -a different kind of computer), type `make distclean'. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    10.2 Compilers and Options

    - -

    - -Some systems require unusual options for compilation or linking -that the configure script does not know about. You can -give configure initial values for variables by setting +

    +

    You can remove the program binaries and object files from the +source code directory by typing ‘make clean’. To also remove the +files that configure created (so you can compile Bash for +a different kind of computer), type ‘make distclean’. +

    +
    + + + +

    10.2 Compilers and Options

    + +

    Some systems require unusual options for compilation or linking +that the configure script does not know about. You can +give configure initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: -

    - -
     
    CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
    -

    - -On systems that have the env program, you can do it like this: -

    - -
     
    env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
    -

    - -The configuration process uses GCC to build Bash if it +

    +
    +
    CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
    +
    + +

    On systems that have the env program, you can do it like this: +

    +
    +
    env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
    +
    + +

    The configuration process uses GCC to build Bash if it is available. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    10.3 Compiling For Multiple Architectures

    - -

    - -You can compile Bash for more than one kind of computer at the +

    +
    + + + +

    10.3 Compiling For Multiple Architectures

    + +

    You can compile Bash for more than one kind of computer at the same time, by placing the object files for each architecture in their -own directory. To do this, you must use a version of make that -supports the VPATH variable, such as GNU make. -cd to the +own directory. To do this, you must use a version of make that +supports the VPATH variable, such as GNU make. +cd to the directory where you want the object files and executables to go and run -the configure script from the source directory. You may need to -supply the `--srcdir=PATH' argument to tell configure where the -source files are. configure automatically checks for the -source code in the directory that configure is in and in `..'. -

    - -If you have to use a make that does not supports the VPATH +the configure script from the source directory. You may need to +supply the --srcdir=PATH argument to tell configure where the +source files are. configure automatically checks for the +source code in the directory that configure is in and in ‘..’. +

    +

    If you have to use a make that does not supports the VPATH variable, you can compile Bash for one architecture at a time in the source code directory. After you have installed -Bash for one architecture, use `make distclean' before +Bash for one architecture, use ‘make distclean’ before reconfiguring for another architecture. -

    - -Alternatively, if your system supports symbolic links, you can use the -`support/mkclone' script to create a build tree which has -symbolic links back to each file in the source directory. Here's an +

    +

    Alternatively, if your system supports symbolic links, you can use the +support/mkclone script to create a build tree which has +symbolic links back to each file in the source directory. Here’s an example that creates a build directory in the current directory from a -source directory `/usr/gnu/src/bash-2.0': -

    - -
     
    bash /usr/gnu/src/bash-2.0/support/mkclone -s /usr/gnu/src/bash-2.0 .
    -

    +source directory /usr/gnu/src/bash-2.0: +

    +
    +
    bash /usr/gnu/src/bash-2.0/support/mkclone -s /usr/gnu/src/bash-2.0 .
    +
    -The mkclone script requires Bash, so you must have already built +

    The mkclone script requires Bash, so you must have already built Bash for at least one architecture before you can create build directories for other architectures. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    10.4 Installation Names

    - -

    - -By default, `make install' will install into -`/usr/local/bin', `/usr/local/man', etc. You can -specify an installation prefix other than `/usr/local' by -giving configure the option `--prefix=PATH', -or by specifying a value for the DESTDIR `make' -variable when running `make install'. -

    - -You can specify separate installation prefixes for +

    +
    + + + +

    10.4 Installation Names

    + +

    By default, ‘make install’ will install into +/usr/local/bin, /usr/local/man, etc. You can +specify an installation prefix other than /usr/local by +giving configure the option --prefix=PATH, +or by specifying a value for the DESTDIRmake’ +variable when running ‘make install’. +

    +

    You can specify separate installation prefixes for architecture-specific files and architecture-independent files. -If you give configure the option -`--exec-prefix=PATH', `make install' will use -PATH as the prefix for installing programs and libraries. +If you give configure the option +--exec-prefix=PATH, ‘make install’ will use +PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    10.5 Specifying the System Type

    - -

    - -There may be some features configure can not figure out +

    +
    + + + +

    10.5 Specifying the System Type

    + +

    There may be some features configure can not figure out automatically, but need to determine by the type of host Bash -will run on. Usually configure can figure that +will run on. Usually configure can figure that out, but if it prints a message saying it can not guess the host -type, give it the `--host=TYPE' option. `TYPE' can -either be a short name for the system type, such as `sun4', -or a canonical name with three fields: `CPU-COMPANY-SYSTEM' -(e.g., `i386-unknown-freebsd4.2'). -

    - -See the file `support/config.sub' for the possible +type, give it the --host=TYPE option. ‘TYPE’ can +either be a short name for the system type, such as ‘sun4’, +or a canonical name with three fields: ‘CPU-COMPANY-SYSTEM’ +(e.g., ‘i386-unknown-freebsd4.2’). +

    +

    See the file support/config.sub for the possible values of each field. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    10.6 Sharing Defaults

    - -

    - -If you want to set default values for configure scripts to +

    +
    + + + +

    10.6 Sharing Defaults

    + +

    If you want to set default values for configure scripts to share, you can create a site shell script called -config.site that gives default values for variables like -CC, cache_file, and prefix. configure -looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -CONFIG_SITE environment variable to the location of the site -script. A warning: the Bash configure looks for a site script, -but not all configure scripts do. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    10.7 Operation Controls

    - -

    - -configure recognizes the following options to control how it +config.site that gives default values for variables like +CC, cache_file, and prefix. configure +looks for PREFIX/share/config.site if it exists, then +PREFIX/etc/config.site if it exists. Or, you can set the +CONFIG_SITE environment variable to the location of the site +script. A warning: the Bash configure looks for a site script, +but not all configure scripts do. +

    +
    + + + +

    10.7 Operation Controls

    + +

    configure recognizes the following options to control how it operates. -

    - -

    - -
    --cache-file=file -
    Use and save the results of the tests in -file instead of `./config.cache'. Set file to -`/dev/null' to disable caching, for debugging -configure. -

    - -

    --help -
    Print a summary of the options to configure, and exit. -

    - -

    --quiet -
    --silent -
    -q -
    Do not print messages saying which checks are being made. -

    - -

    --srcdir=dir -
    Look for the Bash source code in directory dir. Usually -configure can determine that directory automatically. -

    - -

    --version -
    Print the version of Autoconf used to generate the configure +

    +
    +
    --cache-file=file
    +

    Use and save the results of the tests in +file instead of ./config.cache. Set file to +/dev/null to disable caching, for debugging +configure. +

    +
    +
    --help
    +

    Print a summary of the options to configure, and exit. +

    +
    +
    --quiet
    +
    --silent
    +
    -q
    +

    Do not print messages saying which checks are being made. +

    +
    +
    --srcdir=dir
    +

    Look for the Bash source code in directory dir. Usually +configure can determine that directory automatically. +

    +
    +
    --version
    +

    Print the version of Autoconf used to generate the configure script, and exit. -

    -

    - -configure also accepts some other, not widely used, boilerplate -options. `configure --help' prints the complete list. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    10.8 Optional Features

    - -

    - -The Bash configure has a number of `--enable-feature' -options, where feature indicates an optional part of Bash. -There are also several `--with-package' options, -where package is something like `bash-malloc' or `purify'. +

    +
    + +

    configure also accepts some other, not widely used, boilerplate +options. ‘configure --help’ prints the complete list. +

    +
    + + + +

    10.8 Optional Features

    + +

    The Bash configure has a number of --enable-feature +options, where feature indicates an optional part of Bash. +There are also several --with-package options, +where package is something like ‘bash-malloc’ or ‘purify’. To turn off the default use of a package, use -`--without-package'. To configure Bash without a feature -that is enabled by default, use `--disable-feature'. -

    - -Here is a complete list of the `--enable-' and -`--with-' options that the Bash configure recognizes. -

    - -

    -
    --with-afs -
    Define if you are using the Andrew File System from Transarc. -

    - -

    --with-bash-malloc -
    Use the Bash version of -malloc in the directory `lib/malloc'. This is not the same -malloc that appears in GNU libc, but an older version -originally derived from the 4.2 BSD malloc. This malloc +--without-package. To configure Bash without a feature +that is enabled by default, use --disable-feature. +

    +

    Here is a complete list of the --enable- and +--with- options that the Bash configure recognizes. +

    +
    +
    --with-afs
    +

    Define if you are using the Andrew File System from Transarc. +

    +
    +
    --with-bash-malloc
    +

    Use the Bash version of +malloc in the directory lib/malloc. This is not the same +malloc that appears in GNU libc, but an older version +originally derived from the 4.2 BSD malloc. This malloc is very fast, but wastes some space on each allocation. This option is enabled by default. -The `NOTES' file contains a list of systems for -which this should be turned off, and configure disables this +The NOTES file contains a list of systems for +which this should be turned off, and configure disables this option automatically for a number of systems. -

    - -

    --with-curses -
    Use the curses library instead of the termcap library. This should +

    +
    +
    --with-curses
    +

    Use the curses library instead of the termcap library. This should be supplied if your system has an inadequate or incomplete termcap database. -

    - -

    --with-gnu-malloc -
    A synonym for --with-bash-malloc. -

    - -

    --with-installed-readline[=PREFIX] -
    Define this to make Bash link with a locally-installed version of Readline -rather than the version in `lib/readline'. This works only with -Readline 5.0 and later versions. If PREFIX is yes or not -supplied, configure uses the values of the make variables -includedir and libdir, which are subdirectories of prefix +

    +
    +
    --with-gnu-malloc
    +

    A synonym for --with-bash-malloc. +

    +
    +
    --with-installed-readline[=PREFIX]
    +

    Define this to make Bash link with a locally-installed version of Readline +rather than the version in lib/readline. This works only with +Readline 5.0 and later versions. If PREFIX is yes or not +supplied, configure uses the values of the make variables +includedir and libdir, which are subdirectories of prefix by default, to find the installed version of Readline if it is not in the standard system include and library directories. -If PREFIX is no, Bash links with the version in -`lib/readline'. -If PREFIX is set to any other value, configure treats it as +If PREFIX is no, Bash links with the version in +lib/readline. +If PREFIX is set to any other value, configure treats it as a directory pathname and looks for the installed version of Readline in subdirectories of that directory -(include files in PREFIX/include and the library in -PREFIX/lib). -

    - -

    --with-purify -
    Define this to use the Purify memory allocation checker from Rational +(include files in PREFIX/include and the library in +PREFIX/lib). +

    +
    +
    --with-purify
    +

    Define this to use the Purify memory allocation checker from Rational Software. -

    - -

    --enable-minimal-config -
    This produces a shell with minimal features, close to the historical +

    +
    +
    --enable-minimal-config
    +

    This produces a shell with minimal features, close to the historical Bourne shell. -

    -

    +

    +
    -There are several `--enable-' options that alter how Bash is +

    There are several --enable- options that alter how Bash is compiled and linked, rather than changing run-time features. -

    - -

    -
    --enable-largefile -
    Enable support for large files if the operating system requires special compiler options +

    +
    +
    --enable-largefile
    +

    Enable support for large files if the operating system requires special compiler options to build programs which can access large files. This is enabled by default, if the operating system provides large file support. -

    - -

    --enable-profiling -
    This builds a Bash binary that produces profiling information to be -processed by gprof each time it is executed. -

    - -

    --enable-static-link -
    This causes Bash to be linked statically, if gcc is being used. -This could be used to build a version to use as root's shell. -
    -

    - -The `minimal-config' option can be used to disable all of +

    +
    +
    --enable-profiling
    +

    This builds a Bash binary that produces profiling information to be +processed by gprof each time it is executed. +

    +
    +
    --enable-static-link
    +

    This causes Bash to be linked statically, if gcc is being used. +This could be used to build a version to use as root’s shell. +

    +
    + +

    The ‘minimal-config’ option can be used to disable all of the following options, but it is processed first, so individual -options may be enabled using `enable-feature'. -

    - -All of the following options except for `disabled-builtins', -`directpand-default', and -`xpg-echo-default' are +options may be enabled using ‘enable-feature’. +

    +

    All of the following options except for ‘disabled-builtins’, +‘direxpand-default’, and +‘xpg-echo-default’ are enabled by default, unless the operating system does not provide the necessary support. -

    - -

    -
    --enable-alias -
    Allow alias expansion and include the alias and unalias -builtins (see section 6.6 Aliases). -

    - -

    --enable-arith-for-command -
    Include support for the alternate form of the for command -that behaves like the C language for statement -(see section 3.2.4.1 Looping Constructs). -

    - -

    --enable-array-variables -
    Include support for one-dimensional array shell variables -(see section 6.7 Arrays). -

    - -

    --enable-bang-history -
    Include support for csh-like history substitution -(see section 9.3 History Expansion). -

    - -

    --enable-brace-expansion -
    Include csh-like brace expansion -( b{a,b}c ==> bac bbc ). -See 3.5.1 Brace Expansion, for a complete description. -

    - -

    --enable-casemod-attributes -
    Include support for case-modifying attributes in the declare builtin -and assignment statements. Variables with the uppercase attribute, +

    +
    +
    --enable-alias
    +

    Allow alias expansion and include the alias and unalias +builtins (see Aliases). +

    +
    +
    --enable-arith-for-command
    +

    Include support for the alternate form of the for command +that behaves like the C language for statement +(see Looping Constructs). +

    +
    +
    --enable-array-variables
    +

    Include support for one-dimensional array shell variables +(see Arrays). +

    +
    +
    --enable-bang-history
    +

    Include support for csh-like history substitution +(see History Interaction). +

    +
    +
    --enable-brace-expansion
    +

    Include csh-like brace expansion +( b{a,b}cbac bbc ). +See Brace Expansion, for a complete description. +

    +
    +
    --enable-casemod-attributes
    +

    Include support for case-modifying attributes in the declare builtin +and assignment statements. Variables with the uppercase attribute, for example, will have their values converted to uppercase upon assignment. -

    - -

    --enable-casemod-expansion -
    Include support for case-modifying word expansions. -

    - -

    --enable-command-timing -
    Include support for recognizing time as a reserved word and for -displaying timing statistics for the pipeline following time -(see section 3.2.2 Pipelines). +

    +
    +
    --enable-casemod-expansion
    +

    Include support for case-modifying word expansions. +

    +
    +
    --enable-command-timing
    +

    Include support for recognizing time as a reserved word and for +displaying timing statistics for the pipeline following time +(see Pipelines). This allows pipelines as well as shell builtins and functions to be timed. -

    - -

    --enable-cond-command -
    Include support for the [[ conditional command. -(see section 3.2.4.2 Conditional Constructs). -

    - -

    --enable-cond-regexp -
    Include support for matching POSIX regular expressions using the -`=~' binary operator in the [[ conditional command. -(see section 3.2.4.2 Conditional Constructs). -

    - -

    --enable-coprocesses -
    Include support for coprocesses and the coproc reserved word -(see section 3.2.2 Pipelines). -

    - -

    --enable-debugger -
    Include support for the bash debugger (distributed separately). -

    - -

    --enable-direxpand-default -
    Cause the direxpand shell option (see section 4.3.2 The Shopt Builtin) +

    +
    +
    --enable-cond-command
    +

    Include support for the [[ conditional command. +(see Conditional Constructs). +

    +
    +
    --enable-cond-regexp
    +

    Include support for matching POSIX regular expressions using the +‘=~’ binary operator in the [[ conditional command. +(see Conditional Constructs). +

    +
    +
    --enable-coprocesses
    +

    Include support for coprocesses and the coproc reserved word +(see Pipelines). +

    +
    +
    --enable-debugger
    +

    Include support for the bash debugger (distributed separately). +

    +
    +
    --enable-direxpand-default
    +

    Cause the direxpand shell option (see The Shopt Builtin) to be enabled by default when the shell starts. It is normally disabled by default. -

    - -

    --enable-directory-stack -
    Include support for a csh-like directory stack and the -pushd, popd, and dirs builtins -(see section 6.8 The Directory Stack). -

    - -

    --enable-disabled-builtins -
    Allow builtin commands to be invoked via `builtin xxx' -even after xxx has been disabled using `enable -n xxx'. -See 4.2 Bash Builtin Commands, for details of the builtin and -enable builtin commands. -

    - -

    --enable-dparen-arithmetic -
    Include support for the ((...)) command -(see section 3.2.4.2 Conditional Constructs). -

    - -

    --enable-extended-glob -
    Include support for the extended pattern matching features described -above under 3.5.8.1 Pattern Matching. -

    - -

    --enable-extended-glob-default -
    Set the default value of the extglob shell option described -above under 4.3.2 The Shopt Builtin to be enabled. -

    - -

    --enable-glob-asciirange-default -
    Set the default value of the globasciiranges shell option described -above under 4.3.2 The Shopt Builtin to be enabled. +

    +
    +
    --enable-directory-stack
    +

    Include support for a csh-like directory stack and the +pushd, popd, and dirs builtins +(see The Directory Stack). +

    +
    +
    --enable-disabled-builtins
    +

    Allow builtin commands to be invoked via ‘builtin xxx’ +even after xxx has been disabled using ‘enable -n xxx’. +See Bash Builtins, for details of the builtin and +enable builtin commands. +

    +
    +
    --enable-dparen-arithmetic
    +

    Include support for the ((…)) command +(see Conditional Constructs). +

    +
    +
    --enable-extended-glob
    +

    Include support for the extended pattern matching features described +above under Pattern Matching. +

    +
    +
    --enable-extended-glob-default
    +

    Set the default value of the extglob shell option described +above under The Shopt Builtin to be enabled. +

    +
    +
    --enable-function-import
    +

    Include support for importing function definitions exported by another +instance of the shell from the environment. This option is enabled by +default. +

    +
    +
    --enable-glob-asciirange-default
    +

    Set the default value of the globasciiranges shell option described +above under The Shopt Builtin to be enabled. This controls the behavior of character ranges when used in pattern matching bracket expressions. -

    - -

    --enable-help-builtin -
    Include the help builtin, which displays help on shell builtins and -variables (see section 4.2 Bash Builtin Commands). -

    - -

    --enable-history -
    Include command history and the fc and history -builtin commands (see section 9.1 Bash History Facilities). -

    - -

    --enable-job-control -
    This enables the job control features (see section 7. Job Control), +

    +
    +
    --enable-help-builtin
    +

    Include the help builtin, which displays help on shell builtins and +variables (see Bash Builtins). +

    +
    +
    --enable-history
    +

    Include command history and the fc and history +builtin commands (see Bash History Facilities). +

    +
    +
    --enable-job-control
    +

    This enables the job control features (see Job Control), if the operating system supports them. -

    - -

    --enable-multibyte -
    This enables support for multibyte characters if the operating +

    +
    +
    --enable-multibyte
    +

    This enables support for multibyte characters if the operating system provides the necessary support. -

    - -

    --enable-net-redirections -
    This enables the special handling of filenames of the form -/dev/tcp/host/port and -/dev/udp/host/port -when used in redirections (see section 3.6 Redirections). -

    - -

    --enable-process-substitution -
    This enables process substitution (see section 3.5.6 Process Substitution) if +

    +
    +
    --enable-net-redirections
    +

    This enables the special handling of filenames of the form +/dev/tcp/host/port and +/dev/udp/host/port +when used in redirections (see Redirections). +

    +
    +
    --enable-process-substitution
    +

    This enables process substitution (see Process Substitution) if the operating system provides the necessary support. -

    - -

    --enable-progcomp -
    Enable the programmable completion facilities -(see section 8.6 Programmable Completion). +

    +
    +
    --enable-progcomp
    +

    Enable the programmable completion facilities +(see Programmable Completion). If Readline is not enabled, this option has no effect. -

    - -

    --enable-prompt-string-decoding -
    Turn on the interpretation of a number of backslash-escaped characters -in the $PS1, $PS2, $PS3, and $PS4 prompt -strings. See 6.9 Controlling the Prompt, for a complete list of prompt +

    +
    +
    --enable-prompt-string-decoding
    +

    Turn on the interpretation of a number of backslash-escaped characters +in the $PS1, $PS2, $PS3, and $PS4 prompt +strings. See Controlling the Prompt, for a complete list of prompt string escape sequences. -

    - -

    --enable-readline -
    Include support for command-line editing and history with the Bash -version of the Readline library (see section 8. Command Line Editing). -

    - -

    --enable-restricted -
    Include support for a restricted shell. If this is enabled, Bash, -when called as rbash, enters a restricted mode. See -6.10 The Restricted Shell, for a description of restricted mode. -

    - -

    --enable-select -
    Include the select compound command, which allows the generation of -simple menus (see section 3.2.4.2 Conditional Constructs). -

    - -

    --enable-separate-helpfiles -
    Use external files for the documentation displayed by the help builtin +

    +
    +
    --enable-readline
    +

    Include support for command-line editing and history with the Bash +version of the Readline library (see Command Line Editing). +

    +
    +
    --enable-restricted
    +

    Include support for a restricted shell. If this is enabled, Bash, +when called as rbash, enters a restricted mode. See +The Restricted Shell, for a description of restricted mode. +

    +
    +
    --enable-select
    +

    Include the select compound command, which allows the generation of +simple menus (see Conditional Constructs). +

    +
    +
    --enable-separate-helpfiles
    +

    Use external files for the documentation displayed by the help builtin instead of storing the text internally. -

    - -

    --enable-single-help-strings -
    Store the text displayed by the help builtin as a single string for +

    +
    +
    --enable-single-help-strings
    +

    Store the text displayed by the help builtin as a single string for each help topic. This aids in translating the text to different languages. You may need to disable this if your compiler cannot handle very long string literals. -

    - -

    --enable-strict-posix-default -
    Make Bash POSIX-conformant by default (see section 6.11 Bash POSIX Mode). -

    - -

    --enable-usg-echo-default -
    A synonym for --enable-xpg-echo-default. -

    - -

    --enable-xpg-echo-default -
    Make the echo builtin expand backslash-escaped characters by default, -without requiring the `-e' option. -This sets the default value of the xpg_echo shell option to on, -which makes the Bash echo behave more like the version specified in +

    +
    +
    --enable-strict-posix-default
    +

    Make Bash POSIX-conformant by default (see Bash POSIX Mode). +

    +
    +
    --enable-usg-echo-default
    +

    A synonym for --enable-xpg-echo-default. +

    +
    +
    --enable-xpg-echo-default
    +

    Make the echo builtin expand backslash-escaped characters by default, +without requiring the -e option. +This sets the default value of the xpg_echo shell option to on, +which makes the Bash echo behave more like the version specified in the Single Unix Specification, version 3. -See section 4.2 Bash Builtin Commands, for a description of the escape sequences that -echo recognizes. -

    -

    - -The file `config-top.h' contains C Preprocessor -`#define' statements for options which are not settable from -configure. +See Bash Builtins, for a description of the escape sequences that +echo recognizes. +

    +
    + +

    The file config-top.h contains C Preprocessor +‘#define’ statements for options which are not settable from +configure. Some of these are not meant to be changed; beware of the consequences if you do. Read the comments associated with each definition for more information about its effect. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    A. Reporting Bugs

    - -

    - -Please report all bugs you find in Bash. +

    +
    + + + +

    Appendix A Reporting Bugs

    + +

    Please report all bugs you find in Bash. But first, you should make sure that it really is a bug, and that it appears in the latest version of Bash. The latest version of Bash is always available for FTP from -ftp://ftp.gnu.org/pub/gnu/bash/. -

    - -Once you have determined that a bug actually exists, use the -bashbug command to submit a bug report. +ftp://ftp.gnu.org/pub/gnu/bash/. +

    +

    Once you have determined that a bug actually exists, use the +bashbug command to submit a bug report. If you have a fix, you are encouraged to mail that as well! -Suggestions and `philosophical' bug reports may be mailed -to bug-bash@gnu.org or posted to the Usenet -newsgroup gnu.bash.bug. -

    - -All bug reports should include: -

      -
    • -The version number of Bash. -
    • -The hardware and operating system. -
    • -The compiler used to compile Bash. -
    • -A description of the bug behaviour. -
    • -A short script or `recipe' which exercises the bug and may be used +Suggestions and ‘philosophical’ bug reports may be mailed +to bug-bash@gnu.org or posted to the Usenet +newsgroup gnu.bash.bug. +

      +

      All bug reports should include: +

        +
      • The version number of Bash. +
      • The hardware and operating system. +
      • The compiler used to compile Bash. +
      • A description of the bug behaviour. +
      • A short script or ‘recipe’ which exercises the bug and may be used to reproduce it. -
      -

      +

    -bashbug inserts the first three items automatically into +

    bashbug inserts the first three items automatically into the template it provides for filing a bug report. -

    - -Please send all reports concerning this manual to -bug-bash@gnu.org. -

    - - -


    - - - - - - - - - - - -
    [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
    -

    B. Major Differences From The Bourne Shell

    - -

    - -Bash implements essentially the same grammar, parameter and +

    +

    Please send all reports concerning this manual to +bug-bash@gnu.org. +

    +
    + + + +

    Appendix B Major Differences From The Bourne Shell

    + +

    Bash implements essentially the same grammar, parameter and variable expansion, redirection, and quoting as the Bourne Shell. -Bash uses the POSIX standard as the specification of +Bash uses the POSIX standard as the specification of how these features are to be implemented. There are some differences between the traditional Bourne shell and Bash; this section quickly details the differences of significance. A number of these differences are explained in greater depth in previous sections. -This section uses the version of sh included in SVR4.2 (the +This section uses the version of sh included in SVR4.2 (the last version of the historical Bourne shell) as the baseline reference. -

    - -

      +

      +
        +
      • Bash is POSIX-conformant, even where the POSIX specification +differs from traditional sh behavior (see Bash POSIX Mode). -
      • -Bash is POSIX-conformant, even where the POSIX specification -differs from traditional sh behavior (see section 6.11 Bash POSIX Mode). -

        +

      • Bash has multi-character invocation options (see Invoking Bash). -
      • -Bash has multi-character invocation options (see section 6.1 Invoking Bash). -

        +

      • Bash has command-line editing (see Command Line Editing) and +the bind builtin. -
      • -Bash has command-line editing (see section 8. Command Line Editing) and -the bind builtin. -

        - -

      • -Bash provides a programmable word completion mechanism -(see section 8.6 Programmable Completion), and builtin commands -complete, compgen, and compopt, to +
      • Bash provides a programmable word completion mechanism +(see Programmable Completion), and builtin commands +complete, compgen, and compopt, to manipulate it. -

        -

      • -Bash has command history (see section 9.1 Bash History Facilities) and the -history and fc builtins to manipulate it. +
      • Bash has command history (see Bash History Facilities) and the +history and fc builtins to manipulate it. The Bash history list maintains timestamp information and uses the -value of the HISTTIMEFORMAT variable to display it. -

        +value of the HISTTIMEFORMAT variable to display it. -

      • -Bash implements csh-like history expansion -(see section 9.3 History Expansion). -

        +

      • Bash implements csh-like history expansion +(see History Interaction). -
      • -Bash has one-dimensional array variables (see section 6.7 Arrays), and the +
      • Bash has one-dimensional array variables (see Arrays), and the appropriate variable expansions and assignment syntax to use them. Several of the Bash builtins take options to act on arrays. Bash provides a number of built-in array variables. -

        -

      • -The $'...' quoting syntax, which expands ANSI-C +
      • The $'…' quoting syntax, which expands ANSI-C backslash-escaped characters in the text between the single quotes, -is supported (see section 3.1.2.4 ANSI-C Quoting). -

        +is supported (see ANSI-C Quoting). -

      • -Bash supports the $"..." quoting syntax to do +
      • Bash supports the $"…" quoting syntax to do locale-specific translation of the characters between the double -quotes. The `-D', `--dump-strings', and `--dump-po-strings' +quotes. The -D, --dump-strings, and --dump-po-strings invocation options list the translatable strings found in a script -(see section 3.1.2.5 Locale-Specific Translation). -

        - -

      • -Bash implements the ! keyword to negate the return value of -a pipeline (see section 3.2.2 Pipelines). -Very useful when an if statement needs to act only if a test fails. -The Bash `-o pipefail' option to set will cause a pipeline to +(see Locale Translation). + +
      • Bash implements the ! keyword to negate the return value of +a pipeline (see Pipelines). +Very useful when an if statement needs to act only if a test fails. +The Bash ‘-o pipefail’ option to set will cause a pipeline to return a failure status if any command fails. -

        -

      • -Bash has the time reserved word and command timing (see section 3.2.2 Pipelines). +
      • Bash has the time reserved word and command timing (see Pipelines). The display of the timing statistics may be controlled with the -TIMEFORMAT variable. -

        - -

      • -Bash implements the for (( expr1 ; expr2 ; expr3 )) -arithmetic for command, similar to the C language (see section 3.2.4.1 Looping Constructs). -

        - -

      • -Bash includes the select compound command, which allows the -generation of simple menus (see section 3.2.4.2 Conditional Constructs). -

        - -

      • -Bash includes the [[ compound command, which makes conditional -testing part of the shell grammar (see section 3.2.4.2 Conditional Constructs), including +TIMEFORMAT variable. + +
      • Bash implements the for (( expr1 ; expr2 ; expr3 )) +arithmetic for command, similar to the C language (see Looping Constructs). + +
      • Bash includes the select compound command, which allows the +generation of simple menus (see Conditional Constructs). + +
      • Bash includes the [[ compound command, which makes conditional +testing part of the shell grammar (see Conditional Constructs), including optional regular expression matching. -

        - -

      • -Bash provides optional case-insensitive matching for the case and -[[ constructs. -

        - -

      • -Bash includes brace expansion (see section 3.5.1 Brace Expansion) and tilde -expansion (see section 3.5.2 Tilde Expansion). -

        - -

      • -Bash implements command aliases and the alias and unalias -builtins (see section 6.6 Aliases). -

        - -

      • -Bash provides shell arithmetic, the (( compound command -(see section 3.2.4.2 Conditional Constructs), -and arithmetic expansion (see section 6.5 Shell Arithmetic). -

        - -

      • -Variables present in the shell's initial environment are automatically + +
      • Bash provides optional case-insensitive matching for the case and +[[ constructs. + +
      • Bash includes brace expansion (see Brace Expansion) and tilde +expansion (see Tilde Expansion). + +
      • Bash implements command aliases and the alias and unalias +builtins (see Aliases). + +
      • Bash provides shell arithmetic, the (( compound command +(see Conditional Constructs), +and arithmetic expansion (see Shell Arithmetic). + +
      • Variables present in the shell’s initial environment are automatically exported to child processes. The Bourne shell does not normally do -this unless the variables are explicitly marked using the export +this unless the variables are explicitly marked using the export command. -

        -

      • -Bash supports the `+=' assignment operator, which appends to the value +
      • Bash supports the ‘+=’ assignment operator, which appends to the value of the variable named on the left hand side. -

        - -

      • -Bash includes the POSIX pattern removal `%', `#', `%%' -and `##' expansions to remove leading or trailing substrings from -variable values (see section 3.5.3 Shell Parameter Expansion). -

        - -

      • -The expansion ${#xx}, which returns the length of ${xx}, -is supported (see section 3.5.3 Shell Parameter Expansion). -

        - -

      • -The expansion ${var:offset[:length]}, -which expands to the substring of var's value of length -length, beginning at offset, is present -(see section 3.5.3 Shell Parameter Expansion). -

        - -

      • -The expansion -${var/[/]pattern[/replacement]}, -which matches pattern and replaces it with replacement in -the value of var, is available (see section 3.5.3 Shell Parameter Expansion). -

        - -

      • -The expansion ${!prefix*} expansion, which expands to -the names of all shell variables whose names begin with prefix, -is available (see section 3.5.3 Shell Parameter Expansion). -

        - -

      • -Bash has indirect variable expansion using ${!word} -(see section 3.5.3 Shell Parameter Expansion). -

        - -

      • -Bash can expand positional parameters beyond $9 using -${num}. -

        - -

      • -The POSIX $() form of command substitution -is implemented (see section 3.5.4 Command Substitution), -and preferred to the Bourne shell's " (which + +
      • Bash includes the POSIX pattern removal ‘%’, ‘#’, ‘%%’ +and ‘##’ expansions to remove leading or trailing substrings from +variable values (see Shell Parameter Expansion). + +
      • The expansion ${#xx}, which returns the length of ${xx}, +is supported (see Shell Parameter Expansion). + +
      • The expansion ${var:offset[:length]}, +which expands to the substring of var’s value of length +length, beginning at offset, is present +(see Shell Parameter Expansion). + +
      • The expansion +${var/[/]pattern[/replacement]}, +which matches pattern and replaces it with replacement in +the value of var, is available (see Shell Parameter Expansion). + +
      • The expansion ${!prefix*} expansion, which expands to +the names of all shell variables whose names begin with prefix, +is available (see Shell Parameter Expansion). + +
      • Bash has indirect variable expansion using ${!word} +(see Shell Parameter Expansion). + +
      • Bash can expand positional parameters beyond $9 using +${num}. + +
      • The POSIX $() form of command substitution +is implemented (see Command Substitution), +and preferred to the Bourne shell’s `` (which is also implemented for backwards compatibility). -

        - -

      • -Bash has process substitution (see section 3.5.6 Process Substitution). -

        - -

      • -Bash automatically assigns variables that provide information about the -current user (UID, EUID, and GROUPS), the current host -(HOSTTYPE, OSTYPE, MACHTYPE, and HOSTNAME), -and the instance of Bash that is running (BASH, -BASH_VERSION, and BASH_VERSINFO). See section 5.2 Bash Variables, + +
      • Bash has process substitution (see Process Substitution). + +
      • Bash automatically assigns variables that provide information about the +current user (UID, EUID, and GROUPS), the current host +(HOSTTYPE, OSTYPE, MACHTYPE, and HOSTNAME), +and the instance of Bash that is running (BASH, +BASH_VERSION, and BASH_VERSINFO). See Bash Variables, for details. -

        -

      • -The IFS variable is used to split only the results of expansion, -not all words (see section 3.5.7 Word Splitting). +
      • The IFS variable is used to split only the results of expansion, +not all words (see Word Splitting). This closes a longstanding shell security hole. -

        -

      • -The filename expansion bracket expression code uses `!' and `^' +
      • The filename expansion bracket expression code uses ‘!’ and ‘^’ to negate the set of characters between the brackets. -The Bourne shell uses only `!'. -

        - -

      • -Bash implements the full set of POSIX filename expansion operators, -including character classes, equivalence classes, and -collating symbols (see section 3.5.8 Filename Expansion). -

        - -

      • -Bash implements extended pattern matching features when the extglob -shell option is enabled (see section 3.5.8.1 Pattern Matching). -

        - -

      • -It is possible to have a variable and a function with the same name; -sh does not separate the two name spaces. -

        - -

      • -Bash functions are permitted to have local variables using the -local builtin, and thus useful recursive functions may be written -(see section 4.2 Bash Builtin Commands). -

        - -

      • -Variable assignments preceding commands affect only that command, even -builtins and functions (see section 3.7.4 Environment). -In sh, all variable assignments +The Bourne shell uses only ‘!’. + +
      • Bash implements the full set of POSIX filename expansion operators, +including character classes, equivalence classes, and +collating symbols (see Filename Expansion). + +
      • Bash implements extended pattern matching features when the extglob +shell option is enabled (see Pattern Matching). + +
      • It is possible to have a variable and a function with the same name; +sh does not separate the two name spaces. + +
      • Bash functions are permitted to have local variables using the +local builtin, and thus useful recursive functions may be written +(see Bash Builtins). + +
      • Variable assignments preceding commands affect only that command, even +builtins and functions (see Environment). +In sh, all variable assignments preceding commands are global unless the command is executed from the file system. -

        -

      • -Bash performs filename expansion on filenames specified as operands -to input and output redirection operators (see section 3.6 Redirections). -

        +

      • Bash performs filename expansion on filenames specified as operands +to input and output redirection operators (see Redirections). -
      • -Bash contains the `<>' redirection operator, allowing a file to be -opened for both reading and writing, and the `&>' redirection +
      • Bash contains the ‘<>’ redirection operator, allowing a file to be +opened for both reading and writing, and the ‘&>’ redirection operator, for directing standard output and standard error to the same -file (see section 3.6 Redirections). -

        +file (see Redirections). -

      • -Bash includes the `<<<' redirection operator, allowing a string to +
      • Bash includes the ‘<<<’ redirection operator, allowing a string to be used as the standard input to a command. -

        -

      • -Bash implements the `[n]<&word' and `[n]>&word' +
      • Bash implements the ‘[n]<&word’ and ‘[n]>&word’ redirection operators, which move one file descriptor to another. -

        - -

      • -Bash treats a number of filenames specially when they are -used in redirection operators (see section 3.6 Redirections). -

        - -

      • -Bash can open network connections to arbitrary machines and services -with the redirection operators (see section 3.6 Redirections). -

        - -

      • -The noclobber option is available to avoid overwriting existing -files with output redirection (see section 4.3.1 The Set Builtin). -The `>|' redirection operator may be used to override noclobber. -

        - -

      • -The Bash cd and pwd builtins (see section 4.1 Bourne Shell Builtins) -each take `-L' and `-P' options to switch between logical and + +
      • Bash treats a number of filenames specially when they are +used in redirection operators (see Redirections). + +
      • Bash can open network connections to arbitrary machines and services +with the redirection operators (see Redirections). + +
      • The noclobber option is available to avoid overwriting existing +files with output redirection (see The Set Builtin). +The ‘>|’ redirection operator may be used to override noclobber. + +
      • The Bash cd and pwd builtins (see Bourne Shell Builtins) +each take -L and -P options to switch between logical and physical modes. -

        - -

      • -Bash allows a function to override a builtin with the same name, and provides -access to that builtin's functionality within the function via the -builtin and command builtins (see section 4.2 Bash Builtin Commands). -

        - -

      • -The command builtin allows selective disabling of functions -when command lookup is performed (see section 4.2 Bash Builtin Commands). -

        - -

      • -Individual builtins may be enabled or disabled using the enable -builtin (see section 4.2 Bash Builtin Commands). -

        - -

      • -The Bash exec builtin takes additional options that allow users + +
      • Bash allows a function to override a builtin with the same name, and provides +access to that builtin’s functionality within the function via the +builtin and command builtins (see Bash Builtins). + +
      • The command builtin allows selective disabling of functions +when command lookup is performed (see Bash Builtins). + +
      • Individual builtins may be enabled or disabled using the enable +builtin (see Bash Builtins). + +
      • The Bash exec builtin takes additional options that allow users to control the contents of the environment passed to the executed command, and what the zeroth argument to the command is to be -(see section 4.1 Bourne Shell Builtins). -

        +(see Bourne Shell Builtins). -

      • -Shell functions may be exported to children via the environment -using export -f (see section 3.3 Shell Functions). -

        +

      • Shell functions may be exported to children via the environment +using export -f (see Shell Functions). -
      • -The Bash export, readonly, and declare builtins can -take a `-f' option to act on shell functions, a `-p' option to +
      • The Bash export, readonly, and declare builtins can +take a -f option to act on shell functions, a -p option to display variables with various attributes set in a format that can be -used as shell input, a `-n' option to remove various variable -attributes, and `name=value' arguments to set variable attributes +used as shell input, a -n option to remove various variable +attributes, and ‘name=value’ arguments to set variable attributes and values simultaneously. -

        -

      • -The Bash hash builtin allows a name to be associated with +
      • The Bash hash builtin allows a name to be associated with an arbitrary filename, even when that filename cannot be found by -searching the $PATH, using `hash -p' -(see section 4.1 Bourne Shell Builtins). -

        - -

      • -Bash includes a help builtin for quick reference to shell -facilities (see section 4.2 Bash Builtin Commands). -

        - -

      • -The printf builtin is available to display formatted output -(see section 4.2 Bash Builtin Commands). -

        - -

      • -The Bash read builtin (see section 4.2 Bash Builtin Commands) -will read a line ending in `\' with -the `-r' option, and will use the REPLY variable as a +searching the $PATH, using ‘hash -p’ +(see Bourne Shell Builtins). + +
      • Bash includes a help builtin for quick reference to shell +facilities (see Bash Builtins). + +
      • The printf builtin is available to display formatted output +(see Bash Builtins). + +
      • The Bash read builtin (see Bash Builtins) +will read a line ending in ‘\’ with +the -r option, and will use the REPLY variable as a default if no non-option arguments are supplied. -The Bash read builtin -also accepts a prompt string with the `-p' option and will use -Readline to obtain the line when given the `-e' option. -The read builtin also has additional options to control input: -the `-s' option will turn off echoing of input characters as -they are read, the `-t' option will allow read to time out +The Bash read builtin +also accepts a prompt string with the -p option and will use +Readline to obtain the line when given the -e option. +The read builtin also has additional options to control input: +the -s option will turn off echoing of input characters as +they are read, the -t option will allow read to time out if input does not arrive within a specified number of seconds, the -`-n' option will allow reading only a specified number of -characters rather than a full line, and the `-d' option will read +-n option will allow reading only a specified number of +characters rather than a full line, and the -d option will read until a particular character rather than newline. -

        - -

      • -The return builtin may be used to abort execution of scripts -executed with the . or source builtins -(see section 4.1 Bourne Shell Builtins). -

        - -

      • -Bash includes the shopt builtin, for finer control of shell -optional capabilities (see section 4.3.2 The Shopt Builtin), and allows these options -to be set and unset at shell invocation (see section 6.1 Invoking Bash). -

        - -

      • -Bash has much more optional behavior controllable with the set -builtin (see section 4.3.1 The Set Builtin). -

        - -

      • -The `-x' (`xtrace') option displays commands other than + +
      • The return builtin may be used to abort execution of scripts +executed with the . or source builtins +(see Bourne Shell Builtins). + +
      • Bash includes the shopt builtin, for finer control of shell +optional capabilities (see The Shopt Builtin), and allows these options +to be set and unset at shell invocation (see Invoking Bash). + +
      • Bash has much more optional behavior controllable with the set +builtin (see The Set Builtin). + +
      • The ‘-x’ (xtrace) option displays commands other than simple commands when performing an execution trace -(see section 4.3.1 The Set Builtin). -

        +(see The Set Builtin). -

      • -The test builtin (see section 4.1 Bourne Shell Builtins) -is slightly different, as it implements the POSIX algorithm, +
      • The test builtin (see Bourne Shell Builtins) +is slightly different, as it implements the POSIX algorithm, which specifies the behavior based on the number of arguments. -

        -

      • -Bash includes the caller builtin, which displays the context of +
      • Bash includes the caller builtin, which displays the context of any active subroutine call (a shell function or a script executed with -the . or source builtins). This supports the bash +the . or source builtins). This supports the bash debugger. -

        - -

      • -The trap builtin (see section 4.1 Bourne Shell Builtins) allows a -DEBUG pseudo-signal specification, similar to EXIT. -Commands specified with a DEBUG trap are executed before every -simple command, for command, case command, -select command, every arithmetic for command, and before + +
      • The trap builtin (see Bourne Shell Builtins) allows a +DEBUG pseudo-signal specification, similar to EXIT. +Commands specified with a DEBUG trap are executed before every +simple command, for command, case command, +select command, every arithmetic for command, and before the first command executes in a shell function. -The DEBUG trap is not inherited by shell functions unless the -function has been given the trace attribute or the -functrace option has been enabled using the shopt builtin. -The extdebug shell option has additional effects on the -DEBUG trap. -

        - -The trap builtin (see section 4.1 Bourne Shell Builtins) allows an -ERR pseudo-signal specification, similar to EXIT and DEBUG. -Commands specified with an ERR trap are executed after a simple +The DEBUG trap is not inherited by shell functions unless the +function has been given the trace attribute or the +functrace option has been enabled using the shopt builtin. +The extdebug shell option has additional effects on the +DEBUG trap. + +

        The trap builtin (see Bourne Shell Builtins) allows an +ERR pseudo-signal specification, similar to EXIT and DEBUG. +Commands specified with an ERR trap are executed after a simple command fails, with a few exceptions. -The ERR trap is not inherited by shell functions unless the --o errtrace option to the set builtin is enabled. -

        - -The trap builtin (see section 4.1 Bourne Shell Builtins) allows a -RETURN pseudo-signal specification, similar to -EXIT and DEBUG. -Commands specified with an RETURN trap are executed before +The ERR trap is not inherited by shell functions unless the +-o errtrace option to the set builtin is enabled. +

        +

        The trap builtin (see Bourne Shell Builtins) allows a +RETURN pseudo-signal specification, similar to +EXIT and DEBUG. +Commands specified with an RETURN trap are executed before execution resumes after a shell function or a shell script executed with -. or source returns. -The RETURN trap is not inherited by shell functions unless the -function has been given the trace attribute or the -functrace option has been enabled using the shopt builtin. -

        - -

      • -The Bash type builtin is more extensive and gives more information -about the names it finds (see section 4.2 Bash Builtin Commands). -

        - -

      • -The Bash umask builtin permits a `-p' option to cause -the output to be displayed in the form of a umask command -that may be reused as input (see section 4.1 Bourne Shell Builtins). -

        - -

      • -Bash implements a csh-like directory stack, and provides the -pushd, popd, and dirs builtins to manipulate it -(see section 6.8 The Directory Stack). +. or source returns. +The RETURN trap is not inherited by shell functions unless the +function has been given the trace attribute or the +functrace option has been enabled using the shopt builtin. +

        +
      • The Bash type builtin is more extensive and gives more information +about the names it finds (see Bash Builtins). + +
      • The Bash umask builtin permits a -p option to cause +the output to be displayed in the form of a umask command +that may be reused as input (see Bourne Shell Builtins). + +
      • Bash implements a csh-like directory stack, and provides the +pushd, popd, and dirs builtins to manipulate it +(see The Directory Stack). Bash also makes the directory stack visible as the value of the -DIRSTACK shell variable. -

        +DIRSTACK shell variable. -

      • -Bash interprets special backslash-escaped characters in the prompt -strings when interactive (see section 6.9 Controlling the Prompt). -

        +

      • Bash interprets special backslash-escaped characters in the prompt +strings when interactive (see Controlling the Prompt). -
      • -The Bash restricted mode is more useful (see section 6.10 The Restricted Shell); +
      • The Bash restricted mode is more useful (see The Restricted Shell); the SVR4.2 shell restricted mode is too limited. -

        -

      • -The disown builtin can remove a job from the internal shell -job table (see section 7.2 Job Control Builtins) or suppress the sending -of SIGHUP to a job when the shell exits as the result of a -SIGHUP. -

        +

      • The disown builtin can remove a job from the internal shell +job table (see Job Control Builtins) or suppress the sending +of SIGHUP to a job when the shell exits as the result of a +SIGHUP. -
      • -Bash includes a number of features to support a separate debugger for +
      • Bash includes a number of features to support a separate debugger for shell scripts. -

        - -

      • -The SVR4.2 shell has two privilege-related builtins -(mldmode and priv) not present in Bash. -

        - -

      • -Bash does not have the stop or newgrp builtins. -

        - -

      • -Bash does not use the SHACCT variable or perform shell accounting. -

        - -

      • -The SVR4.2 sh uses a TIMEOUT variable like Bash uses -TMOUT. -

        - -

      -

      - -More features unique to Bash may be found in 6. Bash Features. -

      - -


      - - - - - - - - - - - -
      [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
      -

      B.1 Implementation Differences From The SVR4.2 Shell

      - -

      - -Since Bash is a completely new implementation, it does not suffer from -many of the limitations of the SVR4.2 shell. For instance: -

      -

        +
      • The SVR4.2 shell has two privilege-related builtins +(mldmode and priv) not present in Bash. + +
      • Bash does not have the stop or newgrp builtins. + +
      • Bash does not use the SHACCT variable or perform shell accounting. -
      • -Bash does not fork a subshell when redirecting into or out of -a shell control structure such as an if or while +
      • The SVR4.2 sh uses a TIMEOUT variable like Bash uses +TMOUT. + +
      + +

      More features unique to Bash may be found in Bash Features. +

      + + +

      B.1 Implementation Differences From The SVR4.2 Shell

      + +

      Since Bash is a completely new implementation, it does not suffer from +many of the limitations of the SVR4.2 shell. For instance: +

      +
        +
      • Bash does not fork a subshell when redirecting into or out of +a shell control structure such as an if or while statement. -

        -

      • -Bash does not allow unbalanced quotes. The SVR4.2 shell will silently -insert a needed closing quote at EOF under certain circumstances. +
      • Bash does not allow unbalanced quotes. The SVR4.2 shell will silently +insert a needed closing quote at EOF under certain circumstances. This can be the cause of some hard-to-find errors. -

        -

      • -The SVR4.2 shell uses a baroque memory management scheme based on -trapping SIGSEGV. If the shell is started from a process with -SIGSEGV blocked (e.g., by using the system() C library +
      • The SVR4.2 shell uses a baroque memory management scheme based on +trapping SIGSEGV. If the shell is started from a process with +SIGSEGV blocked (e.g., by using the system() C library function call), it misbehaves badly. -

        -

      • -In a questionable attempt at security, the SVR4.2 shell, -when invoked without the `-p' option, will alter its real -and effective UID and GID if they are less than some +
      • In a questionable attempt at security, the SVR4.2 shell, +when invoked without the -p option, will alter its real +and effective UID and GID if they are less than some magic threshold value, commonly 100. This can lead to unexpected results. -

        - -

      • -The SVR4.2 shell does not allow users to trap SIGSEGV, -SIGALRM, or SIGCHLD. -

        - -

      • -The SVR4.2 shell does not allow the IFS, MAILCHECK, -PATH, PS1, or PS2 variables to be unset. -

        - -

      • -The SVR4.2 shell treats `^' as the undocumented equivalent of -`|'. -

        - -

      • -Bash allows multiple option arguments when it is invoked (-x -v); -the SVR4.2 shell allows only one option argument (-xv). In + +
      • The SVR4.2 shell does not allow users to trap SIGSEGV, +SIGALRM, or SIGCHLD. + +
      • The SVR4.2 shell does not allow the IFS, MAILCHECK, +PATH, PS1, or PS2 variables to be unset. + +
      • The SVR4.2 shell treats ‘^’ as the undocumented equivalent of +‘|’. + +
      • Bash allows multiple option arguments when it is invoked (-x -v); +the SVR4.2 shell allows only one option argument (-xv). In fact, some versions of the shell dump core if the second argument begins -with a `-'. -

        +with a ‘-’. -

      • -The SVR4.2 shell exits a script if any builtin fails; Bash exits -a script only if one of the POSIX special builtins fails, and -only for certain failures, as enumerated in the POSIX standard. -

        +

      • The SVR4.2 shell exits a script if any builtin fails; Bash exits +a script only if one of the POSIX special builtins fails, and +only for certain failures, as enumerated in the POSIX standard. -
      • -The SVR4.2 shell behaves differently when invoked as jsh +
      • The SVR4.2 shell behaves differently when invoked as jsh (it turns on job control). -
      -

      - - -


      - - - - - - - - - - - -
      [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
      -

      C. GNU Free Documentation License

      - -

      - -

      - Version 1.3, 3 November 2008 -
      -

      - -
       
      Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
      -http://fsf.org/
      +
      +
      +
      + + + +

      Appendix C GNU Free Documentation License

      + +
      Version 1.3, 3 November 2008 +
      + +
      +
      Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
      +http://fsf.org/
       
       Everyone is permitted to copy and distribute verbatim copies
       of this license document, but changing it is not allowed.
      -

      + -

        -
      1. -PREAMBLE -

        +

          +
        1. PREAMBLE -The purpose of this License is to make a manual, textbook, or other -functional and useful document free in the sense of freedom: to +

          The purpose of this License is to make a manual, textbook, or other +functional and useful document free in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. -

          - -This License is a kind of "copyleft", which means that derivative +

          +

          This License is a kind of “copyleft”, which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software. -

          - -We have designed this License in order to use it for manuals for free +

          +

          We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference. -

          - -

        2. -APPLICABILITY AND DEFINITIONS -

          +

          +
        3. APPLICABILITY AND DEFINITIONS -This License applies to any manual or other work, in any medium, that +

          This License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that -work under the conditions stated herein. The "Document", below, +work under the conditions stated herein. The “Document”, below, refers to any such manual or work. Any member of the public is a -licensee, and is addressed as "you". You accept the license if you +licensee, and is addressed as “you”. You accept the license if you copy, modify or distribute the work in a way requiring permission under copyright law. -

          - -A "Modified Version" of the Document means any work containing the +

          +

          A “Modified Version” of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language. -

          - -A "Secondary Section" is a named appendix or a front-matter section +

          +

          A “Secondary Section” is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the -publishers or authors of the Document to the Document's overall +publishers or authors of the Document to the Document’s overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (Thus, if the Document is in part a textbook of mathematics, a Secondary Section may not explain @@ -14973,24 +13742,21 @@ any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them. -

          - -The "Invariant Sections" are certain Secondary Sections whose titles +

          +

          The “Invariant Sections” are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. If a section does not fit the above definition of Secondary then it is not allowed to be designated as Invariant. The Document may contain zero Invariant Sections. If the Document does not identify any Invariant Sections then there are none. -

          - -The "Cover Texts" are certain short passages of text that are listed, +

          +

          The “Cover Texts” are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. A Front-Cover Text may be at most 5 words, and a Back-Cover Text may be at most 25 words. -

          - -A "Transparent" copy of the Document means a machine-readable copy, +

          +

          A “Transparent” copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document straightforwardly with generic text editors or (for images composed of @@ -15001,57 +13767,49 @@ to text formatters. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is not Transparent. An image format is not Transparent if used for any substantial amount -of text. A copy that is not "Transparent" is called "Opaque". -

          - -Examples of suitable formats for Transparent copies include plain -ASCII without markup, Texinfo input format, LaTeX input -format, SGML or XML using a publicly available -DTD, and standard-conforming simple HTML, -PostScript or PDF designed for human modification. Examples -of transparent image formats include PNG, XCF and -JPG. Opaque formats include proprietary formats that can be -read and edited only by proprietary word processors, SGML or -XML for which the DTD and/or processing tools are -not generally available, and the machine-generated HTML, -PostScript or PDF produced by some word processors for +of text. A copy that is not “Transparent” is called “Opaque”. +

          +

          Examples of suitable formats for Transparent copies include plain +ASCII without markup, Texinfo input format, LaTeX input +format, SGML or XML using a publicly available +DTD, and standard-conforming simple HTML, +PostScript or PDF designed for human modification. Examples +of transparent image formats include PNG, XCF and +JPG. Opaque formats include proprietary formats that can be +read and edited only by proprietary word processors, SGML or +XML for which the DTD and/or processing tools are +not generally available, and the machine-generated HTML, +PostScript or PDF produced by some word processors for output purposes only. -

          - -The "Title Page" means, for a printed book, the title page itself, +

          +

          The “Title Page” means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in -formats which do not have any title page as such, "Title Page" means -the text near the most prominent appearance of the work's title, +formats which do not have any title page as such, “Title Page” means +the text near the most prominent appearance of the work’s title, preceding the beginning of the body of the text. -

          - -The "publisher" means any person or entity that distributes copies +

          +

          The “publisher” means any person or entity that distributes copies of the Document to the public. -

          - -A section "Entitled XYZ" means a named subunit of the Document whose +

          +

          A section “Entitled XYZ” means a named subunit of the Document whose title either is precisely XYZ or contains XYZ in parentheses following text that translates XYZ in another language. (Here XYZ stands for a -specific section name mentioned below, such as "Acknowledgements", -"Dedications", "Endorsements", or "History".) To "Preserve the Title" +specific section name mentioned below, such as “Acknowledgements”, +“Dedications”, “Endorsements”, or “History”.) To “Preserve the Title” of such a section when you modify the Document means that it remains a -section "Entitled XYZ" according to this definition. -

          - -The Document may include Warranty Disclaimers next to the notice which +section “Entitled XYZ” according to this definition. +

          +

          The Document may include Warranty Disclaimers next to the notice which states that this License applies to the Document. These Warranty Disclaimers are considered to be included by reference in this License, but only as regards disclaiming warranties: any other implication that these Warranty Disclaimers may have is void and has no effect on the meaning of this License. -

          +

          +
        4. VERBATIM COPYING -
        5. -VERBATIM COPYING -

          - -You may copy and distribute the Document in any medium, either +

          You may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other @@ -15060,19 +13818,15 @@ technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3. -

          - -You may also lend copies, under the same conditions stated above, and +

          +

          You may also lend copies, under the same conditions stated above, and you may publicly display copies. -

          +

          +
        6. COPYING IN QUANTITY -
        7. -COPYING IN QUANTITY -

          - -If you publish printed copies (or copies in media that commonly have +

          If you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the -Document's license notice requires Cover Texts, you must enclose the +Document’s license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify @@ -15082,15 +13836,13 @@ visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects. -

          - -If the required texts for either cover are too voluminous to fit +

          +

          If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages. -

          - -If you publish or distribute Opaque copies of the Document numbering +

          +

          If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a computer-network location from which the general network-using @@ -15102,135 +13854,98 @@ that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public. -

          - -It is requested, but not required, that you contact the authors of the +

          +

          It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document. -

          +

          +
        8. MODIFICATIONS -
        9. -MODIFICATIONS -

          - -You may copy and distribute a Modified Version of the Document under +

          You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version: -

          - -

            -
          1. -Use in the Title Page (and on the covers, if any) a title distinct +

            +
              +
            1. Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission. -

              -

            2. -List on the Title Page, as authors, one or more persons or entities +
            3. List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has fewer than five), unless they release you from this requirement. -

              -

            4. -State on the Title page the name of the publisher of the +
            5. State on the Title page the name of the publisher of the Modified Version, as the publisher. -

              -

            6. -Preserve all the copyright notices of the Document. -

              +

            7. Preserve all the copyright notices of the Document. -
            8. -Add an appropriate copyright notice for your modifications +
            9. Add an appropriate copyright notice for your modifications adjacent to the other copyright notices. -

              -

            10. -Include, immediately after the copyright notices, a license notice +
            11. Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below. -

              -

            12. -Preserve in that license notice the full lists of Invariant Sections -and required Cover Texts given in the Document's license notice. -

              +

            13. Preserve in that license notice the full lists of Invariant Sections +and required Cover Texts given in the Document’s license notice. -
            14. -Include an unaltered copy of this License. -

              +

            15. Include an unaltered copy of this License. -
            16. -Preserve the section Entitled "History", Preserve its Title, and add +
            17. Preserve the section Entitled “History”, Preserve its Title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If -there is no section Entitled "History" in the Document, create one +there is no section Entitled “History” in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence. -

              -

            18. -Preserve the network location, if any, given in the Document for +
            19. Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions -it was based on. These may be placed in the "History" section. +it was based on. These may be placed in the “History” section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission. -

              -

            20. -For any section Entitled "Acknowledgements" or "Dedications", Preserve +
            21. For any section Entitled “Acknowledgements” or “Dedications”, Preserve the Title of the section, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein. -

              -

            22. -Preserve all the Invariant Sections of the Document, +
            23. Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles. -

              -

            24. -Delete any section Entitled "Endorsements". Such a section +
            25. Delete any section Entitled “Endorsements”. Such a section may not be included in the Modified Version. -

              -

            26. -Do not retitle any existing section to be Entitled "Endorsements" or +
            27. Do not retitle any existing section to be Entitled “Endorsements” or to conflict in title with any Invariant Section. -

              -

            28. -Preserve any Warranty Disclaimers. -
            -

            +

          2. Preserve any Warranty Disclaimers. +
          -If the Modified Version includes new front-matter sections or +

          If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the -list of Invariant Sections in the Modified Version's license notice. +list of Invariant Sections in the Modified Version’s license notice. These titles must be distinct from any other section titles. -

          - -You may add a section Entitled "Endorsements", provided it contains +

          +

          You may add a section Entitled “Endorsements”, provided it contains nothing but endorsements of your Modified Version by various -parties--for example, statements of peer review or that the text has +parties—for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard. -

          - -You may add a passage of up to five words as a Front-Cover Text, and a +

          +

          You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or @@ -15239,26 +13954,21 @@ includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one. -

          - -The author(s) and publisher(s) of the Document do not by this License +

          +

          The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version. -

          - -

        10. -COMBINING DOCUMENTS -

          +

          +
        11. COMBINING DOCUMENTS -You may combine the Document with other documents released under this +

          You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers. -

          - -The combined work need only contain one copy of this License, and +

          +

          The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by @@ -15266,60 +13976,48 @@ adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work. -

          - -In the combination, you must combine any sections Entitled "History" +

          +

          In the combination, you must combine any sections Entitled “History” in the various original documents, forming one section Entitled -"History"; likewise combine any sections Entitled "Acknowledgements", -and any sections Entitled "Dedications". You must delete all -sections Entitled "Endorsements." -

          - -

        12. -COLLECTIONS OF DOCUMENTS -

          +“History”; likewise combine any sections Entitled “Acknowledgements”, +and any sections Entitled “Dedications”. You must delete all +sections Entitled “Endorsements.” +

          +
        13. COLLECTIONS OF DOCUMENTS -You may make a collection consisting of the Document and other documents +

          You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects. -

          - -You may extract a single document from such a collection, and distribute +

          +

          You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document. -

          - -

        14. -AGGREGATION WITH INDEPENDENT WORKS -

          +

          +
        15. AGGREGATION WITH INDEPENDENT WORKS -A compilation of the Document or its derivatives with other separate +

          A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or -distribution medium, is called an "aggregate" if the copyright +distribution medium, is called an “aggregate” if the copyright resulting from the compilation is not used to limit the legal rights -of the compilation's users beyond what the individual works permit. +of the compilation’s users beyond what the individual works permit. When the Document is included in an aggregate, this License does not apply to the other works in the aggregate which are not themselves derivative works of the Document. -

          - -If the Cover Text requirement of section 3 is applicable to these +

          +

          If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one half of -the entire aggregate, the Document's Cover Texts may be placed on +the entire aggregate, the Document’s Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate. -

          - -

        16. -TRANSLATION -

          +

          +
        17. TRANSLATION -Translation is considered a kind of modification, so you may +

          Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include @@ -15331,2151 +14029,1334 @@ the original English version of this License and the original versions of those notices and disclaimers. In case of a disagreement between the translation and the original version of this License or a notice or disclaimer, the original version will prevail. -

          - -If a section in the Document is Entitled "Acknowledgements", -"Dedications", or "History", the requirement (section 4) to Preserve +

          +

          If a section in the Document is Entitled “Acknowledgements”, +“Dedications”, or “History”, the requirement (section 4) to Preserve its Title (section 1) will typically require changing the actual title. -

          - -

        18. -TERMINATION -

          +

          +
        19. TERMINATION -You may not copy, modify, sublicense, or distribute the Document +

          You may not copy, modify, sublicense, or distribute the Document except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, or distribute it is void, and will automatically terminate your rights under this License. -

          - -However, if you cease all violation of this License, then your license +

          +

          However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. -

          - -Moreover, your license from a particular copyright holder is +

          +

          Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. -

          - -Termination of your rights under this section does not terminate the +

          +

          Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, receipt of a copy of some or all of the same material does not give you any rights to use it. -

          - -

        20. -FUTURE REVISIONS OF THIS LICENSE -

          +

          +
        21. FUTURE REVISIONS OF THIS LICENSE -The Free Software Foundation may publish new, revised versions +

          The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See -http://www.gnu.org/copyleft/. -

          - -Each version of the License is given a distinguishing version number. +http://www.gnu.org/copyleft/. +

          +

          Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this -License "or any later version" applies to it, you have the option of +License “or any later version” applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. If the Document specifies that a proxy can decide which future versions of this -License can be used, that proxy's public statement of acceptance of a +License can be used, that proxy’s public statement of acceptance of a version permanently authorizes you to choose that version for the Document. -

          - -

        22. -RELICENSING -

          +

          +
        23. RELICENSING -"Massive Multiauthor Collaboration Site" (or "MMC Site") means any +

          “Massive Multiauthor Collaboration Site” (or “MMC Site”) means any World Wide Web server that publishes copyrightable works and also provides prominent facilities for anybody to edit those works. A public wiki that anybody can edit is an example of such a server. A -"Massive Multiauthor Collaboration" (or "MMC") contained in the +“Massive Multiauthor Collaboration” (or “MMC”) contained in the site means any set of copyrightable works thus published on the MMC site. -

          - -"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 +

          +

          “CC-BY-SA” means the Creative Commons Attribution-Share Alike 3.0 license published by Creative Commons Corporation, a not-for-profit corporation with a principal place of business in San Francisco, California, as well as future copyleft versions of that license published by that same organization. -

          - -"Incorporate" means to publish or republish a Document, in whole or +

          +

          “Incorporate” means to publish or republish a Document, in whole or in part, as part of another Document. -

          - -An MMC is "eligible for relicensing" if it is licensed under this +

          +

          An MMC is “eligible for relicensing” if it is licensed under this License, and if all works that were first published under this License somewhere other than this MMC, and subsequently incorporated in whole or in part into the MMC, (1) had no cover texts or invariant sections, and (2) were thus incorporated prior to November 1, 2008. -

          - -The operator of an MMC Site may republish an MMC contained in the site +

          +

          The operator of an MMC Site may republish an MMC contained in the site under CC-BY-SA on the same site at any time before August 1, 2009, provided the MMC is eligible for relicensing. -

          - -

        -

        +

        +
      - -

      ADDENDUM: How to use this License for your documents

      - -

      + +

      ADDENDUM: How to use this License for your documents

      -To use this License in a document you have written, include a copy of +

      To use this License in a document you have written, include a copy of the License in the document and put the following copyright and license notices just after the title page: -

      - -
       
        Copyright (C)  year  your name.
      +

      +
      +
        Copyright (C)  year  your name.
         Permission is granted to copy, distribute and/or modify this document
         under the terms of the GNU Free Documentation License, Version 1.3
         or any later version published by the Free Software Foundation;
         with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
         Texts.  A copy of the license is included in the section entitled ``GNU
         Free Documentation License''.
      -

      - -If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, -replace the "with...Texts." line with this: -

      - -
       
          with the Invariant Sections being list their titles, with
      -    the Front-Cover Texts being list, and with the Back-Cover Texts
      -    being list.
      -

      - -If you have Invariant Sections without Cover Texts, or some other + + +

      If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, +replace the “with…Texts.” line with this: +

      +
      +
          with the Invariant Sections being list their titles, with
      +    the Front-Cover Texts being list, and with the Back-Cover Texts
      +    being list.
      +
      + +

      If you have Invariant Sections without Cover Texts, or some other combination of the three, merge those two alternatives to suit the situation. -

      - -If your document contains nontrivial examples of program code, we +

      +

      If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software. -

      - - -


      - - - - - - - - - - - -
      [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
      -

      D. Indexes

      - -

      - -

      - - - - - -
      D.1 Index of Shell Builtin Commands  Index of Bash builtin commands.
      D.2 Index of Shell Reserved Words  Index of Bash reserved words.
      D.3 Parameter and Variable Index  Quick reference helps you find the - variable you want.
      D.4 Function Index  Index of bindable Readline functions.
      D.5 Concept Index  General index for concepts described in - this manual.
      -

      - - -


      - - - - - - - - - - - -
      [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
      -

      D.1 Index of Shell Builtin Commands

      - -
      Jump to:   . -   -: -   -[ -   -
      -A -   -B -   -C -   -D -   -E -   -F -   -G -   -H -   -J -   -K -   -L -   -M -   -P -   -R -   -S -   -T -   -U -   -W -   -

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Index Entry Section

      .
      .4.1 Bourne Shell Builtins

      :
      :4.1 Bourne Shell Builtins

      [
      [4.1 Bourne Shell Builtins

      A
      alias4.2 Bash Builtin Commands

      B
      bg7.2 Job Control Builtins
      bind4.2 Bash Builtin Commands
      break4.1 Bourne Shell Builtins
      builtin4.2 Bash Builtin Commands

      C
      caller4.2 Bash Builtin Commands
      cd4.1 Bourne Shell Builtins
      command4.2 Bash Builtin Commands
      compgen8.7 Programmable Completion Builtins
      complete8.7 Programmable Completion Builtins
      compopt8.7 Programmable Completion Builtins
      continue4.1 Bourne Shell Builtins

      D
      declare4.2 Bash Builtin Commands
      dirs6.8.1 Directory Stack Builtins
      disown7.2 Job Control Builtins

      E
      echo4.2 Bash Builtin Commands
      enable4.2 Bash Builtin Commands
      eval4.1 Bourne Shell Builtins
      exec4.1 Bourne Shell Builtins
      exit4.1 Bourne Shell Builtins
      export4.1 Bourne Shell Builtins

      F
      fc9.2 Bash History Builtins
      fg7.2 Job Control Builtins

      G
      getopts4.1 Bourne Shell Builtins

      H
      hash4.1 Bourne Shell Builtins
      help4.2 Bash Builtin Commands
      history9.2 Bash History Builtins

      J
      jobs7.2 Job Control Builtins

      K
      kill7.2 Job Control Builtins

      L
      let4.2 Bash Builtin Commands
      local4.2 Bash Builtin Commands
      logout4.2 Bash Builtin Commands

      M
      mapfile4.2 Bash Builtin Commands

      P
      popd6.8.1 Directory Stack Builtins
      printf4.2 Bash Builtin Commands
      pushd6.8.1 Directory Stack Builtins
      pwd4.1 Bourne Shell Builtins

      R
      read4.2 Bash Builtin Commands
      readarray4.2 Bash Builtin Commands
      readonly4.1 Bourne Shell Builtins
      return4.1 Bourne Shell Builtins

      S
      set4.3.1 The Set Builtin
      shift4.1 Bourne Shell Builtins
      shopt4.3.2 The Shopt Builtin
      source4.2 Bash Builtin Commands
      suspend7.2 Job Control Builtins

      T
      test4.1 Bourne Shell Builtins
      times4.1 Bourne Shell Builtins
      trap4.1 Bourne Shell Builtins
      type4.2 Bash Builtin Commands
      typeset4.2 Bash Builtin Commands

      U
      ulimit4.2 Bash Builtin Commands
      umask4.1 Bourne Shell Builtins
      unalias4.2 Bash Builtin Commands
      unset4.1 Bourne Shell Builtins

      W
      wait7.2 Job Control Builtins

      Jump to:   . -   -: -   -[ -   -
      -A -   -B -   -C -   -D -   -E -   -F -   -G -   -H -   -J -   -K -   -L -   -M -   -P +

      + + +
      + + + +

      Appendix D Indexes

      + + + + + + + + + +
      + +
      +

      +Next: , Up: Indexes   [Contents][Index]

      +
      + +

      D.1 Index of Shell Builtin Commands

      +
      Jump to:   . +   +: +   +[   -R -   -S -   -T -   -U -   -W -   -

      - - -


      - - - - - - - - - - - -
      [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
      -

      D.2 Index of Shell Reserved Words

      - -
      Jump to:   ! -   -[ -   -] -   -{ -   -} -   -
      -C -   -D -   -E -   -F -   -I -   -S -   -T -   -U -   -W -   -

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Index Entry Section

      !
      !3.2.2 Pipelines

      [
      [[3.2.4.2 Conditional Constructs

      ]
      ]]3.2.4.2 Conditional Constructs

      {
      {3.2.4.3 Grouping Commands

      }
      }3.2.4.3 Grouping Commands

      C
      case3.2.4.2 Conditional Constructs

      D
      do3.2.4.1 Looping Constructs
      done3.2.4.1 Looping Constructs

      E
      elif3.2.4.2 Conditional Constructs
      else3.2.4.2 Conditional Constructs
      esac3.2.4.2 Conditional Constructs

      F
      fi3.2.4.2 Conditional Constructs
      for3.2.4.1 Looping Constructs
      function3.3 Shell Functions

      I
      if3.2.4.2 Conditional Constructs
      in3.2.4.2 Conditional Constructs

      S
      select3.2.4.2 Conditional Constructs

      T
      then3.2.4.2 Conditional Constructs
      time3.2.2 Pipelines

      U
      until3.2.4.1 Looping Constructs

      W
      while3.2.4.1 Looping Constructs

      Jump to:   ! -   -[ -   -] -   -{ -   -} -   -
      -C -   -D -   -E -   -F -   -I -   -S -   -T -   -U -   -W -   -

      - - -


      - - - - - - - - - - - -
      [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
      -

      D.3 Parameter and Variable Index

      - -
      Jump to:   ! -   -# -   -$ -   -* -   -- -   -0 -   -? -   -@ -   -_ -   -
      -A -   -B -   -C -   -D -   -E -   -F -   -G -   -H -   -I -   -K -   -L -   -M -   -O -   -P -   -R -   -S -   -T -   -U -   -V -   -

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Index Entry Section

      !
      !3.4.2 Special Parameters
      !3.4.2 Special Parameters

      #
      #3.4.2 Special Parameters
      #3.4.2 Special Parameters

      $
      $3.4.2 Special Parameters
      $3.4.2 Special Parameters
      $!3.4.2 Special Parameters
      $#3.4.2 Special Parameters
      $$3.4.2 Special Parameters
      $*3.4.2 Special Parameters
      $-3.4.2 Special Parameters
      $03.4.2 Special Parameters
      $?3.4.2 Special Parameters
      $@3.4.2 Special Parameters
      $_3.4.2 Special Parameters

      *
      *3.4.2 Special Parameters
      *3.4.2 Special Parameters

      -
      -3.4.2 Special Parameters
      -3.4.2 Special Parameters

      0
      03.4.2 Special Parameters
      03.4.2 Special Parameters

      ?
      ?3.4.2 Special Parameters
      ?3.4.2 Special Parameters

      @
      @3.4.2 Special Parameters
      @3.4.2 Special Parameters

      _
      _3.4.2 Special Parameters
      _3.4.2 Special Parameters

      A
      auto_resume7.3 Job Control Variables
      auto_resume7.3 Job Control Variables

      B
      BASH5.2 Bash Variables
      BASH5.2 Bash Variables
      BASH_ALIASES5.2 Bash Variables
      BASH_ALIASES5.2 Bash Variables
      BASH_ARGC5.2 Bash Variables
      BASH_ARGC5.2 Bash Variables
      BASH_ARGV5.2 Bash Variables
      BASH_ARGV5.2 Bash Variables
      BASH_CMDS5.2 Bash Variables
      BASH_CMDS5.2 Bash Variables
      BASH_COMMAND5.2 Bash Variables
      BASH_COMMAND5.2 Bash Variables
      BASH_COMPAT5.2 Bash Variables
      BASH_COMPAT5.2 Bash Variables
      BASH_ENV5.2 Bash Variables
      BASH_ENV5.2 Bash Variables
      BASH_EXECUTION_STRING5.2 Bash Variables
      BASH_EXECUTION_STRING5.2 Bash Variables
      BASH_LINENO5.2 Bash Variables
      BASH_LINENO5.2 Bash Variables
      BASH_REMATCH5.2 Bash Variables
      BASH_REMATCH5.2 Bash Variables
      BASH_SOURCE5.2 Bash Variables
      BASH_SOURCE5.2 Bash Variables
      BASH_SUBSHELL5.2 Bash Variables
      BASH_SUBSHELL5.2 Bash Variables
      BASH_VERSINFO5.2 Bash Variables
      BASH_VERSINFO5.2 Bash Variables
      BASH_VERSION5.2 Bash Variables
      BASH_VERSION5.2 Bash Variables
      BASH_XTRACEFD5.2 Bash Variables
      BASH_XTRACEFD5.2 Bash Variables
      BASHOPTS5.2 Bash Variables
      BASHOPTS5.2 Bash Variables
      BASHPID5.2 Bash Variables
      BASHPID5.2 Bash Variables
      bell-style8.3.1 Readline Init File Syntax
      bind-tty-special-chars8.3.1 Readline Init File Syntax

      C
      CDPATH5.1 Bourne Shell Variables
      CDPATH5.1 Bourne Shell Variables
      CHILD_MAX5.2 Bash Variables
      CHILD_MAX5.2 Bash Variables
      colored-stats8.3.1 Readline Init File Syntax
      COLUMNS5.2 Bash Variables
      COLUMNS5.2 Bash Variables
      comment-begin8.3.1 Readline Init File Syntax
      COMP_CWORD5.2 Bash Variables
      COMP_CWORD5.2 Bash Variables
      COMP_KEY5.2 Bash Variables
      COMP_KEY5.2 Bash Variables
      COMP_LINE5.2 Bash Variables
      COMP_LINE5.2 Bash Variables
      COMP_POINT5.2 Bash Variables
      COMP_POINT5.2 Bash Variables
      COMP_TYPE5.2 Bash Variables
      COMP_TYPE5.2 Bash Variables
      COMP_WORDBREAKS5.2 Bash Variables
      COMP_WORDBREAKS5.2 Bash Variables
      COMP_WORDS5.2 Bash Variables
      COMP_WORDS5.2 Bash Variables
      completion-display-width8.3.1 Readline Init File Syntax
      completion-ignore-case8.3.1 Readline Init File Syntax
      completion-map-case8.3.1 Readline Init File Syntax
      completion-prefix-display-length8.3.1 Readline Init File Syntax
      completion-query-items8.3.1 Readline Init File Syntax
      COMPREPLY5.2 Bash Variables
      COMPREPLY5.2 Bash Variables
      convert-meta8.3.1 Readline Init File Syntax
      COPROC5.2 Bash Variables
      COPROC5.2 Bash Variables

      D
      DIRSTACK5.2 Bash Variables
      DIRSTACK5.2 Bash Variables
      disable-completion8.3.1 Readline Init File Syntax

      E
      editing-mode8.3.1 Readline Init File Syntax
      EMACS5.2 Bash Variables
      EMACS5.2 Bash Variables
      enable-keypad8.3.1 Readline Init File Syntax
      ENV5.2 Bash Variables
      ENV5.2 Bash Variables
      EUID5.2 Bash Variables
      EUID5.2 Bash Variables
      expand-tilde8.3.1 Readline Init File Syntax

      F
      FCEDIT5.2 Bash Variables
      FCEDIT5.2 Bash Variables
      FIGNORE5.2 Bash Variables
      FIGNORE5.2 Bash Variables
      FUNCNAME5.2 Bash Variables
      FUNCNAME5.2 Bash Variables
      FUNCNEST5.2 Bash Variables
      FUNCNEST5.2 Bash Variables

      G
      GLOBIGNORE5.2 Bash Variables
      GLOBIGNORE5.2 Bash Variables
      GROUPS5.2 Bash Variables
      GROUPS5.2 Bash Variables

      H
      histchars5.2 Bash Variables
      histchars5.2 Bash Variables
      HISTCMD5.2 Bash Variables
      HISTCMD5.2 Bash Variables
      HISTCONTROL5.2 Bash Variables
      HISTCONTROL5.2 Bash Variables
      HISTFILE5.2 Bash Variables
      HISTFILE5.2 Bash Variables
      HISTFILESIZE5.2 Bash Variables
      HISTFILESIZE5.2 Bash Variables
      HISTIGNORE5.2 Bash Variables
      HISTIGNORE5.2 Bash Variables
      history-preserve-point8.3.1 Readline Init File Syntax
      history-size8.3.1 Readline Init File Syntax
      HISTSIZE5.2 Bash Variables
      HISTSIZE5.2 Bash Variables
      HISTTIMEFORMAT5.2 Bash Variables
      HISTTIMEFORMAT5.2 Bash Variables
      HOME5.1 Bourne Shell Variables
      HOME5.1 Bourne Shell Variables
      horizontal-scroll-mode8.3.1 Readline Init File Syntax
      HOSTFILE5.2 Bash Variables
      HOSTFILE5.2 Bash Variables
      HOSTNAME5.2 Bash Variables
      HOSTNAME5.2 Bash Variables
      HOSTTYPE5.2 Bash Variables
      HOSTTYPE5.2 Bash Variables

      I
      IFS5.1 Bourne Shell Variables
      IFS5.1 Bourne Shell Variables
      IGNOREEOF5.2 Bash Variables
      IGNOREEOF5.2 Bash Variables
      input-meta8.3.1 Readline Init File Syntax
      INPUTRC5.2 Bash Variables
      INPUTRC5.2 Bash Variables
      isearch-terminators8.3.1 Readline Init File Syntax

      K
      keymap8.3.1 Readline Init File Syntax

      L
      LANG5.2 Bash Variables
      LANG5.2 Bash Variables
      LC_ALL5.2 Bash Variables
      LC_ALL5.2 Bash Variables
      LC_COLLATE5.2 Bash Variables
      LC_COLLATE5.2 Bash Variables
      LC_CTYPE5.2 Bash Variables
      LC_CTYPE5.2 Bash Variables
      LC_MESSAGES3.1.2.5 Locale-Specific Translation
      LC_MESSAGES5.2 Bash Variables
      LC_MESSAGES5.2 Bash Variables
      LC_NUMERIC5.2 Bash Variables
      LC_NUMERIC5.2 Bash Variables
      LINENO5.2 Bash Variables
      LINENO5.2 Bash Variables
      LINES5.2 Bash Variables
      LINES5.2 Bash Variables

      M
      MACHTYPE5.2 Bash Variables
      MACHTYPE5.2 Bash Variables
      MAIL5.1 Bourne Shell Variables
      MAIL5.1 Bourne Shell Variables
      MAILCHECK5.2 Bash Variables
      MAILCHECK5.2 Bash Variables
      MAILPATH5.1 Bourne Shell Variables
      MAILPATH5.1 Bourne Shell Variables
      MAPFILE5.2 Bash Variables
      MAPFILE5.2 Bash Variables
      mark-modified-lines8.3.1 Readline Init File Syntax
      mark-symlinked-directories8.3.1 Readline Init File Syntax
      match-hidden-files8.3.1 Readline Init File Syntax
      menu-complete-display-prefix8.3.1 Readline Init File Syntax
      meta-flag8.3.1 Readline Init File Syntax

      O
      OLDPWD5.2 Bash Variables
      OLDPWD5.2 Bash Variables
      OPTARG5.1 Bourne Shell Variables
      OPTARG5.1 Bourne Shell Variables
      OPTERR5.2 Bash Variables
      OPTERR5.2 Bash Variables
      OPTIND5.1 Bourne Shell Variables
      OPTIND5.1 Bourne Shell Variables
      OSTYPE5.2 Bash Variables
      OSTYPE5.2 Bash Variables
      output-meta8.3.1 Readline Init File Syntax

      P
      page-completions8.3.1 Readline Init File Syntax
      PATH5.1 Bourne Shell Variables
      PATH5.1 Bourne Shell Variables
      PIPESTATUS5.2 Bash Variables
      PIPESTATUS5.2 Bash Variables
      POSIXLY_CORRECT5.2 Bash Variables
      POSIXLY_CORRECT5.2 Bash Variables
      PPID5.2 Bash Variables
      PPID5.2 Bash Variables
      PROMPT_COMMAND5.2 Bash Variables
      PROMPT_COMMAND5.2 Bash Variables
      PROMPT_DIRTRIM5.2 Bash Variables
      PROMPT_DIRTRIM5.2 Bash Variables
      PS15.1 Bourne Shell Variables
      PS15.1 Bourne Shell Variables
      PS25.1 Bourne Shell Variables
      PS25.1 Bourne Shell Variables
      PS35.2 Bash Variables
      PS35.2 Bash Variables
      PS45.2 Bash Variables
      PS45.2 Bash Variables
      PWD5.2 Bash Variables
      PWD5.2 Bash Variables

      R
      RANDOM5.2 Bash Variables
      RANDOM5.2 Bash Variables
      READLINE_LINE5.2 Bash Variables
      READLINE_LINE5.2 Bash Variables
      READLINE_POINT5.2 Bash Variables
      READLINE_POINT5.2 Bash Variables
      REPLY5.2 Bash Variables
      REPLY5.2 Bash Variables
      revert-all-at-newline8.3.1 Readline Init File Syntax

      S
      SECONDS5.2 Bash Variables
      SECONDS5.2 Bash Variables
      SHELL5.2 Bash Variables
      SHELL5.2 Bash Variables
      SHELLOPTS5.2 Bash Variables
      SHELLOPTS5.2 Bash Variables
      SHLVL5.2 Bash Variables
      SHLVL5.2 Bash Variables
      show-all-if-ambiguous8.3.1 Readline Init File Syntax
      show-all-if-unmodified8.3.1 Readline Init File Syntax
      show-mode-in-prompt8.3.1 Readline Init File Syntax
      skip-completed-text8.3.1 Readline Init File Syntax

      T
      TEXTDOMAIN3.1.2.5 Locale-Specific Translation
      TEXTDOMAINDIR3.1.2.5 Locale-Specific Translation
      TIMEFORMAT5.2 Bash Variables
      TIMEFORMAT5.2 Bash Variables
      TMOUT5.2 Bash Variables
      TMOUT5.2 Bash Variables
      TMPDIR5.2 Bash Variables
      TMPDIR5.2 Bash Variables

      U
      UID5.2 Bash Variables
      UID5.2 Bash Variables

      V
      visible-stats8.3.1 Readline Init File Syntax

      Jump to:   ! -   -# -   -$ -   -* -   -- -   -0 -   -? -   -@ -   -_ -   -
      -A -   -B -   -C -   -D -   -E -   -F -   -G -   -H -   -I -   -K -   -L -   -M -   -O -   -P -   -R -   -S -   -T -   -U -   -V -   -

      - - -


      - - - - - - - - - - - -
      [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
      -

      D.4 Function Index

      - -
      Jump to:   A -   -B -   -C -   -D -   -E -   -F -   -G -   -H -   -I -   -K -   -M -   -N -   -O -   -P -   -Q -   -R -   -S -   -T -   -U +
      +A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +J +   +K +   +L +   +M +   +P +   +R +   +S +   +T +   +U +   +W +   +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Index Entry  Section

      .
      .: Bourne Shell Builtins

      :
      :: Bourne Shell Builtins

      [
      [: Bourne Shell Builtins

      A
      alias: Bash Builtins

      B
      bg: Job Control Builtins
      bind: Bash Builtins
      break: Bourne Shell Builtins
      builtin: Bash Builtins

      C
      caller: Bash Builtins
      cd: Bourne Shell Builtins
      command: Bash Builtins
      compgen: Programmable Completion Builtins
      complete: Programmable Completion Builtins
      compopt: Programmable Completion Builtins
      continue: Bourne Shell Builtins

      D
      declare: Bash Builtins
      dirs: Directory Stack Builtins
      disown: Job Control Builtins

      E
      echo: Bash Builtins
      enable: Bash Builtins
      eval: Bourne Shell Builtins
      exec: Bourne Shell Builtins
      exit: Bourne Shell Builtins
      export: Bourne Shell Builtins

      F
      fc: Bash History Builtins
      fg: Job Control Builtins

      G
      getopts: Bourne Shell Builtins

      H
      hash: Bourne Shell Builtins
      help: Bash Builtins
      history: Bash History Builtins

      J
      jobs: Job Control Builtins

      K
      kill: Job Control Builtins

      L
      let: Bash Builtins
      local: Bash Builtins
      logout: Bash Builtins

      M
      mapfile: Bash Builtins

      P
      popd: Directory Stack Builtins
      printf: Bash Builtins
      pushd: Directory Stack Builtins
      pwd: Bourne Shell Builtins

      R
      read: Bash Builtins
      readarray: Bash Builtins
      readonly: Bourne Shell Builtins
      return: Bourne Shell Builtins

      S
      set: The Set Builtin
      shift: Bourne Shell Builtins
      shopt: The Shopt Builtin
      source: Bash Builtins
      suspend: Job Control Builtins

      T
      test: Bourne Shell Builtins
      times: Bourne Shell Builtins
      trap: Bourne Shell Builtins
      type: Bash Builtins
      typeset: Bash Builtins

      U
      ulimit: Bash Builtins
      umask: Bourne Shell Builtins
      unalias: Bash Builtins
      unset: Bourne Shell Builtins

      W
      wait: Job Control Builtins

      +
      Jump to:   . +   +: +   +[   -Y +
      +A   -

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Index Entry Section

      A
      abort (C-g)8.4.8 Some Miscellaneous Commands
      abort (C-g)8.4.8 Some Miscellaneous Commands
      accept-line (Newline or Return)8.4.2 Commands For Manipulating The History
      accept-line (Newline or Return)8.4.2 Commands For Manipulating The History
      alias-expand-line ()8.4.8 Some Miscellaneous Commands
      alias-expand-line ()8.4.8 Some Miscellaneous Commands

      B
      backward-char (C-b)8.4.1 Commands For Moving
      backward-char (C-b)8.4.1 Commands For Moving
      backward-delete-char (Rubout)8.4.3 Commands For Changing Text
      backward-delete-char (Rubout)8.4.3 Commands For Changing Text
      backward-kill-line (C-x Rubout)8.4.4 Killing And Yanking
      backward-kill-line (C-x Rubout)8.4.4 Killing And Yanking
      backward-kill-word (M-DEL)8.4.4 Killing And Yanking
      backward-kill-word (M-DEL)8.4.4 Killing And Yanking
      backward-word (M-b)8.4.1 Commands For Moving
      backward-word (M-b)8.4.1 Commands For Moving
      beginning-of-history (M-&#60;)8.4.2 Commands For Manipulating The History
      beginning-of-history (M-&#60;)8.4.2 Commands For Manipulating The History
      beginning-of-line (C-a)8.4.1 Commands For Moving
      beginning-of-line (C-a)8.4.1 Commands For Moving

      C
      call-last-kbd-macro (C-x e)8.4.7 Keyboard Macros
      call-last-kbd-macro (C-x e)8.4.7 Keyboard Macros
      capitalize-word (M-c)8.4.3 Commands For Changing Text
      capitalize-word (M-c)8.4.3 Commands For Changing Text
      character-search (C-])8.4.8 Some Miscellaneous Commands
      character-search (C-])8.4.8 Some Miscellaneous Commands
      character-search-backward (M-C-])8.4.8 Some Miscellaneous Commands
      character-search-backward (M-C-])8.4.8 Some Miscellaneous Commands
      clear-screen (C-l)8.4.1 Commands For Moving
      clear-screen (C-l)8.4.1 Commands For Moving
      complete (TAB)8.4.6 Letting Readline Type For You
      complete (TAB)8.4.6 Letting Readline Type For You
      complete-command (M-!)8.4.6 Letting Readline Type For You
      complete-command (M-!)8.4.6 Letting Readline Type For You
      complete-filename (M-/)8.4.6 Letting Readline Type For You
      complete-filename (M-/)8.4.6 Letting Readline Type For You
      complete-hostname (M-@)8.4.6 Letting Readline Type For You
      complete-hostname (M-@)8.4.6 Letting Readline Type For You
      complete-into-braces (M-{)8.4.6 Letting Readline Type For You
      complete-into-braces (M-{)8.4.6 Letting Readline Type For You
      complete-username (M-~)8.4.6 Letting Readline Type For You
      complete-username (M-~)8.4.6 Letting Readline Type For You
      complete-variable (M-$)8.4.6 Letting Readline Type For You
      complete-variable (M-$)8.4.6 Letting Readline Type For You
      copy-backward-word ()8.4.4 Killing And Yanking
      copy-backward-word ()8.4.4 Killing And Yanking
      copy-forward-word ()8.4.4 Killing And Yanking
      copy-forward-word ()8.4.4 Killing And Yanking
      copy-region-as-kill ()8.4.4 Killing And Yanking
      copy-region-as-kill ()8.4.4 Killing And Yanking

      D
      dabbrev-expand ()8.4.6 Letting Readline Type For You
      dabbrev-expand ()8.4.6 Letting Readline Type For You
      delete-char (C-d)8.4.3 Commands For Changing Text
      delete-char (C-d)8.4.3 Commands For Changing Text
      delete-char-or-list ()8.4.6 Letting Readline Type For You
      delete-char-or-list ()8.4.6 Letting Readline Type For You
      delete-horizontal-space ()8.4.4 Killing And Yanking
      delete-horizontal-space ()8.4.4 Killing And Yanking
      digit-argument (M-0, M-1, <small>...</small> M--)8.4.5 Specifying Numeric Arguments
      digit-argument (M-0, M-1, <small>...</small> M--)8.4.5 Specifying Numeric Arguments
      display-shell-version (C-x C-v)8.4.8 Some Miscellaneous Commands
      display-shell-version (C-x C-v)8.4.8 Some Miscellaneous Commands
      do-uppercase-version (M-a, M-b, M-x, <small>...</small>)8.4.8 Some Miscellaneous Commands
      do-uppercase-version (M-a, M-b, M-x, <small>...</small>)8.4.8 Some Miscellaneous Commands
      downcase-word (M-l)8.4.3 Commands For Changing Text
      downcase-word (M-l)8.4.3 Commands For Changing Text
      dump-functions ()8.4.8 Some Miscellaneous Commands
      dump-functions ()8.4.8 Some Miscellaneous Commands
      dump-macros ()8.4.8 Some Miscellaneous Commands
      dump-macros ()8.4.8 Some Miscellaneous Commands
      dump-variables ()8.4.8 Some Miscellaneous Commands
      dump-variables ()8.4.8 Some Miscellaneous Commands
      dynamic-complete-history (M-TAB)8.4.6 Letting Readline Type For You
      dynamic-complete-history (M-TAB)8.4.6 Letting Readline Type For You

      E
      edit-and-execute-command (C-xC-e)8.4.8 Some Miscellaneous Commands
      edit-and-execute-command (C-xC-e)8.4.8 Some Miscellaneous Commands
      end-kbd-macro (C-x ))8.4.7 Keyboard Macros
      end-kbd-macro (C-x ))8.4.7 Keyboard Macros
      end-of-file (usually C-d)8.4.3 Commands For Changing Text
      end-of-file (usually C-d)8.4.3 Commands For Changing Text
      end-of-history (M-&#62;)8.4.2 Commands For Manipulating The History
      end-of-history (M-&#62;)8.4.2 Commands For Manipulating The History
      end-of-line (C-e)8.4.1 Commands For Moving
      end-of-line (C-e)8.4.1 Commands For Moving
      exchange-point-and-mark (C-x C-x)8.4.8 Some Miscellaneous Commands
      exchange-point-and-mark (C-x C-x)8.4.8 Some Miscellaneous Commands

      F
      forward-backward-delete-char ()8.4.3 Commands For Changing Text
      forward-backward-delete-char ()8.4.3 Commands For Changing Text
      forward-char (C-f)8.4.1 Commands For Moving
      forward-char (C-f)8.4.1 Commands For Moving
      forward-search-history (C-s)8.4.2 Commands For Manipulating The History
      forward-search-history (C-s)8.4.2 Commands For Manipulating The History
      forward-word (M-f)8.4.1 Commands For Moving
      forward-word (M-f)8.4.1 Commands For Moving

      G
      glob-complete-word (M-g)8.4.8 Some Miscellaneous Commands
      glob-complete-word (M-g)8.4.8 Some Miscellaneous Commands
      glob-expand-word (C-x *)8.4.8 Some Miscellaneous Commands
      glob-expand-word (C-x *)8.4.8 Some Miscellaneous Commands
      glob-list-expansions (C-x g)8.4.8 Some Miscellaneous Commands
      glob-list-expansions (C-x g)8.4.8 Some Miscellaneous Commands

      H
      history-and-alias-expand-line ()8.4.8 Some Miscellaneous Commands
      history-and-alias-expand-line ()8.4.8 Some Miscellaneous Commands
      history-expand-line (M-^)8.4.8 Some Miscellaneous Commands
      history-expand-line (M-^)8.4.8 Some Miscellaneous Commands
      history-search-backward ()8.4.2 Commands For Manipulating The History
      history-search-backward ()8.4.2 Commands For Manipulating The History
      history-search-forward ()8.4.2 Commands For Manipulating The History
      history-search-forward ()8.4.2 Commands For Manipulating The History
      history-substr-search-backward ()8.4.2 Commands For Manipulating The History
      history-substr-search-backward ()8.4.2 Commands For Manipulating The History
      history-substr-search-forward ()8.4.2 Commands For Manipulating The History
      history-substr-search-forward ()8.4.2 Commands For Manipulating The History

      I
      insert-comment (M-#)8.4.8 Some Miscellaneous Commands
      insert-comment (M-#)8.4.8 Some Miscellaneous Commands
      insert-completions (M-*)8.4.6 Letting Readline Type For You
      insert-completions (M-*)8.4.6 Letting Readline Type For You
      insert-last-argument (M-. or M-_)8.4.8 Some Miscellaneous Commands
      insert-last-argument (M-. or M-_)8.4.8 Some Miscellaneous Commands

      K
      kill-line (C-k)8.4.4 Killing And Yanking
      kill-line (C-k)8.4.4 Killing And Yanking
      kill-region ()8.4.4 Killing And Yanking
      kill-region ()8.4.4 Killing And Yanking
      kill-whole-line ()8.4.4 Killing And Yanking
      kill-whole-line ()8.4.4 Killing And Yanking
      kill-word (M-d)8.4.4 Killing And Yanking
      kill-word (M-d)8.4.4 Killing And Yanking

      M
      magic-space ()8.4.8 Some Miscellaneous Commands
      magic-space ()8.4.8 Some Miscellaneous Commands
      menu-complete ()8.4.6 Letting Readline Type For You
      menu-complete ()8.4.6 Letting Readline Type For You
      menu-complete-backward ()8.4.6 Letting Readline Type For You
      menu-complete-backward ()8.4.6 Letting Readline Type For You

      N
      next-history (C-n)8.4.2 Commands For Manipulating The History
      next-history (C-n)8.4.2 Commands For Manipulating The History
      non-incremental-forward-search-history (M-n)8.4.2 Commands For Manipulating The History
      non-incremental-forward-search-history (M-n)8.4.2 Commands For Manipulating The History
      non-incremental-reverse-search-history (M-p)8.4.2 Commands For Manipulating The History
      non-incremental-reverse-search-history (M-p)8.4.2 Commands For Manipulating The History

      O
      operate-and-get-next (C-o)8.4.8 Some Miscellaneous Commands
      operate-and-get-next (C-o)8.4.8 Some Miscellaneous Commands
      overwrite-mode ()8.4.3 Commands For Changing Text
      overwrite-mode ()8.4.3 Commands For Changing Text

      P
      possible-command-completions (C-x !)8.4.6 Letting Readline Type For You
      possible-command-completions (C-x !)8.4.6 Letting Readline Type For You
      possible-completions (M-?)8.4.6 Letting Readline Type For You
      possible-completions (M-?)8.4.6 Letting Readline Type For You
      possible-filename-completions (C-x /)8.4.6 Letting Readline Type For You
      possible-filename-completions (C-x /)8.4.6 Letting Readline Type For You
      possible-hostname-completions (C-x @)8.4.6 Letting Readline Type For You
      possible-hostname-completions (C-x @)8.4.6 Letting Readline Type For You
      possible-username-completions (C-x ~)8.4.6 Letting Readline Type For You
      possible-username-completions (C-x ~)8.4.6 Letting Readline Type For You
      possible-variable-completions (C-x $)8.4.6 Letting Readline Type For You
      possible-variable-completions (C-x $)8.4.6 Letting Readline Type For You
      prefix-meta (ESC)8.4.8 Some Miscellaneous Commands
      prefix-meta (ESC)8.4.8 Some Miscellaneous Commands
      previous-history (C-p)8.4.2 Commands For Manipulating The History
      previous-history (C-p)8.4.2 Commands For Manipulating The History
      print-last-kbd-macro ()8.4.7 Keyboard Macros
      print-last-kbd-macro ()8.4.7 Keyboard Macros

      Q
      quoted-insert (C-q or C-v)8.4.3 Commands For Changing Text
      quoted-insert (C-q or C-v)8.4.3 Commands For Changing Text

      R
      re-read-init-file (C-x C-r)8.4.8 Some Miscellaneous Commands
      re-read-init-file (C-x C-r)8.4.8 Some Miscellaneous Commands
      redraw-current-line ()8.4.1 Commands For Moving
      redraw-current-line ()8.4.1 Commands For Moving
      reverse-search-history (C-r)8.4.2 Commands For Manipulating The History
      reverse-search-history (C-r)8.4.2 Commands For Manipulating The History
      revert-line (M-r)8.4.8 Some Miscellaneous Commands
      revert-line (M-r)8.4.8 Some Miscellaneous Commands

      S
      self-insert (a, b, A, 1, !, <small>...</small>)8.4.3 Commands For Changing Text
      self-insert (a, b, A, 1, !, <small>...</small>)8.4.3 Commands For Changing Text
      set-mark (C-@)8.4.8 Some Miscellaneous Commands
      set-mark (C-@)8.4.8 Some Miscellaneous Commands
      shell-backward-kill-word ()8.4.4 Killing And Yanking
      shell-backward-kill-word ()8.4.4 Killing And Yanking
      shell-backward-word ()8.4.1 Commands For Moving
      shell-backward-word ()8.4.1 Commands For Moving
      shell-expand-line (M-C-e)8.4.8 Some Miscellaneous Commands
      shell-expand-line (M-C-e)8.4.8 Some Miscellaneous Commands
      shell-forward-word ()8.4.1 Commands For Moving
      shell-forward-word ()8.4.1 Commands For Moving
      shell-kill-word ()8.4.4 Killing And Yanking
      shell-kill-word ()8.4.4 Killing And Yanking
      skip-csi-sequence ()8.4.8 Some Miscellaneous Commands
      skip-csi-sequence ()8.4.8 Some Miscellaneous Commands
      start-kbd-macro (C-x ()8.4.7 Keyboard Macros
      start-kbd-macro (C-x ()8.4.7 Keyboard Macros

      T
      tilde-expand (M-&#38;)8.4.8 Some Miscellaneous Commands
      tilde-expand (M-&#38;)8.4.8 Some Miscellaneous Commands
      transpose-chars (C-t)8.4.3 Commands For Changing Text
      transpose-chars (C-t)8.4.3 Commands For Changing Text
      transpose-words (M-t)8.4.3 Commands For Changing Text
      transpose-words (M-t)8.4.3 Commands For Changing Text

      U
      undo (C-_ or C-x C-u)8.4.8 Some Miscellaneous Commands
      undo (C-_ or C-x C-u)8.4.8 Some Miscellaneous Commands
      universal-argument ()8.4.5 Specifying Numeric Arguments
      universal-argument ()8.4.5 Specifying Numeric Arguments
      unix-filename-rubout ()8.4.4 Killing And Yanking
      unix-filename-rubout ()8.4.4 Killing And Yanking
      unix-line-discard (C-u)8.4.4 Killing And Yanking
      unix-line-discard (C-u)8.4.4 Killing And Yanking
      unix-word-rubout (C-w)8.4.4 Killing And Yanking
      unix-word-rubout (C-w)8.4.4 Killing And Yanking
      upcase-word (M-u)8.4.3 Commands For Changing Text
      upcase-word (M-u)8.4.3 Commands For Changing Text

      Y
      yank (C-y)8.4.4 Killing And Yanking
      yank (C-y)8.4.4 Killing And Yanking
      yank-last-arg (M-. or M-_)8.4.2 Commands For Manipulating The History
      yank-last-arg (M-. or M-_)8.4.2 Commands For Manipulating The History
      yank-nth-arg (M-C-y)8.4.2 Commands For Manipulating The History
      yank-nth-arg (M-C-y)8.4.2 Commands For Manipulating The History
      yank-pop (M-y)8.4.4 Killing And Yanking
      yank-pop (M-y)8.4.4 Killing And Yanking

      Jump to:   A +B   -B +C   -C +D   -D +E   -E +F   -F +G   -G +H   -H +J   -I +K   -K +L   -M +M   -N +P   -O +R   -P +S   -Q +T   -R +U   -S +W   -T +
      + +
      + +
      +

      +Next: , Previous: , Up: Indexes   [Contents][Index]

      +
      + +

      D.2 Index of Shell Reserved Words

      +
      Jump to:   !   -U +[   -Y +]   -

      - - -


      - - - - - - - - - - - -
      [ < ][ > ]   [ << ][ Up ][ >> ]         [Top][Contents][Index][ ? ]
      -

      D.5 Concept Index

      - -
      Jump to:   A +{   -B +}   -C +
      +C +   +D +   +E +   +F +   +I +   +S +   +T +   +U +   +W +   +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Index Entry  Section

      !
      !: Pipelines

      [
      [[: Conditional Constructs

      ]
      ]]: Conditional Constructs

      {
      {: Command Grouping

      }
      }: Command Grouping

      C
      case: Conditional Constructs

      D
      do: Looping Constructs
      done: Looping Constructs

      E
      elif: Conditional Constructs
      else: Conditional Constructs
      esac: Conditional Constructs

      F
      fi: Conditional Constructs
      for: Looping Constructs
      function: Shell Functions

      I
      if: Conditional Constructs
      in: Conditional Constructs

      S
      select: Conditional Constructs

      T
      then: Conditional Constructs
      time: Pipelines

      U
      until: Looping Constructs

      W
      while: Looping Constructs

      +
      Jump to:   ! +   +[ +   +] +   +{ +   +}   -D +
      +C   -E +D   -F +E   -H +F   -I +I   -J +S   -K +T   -L +U   -M +W   -N +
      + +
      + +
      +

      +Next: , Previous: , Up: Indexes   [Contents][Index]

      +
      + +

      D.3 Parameter and Variable Index

      +
      Jump to:   !   -O +#   -P +$   -Q +*   -R +-   -S +0   -T +?   -V +@   -W +_   -Y +
      +A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +I +   +K +   +L +   +M +   +O +   +P +   +R +   +S +   +T +   +U +   +V +   +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Index Entry  Section

      !
      !: Special Parameters

      #
      #: Special Parameters

      $
      $: Special Parameters
      $!: Special Parameters
      $#: Special Parameters
      $$: Special Parameters
      $*: Special Parameters
      $-: Special Parameters
      $0: Special Parameters
      $?: Special Parameters
      $@: Special Parameters
      $_: Special Parameters

      *
      *: Special Parameters

      -
      -: Special Parameters

      0
      0: Special Parameters

      ?
      ?: Special Parameters

      @
      @: Special Parameters

      _
      _: Special Parameters

      A
      auto_resume: Job Control Variables

      B
      BASH: Bash Variables
      BASHOPTS: Bash Variables
      BASHPID: Bash Variables
      BASH_ALIASES: Bash Variables
      BASH_ARGC: Bash Variables
      BASH_ARGV: Bash Variables
      BASH_CMDS: Bash Variables
      BASH_COMMAND: Bash Variables
      BASH_COMPAT: Bash Variables
      BASH_ENV: Bash Variables
      BASH_EXECUTION_STRING: Bash Variables
      BASH_LINENO: Bash Variables
      BASH_LOADABLES_PATH: Bash Variables
      BASH_REMATCH: Bash Variables
      BASH_SOURCE: Bash Variables
      BASH_SUBSHELL: Bash Variables
      BASH_VERSINFO: Bash Variables
      BASH_VERSION: Bash Variables
      BASH_XTRACEFD: Bash Variables
      bell-style: Readline Init File Syntax
      bind-tty-special-chars: Readline Init File Syntax
      blink-matching-paren: Readline Init File Syntax

      C
      CDPATH: Bourne Shell Variables
      CHILD_MAX: Bash Variables
      colored-completion-prefix: Readline Init File Syntax
      colored-stats: Readline Init File Syntax
      COLUMNS: Bash Variables
      comment-begin: Readline Init File Syntax
      completion-display-width: Readline Init File Syntax
      completion-ignore-case: Readline Init File Syntax
      completion-map-case: Readline Init File Syntax
      completion-prefix-display-length: Readline Init File Syntax
      completion-query-items: Readline Init File Syntax
      COMPREPLY: Bash Variables
      COMP_CWORD: Bash Variables
      COMP_KEY: Bash Variables
      COMP_LINE: Bash Variables
      COMP_POINT: Bash Variables
      COMP_TYPE: Bash Variables
      COMP_WORDBREAKS: Bash Variables
      COMP_WORDS: Bash Variables
      convert-meta: Readline Init File Syntax
      COPROC: Bash Variables

      D
      DIRSTACK: Bash Variables
      disable-completion: Readline Init File Syntax

      E
      echo-control-characters: Readline Init File Syntax
      editing-mode: Readline Init File Syntax
      EMACS: Bash Variables
      emacs-mode-string: Readline Init File Syntax
      enable-bracketed-paste: Readline Init File Syntax
      enable-keypad: Readline Init File Syntax
      ENV: Bash Variables
      EUID: Bash Variables
      EXECIGNORE: Bash Variables
      expand-tilde: Readline Init File Syntax

      F
      FCEDIT: Bash Variables
      FIGNORE: Bash Variables
      FUNCNAME: Bash Variables
      FUNCNEST: Bash Variables

      G
      GLOBIGNORE: Bash Variables
      GROUPS: Bash Variables

      H
      histchars: Bash Variables
      HISTCMD: Bash Variables
      HISTCONTROL: Bash Variables
      HISTFILE: Bash Variables
      HISTFILESIZE: Bash Variables
      HISTIGNORE: Bash Variables
      history-preserve-point: Readline Init File Syntax
      history-size: Readline Init File Syntax
      HISTSIZE: Bash Variables
      HISTTIMEFORMAT: Bash Variables
      HOME: Bourne Shell Variables
      horizontal-scroll-mode: Readline Init File Syntax
      HOSTFILE: Bash Variables
      HOSTNAME: Bash Variables
      HOSTTYPE: Bash Variables

      I
      IFS: Bourne Shell Variables
      IGNOREEOF: Bash Variables
      input-meta: Readline Init File Syntax
      INPUTRC: Bash Variables
      isearch-terminators: Readline Init File Syntax

      K
      keymap: Readline Init File Syntax

      L
      LANG: Bash Variables
      LC_ALL: Bash Variables
      LC_COLLATE: Bash Variables
      LC_CTYPE: Bash Variables
      LC_MESSAGES: Locale Translation
      LC_MESSAGES: Bash Variables
      LC_NUMERIC: Bash Variables
      LC_TIME: Bash Variables
      LINENO: Bash Variables
      LINES: Bash Variables

      M
      MACHTYPE: Bash Variables
      MAIL: Bourne Shell Variables
      MAILCHECK: Bash Variables
      MAILPATH: Bourne Shell Variables
      MAPFILE: Bash Variables
      mark-modified-lines: Readline Init File Syntax
      mark-symlinked-directories: Readline Init File Syntax
      match-hidden-files: Readline Init File Syntax
      menu-complete-display-prefix: Readline Init File Syntax
      meta-flag: Readline Init File Syntax

      O
      OLDPWD: Bash Variables
      OPTARG: Bourne Shell Variables
      OPTERR: Bash Variables
      OPTIND: Bourne Shell Variables
      OSTYPE: Bash Variables
      output-meta: Readline Init File Syntax

      P
      page-completions: Readline Init File Syntax
      PATH: Bourne Shell Variables
      PIPESTATUS: Bash Variables
      POSIXLY_CORRECT: Bash Variables
      PPID: Bash Variables
      PROMPT_COMMAND: Bash Variables
      PROMPT_DIRTRIM: Bash Variables
      PS0: Bash Variables
      PS1: Bourne Shell Variables
      PS2: Bourne Shell Variables
      PS3: Bash Variables
      PS4: Bash Variables
      PWD: Bash Variables

      R
      RANDOM: Bash Variables
      READLINE_LINE: Bash Variables
      READLINE_POINT: Bash Variables
      REPLY: Bash Variables
      revert-all-at-newline: Readline Init File Syntax

      S
      SECONDS: Bash Variables
      SHELL: Bash Variables
      SHELLOPTS: Bash Variables
      SHLVL: Bash Variables
      show-all-if-ambiguous: Readline Init File Syntax
      show-all-if-unmodified: Readline Init File Syntax
      show-mode-in-prompt: Readline Init File Syntax
      skip-completed-text: Readline Init File Syntax

      T
      TEXTDOMAIN: Locale Translation
      TEXTDOMAINDIR: Locale Translation
      TIMEFORMAT: Bash Variables
      TMOUT: Bash Variables
      TMPDIR: Bash Variables

      U
      UID: Bash Variables

      V
      vi-cmd-mode-string: Readline Init File Syntax
      vi-ins-mode-string: Readline Init File Syntax
      visible-stats: Readline Init File Syntax

      +
      Jump to:   ! +   +# +   +$ +   +* +   +- +   +0 +   +? +   +@ +   +_   -

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Index Entry Section

      A
      alias expansion6.6 Aliases
      arithmetic evaluation6.5 Shell Arithmetic
      arithmetic expansion3.5.5 Arithmetic Expansion
      arithmetic, shell6.5 Shell Arithmetic
      arrays6.7 Arrays

      B
      background7.1 Job Control Basics
      Bash configuration10.1 Basic Installation
      Bash installation10.1 Basic Installation
      Bourne shell3. Basic Shell Features
      brace expansion3.5.1 Brace Expansion
      builtin2. Definitions

      C
      command editing8.2.1 Readline Bare Essentials
      command execution3.7.2 Command Search and Execution
      command expansion3.7.1 Simple Command Expansion
      command history9.1 Bash History Facilities
      command search3.7.2 Command Search and Execution
      command substitution3.5.4 Command Substitution
      command timing3.2.2 Pipelines
      commands, compound3.2.4 Compound Commands
      commands, conditional3.2.4.2 Conditional Constructs
      commands, grouping3.2.4.3 Grouping Commands
      commands, lists3.2.3 Lists of Commands
      commands, looping3.2.4.1 Looping Constructs
      commands, pipelines3.2.2 Pipelines
      commands, shell3.2 Shell Commands
      commands, simple3.2.1 Simple Commands
      comments, shell3.1.3 Comments
      completion builtins8.7 Programmable Completion Builtins
      configuration10.1 Basic Installation
      control operator2. Definitions
      coprocess3.2.5 Coprocesses

      D
      directory stack6.8 The Directory Stack

      E
      editing command lines8.2.1 Readline Bare Essentials
      environment3.7.4 Environment
      evaluation, arithmetic6.5 Shell Arithmetic
      event designators9.3.1 Event Designators
      execution environment3.7.3 Command Execution Environment
      exit status2. Definitions
      exit status3.7.5 Exit Status
      expansion3.5 Shell Expansions
      expansion, arithmetic3.5.5 Arithmetic Expansion
      expansion, brace3.5.1 Brace Expansion
      expansion, filename3.5.8 Filename Expansion
      expansion, parameter3.5.3 Shell Parameter Expansion
      expansion, pathname3.5.8 Filename Expansion
      expansion, tilde3.5.2 Tilde Expansion
      expressions, arithmetic6.5 Shell Arithmetic
      expressions, conditional6.4 Bash Conditional Expressions

      F
      field2. Definitions
      filename2. Definitions
      filename expansion3.5.8 Filename Expansion
      foreground7.1 Job Control Basics
      functions, shell3.3 Shell Functions

      H
      history builtins9.2 Bash History Builtins
      history events9.3.1 Event Designators
      history expansion9.3 History Expansion
      history list9.1 Bash History Facilities
      History, how to use8.8 A Programmable Completion Example

      I
      identifier2. Definitions
      initialization file, readline8.3 Readline Init File
      installation10.1 Basic Installation
      interaction, readline8.2 Readline Interaction
      interactive shell6.1 Invoking Bash
      interactive shell6.3 Interactive Shells
      internationalization3.1.2.5 Locale-Specific Translation

      J
      job2. Definitions
      job control2. Definitions
      job control7.1 Job Control Basics

      K
      kill ring8.2.3 Readline Killing Commands
      killing text8.2.3 Readline Killing Commands

      L
      localization3.1.2.5 Locale-Specific Translation
      login shell6.1 Invoking Bash

      M
      matching, pattern3.5.8.1 Pattern Matching
      metacharacter2. Definitions

      N
      name2. Definitions
      native languages3.1.2.5 Locale-Specific Translation
      notation, readline8.2.1 Readline Bare Essentials

      O
      operator, shell2. Definitions

      P
      parameter expansion3.5.3 Shell Parameter Expansion
      parameters3.4 Shell Parameters
      parameters, positional3.4.1 Positional Parameters
      parameters, special3.4.2 Special Parameters
      pathname expansion3.5.8 Filename Expansion
      pattern matching3.5.8.1 Pattern Matching
      pipeline3.2.2 Pipelines
      POSIX2. Definitions
      POSIX Mode6.11 Bash POSIX Mode
      process group2. Definitions
      process group ID2. Definitions
      process substitution3.5.6 Process Substitution
      programmable completion8.6 Programmable Completion
      prompting6.9 Controlling the Prompt

      Q
      quoting3.1.2 Quoting
      quoting, ANSI3.1.2.4 ANSI-C Quoting

      R
      Readline, how to use7.3 Job Control Variables
      redirection3.6 Redirections
      reserved word2. Definitions
      restricted shell6.10 The Restricted Shell
      return status2. Definitions

      S
      shell arithmetic6.5 Shell Arithmetic
      shell function3.3 Shell Functions
      shell script3.8 Shell Scripts
      shell variable3.4 Shell Parameters
      shell, interactive6.3 Interactive Shells
      signal2. Definitions
      signal handling3.7.6 Signals
      special builtin2. Definitions
      special builtin4.4 Special Builtins
      startup files6.2 Bash Startup Files
      suspending jobs7.1 Job Control Basics

      T
      tilde expansion3.5.2 Tilde Expansion
      token2. Definitions
      translation, native languages3.1.2.5 Locale-Specific Translation

      V
      variable, shell3.4 Shell Parameters
      variables, readline8.3.1 Readline Init File Syntax

      W
      word2. Definitions
      word splitting3.5.7 Word Splitting

      Y
      yanking text8.2.3 Readline Killing Commands

      Jump to:   A +
      +A   -B +B   -C +C   -D +D   -E +E   -F +F   -H +G   -I +H   -J +I   -K +K   -L +L   -M +M   -N +O   -O +P   -P +R   -Q +S   -R +T   -S +U   -T +V   -V +
      + +
      + +
      +

      +Next: , Previous: , Up: Indexes   [Contents][Index]

      +
      + +

      D.4 Function Index

      +
      Jump to:   A   -W +B   -Y +C   -

      - -


      - - - - - - -
      [Top][Contents][Index][ ? ]
      -

      Table of Contents

      - -
      - - - - - - -
      [Top][Contents][Index][ ? ]
      -

      Short Table of Contents

      -
      -1. Introduction -
      -2. Definitions -
      -3. Basic Shell Features -
      -4. Shell Builtin Commands -
      -5. Shell Variables -
      -6. Bash Features -
      -7. Job Control -
      -8. Command Line Editing -
      -9. Using History Interactively -
      -10. Installing Bash -
      -A. Reporting Bugs -
      -B. Major Differences From The Bourne Shell -
      -C. GNU Free Documentation License -
      -D. Indexes -
      - -
      -
      - - - - - - -
      [Top][Contents][Index][ ? ]
      -

      About this document

      -This document was generated by Chet Ramey on February, 24 2014 -using texi2html -

      -The buttons in the navigation panels have the following meaning: -

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Button Name Go to From 1.2.3 go to
      - [ < ] -Back - -previous section in reading order - -1.2.2 -
      - [ > ] -Forward - -next section in reading order - -1.2.4 -
      - [ << ] -FastBack - -previous or up-and-previous section - -1.1 -
      - [ Up ] -Up - -up section - -1.2 -
      - [ >> ] -FastForward - -next or up-and-next section - -1.3 -
      - [Top] -Top - -cover (top) of document - +D   -
      - [Contents] -Contents - -table of contents - +E   -
      - [Index] -Index - -concept index - +F   -
      - [ ? ] -About - -this page - +G   -
      -

      -where the Example assumes that the current position -is at Subsubsection One-Two-Three of a document of -the following structure: -
        -
      • 1. Section One
      • -
          -
        • 1.1 Subsection One-One
        • -
            -
          • ...
          • -
          -
        • 1.2 Subsection One-Two
        • -
            -
          • 1.2.1 Subsubsection One-Two-One -
          • 1.2.2 Subsubsection One-Two-Two -
          • 1.2.3 Subsubsection One-Two-Three     -<== Current Position -
          • 1.2.4 Subsubsection One-Two-Four -
          -
        • 1.3 Subsection One-Three
        • -
            -
          • ...
          • -
          -
        • 1.4 Subsection One-Four
        • -
        -
      - -
      -
      - -This document was generated -by Chet Ramey on February, 24 2014 -using texi2html - - - +H +   +I +   +K +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +Y +   +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Index Entry  Section

      A
      abort (C-g): Miscellaneous Commands
      accept-line (Newline or Return): Commands For History
      alias-expand-line (): Miscellaneous Commands

      B
      backward-char (C-b): Commands For Moving
      backward-delete-char (Rubout): Commands For Text
      backward-kill-line (C-x Rubout): Commands For Killing
      backward-kill-word (M-DEL): Commands For Killing
      backward-word (M-b): Commands For Moving
      beginning-of-history (M-<): Commands For History
      beginning-of-line (C-a): Commands For Moving
      bracketed-paste-begin (): Commands For Text

      C
      call-last-kbd-macro (C-x e): Keyboard Macros
      capitalize-word (M-c): Commands For Text
      character-search (C-]): Miscellaneous Commands
      character-search-backward (M-C-]): Miscellaneous Commands
      clear-screen (C-l): Commands For Moving
      complete (TAB): Commands For Completion
      complete-command (M-!): Commands For Completion
      complete-filename (M-/): Commands For Completion
      complete-hostname (M-@): Commands For Completion
      complete-into-braces (M-{): Commands For Completion
      complete-username (M-~): Commands For Completion
      complete-variable (M-$): Commands For Completion
      copy-backward-word (): Commands For Killing
      copy-forward-word (): Commands For Killing
      copy-region-as-kill (): Commands For Killing

      D
      dabbrev-expand (): Commands For Completion
      delete-char (C-d): Commands For Text
      delete-char-or-list (): Commands For Completion
      delete-horizontal-space (): Commands For Killing
      digit-argument (M-0, M-1, … M--): Numeric Arguments
      display-shell-version (C-x C-v): Miscellaneous Commands
      do-uppercase-version (M-a, M-b, M-x, …): Miscellaneous Commands
      downcase-word (M-l): Commands For Text
      dump-functions (): Miscellaneous Commands
      dump-macros (): Miscellaneous Commands
      dump-variables (): Miscellaneous Commands
      dynamic-complete-history (M-TAB): Commands For Completion

      E
      edit-and-execute-command (C-xC-e): Miscellaneous Commands
      end-kbd-macro (C-x )): Keyboard Macros
      end-of-file (usually C-d): Commands For Text
      end-of-history (M->): Commands For History
      end-of-line (C-e): Commands For Moving
      exchange-point-and-mark (C-x C-x): Miscellaneous Commands

      F
      forward-backward-delete-char (): Commands For Text
      forward-char (C-f): Commands For Moving
      forward-search-history (C-s): Commands For History
      forward-word (M-f): Commands For Moving

      G
      glob-complete-word (M-g): Miscellaneous Commands
      glob-expand-word (C-x *): Miscellaneous Commands
      glob-list-expansions (C-x g): Miscellaneous Commands

      H
      history-and-alias-expand-line (): Miscellaneous Commands
      history-expand-line (M-^): Miscellaneous Commands
      history-search-backward (): Commands For History
      history-search-forward (): Commands For History
      history-substr-search-backward (): Commands For History
      history-substr-search-forward (): Commands For History

      I
      insert-comment (M-#): Miscellaneous Commands
      insert-completions (M-*): Commands For Completion
      insert-last-argument (M-. or M-_): Miscellaneous Commands

      K
      kill-line (C-k): Commands For Killing
      kill-region (): Commands For Killing
      kill-whole-line (): Commands For Killing
      kill-word (M-d): Commands For Killing

      M
      magic-space (): Miscellaneous Commands
      menu-complete (): Commands For Completion
      menu-complete-backward (): Commands For Completion

      N
      next-history (C-n): Commands For History
      non-incremental-forward-search-history (M-n): Commands For History
      non-incremental-reverse-search-history (M-p): Commands For History

      O
      operate-and-get-next (C-o): Miscellaneous Commands
      overwrite-mode (): Commands For Text

      P
      possible-command-completions (C-x !): Commands For Completion
      possible-completions (M-?): Commands For Completion
      possible-filename-completions (C-x /): Commands For Completion
      possible-hostname-completions (C-x @): Commands For Completion
      possible-username-completions (C-x ~): Commands For Completion
      possible-variable-completions (C-x $): Commands For Completion
      prefix-meta (ESC): Miscellaneous Commands
      previous-history (C-p): Commands For History
      print-last-kbd-macro (): Keyboard Macros

      Q
      quoted-insert (C-q or C-v): Commands For Text

      R
      re-read-init-file (C-x C-r): Miscellaneous Commands
      redraw-current-line (): Commands For Moving
      reverse-search-history (C-r): Commands For History
      revert-line (M-r): Miscellaneous Commands

      S
      self-insert (a, b, A, 1, !, …): Commands For Text
      set-mark (C-@): Miscellaneous Commands
      shell-backward-kill-word (): Commands For Killing
      shell-backward-word (): Commands For Moving
      shell-expand-line (M-C-e): Miscellaneous Commands
      shell-forward-word (): Commands For Moving
      shell-kill-word (): Commands For Killing
      skip-csi-sequence (): Miscellaneous Commands
      start-kbd-macro (C-x (): Keyboard Macros

      T
      tilde-expand (M-&): Miscellaneous Commands
      transpose-chars (C-t): Commands For Text
      transpose-words (M-t): Commands For Text

      U
      undo (C-_ or C-x C-u): Miscellaneous Commands
      universal-argument (): Numeric Arguments
      unix-filename-rubout (): Commands For Killing
      unix-line-discard (C-u): Commands For Killing
      unix-word-rubout (C-w): Commands For Killing
      upcase-word (M-u): Commands For Text

      Y
      yank (C-y): Commands For Killing
      yank-last-arg (M-. or M-_): Commands For History
      yank-nth-arg (M-C-y): Commands For History
      yank-pop (M-y): Commands For Killing

      +
      Jump to:   A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +I +   +K +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +Y +   +
      + +
      + +
      +

      +Previous: , Up: Indexes   [Contents][Index]

      +
      + +

      D.5 Concept Index

      +
      Jump to:   A +   +B +   +C +   +D +   +E +   +F +   +H +   +I +   +J +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +V +   +W +   +Y +   +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Index Entry  Section

      A
      alias expansion: Aliases
      arithmetic evaluation: Shell Arithmetic
      arithmetic expansion: Arithmetic Expansion
      arithmetic, shell: Shell Arithmetic
      arrays: Arrays

      B
      background: Job Control Basics
      Bash configuration: Basic Installation
      Bash installation: Basic Installation
      Bourne shell: Basic Shell Features
      brace expansion: Brace Expansion
      builtin: Definitions

      C
      command editing: Readline Bare Essentials
      command execution: Command Search and Execution
      command expansion: Simple Command Expansion
      command history: Bash History Facilities
      command search: Command Search and Execution
      command substitution: Command Substitution
      command timing: Pipelines
      commands, compound: Compound Commands
      commands, conditional: Conditional Constructs
      commands, grouping: Command Grouping
      commands, lists: Lists
      commands, looping: Looping Constructs
      commands, pipelines: Pipelines
      commands, shell: Shell Commands
      commands, simple: Simple Commands
      comments, shell: Comments
      completion builtins: Programmable Completion Builtins
      configuration: Basic Installation
      control operator: Definitions
      coprocess: Coprocesses

      D
      directory stack: The Directory Stack

      E
      editing command lines: Readline Bare Essentials
      environment: Environment
      evaluation, arithmetic: Shell Arithmetic
      event designators: Event Designators
      execution environment: Command Execution Environment
      exit status: Definitions
      exit status: Exit Status
      expansion: Shell Expansions
      expansion, arithmetic: Arithmetic Expansion
      expansion, brace: Brace Expansion
      expansion, filename: Filename Expansion
      expansion, parameter: Shell Parameter Expansion
      expansion, pathname: Filename Expansion
      expansion, tilde: Tilde Expansion
      expressions, arithmetic: Shell Arithmetic
      expressions, conditional: Bash Conditional Expressions

      F
      field: Definitions
      filename: Definitions
      filename expansion: Filename Expansion
      foreground: Job Control Basics
      functions, shell: Shell Functions

      H
      history builtins: Bash History Builtins
      history events: Event Designators
      history expansion: History Interaction
      history list: Bash History Facilities
      History, how to use: A Programmable Completion Example

      I
      identifier: Definitions
      initialization file, readline: Readline Init File
      installation: Basic Installation
      interaction, readline: Readline Interaction
      interactive shell: Invoking Bash
      interactive shell: Interactive Shells
      internationalization: Locale Translation

      J
      job: Definitions
      job control: Definitions
      job control: Job Control Basics

      K
      kill ring: Readline Killing Commands
      killing text: Readline Killing Commands

      L
      localization: Locale Translation
      login shell: Invoking Bash

      M
      matching, pattern: Pattern Matching
      metacharacter: Definitions

      N
      name: Definitions
      native languages: Locale Translation
      notation, readline: Readline Bare Essentials

      O
      operator, shell: Definitions

      P
      parameter expansion: Shell Parameter Expansion
      parameters: Shell Parameters
      parameters, positional: Positional Parameters
      parameters, special: Special Parameters
      pathname expansion: Filename Expansion
      pattern matching: Pattern Matching
      pipeline: Pipelines
      POSIX: Definitions
      POSIX Mode: Bash POSIX Mode
      process group: Definitions
      process group ID: Definitions
      process substitution: Process Substitution
      programmable completion: Programmable Completion
      prompting: Controlling the Prompt

      Q
      quoting: Quoting
      quoting, ANSI: ANSI-C Quoting

      R
      Readline, how to use: Job Control Variables
      redirection: Redirections
      reserved word: Definitions
      restricted shell: The Restricted Shell
      return status: Definitions

      S
      shell arithmetic: Shell Arithmetic
      shell function: Shell Functions
      shell script: Shell Scripts
      shell variable: Shell Parameters
      shell, interactive: Interactive Shells
      signal: Definitions
      signal handling: Signals
      special builtin: Definitions
      special builtin: Special Builtins
      startup files: Bash Startup Files
      suspending jobs: Job Control Basics

      T
      tilde expansion: Tilde Expansion
      token: Definitions
      translation, native languages: Locale Translation

      V
      variable, shell: Shell Parameters
      variables, readline: Readline Init File Syntax

      W
      word: Definitions
      word splitting: Word Splitting

      Y
      yanking text: Readline Killing Commands

      +
      Jump to:   A +   +B +   +C +   +D +   +E +   +F +   +H +   +I +   +J +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +V +   +W +   +Y +   +
      + +
      + + + + + diff --git a/doc/bashref.info b/doc/bashref.info index 6f60af1c1..28b061096 100644 --- a/doc/bashref.info +++ b/doc/bashref.info @@ -1,13 +1,13 @@ -This is bashref.info, produced by makeinfo version 4.13 from -/usr/homes/chet/src/bash/src/doc/bashref.texi. +This is bashref.info, produced by makeinfo version 6.1 from +bashref.texi. -This text is a brief description of the features that are present in -the Bash shell (version 4.3, 2 February 2014). +This text is a brief description of the features that are present in the +Bash shell (version 4.4, 7 September 2016). - This is Edition 4.3, last updated 2 February 2014, of `The GNU Bash -Reference Manual', for `Bash', Version 4.3. + This is Edition 4.4, last updated 7 September 2016, of 'The GNU Bash +Reference Manual', for 'Bash', Version 4.4. - Copyright (C) 1988-2014 Free Software Foundation, Inc. + Copyright (C) 1988-2016 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, @@ -15,7 +15,6 @@ Reference Manual', for `Bash', Version 4.3. Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". - INFO-DIR-SECTION Basics START-INFO-DIR-ENTRY * Bash: (bash). The GNU Bourne-Again SHell. @@ -27,17 +26,17 @@ File: bashref.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir) Bash Features ************* -This text is a brief description of the features that are present in -the Bash shell (version 4.3, 2 February 2014). The Bash home page is -`http://www.gnu.org/software/bash/'. +This text is a brief description of the features that are present in the +Bash shell (version 4.4, 7 September 2016). The Bash home page is +. - This is Edition 4.3, last updated 2 February 2014, of `The GNU Bash -Reference Manual', for `Bash', Version 4.3. + This is Edition 4.4, last updated 7 September 2016, of 'The GNU Bash +Reference Manual', for 'Bash', Version 4.4. Bash contains features that appear in other popular shells, and some features that only appear in Bash. Some of the shells that Bash has -borrowed concepts from are the Bourne Shell (`sh'), the Korn Shell -(`ksh'), and the C-shell (`csh' and its successor, `tcsh'). The +borrowed concepts from are the Bourne Shell ('sh'), the Korn Shell +('ksh'), and the C-shell ('csh' and its successor, 'tcsh'). The following menu breaks the features up into categories, noting which features were inspired by other shells and which are specific to Bash. @@ -68,7 +67,7 @@ on shell behavior. * Indexes:: Various indexes for this manual.  -File: bashref.info, Node: Introduction, Next: Definitions, Prev: Top, Up: Top +File: bashref.info, Node: Introduction, Next: Definitions, Up: Top 1 Introduction ************** @@ -85,20 +84,20 @@ File: bashref.info, Node: What is Bash?, Next: What is a shell?, Up: Introduc ================= Bash is the shell, or command language interpreter, for the GNU -operating system. The name is an acronym for the `Bourne-Again SHell', +operating system. The name is an acronym for the 'Bourne-Again SHell', a pun on Stephen Bourne, the author of the direct ancestor of the -current Unix shell `sh', which appeared in the Seventh Edition Bell -Labs Research version of Unix. +current Unix shell 'sh', which appeared in the Seventh Edition Bell Labs +Research version of Unix. - Bash is largely compatible with `sh' and incorporates useful -features from the Korn shell `ksh' and the C shell `csh'. It is -intended to be a conformant implementation of the IEEE POSIX Shell and -Tools portion of the IEEE POSIX specification (IEEE Standard 1003.1). -It offers functional improvements over `sh' for both interactive and -programming use. + Bash is largely compatible with 'sh' and incorporates useful features +from the Korn shell 'ksh' and the C shell 'csh'. It is intended to be a +conformant implementation of the IEEE POSIX Shell and Tools portion of +the IEEE POSIX specification (IEEE Standard 1003.1). It offers +functional improvements over 'sh' for both interactive and programming +use. While the GNU operating system provides other shells, including a -version of `csh', Bash is the default shell. Like other GNU software, +version of 'csh', Bash is the default shell. Like other GNU software, Bash is quite portable. It currently runs on nearly every version of Unix and a few other operating systems - independently-supported ports exist for MS-DOS, OS/2, and Windows platforms. @@ -109,9 +108,9 @@ File: bashref.info, Node: What is a shell?, Prev: What is Bash?, Up: Introduc 1.2 What is a shell? ==================== -At its base, a shell is simply a macro processor that executes -commands. The term macro processor means functionality where text and -symbols are expanded to create larger expressions. +At its base, a shell is simply a macro processor that executes commands. +The term macro processor means functionality where text and symbols are +expanded to create larger expressions. A Unix shell is both a command interpreter and a programming language. As a command interpreter, the shell provides the user @@ -119,7 +118,7 @@ interface to the rich set of GNU utilities. The programming language features allow these utilities to be combined. Files containing commands can be created, and become commands themselves. These new commands have the same status as system commands in directories such as -`/bin', allowing users or groups to establish custom environments to +'/bin', allowing users or groups to establish custom environments to automate their common tasks. Shells may be used interactively or non-interactively. In @@ -136,17 +135,17 @@ control over the contents of commands' environments. Shells also provide a small set of built-in commands ("builtins") implementing functionality impossible or inconvenient to obtain via -separate utilities. For example, `cd', `break', `continue', and `exec' +separate utilities. For example, 'cd', 'break', 'continue', and 'exec' cannot be implemented outside of the shell because they directly -manipulate the shell itself. The `history', `getopts', `kill', or `pwd' +manipulate the shell itself. The 'history', 'getopts', 'kill', or 'pwd' builtins, among others, could be implemented in separate utilities, but they are more convenient to use as builtin commands. All of the shell builtins are described in subsequent sections. While executing commands is essential, most of the power (and complexity) of shells is due to their embedded programming languages. -Like any high-level language, the shell provides variables, flow -control constructs, quoting, and functions. +Like any high-level language, the shell provides variables, flow control +constructs, quoting, and functions. Shells offer features geared specifically for interactive use rather than to augment the programming language. These interactive features @@ -161,90 +160,90 @@ File: bashref.info, Node: Definitions, Next: Basic Shell Features, Prev: Intr These definitions are used throughout the remainder of this manual. -`POSIX' - A family of open system standards based on Unix. Bash is - primarily concerned with the Shell and Utilities portion of the - POSIX 1003.1 standard. +'POSIX' + A family of open system standards based on Unix. Bash is primarily + concerned with the Shell and Utilities portion of the POSIX 1003.1 + standard. -`blank' +'blank' A space or tab character. -`builtin' +'builtin' A command that is implemented internally by the shell itself, rather than by an executable program somewhere in the file system. -`control operator' - A `token' that performs a control function. It is a `newline' or - one of the following: `||', `&&', `&', `;', `;;', `|', `|&', `(', - or `)'. +'control operator' + A 'token' that performs a control function. It is a 'newline' or + one of the following: '||', '&&', '&', ';', ';;', ';&', ';;&', '|', + '|&', '(', or ')'. -`exit status' +'exit status' The value returned by a command to its caller. The value is restricted to eight bits, so the maximum value is 255. -`field' +'field' A unit of text that is the result of one of the shell expansions. - After expansion, when executing a command, the resulting fields - are used as the command name and arguments. + After expansion, when executing a command, the resulting fields are + used as the command name and arguments. -`filename' +'filename' A string of characters used to identify a file. -`job' +'job' A set of processes comprising a pipeline, and any processes descended from it, that are all in the same process group. -`job control' +'job control' A mechanism by which users can selectively stop (suspend) and restart (resume) execution of processes. -`metacharacter' +'metacharacter' A character that, when unquoted, separates words. A metacharacter - is a `blank' or one of the following characters: `|', `&', `;', - `(', `)', `<', or `>'. + is a 'space', 'tab', 'newline', or one of the following characters: + '|', '&', ';', '(', ')', '<', or '>'. -`name' - A `word' consisting solely of letters, numbers, and underscores, - and beginning with a letter or underscore. `Name's are used as +'name' + A 'word' consisting solely of letters, numbers, and underscores, + and beginning with a letter or underscore. 'Name's are used as shell variable and function names. Also referred to as an - `identifier'. + 'identifier'. -`operator' - A `control operator' or a `redirection operator'. *Note +'operator' + A 'control operator' or a 'redirection operator'. *Note Redirections::, for a list of redirection operators. Operators - contain at least one unquoted `metacharacter'. + contain at least one unquoted 'metacharacter'. -`process group' +'process group' A collection of related processes each having the same process group ID. -`process group ID' - A unique identifier that represents a `process group' during its +'process group ID' + A unique identifier that represents a 'process group' during its lifetime. -`reserved word' - A `word' that has a special meaning to the shell. Most reserved - words introduce shell flow control constructs, such as `for' and - `while'. +'reserved word' + A 'word' that has a special meaning to the shell. Most reserved + words introduce shell flow control constructs, such as 'for' and + 'while'. -`return status' - A synonym for `exit status'. +'return status' + A synonym for 'exit status'. -`signal' +'signal' A mechanism by which a process may be notified by the kernel of an event occurring in the system. -`special builtin' +'special builtin' A shell builtin command that has been classified as special by the POSIX standard. -`token' - A sequence of characters considered a single unit by the shell. - It is either a `word' or an `operator'. +'token' + A sequence of characters considered a single unit by the shell. It + is either a 'word' or an 'operator'. -`word' - A sequence of characters treated as a unit by the shell. Words - may not include unquoted `metacharacters'. +'word' + A sequence of characters treated as a unit by the shell. Words may + not include unquoted 'metacharacters'.  File: bashref.info, Node: Basic Shell Features, Next: Shell Builtin Commands, Prev: Definitions, Up: Top @@ -252,13 +251,13 @@ File: bashref.info, Node: Basic Shell Features, Next: Shell Builtin Commands, 3 Basic Shell Features ********************** -Bash is an acronym for `Bourne-Again SHell'. The Bourne shell is the -traditional Unix shell originally written by Stephen Bourne. All of -the Bourne shell builtin commands are available in Bash, The rules for +Bash is an acronym for 'Bourne-Again SHell'. The Bourne shell is the +traditional Unix shell originally written by Stephen Bourne. All of the +Bourne shell builtin commands are available in Bash, The rules for evaluation and quoting are taken from the POSIX specification for the -`standard' Unix shell. +'standard' Unix shell. - This chapter briefly summarizes the shell's `building blocks': + This chapter briefly summarizes the shell's 'building blocks': commands, control structures, shell functions, shell parameters, shell expansions, redirections, which are a way to direct input and output from and to named files, and how the shell executes commands. @@ -287,11 +286,11 @@ File: bashref.info, Node: Shell Syntax, Next: Shell Commands, Up: Basic Shell * Quoting:: How to remove the special meaning from characters. * Comments:: How to specify comments. - When the shell reads input, it proceeds through a sequence of +When the shell reads input, it proceeds through a sequence of operations. If the input indicates the beginning of a comment, the -shell ignores the comment symbol (`#'), and the rest of that line. +shell ignores the comment symbol ('#'), and the rest of that line. - Otherwise, roughly speaking, the shell reads its input and divides + Otherwise, roughly speaking, the shell reads its input and divides the input into words and operators, employing the quoting rules to select which meanings to assign various words and characters. @@ -311,13 +310,13 @@ The following is a brief description of the shell's operation when it reads and executes a command. Basically, the shell does the following: 1. Reads its input from a file (*note Shell Scripts::), from a string - supplied as an argument to the `-c' invocation option (*note + supplied as an argument to the '-c' invocation option (*note Invoking Bash::), or from the user's terminal. 2. Breaks the input into words and operators, obeying the quoting rules described in *note Quoting::. These tokens are separated by - `metacharacters'. Alias expansion is performed by this step - (*note Aliases::). + 'metacharacters'. Alias expansion is performed by this step (*note + Aliases::). 3. Parses the tokens into simple and compound commands (*note Shell Commands::). @@ -335,7 +334,6 @@ reads and executes a command. Basically, the shell does the following: 7. Optionally waits for the command to complete and collects its exit status (*note Exit Status::). -  File: bashref.info, Node: Quoting, Next: Comments, Prev: Shell Operation, Up: Shell Syntax @@ -353,15 +351,15 @@ File: bashref.info, Node: Quoting, Next: Comments, Prev: Shell Operation, Up * ANSI-C Quoting:: How to expand ANSI-C sequences in quoted strings. * Locale Translation:: How to translate strings into different languages. - Quoting is used to remove the special meaning of certain characters -or words to the shell. Quoting can be used to disable special -treatment for special characters, to prevent reserved words from being -recognized as such, and to prevent parameter expansion. +Quoting is used to remove the special meaning of certain characters or +words to the shell. Quoting can be used to disable special treatment +for special characters, to prevent reserved words from being recognized +as such, and to prevent parameter expansion. Each of the shell metacharacters (*note Definitions::) has special meaning to the shell and must be quoted if it is to represent itself. When the command history expansion facilities are being used (*note -History Interaction::), the HISTORY EXPANSION character, usually `!', +History Interaction::), the HISTORY EXPANSION character, usually '!', must be quoted to prevent history expansion. *Note Bash History Facilities::, for more details concerning history expansion. @@ -374,12 +372,11 @@ File: bashref.info, Node: Escape Character, Next: Single Quotes, Up: Quoting 3.1.2.1 Escape Character ........................ -A non-quoted backslash `\' is the Bash escape character. It preserves -the literal value of the next character that follows, with the -exception of `newline'. If a `\newline' pair appears, and the -backslash itself is not quoted, the `\newline' is treated as a line -continuation (that is, it is removed from the input stream and -effectively ignored). +A non-quoted backslash '\' is the Bash escape character. It preserves +the literal value of the next character that follows, with the exception +of 'newline'. If a '\newline' pair appears, and the backslash itself is +not quoted, the '\newline' is treated as a line continuation (that is, +it is removed from the input stream and effectively ignored).  File: bashref.info, Node: Single Quotes, Next: Double Quotes, Prev: Escape Character, Up: Quoting @@ -387,7 +384,7 @@ File: bashref.info, Node: Single Quotes, Next: Double Quotes, Prev: Escape Ch 3.1.2.2 Single Quotes ..................... -Enclosing characters in single quotes (`'') preserves the literal value +Enclosing characters in single quotes (''') preserves the literal value of each character within the quotes. A single quote may not occur between single quotes, even when preceded by a backslash. @@ -397,21 +394,23 @@ File: bashref.info, Node: Double Quotes, Next: ANSI-C Quoting, Prev: Single Q 3.1.2.3 Double Quotes ..................... -Enclosing characters in double quotes (`"') preserves the literal value -of all characters within the quotes, with the exception of `$', ``', -`\', and, when history expansion is enabled, `!'. The characters `$' -and ``' retain their special meaning within double quotes (*note Shell -Expansions::). The backslash retains its special meaning only when -followed by one of the following characters: `$', ``', `"', `\', or -`newline'. Within double quotes, backslashes that are followed by one -of these characters are removed. Backslashes preceding characters -without a special meaning are left unmodified. A double quote may be -quoted within double quotes by preceding it with a backslash. If -enabled, history expansion will be performed unless an `!' appearing in -double quotes is escaped using a backslash. The backslash preceding -the `!' is not removed. - - The special parameters `*' and `@' have special meaning when in +Enclosing characters in double quotes ('"') preserves the literal value +of all characters within the quotes, with the exception of '$', '`', +'\', and, when history expansion is enabled, '!'. When the shell is in +POSIX mode (*note Bash POSIX Mode::), the '!' has no special meaning +within double quotes, even when history expansion is enabled. The +characters '$' and '`' retain their special meaning within double quotes +(*note Shell Expansions::). The backslash retains its special meaning +only when followed by one of the following characters: '$', '`', '"', +'\', or 'newline'. Within double quotes, backslashes that are followed +by one of these characters are removed. Backslashes preceding +characters without a special meaning are left unmodified. A double +quote may be quoted within double quotes by preceding it with a +backslash. If enabled, history expansion will be performed unless an +'!' appearing in double quotes is escaped using a backslash. The +backslash preceding the '!' is not removed. + + The special parameters '*' and '@' have special meaning when in double quotes (*note Shell Parameter Expansion::).  @@ -420,66 +419,53 @@ File: bashref.info, Node: ANSI-C Quoting, Next: Locale Translation, Prev: Dou 3.1.2.4 ANSI-C Quoting ...................... -Words of the form `$'STRING'' are treated specially. The word expands +Words of the form '$'STRING'' are treated specially. The word expands to STRING, with backslash-escaped characters replaced as specified by the ANSI C standard. Backslash escape sequences, if present, are decoded as follows: -`\a' +'\a' alert (bell) - -`\b' +'\b' backspace - -`\e' -`\E' +'\e' +'\E' an escape character (not ANSI C) - -`\f' +'\f' form feed - -`\n' +'\n' newline - -`\r' +'\r' carriage return - -`\t' +'\t' horizontal tab - -`\v' +'\v' vertical tab - -`\\' +'\\' backslash - -`\'' +'\'' single quote - -`\"' +'\"' double quote - -`\NNN' +'\?' + question mark +'\NNN' the eight-bit character whose value is the octal value NNN (one to three digits) - -`\xHH' +'\xHH' the eight-bit character whose value is the hexadecimal value HH (one or two hex digits) - -`\uHHHH' +'\uHHHH' the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value HHHH (one to four hex digits) - -`\UHHHHHHHH' +'\UHHHHHHHH' the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value HHHHHHHH (one to eight hex digits) - -`\cX' +'\cX' a control-X character -The expanded result is single-quoted, as if the dollar sign had not -been present. +The expanded result is single-quoted, as if the dollar sign had not been +present.  File: bashref.info, Node: Locale Translation, Prev: ANSI-C Quoting, Up: Quoting @@ -487,18 +473,18 @@ File: bashref.info, Node: Locale Translation, Prev: ANSI-C Quoting, Up: Quoti 3.1.2.5 Locale-Specific Translation ................................... -A double-quoted string preceded by a dollar sign (`$') will cause the -string to be translated according to the current locale. If the -current locale is `C' or `POSIX', the dollar sign is ignored. If the -string is translated and replaced, the replacement is double-quoted. +A double-quoted string preceded by a dollar sign ('$') will cause the +string to be translated according to the current locale. If the current +locale is 'C' or 'POSIX', the dollar sign is ignored. If the string is +translated and replaced, the replacement is double-quoted. - Some systems use the message catalog selected by the `LC_MESSAGES' + Some systems use the message catalog selected by the 'LC_MESSAGES' shell variable. Others create the name of the message catalog from the -value of the `TEXTDOMAIN' shell variable, possibly adding a suffix of -`.mo'. If you use the `TEXTDOMAIN' variable, you may need to set the -`TEXTDOMAINDIR' variable to the location of the message catalog files. +value of the 'TEXTDOMAIN' shell variable, possibly adding a suffix of +'.mo'. If you use the 'TEXTDOMAIN' variable, you may need to set the +'TEXTDOMAINDIR' variable to the location of the message catalog files. Still others use both variables in this fashion: -`TEXTDOMAINDIR'/`LC_MESSAGES'/LC_MESSAGES/`TEXTDOMAIN'.mo. +'TEXTDOMAINDIR'/'LC_MESSAGES'/LC_MESSAGES/'TEXTDOMAIN'.mo.  File: bashref.info, Node: Comments, Prev: Quoting, Up: Shell Syntax @@ -507,11 +493,11 @@ File: bashref.info, Node: Comments, Prev: Quoting, Up: Shell Syntax -------------- In a non-interactive shell, or an interactive shell in which the -`interactive_comments' option to the `shopt' builtin is enabled (*note -The Shopt Builtin::), a word beginning with `#' causes that word and -all remaining characters on that line to be ignored. An interactive -shell without the `interactive_comments' option enabled does not allow -comments. The `interactive_comments' option is on by default in +'interactive_comments' option to the 'shopt' builtin is enabled (*note +The Shopt Builtin::), a word beginning with '#' causes that word and all +remaining characters on that line to be ignored. An interactive shell +without the 'interactive_comments' option enabled does not allow +comments. The 'interactive_comments' option is on by default in interactive shells. *Note Interactive Shells::, for a description of what makes a shell interactive. @@ -521,7 +507,7 @@ File: bashref.info, Node: Shell Commands, Next: Shell Functions, Prev: Shell 3.2 Shell Commands ================== -A simple shell command such as `echo a b c' consists of the command +A simple shell command such as 'echo a b c' consists of the command itself followed by arguments, separated by spaces. More complex shell commands are composed of simple commands arranged @@ -546,14 +532,14 @@ File: bashref.info, Node: Simple Commands, Next: Pipelines, Up: Shell Command --------------------- A simple command is the kind of command encountered most often. It's -just a sequence of words separated by `blank's, terminated by one of -the shell's control operators (*note Definitions::). The first word -generally specifies a command to be executed, with the rest of the -words being that command's arguments. +just a sequence of words separated by 'blank's, terminated by one of the +shell's control operators (*note Definitions::). The first word +generally specifies a command to be executed, with the rest of the words +being that command's arguments. The return status (*note Exit Status::) of a simple command is its -exit status as provided by the POSIX 1003.1 `waitpid' function, or -128+N if the command was terminated by signal N. +exit status as provided by the POSIX 1003.1 'waitpid' function, or 128+N +if the command was terminated by signal N.  File: bashref.info, Node: Pipelines, Next: Lists, Prev: Simple Commands, Up: Shell Commands @@ -561,40 +547,40 @@ File: bashref.info, Node: Pipelines, Next: Lists, Prev: Simple Commands, Up: 3.2.2 Pipelines --------------- -A `pipeline' is a sequence of simple commands separated by one of the -control operators `|' or `|&'. +A 'pipeline' is a sequence of one or more commands separated by one of +the control operators '|' or '|&'. The format for a pipeline is [time [-p]] [!] COMMAND1 [ | or |& COMMAND2 ] ... The output of each command in the pipeline is connected via a pipe to -the input of the next command. That is, each command reads the -previous command's output. This connection is performed before any -redirections specified by the command. +the input of the next command. That is, each command reads the previous +command's output. This connection is performed before any redirections +specified by the command. - If `|&' is used, COMMAND1's standard error, in addition to its + If '|&' is used, COMMAND1's standard error, in addition to its standard output, is connected to COMMAND2's standard input through the -pipe; it is shorthand for `2>&1 |'. This implicit redirection of the +pipe; it is shorthand for '2>&1 |'. This implicit redirection of the standard error to the standard output is performed after any redirections specified by the command. - The reserved word `time' causes timing statistics to be printed for + The reserved word 'time' causes timing statistics to be printed for the pipeline once it finishes. The statistics currently consist of elapsed (wall-clock) time and user and system time consumed by the -command's execution. The `-p' option changes the output format to that +command's execution. The '-p' option changes the output format to that specified by POSIX. When the shell is in POSIX mode (*note Bash POSIX -Mode::), it does not recognize `time' as a reserved word if the next -token begins with a `-'. The `TIMEFORMAT' variable may be set to a +Mode::), it does not recognize 'time' as a reserved word if the next +token begins with a '-'. The 'TIMEFORMAT' variable may be set to a format string that specifies how the timing information should be displayed. *Note Bash Variables::, for a description of the available -formats. The use of `time' as a reserved word permits the timing of -shell builtins, shell functions, and pipelines. An external `time' +formats. The use of 'time' as a reserved word permits the timing of +shell builtins, shell functions, and pipelines. An external 'time' command cannot time these easily. - When the shell is in POSIX mode (*note Bash POSIX Mode::), `time' -may be followed by a newline. In this case, the shell displays the -total user and system time consumed by the shell and its children. The -`TIMEFORMAT' variable may be used to specify the format of the time + When the shell is in POSIX mode (*note Bash POSIX Mode::), 'time' may +be followed by a newline. In this case, the shell displays the total +user and system time consumed by the shell and its children. The +'TIMEFORMAT' variable may be used to specify the format of the time information. If the pipeline is not executed asynchronously (*note Lists::), the @@ -602,11 +588,11 @@ shell waits for all commands in the pipeline to complete. Each command in a pipeline is executed in its own subshell (*note Command Execution Environment::). The exit status of a pipeline is the -exit status of the last command in the pipeline, unless the `pipefail' -option is enabled (*note The Set Builtin::). If `pipefail' is enabled, +exit status of the last command in the pipeline, unless the 'pipefail' +option is enabled (*note The Set Builtin::). If 'pipefail' is enabled, the pipeline's return status is the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands exit -successfully. If the reserved word `!' precedes the pipeline, the exit +successfully. If the reserved word '!' precedes the pipeline, the exit status is the logical negation of the exit status as described above. The shell waits for all commands in the pipeline to terminate before returning a value. @@ -617,37 +603,37 @@ File: bashref.info, Node: Lists, Next: Compound Commands, Prev: Pipelines, U 3.2.3 Lists of Commands ----------------------- -A `list' is a sequence of one or more pipelines separated by one of the -operators `;', `&', `&&', or `||', and optionally terminated by one of -`;', `&', or a `newline'. +A 'list' is a sequence of one or more pipelines separated by one of the +operators ';', '&', '&&', or '||', and optionally terminated by one of +';', '&', or a 'newline'. - Of these list operators, `&&' and `||' have equal precedence, -followed by `;' and `&', which have equal precedence. + Of these list operators, '&&' and '||' have equal precedence, +followed by ';' and '&', which have equal precedence. - A sequence of one or more newlines may appear in a `list' to delimit + A sequence of one or more newlines may appear in a 'list' to delimit commands, equivalent to a semicolon. - If a command is terminated by the control operator `&', the shell + If a command is terminated by the control operator '&', the shell executes the command asynchronously in a subshell. This is known as executing the command in the BACKGROUND. The shell does not wait for the command to finish, and the return status is 0 (true). When job control is not active (*note Job Control::), the standard input for asynchronous commands, in the absence of any explicit redirections, is -redirected from `/dev/null'. +redirected from '/dev/null'. - Commands separated by a `;' are executed sequentially; the shell + Commands separated by a ';' are executed sequentially; the shell waits for each command to terminate in turn. The return status is the exit status of the last command executed. AND and OR lists are sequences of one or more pipelines separated by -the control operators `&&' and `||', respectively. AND and OR lists -are executed with left associativity. +the control operators '&&' and '||', respectively. AND and OR lists are +executed with left associativity. An AND list has the form COMMAND1 && COMMAND2 -COMMAND2 is executed if, and only if, COMMAND1 returns an exit status -of zero. +COMMAND2 is executed if, and only if, COMMAND1 returns an exit status of +zero. An OR list has the form COMMAND1 || COMMAND2 @@ -670,12 +656,11 @@ File: bashref.info, Node: Compound Commands, Next: Coprocesses, Prev: Lists, * Conditional Constructs:: Shell commands for conditional execution. * Command Grouping:: Ways to group commands. - Compound commands are the shell programming constructs. Each -construct begins with a reserved word or control operator and is -terminated by a corresponding reserved word or operator. Any -redirections (*note Redirections::) associated with a compound command -apply to all commands within that compound command unless explicitly -overridden. +Compound commands are the shell programming constructs. Each construct +begins with a reserved word or control operator and is terminated by a +corresponding reserved word or operator. Any redirections (*note +Redirections::) associated with a compound command apply to all commands +within that compound command unless explicitly overridden. In most cases a list of commands in a compound command's description may be separated from the rest of the command by one or more newlines, @@ -692,11 +677,11 @@ File: bashref.info, Node: Looping Constructs, Next: Conditional Constructs, U Bash supports the following looping constructs. - Note that wherever a `;' appears in the description of a command's + Note that wherever a ';' appears in the description of a command's syntax, it may be replaced with one or more newlines. -`until' - The syntax of the `until' command is: +'until' + The syntax of the 'until' command is: until TEST-COMMANDS; do CONSEQUENT-COMMANDS; done @@ -705,8 +690,8 @@ syntax, it may be replaced with one or more newlines. the last command executed in CONSEQUENT-COMMANDS, or zero if none was executed. -`while' - The syntax of the `while' command is: +'while' + The syntax of the 'while' command is: while TEST-COMMANDS; do CONSEQUENT-COMMANDS; done @@ -715,21 +700,21 @@ syntax, it may be replaced with one or more newlines. command executed in CONSEQUENT-COMMANDS, or zero if none was executed. -`for' - The syntax of the `for' command is: +'for' + The syntax of the 'for' command is: for NAME [ [in [WORDS ...] ] ; ] do COMMANDS; done Expand WORDS, and execute COMMANDS once for each member in the - resultant list, with NAME bound to the current member. If `in - WORDS' is not present, the `for' command executes the COMMANDS - once for each positional parameter that is set, as if `in "$@"' - had been specified (*note Special Parameters::). The return - status is the exit status of the last command that executes. If - there are no items in the expansion of WORDS, no commands are - executed, and the return status is zero. + resultant list, with NAME bound to the current member. If 'in + WORDS' is not present, the 'for' command executes the COMMANDS once + for each positional parameter that is set, as if 'in "$@"' had been + specified (*note Special Parameters::). The return status is the + exit status of the last command that executes. If there are no + items in the expansion of WORDS, no commands are executed, and the + return status is zero. - An alternate form of the `for' command is also supported: + An alternate form of the 'for' command is also supported: for (( EXPR1 ; EXPR2 ; EXPR3 )) ; do COMMANDS ; done @@ -743,7 +728,7 @@ syntax, it may be replaced with one or more newlines. command in COMMANDS that is executed, or false if any of the expressions is invalid. - The `break' and `continue' builtins (*note Bourne Shell Builtins::) + The 'break' and 'continue' builtins (*note Bourne Shell Builtins::) may be used to control loop execution.  @@ -752,8 +737,8 @@ File: bashref.info, Node: Conditional Constructs, Next: Command Grouping, Pre 3.2.4.2 Conditional Constructs .............................. -`if' - The syntax of the `if' command is: +'if' + The syntax of the 'if' command is: if TEST-COMMANDS; then CONSEQUENT-COMMANDS; @@ -764,43 +749,43 @@ File: bashref.info, Node: Conditional Constructs, Next: Command Grouping, Pre The TEST-COMMANDS list is executed, and if its return status is zero, the CONSEQUENT-COMMANDS list is executed. If TEST-COMMANDS - returns a non-zero status, each `elif' list is executed in turn, + returns a non-zero status, each 'elif' list is executed in turn, and if its exit status is zero, the corresponding MORE-CONSEQUENTS - is executed and the command completes. If `else + is executed and the command completes. If 'else ALTERNATE-CONSEQUENTS' is present, and the final command in the - final `if' or `elif' clause has a non-zero exit status, then + final 'if' or 'elif' clause has a non-zero exit status, then ALTERNATE-CONSEQUENTS is executed. The return status is the exit - status of the last command executed, or zero if no condition - tested true. + status of the last command executed, or zero if no condition tested + true. -`case' - The syntax of the `case' command is: +'case' + The syntax of the 'case' command is: case WORD in [ [(] PATTERN [| PATTERN]...) COMMAND-LIST ;;]... esac - `case' will selectively execute the COMMAND-LIST corresponding to - the first PATTERN that matches WORD. If the shell option - `nocasematch' (see the description of `shopt' in *note The Shopt - Builtin::) is enabled, the match is performed without regard to - the case of alphabetic characters. The `|' is used to separate - multiple patterns, and the `)' operator terminates a pattern list. + 'case' will selectively execute the COMMAND-LIST corresponding to + the first PATTERN that matches WORD. If the 'nocasematch' shell + option (see the description of 'shopt' in *note The Shopt + Builtin::) is enabled, the match is performed without regard to the + case of alphabetic characters. The '|' is used to separate + multiple patterns, and the ')' operator terminates a pattern list. A list of patterns and an associated command-list is known as a CLAUSE. - Each clause must be terminated with `;;', `;&', or `;;&'. The - WORD undergoes tilde expansion, parameter expansion, command + Each clause must be terminated with ';;', ';&', or ';;&'. The WORD + undergoes tilde expansion, parameter expansion, command substitution, arithmetic expansion, and quote removal before matching is attempted. Each PATTERN undergoes tilde expansion, parameter expansion, command substitution, and arithmetic expansion. - There may be an arbitrary number of `case' clauses, each terminated - by a `;;', `;&', or `;;&'. The first pattern that matches + There may be an arbitrary number of 'case' clauses, each terminated + by a ';;', ';&', or ';;&'. The first pattern that matches determines the command-list that is executed. It's a common idiom - to use `*' as the final pattern to define the default case, since + to use '*' as the final pattern to define the default case, since that pattern will always match. - Here is an example using `case' in a script that could be used to + Here is an example using 'case' in a script that could be used to describe one interesting feature of an animal: echo -n "Enter the name of an animal: " @@ -813,36 +798,38 @@ File: bashref.info, Node: Conditional Constructs, Next: Command Grouping, Pre esac echo " legs." - If the `;;' operator is used, no subsequent matches are attempted - after the first pattern match. Using `;&' in place of `;;' - causes execution to continue with the COMMAND-LIST associated with - the next clause, if any. Using `;;&' in place of `;;' causes the - shell to test the patterns in the next clause, if any, and execute - any associated COMMAND-LIST on a successful match. + + If the ';;' operator is used, no subsequent matches are attempted + after the first pattern match. Using ';&' in place of ';;' causes + execution to continue with the COMMAND-LIST associated with the + next clause, if any. Using ';;&' in place of ';;' causes the shell + to test the patterns in the next clause, if any, and execute any + associated COMMAND-LIST on a successful match. The return status is zero if no PATTERN is matched. Otherwise, the return status is the exit status of the COMMAND-LIST executed. -`select' - The `select' construct allows the easy generation of menus. It - has almost the same syntax as the `for' command: +'select' + + The 'select' construct allows the easy generation of menus. It has + almost the same syntax as the 'for' command: select NAME [in WORDS ...]; do COMMANDS; done - The list of words following `in' is expanded, generating a list of + The list of words following 'in' is expanded, generating a list of items. The set of expanded words is printed on the standard error - output stream, each preceded by a number. If the `in WORDS' is - omitted, the positional parameters are printed, as if `in "$@"' - had been specified. The `PS3' prompt is then displayed and a line - is read from the standard input. If the line consists of a number - corresponding to one of the displayed words, then the value of - NAME is set to that word. If the line is empty, the words and - prompt are displayed again. If `EOF' is read, the `select' - command completes. Any other value read causes NAME to be set to - null. The line read is saved in the variable `REPLY'. - - The COMMANDS are executed after each selection until a `break' - command is executed, at which point the `select' command completes. + output stream, each preceded by a number. If the 'in WORDS' is + omitted, the positional parameters are printed, as if 'in "$@"' had + been specified. The 'PS3' prompt is then displayed and a line is + read from the standard input. If the line consists of a number + corresponding to one of the displayed words, then the value of NAME + is set to that word. If the line is empty, the words and prompt + are displayed again. If 'EOF' is read, the 'select' command + completes. Any other value read causes NAME to be set to null. + The line read is saved in the variable 'REPLY'. + + The COMMANDS are executed after each selection until a 'break' + command is executed, at which point the 'select' command completes. Here is an example that allows the user to pick a filename from the current directory, and displays the name and index of the file @@ -854,7 +841,7 @@ File: bashref.info, Node: Conditional Constructs, Next: Command Grouping, Pre break; done -`((...))' +'((...))' (( EXPRESSION )) The arithmetic EXPRESSION is evaluated according to the rules @@ -862,88 +849,86 @@ File: bashref.info, Node: Conditional Constructs, Next: Command Grouping, Pre expression is non-zero, the return status is 0; otherwise the return status is 1. This is exactly equivalent to let "EXPRESSION" - *Note Bash Builtins::, for a full description of the `let' builtin. + *Note Bash Builtins::, for a full description of the 'let' builtin. -`[[...]]' +'[[...]]' [[ EXPRESSION ]] Return a status of 0 or 1 depending on the evaluation of the - conditional expression EXPRESSION. Expressions are composed of - the primaries described below in *note Bash Conditional - Expressions::. Word splitting and filename expansion are not - performed on the words between the `[[' and `]]'; tilde expansion, - parameter and variable expansion, arithmetic expansion, command - substitution, process substitution, and quote removal are - performed. Conditional operators such as `-f' must be unquoted to - be recognized as primaries. - - When used with `[[', the `<' and `>' operators sort + conditional expression EXPRESSION. Expressions are composed of the + primaries described below in *note Bash Conditional Expressions::. + Word splitting and filename expansion are not performed on the + words between the '[[' and ']]'; tilde expansion, parameter and + variable expansion, arithmetic expansion, command substitution, + process substitution, and quote removal are performed. Conditional + operators such as '-f' must be unquoted to be recognized as + primaries. + + When used with '[[', the '<' and '>' operators sort lexicographically using the current locale. - When the `==' and `!=' operators are used, the string to the right + When the '==' and '!=' operators are used, the string to the right of the operator is considered a pattern and matched according to the rules described below in *note Pattern Matching::, as if the - `extglob' shell option were enabled. The `=' operator is - identical to `=='. If the shell option `nocasematch' (see the - description of `shopt' in *note The Shopt Builtin::) is enabled, - the match is performed without regard to the case of alphabetic - characters. The return value is 0 if the string matches (`==') or - does not match (`!=')the pattern, and 1 otherwise. Any part of - the pattern may be quoted to force the quoted portion to be - matched as a string. - - An additional binary operator, `=~', is available, with the same - precedence as `==' and `!='. When it is used, the string to the + 'extglob' shell option were enabled. The '=' operator is identical + to '=='. If the 'nocasematch' shell option (see the description of + 'shopt' in *note The Shopt Builtin::) is enabled, the match is + performed without regard to the case of alphabetic characters. The + return value is 0 if the string matches ('==') or does not match + ('!=')the pattern, and 1 otherwise. Any part of the pattern may be + quoted to force the quoted portion to be matched as a string. + + An additional binary operator, '=~', is available, with the same + precedence as '==' and '!='. When it is used, the string to the right of the operator is considered an extended regular expression and matched accordingly (as in regex3)). The return value is 0 if the string matches the pattern, and 1 otherwise. If the regular - expression is syntactically incorrect, the conditional - expression's return value is 2. If the shell option `nocasematch' - (see the description of `shopt' in *note The Shopt Builtin::) is - enabled, the match is performed without regard to the case of - alphabetic characters. Any part of the pattern may be quoted to - force the quoted portion to be matched as a string. Bracket - expressions in regular expressions must be treated carefully, - since normal quoting characters lose their meanings between - brackets. If the pattern is stored in a shell variable, quoting - the variable expansion forces the entire pattern to be matched as - a string. Substrings matched by parenthesized subexpressions - within the regular expression are saved in the array variable - `BASH_REMATCH'. The element of `BASH_REMATCH' with index 0 is the - portion of the string matching the entire regular expression. The - element of `BASH_REMATCH' with index N is the portion of the - string matching the Nth parenthesized subexpression. + expression is syntactically incorrect, the conditional expression's + return value is 2. If the 'nocasematch' shell option (see the + description of 'shopt' in *note The Shopt Builtin::) is enabled, + the match is performed without regard to the case of alphabetic + characters. Any part of the pattern may be quoted to force the + quoted portion to be matched as a string. Bracket expressions in + regular expressions must be treated carefully, since normal quoting + characters lose their meanings between brackets. If the pattern is + stored in a shell variable, quoting the variable expansion forces + the entire pattern to be matched as a string. Substrings matched + by parenthesized subexpressions within the regular expression are + saved in the array variable 'BASH_REMATCH'. The element of + 'BASH_REMATCH' with index 0 is the portion of the string matching + the entire regular expression. The element of 'BASH_REMATCH' with + index N is the portion of the string matching the Nth parenthesized + subexpression. For example, the following will match a line (stored in the shell variable LINE) if there is a sequence of characters in the value - consisting of any number, including zero, of space characters, - zero or one instances of `a', then a `b': + consisting of any number, including zero, of space characters, zero + or one instances of 'a', then a 'b': [[ $line =~ [[:space:]]*(a)?b ]] - That means values like `aab' and ` aaaaaab' will match, as will a - line containing a `b' anywhere in its value. + That means values like 'aab' and ' aaaaaab' will match, as will a + line containing a 'b' anywhere in its value. Storing the regular expression in a shell variable is often a useful way to avoid problems with quoting characters that are special to the shell. It is sometimes difficult to specify a - regular expression literally without using quotes, or to keep - track of the quoting used by regular expressions while paying - attention to the shell's quote removal. Using a shell variable to - store the pattern decreases these problems. For example, the - following is equivalent to the above: + regular expression literally without using quotes, or to keep track + of the quoting used by regular expressions while paying attention + to the shell's quote removal. Using a shell variable to store the + pattern decreases these problems. For example, the following is + equivalent to the above: pattern='[[:space:]]*(a)?b' [[ $line =~ $pattern ]] If you want to match a character that's special to the regular expression grammar, it has to be quoted to remove its special - meaning. This means that in the pattern `xxx.txt', the `.' - matches any character in the string (its usual regular expression - meaning), but in the pattern `"xxx.txt"' it can only match a - literal `.'. Shell programmers should take special care with - backslashes, since backslashes are used both by the shell and - regular expressions to remove the special meaning from the - following character. The following two sets of commands are _not_ - equivalent: + meaning. This means that in the pattern 'xxx.txt', the '.' matches + any character in the string (its usual regular expression meaning), + but in the pattern '"xxx.txt"' it can only match a literal '.'. + Shell programmers should take special care with backslashes, since + backslashes are used both by the shell and regular expressions to + remove the special meaning from the following character. The + following two sets of commands are _not_ equivalent: pattern='\.' [[ . =~ $pattern ]] @@ -953,32 +938,32 @@ File: bashref.info, Node: Conditional Constructs, Next: Command Grouping, Pre [[ . =~ '\.' ]] The first two matches will succeed, but the second two will not, - because in the second two the backslash will be part of the - pattern to be matched. In the first two examples, the backslash - removes the special meaning from `.', so the literal `.' matches. - If the string in the first examples were anything other than `.', - say `a', the pattern would not match, because the quoted `.' in the - pattern loses its special meaning of matching any single character. + because in the second two the backslash will be part of the pattern + to be matched. In the first two examples, the backslash removes + the special meaning from '.', so the literal '.' matches. If the + string in the first examples were anything other than '.', say 'a', + the pattern would not match, because the quoted '.' in the pattern + loses its special meaning of matching any single character. Expressions may be combined using the following operators, listed in decreasing order of precedence: - `( EXPRESSION )' - Returns the value of EXPRESSION. This may be used to - override the normal precedence of operators. + '( EXPRESSION )' + Returns the value of EXPRESSION. This may be used to override + the normal precedence of operators. - `! EXPRESSION' + '! EXPRESSION' True if EXPRESSION is false. - `EXPRESSION1 && EXPRESSION2' + 'EXPRESSION1 && EXPRESSION2' True if both EXPRESSION1 and EXPRESSION2 are true. - `EXPRESSION1 || EXPRESSION2' + 'EXPRESSION1 || EXPRESSION2' True if either EXPRESSION1 or EXPRESSION2 is true. - The `&&' and `||' operators do not evaluate EXPRESSION2 if the - value of EXPRESSION1 is sufficient to determine the return value - of the entire conditional expression. + The '&&' and '||' operators do not evaluate EXPRESSION2 if the + value of EXPRESSION1 is sufficient to determine the return value of + the entire conditional expression.  File: bashref.info, Node: Command Grouping, Prev: Conditional Constructs, Up: Compound Commands @@ -988,10 +973,10 @@ File: bashref.info, Node: Command Grouping, Prev: Conditional Constructs, Up: Bash provides two ways to group a list of commands to be executed as a unit. When commands are grouped, redirections may be applied to the -entire command list. For example, the output of all the commands in -the list may be redirected to a single stream. +entire command list. For example, the output of all the commands in the +list may be redirected to a single stream. -`()' +'()' ( LIST ) Placing a list of commands between parentheses causes a subshell @@ -1000,7 +985,7 @@ the list may be redirected to a single stream. Since the LIST is executed in a subshell, variable assignments do not remain in effect after the subshell completes. -`{}' +'{}' { LIST; } Placing a list of commands between curly braces causes the list to @@ -1009,9 +994,9 @@ the list may be redirected to a single stream. In addition to the creation of a subshell, there is a subtle difference between these two constructs due to historical reasons. The -braces are `reserved words', so they must be separated from the LIST by -`blank's or other shell metacharacters. The parentheses are -`operators', and are recognized as separate tokens by the shell even if +braces are 'reserved words', so they must be separated from the LIST by +'blank's or other shell metacharacters. The parentheses are +'operators', and are recognized as separate tokens by the shell even if they are not separated from the LIST by whitespace. The exit status of both of these constructs is the exit status of @@ -1023,9 +1008,9 @@ File: bashref.info, Node: Coprocesses, Next: GNU Parallel, Prev: Compound Com 3.2.5 Coprocesses ----------------- -A `coprocess' is a shell command preceded by the `coproc' reserved word. +A 'coprocess' is a shell command preceded by the 'coproc' reserved word. A coprocess is executed asynchronously in a subshell, as if the command -had been terminated with the `&' control operator, with a two-way pipe +had been terminated with the '&' control operator, with a two-way pipe established between the executing shell and the coprocess. The format for a coprocess is: @@ -1037,23 +1022,23 @@ simple command (*note Simple Commands::); otherwise, it is interpreted as the first word of the simple command. When the coprocess is executed, the shell creates an array variable -(*note Arrays::) named `NAME' in the context of the executing shell. +(*note Arrays::) named 'NAME' in the context of the executing shell. The standard output of COMMAND is connected via a pipe to a file descriptor in the executing shell, and that file descriptor is assigned -to `NAME'[0]. The standard input of COMMAND is connected via a pipe to +to 'NAME'[0]. The standard input of COMMAND is connected via a pipe to a file descriptor in the executing shell, and that file descriptor is -assigned to `NAME'[1]. This pipe is established before any -redirections specified by the command (*note Redirections::). The file -descriptors can be utilized as arguments to shell commands and -redirections using standard word expansions. The file descriptors are -not available in subshells. +assigned to 'NAME'[1]. This pipe is established before any redirections +specified by the command (*note Redirections::). The file descriptors +can be utilized as arguments to shell commands and redirections using +standard word expansions. The file descriptors are not available in +subshells. The process ID of the shell spawned to execute the coprocess is -available as the value of the variable `NAME'_PID. The `wait' builtin +available as the value of the variable 'NAME'_PID. The 'wait' builtin command may be used to wait for the coprocess to terminate. Since the coprocess is created as an asynchronous command, the -`coproc' command always returns success. The return status of a +'coproc' command always returns success. The return status of a coprocess is the exit status of COMMAND.  @@ -1071,24 +1056,24 @@ arguments, whether they are filenames, usernames, hostnames, or lines read from files. GNU Parallel provides shorthand references to many of the most common operations (input lines, various portions of the input line, different ways to specify the input source, and so on). Parallel -can replace `xargs' or feed commands from its input sources to several +can replace 'xargs' or feed commands from its input sources to several different instances of Bash. For a complete description, refer to the GNU Parallel documentation. A few examples should provide a brief introduction to its use. - For example, it is easy to replace `xargs' to gzip all html files in + For example, it is easy to replace 'xargs' to gzip all html files in the current directory and its subdirectories: find . -type f -name '*.html' -print | parallel gzip - If you need to protect special characters such as newlines in file -names, use find's `-print0' option and parallel's `-0' option. +If you need to protect special characters such as newlines in file +names, use find's '-print0' option and parallel's '-0' option. You can use Parallel to move files from the current directory when -the number of files is too large to process with one `mv' invocation: +the number of files is too large to process with one 'mv' invocation: ls | parallel mv {} destdir As you can see, the {} is replaced with each line read from standard -input. While using `ls' will work in most instances, it is not +input. While using 'ls' will work in most instances, it is not sufficient to deal with all filenames. If you need to accommodate special characters in filenames, you can use @@ -1096,8 +1081,8 @@ special characters in filenames, you can use as alluded to above. - This will run as many `mv' commands as there are files in the current -directory. You can emulate a parallel `xargs' by adding the `-X' + This will run as many 'mv' commands as there are files in the current +directory. You can emulate a parallel 'xargs' by adding the '-X' option: find . -depth 1 \! -name '.*' -print0 | parallel -0 -X mv {} destdir @@ -1111,13 +1096,12 @@ read from a file (in this case, filenames listed one per line): with a more compact syntax reminiscent of lambdas: cat list | parallel "do-something1 {} config-{} ; do-something2 < {}" | process-output - Parallel provides a built-in mechanism to remove filename -extensions, which lends itself to batch file transformations or -renaming: + Parallel provides a built-in mechanism to remove filename extensions, +which lends itself to batch file transformations or renaming: ls *.gz | parallel -j+0 "zcat {} | bzip2 >{.}.bz2 && rm {}" - This will recompress all files in the current directory with names +This will recompress all files in the current directory with names ending in .gz using bzip2, running one job per CPU (-j+0) in parallel. -(We use `ls' for brevity here; using `find' as above is more robust in +(We use 'ls' for brevity here; using 'find' as above is more robust in the face of filenames containing unexpected characters.) Parallel can take arguments from the command line; the above can also be written as @@ -1126,18 +1110,17 @@ take arguments from the command line; the above can also be written as If a command generates output, you may want to preserve the input order in the output. For instance, the following command { echo foss.org.my ; echo debian.org; echo freenetproject.org; } | parallel traceroute - will display as output the traceroute invocation that finishes first. -Adding the `-k' option +will display as output the traceroute invocation that finishes first. +Adding the '-k' option { echo foss.org.my ; echo debian.org; echo freenetproject.org; } | parallel -k traceroute - will ensure that the output of `traceroute foss.org.my' is displayed +will ensure that the output of 'traceroute foss.org.my' is displayed first. Finally, Parallel can be used to run a sequence of shell commands in -parallel, similar to `cat file | bash'. It is not uncommon to take a -list of filenames, create a series of shell commands to operate on -them, and feed that list of commnds to a shell. Parallel can speed -this up. Assuming that `file' contains a list of shell commands, one -per line, +parallel, similar to 'cat file | bash'. It is not uncommon to take a +list of filenames, create a series of shell commands to operate on them, +and feed that list of commnds to a shell. Parallel can speed this up. +Assuming that 'file' contains a list of shell commands, one per line, parallel -j 10 < file @@ -1154,10 +1137,10 @@ Shell functions are a way to group commands for later execution using a single name for the group. They are executed just like a "regular" command. When the name of a shell function is used as a simple command name, the list of commands associated with that function name is -executed. Shell functions are executed in the current shell context; -no new process is created to interpret them. +executed. Shell functions are executed in the current shell context; no +new process is created to interpret them. - Functions are declared using this syntax: + Functions are declared using this syntax: NAME () COMPOUND-COMMAND [ REDIRECTIONS ] or @@ -1165,19 +1148,20 @@ no new process is created to interpret them. function NAME [()] COMPOUND-COMMAND [ REDIRECTIONS ] This defines a shell function named NAME. The reserved word -`function' is optional. If the `function' reserved word is supplied, +'function' is optional. If the 'function' reserved word is supplied, the parentheses are optional. The BODY of the function is the compound command COMPOUND-COMMAND (*note Compound Commands::). That command is -usually a LIST enclosed between { and }, but may be any compound -command listed above. COMPOUND-COMMAND is executed whenever NAME is -specified as the name of a command. When the shell is in POSIX mode -(*note Bash POSIX Mode::), NAME may not be the same as one of the -special builtins (*note Special Builtins::). Any redirections (*note -Redirections::) associated with the shell function are performed when -the function is executed. - - A function definition may be deleted using the `-f' option to the -`unset' builtin (*note Bourne Shell Builtins::). +usually a LIST enclosed between { and }, but may be any compound command +listed above, with one exception: If the 'function' reserved word is +used, but the parentheses are not supplied, the braces are required. +COMPOUND-COMMAND is executed whenever NAME is specified as the name of a +command. When the shell is in POSIX mode (*note Bash POSIX Mode::), +NAME may not be the same as one of the special builtins (*note Special +Builtins::). Any redirections (*note Redirections::) associated with +the shell function are performed when the function is executed. + + A function definition may be deleted using the '-f' option to the +'unset' builtin (*note Bourne Shell Builtins::). The exit status of a function definition is zero unless a syntax error occurs or a readonly function with the same name already exists. @@ -1185,64 +1169,64 @@ When executed, the exit status of a function is the exit status of the last command executed in the body. Note that for historical reasons, in the most common usage the curly -braces that surround the body of the function must be separated from -the body by `blank's or newlines. This is because the braces are -reserved words and are only recognized as such when they are separated -from the command list by whitespace or another shell metacharacter. -Also, when using the braces, the LIST must be terminated by a semicolon, -a `&', or a newline. - - When a function is executed, the arguments to the function become -the positional parameters during its execution (*note Positional -Parameters::). The special parameter `#' that expands to the number of +braces that surround the body of the function must be separated from the +body by 'blank's or newlines. This is because the braces are reserved +words and are only recognized as such when they are separated from the +command list by whitespace or another shell metacharacter. Also, when +using the braces, the LIST must be terminated by a semicolon, a '&', or +a newline. + + When a function is executed, the arguments to the function become the +positional parameters during its execution (*note Positional +Parameters::). The special parameter '#' that expands to the number of positional parameters is updated to reflect the change. Special -parameter `0' is unchanged. The first element of the `FUNCNAME' +parameter '0' is unchanged. The first element of the 'FUNCNAME' variable is set to the name of the function while the function is executing. All other aspects of the shell execution environment are identical -between a function and its caller with these exceptions: the `DEBUG' -and `RETURN' traps are not inherited unless the function has been given -the `trace' attribute using the `declare' builtin or the `-o functrace' -option has been enabled with the `set' builtin, (in which case all -functions inherit the `DEBUG' and `RETURN' traps), and the `ERR' trap -is not inherited unless the `-o errtrace' shell option has been enabled. -*Note Bourne Shell Builtins::, for the description of the `trap' +between a function and its caller with these exceptions: the 'DEBUG' and +'RETURN' traps are not inherited unless the function has been given the +'trace' attribute using the 'declare' builtin or the '-o functrace' +option has been enabled with the 'set' builtin, (in which case all +functions inherit the 'DEBUG' and 'RETURN' traps), and the 'ERR' trap is +not inherited unless the '-o errtrace' shell option has been enabled. +*Note Bourne Shell Builtins::, for the description of the 'trap' builtin. - The `FUNCNEST' variable, if set to a numeric value greater than 0, + The 'FUNCNEST' variable, if set to a numeric value greater than 0, defines a maximum function nesting level. Function invocations that exceed the limit cause the entire command to abort. - If the builtin command `return' is executed in a function, the -function completes and execution resumes with the next command after -the function call. Any command associated with the `RETURN' trap is + If the builtin command 'return' is executed in a function, the +function completes and execution resumes with the next command after the +function call. Any command associated with the 'RETURN' trap is executed before execution resumes. When a function completes, the -values of the positional parameters and the special parameter `#' are -restored to the values they had prior to the function's execution. If -a numeric argument is given to `return', that is the function's return -status; otherwise the function's return status is the exit status of -the last command executed before the `return'. +values of the positional parameters and the special parameter '#' are +restored to the values they had prior to the function's execution. If a +numeric argument is given to 'return', that is the function's return +status; otherwise the function's return status is the exit status of the +last command executed before the 'return'. - Variables local to the function may be declared with the `local' + Variables local to the function may be declared with the 'local' builtin. These variables are visible only to the function and the commands it invokes. - Function names and definitions may be listed with the `-f' option to -the `declare' (`typeset') builtin command (*note Bash Builtins::). The -`-F' option to `declare' or `typeset' will list the function names only -(and optionally the source file and line number, if the `extdebug' -shell option is enabled). Functions may be exported so that subshells -automatically have them defined with the `-f' option to the `export' + Function names and definitions may be listed with the '-f' option to +the 'declare' ('typeset') builtin command (*note Bash Builtins::). The +'-F' option to 'declare' or 'typeset' will list the function names only +(and optionally the source file and line number, if the 'extdebug' shell +option is enabled). Functions may be exported so that subshells +automatically have them defined with the '-f' option to the 'export' builtin (*note Bourne Shell Builtins::). Note that shell functions and variables with the same name may result in multiple identically-named entries in the environment passed to the shell's children. Care should be taken in cases where this may cause a problem. - Functions may be recursive. The `FUNCNEST' variable may be used to + Functions may be recursive. The 'FUNCNEST' variable may be used to limit the depth of the function call stack and restrict the number of function invocations. By default, no limit is placed on the number of -recursive calls. +recursive calls.  File: bashref.info, Node: Shell Parameters, Next: Shell Expansions, Prev: Shell Functions, Up: Basic Shell Features @@ -1255,69 +1239,72 @@ File: bashref.info, Node: Shell Parameters, Next: Shell Expansions, Prev: She * Positional Parameters:: The shell's command-line arguments. * Special Parameters:: Parameters denoted by special characters. - A PARAMETER is an entity that stores values. It can be a `name', a +A PARAMETER is an entity that stores values. It can be a 'name', a number, or one of the special characters listed below. A VARIABLE is a -parameter denoted by a `name'. A variable has a VALUE and zero or more -ATTRIBUTES. Attributes are assigned using the `declare' builtin command -(see the description of the `declare' builtin in *note Bash Builtins::). +parameter denoted by a 'name'. A variable has a VALUE and zero or more +ATTRIBUTES. Attributes are assigned using the 'declare' builtin command +(see the description of the 'declare' builtin in *note Bash Builtins::). A parameter is set if it has been assigned a value. The null string is a valid value. Once a variable is set, it may be unset only by using -the `unset' builtin command. +the 'unset' builtin command. A variable may be assigned to by a statement of the form NAME=[VALUE] - If VALUE is not given, the variable is assigned the null string. All +If VALUE is not given, the variable is assigned the null string. All VALUEs undergo tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, and quote removal (detailed -below). If the variable has its `integer' attribute set, then VALUE is -evaluated as an arithmetic expression even if the `$((...))' expansion +below). If the variable has its 'integer' attribute set, then VALUE is +evaluated as an arithmetic expression even if the '$((...))' expansion is not used (*note Arithmetic Expansion::). Word splitting is not -performed, with the exception of `"$@"' as explained below. Filename +performed, with the exception of '"$@"' as explained below. Filename expansion is not performed. Assignment statements may also appear as -arguments to the `alias', `declare', `typeset', `export', `readonly', -and `local' builtin commands. When in POSIX mode (*note Bash POSIX -Mode::), these builtins may appear in a command after one or more -instances of the `command' builtin and retain these assignment -statement properties. +arguments to the 'alias', 'declare', 'typeset', 'export', 'readonly', +and 'local' builtin commands (DECLARATION commands). When in POSIX mode +(*note Bash POSIX Mode::), these builtins may appear in a command after +one or more instances of the 'command' builtin and retain these +assignment statement properties. In the context where an assignment statement is assigning a value to -a shell variable or array index (*note Arrays::), the `+=' operator can -be used to append to or add to the variable's previous value. When -`+=' is applied to a variable for which the INTEGER attribute has been -set, VALUE is evaluated as an arithmetic expression and added to the -variable's current value, which is also evaluated. When `+=' is -applied to an array variable using compound assignment (*note -Arrays::), the variable's value is not unset (as it is when using `='), -and new values are appended to the array beginning at one greater than -the array's maximum index (for indexed arrays), or added as additional -key-value pairs in an associative array. When applied to a -string-valued variable, VALUE is expanded and appended to the -variable's value. - - A variable can be assigned the NAMEREF attribute using the `-n' -option to the \fBdeclare\fP or \fBlocal\fP builtin commands (*note Bash +a shell variable or array index (*note Arrays::), the '+=' operator can +be used to append to or add to the variable's previous value. This +includes arguments to builtin commands such as 'declare' that accept +assignment statements (DECLARATION commands). When '+=' is applied to a +variable for which the INTEGER attribute has been set, VALUE is +evaluated as an arithmetic expression and added to the variable's +current value, which is also evaluated. When '+=' is applied to an +array variable using compound assignment (*note Arrays::), the +variable's value is not unset (as it is when using '='), and new values +are appended to the array beginning at one greater than the array's +maximum index (for indexed arrays), or added as additional key-value +pairs in an associative array. When applied to a string-valued +variable, VALUE is expanded and appended to the variable's value. + + A variable can be assigned the NAMEREF attribute using the '-n' +option to the 'declare' or 'local' builtin commands (*note Bash Builtins::) to create a NAMEREF, or a reference to another variable. This allows variables to be manipulated indirectly. Whenever the -nameref variable is referenced or assigned to, the operation is -actually performed on the variable specified by the nameref variable's -value. A nameref is commonly used within shell functions to refer to a -variable whose name is passed as an argument to the function. For -instance, if a variable name is passed to a shell function as its first -argument, running +nameref variable is referenced, assigned to, unset, or has its +attributes modified (other than using or changing the nameref attribute +itself), the operation is actually performed on the variable specified +by the nameref variable's value. A nameref is commonly used within +shell functions to refer to a variable whose name is passed as an +argument to the function. For instance, if a variable name is passed to +a shell function as its first argument, running declare -n ref=$1 - inside the function creates a nameref variable REF whose value is -the variable name passed as the first argument. References and -assignments to REF are treated as references and assignments to the -variable whose name was passed as `$1'. +inside the function creates a nameref variable REF whose value is the +variable name passed as the first argument. References and assignments +to REF, and changes to its attributes, are treated as references, +assignments, and attribute modifications to the variable whose name was +passed as '$1'. - If the control variable in a `for' loop has the nameref attribute, + If the control variable in a 'for' loop has the nameref attribute, the list of words can be a list of shell variables, and a name reference will be established for each word in the list, in turn, when the loop is -executed. Array variables cannot be given the `-n' attribute. +executed. Array variables cannot be given the nameref attribute. However, nameref variables can reference array variables and subscripted -array variables. Namerefs can be unset using the `-n' option to the -`unset' builtin (*note Bourne Shell Builtins::). Otherwise, if `unset' +array variables. Namerefs can be unset using the '-n' option to the +'unset' builtin (*note Bourne Shell Builtins::). Otherwise, if 'unset' is executed with the name of a nameref variable as an argument, the variable referenced by the nameref variable will be unset. @@ -1328,17 +1315,17 @@ File: bashref.info, Node: Positional Parameters, Next: Special Parameters, Up --------------------------- A POSITIONAL PARAMETER is a parameter denoted by one or more digits, -other than the single digit `0'. Positional parameters are assigned +other than the single digit '0'. Positional parameters are assigned from the shell's arguments when it is invoked, and may be reassigned -using the `set' builtin command. Positional parameter `N' may be -referenced as `${N}', or as `$N' when `N' consists of a single digit. +using the 'set' builtin command. Positional parameter 'N' may be +referenced as '${N}', or as '$N' when 'N' consists of a single digit. Positional parameters may not be assigned to with assignment statements. -The `set' and `shift' builtins are used to set and unset them (*note +The 'set' and 'shift' builtins are used to set and unset them (*note Shell Builtin Commands::). The positional parameters are temporarily replaced when a shell function is executed (*note Shell Functions::). - When a positional parameter consisting of more than a single digit -is expanded, it must be enclosed in braces. + When a positional parameter consisting of more than a single digit is +expanded, it must be enclosed in braces.  File: bashref.info, Node: Special Parameters, Prev: Positional Parameters, Up: Shell Parameters @@ -1349,70 +1336,69 @@ File: bashref.info, Node: Special Parameters, Prev: Positional Parameters, Up The shell treats several parameters specially. These parameters may only be referenced; assignment to them is not allowed. -`*' - ($*) Expands to the positional parameters, starting from one. - When the expansion is not within double quotes, each positional +'*' + ($*) Expands to the positional parameters, starting from one. When + the expansion is not within double quotes, each positional parameter expands to a separate word. In contexts where it is performed, those words are subject to further word splitting and pathname expansion. When the expansion occurs within double quotes, it expands to a single word with the value of each - parameter separated by the first character of the `IFS' special - variable. That is, `"$*"' is equivalent to `"$1C$2C..."', where C - is the first character of the value of the `IFS' variable. If - `IFS' is unset, the parameters are separated by spaces. If `IFS' + parameter separated by the first character of the 'IFS' special + variable. That is, '"$*"' is equivalent to '"$1C$2C..."', where C + is the first character of the value of the 'IFS' variable. If + 'IFS' is unset, the parameters are separated by spaces. If 'IFS' is null, the parameters are joined without intervening separators. -`@' - ($@) Expands to the positional parameters, starting from one. - When the expansion occurs within double quotes, each parameter - expands to a separate word. That is, `"$@"' is equivalent to - `"$1" "$2" ...'. If the double-quoted expansion occurs within a - word, the expansion of the first parameter is joined with the - beginning part of the original word, and the expansion of the last - parameter is joined with the last part of the original word. When - there are no positional parameters, `"$@"' and `$@' expand to - nothing (i.e., they are removed). - -`#' +'@' + ($@) Expands to the positional parameters, starting from one. When + the expansion occurs within double quotes, each parameter expands + to a separate word. That is, '"$@"' is equivalent to '"$1" "$2" + ...'. If the double-quoted expansion occurs within a word, the + expansion of the first parameter is joined with the beginning part + of the original word, and the expansion of the last parameter is + joined with the last part of the original word. When there are no + positional parameters, '"$@"' and '$@' expand to nothing (i.e., + they are removed). + +'#' ($#) Expands to the number of positional parameters in decimal. -`?' - ($?) Expands to the exit status of the most recently executed +'?' + ($?) Expands to the exit status of the most recently executed foreground pipeline. -`-' +'-' ($-, a hyphen.) Expands to the current option flags as specified - upon invocation, by the `set' builtin command, or those set by the - shell itself (such as the `-i' option). + upon invocation, by the 'set' builtin command, or those set by the + shell itself (such as the '-i' option). -`$' - ($$) Expands to the process ID of the shell. In a `()' subshell, +'$' + ($$) Expands to the process ID of the shell. In a '()' subshell, it expands to the process ID of the invoking shell, not the subshell. -`!' - ($!) Expands to the process ID of the job most recently placed - into the background, whether executed as an asynchronous command - or using the `bg' builtin (*note Job Control Builtins::). - -`0' - ($0) Expands to the name of the shell or shell script. This is - set at shell initialization. If Bash is invoked with a file of - commands (*note Shell Scripts::), `$0' is set to the name of that - file. If Bash is started with the `-c' option (*note Invoking - Bash::), then `$0' is set to the first argument after the string - to be executed, if one is present. Otherwise, it is set to the +'!' + ($!) Expands to the process ID of the job most recently placed + into the background, whether executed as an asynchronous command or + using the 'bg' builtin (*note Job Control Builtins::). + +'0' + ($0) Expands to the name of the shell or shell script. This is set + at shell initialization. If Bash is invoked with a file of + commands (*note Shell Scripts::), '$0' is set to the name of that + file. If Bash is started with the '-c' option (*note Invoking + Bash::), then '$0' is set to the first argument after the string to + be executed, if one is present. Otherwise, it is set to the filename used to invoke Bash, as given by argument zero. -`_' +'_' ($_, an underscore.) At shell startup, set to the absolute - pathname used to invoke the shell or shell script being executed - as passed in the environment or argument list. Subsequently, - expands to the last argument to the previous command, after - expansion. Also set to the full pathname used to invoke each - command executed and placed in the environment exported to that - command. When checking mail, this parameter holds the name of the - mail file. + pathname used to invoke the shell or shell script being executed as + passed in the environment or argument list. Subsequently, expands + to the last argument to the previous command, after expansion. + Also set to the full pathname used to invoke each command executed + and placed in the environment exported to that command. When + checking mail, this parameter holds the name of the mail file.  File: bashref.info, Node: Shell Expansions, Next: Redirections, Prev: Shell Parameters, Up: Basic Shell Features @@ -1421,20 +1407,14 @@ File: bashref.info, Node: Shell Expansions, Next: Redirections, Prev: Shell P ==================== Expansion is performed on the command line after it has been split into -`token's. There are seven kinds of expansion performed: +'token's. There are seven kinds of expansion performed: * brace expansion - * tilde expansion - * parameter and variable expansion - * command substitution - * arithmetic expansion - * word splitting - * filename expansion * Menu: @@ -1462,13 +1442,17 @@ available: PROCESS SUBSTITUTION. This is performed at the same time as tilde, parameter, variable, and arithmetic expansion and command substitution. + After these expansions are performed, quote characters present in the +original word are removed unless they have been quoted themselves (QUOTE +REMOVAL). + Only brace expansion, word splitting, and filename expansion can change the number of words of the expansion; other expansions expand a single word to a single word. The only exceptions to this are the -expansions of `"$@"' (*note Special Parameters::) and `"${NAME[@]}"' +expansions of '"$@"' (*note Special Parameters::) and '"${NAME[@]}"' (*note Arrays::). - After all expansions, `quote removal' (*note Quote Removal::) is + After all expansions, 'quote removal' (*note Quote Removal::) is performed.  @@ -1492,16 +1476,16 @@ are not sorted; left to right order is preserved. For example, bash$ echo a{d,c,b}e ade ace abe - A sequence expression takes the form `{X..Y[..INCR]}', where X and Y + A sequence expression takes the form '{X..Y[..INCR]}', where X and Y are either integers or single characters, and INCR, an optional increment, is an integer. When integers are supplied, the expression expands to each number between X and Y, inclusive. Supplied integers -may be prefixed with `0' to force each term to have the same width. +may be prefixed with '0' to force each term to have the same width. When either X or Y begins with a zero, the shell attempts to force all -generated terms to contain the same number of digits, zero-padding -where necessary. When characters are supplied, the expression expands -to each character lexicographically between X and Y, inclusive, using -the default C locale. Note that both X and Y must be of the same type. +generated terms to contain the same number of digits, zero-padding where +necessary. When characters are supplied, the expression expands to each +character lexicographically between X and Y, inclusive, using the +default C locale. Note that both X and Y must be of the same type. When the increment is supplied, it is used as the difference between each term. The default increment is 1 or -1 as appropriate. @@ -1509,16 +1493,16 @@ each term. The default increment is 1 or -1 as appropriate. characters special to other expansions are preserved in the result. It is strictly textual. Bash does not apply any syntactic interpretation to the context of the expansion or the text between the braces. To -avoid conflicts with parameter expansion, the string `${' is not +avoid conflicts with parameter expansion, the string '${' is not considered eligible for brace expansion. A correctly-formed brace expansion must contain unquoted opening and closing braces, and at least one unquoted comma or a valid sequence expression. Any incorrectly formed brace expansion is left unchanged. - A { or `,' may be quoted with a backslash to prevent its being + A { or ',' may be quoted with a backslash to prevent its being considered part of a brace expression. To avoid conflicts with -parameter expansion, the string `${' is not considered eligible for +parameter expansion, the string '${' is not considered eligible for brace expansion. This construct is typically used as shorthand when the common prefix @@ -1533,63 +1517,62 @@ File: bashref.info, Node: Tilde Expansion, Next: Shell Parameter Expansion, P 3.5.2 Tilde Expansion --------------------- -If a word begins with an unquoted tilde character (`~'), all of the +If a word begins with an unquoted tilde character ('~'), all of the characters up to the first unquoted slash (or all characters, if there is no unquoted slash) are considered a TILDE-PREFIX. If none of the characters in the tilde-prefix are quoted, the characters in the tilde-prefix following the tilde are treated as a possible LOGIN NAME. If this login name is the null string, the tilde is replaced with the -value of the `HOME' shell variable. If `HOME' is unset, the home +value of the 'HOME' shell variable. If 'HOME' is unset, the home directory of the user executing the shell is substituted instead. Otherwise, the tilde-prefix is replaced with the home directory associated with the specified login name. - If the tilde-prefix is `~+', the value of the shell variable `PWD' -replaces the tilde-prefix. If the tilde-prefix is `~-', the value of -the shell variable `OLDPWD', if it is set, is substituted. + If the tilde-prefix is '~+', the value of the shell variable 'PWD' +replaces the tilde-prefix. If the tilde-prefix is '~-', the value of +the shell variable 'OLDPWD', if it is set, is substituted. If the characters following the tilde in the tilde-prefix consist of -a number N, optionally prefixed by a `+' or a `-', the tilde-prefix is +a number N, optionally prefixed by a '+' or a '-', the tilde-prefix is replaced with the corresponding element from the directory stack, as it -would be displayed by the `dirs' builtin invoked with the characters +would be displayed by the 'dirs' builtin invoked with the characters following tilde in the tilde-prefix as an argument (*note The Directory Stack::). If the tilde-prefix, sans the tilde, consists of a number -without a leading `+' or `-', `+' is assumed. +without a leading '+' or '-', '+' is assumed. If the login name is invalid, or the tilde expansion fails, the word is left unchanged. Each variable assignment is checked for unquoted tilde-prefixes -immediately following a `:' or the first `='. In these cases, tilde +immediately following a ':' or the first '='. In these cases, tilde expansion is also performed. Consequently, one may use filenames with -tildes in assignments to `PATH', `MAILPATH', and `CDPATH', and the -shell assigns the expanded value. +tildes in assignments to 'PATH', 'MAILPATH', and 'CDPATH', and the shell +assigns the expanded value. The following table shows how Bash treats unquoted tilde-prefixes: -`~' - The value of `$HOME' +'~' + The value of '$HOME' +'~/foo' + '$HOME/foo' -`~/foo' - `$HOME/foo' +'~fred/foo' + The subdirectory 'foo' of the home directory of the user 'fred' -`~fred/foo' - The subdirectory `foo' of the home directory of the user `fred' +'~+/foo' + '$PWD/foo' -`~+/foo' - `$PWD/foo' +'~-/foo' + '${OLDPWD-'~-'}/foo' -`~-/foo' - `${OLDPWD-'~-'}/foo' +'~N' + The string that would be displayed by 'dirs +N' -`~N' - The string that would be displayed by `dirs +N' +'~+N' + The string that would be displayed by 'dirs +N' -`~+N' - The string that would be displayed by `dirs +N' - -`~-N' - The string that would be displayed by `dirs -N' +'~-N' + The string that would be displayed by 'dirs -N'  File: bashref.info, Node: Shell Parameter Expansion, Next: Command Substitution, Prev: Tilde Expansion, Up: Shell Expansions @@ -1597,13 +1580,13 @@ File: bashref.info, Node: Shell Parameter Expansion, Next: Command Substitutio 3.5.3 Shell Parameter Expansion ------------------------------- -The `$' character introduces parameter expansion, command substitution, +The '$' character introduces parameter expansion, command substitution, or arithmetic expansion. The parameter name or symbol to be expanded may be enclosed in braces, which are optional but serve to protect the variable to be expanded from characters immediately following it which could be interpreted as part of the name. - When braces are used, the matching ending brace is the first `}' not + When braces are used, the matching ending brace is the first '}' not escaped by a backslash or within a quoted string, and not within an embedded arithmetic expansion, command substitution, or parameter expansion. @@ -1615,52 +1598,54 @@ Arrays::). The braces are required when PARAMETER is a positional parameter with more than one digit, or when PARAMETER is followed by a character that is not to be interpreted as part of its name. - If the first character of PARAMETER is an exclamation point (!), it -introduces a level of variable indirection. Bash uses the value of the -variable formed from the rest of PARAMETER as the name of the variable; -this variable is then expanded and that value is used in the rest of -the substitution, rather than the value of PARAMETER itself. This is -known as `indirect expansion'. The exceptions to this are the -expansions of ${!PREFIX*} and ${!NAME[@]} described below. The -exclamation point must immediately follow the left brace in order to -introduce indirection. + If the first character of PARAMETER is an exclamation point (!), and +PARAMETER is not a NAMEREF, it introduces a level of variable +indirection. Bash uses the value of the variable formed from the rest +of PARAMETER as the name of the variable; this variable is then expanded +and that value is used in the rest of the substitution, rather than the +value of PARAMETER itself. This is known as 'indirect expansion'. If +PARAMETER is a nameref, this expands to the name of the variable +referenced by PARAMETER instead of performing the complete indirect +expansion. The exceptions to this are the expansions of ${!PREFIX*} and +${!NAME[@]} described below. The exclamation point must immediately +follow the left brace in order to introduce indirection. In each of the cases below, WORD is subject to tilde expansion, parameter expansion, command substitution, and arithmetic expansion. When not performing substring expansion, using the form described -below (e.g., `:-'), Bash tests for a parameter that is unset or null. +below (e.g., ':-'), Bash tests for a parameter that is unset or null. Omitting the colon results in a test only for a parameter that is unset. Put another way, if the colon is included, the operator tests for both PARAMETER's existence and that its value is not null; if the colon is omitted, the operator tests only for existence. -`${PARAMETER:-WORD}' +'${PARAMETER:-WORD}' If PARAMETER is unset or null, the expansion of WORD is substituted. Otherwise, the value of PARAMETER is substituted. -`${PARAMETER:=WORD}' - If PARAMETER is unset or null, the expansion of WORD is assigned - to PARAMETER. The value of PARAMETER is then substituted. - Positional parameters and special parameters may not be assigned to - in this way. +'${PARAMETER:=WORD}' + If PARAMETER is unset or null, the expansion of WORD is assigned to + PARAMETER. The value of PARAMETER is then substituted. Positional + parameters and special parameters may not be assigned to in this + way. -`${PARAMETER:?WORD}' +'${PARAMETER:?WORD}' If PARAMETER is null or unset, the expansion of WORD (or a message to that effect if WORD is not present) is written to the standard error and the shell, if it is not interactive, exits. Otherwise, the value of PARAMETER is substituted. -`${PARAMETER:+WORD}' +'${PARAMETER:+WORD}' If PARAMETER is null or unset, nothing is substituted, otherwise the expansion of WORD is substituted. -`${PARAMETER:OFFSET}' -`${PARAMETER:OFFSET:LENGTH}' +'${PARAMETER:OFFSET}' +'${PARAMETER:OFFSET:LENGTH}' This is referred to as Substring Expansion. It expands to up to LENGTH characters of the value of PARAMETER starting at the - character specified by OFFSET. If PARAMETER is `@', an indexed - array subscripted by `@' or `*', or an associative array name, the + character specified by OFFSET. If PARAMETER is '@', an indexed + array subscripted by '@' or '*', or an associative array name, the results differ as described below. If LENGTH is omitted, it expands to the substring of the value of PARAMETER starting at the character specified by OFFSET and extending to the end of the @@ -1674,7 +1659,7 @@ omitted, the operator tests only for existence. rather than a number of characters, and the expansion is the characters between OFFSET and that result. Note that a negative offset must be separated from the colon by at least one space to - avoid being confused with the `:-' expansion. + avoid being confused with the ':-' expansion. Here are some examples illustrating substring expansion on parameters and subscripted arrays: @@ -1731,7 +1716,7 @@ omitted, the operator tests only for existence. $ echo ${array[0]: -7:-2} bcdef - If PARAMETER is `@', the result is LENGTH positional parameters + If PARAMETER is '@', the result is LENGTH positional parameters beginning at OFFSET. A negative OFFSET is taken relative to one greater than the greatest positional parameter, so an offset of -1 evaluates to the last positional parameter. It is an expansion @@ -1757,11 +1742,12 @@ omitted, the operator tests only for existence. ./bash 1 $ echo ${@: -7:0} - If PARAMETER is an indexed array name subscripted by `@' or `*', + + If PARAMETER is an indexed array name subscripted by '@' or '*', the result is the LENGTH members of the array beginning with - `${PARAMETER[OFFSET]}'. A negative OFFSET is taken relative to - one greater than the maximum index of the specified array. It is - an expansion error if LENGTH evaluates to a number less than zero. + '${PARAMETER[OFFSET]}'. A negative OFFSET is taken relative to one + greater than the maximum index of the specified array. It is an + expansion error if LENGTH evaluates to a number less than zero. These examples show how you can use substring expansion with indexed arrays: @@ -1781,107 +1767,142 @@ omitted, the operator tests only for existence. 0 1 $ echo ${array[@]: -7:0} + Substring expansion applied to an associative array produces undefined results. Substring indexing is zero-based unless the positional parameters are used, in which case the indexing starts at 1 by default. If - OFFSET is 0, and the positional parameters are used, `$@' is + OFFSET is 0, and the positional parameters are used, '$@' is prefixed to the list. -`${!PREFIX*}' -`${!PREFIX@}' +'${!PREFIX*}' +'${!PREFIX@}' Expands to the names of variables whose names begin with PREFIX, - separated by the first character of the `IFS' special variable. - When `@' is used and the expansion appears within double quotes, + separated by the first character of the 'IFS' special variable. + When '@' is used and the expansion appears within double quotes, each variable name expands to a separate word. -`${!NAME[@]}' -`${!NAME[*]}' +'${!NAME[@]}' +'${!NAME[*]}' If NAME is an array variable, expands to the list of array indices (keys) assigned in NAME. If NAME is not an array, expands to 0 if - NAME is set and null otherwise. When `@' is used and the - expansion appears within double quotes, each key expands to a - separate word. + NAME is set and null otherwise. When '@' is used and the expansion + appears within double quotes, each key expands to a separate word. -`${#PARAMETER}' +'${#PARAMETER}' The length in characters of the expanded value of PARAMETER is - substituted. If PARAMETER is `*' or `@', the value substituted is - the number of positional parameters. If PARAMETER is an array - name subscripted by `*' or `@', the value substituted is the - number of elements in the array. If PARAMETER is an indexed array - name subscripted by a negative number, that number is interpreted - as relative to one greater than the maximum index of PARAMETER, so - negative indices count back from the end of the array, and an - index of -1 references the last element. - -`${PARAMETER#WORD}' -`${PARAMETER##WORD}' + substituted. If PARAMETER is '*' or '@', the value substituted is + the number of positional parameters. If PARAMETER is an array name + subscripted by '*' or '@', the value substituted is the number of + elements in the array. If PARAMETER is an indexed array name + subscripted by a negative number, that number is interpreted as + relative to one greater than the maximum index of PARAMETER, so + negative indices count back from the end of the array, and an index + of -1 references the last element. + +'${PARAMETER#WORD}' +'${PARAMETER##WORD}' The WORD is expanded to produce a pattern just as in filename - expansion (*note Filename Expansion::). If the pattern matches - the beginning of the expanded value of PARAMETER, then the result - of the expansion is the expanded value of PARAMETER with the - shortest matching pattern (the `#' case) or the longest matching - pattern (the `##' case) deleted. If PARAMETER is `@' or `*', the - pattern removal operation is applied to each positional parameter - in turn, and the expansion is the resultant list. If PARAMETER is - an array variable subscripted with `@' or `*', the pattern removal - operation is applied to each member of the array in turn, and the - expansion is the resultant list. - -`${PARAMETER%WORD}' -`${PARAMETER%%WORD}' + expansion (*note Filename Expansion::). If the pattern matches the + beginning of the expanded value of PARAMETER, then the result of + the expansion is the expanded value of PARAMETER with the shortest + matching pattern (the '#' case) or the longest matching pattern + (the '##' case) deleted. If PARAMETER is '@' or '*', the pattern + removal operation is applied to each positional parameter in turn, + and the expansion is the resultant list. If PARAMETER is an array + variable subscripted with '@' or '*', the pattern removal operation + is applied to each member of the array in turn, and the expansion + is the resultant list. + +'${PARAMETER%WORD}' +'${PARAMETER%%WORD}' The WORD is expanded to produce a pattern just as in filename expansion. If the pattern matches a trailing portion of the expanded value of PARAMETER, then the result of the expansion is - the value of PARAMETER with the shortest matching pattern (the `%' - case) or the longest matching pattern (the `%%' case) deleted. If - PARAMETER is `@' or `*', the pattern removal operation is applied + the value of PARAMETER with the shortest matching pattern (the '%' + case) or the longest matching pattern (the '%%' case) deleted. If + PARAMETER is '@' or '*', the pattern removal operation is applied to each positional parameter in turn, and the expansion is the - resultant list. If PARAMETER is an array variable subscripted - with `@' or `*', the pattern removal operation is applied to each - member of the array in turn, and the expansion is the resultant - list. + resultant list. If PARAMETER is an array variable subscripted with + '@' or '*', the pattern removal operation is applied to each member + of the array in turn, and the expansion is the resultant list. + +'${PARAMETER/PATTERN/STRING}' -`${PARAMETER/PATTERN/STRING}' The PATTERN is expanded to produce a pattern just as in filename expansion. PARAMETER is expanded and the longest match of PATTERN against its value is replaced with STRING. If PATTERN begins with - `/', all matches of PATTERN are replaced with STRING. Normally - only the first match is replaced. If PATTERN begins with `#', it - must match at the beginning of the expanded value of PARAMETER. - If PATTERN begins with `%', it must match at the end of the - expanded value of PARAMETER. If STRING is null, matches of - PATTERN are deleted and the `/' following PATTERN may be omitted. - If PARAMETER is `@' or `*', the substitution operation is applied - to each positional parameter in turn, and the expansion is the - resultant list. If PARAMETER is an array variable subscripted - with `@' or `*', the substitution operation is applied to each - member of the array in turn, and the expansion is the resultant - list. - -`${PARAMETER^PATTERN}' -`${PARAMETER^^PATTERN}' -`${PARAMETER,PATTERN}' -`${PARAMETER,,PATTERN}' + '/', all matches of PATTERN are replaced with STRING. Normally + only the first match is replaced. If PATTERN begins with '#', it + must match at the beginning of the expanded value of PARAMETER. If + PATTERN begins with '%', it must match at the end of the expanded + value of PARAMETER. If STRING is null, matches of PATTERN are + deleted and the '/' following PATTERN may be omitted. If the + 'nocasematch' shell option (see the description of 'shopt' in *note + The Shopt Builtin::) is enabled, the match is performed without + regard to the case of alphabetic characters. If PARAMETER is '@' + or '*', the substitution operation is applied to each positional + parameter in turn, and the expansion is the resultant list. If + PARAMETER is an array variable subscripted with '@' or '*', the + substitution operation is applied to each member of the array in + turn, and the expansion is the resultant list. + +'${PARAMETER^PATTERN}' +'${PARAMETER^^PATTERN}' +'${PARAMETER,PATTERN}' +'${PARAMETER,,PATTERN}' This expansion modifies the case of alphabetic characters in PARAMETER. The PATTERN is expanded to produce a pattern just as in filename expansion. Each character in the expanded value of PARAMETER is tested against PATTERN, and, if it matches the pattern, its case is converted. The pattern should not attempt to - match more than one character. The `^' operator converts - lowercase letters matching PATTERN to uppercase; the `,' operator - converts matching uppercase letters to lowercase. The `^^' and - `,,' expansions convert each matched character in the expanded - value; the `^' and `,' expansions match and convert only the first + match more than one character. The '^' operator converts lowercase + letters matching PATTERN to uppercase; the ',' operator converts + matching uppercase letters to lowercase. The '^^' and ',,' + expansions convert each matched character in the expanded value; + the '^' and ',' expansions match and convert only the first character in the expanded value. If PATTERN is omitted, it is - treated like a `?', which matches every character. If PARAMETER - is `@' or `*', the case modification operation is applied to each + treated like a '?', which matches every character. If PARAMETER is + '@' or '*', the case modification operation is applied to each positional parameter in turn, and the expansion is the resultant - list. If PARAMETER is an array variable subscripted with `@' or - `*', the case modification operation is applied to each member of + list. If PARAMETER is an array variable subscripted with '@' or + '*', the case modification operation is applied to each member of the array in turn, and the expansion is the resultant list. +'${PARAMETER@OPERATOR}' + The expansion is either a transformation of the value of PARAMETER + or information about PARAMETER itself, depending on the value of + OPERATOR. Each OPERATOR is a single letter: + + 'Q' + The expansion is a string that is the value of PARAMETER + quoted in a format that can be reused as input. + 'E' + The expansion is a string that is the value of PARAMETER with + backslash escape sequences expanded as with the '$'...'' + quoting mechansim. + 'P' + The expansion is a string that is the result of expanding the + value of PARAMETER as if it were a prompt string (*note + Controlling the Prompt::). + 'A' + The expansion is a string in the form of an assignment + statement or 'declare' command that, if evaluated, will + recreate PARAMETER with its attributes and value. + 'a' + The expansion is a string consisting of flag values + representing PARAMETER's attributes. + + If PARAMETER is '@' or '*', the operation is applied to each + positional parameter in turn, and the expansion is the resultant + list. If PARAMETER is an array variable subscripted with '@' or + '*', the operation is applied to each member of the array in turn, + and the expansion is the resultant list. + + The result of the expansion is subject to word splitting and + pathname expansion as described below. +  File: bashref.info, Node: Command Substitution, Next: Arithmetic Expansion, Prev: Shell Parameter Expansion, Up: Shell Expansions @@ -1892,19 +1913,20 @@ Command substitution allows the output of a command to replace the command itself. Command substitution occurs when a command is enclosed as follows: $(COMMAND) - or +or `COMMAND` -Bash performs the expansion by executing COMMAND and replacing the -command substitution with the standard output of the command, with any -trailing newlines deleted. Embedded newlines are not deleted, but they -may be removed during word splitting. The command substitution `$(cat -FILE)' can be replaced by the equivalent but faster `$(< FILE)'. +Bash performs the expansion by executing COMMAND in a subshell +environment and replacing the command substitution with the standard +output of the command, with any trailing newlines deleted. Embedded +newlines are not deleted, but they may be removed during word splitting. +The command substitution '$(cat FILE)' can be replaced by the equivalent +but faster '$(< FILE)'. When the old-style backquote form of substitution is used, backslash -retains its literal meaning except when followed by `$', ``', or `\'. +retains its literal meaning except when followed by '$', '`', or '\'. The first backquote not preceded by a backslash terminates the command -substitution. When using the `$(COMMAND)' form, all characters between +substitution. When using the '$(COMMAND)' form, all characters between the parentheses make up the command; none are treated specially. Command substitutions may be nested. To nest when using the @@ -1920,8 +1942,8 @@ File: bashref.info, Node: Arithmetic Expansion, Next: Process Substitution, P -------------------------- Arithmetic expansion allows the evaluation of an arithmetic expression -and the substitution of the result. The format for arithmetic -expansion is: +and the substitution of the result. The format for arithmetic expansion +is: $(( EXPRESSION )) @@ -1933,8 +1955,8 @@ arithmetic expression to be evaluated. Arithmetic expansions may be nested. The evaluation is performed according to the rules listed below -(*note Shell Arithmetic::). If the expression is invalid, Bash prints -a message indicating failure to the standard error and no substitution +(*note Shell Arithmetic::). If the expression is invalid, Bash prints a +message indicating failure to the standard error and no substitution occurs.  @@ -1943,20 +1965,21 @@ File: bashref.info, Node: Process Substitution, Next: Word Splitting, Prev: A 3.5.6 Process Substitution -------------------------- -Process substitution is supported on systems that support named pipes -(FIFOs) or the `/dev/fd' method of naming open files. It takes the -form of +Process substitution allows a process's input or output to be referred +to using a filename. It takes the form of <(LIST) - or +or >(LIST) - The process LIST is run with its input or output connected to a FIFO -or some file in `/dev/fd'. The name of this file is passed as an -argument to the current command as the result of the expansion. If the -`>(LIST)' form is used, writing to the file will provide input for -LIST. If the `<(LIST)' form is used, the file passed as an argument -should be read to obtain the output of LIST. Note that no space may -appear between the `<' or `>' and the left parenthesis, otherwise the -construct would be interpreted as a redirection. +The process LIST is run asynchronously, and its input or output appears +as a filename. This filename is passed as an argument to the current +command as the result of the expansion. If the '>(LIST)' form is used, +writing to the file will provide input for LIST. If the '<(LIST)' form +is used, the file passed as an argument should be read to obtain the +output of LIST. Note that no space may appear between the '<' or '>' +and the left parenthesis, otherwise the construct would be interpreted +as a redirection. Process substitution is supported on systems that +support named pipes (FIFOs) or the '/dev/fd' method of naming open +files. When available, process substitution is performed simultaneously with parameter and variable expansion, command substitution, and arithmetic @@ -1972,26 +1995,30 @@ The shell scans the results of parameter expansion, command substitution, and arithmetic expansion that did not occur within double quotes for word splitting. - The shell treats each character of `$IFS' as a delimiter, and splits -the results of the other expansions into words using these characters -as field terminators. If `IFS' is unset, or its value is exactly -`', the default, then sequences of ` ', -`', and `' at the beginning and end of the results of the -previous expansions are ignored, and any sequence of `IFS' characters -not at the beginning or end serves to delimit words. If `IFS' has a + The shell treats each character of '$IFS' as a delimiter, and splits +the results of the other expansions into words using these characters as +field terminators. If 'IFS' is unset, or its value is exactly +'', the default, then sequences of ' ', +'', and '' at the beginning and end of the results of the +previous expansions are ignored, and any sequence of 'IFS' characters +not at the beginning or end serves to delimit words. If 'IFS' has a value other than the default, then sequences of the whitespace -characters `space' and `tab' are ignored at the beginning and end of the -word, as long as the whitespace character is in the value of `IFS' (an -`IFS' whitespace character). Any character in `IFS' that is not `IFS' -whitespace, along with any adjacent `IFS' whitespace characters, -delimits a field. A sequence of `IFS' whitespace characters is also -treated as a delimiter. If the value of `IFS' is null, no word +characters 'space', 'tab', and 'newline' are ignored at the beginning +and end of the word, as long as the whitespace character is in the value +of 'IFS' (an 'IFS' whitespace character). Any character in 'IFS' that +is not 'IFS' whitespace, along with any adjacent 'IFS' whitespace +characters, delimits a field. A sequence of 'IFS' whitespace characters +is also treated as a delimiter. If the value of 'IFS' is null, no word splitting occurs. - Explicit null arguments (`""' or `''') are retained. Unquoted -implicit null arguments, resulting from the expansion of parameters -that have no values, are removed. If a parameter with no value is -expanded within double quotes, a null argument results and is retained. + Explicit null arguments ('""' or '''') are retained and passed to +commands as empty strings. Unquoted implicit null arguments, resulting +from the expansion of parameters that have no values, are removed. If a +parameter with no value is expanded within double quotes, a null +argument results and is retained and passed to a command as an empty +string. When a quoted null argument appears as part of a word whose +expansion is non-null, the null argument is removed. That is, the word +'-d''' becomes '-d' after word splitting and null argument removal. Note that if no expansion occurs, no splitting is performed. @@ -2005,39 +2032,40 @@ File: bashref.info, Node: Filename Expansion, Next: Quote Removal, Prev: Word * Pattern Matching:: How the shell matches patterns. - After word splitting, unless the `-f' option has been set (*note The -Set Builtin::), Bash scans each word for the characters `*', `?', and -`['. If one of these characters appears, then the word is regarded as -a PATTERN, and replaced with an alphabetically sorted list of filenames +After word splitting, unless the '-f' option has been set (*note The Set +Builtin::), Bash scans each word for the characters '*', '?', and '['. +If one of these characters appears, then the word is regarded as a +PATTERN, and replaced with an alphabetically sorted list of filenames matching the pattern (*note Pattern Matching::). If no matching -filenames are found, and the shell option `nullglob' is disabled, the -word is left unchanged. If the `nullglob' option is set, and no -matches are found, the word is removed. If the `failglob' shell option -is set, and no matches are found, an error message is printed and the -command is not executed. If the shell option `nocaseglob' is enabled, -the match is performed without regard to the case of alphabetic -characters. - - When a pattern is used for filename expansion, the character `.' at -the start of a filename or immediately following a slash must be -matched explicitly, unless the shell option `dotglob' is set. When -matching a filename, the slash character must always be matched -explicitly. In other cases, the `.' character is not treated specially. - - See the description of `shopt' in *note The Shopt Builtin::, for a -description of the `nocaseglob', `nullglob', `failglob', and `dotglob' +filenames are found, and the shell option 'nullglob' is disabled, the +word is left unchanged. If the 'nullglob' option is set, and no matches +are found, the word is removed. If the 'failglob' shell option is set, +and no matches are found, an error message is printed and the command is +not executed. If the shell option 'nocaseglob' is enabled, the match is +performed without regard to the case of alphabetic characters. + + When a pattern is used for filename expansion, the character '.' at +the start of a filename or immediately following a slash must be matched +explicitly, unless the shell option 'dotglob' is set. When matching a +filename, the slash character must always be matched explicitly. In +other cases, the '.' character is not treated specially. + + See the description of 'shopt' in *note The Shopt Builtin::, for a +description of the 'nocaseglob', 'nullglob', 'failglob', and 'dotglob' options. - The `GLOBIGNORE' shell variable may be used to restrict the set of -filenames matching a pattern. If `GLOBIGNORE' is set, each matching -filename that also matches one of the patterns in `GLOBIGNORE' is -removed from the list of matches. The filenames `.' and `..' are -always ignored when `GLOBIGNORE' is set and not null. However, setting -`GLOBIGNORE' to a non-null value has the effect of enabling the -`dotglob' shell option, so all other filenames beginning with a `.' -will match. To get the old behavior of ignoring filenames beginning -with a `.', make `.*' one of the patterns in `GLOBIGNORE'. The -`dotglob' option is disabled when `GLOBIGNORE' is unset. + The 'GLOBIGNORE' shell variable may be used to restrict the set of +filenames matching a pattern. If 'GLOBIGNORE' is set, each matching +filename that also matches one of the patterns in 'GLOBIGNORE' is +removed from the list of matches. If the 'nocaseglob' option is set, +the matching against the patterns in 'GLOBIGNORE' is performed without +regard to case. The filenames '.' and '..' are always ignored when +'GLOBIGNORE' is set and not null. However, setting 'GLOBIGNORE' to a +non-null value has the effect of enabling the 'dotglob' shell option, so +all other filenames beginning with a '.' will match. To get the old +behavior of ignoring filenames beginning with a '.', make '.*' one of +the patterns in 'GLOBIGNORE'. The 'dotglob' option is disabled when +'GLOBIGNORE' is unset.  File: bashref.info, Node: Pattern Matching, Up: Filename Expansion @@ -2052,75 +2080,73 @@ escaping backslash is discarded when matching. The special pattern characters must be quoted if they are to be matched literally. The special pattern characters have the following meanings: -`*' - Matches any string, including the null string. When the - `globstar' shell option is enabled, and `*' is used in a filename - expansion context, two adjacent `*'s used as a single pattern will - match all files and zero or more directories and subdirectories. - If followed by a `/', two adjacent `*'s will match only - directories and subdirectories. - -`?' +'*' + Matches any string, including the null string. When the 'globstar' + shell option is enabled, and '*' is used in a filename expansion + context, two adjacent '*'s used as a single pattern will match all + files and zero or more directories and subdirectories. If followed + by a '/', two adjacent '*'s will match only directories and + subdirectories. +'?' Matches any single character. - -`[...]' +'[...]' Matches any one of the enclosed characters. A pair of characters separated by a hyphen denotes a RANGE EXPRESSION; any character that falls between those two characters, inclusive, using the current locale's collating sequence and character set, is matched. - If the first character following the `[' is a `!' or a `^' then - any character not enclosed is matched. A `-' may be matched by - including it as the first or last character in the set. A `]' may + If the first character following the '[' is a '!' or a '^' then any + character not enclosed is matched. A '-' may be matched by + including it as the first or last character in the set. A ']' may be matched by including it as the first character in the set. The sorting order of characters in range expressions is determined by - the current locale and the values of the `LC_COLLATE' and `LC_ALL' + the current locale and the values of the 'LC_COLLATE' and 'LC_ALL' shell variables, if set. - For example, in the default C locale, `[a-dx-z]' is equivalent to - `[abcdxyz]'. Many locales sort characters in dictionary order, - and in these locales `[a-dx-z]' is typically not equivalent to - `[abcdxyz]'; it might be equivalent to `[aBbCcDdxXyYz]', for + For example, in the default C locale, '[a-dx-z]' is equivalent to + '[abcdxyz]'. Many locales sort characters in dictionary order, and + in these locales '[a-dx-z]' is typically not equivalent to + '[abcdxyz]'; it might be equivalent to '[aBbCcDdxXyYz]', for example. To obtain the traditional interpretation of ranges in bracket expressions, you can force the use of the C locale by - setting the `LC_COLLATE' or `LC_ALL' environment variable to the - value `C', or enable the `globasciiranges' shell option. + setting the 'LC_COLLATE' or 'LC_ALL' environment variable to the + value 'C', or enable the 'globasciiranges' shell option. - Within `[' and `]', CHARACTER CLASSES can be specified using the - syntax `[:'CLASS`:]', where CLASS is one of the following classes + Within '[' and ']', CHARACTER CLASSES can be specified using the + syntax '[:'CLASS':]', where CLASS is one of the following classes defined in the POSIX standard: alnum alpha ascii blank cntrl digit graph lower print punct space upper word xdigit A character class matches any character belonging to that class. - The `word' character class matches letters, digits, and the - character `_'. + The 'word' character class matches letters, digits, and the + character '_'. - Within `[' and `]', an EQUIVALENCE CLASS can be specified using - the syntax `[='C`=]', which matches all characters with the same + Within '[' and ']', an EQUIVALENCE CLASS can be specified using the + syntax '[='C'=]', which matches all characters with the same collation weight (as defined by the current locale) as the character C. - Within `[' and `]', the syntax `[.'SYMBOL`.]' matches the - collating symbol SYMBOL. + Within '[' and ']', the syntax '[.'SYMBOL'.]' matches the collating + symbol SYMBOL. - If the `extglob' shell option is enabled using the `shopt' builtin, + If the 'extglob' shell option is enabled using the 'shopt' builtin, several extended pattern matching operators are recognized. In the following description, a PATTERN-LIST is a list of one or more patterns -separated by a `|'. Composite patterns may be formed using one or more +separated by a '|'. Composite patterns may be formed using one or more of the following sub-patterns: -`?(PATTERN-LIST)' +'?(PATTERN-LIST)' Matches zero or one occurrence of the given patterns. -`*(PATTERN-LIST)' +'*(PATTERN-LIST)' Matches zero or more occurrences of the given patterns. -`+(PATTERN-LIST)' +'+(PATTERN-LIST)' Matches one or more occurrences of the given patterns. -`@(PATTERN-LIST)' +'@(PATTERN-LIST)' Matches one of the given patterns. -`!(PATTERN-LIST)' +'!(PATTERN-LIST)' Matches anything except one of the given patterns.  @@ -2130,7 +2156,7 @@ File: bashref.info, Node: Quote Removal, Prev: Filename Expansion, Up: Shell ------------------- After the preceding expansions, all unquoted occurrences of the -characters `\', `'', and `"' that did not result from one of the above +characters '\', ''', and '"' that did not result from one of the above expansions are removed.  @@ -2149,56 +2175,59 @@ operators may precede or appear anywhere within a simple command or may follow a command. Redirections are processed in the order they appear, from left to right. - Each redirection that may be preceded by a file descriptor number -may instead be preceded by a word of the form {VARNAME}. In this case, -for each redirection operator except >&- and <&-, the shell will -allocate a file descriptor greater than 10 and assign it to {VARNAME}. -If >&- or <&- is preceded by {VARNAME}, the value of VARNAME defines -the file descriptor to close. + Each redirection that may be preceded by a file descriptor number may +instead be preceded by a word of the form {VARNAME}. In this case, for +each redirection operator except >&- and <&-, the shell will allocate a +file descriptor greater than 10 and assign it to {VARNAME}. If >&- or +<&- is preceded by {VARNAME}, the value of VARNAME defines the file +descriptor to close. In the following descriptions, if the file descriptor number is -omitted, and the first character of the redirection operator is `<', -the redirection refers to the standard input (file descriptor 0). If -the first character of the redirection operator is `>', the redirection +omitted, and the first character of the redirection operator is '<', the +redirection refers to the standard input (file descriptor 0). If the +first character of the redirection operator is '>', the redirection refers to the standard output (file descriptor 1). The word following the redirection operator in the following descriptions, unless otherwise noted, is subjected to brace expansion, tilde expansion, parameter expansion, command substitution, arithmetic -expansion, quote removal, filename expansion, and word splitting. If -it expands to more than one word, Bash reports an error. +expansion, quote removal, filename expansion, and word splitting. If it +expands to more than one word, Bash reports an error. - Note that the order of redirections is significant. For example, -the command + Note that the order of redirections is significant. For example, the +command ls > DIRLIST 2>&1 - directs both standard output (file descriptor 1) and standard error +directs both standard output (file descriptor 1) and standard error (file descriptor 2) to the file DIRLIST, while the command ls 2>&1 > DIRLIST - directs only the standard output to file DIRLIST, because the -standard error was made a copy of the standard output before the -standard output was redirected to DIRLIST. +directs only the standard output to file DIRLIST, because the standard +error was made a copy of the standard output before the standard output +was redirected to DIRLIST. Bash handles several filenames specially when they are used in -redirections, as described in the following table: +redirections, as described in the following table. If the operating +system on which Bash is running provides these special files, bash will +use them; otherwise it will emulate them internally with the behavior +described below. -`/dev/fd/FD' +'/dev/fd/FD' If FD is a valid integer, file descriptor FD is duplicated. -`/dev/stdin' +'/dev/stdin' File descriptor 0 is duplicated. -`/dev/stdout' +'/dev/stdout' File descriptor 1 is duplicated. -`/dev/stderr' +'/dev/stderr' File descriptor 2 is duplicated. -`/dev/tcp/HOST/PORT' +'/dev/tcp/HOST/PORT' If HOST is a valid hostname or Internet address, and PORT is an integer port number or service name, Bash attempts to open the corresponding TCP socket. -`/dev/udp/HOST/PORT' +'/dev/udp/HOST/PORT' If HOST is a valid hostname or Internet address, and PORT is an integer port number or service name, Bash attempts to open the corresponding UDP socket. @@ -2213,8 +2242,8 @@ internally. ----------------------- Redirection of input causes the file whose name results from the -expansion of WORD to be opened for reading on file descriptor `n', or -the standard input (file descriptor 0) if `n' is not specified. +expansion of WORD to be opened for reading on file descriptor 'n', or +the standard input (file descriptor 0) if 'n' is not specified. The general format for redirecting input is: [N][|]WORD - If the redirection operator is `>', and the `noclobber' option to -the `set' builtin has been enabled, the redirection will fail if the -file whose name results from the expansion of WORD exists and is a -regular file. If the redirection operator is `>|', or the redirection -operator is `>' and the `noclobber' option is not enabled, the -redirection is attempted even if the file named by WORD exists. + If the redirection operator is '>', and the 'noclobber' option to the +'set' builtin has been enabled, the redirection will fail if the file +whose name results from the expansion of WORD exists and is a regular +file. If the redirection operator is '>|', or the redirection operator +is '>' and the 'noclobber' option is not enabled, the redirection is +attempted even if the file named by WORD exists. 3.6.3 Appending Redirected Output --------------------------------- -Redirection of output in this fashion causes the file whose name -results from the expansion of WORD to be opened for appending on file -descriptor N, or the standard output (file descriptor 1) if N is not -specified. If the file does not exist it is created. +Redirection of output in this fashion causes the file whose name results +from the expansion of WORD to be opened for appending on file descriptor +N, or the standard output (file descriptor 1) if N is not specified. If +the file does not exist it is created. The general format for appending output is: [N]>>WORD @@ -2259,12 +2288,12 @@ file whose name is the expansion of WORD. There are two formats for redirecting standard output and standard error: &>WORD - and +and >&WORD - Of the two forms, the first is preferred. This is semantically +Of the two forms, the first is preferred. This is semantically equivalent to >WORD 2>&1 - When using the second form, WORD may not expand to a number or `-'. + When using the second form, WORD may not expand to a number or '-'. If it does, other redirection operators apply (see Duplicating File Descriptors below) for compatibility reasons. @@ -2272,12 +2301,12 @@ Descriptors below) for compatibility reasons. -------------------------------------------------- This construct allows both the standard output (file descriptor 1) and -the standard error output (file descriptor 2) to be appended to the -file whose name is the expansion of WORD. +the standard error output (file descriptor 2) to be appended to the file +whose name is the expansion of WORD. The format for appending standard output and standard error is: &>>WORD - This is semantically equivalent to +This is semantically equivalent to >>WORD 2>&1 (see Duplicating File Descriptors below). @@ -2287,81 +2316,83 @@ file whose name is the expansion of WORD. This type of redirection instructs the shell to read input from the current source until a line containing only WORD (with no trailing blanks) is seen. All of the lines read up to that point are then used -as the standard input for a command. +as the standard input (or file descriptor N if N is specified) for a +command. The format of here-documents is: - <<[-]WORD + [N]<<[-]WORD HERE-DOCUMENT DELIMITER - No parameter and variable expansion, command substitution, -arithmetic expansion, or filename expansion is performed on WORD. If -any characters in WORD are quoted, the DELIMITER is the result of quote -removal on WORD, and the lines in the here-document are not expanded. -If WORD is unquoted, all lines of the here-document are subjected to -parameter expansion, command substitution, and arithmetic expansion, -the character sequence `\newline' is ignored, and `\' must be used to -quote the characters `\', `$', and ``'. + No parameter and variable expansion, command substitution, arithmetic +expansion, or filename expansion is performed on WORD. If any part of +WORD is quoted, the DELIMITER is the result of quote removal on WORD, +and the lines in the here-document are not expanded. If WORD is +unquoted, all lines of the here-document are subjected to parameter +expansion, command substitution, and arithmetic expansion, the character +sequence '\newline' is ignored, and '\' must be used to quote the +characters '\', '$', and '`'. - If the redirection operator is `<<-', then all leading tab -characters are stripped from input lines and the line containing -DELIMITER. This allows here-documents within shell scripts to be -indented in a natural fashion. + If the redirection operator is '<<-', then all leading tab characters +are stripped from input lines and the line containing DELIMITER. This +allows here-documents within shell scripts to be indented in a natural +fashion. 3.6.7 Here Strings ------------------ A variant of here documents, the format is: - <<< WORD + [N]<<< WORD The WORD undergoes brace expansion, tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, and quote removal. Pathname expansion and word splitting are not performed. -The result is supplied as a single string to the command on its -standard input. +The result is supplied as a single string, with a newline appended, to +the command on its standard input (or file descriptor N if N is +specified). 3.6.8 Duplicating File Descriptors ---------------------------------- The redirection operator [N]<&WORD - is used to duplicate input file descriptors. If WORD expands to one -or more digits, the file descriptor denoted by N is made to be a copy -of that file descriptor. If the digits in WORD do not specify a file +is used to duplicate input file descriptors. If WORD expands to one or +more digits, the file descriptor denoted by N is made to be a copy of +that file descriptor. If the digits in WORD do not specify a file descriptor open for input, a redirection error occurs. If WORD -evaluates to `-', file descriptor N is closed. If N is not specified, +evaluates to '-', file descriptor N is closed. If N is not specified, the standard input (file descriptor 0) is used. The operator [N]>&WORD - is used similarly to duplicate output file descriptors. If N is not +is used similarly to duplicate output file descriptors. If N is not specified, the standard output (file descriptor 1) is used. If the digits in WORD do not specify a file descriptor open for output, a -redirection error occurs. If WORD evaluates to `-', file descriptor N -is closed. As a special case, if N is omitted, and WORD does not -expand to one or more digits or `-', the standard output and standard -error are redirected as described previously. +redirection error occurs. If WORD evaluates to '-', file descriptor N +is closed. As a special case, if N is omitted, and WORD does not expand +to one or more digits or '-', the standard output and standard error are +redirected as described previously. 3.6.9 Moving File Descriptors ----------------------------- The redirection operator [N]<&DIGIT- - moves the file descriptor DIGIT to file descriptor N, or the -standard input (file descriptor 0) if N is not specified. DIGIT is -closed after being duplicated to N. +moves the file descriptor DIGIT to file descriptor N, or the standard +input (file descriptor 0) if N is not specified. DIGIT is closed after +being duplicated to N. Similarly, the redirection operator [N]>&DIGIT- - moves the file descriptor DIGIT to file descriptor N, or the -standard output (file descriptor 1) if N is not specified. +moves the file descriptor DIGIT to file descriptor N, or the standard +output (file descriptor 1) if N is not specified. 3.6.10 Opening File Descriptors for Reading and Writing ------------------------------------------------------- The redirection operator [N]<>WORD - causes the file whose name is the expansion of WORD to be opened for +causes the file whose name is the expansion of WORD to be opened for both reading and writing on file descriptor N, or on file descriptor 0 if N is not specified. If the file does not exist, it is created. @@ -2406,7 +2437,7 @@ expansions, assignments, and redirections, from left to right. 3. Redirections are performed as described above (*note Redirections::). - 4. The text after the `=' in each variable assignment undergoes tilde + 4. The text after the '=' in each variable assignment undergoes tilde expansion, parameter expansion, command substitution, arithmetic expansion, and quote removal before being assigned to the variable. @@ -2442,30 +2473,30 @@ taken. locate it. If there exists a shell function by that name, that function is invoked as described in *note Shell Functions::. - 2. If the name does not match a function, the shell searches for it - in the list of shell builtins. If a match is found, that builtin - is invoked. - - 3. If the name is neither a shell function nor a builtin, and - contains no slashes, Bash searches each element of `$PATH' for a - directory containing an executable file by that name. Bash uses a - hash table to remember the full pathnames of executable files to - avoid multiple `PATH' searches (see the description of `hash' in - *note Bourne Shell Builtins::). A full search of the directories - in `$PATH' is performed only if the command is not found in the - hash table. If the search is unsuccessful, the shell searches for - a defined shell function named `command_not_found_handle'. If - that function exists, it is invoked with the original command and - the original command's arguments as its arguments, and the - function's exit status becomes the exit status of the shell. If - that function is not defined, the shell prints an error message - and returns an exit status of 127. - - 4. If the search is successful, or if the command name contains one - or more slashes, the shell executes the named program in a - separate execution environment. Argument 0 is set to the name - given, and the remaining arguments to the command are set to the - arguments supplied, if any. + 2. If the name does not match a function, the shell searches for it in + the list of shell builtins. If a match is found, that builtin is + invoked. + + 3. If the name is neither a shell function nor a builtin, and contains + no slashes, Bash searches each element of '$PATH' for a directory + containing an executable file by that name. Bash uses a hash table + to remember the full pathnames of executable files to avoid + multiple 'PATH' searches (see the description of 'hash' in *note + Bourne Shell Builtins::). A full search of the directories in + '$PATH' is performed only if the command is not found in the hash + table. If the search is unsuccessful, the shell searches for a + defined shell function named 'command_not_found_handle'. If that + function exists, it is invoked with the original command and the + original command's arguments as its arguments, and the function's + exit status becomes the exit status of the shell. If that function + is not defined, the shell prints an error message and returns an + exit status of 127. + + 4. If the search is successful, or if the command name contains one or + more slashes, the shell executes the named program in a separate + execution environment. Argument 0 is set to the name given, and + the remaining arguments to the command are set to the arguments + supplied, if any. 5. If this execution fails because the file is not in executable format, and the file is not a directory, it is assumed to be a @@ -2475,7 +2506,6 @@ taken. 6. If the command was not begun asynchronously, the shell waits for the command to complete and collects its exit status. -  File: bashref.info, Node: Command Execution Environment, Next: Environment, Prev: Command Search and Execution, Up: Executing Commands @@ -2485,35 +2515,34 @@ File: bashref.info, Node: Command Execution Environment, Next: Environment, P The shell has an EXECUTION ENVIRONMENT, which consists of the following: * open files inherited by the shell at invocation, as modified by - redirections supplied to the `exec' builtin + redirections supplied to the 'exec' builtin - * the current working directory as set by `cd', `pushd', or `popd', + * the current working directory as set by 'cd', 'pushd', or 'popd', or inherited by the shell at invocation - * the file creation mode mask as set by `umask' or inherited from - the shell's parent + * the file creation mode mask as set by 'umask' or inherited from the + shell's parent - * current traps set by `trap' + * current traps set by 'trap' - * shell parameters that are set by variable assignment or with `set' + * shell parameters that are set by variable assignment or with 'set' or inherited from the shell's parent in the environment * shell functions defined during execution or inherited from the shell's parent in the environment * options enabled at invocation (either by default or with - command-line arguments) or by `set' + command-line arguments) or by 'set' - * options enabled by `shopt' (*note The Shopt Builtin::) + * options enabled by 'shopt' (*note The Shopt Builtin::) - * shell aliases defined with `alias' (*note Aliases::) + * shell aliases defined with 'alias' (*note Aliases::) * various process IDs, including those of background jobs (*note - Lists::), the value of `$$', and the value of `$PPID' + Lists::), the value of '$$', and the value of '$PPID' - - When a simple command other than a builtin or shell function is to -be executed, it is invoked in a separate execution environment that + When a simple command other than a builtin or shell function is to be +executed, it is invoked in a separate execution environment that consists of the following. Unless otherwise noted, the values are inherited from the shell. @@ -2531,7 +2560,6 @@ inherited from the shell. * traps caught by the shell are reset to the values inherited from the shell's parent, and traps ignored by the shell are ignored - A command invoked in this separate environment cannot affect the shell's execution environment. @@ -2544,11 +2572,11 @@ are also executed in a subshell environment. Changes made to the subshell environment cannot affect the shell's execution environment. Subshells spawned to execute command substitutions inherit the value -of the `-e' option from the parent shell. When not in POSIX mode, Bash -clears the `-e' option in such subshells. +of the '-e' option from the parent shell. When not in POSIX mode, Bash +clears the '-e' option in such subshells. - If a command is followed by a `&' and job control is not active, the -default standard input for the command is the empty file `/dev/null'. + If a command is followed by a '&' and job control is not active, the +default standard input for the command is the empty file '/dev/null'. Otherwise, the invoked command inherits the file descriptors of the calling shell as modified by redirections. @@ -2560,31 +2588,31 @@ File: bashref.info, Node: Environment, Next: Exit Status, Prev: Command Execu When a program is invoked it is given an array of strings called the ENVIRONMENT. This is a list of name-value pairs, of the form -`name=value'. +'name=value'. Bash provides several ways to manipulate the environment. On invocation, the shell scans its own environment and creates a parameter for each name found, automatically marking it for EXPORT to child -processes. Executed commands inherit the environment. The `export' -and `declare -x' commands allow parameters and functions to be added to -and deleted from the environment. If the value of a parameter in the +processes. Executed commands inherit the environment. The 'export' and +'declare -x' commands allow parameters and functions to be added to and +deleted from the environment. If the value of a parameter in the environment is modified, the new value becomes part of the environment, replacing the old. The environment inherited by any executed command consists of the shell's initial environment, whose values may be -modified in the shell, less any pairs removed by the `unset' and -`export -n' commands, plus any additions via the `export' and `declare --x' commands. +modified in the shell, less any pairs removed by the 'unset' and 'export +-n' commands, plus any additions via the 'export' and 'declare -x' +commands. The environment for any simple command or function may be augmented temporarily by prefixing it with parameter assignments, as described in *note Shell Parameters::. These assignment statements affect only the environment seen by that command. - If the `-k' option is set (*note The Set Builtin::), then all + If the '-k' option is set (*note The Set Builtin::), then all parameter assignments are placed in the environment for a command, not just those that precede the command name. - When Bash invokes an external command, the variable `$_' is set to + When Bash invokes an external command, the variable '$_' is set to the full pathname of the command and passed to that command in its environment. @@ -2605,8 +2633,8 @@ will use special values to indicate specific failure modes. status has succeeded. A non-zero exit status indicates failure. This seemingly counter-intuitive scheme is used so there is one well-defined way to indicate success and a variety of ways to indicate various -failure modes. When a command terminates on a fatal signal whose -number is N, Bash uses the value 128+N as the exit status. +failure modes. When a command terminates on a fatal signal whose number +is N, Bash uses the value 128+N as the exit status. If a command is not found, the child process created to execute it returns a status of 127. If a command is found but is not executable, @@ -2622,7 +2650,8 @@ Lists::). All of the Bash builtins return an exit status of zero if they succeed and a non-zero status on failure, so they may be used by the conditional and list constructs. All builtins return an exit status of -2 to indicate incorrect usage. +2 to indicate incorrect usage, generally invalid options or missing +arguments.  File: bashref.info, Node: Signals, Prev: Exit Status, Up: Executing Commands @@ -2631,39 +2660,38 @@ File: bashref.info, Node: Signals, Prev: Exit Status, Up: Executing Commands ------------- When Bash is interactive, in the absence of any traps, it ignores -`SIGTERM' (so that `kill 0' does not kill an interactive shell), and -`SIGINT' is caught and handled (so that the `wait' builtin is -interruptible). When Bash receives a `SIGINT', it breaks out of any -executing loops. In all cases, Bash ignores `SIGQUIT'. If job control -is in effect (*note Job Control::), Bash ignores `SIGTTIN', `SIGTTOU', -and `SIGTSTP'. +'SIGTERM' (so that 'kill 0' does not kill an interactive shell), and +'SIGINT' is caught and handled (so that the 'wait' builtin is +interruptible). When Bash receives a 'SIGINT', it breaks out of any +executing loops. In all cases, Bash ignores 'SIGQUIT'. If job control +is in effect (*note Job Control::), Bash ignores 'SIGTTIN', 'SIGTTOU', +and 'SIGTSTP'. Non-builtin commands started by Bash have signal handlers set to the values inherited by the shell from its parent. When job control is not -in effect, asynchronous commands ignore `SIGINT' and `SIGQUIT' in +in effect, asynchronous commands ignore 'SIGINT' and 'SIGQUIT' in addition to these inherited handlers. Commands run as a result of command substitution ignore the keyboard-generated job control signals -`SIGTTIN', `SIGTTOU', and `SIGTSTP'. +'SIGTTIN', 'SIGTTOU', and 'SIGTSTP'. - The shell exits by default upon receipt of a `SIGHUP'. Before -exiting, an interactive shell resends the `SIGHUP' to all jobs, running -or stopped. Stopped jobs are sent `SIGCONT' to ensure that they receive -the `SIGHUP'. To prevent the shell from sending the `SIGHUP' signal to + The shell exits by default upon receipt of a 'SIGHUP'. Before +exiting, an interactive shell resends the 'SIGHUP' to all jobs, running +or stopped. Stopped jobs are sent 'SIGCONT' to ensure that they receive +the 'SIGHUP'. To prevent the shell from sending the 'SIGHUP' signal to a particular job, it should be removed from the jobs table with the -`disown' builtin (*note Job Control Builtins::) or marked to not -receive `SIGHUP' using `disown -h'. +'disown' builtin (*note Job Control Builtins::) or marked to not receive +'SIGHUP' using 'disown -h'. - If the `huponexit' shell option has been set with `shopt' (*note -The Shopt Builtin::), Bash sends a `SIGHUP' to all jobs when an -interactive login shell exits. + If the 'huponexit' shell option has been set with 'shopt' (*note The +Shopt Builtin::), Bash sends a 'SIGHUP' to all jobs when an interactive +login shell exits. If Bash is waiting for a command to complete and receives a signal for which a trap has been set, the trap will not be executed until the -command completes. When Bash is waiting for an asynchronous command -via the `wait' builtin, the reception of a signal for which a trap has -been set will cause the `wait' builtin to return immediately with an -exit status greater than 128, immediately after which the trap is -executed. +command completes. When Bash is waiting for an asynchronous command via +the 'wait' builtin, the reception of a signal for which a trap has been +set will cause the 'wait' builtin to return immediately with an exit +status greater than 128, immediately after which the trap is executed.  File: bashref.info, Node: Shell Scripts, Prev: Executing Commands, Up: Basic Shell Features @@ -2673,36 +2701,36 @@ File: bashref.info, Node: Shell Scripts, Prev: Executing Commands, Up: Basic A shell script is a text file containing shell commands. When such a file is used as the first non-option argument when invoking Bash, and -neither the `-c' nor `-s' option is supplied (*note Invoking Bash::), +neither the '-c' nor '-s' option is supplied (*note Invoking Bash::), Bash reads and executes commands from the file, then exits. This mode of operation creates a non-interactive shell. The shell first searches for the file in the current directory, and looks in the directories in -`$PATH' if not found there. +'$PATH' if not found there. - When Bash runs a shell script, it sets the special parameter `0' to + When Bash runs a shell script, it sets the special parameter '0' to the name of the file, rather than the name of the shell, and the positional parameters are set to the remaining arguments, if any are given. If no additional arguments are supplied, the positional parameters are unset. - A shell script may be made executable by using the `chmod' command -to turn on the execute bit. When Bash finds such a file while -searching the `$PATH' for a command, it spawns a subshell to execute -it. In other words, executing + A shell script may be made executable by using the 'chmod' command to +turn on the execute bit. When Bash finds such a file while searching +the '$PATH' for a command, it spawns a subshell to execute it. In other +words, executing filename ARGUMENTS - is equivalent to executing +is equivalent to executing bash filename ARGUMENTS -if `filename' is an executable shell script. This subshell +if 'filename' is an executable shell script. This subshell reinitializes itself, so that the effect is as if a new shell had been invoked to interpret the script, with the exception that the locations -of commands remembered by the parent (see the description of `hash' in +of commands remembered by the parent (see the description of 'hash' in *note Bourne Shell Builtins::) are retained by the child. Most versions of Unix make this a part of the operating system's command execution mechanism. If the first line of a script begins with -the two characters `#!', the remainder of the line specifies an -interpreter for the program. Thus, you can specify Bash, `awk', Perl, +the two characters '#!', the remainder of the line specifies an +interpreter for the program. Thus, you can specify Bash, 'awk', Perl, or some other interpreter and write the rest of the script file in that language. @@ -2713,8 +2741,8 @@ the arguments. Bash will perform this action on operating systems that do not handle it themselves. Note that some older versions of Unix limit the interpreter name and argument to a maximum of 32 characters. - Bash scripts often begin with `#! /bin/bash' (assuming that Bash has -been installed in `/bin'), since this ensures that Bash will be used to + Bash scripts often begin with '#! /bin/bash' (assuming that Bash has +been installed in '/bin'), since this ensures that Bash will be used to interpret the script, even if it is executed under another shell.  @@ -2733,18 +2761,18 @@ File: bashref.info, Node: Shell Builtin Commands, Next: Shell Variables, Prev * Special Builtins:: Builtin commands classified specially by POSIX. - Builtin commands are contained within the shell itself. When the -name of a builtin command is used as the first word of a simple command +Builtin commands are contained within the shell itself. When the name +of a builtin command is used as the first word of a simple command (*note Simple Commands::), the shell executes the command directly, without invoking another program. Builtin commands are necessary to implement functionality impossible or inconvenient to obtain with separate utilities. This section briefly describes the builtins which Bash inherits from -the Bourne Shell, as well as the builtin commands which are unique to -or have been extended in Bash. +the Bourne Shell, as well as the builtin commands which are unique to or +have been extended in Bash. - Several builtin commands are described in other chapters: builtin + Several builtin commands are described in other chapters: builtin commands which provide the Bash interface to the job control facilities (*note Job Control Builtins::), the directory stack (*note Directory Stack Builtins::), the command history (*note Bash History Builtins::), @@ -2754,14 +2782,14 @@ Completion Builtins::). Many of the builtins have been extended by POSIX or Bash. Unless otherwise noted, each builtin command documented as accepting -options preceded by `-' accepts `--' to signify the end of the options. -The `:', `true', `false', and `test' builtins do not accept options and -do not treat `--' specially. The `exit', `logout', `break', -`continue', `let', and `shift' builtins accept and process arguments -beginning with `-' without requiring `--'. Other builtins that accept -arguments but are not specified as accepting options interpret -arguments beginning with `-' as invalid options and require `--' to -prevent this interpretation. +options preceded by '-' accepts '--' to signify the end of the options. +The ':', 'true', 'false', and 'test' builtins do not accept options and +do not treat '--' specially. The 'exit', 'logout', 'return', 'break', +'continue', 'let', and 'shift' builtins accept and process arguments +beginning with '-' without requiring '--'. Other builtins that accept +arguments but are not specified as accepting options interpret arguments +beginning with '-' as invalid options and require '--' to prevent this +interpretation.  File: bashref.info, Node: Bourne Shell Builtins, Next: Bash Builtins, Up: Shell Builtin Commands @@ -2773,68 +2801,73 @@ The following shell builtin commands are inherited from the Bourne Shell. These commands are implemented as specified by the POSIX standard. -`: (a colon)' +': (a colon)' : [ARGUMENTS] Do nothing beyond expanding ARGUMENTS and performing redirections. The return status is zero. -`. (a period)' +'. (a period)' . FILENAME [ARGUMENTS] - Read and execute commands from the FILENAME argument in the - current shell context. If FILENAME does not contain a slash, the - `PATH' variable is used to find FILENAME. When Bash is not in - POSIX mode, the current directory is searched if FILENAME is not - found in `$PATH'. If any ARGUMENTS are supplied, they become the - positional parameters when FILENAME is executed. Otherwise the - positional parameters are unchanged. The return status is the - exit status of the last command executed, or zero if no commands - are executed. If FILENAME is not found, or cannot be read, the - return status is non-zero. This builtin is equivalent to `source'. - -`break' + Read and execute commands from the FILENAME argument in the current + shell context. If FILENAME does not contain a slash, the 'PATH' + variable is used to find FILENAME. When Bash is not in POSIX mode, + the current directory is searched if FILENAME is not found in + '$PATH'. If any ARGUMENTS are supplied, they become the positional + parameters when FILENAME is executed. Otherwise the positional + parameters are unchanged. If the '-T' option is enabled, 'source' + inherits any trap on 'DEBUG'; if it is not, any 'DEBUG' trap string + is saved and restored around the call to 'source', and 'source' + unsets the 'DEBUG' trap while it executes. If '-T' is not set, and + the sourced file changes the 'DEBUG' trap, the new value is + retained when 'source' completes. The return status is the exit + status of the last command executed, or zero if no commands are + executed. If FILENAME is not found, or cannot be read, the return + status is non-zero. This builtin is equivalent to 'source'. + +'break' break [N] - Exit from a `for', `while', `until', or `select' loop. If N is - supplied, the Nth enclosing loop is exited. N must be greater - than or equal to 1. The return status is zero unless N is not - greater than or equal to 1. + Exit from a 'for', 'while', 'until', or 'select' loop. If N is + supplied, the Nth enclosing loop is exited. N must be greater than + or equal to 1. The return status is zero unless N is not greater + than or equal to 1. -`cd' +'cd' cd [-L|[-P [-e]] [-@] [DIRECTORY] - Change the current working directory to DIRECTORY. If DIRECTORY - is not supplied, the value of the `HOME' shell variable is used. - Any additional arguments following DIRECTORY are ignored. If the - shell variable `CDPATH' exists, it is used as a search path: each - directory name in `CDPATH' is searched for DIRECTORY, with - alternative directory names in `CDPATH' separated by a colon (`:'). - If DIRECTORY begins with a slash, `CDPATH' is not used. + Change the current working directory to DIRECTORY. If DIRECTORY is + not supplied, the value of the 'HOME' shell variable is used. Any + additional arguments following DIRECTORY are ignored. If the shell + variable 'CDPATH' exists, it is used as a search path: each + directory name in 'CDPATH' is searched for DIRECTORY, with + alternative directory names in 'CDPATH' separated by a colon (':'). + If DIRECTORY begins with a slash, 'CDPATH' is not used. - The `-P' option means to not follow symbolic links: symbolic links - are resolved while `cd' is traversing DIRECTORY and before - processing an instance of `..' in DIRECTORY. + The '-P' option means to not follow symbolic links: symbolic links + are resolved while 'cd' is traversing DIRECTORY and before + processing an instance of '..' in DIRECTORY. - By default, or when the `-L' option is supplied, symbolic links in - DIRECTORY are resolved after `cd' processes an instance of `..' in + By default, or when the '-L' option is supplied, symbolic links in + DIRECTORY are resolved after 'cd' processes an instance of '..' in DIRECTORY. - If `..' appears in DIRECTORY, it is processed by removing the + If '..' appears in DIRECTORY, it is processed by removing the immediately preceding pathname component, back to a slash or the beginning of DIRECTORY. - If the `-e' option is supplied with `-P' and the current working + If the '-e' option is supplied with '-P' and the current working directory cannot be successfully determined after a successful - directory change, `cd' will return an unsuccessful status. + directory change, 'cd' will return an unsuccessful status. - On systems that support it, the `-@' option presents the extended + On systems that support it, the '-@' option presents the extended attributes associated with a file as a directory. - If DIRECTORY is `-', it is converted to `$OLDPWD' before the + If DIRECTORY is '-', it is converted to '$OLDPWD' before the directory change is attempted. - If a non-empty directory name from `CDPATH' is used, or if `-' is + If a non-empty directory name from 'CDPATH' is used, or if '-' is the first argument, and the directory change is successful, the absolute pathname of the new working directory is written to the standard output. @@ -2842,347 +2875,351 @@ standard. The return status is zero if the directory is successfully changed, non-zero otherwise. -`continue' +'continue' continue [N] - Resume the next iteration of an enclosing `for', `while', `until', - or `select' loop. If N is supplied, the execution of the Nth + Resume the next iteration of an enclosing 'for', 'while', 'until', + or 'select' loop. If N is supplied, the execution of the Nth enclosing loop is resumed. N must be greater than or equal to 1. The return status is zero unless N is not greater than or equal to 1. -`eval' +'eval' eval [ARGUMENTS] The arguments are concatenated together into a single command, which is then read and executed, and its exit status returned as - the exit status of `eval'. If there are no arguments or only - empty arguments, the return status is zero. + the exit status of 'eval'. If there are no arguments or only empty + arguments, the return status is zero. -`exec' +'exec' exec [-cl] [-a NAME] [COMMAND [ARGUMENTS]] If COMMAND is supplied, it replaces the shell without creating a - new process. If the `-l' option is supplied, the shell places a + new process. If the '-l' option is supplied, the shell places a dash at the beginning of the zeroth argument passed to COMMAND. - This is what the `login' program does. The `-c' option causes - COMMAND to be executed with an empty environment. If `-a' is + This is what the 'login' program does. The '-c' option causes + COMMAND to be executed with an empty environment. If '-a' is supplied, the shell passes NAME as the zeroth argument to COMMAND. If COMMAND cannot be executed for some reason, a non-interactive - shell exits, unless the `execfail' shell option is enabled. In + shell exits, unless the 'execfail' shell option is enabled. In that case, it returns failure. An interactive shell returns failure if the file cannot be executed. If no COMMAND is specified, redirections may be used to affect the current shell - environment. If there are no redirection errors, the return - status is zero; otherwise the return status is non-zero. + environment. If there are no redirection errors, the return status + is zero; otherwise the return status is non-zero. -`exit' +'exit' exit [N] Exit the shell, returning a status of N to the shell's parent. If N is omitted, the exit status is that of the last command executed. - Any trap on `EXIT' is executed before the shell terminates. + Any trap on 'EXIT' is executed before the shell terminates. -`export' +'export' export [-fn] [-p] [NAME[=VALUE]] Mark each NAME to be passed to child processes in the environment. - If the `-f' option is supplied, the NAMEs refer to shell - functions; otherwise the names refer to shell variables. The `-n' - option means to no longer mark each NAME for export. If no NAMES - are supplied, or if the `-p' option is given, a list of names of - all exported variables is displayed. The `-p' option displays - output in a form that may be reused as input. If a variable name - is followed by =VALUE, the value of the variable is set to VALUE. - - The return status is zero unless an invalid option is supplied, - one of the names is not a valid shell variable name, or `-f' is + If the '-f' option is supplied, the NAMEs refer to shell functions; + otherwise the names refer to shell variables. The '-n' option + means to no longer mark each NAME for export. If no NAMES are + supplied, or if the '-p' option is given, a list of names of all + exported variables is displayed. The '-p' option displays output + in a form that may be reused as input. If a variable name is + followed by =VALUE, the value of the variable is set to VALUE. + + The return status is zero unless an invalid option is supplied, one + of the names is not a valid shell variable name, or '-f' is supplied with a name that is not a shell function. -`getopts' +'getopts' getopts OPTSTRING NAME [ARGS] - `getopts' is used by shell scripts to parse positional parameters. + 'getopts' is used by shell scripts to parse positional parameters. OPTSTRING contains the option characters to be recognized; if a character is followed by a colon, the option is expected to have an argument, which should be separated from it by whitespace. The - colon (`:') and question mark (`?') may not be used as option - characters. Each time it is invoked, `getopts' places 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 variable `OPTIND'. `OPTIND' is initialized to 1 each time the + colon (':') and question mark ('?') may not be used as option + characters. Each time it is invoked, 'getopts' places 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 + 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 variable - `OPTARG'. The shell does not reset `OPTIND' automatically; it - must be manually reset between multiple calls to `getopts' within - the same shell invocation if a new set of parameters is to be used. + argument, 'getopts' places that argument into the variable + 'OPTARG'. The shell does not reset 'OPTIND' automatically; it must + be manually reset between multiple calls to 'getopts' within the + same shell invocation if a new set of parameters is to be used. - When the end of options is encountered, `getopts' exits with a - return value greater than zero. `OPTIND' is set to the index of - the first non-option argument, and NAME is set to `?'. + When the end of options is encountered, 'getopts' exits with a + return value greater than zero. 'OPTIND' is set to the index of + the first non-option argument, and NAME is set to '?'. - `getopts' normally parses the positional parameters, but if more - arguments are given in ARGS, `getopts' parses those instead. + 'getopts' normally parses the positional parameters, but if more + arguments are given in ARGS, 'getopts' parses those instead. - `getopts' can report errors in two ways. If the first character of + 'getopts' can report errors in two ways. If the first character of OPTSTRING is a colon, SILENT error reporting is used. In normal operation, diagnostic messages are printed when invalid options or - missing option arguments are encountered. If the variable `OPTERR' + missing option arguments are encountered. If the variable 'OPTERR' is set to 0, no error messages will be displayed, even if the first - character of `optstring' is not a colon. + character of 'optstring' is not a colon. - If an invalid option is seen, `getopts' places `?' into NAME and, - if not silent, prints an error message and unsets `OPTARG'. If - `getopts' is silent, the option character found is placed in - `OPTARG' and no diagnostic message is printed. + If an invalid option is seen, 'getopts' places '?' into NAME and, + if not silent, prints an error message and unsets 'OPTARG'. If + 'getopts' is silent, the option character found is placed in + 'OPTARG' and no diagnostic message is printed. - If a required argument is not found, and `getopts' is not silent, - a question mark (`?') is placed in NAME, `OPTARG' is unset, and a - diagnostic message is printed. If `getopts' is silent, then a - colon (`:') is placed in NAME and `OPTARG' is set to the option + If a required argument is not found, and 'getopts' is not silent, a + question mark ('?') is placed in NAME, 'OPTARG' is unset, and a + diagnostic message is printed. If 'getopts' is silent, then a + colon (':') is placed in NAME and 'OPTARG' is set to the option character found. -`hash' +'hash' hash [-r] [-p FILENAME] [-dt] [NAME] - Each time `hash' is invoked, it remembers the full pathnames of the + Each time 'hash' is invoked, it remembers the full pathnames of the commands specified as NAME arguments, so they need not be searched - for on subsequent invocations. The commands are found by - searching through the directories listed in `$PATH'. Any - previously-remembered pathname is discarded. The `-p' option + for on subsequent invocations. The commands are found by searching + through the directories listed in '$PATH'. Any + previously-remembered pathname is discarded. The '-p' option inhibits the path search, and FILENAME is used as the location of - NAME. The `-r' option causes the shell to forget all remembered - locations. The `-d' option causes the shell to forget the - remembered location of each NAME. If the `-t' option is supplied, + NAME. The '-r' option causes the shell to forget all remembered + locations. The '-d' option causes the shell to forget the + remembered location of each NAME. If the '-t' option is supplied, the full pathname to which each NAME corresponds is printed. If - multiple NAME arguments are supplied with `-t' the NAME is printed - before the hashed full pathname. The `-l' option causes output to + multiple NAME arguments are supplied with '-t' the NAME is printed + before the hashed full pathname. The '-l' option causes output to be displayed in a format that may be reused as input. If no - arguments are given, or if only `-l' is supplied, information - about remembered commands is printed. The return status is zero - unless a NAME is not found or an invalid option is supplied. + arguments are given, or if only '-l' is supplied, information about + remembered commands is printed. The return status is zero unless a + NAME is not found or an invalid option is supplied. -`pwd' +'pwd' pwd [-LP] Print the absolute pathname of the current working directory. If - the `-P' option is supplied, the pathname printed will not contain - symbolic links. If the `-L' option is supplied, the pathname + the '-P' option is supplied, the pathname printed will not contain + symbolic links. If the '-L' option is supplied, the pathname printed may contain symbolic links. The return status is zero unless an error is encountered while determining the name of the current directory or an invalid option is supplied. -`readonly' +'readonly' readonly [-aAf] [-p] [NAME[=VALUE]] ... Mark each NAME as readonly. The values of these names may not be - changed by subsequent assignment. If the `-f' option is supplied, - each NAME refers to a shell function. The `-a' option means each - NAME refers to an indexed array variable; the `-A' option means - each NAME refers to an associative array variable. If both - options are supplied, `-A' takes precedence. If no NAME arguments - are given, or if the `-p' option is supplied, a list of all - readonly names is printed. The other options may be used to - restrict the output to a subset of the set of readonly names. The - `-p' option causes output to be displayed in a format that may be - reused as input. If a variable name is followed by =VALUE, the - value of the variable is set to VALUE. The return status is zero - unless an invalid option is supplied, one of the NAME arguments is - not a valid shell variable or function name, or the `-f' option is + changed by subsequent assignment. If the '-f' option is supplied, + each NAME refers to a shell function. The '-a' option means each + NAME refers to an indexed array variable; the '-A' option means + each NAME refers to an associative array variable. If both options + are supplied, '-A' takes precedence. If no NAME arguments are + given, or if the '-p' option is supplied, a list of all readonly + names is printed. The other options may be used to restrict the + output to a subset of the set of readonly names. The '-p' option + causes output to be displayed in a format that may be reused as + input. If a variable name is followed by =VALUE, the value of the + variable is set to VALUE. The return status is zero unless an + invalid option is supplied, one of the NAME arguments is not a + valid shell variable or function name, or the '-f' option is supplied with a name that is not a shell function. -`return' +'return' return [N] Cause a shell function to stop executing and return the value N to its caller. If N is not supplied, the return value is the exit - status of the last command executed in the function. `return' may - also be used to terminate execution of a script being executed - with the `.' (`source') builtin, returning either N or the exit - status of the last command executed within the script as the exit - status of the script. If N is supplied, the return value is its - least significant 8 bits. Any command associated with the - `RETURN' trap is executed before execution resumes after the - function or script. The return status is non-zero if `return' is - supplied a non-numeric argument or is used outside a function and - not during the execution of a script by `.' or `source'. - -`shift' + status of the last command executed in the function. If 'return' + is executed by a trap handler, the last command used to determine + the status is the last command executed before the trap handler. + if 'return' is executed during a 'DEBUG' trap, the last command + used to determine the status is the last command executed by the + trap handler before 'return' was invoked. 'return' may also be + used to terminate execution of a script being executed with the '.' + ('source') builtin, returning either N or the exit status of the + last command executed within the script as the exit status of the + script. If N is supplied, the return value is its least + significant 8 bits. Any command associated with the 'RETURN' trap + is executed before execution resumes after the function or script. + The return status is non-zero if 'return' is supplied a non-numeric + argument or is used outside a function and not during the execution + of a script by '.' or 'source'. + +'shift' shift [N] Shift the positional parameters to the left by N. The positional - parameters from N+1 ... `$#' are renamed to `$1' ... `$#'-N. - Parameters represented by the numbers `$#' to `$#'-N+1 are unset. - N must be a non-negative number less than or equal to `$#'. If N - is zero or greater than `$#', the positional parameters are not + parameters from N+1 ... '$#' are renamed to '$1' ... '$#'-N. + Parameters represented by the numbers '$#' to '$#'-N+1 are unset. + N must be a non-negative number less than or equal to '$#'. If N + is zero or greater than '$#', the positional parameters are not changed. If N is not supplied, it is assumed to be 1. The return - status is zero unless N is greater than `$#' or less than zero, + status is zero unless N is greater than '$#' or less than zero, non-zero otherwise. -`test' -`[' +'test' +'[' test EXPR - Evaluate a conditional express ion EXPR and return a status of 0 + Evaluate a conditional expression EXPR and return a status of 0 (true) or 1 (false). Each operator and operand must be a separate argument. Expressions are composed of the primaries described - below in *note Bash Conditional Expressions::. `test' does not + below in *note Bash Conditional Expressions::. 'test' does not accept any options, nor does it accept and ignore an argument of - `--' as signifying the end of options. + '--' as signifying the end of options. - When the `[' form is used, the last argument to the command must - be a `]'. + When the '[' form is used, the last argument to the command must be + a ']'. Expressions may be combined using the following operators, listed in decreasing order of precedence. The evaluation depends on the number of arguments; see below. Operator precedence is used when there are five or more arguments. - `! EXPR' + '! EXPR' True if EXPR is false. - `( EXPR )' + '( EXPR )' Returns the value of EXPR. This may be used to override the normal precedence of operators. - `EXPR1 -a EXPR2' + 'EXPR1 -a EXPR2' True if both EXPR1 and EXPR2 are true. - `EXPR1 -o EXPR2' + 'EXPR1 -o EXPR2' True if either EXPR1 or EXPR2 is true. - The `test' and `[' builtins evaluate conditional expressions using + The 'test' and '[' builtins evaluate conditional expressions using a set of rules based on the number of arguments. - 0 arguments + 0 arguments The expression is false. - 1 argument + 1 argument The expression is true if and only if the argument is not null. - 2 arguments - If the first argument is `!', the expression is true if and - only if the second argument is null. If the first argument - is one of the unary conditional operators (*note Bash - Conditional Expressions::), the expression is true if the - unary test is true. If the first argument is not a valid - unary operator, the expression is false. + 2 arguments + If the first argument is '!', the expression is true if and + only if the second argument is null. If the first argument is + one of the unary conditional operators (*note Bash Conditional + Expressions::), the expression is true if the unary test is + true. If the first argument is not a valid unary operator, + the expression is false. - 3 arguments + 3 arguments The following conditions are applied in the order listed. If - the second argument is one of the binary conditional - operators (*note Bash Conditional Expressions::), the result - of the expression is the result of the binary test using the - first and third arguments as operands. The `-a' and `-o' - operators are considered binary operators when there are - three arguments. If the first argument is `!', the value is - the negation of the two-argument test using the second and - third arguments. If the first argument is exactly `(' and - the third argument is exactly `)', the result is the - one-argument test of the second argument. Otherwise, the - expression is false. - - 4 arguments - If the first argument is `!', the result is the negation of + the second argument is one of the binary conditional operators + (*note Bash Conditional Expressions::), the result of the + expression is the result of the binary test using the first + and third arguments as operands. The '-a' and '-o' operators + are considered binary operators when there are three + arguments. If the first argument is '!', the value is the + negation of the two-argument test using the second and third + arguments. If the first argument is exactly '(' and the third + argument is exactly ')', the result is the one-argument test + of the second argument. Otherwise, the expression is false. + + 4 arguments + If the first argument is '!', the result is the negation of the three-argument expression composed of the remaining arguments. Otherwise, the expression is parsed and evaluated according to precedence using the rules listed above. - 5 or more arguments + 5 or more arguments The expression is parsed and evaluated according to precedence using the rules listed above. - When used with `test' or `[', the `<' and `>' operators sort + When used with 'test' or '[', the '<' and '>' operators sort lexicographically using ASCII ordering. -`times' +'times' times Print out the user and system times used by the shell and its children. The return status is zero. -`trap' +'trap' trap [-lp] [ARG] [SIGSPEC ...] The commands in ARG are to be read and executed when the shell receives signal SIGSPEC. If ARG is absent (and there is a single - SIGSPEC) or equal to `-', each specified signal's disposition is + SIGSPEC) or equal to '-', each specified signal's disposition is reset to the value it had when the shell was started. If ARG is the null string, then the signal specified by each SIGSPEC is ignored by the shell and commands it invokes. If ARG is not - present and `-p' has been supplied, the shell displays the trap + present and '-p' has been supplied, the shell displays the trap commands associated with each SIGSPEC. If no arguments are - supplied, or only `-p' is given, `trap' prints the list of commands + supplied, or only '-p' is given, 'trap' prints the list of commands associated with each signal number in a form that may be reused as - shell input. The `-l' option causes the shell to print a list of + shell input. The '-l' option causes the shell to print a list of signal names and their corresponding numbers. Each SIGSPEC is either a signal name or a signal number. Signal names are case - insensitive and the `SIG' prefix is optional. - - If a SIGSPEC is `0' or `EXIT', ARG is executed when the shell - exits. If a SIGSPEC is `DEBUG', the command ARG is executed - before every simple command, `for' command, `case' command, - `select' command, every arithmetic `for' command, and before the - first command executes in a shell function. Refer to the - description of the `extdebug' option to the `shopt' builtin (*note - The Shopt Builtin::) for details of its effect on the `DEBUG' trap. - If a SIGSPEC is `RETURN', the command ARG is executed each time a - shell function or a script executed with the `.' or `source' - builtins finishes executing. - - If a SIGSPEC is `ERR', the command ARG is executed whenever a - pipeline (which may consist of a single simple command), a list, - or a compound command returns a non-zero exit status, subject to - the following conditions. The `ERR' trap is not executed if the - failed command is part of the command list immediately following - an `until' or `while' keyword, part of the test following the `if' - or `elif' reserved words, part of a command executed in a `&&' or - `||' list except the command following the final `&&' or `||', any + insensitive and the 'SIG' prefix is optional. + + If a SIGSPEC is '0' or 'EXIT', ARG is executed when the shell + exits. If a SIGSPEC is 'DEBUG', the command ARG is executed before + every simple command, 'for' command, 'case' command, 'select' + command, every arithmetic 'for' command, and before the first + command executes in a shell function. Refer to the description of + the 'extdebug' option to the 'shopt' builtin (*note The Shopt + Builtin::) for details of its effect on the 'DEBUG' trap. If a + SIGSPEC is 'RETURN', the command ARG is executed each time a shell + function or a script executed with the '.' or 'source' builtins + finishes executing. + + If a SIGSPEC is 'ERR', the command ARG is executed whenever a + pipeline (which may consist of a single simple command), a list, or + a compound command returns a non-zero exit status, subject to the + following conditions. The 'ERR' trap is not executed if the failed + command is part of the command list immediately following an + 'until' or 'while' keyword, part of the test following the 'if' or + 'elif' reserved words, part of a command executed in a '&&' or '||' + list except the command following the final '&&' or '||', any command in a pipeline but the last, or if the command's return - status is being inverted using `!'. These are the same conditions - obeyed by the `errexit' (`-e') option. + status is being inverted using '!'. These are the same conditions + obeyed by the 'errexit' ('-e') option. Signals ignored upon entry to the shell cannot be trapped or reset. Trapped signals that are not being ignored are reset to their original values in a subshell or subshell environment when one is created. - The return status is zero unless a SIGSPEC does not specify a - valid signal. + The return status is zero unless a SIGSPEC does not specify a valid + signal. -`umask' +'umask' umask [-p] [-S] [MODE] - Set the shell process's file creation mask to MODE. If MODE - begins with a digit, it is interpreted as an octal number; if not, - it is interpreted as a symbolic mode mask similar to that accepted - by the `chmod' command. If MODE is omitted, the current value of - the mask is printed. If the `-S' option is supplied without a - MODE argument, the mask is printed in a symbolic format. If the - `-p' option is supplied, and MODE is omitted, the output is in a - form that may be reused as input. The return status is zero if - the mode is successfully changed or if no MODE argument is - supplied, and non-zero otherwise. + Set the shell process's file creation mask to MODE. If MODE begins + with a digit, it is interpreted as an octal number; if not, it is + interpreted as a symbolic mode mask similar to that accepted by the + 'chmod' command. If MODE is omitted, the current value of the mask + is printed. If the '-S' option is supplied without a MODE + argument, the mask is printed in a symbolic format. If the '-p' + option is supplied, and MODE is omitted, the output is in a form + that may be reused as input. The return status is zero if the mode + is successfully changed or if no MODE argument is supplied, and + non-zero otherwise. Note that when the mode is interpreted as an octal number, each - number of the umask is subtracted from `7'. Thus, a umask of `022' - results in permissions of `755'. + number of the umask is subtracted from '7'. Thus, a umask of '022' + results in permissions of '755'. -`unset' +'unset' unset [-fnv] [NAME] - Remove each variable or function NAME. If the `-v' option is + Remove each variable or function NAME. If the '-v' option is given, each NAME refers to a shell variable and that variable is - remvoved. If the `-f' option is given, the NAMEs refer to shell - functions, and the function definition is removed. If the `-n' + removed. If the '-f' option is given, the NAMEs refer to shell + functions, and the function definition is removed. If the '-n' option is supplied, and NAME is a variable with the NAMEREF attribute, NAME will be unset rather than the variable it - references. `-n' has no effect if the `-f' option is supplied. - If no options are supplied, each NAME refers to a variable; if - there is no variable by that name, any function with that name is - unset. Readonly variables and functions may not be unset. The - return status is zero unless a NAME is readonly. + references. '-n' has no effect if the '-f' option is supplied. If + no options are supplied, each NAME refers to a variable; if there + is no variable by that name, any function with that name is unset. + Readonly variables and functions may not be unset. The return + status is zero unless a NAME is readonly.  File: bashref.info, Node: Bash Builtins, Next: Modifying Shell Behavior, Prev: Bourne Shell Builtins, Up: Shell Builtin Commands @@ -3190,433 +3227,418 @@ File: bashref.info, Node: Bash Builtins, Next: Modifying Shell Behavior, Prev 4.2 Bash Builtin Commands ========================= -This section describes builtin commands which are unique to or have -been extended in Bash. Some of these commands are specified in the -POSIX standard. +This section describes builtin commands which are unique to or have been +extended in Bash. Some of these commands are specified in the POSIX +standard. -`alias' +'alias' alias [-p] [NAME[=VALUE] ...] - Without arguments or with the `-p' option, `alias' prints the list + Without arguments or with the '-p' option, 'alias' prints the list of aliases on the standard output in a form that allows them to be reused as input. If arguments are supplied, an alias is defined for each NAME whose VALUE is given. If no VALUE is given, the name and value of the alias is printed. Aliases are described in *note Aliases::. -`bind' +'bind' bind [-m KEYMAP] [-lpsvPSVX] bind [-m KEYMAP] [-q FUNCTION] [-u FUNCTION] [-r KEYSEQ] bind [-m KEYMAP] -f FILENAME bind [-m KEYMAP] -x KEYSEQ:SHELL-COMMAND bind [-m KEYMAP] KEYSEQ:FUNCTION-NAME - bind READLINE-COMMAND + bind [-m KEYMAP] KEYSEQ:READLINE-COMMAND Display current Readline (*note Command Line Editing::) key and function bindings, bind a key sequence to a Readline function or macro, or set a Readline variable. Each non-option argument is a - command as it would appear in a Readline initialization file - (*note Readline Init File::), but each binding or command must be - passed as a separate argument; e.g., - `"\C-x\C-r":re-read-init-file'. + command as it would appear in a Readline initialization file (*note + Readline Init File::), but each binding or command must be passed + as a separate argument; e.g., '"\C-x\C-r":re-read-init-file'. Options, if supplied, have the following meanings: - `-m KEYMAP' + '-m KEYMAP' Use KEYMAP as the keymap to be affected by the subsequent - bindings. Acceptable KEYMAP names are `emacs', - `emacs-standard', `emacs-meta', `emacs-ctlx', `vi', `vi-move', - `vi-command', and `vi-insert'. `vi' is equivalent to - `vi-command'; `emacs' is equivalent to `emacs-standard'. + bindings. Acceptable KEYMAP names are 'emacs', + 'emacs-standard', 'emacs-meta', 'emacs-ctlx', 'vi', 'vi-move', + 'vi-command', and 'vi-insert'. 'vi' is equivalent to + 'vi-command' ('vi-move' is also a synonym); 'emacs' is + equivalent to 'emacs-standard'. - `-l' + '-l' List the names of all Readline functions. - `-p' + '-p' Display Readline function names and bindings in such a way - that they can be used as input or in a Readline - initialization file. + that they can be used as input or in a Readline initialization + file. - `-P' + '-P' List current Readline function names and bindings. - `-v' + '-v' Display Readline variable names and values in such a way that they can be used as input or in a Readline initialization file. - `-V' + '-V' List current Readline variable names and values. - `-s' - Display Readline key sequences bound to macros and the - strings they output in such a way that they can be used as - input or in a Readline initialization file. + '-s' + Display Readline key sequences bound to macros and the strings + they output in such a way that they can be used as input or in + a Readline initialization file. - `-S' - Display Readline key sequences bound to macros and the - strings they output. + '-S' + Display Readline key sequences bound to macros and the strings + they output. - `-f FILENAME' + '-f FILENAME' Read key bindings from FILENAME. - `-q FUNCTION' + '-q FUNCTION' Query about which keys invoke the named FUNCTION. - `-u FUNCTION' + '-u FUNCTION' Unbind all keys bound to the named FUNCTION. - `-r KEYSEQ' + '-r KEYSEQ' Remove any current binding for KEYSEQ. - `-x KEYSEQ:SHELL-COMMAND' + '-x KEYSEQ:SHELL-COMMAND' Cause SHELL-COMMAND to be executed whenever KEYSEQ is entered. When SHELL-COMMAND is executed, the shell sets the - `READLINE_LINE' variable to the contents of the Readline line - buffer and the `READLINE_POINT' variable to the current + 'READLINE_LINE' variable to the contents of the Readline line + buffer and the 'READLINE_POINT' variable to the current location of the insertion point. If the executed command - changes the value of `READLINE_LINE' or `READLINE_POINT', + changes the value of 'READLINE_LINE' or 'READLINE_POINT', those new values will be reflected in the editing state. - `-X' + '-X' List all key sequences bound to shell commands and the associated commands in a format that can be reused as input. The return status is zero unless an invalid option is supplied or an error occurs. -`builtin' +'builtin' builtin [SHELL-BUILTIN [ARGS]] Run a shell builtin, passing it ARGS, and return its exit status. - This is useful when defining a shell function with the same name - as a shell builtin, retaining the functionality of the builtin - within the function. The return status is non-zero if - SHELL-BUILTIN is not a shell builtin command. + This is useful when defining a shell function with the same name as + a shell builtin, retaining the functionality of the builtin within + the function. The return status is non-zero if SHELL-BUILTIN is + not a shell builtin command. -`caller' +'caller' caller [EXPR] - Returns the context of any active subroutine call (a shell - function or a script executed with the `.' or `source' builtins). + Returns the context of any active subroutine call (a shell function + or a script executed with the '.' or 'source' builtins). - Without EXPR, `caller' displays the line number and source - filename of the current subroutine call. If a non-negative - integer is supplied as EXPR, `caller' displays the line number, - subroutine name, and source file corresponding to that position in - the current execution call stack. This extra information may be - used, for example, to print a stack trace. The current frame is - frame 0. + Without EXPR, 'caller' displays the line number and source filename + of the current subroutine call. If a non-negative integer is + supplied as EXPR, 'caller' displays the line number, subroutine + name, and source file corresponding to that position in the current + execution call stack. This extra information may be used, for + example, to print a stack trace. The current frame is frame 0. The return value is 0 unless the shell is not executing a subroutine call or EXPR does not correspond to a valid position in the call stack. -`command' +'command' command [-pVv] COMMAND [ARGUMENTS ...] Runs COMMAND with ARGUMENTS ignoring any shell function named COMMAND. Only shell builtin commands or commands found by - searching the `PATH' are executed. If there is a shell function - named `ls', running `command ls' within the function will execute - the external command `ls' instead of calling the function - recursively. The `-p' option means to use a default value for - `PATH' that is guaranteed to find all of the standard utilities. - The return status in this case is 127 if COMMAND cannot be found - or an error occurred, and the exit status of COMMAND otherwise. - - If either the `-V' or `-v' option is supplied, a description of - COMMAND is printed. The `-v' option causes a single word + searching the 'PATH' are executed. If there is a shell function + named 'ls', running 'command ls' within the function will execute + the external command 'ls' instead of calling the function + recursively. The '-p' option means to use a default value for + 'PATH' that is guaranteed to find all of the standard utilities. + The return status in this case is 127 if COMMAND cannot be found or + an error occurred, and the exit status of COMMAND otherwise. + + If either the '-V' or '-v' option is supplied, a description of + COMMAND is printed. The '-v' option causes a single word indicating the command or file name used to invoke COMMAND to be - displayed; the `-V' option produces a more verbose description. - In this case, the return status is zero if COMMAND is found, and + displayed; the '-V' option produces a more verbose description. In + this case, the return status is zero if COMMAND is found, and non-zero if not. -`declare' +'declare' declare [-aAfFgilnrtux] [-p] [NAME[=VALUE] ...] - Declare variables and give them attributes. If no NAMEs are - given, then display the values of variables instead. + Declare variables and give them attributes. If no NAMEs are given, + then display the values of variables instead. - The `-p' option will display the attributes and values of each - NAME. When `-p' is used with NAME arguments, additional options, - other than `-f' and `-F', are ignored. + The '-p' option will display the attributes and values of each + NAME. When '-p' is used with NAME arguments, additional options, + other than '-f' and '-F', are ignored. - When `-p' is supplied without NAME arguments, `declare' will + When '-p' is supplied without NAME arguments, 'declare' will display the attributes and values of all variables having the attributes specified by the additional options. If no other - options are supplied with `-p', `declare' will display the - attributes and values of all shell variables. The `-f' option - will restrict the display to shell functions. - - The `-F' option inhibits the display of function definitions; only - the function name and attributes are printed. If the `extdebug' - shell option is enabled using `shopt' (*note The Shopt Builtin::), - the source file name and line number where the function is defined - are displayed as well. `-F' implies `-f'. - - The `-g' option forces variables to be created or modified at the - global scope, even when `declare' is executed in a shell function. + options are supplied with '-p', 'declare' will display the + attributes and values of all shell variables. The '-f' option will + restrict the display to shell functions. + + The '-F' option inhibits the display of function definitions; only + the function name and attributes are printed. If the 'extdebug' + shell option is enabled using 'shopt' (*note The Shopt Builtin::), + the source file name and line number where each NAME is defined are + displayed as well. '-F' implies '-f'. + + The '-g' option forces variables to be created or modified at the + global scope, even when 'declare' is executed in a shell function. It is ignored in all other cases. The following options can be used to restrict output to variables with the specified attributes or to give variables attributes: - `-a' + '-a' Each NAME is an indexed array variable (*note Arrays::). - `-A' + '-A' Each NAME is an associative array variable (*note Arrays::). - `-f' + '-f' Use function names only. - `-i' + '-i' The variable is to be treated as an integer; arithmetic evaluation (*note Shell Arithmetic::) is performed when the variable is assigned a value. - `-l' + '-l' When the variable is assigned a value, all upper-case characters are converted to lower-case. The upper-case attribute is disabled. - `-n' + '-n' Give each NAME the NAMEREF attribute, making it a name - reference to another variable. That other variable is - defined by the value of NAME. All references and assignments - to NAME, except for changing the `-n' attribute itself, are - performed on the variable referenced by NAME's value. The - `-n' attribute cannot be applied to array variables. - - `-r' + reference to another variable. That other variable is defined + by the value of NAME. All references, assignments, and + attribute modifications to NAME, except for those using or + changing the '-n' attribute itself, are performed on the + variable referenced by NAME's value. The nameref attribute + cannot be applied to array variables. + + '-r' Make NAMEs readonly. These names cannot then be assigned values by subsequent assignment statements or unset. - `-t' - Give each NAME the `trace' attribute. Traced functions - inherit the `DEBUG' and `RETURN' traps from the calling shell. + '-t' + Give each NAME the 'trace' attribute. Traced functions + inherit the 'DEBUG' and 'RETURN' traps from the calling shell. The trace attribute has no special meaning for variables. - `-u' + '-u' When the variable is assigned a value, all lower-case characters are converted to upper-case. The lower-case attribute is disabled. - `-x' + '-x' Mark each NAME for export to subsequent commands via the environment. - Using `+' instead of `-' turns off the attribute instead, with the - exceptions that `+a' may not be used to destroy an array variable - and `+r' will not remove the readonly attribute. When used in a - function, `declare' makes each NAME local, as with the `local' - command, unless the `-g' option is used. If a variable name is + Using '+' instead of '-' turns off the attribute instead, with the + exceptions that '+a' may not be used to destroy an array variable + and '+r' will not remove the readonly attribute. When used in a + function, 'declare' makes each NAME local, as with the 'local' + command, unless the '-g' option is used. If a variable name is followed by =VALUE, the value of the variable is set to VALUE. - When using `-a' or `-A' and the compound assignment syntax to + When using '-a' or '-A' and the compound assignment syntax to create array variables, additional attributes do not take effect until subsequent assignments. The return status is zero unless an invalid option is encountered, - an attempt is made to define a function using `-f foo=bar', an + an attempt is made to define a function using '-f foo=bar', an attempt is made to assign a value to a readonly variable, an attempt is made to assign a value to an array variable without using the compound assignment syntax (*note Arrays::), one of the NAMES is not a valid shell variable name, an attempt is made to turn off readonly status for a readonly variable, an attempt is made to turn off array status for an array variable, or an attempt - is made to display a non-existent function with `-f'. + is made to display a non-existent function with '-f'. -`echo' +'echo' echo [-neE] [ARG ...] Output the ARGs, separated by spaces, terminated with a newline. - The return status is 0 unless a write error occurs. If `-n' is - specified, the trailing newline is suppressed. If the `-e' option + The return status is 0 unless a write error occurs. If '-n' is + specified, the trailing newline is suppressed. If the '-e' option is given, interpretation of the following backslash-escaped - characters is enabled. The `-E' option disables the - interpretation of these escape characters, even on systems where - they are interpreted by default. The `xpg_echo' shell option may - be used to dynamically determine whether or not `echo' expands - these escape characters by default. `echo' does not interpret - `--' to mean the end of options. - - `echo' interprets the following escape sequences: - `\a' + characters is enabled. The '-E' option disables the interpretation + of these escape characters, even on systems where they are + interpreted by default. The 'xpg_echo' shell option may be used to + dynamically determine whether or not 'echo' expands these escape + characters by default. 'echo' does not interpret '--' to mean the + end of options. + + 'echo' interprets the following escape sequences: + '\a' alert (bell) - - `\b' + '\b' backspace - - `\c' + '\c' suppress further output - - `\e' - `\E' + '\e' + '\E' escape - - `\f' + '\f' form feed - - `\n' + '\n' new line - - `\r' + '\r' carriage return - - `\t' + '\t' horizontal tab - - `\v' + '\v' vertical tab - - `\\' + '\\' backslash - - `\0NNN' + '\0NNN' the eight-bit character whose value is the octal value NNN (zero to three octal digits) - - `\xHH' + '\xHH' the eight-bit character whose value is the hexadecimal value HH (one or two hex digits) - - `\uHHHH' + '\uHHHH' the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value HHHH (one to four hex digits) - - `\UHHHHHHHH' + '\UHHHHHHHH' the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value HHHHHHHH (one to eight hex digits) -`enable' +'enable' enable [-a] [-dnps] [-f FILENAME] [NAME ...] Enable and disable builtin shell commands. Disabling a builtin - allows a disk command which has the same name as a shell builtin - to be executed without specifying a full pathname, even though the - shell normally searches for builtins before disk commands. If - `-n' is used, the NAMEs become disabled. Otherwise NAMEs are - enabled. For example, to use the `test' binary found via `$PATH' - instead of the shell builtin version, type `enable -n test'. - - If the `-p' option is supplied, or no NAME arguments appear, a - list of shell builtins is printed. With no other arguments, the - list consists of all enabled shell builtins. The `-a' option - means to list each builtin with an indication of whether or not it - is enabled. - - The `-f' option means to load the new builtin command NAME from + allows a disk command which has the same name as a shell builtin to + be executed without specifying a full pathname, even though the + shell normally searches for builtins before disk commands. If '-n' + is used, the NAMEs become disabled. Otherwise NAMEs are enabled. + For example, to use the 'test' binary found via '$PATH' instead of + the shell builtin version, type 'enable -n test'. + + If the '-p' option is supplied, or no NAME arguments appear, a list + of shell builtins is printed. With no other arguments, the list + consists of all enabled shell builtins. The '-a' option means to + list each builtin with an indication of whether or not it is + enabled. + + The '-f' option means to load the new builtin command NAME from shared object FILENAME, on systems that support dynamic loading. - The `-d' option will delete a builtin loaded with `-f'. + The '-d' option will delete a builtin loaded with '-f'. If there are no options, a list of the shell builtins is displayed. - The `-s' option restricts `enable' to the POSIX special builtins. - If `-s' is used with `-f', the new builtin becomes a special + The '-s' option restricts 'enable' to the POSIX special builtins. + If '-s' is used with '-f', the new builtin becomes a special builtin (*note Special Builtins::). The return status is zero unless a NAME is not a shell builtin or there is an error loading a new builtin from a shared object. -`help' +'help' help [-dms] [PATTERN] Display helpful information about builtin commands. If PATTERN is - specified, `help' gives detailed help on all commands matching + specified, 'help' gives detailed help on all commands matching PATTERN, otherwise a list of the builtins is printed. Options, if supplied, have the following meanings: - `-d' + '-d' Display a short description of each PATTERN - - `-m' + '-m' Display the description of each PATTERN in a manpage-like format - - `-s' + '-s' Display only a short usage synopsis for each PATTERN The return status is zero unless no command matches PATTERN. -`let' +'let' let EXPRESSION [EXPRESSION ...] - The `let' builtin allows arithmetic to be performed on shell + The 'let' builtin allows arithmetic to be performed on shell variables. Each EXPRESSION is evaluated according to the rules given below in *note Shell Arithmetic::. If the last EXPRESSION - evaluates to 0, `let' returns 1; otherwise 0 is returned. + evaluates to 0, 'let' returns 1; otherwise 0 is returned. -`local' +'local' local [OPTION] NAME[=VALUE] ... For each argument, a local variable named NAME is created, and assigned VALUE. The OPTION can be any of the options accepted by - `declare'. `local' can only be used within a function; it makes + 'declare'. 'local' can only be used within a function; it makes the variable NAME have a visible scope restricted to that function - and its children. The return status is zero unless `local' is - used outside a function, an invalid NAME is supplied, or NAME is a - readonly variable. - -`logout' + and its children. If NAME is '-', the set of shell options is made + local to the function in which 'local' is invoked: shell options + changed using the 'set' builtin inside the function are restored to + their original values when the function returns. The return status + is zero unless 'local' is used outside a function, an invalid NAME + is supplied, or NAME is a readonly variable. + +'logout' logout [N] Exit a login shell, returning a status of N to the shell's parent. -`mapfile' - mapfile [-n COUNT] [-O ORIGIN] [-s COUNT] [-t] [-u FD] +'mapfile' + mapfile [-d DELIM] [-n COUNT] [-O ORIGIN] [-s COUNT] [-t] [-u FD] [-C CALLBACK] [-c QUANTUM] [ARRAY] 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, if - supplied, have the following meanings: + ARRAY, or from file descriptor FD if the '-u' option is supplied. + The variable 'MAPFILE' is the default ARRAY. Options, if supplied, + have the following meanings: - `-n' + '-d' + The first character of DELIM is used to terminate each input + line, rather than newline. + '-n' Copy at most COUNT lines. If COUNT is 0, all lines are copied. - - `-O' + '-O' Begin assigning to ARRAY at index ORIGIN. The default index is 0. - - `-s' + '-s' Discard the first COUNT lines read. - - `-t' - Remove a trailing newline from each line read. - - `-u' + '-t' + Remove a trailing DELIM (default newline) from each line read. + '-u' Read lines from file descriptor FD instead of the standard input. - - `-C' - Evaluate CALLBACK each time QUANTUMP lines are read. The - `-c' option specifies QUANTUM. - - `-c' + '-C' + Evaluate CALLBACK each time QUANTUMP lines are read. The '-c' + option specifies QUANTUM. + '-c' Specify the number of lines read between each call to CALLBACK. - If `-C' is specified without `-c', the default quantum is 5000. - When CALLBACK is evaluated, it is supplied the index of the next + If '-C' is specified without '-c', the default quantum is 5000. + When CALLBACK is evaluated, it is supplied the index of the next array element to be assigned and the line to be assigned to that element as additional arguments. CALLBACK is evaluated after the line is read but before the array element is assigned. - If not supplied with an explicit origin, `mapfile' will clear ARRAY + If not supplied with an explicit origin, 'mapfile' will clear ARRAY before assigning to it. - `mapfile' returns successfully unless an invalid option or option - argument is supplied, ARRAY is invalid or unassignable, or ARRAY - is not an indexed array. + 'mapfile' returns successfully unless an invalid option or option + argument is supplied, ARRAY is invalid or unassignable, or ARRAY is + not an indexed array. -`printf' +'printf' printf [-v VAR] FORMAT [ARGUMENTS] Write the formatted ARGUMENTS to the standard output under the - control of the FORMAT. The `-v' option causes the output to be + control of the FORMAT. The '-v' option causes the output to be assigned to the variable VAR rather than being printed to the standard output. @@ -3625,34 +3647,30 @@ POSIX 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 `printf(1)' formats, `printf' interprets the - following extensions: - - `%b' - Causes `printf' to expand backslash escape sequences in the - corresponding ARGUMENT, except that `\c' terminates output, - backslashes in `\'', `\"', and `\?' are not removed, and - octal escapes beginning with `\0' may contain up to four - digits. - - `%q' - Causes `printf' to output the corresponding ARGUMENT in a + the standard 'printf(1)' formats, 'printf' interprets the following + extensions: + + '%b' + Causes 'printf' to expand backslash escape sequences in the + corresponding ARGUMENT in the same way as 'echo -e' (*note + Bash Builtins::). + '%q' + Causes 'printf' to output the corresponding ARGUMENT in a format that can be reused as shell input. - - `%(DATEFMT)T' - Causes `printf' to output the date-time string resulting from - using DATEFMT as a format string for `strftime'(3). The + '%(DATEFMT)T' + Causes 'printf' to output the date-time string resulting from + using DATEFMT as a format string for 'strftime'(3). The corresponding ARGUMENT is an integer representing the number of seconds since the epoch. Two special argument values may - be used: -1 represents the current time, and -2 represents - the time the shell was invoked. If no argument is specified, + be used: -1 represents the current time, and -2 represents the + time the shell was invoked. If no argument is specified, conversion behaves as if -1 had been given. This is an - exception to the usual `printf' behavior. + exception to the usual 'printf' behavior. - Arguments to non-string format specifiers are treated as C - language constants, except that a leading plus or minus sign is - allowed, and if the leading character is a single or double quote, - the value is the ASCII value of the following character. + Arguments to non-string format specifiers are treated as C language + constants, except that a leading plus or minus sign is allowed, and + if the leading character is a single or double quote, the value is + the ASCII value of the following character. The FORMAT is reused as necessary to consume all of the ARGUMENTS. If the FORMAT requires more ARGUMENTS than are supplied, the extra @@ -3660,240 +3678,253 @@ POSIX standard. appropriate, had been supplied. The return value is zero on success, non-zero on failure. -`read' +'read' read [-ers] [-a ANAME] [-d DELIM] [-i TEXT] [-n NCHARS] [-N NCHARS] [-p PROMPT] [-t TIMEOUT] [-u FD] [NAME ...] One line is read from the standard input, or from the file - descriptor FD supplied as an argument to the `-u' option, and the + descriptor FD supplied as an argument to the '-u' option, split + into words as described above in *note Word Splitting::, and the first word is assigned to the first NAME, the second word to the - second NAME, and so on, with leftover words and their intervening - separators assigned to the last NAME. If there are fewer words - read from the input stream than names, the remaining names are - assigned empty values. The characters in the value of the `IFS' - variable are used to split the line into words using the same - rules the shell uses for expansion (described above in *note Word - Splitting::). The backslash character `\' may be used to remove - any special meaning for the next character read and for line - continuation. If no names are supplied, the line read is assigned - to the variable `REPLY'. The return code is zero, unless - end-of-file is encountered, `read' times out (in which case the - return code is greater than 128), a variable assignment error - (such as assigning to a readonly variable) occurs, or an invalid - file descriptor is supplied as the argument to `-u'. + second NAME, and so on. If there are more words than names, the + remaining words and their intervening delimiters are assigned to + the last NAME. If there are fewer words read from the input stream + than names, the remaining names are assigned empty values. The + characters in the value of the 'IFS' variable are used to split the + line into words using the same rules the shell uses for expansion + (described above in *note Word Splitting::). The backslash + character '\' may be used to remove any special meaning for the + next character read and for line continuation. If no names are + supplied, the line read is assigned to the variable 'REPLY'. The + exit status is zero, unless end-of-file is encountered, 'read' + times out (in which case the status is greater than 128), a + variable assignment error (such as assigning to a readonly + variable) occurs, or an invalid file descriptor is supplied as the + argument to '-u'. Options, if supplied, have the following meanings: - `-a ANAME' + '-a ANAME' The words are assigned to sequential indices of the array variable ANAME, starting at 0. All elements are removed from ANAME before the assignment. Other NAME arguments are ignored. - `-d DELIM' + '-d DELIM' The first character of DELIM is used to terminate the input line, rather than newline. - `-e' + '-e' Readline (*note Command Line Editing::) is used to obtain the line. Readline uses the current (or default, if line editing was not previously active) editing settings. - `-i TEXT' + '-i TEXT' If Readline is being used to read the line, TEXT is placed into the editing buffer before editing begins. - `-n NCHARS' - `read' returns after reading NCHARS characters rather than - waiting for a complete line of input, but honor a delimiter + '-n NCHARS' + 'read' returns after reading NCHARS characters rather than + waiting for a complete line of input, but honors a delimiter if fewer than NCHARS characters are read before the delimiter. - `-N NCHARS' - `read' returns after reading exactly NCHARS characters rather + '-N NCHARS' + 'read' returns after reading exactly NCHARS characters rather than waiting for a complete line of input, unless EOF is - encountered or `read' times out. Delimiter characters + encountered or 'read' times out. Delimiter characters encountered in the input are not treated specially and do not - cause `read' to return until NCHARS characters are read. + cause 'read' to return until NCHARS characters are read. The + result is not split on the characters in 'IFS'; the intent is + that the variable is assigned exactly the characters read + (with the exception of backslash; see the '-r' option below). - `-p PROMPT' + '-p PROMPT' Display PROMPT, without a trailing newline, before attempting to read any input. The prompt is displayed only if input is coming from a terminal. - `-r' + '-r' If this option is given, backslash does not act as an escape character. The backslash is considered to be part of the - line. In particular, a backslash-newline pair may not be - used as a line continuation. + line. In particular, a backslash-newline pair may not be used + as a line continuation. - `-s' + '-s' Silent mode. If input is coming from a terminal, characters are not echoed. - `-t TIMEOUT' - Cause `read' to time out and return failure if a complete - line of input (or a specified number of characters) is not - read within TIMEOUT seconds. TIMEOUT may be a decimal - number with a fractional portion following the decimal point. - This option is only effective if `read' is reading input from - a terminal, pipe, or other special file; it has no effect - when reading from regular files. If `read' times out, `read' - saves any partial input read into the specified variable NAME. - If TIMEOUT is 0, `read' returns immediately, without trying to + '-t TIMEOUT' + Cause 'read' to time out and return failure if a complete line + of input (or a specified number of characters) is not read + within TIMEOUT seconds. TIMEOUT may be a decimal number with + a fractional portion following the decimal point. This option + is only effective if 'read' is reading input from a terminal, + pipe, or other special file; it has no effect when reading + from regular files. If 'read' times out, 'read' saves any + partial input read into the specified variable NAME. If + TIMEOUT is 0, 'read' returns immediately, without trying to read and data. The exit status is 0 if input is available on the specified file descriptor, non-zero otherwise. The exit status is greater than 128 if the timeout is exceeded. - `-u FD' + '-u FD' Read input from file descriptor FD. -`readarray' - readarray [-n COUNT] [-O ORIGIN] [-s COUNT] [-t] [-u FD] +'readarray' + readarray [-d DELIM] [-n COUNT] [-O ORIGIN] [-s COUNT] [-t] [-u FD] [-C CALLBACK] [-c QUANTUM] [ARRAY] Read lines from the standard input into the indexed array variable - ARRAY, or from file descriptor FD if the `-u' option is supplied. + ARRAY, or from file descriptor FD if the '-u' option is supplied. - A synonym for `mapfile'. + A synonym for 'mapfile'. -`source' +'source' source FILENAME - A synonym for `.' (*note Bourne Shell Builtins::). + A synonym for '.' (*note Bourne Shell Builtins::). -`type' +'type' type [-afptP] [NAME ...] For each NAME, indicate how it would be interpreted if used as a command name. - If the `-t' option is used, `type' prints a single word which is - one of `alias', `function', `builtin', `file' or `keyword', if - NAME is an alias, shell function, shell builtin, disk file, or - shell reserved word, respectively. If the NAME is not found, then - nothing is printed, and `type' returns a failure status. + If the '-t' option is used, 'type' prints a single word which is + one of 'alias', 'function', 'builtin', 'file' or 'keyword', if NAME + is an alias, shell function, shell builtin, disk file, or shell + reserved word, respectively. If the NAME is not found, then + nothing is printed, and 'type' returns a failure status. - If the `-p' option is used, `type' either returns the name of the - disk file that would be executed, or nothing if `-t' would not - return `file'. + If the '-p' option is used, 'type' either returns the name of the + disk file that would be executed, or nothing if '-t' would not + return 'file'. - The `-P' option forces a path search for each NAME, even if `-t' - would not return `file'. + The '-P' option forces a path search for each NAME, even if '-t' + would not return 'file'. - If a command is hashed, `-p' and `-P' print the hashed value, - which is not necessarily the file that appears first in `$PATH'. + If a command is hashed, '-p' and '-P' print the hashed value, which + is not necessarily the file that appears first in '$PATH'. - If the `-a' option is used, `type' returns all of the places that + If the '-a' option is used, 'type' returns all of the places that contain an executable named FILE. This includes aliases and - functions, if and only if the `-p' option is not also used. + functions, if and only if the '-p' option is not also used. - If the `-f' option is used, `type' does not attempt to find shell - functions, as with the `command' builtin. + If the '-f' option is used, 'type' does not attempt to find shell + functions, as with the 'command' builtin. The return status is zero if all of the NAMES are found, non-zero if any are not found. -`typeset' +'typeset' typeset [-afFgrxilnrtux] [-p] [NAME[=VALUE] ...] - The `typeset' command is supplied for compatibility with the Korn - shell. It is a synonym for the `declare' builtin command. + The 'typeset' command is supplied for compatibility with the Korn + shell. It is a synonym for the 'declare' builtin command. -`ulimit' - ulimit [-abcdefilmnpqrstuvxHST] [LIMIT] +'ulimit' + ulimit [-HSabcdefiklmnpqrstuvxPT] [LIMIT] - `ulimit' provides control over the resources available to processes + 'ulimit' provides control over the resources available to processes started by the shell, on systems that allow such control. If an option is given, it is interpreted as follows: - `-S' + '-S' Change and report the soft limit associated with a resource. - `-H' + '-H' Change and report the hard limit associated with a resource. - `-a' + '-a' All current limits are reported. - `-b' + '-b' The maximum socket buffer size. - `-c' + '-c' The maximum size of core files created. - `-d' + '-d' The maximum size of a process's data segment. - `-e' + '-e' The maximum scheduling priority ("nice"). - `-f' + '-f' The maximum size of files written by the shell and its children. - `-i' + '-i' The maximum number of pending signals. - `-l' + '-k' + The maximum number of kqueues that may be allocated. + + '-l' The maximum size that may be locked into memory. - `-m' + '-m' The maximum resident set size (many systems do not honor this limit). - `-n' + '-n' The maximum number of open file descriptors (most systems do not allow this value to be set). - `-p' + '-p' The pipe buffer size. - `-q' + '-q' The maximum number of bytes in POSIX message queues. - `-r' + '-r' The maximum real-time scheduling priority. - `-s' + '-s' The maximum stack size. - `-t' + '-t' The maximum amount of cpu time in seconds. - `-u' + '-u' The maximum number of processes available to a single user. - `-v' + '-v' The maximum amount of virtual memory available to the shell, and, on some systems, to its children. - `-x' + '-x' The maximum number of file locks. - `-T' + '-P' + The maximum number of pseudoterminals. + + '-T' The maximum number of threads. - If LIMIT is given, and the `-a' option is not used, LIMIT is the + If LIMIT is given, and the '-a' option is not used, LIMIT is the new value of the specified resource. The special LIMIT values - `hard', `soft', and `unlimited' stand for the current hard limit, + 'hard', 'soft', and 'unlimited' stand for the current hard limit, the current soft limit, and no limit, respectively. A hard limit - cannot be increased by a non-root user once it is set; a soft - limit may be increased up to the value of the hard limit. - Otherwise, the current value of the soft limit for the specified - resource is printed, unless the `-H' option is supplied. When - setting new limits, if neither `-H' nor `-S' is supplied, both the - hard and soft limits are set. 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 units of 512-byte blocks; - and `-T', `-b', `-n' and `-u', which are unscaled values. + cannot be increased by a non-root user once it is set; a soft limit + may be increased up to the value of the hard limit. Otherwise, the + current value of the soft limit for the specified resource is + printed, unless the '-H' option is supplied. When setting new + limits, if neither '-H' nor '-S' is supplied, both the hard and + soft limits are set. 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 units of 512-byte blocks; '-P', '-T', + '-b', '-k', '-n' and '-u', which are unscaled values; and, when in + POSIX Mode (*note Bash POSIX Mode::), '-c' and '-f', which are in + 512-byte increments. The return status is zero unless an invalid option or argument is supplied, or an error occurs while setting a new limit. -`unalias' +'unalias' unalias [-a] [NAME ... ] - Remove each NAME from the list of aliases. If `-a' is supplied, + Remove each NAME from the list of aliases. If '-a' is supplied, all aliases are removed. Aliases are described in *note Aliases::.  @@ -3914,276 +3945,277 @@ File: bashref.info, Node: The Set Builtin, Next: The Shopt Builtin, Up: Modif 4.3.1 The Set Builtin --------------------- -This builtin is so complicated that it deserves its own section. `set' +This builtin is so complicated that it deserves its own section. 'set' allows you to change the values of shell options and set the positional parameters, or to display the names and values of shell variables. -`set' +'set' set [--abefhkmnptuvxBCEHPT] [-o OPTION-NAME] [ARGUMENT ...] set [+abefhkmnptuvxBCEHPT] [+o OPTION-NAME] [ARGUMENT ...] - If no options or arguments are supplied, `set' displays the names + If no options or arguments are supplied, 'set' displays the names and values of all shell variables and functions, sorted according to the current locale, in a format that may be reused as input for setting or resetting the currently-set variables. Read-only - variables cannot be reset. In POSIX mode, only shell variables - are listed. + variables cannot be reset. In POSIX mode, only shell variables are + listed. When options are supplied, they set or unset shell attributes. Options, if specified, have the following meanings: - `-a' - Mark variables and function which are modified or created for - export to the environment of subsequent commands. + '-a' + Each variable or function that is created or modified is given + the export attribute and marked for export to the environment + of subsequent commands. - `-b' + '-b' Cause the status of terminated background jobs to be reported immediately, rather than before printing the next primary prompt. - `-e' + '-e' Exit immediately if a pipeline (*note Pipelines::), which may consist of a single simple command (*note Simple Commands::), a list (*note Lists::), or a compound command (*note Compound Commands::) returns a non-zero status. The shell does not exit if the command that fails is part of the command list - immediately following a `while' or `until' keyword, part of - the test in an `if' statement, part of any command executed - in a `&&' or `||' list except the command following the final - `&&' or `||', any command in a pipeline but the last, or if - the command's return status is being inverted with `!'. If a + immediately following a 'while' or 'until' keyword, part of + the test in an 'if' statement, part of any command executed in + a '&&' or '||' list except the command following the final + '&&' or '||', any command in a pipeline but the last, or if + the command's return status is being inverted with '!'. If a compound command other than a subshell returns a non-zero - status because a command failed while `-e' was being ignored, - the shell does not exit. A trap on `ERR', if set, is - executed before the shell exits. + status because a command failed while '-e' was being ignored, + the shell does not exit. A trap on 'ERR', if set, is executed + before the shell exits. - This option applies to the shell environment and each - subshell environment separately (*note Command Execution + This option applies to the shell environment and each subshell + environment separately (*note Command Execution Environment::), and may cause subshells to exit before executing all the commands in the subshell. If a compound command or shell function executes in a context - where `-e' is being ignored, none of the commands executed + where '-e' is being ignored, none of the commands executed within the compound command or function body will be affected - by the `-e' setting, even if `-e' is set and a command - returns a failure status. If a compound command or shell - function sets `-e' while executing in a context where `-e' is - ignored, that setting will not have any effect until the - compound command or the command containing the function call - completes. - - `-f' + by the '-e' setting, even if '-e' is set and a command returns + a failure status. If a compound command or shell function + sets '-e' while executing in a context where '-e' is ignored, + that setting will not have any effect until the compound + command or the command containing the function call completes. + + '-f' Disable filename expansion (globbing). - `-h' + '-h' Locate and remember (hash) commands as they are looked up for execution. This option is enabled by default. - `-k' + '-k' All arguments in the form of assignment statements are placed in the environment for a command, not just those that precede the command name. - `-m' + '-m' Job control is enabled (*note Job Control::). All processes run in a separate process group. When a background job completes, the shell prints a line containing its exit status. - `-n' - Read commands but do not execute them; this may be used to + '-n' + Read commands but do not execute them. This may be used to check a script for syntax errors. This option is ignored by interactive shells. - `-o OPTION-NAME' + '-o OPTION-NAME' + Set the option corresponding to OPTION-NAME: - `allexport' - Same as `-a'. + 'allexport' + Same as '-a'. - `braceexpand' - Same as `-B'. + 'braceexpand' + Same as '-B'. - `emacs' - Use an `emacs'-style line editing interface (*note + 'emacs' + Use an 'emacs'-style line editing interface (*note Command Line Editing::). This also affects the editing - interface used for `read -e'. + interface used for 'read -e'. - `errexit' - Same as `-e'. + 'errexit' + Same as '-e'. - `errtrace' - Same as `-E'. + 'errtrace' + Same as '-E'. - `functrace' - Same as `-T'. + 'functrace' + Same as '-T'. - `hashall' - Same as `-h'. + 'hashall' + Same as '-h'. - `histexpand' - Same as `-H'. + 'histexpand' + Same as '-H'. - `history' + 'history' Enable command history, as described in *note Bash History Facilities::. This option is on by default in interactive shells. - `ignoreeof' + 'ignoreeof' An interactive shell will not exit upon reading EOF. - `keyword' - Same as `-k'. + 'keyword' + Same as '-k'. - `monitor' - Same as `-m'. + 'monitor' + Same as '-m'. - `noclobber' - Same as `-C'. + 'noclobber' + Same as '-C'. - `noexec' - Same as `-n'. + 'noexec' + Same as '-n'. - `noglob' - Same as `-f'. + 'noglob' + Same as '-f'. - `nolog' + 'nolog' Currently ignored. - `notify' - Same as `-b'. + 'notify' + Same as '-b'. - `nounset' - Same as `-u'. + 'nounset' + Same as '-u'. - `onecmd' - Same as `-t'. + 'onecmd' + Same as '-t'. - `physical' - Same as `-P'. + 'physical' + Same as '-P'. - `pipefail' + 'pipefail' If set, the return value of a pipeline is the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands in the pipeline exit successfully. This option is disabled by default. - `posix' + 'posix' Change the behavior of Bash where the default operation differs from the POSIX standard to match the standard - (*note Bash POSIX Mode::). This is intended to make - Bash behave as a strict superset of that standard. + (*note Bash POSIX Mode::). This is intended to make Bash + behave as a strict superset of that standard. - `privileged' - Same as `-p'. + 'privileged' + Same as '-p'. - `verbose' - Same as `-v'. + 'verbose' + Same as '-v'. - `vi' - Use a `vi'-style line editing interface. This also - affects the editing interface used for `read -e'. + 'vi' + Use a 'vi'-style line editing interface. This also + affects the editing interface used for 'read -e'. - `xtrace' - Same as `-x'. + 'xtrace' + Same as '-x'. - `-p' - Turn on privileged mode. In this mode, the `$BASH_ENV' and - `$ENV' files are not processed, shell functions are not - inherited from the environment, and the `SHELLOPTS', - `BASHOPTS', `CDPATH' and `GLOBIGNORE' variables, if they + '-p' + Turn on privileged mode. In this mode, the '$BASH_ENV' and + '$ENV' files are not processed, shell functions are not + inherited from the environment, and the 'SHELLOPTS', + 'BASHOPTS', 'CDPATH' and 'GLOBIGNORE' variables, if they appear in the environment, are ignored. If the shell is started with the effective user (group) id not equal to the - real user (group) id, and the `-p' option is not supplied, + real user (group) id, and the '-p' option is not supplied, these actions are taken and the effective user id is set to - the real user id. If the `-p' option is supplied at startup, + the real user id. If the '-p' option is supplied at startup, the effective user id is not reset. Turning this option off causes the effective user and group ids to be set to the real user and group ids. - `-t' + '-t' Exit after reading and executing one command. - `-u' + '-u' Treat unset variables and parameters other than the special - parameters `@' or `*' as an error when performing parameter + parameters '@' or '*' as an error when performing parameter expansion. An error message will be written to the standard error, and a non-interactive shell will exit. - `-v' + '-v' Print shell input lines as they are read. - `-x' - Print a trace of simple commands, `for' commands, `case' - commands, `select' commands, and arithmetic `for' commands - and their arguments or associated word lists after they are - expanded and before they are executed. The value of the `PS4' + '-x' + Print a trace of simple commands, 'for' commands, 'case' + commands, 'select' commands, and arithmetic 'for' commands and + their arguments or associated word lists after they are + expanded and before they are executed. The value of the 'PS4' variable is expanded and the resultant value is printed before the command and its expanded arguments. - `-B' + '-B' The shell will perform brace expansion (*note Brace Expansion::). This option is on by default. - `-C' - Prevent output redirection using `>', `>&', and `<>' from + '-C' + Prevent output redirection using '>', '>&', and '<>' from overwriting existing files. - `-E' - If set, any trap on `ERR' is inherited by shell functions, + '-E' + If set, any trap on 'ERR' is inherited by shell functions, command substitutions, and commands executed in a subshell - environment. The `ERR' trap is normally not inherited in - such cases. + environment. The 'ERR' trap is normally not inherited in such + cases. - `-H' - Enable `!' style history substitution (*note History + '-H' + Enable '!' style history substitution (*note History Interaction::). This option is on by default for interactive shells. - `-P' - If set, do not resolve symbolic links when performing - commands such as `cd' which change the current directory. - The physical directory is used instead. By default, Bash - follows the logical chain of directories when performing - commands which change the current directory. + '-P' + If set, do not resolve symbolic links when performing commands + such as 'cd' which change the current directory. The physical + directory is used instead. By default, Bash follows the + logical chain of directories when performing commands which + change the current directory. - For example, if `/usr/sys' is a symbolic link to - `/usr/local/sys' then: + For example, if '/usr/sys' is a symbolic link to + '/usr/local/sys' then: $ cd /usr/sys; echo $PWD /usr/sys $ cd ..; pwd /usr - If `set -P' is on, then: + If 'set -P' is on, then: $ cd /usr/sys; echo $PWD /usr/local/sys $ cd ..; pwd /usr/local - `-T' - If set, any trap on `DEBUG' and `RETURN' are inherited by + '-T' + If set, any trap on 'DEBUG' and 'RETURN' are inherited by shell functions, command substitutions, and commands executed - in a subshell environment. The `DEBUG' and `RETURN' traps - are normally not inherited in such cases. + in a subshell environment. The 'DEBUG' and 'RETURN' traps are + normally not inherited in such cases. - `--' + '--' If no arguments follow this option, then the positional parameters are unset. Otherwise, the positional parameters are set to the ARGUMENTS, even if some of them begin with a - `-'. + '-'. - `-' - Signal the end of options, cause all remaining ARGUMENTS to - be assigned to the positional parameters. The `-x' and `-v' + '-' + Signal the end of options, cause all remaining ARGUMENTS to be + assigned to the positional parameters. The '-x' and '-v' options are turned off. If there are no arguments, the positional parameters remain unchanged. - Using `+' rather than `-' causes these options to be turned off. + Using '+' rather than '-' causes these options to be turned off. The options can also be used upon invocation of the shell. The - current set of options may be found in `$-'. + current set of options may be found in '$-'. The remaining N ARGUMENTS are positional parameters and are - assigned, in order, to `$1', `$2', ... `$N'. The special - parameter `#' is set to N. + assigned, in order, to '$1', '$2', ... '$N'. The special parameter + '#' is set to N. The return status is always zero unless an invalid option is supplied. @@ -4196,38 +4228,38 @@ File: bashref.info, Node: The Shopt Builtin, Prev: The Set Builtin, Up: Modif This builtin allows you to change additional shell optional behavior. -`shopt' +'shopt' shopt [-pqsu] [-o] [OPTNAME ...] Toggle the values of settings controlling optional shell behavior. - The settings can be either those listed below, or, if the `-o' - option is used, those available with the `-o' option to the `set' + The settings can be either those listed below, or, if the '-o' + option is used, those available with the '-o' option to the 'set' builtin command (*note The Set Builtin::). With no options, or - with the `-p' option, a list of all settable options is displayed, - with an indication of whether or not each is set. The `-p' option + with the '-p' option, a list of all settable options is displayed, + with an indication of whether or not each is set. The '-p' option causes output to be displayed in a form that may be reused as input. Other options have the following meanings: - `-s' + '-s' Enable (set) each OPTNAME. - `-u' + '-u' Disable (unset) each OPTNAME. - `-q' + '-q' Suppresses normal output; the return status indicates whether the OPTNAME is set or unset. If multiple OPTNAME arguments - are given with `-q', the return status is zero if all - OPTNAMES are enabled; non-zero otherwise. + are given with '-q', the return status is zero if all OPTNAMES + are enabled; non-zero otherwise. - `-o' + '-o' Restricts the values of OPTNAME to be those defined for the - `-o' option to the `set' builtin (*note The Set Builtin::). + '-o' option to the 'set' builtin (*note The Set Builtin::). - If either `-s' or `-u' is used with no OPTNAME arguments, `shopt' + If either '-s' or '-u' is used with no OPTNAME arguments, 'shopt' shows only those options which are set or unset, respectively. - Unless otherwise noted, the `shopt' options are disabled (off) by + Unless otherwise noted, the 'shopt' options are disabled (off) by default. The return status when listing options is zero if all OPTNAMES are @@ -4235,84 +4267,97 @@ This builtin allows you to change additional shell optional behavior. the return status is zero unless an OPTNAME is not a valid shell option. - The list of `shopt' options is: - `autocd' + The list of 'shopt' options is: + + 'autocd' If set, a command name that is the name of a directory is - executed as if it were the argument to the `cd' command. - This option is only used by interactive shells. + executed as if it were the argument to the 'cd' command. This + option is only used by interactive shells. - `cdable_vars' - If this is set, an argument to the `cd' builtin command that + 'cdable_vars' + If this is set, an argument to the 'cd' builtin command that is not a directory is assumed to be the name of a variable whose value is the directory to change to. - `cdspell' + 'cdspell' If set, minor errors in the spelling of a directory component - in a `cd' command will be corrected. The errors checked for + in a 'cd' command will be corrected. The errors checked for are transposed characters, a missing character, and a character too many. If a correction is found, the corrected path is printed, and the command proceeds. This option is only used by interactive shells. - `checkhash' + 'checkhash' If this is set, Bash checks that a command found in the hash - table exists before trying to execute it. If a hashed - command no longer exists, a normal path search is performed. + table exists before trying to execute it. If a hashed command + no longer exists, a normal path search is performed. - `checkjobs' + 'checkjobs' If set, Bash lists the status of any stopped and running jobs - before exiting an interactive shell. If any jobs are - running, this causes the exit to be deferred until a second - exit is attempted without an intervening command (*note Job + before exiting an interactive shell. If any jobs are running, + this causes the exit to be deferred until a second exit is + attempted without an intervening command (*note Job Control::). The shell always postpones exiting if any jobs are stopped. - `checkwinsize' - If set, Bash checks the window size after each command and, - if necessary, updates the values of `LINES' and `COLUMNS'. + 'checkwinsize' + If set, Bash checks the window size after each command and, if + necessary, updates the values of 'LINES' and 'COLUMNS'. - `cmdhist' + 'cmdhist' If set, Bash attempts to save all lines of a multiple-line command in the same history entry. This allows easy re-editing of multi-line commands. - `compat31' + 'compat31' If set, Bash changes its behavior to that of version 3.1 with - respect to quoted arguments to the conditional command's `=~' - operator and with respect to locale-specific string - comparison when using the `[[' conditional command's `<' and - `>' operators. Bash versions prior to bash-4.1 use ASCII + respect to quoted arguments to the conditional command's '=~' + operator and with respect to locale-specific string comparison + when using the '[[' conditional command's '<' and '>' + operators. Bash versions prior to bash-4.1 use ASCII collation and strcmp(3); bash-4.1 and later use the current locale's collation sequence and strcoll(3). - `compat32' + 'compat32' If set, Bash changes its behavior to that of version 3.2 with respect to locale-specific string comparison when using the - `[[' conditional command's `<' and `>' operators (see - previous item). + '[[' conditional command's '<' and '>' operators (see previous + item) and the effect of interrupting a command list. Bash + versions 3.2 and earlier continue with the next command in the + list after one terminates due to an interrupt. - `compat40' + 'compat40' If set, Bash changes its behavior to that of version 4.0 with respect to locale-specific string comparison when using the - `[[' conditional command's `<' and `>' operators (see - description of `compat31') and the effect of interrupting a + '[[' conditional command's '<' and '>' operators (see + description of 'compat31') and the effect of interrupting a command list. Bash versions 4.0 and later interrupt the list as if the shell received the interrupt; previous versions continue with the next command in the list. - `compat41' + 'compat41' If set, Bash, when in POSIX mode, treats a single quote in a - double-quoted parameter expansion as a special character. - The single quotes must match (an even number) and the - characters between the single quotes are considered quoted. - This is the behavior of POSIX mode through version 4.1. The - default Bash behavior remains as in previous versions. + double-quoted parameter expansion as a special character. The + single quotes must match (an even number) and the characters + between the single quotes are considered quoted. This is the + behavior of POSIX mode through version 4.1. The default Bash + behavior remains as in previous versions. - `compat42' + 'compat42' If set, Bash does not process the replacement string in the pattern substitution word expansion using quote removal. - `complete_fullquote' + 'compat43' + If set, Bash does not print a warning message if an attempt is + made to use a quoted compound array assignment as an argument + to 'declare', makes word expansion errors non-fatal errors + that cause the current command to fail (the default behavior + is to make them fatal errors that cause the shell to exit), + and does not reset the loop state when a shell function is + executed (this allows 'break' or 'continue' in a shell + function to affect loops in the caller's context). + + 'complete_fullquote' If set, Bash quotes all shell metacharacters in filenames and directory names when performing completion. If not set, Bash removes metacharacters such as the dollar sign from the set of @@ -4323,202 +4368,212 @@ This builtin allows you to change additional shell optional behavior. however, any dollar signs appearing in filenames will not be quoted, either. This is active only when bash is using backslashes to quote completed filenames. This variable is - set by default, which is the default Bash behavior in - versions through 4.2. + set by default, which is the default Bash behavior in versions + through 4.2. - `direxpand' - If set, Bash replaces directory names with the results of - word expansion when performing filename completion. This - changes the contents of the readline editing buffer. If not - set, Bash attempts to preserve what the user typed. + 'direxpand' + If set, Bash replaces directory names with the results of word + expansion when performing filename completion. This changes + the contents of the readline editing buffer. If not set, Bash + attempts to preserve what the user typed. - `dirspell' + 'dirspell' If set, Bash attempts spelling correction on directory names during word completion if the directory name initially supplied does not exist. - `dotglob' - If set, Bash includes filenames beginning with a `.' in the + 'dotglob' + If set, Bash includes filenames beginning with a '.' in the results of filename expansion. - `execfail' + 'execfail' If this is set, a non-interactive shell will not exit if it - cannot execute the file specified as an argument to the `exec' - builtin command. An interactive shell does not exit if `exec' + cannot execute the file specified as an argument to the 'exec' + builtin command. An interactive shell does not exit if 'exec' fails. - `expand_aliases' + 'expand_aliases' If set, aliases are expanded as described below under Aliases, *note Aliases::. This option is enabled by default for interactive shells. - `extdebug' - If set, behavior intended for use by debuggers is enabled: + 'extdebug' + If set at shell invocation, arrange to execute the debugger + profile before the shell starts, identical to the '--debugger' + option. If set after invocation, behavior intended for use by + debuggers is enabled: - 1. The `-F' option to the `declare' builtin (*note Bash - Builtins::) displays the source file name and line - number corresponding to each function name supplied as - an argument. + 1. The '-F' option to the 'declare' builtin (*note Bash + Builtins::) displays the source file name and line number + corresponding to each function name supplied as an + argument. - 2. If the command run by the `DEBUG' trap returns a - non-zero value, the next command is skipped and not - executed. + 2. If the command run by the 'DEBUG' trap returns a non-zero + value, the next command is skipped and not executed. - 3. If the command run by the `DEBUG' trap returns a value - of 2, and the shell is executing in a subroutine (a - shell function or a shell script executed by the `.' or - `source' builtins), a call to `return' is simulated. + 3. If the command run by the 'DEBUG' trap returns a value of + 2, and the shell is executing in a subroutine (a shell + function or a shell script executed by the '.' or + 'source' builtins), the shell simulates a call to + 'return'. - 4. `BASH_ARGC' and `BASH_ARGV' are updated as described in + 4. 'BASH_ARGC' and 'BASH_ARGV' are updated as described in their descriptions (*note Bash Variables::). - 5. Function tracing is enabled: command substitution, - shell functions, and subshells invoked with `( COMMAND - )' inherit the `DEBUG' and `RETURN' traps. + 5. Function tracing is enabled: command substitution, shell + functions, and subshells invoked with '( COMMAND )' + inherit the 'DEBUG' and 'RETURN' traps. - 6. Error tracing is enabled: command substitution, shell - functions, and subshells invoked with `( COMMAND )' - inherit the `ERR' trap. + 6. Error tracing is enabled: command substitution, shell + functions, and subshells invoked with '( COMMAND )' + inherit the 'ERR' trap. - `extglob' + 'extglob' If set, the extended pattern matching features described above (*note Pattern Matching::) are enabled. - `extquote' - If set, `$'STRING'' and `$"STRING"' quoting is performed - within `${PARAMETER}' expansions enclosed in double quotes. + 'extquote' + If set, '$'STRING'' and '$"STRING"' quoting is performed + within '${PARAMETER}' expansions enclosed in double quotes. This option is enabled by default. - `failglob' - If set, patterns which fail to match filenames during - filename expansion result in an expansion error. + 'failglob' + If set, patterns which fail to match filenames during filename + expansion result in an expansion error. - `force_fignore' - If set, the suffixes specified by the `FIGNORE' shell variable - cause words to be ignored when performing word completion - even if the ignored words are the only possible completions. - *Note Bash Variables::, for a description of `FIGNORE'. This - option is enabled by default. + 'force_fignore' + If set, the suffixes specified by the 'FIGNORE' shell variable + cause words to be ignored when performing word completion even + if the ignored words are the only possible completions. *Note + Bash Variables::, for a description of 'FIGNORE'. This option + is enabled by default. - `globasciiranges' + 'globasciiranges' If set, range expressions used in pattern matching bracket expressions (*note Pattern Matching::) behave as if in the traditional C locale when performing comparisons. That is, the current locale's collating sequence is not taken into - account, so `b' will not collate between `A' and `B', and + account, so 'b' will not collate between 'A' and 'B', and upper-case and lower-case ASCII characters will collate together. - `globstar' - If set, the pattern `**' used in a filename expansion context + 'globstar' + If set, the pattern '**' used in a filename expansion context will match all files and zero or more directories and - subdirectories. If the pattern is followed by a `/', only + subdirectories. If the pattern is followed by a '/', only directories and subdirectories match. - `gnu_errfmt' + 'gnu_errfmt' If set, shell error messages are written in the standard GNU error message format. - `histappend' + 'histappend' If set, the history list is appended to the file named by the - value of the `HISTFILE' variable when the shell exits, rather + value of the 'HISTFILE' variable when the shell exits, rather than overwriting the file. - `histreedit' + 'histreedit' If set, and Readline is being used, a user is given the opportunity to re-edit a failed history substitution. - `histverify' + 'histverify' If set, and Readline is being used, the results of history substitution are not immediately passed to the shell parser. Instead, the resulting line is loaded into the Readline editing buffer, allowing further modification. - `hostcomplete' + 'hostcomplete' If set, and Readline is being used, Bash will attempt to - perform hostname completion when a word containing a `@' is + perform hostname completion when a word containing a '@' is being completed (*note Commands For Completion::). This option is enabled by default. - `huponexit' - If set, Bash will send `SIGHUP' to all jobs when an + 'huponexit' + If set, Bash will send 'SIGHUP' to all jobs when an interactive login shell exits (*note Signals::). - `interactive_comments' - Allow a word beginning with `#' to cause that word and all + 'inherit_errexit' + If set, command substitution inherits the value of the + 'errexit' option, instead of unsetting it in the subshell + environment. This option is enabled when POSIX mode is + enabled. + + 'interactive_comments' + Allow a word beginning with '#' to cause that word and all remaining characters on that line to be ignored in an interactive shell. This option is enabled by default. - `lastpipe' - If set, and job control is not active, the shell runs the - last command of a pipeline not executed in the background in - the current shell environment. + 'lastpipe' + If set, and job control is not active, the shell runs the last + command of a pipeline not executed in the background in the + current shell environment. - `lithist' - If enabled, and the `cmdhist' option is enabled, multi-line + 'lithist' + If enabled, and the 'cmdhist' option is enabled, multi-line commands are saved to the history with embedded newlines rather than using semicolon separators where possible. - `login_shell' + 'login_shell' The shell sets this option if it is started as a login shell (*note Invoking Bash::). The value may not be changed. - `mailwarn' + 'mailwarn' If set, and a file that Bash is checking for mail has been - accessed since the last time it was checked, the message - `"The mail in MAILFILE has been read"' is displayed. + accessed since the last time it was checked, the message '"The + mail in MAILFILE has been read"' is displayed. - `no_empty_cmd_completion' + 'no_empty_cmd_completion' If set, and Readline is being used, Bash will not attempt to - search the `PATH' for possible completions when completion is + search the 'PATH' for possible completions when completion is attempted on an empty line. - `nocaseglob' + 'nocaseglob' If set, Bash matches filenames in a case-insensitive fashion when performing filename expansion. - `nocasematch' + 'nocasematch' If set, Bash matches patterns in a case-insensitive fashion - when performing matching while executing `case' or `[[' - conditional commands. + when performing matching while executing 'case' or '[[' + conditional commands, when performing pattern substitution + word expansions, or when filtering possible completions as + part of programmable completion. - `nullglob' + 'nullglob' If set, Bash allows filename patterns which match no files to expand to a null string, rather than themselves. - `progcomp' + 'progcomp' If set, the programmable completion facilities (*note Programmable Completion::) are enabled. This option is enabled by default. - `promptvars' + 'promptvars' If set, prompt strings undergo parameter expansion, command substitution, arithmetic expansion, and quote removal after being expanded as described below (*note Controlling the Prompt::). This option is enabled by default. - `restricted_shell' + 'restricted_shell' The shell sets this option if it is started in restricted mode (*note The Restricted Shell::). The value may not be changed. This is not reset when the startup files are executed, allowing the startup files to discover whether or not a shell is restricted. - `shift_verbose' - If this is set, the `shift' builtin prints an error message + 'shift_verbose' + If this is set, the 'shift' builtin prints an error message when the shift count exceeds the number of positional parameters. - `sourcepath' - If set, the `source' builtin uses the value of `PATH' to find + 'sourcepath' + If set, the 'source' builtin uses the value of 'PATH' to find the directory containing the file supplied as an argument. This option is enabled by default. - `xpg_echo' - If set, the `echo' builtin expands backslash-escape sequences + 'xpg_echo' + If set, the 'echo' builtin expands backslash-escape sequences by default. - The return status when listing options is zero if all OPTNAMES are enabled, non-zero otherwise. When setting or unsetting options, the return status is zero unless an OPTNAME is not a valid shell @@ -4564,7 +4619,7 @@ File: bashref.info, Node: Shell Variables, Next: Bash Features, Prev: Shell B as the Bourne Shell. * Bash Variables:: List of variables that exist in Bash. - This chapter describes the shell variables that Bash uses. Bash +This chapter describes the shell variables that Bash uses. Bash automatically assigns default values to a number of variables.  @@ -4576,53 +4631,52 @@ File: bashref.info, Node: Bourne Shell Variables, Next: Bash Variables, Up: S Bash uses certain shell variables in the same way as the Bourne shell. In some cases, Bash assigns a default value to the variable. -`CDPATH' - A colon-separated list of directories used as a search path for - the `cd' builtin command. +'CDPATH' + A colon-separated list of directories used as a search path for the + 'cd' builtin command. -`HOME' - The current user's home directory; the default for the `cd' builtin +'HOME' + The current user's home directory; the default for the 'cd' builtin command. The value of this variable is also used by tilde expansion (*note Tilde Expansion::). -`IFS' +'IFS' A list of characters that separate fields; used when the shell splits words as part of expansion. -`MAIL' +'MAIL' If this parameter is set to a filename or directory name and the - `MAILPATH' variable is not set, Bash informs the user of the + 'MAILPATH' variable is not set, Bash informs the user of the arrival of mail in the specified file or Maildir-format directory. -`MAILPATH' +'MAILPATH' A colon-separated list of filenames which the shell periodically checks for new mail. Each list entry can specify the message that - is printed when new mail arrives in the mail file by separating - the filename from the message with a `?'. When used in the text - of the message, `$_' expands to the name of the current mail file. + is printed when new mail arrives in the mail file by separating the + filename from the message with a '?'. When used in the text of the + message, '$_' expands to the name of the current mail file. -`OPTARG' - The value of the last option argument processed by the `getopts' +'OPTARG' + The value of the last option argument processed by the 'getopts' builtin. -`OPTIND' - The index of the last option argument processed by the `getopts' +'OPTIND' + The index of the last option argument processed by the 'getopts' builtin. -`PATH' +'PATH' A colon-separated list of directories in which the shell looks for commands. A zero-length (null) directory name in the value of - `PATH' indicates the current directory. A null directory name may + 'PATH' indicates the current directory. A null directory name may appear as two adjacent colons, or as an initial or trailing colon. -`PS1' - The primary prompt string. The default value is `\s-\v\$ '. - *Note Controlling the Prompt::, for the complete list of escape - sequences that are expanded before `PS1' is displayed. - -`PS2' - The secondary prompt string. The default value is `> '. +'PS1' + The primary prompt string. The default value is '\s-\v\$ '. *Note + Controlling the Prompt::, for the complete list of escape sequences + that are expanded before 'PS1' is displayed. +'PS2' + The secondary prompt string. The default value is '> '.  File: bashref.info, Node: Bash Variables, Prev: Bourne Shell Variables, Up: Shell Variables @@ -4637,596 +4691,625 @@ normally treat them specially. variables for controlling the job control facilities (*note Job Control Variables::). -`BASH' +'BASH' The full pathname used to execute the current instance of Bash. -`BASHOPTS' +'BASHOPTS' A colon-separated list of enabled shell options. Each word in the - list is a valid argument for the `-s' option to the `shopt' - builtin command (*note The Shopt Builtin::). The options - appearing in `BASHOPTS' are those reported as `on' by `shopt'. If - this variable is in the environment when Bash starts up, each - shell option in the list will be enabled before reading any - startup files. This variable is readonly. - -`BASHPID' + list is a valid argument for the '-s' option to the 'shopt' builtin + command (*note The Shopt Builtin::). The options appearing in + 'BASHOPTS' are those reported as 'on' by 'shopt'. If this variable + is in the environment when Bash starts up, each shell option in the + list will be enabled before reading any startup files. This + variable is readonly. + +'BASHPID' Expands to the process ID of the current Bash process. This - differs from `$$' under certain circumstances, such as subshells + differs from '$$' under certain circumstances, such as subshells that do not require Bash to be re-initialized. -`BASH_ALIASES' +'BASH_ALIASES' An associative array variable whose members correspond to the - internal list of aliases as maintained by the `alias' builtin. + internal list of aliases as maintained by the 'alias' builtin. (*note Bourne Shell Builtins::). Elements added to this array - appear in the alias list; unsetting array elements cause aliases - to be removed from the alias list. + appear in the alias list; however, unsetting array elements + currently does not cause aliases to be removed from the alias list. + If 'BASH_ALIASES' is unset, it loses its special properties, even + if it is subsequently reset. -`BASH_ARGC' +'BASH_ARGC' An array variable whose values are the number of parameters in each frame of the current bash execution call stack. The number of parameters to the current subroutine (shell function or script - executed with `.' or `source') is at the top of the stack. When a + executed with '.' or 'source') is at the top of the stack. When a subroutine is executed, the number of parameters passed is pushed - onto `BASH_ARGC'. The shell sets `BASH_ARGC' only when in - extended debugging mode (see *note The Shopt Builtin:: for a - description of the `extdebug' option to the `shopt' builtin). + onto 'BASH_ARGC'. The shell sets 'BASH_ARGC' only when in extended + debugging mode (see *note The Shopt Builtin:: for a description of + the 'extdebug' option to the 'shopt' builtin). -`BASH_ARGV' +'BASH_ARGV' An array variable containing all of the parameters in the current bash execution call stack. The final parameter of the last subroutine call is at the top of the stack; the first parameter of the initial call is at the bottom. When a subroutine is executed, - the parameters supplied are pushed onto `BASH_ARGV'. The shell - sets `BASH_ARGV' only when in extended debugging mode (see *note - The Shopt Builtin:: for a description of the `extdebug' option to - the `shopt' builtin). + the parameters supplied are pushed onto 'BASH_ARGV'. The shell + sets 'BASH_ARGV' only when in extended debugging mode (see *note + The Shopt Builtin:: for a description of the 'extdebug' option to + the 'shopt' builtin). -`BASH_CMDS' +'BASH_CMDS' An associative array variable whose members correspond to the - internal hash table of commands as maintained by the `hash' builtin + internal hash table of commands as maintained by the 'hash' builtin (*note Bourne Shell Builtins::). Elements added to this array - appear in the hash table; unsetting array elements cause commands - to be removed from the hash table. + appear in the hash table; however, unsetting array elements + currently does not cause command names to be removed from the hash + table. If 'BASH_CMDS' is unset, it loses its special properties, + even if it is subsequently reset. -`BASH_COMMAND' +'BASH_COMMAND' The command currently being executed or about to be executed, - unless the shell is executing a command as the result of a trap, - in which case it is the command executing at the time of the trap. + unless the shell is executing a command as the result of a trap, in + which case it is the command executing at the time of the trap. -`BASH_COMPAT' +'BASH_COMPAT' The value is used to set the shell's compatibility level. *Note The Shopt Builtin::, for a description of the various compatibility - levels and their effects. The value may be a decimal number - (e.g., 4.2) or an integer (e.g., 42) corresponding to the desired - compatibility level. If `BASH_COMPAT' is unset or set to the - empty string, the compatibility level is set to the default for - the current version. If `BASH_COMPAT' is set to a value that is - not one of the valid compatibility levels, the shell prints an - error message and sets the compatibility level to the default for - the current version. The valid compatibility levels correspond to - the compatibility options accepted by the `shopt' builtin - described above (for example, COMPAT42 means that 4.2 and 42 are - valid values). The current version is also a valid value. - -`BASH_ENV' + levels and their effects. The value may be a decimal number (e.g., + 4.2) or an integer (e.g., 42) corresponding to the desired + compatibility level. If 'BASH_COMPAT' is unset or set to the empty + string, the compatibility level is set to the default for the + current version. If 'BASH_COMPAT' is set to a value that is not + one of the valid compatibility levels, the shell prints an error + message and sets the compatibility level to the default for the + current version. The valid compatibility levels correspond to the + compatibility options accepted by the 'shopt' builtin described + above (for example, COMPAT42 means that 4.2 and 42 are valid + values). The current version is also a valid value. + +'BASH_ENV' If this variable is set when Bash is invoked to execute a shell script, its value is expanded and used as the name of a startup file to read before executing the script. *Note Bash Startup Files::. -`BASH_EXECUTION_STRING' - The command argument to the `-c' invocation option. +'BASH_EXECUTION_STRING' + The command argument to the '-c' invocation option. -`BASH_LINENO' +'BASH_LINENO' An array variable whose members are the line numbers in source files where each corresponding member of FUNCNAME was invoked. - `${BASH_LINENO[$i]}' is the line number in the source file - (`${BASH_SOURCE[$i+1]}') where `${FUNCNAME[$i]}' was called (or - `${BASH_LINENO[$i-1]}' if referenced within another shell - function). Use `LINENO' to obtain the current line number. - -`BASH_REMATCH' - An array variable whose members are assigned by the `=~' binary - operator to the `[[' conditional command (*note Conditional + '${BASH_LINENO[$i]}' is the line number in the source file + ('${BASH_SOURCE[$i+1]}') where '${FUNCNAME[$i]}' was called (or + '${BASH_LINENO[$i-1]}' if referenced within another shell + function). Use 'LINENO' to obtain the current line number. + +'BASH_LOADABLES_PATH' + A colon-separated list of directories in which the shell looks for + dynamically loadable builtins specified by the 'enable' command. + +'BASH_REMATCH' + An array variable whose members are assigned by the '=~' binary + operator to the '[[' conditional command (*note Conditional Constructs::). The element with index 0 is the portion of the string matching the entire regular expression. The element with - index N is the portion of the string matching the Nth - parenthesized subexpression. This variable is read-only. + index N is the portion of the string matching the Nth parenthesized + subexpression. This variable is read-only. -`BASH_SOURCE' +'BASH_SOURCE' An array variable whose members are the source filenames where the - corresponding shell function names in the `FUNCNAME' array - variable are defined. The shell function `${FUNCNAME[$i]}' is - defined in the file `${BASH_SOURCE[$i]}' and called from - `${BASH_SOURCE[$i+1]}' + corresponding shell function names in the 'FUNCNAME' array variable + are defined. The shell function '${FUNCNAME[$i]}' is defined in + the file '${BASH_SOURCE[$i]}' and called from + '${BASH_SOURCE[$i+1]}' -`BASH_SUBSHELL' +'BASH_SUBSHELL' Incremented by one within each subshell or subshell environment when the shell begins executing in that environment. The initial value is 0. -`BASH_VERSINFO' +'BASH_VERSINFO' A readonly array variable (*note Arrays::) whose members hold - version information for this instance of Bash. The values - assigned to the array members are as follows: + version information for this instance of Bash. The values assigned + to the array members are as follows: - `BASH_VERSINFO[0]' + 'BASH_VERSINFO[0]' The major version number (the RELEASE). - `BASH_VERSINFO[1]' + 'BASH_VERSINFO[1]' The minor version number (the VERSION). - `BASH_VERSINFO[2]' + 'BASH_VERSINFO[2]' The patch level. - `BASH_VERSINFO[3]' + 'BASH_VERSINFO[3]' The build version. - `BASH_VERSINFO[4]' + 'BASH_VERSINFO[4]' The release status (e.g., BETA1). - `BASH_VERSINFO[5]' - The value of `MACHTYPE'. + 'BASH_VERSINFO[5]' + The value of 'MACHTYPE'. -`BASH_VERSION' +'BASH_VERSION' The version number of the current instance of Bash. -`BASH_XTRACEFD' +'BASH_XTRACEFD' If set to an integer corresponding to a valid file descriptor, Bash - will write the trace output generated when `set -x' is enabled to + will write the trace output generated when 'set -x' is enabled to that file descriptor. This allows tracing output to be separated from diagnostic and error messages. The file descriptor is closed - when `BASH_XTRACEFD' is unset or assigned a new value. Unsetting - `BASH_XTRACEFD' or assigning it the empty string causes the trace + when 'BASH_XTRACEFD' is unset or assigned a new value. Unsetting + 'BASH_XTRACEFD' or assigning it the empty string causes the trace output to be sent to the standard error. Note that setting - `BASH_XTRACEFD' to 2 (the standard error file descriptor) and then + 'BASH_XTRACEFD' to 2 (the standard error file descriptor) and then unsetting it will result in the standard error being closed. -`CHILD_MAX' +'CHILD_MAX' Set the number of exited child status values for the shell to remember. Bash will not allow this value to be decreased below a POSIX-mandated minimum, and there is a maximum value (currently 8192) that this may not exceed. The minimum value is system-dependent. -`COLUMNS' - Used by the `select' command to determine the terminal width when - printing selection lists. Automatically set if the `checkwinsize' - option is enabled (*note The Shopt Builtin::), or in an - interactive shell upon receipt of a `SIGWINCH'. +'COLUMNS' + Used by the 'select' command to determine the terminal width when + printing selection lists. Automatically set if the 'checkwinsize' + option is enabled (*note The Shopt Builtin::), or in an interactive + shell upon receipt of a 'SIGWINCH'. -`COMP_CWORD' - An index into `${COMP_WORDS}' of the word containing the current +'COMP_CWORD' + An index into '${COMP_WORDS}' of the word containing the current cursor position. This variable is available only in shell functions invoked by the programmable completion facilities (*note Programmable Completion::). -`COMP_LINE' - The current command line. This variable is available only in - shell functions and external commands invoked by the programmable +'COMP_LINE' + The current command line. This variable is available only in shell + functions and external commands invoked by the programmable completion facilities (*note Programmable Completion::). -`COMP_POINT' +'COMP_POINT' The index of the current cursor position relative to the beginning of the current command. If the current cursor position is at the end of the current command, the value of this variable is equal to - `${#COMP_LINE}'. This variable is available only in shell + '${#COMP_LINE}'. This variable is available only in shell functions and external commands invoked by the programmable completion facilities (*note Programmable Completion::). -`COMP_TYPE' +'COMP_TYPE' Set to an integer value corresponding to the type of completion attempted that caused a completion function to be called: TAB, for - normal completion, `?', for listing completions after successive - tabs, `!', for listing alternatives on partial word completion, - `@', to list completions if the word is not unmodified, or `%', - for menu completion. This variable is available only in shell + normal completion, '?', for listing completions after successive + tabs, '!', for listing alternatives on partial word completion, + '@', to list completions if the word is not unmodified, or '%', for + menu completion. This variable is available only in shell functions and external commands invoked by the programmable completion facilities (*note Programmable Completion::). -`COMP_KEY' +'COMP_KEY' The key (or final key of a key sequence) used to invoke the current completion function. -`COMP_WORDBREAKS' +'COMP_WORDBREAKS' The set of characters that the Readline library treats as word - separators when performing word completion. If `COMP_WORDBREAKS' + separators when performing word completion. If 'COMP_WORDBREAKS' is unset, it loses its special properties, even if it is subsequently reset. -`COMP_WORDS' - An array variable consisting of the individual words in the - current command line. The line is split into words as Readline - would split it, using `COMP_WORDBREAKS' as described above. This - variable is available only in shell functions invoked by the - programmable completion facilities (*note Programmable - Completion::). +'COMP_WORDS' + An array variable consisting of the individual words in the current + command line. The line is split into words as Readline would split + it, using 'COMP_WORDBREAKS' as described above. This variable is + available only in shell functions invoked by the programmable + completion facilities (*note Programmable Completion::). -`COMPREPLY' +'COMPREPLY' An array variable from which Bash reads the possible completions generated by a shell function invoked by the programmable completion facility (*note Programmable Completion::). Each array element contains one possible completion. -`COPROC' +'COPROC' An array variable created to hold the file descriptors for output from and input to an unnamed coprocess (*note Coprocesses::). -`DIRSTACK' +'DIRSTACK' An array variable containing the current contents of the directory stack. Directories appear in the stack in the order they are - displayed by the `dirs' builtin. Assigning to members of this + displayed by the 'dirs' builtin. Assigning to members of this array variable may be used to modify directories already in the - stack, but the `pushd' and `popd' builtins must be used to add and + stack, but the 'pushd' and 'popd' builtins must be used to add and remove directories. Assignment to this variable will not change - the current directory. If `DIRSTACK' is unset, it loses its + the current directory. If 'DIRSTACK' is unset, it loses its special properties, even if it is subsequently reset. -`EMACS' +'EMACS' If Bash finds this variable in the environment when the shell - starts with value `t', it assumes that the shell is running in an + starts with value 't', it assumes that the shell is running in an Emacs shell buffer and disables line editing. -`ENV' - Similar to `BASH_ENV'; used when the shell is invoked in POSIX - Mode (*note Bash POSIX Mode::). +'ENV' + Similar to 'BASH_ENV'; used when the shell is invoked in POSIX Mode + (*note Bash POSIX Mode::). -`EUID' +'EUID' The numeric effective user id of the current user. This variable is readonly. -`FCEDIT' - The editor used as a default by the `-e' option to the `fc' - builtin command. +'EXECIGNORE' + A colon-separated list of shell patterns (*note Pattern Matching::) + defining the list of filenames to be ignored by command search + using 'PATH'. Files whose full pathnames match one of these + patterns are not considered executable files for the purposes of + completion and command execution via 'PATH' lookup. This does not + affect the behavior of the '[', 'test', and '[[' commands. Full + pathnames in the command hash table are not subject to + 'EXECIGNORE'. Use this variable to ignore shared library files + that have the executable bit set, but are not executable files. + The pattern matching honors the setting of the 'extglob' shell + option. + +'FCEDIT' + The editor used as a default by the '-e' option to the 'fc' builtin + command. -`FIGNORE' +'FIGNORE' A colon-separated list of suffixes to ignore when performing filename completion. A filename whose suffix matches one of the - entries in `FIGNORE' is excluded from the list of matched - filenames. A sample value is `.o:~' + entries in 'FIGNORE' is excluded from the list of matched + filenames. A sample value is '.o:~' -`FUNCNAME' +'FUNCNAME' An array variable containing the names of all shell functions - currently in the execution call stack. The element with index 0 - is the name of any currently-executing shell function. The - bottom-most element (the one with the highest index) is `"main"'. + currently in the execution call stack. The element with index 0 is + the name of any currently-executing shell function. The + bottom-most element (the one with the highest index) is '"main"'. This variable exists only when a shell function is executing. - Assignments to `FUNCNAME' have no effect and return an error - status. If `FUNCNAME' is unset, it loses its special properties, - even if it is subsequently reset. - - This variable can be used with `BASH_LINENO' and `BASH_SOURCE'. - Each element of `FUNCNAME' has corresponding elements in - `BASH_LINENO' and `BASH_SOURCE' to describe the call stack. For - instance, `${FUNCNAME[$i]}' was called from the file - `${BASH_SOURCE[$i+1]}' at line number `${BASH_LINENO[$i]}'. The - `caller' builtin displays the current call stack using this + Assignments to 'FUNCNAME' have no effect. If 'FUNCNAME' is unset, + it loses its special properties, even if it is subsequently reset. + + This variable can be used with 'BASH_LINENO' and 'BASH_SOURCE'. + Each element of 'FUNCNAME' has corresponding elements in + 'BASH_LINENO' and 'BASH_SOURCE' to describe the call stack. For + instance, '${FUNCNAME[$i]}' was called from the file + '${BASH_SOURCE[$i+1]}' at line number '${BASH_LINENO[$i]}'. The + 'caller' builtin displays the current call stack using this information. -`FUNCNEST' +'FUNCNEST' If set to a numeric value greater than 0, defines a maximum function nesting level. Function invocations that exceed this nesting level will cause the current command to abort. -`GLOBIGNORE' +'GLOBIGNORE' A colon-separated list of patterns defining the set of filenames to be ignored by filename expansion. If a filename matched by a filename expansion pattern also matches one of the patterns in - `GLOBIGNORE', it is removed from the list of matches. + 'GLOBIGNORE', it is removed from the list of matches. The pattern + matching honors the setting of the 'extglob' shell option. -`GROUPS' +'GROUPS' An array variable containing the list of groups of which the - current user is a member. Assignments to `GROUPS' have no effect - and return an error status. If `GROUPS' is unset, it loses its - special properties, even if it is subsequently reset. + current user is a member. Assignments to 'GROUPS' have no effect. + If 'GROUPS' is unset, it loses its special properties, even if it + is subsequently reset. -`histchars' +'histchars' Up to three characters which control history expansion, quick substitution, and tokenization (*note History Interaction::). The first character is the HISTORY EXPANSION character, that is, the character which signifies the start of a history expansion, - normally `!'. The second character is the character which - signifies `quick substitution' when seen as the first character on - a line, normally `^'. The optional third character is the + normally '!'. The second character is the character which + signifies 'quick substitution' when seen as the first character on + a line, normally '^'. The optional third character is the character which indicates that the remainder of the line is a - comment when found as the first character of a word, usually `#'. + comment when found as the first character of a word, usually '#'. The history comment character causes history substitution to be skipped for the remaining words on the line. It does not - necessarily cause the shell parser to treat the rest of the line - as a comment. + necessarily cause the shell parser to treat the rest of the line as + a comment. -`HISTCMD' +'HISTCMD' The history number, or index in the history list, of the current - command. If `HISTCMD' is unset, it loses its special properties, + command. If 'HISTCMD' is unset, it loses its special properties, even if it is subsequently reset. -`HISTCONTROL' - A colon-separated list of values controlling how commands are - saved on the history list. If the list of values includes - `ignorespace', lines which begin with a space character are not - saved in the history list. A value of `ignoredups' causes lines - which match the previous history entry to not be saved. A value - of `ignoreboth' is shorthand for `ignorespace' and `ignoredups'. - A value of `erasedups' causes all previous lines matching the - current line to be removed from the history list before that line - is saved. Any value not in the above list is ignored. If - `HISTCONTROL' is unset, or does not include a valid value, all - lines read by the shell parser are saved on the history list, - subject to the value of `HISTIGNORE'. The second and subsequent - lines of a multi-line compound command are not tested, and are - added to the history regardless of the value of `HISTCONTROL'. - -`HISTFILE' +'HISTCONTROL' + A colon-separated list of values controlling how commands are saved + on the history list. If the list of values includes 'ignorespace', + lines which begin with a space character are not saved in the + history list. A value of 'ignoredups' causes lines which match the + previous history entry to not be saved. A value of 'ignoreboth' is + shorthand for 'ignorespace' and 'ignoredups'. A value of + 'erasedups' causes all previous lines matching the current line to + be removed from the history list before that line is saved. Any + value not in the above list is ignored. If 'HISTCONTROL' is unset, + or does not include a valid value, all lines read by the shell + parser are saved on the history list, subject to the value of + 'HISTIGNORE'. The second and subsequent lines of a multi-line + compound command are not tested, and are added to the history + regardless of the value of 'HISTCONTROL'. + +'HISTFILE' The name of the file to which the command history is saved. The - default value is `~/.bash_history'. + default value is '~/.bash_history'. -`HISTFILESIZE' +'HISTFILESIZE' The maximum number of lines contained in the history file. When this variable is assigned a value, the history file is truncated, if necessary, to contain no more than that number of lines by - removing the oldest entries. The history file is also truncated - to this size after writing it when a shell exits. If the value is - 0, the history file is truncated to zero size. Non-numeric values - and numeric values less than zero inhibit truncation. The shell - sets the default value to the value of `HISTSIZE' after reading - any startup files. - -`HISTIGNORE' + removing the oldest entries. The history file is also truncated to + this size after writing it when a shell exits. If the value is 0, + the history file is truncated to zero size. Non-numeric values and + numeric values less than zero inhibit truncation. The shell sets + the default value to the value of 'HISTSIZE' after reading any + startup files. + +'HISTIGNORE' A colon-separated list of patterns used to decide which command lines should be saved on the history list. Each pattern is anchored at the beginning of the line and must match the complete - line (no implicit `*' is appended). Each pattern is tested - against the line after the checks specified by `HISTCONTROL' are - applied. In addition to the normal shell pattern matching - characters, `&' matches the previous history line. `&' may be - escaped using a backslash; the backslash is removed before - attempting a match. The second and subsequent lines of a - multi-line compound command are not tested, and are added to the - history regardless of the value of `HISTIGNORE'. - - `HISTIGNORE' subsumes the function of `HISTCONTROL'. A pattern of - `&' is identical to `ignoredups', and a pattern of `[ ]*' is - identical to `ignorespace'. Combining these two patterns, + line (no implicit '*' is appended). Each pattern is tested against + the line after the checks specified by 'HISTCONTROL' are applied. + In addition to the normal shell pattern matching characters, '&' + matches the previous history line. '&' may be escaped using a + backslash; the backslash is removed before attempting a match. The + second and subsequent lines of a multi-line compound command are + not tested, and are added to the history regardless of the value of + 'HISTIGNORE'. The pattern matching honors the setting of the + 'extglob' shell option. + + 'HISTIGNORE' subsumes the function of 'HISTCONTROL'. A pattern of + '&' is identical to 'ignoredups', and a pattern of '[ ]*' is + identical to 'ignorespace'. Combining these two patterns, separating them with a colon, provides the functionality of - `ignoreboth'. + 'ignoreboth'. -`HISTSIZE' - The maximum number of commands to remember on the history list. - If the value is 0, commands are not saved in the history list. +'HISTSIZE' + The maximum number of commands to remember on the history list. If + the value is 0, commands are not saved in the history list. Numeric values less than zero result in every command being saved on the history list (there is no limit). The shell sets the default value to 500 after reading any startup files. -`HISTTIMEFORMAT' - If this variable is set and not null, its value is used as a - format string for STRFTIME to print the time stamp associated with - each history entry displayed by the `history' builtin. If this - variable is set, time stamps are written to the history file so - they may be preserved across shell sessions. This uses the - history comment character to distinguish timestamps from other - history lines. - -`HOSTFILE' - Contains the name of a file in the same format as `/etc/hosts' that +'HISTTIMEFORMAT' + If this variable is set and not null, its value is used as a format + string for STRFTIME to print the time stamp associated with each + history entry displayed by the 'history' builtin. If this variable + is set, time stamps are written to the history file so they may be + preserved across shell sessions. This uses the history comment + character to distinguish timestamps from other history lines. + +'HOSTFILE' + Contains the name of a file in the same format as '/etc/hosts' that should be read when the shell needs to complete a hostname. The list of possible hostname completions may be changed while the shell is running; the next time hostname completion is attempted after the value is changed, Bash adds the contents of the new file - to the existing list. If `HOSTFILE' is set, but has no value, or - does not name a readable file, Bash attempts to read `/etc/hosts' + to the existing list. If 'HOSTFILE' is set, but has no value, or + does not name a readable file, Bash attempts to read '/etc/hosts' to obtain the list of possible hostname completions. When - `HOSTFILE' is unset, the hostname list is cleared. + 'HOSTFILE' is unset, the hostname list is cleared. -`HOSTNAME' +'HOSTNAME' The name of the current host. -`HOSTTYPE' +'HOSTTYPE' A string describing the machine Bash is running on. -`IGNOREEOF' - Controls the action of the shell on receipt of an `EOF' character +'IGNOREEOF' + Controls the action of the shell on receipt of an 'EOF' character as the sole input. If set, the value denotes the number of - consecutive `EOF' characters that can be read as the first + consecutive 'EOF' characters that can be read as the first character on an input line before the shell will exit. If the - variable exists but does not have a numeric value (or has no - value) then the default is 10. If the variable does not exist, - then `EOF' signifies the end of input to the shell. This is only - in effect for interactive shells. + variable exists but does not have a numeric value (or has no value) + then the default is 10. If the variable does not exist, then 'EOF' + signifies the end of input to the shell. This is only in effect + for interactive shells. -`INPUTRC' +'INPUTRC' The name of the Readline initialization file, overriding the - default of `~/.inputrc'. + default of '~/.inputrc'. -`LANG' +'LANG' Used to determine the locale category for any category not - specifically selected with a variable starting with `LC_'. + specifically selected with a variable starting with 'LC_'. -`LC_ALL' - This variable overrides the value of `LANG' and any other `LC_' +'LC_ALL' + This variable overrides the value of 'LANG' and any other 'LC_' variable specifying a locale category. -`LC_COLLATE' +'LC_COLLATE' This variable determines the collation order used when sorting the - results of filename expansion, and determines the behavior of - range expressions, equivalence classes, and collating sequences - within filename expansion and pattern matching (*note Filename + results of filename expansion, and determines the behavior of range + expressions, equivalence classes, and collating sequences within + filename expansion and pattern matching (*note Filename Expansion::). -`LC_CTYPE' +'LC_CTYPE' This variable determines the interpretation of characters and the behavior of character classes within filename expansion and pattern matching (*note Filename Expansion::). -`LC_MESSAGES' +'LC_MESSAGES' This variable determines the locale used to translate double-quoted - strings preceded by a `$' (*note Locale Translation::). + strings preceded by a '$' (*note Locale Translation::). -`LC_NUMERIC' +'LC_NUMERIC' This variable determines the locale category used for number formatting. -`LINENO' +'LC_TIME' + This variable determines the locale category used for data and time + formatting. + +'LINENO' The line number in the script or shell function currently executing. -`LINES' - Used by the `select' command to determine the column length for - printing selection lists. Automatically set if the `checkwinsize' - option is enabled (*note The Shopt Builtin::), or in an - interactive shell upon receipt of a `SIGWINCH'. +'LINES' + Used by the 'select' command to determine the column length for + printing selection lists. Automatically set if the 'checkwinsize' + option is enabled (*note The Shopt Builtin::), or in an interactive + shell upon receipt of a 'SIGWINCH'. -`MACHTYPE' +'MACHTYPE' A string that fully describes the system type on which Bash is executing, in the standard GNU CPU-COMPANY-SYSTEM format. -`MAILCHECK' +'MAILCHECK' How often (in seconds) that the shell should check for mail in the - files specified in the `MAILPATH' or `MAIL' variables. The - default is 60 seconds. When it is time to check for mail, the - shell does so before displaying the primary prompt. If this - variable is unset, or set to a value that is not a number greater - than or equal to zero, the shell disables mail checking. - -`MAPFILE' - An array variable created to hold the text read by the `mapfile' + files specified in the 'MAILPATH' or 'MAIL' variables. The default + is 60 seconds. When it is time to check for mail, the shell does + so before displaying the primary prompt. If this variable is + unset, or set to a value that is not a number greater than or equal + to zero, the shell disables mail checking. + +'MAPFILE' + An array variable created to hold the text read by the 'mapfile' builtin when no variable name is supplied. -`OLDPWD' - The previous working directory as set by the `cd' builtin. +'OLDPWD' + The previous working directory as set by the 'cd' builtin. -`OPTERR' +'OPTERR' If set to the value 1, Bash displays error messages generated by - the `getopts' builtin command. + the 'getopts' builtin command. -`OSTYPE' +'OSTYPE' A string describing the operating system Bash is running on. -`PIPESTATUS' - An array variable (*note Arrays::) containing a list of exit - status values from the processes in the most-recently-executed - foreground pipeline (which may contain only a single command). +'PIPESTATUS' + An array variable (*note Arrays::) containing a list of exit status + values from the processes in the most-recently-executed foreground + pipeline (which may contain only a single command). -`POSIXLY_CORRECT' +'POSIXLY_CORRECT' If this variable is in the environment when Bash starts, the shell enters POSIX mode (*note Bash POSIX Mode::) before reading the - startup files, as if the `--posix' invocation option had been + startup files, as if the '--posix' invocation option had been supplied. If it is set while the shell is running, Bash enables POSIX mode, as if the command - `set -o posix' + set -o posix had been executed. -`PPID' +'PPID' The process ID of the shell's parent process. This variable is readonly. -`PROMPT_COMMAND' - If set, the value is interpreted as a command to execute before - the printing of each primary prompt (`$PS1'). +'PROMPT_COMMAND' + If set, the value is interpreted as a command to execute before the + printing of each primary prompt ('$PS1'). -`PROMPT_DIRTRIM' +'PROMPT_DIRTRIM' If set to a number greater than zero, the value is used as the number of trailing directory components to retain when expanding - the `\w' and `\W' prompt string escapes (*note Controlling the + the '\w' and '\W' prompt string escapes (*note Controlling the Prompt::). Characters removed are replaced with an ellipsis. -`PS3' - The value of this variable is used as the prompt for the `select' - command. If this variable is not set, the `select' command - prompts with `#? ' +'PS0' + The value of this parameter is expanded like PS1 and displayed by + interactive shells after reading a command and before the command + is executed. + +'PS3' + The value of this variable is used as the prompt for the 'select' + command. If this variable is not set, the 'select' command prompts + with '#? ' -`PS4' +'PS4' The value is the prompt printed before the command line is echoed - when the `-x' option is set (*note The Set Builtin::). The first - character of `PS4' is replicated multiple times, as necessary, to - indicate multiple levels of indirection. The default is `+ '. + when the '-x' option is set (*note The Set Builtin::). The first + character of 'PS4' is replicated multiple times, as necessary, to + indicate multiple levels of indirection. The default is '+ '. -`PWD' - The current working directory as set by the `cd' builtin. +'PWD' + The current working directory as set by the 'cd' builtin. -`RANDOM' +'RANDOM' Each time this parameter is referenced, a random integer between 0 and 32767 is generated. Assigning a value to this variable seeds the random number generator. -`READLINE_LINE' - The contents of the Readline line buffer, for use with `bind -x' +'READLINE_LINE' + The contents of the Readline line buffer, for use with 'bind -x' (*note Bash Builtins::). -`READLINE_POINT' +'READLINE_POINT' The position of the insertion point in the Readline line buffer, - for use with `bind -x' (*note Bash Builtins::). + for use with 'bind -x' (*note Bash Builtins::). -`REPLY' - The default variable for the `read' builtin. +'REPLY' + The default variable for the 'read' builtin. -`SECONDS' +'SECONDS' This variable expands to the number of seconds since the shell was - started. Assignment to this variable resets the count to the - value assigned, and the expanded value becomes the value assigned - plus the number of seconds since the assignment. + started. Assignment to this variable resets the count to the value + assigned, and the expanded value becomes the value assigned plus + the number of seconds since the assignment. -`SHELL' +'SHELL' The full pathname to the shell is kept in this environment variable. If it is not set when the shell starts, Bash assigns to it the full pathname of the current user's login shell. -`SHELLOPTS' +'SHELLOPTS' A colon-separated list of enabled shell options. Each word in the - list is a valid argument for the `-o' option to the `set' builtin + list is a valid argument for the '-o' option to the 'set' builtin command (*note The Set Builtin::). The options appearing in - `SHELLOPTS' are those reported as `on' by `set -o'. If this + 'SHELLOPTS' are those reported as 'on' by 'set -o'. If this variable is in the environment when Bash starts up, each shell option in the list will be enabled before reading any startup files. This variable is readonly. -`SHLVL' +'SHLVL' Incremented by one each time a new instance of Bash is started. This is intended to be a count of how deeply your Bash shells are nested. -`TIMEFORMAT' +'TIMEFORMAT' The value of this parameter is used as a format string specifying - how the timing information for pipelines prefixed with the `time' - reserved word should be displayed. The `%' character introduces an + how the timing information for pipelines prefixed with the 'time' + reserved word should be displayed. The '%' character introduces an escape sequence that is expanded to a time value or other information. The escape sequences and their meanings are as follows; the braces denote optional portions. - `%%' - A literal `%'. + '%%' + A literal '%'. - `%[P][l]R' + '%[P][l]R' The elapsed time in seconds. - `%[P][l]U' + '%[P][l]U' The number of CPU seconds spent in user mode. - `%[P][l]S' + '%[P][l]S' The number of CPU seconds spent in system mode. - `%P' + '%P' The CPU percentage, computed as (%U + %S) / %R. The optional P is a digit specifying the precision, the number of fractional digits after a decimal point. A value of 0 causes no - decimal point or fraction to be output. At most three places - after the decimal point may be specified; values of P greater than - 3 are changed to 3. If P is not specified, the value 3 is used. + decimal point or fraction to be output. At most three places after + the decimal point may be specified; values of P greater than 3 are + changed to 3. If P is not specified, the value 3 is used. - The optional `l' specifies a longer format, including minutes, of + The optional 'l' specifies a longer format, including minutes, of the form MMmSS.FFs. The value of P determines whether or not the fraction is included. If this variable is not set, Bash acts as if it had the value - `$'\nreal\t%3lR\nuser\t%3lU\nsys\t%3lS'' + $'\nreal\t%3lR\nuser\t%3lU\nsys\t%3lS' If the value is null, no timing information is displayed. A trailing newline is added when the format string is displayed. -`TMOUT' - If set to a value greater than zero, `TMOUT' is treated as the - default timeout for the `read' builtin (*note Bash Builtins::). - The `select' command (*note Conditional Constructs::) terminates - if input does not arrive after `TMOUT' seconds when input is coming +'TMOUT' + If set to a value greater than zero, 'TMOUT' is treated as the + default timeout for the 'read' builtin (*note Bash Builtins::). + The 'select' command (*note Conditional Constructs::) terminates if + input does not arrive after 'TMOUT' seconds when input is coming from a terminal. In an interactive shell, the value is interpreted as the number of @@ -5234,15 +5317,14 @@ Variables::). prompt. Bash terminates after waiting for that number of seconds if a complete line of input does not arrive. -`TMPDIR' +'TMPDIR' If set, Bash uses its value as the name of a directory in which Bash creates temporary files for the shell's use. -`UID' +'UID' The numeric real user id of the current user. This variable is readonly. -  File: bashref.info, Node: Bash Features, Next: Job Control, Prev: Shell Variables, Up: Top @@ -5258,7 +5340,7 @@ This chapter describes features unique to Bash. * Bash Startup Files:: When and how Bash executes scripts. * Interactive Shells:: What an interactive shell is. * Bash Conditional Expressions:: Primitives used in composing expressions for - the `test' builtin. + the 'test' builtin. * Shell Arithmetic:: Arithmetic on shell variables. * Aliases:: Substituting one command for another. * Arrays:: Array Variables. @@ -5278,131 +5360,134 @@ File: bashref.info, Node: Invoking Bash, Next: Bash Startup Files, Up: Bash F bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o OPTION] [-O SHOPT_OPTION] -c STRING [ARGUMENT ...] bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o OPTION] [-O SHOPT_OPTION] [ARGUMENT ...] - All of the single-character options used with the `set' builtin + All of the single-character options used with the 'set' builtin (*note The Set Builtin::) can be used as options when the shell is invoked. In addition, there are several multi-character options that you can use. These options must appear on the command line before the single-character options to be recognized. -`--debugger' +'--debugger' Arrange for the debugger profile to be executed before the shell starts. Turns on extended debugging mode (see *note The Shopt - Builtin:: for a description of the `extdebug' option to the `shopt' + Builtin:: for a description of the 'extdebug' option to the 'shopt' builtin). -`--dump-po-strings' - A list of all double-quoted strings preceded by `$' is printed on - the standard output in the GNU `gettext' PO (portable object) file - format. Equivalent to `-D' except for the output format. +'--dump-po-strings' + A list of all double-quoted strings preceded by '$' is printed on + the standard output in the GNU 'gettext' PO (portable object) file + format. Equivalent to '-D' except for the output format. -`--dump-strings' - Equivalent to `-D'. +'--dump-strings' + Equivalent to '-D'. -`--help' +'--help' Display a usage message on standard output and exit successfully. -`--init-file FILENAME' -`--rcfile FILENAME' - Execute commands from FILENAME (instead of `~/.bashrc') in an +'--init-file FILENAME' +'--rcfile FILENAME' + Execute commands from FILENAME (instead of '~/.bashrc') in an interactive shell. -`--login' - Equivalent to `-l'. +'--login' + Equivalent to '-l'. -`--noediting' +'--noediting' Do not use the GNU Readline library (*note Command Line Editing::) - to read command lines when the shell is interactive. + to read command lines when the shell is interactive. -`--noprofile' - Don't load the system-wide startup file `/etc/profile' or any of - the personal initialization files `~/.bash_profile', - `~/.bash_login', or `~/.profile' when Bash is invoked as a login +'--noprofile' + Don't load the system-wide startup file '/etc/profile' or any of + the personal initialization files '~/.bash_profile', + '~/.bash_login', or '~/.profile' when Bash is invoked as a login shell. -`--norc' - Don't read the `~/.bashrc' initialization file in an interactive - shell. This is on by default if the shell is invoked as `sh'. +'--norc' + Don't read the '~/.bashrc' initialization file in an interactive + shell. This is on by default if the shell is invoked as 'sh'. -`--posix' +'--posix' Change the behavior of Bash where the default operation differs - from the POSIX standard to match the standard. This is intended - to make Bash behave as a strict superset of that standard. *Note - Bash POSIX Mode::, for a description of the Bash POSIX mode. + from the POSIX standard to match the standard. This is intended to + make Bash behave as a strict superset of that standard. *Note Bash + POSIX Mode::, for a description of the Bash POSIX mode. -`--restricted' +'--restricted' Make the shell a restricted shell (*note The Restricted Shell::). -`--verbose' - Equivalent to `-v'. Print shell input lines as they're read. +'--verbose' + Equivalent to '-v'. Print shell input lines as they're read. -`--version' +'--version' Show version information for this instance of Bash on the standard output and exit successfully. There are several single-character options that may be supplied at -invocation which are not available with the `set' builtin. +invocation which are not available with the 'set' builtin. -`-c' - Read and execute commands from the first non-option ARGUMENT after - processing the options, then exit. Any remaining arguments are - assigned to the positional parameters, starting with `$0'. +'-c' + Read and execute commands from the first non-option argument + COMMAND_STRING, then exit. If there are arguments after the + COMMAND_STRING, the first argument is assigned to '$0' and any + remaining arguments are assigned to the positional parameters. The + assignment to '$0' sets the name of the shell, which is used in + warning and error messages. -`-i' +'-i' Force the shell to run interactively. Interactive shells are described in *note Interactive Shells::. -`-l' +'-l' Make this shell act as if it had been directly invoked by login. When the shell is interactive, this is equivalent to starting a - login shell with `exec -l bash'. When the shell is not - interactive, the login shell startup files will be executed. - `exec bash -l' or `exec bash --login' will replace the current - shell with a Bash login shell. *Note Bash Startup Files::, for a - description of the special behavior of a login shell. + login shell with 'exec -l bash'. When the shell is not + interactive, the login shell startup files will be executed. 'exec + bash -l' or 'exec bash --login' will replace the current shell with + a Bash login shell. *Note Bash Startup Files::, for a description + of the special behavior of a login shell. -`-r' +'-r' Make the shell a restricted shell (*note The Restricted Shell::). -`-s' +'-s' If this option is present, or if no arguments remain after option processing, then commands are read from the standard input. This option allows the positional parameters to be set when invoking an interactive shell. -`-D' - A list of all double-quoted strings preceded by `$' is printed on +'-D' + A list of all double-quoted strings preceded by '$' is printed on the standard output. These are the strings that are subject to - language translation when the current locale is not `C' or `POSIX' - (*note Locale Translation::). This implies the `-n' option; no + language translation when the current locale is not 'C' or 'POSIX' + (*note Locale Translation::). This implies the '-n' option; no commands will be executed. -`[-+]O [SHOPT_OPTION]' - SHOPT_OPTION is one of the shell options accepted by the `shopt' +'[-+]O [SHOPT_OPTION]' + SHOPT_OPTION is one of the shell options accepted by the 'shopt' builtin (*note The Shopt Builtin::). If SHOPT_OPTION is present, - `-O' sets the value of that option; `+O' unsets it. If + '-O' sets the value of that option; '+O' unsets it. If SHOPT_OPTION is not supplied, the names and values of the shell - options accepted by `shopt' are printed on the standard output. - If the invocation option is `+O', the output is displayed in a - format that may be reused as input. + options accepted by 'shopt' are printed on the standard output. If + the invocation option is '+O', the output is displayed in a format + that may be reused as input. -`--' - A `--' signals the end of options and disables further option - processing. Any arguments after the `--' are treated as filenames +'--' + A '--' signals the end of options and disables further option + processing. Any arguments after the '--' are treated as filenames and arguments. - A _login_ shell is one whose first character of argument zero is -`-', or one invoked with the `--login' option. + A _login_ shell is one whose first character of argument zero is '-', +or one invoked with the '--login' option. An _interactive_ shell is one started without non-option arguments, -unless `-s' is specified, without specifying the `-c' option, and whose +unless '-s' is specified, without specifying the '-c' option, and whose input and output are both connected to terminals (as determined by -`isatty(3)'), or one started with the `-i' option. *Note Interactive +'isatty(3)'), or one started with the '-i' option. *Note Interactive Shells::, for more information. - If arguments remain after option processing, and neither the `-c' -nor the `-s' option has been supplied, the first argument is assumed to -be the name of a file containing shell commands (*note Shell Scripts::). -When Bash is invoked in this fashion, `$0' is set to the name of the + If arguments remain after option processing, and neither the '-c' nor +the '-s' option has been supplied, the first argument is assumed to be +the name of a file containing shell commands (*note Shell Scripts::). +When Bash is invoked in this fashion, '$0' is set to the name of the file, and the positional parameters are set to the remaining arguments. Bash reads and executes commands from this file, then exits. Bash's exit status is the exit status of the last command executed in the @@ -5421,78 +5506,79 @@ Tilde Expansion::). Interactive shells are described in *note Interactive Shells::. -Invoked as an interactive login shell, or with `--login' +Invoked as an interactive login shell, or with '--login' ........................................................ When Bash is invoked as an interactive login shell, or as a -non-interactive shell with the `--login' option, it first reads and -executes commands from the file `/etc/profile', if that file exists. -After reading that file, it looks for `~/.bash_profile', -`~/.bash_login', and `~/.profile', in that order, and reads and -executes commands from the first one that exists and is readable. The -`--noprofile' option may be used when the shell is started to inhibit +non-interactive shell with the '--login' option, it first reads and +executes commands from the file '/etc/profile', if that file exists. +After reading that file, it looks for '~/.bash_profile', +'~/.bash_login', and '~/.profile', in that order, and reads and executes +commands from the first one that exists and is readable. The +'--noprofile' option may be used when the shell is started to inhibit this behavior. - When a login shell exits, Bash reads and executes commands from the -file `~/.bash_logout', if it exists. + When an interactive login shell exits, or a non-interactive login +shell executes the 'exit' builtin command, Bash reads and executes +commands from the file '~/.bash_logout', if it exists. Invoked as an interactive non-login shell ......................................... When an interactive shell that is not a login shell is started, Bash -reads and executes commands from `~/.bashrc', if that file exists. -This may be inhibited by using the `--norc' option. The `--rcfile -FILE' option will force Bash to read and execute commands from FILE -instead of `~/.bashrc'. +reads and executes commands from '~/.bashrc', if that file exists. This +may be inhibited by using the '--norc' option. The '--rcfile FILE' +option will force Bash to read and execute commands from FILE instead of +'~/.bashrc'. - So, typically, your `~/.bash_profile' contains the line - `if [ -f ~/.bashrc ]; then . ~/.bashrc; fi' - after (or before) any login-specific initializations. + So, typically, your '~/.bash_profile' contains the line + if [ -f ~/.bashrc ]; then . ~/.bashrc; fi +after (or before) any login-specific initializations. Invoked non-interactively ......................... When Bash is started non-interactively, to run a shell script, for -example, it looks for the variable `BASH_ENV' in the environment, +example, it looks for the variable 'BASH_ENV' in the environment, expands its value if it appears there, and uses the expanded value as the name of a file to read and execute. Bash behaves as if the following command were executed: - `if [ -n "$BASH_ENV" ]; then . "$BASH_ENV"; fi' - but the value of the `PATH' variable is not used to search for the + if [ -n "$BASH_ENV" ]; then . "$BASH_ENV"; fi +but the value of the 'PATH' variable is not used to search for the filename. As noted above, if a non-interactive shell is invoked with the -`--login' option, Bash attempts to read and execute commands from the +'--login' option, Bash attempts to read and execute commands from the login shell startup files. -Invoked with name `sh' +Invoked with name 'sh' ...................... -If Bash is invoked with the name `sh', it tries to mimic the startup -behavior of historical versions of `sh' as closely as possible, while +If Bash is invoked with the name 'sh', it tries to mimic the startup +behavior of historical versions of 'sh' as closely as possible, while conforming to the POSIX standard as well. When invoked as an interactive login shell, or as a non-interactive -shell with the `--login' option, it first attempts to read and execute -commands from `/etc/profile' and `~/.profile', in that order. The -`--noprofile' option may be used to inhibit this behavior. When -invoked as an interactive shell with the name `sh', Bash looks for the -variable `ENV', expands its value if it is defined, and uses the -expanded value as the name of a file to read and execute. Since a -shell invoked as `sh' does not attempt to read and execute commands -from any other startup files, the `--rcfile' option has no effect. A -non-interactive shell invoked with the name `sh' does not attempt to -read any other startup files. - - When invoked as `sh', Bash enters POSIX mode after the startup files +shell with the '--login' option, it first attempts to read and execute +commands from '/etc/profile' and '~/.profile', in that order. The +'--noprofile' option may be used to inhibit this behavior. When invoked +as an interactive shell with the name 'sh', Bash looks for the variable +'ENV', expands its value if it is defined, and uses the expanded value +as the name of a file to read and execute. Since a shell invoked as +'sh' does not attempt to read and execute commands from any other +startup files, the '--rcfile' option has no effect. A non-interactive +shell invoked with the name 'sh' does not attempt to read any other +startup files. + + When invoked as 'sh', Bash enters POSIX mode after the startup files are read. Invoked in POSIX mode ..................... -When Bash is started in POSIX mode, as with the `--posix' command line +When Bash is started in POSIX mode, as with the '--posix' command line option, it follows the POSIX standard for startup files. In this mode, -interactive shells expand the `ENV' variable and commands are read and +interactive shells expand the 'ENV' variable and commands are read and executed from the file whose name is the expanded value. No other startup files are read. @@ -5501,23 +5587,23 @@ Invoked by remote shell daemon Bash attempts to determine when it is being run with its standard input connected to a network connection, as when executed by the remote shell -daemon, usually `rshd', or the secure shell daemon `sshd'. If Bash +daemon, usually 'rshd', or the secure shell daemon 'sshd'. If Bash determines it is being run in this fashion, it reads and executes -commands from `~/.bashrc', if that file exists and is readable. It -will not do this if invoked as `sh'. The `--norc' option may be used -to inhibit this behavior, and the `--rcfile' option may be used to -force another file to be read, but neither `rshd' nor `sshd' generally -invoke the shell with those options or allow them to be specified. +commands from '~/.bashrc', if that file exists and is readable. It will +not do this if invoked as 'sh'. The '--norc' option may be used to +inhibit this behavior, and the '--rcfile' option may be used to force +another file to be read, but neither 'rshd' nor 'sshd' generally invoke +the shell with those options or allow them to be specified. Invoked with unequal effective and real UID/GIDs ................................................ If Bash is started with the effective user (group) id not equal to the -real user (group) id, and the `-p' option is not supplied, no startup +real user (group) id, and the '-p' option is not supplied, no startup files are read, shell functions are not inherited from the environment, -the `SHELLOPTS', `BASHOPTS', `CDPATH', and `GLOBIGNORE' variables, if +the 'SHELLOPTS', 'BASHOPTS', 'CDPATH', and 'GLOBIGNORE' variables, if they appear in the environment, are ignored, and the effective user id -is set to the real user id. If the `-p' option is supplied at +is set to the real user id. If the '-p' option is supplied at invocation, the startup behavior is the same, but the effective user id is not reset. @@ -5539,15 +5625,15 @@ File: bashref.info, Node: What is an Interactive Shell?, Next: Is this Shell I 6.3.1 What is an Interactive Shell? ----------------------------------- -An interactive shell is one started without non-option arguments, -unless `-s' is specified, without specifying the `-c' option, and whose -input and error output are both connected to terminals (as determined -by `isatty(3)'), or one started with the `-i' option. +An interactive shell is one started without non-option arguments, unless +'-s' is specified, without specifying the '-c' option, and whose input +and error output are both connected to terminals (as determined by +'isatty(3)'), or one started with the '-i' option. An interactive shell generally reads from and writes to a user's terminal. - The `-s' invocation option may be used to set the positional + The '-s' invocation option may be used to set the positional parameters when an interactive shell is started.  @@ -5557,15 +5643,15 @@ File: bashref.info, Node: Is this Shell Interactive?, Next: Interactive Shell -------------------------------- To determine within a startup script whether or not Bash is running -interactively, test the value of the `-' special parameter. It -contains `i' when the shell is interactive. For example: +interactively, test the value of the '-' special parameter. It contains +'i' when the shell is interactive. For example: case "$-" in *i*) echo This shell is interactive ;; *) echo This shell is not interactive ;; esac - Alternatively, startup scripts may examine the variable `PS1'; it is + Alternatively, startup scripts may examine the variable 'PS1'; it is unset in non-interactive shells, and set in interactive shells. Thus: if [ -z "$PS1" ]; then @@ -5588,73 +5674,73 @@ several ways. 2. Job Control (*note Job Control::) is enabled by default. When job control is in effect, Bash ignores the keyboard-generated job - control signals `SIGTTIN', `SIGTTOU', and `SIGTSTP'. + control signals 'SIGTTIN', 'SIGTTOU', and 'SIGTSTP'. - 3. Bash expands and displays `PS1' before reading the first line of a - command, and expands and displays `PS2' before reading the second - and subsequent lines of a multi-line command. + 3. Bash expands and displays 'PS1' before reading the first line of a + command, and expands and displays 'PS2' before reading the second + and subsequent lines of a multi-line command. Bash displays 'PS0' + after it reads a command but before executing it. - 4. Bash executes the value of the `PROMPT_COMMAND' variable as a - command before printing the primary prompt, `$PS1' (*note Bash + 4. Bash executes the value of the 'PROMPT_COMMAND' variable as a + command before printing the primary prompt, '$PS1' (*note Bash Variables::). 5. Readline (*note Command Line Editing::) is used to read commands from the user's terminal. - 6. Bash inspects the value of the `ignoreeof' option to `set -o' - instead of exiting immediately when it receives an `EOF' on its + 6. Bash inspects the value of the 'ignoreeof' option to 'set -o' + instead of exiting immediately when it receives an 'EOF' on its standard input when reading a command (*note The Set Builtin::). 7. Command history (*note Bash History Facilities::) and history expansion (*note History Interaction::) are enabled by default. - Bash will save the command history to the file named by `$HISTFILE' + Bash will save the command history to the file named by '$HISTFILE' when a shell with history enabled exits. 8. Alias expansion (*note Aliases::) is performed by default. - 9. In the absence of any traps, Bash ignores `SIGTERM' (*note + 9. In the absence of any traps, Bash ignores 'SIGTERM' (*note Signals::). - 10. In the absence of any traps, `SIGINT' is caught and handled - ((*note Signals::). `SIGINT' will interrupt some shell builtins. + 10. In the absence of any traps, 'SIGINT' is caught and handled + ((*note Signals::). 'SIGINT' will interrupt some shell builtins. - 11. An interactive login shell sends a `SIGHUP' to all jobs on exit if - the `huponexit' shell option has been enabled (*note Signals::). + 11. An interactive login shell sends a 'SIGHUP' to all jobs on exit if + the 'huponexit' shell option has been enabled (*note Signals::). - 12. The `-n' invocation option is ignored, and `set -n' has no effect + 12. The '-n' invocation option is ignored, and 'set -n' has no effect (*note The Set Builtin::). - 13. Bash will check for mail periodically, depending on the values of - the `MAIL', `MAILPATH', and `MAILCHECK' shell variables (*note - Bash Variables::). + 13. Bash will check for mail periodically, depending on the values of + the 'MAIL', 'MAILPATH', and 'MAILCHECK' shell variables (*note Bash + Variables::). - 14. Expansion errors due to references to unbound shell variables after - `set -u' has been enabled will not cause the shell to exit (*note - The Set Builtin::). + 14. Expansion errors due to references to unbound shell variables + after 'set -u' has been enabled will not cause the shell to exit + (*note The Set Builtin::). - 15. The shell will not exit on expansion errors caused by VAR being - unset or null in `${VAR:?WORD}' expansions (*note Shell Parameter + 15. The shell will not exit on expansion errors caused by VAR being + unset or null in '${VAR:?WORD}' expansions (*note Shell Parameter Expansion::). - 16. Redirection errors encountered by shell builtins will not cause the - shell to exit. + 16. Redirection errors encountered by shell builtins will not cause + the shell to exit. - 17. When running in POSIX mode, a special builtin returning an error + 17. When running in POSIX mode, a special builtin returning an error status will not cause the shell to exit (*note Bash POSIX Mode::). - 18. A failed `exec' will not cause the shell to exit (*note Bourne + 18. A failed 'exec' will not cause the shell to exit (*note Bourne Shell Builtins::). - 19. Parser syntax errors will not cause the shell to exit. + 19. Parser syntax errors will not cause the shell to exit. - 20. Simple spelling correction for directory arguments to the `cd' - builtin is enabled by default (see the description of the `cdspell' - option to the `shopt' builtin in *note The Shopt Builtin::). + 20. Simple spelling correction for directory arguments to the 'cd' + builtin is enabled by default (see the description of the 'cdspell' + option to the 'shopt' builtin in *note The Shopt Builtin::). - 21. The shell will check the value of the `TMOUT' variable and exit if + 21. The shell will check the value of the 'TMOUT' variable and exit if a command is not read within the specified number of seconds after - printing `$PS1' (*note Bash Variables::). - + printing '$PS1' (*note Bash Variables::).  File: bashref.info, Node: Bash Conditional Expressions, Next: Shell Arithmetic, Prev: Interactive Shells, Up: Bash Features @@ -5662,137 +5748,139 @@ File: bashref.info, Node: Bash Conditional Expressions, Next: Shell Arithmetic 6.4 Bash Conditional Expressions ================================ -Conditional expressions are used by the `[[' compound command and the -`test' and `[' builtin commands. +Conditional expressions are used by the '[[' compound command and the +'test' and '[' builtin commands. - Expressions may be unary or binary. Unary expressions are often -used to examine the status of a file. There are string operators and -numeric comparison operators as well. If the FILE argument to one of -the primaries is of the form `/dev/fd/N', then file descriptor N is -checked. If the FILE argument to one of the primaries is one of -`/dev/stdin', `/dev/stdout', or `/dev/stderr', file descriptor 0, 1, or -2, respectively, is checked. + Expressions may be unary or binary. Unary expressions are often used +to examine the status of a file. There are string operators and numeric +comparison operators as well. Bash handles several filenames specially +when they are used in expressions. If the operating system on which +Bash is running provides these special files, Bash will use them; +otherwise it will emulate them internally with this behavior: If the +FILE argument to one of the primaries is of the form '/dev/fd/N', then +file descriptor N is checked. If the FILE argument to one of the +primaries is one of '/dev/stdin', '/dev/stdout', or '/dev/stderr', file +descriptor 0, 1, or 2, respectively, is checked. - When used with `[[', the `<' and `>' operators sort -lexicographically using the current locale. The `test' command uses -ASCII ordering. + When used with '[[', the '<' and '>' operators sort lexicographically +using the current locale. The 'test' command uses ASCII ordering. Unless otherwise specified, primaries that operate on files follow symbolic links and operate on the target of the link, rather than the link itself. -`-a FILE' +'-a FILE' True if FILE exists. -`-b FILE' +'-b FILE' True if FILE exists and is a block special file. -`-c FILE' +'-c FILE' True if FILE exists and is a character special file. -`-d FILE' +'-d FILE' True if FILE exists and is a directory. -`-e FILE' +'-e FILE' True if FILE exists. -`-f FILE' +'-f FILE' True if FILE exists and is a regular file. -`-g FILE' +'-g FILE' True if FILE exists and its set-group-id bit is set. -`-h FILE' +'-h FILE' True if FILE exists and is a symbolic link. -`-k FILE' +'-k FILE' True if FILE exists and its "sticky" bit is set. -`-p FILE' +'-p FILE' True if FILE exists and is a named pipe (FIFO). -`-r FILE' +'-r FILE' True if FILE exists and is readable. -`-s FILE' +'-s FILE' True if FILE exists and has a size greater than zero. -`-t FD' +'-t FD' True if file descriptor FD is open and refers to a terminal. -`-u FILE' +'-u FILE' True if FILE exists and its set-user-id bit is set. -`-w FILE' +'-w FILE' True if FILE exists and is writable. -`-x FILE' +'-x FILE' True if FILE exists and is executable. -`-G FILE' +'-G FILE' True if FILE exists and is owned by the effective group id. -`-L FILE' +'-L FILE' True if FILE exists and is a symbolic link. -`-N FILE' +'-N FILE' True if FILE exists and has been modified since it was last read. -`-O FILE' +'-O FILE' True if FILE exists and is owned by the effective user id. -`-S FILE' +'-S FILE' True if FILE exists and is a socket. -`FILE1 -ef FILE2' +'FILE1 -ef FILE2' True if FILE1 and FILE2 refer to the same device and inode numbers. -`FILE1 -nt FILE2' - True if FILE1 is newer (according to modification date) than - FILE2, or if FILE1 exists and FILE2 does not. +'FILE1 -nt FILE2' + True if FILE1 is newer (according to modification date) than FILE2, + or if FILE1 exists and FILE2 does not. -`FILE1 -ot FILE2' +'FILE1 -ot FILE2' True if FILE1 is older than FILE2, or if FILE2 exists and FILE1 does not. -`-o OPTNAME' +'-o OPTNAME' True if the shell option OPTNAME is enabled. The list of options - appears in the description of the `-o' option to the `set' builtin + appears in the description of the '-o' option to the 'set' builtin (*note The Set Builtin::). -`-v VARNAME' +'-v VARNAME' True if the shell variable VARNAME is set (has been assigned a value). -`-R VARNAME' +'-R VARNAME' True if the shell variable VARNAME is set and is a name reference. -`-z STRING' +'-z STRING' True if the length of STRING is zero. -`-n STRING' -`STRING' +'-n STRING' +'STRING' True if the length of STRING is non-zero. -`STRING1 == STRING2' -`STRING1 = STRING2' - True if the strings are equal. When used with the `[[' command, +'STRING1 == STRING2' +'STRING1 = STRING2' + True if the strings are equal. When used with the '[[' command, this performs pattern matching as described above (*note Conditional Constructs::). - `=' should be used with the `test' command for POSIX conformance. + '=' should be used with the 'test' command for POSIX conformance. -`STRING1 != STRING2' +'STRING1 != STRING2' True if the strings are not equal. -`STRING1 < STRING2' +'STRING1 < STRING2' True if STRING1 sorts before STRING2 lexicographically. -`STRING1 > STRING2' +'STRING1 > STRING2' True if STRING1 sorts after STRING2 lexicographically. -`ARG1 OP ARG2' - `OP' is one of `-eq', `-ne', `-lt', `-le', `-gt', or `-ge'. These +'ARG1 OP ARG2' + 'OP' is one of '-eq', '-ne', '-lt', '-le', '-gt', or '-ge'. These arithmetic binary operators return true if ARG1 is equal to, not equal to, less than, less than or equal to, greater than, or greater than or equal to ARG2, respectively. ARG1 and ARG2 may be @@ -5805,68 +5893,68 @@ File: bashref.info, Node: Shell Arithmetic, Next: Aliases, Prev: Bash Conditi ==================== The shell allows arithmetic expressions to be evaluated, as one of the -shell expansions or by the `let' and the `-i' option to the `declare' -builtins. +shell expansions or by using the '((' compound command, the 'let' +builtin, or the '-i' option to the 'declare' builtin. Evaluation is done in fixed-width integers with no check for overflow, though division by 0 is trapped and flagged as an error. The operators and their precedence, associativity, and values are the same as in the C language. The following list of operators is grouped into -levels of equal-precedence operators. The levels are listed in order -of decreasing precedence. +levels of equal-precedence operators. The levels are listed in order of +decreasing precedence. -`ID++ ID--' +'ID++ ID--' variable post-increment and post-decrement -`++ID --ID' +'++ID --ID' variable pre-increment and pre-decrement -`- +' +'- +' unary minus and plus -`! ~' +'! ~' logical and bitwise negation -`**' +'**' exponentiation -`* / %' +'* / %' multiplication, division, remainder -`+ -' +'+ -' addition, subtraction -`<< >>' +'<< >>' left and right bitwise shifts -`<= >= < >' +'<= >= < >' comparison -`== !=' +'== !=' equality and inequality -`&' +'&' bitwise AND -`^' +'^' bitwise exclusive OR -`|' +'|' bitwise OR -`&&' +'&&' logical AND -`||' +'||' logical OR -`expr ? expr : expr' +'expr ? expr : expr' conditional operator -`= *= /= %= += -= <<= >>= &= ^= |=' +'= *= /= %= += -= <<= >>= &= ^= |=' assignment -`expr1 , expr2' +'expr1 , expr2' comma Shell variables are allowed as operands; parameter expansion is @@ -5874,21 +5962,21 @@ performed before the expression is evaluated. Within an expression, shell variables may also be referenced by name without using the parameter expansion syntax. A shell variable that is null or unset evaluates to 0 when referenced by name without using the parameter -expansion syntax. The value of a variable is evaluated as an -arithmetic expression when it is referenced, or when a variable which -has been given the INTEGER attribute using `declare -i' is assigned a -value. A null value evaluates to 0. A shell variable need not have -its INTEGER attribute turned on to be used in an expression. +expansion syntax. The value of a variable is evaluated as an arithmetic +expression when it is referenced, or when a variable which has been +given the INTEGER attribute using 'declare -i' is assigned a value. A +null value evaluates to 0. A shell variable need not have its INTEGER +attribute turned on to be used in an expression. Constants with a leading 0 are interpreted as octal numbers. A -leading `0x' or `0X' denotes hexadecimal. Otherwise, numbers take the -form [BASE`#']N, where the optional BASE is a decimal number between 2 +leading '0x' or '0X' denotes hexadecimal. Otherwise, numbers take the +form [BASE'#']N, where the optional BASE is a decimal number between 2 and 64 representing the arithmetic base, and N is a number in that base. -If BASE`#' is omitted, then base 10 is used. When specifying N, he +If BASE'#' is omitted, then base 10 is used. When specifying N, the digits greater than 9 are represented by the lowercase letters, the -uppercase letters, `@', and `_', in that order. If BASE is less than -or equal to 36, lowercase and uppercase letters may be used -interchangeably to represent numbers between 10 and 35. +uppercase letters, '@', and '_', in that order. If BASE is less than or +equal to 36, lowercase and uppercase letters may be used interchangeably +to represent numbers between 10 and 35. Operators are evaluated in order of precedence. Sub-expressions in parentheses are evaluated first and may override the precedence rules @@ -5902,47 +5990,46 @@ File: bashref.info, Node: Aliases, Next: Arrays, Prev: Shell Arithmetic, Up: ALIASES allow a string to be substituted for a word when it is used as the first word of a simple command. The shell maintains a list of -aliases that may be set and unset with the `alias' and `unalias' -builtin commands. +aliases that may be set and unset with the 'alias' and 'unalias' builtin +commands. The first word of each simple command, if unquoted, is checked to see if it has an alias. If so, that word is replaced by the text of the -alias. The characters `/', `$', ``', `=' and any of the shell +alias. The characters '/', '$', '`', '=' and any of the shell metacharacters or quoting characters listed above may not appear in an alias name. The replacement text may contain any valid shell input, including shell metacharacters. The first word of the replacement text is tested for aliases, but a word that is identical to an alias being expanded is not expanded a second time. This means that one may alias -`ls' to `"ls -F"', for instance, and Bash does not try to recursively +'ls' to '"ls -F"', for instance, and Bash does not try to recursively expand the replacement text. If the last character of the alias value is a BLANK, then the next command word following the alias is also checked for alias expansion. - Aliases are created and listed with the `alias' command, and removed -with the `unalias' command. + Aliases are created and listed with the 'alias' command, and removed +with the 'unalias' command. - There is no mechanism for using arguments in the replacement text, -as in `csh'. If arguments are needed, a shell function should be used + There is no mechanism for using arguments in the replacement text, as +in 'csh'. If arguments are needed, a shell function should be used (*note Shell Functions::). Aliases are not expanded when the shell is not interactive, unless -the `expand_aliases' shell option is set using `shopt' (*note The Shopt +the 'expand_aliases' shell option is set using 'shopt' (*note The Shopt Builtin::). The rules concerning the definition and use of aliases are somewhat -confusing. Bash always reads at least one complete line of input -before executing any of the commands on that line. Aliases are -expanded when a command is read, not when it is executed. Therefore, an -alias definition appearing on the same line as another command does not -take effect until the next line of input is read. The commands -following the alias definition on that line are not affected by the new -alias. This behavior is also an issue when functions are executed. -Aliases are expanded when a function definition is read, not when the -function is executed, because a function definition is itself a -compound command. As a consequence, aliases defined in a function are -not available until after that function is executed. To be safe, -always put alias definitions on a separate line, and do not use `alias' -in compound commands. +confusing. Bash always reads at least one complete line of input before +executing any of the commands on that line. Aliases are expanded when a +command is read, not when it is executed. Therefore, an alias +definition appearing on the same line as another command does not take +effect until the next line of input is read. The commands following the +alias definition on that line are not affected by the new alias. This +behavior is also an issue when functions are executed. Aliases are +expanded when a function definition is read, not when the function is +executed, because a function definition is itself a command. As a +consequence, aliases defined in a function are not available until after +that function is executed. To be safe, always put alias definitions on +a separate line, and do not use 'alias' in compound commands. For almost every purpose, shell functions are preferred over aliases. @@ -5953,35 +6040,35 @@ File: bashref.info, Node: Arrays, Next: The Directory Stack, Prev: Aliases, ========== Bash provides one-dimensional indexed and associative array variables. -Any variable may be used as an indexed array; the `declare' builtin -will explicitly declare an array. There is no maximum limit on the -size of an array, nor any requirement that members be indexed or -assigned contiguously. Indexed arrays are referenced using integers -(including arithmetic expressions (*note Shell Arithmetic::)) and are -zero-based; associative arrays use arbitrary strings. Unless otherwise -noted, indexed array indices must be non-negative integers. - - An indexed array is created automatically if any variable is -assigned to using the syntax +Any variable may be used as an indexed array; the 'declare' builtin will +explicitly declare an array. There is no maximum limit on the size of +an array, nor any requirement that members be indexed or assigned +contiguously. Indexed arrays are referenced using integers (including +arithmetic expressions (*note Shell Arithmetic::)) and are zero-based; +associative arrays use arbitrary strings. Unless otherwise noted, +indexed array indices must be non-negative integers. + + An indexed array is created automatically if any variable is assigned +to using the syntax NAME[SUBSCRIPT]=VALUE The SUBSCRIPT is treated as an arithmetic expression that must evaluate to a number. To explicitly declare an array, use declare -a NAME - The syntax +The syntax declare -a NAME[SUBSCRIPT] - is also accepted; the SUBSCRIPT is ignored. +is also accepted; the SUBSCRIPT is ignored. Associative arrays are created using declare -A NAME. - Attributes may be specified for an array variable using the -`declare' and `readonly' builtins. Each attribute applies to all -members of an array. + Attributes may be specified for an array variable using the 'declare' +and 'readonly' builtins. Each attribute applies to all members of an +array. Arrays are assigned to using compound assignments of the form NAME=(VALUE1 VALUE2 ... ) - where each VALUE is of the form `[SUBSCRIPT]='STRING. Indexed array +where each VALUE is of the form '[SUBSCRIPT]='STRING. Indexed array assignments do not require anything but STRING. When assigning to indexed arrays, if the optional subscript is supplied, that index is assigned to; otherwise the index of the element assigned is the last @@ -5989,8 +6076,8 @@ index assigned to by the statement plus one. Indexing starts at zero. When assigning to an associative array, the subscript is required. - This syntax is also accepted by the `declare' builtin. Individual -array elements may be assigned to using the `NAME[SUBSCRIPT]=VALUE' + This syntax is also accepted by the 'declare' builtin. Individual +array elements may be assigned to using the 'NAME[SUBSCRIPT]=VALUE' syntax introduced above. When assigning to an indexed array, if NAME is subscripted by a @@ -5998,28 +6085,30 @@ negative number, that number is interpreted as relative to one greater than the maximum index of NAME, so negative indices count back from the end of the array, and an index of -1 references the last element. - Any element of an array may be referenced using `${NAME[SUBSCRIPT]}'. + Any element of an array may be referenced using '${NAME[SUBSCRIPT]}'. The braces are required to avoid conflicts with the shell's filename -expansion operators. If the SUBSCRIPT is `@' or `*', the word expands -to all members of the array NAME. These subscripts differ only when -the word appears within double quotes. If the word is double-quoted, -`${NAME[*]}' expands to a single word with the value of each array -member separated by the first character of the `IFS' variable, and -`${NAME[@]}' expands each element of NAME to a separate word. When -there are no array members, `${NAME[@]}' expands to nothing. If the -double-quoted expansion occurs within a word, the expansion of the -first parameter is joined with the beginning part of the original word, -and the expansion of the last parameter is joined with the last part of -the original word. This is analogous to the expansion of the special -parameters `@' and `*'. `${#NAME[SUBSCRIPT]}' expands to the length of -`${NAME[SUBSCRIPT]}'. If SUBSCRIPT is `@' or `*', the expansion is the -number of elements in the array. Referencing an array variable without -a subscript is equivalent to referencing with a subscript of 0. If the -SUBSCRIPT used to reference an element of an indexed array evaluates to -a number less than zero, it is interpreted as relative to one greater -than the maximum index of the array, so negative indices count back -from the end of the array, and an index of -1 refers to the last -element. +expansion operators. If the SUBSCRIPT is '@' or '*', the word expands +to all members of the array NAME. These subscripts differ only when the +word appears within double quotes. If the word is double-quoted, +'${NAME[*]}' expands to a single word with the value of each array +member separated by the first character of the 'IFS' variable, and +'${NAME[@]}' expands each element of NAME to a separate word. When +there are no array members, '${NAME[@]}' expands to nothing. If the +double-quoted expansion occurs within a word, the expansion of the first +parameter is joined with the beginning part of the original word, and +the expansion of the last parameter is joined with the last part of the +original word. This is analogous to the expansion of the special +parameters '@' and '*'. '${#NAME[SUBSCRIPT]}' expands to the length of +'${NAME[SUBSCRIPT]}'. If SUBSCRIPT is '@' or '*', the expansion is the +number of elements in the array. If the SUBSCRIPT used to reference an +element of an indexed array evaluates to a number less than zero, it is +interpreted as relative to one greater than the maximum index of the +array, so negative indices count back from the end of the array, and an +index of -1 refers to the last element. + + Referencing an array variable without a subscript is equivalent to +referencing with a subscript of 0. Any reference to a variable using a +valid subscript is legal, and 'bash' will create an array if necessary. An array variable is considered set if a subscript has been assigned a value. The null string is a valid value. @@ -6027,22 +6116,22 @@ a value. The null string is a valid value. It is possible to obtain the keys (indices) of an array as well as the values. ${!NAME[@]} and ${!NAME[*]} expand to the indices assigned in array variable NAME. The treatment when in double quotes is similar -to the expansion of the special parameters `@' and `*' within double +to the expansion of the special parameters '@' and '*' within double quotes. - The `unset' builtin is used to destroy arrays. `unset + The 'unset' builtin is used to destroy arrays. 'unset NAME[SUBSCRIPT]' destroys the array element at index SUBSCRIPT. Negative subscripts to indexed arrays are interpreted as described above. Care must be taken to avoid unwanted side effects caused by -filename expansion. `unset NAME', where NAME is an array, removes the -entire array. A subscript of `*' or `@' also removes the entire array. +filename expansion. 'unset NAME', where NAME is an array, removes the +entire array. A subscript of '*' or '@' also removes the entire array. - The `declare', `local', and `readonly' builtins each accept a `-a' -option to specify an indexed array and a `-A' option to specify an -associative array. If both options are supplied, `-A' takes precedence. -The `read' builtin accepts a `-a' option to assign a list of words read + The 'declare', 'local', and 'readonly' builtins each accept a '-a' +option to specify an indexed array and a '-A' option to specify an +associative array. If both options are supplied, '-A' takes precedence. +The 'read' builtin accepts a '-a' option to assign a list of words read from the standard input to an array, and can read values from the -standard input into individual array elements. The `set' and `declare' +standard input into individual array elements. The 'set' and 'declare' builtins display array values in a way that allows them to be reused as input. @@ -6057,14 +6146,15 @@ File: bashref.info, Node: The Directory Stack, Next: Controlling the Prompt, * Directory Stack Builtins:: Bash builtin commands to manipulate the directory stack. - The directory stack is a list of recently-visited directories. The -`pushd' builtin adds directories to the stack as it changes the current -directory, and the `popd' builtin removes specified directories from -the stack and changes the current directory to the directory removed. -The `dirs' builtin displays the contents of the directory stack. +The directory stack is a list of recently-visited directories. The +'pushd' builtin adds directories to the stack as it changes the current +directory, and the 'popd' builtin removes specified directories from the +stack and changes the current directory to the directory removed. The +'dirs' builtin displays the contents of the directory stack. The +current directory is always the "top" of the directory stack. The contents of the directory stack are also visible as the value of -the `DIRSTACK' shell variable. +the 'DIRSTACK' shell variable.  File: bashref.info, Node: Directory Stack Builtins, Up: The Directory Stack @@ -6072,87 +6162,76 @@ File: bashref.info, Node: Directory Stack Builtins, Up: The Directory Stack 6.8.1 Directory Stack Builtins ------------------------------ -`dirs' +'dirs' dirs [-clpv] [+N | -N] Display the list of currently remembered directories. Directories - are added to the list with the `pushd' command; the `popd' command - removes directories from the list. + are added to the list with the 'pushd' command; the 'popd' command + removes directories from the list. The current directory is always + the first directory in the stack. - `-c' + '-c' Clears the directory stack by deleting all of the elements. - - `-l' + '-l' Produces a listing using full pathnames; the default listing format uses a tilde to denote the home directory. - - `-p' - Causes `dirs' to print the directory stack with one entry per + '-p' + Causes 'dirs' to print the directory stack with one entry per line. - - `-v' - Causes `dirs' to print the directory stack with one entry per + '-v' + Causes 'dirs' to print the directory stack with one entry per line, prefixing each entry with its index in the stack. - - `+N' - Displays the Nth directory (counting from the left of the - list printed by `dirs' when invoked without options), starting - with zero. - - `-N' + '+N' + Displays the Nth directory (counting from the left of the list + printed by 'dirs' when invoked without options), starting with + zero. + '-N' Displays the Nth directory (counting from the right of the - list printed by `dirs' when invoked without options), starting + list printed by 'dirs' when invoked without options), starting with zero. -`popd' +'popd' popd [-n] [+N | -N] - Remove the top entry from the directory stack, and `cd' to the new - top directory. When no arguments are given, `popd' removes the - top directory from the stack and performs a `cd' to the new top - directory. The elements are numbered from 0 starting at the first - directory listed with `dirs'; that is, `popd' is equivalent to - `popd +0'. + When no arguments are given, 'popd' removes the top directory from + the stack and performs a 'cd' to the new top directory. The + elements are numbered from 0 starting at the first directory listed + with 'dirs'; that is, 'popd' is equivalent to 'popd +0'. - `-n' + '-n' Suppresses the normal change of directory when removing directories from the stack, so that only the stack is manipulated. - - `+N' + '+N' Removes the Nth directory (counting from the left of the list - printed by `dirs'), starting with zero. - - `-N' - Removes the Nth directory (counting from the right of the - list printed by `dirs'), starting with zero. + printed by 'dirs'), starting with zero. + '-N' + Removes the Nth directory (counting from the right of the list + printed by 'dirs'), starting with zero. -`pushd' +'pushd' pushd [-n] [+N | -N | DIR] Save the current directory on the top of the directory stack and - then `cd' to DIR. With no arguments, `pushd' exchanges the top - two directories. + then 'cd' to DIR. With no arguments, 'pushd' exchanges the top two + directories and makes the new top the current directory. - `-n' - Suppresses the normal change of directory when adding - directories to the stack, so that only the stack is + '-n' + Suppresses the normal change of directory when rotating or + adding directories to the stack, so that only the stack is manipulated. - - `+N' + '+N' Brings the Nth directory (counting from the left of the list - printed by `dirs', starting with zero) to the top of the list + printed by 'dirs', starting with zero) to the top of the list by rotating the stack. - - `-N' + '-N' Brings the Nth directory (counting from the right of the list - printed by `dirs', starting with zero) to the top of the list + printed by 'dirs', starting with zero) to the top of the list by rotating the stack. - - `DIR' - Makes the current working directory be the top of the stack, - making it the new current directory as if it had been - supplied as an argument to the `cd' builtin. + 'DIR' + Makes DIR be the top of the stack, making it the new current + directory as if it had been supplied as an argument to the + 'cd' builtin.  File: bashref.info, Node: Controlling the Prompt, Next: The Restricted Shell, Prev: The Directory Stack, Up: Bash Features @@ -6160,98 +6239,72 @@ File: bashref.info, Node: Controlling the Prompt, Next: The Restricted Shell, 6.9 Controlling the Prompt ========================== -The value of the variable `PROMPT_COMMAND' is examined just before Bash -prints each primary prompt. If `PROMPT_COMMAND' is set and has a +The value of the variable 'PROMPT_COMMAND' is examined just before Bash +prints each primary prompt. If 'PROMPT_COMMAND' is set and has a non-null value, then the value is executed just as if it had been typed on the command line. In addition, the following table describes the special characters -which can appear in the prompt variables `PS1' to `PS4': +which can appear in the prompt variables 'PS1' to 'PS4': -`\a' +'\a' A bell character. - -`\d' +'\d' The date, in "Weekday Month Date" format (e.g., "Tue May 26"). - -`\D{FORMAT}' - The FORMAT is passed to `strftime'(3) and the result is inserted +'\D{FORMAT}' + The FORMAT is passed to 'strftime'(3) and the result is inserted into the prompt string; an empty FORMAT results in a locale-specific time representation. The braces are required. - -`\e' +'\e' An escape character. - -`\h' - The hostname, up to the first `.'. - -`\H' +'\h' + The hostname, up to the first '.'. +'\H' The hostname. - -`\j' +'\j' The number of jobs currently managed by the shell. - -`\l' +'\l' The basename of the shell's terminal device name. - -`\n' +'\n' A newline. - -`\r' +'\r' A carriage return. - -`\s' - The name of the shell, the basename of `$0' (the portion following +'\s' + The name of the shell, the basename of '$0' (the portion following the final slash). - -`\t' +'\t' The time, in 24-hour HH:MM:SS format. - -`\T' +'\T' The time, in 12-hour HH:MM:SS format. - -`\@' +'\@' The time, in 12-hour am/pm format. - -`\A' +'\A' The time, in 24-hour HH:MM format. - -`\u' +'\u' The username of the current user. - -`\v' +'\v' The version of Bash (e.g., 2.00) - -`\V' +'\V' The release of Bash, version + patchlevel (e.g., 2.00.0) - -`\w' - The current working directory, with `$HOME' abbreviated with a - tilde (uses the `$PROMPT_DIRTRIM' variable). - -`\W' - The basename of `$PWD', with `$HOME' abbreviated with a tilde. - -`\!' +'\w' + The current working directory, with '$HOME' abbreviated with a + tilde (uses the '$PROMPT_DIRTRIM' variable). +'\W' + The basename of '$PWD', with '$HOME' abbreviated with a tilde. +'\!' The history number of this command. - -`\#' +'\#' The command number of this command. - -`\$' - If the effective uid is 0, `#', otherwise `$'. - -`\NNN' +'\$' + If the effective uid is 0, '#', otherwise '$'. +'\NNN' The character whose ASCII code is the octal value NNN. - -`\\' +'\\' A backslash. - -`\[' +'\[' Begin a sequence of non-printing characters. This could be used to embed a terminal control sequence into the prompt. - -`\]' +'\]' End a sequence of non-printing characters. The command number and the history number are usually different: the @@ -6262,7 +6315,7 @@ of commands executed during the current shell session. After the string is decoded, it is expanded via parameter expansion, command substitution, arithmetic expansion, and quote removal, subject -to the value of the `promptvars' shell option (*note Bash Builtins::). +to the value of the 'promptvars' shell option (*note Bash Builtins::).  File: bashref.info, Node: The Restricted Shell, Next: Bash POSIX Mode, Prev: Controlling the Prompt, Up: Bash Features @@ -6270,50 +6323,38 @@ File: bashref.info, Node: The Restricted Shell, Next: Bash POSIX Mode, Prev: 6.10 The Restricted Shell ========================= -If Bash is started with the name `rbash', or the `--restricted' or `-r' +If Bash is started with the name 'rbash', or the '--restricted' or '-r' option is supplied at invocation, the shell becomes restricted. A restricted shell is used to set up an environment more controlled than -the standard shell. A restricted shell behaves identically to `bash' +the standard shell. A restricted shell behaves identically to 'bash' with the exception that the following are disallowed or not performed: - * Changing directories with the `cd' builtin. - - * Setting or unsetting the values of the `SHELL', `PATH', `ENV', or - `BASH_ENV' variables. - + * Changing directories with the 'cd' builtin. + * Setting or unsetting the values of the 'SHELL', 'PATH', 'ENV', or + 'BASH_ENV' variables. * Specifying command names containing slashes. - - * Specifying a filename containing a slash as an argument to the `.' + * Specifying a filename containing a slash as an argument to the '.' builtin command. - - * Specifying a filename containing a slash as an argument to the `-p' - option to the `hash' builtin command. - + * Specifying a filename containing a slash as an argument to the '-p' + option to the 'hash' builtin command. * Importing function definitions from the shell environment at startup. - - * Parsing the value of `SHELLOPTS' from the shell environment at + * Parsing the value of 'SHELLOPTS' from the shell environment at startup. - - * Redirecting output using the `>', `>|', `<>', `>&', `&>', and `>>' + * Redirecting output using the '>', '>|', '<>', '>&', '&>', and '>>' redirection operators. - - * Using the `exec' builtin to replace the shell with another command. - - * Adding or deleting builtin commands with the `-f' and `-d' options - to the `enable' builtin. - - * Using the `enable' builtin command to enable disabled shell + * Using the 'exec' builtin to replace the shell with another command. + * Adding or deleting builtin commands with the '-f' and '-d' options + to the 'enable' builtin. + * Using the 'enable' builtin command to enable disabled shell builtins. - - * Specifying the `-p' option to the `command' builtin. - - * Turning off restricted mode with `set +r' or `set +o restricted'. + * Specifying the '-p' option to the 'command' builtin. + * Turning off restricted mode with 'set +r' or 'set +o restricted'. These restrictions are enforced after any startup files are read. When a command that is found to be a shell script is executed (*note -Shell Scripts::), `rbash' turns off any restrictions in the shell +Shell Scripts::), 'rbash' turns off any restrictions in the shell spawned to execute the script.  @@ -6322,217 +6363,236 @@ File: bashref.info, Node: Bash POSIX Mode, Prev: The Restricted Shell, Up: Ba 6.11 Bash POSIX Mode ==================== -Starting Bash with the `--posix' command-line option or executing `set +Starting Bash with the '--posix' command-line option or executing 'set -o posix' while Bash is running will cause Bash to conform more closely to the POSIX standard by changing the behavior to match that specified by POSIX in areas where the Bash default differs. - When invoked as `sh', Bash enters POSIX mode after reading the + When invoked as 'sh', Bash enters POSIX mode after reading the startup files. - The following list is what's changed when `POSIX mode' is in effect: + The following list is what's changed when 'POSIX mode' is in effect: 1. When a command in the hash table no longer exists, Bash will - re-search `$PATH' to find the new location. This is also - available with `shopt -s checkhash'. + re-search '$PATH' to find the new location. This is also available + with 'shopt -s checkhash'. 2. The message printed by the job control code and builtins when a job - exits with a non-zero status is `Done(status)'. + exits with a non-zero status is 'Done(status)'. 3. The message printed by the job control code and builtins when a job - is stopped is `Stopped(SIGNAME)', where SIGNAME is, for example, - `SIGTSTP'. + is stopped is 'Stopped(SIGNAME)', where SIGNAME is, for example, + 'SIGTSTP'. - 4. The `bg' builtin uses the required format to describe each job - placed in the background, which does not include an indication of - whether the job is the current or previous job. + 4. Alias expansion is always enabled, even in non-interactive shells. 5. Reserved words appearing in a context where reserved words are recognized do not undergo alias expansion. - 6. The POSIX `PS1' and `PS2' expansions of `!' to the history number - and `!!' to `!' are enabled, and parameter expansion is performed - on the values of `PS1' and `PS2' regardless of the setting of the - `promptvars' option. + 6. The POSIX 'PS1' and 'PS2' expansions of '!' to the history number + and '!!' to '!' are enabled, and parameter expansion is performed + on the values of 'PS1' and 'PS2' regardless of the setting of the + 'promptvars' option. - 7. The POSIX startup files are executed (`$ENV') rather than the + 7. The POSIX startup files are executed ('$ENV') rather than the normal Bash files. 8. Tilde expansion is only performed on assignments preceding a command name, rather than on all assignment statements on the line. - 9. The `command' builtin does not prevent builtins that take - assignment statements as arguments from expanding them as - assignment statements; when not in POSIX mode, assignment builtins - lose their assignment statement expansion properties when preceded - by `command'. - - 10. The default history file is `~/.sh_history' (this is the default - value of `$HISTFILE'). - - 11. The output of `kill -l' prints all the signal names on a single - line, separated by spaces, without the `SIG' prefix. + 9. The default history file is '~/.sh_history' (this is the default + value of '$HISTFILE'). - 12. The `kill' builtin does not accept signal names with a `SIG' - prefix. - - 13. Non-interactive shells exit if FILENAME in `.' FILENAME is not - found. - - 14. Non-interactive shells exit if a syntax error in an arithmetic - expansion results in an invalid expression. - - 15. Non-interactive shells exit if there is a syntax error in a script - read with the `.' or `source' builtins, or in a string processed by - the `eval' builtin. + 10. Redirection operators do not perform filename expansion on the + word in the redirection unless the shell is interactive. - 16. Redirection operators do not perform filename expansion on the word - in the redirection unless the shell is interactive. - - 17. Redirection operators do not perform word splitting on the word in + 11. Redirection operators do not perform word splitting on the word in the redirection. - 18. Function names must be valid shell `name's. That is, they may not + 12. Function names must be valid shell 'name's. That is, they may not contain characters other than letters, digits, and underscores, and may not start with a digit. Declaring a function with an invalid name causes a fatal syntax error in non-interactive shells. - 19. Function names may not be the same as one of the POSIX special + 13. Function names may not be the same as one of the POSIX special builtins. - 20. POSIX special builtins are found before shell functions during + 14. POSIX special builtins are found before shell functions during command lookup. - 21. The `time' reserved word may be used by itself as a command. When + 15. When printing shell function definitions (e.g., by 'type'), Bash + does not print the 'function' keyword. + + 16. Literal tildes that appear as the first character in elements of + the 'PATH' variable are not expanded as described above under *note + Tilde Expansion::. + + 17. The 'time' reserved word may be used by itself as a command. When used in this way, it displays timing statistics for the shell and - its completed children. The `TIMEFORMAT' variable controls the + its completed children. The 'TIMEFORMAT' variable controls the format of the timing information. - 22. When parsing and expanding a ${...} expansion that appears within + 18. When parsing and expanding a ${...} expansion that appears within double quotes, single quotes are no longer special and cannot be used to quote a closing brace or other special character, unless the operator is one of those defined to perform pattern removal. In this case, they do not have to appear as matched pairs. - 23. The parser does not recognize `time' as a reserved word if the next - token begins with a `-'. + 19. The parser does not recognize 'time' as a reserved word if the + next token begins with a '-'. - 24. If a POSIX special builtin returns an error status, a + 20. The '!' character does not introduce history expansion within a + double-quoted string, even if the 'histexpand' option is enabled. + + 21. If a POSIX special builtin returns an error status, a non-interactive shell exits. The fatal errors are those listed in the POSIX standard, and include things like passing incorrect options, redirection errors, variable assignment errors for assignments preceding the command name, and so on. - 25. A non-interactive shell exits with an error status if a variable + 22. A non-interactive shell exits with an error status if a variable assignment error occurs when no command name follows the assignment statements. A variable assignment error occurs, for example, when trying to assign a value to a readonly variable. - 26. A non-interactive shell exits with an error status if a variable + 23. A non-interactive shell exits with an error status if a variable assignment error occurs in an assignment statement preceding a special builtin, but not with any other simple command. - 27. A non-interactive shell exits with an error status if the iteration - variable in a `for' statement or the selection variable in a - `select' statement is a readonly variable. + 24. A non-interactive shell exits with an error status if the + iteration variable in a 'for' statement or the selection variable + in a 'select' statement is a readonly variable. - 28. Process substitution is not available. + 25. Non-interactive shells exit if FILENAME in '.' FILENAME is not + found. - 29. While variable indirection is available, it may not be applied to - the `#' and `?' special parameters. + 26. Non-interactive shells exit if a syntax error in an arithmetic + expansion results in an invalid expression. + + 27. Non-interactive shells exit if a parameter expansion error occurs. + + 28. Non-interactive shells exit if there is a syntax error in a script + read with the '.' or 'source' builtins, or in a string processed by + the 'eval' builtin. + + 29. Process substitution is not available. + + 30. While variable indirection is available, it may not be applied to + the '#' and '?' special parameters. + + 31. When expanding the '*' special parameter in a pattern context + where the expansion is double-quoted does not treat the '$*' as if + it were double-quoted. - 30. Assignment statements preceding POSIX special builtins persist in + 32. Assignment statements preceding POSIX special builtins persist in the shell environment after the builtin completes. - 31. Assignment statements preceding shell function calls persist in the - shell environment after the function returns, as if a POSIX + 33. Assignment statements preceding shell function calls persist in + the shell environment after the function returns, as if a POSIX special builtin command had been executed. - 32. The `export' and `readonly' builtin commands display their output + 34. The 'command' builtin does not prevent builtins that take + assignment statements as arguments from expanding them as + assignment statements; when not in POSIX mode, assignment builtins + lose their assignment statement expansion properties when preceded + by 'command'. + + 35. The 'bg' builtin uses the required format to describe each job + placed in the background, which does not include an indication of + whether the job is the current or previous job. + + 36. The output of 'kill -l' prints all the signal names on a single + line, separated by spaces, without the 'SIG' prefix. + + 37. The 'kill' builtin does not accept signal names with a 'SIG' + prefix. + + 38. The 'export' and 'readonly' builtin commands display their output in the format required by POSIX. - 33. The `trap' builtin displays signal names without the leading `SIG'. + 39. The 'trap' builtin displays signal names without the leading + 'SIG'. - 34. The `trap' builtin doesn't check the first argument for a possible + 40. The 'trap' builtin doesn't check the first argument for a possible signal specification and revert the signal handling to the original disposition if it is, unless that argument consists solely of digits and is a valid signal number. If users want to reset the - handler for a given signal to the original disposition, they - should use `-' as the first argument. - - 35. The `.' and `source' builtins do not search the current directory - for the filename argument if it is not found by searching `PATH'. + handler for a given signal to the original disposition, they should + use '-' as the first argument. - 36. Subshells spawned to execute command substitutions inherit the - value of the `-e' option from the parent shell. When not in POSIX - mode, Bash clears the `-e' option in such subshells. + 41. The '.' and 'source' builtins do not search the current directory + for the filename argument if it is not found by searching 'PATH'. - 37. Alias expansion is always enabled, even in non-interactive shells. + 42. Enabling POSIX mode has the effect of setting the + 'inherit_errexit' option, so subshells spawned to execute command + substitutions inherit the value of the '-e' option from the parent + shell. When the 'inherit_errexit' option is not enabled, Bash + clears the '-e' option in such subshells. - 38. When the `alias' builtin displays alias definitions, it does not - display them with a leading `alias ' unless the `-p' option is + 43. When the 'alias' builtin displays alias definitions, it does not + display them with a leading 'alias ' unless the '-p' option is supplied. - 39. When the `set' builtin is invoked without options, it does not + 44. When the 'set' builtin is invoked without options, it does not display shell function names and definitions. - 40. When the `set' builtin is invoked without options, it displays + 45. When the 'set' builtin is invoked without options, it displays variable values without quotes, unless they contain shell metacharacters, even if the result contains nonprinting characters. - 41. When the `cd' builtin is invoked in LOGICAL mode, and the pathname - constructed from `$PWD' and the directory name supplied as an - argument does not refer to an existing directory, `cd' will fail + 46. When the 'cd' builtin is invoked in LOGICAL mode, and the pathname + constructed from '$PWD' and the directory name supplied as an + argument does not refer to an existing directory, 'cd' will fail instead of falling back to PHYSICAL mode. - 42. The `pwd' builtin verifies that the value it prints is the same as + 47. The 'pwd' builtin verifies that the value it prints is the same as the current directory, even if it is not asked to check the file - system with the `-P' option. + system with the '-P' option. - 43. When listing the history, the `fc' builtin does not include an + 48. When listing the history, the 'fc' builtin does not include an indication of whether or not a history entry has been modified. - 44. The default editor used by `fc' is `ed'. + 49. The default editor used by 'fc' is 'ed'. - 45. The `type' and `command' builtins will not report a non-executable - file as having been found, though the shell will attempt to - execute such a file if it is the only so-named file found in - `$PATH'. + 50. The 'type' and 'command' builtins will not report a non-executable + file as having been found, though the shell will attempt to execute + such a file if it is the only so-named file found in '$PATH'. - 46. The `vi' editing mode will invoke the `vi' editor directly when - the `v' command is run, instead of checking `$VISUAL' and - `$EDITOR'. + 51. The 'vi' editing mode will invoke the 'vi' editor directly when + the 'v' command is run, instead of checking '$VISUAL' and + '$EDITOR'. - 47. When the `xpg_echo' option is enabled, Bash does not attempt to - interpret any arguments to `echo' as options. Each argument is + 52. When the 'xpg_echo' option is enabled, Bash does not attempt to + interpret any arguments to 'echo' as options. Each argument is displayed, after escape characters are converted. - 48. The `ulimit' builtin uses a block size of 512 bytes for the `-c' - and `-f' options. + 53. The 'ulimit' builtin uses a block size of 512 bytes for the '-c' + and '-f' options. - 49. The arrival of `SIGCHLD' when a trap is set on `SIGCHLD' does not - interrupt the `wait' builtin and cause it to return immediately. + 54. The arrival of 'SIGCHLD' when a trap is set on 'SIGCHLD' does not + interrupt the 'wait' builtin and cause it to return immediately. The trap command is run once for each child that exits. - 50. The `read' builtin may be interrupted by a signal for which a trap + 55. The 'read' builtin may be interrupted by a signal for which a trap has been set. If Bash receives a trapped signal while executing - `read', the trap handler executes and `read' returns an exit - status greater than 128. - + 'read', the trap handler executes and 'read' returns an exit status + greater than 128. - There is other POSIX behavior that Bash does not implement by -default even when in POSIX mode. Specifically: + 56. Bash removes an exited background process's status from the list + of such statuses after the 'wait' builtin is used to obtain it. - 1. The `fc' builtin checks `$EDITOR' as a program to edit history - entries if `FCEDIT' is unset, rather than defaulting directly to - `ed'. `fc' uses `ed' if `EDITOR' is unset. + There is other POSIX behavior that Bash does not implement by default +even when in POSIX mode. Specifically: - 2. As noted above, Bash requires the `xpg_echo' option to be enabled - for the `echo' builtin to be fully conformant. + 1. The 'fc' builtin checks '$EDITOR' as a program to edit history + entries if 'FCEDIT' is unset, rather than defaulting directly to + 'ed'. 'fc' uses 'ed' if 'EDITOR' is unset. + 2. As noted above, Bash requires the 'xpg_echo' option to be enabled + for the 'echo' builtin to be fully conformant. Bash can be configured to be POSIX-conformant by default, by -specifying the `--enable-strict-posix-default' to `configure' when +specifying the '--enable-strict-posix-default' to 'configure' when building (*note Optional Features::).  @@ -6565,77 +6625,76 @@ interface supplied jointly by the operating system kernel's terminal driver and Bash. The shell associates a JOB with each pipeline. It keeps a table of -currently executing jobs, which may be listed with the `jobs' command. +currently executing jobs, which may be listed with the 'jobs' command. When Bash starts a job asynchronously, it prints a line that looks like: [1] 25647 - indicating that this job is job number 1 and that the process ID of -the last process in the pipeline associated with this job is 25647. -All of the processes in a single pipeline are members of the same job. -Bash uses the JOB abstraction as the basis for job control. +indicating that this job is job number 1 and that the process ID of the +last process in the pipeline associated with this job is 25647. All of +the processes in a single pipeline are members of the same job. Bash +uses the JOB abstraction as the basis for job control. To facilitate the implementation of the user interface to job control, the operating system maintains the notion of a current terminal process group ID. Members of this process group (processes whose process group ID is equal to the current terminal process group ID) -receive keyboard-generated signals such as `SIGINT'. These processes +receive keyboard-generated signals such as 'SIGINT'. These processes are said to be in the foreground. Background processes are those whose process group ID differs from the terminal's; such processes are immune -to keyboard-generated signals. Only foreground processes are allowed -to read from or, if the user so specifies with `stty tostop', write to -the terminal. Background processes which attempt to read from (write -to when `stty tostop' is in effect) the terminal are sent a `SIGTTIN' -(`SIGTTOU') signal by the kernel's terminal driver, which, unless +to keyboard-generated signals. Only foreground processes are allowed to +read from or, if the user so specifies with 'stty tostop', write to the +terminal. Background processes which attempt to read from (write to +when 'stty tostop' is in effect) the terminal are sent a 'SIGTTIN' +('SIGTTOU') signal by the kernel's terminal driver, which, unless caught, suspends the process. If the operating system on which Bash is running supports job control, Bash contains facilities to use it. Typing the SUSPEND -character (typically `^Z', Control-Z) while a process is running causes +character (typically '^Z', Control-Z) while a process is running causes that process to be stopped and returns control to Bash. Typing the -DELAYED SUSPEND character (typically `^Y', Control-Y) causes the -process to be stopped when it attempts to read input from the terminal, -and control to be returned to Bash. The user then manipulates the -state of this job, using the `bg' command to continue it in the -background, the `fg' command to continue it in the foreground, or the -`kill' command to kill it. A `^Z' takes effect immediately, and has -the additional side effect of causing pending output and typeahead to -be discarded. +DELAYED SUSPEND character (typically '^Y', Control-Y) causes the process +to be stopped when it attempts to read input from the terminal, and +control to be returned to Bash. The user then manipulates the state of +this job, using the 'bg' command to continue it in the background, the +'fg' command to continue it in the foreground, or the 'kill' command to +kill it. A '^Z' takes effect immediately, and has the additional side +effect of causing pending output and typeahead to be discarded. There are a number of ways to refer to a job in the shell. The -character `%' introduces a job specification (JOBSPEC). - - Job number `n' may be referred to as `%n'. The symbols `%%' and -`%+' refer to the shell's notion of the current job, which is the last -job stopped while it was in the foreground or started in the background. -A single `%' (with no accompanying job specification) also refers to -the current job. The previous job may be referenced using `%-'. If -there is only a single job, `%+' and `%-' can both be used to refer to -that job. In output pertaining to jobs (e.g., the output of the `jobs' -command), the current job is always flagged with a `+', and the -previous job with a `-'. +character '%' introduces a job specification (JOBSPEC). + + Job number 'n' may be referred to as '%n'. The symbols '%%' and '%+' +refer to the shell's notion of the current job, which is the last job +stopped while it was in the foreground or started in the background. A +single '%' (with no accompanying job specification) also refers to the +current job. The previous job may be referenced using '%-'. If there +is only a single job, '%+' and '%-' can both be used to refer to that +job. In output pertaining to jobs (e.g., the output of the 'jobs' +command), the current job is always flagged with a '+', and the previous +job with a '-'. A job may also be referred to using a prefix of the name used to start it, or using a substring that appears in its command line. For -example, `%ce' refers to a stopped `ce' job. Using `%?ce', on the -other hand, refers to any job containing the string `ce' in its command -line. If the prefix or substring matches more than one job, Bash -reports an error. - - Simply naming a job can be used to bring it into the foreground: -`%1' is a synonym for `fg %1', bringing job 1 from the background into -the foreground. Similarly, `%1 &' resumes job 1 in the background, -equivalent to `bg %1' - - The shell learns immediately whenever a job changes state. -Normally, Bash waits until it is about to print a prompt before -reporting changes in a job's status so as to not interrupt any other -output. If the `-b' option to the `set' builtin is enabled, Bash -reports such changes immediately (*note The Set Builtin::). Any trap -on `SIGCHLD' is executed for each child process that exits. +example, '%ce' refers to a stopped 'ce' job. Using '%?ce', on the other +hand, refers to any job containing the string 'ce' in its command line. +If the prefix or substring matches more than one job, Bash reports an +error. + + Simply naming a job can be used to bring it into the foreground: '%1' +is a synonym for 'fg %1', bringing job 1 from the background into the +foreground. Similarly, '%1 &' resumes job 1 in the background, +equivalent to 'bg %1' + + The shell learns immediately whenever a job changes state. Normally, +Bash waits until it is about to print a prompt before reporting changes +in a job's status so as to not interrupt any other output. If the '-b' +option to the 'set' builtin is enabled, Bash reports such changes +immediately (*note The Set Builtin::). Any trap on 'SIGCHLD' is +executed for each child process that exits. If an attempt to exit Bash is made while jobs are stopped, (or -running, if the `checkjobs' option is enabled - see *note The Shopt -Builtin::), the shell prints a warning message, and if the `checkjobs' -option is enabled, lists the jobs and their statuses. The `jobs' +running, if the 'checkjobs' option is enabled - see *note The Shopt +Builtin::), the shell prints a warning message, and if the 'checkjobs' +option is enabled, lists the jobs and their statuses. The 'jobs' command may then be used to inspect their status. If a second attempt to exit is made without an intervening command, Bash does not print another warning, and any stopped jobs are terminated. @@ -6646,76 +6705,76 @@ File: bashref.info, Node: Job Control Builtins, Next: Job Control Variables, 7.2 Job Control Builtins ======================== -`bg' +'bg' bg [JOBSPEC ...] Resume each suspended job JOBSPEC in the background, as if it had - been started with `&'. If JOBSPEC is not supplied, the current - job is used. The return status is zero unless it is run when job + been started with '&'. If JOBSPEC is not supplied, the current job + is used. The return status is zero unless it is run when job control is not enabled, or, when run with job control enabled, any JOBSPEC was not found or specifies a job that was started without job control. -`fg' +'fg' fg [JOBSPEC] Resume the job JOBSPEC in the foreground and make it the current job. If JOBSPEC is not supplied, the current job is used. The - return status is that of the command placed into the foreground, - or non-zero if run when job control is disabled or, when run with - job control enabled, JOBSPEC does not specify a valid job or - JOBSPEC specifies a job that was started without job control. + return status is that of the command placed into the foreground, or + non-zero if run when job control is disabled or, when run with job + control enabled, JOBSPEC does not specify a valid job or JOBSPEC + specifies a job that was started without job control. -`jobs' +'jobs' jobs [-lnprs] [JOBSPEC] jobs -x COMMAND [ARGUMENTS] The first form lists the active jobs. The options have the following meanings: - `-l' + '-l' List process IDs in addition to the normal information. - `-n' + '-n' Display information only about jobs that have changed status since the user was last notified of their status. - `-p' + '-p' List only the process ID of the job's process group leader. - `-r' + '-r' Display only running jobs. - `-s' + '-s' Display only stopped jobs. - If JOBSPEC is given, output is restricted to information about - that job. If JOBSPEC is not supplied, the status of all jobs is - listed. + If JOBSPEC is given, output is restricted to information about that + job. If JOBSPEC is not supplied, the status of all jobs is listed. - If the `-x' option is supplied, `jobs' replaces any JOBSPEC found + If the '-x' option is supplied, 'jobs' replaces any JOBSPEC found in COMMAND or ARGUMENTS with the corresponding process group ID, and executes COMMAND, passing it ARGUMENTs, returning its exit status. -`kill' +'kill' kill [-s SIGSPEC] [-n SIGNUM] [-SIGSPEC] JOBSPEC or PID - kill -l [EXIT_STATUS] + kill -l|-L [EXIT_STATUS] Send a signal specified by SIGSPEC or SIGNUM to the process named by job specification JOBSPEC or process ID PID. SIGSPEC is either - a case-insensitive signal name such as `SIGINT' (with or without - the `SIG' prefix) or a signal number; SIGNUM is a signal number. - If SIGSPEC and SIGNUM are not present, `SIGTERM' is used. The - `-l' option lists the signal names. If any arguments are supplied - when `-l' is given, the names of the signals corresponding to the + a case-insensitive signal name such as 'SIGINT' (with or without + the 'SIG' prefix) or a signal number; SIGNUM is a signal number. + If SIGSPEC and SIGNUM are not present, 'SIGTERM' is used. The '-l' + option lists the signal names. If any arguments are supplied when + '-l' is given, the names of the signals corresponding to the arguments are listed, and the return status is zero. EXIT_STATUS is a number specifying a signal number or the exit status of a - process terminated by a signal. The return status is zero if at - least one signal was successfully sent, or non-zero if an error - occurs or an invalid option is encountered. + process terminated by a signal. The '-L' option is equivalent to + '-l'. The return status is zero if at least one signal was + successfully sent, or non-zero if an error occurs or an invalid + option is encountered. -`wait' +'wait' wait [-n] [JOBSPEC or PID ...] Wait until the child process specified by each process ID PID or @@ -6723,32 +6782,32 @@ File: bashref.info, Node: Job Control Builtins, Next: Job Control Variables, last command waited for. If a job spec is given, all processes in the job are waited for. If no arguments are given, all currently active child processes are waited for, and the return status is - zero. If the `-n' option is supplied, `wait' waits for any job to + zero. If the '-n' option is supplied, 'wait' waits for any job to terminate and returns its exit status. If neither JOBSPEC nor PID specifies an active child process of the shell, the return status is 127. -`disown' - disown [-ar] [-h] [JOBSPEC ...] +'disown' + disown [-ar] [-h] [JOBSPEC ... | PID ... ] Without options, remove each JOBSPEC from the table of active jobs. - If the `-h' option is given, the job is not removed from the table, - but is marked so that `SIGHUP' is not sent to the job if the shell - receives a `SIGHUP'. If JOBSPEC is not present, and neither the - `-a' nor the `-r' option is supplied, the current job is used. If - no JOBSPEC is supplied, the `-a' option means to remove or mark - all jobs; the `-r' option without a JOBSPEC argument restricts + If the '-h' option is given, the job is not removed from the table, + but is marked so that 'SIGHUP' is not sent to the job if the shell + receives a 'SIGHUP'. If JOBSPEC is not present, and neither the + '-a' nor the '-r' option is supplied, the current job is used. If + no JOBSPEC is supplied, the '-a' option means to remove or mark all + jobs; the '-r' option without a JOBSPEC argument restricts operation to running jobs. -`suspend' +'suspend' suspend [-f] - Suspend the execution of this shell until it receives a `SIGCONT' - signal. A login shell cannot be suspended; the `-f' option can be + Suspend the execution of this shell until it receives a 'SIGCONT' + signal. A login shell cannot be suspended; the '-f' option can be used to override this and force the suspension. - When job control is not active, the `kill' and `wait' builtins do -not accept JOBSPEC arguments. They must be supplied process IDs. + When job control is not active, the 'kill' and 'wait' builtins do not +accept JOBSPEC arguments. They must be supplied process IDs.  File: bashref.info, Node: Job Control Variables, Prev: Job Control Builtins, Up: Job Control @@ -6756,23 +6815,22 @@ File: bashref.info, Node: Job Control Variables, Prev: Job Control Builtins, 7.3 Job Control Variables ========================= -`auto_resume' +'auto_resume' This variable controls how the shell interacts with the user and job control. If this variable exists then single word simple commands without redirections are treated as candidates for resumption of an existing job. There is no ambiguity allowed; if there is more than one job beginning with the string typed, then the most recently accessed job will be selected. The name of a - stopped job, in this context, is the command line used to start - it. If this variable is set to the value `exact', the string - supplied must match the name of a stopped job exactly; if set to - `substring', the string supplied needs to match a substring of the - name of a stopped job. The `substring' value provides - functionality analogous to the `%?' job ID (*note Job Control + stopped job, in this context, is the command line used to start it. + If this variable is set to the value 'exact', the string supplied + must match the name of a stopped job exactly; if set to + 'substring', the string supplied needs to match a substring of the + name of a stopped job. The 'substring' value provides + functionality analogous to the '%?' job ID (*note Job Control Basics::). If set to any other value, the supplied string must be a prefix of a stopped job's name; this provides functionality - analogous to the `%' job ID. - + analogous to the '%' job ID.  File: bashref.info, Node: Command Line Editing, Next: Using History Interactively, Prev: Job Control, Up: Top @@ -6784,14 +6842,14 @@ This chapter describes the basic features of the GNU command line editing interface. Command line editing is provided by the Readline library, which is used by several different programs, including Bash. Command line editing is enabled by default when using an interactive -shell, unless the `--noediting' option is supplied at shell invocation. -Line editing is also used when using the `-e' option to the `read' +shell, unless the '--noediting' option is supplied at shell invocation. +Line editing is also used when using the '-e' option to the 'read' builtin command (*note Bash Builtins::). By default, the line editing commands are similar to those of Emacs. A vi-style line editing interface is also available. Line editing can be enabled at any time -using the `-o emacs' or `-o vi' options to the `set' builtin command -(*note The Set Builtin::), or disabled using the `+o emacs' or `+o vi' -options to `set'. +using the '-o emacs' or '-o vi' options to the 'set' builtin command +(*note The Set Builtin::), or disabled using the '+o emacs' or '+o vi' +options to 'set'. * Menu: @@ -6802,7 +6860,6 @@ options to `set'. available for binding * Readline vi Mode:: A short description of how to make Readline behave like the vi editor. - * Programmable Completion:: How to specify the possible completions for a specific command. * Programmable Completion Builtins:: Builtin commands to specify how to @@ -6819,10 +6876,10 @@ File: bashref.info, Node: Introduction and Notation, Next: Readline Interactio The following paragraphs describe the notation used to represent keystrokes. - The text `C-k' is read as `Control-K' and describes the character + The text 'C-k' is read as 'Control-K' and describes the character produced when the key is pressed while the Control key is depressed. - The text `M-k' is read as `Meta-K' and describes the character + The text 'M-k' is read as 'Meta-K' and describes the character produced when the Meta key (if you have one) is depressed, and the key is pressed. The Meta key is labeled on many keyboards. On keyboards with two keys labeled (usually to either side of the @@ -6836,15 +6893,15 @@ Meta key, the identical keystroke can be generated by typing _first_, and then typing . Either process is known as "metafying" the key. - The text `M-C-k' is read as `Meta-Control-k' and describes the -character produced by "metafying" `C-k'. + The text 'M-C-k' is read as 'Meta-Control-k' and describes the +character produced by "metafying" 'C-k'. - In addition, several keys have their own names. Specifically, -, , , , , and all stand for themselves -when seen in this text, or in an init file (*note Readline Init File::). -If your keyboard lacks a key, typing will produce the -desired character. The key may be labeled or on -some keyboards. + In addition, several keys have their own names. Specifically, , +, , , , and all stand for themselves when seen +in this text, or in an init file (*note Readline Init File::). If your +keyboard lacks a key, typing will produce the desired +character. The key may be labeled or on some +keyboards.  File: bashref.info, Node: Readline Interaction, Next: Readline Init File, Prev: Introduction and Notation, Up: Command Line Editing @@ -6882,41 +6939,35 @@ character appears where the cursor was, and then the cursor moves one space to the right. If you mistype a character, you can use your erase character to back up and delete the mistyped character. - Sometimes you may mistype a character, and not notice the error -until you have typed several other characters. In that case, you can -type `C-b' to move the cursor to the left, and then correct your -mistake. Afterwards, you can move the cursor to the right with `C-f'. + Sometimes you may mistype a character, and not notice the error until +you have typed several other characters. In that case, you can type +'C-b' to move the cursor to the left, and then correct your mistake. +Afterwards, you can move the cursor to the right with 'C-f'. When you add text in the middle of a line, you will notice that -characters to the right of the cursor are `pushed over' to make room -for the text that you have inserted. Likewise, when you delete text -behind the cursor, characters to the right of the cursor are `pulled -back' to fill in the blank space created by the removal of the text. A -list of the bare essentials for editing the text of an input line -follows. - -`C-b' - Move back one character. +characters to the right of the cursor are 'pushed over' to make room for +the text that you have inserted. Likewise, when you delete text behind +the cursor, characters to the right of the cursor are 'pulled back' to +fill in the blank space created by the removal of the text. A list of +the bare essentials for editing the text of an input line follows. -`C-f' +'C-b' + Move back one character. +'C-f' Move forward one character. - or Delete the character to the left of the cursor. - -`C-d' +'C-d' Delete the character underneath the cursor. - Printing characters Insert the character into the line at the cursor. - -`C-_' or `C-x C-u' +'C-_' or 'C-x C-u' Undo the last editing command. You can undo all the way back to an empty line. (Depending on your configuration, the key be set to delete the character to the left of the cursor and the key set to delete -the character underneath the cursor, like `C-d', rather than the +the character underneath the cursor, like 'C-d', rather than the character to the left of the cursor.)  @@ -6926,29 +6977,25 @@ File: bashref.info, Node: Readline Movement Commands, Next: Readline Killing C -------------------------------- The above table describes the most basic keystrokes that you need in -order to do editing of the input line. For your convenience, many -other commands have been added in addition to `C-b', `C-f', `C-d', and -. Here are some commands for moving more rapidly about the line. +order to do editing of the input line. For your convenience, many other +commands have been added in addition to 'C-b', 'C-f', 'C-d', and . +Here are some commands for moving more rapidly about the line. -`C-a' +'C-a' Move to the start of the line. - -`C-e' +'C-e' Move to the end of the line. - -`M-f' +'M-f' Move forward a word, where a word is composed of letters and digits. - -`M-b' +'M-b' Move backward a word. - -`C-l' +'C-l' Clear the screen, reprinting the current line at the top. - Notice how `C-f' moves forward a character, while `M-f' moves -forward a word. It is a loose convention that control keystrokes -operate on characters while meta keystrokes operate on words. + Notice how 'C-f' moves forward a character, while 'M-f' moves forward +a word. It is a loose convention that control keystrokes operate on +characters while meta keystrokes operate on words.  File: bashref.info, Node: Readline Killing Commands, Next: Readline Arguments, Prev: Readline Movement Commands, Up: Readline Interaction @@ -6957,51 +7004,49 @@ File: bashref.info, Node: Readline Killing Commands, Next: Readline Arguments, ------------------------------- "Killing" text means to delete the text from the line, but to save it -away for later use, usually by "yanking" (re-inserting) it back into -the line. (`Cut' and `paste' are more recent jargon for `kill' and -`yank'.) +away for later use, usually by "yanking" (re-inserting) it back into the +line. ('Cut' and 'paste' are more recent jargon for 'kill' and 'yank'.) - If the description for a command says that it `kills' text, then you + If the description for a command says that it 'kills' text, then you can be sure that you can get the text back in a different (or the same) place later. - When you use a kill command, the text is saved in a "kill-ring". -Any number of consecutive kills save all of the killed text together, so + When you use a kill command, the text is saved in a "kill-ring". Any +number of consecutive kills save all of the killed text together, so that when you yank it back, you get it all. The kill ring is not line specific; the text that you killed on a previously typed line is -available to be yanked back later, when you are typing another line. +available to be yanked back later, when you are typing another line. Here is the list of commands for killing text. -`C-k' +'C-k' Kill the text from the current cursor position to the end of the line. -`M-d' +'M-d' Kill from the cursor to the end of the current word, or, if between words, to the end of the next word. Word boundaries are the same - as those used by `M-f'. + as those used by 'M-f'. -`M-' +'M-' Kill from the cursor the start of the current word, or, if between words, to the start of the previous word. Word boundaries are the - same as those used by `M-b'. - -`C-w' - Kill from the cursor to the previous whitespace. This is - different than `M-' because the word boundaries differ. + same as those used by 'M-b'. +'C-w' + Kill from the cursor to the previous whitespace. This is different + than 'M-' because the word boundaries differ. Here is how to "yank" the text back into the line. Yanking means to copy the most-recently-killed text from the kill buffer. -`C-y' +'C-y' Yank the most recently killed text back into the buffer at the cursor. -`M-y' +'M-y' Rotate the kill-ring, and yank the new top. You can only do this - if the prior command is `C-y' or `M-y'. + if the prior command is 'C-y' or 'M-y'.  File: bashref.info, Node: Readline Arguments, Next: Searching, Prev: Readline Killing Commands, Up: Readline Interaction @@ -7014,15 +7059,15 @@ argument acts as a repeat count, other times it is the sign of the argument that is significant. If you pass a negative argument to a command which normally acts in a forward direction, that command will act in a backward direction. For example, to kill text back to the -start of the line, you might type `M-- C-k'. +start of the line, you might type 'M-- C-k'. The general way to pass numeric arguments to a command is to type -meta digits before the command. If the first `digit' typed is a minus -sign (`-'), then the sign of the argument will be negative. Once you +meta digits before the command. If the first 'digit' typed is a minus +sign ('-'), then the sign of the argument will be negative. Once you have typed one meta digit to get the argument started, you can type the -remainder of the digits, and then the command. For example, to give -the `C-d' command an argument of 10, you could type `M-1 0 C-d', which -will delete the next ten characters on the input line. +remainder of the digits, and then the command. For example, to give the +'C-d' command an argument of 10, you could type 'M-1 0 C-d', which will +delete the next ten characters on the input line.  File: bashref.info, Node: Searching, Prev: Readline Arguments, Up: Readline Interaction @@ -7032,35 +7077,35 @@ File: bashref.info, Node: Searching, Prev: Readline Arguments, Up: Readline I Readline provides commands for searching through the command history (*note Bash History Facilities::) for lines containing a specified -string. There are two search modes: "incremental" and +string. There are two search modes: "incremental" and "non-incremental". Incremental searches begin before the user has finished typing the search string. As each character of the search string is typed, Readline displays the next entry from the history matching the string -typed so far. An incremental search requires only as many characters -as needed to find the desired history entry. To search backward in the -history for a particular string, type `C-r'. Typing `C-s' searches -forward through the history. The characters present in the value of -the `isearch-terminators' variable are used to terminate an incremental +typed so far. An incremental search requires only as many characters as +needed to find the desired history entry. To search backward in the +history for a particular string, type 'C-r'. Typing 'C-s' searches +forward through the history. The characters present in the value of the +'isearch-terminators' variable are used to terminate an incremental search. If that variable has not been assigned a value, the and -`C-J' characters will terminate an incremental search. `C-g' will -abort an incremental search and restore the original line. When the -search is terminated, the history entry containing the search string -becomes the current line. - - To find other matching entries in the history list, type `C-r' or -`C-s' as appropriate. This will search backward or forward in the -history for the next entry matching the search string typed so far. -Any other key sequence bound to a Readline command will terminate the -search and execute that command. For instance, a will terminate -the search and accept the line, thereby executing the command from the +'C-J' characters will terminate an incremental search. 'C-g' will abort +an incremental search and restore the original line. When the search is +terminated, the history entry containing the search string becomes the +current line. + + To find other matching entries in the history list, type 'C-r' or +'C-s' as appropriate. This will search backward or forward in the +history for the next entry matching the search string typed so far. Any +other key sequence bound to a Readline command will terminate the search +and execute that command. For instance, a will terminate the +search and accept the line, thereby executing the command from the history list. A movement command will terminate the search, make the last line found the current line, and begin editing. - Readline remembers the last incremental search string. If two -`C-r's are typed without any intervening characters defining a new -search string, any remembered search string is used. + Readline remembers the last incremental search string. If two 'C-r's +are typed without any intervening characters defining a new search +string, any remembered search string is used. Non-incremental searches read the entire search string before starting to search for matching history lines. The search string may be @@ -7072,19 +7117,19 @@ File: bashref.info, Node: Readline Init File, Next: Bindable Readline Commands 8.3 Readline Init File ====================== -Although the Readline library comes with a set of Emacs-like -keybindings installed by default, it is possible to use a different set -of keybindings. Any user can customize programs that use Readline by +Although the Readline library comes with a set of Emacs-like keybindings +installed by default, it is possible to use a different set of +keybindings. Any user can customize programs that use Readline by putting commands in an "inputrc" file, conventionally in his home directory. The name of this file is taken from the value of the shell -variable `INPUTRC'. If that variable is unset, the default is -`~/.inputrc'. If that file does not exist or cannot be read, the -ultimate default is `/etc/inputrc'. +variable 'INPUTRC'. If that variable is unset, the default is +'~/.inputrc'. If that file does not exist or cannot be read, the +ultimate default is '/etc/inputrc'. When a program which uses the Readline library starts up, the init file is read, and the key bindings are set. - In addition, the `C-x C-r' command re-reads this init file, thus + In addition, the 'C-x C-r' command re-reads this init file, thus incorporating any changes that you might have made to it. * Menu: @@ -7101,21 +7146,21 @@ File: bashref.info, Node: Readline Init File Syntax, Next: Conditional Init Co 8.3.1 Readline Init File Syntax ------------------------------- -There are only a few basic constructs allowed in the Readline init -file. Blank lines are ignored. Lines beginning with a `#' are -comments. Lines beginning with a `$' indicate conditional constructs -(*note Conditional Init Constructs::). Other lines denote variable -settings and key bindings. +There are only a few basic constructs allowed in the Readline init file. +Blank lines are ignored. Lines beginning with a '#' are comments. +Lines beginning with a '$' indicate conditional constructs (*note +Conditional Init Constructs::). Other lines denote variable settings +and key bindings. Variable Settings You can modify the run-time behavior of Readline by altering the - values of variables in Readline using the `set' command within the + values of variables in Readline using the 'set' command within the init file. The syntax is simple: set VARIABLE VALUE - Here, for example, is how to change from the default Emacs-like - key binding to use `vi' line editing commands: + Here, for example, is how to change from the default Emacs-like key + binding to use 'vi' line editing commands: set editing-mode vi @@ -7123,261 +7168,318 @@ Variable Settings without regard to case. Unrecognized variable names are ignored. Boolean variables (those that can be set to on or off) are set to - on if the value is null or empty, ON (case-insensitive), or 1. - Any other value results in the variable being set to off. + on if the value is null or empty, ON (case-insensitive), or 1. Any + other value results in the variable being set to off. - The `bind -V' command lists the current Readline variable names - and values. *Note Bash Builtins::. + The 'bind -V' command lists the current Readline variable names and + values. *Note Bash Builtins::. A great deal of run-time behavior is changeable with the following variables. - `bell-style' - Controls what happens when Readline wants to ring the - terminal bell. If set to `none', Readline never rings the - bell. If set to `visible', Readline uses a visible bell if - one is available. If set to `audible' (the default), - Readline attempts to ring the terminal's bell. - - `bind-tty-special-chars' - If set to `on', Readline attempts to bind the control - characters treated specially by the kernel's terminal driver - to their Readline equivalents. - - `colored-stats' - If set to `on', Readline displays possible completions using + 'bell-style' + Controls what happens when Readline wants to ring the terminal + bell. If set to 'none', Readline never rings the bell. If + set to 'visible', Readline uses a visible bell if one is + available. If set to 'audible' (the default), Readline + attempts to ring the terminal's bell. + + 'bind-tty-special-chars' + If set to 'on' (the default), Readline attempts to bind the + control characters treated specially by the kernel's terminal + driver to their Readline equivalents. + + 'blink-matching-paren' + If set to 'on', Readline attempts to briefly move the cursor + to an opening parenthesis when a closing parenthesis is + inserted. The default is 'off'. + + 'colored-completion-prefix' + If set to 'on', when listing completions, Readline displays + the common prefix of the set of possible completions using a + different color. The color definitions are taken from the + value of the 'LS_COLORS' environment variable. The default is + 'off'. + + 'colored-stats' + If set to 'on', Readline displays possible completions using different colors to indicate their file type. The color - definitions are taken from the value of the `LS_COLORS' - environment variable. The default is `off'. + definitions are taken from the value of the 'LS_COLORS' + environment variable. The default is 'off'. - `comment-begin' + 'comment-begin' The string to insert at the beginning of the line when the - `insert-comment' command is executed. The default value is - `"#"'. + 'insert-comment' command is executed. The default value is + '"#"'. - `completion-display-width' + 'completion-display-width' The number of screen columns used to display possible matches when performing completion. The value is ignored if it is less than 0 or greater than the terminal screen width. A value of 0 will cause matches to be displayed one per line. The default value is -1. - `completion-ignore-case' - If set to `on', Readline performs filename matching and + 'completion-ignore-case' + If set to 'on', Readline performs filename matching and completion in a case-insensitive fashion. The default value - is `off'. + is 'off'. - `completion-map-case' - If set to `on', and COMPLETION-IGNORE-CASE is enabled, - Readline treats hyphens (`-') and underscores (`_') as + 'completion-map-case' + If set to 'on', and COMPLETION-IGNORE-CASE is enabled, + Readline treats hyphens ('-') and underscores ('_') as equivalent when performing case-insensitive filename matching and completion. - `completion-prefix-display-length' + 'completion-prefix-display-length' The length in characters of the common prefix of a list of possible completions that is displayed without modification. When set to a value greater than zero, common prefixes longer than this value are replaced with an ellipsis when displaying possible completions. - `completion-query-items' + 'completion-query-items' The number of possible completions that determines when the user is asked whether the list of possibilities should be displayed. If the number of possible completions is greater than this value, Readline will ask the user whether or not he wishes to view them; otherwise, they are simply listed. This - variable must be set to an integer value greater than or - equal to 0. A negative value means Readline should never ask. - The default limit is `100'. + variable must be set to an integer value greater than or equal + to 0. A negative value means Readline should never ask. The + default limit is '100'. - `convert-meta' - If set to `on', Readline will convert characters with the + 'convert-meta' + If set to 'on', Readline will convert characters with the eighth bit set to an ASCII key sequence by stripping the eighth bit and prefixing an character, converting them - to a meta-prefixed key sequence. The default value is `on'. + to a meta-prefixed key sequence. The default value is 'on', + but will be set to 'off' if the locale is one that contains + eight-bit characters. - `disable-completion' - If set to `On', Readline will inhibit word completion. - Completion characters will be inserted into the line as if - they had been mapped to `self-insert'. The default is `off'. + 'disable-completion' + If set to 'On', Readline will inhibit word completion. + Completion characters will be inserted into the line as if + they had been mapped to 'self-insert'. The default is 'off'. - `editing-mode' - The `editing-mode' variable controls which default set of key - bindings is used. By default, Readline starts up in Emacs - editing mode, where the keystrokes are most similar to Emacs. - This variable can be set to either `emacs' or `vi'. - - `echo-control-characters' - When set to `on', on operating systems that indicate they + 'echo-control-characters' + When set to 'on', on operating systems that indicate they support it, readline echoes a character corresponding to a - signal generated from the keyboard. The default is `on'. + signal generated from the keyboard. The default is 'on'. - `enable-keypad' - When set to `on', Readline will try to enable the application + 'editing-mode' + The 'editing-mode' variable controls which default set of key + bindings is used. By default, Readline starts up in Emacs + editing mode, where the keystrokes are most similar to Emacs. + This variable can be set to either 'emacs' or 'vi'. + + 'emacs-mode-string' + This string is displayed immediately before the last line of + the primary prompt when emacs editing mode is active. The + value is expanded like a key binding, so the standard set of + meta- and control prefixes and backslash escape sequences is + available. Use the '\1' and '\2' escapes to begin and end + sequences of non-printing characters, which can be used to + embed a terminal control sequence into the mode string. The + default is '@'. + + 'enable-bracketed-paste' + When set to 'On', Readline will configure the terminal in a + way that will enable it to insert each paste into the editing + buffer as a single string of characters, instead of treating + each character as if it had been read from the keyboard. This + can prevent pasted characters from being interpreted as + editing commands. The default is 'off'. + + 'enable-keypad' + When set to 'on', Readline will try to enable the application keypad when it is called. Some systems need this to enable - the arrow keys. The default is `off'. + the arrow keys. The default is 'off'. - `enable-meta-key' - When set to `on', Readline will try to enable any meta - modifier key the terminal claims to support when it is - called. On many terminals, the meta key is used to send - eight-bit characters. The default is `on'. + 'enable-meta-key' + When set to 'on', Readline will try to enable any meta + modifier key the terminal claims to support when it is called. + On many terminals, the meta key is used to send eight-bit + characters. The default is 'on'. - `expand-tilde' - If set to `on', tilde expansion is performed when Readline - attempts word completion. The default is `off'. + 'expand-tilde' + If set to 'on', tilde expansion is performed when Readline + attempts word completion. The default is 'off'. - `history-preserve-point' - If set to `on', the history code attempts to place the point + 'history-preserve-point' + If set to 'on', the history code attempts to place the point (the current cursor position) at the same location on each - history line retrieved with `previous-history' or - `next-history'. The default is `off'. - - `history-size' - Set the maximum number of history entries saved in the - history list. If set to zero, any existing history entries - are deleted and no new entries are saved. If set to a value - less than zero, the number of history entries is not limited. - By default, the number of history entries is not limited. - - `horizontal-scroll-mode' - This variable can be set to either `on' or `off'. Setting it - to `on' means that the text of the lines being edited will + history line retrieved with 'previous-history' or + 'next-history'. The default is 'off'. + + 'history-size' + Set the maximum number of history entries saved in the history + list. If set to zero, any existing history entries are + deleted and no new entries are saved. If set to a value less + than zero, the number of history entries is not limited. By + default, the number of history entries is not limited. If an + attempt is made to set HISTORY-SIZE to a non-numeric value, + the maximum number of history entries will be set to 500. + + 'horizontal-scroll-mode' + This variable can be set to either 'on' or 'off'. Setting it + to 'on' means that the text of the lines being edited will scroll horizontally on a single screen line when they are longer than the width of the screen, instead of wrapping onto - a new screen line. By default, this variable is set to `off'. + a new screen line. By default, this variable is set to 'off'. - `input-meta' - If set to `on', Readline will enable eight-bit input (it will + 'input-meta' + If set to 'on', Readline will enable eight-bit input (it will not clear the eighth bit in the characters it reads), regardless of what the terminal claims it can support. The - default value is `off'. The name `meta-flag' is a synonym - for this variable. + default value is 'off', but Readline will set it to 'on' if + the locale contains eight-bit characters. The name + 'meta-flag' is a synonym for this variable. - `isearch-terminators' + 'isearch-terminators' The string of characters that should terminate an incremental search without subsequently executing the character as a command (*note Searching::). If this variable has not been - given a value, the characters and `C-J' will terminate + given a value, the characters and 'C-J' will terminate an incremental search. - `keymap' + 'keymap' Sets Readline's idea of the current keymap for key binding - commands. Acceptable `keymap' names are `emacs', - `emacs-standard', `emacs-meta', `emacs-ctlx', `vi', `vi-move', - `vi-command', and `vi-insert'. `vi' is equivalent to - `vi-command'; `emacs' is equivalent to `emacs-standard'. The - default value is `emacs'. The value of the `editing-mode' - variable also affects the default keymap. - - `keyseq-timeout' - Specifies the duration Readline will wait for a character - when reading an ambiguous key sequence (one that can form a - complete key sequence using the input read so far, or can - take additional input to complete a longer key sequence). If - no input is received within the timeout, Readline will use - the shorter but complete key sequence. Readline uses this - value to determine whether or not input is available on the - current input source (`rl_instream' by default). The value - is specified in milliseconds, so a value of 1000 means that + commands. Acceptable 'keymap' names are 'emacs', + 'emacs-standard', 'emacs-meta', 'emacs-ctlx', 'vi', 'vi-move', + 'vi-command', and 'vi-insert'. 'vi' is equivalent to + 'vi-command' ('vi-move' is also a synonym); 'emacs' is + equivalent to 'emacs-standard'. The default value is 'emacs'. + The value of the 'editing-mode' variable also affects the + default keymap. + + 'keyseq-timeout' + Specifies the duration Readline will wait for a character when + reading an ambiguous key sequence (one that can form a + complete key sequence using the input read so far, or can take + additional input to complete a longer key sequence). If no + input is received within the timeout, Readline will use the + shorter but complete key sequence. Readline uses this value + to determine whether or not input is available on the current + input source ('rl_instream' by default). The value is + specified in milliseconds, so a value of 1000 means that Readline will wait one second for additional input. If this variable is set to a value less than or equal to zero, or to a non-numeric value, Readline will wait until another key is - pressed to decide which key sequence to complete. The - default value is `500'. + pressed to decide which key sequence to complete. The default + value is '500'. - `mark-directories' - If set to `on', completed directory names have a slash - appended. The default is `on'. + 'mark-directories' + If set to 'on', completed directory names have a slash + appended. The default is 'on'. - `mark-modified-lines' - This variable, when set to `on', causes Readline to display an - asterisk (`*') at the start of history lines which have been - modified. This variable is `off' by default. + 'mark-modified-lines' + This variable, when set to 'on', causes Readline to display an + asterisk ('*') at the start of history lines which have been + modified. This variable is 'off' by default. - `mark-symlinked-directories' - If set to `on', completed names which are symbolic links to + 'mark-symlinked-directories' + If set to 'on', completed names which are symbolic links to directories have a slash appended (subject to the value of - `mark-directories'). The default is `off'. + 'mark-directories'). The default is 'off'. - `match-hidden-files' - This variable, when set to `on', causes Readline to match - files whose names begin with a `.' (hidden files) when - performing filename completion. If set to `off', the leading - `.' must be supplied by the user in the filename to be - completed. This variable is `on' by default. + 'match-hidden-files' + This variable, when set to 'on', causes Readline to match + files whose names begin with a '.' (hidden files) when + performing filename completion. If set to 'off', the leading + '.' must be supplied by the user in the filename to be + completed. This variable is 'on' by default. - `menu-complete-display-prefix' - If set to `on', menu completion displays the common prefix of + 'menu-complete-display-prefix' + If set to 'on', menu completion displays the common prefix of the list of possible completions (which may be empty) before - cycling through the list. The default is `off'. + cycling through the list. The default is 'off'. - `output-meta' - If set to `on', Readline will display characters with the + 'output-meta' + If set to 'on', Readline will display characters with the eighth bit set directly rather than as a meta-prefixed escape - sequence. The default is `off'. + sequence. The default is 'off', but Readline will set it to + 'on' if the locale contains eight-bit characters. - `page-completions' - If set to `on', Readline uses an internal `more'-like pager - to display a screenful of possible completions at a time. - This variable is `on' by default. + 'page-completions' + If set to 'on', Readline uses an internal 'more'-like pager to + display a screenful of possible completions at a time. This + variable is 'on' by default. - `print-completions-horizontally' - If set to `on', Readline will display completions with matches + 'print-completions-horizontally' + If set to 'on', Readline will display completions with matches sorted horizontally in alphabetical order, rather than down - the screen. The default is `off'. + the screen. The default is 'off'. - `revert-all-at-newline' - If set to `on', Readline will undo all changes to history - lines before returning when `accept-line' is executed. By + 'revert-all-at-newline' + If set to 'on', Readline will undo all changes to history + lines before returning when 'accept-line' is executed. By default, history lines may be modified and retain individual - undo lists across calls to `readline'. The default is `off'. + undo lists across calls to 'readline'. The default is 'off'. - `show-all-if-ambiguous' + 'show-all-if-ambiguous' This alters the default behavior of the completion functions. - If set to `on', words which have more than one possible + If set to 'on', words which have more than one possible completion cause the matches to be listed immediately instead - of ringing the bell. The default value is `off'. + of ringing the bell. The default value is 'off'. - `show-all-if-unmodified' + 'show-all-if-unmodified' This alters the default behavior of the completion functions in a fashion similar to SHOW-ALL-IF-AMBIGUOUS. If set to - `on', words which have more than one possible completion + 'on', words which have more than one possible completion without any possible partial completion (the possible completions don't share a common prefix) cause the matches to be listed immediately instead of ringing the bell. The - default value is `off'. - - `show-mode-in-prompt' - If set to `on', add a character to the beginning of the prompt - indicating the editing mode: emacs (`@'), vi command (`:'), - or vi insertion (`+'). The default value is `off'. - - `skip-completed-text' - If set to `on', this alters the default completion behavior - when inserting a single match into the line. It's only - active when performing completion in the middle of a word. - If enabled, readline does not insert characters from the - completion that match characters after point in the word - being completed, so portions of the word following the cursor - are not duplicated. For instance, if this is enabled, - attempting completion when the cursor is after the `e' in - `Makefile' will result in `Makefile' rather than - `Makefilefile', assuming there is a single possible - completion. The default value is `off'. - - `visible-stats' - If set to `on', a character denoting a file's type is - appended to the filename when listing possible completions. - The default is `off'. - + default value is 'off'. + + 'show-mode-in-prompt' + If set to 'on', add a character to the beginning of the prompt + indicating the editing mode: emacs, vi command, or vi + insertion. The mode strings are user-settable. The default + value is 'off'. + + 'skip-completed-text' + If set to 'on', this alters the default completion behavior + when inserting a single match into the line. It's only active + when performing completion in the middle of a word. If + enabled, readline does not insert characters from the + completion that match characters after point in the word being + completed, so portions of the word following the cursor are + not duplicated. For instance, if this is enabled, attempting + completion when the cursor is after the 'e' in 'Makefile' will + result in 'Makefile' rather than 'Makefilefile', assuming + there is a single possible completion. The default value is + 'off'. + + 'vi-cmd-mode-string' + This string is displayed immediately before the last line of + the primary prompt when vi editing mode is active and in + command mode. The value is expanded like a key binding, so + the standard set of meta- and control prefixes and backslash + escape sequences is available. Use the '\1' and '\2' escapes + to begin and end sequences of non-printing characters, which + can be used to embed a terminal control sequence into the mode + string. The default is '(cmd)'. + + 'vi-ins-mode-string' + This string is displayed immediately before the last line of + the primary prompt when vi editing mode is active and in + insertion mode. The value is expanded like a key binding, so + the standard set of meta- and control prefixes and backslash + escape sequences is available. Use the '\1' and '\2' escapes + to begin and end sequences of non-printing characters, which + can be used to embed a terminal control sequence into the mode + string. The default is '(ins)'. + + 'visible-stats' + If set to 'on', a character denoting a file's type is appended + to the filename when listing possible completions. The + default is 'off'. Key Bindings - The syntax for controlling key bindings in the init file is - simple. First you need to find the name of the command that you - want to change. The following sections contain tables of the - command name, the default keybinding, if any, and a short - description of what the command does. + The syntax for controlling key bindings in the init file is simple. + First you need to find the name of the command that you want to + change. The following sections contain tables of the command name, + the default keybinding, if any, and a short description of what the + command does. Once you know the name of the command, simply place on a line in the init file the name of the key you wish to bind the command to, @@ -7386,31 +7488,31 @@ Key Bindings part of the key name. The name of the key can be expressed in different ways, depending on what you find most comfortable. - In addition to command names, readline allows keys to be bound to - a string that is inserted when the key is pressed (a MACRO). + In addition to command names, readline allows keys to be bound to a + string that is inserted when the key is pressed (a MACRO). - The `bind -p' command displays Readline function names and - bindings in a format that can put directly into an initialization - file. *Note Bash Builtins::. + The 'bind -p' command displays Readline function names and bindings + in a format that can put directly into an initialization file. + *Note Bash Builtins::. - KEYNAME: FUNCTION-NAME or MACRO + KEYNAME: FUNCTION-NAME or MACRO KEYNAME is the name of a key spelled out in English. For example: Control-u: universal-argument Meta-Rubout: backward-kill-word Control-o: "> output" - In the above example, `C-u' is bound to the function - `universal-argument', `M-DEL' is bound to the function - `backward-kill-word', and `C-o' is bound to run the macro + In the above example, 'C-u' is bound to the function + 'universal-argument', 'M-DEL' is bound to the function + 'backward-kill-word', and 'C-o' is bound to run the macro expressed on the right hand side (that is, to insert the text - `> output' into the line). + '> output' into the line). A number of symbolic character names are recognized while processing this key binding syntax: DEL, ESC, ESCAPE, LFD, NEWLINE, RET, RETURN, RUBOUT, SPACE, SPC, and TAB. - "KEYSEQ": FUNCTION-NAME or MACRO + "KEYSEQ": FUNCTION-NAME or MACRO KEYSEQ differs from KEYNAME above in that strings denoting an entire key sequence can be specified, by placing the key sequence in double quotes. Some GNU Emacs style key escapes @@ -7421,66 +7523,51 @@ Key Bindings "\C-x\C-r": re-read-init-file "\e[11~": "Function Key 1" - In the above example, `C-u' is again bound to the function - `universal-argument' (just as it was in the first example), - `C-x C-r' is bound to the function `re-read-init-file', and - ` <[> <1> <1> <~>' is bound to insert the text `Function - Key 1'. - + In the above example, 'C-u' is again bound to the function + 'universal-argument' (just as it was in the first example), + ''C-x' 'C-r'' is bound to the function 're-read-init-file', + and ' <[> <1> <1> <~>' is bound to insert the text + 'Function Key 1'. The following GNU Emacs style escape sequences are available when specifying key sequences: - `\C-' + '\C-' control prefix - - `\M-' + '\M-' meta prefix - - `\e' + '\e' an escape character - - `\\' + '\\' backslash - - `\"' + '\"' <">, a double quotation mark - - `\'' + '\'' <'>, a single quote or apostrophe In addition to the GNU Emacs style escape sequences, a second set of backslash escapes is available: - `\a' + '\a' alert (bell) - - `\b' + '\b' backspace - - `\d' + '\d' delete - - `\f' + '\f' form feed - - `\n' + '\n' newline - - `\r' + '\r' carriage return - - `\t' + '\t' horizontal tab - - `\v' + '\v' vertical tab - - `\NNN' + '\NNN' the eight-bit character whose value is the octal value NNN (one to three digits) - - `\xHH' + '\xHH' the eight-bit character whose value is the hexadecimal value HH (one or two hex digits) @@ -7488,12 +7575,11 @@ Key Bindings used to indicate a macro definition. Unquoted text is assumed to be a function name. In the macro body, the backslash escapes described above are expanded. Backslash will quote any other - character in the macro text, including `"' and `''. For example, - the following binding will make `C-x \' insert a single `\' into + character in the macro text, including '"' and '''. For example, + the following binding will make ''C-x' \' insert a single '\' into the line: "\C-x\\": "\\" -  File: bashref.info, Node: Conditional Init Constructs, Next: Sample Init File, Prev: Readline Init File Syntax, Up: Readline Init File @@ -7501,33 +7587,32 @@ File: bashref.info, Node: Conditional Init Constructs, Next: Sample Init File, --------------------------------- Readline implements a facility similar in spirit to the conditional -compilation features of the C preprocessor which allows key bindings -and variable settings to be performed as the result of tests. There -are four parser directives used. - -`$if' - The `$if' construct allows bindings to be made based on the - editing mode, the terminal being used, or the application using - Readline. The text of the test extends to the end of the line; no - characters are required to isolate it. - - `mode' - The `mode=' form of the `$if' directive is used to test - whether Readline is in `emacs' or `vi' mode. This may be - used in conjunction with the `set keymap' command, for - instance, to set bindings in the `emacs-standard' and - `emacs-ctlx' keymaps only if Readline is starting out in - `emacs' mode. - - `term' - The `term=' form may be used to include terminal-specific key +compilation features of the C preprocessor which allows key bindings and +variable settings to be performed as the result of tests. There are +four parser directives used. + +'$if' + The '$if' construct allows bindings to be made based on the editing + mode, the terminal being used, or the application using Readline. + The text of the test extends to the end of the line; no characters + are required to isolate it. + + 'mode' + The 'mode=' form of the '$if' directive is used to test + whether Readline is in 'emacs' or 'vi' mode. This may be used + in conjunction with the 'set keymap' command, for instance, to + set bindings in the 'emacs-standard' and 'emacs-ctlx' keymaps + only if Readline is starting out in 'emacs' mode. + + 'term' + The 'term=' form may be used to include terminal-specific key bindings, perhaps to bind the key sequences output by the terminal's function keys. The word on the right side of the - `=' is tested against both the full name of the terminal and - the portion of the terminal name before the first `-'. This - allows `sun' to match both `sun' and `sun-cmd', for instance. + '=' is tested against both the full name of the terminal and + the portion of the terminal name before the first '-'. This + allows 'sun' to match both 'sun' and 'sun-cmd', for instance. - `application' + 'application' The APPLICATION construct is used to include application-specific settings. Each program using the Readline library sets the APPLICATION NAME, and you can test @@ -7540,18 +7625,18 @@ are four parser directives used. "\C-xq": "\eb\"\ef\"" $endif -`$endif' - This command, as seen in the previous example, terminates an `$if' +'$endif' + This command, as seen in the previous example, terminates an '$if' command. -`$else' - Commands in this branch of the `$if' directive are executed if the +'$else' + Commands in this branch of the '$if' directive are executed if the test fails. -`$include' +'$include' This directive takes a single filename as an argument and reads commands and bindings from that file. For example, the following - directive reads from `/etc/inputrc': + directive reads from '/etc/inputrc': $include /etc/inputrc  @@ -7563,7 +7648,6 @@ File: bashref.info, Node: Sample Init File, Prev: Conditional Init Constructs, Here is an example of an INPUTRC file. This illustrates key binding, variable assignment, and conditional syntax. - # This file controls the behaviour of line input editing for # programs that use the GNU Readline library. Existing # programs include FTP, Bash, and GDB. @@ -7681,16 +7765,16 @@ File: bashref.info, Node: Bindable Readline Commands, Next: Readline vi Mode, * Keyboard Macros:: Saving and re-executing typed characters * Miscellaneous Commands:: Other miscellaneous commands. - This section describes Readline commands that may be bound to key -sequences. You can list your key bindings by executing `bind -P' or, -for a more terse format, suitable for an INPUTRC file, `bind -p'. +This section describes Readline commands that may be bound to key +sequences. You can list your key bindings by executing 'bind -P' or, +for a more terse format, suitable for an INPUTRC file, 'bind -p'. (*Note Bash Builtins::.) Command names without an accompanying key sequence are unbound by default. In the following descriptions, "point" refers to the current cursor -position, and "mark" refers to a cursor position saved by the -`set-mark' command. The text between the point and mark is referred to -as the "region". +position, and "mark" refers to a cursor position saved by the 'set-mark' +command. The text between the point and mark is referred to as the +"region".  File: bashref.info, Node: Commands For Moving, Next: Commands For History, Up: Bindable Readline Commands @@ -7698,134 +7782,132 @@ File: bashref.info, Node: Commands For Moving, Next: Commands For History, Up 8.4.1 Commands For Moving ------------------------- -`beginning-of-line (C-a)' +'beginning-of-line (C-a)' Move to the start of the current line. -`end-of-line (C-e)' +'end-of-line (C-e)' Move to the end of the line. -`forward-char (C-f)' +'forward-char (C-f)' Move forward a character. -`backward-char (C-b)' +'backward-char (C-b)' Move back a character. -`forward-word (M-f)' +'forward-word (M-f)' Move forward to the end of the next word. Words are composed of letters and digits. -`backward-word (M-b)' +'backward-word (M-b)' Move back to the start of the current or previous word. Words are composed of letters and digits. -`shell-forward-word ()' +'shell-forward-word ()' Move forward to the end of the next word. Words are delimited by non-quoted shell metacharacters. -`shell-backward-word ()' +'shell-backward-word ()' Move back to the start of the current or previous word. Words are delimited by non-quoted shell metacharacters. -`clear-screen (C-l)' +'clear-screen (C-l)' Clear the screen and redraw the current line, leaving the current line at the top of the screen. -`redraw-current-line ()' +'redraw-current-line ()' Refresh the current line. By default, this is unbound. -  File: bashref.info, Node: Commands For History, Next: Commands For Text, Prev: Commands For Moving, Up: Bindable Readline Commands 8.4.2 Commands For Manipulating The History ------------------------------------------- -`accept-line (Newline or Return)' +'accept-line (Newline or Return)' Accept the line regardless of where the cursor is. If this line is non-empty, add it to the history list according to the setting of - the `HISTCONTROL' and `HISTIGNORE' variables. If this line is a + the 'HISTCONTROL' and 'HISTIGNORE' variables. If this line is a modified history line, then restore the history line to its original state. -`previous-history (C-p)' - Move `back' through the history list, fetching the previous +'previous-history (C-p)' + Move 'back' through the history list, fetching the previous command. -`next-history (C-n)' - Move `forward' through the history list, fetching the next command. +'next-history (C-n)' + Move 'forward' through the history list, fetching the next command. -`beginning-of-history (M-<)' +'beginning-of-history (M-<)' Move to the first line in the history. -`end-of-history (M->)' +'end-of-history (M->)' Move to the end of the input history, i.e., the line currently being entered. -`reverse-search-history (C-r)' - Search backward starting at the current line and moving `up' +'reverse-search-history (C-r)' + Search backward starting at the current line and moving 'up' through the history as necessary. This is an incremental search. -`forward-search-history (C-s)' - Search forward starting at the current line and moving `down' - through the the history as necessary. This is an incremental - search. +'forward-search-history (C-s)' + Search forward starting at the current line and moving 'down' + through the history as necessary. This is an incremental search. -`non-incremental-reverse-search-history (M-p)' - Search backward starting at the current line and moving `up' - through the history as necessary using a non-incremental search - for a string supplied by the user. +'non-incremental-reverse-search-history (M-p)' + Search backward starting at the current line and moving 'up' + through the history as necessary using a non-incremental search for + a string supplied by the user. The search string may match + anywhere in a history line. -`non-incremental-forward-search-history (M-n)' - Search forward starting at the current line and moving `down' - through the the history as necessary using a non-incremental search - for a string supplied by the user. +'non-incremental-forward-search-history (M-n)' + Search forward starting at the current line and moving 'down' + through the history as necessary using a non-incremental search for + a string supplied by the user. The search string may match + anywhere in a history line. -`history-search-forward ()' +'history-search-forward ()' Search forward through the history for the string of characters between the start of the current line and the point. The search string must match at the beginning of a history line. This is a non-incremental search. By default, this command is unbound. -`history-search-backward ()' +'history-search-backward ()' Search backward through the history for the string of characters between the start of the current line and the point. The search string must match at the beginning of a history line. This is a non-incremental search. By default, this command is unbound. -`history-substr-search-forward ()' +'history-substr-search-forward ()' Search forward through the history for the string of characters between the start of the current line and the point. The search string may match anywhere in a history line. This is a non-incremental search. By default, this command is unbound. -`history-substr-search-backward ()' +'history-substr-search-backward ()' Search backward through the history for the string of characters between the start of the current line and the point. The search string may match anywhere in a history line. This is a non-incremental search. By default, this command is unbound. -`yank-nth-arg (M-C-y)' +'yank-nth-arg (M-C-y)' Insert the first argument to the previous command (usually the second word on the previous line) at point. With an argument N, insert the Nth word from the previous command (the words in the previous command begin with word 0). A negative argument inserts the Nth word from the end of the previous command. Once the - argument N is computed, the argument is extracted as if the `!N' + argument N is computed, the argument is extracted as if the '!N' history expansion had been specified. -`yank-last-arg (M-. or M-_)' +'yank-last-arg (M-. or M-_)' Insert last argument to the previous command (the last word of the previous history entry). With a numeric argument, behave exactly - like `yank-nth-arg'. Successive calls to `yank-last-arg' move - back through the history list, inserting the last word (or the - word specified by the argument to the first call) of each line in - turn. Any numeric argument supplied to these successive calls - determines the direction to move through the history. A negative - argument switches the direction through the history (back or - forward). The history expansion facilities are used to extract - the last argument, as if the `!$' history expansion had been - specified. - + like 'yank-nth-arg'. Successive calls to 'yank-last-arg' move back + through the history list, inserting the last word (or the word + specified by the argument to the first call) of each line in turn. + Any numeric argument supplied to these successive calls determines + the direction to move through the history. A negative argument + switches the direction through the history (back or forward). The + history expansion facilities are used to extract the last argument, + as if the '!$' history expansion had been specified.  File: bashref.info, Node: Commands For Text, Next: Commands For Killing, Prev: Commands For History, Up: Bindable Readline Commands @@ -7833,145 +7915,153 @@ File: bashref.info, Node: Commands For Text, Next: Commands For Killing, Prev 8.4.3 Commands For Changing Text -------------------------------- -`end-of-file (usually C-d)' +'end-of-file (usually C-d)' The character indicating end-of-file as set, for example, by - `stty'. If this character is read when there are no characters on + 'stty'. If this character is read when there are no characters on the line, and point is at the beginning of the line, Readline interprets it as the end of input and returns EOF. -`delete-char (C-d)' +'delete-char (C-d)' Delete the character at point. If this function is bound to the - same character as the tty EOF character, as `C-d' commonly is, see + same character as the tty EOF character, as 'C-d' commonly is, see above for the effects. -`backward-delete-char (Rubout)' +'backward-delete-char (Rubout)' Delete the character behind the cursor. A numeric argument means to kill the characters instead of deleting them. -`forward-backward-delete-char ()' +'forward-backward-delete-char ()' Delete the character under the cursor, unless the cursor is at the end of the line, in which case the character behind the cursor is deleted. By default, this is not bound to a key. -`quoted-insert (C-q or C-v)' +'quoted-insert (C-q or C-v)' Add the next character typed to the line verbatim. This is how to - insert key sequences like `C-q', for example. + insert key sequences like 'C-q', for example. -`self-insert (a, b, A, 1, !, ...)' +'self-insert (a, b, A, 1, !, ...)' Insert yourself. -`transpose-chars (C-t)' +'bracketed-paste-begin ()' + This function is intended to be bound to the "bracketed paste" + escape sequence sent by some terminals, and such a binding is + assigned by default. It allows Readline to insert the pasted text + as a single unit without treating each character as if it had been + read from the keyboard. The characters are inserted as if each one + was bound to 'self-insert') instead of executing any editing + commands. + +'transpose-chars (C-t)' Drag the character before the cursor forward over the character at the cursor, moving the cursor forward as well. If the insertion point is at the end of the line, then this transposes the last two characters of the line. Negative arguments have no effect. -`transpose-words (M-t)' +'transpose-words (M-t)' Drag the word before point past the word after point, moving point past that word as well. If the insertion point is at the end of the line, this transposes the last two words on the line. -`upcase-word (M-u)' +'upcase-word (M-u)' Uppercase the current (or following) word. With a negative argument, uppercase the previous word, but do not move the cursor. -`downcase-word (M-l)' +'downcase-word (M-l)' Lowercase the current (or following) word. With a negative argument, lowercase the previous word, but do not move the cursor. -`capitalize-word (M-c)' +'capitalize-word (M-c)' Capitalize the current (or following) word. With a negative argument, capitalize the previous word, but do not move the cursor. -`overwrite-mode ()' +'overwrite-mode ()' Toggle overwrite mode. With an explicit positive numeric argument, switches to overwrite mode. With an explicit non-positive numeric argument, switches to insert mode. This command affects only - `emacs' mode; `vi' mode does overwrite differently. Each call to - `readline()' starts in insert mode. + 'emacs' mode; 'vi' mode does overwrite differently. Each call to + 'readline()' starts in insert mode. - In overwrite mode, characters bound to `self-insert' replace the + In overwrite mode, characters bound to 'self-insert' replace the text at point rather than pushing the text to the right. - Characters bound to `backward-delete-char' replace the character + Characters bound to 'backward-delete-char' replace the character before point with a space. By default, this command is unbound. -  File: bashref.info, Node: Commands For Killing, Next: Numeric Arguments, Prev: Commands For Text, Up: Bindable Readline Commands 8.4.4 Killing And Yanking ------------------------- -`kill-line (C-k)' +'kill-line (C-k)' Kill the text from point to the end of the line. -`backward-kill-line (C-x Rubout)' - Kill backward to the beginning of the line. +'backward-kill-line (C-x Rubout)' + Kill backward from the cursor to the beginning of the current line. -`unix-line-discard (C-u)' +'unix-line-discard (C-u)' Kill backward from the cursor to the beginning of the current line. -`kill-whole-line ()' +'kill-whole-line ()' Kill all characters on the current line, no matter where point is. By default, this is unbound. -`kill-word (M-d)' +'kill-word (M-d)' Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same - as `forward-word'. + as 'forward-word'. -`backward-kill-word (M-)' +'backward-kill-word (M-)' Kill the word behind point. Word boundaries are the same as - `backward-word'. + 'backward-word'. -`shell-kill-word ()' +'shell-kill-word ()' Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same - as `shell-forward-word'. + as 'shell-forward-word'. -`shell-backward-kill-word ()' +'shell-backward-kill-word ()' Kill the word behind point. Word boundaries are the same as - `shell-backward-word'. + 'shell-backward-word'. -`unix-word-rubout (C-w)' +'unix-word-rubout (C-w)' Kill the word behind point, using white space as a word boundary. The killed text is saved on the kill-ring. -`unix-filename-rubout ()' +'unix-filename-rubout ()' Kill the word behind point, using white space and the slash character as the word boundaries. The killed text is saved on the kill-ring. -`delete-horizontal-space ()' +'delete-horizontal-space ()' Delete all spaces and tabs around point. By default, this is unbound. -`kill-region ()' +'kill-region ()' Kill the text in the current region. By default, this command is unbound. -`copy-region-as-kill ()' +'copy-region-as-kill ()' Copy the text in the region to the kill buffer, so it can be yanked right away. By default, this command is unbound. -`copy-backward-word ()' - Copy the word before point to the kill buffer. The word - boundaries are the same as `backward-word'. By default, this - command is unbound. +'copy-backward-word ()' + Copy the word before point to the kill buffer. The word boundaries + are the same as 'backward-word'. By default, this command is + unbound. -`copy-forward-word ()' +'copy-forward-word ()' Copy the word following point to the kill buffer. The word - boundaries are the same as `forward-word'. By default, this + boundaries are the same as 'forward-word'. By default, this command is unbound. -`yank (C-y)' +'yank (C-y)' Yank the top of the kill ring into the buffer at point. -`yank-pop (M-y)' +'yank-pop (M-y)' Rotate the kill-ring, and yank the new top. You can only do this - if the prior command is `yank' or `yank-pop'. + if the prior command is 'yank' or 'yank-pop'.  File: bashref.info, Node: Numeric Arguments, Next: Commands For Completion, Prev: Commands For Killing, Up: Bindable Readline Commands @@ -7979,22 +8069,22 @@ File: bashref.info, Node: Numeric Arguments, Next: Commands For Completion, P 8.4.5 Specifying Numeric Arguments ---------------------------------- -`digit-argument (M-0, M-1, ... M--)' +'digit-argument (M-0, M-1, ... M--)' Add this digit to the argument already accumulating, or start a new - argument. `M--' starts a negative argument. + argument. 'M--' starts a negative argument. -`universal-argument ()' +'universal-argument ()' This is another way to specify an argument. If this command is followed by one or more digits, optionally with a leading minus - sign, those digits define the argument. If the command is - followed by digits, executing `universal-argument' again ends the - numeric argument, but is otherwise ignored. As a special case, if - this command is immediately followed by a character that is - neither a digit or minus sign, the argument count for the next - command is multiplied by four. The argument count is initially - one, so executing this function the first time makes the argument - count four, a second time makes the argument count sixteen, and so - on. By default, this is not bound to a key. + sign, those digits define the argument. If the command is followed + by digits, executing 'universal-argument' again ends the numeric + argument, but is otherwise ignored. As a special case, if this + command is immediately followed by a character that is neither a + digit nor minus sign, the argument count for the next command is + multiplied by four. The argument count is initially one, so + executing this function the first time makes the argument count + four, a second time makes the argument count sixteen, and so on. + By default, this is not bound to a key.  File: bashref.info, Node: Commands For Completion, Next: Keyboard Macros, Prev: Numeric Arguments, Up: Bindable Readline Commands @@ -8002,271 +8092,268 @@ File: bashref.info, Node: Commands For Completion, Next: Keyboard Macros, Pre 8.4.6 Letting Readline Type For You ----------------------------------- -`complete ()' - Attempt to perform completion on the text before point. The - actual completion performed is application-specific. Bash - attempts completion treating the text as a variable (if the text - begins with `$'), username (if the text begins with `~'), hostname - (if the text begins with `@'), or command (including aliases and - functions) in turn. If none of these produces a match, filename - completion is attempted. +'complete ()' + Attempt to perform completion on the text before point. The actual + completion performed is application-specific. Bash attempts + completion treating the text as a variable (if the text begins with + '$'), username (if the text begins with '~'), hostname (if the text + begins with '@'), or command (including aliases and functions) in + turn. If none of these produces a match, filename completion is + attempted. -`possible-completions (M-?)' +'possible-completions (M-?)' List the possible completions of the text before point. When displaying completions, Readline sets the number of columns used - for display to the value of `completion-display-width', the value - of the environment variable `COLUMNS', or the screen width, in - that order. + for display to the value of 'completion-display-width', the value + of the environment variable 'COLUMNS', or the screen width, in that + order. -`insert-completions (M-*)' +'insert-completions (M-*)' Insert all completions of the text before point that would have - been generated by `possible-completions'. + been generated by 'possible-completions'. -`menu-complete ()' - Similar to `complete', but replaces the word to be completed with - a single match from the list of possible completions. Repeated - execution of `menu-complete' steps through the list of possible +'menu-complete ()' + Similar to 'complete', but replaces the word to be completed with a + single match from the list of possible completions. Repeated + execution of 'menu-complete' steps through the list of possible completions, inserting each match in turn. At the end of the list of completions, the bell is rung (subject to the setting of - `bell-style') and the original text is restored. An argument of N + 'bell-style') and the original text is restored. An argument of N moves N positions forward in the list of matches; a negative argument may be used to move backward through the list. This command is intended to be bound to , but is unbound by default. -`menu-complete-backward ()' - Identical to `menu-complete', but moves backward through the list - of possible completions, as if `menu-complete' had been given a +'menu-complete-backward ()' + Identical to 'menu-complete', but moves backward through the list + of possible completions, as if 'menu-complete' had been given a negative argument. -`delete-char-or-list ()' +'delete-char-or-list ()' Deletes the character under the cursor if not at the beginning or - end of the line (like `delete-char'). If at the end of the line, - behaves identically to `possible-completions'. This command is + end of the line (like 'delete-char'). If at the end of the line, + behaves identically to 'possible-completions'. This command is unbound by default. -`complete-filename (M-/)' +'complete-filename (M-/)' Attempt filename completion on the text before point. -`possible-filename-completions (C-x /)' - List the possible completions of the text before point, treating - it as a filename. +'possible-filename-completions (C-x /)' + List the possible completions of the text before point, treating it + as a filename. -`complete-username (M-~)' +'complete-username (M-~)' Attempt completion on the text before point, treating it as a username. -`possible-username-completions (C-x ~)' - List the possible completions of the text before point, treating - it as a username. +'possible-username-completions (C-x ~)' + List the possible completions of the text before point, treating it + as a username. -`complete-variable (M-$)' - Attempt completion on the text before point, treating it as a - shell variable. +'complete-variable (M-$)' + Attempt completion on the text before point, treating it as a shell + variable. -`possible-variable-completions (C-x $)' - List the possible completions of the text before point, treating - it as a shell variable. +'possible-variable-completions (C-x $)' + List the possible completions of the text before point, treating it + as a shell variable. -`complete-hostname (M-@)' +'complete-hostname (M-@)' Attempt completion on the text before point, treating it as a hostname. -`possible-hostname-completions (C-x @)' - List the possible completions of the text before point, treating - it as a hostname. +'possible-hostname-completions (C-x @)' + List the possible completions of the text before point, treating it + as a hostname. -`complete-command (M-!)' +'complete-command (M-!)' Attempt completion on the text before point, treating it as a command name. Command completion attempts to match the text against aliases, reserved words, shell functions, shell builtins, and finally executable filenames, in that order. -`possible-command-completions (C-x !)' - List the possible completions of the text before point, treating - it as a command name. +'possible-command-completions (C-x !)' + List the possible completions of the text before point, treating it + as a command name. -`dynamic-complete-history (M-)' +'dynamic-complete-history (M-)' Attempt completion on the text before point, comparing the text against lines from the history list for possible completion matches. -`dabbrev-expand ()' +'dabbrev-expand ()' Attempt menu completion on the text before point, comparing the text against lines from the history list for possible completion matches. -`complete-into-braces (M-{)' +'complete-into-braces (M-{)' Perform filename completion and insert the list of possible completions enclosed within braces so the list is available to the shell (*note Brace Expansion::). -  File: bashref.info, Node: Keyboard Macros, Next: Miscellaneous Commands, Prev: Commands For Completion, Up: Bindable Readline Commands 8.4.7 Keyboard Macros --------------------- -`start-kbd-macro (C-x ()' +'start-kbd-macro (C-x ()' Begin saving the characters typed into the current keyboard macro. -`end-kbd-macro (C-x ))' +'end-kbd-macro (C-x ))' Stop saving the characters typed into the current keyboard macro and save the definition. -`call-last-kbd-macro (C-x e)' +'call-last-kbd-macro (C-x e)' Re-execute the last keyboard macro defined, by making the characters in the macro appear as if typed at the keyboard. -`print-last-kbd-macro ()' +'print-last-kbd-macro ()' Print the last keboard macro defined in a format suitable for the INPUTRC file. -  File: bashref.info, Node: Miscellaneous Commands, Prev: Keyboard Macros, Up: Bindable Readline Commands 8.4.8 Some Miscellaneous Commands --------------------------------- -`re-read-init-file (C-x C-r)' +'re-read-init-file (C-x C-r)' Read in the contents of the INPUTRC file, and incorporate any bindings or variable assignments found there. -`abort (C-g)' +'abort (C-g)' Abort the current editing command and ring the terminal's bell - (subject to the setting of `bell-style'). + (subject to the setting of 'bell-style'). -`do-uppercase-version (M-a, M-b, M-X, ...)' +'do-uppercase-version (M-a, M-b, M-X, ...)' If the metafied character X is lowercase, run the command that is bound to the corresponding uppercase character. -`prefix-meta ()' +'prefix-meta ()' Metafy the next character typed. This is for keyboards without a - meta key. Typing ` f' is equivalent to typing `M-f'. + meta key. Typing ' f' is equivalent to typing 'M-f'. -`undo (C-_ or C-x C-u)' +'undo (C-_ or C-x C-u)' Incremental undo, separately remembered for each line. -`revert-line (M-r)' +'revert-line (M-r)' Undo all changes made to this line. This is like executing the - `undo' command enough times to get back to the beginning. + 'undo' command enough times to get back to the beginning. -`tilde-expand (M-&)' +'tilde-expand (M-&)' Perform tilde expansion on the current word. -`set-mark (C-@)' +'set-mark (C-@)' Set the mark to the point. If a numeric argument is supplied, the mark is set to that position. -`exchange-point-and-mark (C-x C-x)' +'exchange-point-and-mark (C-x C-x)' Swap the point with the mark. The current cursor position is set to the saved position, and the old cursor position is saved as the mark. -`character-search (C-])' +'character-search (C-])' A character is read and point is moved to the next occurrence of that character. A negative count searches for previous occurrences. -`character-search-backward (M-C-])' +'character-search-backward (M-C-])' A character is read and point is moved to the previous occurrence of that character. A negative count searches for subsequent occurrences. -`skip-csi-sequence ()' +'skip-csi-sequence ()' Read enough characters to consume a multi-key sequence such as those defined for keys like Home and End. Such sequences begin with a Control Sequence Indicator (CSI), usually ESC-[. If this - sequence is bound to "\e[", keys producing such sequences will - have no effect unless explicitly bound to a readline command, - instead of inserting stray characters into the editing buffer. - This is unbound by default, but usually bound to ESC-[. + sequence is bound to "\e[", keys producing such sequences will have + no effect unless explicitly bound to a readline command, instead of + inserting stray characters into the editing buffer. This is + unbound by default, but usually bound to ESC-[. -`insert-comment (M-#)' - Without a numeric argument, the value of the `comment-begin' +'insert-comment (M-#)' + Without a numeric argument, the value of the 'comment-begin' variable is inserted at the beginning of the current line. If a - numeric argument is supplied, this command acts as a toggle: if - the characters at the beginning of the line do not match the value - of `comment-begin', the value is inserted, otherwise the - characters in `comment-begin' are deleted from the beginning of - the line. In either case, the line is accepted as if a newline - had been typed. The default value of `comment-begin' causes this - command to make the current line a shell comment. If a numeric - argument causes the comment character to be removed, the line will - be executed by the shell. - -`dump-functions ()' + numeric argument is supplied, this command acts as a toggle: if the + characters at the beginning of the line do not match the value of + 'comment-begin', the value is inserted, otherwise the characters in + 'comment-begin' are deleted from the beginning of the line. In + either case, the line is accepted as if a newline had been typed. + The default value of 'comment-begin' causes this command to make + the current line a shell comment. If a numeric argument causes the + comment character to be removed, the line will be executed by the + shell. + +'dump-functions ()' Print all of the functions and their key bindings to the Readline output stream. If a numeric argument is supplied, the output is formatted in such a way that it can be made part of an INPUTRC file. This command is unbound by default. -`dump-variables ()' +'dump-variables ()' Print all of the settable variables and their values to the Readline output stream. If a numeric argument is supplied, the output is formatted in such a way that it can be made part of an INPUTRC file. This command is unbound by default. -`dump-macros ()' +'dump-macros ()' Print all of the Readline key sequences bound to macros and the - strings they output. If a numeric argument is supplied, the - output is formatted in such a way that it can be made part of an - INPUTRC file. This command is unbound by default. + strings they output. If a numeric argument is supplied, the output + is formatted in such a way that it can be made part of an INPUTRC + file. This command is unbound by default. -`glob-complete-word (M-g)' +'glob-complete-word (M-g)' The word before point is treated as a pattern for pathname expansion, with an asterisk implicitly appended. This pattern is used to generate a list of matching file names for possible completions. -`glob-expand-word (C-x *)' +'glob-expand-word (C-x *)' The word before point is treated as a pattern for pathname expansion, and the list of matching file names is inserted, - replacing the word. If a numeric argument is supplied, a `*' is + replacing the word. If a numeric argument is supplied, a '*' is appended before pathname expansion. -`glob-list-expansions (C-x g)' +'glob-list-expansions (C-x g)' The list of expansions that would have been generated by - `glob-expand-word' is displayed, and the line is redrawn. If a - numeric argument is supplied, a `*' is appended before pathname + 'glob-expand-word' is displayed, and the line is redrawn. If a + numeric argument is supplied, a '*' is appended before pathname expansion. -`display-shell-version (C-x C-v)' +'display-shell-version (C-x C-v)' Display version information about the current instance of Bash. -`shell-expand-line (M-C-e)' - Expand the line as the shell does. This performs alias and - history expansion as well as all of the shell word expansions - (*note Shell Expansions::). +'shell-expand-line (M-C-e)' + Expand the line as the shell does. This performs alias and history + expansion as well as all of the shell word expansions (*note Shell + Expansions::). -`history-expand-line (M-^)' +'history-expand-line (M-^)' Perform history expansion on the current line. -`magic-space ()' +'magic-space ()' Perform history expansion on the current line and insert a space (*note History Interaction::). -`alias-expand-line ()' +'alias-expand-line ()' Perform alias expansion on the current line (*note Aliases::). -`history-and-alias-expand-line ()' +'history-and-alias-expand-line ()' Perform history and alias expansion on the current line. -`insert-last-argument (M-. or M-_)' - A synonym for `yank-last-arg'. +'insert-last-argument (M-. or M-_)' + A synonym for 'yank-last-arg'. -`operate-and-get-next (C-o)' +'operate-and-get-next (C-o)' Accept the current line for execution and fetch the next line relative to the current line from the history for editing. Any argument is ignored. -`edit-and-execute-command (C-xC-e)' +'edit-and-execute-command (C-xC-e)' Invoke an editor on the current command line, and execute the - result as shell commands. Bash attempts to invoke `$VISUAL', - `$EDITOR', and `emacs' as the editor, in that order. - + result as shell commands. Bash attempts to invoke '$VISUAL', + '$EDITOR', and 'emacs' as the editor, in that order.  File: bashref.info, Node: Readline vi Mode, Next: Programmable Completion, Prev: Bindable Readline Commands, Up: Command Line Editing @@ -8274,19 +8361,19 @@ File: bashref.info, Node: Readline vi Mode, Next: Programmable Completion, Pr 8.5 Readline vi Mode ==================== -While the Readline library does not have a full set of `vi' editing +While the Readline library does not have a full set of 'vi' editing functions, it does contain enough to allow simple editing of the line. -The Readline `vi' mode behaves as specified in the POSIX standard. +The Readline 'vi' mode behaves as specified in the POSIX standard. - In order to switch interactively between `emacs' and `vi' editing -modes, use the `set -o emacs' and `set -o vi' commands (*note The Set -Builtin::). The Readline default is `emacs' mode. + In order to switch interactively between 'emacs' and 'vi' editing +modes, use the 'set -o emacs' and 'set -o vi' commands (*note The Set +Builtin::). The Readline default is 'emacs' mode. - When you enter a line in `vi' mode, you are already placed in -`insertion' mode, as if you had typed an `i'. Pressing switches -you into `command' mode, where you can edit the text of the line with -the standard `vi' movement keys, move to previous history lines with -`k' and subsequent lines with `j', and so forth. + When you enter a line in 'vi' mode, you are already placed in +'insertion' mode, as if you had typed an 'i'. Pressing switches +you into 'command' mode, where you can edit the text of the line with +the standard 'vi' movement keys, move to previous history lines with 'k' +and subsequent lines with 'j', and so forth.  File: bashref.info, Node: Programmable Completion, Next: Programmable Completion Builtins, Prev: Readline vi Mode, Up: Command Line Editing @@ -8294,21 +8381,21 @@ File: bashref.info, Node: Programmable Completion, Next: Programmable Completi 8.6 Programmable Completion =========================== -When word completion is attempted for an argument to a command for -which a completion specification (a COMPSPEC) has been defined using -the `complete' builtin (*note Programmable Completion Builtins::), the +When word completion is attempted for an argument to a command for which +a completion specification (a COMPSPEC) has been defined using the +'complete' builtin (*note Programmable Completion Builtins::), the programmable completion facilities are invoked. First, the command name is identified. If a compspec has been defined for that command, the compspec is used to generate the list of possible completions for the word. If the command word is the empty string (completion attempted at the beginning of an empty line), any -compspec defined with the `-E' option to `complete' is used. If the +compspec defined with the '-E' option to 'complete' is used. If the command word is a full pathname, a compspec for the full pathname is searched for first. If no compspec is found for the full pathname, an attempt is made to find a compspec for the portion following the final slash. If those searches do not result in a compspec, any compspec -defined with the `-D' option to `complete' is used as the default. +defined with the '-D' option to 'complete' is used as the default. Once a compspec has been found, it is used to generate the list of matching words. If a compspec is not found, the default Bash completion @@ -8316,83 +8403,84 @@ described above (*note Commands For Completion::) is performed. First, the actions specified by the compspec are used. Only matches which are prefixed by the word being completed are returned. When the -`-f' or `-d' option is used for filename or directory name completion, -the shell variable `FIGNORE' is used to filter the matches. *Note Bash -Variables::, for a description of `FIGNORE'. - - Any completions specified by a filename expansion pattern to the -`-G' option are generated next. The words generated by the pattern -need not match the word being completed. The `GLOBIGNORE' shell -variable is not used to filter the matches, but the `FIGNORE' shell -variable is used. - - Next, the string specified as the argument to the `-W' option is -considered. The string is first split using the characters in the `IFS' -special variable as delimiters. Shell quoting is honored. Each word -is then expanded using brace expansion, tilde expansion, parameter and +'-f' or '-d' option is used for filename or directory name completion, +the shell variable 'FIGNORE' is used to filter the matches. *Note Bash +Variables::, for a description of 'FIGNORE'. + + Any completions specified by a filename expansion pattern to the '-G' +option are generated next. The words generated by the pattern need not +match the word being completed. The 'GLOBIGNORE' shell variable is not +used to filter the matches, but the 'FIGNORE' shell variable is used. + + Next, the string specified as the argument to the '-W' option is +considered. The string is first split using the characters in the 'IFS' +special variable as delimiters. Shell quoting is honored. Each word is +then expanded using brace expansion, tilde expansion, parameter and variable expansion, command substitution, and arithmetic expansion, as -described above (*note Shell Expansions::). The results are split -using the rules described above (*note Word Splitting::). The results -of the expansion are prefix-matched against the word being completed, -and the matching words become the possible completions. +described above (*note Shell Expansions::). The results are split using +the rules described above (*note Word Splitting::). The results of the +expansion are prefix-matched against the word being completed, and the +matching words become the possible completions. After these matches have been generated, any shell function or -command specified with the `-F' and `-C' options is invoked. When the -command or function is invoked, the `COMP_LINE', `COMP_POINT', -`COMP_KEY', and `COMP_TYPE' variables are assigned values as described +command specified with the '-F' and '-C' options is invoked. When the +command or function is invoked, the 'COMP_LINE', 'COMP_POINT', +'COMP_KEY', and 'COMP_TYPE' variables are assigned values as described above (*note Bash Variables::). If a shell function is being invoked, -the `COMP_WORDS' and `COMP_CWORD' variables are also set. When the +the 'COMP_WORDS' and 'COMP_CWORD' variables are also set. When the function or command is invoked, the first argument ($1) is the name of the command whose arguments are being completed, the second argument ($2) is the word being completed, and the third argument ($3) is the -word preceding the word being completed on the current command line. -No filtering of the generated completions against the word being -completed is performed; the function or command has complete freedom in -generating the matches. +word preceding the word being completed on the current command line. No +filtering of the generated completions against the word being completed +is performed; the function or command has complete freedom in generating +the matches. - Any function specified with `-F' is invoked first. The function may -use any of the shell facilities, including the `compgen' and `compopt' + Any function specified with '-F' is invoked first. The function may +use any of the shell facilities, including the 'compgen' and 'compopt' builtins described below (*note Programmable Completion Builtins::), to generate the matches. It must put the possible completions in the -`COMPREPLY' array variable, one per array element. +'COMPREPLY' array variable, one per array element. - Next, any command specified with the `-C' option is invoked in an + Next, any command specified with the '-C' option is invoked in an environment equivalent to command substitution. It should print a list of completions, one per line, to the standard output. Backslash may be used to escape a newline, if necessary. After all of the possible completions are generated, any filter -specified with the `-X' option is applied to the list. The filter is a -pattern as used for pathname expansion; a `&' in the pattern is -replaced with the text of the word being completed. A literal `&' may -be escaped with a backslash; the backslash is removed before attempting -a match. Any completion that matches the pattern will be removed from -the list. A leading `!' negates the pattern; in this case any -completion not matching the pattern will be removed. - - Finally, any prefix and suffix specified with the `-P' and `-S' +specified with the '-X' option is applied to the list. The filter is a +pattern as used for pathname expansion; a '&' in the pattern is replaced +with the text of the word being completed. A literal '&' may be escaped +with a backslash; the backslash is removed before attempting a match. +Any completion that matches the pattern will be removed from the list. +A leading '!' negates the pattern; in this case any completion not +matching the pattern will be removed. If the 'nocasematch' shell option +(see the description of 'shopt' in *note The Shopt Builtin::) is +enabled, the match is performed without regard to the case of alphabetic +characters. + + Finally, any prefix and suffix specified with the '-P' and '-S' options are added to each member of the completion list, and the result is returned to the Readline completion code as the list of possible completions. If the previously-applied actions do not generate any matches, and -the `-o dirnames' option was supplied to `complete' when the compspec +the '-o dirnames' option was supplied to 'complete' when the compspec was defined, directory name completion is attempted. - If the `-o plusdirs' option was supplied to `complete' when the + If the '-o plusdirs' option was supplied to 'complete' when the compspec was defined, directory name completion is attempted and any matches are added to the results of the other actions. - By default, if a compspec is found, whatever it generates is -returned to the completion code as the full set of possible completions. -The default Bash completions are not attempted, and the Readline default -of filename completion is disabled. If the `-o bashdefault' option was -supplied to `complete' when the compspec was defined, the default Bash + By default, if a compspec is found, whatever it generates is returned +to the completion code as the full set of possible completions. The +default Bash completions are not attempted, and the Readline default of +filename completion is disabled. If the '-o bashdefault' option was +supplied to 'complete' when the compspec was defined, the default Bash completions are attempted if the compspec generates no matches. If the -`-o default' option was supplied to `complete' when the compspec was -defined, Readline's default completion will be performed if the -compspec (and, if attempted, the default Bash completions) generate no -matches. +'-o default' option was supplied to 'complete' when the compspec was +defined, Readline's default completion will be performed if the compspec +(and, if attempted, the default Bash completions) generate no matches. When a compspec indicates that directory name completion is desired, the programmable completion functions force Readline to append a slash @@ -8402,7 +8490,7 @@ setting of the MARK-SYMLINKED-DIRECTORIES Readline variable. There is some support for dynamically modifying completions. This is most useful when used in combination with a default completion specified -with `-D'. It's possible for shell functions executed as completion +with '-D'. It's possible for shell functions executed as completion handlers to indicate that completion should be retried by returning an exit status of 124. If a shell function returns 124, and changes the compspec associated with the command on which completion is being @@ -8433,15 +8521,15 @@ completion facilities: one to specify how the arguments to a particular command are to be completed, and two to modify the completion as it is happening. -`compgen' - `compgen [OPTION] [WORD]' +'compgen' + compgen [OPTION] [WORD] Generate possible completion matches for WORD according to the - OPTIONs, which may be any option accepted by the `complete' - builtin with the exception of `-p' and `-r', and write the matches - to the standard output. When using the `-F' or `-C' options, the - various shell variables set by the programmable completion - facilities, while available, will not have useful values. + OPTIONs, which may be any option accepted by the 'complete' builtin + with the exception of '-p' and '-r', and write the matches to the + standard output. When using the '-F' or '-C' options, the various + shell variables set by the programmable completion facilities, + while available, will not have useful values. The matches will be generated in the same way as if the programmable completion code had generated them directly from a @@ -8451,225 +8539,225 @@ happening. The return value is true unless an invalid option is supplied, or no matches were generated. -`complete' - `complete [-abcdefgjksuv] [-o COMP-OPTION] [-DE] [-A ACTION] [-G GLOBPAT] [-W WORDLIST] +'complete' + complete [-abcdefgjksuv] [-o COMP-OPTION] [-DE] [-A ACTION] [-G GLOBPAT] [-W WORDLIST] [-F FUNCTION] [-C COMMAND] [-X FILTERPAT] - [-P PREFIX] [-S SUFFIX] NAME [NAME ...]' - `complete -pr [-DE] [NAME ...]' + [-P PREFIX] [-S SUFFIX] NAME [NAME ...] + complete -pr [-DE] [NAME ...] Specify how arguments to each NAME should be completed. If the - `-p' option is supplied, or if no options are supplied, existing + '-p' option is supplied, or if no options are supplied, existing completion specifications are printed in a way that allows them to - be reused as input. The `-r' option removes a completion + be reused as input. The '-r' option removes a completion specification for each NAME, or, if no NAMEs are supplied, all - completion specifications. The `-D' option indicates that the - remaining options and actions should apply to the "default" - command completion; that is, completion attempted on a command for - which no completion has previously been defined. The `-E' option - indicates that the remaining options and actions should apply to - "empty" command completion; that is, completion attempted on a - blank line. + completion specifications. The '-D' option indicates that the + remaining options and actions should apply to the "default" command + completion; that is, completion attempted on a command for which no + completion has previously been defined. The '-E' option indicates + that the remaining options and actions should apply to "empty" + command completion; that is, completion attempted on a blank line. The process of applying these completion specifications when word completion is attempted is described above (*note Programmable - Completion::). The `-D' option takes precedence over `-E'. + Completion::). The '-D' option takes precedence over '-E'. Other options, if specified, have the following meanings. The - arguments to the `-G', `-W', and `-X' options (and, if necessary, - the `-P' and `-S' options) should be quoted to protect them from - expansion before the `complete' builtin is invoked. + arguments to the '-G', '-W', and '-X' options (and, if necessary, + the '-P' and '-S' options) should be quoted to protect them from + expansion before the 'complete' builtin is invoked. - `-o COMP-OPTION' + '-o COMP-OPTION' The COMP-OPTION controls several aspects of the compspec's behavior beyond the simple generation of completions. COMP-OPTION may be one of: - `bashdefault' + 'bashdefault' Perform the rest of the default Bash completions if the compspec generates no matches. - `default' + 'default' Use Readline's default filename completion if the compspec generates no matches. - `dirnames' + 'dirnames' Perform directory name completion if the compspec generates no matches. - `filenames' + 'filenames' Tell Readline that the compspec generates filenames, so it can perform any filename-specific processing (like adding a slash to directory names quoting special - characters, or suppressing trailing spaces). This - option is intended to be used with shell functions - specified with `-F'. + characters, or suppressing trailing spaces). This option + is intended to be used with shell functions specified + with '-F'. - `noquote' + 'noquote' Tell Readline not to quote the completed words if they are filenames (quoting filenames is the default). - `nospace' + 'nosort' + Tell Readline not to sort the list of possible + completions alphabetically. + + 'nospace' Tell Readline not to append a space (the default) to words completed at the end of the line. - `plusdirs' + 'plusdirs' After any matches defined by the compspec are generated, directory name completion is attempted and any matches are added to the results of the other actions. - - `-A ACTION' + '-A ACTION' The ACTION may be one of the following to generate a list of possible completions: - `alias' - Alias names. May also be specified as `-a'. + 'alias' + Alias names. May also be specified as '-a'. - `arrayvar' + 'arrayvar' Array variable names. - `binding' + 'binding' Readline key binding names (*note Bindable Readline Commands::). - `builtin' + 'builtin' Names of shell builtin commands. May also be specified - as `-b'. + as '-b'. - `command' - Command names. May also be specified as `-c'. + 'command' + Command names. May also be specified as '-c'. - `directory' - Directory names. May also be specified as `-d'. + 'directory' + Directory names. May also be specified as '-d'. - `disabled' + 'disabled' Names of disabled shell builtins. - `enabled' + 'enabled' Names of enabled shell builtins. - `export' - Names of exported shell variables. May also be - specified as `-e'. + 'export' + Names of exported shell variables. May also be specified + as '-e'. - `file' - File names. May also be specified as `-f'. + 'file' + File names. May also be specified as '-f'. - `function' + 'function' Names of shell functions. - `group' - Group names. May also be specified as `-g'. + 'group' + Group names. May also be specified as '-g'. - `helptopic' - Help topics as accepted by the `help' builtin (*note - Bash Builtins::). + 'helptopic' + Help topics as accepted by the 'help' builtin (*note Bash + Builtins::). - `hostname' + 'hostname' Hostnames, as taken from the file specified by the - `HOSTFILE' shell variable (*note Bash Variables::). + 'HOSTFILE' shell variable (*note Bash Variables::). - `job' + 'job' Job names, if job control is active. May also be - specified as `-j'. + specified as '-j'. - `keyword' - Shell reserved words. May also be specified as `-k'. + 'keyword' + Shell reserved words. May also be specified as '-k'. - `running' + 'running' Names of running jobs, if job control is active. - `service' - Service names. May also be specified as `-s'. + 'service' + Service names. May also be specified as '-s'. - `setopt' - Valid arguments for the `-o' option to the `set' builtin + 'setopt' + Valid arguments for the '-o' option to the 'set' builtin (*note The Set Builtin::). - `shopt' - Shell option names as accepted by the `shopt' builtin + 'shopt' + Shell option names as accepted by the 'shopt' builtin (*note Bash Builtins::). - `signal' + 'signal' Signal names. - `stopped' + 'stopped' Names of stopped jobs, if job control is active. - `user' - User names. May also be specified as `-u'. + 'user' + User names. May also be specified as '-u'. - `variable' + 'variable' Names of all shell variables. May also be specified as - `-v'. + '-v'. - `-C COMMAND' + '-C COMMAND' COMMAND is executed in a subshell environment, and its output is used as the possible completions. - `-F FUNCTION' + '-F FUNCTION' The shell function FUNCTION is executed in the current shell environment. When it is executed, $1 is the name of the command whose arguments are being completed, $2 is the word being completed, and $3 is the word preceding the word being completed, as described above (*note Programmable - Completion::). When it finishes, the possible completions - are retrieved from the value of the `COMPREPLY' array - variable. + Completion::). When it finishes, the possible completions are + retrieved from the value of the 'COMPREPLY' array variable. - `-G GLOBPAT' + '-G GLOBPAT' The filename expansion pattern GLOBPAT is expanded to generate the possible completions. - `-P PREFIX' + '-P PREFIX' PREFIX is added at the beginning of each possible completion after all other options have been applied. - `-S SUFFIX' - SUFFIX is appended to each possible completion after all - other options have been applied. + '-S SUFFIX' + SUFFIX is appended to each possible completion after all other + options have been applied. - `-W WORDLIST' - The WORDLIST is split using the characters in the `IFS' + '-W WORDLIST' + The WORDLIST is split using the characters in the 'IFS' special variable as delimiters, and each resultant word is expanded. The possible completions are the members of the resultant list which match the word being completed. - `-X FILTERPAT' + '-X FILTERPAT' FILTERPAT is a pattern as used for filename expansion. It is applied to the list of possible completions generated by the preceding options and arguments, and each completion matching - FILTERPAT is removed from the list. A leading `!' in + FILTERPAT is removed from the list. A leading '!' in FILTERPAT negates the pattern; in this case, any completion not matching FILTERPAT is removed. The return value is true unless an invalid option is supplied, an - option other than `-p' or `-r' is supplied without a NAME - argument, an attempt is made to remove a completion specification - for a NAME for which no specification exists, or an error occurs - adding a completion specification. + option other than '-p' or '-r' is supplied without a NAME argument, + an attempt is made to remove a completion specification for a NAME + for which no specification exists, or an error occurs adding a + completion specification. -`compopt' - `compopt' [-o OPTION] [-DE] [+o OPTION] [NAME] +'compopt' + compopt [-o OPTION] [-DE] [+o OPTION] [NAME] Modify completion options for each NAME according to the OPTIONs, or for the currently-executing completion if no NAMEs are supplied. If no OPTIONs are given, display the completion options for each NAME or the current completion. The possible values of OPTION are - those valid for the `complete' builtin described above. The `-D' + those valid for the 'complete' builtin described above. The '-D' option indicates that the remaining options should apply to the "default" command completion; that is, completion attempted on a command for which no completion has previously been defined. The - `-E' option indicates that the remaining options should apply to + '-E' option indicates that the remaining options should apply to "empty" command completion; that is, completion attempted on a blank line. - The `-D' option takes precedence over `-E'. + The '-D' option takes precedence over '-E'. The return value is true unless an invalid option is supplied, an attempt is made to modify the options for a NAME for which no completion specification exists, or an output error occurs. -  File: bashref.info, Node: A Programmable Completion Example, Prev: Programmable Completion Builtins, Up: Command Line Editing @@ -8677,25 +8765,25 @@ File: bashref.info, Node: A Programmable Completion Example, Prev: Programmabl ===================================== The most common way to obtain additional completion functionality beyond -the default actions `complete' and `compgen' provide is to use a shell -function and bind it to a particular command using `complete -F'. +the default actions 'complete' and 'compgen' provide is to use a shell +function and bind it to a particular command using 'complete -F'. - The following function provides completions for the `cd' builtin. -It is a reasonably good example of what shell functions must do when -used for completion. This function uses the word passsed as `$2' to + The following function provides completions for the 'cd' builtin. It +is a reasonably good example of what shell functions must do when used +for completion. This function uses the word passsed as '$2' to determine the directory name to complete. You can also use the -`COMP_WORDS' array variable; the current word is indexed by the -`COMP_CWORD' variable. +'COMP_WORDS' array variable; the current word is indexed by the +'COMP_CWORD' variable. - The function relies on the `complete' and `compgen' builtins to do -much of the work, adding only the things that the Bash `cd' does beyond + The function relies on the 'complete' and 'compgen' builtins to do +much of the work, adding only the things that the Bash 'cd' does beyond accepting basic directory names: tilde expansion (*note Tilde Expansion::), searching directories in $CDPATH, which is described above -(*note Bourne Shell Builtins::), and basic support for the -`cdable_vars' shell option (*note The Shopt Builtin::). `_comp_cd' -modifies the value of IFS so that it contains only a newline to -accommodate file names containing spaces and tabs - `compgen' prints -the possible completions it generates one per line. +(*note Bourne Shell Builtins::), and basic support for the 'cdable_vars' +shell option (*note The Shopt Builtin::). '_comp_cd' modifies the value +of IFS so that it contains only a newline to accommodate file names +containing spaces and tabs - 'compgen' prints the possible completions +it generates one per line. Possible completions go into the COMPREPLY array variable, one completion per array element. The programmable completion system @@ -8748,8 +8836,8 @@ retrieves the completions from there when the function returns. return 0 } - We install the completion function using the `-F' option to -`complete': + We install the completion function using the '-F' option to +'complete': # Tell readline to quote appropriate and append slashes to directories; # use the bash default completion for other arguments @@ -8757,32 +8845,32 @@ retrieves the completions from there when the function returns. Since we'd like Bash and Readline to take care of some of the other details for us, we use several other options to tell Bash and Readline -what to do. The `-o filenames' option tells Readline that the possible +what to do. The '-o filenames' option tells Readline that the possible completions should be treated as filenames, and quoted appropriately. That option will also cause Readline to append a slash to filenames it can determine are directories (which is why we might want to extend -`_comp_cd' to append a slash if we're using directories found via -CDPATH: Readline can't tell those completions are directories). The -`-o nospace' option tells Readline to not append a space character to -the directory name, in case we want to append to it. The `-o -bashdefault' option brings in the rest of the "Bash default" -completions - possible completion that Bash adds to the default Readline -set. These include things like command name completion, variable -completion for words beginning with `{', completions containing pathname -expansion patterns (*note Filename Expansion::), and so on. - - Once installed using `complete', `_comp_cd' will be called every -time we attempt word completion for a `cd' command. +'_comp_cd' to append a slash if we're using directories found via +CDPATH: Readline can't tell those completions are directories). The '-o +nospace' option tells Readline to not append a space character to the +directory name, in case we want to append to it. The '-o bashdefault' +option brings in the rest of the "Bash default" completions - possible +completion that Bash adds to the default Readline set. These include +things like command name completion, variable completion for words +beginning with '{', completions containing pathname expansion patterns +(*note Filename Expansion::), and so on. + + Once installed using 'complete', '_comp_cd' will be called every time +we attempt word completion for a 'cd' command. Many more examples - an extensive collection of completions for most of the common GNU, Unix, and Linux commands - are available as part of the bash_completion project. This is installed by default on many GNU/Linux distributions. Originally written by Ian Macdonald, the -project now lives at `http://bash-completion.alioth.debian.org/'. -There are ports for other systems such as Solaris and Mac OS X. +project now lives at . There +are ports for other systems such as Solaris and Mac OS X. An older version of the bash_completion package is distributed with -bash in the `examples/complete' subdirectory. +bash in the 'examples/complete' subdirectory.  File: bashref.info, Node: Using History Interactively, Next: Installing Bash, Prev: Command Line Editing, Up: Top @@ -8790,10 +8878,10 @@ File: bashref.info, Node: Using History Interactively, Next: Installing Bash, 9 Using History Interactively ***************************** -This chapter describes how to use the GNU History Library -interactively, from a user's standpoint. It should be considered a -user's guide. For information on using the GNU History Library in -other programs, see the GNU Readline Library Manual. +This chapter describes how to use the GNU History Library interactively, +from a user's standpoint. It should be considered a user's guide. For +information on using the GNU History Library in other programs, see the +GNU Readline Library Manual. * Menu: @@ -8809,53 +8897,52 @@ File: bashref.info, Node: Bash History Facilities, Next: Bash History Builtins 9.1 Bash History Facilities =========================== -When the `-o history' option to the `set' builtin is enabled (*note The +When the '-o history' option to the 'set' builtin is enabled (*note The Set Builtin::), the shell provides access to the "command history", the -list of commands previously typed. The value of the `HISTSIZE' shell +list of commands previously typed. The value of the 'HISTSIZE' shell variable is used as the number of commands to save in a history list. -The text of the last `$HISTSIZE' commands (default 500) is saved. The +The text of the last '$HISTSIZE' commands (default 500) is saved. The shell stores each command in the history list prior to parameter and variable expansion but after history expansion is performed, subject to -the values of the shell variables `HISTIGNORE' and `HISTCONTROL'. +the values of the shell variables 'HISTIGNORE' and 'HISTCONTROL'. When the shell starts up, the history is initialized from the file -named by the `HISTFILE' variable (default `~/.bash_history'). The file -named by the value of `HISTFILE' is truncated, if necessary, to contain +named by the 'HISTFILE' variable (default '~/.bash_history'). The file +named by the value of 'HISTFILE' is truncated, if necessary, to contain no more than the number of lines specified by the value of the -`HISTFILESIZE' variable. When a shell with history enabled exits, the -last `$HISTSIZE' lines are copied from the history list to the file -named by `$HISTFILE'. If the `histappend' shell option is set (*note +'HISTFILESIZE' variable. When a shell with history enabled exits, the +last '$HISTSIZE' lines are copied from the history list to the file +named by '$HISTFILE'. If the 'histappend' shell option is set (*note Bash Builtins::), the lines are appended to the history file, otherwise -the history file is overwritten. If `HISTFILE' is unset, or if the +the history file is overwritten. If 'HISTFILE' is unset, or if the history file is unwritable, the history is not saved. After saving the history, the history file is truncated to contain no more than -`$HISTFILESIZE' lines. If `HISTFILESIZE' is unset, or set to null, a +'$HISTFILESIZE' lines. If 'HISTFILESIZE' is unset, or set to null, a non-numeric value, or a numeric value less than zero, the history file is not truncated. - If the `HISTTIMEFORMAT' is set, the time stamp information -associated with each history entry is written to the history file, -marked with the history comment character. When the history file is -read, lines beginning with the history comment character followed -immediately by a digit are interpreted as timestamps for the previous -history line. + If the 'HISTTIMEFORMAT' is set, the time stamp information associated +with each history entry is written to the history file, marked with the +history comment character. When the history file is read, lines +beginning with the history comment character followed immediately by a +digit are interpreted as timestamps for the following history entry. - The builtin command `fc' may be used to list or edit and re-execute -a portion of the history list. The `history' builtin may be used to + The builtin command 'fc' may be used to list or edit and re-execute a +portion of the history list. The 'history' builtin may be used to display or modify the history list and manipulate the history file. When using command-line editing, search commands are available in each -editing mode that provide access to the history list (*note Commands -For History::). +editing mode that provide access to the history list (*note Commands For +History::). The shell allows control over which commands are saved on the history -list. The `HISTCONTROL' and `HISTIGNORE' variables may be set to cause -the shell to save only a subset of the commands entered. The `cmdhist' +list. The 'HISTCONTROL' and 'HISTIGNORE' variables may be set to cause +the shell to save only a subset of the commands entered. The 'cmdhist' shell option, if enabled, causes the shell to attempt to save each line of a multi-line command in the same history entry, adding semicolons -where necessary to preserve syntactic correctness. The `lithist' shell +where necessary to preserve syntactic correctness. The 'lithist' shell option causes the shell to save the command with embedded newlines -instead of semicolons. The `shopt' builtin is used to set these -options. *Note Bash Builtins::, for a description of `shopt'. +instead of semicolons. The 'shopt' builtin is used to set these +options. *Note Bash Builtins::, for a description of 'shopt'.  File: bashref.info, Node: Bash History Builtins, Next: History Interaction, Prev: Bash History Facilities, Up: Using History Interactively @@ -8863,95 +8950,94 @@ File: bashref.info, Node: Bash History Builtins, Next: History Interaction, P 9.2 Bash History Builtins ========================= -Bash provides two builtin commands which manipulate the history list -and history file. +Bash provides two builtin commands which manipulate the history list and +history file. -`fc' - `fc [-e ENAME] [-lnr] [FIRST] [LAST]' - `fc -s [PAT=REP] [COMMAND]' +'fc' + fc [-e ENAME] [-lnr] [FIRST] [LAST] + fc -s [PAT=REP] [COMMAND] The first form selects a range of commands from FIRST to LAST from the history list and displays or edits and re-executes them. Both FIRST and LAST may be specified as a string (to locate the most - recent command beginning with that string) or as a number (an - index into the history list, where a negative number is used as an - offset from the current command number). If LAST is not specified - it is set to FIRST. If FIRST is not specified it is set to the - previous command for editing and -16 for listing. If the `-l' - flag is given, the commands are listed on standard output. The - `-n' flag suppresses the command numbers when listing. The `-r' - flag reverses the order of the listing. Otherwise, the editor - given by ENAME is invoked on a file containing those commands. If - ENAME is not given, the value of the following variable expansion - is used: `${FCEDIT:-${EDITOR:-vi}}'. This says to use the value - of the `FCEDIT' variable if set, or the value of the `EDITOR' - variable if that is set, or `vi' if neither is set. When editing - is complete, the edited commands are echoed and executed. + recent command beginning with that string) or as a number (an index + into the history list, where a negative number is used as an offset + from the current command number). If LAST is not specified it is + set to FIRST. If FIRST is not specified it is set to the previous + command for editing and -16 for listing. If the '-l' flag is + given, the commands are listed on standard output. The '-n' flag + suppresses the command numbers when listing. The '-r' flag + reverses the order of the listing. Otherwise, the editor given by + ENAME is invoked on a file containing those commands. If ENAME is + not given, the value of the following variable expansion is used: + '${FCEDIT:-${EDITOR:-vi}}'. This says to use the value of the + 'FCEDIT' variable if set, or the value of the 'EDITOR' variable if + that is set, or 'vi' if neither is set. When editing is complete, + the edited commands are echoed and executed. In the second form, COMMAND is re-executed after each instance of PAT in the selected command is replaced by REP. COMMAND is intepreted the same as FIRST above. - A useful alias to use with the `fc' command is `r='fc -s'', so - that typing `r cc' runs the last command beginning with `cc' and - typing `r' re-executes the last command (*note Aliases::). + A useful alias to use with the 'fc' command is 'r='fc -s'', so that + typing 'r cc' runs the last command beginning with 'cc' and typing + 'r' re-executes the last command (*note Aliases::). -`history' +'history' history [N] history -c history -d OFFSET history [-anrw] [FILENAME] history -ps ARG - With no options, display the history list with line numbers. - Lines prefixed with a `*' have been modified. An argument of N - lists only the last N lines. If the shell variable - `HISTTIMEFORMAT' is set and not null, it is used as a format - string for STRFTIME to display the time stamp associated with each - displayed history entry. No intervening blank is printed between - the formatted time stamp and the history line. + With no options, display the history list with line numbers. Lines + prefixed with a '*' have been modified. An argument of N lists + only the last N lines. If the shell variable 'HISTTIMEFORMAT' is + set and not null, it is used as a format string for STRFTIME to + display the time stamp associated with each displayed history + entry. No intervening blank is printed between the formatted time + stamp and the history line. Options, if supplied, have the following meanings: - `-c' + '-c' Clear the history list. This may be combined with the other options to replace the history list completely. - `-d OFFSET' - Delete the history entry at position OFFSET. OFFSET should - be specified as it appears when the history is displayed. + '-d OFFSET' + Delete the history entry at position OFFSET. OFFSET should be + specified as it appears when the history is displayed. - `-a' - Append the new history lines (history lines entered since the - beginning of the current Bash session) to the history file. + '-a' + Append the new history lines to the history file. These are + history lines entered since the beginning of the current Bash + session, but not already appended to the history file. - `-n' + '-n' Append the history lines not already read from the history - file to the current history list. These are lines appended - to the history file since the beginning of the current Bash + file to the current history list. These are lines appended to + the history file since the beginning of the current Bash session. - `-r' + '-r' Read the history file and append its contents to the history list. - `-w' + '-w' Write out the current history list to the history file. - `-p' + '-p' Perform history substitution on the ARGs and display the result on the standard output, without storing the results in the history list. - `-s' + '-s' The ARGs are added to the end of the history list as a single entry. - - When any of the `-w', `-r', `-a', or `-n' options is used, if + When any of the '-w', '-r', '-a', or '-n' options is used, if FILENAME is given, then it is used as the history file. If not, - then the value of the `HISTFILE' variable is used. - + then the value of the 'HISTFILE' variable is used.  File: bashref.info, Node: History Interaction, Prev: Bash History Builtins, Up: Using History Interactively @@ -8960,43 +9046,47 @@ File: bashref.info, Node: History Interaction, Prev: Bash History Builtins, U ===================== The History library provides a history expansion feature that is similar -to the history expansion provided by `csh'. This section describes the +to the history expansion provided by 'csh'. This section describes the syntax used to manipulate the history information. History expansions introduce words from the history list into the -input stream, making it easy to repeat commands, insert the arguments -to a previous command into the current input line, or fix errors in +input stream, making it easy to repeat commands, insert the arguments to +a previous command into the current input line, or fix errors in previous commands quickly. + History expansion is performed immediately after a complete line is +read, before the shell breaks it into words. + History expansion takes place in two parts. The first is to determine which line from the history list should be used during substitution. The second is to select portions of that line for inclusion into the current one. The line selected from the history is called the "event", and the portions of that line that are acted upon -are called "words". Various "modifiers" are available to manipulate -the selected words. The line is broken into words in the same fashion -that Bash does, so that several words surrounded by quotes are -considered one word. History expansions are introduced by the -appearance of the history expansion character, which is `!' by default. -Only `\' and `'' may be used to escape the history expansion character. - - Several shell options settable with the `shopt' builtin (*note Bash -Builtins::) may be used to tailor the behavior of history expansion. -If the `histverify' shell option is enabled, and Readline is being -used, history substitutions are not immediately passed to the shell -parser. Instead, the expanded line is reloaded into the Readline -editing buffer for further modification. If Readline is being used, -and the `histreedit' shell option is enabled, a failed history -expansion will be reloaded into the Readline editing buffer for -correction. The `-p' option to the `history' builtin command may be -used to see what a history expansion will do before using it. The `-s' -option to the `history' builtin may be used to add commands to the end -of the history list without actually executing them, so that they are -available for subsequent recall. This is most useful in conjunction -with Readline. +are called "words". Various "modifiers" are available to manipulate the +selected words. The line is broken into words in the same fashion that +Bash does, so that several words surrounded by quotes are considered one +word. History expansions are introduced by the appearance of the +history expansion character, which is '!' by default. Only '\' and ''' +may be used to escape the history expansion character, but the history +expansion character is also treated as quoted if it immediately precedes +the closing double quote in a double-quoted string. + + Several shell options settable with the 'shopt' builtin (*note Bash +Builtins::) may be used to tailor the behavior of history expansion. If +the 'histverify' shell option is enabled, and Readline is being used, +history substitutions are not immediately passed to the shell parser. +Instead, the expanded line is reloaded into the Readline editing buffer +for further modification. If Readline is being used, and the +'histreedit' shell option is enabled, a failed history expansion will be +reloaded into the Readline editing buffer for correction. The '-p' +option to the 'history' builtin command may be used to see what a +history expansion will do before using it. The '-s' option to the +'history' builtin may be used to add commands to the end of the history +list without actually executing them, so that they are available for +subsequent recall. This is most useful in conjunction with Readline. The shell allows control of the various characters used by the -history expansion mechanism with the `histchars' variable, as explained +history expansion mechanism with the 'histchars' variable, as explained above (*note Bash Variables::). The shell uses the history comment character to mark history timestamps when writing the history file. @@ -9014,97 +9104,95 @@ File: bashref.info, Node: Event Designators, Next: Word Designators, Up: Hist An event designator is a reference to a command line entry in the history list. Unless the reference is absolute, events are relative to -the current position in the history list. +the current position in the history list. -`!' +'!' Start a history substitution, except when followed by a space, tab, - the end of the line, `=' or `(' (when the `extglob' shell option - is enabled using the `shopt' builtin). + the end of the line, '=' or '(' (when the 'extglob' shell option is + enabled using the 'shopt' builtin). -`!N' +'!N' Refer to command line N. -`!-N' +'!-N' Refer to the command N lines back. -`!!' - Refer to the previous command. This is a synonym for `!-1'. +'!!' + Refer to the previous command. This is a synonym for '!-1'. -`!STRING' +'!STRING' Refer to the most recent command preceding the current position in the history list starting with STRING. -`!?STRING[?]' +'!?STRING[?]' Refer to the most recent command preceding the current position in - the history list containing STRING. The trailing `?' may be + the history list containing STRING. The trailing '?' may be omitted if the STRING is followed immediately by a newline. -`^STRING1^STRING2^' +'^STRING1^STRING2^' Quick Substitution. Repeat the last command, replacing STRING1 - with STRING2. Equivalent to `!!:s/STRING1/STRING2/'. + with STRING2. Equivalent to '!!:s/STRING1/STRING2/'. -`!#' +'!#' The entire command line typed so far. -  File: bashref.info, Node: Word Designators, Next: Modifiers, Prev: Event Designators, Up: History Interaction 9.3.2 Word Designators ---------------------- -Word designators are used to select desired words from the event. A -`:' separates the event specification from the word designator. It may -be omitted if the word designator begins with a `^', `$', `*', `-', or -`%'. Words are numbered from the beginning of the line, with the first -word being denoted by 0 (zero). Words are inserted into the current -line separated by single spaces. +Word designators are used to select desired words from the event. A ':' +separates the event specification from the word designator. It may be +omitted if the word designator begins with a '^', '$', '*', '-', or '%'. +Words are numbered from the beginning of the line, with the first word +being denoted by 0 (zero). Words are inserted into the current line +separated by single spaces. For example, -`!!' +'!!' designates the preceding command. When you type this, the preceding command is repeated in toto. -`!!:$' +'!!:$' designates the last argument of the preceding command. This may be - shortened to `!$'. + shortened to '!$'. -`!fi:2' +'!fi:2' designates the second argument of the most recent command starting - with the letters `fi'. + with the letters 'fi'. Here are the word designators: -`0 (zero)' - The `0'th word. For many applications, this is the command word. +'0 (zero)' + The '0'th word. For many applications, this is the command word. -`N' +'N' The Nth word. -`^' +'^' The first argument; that is, word 1. -`$' +'$' The last argument. -`%' - The word matched by the most recent `?STRING?' search. +'%' + The word matched by the most recent '?STRING?' search. -`X-Y' - A range of words; `-Y' abbreviates `0-Y'. +'X-Y' + A range of words; '-Y' abbreviates '0-Y'. -`*' - All of the words, except the `0'th. This is a synonym for `1-$'. - It is not an error to use `*' if there is just one word in the +'*' + All of the words, except the '0'th. This is a synonym for '1-$'. + It is not an error to use '*' if there is just one word in the event; the empty string is returned in that case. -`X*' - Abbreviates `X-$' - -`X-' - Abbreviates `X-$' like `X*', but omits the last word. +'X*' + Abbreviates 'X-$' +'X-' + Abbreviates 'X-$' like 'X*', but omits the last word. If a word designator is supplied without an event specification, the previous command is used as the event. @@ -9116,50 +9204,49 @@ File: bashref.info, Node: Modifiers, Prev: Word Designators, Up: History Inte --------------- After the optional word designator, you can add a sequence of one or -more of the following modifiers, each preceded by a `:'. +more of the following modifiers, each preceded by a ':'. -`h' +'h' Remove a trailing pathname component, leaving only the head. -`t' +'t' Remove all leading pathname components, leaving the tail. -`r' - Remove a trailing suffix of the form `.SUFFIX', leaving the +'r' + Remove a trailing suffix of the form '.SUFFIX', leaving the basename. -`e' +'e' Remove all but the trailing suffix. -`p' +'p' Print the new command but do not execute it. -`q' +'q' Quote the substituted words, escaping further substitutions. -`x' - Quote the substituted words as with `q', but break into words at +'x' + Quote the substituted words as with 'q', but break into words at spaces, tabs, and newlines. -`s/OLD/NEW/' +'s/OLD/NEW/' Substitute NEW for the first occurrence of OLD in the event line. - Any delimiter may be used in place of `/'. The delimiter may be - quoted in OLD and NEW with a single backslash. If `&' appears in - NEW, it is replaced by OLD. A single backslash will quote the - `&'. The final delimiter is optional if it is the last character - on the input line. + Any delimiter may be used in place of '/'. The delimiter may be + quoted in OLD and NEW with a single backslash. If '&' appears in + NEW, it is replaced by OLD. A single backslash will quote the '&'. + The final delimiter is optional if it is the last character on the + input line. -`&' +'&' Repeat the previous substitution. -`g' -`a' +'g' +'a' Cause changes to be applied over the entire event line. Used in - conjunction with `s', as in `gs/OLD/NEW/', or with `&'. - -`G' - Apply the following `s' modifier once to each word in the event. + conjunction with 's', as in 'gs/OLD/NEW/', or with '&'. +'G' + Apply the following 's' modifier once to each word in the event.  File: bashref.info, Node: Installing Bash, Next: Reporting Bugs, Prev: Using History Interactively, Up: Top @@ -9199,58 +9286,57 @@ These are installation instructions for Bash. The simplest way to compile Bash is: - 1. `cd' to the directory containing the source code and type - `./configure' to configure Bash for your system. If you're using - `csh' on an old version of System V, you might need to type `sh - ./configure' instead to prevent `csh' from trying to execute - `configure' itself. + 1. 'cd' to the directory containing the source code and type + './configure' to configure Bash for your system. If you're using + 'csh' on an old version of System V, you might need to type 'sh + ./configure' instead to prevent 'csh' from trying to execute + 'configure' itself. - Running `configure' takes some time. While running, it prints + Running 'configure' takes some time. While running, it prints messages telling which features it is checking for. - 2. Type `make' to compile Bash and build the `bashbug' bug reporting + 2. Type 'make' to compile Bash and build the 'bashbug' bug reporting script. - 3. Optionally, type `make tests' to run the Bash test suite. + 3. Optionally, type 'make tests' to run the Bash test suite. - 4. Type `make install' to install `bash' and `bashbug'. This will + 4. Type 'make install' to install 'bash' and 'bashbug'. This will also install the manual pages and Info file. - - The `configure' shell script attempts to guess correct values for + The 'configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package -(the top directory, the `builtins', `doc', and `support' directories, -each directory under `lib', and several others). It also creates a -`config.h' file containing system-dependent definitions. Finally, it -creates a shell script named `config.status' that you can run in the -future to recreate the current configuration, a file `config.cache' -that saves the results of its tests to speed up reconfiguring, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). If at some point `config.cache' contains -results you don't want to keep, you may remove or edit it. - - To find out more about the options and arguments that the -`configure' script understands, type +those values to create a 'Makefile' in each directory of the package +(the top directory, the 'builtins', 'doc', and 'support' directories, +each directory under 'lib', and several others). It also creates a +'config.h' file containing system-dependent definitions. Finally, it +creates a shell script named 'config.status' that you can run in the +future to recreate the current configuration, a file 'config.cache' that +saves the results of its tests to speed up reconfiguring, and a file +'config.log' containing compiler output (useful mainly for debugging +'configure'). If at some point 'config.cache' contains results you +don't want to keep, you may remove or edit it. + + To find out more about the options and arguments that the 'configure' +script understands, type bash-2.04$ ./configure --help at the Bash prompt in your Bash source directory. If you need to do unusual things to compile Bash, please try to -figure out how `configure' could check whether or not to do them, and +figure out how 'configure' could check whether or not to do them, and mail diffs or instructions to so they can be considered for the next release. - The file `configure.ac' is used to create `configure' by a program -called Autoconf. You only need `configure.ac' if you want to change it -or regenerate `configure' using a newer version of Autoconf. If you do + The file 'configure.ac' is used to create 'configure' by a program +called Autoconf. You only need 'configure.ac' if you want to change it +or regenerate 'configure' using a newer version of Autoconf. If you do this, make sure you are using Autoconf version 2.50 or newer. You can remove the program binaries and object files from the source -code directory by typing `make clean'. To also remove the files that -`configure' created (so you can compile Bash for a different kind of -computer), type `make distclean'. +code directory by typing 'make clean'. To also remove the files that +'configure' created (so you can compile Bash for a different kind of +computer), type 'make distclean'.  File: bashref.info, Node: Compilers and Options, Next: Compiling For Multiple Architectures, Prev: Basic Installation, Up: Installing Bash @@ -9258,15 +9344,15 @@ File: bashref.info, Node: Compilers and Options, Next: Compiling For Multiple 10.2 Compilers and Options ========================== -Some systems require unusual options for compilation or linking that -the `configure' script does not know about. You can give `configure' +Some systems require unusual options for compilation or linking that the +'configure' script does not know about. You can give 'configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure - On systems that have the `env' program, you can do it like this: + On systems that have the 'env' program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure @@ -9280,29 +9366,29 @@ File: bashref.info, Node: Compiling For Multiple Architectures, Next: Installa You can compile Bash for more than one kind of computer at the same time, by placing the object files for each architecture in their own -directory. To do this, you must use a version of `make' that supports -the `VPATH' variable, such as GNU `make'. `cd' to the directory where -you want the object files and executables to go and run the `configure' +directory. To do this, you must use a version of 'make' that supports +the 'VPATH' variable, such as GNU 'make'. 'cd' to the directory where +you want the object files and executables to go and run the 'configure' script from the source directory. You may need to supply the -`--srcdir=PATH' argument to tell `configure' where the source files -are. `configure' automatically checks for the source code in the -directory that `configure' is in and in `..'. +'--srcdir=PATH' argument to tell 'configure' where the source files are. +'configure' automatically checks for the source code in the directory +that 'configure' is in and in '..'. - If you have to use a `make' that does not supports the `VPATH' + If you have to use a 'make' that does not supports the 'VPATH' variable, you can compile Bash for one architecture at a time in the source code directory. After you have installed Bash for one -architecture, use `make distclean' before reconfiguring for another +architecture, use 'make distclean' before reconfiguring for another architecture. Alternatively, if your system supports symbolic links, you can use -the `support/mkclone' script to create a build tree which has symbolic -links back to each file in the source directory. Here's an example -that creates a build directory in the current directory from a source -directory `/usr/gnu/src/bash-2.0': +the 'support/mkclone' script to create a build tree which has symbolic +links back to each file in the source directory. Here's an example that +creates a build directory in the current directory from a source +directory '/usr/gnu/src/bash-2.0': bash /usr/gnu/src/bash-2.0/support/mkclone -s /usr/gnu/src/bash-2.0 . -The `mkclone' script requires Bash, so you must have already built Bash +The 'mkclone' script requires Bash, so you must have already built Bash for at least one architecture before you can create build directories for other architectures. @@ -9312,15 +9398,15 @@ File: bashref.info, Node: Installation Names, Next: Specifying the System Type 10.4 Installation Names ======================= -By default, `make install' will install into `/usr/local/bin', -`/usr/local/man', etc. You can specify an installation prefix other -than `/usr/local' by giving `configure' the option `--prefix=PATH', or -by specifying a value for the `DESTDIR' `make' variable when running -`make install'. +By default, 'make install' will install into '/usr/local/bin', +'/usr/local/man', etc. You can specify an installation prefix other +than '/usr/local' by giving 'configure' the option '--prefix=PATH', or +by specifying a value for the 'DESTDIR' 'make' variable when running +'make install'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you -give `configure' the option `--exec-prefix=PATH', `make install' will +give 'configure' the option '--exec-prefix=PATH', 'make install' will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. @@ -9330,15 +9416,15 @@ File: bashref.info, Node: Specifying the System Type, Next: Sharing Defaults, 10.5 Specifying the System Type =============================== -There may be some features `configure' can not figure out -automatically, but need to determine by the type of host Bash will run -on. Usually `configure' can figure that out, but if it prints a -message saying it can not guess the host type, give it the -`--host=TYPE' option. `TYPE' can either be a short name for the system -type, such as `sun4', or a canonical name with three fields: -`CPU-COMPANY-SYSTEM' (e.g., `i386-unknown-freebsd4.2'). +There may be some features 'configure' can not figure out automatically, +but need to determine by the type of host Bash will run on. Usually +'configure' can figure that out, but if it prints a message saying it +can not guess the host type, give it the '--host=TYPE' option. 'TYPE' +can either be a short name for the system type, such as 'sun4', or a +canonical name with three fields: 'CPU-COMPANY-SYSTEM' (e.g., +'i386-unknown-freebsd4.2'). - See the file `support/config.sub' for the possible values of each + See the file 'support/config.sub' for the possible values of each field.  @@ -9347,14 +9433,14 @@ File: bashref.info, Node: Sharing Defaults, Next: Operation Controls, Prev: S 10.6 Sharing Defaults ===================== -If you want to set default values for `configure' scripts to share, you -can create a site shell script called `config.site' that gives default -values for variables like `CC', `cache_file', and `prefix'. `configure' -looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: the Bash `configure' looks for a site script, but not all -`configure' scripts do. +If you want to set default values for 'configure' scripts to share, you +can create a site shell script called 'config.site' that gives default +values for variables like 'CC', 'cache_file', and 'prefix'. 'configure' +looks for 'PREFIX/share/config.site' if it exists, then +'PREFIX/etc/config.site' if it exists. Or, you can set the +'CONFIG_SITE' environment variable to the location of the site script. +A warning: the Bash 'configure' looks for a site script, but not all +'configure' scripts do.  File: bashref.info, Node: Operation Controls, Next: Optional Features, Prev: Sharing Defaults, Up: Installing Bash @@ -9362,31 +9448,31 @@ File: bashref.info, Node: Operation Controls, Next: Optional Features, Prev: 10.7 Operation Controls ======================= -`configure' recognizes the following options to control how it operates. +'configure' recognizes the following options to control how it operates. -`--cache-file=FILE' +'--cache-file=FILE' Use and save the results of the tests in FILE instead of - `./config.cache'. Set FILE to `/dev/null' to disable caching, for - debugging `configure'. + './config.cache'. Set FILE to '/dev/null' to disable caching, for + debugging 'configure'. -`--help' - Print a summary of the options to `configure', and exit. +'--help' + Print a summary of the options to 'configure', and exit. -`--quiet' -`--silent' -`-q' +'--quiet' +'--silent' +'-q' Do not print messages saying which checks are being made. -`--srcdir=DIR' +'--srcdir=DIR' Look for the Bash source code in directory DIR. Usually - `configure' can determine that directory automatically. + 'configure' can determine that directory automatically. -`--version' - Print the version of Autoconf used to generate the `configure' +'--version' + Print the version of Autoconf used to generate the 'configure' script, and exit. - `configure' also accepts some other, not widely used, boilerplate -options. `configure --help' prints the complete list. + 'configure' also accepts some other, not widely used, boilerplate +options. 'configure --help' prints the complete list.  File: bashref.info, Node: Optional Features, Prev: Operation Controls, Up: Installing Bash @@ -9394,248 +9480,253 @@ File: bashref.info, Node: Optional Features, Prev: Operation Controls, Up: In 10.8 Optional Features ====================== -The Bash `configure' has a number of `--enable-FEATURE' options, where +The Bash 'configure' has a number of '--enable-FEATURE' options, where FEATURE indicates an optional part of Bash. There are also several -`--with-PACKAGE' options, where PACKAGE is something like `bash-malloc' -or `purify'. To turn off the default use of a package, use -`--without-PACKAGE'. To configure Bash without a feature that is -enabled by default, use `--disable-FEATURE'. +'--with-PACKAGE' options, where PACKAGE is something like 'bash-malloc' +or 'purify'. To turn off the default use of a package, use +'--without-PACKAGE'. To configure Bash without a feature that is +enabled by default, use '--disable-FEATURE'. - Here is a complete list of the `--enable-' and `--with-' options -that the Bash `configure' recognizes. + Here is a complete list of the '--enable-' and '--with-' options that +the Bash 'configure' recognizes. -`--with-afs' +'--with-afs' Define if you are using the Andrew File System from Transarc. -`--with-bash-malloc' - Use the Bash version of `malloc' in the directory `lib/malloc'. - This is not the same `malloc' that appears in GNU libc, but an - older version originally derived from the 4.2 BSD `malloc'. This - `malloc' is very fast, but wastes some space on each allocation. - This option is enabled by default. The `NOTES' file contains a +'--with-bash-malloc' + Use the Bash version of 'malloc' in the directory 'lib/malloc'. + This is not the same 'malloc' that appears in GNU libc, but an + older version originally derived from the 4.2 BSD 'malloc'. This + 'malloc' is very fast, but wastes some space on each allocation. + This option is enabled by default. The 'NOTES' file contains a list of systems for which this should be turned off, and - `configure' disables this option automatically for a number of + 'configure' disables this option automatically for a number of systems. -`--with-curses' +'--with-curses' Use the curses library instead of the termcap library. This should be supplied if your system has an inadequate or incomplete termcap database. -`--with-gnu-malloc' - A synonym for `--with-bash-malloc'. +'--with-gnu-malloc' + A synonym for '--with-bash-malloc'. -`--with-installed-readline[=PREFIX]' +'--with-installed-readline[=PREFIX]' Define this to make Bash link with a locally-installed version of - Readline rather than the version in `lib/readline'. This works - only with Readline 5.0 and later versions. If PREFIX is `yes' or - not supplied, `configure' uses the values of the make variables - `includedir' and `libdir', which are subdirectories of `prefix' by + Readline rather than the version in 'lib/readline'. This works + only with Readline 5.0 and later versions. If PREFIX is 'yes' or + not supplied, 'configure' uses the values of the make variables + 'includedir' and 'libdir', which are subdirectories of 'prefix' by default, to find the installed version of Readline if it is not in the standard system include and library directories. If PREFIX is - `no', Bash links with the version in `lib/readline'. If PREFIX is - set to any other value, `configure' treats it as a directory + 'no', Bash links with the version in 'lib/readline'. If PREFIX is + set to any other value, 'configure' treats it as a directory pathname and looks for the installed version of Readline in - subdirectories of that directory (include files in - PREFIX/`include' and the library in PREFIX/`lib'). + subdirectories of that directory (include files in PREFIX/'include' + and the library in PREFIX/'lib'). -`--with-purify' +'--with-purify' Define this to use the Purify memory allocation checker from Rational Software. -`--enable-minimal-config' +'--enable-minimal-config' This produces a shell with minimal features, close to the historical Bourne shell. - There are several `--enable-' options that alter how Bash is -compiled and linked, rather than changing run-time features. + There are several '--enable-' options that alter how Bash is compiled +and linked, rather than changing run-time features. -`--enable-largefile' +'--enable-largefile' Enable support for large files (http://www.sas.com/standards/large_file/x_open.20Mar96.html) if the operating system requires special compiler options to build - programs which can access large files. This is enabled by - default, if the operating system provides large file support. + programs which can access large files. This is enabled by default, + if the operating system provides large file support. -`--enable-profiling' +'--enable-profiling' This builds a Bash binary that produces profiling information to be - processed by `gprof' each time it is executed. + processed by 'gprof' each time it is executed. -`--enable-static-link' - This causes Bash to be linked statically, if `gcc' is being used. +'--enable-static-link' + This causes Bash to be linked statically, if 'gcc' is being used. This could be used to build a version to use as root's shell. - The `minimal-config' option can be used to disable all of the + The 'minimal-config' option can be used to disable all of the following options, but it is processed first, so individual options may -be enabled using `enable-FEATURE'. +be enabled using 'enable-FEATURE'. - All of the following options except for `disabled-builtins', -`directpand-default', and `xpg-echo-default' are enabled by default, + All of the following options except for 'disabled-builtins', +'direxpand-default', and 'xpg-echo-default' are enabled by default, unless the operating system does not provide the necessary support. -`--enable-alias' - Allow alias expansion and include the `alias' and `unalias' +'--enable-alias' + Allow alias expansion and include the 'alias' and 'unalias' builtins (*note Aliases::). -`--enable-arith-for-command' - Include support for the alternate form of the `for' command that - behaves like the C language `for' statement (*note Looping +'--enable-arith-for-command' + Include support for the alternate form of the 'for' command that + behaves like the C language 'for' statement (*note Looping Constructs::). -`--enable-array-variables' +'--enable-array-variables' Include support for one-dimensional array shell variables (*note Arrays::). -`--enable-bang-history' - Include support for `csh'-like history substitution (*note History +'--enable-bang-history' + Include support for 'csh'-like history substitution (*note History Interaction::). -`--enable-brace-expansion' - Include `csh'-like brace expansion ( `b{a,b}c' ==> `bac bbc' ). +'--enable-brace-expansion' + Include 'csh'-like brace expansion ( 'b{a,b}c' ==> 'bac bbc' ). See *note Brace Expansion::, for a complete description. -`--enable-casemod-attributes' - Include support for case-modifying attributes in the `declare' +'--enable-casemod-attributes' + Include support for case-modifying attributes in the 'declare' builtin and assignment statements. Variables with the UPPERCASE attribute, for example, will have their values converted to uppercase upon assignment. -`--enable-casemod-expansion' +'--enable-casemod-expansion' Include support for case-modifying word expansions. -`--enable-command-timing' - Include support for recognizing `time' as a reserved word and for - displaying timing statistics for the pipeline following `time' +'--enable-command-timing' + Include support for recognizing 'time' as a reserved word and for + displaying timing statistics for the pipeline following 'time' (*note Pipelines::). This allows pipelines as well as shell builtins and functions to be timed. -`--enable-cond-command' - Include support for the `[[' conditional command. (*note +'--enable-cond-command' + Include support for the '[[' conditional command. (*note Conditional Constructs::). -`--enable-cond-regexp' +'--enable-cond-regexp' Include support for matching POSIX regular expressions using the - `=~' binary operator in the `[[' conditional command. (*note + '=~' binary operator in the '[[' conditional command. (*note Conditional Constructs::). -`--enable-coprocesses' - Include support for coprocesses and the `coproc' reserved word +'--enable-coprocesses' + Include support for coprocesses and the 'coproc' reserved word (*note Pipelines::). -`--enable-debugger' +'--enable-debugger' Include support for the bash debugger (distributed separately). -`--enable-direxpand-default' - Cause the `direxpand' shell option (*note The Shopt Builtin::) to +'--enable-direxpand-default' + Cause the 'direxpand' shell option (*note The Shopt Builtin::) to be enabled by default when the shell starts. It is normally disabled by default. -`--enable-directory-stack' - Include support for a `csh'-like directory stack and the `pushd', - `popd', and `dirs' builtins (*note The Directory Stack::). +'--enable-directory-stack' + Include support for a 'csh'-like directory stack and the 'pushd', + 'popd', and 'dirs' builtins (*note The Directory Stack::). -`--enable-disabled-builtins' - Allow builtin commands to be invoked via `builtin xxx' even after - `xxx' has been disabled using `enable -n xxx'. See *note Bash - Builtins::, for details of the `builtin' and `enable' builtin +'--enable-disabled-builtins' + Allow builtin commands to be invoked via 'builtin xxx' even after + 'xxx' has been disabled using 'enable -n xxx'. See *note Bash + Builtins::, for details of the 'builtin' and 'enable' builtin commands. -`--enable-dparen-arithmetic' - Include support for the `((...))' command (*note Conditional +'--enable-dparen-arithmetic' + Include support for the '((...))' command (*note Conditional Constructs::). -`--enable-extended-glob' +'--enable-extended-glob' Include support for the extended pattern matching features described above under *note Pattern Matching::. -`--enable-extended-glob-default' +'--enable-extended-glob-default' Set the default value of the EXTGLOB shell option described above under *note The Shopt Builtin:: to be enabled. -`--enable-glob-asciirange-default' +'--enable-function-import' + Include support for importing function definitions exported by + another instance of the shell from the environment. This option is + enabled by default. + +'--enable-glob-asciirange-default' Set the default value of the GLOBASCIIRANGES shell option described - above under *note The Shopt Builtin:: to be enabled. This - controls the behavior of character ranges when used in pattern - matching bracket expressions. + above under *note The Shopt Builtin:: to be enabled. This controls + the behavior of character ranges when used in pattern matching + bracket expressions. -`--enable-help-builtin' - Include the `help' builtin, which displays help on shell builtins +'--enable-help-builtin' + Include the 'help' builtin, which displays help on shell builtins and variables (*note Bash Builtins::). -`--enable-history' - Include command history and the `fc' and `history' builtin - commands (*note Bash History Facilities::). +'--enable-history' + Include command history and the 'fc' and 'history' builtin commands + (*note Bash History Facilities::). -`--enable-job-control' - This enables the job control features (*note Job Control::), if - the operating system supports them. +'--enable-job-control' + This enables the job control features (*note Job Control::), if the + operating system supports them. -`--enable-multibyte' +'--enable-multibyte' This enables support for multibyte characters if the operating system provides the necessary support. -`--enable-net-redirections' +'--enable-net-redirections' This enables the special handling of filenames of the form - `/dev/tcp/HOST/PORT' and `/dev/udp/HOST/PORT' when used in + '/dev/tcp/HOST/PORT' and '/dev/udp/HOST/PORT' when used in redirections (*note Redirections::). -`--enable-process-substitution' +'--enable-process-substitution' This enables process substitution (*note Process Substitution::) if the operating system provides the necessary support. -`--enable-progcomp' +'--enable-progcomp' Enable the programmable completion facilities (*note Programmable Completion::). If Readline is not enabled, this option has no effect. -`--enable-prompt-string-decoding' +'--enable-prompt-string-decoding' Turn on the interpretation of a number of backslash-escaped - characters in the `$PS1', `$PS2', `$PS3', and `$PS4' prompt + characters in the '$PS1', '$PS2', '$PS3', and '$PS4' prompt strings. See *note Controlling the Prompt::, for a complete list of prompt string escape sequences. -`--enable-readline' +'--enable-readline' Include support for command-line editing and history with the Bash version of the Readline library (*note Command Line Editing::). -`--enable-restricted' +'--enable-restricted' Include support for a "restricted shell". If this is enabled, - Bash, when called as `rbash', enters a restricted mode. See *note + Bash, when called as 'rbash', enters a restricted mode. See *note The Restricted Shell::, for a description of restricted mode. -`--enable-select' - Include the `select' compound command, which allows the generation +'--enable-select' + Include the 'select' compound command, which allows the generation of simple menus (*note Conditional Constructs::). -`--enable-separate-helpfiles' - Use external files for the documentation displayed by the `help' +'--enable-separate-helpfiles' + Use external files for the documentation displayed by the 'help' builtin instead of storing the text internally. -`--enable-single-help-strings' - Store the text displayed by the `help' builtin as a single string +'--enable-single-help-strings' + Store the text displayed by the 'help' builtin as a single string for each help topic. This aids in translating the text to - different languages. You may need to disable this if your - compiler cannot handle very long string literals. + different languages. You may need to disable this if your compiler + cannot handle very long string literals. -`--enable-strict-posix-default' +'--enable-strict-posix-default' Make Bash POSIX-conformant by default (*note Bash POSIX Mode::). -`--enable-usg-echo-default' - A synonym for `--enable-xpg-echo-default'. +'--enable-usg-echo-default' + A synonym for '--enable-xpg-echo-default'. -`--enable-xpg-echo-default' - Make the `echo' builtin expand backslash-escaped characters by - default, without requiring the `-e' option. This sets the default - value of the `xpg_echo' shell option to `on', which makes the Bash - `echo' behave more like the version specified in the Single Unix - Specification, version 3. *Note Bash Builtins::, for a - description of the escape sequences that `echo' recognizes. +'--enable-xpg-echo-default' + Make the 'echo' builtin expand backslash-escaped characters by + default, without requiring the '-e' option. This sets the default + value of the 'xpg_echo' shell option to 'on', which makes the Bash + 'echo' behave more like the version specified in the Single Unix + Specification, version 3. *Note Bash Builtins::, for a description + of the escape sequences that 'echo' recognizes. - The file `config-top.h' contains C Preprocessor `#define' statements -for options which are not settable from `configure'. Some of these are -not meant to be changed; beware of the consequences if you do. Read -the comments associated with each definition for more information about -its effect. + The file 'config-top.h' contains C Preprocessor '#define' statements +for options which are not settable from 'configure'. Some of these are +not meant to be changed; beware of the consequences if you do. Read the +comments associated with each definition for more information about its +effect.  File: bashref.info, Node: Reporting Bugs, Next: Major Differences From The Bourne Shell, Prev: Installing Bash, Up: Top @@ -9646,27 +9737,23 @@ Appendix A Reporting Bugs Please report all bugs you find in Bash. But first, you should make sure that it really is a bug, and that it appears in the latest version of Bash. The latest version of Bash is always available for FTP from -`ftp://ftp.gnu.org/pub/gnu/bash/'. +. Once you have determined that a bug actually exists, use the -`bashbug' command to submit a bug report. If you have a fix, you are -encouraged to mail that as well! Suggestions and `philosophical' bug +'bashbug' command to submit a bug report. If you have a fix, you are +encouraged to mail that as well! Suggestions and 'philosophical' bug reports may be mailed to or posted to the Usenet -newsgroup `gnu.bash.bug'. +newsgroup 'gnu.bash.bug'. All bug reports should include: * The version number of Bash. - * The hardware and operating system. - * The compiler used to compile Bash. - * A description of the bug behaviour. - - * A short script or `recipe' which exercises the bug and may be used + * A short script or 'recipe' which exercises the bug and may be used to reproduce it. -`bashbug' inserts the first three items automatically into the template +'bashbug' inserts the first three items automatically into the template it provides for filing a bug report. Please send all reports concerning this manual to . @@ -9683,29 +9770,29 @@ POSIX standard as the specification of how these features are to be implemented. There are some differences between the traditional Bourne shell and Bash; this section quickly details the differences of significance. A number of these differences are explained in greater -depth in previous sections. This section uses the version of `sh' +depth in previous sections. This section uses the version of 'sh' included in SVR4.2 (the last version of the historical Bourne shell) as the baseline reference. * Bash is POSIX-conformant, even where the POSIX specification - differs from traditional `sh' behavior (*note Bash POSIX Mode::). + differs from traditional 'sh' behavior (*note Bash POSIX Mode::). * Bash has multi-character invocation options (*note Invoking Bash::). * Bash has command-line editing (*note Command Line Editing::) and - the `bind' builtin. + the 'bind' builtin. * Bash provides a programmable word completion mechanism (*note - Programmable Completion::), and builtin commands `complete', - `compgen', and `compopt', to manipulate it. + Programmable Completion::), and builtin commands 'complete', + 'compgen', and 'compopt', to manipulate it. * Bash has command history (*note Bash History Facilities::) and the - `history' and `fc' builtins to manipulate it. The Bash history + 'history' and 'fc' builtins to manipulate it. The Bash history list maintains timestamp information and uses the value of the - `HISTTIMEFORMAT' variable to display it. + 'HISTTIMEFORMAT' variable to display it. - * Bash implements `csh'-like history expansion (*note History + * Bash implements 'csh'-like history expansion (*note History Interaction::). * Bash has one-dimensional array variables (*note Arrays::), and the @@ -9713,133 +9800,133 @@ the baseline reference. Several of the Bash builtins take options to act on arrays. Bash provides a number of built-in array variables. - * The `$'...'' quoting syntax, which expands ANSI-C - backslash-escaped characters in the text between the single quotes, - is supported (*note ANSI-C Quoting::). + * The '$'...'' quoting syntax, which expands ANSI-C backslash-escaped + characters in the text between the single quotes, is supported + (*note ANSI-C Quoting::). - * Bash supports the `$"..."' quoting syntax to do locale-specific - translation of the characters between the double quotes. The - `-D', `--dump-strings', and `--dump-po-strings' invocation options - list the translatable strings found in a script (*note Locale + * Bash supports the '$"..."' quoting syntax to do locale-specific + translation of the characters between the double quotes. The '-D', + '--dump-strings', and '--dump-po-strings' invocation options list + the translatable strings found in a script (*note Locale Translation::). - * Bash implements the `!' keyword to negate the return value of a - pipeline (*note Pipelines::). Very useful when an `if' statement - needs to act only if a test fails. The Bash `-o pipefail' option - to `set' will cause a pipeline to return a failure status if any + * Bash implements the '!' keyword to negate the return value of a + pipeline (*note Pipelines::). Very useful when an 'if' statement + needs to act only if a test fails. The Bash '-o pipefail' option + to 'set' will cause a pipeline to return a failure status if any command fails. - * Bash has the `time' reserved word and command timing (*note + * Bash has the 'time' reserved word and command timing (*note Pipelines::). The display of the timing statistics may be - controlled with the `TIMEFORMAT' variable. + controlled with the 'TIMEFORMAT' variable. - * Bash implements the `for (( EXPR1 ; EXPR2 ; EXPR3 ))' arithmetic + * Bash implements the 'for (( EXPR1 ; EXPR2 ; EXPR3 ))' arithmetic for command, similar to the C language (*note Looping Constructs::). - * Bash includes the `select' compound command, which allows the + * Bash includes the 'select' compound command, which allows the generation of simple menus (*note Conditional Constructs::). - * Bash includes the `[[' compound command, which makes conditional - testing part of the shell grammar (*note Conditional - Constructs::), including optional regular expression matching. + * Bash includes the '[[' compound command, which makes conditional + testing part of the shell grammar (*note Conditional Constructs::), + including optional regular expression matching. - * Bash provides optional case-insensitive matching for the `case' and - `[[' constructs. + * Bash provides optional case-insensitive matching for the 'case' and + '[[' constructs. * Bash includes brace expansion (*note Brace Expansion::) and tilde expansion (*note Tilde Expansion::). - * Bash implements command aliases and the `alias' and `unalias' + * Bash implements command aliases and the 'alias' and 'unalias' builtins (*note Aliases::). - * Bash provides shell arithmetic, the `((' compound command (*note + * Bash provides shell arithmetic, the '((' compound command (*note Conditional Constructs::), and arithmetic expansion (*note Shell Arithmetic::). * Variables present in the shell's initial environment are automatically exported to child processes. The Bourne shell does not normally do this unless the variables are explicitly marked - using the `export' command. + using the 'export' command. - * Bash supports the `+=' assignment operator, which appends to the + * Bash supports the '+=' assignment operator, which appends to the value of the variable named on the left hand side. - * Bash includes the POSIX pattern removal `%', `#', `%%' and `##' + * Bash includes the POSIX pattern removal '%', '#', '%%' and '##' expansions to remove leading or trailing substrings from variable values (*note Shell Parameter Expansion::). - * The expansion `${#xx}', which returns the length of `${xx}', is + * The expansion '${#xx}', which returns the length of '${xx}', is supported (*note Shell Parameter Expansion::). - * The expansion `${var:'OFFSET`[:'LENGTH`]}', which expands to the - substring of `var''s value of length LENGTH, beginning at OFFSET, + * The expansion '${var:'OFFSET'[:'LENGTH']}', which expands to the + substring of 'var''s value of length LENGTH, beginning at OFFSET, is present (*note Shell Parameter Expansion::). - * The expansion `${var/[/]'PATTERN`[/'REPLACEMENT`]}', which matches - PATTERN and replaces it with REPLACEMENT in the value of `var', is + * The expansion '${var/[/]'PATTERN'[/'REPLACEMENT']}', which matches + PATTERN and replaces it with REPLACEMENT in the value of 'var', is available (*note Shell Parameter Expansion::). - * The expansion `${!PREFIX*}' expansion, which expands to the names + * The expansion '${!PREFIX*}' expansion, which expands to the names of all shell variables whose names begin with PREFIX, is available (*note Shell Parameter Expansion::). - * Bash has INDIRECT variable expansion using `${!word}' (*note Shell + * Bash has INDIRECT variable expansion using '${!word}' (*note Shell Parameter Expansion::). - * Bash can expand positional parameters beyond `$9' using `${NUM}'. + * Bash can expand positional parameters beyond '$9' using '${NUM}'. - * The POSIX `$()' form of command substitution is implemented (*note - Command Substitution::), and preferred to the Bourne shell's ```' + * The POSIX '$()' form of command substitution is implemented (*note + Command Substitution::), and preferred to the Bourne shell's '``' (which is also implemented for backwards compatibility). * Bash has process substitution (*note Process Substitution::). - * Bash automatically assigns variables that provide information - about the current user (`UID', `EUID', and `GROUPS'), the current - host (`HOSTTYPE', `OSTYPE', `MACHTYPE', and `HOSTNAME'), and the - instance of Bash that is running (`BASH', `BASH_VERSION', and - `BASH_VERSINFO'). *Note Bash Variables::, for details. + * Bash automatically assigns variables that provide information about + the current user ('UID', 'EUID', and 'GROUPS'), the current host + ('HOSTTYPE', 'OSTYPE', 'MACHTYPE', and 'HOSTNAME'), and the + instance of Bash that is running ('BASH', 'BASH_VERSION', and + 'BASH_VERSINFO'). *Note Bash Variables::, for details. - * The `IFS' variable is used to split only the results of expansion, - not all words (*note Word Splitting::). This closes a - longstanding shell security hole. + * The 'IFS' variable is used to split only the results of expansion, + not all words (*note Word Splitting::). This closes a longstanding + shell security hole. - * The filename expansion bracket expression code uses `!' and `^' to + * The filename expansion bracket expression code uses '!' and '^' to negate the set of characters between the brackets. The Bourne - shell uses only `!'. + shell uses only '!'. * Bash implements the full set of POSIX filename expansion operators, including CHARACTER CLASSES, EQUIVALENCE CLASSES, and COLLATING SYMBOLS (*note Filename Expansion::). * Bash implements extended pattern matching features when the - `extglob' shell option is enabled (*note Pattern Matching::). + 'extglob' shell option is enabled (*note Pattern Matching::). * It is possible to have a variable and a function with the same - name; `sh' does not separate the two name spaces. + name; 'sh' does not separate the two name spaces. * Bash functions are permitted to have local variables using the - `local' builtin, and thus useful recursive functions may be written + 'local' builtin, and thus useful recursive functions may be written (*note Bash Builtins::). * Variable assignments preceding commands affect only that command, - even builtins and functions (*note Environment::). In `sh', all + even builtins and functions (*note Environment::). In 'sh', all variable assignments preceding commands are global unless the command is executed from the file system. * Bash performs filename expansion on filenames specified as operands to input and output redirection operators (*note Redirections::). - * Bash contains the `<>' redirection operator, allowing a file to be - opened for both reading and writing, and the `&>' redirection + * Bash contains the '<>' redirection operator, allowing a file to be + opened for both reading and writing, and the '&>' redirection operator, for directing standard output and standard error to the same file (*note Redirections::). - * Bash includes the `<<<' redirection operator, allowing a string to + * Bash includes the '<<<' redirection operator, allowing a string to be used as the standard input to a command. - * Bash implements the `[n]<&WORD' and `[n]>&WORD' redirection + * Bash implements the '[n]<&WORD' and '[n]>&WORD' redirection operators, which move one file descriptor to another. * Bash treats a number of filenames specially when they are used in @@ -9848,127 +9935,126 @@ the baseline reference. * Bash can open network connections to arbitrary machines and services with the redirection operators (*note Redirections::). - * The `noclobber' option is available to avoid overwriting existing - files with output redirection (*note The Set Builtin::). The `>|' - redirection operator may be used to override `noclobber'. + * The 'noclobber' option is available to avoid overwriting existing + files with output redirection (*note The Set Builtin::). The '>|' + redirection operator may be used to override 'noclobber'. - * The Bash `cd' and `pwd' builtins (*note Bourne Shell Builtins::) - each take `-L' and `-P' options to switch between logical and + * The Bash 'cd' and 'pwd' builtins (*note Bourne Shell Builtins::) + each take '-L' and '-P' options to switch between logical and physical modes. * Bash allows a function to override a builtin with the same name, and provides access to that builtin's functionality within the - function via the `builtin' and `command' builtins (*note Bash + function via the 'builtin' and 'command' builtins (*note Bash Builtins::). - * The `command' builtin allows selective disabling of functions when + * The 'command' builtin allows selective disabling of functions when command lookup is performed (*note Bash Builtins::). - * Individual builtins may be enabled or disabled using the `enable' + * Individual builtins may be enabled or disabled using the 'enable' builtin (*note Bash Builtins::). - * The Bash `exec' builtin takes additional options that allow users + * The Bash 'exec' builtin takes additional options that allow users to control the contents of the environment passed to the executed command, and what the zeroth argument to the command is to be (*note Bourne Shell Builtins::). * Shell functions may be exported to children via the environment - using `export -f' (*note Shell Functions::). + using 'export -f' (*note Shell Functions::). - * The Bash `export', `readonly', and `declare' builtins can take a - `-f' option to act on shell functions, a `-p' option to display + * The Bash 'export', 'readonly', and 'declare' builtins can take a + '-f' option to act on shell functions, a '-p' option to display variables with various attributes set in a format that can be used - as shell input, a `-n' option to remove various variable - attributes, and `name=value' arguments to set variable attributes + as shell input, a '-n' option to remove various variable + attributes, and 'name=value' arguments to set variable attributes and values simultaneously. - * The Bash `hash' builtin allows a name to be associated with an + * The Bash 'hash' builtin allows a name to be associated with an arbitrary filename, even when that filename cannot be found by - searching the `$PATH', using `hash -p' (*note Bourne Shell + searching the '$PATH', using 'hash -p' (*note Bourne Shell Builtins::). - * Bash includes a `help' builtin for quick reference to shell + * Bash includes a 'help' builtin for quick reference to shell facilities (*note Bash Builtins::). - * The `printf' builtin is available to display formatted output + * The 'printf' builtin is available to display formatted output (*note Bash Builtins::). - * The Bash `read' builtin (*note Bash Builtins::) will read a line - ending in `\' with the `-r' option, and will use the `REPLY' - variable as a default if no non-option arguments are supplied. - The Bash `read' builtin also accepts a prompt string with the `-p' - option and will use Readline to obtain the line when given the - `-e' option. The `read' builtin also has additional options to - control input: the `-s' option will turn off echoing of input - characters as they are read, the `-t' option will allow `read' to - time out if input does not arrive within a specified number of - seconds, the `-n' option will allow reading only a specified - number of characters rather than a full line, and the `-d' option - will read until a particular character rather than newline. - - * The `return' builtin may be used to abort execution of scripts - executed with the `.' or `source' builtins (*note Bourne Shell + * The Bash 'read' builtin (*note Bash Builtins::) will read a line + ending in '\' with the '-r' option, and will use the 'REPLY' + variable as a default if no non-option arguments are supplied. The + Bash 'read' builtin also accepts a prompt string with the '-p' + option and will use Readline to obtain the line when given the '-e' + option. The 'read' builtin also has additional options to control + input: the '-s' option will turn off echoing of input characters as + they are read, the '-t' option will allow 'read' to time out if + input does not arrive within a specified number of seconds, the + '-n' option will allow reading only a specified number of + characters rather than a full line, and the '-d' option will read + until a particular character rather than newline. + + * The 'return' builtin may be used to abort execution of scripts + executed with the '.' or 'source' builtins (*note Bourne Shell Builtins::). - * Bash includes the `shopt' builtin, for finer control of shell - optional capabilities (*note The Shopt Builtin::), and allows - these options to be set and unset at shell invocation (*note - Invoking Bash::). + * Bash includes the 'shopt' builtin, for finer control of shell + optional capabilities (*note The Shopt Builtin::), and allows these + options to be set and unset at shell invocation (*note Invoking + Bash::). - * Bash has much more optional behavior controllable with the `set' + * Bash has much more optional behavior controllable with the 'set' builtin (*note The Set Builtin::). - * The `-x' (`xtrace') option displays commands other than simple + * The '-x' ('xtrace') option displays commands other than simple commands when performing an execution trace (*note The Set Builtin::). - * The `test' builtin (*note Bourne Shell Builtins::) is slightly + * The 'test' builtin (*note Bourne Shell Builtins::) is slightly different, as it implements the POSIX algorithm, which specifies the behavior based on the number of arguments. - * Bash includes the `caller' builtin, which displays the context of + * Bash includes the 'caller' builtin, which displays the context of any active subroutine call (a shell function or a script executed - with the `.' or `source' builtins). This supports the bash + with the '.' or 'source' builtins). This supports the bash debugger. - * The `trap' builtin (*note Bourne Shell Builtins::) allows a - `DEBUG' pseudo-signal specification, similar to `EXIT'. Commands - specified with a `DEBUG' trap are executed before every simple - command, `for' command, `case' command, `select' command, every - arithmetic `for' command, and before the first command executes in - a shell function. The `DEBUG' trap is not inherited by shell - functions unless the function has been given the `trace' attribute - or the `functrace' option has been enabled using the `shopt' - builtin. The `extdebug' shell option has additional effects on the - `DEBUG' trap. - - The `trap' builtin (*note Bourne Shell Builtins::) allows an `ERR' - pseudo-signal specification, similar to `EXIT' and `DEBUG'. - Commands specified with an `ERR' trap are executed after a simple - command fails, with a few exceptions. The `ERR' trap is not - inherited by shell functions unless the `-o errtrace' option to - the `set' builtin is enabled. - - The `trap' builtin (*note Bourne Shell Builtins::) allows a - `RETURN' pseudo-signal specification, similar to `EXIT' and - `DEBUG'. Commands specified with an `RETURN' trap are executed + * The 'trap' builtin (*note Bourne Shell Builtins::) allows a 'DEBUG' + pseudo-signal specification, similar to 'EXIT'. Commands specified + with a 'DEBUG' trap are executed before every simple command, 'for' + command, 'case' command, 'select' command, every arithmetic 'for' + command, and before the first command executes in a shell function. + The 'DEBUG' trap is not inherited by shell functions unless the + function has been given the 'trace' attribute or the 'functrace' + option has been enabled using the 'shopt' builtin. The 'extdebug' + shell option has additional effects on the 'DEBUG' trap. + + The 'trap' builtin (*note Bourne Shell Builtins::) allows an 'ERR' + pseudo-signal specification, similar to 'EXIT' and 'DEBUG'. + Commands specified with an 'ERR' trap are executed after a simple + command fails, with a few exceptions. The 'ERR' trap is not + inherited by shell functions unless the '-o errtrace' option to the + 'set' builtin is enabled. + + The 'trap' builtin (*note Bourne Shell Builtins::) allows a + 'RETURN' pseudo-signal specification, similar to 'EXIT' and + 'DEBUG'. Commands specified with an 'RETURN' trap are executed before execution resumes after a shell function or a shell script - executed with `.' or `source' returns. The `RETURN' trap is not - inherited by shell functions unless the function has been given - the `trace' attribute or the `functrace' option has been enabled - using the `shopt' builtin. + executed with '.' or 'source' returns. The 'RETURN' trap is not + inherited by shell functions unless the function has been given the + 'trace' attribute or the 'functrace' option has been enabled using + the 'shopt' builtin. - * The Bash `type' builtin is more extensive and gives more + * The Bash 'type' builtin is more extensive and gives more information about the names it finds (*note Bash Builtins::). - * The Bash `umask' builtin permits a `-p' option to cause the output - to be displayed in the form of a `umask' command that may be - reused as input (*note Bourne Shell Builtins::). + * The Bash 'umask' builtin permits a '-p' option to cause the output + to be displayed in the form of a 'umask' command that may be reused + as input (*note Bourne Shell Builtins::). - * Bash implements a `csh'-like directory stack, and provides the - `pushd', `popd', and `dirs' builtins to manipulate it (*note The - Directory Stack::). Bash also makes the directory stack visible - as the value of the `DIRSTACK' shell variable. + * Bash implements a 'csh'-like directory stack, and provides the + 'pushd', 'popd', and 'dirs' builtins to manipulate it (*note The + Directory Stack::). Bash also makes the directory stack visible as + the value of the 'DIRSTACK' shell variable. * Bash interprets special backslash-escaped characters in the prompt strings when interactive (*note Controlling the Prompt::). @@ -9976,23 +10062,22 @@ the baseline reference. * The Bash restricted mode is more useful (*note The Restricted Shell::); the SVR4.2 shell restricted mode is too limited. - * The `disown' builtin can remove a job from the internal shell job + * The 'disown' builtin can remove a job from the internal shell job table (*note Job Control Builtins::) or suppress the sending of - `SIGHUP' to a job when the shell exits as the result of a `SIGHUP'. + 'SIGHUP' to a job when the shell exits as the result of a 'SIGHUP'. * Bash includes a number of features to support a separate debugger for shell scripts. - * The SVR4.2 shell has two privilege-related builtins (`mldmode' and - `priv') not present in Bash. + * The SVR4.2 shell has two privilege-related builtins ('mldmode' and + 'priv') not present in Bash. - * Bash does not have the `stop' or `newgrp' builtins. + * Bash does not have the 'stop' or 'newgrp' builtins. - * Bash does not use the `SHACCT' variable or perform shell + * Bash does not use the 'SHACCT' variable or perform shell accounting. - * The SVR4.2 `sh' uses a `TIMEOUT' variable like Bash uses `TMOUT'. - + * The SVR4.2 'sh' uses a 'TIMEOUT' variable like Bash uses 'TMOUT'. More features unique to Bash may be found in *note Bash Features::. @@ -10003,40 +10088,40 @@ Since Bash is a completely new implementation, it does not suffer from many of the limitations of the SVR4.2 shell. For instance: * Bash does not fork a subshell when redirecting into or out of a - shell control structure such as an `if' or `while' statement. + shell control structure such as an 'if' or 'while' statement. * Bash does not allow unbalanced quotes. The SVR4.2 shell will - silently insert a needed closing quote at `EOF' under certain + silently insert a needed closing quote at 'EOF' under certain circumstances. This can be the cause of some hard-to-find errors. * The SVR4.2 shell uses a baroque memory management scheme based on - trapping `SIGSEGV'. If the shell is started from a process with - `SIGSEGV' blocked (e.g., by using the `system()' C library - function call), it misbehaves badly. + trapping 'SIGSEGV'. If the shell is started from a process with + 'SIGSEGV' blocked (e.g., by using the 'system()' C library function + call), it misbehaves badly. * In a questionable attempt at security, the SVR4.2 shell, when - invoked without the `-p' option, will alter its real and effective + invoked without the '-p' option, will alter its real and effective UID and GID if they are less than some magic threshold value, commonly 100. This can lead to unexpected results. - * The SVR4.2 shell does not allow users to trap `SIGSEGV', - `SIGALRM', or `SIGCHLD'. + * The SVR4.2 shell does not allow users to trap 'SIGSEGV', 'SIGALRM', + or 'SIGCHLD'. - * The SVR4.2 shell does not allow the `IFS', `MAILCHECK', `PATH', - `PS1', or `PS2' variables to be unset. + * The SVR4.2 shell does not allow the 'IFS', 'MAILCHECK', 'PATH', + 'PS1', or 'PS2' variables to be unset. - * The SVR4.2 shell treats `^' as the undocumented equivalent of `|'. + * The SVR4.2 shell treats '^' as the undocumented equivalent of '|'. - * Bash allows multiple option arguments when it is invoked (`-x -v'); - the SVR4.2 shell allows only one option argument (`-xv'). In - fact, some versions of the shell dump core if the second argument - begins with a `-'. + * Bash allows multiple option arguments when it is invoked ('-x -v'); + the SVR4.2 shell allows only one option argument ('-xv'). In fact, + some versions of the shell dump core if the second argument begins + with a '-'. * The SVR4.2 shell exits a script if any builtin fails; Bash exits a script only if one of the POSIX special builtins fails, and only for certain failures, as enumerated in the POSIX standard. - * The SVR4.2 shell behaves differently when invoked as `jsh' (it + * The SVR4.2 shell behaves differently when invoked as 'jsh' (it turns on job control).  @@ -10048,7 +10133,7 @@ Appendix C GNU Free Documentation License Version 1.3, 3 November 2008 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. - `http://fsf.org/' + Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -10073,21 +10158,21 @@ Appendix C GNU Free Documentation License free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless - of subject matter or whether it is published as a printed book. - We recommend this License principally for works whose purpose is + of subject matter or whether it is published as a printed book. We + recommend this License principally for works whose purpose is instruction or reference. 1. APPLICABILITY AND DEFINITIONS This License applies to any manual or other work, in any medium, - that contains a notice placed by the copyright holder saying it - can be distributed under the terms of this License. Such a notice + that contains a notice placed by the copyright holder saying it can + be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under the conditions stated herein. The "Document", below, refers to any such manual or work. Any member - of the public is a licensee, and is addressed as "you". You - accept the license if you copy, modify or distribute the work in a - way requiring permission under copyright law. + of the public is a licensee, and is addressed as "you". You accept + the license if you copy, modify or distribute the work in a way + requiring permission under copyright law. A "Modified Version" of the Document means any work containing the Document or a portion of it, either copied verbatim, or with @@ -10105,12 +10190,12 @@ Appendix C GNU Free Documentation License regarding them. The "Invariant Sections" are certain Secondary Sections whose - titles are designated, as being those of Invariant Sections, in - the notice that says that the Document is released under this - License. If a section does not fit the above definition of - Secondary then it is not allowed to be designated as Invariant. - The Document may contain zero Invariant Sections. If the Document - does not identify any Invariant Sections then there are none. + titles are designated, as being those of Invariant Sections, in the + notice that says that the Document is released under this License. + If a section does not fit the above definition of Secondary then it + is not allowed to be designated as Invariant. The Document may + contain zero Invariant Sections. If the Document does not identify + any Invariant Sections then there are none. The "Cover Texts" are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice @@ -10121,27 +10206,27 @@ Appendix C GNU Free Documentation License A "Transparent" copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document - straightforwardly with generic text editors or (for images - composed of pixels) generic paint programs or (for drawings) some - widely available drawing editor, and that is suitable for input to - text formatters or for automatic translation to a variety of - formats suitable for input to text formatters. A copy made in an - otherwise Transparent file format whose markup, or absence of - markup, has been arranged to thwart or discourage subsequent - modification by readers is not Transparent. An image format is - not Transparent if used for any substantial amount of text. A - copy that is not "Transparent" is called "Opaque". + straightforwardly with generic text editors or (for images composed + of pixels) generic paint programs or (for drawings) some widely + available drawing editor, and that is suitable for input to text + formatters or for automatic translation to a variety of formats + suitable for input to text formatters. A copy made in an otherwise + Transparent file format whose markup, or absence of markup, has + been arranged to thwart or discourage subsequent modification by + readers is not Transparent. An image format is not Transparent if + used for any substantial amount of text. A copy that is not + "Transparent" is called "Opaque". Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, - SGML or XML using a publicly available DTD, and - standard-conforming simple HTML, PostScript or PDF designed for - human modification. Examples of transparent image formats include - PNG, XCF and JPG. Opaque formats include proprietary formats that - can be read and edited only by proprietary word processors, SGML or - XML for which the DTD and/or processing tools are not generally - available, and the machine-generated HTML, PostScript or PDF - produced by some word processors for output purposes only. + SGML or XML using a publicly available DTD, and standard-conforming + simple HTML, PostScript or PDF designed for human modification. + Examples of transparent image formats include PNG, XCF and JPG. + Opaque formats include proprietary formats that can be read and + edited only by proprietary word processors, SGML or XML for which + the DTD and/or processing tools are not generally available, and + the machine-generated HTML, PostScript or PDF produced by some word + processors for output purposes only. The "Title Page" means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the @@ -10179,8 +10264,8 @@ Appendix C GNU Free Documentation License may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you - distribute a large enough number of copies you must also follow - the conditions in section 3. + distribute a large enough number of copies you must also follow the + conditions in section 3. You may also lend copies, under the same conditions stated above, and you may publicly display copies. @@ -10194,12 +10279,11 @@ Appendix C GNU Free Documentation License these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The - front cover must present the full title with all words of the - title equally prominent and visible. You may add other material - on the covers in addition. Copying with changes limited to the - covers, as long as they preserve the title of the Document and - satisfy these conditions, can be treated as verbatim copying in - other respects. + front cover must present the full title with all words of the title + equally prominent and visible. You may add other material on the + covers in addition. Copying with changes limited to the covers, as + long as they preserve the title of the Document and satisfy these + conditions, can be treated as verbatim copying in other respects. If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit @@ -10207,40 +10291,39 @@ Appendix C GNU Free Documentation License adjacent pages. If you publish or distribute Opaque copies of the Document - numbering more than 100, you must either include a - machine-readable Transparent copy along with each Opaque copy, or - state in or with each Opaque copy a computer-network location from - which the general network-using public has access to download - using public-standard network protocols a complete Transparent - copy of the Document, free of added material. If you use the - latter option, you must take reasonably prudent steps, when you - begin distribution of Opaque copies in quantity, to ensure that - this Transparent copy will remain thus accessible at the stated - location until at least one year after the last time you - distribute an Opaque copy (directly or through your agents or - retailers) of that edition to the public. + numbering more than 100, you must either include a machine-readable + Transparent copy along with each Opaque copy, or state in or with + each Opaque copy a computer-network location from which the general + network-using public has access to download using public-standard + network protocols a complete Transparent copy of the Document, free + of added material. If you use the latter option, you must take + reasonably prudent steps, when you begin distribution of Opaque + copies in quantity, to ensure that this Transparent copy will + remain thus accessible at the stated location until at least one + year after the last time you distribute an Opaque copy (directly or + through your agents or retailers) of that edition to the public. It is requested, but not required, that you contact the authors of - the Document well before redistributing any large number of - copies, to give them a chance to provide you with an updated - version of the Document. + the Document well before redistributing any large number of copies, + to give them a chance to provide you with an updated version of the + Document. 4. MODIFICATIONS You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you - release the Modified Version under precisely this License, with - the Modified Version filling the role of the Document, thus - licensing distribution and modification of the Modified Version to - whoever possesses a copy of it. In addition, you must do these - things in the Modified Version: + release the Modified Version under precisely this License, with the + Modified Version filling the role of the Document, thus licensing + distribution and modification of the Modified Version to whoever + possesses a copy of it. In addition, you must do these things in + the Modified Version: A. Use in the Title Page (and on the covers, if any) a title - distinct from that of the Document, and from those of - previous versions (which should, if there were any, be listed - in the History section of the Document). You may use the - same title as a previous version if the original publisher of - that version gives permission. + distinct from that of the Document, and from those of previous + versions (which should, if there were any, be listed in the + History section of the Document). You may use the same title + as a previous version if the original publisher of that + version gives permission. B. List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in @@ -10270,31 +10353,30 @@ Appendix C GNU Free Documentation License I. Preserve the section Entitled "History", Preserve its Title, and add to it an item stating at least the title, year, new - authors, and publisher of the Modified Version as given on - the Title Page. If there is no section Entitled "History" in - the Document, create one stating the title, year, authors, - and publisher of the Document as given on its Title Page, - then add an item describing the Modified Version as stated in - the previous sentence. + authors, and publisher of the Modified Version as given on the + Title Page. If there is no section Entitled "History" in the + Document, create one stating the title, year, authors, and + publisher of the Document as given on its Title Page, then add + an item describing the Modified Version as stated in the + previous sentence. J. Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for - previous versions it was based on. These may be placed in - the "History" section. You may omit a network location for a - work that was published at least four years before the - Document itself, or if the original publisher of the version - it refers to gives permission. + previous versions it was based on. These may be placed in the + "History" section. You may omit a network location for a work + that was published at least four years before the Document + itself, or if the original publisher of the version it refers + to gives permission. K. For any section Entitled "Acknowledgements" or "Dedications", - Preserve the Title of the section, and preserve in the - section all the substance and tone of each of the contributor + Preserve the Title of the section, and preserve in the section + all the substance and tone of each of the contributor acknowledgements and/or dedications given therein. - L. Preserve all the Invariant Sections of the Document, - unaltered in their text and in their titles. Section numbers - or the equivalent are not considered part of the section - titles. + L. Preserve all the Invariant Sections of the Document, unaltered + in their text and in their titles. Section numbers or the + equivalent are not considered part of the section titles. M. Delete any section Entitled "Endorsements". Such a section may not be included in the Modified Version. @@ -10307,11 +10389,11 @@ Appendix C GNU Free Documentation License If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no - material copied from the Document, you may at your option - designate some or all of these sections as invariant. To do this, - add their titles to the list of Invariant Sections in the Modified - Version's license notice. These titles must be distinct from any - other section titles. + material copied from the Document, you may at your option designate + some or all of these sections as invariant. To do this, add their + titles to the list of Invariant Sections in the Modified Version's + license notice. These titles must be distinct from any other + section titles. You may add a section Entitled "Endorsements", provided it contains nothing but endorsements of your Modified Version by various @@ -10320,15 +10402,15 @@ Appendix C GNU Free Documentation License definition of a standard. You may add a passage of up to five words as a Front-Cover Text, - and a passage of up to 25 words as a Back-Cover Text, to the end - of the list of Cover Texts in the Modified Version. Only one - passage of Front-Cover Text and one of Back-Cover Text may be - added by (or through arrangements made by) any one entity. If the - Document already includes a cover text for the same cover, - previously added by you or by arrangement made by the same entity - you are acting on behalf of, you may not add another; but you may - replace the old one, on explicit permission from the previous - publisher that added the old one. + and a passage of up to 25 words as a Back-Cover Text, to the end of + the list of Cover Texts in the Modified Version. Only one passage + of Front-Cover Text and one of Back-Cover Text may be added by (or + through arrangements made by) any one entity. If the Document + already includes a cover text for the same cover, previously added + by you or by arrangement made by the same entity you are acting on + behalf of, you may not add another; but you may replace the old + one, on explicit permission from the previous publisher that added + the old one. The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to @@ -10338,8 +10420,8 @@ Appendix C GNU Free Documentation License You may combine the Document with other documents released under this License, under the terms defined in section 4 above for - modified versions, provided that you include in the combination - all of the Invariant Sections of all of the original documents, + modified versions, provided that you include in the combination all + of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers. @@ -10366,20 +10448,20 @@ Appendix C GNU Free Documentation License documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the - rules of this License for verbatim copying of each of the - documents in all other respects. + rules of this License for verbatim copying of each of the documents + in all other respects. You may extract a single document from such a collection, and distribute it individually under this License, provided you insert - a copy of this License into the extracted document, and follow - this License in all other respects regarding verbatim copying of - that document. + a copy of this License into the extracted document, and follow this + License in all other respects regarding verbatim copying of that + document. 7. AGGREGATION WITH INDEPENDENT WORKS A compilation of the Document or its derivatives with other - separate and independent documents or works, in or on a volume of - a storage or distribution medium, is called an "aggregate" if the + separate and independent documents or works, in or on a volume of a + storage or distribution medium, is called an "aggregate" if the copyright resulting from the compilation is not used to limit the legal rights of the compilation's users beyond what the individual works permit. When the Document is included in an aggregate, this @@ -10424,8 +10506,8 @@ Appendix C GNU Free Documentation License However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) - provisionally, unless and until the copyright holder explicitly - and finally terminates your license, and (b) permanently, if the + provisionally, unless and until the copyright holder explicitly and + finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. @@ -10437,33 +10519,33 @@ Appendix C GNU Free Documentation License after your receipt of the notice. Termination of your rights under this section does not terminate - the licenses of parties who have received copies or rights from - you under this License. If your rights have been terminated and - not permanently reinstated, receipt of a copy of some or all of - the same material does not give you any rights to use it. + the licenses of parties who have received copies or rights from you + under this License. If your rights have been terminated and not + permanently reinstated, receipt of a copy of some or all of the + same material does not give you any rights to use it. - 10. FUTURE REVISIONS OF THIS LICENSE + 10. FUTURE REVISIONS OF THIS LICENSE The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See - `http://www.gnu.org/copyleft/'. + . Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License "or any later version" applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been - published (not as a draft) by the Free Software Foundation. If - the Document does not specify a version number of this License, - you may choose any version ever published (not as a draft) by the - Free Software Foundation. If the Document specifies that a proxy - can decide which future versions of this License can be used, that + published (not as a draft) by the Free Software Foundation. If the + Document does not specify a version number of this License, you may + choose any version ever published (not as a draft) by the Free + Software Foundation. If the Document specifies that a proxy can + decide which future versions of this License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Document. - 11. RELICENSING + 11. RELICENSING "Massive Multiauthor Collaboration Site" (or "MMC Site") means any World Wide Web server that publishes copyrightable works and also @@ -10493,7 +10575,6 @@ Appendix C GNU Free Documentation License site under CC-BY-SA on the same site at any time before August 1, 2009, provided the MMC is eligible for relicensing. - ADDENDUM: How to use this License for your documents ==================================================== @@ -10510,7 +10591,7 @@ notices just after the title page: Free Documentation License''. If you have Invariant Sections, Front-Cover Texts and Back-Cover -Texts, replace the "with...Texts." line with this: +Texts, replace the "with...Texts." line with this: with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts @@ -10521,9 +10602,9 @@ combination of the three, merge those two alternatives to suit the situation. If your document contains nontrivial examples of program code, we -recommend releasing these examples in parallel under your choice of -free software license, such as the GNU General Public License, to -permit their use in free software. +recommend releasing these examples in parallel under your choice of free +software license, such as the GNU General Public License, to permit +their use in free software.  File: bashref.info, Node: Indexes, Prev: GNU Free Documentation License, Up: Top @@ -10555,94 +10636,94 @@ D.1 Index of Shell Builtin Commands * :: Bourne Shell Builtins. (line 11) * [: Bourne Shell Builtins. - (line 258) + (line 268) * alias: Bash Builtins. (line 11) * bg: Job Control Builtins. (line 7) * bind: Bash Builtins. (line 21) * break: Bourne Shell Builtins. - (line 31) + (line 36) * builtin: Bash Builtins. (line 102) * caller: Bash Builtins. (line 111) * cd: Bourne Shell Builtins. - (line 39) -* command: Bash Builtins. (line 129) + (line 44) +* command: Bash Builtins. (line 128) * compgen: Programmable Completion Builtins. (line 12) * complete: Programmable Completion Builtins. (line 30) * compopt: Programmable Completion Builtins. - (line 228) + (line 229) * continue: Bourne Shell Builtins. - (line 80) -* declare: Bash Builtins. (line 149) + (line 85) +* declare: Bash Builtins. (line 148) * dirs: Directory Stack Builtins. (line 7) * disown: Job Control Builtins. (line 89) * echo: Bash Builtins. (line 245) -* enable: Bash Builtins. (line 307) +* enable: Bash Builtins. (line 294) * eval: Bourne Shell Builtins. - (line 89) + (line 94) * exec: Bourne Shell Builtins. - (line 97) + (line 102) * exit: Bourne Shell Builtins. - (line 114) + (line 119) * export: Bourne Shell Builtins. - (line 121) + (line 126) * fc: Bash History Builtins. (line 10) * fg: Job Control Builtins. (line 17) * getopts: Bourne Shell Builtins. - (line 137) + (line 142) * hash: Bourne Shell Builtins. - (line 180) -* help: Bash Builtins. (line 336) + (line 185) +* help: Bash Builtins. (line 323) * history: Bash History Builtins. (line 40) * jobs: Job Control Builtins. (line 27) * kill: Job Control Builtins. - (line 59) -* let: Bash Builtins. (line 357) -* local: Bash Builtins. (line 365) -* logout: Bash Builtins. (line 376) -* mapfile: Bash Builtins. (line 381) + (line 58) +* let: Bash Builtins. (line 342) +* local: Bash Builtins. (line 350) +* logout: Bash Builtins. (line 364) +* mapfile: Bash Builtins. (line 369) * popd: Directory Stack Builtins. - (line 39) -* printf: Bash Builtins. (line 429) + (line 35) +* printf: Bash Builtins. (line 414) * pushd: Directory Stack Builtins. - (line 61) + (line 53) * pwd: Bourne Shell Builtins. - (line 200) -* read: Bash Builtins. (line 477) -* readarray: Bash Builtins. (line 564) + (line 205) +* read: Bash Builtins. (line 458) +* readarray: Bash Builtins. (line 550) * readonly: Bourne Shell Builtins. - (line 210) + (line 215) * return: Bourne Shell Builtins. - (line 229) + (line 234) * set: The Set Builtin. (line 11) * shift: Bourne Shell Builtins. - (line 245) + (line 255) * shopt: The Shopt Builtin. (line 9) -* source: Bash Builtins. (line 573) +* source: Bash Builtins. (line 559) * suspend: Job Control Builtins. (line 101) * test: Bourne Shell Builtins. - (line 258) + (line 268) * times: Bourne Shell Builtins. - (line 334) + (line 343) * trap: Bourne Shell Builtins. - (line 340) -* type: Bash Builtins. (line 578) -* typeset: Bash Builtins. (line 610) -* ulimit: Bash Builtins. (line 616) + (line 349) +* type: Bash Builtins. (line 564) +* typeset: Bash Builtins. (line 596) +* ulimit: Bash Builtins. (line 602) * umask: Bourne Shell Builtins. - (line 389) -* unalias: Bash Builtins. (line 707) + (line 398) +* unalias: Bash Builtins. (line 701) * unset: Bourne Shell Builtins. - (line 407) + (line 416) * wait: Job Control Builtins. (line 76) @@ -10657,9 +10738,11 @@ D.2 Index of Shell Reserved Words * !: Pipelines. (line 9) * [[: Conditional Constructs. - (line 119) + (line 121) * ]]: Conditional Constructs. - (line 119) + (line 121) +* {: Command Grouping. (line 21) +* }: Command Grouping. (line 21) * case: Conditional Constructs. (line 28) * do: Looping Constructs. (line 12) @@ -10679,14 +10762,12 @@ D.2 Index of Shell Reserved Words * in: Conditional Constructs. (line 28) * select: Conditional Constructs. - (line 78) + (line 79) * then: Conditional Constructs. (line 7) * time: Pipelines. (line 9) * until: Looping Constructs. (line 12) * while: Looping Constructs. (line 22) -* {: Command Grouping. (line 21) -* }: Command Grouping. (line 21)  File: bashref.info, Node: Variable Index, Next: Function Index, Prev: Reserved Word Index, Up: Indexes @@ -10718,180 +10799,198 @@ D.3 Parameter and Variable Index * auto_resume: Job Control Variables. (line 6) * BASH: Bash Variables. (line 13) -* BASH_ALIASES: Bash Variables. (line 30) -* BASH_ARGC: Bash Variables. (line 37) -* BASH_ARGV: Bash Variables. (line 47) -* BASH_CMDS: Bash Variables. (line 57) -* BASH_COMMAND: Bash Variables. (line 64) -* BASH_COMPAT: Bash Variables. (line 69) -* BASH_ENV: Bash Variables. (line 84) -* BASH_EXECUTION_STRING: Bash Variables. (line 90) -* BASH_LINENO: Bash Variables. (line 93) -* BASH_REMATCH: Bash Variables. (line 101) -* BASH_SOURCE: Bash Variables. (line 109) -* BASH_SUBSHELL: Bash Variables. (line 116) -* BASH_VERSINFO: Bash Variables. (line 121) -* BASH_VERSION: Bash Variables. (line 144) -* BASH_XTRACEFD: Bash Variables. (line 147) * BASHOPTS: Bash Variables. (line 16) * BASHPID: Bash Variables. (line 25) +* BASH_ALIASES: Bash Variables. (line 30) +* BASH_ARGC: Bash Variables. (line 39) +* BASH_ARGV: Bash Variables. (line 49) +* BASH_CMDS: Bash Variables. (line 59) +* BASH_COMMAND: Bash Variables. (line 68) +* BASH_COMPAT: Bash Variables. (line 73) +* BASH_ENV: Bash Variables. (line 88) +* BASH_EXECUTION_STRING: Bash Variables. (line 94) +* BASH_LINENO: Bash Variables. (line 97) +* BASH_LOADABLES_PATH: Bash Variables. (line 105) +* BASH_REMATCH: Bash Variables. (line 109) +* BASH_SOURCE: Bash Variables. (line 117) +* BASH_SUBSHELL: Bash Variables. (line 124) +* BASH_VERSINFO: Bash Variables. (line 129) +* BASH_VERSION: Bash Variables. (line 152) +* BASH_XTRACEFD: Bash Variables. (line 155) * bell-style: Readline Init File Syntax. (line 38) * bind-tty-special-chars: Readline Init File Syntax. (line 45) +* blink-matching-paren: Readline Init File Syntax. + (line 50) * CDPATH: Bourne Shell Variables. (line 9) -* CHILD_MAX: Bash Variables. (line 158) +* CHILD_MAX: Bash Variables. (line 166) +* colored-completion-prefix: Readline Init File Syntax. + (line 55) * colored-stats: Readline Init File Syntax. - (line 50) -* COLUMNS: Bash Variables. (line 165) + (line 62) +* COLUMNS: Bash Variables. (line 173) * comment-begin: Readline Init File Syntax. - (line 56) -* COMP_CWORD: Bash Variables. (line 171) -* COMP_KEY: Bash Variables. (line 200) -* COMP_LINE: Bash Variables. (line 177) -* COMP_POINT: Bash Variables. (line 182) -* COMP_TYPE: Bash Variables. (line 190) -* COMP_WORDBREAKS: Bash Variables. (line 204) -* COMP_WORDS: Bash Variables. (line 210) + (line 68) * completion-display-width: Readline Init File Syntax. - (line 61) + (line 73) * completion-ignore-case: Readline Init File Syntax. - (line 68) + (line 80) * completion-map-case: Readline Init File Syntax. - (line 73) + (line 85) * completion-prefix-display-length: Readline Init File Syntax. - (line 79) + (line 91) * completion-query-items: Readline Init File Syntax. - (line 86) -* COMPREPLY: Bash Variables. (line 218) + (line 98) +* COMPREPLY: Bash Variables. (line 225) +* COMP_CWORD: Bash Variables. (line 179) +* COMP_KEY: Bash Variables. (line 208) +* COMP_LINE: Bash Variables. (line 185) +* COMP_POINT: Bash Variables. (line 190) +* COMP_TYPE: Bash Variables. (line 198) +* COMP_WORDBREAKS: Bash Variables. (line 212) +* COMP_WORDS: Bash Variables. (line 218) * convert-meta: Readline Init File Syntax. - (line 96) -* COPROC: Bash Variables. (line 224) -* DIRSTACK: Bash Variables. (line 228) + (line 108) +* COPROC: Bash Variables. (line 231) +* DIRSTACK: Bash Variables. (line 235) * disable-completion: Readline Init File Syntax. - (line 102) + (line 116) +* echo-control-characters: Readline Init File Syntax. + (line 121) * editing-mode: Readline Init File Syntax. - (line 107) -* EMACS: Bash Variables. (line 238) + (line 126) +* EMACS: Bash Variables. (line 245) +* emacs-mode-string: Readline Init File Syntax. + (line 132) +* enable-bracketed-paste: Readline Init File Syntax. + (line 142) * enable-keypad: Readline Init File Syntax. - (line 118) -* ENV: Bash Variables. (line 243) -* EUID: Bash Variables. (line 247) + (line 150) +* ENV: Bash Variables. (line 250) +* EUID: Bash Variables. (line 254) +* EXECIGNORE: Bash Variables. (line 258) * expand-tilde: Readline Init File Syntax. - (line 129) -* FCEDIT: Bash Variables. (line 251) -* FIGNORE: Bash Variables. (line 255) -* FUNCNAME: Bash Variables. (line 261) -* FUNCNEST: Bash Variables. (line 279) -* GLOBIGNORE: Bash Variables. (line 284) -* GROUPS: Bash Variables. (line 290) -* histchars: Bash Variables. (line 296) -* HISTCMD: Bash Variables. (line 311) -* HISTCONTROL: Bash Variables. (line 316) -* HISTFILE: Bash Variables. (line 332) -* HISTFILESIZE: Bash Variables. (line 336) -* HISTIGNORE: Bash Variables. (line 347) + (line 161) +* FCEDIT: Bash Variables. (line 271) +* FIGNORE: Bash Variables. (line 275) +* FUNCNAME: Bash Variables. (line 281) +* FUNCNEST: Bash Variables. (line 298) +* GLOBIGNORE: Bash Variables. (line 303) +* GROUPS: Bash Variables. (line 310) +* histchars: Bash Variables. (line 316) +* HISTCMD: Bash Variables. (line 331) +* HISTCONTROL: Bash Variables. (line 336) +* HISTFILE: Bash Variables. (line 352) +* HISTFILESIZE: Bash Variables. (line 356) +* HISTIGNORE: Bash Variables. (line 367) * history-preserve-point: Readline Init File Syntax. - (line 133) + (line 165) * history-size: Readline Init File Syntax. - (line 139) -* HISTSIZE: Bash Variables. (line 366) -* HISTTIMEFORMAT: Bash Variables. (line 373) + (line 171) +* HISTSIZE: Bash Variables. (line 387) +* HISTTIMEFORMAT: Bash Variables. (line 394) * HOME: Bourne Shell Variables. (line 13) * horizontal-scroll-mode: Readline Init File Syntax. - (line 146) -* HOSTFILE: Bash Variables. (line 382) -* HOSTNAME: Bash Variables. (line 393) -* HOSTTYPE: Bash Variables. (line 396) + (line 180) +* HOSTFILE: Bash Variables. (line 402) +* HOSTNAME: Bash Variables. (line 413) +* HOSTTYPE: Bash Variables. (line 416) * IFS: Bourne Shell Variables. (line 18) -* IGNOREEOF: Bash Variables. (line 399) +* IGNOREEOF: Bash Variables. (line 419) * input-meta: Readline Init File Syntax. - (line 153) -* INPUTRC: Bash Variables. (line 409) + (line 187) +* INPUTRC: Bash Variables. (line 429) * isearch-terminators: Readline Init File Syntax. - (line 160) + (line 195) * keymap: Readline Init File Syntax. - (line 167) -* LANG: Bash Variables. (line 413) -* LC_ALL: Bash Variables. (line 417) -* LC_COLLATE: Bash Variables. (line 421) -* LC_CTYPE: Bash Variables. (line 428) -* LC_MESSAGES <1>: Locale Translation. (line 11) -* LC_MESSAGES: Bash Variables. (line 433) -* LC_NUMERIC: Bash Variables. (line 437) -* LINENO: Bash Variables. (line 441) -* LINES: Bash Variables. (line 445) -* MACHTYPE: Bash Variables. (line 451) + (line 202) +* LANG: Bash Variables. (line 433) +* LC_ALL: Bash Variables. (line 437) +* LC_COLLATE: Bash Variables. (line 441) +* LC_CTYPE: Bash Variables. (line 448) +* LC_MESSAGES: Locale Translation. (line 11) +* LC_MESSAGES <1>: Bash Variables. (line 453) +* LC_NUMERIC: Bash Variables. (line 457) +* LC_TIME: Bash Variables. (line 461) +* LINENO: Bash Variables. (line 465) +* LINES: Bash Variables. (line 469) +* MACHTYPE: Bash Variables. (line 475) * MAIL: Bourne Shell Variables. (line 22) -* MAILCHECK: Bash Variables. (line 455) +* MAILCHECK: Bash Variables. (line 479) * MAILPATH: Bourne Shell Variables. (line 27) -* MAPFILE: Bash Variables. (line 463) +* MAPFILE: Bash Variables. (line 487) * mark-modified-lines: Readline Init File Syntax. - (line 196) + (line 232) * mark-symlinked-directories: Readline Init File Syntax. - (line 201) + (line 237) * match-hidden-files: Readline Init File Syntax. - (line 206) + (line 242) * menu-complete-display-prefix: Readline Init File Syntax. - (line 213) + (line 249) * meta-flag: Readline Init File Syntax. - (line 153) -* OLDPWD: Bash Variables. (line 467) + (line 187) +* OLDPWD: Bash Variables. (line 491) * OPTARG: Bourne Shell Variables. (line 34) -* OPTERR: Bash Variables. (line 470) +* OPTERR: Bash Variables. (line 494) * OPTIND: Bourne Shell Variables. (line 38) -* OSTYPE: Bash Variables. (line 474) +* OSTYPE: Bash Variables. (line 498) * output-meta: Readline Init File Syntax. - (line 218) + (line 254) * page-completions: Readline Init File Syntax. - (line 223) + (line 260) * PATH: Bourne Shell Variables. (line 42) -* PIPESTATUS: Bash Variables. (line 477) -* POSIXLY_CORRECT: Bash Variables. (line 482) -* PPID: Bash Variables. (line 491) -* PROMPT_COMMAND: Bash Variables. (line 495) -* PROMPT_DIRTRIM: Bash Variables. (line 499) +* PIPESTATUS: Bash Variables. (line 501) +* POSIXLY_CORRECT: Bash Variables. (line 506) +* PPID: Bash Variables. (line 515) +* PROMPT_COMMAND: Bash Variables. (line 519) +* PROMPT_DIRTRIM: Bash Variables. (line 523) +* PS0: Bash Variables. (line 529) * PS1: Bourne Shell Variables. (line 48) * PS2: Bourne Shell Variables. (line 53) -* PS3: Bash Variables. (line 505) -* PS4: Bash Variables. (line 510) -* PWD: Bash Variables. (line 516) -* RANDOM: Bash Variables. (line 519) -* READLINE_LINE: Bash Variables. (line 524) -* READLINE_POINT: Bash Variables. (line 528) -* REPLY: Bash Variables. (line 532) +* PS3: Bash Variables. (line 534) +* PS4: Bash Variables. (line 539) +* PWD: Bash Variables. (line 545) +* RANDOM: Bash Variables. (line 548) +* READLINE_LINE: Bash Variables. (line 553) +* READLINE_POINT: Bash Variables. (line 557) +* REPLY: Bash Variables. (line 561) * revert-all-at-newline: Readline Init File Syntax. - (line 233) -* SECONDS: Bash Variables. (line 535) -* SHELL: Bash Variables. (line 541) -* SHELLOPTS: Bash Variables. (line 546) -* SHLVL: Bash Variables. (line 555) + (line 270) +* SECONDS: Bash Variables. (line 564) +* SHELL: Bash Variables. (line 570) +* SHELLOPTS: Bash Variables. (line 575) +* SHLVL: Bash Variables. (line 584) * show-all-if-ambiguous: Readline Init File Syntax. - (line 239) + (line 276) * show-all-if-unmodified: Readline Init File Syntax. - (line 245) + (line 282) * show-mode-in-prompt: Readline Init File Syntax. - (line 254) + (line 291) * skip-completed-text: Readline Init File Syntax. - (line 259) + (line 297) * TEXTDOMAIN: Locale Translation. (line 11) * TEXTDOMAINDIR: Locale Translation. (line 11) -* TIMEFORMAT: Bash Variables. (line 560) -* TMOUT: Bash Variables. (line 598) -* TMPDIR: Bash Variables. (line 610) -* UID: Bash Variables. (line 614) +* TIMEFORMAT: Bash Variables. (line 589) +* TMOUT: Bash Variables. (line 627) +* TMPDIR: Bash Variables. (line 639) +* UID: Bash Variables. (line 643) +* vi-cmd-mode-string: Readline Init File Syntax. + (line 310) +* vi-ins-mode-string: Readline Init File Syntax. + (line 320) * visible-stats: Readline Init File Syntax. - (line 272) + (line 330)  File: bashref.info, Node: Function Index, Next: Concept Index, Prev: Variable Index, Up: Indexes @@ -10903,105 +11002,192 @@ D.4 Function Index * Menu: * abort (C-g): Miscellaneous Commands. - (line 10) -* accept-line (Newline or Return): Commands For History. (line 6) -* backward-char (C-b): Commands For Moving. (line 15) -* backward-delete-char (Rubout): Commands For Text. (line 17) -* backward-kill-line (C-x Rubout): Commands For Killing. (line 9) -* backward-kill-word (M-): Commands For Killing. (line 24) -* backward-word (M-b): Commands For Moving. (line 22) -* beginning-of-history (M-<): Commands For History. (line 20) -* beginning-of-line (C-a): Commands For Moving. (line 6) -* call-last-kbd-macro (C-x e): Keyboard Macros. (line 13) -* capitalize-word (M-c): Commands For Text. (line 52) + (line 10) +* accept-line (Newline or Return): Commands For History. + (line 6) +* alias-expand-line (): Miscellaneous Commands. + (line 124) +* backward-char (C-b): Commands For Moving. (line 15) +* backward-delete-char (Rubout): Commands For Text. (line 17) +* backward-kill-line (C-x Rubout): Commands For Killing. + (line 9) +* backward-kill-word (M-): Commands For Killing. + (line 24) +* backward-word (M-b): Commands For Moving. (line 22) +* beginning-of-history (M-<): Commands For History. + (line 20) +* beginning-of-line (C-a): Commands For Moving. (line 6) +* bracketed-paste-begin (): Commands For Text. (line 33) +* call-last-kbd-macro (C-x e): Keyboard Macros. (line 13) +* capitalize-word (M-c): Commands For Text. (line 61) * character-search (C-]): Miscellaneous Commands. - (line 41) + (line 41) * character-search-backward (M-C-]): Miscellaneous Commands. - (line 46) -* clear-screen (C-l): Commands For Moving. (line 34) + (line 46) +* clear-screen (C-l): Commands For Moving. (line 34) * complete (): Commands For Completion. - (line 6) -* copy-backward-word (): Commands For Killing. (line 58) -* copy-forward-word (): Commands For Killing. (line 63) -* copy-region-as-kill (): Commands For Killing. (line 54) -* delete-char (C-d): Commands For Text. (line 12) + (line 6) +* complete-command (M-!): Commands For Completion. + (line 80) +* complete-filename (M-/): Commands For Completion. + (line 49) +* complete-hostname (M-@): Commands For Completion. + (line 72) +* complete-into-braces (M-{): Commands For Completion. + (line 100) +* complete-username (M-~): Commands For Completion. + (line 56) +* complete-variable (M-$): Commands For Completion. + (line 64) +* copy-backward-word (): Commands For Killing. + (line 58) +* copy-forward-word (): Commands For Killing. + (line 63) +* copy-region-as-kill (): Commands For Killing. + (line 54) +* dabbrev-expand (): Commands For Completion. + (line 95) +* delete-char (C-d): Commands For Text. (line 12) * delete-char-or-list (): Commands For Completion. - (line 43) -* delete-horizontal-space (): Commands For Killing. (line 46) -* digit-argument (M-0, M-1, ... M--): Numeric Arguments. (line 6) + (line 43) +* delete-horizontal-space (): Commands For Killing. + (line 46) +* digit-argument (M-0, M-1, ... M--): Numeric Arguments. (line 6) +* display-shell-version (C-x C-v): Miscellaneous Commands. + (line 109) * do-uppercase-version (M-a, M-b, M-X, ...): Miscellaneous Commands. - (line 14) -* downcase-word (M-l): Commands For Text. (line 48) + (line 14) +* downcase-word (M-l): Commands For Text. (line 57) * dump-functions (): Miscellaneous Commands. - (line 73) + (line 73) * dump-macros (): Miscellaneous Commands. - (line 85) + (line 85) * dump-variables (): Miscellaneous Commands. - (line 79) -* end-kbd-macro (C-x )): Keyboard Macros. (line 9) -* end-of-file (usually C-d): Commands For Text. (line 6) -* end-of-history (M->): Commands For History. (line 23) -* end-of-line (C-e): Commands For Moving. (line 9) + (line 79) +* dynamic-complete-history (M-): Commands For Completion. + (line 90) +* edit-and-execute-command (C-xC-e): Miscellaneous Commands. + (line 138) +* end-kbd-macro (C-x )): Keyboard Macros. (line 9) +* end-of-file (usually C-d): Commands For Text. (line 6) +* end-of-history (M->): Commands For History. + (line 23) +* end-of-line (C-e): Commands For Moving. (line 9) * exchange-point-and-mark (C-x C-x): Miscellaneous Commands. - (line 36) -* forward-backward-delete-char (): Commands For Text. (line 21) -* forward-char (C-f): Commands For Moving. (line 12) -* forward-search-history (C-s): Commands For History. (line 31) -* forward-word (M-f): Commands For Moving. (line 18) -* history-search-backward (): Commands For History. (line 52) -* history-search-forward (): Commands For History. (line 46) -* history-substr-search-backward (): Commands For History. (line 64) -* history-substr-search-forward (): Commands For History. (line 58) + (line 36) +* forward-backward-delete-char (): Commands For Text. (line 21) +* forward-char (C-f): Commands For Moving. (line 12) +* forward-search-history (C-s): Commands For History. + (line 31) +* forward-word (M-f): Commands For Moving. (line 18) +* glob-complete-word (M-g): Miscellaneous Commands. + (line 91) +* glob-expand-word (C-x *): Miscellaneous Commands. + (line 97) +* glob-list-expansions (C-x g): Miscellaneous Commands. + (line 103) +* history-and-alias-expand-line (): Miscellaneous Commands. + (line 127) +* history-expand-line (M-^): Miscellaneous Commands. + (line 117) +* history-search-backward (): Commands For History. + (line 53) +* history-search-forward (): Commands For History. + (line 47) +* history-substr-search-backward (): Commands For History. + (line 65) +* history-substr-search-forward (): Commands For History. + (line 59) * insert-comment (M-#): Miscellaneous Commands. - (line 60) + (line 60) * insert-completions (M-*): Commands For Completion. - (line 22) -* kill-line (C-k): Commands For Killing. (line 6) -* kill-region (): Commands For Killing. (line 50) -* kill-whole-line (): Commands For Killing. (line 15) -* kill-word (M-d): Commands For Killing. (line 19) + (line 22) +* insert-last-argument (M-. or M-_): Miscellaneous Commands. + (line 130) +* kill-line (C-k): Commands For Killing. + (line 6) +* kill-region (): Commands For Killing. + (line 50) +* kill-whole-line (): Commands For Killing. + (line 15) +* kill-word (M-d): Commands For Killing. + (line 19) +* magic-space (): Miscellaneous Commands. + (line 120) * menu-complete (): Commands For Completion. - (line 26) + (line 26) * menu-complete-backward (): Commands For Completion. - (line 38) -* next-history (C-n): Commands For History. (line 17) + (line 38) +* next-history (C-n): Commands For History. + (line 17) * non-incremental-forward-search-history (M-n): Commands For History. - (line 41) + (line 41) * non-incremental-reverse-search-history (M-p): Commands For History. - (line 36) -* overwrite-mode (): Commands For Text. (line 56) + (line 35) +* operate-and-get-next (C-o): Miscellaneous Commands. + (line 133) +* overwrite-mode (): Commands For Text. (line 65) +* possible-command-completions (C-x !): Commands For Completion. + (line 86) * possible-completions (M-?): Commands For Completion. - (line 15) + (line 15) +* possible-filename-completions (C-x /): Commands For Completion. + (line 52) +* possible-hostname-completions (C-x @): Commands For Completion. + (line 76) +* possible-username-completions (C-x ~): Commands For Completion. + (line 60) +* possible-variable-completions (C-x $): Commands For Completion. + (line 68) * prefix-meta (): Miscellaneous Commands. - (line 18) -* previous-history (C-p): Commands For History. (line 13) -* print-last-kbd-macro (): Keyboard Macros. (line 17) -* quoted-insert (C-q or C-v): Commands For Text. (line 26) + (line 18) +* previous-history (C-p): Commands For History. + (line 13) +* print-last-kbd-macro (): Keyboard Macros. (line 17) +* quoted-insert (C-q or C-v): Commands For Text. (line 26) * re-read-init-file (C-x C-r): Miscellaneous Commands. - (line 6) -* redraw-current-line (): Commands For Moving. (line 38) -* reverse-search-history (C-r): Commands For History. (line 27) + (line 6) +* redraw-current-line (): Commands For Moving. (line 38) +* reverse-search-history (C-r): Commands For History. + (line 27) * revert-line (M-r): Miscellaneous Commands. - (line 25) -* self-insert (a, b, A, 1, !, ...): Commands For Text. (line 30) + (line 25) +* self-insert (a, b, A, 1, !, ...): Commands For Text. (line 30) * set-mark (C-@): Miscellaneous Commands. - (line 32) + (line 32) +* shell-backward-kill-word (): Commands For Killing. + (line 33) +* shell-backward-word (): Commands For Moving. (line 30) +* shell-expand-line (M-C-e): Miscellaneous Commands. + (line 112) +* shell-forward-word (): Commands For Moving. (line 26) +* shell-kill-word (): Commands For Killing. + (line 28) * skip-csi-sequence (): Miscellaneous Commands. - (line 51) -* start-kbd-macro (C-x (): Keyboard Macros. (line 6) -* transpose-chars (C-t): Commands For Text. (line 33) -* transpose-words (M-t): Commands For Text. (line 39) + (line 51) +* start-kbd-macro (C-x (): Keyboard Macros. (line 6) +* tilde-expand (M-&): Miscellaneous Commands. + (line 29) +* transpose-chars (C-t): Commands For Text. (line 42) +* transpose-words (M-t): Commands For Text. (line 48) * undo (C-_ or C-x C-u): Miscellaneous Commands. - (line 22) -* universal-argument (): Numeric Arguments. (line 10) -* unix-filename-rubout (): Commands For Killing. (line 41) -* unix-line-discard (C-u): Commands For Killing. (line 12) -* unix-word-rubout (C-w): Commands For Killing. (line 37) -* upcase-word (M-u): Commands For Text. (line 44) -* yank (C-y): Commands For Killing. (line 68) -* yank-last-arg (M-. or M-_): Commands For History. (line 79) -* yank-nth-arg (M-C-y): Commands For History. (line 70) -* yank-pop (M-y): Commands For Killing. (line 71) + (line 22) +* universal-argument (): Numeric Arguments. (line 10) +* unix-filename-rubout (): Commands For Killing. + (line 41) +* unix-line-discard (C-u): Commands For Killing. + (line 12) +* unix-word-rubout (C-w): Commands For Killing. + (line 37) +* upcase-word (M-u): Commands For Text. (line 53) +* yank (C-y): Commands For Killing. + (line 68) +* yank-last-arg (M-. or M-_): Commands For History. + (line 80) +* yank-nth-arg (M-C-y): Commands For History. + (line 71) +* yank-pop (M-y): Commands For Killing. + (line 71)  File: bashref.info, Node: Concept Index, Prev: Function Index, Up: Indexes @@ -11061,8 +11247,8 @@ D.5 Concept Index * event designators: Event Designators. (line 6) * execution environment: Command Execution Environment. (line 6) -* exit status <1>: Exit Status. (line 6) * exit status: Definitions. (line 26) +* exit status <1>: Exit Status. (line 6) * expansion: Shell Expansions. (line 6) * expansion, arithmetic: Arithmetic Expansion. (line 6) @@ -11093,18 +11279,18 @@ D.5 Concept Index * installation: Basic Installation. (line 6) * interaction, readline: Readline Interaction. (line 6) +* interactive shell: Invoking Bash. (line 128) * interactive shell <1>: Interactive Shells. (line 6) -* interactive shell: Invoking Bash. (line 125) * internationalization: Locale Translation. (line 6) * job: Definitions. (line 38) -* job control <1>: Job Control Basics. (line 6) * job control: Definitions. (line 42) +* job control <1>: Job Control Basics. (line 6) * kill ring: Readline Killing Commands. - (line 19) + (line 18) * killing text: Readline Killing Commands. (line 6) * localization: Locale Translation. (line 6) -* login shell: Invoking Bash. (line 122) +* login shell: Invoking Bash. (line 125) * matching, pattern: Pattern Matching. (line 6) * metacharacter: Definitions. (line 46) * name: Definitions. (line 51) @@ -11134,7 +11320,7 @@ D.5 Concept Index * quoting: Quoting. (line 6) * quoting, ANSI: ANSI-C Quoting. (line 6) * Readline, how to use: Job Control Variables. - (line 24) + (line 23) * redirection: Redirections. (line 6) * reserved word: Definitions. (line 70) * restricted shell: The Restricted Shell. @@ -11147,8 +11333,8 @@ D.5 Concept Index * shell, interactive: Interactive Shells. (line 6) * signal: Definitions. (line 78) * signal handling: Signals. (line 6) -* special builtin <1>: Special Builtins. (line 6) * special builtin: Definitions. (line 82) +* special builtin <1>: Special Builtins. (line 6) * startup files: Bash Startup Files. (line 6) * suspending jobs: Job Control Basics. (line 6) * tilde expansion: Tilde Expansion. (line 6) @@ -11165,134 +11351,134 @@ D.5 Concept Index  Tag Table: -Node: Top930 -Node: Introduction2848 -Node: What is Bash?3076 -Node: What is a shell?4189 -Node: Definitions6728 -Node: Basic Shell Features9646 -Node: Shell Syntax10865 -Node: Shell Operation11895 -Node: Quoting13189 -Node: Escape Character14492 -Node: Single Quotes14977 -Node: Double Quotes15325 -Node: ANSI-C Quoting16450 -Node: Locale Translation17694 -Node: Comments18590 -Node: Shell Commands19208 -Node: Simple Commands20080 -Node: Pipelines20711 -Node: Lists23449 -Node: Compound Commands25178 -Node: Looping Constructs26184 -Node: Conditional Constructs28647 -Node: Command Grouping39577 -Node: Coprocesses41056 -Node: GNU Parallel42889 -Node: Shell Functions46875 -Node: Shell Parameters51959 -Node: Positional Parameters56088 -Node: Special Parameters56988 -Node: Shell Expansions60327 -Node: Brace Expansion62270 -Node: Tilde Expansion65051 -Node: Shell Parameter Expansion67400 -Node: Command Substitution79694 -Node: Arithmetic Expansion81027 -Node: Process Substitution81959 -Node: Word Splitting83009 -Node: Filename Expansion84657 -Node: Pattern Matching86822 -Node: Quote Removal90522 -Node: Redirections90817 -Node: Executing Commands99981 -Node: Simple Command Expansion100651 -Node: Command Search and Execution102581 -Node: Command Execution Environment104918 -Node: Environment107904 -Node: Exit Status109563 -Node: Signals111185 -Node: Shell Scripts113153 -Node: Shell Builtin Commands115671 -Node: Bourne Shell Builtins117699 -Node: Bash Builtins137606 -Node: Modifying Shell Behavior165232 -Node: The Set Builtin165577 -Node: The Shopt Builtin175903 -Node: Special Builtins190324 -Node: Shell Variables191303 -Node: Bourne Shell Variables191743 -Node: Bash Variables193774 -Node: Bash Features220649 -Node: Invoking Bash221548 -Node: Bash Startup Files227326 -Node: Interactive Shells232355 -Node: What is an Interactive Shell?232765 -Node: Is this Shell Interactive?233414 -Node: Interactive Shell Behavior234229 -Node: Bash Conditional Expressions237517 -Node: Shell Arithmetic241519 -Node: Aliases244295 -Node: Arrays246851 -Node: The Directory Stack251832 -Node: Directory Stack Builtins252551 -Node: Controlling the Prompt255507 -Node: The Restricted Shell258279 -Node: Bash POSIX Mode260116 -Node: Job Control269502 -Node: Job Control Basics269962 -Node: Job Control Builtins274681 -Node: Job Control Variables279152 -Node: Command Line Editing280310 -Node: Introduction and Notation281982 -Node: Readline Interaction283604 -Node: Readline Bare Essentials284795 -Node: Readline Movement Commands286584 -Node: Readline Killing Commands287549 -Node: Readline Arguments289469 -Node: Searching290513 -Node: Readline Init File292699 -Node: Readline Init File Syntax293846 -Node: Conditional Init Constructs310832 -Node: Sample Init File313365 -Node: Bindable Readline Commands316483 -Node: Commands For Moving317690 -Node: Commands For History318834 -Node: Commands For Text323019 -Node: Commands For Killing325948 -Node: Numeric Arguments328405 -Node: Commands For Completion329544 -Node: Keyboard Macros333736 -Node: Miscellaneous Commands334424 -Node: Readline vi Mode340230 -Node: Programmable Completion341137 -Node: Programmable Completion Builtins348413 -Node: A Programmable Completion Example358159 -Node: Using History Interactively363409 -Node: Bash History Facilities364093 -Node: Bash History Builtins367092 -Node: History Interaction371020 -Node: Event Designators373725 -Node: Word Designators374947 -Node: Modifiers376586 -Node: Installing Bash377990 -Node: Basic Installation379127 -Node: Compilers and Options381819 -Node: Compiling For Multiple Architectures382560 -Node: Installation Names384224 -Node: Specifying the System Type385042 -Node: Sharing Defaults385758 -Node: Operation Controls386431 -Node: Optional Features387389 -Node: Reporting Bugs397453 -Node: Major Differences From The Bourne Shell398651 -Node: GNU Free Documentation License415510 -Node: Indexes440706 -Node: Builtin Index441160 -Node: Reserved Word Index447987 -Node: Variable Index450435 -Node: Function Index464615 -Node: Concept Index471916 +Node: Top897 +Node: Introduction2817 +Node: What is Bash?3033 +Node: What is a shell?4147 +Node: Definitions6685 +Node: Basic Shell Features9636 +Node: Shell Syntax10855 +Node: Shell Operation11881 +Node: Quoting13174 +Node: Escape Character14474 +Node: Single Quotes14959 +Node: Double Quotes15307 +Node: ANSI-C Quoting16585 +Node: Locale Translation17838 +Node: Comments18734 +Node: Shell Commands19352 +Node: Simple Commands20224 +Node: Pipelines20855 +Node: Lists23598 +Node: Compound Commands25327 +Node: Looping Constructs26330 +Node: Conditional Constructs28793 +Node: Command Grouping39715 +Node: Coprocesses41194 +Node: GNU Parallel43026 +Node: Shell Functions46999 +Node: Shell Parameters52205 +Node: Positional Parameters56618 +Node: Special Parameters57518 +Node: Shell Expansions60855 +Node: Brace Expansion62949 +Node: Tilde Expansion65730 +Node: Shell Parameter Expansion68078 +Node: Command Substitution82210 +Node: Arithmetic Expansion83565 +Node: Process Substitution84497 +Node: Word Splitting85617 +Node: Filename Expansion87561 +Node: Pattern Matching89845 +Node: Quote Removal93543 +Node: Redirections93838 +Node: Executing Commands103258 +Node: Simple Command Expansion103928 +Node: Command Search and Execution105858 +Node: Command Execution Environment108194 +Node: Environment111178 +Node: Exit Status112837 +Node: Signals114507 +Node: Shell Scripts116474 +Node: Shell Builtin Commands118989 +Node: Bourne Shell Builtins121023 +Node: Bash Builtins141623 +Node: Modifying Shell Behavior170268 +Node: The Set Builtin170613 +Node: The Shopt Builtin181026 +Node: Special Builtins196825 +Node: Shell Variables197804 +Node: Bourne Shell Variables198241 +Node: Bash Variables200272 +Node: Bash Features228652 +Node: Invoking Bash229551 +Node: Bash Startup Files235500 +Node: Interactive Shells240603 +Node: What is an Interactive Shell?241013 +Node: Is this Shell Interactive?241662 +Node: Interactive Shell Behavior242477 +Node: Bash Conditional Expressions245852 +Node: Shell Arithmetic250092 +Node: Aliases252909 +Node: Arrays255457 +Node: The Directory Stack260541 +Node: Directory Stack Builtins261325 +Node: Controlling the Prompt264293 +Node: The Restricted Shell267039 +Node: Bash POSIX Mode268864 +Node: Job Control279215 +Node: Job Control Basics279675 +Node: Job Control Builtins284394 +Node: Job Control Variables288924 +Node: Command Line Editing290080 +Node: Introduction and Notation291751 +Node: Readline Interaction293374 +Node: Readline Bare Essentials294565 +Node: Readline Movement Commands296348 +Node: Readline Killing Commands297308 +Node: Readline Arguments299226 +Node: Searching300270 +Node: Readline Init File302456 +Node: Readline Init File Syntax303603 +Node: Conditional Init Constructs323790 +Node: Sample Init File326315 +Node: Bindable Readline Commands329432 +Node: Commands For Moving330636 +Node: Commands For History331779 +Node: Commands For Text336068 +Node: Commands For Killing339457 +Node: Numeric Arguments341938 +Node: Commands For Completion343077 +Node: Keyboard Macros347268 +Node: Miscellaneous Commands347955 +Node: Readline vi Mode353759 +Node: Programmable Completion354666 +Node: Programmable Completion Builtins362127 +Node: A Programmable Completion Example372013 +Node: Using History Interactively377265 +Node: Bash History Facilities377949 +Node: Bash History Builtins380950 +Node: History Interaction384947 +Node: Event Designators387911 +Node: Word Designators389130 +Node: Modifiers390767 +Node: Installing Bash392169 +Node: Basic Installation393306 +Node: Compilers and Options395997 +Node: Compiling For Multiple Architectures396738 +Node: Installation Names398401 +Node: Specifying the System Type399219 +Node: Sharing Defaults399935 +Node: Operation Controls400608 +Node: Optional Features401566 +Node: Reporting Bugs411823 +Node: Major Differences From The Bourne Shell413017 +Node: GNU Free Documentation License429869 +Node: Indexes455046 +Node: Builtin Index455500 +Node: Reserved Word Index462327 +Node: Variable Index464775 +Node: Function Index480234 +Node: Concept Index493391  End Tag Table diff --git a/doc/bashref.pdf b/doc/bashref.pdf index 45284f780..fff99af93 100644 Binary files a/doc/bashref.pdf and b/doc/bashref.pdf differ diff --git a/doc/bashref.ps b/doc/bashref.ps index 1d3bb8365..a7c58bd71 100644 --- a/doc/bashref.ps +++ b/doc/bashref.ps @@ -1,18 +1,18 @@ %!PS-Adobe-2.0 -%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software +%%Creator: dvips(k) 5.996 Copyright 2016 Radical Eye Software %%Title: bashref.dvi -%%CreationDate: Mon Feb 24 08:28:32 2014 -%%Pages: 172 +%%CreationDate: Wed Sep 7 17:14:23 2016 +%%Pages: 178 %%PageOrder: Ascend %%BoundingBox: 0 0 612 792 %%DocumentFonts: CMBX12 CMR10 CMTT10 CMSL10 CMSY10 CMMI12 CMMI10 CMCSC10 -%%+ CMTI10 CMSLTT10 SFRM1095 CMTT12 CMTT9 CMMI9 CMR9 +%%+ CMTI10 CMSLTT10 SFRM1095 CMTT12 CMTT9 CMMI9 CMR9 SFRM1440 %%DocumentPaperSizes: Letter %%EndComments %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips -D 600 -t letter -o bashref.ps bashref.dvi %DVIPSParameters: dpi=600 -%DVIPSSource: TeX output 2014.02.24:0828 +%DVIPSSource: TeX output 2016.09.07:1714 %%BeginProcSet: tex.pro 0 0 %! /TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S @@ -371,128 +371,72 @@ forall Encoding{]exch pop}{cleartomark}ifelse}if/Encoding exch def}def end %%EndProcSet -%%BeginFont: CMTT12 -%!PS-AdobeFont-1.0: CMTT12 003.002 -%%Title: CMTT12 -%Version: 003.002 -%%CreationDate: Mon Jul 13 16:17:00 2009 -%%Creator: David M. Jones -%Copyright: Copyright (c) 1997, 2009 American Mathematical Society -%Copyright: (), with Reserved Font Name CMTT12. -% This Font Software is licensed under the SIL Open Font License, Version 1.1. -% This license is in the accompanying file OFL.txt, and is also -% available with a FAQ at: http://scripts.sil.org/OFL. -%%EndComments -FontDirectory/CMTT12 known{/CMTT12 findfont dup/UniqueID known{dup -/UniqueID get 5000833 eq exch/FontType get 1 eq and}{pop false}ifelse -{save true}{false}ifelse}{false}ifelse +%%BeginFont: SFRM1440 +%!FontType1-1.0: SFRM1440 0.3 +%%CreationDate: Wed Sep 12 2001 +% Copyright (c) 2001 Vladimir Volovich . +% See the file COPYING (GNU General Public License) for license conditions. +% Converted from METAFONT EC/TC and LH fonts: +% ecrm1440, tcrm1440, larm1440, lbrm1440, lcrm1440, rxrm1440. 11 dict begin -/FontType 1 def -/FontMatrix [0.001 0 0 0.001 0 0 ]readonly def -/FontName /CMTT12 def -/FontBBox {-1 -234 524 695 }readonly def -/UniqueID 5000833 def -/PaintType 0 def -/FontInfo 9 dict dup begin -/version (003.002) readonly def -/Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMTT12.) readonly def -/FullName (CMTT12) readonly def -/FamilyName (Computer Modern) readonly def -/Weight (Medium) readonly def +/FontInfo 6 dict dup begin +/version (0.3) def +/FullName (Computer Modern Roman) def +/FamilyName (Computer Modern) def /ItalicAngle 0 def -/isFixedPitch true def -/UnderlinePosition -100 def -/UnderlineThickness 50 def +/isFixedPitch false def +/Weight (Medium) def end readonly def -/Encoding 256 array -0 1 255 {1 index exch /.notdef put} for -dup 45 /hyphen put -dup 103 /g put -dup 104 /h put -dup 105 /i put -dup 108 /l put -dup 110 /n put -dup 111 /o put -dup 115 /s put -dup 124 /bar put -readonly def +/FontName /SFRM1440 def +/Encoding StandardEncoding def +/PaintType 0 def +/FontType 1 def +/FontMatrix [0.001 0 0 0.001 0 0] def +/FontBBox{-178 -319 1370 944}readonly def currentdict end currentfile eexec -D9D66F633B846AB284BCF8B0411B772DE5CE32340DC6F28AF40857E4451976E7 -5182433CF9F333A38BD841C0D4E68BF9E012EB32A8FFB76B5816306B5EDF7C99 -8B3A16D9B4BC056662E32C7CD0123DFAEB734C7532E64BBFBF5A60336E646716 -EFB852C877F440D329172C71F1E5D59CE9473C26B8AEF7AD68EF0727B6EC2E0C -02CE8D8B07183838330C0284BD419CBDAE42B141D3D4BE492473F240CEED931D -46E9F999C5CB3235E2C6DAAA2C0169E1991BEAEA0D704BF49CEA3E98E8C2361A -4B60D020D325E4C2450F3BCF59223103D20DB6943DE1B57D05DA0555DF933BB0 -7B42D264831116C06C79335D519461E7B0E870A6715E3D74A08D1BCF86E3BCC3 -A43FC6BAD1C68BD9D4AFCC06D845FD1F1E70D7A47F0BBCAECE8396E04591E5E3 -4797F646AFEEB7DB548183F0B74C9BB6BA2AA04E7F5950EC8AE97C741D4B2C5C -A8E7A8DF5A36A30B5A7592D95E1DBC63EF33C92FE459792CED29E2B8B6919251 -75EF62089BD7D44A6E1F9B62EC802FBE62B821DA1C3B2DDED45D27964AD29ED0 -9FB7868F3A8FEADA87A8E42D52C1EB7229D7C79B60BDA263F2BDB025AE14A507 -098FA274206BACFB4A0A7257D5998EE8F0FDCA79CB61DD1FC59DADD11E16BF02 -ECDFD706CDA1E72054D4EB55AF7BA9F19955886BC0BD6E0E3FE3769C94AF3581 -DFB2BCD67FE2892AF07E858A01280194D8DD7332B3D0A585C87FAB056C2EAA9B -5AD48D1C9F00CEF8EF0D1408DBE1C03D04B231D7B8D5D998FE0CD7EE19828EF2 -F988EBF6DDBFEE00F04A4A1F4E1A55DED7EF3AACEAB5005F1962C724A017C914 -2936E2E0DF26A55ACD7DD836C6035CBF07981C1BCE3615064F0540A1034C69B4 -E3908E76EF8925D486DF0B4A8E1F02D8AA99585A7C31847AB9382F83880C1C21 -C496AB2DF8E7BD4643B28B704B5F6B53429D3EE940A79135F5BF0396E5B46F23 -42AF406C26D12BEA7A41F332AEB75DF43C15334CF4651A99F602036946B1B91D -4BB0D2E51C20216D892C8173241AC8FD15A37C3CDD8AB4FB67D8565AFA61C068 -95E3D6E46D7C09BBD09428207D506AD43C693F3C3D787F6A5C39084AE45E81C9 -830900DB50DAD10A17E118FB5E9680B5194716A788FF7514A1167DD1A305FBE5 -5925388A2E95AE46E8806E0F7B954D1A9F70EE29B069A9FEB0349298CE5311BB -CAB039C21AEB714781BBCDBF2FFCBE7C4750D7693ED142ED0475EE9DB5D5F94F -4D4613E2C379E494464447C4167C625D70B9DBE4756DEF299974B704A3C238DC -FCD3AD96645559ACA5056F7FD695D2AA709960E30F055ADBDCC7FDF641920A9F -A279AAB98424E76D01937F9CFE3CF4E3779650D7C2DC38AB27FB81EB16C19B13 -D47E0AC60C83641CCC1A00136625FE274C6AC706B516CBF14C54000BC2B7BD20 -A28D40FCD6D9B321855BDA608E23BD365208DAB23983C0D8A7C9DDC28ED62216 -12A20A3068D843B5FA016B8C6B9BBD36356BF85A128F96F0CE861FB9C998BB21 -E8624E3DE453C686D41DA7B72ABD919C5BE2F24440D11962C77742A8C0115A72 -9E974E71247FCD58318A4347813D4D5A73CF882A7513E2EFE05CE8C7195BDDC7 -DF250B59AD14D02D2991E2D0CF2D0022EF52D78780A34D2A5EBDB458198535BE -8B67CE5E1C9152A21FBB14C4E72828182A77418DF5E3439ED90AC7529AF0E761 -A8FF0676364C61692CCAD317817EDCC17260FF7E2BD3FBD5B6BB078C8D5E78E2 -E2344C0FC14382F41601EE374DBBB0C2465AED57BC4ADF0622B22B2B9DEE8A65 -41F49237821D3C04AC267AE38B4847CA255747D41718122F35239FD328634281 -701854F90CF39734734FD82C4A893B68CA3DD5F353A5416BC710F8B627AB30E2 -CBE1887C4F4A8892FEE7FEC1FC2FD27005C3B416E3146D5C0F157710504DD523 -DD7196888D0DAD10D8BA80034973346DA10C42C39F13C7A1CC3A206874DAC8F4 -FF91066FE31954D26803547C6D73CF884ABA4E9919F94C61BE31389F338670CD -EDD348C3147161C8A013BD73075E9D5453BB63F0D1C1FAF2D3508999293EFE73 -1938DEAAF8E9912B570CFA85337C0097B65F0BD87BC2985088EBC9C82C603762 -36C212F08216BCF7409C3C0C45EA3B3A70F355C88B00991913B8B37B394A51B0 -F31480B8864B519B46A664D84DA0DFAA5EF761088C8D753BB68DEDAB413082EF -A3D13D88404B22353D13CADE3FE1A4C4C84B22D6E01883DB55B1070FF8DF4AED -629BB76EDE1DCE72DD5E67DC7A65A823BD897435159D2A19EF6C1B8140DF6FA3 -B134DF24C97EBE566E371DAE070410144971C9591FC918AF87D5282DDB0B5646 -4FEDE6C79EB2442F59D3C9078750AD6BC35A5ECADC438496B1AD5DAC09445A54 -7DED15E0B678EB9310B3576A4962D846B405B019F7D9601A0435B34CEDB468F2 -249228EFB45311A50211148FBDCA8141406B7AF8A7F1712E15149114134BFB10 -D10CF434EC53D2E1482B3CAA38A50F3712C0FB9AA1452F468595BAA7C16BEB59 -B2F3C6771FECA7C8B2608C37FBB7142D61F31E86F5B712FE3B7DFB52153C6CC9 -95AC0DC8764DB20787FC4366FB90441976CECD1FF9D4ECB82FBED648C292401D -DC2B6A71FAFF6D22C8FAEF0928C7280E8B0DB146EC742F8A479138642430AC85 -F6933F11D5171C0BDCA8DD5155489C4E9066882EDC00B078108B4A3C605C165F -184C4198F9FCBBD65FDF7B7AFED6768C847E3C5E9788402902976DBCD5FB3CE3 -3D592281A1B5A17F0E648ED88529D43D525DF5FD966F9707C264A5AA7F703546 -F103259FC2F77CD379FF00A34BE6385EAA9DA5A06C7801F000EC795747997CC9 -C31D4EDA25CD2037DBD53DA48F51FBB2A757971D33F0C3EBF1F6B051F6D995F0 -082CA7139AA8C990D10197A25C613C199A634B63C5E8B8EBB91272F510D13162 -47A2ABB34D5741CD9E45022A81934C3CC7A8042BBF28A3E9BA7718E08AC91E35 -9C1864328AB297AFBF2DD62A13EE850B12DA21E621AECFD642FD70A42520E854 -9BC128C75DAB4B316F3FC8A944E6102B2F6700FAE355319F079027274E610266 -83C4F35A4FE9689BE48536E93D0C6C5F6011707F95E5DAE8DA8256B7CC81F688 -4184B8E96CBCF86E99E515AF5F90B209228DB44EC8618D12F602591F010A2669 -2BA8E81C1E18161D532D0C61DC696860227170A05406A52A6D89BF19FC952FF8 -D47D8E6333C1828A7E7E3B8BB1C7A85C35AA50AC0CC070E540D8F0BF951C6F87 -4B8A4E41D65350806F04B06F3F98E881649F3895D83A27B5A4F2D4DBC8EC483E -5E43E196A6448A82B881F7EFF91D6C99C287E3439C5E6ACA6A53070CD1FA6384 -068F78E11E6F596E080C84EB0CD85422B46339CC8B5598D0D699C506ED02884E -3C9B9EE27357AB5D42096F +D9D66F633B846A97B686A97E45A3D0AA052BD0CE60552BD63101D7CDBEEF5B11 +69C468645FE4ED1AF2541AA0770C1DCF81623DE0ECDF49F2B522618F650CE6CB +CC8C21885DD61AF8A523AA677EAEDDFA51A1F9B1885EEE0456196D634E04EF89 +F17499DAD982502ACC349B9EEAAE4A71A73D1147318C60A8BAC10510DE90D8D3 +F46E47295D27129A5AFE0C65E22BAD10D06885A2EE623FF8E1D90287A083E00C +EF25195F68A2A98170E4875AA6B96583CD5632BAD9EB3D511DF934CD36447A31 +D420FA313B5721C37085F478B27E13191957AD30B8B082BCE733AF8402AA3B7D +EC69807BBAA8142AF1CE151D99F5A59AD18798F94781EFAD48BEC8C62C05C56A +336D71AB584F6DF014C56523108606FADE931125496247870E980A65AB33C0C6 +D5B074864D0F58CBE333EFA1201AF335FBDBFB1CC8B1294856C250F222BFB8BE +5DE74F808904F7678552F213C674497F829E96812D340939F73737731D289801 +54E5A8F7F5067ACD9D768F4649B51E54513F2F7878141FC719627C23FC5FBBB6 +3F663343D902E95C56C559B588088227B22378FAAB29392FA62933283D2FB2EA +FDAEC6C1A94ABA0B5BEFA1E728A2052434BFBF6D9759D02A2C6092D4EF794241 +CC28BC939A424AFA193F96530985EE89E2731F6A99BC84C6551A3FEA1342509D +D389F786C8EAF972B8C98B79003B6C71E6696518BE4CAD2A317C5D29621031B4 +00A035445D8CFB67D6C136B3F6D82396E11A3679BC82498519C27601236F1FCA +073DA7817B529424CAF49A0AEE8FF7520C0F204A3B1725F46C2C6953C20E93B6 +2F3EED0EEDF87A350CB841516107D9571503A3D62A2F81840070D43392160783 +D111F3463760EBE634515DA1A1B6C3A5D14FC475F277BAC792FB69B4219E9BF5 +E6F8520584096A7B7BFE439A1604C2BBBB9140A4F4728B4B553A27E1AF52181D +701E90C4FBB16EA8DB39B562E5A2932D45893081D52E020A1FCBC44DC204F4A5 +BEE47F9D25876644CC856B1FC225B61124B89B896C39CDAB0ACCA8277F827382 +6F58A0C8456DC41217219D894B42968FB2EC75D5518B6C4413BAC889532F0B0B +A8D728949CEA00D4A1FD757B3A2336D472842ACF8EB9869044947C67D9AC7BBF +7386DDE209A8DC9F18085952818F67FDC6088D9C8BC51BA6DC0FA37A0F81EDB8 +6F259FA8C0FA3D55BC44529889E72E407C89ACF658631A0508FD7991088644B4 +C958031B52421F9CE73A0479A3175231EFD9E0F7A7B08380E9BAF015730B175B +93C380D1D0F3EB929B7182691BE7E2116CE295CA4331ABD7ECAD7D2DD46FE3E0 +5D3893ED100135901FD42B4E11BEB2689A13E86F1E68635DD81E5A720082E802 +89B440A111B2CDC6BFE79E5B2EB0C528FA0E958F0E981EC29C3B02A9186D7907 +A0CC29251E567958BA95DE609A421581433DD50AF96A82A5ADEFD1C9540D87A8 +D74A7709AF84AD36753784ED8267D3C2521A32C7A9D5BE01E0AF3B349200639C +90C8BF2E26920AC410A9C5D1EB85C0ADD16BAA83B6C0BFE82483D3B719DC19AC +89155140691E3E37F861C53A6F39441B5F229828B198DF5BF6286060DCB64433 +F43499E4AB973F84655311A644ED0921B41B9AE7A8060CB1F45E824FB3497C63 +0A13CB5902294E66186E4496A825447734DF4AB581803488B912E7DCD6007527 +B4CFDC5AD5D1DB430007AE929F969EE332CCF235DAF977D387E47BE0EE337118 +8CFAAC0907E16B0BEAECC3B39221867AE6464BE9AB4CE591B2E24B45AD2C70E2 +A183065810D6AC3DE8EA9F66615113F1E683A4475CE5817491ECBDD4A4818AED +EAFEAB8B93FBDB335D02FAF9276958EFAEE1057C45D313419D195068076D77B2 +C0FF6EA8D6F3F0A899D17E04B8B2141EE335 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 @@ -502,7 +446,6 @@ D47D8E6333C1828A7E7E3B8BB1C7A85C35AA50AC0CC070E540D8F0BF951C6F87 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 cleartomark -{restore}if %%EndFont %%BeginFont: CMR9 %!PS-AdobeFont-1.0: CMR9 003.002 @@ -524,7 +467,6 @@ FontDirectory/CMR9 known{/CMR9 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMR9 def /FontBBox {-39 -250 1036 750 }readonly def -/UniqueID 5000792 def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def @@ -1143,7 +1085,6 @@ FontDirectory/CMMI9 known{/CMMI9 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMMI9 def /FontBBox {-29 -250 1075 750 }readonly def -/UniqueID 5087384 def /PaintType 0 def /FontInfo 10 dict dup begin /version (003.002) readonly def @@ -1379,7 +1320,6 @@ FontDirectory/CMSLTT10 known{/CMSLTT10 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMSLTT10 def /FontBBox {-20 -233 617 696 }readonly def -/UniqueID 5000800 def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def @@ -1892,7 +1832,6 @@ FontDirectory/CMTT9 known{/CMTT9 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMTT9 def /FontBBox {-6 -233 542 698 }readonly def -/UniqueID 5000831 def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def @@ -2568,7 +2507,6 @@ FontDirectory/CMR10 known{/CMR10 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMR10 def /FontBBox {-40 -250 1009 750 }readonly def -/UniqueID 5000793 def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def @@ -3497,7 +3435,6 @@ FontDirectory/CMCSC10 known{/CMCSC10 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMCSC10 def /FontBBox {14 -250 1077 750 }readonly def -/UniqueID 5087402 def /PaintType 0 def /FontInfo 10 dict dup begin /version (003.002) readonly def @@ -3848,6 +3785,135 @@ B8C0C194C26F5E122DF5E4153316C971460C3B3B336C1B72 cleartomark {restore}if %%EndFont +%%BeginFont: CMTT12 +%!PS-AdobeFont-1.0: CMTT12 003.002 +%%Title: CMTT12 +%Version: 003.002 +%%CreationDate: Mon Jul 13 16:17:00 2009 +%%Creator: David M. Jones +%Copyright: Copyright (c) 1997, 2009 American Mathematical Society +%Copyright: (), with Reserved Font Name CMTT12. +% This Font Software is licensed under the SIL Open Font License, Version 1.1. +% This license is in the accompanying file OFL.txt, and is also +% available with a FAQ at: http://scripts.sil.org/OFL. +%%EndComments +FontDirectory/CMTT12 known{/CMTT12 findfont dup/UniqueID known{dup +/UniqueID get 5000833 eq exch/FontType get 1 eq and}{pop false}ifelse +{save true}{false}ifelse}{false}ifelse +11 dict begin +/FontType 1 def +/FontMatrix [0.001 0 0 0.001 0 0 ]readonly def +/FontName /CMTT12 def +/FontBBox {-1 -234 524 695 }readonly def +/PaintType 0 def +/FontInfo 9 dict dup begin +/version (003.002) readonly def +/Notice (Copyright \050c\051 1997, 2009 American Mathematical Society \050\051, with Reserved Font Name CMTT12.) readonly def +/FullName (CMTT12) readonly def +/FamilyName (Computer Modern) readonly def +/Weight (Medium) readonly def +/ItalicAngle 0 def +/isFixedPitch true def +/UnderlinePosition -100 def +/UnderlineThickness 50 def +end readonly def +/Encoding 256 array +0 1 255 {1 index exch /.notdef put} for +dup 45 /hyphen put +dup 103 /g put +dup 104 /h put +dup 105 /i put +dup 108 /l put +dup 110 /n put +dup 111 /o put +dup 115 /s put +readonly def +currentdict end +currentfile eexec +D9D66F633B846AB284BCF8B0411B772DE5CE32340DC6F28AF40857E4451976E7 +5182433CF9F333A38BD841C0D4E68BF9E012EB32A8FFB76B5816306B5EDF7C99 +8B3A16D9B4BC056662E32C7CD0123DFAEB734C7532E64BBFBF5A60336E646716 +EFB852C877F440D329172C71F1E5D59CE9473C26B8AEF7AD68EF0727B6EC2E0C +02CE8D8B07183838330C0284BD419CBDAE42B141D3D4BE492473F240CEED931D +46E9F999C5CB3235E2C6DAAA2C0169E1991BEAEA0D704BF49CEA3E98E8C2361A +4B60D020D325E4C2450F3BCF59223103D20DB6943DE1B57D05DA0555DF933BB0 +7B42D264831116C06C79335D519461E7B0E870A6715E3D74A08D1BCF86E3BCC3 +A43FC6BAD1C68BD9D4AFCC06D845FD1F1E70D7A47F0BBCAECE8396E04591E5E3 +4797F646AFEEB7DB548183F0B74C9BB6BA2AA04E7F5950EC8AE97C741D4B2C5C +A8E7A8DF5A36A30B5A7592D95E1DBC63EF33C92FE459792CED29E2B8B6919251 +75EF62089BD7D44A6E1F9B62EC802FBE62B821DA1C3B2DDED45D27964AD29ED0 +9FB7868F3A8FEADA87A8E42D52C1EB7229D7C79B60BDA263F2BDB025AE14A507 +098FA274206BACFB4A0A7257D5998EE8F0FDCA79CB61DD1FC59DADD11E16BF02 +ECDFD706CDA1E72054D4EB55AF7BA9F19955886BC0BD6E0E3FE3769C94AF3581 +DFB2BCD67FE2892AF07E858A01280194D8DD7332B3D0A585C87FAB056C2EAA9B +5AD48D1C9F00CEF8EF0D1408DBE1C03D04B231D7B8D5D998FE0CD7EE19828EF2 +F988EBF6DDBFEE00F04A4A1F4E1A55DED7EF3AACEAB5005F1962C724A017C914 +2936E2E0DF26A55ACD7DD836C6035CBF07981C1BCE3615064F0540A1034C69B4 +E3908E76EF8925D486DF0B4A8E1F02D8AA99585A7C31847AB9382F83880C1C21 +C496AB2DF8E7BD4643B28B704B5F6B53429D3EE940A79135F5BF0396E5B46F23 +42AF406C26D12BEA7A41F332AEB75DF43C15334CF4651A99F602036946B1B91D +4BB0D2E51C20216D892C8173241AC8FD15A37C3CDD8AB4FB67D8565AFA61C068 +95E3D6E46D7C09BBD09428207D506AD43C693F3C3D787F6A5C39084AE45E81C9 +830900DB50DAD10A17E118FB5E9680B5194716A788FF7514A1167DD1A305FBE5 +5925388A2E95AE46E8806E0F7B954D1A9F70EE29B069A9FEB0349298CE5311BB +CAB039C21AEB714781BBCDBF2FFCBE7C4750D7693ED142ED0475EE9DB5D5F94F +4D4613E2C379E494464447C4167C625D70B9DBE4756DEF299974B704A3C238DC +FCD3AD96645559ACA5056F7FD695D2AA709960E30F055ADBDCC7FDF641920A9F +A279AAB98424E76D01937F9CFE3CF4E3779650D7C2DC38AB27FB81EB16C19B13 +D47E0AC60C83641CCC1A00136625FE274C6AC706B516CBF14C54000BC2B7BD20 +A28D40FCD6D9B321855BDA608E23BD365208DAB23983C0D8A7C9DDC28ED62216 +12A20A3068D843B5FA016B8C6B9BBD36356BF85A128F96F0CE861FB9C998BB21 +E8624E3DE453C686D41DA7B72ABD919C5BE2F24440D11962C77742A8C0115A72 +9E974E71247FCD58318A4347813D4D5A73CF882A7513E2EFE05CE8C7195BDDC7 +DF250B59AD14D02D2991E2D0CF2D0022EF52D78F043D6D7FEEC3E77B6982B1C0 +8CE51E4D3C8342C08ABD84EFCC8239883D8E66CB0FB0BFE8699155B179CCD63E +884C502F7F0496A01360C67D7A9BFC8533346485646AF058A743472B3276FB96 +EC4C82188A4A67763ABCE6AF7898C3B924A01118DCE34C77F22E62BB4C4CB561 +75C93226142D43D5ECB9F43C3A275A52F9E5AE4C9BB9E614082AAEAC5E7453DE +B3F71F9FB747033E227E84E853E75E79771B71495CACE8F911329274CE752AFC +46C993132BA8CF6B9DA2CFC11A0BD57C9A4BC11B7A6D68A4C346D9768E6A6204 +4227F51932162DA350878EF80D0F4084C82CC61F3223010D771EBE7DEC1B80CF +327393AAD4C689BF6A791CA2925878C51069C4F06ABFA42B66860082301FCA71 +EA52BED540116A9B12D9741A4C078F207F92B78923C7965A47A3130CCAEF480F +6B4AD58077FBECC4F99F53BC1F4F24CF3777182A7ADC32FE3260C774E5244912 +470697609A0726EECB72390E6C5C5A1204521D45316989E3C0B4D398958D4363 +3C7A4524B500241161C55C4D8C4CB06034BD825AA2CF2A6895BB9A30BFF00422 +553E4346A53B271C70DE5D0A5AEB92F81CAC1A0E75E47229AA80C8DB09EE3B19 +6E9D3EC0E7ECAB7B879C652282A376C52E5BBF5D4BAF051A0A995460B7F427E9 +521743E74783312E8D7100DE1F31C1C7C85DA33D8D0A626E6E6184DDD538EA7F +46D50247225E036DB3E6072395C88026D429659DFCFC6416D22A9BE285EEA910 +F7B1B74275B8B043721A829F2D4FE6140E5AFB78F0CFCC27FF27ACE773131462 +48B271781695D31C909FED024B2F3220C206B63601A1B02DBBE2C5D94D027982 +F9E7EA6D4B0A812D28855CF62D372A040F138069F7C28BE3344262EA72795CAC +2CC8E21D1A666ABFED384875FD2D098066FF0CD902AD6725AECFE61B2CD83860 +82E587B8893F5E09B155EBD813030499E534C050D6902E5F8BA296030512ACCE +BF19933ECDDA6DAAA1848686DAC81EC429CA7AB1A73B7DFEC0750B404F601F1E +6755F07C0784A56E403C5962905E9147E44E8042C3858E4A91F7B8A71143263C +21DC47E481DF1A38EC4A9F682FE059FE80F257576FEF3A3300A36BC27273152A +78019783D0BC34AB29353EDAEDF48FF6C5DC27C1633CE1CE2C03509992549B87 +75AE1100939A6A2F5AA2BC7C534357687DA72129B9C9F2E511BD95452F10DF8C +A698CEE0BCAF726111B63C4838F05AC5B2EB43D04115145CDBF2EDCC1EFAB612 +5E35EF5CCC5F4296536DC96F1326B86C65DE657BA06E5B97BB7C4F8ED11DF9CD +969FA4302F06A5D43B48D40D3DE360F6A7B8F329022CF5B13A33980E8BE54325 +17FE37C9D78E73A74B5734231ADF0594A2E5F2DAD9BCB682A0F5C59507032DE3 +AD0C62E50C258F1F820ADF788D6611CBE6D1988D09D07F8813D6A3EDEBE034C8 +05F7EDC5DD2E4C15B60FE9284E267C8F7DF53F3CC13C131201DE819049324E53 +499FE93874A92EF07AD0121B8FDA88F7D60DE52E2B20AF958A77421F221F8B29 +B2188307F484E1832988059E5A68C52AA7E840D805E646F17DFFDCE1A2A8C0B5 +2CF6F218A06EE1E2543461030E9697624B086FC6619205C04230CC8DADA60721 +F5C4622673ACA45BEABBE3941E7F40080D652567DED98AA3404A4384DA3006A4 +E8A9298AC3FEF04C92A273 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +cleartomark +{restore}if +%%EndFont %%BeginFont: SFRM1095 %!FontType1-1.0: SFRM1095 0.3 %%CreationDate: Wed Sep 12 2001 @@ -4130,7 +4196,6 @@ FontDirectory/CMBX12 known{/CMBX12 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMBX12 def /FontBBox {-53 -251 1139 750 }readonly def -/UniqueID 5000769 def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def @@ -4219,6 +4284,7 @@ dup 118 /v put dup 119 /w put dup 120 /x put dup 121 /y put +dup 123 /endash put readonly def currentdict end currentfile eexec @@ -4413,419 +4479,421 @@ C528A198B8EC8654AD69CCB5C209964A2B25D6DA9BA0FFB366D19D8C69701D7E 8ECBEA88569601C80ACCC2D5487DDBDC27DC463A53A8E59F9EC17D0ECB7D2188 B6CEC6BBCEE631DBB9959A9855B997481B5D88B8BA29995053CF42C5518A3E8C AD21553A0F6BC3483624B013D3537F7C85D7C558A9C772554CFC1C3FE7A70633 -318A99533A1AD864430BEAB8A5D4290194F13FC1EEB80C2005998C0126EA9C07 -9DF7B66876309A37685C8555A6CE41C0EE4BF759159FB90FD85AB248BDAA0417 -4245331D416A4ECD2C10905CDCD95169CBBCEAA3E45A70778A746B11D7974C6C -616C217475E1632707B465B622DC2BE08B366A43F3B1F55E1384532F37F5CBC1 -8B2840EB834739DC02C8A477A0E0B5B1DE8F7944DDFFE6B4BA18D9DFFC2A9A7A -78E3BC3A0CBA942C110DD323775ACBAB430724E21575298C6D19663A9F4DFAE8 -AB299158B24294CACB53584FA5931C45205AF58AC7D6075890B8377997E18CC0 -C65436BB7790279B58D2E3C7BCF91EE077B0EEFFB07A403D702B9DA567AC51CE -FE7054FCC281CC34CD04E539FB17299816486830EBBB9DB3AA76247D50FAE981 -65CF044E39923C4E2173A9FE6E38A21CA36F70FB9FA6D2E2246B402D4BB5F150 -48434F9B4F2C2FC1E7C19C30374AC31C2EA87732DA14B6E925DD0F34E48941DE -796C44890144DD9691AE6F0381F174714B9E17A44CED61B9FFE40DA5986D29A6 -587781B9D3AC5CB19BC448E3CE9661EDA021755BC8DF86B3F766B0FFCC6504ED -82B4B8B53B62B399406D1658A37579EE7CAD4ED2554EA16F53122BDB72C89E96 -390332C0EDAE62DC139A6091E640D555E6D7C5AD81CEA20CB8B1272ADA2105FF -FD816EA361C24DCF0BB660E2228DAD143C5E0C101D34F9E1FD23466F672DBBA2 -586DC5BEDEBB112CC621B8778580EEF6B8EFF9BD99F335F43523E09E2062AD1F -DCEA3169348EB141776FA49800CF1173899E5D331768C864E998CE2078C1868B -5F3D166C13AD2C17639BE80856AFBD3B2C8EB89FD41E998A0AEB832AD421FB40 -1AE013CBB43D3D13647A2E27C41470ECC344534289FFF79162D7322C3EF5AD08 -345ECB050186836AA02A47D934D3FEF1BCBA503B9214949974A9C206055BE582 -42632173653D9A62EF76D442ECF4DEBE87030B9C366C7280BE342FF8D0A2DCC8 -A5C6993F0338A71D54F3AAB1CDFFB6AE9ACA6DB5E29024CD357054EC0A149893 -31AF86ABF24E2F7492E461DC9E399E815264D4A06F6DA4364432A12A8492A88F -DC7C433D4D884FF56DC2FC982F8FA87D69D59C4281C8B9529B3D41B854B00032 -8258AFF0063BB4DE1F824D6A526F7F196F21A01E503DB7FB20614F6AD61C84AF -13C23624346FF7A14EE8C073F7FDC888D43F917B353E56BD9C6E69D82ADCDBA6 -AC5EC3523627CF71FD5302B0BEA306EAA6FDBFB2168252D4C4D345775F5AB141 -9233B18ED9373D56FA74DA7A39CB7A90FC6DF98AC03BECD64FCDC2A85041C4B3 -48E999BCE6425C6A0B26574D99AFB5F61B500F600C0E9D5835B0296420FB81DE -14310596E2C64313849B8CE782437D712F8987B3033FD2FEF0A7AA0E26D33D28 -AC6E45A65F03530ACD022F2496B9F500FB274669061791AD5862D1AC84ED0012 -FCBBEC5BDE13D2907F1593011E0F92E558DA86BCE9C464C3037E3B63A3A67B54 -A3CA185B9E87AF9D76D67D100C59BBA1B530CF0E191D013D0DE94B0F9C50ED21 -D7930F0EE3A56EBAC215B0E1C9F85BE211E9164C990E7D4B1072DF49AA02D927 -53A129CD1144A6E4F8C1D23CB2D6FC87A2240B16C9E54BA04E33201A8BEE54C2 -F8798C93FA35EB287004DF64FA5C6AC4F7274F312F6264E94F2215A39CB8F6C3 -563AF9DE8F41D67AE31B326AB9C6607FCB47652F642118977AF4BE0A5E48ED98 -68F717085F0602B309777AD2E4044E1FCAF55EDF8327AE7FBB78AA15A4AF7C51 -5D521D1C6155DF31E7C7CDEC35B5AB7956F7FD06A8FC259A4845C5BA0A293028 -BF5FEC5984BB3702AAD0096C832BB1812A49FDB0D8B4ED1A02D24E82FFD80696 -79B1D2EDEA6D1F10CBF1649320FC04CDA340CB047A276DC388BCA1E39FD11980 -B0676294E4B690D371E3B8DE6F2A6C65861A161BAFBF18900D50D8F5B802D241 -F119E63504AACF61722EC2A9199A7F3C4DB29593C4C3321C1AADB9CF077B7BDB -17E5C1842B9D58DCF916C7DD7B848CDAED357E874D9788C648775A9725973A8B -046CE0FC513437C9436D5278915F74956D7C9B33DFFFEFEEA13176D5E9C7EED8 -E9350EEE1451FFB840E5B8B23A0B065CC861A91ACC2268D2CEDE02799D369AD5 -B9BF63A092F045D25B39FE41758D342B87EFB59F6EFF26F009A5D5411424E027 -EEC7FB8DCB92B707FD2DC7A41FE17E6722BE107873749FBC39B1B02E0E926FC9 -9ABF2343B114AE78DC9987FF435B351002570D9D5A831B96A6FDECAD60B523CB -7BCC09642E31877EF538B6DA969BC71A152139CFF5C656197B0051485A3E621C -B1E9357CD5D9D067C2B0F6E1DE201534EBA84182840CBCA07564BE64BDB09A88 -5C7B39B6FC6E32A2B4F5F22A250609FD5AB034E79FB9B8CDFCF306D878975696 -79D0403D07D02D94C7836B542AA0A163406A81B4B2286A7A3342787C56A13AA5 -B9376622404830BC533CAFC715EFB19518B239ACB7E94637829E3BC6EE7B455F -16DAD8DC390637F1781CA7A11A3FDD7BD3FC9F66656E90596401B633612BEC56 -F5C727D7BD9A3C6303F409C302EFF0280DC344D432C96548A7165F3463D9EB42 -F0BBA79E2AD7C748571732FB1437454179A5F62A790FA31B49492AD4D3A30EE8 -CC221C9F501A58E97E028A15B2598D0CDDB2BBD43D80C69B69637B0CBF24A2F2 -E5841B0FAF27D855A4C22D8FD6F07821B3DD76DBCBC76CB0647E862497F022A0 -367CD77D2BDC6DC109BA966540D94F15F55BAD3C0C2D3114748540E6BE9CF5F1 -31591307B1FA1BC1608635A76845967C4AB1F3190F07C5CC085EB16291C6B8C5 -0046511F7B428757B62FA04C038DF7F2AB09173ECE9BB93293A8BA18B25087CF -20600A85099BF39E6D4E2ED40350BCC6743036D7E5AD9AC8C81C53AD3C5F9D94 -2EACAF71E3256BB90BD1D956BFEE1F7655EEE5728A90BD5C90CEF59FA7CE811A -A708FBD232A38267A6D8A3166CC04E073414B729A70BA253BEA7BC97D77B40FF -4FB239DDB790DF1CC9658004202391FC6E394875C577C1FDC0CFA3E305E5C003 -36D0DC031675AA408BF3FAB297485F413002A79249F6D5DA9825879F2467933C -91B127E329E8E6A02993E92B9DDB3BB4F93E4DB927449A29DE84474086C994E5 -4D15E4A486197F4394920F810396C9F906E8FC0AFFB54B032F3D047156B49030 -3119CC2D5504B057D86D957BA326E961501846829EEA8B847F1FFE4DB8C547D6 -396A1516CF68E589861B56C3F5B6377E22195E3FA866ECE9AA8373A84BFA3554 -553446468572F84A6C7D35059DA21546EA5D0A60A747CC0C2E6E29F1DD7ADD2C -6F756959A5DB3CA09F4134FEF64C2DE432AEBAD846EF2E84920FB3D085BAF23A -7E91F3C016F560EFA44FC34D79B0FAAE2658626F830A59DD723A391329B0134F -F6DC21AAB7FD9CBBA5BC1C625AA6C2BC7D9C12894874A24EC5A90111EEE65E02 -3892B8B22BCF79D983CC56FBF48B7D8DBB0EA0471461A14541F2830160E96B29 -6545EBB30DD19646AB2898FBE1D5962735A99046BED138D650620A35F39FDC72 -42EC7A5CCFE733DA53A6E23373FB2B49D52EC20277393128BE44EBCBB4D7C37D -E924B1F166A0C7ED01E33994FBD2004928082EF54BE02A8357C218637CBC59B3 -476265DFEA687DEFBD0E4BE9264F25F7EE02347A164E9A36B62D5E1EDCEE907F -392A1F2969F52446DA4CCEE43FA9E9BF4310B7A764B90B6FE1350D60F6F21D0D -185DCAC079FF7A45C2A60E65561514CF4928B8523C8368BB4E368AC2F7203A1C -49150748497BBA696E9DFB2FD0617EADFEC5706B4FBAB17E13CCBC9CC1FD283F -F99734D174E503AC25247D76FC76B1AD3A78DAA8AD3A0CE6A3ED326C96043B17 -BAADF2985D521A26ED378841F41FAE21C29339143F904EDC5CA27CA82B0BBC8C -647D31968E47A57322926336F7D5F69CF8CE237FA1E69108E29123A80E65C769 -90156286FE39B33353E85F540649DF392A458ECED452A6973C6D994CD728522A -FE47E7C1617B4F3233150E265FBDF30DBD9DE574D7B938BE61CCA3D275C5D76B -89B3CEFCCD927F9781320882BD26627CA7BFB69B3B76ABD9533F085254F21637 -FBAAE05DB5A50BAA63395D70821126327011E2DFD713323378F55A24DFCB2C2E -129BA5CFAB9315ED4DCE755F1A79013FE4D490F955609FBFB7DB8EC0AC6EBEF5 -DB76FC9DF8F4957F275621DEEDE9125C5B3FBD32174F4FE78C2563C0E00209CB -393B3ACEB8DE30AA20DD26B6894E316872689D5954CF95FD0E5D292F29DF1ED4 -0B0746E862F7F4D9916D82E82CFF6BFC8E2277A2E43F57D152D54C56123EC368 -B9BE0CC8BEA71A1AB5CF35C2CF7AA39AA539B56781DEAF53E245415454B530A3 -08B5C59950A279AE37A48C95EA86FF8339ABF4720AA68FD68B078B246373AF6F -E409295C5E1B6E7B733B1C1FADD4863FCE5E373B3E8439FBBF3AA45F30FBC656 -15BFFE5748E6C3B5FA9F3FAEE38263E5A5504D88A31CFA5B00E253062B681D0D -7CEFAD5B0FF85B58BD4A0509CA4B342DE63D25B935F9AB6DE5A30463DC59EFA0 -DABFCAD726EE8342A3FD62997C3A7ABC8AEBCF22DE843BB456E3987904A421DF -76D9D3337F9396D94A6A9496A4B5011C97F6D7262927238A579B29B08CEF0E72 -09C760D2B8D26D32CD36409C8866DCE819E59989530A3BCF2E374D7D0DABF73C -D365C0EB1EB94F356F72CA27BBFBB45FE5FCD2DE0B79D4E17398593B4515FF21 -618FAEBF277D59E5C5B72D6A1F6739AF3E223BA4CCB15D619C322E36AB334DFE -50F72B9217965D2DF82C4274E98CDC2753F48D1901765709ACD6E270E3F78956 -1528FD58DFDDD0D859F9DCA28306B67014263719016BC9298C4EFDBB7F4CCEC4 -E56C2D9B407F0AEA035DEDC80B4EB576AD60C5368295F6D249E74F686B8D0281 -32B91C1BD7DB446408EDAA43DA867703C9956056C700347557BF693335289143 -F70FBBBEE55DDC1571435DBE799B45B689FEDFADB3C756D67FC290A71AE1BD0F -44D918CAA1B3622247E4798F4A6D6F89F6A36B467322CA2D3B9BD3483DF80A0F -7E09D321708BAF010640A28F916E44396C0140FB96E6121FCE625F81566B06B2 -8F9516262397C4C0DD8FD22D072C28D257AE2132B7658EDC786857B9057E3759 -A27EE1E770BC0745D9BF5F0F9A2C2F457BCD31036EFAF67219B9C79981A68074 -D3EB41251AA58ADB9392B56DBF091AD17A51A291ED8FFFAB28BA0627D4A0E90B -B489573EDB53E6F150348285460928A848DB92143FCCC84F525D51F2A36D4274 -F9A543E5FA4CF3EA68A49FDC679F5961212FAEAD82BEBD924A926E9DC6BB450A -09E969D4C2DFC5723473B70C023613DA4CEA344B7233CEB3D00C6F0945EE11D7 -E0F701E2C8427FCBB0D57C4ED46424E4CFAB43A4E5AA36D1A38D3B045DD1DF64 -8B9BC4A96333CD95206F436486180F113767AE8ABBFC3D400C80ED653D7BC095 -CCE6DD2ECC53106F65E7736335AB2685D6A51A94061C4CDF3DFF06E6D879A91C -949D2C2CA8666151836E124F686FAEF0FB42859A172E2D0F8D081E1A73A5F6C6 -E61C586B43B28EB7D08ECD915CDBB1CE735C0FC08A850176DF9704DB9BF71AC6 -29D21D3374BEAE9D51C81DEB509918A6637E0E00794B05540EDA577F379B09B4 -19E10C6629A33E029ADB3A4934F05454745C6A17CC6F1359FABFB5AB53B2F910 -B5F397291E6A463A5AC971965FDA9FC053EAA894E1FE04A24F47EB19FFE67A3B -2A5DFE539C57004C2B1AC8C0A59764F91CC6E9FAD6158427F82B9E1C77F715ED -B7EC1202D698A6913D3EBCD6CEFD098076A6827DCBED5812B5F969AE9D4BA95A -F12C40519E33EF065C9C69496C2042267E20ADC4BF0C8DCCF5FFF524E5ECDF22 -B31A066015FD4A5E8DCF4C484A11E39A53C813C87CCBC147912B9EA28C535602 -B7C5D5882F4FB764EE060C3D363D5563865F67CC8EC87165A37D00DB05287364 -84EFE9A54C36D8EF6F4B86A79D79903B77469F48288261F83970F7B56CC0E6AC -60B1F2AD9BDFEE0372C4E5DA1EC2DED6D8FC0230D2875A58D127D2599954ECF6 -962CFEE9C966FD747F60F3A9E02D219BD3031B041669CED09F9DECB766806A69 -19EAD473044DD90156E552925DE0844F7B8913F83CEED2B03E27DBD811B6497F -CEFF454F02330D3F0DBB6F742FD650D8FC64BB8ECD63421002E486CCE5AD262C -E26BCA5323B70AAD8699467A1A720F87F86BA0E289E463F772CDB7894E6D7808 -BEAFE9E0A69CA4A4BCA8DF61C7260BA3658C8678CA2A3CEEDAB05599E1BEDBDE -B213CC753C946A22BD0A545590F53642F89299BACFC5F1936F9EE63388670F8D -7AFF3E514BC93BC357F1A037D0DF7A511AF561366C1BD53C203606F06ACC61A7 -9565308A39A1EAE5E9809EE7D948795EAA763B05B6027D2F597607DB8EB5B545 -EA8F935A00086D86EF34DD686E7FA152FF18766F9F680070A0FD20995B09753B -3EE773684F79D01C7F40DC742FAB74716753DE9848C0AE8E96203692C2137D2F -6889EB67827ED0FA63709951A68D9C426D3598EB0CF3F8B8AADE80C2EE0FC92F -96005CEF73FAD0BD11F23B003E7094C72C702727C315BBACA116E29F61C37B32 -D39A19D53DEAE15279C9A2FB1DF92E989B4EE2974D78738B0E39C57E44131EB7 -42F7C271EEA410273698F4C02FA17EF7A33C216FE37849737D62A9A339595F5A -1A330346B6500F33C4C37A9E1CD824B3D34947BC5FD36DBDA232559005C2B14F -C4D9B2CA6467E4BF0E835D9A29053127EC8F19B0935DC4AF2F3997C59B1BE5AD -6B4E8F50B75A501F60715783CD39DDA3616165AAF4F904680E2C01B66AE2EEDD -6DC49B5D4378F381A086E3DBDB8E6790FE69AAA2385E653928DDF995656AEC06 -61E73AE147CA437524B559D6EE05D68C1F8ECE741DD6E99C1C3F8946F9B9A002 -C534775EEA9D77A594326AA4B50C234C965BD32EC7F7E9CE813E24EA47C452D2 -E8A6F2A20B0ECFCA3209011E3328B5E458056782BB79EF56485D7E6F796E50B5 -B0E5375F09C46590A9912913F9C702E294633F5AEF12AE2AE0E279794ABE5F23 -25F777B4DAD76416CBA671CF7C295E1B539FA057681F86E6882BFCFAAE205BC5 -7C0A6D0DA33A4EDE00EB08BB3B863664BCE2E70BE0AECC9E9F7B9CD9C921324D -C88D67922DEB40A3DDC0096CE0261C3366BF374717D6761942460D115C9C3F31 -053A1D5105D6D1F8938222720E8FECCD989F95A33290CF0B48A41FE6AA8A135A -F52E439552DF6334711E9E47603D471F6F6E13C1B16BBDFF6BE2BF2EDAAB15A4 -CDE92BE381E945F8C9D3454D4B5789D1C70851934961FC16682021BB8711F61C -0A5C1E236D891EC50BC4B2BA6D8A2C6983057A10F36E52AB407E852822EE91CA -5F54DB15A878DCB322ADE1142636D912678D42A68C07719CE59360BC08ACE64D -31196B5CBA3C03F62930F8E23FCAFE7CB64E8451CAE1F29C093CC4249699654E -B64649C3AB8ECA5ECDF9B2206AE64953F20ADE3D43EDAEA9A4D041A05C5FF7D6 -C02A8BB1FB32280BFDC1794647F11C7CF83FB1E9D7C3283AB3DB8A2B8E50FA58 -59AF00AE5134AE93BB3689A9446E55D42DAF400AA41C5532BB9490C00720D309 -E279614BABCCD807F0649982B356228F2B5A7FCA0CAB90969C23B71DD27A9796 -D096B860743AF9F9734233180983C4218D5234AD1E28BB2489DE60D8CBD23D2D -A2990C3A2310091FA37B80BD6C5B963DC989042D254953EB7AE64D1C965F1ADE -3EEC885838F428458EEE082EED5DA4F267792F890BC757447327BFE0A7BD11A8 -CA512B4A118E191E4F0E9AF7CF3B2184D49A3CC5751E59CFADC9A955DAC0C0EB -2C6F9CD152E90D780EF52B1D7DE430C66CE9DD188EFEB2EB3249B6B59467AF14 -6809310C1157E226FD7C94BCF528F741F745E3940C1F1B9CEB731DE7C5BEE08E -83A157EDD5380C618336CED69A064B2B8091B5F76CF63536F17CF81AFB04A225 -DA54D3EE177EBA1B804B7949BC4B8758C584D67C821633B563D72BD9F834017A -26E32DFC18BBDB6FD96DE9BE41254E676EA376EEBA85C15AB5AB88B773978F79 -BD31844F188F4D372B1810F9DD89961A2EDB3E129C80121FD1035E619F36081E -CC276BDE9146156681A7482B0CD3A7E963BCCE935C3E69F77035C2320736930D -C935A27D293348A28937BFD30395075BE40F1C5474CBC7D65BEE830271FBCCD9 -DFAAB5567DC25D131547E4ECBE55B03EFED0E44277559DB19FAA37C164B85DE9 -432D7364145D7E5DC443E920AACB0CF6931719E08EE784B25D848AA9CFBE5539 -761F88B94C9886394A7C1D9B0AAEB8612E11FC84CD3EDC25E8485BA5690086D3 -E39C038A53184DF677721C03276C629D414067B4AB0F6E5B1AE6FBC292FF71B0 -BCAA67C86E452CED1749AC2AA1D02CBC7B5BB9C564EE1FB3B45B2DCF9E1F9B2C -D5DF634277817342C527618AC1B86BF15D4E248CE50D5EA773A118EA6A37D658 -57954885B158B4A434CAC9457756BAC356EFBA3B00E9268CBADB61DD1AF33CDF -A1DCA6B8D96757925E509DD7B0D33BE0C21045CDE0DEA92FD943B1D0E2811F62 -3F061B367DE01BDFABDF2EF3FCF0491819D25619AABADEC9965FBFAD1D58A802 -F8F253F46AB4756ADFC1B3DD64326FBE340A71021DCADEFC44743C99A9CC8575 -3B0C7F25CA9FEA918F82AA648FEC525EBB75B1AA47216050C74088FA42091BAF -3D95286800E400535A83D504A353CC016A269D13E4C74E79FDCEDC4B56905217 -9018D85ACE1B989D55731515706CF39AFF2ABBFA8489F42447E7560C3294FF60 -F58785664096508D35EB80F81A39493426F3C1C070D946C77362C925897E5D05 -21EE4B210B79B3431300CCE5EA39355FEA878857CB789D16B957E39F995CF488 -892FF7FD7CFF4AE95B5B32583AD35710EFCF4C5CAE1F96AE7BA8DEC42CD57C31 -BCD3318F0F7117FCEC41E4BFE543CCFC69D57C0149EFE6075EBC81592E534564 -C7480C20EFFCB57D3F7EFBD3952F5599A8AC376CD2BBD4EBB12B44D9D9863569 -560D2D59520DBB6A2613D3174BC810C89514E0828323A9164D20832D2C75153B -BF388B98239B4AC9751AD57C2A25C5631EE7BCE893995F10306766D483FD867B -C29386B3BFAB3C5F9A07E56C8D6D45336265078428FFEF66E957602C0A4040FC -291B8648491AF5CAEDC6D40758E436432C0BF40A93F96CF1B4E9492DE1D142C7 -47C422EAFB4AD732A345B3BFC2C615A10B59F29FD8C58B6A0CBAFE329D9178C1 -744D14FAE70E94754EC67E41B837C14AC865630F8C9CD1E9BB8E97EC953BACC5 -0B4B5B4F04C75635E2830876E2AE7D0EB0B2CFBADF5B6E41231960F37553C42F -5F5E83B41AD4A75C8296C3ED321333ACADA874EA607FC84615E06EDDBB31B456 -8593F57DBC39EB41A1C0DD4539B7933829AC1B116B8661DFE674EBE05B068D1D -C4209B86051F6B585D66AFE23A5501DEFF3EA0C229F218D861FAAE80403606ED -1310B5F1EEBA5B1B83A6A959ACDBFE22D46BE01B07B8B7FB5B0CDF1E66E2FD90 -118A192A9B1E97B5D1D9165A948744A1B960DA72AF308E496E9D5FB2EECA8119 -808ADF470941702DB7235CE46FD7CF378A3CAA8D6970B15578A12F894297E27B -7E203AF7F93D6D2B194523B2D51064A3272582712ED56A12987BE676E20BCF79 -D9A507162F330F648A4236A1283DFA6C602F87A4C1A1AF205DC57128FF70BEF2 -50039CACA401D3A9002EDAA9DC6F72CEA7B30E032AD42EAE66789C13680682DD -C3CE5D10483745E6B12E963683CD1C5B2F86884A0E59F2D04AF9DED9E822DB1F -E5F14CD13AD39ECC1E8745B05B879834A8BBAF4578686557958B2257D0B34356 -D89D751E2BBA14F3755273479DC653ED01F6052639DDA9F6CBD9A4A319357F91 -B2D2BF5292B32BE971F2EAB21C651CA38FB9BF1B7C3F3BB46536F63F61BE88B9 -F8E20A197C1B94FF572D53B4BA8EBC6898AEE82464570EEEAC49D2ED9C653877 -773B3ED7E9C597952A6379F83F4177C133A6E770435FA67EC39AF6F9BDBC5849 -A1D27E68F5540EF421A081BE87F4C3C0178A3BA6BE166BB18B669E2FBE8AD2F2 -80A1979B7356E82388B51A98243BB9D6C29B2653E104B916E6B1A90F96885ABC -5A48B448448946E274150F1AD1816CE4D56D59CF148AF178947E52FA1EBFC874 -0931E0315C5037F24F139CC9E039A184EBB036ECA2033A70D9D14DEC4EEA2B9F -A0F132F6E63CBAEB544683469D3A5866F65E13CDD80623E5499584CCE7DE8AED -A85B1F7F53567BF58497ECE9A32E7B1EFBD9FDC256D724CBB7EBFDE3924EF67B -E944CB5396696625CE74F971CA520204D8D9EDE5A440CAE121A208DD3BBB0AAC -EF332B272870F26C605DD0974DA9BA728BB155303F5C5751B9B7B1FBE515EF05 -D481B9FCD96E6F3DFBFAFE846828ACB2AE66C90C6689E66790F1D142B3D4331F -59896FA02F4588D2C4A1666D6B3E6330059159C133B5F80C1FEA6983B3A7D65E -ECB180A121C6117D53C1DAEA9E4FAD13B0B3804208F11F175593673477427338 -FE402CC01CD6D8B46908E190BF08A477D7C65B58241EA83F584490FE1D18CC18 -18503402228FF42B65ED61368C7CC198CA98A3E269EDCF1742F59528EB81FB5B -017D5F3158B2224EEC7A2C21CD2A701D834F602760229B9CF2FFC290405D7D21 -394F7CFD9D7B5413DC52B36E2AA18BC769B4DA6912B2452CDE7CF15746864CE1 -A45E9E9268822265D1380A3CA82F651F9F8584F3C75D366C6BB96A732E23E0A2 -E1E1F0E4FA87B119E547047F4341638B7D9386C0F8F2810E03A461512EDD9C61 -2EA6E18D0BB04A3CEBB75498A4D826043CA86CB57FE14A00A4FA5517850E1511 -6D7E0664F97CA7C495D01D02908BAAE8160B0B0325E73B3C85A34838979B1F42 -70EB7B0FBAA076DCCE4D1ADDDCD332F42E4FD943515FFCDF34735034F13B5803 -42F0605590B3A8A23C0D6308A621EE8837C79290F3341ED3958355F0B4927AF6 -85BCA5A62FAD45E72442F541EC9A89A9937ACD7904C9D3066E059CA6E20CCFC5 -7983FAFC88F6844C274A8F42D34F052CF6C4930E6871A4F76B573CDC48B10DD2 -5980DF5663CDD00B7701C7DC0D72A535713E6CF18EF5BE8F7D315F7393890BC2 -5A641672A904E7CB8B407E0766E104E5C4DC3DD88F6A8EB255423F0F0E73247F -C4AAA97C03F2FE4AD4D10EFF0721308C6EE85F53E0EAD35F0F64567C84D5D202 -872A60C87EEBB3B6E85AC3D20E9DB260F37BD182AB50DA996406BE0B0F579EFA -7D81AB4B77CE39120C3573941386275027D72288CC873817D6E94C7BC657EAD4 -D76DA726352C2BC7B20E357DD64B3443BC80D978B2630A2AFB2293801662BE9D -D8DF886C0A4567F351400785B66D70412EDE4B53696F345F7E62738762121BD5 -0121BF06267D8534D9D02261944143F7470A2D7D70B6C30B55A9A103406D8CCC -5813E8C3CE294AFAA420C35935BEC915ECF17C495D79A9CB8DDB75E8A1C6A525 -1B1B420AE8E0159DF7AF26D635C93953ADA11C2228E0443907EB72B805644363 -65EF866ABAFD03CFDC540D3B00CC0AF1AC1BAD7D6B16E99216B3F20A4F09C559 -055D34CC6E88532735409162A53B077C37B06CA194AFE26656F180118B1A48AD -737B56AAA87A494E9B2F34D3ACBFC61C0C9620A76C0A0AA8CDB2B2B0E28D4739 -7432829128E83DEA68D6D4DBCA1648897882C8EF4C2FC6895FBBB6A230563CB7 -AC766E4C7BCEFEB342F9A5FDE6B6846FB50DBB5EEF8C6AB4F839618106250CB8 -C0EDAF9BCEEF07FC68D3E13135DDCF20EC52D6A25E533FB9E29F84CFDE8A78D0 -B5C63AFDBA8B1C4F74FF7127C7B49241B69EB9B7B126F5C575ADFFA29B27B4E1 -716BE3FA246B6500F278919D571C81EE27AC3CF8696871796A560761D477BF2E -71690CBEF553D4AF7AF6CBA53635C89A0BA6844C308478A476A42B13DCD01DD7 -73C4B2D0DFF0C0E1FE6B36B7F091307DDE52E330DC8BFEADFAA60B9193CFD6D8 -C3C1172922D6E46FC2CDE41CD0FCD1B88D485E0FE87B9458B9247C82060D33C9 -B19A7DAE9AD65579A99EFCAD02BE6390860FFC7C4E3F96235327397361B0BE9D -7B2F2EE5D47731E86DB99ACFE39AC140AEA0EB6FED70362FAE64391914233E8B -19E23092C71ED360FBF6E445E34D8972352E5D34E11B00F027B068E431C2E8EA -68A511EDCD103577D38CD594BC86789644F3DBAF2FA1FE1E4073C29BF4E39E62 -0020FD146794CB5B6090E5BF13B02355A7689A824B564B95845E51C03048B476 -32CFFB922E878699CE93E25394EB242BD21D77CA71D28EA7B6939A37DE1DD8D6 -C1BFA07F113631DFEF0CD8ADF418EDDF1D1BC0718F554CA3351AC97DF5F6C40A -B4073F62C3E604F76770D9563F149B50DE4819D8C03077FA1E2DE8AFC505EF4B -591B5A8D761B3018D5C5DD3D26329C3AEB150A34AAF84E5E1D0590BA2A17BF5B -E36A4193D13FD446339D3C9A1D4C336846C1CA17337F014BC0F52747878BDFBE -4DC8D2B871BAA9DA59718E9FABDE91AF2467BF2A322C5D9FDCD4D90AEAF2DF56 -A4446FD1C71E9FEFDDDB6940C33EFF3D60177C9681A94EFB154B1AE000292D6D -3B6B9CDDC1982FBEFF024B195AB1066645F80DD1418A70F8CA518A219EE35AE4 -D046C9560B162713FF31F2A5619E834957CB1CE9B561215711FE48927A370F53 -06FF00FA14506E42912FCE82DF59B8E1697014E9708A2EEFD0ADA95ABC545596 -FF2DA33F77D87E10B990872423FED32E3B5623166DD0A579664A46CFD8F95E20 -E35B03760E964331ED2F7FA937F9BB078F71F31ACDE4EB5050C9F8EFF4223FE2 -5E9670292E319C371791B51C7CB90681D8302BAFB9A1DA864C0C87F694ED93CD -D46A5BAFCC9579A5019A9249CF72771FD412E735D8199A48E04103CF78468E5A -AA222D2F1C9280EF55DFA685959400282E286BB56538807F5C87B193224A889C -680E05F93BB9210653613BCE43CB292AA4BEAC36C5591B5026EDE95BA780BCD4 -62422499D61B7F2A888712264BCC0B4B8B4DD28036F4950FC9DBC7FC525F5B89 -3924EFA75F7F50423B506A5F8D46E8BD5D0C5147F2AD7C9BCF57A93F8B188D6E -0BC266CDF09C0B78D7DD79B659B4F9336B98D2CFE2A0DD15CB79D87FA528EE52 -7C5CF1E83FD5403E42DA8E753051CF34C72CF5901CFA96E2F4021EF63622CA73 -F416404FEDD730D7DD28075299514670AB74CDF77609B432E3A8ABF6CDF34BE8 -82C866F9EEA56C7D36758D27E7DA6D26A37041D7DC19A8D6FE1CDCDE1A2FE3DE -51D29AC8CE19F6885A6A8906C9F3D54224028FCBD2D34C225D7165ACE46B797C -3C8B6840895554D460F6C7CB4A4AC0B0B1A8CE7016E2CFDF56072C7CC6E0913E -E924D4CF20226948F2BB641023E9C77824CC393163794A7C34E9925AF03F9E5F -E0AE47FBBF6086BEE6ABFBB0702788A63F8C5174ABDDAE23C0FB989D53EB4AE3 -9699A447724DFE258636E6DCA1B6D7A2D434C0415967C672B1F843856F87BBB9 -666328FC7FBCD4F6D120565BBE9F15203DBDA16D0B9F44E4DC1E1FB4BE45BA00 -63891961DB1EA0E711B6A13AF3BDCE301BDD9CA172E2CAF4F5BB67A1E28BA76E -8F574B86B036D79F24CDDC1FED51604C497C55479B16319471606F74CA153356 -09060F16951F28921F61C65097DC59A8A3BEB9E47C036FEB2ADB906C4339D227 -28463D527C20044AA1251DE1563CD4C897A62693E4F1FB78888C7159A8EAD8D1 -B06779571B340F6A131E1D4911BED7BC25D6DAE32928119C9C76664E53413BFE -62711326E3A3EF13E1B62F8E84E5744807BEF8F5C7035CCC2D693585ADC56A78 -D4FE6B027F4ACB9E098B0E6418045226B5F6F2349BD0450CD1A567C7E8ABC433 -8C4C850D60FC770C33910356567198F239CEC1D061A5C0D31980C379C93768F0 -728E92AD4DFE86E9F23EF4B7435939734EC22F02B029C1D4330DB135E3B8B092 -D2616EB4AB01BB854A5281F9F2CD67F6FBA75C3E5E7F70999DDE833979C7B3B4 -BF16433EFF4E9B234A85EFAA4BAEC9C47CA9C7BEAAA6D87458CCF2E12A38CDE5 -4D4CB4F60F851689C0DED75CC8701881BE66ECE19CA9791E9959215631B19C75 -5A35F948833D1228FF297D7800FEBD3F7A2B5F039D9CC39092101603F0CE8B76 -F1EF3FB06907054ED6A67D1C9E34769D36B19A12320B1C16B30DF6CF1B17CEDF -834FD6902344BA4145D7120C94882C75E30F02D96D8D7313BAB167A8A1CD4E70 -D022F26AC307F1FF2D098C1E6D89B9228B960054248374A313AD567C902B6814 -263B20792737EA1B42A228795AEFE63EC95BD7F06EE15AC1D0355D57AAE276B5 -FF364A28929E7621BC14719A265064CF6625976210806979280850CE81F1D1B0 -363B275C7A6D6BD8D56A5DF05A4CA41184BEE1D18496C3BB96DC3386FDB41E06 -F8409B79B1971B6FD73977C36A8C0A7742E7429E389CD6EF5FE87CBC16549B93 -5D31B5DE762D3BA5DDB12664314E094CD3D1E3B854B223038B3AB373C41EFA8C -3BF4D37160927CFF10954D279B2C5AD85E6E6DD56BABB683FC01D824C546E2E7 -A7FF73A1CC6330E05D3465A34440FF5581CF574F9F335CBB0F836628117819D9 -A8E4A579141A7E47EA1001A63FCA77DA6E55219BD89C64A75BE45FACB2F2E48C -A7375404E79BC059AE2839C0FFBCC8F945678D95055046696F3F2B6D8B2D7539 -BBF07A064EFA2B75EBF04A6D780A6A496A6F25593220D413AE1E37D0A08A8713 -19D6A2500B3C6467FEE0940586E4B2C524F7C8C92924EEF47EC0ABC373DC1F43 -D3AE4879D6D4495DFEDCA0EAA8134F41D5329EAA414956F1398615D779F13AF6 -338D3255646B5BA8D9C75D24A5FA1F9B0B91EFD97236F9EA50286D83C6F1EE43 -B040FD84E62469D9CA5A946A9567D2706D33CB19BCCBFB19A9CE3CCBEFC058FD -CFE63199D28E2841B458BA5E2CC0330094594FD4BAAA432B62E6F03C114E9D89 -7929597C7A8B16EE964614972FD47CD357E32D9E7581D407EB5FA16CB0D06517 -A3C9C88B756AF52975D8F419E5FFCF778499597748EA8EB85234BCAEB1AE8D2B -BB70E887569E9FC08D981B3C76E5CEF81B0B32953B92AA61DE5EFAA5310C2F20 -5E2ABE8D48AE0230986FDBA94C8D0006C0DCA86B3CD91B979B5D68277FFB26A6 -046D331FEADDD50592D143CE3628AD080B314ABC5EFA22B58B65B629E173AEE0 -55890CEC63AE5C4ACA0594F055ED0F8400A367212541A3E6164B00AE6070499F -1538603A87CBF4606E305005EE95335C411F2B396231F1B3756CE8B6EC95595F -8C66A933F2EB729A381FD502B02470741F5F7D2909C6881697772023480FE87A -E06E7FF3C7B165B53DE3531A35AC1C8C3EEAE32F44471249DA431B381F3042C1 -3D2E9750A33CB1416738B014EEFE93664B6856ABDD56FA5757EDD96949DC870A -FDA5561452DA2B61C0126916D5B8DC5D776B6495920F8A56F9754A74A47F171A -3697C75E6DE088AC7B7D7B3E8823DBBE4B66FBC2ECD8B907B428C0A5ADD93930 -45B92D9EEF1F64D9B364B4CDAF486C96B38304CAB171686B3F07019B87120B19 -64ADBC525F2261601C7BC5B17E0A1ABD4066EE6705697AE8C0992807CA3C8489 -70A76918BBBDFC662726E201C3EFF3A4626CDA05745446493CDFDC5D6C812DD5 -8CB7D705649C363FC0B111F3A6C7C0F233F79BBAEE2793C1A55561CA16B85B93 -69F84D39B401F72A8E4FE159DA89A217CA0B413F44B7592F16EBD523353E45D9 -F6DD625A39848DC224CB982A6B9F535D4A27E0BC3B2BF8EF45657E1EFBD0EBB8 -9BFBCD6E0FF339913592F43F0841F7FF864C296DD12580F0803FEDB1DA850D00 -9A8B3868F409581D04D73D356561D2E2E8020B5F62872C45381AE760D00DE6AC -C62396DAE0585B6F0ECF75A1012A63A4D54073E2D80D3CC5743B3BD03D2B1D52 -933CD3E003F28333A88AB2F091D16424C4C9EE3BCCB901E40349C6E33858B246 -BC8788B03E7B983374A37E8618B8377E0556FC76C6C87B6B8F4763D21E00F892 -4B37190E27C266CF556A12338EE1335BC5890E9D86D1B248FB67A10C358D2DB9 -AB3FCD5288973C84880DE54D5512CE587A61933AFAB1669A0D2BDBBA85E0F8C5 -2C6D6E58871999D177C9B30AAB9CEC401EFC7BC457B8A00196D228CA0E12C709 -228419492684F9CFA0B7F764D2675B672E83A7E0F39AFC997B56C6E70A447795 -ACE4D67B2832C0689189CB6A9FDE481CD3A2CAB2BFE336B929AB0954251583C1 -72402167F089E58610DF14536C155092B6998BE9CD99736E122FD3A3FBCE1953 -EBA1ABE66038DFE8C440C98B77CF80E9CB60E3144C0D80AC23DBF8537D690162 -576A2120C201D3F2E4C38D466F7A9FF33C7A8DD9E39AB1E2DD0C044897655FC7 -6B996EEFB09D6E0536C59320F8971BB5E500970356A296220233B11E19BAB3A8 -03F82CE41B3751753C320025C53F1E6304EE6D9727FB9E61AE7D125D4F656F90 -35F8AB032DD3FDB56B3F99F7828E95DF01C1F094DECCDD3AC4CE2FECF037B4A8 -6DF94FD6738E8D487A4C76A82C223ECE7A50519E6C9CF02CB92EBE0FA1BF6BDF -8CC79E6197F8E5EDC387660068C235010232B0ABEA843D722E265DA77D67FDAF -2C0277C9BF9914C322A06EB63CF8D33CBC17C7C619A16D2A0553A2DE83192009 -E9228B7A1D17837E5F99772D0A684E50896859C1DD87B51D090AD6FC0D661F14 -9EA1EDCD97EB9200E4DDC04356EC05453DA0DB84C558C55C3B7CD0C8DE5F511F -733E0AD84D1FD19474D58338D2FC530F11FB36FC72D529B4992606CE8D623850 -20B07D3B2AC91C7538A52BBE3DF079B0AB4DCC1EA2D51E3CB6321D2F92769893 -3A7D0AAAFD015AB189C1BDC9F8AF96185865E66F633A6BD74DD553B1D1B0FB66 -89CAAE8C7D0DD7A7EDC1F49E143B5AC0851330E64239DB148910C96834F9570A -65736B1E973E0DC7B65531B9A36DC5725058C466CAA1A4EF667FC9AA5A3707C8 -4D5543F8933E3DD5E0B1B8C242CA7E8892BBF6CCD481AAA99B96522FA77C1227 -A7534D02E08FCE557A93BE74E8084CFDC916566C47CDE46989517FCCA718AF98 -7FF243F5D75FAFA39D49DD87150D8F62F91A869F12F53790D0F5818DC6842E51 -26D98AD2B3A25B04D7E19D4198B02E57444DCC86D3C62FE9E0D7129DAD344D1B -F4C1EC4C8B096311109F5EB48A5EC3F4931EA134388F2B46B99F58410BACB788 -F4470FB91C8118C2A0212D5F8A4024B3B6DCB37BD1D216056B1E8763A0669EE9 -76835BB2234E86EFE2D6E4D7D882BFCFFCF29D4C553195A130C956CBA0B0ECFD -699D14A277369E5A7A5F4C482681A23FC8C7523E4BA4BA8383994007125A06B7 -C21068BB8946DC829473503EC92C873E63B9CB8631D76365C619F110AD5EBB28 -1D690D791B69BF643559E753FEE9A611815846A2F45699BA4F1768F162ABE615 -AD05C737E64E3E0E5E2A92A030D29051F74C8D6B2BC5308820EFA5FE40279C41 -1D21332BDFEA24AF7143192D6146D9AF64BF827FB2A23F7FC66D0656A986D477 -D98F41AFDB453C3C762E1D729DB377A01E9D22EFFE6E5F39ECF66FBAE371392D -D04C813F16764D194F60629538745909675CC6B087275FEC0C6DA3970135F43B -54B3DEAACE34F3F5DE1813D6E445D15E230277B91F47DA19539DD198A9349340 -5888F8D44F26AC106E9D7D7BDD133DD32CDD56736126A4CF401252BDA1C2240A -AD1653664A317A99B117BE4840A7F8A03A329846A0B927ABD28ACBAFBAACC426 -6E78328BFC11F47BE45195B5692A4EDE6FFB01FE2AB1B2678C39EEA39C74C576 -BE5D26667013087FECF4D6E397B54EFD44FEFFCA1ED10D1CEB2093C8FF01718F -6E420C769B60BC91D4A28EAA6DF03C61869E96146CA42FEF5EC2ECAC9C2B3DE2 -E43F86CEDFB029B5455503B63766C4EF624D9A04508DDBB5C38C0DE662AB1FD3 -31EF92E1C39C8B1DF11D00A4A0908A3F6000A3A7FCF6F73C5738AB3271A5B75E -CE01D536CAE4D86FEA334727961F1AF27A454947C737B44A3F528520B60B6200 -E81554075F94FD00C4A0852F44068CD096BCA5D6D3703BB886B8B5EC9B9E3B0C -D5CEB91337B3B3A9E5173C2ACD3A3E3AB4A1B9BFAE1054640DFABD1F6B0C22BF -363CB43B26262AF3BF8DE092B180FDC6C9BF4ACDED6C3BD0F7BA3D3684EACD5B -235E557FF4CF03FB3335E7EAD0846C5753C68E510670D6DAE77E0BA5101E5C89 -A68847444E4B6CBD8A1ED036AABD5C76D7902F1CC3AAB4B7F65AF3097F9BBFCC -3D79313CDF148613C31E5DD7B1DD974EF7EA50EA012F77DC1067323AA92553C5 -DDD670D1C5CA695290DF0579EA6335F7E34EE8EEBB219B75706106A0F2554F5A -7D26D6E4A642CD3CE3580C69784E95235F5356C99909494ADF969A3DB253DE9D -EA60768AE4AEDA02B9AEC2033D7784083105148ABD3CFBC816EB988B01F652C5 -A8C74C5FDDBFA5A13FFAEC90C77D932A9C41578D7DC49B11AD98DF75E7B7304E -30BC2E8E0281B6D2FD57D00DB836384BEFBA8F517F6DDD7F9E030019F27F237D -E5DBD0DB7D3A0A8DD34842FCF33770454A12DF553220F15F8916F064CDFBF9EB -67FC0BF6BEA776851431277A23D6228F6D4A51857B72E165FAEDA87B1631CE28 -E6B0827F64FDB35CF48AEE923C80B53AFB84169EF6F1574A5643BB76B7331024 -55A7F52F64A41052134BC5AD2DC092B21B033C1C4024B03B360799368594AECD -C42D45591F9875D46D5EE20EE703F1AD1C205E45D9845AD224C7D3F0EBB66F78 -ED96C162CD2CE58B5C18BB5D7938E06A860F7211B8B38FE9B849F58F8E809489 -7C6579EFB9632A0911E28DBFA491BB655A7C2AA6A833CBE87E740D3D2C +318A99508F5D2FB656B5A91E94F80F74C7472F507428AADC375AB9F18CCED8EE +9DD57456CA8DB8D3B133596CFF2D510746BFA00B23F4001A3D0E8A24476C497F +A14422160995F3378EC9A74A5D72D776BF8BF91146E73518E61C94AC5C7ACEE7 +783E29B29962E638F75366A0C0235475327F024CC6C824A52A6C25E669546A39 +C3459E06945AF250269C9F7B541B1EDA04DF9B9C7B442CC7484595E7B1A860C2 +EE36E1F845BC6E79C445E11925A881A0D3A9849030954BC5FBFED8D254AB3307 +A399E20BC127C05EC76D54C928A3CE1F99F672A8F47C8520C5D444D1EACEE114 +A71EBF58CA1088DEF117A723C391F62C0AF3985BCFD5526503360C33B1DB957C +039360854589686E27DCA9375B709FF2F8F5EAED9564F979A245AE2498556344 +69E2A27804B51D5C52844E3582CFA648E82492354EE0A312AFCC4E90866F63CD +173E4CC6A74D82568D0CD88E078BEB0A5232202C7F74C3A8C80DA4CA4BE6C421 +15B80B4A2A50F91F7841F60C5EBB4DC67ABB15A3A285214E20B5090E25EC9C7A +2A8F1C9F2FD755368F61370634A37A2EBDC4B8728D2439D55B73596A2D5B28BB +A83A38BFCE4B84AA3D8D373C53DCF5DBB5A327D9364288907C0ABC0D5E6B1D1F +7E57E3E21ECD67DD9E3F0E86E00BAE52ABF645D6FE70EEBAD9C853FE34801A46 +8F6BAB6A2C22BAE5DED459A3F06096ECBA2D20C707A5F47FA067FCEC8C8D6466 +9E478B07712A577400F5FFC65EC107578C4E6F28961509BB7C41E49F5E45FC1F +ED4AF951E8BF1B261E06E4D8AC3B4CD60AA0FC495E73E6203605E5473047818A +46C98482D55F198EFECEA05092BF11A982798FACA6AC540293AA90208B56E2B4 +05A05AA45B2F8A67CA109A6987A670340523EAABC230E0034454E773C31543EB +C1C2A99CBD1DC7532E2D2169C3C25B5853E2F0148E4AB501112B8BF210A5B39C +1C4E8991DD2DDCC634D3D63415B5C7DFC564102751C1BCA38AEAA8F4E69D603C +13A5B5A81BAACDBF724AAF76189BF3DB6239A7E19A1B2D6DB4943910A0FEC76B +233994CDB5A903872A55E51561F06A6B999E0F91C9FEA20E0176612E869FC157 +CA648E8C2C4859D3C17905352F1E950675D8C56369B50BC8C75413021319BE2D +C982926A6CFC9FDFD4BD728E8FC1B6FA1074FD7271C136B260C013A9A33CDFED +A82DB154C0423B391E7BDD9C5B35D92D3C4F5CA5C773AD3712840EF3BD5F3C0C +9BF19092B9296CFDA740566999ABF31B92E8AA5A92D29840D33625338A3E7C02 +5854A6B272591E3B581BFCFC1620C9C0F0B128B0B69CF0FE34E56B191FF65DD0 +59BB27457FB4CAE161551620278082F048A6BE2B9073ACF7A6BFAC7D1F9F7F0B +3DBB05CBA5BE5424E1A07BA58458074101EB3731E775802C97133C9FEAE5494F +C0EAA6D6CF2DDBC064CE7696F610A3DD93024161BFF27FA1D8075A295BE3B80F +CC225A257619628F07D9D740349854CBF43BD72E25F63249470C6AD3E171C6AE +149931C1434F22B467BC377604669C077F5806E9193F9E16A737C19BD3FD5C3B +7420A718C022EF57CFC7D7BDFE22C3FE896EF34BFDC09A6D5A6E559D6E1F4D31 +8A6B69C544385C1CB338D352749ED74FD1A051ED6579D5F1673522CB02BC25D4 +5A9A51D740B3A9B6AA52F2B9532A32F4C22FECE7BE96873ACFA2836063BABD50 +D4D0647FCF2FC9975A2ADAB86FE1AB14A5FB4C3A576387A993E9EAD3D401D3B9 +F231F890215B7192A71327BE72F2405E94E47EB82C9A7479B00C6122A94DFEB3 +293F1F328765B0AB7A2D4B51C48E5E2B6E7C96C765EFB49FEBCB593DF1A90284 +4C0723CBD625288D62D821F47FC3C28473B3C5DD3322C8D16C4EBEA14523376A +844F4E51F255B2C1FEFDE840EF9F3E5812411FDB55185100403155B295C63B3A +DBC92BAC9D6973F0D609CD11CC3C3BE89C92CDB21B6C976164FCE64C78C7DCFC +DC64B362067DB28BA59ECB57C2A5880EDCE8DF84606B2A87979DB086E06ABE21 +2663D35368F31CE867F91BF71FF831CE0E38084F98D501095CD4706C2B82FD59 +4E1501EDA7B03CCA974AA84EE5B39FED998FFC3D641B2634D72D92AE5B8BE9BF +64FBCA1B8A80969285372EBCF24A27AE19B48009B144376992058FC36C23CC5A +6E4A0CF12337A9EB8AF4EB6694621877CAD1C713A85940DCCE4FA1EFB2CAC5A1 +5FC3CBB1E61418DE140D044900F52A6BACC68CECF39C9491756BD3153D07768E +9D271FDF798A9BE772E9D6203CB03206020B45BF76810C0315448861A5A2030F +DA8EC1254C22D7CC89684B5AAA2141B7FE3AA4EA3BF55D907B8AD5FDD7488DF2 +A92B28261638A4862130B2EDC13E78F97B9E61B0E933F0AA0EDF58A66BE288FE +84C209CC1881C5E57ACB026EE9EEA1CBCD4A4B02E7FDEE62BF76D885E26B2297 +2C274B7FB21A9B660E934FEA1471473999B90DF953DCFB6D68DF5D2E021349D3 +14314662237C892EE094D4735D2858FFCD6DD748530645E493C98D80A8285CE5 +6715A6328533B1397C3705CD56E0C75387838B370112A8B235ADC17A0A56E03C +D175FB1AC49115DF3A8068BFAE58E8CBBCE530216BBBD0F9F3944427571544F2 +8C62339695952397AB33C31BB14D2B0C9F3ADA35ADFA8E4C4B60412A4ED03363 +7EB00119980897F8FAD36DD39AAEB4D841CB7FD8A232A277AF527D50DE49C5BD +936E0784FA8D2E9820110C5BA10584B294B2791FD0E49A687753DEE31EA923DE +BBD92D8C08FBACD88FE0677BCAB4938C5902229AE85756DA918D1EAAC6290FF7 +D9F6060953B2BEF26E8C07CC430D70EB307F1C727A57F3D46BD6267A03FF3437 +E1D2A9716E3C4054FC42D3C0246721BDC61D4A5BDD65016F90D55BE8FB63BFD7 +06B527A49F84B91FB321607879A9669EDFBA9668D1B4DBD407A7D53F7EF6CC40 +83B4F1A930BA2432BF2C984C4EA14CBFB7030CD0BC1DE50473BE03E04BE50DD1 +7FB991971A7410A7EE4118F6FE4198835C448B709D612075D0187F1D064A55D0 +BF3AEBDEAC29A16EB33EB458F44B0664E74A58EA5BDD24B9EE38374F68E2A923 +8E6EF9E9F26315A22BFE353D875F5ADDF0821009F568476C9642BD3B942090F9 +39B7902DA57E8C13BDD10ED0E137F3521D1B29F287FD6CDFA7D26E2EAF839C7A +38F06ACD6D713FCBFF0510C4C35038553E463A0761F0A23DC9030F6CC4FF96BF +99AF97F7D9267593812BE751607032E736626FAE21BA2912CB67547A5624F9FF +3253923D889FEADC594F8975A032E566CEB10E876AF5047937881C262732BFB8 +1F73C6FD56077C00902C6EBB852D1747B8FFFB1468E8204A9400C4AAF7F7504B +89244B5317C1DB608BAF91FABC56827754D6AB01EB4188C1DD73EB4258F962F6 +D18B5C14089225B509D23D5CD4C1DC4EBDEAD354A1B108466BDC3DD86535C7D5 +9DC062AC8F099821864264F13C4AB2441E7ACD2C47AF331AAEE509B0BA31A92F +18CCEE565B5CE02FF94D635AAAFD9497FD00E8CFD213D22F06BE684D43369131 +24DA92CD0D50373B137892A8B6A9D619094621247B06BE1E433FDB25CBEDDE0C +A7DBFF7A6CCD6DD55186F56A089E3901136B014C0F5AC86C819D5824292E6FBB +17704445C90AC7BE8252FEB750B78804B33B2CDA000073A5530C7A7F2A4AE279 +4D627939E1DF094EFFD5FCE391C4CF81949BF45203819647EDEC018D18CC1D5A +C0C1B1FE3D2BCBABEA21861E2F2FE5DA884F134A93F17F001DE4D595014F3E76 +D4ABF5249A652CA8B53ECE9461924FD87EA819F5F68893EED1A7A1FE4F231514 +3E69D4993A48F014F7E4FAAFF2D8685DF2FF50A41F309F5626E6328EBE3D7793 +6B8EB46F10997C63901343326BC91D6945666C8B3362A1A94A73AAD158E38E2D +1436AF6B3AD32B064A6FFFBEAE70AD11ABCE5ACBF810974EED6623FF916F947E +8897C2171970FE02EF18874092950F75632A916FC6EE77883AF461597245F0AE +8C9C7005217A59C63F192A57B8CB74D07048E7A25F294418AAAB0ED28B0229D4 +2571A21B6B46570EC066319191D8B155B903598F4942F692E3547AFE51D76191 +3A16F163FCB3A73C36471EE438FD549754C91190553CAD1FCC0BA3B1C1921470 +78784DBF40B54294F9EC7EC7F5A8D574CF9CF9D22B5AFA790BA5659631FA3059 +E2E1953F58FB83780B1C99407D48B75A13999CC536089B8AED30485E52DC4985 +82D1A5790B451407C982AD06399DABB46A1A4AFAB1FB85F11B558723706CA227 +37FA6429311FC4A178800ED5DAFFE353929EE385E7AC9E04E4FC63C66296C1E6 +3C5E2DEDD62975D7743C6D35155A5A8367EF7395E4092F095745C3192A5A66A9 +7AE6B45029753FB2230B881A5F7B0A393AB2193B15C06535458598458618C70A +CA5EAAA28AAFE895B5D4CF0A6B2E3C2573F790EB4E0B91C69E1E17FA78B77CC1 +376510918CDF6E955F231BD7DBE1D4B0C1B663DDDBBCD1D95024181273D58215 +A7455285B8DE11E9795DC15B579EA328D21E9E2F8F276D3D7DD7DD69A5BED0A9 +351216C84EBFDB27DA7A3E151B42BFD9165B491D670014B3FA0274F15863F51C +54C322A69313804D6960AA6F0CD14A970F28182796656266DF384B25F627CF3B +5D51F9831719A33AE20EB9CD0511871B416E3DDD76916219B7C93431CF22C76B +DBBF4D6E85432A920C532D8EED18515C4352A52E0B3CECCBADFC1C1133267F2E +D66668799BCCA45FB84FEC96E1BE5F9F62784043B71C05383C353CC53F04162A +9D8419FF16DF736F4CEDF9EC973C501587145DB5E1F1ED63838CD8312011F19F +94F8BDA1CF1225204B9510B972ABAA4F6E9A92A86787127AD97A42BD3952C5D5 +3C588E96FBC8B48C088979F3881BE01C85B53BD456E0EAC91B8A899BFE0E5C1B +D6E38EB78BBA172D26B7F1F6E90F029AFD3CCC6E3B101777F6E045D8892C2005 +12CEE278F85797C382624E847BDC406BDFC013F099F6236C6B4C21D85F205D3E +6FFE140165D3176467E7B241E4BCEDCB0850B03E2810045E79E3190BC6D251C9 +8A2D9CA4314B334868DD0B63DB9D00CCE4D80B4D359E54E9E81F01799905F8A5 +FC2860201F49F53045CAF0D9DDF9EEA4B00221BE2EEEB189D5E1CB6B15DC91E2 +DA3C7A24A571BB9517F8FAC84F7DD0A41F53148D61BC69C6BA042714A69340D2 +86F5874B6653A43EFFD735CBAF59B539B91C1B05E6699A74B1995D5E6AB5601F +9A606A94F85F32DE43ACF78E3E2B75411565BCD9A90491E29E22DB3596F92BA6 +F7C2DE622841483492295376FCE5EE8BA0B13D54740109D82F686810A03CED91 +CA7442086B0E3A5DCC22F11FAADA1474AE0B6A893B3CA6065343D21B834F7239 +48B88675A71B046352293E2FA73932485BFFE08C8CF502F6BE95E999660D8B2A +0FA634AB11C8C4765CB478F19595D5AC0EEAC22E20BD6F30B1A1E3B10805CE25 +FA694E5DEA8DC007C05D654BA6593C846B1FB7548A7ADB2579811D5785EAD68B +AD679E1B61F5FF45E4F8684C7EB447EBB9C9F19C1D346A1D321F2D49E84FD923 +5C54CAA7F85B97232B8CEE6BD06F88F71755AFBD86D0CD6FA10ACF67CE92B40C +605C488E397A2CC9C206C3D96133EF0CCBAEA910F86DD04D645AB8D40F440439 +3D5F0DE8C89DD451C007793ACB6592E65441A9F49BAADB4C33EEF1BB685A74A1 +25BFB78143CF48AE6E4220532452C6437E8FA281C961C9D205DB1B9ECE54A7B2 +02128113842C8454CDD922610DEDEC6AFA3605F800A2C66B1E014EE0520FA2EC +E033F8E7BA6C6A64334D877426070CC64F4A30CF382F2FA2511FCC4E8F32B68B +10D7EEC8A2D3FEB524B64E1ACC9A5D888916D1C52CB3358E4064926E46A0E80A +D7D379A531BE1B3679CD227B51E6D6C02FF46437C0689E7E5346D47AF8694844 +8DD0BA48D36677A4E612DF41F5109385E07B96AE023621BEEFA0A691E2AA2B90 +E8CADEA34F5570B8B23BC40420ED1D6B2561C28A147E099EEDA54721E38D48EF +4C685E67F4228E94F657486A8066269822E58B38B3BC343F9D5F57987579C683 +1568DB43597420CE2BACAC2BB30614464BA2D6CD239CAA21F4CABD42E0025967 +017314B488D7E5EE80E110F82477CCEE750ED06A76054A57FEA3E58EDA4E3C3E +E420DAF021E8ED0D4EF74864A7A1E824C4FF703ECE2C7A1E6BBEDCF03E07B370 +4E1165A4EDD682BE80FFB57B031CF2F1AA3A087FD8F0097423DD6C5CB7534B5D +657B06513CBA6B7003EEF17DE1694B408603A07E466032CE47A12D891803588E +B1C2A4654A823859C31F6A9C1E43A6CD1BC33ED401C057ACF6226FB683A81D5A +9275BE95DC05E58600D03387859171860B5CC021542EC0F9A1D09564CD5D1AB9 +AB4D7912746DB575690193F7AF9F1E8796C9D768C36CC1E7881B7DAF0B577A49 +3120506D2C28E487509CE32C3AF08DDAD24E3661C510A118B1E6532BBF715A0D +6823411E2F423322A0AE1278664A2A391525C51407FC44082FA112B052D18241 +C4BD149FD298430464B8805A392636365F16B552C3A8C85FB4391779C219E8C8 +7666533C8173D05FBD8380AF078D402E8ECD110D8211100B61C2B3AD289F2ED8 +06513E48847DEC3265DDA8589CE2D08462D88BC1DE42C42C7B85C5814FDE1A22 +185627E533C6D6FEF2F08829E4308401F9A3688E43966F682E008CBCEA1FAA78 +AF167872B047977087BABE9CBD0D32C5BEE00DBA8FB601CA91632BCBCF931FB2 +6A7545A1B85240B4CC322AB87215F7FD0861E2E15D6610793D37343DDD37CFE2 +DA8FE76F21F89D36681AA6A43DC0A18AEE2B8890A7888DEBDC7706B0950C5941 +1B4E0DA58D126082D077CDED69545AEC02608232764F1BD76E619096084F6A40 +E2C90B7DCC3EC1B44B0A9D57CF9A26175839B5E794DDF3D971A66BD17066F96B +8F5BCD802920130F76E434A76F8FAE8CE36A682B88013043CD4FC58F0E43957E +6BAD3CD19DA0CDDC20A1A59232EBA4B3D7BFBDFB03B340476C88C8D1E2610162 +AFA87AE597856905EA9E3BF9A9F876708E4EE74EA2B873CD6334EF39934E82EF +57FED286EC865B17F0458D8C80EEA530A48AE583D90327BEF4D5572C2D6302B7 +2826CDC8273D472681AADF689B1C35468B4BD921176E2E6110B701CEE8849057 +1308F271EB8865D933305FAC772D81DBB57AB63B9FE4A099FC5C12A3D0C3B53E +5734D8F9A6363E7A495DA00171614BB09EAC3DBDF70FF4BE66A1B7CBDB0EE947 +A66EFB7FE439A044014FE080B3456E6882885826AB7F7607B83420EB3F1938BC +CD256A898830737E39B674A2AA18FFEF4A5060294EB206535C95C56EBDE03FC6 +58A99B4F468DFA4BE4F63E1355C57B9365CFC853D4DA74774E8C6EC887F1BA26 +5D1850271128267EAD0C2B707BC18382C8F1C30F45DE1BA668B694AA78AFBB5D +C8948DA576469BA18204F616F978E606BE2B07BD972F3247351D3F8119EFA501 +7C471171B70EF45ED3557A26501F599B7606A1F3D3F543C840B38AB2A9AE7D3F +9AA1633E6DE860AB2378329FB9513F1B479B9C553EE43B4565E49D4FB7E39CD2 +998D5FC63EEDA03C1CFB5CC07F3203AACA07C853B69DABD3B48FF745B79AE1F4 +E6013DA04F13E069648104D5A38A2678F31BB1DD166D07578DA08A3476E773E0 +9C23D8E05016ED76A0CCA6BC01BF814996AAF260249389C47CC8CE66B454A5E9 +2643DC04C42CFB12FBB9ADB0E78C79C982D7F24B2FB4E5D32EE804FFEDC9FDC0 +B9984261D8124B3086B2303636C1DCD552AB7CD18AE2E6BFE248D02882014F5D +659C48DB8AE75DD1C5589272EC3D33A552089E26F80142AD0CC676F70A94E2A8 +70BD0F2DE0F1BEAA038C6EE73CF58AA15BE408EFFDE8BC1B2645E1C13272EEB2 +45E63EC4B4E34DE3F1BF7E8530DDDCAD1DB9477E253BB0CDD7DB76423668F37B +6D8CF668643783F562D1A88F831885F92165158476A408B5891AE6583B10E0A8 +2DC1178398D7DDD886B05FEEEF6505C499EAE9A4ED51099D3D424879E7BBD4AA +61C14D18B0239F63C1E6A3D559D232C4833E09C36B5E7A22ADC68E1963610666 +1A6BDFB86A6693CC2CB647A4E339C09BF17FDD40BF22CD952491A5F5A66B9732 +017B68D7961C360A317C013F335CD54FAED7A0F75C75C25C575DE3E65E3F0FDE +C30C7FA545BAA0A3A1A22BB859C16F58E93FB0CA74E98E3899D7923C055AE485 +E75FE2C05DFF8874F452796F95BAB9CBD271423DB40C6087626C5122454C6A9C +BBF205BC00D07D9830F8AD3A76A5A228E9911583358D2122F959B233A8F590FE +BB916539D2AF54A10C52AC6541B1C1CE997480908E02A722256EDB75BEC4E962 +1CE8BDDABF01A673F31775C408EAA2A5FED6AAC014B05C36F3C54D9AD2DCD025 +BB70733EA2185F9FD618788854DF25427E870D37224C6B6617E3FA0C251C3FB0 +6B358CA539D752088A0945DF665D6488E37017EBCC6502CABE9CE267BA87A6DA +E48B1F12FAA0BF3C12FA2E860259C6586FA7843F584CDA55404C88D283141685 +41812C6FEFA7A66AE6C731929D09CE093EC6712749285DC2FD2512F40EC1B114 +70B7613B43D761CB6A02F570A059331ADFA10921C3A3C4E6BE9637FC8B690F23 +138A098D8E1EC01EFF56C86D246BE7270FFAA7C512C6FBD96E3C472F939C1893 +C8A3394C34045B700CF10355913744AF99463D6E2573106B2FB9ED07B79ECEDA +F9F6D041B6061CFD8E02887E5C5B0194243F3DCB40909C3C03333A279E0D9A9B +037B84BD6F7300D0E5EAF980EE53B7FD883886528D521DDE4F74536C7F1C5BA8 +6CF279C90DDBB82DDD1EED77FDB05E8350DA91080BCEE5E3C84F003325433D10 +D03C08B43EF95318EA3748DB9BF84D57A712C0308E80F5A54A38F0B2F7AA403B +C57BD4BB6243F7A0B09AB0C885735D9861115ACA7567ADEA6FEC6F59973584BD +43B3AFD18824327CD6C21D4FE1F16F6C67D01B97FBB6F70DB5D7D6E46FDE0D09 +DBC1E45DCF82E9FB3D465175DCBBF254C59447D3C3DF1F66E0EF8CB6653EA52E +4C1D346D33499D2CF129D9704D74AC399DA2A23092216969B5B8D8B520F05DB0 +345E1BE31E211BE01A1B1FEDCD9F2699E9533385D29F0C80F990CA5A874EC60D +8CDBC045FC2E2F6E7A2E426C485DD04C4052A80568951B7C5B7A7FDF8DD163A3 +CA1D6A36A80B7CB4401674E6E1B9E8F2DEF2ACBF87879AF5131DBDF6A0458B01 +3243CAFB8284DF8C4F946C328B453A363103665491D387CB40A493B9159F46F1 +E95207F8E71D827A15A895EB17899D2C0FD610B9C3D3F8378310602034DA6BB4 +6131CE208D659FD3AEB590D2CA5918ABD2C10E16DC378CC922D605C66850C6FF +2CA7BB0A1538BE6DD5CCBE51CA7509A995F2FBA6D2813AFFFB625604D25D5BE3 +4B677D6CC459FED33F0A58E740A1EF93455D2B7CD3B6D7ABEE83D3BC3823F2AA +FA77DA4784BB1DBDA4083D991F9104BB62EFE168D1BA37A2E3EA54BFE6FC2C94 +47078B5E340D2237B312258AA715FE854291D40061B6AA9F9907146EB2FA3B1E +A1CCF2C8D2FB8230406FEBA3D184317B4F7F777410261D500F55751A0A445DCF +8B100FE5B149B2D2880C3390422BBB8E8C6B8A8B773072A0091C1BBF8415B329 +D16FE300AD05CB4B62C90ED22ECCE09B5786547455213BDCA572889B926E3DC2 +6FCA839E42D5519C1C2CDCF412755B645AF3BC38897CE7750B8E47F6E352702C +9C554B0E2ADB99F2A0CDF93DCF419AA331BA310ACD315C11912F4F8898EE964D +C1E9B8606981B25AEB7E411114D74B37952C0528E51447675CD888D80A0F15C6 +21A42FC33BB3346D51B6BA20B726EC79F582A90EC43EE690F0A83B83D2E23F3E +4F5C12E8BD48F1CFD04A189937925596C040562F4DA681B185BEABB00F7EEF7E +1E44F8ADFC6792AFC7C3C809338A6B1C046917289139040D382F60652624775E +6C6214AF5BE1D81A2A23CF2380BF6A13E88E87E2F1095B60798AB4F657A26671 +FE1C598578506C804FD43FFBFB76DF8D4C8E647F9D021C46011E70880A8AEDA8 +CBF3F181533340999B7620066A460E564C3C23FA8B29CC1BC8D337E2B1E49ED6 +9D10EAD96A52AB4D06982F4C48873C6F4872054695F253B592B83A1BC90A4BA9 +8371C4D319DD261B9A0AB13F74274E5B376A3288FF60C93421F114B51355E725 +FB265D39C00AABB2DE4300968FBE7F652C4EC71A7EBD58A20F2B4C1E2D1E3646 +902A0F815E9D67B50861D6CC2AE3AB45BDDF3782D685ED8E41C0D8F1FA37F238 +00A8A3ACAD22D898CF8E95855558179BC84D199C6C79A3EE2651167A4067A9A3 +49109AE7F53B59EEB1F57DFD4A00077DFC2BD2CB1E3169F0A348D4DDD2D9BFDB +A31951065B0230504FEC2975FB5015838759745EEA1347DE8591A58783F1EA48 +C7A7456E94BD2ECB916B85160277F98FDEC95DEFA7FC19532AF90C6AB3399C55 +86BF03B871A4C4386714AC62E44857919EEB2658D1AD72570D70F1F9926D6B3A +D12988299F620196898ADC3125C5A7D11765025B237983BA1DB66418B484B022 +EA1018CB14150269A089EE9CB3EAF08D4F7E15E29048F729B9D39A15C00B8715 +F030F927C8AC027A3B040CCD0CA1FFC5C6BCBD00457BDDB418BA3805C30AC43B +A8DAAE706D404E22DFEB24AF9874D741C9DA45B3163C259E8DBFFB6ECECE2B97 +6BD4335015222631F5D86490C0F9BD7C22ABD32D6DD412DF772548B38399EC08 +0E28700A2ADAE8F0D50EFC4CA8642E0E996D72BFCDEE1CFB252A6F4D8E03347E +F6328BF18282ECBC88DE3FF382726F910FAC2DD599E63EF7C3068C1CD785D101 +16B7671ECE1E0D30CCA1C6F2D3AB5E81E309696DBE4973F71D240C207CF73CAA +D620DBE563AC9B2000A628E8657A45A24030432AC74B5ABDD022CCF6AB855E1A +61619EB4DBB848A6C2ED5745005938EC8F516979806AF5E714704027A0CECE87 +4C44DAE80608392EE0EE0E39555ACADF1D3A873D35CA84D87ECC2AC41937CB62 +B250E3C1AB878BA32AE2E161D13FA536A305B352E3E0210636A81C6655CFED25 +A2B75AAA6FB0D2FCF696358223E78DBC2B9BCA15271F7612769ADC00BA66A2FA +8E38ACEB99E18B7B4A5C2B7977169EC141121F0664EAD87EDDA372BE22988222 +27D477A6A4715C71091CB2F01C6B3176160BEE79CC8FC854166DBB093A49DCF5 +E45AB3B20EF3223684E83C8FFB2D5DE9CB49754799E038B748E75C99EBA6D69B +36E162CC3860E33896371D0164C14138181F2E00FFC08E2A3619E1820A560C7F +63B054216AC8CBA7B034AEEA8E735705AEBB0D78F17856E1A0476DA6E543E985 +4F7AAD98E3ABB2D7B4B1629FB0E24B9FF10F06192AC8475CF8C35EE3E635BEF6 +ACA79F1847FB84C4B20E6067BC0593C7C39657E08A3CFF64915F887D5B99356D +91C0722A917B347945E1A867B062C016EBB7D924F11C74873EB4656B61A41CCE +DA1780D204D28B6F0CDCB1E059B3517A5AB44D45B43221DC53FC699BBDC4F2D2 +865C697EAA3B49D2AF5A4CBB66244196A3D8A09C8815FFDA307DA47760CFAD34 +434D00946C23BE41A6292220F0CC19CED3277801C9C1C3CBFC755A261B4ADA4A +0C9C3E7F8ADB77A5C68021775619D9CE770B4FE975CD468BC5CED173CE1356CD +A26E6AE273197511E50A014B19A5B79C7B75A57B08185B20AED966A4C9DB4426 +1294A5BF040A05A4FE60FB202C7CD2BE018DA7702CDE728193B72F03C3C0F1EE +58CEF81EF167CE9F8967B4DB7A3A3BC0868B8542DFF05D46DA08CA79F62ABDC4 +39373C66A08D536491CCB5EE828E410576057488E85A47D5D9F99F748E19AC88 +E207C21EB573B9429A7086A93CA63467B3EDFE08931BF575DB82B76AA9C05E00 +29C7D4F53CA16E6DD53BF23A0991B1C5B4902E4DDD5178E55C2BAEA308C5877A +3A21D1184FDAF68ADF993920AAD2EDB045E98C990584EFED9250A332BBC01217 +DD58CCBF7DB9C0E51473CA37655DECE639C28E04EB47E5B52DCA10E92BF83F08 +AF3EC395D0A74BCD4377EB7AFBD1F0B521F6D8F0741A07BE28D6A8C235B90B7E +B448354C9FD450F98270B3083515004B56718E81C4C6654E40B692780D83695C +3F456A401A6D24740C67A485AA8B616B94B23EB889AE93CE66F5CD6916E32C66 +809F5D3C4D52195D1335F89D1AEA6C07A1AC8E8F30AC662E11541536C50A6763 +5D8C71FA8E0EA2BB0141FCADA7AF9CA0A69AC758DF87159707038D81DD706B6D +123D53212F77FBF6AC06A7771FE86D254F9E6B29045CB60628EF491A26226D02 +D799A4B2E1E4DC25BB157BBDFD0958E1A4617EFF11145D3EB94A389F514D1247 +4B6A4CDE1DDF18A826C0BA8FBDCA2045C3BD3465C371248428A4CE147069B2DE +63E85D5F92038E8986DF08510C6FF1DCD615A7164A287A8C8C869C4B1151820C +8BE898107D19E768E66125C6A6BCA28D1A99BD7E6F58F60DA14E77ABA2001B54 +899B488C4DE7DA167A762CA3CAB0E8D157F6BED3679F019546F0322A7F6ED7E0 +D6AB34BF0F646E07A4C08EABC1DC40062E17386A406F88FF43C3AD322E8A85B3 +9EC8C24C751ECCA65BC7A2ABC5BC0E8C883ED0FE37DC111181650CC6DF943495 +5F0DEE475D1CFED3C23655E6053A884DC41E8A4D194A02051E5F7F38C625FF89 +5894F611575CF75A533095881952BAB2C81BD8C303C903C81D937E4D72A28261 +2167382EB3632D975CADB689A7DD5419F12E32DE2345CFAD7A85A9ACE0E63BB5 +3C49A690274EBCC5CDE015218223D2FAE1A1E7344932BD8CD076FE564F523B92 +6B50380301C36A67A264AC735C9B038CFD7D897ADAEC00EC65E174F47EF1EF0E +F4A1C83EAEC77CD415ADBFF5E3AF7769661AD8506C356C20595B1BBB7BFF1808 +92015E73FEBB58376DB5368C54BD47B486330BD22F9E1804A05B350671BA373D +737BD0BBF7E78ECE5C76FCE2B1DA10BDC7074164DCE3D2940F1CDBD02A996EB9 +7F4227B2446C7BDC11AA79B727696467941A4C2E3D51E3EAF366EAC7857F8180 +AB05461898B99098E955BFA09A8371FCF1EB671DE86C89776B7C90AFB9A4EE02 +39B35FFDE25BE1585476BDE88912D1E2D4C1083BA56BA4346B90EE84E6CE5BDD +A7CB599B4D716F7F25668D8C559E2347F20311D49CC7D3D4AA0117D017F065D6 +E43EB82320EEE8B29B7C7B83A6CF79D3A20B16393235FCE7F9D0D5592A80B33C +E664FD2F2B0FFDF29C89F7F5A5B0EA96456CC42DE1C2BC36E791BDEE54293D48 +BAD9DFA71606A78B5C2B8120A45F17A394F417C60CC181EB7ACA7D461A1A8095 +2372E368C1869D19E4A1A23607B6C2B0FAEF474C703492E7C1D68A3248CB8F77 +FB17BDF28A502BACFB2E4601BE018D24EC2CEAA4537271B2B9BB7807CF447BDF +5A7DF27A00D96C481ABE0B02EC0B61606505E357FBC1BF8F1A198A184BFC8B88 +1ECCF1EEAFADC8D299F72370BF10AF53EDCA219DBBE145E0F1FF317515BEC422 +623045574C79B689412F5E7E5B66FB463E11C507DCFAF31AC1AC380F35CB7DA3 +FF9A0B82402DE0696CA50B4CAF93667A489C1640867AD454CB797645710D9929 +4857D74A887D7E458109B90202A50ED46F0375F71482C7C6BC14E5CA6B001206 +62A44754C351B56B41AA8324EECF26A80E7D3FD85086741E70FD33C8BBD546C6 +3AA832DD5BDB976D17B28481B7DAF12DEF348DDFAAC53E3455F82DEB8056C13E +931F9159178FF1C744AA7882E7D49D88398EB3D023A272B8A89FB5659AF715D3 +0809BB26F3EF80A788CF54449988A73B416219862845F904E091951992A279F8 +33FF4A4CC37F9AFD5521E41F6FF1F12B1D9C7C0482BB38D1BE007DDCCCC37C9E +1F7F34B5ECEC3E6DDF6F6EDFD95605BF60F55F2B1D345430A89813FE189F391E +844C44571502F66FC3A56B222DFEF0D676041A660E6D741D8F72967DDE8C0A3E +96BC0FE3243DC07CBC1F0E99619BEA04EE85039B404122E496AA7BE34A4775AD +E4A310C1C020AFC6E74279DBDD0F6F374691D8E3B6EEC90B11AABD20E59F8595 +3397C7E9BA2052454250585469A67EF40741A9F09BA2A2A04885CED6AAAC081D +0475A63CA91BFA5D6A3770C1CF80F9D01521A51D815ABB1F31A89EA13412BA42 +7F1916165E012C0A94135C485E42A5161C7B94A02724B5E6D196D42BE3F408A1 +C11D207F5EA2CC3F2DEDBACF246719BD222861389AAC1ACFB94496CDFC5F3348 +4ED4336E52D03342822CC7E267C2C9694D9C07448ED043C56C57123B08124AB6 +8EC0700E42478E6F0FEFBB0549B2BE787570D2AED16C44AACBD6933A925055A2 +022517A427181398FF7ADAAF7910954360EB4403E16A92D7203A4587ADB06169 +EADDEBC7EA4AD684C2FCB0C1008CA92508C4B755E93401568145C5555C8B794E +F9FE03CDD2D904FF6B3C4429188DE0ACA011BC44D0ADAC60939EEDBAB25AD69D +48A5E171F88DC43B1511C6883DA9AEA734590F09FB58793D0BA23CC46DFE5FE8 +A9C82D1411002EC457793FE7DA76D29FB65F026587DB905A1EE651AF6E4F2122 +A8561A524984E0FA2FBDFEB7A8A4935DF29E126C1CF41ED66412FCDA7D07053F +EEDB110E865CED746D2530704C3D906DA828873B6AF2FC2D9E9EFD835D71BEB4 +A0C889B6156AE539B48E0D8026F5A8FD0DEB71FF8EAFC66BEA2130B9005645C7 +6FCA01DE45783C2D7B75EE9A9A6A8F5BA5F1B13EBDAF2F246D701507DADB5518 +CA8E75918A1975617EDD5F5701AC7FDD1365F9408E3BA2171D4903A78D223BB8 +0CA0E842DDBBA3C6B41D2339A7C620692F10C4FA9E8C950AAC4E86607955BD81 +A4E3B0131984BEF21770B436B286B93456646004854BA2055C3DE31CDF212205 +883E2D4DDF58152F192E50B4663F0F9779B455C665ACD6F40E7948351BD9F78F +24550832F18950ED308B402D5FC6327CFE094F1090871431A59C7238CF1AA562 +3A976BCD5808405E7BCC3DED691D332C9B279C849936CD65A6FEBCF58CC2311A +054CBD1D630459B59071379C3865C3C6A14E22B5B0381F44372DF1DBC8727B1C +59A733C294C4322E243223A986FB8D2BF832755B5CEED304E6B3699998B223E8 +E28EA70BEA1358C2CEB7AB07112D30B83197B263E56937CDD0F074EC29FAE7BC +8D6A89133CE8F837D64B703BC40EB64F2DCC73C763A0D31F3C058B5E9443EEB7 +52874573C500ACAE072071AF89FB9C4F4641AECCD14F7315150E5947731C8963 +55403D9A4A92EFAAAC4F5F6E95B4751351C4177271712F85495397CCFCCEE992 +98E7DBADAE9D3C1F273AA78F75012CA5AA357DB035655B3D98ACC2988169E894 +C573D80D60010DFE08394A6D05932944E07BAF050AEC00E45E04A424C6C351C1 +511DB1E856616281570F6DB61D75078B2D1DB18629731358D8663C615782D63D +E6D7D9464CD95D8B446E563D684D16914B0CA2978C473CB514A5A06D25522569 +9CD74C4E46C95DCA19C8AE79ECF576A677BBEE3510F93C4176A4B5F1A4F24E36 +E0C5CEB30DCED55B7B051C01AB5251CB839AC2E371944C169D9CA4AE4B91450C +5503BFFCEBFE1AFE8574E2020D3DF2BC16BEDEEEB76C7FBE3FEF7F085BBF4BCF +2513333E3A01DCA64322049010D1802D1E50B50E39768F960BA243AE4A79C12A +54D8F7CB63476916E634273F76663E4496466DB6BC16CE9E74727C9EE9FE79FD +B27EF3DF0E46EA9C028AA3FE5470E983BB251AC803FC07164644F385B6BA347F +3FC80E540BB262BB5E0CA619CBED3C8A4311B9C2B0EB70DAAAB4DBD04CA642A9 +53FA5B77D48384A8FE1F706DAE7DC478145A2F97FE5075092149C536F32A83C8 +32DEB9CBF5177AB311222565F16AAC5109F31F7C84321824ED15CF558D65BCA4 +9A73C570753D325F081EE9A3A78AA2F18258C5DFB32739242C0297C185C22200 +34C6F979B51240A7B1A3326677929904B567550051B4D548F3AAA253111F7316 +D3C84FC22E64F65882773C7AC585041DFFE3A6A15F365D825FA0C43DE16DB215 +243E53975DFAB3C1FA30D6CB8B52B9C55FEF96526624D5D8807AA901B16293F3 +AE0C4E03E6E22ABD78342AF9837A380BB99B68ADF493C1FB18CC4B968D707AB7 +B744D296FFEB8F2178B7C47D94DEDEAA916AABF76FA32BC0B86E2526F66ECF17 +6FE4A289C2571DE0F86B9B44459726C41C6C648838F928A8E6FA682A43DEA7FC +3C724137DAEBD60591A73E72F2A92373103808D3973501F08647028F83F2A9FF +400344095BCEC1EDA8A93325FDD58769ECB58511436843AFC403B5ACA14B7F22 +AD9D64C888F1A8F4E2FAD374804A72E16C0DCC0F2F56B91B3908FAF52A2C6DAD +EB9BF87C40FE29015B6E655F40FAC45FEE240C5DE731CF7B54C0F48027697146 +3A6FF6ADE84F6CC90E3799331799DA11AA92F445929BF4A95E9C5F4BD4D63CA1 +C84FE7BE3CDCA2ADF4DCEA99EBCD25D7724760516259D45DDC9D6CDF7E538128 +F3D92F8676AC2D0CFC3687AFB29E8BAE8671ADE209AECC9CED20037759EAB6AE +42E1B41111C9BB92D422CD344E7CB85A7403788C7765AAFA62CBA09A5522A6A5 +0EBE06D0ACD23E77BEF1A15A9E99A4713E67E7C08467C6B2890EEE9AA1F0558F +EC24065FBFB04573E13C52137EACC7A931791A5D5F675AB42E9B716DECB6308D +EF96E59E36E8D40B99A1E6D9F2DA7F32C1E47091733341D89DD109FCA2AFD4B6 +2D65D6366EAFE4A5BB0891B9344557DB94F065B3CD7D75874AD92F24454C2B21 +C4D2600AAD92684996A07B4DBC73BF4A3A01620373202E31B7495DCA42DA4B50 +6464003C1431AF808D30E08C4AF67E5CAE26F78188000AA0E8C97151491BF1C4 +94B1CDD72126412E0673ACD9B9322C3EBAA2AA1D039EFB53BD2C708873BF77A4 +7C89B9A48EFAB9E55ABE4FBB6FE868A9B2D86F96A5DB527514C6361DEAB44B53 +BC93CE3D3546324D72B13FDCB33F519812C1D9D66ECC126F8C3724F4D194DCD6 +3FA6E6F06B2509FCEF85C6A80F9C2ADC3D15A9562D2A65C4D1392FF915679CA4 +36E048D8C93D540DFE0265952094E7E6C8CB33BDCD517247FB81D564670F3964 +E65AD1F253EC49752D8ABF2CE12B2425551E7F03D5AFF08A7AF854E99322B8AD +4C2A300672CB3A06B668A11B752BBE824C07531EB46698EE6C6B65112CB77F0A +FEFA9A531F51D29EE7F45E8D0C73ADA57B32099FE3F0DD59BB97BCEF2CBA4E84 +D892E8B6880397808D46E78E05F42AACF717A2DDEC317BE5E5FFCAEA963032AE +515B76D34F880C049F3DF624FB85DAAFE31882A2D7CC9C29E7EF28E2AA4C46A2 +FE2B035FF8303879C436EA4A2BC67DF287FF0C3430E9566857F0CAF38CDFD955 +559249751A61BB9ABB4946A31881ADED4F938C6468318A97B9F1D60A59C996C9 +C8154F002185DDE6063E67449A6E0A9D9155EF95A7EEC84568EC8DEC4E3E9D6D +5E3E37F01FA5CD500715E0777C0B8FC6940C4BB4E6BE1CBFF8D7F461CCEF1641 +9FBBE9EF79801121137F5336350701ECC4A2ED838874BA412944545B2395C1CC +6873816AFAB5F4B71E978EBA442C309799F81E66312BD6585FDF500075CCD649 +DA023880E008D9E046660FEE0C93B5FF18722BDF423C5D820DCE694C6803B83B +101E61412650B945C63348D5053C3F97B6D38821A262600A8231E151718268DE +4DCB22329C49DF12D9135872A03CD900DAF07D8F3A396A39FC9A5FD04C8AD26D +4A41211D509B31D9032418D372A90CA0AF2E16DB8996E659CF103EC725BC4820 +9ACFB3C8D5155D87A2AFCE311BA6A18F95E37A9218BB5A45620FA20FD485FBC6 +DFBA5A3FA163833657572CC295C5BE868D584046555006623FAACB6602F612B5 +E6DA8CF67C8C7664992B8062C25E877B578194A33F29039ABD44B3DF14980E77 +18F51B2AC035CF9CC17F6C6C3D75D2FF145B14CBC4F9A551D5050B7E52C855E7 +B5D02F32D2807518958AF87E7380B6968C51A54C735000F02DD66B2E837EE0FD +BAD9D9603E517B55B8A9765B5C6301040A83E56AE013786CB760C98DB9537966 +8D9AE205EE938ACEAE707397C3BE2980B090C3B50C814A247F82B3267FD63506 +A21E253CA1FE7DA323C9AEE3F8BFAB2D9DF4A01F18DD530E3C618C889B219610 +E313775F33870ED4791EAFA21B649142534100060E28CA081A2391F1458F3ECD +CAB0BB41419C90D0C9CA95C5A4631A01DF76F52DDE04C6570F22578D556AB841 +A38FFC5A97300AAAB48177442755D76247F84BF57284B05E5D8DE15D0F69D689 +0264FCC502E5A8D8FC2DE3F7823A0363F1BDEC4B694282D0850CCCBFFD84F4AC +06CEB968973837652E674C1F953725039933EB7988BA490D4D8567EE3BAE7BD0 +21CC586C3CDD38F79B0A3A94FB81FACD7D9ED04B4007345A4C7A47860E38F965 +8CB23565121D1E7A0D0F3F3B7DA86BC3BDF2B4CF412BEBE667E6C427F3F86E63 +DCF7920FECF73F2E421E54F6F0A8E84A8BDE2D0B9C5E441F4C428CE8622360CF +6D319385106B2590E0D1A8B6C56DFDE8874A3F30D6DC25C1ECB02356D488BAA8 +C2BA0E8CFF8EF6DA75E2EEA6D27E822F511BBA288F7AB46B3C519FA75B676B55 +72E553764D23EC460CB17BAB327FACE33450E14D8329F2339600F0366869153A +D775A0F12471286F485A65054859B96A00723E1C451C6A8A05C88B32D10AB013 +94D834F675EE8DE2A26910F924583509BBAB4B1DCC5B1FC8781D80E8CF024EAE +BED6FE0FBBE088F73987477FCE10B4055C28199A91BFDCE080B5F52A1DD5EF9E +8506B78DE1DAAA88DCDE13C048AAC003735970A5A74E469EA21D2078FF721966 +FEC29EB8D667540184E3CE37797EBA575CFE7F484C71F16D84ACFCC11A769250 +585B7E825E70BC5AF10B9DA5D4E0D7661B486DE2B1357259D473A57598E257B3 +993F51D3FC6E6EEB9F4792150179796020914877D26AEB07C527CAA4468AC50B +56D8BF2F137F59E55AF7E778DB993EA55FF446CEE4E8E5D87852F211CC342557 +D2F3647F6BC423260E2AC6398D 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 @@ -4857,7 +4925,6 @@ FontDirectory/CMTI10 known{/CMTI10 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMTI10 def /FontBBox {-35 -250 1124 750 }readonly def -/UniqueID 5000828 def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def @@ -5246,7 +5313,6 @@ FontDirectory/CMMI10 known{/CMMI10 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMMI10 def /FontBBox {-32 -250 1048 750 }readonly def -/UniqueID 5087385 def /PaintType 0 def /FontInfo 10 dict dup begin /version (003.002) readonly def @@ -5482,7 +5548,6 @@ FontDirectory/CMMI12 known{/CMMI12 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMMI12 def /FontBBox {-31 -250 1026 750 }readonly def -/UniqueID 5087386 def /PaintType 0 def /FontInfo 10 dict dup begin /version (003.002) readonly def @@ -5718,7 +5783,6 @@ FontDirectory/CMSY10 known{/CMSY10 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMSY10 def /FontBBox {-29 -960 1116 775 }readonly def -/UniqueID 5096651 def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def @@ -5974,7 +6038,6 @@ FontDirectory/CMSL10 known{/CMSL10 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMSL10 def /FontBBox {-62 -250 1123 750 }readonly def -/UniqueID 5000798 def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def @@ -6045,6 +6108,7 @@ dup 118 /v put dup 119 /w put dup 120 /x put dup 121 /y put +dup 122 /z put readonly def currentdict end currentfile eexec @@ -6232,412 +6296,416 @@ B240D1888CB89FBB748FD10B214773D466A44AA2AF44371CA8B9A4450DA76EDC 0167B4015A270B9983B89EFFA023A3DFFDE181B90C51D70557B0844362B0652A 6345C6EC83DFEFE099455232455943718297254186940D6305C96EE2B9E3E7C9 A622D25E0471AC31A8ED3AF8897BD19E322CFC3BD3860D8A0634081D9AF53A9D -84F4ED39D8127CBCAF9AD48E9CBD10A67A2CD0CF93D61B0A2266A5D10C0D1B53 -45C41DCC3245CB3488020BF6049ED80E9A761F13650E3438D14F0EC89C11D18D -E44B6E47887F7BC25AFDE2D512647277B9CE23AAB30B7F1ED5DF84921B567F16 -CE118D5A71B65A72FE62F278D04B1311E20739AFA6D0C911CB0F041C38FC5E0F -E4CAC661E2D9102EEFB4CFE26354CA4BB30A07F2B686F1A4FD8EEB048BEB735B -A14E7905A8A538B98AC7B6C8E329B6DB2DB726C5B2B07E26F9C90A4E76C69EA1 -D928BBD0E1CA65D7402C3925A88BB09C7AA025E178D6579DA73010BF80A1332E -63C347B2A1911FF3BB0D28FCB85ED78684BDCC488A7D4D2BB91BB593ED517EFF -F0F618EF3CA13C5D281820ECE618DF32302A0EA74D7A956A0304BEC2B6CC41B1 -60A2BEE2BE369B2D9BF516E1379DF717F0D6DCDDD7855BA1475AC908334E992E -C84426AECF7209756184AE6CBDEE2005AFF66C89C743CB682403750794A927D9 -A00127CF00165DE8D171DDE90F403CD145C0B7AFA9BD46C33968D50D294148F2 -99D4B9424546FC2F0722BC22FCC5C91FA5384C95669931A721F15F0FF5752BED -6477E8A28931AC48A54699C21DA1B305EA37C12B24B00E7A0A2C9AAEC359FCF0 -18AA95A4E5701E7CFAA3D40F82C4CC20E27E9E47ED47767FEAC71CA0C22724DF -4A60B70242C35BF769D1612031ADE0B3441925EB80EFF02BD1198FABD652D0C5 -CB11A54728D9093958A5F5B9F27174BA5FF4E59A1432B21DB95C262D3999AE8D -3B41E4E5091B55780DC9F4303532CB055E7B24768E70A06F19F0F794D7F62239 -6ACB7AB588C7DBDC9B71B38A92947AB68AA4D62EF3A3A88B4D94A6B7EDE12B69 -49EABD0595AB29374374CC92553993F18AF65CAF555ADFFF11171FF7B18ACFAC -E87DBA35D6FE93754F475043791F00B1C1AC0796791775B22DE7AE5C04828EDD -DC30A00A6171300C6D65292A3FBC28EFCC8019CDFDAD405F8E29C43CCCEA3B0E -7A7E8526F631C35857CB9B29CC29A6809637444D659BE385375395A6CFD5C44E -5461CE4F66B114DEB16F2D38968512BB9F3D19D08C7E703F1FD705CCB1AB804E -107B97B09D1036A7DB5381E9B138C9233C265AD6276F5C1F9067F58B82BED76E -53B450BC3C015769AA7114DDA03FA38DBEF4A395796C7DD303CC708B118B4D63 -7A702B99D29BE641BFA37F6FA8BA2EACACFA57A1982974F77DF26A9FC28BD110 -2DFB33ABBE73E70CC60C8467CA62A943187046A0AED988A3AF7651A69DE5FA65 -F2EB7948AC50F8321CA69E02EC5DCDEF33B591CDB6B66B6B1ACC58EF567B92D9 -1A27162F811E0A5D55CD6731CD237C1F912BE6382943C1F4524D606187819BFC -A850FEB374775960D66693F2B403903FE44163FF4A0D45E21898716AAA47B981 -25274AA20F0BFDBCEB529C417FBD16B9F31AE20DEF23166A1E8D32150ECB2728 -EEAC9565BAC22C00CA9D4F47286C7034E96EADF138F320D1C18AA199446A277E -FF8FC90E337B6E04FF4C46434A8ECF1E411E2BB12175CF3997C62E1220CA6B42 -64D03960C7C5CCF873D12B4834B73A32FC8471F14EF941071B971F1BAF36B49F -8CE1310F09D42A217861210066766BE13E7103BD2D8F0486EC592B99F38B9B89 -AA15010CBD1D19BB4E4E2C321FD88C2AC255427AB2B4C77572577D4EBBF493BF -FE24B8739F771185D80120ADDAE236FACE47778E1E04A0359D60068BD20422B0 -F3467AE613FCBED36B4C9D131E854A80B01DEC5C4FE955AB5CED1021DAEDA722 -DD1254F51EBD07AAB22DC0765F57191ED0A75FDE50BB145536AF35C3017C6067 -CFF6410970179923D3B9765F633D991BB8F8BB72566E748D76A2649E21D98590 -EB4070C5777B195B8EA22F9EDC711AAAECAC4C3CDCD19181E63ECE52A9FA3B85 -08D8376FE890668FFCF11FFAB44EFBF2720375B524057D350EBD718D094D919C -F97CFA593D48847FBD6170595943405A019CAB17B75CD4DABA1610F3515CC01B -84222867AFBFD9700AFCA5E57BBDBDCC8567235F3704949CAC1B405E7EC3ADFE -6B3463E0D6B5706557B83172CF604B8B2A58538430CC7DE33A5A6E169D18506F -3FD7F0EEFB083D6300B16150FC27801760DB690FCE4418F0B410ABF1573D3F5E -603D73D40679B0F1B842F708115C547C3B3DF1E846D52AAF8615FD8A7DE426A5 -3CE27D064FE50903140620137DC9651E646A0526BCDE4BB3F1B64483C24B98EA -7361FADE8BDCC23DD19CFCED7EA733FF262A7FD65CDCA423A14B27EB321D34D5 -0F5F90FFCAA3DAC323CBE5BD09BF91E906A5EBBEB55A0190099766F2DB280096 -335E5E5E3F14181FB0699B6C267478D7CB48FB6362FF72A453A124CBBE0FA8ED -E42133899E820915B6E3A8B0EC82E76FDD1D4F4B27044C27538717ED0BE41B9E -89126E513104BDE9A5453B1A73CAD8976D13C67C785C4028860D02CDC2DC0645 -AAE179BE17C49DA8A6268AF82A8A9FB8A4F26D3E4C0B5DC7AEE18D2BC95E7B8C -F13FF31F40AC72047FE48817E2A2F71D77C81469101F19CCB7B86CCBF0364FEF -2CC8A915B20F9A949DEF1A45A1DDFFC88AEADE0FB3D638931A84CAA7FC10AE33 -02E538AA472D951F2B97B21A506D1677C5FCC30BA7B5443FBC642179D253689F -2980471A237F622A14A570F232DD885BD8F66C2449A8A434E8132F8D58A86BEC -48D627687108798FB4C8A84F5CE88721898C687E6DC0ACEB47261F89AD9A3A1F -44B63C73002F6F338BA880CA3DE4900C378542737263264B7C2EC21953744548 -DDFF14BF008F8429A12484304DDA3C4F769221081D1C75F39CF785B11DB4B6FC -BE27B473FFB49160DA29BC5C205D21CD2030BE08E406747673A0DB0720A82363 -950F059413D4994ED0A9975D4AE94D6580B1A42773F07753090A9BEFD093722A -0043130256D4A7A2ABFDEFDDEC878D8098F373E325B16EF7B3773EC72A011B76 -4357BAA1A4B56A8D8C8BE988E6F815FE40CBCD3BABEA9A1590B60D891B613C27 -7825F6058B0497C7C4393467ED8DDB8F88C15087E623AEB6D05568E4838E388C -EBB708FD7386DF5E020B27F5307EF401DA3C4397B8A475B40CBFA4E518628F5E -5A1ADD4E79E14E72DE0D3DC7C1B6EE2785D4221ED22F8A2DBA5628C897A35A5B -54A1767DF59FB0569CB787AD82CBA050B2D51275176EDCABEDFBEDF7DDFF9AB9 -8DFB0582386A7D078845811041D05C82FADD2DE71AA5004FA463B04DBD60CC44 -D0057C4C30E6095D23B6A247BA70CACAF81A4BC0373816188395888887CB6784 -E24B5A65FF3ED9DD681FEB4533B837D4C2DEB1B9AA5DD0A3118F88278A383B94 -422438257AA993C9EEB0F45C12DC1C93B5CD628B2010628422C5A66A1B7F4418 -6F7411CC00A36AB05E3C4A51124677CBD417F3E72ACD5C705F01E89CE0D1E726 -70FB8CEF1879D2152B177B3792CDE557C67C93D220457A098272879E864E020A -3878BBD1620F05303400F0B537D222E742A9371F37B781BB0A720EC93DB5C099 -AE0A2F6E55D3C694EEE143E3133B10E3B4502B8041FAB5CAF6418743A1CA7D7C -AE0A8F29973ED9B4EA82D0544DFA406C011E42865C0836191FE2392EDF93E89D -99D59DE2B4C09074DA7C8661AF0A9E37E27D6F07252B30B2CD24D2636E5256E0 -3E61FEFB743E6E87267C163D43673411F3A14F891DF034AAA2F2D2AB133793F1 -8CCC454976229F2E57874BD92979A4B94110D630E4BB02BACE6249BB738FE96E -24087A965AA5D0684A252F1C732F1C56AB9F5BD0164237A5BE15130187518A21 -FB9457DC12600A4236272499986F57240ACA7268D9990F1375877C70B742AEFF -F20557F43846233F6114F8C174FED6DBC3BF7852FE5628BD5CFA250E463E67C4 -753C56B9A10AC2A4EE4EC9440447F2E7371550BF91511C8F336EF9352BC3427C -FC17B8B8626066B1B5BABDF1D45F33C7BA4D4F0C43F5BB9FA2C36583A7FAB9A1 -EF21DF17575CD5DCBF606E564EC87C63D57B7CFC72460846448D01E007093DD9 -9BF57E18910E472790D29EB88DD1CDBA87910C6C4998308210823F992B29C38F -0C420623347BCDC52751A14B8ECC58F27B6311C31A59F7661A21D1B2B5BC11ED -68C807A086E05786B5E6091DBA26B2C4C2B4531C1A0F9AC0976F9D50A1AFF8AC -DCDAC4568B88EAFECAF7BD1566C4B0B91385CDC9BDF264E28EEA33CEF4EC51F0 -3EB360571E8CFAAABCEDCBE7A7D93E4582176E2868D2281EF5FC7F75CD7A9017 -E592C375B2512D2A3D6CB8973A6300B64738A8E4C1FA9E278A4BFAB2550A2309 -770577D0C5ADAEF4A028FF5D551952B86521144FAC12ECE5E5CFB45A80EF9D62 -731FE38839CBBC64B916BABCEB5A09DDE1135705D6AC4D611B760152CC64B7C4 -ABF78206B1992A27122D238D24BD4AFB8379EBB5B5210B2E932E983B77AE1802 -9C892AE8DF3B36DB44DA461C9030A3565557E6B15F161386A8D0A1D04C572DCE -7C23E8790A297B4D866017346EDCD257B4F0DA96FC30A4F529BC931941479BBB -261E17511C9A779AC39B22F0343153E7D835CC5932091EEAD47CF63D1E730A0E -1157D3D259EA39E202C783941A73CB7C5603A673C03742838CC7BDDE32E1350A -4A86F40FF34961241E890DC311FBE8A36E4744A1646EEE7A207DC316F5E25CC7 -E3CC4F1BBBA3E36D6705F45A4C379EF000D59DA15767720D75611496A9D632CF -5621F0969611234AB48FF342A04C6293D5472E457BF81D6064EDFC0F44A9E5AA -1B772D08F49162E5FFA2BC610C0AF91921B51EEC5D6B7D2576033356F7F33FEA -DDAC2B393312FAFBB7D17E952BB152C38A8384C3FF701CB671347EEA29D4E73B -E71D670FA1BA055DBFB487220F6BEA357AD8ECB3BCC7F77DDC236BAC7CF5FEBA -7628F5EA10233713B3891C6B67AAB0D3C6AA594D80713C1B96927AF89129B69A -6C043FCDA2F352A800802330A8238D638F798F4BBB7C54E9685C3CCEA32751B5 -717703FC2B0D796DBF4766A7083433B6D629F245E0DE0F601FD74158EBB0F134 -B72B5D7129246E2E2FC5673C1CEFDDD822C4806C9910A5326FAFFAF34215F3AD -99C3113E50EBBAEA9853BC56602BB053793DCF12E4B873D3467342E27312BBBC -D02752C3B6A47CF84A297D28BD3FD25870114A55A323551D028669C37FFAD6B3 -99D786057CA02624513B073C9C29744954FD5AF9AFFA26AE9C15959EA884E16E -620A7A138CCD2181945BF7E101D4F06E6F5DF7E9D73BE317B3661B35C1F62214 -E129ADCA71344C781E6E9E1ECC9A064386E7DCC3F768E4F5295F6E9387FFB146 -C10166BF0638FBB7662EE484158957AACFD2E82BA237DF4185924977538BB8E3 -CE992843305EAB5FD94CAA9E0574EBBC8C5AD0C608E021BF091E8B6B04A68ABC -EE8F2DF7CF10638294335F0A60E765DA7085007640C93FBE28D36C25714F79C2 -36E58ED9D7C7C2153D2F3C826332F9CCB5F8B885DA1BB7B4D50216799E96F40C -71C3D18FEBDFA61DF3ED1CE1FA509E8CA9489679253753EC72F75056B312737C -5538EC44A03324D1E1673B30BFBDC3F7F1E39F7E89A1A892F400A067C626CDA3 -4707C44558CF0EDFCDFF49AE1688FDC33C0B57B8121A747468D353DDCA12DBD2 -BC67559A8DDC13ADA201E39F2F9E9EF489DAE46F67A4D7F0FCFE5903A3414CC1 -8AB5B2D964B5B61EF371F898F904D7E0C2D61029AA0AD17A67E47729FADF757A -A480EF93A14679F98A95578342341844D7269E0E0097C5806F57423842E77D7C -A61CD293CFABEDC397979618F5FE2316FAB4176CE3F61A950A54B2F9A3DCABF8 -33947FB1B3E95324A3E647349DE49F4FF49F22E9063BB476E0AC14610EBEF55F -925B1A75F831C3C723DD24FE40D8AFA87D9469FF04CBCC871291BD6A3713B5C6 -D7EA7B5D5DDFA9CA257554746D78B2B36F4516D9CE6FF8CEDBCB31D030195FEE -9BE3D95139B498DFEC44E26CAC2A77B010FFC5A1FC4195BD901BDDA758EDF749 -5D4FEC73A568063D39ACA617DA80F65633D42B0CF1148FB1E7C5CA25B50EA90C -54441DD7FDD559ACDCDEA3B571FFE904FB56A0B771425D74B952B7EC2D068A0D -C12EECD513F6AD5F301F2DD46687EBD7244D719D77AC5D4FC76CDF4716A477FE -6D5266B9B0B13191B2435B550D1A38B17A750B64931EDA6FD26D8F90222CB8CD -BE68C829333DE429EB35BBB9F360B2FFB7780BF956B672D1E16730DC876DA3FA -8DDEB7F18E82E51FC575B1ECD64BD0CB3BA3E76145CAB6C3576FA8BFEF56BCE1 -E24E14FE2CBF26417F9C4CDC4C965D056D51307E9B2FFF45179F188B8D2D0C10 -513CC21A84D27B36FA0A14B70DEC21D427BD874B773C2EAF74CF2DCD04C0BAD8 -DA72D4BEE652348C712A391BEED641D1DB07D07AE62FEFCF89C21B427190FA84 -0269E59BD51BC2774D51CF53B7FAB70546D5F58DFCBD710A56BB6F8DEF87F1B2 -9AA5B8DBCC8E61307B42ED560CB4AA68C9DA56B9A2C2E84A57899339FF1E896D -2E78151F38F22ACC9C6CD2F0BA1DE426E42F6F8B4210AD772E9F6ADADC8D79B5 -EA761976EFE602590AF7A976D1223F68F86C2E36ECAE00825D964237E832DDBE -E4FFA28E876C61749F1C1BEA793295A5DC6E29A729FCAAFD6254E9EB5D292743 -2707953576A180A0253B6EB06C815EA1F9DA7887BB4EC2ACA690F21F1DE1B060 -001D1E80FEAFF9505F1087B35F32201F1E0E891AB42790CABFDD8BA21A80DD9E -4BB15CA6A92C2379BDE2340B54075E1E4277C27FD25331736C1594A0A1F54051 -957FC4AE2E467E386F9BB644FC26D47177AD50F20141469E0771F07407828A98 -CA3F10F1EF3431B65E9A1407E54BE5139ACF2EC930AD3478E54459C5E48E6F9D -C6EEED387822A391C1AA8793577D8CD3BFA9DE45112128A93DE58C49524A76A6 -0D86BBF7261CE424330B4DF642037C4CBD30A2B0A000B4D970CAC33F828A09A1 -605AD7F89B617C770DB19BBBDC5A4A8F52B1CF312D300D0C0575AA93E9F26418 -3C82C196AD529AA52D0EF942C8731984A668A5C89686E24F113CB5638DFA762A -90DBF8A8BDF46B1118591C7A841D8D56BF5744DB63AE3FB3538F815097193B6D -59033FF0418DDEB7C0CFF6D4517A35A7B4633A4350A9F9AA7CD5CA8E8E0AC353 -B16AB3B903579ACBA88AAC575F298B5BE14995A76E3084E578FE5230F45FB1E7 -B7B9D21BED39F5B2C117A6AA21FCC00AC8D1E2C56AB24AA15E97EC484AB788E7 -C640F05DAA0460A0B4E9C8503C20BE5D42029A3A1FB3FB29B0E4B2BBE59505A6 -F808449902CADC5620489BA1ED619B4CE1B83E516231F07472B3905CA8CAD8C9 -3AAE780F0FC1FB4F9771F9E27E3DAE55F75660904057C015CFD3C2C21394AA60 -6F67B304AD1BCF0DED6D671BB89AA2AA50BAAEDD0B1C04773886A04ADAF60C5B -CECC90C741804AB20233ACDC0EA1CEB4D3C6B0DE10AAC05FCCEA939B19B012DE -2420BB17D8A1989B12530C1A0C196207F0A653615CE0BBEA3436562DB70FA750 -5EB5C7449E0E797AD2B4D226FFE75A459867ED16D62808ECCF4F42E558D32039 -18CEBDFE50DCAB0A807C02B8914A482166D3EF5DFD7825A70A163B232BFC6D35 -44419E988103F5233D64583F54206F81D17B5C2C103CCD09552DC1DD3C7B014C -A602DEF221A959CD5BB9ADE1B392D9FECE841BF9393EBA6096E34B0E0F071A56 -3007E9BE2309AA3938CD811C204FCCEB780D718DEE7FC4B54864D6A8EC6E5A6D -CC5973F89180D77D546C98CC3F0B1BFF6CAE192F7BB56CBBD572C60EB3E32CF4 -351D25A91AAB05E506BB34103633F12F96DBD4A48F7860A5A4AEB2F5AF3C26E3 -FDCF7D711DAC9DA853C4680D3438242AA4B4F31CD30730D2BAD60D53EC855904 -52E504154986FB18D70B388BA034D613EEA3139C9D345A9C32645464DEDA4080 -5AEC9C95622FB25BB84AEFA350ED064F9F6D36D065AB5C3623BB8C530F450383 -27693BCDBEA43016499089AE96EFC1674E0C781C3D57035C9EF683EE7AA9B0D9 -129EEA4005CC5013C0125340CEB995974A3C5115A337857D9A64432C8E1DB730 -34A45C5444799FDEB48876A9FE5967E2DC5CEE966FCC7B6D44AA6646A6866705 -B03AAF1680FFD7AC4532DD9236FB93E06707CD473A784F2A0CCA080614532841 -FC6E17A3EC2071ED95630A0BFFA5E193755FBE6F5E47BB01F2D001112DC9BE21 -321BB52EAD97981DA21ED58C7EE9F1222CDDCBACBECA9EE6514F44EE67F9147F -4EE0AB51013B5347406C9E68E1B02ADB349F1683D97B11BF372E40BEB0933E53 -47B85006E4D890D1FDEBB3DF28F979B38F35D2CE40C2CF5150C2A3E89878B423 -9F276BD4DBE2D360BCD56EA90D2D2E4081FB2250041D7F91FED785256EF63DA1 -2A5E309CF063606B4D459BFF752C1FD839ED7B34CA9E35C640C74CAEC1B4E4F5 -A4E248CA558D5DD00A353E7DA3AF7F103937A1929A08501B9EBAE0C5E9370473 -D129C4D85F926E8E9EE2F66F24EA474ADAAD82BB8E7776ECB6B04D46EDCBD2C2 -3FEC310DB22C105A3781ACFDC48F4CD510E78DEC88D45551AB54D3E7A592BABA -2DB6F3D69FA6C76F824FBF91E601E53E9E1789ED7D99E1EA1C2291C2B8BDA2B5 -FC8EF6490DD3689B718A60BEA5DBC7315E90C475DC3A8777F0507D26A89FBF32 -3D65AAB9E6BA8827A40FBE05E8101D678606425930695B7212A53B06B723E99C -E8F4E1C25B6C605996E3325B03F06F8EF607C53BAD9D0457F3FD3839A5A776E0 -8009C33DA9593A898BE25FD4F9410FB0EF1D2451AC04210CFD2350D093EB0E63 -DCCFD3D9B0BD93201E22FA29EF190423156398838045FFA8A0C2D82FBDDC031D -AB5F28D4C4F599240AB650E4E464630776A69E189DB265F5CC821BF1FA583F62 -B0F3C95717D0588E37E6ABD75997E4AA9C207B2A0D72A7F210F90B9FE4ECECA0 -30C4C79401EBE7DAB29B8F8CFE9DFD8E2BEE13F60727427BC341C1C458C87C5E -2BEDCCA1C57859C5E6344E73A8EBF5C69B8696AC909FFBD1827D8627D19C6A65 -6E0B30B4A3798597BBBE6920CDC6FA7641323F9BBD55ED9594D3E7FFB8AC2A33 -103B2AC07CB3F3F13BECF1A1004CD335B66EE50070B73A1995D92D37B70A6D6A -F15C733F684ADD14D0A0FC72C4C85409EE499DE4880D0D43D254FE64BE0E0521 -299ECC1A0006A81FBB29436C1667DF12806067DA65B1065F5D13693EB6E7BFE8 -73C96D74DF79B229A14AEEFCB3BFA49AF4335E39C4F01EAADC45B8CA1985ED4D -204FA17FD2292159486E9E16036BC2DB6DFDEA0513B5EAC2E330230B3E480618 -F10FDD28EF6540BEA5176780DF7F6E1F9266C16D6B3DD4F5913F377DFFAEC6BA -5F46E222AA879FDE24C7EB91DBBFF972AC2E046580E9A08E7743652909CD36EE -C19EC34657B85CD9972F117AACA53A5CE725A4034B7C5E924E3605475A38D237 -DA7D847534A82D4C6FF313300BA22715F3D860A69218B81A428D991B9E4CE68C -E7BC3702AE8460E9E987C34B2B99447153F5A3B258946D6D89F165BADA389A2C -19AC4AE8EC3B6D3DB19A153C9418628784B0451DCA07E395DCC7703016257C84 -B9B982EAB6B28DC56EAFCC747DFF63E58017BF02BDF382C42855D313DB09C185 -115747F9037DA3A1EFCCA66A1273B89D52BB24A71B15D09CB7F064D6B8FF87D5 -2548C8C2F6263B7C1B725DAF2259092618C0626D8FE56BC5503A727A0641EFE3 -52A757AE040862B287369103FCE96987DCA9541E7572169E7685E46CD859EFD3 -ECBA9E2AAD5C0C6DBDC10691C0A33D3F2828EB8750B38A023D10F03545947991 -AE73901A3AF5D159D08FB7B0C14C318B05F606469E014C24373B22D3FB5F613C -54338D3C963D5A4BA0DB432D1C8D825C86478A9D3010CC2F61B0A78CC9421E8E -B3061AF22FB8AD68CFB67DC52256D2903FFD2C2E2625AB396F2AD254C62CD95A -3E1A80C0A683B7D46CCF682C8FF288F48940116EE40DBA2E3F2ECDC5E899613B -587C1CCDEA37B26DD65B20D1C5410B91064EAA71CC11EE1512C308DC0F531D6D -321FD8C67E1B01E2B624459F31F4935F0BA76F0156008EF59B60D1C31539151A -B99E94CF328C6D024D304FD8152DB5BDCAABE4BC885FF9C18D01727D1B07B891 -A61BDBB3AC8F10DE2974A803FEC0CBDBFD92D04A4E14AED1F275B46E485E6B1D -7C905051A643BC92E50FCC4229E08ECCD400032B99D37D34102A25E12F040027 -F6587991C200A76E654665F8B6A76B315C13F5C3A0231FA0EEF44212A07E878C -45C71818EBC120E6503681985B6E2F823767E2840575BD1F0FECDDBDB49B93DC -07952607A2FD0A5B0E70FD2D884DF7EA37D724442F9D012374D35BCF322A8C21 -CFFE14A146B5C64BD584CDC9979F02AEACDC60EBE65EE184621ADFA04D9BBD9B -C2E56BA990CC24FAF5D65EA80578A2ABEBD053780F2B9BCE917A1CCF34C8AC43 -596A571C7832DA1024A8B274A7E8628CBE9488E6B1D42E2368893EC54E7FAD55 -A207A74ADBAA302A10286906503432A3A61BE8C2A28B2B8C5A9BAFDD1DA5D618 -AB8A6567BD140318C85662F46A19169F13E07DCADE1182575D212FF6576F017B -F8C0945BC7CC00842B2D74985789C360C3AB4D76DBF4391FA9C1F47891F67F19 -2CE34FFB9ED7B6EE772B510D3390A1FED7A893865BAF4132F91A676FE24680C2 -1505FCED53401B381F3D1F0A7D475CEF103E43FBF7FC1BB18DD57C99B756FDEC -7E31B3DDC977CD34D7B577051BFDF956AA6F7C61575503474670BA367115D60B -87CD2CA6233E932EFC1F3E46E408394008815BF09908A5A62B5B314B8DCCB3A7 -9703351F62FF48B58D64792337FCDE59F66B21E948D19BE95392C79EECDD0647 -173DA0A65F174D9359A0E09FFAA5CD2A40D397DCEEF56C5F94C0EB856C40A70A -E46E0FC2364BED779584F269C4301CA425F05CBF99EC441DB67E15F6F66339E5 -D58D35085D0D659510EF769570C239A67562E92362CF1AEADED5C70C686CD434 -2D6D5087C5254AE1BAC0F58BED650E22E5EC6115B1F05185C01287E8F696F05F -34CEBF284A65342BE596CFE2C41DD8691C0CD346FEC556C2A752335E159876B0 -8E45B31F439CA3E244274F82E945EFD6F2D814E5237C51196D6B143228FCA788 -AA63CBD035E5989543F1EDB2CBD17B09283DE5380630A194F8189ECF1379EB96 -3977E67F934BF98508D20CC63AE03772C9783D7BCC4997CB8B237F7B9D7479AC -D7DA60947549215209F86833430E1977C1396CD7F60569847349FA3A89ED12AE -51D230288DC4D775332BBECD96FC4C63CDFC5C580F45BACEF0517DF7EA5E52C5 -63024775DE8D4EFF10EFE88DA538770EF6A3B11CFFC872CA021275F3311F7B08 -C0991FBCD679ECDEC5F89C1D6FFC4D328A0632CA07808DA38967E2AB1E83AE19 -990360D6E53DEC1D1B15C069C93B58E77785BD24931EC5099E97E151E663CCBB -618CB4FBB0C51183C367F44E7C9C6760E054ED47DA817941F84564C8764240D3 -6C3060868793279335D044233223157FDC3ED0C07017628F4E2FACFEFC508C98 -B8BE1F55FB67597E7742EE0135635401C0BBC1153DC40FA79A94115DAA111365 -05DED7204200D3D1324AE3C645BDA3B9D710CC10E9080C619FD3D06FE90FE2CD -15C6512FCF776DEA7DF9157728AC1FEC5CD467762B7FA1CFCA54102EB8E4AB1F -7476010D348697D06001DC098A7326E85B6AB1B07AC7AA178178E306D2A87DA9 -85FC9AB8117FD688F47BD22209B3A1D0C93083093F236C8E1B02ED15D83C33DE -11A1FB6FE719BC830824BC3328A7E49F5A873DAD276C56BD1D1AF38CAFEA899A -389C8A9DB9077118A0424DC44E7DE3DD7655FB8F6992451BDD52BE843AA1E1B8 -2BF771CB438A29F8E4DBFFC4E19C98B084E0E03A2ECFCF20A2AA0779D388A02F -72FFCA20A11F708D4D7178CB9A0EAC0D1704E183F632076BB91FB29089F2C415 -87225E605C21E978727923B2C197E8078B95397BD9C65197ABB48926A2405C10 -958A0B8BED8642D5C03C13208ECE983CCF85BF8B3E9B4245C591962E858C7E69 -6582EE85C87100C78F71B007C314CB802CFE6B7D0EB9647972E9087A58BC7F78 -B8286D4F4FEA114CD39446F7B78D3C62F09DB1788A6C222622145DB84C966ACD -9CF1CFEB0970CBA95C434F3BADD9C94FB920B61758EF7868DB006CB9573FFB63 -090FE21FB752779109B0883B8FB18E0AE30B06C311CD740349919AFF8F7CE341 -FE8AA12A4AD3C6E4C5193965012CD3B2AF97F61407D971FF1CBC88FEFB0798C5 -0AC8867C5943F906463B37AC97CC5EE1BAE2A2D5140373E47550EC7C6F8FCE28 -AA925D32635187588D606F97152A350F4F947AF926111ED0156516B8993DF0E5 -8924CF692123ABA594B0456E7B9BA4B02333D93C41A38717E37E7A712A3F890A -4A5A2D8B1533A30B3B71810A219D2208CC930C220809BCB5F36DB30A6BCCAA38 -56DE7D23ED9C96E2A8C72953B16E260D6E09EAB74156950B04C3257D9AFFE231 -0B62951CBCB49A09030B2D78A891FB32B699742D2C50DC7458946313AE2AC0D7 -EB73B761E55B2A04589FB00339405FC3159032AFEF73AF70809B709AB6B0E4CB -28623E96601DABB5F1B3AAF774D33CDC08718C0105E23858530FB96FA7C31904 -3CBEE89CDB5C2A793A0069AE0C871193A41F572B66B602B58C0296436D068802 -EA8B67BE1023512A35978D3CAAC054AD7AA7F0DA016F41637F193FC89B795FE5 -E41481E11F63E857A1C6B63D07219791842DD5B6312347D20258392D09D95A55 -3EAD367242BDBD530E3E3E2A7120702CFC9963125FBC187A232A03062ED3F96F -04B54D0F8A3F5A546DE9E7681A9B7BD3E3C8F705922DDD6CB26F695EC527CCED -DDE297B16CC18582D68002F76F0D33396783F8942837CA994BA252513C41F2BC -412B6622652B3059E9255462EE4A1CBCF81140FF1B52EB35F908E6546740F993 -E3C5E73EF0D9FFBAEF5C87F8229FC0CC6B20D23BD9AB242CA2DB98EF7728CFCE -D04763F6ADD6E73D22A432C21A4F0C7D3F1180CF70C58FA9A058588357C0A5A8 -EC78207946D27D9A92FA75F14B9E4CF297D88906C99FEAA72FB1712B096A26E0 -8516B7EE29A7FB4E371ABC9204087C14535DB58EF419C5F6FB17C19DC140F091 -D622144EB55301F2D6DA0D0DEA492C4A262DD4F154683446B5495F368A1D64FC -A002B8876566C9877B297CE3BC277846CFF0D172B8639F44DECC452B853D4D6A -5D542D09467C72F1828D28F4CDBB9F88F49B62291E893D0A34C4210EEE8C496F -373B478DEEC3CDD54E79437076FAF11AFDCA710FAD6E764A9A509876BF9B02E1 -06A72423B570EB0FEF20F16E6E00A9A0A42D360C6FDB1347610D835EFECA024F -1AC9202696B454E17857A7A7AB3A256187E056ADD478CB53EB4E59CAF829432C -75A2F22D94F64705B88AD444343D4F57C131E8E63D1C596C4862901488B32B2F -8DFE99DC26808BAE9407213AAC51F539525D37717D2A7B5010E4EC5530B5DEA2 -5FD1BDCB4801566841050E88FA011D4697D72578B7996406B8CE183F036D9335 -88DEACE05D25498E2CD79CF1A747487C3DDC42130FFD11286CF1875B4333CCFA -8442436B13CB80D5A89F3303870870E9548CB2A9E570659F0B73CCDB5F1009E9 -118CF5B44247762DEDAA6FBE729A3214B5766147988437E72B0E8B32CA1DF1DA -AC8D77B8F8BACE1D8500B6D58BC6A8288C126461AAB0EBE1E2EE7622FADB4D3E -F160AED1B52BCA0A704BECDED7CA2012D6FCB2E98CEE74A2D7C467785D5210C6 -05575C75DB41191ED6B2BACF1EB0F6A17D1CCDE10EFB0D1623C49F3A52C44A8C -9EB2AB272EE869841F39E1E72D750D1AD5CE2327A098F9D13C897BDF0EBDCEB8 -F15444E8AA1209EBBDF904850DE4571DDB125D34F143755CB048F5C5AF3B3ABE -EF05F5034BF348296F09738C06FDC144B7713132C5757D9A8DE365EB21C9AB5C -424B4930AFFD7EA03928BC200ACA870D65A6A87A9F6A885C1188387F3BD8BCF9 -AEEDDDFE6254D6AD640A25BF742A745F33F4722C5EAFCD3E67CD098491971121 -02DC643FF4DB71A9458919C8C8A266FE20D3637F0188D2ED49481CF0C0EB0BDD -F7460E837FAE3289CDF78B7CAA67F52B98E04E5ED744CA9A8D72BCA22B78F19F -14EF24C72B7D483D2F03815AAD8236E06FF5D1C4908F8EC89300E21D2336E022 -E7C02FA6266255229CA7AD057A86AE5CEE956743CCF3763B95251D4F10013790 -BBDB6F6EE8114613DA0E265DF13B74ABA350F5BCBBE53EFCC074F6F19611D88E -9F276F52BB62CA550F62B16A695C932E3515B942D2686ED2215CF411285AD334 -A63CF8D4DC2CF5A824C80DBCF7708808415CA8803707FBCE59B59523CB6AE8F9 -08E3D11996D3D7808D3AE1302149BE86E3F70946930A5EF776A234FD37D5584A -495912798C385486722D32A6D01341AA02787B42D289F23DCCEDF67F38E5CE75 -1D768A05209E55AC5AF03CA58720EB0B8F3266AE349BE0886AFC8115AEB45FB9 -F8547736A1E068674FAA085A41178D3C2A5030A622C75629F6E224BCA766E086 -114EE50337CC45D5F8F39D8F782BF4341DBC17811ABBDB6FFE8D8B8EC0813436 -A0D092C1AA0C92F0092D1B4A6D7FBBDE61D570D5B74480344C9666FC01CC07E0 -8C9202E88EF265ABDCAD12045ADE417D3C29D837A4DD066FE141697611098E81 -8100EF53433477802DF070E88B76A3BED85ABF5B93058011C8B16CAA0387A1A5 -730FFCBC09DE20A017C911BFF4A5B4DADDEDEC2365FD178D3A288194FE5AD32C -A9D6AFBEEBB05A365462F9645E03F37ADC4B46C80A2305C3D959D842C7DF5CAA -F65A4A8FE43F42B342C3B3D97FBCB31C7FC441B6E8E01DA716EB38C736B3E968 -D0EED472103E33F1624207C63E02C30032D9BD4620224073CE14F2F5F7F3ADF5 -7E835B168AB8C24DDB7C66523DE038CE91EAA70B60FCBB45979440A641F3B9CE -C032F560E902653714B803245C0B8BC46A254AA867DA7083EB2273DE81FA0F0C -13AB83BCCAE9ABC8A33475464CAB21974B4F6B9FB439DF8C1683E91C70F7A22A -D8ECE10D54D664A2684E8753448F49342505C15328708BAF94A2089CF44FC0D8 -0FE83E1860E95BD2CC330047CA486A4C1DBA61548617B0711CE9F2FFC986E9DD -69621D48462A8EF21A5C730A9AFAF9FC340D06DE2E1AD10BFC30FEF90604D72E -C151649F765A1A65B09405EB10149B2F9C3B6CB8C2498A7FD69C371850A28E15 -D001888E8821DD7A3845F2C70EFBBB08300D7CBCB976831BC2145CB8C856207B -1ECA9D27614F6B1534AD17EEFD6DF88411826A2ADC20A9E060E79DD9B3FC9425 -A19CF213F2B89D6B71409C781DAC8DBA00314319417652099BD7F637D65A9CFE -D3ED843628C740B0C7059338B2940EF373E851F722C2B475BFC1C18699148E2C -E0FDC3C012829FA69B8F42C08F36767154AFA79131D4BD6E68AEF4221B83A925 -D384E5CC415DFAB15458B1E867A4D2BDB558C21C8461677EE36503FCC9C4495E -EEAFBD937BA690826FFBB0D5C6F855BE42C907DF11C8AC7AAAAA98031533316D -D6739FB3887E2460F93991A0A7DAC9F41396638680899DB6D934E5655F9F4C27 -492AE20B322D912174F1F0BFCC88C24BC9BFDC1777FAC99238B2EB55A115C886 -CB30CB984680E6C9DC554954F5FB25362838A3F20CD715EB23E44077AFF2D5F3 -EE0407E067C202133BDF89600E40B5B50CC2D5AAB17464FA917D30FA36FAEE98 -5AE929D6624016536A3ABEE523CF597AE6DD93F51F67CF0F70356089B8398D21 -643DC8C267263301219D43345E0F60D08F9C85F542CADEFBB77A8C82CBF9BDFE -094BB5B53A91CE560D6DFF007A94A2329D072C415344A6DCAC2C3246A0A9B0B0 -AED75AB44BA60A30E06B375690DB237B340D358392F0D36CE3802638C638ED07 -334102999B4DE2F010BBFED3E2D07124E37F44C7D2BB1CDF608D76B30CB4A038 -5C483979E2A89FFDFED4ED4C56C301137205D3257005BE8A59A2A18E0FD97413 -5F9F91940128A6D0857510F3DD5EBC028F38F9951EC6159B2E7965782C284570 -8BFFFA180ADB09FEC193B7DB8E447DC2DFB0EDDD9FB0430D9FBE5141F714E2DC -AC2E2689F2A24C8FAFFB6ABB59F4E8874C588D2BAEBDB1F6DE0781C66C053B7B -BFEF8E986199F33D52FE9448B67BA40B7C970CBC92B8C06030A9A15C63233C19 -5B444218C571B9BCC07EDD39417F43B458F53B5EC2DAEC99BC9D4F83C4FCA1C6 -B86EEB2B0D9698C9DB52F50F06CB27B149D3CCDD21174B17955A68D9F8195F46 -46EBDEF81EFCC5A9259072DE9F0082CB8191D8F536A729D544C7683B7056EE10 -8FB8FC70052D988D75ED34A7FE10C4FEEB105A0EF3C2B96C20A72A77A1BF5DBD -DCEADDF4D308744F7A7397ABF6292CB1516EDF945D7CB90147E5213FED1E0B0A -5261A049778983C13D1C6A916A61773874024FC2CA69CB563708A77DAC475396 -31ADAD54ABFCFBB918C9CACD6A281139311947DAFAC6CFD0D4CABC9954EC3176 -CE6D4FF9E182039BEC3E19D08C6B70D4E93193E4CD6E01B95D9A00E693E8462D -4F49F92307515B0C76AC4FC4D864BE0A47FBAC55FBCDC8C7F299955B7D0A7BF0 -768B24879D38CFE5ADB9BF450E2A5F6A4992F792FAE4669D81778EBCA2DDEAAD -5D6FF3FED569633C82E64BDB2F49AE6C4F78E88DF6FB64856F81184DEB825149 -1D1752D36B6DE94BAE058D301A6AEF8D6447B690AA740A18F069AE107A6CF257 -0A9F8543E94DD9718EF1FD7ACEEF0706A7D5672C60261C90BCA5A5F88F111054 -1724ADC2E19E1114FFADCE989F02C2473194A361C4A1C190D82EEF2B4261E7A2 -B794A03F65130DB01BE22AC9F007DE1CF647330A5F3064EB1F4BF688B6A7C64E -801824FADBD122B593B281881C014CD1896E76CCFAEF10B2D9FAC5104A86B93B -261EA4B7A9FC1A46BB1E58D1BE20C07B5487282F2F6DCE16A27A5BCD82777DD4 -B96FFC1A83E4E0AFA129514FBF8270153A755F289AE491B9106E9F388D9C8188 -F8C4AB953C6DA15B352C9DE6F0909AFB893021980AA28FF3B9B20C3858FE2B75 -67D8986326BD73917DDB4BA8A38EC38515582A0930688E8E0608E28D504BDE86 -1AF67BC7F5D148AAC191E517E9FF35E03D160B089CC1D547E84FDC8D5FA17CE8 -5490870B089D4EA945AA47FC2B22ECE37CBBE766C0B38746601588CB91E14178 -9C6FDBD71BEDF78711AEEDE67015D056543AA7A7AA491A4FB7F3CDA7400D4F02 -21B8D1822FB22AD9CDEC77D790F693712507FAFCF7C7B688D61D791C5AEF938E -67BB2263889F70775DFE31DEA89362B2A354A66341EA25CA2B7D0B9751B063C1 -43311686A0262E6516BA3073B97B551F62B171D92A093BEEAD77F518AA47D27E -EA28F94A52B4F062EAF22A3BB55231C02ACA8F4D24575D1B20871DADAA50A45D -9DBBE67E40A4E7C73707AA92542D259D86CC2812C03D45F55F1F106389207307 -E6F819F6E72D4A3D7C7C35D501B8B4DD87B3C5245C239D50515A9DB6E6F63554 -3D539FD90D037719E641B091F043FF90DB4BE267967368ED11C7C5A978955AF2 -7E3D3FEB5DB2F73C9F17E77B29E2518C042231C0A6149CAFB0A772F2A2DD22D6 -0950A033E805DBD139D32729595752AD697749DD3AAC4E80B8EF7192A02C7E60 -C222C4BF0B4846AC80D8A503A13FE09D1E8680E701308148D04684D72F5D3924 -80D0DD922ADDC93E6C9A92746DF9F342AF9584492AEA82A3EC637875420B7784 -14B139E1540C94B5FA115AA2A414021CD04598898FF8B8634AF360B9223E968E -AEF3F4522034DF40A8D445DA9BC639EC4A33315DB7AD426B1ADB9F75BCA977CD -3FD7E509C26F319B5C4A33C82FE0C6DF3BDD7DF26A21F3B39BEFDE002A1FCFB0 -817CFCEE79B333044FCC04B0B4A9A95C35600BD6265DB61B5F6B2A679A7AA0B9 -FB0D6E5DACA9307FF3B847DFB6EB2AFE9674FF68D5528C7F5E5FC724F704C0A9 -F061FA3B46A4C382842554BA19DC3A9D452AF54B47E5C3B24D62FCD2F195AAD3 -504443027AD89DC28CC0751F1FD6BC6F730CCDCB1FCCD3A8F9984B7887A7FA1D -017F337337FD07DB4DF862A8FE056259BFC7B3A8451BD1A55DFE8B72FC716CAD -82748E02BDEDB0FD7965C2781CE769F26480D82DE5A496FD5DC8C262F2C9EA41 -691B450115B1540A0032E7CD4A1F77C1B2F9F47D60F30E4A9EC3F9B56E6038CD -00660BB8A136DA68D522DA12EC4CA4487D3563E42A0652451F406BDDD67A6733 -7516148E0DD09086F08C1D40E7EF70D176E974431DA1F2ECC17CB312C85170F8 -5AE1A8D6C0EE3C6835D853F64511A6F0B66F6CDD08DFF911A9363D16F4BAD56E -0BF03DEF1B878D1939AC19A126C5CA54FD0FD875540DFE10B2CF97BD0A11A681 -7961AFD1FB1962BD7CF163B3B9CC8FB4701D40DD739AE4280D1BFFF8922E9C6D -A4A4EBE6503CBDFEAA86A0DD12A3B524D8FEA8827E715DC3B7CA378466BCE60B -7FFA482662E85514643C5ABD7210F836F591662F331E51C7943165F8609E8A73 -E49AC4769EAED66D075AE1BB0D259FA08122D8BCFCABA7F160 +84F4ED39D8127CBCAF9AD48E9CBD10A67A2CD0CF93D61B05DA38E98D5DD8A805 +FB9774EDA40EA0BB44E1795C5826022F3D20F30569D86C3FA13E1E4024BDE38D +4D3D1BA8B063146DD129739FAB9FBEF85236DAEBB462BD424F7E97B2310556B6 +5B13C70CD7423B6DD024E053FB603801A398761BC030C7889ED6D24A1F05C48A +D5239EDC8BE23B4883D7312096DAA334A3F3E1567B92F3766867E9910C8F685C +9DD1FCE797555BEEC6C8D2E3FD919B81A951EF6D6C42F88844BB8714EA87AD0D +0DECBF323B05DDB409AC534A5087E7C18A839CDCE0A6AAAA79B8E35C68F21375 +9A2A80C092141FDAC6C5ACC84B5F31D70C35B4708A664F06AC8C7EDF9BCB2421 +21ED066E07B1070694AD4C976CE867F5C953E2740CA3E3B0941E270676C7C892 +52C991B67220CA89F7E8417E8F718666A1744E7A5777E370EE148A7853DBB174 +21A597F2FCBC7B6D45D3D56B997568AF83FBB42CAADC7AD151EBA769D11ADB0A +CB6D59F82F70AA275D606D1BF29CB10EEFD1FA9FC35B97A1EAC17B519BCFBB64 +A6FA812023BFDA1E346A73A678A2F1EC7BF4AE861F420746AB464C05758268AE +A8CC1D1484D908C8A610F58D1B46A641F5482D0C8B70169EB6711E8DDD7E3B8C +589483F94B5E6657B8EF887C36E503EC83BA302F11473D6DB4904546EC5CB9B5 +4DBC948F26C63B41A493073EA3B9F1184D6901F0308B4A6996F91FC314FFA54C +921F102839D5D4530502E3EFD9F1B0F4B557D19DDA4EFF711262A15FCFF137BB +16BD2253F1E9AE6FFF3090AB3259FBBEBA165B0081EFC32EAA0A87D6050C5B26 +7DA8B4A6FC94ED80BBD9B3348EA511263F33567AA6C268E10DF72CCDD21B4550 +03473C8C5F3E3D281352BC940D27CBBD087C13AC70F72F557754FB53421C1CF1 +5D6CFA7F86869AB323167785FE3DAE8688EBF312203907234C3872A69F25944F +108FA20DC643FA98929F4423B4CD1CEDAC1A365185E86FDD4E3978154AF581F8 +17BFD9BAE8FE55844C4077E3502DE33F70B669768CC7ABC2C408102FDDD41939 +21595BF555AEFAFEB319937A7DFF06AD2253F97F7E5FCC866D1827806E588358 +B2B26362169574670FE1302AAB6D0B8BD86801413D72687A6EEC5498FC26F95B +97389FA20EB48D356290336BBE9F8F8602FD3538348AC68FFC6F0216B31C5962 +ACC612AB7BC54EE4E7DBFFE7B23F7B2E0D36CE482EA53DB47A05BBB5E87E9AC3 +AA819B5CA86B87533B13FBD2197C36B4D5CE7A969D7AFBA704240DF7D42CF30F +17FADF284CB303F2CC4F4DFEA2C72F09781C8F6B3E79FD1D5C65DC134AFF8F5D +7B598F7777C446BCDBCCCEE9A283A3EF356EAB27D8BC5364A375C209A71A26BD +2B5DD2F4E5D756094DE321E692AC61883C75E4B7539CFB5354096A9ACD19AF45 +8AC6ED314C48C0D7817A4BBC95120B07CF712C7B68C4C6283F3B8F657CC871CC +B905DC6A6180F458C389801E8FA25DDEF47BD1086EC66E109D4B0B4AD4BECB2A +1C826ABC6094EFFF1EF56B1210BBD37C1C4316D7EF1DE61BF69B1D8D5E173D50 +91F1A93F985DE8C180A045F486CA799206EFB861D2E98E0776CF110B7BDF5BFA +F545D6B2DB7E75444F3A05164A8C30CE8A57A362F7384B6BE1154EDA5F89EE08 +369718561620C73A0EED657D7F91ACA6E41168A0CA783BDF70391F8DCA06FE07 +98F5D12F72852B00699847EE3255344844210630D29D27DCC8A976A64D2FF312 +DCBE50763405AA5431E300B8C458057AABE08F1E7F70B54C8F4321FC9413B5DB +5F472C0DE7FC6C32CC44D755F11410529BCB9136EE7E0BD4627C2C7B96E8CB57 +DD736FAA0E254368142B1C970B3ECB40570FE2DA6B6AD7F5E81562577377461F +B2655437AB83B83509A64E91BDF8A245AF86631E781F9AD82253C2BDA83FAF81 +85E7517FEA4A481E859516C17E1ED3BA72C4357FAE66877BC3586819D845E008 +5F74493B89013285343490B9EFE8B478535291E729A83FA30482AB0BF98438AB +83FB5D81D8C2FD6D6E4E740241368A5DAF63E2A32F2F132B305738071F98015B +7D76AAB04F4036B0208B865E511CC97944B6634867745B6C54716CC4CEA64266 +CDD55806650C9611F3CCD7FC5487DFD2009F9E9B92FC9EBF8F703645F39AFA49 +B55126A4D1B9B064DC45FAFD2EEE133E8EF4ECEBE3A9F6A446D0E172F58729D3 +09D37C475F0D5D2C6CD2B9012A748A418127F95999E25FBC40FEFF6A8008744E +6B6D86F46D22337BBC50E20B1C5A6EC464290A2D6A7CB919B40DED3EE6821F41 +7ED82B3AD610AD4D7A1CC4D19C1CABF5E8046BFBAF71F04635E7179E38B76750 +6FE54C73524097B555686D4A63AB9FEEC20CF17AB794AF7B93261771FEEBF472 +3006F2733A606FCD2877C004D9FB2055CF109DAAF0C8B180C74EA4082AA108D6 +854ED8978906996332A4D478B222533C081A8E9955B56EAA0D1A972368EAE511 +BE53D657F089C2E3F356135D9B8B2000AF99B5C463048A7E88DF50022C2BE1C6 +FF935374C06C8C092942A5C533BBC534E16F9DC06F2342EE1065AC56B725DA38 +A1EBA2FABC78ED3990D392EDC999C4C63DA920D31FBC134D79EC4325E5D009AE +43D13C00BA3348B8A60A8B85395602AE26419937BBB0B8E13B58B0D5DC13E257 +746BC9182DC47C13258739493F4852CC5BB75F4E6F08FC66D22DD065948A58F7 +017AB351156FB2600CB85B3BC4CB59252C9021C98DE29D997C72FE682615FE90 +467C6AC1CD1DEA6FAA5EA476D4D6ABB7BAD66F56F8050CB0A3689E033B2A2910 +ECE37B6A089A78FED58A210DA9F3D87A9420CEB3F86995C2811CD6366F1AE470 +8C7DB8DAD5744BEC588D40D86117F0A6640E10F7AAD07AF223FB165F948685C0 +49213D3AAF79FAFE1B0B97CCCD057FAB7EAEC5405EC412A50BAA0AE40B2F4241 +5D1B30C1D9742D978F1177058CC9F9796D1339FD762A0E2692809D796986A1B1 +7BF9E8EF8C9889106D049EA8CB9C05726E81D70433162B139674F9B57BCA9232 +A565A353E7880B9EF007F6BFCA038D207283E7C7B2E87D4744277B2DBC0CAADB +2F86C4CD08265ED6C2DCBC742C4B2E86C5830BEDDDE0EEE5785B621425EE6ACD +B15DCC79C715129ED6B3FBBF244BDE61B14BF471E406976B74307CF9285D73F2 +B7569B900B5873A8B834890C3B664CC18A905FFC355CA45678991A6033EBF272 +CD0571AE7CFDEFA886BE510DEC65053049A42BA19F2122288692BAF0E2F97738 +4F07FB7CA6E6F51E3F604E0092E699E43D3646433A552CABAB110430EBD2B27F +24F93DDF1E499395D759731BC8ED2E3A1BE88956ECE4F3D6DCDC54447EF69391 +D4B31346B24C6F015B473C072AFA3F17956654C8916899253A8764A10C349B24 +22B01AB946D8FAE6F40446B4F38AB25C02D0C635DC60B031A01DFAC57E35F30F +F72BAAFA4C985940CE41275B4838191AFC5D5E89F2BF0C41DE6AFB0F3CE342B0 +AE77C45DA6BBE9D6F07A18FF63C83ED1CF9C510362793EDB27662EB1B722881D +EE49B48F9E373CBC2B6AAF3094144D65D393D0C4BB3C3E2464994B0EA88F30E4 +D8FE8CAB7A8B11B6A06EDBB9CCD0E272BEA67AAF821F398D149390ABF0D1B277 +32581AF647C5A898D8AF65F41F74829A41DF8067D94F98551C2EA8F9D40968B2 +8E43CE4DEB56A555798111497FE15AAF3D9949C7FCEE1F220DEF8097BDF35A7C +888CD93BF4581A95A9435E8693FA4E4967B9463AF438E68F7E1DF331F49735D4 +1A15BFC4A24F4561B2C395D2B07E9BDD06DEFD9DE8A195A0B300FB544747175B +05B815CFFD2E2ACF24D94275632691B91B91CA35B28FCE35F6D414375041A4F2 +0BD5F49A69BD6BD427A5A0FBC0B80AF3384FDC0DD761194135C6A1F18EE2F508 +60F8B9286EFD2D439DB909D4B44E1E45997C1EB056567E82153B4702538B7847 +ED5BCCDEE2635C3D19AACAC7163951063355505C388368F9DBA8FB45421000F1 +D7873E3D396B27F2E66AFC2176D3D801A43E764E5E76FE380127D76C05A4775F +B8A57C8A7951CD127DD4D5E66A314C6A00B0390604F7C28E3A2EB60701F1427A +9BDB4FBB89F3D77B9AA4A01C81BC4E4F959322CB7D7B6D97A9F5549658653F9A +A64B159DF99997779EA7731467657A817B86A8F7B71F6D1E66523E1BFF9541BE +A66DA601DD30F1DA91CAACF9BA3E12469A20CE3D04A6004119C9591CC9ED0F7A +C687A6D89DC0B8BFC524B9A0EBCE7A06B77B07DD05054754D99B2ACF9F49BE30 +94F31A6E08D6ABFE7EE0B02B6EF5F42F7F402A1384CE1446D8E6B28A37DC607C +4DD3D4462E4195DF11A816B4B3722FA00E2342A542196CA971E5D262634DE4B0 +F98F6A1E35535ABBC875582E97A67B003C305306A2E3033442A68B0884E6D6D2 +D7D750944D16C6688E81B78EE9CEA560E0507D4204CF5E2B072826A435AF6245 +81B3F5CB5C7C49D40D8F7C5587844DCF5AFFB60B748D227026B8422BEA2E1DC6 +44686ADFA22D85E907C1E9C13D418A4DA79A7254E289F84759324116F589317B +8C98A295BFABAF32CA01A39A94DC0415EAA25DF3DE69009F5551E97B0EC20124 +29EBA419052C142FA185AA98BC15CB217630149168D61A008B6184C87A6BDA12 +18504C14D1D5BDC88B80A4520ACB63E3D30E5BDA19459D04011B403582FCC967 +6C7FA5615F09C514DEE08C9F7C983A32C397A279175F4F7B3D3B41AC29385651 +65D394CDB4066B79BCA4CF0C6E4F6EB730C6A3A9CE03FD8D7969CFAC7D3B9A57 +5D1E26E4AEED11FEC5BC6FED2CE3FB2CEC00EC7640CD5A07B6A3068BE26E82AB +5C4603C67ED001474D8211E6489F8097FEF2CA3800F7C9F273687A4EB01ACE10 +0AD80E8F5E82C5AB1E19C98AE0D146BF3E6F163065A572169848D09E1D060B28 +65219807987195FD501181781DC8D48A6C90B368979D2BC728755A537F45F270 +24BC58484C6C41B2F3273E2B705EBBA5C21562504E89C7819CD5265711710317 +19F284E2780A4C9D77070BD9757565FB2C3C16472E33795E156DB4D11A2583EE +AC431F6520CD8BC2ADBD66F7010A5BB813A1200DEB0C4CC6833198606E994F21 +B694E0A978E9B74C4C3392009DD32755F77EC96AFC6B193878406E9E6DB0AE97 +20537F71F8C5016668BEB87247F69825C9815282DB49B0D014E79D7AD30C8896 +3371C904DF85293980545FDFBD257860768246C8C169AC98EB5F37FB93F339FC +9303A1976AD8ADD1F056B0F1F77FEF36BECC121506FFDF9B10845544394C40D7 +4C5FFE7A351DEA8729C86782915A79708D6FB969DA3AB2656C3A806B96F5672B +CBF8779388ABC8AC35A80C2F382C8160BD3355858C6D7D02948447604178CB75 +6A1CE44DF1DC170E79142F243F012B42DEE7D1612B3B3B4602A2A1653873040F +E7B5648159871AD26DAE8082FF47EDF61754095DFB375E0F949534107E4C66E6 +F2689F929E8DF0190FA28D9A536C22B62837A271E565E3DD0B06FC407B0B9D28 +32B12E4102DF1A19B82AD6A84DA0D0EDB8A267A319E584AF8E6D68DD448AF5B9 +65447ACAA6CA37167F7A20F2B101BAF5CF63B9F30499A4203C2197F88236F85A +7EAAD802EDD89F703587512E74BAA070830EA0C3BC5E211D602D278DBAA5A455 +0F8E0C9434E4F68C42FE202EF74091F54CC6E5E33E54C456B52870FA92361F67 +351F2CB1D8C97C93347D9BFC50320EEB243A1CD38DC36E45404266A824F0A4B0 +F16884B07D4F49FB376FADDFE1B7BE4C1C8373B8C7A62C06BF7D61A319D04B66 +933C875E626744163580C23292EFFE3209C9CD34E5D6DDA80F99E99005EA4D9B +4A00D502658553F86F33E3CB5A263D06DE92BD6886E1252AC749805CF84F4BBB +6E09C439837CF6CC143C9BBE479C32BB93522EC70293723203A64DACD5FD0781 +861E0259D443B88769572A6C5C64EAD4D81A6C602E67FAB56014FB466CF7177F +268768AFD9B949EA8F155638906350C1858180EB7D4D6F3D74E4FE1267C2A6AD +6A2106751EDF62BBBB69954F1FD2A94EDC8F40867A0F6FD70BDD6D56E62F765B +D57E984A76986D0F3480B71D27B2451BA385D2D06D873815E90031284F8501A4 +2E0988C453670739FB48D28182C44C225C41BA5AAACE8B1861E6CA916D5ED948 +D628DF37F76921E21B6A582459B482CE3D3D9D1F32A9804FDC96921CF734FB63 +7153965E87F03F7F601668843BE4CACF6E7557249AB3768F8936988B6B5CD8C7 +955185ABD780F9EE31CA4B868B3B9974F6B6492378D20446AD8B46702B76AFBA +135891B67A3579A00D84E3672B3F3AFD2BB3182B60A9761245A39579BF0CEE01 +F2CD0E00CCFA6FF2ED703B0B962B020780A98D34A7E130DDEA7D5222A65487B7 +CFEA16C6AA66784BCF276F34B04B0310308C2237DA15B209695A46EED9AE838A +36BC86252BDE7716000E47AF3876D7EE7520EF52E52D4B50E38E57D327F5D9A3 +8C273487E4D43CF0A013E006FDD3DEB2C898D0A5602DFC7B128E8AF2FF3839BC +3CC50100638AC513B742F429CDBB470D55A0016058A7C321B6FEA82F505AE5FC +C48512EBAF90688329D3279A558A5C7ED0D012A104AFF17285E62D222CD2D890 +68CA620BB2E96EEB254A95A914EBFF0781D998FCB259AC821BFDF2DA7DF43165 +67735FB62B79652D7163FC58BA2184AD4115A9D4A87B5DB7B86770091A9F4447 +B18B58A5FC520F5C5593066D5C02E7DCB08D379CFDD2F2005C08691C5FA7D172 +C6E1037FE022050EAACB1FBC04C895145970C7B06C26BA3D23DBB1118E59EB5F +841BF631FC8746CA5DAFB2E8B0BFF2904A42923EE34B1FA02C73B2C2BA02F300 +C079936892969DABA0221BA300E3CF85D5756B1152C31AAF025CF2BC98E95E34 +8E6DE60A0A3DD95C2EFB04CFA318BA0130052AD7717C87992ECF9D2E9D5540D4 +EC543DCBD7213D0B980C40BD3C08523D81796723BC616ABB30663FEA33CDA534 +71275B5FD9DBB95CAEB0D8550E461BC0F76A8FF1F53F0B89E1F2883A5954CEDD +558613E103DF8F06742A3C6DF1A8CD8C6A2AA1C89097F97781899633014F7CE5 +B394E5C4CF51AF70259A760270D0E90FB0C6014943BF89684486EC2E7D6FFCE9 +0626F7DA3DA67D3C4F92453A1246483FB6165510D7BC3E95239173AE85CF7224 +DCE1A51582D4F5066A476B78557993B5FF7AC99BDBBC06AE9D6538647E6E599D +F65F50B1A182B39F72BA9C3FBD3C461FC2E720B72EA5F92A5B379D61EDD01558 +3E1B23962389E133ED530DF302E67ACE9F33E47BB48B02C9514E5752470059BA +C2A8FBC11F57BBA443E9AA6CB1788C20400115DCBB3FE7879D60F3FCACA6ECAD +82593B9F185A129C1F19BC9601ECE070DE45F9E62B1082BE638C6C123125BDBC +401F55E85DEEB89C48906344498D9C50E77CE8CDB83417FE377B75CDA898A27E +93120B88DFFAB4D271D795F191135587670300D7D72F6B0DDBC8BD29D98491B1 +4E533CA9EDD1ECA586FC1132B6AB61AA3F7DC9492BFC0C51990B70CC017351BA +CB65FF8F553B98FC75CE7AD09464D04B27624747FB762975E14C6F4FAC997664 +F5999FE7CF31F5937B7FFF0A36932DAE5B47E3602C1D4E43A6A376C0C2CF8D0C +A083D80171209BDC0E8E28DA33E5ED0ED93E948E55BCF761ACA5E3A97CD42879 +48FF419888C975215D8D61DC57084F9FF210127C168865E22F6EE7E645C3A80E +6C5E58D146E2834D49A33C2222D019323997637E1CB53510B6071C3E76D8C456 +130CD6039DF3CBDDD65B2C4240DCD6123B88C5EDDAF3A18C7E2AAC385FE45821 +36BD12057D84A28BC6A985EB7C00A21CBD71B3EDFB34FCCD25FBE07BEFA0D819 +69BB7B6E75FEA9B401D185A5334A392F80C7EE168D22C3DDF2EFE04B252121E5 +2317915AD3C17B63BF15186140E06782EB0FE2CD781AAF200C141FD0DDF59C7F +95FA1974C74CBB540FC773BE9D480558F04D8A6E77A5C4C03FFA26449FB52CC4 +F1EDB91E380CE5B7ADC606E91DB4B23AF1E91143233A9CE96252216A5D2C4668 +BC27EE74A6714918653A3216D9AF4CE72A1CF6D7014E494A1B0381B2D563101E +71D4CC02715AB87B9A12224EAC1385E815E585A216989099DBC3A23D57C2F214 +CBBBFA6A621FF9B38307D5177EE81038AF0CBDCB9BFAB16E9DE948E03B227B5F +8D7423B3FEF8401705FEF6C06DFEB53BC6A2171CB19573AE2A7DA6B0E1898CBA +7BF47DE71CA764FB1CE182D172E652D2EA078A4D9F3C38236B03E4DEFB70112B +2D9F9087A1B8852044455FBB22098045EE18CB43DC59D76953502F5C7F3EC9A6 +0CD82E4044B2D1C5F86940D642021BD3C80948FE9BE1B152BE0310237F195923 +74A7D9D787F43A9FB313EDD14EC948B185CDFF74E3AA4C818CB448056AF70F7E +038D45F563F7C93F7CD8CA8A11A350EAD4A8920AB4F8622DE5C63BE56EB5F259 +2C0BE381813D0E6CAFC19A0C4AE1705804E1A7C6F6BC0296320B3F6B19C0A17E +C7A9F71E5B36453675BCDCA540990422168F25A537F8037B685BD556D3DE9709 +A58FE953DA52E53995EED70997F311393BF306E5E71BC6D0EB9C0D2B6EA61AA9 +465BBB3AAAE2096BB90790D0FC8B919E8DC0BEAED5AE1C577A431BC636FCBC98 +2ACC75B27C5B0F5F4F7652DB2AE91C7EBECF5580C687C513220F6EC2616D2654 +9260DBD025A3BCFB7168B184C3EB0DF518E442CA5DBCCF154E205FB1C28218E1 +5978102C4BAA2F213C9ACAE75DA361B5654FFF070F85B729B707DB21E1542932 +EDC13798EAFC927388A71BF457D5C5AF37D8139A1D6573F26B2A45BCFC926069 +DAC568906DFFBD4F8CDFBB9FD48D5EEA56B6DA0D475B5A5A0D0D1C63BDC7713D +5267E398B7240AF38F204F649225BC595F6F01AACAD87D087550157C1AC5DB0E +7B4B77475FB051EA26162169B16B7DCF838A3386C7D1DCB8D6DACD12BCF380FC +35A8979DB4D342D5A754D94B49ADE540869A4EF7B9DA6DD98B38E99439E27C0E +CDF0D0FF7D1212C8072750EF4B915EA3258C4BE93934CCE6D5259C6CE0819126 +47F0EE4CB12F14D16403BEE96FDBCE958DC4A0E1B70A6AF85449A1772E340248 +E4653840B230B0BF8484029F159BA598A65133368C4961D601914E91D7FBFE49 +8B6F4D07FFA68939C63CC2861ED29A3F3C9BF3999074A715A93C68C30AD52BAB +60381DC7B40B870109E4800ECC93D5E6D4D3B412103B7425563A167B4E41A7D0 +8E66017DC8C6E44332995CD0E003B9FD48139C658E444B0961C31B023BD5133D +C5BF74E94E136A3BE016CBC60F9FC51AF41BB7A8C71F6649CBADA3DB2260B5BF +2BD404D215FDADCC6A677B58B16627AB99F55AEFAA013D6A3D034F3DB9C08174 +F3334286460CF3AA37E11BE02BE4FA2B0B4FD6648D2095334784CDA45E92E449 +3BBF7953D2F740DE3210E051C37A6AD41899836D74F62BDDDCCAC160C1003BA2 +79170D7CA435CEAAF1FA559AA87A3EF99538ED219F994FF4EB9675528E63ABC0 +3A8EBA027CEA773D4893BE72EF5C0FC3B7D4BB2AE2CE26A2ABA8D3C77AE4F9EA +8E2541565028DCD3682C8CF5140D025536F2EB52D4BD9C00C2CF99751E7EB429 +D8A416C6025774FE2D4847BCCD4B7618771978B4B49EBACC6E1F9CC3FBEBCECD +7900B5F3E889845282B3E0EEC2D4BD41AE775F614724D9CC2C83C110FAB4D653 +D9E6FD9530A952450144250F29D19E94517D066C4C66980F0136860FAC91DFD3 +A73EB9087083E9909B4862B07ADDB4DBED95C2794CD2998F9B6D0BF6D52BC1A9 +772D6D5FD498A1DF12F5EC47F60CBE437037089B5CCAE4BA830AF3DD60FF128B +5C618E23C6D065B96DDBF6CDE360CBD7BC114C06EB9DDFB6604CF98D60176A09 +B5C9D9C0132B14DEE93F8E62E3FC64FF07E18438D417C9FF0FEFE11B41CA96ED +2B4B633EC23A52EF39847CD1AEFC37923DAE488791CA961556A5CD8FFF7AA02C +A74186E0827A74640069B5D02CD5CE6BC83089915EDEA034189AA296DF1D5661 +B424FAC4AB5EB5D48D0ED8D81CEE2C4A548FCBF69E8BCF19AE9E4C1FFE6B466D +570AA4922688E5A7171B8158AB3B793B35ECA4C66FD276FAED922144F44B8107 +7AA10EC3989CD46487D1F20AB9478FAB49E3C969C27ADD6B1E1FDAEBCB37CBA3 +0E0068C6C94F08F228F1DBEECB3A9305202983DEDBDFA7D821799E2DBCBF138F +8646BD18DFB505E8C6D72A6F4E05C3AD34382616C557814D1846C82E64B2514D +9D2F2F9D800471BA87FF062E3F85DE5718F64A840A4F47673D3E69070D87BB44 +6F987936ECFA3550F86094268B259EE96B2CE8D824FD7F32328C154237105D8B +75678C4C1637E32E2E882C09F035567935562EF87E0CDDF225E5D116FAB09DB1 +E661BCC21A76AEA642F13E5149032CAAABB90DF368022FE4A9831149643CEDFC +3296FEBBAAD249A649BB13578459C7850367D9B3502F8751B77758C1200C9222 +731945D041C117EF61F811982E2140A597F12EB8A6DC93953C48224B8CCFDCCC +440DB9EF0376177FFB266ADF9530365FDE2964DF2B9609668161816622894ABC +F54431F1F04DCB1F60E125E8FD4E8A92B5B12CC282C05571A1F03188C387A5DC +E895AB569E5DDA99C48BDAB90EC15CA3D8F177AAC3A51296A32C4175B6BFB279 +CDCFA114A67337B3C6801ECB992CF91FC96034F0AAFD60CAC43E86B34EA9F73C +F82C83A1DD81EF6688C2E36446A77583A20DF928149C4B66119956EFB21F3A25 +6ABE9BE47307A3E34A65DD50CEAF224079550F354578ED24451EFD1293C1081B +D3FA8B291CA0561D2449B534B56112D5AB04D8FC85B6BB33E10C9D0C3F7E214F +B19DA8E6EFD1FB3DEAD2756C42E4720C3317DBAC8DFFE9165DDB9B1F406B1BF8 +F22968A0D907655328C9ACB2F2D1916F5AC92A1C250EB2E0C31725AF6B3EACC5 +03F9D8EDC24A78F2AEE8664D6AD2292DDB07535623DB79B22ADFCA4E1B740062 +4A6D18D881B77AAA510454E49883C869876BD68662E8D7F5A04E479753FDB1B2 +655F8DF21C6D8EF1A71E7DC0E0C1AAF7A12A2AC800339A74E15ADE48E083DBBD +8FC2E0A43BC42FC47C709E8CBB0739BCEA6B653237C3B86C528E77E32163579F +3F8D6C7FAA7F32916C4762237CFD08CA35ADD9CAB6DD101CE342EC47247DF6EC +A5BC7DDF0DCDD51CB834D90CE7356F4D65BEEF8A49E5C042A9001887DA2F53B6 +18A7511B03050558301D81C17462C0C15B1A40CD8F2DE4BD29338AE4A995CECB +48666D3BDB3BC6C57237AA181C23357472EEC77E59889518642E51317B040D5E +B71BB638C92BA3FC11E2C5C041C8E23DE6604DC8F0FF3932A48759DBAE0032B2 +1E8801FD4FD596976599C501E3D92281282A83FC9B4384EE6F9A15ED484DF6D7 +155533F40B40AA8092359F27B36D949CF465DB78EC35EFDD9E38DAF9173429E1 +269F4A41EB64A5C3696C29574CDE851F301DC4AA7615BCB92728741291EAAD33 +ACDEA046404087697361EC681F778BD338CE55935FBE931618BFC6004BBB313E +7415EDC1DF5DED2D49A27D61D12D1BBA04333F37CC842F310952ADE546F087F4 +F204A63AFB47C980331D395A60E30D6D903423062977A37B0985C9C1B5009520 +2C4DDD235726340CCA561949B85971239050A21C9EA0419C3A5E6A2E25806B9B +921FF36793077F8AA94CE291EFA15FA1DD6482B6B9B3B9CDC08FF34C8A758A05 +83A02526F9EFEDC27947A5E5C73843ACB1D47CE72B828D933F8F8357B557943C +636C42E32508CBF894659372E925C9268B76CE85E9D46BC9D35D27DF020C4FC5 +39862BD7E54E264D5421647D80BB75CAF5AE3A45E62271B93CB6F36AC62B1D3A +95399EBEC46D48139A8F6F406D0F8775C53F6A140137C494E475D817107580FC +A4089392CE25D5B6A4C0A6824CF65E44CCDC5C8BDDB463818E8011AA45D52BC9 +D0CE5DCBE80DBC9A5618CEB776E4224ABB2666DDC3CC196AEDC0781F8461FCF1 +D7F6B06096CBE4D8A350431177FB2B47D147AD557E8AC5F3E6AE23731F26ED9A +17E5A53D16A6E88A16FFFD1658D2B377920D18991946F87584E840BABDACB851 +D7D85B8D438F1368D5C68916415FE59247C3252485EE000DCB3502D8C1E0B1B6 +F584019ACA31D279DCEEAF9A2AAB5DBC6B4D224F52F4E4F4EA1492DCCFE705DC +CAE7CF0EFF03E6DCA5FE36B76D98F3D8DB56E62173D0F710D5D4607AA93DEC1C +22BC0764EAADF52D98620B7F8C8D73C85FD3E458294AFDDD7D1D0740F4C0D272 +9520DBFC59E21C0FF41951EB5A3ED2D49BB493AFA66841FEC2ED44A7D69CB0F2 +6A6C845202D99F2C002569A1D7EE794E48BB125008565D446B105EA8C03E798B +D76FB87CEC5F68B91E0B42D99A082C0B0E5846405F3E510C75A8C00D695CB096 +ED8478F4F87EC3BB52AA8D2D98A6A99F395A9D0EEEE045DF42F60350E8913592 +74F45C7F6D64BB608B3A187B4A9B700F00715CCAD7AD2C52892BA657A3EE35A8 +924C8D65DEE11F2E85F724582439DB550E353C9AC4739DC2946D5B9FD8DECF3B +0298C6600870AECAA7285001B8B5EB24B5C0BA2611E043A168A895CCBA924F5A +C05DB83BFB5A862DEACCE962E4206DDA6A171A9EBF270AF538AD7E2ED3CA24D6 +148AD0985F16EC1A1B41D226B1FF3D995BEB53767ED704C3CBFACEF2354D8523 +4068DC22CECDDB09FD818676D9CF1828FF76AF43967CE2E7623EA8328397BE77 +C538302A2BE4301571826978DC416F75C9F32EB4AA6DC539B833460701192E5A +37BA93FAC640125231C637995A140DD004D3456168547953F67F0CD214B2DF55 +07E78C0410A7F677B4EC97D62BA66724C32CF290D02E83A63858C861AD00824D +FCC6AC1A44D5084C372ED46A82587FFFD3B122FF92E97E62CC81335F9E8BE580 +420EA8E4584C08056BC52DF2EAEAA3DDE1AB0582F4BD8A6D8ACF40032F589A05 +9A0660DB944A097F5B700A1DFE0978EC0C19C85921DA9880DC56C2ED8BFCB882 +0FFE804CE9F518DF1F6E4CA67F46A450A2EBE8C05C48C39EB50F87DC16D60A6F +899C17DBBB9AEDBE5C04478C2CD4C07A8D6CA094D340E1BFAEBBAAB8EB193FB4 +5530C2CA6C1B4915B8C6F35252C1C1B783EE547C9FAC2B5509995154FE7B9CAB +6A095287357FBADF597D7C1AF9A92B667489A3804C4DB63C480FA993C84F6E4A +A348C48D19182D7962FB9B0C907737F2F7AC41BA1C27D0499157BA114837222B +934910E2117D3E56A43CBBA1592C6365BBFE662FEA2C5F242649EFED3CC711C0 +7D9F882226C6A0FC3854A51A7ECDDA030FAFED1601BA4EEDCEC2A29C0E364333 +D9BFBDC5657C270DF4B4750F42C9AC17BE5267FCC6274EDF6ED0F506707F9136 +167DD356301A66FCAB21126F0E6EA028FD5DA17B1B71A3BA3E78F64ECDDADFC4 +37B68DED62676749851FE9DCB88100126B7F24984817093BD8209965E20771AC +2C0C8FEE82A5D53BD85A1B4EB56C1890B1BD482AF7E586CB3CFC2A0C95B0ACEF +5E13E17052D4E576244E124B1C6F2C620BFB3852DF17EE59D7F6255BB2767B00 +0CC5B17297B3BFCF9729A1A96CB1DED678DAF3D2DB6A899ED16298D5BF3B123E +C1E5C185B50F27F5CAC509FF8E9F314BCE9E8ED45BC9A2BE4F606230841A7927 +773FFC17806CD8FA016254540FF15BD640B8AB67BB5D3AC4AD6B2E6727676B09 +50056FDB57E02263D01EA34A35F8FB0B45284B3A8F57D7C5E5FC349DA0C0EF80 +3B9A3916C5A212BECB5CDF090E21A053C1384569E0102042519262F61D9B6A79 +F43F585F1B59679301B9014DECFD0620A44DEE9282095B876A9CB85F809B13B9 +E5D8308DA9D815EFE446AF23BD05DD4A8F0AB3319AED7358DECFA6BE9B86B52D +4DA2E9B5D9B7142E82A4B2E73A221E6856791B10384B85CAAD75508AD199B3EE +F6AE89EDAB93A770F82942EC1CF9EB19311DB57E2C7554D95AC307F59311EA39 +17A7DA41B9C497ACED2F09C74168AF371C0A98B426E42174FFADC8518F41FFAC +54378844951F5B3A61556F7BED402437F1A388C8F767C1AC766A74A48B8F6677 +46E17E995C332EE33AA0A7E4A4F64ACE7E0D48FF7FE16F31984DC570F78CEEC1 +E1589B060D0E90E252CA904870020399057D8BDC37515A5F1A004C9BBE461F66 +89D85434A447903AA464C063AFF870614589C11A6D0DC414B06BF2952FCB3A0A +DD2AF3C521E93917447D9F2F32705F54DA8B1EAC58B60C4EC674536C146A7B49 +827FF69ACE907FB2D0045C9B4DED752764A16A6AD3D77084E7D47A53EE4F480F +5C044AE87835AEA2320DB09E4369155414CF6EA7EB5D7B5AC7F750F039443BFC +8BE881A5D52B87E6B78388C0B5B3999F79F740354C5BD03D23A8A1B9683E0D25 +1C28C7C8CCB52B1D52D1B150754C331C7FDC159C7CE99F9BB65425254684B1C2 +936E6B694E2676803C768E249AAEC756ACA64277C98FAFA55D90E89803D0C2BE +A734DFE45BC1B637B7DC481FCF134E63CF14D8D231AEBD08B0956F43A7D9747A +64B0A1F52FF199D0A80B11CD6C598AF94AADE9D22A59567A0560899ECA0E6AAB +73C006686AF063D32ECB50C0E790F287CEF50292799B6017CDCD9FDA5097EE29 +D3ACFAC2D3F2448DBB2DF00496381A15DA2963B774A9B965DF1F1DA5439DBC20 +3865794FDE3C938625C0B37BD0E4E9CA8E8E92E6F3D4813BA4F9C8EFDB4179F2 +2E47E5C2E029B71112CE6B0EC0AF1DF745003120BE1BE08532844A819110F2E2 +46A71CDFD7C01CEE4C23057575EADAB8841E0E2EA8D18E44F2380119FB629445 +10F6322F34E11159D1D004723BA320F188F1102C31F992C7662BC2D86C9723A2 +1E20A734FFD8D0EE5BDA9FAE7ACD5F7E4463F8E9F3824F7206BB1C2E1AC0654E +61E7E03BE000F6BF393E84EFFC6C04FB56873A646405A44FFBE750D2DFB704FE +3E6CAA11B535CA9D643AAAF96C5A9486EF5FB5E496DAC28199159353A01EF27B +2C81484B627A16A9FA473679768BDB8867DE84B5868F9F08EEFE61FF22EAE460 +F80AD742C3BC581F463BF564484DAF52FDD6A36AB9CB63A198FAC614272C49CF +89AA153986D2EEFE4AB482A0DEB39DC5391BBFA6470A8E0AB156AB98E2B6F990 +54D6C73C036171991F9B216269EF5F1F54CD7777978B9B6869EBE8C5CEF83B83 +06604699B377CC80DD569F130BE202F6AFC9EFD5795BC44CA2A3BCD3C2636C0F +FE8BCDBEB019E3396329997B1A80F9681A230B35A5C440B5149141C28DCA8A9A +94C19EBCFF8362FB5C2BCA7D4949EE87C57225E0F65FB39884EA7D0E47D41ED7 +BB42AEA45E5239E73A7041F80E200830BAACE26A0AFC2D06D996C52399380F7E +0BA391A98CEB560166DF661A505847EC9098555DA591FD3B2B7423B268790497 +78ABCC4F11EFFEFD38DCB6BFAB7DC5AAC48C237B03CE9E50B62AAFD915FF80CD +7D6867C23991644C598DA9B02520D326EA1081C6752256DA88EB71320C296A93 +A9F86CF1BAC22B20AAF03C835E9C920545F8387CBD4CE5C5BC9668AD66E234FC +EE6C446A5779916919D477C867A0D5E9E9F06701B6C98B4E7F00A4655FAE8E74 +E8447BC98E9824927D841AF8BC80D70BC6B5B59F657D6E93917FF18D5A314D69 +A7A7E8D458A728DC3DBE2EFF94A1DE11ADC7B9B8EEFEB07BB46D6ED8E1F9472B +EF4BBDBBD0ACE61389B02864D4A188F0C72056D86CFFAA21099A6E01AC6200D6 +E68860A6A358145C8CADD00E2A9846464663AAB709D90A43CAC347780B26E89E +D554C05EFFD39FC0E4283654065E21F9D2F0A22D29F49DEE2567DDC967BF400A +59B94F63C93149E641BF85C5640789BCD53BAD6E945047CE139188229DB04A38 +1CDCEACB38A99A95C2E024B9FD65F8C4435B2C884AB0F8412AE77918819F4C3D +52551CB3B2B1F57992A18B26BDE8159130CCA792382D60F2ABBE375CF9FAE52D +FB79D84624370F96209BB34378FD2FE08E7417BA17DE9E5D10516A10A53691EC +E074DDA3619C4E1231BE99FBFB829EA1645E2D96A996051CF8F580015C9C448A +E3715AA997173E3CB6A6E0B40821B1B909E5B0E4BA8C88D875C47548CDBF7D3D +9E3AE43B618F7617FD5D11D4226D0BA08A0E77C03BFFEA700333DC02215E57D1 +AD4D87CF31584F9E8128773B052A8031125DE3C342EA28508092112E7C4DC936 +EE2C3DBD213ADFBB93577DBC4B4C640AC8F7E3F5858CB73BB35942827D5DE8BA +14B1CEBA65C69E174693C9C0EDB23E5A03C45FE39DF99D9A339DB94082B7439B +660E84AE79A8BD4E3B500C47E34EAE6D5EF0A51714EEFB7F2CC4D51F19EE7612 +D6AC19FFE4C1EBDD2F1F6A19D839FCF77D6D5B1EA670A97A8E6C32165E7295B9 +C97F8E11EA41DEE8633EC9F6264E0629607E5DDBBC7EFBA49A76BF8F6EC91CF0 +BF37884358D84A21658589E353722AA5A7D694EA544F3070EC8B214209422FE8 +E50940790941C491F6844DF7088C1E7871038235BBFC91305B55E30844FCDD1E +F8EBE9D5BC5A52CE04B8070AA5242DC6731026687997A84F357C08658EF69ED2 +89618E034E1E799BBF4CB8F5352279DFBF730CD7511E5F82BD32190A61D79716 +49DC960844C835929106B6125A7039B96407B31D2FAA07E6F4A12459B1A1BFC5 +A5E8735A4A0B7E66CBBC19BB0F914CB26B8DCF8417706E4DA36AB4E57E6BC1BB +E7F423C759A9F7196AD891A898D0C24EC1494179A575B8D77A85D9CDAD6F5A99 +6EB2F9A4359E24CF29558D47571A5E7A23B031BC7EBD00BF4EE0830F77609CF6 +3EAE4F283AF38FDF6A625F5BC968907A14781FE795EDBF6328EC24F94752266A +DFE9B18D17A82BE9BCF55FE1A63B6C2D8F24F27EBAEDFABBA58F1293105D38E7 +4A9B9CCEC8C201771DEC7F1DDC23D0E8F6DD366AF4D35EB6463CB9C369EDA95C +C54BDF6135D897B65653470638865DD717C77982D46B332E5AFC3E5B4AE9704F +195857E43926CA296B49A93CFE6F24028BC610A8C7063F3C79423E65CDD2F697 +4B1075D25EDA4E56C8EED787A57B8A8E210B67BA464955FBE58DE885808AAB1A +7517E1D682031E5FD04AEDF8CCD2DA488AD7896CE0BB63DD941430720AE88404 +A171D6A4425DFEECC1556C0C9E8DA6B7AE9619F61B401F13A57A158A62ED22E8 +3F319B0AE93FB4F52466F86BBB20F0DF2534AFBD1292ED7FA189DF0B30B5A54B +8EE0D9F65CEED0E689539255A234E78F29A3ED496FA280440AA832AB6D814B12 +BCF3EFAE32E3401564D0A238948868D6996A1B281114DEA1580F419E239CB9A9 +B1B1FFCE1850FCABAFCB605CF218A9DA2F05F417748711CC4BAE1A95608E1D63 +B5A464D3537234CCDA314EA65A650F0DA569DB6745005D392A5756352ABEF049 +52941F1B7A642E31ED01494A40B8ABFDE1E2BC025438FA95C5C1296C0A3231A2 +65FF888A46958EABA844E001DAA376AED4B7B14F5626882D95B95B4BDFCCFBBE +0F174937DFEEF6319F1466EF8B63031B7A54A7D363D51068726731AC9B53EF81 +01325EFE17924654D68062BE04BA26F8318EECE37BB9E258112956A73FDDE15E +78C46E9859D69FAA0B7BDA9C124F4541221CDD6F980B45EED340C027756F9A0F +BD15B2B730E14C6FD94C4E93292BF79266FF9C0E8AEEE2B32279C16898ACF9CA +8DEAE9A80561DF6A988F1F888AA03E94D1261CFCF386E3372F612FC84CD104D4 +DBD88E9D7F920411996AE86AD63AA5A5F764EE734DA099A0C126FB9056AE971C +905067D685BE29AE40CC39B06193D36CD046995D7FE0B8B156A195BFB666CB91 +D840D73D58D11CC78704BE7A22BCCBB976BE490CEEA0AB0CC718CE0D2BE09CC4 +6B1C4CBBF734754E50DD3CB48ED8C6D72C05B67CCF82B1FE6062189219E49E24 +D29A21BB286C8A0C7CE7EAFE66EEFA932D9479AEC7188908CA4A634113B5A9AD +DE7F1668E4B4403AF97702BF7E44A2476C125ADF3A767E2C7DA173724D138EC3 +991DA4DCA989A0904470862721713A6E916E9CE6F4EF99EC2A952F81C7B3FCFE +6303E88F5A8BC8DC9531E0EB03BB4D6C76CE52E21C9EA78EF952E966E0641098 +3829311BFF5737A625308EAA464C657EC8E4ADF9C08394BDFCB3E73A93DCFB0A +4BB6063A45FE5FA5502A95C2AECBCD52240A2944B4E02B4D66784A843BB17F09 +709DFAB6DB9155D129C9810125E03F6EB91B26CEC3683FD559B3134AB266C099 +75B77472C25342A2E6B1F00312F3AF8949FBB2249BBB80C86EF5D6E47F7DC55D +33F693AAC8E630A3A171724895A7BBA861F672B5487848C017054816B6D0D6BA +D9F31AD23110D124005EEB48CFCCFC41932399FF666300EADCAC159E137269C0 +05BF08D7C7407A3397A1A27A80C88D75B4490EE552E8CF0AC12B07F1345729FD +CA11B5DA5C8760FCBABAF342CD7B47A6B47A76FF745946698962767AD8082E9D +2339757DD6CF2B75A4611127A9661603162ED04BC5532B11E18FCD5927051365 +5CF6E70589764CAF6511C3709BBDD45B52B95E0207C77D9A48C655DEC2362D97 +2733C636041CBB4C168386ACE810CE194C618EDF971041325AB1E205976001E1 +4B3D09A8124E903E63EC50795717075116D496F94167F749BA69A72A71F1CE47 +A62CEF962D8449B3686897898E090D609AAADACDA275B5368DCE859D2694C9A0 +0AE5280C19ABA7577F8CD1969E4922A816B246ADA9B971EC77346C09E093749D +0AB067228EC4F958DB6E447355FC0F61894EEEBD7894601C4902BA0E6A8BA561 +1DB2852F9A21AF990C121C7604EBF9C64B0F88D9878F612D3D2085A795236112 +617BC42ED71C 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 @@ -6669,7 +6737,6 @@ FontDirectory/CMTT10 known{/CMTT10 findfont dup/UniqueID known{dup /FontMatrix [0.001 0 0 0.001 0 0 ]readonly def /FontName /CMTT10 def /FontBBox {-4 -233 537 696 }readonly def -/UniqueID 5000832 def /PaintType 0 def /FontInfo 9 dict dup begin /version (003.002) readonly def @@ -7452,52 +7519,53 @@ cleartomark {restore}if %%EndFont TeXDict begin 40258431 52099146 1000 600 600 (bashref.dvi) -@start /Fa 131[62 124[{}1 119.552 /CMTT12 rf /Fb 133[34 -41 41 55 41 43 30 30 30 41 43 38 43 64 21 41 23 21 43 -38 23 34 43 34 43 38 8[58 4[43 57 1[52 60 58 70 3[28 -58 3[59 1[54 58 7[38 38 38 38 38 38 38 38 38 38 3[21 -31[43 12[{}50 74.7198 /CMR9 rf /Fc 197[21 58[{}1 74.7198 -/CMMI9 rf /Fd 134[39 39 2[39 39 39 39 2[39 39 39 39 2[39 -39 1[39 39 39 2[39 19[39 27[39 39 2[39 45[{}20 74.7198 -/CMSLTT10 rf /Fe 129[39 39 1[39 39 39 39 39 39 39 39 -39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 -39 39 39 39 39 1[39 39 39 39 39 39 39 39 39 39 1[39 39 -39 39 39 39 1[39 39 39 39 39 39 39 39 39 39 39 39 1[39 -39 39 5[39 39 39 39 39 39 39 39 39 1[39 39 39 39 39 1[39 -39 1[39 33[{}81 74.7198 /CMTT9 rf /Ff 167[62 3[60 46 -2[57 1[62 76 52 1[43 1[62 65 54 1[63 60 67[{}13 83.022 -/CMR10 rf /Fg 135[67 2[67 1[50 2[61 69 5[33 1[70 2[68 -52[60 47[{}9 109.174 /CMCSC10 rf /Fh 140[56 3[56 56 1[56 -2[56 56 56 57[56 45[{}8 109.091 /CMTT12 rf /Fi 130[45 -1[45 123[{ T1Encoding ReEncodeFont }2 91.3242 /SFRM1095 -rf /Fj 134[48 48 48 48 48 48 48 48 48 48 48 48 48 48 -48 48 48 48 48 48 48 48 48 48 48 1[48 2[48 3[48 3[48 -1[48 1[48 1[48 48 48 1[48 48 48 1[48 48 48 48 1[48 6[48 -6[48 48 48 48 2[48 5[48 39[{}49 90.9091 /CMSLTT10 rf -/Fk 134[65 65 89 65 68 48 48 50 65 68 61 68 102 34 65 -1[34 68 61 37 56 68 55 68 60 7[93 1[127 1[94 85 68 92 -92 84 92 96 116 74 96 1[46 96 96 77 81 94 89 87 93 1[58 -5[61 61 61 61 61 61 61 61 61 61 1[34 41 34 31[68 72 11[{}62 -109.091 /CMBX12 rf /Fl 135[42 1[42 1[30 37 38 1[46 46 -51 74 23 2[28 1[42 1[42 46 42 1[46 51[33 32[51 12[{}18 -90.9091 /CMTI10 rf /Fm 135[56 2[56 1[42 55 1[51 58 56 -68 47 2[27 1[58 49 51 57 54 53 56 46[50 2[50 1[34 45[{}20 -90.9091 /CMCSC10 rf /Fn 197[25 58[{}1 90.9091 /CMMI10 -rf /Fo 197[33 58[{}1 119.552 /CMMI12 rf /Fp 134[85 85 -1[85 90 63 64 66 1[90 81 90 134 45 1[49 45 90 81 49 74 -90 72 90 78 10[122 124 112 90 120 3[126 153 97 1[83 60 -126 127 101 106 124 117 115 122 7[81 81 81 81 81 81 81 -81 81 81 35[90 94 11[{}52 143.462 /CMBX12 rf /Fq 200[0 -21[91 17[45 1[91 12[71{}5 90.9091 /CMSY10 rf /Fr 134[48 +@start /Fa 130[55 1[55 123[{ T1Encoding ReEncodeFont }2 +116.231 /SFRM1440 rf /Fb 133[34 41 41 55 41 43 30 30 +30 41 43 38 43 64 21 41 23 21 43 38 23 34 43 34 43 38 +8[58 4[43 57 1[52 60 58 70 3[28 58 3[59 1[54 58 7[38 +38 38 38 38 38 38 38 38 38 3[21 31[43 12[{}50 74.7198 +/CMR9 rf /Fc 197[21 58[{}1 74.7198 /CMMI9 rf /Fd 134[39 +39 2[39 39 39 39 2[39 39 39 39 2[39 39 1[39 39 39 2[39 +19[39 27[39 39 2[39 45[{}20 74.7198 /CMSLTT10 rf /Fe +129[39 39 1[39 39 39 39 39 39 39 39 39 39 39 39 39 39 +39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 1[39 +39 39 39 39 39 39 39 39 39 1[39 39 39 39 39 39 1[39 39 +39 39 39 39 39 39 39 39 39 39 1[39 39 39 5[39 39 39 39 +39 39 39 39 39 1[39 39 39 39 39 1[39 39 1[39 33[{}81 +74.7198 /CMTT9 rf /Ff 167[62 3[60 46 2[57 1[62 76 52 +1[43 1[62 65 54 1[63 60 67[{}13 83.022 /CMR10 rf /Fg +135[67 2[67 1[50 2[61 69 5[33 1[70 2[68 52[60 47[{}9 +109.174 /CMCSC10 rf /Fh 140[56 3[56 56 1[56 2[56 56 56 +57[56 45[{}8 109.091 /CMTT12 rf /Fi 130[45 1[45 123[{ + T1Encoding ReEncodeFont }2 91.3242 /SFRM1095 rf /Fj +134[48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 +48 48 48 48 48 48 48 48 1[48 2[48 3[48 3[48 1[48 1[48 +1[48 48 48 1[48 48 48 1[48 48 48 48 1[48 6[48 6[48 48 +48 48 2[48 5[48 39[{}49 90.9091 /CMSLTT10 rf /Fk 134[65 +65 89 65 68 48 48 50 65 68 61 68 102 34 65 1[34 68 61 +37 56 68 55 68 60 7[93 1[127 1[94 85 68 92 92 84 92 96 +116 74 96 1[46 96 96 77 81 94 89 87 93 1[58 5[61 61 61 +61 61 61 61 61 61 61 1[34 41 34 31[68 72 11[{}62 109.091 +/CMBX12 rf /Fl 135[42 1[42 1[30 37 38 1[46 46 51 74 23 +2[28 1[42 1[42 46 42 1[46 51[33 32[51 12[{}18 90.9091 +/CMTI10 rf /Fm 135[56 2[56 1[42 55 1[51 58 56 68 47 2[27 +1[58 49 51 57 54 53 56 46[50 2[50 1[34 45[{}20 90.9091 +/CMCSC10 rf /Fn 197[25 58[{}1 90.9091 /CMMI10 rf /Fo +197[33 58[{}1 119.552 /CMMI12 rf /Fp 134[85 85 1[85 90 +63 64 66 1[90 81 90 134 45 1[49 45 90 81 49 74 90 72 +90 78 10[122 124 112 90 120 3[126 153 97 1[83 60 126 +127 101 106 124 117 115 122 7[81 81 81 81 81 81 81 81 +81 81 35[90 94 11[{}52 143.462 /CMBX12 rf /Fq 200[0 21[91 +17[45 1[91 12[71{}5 90.9091 /CMSY10 rf /Fr 133[40 48 48 66 48 51 35 36 36 48 51 45 51 76 25 48 28 25 51 45 28 40 51 40 51 45 7[68 68 93 1[68 66 51 67 1[62 71 68 83 57 71 1[33 68 71 59 62 69 66 64 68 12[45 45 45 45 -3[30 8[45 21[76 1[51 53 11[{}56 90.9091 /CMSL10 rf /Fs -134[71 71 97 71 75 52 53 55 1[75 67 75 112 37 71 41 37 -75 67 41 61 75 60 75 65 3[37 1[37 1[102 102 139 102 103 -94 75 100 101 92 101 105 128 81 105 69 50 105 106 85 -88 103 97 96 102 105 64 4[37 67 67 67 67 67 67 67 67 -67 67 1[37 45 37 1[67 5[67 112 1[41 20[75 78 11[{}73 +3[30 8[45 21[76 1[51 53 11[{}57 90.9091 /CMSL10 rf /Fs +132[67 1[71 71 97 71 75 52 53 55 1[75 67 75 112 37 71 +41 37 75 67 41 61 75 60 75 65 3[37 1[37 1[102 102 139 +102 103 94 75 100 101 92 101 105 128 81 105 69 50 105 +106 85 88 103 97 96 102 105 64 4[37 67 67 67 67 67 67 +67 67 67 67 1[37 1[37 1[67 5[67 112 1[41 20[75 78 11[{}73 119.552 /CMBX12 rf /Ft 129[48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 @@ -7527,21 +7595,21 @@ ifelse %%Page: 1 1 TeXDict begin 1 0 bop 150 1318 a Fv(Bash)64 b(Reference)j(Man)-5 b(ual)p 150 1385 3600 34 v 2361 1481 a Fu(Reference)31 -b(Do)s(cumen)m(tation)i(for)d(Bash)2428 1589 y(Edition)h(4.3,)g(for)f -Ft(Bash)g Fu(V)-8 b(ersion)31 b(4.3.)3180 1697 y(F)-8 -b(ebruary)30 b(2014)150 4935 y Fs(Chet)45 b(Ramey)-11 -b(,)46 b(Case)g(W)-11 b(estern)46 b(Reserv)l(e)g(Univ)l(ersit)l(y)150 -5068 y(Brian)f(F)-11 b(o)l(x,)45 b(F)-11 b(ree)45 b(Soft)l(w)l(are)h(F) --11 b(oundation)p 150 5141 3600 17 v eop end +b(Do)s(cumen)m(tation)i(for)d(Bash)2428 1589 y(Edition)h(4.4,)g(for)f +Ft(Bash)g Fu(V)-8 b(ersion)31 b(4.4.)3118 1697 y(Septem)m(b)s(er)f +(2016)150 4927 y Fs(Chet)45 b(Ramey)-11 b(,)46 b(Case)g(W)-11 +b(estern)46 b(Reserv)l(e)g(Univ)l(ersit)l(y)150 5068 +y(Brian)f(F)-11 b(o)l(x,)45 b(F)-11 b(ree)45 b(Soft)l(w)l(are)h(F)-11 +b(oundation)p 150 5141 3600 17 v eop end %%Page: 2 2 TeXDict begin 2 1 bop 150 4279 a Fu(This)35 b(text)h(is)g(a)g(brief)f (description)h(of)f(the)h(features)g(that)g(are)g(presen)m(t)g(in)f -(the)h(Bash)f(shell)h(\(v)m(ersion)150 4389 y(4.3,)c(2)e(F)-8 -b(ebruary)31 b(2014\).)150 4523 y(This)26 b(is)g(Edition)h(4.3,)i(last) -e(up)s(dated)e(2)i(F)-8 b(ebruary)26 b(2014,)k(of)d Fr(The)f(GNU)h -(Bash)f(Reference)i(Man)m(ual)p Fu(,)g(for)150 4633 y -Ft(Bash)p Fu(,)h(V)-8 b(ersion)31 b(4.3.)150 4767 y(Cop)m(yrigh)m(t)602 -4764 y(c)577 4767 y Fq(\015)f Fu(1988{2014)35 b(F)-8 +(the)h(Bash)f(shell)h(\(v)m(ersion)150 4389 y(4.4,)c(7)e(Septem)m(b)s +(er)g(2016\).)150 4523 y(This)h(is)h(Edition)g(4.4,)i(last)f(up)s +(dated)d(7)i(Septem)m(b)s(er)g(2016,)i(of)e Fr(The)f(GNU)i(Bash)f +(Reference)h(Man)m(ual)p Fu(,)150 4633 y(for)d Ft(Bash)p +Fu(,)g(V)-8 b(ersion)31 b(4.4.)150 4767 y(Cop)m(yrigh)m(t)602 +4764 y(c)577 4767 y Fq(\015)f Fu(1988{2016)35 b(F)-8 b(ree)31 b(Soft)m(w)m(are)h(F)-8 b(oundation,)31 b(Inc.)390 4902 y(P)m(ermission)21 b(is)f(gran)m(ted)h(to)g(cop)m(y)-8 b(,)24 b(distribute)c(and/or)h(mo)s(dify)e(this)i(do)s(cumen)m(t)f @@ -7557,554 +7625,554 @@ b(exts.)41 b(A)29 b(cop)m(y)h(of)f(the)g(license)h(is)f(included)390 b(ree)32 b(Do)s(cumen)m(tation)g(License".)p eop end %%Page: -1 3 TeXDict begin -1 2 bop 3725 -116 a Fu(i)150 299 y Fp(T)-13 -b(able)53 b(of)h(Con)l(ten)l(ts)150 641 y Fs(1)135 b(In)l(tro)t -(duction)13 b Fo(:)19 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)h(:)57 b Fs(1)275 778 y Fu(1.1)92 -b(What)31 b(is)f(Bash?)22 b Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)52 b Fu(1)275 888 y(1.2)92 b(What)31 -b(is)f(a)h(shell?)13 b Fn(:)j(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) +b(able)53 b(of)h(Con)l(ten)l(ts)150 649 y Fs(1)135 b(In)l(tro)t +(duction)31 b Fo(:)19 b(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:) +f(:)h(:)f(:)h(:)f(:)g(:)44 b Fs(1)275 786 y Fu(1.1)92 +b(What)31 b(is)f(Bash?)10 b Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)23 b Fu(1)275 896 y(1.2)92 b(What)31 +b(is)f(a)h(shell?)22 b Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)44 b Fu(1)150 1130 y Fs(2)135 b(De\014nitions)13 -b Fo(:)20 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)h(:)f(:)h(:)f(:)57 b Fs(3)150 1400 y(3)135 b(Basic)45 -b(Shell)g(F)-11 b(eatures)27 b Fo(:)21 b(:)e(:)g(:)h(:)f(:)h(:)f(:)h(:) -f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h -(:)f(:)72 b Fs(5)275 1537 y Fu(3.1)92 b(Shell)30 b(Syn)m(tax)25 -b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)55 -b Fu(5)399 1646 y(3.1.1)93 b(Shell)30 b(Op)s(eration)c -Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)56 b Fu(5)399 1756 -y(3.1.2)93 b(Quoting)15 b Fn(:)g(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)35 b Fu(1)150 1147 y Fs(2)135 b(De\014nitions)31 +b Fo(:)20 b(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:) +f(:)h(:)f(:)g(:)h(:)43 b Fs(3)150 1425 y(3)135 b(Basic)45 +b(Shell)g(F)-11 b(eatures)19 b Fo(:)h(:)g(:)f(:)g(:)h(:)f(:)h(:)f(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +h(:)f(:)32 b Fs(5)275 1562 y Fu(3.1)92 b(Shell)30 b(Syn)m(tax)13 +b Fn(:)j(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)45 b Fu(6)524 1866 y(3.1.2.1)93 b(Escap)s(e)30 -b(Character)11 b Fn(:)16 b(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)41 b Fu(6)524 1975 y(3.1.2.2)93 -b(Single)31 b(Quotes)d Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)58 b Fu(6)524 -2085 y(3.1.2.3)93 b(Double)31 b(Quotes)26 b Fn(:)16 b(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)56 -b Fu(6)524 2194 y(3.1.2.4)93 b(ANSI-C)30 b(Quoting)d -Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +27 b Fu(5)399 1671 y(3.1.1)93 b(Shell)30 b(Op)s(eration)14 +b Fn(:)h(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)28 b Fu(5)399 +1781 y(3.1.2)93 b(Quoting)23 b Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)h(:)57 b Fu(6)524 2304 y(3.1.2.5)93 b(Lo)s(cale-Sp)s(eci\014c) -32 b(T)-8 b(ranslation)8 b Fn(:)16 b(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h -(:)38 b Fu(7)399 2413 y(3.1.3)93 b(Commen)m(ts)26 b Fn(:)15 -b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)56 b -Fu(7)275 2523 y(3.2)92 b(Shell)30 b(Commands)21 b Fn(:)14 -b(:)i(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)51 b Fu(8)399 -2633 y(3.2.1)93 b(Simple)30 b(Commands)c Fn(:)15 b(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)57 -b Fu(8)399 2742 y(3.2.2)93 b(Pip)s(elines)18 b Fn(:)d(:)g(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)48 b Fu(8)399 -2852 y(3.2.3)93 b(Lists)30 b(of)h(Commands)15 b Fn(:)f(:)h(:)h(:)f(:)g +f(:)g(:)h(:)f(:)h(:)f(:)g(:)37 b Fu(6)524 1890 y(3.1.2.1)93 +b(Escap)s(e)30 b(Character)19 b Fn(:)d(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)33 b Fu(6)524 +2000 y(3.1.2.2)93 b(Single)31 b(Quotes)16 b Fn(:)g(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)30 +b Fu(6)524 2110 y(3.1.2.3)93 b(Double)31 b(Quotes)14 +b Fn(:)i(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)28 b Fu(6)524 2219 y(3.1.2.4)93 +b(ANSI-C)30 b(Quoting)15 b Fn(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)45 -b Fu(9)399 2961 y(3.2.4)93 b(Comp)s(ound)28 b(Commands)22 -b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)54 b Fu(9)524 3071 y(3.2.4.1)93 b(Lo)s(oping)30 -b(Constructs)8 b Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)h(:)f(:)g(:)38 b Fu(10)524 3181 y(3.2.4.2)93 b(Conditional)31 -b(Constructs)18 b Fn(:)d(:)g(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)47 -b Fu(10)524 3290 y(3.2.4.3)93 b(Grouping)30 b(Commands)15 -b Fn(:)f(:)i(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)45 -b Fu(14)399 3400 y(3.2.5)93 b(Copro)s(cesses)18 b Fn(:)d(:)g(:)h(:)f(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)29 b Fu(6)524 +2329 y(3.1.2.5)93 b(Lo)s(cale-Sp)s(eci\014c)32 b(T)-8 +b(ranslation)17 b Fn(:)e(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)30 +b Fu(7)399 2438 y(3.1.3)93 b(Commen)m(ts)14 b Fn(:)i(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)47 b Fu(15)399 3509 y(3.2.6)93 -b(GNU)31 b(P)m(arallel)c Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)28 b Fu(7)275 2548 y(3.2)92 +b(Shell)30 b(Commands)9 b Fn(:)15 b(:)g(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)23 b Fu(8)399 2658 y(3.2.1)93 b(Simple)30 +b(Commands)15 b Fn(:)f(:)i(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)29 b Fu(8)399 +2767 y(3.2.2)93 b(Pip)s(elines)26 b Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)40 b Fu(8)399 2877 y(3.2.3)93 +b(Lists)30 b(of)h(Commands)23 b Fn(:)14 b(:)i(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)55 -b Fu(15)275 3619 y(3.3)92 b(Shell)30 b(F)-8 b(unctions)29 -b Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)58 -b Fu(17)275 3729 y(3.4)92 b(Shell)30 b(P)m(arameters)17 -b Fn(:)f(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)36 +b Fu(9)399 2986 y(3.2.4)93 b(Comp)s(ound)28 b(Commands)12 +b Fn(:)i(:)h(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)25 b Fu(9)524 3096 y(3.2.4.1)93 b(Lo)s(oping)30 +b(Constructs)16 b Fn(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)46 b Fu(18)399 -3838 y(3.4.1)93 b(P)m(ositional)32 b(P)m(arameters)20 -b Fn(:)d(:)f(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +(:)h(:)f(:)h(:)29 b Fu(10)524 3205 y(3.2.4.2)93 b(Conditional)31 +b(Constructs)25 b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +39 b Fu(10)524 3315 y(3.2.4.3)93 b(Grouping)30 b(Commands)22 +b Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)36 +b Fu(14)399 3425 y(3.2.5)93 b(Copro)s(cesses)26 b Fn(:)15 +b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)39 b Fu(15)399 +3534 y(3.2.6)93 b(GNU)31 b(P)m(arallel)13 b Fn(:)k(:)f(:)f(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)50 b Fu(19)399 3948 y(3.4.2)93 b(Sp)s(ecial)30 -b(P)m(arameters)16 b Fn(:)h(:)f(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)46 b Fu(20)275 4057 -y(3.5)92 b(Shell)30 b(Expansions)17 b Fn(:)d(:)h(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)h(:)46 b Fu(21)399 4167 y(3.5.1)93 b(Brace)31 -b(Expansion)21 b Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)f(:)g(:)h(:)26 b Fu(15)275 3644 y(3.3)92 b(Shell)30 +b(F)-8 b(unctions)16 b Fn(:)g(:)g(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g +(:)h(:)29 b Fu(17)275 3753 y(3.4)92 b(Shell)30 b(P)m(arameters)c +Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)50 b Fu(21)399 -4276 y(3.5.2)93 b(Tilde)30 b(Expansion)10 b Fn(:)15 b(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)40 b Fu(22)399 4386 y(3.5.3)93 b(Shell)30 b(P)m(arameter)i -(Expansion)18 b Fn(:)d(:)g(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:) -48 b Fu(23)399 4496 y(3.5.4)93 b(Command)29 b(Substitution)12 -b Fn(:)j(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)42 b Fu(28)399 4605 y(3.5.5)93 b(Arithmetic)31 b(Expansion)19 -b Fn(:)c(:)g(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)48 b Fu(29)399 4715 y(3.5.6)93 b(Pro)s(cess)30 -b(Substitution)d Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)38 b +Fu(18)399 3863 y(3.4.1)93 b(P)m(ositional)32 b(P)m(arameters)8 +b Fn(:)17 b(:)f(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)57 b Fu(29)399 4824 y(3.5.7)93 -b(W)-8 b(ord)31 b(Splitting)20 b Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f +h(:)f(:)h(:)21 b Fu(19)399 3973 y(3.4.2)93 b(Sp)s(ecial)30 +b(P)m(arameters)c Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)37 b Fu(20)275 4082 +y(3.5)92 b(Shell)30 b(Expansions)24 b Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)38 b Fu(21)399 4192 y(3.5.1)93 b(Brace)31 +b(Expansion)9 b Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)22 b +Fu(21)399 4301 y(3.5.2)93 b(Tilde)30 b(Expansion)18 b +Fn(:)d(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)49 -b Fu(29)399 4934 y(3.5.8)93 b(Filename)32 b(Expansion)13 -b Fn(:)i(:)g(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)h(:)f(:)g(:)h(:)f(:)h(:)31 b Fu(22)399 4411 y(3.5.3)93 +b(Shell)30 b(P)m(arameter)i(Expansion)26 b Fn(:)15 b(:)g(:)h(:)f(:)h(:) f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)43 b Fu(30)524 5044 y(3.5.8.1)93 b(P)m(attern)31 -b(Matc)m(hing)d Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)39 b Fu(23)399 4521 y(3.5.4)93 +b(Command)29 b(Substitution)20 b Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)56 b Fu(30)399 5153 y(3.5.9)93 b(Quote)31 -b(Remo)m(v)-5 b(al)9 b Fn(:)17 b(:)e(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)39 -b Fu(31)275 5263 y(3.6)92 b(Redirections)26 b Fn(:)15 -b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)55 -b Fu(31)p eop end -%%Page: -2 4 -TeXDict begin -2 3 bop 3699 -116 a Fu(ii)399 83 y(3.6.1)93 -b(Redirecting)31 b(Input)23 b Fn(:)14 b(:)i(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)52 -b Fu(33)399 193 y(3.6.2)93 b(Redirecting)31 b(Output)26 -b Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)56 b Fu(33)399 302 y(3.6.3)93 b(App)s(ending)28 -b(Redirected)k(Output)12 b Fn(:)h(:)j(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)33 b Fu(29)399 4630 +y(3.5.5)93 b(Arithmetic)31 b(Expansion)c Fn(:)15 b(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)40 b +Fu(29)399 4740 y(3.5.6)93 b(Pro)s(cess)30 b(Substitution)15 +b Fn(:)g(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)28 b Fu(30)399 4849 y(3.5.7)93 b(W)-8 +b(ord)31 b(Splitting)d Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)41 +b Fu(30)399 4959 y(3.5.8)93 b(Filename)32 b(Expansion)22 +b Fn(:)14 b(:)h(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -41 b Fu(33)399 412 y(3.6.4)93 b(Redirecting)31 b(Standard)e(Output)h -(and)f(Standard)h(Error)d Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)58 -b Fu(33)399 521 y(3.6.5)93 b(App)s(ending)28 b(Standard)i(Output)f(and) -h(Standard)f(Error)19 b Fn(:)14 b(:)h(:)h(:)f(:)h(:)f(:)g(:)h(:)48 -b Fu(34)399 631 y(3.6.6)93 b(Here)31 b(Do)s(cumen)m(ts)c -Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +f(:)h(:)f(:)g(:)35 b Fu(30)524 5068 y(3.5.8.1)93 b(P)m(attern)31 +b(Matc)m(hing)14 b Fn(:)k(:)d(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)56 b Fu(34)399 741 y(3.6.7)93 -b(Here)31 b(Strings)c Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +h(:)f(:)g(:)h(:)f(:)h(:)27 b Fu(31)399 5178 y(3.5.9)93 +b(Quote)31 b(Remo)m(v)-5 b(al)17 b Fn(:)g(:)e(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)58 -b Fu(34)399 850 y(3.6.8)93 b(Duplicating)32 b(File)f(Descriptors)16 -b Fn(:)g(:)g(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)46 -b Fu(34)399 960 y(3.6.9)93 b(Mo)m(ving)32 b(File)f(Descriptors)19 -b Fn(:)d(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)49 -b Fu(35)399 1069 y(3.6.10)93 b(Op)s(ening)29 b(File)j(Descriptors)f -(for)f(Reading)h(and)f(W)-8 b(riting)19 b Fn(:)e(:)e(:)h(:)f(:)h(:)f(:) -49 b Fu(35)275 1179 y(3.7)92 b(Executing)31 b(Commands)17 -b Fn(:)d(:)h(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)46 b Fu(35)399 1289 y(3.7.1)93 -b(Simple)30 b(Command)f(Expansion)23 b Fn(:)15 b(:)g(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)52 b Fu(35)399 1398 y(3.7.2)93 b(Command)29 -b(Searc)m(h)i(and)f(Execution)d Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)56 -b Fu(36)399 1508 y(3.7.3)93 b(Command)29 b(Execution)i(En)m(vironmen)m -(t)8 b Fn(:)16 b(:)g(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)38 b Fu(36)399 1617 -y(3.7.4)93 b(En)m(vironmen)m(t)18 b Fn(:)d(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)47 b Fu(37)399 1727 y(3.7.5)93 b(Exit)31 b(Status)c -Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)57 b -Fu(38)399 1836 y(3.7.6)93 b(Signals)15 b Fn(:)g(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)44 b Fu(38)275 1946 -y(3.8)92 b(Shell)30 b(Scripts)23 b Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)53 b Fu(39)150 2188 y Fs(4)135 -b(Shell)45 b(Builtin)g(Commands)22 b Fo(:)e(:)g(:)f(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)67 -b Fs(41)275 2325 y Fu(4.1)92 b(Bourne)30 b(Shell)g(Builtins)e -Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)57 b Fu(41)275 2435 y(4.2)92 -b(Bash)30 b(Builtin)h(Commands)24 b Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)54 -b Fu(48)275 2545 y(4.3)92 b(Mo)s(difying)30 b(Shell)g(Beha)m(vior)9 -b Fn(:)17 b(:)f(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)39 b Fu(58)399 2654 y(4.3.1)93 b(The)30 -b(Set)g(Builtin)c Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)55 b -Fu(58)399 2764 y(4.3.2)93 b(The)30 b(Shopt)f(Builtin)13 -b Fn(:)j(:)g(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)30 +b Fu(32)275 5288 y(3.6)92 b(Redirections)14 b Fn(:)i(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)43 b Fu(62)275 2873 y(4.4)92 b(Sp)s(ecial)30 -b(Builtins)21 b Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)50 -b Fu(68)150 3116 y Fs(5)135 b(Shell)45 b(V)-11 b(ariables)19 -b Fo(:)h(:)g(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)64 -b Fs(69)275 3253 y Fu(5.1)92 b(Bourne)30 b(Shell)g(V)-8 -b(ariables)22 b Fn(:)16 b(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)51 b Fu(69)275 -3362 y(5.2)92 b(Bash)30 b(V)-8 b(ariables)16 b Fn(:)h(:)f(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)46 b Fu(69)150 3605 y -Fs(6)135 b(Bash)44 b(F)-11 b(eatures)13 b Fo(:)20 b(:)g(:)f(:)g(:)h(:)f -(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)58 b Fs(80)275 -3742 y Fu(6.1)92 b(In)m(v)m(oking)31 b(Bash)d Fn(:)16 -b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)58 b -Fu(80)275 3851 y(6.2)92 b(Bash)30 b(Startup)g(Files)20 -b Fn(:)c(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)49 b Fu(82)275 -3961 y(6.3)92 b(In)m(teractiv)m(e)32 b(Shells)11 b Fn(:)16 -b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)41 b Fu(83)399 -4071 y(6.3.1)93 b(What)31 b(is)f(an)h(In)m(teractiv)m(e)h(Shell?)17 -b Fn(:)f(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)47 b -Fu(83)399 4180 y(6.3.2)93 b(Is)30 b(this)g(Shell)g(In)m(teractiv)m(e?) -14 b Fn(:)k(:)e(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -44 b Fu(84)399 4290 y(6.3.3)93 b(In)m(teractiv)m(e)33 -b(Shell)d(Beha)m(vior)23 b Fn(:)17 b(:)e(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)52 b Fu(84)275 4399 y(6.4)92 b(Bash)30 -b(Conditional)h(Expressions)22 b Fn(:)14 b(:)i(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)51 b Fu(85)275 4509 y(6.5)92 -b(Shell)30 b(Arithmetic)c Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)55 b Fu(87)275 4619 y(6.6)92 b(Aliases)12 b Fn(:)k(:)g(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)27 b Fu(32)p +eop end +%%Page: -2 4 +TeXDict begin -2 3 bop 3699 -116 a Fu(ii)399 83 y(3.6.1)93 +b(Redirecting)31 b(Input)11 b Fn(:)j(:)i(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)24 +b Fu(34)399 193 y(3.6.2)93 b(Redirecting)31 b(Output)15 +b Fn(:)f(:)i(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)28 b Fu(34)399 302 y(3.6.3)93 b(App)s(ending)28 +b(Redirected)k(Output)20 b Fn(:)14 b(:)h(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)42 -b Fu(88)275 4728 y(6.7)92 b(Arra)m(ys)17 b Fn(:)e(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)47 -b Fu(89)275 4838 y(6.8)92 b(The)29 b(Directory)j(Stac)m(k)e -Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)58 b Fu(90)399 4947 y(6.8.1)93 -b(Directory)32 b(Stac)m(k)f(Builtins)14 b Fn(:)i(:)g(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)44 b Fu(90)275 -5057 y(6.9)92 b(Con)m(trolling)31 b(the)g(Prompt)24 b -Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)54 b Fu(92)275 5166 y(6.10)92 b(The)30 -b(Restricted)h(Shell)23 b Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)53 -b Fu(93)275 5276 y(6.11)92 b(Bash)31 b(POSIX)e(Mo)s(de)9 +(:)33 b Fu(34)399 412 y(3.6.4)93 b(Redirecting)31 b(Standard)e(Output)h +(and)f(Standard)h(Error)16 b Fn(:)e(:)i(:)f(:)g(:)h(:)f(:)h(:)f(:)29 +b Fu(34)399 521 y(3.6.5)93 b(App)s(ending)28 b(Standard)i(Output)f(and) +h(Standard)f(Error)d Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)40 +b Fu(34)399 631 y(3.6.6)93 b(Here)31 b(Do)s(cumen)m(ts)15 +b Fn(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)27 b Fu(35)399 741 y(3.6.7)93 +b(Here)31 b(Strings)16 b Fn(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) +f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)29 +b Fu(35)399 850 y(3.6.8)93 b(Duplicating)32 b(File)f(Descriptors)25 +b Fn(:)15 b(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)37 +b Fu(35)399 960 y(3.6.9)93 b(Mo)m(ving)32 b(File)f(Descriptors)d +Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +40 b Fu(36)399 1069 y(3.6.10)93 b(Op)s(ening)29 b(File)j(Descriptors)f +(for)f(Reading)h(and)f(W)-8 b(riting)29 b Fn(:)15 b(:)h(:)f(:)g(:)h(:)f +(:)41 b Fu(36)275 1179 y(3.7)92 b(Executing)31 b(Commands)24 b Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)38 b Fu(94)p eop -end -%%Page: -3 5 -TeXDict begin -3 4 bop 3674 -116 a Fu(iii)150 83 y Fs(7)135 -b(Job)45 b(Con)l(trol)24 b Fo(:)c(:)g(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)69 b Fs(97)275 220 y -Fu(7.1)92 b(Job)30 b(Con)m(trol)h(Basics)17 b Fn(:)f(:)g(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)47 b Fu(97)275 330 y(7.2)92 b(Job)30 b(Con)m(trol)h -(Builtins)25 b Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)38 b Fu(36)399 1289 y(3.7.1)93 +b(Simple)30 b(Command)f(Expansion)11 b Fn(:)k(:)g(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)24 b Fu(36)399 1398 y(3.7.2)93 b(Command)29 +b(Searc)m(h)i(and)f(Execution)15 b Fn(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +28 b Fu(37)399 1508 y(3.7.3)93 b(Command)29 b(Execution)i(En)m +(vironmen)m(t)17 b Fn(:)e(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)30 b Fu(37)399 +1617 y(3.7.4)93 b(En)m(vironmen)m(t)26 b Fn(:)16 b(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)39 b Fu(38)399 1727 y(3.7.5)93 b(Exit)31 +b(Status)16 b Fn(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)55 b Fu(98)275 -439 y(7.3)92 b(Job)30 b(Con)m(trol)h(V)-8 b(ariables)17 -b Fn(:)f(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)47 b Fu(100)150 657 y Fs(8)135 -b(Command)45 b(Line)g(Editing)19 b Fo(:)i(:)e(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)63 -b Fs(101)275 794 y Fu(8.1)92 b(In)m(tro)s(duction)30 -b(to)h(Line)f(Editing)24 b Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)29 +b Fu(39)399 1836 y(3.7.6)93 b(Signals)23 b Fn(:)15 b(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)36 b Fu(39)275 +1946 y(3.8)92 b(Shell)30 b(Scripts)12 b Fn(:)i(:)i(:)f(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)54 b Fu(101)275 904 y(8.2)92 b(Readline)31 -b(In)m(teraction)c Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)56 b Fu(101)399 -1013 y(8.2.1)93 b(Readline)31 b(Bare)g(Essen)m(tials)26 -b Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)55 -b Fu(102)399 1123 y(8.2.2)93 b(Readline)31 b(Mo)m(v)m(emen)m(t)i -(Commands)24 b Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)55 b -Fu(102)399 1233 y(8.2.3)93 b(Readline)31 b(Killing)g(Commands)16 -b Fn(:)f(:)g(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)46 b -Fu(103)399 1342 y(8.2.4)93 b(Readline)31 b(Argumen)m(ts)9 -b Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)39 b Fu(103)399 1452 y(8.2.5)93 b(Searc)m(hing)31 -b(for)f(Commands)f(in)h(the)h(History)c Fn(:)15 b(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)57 b Fu(103)275 -1561 y(8.3)92 b(Readline)31 b(Init)f(File)20 b Fn(:)d(:)e(:)h(:)f(:)g +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)25 b Fu(40)150 2197 +y Fs(4)135 b(Shell)45 b(Builtin)g(Commands)14 b Fo(:)20 +b(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)27 b Fs(42)275 2334 y Fu(4.1)92 b(Bourne)30 +b(Shell)g(Builtins)16 b Fn(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)50 b Fu(104)399 1671 y(8.3.1)93 b(Readline)31 -b(Init)f(File)i(Syn)m(tax)12 b Fn(:)k(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)29 +b Fu(42)275 2443 y(4.2)92 b(Bash)30 b(Builtin)h(Commands)13 +b Fn(:)h(:)i(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)26 b Fu(49)275 2553 y(4.3)92 b(Mo)s(difying)30 +b(Shell)g(Beha)m(vior)18 b Fn(:)f(:)e(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)31 b Fu(60)399 +2663 y(4.3.1)93 b(The)30 b(Set)g(Builtin)14 b Fn(:)i(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)h(:)f(:)h(:)42 b Fu(104)399 1781 y(8.3.2)93 b(Conditional)31 -b(Init)f(Constructs)25 b Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)56 b Fu(111)399 1890 y(8.3.3)93 b(Sample)30 b(Init)g(File)12 -b Fn(:)17 b(:)e(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +f(:)g(:)27 b Fu(60)399 2772 y(4.3.2)93 b(The)30 b(Shopt)f(Builtin)21 +b Fn(:)16 b(:)g(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)42 b Fu(112)275 2000 y(8.4)92 -b(Bindable)30 b(Readline)h(Commands)11 b Fn(:)k(:)g(:)g(:)h(:)f(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)41 b Fu(115)399 2109 y(8.4.1)93 -b(Commands)29 b(F)-8 b(or)31 b(Mo)m(ving)e Fn(:)16 b(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)58 b Fu(115)399 -2219 y(8.4.2)93 b(Commands)29 b(F)-8 b(or)31 b(Manipulating)g(The)f -(History)17 b Fn(:)g(:)e(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)47 b Fu(116)399 2328 y(8.4.3)93 b(Commands)29 b(F)-8 -b(or)31 b(Changing)f(T)-8 b(ext)21 b Fn(:)c(:)e(:)h(:)f(:)h(:)f(:)g(:)h +h(:)f(:)h(:)f(:)g(:)h(:)34 b Fu(64)275 2882 y(4.4)92 +b(Sp)s(ecial)30 b(Builtins)9 b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -51 b Fu(117)399 2438 y(8.4.4)93 b(Killing)31 b(And)e(Y)-8 -b(anking)22 b Fn(:)17 b(:)e(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)h(:)f(:)h(:)52 b Fu(118)399 2548 y(8.4.5)93 b(Sp)s(ecifying)30 -b(Numeric)g(Argumen)m(ts)17 b Fn(:)e(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)47 -b Fu(119)399 2657 y(8.4.6)93 b(Letting)31 b(Readline)g(T)m(yp)s(e)f(F) --8 b(or)31 b(Y)-8 b(ou)12 b Fn(:)k(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)42 -b Fu(120)399 2767 y(8.4.7)93 b(Keyb)s(oard)29 b(Macros)21 -b Fn(:)16 b(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)51 b Fu(121)399 2876 y(8.4.8)93 b(Some)30 -b(Miscellaneous)j(Commands)24 b Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)55 -b Fu(122)275 2986 y(8.5)92 b(Readline)31 b(vi)f(Mo)s(de)20 -b Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +f(:)g(:)h(:)f(:)22 b Fu(70)150 3132 y Fs(5)135 b(Shell)45 +b(V)-11 b(ariables)11 b Fo(:)20 b(:)g(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:) +f(:)h(:)f(:)g(:)h(:)f(:)24 b Fs(71)275 3269 y Fu(5.1)92 +b(Bourne)30 b(Shell)g(V)-8 b(ariables)10 b Fn(:)17 b(:)e(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g (:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)50 b Fu(124)275 -3096 y(8.6)92 b(Programmable)30 b(Completion)16 b Fn(:)g(:)f(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)46 -b Fu(124)275 3205 y(8.7)92 b(Programmable)30 b(Completion)h(Builtins)c +23 b Fu(71)275 3379 y(5.2)92 b(Bash)30 b(V)-8 b(ariables)26 +b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)38 +b Fu(71)150 3630 y Fs(6)135 b(Bash)44 b(F)-11 b(eatures)32 +b Fo(:)19 b(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +44 b Fs(82)275 3767 y Fu(6.1)92 b(In)m(v)m(oking)31 b(Bash)16 +b Fn(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)29 +b Fu(82)275 3876 y(6.2)92 b(Bash)30 b(Startup)g(Files)f Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)56 b Fu(126)275 -3315 y(8.8)92 b(A)30 b(Programmable)h(Completion)g(Example)20 -b Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)50 b Fu(130)150 3533 y Fs(9)135 -b(Using)45 b(History)h(In)l(teractiv)l(ely)39 b Fo(:)19 -b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)80 -b Fs(133)275 3670 y Fu(9.1)92 b(Bash)30 b(History)h(F)-8 -b(acilities)21 b Fn(:)d(:)e(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)51 b Fu(133)275 3779 -y(9.2)92 b(Bash)30 b(History)h(Builtins)19 b Fn(:)d(:)g(:)f(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)49 -b Fu(133)275 3889 y(9.3)92 b(History)31 b(Expansion)21 -b Fn(:)15 b(:)g(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)52 b Fu(135)399 3999 -y(9.3.1)93 b(Ev)m(en)m(t)31 b(Designators)10 b Fn(:)18 -b(:)d(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)40 b Fu(135)399 4108 y(9.3.2)93 b(W)-8 b(ord)31 -b(Designators)17 b Fn(:)g(:)e(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)41 b Fu(84)275 +3986 y(6.3)92 b(In)m(teractiv)m(e)32 b(Shells)19 b Fn(:)d(:)f(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)47 b Fu(136)399 4218 -y(9.3.3)93 b(Mo)s(di\014ers)26 b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)32 b Fu(85)399 4095 y(6.3.1)93 +b(What)31 b(is)f(an)h(In)m(teractiv)m(e)h(Shell?)25 b +Fn(:)16 b(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)38 +b Fu(86)399 4205 y(6.3.2)93 b(Is)30 b(this)g(Shell)g(In)m(teractiv)m +(e?)22 b Fn(:)d(:)c(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)35 b Fu(86)399 4315 y(6.3.3)93 b(In)m(teractiv)m(e)33 +b(Shell)d(Beha)m(vior)11 b Fn(:)17 b(:)e(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) +f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)24 b Fu(86)275 4424 y(6.4)92 b(Bash)30 +b(Conditional)h(Expressions)10 b Fn(:)k(:)i(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)57 b Fu(137)150 4436 y Fs(10)135 b(Installing)46 -b(Bash)24 b Fo(:)c(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)68 -b Fs(138)275 4573 y Fu(10.1)92 b(Basic)32 b(Installation)20 -b Fn(:)d(:)e(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)50 b Fu(138)275 4682 -y(10.2)92 b(Compilers)30 b(and)g(Options)8 b Fn(:)15 -b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +h(:)f(:)h(:)f(:)g(:)h(:)f(:)23 b Fu(87)275 4534 y(6.5)92 +b(Shell)30 b(Arithmetic)13 b Fn(:)k(:)e(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)26 b Fu(89)275 4643 y(6.6)92 b(Aliases)20 b Fn(:)d(:)e(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)38 b Fu(139)275 4792 y(10.3)92 b(Compiling)30 -b(F)-8 b(or)32 b(Multiple)f(Arc)m(hitectures)21 b Fn(:)c(:)e(:)h(:)f(:) +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)33 +b Fu(90)275 4753 y(6.7)92 b(Arra)m(ys)25 b Fn(:)16 b(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)38 +b Fu(91)275 4863 y(6.8)92 b(The)29 b(Directory)j(Stac)m(k)16 +b Fn(:)h(:)f(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)29 b Fu(93)399 4972 +y(6.8.1)93 b(Directory)32 b(Stac)m(k)f(Builtins)23 b +Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +36 b Fu(93)275 5082 y(6.9)92 b(Con)m(trolling)31 b(the)g(Prompt)13 +b Fn(:)h(:)i(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)25 b Fu(94)275 5191 y(6.10)92 +b(The)30 b(Restricted)h(Shell)11 b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:) h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g -(:)52 b Fu(139)275 4902 y(10.4)92 b(Installation)32 b(Names)13 -b Fn(:)j(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)24 +b Fu(95)275 5301 y(6.11)92 b(Bash)31 b(POSIX)e(Mo)s(de)17 +b Fn(:)f(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)30 b Fu(96)p eop end +%%Page: -3 5 +TeXDict begin -3 4 bop 3674 -116 a Fu(iii)150 83 y Fs(7)135 +b(Job)45 b(Con)l(trol)35 b Fo(:)20 b(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)48 b Fs(100)275 220 y +Fu(7.1)92 b(Job)30 b(Con)m(trol)h(Basics)23 b Fn(:)16 +b(:)g(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) +f(:)h(:)f(:)g(:)h(:)f(:)h(:)36 b Fu(100)275 330 y(7.2)92 +b(Job)30 b(Con)m(trol)h(Builtins)11 b Fn(:)k(:)g(:)h(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)43 b Fu(139)275 5011 y(10.5)92 -b(Sp)s(ecifying)30 b(the)g(System)h(T)m(yp)s(e)12 b Fn(:)j(:)g(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)42 b Fu(139)275 -5121 y(10.6)92 b(Sharing)30 b(Defaults)15 b Fn(:)i(:)e(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)24 +b Fu(101)275 439 y(7.3)92 b(Job)30 b(Con)m(trol)h(V)-8 +b(ariables)26 b Fn(:)15 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)38 b Fu(103)150 +690 y Fs(8)135 b(Command)45 b(Line)g(Editing)11 b Fo(:)20 +b(:)g(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)k Fs(104)275 827 y Fu(8.1)92 b(In)m(tro)s(duction)30 +b(to)h(Line)f(Editing)12 b Fn(:)k(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)25 b Fu(104)275 936 y(8.2)92 +b(Readline)31 b(In)m(teraction)14 b Fn(:)j(:)e(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)27 +b Fu(104)399 1046 y(8.2.1)93 b(Readline)31 b(Bare)g(Essen)m(tials)13 +b Fn(:)j(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)26 +b Fu(105)399 1156 y(8.2.2)93 b(Readline)31 b(Mo)m(v)m(emen)m(t)i +(Commands)13 b Fn(:)i(:)g(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)27 +b Fu(105)399 1265 y(8.2.3)93 b(Readline)31 b(Killing)g(Commands)24 +b Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)38 +b Fu(106)399 1375 y(8.2.4)93 b(Readline)31 b(Argumen)m(ts)17 +b Fn(:)e(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)30 b Fu(106)399 1484 y(8.2.5)93 b(Searc)m(hing)31 +b(for)f(Commands)f(in)h(the)h(History)15 b Fn(:)g(:)h(:)f(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)28 b Fu(106)275 +1594 y(8.3)92 b(Readline)31 b(Init)f(File)8 b Fn(:)17 +b(:)e(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)22 b Fu(107)399 1704 +y(8.3.1)93 b(Readline)31 b(Init)f(File)i(Syn)m(tax)21 +b Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)34 +b Fu(107)399 1813 y(8.3.2)93 b(Conditional)31 b(Init)f(Constructs)14 +b Fn(:)h(:)g(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)27 +b Fu(115)399 1923 y(8.3.3)93 b(Sample)30 b(Init)g(File)20 +b Fn(:)d(:)e(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)33 b Fu(116)275 2032 y(8.4)92 +b(Bindable)30 b(Readline)h(Commands)19 b Fn(:)c(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)33 b Fu(119)399 2142 y(8.4.1)93 +b(Commands)29 b(F)-8 b(or)31 b(Mo)m(ving)16 b Fn(:)h(:)e(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)29 b Fu(119)399 +2252 y(8.4.2)93 b(Commands)29 b(F)-8 b(or)31 b(Manipulating)g(The)f +(History)c Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)39 b Fu(120)399 2361 y(8.4.3)93 b(Commands)29 b(F)-8 +b(or)31 b(Changing)f(T)-8 b(ext)9 b Fn(:)17 b(:)e(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)23 b Fu(121)399 2471 y(8.4.4)93 b(Killing)31 +b(And)e(Y)-8 b(anking)10 b Fn(:)17 b(:)e(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)24 b Fu(122)399 +2580 y(8.4.5)93 b(Sp)s(ecifying)30 b(Numeric)g(Argumen)m(ts)25 +b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)39 b Fu(124)399 +2690 y(8.4.6)93 b(Letting)31 b(Readline)g(T)m(yp)s(e)f(F)-8 +b(or)31 b(Y)-8 b(ou)20 b Fn(:)c(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)33 +b Fu(124)399 2800 y(8.4.7)93 b(Keyb)s(oard)29 b(Macros)9 +b Fn(:)17 b(:)e(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h (:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)22 b Fu(126)399 2909 y(8.4.8)93 +b(Some)30 b(Miscellaneous)j(Commands)14 b Fn(:)f(:)j(:)f(:)h(:)f(:)g(:) h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)46 b Fu(140)275 5230 y(10.7)92 b(Op)s(eration)30 -b(Con)m(trols)24 b Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f -(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)54 b Fu(140)275 -5340 y(10.8)92 b(Optional)31 b(F)-8 b(eatures)10 b Fn(:)17 -b(:)e(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)27 b Fu(126)275 3019 y(8.5)92 b(Readline)31 b(vi)f(Mo)s(de)e +Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)41 b Fu(128)275 +3128 y(8.6)92 b(Programmable)30 b(Completion)25 b Fn(:)15 +b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)37 +b Fu(129)275 3238 y(8.7)92 b(Programmable)30 b(Completion)h(Builtins)14 +b Fn(:)i(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)28 b Fu(131)275 +3347 y(8.8)92 b(A)30 b(Programmable)h(Completion)g(Example)8 +b Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)22 b Fu(134)150 3598 y +Fs(9)135 b(Using)45 b(History)h(In)l(teractiv)l(ely)28 +b Fo(:)22 b(:)d(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g +(:)h(:)41 b Fs(137)275 3735 y Fu(9.1)92 b(Bash)30 b(History)h(F)-8 +b(acilities)9 b Fn(:)19 b(:)c(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)22 b Fu(137)275 +3845 y(9.2)92 b(Bash)30 b(History)h(Builtins)d Fn(:)16 +b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)h(:)f(:)41 b Fu(137)275 3954 y(9.3)92 b(History)31 +b(Expansion)10 b Fn(:)k(:)h(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h (:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)40 b Fu(140)p eop end +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)23 +b Fu(139)399 4064 y(9.3.1)93 b(Ev)m(en)m(t)31 b(Designators)19 +b Fn(:)e(:)e(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)g(:)h(:)32 b Fu(140)399 4174 y(9.3.2)93 b(W)-8 +b(ord)31 b(Designators)c Fn(:)15 b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)39 b Fu(140)399 +4283 y(9.3.3)93 b(Mo)s(di\014ers)15 b Fn(:)g(:)g(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)29 b Fu(141)p eop end %%Page: -4 6 -TeXDict begin -4 5 bop 3677 -116 a Fu(iv)150 83 y Fs(App)t(endix)44 -b(A)160 b(Rep)t(orting)46 b(Bugs)35 b Fo(:)20 b(:)f(:)g(:)h(:)f(:)h(:)f -(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)80 b Fs(145)150 -353 y(App)t(endix)44 b(B)166 b(Ma)7 b(jor)45 b(Di\013erences)i(F)-11 -b(rom)44 b(The)419 486 y(Bourne)g(Shell)35 b Fo(:)19 -b(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)78 -b Fs(146)275 623 y Fu(B.1)92 b(Implemen)m(tation)31 b(Di\013erences)h -(F)-8 b(rom)31 b(The)e(SVR4.2)j(Shell)13 b Fn(:)i(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)43 b Fu(150)150 865 y Fs(App)t(endix)h(C)165 -b(GNU)45 b(F)-11 b(ree)45 b(Do)t(cumen)l(tation)h(License)439 -998 y Fo(:)19 b(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g -(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:) -g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)64 -b Fs(152)150 1268 y(App)t(endix)44 b(D)159 b(Indexes)15 -b Fo(:)20 b(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f -(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)59 b Fs(160)275 -1405 y Fu(D.1)92 b(Index)29 b(of)i(Shell)f(Builtin)h(Commands)16 -b Fn(:)e(:)i(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) -h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)46 b Fu(160)275 -1514 y(D.2)92 b(Index)29 b(of)i(Shell)f(Reserv)m(ed)h(W)-8 -b(ords)12 b Fn(:)j(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h -(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)42 -b Fu(161)275 1624 y(D.3)92 b(P)m(arameter)31 b(and)f(V)-8 -b(ariable)32 b(Index)20 b Fn(:)14 b(:)i(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +TeXDict begin -4 5 bop 3677 -116 a Fu(iv)150 83 y Fs(10)135 +b(Installing)46 b(Bash)16 b Fo(:)j(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)h(:)f(:)29 b Fs(142)275 220 y Fu(10.1)92 b(Basic)32 +b(Installation)8 b Fn(:)17 b(:)f(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)22 +b Fu(142)275 330 y(10.2)92 b(Compilers)30 b(and)g(Options)17 +b Fn(:)d(:)i(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)30 b Fu(143)275 439 y(10.3)92 b(Compiling)30 +b(F)-8 b(or)32 b(Multiple)f(Arc)m(hitectures)10 b Fn(:)16 +b(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)23 b Fu(143)275 549 y(10.4)92 +b(Installation)32 b(Names)22 b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)35 +b Fu(143)275 658 y(10.5)92 b(Sp)s(ecifying)30 b(the)g(System)h(T)m(yp)s +(e)21 b Fn(:)14 b(:)i(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)34 b Fu(143)275 768 y(10.6)92 b(Sharing)30 b(Defaults)24 +b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)50 b Fu(161)275 1733 y(D.4)92 b(F)-8 b(unction)31 -b(Index)16 b Fn(:)f(:)g(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)37 b Fu(144)275 +878 y(10.7)92 b(Op)s(eration)30 b(Con)m(trols)12 b Fn(:)k(:)f(:)h(:)f (:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)47 -b Fu(163)275 1843 y(D.5)92 b(Concept)30 b(Index)d Fn(:)15 -b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h -(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:) -f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)57 b Fu(165)p -eop end +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f +(:)h(:)f(:)25 b Fu(144)275 987 y(10.8)92 b(Optional)31 +b(F)-8 b(eatures)19 b Fn(:)d(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)32 +b Fu(144)150 1238 y Fs(App)t(endix)44 b(A)119 b(Rep)t(orting)46 +b(Bugs)21 b Fo(:)f(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)35 b Fs(149)150 1498 y(App)t(endix)44 +b(B)125 b(Ma)7 b(jor)46 b(Di\013erences)g(F)-11 b(rom)284 +1639 y(The)45 b(Bourne)f(Shell)35 b Fo(:)19 b(:)h(:)f(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)h(:) +f(:)g(:)h(:)f(:)h(:)47 b Fs(150)275 1776 y Fu(B.1)92 +b(Implemen)m(tation)31 b(Di\013erences)h(F)-8 b(rom)31 +b(The)e(SVR4.2)j(Shell)22 b Fn(:)15 b(:)g(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)35 b Fu(154)150 2027 y Fs(App)t(endix)44 b(C)124 b(GNU)36 +b(F)-11 b(ree)35 b(Do)t(cumen)l(tation)i(License)25 b +Fo(:)20 b(:)29 b Fs(156)150 2305 y(App)t(endix)44 b(D)118 +b(Indexes)27 b Fo(:)20 b(:)g(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:) +h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)40 +b Fs(164)275 2442 y Fu(D.1)92 b(Index)29 b(of)i(Shell)f(Builtin)h +(Commands)23 b Fn(:)16 b(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) +g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)38 +b Fu(164)275 2552 y(D.2)92 b(Index)29 b(of)i(Shell)f(Reserv)m(ed)h(W)-8 +b(ords)20 b Fn(:)c(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)h(:)f +(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)34 +b Fu(165)275 2661 y(D.3)92 b(P)m(arameter)31 b(and)f(V)-8 +b(ariable)32 b(Index)27 b Fn(:)16 b(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g +(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:) +h(:)f(:)g(:)42 b Fu(166)275 2771 y(D.4)92 b(F)-8 b(unction)31 +b(Index)24 b Fn(:)15 b(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h +(:)f(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:) +f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)38 +b Fu(168)275 2880 y(D.5)92 b(Concept)30 b(Index)15 b +Fn(:)g(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h +(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:) +h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)29 b +Fu(170)p eop end %%Page: 1 7 -TeXDict begin 1 6 bop 150 -116 a Fu(Chapter)30 b(1:)41 -b(In)m(tro)s(duction)2592 b(1)150 299 y Fp(1)80 b(In)l(tro)t(duction) -150 602 y Fs(1.1)68 b(What)45 b(is)g(Bash?)150 762 y -Fu(Bash)38 b(is)g(the)g(shell,)i(or)d(command)h(language)h(in)m +TeXDict begin 1 6 bop 3705 -116 a Fu(1)150 299 y Fp(1)80 +b(In)l(tro)t(duction)150 604 y Fs(1.1)68 b(What)45 b(is)g(Bash?)150 +763 y Fu(Bash)38 b(is)g(the)g(shell,)i(or)d(command)h(language)h(in)m (terpreter,)h(for)e(the)g Fm(gnu)f Fu(op)s(erating)h(system.)63 -b(The)150 871 y(name)33 b(is)g(an)g(acron)m(ym)g(for)g(the)g(`)p +b(The)150 873 y(name)33 b(is)g(an)g(acron)m(ym)g(for)g(the)g(`)p Ft(Bourne-Again)27 b(SHell)p Fu(',)32 b(a)i(pun)d(on)i(Stephen)f -(Bourne,)h(the)g(author)150 981 y(of)f(the)f(direct)h(ancestor)h(of)e +(Bourne,)h(the)g(author)150 983 y(of)f(the)f(direct)h(ancestor)h(of)e (the)h(curren)m(t)f(Unix)g(shell)h Ft(sh)p Fu(,)f(whic)m(h)g(app)s -(eared)g(in)g(the)h(Sev)m(en)m(th)g(Edition)150 1091 +(eared)g(in)g(the)h(Sev)m(en)m(th)g(Edition)150 1092 y(Bell)g(Labs)e(Researc)m(h)h(v)m(ersion)g(of)f(Unix.)275 -1220 y(Bash)f(is)g(largely)i(compatible)f(with)f Ft(sh)g +1221 y(Bash)f(is)g(largely)i(compatible)f(with)f Ft(sh)g Fu(and)g(incorp)s(orates)g(useful)g(features)g(from)g(the)g(Korn)g (shell)150 1330 y Ft(ksh)37 b Fu(and)h(the)g(C)g(shell)g Ft(csh)p Fu(.)64 b(It)38 b(is)g(in)m(tended)g(to)h(b)s(e)f(a)g (conforman)m(t)h(implemen)m(tation)h(of)e(the)g Fm(ieee)150 -1439 y(posix)c Fu(Shell)g(and)g(T)-8 b(o)s(ols)35 b(p)s(ortion)f(of)g +1440 y(posix)c Fu(Shell)g(and)g(T)-8 b(o)s(ols)35 b(p)s(ortion)f(of)g (the)h Fm(ieee)f(posix)f Fu(sp)s(eci\014cation)j(\()p -Fm(ieee)e Fu(Standard)f(1003.1\).)56 b(It)150 1549 y(o\013ers)31 +Fm(ieee)e Fu(Standard)f(1003.1\).)56 b(It)150 1550 y(o\013ers)31 b(functional)f(impro)m(v)m(emen)m(ts)i(o)m(v)m(er)g Ft(sh)d Fu(for)i(b)s(oth)e(in)m(teractiv)m(e)k(and)d(programming)g(use.)275 -1679 y(While)h(the)g Fm(gnu)f Fu(op)s(erating)h(system)g(pro)m(vides)f +1678 y(While)h(the)g Fm(gnu)f Fu(op)s(erating)h(system)g(pro)m(vides)f (other)h(shells,)g(including)f(a)h(v)m(ersion)g(of)g Ft(csh)p Fu(,)f(Bash)150 1788 y(is)j(the)h(default)f(shell.)49 b(Lik)m(e)34 b(other)g Fm(gnu)f Fu(soft)m(w)m(are,)i(Bash)f(is)f(quite) h(p)s(ortable.)49 b(It)33 b(curren)m(tly)g(runs)f(on)150 -1898 y(nearly)c(ev)m(ery)g(v)m(ersion)g(of)f(Unix)h(and)e(a)i(few)f +1897 y(nearly)c(ev)m(ery)g(v)m(ersion)g(of)f(Unix)h(and)e(a)i(few)f (other)h(op)s(erating)g(systems)f Fq(\000)g Fu(indep)s(enden)m -(tly-supp)s(orted)150 2008 y(p)s(orts)j(exist)h(for)f +(tly-supp)s(orted)150 2007 y(p)s(orts)j(exist)h(for)f Fm(ms-dos)p Fu(,)f Fm(os/2)p Fu(,)i(and)f(Windo)m(ws)g(platforms.)150 -2231 y Fs(1.2)68 b(What)45 b(is)g(a)h(shell?)150 2390 +2236 y Fs(1.2)68 b(What)45 b(is)g(a)h(shell?)150 2395 y Fu(A)m(t)32 b(its)f(base,)h(a)f(shell)g(is)h(simply)e(a)h(macro)h (pro)s(cessor)f(that)g(executes)i(commands.)42 b(The)30 -b(term)h(macro)150 2500 y(pro)s(cessor)25 b(means)g(functionalit)m(y)i +b(term)h(macro)150 2505 y(pro)s(cessor)25 b(means)g(functionalit)m(y)i (where)d(text)j(and)d(sym)m(b)s(ols)h(are)h(expanded)e(to)i(create)h -(larger)f(expres-)150 2609 y(sions.)275 2739 y(A)34 b(Unix)h(shell)g +(larger)f(expres-)150 2615 y(sions.)275 2743 y(A)34 b(Unix)h(shell)g (is)f(b)s(oth)g(a)h(command)g(in)m(terpreter)g(and)f(a)h(programming)f -(language.)55 b(As)35 b(a)g(com-)150 2848 y(mand)30 b(in)m(terpreter,)i +(language.)55 b(As)35 b(a)g(com-)150 2853 y(mand)30 b(in)m(terpreter,)i (the)g(shell)f(pro)m(vides)g(the)h(user)e(in)m(terface)j(to)f(the)f (ric)m(h)h(set)g(of)f Fm(gnu)g Fu(utilities.)44 b(The)150 -2958 y(programming)30 b(language)h(features)f(allo)m(w)h(these)g +2962 y(programming)30 b(language)h(features)f(allo)m(w)h(these)g (utilities)g(to)g(b)s(e)e(com)m(bined.)41 b(Files)31 -b(con)m(taining)g(com-)150 3068 y(mands)e(can)i(b)s(e)e(created,)j(and) +b(con)m(taining)g(com-)150 3072 y(mands)e(can)i(b)s(e)e(created,)j(and) d(b)s(ecome)i(commands)f(themselv)m(es.)42 b(These)30 -b(new)f(commands)h(ha)m(v)m(e)i(the)150 3177 y(same)j(status)g(as)g +b(new)f(commands)h(ha)m(v)m(e)i(the)150 3182 y(same)j(status)g(as)g (system)g(commands)f(in)g(directories)i(suc)m(h)e(as)h Ft(/bin)p Fu(,)g(allo)m(wing)h(users)e(or)g(groups)g(to)150 -3287 y(establish)d(custom)f(en)m(vironmen)m(ts)h(to)g(automate)h(their) -f(common)f(tasks.)275 3417 y(Shells)j(ma)m(y)h(b)s(e)f(used)g(in)m +3291 y(establish)d(custom)f(en)m(vironmen)m(ts)h(to)g(automate)h(their) +f(common)f(tasks.)275 3420 y(Shells)j(ma)m(y)h(b)s(e)f(used)g(in)m (teractiv)m(ely)k(or)d(non-in)m(teractiv)m(ely)-8 b(.)54 b(In)33 b(in)m(teractiv)m(e)j(mo)s(de,)f(they)e(accept)150 -3526 y(input)21 b(t)m(yp)s(ed)h(from)g(the)h(k)m(eyb)s(oard.)37 +3529 y(input)21 b(t)m(yp)s(ed)h(from)g(the)h(k)m(eyb)s(oard.)37 b(When)22 b(executing)i(non-in)m(teractiv)m(ely)-8 b(,)27 -b(shells)c(execute)g(commands)150 3636 y(read)30 b(from)g(a)h(\014le.) -275 3765 y(A)41 b(shell)g(allo)m(ws)h(execution)h(of)e +b(shells)c(execute)g(commands)150 3639 y(read)30 b(from)g(a)h(\014le.) +275 3768 y(A)41 b(shell)g(allo)m(ws)h(execution)h(of)e Fm(gnu)g Fu(commands,)i(b)s(oth)e(sync)m(hronously)f(and)h(async)m -(hronously)-8 b(.)150 3875 y(The)29 b(shell)g(w)m(aits)i(for)e(sync)m +(hronously)-8 b(.)150 3877 y(The)29 b(shell)g(w)m(aits)i(for)e(sync)m (hronous)f(commands)h(to)h(complete)h(b)s(efore)e(accepting)i(more)e -(input;)g(asyn-)150 3985 y(c)m(hronous)22 b(commands)h(con)m(tin)m(ue)h +(input;)g(asyn-)150 3987 y(c)m(hronous)22 b(commands)h(con)m(tin)m(ue)h (to)f(execute)h(in)e(parallel)i(with)f(the)f(shell)h(while)g(it)g -(reads)g(and)f(executes)150 4094 y(additional)35 b(commands.)50 +(reads)g(and)f(executes)150 4096 y(additional)35 b(commands.)50 b(The)33 b Fr(redirection)h Fu(constructs)g(p)s(ermit)f(\014ne-grained) -g(con)m(trol)i(of)f(the)g(input)150 4204 y(and)40 b(output)f(of)i +g(con)m(trol)i(of)f(the)g(input)150 4206 y(and)40 b(output)f(of)i (those)f(commands.)70 b(Moreo)m(v)m(er,)45 b(the)c(shell)f(allo)m(ws)h (con)m(trol)h(o)m(v)m(er)g(the)e(con)m(ten)m(ts)i(of)150 -4313 y(commands')30 b(en)m(vironmen)m(ts.)275 4443 y(Shells)k(also)i +4316 y(commands')30 b(en)m(vironmen)m(ts.)275 4444 y(Shells)k(also)i (pro)m(vide)g(a)f(small)h(set)f(of)g(built-in)g(commands)g(\()p Fr(builtins)t Fu(\))g(implemen)m(ting)h(function-)150 -4553 y(alit)m(y)i(imp)s(ossible)e(or)g(incon)m(v)m(enien)m(t)j(to)e +4554 y(alit)m(y)i(imp)s(ossible)e(or)g(incon)m(v)m(enien)m(t)j(to)e (obtain)g(via)g(separate)g(utilities.)61 b(F)-8 b(or)37 -b(example,)i Ft(cd)p Fu(,)e Ft(break)p Fu(,)150 4662 +b(example,)i Ft(cd)p Fu(,)e Ft(break)p Fu(,)150 4663 y Ft(continue)p Fu(,)28 b(and)i Ft(exec)f Fu(cannot)i(b)s(e)f(implemen) m(ted)h(outside)g(of)f(the)h(shell)f(b)s(ecause)h(they)f(directly)h -(ma-)150 4772 y(nipulate)d(the)g(shell)g(itself.)41 b(The)27 +(ma-)150 4773 y(nipulate)d(the)g(shell)g(itself.)41 b(The)27 b Ft(history)p Fu(,)g Ft(getopts)p Fu(,)f Ft(kill)p Fu(,)i(or)g -Ft(pwd)f Fu(builtins,)h(among)g(others,)h(could)150 4881 +Ft(pwd)f Fu(builtins,)h(among)g(others,)h(could)150 4883 y(b)s(e)34 b(implemen)m(ted)g(in)g(separate)h(utilities,)i(but)d(they)g (are)g(more)h(con)m(v)m(enien)m(t)h(to)f(use)f(as)g(builtin)g(com-)150 -4991 y(mands.)40 b(All)31 b(of)f(the)h(shell)f(builtins)g(are)h +4992 y(mands.)40 b(All)31 b(of)f(the)h(shell)f(builtins)g(are)h (describ)s(ed)e(in)h(subsequen)m(t)g(sections.)275 5121 y(While)39 b(executing)h(commands)e(is)g(essen)m(tial,)43 b(most)c(of)g(the)g(p)s(o)m(w)m(er)f(\(and)g(complexit)m(y\))j(of)e @@ -8124,61 +8192,61 @@ y(command)d(history)g(and)g(aliases.)42 b(Eac)m(h)31 b(of)g(these)g(features)f(is)h(describ)s(ed)e(in)h(this)g(man)m(ual.)p eop end %%Page: 3 9 -TeXDict begin 3 8 bop 150 -116 a Fu(Chapter)30 b(2:)41 -b(De\014nitions)2662 b(3)150 299 y Fp(2)80 b(De\014nitions)150 -552 y Fu(These)30 b(de\014nitions)g(are)h(used)e(throughout)h(the)h -(remainder)f(of)g(this)h(man)m(ual.)150 720 y Ft(POSIX)240 -b Fu(A)27 b(family)g(of)g(op)s(en)f(system)g(standards)g(based)g(on)h -(Unix.)39 b(Bash)27 b(is)g(primarily)f(concerned)630 -830 y(with)k(the)h(Shell)f(and)g(Utilities)i(p)s(ortion)e(of)h(the)f -Fm(posix)g Fu(1003.1)j(standard.)150 995 y Ft(blank)240 -b Fu(A)30 b(space)h(or)g(tab)f(c)m(haracter.)150 1161 -y Ft(builtin)144 b Fu(A)35 b(command)g(that)g(is)g(implemen)m(ted)g(in) -m(ternally)h(b)m(y)f(the)g(shell)g(itself,)i(rather)d(than)h(b)m(y)630 -1271 y(an)30 b(executable)i(program)e(somewhere)h(in)f(the)g(\014le)h -(system.)150 1436 y Ft(control)d(operator)630 1546 y -Fu(A)20 b Ft(token)f Fu(that)i(p)s(erforms)e(a)i(con)m(trol)g +TeXDict begin 3 8 bop 3705 -116 a Fu(3)150 299 y Fp(2)80 +b(De\014nitions)150 552 y Fu(These)30 b(de\014nitions)g(are)h(used)e +(throughout)h(the)h(remainder)f(of)g(this)h(man)m(ual.)150 +720 y Ft(POSIX)240 b Fu(A)27 b(family)g(of)g(op)s(en)f(system)g +(standards)g(based)g(on)h(Unix.)39 b(Bash)27 b(is)g(primarily)f +(concerned)630 830 y(with)k(the)h(Shell)f(and)g(Utilities)i(p)s(ortion) +e(of)h(the)f Fm(posix)g Fu(1003.1)j(standard.)150 995 +y Ft(blank)240 b Fu(A)30 b(space)h(or)g(tab)f(c)m(haracter.)150 +1161 y Ft(builtin)144 b Fu(A)35 b(command)g(that)g(is)g(implemen)m(ted) +g(in)m(ternally)h(b)m(y)f(the)g(shell)g(itself,)i(rather)d(than)h(b)m +(y)630 1271 y(an)30 b(executable)i(program)e(somewhere)h(in)f(the)g +(\014le)h(system.)150 1436 y Ft(control)d(operator)630 +1546 y Fu(A)20 b Ft(token)f Fu(that)i(p)s(erforms)e(a)i(con)m(trol)g (function.)37 b(It)21 b(is)f(a)h Ft(newline)d Fu(or)j(one)f(of)h(the)f (follo)m(wing:)630 1655 y(`)p Ft(||)p Fu(',)31 b(`)p Ft(&&)p Fu(',)f(`)p Ft(&)p Fu(',)h(`)p Ft(;)p Fu(',)g(`)p -Ft(;;)p Fu(',)f(`)p Ft(|)p Fu(',)h(`)p Ft(|&)p Fu(',)f(`)p -Ft(\()p Fu(',)h(or)g(`)p Ft(\))p Fu('.)150 1821 y Ft(exit)e(status)630 -1931 y Fu(The)f(v)-5 b(alue)29 b(returned)e(b)m(y)h(a)h(command)f(to)h -(its)g(caller.)41 b(The)28 b(v)-5 b(alue)29 b(is)f(restricted)h(to)h -(eigh)m(t)630 2040 y(bits,)h(so)f(the)h(maxim)m(um)f(v)-5 -b(alue)31 b(is)f(255.)150 2206 y Ft(field)240 b Fu(A)27 -b(unit)g(of)g(text)h(that)g(is)f(the)g(result)g(of)g(one)h(of)f(the)g -(shell)g(expansions.)40 b(After)27 b(expansion,)630 2315 -y(when)e(executing)h(a)g(command,)h(the)f(resulting)f(\014elds)g(are)h -(used)f(as)h(the)g(command)f(name)630 2425 y(and)30 b(argumen)m(ts.)150 -2591 y Ft(filename)96 b Fu(A)30 b(string)h(of)f(c)m(haracters)i(used)e -(to)h(iden)m(tify)g(a)f(\014le.)150 2756 y Ft(job)336 -b Fu(A)31 b(set)h(of)f(pro)s(cesses)g(comprising)g(a)g(pip)s(eline,)g -(and)g(an)m(y)g(pro)s(cesses)g(descended)g(from)f(it,)630 -2866 y(that)h(are)g(all)g(in)f(the)h(same)f(pro)s(cess)g(group.)150 -3031 y Ft(job)f(control)630 3141 y Fu(A)22 b(mec)m(hanism)g(b)m(y)f -(whic)m(h)h(users)f(can)h(selectiv)m(ely)i(stop)e(\(susp)s(end\))e(and) -h(restart)i(\(resume\))630 3251 y(execution)32 b(of)e(pro)s(cesses.)150 -3416 y Ft(metacharacter)630 3526 y Fu(A)25 b(c)m(haracter)i(that,)g -(when)d(unquoted,)i(separates)g(w)m(ords.)38 b(A)26 b(metac)m(haracter) -i(is)d(a)g Ft(blank)630 3635 y Fu(or)30 b(one)h(of)g(the)f(follo)m -(wing)i(c)m(haracters:)42 b(`)p Ft(|)p Fu(',)31 b(`)p -Ft(&)p Fu(',)g(`)p Ft(;)p Fu(',)g(`)p Ft(\()p Fu(',)f(`)p -Ft(\))p Fu(',)h(`)p Ft(<)p Fu(',)g(or)f(`)p Ft(>)p Fu('.)150 -3801 y Ft(name)288 b Fu(A)37 b Ft(word)f Fu(consisting)i(solely)h(of)e -(letters,)j(n)m(um)m(b)s(ers,)e(and)f(underscores,)h(and)f(b)s -(eginning)630 3910 y(with)23 b(a)g(letter)h(or)f(underscore.)38 -b Ft(Name)p Fu(s)22 b(are)h(used)f(as)i(shell)f(v)-5 -b(ariable)24 b(and)e(function)h(names.)630 4020 y(Also)31 -b(referred)f(to)h(as)f(an)h Ft(identifier)p Fu(.)150 -4186 y Ft(operator)96 b Fu(A)38 b Ft(control)28 b(operator)36 -b Fu(or)h(a)i Ft(redirection)27 b(operator)p Fu(.)61 -b(See)38 b(Section)g(3.6)h([Redirec-)630 4295 y(tions],)f(page)f(31,)i -(for)d(a)g(list)h(of)f(redirection)h(op)s(erators.)58 -b(Op)s(erators)35 b(con)m(tain)j(at)f(least)630 4405 -y(one)31 b(unquoted)e Ft(metacharacter)p Fu(.)150 4570 -y Ft(process)f(group)630 4680 y Fu(A)i(collection)k(of)c(related)h(pro) -s(cesses)g(eac)m(h)g(ha)m(ving)g(the)g(same)f(pro)s(cess)g(group)g +Ft(;;)p Fu(',)f(`)p Ft(;&)p Fu(',)h(`)p Ft(;;&)p Fu(',)f(`)p +Ft(|)p Fu(',)h(`)p Ft(|&)p Fu(',)f(`)p Ft(\()p Fu(',)h(or)f(`)p +Ft(\))p Fu('.)150 1821 y Ft(exit)f(status)630 1931 y +Fu(The)f(v)-5 b(alue)29 b(returned)e(b)m(y)h(a)h(command)f(to)h(its)g +(caller.)41 b(The)28 b(v)-5 b(alue)29 b(is)f(restricted)h(to)h(eigh)m +(t)630 2040 y(bits,)h(so)f(the)h(maxim)m(um)f(v)-5 b(alue)31 +b(is)f(255.)150 2206 y Ft(field)240 b Fu(A)27 b(unit)g(of)g(text)h +(that)g(is)f(the)g(result)g(of)g(one)h(of)f(the)g(shell)g(expansions.) +40 b(After)27 b(expansion,)630 2315 y(when)e(executing)h(a)g(command,)h +(the)f(resulting)f(\014elds)g(are)h(used)f(as)h(the)g(command)f(name) +630 2425 y(and)30 b(argumen)m(ts.)150 2591 y Ft(filename)96 +b Fu(A)30 b(string)h(of)f(c)m(haracters)i(used)e(to)h(iden)m(tify)g(a)f +(\014le.)150 2756 y Ft(job)336 b Fu(A)31 b(set)h(of)f(pro)s(cesses)g +(comprising)g(a)g(pip)s(eline,)g(and)g(an)m(y)g(pro)s(cesses)g +(descended)g(from)f(it,)630 2866 y(that)h(are)g(all)g(in)f(the)h(same)f +(pro)s(cess)g(group.)150 3031 y Ft(job)f(control)630 +3141 y Fu(A)22 b(mec)m(hanism)g(b)m(y)f(whic)m(h)h(users)f(can)h +(selectiv)m(ely)i(stop)e(\(susp)s(end\))e(and)h(restart)i(\(resume\)) +630 3251 y(execution)32 b(of)e(pro)s(cesses.)150 3416 +y Ft(metacharacter)630 3526 y Fu(A)23 b(c)m(haracter)h(that,)h(when)d +(unquoted,)h(separates)h(w)m(ords.)37 b(A)23 b(metac)m(haracter)i(is)e +(a)g Ft(space)p Fu(,)630 3635 y Ft(tab)p Fu(,)29 b Ft(newline)p +Fu(,)e(or)i(one)h(of)f(the)h(follo)m(wing)g(c)m(haracters:)42 +b(`)p Ft(|)p Fu(',)29 b(`)p Ft(&)p Fu(',)h(`)p Ft(;)p +Fu(',)g(`)p Ft(\()p Fu(',)g(`)p Ft(\))p Fu(',)g(`)p Ft(<)p +Fu(',)f(or)h(`)p Ft(>)p Fu('.)150 3801 y Ft(name)288 +b Fu(A)37 b Ft(word)f Fu(consisting)i(solely)h(of)e(letters,)j(n)m(um)m +(b)s(ers,)e(and)f(underscores,)h(and)f(b)s(eginning)630 +3910 y(with)23 b(a)g(letter)h(or)f(underscore.)38 b Ft(Name)p +Fu(s)22 b(are)h(used)f(as)i(shell)f(v)-5 b(ariable)24 +b(and)e(function)h(names.)630 4020 y(Also)31 b(referred)f(to)h(as)f(an) +h Ft(identifier)p Fu(.)150 4186 y Ft(operator)96 b Fu(A)38 +b Ft(control)28 b(operator)36 b Fu(or)h(a)i Ft(redirection)27 +b(operator)p Fu(.)61 b(See)38 b(Section)g(3.6)h([Redirec-)630 +4295 y(tions],)f(page)f(32,)i(for)d(a)g(list)h(of)f(redirection)h(op)s +(erators.)58 b(Op)s(erators)35 b(con)m(tain)j(at)f(least)630 +4405 y(one)31 b(unquoted)e Ft(metacharacter)p Fu(.)150 +4570 y Ft(process)f(group)630 4680 y Fu(A)i(collection)k(of)c(related)h +(pro)s(cesses)g(eac)m(h)g(ha)m(ving)g(the)g(same)f(pro)s(cess)g(group)g Fm(id)p Fu(.)150 4846 y Ft(process)e(group)h(ID)630 4955 y Fu(A)h(unique)g(iden)m(ti\014er)h(that)f(represen)m(ts)h(a)g Ft(process)d(group)h Fu(during)g(its)i(lifetime.)150 @@ -8205,76 +8273,75 @@ Ft(operator)p Fu(.)150 1484 y Ft(word)288 b Fu(A)28 b(sequence)g(of)g b(W)-8 b(ords)28 b(ma)m(y)g(not)g(include)630 1594 y(unquoted)i Ft(metacharacters)p Fu(.)p eop end %%Page: 5 11 -TeXDict begin 5 10 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2292 b(5)150 299 -y Fp(3)80 b(Basic)54 b(Shell)e(F)-13 b(eatures)150 603 -y Fu(Bash)21 b(is)g(an)f(acron)m(ym)i(for)e(`)p Ft(Bourne-Again)27 +TeXDict begin 5 10 bop 3705 -116 a Fu(5)150 299 y Fp(3)80 +b(Basic)54 b(Shell)e(F)-13 b(eatures)150 601 y Fu(Bash)21 +b(is)g(an)f(acron)m(ym)i(for)e(`)p Ft(Bourne-Again)27 b(SHell)p Fu('.)37 b(The)20 b(Bourne)g(shell)h(is)g(the)g(traditional)h -(Unix)f(shell)150 712 y(originally)h(written)f(b)m(y)f(Stephen)g +(Unix)f(shell)150 710 y(originally)h(written)f(b)m(y)f(Stephen)g (Bourne.)38 b(All)21 b(of)g(the)g(Bourne)f(shell)h(builtin)f(commands)g -(are)i(a)m(v)-5 b(ailable)150 822 y(in)26 b(Bash,)h(The)f(rules)f(for)h +(are)i(a)m(v)-5 b(ailable)150 820 y(in)26 b(Bash,)h(The)f(rules)f(for)h (ev)-5 b(aluation)28 b(and)d(quoting)h(are)h(tak)m(en)g(from)f(the)g -Fm(posix)f Fu(sp)s(eci\014cation)i(for)f(the)150 931 -y(`standard')k(Unix)g(shell.)275 1089 y(This)h(c)m(hapter)i(brie\015y)e +Fm(posix)f Fu(sp)s(eci\014cation)i(for)f(the)150 929 +y(`standard')k(Unix)g(shell.)275 1086 y(This)h(c)m(hapter)i(brie\015y)e (summarizes)h(the)h(shell's)f(`building)g(blo)s(c)m(ks':)45 -b(commands,)32 b(con)m(trol)i(struc-)150 1199 y(tures,)k(shell)e +b(commands,)32 b(con)m(trol)i(struc-)150 1196 y(tures,)k(shell)e (functions,)h(shell)g Fl(p)-5 b(ar)g(ameters)p Fu(,)41 b(shell)36 b(expansions,)i Fl(r)-5 b(e)g(dir)g(e)g(ctions)p -Fu(,)40 b(whic)m(h)c(are)h(a)f(w)m(a)m(y)h(to)150 1308 +Fu(,)40 b(whic)m(h)c(are)h(a)f(w)m(a)m(y)h(to)150 1306 y(direct)31 b(input)e(and)h(output)g(from)g(and)g(to)h(named)f (\014les,)g(and)g(ho)m(w)g(the)h(shell)g(executes)g(commands.)150 -1576 y Fs(3.1)68 b(Shell)45 b(Syn)l(tax)150 1735 y Fu(When)40 +1580 y Fs(3.1)68 b(Shell)45 b(Syn)l(tax)150 1740 y Fu(When)40 b(the)h(shell)g(reads)f(input,)i(it)f(pro)s(ceeds)f(through)g(a)h (sequence)g(of)g(op)s(erations.)71 b(If)40 b(the)h(input)150 -1845 y(indicates)31 b(the)f(b)s(eginning)f(of)h(a)g(commen)m(t,)h(the)f +1849 y(indicates)31 b(the)f(b)s(eginning)f(of)h(a)g(commen)m(t,)h(the)f (shell)g(ignores)g(the)g(commen)m(t)h(sym)m(b)s(ol)f(\(`)p -Ft(#)p Fu('\),)h(and)e(the)150 1954 y(rest)i(of)f(that)h(line.)275 -2112 y(Otherwise,)h(roughly)f(sp)s(eaking,)i(the)f(shell)g(reads)g(its) +Ft(#)p Fu('\),)h(and)e(the)150 1959 y(rest)i(of)f(that)h(line.)275 +2116 y(Otherwise,)h(roughly)f(sp)s(eaking,)i(the)f(shell)g(reads)g(its) g(input)f(and)h(divides)f(the)i(input)e(in)m(to)h(w)m(ords)150 -2222 y(and)23 b(op)s(erators,)j(emplo)m(ying)e(the)g(quoting)h(rules)e +2225 y(and)23 b(op)s(erators,)j(emplo)m(ying)e(the)g(quoting)h(rules)e (to)h(select)i(whic)m(h)d(meanings)h(to)h(assign)f(v)-5 -b(arious)23 b(w)m(ords)150 2331 y(and)30 b(c)m(haracters.)275 -2489 y(The)38 b(shell)h(then)f(parses)g(these)h(tok)m(ens)h(in)m(to)f +b(arious)23 b(w)m(ords)150 2335 y(and)30 b(c)m(haracters.)275 +2492 y(The)38 b(shell)h(then)f(parses)g(these)h(tok)m(ens)h(in)m(to)f (commands)g(and)f(other)h(constructs,)i(remo)m(v)m(es)f(the)150 -2598 y(sp)s(ecial)31 b(meaning)f(of)g(certain)h(w)m(ords)f(or)g(c)m +2602 y(sp)s(ecial)31 b(meaning)f(of)g(certain)h(w)m(ords)f(or)g(c)m (haracters,)i(expands)d(others,)h(redirects)h(input)e(and)g(output)150 -2708 y(as)d(needed,)g(executes)g(the)g(sp)s(eci\014ed)e(command,)j(w)m +2711 y(as)d(needed,)g(executes)g(the)g(sp)s(eci\014ed)e(command,)j(w)m (aits)f(for)f(the)g(command's)g(exit)i(status,)f(and)f(mak)m(es)150 -2818 y(that)31 b(exit)g(status)g(a)m(v)-5 b(ailable)33 +2821 y(that)31 b(exit)g(status)g(a)m(v)-5 b(ailable)33 b(for)d(further)f(insp)s(ection)h(or)h(pro)s(cessing.)150 -3040 y Fk(3.1.1)63 b(Shell)41 b(Op)s(eration)150 3187 +3043 y Fk(3.1.1)63 b(Shell)41 b(Op)s(eration)150 3190 y Fu(The)c(follo)m(wing)h(is)f(a)h(brief)e(description)i(of)f(the)g (shell's)h(op)s(eration)f(when)f(it)i(reads)f(and)f(executes)j(a)150 -3297 y(command.)h(Basically)-8 b(,)34 b(the)c(shell)h(do)s(es)f(the)h -(follo)m(wing:)199 3454 y(1.)61 b(Reads)42 b(its)h(input)e(from)h(a)g -(\014le)h(\(see)g(Section)g(3.8)g([Shell)f(Scripts],)j(page)e(39\),)k -(from)41 b(a)i(string)330 3564 y(supplied)30 b(as)h(an)g(argumen)m(t)h +3299 y(command.)h(Basically)-8 b(,)34 b(the)c(shell)h(do)s(es)f(the)h +(follo)m(wing:)199 3456 y(1.)61 b(Reads)42 b(its)h(input)e(from)h(a)g +(\014le)h(\(see)g(Section)g(3.8)g([Shell)f(Scripts],)j(page)e(40\),)k +(from)41 b(a)i(string)330 3566 y(supplied)30 b(as)h(an)g(argumen)m(t)h (to)g(the)f Ft(-c)g Fu(in)m(v)m(o)s(cation)i(option)f(\(see)g(Section)g -(6.1)g([In)m(v)m(oking)g(Bash],)330 3673 y(page)f(80\),)h(or)e(from)g -(the)h(user's)f(terminal.)199 3820 y(2.)61 b(Breaks)43 +(6.1)g([In)m(v)m(oking)g(Bash],)330 3675 y(page)f(82\),)h(or)e(from)g +(the)h(user's)f(terminal.)199 3821 y(2.)61 b(Breaks)43 b(the)g(input)f(in)m(to)h(w)m(ords)f(and)g(op)s(erators,)k(ob)s(eying)d -(the)g(quoting)g(rules)f(describ)s(ed)f(in)330 3929 y(Section)27 +(the)g(quoting)g(rules)f(describ)s(ed)f(in)330 3931 y(Section)27 b(3.1.2)i([Quoting],)f(page)f(6.)40 b(These)26 b(tok)m(ens)i(are)f (separated)g(b)m(y)f Ft(metacharacters)p Fu(.)36 b(Alias)330 -4039 y(expansion)30 b(is)h(p)s(erformed)d(b)m(y)j(this)f(step)g(\(see)i -(Section)f(6.6)g([Aliases],)i(page)e(88\).)199 4185 y(3.)61 +4040 y(expansion)30 b(is)h(p)s(erformed)d(b)m(y)j(this)f(step)g(\(see)i +(Section)f(6.6)g([Aliases],)i(page)e(90\).)199 4186 y(3.)61 b(P)m(arses)35 b(the)g(tok)m(ens)g(in)m(to)h(simple)e(and)g(comp)s (ound)f(commands)h(\(see)h(Section)h(3.2)f([Shell)g(Com-)330 -4294 y(mands],)30 b(page)h(8\).)199 4441 y(4.)61 b(P)m(erforms)40 +4296 y(mands],)30 b(page)h(8\).)199 4442 y(4.)61 b(P)m(erforms)40 b(the)h(v)-5 b(arious)40 b(shell)h(expansions)f(\(see)h(Section)g(3.5)g -([Shell)g(Expansions],)h(page)f(21\),)330 4550 y(breaking)35 +([Shell)g(Expansions],)h(page)f(21\),)330 4551 y(breaking)35 b(the)g(expanded)g(tok)m(ens)h(in)m(to)g(lists)f(of)g(\014lenames)h -(\(see)g(Section)f(3.5.8)i([Filename)g(Ex-)330 4660 y(pansion],)30 +(\(see)g(Section)f(3.5.8)i([Filename)g(Ex-)330 4661 y(pansion],)30 b(page)h(30\))h(and)e(commands)g(and)g(argumen)m(ts.)199 -4806 y(5.)61 b(P)m(erforms)36 b(an)m(y)i(necessary)f(redirections)g -(\(see)h(Section)f(3.6)h([Redirections],)i(page)e(31\))g(and)e(re-)330 -4915 y(mo)m(v)m(es)c(the)e(redirection)h(op)s(erators)g(and)f(their)g +4807 y(5.)61 b(P)m(erforms)36 b(an)m(y)i(necessary)f(redirections)g +(\(see)h(Section)f(3.6)h([Redirections],)i(page)e(32\))g(and)e(re-)330 +4916 y(mo)m(v)m(es)c(the)e(redirection)h(op)s(erators)g(and)f(their)g (op)s(erands)f(from)h(the)h(argumen)m(t)f(list.)199 5062 y(6.)61 b(Executes)31 b(the)g(command)f(\(see)h(Section)g(3.7)h -([Executing)f(Commands],)f(page)h(35\).)199 5208 y(7.)61 +([Executing)f(Commands],)f(page)h(36\).)199 5208 y(7.)61 b(Optionally)40 b(w)m(aits)g(for)f(the)g(command)g(to)h(complete)g(and) f(collects)i(its)f(exit)g(status)f(\(see)h(Sec-)330 5317 -y(tion)31 b(3.7.5)h([Exit)f(Status],)g(page)g(38\).)p +y(tion)31 b(3.7.5)h([Exit)f(Status],)g(page)g(39\).)p eop end %%Page: 6 12 TeXDict begin 6 11 bop 150 -116 a Fu(Chapter)30 b(3:)41 @@ -8286,131 +8353,136 @@ y(Quoting)c(can)f(b)s(e)g(used)f(to)j(disable)e(sp)s(ecial)h(treatmen)m (t)h(for)e(sp)s(ecial)h(c)m(haracters,)i(to)e(prev)m(en)m(t)g(reserv)m (ed)150 665 y(w)m(ords)i(from)g(b)s(eing)g(recognized)h(as)g(suc)m(h,)f (and)g(to)h(prev)m(en)m(t)g(parameter)g(expansion.)275 -793 y(Eac)m(h)22 b(of)g(the)g(shell)g(metac)m(haracters)i(\(see)f +795 y(Eac)m(h)22 b(of)g(the)g(shell)g(metac)m(haracters)i(\(see)f (Chapter)e(2)i([De\014nitions],)h(page)f(3\))g(has)e(sp)s(ecial)i -(meaning)150 902 y(to)40 b(the)g(shell)f(and)g(m)m(ust)g(b)s(e)g +(meaning)150 905 y(to)40 b(the)g(shell)f(and)g(m)m(ust)g(b)s(e)g (quoted)g(if)h(it)g(is)f(to)h(represen)m(t)g(itself.)68 -b(When)39 b(the)h(command)f(history)150 1012 y(expansion)i(facilities)j +b(When)39 b(the)h(command)f(history)150 1015 y(expansion)i(facilities)j (are)e(b)s(eing)f(used)g(\(see)h(Section)h(9.3)f([History)h(In)m -(teraction],)j(page)c(135\),)47 b(the)150 1122 y Fr(history)30 +(teraction],)j(page)c(139\),)47 b(the)150 1124 y Fr(history)30 b(expansion)h Fu(c)m(haracter,)h(usually)f(`)p Ft(!)p Fu(',)g(m)m(ust)f(b)s(e)g(quoted)h(to)g(prev)m(en)m(t)g(history)g -(expansion.)41 b(See)150 1231 y(Section)22 b(9.1)g([Bash)f(History)h(F) --8 b(acilities],)26 b(page)c(133,)j(for)20 b(more)h(details)h -(concerning)g(history)f(expansion.)275 1359 y(There)37 +(expansion.)41 b(See)150 1234 y(Section)22 b(9.1)g([Bash)f(History)h(F) +-8 b(acilities],)26 b(page)c(137,)j(for)20 b(more)h(details)h +(concerning)g(history)f(expansion.)275 1364 y(There)37 b(are)h(three)f(quoting)h(mec)m(hanisms:)56 b(the)38 b Fr(escap)s(e)g(c)m(haracter)p Fu(,)j(single)d(quotes,)i(and)d(double) -150 1469 y(quotes.)150 1655 y Fk(3.1.2.1)63 b(Escap)s(e)41 -b(Character)150 1802 y Fu(A)36 b(non-quoted)f(bac)m(kslash)h(`)p +150 1474 y(quotes.)150 1665 y Fk(3.1.2.1)63 b(Escap)s(e)41 +b(Character)150 1812 y Fu(A)36 b(non-quoted)f(bac)m(kslash)h(`)p Ft(\\)p Fu(')g(is)f(the)h(Bash)g(escap)s(e)f(c)m(haracter.)58 b(It)36 b(preserv)m(es)f(the)h(literal)h(v)-5 b(alue)36 -b(of)150 1911 y(the)27 b(next)g(c)m(haracter)h(that)f(follo)m(ws,)i +b(of)150 1921 y(the)27 b(next)g(c)m(haracter)h(that)f(follo)m(ws,)i (with)d(the)h(exception)g(of)g Ft(newline)p Fu(.)38 b(If)26 -b(a)h Ft(\\newline)d Fu(pair)i(app)s(ears,)150 2021 y(and)k(the)h(bac)m +b(a)h Ft(\\newline)d Fu(pair)i(app)s(ears,)150 2031 y(and)k(the)h(bac)m (kslash)g(itself)g(is)g(not)g(quoted,)g(the)f Ft(\\newline)f Fu(is)h(treated)i(as)f(a)g(line)g(con)m(tin)m(uation)h(\(that)150 -2131 y(is,)f(it)g(is)f(remo)m(v)m(ed)h(from)f(the)h(input)e(stream)i -(and)f(e\013ectiv)m(ely)j(ignored\).)150 2317 y Fk(3.1.2.2)63 -b(Single)42 b(Quotes)150 2464 y Fu(Enclosing)24 b(c)m(haracters)h(in)e +2140 y(is,)f(it)g(is)f(remo)m(v)m(ed)h(from)f(the)h(input)e(stream)i +(and)f(e\013ectiv)m(ely)j(ignored\).)150 2331 y Fk(3.1.2.2)63 +b(Single)42 b(Quotes)150 2478 y Fu(Enclosing)24 b(c)m(haracters)h(in)e (single)h(quotes)g(\(`)p Ft(')p Fu('\))g(preserv)m(es)g(the)f(literal)i (v)-5 b(alue)24 b(of)g(eac)m(h)g(c)m(haracter)h(within)150 -2573 y(the)31 b(quotes.)42 b(A)31 b(single)h(quote)f(ma)m(y)g(not)g(o)s +2588 y(the)31 b(quotes.)42 b(A)31 b(single)h(quote)f(ma)m(y)g(not)g(o)s (ccur)g(b)s(et)m(w)m(een)g(single)h(quotes,)f(ev)m(en)h(when)d -(preceded)i(b)m(y)g(a)150 2683 y(bac)m(kslash.)150 2869 -y Fk(3.1.2.3)63 b(Double)42 b(Quotes)150 3016 y Fu(Enclosing)24 +(preceded)i(b)m(y)g(a)150 2697 y(bac)m(kslash.)150 2888 +y Fk(3.1.2.3)63 b(Double)42 b(Quotes)150 3035 y Fu(Enclosing)24 b(c)m(haracters)h(in)f(double)f(quotes)h(\(`)p Ft(")p Fu('\))g(preserv)m(es)g(the)g(literal)h(v)-5 b(alue)24 -b(of)g(all)g(c)m(haracters)h(within)150 3125 y(the)34 +b(of)g(all)g(c)m(haracters)h(within)150 3145 y(the)34 b(quotes,)h(with)f(the)g(exception)h(of)f(`)p Ft($)p Fu(',)h(`)p Ft(`)p Fu(',)g(`)p Ft(\\)p Fu(',)g(and,)f(when)f(history)g -(expansion)h(is)g(enabled,)h(`)p Ft(!)p Fu('.)150 3235 -y(The)25 b(c)m(haracters)h(`)p Ft($)p Fu(')g(and)f(`)p -Ft(`)p Fu(')g(retain)h(their)f(sp)s(ecial)h(meaning)f(within)g(double)g -(quotes)h(\(see)g(Section)g(3.5)150 3345 y([Shell)j(Expansions],)g -(page)h(21\).)41 b(The)28 b(bac)m(kslash)i(retains)f(its)h(sp)s(ecial)f -(meaning)g(only)g(when)f(follo)m(w)m(ed)150 3454 y(b)m(y)41 -b(one)f(of)h(the)g(follo)m(wing)h(c)m(haracters:)63 b(`)p -Ft($)p Fu(',)43 b(`)p Ft(`)p Fu(',)h(`)p Ft(")p Fu(',)g(`)p -Ft(\\)p Fu(',)f(or)e Ft(newline)p Fu(.)69 b(Within)41 -b(double)f(quotes,)150 3564 y(bac)m(kslashes)25 b(that)h(are)f(follo)m -(w)m(ed)h(b)m(y)e(one)h(of)g(these)g(c)m(haracters)h(are)f(remo)m(v)m -(ed.)40 b(Bac)m(kslashes)26 b(preceding)150 3673 y(c)m(haracters)35 -b(without)e(a)h(sp)s(ecial)f(meaning)h(are)f(left)h(unmo)s(di\014ed.)47 -b(A)34 b(double)f(quote)g(ma)m(y)h(b)s(e)f(quoted)150 -3783 y(within)h(double)h(quotes)g(b)m(y)g(preceding)g(it)g(with)g(a)g -(bac)m(kslash.)55 b(If)35 b(enabled,)h(history)f(expansion)g(will)150 -3892 y(b)s(e)f(p)s(erformed)g(unless)g(an)h(`)p Ft(!)p -Fu(')g(app)s(earing)f(in)h(double)f(quotes)i(is)f(escap)s(ed)g(using)f -(a)h(bac)m(kslash.)55 b(The)150 4002 y(bac)m(kslash)31 -b(preceding)f(the)h(`)p Ft(!)p Fu(')f(is)h(not)g(remo)m(v)m(ed.)275 -4130 y(The)41 b(sp)s(ecial)h(parameters)f(`)p Ft(*)p -Fu(')h(and)f(`)p Ft(@)p Fu(')h(ha)m(v)m(e)g(sp)s(ecial)g(meaning)g -(when)f(in)g(double)g(quotes)h(\(see)150 4240 y(Section)31 -b(3.5.3)h([Shell)f(P)m(arameter)h(Expansion],)e(page)h(23\).)150 -4426 y Fk(3.1.2.4)63 b(ANSI-C)40 b(Quoting)150 4573 y -Fu(W)-8 b(ords)43 b(of)f(the)h(form)f Ft($')p Fj(string)p -Ft(')e Fu(are)j(treated)g(sp)s(ecially)-8 b(.)79 b(The)42 -b(w)m(ord)g(expands)f(to)j Fr(string)p Fu(,)h(with)150 -4682 y(bac)m(kslash-escap)s(ed)f(c)m(haracters)h(replaced)f(as)g(sp)s -(eci\014ed)f(b)m(y)g(the)g(ANSI)g(C)g(standard.)79 b(Bac)m(kslash)150 -4792 y(escap)s(e)31 b(sequences,)g(if)f(presen)m(t,)h(are)g(deco)s(ded) -f(as)g(follo)m(ws:)150 4938 y Ft(\\a)384 b Fu(alert)31 -b(\(b)s(ell\))150 5084 y Ft(\\b)384 b Fu(bac)m(kspace)150 -5230 y Ft(\\e)150 5340 y(\\E)g Fu(an)30 b(escap)s(e)h(c)m(haracter)h -(\(not)f(ANSI)f(C\))p eop end +(expansion)h(is)g(enabled,)h(`)p Ft(!)p Fu('.)150 3254 +y(When)e(the)h(shell)g(is)g(in)f Fm(posix)g Fu(mo)s(de)g(\(see)i +(Section)f(6.11)i([Bash)e(POSIX)e(Mo)s(de],)k(page)e(96\),)i(the)e(`)p +Ft(!)p Fu(')150 3364 y(has)28 b(no)g(sp)s(ecial)h(meaning)g(within)f +(double)g(quotes,)h(ev)m(en)g(when)f(history)g(expansion)g(is)g +(enabled.)40 b(The)150 3474 y(c)m(haracters)h(`)p Ft($)p +Fu(')e(and)g(`)p Ft(`)p Fu(')g(retain)h(their)f(sp)s(ecial)h(meaning)f +(within)g(double)g(quotes)h(\(see)g(Section)g(3.5)150 +3583 y([Shell)29 b(Expansions],)g(page)h(21\).)41 b(The)28 +b(bac)m(kslash)i(retains)f(its)h(sp)s(ecial)f(meaning)g(only)g(when)f +(follo)m(w)m(ed)150 3693 y(b)m(y)41 b(one)f(of)h(the)g(follo)m(wing)h +(c)m(haracters:)63 b(`)p Ft($)p Fu(',)43 b(`)p Ft(`)p +Fu(',)h(`)p Ft(")p Fu(',)g(`)p Ft(\\)p Fu(',)f(or)e Ft(newline)p +Fu(.)69 b(Within)41 b(double)f(quotes,)150 3802 y(bac)m(kslashes)25 +b(that)h(are)f(follo)m(w)m(ed)h(b)m(y)e(one)h(of)g(these)g(c)m +(haracters)h(are)f(remo)m(v)m(ed.)40 b(Bac)m(kslashes)26 +b(preceding)150 3912 y(c)m(haracters)35 b(without)e(a)h(sp)s(ecial)f +(meaning)h(are)f(left)h(unmo)s(di\014ed.)47 b(A)34 b(double)f(quote)g +(ma)m(y)h(b)s(e)f(quoted)150 4022 y(within)h(double)h(quotes)g(b)m(y)g +(preceding)g(it)g(with)g(a)g(bac)m(kslash.)55 b(If)35 +b(enabled,)h(history)f(expansion)g(will)150 4131 y(b)s(e)f(p)s +(erformed)g(unless)g(an)h(`)p Ft(!)p Fu(')g(app)s(earing)f(in)h(double) +f(quotes)i(is)f(escap)s(ed)g(using)f(a)h(bac)m(kslash.)55 +b(The)150 4241 y(bac)m(kslash)31 b(preceding)f(the)h(`)p +Ft(!)p Fu(')f(is)h(not)g(remo)m(v)m(ed.)275 4371 y(The)41 +b(sp)s(ecial)h(parameters)f(`)p Ft(*)p Fu(')h(and)f(`)p +Ft(@)p Fu(')h(ha)m(v)m(e)g(sp)s(ecial)g(meaning)g(when)f(in)g(double)g +(quotes)h(\(see)150 4481 y(Section)31 b(3.5.3)h([Shell)f(P)m(arameter)h +(Expansion],)e(page)h(23\).)150 4672 y Fk(3.1.2.4)63 +b(ANSI-C)40 b(Quoting)150 4819 y Fu(W)-8 b(ords)43 b(of)f(the)h(form)f +Ft($')p Fj(string)p Ft(')e Fu(are)j(treated)g(sp)s(ecially)-8 +b(.)79 b(The)42 b(w)m(ord)g(expands)f(to)j Fr(string)p +Fu(,)h(with)150 4928 y(bac)m(kslash-escap)s(ed)f(c)m(haracters)h +(replaced)f(as)g(sp)s(eci\014ed)f(b)m(y)g(the)g(ANSI)g(C)g(standard.)79 +b(Bac)m(kslash)150 5038 y(escap)s(e)31 b(sequences,)g(if)f(presen)m(t,) +h(are)g(deco)s(ded)f(as)g(follo)m(ws:)150 5189 y Ft(\\a)384 +b Fu(alert)31 b(\(b)s(ell\))150 5340 y Ft(\\b)384 b Fu(bac)m(kspace)p +eop end %%Page: 7 13 TeXDict begin 7 12 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Basic)32 b(Shell)e(F)-8 b(eatures)2292 b(7)150 299 -y Ft(\\f)384 b Fu(form)30 b(feed)150 488 y Ft(\\n)384 -b Fu(newline)150 678 y Ft(\\r)g Fu(carriage)32 b(return)150 -868 y Ft(\\t)384 b Fu(horizon)m(tal)32 b(tab)150 1057 -y Ft(\\v)384 b Fu(v)m(ertical)32 b(tab)150 1247 y Ft(\\\\)384 -b Fu(bac)m(kslash)150 1436 y Ft(\\')g Fu(single)31 b(quote)150 -1626 y Ft(\\")384 b Fu(double)30 b(quote)150 1816 y Ft(\\)p -Fj(nnn)288 b Fu(the)31 b(eigh)m(t-bit)h(c)m(haracter)g(whose)e(v)-5 -b(alue)31 b(is)f(the)h(o)s(ctal)g(v)-5 b(alue)31 b Fr(nnn)e -Fu(\(one)i(to)g(three)g(digits\))150 2005 y Ft(\\x)p -Fj(HH)288 b Fu(the)36 b(eigh)m(t-bit)i(c)m(haracter)f(whose)f(v)-5 -b(alue)36 b(is)g(the)g(hexadecimal)h(v)-5 b(alue)36 b -Fr(HH)46 b Fu(\(one)37 b(or)f(t)m(w)m(o)630 2115 y(hex)30 -b(digits\))150 2304 y Ft(\\u)p Fj(HHHH)192 b Fu(the)33 -b(Unico)s(de)f(\(ISO/IEC)g(10646\))j(c)m(haracter)f(whose)e(v)-5 -b(alue)33 b(is)g(the)g(hexadecimal)g(v)-5 b(alue)630 -2414 y Fr(HHHH)41 b Fu(\(one)31 b(to)g(four)f(hex)g(digits\))150 -2604 y Ft(\\U)p Fj(HHHHHHHH)630 2713 y Fu(the)j(Unico)s(de)f(\(ISO/IEC) +y Ft(\\e)150 408 y(\\E)384 b Fu(an)30 b(escap)s(e)h(c)m(haracter)h +(\(not)f(ANSI)f(C\))150 572 y Ft(\\f)384 b Fu(form)30 +b(feed)150 735 y Ft(\\n)384 b Fu(newline)150 898 y Ft(\\r)g +Fu(carriage)32 b(return)150 1061 y Ft(\\t)384 b Fu(horizon)m(tal)32 +b(tab)150 1224 y Ft(\\v)384 b Fu(v)m(ertical)32 b(tab)150 +1387 y Ft(\\\\)384 b Fu(bac)m(kslash)150 1551 y Ft(\\')g +Fu(single)31 b(quote)150 1714 y Ft(\\")384 b Fu(double)30 +b(quote)150 1877 y Ft(\\?)384 b Fu(question)31 b(mark)150 +2040 y Ft(\\)p Fj(nnn)288 b Fu(the)31 b(eigh)m(t-bit)h(c)m(haracter)g +(whose)e(v)-5 b(alue)31 b(is)f(the)h(o)s(ctal)g(v)-5 +b(alue)31 b Fr(nnn)e Fu(\(one)i(to)g(three)g(digits\))150 +2203 y Ft(\\x)p Fj(HH)288 b Fu(the)36 b(eigh)m(t-bit)i(c)m(haracter)f +(whose)f(v)-5 b(alue)36 b(is)g(the)g(hexadecimal)h(v)-5 +b(alue)36 b Fr(HH)46 b Fu(\(one)37 b(or)f(t)m(w)m(o)630 +2313 y(hex)30 b(digits\))150 2476 y Ft(\\u)p Fj(HHHH)192 +b Fu(the)33 b(Unico)s(de)f(\(ISO/IEC)g(10646\))j(c)m(haracter)f(whose)e +(v)-5 b(alue)33 b(is)g(the)g(hexadecimal)g(v)-5 b(alue)630 +2586 y Fr(HHHH)41 b Fu(\(one)31 b(to)g(four)f(hex)g(digits\))150 +2749 y Ft(\\U)p Fj(HHHHHHHH)630 2858 y Fu(the)j(Unico)s(de)f(\(ISO/IEC) g(10646\))j(c)m(haracter)f(whose)e(v)-5 b(alue)33 b(is)g(the)g -(hexadecimal)g(v)-5 b(alue)630 2823 y Fr(HHHHHHHH)42 -b Fu(\(one)31 b(to)g(eigh)m(t)g(hex)g(digits\))150 3012 +(hexadecimal)g(v)-5 b(alue)630 2968 y Fr(HHHHHHHH)42 +b Fu(\(one)31 b(to)g(eigh)m(t)g(hex)g(digits\))150 3131 y Ft(\\c)p Fj(x)336 b Fu(a)31 b(con)m(trol-)p Fr(x)38 -b Fu(c)m(haracter)150 3217 y(The)30 b(expanded)f(result)i(is)f +b Fu(c)m(haracter)150 3296 y(The)30 b(expanded)f(result)i(is)f (single-quoted,)i(as)f(if)f(the)g(dollar)h(sign)g(had)e(not)i(b)s(een)f -(presen)m(t.)150 3446 y Fk(3.1.2.5)63 b(Lo)s(cale-Sp)s(eci\014c)41 -b(T)-10 b(ranslation)150 3593 y Fu(A)28 b(double-quoted)g(string)f +(presen)m(t.)150 3499 y Fk(3.1.2.5)63 b(Lo)s(cale-Sp)s(eci\014c)41 +b(T)-10 b(ranslation)150 3646 y Fu(A)28 b(double-quoted)g(string)f (preceded)h(b)m(y)f(a)h(dollar)h(sign)e(\(`)p Ft($)p Fu('\))i(will)f(cause)g(the)g(string)g(to)g(b)s(e)f(translated)150 -3703 y(according)f(to)f(the)g(curren)m(t)g(lo)s(cale.)41 +3756 y(according)f(to)f(the)g(curren)m(t)g(lo)s(cale.)41 b(If)24 b(the)h(curren)m(t)g(lo)s(cale)h(is)f Ft(C)g Fu(or)g Ft(POSIX)p Fu(,)f(the)h(dollar)h(sign)f(is)g(ignored.)150 -3813 y(If)30 b(the)g(string)h(is)f(translated)h(and)f(replaced,)h(the)g -(replacemen)m(t)h(is)e(double-quoted.)275 3977 y(Some)20 +3865 y(If)30 b(the)g(string)h(is)f(translated)h(and)f(replaced,)h(the)g +(replacemen)m(t)h(is)e(double-quoted.)275 4004 y(Some)20 b(systems)h(use)f(the)h(message)h(catalog)h(selected)f(b)m(y)f(the)g Ft(LC_MESSAGES)c Fu(shell)k(v)-5 b(ariable.)39 b(Others)150 -4087 y(create)g(the)e(name)g(of)g(the)g(message)h(catalog)i(from)d(the) +4113 y(create)g(the)e(name)g(of)g(the)g(message)h(catalog)i(from)d(the) g(v)-5 b(alue)37 b(of)g(the)h Ft(TEXTDOMAIN)c Fu(shell)j(v)-5 -b(ariable,)150 4196 y(p)s(ossibly)31 b(adding)g(a)g(su\016x)g(of)h(`)p +b(ariable,)150 4223 y(p)s(ossibly)31 b(adding)g(a)g(su\016x)g(of)h(`)p Ft(.mo)p Fu('.)43 b(If)31 b(y)m(ou)h(use)f(the)h Ft(TEXTDOMAIN)c Fu(v)-5 b(ariable,)33 b(y)m(ou)f(ma)m(y)g(need)f(to)h(set)150 -4306 y(the)22 b Ft(TEXTDOMAINDIR)d Fu(v)-5 b(ariable)23 +4332 y(the)22 b Ft(TEXTDOMAINDIR)d Fu(v)-5 b(ariable)23 b(to)g(the)f(lo)s(cation)i(of)e(the)h(message)g(catalog)i(\014les.)38 -b(Still)23 b(others)f(use)g(b)s(oth)150 4416 y(v)-5 b(ariables)31 +b(Still)23 b(others)f(use)g(b)s(oth)150 4442 y(v)-5 b(ariables)31 b(in)f(this)g(fashion:)41 b Ft(TEXTDOMAINDIR)p Fu(/)p -Ft(LC_MESSAGES)p Fu(/LC)p 2528 4416 28 4 v 34 w(MESSA)m(GES/)p +Ft(LC_MESSAGES)p Fu(/LC)p 2528 4442 28 4 v 34 w(MESSA)m(GES/)p Ft(TEXTDOMAIN)p Fu(.mo.)150 4645 y Fk(3.1.3)63 b(Commen)m(ts)150 4792 y Fu(In)21 b(a)i(non-in)m(teractiv)m(e)h(shell,)g(or)e(an)g(in)m (teractiv)m(e)j(shell)d(in)g(whic)m(h)g(the)g Ft(interactive_comments) 16 b Fu(option)150 4902 y(to)40 b(the)f Ft(shopt)e Fu(builtin)h(is)h (enabled)g(\(see)h(Section)g(4.3.2)g([The)f(Shopt)f(Builtin],)k(page)e -(62\),)i(a)d(w)m(ord)150 5011 y(b)s(eginning)26 b(with)g(`)p +(64\),)i(a)d(w)m(ord)150 5011 y(b)s(eginning)26 b(with)g(`)p Ft(#)p Fu(')g(causes)h(that)f(w)m(ord)g(and)g(all)h(remaining)g(c)m (haracters)g(on)f(that)h(line)g(to)g(b)s(e)f(ignored.)150 5121 y(An)43 b(in)m(teractiv)m(e)j(shell)e(without)f(the)g @@ -8418,7 +8490,7 @@ Ft(interactive_comments)38 b Fu(option)44 b(enabled)f(do)s(es)g(not)g (allo)m(w)150 5230 y(commen)m(ts.)56 b(The)34 b Ft (interactive_comments)c Fu(option)35 b(is)g(on)g(b)m(y)g(default)g(in)g (in)m(teractiv)m(e)j(shells.)55 b(See)150 5340 y(Section)30 -b(6.3)f([In)m(teractiv)m(e)j(Shells],)d(page)h(83,)g(for)e(a)i +b(6.3)f([In)m(teractiv)m(e)j(Shells],)d(page)h(85,)g(for)e(a)i (description)e(of)h(what)g(mak)m(es)h(a)f(shell)g(in)m(teractiv)m(e.)p eop end %%Page: 8 14 @@ -8444,17 +8516,17 @@ b(page)e(3\).)54 b(The)35 b(\014rst)e(w)m(ord)i(generally)g(sp)s (eci\014es)g(a)g(command)f(to)h(b)s(e)f(executed,)j(with)150 1600 y(the)31 b(rest)f(of)h(the)f(w)m(ords)g(b)s(eing)g(that)h (command's)f(argumen)m(ts.)275 1736 y(The)h(return)h(status)g(\(see)i -(Section)f(3.7.5)h([Exit)f(Status],)h(page)f(38\))g(of)g(a)g(simple)f +(Section)f(3.7.5)h([Exit)f(Status],)h(page)f(39\))g(of)g(a)g(simple)f (command)g(is)h(its)150 1846 y(exit)38 b(status)f(as)g(pro)m(vided)f(b) m(y)h(the)g Fm(posix)f Fu(1003.1)j Ft(waitpid)c Fu(function,)j(or)f (128)p Ft(+)p Fr(n)g Fu(if)g(the)g(command)150 1956 y(w)m(as)31 b(terminated)g(b)m(y)f(signal)h Fr(n)p Fu(.)150 2157 -y Fk(3.2.2)63 b(Pip)s(elines)150 2304 y Fu(A)35 b Ft(pipeline)e -Fu(is)j(a)f(sequence)h(of)f(simple)g(commands)g(separated)h(b)m(y)f -(one)g(of)h(the)f(con)m(trol)i(op)s(erators)150 2413 -y(`)p Ft(|)p Fu(')31 b(or)f(`)p Ft(|&)p Fu('.)275 2550 -y(The)f(format)i(for)f(a)h(pip)s(eline)f(is)390 2686 -y Ft([time)46 b([-p]])h([!])g Fj(command1)e Ft([)j(|)f(or)g(|&)g +y Fk(3.2.2)63 b(Pip)s(elines)150 2304 y Fu(A)21 b Ft(pipeline)d +Fu(is)j(a)g(sequence)g(of)g(one)g(or)g(more)g(commands)f(separated)h(b) +m(y)g(one)g(of)g(the)g(con)m(trol)h(op)s(erators)150 +2413 y(`)p Ft(|)p Fu(')31 b(or)f(`)p Ft(|&)p Fu('.)275 +2550 y(The)f(format)i(for)f(a)h(pip)s(eline)f(is)390 +2686 y Ft([time)46 b([-p]])h([!])g Fj(command1)e Ft([)j(|)f(or)g(|&)g Fj(command2)f Ft(])h(...)150 2822 y Fu(The)25 b(output)f(of)i(eac)m(h)g (command)f(in)f(the)i(pip)s(eline)e(is)i(connected)g(via)f(a)h(pip)s(e) e(to)i(the)f(input)f(of)h(the)h(next)150 2932 y(command.)40 @@ -8479,21 +8551,21 @@ h(it)150 3752 y(\014nishes.)51 b(The)34 b(statistics)i(curren)m(tly)e (output)g(format)g(to)150 3971 y(that)j(sp)s(eci\014ed)e(b)m(y)h Fm(posix)p Fu(.)49 b(When)33 b(the)g(shell)g(is)h(in)e Fm(posix)h Fu(mo)s(de)g(\(see)h(Section)g(6.11)g([Bash)g(POSIX)150 -4081 y(Mo)s(de],)40 b(page)f(94\),)i(it)d(do)s(es)f(not)h(recognize)i +4081 y(Mo)s(de],)40 b(page)f(96\),)i(it)d(do)s(es)f(not)h(recognize)i Ft(time)c Fu(as)i(a)g(reserv)m(ed)g(w)m(ord)f(if)h(the)g(next)g(tok)m (en)g(b)s(egins)150 4191 y(with)33 b(a)g(`)p Ft(-)p Fu('.)49 b(The)33 b Ft(TIMEFORMAT)d Fu(v)-5 b(ariable)34 b(ma)m(y)g(b)s(e)f(set) g(to)h(a)g(format)f(string)g(that)h(sp)s(eci\014es)f(ho)m(w)g(the)150 4300 y(timing)38 b(information)g(should)e(b)s(e)h(displa)m(y)m(ed.)62 b(See)38 b(Section)g(5.2)g([Bash)g(V)-8 b(ariables],)41 -b(page)d(69,)i(for)e(a)150 4410 y(description)27 b(of)g(the)h(a)m(v)-5 +b(page)d(71,)i(for)e(a)150 4410 y(description)27 b(of)g(the)h(a)m(v)-5 b(ailable)29 b(formats.)40 b(The)26 b(use)h(of)g Ft(time)f Fu(as)i(a)f(reserv)m(ed)g(w)m(ord)g(p)s(ermits)f(the)h(timing)150 4519 y(of)38 b(shell)g(builtins,)i(shell)e(functions,)i(and)d(pip)s (elines.)63 b(An)38 b(external)h Ft(time)e Fu(command)h(cannot)g(time) 150 4629 y(these)31 b(easily)-8 b(.)275 4765 y(When)29 b(the)h(shell)h(is)f(in)f Fm(posix)g Fu(mo)s(de)h(\(see)h(Section)f -(6.11)i([Bash)e(POSIX)f(Mo)s(de],)i(page)g(94\),)g Ft(time)150 +(6.11)i([Bash)e(POSIX)f(Mo)s(de],)i(page)g(96\),)g Ft(time)150 4875 y Fu(ma)m(y)26 b(b)s(e)f(follo)m(w)m(ed)j(b)m(y)d(a)h(newline.)39 b(In)25 b(this)h(case,)i(the)d(shell)h(displa)m(ys)g(the)g(total)h (user)e(and)g(system)h(time)150 4984 y(consumed)33 b(b)m(y)h(the)h @@ -8509,12 +8581,12 @@ TeXDict begin 9 14 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Basic)32 b(Shell)e(F)-8 b(eatures)2292 b(9)275 299 y(Eac)m(h)25 b(command)g(in)g(a)g(pip)s(eline)g(is)g(executed)h(in)f (its)g(o)m(wn)h(subshell)e(\(see)i(Section)g(3.7.3)h([Command)150 -408 y(Execution)36 b(En)m(vironmen)m(t],)i(page)e(36\).)58 +408 y(Execution)36 b(En)m(vironmen)m(t],)i(page)e(37\).)58 b(The)36 b(exit)g(status)g(of)g(a)g(pip)s(eline)g(is)f(the)h(exit)h (status)f(of)g(the)150 518 y(last)27 b(command)f(in)f(the)i(pip)s (eline,)f(unless)g(the)g Ft(pipefail)e Fu(option)i(is)g(enabled)g (\(see)h(Section)g(4.3.1)h([The)150 628 y(Set)34 b(Builtin],)j(page)e -(58\).)53 b(If)34 b Ft(pipefail)e Fu(is)i(enabled,)h(the)g(pip)s +(60\).)53 b(If)34 b Ft(pipefail)e Fu(is)i(enabled,)h(the)g(pip)s (eline's)f(return)f(status)h(is)h(the)f(v)-5 b(alue)35 b(of)150 737 y(the)d(last)h(\(righ)m(tmost\))h(command)e(to)h(exit)g (with)e(a)i(non-zero)f(status,)h(or)f(zero)h(if)f(all)h(commands)f @@ -8543,10 +8615,10 @@ Ft(&)p Fu(',)h(the)e(shell)h(executes)h(the)f(command)150 b(is)h(kno)m(wn)f(as)h(executing)h(the)f(command)g(in)f(the)h Fr(bac)m(kground)p Fu(.)150 2355 y(The)f(shell)h(do)s(es)f(not)h(w)m (ait)g(for)f(the)h(command)f(to)i(\014nish,)d(and)h(the)h(return)e -(status)i(is)g(0)g(\(true\).)40 b(When)150 2464 y(job)g(con)m(trol)h -(is)g(not)f(activ)m(e)i(\(see)f(Chapter)f(7)h([Job)f(Con)m(trol],)j -(page)e(97\),)j(the)d(standard)e(input)g(for)150 2574 -y(async)m(hronous)k(commands,)k(in)d(the)f(absence)i(of)f(an)m(y)g +(status)i(is)g(0)g(\(true\).)40 b(When)150 2464 y(job)d(con)m(trol)i +(is)e(not)g(activ)m(e)j(\(see)e(Chapter)f(7)g([Job)g(Con)m(trol],)j +(page)e(100\),)j(the)d(standard)e(input)g(for)150 2574 +y(async)m(hronous)43 b(commands,)k(in)d(the)f(absence)i(of)f(an)m(y)g (explicit)h(redirections,)j(is)43 b(redirected)h(from)150 2684 y Ft(/dev/null)p Fu(.)275 2816 y(Commands)19 b(separated)j(b)m(y)f (a)g(`)p Ft(;)p Fu(')g(are)h(executed)g(sequen)m(tially;)k(the)21 @@ -8575,7 +8647,7 @@ b(Eac)m(h)35 b(construct)g(b)s(egins)f(with)150 4659 y(a)k(reserv)m(ed)f(w)m(ord)h(or)f(con)m(trol)i(op)s(erator)f(and)f(is) g(terminated)h(b)m(y)f(a)h(corresp)s(onding)f(reserv)m(ed)g(w)m(ord)150 4769 y(or)44 b(op)s(erator.)81 b(An)m(y)44 b(redirections)g(\(see)h -(Section)g(3.6)g([Redirections],)j(page)d(31\))g(asso)s(ciated)g(with) +(Section)g(3.6)g([Redirections],)j(page)d(32\))g(asso)s(ciated)g(with) 150 4878 y(a)g(comp)s(ound)e(command)i(apply)f(to)h(all)h(commands)e (within)g(that)h(comp)s(ound)e(command)i(unless)150 4988 y(explicitly)32 b(o)m(v)m(erridden.)275 5121 y(In)20 @@ -8638,7 +8710,7 @@ Fj(commands)e Ft(;)j(done)630 3794 y Fu(First,)38 b(the)f(arithmetic)h (expression)e Fr(expr1)43 b Fu(is)36 b(ev)-5 b(aluated)38 b(according)f(to)g(the)g(rules)f(de-)630 3904 y(scrib)s(ed)41 b(b)s(elo)m(w)h(\(see)h(Section)g(6.5)g([Shell)g(Arithmetic],)j(page)d -(87\).)77 b(The)42 b(arithmetic)630 4014 y(expression)33 +(89\).)77 b(The)42 b(arithmetic)630 4014 y(expression)33 b Fr(expr2)41 b Fu(is)34 b(then)f(ev)-5 b(aluated)35 b(rep)s(eatedly)f(un)m(til)g(it)g(ev)-5 b(aluates)35 b(to)g(zero.)51 b(Eac)m(h)630 4123 y(time)23 b Fr(expr2)30 @@ -8652,7 +8724,7 @@ b(is)f(the)g(exit)h(status)g(of)f(the)g(last)h(command)f(in)630 4452 y Fr(commands)j Fu(that)d(is)f(executed,)i(or)e(false)h(if)f(an)m (y)h(of)g(the)f(expressions)g(is)h(in)m(v)-5 b(alid.)275 4613 y(The)26 b Ft(break)g Fu(and)h Ft(continue)e Fu(builtins)i(\(see)h -(Section)h(4.1)f([Bourne)g(Shell)f(Builtins],)i(page)f(41\))g(ma)m(y) +(Section)h(4.1)f([Bourne)g(Shell)f(Builtins],)i(page)f(42\))g(ma)m(y) 150 4723 y(b)s(e)i(used)f(to)i(con)m(trol)h(lo)s(op)f(execution.)150 4923 y Fk(3.2.4.2)63 b(Conditional)42 b(Constructs)150 5095 y Ft(if)384 b Fu(The)30 b(syn)m(tax)h(of)f(the)h @@ -8687,10 +8759,10 @@ Ft([|)h Fj(pattern)p Ft(]...)m(\))g Fj(command-list)e Ft(;;]...)h(esac)630 1933 y(case)20 b Fu(will)i(selectiv)m(ely)j (execute)e(the)e Fr(command-list)k Fu(corresp)s(onding)20 b(to)i(the)g(\014rst)f Fr(pattern)630 2042 y Fu(that)42 -b(matc)m(hes)g Fr(w)m(ord)p Fu(.)73 b(If)41 b(the)g(shell)g(option)h -Ft(nocasematch)c Fu(\(see)k(the)g(description)f(of)630 +b(matc)m(hes)g Fr(w)m(ord)p Fu(.)73 b(If)41 b(the)g Ft(nocasematch)d +Fu(shell)j(option)h(\(see)g(the)g(description)f(of)630 2152 y Ft(shopt)34 b Fu(in)h(Section)h(4.3.2)h([The)e(Shopt)f -(Builtin],)k(page)e(62\))g(is)g(enabled,)g(the)g(matc)m(h)g(is)630 +(Builtin],)k(page)e(64\))g(is)g(enabled,)g(the)g(matc)m(h)g(is)630 2262 y(p)s(erformed)29 b(without)i(regard)g(to)g(the)g(case)h(of)f (alphab)s(etic)g(c)m(haracters.)44 b(The)30 b(`)p Ft(|)p Fu(')h(is)g(used)630 2371 y(to)e(separate)g(m)m(ultiple)g(patterns,)g @@ -8781,13 +8853,13 @@ b(fname)g(in)i(*;)870 2675 y(do)870 2785 y(echo)f(you)g(picked)f Ft(\)\))630 3425 y Fu(The)33 b(arithmetic)i Fr(expression)f Fu(is)f(ev)-5 b(aluated)35 b(according)g(to)f(the)g(rules)f(describ)s (ed)g(b)s(elo)m(w)630 3535 y(\(see)j(Section)f(6.5)h([Shell)f -(Arithmetic],)i(page)f(87\).)55 b(If)34 b(the)h(v)-5 +(Arithmetic],)i(page)f(89\).)55 b(If)34 b(the)h(v)-5 b(alue)35 b(of)g(the)g(expression)g(is)630 3644 y(non-zero,)27 b(the)f(return)e(status)i(is)g(0;)h(otherwise)f(the)g(return)e(status)i (is)g(1.)39 b(This)25 b(is)g(exactly)630 3754 y(equiv)-5 b(alen)m(t)32 b(to)870 3886 y Ft(let)47 b(")p Fj(expression)p Ft(")630 4019 y Fu(See)25 b(Section)h(4.2)h([Bash)e(Builtins],)i(page)f -(48,)i(for)c(a)i(full)f(description)g(of)g(the)h Ft(let)e +(49,)i(for)c(a)i(full)f(description)g(of)g(the)h Ft(let)e Fu(builtin.)150 4175 y Ft([[...)o(]])870 4308 y([[)47 b Fj(expression)e Ft(]])630 4440 y Fu(Return)25 b(a)h(status)f(of)h(0)g (or)g(1)g(dep)s(ending)e(on)h(the)h(ev)-5 b(aluation)27 @@ -8795,7 +8867,7 @@ b(of)e(the)h(conditional)h(expres-)630 4550 y(sion)j Fr(expression)p Fu(.)41 b(Expressions)29 b(are)i(comp)s(osed)f(of)g (the)h(primaries)f(describ)s(ed)f(b)s(elo)m(w)h(in)630 4659 y(Section)36 b(6.4)h([Bash)f(Conditional)g(Expressions],)h(page)f -(85.)57 b(W)-8 b(ord)36 b(splitting)h(and)e(\014le-)630 +(87.)57 b(W)-8 b(ord)36 b(splitting)h(and)e(\014le-)630 4769 y(name)d(expansion)g(are)h(not)g(p)s(erformed)d(on)j(the)f(w)m (ords)g(b)s(et)m(w)m(een)h(the)f Ft([[)g Fu(and)f Ft(]])p Fu(;)i(tilde)630 4879 y(expansion,)e(parameter)g(and)f(v)-5 @@ -8816,13 +8888,13 @@ Fu(')g(op)s(erators)h(are)g(used,)g(the)g(string)f(to)i(the)e(righ)m(t) h(of)g(the)g(op)s(erator)630 408 y(is)31 b(considered)g(a)h(pattern)f (and)g(matc)m(hed)h(according)g(to)g(the)g(rules)f(describ)s(ed)f(b)s (elo)m(w)h(in)630 518 y(Section)d(3.5.8.1)h([P)m(attern)f(Matc)m -(hing],)h(page)f(30,)g(as)f(if)g(the)g Ft(extglob)d Fu(shell)j(option)g +(hing],)h(page)f(31,)g(as)f(if)g(the)g Ft(extglob)d Fu(shell)j(option)g (w)m(ere)630 628 y(enabled.)46 b(The)31 b(`)p Ft(=)p Fu(')h(op)s(erator)h(is)f(iden)m(tical)h(to)g(`)p Ft(==)p -Fu('.)46 b(If)31 b(the)h(shell)h(option)f Ft(nocasematch)630 -737 y Fu(\(see)42 b(the)f(description)g(of)h Ft(shopt)d +Fu('.)46 b(If)31 b(the)h Ft(nocasematch)d Fu(shell)j(option)630 +737 y(\(see)42 b(the)f(description)g(of)h Ft(shopt)d Fu(in)i(Section)h(4.3.2)h([The)e(Shopt)f(Builtin],)45 -b(page)d(62\))630 847 y(is)e(enabled,)i(the)e(matc)m(h)h(is)e(p)s +b(page)d(64\))630 847 y(is)e(enabled,)i(the)e(matc)m(h)h(is)e(p)s (erformed)g(without)g(regard)h(to)h(the)f(case)g(of)g(alphab)s(etic)630 956 y(c)m(haracters.)h(The)28 b(return)e(v)-5 b(alue)28 b(is)g(0)g(if)g(the)g(string)g(matc)m(hes)h(\(`)p Ft(==)p @@ -8842,9 +8914,9 @@ b(is)g(0)g(if)f(the)h(string)g(matc)m(hes)g(the)g(pattern,)g(and)f(1)h (otherwise.)41 b(If)29 b(the)630 1755 y(regular)e(expression)g(is)h (syn)m(tactically)i(incorrect,)f(the)e(conditional)i(expression's)e (return)630 1864 y(v)-5 b(alue)40 b(is)g(2.)68 b(If)39 -b(the)h(shell)f(option)h Ft(nocasematch)d Fu(\(see)j(the)g(description) +b(the)h Ft(nocasematch)c Fu(shell)k(option)g(\(see)g(the)g(description) g(of)f Ft(shopt)f Fu(in)630 1974 y(Section)32 b(4.3.2)g([The)f(Shopt)f -(Builtin],)i(page)g(62\))g(is)f(enabled,)g(the)g(matc)m(h)h(is)e(p)s +(Builtin],)i(page)g(64\))g(is)f(enabled,)g(the)g(matc)m(h)h(is)e(p)s (erformed)630 2084 y(without)36 b(regard)g(to)h(the)f(case)h(of)f (alphab)s(etic)h(c)m(haracters.)59 b(An)m(y)36 b(part)g(of)h(the)f (pattern)630 2193 y(ma)m(y)31 b(b)s(e)f(quoted)h(to)g(force)g(the)g @@ -8909,1918 +8981,2006 @@ y(slashes)27 b(are)g(used)f(b)s(oth)g(b)m(y)h(the)f(shell)h(and)f (regular)h(expressions)g(to)g(remo)m(v)m(e)h(the)f(sp)s(ecial)630 408 y(meaning)h(from)f(the)h(follo)m(wing)i(c)m(haracter.)41 b(The)27 b(follo)m(wing)j(t)m(w)m(o)f(sets)f(of)g(commands)g(are)630 -518 y Fl(not)40 b Fu(equiv)-5 b(alen)m(t:)870 655 y Ft(pattern='\\.') -870 874 y([[)47 b(.)h(=~)f($pattern)e(]])870 984 y([[)i(.)h(=~)f(\\.)g -(]])870 1203 y([[)g(.)h(=~)f("$pattern")e(]])870 1313 -y([[)i(.)h(=~)f('\\.')f(]])630 1450 y Fu(The)28 b(\014rst)h(t)m(w)m(o)h +518 y Fl(not)40 b Fu(equiv)-5 b(alen)m(t:)870 649 y Ft(pattern='\\.') +870 868 y([[)47 b(.)h(=~)f($pattern)e(]])870 978 y([[)i(.)h(=~)f(\\.)g +(]])870 1197 y([[)g(.)h(=~)f("$pattern")e(]])870 1307 +y([[)i(.)h(=~)f('\\.')f(]])630 1438 y Fu(The)28 b(\014rst)h(t)m(w)m(o)h (matc)m(hes)g(will)f(succeed,)h(but)f(the)g(second)g(t)m(w)m(o)h(will)f -(not,)h(b)s(ecause)f(in)g(the)630 1559 y(second)39 b(t)m(w)m(o)i(the)e +(not,)h(b)s(ecause)f(in)g(the)630 1547 y(second)39 b(t)m(w)m(o)i(the)e (bac)m(kslash)h(will)f(b)s(e)g(part)g(of)g(the)h(pattern)f(to)h(b)s(e)e -(matc)m(hed.)68 b(In)39 b(the)630 1669 y(\014rst)31 b(t)m(w)m(o)h +(matc)m(hed.)68 b(In)39 b(the)630 1657 y(\014rst)31 b(t)m(w)m(o)h (examples,)h(the)e(bac)m(kslash)h(remo)m(v)m(es)h(the)f(sp)s(ecial)g -(meaning)f(from)g(`)p Ft(.)p Fu(',)h(so)g(the)630 1779 +(meaning)f(from)g(`)p Ft(.)p Fu(',)h(so)g(the)630 1766 y(literal)f(`)p Ft(.)p Fu(')e(matc)m(hes.)42 b(If)28 b(the)i(string)f(in)g(the)g(\014rst)g(examples)g(w)m(ere)h(an)m(ything) -g(other)f(than)630 1888 y(`)p Ft(.)p Fu(',)g(sa)m(y)g(`)p +g(other)f(than)630 1876 y(`)p Ft(.)p Fu(',)g(sa)m(y)g(`)p Ft(a)p Fu(',)g(the)f(pattern)g(w)m(ould)g(not)h(matc)m(h,)h(b)s(ecause) e(the)g(quoted)g(`)p Ft(.)p Fu(')h(in)e(the)i(pattern)630 -1998 y(loses)i(its)g(sp)s(ecial)g(meaning)f(of)h(matc)m(hing)g(an)m(y)g -(single)g(c)m(haracter.)630 2135 y(Expressions)23 b(ma)m(y)h(b)s(e)e +1986 y(loses)i(its)g(sp)s(ecial)g(meaning)f(of)h(matc)m(hing)g(an)m(y)g +(single)g(c)m(haracter.)630 2116 y(Expressions)23 b(ma)m(y)h(b)s(e)e (com)m(bined)i(using)f(the)h(follo)m(wing)h(op)s(erators,)g(listed)f -(in)f(decreasing)630 2244 y(order)30 b(of)g(precedence:)630 -2409 y Ft(\()g Fj(expression)e Ft(\))1110 2519 y Fu(Returns)i(the)h(v) +(in)f(decreasing)630 2226 y(order)30 b(of)g(precedence:)630 +2378 y Ft(\()g Fj(expression)e Ft(\))1110 2488 y Fu(Returns)i(the)h(v) -5 b(alue)31 b(of)g Fr(expression)p Fu(.)42 b(This)30 b(ma)m(y)i(b)s(e)e(used)g(to)i(o)m(v)m(erride)g(the)1110 -2628 y(normal)e(precedence)h(of)g(op)s(erators.)630 2793 -y Ft(!)f Fj(expression)1110 2902 y Fu(T)-8 b(rue)30 b(if)g -Fr(expression)g Fu(is)h(false.)630 3067 y Fj(expression1)c -Ft(&&)j Fj(expression2)1110 3177 y Fu(T)-8 b(rue)30 b(if)g(b)s(oth)g +2598 y(normal)e(precedence)h(of)g(op)s(erators.)630 2750 +y Ft(!)f Fj(expression)1110 2860 y Fu(T)-8 b(rue)30 b(if)g +Fr(expression)g Fu(is)h(false.)630 3012 y Fj(expression1)c +Ft(&&)j Fj(expression2)1110 3122 y Fu(T)-8 b(rue)30 b(if)g(b)s(oth)g Fr(expression1)38 b Fu(and)29 b Fr(expression2)38 b Fu(are)31 -b(true.)630 3341 y Fj(expression1)c Ft(||)j Fj(expression2)1110 -3451 y Fu(T)-8 b(rue)30 b(if)g(either)h Fr(expression1)38 +b(true.)630 3274 y Fj(expression1)c Ft(||)j Fj(expression2)1110 +3384 y Fu(T)-8 b(rue)30 b(if)g(either)h Fr(expression1)38 b Fu(or)30 b Fr(expression2)38 b Fu(is)30 b(true.)630 -3615 y(The)24 b Ft(&&)h Fu(and)f Ft(||)g Fu(op)s(erators)h(do)g(not)g +3536 y(The)24 b Ft(&&)h Fu(and)f Ft(||)g Fu(op)s(erators)h(do)g(not)g (ev)-5 b(aluate)27 b Fr(expression2)32 b Fu(if)25 b(the)g(v)-5 -b(alue)25 b(of)g Fr(expression1)630 3725 y Fu(is)30 b(su\016cien)m(t)h +b(alue)25 b(of)g Fr(expression1)630 3646 y Fu(is)30 b(su\016cien)m(t)h (to)g(determine)g(the)f(return)g(v)-5 b(alue)31 b(of)f(the)h(en)m(tire) -g(conditional)h(expression.)150 3929 y Fk(3.2.4.3)63 -b(Grouping)43 b(Commands)150 4076 y Fu(Bash)30 b(pro)m(vides)g(t)m(w)m +g(conditional)h(expression.)150 3838 y Fk(3.2.4.3)63 +b(Grouping)43 b(Commands)150 3985 y Fu(Bash)30 b(pro)m(vides)g(t)m(w)m (o)h(w)m(a)m(ys)f(to)h(group)e(a)h(list)g(of)g(commands)f(to)i(b)s(e)e -(executed)h(as)g(a)h(unit.)40 b(When)29 b(com-)150 4186 +(executed)h(as)g(a)h(unit.)40 b(When)29 b(com-)150 4094 y(mands)h(are)i(group)s(ed,)f(redirections)h(ma)m(y)g(b)s(e)e(applied)i (to)g(the)f(en)m(tire)h(command)g(list.)44 b(F)-8 b(or)32 -b(example,)150 4296 y(the)f(output)f(of)g(all)h(the)g(commands)f(in)g +b(example,)150 4204 y(the)f(output)f(of)g(all)h(the)g(commands)f(in)g (the)h(list)g(ma)m(y)g(b)s(e)e(redirected)i(to)g(a)g(single)g(stream.) -150 4463 y Ft(\(\))870 4600 y(\()47 b Fj(list)g Ft(\))630 -4737 y Fu(Placing)30 b(a)f(list)g(of)g(commands)f(b)s(et)m(w)m(een)i +150 4356 y Ft(\(\))870 4487 y(\()47 b Fj(list)g Ft(\))630 +4618 y Fu(Placing)30 b(a)f(list)g(of)g(commands)f(b)s(et)m(w)m(een)i (paren)m(theses)e(causes)i(a)f(subshell)e(en)m(vironmen)m(t)630 -4847 y(to)k(b)s(e)e(created)j(\(see)f(Section)g(3.7.3)h([Command)d -(Execution)i(En)m(vironmen)m(t],)g(page)f(36\),)630 4956 +4728 y(to)k(b)s(e)e(created)j(\(see)f(Section)g(3.7.3)h([Command)d +(Execution)i(En)m(vironmen)m(t],)g(page)f(37\),)630 4837 y(and)d(eac)m(h)h(of)g(the)f(commands)g(in)g Fr(list)j Fu(to)f(b)s(e)d(executed)j(in)e(that)h(subshell.)38 b(Since)28 -b(the)f Fr(list)630 5066 y Fu(is)i(executed)g(in)f(a)h(subshell,)g(v)-5 +b(the)f Fr(list)630 4947 y Fu(is)i(executed)g(in)f(a)h(subshell,)g(v)-5 b(ariable)29 b(assignmen)m(ts)g(do)g(not)g(remain)f(in)g(e\013ect)j -(after)e(the)630 5175 y(subshell)g(completes.)150 5340 -y Ft({})p eop end +(after)e(the)630 5057 y(subshell)g(completes.)150 5209 +y Ft({})870 5340 y({)47 b Fj(list)p Ft(;)g(})p eop end %%Page: 15 21 TeXDict begin 15 20 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(15)870 299 -y Ft({)47 b Fj(list)p Ft(;)g(})630 434 y Fu(Placing)30 -b(a)g(list)g(of)g(commands)f(b)s(et)m(w)m(een)h(curly)f(braces)g -(causes)h(the)f(list)h(to)g(b)s(e)f(executed)630 544 -y(in)d(the)h(curren)m(t)g(shell)f(con)m(text.)42 b(No)27 -b(subshell)f(is)g(created.)41 b(The)26 b(semicolon)i(\(or)f(newline\)) -630 653 y(follo)m(wing)32 b Fr(list)h Fu(is)d(required.)275 -815 y(In)44 b(addition)h(to)h(the)f(creation)i(of)e(a)g(subshell,)j +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(15)630 299 +y(Placing)30 b(a)g(list)g(of)g(commands)f(b)s(et)m(w)m(een)h(curly)f +(braces)g(causes)h(the)f(list)h(to)g(b)s(e)f(executed)630 +408 y(in)d(the)h(curren)m(t)g(shell)f(con)m(text.)42 +b(No)27 b(subshell)f(is)g(created.)41 b(The)26 b(semicolon)i(\(or)f +(newline\))630 518 y(follo)m(wing)32 b Fr(list)h Fu(is)d(required.)275 +668 y(In)44 b(addition)h(to)h(the)f(creation)i(of)e(a)g(subshell,)j (there)e(is)f(a)g(subtle)g(di\013erence)h(b)s(et)m(w)m(een)f(these)150 -925 y(t)m(w)m(o)c(constructs)e(due)g(to)g(historical)i(reasons.)67 +778 y(t)m(w)m(o)c(constructs)e(due)g(to)g(historical)i(reasons.)67 b(The)39 b(braces)g(are)h Ft(reserved)28 b(words)p Fu(,)40 -b(so)g(they)f(m)m(ust)150 1034 y(b)s(e)d(separated)h(from)f(the)g +b(so)g(they)f(m)m(ust)150 887 y(b)s(e)d(separated)h(from)f(the)g Fr(list)j Fu(b)m(y)e Ft(blank)p Fu(s)e(or)h(other)h(shell)f(metac)m -(haracters.)62 b(The)36 b(paren)m(theses)h(are)150 1144 +(haracters.)62 b(The)36 b(paren)m(theses)h(are)150 997 y Ft(operators)p Fu(,)23 b(and)h(are)g(recognized)i(as)e(separate)i (tok)m(ens)f(b)m(y)f(the)g(shell)h(ev)m(en)g(if)f(they)g(are)h(not)f -(separated)150 1254 y(from)30 b(the)g Fr(list)j Fu(b)m(y)e(whitespace.) -275 1390 y(The)e(exit)j(status)e(of)h(b)s(oth)f(of)g(these)h +(separated)150 1107 y(from)30 b(the)g Fr(list)j Fu(b)m(y)e(whitespace.) +275 1236 y(The)e(exit)j(status)e(of)h(b)s(oth)f(of)g(these)h (constructs)g(is)f(the)h(exit)g(status)f(of)h Fr(list)p -Fu(.)150 1591 y Fk(3.2.5)63 b(Copro)s(cesses)150 1738 +Fu(.)150 1426 y Fk(3.2.5)63 b(Copro)s(cesses)150 1573 y Fu(A)37 b Ft(coprocess)c Fu(is)k(a)g(shell)f(command)h(preceded)f(b)m (y)g(the)h Ft(coproc)d Fu(reserv)m(ed)j(w)m(ord.)59 b(A)36 -b(copro)s(cess)h(is)150 1847 y(executed)g(async)m(hronously)g(in)f(a)h +b(copro)s(cess)h(is)150 1683 y(executed)g(async)m(hronously)g(in)f(a)h (subshell,)g(as)g(if)g(the)f(command)h(had)f(b)s(een)f(terminated)i -(with)g(the)150 1957 y(`)p Ft(&)p Fu(')d(con)m(trol)h(op)s(erator,)g +(with)g(the)150 1793 y(`)p Ft(&)p Fu(')d(con)m(trol)h(op)s(erator,)g (with)f(a)g(t)m(w)m(o-w)m(a)m(y)i(pip)s(e)d(established)h(b)s(et)m(w)m -(een)h(the)f(executing)h(shell)f(and)f(the)150 2066 y(copro)s(cess.)275 -2203 y(The)c(format)i(for)f(a)h(copro)s(cess)g(is:)390 -2339 y Ft(coproc)46 b([)p Fj(NAME)p Ft(])g Fj(command)g -Ft([)p Fj(redirections)p Ft(])150 2475 y Fu(This)39 b(creates)j(a)e +(een)h(the)f(executing)h(shell)f(and)f(the)150 1902 y(copro)s(cess.)275 +2032 y(The)c(format)i(for)f(a)h(copro)s(cess)g(is:)390 +2162 y Ft(coproc)46 b([)p Fj(NAME)p Ft(])g Fj(command)g +Ft([)p Fj(redirections)p Ft(])150 2292 y Fu(This)39 b(creates)j(a)e (copro)s(cess)h(named)f Fr(NAME)p Fu(.)70 b(If)40 b Fr(NAME)46 b Fu(is)40 b(not)g(supplied,)i(the)e(default)h(name)f(is)150 -2584 y Fr(COPR)m(OC)p Fu(.)d Fr(NAME)28 b Fu(m)m(ust)23 +2401 y Fr(COPR)m(OC)p Fu(.)d Fr(NAME)28 b Fu(m)m(ust)23 b(not)g(b)s(e)e(supplied)h(if)g Fr(command)k Fu(is)d(a)g(simple)f -(command)g(\(see)i(Section)f(3.2.1)150 2694 y([Simple)39 +(command)g(\(see)i(Section)f(3.2.1)150 2511 y([Simple)39 b(Commands],)h(page)g(8\);)k(otherwise,)e(it)d(is)g(in)m(terpreted)h (as)f(the)g(\014rst)f(w)m(ord)h(of)g(the)g(simple)150 -2804 y(command.)275 2940 y(When)j(the)i(copro)s(cess)f(is)g(executed,) +2621 y(command.)275 2750 y(When)j(the)i(copro)s(cess)f(is)g(executed,) 48 b(the)43 b(shell)g(creates)i(an)e(arra)m(y)g(v)-5 -b(ariable)44 b(\(see)g(Section)g(6.7)150 3049 y([Arra)m(ys],)32 -b(page)g(89\))h(named)e Ft(NAME)f Fu(in)h(the)h(con)m(text)h(of)e(the)h +b(ariable)44 b(\(see)g(Section)g(6.7)150 2860 y([Arra)m(ys],)32 +b(page)g(91\))h(named)e Ft(NAME)f Fu(in)h(the)h(con)m(text)h(of)e(the)h (executing)g(shell.)44 b(The)31 b(standard)f(output)150 -3159 y(of)g Fr(command)j Fu(is)d(connected)g(via)g(a)g(pip)s(e)f(to)i +2970 y(of)g Fr(command)j Fu(is)d(connected)g(via)g(a)g(pip)s(e)f(to)i (a)f(\014le)g(descriptor)f(in)g(the)h(executing)h(shell,)f(and)g(that)g -(\014le)150 3269 y(descriptor)i(is)f(assigned)h(to)g +(\014le)150 3079 y(descriptor)i(is)f(assigned)h(to)g Ft(NAME)p Fu([0].)45 b(The)31 b(standard)g(input)f(of)i Fr(command)j Fu(is)d(connected)h(via)f(a)g(pip)s(e)150 -3378 y(to)39 b(a)g(\014le)f(descriptor)g(in)g(the)g(executing)i(shell,) +3189 y(to)39 b(a)g(\014le)f(descriptor)g(in)g(the)g(executing)i(shell,) g(and)e(that)h(\014le)f(descriptor)g(is)g(assigned)h(to)g -Ft(NAME)p Fu([1].)150 3488 y(This)31 b(pip)s(e)g(is)h(established)g(b)s +Ft(NAME)p Fu([1].)150 3298 y(This)31 b(pip)s(e)g(is)h(established)g(b)s (efore)g(an)m(y)g(redirections)g(sp)s(eci\014ed)g(b)m(y)f(the)i -(command)e(\(see)i(Section)g(3.6)150 3597 y([Redirections],)25 -b(page)e(31\).)39 b(The)21 b(\014le)h(descriptors)g(can)g(b)s(e)f +(command)e(\(see)i(Section)g(3.6)150 3408 y([Redirections],)25 +b(page)e(32\).)39 b(The)21 b(\014le)h(descriptors)g(can)g(b)s(e)f (utilized)i(as)f(argumen)m(ts)h(to)f(shell)g(commands)150 -3707 y(and)33 b(redirections)g(using)g(standard)f(w)m(ord)h +3518 y(and)33 b(redirections)g(using)g(standard)f(w)m(ord)h (expansions.)49 b(The)33 b(\014le)g(descriptors)g(are)g(not)h(a)m(v)-5 -b(ailable)35 b(in)150 3817 y(subshells.)275 3953 y(The)27 +b(ailable)35 b(in)150 3627 y(subshells.)275 3757 y(The)27 b(pro)s(cess)h(ID)h(of)f(the)h(shell)f(spa)m(wned)g(to)h(execute)h(the) e(copro)s(cess)h(is)f(a)m(v)-5 b(ailable)31 b(as)d(the)h(v)-5 -b(alue)29 b(of)150 4062 y(the)k(v)-5 b(ariable)33 b Ft(NAME)p -850 4062 28 4 v 39 w Fu(PID.)g(The)f Ft(wait)f Fu(builtin)h(command)g +b(alue)29 b(of)150 3867 y(the)k(v)-5 b(ariable)33 b Ft(NAME)p +850 3867 28 4 v 39 w Fu(PID.)g(The)f Ft(wait)f Fu(builtin)h(command)g (ma)m(y)h(b)s(e)f(used)g(to)h(w)m(ait)h(for)e(the)h(copro)s(cess)150 -4172 y(to)e(terminate.)275 4308 y(Since)20 b(the)g(copro)s(cess)h(is)g +3976 y(to)e(terminate.)275 4106 y(Since)20 b(the)g(copro)s(cess)h(is)g (created)g(as)g(an)f(async)m(hronous)g(command,)i(the)f -Ft(coproc)d Fu(command)i(alw)m(a)m(ys)150 4418 y(returns)29 +Ft(coproc)d Fu(command)i(alw)m(a)m(ys)150 4216 y(returns)29 b(success.)41 b(The)30 b(return)f(status)i(of)f(a)h(copro)s(cess)g(is)f -(the)h(exit)g(status)g(of)f Fr(command)p Fu(.)150 4619 -y Fk(3.2.6)63 b(GNU)41 b(P)m(arallel)150 4765 y Fu(There)30 +(the)h(exit)g(status)g(of)f Fr(command)p Fu(.)150 4406 +y Fk(3.2.6)63 b(GNU)41 b(P)m(arallel)150 4553 y Fu(There)30 b(are)h(w)m(a)m(ys)g(to)g(run)f(commands)g(in)g(parallel)h(that)h(are)e (not)h(built)g(in)m(to)g(Bash.)41 b(GNU)31 b(P)m(arallel)i(is)150 -4875 y(a)e(to)s(ol)g(to)g(do)f(just)g(that.)275 5011 +4662 y(a)e(to)s(ol)g(to)g(do)f(just)g(that.)275 4792 y(GNU)e(P)m(arallel,)i(as)e(its)g(name)f(suggests,)j(can)d(b)s(e)g (used)g(to)h(build)f(and)g(run)f(commands)h(in)h(parallel.)150 -5121 y(Y)-8 b(ou)41 b(ma)m(y)g(run)e(the)h(same)h(command)f(with)g +4902 y(Y)-8 b(ou)41 b(ma)m(y)g(run)e(the)h(same)h(command)f(with)g (di\013eren)m(t)h(argumen)m(ts,)j(whether)39 b(they)i(are)g -(\014lenames,)150 5230 y(usernames,)27 b(hostnames,)h(or)e(lines)h +(\014lenames,)150 5011 y(usernames,)27 b(hostnames,)h(or)e(lines)h (read)f(from)h(\014les.)39 b(GNU)27 b(P)m(arallel)i(pro)m(vides)d -(shorthand)g(references)150 5340 y(to)38 b(man)m(y)g(of)g(the)g(most)g +(shorthand)g(references)150 5121 y(to)38 b(man)m(y)g(of)g(the)g(most)g (common)g(op)s(erations)g(\(input)f(lines,)j(v)-5 b(arious)38 -b(p)s(ortions)f(of)h(the)g(input)e(line,)p eop end +b(p)s(ortions)f(of)h(the)g(input)e(line,)150 5230 y(di\013eren)m(t)f(w) +m(a)m(ys)h(to)f(sp)s(ecify)f(the)h(input)f(source,)i(and)e(so)h(on\).) +54 b(P)m(arallel)36 b(can)f(replace)h Ft(xargs)d Fu(or)i(feed)150 +5340 y(commands)30 b(from)g(its)h(input)e(sources)h(to)i(sev)m(eral)f +(di\013eren)m(t)g(instances)g(of)g(Bash.)p eop end %%Page: 16 22 TeXDict begin 16 21 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(16)150 299 -y(di\013eren)m(t)35 b(w)m(a)m(ys)h(to)f(sp)s(ecify)f(the)h(input)f -(source,)i(and)e(so)h(on\).)54 b(P)m(arallel)36 b(can)f(replace)h -Ft(xargs)d Fu(or)i(feed)150 408 y(commands)30 b(from)g(its)h(input)e -(sources)h(to)i(sev)m(eral)f(di\013eren)m(t)g(instances)g(of)g(Bash.) -275 553 y(F)-8 b(or)33 b(a)g(complete)h(description,)g(refer)e(to)i -(the)f(GNU)g(P)m(arallel)i(do)s(cumen)m(tation.)48 b(A)33 -b(few)f(examples)150 663 y(should)d(pro)m(vide)i(a)g(brief)e(in)m(tro)s -(duction)i(to)g(its)g(use.)275 807 y(F)-8 b(or)37 b(example,)i(it)e(is) -f(easy)h(to)g(replace)h Ft(xargs)d Fu(to)i(gzip)g(all)g(h)m(tml)g -(\014les)f(in)h(the)f(curren)m(t)g(directory)150 917 -y(and)30 b(its)h(sub)s(directories:)390 1061 y Ft(find)47 -b(.)g(-type)f(f)i(-name)e('*.html')g(-print)g(|)h(parallel)f(gzip)150 -1205 y Fu(If)30 b(y)m(ou)h(need)f(to)h(protect)h(sp)s(ecial)f(c)m -(haracters)g(suc)m(h)g(as)f(newlines)h(in)f(\014le)g(names,)h(use)f -(\014nd's)f Ft(-print0)150 1315 y Fu(option)i(and)f(parallel's)h -Ft(-0)f Fu(option.)275 1460 y(Y)-8 b(ou)34 b(can)g(use)f(P)m(arallel)j -(to)e(mo)m(v)m(e)h(\014les)f(from)f(the)h(curren)m(t)f(directory)h -(when)f(the)h(n)m(um)m(b)s(er)e(of)i(\014les)150 1569 -y(is)c(to)s(o)i(large)f(to)g(pro)s(cess)f(with)g(one)h -Ft(mv)f Fu(in)m(v)m(o)s(cation:)390 1714 y Ft(ls)47 b(|)h(parallel)d -(mv)i({})h(destdir)275 1858 y Fu(As)28 b(y)m(ou)h(can)g(see,)g(the)g -Fi({})g Fu(is)g(replaced)g(with)f(eac)m(h)i(line)f(read)f(from)g -(standard)g(input.)39 b(While)29 b(using)150 1968 y Ft(ls)g -Fu(will)h(w)m(ork)g(in)f(most)h(instances,)h(it)f(is)g(not)g -(su\016cien)m(t)g(to)h(deal)f(with)f(all)i(\014lenames.)40 -b(If)30 b(y)m(ou)g(need)f(to)150 2077 y(accommo)s(date)j(sp)s(ecial)f -(c)m(haracters)h(in)e(\014lenames,)h(y)m(ou)f(can)h(use)390 -2222 y Ft(find)47 b(.)g(-depth)f(1)i(\\!)f(-name)f('.*')h(-print0)f(|)h -(parallel)f(-0)h(mv)g({})g(destdir)150 2366 y Fu(as)31 -b(alluded)f(to)h(ab)s(o)m(v)m(e.)275 2511 y(This)e(will)i(run)e(as)h -(man)m(y)h Ft(mv)e Fu(commands)h(as)h(there)f(are)h(\014les)f(in)h(the) -f(curren)m(t)g(directory)-8 b(.)42 b(Y)-8 b(ou)31 b(can)150 -2620 y(em)m(ulate)h(a)f(parallel)g Ft(xargs)e Fu(b)m(y)h(adding)g(the)h -Ft(-X)f Fu(option:)390 2765 y Ft(find)47 b(.)g(-depth)f(1)i(\\!)f -(-name)f('.*')h(-print0)f(|)h(parallel)f(-0)h(-X)g(mv)g({})g(destdir) -275 2909 y Fu(GNU)31 b(P)m(arallel)i(can)e(replace)h(certain)g(common)g -(idioms)f(that)g(op)s(erate)h(on)f(lines)g(read)g(from)f(a)i(\014le)150 -3019 y(\(in)e(this)h(case,)g(\014lenames)g(listed)g(one)f(p)s(er)g -(line\):)390 3163 y Ft(while)46 b(IFS=)h(read)g(-r)g(x;)g(do)390 -3273 y(do-something1)d("$x")j("config-$x")390 3382 y(do-something2)d(<) -k("$x")390 3492 y(done)f(<)g(file)g(|)g(process-output)150 -3636 y Fu(with)30 b(a)h(more)f(compact)i(syn)m(tax)f(reminiscen)m(t)g -(of)g(lam)m(b)s(das:)390 3781 y Ft(cat)47 b(list)g(|)g(parallel)f +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(16)275 299 +y(F)-8 b(or)33 b(a)g(complete)h(description,)g(refer)e(to)i(the)f(GNU)g +(P)m(arallel)i(do)s(cumen)m(tation.)48 b(A)33 b(few)f(examples)150 +408 y(should)d(pro)m(vide)i(a)g(brief)e(in)m(tro)s(duction)i(to)g(its)g +(use.)275 541 y(F)-8 b(or)37 b(example,)i(it)e(is)f(easy)h(to)g +(replace)h Ft(xargs)d Fu(to)i(gzip)g(all)g(h)m(tml)g(\014les)f(in)h +(the)f(curren)m(t)g(directory)150 650 y(and)30 b(its)h(sub)s +(directories:)390 783 y Ft(find)47 b(.)g(-type)f(f)i(-name)e('*.html')g +(-print)g(|)h(parallel)f(gzip)150 915 y Fu(If)30 b(y)m(ou)h(need)f(to)h +(protect)h(sp)s(ecial)f(c)m(haracters)g(suc)m(h)g(as)f(newlines)h(in)f +(\014le)g(names,)h(use)f(\014nd's)f Ft(-print0)150 1025 +y Fu(option)i(and)f(parallel's)h Ft(-0)f Fu(option.)275 +1157 y(Y)-8 b(ou)34 b(can)g(use)f(P)m(arallel)j(to)e(mo)m(v)m(e)h +(\014les)f(from)f(the)h(curren)m(t)f(directory)h(when)f(the)h(n)m(um)m +(b)s(er)e(of)i(\014les)150 1267 y(is)c(to)s(o)i(large)f(to)g(pro)s +(cess)f(with)g(one)h Ft(mv)f Fu(in)m(v)m(o)s(cation:)390 +1399 y Ft(ls)47 b(|)h(parallel)d(mv)i({})h(destdir)275 +1532 y Fu(As)28 b(y)m(ou)h(can)g(see,)g(the)g Fi({})g +Fu(is)g(replaced)g(with)f(eac)m(h)i(line)f(read)f(from)g(standard)g +(input.)39 b(While)29 b(using)150 1641 y Ft(ls)g Fu(will)h(w)m(ork)g +(in)f(most)h(instances,)h(it)f(is)g(not)g(su\016cien)m(t)g(to)h(deal)f +(with)f(all)i(\014lenames.)40 b(If)30 b(y)m(ou)g(need)f(to)150 +1751 y(accommo)s(date)j(sp)s(ecial)f(c)m(haracters)h(in)e(\014lenames,) +h(y)m(ou)f(can)h(use)390 1883 y Ft(find)47 b(.)g(-depth)f(1)i(\\!)f +(-name)f('.*')h(-print0)f(|)h(parallel)f(-0)h(mv)g({})g(destdir)150 +2016 y Fu(as)31 b(alluded)f(to)h(ab)s(o)m(v)m(e.)275 +2148 y(This)e(will)i(run)e(as)h(man)m(y)h Ft(mv)e Fu(commands)h(as)h +(there)f(are)h(\014les)f(in)h(the)f(curren)m(t)g(directory)-8 +b(.)42 b(Y)-8 b(ou)31 b(can)150 2258 y(em)m(ulate)h(a)f(parallel)g +Ft(xargs)e Fu(b)m(y)h(adding)g(the)h Ft(-X)f Fu(option:)390 +2390 y Ft(find)47 b(.)g(-depth)f(1)i(\\!)f(-name)f('.*')h(-print0)f(|)h +(parallel)f(-0)h(-X)g(mv)g({})g(destdir)275 2523 y Fu(GNU)31 +b(P)m(arallel)i(can)e(replace)h(certain)g(common)g(idioms)f(that)g(op)s +(erate)h(on)f(lines)g(read)g(from)f(a)i(\014le)150 2632 +y(\(in)e(this)h(case,)g(\014lenames)g(listed)g(one)f(p)s(er)g(line\):) +390 2765 y Ft(while)46 b(IFS=)h(read)g(-r)g(x;)g(do)390 +2874 y(do-something1)d("$x")j("config-$x")390 2984 y(do-something2)d(<) +k("$x")390 3093 y(done)f(<)g(file)g(|)g(process-output)150 +3226 y Fu(with)30 b(a)h(more)f(compact)i(syn)m(tax)f(reminiscen)m(t)g +(of)g(lam)m(b)s(das:)390 3358 y Ft(cat)47 b(list)g(|)g(parallel)f ("do-something1)d({})48 b(config-{})d(;)i(do-something2)e(<)i({}")g(|)g -(process-output)275 3925 y Fu(P)m(arallel)31 b(pro)m(vides)e(a)h +(process-output)275 3491 y Fu(P)m(arallel)31 b(pro)m(vides)e(a)h (built-in)g(mec)m(hanism)g(to)g(remo)m(v)m(e)h(\014lename)e -(extensions,)i(whic)m(h)e(lends)g(itself)150 4035 y(to)i(batc)m(h)g -(\014le)g(transformations)f(or)g(renaming:)390 4179 y +(extensions,)i(whic)m(h)e(lends)g(itself)150 3600 y(to)i(batc)m(h)g +(\014le)g(transformations)f(or)g(renaming:)390 3733 y Ft(ls)47 b(*.gz)g(|)g(parallel)f(-j+0)g("zcat)h({})g(|)g(bzip2)g -(>{.}.bz2)e(&&)j(rm)f({}")150 4324 y Fu(This)28 b(will)i(recompress)e +(>{.}.bz2)e(&&)j(rm)f({}")150 3865 y Fu(This)28 b(will)i(recompress)e (all)i(\014les)f(in)g(the)g(curren)m(t)g(directory)g(with)g(names)g -(ending)f(in)h(.gz)h(using)f(bzip2,)150 4433 y(running)37 +(ending)f(in)h(.gz)h(using)f(bzip2,)150 3975 y(running)37 b(one)i(job)f(p)s(er)f(CPU)h(\(-j)p Ft(+)p Fu(0\))i(in)e(parallel.)66 b(\(W)-8 b(e)40 b(use)e Ft(ls)g Fu(for)h(brevit)m(y)g(here;)j(using)c -Ft(find)g Fu(as)150 4543 y(ab)s(o)m(v)m(e)e(is)g(more)f(robust)f(in)h +Ft(find)g Fu(as)150 4084 y(ab)s(o)m(v)m(e)e(is)g(more)f(robust)f(in)h (the)h(face)g(of)f(\014lenames)h(con)m(taining)g(unexp)s(ected)f(c)m -(haracters.\))57 b(P)m(arallel)150 4653 y(can)31 b(tak)m(e)h(argumen)m +(haracters.\))57 b(P)m(arallel)150 4194 y(can)31 b(tak)m(e)h(argumen)m (ts)e(from)g(the)h(command)f(line;)h(the)f(ab)s(o)m(v)m(e)i(can)f(also) -g(b)s(e)f(written)g(as)390 4797 y Ft(parallel)46 b("zcat)g({})h(|)h -(bzip2)e(>{.}.bz2)f(&&)j(rm)f({}")g(:::)g(*.gz)275 4941 +g(b)s(e)f(written)g(as)390 4326 y Ft(parallel)46 b("zcat)g({})h(|)h +(bzip2)e(>{.}.bz2)f(&&)j(rm)f({}")g(:::)g(*.gz)275 4459 y Fu(If)24 b(a)i(command)f(generates)h(output,)g(y)m(ou)g(ma)m(y)f(w)m (an)m(t)h(to)g(preserv)m(e)g(the)f(input)f(order)h(in)g(the)g(output.) -150 5051 y(F)-8 b(or)31 b(instance,)g(the)g(follo)m(wing)h(command)390 -5196 y Ft({)47 b(echo)g(foss.org.my)e(;)i(echo)g(debian.org;)e(echo)h +150 4568 y(F)-8 b(or)31 b(instance,)g(the)g(follo)m(wing)h(command)390 +4701 y Ft({)47 b(echo)g(foss.org.my)e(;)i(echo)g(debian.org;)e(echo)h (freenetproject.org;)d(})k(|)h(parallel)d(traceroute)150 -5340 y Fu(will)31 b(displa)m(y)f(as)h(output)f(the)g(traceroute)i(in)m +4833 y Fu(will)31 b(displa)m(y)f(as)h(output)f(the)g(traceroute)i(in)m (v)m(o)s(cation)h(that)e(\014nishes)e(\014rst.)40 b(Adding)30 -b(the)g Ft(-k)g Fu(option)p eop end +b(the)g Ft(-k)g Fu(option)390 4966 y Ft({)47 b(echo)g(foss.org.my)e(;)i +(echo)g(debian.org;)e(echo)h(freenetproject.org;)d(})k(|)h(parallel)d +(-k)i(traceroute)150 5098 y Fu(will)31 b(ensure)e(that)i(the)g(output)f +(of)g Ft(traceroute)e(foss.org.my)f Fu(is)k(displa)m(y)m(ed)g(\014rst.) +275 5230 y(Finally)-8 b(,)31 b(P)m(arallel)h(can)e(b)s(e)f(used)g(to)i +(run)d(a)i(sequence)h(of)f(shell)g(commands)f(in)h(parallel,)h(similar) +f(to)150 5340 y(`)p Ft(cat)g(file)f(|)h(bash)p Fu('.)53 +b(It)35 b(is)g(not)g(uncommon)f(to)i(tak)m(e)g(a)f(list)h(of)f +(\014lenames,)h(create)g(a)g(series)f(of)g(shell)p eop +end %%Page: 17 23 TeXDict begin 17 22 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(17)390 299 -y Ft({)47 b(echo)g(foss.org.my)e(;)i(echo)g(debian.org;)e(echo)h -(freenetproject.org;)d(})k(|)h(parallel)d(-k)i(traceroute)150 -430 y Fu(will)31 b(ensure)e(that)i(the)g(output)f(of)g -Ft(traceroute)e(foss.org.my)f Fu(is)k(displa)m(y)m(ed)g(\014rst.)275 -560 y(Finally)-8 b(,)31 b(P)m(arallel)h(can)e(b)s(e)f(used)g(to)i(run)d -(a)i(sequence)h(of)f(shell)g(commands)f(in)h(parallel,)h(similar)f(to) -150 670 y(`)p Ft(cat)g(file)f(|)h(bash)p Fu('.)53 b(It)35 -b(is)g(not)g(uncommon)f(to)i(tak)m(e)g(a)f(list)h(of)f(\014lenames,)h -(create)g(a)g(series)f(of)g(shell)150 779 y(commands)27 -b(to)h(op)s(erate)h(on)e(them,)h(and)f(feed)h(that)g(list)g(of)g -(commnds)e(to)j(a)f(shell.)40 b(P)m(arallel)29 b(can)f(sp)s(eed)150 -889 y(this)i(up.)40 b(Assuming)30 b(that)h Ft(file)e -Fu(con)m(tains)i(a)g(list)g(of)g(shell)f(commands,)h(one)f(p)s(er)g -(line,)390 1020 y Ft(parallel)46 b(-j)h(10)g(<)g(file)150 -1150 y Fu(will)37 b(ev)-5 b(aluate)38 b(the)f(commands)f(using)g(the)h +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(17)150 299 +y(commands)27 b(to)h(op)s(erate)h(on)e(them,)h(and)f(feed)h(that)g +(list)g(of)g(commnds)e(to)j(a)f(shell.)40 b(P)m(arallel)29 +b(can)f(sp)s(eed)150 408 y(this)i(up.)40 b(Assuming)30 +b(that)h Ft(file)e Fu(con)m(tains)i(a)g(list)g(of)g(shell)f(commands,)h +(one)f(p)s(er)g(line,)390 540 y Ft(parallel)46 b(-j)h(10)g(<)g(file)150 +672 y Fu(will)37 b(ev)-5 b(aluate)38 b(the)f(commands)f(using)g(the)h (shell)g(\(since)g(no)f(explicit)i(command)e(is)h(supplied)e(as)i(an) -150 1260 y(argumen)m(t\),)31 b(in)f(blo)s(c)m(ks)h(of)g(ten)f(shell)h -(jobs)f(at)h(a)g(time.)150 1484 y Fs(3.3)68 b(Shell)45 -b(F)-11 b(unctions)150 1644 y Fu(Shell)35 b(functions)h(are)g(a)g(w)m +150 781 y(argumen)m(t\),)31 b(in)f(blo)s(c)m(ks)h(of)g(ten)f(shell)h +(jobs)f(at)h(a)g(time.)150 1016 y Fs(3.3)68 b(Shell)45 +b(F)-11 b(unctions)150 1175 y Fu(Shell)35 b(functions)h(are)g(a)g(w)m (a)m(y)g(to)h(group)e(commands)g(for)h(later)g(execution)h(using)e(a)h -(single)g(name)g(for)150 1753 y(the)f(group.)55 b(They)35 +(single)g(name)g(for)150 1285 y(the)f(group.)55 b(They)35 b(are)g(executed)h(just)f(lik)m(e)h(a)g Ft(")p Fu(regular)p Ft(")f Fu(command.)54 b(When)35 b(the)h(name)f(of)g(a)h(shell)150 -1863 y(function)j(is)g(used)f(as)h(a)h(simple)f(command)g(name,)i(the)e +1395 y(function)j(is)g(used)f(as)h(a)h(simple)f(command)g(name,)i(the)e (list)h(of)f(commands)g(asso)s(ciated)i(with)d(that)150 -1973 y(function)25 b(name)h(is)g(executed.)40 b(Shell)25 +1504 y(function)25 b(name)h(is)g(executed.)40 b(Shell)25 b(functions)g(are)i(executed)f(in)f(the)h(curren)m(t)g(shell)g(con)m -(text;)j(no)c(new)150 2082 y(pro)s(cess)30 b(is)g(created)i(to)f(in)m -(terpret)g(them.)275 2213 y(F)-8 b(unctions)30 b(are)h(declared)g -(using)f(this)g(syn)m(tax:)390 2343 y Fj(name)47 b Ft(\(\))g +(text;)j(no)c(new)150 1614 y(pro)s(cess)30 b(is)g(created)i(to)f(in)m +(terpret)g(them.)275 1745 y(F)-8 b(unctions)30 b(are)h(declared)g +(using)f(this)g(syn)m(tax:)390 1877 y Fj(name)47 b Ft(\(\))g Fj(compound-command)c Ft([)48 b Fj(redirections)c Ft(])275 -2474 y Fu(or)390 2605 y Ft(function)i Fj(name)g Ft([\(\)])h +2008 y Fu(or)390 2140 y Ft(function)i Fj(name)g Ft([\(\)])h Fj(compound-command)c Ft([)48 b Fj(redirections)c Ft(])275 -2735 y Fu(This)31 b(de\014nes)h(a)h(shell)g(function)g(named)f +2271 y Fu(This)31 b(de\014nes)h(a)h(shell)g(function)g(named)f Fr(name)p Fu(.)48 b(The)32 b(reserv)m(ed)h(w)m(ord)f -Ft(function)f Fu(is)h(optional.)49 b(If)150 2845 y(the)39 +Ft(function)f Fu(is)h(optional.)49 b(If)150 2381 y(the)39 b Ft(function)f Fu(reserv)m(ed)h(w)m(ord)g(is)g(supplied,)i(the)e (paren)m(theses)h(are)f(optional.)69 b(The)39 b Fr(b)s(o)s(dy)45 -b Fu(of)40 b(the)150 2954 y(function)h(is)h(the)g(comp)s(ound)e +b Fu(of)40 b(the)150 2491 y(function)h(is)h(the)g(comp)s(ound)e (command)h Fr(comp)s(ound-command)j Fu(\(see)e(Section)h(3.2.4)g([Comp) -s(ound)150 3064 y(Commands],)33 b(page)h(9\).)49 b(That)33 +s(ound)150 2600 y(Commands],)33 b(page)h(9\).)49 b(That)33 b(command)f(is)h(usually)g(a)g Fr(list)j Fu(enclosed)e(b)s(et)m(w)m (een)f Fi({)h Fu(and)e Fi(})p Fu(,)i(but)e(ma)m(y)150 -3174 y(b)s(e)26 b(an)m(y)i(comp)s(ound)d(command)i(listed)h(ab)s(o)m(v) -m(e.)41 b Fr(comp)s(ound-command)29 b Fu(is)e(executed)h(whenev)m(er)f -Fr(name)150 3283 y Fu(is)k(sp)s(eci\014ed)f(as)g(the)h(name)g(of)g(a)g -(command.)41 b(When)31 b(the)f(shell)h(is)g(in)f Fm(posix)g -Fu(mo)s(de)g(\(see)i(Section)f(6.11)150 3393 y([Bash)36 -b(POSIX)f(Mo)s(de],)j(page)e(94\),)j Fr(name)i Fu(ma)m(y)36 -b(not)h(b)s(e)e(the)h(same)g(as)g(one)g(of)g(the)g(sp)s(ecial)h -(builtins)150 3502 y(\(see)24 b(Section)g(4.4)g([Sp)s(ecial)g -(Builtins],)h(page)f(68\).)40 b(An)m(y)23 b(redirections)h(\(see)g -(Section)g(3.6)g([Redirections],)150 3612 y(page)31 b(31\))h(asso)s -(ciated)g(with)e(the)g(shell)h(function)f(are)h(p)s(erformed)d(when)i -(the)g(function)g(is)h(executed.)275 3743 y(A)44 b(function)g -(de\014nition)h(ma)m(y)g(b)s(e)f(deleted)h(using)f(the)h -Ft(-f)f Fu(option)h(to)g(the)g Ft(unset)e Fu(builtin)h(\(see)150 -3852 y(Section)31 b(4.1)h([Bourne)e(Shell)g(Builtins],)h(page)h(41\).) -275 3983 y(The)26 b(exit)i(status)g(of)f(a)h(function)f(de\014nition)g -(is)g(zero)h(unless)f(a)g(syn)m(tax)h(error)f(o)s(ccurs)g(or)g(a)h -(readonly)150 4092 y(function)k(with)f(the)i(same)f(name)g(already)h -(exists.)46 b(When)32 b(executed,)h(the)f(exit)h(status)g(of)f(a)g -(function)150 4202 y(is)e(the)h(exit)g(status)g(of)f(the)h(last)g -(command)f(executed)i(in)e(the)g(b)s(o)s(dy)-8 b(.)275 -4333 y(Note)22 b(that)f(for)f(historical)i(reasons,)h(in)e(the)g(most)g -(common)g(usage)g(the)g(curly)f(braces)h(that)g(surround)150 -4442 y(the)38 b(b)s(o)s(dy)d(of)j(the)f(function)g(m)m(ust)g(b)s(e)g -(separated)h(from)f(the)g(b)s(o)s(dy)f(b)m(y)h Ft(blank)p -Fu(s)f(or)h(newlines.)62 b(This)150 4552 y(is)38 b(b)s(ecause)g(the)h -(braces)f(are)h(reserv)m(ed)f(w)m(ords)g(and)f(are)i(only)f(recognized) -i(as)e(suc)m(h)g(when)f(they)i(are)150 4661 y(separated)26 -b(from)f(the)h(command)f(list)i(b)m(y)e(whitespace)h(or)g(another)g -(shell)g(metac)m(haracter.)41 b(Also,)28 b(when)150 4771 -y(using)i(the)g(braces,)h(the)g Fr(list)i Fu(m)m(ust)d(b)s(e)g -(terminated)h(b)m(y)f(a)h(semicolon,)h(a)e(`)p Ft(&)p -Fu(',)h(or)g(a)f(newline.)275 4902 y(When)i(a)i(function)f(is)g -(executed,)i(the)e(argumen)m(ts)h(to)g(the)f(function)g(b)s(ecome)g -(the)h(p)s(ositional)g(pa-)150 5011 y(rameters)42 b(during)e(its)i +2710 y(b)s(e)39 b(an)m(y)h(comp)s(ound)e(command)i(listed)g(ab)s(o)m(v) +m(e,)j(with)d(one)g(exception:)60 b(If)39 b(the)h Ft(function)e +Fu(reserv)m(ed)150 2819 y(w)m(ord)g(is)g(used,)h(but)f(the)g(paren)m +(theses)h(are)f(not)h(supplied,)g(the)f(braces)g(are)h(required.)63 +b Fr(comp)s(ound-)150 2929 y(command)39 b Fu(is)c(executed)h(whenev)m +(er)f Fr(name)41 b Fu(is)35 b(sp)s(eci\014ed)g(as)g(the)h(name)f(of)h +(a)f(command.)56 b(When)35 b(the)150 3038 y(shell)d(is)h(in)f +Fm(posix)f Fu(mo)s(de)h(\(see)h(Section)g(6.11)h([Bash)f(POSIX)e(Mo)s +(de],)j(page)f(96\),)h Fr(name)j Fu(ma)m(y)c(not)g(b)s(e)150 +3148 y(the)k(same)g(as)g(one)g(of)g(the)f(sp)s(ecial)i(builtins)e +(\(see)h(Section)h(4.4)g([Sp)s(ecial)f(Builtins],)i(page)e(70\).)61 +b(An)m(y)150 3258 y(redirections)32 b(\(see)g(Section)h(3.6)f +([Redirections],)i(page)e(32\))h(asso)s(ciated)g(with)e(the)h(shell)f +(function)h(are)150 3367 y(p)s(erformed)d(when)g(the)i(function)f(is)g +(executed.)275 3499 y(A)44 b(function)g(de\014nition)h(ma)m(y)g(b)s(e)f +(deleted)h(using)f(the)h Ft(-f)f Fu(option)h(to)g(the)g +Ft(unset)e Fu(builtin)h(\(see)150 3608 y(Section)31 b(4.1)h([Bourne)e +(Shell)g(Builtins],)h(page)h(42\).)275 3740 y(The)26 +b(exit)i(status)g(of)f(a)h(function)f(de\014nition)g(is)g(zero)h +(unless)f(a)g(syn)m(tax)h(error)f(o)s(ccurs)g(or)g(a)h(readonly)150 +3849 y(function)k(with)f(the)i(same)f(name)g(already)h(exists.)46 +b(When)32 b(executed,)h(the)f(exit)h(status)g(of)f(a)g(function)150 +3959 y(is)e(the)h(exit)g(status)g(of)f(the)h(last)g(command)f(executed) +i(in)e(the)g(b)s(o)s(dy)-8 b(.)275 4091 y(Note)22 b(that)f(for)f +(historical)i(reasons,)h(in)e(the)g(most)g(common)g(usage)g(the)g +(curly)f(braces)h(that)g(surround)150 4200 y(the)38 b(b)s(o)s(dy)d(of)j +(the)f(function)g(m)m(ust)g(b)s(e)g(separated)h(from)f(the)g(b)s(o)s +(dy)f(b)m(y)h Ft(blank)p Fu(s)f(or)h(newlines.)62 b(This)150 +4310 y(is)38 b(b)s(ecause)g(the)h(braces)f(are)h(reserv)m(ed)f(w)m +(ords)g(and)f(are)i(only)f(recognized)i(as)e(suc)m(h)g(when)f(they)i +(are)150 4419 y(separated)26 b(from)f(the)h(command)f(list)i(b)m(y)e +(whitespace)h(or)g(another)g(shell)g(metac)m(haracter.)41 +b(Also,)28 b(when)150 4529 y(using)i(the)g(braces,)h(the)g +Fr(list)i Fu(m)m(ust)d(b)s(e)g(terminated)h(b)m(y)f(a)h(semicolon,)h(a) +e(`)p Ft(&)p Fu(',)h(or)g(a)f(newline.)275 4660 y(When)i(a)i(function)f +(is)g(executed,)i(the)e(argumen)m(ts)h(to)g(the)f(function)g(b)s(ecome) +g(the)h(p)s(ositional)g(pa-)150 4770 y(rameters)42 b(during)e(its)i (execution)h(\(see)f(Section)g(3.4.1)h([P)m(ositional)h(P)m -(arameters],)i(page)c(19\).)75 b(The)150 5121 y(sp)s(ecial)37 +(arameters],)i(page)c(19\).)75 b(The)150 4880 y(sp)s(ecial)37 b(parameter)f(`)p Ft(#)p Fu(')g(that)h(expands)e(to)i(the)f(n)m(um)m(b) s(er)f(of)h(p)s(ositional)h(parameters)f(is)g(up)s(dated)f(to)150 -5230 y(re\015ect)h(the)f(c)m(hange.)56 b(Sp)s(ecial)35 +4989 y(re\015ect)h(the)f(c)m(hange.)56 b(Sp)s(ecial)35 b(parameter)h Ft(0)f Fu(is)g(unc)m(hanged.)54 b(The)35 -b(\014rst)f(elemen)m(t)j(of)e(the)g Ft(FUNCNAME)150 5340 +b(\014rst)f(elemen)m(t)j(of)e(the)g Ft(FUNCNAME)150 5099 y Fu(v)-5 b(ariable)31 b(is)g(set)f(to)i(the)e(name)h(of)f(the)h -(function)f(while)g(the)h(function)f(is)g(executing.)p -eop end +(function)f(while)g(the)h(function)f(is)g(executing.)275 +5230 y(All)25 b(other)g(asp)s(ects)g(of)g(the)g(shell)g(execution)h(en) +m(vironmen)m(t)g(are)f(iden)m(tical)h(b)s(et)m(w)m(een)g(a)f(function)g +(and)150 5340 y(its)35 b(caller)i(with)d(these)i(exceptions:)50 +b(the)36 b Ft(DEBUG)d Fu(and)h Ft(RETURN)g Fu(traps)g(are)i(not)f +(inherited)f(unless)h(the)p eop end %%Page: 18 24 TeXDict begin 18 23 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(18)275 299 -y(All)25 b(other)g(asp)s(ects)g(of)g(the)g(shell)g(execution)h(en)m -(vironmen)m(t)g(are)f(iden)m(tical)h(b)s(et)m(w)m(een)g(a)f(function)g -(and)150 408 y(its)35 b(caller)i(with)d(these)i(exceptions:)50 -b(the)36 b Ft(DEBUG)d Fu(and)h Ft(RETURN)g Fu(traps)g(are)i(not)f -(inherited)f(unless)h(the)150 518 y(function)26 b(has)g(b)s(een)f(giv)m -(en)i(the)g Ft(trace)d Fu(attribute)j(using)f(the)g Ft(declare)e -Fu(builtin)i(or)g(the)h Ft(-o)i(functrace)150 628 y Fu(option)f(has)e -(b)s(een)h(enabled)g(with)g(the)g Ft(set)f Fu(builtin,)i(\(in)f(whic)m -(h)f(case)j(all)f(functions)e(inherit)h(the)g Ft(DEBUG)150 -737 y Fu(and)33 b Ft(RETURN)f Fu(traps\),)j(and)e(the)h -Ft(ERR)f Fu(trap)h(is)g(not)g(inherited)f(unless)g(the)h -Ft(-o)c(errtrace)h Fu(shell)j(option)150 847 y(has)h(b)s(een)f -(enabled.)55 b(See)35 b(Section)h(4.1)g([Bourne)f(Shell)g(Builtins],)i -(page)f(41,)i(for)c(the)i(description)f(of)150 956 y(the)c -Ft(trap)e Fu(builtin.)275 1095 y(The)38 b Ft(FUNCNEST)f -Fu(v)-5 b(ariable,)42 b(if)d(set)h(to)g(a)g(n)m(umeric)f(v)-5 -b(alue)39 b(greater)h(than)f(0,)j(de\014nes)d(a)g(maxim)m(um)150 -1204 y(function)24 b(nesting)h(lev)m(el.)40 b(F)-8 b(unction)25 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(18)150 299 +y(function)26 b(has)g(b)s(een)f(giv)m(en)i(the)g Ft(trace)d +Fu(attribute)j(using)f(the)g Ft(declare)e Fu(builtin)i(or)g(the)h +Ft(-o)i(functrace)150 408 y Fu(option)f(has)e(b)s(een)h(enabled)g(with) +g(the)g Ft(set)f Fu(builtin,)i(\(in)f(whic)m(h)f(case)j(all)f +(functions)e(inherit)h(the)g Ft(DEBUG)150 518 y Fu(and)33 +b Ft(RETURN)f Fu(traps\),)j(and)e(the)h Ft(ERR)f Fu(trap)h(is)g(not)g +(inherited)f(unless)g(the)h Ft(-o)c(errtrace)h Fu(shell)j(option)150 +628 y(has)h(b)s(een)f(enabled.)55 b(See)35 b(Section)h(4.1)g([Bourne)f +(Shell)g(Builtins],)i(page)f(42,)i(for)c(the)i(description)f(of)150 +737 y(the)c Ft(trap)e Fu(builtin.)275 885 y(The)38 b +Ft(FUNCNEST)f Fu(v)-5 b(ariable,)42 b(if)d(set)h(to)g(a)g(n)m(umeric)f +(v)-5 b(alue)39 b(greater)h(than)f(0,)j(de\014nes)d(a)g(maxim)m(um)150 +995 y(function)24 b(nesting)h(lev)m(el.)40 b(F)-8 b(unction)25 b(in)m(v)m(o)s(cations)i(that)e(exceed)g(the)g(limit)g(cause)g(the)g -(en)m(tire)g(command)150 1314 y(to)31 b(ab)s(ort.)275 -1452 y(If)37 b(the)g(builtin)g(command)h Ft(return)d +(en)m(tire)g(command)150 1105 y(to)31 b(ab)s(ort.)275 +1253 y(If)37 b(the)g(builtin)g(command)h Ft(return)d Fu(is)j(executed)g(in)g(a)g(function,)h(the)e(function)h(completes)h -(and)150 1562 y(execution)25 b(resumes)e(with)h(the)g(next)g(command)f +(and)150 1362 y(execution)25 b(resumes)e(with)h(the)g(next)g(command)f (after)i(the)f(function)f(call.)40 b(An)m(y)24 b(command)f(asso)s -(ciated)150 1672 y(with)36 b(the)h Ft(RETURN)d Fu(trap)i(is)h(executed) +(ciated)150 1472 y(with)36 b(the)h Ft(RETURN)d Fu(trap)i(is)h(executed) g(b)s(efore)f(execution)i(resumes.)57 b(When)37 b(a)f(function)g -(completes,)150 1781 y(the)h(v)-5 b(alues)38 b(of)f(the)g(p)s +(completes,)150 1581 y(the)h(v)-5 b(alues)38 b(of)f(the)g(p)s (ositional)h(parameters)f(and)g(the)g(sp)s(ecial)h(parameter)f(`)p -Ft(#)p Fu(')g(are)h(restored)f(to)h(the)150 1891 y(v)-5 +Ft(#)p Fu(')g(are)h(restored)f(to)h(the)150 1691 y(v)-5 b(alues)26 b(they)f(had)g(prior)f(to)i(the)g(function's)f(execution.)40 b(If)25 b(a)h(n)m(umeric)f(argumen)m(t)h(is)f(giv)m(en)h(to)g -Ft(return)p Fu(,)150 2000 y(that)j(is)g(the)f(function's)h(return)e +Ft(return)p Fu(,)150 1801 y(that)j(is)g(the)f(function's)h(return)e (status;)j(otherwise)f(the)f(function's)h(return)e(status)i(is)f(the)h -(exit)h(status)150 2110 y(of)h(the)f(last)h(command)f(executed)i(b)s -(efore)e(the)g Ft(return)p Fu(.)275 2248 y(V)-8 b(ariables)31 +(exit)h(status)150 1910 y(of)h(the)f(last)h(command)f(executed)i(b)s +(efore)e(the)g Ft(return)p Fu(.)275 2058 y(V)-8 b(ariables)31 b(lo)s(cal)g(to)f(the)g(function)f(ma)m(y)i(b)s(e)e(declared)h(with)f (the)h Ft(local)f Fu(builtin.)40 b(These)29 b(v)-5 b(ariables)150 -2358 y(are)31 b(visible)g(only)f(to)h(the)g(function)f(and)g(the)g -(commands)g(it)h(in)m(v)m(ok)m(es.)275 2497 y(F)-8 b(unction)51 +2168 y(are)31 b(visible)g(only)f(to)h(the)g(function)f(and)g(the)g +(commands)g(it)h(in)m(v)m(ok)m(es.)275 2316 y(F)-8 b(unction)51 b(names)f(and)g(de\014nitions)g(ma)m(y)i(b)s(e)e(listed)h(with)f(the)h -Ft(-f)f Fu(option)h(to)g(the)g Ft(declare)150 2606 y +Ft(-f)f Fu(option)h(to)g(the)g Ft(declare)150 2426 y Fu(\()p Ft(typeset)p Fu(\))35 b(builtin)g(command)h(\(see)h(Section)g -(4.2)g([Bash)f(Builtins],)i(page)f(48\).)59 b(The)35 -b Ft(-F)h Fu(option)g(to)150 2716 y Ft(declare)e Fu(or)i +(4.2)g([Bash)f(Builtins],)i(page)f(49\).)59 b(The)35 +b Ft(-F)h Fu(option)g(to)150 2535 y Ft(declare)e Fu(or)i Ft(typeset)e Fu(will)i(list)h(the)f(function)g(names)g(only)g(\(and)g -(optionally)h(the)f(source)g(\014le)h(and)150 2825 y(line)c(n)m(um)m(b) +(optionally)h(the)f(source)g(\014le)h(and)150 2645 y(line)c(n)m(um)m(b) s(er,)g(if)f(the)h Ft(extdebug)e Fu(shell)i(option)g(is)g(enabled\).)49 b(F)-8 b(unctions)33 b(ma)m(y)h(b)s(e)e(exp)s(orted)g(so)h(that)150 -2935 y(subshells)j(automatically)k(ha)m(v)m(e)f(them)e(de\014ned)f +2754 y(subshells)j(automatically)k(ha)m(v)m(e)f(them)e(de\014ned)f (with)h(the)h Ft(-f)e Fu(option)i(to)g(the)g Ft(export)d -Fu(builtin)i(\(see)150 3044 y(Section)c(4.1)g([Bourne)f(Shell)g -(Builtins],)i(page)f(41\).)47 b(Note)33 b(that)g(shell)f(functions)g -(and)f(v)-5 b(ariables)33 b(with)150 3154 y(the)d(same)g(name)g(ma)m(y) +Fu(builtin)i(\(see)150 2864 y(Section)c(4.1)g([Bourne)f(Shell)g +(Builtins],)i(page)f(42\).)47 b(Note)33 b(that)g(shell)f(functions)g +(and)f(v)-5 b(ariables)33 b(with)150 2973 y(the)d(same)g(name)g(ma)m(y) g(result)g(in)g(m)m(ultiple)g(iden)m(tically-named)i(en)m(tries)f(in)e -(the)h(en)m(vironmen)m(t)g(passed)150 3264 y(to)h(the)g(shell's)f(c)m +(the)h(en)m(vironmen)m(t)g(passed)150 3083 y(to)h(the)g(shell's)f(c)m (hildren.)41 b(Care)30 b(should)g(b)s(e)f(tak)m(en)j(in)e(cases)h -(where)f(this)g(ma)m(y)h(cause)g(a)g(problem.)275 3402 +(where)f(this)g(ma)m(y)h(cause)g(a)g(problem.)275 3231 y(F)-8 b(unctions)33 b(ma)m(y)g(b)s(e)g(recursiv)m(e.)48 b(The)32 b Ft(FUNCNEST)f Fu(v)-5 b(ariable)34 b(ma)m(y)f(b)s(e)f(used)g -(to)i(limit)g(the)f(depth)f(of)150 3512 y(the)27 b(function)f(call)i +(to)i(limit)g(the)f(depth)f(of)150 3341 y(the)27 b(function)f(call)i (stac)m(k)h(and)d(restrict)h(the)g(n)m(um)m(b)s(er)f(of)h(function)f (in)m(v)m(o)s(cations.)42 b(By)27 b(default,)g(no)g(limit)150 -3621 y(is)j(placed)h(on)g(the)f(n)m(um)m(b)s(er)f(of)i(recursiv)m(e)f -(calls.)150 3860 y Fs(3.4)68 b(Shell)45 b(P)l(arameters)150 -4019 y Fu(A)23 b Fr(parameter)31 b Fu(is)23 b(an)g(en)m(tit)m(y)i(that) +3450 y(is)j(placed)h(on)g(the)f(n)m(um)m(b)s(er)f(of)i(recursiv)m(e)f +(calls.)150 3711 y Fs(3.4)68 b(Shell)45 b(P)l(arameters)150 +3871 y Fu(A)23 b Fr(parameter)31 b Fu(is)23 b(an)g(en)m(tit)m(y)i(that) f(stores)g(v)-5 b(alues.)39 b(It)23 b(can)h(b)s(e)f(a)g Ft(name)p Fu(,)h(a)g(n)m(um)m(b)s(er,)f(or)h(one)f(of)h(the)f(sp)s -(ecial)150 4129 y(c)m(haracters)i(listed)e(b)s(elo)m(w.)39 +(ecial)150 3980 y(c)m(haracters)i(listed)e(b)s(elo)m(w.)39 b(A)23 b Fr(v)-5 b(ariable)30 b Fu(is)23 b(a)g(parameter)h(denoted)f(b) m(y)h(a)f Ft(name)p Fu(.)37 b(A)24 b(v)-5 b(ariable)24 -b(has)f(a)g Fr(v)-5 b(alue)150 4238 y Fu(and)33 b(zero)i(or)f(more)g +b(has)f(a)g Fr(v)-5 b(alue)150 4090 y Fu(and)33 b(zero)i(or)f(more)g Fr(attributes)p Fu(.)52 b(A)m(ttributes)35 b(are)f(assigned)g(using)g -(the)g Ft(declare)e Fu(builtin)h(command)150 4348 y(\(see)e(the)g +(the)g Ft(declare)e Fu(builtin)h(command)150 4200 y(\(see)e(the)g (description)f(of)h(the)f Ft(declare)f Fu(builtin)h(in)g(Section)h(4.2) -g([Bash)g(Builtins],)g(page)g(48\).)275 4486 y(A)d(parameter)h(is)g +g([Bash)g(Builtins],)g(page)g(49\).)275 4348 y(A)d(parameter)h(is)g (set)g(if)f(it)h(has)f(b)s(een)g(assigned)h(a)g(v)-5 b(alue.)40 b(The)28 b(n)m(ull)h(string)f(is)h(a)g(v)-5 -b(alid)28 b(v)-5 b(alue.)41 b(Once)150 4596 y(a)31 b(v)-5 +b(alid)28 b(v)-5 b(alue.)41 b(Once)150 4457 y(a)31 b(v)-5 b(ariable)31 b(is)f(set,)i(it)e(ma)m(y)h(b)s(e)f(unset)g(only)h(b)m(y)f -(using)g(the)g Ft(unset)f Fu(builtin)h(command.)275 4734 +(using)g(the)g Ft(unset)f Fu(builtin)h(command.)275 4605 y(A)g(v)-5 b(ariable)31 b(ma)m(y)g(b)s(e)f(assigned)g(to)i(b)m(y)e(a)h -(statemen)m(t)h(of)e(the)h(form)390 4873 y Fj(name)p -Ft(=[)p Fj(value)p Ft(])150 5011 y Fu(If)j Fr(v)-5 b(alue)40 +(statemen)m(t)h(of)e(the)h(form)390 4754 y Fj(name)p +Ft(=[)p Fj(value)p Ft(])150 4902 y Fu(If)j Fr(v)-5 b(alue)40 b Fu(is)35 b(not)g(giv)m(en,)h(the)f(v)-5 b(ariable)35 b(is)g(assigned)g(the)f(n)m(ull)h(string.)53 b(All)35 b Fr(v)-5 b(alue)5 b Fu(s)35 b(undergo)f(tilde)h(ex-)150 -5121 y(pansion,)h(parameter)f(and)f(v)-5 b(ariable)36 +5011 y(pansion,)h(parameter)f(and)f(v)-5 b(ariable)36 b(expansion,)f(command)g(substitution,)h(arithmetic)g(expansion,)150 -5230 y(and)k(quote)h(remo)m(v)-5 b(al)42 b(\(detailed)h(b)s(elo)m(w\).) +5121 y(and)k(quote)h(remo)m(v)-5 b(al)42 b(\(detailed)h(b)s(elo)m(w\).) 72 b(If)40 b(the)h(v)-5 b(ariable)41 b(has)g(its)g Ft(integer)e -Fu(attribute)i(set,)j(then)150 5340 y Fr(v)-5 b(alue)38 +Fu(attribute)i(set,)j(then)150 5230 y Fr(v)-5 b(alue)38 b Fu(is)33 b(ev)-5 b(aluated)34 b(as)f(an)g(arithmetic)h(expression)f (ev)m(en)h(if)e(the)h Ft($\(\(...)o(\)\))f Fu(expansion)h(is)g(not)g -(used)p eop end +(used)150 5340 y(\(see)e(Section)g(3.5.5)i([Arithmetic)e(Expansion],)f +(page)h(29\).)42 b(W)-8 b(ord)31 b(splitting)g(is)g(not)f(p)s +(erformed,)f(with)p eop end %%Page: 19 25 TeXDict begin 19 24 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(19)150 299 -y(\(see)31 b(Section)g(3.5.5)i([Arithmetic)e(Expansion],)f(page)h -(29\).)42 b(W)-8 b(ord)31 b(splitting)g(is)g(not)f(p)s(erformed,)f -(with)150 408 y(the)35 b(exception)h(of)f Ft("$@")f Fu(as)h(explained)g -(b)s(elo)m(w.)54 b(Filename)36 b(expansion)f(is)g(not)g(p)s(erformed.) -53 b(Assign-)150 518 y(men)m(t)33 b(statemen)m(ts)h(ma)m(y)f(also)g -(app)s(ear)f(as)g(argumen)m(ts)h(to)g(the)g Ft(alias)p -Fu(,)e Ft(declare)p Fu(,)g Ft(typeset)p Fu(,)g Ft(export)p -Fu(,)150 628 y Ft(readonly)p Fu(,)41 b(and)f Ft(local)f -Fu(builtin)h(commands.)71 b(When)40 b(in)h Fm(posix)e -Fu(mo)s(de)i(\(see)g(Section)g(6.11)i([Bash)150 737 y(POSIX)36 -b(Mo)s(de],)k(page)e(94\),)i(these)e(builtins)f(ma)m(y)h(app)s(ear)e -(in)h(a)h(command)f(after)h(one)f(or)h(more)f(in-)150 -847 y(stances)31 b(of)g(the)f Ft(command)f Fu(builtin)h(and)f(retain)i -(these)g(assignmen)m(t)g(statemen)m(t)h(prop)s(erties.)275 -994 y(In)d(the)h(con)m(text)i(where)d(an)h(assignmen)m(t)h(statemen)m -(t)h(is)e(assigning)g(a)h(v)-5 b(alue)30 b(to)h(a)f(shell)g(v)-5 -b(ariable)31 b(or)150 1104 y(arra)m(y)f(index)g(\(see)h(Section)g(6.7)g -([Arra)m(ys],)g(page)g(89\),)g(the)f(`)p Ft(+=)p Fu(')g(op)s(erator)g -(can)h(b)s(e)e(used)g(to)i(app)s(end)d(to)150 1213 y(or)36 -b(add)g(to)h(the)f(v)-5 b(ariable's)37 b(previous)f(v)-5 -b(alue.)59 b(When)36 b(`)p Ft(+=)p Fu(')g(is)g(applied)g(to)h(a)g(v)-5 -b(ariable)37 b(for)f(whic)m(h)g(the)150 1323 y Fr(in)m(teger)46 -b Fu(attribute)38 b(has)f(b)s(een)g(set,)k Fr(v)-5 b(alue)43 -b Fu(is)38 b(ev)-5 b(aluated)39 b(as)f(an)f(arithmetic)i(expression)f -(and)f(added)150 1433 y(to)f(the)f(v)-5 b(ariable's)36 -b(curren)m(t)f(v)-5 b(alue,)37 b(whic)m(h)e(is)g(also)h(ev)-5 -b(aluated.)56 b(When)35 b(`)p Ft(+=)p Fu(')g(is)h(applied)f(to)g(an)g -(arra)m(y)150 1542 y(v)-5 b(ariable)26 b(using)e(comp)s(ound)f -(assignmen)m(t)j(\(see)f(Section)h(6.7)f([Arra)m(ys],)i(page)f(89\),)h -(the)e(v)-5 b(ariable's)25 b(v)-5 b(alue)150 1652 y(is)32 -b(not)f(unset)h(\(as)g(it)g(is)f(when)g(using)g(`)p Ft(=)p -Fu('\),)i(and)e(new)g(v)-5 b(alues)32 b(are)g(app)s(ended)d(to)k(the)f -(arra)m(y)g(b)s(eginning)150 1761 y(at)27 b(one)f(greater)i(than)e(the) -g(arra)m(y's)h(maxim)m(um)f(index)g(\(for)g(indexed)g(arra)m(ys\),)i -(or)e(added)g(as)g(additional)150 1871 y(k)m(ey-v)-5 -b(alue)35 b(pairs)e(in)g(an)g(asso)s(ciativ)m(e)j(arra)m(y)-8 -b(.)51 b(When)33 b(applied)g(to)h(a)g(string-v)-5 b(alued)34 -b(v)-5 b(ariable,)35 b Fr(v)-5 b(alue)39 b Fu(is)150 -1980 y(expanded)30 b(and)f(app)s(ended)g(to)i(the)g(v)-5 -b(ariable's)31 b(v)-5 b(alue.)275 2128 y(A)41 b(v)-5 -b(ariable)42 b(can)f(b)s(e)f(assigned)i(the)f Fr(nameref)58 -b Fu(attribute)42 b(using)f(the)g Ft(-n)f Fu(option)i(to)g(the)f -Ft(\\)p Fu(fBde-)150 2237 y(clare)p Ft(\\)p Fu(fP)j(or)f -Ft(\\)p Fu(fBlo)s(cal)p Ft(\\)p Fu(fP)h(builtin)e(commands)h(\(see)h -(Section)h(4.2)f([Bash)g(Builtins],)j(page)d(48\))g(to)150 -2347 y(create)37 b(a)e Fr(nameref)p Fu(,)h(or)f(a)h(reference)f(to)h -(another)g(v)-5 b(ariable.)55 b(This)34 b(allo)m(ws)j(v)-5 -b(ariables)35 b(to)h(b)s(e)f(manipu-)150 2457 y(lated)c(indirectly)-8 -b(.)43 b(Whenev)m(er)31 b(the)g(nameref)f(v)-5 b(ariable)32 -b(is)e(referenced)h(or)f(assigned)h(to,)h(the)e(op)s(eration)150 -2566 y(is)i(actually)h(p)s(erformed)d(on)i(the)g(v)-5 -b(ariable)33 b(sp)s(eci\014ed)e(b)m(y)g(the)h(nameref)g(v)-5 -b(ariable's)33 b(v)-5 b(alue.)45 b(A)32 b(nameref)150 -2676 y(is)h(commonly)g(used)e(within)h(shell)h(functions)f(to)h(refer)f -(to)i(a)f(v)-5 b(ariable)33 b(whose)f(name)h(is)f(passed)g(as)h(an)150 -2785 y(argumen)m(t)g(to)g(the)g(function.)46 b(F)-8 b(or)33 -b(instance,)h(if)e(a)h(v)-5 b(ariable)33 b(name)g(is)f(passed)g(to)h(a) -g(shell)g(function)f(as)150 2895 y(its)f(\014rst)e(argumen)m(t,)i -(running)390 3042 y Ft(declare)46 b(-n)h(ref=$1)150 3190 -y Fu(inside)31 b(the)h(function)f(creates)i(a)g(nameref)e(v)-5 -b(ariable)32 b Fr(ref)49 b Fu(whose)32 b(v)-5 b(alue)32 -b(is)g(the)f(v)-5 b(ariable)33 b(name)e(passed)150 3299 -y(as)42 b(the)g(\014rst)f(argumen)m(t.)74 b(References)43 -b(and)e(assignmen)m(ts)h(to)g Fr(ref)59 b Fu(are)42 b(treated)h(as)f -(references)g(and)150 3409 y(assignmen)m(ts)31 b(to)g(the)g(v)-5 -b(ariable)31 b(whose)f(name)g(w)m(as)h(passed)f(as)h -Ft($1)p Fu(.)275 3556 y(If)38 b(the)i(con)m(trol)g(v)-5 -b(ariable)40 b(in)f(a)g Ft(for)g Fu(lo)s(op)g(has)g(the)g(nameref)g -(attribute,)k(the)c(list)h(of)f(w)m(ords)g(can)150 3666 -y(b)s(e)c(a)i(list)f(of)g(shell)h(v)-5 b(ariables,)38 -b(and)d(a)h(name)g(reference)h(will)f(b)s(e)f(established)i(for)e(eac)m -(h)j(w)m(ord)d(in)h(the)150 3775 y(list,)e(in)e(turn,)g(when)f(the)i -(lo)s(op)f(is)h(executed.)47 b(Arra)m(y)33 b(v)-5 b(ariables)33 -b(cannot)g(b)s(e)e(giv)m(en)j(the)e Ft(-n)g Fu(attribute.)150 -3885 y(Ho)m(w)m(ev)m(er,)39 b(nameref)d(v)-5 b(ariables)36 -b(can)g(reference)g(arra)m(y)g(v)-5 b(ariables)37 b(and)e(subscripted)f -(arra)m(y)i(v)-5 b(ariables.)150 3995 y(Namerefs)36 b(can)f(b)s(e)g -(unset)g(using)g(the)h Ft(-n)e Fu(option)i(to)g(the)g -Ft(unset)e Fu(builtin)h(\(see)h(Section)g(4.1)h([Bourne)150 -4104 y(Shell)43 b(Builtins],)j(page)e(41\).)79 b(Otherwise,)45 -b(if)e Ft(unset)e Fu(is)i(executed)h(with)e(the)h(name)g(of)g(a)g -(nameref)150 4214 y(v)-5 b(ariable)31 b(as)g(an)f(argumen)m(t,)h(the)g -(v)-5 b(ariable)31 b(referenced)f(b)m(y)g(the)h(nameref)f(v)-5 -b(ariable)31 b(will)g(b)s(e)f(unset.)150 4426 y Fk(3.4.1)63 -b(P)m(ositional)41 b(P)m(arameters)150 4573 y Fu(A)28 +y(the)35 b(exception)h(of)f Ft("$@")f Fu(as)h(explained)g(b)s(elo)m(w.) +54 b(Filename)36 b(expansion)f(is)g(not)g(p)s(erformed.)53 +b(Assign-)150 408 y(men)m(t)33 b(statemen)m(ts)h(ma)m(y)f(also)g(app)s +(ear)f(as)g(argumen)m(ts)h(to)g(the)g Ft(alias)p Fu(,)e +Ft(declare)p Fu(,)g Ft(typeset)p Fu(,)g Ft(export)p Fu(,)150 +518 y Ft(readonly)p Fu(,)38 b(and)g Ft(local)f Fu(builtin)h(commands)g +(\()p Fr(declaration)j Fu(commands\).)64 b(When)39 b(in)f +Fm(posix)f Fu(mo)s(de)150 628 y(\(see)c(Section)f(6.11)h([Bash)g(POSIX) +d(Mo)s(de],)j(page)f(96\),)i(these)e(builtins)f(ma)m(y)i(app)s(ear)e +(in)g(a)h(command)150 737 y(after)i(one)g(or)f(more)h(instances)g(of)f +(the)h Ft(command)d Fu(builtin)i(and)g(retain)h(these)g(assignmen)m(t)g +(statemen)m(t)150 847 y(prop)s(erties.)275 994 y(In)29 +b(the)h(con)m(text)i(where)d(an)h(assignmen)m(t)h(statemen)m(t)h(is)e +(assigning)g(a)h(v)-5 b(alue)30 b(to)h(a)f(shell)g(v)-5 +b(ariable)31 b(or)150 1104 y(arra)m(y)24 b(index)f(\(see)h(Section)g +(6.7)g([Arra)m(ys],)i(page)e(91\),)i(the)e(`)p Ft(+=)p +Fu(')f(op)s(erator)g(can)h(b)s(e)f(used)f(to)i(app)s(end)e(to)i(or)150 +1213 y(add)k(to)i(the)f(v)-5 b(ariable's)30 b(previous)e(v)-5 +b(alue.)41 b(This)28 b(includes)g(argumen)m(ts)i(to)f(builtin)g +(commands)f(suc)m(h)h(as)150 1323 y Ft(declare)e Fu(that)i(accept)h +(assignmen)m(t)f(statemen)m(ts)h(\()p Fr(declaration)h +Fu(commands\).)40 b(When)28 b(`)p Ft(+=)p Fu(')h(is)f(applied)150 +1433 y(to)d(a)f(v)-5 b(ariable)24 b(for)g(whic)m(h)f(the)h +Fr(in)m(teger)32 b Fu(attribute)24 b(has)g(b)s(een)f(set,)j +Fr(v)-5 b(alue)29 b Fu(is)24 b(ev)-5 b(aluated)25 b(as)f(an)g +(arithmetic)150 1542 y(expression)30 b(and)f(added)g(to)i(the)f(v)-5 +b(ariable's)30 b(curren)m(t)g(v)-5 b(alue,)31 b(whic)m(h)e(is)h(also)h +(ev)-5 b(aluated.)42 b(When)29 b(`)p Ft(+=)p Fu(')h(is)150 +1652 y(applied)25 b(to)h(an)f(arra)m(y)h(v)-5 b(ariable)26 +b(using)f(comp)s(ound)f(assignmen)m(t)i(\(see)g(Section)g(6.7)g([Arra)m +(ys],)h(page)f(91\),)150 1761 y(the)33 b(v)-5 b(ariable's)33 +b(v)-5 b(alue)33 b(is)g(not)g(unset)f(\(as)h(it)g(is)g(when)e(using)i +(`)p Ft(=)p Fu('\),)g(and)f(new)g(v)-5 b(alues)33 b(are)g(app)s(ended)e +(to)150 1871 y(the)26 b(arra)m(y)h(b)s(eginning)e(at)i(one)f(greater)h +(than)f(the)g(arra)m(y's)h(maxim)m(um)f(index)f(\(for)i(indexed)e(arra) +m(ys\),)j(or)150 1980 y(added)c(as)i(additional)g(k)m(ey-v)-5 +b(alue)26 b(pairs)f(in)g(an)g(asso)s(ciativ)m(e)j(arra)m(y)-8 +b(.)40 b(When)24 b(applied)h(to)h(a)g(string-v)-5 b(alued)150 +2090 y(v)g(ariable,)31 b Fr(v)-5 b(alue)36 b Fu(is)31 +b(expanded)e(and)h(app)s(ended)f(to)i(the)f(v)-5 b(ariable's)32 +b(v)-5 b(alue.)275 2237 y(A)28 b(v)-5 b(ariable)29 b(can)f(b)s(e)f +(assigned)i(the)f Fr(nameref)45 b Fu(attribute)29 b(using)f(the)g +Ft(-n)f Fu(option)i(to)g(the)f Ft(declare)e Fu(or)150 +2347 y Ft(local)f Fu(builtin)h(commands)g(\(see)i(Section)f(4.2)h +([Bash)f(Builtins],)h(page)f(49\))h(to)f(create)i(a)e +Fr(nameref)p Fu(,)g(or)g(a)150 2457 y(reference)f(to)g(another)f(v)-5 +b(ariable.)40 b(This)24 b(allo)m(ws)j(v)-5 b(ariables)26 +b(to)g(b)s(e)e(manipulated)h(indirectly)-8 b(.)40 b(Whenev)m(er)150 +2566 y(the)31 b(nameref)g(v)-5 b(ariable)32 b(is)f(referenced,)g +(assigned)h(to,)g(unset,)f(or)g(has)f(its)i(attributes)f(mo)s(di\014ed) +f(\(other)150 2676 y(than)c(using)g(or)h(c)m(hanging)g(the)g(nameref)f +(attribute)i(itself)7 b(\),)29 b(the)d(op)s(eration)h(is)g(actually)h +(p)s(erformed)d(on)150 2785 y(the)31 b(v)-5 b(ariable)31 +b(sp)s(eci\014ed)f(b)m(y)g(the)h(nameref)f(v)-5 b(ariable's)31 +b(v)-5 b(alue.)42 b(A)30 b(nameref)g(is)h(commonly)g(used)e(within)150 +2895 y(shell)h(functions)g(to)h(refer)f(to)h(a)f(v)-5 +b(ariable)31 b(whose)f(name)h(is)f(passed)g(as)g(an)g(argumen)m(t)h(to) +g(the)f(function.)150 3005 y(F)-8 b(or)31 b(instance,)g(if)g(a)g(v)-5 +b(ariable)31 b(name)f(is)h(passed)e(to)j(a)e(shell)h(function)f(as)h +(its)f(\014rst)g(argumen)m(t,)h(running)390 3152 y Ft(declare)46 +b(-n)h(ref=$1)150 3299 y Fu(inside)31 b(the)h(function)f(creates)i(a)g +(nameref)e(v)-5 b(ariable)32 b Fr(ref)49 b Fu(whose)32 +b(v)-5 b(alue)32 b(is)g(the)f(v)-5 b(ariable)33 b(name)e(passed)150 +3409 y(as)e(the)h(\014rst)e(argumen)m(t.)41 b(References)30 +b(and)e(assignmen)m(ts)i(to)g Fr(ref)p Fu(,)f(and)g(c)m(hanges)h(to)g +(its)f(attributes,)i(are)150 3518 y(treated)g(as)f(references,)g +(assignmen)m(ts,)h(and)e(attribute)i(mo)s(di\014cations)f(to)h(the)f(v) +-5 b(ariable)30 b(whose)g(name)150 3628 y(w)m(as)h(passed)f(as)g +Ft($1)p Fu(.)275 3775 y(If)h(the)g(con)m(trol)i(v)-5 +b(ariable)32 b(in)g(a)f Ft(for)g Fu(lo)s(op)h(has)f(the)g(nameref)h +(attribute,)g(the)g(list)g(of)g(w)m(ords)f(can)h(b)s(e)150 +3885 y(a)h(list)h(of)f(shell)g(v)-5 b(ariables,)34 b(and)e(a)i(name)f +(reference)g(will)g(b)s(e)f(established)h(for)g(eac)m(h)h(w)m(ord)e(in) +h(the)g(list,)150 3995 y(in)c(turn,)g(when)g(the)h(lo)s(op)g(is)g +(executed.)41 b(Arra)m(y)30 b(v)-5 b(ariables)30 b(cannot)h(b)s(e)e +(giv)m(en)h(the)g(nameref)g(attribute.)150 4104 y(Ho)m(w)m(ev)m(er,)39 +b(nameref)d(v)-5 b(ariables)36 b(can)g(reference)g(arra)m(y)g(v)-5 +b(ariables)37 b(and)e(subscripted)f(arra)m(y)i(v)-5 b(ariables.)150 +4214 y(Namerefs)36 b(can)f(b)s(e)g(unset)g(using)g(the)h +Ft(-n)e Fu(option)i(to)g(the)g Ft(unset)e Fu(builtin)h(\(see)h(Section) +g(4.1)h([Bourne)150 4323 y(Shell)43 b(Builtins],)j(page)e(42\).)79 +b(Otherwise,)45 b(if)e Ft(unset)e Fu(is)i(executed)h(with)e(the)h(name) +g(of)g(a)g(nameref)150 4433 y(v)-5 b(ariable)31 b(as)g(an)f(argumen)m +(t,)h(the)g(v)-5 b(ariable)31 b(referenced)f(b)m(y)g(the)h(nameref)f(v) +-5 b(ariable)31 b(will)g(b)s(e)f(unset.)150 4645 y Fk(3.4.1)63 +b(P)m(ositional)41 b(P)m(arameters)150 4792 y Fu(A)28 b Fr(p)s(ositional)h(parameter)35 b Fu(is)28 b(a)g(parameter)g(denoted) g(b)m(y)g(one)g(or)g(more)g(digits,)h(other)g(than)e(the)h(single)150 -4682 y(digit)34 b Ft(0)p Fu(.)48 b(P)m(ositional)36 b(parameters)d(are) +4902 y(digit)34 b Ft(0)p Fu(.)48 b(P)m(ositional)36 b(parameters)d(are) g(assigned)h(from)e(the)i(shell's)f(argumen)m(ts)g(when)f(it)i(is)f(in) -m(v)m(ok)m(ed,)150 4792 y(and)38 b(ma)m(y)i(b)s(e)e(reassigned)i(using) +m(v)m(ok)m(ed,)150 5011 y(and)38 b(ma)m(y)i(b)s(e)e(reassigned)i(using) e(the)h Ft(set)g Fu(builtin)f(command.)67 b(P)m(ositional)41 -b(parameter)e Ft(N)g Fu(ma)m(y)h(b)s(e)150 4902 y(referenced)34 +b(parameter)e Ft(N)g Fu(ma)m(y)h(b)s(e)150 5121 y(referenced)34 b(as)h Ft(${N})p Fu(,)g(or)f(as)h Ft($N)e Fu(when)h Ft(N)g Fu(consists)h(of)f(a)h(single)g(digit.)54 b(P)m(ositional)37 -b(parameters)d(ma)m(y)150 5011 y(not)j(b)s(e)f(assigned)h(to)g(with)f +b(parameters)d(ma)m(y)150 5230 y(not)j(b)s(e)f(assigned)h(to)g(with)f (assignmen)m(t)i(statemen)m(ts.)61 b(The)36 b Ft(set)g Fu(and)g Ft(shift)f Fu(builtins)h(are)h(used)f(to)150 -5121 y(set)k(and)f(unset)f(them)i(\(see)g(Chapter)f(4)g([Shell)h -(Builtin)g(Commands],)h(page)f(41\).)68 b(The)39 b(p)s(ositional)150 -5230 y(parameters)44 b(are)g(temp)s(orarily)g(replaced)h(when)e(a)h -(shell)g(function)g(is)g(executed)g(\(see)h(Section)g(3.3)150 -5340 y([Shell)30 b(F)-8 b(unctions],)32 b(page)f(17\).)p +5340 y(set)k(and)f(unset)f(them)i(\(see)g(Chapter)f(4)g([Shell)h +(Builtin)g(Commands],)h(page)f(42\).)68 b(The)39 b(p)s(ositional)p eop end %%Page: 20 26 TeXDict begin 20 25 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(20)275 299 -y(When)27 b(a)i(p)s(ositional)g(parameter)g(consisting)f(of)h(more)f +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(20)150 299 +y(parameters)44 b(are)g(temp)s(orarily)g(replaced)h(when)e(a)h(shell)g +(function)g(is)g(executed)g(\(see)h(Section)g(3.3)150 +408 y([Shell)30 b(F)-8 b(unctions],)32 b(page)f(17\).)275 +540 y(When)c(a)i(p)s(ositional)g(parameter)g(consisting)f(of)h(more)f (than)g(a)g(single)h(digit)g(is)f(expanded,)g(it)h(m)m(ust)150 -408 y(b)s(e)h(enclosed)h(in)f(braces.)150 605 y Fk(3.4.2)63 -b(Sp)s(ecial)41 b(P)m(arameters)150 752 y Fu(The)d(shell)g(treats)h +650 y(b)s(e)h(enclosed)h(in)f(braces.)150 844 y Fk(3.4.2)63 +b(Sp)s(ecial)41 b(P)m(arameters)150 991 y Fu(The)d(shell)g(treats)h (sev)m(eral)g(parameters)f(sp)s(ecially)-8 b(.)65 b(These)38 b(parameters)h(ma)m(y)f(only)g(b)s(e)g(referenced;)150 -862 y(assignmen)m(t)31 b(to)g(them)g(is)f(not)h(allo)m(w)m(ed.)150 -1018 y Ft(*)432 b Fu(\($*\))38 b(Expands)d(to)i(the)f(p)s(ositional)h +1101 y(assignmen)m(t)31 b(to)g(them)g(is)f(not)h(allo)m(w)m(ed.)150 +1255 y Ft(*)432 b Fu(\($*\))38 b(Expands)d(to)i(the)f(p)s(ositional)h (parameters,)h(starting)f(from)f(one.)59 b(When)36 b(the)g(ex-)630 -1128 y(pansion)h(is)h(not)g(within)f(double)g(quotes,)j(eac)m(h)f(p)s -(ositional)f(parameter)g(expands)f(to)i(a)630 1237 y(separate)e(w)m +1365 y(pansion)h(is)h(not)g(within)f(double)g(quotes,)j(eac)m(h)f(p)s +(ositional)f(parameter)g(expands)f(to)i(a)630 1474 y(separate)e(w)m (ord.)56 b(In)35 b(con)m(texts)i(where)e(it)h(is)g(p)s(erformed,)g -(those)g(w)m(ords)f(are)h(sub)5 b(ject)35 b(to)630 1347 +(those)g(w)m(ords)f(are)h(sub)5 b(ject)35 b(to)630 1584 y(further)h(w)m(ord)h(splitting)h(and)f(pathname)g(expansion.)61 -b(When)38 b(the)f(expansion)g(o)s(ccurs)630 1457 y(within)25 +b(When)38 b(the)f(expansion)g(o)s(ccurs)630 1694 y(within)25 b(double)h(quotes,)h(it)f(expands)f(to)i(a)f(single)g(w)m(ord)f(with)h -(the)g(v)-5 b(alue)26 b(of)g(eac)m(h)h(param-)630 1566 +(the)g(v)-5 b(alue)26 b(of)g(eac)m(h)h(param-)630 1803 y(eter)32 b(separated)h(b)m(y)e(the)h(\014rst)f(c)m(haracter)i(of)f (the)g Ft(IFS)f Fu(sp)s(ecial)h(v)-5 b(ariable.)45 b(That)32 -b(is,)g Ft("$*")630 1676 y Fu(is)f(equiv)-5 b(alen)m(t)32 +b(is,)g Ft("$*")630 1913 y Fu(is)f(equiv)-5 b(alen)m(t)32 b(to)g Ft("$1)p Fj(c)p Ft($2)p Fj(c)p Ft(...)m(")p Fu(,)f(where)g Fr(c)37 b Fu(is)31 b(the)g(\014rst)f(c)m(haracter)j(of)e(the)g(v)-5 -b(alue)32 b(of)f(the)630 1785 y Ft(IFS)e Fu(v)-5 b(ariable.)41 +b(alue)32 b(of)f(the)630 2022 y Ft(IFS)e Fu(v)-5 b(ariable.)41 b(If)29 b Ft(IFS)g Fu(is)h(unset,)f(the)h(parameters)g(are)g(separated) -g(b)m(y)g(spaces.)41 b(If)29 b Ft(IFS)g Fu(is)630 1895 +g(b)m(y)g(spaces.)41 b(If)29 b Ft(IFS)g Fu(is)630 2132 y(n)m(ull,)i(the)f(parameters)h(are)g(joined)f(without)g(in)m(terv)m -(ening)i(separators.)150 2052 y Ft(@)432 b Fu(\($@\))35 +(ening)i(separators.)150 2286 y Ft(@)432 b Fu(\($@\))35 b(Expands)e(to)i(the)g(p)s(ositional)g(parameters,)h(starting)f(from)f -(one.)53 b(When)34 b(the)g(ex-)630 2161 y(pansion)41 +(one.)53 b(When)34 b(the)g(ex-)630 2396 y(pansion)41 b(o)s(ccurs)g(within)f(double)h(quotes,)k(eac)m(h)d(parameter)g -(expands)e(to)i(a)g(separate)630 2271 y(w)m(ord.)50 b(That)34 +(expands)e(to)i(a)g(separate)630 2506 y(w)m(ord.)50 b(That)34 b(is,)g Ft("$@")f Fu(is)g(equiv)-5 b(alen)m(t)35 b(to)g Ft("$1")29 b("$2")g(...)o Fu(.)51 b(If)33 b(the)h(double-quoted)f(ex-) -630 2380 y(pansion)38 b(o)s(ccurs)h(within)f(a)h(w)m(ord,)i(the)e +630 2615 y(pansion)38 b(o)s(ccurs)h(within)f(a)h(w)m(ord,)i(the)e (expansion)g(of)g(the)g(\014rst)f(parameter)h(is)g(joined)630 -2490 y(with)i(the)h(b)s(eginning)e(part)i(of)f(the)h(original)g(w)m -(ord,)i(and)d(the)h(expansion)f(of)g(the)h(last)630 2600 +2725 y(with)i(the)h(b)s(eginning)e(part)i(of)f(the)h(original)g(w)m +(ord,)i(and)d(the)h(expansion)f(of)g(the)h(last)630 2834 y(parameter)31 b(is)f(joined)g(with)f(the)i(last)g(part)e(of)i(the)f (original)h(w)m(ord.)40 b(When)30 b(there)h(are)f(no)630 -2709 y(p)s(ositional)e(parameters,)h Ft("$@")d Fu(and)h +2944 y(p)s(ositional)e(parameters,)h Ft("$@")d Fu(and)h Ft($@)f Fu(expand)h(to)h(nothing)f(\(i.e.,)j(they)e(are)f(remo)m(v)m -(ed\).)150 2866 y Ft(#)432 b Fu(\($#\))31 b(Expands)e(to)i(the)g(n)m +(ed\).)150 3098 y Ft(#)432 b Fu(\($#\))31 b(Expands)e(to)i(the)g(n)m (um)m(b)s(er)e(of)h(p)s(ositional)i(parameters)e(in)g(decimal.)150 -3022 y Ft(?)432 b Fu(\($?\))88 b(Expands)45 b(to)h(the)g(exit)h(status) +3253 y Ft(?)432 b Fu(\($?\))88 b(Expands)45 b(to)h(the)g(exit)h(status) f(of)g(the)g(most)h(recen)m(tly)g(executed)g(foreground)630 -3132 y(pip)s(eline.)150 3289 y Ft(-)432 b Fu(\($-,)24 +3362 y(pip)s(eline.)150 3517 y Ft(-)432 b Fu(\($-,)24 b(a)e(h)m(yphen.\))37 b(Expands)20 b(to)i(the)f(curren)m(t)h(option)f (\015ags)h(as)f(sp)s(eci\014ed)g(up)s(on)f(in)m(v)m(o)s(cation,)630 -3398 y(b)m(y)38 b(the)h Ft(set)f Fu(builtin)g(command,)j(or)d(those)i +3626 y(b)m(y)38 b(the)h Ft(set)f Fu(builtin)g(command,)j(or)d(those)i (set)f(b)m(y)f(the)h(shell)g(itself)g(\(suc)m(h)g(as)g(the)g -Ft(-i)630 3508 y Fu(option\).)150 3665 y Ft($)432 b Fu(\($$\))31 +Ft(-i)630 3736 y Fu(option\).)150 3890 y Ft($)432 b Fu(\($$\))31 b(Expands)d(to)j(the)e(pro)s(cess)h Fm(id)f Fu(of)h(the)g(shell.)41 b(In)28 b(a)i Ft(\(\))f Fu(subshell,)h(it)g(expands)e(to)j(the)630 -3774 y(pro)s(cess)f Fm(id)g Fu(of)h(the)g(in)m(v)m(oking)g(shell,)g -(not)g(the)f(subshell.)150 3931 y Ft(!)432 b Fu(\($!\))51 +4000 y(pro)s(cess)f Fm(id)g Fu(of)h(the)g(in)m(v)m(oking)g(shell,)g +(not)g(the)f(subshell.)150 4154 y Ft(!)432 b Fu(\($!\))51 b(Expands)32 b(to)i(the)g(pro)s(cess)f Fm(id)h Fu(of)f(the)h(job)f (most)h(recen)m(tly)h(placed)f(in)m(to)g(the)g(bac)m(k-)630 -4040 y(ground,)26 b(whether)g(executed)g(as)h(an)f(async)m(hronous)f +4264 y(ground,)26 b(whether)g(executed)g(as)h(an)f(async)m(hronous)f (command)h(or)g(using)g(the)g Ft(bg)f Fu(builtin)630 -4150 y(\(see)31 b(Section)h(7.2)f([Job)f(Con)m(trol)h(Builtins],)g -(page)h(98\).)150 4307 y Ft(0)432 b Fu(\($0\))46 b(Expands)d(to)i(the)g -(name)g(of)f(the)h(shell)g(or)f(shell)h(script.)83 b(This)44 -b(is)g(set)h(at)h(shell)630 4416 y(initialization.)d(If)27 +4374 y(\(see)31 b(Section)h(7.2)f([Job)f(Con)m(trol)h(Builtins],)g +(page)h(101\).)150 4528 y Ft(0)432 b Fu(\($0\))46 b(Expands)d(to)i(the) +g(name)g(of)f(the)h(shell)g(or)f(shell)h(script.)83 b(This)44 +b(is)g(set)h(at)h(shell)630 4638 y(initialization.)d(If)27 b(Bash)h(is)g(in)m(v)m(ok)m(ed)h(with)e(a)i(\014le)e(of)h(commands)g -(\(see)g(Section)h(3.8)g([Shell)630 4526 y(Scripts],)g(page)g(39\),)h +(\(see)g(Section)h(3.8)g([Shell)630 4747 y(Scripts],)g(page)g(40\),)h Ft($0)e Fu(is)h(set)g(to)g(the)f(name)h(of)f(that)h(\014le.)41 -b(If)28 b(Bash)g(is)h(started)g(with)f(the)630 4635 y +b(If)28 b(Bash)g(is)h(started)g(with)f(the)630 4857 y Ft(-c)i Fu(option)h(\(see)h(Section)g(6.1)f([In)m(v)m(oking)h(Bash],)g -(page)f(80\),)i(then)d Ft($0)g Fu(is)h(set)g(to)h(the)f(\014rst)630 -4745 y(argumen)m(t)g(after)g(the)g(string)g(to)g(b)s(e)f(executed,)i +(page)f(82\),)i(then)d Ft($0)g Fu(is)h(set)g(to)h(the)f(\014rst)630 +4966 y(argumen)m(t)g(after)g(the)g(string)g(to)g(b)s(e)f(executed,)i (if)f(one)g(is)f(presen)m(t.)42 b(Otherwise,)31 b(it)g(is)f(set)630 -4855 y(to)h(the)g(\014lename)f(used)g(to)h(in)m(v)m(ok)m(e)h(Bash,)f -(as)g(giv)m(en)g(b)m(y)f(argumen)m(t)h(zero.)150 5011 -y Ft(_)432 b Fu(\($)p 716 5011 28 4 v 41 w(,)41 b(an)e(underscore.\))67 +5076 y(to)h(the)g(\014lename)f(used)g(to)h(in)m(v)m(ok)m(e)h(Bash,)f +(as)g(giv)m(en)g(b)m(y)f(argumen)m(t)h(zero.)150 5230 +y Ft(_)432 b Fu(\($)p 716 5230 28 4 v 41 w(,)41 b(an)e(underscore.\))67 b(A)m(t)40 b(shell)f(startup,)i(set)f(to)g(the)f(absolute)h(pathname)f -(used)f(to)630 5121 y(in)m(v)m(ok)m(e)43 b(the)e(shell)g(or)g(shell)g +(used)f(to)630 5340 y(in)m(v)m(ok)m(e)43 b(the)e(shell)g(or)g(shell)g (script)g(b)s(eing)f(executed)i(as)f(passed)g(in)f(the)h(en)m(vironmen) -m(t)630 5230 y(or)34 b(argumen)m(t)g(list.)52 b(Subsequen)m(tly)-8 -b(,)34 b(expands)f(to)i(the)f(last)h(argumen)m(t)f(to)g(the)g(previous) -630 5340 y(command,)g(after)f(expansion.)48 b(Also)34 -b(set)g(to)f(the)g(full)g(pathname)g(used)f(to)i(in)m(v)m(ok)m(e)h(eac) -m(h)p eop end +m(t)p eop end %%Page: 21 27 TeXDict begin 21 26 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(21)630 299 -y(command)29 b(executed)h(and)f(placed)g(in)g(the)h(en)m(vironmen)m(t)f -(exp)s(orted)g(to)h(that)g(command.)630 408 y(When)g(c)m(hec)m(king)i -(mail,)g(this)e(parameter)h(holds)f(the)g(name)h(of)f(the)h(mail)g -(\014le.)150 639 y Fs(3.5)68 b(Shell)45 b(Expansions)150 -799 y Fu(Expansion)27 b(is)i(p)s(erformed)d(on)i(the)g(command)g(line)h -(after)f(it)h(has)f(b)s(een)f(split)h(in)m(to)i Ft(token)p -Fu(s.)38 b(There)28 b(are)150 908 y(sev)m(en)j(kinds)e(of)i(expansion)f -(p)s(erformed:)225 1042 y Fq(\017)60 b Fu(brace)31 b(expansion)225 -1176 y Fq(\017)60 b Fu(tilde)31 b(expansion)225 1309 -y Fq(\017)60 b Fu(parameter)31 b(and)f(v)-5 b(ariable)31 -b(expansion)225 1443 y Fq(\017)60 b Fu(command)30 b(substitution)225 -1577 y Fq(\017)60 b Fu(arithmetic)32 b(expansion)225 -1710 y Fq(\017)60 b Fu(w)m(ord)30 b(splitting)225 1844 -y Fq(\017)60 b Fu(\014lename)31 b(expansion)275 2002 -y(The)24 b(order)h(of)h(expansions)f(is:)39 b(brace)25 +y(or)34 b(argumen)m(t)g(list.)52 b(Subsequen)m(tly)-8 +b(,)34 b(expands)f(to)i(the)f(last)h(argumen)m(t)f(to)g(the)g(previous) +630 408 y(command,)g(after)f(expansion.)48 b(Also)34 +b(set)g(to)f(the)g(full)g(pathname)g(used)f(to)i(in)m(v)m(ok)m(e)h(eac) +m(h)630 518 y(command)29 b(executed)h(and)f(placed)g(in)g(the)h(en)m +(vironmen)m(t)f(exp)s(orted)g(to)h(that)g(command.)630 +628 y(When)g(c)m(hec)m(king)i(mail,)g(this)e(parameter)h(holds)f(the)g +(name)h(of)f(the)h(mail)g(\014le.)150 878 y Fs(3.5)68 +b(Shell)45 b(Expansions)150 1037 y Fu(Expansion)27 b(is)i(p)s(erformed) +d(on)i(the)g(command)g(line)h(after)f(it)h(has)f(b)s(een)f(split)h(in)m +(to)i Ft(token)p Fu(s.)38 b(There)28 b(are)150 1147 y(sev)m(en)j(kinds) +e(of)i(expansion)f(p)s(erformed:)225 1287 y Fq(\017)60 +b Fu(brace)31 b(expansion)225 1425 y Fq(\017)60 b Fu(tilde)31 +b(expansion)225 1562 y Fq(\017)60 b Fu(parameter)31 b(and)f(v)-5 +b(ariable)31 b(expansion)225 1700 y Fq(\017)60 b Fu(command)30 +b(substitution)225 1837 y Fq(\017)60 b Fu(arithmetic)32 +b(expansion)225 1975 y Fq(\017)60 b Fu(w)m(ord)30 b(splitting)225 +2112 y Fq(\017)60 b Fu(\014lename)31 b(expansion)275 +2281 y(The)24 b(order)h(of)h(expansions)f(is:)39 b(brace)25 b(expansion;)j(tilde)e(expansion,)g(parameter)g(and)f(v)-5 -b(ariable)26 b(ex-)150 2111 y(pansion,)j(arithmetic)i(expansion,)f(and) +b(ariable)26 b(ex-)150 2391 y(pansion,)j(arithmetic)i(expansion,)f(and) f(command)g(substitution)g(\(done)g(in)h(a)f(left-to-righ)m(t)k -(fashion\);)150 2221 y(w)m(ord)d(splitting;)h(and)f(\014lename)h -(expansion.)275 2355 y(On)42 b(systems)h(that)h(can)g(supp)s(ort)e(it,) +(fashion\);)150 2500 y(w)m(ord)d(splitting;)h(and)f(\014lename)h +(expansion.)275 2641 y(On)42 b(systems)h(that)h(can)g(supp)s(ort)e(it,) 47 b(there)d(is)f(an)h(additional)g(expansion)f(a)m(v)-5 -b(ailable:)69 b Fr(pro)s(cess)150 2464 y(substitution)p +b(ailable:)69 b Fr(pro)s(cess)150 2750 y(substitution)p Fu(.)50 b(This)33 b(is)h(p)s(erformed)e(at)j(the)f(same)g(time)g(as)g (tilde,)i(parameter,)f(v)-5 b(ariable,)35 b(and)f(arith-)150 -2574 y(metic)d(expansion)g(and)e(command)i(substitution.)275 -2707 y(Only)k(brace)i(expansion,)h(w)m(ord)e(splitting,)j(and)d +2860 y(metic)d(expansion)g(and)e(command)i(substitution.)275 +3001 y(After)f(these)h(expansions)f(are)g(p)s(erformed,)f(quote)i(c)m +(haracters)h(presen)m(t)e(in)g(the)g(original)i(w)m(ord)e(are)150 +3110 y(remo)m(v)m(ed)h(unless)f(they)h(ha)m(v)m(e)g(b)s(een)f(quoted)g +(themselv)m(es)i(\()p Fr(quote)f(remo)m(v)-5 b(al)t Fu(\).)275 +3251 y(Only)35 b(brace)i(expansion,)h(w)m(ord)e(splitting,)j(and)d (\014lename)g(expansion)g(can)h(c)m(hange)h(the)e(n)m(um)m(b)s(er)150 -2817 y(of)h(w)m(ords)f(of)g(the)h(expansion;)i(other)e(expansions)f +3360 y(of)h(w)m(ords)f(of)g(the)h(expansion;)i(other)e(expansions)f (expand)g(a)h(single)g(w)m(ord)f(to)h(a)g(single)g(w)m(ord.)58 -b(The)150 2927 y(only)32 b(exceptions)i(to)f(this)f(are)h(the)f +b(The)150 3470 y(only)32 b(exceptions)i(to)f(this)f(are)h(the)f (expansions)g(of)h Ft("$@")e Fu(\(see)i(Section)g(3.4.2)h([Sp)s(ecial)f -(P)m(arameters],)150 3036 y(page)e(20\))h(and)d Ft("${)p +(P)m(arameters],)150 3580 y(page)e(20\))h(and)d Ft("${)p Fj(name)p Ft([@]}")e Fu(\(see)32 b(Section)f(6.7)g([Arra)m(ys],)h(page) -f(89\).)275 3170 y(After)41 b(all)i(expansions,)h Ft(quote)29 +f(91\).)275 3720 y(After)41 b(all)i(expansions,)h Ft(quote)29 b(removal)40 b Fu(\(see)i(Section)h(3.5.9)g([Quote)f(Remo)m(v)-5 -b(al],)47 b(page)42 b(31\))h(is)150 3279 y(p)s(erformed.)150 -3477 y Fk(3.5.1)63 b(Brace)40 b(Expansion)150 3624 y +b(al],)47 b(page)42 b(32\))h(is)150 3830 y(p)s(erformed.)150 +4035 y Fk(3.5.1)63 b(Brace)40 b(Expansion)150 4182 y Fu(Brace)32 b(expansion)f(is)f(a)i(mec)m(hanism)f(b)m(y)f(whic)m(h)h (arbitrary)f(strings)h(ma)m(y)g(b)s(e)f(generated.)43 -b(This)30 b(mec)m(h-)150 3733 y(anism)35 b(is)h(similar)f(to)h +b(This)30 b(mec)m(h-)150 4292 y(anism)35 b(is)h(similar)f(to)h Fr(\014lename)g(expansion)f Fu(\(see)i(Section)f(3.5.8)h([Filename)g -(Expansion],)f(page)g(30\),)150 3843 y(but)26 b(the)h(\014lenames)g +(Expansion],)f(page)g(30\),)150 4401 y(but)26 b(the)h(\014lenames)g (generated)h(need)f(not)g(exist.)40 b(P)m(atterns)28 b(to)f(b)s(e)g(brace)g(expanded)f(tak)m(e)i(the)f(form)g(of)150 -3953 y(an)j(optional)h Fr(pream)m(ble)p Fu(,)g(follo)m(w)m(ed)g(b)m(y)f +4511 y(an)j(optional)h Fr(pream)m(ble)p Fu(,)g(follo)m(w)m(ed)g(b)m(y)f (either)g(a)h(series)f(of)g(comma-separated)i(strings)d(or)h(a)h -(sequence)150 4062 y(expression)36 b(b)s(et)m(w)m(een)g(a)h(pair)e(of)i +(sequence)150 4620 y(expression)36 b(b)s(et)m(w)m(een)g(a)h(pair)e(of)i (braces,)g(follo)m(w)m(ed)h(b)m(y)e(an)g(optional)h Fr(p)s(ostscript)p -Fu(.)57 b(The)36 b(pream)m(ble)g(is)150 4172 y(pre\014xed)28 +Fu(.)57 b(The)36 b(pream)m(ble)g(is)150 4730 y(pre\014xed)28 b(to)h(eac)m(h)h(string)f(con)m(tained)h(within)e(the)h(braces,)g(and)g (the)g(p)s(ostscript)f(is)h(then)f(app)s(ended)f(to)150 -4281 y(eac)m(h)32 b(resulting)e(string,)h(expanding)e(left)j(to)f(righ) -m(t.)275 4415 y(Brace)37 b(expansions)f(ma)m(y)h(b)s(e)f(nested.)59 +4840 y(eac)m(h)32 b(resulting)e(string,)h(expanding)e(left)j(to)f(righ) +m(t.)275 4980 y(Brace)37 b(expansions)f(ma)m(y)h(b)s(e)f(nested.)59 b(The)36 b(results)g(of)h(eac)m(h)g(expanded)f(string)g(are)h(not)g -(sorted;)150 4525 y(left)31 b(to)g(righ)m(t)g(order)f(is)g(preserv)m -(ed.)41 b(F)-8 b(or)31 b(example,)390 4658 y Ft(bash$)46 -b(echo)h(a{d,c,b}e)390 4768 y(ade)g(ace)g(abe)275 4902 -y Fu(A)23 b(sequence)g(expression)g(tak)m(es)i(the)e(form)g +(sorted;)150 5090 y(left)31 b(to)g(righ)m(t)g(order)f(is)g(preserv)m +(ed.)41 b(F)-8 b(or)31 b(example,)390 5230 y Ft(bash$)46 +b(echo)h(a{d,c,b}e)390 5340 y(ade)g(ace)g(abe)p eop end +%%Page: 22 28 +TeXDict begin 22 27 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(22)275 299 +y(A)23 b(sequence)g(expression)g(tak)m(es)i(the)e(form)g Ft({)p Fj(x)p Ft(..)p Fj(y)p Ft([..)p Fj(incr)p Ft(]})p Fu(,)e(where)i Fr(x)29 b Fu(and)23 b Fr(y)30 b Fu(are)24 -b(either)g(in)m(tegers)150 5011 y(or)42 b(single)h(c)m(haracters,)48 +b(either)g(in)m(tegers)150 408 y(or)42 b(single)h(c)m(haracters,)48 b(and)41 b Fr(incr)p Fu(,)46 b(an)c(optional)i(incremen)m(t,)i(is)c(an) -h(in)m(teger.)78 b(When)42 b(in)m(tegers)i(are)150 5121 +h(in)m(teger.)78 b(When)42 b(in)m(tegers)i(are)150 518 y(supplied,)f(the)f(expression)f(expands)f(to)i(eac)m(h)h(n)m(um)m(b)s (er)d(b)s(et)m(w)m(een)i Fr(x)47 b Fu(and)41 b Fr(y)p -Fu(,)j(inclusiv)m(e.)75 b(Supplied)150 5230 y(in)m(tegers)33 +Fu(,)j(inclusiv)m(e.)75 b(Supplied)150 628 y(in)m(tegers)33 b(ma)m(y)e(b)s(e)g(pre\014xed)f(with)h(`)p Ft(0)p Fu(')h(to)g(force)g (eac)m(h)g(term)g(to)g(ha)m(v)m(e)g(the)g(same)g(width.)42 -b(When)31 b(either)150 5340 y Fr(x)43 b Fu(or)36 b Fr(y)44 +b(When)31 b(either)150 737 y Fr(x)43 b Fu(or)36 b Fr(y)44 b Fu(b)s(egins)36 b(with)g(a)h(zero,)i(the)e(shell)g(attempts)g(to)g -(force)g(all)h(generated)f(terms)g(to)g(con)m(tain)h(the)p -eop end -%%Page: 22 28 -TeXDict begin 22 27 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(22)150 299 -y(same)36 b(n)m(um)m(b)s(er)e(of)i(digits,)i(zero-padding)d(where)h +(force)g(all)h(generated)f(terms)g(to)g(con)m(tain)h(the)150 +847 y(same)e(n)m(um)m(b)s(er)e(of)i(digits,)i(zero-padding)d(where)h (necessary)-8 b(.)57 b(When)35 b(c)m(haracters)i(are)f(supplied,)g(the) -150 408 y(expression)24 b(expands)g(to)h(eac)m(h)h(c)m(haracter)g +150 956 y(expression)24 b(expands)g(to)h(eac)m(h)h(c)m(haracter)g (lexicographically)h(b)s(et)m(w)m(een)e Fr(x)30 b Fu(and)24 -b Fr(y)p Fu(,)i(inclusiv)m(e,)h(using)d(the)150 518 y(default)32 -b(C)g(lo)s(cale.)48 b(Note)34 b(that)f(b)s(oth)e Fr(x)39 -b Fu(and)31 b Fr(y)40 b Fu(m)m(ust)32 b(b)s(e)g(of)g(the)h(same)f(t)m -(yp)s(e.)47 b(When)32 b(the)g(incremen)m(t)150 628 y(is)d(supplied,)g -(it)h(is)f(used)f(as)i(the)f(di\013erence)h(b)s(et)m(w)m(een)g(eac)m(h) -g(term.)41 b(The)29 b(default)g(incremen)m(t)h(is)f(1)h(or)f(-1)150 -737 y(as)i(appropriate.)275 873 y(Brace)36 b(expansion)g(is)f(p)s -(erformed)f(b)s(efore)h(an)m(y)h(other)g(expansions,)h(and)e(an)m(y)g -(c)m(haracters)i(sp)s(ecial)150 982 y(to)32 b(other)g(expansions)g(are) -g(preserv)m(ed)f(in)h(the)f(result.)45 b(It)32 b(is)g(strictly)g -(textual.)46 b(Bash)32 b(do)s(es)f(not)h(apply)150 1092 -y(an)m(y)27 b(syn)m(tactic)i(in)m(terpretation)g(to)f(the)f(con)m(text) -i(of)e(the)g(expansion)g(or)g(the)h(text)g(b)s(et)m(w)m(een)f(the)h -(braces.)150 1201 y(T)-8 b(o)37 b(a)m(v)m(oid)g(con\015icts)g(with)f -(parameter)h(expansion,)g(the)g(string)f(`)p Ft(${)p -Fu(')g(is)g(not)g(considered)g(eligible)i(for)150 1311 -y(brace)31 b(expansion.)275 1446 y(A)e(correctly-formed)i(brace)f -(expansion)f(m)m(ust)h(con)m(tain)h(unquoted)e(op)s(ening)g(and)g -(closing)i(braces,)150 1556 y(and)h(at)i(least)g(one)f(unquoted)g -(comma)g(or)g(a)h(v)-5 b(alid)33 b(sequence)g(expression.)48 -b(An)m(y)33 b(incorrectly)h(formed)150 1666 y(brace)d(expansion)f(is)g -(left)h(unc)m(hanged.)275 1801 y(A)25 b Fi({)h Fu(or)f(`)p -Ft(,)p Fu(')g(ma)m(y)h(b)s(e)f(quoted)h(with)f(a)g(bac)m(kslash)h(to)g -(prev)m(en)m(t)g(its)g(b)s(eing)f(considered)g(part)g(of)h(a)g(brace) -150 1911 y(expression.)51 b(T)-8 b(o)34 b(a)m(v)m(oid)i(con\015icts)e -(with)g(parameter)g(expansion,)h(the)f(string)g(`)p Ft(${)p -Fu(')g(is)g(not)g(considered)150 2020 y(eligible)e(for)e(brace)h -(expansion.)275 2156 y(This)f(construct)h(is)g(t)m(ypically)i(used)d -(as)h(shorthand)f(when)g(the)h(common)g(pre\014x)f(of)h(the)g(strings)g -(to)150 2265 y(b)s(e)f(generated)h(is)g(longer)g(than)f(in)g(the)g(ab)s -(o)m(v)m(e)i(example:)390 2401 y Ft(mkdir)46 b -(/usr/local/src/bash/{old,n)o(ew,)o(dist)o(,bug)o(s})275 -2536 y Fu(or)390 2672 y Ft(chown)g(root)h(/usr/{ucb/{ex,edit},lib/)o -({ex?)o(.?*,)o(how)o(_ex})o(})150 2872 y Fk(3.5.2)63 -b(Tilde)41 b(Expansion)150 3019 y Fu(If)29 b(a)h(w)m(ord)g(b)s(egins)f -(with)g(an)h(unquoted)f(tilde)h(c)m(haracter)h(\(`)p -Ft(~)p Fu('\),)g(all)g(of)f(the)g(c)m(haracters)h(up)d(to)j(the)f -(\014rst)150 3128 y(unquoted)24 b(slash)g(\(or)h(all)h(c)m(haracters,)h -(if)e(there)g(is)f(no)h(unquoted)e(slash\))i(are)g(considered)g(a)g -Fr(tilde-pre\014x)p Fu(.)150 3238 y(If)38 b(none)g(of)g(the)h(c)m -(haracters)g(in)f(the)h(tilde-pre\014x)f(are)h(quoted,)h(the)f(c)m -(haracters)h(in)d(the)i(tilde-pre\014x)150 3348 y(follo)m(wing)28 -b(the)g(tilde)f(are)h(treated)g(as)f(a)g(p)s(ossible)g -Fr(login)h(name)p Fu(.)39 b(If)27 b(this)g(login)h(name)f(is)g(the)g(n) -m(ull)g(string,)150 3457 y(the)35 b(tilde)g(is)g(replaced)g(with)f(the) -h(v)-5 b(alue)35 b(of)g(the)g Ft(HOME)e Fu(shell)i(v)-5 -b(ariable.)54 b(If)34 b Ft(HOME)g Fu(is)h(unset,)g(the)g(home)150 -3567 y(directory)e(of)g(the)f(user)g(executing)i(the)e(shell)h(is)f -(substituted)g(instead.)47 b(Otherwise,)33 b(the)g(tilde-pre\014x)150 -3676 y(is)d(replaced)h(with)f(the)h(home)f(directory)h(asso)s(ciated)h -(with)e(the)h(sp)s(eci\014ed)e(login)j(name.)275 3812 -y(If)g(the)h(tilde-pre\014x)f(is)h(`)p Ft(~+)p Fu(',)g(the)g(v)-5 -b(alue)33 b(of)g(the)g(shell)g(v)-5 b(ariable)34 b Ft(PWD)d -Fu(replaces)j(the)f(tilde-pre\014x.)47 b(If)150 3921 -y(the)31 b(tilde-pre\014x)f(is)g(`)p Ft(~-)p Fu(',)h(the)f(v)-5 -b(alue)31 b(of)g(the)f(shell)h(v)-5 b(ariable)31 b Ft(OLDPWD)p -Fu(,)e(if)h(it)h(is)g(set,)g(is)f(substituted.)275 4057 -y(If)f(the)h(c)m(haracters)h(follo)m(wing)h(the)e(tilde)g(in)g(the)g -(tilde-pre\014x)g(consist)g(of)g(a)h(n)m(um)m(b)s(er)d -Fr(N)p Fu(,)j(optionally)150 4166 y(pre\014xed)22 b(b)m(y)h(a)h(`)p -Ft(+)p Fu(')f(or)h(a)f(`)p Ft(-)p Fu(',)j(the)d(tilde-pre\014x)g(is)h -(replaced)f(with)g(the)h(corresp)s(onding)e(elemen)m(t)j(from)e(the)150 -4276 y(directory)36 b(stac)m(k,)i(as)e(it)g(w)m(ould)f(b)s(e)g(displa)m -(y)m(ed)h(b)m(y)g(the)f Ft(dirs)g Fu(builtin)g(in)m(v)m(ok)m(ed)i(with) -e(the)g(c)m(haracters)150 4386 y(follo)m(wing)40 b(tilde)f(in)g(the)f -(tilde-pre\014x)h(as)g(an)f(argumen)m(t)h(\(see)h(Section)f(6.8)h([The) -e(Directory)i(Stac)m(k],)150 4495 y(page)c(90\).)57 b(If)35 -b(the)g(tilde-pre\014x,)i(sans)e(the)h(tilde,)h(consists)f(of)g(a)f(n)m -(um)m(b)s(er)f(without)i(a)f(leading)h(`)p Ft(+)p Fu(')g(or)150 -4605 y(`)p Ft(-)p Fu(',)31 b(`)p Ft(+)p Fu(')f(is)h(assumed.)275 -4740 y(If)e(the)i(login)g(name)g(is)f(in)m(v)-5 b(alid,)31 -b(or)g(the)f(tilde)h(expansion)f(fails,)i(the)e(w)m(ord)g(is)h(left)g -(unc)m(hanged.)275 4876 y(Eac)m(h)38 b(v)-5 b(ariable)38 -b(assignmen)m(t)h(is)e(c)m(hec)m(k)m(ed)j(for)d(unquoted)g -(tilde-pre\014xes)h(immediately)g(follo)m(wing)150 4985 -y(a)d(`)p Ft(:)p Fu(')g(or)g(the)g(\014rst)f(`)p Ft(=)p -Fu('.)54 b(In)34 b(these)h(cases,)i(tilde)e(expansion)g(is)g(also)h(p)s -(erformed.)52 b(Consequen)m(tly)-8 b(,)37 b(one)150 5095 -y(ma)m(y)29 b(use)e(\014lenames)h(with)g(tildes)g(in)g(assignmen)m(ts)g -(to)h Ft(PATH)p Fu(,)f Ft(MAILPATH)p Fu(,)e(and)h Ft(CDPATH)p -Fu(,)g(and)h(the)g(shell)150 5205 y(assigns)j(the)f(expanded)g(v)-5 -b(alue.)275 5340 y(The)29 b(follo)m(wing)j(table)g(sho)m(ws)e(ho)m(w)g -(Bash)h(treats)g(unquoted)e(tilde-pre\014xes:)p eop end +b Fr(y)p Fu(,)i(inclusiv)m(e,)h(using)d(the)150 1066 +y(default)32 b(C)g(lo)s(cale.)48 b(Note)34 b(that)f(b)s(oth)e +Fr(x)39 b Fu(and)31 b Fr(y)40 b Fu(m)m(ust)32 b(b)s(e)g(of)g(the)h +(same)f(t)m(yp)s(e.)47 b(When)32 b(the)g(incremen)m(t)150 +1176 y(is)d(supplied,)g(it)h(is)f(used)f(as)i(the)f(di\013erence)h(b)s +(et)m(w)m(een)g(eac)m(h)g(term.)41 b(The)29 b(default)g(incremen)m(t)h +(is)f(1)h(or)f(-1)150 1285 y(as)i(appropriate.)275 1425 +y(Brace)36 b(expansion)g(is)f(p)s(erformed)f(b)s(efore)h(an)m(y)h +(other)g(expansions,)h(and)e(an)m(y)g(c)m(haracters)i(sp)s(ecial)150 +1535 y(to)32 b(other)g(expansions)g(are)g(preserv)m(ed)f(in)h(the)f +(result.)45 b(It)32 b(is)g(strictly)g(textual.)46 b(Bash)32 +b(do)s(es)f(not)h(apply)150 1645 y(an)m(y)27 b(syn)m(tactic)i(in)m +(terpretation)g(to)f(the)f(con)m(text)i(of)e(the)g(expansion)g(or)g +(the)h(text)g(b)s(et)m(w)m(een)f(the)h(braces.)150 1754 +y(T)-8 b(o)37 b(a)m(v)m(oid)g(con\015icts)g(with)f(parameter)h +(expansion,)g(the)g(string)f(`)p Ft(${)p Fu(')g(is)g(not)g(considered)g +(eligible)i(for)150 1864 y(brace)31 b(expansion.)275 +2004 y(A)e(correctly-formed)i(brace)f(expansion)f(m)m(ust)h(con)m(tain) +h(unquoted)e(op)s(ening)g(and)g(closing)i(braces,)150 +2113 y(and)h(at)i(least)g(one)f(unquoted)g(comma)g(or)g(a)h(v)-5 +b(alid)33 b(sequence)g(expression.)48 b(An)m(y)33 b(incorrectly)h +(formed)150 2223 y(brace)d(expansion)f(is)g(left)h(unc)m(hanged.)275 +2363 y(A)25 b Fi({)h Fu(or)f(`)p Ft(,)p Fu(')g(ma)m(y)h(b)s(e)f(quoted) +h(with)f(a)g(bac)m(kslash)h(to)g(prev)m(en)m(t)g(its)g(b)s(eing)f +(considered)g(part)g(of)h(a)g(brace)150 2473 y(expression.)51 +b(T)-8 b(o)34 b(a)m(v)m(oid)i(con\015icts)e(with)g(parameter)g +(expansion,)h(the)f(string)g(`)p Ft(${)p Fu(')g(is)g(not)g(considered) +150 2582 y(eligible)e(for)e(brace)h(expansion.)275 2723 +y(This)f(construct)h(is)g(t)m(ypically)i(used)d(as)h(shorthand)f(when)g +(the)h(common)g(pre\014x)f(of)h(the)g(strings)g(to)150 +2832 y(b)s(e)f(generated)h(is)g(longer)g(than)f(in)g(the)g(ab)s(o)m(v)m +(e)i(example:)390 2972 y Ft(mkdir)46 b(/usr/local/src/bash/{old,n)o +(ew,)o(dist)o(,bug)o(s})275 3112 y Fu(or)390 3253 y Ft(chown)g(root)h +(/usr/{ucb/{ex,edit},lib/)o({ex?)o(.?*,)o(how)o(_ex})o(})150 +3457 y Fk(3.5.2)63 b(Tilde)41 b(Expansion)150 3604 y +Fu(If)29 b(a)h(w)m(ord)g(b)s(egins)f(with)g(an)h(unquoted)f(tilde)h(c)m +(haracter)h(\(`)p Ft(~)p Fu('\),)g(all)g(of)f(the)g(c)m(haracters)h(up) +d(to)j(the)f(\014rst)150 3714 y(unquoted)24 b(slash)g(\(or)h(all)h(c)m +(haracters,)h(if)e(there)g(is)f(no)h(unquoted)e(slash\))i(are)g +(considered)g(a)g Fr(tilde-pre\014x)p Fu(.)150 3824 y(If)38 +b(none)g(of)g(the)h(c)m(haracters)g(in)f(the)h(tilde-pre\014x)f(are)h +(quoted,)h(the)f(c)m(haracters)h(in)d(the)i(tilde-pre\014x)150 +3933 y(follo)m(wing)28 b(the)g(tilde)f(are)h(treated)g(as)f(a)g(p)s +(ossible)g Fr(login)h(name)p Fu(.)39 b(If)27 b(this)g(login)h(name)f +(is)g(the)g(n)m(ull)g(string,)150 4043 y(the)35 b(tilde)g(is)g +(replaced)g(with)f(the)h(v)-5 b(alue)35 b(of)g(the)g +Ft(HOME)e Fu(shell)i(v)-5 b(ariable.)54 b(If)34 b Ft(HOME)g +Fu(is)h(unset,)g(the)g(home)150 4152 y(directory)e(of)g(the)f(user)g +(executing)i(the)e(shell)h(is)f(substituted)g(instead.)47 +b(Otherwise,)33 b(the)g(tilde-pre\014x)150 4262 y(is)d(replaced)h(with) +f(the)h(home)f(directory)h(asso)s(ciated)h(with)e(the)h(sp)s(eci\014ed) +e(login)j(name.)275 4402 y(If)g(the)h(tilde-pre\014x)f(is)h(`)p +Ft(~+)p Fu(',)g(the)g(v)-5 b(alue)33 b(of)g(the)g(shell)g(v)-5 +b(ariable)34 b Ft(PWD)d Fu(replaces)j(the)f(tilde-pre\014x.)47 +b(If)150 4512 y(the)31 b(tilde-pre\014x)f(is)g(`)p Ft(~-)p +Fu(',)h(the)f(v)-5 b(alue)31 b(of)g(the)f(shell)h(v)-5 +b(ariable)31 b Ft(OLDPWD)p Fu(,)e(if)h(it)h(is)g(set,)g(is)f +(substituted.)275 4652 y(If)f(the)h(c)m(haracters)h(follo)m(wing)h(the) +e(tilde)g(in)g(the)g(tilde-pre\014x)g(consist)g(of)g(a)h(n)m(um)m(b)s +(er)d Fr(N)p Fu(,)j(optionally)150 4761 y(pre\014xed)22 +b(b)m(y)h(a)h(`)p Ft(+)p Fu(')f(or)h(a)f(`)p Ft(-)p Fu(',)j(the)d +(tilde-pre\014x)g(is)h(replaced)f(with)g(the)h(corresp)s(onding)e +(elemen)m(t)j(from)e(the)150 4871 y(directory)36 b(stac)m(k,)i(as)e(it) +g(w)m(ould)f(b)s(e)g(displa)m(y)m(ed)h(b)m(y)g(the)f +Ft(dirs)g Fu(builtin)g(in)m(v)m(ok)m(ed)i(with)e(the)g(c)m(haracters) +150 4981 y(follo)m(wing)40 b(tilde)f(in)g(the)f(tilde-pre\014x)h(as)g +(an)f(argumen)m(t)h(\(see)h(Section)f(6.8)h([The)e(Directory)i(Stac)m +(k],)150 5090 y(page)c(93\).)57 b(If)35 b(the)g(tilde-pre\014x,)i(sans) +e(the)h(tilde,)h(consists)f(of)g(a)f(n)m(um)m(b)s(er)f(without)i(a)f +(leading)h(`)p Ft(+)p Fu(')g(or)150 5200 y(`)p Ft(-)p +Fu(',)31 b(`)p Ft(+)p Fu(')f(is)h(assumed.)275 5340 y(If)e(the)i(login) +g(name)g(is)f(in)m(v)-5 b(alid,)31 b(or)g(the)f(tilde)h(expansion)f +(fails,)i(the)e(w)m(ord)g(is)h(left)g(unc)m(hanged.)p +eop end %%Page: 23 29 TeXDict begin 23 28 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(23)150 299 -y Ft(~)432 b Fu(The)30 b(v)-5 b(alue)31 b(of)f Ft($HOME)150 -474 y(~/foo)240 b($HOME/foo)150 649 y(~fred/foo)630 759 -y Fu(The)30 b(sub)s(directory)f Ft(foo)h Fu(of)g(the)h(home)f -(directory)h(of)g(the)f(user)g Ft(fred)150 934 y(~+/foo)192 -b($PWD/foo)150 1109 y(~-/foo)g(${OLDPWD-'~-'}/foo)150 -1284 y(~)p Fj(N)384 b Fu(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g -(displa)m(y)m(ed)h(b)m(y)f(`)p Ft(dirs)g(+)p Fj(N)p Fu(')150 -1459 y Ft(~+)p Fj(N)336 b Fu(The)30 b(string)g(that)h(w)m(ould)f(b)s(e) -g(displa)m(y)m(ed)h(b)m(y)f(`)p Ft(dirs)g(+)p Fj(N)p -Fu(')150 1634 y Ft(~-)p Fj(N)336 b Fu(The)30 b(string)g(that)h(w)m -(ould)f(b)s(e)g(displa)m(y)m(ed)h(b)m(y)f(`)p Ft(dirs)g(-)p -Fj(N)p Fu(')150 1849 y Fk(3.5.3)63 b(Shell)41 b(P)m(arameter)f -(Expansion)150 1996 y Fu(The)g(`)p Ft($)p Fu(')h(c)m(haracter)i(in)m -(tro)s(duces)d(parameter)h(expansion,)j(command)d(substitution,)i(or)e -(arithmetic)150 2105 y(expansion.)d(The)22 b(parameter)h(name)f(or)g -(sym)m(b)s(ol)h(to)g(b)s(e)e(expanded)h(ma)m(y)h(b)s(e)f(enclosed)h(in) -f(braces,)i(whic)m(h)150 2215 y(are)31 b(optional)g(but)f(serv)m(e)h -(to)h(protect)f(the)g(v)-5 b(ariable)31 b(to)g(b)s(e)f(expanded)g(from) -g(c)m(haracters)i(immediately)150 2324 y(follo)m(wing)g(it)f(whic)m(h)f -(could)g(b)s(e)g(in)m(terpreted)h(as)f(part)h(of)f(the)h(name.)275 -2474 y(When)44 b(braces)i(are)f(used,)j(the)e(matc)m(hing)g(ending)f -(brace)g(is)g(the)g(\014rst)g(`)p Ft(})p Fu(')g(not)g(escap)s(ed)h(b)m -(y)f(a)150 2584 y(bac)m(kslash)40 b(or)f(within)g(a)g(quoted)g(string,) -j(and)c(not)i(within)e(an)h(em)m(b)s(edded)f(arithmetic)j(expansion,) -150 2694 y(command)30 b(substitution,)g(or)h(parameter)g(expansion.)275 -2844 y(The)40 b(basic)i(form)f(of)g(parameter)h(expansion)f(is)h($)p +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(23)275 299 +y(Eac)m(h)38 b(v)-5 b(ariable)38 b(assignmen)m(t)h(is)e(c)m(hec)m(k)m +(ed)j(for)d(unquoted)g(tilde-pre\014xes)h(immediately)g(follo)m(wing) +150 408 y(a)d(`)p Ft(:)p Fu(')g(or)g(the)g(\014rst)f(`)p +Ft(=)p Fu('.)54 b(In)34 b(these)h(cases,)i(tilde)e(expansion)g(is)g +(also)h(p)s(erformed.)52 b(Consequen)m(tly)-8 b(,)37 +b(one)150 518 y(ma)m(y)29 b(use)e(\014lenames)h(with)g(tildes)g(in)g +(assignmen)m(ts)g(to)h Ft(PATH)p Fu(,)f Ft(MAILPATH)p +Fu(,)e(and)h Ft(CDPATH)p Fu(,)g(and)h(the)g(shell)150 +628 y(assigns)j(the)f(expanded)g(v)-5 b(alue.)275 761 +y(The)29 b(follo)m(wing)j(table)g(sho)m(ws)e(ho)m(w)g(Bash)h(treats)g +(unquoted)e(tilde-pre\014xes:)150 919 y Ft(~)432 b Fu(The)30 +b(v)-5 b(alue)31 b(of)f Ft($HOME)150 1077 y(~/foo)240 +b($HOME/foo)150 1235 y(~fred/foo)630 1345 y Fu(The)30 +b(sub)s(directory)f Ft(foo)h Fu(of)g(the)h(home)f(directory)h(of)g(the) +f(user)g Ft(fred)150 1503 y(~+/foo)192 b($PWD/foo)150 +1661 y(~-/foo)g(${OLDPWD-'~-'}/foo)150 1819 y(~)p Fj(N)384 +b Fu(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g(displa)m(y)m(ed)h(b)m +(y)f(`)p Ft(dirs)g(+)p Fj(N)p Fu(')150 1977 y Ft(~+)p +Fj(N)336 b Fu(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g(displa)m(y)m +(ed)h(b)m(y)f(`)p Ft(dirs)g(+)p Fj(N)p Fu(')150 2135 +y Ft(~-)p Fj(N)336 b Fu(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g +(displa)m(y)m(ed)h(b)m(y)f(`)p Ft(dirs)g(-)p Fj(N)p Fu(')150 +2332 y Fk(3.5.3)63 b(Shell)41 b(P)m(arameter)f(Expansion)150 +2479 y Fu(The)g(`)p Ft($)p Fu(')h(c)m(haracter)i(in)m(tro)s(duces)d +(parameter)h(expansion,)j(command)d(substitution,)i(or)e(arithmetic)150 +2589 y(expansion.)d(The)22 b(parameter)h(name)f(or)g(sym)m(b)s(ol)h(to) +g(b)s(e)e(expanded)h(ma)m(y)h(b)s(e)f(enclosed)h(in)f(braces,)i(whic)m +(h)150 2699 y(are)31 b(optional)g(but)f(serv)m(e)h(to)h(protect)f(the)g +(v)-5 b(ariable)31 b(to)g(b)s(e)f(expanded)g(from)g(c)m(haracters)i +(immediately)150 2808 y(follo)m(wing)g(it)f(whic)m(h)f(could)g(b)s(e)g +(in)m(terpreted)h(as)f(part)h(of)f(the)h(name.)275 2942 +y(When)44 b(braces)i(are)f(used,)j(the)e(matc)m(hing)g(ending)f(brace)g +(is)g(the)g(\014rst)g(`)p Ft(})p Fu(')g(not)g(escap)s(ed)h(b)m(y)f(a) +150 3051 y(bac)m(kslash)40 b(or)f(within)g(a)g(quoted)g(string,)j(and)c +(not)i(within)e(an)h(em)m(b)s(edded)f(arithmetic)j(expansion,)150 +3161 y(command)30 b(substitution,)g(or)h(parameter)g(expansion.)275 +3295 y(The)40 b(basic)i(form)f(of)g(parameter)h(expansion)f(is)h($)p Fi({)p Fr(parameter)7 b Fi(})p Fu(.)74 b(The)41 b(v)-5 -b(alue)42 b(of)g Fr(parameter)48 b Fu(is)150 2953 y(substituted.)43 +b(alue)42 b(of)g Fr(parameter)48 b Fu(is)150 3404 y(substituted.)43 b(The)31 b Fr(parameter)39 b Fu(is)31 b(a)h(shell)f(parameter)h(as)g (describ)s(ed)e(ab)s(o)m(v)m(e)j(\(see)f(Section)g(3.4)h([Shell)150 -3063 y(P)m(arameters],)e(page)f(18\))h(or)e(an)g(arra)m(y)h(reference)f -(\(see)i(Section)f(6.7)g([Arra)m(ys],)g(page)g(89\).)42 -b(The)29 b(braces)150 3172 y(are)j(required)g(when)f +3514 y(P)m(arameters],)e(page)f(18\))h(or)e(an)g(arra)m(y)h(reference)f +(\(see)i(Section)f(6.7)g([Arra)m(ys],)g(page)g(91\).)42 +b(The)29 b(braces)150 3624 y(are)j(required)g(when)f Fr(parameter)39 b Fu(is)32 b(a)h(p)s(ositional)f(parameter)h(with)f -(more)g(than)g(one)g(digit,)i(or)e(when)150 3282 y Fr(parameter)37 +(more)g(than)g(one)g(digit,)i(or)e(when)150 3733 y Fr(parameter)37 b Fu(is)31 b(follo)m(w)m(ed)h(b)m(y)e(a)h(c)m(haracter)h(that)f(is)f (not)h(to)g(b)s(e)f(in)m(terpreted)g(as)h(part)f(of)h(its)f(name.)275 -3432 y(If)36 b(the)h(\014rst)f(c)m(haracter)i(of)f Fr(parameter)44 -b Fu(is)37 b(an)f(exclamation)j(p)s(oin)m(t)e(\(!\),)i(it)f(in)m(tro)s -(duces)e(a)h(lev)m(el)i(of)150 3542 y(v)-5 b(ariable)30 -b(indirection.)41 b(Bash)30 b(uses)f(the)g(v)-5 b(alue)30 -b(of)g(the)f(v)-5 b(ariable)30 b(formed)f(from)g(the)h(rest)f(of)h -Fr(parameter)150 3651 y Fu(as)c(the)g(name)g(of)g(the)h(v)-5 -b(ariable;)28 b(this)e(v)-5 b(ariable)27 b(is)f(then)f(expanded)g(and)h -(that)g(v)-5 b(alue)27 b(is)f(used)f(in)h(the)g(rest)150 -3761 y(of)34 b(the)f(substitution,)i(rather)e(than)g(the)h(v)-5 -b(alue)34 b(of)g Fr(parameter)40 b Fu(itself.)51 b(This)33 -b(is)g(kno)m(wn)g(as)h Ft(indirect)150 3871 y(expansion)p -Fu(.)78 b(The)43 b(exceptions)i(to)f(this)f(are)h(the)g(expansions)g -(of)f($)p Fi({)p Fu(!)p Fr(pre\014x)6 b Fu(*)p Fi(})45 -b Fu(and)e($)p Fi({)p Fu(!)p Fr(name)5 b Fu([@])p Fi(})150 -3980 y Fu(describ)s(ed)28 b(b)s(elo)m(w.)41 b(The)28 -b(exclamation)j(p)s(oin)m(t)f(m)m(ust)f(immediately)h(follo)m(w)g(the)g -(left)f(brace)h(in)f(order)f(to)150 4090 y(in)m(tro)s(duce)i -(indirection.)275 4240 y(In)39 b(eac)m(h)i(of)g(the)f(cases)h(b)s(elo)m +3867 y(If)k(the)h(\014rst)f(c)m(haracter)i(of)f Fr(parameter)42 +b Fu(is)35 b(an)g(exclamation)i(p)s(oin)m(t)e(\(!\),)i(and)d +Fr(parameter)42 b Fu(is)34 b(not)i(a)150 3977 y Fr(nameref)p +Fu(,)i(it)f(in)m(tro)s(duces)f(a)h(lev)m(el)h(of)f(v)-5 +b(ariable)37 b(indirection.)59 b(Bash)37 b(uses)f(the)g(v)-5 +b(alue)37 b(of)g(the)f(v)-5 b(ariable)150 4086 y(formed)22 +b(from)f(the)h(rest)h(of)f Fr(parameter)29 b Fu(as)22 +b(the)g(name)h(of)f(the)g(v)-5 b(ariable;)26 b(this)c(v)-5 +b(ariable)23 b(is)f(then)g(expanded)150 4196 y(and)34 +b(that)h(v)-5 b(alue)35 b(is)g(used)f(in)g(the)h(rest)g(of)g(the)g +(substitution,)g(rather)g(than)f(the)h(v)-5 b(alue)35 +b(of)g Fr(parameter)150 4305 y Fu(itself.)52 b(This)33 +b(is)g(kno)m(wn)h(as)g Ft(indirect)28 b(expansion)p Fu(.)48 +b(If)33 b Fr(parameter)41 b Fu(is)34 b(a)g(nameref,)h(this)e(expands)g +(to)150 4415 y(the)d(name)g(of)g(the)h(v)-5 b(ariable)30 +b(referenced)g(b)m(y)g Fr(parameter)37 b Fu(instead)31 +b(of)f(p)s(erforming)f(the)h(complete)h(indi-)150 4524 +y(rect)i(expansion.)46 b(The)32 b(exceptions)i(to)f(this)f(are)h(the)f +(expansions)g(of)h($)p Fi({)p Fu(!)p Fr(pre\014x)6 b +Fu(*)p Fi(})33 b Fu(and)f($)p Fi({)p Fu(!)p Fr(name)5 +b Fu([@])p Fi(})150 4634 y Fu(describ)s(ed)28 b(b)s(elo)m(w.)41 +b(The)28 b(exclamation)j(p)s(oin)m(t)f(m)m(ust)f(immediately)h(follo)m +(w)g(the)g(left)f(brace)h(in)f(order)f(to)150 4744 y(in)m(tro)s(duce)i +(indirection.)275 4877 y(In)39 b(eac)m(h)i(of)g(the)f(cases)h(b)s(elo)m (w,)i Fr(w)m(ord)h Fu(is)c(sub)5 b(ject)40 b(to)h(tilde)f(expansion,)j -(parameter)e(expansion,)150 4349 y(command)30 b(substitution,)g(and)g -(arithmetic)i(expansion.)275 4500 y(When)h(not)h(p)s(erforming)e +(parameter)e(expansion,)150 4987 y(command)30 b(substitution,)g(and)g +(arithmetic)i(expansion.)275 5121 y(When)h(not)h(p)s(erforming)e (substring)h(expansion,)h(using)g(the)f(form)h(describ)s(ed)e(b)s(elo)m -(w)i(\(e.g.,)i(`)p Ft(:-)p Fu('\),)150 4609 y(Bash)d(tests)h(for)e(a)i +(w)i(\(e.g.,)i(`)p Ft(:-)p Fu('\),)150 5230 y(Bash)d(tests)h(for)e(a)i (parameter)f(that)h(is)e(unset)h(or)g(n)m(ull.)48 b(Omitting)33 -b(the)h(colon)f(results)g(in)g(a)g(test)h(only)150 4719 +b(the)h(colon)f(results)g(in)g(a)g(test)h(only)150 5340 y(for)c(a)i(parameter)f(that)g(is)g(unset.)41 b(Put)31 b(another)f(w)m(a)m(y)-8 b(,)33 b(if)e(the)f(colon)i(is)f(included,)f -(the)h(op)s(erator)g(tests)150 4828 y(for)36 b(b)s(oth)g -Fr(parameter)7 b Fu('s)37 b(existence)h(and)e(that)i(its)f(v)-5 -b(alue)37 b(is)g(not)f(n)m(ull;)k(if)d(the)g(colon)h(is)e(omitted,)k -(the)150 4938 y(op)s(erator)31 b(tests)g(only)f(for)g(existence.)150 -5121 y Ft(${)p Fj(parameter)p Ft(:)p Fq(\000)p Fj(word)p -Ft(})630 5230 y Fu(If)g Fr(parameter)37 b Fu(is)30 b(unset)g(or)h(n)m -(ull,)f(the)h(expansion)f(of)g Fr(w)m(ord)k Fu(is)c(substituted.)40 -b(Otherwise,)630 5340 y(the)31 b(v)-5 b(alue)30 b(of)h -Fr(parameter)37 b Fu(is)31 b(substituted.)p eop end +(the)h(op)s(erator)g(tests)p eop end %%Page: 24 30 TeXDict begin 24 29 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(24)150 299 -y Ft(${)p Fj(parameter)p Ft(:=)p Fj(word)p Ft(})630 408 -y Fu(If)33 b Fr(parameter)40 b Fu(is)33 b(unset)f(or)h(n)m(ull,)h(the)f -(expansion)g(of)g Fr(w)m(ord)j Fu(is)d(assigned)g(to)h -Fr(parameter)p Fu(.)630 518 y(The)c(v)-5 b(alue)32 b(of)f +y(for)36 b(b)s(oth)g Fr(parameter)7 b Fu('s)37 b(existence)h(and)e +(that)i(its)f(v)-5 b(alue)37 b(is)g(not)f(n)m(ull;)k(if)d(the)g(colon)h +(is)e(omitted,)k(the)150 408 y(op)s(erator)31 b(tests)g(only)f(for)g +(existence.)150 569 y Ft(${)p Fj(parameter)p Ft(:)p Fq(\000)p +Fj(word)p Ft(})630 679 y Fu(If)g Fr(parameter)37 b Fu(is)30 +b(unset)g(or)h(n)m(ull,)f(the)h(expansion)f(of)g Fr(w)m(ord)k +Fu(is)c(substituted.)40 b(Otherwise,)630 788 y(the)31 +b(v)-5 b(alue)30 b(of)h Fr(parameter)37 b Fu(is)31 b(substituted.)150 +948 y Ft(${)p Fj(parameter)p Ft(:=)p Fj(word)p Ft(})630 +1058 y Fu(If)i Fr(parameter)40 b Fu(is)33 b(unset)f(or)h(n)m(ull,)h +(the)f(expansion)g(of)g Fr(w)m(ord)j Fu(is)d(assigned)g(to)h +Fr(parameter)p Fu(.)630 1167 y(The)c(v)-5 b(alue)32 b(of)f Fr(parameter)38 b Fu(is)31 b(then)g(substituted.)42 b(P)m(ositional)33 -b(parameters)e(and)f(sp)s(ecial)630 628 y(parameters)h(ma)m(y)g(not)f +b(parameters)e(and)f(sp)s(ecial)630 1277 y(parameters)h(ma)m(y)g(not)f (b)s(e)g(assigned)h(to)g(in)f(this)g(w)m(a)m(y)-8 b(.)150 -786 y Ft(${)p Fj(parameter)p Ft(:?)p Fj(word)p Ft(})630 -896 y Fu(If)26 b Fr(parameter)33 b Fu(is)26 b(n)m(ull)g(or)g(unset,)h +1437 y Ft(${)p Fj(parameter)p Ft(:?)p Fj(word)p Ft(})630 +1547 y Fu(If)26 b Fr(parameter)33 b Fu(is)26 b(n)m(ull)g(or)g(unset,)h (the)f(expansion)g(of)g Fr(w)m(ord)k Fu(\(or)c(a)h(message)g(to)g(that) -f(e\013ect)630 1005 y(if)i Fr(w)m(ord)j Fu(is)d(not)g(presen)m(t\))h +f(e\013ect)630 1656 y(if)i Fr(w)m(ord)j Fu(is)d(not)g(presen)m(t\))h (is)f(written)g(to)h(the)f(standard)f(error)h(and)f(the)h(shell,)h(if)f -(it)h(is)f(not)630 1115 y(in)m(teractiv)m(e,)33 b(exits.)42 +(it)h(is)f(not)630 1766 y(in)m(teractiv)m(e,)33 b(exits.)42 b(Otherwise,)30 b(the)h(v)-5 b(alue)31 b(of)f Fr(parameter)38 -b Fu(is)30 b(substituted.)150 1273 y Ft(${)p Fj(parameter)p -Ft(:+)p Fj(word)p Ft(})630 1383 y Fu(If)35 b Fr(parameter)42 +b Fu(is)30 b(substituted.)150 1926 y Ft(${)p Fj(parameter)p +Ft(:+)p Fj(word)p Ft(})630 2036 y Fu(If)35 b Fr(parameter)42 b Fu(is)36 b(n)m(ull)f(or)h(unset,)g(nothing)g(is)f(substituted,)i -(otherwise)e(the)h(expansion)630 1492 y(of)31 b Fr(w)m(ord)i -Fu(is)e(substituted.)150 1650 y Ft(${)p Fj(parameter)p -Ft(:)p Fj(offset)p Ft(})150 1760 y(${)p Fj(parameter)p -Ft(:)p Fj(offset)p Ft(:)p Fj(lengt)o(h)p Ft(})630 1870 +(otherwise)e(the)h(expansion)630 2145 y(of)31 b Fr(w)m(ord)i +Fu(is)e(substituted.)150 2305 y Ft(${)p Fj(parameter)p +Ft(:)p Fj(offset)p Ft(})150 2415 y(${)p Fj(parameter)p +Ft(:)p Fj(offset)p Ft(:)p Fj(lengt)o(h)p Ft(})630 2524 y Fu(This)f(is)h(referred)f(to)h(as)g(Substring)f(Expansion.)41 b(It)31 b(expands)f(to)h(up)f(to)h Fr(length)g Fu(c)m(harac-)630 -1979 y(ters)k(of)g(the)h(v)-5 b(alue)35 b(of)g Fr(parameter)42 +2634 y(ters)k(of)g(the)h(v)-5 b(alue)35 b(of)g Fr(parameter)42 b Fu(starting)36 b(at)g(the)f(c)m(haracter)i(sp)s(eci\014ed)d(b)m(y)h -Fr(o\013set)p Fu(.)55 b(If)630 2089 y Fr(parameter)32 +Fr(o\013set)p Fu(.)55 b(If)630 2744 y Fr(parameter)32 b Fu(is)26 b(`)p Ft(@)p Fu(',)g(an)f(indexed)g(arra)m(y)h(subscripted)e (b)m(y)h(`)p Ft(@)p Fu(')g(or)h(`)p Ft(*)p Fu(',)g(or)g(an)f(asso)s -(ciativ)m(e)j(ar-)630 2198 y(ra)m(y)g(name,)h(the)f(results)g(di\013er) +(ciativ)m(e)j(ar-)630 2853 y(ra)m(y)g(name,)h(the)f(results)g(di\013er) g(as)g(describ)s(ed)f(b)s(elo)m(w.)40 b(If)28 b Fr(length)g -Fu(is)g(omitted,)i(it)f(expands)630 2308 y(to)e(the)g(substring)f(of)g +Fu(is)g(omitted,)i(it)f(expands)630 2963 y(to)e(the)g(substring)f(of)g (the)h(v)-5 b(alue)27 b(of)g Fr(parameter)33 b Fu(starting)28 b(at)f(the)g(c)m(haracter)h(sp)s(eci\014ed)e(b)m(y)630 -2418 y Fr(o\013set)37 b Fu(and)d(extending)g(to)h(the)f(end)g(of)g(the) +3072 y Fr(o\013set)37 b Fu(and)d(extending)g(to)h(the)f(end)g(of)g(the) g(v)-5 b(alue.)53 b Fr(length)34 b Fu(and)g Fr(o\013set)j -Fu(are)e(arithmetic)630 2527 y(expressions)30 b(\(see)h(Section)g(6.5)h -([Shell)e(Arithmetic],)i(page)f(87\).)630 2661 y(If)39 +Fu(are)e(arithmetic)630 3182 y(expressions)30 b(\(see)h(Section)g(6.5)h +([Shell)e(Arithmetic],)i(page)f(89\).)630 3317 y(If)39 b Fr(o\013set)k Fu(ev)-5 b(aluates)41 b(to)f(a)g(n)m(um)m(b)s(er)f (less)h(than)f(zero,)k(the)d(v)-5 b(alue)40 b(is)g(used)e(as)i(an)g -(o\013set)630 2771 y(in)33 b(c)m(haracters)i(from)f(the)f(end)g(of)h +(o\013set)630 3426 y(in)33 b(c)m(haracters)i(from)f(the)f(end)g(of)h (the)g(v)-5 b(alue)34 b(of)g Fr(parameter)p Fu(.)51 b(If)33 -b Fr(length)h Fu(ev)-5 b(aluates)35 b(to)g(a)630 2880 +b Fr(length)h Fu(ev)-5 b(aluates)35 b(to)g(a)630 3536 y(n)m(um)m(b)s(er)23 b(less)h(than)g(zero,)j(it)d(is)h(in)m(terpreted)f (as)g(an)h(o\013set)g(in)f(c)m(haracters)h(from)f(the)g(end)g(of)630 -2990 y(the)31 b(v)-5 b(alue)31 b(of)g Fr(parameter)38 +3646 y(the)31 b(v)-5 b(alue)31 b(of)g Fr(parameter)38 b Fu(rather)30 b(than)h(a)g(n)m(um)m(b)s(er)f(of)g(c)m(haracters,)j -(and)d(the)h(expansion)630 3099 y(is)39 b(the)g(c)m(haracters)i(b)s(et) +(and)d(the)h(expansion)630 3755 y(is)39 b(the)g(c)m(haracters)i(b)s(et) m(w)m(een)f Fr(o\013set)i Fu(and)c(that)i(result.)67 -b(Note)40 b(that)g(a)g(negativ)m(e)h(o\013set)630 3209 +b(Note)40 b(that)g(a)g(negativ)m(e)h(o\013set)630 3865 y(m)m(ust)27 b(b)s(e)g(separated)g(from)g(the)g(colon)i(b)m(y)e(at)h (least)g(one)f(space)h(to)g(a)m(v)m(oid)h(b)s(eing)e(confused)630 -3319 y(with)j(the)h(`)p Ft(:-)p Fu(')f(expansion.)630 -3453 y(Here)43 b(are)g(some)f(examples)h(illustrating)g(substring)f -(expansion)g(on)g(parameters)h(and)630 3562 y(subscripted)29 -b(arra)m(ys:)630 3696 y Ft($)47 b(string=01234567890abcdefgh)630 -3806 y($)g(echo)g(${string:7})630 3915 y(7890abcdefgh)630 -4025 y($)g(echo)g(${string:7:0})630 4244 y($)g(echo)g(${string:7:2})630 -4354 y(78)630 4463 y($)g(echo)g(${string:7:-2})630 4573 -y(7890abcdef)630 4682 y($)g(echo)g(${string:)e(-7})630 -4792 y(bcdefgh)630 4902 y($)i(echo)g(${string:)e(-7:0})630 -5121 y($)i(echo)g(${string:)e(-7:2})630 5230 y(bc)630 -5340 y($)i(echo)g(${string:)e(-7:-2})p eop end +3974 y(with)j(the)h(`)p Ft(:-)p Fu(')f(expansion.)630 +4109 y(Here)43 b(are)g(some)f(examples)h(illustrating)g(substring)f +(expansion)g(on)g(parameters)h(and)630 4219 y(subscripted)29 +b(arra)m(ys:)630 4354 y Ft($)47 b(string=01234567890abcdefgh)630 +4463 y($)g(echo)g(${string:7})630 4573 y(7890abcdefgh)630 +4682 y($)g(echo)g(${string:7:0})630 4902 y($)g(echo)g(${string:7:2})630 +5011 y(78)630 5121 y($)g(echo)g(${string:7:-2})630 5230 +y(7890abcdef)630 5340 y($)g(echo)g(${string:)e(-7})p +eop end %%Page: 25 31 TeXDict begin 25 30 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(25)630 299 -y Ft(bcdef)630 408 y($)47 b(set)g(--)h(01234567890abcdefgh)630 -518 y($)f(echo)g(${1:7})630 628 y(7890abcdefgh)630 737 -y($)g(echo)g(${1:7:0})630 956 y($)g(echo)g(${1:7:2})630 -1066 y(78)630 1176 y($)g(echo)g(${1:7:-2})630 1285 y(7890abcdef)630 -1395 y($)g(echo)g(${1:)g(-7})630 1504 y(bcdefgh)630 1614 -y($)g(echo)g(${1:)g(-7:0})630 1833 y($)g(echo)g(${1:)g(-7:2})630 -1943 y(bc)630 2052 y($)g(echo)g(${1:)g(-7:-2})630 2162 -y(bcdef)630 2271 y($)g(array[0]=01234567890abcdef)o(gh)630 -2381 y($)g(echo)g(${array[0]:7})630 2491 y(7890abcdefgh)630 -2600 y($)g(echo)g(${array[0]:7:0})630 2819 y($)g(echo)g -(${array[0]:7:2})630 2929 y(78)630 3039 y($)g(echo)g(${array[0]:7:-2}) -630 3148 y(7890abcdef)630 3258 y($)g(echo)g(${array[0]:)e(-7})630 -3367 y(bcdefgh)630 3477 y($)i(echo)g(${array[0]:)e(-7:0})630 -3696 y($)i(echo)g(${array[0]:)e(-7:2})630 3806 y(bc)630 -3915 y($)i(echo)g(${array[0]:)e(-7:-2})630 4025 y(bcdef)630 -4171 y Fu(If)22 b Fr(parameter)30 b Fu(is)23 b(`)p Ft(@)p +y Ft(bcdefgh)630 408 y($)47 b(echo)g(${string:)e(-7:0})630 +628 y($)i(echo)g(${string:)e(-7:2})630 737 y(bc)630 847 +y($)i(echo)g(${string:)e(-7:-2})630 956 y(bcdef)630 1066 +y($)i(set)g(--)h(01234567890abcdefgh)630 1176 y($)f(echo)g(${1:7})630 +1285 y(7890abcdefgh)630 1395 y($)g(echo)g(${1:7:0})630 +1614 y($)g(echo)g(${1:7:2})630 1724 y(78)630 1833 y($)g(echo)g +(${1:7:-2})630 1943 y(7890abcdef)630 2052 y($)g(echo)g(${1:)g(-7})630 +2162 y(bcdefgh)630 2271 y($)g(echo)g(${1:)g(-7:0})630 +2491 y($)g(echo)g(${1:)g(-7:2})630 2600 y(bc)630 2710 +y($)g(echo)g(${1:)g(-7:-2})630 2819 y(bcdef)630 2929 +y($)g(array[0]=01234567890abcdef)o(gh)630 3039 y($)g(echo)g +(${array[0]:7})630 3148 y(7890abcdefgh)630 3258 y($)g(echo)g +(${array[0]:7:0})630 3477 y($)g(echo)g(${array[0]:7:2})630 +3587 y(78)630 3696 y($)g(echo)g(${array[0]:7:-2})630 +3806 y(7890abcdef)630 3915 y($)g(echo)g(${array[0]:)e(-7})630 +4025 y(bcdefgh)630 4134 y($)i(echo)g(${array[0]:)e(-7:0})630 +4354 y($)i(echo)g(${array[0]:)e(-7:2})630 4463 y(bc)630 +4573 y($)i(echo)g(${array[0]:)e(-7:-2})630 4682 y(bcdef)630 +5011 y Fu(If)22 b Fr(parameter)30 b Fu(is)23 b(`)p Ft(@)p Fu(',)i(the)e(result)g(is)g Fr(length)h Fu(p)s(ositional)f(parameters)h -(b)s(eginning)e(at)i Fr(o\013set)p Fu(.)630 4281 y(A)36 +(b)s(eginning)e(at)i Fr(o\013set)p Fu(.)630 5121 y(A)36 b(negativ)m(e)j Fr(o\013set)g Fu(is)e(tak)m(en)g(relativ)m(e)i(to)e (one)g(greater)g(than)f(the)h(greatest)h(p)s(ositional)630 -4390 y(parameter,)29 b(so)f(an)g(o\013set)h(of)f(-1)g(ev)-5 +5230 y(parameter,)29 b(so)f(an)g(o\013set)h(of)f(-1)g(ev)-5 b(aluates)30 b(to)e(the)g(last)h(p)s(ositional)g(parameter.)40 -b(It)28 b(is)g(an)630 4500 y(expansion)i(error)g(if)h +b(It)28 b(is)g(an)630 5340 y(expansion)i(error)g(if)h Fr(length)f Fu(ev)-5 b(aluates)32 b(to)f(a)g(n)m(um)m(b)s(er)e(less)i -(than)f(zero.)630 4646 y(The)i(follo)m(wing)i(examples)f(illustrate)h -(substring)d(expansion)i(using)f(p)s(ositional)h(param-)630 -4755 y(eters:)630 4902 y Ft($)47 b(set)g(--)h(1)f(2)g(3)h(4)f(5)h(6)f -(7)h(8)f(9)h(0)f(a)h(b)f(c)g(d)h(e)f(f)h(g)f(h)630 5011 -y($)g(echo)g(${@:7})630 5121 y(7)g(8)h(9)f(0)h(a)f(b)h(c)f(d)h(e)f(f)h -(g)f(h)630 5230 y($)g(echo)g(${@:7:0})p eop end +(than)f(zero.)p eop end %%Page: 26 32 TeXDict begin 26 31 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(26)630 299 -y Ft($)47 b(echo)g(${@:7:2})630 408 y(7)g(8)630 518 y($)g(echo)g -(${@:7:-2})630 628 y(bash:)f(-2:)h(substring)f(expression)f(<)i(0)630 -737 y($)g(echo)g(${@:)g(-7:2})630 847 y(b)g(c)630 956 -y($)g(echo)g(${@:0})630 1066 y(./bash)f(1)i(2)f(3)g(4)h(5)f(6)h(7)f(8)h -(9)f(0)h(a)f(b)h(c)f(d)g(e)h(f)f(g)h(h)630 1176 y($)f(echo)g(${@:0:2}) -630 1285 y(./bash)f(1)630 1395 y($)h(echo)g(${@:)g(-7:0})630 -1677 y Fu(If)36 b Fr(parameter)43 b Fu(is)36 b(an)g(indexed)g(arra)m(y) +y(The)32 b(follo)m(wing)i(examples)f(illustrate)h(substring)d +(expansion)i(using)f(p)s(ositional)h(param-)630 408 y(eters:)630 +573 y Ft($)47 b(set)g(--)h(1)f(2)g(3)h(4)f(5)h(6)f(7)h(8)f(9)h(0)f(a)h +(b)f(c)g(d)h(e)f(f)h(g)f(h)630 682 y($)g(echo)g(${@:7})630 +792 y(7)g(8)h(9)f(0)h(a)f(b)h(c)f(d)h(e)f(f)h(g)f(h)630 +902 y($)g(echo)g(${@:7:0})630 1121 y($)g(echo)g(${@:7:2})630 +1230 y(7)g(8)630 1340 y($)g(echo)g(${@:7:-2})630 1450 +y(bash:)f(-2:)h(substring)f(expression)f(<)i(0)630 1559 +y($)g(echo)g(${@:)g(-7:2})630 1669 y(b)g(c)630 1778 y($)g(echo)g +(${@:0})630 1888 y(./bash)f(1)i(2)f(3)g(4)h(5)f(6)h(7)f(8)h(9)f(0)h(a)f +(b)h(c)f(d)g(e)h(f)f(g)h(h)630 1998 y($)f(echo)g(${@:0:2})630 +2107 y(./bash)f(1)630 2217 y($)h(echo)g(${@:)g(-7:0})630 +2491 y Fu(If)36 b Fr(parameter)43 b Fu(is)36 b(an)g(indexed)g(arra)m(y) g(name)g(subscripted)f(b)m(y)h(`)p Ft(@)p Fu(')g(or)h(`)p -Ft(*)p Fu(',)h(the)e(result)g(is)630 1786 y(the)j Fr(length)g +Ft(*)p Fu(',)h(the)e(result)g(is)630 2600 y(the)j Fr(length)g Fu(mem)m(b)s(ers)f(of)h(the)f(arra)m(y)i(b)s(eginning)d(with)i Ft(${)p Fj(parameter)p Ft([)p Fj(offset)p Ft(]})p Fu(.)60 -b(A)630 1896 y(negativ)m(e)33 b Fr(o\013set)g Fu(is)e(tak)m(en)h +b(A)630 2710 y(negativ)m(e)33 b Fr(o\013set)g Fu(is)e(tak)m(en)h (relativ)m(e)g(to)g(one)f(greater)g(than)g(the)f(maxim)m(um)h(index)f -(of)h(the)630 2005 y(sp)s(eci\014ed)38 b(arra)m(y)-8 +(of)h(the)630 2819 y(sp)s(eci\014ed)38 b(arra)m(y)-8 b(.)65 b(It)38 b(is)g(an)h(expansion)f(error)f(if)i Fr(length)f Fu(ev)-5 b(aluates)40 b(to)f(a)g(n)m(um)m(b)s(er)e(less)630 -2115 y(than)30 b(zero.)630 2287 y(These)23 b(examples)i(sho)m(w)e(ho)m +2929 y(than)30 b(zero.)630 3093 y(These)23 b(examples)i(sho)m(w)e(ho)m (w)h(y)m(ou)g(can)g(use)f(substring)f(expansion)i(with)f(indexed)g -(arra)m(ys:)630 2459 y Ft($)47 b(array=\(0)f(1)h(2)h(3)f(4)h(5)f(6)h(7) -f(8)h(9)f(0)h(a)f(b)g(c)h(d)f(e)h(f)f(g)h(h\))630 2569 -y($)f(echo)g(${array[@]:7})630 2679 y(7)g(8)h(9)f(0)h(a)f(b)h(c)f(d)h -(e)f(f)h(g)f(h)630 2788 y($)g(echo)g(${array[@]:7:2})630 -2898 y(7)g(8)630 3007 y($)g(echo)g(${array[@]:)e(-7:2})630 -3117 y(b)i(c)630 3226 y($)g(echo)g(${array[@]:)e(-7:-2})630 -3336 y(bash:)h(-2:)h(substring)f(expression)f(<)i(0)630 -3446 y($)g(echo)g(${array[@]:0})630 3555 y(0)g(1)h(2)f(3)h(4)f(5)h(6)f -(7)h(8)f(9)h(0)f(a)g(b)h(c)f(d)h(e)f(f)h(g)f(h)630 3665 -y($)g(echo)g(${array[@]:0:2})630 3774 y(0)g(1)630 3884 -y($)g(echo)g(${array[@]:)e(-7:0})630 4166 y Fu(Substring)25 +(arra)m(ys:)630 3258 y Ft($)47 b(array=\(0)f(1)h(2)h(3)f(4)h(5)f(6)h(7) +f(8)h(9)f(0)h(a)f(b)g(c)h(d)f(e)h(f)f(g)h(h\))630 3367 +y($)f(echo)g(${array[@]:7})630 3477 y(7)g(8)h(9)f(0)h(a)f(b)h(c)f(d)h +(e)f(f)h(g)f(h)630 3587 y($)g(echo)g(${array[@]:7:2})630 +3696 y(7)g(8)630 3806 y($)g(echo)g(${array[@]:)e(-7:2})630 +3915 y(b)i(c)630 4025 y($)g(echo)g(${array[@]:)e(-7:-2})630 +4134 y(bash:)h(-2:)h(substring)f(expression)f(<)i(0)630 +4244 y($)g(echo)g(${array[@]:0})630 4354 y(0)g(1)h(2)f(3)h(4)f(5)h(6)f +(7)h(8)f(9)h(0)f(a)g(b)h(c)f(d)h(e)f(f)h(g)f(h)630 4463 +y($)g(echo)g(${array[@]:0:2})630 4573 y(0)g(1)630 4682 +y($)g(echo)g(${array[@]:)e(-7:0})630 4956 y Fu(Substring)25 b(expansion)g(applied)h(to)h(an)f(asso)s(ciativ)m(e)j(arra)m(y)d(pro)s -(duces)f(unde\014ned)f(results.)630 4338 y(Substring)32 +(duces)f(unde\014ned)f(results.)630 5121 y(Substring)32 b(indexing)i(is)f(zero-based)i(unless)e(the)h(p)s(ositional)g -(parameters)g(are)g(used,)g(in)630 4448 y(whic)m(h)29 +(parameters)g(are)g(used,)g(in)630 5230 y(whic)m(h)29 b(case)i(the)f(indexing)g(starts)g(at)g(1)g(b)m(y)g(default.)41 b(If)29 b Fr(o\013set)k Fu(is)d(0,)g(and)f(the)h(p)s(ositional)630 -4557 y(parameters)h(are)f(used,)g Ft($@)g Fu(is)g(pre\014xed)g(to)h -(the)f(list.)150 4792 y Ft(${!)p Fj(prefix)p Ft(*})150 -4902 y(${!)p Fj(prefix)p Ft(@})630 5011 y Fu(Expands)24 -b(to)h(the)g(names)g(of)g(v)-5 b(ariables)26 b(whose)f(names)f(b)s -(egin)h(with)f Fr(pre\014x)p Fu(,)i(separated)f(b)m(y)630 -5121 y(the)k(\014rst)f(c)m(haracter)j(of)e(the)g Ft(IFS)f -Fu(sp)s(ecial)i(v)-5 b(ariable.)41 b(When)29 b(`)p Ft(@)p -Fu(')g(is)g(used)f(and)h(the)g(expan-)630 5230 y(sion)35 -b(app)s(ears)g(within)f(double)h(quotes,)i(eac)m(h)f(v)-5 -b(ariable)36 b(name)f(expands)g(to)g(a)h(separate)630 -5340 y(w)m(ord.)p eop end +5340 y(parameters)h(are)f(used,)g Ft($@)g Fu(is)g(pre\014xed)g(to)h +(the)f(list.)p eop end %%Page: 27 33 TeXDict begin 27 32 bop 150 -116 a Fu(Chapter)30 b(3:)41 b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(27)150 299 -y Ft(${!)p Fj(name)p Ft([@]})150 408 y(${!)p Fj(name)p -Ft([*]})630 518 y Fu(If)26 b Fr(name)32 b Fu(is)27 b(an)f(arra)m(y)h(v) --5 b(ariable,)29 b(expands)d(to)h(the)g(list)g(of)g(arra)m(y)g(indices) -g(\(k)m(eys\))h(assigned)630 628 y(in)c Fr(name)p Fu(.)39 -b(If)24 b Fr(name)30 b Fu(is)24 b(not)h(an)f(arra)m(y)-8 -b(,)27 b(expands)c(to)j(0)f(if)f Fr(name)30 b Fu(is)24 -b(set)h(and)f(n)m(ull)g(otherwise.)630 737 y(When)39 -b(`)p Ft(@)p Fu(')h(is)f(used)g(and)f(the)i(expansion)f(app)s(ears)g -(within)f(double)h(quotes,)k(eac)m(h)d(k)m(ey)630 847 -y(expands)30 b(to)h(a)f(separate)i(w)m(ord.)150 1011 -y Ft(${#)p Fj(parameter)p Ft(})630 1121 y Fu(The)40 b(length)g(in)g(c)m -(haracters)i(of)e(the)h(expanded)e(v)-5 b(alue)41 b(of)f -Fr(parameter)47 b Fu(is)40 b(substituted.)630 1230 y(If)i -Fr(parameter)50 b Fu(is)43 b(`)p Ft(*)p Fu(')g(or)g(`)p +y Ft(${!)p Fj(prefix)p Ft(*})150 408 y(${!)p Fj(prefix)p +Ft(@})630 518 y Fu(Expands)24 b(to)h(the)g(names)g(of)g(v)-5 +b(ariables)26 b(whose)f(names)f(b)s(egin)h(with)f Fr(pre\014x)p +Fu(,)i(separated)f(b)m(y)630 628 y(the)k(\014rst)f(c)m(haracter)j(of)e +(the)g Ft(IFS)f Fu(sp)s(ecial)i(v)-5 b(ariable.)41 b(When)29 +b(`)p Ft(@)p Fu(')g(is)g(used)f(and)h(the)g(expan-)630 +737 y(sion)35 b(app)s(ears)g(within)f(double)h(quotes,)i(eac)m(h)f(v)-5 +b(ariable)36 b(name)f(expands)g(to)g(a)h(separate)630 +847 y(w)m(ord.)150 1066 y Ft(${!)p Fj(name)p Ft([@]})150 +1176 y(${!)p Fj(name)p Ft([*]})630 1285 y Fu(If)26 b +Fr(name)32 b Fu(is)27 b(an)f(arra)m(y)h(v)-5 b(ariable,)29 +b(expands)d(to)h(the)g(list)g(of)g(arra)m(y)g(indices)g(\(k)m(eys\))h +(assigned)630 1395 y(in)c Fr(name)p Fu(.)39 b(If)24 b +Fr(name)30 b Fu(is)24 b(not)h(an)f(arra)m(y)-8 b(,)27 +b(expands)c(to)j(0)f(if)f Fr(name)30 b Fu(is)24 b(set)h(and)f(n)m(ull)g +(otherwise.)630 1504 y(When)39 b(`)p Ft(@)p Fu(')h(is)f(used)g(and)f +(the)i(expansion)f(app)s(ears)g(within)f(double)h(quotes,)k(eac)m(h)d +(k)m(ey)630 1614 y(expands)30 b(to)h(a)f(separate)i(w)m(ord.)150 +1833 y Ft(${#)p Fj(parameter)p Ft(})630 1943 y Fu(The)40 +b(length)g(in)g(c)m(haracters)i(of)e(the)h(expanded)e(v)-5 +b(alue)41 b(of)f Fr(parameter)47 b Fu(is)40 b(substituted.)630 +2052 y(If)i Fr(parameter)50 b Fu(is)43 b(`)p Ft(*)p Fu(')g(or)g(`)p Ft(@)p Fu(',)k(the)c(v)-5 b(alue)43 b(substituted)f(is)h(the)g(n)m(um)m -(b)s(er)f(of)h(p)s(ositional)630 1340 y(parameters.)i(If)32 +(b)s(er)f(of)h(p)s(ositional)630 2162 y(parameters.)i(If)32 b Fr(parameter)38 b Fu(is)32 b(an)g(arra)m(y)g(name)g(subscripted)f(b)m (y)g(`)p Ft(*)p Fu(')h(or)g(`)p Ft(@)p Fu(',)g(the)g(v)-5 -b(alue)630 1450 y(substituted)30 b(is)h(the)g(n)m(um)m(b)s(er)e(of)i +b(alue)630 2271 y(substituted)30 b(is)h(the)g(n)m(um)m(b)s(er)e(of)i (elemen)m(ts)i(in)d(the)h(arra)m(y)-8 b(.)43 b(If)30 -b Fr(parameter)38 b Fu(is)31 b(an)f(indexed)630 1559 +b Fr(parameter)38 b Fu(is)31 b(an)f(indexed)630 2381 y(arra)m(y)37 b(name)g(subscripted)f(b)m(y)h(a)g(negativ)m(e)i(n)m(um)m (b)s(er,)f(that)f(n)m(um)m(b)s(er)f(is)g(in)m(terpreted)i(as)630 -1669 y(relativ)m(e)47 b(to)g(one)e(greater)i(than)e(the)h(maxim)m(um)f +2491 y(relativ)m(e)47 b(to)g(one)e(greater)i(than)e(the)h(maxim)m(um)f (index)g(of)g Fr(parameter)p Fu(,)50 b(so)c(negativ)m(e)630 -1778 y(indices)30 b(coun)m(t)h(bac)m(k)g(from)f(the)h(end)e(of)i(the)f +2600 y(indices)30 b(coun)m(t)h(bac)m(k)g(from)f(the)h(end)e(of)i(the)f (arra)m(y)-8 b(,)32 b(and)e(an)g(index)g(of)g(-1)h(references)g(the)630 -1888 y(last)g(elemen)m(t.)150 2052 y Ft(${)p Fj(parameter)p -Ft(#)p Fj(word)p Ft(})150 2162 y(${)p Fj(parameter)p -Ft(##)p Fj(word)p Ft(})630 2271 y Fu(The)g Fr(w)m(ord)k +2710 y(last)g(elemen)m(t.)150 2929 y Ft(${)p Fj(parameter)p +Ft(#)p Fj(word)p Ft(})150 3039 y(${)p Fj(parameter)p +Ft(##)p Fj(word)p Ft(})630 3148 y Fu(The)g Fr(w)m(ord)k Fu(is)d(expanded)f(to)i(pro)s(duce)e(a)h(pattern)g(just)f(as)i(in)e -(\014lename)h(expansion)g(\(see)630 2381 y(Section)k(3.5.8)h([Filename) +(\014lename)h(expansion)g(\(see)630 3258 y(Section)k(3.5.8)h([Filename) g(Expansion],)g(page)f(30\).)56 b(If)35 b(the)h(pattern)f(matc)m(hes)i -(the)e(b)s(e-)630 2491 y(ginning)28 b(of)g(the)h(expanded)e(v)-5 +(the)e(b)s(e-)630 3367 y(ginning)28 b(of)g(the)h(expanded)e(v)-5 b(alue)29 b(of)f Fr(parameter)p Fu(,)h(then)f(the)g(result)g(of)h(the)f -(expansion)g(is)630 2600 y(the)36 b(expanded)f(v)-5 b(alue)36 +(expansion)g(is)630 3477 y(the)36 b(expanded)f(v)-5 b(alue)36 b(of)g Fr(parameter)43 b Fu(with)35 b(the)h(shortest)g(matc)m(hing)h -(pattern)f(\(the)g(`)p Ft(#)p Fu(')630 2710 y(case\))26 +(pattern)f(\(the)g(`)p Ft(#)p Fu(')630 3587 y(case\))26 b(or)f(the)g(longest)g(matc)m(hing)h(pattern)f(\(the)g(`)p Ft(##)p Fu(')g(case\))h(deleted.)39 b(If)24 b Fr(parameter)32 -b Fu(is)25 b(`)p Ft(@)p Fu(')630 2819 y(or)j(`)p Ft(*)p +b Fu(is)25 b(`)p Ft(@)p Fu(')630 3696 y(or)j(`)p Ft(*)p Fu(',)i(the)e(pattern)h(remo)m(v)-5 b(al)29 b(op)s(eration)g(is)f (applied)h(to)g(eac)m(h)g(p)s(ositional)g(parameter)g(in)630 -2929 y(turn,)i(and)g(the)h(expansion)g(is)g(the)g(resultan)m(t)g(list.) +3806 y(turn,)i(and)g(the)h(expansion)g(is)g(the)g(resultan)m(t)g(list.) 45 b(If)32 b Fr(parameter)38 b Fu(is)32 b(an)g(arra)m(y)g(v)-5 -b(ariable)630 3039 y(subscripted)39 b(with)g(`)p Ft(@)p +b(ariable)630 3915 y(subscripted)39 b(with)g(`)p Ft(@)p Fu(')h(or)g(`)p Ft(*)p Fu(',)j(the)d(pattern)h(remo)m(v)-5 b(al)41 b(op)s(eration)f(is)g(applied)g(to)h(eac)m(h)630 -3148 y(mem)m(b)s(er)30 b(of)g(the)h(arra)m(y)g(in)f(turn,)f(and)h(the)h -(expansion)f(is)g(the)h(resultan)m(t)g(list.)150 3313 +4025 y(mem)m(b)s(er)30 b(of)g(the)h(arra)m(y)g(in)f(turn,)f(and)h(the)h +(expansion)f(is)g(the)h(resultan)m(t)g(list.)150 4244 y Ft(${)p Fj(parameter)p Ft(\045)p Fj(word)p Ft(})150 -3422 y(${)p Fj(parameter)p Ft(\045\045)p Fj(word)p Ft(})630 -3532 y Fu(The)k Fr(w)m(ord)k Fu(is)c(expanded)g(to)h(pro)s(duce)e(a)i +4354 y(${)p Fj(parameter)p Ft(\045\045)p Fj(word)p Ft(})630 +4463 y Fu(The)k Fr(w)m(ord)k Fu(is)c(expanded)g(to)h(pro)s(duce)e(a)i (pattern)f(just)g(as)h(in)f(\014lename)h(expansion.)55 -b(If)630 3641 y(the)43 b(pattern)g(matc)m(hes)h(a)g(trailing)g(p)s +b(If)630 4573 y(the)43 b(pattern)g(matc)m(hes)h(a)g(trailing)g(p)s (ortion)e(of)h(the)g(expanded)g(v)-5 b(alue)43 b(of)g -Fr(parameter)p Fu(,)630 3751 y(then)c(the)g(result)g(of)h(the)f +Fr(parameter)p Fu(,)630 4682 y(then)c(the)g(result)g(of)h(the)f (expansion)g(is)h(the)f(v)-5 b(alue)40 b(of)f Fr(parameter)46 -b Fu(with)39 b(the)h(shortest)630 3861 y(matc)m(hing)31 +b Fu(with)39 b(the)h(shortest)630 4792 y(matc)m(hing)31 b(pattern)e(\(the)h(`)p Ft(\045)p Fu(')g(case\))h(or)e(the)h(longest)h (matc)m(hing)f(pattern)g(\(the)g(`)p Ft(\045\045)p Fu(')g(case\))630 -3970 y(deleted.)49 b(If)32 b Fr(parameter)40 b Fu(is)33 +4902 y(deleted.)49 b(If)32 b Fr(parameter)40 b Fu(is)33 b(`)p Ft(@)p Fu(')g(or)g(`)p Ft(*)p Fu(',)h(the)f(pattern)g(remo)m(v)-5 -b(al)34 b(op)s(eration)g(is)f(applied)f(to)630 4080 y(eac)m(h)38 +b(al)34 b(op)s(eration)g(is)f(applied)f(to)630 5011 y(eac)m(h)38 b(p)s(ositional)g(parameter)g(in)f(turn,)h(and)e(the)h(expansion)g(is)h -(the)f(resultan)m(t)h(list.)61 b(If)630 4189 y Fr(parameter)38 +(the)f(resultan)m(t)h(list.)61 b(If)630 5121 y Fr(parameter)38 b Fu(is)32 b(an)f(arra)m(y)h(v)-5 b(ariable)32 b(subscripted)e(with)h (`)p Ft(@)p Fu(')g(or)h(`)p Ft(*)p Fu(',)g(the)f(pattern)h(remo)m(v)-5 -b(al)630 4299 y(op)s(eration)30 b(is)g(applied)f(to)i(eac)m(h)g(mem)m +b(al)630 5230 y(op)s(eration)30 b(is)g(applied)f(to)i(eac)m(h)g(mem)m (b)s(er)e(of)h(the)g(arra)m(y)g(in)f(turn,)g(and)g(the)h(expansion)g -(is)630 4408 y(the)h(resultan)m(t)g(list.)150 4573 y -Ft(${)p Fj(parameter)p Ft(/)p Fj(pattern)p Ft(/)p Fj(stri)o(ng)p -Ft(})630 4682 y Fu(The)37 b Fr(pattern)g Fu(is)g(expanded)g(to)h(pro)s +(is)630 5340 y(the)h(resultan)m(t)g(list.)p eop end +%%Page: 28 34 +TeXDict begin 28 33 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(28)150 299 +y Ft(${)p Fj(parameter)p Ft(/)p Fj(pattern)p Ft(/)p Fj(stri)o(ng)p +Ft(})630 408 y Fu(The)37 b Fr(pattern)g Fu(is)g(expanded)g(to)h(pro)s (duce)e(a)h(pattern)g(just)g(as)h(in)e(\014lename)i(expansion.)630 -4792 y Fr(P)m(arameter)46 b Fu(is)38 b(expanded)f(and)g(the)i(longest)g +518 y Fr(P)m(arameter)46 b Fu(is)38 b(expanded)f(and)g(the)i(longest)g (matc)m(h)g(of)f Fr(pattern)g Fu(against)h(its)f(v)-5 -b(alue)39 b(is)630 4902 y(replaced)34 b(with)e Fr(string)p +b(alue)39 b(is)630 628 y(replaced)34 b(with)e Fr(string)p Fu(.)49 b(If)33 b Fr(pattern)g Fu(b)s(egins)g(with)f(`)p Ft(/)p Fu(',)j(all)f(matc)m(hes)g(of)f Fr(pattern)g Fu(are)h(re-)630 -5011 y(placed)28 b(with)f Fr(string)p Fu(.)40 b(Normally)28 +737 y(placed)28 b(with)f Fr(string)p Fu(.)40 b(Normally)28 b(only)f(the)h(\014rst)e(matc)m(h)j(is)e(replaced.)40 -b(If)27 b Fr(pattern)g Fu(b)s(egins)630 5121 y(with)34 +b(If)27 b Fr(pattern)g Fu(b)s(egins)630 847 y(with)34 b(`)p Ft(#)p Fu(',)h(it)g(m)m(ust)f(matc)m(h)h(at)f(the)h(b)s(eginning) e(of)h(the)g(expanded)f(v)-5 b(alue)35 b(of)f Fr(parameter)p -Fu(.)630 5230 y(If)g Fr(pattern)g Fu(b)s(egins)g(with)g(`)p +Fu(.)630 956 y(If)g Fr(pattern)g Fu(b)s(egins)g(with)g(`)p Ft(\045)p Fu(',)h(it)g(m)m(ust)f(matc)m(h)h(at)g(the)f(end)g(of)g(the)h -(expanded)e(v)-5 b(alue)35 b(of)630 5340 y Fr(parameter)p +(expanded)e(v)-5 b(alue)35 b(of)630 1066 y Fr(parameter)p Fu(.)41 b(If)29 b Fr(string)37 b Fu(is)29 b(n)m(ull,)h(matc)m(hes)h(of) e Fr(pattern)h Fu(are)g(deleted)g(and)f(the)g Ft(/)g -Fu(follo)m(wing)p eop end -%%Page: 28 34 -TeXDict begin 28 33 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(28)630 299 -y Fr(pattern)34 b Fu(ma)m(y)g(b)s(e)f(omitted.)51 b(If)33 -b Fr(parameter)41 b Fu(is)33 b(`)p Ft(@)p Fu(')h(or)g(`)p -Ft(*)p Fu(',)g(the)g(substitution)f(op)s(eration)630 -408 y(is)38 b(applied)g(to)g(eac)m(h)h(p)s(ositional)g(parameter)f(in)g -(turn,)h(and)e(the)h(expansion)g(is)g(the)g(re-)630 518 -y(sultan)m(t)f(list.)59 b(If)36 b Fr(parameter)43 b Fu(is)36 -b(an)g(arra)m(y)h(v)-5 b(ariable)37 b(subscripted)e(with)h(`)p -Ft(@)p Fu(')g(or)h(`)p Ft(*)p Fu(',)h(the)630 628 y(substitution)30 -b(op)s(eration)h(is)f(applied)g(to)h(eac)m(h)g(mem)m(b)s(er)f(of)g(the) -h(arra)m(y)g(in)f(turn,)f(and)h(the)630 737 y(expansion)g(is)h(the)f -(resultan)m(t)h(list.)150 931 y Ft(${)p Fj(parameter)p -Ft(^)p Fj(pattern)p Ft(})150 1040 y(${)p Fj(parameter)p -Ft(^^)p Fj(pattern)p Ft(})150 1150 y(${)p Fj(parameter)p -Ft(,)p Fj(pattern)p Ft(})150 1259 y(${)p Fj(parameter)p -Ft(,,)p Fj(pattern)p Ft(})630 1369 y Fu(This)36 b(expansion)g(mo)s -(di\014es)g(the)g(case)i(of)f(alphab)s(etic)g(c)m(haracters)h(in)e -Fr(parameter)p Fu(.)59 b(The)630 1479 y Fr(pattern)33 -b Fu(is)g(expanded)e(to)j(pro)s(duce)d(a)j(pattern)e(just)g(as)h(in)g -(\014lename)g(expansion.)47 b(Eac)m(h)630 1588 y(c)m(haracter)32 -b(in)e(the)g(expanded)f(v)-5 b(alue)31 b(of)f Fr(parameter)37 -b Fu(is)30 b(tested)h(against)h Fr(pattern)p Fu(,)e(and,)g(if)630 -1698 y(it)j(matc)m(hes)h(the)g(pattern,)f(its)h(case)g(is)f(con)m(v)m -(erted.)49 b(The)33 b(pattern)g(should)f(not)h(attempt)630 -1807 y(to)f(matc)m(h)g(more)f(than)g(one)g(c)m(haracter.)44 -b(The)30 b(`)p Ft(^)p Fu(')i(op)s(erator)f(con)m(v)m(erts)h(lo)m(w)m -(ercase)i(letters)630 1917 y(matc)m(hing)i Fr(pattern)f -Fu(to)h(upp)s(ercase;)h(the)e(`)p Ft(,)p Fu(')g(op)s(erator)g(con)m(v)m -(erts)i(matc)m(hing)f(upp)s(ercase)630 2027 y(letters)e(to)f(lo)m(w)m -(ercase.)50 b(The)32 b(`)p Ft(^^)p Fu(')h(and)f(`)p Ft(,,)p -Fu(')g(expansions)h(con)m(v)m(ert)h(eac)m(h)g(matc)m(hed)f(c)m(har-)630 -2136 y(acter)c(in)f(the)h(expanded)e(v)-5 b(alue;)30 +Fu(follo)m(wing)630 1176 y Fr(pattern)k Fu(ma)m(y)h(b)s(e)e(omitted.)50 +b(If)33 b(the)g Ft(nocasematch)d Fu(shell)j(option)h(\(see)g(the)f +(description)630 1285 y(of)28 b Ft(shopt)e Fu(in)h(Section)i(4.3.2)g +([The)e(Shopt)g(Builtin],)i(page)g(64\))g(is)e(enabled,)i(the)e(matc)m +(h)i(is)630 1395 y(p)s(erformed)f(without)j(regard)e(to)i(the)f(case)i +(of)e(alphab)s(etic)g(c)m(haracters.)42 b(If)30 b Fr(parameter)37 +b Fu(is)630 1504 y(`)p Ft(@)p Fu(')31 b(or)g(`)p Ft(*)p +Fu(',)g(the)g(substitution)f(op)s(eration)h(is)g(applied)f(to)i(eac)m +(h)g(p)s(ositional)f(parameter)g(in)630 1614 y(turn,)g(and)g(the)h +(expansion)g(is)g(the)g(resultan)m(t)g(list.)45 b(If)32 +b Fr(parameter)38 b Fu(is)32 b(an)g(arra)m(y)g(v)-5 b(ariable)630 +1724 y(subscripted)23 b(with)g(`)p Ft(@)p Fu(')i(or)f(`)p +Ft(*)p Fu(',)h(the)g(substitution)e(op)s(eration)i(is)f(applied)g(to)g +(eac)m(h)i(mem)m(b)s(er)630 1833 y(of)31 b(the)f(arra)m(y)h(in)f(turn,) +g(and)f(the)i(expansion)f(is)h(the)f(resultan)m(t)h(list.)150 +1987 y Ft(${)p Fj(parameter)p Ft(^)p Fj(pattern)p Ft(})150 +2096 y(${)p Fj(parameter)p Ft(^^)p Fj(pattern)p Ft(})150 +2206 y(${)p Fj(parameter)p Ft(,)p Fj(pattern)p Ft(})150 +2315 y(${)p Fj(parameter)p Ft(,,)p Fj(pattern)p Ft(})630 +2425 y Fu(This)36 b(expansion)g(mo)s(di\014es)g(the)g(case)i(of)f +(alphab)s(etic)g(c)m(haracters)h(in)e Fr(parameter)p +Fu(.)59 b(The)630 2534 y Fr(pattern)33 b Fu(is)g(expanded)e(to)j(pro)s +(duce)d(a)j(pattern)e(just)g(as)h(in)g(\014lename)g(expansion.)47 +b(Eac)m(h)630 2644 y(c)m(haracter)32 b(in)e(the)g(expanded)f(v)-5 +b(alue)31 b(of)f Fr(parameter)37 b Fu(is)30 b(tested)h(against)h +Fr(pattern)p Fu(,)e(and,)g(if)630 2754 y(it)j(matc)m(hes)h(the)g +(pattern,)f(its)h(case)g(is)f(con)m(v)m(erted.)49 b(The)33 +b(pattern)g(should)f(not)h(attempt)630 2863 y(to)f(matc)m(h)g(more)f +(than)g(one)g(c)m(haracter.)44 b(The)30 b(`)p Ft(^)p +Fu(')i(op)s(erator)f(con)m(v)m(erts)h(lo)m(w)m(ercase)i(letters)630 +2973 y(matc)m(hing)i Fr(pattern)f Fu(to)h(upp)s(ercase;)h(the)e(`)p +Ft(,)p Fu(')g(op)s(erator)g(con)m(v)m(erts)i(matc)m(hing)f(upp)s +(ercase)630 3082 y(letters)e(to)f(lo)m(w)m(ercase.)50 +b(The)32 b(`)p Ft(^^)p Fu(')h(and)f(`)p Ft(,,)p Fu(')g(expansions)h +(con)m(v)m(ert)h(eac)m(h)g(matc)m(hed)f(c)m(har-)630 +3192 y(acter)c(in)f(the)h(expanded)e(v)-5 b(alue;)30 b(the)e(`)p Ft(^)p Fu(')g(and)g(`)p Ft(,)p Fu(')g(expansions)g(matc)m -(h)h(and)f(con)m(v)m(ert)i(only)630 2246 y(the)37 b(\014rst)g(c)m +(h)h(and)f(con)m(v)m(ert)i(only)630 3302 y(the)37 b(\014rst)g(c)m (haracter)i(in)e(the)g(expanded)g(v)-5 b(alue.)61 b(If)37 b Fr(pattern)g Fu(is)h(omitted,)i(it)e(is)f(treated)630 -2355 y(lik)m(e)h(a)f(`)p Ft(?)p Fu(',)i(whic)m(h)d(matc)m(hes)i(ev)m +3411 y(lik)m(e)h(a)f(`)p Ft(?)p Fu(',)i(whic)m(h)d(matc)m(hes)i(ev)m (ery)f(c)m(haracter.)61 b(If)37 b Fr(parameter)43 b Fu(is)37 b(`)p Ft(@)p Fu(')g(or)f(`)p Ft(*)p Fu(',)j(the)e(case)630 -2465 y(mo)s(di\014cation)29 b(op)s(eration)f(is)g(applied)g(to)h(eac)m +3521 y(mo)s(di\014cation)29 b(op)s(eration)f(is)g(applied)g(to)h(eac)m (h)h(p)s(ositional)f(parameter)f(in)g(turn,)g(and)g(the)630 -2575 y(expansion)38 b(is)g(the)g(resultan)m(t)h(list.)65 +3630 y(expansion)38 b(is)g(the)g(resultan)m(t)h(list.)65 b(If)37 b Fr(parameter)46 b Fu(is)38 b(an)g(arra)m(y)g(v)-5 -b(ariable)39 b(subscripted)630 2684 y(with)26 b(`)p Ft(@)p +b(ariable)39 b(subscripted)630 3740 y(with)26 b(`)p Ft(@)p Fu(')f(or)h(`)p Ft(*)p Fu(',)h(the)f(case)h(mo)s(di\014cation)f(op)s (eration)h(is)e(applied)h(to)h(eac)m(h)g(mem)m(b)s(er)e(of)h(the)630 -2794 y(arra)m(y)31 b(in)f(turn,)f(and)h(the)h(expansion)f(is)g(the)h -(resultan)m(t)g(list.)150 3027 y Fk(3.5.4)63 b(Command)41 -b(Substitution)150 3174 y Fu(Command)f(substitution)h(allo)m(ws)i(the)e -(output)g(of)h(a)f(command)g(to)h(replace)g(the)g(command)f(itself.)150 -3284 y(Command)29 b(substitution)h(o)s(ccurs)h(when)e(a)i(command)f(is) -g(enclosed)h(as)g(follo)m(ws:)390 3452 y Ft($\()p Fj(command)p -Ft(\))150 3621 y Fu(or)390 3789 y Ft(`)p Fj(command)p -Ft(`)150 3958 y Fu(Bash)45 b(p)s(erforms)f(the)h(expansion)f(b)m(y)h -(executing)i Fr(command)h Fu(and)c(replacing)i(the)f(command)g(sub-)150 -4067 y(stitution)c(with)f(the)g(standard)g(output)g(of)g(the)g -(command,)j(with)d(an)m(y)h(trailing)g(newlines)f(deleted.)150 -4177 y(Em)m(b)s(edded)30 b(newlines)h(are)h(not)f(deleted,)i(but)e -(they)g(ma)m(y)h(b)s(e)f(remo)m(v)m(ed)i(during)d(w)m(ord)h(splitting.) -44 b(The)150 4286 y(command)23 b(substitution)g Ft($\(cat)29 -b Fj(file)p Ft(\))22 b Fu(can)i(b)s(e)f(replaced)g(b)m(y)h(the)f(equiv) --5 b(alen)m(t)25 b(but)e(faster)h Ft($\(<)29 b Fj(file)p -Ft(\))p Fu(.)275 4455 y(When)k(the)i(old-st)m(yle)h(bac)m(kquote)f -(form)f(of)g(substitution)g(is)g(used,)h(bac)m(kslash)f(retains)h(its)f -(literal)150 4565 y(meaning)k(except)h(when)e(follo)m(w)m(ed)j(b)m(y)e -(`)p Ft($)p Fu(',)j(`)p Ft(`)p Fu(',)f(or)e(`)p Ft(\\)p -Fu('.)64 b(The)38 b(\014rst)f(bac)m(kquote)j(not)e(preceded)g(b)m(y)g -(a)150 4674 y(bac)m(kslash)k(terminates)f(the)h(command)e -(substitution.)72 b(When)41 b(using)f(the)i Ft($\()p -Fj(command)p Ft(\))c Fu(form,)43 b(all)150 4784 y(c)m(haracters)32 -b(b)s(et)m(w)m(een)f(the)f(paren)m(theses)h(mak)m(e)g(up)f(the)g -(command;)h(none)f(are)h(treated)g(sp)s(ecially)-8 b(.)275 -4952 y(Command)22 b(substitutions)g(ma)m(y)i(b)s(e)e(nested.)39 -b(T)-8 b(o)23 b(nest)g(when)f(using)h(the)g(bac)m(kquoted)h(form,)g -(escap)s(e)150 5062 y(the)31 b(inner)e(bac)m(kquotes)j(with)e(bac)m -(kslashes.)275 5230 y(If)e(the)i(substitution)e(app)s(ears)h(within)g -(double)f(quotes,)i(w)m(ord)f(splitting)h(and)f(\014lename)g(expansion) -150 5340 y(are)i(not)f(p)s(erformed)f(on)h(the)h(results.)p +3850 y(arra)m(y)31 b(in)f(turn,)f(and)h(the)h(expansion)f(is)g(the)h +(resultan)m(t)g(list.)150 4003 y Ft(${)p Fj(parameter)p +Ft(@)p Fj(operator)p Ft(})630 4113 y Fu(The)d(expansion)h(is)f(either)h +(a)g(transformation)g(of)g(the)g(v)-5 b(alue)29 b(of)g +Fr(parameter)35 b Fu(or)29 b(informa-)630 4222 y(tion)e(ab)s(out)f +Fr(parameter)33 b Fu(itself,)28 b(dep)s(ending)c(on)i(the)h(v)-5 +b(alue)26 b(of)h Fr(op)s(erator)p Fu(.)39 b(Eac)m(h)27 +b Fr(op)s(erator)630 4332 y Fu(is)j(a)h(single)g(letter:)630 +4485 y Ft(Q)432 b Fu(The)30 b(expansion)h(is)g(a)g(string)f(that)i(is)f +(the)g(v)-5 b(alue)31 b(of)g Fr(parameter)37 b Fu(quoted)31 +b(in)1110 4595 y(a)g(format)f(that)h(can)g(b)s(e)f(reused)f(as)i +(input.)630 4748 y Ft(E)432 b Fu(The)48 b(expansion)h(is)g(a)g(string)g +(that)h(is)f(the)g(v)-5 b(alue)49 b(of)g Fr(parameter)56 +b Fu(with)1110 4858 y(bac)m(kslash)36 b(escap)s(e)f(sequences)h +(expanded)e(as)h(with)g(the)g Ft($'...)o(')f Fu(quoting)1110 +4967 y(mec)m(hansim.)630 5121 y Ft(P)432 b Fu(The)22 +b(expansion)h(is)g(a)g(string)g(that)g(is)g(the)g(result)g(of)g +(expanding)f(the)h(v)-5 b(alue)24 b(of)1110 5230 y Fr(parameter)31 +b Fu(as)24 b(if)f(it)h(w)m(ere)g(a)g(prompt)f(string)h(\(see)g(Section) +h(6.9)g([Con)m(trolling)1110 5340 y(the)31 b(Prompt],)f(page)h(94\).)p eop end %%Page: 29 35 TeXDict begin 29 34 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(29)150 299 -y Fk(3.5.5)63 b(Arithmetic)40 b(Expansion)150 446 y Fu(Arithmetic)25 -b(expansion)g(allo)m(ws)g(the)g(ev)-5 b(aluation)26 b(of)f(an)f -(arithmetic)i(expression)e(and)g(the)g(substitution)150 -555 y(of)31 b(the)f(result.)41 b(The)30 b(format)g(for)g(arithmetic)i -(expansion)e(is:)390 691 y Ft($\(\()47 b Fj(expression)e -Ft(\)\))275 826 y Fu(The)33 b(expression)g(is)h(treated)g(as)g(if)g(it) -g(w)m(ere)g(within)f(double)h(quotes,)h(but)e(a)h(double)f(quote)h -(inside)150 935 y(the)k(paren)m(theses)g(is)g(not)g(treated)h(sp)s -(ecially)-8 b(.)65 b(All)38 b(tok)m(ens)h(in)f(the)g(expression)f -(undergo)g(parameter)150 1045 y(and)26 b(v)-5 b(ariable)28 -b(expansion,)g(command)e(substitution,)i(and)e(quote)i(remo)m(v)-5 -b(al.)41 b(The)26 b(result)h(is)g(treated)h(as)150 1154 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(29)630 299 +y Ft(A)432 b Fu(The)24 b(expansion)g(is)g(a)h(string)f(in)g(the)g(form) +g(of)h(an)f(assignmen)m(t)h(statemen)m(t)h(or)1110 408 +y Ft(declare)h Fu(command)i(that,)h(if)f(ev)-5 b(aluated,)31 +b(will)e(recreate)i Fr(parameter)36 b Fu(with)1110 518 +y(its)31 b(attributes)g(and)e(v)-5 b(alue.)630 680 y +Ft(a)432 b Fu(The)30 b(expansion)g(is)g(a)h(string)f(consisting)h(of)g +(\015ag)g(v)-5 b(alues)30 b(represen)m(ting)h Fr(pa-)1110 +789 y(rameter)7 b Fu('s)31 b(attributes.)630 951 y(If)e +Fr(parameter)37 b Fu(is)30 b(`)p Ft(@)p Fu(')g(or)g(`)p +Ft(*)p Fu(',)g(the)g(op)s(eration)g(is)g(applied)f(to)i(eac)m(h)g(p)s +(ositional)f(parameter)630 1060 y(in)24 b(turn,)g(and)f(the)h +(expansion)g(is)g(the)g(resultan)m(t)h(list.)39 b(If)23 +b Fr(parameter)31 b Fu(is)24 b(an)g(arra)m(y)g(v)-5 b(ariable)630 +1170 y(subscripted)24 b(with)h(`)p Ft(@)p Fu(')h(or)g(`)p +Ft(*)p Fu(',)h(the)e(op)s(eration)h(is)g(applied)f(to)h(eac)m(h)h(mem)m +(b)s(er)e(of)h(the)f(arra)m(y)630 1279 y(in)30 b(turn,)g(and)f(the)i +(expansion)f(is)h(the)f(resultan)m(t)h(list.)630 1415 +y(The)22 b(result)g(of)g(the)h(expansion)f(is)g(sub)5 +b(ject)22 b(to)h(w)m(ord)f(splitting)g(and)g(pathname)g(expansion)630 +1524 y(as)31 b(describ)s(ed)e(b)s(elo)m(w.)150 1726 y +Fk(3.5.4)63 b(Command)41 b(Substitution)150 1873 y Fu(Command)f +(substitution)h(allo)m(ws)i(the)e(output)g(of)h(a)f(command)g(to)h +(replace)g(the)g(command)f(itself.)150 1982 y(Command)29 +b(substitution)h(o)s(ccurs)h(when)e(a)i(command)f(is)g(enclosed)h(as)g +(follo)m(ws:)390 2119 y Ft($\()p Fj(command)p Ft(\))150 +2255 y Fu(or)390 2392 y Ft(`)p Fj(command)p Ft(`)150 +2529 y Fu(Bash)20 b(p)s(erforms)f(the)i(expansion)f(b)m(y)g(executing)i +Fr(command)h Fu(in)d(a)h(subshell)e(en)m(vironmen)m(t)i(and)f +(replacing)150 2638 y(the)40 b(command)g(substitution)f(with)h(the)g +(standard)f(output)g(of)h(the)g(command,)i(with)e(an)m(y)g(trailing)150 +2748 y(newlines)e(deleted.)64 b(Em)m(b)s(edded)37 b(newlines)h(are)g +(not)g(deleted,)j(but)d(they)g(ma)m(y)h(b)s(e)e(remo)m(v)m(ed)i(during) +150 2857 y(w)m(ord)30 b(splitting.)42 b(The)30 b(command)g +(substitution)h Ft($\(cat)e Fj(file)p Ft(\))g Fu(can)h(b)s(e)g +(replaced)h(b)m(y)g(the)f(equiv)-5 b(alen)m(t)150 2967 +y(but)30 b(faster)g Ft($\(<)g Fj(file)p Ft(\))p Fu(.)275 +3103 y(When)j(the)i(old-st)m(yle)h(bac)m(kquote)f(form)f(of)g +(substitution)g(is)g(used,)h(bac)m(kslash)f(retains)h(its)f(literal)150 +3213 y(meaning)k(except)h(when)e(follo)m(w)m(ed)j(b)m(y)e(`)p +Ft($)p Fu(',)j(`)p Ft(`)p Fu(',)f(or)e(`)p Ft(\\)p Fu('.)64 +b(The)38 b(\014rst)f(bac)m(kquote)j(not)e(preceded)g(b)m(y)g(a)150 +3323 y(bac)m(kslash)k(terminates)f(the)h(command)e(substitution.)72 +b(When)41 b(using)f(the)i Ft($\()p Fj(command)p Ft(\))c +Fu(form,)43 b(all)150 3432 y(c)m(haracters)32 b(b)s(et)m(w)m(een)f(the) +f(paren)m(theses)h(mak)m(e)g(up)f(the)g(command;)h(none)f(are)h +(treated)g(sp)s(ecially)-8 b(.)275 3569 y(Command)22 +b(substitutions)g(ma)m(y)i(b)s(e)e(nested.)39 b(T)-8 +b(o)23 b(nest)g(when)f(using)h(the)g(bac)m(kquoted)h(form,)g(escap)s(e) +150 3678 y(the)31 b(inner)e(bac)m(kquotes)j(with)e(bac)m(kslashes.)275 +3815 y(If)e(the)i(substitution)e(app)s(ears)h(within)g(double)f +(quotes,)i(w)m(ord)f(splitting)h(and)f(\014lename)g(expansion)150 +3925 y(are)i(not)f(p)s(erformed)f(on)h(the)h(results.)150 +4126 y Fk(3.5.5)63 b(Arithmetic)40 b(Expansion)150 4273 +y Fu(Arithmetic)25 b(expansion)g(allo)m(ws)g(the)g(ev)-5 +b(aluation)26 b(of)f(an)f(arithmetic)i(expression)e(and)g(the)g +(substitution)150 4382 y(of)31 b(the)f(result.)41 b(The)30 +b(format)g(for)g(arithmetic)i(expansion)e(is:)390 4519 +y Ft($\(\()47 b Fj(expression)e Ft(\)\))275 4655 y Fu(The)33 +b(expression)g(is)h(treated)g(as)g(if)g(it)g(w)m(ere)g(within)f(double) +h(quotes,)h(but)e(a)h(double)f(quote)h(inside)150 4765 +y(the)k(paren)m(theses)g(is)g(not)g(treated)h(sp)s(ecially)-8 +b(.)65 b(All)38 b(tok)m(ens)h(in)f(the)g(expression)f(undergo)g +(parameter)150 4875 y(and)26 b(v)-5 b(ariable)28 b(expansion,)g +(command)e(substitution,)i(and)e(quote)i(remo)m(v)-5 +b(al.)41 b(The)26 b(result)h(is)g(treated)h(as)150 4984 y(the)j(arithmetic)g(expression)f(to)h(b)s(e)f(ev)-5 b(aluated.)42 b(Arithmetic)31 b(expansions)g(ma)m(y)g(b)s(e)e(nested.) -275 1290 y(The)34 b(ev)-5 b(aluation)37 b(is)f(p)s(erformed)e +275 5121 y(The)34 b(ev)-5 b(aluation)37 b(is)f(p)s(erformed)e (according)i(to)g(the)g(rules)f(listed)h(b)s(elo)m(w)g(\(see)g(Section) -g(6.5)h([Shell)150 1399 y(Arithmetic],)32 b(page)f(87\).)42 +g(6.5)h([Shell)150 5230 y(Arithmetic],)32 b(page)f(89\).)42 b(If)30 b(the)h(expression)f(is)g(in)m(v)-5 b(alid,)32 b(Bash)e(prin)m(ts)g(a)h(message)g(indicating)h(failure)150 -1509 y(to)f(the)g(standard)e(error)h(and)g(no)g(substitution)g(o)s -(ccurs.)150 1709 y Fk(3.5.6)63 b(Pro)s(cess)42 b(Substitution)150 -1856 y Fu(Pro)s(cess)i(substitution)g(is)g(supp)s(orted)f(on)h(systems) -g(that)h(supp)s(ort)d(named)i(pip)s(es)f(\()p Fm(fif)n(o)p -Fu(s\))i(or)f(the)150 1965 y Ft(/dev/fd)28 b Fu(metho)s(d)i(of)h -(naming)f(op)s(en)g(\014les.)40 b(It)31 b(tak)m(es)h(the)e(form)g(of) -390 2100 y Ft(<\()p Fj(list)p Ft(\))150 2235 y Fu(or)390 -2370 y Ft(>\()p Fj(list)p Ft(\))150 2506 y Fu(The)c(pro)s(cess)f -Fr(list)k Fu(is)e(run)d(with)i(its)h(input)e(or)h(output)g(connected)h -(to)g(a)g Fm(fif)n(o)f Fu(or)g(some)g(\014le)h(in)f Ft(/dev/fd)p -Fu(.)150 2615 y(The)i(name)h(of)g(this)f(\014le)h(is)g(passed)f(as)h -(an)f(argumen)m(t)h(to)h(the)f(curren)m(t)f(command)h(as)f(the)h -(result)g(of)g(the)150 2725 y(expansion.)40 b(If)29 b(the)g -Ft(>\()p Fj(list)p Ft(\))f Fu(form)g(is)i(used,)f(writing)g(to)h(the)f -(\014le)h(will)f(pro)m(vide)h(input)e(for)h Fr(list)p -Fu(.)41 b(If)29 b(the)150 2834 y Ft(<\()p Fj(list)p Ft(\))24 -b Fu(form)h(is)h(used,)g(the)g(\014le)g(passed)g(as)g(an)f(argumen)m(t) -i(should)e(b)s(e)g(read)g(to)i(obtain)f(the)g(output)g(of)150 -2944 y Fr(list)p Fu(.)41 b(Note)31 b(that)f(no)g(space)g(ma)m(y)g(app)s -(ear)f(b)s(et)m(w)m(een)h(the)g Ft(<)f Fu(or)h Ft(>)f -Fu(and)g(the)h(left)g(paren)m(thesis,)h(otherwise)150 -3054 y(the)g(construct)f(w)m(ould)g(b)s(e)g(in)m(terpreted)h(as)f(a)h -(redirection.)275 3189 y(When)36 b(a)m(v)-5 b(ailable,)40 +5340 y(to)f(the)g(standard)e(error)h(and)g(no)g(substitution)g(o)s +(ccurs.)p eop end +%%Page: 30 36 +TeXDict begin 30 35 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(30)150 299 +y Fk(3.5.6)63 b(Pro)s(cess)42 b(Substitution)150 446 +y Fu(Pro)s(cess)33 b(substitution)g(allo)m(ws)i(a)e(pro)s(cess's)g +(input)f(or)h(output)g(to)h(b)s(e)f(referred)f(to)i(using)f(a)g +(\014lename.)150 555 y(It)d(tak)m(es)i(the)f(form)f(of)390 +696 y Ft(<\()p Fj(list)p Ft(\))150 836 y Fu(or)390 976 +y Ft(>\()p Fj(list)p Ft(\))150 1116 y Fu(The)e(pro)s(cess)h +Fr(list)j Fu(is)d(run)e(async)m(hronously)-8 b(,)30 b(and)e(its)i +(input)e(or)h(output)f(app)s(ears)h(as)g(a)g(\014lename.)41 +b(This)150 1226 y(\014lename)25 b(is)g(passed)g(as)g(an)g(argumen)m(t)h +(to)g(the)f(curren)m(t)g(command)g(as)g(the)g(result)g(of)g(the)h +(expansion.)38 b(If)150 1335 y(the)28 b Ft(>\()p Fj(list)p +Ft(\))d Fu(form)i(is)g(used,)h(writing)f(to)h(the)g(\014le)f(will)h +(pro)m(vide)g(input)e(for)h Fr(list)p Fu(.)41 b(If)26 +b(the)i Ft(<\()p Fj(list)p Ft(\))d Fu(form)150 1445 y(is)g(used,)g(the) +f(\014le)h(passed)f(as)h(an)f(argumen)m(t)h(should)e(b)s(e)h(read)h(to) +g(obtain)g(the)f(output)g(of)h Fr(list)p Fu(.)40 b(Note)25 +b(that)150 1555 y(no)33 b(space)g(ma)m(y)g(app)s(ear)f(b)s(et)m(w)m +(een)i(the)f Ft(<)f Fu(or)h Ft(>)f Fu(and)g(the)h(left)h(paren)m +(thesis,)f(otherwise)h(the)f(construct)150 1664 y(w)m(ould)j(b)s(e)g +(in)m(terpreted)g(as)h(a)f(redirection.)59 b(Pro)s(cess)36 +b(substitution)g(is)h(supp)s(orted)d(on)i(systems)g(that)150 +1774 y(supp)s(ort)29 b(named)h(pip)s(es)f(\()p Fm(fif)n(o)p +Fu(s\))h(or)h(the)f Ft(/dev/fd)f Fu(metho)s(d)h(of)g(naming)g(op)s(en)g +(\014les.)275 1914 y(When)36 b(a)m(v)-5 b(ailable,)40 b(pro)s(cess)c(substitution)h(is)f(p)s(erformed)f(sim)m(ultaneously)i -(with)g(parameter)g(and)150 3298 y(v)-5 b(ariable)31 +(with)g(parameter)g(and)150 2024 y(v)-5 b(ariable)31 b(expansion,)g(command)f(substitution,)g(and)g(arithmetic)i(expansion.) -150 3498 y Fk(3.5.7)63 b(W)-10 b(ord)41 b(Splitting)150 -3645 y Fu(The)30 b(shell)h(scans)g(the)g(results)f(of)h(parameter)g +150 2229 y Fk(3.5.7)63 b(W)-10 b(ord)41 b(Splitting)150 +2376 y Fu(The)30 b(shell)h(scans)g(the)g(results)f(of)h(parameter)g (expansion,)g(command)g(substitution,)g(and)f(arithmetic)150 -3755 y(expansion)g(that)h(did)f(not)g(o)s(ccur)h(within)e(double)h -(quotes)h(for)f(w)m(ord)g(splitting.)275 3890 y(The)e(shell)g(treats)i +2485 y(expansion)g(that)h(did)f(not)g(o)s(ccur)h(within)e(double)h +(quotes)h(for)f(w)m(ord)g(splitting.)275 2625 y(The)e(shell)g(treats)i (eac)m(h)g(c)m(haracter)g(of)f Ft($IFS)e Fu(as)i(a)g(delimiter,)h(and)e -(splits)g(the)h(results)f(of)h(the)g(other)150 3999 y(expansions)22 +(splits)g(the)h(results)f(of)h(the)g(other)150 2735 y(expansions)22 b(in)m(to)i(w)m(ords)e(using)h(these)g(c)m(haracters)h(as)f(\014eld)f (terminators.)39 b(If)22 b Ft(IFS)g Fu(is)h(unset,)h(or)e(its)h(v)-5 -b(alue)150 4109 y(is)36 b(exactly)j Ft()p +b(alue)150 2845 y(is)36 b(exactly)j Ft()p Fu(,)32 b(the)37 b(default,)h(then)e(sequences)h(of)67 -b Ft()p Fu(,)36 b Ft()p Fu(,)h(and)150 4219 +b Ft()p Fu(,)36 b Ft()p Fu(,)h(and)150 2954 y Ft()28 b Fu(at)k(the)f(b)s(eginning)f(and)h(end)f(of)h(the)g (results)g(of)g(the)g(previous)g(expansions)f(are)i(ignored,)150 -4328 y(and)k(an)m(y)h(sequence)h(of)f Ft(IFS)f Fu(c)m(haracters)i(not)f +3064 y(and)k(an)m(y)h(sequence)h(of)f Ft(IFS)f Fu(c)m(haracters)i(not)f (at)h(the)f(b)s(eginning)f(or)h(end)f(serv)m(es)h(to)h(delimit)f(w)m -(ords.)150 4438 y(If)43 b Ft(IFS)f Fu(has)h(a)h(v)-5 +(ords.)150 3173 y(If)43 b Ft(IFS)f Fu(has)h(a)h(v)-5 b(alue)43 b(other)h(than)f(the)g(default,)k(then)c(sequences)h(of)f -(the)h(whitespace)f(c)m(haracters)150 4547 y Ft(space)26 -b Fu(and)h Ft(tab)g Fu(are)h(ignored)g(at)h(the)f(b)s(eginning)f(and)g -(end)g(of)h(the)g(w)m(ord,)g(as)g(long)g(as)g(the)g(whitespace)150 -4657 y(c)m(haracter)34 b(is)f(in)f(the)h(v)-5 b(alue)33 -b(of)f Ft(IFS)g Fu(\(an)h Ft(IFS)e Fu(whitespace)j(c)m(haracter\).)49 -b(An)m(y)32 b(c)m(haracter)i(in)f Ft(IFS)e Fu(that)150 -4767 y(is)f(not)h Ft(IFS)f Fu(whitespace,)h(along)g(with)f(an)m(y)h -(adjacen)m(t)h Ft(IFS)d Fu(whitespace)i(c)m(haracters,)h(delimits)f(a)g -(\014eld.)150 4876 y(A)h(sequence)h(of)f Ft(IFS)f Fu(whitespace)i(c)m -(haracters)h(is)e(also)h(treated)g(as)g(a)f(delimiter.)47 -b(If)32 b(the)g(v)-5 b(alue)33 b(of)f Ft(IFS)150 4986 -y Fu(is)e(n)m(ull,)h(no)f(w)m(ord)g(splitting)h(o)s(ccurs.)275 -5121 y(Explicit)44 b(n)m(ull)f(argumen)m(ts)g(\()p Ft("")g -Fu(or)h Ft('')p Fu(\))f(are)g(retained.)80 b(Unquoted)43 -b(implicit)h(n)m(ull)f(argumen)m(ts,)150 5230 y(resulting)24 -b(from)f(the)g(expansion)g(of)h(parameters)g(that)g(ha)m(v)m(e)h(no)e -(v)-5 b(alues,)25 b(are)f(remo)m(v)m(ed.)40 b(If)23 b(a)g(parameter)150 -5340 y(with)30 b(no)g(v)-5 b(alue)31 b(is)g(expanded)e(within)h(double) -g(quotes,)h(a)g(n)m(ull)f(argumen)m(t)h(results)f(and)g(is)g(retained.) -p eop end -%%Page: 30 36 -TeXDict begin 30 35 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(30)275 299 -y(Note)31 b(that)g(if)g(no)f(expansion)g(o)s(ccurs,)g(no)h(splitting)g -(is)f(p)s(erformed.)150 503 y Fk(3.5.8)63 b(Filename)41 -b(Expansion)150 650 y Fu(After)30 b(w)m(ord)f(splitting,)i(unless)d -(the)i Ft(-f)f Fu(option)h(has)f(b)s(een)g(set)h(\(see)g(Section)h -(4.3.1)g([The)e(Set)h(Builtin],)150 759 y(page)d(58\),)i(Bash)d(scans)h -(eac)m(h)h(w)m(ord)e(for)g(the)h(c)m(haracters)g(`)p -Ft(*)p Fu(',)h(`)p Ft(?)p Fu(',)g(and)e(`)p Ft([)p Fu('.)39 -b(If)26 b(one)h(of)g(these)f(c)m(haracters)150 869 y(app)s(ears,)h +(the)h(whitespace)f(c)m(haracters)150 3283 y Ft(space)p +Fu(,)29 b Ft(tab)p Fu(,)h(and)g Ft(newline)e Fu(are)j(ignored)g(at)g +(the)f(b)s(eginning)g(and)g(end)g(of)g(the)h(w)m(ord,)f(as)h(long)g(as) +g(the)150 3393 y(whitespace)c(c)m(haracter)h(is)f(in)f(the)g(v)-5 +b(alue)27 b(of)g Ft(IFS)e Fu(\(an)i Ft(IFS)e Fu(whitespace)i(c)m +(haracter\).)42 b(An)m(y)26 b(c)m(haracter)i(in)150 3502 +y Ft(IFS)c Fu(that)h(is)g(not)f Ft(IFS)g Fu(whitespace,)j(along)f(with) +e(an)m(y)h(adjacen)m(t)h Ft(IFS)e Fu(whitespace)h(c)m(haracters,)i +(delimits)150 3612 y(a)k(\014eld.)40 b(A)31 b(sequence)g(of)f +Ft(IFS)g Fu(whitespace)h(c)m(haracters)h(is)e(also)h(treated)h(as)f(a)f +(delimiter.)42 b(If)30 b(the)g(v)-5 b(alue)150 3721 y(of)31 +b Ft(IFS)e Fu(is)h(n)m(ull,)h(no)f(w)m(ord)g(splitting)h(o)s(ccurs.)275 +3862 y(Explicit)21 b(n)m(ull)g(argumen)m(ts)g(\()p Ft("")g +Fu(or)g Ft('')p Fu(\))f(are)h(retained)h(and)e(passed)g(to)i(commands)e +(as)i(empt)m(y)f(strings.)150 3971 y(Unquoted)37 b(implicit)i(n)m(ull)f +(argumen)m(ts,)i(resulting)d(from)g(the)h(expansion)g(of)g(parameters)f +(that)i(ha)m(v)m(e)150 4081 y(no)32 b(v)-5 b(alues,)33 +b(are)f(remo)m(v)m(ed.)47 b(If)32 b(a)g(parameter)h(with)e(no)h(v)-5 +b(alue)33 b(is)f(expanded)f(within)h(double)f(quotes,)j(a)150 +4190 y(n)m(ull)c(argumen)m(t)g(results)g(and)f(is)h(retained)g(and)f +(passed)g(to)i(a)f(command)g(as)g(an)f(empt)m(y)i(string.)40 +b(When)150 4300 y(a)f(quoted)f(n)m(ull)g(argumen)m(t)h(app)s(ears)e(as) +i(part)f(of)g(a)g(w)m(ord)g(whose)g(expansion)g(is)h(non-n)m(ull,)h +(the)e(n)m(ull)150 4409 y(argumen)m(t)i(is)f(remo)m(v)m(ed.)69 +b(That)39 b(is,)j(the)e(w)m(ord)f Ft(-d'')f Fu(b)s(ecomes)i +Ft(-d)e Fu(after)i(w)m(ord)f(splitting)h(and)f(n)m(ull)150 +4519 y(argumen)m(t)31 b(remo)m(v)-5 b(al.)275 4659 y(Note)31 +b(that)g(if)g(no)f(expansion)g(o)s(ccurs,)g(no)h(splitting)g(is)f(p)s +(erformed.)150 4864 y Fk(3.5.8)63 b(Filename)41 b(Expansion)150 +5011 y Fu(After)30 b(w)m(ord)f(splitting,)i(unless)d(the)i +Ft(-f)f Fu(option)h(has)f(b)s(een)g(set)h(\(see)g(Section)h(4.3.1)g +([The)e(Set)h(Builtin],)150 5121 y(page)d(60\),)i(Bash)d(scans)h(eac)m +(h)h(w)m(ord)e(for)g(the)h(c)m(haracters)g(`)p Ft(*)p +Fu(',)h(`)p Ft(?)p Fu(',)g(and)e(`)p Ft([)p Fu('.)39 +b(If)26 b(one)h(of)g(these)f(c)m(haracters)150 5230 y(app)s(ears,)h (then)f(the)h(w)m(ord)f(is)h(regarded)g(as)g(a)g Fr(pattern)p Fu(,)g(and)g(replaced)g(with)f(an)h(alphab)s(etically)h(sorted)150 -979 y(list)k(of)f(\014lenames)g(matc)m(hing)h(the)f(pattern)g(\(see)h -(Section)f(3.5.8.1)j([P)m(attern)e(Matc)m(hing],)h(page)f(30\).)43 -b(If)150 1088 y(no)26 b(matc)m(hing)i(\014lenames)e(are)h(found,)f(and) -g(the)h(shell)f(option)h Ft(nullglob)d Fu(is)j(disabled,)g(the)g(w)m -(ord)f(is)g(left)150 1198 y(unc)m(hanged.)40 b(If)30 -b(the)g Ft(nullglob)e Fu(option)i(is)h(set,)f(and)g(no)g(matc)m(hes)h -(are)g(found,)e(the)h(w)m(ord)g(is)g(remo)m(v)m(ed.)150 -1307 y(If)i(the)g Ft(failglob)e Fu(shell)i(option)h(is)f(set,)h(and)f -(no)g(matc)m(hes)h(are)g(found,)e(an)h(error)g(message)h(is)f(prin)m -(ted)150 1417 y(and)e(the)g(command)g(is)h(not)f(executed.)42 -b(If)30 b(the)g(shell)h(option)g Ft(nocaseglob)c Fu(is)k(enabled,)f -(the)h(matc)m(h)g(is)150 1527 y(p)s(erformed)e(without)h(regard)h(to)g -(the)f(case)i(of)e(alphab)s(etic)h(c)m(haracters.)275 -1666 y(When)23 b(a)h(pattern)f(is)h(used)f(for)g(\014lename)h -(expansion,)h(the)e(c)m(haracter)i(`)p Ft(.)p Fu(')f(at)g(the)g(start)g -(of)g(a)g(\014lename)150 1775 y(or)f(immediately)i(follo)m(wing)g(a)f -(slash)f(m)m(ust)h(b)s(e)f(matc)m(hed)h(explicitly)-8 -b(,)27 b(unless)c(the)g(shell)h(option)g Ft(dotglob)150 -1885 y Fu(is)33 b(set.)51 b(When)33 b(matc)m(hing)h(a)g(\014lename,)h -(the)e(slash)h(c)m(haracter)h(m)m(ust)e(alw)m(a)m(ys)i(b)s(e)e(matc)m -(hed)h(explicitly)-8 b(.)150 1994 y(In)30 b(other)g(cases,)i(the)e(`)p -Ft(.)p Fu(')h(c)m(haracter)h(is)e(not)h(treated)g(sp)s(ecially)-8 -b(.)275 2134 y(See)28 b(the)g(description)g(of)g Ft(shopt)e -Fu(in)i(Section)g(4.3.2)i([The)e(Shopt)f(Builtin],)i(page)g(62,)g(for)f -(a)g(descrip-)150 2243 y(tion)j(of)f(the)h Ft(nocaseglob)p -Fu(,)d Ft(nullglob)p Fu(,)g Ft(failglob)p Fu(,)h(and)g -Ft(dotglob)g Fu(options.)275 2383 y(The)j Ft(GLOBIGNORE)f -Fu(shell)i(v)-5 b(ariable)34 b(ma)m(y)g(b)s(e)f(used)f(to)i(restrict)g -(the)g(set)f(of)h(\014lenames)f(matc)m(hing)i(a)150 2492 -y(pattern.)k(If)25 b Ft(GLOBIGNORE)e Fu(is)j(set,)h(eac)m(h)g(matc)m -(hing)g(\014lename)f(that)g(also)h(matc)m(hes)f(one)g(of)g(the)g -(patterns)150 2602 y(in)39 b Ft(GLOBIGNORE)d Fu(is)j(remo)m(v)m(ed)h -(from)e(the)h(list)h(of)f(matc)m(hes.)67 b(The)39 b(\014lenames)g -Ft(.)f Fu(and)h Ft(..)f Fu(are)h(alw)m(a)m(ys)150 2711 -y(ignored)33 b(when)e Ft(GLOBIGNORE)f Fu(is)j(set)g(and)f(not)h(n)m -(ull.)48 b(Ho)m(w)m(ev)m(er,)35 b(setting)f Ft(GLOBIGNORE)c -Fu(to)j(a)g(non-n)m(ull)150 2821 y(v)-5 b(alue)34 b(has)f(the)h -(e\013ect)h(of)f(enabling)g(the)g Ft(dotglob)e Fu(shell)h(option,)j(so) -e(all)g(other)g(\014lenames)g(b)s(eginning)150 2930 y(with)43 -b(a)h(`)p Ft(.)p Fu(')f(will)h(matc)m(h.)80 b(T)-8 b(o)44 -b(get)h(the)e(old)h(b)s(eha)m(vior)f(of)h(ignoring)f(\014lenames)h(b)s -(eginning)f(with)g(a)150 3040 y(`)p Ft(.)p Fu(',)c(mak)m(e)g(`)p -Ft(.*)p Fu(')e(one)g(of)g(the)h(patterns)f(in)g Ft(GLOBIGNORE)p -Fu(.)58 b(The)37 b Ft(dotglob)e Fu(option)j(is)f(disabled)g(when)150 -3150 y Ft(GLOBIGNORE)28 b Fu(is)i(unset.)150 3354 y Fk(3.5.8.1)63 -b(P)m(attern)40 b(Matc)m(hing)150 3501 y Fu(An)m(y)24 -b(c)m(haracter)h(that)f(app)s(ears)f(in)g(a)h(pattern,)i(other)e(than)f -(the)h(sp)s(ecial)g(pattern)g(c)m(haracters)h(describ)s(ed)150 -3610 y(b)s(elo)m(w,)31 b(matc)m(hes)g(itself.)42 b(The)29 -b Fm(nul)h Fu(c)m(haracter)i(ma)m(y)e(not)h(o)s(ccur)f(in)g(a)h -(pattern.)40 b(A)31 b(bac)m(kslash)g(escap)s(es)150 3720 -y(the)38 b(follo)m(wing)g(c)m(haracter;)43 b(the)37 b(escaping)i(bac)m -(kslash)e(is)h(discarded)f(when)f(matc)m(hing.)63 b(The)36 -b(sp)s(ecial)150 3829 y(pattern)30 b(c)m(haracters)i(m)m(ust)f(b)s(e)e -(quoted)i(if)f(they)h(are)f(to)i(b)s(e)d(matc)m(hed)i(literally)-8 -b(.)275 3969 y(The)29 b(sp)s(ecial)i(pattern)g(c)m(haracters)h(ha)m(v)m -(e)f(the)g(follo)m(wing)h(meanings:)150 4135 y Ft(*)432 -b Fu(Matc)m(hes)31 b(an)m(y)e(string,)h(including)f(the)g(n)m(ull)g -(string.)41 b(When)29 b(the)g Ft(globstar)e Fu(shell)i(option)630 -4245 y(is)37 b(enabled,)h(and)e(`)p Ft(*)p Fu(')h(is)g(used)f(in)g(a)h +5340 y(list)k(of)f(\014lenames)g(matc)m(hing)h(the)f(pattern)g(\(see)h +(Section)f(3.5.8.1)j([P)m(attern)e(Matc)m(hing],)h(page)f(31\).)43 +b(If)p eop end +%%Page: 31 37 +TeXDict begin 31 36 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(31)150 299 +y(no)26 b(matc)m(hing)i(\014lenames)e(are)h(found,)f(and)g(the)h(shell) +f(option)h Ft(nullglob)d Fu(is)j(disabled,)g(the)g(w)m(ord)f(is)g(left) +150 408 y(unc)m(hanged.)40 b(If)30 b(the)g Ft(nullglob)e +Fu(option)i(is)h(set,)f(and)g(no)g(matc)m(hes)h(are)g(found,)e(the)h(w) +m(ord)g(is)g(remo)m(v)m(ed.)150 518 y(If)i(the)g Ft(failglob)e +Fu(shell)i(option)h(is)f(set,)h(and)f(no)g(matc)m(hes)h(are)g(found,)e +(an)h(error)g(message)h(is)f(prin)m(ted)150 628 y(and)e(the)g(command)g +(is)h(not)f(executed.)42 b(If)30 b(the)g(shell)h(option)g +Ft(nocaseglob)c Fu(is)k(enabled,)f(the)h(matc)m(h)g(is)150 +737 y(p)s(erformed)e(without)h(regard)h(to)g(the)f(case)i(of)e(alphab)s +(etic)h(c)m(haracters.)275 876 y(When)23 b(a)h(pattern)f(is)h(used)f +(for)g(\014lename)h(expansion,)h(the)e(c)m(haracter)i(`)p +Ft(.)p Fu(')f(at)g(the)g(start)g(of)g(a)g(\014lename)150 +985 y(or)f(immediately)i(follo)m(wing)g(a)f(slash)f(m)m(ust)h(b)s(e)f +(matc)m(hed)h(explicitly)-8 b(,)27 b(unless)c(the)g(shell)h(option)g +Ft(dotglob)150 1095 y Fu(is)33 b(set.)51 b(When)33 b(matc)m(hing)h(a)g +(\014lename,)h(the)e(slash)h(c)m(haracter)h(m)m(ust)e(alw)m(a)m(ys)i(b) +s(e)e(matc)m(hed)h(explicitly)-8 b(.)150 1205 y(In)30 +b(other)g(cases,)i(the)e(`)p Ft(.)p Fu(')h(c)m(haracter)h(is)e(not)h +(treated)g(sp)s(ecially)-8 b(.)275 1343 y(See)28 b(the)g(description)g +(of)g Ft(shopt)e Fu(in)i(Section)g(4.3.2)i([The)e(Shopt)f(Builtin],)i +(page)g(64,)g(for)f(a)g(descrip-)150 1453 y(tion)j(of)f(the)h +Ft(nocaseglob)p Fu(,)d Ft(nullglob)p Fu(,)g Ft(failglob)p +Fu(,)h(and)g Ft(dotglob)g Fu(options.)275 1592 y(The)j +Ft(GLOBIGNORE)f Fu(shell)i(v)-5 b(ariable)34 b(ma)m(y)g(b)s(e)f(used)f +(to)i(restrict)g(the)g(set)f(of)h(\014lenames)f(matc)m(hing)i(a)150 +1701 y(pattern.)k(If)25 b Ft(GLOBIGNORE)e Fu(is)j(set,)h(eac)m(h)g +(matc)m(hing)g(\014lename)f(that)g(also)h(matc)m(hes)f(one)g(of)g(the)g +(patterns)150 1811 y(in)36 b Ft(GLOBIGNORE)d Fu(is)j(remo)m(v)m(ed)h +(from)e(the)i(list)f(of)g(matc)m(hes.)59 b(If)36 b(the)g +Ft(nocaseglob)d Fu(option)k(is)f(set,)i(the)150 1920 +y(matc)m(hing)i(against)g(the)f(patterns)f(in)h Ft(GLOBIGNORE)d +Fu(is)j(p)s(erformed)e(without)h(regard)h(to)h(case.)66 +b(The)150 2030 y(\014lenames)41 b Ft(.)f Fu(and)g Ft(..)h +Fu(are)g(alw)m(a)m(ys)h(ignored)f(when)f Ft(GLOBIGNORE)e +Fu(is)i(set)i(and)e(not)h(n)m(ull.)72 b(Ho)m(w)m(ev)m(er,)150 +2139 y(setting)30 b Ft(GLOBIGNORE)d Fu(to)j(a)f(non-n)m(ull)g(v)-5 +b(alue)30 b(has)f(the)g(e\013ect)i(of)f(enabling)f(the)h +Ft(dotglob)d Fu(shell)i(option,)150 2249 y(so)j(all)h(other)f +(\014lenames)g(b)s(eginning)f(with)h(a)g(`)p Ft(.)p Fu(')g(will)h(matc) +m(h.)46 b(T)-8 b(o)32 b(get)h(the)f(old)g(b)s(eha)m(vior)g(of)h +(ignoring)150 2359 y(\014lenames)c(b)s(eginning)f(with)h(a)h(`)p +Ft(.)p Fu(',)f(mak)m(e)h(`)p Ft(.*)p Fu(')f(one)h(of)f(the)g(patterns)g +(in)g Ft(GLOBIGNORE)p Fu(.)37 b(The)29 b Ft(dotglob)150 +2468 y Fu(option)i(is)f(disabled)g(when)g Ft(GLOBIGNORE)d +Fu(is)k(unset.)150 2672 y Fk(3.5.8.1)63 b(P)m(attern)40 +b(Matc)m(hing)150 2819 y Fu(An)m(y)24 b(c)m(haracter)h(that)f(app)s +(ears)f(in)g(a)h(pattern,)i(other)e(than)f(the)h(sp)s(ecial)g(pattern)g +(c)m(haracters)h(describ)s(ed)150 2928 y(b)s(elo)m(w,)31 +b(matc)m(hes)g(itself.)42 b(The)29 b Fm(nul)h Fu(c)m(haracter)i(ma)m(y) +e(not)h(o)s(ccur)f(in)g(a)h(pattern.)40 b(A)31 b(bac)m(kslash)g(escap)s +(es)150 3038 y(the)38 b(follo)m(wing)g(c)m(haracter;)43 +b(the)37 b(escaping)i(bac)m(kslash)e(is)h(discarded)f(when)f(matc)m +(hing.)63 b(The)36 b(sp)s(ecial)150 3147 y(pattern)30 +b(c)m(haracters)i(m)m(ust)f(b)s(e)e(quoted)i(if)f(they)h(are)f(to)i(b)s +(e)d(matc)m(hed)i(literally)-8 b(.)275 3286 y(The)29 +b(sp)s(ecial)i(pattern)g(c)m(haracters)h(ha)m(v)m(e)f(the)g(follo)m +(wing)h(meanings:)150 3452 y Ft(*)432 b Fu(Matc)m(hes)31 +b(an)m(y)e(string,)h(including)f(the)g(n)m(ull)g(string.)41 +b(When)29 b(the)g Ft(globstar)e Fu(shell)i(option)630 +3561 y(is)37 b(enabled,)h(and)e(`)p Ft(*)p Fu(')h(is)g(used)f(in)g(a)h (\014lename)g(expansion)g(con)m(text,)j(t)m(w)m(o)e(adjacen)m(t)g(`)p -Ft(*)p Fu('s)630 4354 y(used)f(as)g(a)h(single)g(pattern)g(will)f(matc) +Ft(*)p Fu('s)630 3671 y(used)f(as)g(a)h(single)g(pattern)g(will)f(matc) m(h)i(all)f(\014les)f(and)g(zero)h(or)g(more)f(directories)i(and)630 -4464 y(sub)s(directories.)g(If)25 b(follo)m(w)m(ed)j(b)m(y)e(a)g(`)p +3780 y(sub)s(directories.)g(If)25 b(follo)m(w)m(ed)j(b)m(y)e(a)g(`)p Ft(/)p Fu(',)h(t)m(w)m(o)g(adjacen)m(t)h(`)p Ft(*)p Fu('s)e(will)g -(matc)m(h)h(only)f(directories)630 4573 y(and)k(sub)s(directories.)150 -4737 y Ft(?)432 b Fu(Matc)m(hes)32 b(an)m(y)f(single)g(c)m(haracter.) -150 4902 y Ft([...)o(])241 b Fu(Matc)m(hes)27 b(an)m(y)e(one)g(of)g +(matc)m(h)h(only)f(directories)630 3890 y(and)k(sub)s(directories.)150 +4054 y Ft(?)432 b Fu(Matc)m(hes)32 b(an)m(y)f(single)g(c)m(haracter.) +150 4217 y Ft([...)o(])241 b Fu(Matc)m(hes)27 b(an)m(y)e(one)g(of)g (the)g(enclosed)g(c)m(haracters.)41 b(A)25 b(pair)f(of)h(c)m(haracters) -i(separated)e(b)m(y)g(a)630 5011 y(h)m(yphen)k(denotes)i(a)g +i(separated)e(b)m(y)g(a)630 4327 y(h)m(yphen)k(denotes)i(a)g Fr(range)g(expression)p Fu(;)f(an)m(y)h(c)m(haracter)h(that)f(falls)g -(b)s(et)m(w)m(een)g(those)g(t)m(w)m(o)630 5121 y(c)m(haracters,)d +(b)s(et)m(w)m(een)g(those)g(t)m(w)m(o)630 4436 y(c)m(haracters,)d (inclusiv)m(e,)f(using)d(the)h(curren)m(t)f(lo)s(cale's)j(collating)g -(sequence)e(and)f(c)m(haracter)630 5230 y(set,)31 b(is)f(matc)m(hed.)42 +(sequence)e(and)f(c)m(haracter)630 4546 y(set,)31 b(is)f(matc)m(hed.)42 b(If)30 b(the)g(\014rst)g(c)m(haracter)i(follo)m(wing)g(the)e(`)p Ft([)p Fu(')h(is)f(a)h(`)p Ft(!)p Fu(')f(or)g(a)h(`)p -Ft(^)p Fu(')g(then)f(an)m(y)630 5340 y(c)m(haracter)c(not)f(enclosed)g +Ft(^)p Fu(')g(then)f(an)m(y)630 4655 y(c)m(haracter)c(not)f(enclosed)g (is)g(matc)m(hed.)40 b(A)25 b(`)p Fq(\000)p Fu(')f(ma)m(y)i(b)s(e)e -(matc)m(hed)h(b)m(y)f(including)h(it)g(as)g(the)p eop -end -%%Page: 31 37 -TeXDict begin 31 36 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(31)630 299 +(matc)m(hed)h(b)m(y)f(including)h(it)g(as)g(the)630 4765 y(\014rst)32 b(or)h(last)h(c)m(haracter)h(in)e(the)g(set.)50 b(A)33 b(`)p Ft(])p Fu(')g(ma)m(y)h(b)s(e)e(matc)m(hed)i(b)m(y)f -(including)g(it)g(as)h(the)630 408 y(\014rst)25 b(c)m(haracter)i(in)e +(including)g(it)g(as)h(the)630 4875 y(\014rst)25 b(c)m(haracter)i(in)e (the)h(set.)40 b(The)25 b(sorting)h(order)f(of)h(c)m(haracters)h(in)f -(range)g(expressions)f(is)630 518 y(determined)h(b)m(y)h(the)g(curren)m -(t)f(lo)s(cale)j(and)d(the)h(v)-5 b(alues)27 b(of)g(the)g -Ft(LC_COLLATE)d Fu(and)i Ft(LC_ALL)630 628 y Fu(shell)31 -b(v)-5 b(ariables,)31 b(if)f(set.)630 758 y(F)-8 b(or)34 +(range)g(expressions)f(is)630 4984 y(determined)h(b)m(y)h(the)g(curren) +m(t)f(lo)s(cale)j(and)d(the)h(v)-5 b(alues)27 b(of)g(the)g +Ft(LC_COLLATE)d Fu(and)i Ft(LC_ALL)630 5094 y Fu(shell)31 +b(v)-5 b(ariables,)31 b(if)f(set.)630 5230 y(F)-8 b(or)34 b(example,)g(in)f(the)g(default)g(C)f(lo)s(cale,)k(`)p Ft([a-dx-z])p Fu(')31 b(is)i(equiv)-5 b(alen)m(t)34 b(to)g(`)p -Ft([abcdxyz])p Fu('.)630 868 y(Man)m(y)68 b(lo)s(cales)h(sort)f(c)m +Ft([abcdxyz])p Fu('.)630 5340 y(Man)m(y)68 b(lo)s(cales)h(sort)f(c)m (haracters)h(in)e(dictionary)i(order,)76 b(and)67 b(in)g(these)h(lo)s -(cales)630 977 y(`)p Ft([a-dx-z])p Fu(')36 b(is)i(t)m(ypically)i(not)e -(equiv)-5 b(alen)m(t)39 b(to)g(`)p Ft([abcdxyz])p Fu(';)g(it)g(migh)m -(t)f(b)s(e)f(equiv)-5 b(alen)m(t)630 1087 y(to)34 b(`)p -Ft([aBbCcDdxXyYz])p Fu(',)c(for)j(example.)49 b(T)-8 -b(o)33 b(obtain)h(the)f(traditional)h(in)m(terpretation)h(of)630 -1196 y(ranges)e(in)f(brac)m(k)m(et)i(expressions,)g(y)m(ou)f(can)g -(force)g(the)g(use)f(of)h(the)g(C)f(lo)s(cale)i(b)m(y)f(setting)630 -1306 y(the)c Ft(LC_COLLATE)e Fu(or)i Ft(LC_ALL)f Fu(en)m(vironmen)m(t)i -(v)-5 b(ariable)30 b(to)g(the)f(v)-5 b(alue)30 b(`)p -Ft(C)p Fu(',)g(or)f(enable)h(the)630 1416 y Ft(globasciiranges)c -Fu(shell)31 b(option.)630 1546 y(Within)23 b(`)p Ft([)p -Fu(')h(and)e(`)p Ft(])p Fu(',)j Fr(c)m(haracter)g(classes)j -Fu(can)c(b)s(e)e(sp)s(eci\014ed)h(using)f(the)i(syn)m(tax)f -Ft([:)p Fr(class)t Ft(:])p Fu(,)630 1656 y(where)30 b -Fr(class)35 b Fu(is)30 b(one)h(of)f(the)h(follo)m(wing)h(classes)f -(de\014ned)e(in)h(the)h Fm(posix)f Fu(standard:)870 1786 -y Ft(alnum)142 b(alpha)g(ascii)f(blank)h(cntrl)g(digit)g(graph)g(lower) -870 1896 y(print)g(punct)g(space)f(upper)h(word)190 b(xdigit)630 -2026 y Fu(A)42 b(c)m(haracter)h(class)f(matc)m(hes)h(an)m(y)f(c)m -(haracter)h(b)s(elonging)f(to)g(that)g(class.)75 b(The)41 -b Ft(word)630 2135 y Fu(c)m(haracter)32 b(class)f(matc)m(hes)h +(cales)p eop end +%%Page: 32 38 +TeXDict begin 32 37 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(32)630 299 +y(`)p Ft([a-dx-z])p Fu(')36 b(is)i(t)m(ypically)i(not)e(equiv)-5 +b(alen)m(t)39 b(to)g(`)p Ft([abcdxyz])p Fu(';)g(it)g(migh)m(t)f(b)s(e)f +(equiv)-5 b(alen)m(t)630 408 y(to)34 b(`)p Ft([aBbCcDdxXyYz])p +Fu(',)c(for)j(example.)49 b(T)-8 b(o)33 b(obtain)h(the)f(traditional)h +(in)m(terpretation)h(of)630 518 y(ranges)e(in)f(brac)m(k)m(et)i +(expressions,)g(y)m(ou)f(can)g(force)g(the)g(use)f(of)h(the)g(C)f(lo)s +(cale)i(b)m(y)f(setting)630 628 y(the)c Ft(LC_COLLATE)e +Fu(or)i Ft(LC_ALL)f Fu(en)m(vironmen)m(t)i(v)-5 b(ariable)30 +b(to)g(the)f(v)-5 b(alue)30 b(`)p Ft(C)p Fu(',)g(or)f(enable)h(the)630 +737 y Ft(globasciiranges)c Fu(shell)31 b(option.)630 +873 y(Within)23 b(`)p Ft([)p Fu(')h(and)e(`)p Ft(])p +Fu(',)j Fr(c)m(haracter)g(classes)j Fu(can)c(b)s(e)e(sp)s(eci\014ed)h +(using)f(the)i(syn)m(tax)f Ft([:)p Fr(class)t Ft(:])p +Fu(,)630 983 y(where)30 b Fr(class)35 b Fu(is)30 b(one)h(of)f(the)h +(follo)m(wing)h(classes)f(de\014ned)e(in)h(the)h Fm(posix)f +Fu(standard:)870 1119 y Ft(alnum)142 b(alpha)g(ascii)f(blank)h(cntrl)g +(digit)g(graph)g(lower)870 1228 y(print)g(punct)g(space)f(upper)h(word) +190 b(xdigit)630 1364 y Fu(A)42 b(c)m(haracter)h(class)f(matc)m(hes)h +(an)m(y)f(c)m(haracter)h(b)s(elonging)f(to)g(that)g(class.)75 +b(The)41 b Ft(word)630 1474 y Fu(c)m(haracter)32 b(class)f(matc)m(hes)h (letters,)f(digits,)h(and)d(the)i(c)m(haracter)h(`)p -Ft(_)p Fu('.)630 2266 y(Within)25 b(`)p Ft([)p Fu(')f(and)g(`)p +Ft(_)p Fu('.)630 1610 y(Within)25 b(`)p Ft([)p Fu(')f(and)g(`)p Ft(])p Fu(',)i(an)e Fr(equiv)-5 b(alence)26 b(class)j Fu(can)24 b(b)s(e)g(sp)s(eci\014ed)g(using)g(the)g(syn)m(tax)h -Ft([=)p Fr(c)6 b Ft(=])p Fu(,)630 2375 y(whic)m(h)29 +Ft([=)p Fr(c)6 b Ft(=])p Fu(,)630 1720 y(whic)m(h)29 b(matc)m(hes)i(all)f(c)m(haracters)h(with)e(the)h(same)g(collation)h(w) -m(eigh)m(t)g(\(as)f(de\014ned)e(b)m(y)i(the)630 2485 +m(eigh)m(t)g(\(as)f(de\014ned)e(b)m(y)i(the)630 1829 y(curren)m(t)g(lo)s(cale\))j(as)d(the)h(c)m(haracter)h -Fr(c)p Fu(.)630 2615 y(Within)22 b(`)p Ft([)p Fu(')f(and)g(`)p +Fr(c)p Fu(.)630 1965 y(Within)22 b(`)p Ft([)p Fu(')f(and)g(`)p Ft(])p Fu(',)j(the)d(syn)m(tax)h Ft([.)p Fr(sym)m(b)s(ol)t Ft(.])e Fu(matc)m(hes)i(the)g(collating)i(sym)m(b)s(ol)d -Fr(sym)m(b)s(ol)p Fu(.)275 2767 y(If)29 b(the)g Ft(extglob)f +Fr(sym)m(b)s(ol)p Fu(.)275 2129 y(If)29 b(the)g Ft(extglob)f Fu(shell)h(option)h(is)g(enabled)f(using)g(the)h Ft(shopt)e -Fu(builtin,)h(sev)m(eral)i(extended)f(pattern)150 2876 +Fu(builtin,)h(sev)m(eral)i(extended)f(pattern)150 2239 y(matc)m(hing)37 b(op)s(erators)e(are)h(recognized.)58 b(In)35 b(the)g(follo)m(wing)i(description,)g(a)f Fr(pattern-list)j -Fu(is)d(a)g(list)g(of)150 2986 y(one)d(or)f(more)h(patterns)f +Fu(is)d(a)g(list)g(of)150 2348 y(one)d(or)f(more)h(patterns)f (separated)h(b)m(y)f(a)h(`)p Ft(|)p Fu('.)47 b(Comp)s(osite)33 b(patterns)f(ma)m(y)i(b)s(e)d(formed)h(using)g(one)h(or)150 -3095 y(more)e(of)f(the)h(follo)m(wing)g(sub-patterns:)150 -3247 y Ft(?\()p Fj(pattern-list)p Ft(\))630 3356 y Fu(Matc)m(hes)h +2458 y(more)e(of)f(the)h(follo)m(wing)g(sub-patterns:)150 +2622 y Ft(?\()p Fj(pattern-list)p Ft(\))630 2731 y Fu(Matc)m(hes)h (zero)f(or)g(one)f(o)s(ccurrence)h(of)f(the)h(giv)m(en)g(patterns.)150 -3507 y Ft(*\()p Fj(pattern-list)p Ft(\))630 3617 y Fu(Matc)m(hes)h +2894 y Ft(*\()p Fj(pattern-list)p Ft(\))630 3003 y Fu(Matc)m(hes)h (zero)f(or)g(more)f(o)s(ccurrences)h(of)f(the)h(giv)m(en)g(patterns.) -150 3768 y Ft(+\()p Fj(pattern-list)p Ft(\))630 3878 +150 3166 y Ft(+\()p Fj(pattern-list)p Ft(\))630 3275 y Fu(Matc)m(hes)h(one)f(or)f(more)h(o)s(ccurrences)f(of)h(the)f(giv)m -(en)i(patterns.)150 4029 y Ft(@\()p Fj(pattern-list)p -Ft(\))630 4138 y Fu(Matc)m(hes)g(one)f(of)f(the)h(giv)m(en)g(patterns.) -150 4290 y Ft(!\()p Fj(pattern-list)p Ft(\))630 4399 +(en)i(patterns.)150 3437 y Ft(@\()p Fj(pattern-list)p +Ft(\))630 3547 y Fu(Matc)m(hes)g(one)f(of)f(the)h(giv)m(en)g(patterns.) +150 3709 y Ft(!\()p Fj(pattern-list)p Ft(\))630 3819 y Fu(Matc)m(hes)h(an)m(ything)f(except)g(one)g(of)f(the)h(giv)m(en)g -(patterns.)150 4590 y Fk(3.5.9)63 b(Quote)41 b(Remo)m(v)-7 -b(al)150 4737 y Fu(After)32 b(the)g(preceding)g(expansions,)h(all)f +(patterns.)150 4021 y Fk(3.5.9)63 b(Quote)41 b(Remo)m(v)-7 +b(al)150 4168 y Fu(After)32 b(the)g(preceding)g(expansions,)h(all)f (unquoted)f(o)s(ccurrences)h(of)g(the)h(c)m(haracters)g(`)p Ft(\\)p Fu(',)g(`)p Ft(')p Fu(',)f(and)g(`)p Ft(")p Fu(')150 -4847 y(that)f(did)f(not)g(result)g(from)g(one)h(of)g(the)f(ab)s(o)m(v)m -(e)i(expansions)e(are)h(remo)m(v)m(ed.)150 5071 y Fs(3.6)68 -b(Redirections)150 5230 y Fu(Before)32 b(a)f(command)f(is)h(executed,)h +4278 y(that)f(did)f(not)g(result)g(from)g(one)h(of)g(the)f(ab)s(o)m(v)m +(e)i(expansions)e(are)h(remo)m(v)m(ed.)150 4523 y Fs(3.6)68 +b(Redirections)150 4682 y Fu(Before)32 b(a)f(command)f(is)h(executed,)h (its)f(input)e(and)h(output)h(ma)m(y)g(b)s(e)f Fr(redirected)k -Fu(using)c(a)i(sp)s(ecial)f(no-)150 5340 y(tation)d(in)m(terpreted)f(b) +Fu(using)c(a)i(sp)s(ecial)f(no-)150 4792 y(tation)d(in)m(terpreted)f(b) m(y)f(the)h(shell.)40 b(Redirection)27 b(allo)m(ws)h(commands')f -(\014le)f(handles)g(to)i(b)s(e)e(duplicated,)p eop end -%%Page: 32 38 -TeXDict begin 32 37 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(32)150 299 -y(op)s(ened,)28 b(closed,)i(made)e(to)h(refer)f(to)h(di\013eren)m(t)f +(\014le)f(handles)g(to)i(b)s(e)e(duplicated,)150 4902 +y(op)s(ened,)i(closed,)i(made)e(to)h(refer)f(to)h(di\013eren)m(t)f (\014les,)h(and)f(can)g(c)m(hange)h(the)g(\014les)f(the)g(command)g -(reads)150 408 y(from)39 b(and)g(writes)h(to.)69 b(Redirection)40 +(reads)150 5011 y(from)39 b(and)g(writes)h(to.)69 b(Redirection)40 b(ma)m(y)g(also)h(b)s(e)e(used)g(to)h(mo)s(dify)f(\014le)g(handles)g -(in)g(the)h(curren)m(t)150 518 y(shell)e(execution)h(en)m(vironmen)m +(in)g(the)h(curren)m(t)150 5121 y(shell)e(execution)h(en)m(vironmen)m (t.)65 b(The)37 b(follo)m(wing)j(redirection)f(op)s(erators)f(ma)m(y)g -(precede)h(or)f(app)s(ear)150 628 y(an)m(ywhere)30 b(within)f(a)h +(precede)h(or)f(app)s(ear)150 5230 y(an)m(ywhere)30 b(within)f(a)h (simple)f(command)h(or)f(ma)m(y)i(follo)m(w)g(a)f(command.)40 -b(Redirections)30 b(are)g(pro)s(cessed)150 737 y(in)g(the)h(order)f -(they)g(app)s(ear,)g(from)g(left)h(to)g(righ)m(t.)275 -880 y(Eac)m(h)45 b(redirection)h(that)f(ma)m(y)h(b)s(e)e(preceded)g(b)m -(y)h(a)h(\014le)f(descriptor)f(n)m(um)m(b)s(er)g(ma)m(y)h(instead)h(b)s -(e)150 990 y(preceded)41 b(b)m(y)g(a)h(w)m(ord)f(of)g(the)h(form)f +b(Redirections)30 b(are)g(pro)s(cessed)150 5340 y(in)g(the)h(order)f +(they)g(app)s(ear,)g(from)g(left)h(to)g(righ)m(t.)p eop +end +%%Page: 33 39 +TeXDict begin 33 38 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(33)275 299 +y(Eac)m(h)45 b(redirection)h(that)f(ma)m(y)h(b)s(e)e(preceded)g(b)m(y)h +(a)h(\014le)f(descriptor)f(n)m(um)m(b)s(er)g(ma)m(y)h(instead)h(b)s(e) +150 408 y(preceded)41 b(b)m(y)g(a)h(w)m(ord)f(of)g(the)h(form)f Fi({)p Fr(v)-5 b(arname)5 b Fi(})p Fu(.)74 b(In)41 b(this)g(case,)k -(for)c(eac)m(h)i(redirection)f(op)s(erator)150 1100 y(except)30 +(for)c(eac)m(h)i(redirection)f(op)s(erator)150 518 y(except)30 b Ft(>)p Fu(&-)f(and)f Ft(<)p Fu(&-,)h(the)g(shell)g(will)h(allo)s (cate)h(a)e(\014le)h(descriptor)e(greater)j(than)d(10)i(and)e(assign)i -(it)f(to)150 1209 y Fi({)p Fr(v)-5 b(arname)5 b Fi(})p +(it)f(to)150 628 y Fi({)p Fr(v)-5 b(arname)5 b Fi(})p Fu(.)45 b(If)31 b Ft(>)p Fu(&-)g(or)h Ft(<)p Fu(&-)f(is)h(preceded)f(b) m(y)g Fi({)p Fr(v)-5 b(arname)5 b Fi(})p Fu(,)33 b(the)f(v)-5 b(alue)32 b(of)g Fr(v)-5 b(arname)36 b Fu(de\014nes)31 -b(the)h(\014le)150 1319 y(descriptor)e(to)h(close.)275 -1462 y(In)c(the)i(follo)m(wing)h(descriptions,)g(if)e(the)h(\014le)g +b(the)h(\014le)150 737 y(descriptor)e(to)h(close.)275 +877 y(In)c(the)i(follo)m(wing)h(descriptions,)g(if)e(the)h(\014le)g (descriptor)f(n)m(um)m(b)s(er)g(is)g(omitted,)i(and)f(the)f(\014rst)g -(c)m(har-)150 1572 y(acter)42 b(of)f(the)g(redirection)g(op)s(erator)g +(c)m(har-)150 986 y(acter)42 b(of)f(the)g(redirection)g(op)s(erator)g (is)g(`)p Ft(<)p Fu(',)i(the)e(redirection)g(refers)g(to)g(the)g -(standard)f(input)f(\(\014le)150 1681 y(descriptor)33 +(standard)f(input)f(\(\014le)150 1096 y(descriptor)33 b(0\).)49 b(If)33 b(the)g(\014rst)f(c)m(haracter)i(of)g(the)f (redirection)g(op)s(erator)h(is)f(`)p Ft(>)p Fu(',)h(the)f(redirection) -g(refers)150 1791 y(to)e(the)g(standard)e(output)h(\(\014le)h -(descriptor)f(1\).)275 1934 y(The)h(w)m(ord)h(follo)m(wing)i(the)f +g(refers)150 1205 y(to)e(the)g(standard)e(output)h(\(\014le)h +(descriptor)f(1\).)275 1345 y(The)h(w)m(ord)h(follo)m(wing)i(the)f (redirection)g(op)s(erator)f(in)g(the)h(follo)m(wing)h(descriptions,)f -(unless)e(other-)150 2043 y(wise)21 b(noted,)i(is)e(sub)5 +(unless)e(other-)150 1455 y(wise)21 b(noted,)i(is)e(sub)5 b(jected)21 b(to)h(brace)f(expansion,)i(tilde)f(expansion,)h(parameter) -e(expansion,)i(command)150 2153 y(substitution,)31 b(arithmetic)h +e(expansion,)i(command)150 1564 y(substitution,)31 b(arithmetic)h (expansion,)f(quote)h(remo)m(v)-5 b(al,)33 b(\014lename)e(expansion,)g -(and)f(w)m(ord)h(splitting.)150 2263 y(If)f(it)h(expands)e(to)i(more)g +(and)f(w)m(ord)h(splitting.)150 1674 y(If)f(it)h(expands)e(to)i(more)g (than)f(one)h(w)m(ord,)f(Bash)h(rep)s(orts)e(an)h(error.)275 -2406 y(Note)h(that)g(the)g(order)f(of)g(redirections)h(is)g +1813 y(Note)h(that)g(the)g(order)f(of)g(redirections)h(is)g (signi\014can)m(t.)41 b(F)-8 b(or)31 b(example,)h(the)e(command)390 -2549 y Ft(ls)47 b(>)h Fj(dirlist)d Ft(2>&1)150 2692 y +1953 y Ft(ls)47 b(>)h Fj(dirlist)d Ft(2>&1)150 2092 y Fu(directs)28 b(b)s(oth)f(standard)g(output)g(\(\014le)h(descriptor)f (1\))i(and)e(standard)f(error)i(\(\014le)g(descriptor)f(2\))h(to)h(the) -150 2802 y(\014le)h Fr(dirlist)p Fu(,)h(while)f(the)h(command)390 -2945 y Ft(ls)47 b(2>&1)g(>)g Fj(dirlist)150 3088 y Fu(directs)28 +150 2202 y(\014le)h Fr(dirlist)p Fu(,)h(while)f(the)h(command)390 +2341 y Ft(ls)47 b(2>&1)g(>)g Fj(dirlist)150 2481 y Fu(directs)28 b(only)f(the)h(standard)e(output)i(to)g(\014le)f Fr(dirlist)p Fu(,)h(b)s(ecause)g(the)f(standard)g(error)g(w)m(as)h(made)f(a)h(cop)m -(y)150 3198 y(of)j(the)f(standard)g(output)g(b)s(efore)g(the)g +(y)150 2590 y(of)j(the)f(standard)g(output)g(b)s(efore)g(the)g (standard)g(output)g(w)m(as)g(redirected)h(to)g Fr(dirlist)p -Fu(.)275 3341 y(Bash)26 b(handles)f(sev)m(eral)j(\014lenames)e(sp)s +Fu(.)275 2730 y(Bash)26 b(handles)f(sev)m(eral)j(\014lenames)e(sp)s (ecially)h(when)f(they)g(are)g(used)g(in)g(redirections,)i(as)e -(describ)s(ed)150 3450 y(in)k(the)h(follo)m(wing)g(table:)150 -3623 y Ft(/dev/fd/)p Fj(fd)630 3732 y Fu(If)f Fr(fd)j -Fu(is)d(a)h(v)-5 b(alid)31 b(in)m(teger,)h(\014le)e(descriptor)h -Fr(fd)i Fu(is)d(duplicated.)150 3901 y Ft(/dev/stdin)630 -4010 y Fu(File)i(descriptor)e(0)h(is)f(duplicated.)150 -4178 y Ft(/dev/stdout)630 4288 y Fu(File)i(descriptor)e(1)h(is)f -(duplicated.)150 4456 y Ft(/dev/stderr)630 4565 y Fu(File)i(descriptor) -e(2)h(is)f(duplicated.)150 4734 y Ft(/dev/tcp/)p Fj(host)p -Ft(/)p Fj(port)630 4843 y Fu(If)41 b Fr(host)i Fu(is)f(a)g(v)-5 -b(alid)41 b(hostname)h(or)f(In)m(ternet)h(address,)i(and)c -Fr(p)s(ort)j Fu(is)f(an)f(in)m(teger)i(p)s(ort)630 4953 -y(n)m(um)m(b)s(er)23 b(or)i(service)h(name,)g(Bash)f(attempts)h(to)f -(op)s(en)f(the)h(corresp)s(onding)f(TCP)g(so)s(c)m(k)m(et.)150 -5121 y Ft(/dev/udp/)p Fj(host)p Ft(/)p Fj(port)630 5230 +(describ)s(ed)150 2839 y(in)38 b(the)h(follo)m(wing)h(table.)66 +b(If)38 b(the)h(op)s(erating)g(system)f(on)h(whic)m(h)f(Bash)h(is)f +(running)f(pro)m(vides)h(these)150 2949 y(sp)s(ecial)27 +b(\014les,)g(bash)e(will)i(use)f(them;)h(otherwise)g(it)f(will)h(em)m +(ulate)h(them)e(in)m(ternally)h(with)f(the)g(b)s(eha)m(vior)150 +3059 y(describ)s(ed)j(b)s(elo)m(w.)150 3225 y Ft(/dev/fd/)p +Fj(fd)630 3335 y Fu(If)h Fr(fd)j Fu(is)d(a)h(v)-5 b(alid)31 +b(in)m(teger,)h(\014le)e(descriptor)h Fr(fd)i Fu(is)d(duplicated.)150 +3499 y Ft(/dev/stdin)630 3609 y Fu(File)i(descriptor)e(0)h(is)f +(duplicated.)150 3773 y Ft(/dev/stdout)630 3883 y Fu(File)i(descriptor) +e(1)h(is)f(duplicated.)150 4047 y Ft(/dev/stderr)630 +4157 y Fu(File)i(descriptor)e(2)h(is)f(duplicated.)150 +4321 y Ft(/dev/tcp/)p Fj(host)p Ft(/)p Fj(port)630 4431 y Fu(If)41 b Fr(host)i Fu(is)f(a)g(v)-5 b(alid)41 b(hostname)h(or)f(In) m(ternet)h(address,)i(and)c Fr(p)s(ort)j Fu(is)f(an)f(in)m(teger)i(p)s -(ort)630 5340 y(n)m(um)m(b)s(er)23 b(or)h(service)h(name,)h(Bash)e -(attempts)h(to)g(op)s(en)f(the)g(corresp)s(onding)f(UDP)i(so)s(c)m(k)m -(et.)p eop end -%%Page: 33 39 -TeXDict begin 33 38 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(33)275 299 -y(A)30 b(failure)h(to)g(op)s(en)e(or)i(create)h(a)e(\014le)h(causes)g -(the)f(redirection)h(to)g(fail.)275 439 y(Redirections)f(using)e -(\014le)i(descriptors)f(greater)h(than)f(9)h(should)e(b)s(e)h(used)f -(with)h(care,)h(as)g(they)f(ma)m(y)150 548 y(con\015ict)i(with)f -(\014le)h(descriptors)f(the)g(shell)h(uses)f(in)m(ternally)-8 -b(.)150 753 y Fk(3.6.1)63 b(Redirecting)40 b(Input)150 -900 y Fu(Redirection)35 b(of)f(input)f(causes)i(the)f(\014le)g(whose)g -(name)g(results)g(from)g(the)g(expansion)g(of)g Fr(w)m(ord)k -Fu(to)d(b)s(e)150 1010 y(op)s(ened)d(for)g(reading)g(on)g(\014le)h -(descriptor)f Ft(n)p Fu(,)h(or)f(the)g(standard)g(input)f(\(\014le)i -(descriptor)f(0\))h(if)f Ft(n)g Fu(is)h(not)150 1119 -y(sp)s(eci\014ed.)275 1259 y(The)c(general)j(format)e(for)h -(redirecting)g(input)e(is:)390 1399 y Ft([)p Fj(n)p Ft(]<)p -Fj(word)150 1604 y Fk(3.6.2)63 b(Redirecting)40 b(Output)150 -1751 y Fu(Redirection)31 b(of)g(output)f(causes)h(the)f(\014le)h(whose) -f(name)g(results)h(from)e(the)i(expansion)f(of)h Fr(w)m(ord)i -Fu(to)f(b)s(e)150 1861 y(op)s(ened)d(for)g(writing)g(on)g(\014le)h -(descriptor)f Fr(n)p Fu(,)g(or)g(the)h(standard)e(output)h(\(\014le)h -(descriptor)f(1\))h(if)g Fr(n)e Fu(is)i(not)150 1970 -y(sp)s(eci\014ed.)40 b(If)30 b(the)g(\014le)h(do)s(es)f(not)h(exist)g -(it)g(is)f(created;)i(if)e(it)h(do)s(es)f(exist)h(it)g(is)g(truncated)f -(to)h(zero)g(size.)275 2110 y(The)e(general)j(format)e(for)h -(redirecting)g(output)f(is:)390 2250 y Ft([)p Fj(n)p -Ft(]>[|])p Fj(word)275 2390 y Fu(If)g(the)h(redirection)g(op)s(erator)g -(is)g(`)p Ft(>)p Fu(',)g(and)f(the)h Ft(noclobber)d Fu(option)j(to)g -(the)g Ft(set)f Fu(builtin)g(has)h(b)s(een)150 2500 y(enabled,)h(the)g +(ort)630 4540 y(n)m(um)m(b)s(er)23 b(or)i(service)h(name,)g(Bash)f +(attempts)h(to)f(op)s(en)f(the)h(corresp)s(onding)f(TCP)g(so)s(c)m(k)m +(et.)150 4705 y Ft(/dev/udp/)p Fj(host)p Ft(/)p Fj(port)630 +4814 y Fu(If)41 b Fr(host)i Fu(is)f(a)g(v)-5 b(alid)41 +b(hostname)h(or)f(In)m(ternet)h(address,)i(and)c Fr(p)s(ort)j +Fu(is)f(an)f(in)m(teger)i(p)s(ort)630 4924 y(n)m(um)m(b)s(er)23 +b(or)h(service)h(name,)h(Bash)e(attempts)h(to)g(op)s(en)f(the)g +(corresp)s(onding)f(UDP)i(so)s(c)m(k)m(et.)275 5091 y(A)30 +b(failure)h(to)g(op)s(en)e(or)i(create)h(a)e(\014le)h(causes)g(the)f +(redirection)h(to)g(fail.)275 5230 y(Redirections)f(using)e(\014le)i +(descriptors)f(greater)h(than)f(9)h(should)e(b)s(e)h(used)f(with)h +(care,)h(as)g(they)f(ma)m(y)150 5340 y(con\015ict)i(with)f(\014le)h +(descriptors)f(the)g(shell)h(uses)f(in)m(ternally)-8 +b(.)p eop end +%%Page: 34 40 +TeXDict begin 34 39 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(34)150 299 +y Fk(3.6.1)63 b(Redirecting)40 b(Input)150 446 y Fu(Redirection)35 +b(of)f(input)f(causes)i(the)f(\014le)g(whose)g(name)g(results)g(from)g +(the)g(expansion)g(of)g Fr(w)m(ord)k Fu(to)d(b)s(e)150 +555 y(op)s(ened)d(for)g(reading)g(on)g(\014le)h(descriptor)f +Ft(n)p Fu(,)h(or)f(the)g(standard)g(input)f(\(\014le)i(descriptor)f +(0\))h(if)f Ft(n)g Fu(is)h(not)150 665 y(sp)s(eci\014ed.)275 +805 y(The)c(general)j(format)e(for)h(redirecting)g(input)e(is:)390 +944 y Ft([)p Fj(n)p Ft(]<)p Fj(word)150 1149 y Fk(3.6.2)63 +b(Redirecting)40 b(Output)150 1296 y Fu(Redirection)31 +b(of)g(output)f(causes)h(the)f(\014le)h(whose)f(name)g(results)h(from)e +(the)i(expansion)f(of)h Fr(w)m(ord)i Fu(to)f(b)s(e)150 +1405 y(op)s(ened)d(for)g(writing)g(on)g(\014le)h(descriptor)f +Fr(n)p Fu(,)g(or)g(the)h(standard)e(output)h(\(\014le)h(descriptor)f +(1\))h(if)g Fr(n)e Fu(is)i(not)150 1515 y(sp)s(eci\014ed.)40 +b(If)30 b(the)g(\014le)h(do)s(es)f(not)h(exist)g(it)g(is)f(created;)i +(if)e(it)h(do)s(es)f(exist)h(it)g(is)g(truncated)f(to)h(zero)g(size.) +275 1654 y(The)e(general)j(format)e(for)h(redirecting)g(output)f(is:) +390 1794 y Ft([)p Fj(n)p Ft(]>[|])p Fj(word)275 1934 +y Fu(If)g(the)h(redirection)g(op)s(erator)g(is)g(`)p +Ft(>)p Fu(',)g(and)f(the)h Ft(noclobber)d Fu(option)j(to)g(the)g +Ft(set)f Fu(builtin)g(has)h(b)s(een)150 2043 y(enabled,)h(the)g (redirection)h(will)f(fail)h(if)e(the)i(\014le)e(whose)h(name)g (results)g(from)f(the)h(expansion)g(of)g Fr(w)m(ord)150 -2609 y Fu(exists)f(and)f(is)g(a)h(regular)g(\014le.)41 +2153 y Fu(exists)f(and)f(is)g(a)h(regular)g(\014le.)41 b(If)30 b(the)h(redirection)g(op)s(erator)g(is)f(`)p Ft(>|)p Fu(',)h(or)f(the)h(redirection)g(op)s(erator)g(is)150 -2719 y(`)p Ft(>)p Fu(')36 b(and)f(the)g Ft(noclobber)e +2262 y(`)p Ft(>)p Fu(')36 b(and)f(the)g Ft(noclobber)e Fu(option)j(is)g(not)g(enabled,)h(the)e(redirection)h(is)g(attempted)g -(ev)m(en)h(if)e(the)h(\014le)150 2829 y(named)30 b(b)m(y)g -Fr(w)m(ord)k Fu(exists.)150 3033 y Fk(3.6.3)63 b(App)s(ending)42 -b(Redirected)e(Output)150 3180 y Fu(Redirection)23 b(of)e(output)h(in)f +(ev)m(en)h(if)e(the)h(\014le)150 2372 y(named)30 b(b)m(y)g +Fr(w)m(ord)k Fu(exists.)150 2576 y Fk(3.6.3)63 b(App)s(ending)42 +b(Redirected)e(Output)150 2723 y Fu(Redirection)23 b(of)e(output)h(in)f (this)h(fashion)f(causes)h(the)g(\014le)g(whose)f(name)h(results)f -(from)g(the)h(expansion)g(of)150 3290 y Fr(w)m(ord)28 +(from)g(the)h(expansion)g(of)150 2833 y Fr(w)m(ord)28 b Fu(to)e(b)s(e)e(op)s(ened)g(for)h(app)s(ending)e(on)i(\014le)g (descriptor)g Fr(n)p Fu(,)g(or)g(the)g(standard)f(output)h(\(\014le)g -(descriptor)150 3399 y(1\))31 b(if)f Fr(n)g Fu(is)h(not)f(sp)s +(descriptor)150 2942 y(1\))31 b(if)f Fr(n)g Fu(is)h(not)f(sp)s (eci\014ed.)40 b(If)30 b(the)h(\014le)f(do)s(es)g(not)h(exist)g(it)g -(is)f(created.)275 3539 y(The)f(general)j(format)e(for)h(app)s(ending)e -(output)h(is:)390 3679 y Ft([)p Fj(n)p Ft(]>>)p Fj(word)150 -3884 y Fk(3.6.4)63 b(Redirecting)40 b(Standard)h(Output)g(and)g -(Standard)g(Error)150 4031 y Fu(This)33 b(construct)i(allo)m(ws)g(b)s +(is)f(created.)275 3082 y(The)f(general)j(format)e(for)h(app)s(ending)e +(output)h(is:)390 3222 y Ft([)p Fj(n)p Ft(]>>)p Fj(word)150 +3426 y Fk(3.6.4)63 b(Redirecting)40 b(Standard)h(Output)g(and)g +(Standard)g(Error)150 3573 y Fu(This)33 b(construct)i(allo)m(ws)g(b)s (oth)f(the)g(standard)g(output)f(\(\014le)i(descriptor)f(1\))h(and)f -(the)g(standard)f(error)150 4141 y(output)d(\(\014le)h(descriptor)f +(the)g(standard)f(error)150 3683 y(output)d(\(\014le)h(descriptor)f (2\))h(to)g(b)s(e)f(redirected)h(to)g(the)f(\014le)h(whose)f(name)h(is) -f(the)g(expansion)h(of)f Fr(w)m(ord)p Fu(.)275 4281 y(There)f(are)i(t)m +f(the)g(expansion)h(of)f Fr(w)m(ord)p Fu(.)275 3822 y(There)f(are)i(t)m (w)m(o)h(formats)e(for)h(redirecting)g(standard)e(output)h(and)g -(standard)f(error:)390 4421 y Ft(&>)p Fj(word)150 4561 -y Fu(and)390 4701 y Ft(>&)p Fj(word)150 4841 y Fu(Of)h(the)g(t)m(w)m(o) +(standard)f(error:)390 3962 y Ft(&>)p Fj(word)150 4101 +y Fu(and)390 4241 y Ft(>&)p Fj(word)150 4381 y Fu(Of)h(the)g(t)m(w)m(o) i(forms,)e(the)h(\014rst)e(is)i(preferred.)39 b(This)30 b(is)g(seman)m(tically)j(equiv)-5 b(alen)m(t)32 b(to)390 -4981 y Ft(>)p Fj(word)46 b Ft(2>&1)275 5121 y Fu(When)41 +4520 y Ft(>)p Fj(word)46 b Ft(2>&1)275 4660 y Fu(When)41 b(using)g(the)h(second)f(form,)k Fr(w)m(ord)f Fu(ma)m(y)e(not)g(expand) f(to)h(a)g(n)m(um)m(b)s(er)f(or)g(`)p Ft(-)p Fu('.)75 -b(If)41 b(it)h(do)s(es,)150 5230 y(other)27 b(redirection)g(op)s +b(If)41 b(it)h(do)s(es,)150 4769 y(other)27 b(redirection)g(op)s (erators)f(apply)h(\(see)g(Duplicating)h(File)f(Descriptors)h(b)s(elo)m -(w\))f(for)f(compatibilit)m(y)150 5340 y(reasons.)p eop +(w\))f(for)f(compatibilit)m(y)150 4879 y(reasons.)150 +5083 y Fk(3.6.5)63 b(App)s(ending)42 b(Standard)f(Output)g(and)g +(Standard)g(Error)150 5230 y Fu(This)33 b(construct)i(allo)m(ws)g(b)s +(oth)f(the)g(standard)g(output)f(\(\014le)i(descriptor)f(1\))h(and)f +(the)g(standard)f(error)150 5340 y(output)d(\(\014le)h(descriptor)f +(2\))h(to)g(b)s(e)f(app)s(ended)f(to)i(the)f(\014le)h(whose)f(name)g +(is)h(the)f(expansion)h(of)f Fr(w)m(ord)p Fu(.)p eop end -%%Page: 34 40 -TeXDict begin 34 39 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(34)150 299 -y Fk(3.6.5)63 b(App)s(ending)42 b(Standard)f(Output)g(and)g(Standard)g -(Error)150 446 y Fu(This)33 b(construct)i(allo)m(ws)g(b)s(oth)f(the)g -(standard)g(output)f(\(\014le)i(descriptor)f(1\))h(and)f(the)g -(standard)f(error)150 555 y(output)d(\(\014le)h(descriptor)f(2\))h(to)g -(b)s(e)f(app)s(ended)f(to)i(the)f(\014le)h(whose)f(name)g(is)h(the)f -(expansion)h(of)f Fr(w)m(ord)p Fu(.)275 684 y(The)f(format)i(for)f(app) -s(ending)f(standard)h(output)g(and)f(standard)h(error)g(is:)390 -813 y Ft(&>>)p Fj(word)150 942 y Fu(This)g(is)g(seman)m(tically)j -(equiv)-5 b(alen)m(t)32 b(to)390 1071 y Ft(>>)p Fj(word)46 -b Ft(2>&1)275 1200 y Fu(\(see)31 b(Duplicating)h(File)f(Descriptors)g -(b)s(elo)m(w\).)150 1389 y Fk(3.6.6)63 b(Here)41 b(Do)s(cumen)m(ts)150 -1536 y Fu(This)c(t)m(yp)s(e)h(of)f(redirection)i(instructs)e(the)h -(shell)f(to)i(read)e(input)g(from)g(the)h(curren)m(t)f(source)h(un)m -(til)g(a)150 1645 y(line)31 b(con)m(taining)g(only)g -Fr(w)m(ord)i Fu(\(with)d(no)h(trailing)g(blanks\))f(is)g(seen.)41 -b(All)31 b(of)f(the)h(lines)f(read)g(up)f(to)i(that)150 -1755 y(p)s(oin)m(t)f(are)h(then)f(used)g(as)g(the)h(standard)f(input)f -(for)h(a)h(command.)275 1884 y(The)e(format)i(of)g(here-do)s(cumen)m -(ts)f(is:)390 2013 y Ft(<<[)p Fq(\000)p Ft(])p Fj(word)772 -2123 y(here-document)390 2232 y(delimiter)275 2361 y -Fu(No)i(parameter)h(and)f(v)-5 b(ariable)32 b(expansion,)h(command)f -(substitution,)h(arithmetic)g(expansion,)g(or)150 2471 -y(\014lename)38 b(expansion)g(is)g(p)s(erformed)e(on)i -Fr(w)m(ord)p Fu(.)62 b(If)38 b(an)m(y)g(c)m(haracters)h(in)e -Fr(w)m(ord)42 b Fu(are)c(quoted,)i(the)e Fr(de-)150 2580 -y(limiter)h Fu(is)32 b(the)h(result)f(of)g(quote)h(remo)m(v)-5 -b(al)33 b(on)f Fr(w)m(ord)p Fu(,)g(and)g(the)g(lines)g(in)g(the)g -(here-do)s(cumen)m(t)g(are)h(not)150 2690 y(expanded.)71 -b(If)40 b Fr(w)m(ord)k Fu(is)d(unquoted,)h(all)g(lines)f(of)g(the)f -(here-do)s(cumen)m(t)h(are)g(sub)5 b(jected)41 b(to)g(param-)150 -2800 y(eter)c(expansion,)i(command)d(substitution,)i(and)e(arithmetic)i -(expansion,)g(the)f(c)m(haracter)i(sequence)150 2909 -y Ft(\\newline)28 b Fu(is)j(ignored,)f(and)g(`)p Ft(\\)p -Fu(')h(m)m(ust)f(b)s(e)g(used)f(to)i(quote)g(the)g(c)m(haracters)h(`)p -Ft(\\)p Fu(',)e(`)p Ft($)p Fu(',)h(and)f(`)p Ft(`)p Fu('.)275 -3038 y(If)21 b(the)i(redirection)g(op)s(erator)g(is)f(`)p -Ft(<<-)p Fu(',)i(then)e(all)h(leading)g(tab)g(c)m(haracters)h(are)e -(stripp)s(ed)f(from)h(input)150 3148 y(lines)33 b(and)f(the)h(line)h -(con)m(taining)g Fr(delimiter)p Fu(.)49 b(This)32 b(allo)m(ws)i -(here-do)s(cumen)m(ts)f(within)f(shell)i(scripts)e(to)150 -3257 y(b)s(e)e(inden)m(ted)g(in)g(a)h(natural)f(fashion.)150 -3446 y Fk(3.6.7)63 b(Here)41 b(Strings)150 3593 y Fu(A)30 -b(v)-5 b(arian)m(t)32 b(of)e(here)h(do)s(cumen)m(ts,)f(the)g(format)h -(is:)390 3722 y Ft(<<<)47 b Fj(word)275 3851 y Fu(The)21 -b Fr(w)m(ord)k Fu(undergo)s(es)c(brace)h(expansion,)i(tilde)e -(expansion,)i(parameter)e(and)f(v)-5 b(ariable)23 b(expansion,)150 -3960 y(command)j(substitution,)g(arithmetic)i(expansion,)f(and)e(quote) -i(remo)m(v)-5 b(al.)40 b(P)m(athname)27 b(expansion)f(and)150 -4070 y(w)m(ord)j(splitting)i(are)f(not)g(p)s(erformed.)39 -b(The)29 b(result)h(is)g(supplied)e(as)i(a)h(single)f(string)g(to)g -(the)g(command)150 4179 y(on)g(its)h(standard)f(input.)150 -4368 y Fk(3.6.8)63 b(Duplicating)41 b(File)g(Descriptors)150 -4515 y Fu(The)30 b(redirection)h(op)s(erator)390 4644 -y Ft([)p Fj(n)p Ft(]<&)p Fj(word)150 4773 y Fu(is)k(used)e(to)j -(duplicate)f(input)f(\014le)g(descriptors.)53 b(If)34 -b Fr(w)m(ord)k Fu(expands)c(to)h(one)g(or)g(more)g(digits,)h(the)f -(\014le)150 4882 y(descriptor)e(denoted)h(b)m(y)f Fr(n)g -Fu(is)g(made)h(to)g(b)s(e)f(a)g(cop)m(y)h(of)g(that)g(\014le)f -(descriptor.)50 b(If)33 b(the)h(digits)g(in)f Fr(w)m(ord)150 -4992 y Fu(do)c(not)h(sp)s(ecify)f(a)h(\014le)f(descriptor)g(op)s(en)g -(for)g(input,)g(a)h(redirection)g(error)f(o)s(ccurs.)40 -b(If)29 b Fr(w)m(ord)j Fu(ev)-5 b(aluates)150 5101 y(to)31 -b(`)p Ft(-)p Fu(',)g(\014le)g(descriptor)g Fr(n)f Fu(is)g(closed.)43 -b(If)30 b Fr(n)g Fu(is)g(not)h(sp)s(eci\014ed,)f(the)h(standard)f -(input)g(\(\014le)h(descriptor)f(0\))150 5211 y(is)g(used.)275 -5340 y(The)f(op)s(erator)p eop end %%Page: 35 41 TeXDict begin 35 40 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(35)390 299 -y Ft([)p Fj(n)p Ft(]>&)p Fj(word)150 440 y Fu(is)40 b(used)g(similarly) -h(to)g(duplicate)f(output)g(\014le)h(descriptors.)70 -b(If)40 b Fr(n)f Fu(is)i(not)f(sp)s(eci\014ed,)i(the)f(standard)150 -550 y(output)30 b(\(\014le)g(descriptor)g(1\))h(is)f(used.)39 -b(If)30 b(the)g(digits)h(in)e Fr(w)m(ord)34 b Fu(do)29 -b(not)i(sp)s(ecify)e(a)i(\014le)f(descriptor)g(op)s(en)150 -660 y(for)35 b(output,)h(a)g(redirection)g(error)e(o)s(ccurs.)55 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(35)275 299 +y(The)29 b(format)i(for)f(app)s(ending)f(standard)h(output)g(and)f +(standard)h(error)g(is:)390 442 y Ft(&>>)p Fj(word)150 +585 y Fu(This)g(is)g(seman)m(tically)j(equiv)-5 b(alen)m(t)32 +b(to)390 728 y Ft(>>)p Fj(word)46 b Ft(2>&1)275 871 y +Fu(\(see)31 b(Duplicating)h(File)f(Descriptors)g(b)s(elo)m(w\).)150 +1079 y Fk(3.6.6)63 b(Here)41 b(Do)s(cumen)m(ts)150 1226 +y Fu(This)26 b(t)m(yp)s(e)g(of)h(redirection)g(instructs)f(the)g(shell) +h(to)g(read)f(input)g(from)g(the)g(curren)m(t)h(source)f(un)m(til)h(a)g +(line)150 1336 y(con)m(taining)h(only)e Fr(w)m(ord)k +Fu(\(with)c(no)g(trailing)h(blanks\))f(is)g(seen.)40 +b(All)27 b(of)f(the)g(lines)h(read)f(up)f(to)i(that)g(p)s(oin)m(t)150 +1445 y(are)k(then)f(used)f(as)i(the)g(standard)e(input)h(\(or)g(\014le) +h(descriptor)f Fr(n)g Fu(if)g Fr(n)g Fu(is)g(sp)s(eci\014ed\))g(for)h +(a)f(command.)275 1589 y(The)f(format)i(of)g(here-do)s(cumen)m(ts)f +(is:)390 1732 y Ft([)p Fj(n)p Ft(]<<[)p Fq(\000)p Ft(])p +Fj(word)772 1841 y(here-document)390 1951 y(delimiter)275 +2094 y Fu(No)i(parameter)h(and)f(v)-5 b(ariable)32 b(expansion,)h +(command)f(substitution,)h(arithmetic)g(expansion,)g(or)150 +2204 y(\014lename)26 b(expansion)g(is)g(p)s(erformed)e(on)i +Fr(w)m(ord)p Fu(.)39 b(If)25 b(an)m(y)i(part)e(of)h Fr(w)m(ord)j +Fu(is)d(quoted,)i(the)e Fr(delimiter)33 b Fu(is)26 b(the)150 +2313 y(result)33 b(of)g(quote)g(remo)m(v)-5 b(al)34 b(on)f +Fr(w)m(ord)p Fu(,)g(and)f(the)h(lines)g(in)g(the)g(here-do)s(cumen)m(t) +g(are)g(not)g(expanded.)47 b(If)150 2423 y Fr(w)m(ord)26 +b Fu(is)c(unquoted,)h(all)g(lines)g(of)g(the)f(here-do)s(cumen)m(t)g +(are)h(sub)5 b(jected)22 b(to)h(parameter)g(expansion,)h(com-)150 +2532 y(mand)30 b(substitution,)g(and)g(arithmetic)h(expansion,)g(the)f +(c)m(haracter)i(sequence)f Ft(\\newline)d Fu(is)j(ignored,)150 +2642 y(and)f(`)p Ft(\\)p Fu(')g(m)m(ust)h(b)s(e)e(used)h(to)h(quote)g +(the)g(c)m(haracters)g(`)p Ft(\\)p Fu(',)g(`)p Ft($)p +Fu(',)g(and)f(`)p Ft(`)p Fu('.)275 2785 y(If)21 b(the)i(redirection)g +(op)s(erator)g(is)f(`)p Ft(<<-)p Fu(',)i(then)e(all)h(leading)g(tab)g +(c)m(haracters)h(are)e(stripp)s(ed)f(from)h(input)150 +2895 y(lines)33 b(and)f(the)h(line)h(con)m(taining)g +Fr(delimiter)p Fu(.)49 b(This)32 b(allo)m(ws)i(here-do)s(cumen)m(ts)f +(within)f(shell)i(scripts)e(to)150 3004 y(b)s(e)e(inden)m(ted)g(in)g(a) +h(natural)f(fashion.)150 3212 y Fk(3.6.7)63 b(Here)41 +b(Strings)150 3359 y Fu(A)30 b(v)-5 b(arian)m(t)32 b(of)e(here)h(do)s +(cumen)m(ts,)f(the)g(format)h(is:)390 3502 y Ft([)p Fj(n)p +Ft(]<<<)46 b Fj(word)275 3645 y Fu(The)21 b Fr(w)m(ord)k +Fu(undergo)s(es)c(brace)h(expansion,)i(tilde)e(expansion,)i(parameter)e +(and)f(v)-5 b(ariable)23 b(expansion,)150 3755 y(command)j +(substitution,)g(arithmetic)i(expansion,)f(and)e(quote)i(remo)m(v)-5 +b(al.)40 b(P)m(athname)27 b(expansion)f(and)150 3865 +y(w)m(ord)32 b(splitting)h(are)g(not)g(p)s(erformed.)46 +b(The)32 b(result)g(is)h(supplied)e(as)i(a)f(single)i(string,)f(with)f +(a)h(newline)150 3974 y(app)s(ended,)c(to)i(the)g(command)f(on)g(its)h +(standard)e(input)h(\(or)g(\014le)h(descriptor)f Fr(n)g +Fu(if)g Fr(n)g Fu(is)g(sp)s(eci\014ed\).)150 4182 y Fk(3.6.8)63 +b(Duplicating)41 b(File)g(Descriptors)150 4329 y Fu(The)30 +b(redirection)h(op)s(erator)390 4472 y Ft([)p Fj(n)p +Ft(]<&)p Fj(word)150 4615 y Fu(is)k(used)e(to)j(duplicate)f(input)f +(\014le)g(descriptors.)53 b(If)34 b Fr(w)m(ord)k Fu(expands)c(to)h(one) +g(or)g(more)g(digits,)h(the)f(\014le)150 4725 y(descriptor)e(denoted)h +(b)m(y)f Fr(n)g Fu(is)g(made)h(to)g(b)s(e)f(a)g(cop)m(y)h(of)g(that)g +(\014le)f(descriptor.)50 b(If)33 b(the)h(digits)g(in)f +Fr(w)m(ord)150 4835 y Fu(do)c(not)h(sp)s(ecify)f(a)h(\014le)f +(descriptor)g(op)s(en)g(for)g(input,)g(a)h(redirection)g(error)f(o)s +(ccurs.)40 b(If)29 b Fr(w)m(ord)j Fu(ev)-5 b(aluates)150 +4944 y(to)31 b(`)p Ft(-)p Fu(',)g(\014le)g(descriptor)g +Fr(n)f Fu(is)g(closed.)43 b(If)30 b Fr(n)g Fu(is)g(not)h(sp)s +(eci\014ed,)f(the)h(standard)f(input)g(\(\014le)h(descriptor)f(0\))150 +5054 y(is)g(used.)275 5197 y(The)f(op)s(erator)390 5340 +y Ft([)p Fj(n)p Ft(]>&)p Fj(word)p eop end +%%Page: 36 42 +TeXDict begin 36 41 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(36)150 299 +y(is)40 b(used)g(similarly)h(to)g(duplicate)f(output)g(\014le)h +(descriptors.)70 b(If)40 b Fr(n)f Fu(is)i(not)f(sp)s(eci\014ed,)i(the)f +(standard)150 408 y(output)30 b(\(\014le)g(descriptor)g(1\))h(is)f +(used.)39 b(If)30 b(the)g(digits)h(in)e Fr(w)m(ord)34 +b Fu(do)29 b(not)i(sp)s(ecify)e(a)i(\014le)f(descriptor)g(op)s(en)150 +518 y(for)35 b(output,)h(a)g(redirection)g(error)e(o)s(ccurs.)55 b(If)35 b Fr(w)m(ord)j Fu(ev)-5 b(aluates)37 b(to)f(`)p Ft(-)p Fu(',)h(\014le)e(descriptor)g Fr(n)g Fu(is)g(closed.)150 -769 y(As)f(a)g(sp)s(ecial)h(case,)h(if)e Fr(n)f Fu(is)h(omitted,)i(and) +628 y(As)f(a)g(sp)s(ecial)h(case,)h(if)e Fr(n)f Fu(is)h(omitted,)i(and) e Fr(w)m(ord)j Fu(do)s(es)d(not)g(expand)f(to)i(one)f(or)g(more)g -(digits)h(or)f(`)p Ft(-)p Fu(',)150 879 y(the)d(standard)e(output)h +(digits)h(or)f(`)p Ft(-)p Fu(',)150 737 y(the)d(standard)e(output)h (and)g(standard)f(error)h(are)h(redirected)g(as)g(describ)s(ed)e -(previously)-8 b(.)150 1085 y Fk(3.6.9)63 b(Mo)m(ving)41 -b(File)h(Descriptors)150 1232 y Fu(The)30 b(redirection)h(op)s(erator) -390 1373 y Ft([)p Fj(n)p Ft(]<&)p Fj(digit)p Ft(-)150 -1515 y Fu(mo)m(v)m(es)i(the)f(\014le)g(descriptor)f Fr(digit)k +(previously)-8 b(.)150 938 y Fk(3.6.9)63 b(Mo)m(ving)41 +b(File)h(Descriptors)150 1085 y Fu(The)30 b(redirection)h(op)s(erator) +390 1220 y Ft([)p Fj(n)p Ft(]<&)p Fj(digit)p Ft(-)150 +1356 y Fu(mo)m(v)m(es)i(the)f(\014le)g(descriptor)f Fr(digit)k Fu(to)d(\014le)g(descriptor)g Fr(n)p Fu(,)f(or)h(the)g(standard)f -(input)f(\(\014le)j(descriptor)e(0\))150 1625 y(if)f +(input)f(\(\014le)j(descriptor)e(0\))150 1465 y(if)f Fr(n)g Fu(is)h(not)f(sp)s(eci\014ed.)40 b Fr(digit)33 b Fu(is)e(closed)g(after)g(b)s(eing)f(duplicated)g(to)h -Fr(n)p Fu(.)275 1766 y(Similarly)-8 b(,)31 b(the)f(redirection)h(op)s -(erator)390 1908 y Ft([)p Fj(n)p Ft(]>&)p Fj(digit)p -Ft(-)150 2049 y Fu(mo)m(v)m(es)e(the)g(\014le)f(descriptor)f +Fr(n)p Fu(.)275 1601 y(Similarly)-8 b(,)31 b(the)f(redirection)h(op)s +(erator)390 1736 y Ft([)p Fj(n)p Ft(]>&)p Fj(digit)p +Ft(-)150 1872 y Fu(mo)m(v)m(es)e(the)g(\014le)f(descriptor)f Fr(digit)k Fu(to)e(\014le)f(descriptor)g Fr(n)p Fu(,)g(or)g(the)g (standard)f(output)h(\(\014le)g(descriptor)g(1\))150 -2159 y(if)i Fr(n)g Fu(is)h(not)f(sp)s(eci\014ed.)150 -2365 y Fk(3.6.10)63 b(Op)s(ening)42 b(File)g(Descriptors)g(for)g -(Reading)e(and)h(W)-10 b(riting)150 2512 y Fu(The)30 -b(redirection)h(op)s(erator)390 2653 y Ft([)p Fj(n)p -Ft(]<>)p Fj(word)150 2795 y Fu(causes)39 b(the)g(\014le)g(whose)g(name) +1982 y(if)i Fr(n)g Fu(is)h(not)f(sp)s(eci\014ed.)150 +2182 y Fk(3.6.10)63 b(Op)s(ening)42 b(File)g(Descriptors)g(for)g +(Reading)e(and)h(W)-10 b(riting)150 2329 y Fu(The)30 +b(redirection)h(op)s(erator)390 2464 y Ft([)p Fj(n)p +Ft(]<>)p Fj(word)150 2600 y Fu(causes)39 b(the)g(\014le)g(whose)g(name) g(is)g(the)g(expansion)g(of)g Fr(w)m(ord)j Fu(to)d(b)s(e)g(op)s(ened)f -(for)g(b)s(oth)h(reading)g(and)150 2905 y(writing)33 +(for)g(b)s(oth)h(reading)g(and)150 2710 y(writing)33 b(on)f(\014le)h(descriptor)f Fr(n)p Fu(,)h(or)g(on)f(\014le)h (descriptor)g(0)g(if)f Fr(n)g Fu(is)h(not)g(sp)s(eci\014ed.)47 -b(If)32 b(the)h(\014le)f(do)s(es)h(not)150 3014 y(exist,)e(it)g(is)g -(created.)150 3257 y Fs(3.7)68 b(Executing)46 b(Commands)150 -3481 y Fk(3.7.1)63 b(Simple)41 b(Command)h(Expansion)150 -3628 y Fu(When)33 b(a)g(simple)g(command)g(is)g(executed,)h(the)g +b(If)32 b(the)h(\014le)f(do)s(es)h(not)150 2819 y(exist,)e(it)g(is)g +(created.)150 3062 y Fs(3.7)68 b(Executing)46 b(Commands)150 +3286 y Fk(3.7.1)63 b(Simple)41 b(Command)h(Expansion)150 +3433 y Fu(When)33 b(a)g(simple)g(command)g(is)g(executed,)h(the)g (shell)f(p)s(erforms)e(the)i(follo)m(wing)i(expansions,)e(assign-)150 -3738 y(men)m(ts,)e(and)f(redirections,)h(from)f(left)h(to)g(righ)m(t.) -199 3879 y(1.)61 b(The)38 b(w)m(ords)f(that)i(the)g(parser)e(has)h +3542 y(men)m(ts,)e(and)f(redirections,)h(from)f(left)h(to)g(righ)m(t.) +199 3678 y(1.)61 b(The)38 b(w)m(ords)f(that)i(the)g(parser)e(has)h (mark)m(ed)g(as)h(v)-5 b(ariable)39 b(assignmen)m(ts)g(\(those)g -(preceding)f(the)330 3989 y(command)30 b(name\))h(and)f(redirections)h +(preceding)f(the)330 3788 y(command)30 b(name\))h(and)f(redirections)h (are)f(sa)m(v)m(ed)i(for)e(later)h(pro)s(cessing.)199 -4127 y(2.)61 b(The)39 b(w)m(ords)g(that)i(are)f(not)g(v)-5 +3923 y(2.)61 b(The)39 b(w)m(ords)g(that)i(are)f(not)g(v)-5 b(ariable)40 b(assignmen)m(ts)h(or)e(redirections)i(are)f(expanded)f -(\(see)h(Sec-)330 4237 y(tion)d(3.5)i([Shell)e(Expansions],)h(page)g +(\(see)h(Sec-)330 4032 y(tion)d(3.5)i([Shell)e(Expansions],)h(page)g (21\).)61 b(If)37 b(an)m(y)g(w)m(ords)f(remain)h(after)h(expansion,)h -(the)e(\014rst)330 4346 y(w)m(ord)31 b(is)g(tak)m(en)h(to)g(b)s(e)f +(the)e(\014rst)330 4142 y(w)m(ord)31 b(is)g(tak)m(en)h(to)g(b)s(e)f (the)g(name)h(of)f(the)h(command)f(and)f(the)i(remaining)f(w)m(ords)g -(are)g(the)h(argu-)330 4456 y(men)m(ts.)199 4594 y(3.)61 +(are)g(the)h(argu-)330 4251 y(men)m(ts.)199 4386 y(3.)61 b(Redirections)25 b(are)f(p)s(erformed)f(as)h(describ)s(ed)f(ab)s(o)m -(v)m(e)i(\(see)g(Section)g(3.6)g([Redirections],)i(page)d(31\).)199 -4732 y(4.)61 b(The)25 b(text)h(after)f(the)g(`)p Ft(=)p +(v)m(e)i(\(see)g(Section)g(3.6)g([Redirections],)i(page)d(32\).)199 +4521 y(4.)61 b(The)25 b(text)h(after)f(the)g(`)p Ft(=)p Fu(')h(in)e(eac)m(h)j(v)-5 b(ariable)25 b(assignmen)m(t)h(undergo)s(es) -e(tilde)i(expansion,)g(parameter)330 4841 y(expansion,)49 +e(tilde)i(expansion,)g(parameter)330 4631 y(expansion,)49 b(command)d(substitution,)j(arithmetic)d(expansion,)k(and)45 -b(quote)h(remo)m(v)-5 b(al)46 b(b)s(efore)330 4951 y(b)s(eing)30 -b(assigned)h(to)g(the)f(v)-5 b(ariable.)275 5121 y(If)32 +b(quote)h(remo)m(v)-5 b(al)46 b(b)s(efore)330 4741 y(b)s(eing)30 +b(assigned)h(to)g(the)f(v)-5 b(ariable.)275 4902 y(If)32 b(no)i(command)f(name)g(results,)h(the)g(v)-5 b(ariable)34 b(assignmen)m(ts)g(a\013ect)h(the)f(curren)m(t)f(shell)h(en)m(viron-) -150 5230 y(men)m(t.)39 b(Otherwise,)27 b(the)e(v)-5 b(ariables)26 +150 5011 y(men)m(t.)39 b(Otherwise,)27 b(the)e(v)-5 b(ariables)26 b(are)g(added)f(to)h(the)f(en)m(vironmen)m(t)h(of)g(the)f(executed)h -(command)g(and)150 5340 y(do)35 b(not)f(a\013ect)j(the)d(curren)m(t)h +(command)g(and)150 5121 y(do)35 b(not)f(a\013ect)j(the)d(curren)m(t)h (shell)g(en)m(vironmen)m(t.)54 b(If)34 b(an)m(y)h(of)g(the)f(assignmen) -m(ts)i(attempts)f(to)h(assign)p eop end -%%Page: 36 42 -TeXDict begin 36 41 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(36)150 299 -y(a)39 b(v)-5 b(alue)39 b(to)g(a)g(readonly)f(v)-5 b(ariable,)42 -b(an)c(error)g(o)s(ccurs,)j(and)c(the)i(command)f(exits)h(with)g(a)f -(non-zero)150 408 y(status.)275 538 y(If)33 b(no)g(command)g(name)h -(results,)g(redirections)g(are)g(p)s(erformed,)f(but)g(do)h(not)f -(a\013ect)i(the)f(curren)m(t)150 648 y(shell)d(en)m(vironmen)m(t.)41 -b(A)30 b(redirection)h(error)f(causes)h(the)g(command)f(to)h(exit)g -(with)f(a)h(non-zero)g(status.)275 778 y(If)26 b(there)i(is)f(a)h -(command)f(name)h(left)g(after)g(expansion,)g(execution)h(pro)s(ceeds)e -(as)g(describ)s(ed)f(b)s(elo)m(w.)150 887 y(Otherwise,)39 -b(the)e(command)g(exits.)62 b(If)37 b(one)g(of)g(the)h(expansions)f -(con)m(tained)h(a)g(command)f(substitu-)150 997 y(tion,)i(the)d(exit)h -(status)g(of)f(the)h(command)f(is)h(the)f(exit)h(status)g(of)f(the)h -(last)g(command)f(substitution)150 1107 y(p)s(erformed.)55 -b(If)35 b(there)g(w)m(ere)h(no)g(command)f(substitutions,)i(the)e -(command)h(exits)g(with)f(a)h(status)g(of)150 1216 y(zero.)150 -1406 y Fk(3.7.2)63 b(Command)41 b(Searc)m(h)f(and)h(Execution)150 -1553 y Fu(After)i(a)h(command)f(has)g(b)s(een)f(split)h(in)m(to)h(w)m -(ords,)j(if)c(it)g(results)g(in)g(a)h(simple)f(command)g(and)f(an)150 -1663 y(optional)32 b(list)f(of)f(argumen)m(ts,)h(the)g(follo)m(wing)g -(actions)h(are)f(tak)m(en.)199 1793 y(1.)61 b(If)24 b(the)g(command)g -(name)g(con)m(tains)i(no)e(slashes,)i(the)e(shell)h(attempts)g(to)g(lo) -s(cate)h(it.)39 b(If)24 b(there)g(exists)330 1902 y(a)h(shell)g -(function)f(b)m(y)g(that)h(name,)h(that)f(function)f(is)h(in)m(v)m(ok)m -(ed)h(as)e(describ)s(ed)g(in)g(Section)h(3.3)h([Shell)330 -2012 y(F)-8 b(unctions],)31 b(page)h(17.)199 2142 y(2.)61 -b(If)41 b(the)g(name)h(do)s(es)f(not)g(matc)m(h)i(a)e(function,)j(the)e -(shell)f(searc)m(hes)i(for)e(it)h(in)f(the)g(list)h(of)g(shell)330 -2251 y(builtins.)e(If)30 b(a)h(matc)m(h)g(is)f(found,)g(that)h(builtin) -f(is)g(in)m(v)m(ok)m(ed.)199 2381 y(3.)61 b(If)40 b(the)g(name)h(is)f -(neither)h(a)f(shell)h(function)f(nor)g(a)g(builtin,)j(and)d(con)m -(tains)h(no)g(slashes,)i(Bash)330 2491 y(searc)m(hes)c(eac)m(h)g -(elemen)m(t)g(of)g Ft($PATH)d Fu(for)i(a)g(directory)h(con)m(taining)g -(an)f(executable)h(\014le)f(b)m(y)g(that)330 2600 y(name.)56 -b(Bash)36 b(uses)f(a)h(hash)e(table)j(to)f(remem)m(b)s(er)f(the)h(full) -f(pathnames)g(of)h(executable)h(\014les)e(to)330 2710 -y(a)m(v)m(oid)e(m)m(ultiple)f Ft(PATH)f Fu(searc)m(hes)i(\(see)f(the)g -(description)g(of)f Ft(hash)g Fu(in)g(Section)i(4.1)f([Bourne)g(Shell) -330 2819 y(Builtins],)37 b(page)f(41\).)55 b(A)35 b(full)g(searc)m(h)g -(of)g(the)g(directories)h(in)f Ft($PATH)e Fu(is)i(p)s(erformed)f(only)h -(if)g(the)330 2929 y(command)24 b(is)h(not)g(found)e(in)i(the)g(hash)f -(table.)39 b(If)25 b(the)f(searc)m(h)i(is)e(unsuccessful,)h(the)g -(shell)g(searc)m(hes)330 3039 y(for)e(a)h(de\014ned)e(shell)h(function) -h(named)e Ft(command_not_found_handle)p Fu(.)32 b(If)23 -b(that)h(function)f(exists,)330 3148 y(it)32 b(is)f(in)m(v)m(ok)m(ed)i -(with)e(the)h(original)g(command)f(and)g(the)h(original)g(command's)f -(argumen)m(ts)h(as)g(its)330 3258 y(argumen)m(ts,)h(and)e(the)i -(function's)e(exit)i(status)g(b)s(ecomes)f(the)g(exit)h(status)f(of)h -(the)f(shell.)46 b(If)31 b(that)330 3367 y(function)g(is)g(not)g -(de\014ned,)f(the)i(shell)f(prin)m(ts)f(an)h(error)g(message)h(and)f -(returns)e(an)i(exit)h(status)g(of)330 3477 y(127.)199 -3607 y(4.)61 b(If)33 b(the)g(searc)m(h)h(is)g(successful,)g(or)f(if)g -(the)h(command)f(name)g(con)m(tains)i(one)f(or)f(more)g(slashes,)i(the) -330 3716 y(shell)g(executes)h(the)f(named)f(program)g(in)h(a)g -(separate)h(execution)f(en)m(vironmen)m(t.)55 b(Argumen)m(t)35 -b(0)330 3826 y(is)30 b(set)h(to)h(the)e(name)h(giv)m(en,)g(and)f(the)h +m(ts)i(attempts)f(to)h(assign)150 5230 y(a)j(v)-5 b(alue)39 +b(to)g(a)g(readonly)f(v)-5 b(ariable,)42 b(an)c(error)g(o)s(ccurs,)j +(and)c(the)i(command)f(exits)h(with)g(a)f(non-zero)150 +5340 y(status.)p eop end +%%Page: 37 43 +TeXDict begin 37 42 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(37)275 299 +y(If)33 b(no)g(command)g(name)h(results,)g(redirections)g(are)g(p)s +(erformed,)f(but)g(do)h(not)f(a\013ect)i(the)f(curren)m(t)150 +408 y(shell)d(en)m(vironmen)m(t.)41 b(A)30 b(redirection)h(error)f +(causes)h(the)g(command)f(to)h(exit)g(with)f(a)h(non-zero)g(status.)275 +548 y(If)26 b(there)i(is)f(a)h(command)f(name)h(left)g(after)g +(expansion,)g(execution)h(pro)s(ceeds)e(as)g(describ)s(ed)f(b)s(elo)m +(w.)150 658 y(Otherwise,)39 b(the)e(command)g(exits.)62 +b(If)37 b(one)g(of)g(the)h(expansions)f(con)m(tained)h(a)g(command)f +(substitu-)150 767 y(tion,)i(the)d(exit)h(status)g(of)f(the)h(command)f +(is)h(the)f(exit)h(status)g(of)f(the)h(last)g(command)f(substitution) +150 877 y(p)s(erformed.)55 b(If)35 b(there)g(w)m(ere)h(no)g(command)f +(substitutions,)i(the)e(command)h(exits)g(with)f(a)h(status)g(of)150 +987 y(zero.)150 1191 y Fk(3.7.2)63 b(Command)41 b(Searc)m(h)f(and)h +(Execution)150 1338 y Fu(After)i(a)h(command)f(has)g(b)s(een)f(split)h +(in)m(to)h(w)m(ords,)j(if)c(it)g(results)g(in)g(a)h(simple)f(command)g +(and)f(an)150 1448 y(optional)32 b(list)f(of)f(argumen)m(ts,)h(the)g +(follo)m(wing)g(actions)h(are)f(tak)m(en.)199 1587 y(1.)61 +b(If)24 b(the)g(command)g(name)g(con)m(tains)i(no)e(slashes,)i(the)e +(shell)h(attempts)g(to)g(lo)s(cate)h(it.)39 b(If)24 b(there)g(exists) +330 1697 y(a)h(shell)g(function)f(b)m(y)g(that)h(name,)h(that)f +(function)f(is)h(in)m(v)m(ok)m(ed)h(as)e(describ)s(ed)g(in)g(Section)h +(3.3)h([Shell)330 1807 y(F)-8 b(unctions],)31 b(page)h(17.)199 +1944 y(2.)61 b(If)41 b(the)g(name)h(do)s(es)f(not)g(matc)m(h)i(a)e +(function,)j(the)e(shell)f(searc)m(hes)i(for)e(it)h(in)f(the)g(list)h +(of)g(shell)330 2053 y(builtins.)e(If)30 b(a)h(matc)m(h)g(is)f(found,)g +(that)h(builtin)f(is)g(in)m(v)m(ok)m(ed.)199 2190 y(3.)61 +b(If)40 b(the)g(name)h(is)f(neither)h(a)f(shell)h(function)f(nor)g(a)g +(builtin,)j(and)d(con)m(tains)h(no)g(slashes,)i(Bash)330 +2300 y(searc)m(hes)c(eac)m(h)g(elemen)m(t)g(of)g Ft($PATH)d +Fu(for)i(a)g(directory)h(con)m(taining)g(an)f(executable)h(\014le)f(b)m +(y)g(that)330 2410 y(name.)56 b(Bash)36 b(uses)f(a)h(hash)e(table)j(to) +f(remem)m(b)s(er)f(the)h(full)f(pathnames)g(of)h(executable)h(\014les)e +(to)330 2519 y(a)m(v)m(oid)e(m)m(ultiple)f Ft(PATH)f +Fu(searc)m(hes)i(\(see)f(the)g(description)g(of)f Ft(hash)g +Fu(in)g(Section)i(4.1)f([Bourne)g(Shell)330 2629 y(Builtins],)37 +b(page)f(42\).)55 b(A)35 b(full)g(searc)m(h)g(of)g(the)g(directories)h +(in)f Ft($PATH)e Fu(is)i(p)s(erformed)f(only)h(if)g(the)330 +2738 y(command)24 b(is)h(not)g(found)e(in)i(the)g(hash)f(table.)39 +b(If)25 b(the)f(searc)m(h)i(is)e(unsuccessful,)h(the)g(shell)g(searc)m +(hes)330 2848 y(for)e(a)h(de\014ned)e(shell)h(function)h(named)e +Ft(command_not_found_handle)p Fu(.)32 b(If)23 b(that)h(function)f +(exists,)330 2958 y(it)32 b(is)f(in)m(v)m(ok)m(ed)i(with)e(the)h +(original)g(command)f(and)g(the)h(original)g(command's)f(argumen)m(ts)h +(as)g(its)330 3067 y(argumen)m(ts,)h(and)e(the)i(function's)e(exit)i +(status)g(b)s(ecomes)f(the)g(exit)h(status)f(of)h(the)f(shell.)46 +b(If)31 b(that)330 3177 y(function)g(is)g(not)g(de\014ned,)f(the)i +(shell)f(prin)m(ts)f(an)h(error)g(message)h(and)f(returns)e(an)i(exit)h +(status)g(of)330 3286 y(127.)199 3423 y(4.)61 b(If)33 +b(the)g(searc)m(h)h(is)g(successful,)g(or)f(if)g(the)h(command)f(name)g +(con)m(tains)i(one)f(or)f(more)g(slashes,)i(the)330 3533 +y(shell)g(executes)h(the)f(named)f(program)g(in)h(a)g(separate)h +(execution)f(en)m(vironmen)m(t.)55 b(Argumen)m(t)35 b(0)330 +3643 y(is)30 b(set)h(to)h(the)e(name)h(giv)m(en,)g(and)f(the)h (remaining)f(argumen)m(ts)h(to)g(the)g(command)f(are)h(set)g(to)g(the) -330 3936 y(argumen)m(ts)g(supplied,)e(if)h(an)m(y)-8 -b(.)199 4065 y(5.)61 b(If)35 b(this)h(execution)h(fails)f(b)s(ecause)g +330 3752 y(argumen)m(ts)g(supplied,)e(if)h(an)m(y)-8 +b(.)199 3889 y(5.)61 b(If)35 b(this)h(execution)h(fails)f(b)s(ecause)g (the)f(\014le)h(is)g(not)g(in)f(executable)j(format,)f(and)e(the)h -(\014le)g(is)g(not)330 4175 y(a)d(directory)-8 b(,)34 +(\014le)g(is)g(not)330 3999 y(a)d(directory)-8 b(,)34 b(it)f(is)g(assumed)e(to)j(b)s(e)d(a)i Fr(shell)g(script)h Fu(and)e(the)h(shell)f(executes)i(it)f(as)g(describ)s(ed)e(in)330 -4285 y(Section)g(3.8)h([Shell)e(Scripts],)g(page)i(39.)199 -4415 y(6.)61 b(If)38 b(the)h(command)f(w)m(as)h(not)g(b)s(egun)e(async) +4109 y(Section)g(3.8)h([Shell)e(Scripts],)g(page)i(40.)199 +4246 y(6.)61 b(If)38 b(the)h(command)f(w)m(as)h(not)g(b)s(egun)e(async) m(hronously)-8 b(,)42 b(the)c(shell)h(w)m(aits)h(for)e(the)h(command)f -(to)330 4524 y(complete)32 b(and)e(collects)i(its)f(exit)g(status.)150 -4714 y Fk(3.7.3)63 b(Command)41 b(Execution)f(En)m(vironmen)m(t)150 -4861 y Fu(The)30 b(shell)g(has)h(an)f Fr(execution)h(en)m(vironmen)m(t) +(to)330 4355 y(complete)32 b(and)e(collects)i(its)f(exit)g(status.)150 +4560 y Fk(3.7.3)63 b(Command)41 b(Execution)f(En)m(vironmen)m(t)150 +4707 y Fu(The)30 b(shell)g(has)h(an)f Fr(execution)h(en)m(vironmen)m(t) p Fu(,)h(whic)m(h)e(consists)h(of)f(the)h(follo)m(wing:)225 -4991 y Fq(\017)60 b Fu(op)s(en)32 b(\014les)g(inherited)g(b)m(y)h(the)f +4847 y Fq(\017)60 b Fu(op)s(en)32 b(\014les)g(inherited)g(b)m(y)h(the)f (shell)h(at)g(in)m(v)m(o)s(cation,)j(as)c(mo)s(di\014ed)g(b)m(y)g -(redirections)h(supplied)e(to)330 5101 y(the)g Ft(exec)e -Fu(builtin)225 5230 y Fq(\017)60 b Fu(the)28 b(curren)m(t)g(w)m(orking) +(redirections)h(supplied)e(to)330 4956 y(the)g Ft(exec)e +Fu(builtin)225 5093 y Fq(\017)60 b Fu(the)28 b(curren)m(t)g(w)m(orking) h(directory)g(as)f(set)h(b)m(y)f Ft(cd)p Fu(,)g Ft(pushd)p Fu(,)g(or)g Ft(popd)p Fu(,)g(or)g(inherited)g(b)m(y)g(the)h(shell)f(at) -330 5340 y(in)m(v)m(o)s(cation)p eop end -%%Page: 37 43 -TeXDict begin 37 42 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(37)225 299 -y Fq(\017)60 b Fu(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)g(as)h -(set)g(b)m(y)f Ft(umask)f Fu(or)h(inherited)g(from)g(the)h(shell's)f -(paren)m(t)225 434 y Fq(\017)60 b Fu(curren)m(t)30 b(traps)g(set)h(b)m -(y)f Ft(trap)225 570 y Fq(\017)60 b Fu(shell)30 b(parameters)f(that)h -(are)g(set)g(b)m(y)g(v)-5 b(ariable)30 b(assignmen)m(t)g(or)g(with)f -Ft(set)f Fu(or)i(inherited)f(from)g(the)330 680 y(shell's)i(paren)m(t)f -(in)g(the)h(en)m(vironmen)m(t)225 815 y Fq(\017)60 b +330 5203 y(in)m(v)m(o)s(cation)225 5340 y Fq(\017)60 +b Fu(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)g(as)h(set)g(b)m(y)f +Ft(umask)f Fu(or)h(inherited)g(from)g(the)h(shell's)f(paren)m(t)p +eop end +%%Page: 38 44 +TeXDict begin 38 43 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(38)225 299 +y Fq(\017)60 b Fu(curren)m(t)30 b(traps)g(set)h(b)m(y)f +Ft(trap)225 435 y Fq(\017)60 b Fu(shell)30 b(parameters)f(that)h(are)g +(set)g(b)m(y)g(v)-5 b(ariable)30 b(assignmen)m(t)g(or)g(with)f +Ft(set)f Fu(or)i(inherited)f(from)g(the)330 545 y(shell's)i(paren)m(t)f +(in)g(the)h(en)m(vironmen)m(t)225 682 y Fq(\017)60 b Fu(shell)44 b(functions)f(de\014ned)f(during)h(execution)i(or)e (inherited)h(from)f(the)h(shell's)g(paren)m(t)f(in)h(the)330 -925 y(en)m(vironmen)m(t)225 1061 y Fq(\017)60 b Fu(options)33 +791 y(en)m(vironmen)m(t)225 928 y Fq(\017)60 b Fu(options)33 b(enabled)g(at)h(in)m(v)m(o)s(cation)h(\(either)f(b)m(y)f(default)g(or) -g(with)g(command-line)g(argumen)m(ts\))h(or)330 1170 -y(b)m(y)c Ft(set)225 1306 y Fq(\017)60 b Fu(options)31 +g(with)g(command-line)g(argumen)m(ts\))h(or)330 1037 +y(b)m(y)c Ft(set)225 1174 y Fq(\017)60 b Fu(options)31 b(enabled)f(b)m(y)g Ft(shopt)f Fu(\(see)j(Section)f(4.3.2)h([The)e -(Shopt)g(Builtin],)h(page)g(62\))225 1441 y Fq(\017)60 +(Shopt)g(Builtin],)h(page)g(64\))225 1310 y Fq(\017)60 b Fu(shell)31 b(aliases)g(de\014ned)f(with)g Ft(alias)f -Fu(\(see)i(Section)g(6.6)h([Aliases],)g(page)f(88\))225 -1577 y Fq(\017)60 b Fu(v)-5 b(arious)50 b(pro)s(cess)f +Fu(\(see)i(Section)g(6.6)h([Aliases],)g(page)f(90\))225 +1447 y Fq(\017)60 b Fu(v)-5 b(arious)50 b(pro)s(cess)f Fm(id)p Fu(s,)55 b(including)49 b(those)i(of)e(bac)m(kground)h(jobs)f -(\(see)i(Section)g(3.2.3)g([Lists],)330 1687 y(page)31 +(\(see)i(Section)g(3.2.3)g([Lists],)330 1556 y(page)31 b(9\),)g(the)g(v)-5 b(alue)31 b(of)f Ft($$)p Fu(,)g(and)g(the)h(v)-5 -b(alue)31 b(of)f Ft($PPID)275 1849 y Fu(When)k(a)g(simple)h(command)f +b(alue)31 b(of)f Ft($PPID)275 1722 y Fu(When)k(a)g(simple)h(command)f (other)g(than)g(a)h(builtin)f(or)g(shell)h(function)f(is)g(to)h(b)s(e)f -(executed,)i(it)f(is)150 1959 y(in)m(v)m(ok)m(ed)25 b(in)f(a)g +(executed,)i(it)f(is)150 1832 y(in)m(v)m(ok)m(ed)25 b(in)f(a)g (separate)h(execution)g(en)m(vironmen)m(t)g(that)f(consists)g(of)h(the) -f(follo)m(wing.)40 b(Unless)24 b(otherwise)150 2068 y(noted,)31 +f(follo)m(wing.)40 b(Unless)24 b(otherwise)150 1941 y(noted,)31 b(the)f(v)-5 b(alues)31 b(are)g(inherited)f(from)g(the)g(shell.)225 -2205 y Fq(\017)60 b Fu(the)31 b(shell's)h(op)s(en)e(\014les,)i(plus)e +2080 y Fq(\017)60 b Fu(the)31 b(shell's)h(op)s(en)e(\014les,)i(plus)e (an)m(y)h(mo)s(di\014cations)h(and)e(additions)h(sp)s(eci\014ed)g(b)m -(y)g(redirections)g(to)330 2315 y(the)g(command)225 2450 +(y)g(redirections)g(to)330 2189 y(the)g(command)225 2326 y Fq(\017)60 b Fu(the)31 b(curren)m(t)f(w)m(orking)g(directory)225 -2586 y Fq(\017)60 b Fu(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)225 -2722 y Fq(\017)60 b Fu(shell)32 b(v)-5 b(ariables)33 +2462 y Fq(\017)60 b Fu(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)225 +2599 y Fq(\017)60 b Fu(shell)32 b(v)-5 b(ariables)33 b(and)e(functions)h(mark)m(ed)g(for)g(exp)s(ort,)g(along)h(with)f(v)-5 -b(ariables)32 b(exp)s(orted)g(for)g(the)330 2831 y(command,)e(passed)g +b(ariables)32 b(exp)s(orted)g(for)g(the)330 2709 y(command,)e(passed)g (in)g(the)h(en)m(vironmen)m(t)g(\(see)g(Section)g(3.7.4)i([En)m -(vironmen)m(t],)e(page)g(37\))225 2967 y Fq(\017)60 b +(vironmen)m(t],)e(page)g(38\))225 2845 y Fq(\017)60 b Fu(traps)31 b(caugh)m(t)h(b)m(y)f(the)g(shell)h(are)f(reset)h(to)g(the) f(v)-5 b(alues)32 b(inherited)e(from)h(the)g(shell's)h(paren)m(t,)g -(and)330 3076 y(traps)e(ignored)h(b)m(y)f(the)g(shell)h(are)g(ignored) -275 3239 y(A)41 b(command)g(in)m(v)m(ok)m(ed)i(in)e(this)h(separate)g +(and)330 2955 y(traps)e(ignored)h(b)m(y)f(the)g(shell)h(are)g(ignored) +275 3120 y(A)41 b(command)g(in)m(v)m(ok)m(ed)i(in)e(this)h(separate)g (en)m(vironmen)m(t)g(cannot)g(a\013ect)h(the)f(shell's)g(execution)150 -3349 y(en)m(vironmen)m(t.)275 3485 y(Command)35 b(substitution,)j +3230 y(en)m(vironmen)m(t.)275 3368 y(Command)35 b(substitution,)j (commands)e(group)s(ed)f(with)i(paren)m(theses,)h(and)e(async)m -(hronous)g(com-)150 3595 y(mands)c(are)h(in)m(v)m(ok)m(ed)i(in)d(a)i +(hronous)g(com-)150 3478 y(mands)c(are)h(in)m(v)m(ok)m(ed)i(in)d(a)i (subshell)e(en)m(vironmen)m(t)h(that)h(is)f(a)g(duplicate)h(of)f(the)g -(shell)g(en)m(vironmen)m(t,)150 3705 y(except)i(that)g(traps)f(caugh)m +(shell)g(en)m(vironmen)m(t,)150 3588 y(except)i(that)g(traps)f(caugh)m (t)h(b)m(y)f(the)h(shell)f(are)g(reset)h(to)g(the)f(v)-5 b(alues)35 b(that)g(the)f(shell)h(inherited)e(from)150 -3814 y(its)g(paren)m(t)f(at)h(in)m(v)m(o)s(cation.)49 +3697 y(its)g(paren)m(t)f(at)h(in)m(v)m(o)s(cation.)49 b(Builtin)32 b(commands)g(that)h(are)g(in)m(v)m(ok)m(ed)h(as)e(part)g -(of)h(a)f(pip)s(eline)g(are)h(also)150 3924 y(executed)41 +(of)h(a)f(pip)s(eline)g(are)h(also)150 3807 y(executed)41 b(in)f(a)h(subshell)e(en)m(vironmen)m(t.)72 b(Changes)40 b(made)g(to)h(the)g(subshell)e(en)m(vironmen)m(t)i(cannot)150 -4033 y(a\013ect)32 b(the)f(shell's)f(execution)i(en)m(vironmen)m(t.)275 -4170 y(Subshells)c(spa)m(wned)i(to)h(execute)g(command)f(substitutions) +3916 y(a\013ect)32 b(the)f(shell's)f(execution)i(en)m(vironmen)m(t.)275 +4055 y(Subshells)c(spa)m(wned)i(to)h(execute)g(command)f(substitutions) g(inherit)g(the)g(v)-5 b(alue)31 b(of)f(the)h Ft(-e)e -Fu(option)150 4280 y(from)23 b(the)i(paren)m(t)f(shell.)38 +Fu(option)150 4165 y(from)23 b(the)i(paren)m(t)f(shell.)38 b(When)24 b(not)g(in)g Fm(posix)f Fu(mo)s(de,)i(Bash)f(clears)h(the)f -Ft(-e)f Fu(option)i(in)e(suc)m(h)h(subshells.)275 4416 +Ft(-e)f Fu(option)i(in)e(suc)m(h)h(subshells.)275 4303 y(If)f(a)h(command)g(is)g(follo)m(w)m(ed)h(b)m(y)f(a)g(`)p Ft(&)p Fu(')g(and)f(job)h(con)m(trol)h(is)f(not)g(activ)m(e,)k(the)c -(default)g(standard)f(input)150 4526 y(for)35 b(the)g(command)g(is)g +(default)g(standard)f(input)150 4413 y(for)35 b(the)g(command)g(is)g (the)g(empt)m(y)h(\014le)f Ft(/dev/null)p Fu(.)52 b(Otherwise,)37 -b(the)e(in)m(v)m(ok)m(ed)h(command)f(inherits)150 4636 +b(the)e(in)m(v)m(ok)m(ed)h(command)f(inherits)150 4522 y(the)c(\014le)f(descriptors)g(of)h(the)f(calling)i(shell)f(as)f(mo)s -(di\014ed)g(b)m(y)g(redirections.)150 4837 y Fk(3.7.4)63 -b(En)m(vironmen)m(t)150 4984 y Fu(When)29 b(a)g(program)f(is)h(in)m(v)m +(di\014ed)g(b)m(y)g(redirections.)150 4726 y Fk(3.7.4)63 +b(En)m(vironmen)m(t)150 4873 y Fu(When)29 b(a)g(program)f(is)h(in)m(v)m (ok)m(ed)h(it)g(is)f(giv)m(en)g(an)g(arra)m(y)g(of)g(strings)g(called)h (the)f Fr(en)m(vironmen)m(t)p Fu(.)41 b(This)28 b(is)h(a)150 -5094 y(list)i(of)g(name-v)-5 b(alue)31 b(pairs,)f(of)h(the)f(form)g -Ft(name=value)p Fu(.)275 5230 y(Bash)39 b(pro)m(vides)g(sev)m(eral)i(w) +4982 y(list)i(of)g(name-v)-5 b(alue)31 b(pairs,)f(of)h(the)f(form)g +Ft(name=value)p Fu(.)275 5121 y(Bash)39 b(pro)m(vides)g(sev)m(eral)i(w) m(a)m(ys)g(to)f(manipulate)f(the)h(en)m(vironmen)m(t.)69 -b(On)38 b(in)m(v)m(o)s(cation,)44 b(the)c(shell)150 5340 +b(On)38 b(in)m(v)m(o)s(cation,)44 b(the)c(shell)150 5230 y(scans)g(its)h(o)m(wn)f(en)m(vironmen)m(t)h(and)f(creates)i(a)f -(parameter)f(for)g(eac)m(h)i(name)e(found,)i(automatically)p -eop end -%%Page: 38 44 -TeXDict begin 38 43 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(38)150 299 -y(marking)26 b(it)g(for)g Fr(exp)s(ort)h Fu(to)g(c)m(hild)f(pro)s +(parameter)f(for)g(eac)m(h)i(name)e(found,)i(automatically)150 +5340 y(marking)26 b(it)g(for)g Fr(exp)s(ort)h Fu(to)g(c)m(hild)f(pro)s (cesses.)39 b(Executed)26 b(commands)g(inherit)g(the)g(en)m(vironmen)m -(t.)39 b(The)150 408 y Ft(export)c Fu(and)i(`)p Ft(declare)29 -b(-x)p Fu(')36 b(commands)h(allo)m(w)i(parameters)e(and)g(functions)g -(to)h(b)s(e)e(added)h(to)h(and)150 518 y(deleted)21 b(from)f(the)h(en)m -(vironmen)m(t.)38 b(If)20 b(the)h(v)-5 b(alue)21 b(of)g(a)g(parameter)g -(in)f(the)g(en)m(vironmen)m(t)i(is)e(mo)s(di\014ed,)i(the)150 -628 y(new)31 b(v)-5 b(alue)32 b(b)s(ecomes)f(part)h(of)f(the)h(en)m +(t.)39 b(The)p eop end +%%Page: 39 45 +TeXDict begin 39 44 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(39)150 299 +y Ft(export)35 b Fu(and)i(`)p Ft(declare)29 b(-x)p Fu(')36 +b(commands)h(allo)m(w)i(parameters)e(and)g(functions)g(to)h(b)s(e)e +(added)h(to)h(and)150 408 y(deleted)21 b(from)f(the)h(en)m(vironmen)m +(t.)38 b(If)20 b(the)h(v)-5 b(alue)21 b(of)g(a)g(parameter)g(in)f(the)g +(en)m(vironmen)m(t)i(is)e(mo)s(di\014ed,)i(the)150 518 +y(new)31 b(v)-5 b(alue)32 b(b)s(ecomes)f(part)h(of)f(the)h(en)m (vironmen)m(t,)g(replacing)h(the)e(old.)44 b(The)31 b(en)m(vironmen)m -(t)h(inherited)150 737 y(b)m(y)f(an)m(y)g(executed)h(command)f +(t)h(inherited)150 628 y(b)m(y)f(an)m(y)g(executed)h(command)f (consists)g(of)g(the)g(shell's)h(initial)g(en)m(vironmen)m(t,)g(whose)f -(v)-5 b(alues)31 b(ma)m(y)h(b)s(e)150 847 y(mo)s(di\014ed)26 +(v)-5 b(alues)31 b(ma)m(y)h(b)s(e)150 737 y(mo)s(di\014ed)26 b(in)g(the)h(shell,)h(less)f(an)m(y)g(pairs)f(remo)m(v)m(ed)i(b)m(y)f (the)g Ft(unset)e Fu(and)h(`)p Ft(export)j(-n)p Fu(')e(commands,)g -(plus)150 956 y(an)m(y)k(additions)f(via)h(the)g Ft(export)d -Fu(and)i(`)p Ft(declare)f(-x)p Fu(')h(commands.)275 1100 +(plus)150 847 y(an)m(y)k(additions)f(via)h(the)g Ft(export)d +Fu(and)i(`)p Ft(declare)f(-x)p Fu(')h(commands.)275 991 y(The)j(en)m(vironmen)m(t)i(for)f(an)m(y)g(simple)h(command)f(or)g (function)g(ma)m(y)g(b)s(e)g(augmen)m(ted)h(temp)s(orarily)150 -1210 y(b)m(y)c(pre\014xing)e(it)i(with)g(parameter)g(assignmen)m(ts,)h +1100 y(b)m(y)c(pre\014xing)e(it)i(with)g(parameter)g(assignmen)m(ts,)h (as)e(describ)s(ed)g(in)g(Section)i(3.4)g([Shell)e(P)m(arameters],)150 -1320 y(page)g(18.)41 b(These)29 b(assignmen)m(t)i(statemen)m(ts)g +1210 y(page)g(18.)41 b(These)29 b(assignmen)m(t)i(statemen)m(ts)g (a\013ect)f(only)g(the)f(en)m(vironmen)m(t)h(seen)g(b)m(y)f(that)h -(command.)275 1464 y(If)g(the)h Ft(-k)g Fu(option)g(is)g(set)h(\(see)g -(Section)g(4.3.1)g([The)f(Set)g(Builtin],)h(page)g(58\),)h(then)e(all)g -(parameter)150 1573 y(assignmen)m(ts)f(are)g(placed)h(in)e(the)h(en)m +(command.)275 1354 y(If)g(the)h Ft(-k)g Fu(option)g(is)g(set)h(\(see)g +(Section)g(4.3.1)g([The)f(Set)g(Builtin],)h(page)g(60\),)h(then)e(all)g +(parameter)150 1464 y(assignmen)m(ts)f(are)g(placed)h(in)e(the)h(en)m (vironmen)m(t)g(for)g(a)g(command,)f(not)h(just)f(those)i(that)f -(precede)g(the)150 1683 y(command)g(name.)275 1827 y(When)h(Bash)h(in)m +(precede)g(the)150 1573 y(command)g(name.)275 1717 y(When)h(Bash)h(in)m (v)m(ok)m(es)i(an)e(external)h(command,)f(the)g(v)-5 b(ariable)33 b(`)p Ft($_)p Fu(')f(is)g(set)h(to)f(the)g(full)g -(pathname)150 1936 y(of)f(the)f(command)g(and)g(passed)g(to)h(that)g -(command)f(in)g(its)h(en)m(vironmen)m(t.)150 2145 y Fk(3.7.5)63 -b(Exit)40 b(Status)150 2292 y Fu(The)26 b(exit)h(status)f(of)g(an)g +(pathname)150 1827 y(of)f(the)f(command)g(and)g(passed)g(to)h(that)g +(command)f(in)g(its)h(en)m(vironmen)m(t.)150 2035 y Fk(3.7.5)63 +b(Exit)40 b(Status)150 2182 y Fu(The)26 b(exit)h(status)f(of)g(an)g (executed)h(command)f(is)g(the)h(v)-5 b(alue)26 b(returned)f(b)m(y)h -(the)g Fr(w)m(aitpid)k Fu(system)d(call)g(or)150 2401 +(the)g Fr(w)m(aitpid)k Fu(system)d(call)g(or)150 2292 y(equiv)-5 b(alen)m(t)33 b(function.)45 b(Exit)32 b(statuses)g(fall)g (b)s(et)m(w)m(een)h(0)f(and)f(255,)i(though,)f(as)g(explained)g(b)s -(elo)m(w,)h(the)150 2511 y(shell)i(ma)m(y)g(use)f(v)-5 +(elo)m(w,)h(the)150 2401 y(shell)i(ma)m(y)g(use)f(v)-5 b(alues)35 b(ab)s(o)m(v)m(e)g(125)h(sp)s(ecially)-8 b(.)54 b(Exit)35 b(statuses)g(from)f(shell)h(builtins)f(and)f(comp)s(ound)150 -2621 y(commands)j(are)g(also)h(limited)g(to)g(this)f(range.)58 +2511 y(commands)j(are)g(also)h(limited)g(to)g(this)f(range.)58 b(Under)36 b(certain)h(circumstances,)h(the)e(shell)h(will)f(use)150 -2730 y(sp)s(ecial)31 b(v)-5 b(alues)31 b(to)g(indicate)g(sp)s(eci\014c) -f(failure)h(mo)s(des.)275 2874 y(F)-8 b(or)32 b(the)g(shell's)g(purp)s +2621 y(sp)s(ecial)31 b(v)-5 b(alues)31 b(to)g(indicate)g(sp)s(eci\014c) +f(failure)h(mo)s(des.)275 2765 y(F)-8 b(or)32 b(the)g(shell's)g(purp)s (oses,)e(a)j(command)e(whic)m(h)h(exits)g(with)g(a)g(zero)g(exit)h -(status)f(has)f(succeeded.)150 2984 y(A)e(non-zero)h(exit)g(status)g +(status)f(has)f(succeeded.)150 2874 y(A)e(non-zero)h(exit)g(status)g (indicates)g(failure.)40 b(This)28 b(seemingly)i(coun)m(ter-in)m -(tuitiv)m(e)i(sc)m(heme)e(is)f(used)g(so)150 3093 y(there)34 +(tuitiv)m(e)i(sc)m(heme)e(is)f(used)g(so)150 2984 y(there)34 b(is)g(one)g(w)m(ell-de\014ned)g(w)m(a)m(y)g(to)h(indicate)g(success)f (and)f(a)h(v)-5 b(ariet)m(y)35 b(of)f(w)m(a)m(ys)h(to)f(indicate)h(v)-5 -b(arious)150 3203 y(failure)38 b(mo)s(des.)62 b(When)37 +b(arious)150 3093 y(failure)38 b(mo)s(des.)62 b(When)37 b(a)h(command)f(terminates)i(on)e(a)h(fatal)h(signal)g(whose)e(n)m(um)m -(b)s(er)f(is)i Fr(N)p Fu(,)i(Bash)150 3313 y(uses)30 +(b)s(er)f(is)i Fr(N)p Fu(,)i(Bash)150 3203 y(uses)30 b(the)g(v)-5 b(alue)31 b(128)p Ft(+)p Fr(N)42 b Fu(as)30 -b(the)h(exit)g(status.)275 3457 y(If)k(a)h(command)g(is)g(not)g(found,) +b(the)h(exit)g(status.)275 3347 y(If)k(a)h(command)g(is)g(not)g(found,) g(the)g(c)m(hild)h(pro)s(cess)e(created)i(to)g(execute)g(it)g(returns)d -(a)j(status)f(of)150 3566 y(127.)42 b(If)30 b(a)h(command)f(is)g(found) +(a)j(status)f(of)150 3457 y(127.)42 b(If)30 b(a)h(command)f(is)g(found) f(but)h(is)g(not)h(executable,)h(the)f(return)e(status)i(is)f(126.)275 -3710 y(If)i(a)i(command)f(fails)g(b)s(ecause)g(of)h(an)f(error)f +3600 y(If)i(a)i(command)f(fails)g(b)s(ecause)g(of)h(an)f(error)f (during)g(expansion)h(or)g(redirection,)i(the)f(exit)g(status)150 -3820 y(is)c(greater)i(than)e(zero.)275 3964 y(The)38 +3710 y(is)c(greater)i(than)e(zero.)275 3854 y(The)38 b(exit)h(status)g(is)g(used)f(b)m(y)g(the)h(Bash)g(conditional)h -(commands)e(\(see)h(Section)h(3.2.4.2)h([Con-)150 4073 +(commands)e(\(see)h(Section)h(3.2.4.2)h([Con-)150 3964 y(ditional)i(Constructs],)h(page)f(10\))g(and)e(some)i(of)f(the)g(list) g(constructs)g(\(see)h(Section)f(3.2.3)i([Lists],)150 -4183 y(page)31 b(9\).)275 4327 y(All)40 b(of)g(the)h(Bash)f(builtins)f +4073 y(page)31 b(9\).)275 4217 y(All)40 b(of)g(the)h(Bash)f(builtins)f (return)g(an)h(exit)h(status)g(of)f(zero)h(if)f(they)g(succeed)g(and)g -(a)g(non-zero)150 4436 y(status)34 b(on)f(failure,)i(so)f(they)g(ma)m +(a)g(non-zero)150 4327 y(status)34 b(on)f(failure,)i(so)f(they)g(ma)m (y)g(b)s(e)f(used)g(b)m(y)g(the)h(conditional)h(and)e(list)h -(constructs.)50 b(All)35 b(builtins)150 4546 y(return)29 -b(an)i(exit)g(status)g(of)f(2)h(to)g(indicate)g(incorrect)h(usage.)150 +(constructs.)50 b(All)35 b(builtins)150 4436 y(return)e(an)i(exit)g +(status)g(of)f(2)h(to)g(indicate)h(incorrect)f(usage,)h(generally)g(in) +m(v)-5 b(alid)35 b(options)g(or)f(missing)150 4546 y(argumen)m(ts.)150 4755 y Fk(3.7.6)63 b(Signals)150 4902 y Fu(When)36 b(Bash)g(is)h(in)m (teractiv)m(e,)j(in)c(the)h(absence)f(of)h(an)m(y)f(traps,)i(it)e (ignores)h Ft(SIGTERM)d Fu(\(so)j(that)g(`)p Ft(kill)150 @@ -10831,12 +10991,12 @@ h(that)h(the)f Ft(wait)150 5121 y Fu(builtin)24 b(is)h(in)m Ft(SIGINT)p Fu(,)h(it)g(breaks)f(out)h(of)f(an)m(y)h(executing)h(lo)s (ops.)150 5230 y(In)31 b(all)h(cases,)h(Bash)f(ignores)g Ft(SIGQUIT)p Fu(.)42 b(If)32 b(job)f(con)m(trol)i(is)e(in)h(e\013ect)h -(\(see)f(Chapter)f(7)h([Job)g(Con)m(trol],)150 5340 y(page)f(97\),)h -(Bash)e(ignores)h Ft(SIGTTIN)p Fu(,)e Ft(SIGTTOU)p Fu(,)g(and)g +(\(see)f(Chapter)f(7)h([Job)g(Con)m(trol],)150 5340 y(page)f(100\),)h +(Bash)f(ignores)g Ft(SIGTTIN)p Fu(,)d Ft(SIGTTOU)p Fu(,)h(and)h Ft(SIGTSTP)p Fu(.)p eop end -%%Page: 39 45 -TeXDict begin 39 44 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(39)275 299 +%%Page: 40 46 +TeXDict begin 40 45 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(40)275 299 y(Non-builtin)31 b(commands)g(started)g(b)m(y)g(Bash)h(ha)m(v)m(e)g (signal)g(handlers)e(set)i(to)g(the)g(v)-5 b(alues)31 b(inherited)150 408 y(b)m(y)37 b(the)h(shell)g(from)f(its)h(paren)m(t.) @@ -10846,70 +11006,70 @@ Ft(SIGQUIT)e Fu(in)j(addition)f(to)i(these)f(inherited)f(handlers.)55 b(Commands)35 b(run)f(as)i(a)150 628 y(result)27 b(of)h(command)f (substitution)h(ignore)g(the)g(k)m(eyb)s(oard-generated)g(job)g(con)m (trol)h(signals)f Ft(SIGTTIN)p Fu(,)150 737 y Ft(SIGTTOU)p -Fu(,)h(and)g Ft(SIGTSTP)p Fu(.)275 883 y(The)h(shell)i(exits)g(b)m(y)f +Fu(,)h(and)g Ft(SIGTSTP)p Fu(.)275 882 y(The)h(shell)i(exits)g(b)m(y)f (default)g(up)s(on)f(receipt)i(of)f(a)h Ft(SIGHUP)p Fu(.)42 b(Before)32 b(exiting,)h(an)e(in)m(teractiv)m(e)j(shell)150 992 y(resends)41 b(the)i Ft(SIGHUP)e Fu(to)i(all)g(jobs,)i(running)c (or)h(stopp)s(ed.)76 b(Stopp)s(ed)41 b(jobs)h(are)h(sen)m(t)g -Ft(SIGCONT)d Fu(to)150 1102 y(ensure)32 b(that)h(they)g(receiv)m(e)i +Ft(SIGCONT)d Fu(to)150 1101 y(ensure)32 b(that)h(they)g(receiv)m(e)i (the)e Ft(SIGHUP)p Fu(.)47 b(T)-8 b(o)33 b(prev)m(en)m(t)g(the)g(shell) g(from)g(sending)f(the)h Ft(SIGHUP)e Fu(signal)150 1211 y(to)i(a)g(particular)g(job,)g(it)g(should)f(b)s(e)g(remo)m(v)m(ed)h (from)g(the)f(jobs)g(table)i(with)e(the)h Ft(disown)e -Fu(builtin)h(\(see)150 1321 y(Section)f(7.2)g([Job)f(Con)m(trol)h -(Builtins],)g(page)g(98\))h(or)e(mark)m(ed)g(to)h(not)f(receiv)m(e)i -Ft(SIGHUP)d Fu(using)h Ft(disown)150 1431 y(-h)p Fu(.)275 -1576 y(If)38 b(the)h Ft(huponexit)e Fu(shell)i(option)g(has)g(b)s(een)f +Fu(builtin)h(\(see)150 1320 y(Section)c(7.2)g([Job)e(Con)m(trol)i +(Builtins],)g(page)g(101\))h(or)e(mark)m(ed)g(to)g(not)g(receiv)m(e)i +Ft(SIGHUP)c Fu(using)i Ft(disown)150 1430 y(-h)p Fu(.)275 +1575 y(If)38 b(the)h Ft(huponexit)e Fu(shell)i(option)g(has)g(b)s(een)f (set)i(with)f Ft(shopt)e Fu(\(see)j(Section)g(4.3.2)h([The)e(Shopt)150 -1686 y(Builtin],)31 b(page)g(62\),)h(Bash)f(sends)e(a)i +1684 y(Builtin],)31 b(page)g(64\),)h(Bash)f(sends)e(a)i Ft(SIGHUP)e Fu(to)i(all)g(jobs)f(when)f(an)i(in)m(teractiv)m(e)i(login) -e(shell)g(exits.)275 1831 y(If)38 b(Bash)h(is)g(w)m(aiting)h(for)f(a)g +e(shell)g(exits.)275 1829 y(If)38 b(Bash)h(is)g(w)m(aiting)h(for)f(a)g (command)f(to)i(complete)g(and)e(receiv)m(es)j(a)e(signal)h(for)e(whic) -m(h)h(a)g(trap)150 1941 y(has)c(b)s(een)f(set,)i(the)f(trap)g(will)g +m(h)h(a)g(trap)150 1939 y(has)c(b)s(een)f(set,)i(the)f(trap)g(will)g (not)g(b)s(e)f(executed)i(un)m(til)f(the)g(command)f(completes.)55 -b(When)35 b(Bash)g(is)150 2050 y(w)m(aiting)j(for)f(an)g(async)m +b(When)35 b(Bash)g(is)150 2048 y(w)m(aiting)j(for)f(an)g(async)m (hronous)g(command)g(via)h(the)f Ft(wait)f Fu(builtin,)i(the)g -(reception)g(of)f(a)g(signal)h(for)150 2160 y(whic)m(h)d(a)g(trap)g +(reception)g(of)f(a)g(signal)h(for)150 2158 y(whic)m(h)d(a)g(trap)g (has)g(b)s(een)f(set)h(will)h(cause)f(the)g Ft(wait)f Fu(builtin)h(to)g(return)f(immediately)i(with)f(an)g(exit)150 -2270 y(status)c(greater)g(than)f(128,)i(immediately)g(after)f(whic)m(h) -f(the)h(trap)f(is)g(executed.)150 2518 y Fs(3.8)68 b(Shell)45 -b(Scripts)150 2678 y Fu(A)30 b(shell)f(script)h(is)f(a)h(text)h(\014le) +2267 y(status)c(greater)g(than)f(128,)i(immediately)g(after)f(whic)m(h) +f(the)h(trap)f(is)g(executed.)150 2524 y Fs(3.8)68 b(Shell)45 +b(Scripts)150 2683 y Fu(A)30 b(shell)f(script)h(is)f(a)h(text)h(\014le) f(con)m(taining)h(shell)f(commands.)40 b(When)29 b(suc)m(h)g(a)h -(\014le)g(is)f(used)g(as)h(the)g(\014rst)150 2787 y(non-option)c +(\014le)g(is)f(used)g(as)h(the)g(\014rst)150 2792 y(non-option)c (argumen)m(t)h(when)e(in)m(v)m(oking)i(Bash,)g(and)f(neither)g(the)g Ft(-c)g Fu(nor)f Ft(-s)h Fu(option)g(is)g(supplied)f(\(see)150 -2897 y(Section)39 b(6.1)g([In)m(v)m(oking)g(Bash],)h(page)f(80\),)i +2902 y(Section)39 b(6.1)g([In)m(v)m(oking)g(Bash],)h(page)f(82\),)i (Bash)d(reads)g(and)f(executes)i(commands)f(from)f(the)i(\014le,)150 -3007 y(then)32 b(exits.)46 b(This)32 b(mo)s(de)f(of)i(op)s(eration)f +3012 y(then)32 b(exits.)46 b(This)32 b(mo)s(de)f(of)i(op)s(eration)f (creates)i(a)e(non-in)m(teractiv)m(e)j(shell.)46 b(The)31 -b(shell)i(\014rst)e(searc)m(hes)150 3116 y(for)d(the)g(\014le)g(in)g +b(shell)i(\014rst)e(searc)m(hes)150 3121 y(for)d(the)g(\014le)g(in)g (the)g(curren)m(t)f(directory)-8 b(,)30 b(and)d(lo)s(oks)i(in)e(the)i (directories)g(in)e Ft($PATH)g Fu(if)h(not)g(found)e(there.)275 -3262 y(When)34 b(Bash)h(runs)e(a)i(shell)g(script,)g(it)h(sets)f(the)f +3266 y(When)34 b(Bash)h(runs)e(a)i(shell)g(script,)g(it)h(sets)f(the)f (sp)s(ecial)i(parameter)f Ft(0)f Fu(to)h(the)g(name)g(of)g(the)g -(\014le,)150 3371 y(rather)k(than)g(the)h(name)f(of)h(the)f(shell,)j +(\014le,)150 3376 y(rather)k(than)g(the)h(name)f(of)h(the)f(shell,)j (and)d(the)h(p)s(ositional)g(parameters)f(are)h(set)g(to)g(the)g -(remain-)150 3481 y(ing)f(argumen)m(ts,)j(if)d(an)m(y)g(are)g(giv)m +(remain-)150 3485 y(ing)f(argumen)m(ts,)j(if)d(an)m(y)g(are)g(giv)m (en.)67 b(If)39 b(no)g(additional)g(argumen)m(ts)h(are)f(supplied,)h -(the)f(p)s(ositional)150 3590 y(parameters)31 b(are)f(unset.)275 -3736 y(A)39 b(shell)h(script)f(ma)m(y)h(b)s(e)f(made)h(executable)h(b)m +(the)f(p)s(ositional)150 3595 y(parameters)31 b(are)f(unset.)275 +3740 y(A)39 b(shell)h(script)f(ma)m(y)h(b)s(e)f(made)h(executable)h(b)m (y)e(using)g(the)h Ft(chmod)e Fu(command)h(to)h(turn)e(on)i(the)150 -3846 y(execute)j(bit.)73 b(When)41 b(Bash)g(\014nds)e(suc)m(h)i(a)h +3849 y(execute)j(bit.)73 b(When)41 b(Bash)g(\014nds)e(suc)m(h)i(a)h (\014le)f(while)g(searc)m(hing)h(the)f Ft($PATH)f Fu(for)h(a)h -(command,)h(it)150 3955 y(spa)m(wns)30 b(a)g(subshell)g(to)h(execute)h -(it.)41 b(In)30 b(other)g(w)m(ords,)g(executing)390 4101 -y Ft(filename)46 b Fj(arguments)150 4246 y Fu(is)30 b(equiv)-5 -b(alen)m(t)32 b(to)f(executing)390 4392 y Ft(bash)47 -b(filename)e Fj(arguments)150 4537 y Fu(if)30 b Ft(filename)d +(command,)h(it)150 3959 y(spa)m(wns)30 b(a)g(subshell)g(to)h(execute)h +(it.)41 b(In)30 b(other)g(w)m(ords,)g(executing)390 4103 +y Ft(filename)46 b Fj(arguments)150 4248 y Fu(is)30 b(equiv)-5 +b(alen)m(t)32 b(to)f(executing)390 4393 y Ft(bash)47 +b(filename)e Fj(arguments)150 4538 y Fu(if)30 b Ft(filename)d Fu(is)j(an)f(executable)j(shell)e(script.)40 b(This)29 b(subshell)g(reinitializes)i(itself,)g(so)f(that)h(the)e(e\013ect)150 4647 y(is)36 b(as)h(if)g(a)f(new)g(shell)h(had)f(b)s(een)g(in)m(v)m(ok) m(ed)h(to)h(in)m(terpret)e(the)h(script,)h(with)e(the)h(exception)h -(that)f(the)150 4756 y(lo)s(cations)25 b(of)g(commands)e(remem)m(b)s +(that)f(the)150 4757 y(lo)s(cations)25 b(of)g(commands)e(remem)m(b)s (ered)h(b)m(y)g(the)g(paren)m(t)g(\(see)h(the)f(description)g(of)g Ft(hash)f Fu(in)h(Section)h(4.1)150 4866 y([Bourne)30 -b(Shell)h(Builtins],)g(page)g(41\))h(are)e(retained)h(b)m(y)f(the)h(c)m +b(Shell)h(Builtins],)g(page)g(42\))h(are)e(retained)h(b)m(y)f(the)h(c)m (hild.)275 5011 y(Most)36 b(v)m(ersions)g(of)g(Unix)f(mak)m(e)h(this)g (a)g(part)f(of)h(the)g(op)s(erating)g(system's)f(command)h(execution) 150 5121 y(mec)m(hanism.)50 b(If)33 b(the)g(\014rst)g(line)h(of)f(a)h @@ -10920,9 +11080,9 @@ b(Th)m(us,)30 b(y)m(ou)h(can)h(sp)s(ecify)e(Bash,)i Ft(awk)p Fu(,)e(P)m(erl,)150 5340 y(or)g(some)h(other)g(in)m(terpreter)g(and)e (write)i(the)f(rest)h(of)g(the)f(script)g(\014le)h(in)f(that)h (language.)p eop end -%%Page: 40 46 -TeXDict begin 40 45 bop 150 -116 a Fu(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(40)275 299 +%%Page: 41 47 +TeXDict begin 41 46 bop 150 -116 a Fu(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(41)275 299 y(The)40 b(argumen)m(ts)h(to)g(the)g(in)m(terpreter)g(consist)g(of)g(a) g(single)h(optional)f(argumen)m(t)h(follo)m(wing)g(the)150 408 y(in)m(terpreter)33 b(name)h(on)f(the)g(\014rst)f(line)i(of)f(the)g @@ -10939,210 +11099,218 @@ Ft(#!)e(/bin/bash)g Fu(\(assuming)i(that)h(Bash)f(has)g(b)s(een)f f(that)i(Bash)f(will)h(b)s(e)f(used)f(to)i(in)m(terpret)f(the)h (script,)g(ev)m(en)g(if)f(it)h(is)f(executed)150 1091 y(under)j(another)h(shell.)p eop end -%%Page: 41 47 -TeXDict begin 41 46 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(41)150 299 y Fp(4)80 -b(Shell)53 b(Builtin)f(Commands)150 541 y Fu(Builtin)34 +%%Page: 42 48 +TeXDict begin 42 47 bop 3659 -116 a Fu(42)150 299 y Fp(4)80 +b(Shell)53 b(Builtin)f(Commands)150 499 y Fu(Builtin)34 b(commands)f(are)h(con)m(tained)g(within)f(the)h(shell)g(itself.)50 b(When)34 b(the)f(name)h(of)f(a)h(builtin)f(com-)150 -651 y(mand)26 b(is)i(used)e(as)i(the)g(\014rst)e(w)m(ord)h(of)h(a)f +608 y(mand)26 b(is)i(used)e(as)i(the)g(\014rst)e(w)m(ord)h(of)h(a)f (simple)h(command)f(\(see)h(Section)g(3.2.1)h([Simple)f(Commands],)150 -760 y(page)21 b(8\),)j(the)d(shell)g(executes)h(the)f(command)f +718 y(page)21 b(8\),)j(the)d(shell)g(executes)h(the)f(command)f (directly)-8 b(,)24 b(without)d(in)m(v)m(oking)h(another)f(program.)37 -b(Builtin)150 870 y(commands)f(are)h(necessary)g(to)g(implemen)m(t)g +b(Builtin)150 828 y(commands)f(are)h(necessary)g(to)g(implemen)m(t)g (functionalit)m(y)h(imp)s(ossible)e(or)h(incon)m(v)m(enien)m(t)h(to)f -(obtain)150 979 y(with)30 b(separate)h(utilities.)275 -1117 y(This)c(section)j(brie\015y)e(describ)s(es)g(the)h(builtins)f +(obtain)150 937 y(with)30 b(separate)h(utilities.)275 +1065 y(This)c(section)j(brie\015y)e(describ)s(es)g(the)h(builtins)f (whic)m(h)g(Bash)h(inherits)f(from)g(the)h(Bourne)g(Shell,)g(as)150 -1226 y(w)m(ell)i(as)g(the)g(builtin)e(commands)h(whic)m(h)h(are)f +1174 y(w)m(ell)i(as)g(the)g(builtin)e(commands)h(whic)m(h)h(are)f (unique)g(to)h(or)f(ha)m(v)m(e)i(b)s(een)d(extended)i(in)f(Bash.)275 -1363 y(Sev)m(eral)45 b(builtin)e(commands)h(are)h(describ)s(ed)e(in)h +1302 y(Sev)m(eral)45 b(builtin)e(commands)h(are)h(describ)s(ed)e(in)h (other)g(c)m(hapters:)69 b(builtin)43 b(commands)h(whic)m(h)150 -1473 y(pro)m(vide)23 b(the)h(Bash)f(in)m(terface)i(to)f(the)g(job)f +1412 y(pro)m(vide)23 b(the)h(Bash)f(in)m(terface)i(to)f(the)g(job)f (con)m(trol)i(facilities)g(\(see)f(Section)h(7.2)f([Job)f(Con)m(trol)h -(Builtins],)150 1583 y(page)40 b(98\),)j(the)c(directory)h(stac)m(k)g -(\(see)g(Section)g(6.8.1)h([Directory)g(Stac)m(k)f(Builtins],)i(page)e -(90\),)j(the)150 1692 y(command)23 b(history)h(\(see)g(Section)g(9.2)h -([Bash)f(History)g(Builtins],)h(page)g(133\),)h(and)d(the)h -(programmable)150 1802 y(completion)32 b(facilities)g(\(see)g(Section)f -(8.7)g([Programmable)g(Completion)g(Builtins],)g(page)h(126\).)275 -1939 y(Man)m(y)f(of)f(the)h(builtins)e(ha)m(v)m(e)j(b)s(een)e(extended) -g(b)m(y)g Fm(posix)g Fu(or)g(Bash.)275 2076 y(Unless)39 -b(otherwise)h(noted,)i(eac)m(h)f(builtin)e(command)g(do)s(cumen)m(ted)g -(as)h(accepting)h(options)f(pre-)150 2186 y(ceded)33 -b(b)m(y)h(`)p Ft(-)p Fu(')f(accepts)i(`)p Ft(--)p Fu(')e(to)h(signify)f -(the)h(end)e(of)i(the)f(options.)50 b(The)33 b Ft(:)p -Fu(,)h Ft(true)p Fu(,)f Ft(false)p Fu(,)f(and)h Ft(test)150 -2295 y Fu(builtins)i(do)g(not)h(accept)g(options)g(and)f(do)g(not)h -(treat)g(`)p Ft(--)p Fu(')f(sp)s(ecially)-8 b(.)57 b(The)35 -b Ft(exit)p Fu(,)h Ft(logout)p Fu(,)f Ft(break)p Fu(,)150 -2405 y Ft(continue)p Fu(,)29 b Ft(let)p Fu(,)i(and)g -Ft(shift)f Fu(builtins)g(accept)j(and)e(pro)s(cess)g(argumen)m(ts)g(b)s -(eginning)g(with)g(`)p Ft(-)p Fu(')g(with-)150 2515 y(out)f(requiring)f -(`)p Ft(--)p Fu('.)41 b(Other)29 b(builtins)h(that)g(accept)h(argumen)m -(ts)f(but)g(are)g(not)g(sp)s(eci\014ed)f(as)h(accepting)150 -2624 y(options)25 b(in)m(terpret)f(argumen)m(ts)h(b)s(eginning)e(with)h -(`)p Ft(-)p Fu(')h(as)f(in)m(v)-5 b(alid)25 b(options)g(and)e(require)h -(`)p Ft(--)p Fu(')g(to)h(prev)m(en)m(t)150 2734 y(this)30 -b(in)m(terpretation.)150 2970 y Fs(4.1)68 b(Bourne)45 -b(Shell)g(Builtins)150 3130 y Fu(The)22 b(follo)m(wing)j(shell)d -(builtin)h(commands)f(are)h(inherited)g(from)f(the)h(Bourne)g(Shell.)38 -b(These)22 b(commands)150 3239 y(are)31 b(implemen)m(ted)g(as)f(sp)s -(eci\014ed)g(b)m(y)g(the)h Fm(posix)e Fu(standard.)150 -3403 y Ft(:)h Fu(\(a)h(colon\))870 3512 y Ft(:)47 b([)p -Fj(arguments)p Ft(])630 3648 y Fu(Do)c(nothing)f(b)s(ey)m(ond)g +(Builtins],)150 1521 y(page)37 b(101\),)i(the)d(directory)g(stac)m(k)h +(\(see)g(Section)g(6.8.1)g([Directory)h(Stac)m(k)f(Builtins],)h(page)e +(93\),)j(the)150 1631 y(command)23 b(history)h(\(see)g(Section)g(9.2)h +([Bash)f(History)g(Builtins],)h(page)g(137\),)h(and)d(the)h +(programmable)150 1740 y(completion)32 b(facilities)g(\(see)g(Section)f +(8.7)g([Programmable)g(Completion)g(Builtins],)g(page)h(131\).)275 +1868 y(Man)m(y)f(of)f(the)h(builtins)e(ha)m(v)m(e)j(b)s(een)e(extended) +g(b)m(y)g Fm(posix)g Fu(or)g(Bash.)275 1996 y(Unless)20 +b(otherwise)h(noted,)h(eac)m(h)g(builtin)e(command)g(do)s(cumen)m(ted)g +(as)h(accepting)h(options)e(preceded)150 2105 y(b)m(y)29 +b(`)p Ft(-)p Fu(')g(accepts)i(`)p Ft(--)p Fu(')e(to)h(signify)f(the)g +(end)g(of)g(the)h(options.)40 b(The)29 b Ft(:)p Fu(,)g +Ft(true)p Fu(,)g Ft(false)p Fu(,)f(and)h Ft(test)f Fu(builtins)150 +2215 y(do)34 b(not)h(accept)h(options)f(and)f(do)g(not)h(treat)h(`)p +Ft(--)p Fu(')e(sp)s(ecially)-8 b(.)54 b(The)34 b Ft(exit)p +Fu(,)h Ft(logout)p Fu(,)f Ft(return)p Fu(,)g Ft(break)p +Fu(,)150 2325 y Ft(continue)p Fu(,)22 b Ft(let)p Fu(,)i(and)e +Ft(shift)f Fu(builtins)h(accept)i(and)e(pro)s(cess)g(argumen)m(ts)h(b)s +(eginning)f(with)g(`)p Ft(-)p Fu(')h(without)150 2434 +y(requiring)41 b(`)p Ft(--)p Fu('.)74 b(Other)41 b(builtins)g(that)h +(accept)h(argumen)m(ts)e(but)g(are)h(not)g(sp)s(eci\014ed)f(as)g +(accepting)150 2544 y(options)25 b(in)m(terpret)f(argumen)m(ts)h(b)s +(eginning)e(with)h(`)p Ft(-)p Fu(')h(as)f(in)m(v)-5 b(alid)25 +b(options)g(and)e(require)h(`)p Ft(--)p Fu(')g(to)h(prev)m(en)m(t)150 +2653 y(this)30 b(in)m(terpretation.)150 2880 y Fs(4.1)68 +b(Bourne)45 b(Shell)g(Builtins)150 3040 y Fu(The)22 b(follo)m(wing)j +(shell)d(builtin)h(commands)f(are)h(inherited)g(from)f(the)h(Bourne)g +(Shell.)38 b(These)22 b(commands)150 3149 y(are)31 b(implemen)m(ted)g +(as)f(sp)s(eci\014ed)g(b)m(y)g(the)h Fm(posix)e Fu(standard.)150 +3295 y Ft(:)h Fu(\(a)h(colon\))870 3405 y Ft(:)47 b([)p +Fj(arguments)p Ft(])630 3532 y Fu(Do)c(nothing)f(b)s(ey)m(ond)g (expanding)f Fr(argumen)m(ts)46 b Fu(and)c(p)s(erforming)f -(redirections.)76 b(The)630 3758 y(return)29 b(status)i(is)f(zero.)150 -3920 y Ft(.)g Fu(\(a)h(p)s(erio)s(d\))870 4029 y Ft(.)47 -b Fj(filename)f Ft([)p Fj(arguments)p Ft(])630 4165 y +(redirections.)76 b(The)630 3642 y(return)29 b(status)i(is)f(zero.)150 +3788 y Ft(.)g Fu(\(a)h(p)s(erio)s(d\))870 3897 y Ft(.)47 +b Fj(filename)f Ft([)p Fj(arguments)p Ft(])630 4025 y Fu(Read)34 b(and)f(execute)i(commands)e(from)g(the)h Fr(\014lename)39 b Fu(argumen)m(t)34 b(in)f(the)h(curren)m(t)g(shell) -630 4275 y(con)m(text.)45 b(If)31 b Fr(\014lename)37 +630 4134 y(con)m(text.)45 b(If)31 b Fr(\014lename)37 b Fu(do)s(es)31 b(not)g(con)m(tain)i(a)e(slash,)h(the)g Ft(PATH)e Fu(v)-5 b(ariable)32 b(is)f(used)f(to)i(\014nd)630 -4384 y Fr(\014lename)p Fu(.)52 b(When)34 b(Bash)g(is)h(not)f(in)g +4244 y Fr(\014lename)p Fu(.)52 b(When)34 b(Bash)g(is)h(not)f(in)g Fm(posix)f Fu(mo)s(de,)i(the)g(curren)m(t)f(directory)g(is)g(searc)m -(hed)630 4494 y(if)d Fr(\014lename)36 b Fu(is)31 b(not)h(found)d(in)i +(hed)630 4354 y(if)d Fr(\014lename)36 b Fu(is)31 b(not)h(found)d(in)i Ft($PATH)p Fu(.)41 b(If)31 b(an)m(y)g Fr(argumen)m(ts)k -Fu(are)c(supplied,)f(they)i(b)s(ecome)630 4604 y(the)e(p)s(ositional)h +Fu(are)c(supplied,)f(they)i(b)s(ecome)630 4463 y(the)e(p)s(ositional)h (parameters)g(when)e Fr(\014lename)35 b Fu(is)30 b(executed.)42 -b(Otherwise)30 b(the)g(p)s(ositional)630 4713 y(parameters)43 -b(are)h(unc)m(hanged.)79 b(The)42 b(return)g(status)i(is)f(the)g(exit)h -(status)g(of)f(the)g(last)630 4823 y(command)37 b(executed,)k(or)c -(zero)h(if)g(no)f(commands)g(are)h(executed.)63 b(If)36 -b Fr(\014lename)43 b Fu(is)38 b(not)630 4932 y(found,)22 -b(or)f(cannot)g(b)s(e)f(read,)j(the)e(return)f(status)h(is)g(non-zero.) -38 b(This)20 b(builtin)h(is)f(equiv)-5 b(alen)m(t)630 -5042 y(to)31 b Ft(source)p Fu(.)150 5204 y Ft(break)870 -5340 y(break)46 b([)p Fj(n)p Ft(])p eop end -%%Page: 42 48 -TeXDict begin 42 47 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(42)630 299 y(Exit)45 -b(from)f(a)g Ft(for)p Fu(,)k Ft(while)p Fu(,)e Ft(until)p -Fu(,)h(or)d Ft(select)f Fu(lo)s(op.)83 b(If)44 b Fr(n)g -Fu(is)g(supplied,)j(the)e Fr(n)p Fu(th)630 408 y(enclosing)c(lo)s(op)f -(is)h(exited.)70 b Fr(n)40 b Fu(m)m(ust)g(b)s(e)f(greater)j(than)d(or)i -(equal)f(to)h(1.)70 b(The)40 b(return)630 518 y(status)31 -b(is)f(zero)h(unless)f Fr(n)g Fu(is)g(not)h(greater)g(than)g(or)f -(equal)h(to)g(1.)150 677 y Ft(cd)870 812 y(cd)47 b([-L|[-P)f([-e]])g -([-@])h([)p Fj(directory)p Ft(])630 946 y Fu(Change)27 -b(the)g(curren)m(t)f(w)m(orking)h(directory)g(to)h Fr(directory)p -Fu(.)40 b(If)26 b Fr(directory)35 b Fu(is)27 b(not)g(supplied,)630 -1056 y(the)f(v)-5 b(alue)26 b(of)f(the)h Ft(HOME)e Fu(shell)i(v)-5 +b(Otherwise)30 b(the)g(p)s(ositional)630 4573 y(parameters)40 +b(are)f(unc)m(hanged.)67 b(If)39 b(the)g Ft(-T)g Fu(option)g(is)h +(enabled,)h Ft(source)d Fu(inherits)h(an)m(y)630 4682 +y(trap)31 b(on)g Ft(DEBUG)p Fu(;)f(if)i(it)f(is)g(not,)h(an)m(y)g +Ft(DEBUG)e Fu(trap)h(string)g(is)g(sa)m(v)m(ed)h(and)f(restored)g +(around)630 4792 y(the)41 b(call)i(to)e Ft(source)p Fu(,)i(and)d +Ft(source)f Fu(unsets)i(the)g Ft(DEBUG)f Fu(trap)h(while)g(it)g +(executes.)74 b(If)630 4902 y Ft(-T)39 b Fu(is)g(not)h(set,)j(and)c +(the)g(sourced)h(\014le)f(c)m(hanges)i(the)e Ft(DEBUG)f +Fu(trap,)k(the)e(new)f(v)-5 b(alue)40 b(is)630 5011 y(retained)e(when)e +Ft(source)g Fu(completes.)63 b(The)37 b(return)f(status)h(is)h(the)f +(exit)i(status)e(of)h(the)630 5121 y(last)g(command)e(executed,)j(or)e +(zero)h(if)e(no)h(commands)f(are)h(executed.)61 b(If)36 +b Fr(\014lename)42 b Fu(is)630 5230 y(not)f(found,)h(or)e(cannot)h(b)s +(e)f(read,)j(the)e(return)e(status)i(is)g(non-zero.)71 +b(This)40 b(builtin)g(is)630 5340 y(equiv)-5 b(alen)m(t)32 +b(to)f Ft(source)p Fu(.)p eop end +%%Page: 43 49 +TeXDict begin 43 48 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(43)150 299 y Ft(break)870 +428 y(break)46 b([)p Fj(n)p Ft(])630 558 y Fu(Exit)f(from)f(a)g +Ft(for)p Fu(,)k Ft(while)p Fu(,)e Ft(until)p Fu(,)h(or)d +Ft(select)f Fu(lo)s(op.)83 b(If)44 b Fr(n)g Fu(is)g(supplied,)j(the)e +Fr(n)p Fu(th)630 667 y(enclosing)c(lo)s(op)f(is)h(exited.)70 +b Fr(n)40 b Fu(m)m(ust)g(b)s(e)f(greater)j(than)d(or)i(equal)f(to)h(1.) +70 b(The)40 b(return)630 777 y(status)31 b(is)f(zero)h(unless)f +Fr(n)g Fu(is)g(not)h(greater)g(than)g(or)f(equal)h(to)g(1.)150 +927 y Ft(cd)870 1056 y(cd)47 b([-L|[-P)f([-e]])g([-@])h([)p +Fj(directory)p Ft(])630 1186 y Fu(Change)27 b(the)g(curren)m(t)f(w)m +(orking)h(directory)g(to)h Fr(directory)p Fu(.)40 b(If)26 +b Fr(directory)35 b Fu(is)27 b(not)g(supplied,)630 1295 +y(the)f(v)-5 b(alue)26 b(of)f(the)h Ft(HOME)e Fu(shell)i(v)-5 b(ariable)26 b(is)g(used.)38 b(An)m(y)25 b(additional)i(argumen)m(ts)e -(follo)m(wing)630 1166 y Fr(directory)39 b Fu(are)31 +(follo)m(wing)630 1405 y Fr(directory)39 b Fu(are)31 b(ignored.)41 b(If)30 b(the)h(shell)g(v)-5 b(ariable)31 b Ft(CDPATH)e Fu(exists,)i(it)g(is)g(used)f(as)g(a)h(searc)m(h)630 -1275 y(path:)39 b(eac)m(h)29 b(directory)g(name)f(in)f +1514 y(path:)39 b(eac)m(h)29 b(directory)g(name)f(in)f Ft(CDPATH)g Fu(is)h(searc)m(hed)g(for)g Fr(directory)p -Fu(,)h(with)f(alternativ)m(e)630 1385 y(directory)j(names)g(in)f +Fu(,)h(with)f(alternativ)m(e)630 1624 y(directory)j(names)g(in)f Ft(CDPATH)f Fu(separated)j(b)m(y)e(a)h(colon)h(\(`)p Ft(:)p Fu('\).)43 b(If)30 b Fr(directory)39 b Fu(b)s(egins)30 -b(with)630 1494 y(a)h(slash,)f Ft(CDPATH)f Fu(is)h(not)h(used.)630 -1629 y(The)g Ft(-P)h Fu(option)g(means)g(to)h(not)f(follo)m(w)h(sym)m +b(with)630 1733 y(a)h(slash,)f Ft(CDPATH)f Fu(is)h(not)h(used.)630 +1863 y(The)g Ft(-P)h Fu(option)g(means)g(to)h(not)f(follo)m(w)h(sym)m (b)s(olic)g(links:)44 b(sym)m(b)s(olic)32 b(links)g(are)g(resolv)m(ed) -630 1738 y(while)41 b Ft(cd)f Fu(is)h(tra)m(v)m(ersing)h +630 1973 y(while)41 b Ft(cd)f Fu(is)h(tra)m(v)m(ersing)h Fr(directory)49 b Fu(and)40 b(b)s(efore)g(pro)s(cessing)h(an)f -(instance)i(of)f(`)p Ft(..)p Fu(')f(in)630 1848 y Fr(directory)p -Fu(.)630 1983 y(By)34 b(default,)h(or)e(when)g(the)g +(instance)i(of)f(`)p Ft(..)p Fu(')f(in)630 2082 y Fr(directory)p +Fu(.)630 2212 y(By)34 b(default,)h(or)e(when)g(the)g Ft(-L)g Fu(option)h(is)g(supplied,)f(sym)m(b)s(olic)h(links)f(in)h -Fr(directory)42 b Fu(are)630 2092 y(resolv)m(ed)31 b(after)g +Fr(directory)42 b Fu(are)630 2321 y(resolv)m(ed)31 b(after)g Ft(cd)f Fu(pro)s(cesses)g(an)g(instance)h(of)g(`)p Ft(..)p -Fu(')f(in)g Fr(directory)p Fu(.)630 2227 y(If)35 b(`)p +Fu(')f(in)g Fr(directory)p Fu(.)630 2451 y(If)35 b(`)p Ft(..)p Fu(')f(app)s(ears)h(in)f Fr(directory)p Fu(,)j(it)f(is)f(pro)s (cessed)f(b)m(y)h(remo)m(ving)h(the)f(immediately)h(pre-)630 -2336 y(ceding)31 b(pathname)f(comp)s(onen)m(t,)h(bac)m(k)g(to)g(a)g +2560 y(ceding)31 b(pathname)f(comp)s(onen)m(t,)h(bac)m(k)g(to)g(a)g (slash)f(or)h(the)f(b)s(eginning)g(of)g Fr(directory)p -Fu(.)630 2471 y(If)i(the)i Ft(-e)e Fu(option)h(is)g(supplied)f(with)g +Fu(.)630 2690 y(If)i(the)i Ft(-e)e Fu(option)h(is)g(supplied)f(with)g Ft(-P)h Fu(and)f(the)h(curren)m(t)g(w)m(orking)g(directory)g(cannot)630 -2580 y(b)s(e)k(successfully)g(determined)g(after)i(a)e(successful)h +2800 y(b)s(e)k(successfully)g(determined)g(after)i(a)e(successful)h (directory)g(c)m(hange,)i Ft(cd)d Fu(will)h(return)630 -2690 y(an)30 b(unsuccessful)f(status.)630 2824 y(On)41 +2909 y(an)30 b(unsuccessful)f(status.)630 3039 y(On)41 b(systems)h(that)h(supp)s(ort)d(it,)46 b(the)c Ft(-@)g Fu(option)g(presen)m(ts)g(the)g(extended)g(attributes)630 -2934 y(asso)s(ciated)32 b(with)e(a)h(\014le)f(as)h(a)f(directory)-8 -b(.)630 3068 y(If)41 b Fr(directory)49 b Fu(is)41 b(`)p +3148 y(asso)s(ciated)32 b(with)e(a)h(\014le)f(as)h(a)f(directory)-8 +b(.)630 3278 y(If)41 b Fr(directory)49 b Fu(is)41 b(`)p Ft(-)p Fu(',)j(it)e(is)f(con)m(v)m(erted)h(to)g Ft($OLDPWD)d -Fu(b)s(efore)i(the)g(directory)h(c)m(hange)g(is)630 3178 -y(attempted.)630 3313 y(If)33 b(a)h(non-empt)m(y)g(directory)g(name)f +Fu(b)s(efore)i(the)g(directory)h(c)m(hange)g(is)630 3387 +y(attempted.)630 3517 y(If)33 b(a)h(non-empt)m(y)g(directory)g(name)f (from)g Ft(CDPATH)f Fu(is)h(used,)h(or)g(if)f(`)p Ft(-)p -Fu(')h(is)f(the)h(\014rst)f(argu-)630 3422 y(men)m(t,)28 +Fu(')h(is)f(the)h(\014rst)f(argu-)630 3626 y(men)m(t,)28 b(and)e(the)h(directory)g(c)m(hange)h(is)f(successful,)h(the)f -(absolute)g(pathname)g(of)f(the)h(new)630 3532 y(w)m(orking)k +(absolute)g(pathname)g(of)f(the)h(new)630 3736 y(w)m(orking)k (directory)g(is)f(written)g(to)i(the)e(standard)g(output.)630 -3666 y(The)f(return)g(status)h(is)f(zero)i(if)e(the)h(directory)g(is)g -(successfully)g(c)m(hanged,)g(non-zero)g(oth-)630 3776 -y(erwise.)150 3935 y Ft(continue)870 4070 y(continue)46 -b([)p Fj(n)p Ft(])630 4204 y Fu(Resume)32 b(the)g(next)g(iteration)i +3866 y(The)f(return)g(status)h(is)f(zero)i(if)e(the)h(directory)g(is)g +(successfully)g(c)m(hanged,)g(non-zero)g(oth-)630 3975 +y(erwise.)150 4125 y Ft(continue)870 4254 y(continue)46 +b([)p Fj(n)p Ft(])630 4384 y Fu(Resume)32 b(the)g(next)g(iteration)i (of)e(an)g(enclosing)h Ft(for)p Fu(,)f Ft(while)p Fu(,)f -Ft(until)p Fu(,)g(or)h Ft(select)f Fu(lo)s(op.)630 4314 +Ft(until)p Fu(,)g(or)h Ft(select)f Fu(lo)s(op.)630 4493 y(If)f Fr(n)h Fu(is)g(supplied,)e(the)j(execution)g(of)f(the)g Fr(n)p Fu(th)f(enclosing)i(lo)s(op)f(is)f(resumed.)42 -b Fr(n)30 b Fu(m)m(ust)h(b)s(e)630 4423 y(greater)39 +b Fr(n)30 b Fu(m)m(ust)h(b)s(e)630 4603 y(greater)39 b(than)f(or)g(equal)g(to)h(1.)63 b(The)38 b(return)e(status)j(is)e -(zero)i(unless)e Fr(n)h Fu(is)g(not)g(greater)630 4533 -y(than)30 b(or)g(equal)h(to)g(1.)150 4692 y Ft(eval)870 -4827 y(eval)47 b([)p Fj(arguments)p Ft(])630 4961 y Fu(The)25 +(zero)i(unless)e Fr(n)h Fu(is)g(not)g(greater)630 4712 +y(than)30 b(or)g(equal)h(to)g(1.)150 4862 y Ft(eval)870 +4991 y(eval)47 b([)p Fj(arguments)p Ft(])630 5121 y Fu(The)25 b(argumen)m(ts)h(are)g(concatenated)i(together)f(in)m(to)f(a)g(single)h -(command,)f(whic)m(h)g(is)f(then)630 5071 y(read)35 b(and)g(executed,)j +(command,)f(whic)m(h)g(is)f(then)630 5230 y(read)35 b(and)g(executed,)j (and)d(its)h(exit)g(status)g(returned)e(as)h(the)h(exit)g(status)g(of)g -Ft(eval)p Fu(.)54 b(If)630 5181 y(there)31 b(are)f(no)h(argumen)m(ts)f +Ft(eval)p Fu(.)54 b(If)630 5340 y(there)31 b(are)f(no)h(argumen)m(ts)f (or)h(only)f(empt)m(y)h(argumen)m(ts,)g(the)f(return)g(status)g(is)h -(zero.)150 5340 y Ft(exec)p eop end -%%Page: 43 49 -TeXDict begin 43 48 bop 150 -116 a Fu(Chapter)30 b(4:)h(Shell)f -(Builtin)h(Commands)2079 b(43)870 299 y Ft(exec)47 b([-cl])f([-a)h -Fj(name)p Ft(])f([)p Fj(command)g Ft([)p Fj(arguments)p -Ft(]])630 440 y Fu(If)36 b Fr(command)k Fu(is)c(supplied,)h(it)g -(replaces)h(the)e(shell)h(without)f(creating)i(a)f(new)f(pro)s(cess.) -630 549 y(If)k(the)h Ft(-l)e Fu(option)i(is)g(supplied,)h(the)e(shell)h -(places)g(a)g(dash)f(at)h(the)f(b)s(eginning)g(of)h(the)630 -659 y(zeroth)36 b(argumen)m(t)h(passed)e(to)h Fr(command)p -Fu(.)57 b(This)35 b(is)h(what)f(the)h Ft(login)e Fu(program)i(do)s(es.) -630 769 y(The)i Ft(-c)g Fu(option)g(causes)h Fr(command)j -Fu(to)d(b)s(e)f(executed)h(with)f(an)g(empt)m(y)h(en)m(vironmen)m(t.) -630 878 y(If)c Ft(-a)g Fu(is)h(supplied,)f(the)h(shell)g(passes)f -Fr(name)41 b Fu(as)36 b(the)f(zeroth)i(argumen)m(t)f(to)g -Fr(command)p Fu(.)630 988 y(If)c Fr(command)j Fu(cannot)e(b)s(e)f +(zero.)p eop end +%%Page: 44 50 +TeXDict begin 44 49 bop 150 -116 a Fu(Chapter)30 b(4:)h(Shell)f +(Builtin)h(Commands)2079 b(44)150 299 y Ft(exec)870 430 +y(exec)47 b([-cl])f([-a)h Fj(name)p Ft(])f([)p Fj(command)g +Ft([)p Fj(arguments)p Ft(]])630 562 y Fu(If)36 b Fr(command)k +Fu(is)c(supplied,)h(it)g(replaces)h(the)e(shell)h(without)f(creating)i +(a)f(new)f(pro)s(cess.)630 671 y(If)k(the)h Ft(-l)e Fu(option)i(is)g +(supplied,)h(the)e(shell)h(places)g(a)g(dash)f(at)h(the)f(b)s(eginning) +g(of)h(the)630 781 y(zeroth)36 b(argumen)m(t)h(passed)e(to)h +Fr(command)p Fu(.)57 b(This)35 b(is)h(what)f(the)h Ft(login)e +Fu(program)i(do)s(es.)630 891 y(The)i Ft(-c)g Fu(option)g(causes)h +Fr(command)j Fu(to)d(b)s(e)f(executed)h(with)f(an)g(empt)m(y)h(en)m +(vironmen)m(t.)630 1000 y(If)c Ft(-a)g Fu(is)h(supplied,)f(the)h(shell) +g(passes)f Fr(name)41 b Fu(as)36 b(the)f(zeroth)i(argumen)m(t)f(to)g +Fr(command)p Fu(.)630 1110 y(If)c Fr(command)j Fu(cannot)e(b)s(e)f (executed)h(for)f(some)g(reason,)h(a)g(non-in)m(teractiv)m(e)i(shell)d -(exits,)630 1097 y(unless)27 b(the)g Ft(execfail)e Fu(shell)i(option)h +(exits,)630 1219 y(unless)27 b(the)g Ft(execfail)e Fu(shell)i(option)h (is)f(enabled.)40 b(In)27 b(that)g(case,)j(it)d(returns)f(failure.)40 -b(An)630 1207 y(in)m(teractiv)m(e)d(shell)c(returns)g(failure)h(if)f +b(An)630 1329 y(in)m(teractiv)m(e)d(shell)c(returns)g(failure)h(if)f (the)h(\014le)g(cannot)g(b)s(e)f(executed.)52 b(If)33 -b(no)h Fr(command)630 1316 y Fu(is)27 b(sp)s(eci\014ed,)g(redirections) +b(no)h Fr(command)630 1439 y Fu(is)27 b(sp)s(eci\014ed,)g(redirections) h(ma)m(y)f(b)s(e)g(used)f(to)i(a\013ect)g(the)f(curren)m(t)g(shell)g -(en)m(vironmen)m(t.)40 b(If)630 1426 y(there)34 b(are)h(no)f +(en)m(vironmen)m(t.)40 b(If)630 1548 y(there)34 b(are)h(no)f (redirection)h(errors,)g(the)f(return)f(status)i(is)f(zero;)j -(otherwise)e(the)f(return)630 1536 y(status)d(is)f(non-zero.)150 -1708 y Ft(exit)870 1849 y(exit)47 b([)p Fj(n)p Ft(])630 -1990 y Fu(Exit)30 b(the)g(shell,)h(returning)d(a)j(status)f(of)g +(otherwise)e(the)f(return)630 1658 y(status)d(is)f(non-zero.)150 +1811 y Ft(exit)870 1943 y(exit)47 b([)p Fj(n)p Ft(])630 +2074 y Fu(Exit)30 b(the)g(shell,)h(returning)d(a)j(status)f(of)g Fr(n)f Fu(to)h(the)g(shell's)g(paren)m(t.)41 b(If)30 -b Fr(n)f Fu(is)h(omitted,)h(the)630 2099 y(exit)c(status)g(is)g(that)g +b Fr(n)f Fu(is)h(omitted,)h(the)630 2184 y(exit)c(status)g(is)g(that)g (of)g(the)g(last)g(command)f(executed.)41 b(An)m(y)26 -b(trap)h(on)f Ft(EXIT)f Fu(is)i(executed)630 2209 y(b)s(efore)j(the)h -(shell)f(terminates.)150 2381 y Ft(export)870 2522 y(export)46 +b(trap)h(on)f Ft(EXIT)f Fu(is)i(executed)630 2293 y(b)s(efore)j(the)h +(shell)f(terminates.)150 2447 y Ft(export)870 2578 y(export)46 b([-fn])g([-p])h([)p Fj(name)p Ft([=)p Fj(value)p Ft(]])630 -2663 y Fu(Mark)40 b(eac)m(h)h Fr(name)k Fu(to)40 b(b)s(e)f(passed)g(to) +2710 y Fu(Mark)40 b(eac)m(h)h Fr(name)k Fu(to)40 b(b)s(e)f(passed)g(to) i(c)m(hild)f(pro)s(cesses)f(in)g(the)h(en)m(vironmen)m(t.)70 -b(If)39 b(the)630 2772 y Ft(-f)33 b Fu(option)h(is)g(supplied,)f(the)h +b(If)39 b(the)630 2819 y Ft(-f)33 b Fu(option)h(is)g(supplied,)f(the)h Fr(name)5 b Fu(s)33 b(refer)g(to)i(shell)e(functions;)i(otherwise)f -(the)g(names)630 2882 y(refer)c(to)h(shell)g(v)-5 b(ariables.)41 +(the)g(names)630 2929 y(refer)c(to)h(shell)g(v)-5 b(ariables.)41 b(The)30 b Ft(-n)f Fu(option)i(means)f(to)h(no)f(longer)h(mark)f(eac)m -(h)i Fr(name)j Fu(for)630 2992 y(exp)s(ort.)52 b(If)33 +(h)i Fr(name)j Fu(for)630 3039 y(exp)s(ort.)52 b(If)33 b(no)h Fr(names)k Fu(are)c(supplied,)g(or)g(if)g(the)g Ft(-p)g Fu(option)g(is)g(giv)m(en,)j(a)d(list)h(of)f(names)630 -3101 y(of)d(all)h(exp)s(orted)e(v)-5 b(ariables)31 b(is)g(displa)m(y)m +3148 y(of)d(all)h(exp)s(orted)e(v)-5 b(ariables)31 b(is)g(displa)m(y)m (ed.)43 b(The)30 b Ft(-p)g Fu(option)i(displa)m(ys)e(output)h(in)f(a)h -(form)630 3211 y(that)25 b(ma)m(y)g(b)s(e)f(reused)g(as)h(input.)38 +(form)630 3258 y(that)25 b(ma)m(y)g(b)s(e)f(reused)g(as)h(input.)38 b(If)24 b(a)h(v)-5 b(ariable)25 b(name)g(is)g(follo)m(w)m(ed)h(b)m(y)e (=)p Fr(v)-5 b(alue)p Fu(,)27 b(the)d(v)-5 b(alue)630 -3320 y(of)31 b(the)f(v)-5 b(ariable)31 b(is)g(set)g(to)g -Fr(v)-5 b(alue)p Fu(.)630 3461 y(The)29 b(return)e(status)j(is)f(zero)h +3367 y(of)31 b(the)f(v)-5 b(ariable)31 b(is)g(set)g(to)g +Fr(v)-5 b(alue)p Fu(.)630 3499 y(The)29 b(return)e(status)j(is)f(zero)h (unless)e(an)h(in)m(v)-5 b(alid)29 b(option)h(is)f(supplied,)f(one)i -(of)f(the)g(names)630 3571 y(is)k(not)g(a)h(v)-5 b(alid)33 +(of)f(the)g(names)630 3608 y(is)k(not)g(a)h(v)-5 b(alid)33 b(shell)h(v)-5 b(ariable)33 b(name,)i(or)e Ft(-f)f Fu(is)h(supplied)f -(with)h(a)g(name)g(that)h(is)f(not)h(a)630 3680 y(shell)d(function.)150 -3853 y Ft(getopts)870 3994 y(getopts)46 b Fj(optstring)f(name)i +(with)h(a)g(name)g(that)h(is)f(not)h(a)630 3718 y(shell)d(function.)150 +3871 y Ft(getopts)870 4003 y(getopts)46 b Fj(optstring)f(name)i Ft([)p Fj(args)p Ft(])630 4134 y(getopts)28 b Fu(is)i(used)g(b)m(y)g (shell)g(scripts)g(to)g(parse)g(p)s(ositional)h(parameters.)41 b Fr(optstring)d Fu(con-)630 4244 y(tains)k(the)g(option)f(c)m @@ -11170,9 +11338,9 @@ b(it)36 b(m)m(ust)f(b)s(e)g(man)m(ually)630 5230 y(reset)i(b)s(et)m(w)m (shell)f(in)m(v)m(o)s(cation)j(if)e(a)630 5340 y(new)30 b(set)h(of)f(parameters)h(is)f(to)i(b)s(e)d(used.)p eop end -%%Page: 44 50 -TeXDict begin 44 49 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(44)630 299 y(When)41 +%%Page: 45 51 +TeXDict begin 45 50 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(45)630 299 y(When)41 b(the)h(end)e(of)i(options)g(is)f(encoun)m(tered,)k Ft(getopts)39 b Fu(exits)j(with)f(a)h(return)e(v)-5 b(alue)630 408 y(greater)32 b(than)e(zero.)41 b Ft(OPTIND)29 b Fu(is)h(set)h(to)g(the) @@ -11253,9 +11421,9 @@ b(alues)34 b(of)f(these)g(names)g(ma)m(y)h(not)f(b)s(e)f(c)m(hanged)630 5340 y(b)m(y)38 b(subsequen)m(t)g(assignmen)m(t.)65 b(If)38 b(the)h Ft(-f)f Fu(option)g(is)h(supplied,)g(eac)m(h)h Fr(name)j Fu(refers)38 b(to)p eop end -%%Page: 45 51 -TeXDict begin 45 50 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(45)630 299 y(a)37 +%%Page: 46 52 +TeXDict begin 46 51 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(46)630 299 y(a)37 b(shell)g(function.)59 b(The)36 b Ft(-a)g Fu(option)h(means)f(eac)m(h)i Fr(name)k Fu(refers)36 b(to)h(an)f(indexed)g(arra)m(y)630 408 y(v)-5 b(ariable;)28 b(the)f Ft(-A)e Fu(option)h(means)g(eac)m(h)h @@ -11278,1693 +11446,1763 @@ y(is)c(supplied,)f(one)h(of)g(the)g Fr(name)35 b Fu(argumen)m(ts)30 b(is)g(not)g(a)g(v)-5 b(alid)31 b(shell)f(v)-5 b(ariable)30 b(or)g(function)630 1285 y(name,)h(or)f(the)h Ft(-f)e Fu(option)i(is)g(supplied)e(with)h(a)h(name)f(that)h(is)f(not)h(a)g -(shell)f(function.)150 1450 y Ft(return)870 1587 y(return)46 -b([)p Fj(n)p Ft(])630 1724 y Fu(Cause)37 b(a)g(shell)h(function)f(to)g +(shell)f(function.)150 1462 y Ft(return)870 1606 y(return)46 +b([)p Fj(n)p Ft(])630 1749 y Fu(Cause)37 b(a)g(shell)h(function)f(to)g (stop)h(executing)g(and)e(return)h(the)g(v)-5 b(alue)37 -b Fr(n)g Fu(to)h(its)f(caller.)630 1833 y(If)h Fr(n)h +b Fr(n)g Fu(to)h(its)f(caller.)630 1858 y(If)h Fr(n)h Fu(is)g(not)g(supplied,)h(the)f(return)e(v)-5 b(alue)40 b(is)f(the)g(exit)g(status)g(of)g(the)g(last)h(command)630 -1943 y(executed)35 b(in)f(the)h(function.)53 b Ft(return)33 -b Fu(ma)m(y)i(also)g(b)s(e)f(used)f(to)j(terminate)f(execution)h(of)630 -2052 y(a)e(script)g(b)s(eing)g(executed)g(with)g(the)g +1968 y(executed)i(in)f(the)g(function.)72 b(If)41 b Ft(return)e +Fu(is)i(executed)h(b)m(y)f(a)h(trap)f(handler,)i(the)e(last)630 +2078 y(command)d(used)f(to)i(determine)f(the)g(status)g(is)h(the)f +(last)h(command)e(executed)i(b)s(efore)630 2187 y(the)28 +b(trap)f(handler.)39 b(if)28 b Ft(return)e Fu(is)h(executed)i(during)d +(a)i Ft(DEBUG)f Fu(trap,)h(the)g(last)g(command)630 2297 +y(used)f(to)h(determine)g(the)f(status)h(is)g(the)f(last)i(command)e +(executed)h(b)m(y)g(the)f(trap)h(handler)630 2406 y(b)s(efore)e +Ft(return)f Fu(w)m(as)i(in)m(v)m(ok)m(ed.)41 b Ft(return)25 +b Fu(ma)m(y)i(also)g(b)s(e)f(used)g(to)h(terminate)h(execution)g(of)630 +2516 y(a)34 b(script)g(b)s(eing)g(executed)g(with)g(the)g Ft(.)g Fu(\()p Ft(source)p Fu(\))f(builtin,)h(returning)f(either)i -Fr(n)e Fu(or)h(the)630 2162 y(exit)j(status)f(of)g(the)g(last)h +Fr(n)e Fu(or)h(the)630 2626 y(exit)j(status)f(of)g(the)g(last)h (command)e(executed)i(within)e(the)h(script)g(as)g(the)g(exit)h(status) -630 2271 y(of)i(the)g(script.)65 b(If)38 b Fr(n)g Fu(is)h(supplied,)h +630 2735 y(of)i(the)g(script.)65 b(If)38 b Fr(n)g Fu(is)h(supplied,)h (the)f(return)e(v)-5 b(alue)39 b(is)g(its)g(least)h(signi\014can)m(t)g -(8)f(bits.)630 2381 y(An)m(y)g(command)f(asso)s(ciated)j(with)d(the)h +(8)f(bits.)630 2845 y(An)m(y)g(command)f(asso)s(ciated)j(with)d(the)h Ft(RETURN)e Fu(trap)i(is)g(executed)g(b)s(efore)g(execution)630 -2491 y(resumes)29 b(after)h(the)g(function)g(or)g(script.)40 +2954 y(resumes)29 b(after)h(the)g(function)g(or)g(script.)40 b(The)29 b(return)g(status)h(is)g(non-zero)g(if)g Ft(return)e -Fu(is)630 2600 y(supplied)h(a)i(non-n)m(umeric)g(argumen)m(t)g(or)f(is) +Fu(is)630 3064 y(supplied)h(a)i(non-n)m(umeric)g(argumen)m(t)g(or)f(is) h(used)f(outside)h(a)g(function)f(and)g(not)h(during)630 -2710 y(the)g(execution)g(of)g(a)f(script)h(b)m(y)f Ft(.)g -Fu(or)g Ft(source)p Fu(.)150 2874 y Ft(shift)870 3011 -y(shift)46 b([)p Fj(n)p Ft(])630 3148 y Fu(Shift)41 b(the)g(p)s +3173 y(the)g(execution)g(of)g(a)f(script)h(b)m(y)f Ft(.)g +Fu(or)g Ft(source)p Fu(.)150 3351 y Ft(shift)870 3494 +y(shift)46 b([)p Fj(n)p Ft(])630 3637 y Fu(Shift)41 b(the)g(p)s (ositional)h(parameters)g(to)g(the)f(left)h(b)m(y)g Fr(n)p -Fu(.)73 b(The)40 b(p)s(ositional)j(parameters)630 3258 +Fu(.)73 b(The)40 b(p)s(ositional)j(parameters)630 3747 y(from)34 b Fr(n)p Ft(+)p Fu(1)39 b(.)22 b(.)h(.)45 b Ft($#)34 b Fu(are)g(renamed)g(to)h Ft($1)k Fu(.)22 b(.)g(.)46 b Ft($#)p Fu(-)p Fr(n)p Fu(.)51 b(P)m(arameters)36 b(represen)m(ted)e -(b)m(y)g(the)630 3367 y(n)m(um)m(b)s(ers)25 b Ft($#)i +(b)m(y)g(the)630 3856 y(n)m(um)m(b)s(ers)25 b Ft($#)i Fu(to)g Ft($#)p Fu(-)p Fr(n)p Ft(+)p Fu(1)g(are)g(unset.)39 b Fr(n)26 b Fu(m)m(ust)h(b)s(e)f(a)i(non-negativ)m(e)h(n)m(um)m(b)s(er) -c(less)i(than)g(or)630 3477 y(equal)33 b(to)h Ft($#)p +c(less)i(than)g(or)630 3966 y(equal)33 b(to)h Ft($#)p Fu(.)47 b(If)33 b Fr(n)f Fu(is)h(zero)g(or)g(greater)h(than)f Ft($#)p Fu(,)g(the)g(p)s(ositional)g(parameters)g(are)h(not)630 -3587 y(c)m(hanged.)48 b(If)32 b Fr(n)g Fu(is)h(not)f(supplied,)h(it)g +4075 y(c)m(hanged.)48 b(If)32 b Fr(n)g Fu(is)h(not)f(supplied,)h(it)g (is)f(assumed)g(to)h(b)s(e)f(1.)48 b(The)32 b(return)g(status)h(is)f -(zero)630 3696 y(unless)e Fr(n)f Fu(is)i(greater)g(than)g +(zero)630 4185 y(unless)e Fr(n)f Fu(is)i(greater)g(than)g Ft($#)e Fu(or)i(less)f(than)h(zero,)g(non-zero)g(otherwise.)150 -3861 y Ft(test)150 3970 y([)870 4107 y(test)47 b Fj(expr)630 -4244 y Fu(Ev)-5 b(aluate)40 b(a)f(conditional)h(express)f(ion)g -Fr(expr)45 b Fu(and)38 b(return)g(a)h(status)g(of)g(0)g(\(true\))h(or)f -(1)630 4354 y(\(false\).)j(Eac)m(h)31 b(op)s(erator)f(and)f(op)s(erand) +4362 y Ft(test)150 4472 y([)870 4615 y(test)47 b Fj(expr)630 +4758 y Fu(Ev)-5 b(aluate)43 b(a)f(conditional)h(expression)f +Fr(expr)48 b Fu(and)41 b(return)g(a)h(status)g(of)g(0)g(\(true\))h(or)f +(1)630 4868 y(\(false\).)g(Eac)m(h)31 b(op)s(erator)f(and)f(op)s(erand) g(m)m(ust)h(b)s(e)f(a)i(separate)g(argumen)m(t.)41 b(Expressions)630 -4463 y(are)26 b(comp)s(osed)f(of)g(the)h(primaries)f(describ)s(ed)f(b)s +4977 y(are)26 b(comp)s(osed)f(of)g(the)h(primaries)f(describ)s(ed)f(b)s (elo)m(w)h(in)g(Section)h(6.4)h([Bash)e(Conditional)630 -4573 y(Expressions],)39 b(page)g(85.)64 b Ft(test)37 +5087 y(Expressions],)39 b(page)g(87.)64 b Ft(test)37 b Fu(do)s(es)g(not)h(accept)i(an)m(y)e(options,)i(nor)e(do)s(es)f(it)h -(accept)630 4682 y(and)30 b(ignore)h(an)f(argumen)m(t)h(of)f +(accept)630 5197 y(and)30 b(ignore)h(an)f(argumen)m(t)h(of)f Ft(--)g Fu(as)h(signifying)f(the)h(end)f(of)g(options.)630 -4819 y(When)g(the)h Ft([)f Fu(form)g(is)g(used,)g(the)g(last)i(argumen) +5340 y(When)g(the)h Ft([)f Fu(form)g(is)g(used,)g(the)g(last)i(argumen) m(t)e(to)i(the)e(command)g(m)m(ust)h(b)s(e)e(a)i Ft(])p -Fu(.)630 4956 y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m(bined)i(using)f -(the)h(follo)m(wing)h(op)s(erators,)g(listed)f(in)f(decreasing)630 -5066 y(order)30 b(of)h(precedence.)43 b(The)30 b(ev)-5 -b(aluation)33 b(dep)s(ends)28 b(on)j(the)g(n)m(um)m(b)s(er)f(of)h -(argumen)m(ts;)g(see)630 5176 y(b)s(elo)m(w.)41 b(Op)s(erator)30 -b(precedence)h(is)f(used)g(when)f(there)i(are)f(\014v)m(e)h(or)f(more)h -(argumen)m(ts.)630 5340 y Ft(!)f Fj(expr)210 b Fu(T)-8 -b(rue)30 b(if)g Fr(expr)37 b Fu(is)30 b(false.)p eop -end -%%Page: 46 52 -TeXDict begin 46 51 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(46)630 299 y Ft(\()30 -b Fj(expr)f Ft(\))133 b Fu(Returns)23 b(the)i(v)-5 b(alue)25 -b(of)f Fr(expr)p Fu(.)38 b(This)24 b(ma)m(y)h(b)s(e)e(used)h(to)h(o)m -(v)m(erride)g(the)g(normal)1110 408 y(precedence)31 b(of)f(op)s -(erators.)630 568 y Fj(expr1)f Ft(-a)h Fj(expr2)1110 -677 y Fu(T)-8 b(rue)30 b(if)g(b)s(oth)g Fr(expr1)37 b -Fu(and)30 b Fr(expr2)38 b Fu(are)30 b(true.)630 837 y -Fj(expr1)f Ft(-o)h Fj(expr2)1110 946 y Fu(T)-8 b(rue)30 -b(if)g(either)h Fr(expr1)38 b Fu(or)30 b Fr(expr2)37 -b Fu(is)31 b(true.)630 1106 y(The)37 b Ft(test)f Fu(and)g -Ft([)h Fu(builtins)g(ev)-5 b(aluate)39 b(conditional)f(expressions)f -(using)g(a)g(set)h(of)f(rules)630 1215 y(based)30 b(on)g(the)h(n)m(um)m -(b)s(er)e(of)h(argumen)m(ts.)630 1375 y(0)h(argumen)m(ts)1110 -1484 y(The)f(expression)g(is)g(false.)630 1644 y(1)h(argumen)m(t)1110 -1753 y(The)f(expression)g(is)g(true)h(if)f(and)g(only)g(if)h(the)f -(argumen)m(t)h(is)f(not)h(n)m(ull.)630 1913 y(2)g(argumen)m(ts)1110 -2022 y(If)f(the)h(\014rst)f(argumen)m(t)h(is)g(`)p Ft(!)p -Fu(',)g(the)g(expression)g(is)g(true)f(if)h(and)f(only)h(if)g(the)1110 -2132 y(second)j(argumen)m(t)f(is)h(n)m(ull.)50 b(If)33 -b(the)h(\014rst)e(argumen)m(t)i(is)g(one)g(of)f(the)h(unary)1110 -2242 y(conditional)42 b(op)s(erators)f(\(see)g(Section)h(6.4)f([Bash)g -(Conditional)g(Expres-)1110 2351 y(sions],)34 b(page)f(85\),)i(the)e -(expression)f(is)h(true)g(if)g(the)g(unary)e(test)j(is)f(true.)47 -b(If)1110 2461 y(the)33 b(\014rst)g(argumen)m(t)h(is)f(not)g(a)h(v)-5 -b(alid)34 b(unary)e(op)s(erator,)i(the)g(expression)f(is)1110 -2570 y(false.)630 2730 y(3)e(argumen)m(ts)1110 2839 y(The)44 -b(follo)m(wing)i(conditions)f(are)g(applied)f(in)g(the)g(order)g -(listed.)84 b(If)44 b(the)1110 2949 y(second)f(argumen)m(t)g(is)g(one)g -(of)g(the)g(binary)f(conditional)i(op)s(erators)f(\(see)1110 -3059 y(Section)h(6.4)g([Bash)g(Conditional)g(Expressions],)i(page)e -(85\),)k(the)43 b(result)1110 3168 y(of)h(the)h(expression)f(is)g(the)g +Fu(.)p eop end +%%Page: 47 53 +TeXDict begin 47 52 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(47)630 299 y(Expressions)23 +b(ma)m(y)h(b)s(e)e(com)m(bined)i(using)f(the)h(follo)m(wing)h(op)s +(erators,)g(listed)f(in)f(decreasing)630 408 y(order)30 +b(of)h(precedence.)43 b(The)30 b(ev)-5 b(aluation)33 +b(dep)s(ends)28 b(on)j(the)g(n)m(um)m(b)s(er)f(of)h(argumen)m(ts;)g +(see)630 518 y(b)s(elo)m(w.)41 b(Op)s(erator)30 b(precedence)h(is)f +(used)g(when)f(there)i(are)f(\014v)m(e)h(or)f(more)h(argumen)m(ts.)630 +667 y Ft(!)f Fj(expr)210 b Fu(T)-8 b(rue)30 b(if)g Fr(expr)37 +b Fu(is)30 b(false.)630 817 y Ft(\()g Fj(expr)f Ft(\))133 +b Fu(Returns)23 b(the)i(v)-5 b(alue)25 b(of)f Fr(expr)p +Fu(.)38 b(This)24 b(ma)m(y)h(b)s(e)e(used)h(to)h(o)m(v)m(erride)g(the)g +(normal)1110 927 y(precedence)31 b(of)f(op)s(erators.)630 +1076 y Fj(expr1)f Ft(-a)h Fj(expr2)1110 1186 y Fu(T)-8 +b(rue)30 b(if)g(b)s(oth)g Fr(expr1)37 b Fu(and)30 b Fr(expr2)38 +b Fu(are)30 b(true.)630 1335 y Fj(expr1)f Ft(-o)h Fj(expr2)1110 +1445 y Fu(T)-8 b(rue)30 b(if)g(either)h Fr(expr1)38 b +Fu(or)30 b Fr(expr2)37 b Fu(is)31 b(true.)630 1594 y(The)37 +b Ft(test)f Fu(and)g Ft([)h Fu(builtins)g(ev)-5 b(aluate)39 +b(conditional)f(expressions)f(using)g(a)g(set)h(of)f(rules)630 +1704 y(based)30 b(on)g(the)h(n)m(um)m(b)s(er)e(of)h(argumen)m(ts.)630 +1853 y(0)h(argumen)m(ts)1110 1963 y(The)f(expression)g(is)g(false.)630 +2112 y(1)h(argumen)m(t)1110 2222 y(The)f(expression)g(is)g(true)h(if)f +(and)g(only)g(if)h(the)f(argumen)m(t)h(is)f(not)h(n)m(ull.)630 +2371 y(2)g(argumen)m(ts)1110 2481 y(If)f(the)h(\014rst)f(argumen)m(t)h +(is)g(`)p Ft(!)p Fu(',)g(the)g(expression)g(is)g(true)f(if)h(and)f +(only)h(if)g(the)1110 2590 y(second)j(argumen)m(t)f(is)h(n)m(ull.)50 +b(If)33 b(the)h(\014rst)e(argumen)m(t)i(is)g(one)g(of)f(the)h(unary) +1110 2700 y(conditional)42 b(op)s(erators)f(\(see)g(Section)h(6.4)f +([Bash)g(Conditional)g(Expres-)1110 2809 y(sions],)34 +b(page)f(87\),)i(the)e(expression)f(is)h(true)g(if)g(the)g(unary)e +(test)j(is)f(true.)47 b(If)1110 2919 y(the)33 b(\014rst)g(argumen)m(t)h +(is)f(not)g(a)h(v)-5 b(alid)34 b(unary)e(op)s(erator,)i(the)g +(expression)f(is)1110 3029 y(false.)630 3178 y(3)e(argumen)m(ts)1110 +3288 y(The)44 b(follo)m(wing)i(conditions)f(are)g(applied)f(in)g(the)g +(order)g(listed.)84 b(If)44 b(the)1110 3397 y(second)f(argumen)m(t)g +(is)g(one)g(of)g(the)g(binary)f(conditional)i(op)s(erators)f(\(see)1110 +3507 y(Section)h(6.4)g([Bash)g(Conditional)g(Expressions],)i(page)e +(87\),)k(the)43 b(result)1110 3616 y(of)h(the)h(expression)f(is)g(the)g (result)g(of)h(the)f(binary)g(test)h(using)e(the)i(\014rst)1110 -3278 y(and)31 b(third)g(argumen)m(ts)i(as)f(op)s(erands.)44 +3726 y(and)31 b(third)g(argumen)m(ts)i(as)f(op)s(erands.)44 b(The)31 b(`)p Ft(-a)p Fu(')h(and)g(`)p Ft(-o)p Fu(')f(op)s(erators)i -(are)1110 3387 y(considered)25 b(binary)g(op)s(erators)g(when)f(there)i -(are)f(three)h(argumen)m(ts.)39 b(If)25 b(the)1110 3497 +(are)1110 3836 y(considered)25 b(binary)g(op)s(erators)g(when)f(there)i +(are)f(three)h(argumen)m(ts.)39 b(If)25 b(the)1110 3945 y(\014rst)j(argumen)m(t)h(is)g(`)p Ft(!)p Fu(',)h(the)f(v)-5 b(alue)29 b(is)g(the)g(negation)i(of)e(the)g(t)m(w)m(o-argumen)m(t)1110 -3606 y(test)38 b(using)f(the)g(second)g(and)g(third)f(argumen)m(ts.)61 -b(If)37 b(the)g(\014rst)f(argumen)m(t)1110 3716 y(is)j(exactly)i(`)p +4055 y(test)38 b(using)f(the)g(second)g(and)g(third)f(argumen)m(ts.)61 +b(If)37 b(the)g(\014rst)f(argumen)m(t)1110 4164 y(is)j(exactly)i(`)p Ft(\()p Fu(')f(and)f(the)g(third)g(argumen)m(t)h(is)f(exactly)i(`)p -Ft(\))p Fu(',)h(the)e(result)f(is)1110 3826 y(the)46 +Ft(\))p Fu(',)h(the)e(result)f(is)1110 4274 y(the)46 b(one-argumen)m(t)g(test)h(of)f(the)f(second)h(argumen)m(t.)86 -b(Otherwise,)50 b(the)1110 3935 y(expression)30 b(is)h(false.)630 -4095 y(4)g(argumen)m(ts)1110 4204 y(If)h(the)i(\014rst)e(argumen)m(t)h +b(Otherwise,)50 b(the)1110 4384 y(expression)30 b(is)h(false.)630 +4533 y(4)g(argumen)m(ts)1110 4643 y(If)h(the)i(\014rst)e(argumen)m(t)h (is)g(`)p Ft(!)p Fu(',)h(the)f(result)g(is)g(the)g(negation)h(of)f(the) -g(three-)1110 4314 y(argumen)m(t)h(expression)f(comp)s(osed)h(of)f(the) -h(remaining)g(argumen)m(ts.)50 b(Oth-)1110 4423 y(erwise,)34 +g(three-)1110 4752 y(argumen)m(t)h(expression)f(comp)s(osed)h(of)f(the) +h(remaining)g(argumen)m(ts.)50 b(Oth-)1110 4862 y(erwise,)34 b(the)f(expression)g(is)g(parsed)g(and)f(ev)-5 b(aluated)34 -b(according)h(to)e(prece-)1110 4533 y(dence)e(using)e(the)i(rules)f -(listed)h(ab)s(o)m(v)m(e.)630 4692 y(5)g(or)f(more)h(argumen)m(ts)1110 -4802 y(The)43 b(expression)f(is)i(parsed)e(and)g(ev)-5 -b(aluated)45 b(according)f(to)f(precedence)1110 4912 -y(using)30 b(the)g(rules)g(listed)h(ab)s(o)m(v)m(e.)630 -5071 y(When)40 b(used)f(with)g Ft(test)g Fu(or)h(`)p -Ft([)p Fu(',)j(the)d(`)p Ft(<)p Fu(')g(and)f(`)p Ft(>)p -Fu(')h(op)s(erators)g(sort)g(lexicographically)630 5181 -y(using)30 b(ASCI)s(I)f(ordering.)150 5340 y Ft(times)p +b(according)h(to)e(prece-)1110 4971 y(dence)e(using)e(the)i(rules)f +(listed)h(ab)s(o)m(v)m(e.)630 5121 y(5)g(or)f(more)h(argumen)m(ts)1110 +5230 y(The)43 b(expression)f(is)i(parsed)e(and)g(ev)-5 +b(aluated)45 b(according)f(to)f(precedence)1110 5340 +y(using)30 b(the)g(rules)g(listed)h(ab)s(o)m(v)m(e.)p eop end -%%Page: 47 53 -TeXDict begin 47 52 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(47)870 299 y Ft(times)630 -434 y Fu(Prin)m(t)37 b(out)h(the)g(user)e(and)h(system)g(times)h(used)f -(b)m(y)g(the)h(shell)f(and)g(its)h(c)m(hildren.)61 b(The)630 -543 y(return)29 b(status)i(is)f(zero.)150 704 y Ft(trap)870 -838 y(trap)47 b([-lp])f([)p Fj(arg)p Ft(])g([)p Fj(sigspec)g -Ft(...)o(])630 973 y Fu(The)d(commands)f(in)h Fr(arg)51 -b Fu(are)44 b(to)g(b)s(e)e(read)h(and)g(executed)h(when)e(the)h(shell)g -(receiv)m(es)630 1083 y(signal)36 b Fr(sigsp)s(ec)p Fu(.)57 -b(If)35 b Fr(arg)44 b Fu(is)36 b(absen)m(t)g(\(and)f(there)h(is)g(a)f -(single)i Fr(sigsp)s(ec)6 b Fu(\))35 b(or)h(equal)g(to)h(`)p -Ft(-)p Fu(',)630 1192 y(eac)m(h)k(sp)s(eci\014ed)e(signal's)h(disp)s -(osition)g(is)f(reset)i(to)f(the)g(v)-5 b(alue)40 b(it)g(had)f(when)g -(the)h(shell)630 1302 y(w)m(as)33 b(started.)47 b(If)32 -b Fr(arg)41 b Fu(is)32 b(the)h(n)m(ull)f(string,)i(then)e(the)g(signal) -i(sp)s(eci\014ed)d(b)m(y)i(eac)m(h)g Fr(sigsp)s(ec)630 -1412 y Fu(is)g(ignored)h(b)m(y)f(the)g(shell)h(and)e(commands)h(it)h -(in)m(v)m(ok)m(es.)51 b(If)33 b Fr(arg)41 b Fu(is)33 -b(not)h(presen)m(t)f(and)g Ft(-p)630 1521 y Fu(has)g(b)s(een)g -(supplied,)f(the)i(shell)f(displa)m(ys)h(the)f(trap)g(commands)g(asso)s -(ciated)i(with)e(eac)m(h)630 1631 y Fr(sigsp)s(ec)p Fu(.)47 -b(If)31 b(no)i(argumen)m(ts)f(are)h(supplied,)e(or)i(only)f -Ft(-p)g Fu(is)g(giv)m(en,)i Ft(trap)d Fu(prin)m(ts)h(the)g(list)630 -1740 y(of)c(commands)f(asso)s(ciated)i(with)f(eac)m(h)h(signal)f(n)m -(um)m(b)s(er)e(in)i(a)g(form)f(that)h(ma)m(y)h(b)s(e)e(reused)630 -1850 y(as)f(shell)h(input.)38 b(The)26 b Ft(-l)f Fu(option)i(causes)f -(the)g(shell)h(to)g(prin)m(t)e(a)i(list)f(of)h(signal)g(names)f(and)630 -1960 y(their)33 b(corresp)s(onding)f(n)m(um)m(b)s(ers.)47 -b(Eac)m(h)34 b Fr(sigsp)s(ec)39 b Fu(is)33 b(either)g(a)h(signal)g -(name)f(or)g(a)g(signal)630 2069 y(n)m(um)m(b)s(er.)39 -b(Signal)31 b(names)f(are)h(case)h(insensitiv)m(e)f(and)f(the)g -Ft(SIG)g Fu(pre\014x)f(is)i(optional.)630 2204 y(If)k(a)g -Fr(sigsp)s(ec)41 b Fu(is)35 b Ft(0)g Fu(or)g Ft(EXIT)p -Fu(,)g Fr(arg)43 b Fu(is)35 b(executed)h(when)e(the)h(shell)h(exits.)55 -b(If)35 b(a)g Fr(sigsp)s(ec)41 b Fu(is)630 2314 y Ft(DEBUG)p -Fu(,)32 b(the)g(command)g Fr(arg)40 b Fu(is)33 b(executed)g(b)s(efore)f -(ev)m(ery)h(simple)f(command,)h Ft(for)e Fu(com-)630 -2423 y(mand,)d Ft(case)g Fu(command,)h Ft(select)e Fu(command,)i(ev)m -(ery)h(arithmetic)g Ft(for)d Fu(command,)j(and)630 2533 -y(b)s(efore)22 b(the)g(\014rst)f(command)h(executes)i(in)e(a)g(shell)h -(function.)37 b(Refer)22 b(to)h(the)g(description)f(of)630 -2642 y(the)i Ft(extdebug)d Fu(option)j(to)h(the)f Ft(shopt)e -Fu(builtin)h(\(see)i(Section)f(4.3.2)i([The)d(Shopt)g(Builtin],)630 -2752 y(page)33 b(62\))g(for)f(details)h(of)f(its)h(e\013ect)g(on)f(the) -g Ft(DEBUG)f Fu(trap.)46 b(If)31 b(a)i Fr(sigsp)s(ec)38 -b Fu(is)32 b Ft(RETURN)p Fu(,)f(the)630 2862 y(command)h +%%Page: 48 54 +TeXDict begin 48 53 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(48)630 299 y(When)40 +b(used)f(with)g Ft(test)g Fu(or)h(`)p Ft([)p Fu(',)j(the)d(`)p +Ft(<)p Fu(')g(and)f(`)p Ft(>)p Fu(')h(op)s(erators)g(sort)g +(lexicographically)630 408 y(using)30 b(ASCI)s(I)f(ordering.)150 +559 y Ft(times)870 689 y(times)630 819 y Fu(Prin)m(t)37 +b(out)h(the)g(user)e(and)h(system)g(times)h(used)f(b)m(y)g(the)h(shell) +f(and)g(its)h(c)m(hildren.)61 b(The)630 929 y(return)29 +b(status)i(is)f(zero.)150 1080 y Ft(trap)870 1210 y(trap)47 +b([-lp])f([)p Fj(arg)p Ft(])g([)p Fj(sigspec)g Ft(...)o(])630 +1340 y Fu(The)d(commands)f(in)h Fr(arg)51 b Fu(are)44 +b(to)g(b)s(e)e(read)h(and)g(executed)h(when)e(the)h(shell)g(receiv)m +(es)630 1450 y(signal)36 b Fr(sigsp)s(ec)p Fu(.)57 b(If)35 +b Fr(arg)44 b Fu(is)36 b(absen)m(t)g(\(and)f(there)h(is)g(a)f(single)i +Fr(sigsp)s(ec)6 b Fu(\))35 b(or)h(equal)g(to)h(`)p Ft(-)p +Fu(',)630 1559 y(eac)m(h)k(sp)s(eci\014ed)e(signal's)h(disp)s(osition)g +(is)f(reset)i(to)f(the)g(v)-5 b(alue)40 b(it)g(had)f(when)g(the)h +(shell)630 1669 y(w)m(as)33 b(started.)47 b(If)32 b Fr(arg)41 +b Fu(is)32 b(the)h(n)m(ull)f(string,)i(then)e(the)g(signal)i(sp)s +(eci\014ed)d(b)m(y)i(eac)m(h)g Fr(sigsp)s(ec)630 1778 +y Fu(is)g(ignored)h(b)m(y)f(the)g(shell)h(and)e(commands)h(it)h(in)m(v) +m(ok)m(es.)51 b(If)33 b Fr(arg)41 b Fu(is)33 b(not)h(presen)m(t)f(and)g +Ft(-p)630 1888 y Fu(has)g(b)s(een)g(supplied,)f(the)i(shell)f(displa)m +(ys)h(the)f(trap)g(commands)g(asso)s(ciated)i(with)e(eac)m(h)630 +1998 y Fr(sigsp)s(ec)p Fu(.)47 b(If)31 b(no)i(argumen)m(ts)f(are)h +(supplied,)e(or)i(only)f Ft(-p)g Fu(is)g(giv)m(en,)i +Ft(trap)d Fu(prin)m(ts)h(the)g(list)630 2107 y(of)c(commands)f(asso)s +(ciated)i(with)f(eac)m(h)h(signal)f(n)m(um)m(b)s(er)e(in)i(a)g(form)f +(that)h(ma)m(y)h(b)s(e)e(reused)630 2217 y(as)f(shell)h(input.)38 +b(The)26 b Ft(-l)f Fu(option)i(causes)f(the)g(shell)h(to)g(prin)m(t)e +(a)i(list)f(of)h(signal)g(names)f(and)630 2326 y(their)33 +b(corresp)s(onding)f(n)m(um)m(b)s(ers.)47 b(Eac)m(h)34 +b Fr(sigsp)s(ec)39 b Fu(is)33 b(either)g(a)h(signal)g(name)f(or)g(a)g +(signal)630 2436 y(n)m(um)m(b)s(er.)39 b(Signal)31 b(names)f(are)h +(case)h(insensitiv)m(e)f(and)f(the)g Ft(SIG)g Fu(pre\014x)f(is)i +(optional.)630 2566 y(If)k(a)g Fr(sigsp)s(ec)41 b Fu(is)35 +b Ft(0)g Fu(or)g Ft(EXIT)p Fu(,)g Fr(arg)43 b Fu(is)35 +b(executed)h(when)e(the)h(shell)h(exits.)55 b(If)35 b(a)g +Fr(sigsp)s(ec)41 b Fu(is)630 2676 y Ft(DEBUG)p Fu(,)32 +b(the)g(command)g Fr(arg)40 b Fu(is)33 b(executed)g(b)s(efore)f(ev)m +(ery)h(simple)f(command,)h Ft(for)e Fu(com-)630 2785 +y(mand,)d Ft(case)g Fu(command,)h Ft(select)e Fu(command,)i(ev)m(ery)h +(arithmetic)g Ft(for)d Fu(command,)j(and)630 2895 y(b)s(efore)22 +b(the)g(\014rst)f(command)h(executes)i(in)e(a)g(shell)h(function.)37 +b(Refer)22 b(to)h(the)g(description)f(of)630 3004 y(the)i +Ft(extdebug)d Fu(option)j(to)h(the)f Ft(shopt)e Fu(builtin)h(\(see)i +(Section)f(4.3.2)i([The)d(Shopt)g(Builtin],)630 3114 +y(page)33 b(64\))g(for)f(details)h(of)f(its)h(e\013ect)g(on)f(the)g +Ft(DEBUG)f Fu(trap.)46 b(If)31 b(a)i Fr(sigsp)s(ec)38 +b Fu(is)32 b Ft(RETURN)p Fu(,)f(the)630 3224 y(command)h Fr(arg)41 b Fu(is)33 b(executed)g(eac)m(h)h(time)f(a)g(shell)g -(function)g(or)f(a)h(script)g(executed)g(with)630 2971 +(function)g(or)f(a)h(script)g(executed)g(with)630 3333 y(the)e Ft(.)f Fu(or)g Ft(source)f Fu(builtins)g(\014nishes)h -(executing.)630 3106 y(If)20 b(a)i Fr(sigsp)s(ec)27 b +(executing.)630 3463 y(If)20 b(a)i Fr(sigsp)s(ec)27 b Fu(is)21 b Ft(ERR)p Fu(,)h(the)f(command)g Fr(arg)29 b Fu(is)21 b(executed)h(whenev)m(er)e(a)i(pip)s(eline)e(\(whic)m(h)h -(ma)m(y)630 3216 y(consist)35 b(of)g(a)f(single)h(simple)g(command\),)h +(ma)m(y)630 3573 y(consist)35 b(of)g(a)f(single)h(simple)g(command\),)h (a)e(list,)j(or)d(a)h(comp)s(ound)e(command)h(returns)630 -3325 y(a)41 b(non-zero)g(exit)h(status,)h(sub)5 b(ject)41 +3682 y(a)41 b(non-zero)g(exit)h(status,)h(sub)5 b(ject)41 b(to)g(the)g(follo)m(wing)h(conditions.)72 b(The)40 b -Ft(ERR)f Fu(trap)i(is)630 3435 y(not)c(executed)h(if)f(the)h(failed)f +Ft(ERR)f Fu(trap)i(is)630 3792 y(not)c(executed)h(if)f(the)h(failed)f (command)g(is)g(part)g(of)h(the)f(command)g(list)h(immediately)630 -3544 y(follo)m(wing)30 b(an)e Ft(until)f Fu(or)i Ft(while)e +3902 y(follo)m(wing)30 b(an)e Ft(until)f Fu(or)i Ft(while)e Fu(k)m(eyw)m(ord,)i(part)g(of)f(the)h(test)g(follo)m(wing)h(the)f -Ft(if)f Fu(or)g Ft(elif)630 3654 y Fu(reserv)m(ed)45 +Ft(if)f Fu(or)g Ft(elif)630 4011 y Fu(reserv)m(ed)45 b(w)m(ords,)j(part)c(of)h(a)g(command)g(executed)g(in)g(a)g -Ft(&&)f Fu(or)h Ft(||)f Fu(list)h(except)h(the)630 3764 +Ft(&&)f Fu(or)h Ft(||)f Fu(list)h(except)h(the)630 4121 y(command)28 b(follo)m(wing)j(the)d(\014nal)h Ft(&&)f Fu(or)g Ft(||)p Fu(,)h(an)m(y)g(command)f(in)h(a)g(pip)s(eline)f(but)g -(the)h(last,)630 3873 y(or)d(if)g(the)f(command's)h(return)f(status)h +(the)h(last,)630 4230 y(or)d(if)g(the)f(command's)h(return)f(status)h (is)g(b)s(eing)f(in)m(v)m(erted)i(using)e Ft(!)p Fu(.)39 -b(These)25 b(are)i(the)f(same)630 3983 y(conditions)31 +b(These)25 b(are)i(the)f(same)630 4340 y(conditions)31 b(ob)s(ey)m(ed)f(b)m(y)h(the)f Ft(errexit)f Fu(\()p Ft(-e)p -Fu(\))h(option.)630 4118 y(Signals)37 b(ignored)f(up)s(on)f(en)m(try)i +Fu(\))h(option.)630 4470 y(Signals)37 b(ignored)f(up)s(on)f(en)m(try)i (to)g(the)f(shell)h(cannot)g(b)s(e)f(trapp)s(ed)f(or)h(reset.)59 -b(T)-8 b(rapp)s(ed)630 4227 y(signals)28 b(that)f(are)h(not)f(b)s(eing) +b(T)-8 b(rapp)s(ed)630 4580 y(signals)28 b(that)f(are)h(not)f(b)s(eing) g(ignored)g(are)g(reset)h(to)g(their)f(original)h(v)-5 -b(alues)28 b(in)e(a)i(subshell)630 4337 y(or)i(subshell)g(en)m -(vironmen)m(t)h(when)e(one)i(is)f(created.)630 4472 y(The)g(return)f +b(alues)28 b(in)e(a)i(subshell)630 4689 y(or)i(subshell)g(en)m +(vironmen)m(t)h(when)e(one)i(is)f(created.)630 4819 y(The)g(return)f (status)i(is)f(zero)h(unless)f(a)h Fr(sigsp)s(ec)36 b Fu(do)s(es)30 b(not)h(sp)s(ecify)f(a)g(v)-5 b(alid)31 -b(signal.)150 4632 y Ft(umask)870 4767 y(umask)46 b([-p])h([-S])g([)p -Fj(mode)p Ft(])630 4902 y Fu(Set)30 b(the)f(shell)h(pro)s(cess's)f +b(signal.)150 4970 y Ft(umask)870 5100 y(umask)46 b([-p])h([-S])g([)p +Fj(mode)p Ft(])630 5230 y Fu(Set)30 b(the)f(shell)h(pro)s(cess's)f (\014le)h(creation)g(mask)g(to)g Fr(mo)s(de)p Fu(.)40 b(If)29 b Fr(mo)s(de)34 b Fu(b)s(egins)29 b(with)g(a)h(digit,)630 -5011 y(it)e(is)f(in)m(terpreted)g(as)g(an)g(o)s(ctal)i(n)m(um)m(b)s +5340 y(it)e(is)f(in)m(terpreted)g(as)g(an)g(o)s(ctal)i(n)m(um)m(b)s (er;)e(if)g(not,)h(it)g(is)f(in)m(terpreted)g(as)g(a)h(sym)m(b)s(olic)f -(mo)s(de)630 5121 y(mask)i(similar)g(to)g(that)h(accepted)g(b)m(y)f -(the)g Ft(chmod)e Fu(command.)40 b(If)28 b Fr(mo)s(de)34 -b Fu(is)28 b(omitted,)j(the)630 5230 y(curren)m(t)39 -b(v)-5 b(alue)40 b(of)f(the)g(mask)g(is)h(prin)m(ted.)66 -b(If)39 b(the)g Ft(-S)g Fu(option)g(is)h(supplied)d(without)j(a)630 -5340 y Fr(mo)s(de)d Fu(argumen)m(t,)d(the)e(mask)g(is)h(prin)m(ted)f -(in)g(a)g(sym)m(b)s(olic)h(format.)47 b(If)32 b(the)g -Ft(-p)g Fu(option)h(is)p eop end -%%Page: 48 54 -TeXDict begin 48 53 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(48)630 299 y(supplied,)32 -b(and)f Fr(mo)s(de)37 b Fu(is)32 b(omitted,)i(the)f(output)f(is)g(in)g -(a)g(form)g(that)h(ma)m(y)g(b)s(e)e(reused)h(as)630 408 -y(input.)62 b(The)38 b(return)f(status)h(is)g(zero)g(if)g(the)g(mo)s -(de)g(is)g(successfully)g(c)m(hanged)g(or)g(if)g(no)630 -518 y Fr(mo)s(de)d Fu(argumen)m(t)c(is)f(supplied,)g(and)f(non-zero)i -(otherwise.)630 660 y(Note)38 b(that)e(when)g(the)g(mo)s(de)g(is)g(in)m -(terpreted)h(as)f(an)g(o)s(ctal)i(n)m(um)m(b)s(er,)e(eac)m(h)i(n)m(um)m -(b)s(er)d(of)630 770 y(the)f(umask)g(is)h(subtracted)f(from)f -Ft(7)p Fu(.)53 b(Th)m(us,)34 b(a)h(umask)e(of)i Ft(022)e -Fu(results)h(in)g(p)s(ermissions)630 879 y(of)d Ft(755)p -Fu(.)150 1054 y Ft(unset)870 1196 y(unset)46 b([-fnv])g([)p -Fj(name)p Ft(])630 1338 y Fu(Remo)m(v)m(e)36 b(eac)m(h)f(v)-5 -b(ariable)35 b(or)f(function)f Fr(name)p Fu(.)52 b(If)33 -b(the)i Ft(-v)e Fu(option)h(is)g(giv)m(en,)j(eac)m(h)e -Fr(name)630 1448 y Fu(refers)24 b(to)h(a)g(shell)f(v)-5 -b(ariable)25 b(and)f(that)h(v)-5 b(ariable)25 b(is)f(rem)m(v)m(o)m(v)m -(ed.)41 b(If)23 b(the)i Ft(-f)f Fu(option)g(is)h(giv)m(en,)630 -1557 y(the)37 b Fr(name)5 b Fu(s)37 b(refer)f(to)i(shell)f(functions,)h -(and)e(the)h(function)g(de\014nition)f(is)h(remo)m(v)m(ed.)61 -b(If)630 1667 y(the)34 b Ft(-n)e Fu(option)i(is)g(supplied,)f(and)g +(mo)s(de)p eop end +%%Page: 49 55 +TeXDict begin 49 54 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(49)630 299 y(mask)29 +b(similar)g(to)g(that)h(accepted)g(b)m(y)f(the)g Ft(chmod)e +Fu(command.)40 b(If)28 b Fr(mo)s(de)34 b Fu(is)28 b(omitted,)j(the)630 +408 y(curren)m(t)39 b(v)-5 b(alue)40 b(of)f(the)g(mask)g(is)h(prin)m +(ted.)66 b(If)39 b(the)g Ft(-S)g Fu(option)g(is)h(supplied)d(without)j +(a)630 518 y Fr(mo)s(de)d Fu(argumen)m(t,)d(the)e(mask)g(is)h(prin)m +(ted)f(in)g(a)g(sym)m(b)s(olic)h(format.)47 b(If)32 b(the)g +Ft(-p)g Fu(option)h(is)630 628 y(supplied,)f(and)f Fr(mo)s(de)37 +b Fu(is)32 b(omitted,)i(the)f(output)f(is)g(in)g(a)g(form)g(that)h(ma)m +(y)g(b)s(e)e(reused)h(as)630 737 y(input.)62 b(The)38 +b(return)f(status)h(is)g(zero)g(if)g(the)g(mo)s(de)g(is)g(successfully) +g(c)m(hanged)g(or)g(if)g(no)630 847 y Fr(mo)s(de)d Fu(argumen)m(t)c(is) +f(supplied,)g(and)f(non-zero)i(otherwise.)630 977 y(Note)38 +b(that)e(when)g(the)g(mo)s(de)g(is)g(in)m(terpreted)h(as)f(an)g(o)s +(ctal)i(n)m(um)m(b)s(er,)e(eac)m(h)i(n)m(um)m(b)s(er)d(of)630 +1086 y(the)f(umask)g(is)h(subtracted)f(from)f Ft(7)p +Fu(.)53 b(Th)m(us,)34 b(a)h(umask)e(of)i Ft(022)e Fu(results)h(in)g(p)s +(ermissions)630 1196 y(of)d Ft(755)p Fu(.)150 1347 y +Ft(unset)870 1477 y(unset)46 b([-fnv])g([)p Fj(name)p +Ft(])630 1607 y Fu(Remo)m(v)m(e)36 b(eac)m(h)f(v)-5 b(ariable)35 +b(or)f(function)f Fr(name)p Fu(.)52 b(If)33 b(the)i Ft(-v)e +Fu(option)h(is)g(giv)m(en,)j(eac)m(h)e Fr(name)630 1716 +y Fu(refers)27 b(to)h(a)g(shell)f(v)-5 b(ariable)28 b(and)f(that)h(v)-5 +b(ariable)28 b(is)f(remo)m(v)m(ed.)41 b(If)27 b(the)g +Ft(-f)g Fu(option)g(is)h(giv)m(en,)630 1826 y(the)37 +b Fr(name)5 b Fu(s)37 b(refer)f(to)i(shell)f(functions,)h(and)e(the)h +(function)g(de\014nition)f(is)h(remo)m(v)m(ed.)61 b(If)630 +1936 y(the)34 b Ft(-n)e Fu(option)i(is)g(supplied,)f(and)g Fr(name)38 b Fu(is)c(a)f(v)-5 b(ariable)34 b(with)g(the)f -Fr(nameref)51 b Fu(attribute,)630 1776 y Fr(name)42 b +Fr(nameref)51 b Fu(attribute,)630 2045 y Fr(name)42 b Fu(will)37 b(b)s(e)f(unset)g(rather)g(than)h(the)g(v)-5 b(ariable)37 b(it)g(references.)60 b Ft(-n)36 b Fu(has)g(no)h(e\013ect) -h(if)630 1886 y(the)h Ft(-f)g Fu(option)g(is)h(supplied.)65 +h(if)630 2155 y(the)h Ft(-f)g Fu(option)g(is)h(supplied.)65 b(If)39 b(no)g(options)h(are)f(supplied,)h(eac)m(h)h -Fr(name)j Fu(refers)39 b(to)h(a)630 1995 y(v)-5 b(ariable;)37 +Fr(name)j Fu(refers)39 b(to)h(a)630 2264 y(v)-5 b(ariable;)37 b(if)d(there)g(is)g(no)g(v)-5 b(ariable)34 b(b)m(y)g(that)h(name,)g(an) -m(y)f(function)g(with)f(that)i(name)f(is)630 2105 y(unset.)46 +m(y)f(function)g(with)f(that)i(name)f(is)630 2374 y(unset.)46 b(Readonly)33 b(v)-5 b(ariables)33 b(and)e(functions)h(ma)m(y)h(not)g -(b)s(e)e(unset.)47 b(The)31 b(return)h(status)630 2215 +(b)s(e)e(unset.)47 b(The)31 b(return)h(status)630 2483 y(is)e(zero)i(unless)d(a)i Fr(name)36 b Fu(is)30 b(readonly)-8 -b(.)150 2470 y Fs(4.2)68 b(Bash)45 b(Builtin)g(Commands)150 -2629 y Fu(This)c(section)h(describ)s(es)f(builtin)f(commands)h(whic)m +b(.)150 2715 y Fs(4.2)68 b(Bash)45 b(Builtin)g(Commands)150 +2875 y Fu(This)c(section)h(describ)s(es)f(builtin)f(commands)h(whic)m (h)g(are)h(unique)e(to)j(or)e(ha)m(v)m(e)h(b)s(een)f(extended)g(in)150 -2739 y(Bash.)g(Some)30 b(of)h(these)g(commands)f(are)g(sp)s(eci\014ed)g -(in)g(the)h Fm(posix)e Fu(standard.)150 2921 y Ft(alias)870 -3063 y(alias)46 b([-p])h([)p Fj(name)p Ft([=)p Fj(value)p -Ft(])d(...)o(])630 3205 y Fu(Without)26 b(argumen)m(ts)f(or)g(with)f +2984 y(Bash.)g(Some)30 b(of)h(these)g(commands)f(are)g(sp)s(eci\014ed)g +(in)g(the)h Fm(posix)e Fu(standard.)150 3135 y Ft(alias)870 +3265 y(alias)46 b([-p])h([)p Fj(name)p Ft([=)p Fj(value)p +Ft(])d(...)o(])630 3395 y Fu(Without)26 b(argumen)m(ts)f(or)g(with)f (the)h Ft(-p)g Fu(option,)h Ft(alias)e Fu(prin)m(ts)g(the)h(list)h(of)f -(aliases)h(on)f(the)630 3315 y(standard)g(output)g(in)g(a)h(form)f +(aliases)h(on)f(the)630 3505 y(standard)g(output)g(in)g(a)h(form)f (that)h(allo)m(ws)h(them)e(to)h(b)s(e)f(reused)g(as)g(input.)39 -b(If)25 b(argumen)m(ts)630 3424 y(are)j(supplied,)e(an)i(alias)g(is)f +b(If)25 b(argumen)m(ts)630 3614 y(are)j(supplied,)e(an)i(alias)g(is)f (de\014ned)f(for)h(eac)m(h)h Fr(name)33 b Fu(whose)27 b Fr(v)-5 b(alue)33 b Fu(is)27 b(giv)m(en.)41 b(If)26 -b(no)h Fr(v)-5 b(alue)630 3534 y Fu(is)37 b(giv)m(en,)j(the)d(name)g +b(no)h Fr(v)-5 b(alue)630 3724 y Fu(is)37 b(giv)m(en,)j(the)d(name)g (and)g(v)-5 b(alue)37 b(of)h(the)f(alias)h(is)f(prin)m(ted.)61 -b(Aliases)38 b(are)f(describ)s(ed)f(in)630 3643 y(Section)31 -b(6.6)h([Aliases],)g(page)f(88.)150 3818 y Ft(bind)870 -3960 y(bind)47 b([-m)g Fj(keymap)p Ft(])e([-lpsvPSVX])870 -4070 y(bind)i([-m)g Fj(keymap)p Ft(])e([-q)i Fj(function)p +b(Aliases)38 b(are)f(describ)s(ed)f(in)630 3833 y(Section)31 +b(6.6)h([Aliases],)g(page)f(90.)150 3984 y Ft(bind)870 +4114 y(bind)47 b([-m)g Fj(keymap)p Ft(])e([-lpsvPSVX])870 +4224 y(bind)i([-m)g Fj(keymap)p Ft(])e([-q)i Fj(function)p Ft(])f([-u)g Fj(function)p Ft(])g([-r)h Fj(keyseq)p Ft(])870 -4179 y(bind)g([-m)g Fj(keymap)p Ft(])e(-f)j Fj(filename)870 -4289 y Ft(bind)f([-m)g Fj(keymap)p Ft(])e(-x)j Fj(keyseq:shell-command) -870 4398 y Ft(bind)f([-m)g Fj(keymap)p Ft(])e Fj(keyseq:function-name) -870 4508 y Ft(bind)i Fj(readline-command)630 4650 y Fu(Displa)m(y)22 +4333 y(bind)g([-m)g Fj(keymap)p Ft(])e(-f)j Fj(filename)870 +4443 y Ft(bind)f([-m)g Fj(keymap)p Ft(])e(-x)j Fj(keyseq:shell-command) +870 4552 y Ft(bind)f([-m)g Fj(keymap)p Ft(])e Fj(keyseq:function-name) +870 4662 y Ft(bind)i([-m)g Fj(keymap)p Ft(])e Fj +(keyseq:readline-command)630 4792 y Fu(Displa)m(y)22 b(curren)m(t)f(Readline)h(\(see)f(Chapter)g(8)g([Command)f(Line)h -(Editing],)j(page)e(101\))g(k)m(ey)630 4760 y(and)36 +(Editing],)j(page)e(104\))g(k)m(ey)630 4902 y(and)36 b(function)g(bindings,)i(bind)d(a)i(k)m(ey)g(sequence)g(to)h(a)f -(Readline)g(function)f(or)h(macro,)630 4869 y(or)44 b(set)h(a)g +(Readline)g(function)f(or)h(macro,)630 5011 y(or)44 b(set)h(a)g (Readline)f(v)-5 b(ariable.)83 b(Eac)m(h)45 b(non-option)g(argumen)m(t) -f(is)g(a)h(command)f(as)g(it)630 4979 y(w)m(ould)e(app)s(ear)f(in)h(a)h +f(is)g(a)h(command)f(as)g(it)630 5121 y(w)m(ould)e(app)s(ear)f(in)h(a)h (Readline)g(initialization)i(\014le)d(\(see)h(Section)g(8.3)g -([Readline)g(Init)630 5088 y(File],)c(page)d(104\),)j(but)c(eac)m(h)h +([Readline)g(Init)630 5230 y(File],)c(page)d(107\),)j(but)c(eac)m(h)h (binding)f(or)g(command)h(m)m(ust)f(b)s(e)g(passed)g(as)h(a)g(separate) -630 5198 y(argumen)m(t;)31 b(e.g.,)h(`)p Ft -("\\C-x\\C-r":re-read-init-f)o(ile)p Fu('.)630 5340 y(Options,)e(if)h -(supplied,)e(ha)m(v)m(e)i(the)g(follo)m(wing)h(meanings:)p -eop end -%%Page: 49 55 -TeXDict begin 49 54 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(49)630 299 y Ft(-m)30 -b Fj(keymap)66 b Fu(Use)54 b Fr(k)m(eymap)j Fu(as)d(the)g(k)m(eymap)g -(to)h(b)s(e)e(a\013ected)i(b)m(y)f(the)g(subsequen)m(t)1110 -408 y(bindings.)46 b(Acceptable)34 b Fr(k)m(eymap)i Fu(names)c(are)h -Ft(emacs)p Fu(,)f Ft(emacs-standard)p Fu(,)1110 518 y -Ft(emacs-meta)p Fu(,)99 b Ft(emacs-ctlx)p Fu(,)f Ft(vi)p -Fu(,)j Ft(vi-move)p Fu(,)f Ft(vi-command)p Fu(,)f(and)1110 -628 y Ft(vi-insert)p Fu(.)64 b Ft(vi)38 b Fu(is)h(equiv)-5 -b(alen)m(t)41 b(to)e Ft(vi-command)p Fu(;)i Ft(emacs)c -Fu(is)i(equiv)-5 b(alen)m(t)1110 737 y(to)31 b Ft(emacs-standard)p -Fu(.)630 888 y Ft(-l)384 b Fu(List)31 b(the)f(names)g(of)h(all)g -(Readline)g(functions.)630 1039 y Ft(-p)384 b Fu(Displa)m(y)34 +630 5340 y(argumen)m(t;)31 b(e.g.,)h(`)p Ft +("\\C-x\\C-r":re-read-init-f)o(ile)p Fu('.)p eop end +%%Page: 50 56 +TeXDict begin 50 55 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(50)630 299 y(Options,)30 +b(if)h(supplied,)e(ha)m(v)m(e)i(the)g(follo)m(wing)h(meanings:)630 +454 y Ft(-m)e Fj(keymap)66 b Fu(Use)54 b Fr(k)m(eymap)j +Fu(as)d(the)g(k)m(eymap)g(to)h(b)s(e)e(a\013ected)i(b)m(y)f(the)g +(subsequen)m(t)1110 563 y(bindings.)46 b(Acceptable)34 +b Fr(k)m(eymap)i Fu(names)c(are)h Ft(emacs)p Fu(,)f Ft(emacs-standard)p +Fu(,)1110 673 y Ft(emacs-meta)p Fu(,)99 b Ft(emacs-ctlx)p +Fu(,)f Ft(vi)p Fu(,)j Ft(vi-move)p Fu(,)f Ft(vi-command)p +Fu(,)f(and)1110 782 y Ft(vi-insert)p Fu(.)81 b Ft(vi)44 +b Fu(is)h(equiv)-5 b(alen)m(t)46 b(to)g Ft(vi-command)c +Fu(\()p Ft(vi-move)h Fu(is)i(also)h(a)1110 892 y(synon)m(ym\);)30 +b Ft(emacs)f Fu(is)i(equiv)-5 b(alen)m(t)32 b(to)f Ft(emacs-standard)p +Fu(.)630 1047 y Ft(-l)384 b Fu(List)31 b(the)f(names)g(of)h(all)g +(Readline)g(functions.)630 1201 y Ft(-p)384 b Fu(Displa)m(y)34 b(Readline)f(function)g(names)g(and)f(bindings)f(in)i(suc)m(h)f(a)i(w)m -(a)m(y)f(that)1110 1148 y(they)e(can)f(b)s(e)g(used)g(as)g(input)g(or)g -(in)g(a)h(Readline)g(initialization)i(\014le.)630 1299 +(a)m(y)f(that)1110 1311 y(they)e(can)f(b)s(e)g(used)g(as)g(input)g(or)g +(in)g(a)h(Readline)g(initialization)i(\014le.)630 1466 y Ft(-P)384 b Fu(List)31 b(curren)m(t)f(Readline)h(function)f(names)g -(and)g(bindings.)630 1450 y Ft(-v)384 b Fu(Displa)m(y)25 +(and)g(bindings.)630 1620 y Ft(-v)384 b Fu(Displa)m(y)25 b(Readline)f(v)-5 b(ariable)25 b(names)f(and)f(v)-5 b(alues)24 -b(in)g(suc)m(h)f(a)i(w)m(a)m(y)f(that)h(they)1110 1559 +b(in)g(suc)m(h)f(a)i(w)m(a)m(y)f(that)h(they)1110 1730 y(can)31 b(b)s(e)e(used)h(as)h(input)e(or)h(in)g(a)h(Readline)g -(initialization)j(\014le.)630 1710 y Ft(-V)384 b Fu(List)31 +(initialization)j(\014le.)630 1885 y Ft(-V)384 b Fu(List)31 b(curren)m(t)f(Readline)h(v)-5 b(ariable)31 b(names)f(and)g(v)-5 -b(alues.)630 1861 y Ft(-s)384 b Fu(Displa)m(y)39 b(Readline)f(k)m(ey)g +b(alues.)630 2039 y Ft(-s)384 b Fu(Displa)m(y)39 b(Readline)f(k)m(ey)g (sequences)f(b)s(ound)f(to)i(macros)g(and)f(the)g(strings)1110 -1970 y(they)d(output)f(in)h(suc)m(h)f(a)h(w)m(a)m(y)h(that)f(they)g -(can)g(b)s(e)f(used)g(as)h(input)e(or)i(in)g(a)1110 2080 -y(Readline)d(initialization)i(\014le.)630 2230 y Ft(-S)384 +2149 y(they)d(output)f(in)h(suc)m(h)f(a)h(w)m(a)m(y)h(that)f(they)g +(can)g(b)s(e)f(used)g(as)h(input)e(or)i(in)g(a)1110 2259 +y(Readline)d(initialization)i(\014le.)630 2413 y Ft(-S)384 b Fu(Displa)m(y)39 b(Readline)f(k)m(ey)g(sequences)f(b)s(ound)f(to)i -(macros)g(and)f(the)g(strings)1110 2340 y(they)31 b(output.)630 -2491 y Ft(-f)f Fj(filename)1110 2600 y Fu(Read)h(k)m(ey)g(bindings)e -(from)h Fr(\014lename)p Fu(.)630 2751 y Ft(-q)g Fj(function)1110 -2861 y Fu(Query)g(ab)s(out)g(whic)m(h)g(k)m(eys)h(in)m(v)m(ok)m(e)h -(the)f(named)f Fr(function)p Fu(.)630 3011 y Ft(-u)g -Fj(function)1110 3121 y Fu(Un)m(bind)f(all)i(k)m(eys)g(b)s(ound)e(to)i -(the)f(named)g Fr(function)p Fu(.)630 3271 y Ft(-r)g +(macros)g(and)f(the)g(strings)1110 2523 y(they)31 b(output.)630 +2678 y Ft(-f)f Fj(filename)1110 2787 y Fu(Read)h(k)m(ey)g(bindings)e +(from)h Fr(\014lename)p Fu(.)630 2942 y Ft(-q)g Fj(function)1110 +3051 y Fu(Query)g(ab)s(out)g(whic)m(h)g(k)m(eys)h(in)m(v)m(ok)m(e)h +(the)f(named)f Fr(function)p Fu(.)630 3206 y Ft(-u)g +Fj(function)1110 3316 y Fu(Un)m(bind)f(all)i(k)m(eys)g(b)s(ound)e(to)i +(the)f(named)g Fr(function)p Fu(.)630 3471 y Ft(-r)g Fj(keyseq)66 b Fu(Remo)m(v)m(e)32 b(an)m(y)f(curren)m(t)f(binding)f -(for)h Fr(k)m(eyseq)p Fu(.)630 3422 y Ft(-x)g Fj(keyseq:shell-command) -1110 3532 y Fu(Cause)35 b Fr(shell-command)k Fu(to)d(b)s(e)f(executed)h +(for)h Fr(k)m(eyseq)p Fu(.)630 3625 y Ft(-x)g Fj(keyseq:shell-command) +1110 3735 y Fu(Cause)35 b Fr(shell-command)k Fu(to)d(b)s(e)f(executed)h (whenev)m(er)f Fr(k)m(eyseq)j Fu(is)d(en)m(tered.)1110 -3641 y(When)46 b Fr(shell-command)k Fu(is)c(executed,)51 -b(the)46 b(shell)g(sets)g(the)g Ft(READLINE_)1110 3751 +3844 y(When)46 b Fr(shell-command)k Fu(is)c(executed,)51 +b(the)46 b(shell)g(sets)g(the)g Ft(READLINE_)1110 3954 y(LINE)37 b Fu(v)-5 b(ariable)38 b(to)g(the)g(con)m(ten)m(ts)i(of)e -(the)g(Readline)g(line)g(bu\013er)f(and)g(the)1110 3861 +(the)g(Readline)g(line)g(bu\013er)f(and)g(the)1110 4064 y Ft(READLINE_POINT)e Fu(v)-5 b(ariable)39 b(to)h(the)e(curren)m(t)h -(lo)s(cation)h(of)f(the)g(insertion)1110 3970 y(p)s(oin)m(t.)59 +(lo)s(cation)h(of)f(the)g(insertion)1110 4173 y(p)s(oin)m(t.)59 b(If)37 b(the)f(executed)i(command)e(c)m(hanges)i(the)f(v)-5 -b(alue)37 b(of)f Ft(READLINE_)1110 4080 y(LINE)29 b Fu(or)h +b(alue)37 b(of)f Ft(READLINE_)1110 4283 y(LINE)29 b Fu(or)h Ft(READLINE_POINT)p Fu(,)c(those)31 b(new)e(v)-5 b(alues)31 -b(will)f(b)s(e)f(re\015ected)i(in)f(the)1110 4189 y(editing)h(state.) -630 4340 y Ft(-X)384 b Fu(List)27 b(all)i(k)m(ey)f(sequences)f(b)s +b(will)f(b)s(e)f(re\015ected)i(in)f(the)1110 4392 y(editing)h(state.) +630 4547 y Ft(-X)384 b Fu(List)27 b(all)i(k)m(ey)f(sequences)f(b)s (ound)e(to)j(shell)g(commands)e(and)h(the)g(asso)s(ciated)1110 -4450 y(commands)j(in)g(a)h(format)g(that)f(can)h(b)s(e)f(reused)f(as)i -(input.)630 4600 y(The)26 b(return)f(status)i(is)f(zero)i(unless)d(an)i +4657 y(commands)j(in)g(a)h(format)g(that)f(can)h(b)s(e)f(reused)f(as)i +(input.)630 4811 y(The)26 b(return)f(status)i(is)f(zero)i(unless)d(an)i (in)m(v)-5 b(alid)27 b(option)g(is)f(supplied)f(or)i(an)f(error)g(o)s -(ccurs.)150 4751 y Ft(builtin)870 4881 y(builtin)46 b([)p -Fj(shell-builtin)e Ft([)p Fj(args)p Ft(]])630 5011 y +(ccurs.)150 4966 y Ft(builtin)870 5098 y(builtin)46 b([)p +Fj(shell-builtin)e Ft([)p Fj(args)p Ft(]])630 5230 y Fu(Run)35 b(a)i(shell)f(builtin,)i(passing)e(it)h Fr(args)p Fu(,)h(and)e(return)f(its)i(exit)g(status.)59 b(This)35 -b(is)i(useful)630 5121 y(when)29 b(de\014ning)h(a)g(shell)h(function)f -(with)g(the)g(same)h(name)f(as)h(a)g(shell)f(builtin,)g(retaining)630 -5230 y(the)k(functionalit)m(y)h(of)f(the)f(builtin)g(within)g(the)h -(function.)50 b(The)33 b(return)g(status)h(is)f(non-)630 -5340 y(zero)e(if)g Fr(shell-builtin)f Fu(is)g(not)h(a)g(shell)f -(builtin)g(command.)p eop end -%%Page: 50 56 -TeXDict begin 50 55 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(50)150 299 y Ft(caller)870 -443 y(caller)46 b([)p Fj(expr)p Ft(])630 587 y Fu(Returns)34 -b(the)g(con)m(text)j(of)e(an)m(y)g(activ)m(e)i(subroutine)c(call)j(\(a) -f(shell)g(function)f(or)h(a)g(script)630 696 y(executed)c(with)f(the)h -Ft(.)f Fu(or)g Ft(source)f Fu(builtins\).)630 840 y(Without)45 -b Fr(expr)p Fu(,)j Ft(caller)43 b Fu(displa)m(ys)i(the)f(line)h(n)m(um) -m(b)s(er)f(and)g(source)g(\014lename)h(of)g(the)630 950 -y(curren)m(t)35 b(subroutine)g(call.)58 b(If)35 b(a)h(non-negativ)m(e)i -(in)m(teger)f(is)f(supplied)e(as)i Fr(expr)p Fu(,)h Ft(caller)630 -1059 y Fu(displa)m(ys)k(the)f(line)h(n)m(um)m(b)s(er,)h(subroutine)d +b(is)i(useful)630 5340 y(when)29 b(de\014ning)h(a)g(shell)h(function)f +(with)g(the)g(same)h(name)f(as)h(a)g(shell)f(builtin,)g(retaining)p +eop end +%%Page: 51 57 +TeXDict begin 51 56 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(51)630 299 y(the)34 +b(functionalit)m(y)h(of)f(the)f(builtin)g(within)g(the)h(function.)50 +b(The)33 b(return)g(status)h(is)f(non-)630 408 y(zero)e(if)g +Fr(shell-builtin)f Fu(is)g(not)h(a)g(shell)f(builtin)g(command.)150 +579 y Ft(caller)870 719 y(caller)46 b([)p Fj(expr)p Ft(])630 +859 y Fu(Returns)34 b(the)g(con)m(text)j(of)e(an)m(y)g(activ)m(e)i +(subroutine)c(call)j(\(a)f(shell)g(function)f(or)h(a)g(script)630 +969 y(executed)c(with)f(the)h Ft(.)f Fu(or)g Ft(source)f +Fu(builtins\).)630 1109 y(Without)45 b Fr(expr)p Fu(,)j +Ft(caller)43 b Fu(displa)m(ys)i(the)f(line)h(n)m(um)m(b)s(er)f(and)g +(source)g(\014lename)h(of)g(the)630 1218 y(curren)m(t)35 +b(subroutine)g(call.)58 b(If)35 b(a)h(non-negativ)m(e)i(in)m(teger)f +(is)f(supplied)e(as)i Fr(expr)p Fu(,)h Ft(caller)630 +1328 y Fu(displa)m(ys)k(the)f(line)h(n)m(um)m(b)s(er,)h(subroutine)d (name,)44 b(and)c(source)g(\014le)h(corresp)s(onding)e(to)630 -1169 y(that)c(p)s(osition)g(in)f(the)h(curren)m(t)f(execution)i(call)g +1437 y(that)c(p)s(osition)g(in)f(the)h(curren)m(t)f(execution)i(call)g (stac)m(k.)54 b(This)34 b(extra)h(information)g(ma)m(y)630 -1278 y(b)s(e)30 b(used,)g(for)g(example,)h(to)g(prin)m(t)f(a)h(stac)m +1547 y(b)s(e)30 b(used,)g(for)g(example,)h(to)g(prin)m(t)f(a)h(stac)m (k)h(trace.)42 b(The)29 b(curren)m(t)i(frame)f(is)g(frame)h(0.)630 -1422 y(The)d(return)g(v)-5 b(alue)29 b(is)g(0)g(unless)f(the)h(shell)g +1687 y(The)d(return)g(v)-5 b(alue)29 b(is)g(0)g(unless)f(the)h(shell)g (is)g(not)g(executing)h(a)f(subroutine)e(call)j(or)f -Fr(expr)630 1532 y Fu(do)s(es)h(not)h(corresp)s(ond)e(to)i(a)g(v)-5 +Fr(expr)630 1797 y Fu(do)s(es)h(not)h(corresp)s(ond)e(to)i(a)g(v)-5 b(alid)30 b(p)s(osition)h(in)f(the)g(call)i(stac)m(k.)150 -1710 y Ft(command)870 1854 y(command)46 b([-pVv])g Fj(command)g -Ft([)p Fj(arguments)f Ft(...)o(])630 1998 y Fu(Runs)32 +1967 y Ft(command)870 2107 y(command)46 b([-pVv])g Fj(command)g +Ft([)p Fj(arguments)f Ft(...)o(])630 2247 y Fu(Runs)32 b Fr(command)k Fu(with)d Fr(argumen)m(ts)k Fu(ignoring)c(an)m(y)g -(shell)h(function)e(named)h Fr(command)p Fu(.)630 2107 +(shell)h(function)e(named)h Fr(command)p Fu(.)630 2357 y(Only)39 b(shell)i(builtin)e(commands)h(or)g(commands)f(found)g(b)m(y) -h(searc)m(hing)h(the)f Ft(PATH)f Fu(are)630 2217 y(executed.)59 +h(searc)m(hing)h(the)f Ft(PATH)f Fu(are)630 2466 y(executed.)59 b(If)36 b(there)h(is)f(a)h(shell)f(function)g(named)g Ft(ls)p Fu(,)h(running)e(`)p Ft(command)29 b(ls)p Fu(')35 -b(within)630 2326 y(the)c(function)f(will)h(execute)g(the)g(external)g +b(within)630 2576 y(the)c(function)f(will)h(execute)g(the)g(external)g (command)g Ft(ls)f Fu(instead)g(of)h(calling)h(the)f(func-)630 -2436 y(tion)36 b(recursiv)m(ely)-8 b(.)56 b(The)34 b +2685 y(tion)36 b(recursiv)m(ely)-8 b(.)56 b(The)34 b Ft(-p)h Fu(option)g(means)g(to)h(use)f(a)g(default)h(v)-5 -b(alue)35 b(for)g Ft(PATH)f Fu(that)i(is)630 2545 y(guaran)m(teed)f(to) +b(alue)35 b(for)g Ft(PATH)f Fu(that)i(is)630 2795 y(guaran)m(teed)f(to) f(\014nd)e(all)j(of)f(the)g(standard)f(utilities.)52 -b(The)33 b(return)g(status)h(in)f(this)h(case)630 2655 +b(The)33 b(return)g(status)h(in)f(this)h(case)630 2905 y(is)29 b(127)g(if)g Fr(command)j Fu(cannot)d(b)s(e)e(found)h(or)g(an)g (error)h(o)s(ccurred,)f(and)g(the)h(exit)g(status)g(of)630 -2765 y Fr(command)34 b Fu(otherwise.)630 2908 y(If)e(either)h(the)f +3014 y Fr(command)34 b Fu(otherwise.)630 3154 y(If)e(either)h(the)f Ft(-V)g Fu(or)g Ft(-v)g Fu(option)h(is)f(supplied,)g(a)h(description)f -(of)h Fr(command)j Fu(is)c(prin)m(ted.)630 3018 y(The)f +(of)h Fr(command)j Fu(is)c(prin)m(ted.)630 3264 y(The)f Ft(-v)h Fu(option)g(causes)g(a)g(single)h(w)m(ord)f(indicating)g(the)g -(command)g(or)g(\014le)g(name)g(used)630 3128 y(to)40 +(command)g(or)g(\014le)g(name)g(used)630 3373 y(to)40 b(in)m(v)m(ok)m(e)h Fr(command)h Fu(to)e(b)s(e)e(displa)m(y)m(ed;)44 b(the)39 b Ft(-V)f Fu(option)i(pro)s(duces)d(a)j(more)f(v)m(erb)s(ose) -630 3237 y(description.)61 b(In)36 b(this)h(case,)j(the)e(return)e +630 3483 y(description.)61 b(In)36 b(this)h(case,)j(the)e(return)e (status)h(is)g(zero)h(if)f Fr(command)k Fu(is)c(found,)h(and)630 -3347 y(non-zero)31 b(if)f(not.)150 3525 y Ft(declare)870 -3669 y(declare)46 b([-aAfFgilnrtux])d([-p])k([)p Fj(name)p -Ft([=)p Fj(value)p Ft(])d(...)o(])630 3813 y Fu(Declare)29 +3593 y(non-zero)31 b(if)f(not.)150 3763 y Ft(declare)870 +3903 y(declare)46 b([-aAfFgilnrtux])d([-p])k([)p Fj(name)p +Ft([=)p Fj(value)p Ft(])d(...)o(])630 4043 y Fu(Declare)29 b(v)-5 b(ariables)28 b(and)e(giv)m(e)j(them)e(attributes.)40 b(If)27 b(no)g Fr(name)5 b Fu(s)27 b(are)h(giv)m(en,)h(then)e(displa)m -(y)630 3922 y(the)k(v)-5 b(alues)30 b(of)h(v)-5 b(ariables)31 -b(instead.)630 4066 y(The)k Ft(-p)f Fu(option)i(will)g(displa)m(y)f +(y)630 4153 y(the)k(v)-5 b(alues)30 b(of)h(v)-5 b(ariables)31 +b(instead.)630 4293 y(The)k Ft(-p)f Fu(option)i(will)g(displa)m(y)f (the)h(attributes)g(and)e(v)-5 b(alues)36 b(of)f(eac)m(h)i -Fr(name)p Fu(.)55 b(When)36 b Ft(-p)630 4176 y Fu(is)i(used)g(with)g +Fr(name)p Fu(.)55 b(When)36 b Ft(-p)630 4402 y Fu(is)i(used)g(with)g Fr(name)43 b Fu(argumen)m(ts,)e(additional)e(options,)i(other)d(than)g -Ft(-f)g Fu(and)g Ft(-F)p Fu(,)i(are)630 4285 y(ignored.)630 -4429 y(When)g Ft(-p)g Fu(is)g(supplied)f(without)i Fr(name)k +Ft(-f)g Fu(and)g Ft(-F)p Fu(,)i(are)630 4512 y(ignored.)630 +4652 y(When)g Ft(-p)g Fu(is)g(supplied)f(without)i Fr(name)k Fu(argumen)m(ts,)f Ft(declare)38 b Fu(will)j(displa)m(y)f(the)h(at-)630 -4539 y(tributes)31 b(and)f(v)-5 b(alues)31 b(of)g(all)h(v)-5 +4762 y(tributes)31 b(and)f(v)-5 b(alues)31 b(of)g(all)h(v)-5 b(ariables)31 b(ha)m(ving)h(the)f(attributes)g(sp)s(eci\014ed)f(b)m(y)h -(the)g(addi-)630 4648 y(tional)k(options.)52 b(If)34 +(the)g(addi-)630 4871 y(tional)k(options.)52 b(If)34 b(no)g(other)g(options)g(are)g(supplied)f(with)h Ft(-p)p -Fu(,)g Ft(declare)e Fu(will)j(displa)m(y)630 4758 y(the)e(attributes)h +Fu(,)g Ft(declare)e Fu(will)j(displa)m(y)630 4981 y(the)e(attributes)h (and)e(v)-5 b(alues)33 b(of)g(all)h(shell)f(v)-5 b(ariables.)50 b(The)32 b Ft(-f)g Fu(option)i(will)f(restrict)h(the)630 -4867 y(displa)m(y)d(to)g(shell)f(functions.)630 5011 +5090 y(displa)m(y)d(to)g(shell)f(functions.)630 5230 y(The)41 b Ft(-F)f Fu(option)i(inhibits)e(the)i(displa)m(y)f(of)g (function)g(de\014nitions;)47 b(only)41 b(the)g(function)630 -5121 y(name)30 b(and)f(attributes)i(are)f(prin)m(ted.)40 +5340 y(name)30 b(and)f(attributes)i(are)f(prin)m(ted.)40 b(If)30 b(the)g Ft(extdebug)e Fu(shell)i(option)g(is)g(enabled)g(using) -630 5230 y Ft(shopt)24 b Fu(\(see)i(Section)g(4.3.2)i([The)d(Shopt)f -(Builtin],)k(page)e(62\),)i(the)d(source)h(\014le)f(name)h(and)630 -5340 y(line)31 b(n)m(um)m(b)s(er)e(where)h(the)g(function)g(is)h -(de\014ned)e(are)i(displa)m(y)m(ed)g(as)f(w)m(ell.)42 -b Ft(-F)30 b Fu(implies)g Ft(-f)p Fu(.)p eop end -%%Page: 51 57 -TeXDict begin 51 56 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(51)630 299 y(The)36 +p eop end +%%Page: 52 58 +TeXDict begin 52 57 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(52)630 299 y Ft(shopt)24 +b Fu(\(see)i(Section)g(4.3.2)i([The)d(Shopt)f(Builtin],)k(page)e(64\),) +i(the)d(source)h(\014le)f(name)h(and)630 408 y(line)31 +b(n)m(um)m(b)s(er)e(where)h(eac)m(h)h Fr(name)36 b Fu(is)30 +b(de\014ned)f(are)i(displa)m(y)m(ed)g(as)g(w)m(ell.)41 +b Ft(-F)30 b Fu(implies)h Ft(-f)p Fu(.)630 543 y(The)36 b Ft(-g)g Fu(option)h(forces)g(v)-5 b(ariables)37 b(to)g(b)s(e)f (created)i(or)e(mo)s(di\014ed)g(at)h(the)g(global)h(scop)s(e,)630 -408 y(ev)m(en)g(when)e Ft(declare)f Fu(is)j(executed)g(in)f(a)g(shell)h +653 y(ev)m(en)g(when)e Ft(declare)f Fu(is)j(executed)g(in)f(a)g(shell)h (function.)61 b(It)37 b(is)g(ignored)h(in)f(all)h(other)630 -518 y(cases.)630 654 y(The)27 b(follo)m(wing)h(options)g(can)f(b)s(e)g +763 y(cases.)630 897 y(The)27 b(follo)m(wing)h(options)g(can)f(b)s(e)g (used)f(to)i(restrict)g(output)e(to)i(v)-5 b(ariables)28 -b(with)f(the)g(sp)s(ec-)630 764 y(i\014ed)j(attributes)h(or)f(to)h(giv) -m(e)h(v)-5 b(ariables)31 b(attributes:)630 926 y Ft(-a)384 -b Fu(Eac)m(h)36 b Fr(name)k Fu(is)34 b(an)h(indexed)g(arra)m(y)g(v)-5 -b(ariable)36 b(\(see)f(Section)h(6.7)g([Arra)m(ys],)1110 -1035 y(page)31 b(89\).)630 1198 y Ft(-A)384 b Fu(Eac)m(h)24 +b(with)f(the)g(sp)s(ec-)630 1007 y(i\014ed)j(attributes)h(or)f(to)h +(giv)m(e)h(v)-5 b(ariables)31 b(attributes:)630 1167 +y Ft(-a)384 b Fu(Eac)m(h)36 b Fr(name)k Fu(is)34 b(an)h(indexed)g(arra) +m(y)g(v)-5 b(ariable)36 b(\(see)f(Section)h(6.7)g([Arra)m(ys],)1110 +1277 y(page)31 b(91\).)630 1437 y Ft(-A)384 b Fu(Eac)m(h)24 b Fr(name)k Fu(is)23 b(an)g(asso)s(ciativ)m(e)j(arra)m(y)e(v)-5 b(ariable)24 b(\(see)g(Section)g(6.7)g([Arra)m(ys],)1110 -1307 y(page)31 b(89\).)630 1469 y Ft(-f)384 b Fu(Use)31 -b(function)f(names)g(only)-8 b(.)630 1631 y Ft(-i)384 +1547 y(page)31 b(91\).)630 1707 y Ft(-f)384 b Fu(Use)31 +b(function)f(names)g(only)-8 b(.)630 1867 y Ft(-i)384 b Fu(The)36 b(v)-5 b(ariable)37 b(is)f(to)h(b)s(e)f(treated)h(as)g(an)f (in)m(teger;)41 b(arithmetic)c(ev)-5 b(aluation)1110 -1741 y(\(see)29 b(Section)f(6.5)h([Shell)f(Arithmetic],)i(page)e(87\))h -(is)f(p)s(erformed)e(when)h(the)1110 1851 y(v)-5 b(ariable)31 -b(is)g(assigned)f(a)h(v)-5 b(alue.)630 2013 y Ft(-l)384 +1976 y(\(see)29 b(Section)f(6.5)h([Shell)f(Arithmetic],)i(page)e(89\))h +(is)f(p)s(erformed)e(when)h(the)1110 2086 y(v)-5 b(ariable)31 +b(is)g(assigned)f(a)h(v)-5 b(alue.)630 2246 y Ft(-l)384 b Fu(When)26 b(the)g(v)-5 b(ariable)27 b(is)f(assigned)g(a)g(v)-5 b(alue,)28 b(all)f(upp)s(er-case)e(c)m(haracters)j(are)1110 -2122 y(con)m(v)m(erted)k(to)f(lo)m(w)m(er-case.)43 b(The)30 -b(upp)s(er-case)g(attribute)h(is)g(disabled.)630 2285 +2356 y(con)m(v)m(erted)k(to)f(lo)m(w)m(er-case.)43 b(The)30 +b(upp)s(er-case)g(attribute)h(is)g(disabled.)630 2516 y Ft(-n)384 b Fu(Giv)m(e)28 b(eac)m(h)g Fr(name)k Fu(the)27 b Fr(nameref)44 b Fu(attribute,)28 b(making)f(it)h(a)f(name)f -(reference)1110 2394 y(to)32 b(another)g(v)-5 b(ariable.)46 +(reference)1110 2626 y(to)32 b(another)g(v)-5 b(ariable.)46 b(That)31 b(other)h(v)-5 b(ariable)33 b(is)f(de\014ned)e(b)m(y)i(the)g -(v)-5 b(alue)32 b(of)1110 2504 y Fr(name)p Fu(.)39 b(All)26 -b(references)g(and)f(assignmen)m(ts)h(to)g Fr(name)p -Fu(,)h(except)g(for)e(c)m(hanging)1110 2613 y(the)43 -b Ft(-n)f Fu(attribute)i(itself,)j(are)c(p)s(erformed)f(on)g(the)h(v)-5 -b(ariable)44 b(referenced)1110 2723 y(b)m(y)h Fr(name)5 -b Fu('s)46 b(v)-5 b(alue.)86 b(The)45 b Ft(-n)f Fu(attribute)j(cannot)e -(b)s(e)g(applied)g(to)h(arra)m(y)1110 2833 y(v)-5 b(ariables.)630 -2995 y Ft(-r)384 b Fu(Mak)m(e)25 b Fr(name)5 b Fu(s)23 -b(readonly)-8 b(.)39 b(These)24 b(names)f(cannot)h(then)f(b)s(e)g -(assigned)h(v)-5 b(alues)1110 3104 y(b)m(y)30 b(subsequen)m(t)g -(assignmen)m(t)h(statemen)m(ts)h(or)f(unset.)630 3267 -y Ft(-t)384 b Fu(Giv)m(e)33 b(eac)m(h)h Fr(name)j Fu(the)32 -b Ft(trace)f Fu(attribute.)46 b(T)-8 b(raced)32 b(functions)g(inherit)g -(the)1110 3376 y Ft(DEBUG)26 b Fu(and)h Ft(RETURN)f Fu(traps)h(from)g -(the)h(calling)h(shell.)40 b(The)27 b(trace)i(attribute)1110 -3486 y(has)h(no)g(sp)s(ecial)h(meaning)g(for)f(v)-5 b(ariables.)630 -3648 y Ft(-u)384 b Fu(When)28 b(the)h(v)-5 b(ariable)29 -b(is)f(assigned)h(a)f(v)-5 b(alue,)30 b(all)f(lo)m(w)m(er-case)i(c)m -(haracters)f(are)1110 3758 y(con)m(v)m(erted)i(to)f(upp)s(er-case.)40 -b(The)30 b(lo)m(w)m(er-case)j(attribute)e(is)g(disabled.)630 -3920 y Ft(-x)384 b Fu(Mark)30 b(eac)m(h)h Fr(name)k Fu(for)29 +(v)-5 b(alue)32 b(of)1110 2735 y Fr(name)p Fu(.)54 b(All)35 +b(references,)h(assignmen)m(ts,)h(and)d(attribute)h(mo)s(di\014cations) +g(to)1110 2845 y Fr(name)p Fu(,)27 b(except)f(for)f(those)h(using)f(or) +g(c)m(hanging)h(the)f Ft(-n)g Fu(attribute)h(itself,)i(are)1110 +2954 y(p)s(erformed)22 b(on)h(the)g(v)-5 b(ariable)25 +b(referenced)e(b)m(y)g Fr(name)5 b Fu('s)23 b(v)-5 b(alue.)39 +b(The)23 b(nameref)1110 3064 y(attribute)31 b(cannot)g(b)s(e)f(applied) +g(to)h(arra)m(y)g(v)-5 b(ariables.)630 3224 y Ft(-r)384 +b Fu(Mak)m(e)25 b Fr(name)5 b Fu(s)23 b(readonly)-8 b(.)39 +b(These)24 b(names)f(cannot)h(then)f(b)s(e)g(assigned)h(v)-5 +b(alues)1110 3334 y(b)m(y)30 b(subsequen)m(t)g(assignmen)m(t)h +(statemen)m(ts)h(or)f(unset.)630 3494 y Ft(-t)384 b Fu(Giv)m(e)33 +b(eac)m(h)h Fr(name)j Fu(the)32 b Ft(trace)f Fu(attribute.)46 +b(T)-8 b(raced)32 b(functions)g(inherit)g(the)1110 3603 +y Ft(DEBUG)26 b Fu(and)h Ft(RETURN)f Fu(traps)h(from)g(the)h(calling)h +(shell.)40 b(The)27 b(trace)i(attribute)1110 3713 y(has)h(no)g(sp)s +(ecial)h(meaning)g(for)f(v)-5 b(ariables.)630 3873 y +Ft(-u)384 b Fu(When)28 b(the)h(v)-5 b(ariable)29 b(is)f(assigned)h(a)f +(v)-5 b(alue,)30 b(all)f(lo)m(w)m(er-case)i(c)m(haracters)f(are)1110 +3983 y(con)m(v)m(erted)i(to)f(upp)s(er-case.)40 b(The)30 +b(lo)m(w)m(er-case)j(attribute)e(is)g(disabled.)630 4143 +y Ft(-x)384 b Fu(Mark)30 b(eac)m(h)h Fr(name)k Fu(for)29 b(exp)s(ort)h(to)g(subsequen)m(t)f(commands)h(via)g(the)g(en)m(vi-)1110 -4029 y(ronmen)m(t.)630 4191 y(Using)e(`)p Ft(+)p Fu(')h(instead)f(of)g +4253 y(ronmen)m(t.)630 4413 y(Using)e(`)p Ft(+)p Fu(')h(instead)f(of)g (`)p Ft(-)p Fu(')g(turns)f(o\013)i(the)f(attribute)h(instead,)g(with)f -(the)g(exceptions)h(that)630 4301 y(`)p Ft(+a)p Fu(')h(ma)m(y)h(not)f +(the)g(exceptions)h(that)630 4522 y(`)p Ft(+a)p Fu(')h(ma)m(y)h(not)f (b)s(e)f(used)g(to)i(destro)m(y)g(an)f(arra)m(y)g(v)-5 b(ariable)31 b(and)f(`)p Ft(+r)p Fu(')g(will)g(not)g(remo)m(v)m(e)i -(the)630 4411 y(readonly)e(attribute.)41 b(When)30 b(used)f(in)g(a)h +(the)630 4632 y(readonly)e(attribute.)41 b(When)30 b(used)f(in)g(a)h (function,)g Ft(declare)e Fu(mak)m(es)j(eac)m(h)f Fr(name)35 -b Fu(lo)s(cal,)630 4520 y(as)f(with)f(the)g Ft(local)f +b Fu(lo)s(cal,)630 4741 y(as)f(with)f(the)g Ft(local)f Fu(command,)i(unless)f(the)g Ft(-g)g Fu(option)h(is)f(used.)49 -b(If)33 b(a)h(v)-5 b(ariable)34 b(name)630 4630 y(is)c(follo)m(w)m(ed)i +b(If)33 b(a)h(v)-5 b(ariable)34 b(name)630 4851 y(is)c(follo)m(w)m(ed)i (b)m(y)f(=)p Fr(v)-5 b(alue)p Fu(,)30 b(the)h(v)-5 b(alue)31 b(of)f(the)h(v)-5 b(ariable)31 b(is)g(set)g(to)g Fr(v)-5 -b(alue)p Fu(.)630 4766 y(When)41 b(using)g Ft(-a)g Fu(or)h +b(alue)p Fu(.)630 4986 y(When)41 b(using)g Ft(-a)g Fu(or)h Ft(-A)e Fu(and)h(the)h(comp)s(ound)e(assignmen)m(t)i(syn)m(tax)g(to)g -(create)h(arra)m(y)630 4875 y(v)-5 b(ariables,)28 b(additional)f +(create)h(arra)m(y)630 5096 y(v)-5 b(ariables,)28 b(additional)f (attributes)g(do)f(not)h(tak)m(e)h(e\013ect)g(un)m(til)e(subsequen)m(t) -g(assignmen)m(ts.)630 5011 y(The)35 b(return)f(status)i(is)g(zero)g +g(assignmen)m(ts.)630 5230 y(The)35 b(return)f(status)i(is)g(zero)g (unless)f(an)g(in)m(v)-5 b(alid)36 b(option)g(is)g(encoun)m(tered,)h -(an)f(attempt)630 5121 y(is)c(made)g(to)g(de\014ne)f(a)h(function)g +(an)f(attempt)630 5340 y(is)c(made)g(to)g(de\014ne)f(a)h(function)g (using)f(`)p Ft(-f)f(foo=bar)p Fu(',)h(an)h(attempt)g(is)g(made)g(to)h -(assign)630 5230 y(a)42 b(v)-5 b(alue)43 b(to)g(a)f(readonly)g(v)-5 -b(ariable,)47 b(an)42 b(attempt)h(is)f(made)g(to)h(assign)f(a)h(v)-5 -b(alue)42 b(to)h(an)630 5340 y(arra)m(y)30 b(v)-5 b(ariable)30 +(assign)p eop end +%%Page: 53 59 +TeXDict begin 53 58 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(53)630 299 y(a)42 +b(v)-5 b(alue)43 b(to)g(a)f(readonly)g(v)-5 b(ariable,)47 +b(an)42 b(attempt)h(is)f(made)g(to)h(assign)f(a)h(v)-5 +b(alue)42 b(to)h(an)630 408 y(arra)m(y)30 b(v)-5 b(ariable)30 b(without)g(using)e(the)i(comp)s(ound)e(assignmen)m(t)i(syn)m(tax)g -(\(see)h(Section)f(6.7)p eop end -%%Page: 52 58 -TeXDict begin 52 57 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(52)630 299 y([Arra)m(ys],)47 -b(page)c(89\),)48 b(one)43 b(of)g(the)g Fr(names)k Fu(is)c(not)g(a)g(v) --5 b(alid)43 b(shell)g(v)-5 b(ariable)44 b(name,)i(an)630 -408 y(attempt)28 b(is)f(made)h(to)f(turn)f(o\013)i(readonly)f(status)g +(\(see)h(Section)f(6.7)630 518 y([Arra)m(ys],)47 b(page)c(91\),)48 +b(one)43 b(of)g(the)g Fr(names)k Fu(is)c(not)g(a)g(v)-5 +b(alid)43 b(shell)g(v)-5 b(ariable)44 b(name,)i(an)630 +628 y(attempt)28 b(is)f(made)h(to)f(turn)f(o\013)i(readonly)f(status)g (for)g(a)h(readonly)f(v)-5 b(ariable,)29 b(an)e(attempt)630 -518 y(is)h(made)h(to)g(turn)e(o\013)i(arra)m(y)f(status)h(for)f(an)g +737 y(is)h(made)h(to)g(turn)e(o\013)i(arra)m(y)f(status)h(for)f(an)g (arra)m(y)h(v)-5 b(ariable,)30 b(or)e(an)g(attempt)i(is)e(made)g(to)630 -628 y(displa)m(y)j(a)f(non-existen)m(t)i(function)e(with)g -Ft(-f)p Fu(.)150 785 y Ft(echo)870 918 y(echo)47 b([-neE])f([)p -Fj(arg)g Ft(...])630 1051 y Fu(Output)31 b(the)i Fr(arg)8 +847 y(displa)m(y)j(a)f(non-existen)m(t)i(function)e(with)g +Ft(-f)p Fu(.)150 1005 y Ft(echo)870 1139 y(echo)47 b([-neE])f([)p +Fj(arg)g Ft(...])630 1273 y Fu(Output)31 b(the)i Fr(arg)8 b Fu(s,)33 b(separated)g(b)m(y)g(spaces,)g(terminated)g(with)f(a)h -(newline.)47 b(The)32 b(return)630 1161 y(status)f(is)f(0)h(unless)f(a) +(newline.)47 b(The)32 b(return)630 1383 y(status)f(is)f(0)h(unless)f(a) h(write)g(error)f(o)s(ccurs.)41 b(If)30 b Ft(-n)g Fu(is)h(sp)s -(eci\014ed,)f(the)h(trailing)g(newline)g(is)630 1270 +(eci\014ed,)f(the)h(trailing)g(newline)g(is)630 1492 y(suppressed.)38 b(If)29 b(the)h Ft(-e)f Fu(option)h(is)f(giv)m(en,)i (in)m(terpretation)g(of)e(the)h(follo)m(wing)h(bac)m(kslash-)630 -1380 y(escap)s(ed)43 b(c)m(haracters)h(is)e(enabled.)78 +1602 y(escap)s(ed)43 b(c)m(haracters)h(is)e(enabled.)78 b(The)42 b Ft(-E)g Fu(option)h(disables)g(the)g(in)m(terpretation)h(of) -630 1490 y(these)27 b(escap)s(e)g(c)m(haracters,)i(ev)m(en)e(on)g +630 1711 y(these)27 b(escap)s(e)g(c)m(haracters,)i(ev)m(en)e(on)g (systems)f(where)g(they)h(are)g(in)m(terpreted)g(b)m(y)f(default.)630 -1599 y(The)32 b Ft(xpg_echo)f Fu(shell)i(option)g(ma)m(y)h(b)s(e)e +1821 y(The)32 b Ft(xpg_echo)f Fu(shell)i(option)g(ma)m(y)h(b)s(e)e (used)g(to)h(dynamically)h(determine)f(whether)f(or)630 -1709 y(not)h Ft(echo)f Fu(expands)g(these)h(escap)s(e)h(c)m(haracters)g +1931 y(not)h Ft(echo)f Fu(expands)g(these)h(escap)s(e)h(c)m(haracters)g (b)m(y)f(default.)48 b Ft(echo)32 b Fu(do)s(es)g(not)i(in)m(terpret)630 -1818 y Ft(--)c Fu(to)h(mean)f(the)h(end)f(of)g(options.)630 -1952 y Ft(echo)f Fu(in)m(terprets)i(the)f(follo)m(wing)i(escap)s(e)f -(sequences:)630 2109 y Ft(\\a)384 b Fu(alert)31 b(\(b)s(ell\))630 -2266 y Ft(\\b)384 b Fu(bac)m(kspace)630 2423 y Ft(\\c)g -Fu(suppress)28 b(further)h(output)630 2580 y Ft(\\e)630 -2689 y(\\E)384 b Fu(escap)s(e)630 2846 y Ft(\\f)g Fu(form)30 -b(feed)630 3003 y Ft(\\n)384 b Fu(new)30 b(line)630 3160 -y Ft(\\r)384 b Fu(carriage)32 b(return)630 3317 y Ft(\\t)384 -b Fu(horizon)m(tal)32 b(tab)630 3474 y Ft(\\v)384 b Fu(v)m(ertical)32 -b(tab)630 3631 y Ft(\\\\)384 b Fu(bac)m(kslash)630 3788 +2040 y Ft(--)c Fu(to)h(mean)f(the)h(end)f(of)g(options.)630 +2174 y Ft(echo)f Fu(in)m(terprets)i(the)f(follo)m(wing)i(escap)s(e)f +(sequences:)630 2332 y Ft(\\a)384 b Fu(alert)31 b(\(b)s(ell\))630 +2491 y Ft(\\b)384 b Fu(bac)m(kspace)630 2649 y Ft(\\c)g +Fu(suppress)28 b(further)h(output)630 2807 y Ft(\\e)630 +2917 y(\\E)384 b Fu(escap)s(e)630 3075 y Ft(\\f)g Fu(form)30 +b(feed)630 3233 y Ft(\\n)384 b Fu(new)30 b(line)630 3392 +y Ft(\\r)384 b Fu(carriage)32 b(return)630 3550 y Ft(\\t)384 +b Fu(horizon)m(tal)32 b(tab)630 3708 y Ft(\\v)384 b Fu(v)m(ertical)32 +b(tab)630 3867 y Ft(\\\\)384 b Fu(bac)m(kslash)630 4025 y Ft(\\0)p Fj(nnn)240 b Fu(the)32 b(eigh)m(t-bit)i(c)m(haracter)g (whose)e(v)-5 b(alue)33 b(is)f(the)g(o)s(ctal)i(v)-5 -b(alue)32 b Fr(nnn)f Fu(\(zero)i(to)1110 3898 y(three)e(o)s(ctal)g -(digits\))630 4055 y Ft(\\x)p Fj(HH)288 b Fu(the)38 b(eigh)m(t-bit)i(c) +b(alue)32 b Fr(nnn)f Fu(\(zero)i(to)1110 4134 y(three)e(o)s(ctal)g +(digits\))630 4293 y Ft(\\x)p Fj(HH)288 b Fu(the)38 b(eigh)m(t-bit)i(c) m(haracter)g(whose)e(v)-5 b(alue)39 b(is)f(the)h(hexadecimal)g(v)-5 -b(alue)39 b Fr(HH)1110 4164 y Fu(\(one)31 b(or)f(t)m(w)m(o)i(hex)e -(digits\))630 4321 y Ft(\\u)p Fj(HHHH)192 b Fu(the)41 +b(alue)39 b Fr(HH)1110 4402 y Fu(\(one)31 b(or)f(t)m(w)m(o)i(hex)e +(digits\))630 4561 y Ft(\\u)p Fj(HHHH)192 b Fu(the)41 b(Unico)s(de)g(\(ISO/IEC)f(10646\))j(c)m(haracter)g(whose)e(v)-5 -b(alue)41 b(is)g(the)g(hex-)1110 4431 y(adecimal)32 b(v)-5 +b(alue)41 b(is)g(the)g(hex-)1110 4670 y(adecimal)32 b(v)-5 b(alue)31 b Fr(HHHH)41 b Fu(\(one)31 b(to)g(four)e(hex)h(digits\))630 -4588 y Ft(\\U)p Fj(HHHHHHHH)1110 4697 y Fu(the)41 b(Unico)s(de)g +4829 y Ft(\\U)p Fj(HHHHHHHH)1110 4938 y Fu(the)41 b(Unico)s(de)g (\(ISO/IEC)f(10646\))j(c)m(haracter)g(whose)e(v)-5 b(alue)41 -b(is)g(the)g(hex-)1110 4807 y(adecimal)32 b(v)-5 b(alue)31 +b(is)g(the)g(hex-)1110 5048 y(adecimal)32 b(v)-5 b(alue)31 b Fr(HHHHHHHH)41 b Fu(\(one)31 b(to)g(eigh)m(t)h(hex)e(digits\))150 -4964 y Ft(enable)870 5097 y(enable)46 b([-a])h([-dnps])f([-f)g -Fj(filename)p Ft(])g([)p Fj(name)g Ft(...)o(])630 5230 -y Fu(Enable)36 b(and)f(disable)h(builtin)g(shell)g(commands.)56 -b(Disabling)37 b(a)g(builtin)e(allo)m(ws)i(a)f(disk)630 -5340 y(command)e(whic)m(h)g(has)g(the)g(same)h(name)f(as)h(a)f(shell)h -(builtin)e(to)i(b)s(e)f(executed)h(without)p eop end -%%Page: 53 59 -TeXDict begin 53 58 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(53)630 299 y(sp)s(ecifying)27 -b(a)g(full)g(pathname,)g(ev)m(en)h(though)f(the)g(shell)g(normally)g -(searc)m(hes)h(for)f(builtins)630 408 y(b)s(efore)35 -b(disk)g(commands.)55 b(If)35 b Ft(-n)g Fu(is)g(used,)h(the)g -Fr(name)5 b Fu(s)35 b(b)s(ecome)h(disabled.)55 b(Otherwise)630 -518 y Fr(name)5 b Fu(s)44 b(are)h(enabled.)82 b(F)-8 -b(or)45 b(example,)k(to)c(use)f(the)g Ft(test)f Fu(binary)h(found)f -(via)h Ft($PATH)630 628 y Fu(instead)31 b(of)f(the)h(shell)f(builtin)g -(v)m(ersion,)h(t)m(yp)s(e)g(`)p Ft(enable)e(-n)h(test)p -Fu('.)630 762 y(If)45 b(the)i Ft(-p)e Fu(option)h(is)g(supplied,)j(or)d -(no)g Fr(name)51 b Fu(argumen)m(ts)46 b(app)s(ear,)k(a)c(list)h(of)f -(shell)630 871 y(builtins)37 b(is)h(prin)m(ted.)63 b(With)38 +5206 y Ft(enable)870 5340 y(enable)46 b([-a])h([-dnps])f([-f)g +Fj(filename)p Ft(])g([)p Fj(name)g Ft(...)o(])p eop end +%%Page: 54 60 +TeXDict begin 54 59 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(54)630 299 y(Enable)36 +b(and)f(disable)h(builtin)g(shell)g(commands.)56 b(Disabling)37 +b(a)g(builtin)e(allo)m(ws)i(a)f(disk)630 408 y(command)e(whic)m(h)g +(has)g(the)g(same)h(name)f(as)h(a)f(shell)h(builtin)e(to)i(b)s(e)f +(executed)h(without)630 518 y(sp)s(ecifying)27 b(a)g(full)g(pathname,)g +(ev)m(en)h(though)f(the)g(shell)g(normally)g(searc)m(hes)h(for)f +(builtins)630 628 y(b)s(efore)35 b(disk)g(commands.)55 +b(If)35 b Ft(-n)g Fu(is)g(used,)h(the)g Fr(name)5 b Fu(s)35 +b(b)s(ecome)h(disabled.)55 b(Otherwise)630 737 y Fr(name)5 +b Fu(s)44 b(are)h(enabled.)82 b(F)-8 b(or)45 b(example,)k(to)c(use)f +(the)g Ft(test)f Fu(binary)h(found)f(via)h Ft($PATH)630 +847 y Fu(instead)31 b(of)f(the)h(shell)f(builtin)g(v)m(ersion,)h(t)m +(yp)s(e)g(`)p Ft(enable)e(-n)h(test)p Fu('.)630 983 y(If)45 +b(the)i Ft(-p)e Fu(option)h(is)g(supplied,)j(or)d(no)g +Fr(name)51 b Fu(argumen)m(ts)46 b(app)s(ear,)k(a)c(list)h(of)f(shell) +630 1092 y(builtins)37 b(is)h(prin)m(ted.)63 b(With)38 b(no)f(other)h(argumen)m(ts,)j(the)d(list)g(consists)g(of)g(all)h -(enabled)630 981 y(shell)d(builtins.)57 b(The)35 b Ft(-a)h +(enabled)630 1202 y(shell)d(builtins.)57 b(The)35 b Ft(-a)h Fu(option)g(means)g(to)g(list)h(eac)m(h)g(builtin)f(with)f(an)h -(indication)h(of)630 1090 y(whether)30 b(or)g(not)h(it)g(is)f(enabled.) -630 1224 y(The)22 b Ft(-f)f Fu(option)h(means)g(to)h(load)g(the)f(new)g +(indication)h(of)630 1311 y(whether)30 b(or)g(not)h(it)g(is)f(enabled.) +630 1447 y(The)22 b Ft(-f)f Fu(option)h(means)g(to)h(load)g(the)f(new)g (builtin)f(command)h Fr(name)27 b Fu(from)22 b(shared)f(ob)5 -b(ject)630 1334 y Fr(\014lename)p Fu(,)33 b(on)e(systems)h(that)h(supp) +b(ject)630 1557 y Fr(\014lename)p Fu(,)33 b(on)e(systems)h(that)h(supp) s(ort)d(dynamic)i(loading.)46 b(The)31 b Ft(-d)g Fu(option)h(will)h -(delete)630 1443 y(a)e(builtin)f(loaded)h(with)f Ft(-f)p -Fu(.)630 1577 y(If)j(there)i(are)f(no)g(options,)h(a)f(list)h(of)f(the) +(delete)630 1667 y(a)e(builtin)f(loaded)h(with)f Ft(-f)p +Fu(.)630 1802 y(If)j(there)i(are)f(no)g(options,)h(a)f(list)h(of)f(the) g(shell)g(builtins)g(is)g(displa)m(y)m(ed.)52 b(The)33 -b Ft(-s)g Fu(option)630 1687 y(restricts)j Ft(enable)d +b Ft(-s)g Fu(option)630 1912 y(restricts)j Ft(enable)d Fu(to)j(the)f Fm(posix)f Fu(sp)s(ecial)i(builtins.)54 b(If)34 b Ft(-s)h Fu(is)g(used)f(with)g Ft(-f)p Fu(,)i(the)f(new)630 -1797 y(builtin)30 b(b)s(ecomes)h(a)f(sp)s(ecial)h(builtin)f(\(see)i -(Section)f(4.4)g([Sp)s(ecial)g(Builtins],)g(page)g(68\).)630 -1931 y(The)26 b(return)f(status)h(is)g(zero)h(unless)e(a)i +2022 y(builtin)30 b(b)s(ecomes)h(a)f(sp)s(ecial)h(builtin)f(\(see)i +(Section)f(4.4)g([Sp)s(ecial)g(Builtins],)g(page)g(70\).)630 +2158 y(The)26 b(return)f(status)h(is)g(zero)h(unless)e(a)i Fr(name)k Fu(is)26 b(not)g(a)h(shell)f(builtin)g(or)g(there)g(is)g(an)g -(error)630 2040 y(loading)31 b(a)g(new)f(builtin)g(from)g(a)g(shared)g -(ob)5 b(ject.)150 2198 y Ft(help)870 2332 y(help)47 b([-dms])f([)p -Fj(pattern)p Ft(])630 2466 y Fu(Displa)m(y)40 b(helpful)e(information)h +(error)630 2267 y(loading)31 b(a)g(new)f(builtin)g(from)g(a)g(shared)g +(ob)5 b(ject.)150 2429 y Ft(help)870 2565 y(help)47 b([-dms])f([)p +Fj(pattern)p Ft(])630 2701 y Fu(Displa)m(y)40 b(helpful)e(information)h (ab)s(out)g(builtin)f(commands.)66 b(If)38 b Fr(pattern)h -Fu(is)g(sp)s(eci\014ed,)630 2576 y Ft(help)28 b Fu(giv)m(es)i(detailed) +Fu(is)g(sp)s(eci\014ed,)630 2811 y Ft(help)28 b Fu(giv)m(es)i(detailed) g(help)e(on)h(all)h(commands)e(matc)m(hing)i Fr(pattern)p -Fu(,)g(otherwise)f(a)g(list)h(of)630 2685 y(the)h(builtins)e(is)i(prin) -m(ted.)630 2819 y(Options,)f(if)h(supplied,)e(ha)m(v)m(e)i(the)g(follo) -m(wing)h(meanings:)630 2978 y Ft(-d)384 b Fu(Displa)m(y)32 +Fu(,)g(otherwise)f(a)g(list)h(of)630 2920 y(the)h(builtins)e(is)i(prin) +m(ted.)630 3056 y(Options,)f(if)h(supplied,)e(ha)m(v)m(e)i(the)g(follo) +m(wing)h(meanings:)630 3218 y Ft(-d)384 b Fu(Displa)m(y)32 b(a)e(short)g(description)h(of)f(eac)m(h)i Fr(pattern)630 -3136 y Ft(-m)384 b Fu(Displa)m(y)32 b(the)e(description)g(of)h(eac)m(h) +3381 y Ft(-m)384 b Fu(Displa)m(y)32 b(the)e(description)g(of)h(eac)m(h) h Fr(pattern)e Fu(in)g(a)h(manpage-lik)m(e)h(format)630 -3294 y Ft(-s)384 b Fu(Displa)m(y)32 b(only)e(a)h(short)f(usage)h -(synopsis)e(for)i(eac)m(h)g Fr(pattern)630 3453 y Fu(The)f(return)f +3543 y Ft(-s)384 b Fu(Displa)m(y)32 b(only)e(a)h(short)f(usage)h +(synopsis)e(for)i(eac)m(h)g Fr(pattern)630 3705 y Fu(The)f(return)f (status)i(is)f(zero)h(unless)f(no)g(command)h(matc)m(hes)g -Fr(pattern)p Fu(.)150 3611 y Ft(let)870 3745 y(let)47 +Fr(pattern)p Fu(.)150 3867 y Ft(let)870 4003 y(let)47 b Fj(expression)e Ft([)p Fj(expression)g Ft(...)o(])630 -3879 y Fu(The)c Ft(let)g Fu(builtin)g(allo)m(ws)i(arithmetic)f(to)h(b)s +4139 y Fu(The)c Ft(let)g Fu(builtin)g(allo)m(ws)i(arithmetic)f(to)h(b)s (e)d(p)s(erformed)g(on)i(shell)g(v)-5 b(ariables.)74 -b(Eac)m(h)630 3988 y Fr(expression)31 b Fu(is)g(ev)-5 +b(Eac)m(h)630 4248 y Fr(expression)31 b Fu(is)g(ev)-5 b(aluated)32 b(according)f(to)h(the)f(rules)g(giv)m(en)h(b)s(elo)m(w)f -(in)f(Section)i(6.5)g([Shell)630 4098 y(Arithmetic],)51 -b(page)46 b(87.)87 b(If)45 b(the)g(last)h Fr(expression)g +(in)f(Section)i(6.5)g([Shell)630 4358 y(Arithmetic],)51 +b(page)46 b(89.)87 b(If)45 b(the)g(last)h Fr(expression)g Fu(ev)-5 b(aluates)47 b(to)f(0,)k Ft(let)44 b Fu(returns)g(1;)630 -4208 y(otherwise)31 b(0)g(is)f(returned.)150 4366 y Ft(local)870 -4500 y(local)46 b([)p Fj(option)p Ft(])g Fj(name)p Ft([=)p -Fj(value)p Ft(])e(...)630 4634 y Fu(F)-8 b(or)27 b(eac)m(h)g(argumen)m +4468 y(otherwise)31 b(0)g(is)f(returned.)150 4630 y Ft(local)870 +4766 y(local)46 b([)p Fj(option)p Ft(])g Fj(name)p Ft([=)p +Fj(value)p Ft(])e(...)630 4902 y Fu(F)-8 b(or)27 b(eac)m(h)g(argumen)m (t,)g(a)f(lo)s(cal)h(v)-5 b(ariable)27 b(named)e Fr(name)31 b Fu(is)26 b(created,)i(and)d(assigned)h Fr(v)-5 b(alue)p -Fu(.)630 4743 y(The)37 b Fr(option)h Fu(can)f(b)s(e)g(an)m(y)h(of)f +Fu(.)630 5011 y(The)37 b Fr(option)h Fu(can)f(b)s(e)g(an)m(y)h(of)f (the)h(options)g(accepted)g(b)m(y)g Ft(declare)p Fu(.)59 -b Ft(local)36 b Fu(can)i(only)630 4853 y(b)s(e)j(used)h(within)f(a)i +b Ft(local)36 b Fu(can)i(only)630 5121 y(b)s(e)j(used)h(within)f(a)i (function;)48 b(it)42 b(mak)m(es)h(the)f(v)-5 b(ariable)43 b Fr(name)48 b Fu(ha)m(v)m(e)43 b(a)f(visible)h(scop)s(e)630 -4963 y(restricted)c(to)g(that)g(function)f(and)f(its)i(c)m(hildren.)64 -b(The)38 b(return)f(status)h(is)h(zero)g(unless)630 5072 -y Ft(local)g Fu(is)h(used)g(outside)g(a)h(function,)h(an)e(in)m(v)-5 -b(alid)41 b Fr(name)46 b Fu(is)40 b(supplied,)i(or)e -Fr(name)45 b Fu(is)c(a)630 5182 y(readonly)30 b(v)-5 -b(ariable.)150 5340 y Ft(logout)p eop end -%%Page: 54 60 -TeXDict begin 54 59 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(54)870 299 y Ft(logout)46 -b([)p Fj(n)p Ft(])630 429 y Fu(Exit)31 b(a)g(login)g(shell,)g -(returning)e(a)i(status)g(of)f Fr(n)g Fu(to)h(the)g(shell's)f(paren)m -(t.)150 580 y Ft(mapfile)870 710 y(mapfile)46 b([-n)h -Fj(count)p Ft(])f([-O)h Fj(origin)p Ft(])f([-s)g Fj(count)p -Ft(])h([-t])f([-u)h Fj(fd)p Ft(])1061 819 y([-C)g Fj(callback)p -Ft(])e([-c)i Fj(quantum)p Ft(])f([)p Fj(array)p Ft(])630 -950 y Fu(Read)38 b(lines)f(from)g(the)h(standard)e(input)g(in)m(to)j -(the)e(indexed)g(arra)m(y)h(v)-5 b(ariable)38 b Fr(arra)m(y)p -Fu(,)i(or)630 1059 y(from)28 b(\014le)h(descriptor)f -Fr(fd)k Fu(if)c(the)h Ft(-u)f Fu(option)h(is)g(supplied.)39 -b(The)28 b(v)-5 b(ariable)29 b Ft(MAPFILE)e Fu(is)i(the)630 -1169 y(default)i Fr(arra)m(y)p Fu(.)41 b(Options,)30 +5230 y(restricted)h(to)f(that)h(function)e(and)g(its)i(c)m(hildren.)78 +b(If)42 b Fr(name)48 b Fu(is)43 b(`)p Ft(-)p Fu(',)j(the)d(set)h(of)f +(shell)630 5340 y(options)34 b(is)f(made)g(lo)s(cal)i(to)f(the)f +(function)g(in)g(whic)m(h)g Ft(local)f Fu(is)h(in)m(v)m(ok)m(ed:)48 +b(shell)34 b(options)p eop end +%%Page: 55 61 +TeXDict begin 55 60 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(55)630 299 y(c)m(hanged)32 +b(using)e(the)i Ft(set)e Fu(builtin)h(inside)g(the)g(function)g(are)g +(restored)h(to)g(their)f(original)630 408 y(v)-5 b(alues)25 +b(when)e(the)i(function)f(returns.)37 b(The)24 b(return)f(status)i(is)f +(zero)i(unless)d Ft(local)g Fu(is)i(used)630 518 y(outside)k(a)f +(function,)h(an)f(in)m(v)-5 b(alid)29 b Fr(name)k Fu(is)28 +b(supplied,)g(or)g Fr(name)34 b Fu(is)28 b(a)h(readonly)f(v)-5 +b(ariable.)150 681 y Ft(logout)870 817 y(logout)46 b([)p +Fj(n)p Ft(])630 953 y Fu(Exit)31 b(a)g(login)g(shell,)g(returning)e(a)i +(status)g(of)f Fr(n)g Fu(to)h(the)g(shell's)f(paren)m(t.)150 +1116 y Ft(mapfile)870 1252 y(mapfile)46 b([-d)h Fj(delim)p +Ft(])f([-n)h Fj(count)p Ft(])f([-O)h Fj(origin)p Ft(])f([-s)g +Fj(count)p Ft(])h([-t])f([-u)h Fj(fd)p Ft(])1061 1362 +y([-C)g Fj(callback)p Ft(])e([-c)i Fj(quantum)p Ft(])f([)p +Fj(array)p Ft(])630 1498 y Fu(Read)38 b(lines)f(from)g(the)h(standard)e +(input)g(in)m(to)j(the)e(indexed)g(arra)m(y)h(v)-5 b(ariable)38 +b Fr(arra)m(y)p Fu(,)i(or)630 1607 y(from)28 b(\014le)h(descriptor)f +Fr(fd)k Fu(if)c(the)h Ft(-u)f Fu(option)h(is)g(supplied.)39 +b(The)28 b(v)-5 b(ariable)29 b Ft(MAPFILE)e Fu(is)i(the)630 +1717 y(default)i Fr(arra)m(y)p Fu(.)41 b(Options,)30 b(if)g(supplied,)g(ha)m(v)m(e)h(the)g(follo)m(wing)h(meanings:)630 -1319 y Ft(-n)384 b Fu(Cop)m(y)30 b(at)h(most)g Fr(coun)m(t)i -Fu(lines.)41 b(If)30 b Fr(coun)m(t)j Fu(is)d(0,)h(all)h(lines)e(are)h -(copied.)630 1470 y Ft(-O)384 b Fu(Begin)31 b(assigning)g(to)g -Fr(arra)m(y)39 b Fu(at)31 b(index)f Fr(origin)p Fu(.)41 -b(The)30 b(default)h(index)f(is)g(0.)630 1621 y Ft(-s)384 -b Fu(Discard)31 b(the)f(\014rst)g Fr(coun)m(t)j Fu(lines)e(read.)630 -1771 y Ft(-t)384 b Fu(Remo)m(v)m(e)32 b(a)f(trailing)g(newline)g(from)f -(eac)m(h)h(line)g(read.)630 1922 y Ft(-u)384 b Fu(Read)31 -b(lines)f(from)g(\014le)h(descriptor)f Fr(fd)j Fu(instead)e(of)f(the)h -(standard)e(input.)630 2073 y Ft(-C)384 b Fu(Ev)-5 b(aluate)33 -b Fr(callbac)m(k)39 b Fu(eac)m(h)33 b(time)f Fr(quan)m(tum)p -Fu(P)f(lines)h(are)g(read.)45 b(The)31 b Ft(-c)g Fu(op-)1110 -2182 y(tion)g(sp)s(eci\014es)f Fr(quan)m(tum)p Fu(.)630 -2333 y Ft(-c)384 b Fu(Sp)s(ecify)30 b(the)g(n)m(um)m(b)s(er)f(of)i -(lines)f(read)h(b)s(et)m(w)m(een)g(eac)m(h)g(call)h(to)f -Fr(callbac)m(k)p Fu(.)630 2484 y(If)36 b Ft(-C)g Fu(is)g(sp)s -(eci\014ed)g(without)g Ft(-c)p Fu(,)h(the)g(default)f(quan)m(tum)g(is)h -(5000.)60 b(When)36 b Fr(callbac)m(k)44 b Fu(is)630 2593 -y(ev)-5 b(aluated,)30 b(it)e(is)g(supplied)f(the)h(index)f(of)i(the)f -(next)g(arra)m(y)g(elemen)m(t)h(to)g(b)s(e)e(assigned)i(and)630 -2703 y(the)39 b(line)g(to)h(b)s(e)e(assigned)h(to)h(that)f(elemen)m(t)i -(as)e(additional)h(argumen)m(ts.)66 b Fr(callbac)m(k)47 -b Fu(is)630 2813 y(ev)-5 b(aluated)32 b(after)e(the)h(line)g(is)f(read) -g(but)g(b)s(efore)g(the)h(arra)m(y)g(elemen)m(t)g(is)g(assigned.)630 -2943 y(If)25 b(not)g(supplied)f(with)h(an)g(explicit)i(origin,)g +1880 y Ft(-d)384 b Fu(The)37 b(\014rst)g(c)m(haracter)i(of)f +Fr(delim)g Fu(is)f(used)g(to)h(terminate)h(eac)m(h)g(input)d(line,)1110 +1989 y(rather)30 b(than)g(newline.)630 2152 y Ft(-n)384 +b Fu(Cop)m(y)30 b(at)h(most)g Fr(coun)m(t)i Fu(lines.)41 +b(If)30 b Fr(coun)m(t)j Fu(is)d(0,)h(all)h(lines)e(are)h(copied.)630 +2315 y Ft(-O)384 b Fu(Begin)31 b(assigning)g(to)g Fr(arra)m(y)39 +b Fu(at)31 b(index)f Fr(origin)p Fu(.)41 b(The)30 b(default)h(index)f +(is)g(0.)630 2477 y Ft(-s)384 b Fu(Discard)31 b(the)f(\014rst)g +Fr(coun)m(t)j Fu(lines)e(read.)630 2640 y Ft(-t)384 b +Fu(Remo)m(v)m(e)32 b(a)f(trailing)g Fr(delim)g Fu(\(default)g +(newline\))f(from)g(eac)m(h)i(line)f(read.)630 2803 y +Ft(-u)384 b Fu(Read)31 b(lines)f(from)g(\014le)h(descriptor)f +Fr(fd)j Fu(instead)e(of)f(the)h(standard)e(input.)630 +2966 y Ft(-C)384 b Fu(Ev)-5 b(aluate)33 b Fr(callbac)m(k)39 +b Fu(eac)m(h)33 b(time)f Fr(quan)m(tum)p Fu(P)f(lines)h(are)g(read.)45 +b(The)31 b Ft(-c)g Fu(op-)1110 3075 y(tion)g(sp)s(eci\014es)f +Fr(quan)m(tum)p Fu(.)630 3238 y Ft(-c)384 b Fu(Sp)s(ecify)30 +b(the)g(n)m(um)m(b)s(er)f(of)i(lines)f(read)h(b)s(et)m(w)m(een)g(eac)m +(h)g(call)h(to)f Fr(callbac)m(k)p Fu(.)630 3401 y(If)36 +b Ft(-C)g Fu(is)g(sp)s(eci\014ed)g(without)g Ft(-c)p +Fu(,)h(the)g(default)f(quan)m(tum)g(is)h(5000.)60 b(When)36 +b Fr(callbac)m(k)44 b Fu(is)630 3510 y(ev)-5 b(aluated,)30 +b(it)e(is)g(supplied)f(the)h(index)f(of)i(the)f(next)g(arra)m(y)g +(elemen)m(t)h(to)g(b)s(e)e(assigned)i(and)630 3620 y(the)39 +b(line)g(to)h(b)s(e)e(assigned)h(to)h(that)f(elemen)m(t)i(as)e +(additional)h(argumen)m(ts.)66 b Fr(callbac)m(k)47 b +Fu(is)630 3729 y(ev)-5 b(aluated)32 b(after)e(the)h(line)g(is)f(read)g +(but)g(b)s(efore)g(the)h(arra)m(y)g(elemen)m(t)g(is)g(assigned.)630 +3866 y(If)25 b(not)g(supplied)f(with)h(an)g(explicit)i(origin,)g Ft(mapfile)c Fu(will)j(clear)g Fr(arra)m(y)34 b Fu(b)s(efore)24 -b(assigning)630 3052 y(to)31 b(it.)630 3182 y Ft(mapfile)41 +b(assigning)630 3975 y(to)31 b(it.)630 4111 y Ft(mapfile)41 b Fu(returns)g(successfully)i(unless)e(an)i(in)m(v)-5 b(alid)43 b(option)g(or)g(option)g(argumen)m(t)g(is)630 -3292 y(supplied,)29 b Fr(arra)m(y)39 b Fu(is)30 b(in)m(v)-5 +4221 y(supplied,)29 b Fr(arra)m(y)39 b Fu(is)30 b(in)m(v)-5 b(alid)31 b(or)g(unassignable,)f(or)h Fr(arra)m(y)38 b Fu(is)31 b(not)f(an)h(indexed)e(arra)m(y)-8 b(.)150 -3443 y Ft(printf)870 3573 y(printf)46 b([-v)h Fj(var)p -Ft(])g Fj(format)f Ft([)p Fj(arguments)p Ft(])630 3703 +4384 y Ft(printf)870 4520 y(printf)46 b([-v)h Fj(var)p +Ft(])g Fj(format)f Ft([)p Fj(arguments)p Ft(])630 4656 y Fu(W)-8 b(rite)27 b(the)g(formatted)f Fr(argumen)m(ts)k Fu(to)d(the)f(standard)f(output)h(under)e(the)i(con)m(trol)i(of)e(the) -630 3813 y Fr(format)p Fu(.)66 b(The)39 b Ft(-v)f Fu(option)h(causes)g +630 4765 y Fr(format)p Fu(.)66 b(The)39 b Ft(-v)f Fu(option)h(causes)g (the)g(output)g(to)g(b)s(e)f(assigned)h(to)h(the)f(v)-5 -b(ariable)39 b Fr(v)-5 b(ar)630 3922 y Fu(rather)30 b(than)g(b)s(eing)g -(prin)m(ted)g(to)h(the)g(standard)e(output.)630 4052 +b(ariable)39 b Fr(v)-5 b(ar)630 4875 y Fu(rather)30 b(than)g(b)s(eing)g +(prin)m(ted)g(to)h(the)g(standard)e(output.)630 5011 y(The)36 b Fr(format)i Fu(is)f(a)f(c)m(haracter)i(string)e(whic)m(h)g (con)m(tains)i(three)e(t)m(yp)s(es)g(of)h(ob)5 b(jects:)53 -b(plain)630 4162 y(c)m(haracters,)41 b(whic)m(h)c(are)h(simply)e +b(plain)630 5121 y(c)m(haracters,)41 b(whic)m(h)c(are)h(simply)e (copied)i(to)g(standard)f(output,)i(c)m(haracter)g(escap)s(e)e(se-)630 -4271 y(quences,)g(whic)m(h)f(are)g(con)m(v)m(erted)h(and)f(copied)g(to) -g(the)g(standard)f(output,)i(and)f(format)630 4381 y(sp)s +5230 y(quences,)g(whic)m(h)f(are)g(con)m(v)m(erted)h(and)f(copied)g(to) +g(the)g(standard)f(output,)i(and)f(format)630 5340 y(sp)s (eci\014cations,)j(eac)m(h)e(of)g(whic)m(h)f(causes)g(prin)m(ting)g(of) -h(the)f(next)h(successiv)m(e)g Fr(argumen)m(t)p Fu(.)630 -4491 y(In)24 b(addition)h(to)g(the)g(standard)f Ft(printf\(1\))e -Fu(formats,)27 b Ft(printf)c Fu(in)m(terprets)i(the)f(follo)m(wing)630 -4600 y(extensions:)630 4751 y Ft(\045b)384 b Fu(Causes)30 -b Ft(printf)e Fu(to)j(expand)f(bac)m(kslash)h(escap)s(e)f(sequences)h -(in)f(the)g(corre-)1110 4861 y(sp)s(onding)19 b Fr(argumen)m(t)p -Fu(,)24 b(except)e(that)g(`)p Ft(\\c)p Fu(')e(terminates)i(output,)h -(bac)m(kslashes)1110 4970 y(in)k(`)p Ft(\\')p Fu(',)h(`)p -Ft(\\")p Fu(',)g(and)f(`)p Ft(\\?)p Fu(')g(are)h(not)f(remo)m(v)m(ed,)j -(and)c(o)s(ctal)j(escap)s(es)f(b)s(eginning)1110 5080 -y(with)i(`)p Ft(\\0)p Fu(')g(ma)m(y)h(con)m(tain)h(up)d(to)i(four)f -(digits.)630 5230 y Ft(\045q)384 b Fu(Causes)32 b Ft(printf)e +h(the)f(next)h(successiv)m(e)g Fr(argumen)m(t)p Fu(.)p +eop end +%%Page: 56 62 +TeXDict begin 56 61 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(56)630 299 y(In)24 +b(addition)h(to)g(the)g(standard)f Ft(printf\(1\))e Fu(formats,)27 +b Ft(printf)c Fu(in)m(terprets)i(the)f(follo)m(wing)630 +408 y(extensions:)630 596 y Ft(\045b)384 b Fu(Causes)38 +b Ft(printf)f Fu(to)j(expand)e(bac)m(kslash)h(escap)s(e)g(sequences)g +(in)f(the)h(cor-)1110 706 y(resp)s(onding)31 b Fr(argumen)m(t)j +Fu(in)e(the)h(same)f(w)m(a)m(y)h(as)g Ft(echo)c(-e)j +Fu(\(see)h(Section)g(4.2)1110 816 y([Bash)e(Builtins],)g(page)g(49\).) +630 1003 y Ft(\045q)384 b Fu(Causes)32 b Ft(printf)e Fu(to)i(output)g(the)g(corresp)s(onding)f Fr(argumen)m(t)j -Fu(in)d(a)i(format)1110 5340 y(that)e(can)g(b)s(e)e(reused)h(as)h -(shell)f(input.)p eop end -%%Page: 55 61 -TeXDict begin 55 60 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(55)630 299 y Ft(\045\()p -Fj(datefmt)p Ft(\)T)1110 408 y Fu(Causes)29 b Ft(printf)e -Fu(to)j(output)f(the)g(date-time)i(string)e(resulting)h(from)e(using) -1110 518 y Fr(datefm)m(t)45 b Fu(as)d(a)g(format)g(string)g(for)g -Ft(strftime)p Fu(\(3\).)74 b(The)41 b(corresp)s(onding)1110 -628 y Fr(argumen)m(t)h Fu(is)e(an)g(in)m(teger)i(represen)m(ting)e(the) -g(n)m(um)m(b)s(er)f(of)h(seconds)g(since)1110 737 y(the)24 -b(ep)s(o)s(c)m(h.)38 b(Tw)m(o)24 b(sp)s(ecial)h(argumen)m(t)f(v)-5 -b(alues)24 b(ma)m(y)h(b)s(e)e(used:)36 b(-1)25 b(represen)m(ts)1110 -847 y(the)30 b(curren)m(t)g(time,)h(and)e(-2)i(represen)m(ts)f(the)g +Fu(in)d(a)i(format)1110 1113 y(that)e(can)g(b)s(e)e(reused)h(as)h +(shell)f(input.)630 1301 y Ft(\045\()p Fj(datefmt)p Ft(\)T)1110 +1410 y Fu(Causes)f Ft(printf)e Fu(to)j(output)f(the)g(date-time)i +(string)e(resulting)h(from)e(using)1110 1520 y Fr(datefm)m(t)45 +b Fu(as)d(a)g(format)g(string)g(for)g Ft(strftime)p Fu(\(3\).)74 +b(The)41 b(corresp)s(onding)1110 1630 y Fr(argumen)m(t)h +Fu(is)e(an)g(in)m(teger)i(represen)m(ting)e(the)g(n)m(um)m(b)s(er)f(of) +h(seconds)g(since)1110 1739 y(the)24 b(ep)s(o)s(c)m(h.)38 +b(Tw)m(o)24 b(sp)s(ecial)h(argumen)m(t)f(v)-5 b(alues)24 +b(ma)m(y)h(b)s(e)e(used:)36 b(-1)25 b(represen)m(ts)1110 +1849 y(the)30 b(curren)m(t)g(time,)h(and)e(-2)i(represen)m(ts)f(the)g (time)h(the)f(shell)g(w)m(as)g(in)m(v)m(ok)m(ed.)1110 -956 y(If)38 b(no)g(argumen)m(t)h(is)f(sp)s(eci\014ed,)i(con)m(v)m +1958 y(If)38 b(no)g(argumen)m(t)h(is)f(sp)s(eci\014ed,)i(con)m(v)m (ersion)f(b)s(eha)m(v)m(es)g(as)g(if)f(-1)h(had)f(b)s(een)1110 -1066 y(giv)m(en.)k(This)29 b(is)i(an)f(exception)i(to)f(the)f(usual)g -Ft(printf)f Fu(b)s(eha)m(vior.)630 1230 y(Argumen)m(ts)f(to)h +2068 y(giv)m(en.)k(This)29 b(is)i(an)f(exception)i(to)f(the)f(usual)g +Ft(printf)f Fu(b)s(eha)m(vior.)630 2256 y(Argumen)m(ts)f(to)h (non-string)e(format)i(sp)s(eci\014ers)e(are)h(treated)h(as)g(C)e -(language)j(constan)m(ts,)630 1340 y(except)22 b(that)g(a)g(leading)g +(language)j(constan)m(ts,)630 2365 y(except)22 b(that)g(a)g(leading)g (plus)e(or)h(min)m(us)f(sign)i(is)f(allo)m(w)m(ed,)k(and)c(if)g(the)g -(leading)h(c)m(haracter)h(is)630 1450 y(a)i(single)g(or)f(double)h +(leading)h(c)m(haracter)h(is)630 2475 y(a)i(single)g(or)f(double)h (quote,)h(the)f(v)-5 b(alue)25 b(is)f(the)h(ASCI)s(I)e(v)-5 b(alue)25 b(of)f(the)h(follo)m(wing)h(c)m(haracter.)630 -1587 y(The)31 b Fr(format)i Fu(is)f(reused)e(as)i(necessary)f(to)i +2624 y(The)31 b Fr(format)i Fu(is)f(reused)e(as)i(necessary)f(to)i (consume)e(all)h(of)f(the)h Fr(argumen)m(ts)p Fu(.)44 -b(If)30 b(the)i Fr(for-)630 1696 y(mat)c Fu(requires)e(more)g +b(If)30 b(the)i Fr(for-)630 2733 y(mat)c Fu(requires)e(more)g Fr(argumen)m(ts)k Fu(than)25 b(are)i(supplied,)e(the)h(extra)h(format)f -(sp)s(eci\014cations)630 1806 y(b)s(eha)m(v)m(e)j(as)g(if)f(a)h(zero)g +(sp)s(eci\014cations)630 2843 y(b)s(eha)m(v)m(e)j(as)g(if)f(a)h(zero)g (v)-5 b(alue)29 b(or)g(n)m(ull)f(string,)h(as)g(appropriate,)g(had)f(b) -s(een)g(supplied.)38 b(The)630 1915 y(return)29 b(v)-5 +s(een)g(supplied.)38 b(The)630 2952 y(return)29 b(v)-5 b(alue)31 b(is)g(zero)g(on)f(success,)h(non-zero)g(on)f(failure.)150 -2080 y Ft(read)870 2217 y(read)47 b([-ers])f([-a)h Fj(aname)p +3140 y Ft(read)870 3289 y(read)47 b([-ers])f([-a)h Fj(aname)p Ft(])f([-d)h Fj(delim)p Ft(])f([-i)h Fj(text)p Ft(])f([-n)h -Fj(nchars)p Ft(])1061 2326 y([-N)g Fj(nchars)p Ft(])f([-p)h +Fj(nchars)p Ft(])1061 3399 y([-N)g Fj(nchars)p Ft(])f([-p)h Fj(prompt)p Ft(])e([-t)i Fj(timeout)p Ft(])f([-u)h Fj(fd)p -Ft(])g([)p Fj(name)f Ft(...)o(])630 2463 y Fu(One)26 -b(line)h(is)g(read)f(from)h(the)f(standard)g(input,)h(or)g(from)f(the)h -(\014le)f(descriptor)h Fr(fd)i Fu(supplied)630 2573 y(as)23 -b(an)g(argumen)m(t)h(to)f(the)h Ft(-u)e Fu(option,)j(and)e(the)g -(\014rst)f(w)m(ord)h(is)g(assigned)g(to)h(the)f(\014rst)g -Fr(name)p Fu(,)630 2682 y(the)32 b(second)g(w)m(ord)f(to)i(the)f -(second)g Fr(name)p Fu(,)g(and)g(so)g(on,)g(with)f(lefto)m(v)m(er)j(w)m -(ords)e(and)f(their)630 2792 y(in)m(terv)m(ening)f(separators)g -(assigned)g(to)g(the)g(last)g Fr(name)p Fu(.)40 b(If)29 -b(there)h(are)g(few)m(er)f(w)m(ords)g(read)630 2902 y(from)36 -b(the)i(input)d(stream)j(than)e(names,)j(the)e(remaining)g(names)g(are) -g(assigned)h(empt)m(y)630 3011 y(v)-5 b(alues.)40 b(The)26 -b(c)m(haracters)j(in)d(the)i(v)-5 b(alue)27 b(of)g(the)g -Ft(IFS)f Fu(v)-5 b(ariable)28 b(are)f(used)g(to)g(split)g(the)h(line) -630 3121 y(in)m(to)36 b(w)m(ords)e(using)g(the)h(same)g(rules)f(the)h -(shell)g(uses)f(for)g(expansion)h(\(describ)s(ed)f(ab)s(o)m(v)m(e)630 -3230 y(in)j(Section)h(3.5.7)i([W)-8 b(ord)38 b(Splitting],)i(page)e -(29\).)63 b(The)37 b(bac)m(kslash)h(c)m(haracter)h(`)p -Ft(\\)p Fu(')e(ma)m(y)630 3340 y(b)s(e)28 b(used)g(to)i(remo)m(v)m(e)g -(an)m(y)f(sp)s(ecial)h(meaning)f(for)g(the)g(next)g(c)m(haracter)h -(read)f(and)f(for)h(line)630 3450 y(con)m(tin)m(uation.)42 -b(If)27 b(no)h(names)f(are)h(supplied,)g(the)f(line)h(read)g(is)g -(assigned)g(to)g(the)g(v)-5 b(ariable)630 3559 y Ft(REPLY)p -Fu(.)37 b(The)23 b(return)f(co)s(de)h(is)g(zero,)j(unless)d -(end-of-\014le)g(is)h(encoun)m(tered,)h Ft(read)d Fu(times)i(out)630 -3669 y(\(in)k(whic)m(h)f(case)i(the)e(return)g(co)s(de)h(is)f(greater)i -(than)f(128\),)i(a)e(v)-5 b(ariable)28 b(assignmen)m(t)g(error)630 -3778 y(\(suc)m(h)g(as)h(assigning)g(to)g(a)f(readonly)h(v)-5 -b(ariable\))29 b(o)s(ccurs,)g(or)f(an)g(in)m(v)-5 b(alid)29 -b(\014le)g(descriptor)f(is)630 3888 y(supplied)h(as)i(the)f(argumen)m -(t)h(to)g Ft(-u)p Fu(.)630 4025 y(Options,)f(if)h(supplied,)e(ha)m(v)m -(e)i(the)g(follo)m(wing)h(meanings:)630 4189 y Ft(-a)e -Fj(aname)114 b Fu(The)34 b(w)m(ords)f(are)i(assigned)f(to)h(sequen)m +Ft(])g([)p Fj(name)f Ft(...)o(])630 3547 y Fu(One)38 +b(line)g(is)g(read)g(from)g(the)g(standard)f(input,)j(or)e(from)f(the)i +(\014le)f(descriptor)g Fr(fd)j Fu(sup-)630 3657 y(plied)34 +b(as)h(an)f(argumen)m(t)h(to)g(the)f Ft(-u)g Fu(option,)i(split)f(in)m +(to)g(w)m(ords)f(as)g(describ)s(ed)g(ab)s(o)m(v)m(e)h(in)630 +3767 y(Section)j(3.5.7)h([W)-8 b(ord)38 b(Splitting],)i(page)e(30,)j +(and)36 b(the)i(\014rst)f(w)m(ord)g(is)g(assigned)h(to)g(the)630 +3876 y(\014rst)32 b Fr(name)p Fu(,)h(the)g(second)g(w)m(ord)f(to)h(the) +g(second)g Fr(name)p Fu(,)g(and)f(so)h(on.)47 b(If)32 +b(there)h(are)g(more)630 3986 y(w)m(ords)39 b(than)g(names,)j(the)e +(remaining)f(w)m(ords)g(and)g(their)h(in)m(terv)m(ening)g(delimiters)h +(are)630 4095 y(assigned)29 b(to)h(the)g(last)g Fr(name)p +Fu(.)40 b(If)29 b(there)g(are)h(few)m(er)f(w)m(ords)g(read)g(from)g +(the)g(input)g(stream)630 4205 y(than)35 b(names,)i(the)e(remaining)h +(names)f(are)h(assigned)f(empt)m(y)h(v)-5 b(alues.)56 +b(The)34 b(c)m(haracters)630 4315 y(in)e(the)h(v)-5 b(alue)33 +b(of)g(the)g Ft(IFS)f Fu(v)-5 b(ariable)33 b(are)h(used)d(to)j(split)f +(the)g(line)g(in)m(to)g(w)m(ords)g(using)f(the)630 4424 +y(same)d(rules)f(the)g(shell)h(uses)f(for)g(expansion)g(\(describ)s(ed) +g(ab)s(o)m(v)m(e)i(in)e(Section)h(3.5.7)h([W)-8 b(ord)630 +4534 y(Splitting],)38 b(page)f(30\).)60 b(The)35 b(bac)m(kslash)i(c)m +(haracter)h(`)p Ft(\\)p Fu(')e(ma)m(y)h(b)s(e)f(used)f(to)i(remo)m(v)m +(e)h(an)m(y)630 4643 y(sp)s(ecial)i(meaning)g(for)f(the)g(next)h(c)m +(haracter)h(read)e(and)g(for)g(line)h(con)m(tin)m(uation.)69 +b(If)39 b(no)630 4753 y(names)c(are)h(supplied,)f(the)h(line)g(read)f +(is)g(assigned)h(to)g(the)f(v)-5 b(ariable)36 b Ft(REPLY)p +Fu(.)54 b(The)35 b(exit)630 4862 y(status)f(is)f(zero,)i(unless)e +(end-of-\014le)h(is)f(encoun)m(tered,)i Ft(read)e Fu(times)h(out)f +(\(in)h(whic)m(h)f(case)630 4972 y(the)g(status)h(is)f(greater)i(than)e +(128\),)j(a)e(v)-5 b(ariable)34 b(assignmen)m(t)g(error)f(\(suc)m(h)g +(as)g(assigning)630 5082 y(to)38 b(a)f(readonly)g(v)-5 +b(ariable\))38 b(o)s(ccurs,)h(or)e(an)g(in)m(v)-5 b(alid)38 +b(\014le)f(descriptor)g(is)g(supplied)e(as)j(the)630 +5191 y(argumen)m(t)31 b(to)g Ft(-u)p Fu(.)630 5340 y(Options,)f(if)h +(supplied,)e(ha)m(v)m(e)i(the)g(follo)m(wing)h(meanings:)p +eop end +%%Page: 57 63 +TeXDict begin 57 62 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(57)630 299 y Ft(-a)30 +b Fj(aname)114 b Fu(The)34 b(w)m(ords)f(are)i(assigned)f(to)h(sequen)m (tial)h(indices)e(of)g(the)g(arra)m(y)h(v)-5 b(ariable)1110 -4299 y Fr(aname)p Fu(,)29 b(starting)h(at)f(0.)40 b(All)29 +408 y Fr(aname)p Fu(,)29 b(starting)h(at)f(0.)40 b(All)29 b(elemen)m(ts)h(are)e(remo)m(v)m(ed)i(from)d Fr(aname)34 -b Fu(b)s(efore)1110 4408 y(the)d(assignmen)m(t.)41 b(Other)30 +b Fu(b)s(efore)1110 518 y(the)d(assignmen)m(t.)41 b(Other)30 b Fr(name)36 b Fu(argumen)m(ts)30 b(are)h(ignored.)630 -4573 y Ft(-d)f Fj(delim)114 b Fu(The)41 b(\014rst)h(c)m(haracter)h(of)f +667 y Ft(-d)f Fj(delim)114 b Fu(The)41 b(\014rst)h(c)m(haracter)h(of)f Fr(delim)g Fu(is)g(used)g(to)g(terminate)h(the)f(input)f(line,)1110 -4682 y(rather)30 b(than)g(newline.)630 4847 y Ft(-e)384 +777 y(rather)30 b(than)g(newline.)630 927 y Ft(-e)384 b Fu(Readline)46 b(\(see)g(Chapter)e(8)h([Command)f(Line)h(Editing],)50 -b(page)45 b(101\))i(is)1110 4956 y(used)37 b(to)i(obtain)g(the)f(line.) +b(page)45 b(104\))i(is)1110 1036 y(used)37 b(to)i(obtain)g(the)f(line.) 65 b(Readline)39 b(uses)e(the)i(curren)m(t)f(\(or)g(default,)j(if)1110 -5066 y(line)31 b(editing)g(w)m(as)f(not)h(previously)f(activ)m(e\))j -(editing)e(settings.)630 5230 y Ft(-i)f Fj(text)162 b +1146 y(line)31 b(editing)g(w)m(as)f(not)h(previously)f(activ)m(e\))j +(editing)e(settings.)630 1295 y Ft(-i)f Fj(text)162 b Fu(If)36 b(Readline)i(is)f(b)s(eing)g(used)f(to)h(read)g(the)g(line,)j -Fr(text)f Fu(is)e(placed)h(in)m(to)g(the)1110 5340 y(editing)31 -b(bu\013er)e(b)s(efore)h(editing)h(b)s(egins.)p eop end -%%Page: 56 62 -TeXDict begin 56 61 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(56)630 299 y Ft(-n)30 -b Fj(nchars)66 b Ft(read)38 b Fu(returns)f(after)j(reading)f +Fr(text)f Fu(is)e(placed)h(in)m(to)g(the)1110 1405 y(editing)31 +b(bu\013er)e(b)s(efore)h(editing)h(b)s(egins.)630 1554 +y Ft(-n)f Fj(nchars)66 b Ft(read)38 b Fu(returns)f(after)j(reading)f Fr(nc)m(hars)j Fu(c)m(haracters)e(rather)f(than)g(w)m(aiting)1110 -408 y(for)g(a)h(complete)h(line)f(of)f(input,)i(but)e(honor)g(a)h -(delimiter)g(if)f(few)m(er)h(than)1110 518 y Fr(nc)m(hars)34 -b Fu(c)m(haracters)e(are)e(read)h(b)s(efore)f(the)g(delimiter.)630 -673 y Ft(-N)g Fj(nchars)66 b Ft(read)39 b Fu(returns)f(after)j(reading) -e(exactly)j Fr(nc)m(hars)h Fu(c)m(haracters)f(rather)d(than)1110 -783 y(w)m(aiting)32 b(for)f(a)g(complete)i(line)e(of)g(input,)g(unless) -f(EOF)h(is)g(encoun)m(tered)g(or)1110 892 y Ft(read)f -Fu(times)i(out.)43 b(Delimiter)33 b(c)m(haracters)f(encoun)m(tered)g -(in)f(the)g(input)g(are)1110 1002 y(not)g(treated)h(sp)s(ecially)f(and) -f(do)h(not)g(cause)g Ft(read)e Fu(to)j(return)d(un)m(til)i -Fr(nc)m(hars)1110 1112 y Fu(c)m(haracters)h(are)f(read.)630 -1267 y Ft(-p)f Fj(prompt)66 b Fu(Displa)m(y)38 b Fr(prompt)p +1664 y(for)d(a)h(complete)h(line)f(of)g(input,)g(but)f(honors)g(a)h +(delimiter)g(if)f(few)m(er)h(than)1110 1773 y Fr(nc)m(hars)d +Fu(c)m(haracters)e(are)e(read)h(b)s(efore)f(the)g(delimiter.)630 +1923 y Ft(-N)g Fj(nchars)66 b Ft(read)39 b Fu(returns)f(after)j +(reading)e(exactly)j Fr(nc)m(hars)h Fu(c)m(haracters)f(rather)d(than) +1110 2032 y(w)m(aiting)32 b(for)f(a)g(complete)i(line)e(of)g(input,)g +(unless)f(EOF)h(is)g(encoun)m(tered)g(or)1110 2142 y +Ft(read)f Fu(times)i(out.)43 b(Delimiter)33 b(c)m(haracters)f(encoun)m +(tered)g(in)f(the)g(input)g(are)1110 2252 y(not)g(treated)h(sp)s +(ecially)f(and)f(do)h(not)g(cause)g Ft(read)e Fu(to)j(return)d(un)m +(til)i Fr(nc)m(hars)1110 2361 y Fu(c)m(haracters)26 b(are)f(read.)38 +b(The)24 b(result)g(is)h(not)f(split)h(on)f(the)h(c)m(haracters)h(in)e +Ft(IFS)p Fu(;)1110 2471 y(the)e(in)m(ten)m(t)i(is)e(that)h(the)f(v)-5 +b(ariable)23 b(is)f(assigned)g(exactly)i(the)e(c)m(haracters)i(read) +1110 2580 y(\(with)30 b(the)h(exception)h(of)e(bac)m(kslash;)h(see)g +(the)g Ft(-r)f Fu(option)h(b)s(elo)m(w\).)630 2730 y +Ft(-p)f Fj(prompt)66 b Fu(Displa)m(y)38 b Fr(prompt)p Fu(,)g(without)e(a)h(trailing)h(newline,)h(b)s(efore)d(attempting)i(to) -1110 1377 y(read)f(an)m(y)h(input.)60 b(The)37 b(prompt)g(is)g(displa)m -(y)m(ed)h(only)f(if)g(input)g(is)g(coming)1110 1486 y(from)30 -b(a)h(terminal.)630 1641 y Ft(-r)384 b Fu(If)21 b(this)h(option)g(is)f +1110 2839 y(read)f(an)m(y)h(input.)60 b(The)37 b(prompt)g(is)g(displa)m +(y)m(ed)h(only)f(if)g(input)g(is)g(coming)1110 2949 y(from)30 +b(a)h(terminal.)630 3098 y Ft(-r)384 b Fu(If)21 b(this)h(option)g(is)f (giv)m(en,)k(bac)m(kslash)d(do)s(es)f(not)h(act)h(as)f(an)f(escap)s(e)h -(c)m(haracter.)1110 1751 y(The)30 b(bac)m(kslash)i(is)f(considered)g +(c)m(haracter.)1110 3208 y(The)30 b(bac)m(kslash)i(is)f(considered)g (to)h(b)s(e)e(part)h(of)g(the)g(line.)43 b(In)30 b(particular,)i(a)1110 -1861 y(bac)m(kslash-newline)f(pair)f(ma)m(y)h(not)g(b)s(e)f(used)f(as)i -(a)g(line)f(con)m(tin)m(uation.)630 2016 y Ft(-s)384 +3318 y(bac)m(kslash-newline)f(pair)f(ma)m(y)h(not)g(b)s(e)f(used)f(as)i +(a)g(line)f(con)m(tin)m(uation.)630 3467 y Ft(-s)384 b Fu(Silen)m(t)28 b(mo)s(de.)40 b(If)27 b(input)f(is)i(coming)g(from)f -(a)h(terminal,)h(c)m(haracters)g(are)f(not)1110 2125 -y(ec)m(ho)s(ed.)630 2281 y Ft(-t)i Fj(timeout)1110 2390 +(a)h(terminal,)h(c)m(haracters)g(are)f(not)1110 3577 +y(ec)m(ho)s(ed.)630 3726 y Ft(-t)i Fj(timeout)1110 3836 y Fu(Cause)42 b Ft(read)g Fu(to)h(time)h(out)f(and)f(return)f(failure)i -(if)g(a)g(complete)h(line)f(of)1110 2500 y(input)26 b(\(or)h(a)g(sp)s +(if)g(a)g(complete)h(line)f(of)1110 3945 y(input)26 b(\(or)h(a)g(sp)s (eci\014ed)f(n)m(um)m(b)s(er)g(of)h(c)m(haracters\))h(is)f(not)g(read)g -(within)f Fr(time-)1110 2609 y(out)37 b Fu(seconds.)53 +(within)f Fr(time-)1110 4055 y(out)37 b Fu(seconds.)53 b Fr(timeout)38 b Fu(ma)m(y)d(b)s(e)f(a)h(decimal)h(n)m(um)m(b)s(er)d -(with)h(a)h(fractional)1110 2719 y(p)s(ortion)29 b(follo)m(wing)h(the)f +(with)h(a)h(fractional)1110 4164 y(p)s(ortion)29 b(follo)m(wing)h(the)f (decimal)h(p)s(oin)m(t.)40 b(This)29 b(option)g(is)g(only)g(e\013ectiv) -m(e)j(if)1110 2829 y Ft(read)j Fu(is)i(reading)g(input)e(from)h(a)h +m(e)j(if)1110 4274 y Ft(read)j Fu(is)i(reading)g(input)e(from)h(a)h (terminal,)i(pip)s(e,)e(or)g(other)f(sp)s(ecial)i(\014le;)1110 -2938 y(it)31 b(has)g(no)g(e\013ect)h(when)e(reading)h(from)g(regular)g +4384 y(it)31 b(has)g(no)g(e\013ect)h(when)e(reading)h(from)g(regular)g (\014les.)42 b(If)30 b Ft(read)g Fu(times)h(out,)1110 -3048 y Ft(read)d Fu(sa)m(v)m(es)j(an)m(y)f(partial)h(input)d(read)i(in) +4493 y Ft(read)d Fu(sa)m(v)m(es)j(an)m(y)f(partial)h(input)d(read)i(in) m(to)h(the)e(sp)s(eci\014ed)g(v)-5 b(ariable)31 b Fr(name)p -Fu(.)1110 3157 y(If)k Fr(timeout)j Fu(is)e(0,)h Ft(read)e +Fu(.)1110 4603 y(If)k Fr(timeout)j Fu(is)e(0,)h Ft(read)e Fu(returns)f(immediately)-8 b(,)39 b(without)c(trying)h(to)g(read)1110 -3267 y(and)30 b(data.)44 b(The)30 b(exit)i(status)f(is)g(0)g(if)g +4712 y(and)30 b(data.)44 b(The)30 b(exit)i(status)f(is)g(0)g(if)g (input)f(is)h(a)m(v)-5 b(ailable)34 b(on)c(the)i(sp)s(eci\014ed)1110 -3377 y(\014le)g(descriptor,)g(non-zero)h(otherwise.)46 -b(The)31 b(exit)i(status)f(is)g(greater)h(than)1110 3486 -y(128)f(if)e(the)h(timeout)g(is)f(exceeded.)630 3641 +4822 y(\014le)g(descriptor,)g(non-zero)h(otherwise.)46 +b(The)31 b(exit)i(status)f(is)g(greater)h(than)1110 4932 +y(128)f(if)e(the)h(timeout)g(is)f(exceeded.)630 5081 y Ft(-u)g Fj(fd)258 b Fu(Read)31 b(input)e(from)h(\014le)g(descriptor)h -Fr(fd)p Fu(.)150 3797 y Ft(readarray)870 3906 y(readarray)45 -b([-n)i Fj(count)p Ft(])f([-O)h Fj(origin)p Ft(])f([-s)h -Fj(count)p Ft(])f([-t])h([-u)g Fj(fd)p Ft(])1061 4016 -y([-C)g Fj(callback)p Ft(])e([-c)i Fj(quantum)p Ft(])f([)p -Fj(array)p Ft(])630 4148 y Fu(Read)38 b(lines)f(from)g(the)h(standard)e +Fr(fd)p Fu(.)150 5230 y Ft(readarray)870 5340 y(readarray)45 +b([-d)i Fj(delim)p Ft(])f([-n)h Fj(count)p Ft(])f([-O)h +Fj(origin)p Ft(])f([-s)h Fj(count)p Ft(])f([-t])h([-u)g +Fj(fd)p Ft(])p eop end +%%Page: 58 64 +TeXDict begin 58 63 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(58)1061 299 y +Ft([-C)47 b Fj(callback)p Ft(])e([-c)i Fj(quantum)p Ft(])f([)p +Fj(array)p Ft(])630 433 y Fu(Read)38 b(lines)f(from)g(the)h(standard)e (input)g(in)m(to)j(the)e(indexed)g(arra)m(y)h(v)-5 b(ariable)38 -b Fr(arra)m(y)p Fu(,)i(or)630 4258 y(from)30 b(\014le)g(descriptor)h +b Fr(arra)m(y)p Fu(,)i(or)630 543 y(from)30 b(\014le)g(descriptor)h Fr(fd)i Fu(if)d(the)h Ft(-u)e Fu(option)i(is)g(supplied.)630 -4390 y(A)f(synon)m(ym)g(for)g Ft(mapfile)p Fu(.)150 4545 -y Ft(source)870 4678 y(source)46 b Fj(filename)630 4810 +677 y(A)f(synon)m(ym)g(for)g Ft(mapfile)p Fu(.)150 836 +y Ft(source)870 971 y(source)46 b Fj(filename)630 1105 y Fu(A)30 b(synon)m(ym)g(for)g Ft(.)g Fu(\(see)i(Section)f(4.1)g -([Bourne)g(Shell)f(Builtins],)h(page)g(41\).)150 4966 -y Ft(type)870 5098 y(type)47 b([-afptP])e([)p Fj(name)i -Ft(...)o(])630 5230 y Fu(F)-8 b(or)42 b(eac)m(h)g Fr(name)p +([Bourne)g(Shell)f(Builtins],)h(page)g(42\).)150 1264 +y Ft(type)870 1398 y(type)47 b([-afptP])e([)p Fj(name)i +Ft(...)o(])630 1533 y Fu(F)-8 b(or)42 b(eac)m(h)g Fr(name)p Fu(,)i(indicate)e(ho)m(w)g(it)f(w)m(ould)g(b)s(e)g(in)m(terpreted)g(if) -g(used)f(as)i(a)f(command)630 5340 y(name.)p eop end -%%Page: 57 63 -TeXDict begin 57 62 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(57)630 299 y(If)41 -b(the)g Ft(-t)g Fu(option)h(is)f(used,)j Ft(type)c Fu(prin)m(ts)h(a)h -(single)g(w)m(ord)f(whic)m(h)g(is)g(one)h(of)g(`)p Ft(alias)p -Fu(',)630 408 y(`)p Ft(function)p Fu(',)32 b(`)p Ft(builtin)p +g(used)f(as)i(a)f(command)630 1642 y(name.)630 1777 y(If)g(the)g +Ft(-t)g Fu(option)h(is)f(used,)j Ft(type)c Fu(prin)m(ts)h(a)h(single)g +(w)m(ord)f(whic)m(h)g(is)g(one)h(of)g(`)p Ft(alias)p +Fu(',)630 1886 y(`)p Ft(function)p Fu(',)32 b(`)p Ft(builtin)p Fu(',)g(`)p Ft(file)p Fu(')g(or)h(`)p Ft(keyword)p Fu(',)f(if)h Fr(name)38 b Fu(is)33 b(an)f(alias,)j(shell)e(function,)630 -518 y(shell)i(builtin,)g(disk)g(\014le,)h(or)e(shell)h(reserv)m(ed)g(w) -m(ord,)h(resp)s(ectiv)m(ely)-8 b(.)55 b(If)34 b(the)h -Fr(name)40 b Fu(is)35 b(not)630 628 y(found,)29 b(then)h(nothing)h(is)f -(prin)m(ted,)g(and)g Ft(type)f Fu(returns)g(a)i(failure)g(status.)630 -765 y(If)25 b(the)g Ft(-p)g Fu(option)h(is)f(used,)h +1996 y(shell)i(builtin,)g(disk)g(\014le,)h(or)e(shell)h(reserv)m(ed)g +(w)m(ord,)h(resp)s(ectiv)m(ely)-8 b(.)55 b(If)34 b(the)h +Fr(name)40 b Fu(is)35 b(not)630 2105 y(found,)29 b(then)h(nothing)h(is) +f(prin)m(ted,)g(and)g Ft(type)f Fu(returns)g(a)i(failure)g(status.)630 +2240 y(If)25 b(the)g Ft(-p)g Fu(option)h(is)f(used,)h Ft(type)e Fu(either)h(returns)g(the)g(name)g(of)h(the)f(disk)g(\014le)g -(that)h(w)m(ould)630 874 y(b)s(e)k(executed,)h(or)g(nothing)f(if)g +(that)h(w)m(ould)630 2349 y(b)s(e)k(executed,)h(or)g(nothing)f(if)g Ft(-t)g Fu(w)m(ould)g(not)h(return)e(`)p Ft(file)p Fu('.)630 -1011 y(The)h Ft(-P)g Fu(option)h(forces)g(a)g(path)f(searc)m(h)h(for)g +2484 y(The)h Ft(-P)g Fu(option)h(forces)g(a)g(path)f(searc)m(h)h(for)g (eac)m(h)g Fr(name)p Fu(,)g(ev)m(en)g(if)g Ft(-t)f Fu(w)m(ould)g(not)h -(return)630 1121 y(`)p Ft(file)p Fu('.)630 1258 y(If)f(a)g(command)g +(return)630 2593 y(`)p Ft(file)p Fu('.)630 2728 y(If)f(a)g(command)g (is)g(hashed,)f Ft(-p)h Fu(and)f Ft(-P)g Fu(prin)m(t)h(the)g(hashed)f -(v)-5 b(alue,)31 b(whic)m(h)f(is)g(not)g(neces-)630 1367 +(v)-5 b(alue,)31 b(whic)m(h)f(is)g(not)g(neces-)630 2837 y(sarily)h(the)f(\014le)h(that)g(app)s(ears)e(\014rst)h(in)g -Ft($PATH)p Fu(.)630 1504 y(If)22 b(the)i Ft(-a)e Fu(option)h(is)g +Ft($PATH)p Fu(.)630 2971 y(If)22 b(the)i Ft(-a)e Fu(option)h(is)g (used,)h Ft(type)e Fu(returns)f(all)j(of)f(the)g(places)h(that)f(con)m -(tain)i(an)d(executable)630 1614 y(named)32 b Fr(\014le)p +(tain)i(an)d(executable)630 3081 y(named)32 b Fr(\014le)p Fu(.)49 b(This)32 b(includes)h(aliases)h(and)e(functions,)i(if)f(and)f -(only)h(if)g(the)g Ft(-p)f Fu(option)i(is)630 1724 y(not)d(also)g -(used.)630 1861 y(If)f(the)g Ft(-f)g Fu(option)g(is)h(used,)e +(only)h(if)g(the)g Ft(-p)f Fu(option)i(is)630 3191 y(not)d(also)g +(used.)630 3325 y(If)f(the)g Ft(-f)g Fu(option)g(is)h(used,)e Ft(type)g Fu(do)s(es)h(not)h(attempt)g(to)g(\014nd)d(shell)j -(functions,)f(as)g(with)630 1970 y(the)h Ft(command)d -Fu(builtin.)630 2107 y(The)j(return)f(status)h(is)g(zero)h(if)f(all)h +(functions,)f(as)g(with)630 3435 y(the)h Ft(command)d +Fu(builtin.)630 3569 y(The)j(return)f(status)h(is)g(zero)h(if)f(all)h (of)f(the)h Fr(names)i Fu(are)e(found,)e(non-zero)i(if)f(an)m(y)g(are)h -(not)630 2217 y(found.)150 2381 y Ft(typeset)870 2518 +(not)630 3678 y(found.)150 3838 y Ft(typeset)870 3972 y(typeset)46 b([-afFgrxilnrtux])d([-p])k([)p Fj(name)p -Ft([=)p Fj(value)p Ft(])d(...)o(])630 2655 y Fu(The)31 +Ft([=)p Fj(value)p Ft(])d(...)o(])630 4106 y Fu(The)31 b Ft(typeset)e Fu(command)i(is)g(supplied)f(for)h(compatibilit)m(y)i -(with)e(the)g(Korn)f(shell.)44 b(It)31 b(is)630 2765 +(with)e(the)g(Korn)f(shell.)44 b(It)31 b(is)630 4216 y(a)g(synon)m(ym)f(for)g(the)g Ft(declare)f Fu(builtin)h(command.)150 -2929 y Ft(ulimit)870 3066 y(ulimit)46 b([-abcdefilmnpqrstuvxHST])41 -b([)p Fj(limit)p Ft(])630 3203 y(ulimit)25 b Fu(pro)m(vides)h(con)m +4375 y Ft(ulimit)870 4509 y(ulimit)46 b([-HSabcdefiklmnpqrstuvxPT)o(])c +([)p Fj(limit)p Ft(])630 4644 y(ulimit)25 b Fu(pro)m(vides)h(con)m (trol)i(o)m(v)m(er)g(the)f(resources)f(a)m(v)-5 b(ailable)29 -b(to)e(pro)s(cesses)f(started)h(b)m(y)g(the)630 3313 +b(to)e(pro)s(cesses)f(started)h(b)m(y)g(the)630 4753 y(shell,)i(on)f(systems)g(that)h(allo)m(w)h(suc)m(h)e(con)m(trol.)41 b(If)28 b(an)g(option)h(is)f(giv)m(en,)i(it)e(is)h(in)m(terpreted)630 -3422 y(as)i(follo)m(ws:)630 3587 y Ft(-S)384 b Fu(Change)30 +4863 y(as)i(follo)m(ws:)630 5022 y Ft(-S)384 b Fu(Change)30 b(and)g(rep)s(ort)g(the)g(soft)h(limit)g(asso)s(ciated)h(with)e(a)h -(resource.)630 3751 y Ft(-H)384 b Fu(Change)30 b(and)g(rep)s(ort)g(the) +(resource.)630 5181 y Ft(-H)384 b Fu(Change)30 b(and)g(rep)s(ort)g(the) g(hard)g(limit)h(asso)s(ciated)h(with)e(a)h(resource.)630 -3915 y Ft(-a)384 b Fu(All)31 b(curren)m(t)f(limits)h(are)g(rep)s -(orted.)630 4080 y Ft(-b)384 b Fu(The)30 b(maxim)m(um)g(so)s(c)m(k)m -(et)i(bu\013er)e(size.)630 4244 y Ft(-c)384 b Fu(The)30 -b(maxim)m(um)g(size)h(of)g(core)g(\014les)f(created.)630 -4408 y Ft(-d)384 b Fu(The)30 b(maxim)m(um)g(size)h(of)g(a)g(pro)s -(cess's)f(data)h(segmen)m(t.)630 4573 y Ft(-e)384 b Fu(The)30 -b(maxim)m(um)g(sc)m(heduling)h(priorit)m(y)f(\()p Ft(")p -Fu(nice)p Ft(")p Fu(\).)630 4737 y Ft(-f)384 b Fu(The)30 -b(maxim)m(um)g(size)h(of)g(\014les)f(written)h(b)m(y)f(the)g(shell)h -(and)f(its)h(c)m(hildren.)630 4902 y Ft(-i)384 b Fu(The)30 -b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(p)s(ending)e(signals.)630 -5066 y Ft(-l)384 b Fu(The)30 b(maxim)m(um)g(size)h(that)g(ma)m(y)g(b)s -(e)f(lo)s(c)m(k)m(ed)i(in)m(to)f(memory)-8 b(.)630 5230 +5340 y Ft(-a)384 b Fu(All)31 b(curren)m(t)f(limits)h(are)g(rep)s +(orted.)p eop end +%%Page: 59 65 +TeXDict begin 59 64 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(59)630 299 y Ft(-b)384 +b Fu(The)30 b(maxim)m(um)g(so)s(c)m(k)m(et)i(bu\013er)e(size.)630 +462 y Ft(-c)384 b Fu(The)30 b(maxim)m(um)g(size)h(of)g(core)g(\014les)f +(created.)630 625 y Ft(-d)384 b Fu(The)30 b(maxim)m(um)g(size)h(of)g(a) +g(pro)s(cess's)f(data)h(segmen)m(t.)630 788 y Ft(-e)384 +b Fu(The)30 b(maxim)m(um)g(sc)m(heduling)h(priorit)m(y)f(\()p +Ft(")p Fu(nice)p Ft(")p Fu(\).)630 951 y Ft(-f)384 b +Fu(The)30 b(maxim)m(um)g(size)h(of)g(\014les)f(written)h(b)m(y)f(the)g +(shell)h(and)f(its)h(c)m(hildren.)630 1114 y Ft(-i)384 +b Fu(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(p)s(ending)e +(signals.)630 1277 y Ft(-k)384 b Fu(The)30 b(maxim)m(um)g(n)m(um)m(b)s +(er)f(of)i(kqueues)f(that)h(ma)m(y)g(b)s(e)e(allo)s(cated.)630 +1440 y Ft(-l)384 b Fu(The)30 b(maxim)m(um)g(size)h(that)g(ma)m(y)g(b)s +(e)f(lo)s(c)m(k)m(ed)i(in)m(to)f(memory)-8 b(.)630 1603 y Ft(-m)384 b Fu(The)36 b(maxim)m(um)g(residen)m(t)h(set)g(size)g -(\(man)m(y)g(systems)f(do)h(not)f(honor)g(this)1110 5340 -y(limit\).)p eop end -%%Page: 58 64 -TeXDict begin 58 63 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(58)630 299 y Ft(-n)384 -b Fu(The)38 b(maxim)m(um)h(n)m(um)m(b)s(er)e(of)i(op)s(en)f(\014le)h -(descriptors)g(\(most)g(systems)g(do)1110 408 y(not)31 -b(allo)m(w)g(this)g(v)-5 b(alue)31 b(to)g(b)s(e)e(set\).)630 -567 y Ft(-p)384 b Fu(The)30 b(pip)s(e)f(bu\013er)h(size.)630 -726 y Ft(-q)384 b Fu(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(b)m -(ytes)g(in)f(POSIX)f(message)j(queues.)630 885 y Ft(-r)384 +(\(man)m(y)g(systems)f(do)h(not)f(honor)g(this)1110 1713 +y(limit\).)630 1876 y Ft(-n)384 b Fu(The)38 b(maxim)m(um)h(n)m(um)m(b)s +(er)e(of)i(op)s(en)f(\014le)h(descriptors)g(\(most)g(systems)g(do)1110 +1985 y(not)31 b(allo)m(w)g(this)g(v)-5 b(alue)31 b(to)g(b)s(e)e(set\).) +630 2149 y Ft(-p)384 b Fu(The)30 b(pip)s(e)f(bu\013er)h(size.)630 +2312 y Ft(-q)384 b Fu(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(b)m +(ytes)g(in)f(POSIX)f(message)j(queues.)630 2475 y Ft(-r)384 b Fu(The)30 b(maxim)m(um)g(real-time)i(sc)m(heduling)f(priorit)m(y)-8 -b(.)630 1043 y Ft(-s)384 b Fu(The)30 b(maxim)m(um)g(stac)m(k)i(size.) -630 1202 y Ft(-t)384 b Fu(The)30 b(maxim)m(um)g(amoun)m(t)h(of)f(cpu)g -(time)h(in)f(seconds.)630 1361 y Ft(-u)384 b Fu(The)30 +b(.)630 2638 y Ft(-s)384 b Fu(The)30 b(maxim)m(um)g(stac)m(k)i(size.) +630 2801 y Ft(-t)384 b Fu(The)30 b(maxim)m(um)g(amoun)m(t)h(of)f(cpu)g +(time)h(in)f(seconds.)630 2964 y Ft(-u)384 b Fu(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(pro)s(cesses)f(a)m(v)-5 -b(ailable)33 b(to)e(a)f(single)i(user.)630 1520 y Ft(-v)384 +b(ailable)33 b(to)e(a)f(single)i(user.)630 3127 y Ft(-v)384 b Fu(The)41 b(maxim)m(um)h(amoun)m(t)g(of)h(virtual)f(memory)g(a)m(v)-5 -b(ailable)44 b(to)e(the)g(shell,)1110 1629 y(and,)30 +b(ailable)44 b(to)e(the)g(shell,)1110 3236 y(and,)30 b(on)g(some)h(systems,)g(to)g(its)g(c)m(hildren.)630 -1788 y Ft(-x)384 b Fu(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i -(\014le)f(lo)s(c)m(ks.)630 1947 y Ft(-T)384 b Fu(The)30 -b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(threads.)630 2105 -y(If)36 b Fr(limit)k Fu(is)c(giv)m(en,)k(and)c(the)h +3399 y Ft(-x)384 b Fu(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i +(\014le)f(lo)s(c)m(ks.)630 3562 y Ft(-P)384 b Fu(The)30 +b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(pseudoterminals.)630 +3726 y Ft(-T)384 b Fu(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i +(threads.)630 3889 y(If)36 b Fr(limit)k Fu(is)c(giv)m(en,)k(and)c(the)h Ft(-a)f Fu(option)h(is)f(not)h(used,)h Fr(limit)h Fu(is)e(the)g(new)f -(v)-5 b(alue)37 b(of)g(the)630 2215 y(sp)s(eci\014ed)c(resource.)51 +(v)-5 b(alue)37 b(of)g(the)630 3998 y(sp)s(eci\014ed)c(resource.)51 b(The)34 b(sp)s(ecial)g Fr(limit)j Fu(v)-5 b(alues)34 b Ft(hard)p Fu(,)g Ft(soft)p Fu(,)g(and)f Ft(unlimited)e -Fu(stand)630 2325 y(for)h(the)g(curren)m(t)g(hard)f(limit,)i(the)g +Fu(stand)630 4108 y(for)h(the)g(curren)m(t)g(hard)f(limit,)i(the)g (curren)m(t)f(soft)g(limit,)h(and)f(no)g(limit,)h(resp)s(ectiv)m(ely)-8 -b(.)48 b(A)630 2434 y(hard)37 b(limit)h(cannot)h(b)s(e)e(increased)h(b) +b(.)48 b(A)630 4217 y(hard)37 b(limit)h(cannot)h(b)s(e)e(increased)h(b) m(y)f(a)h(non-ro)s(ot)g(user)f(once)i(it)f(is)g(set;)k(a)c(soft)g -(limit)630 2544 y(ma)m(y)j(b)s(e)e(increased)i(up)e(to)h(the)h(v)-5 +(limit)630 4327 y(ma)m(y)j(b)s(e)e(increased)i(up)e(to)h(the)h(v)-5 b(alue)40 b(of)g(the)h(hard)e(limit.)70 b(Otherwise,)43 -b(the)d(curren)m(t)630 2653 y(v)-5 b(alue)29 b(of)h(the)f(soft)g(limit) +b(the)d(curren)m(t)630 4437 y(v)-5 b(alue)29 b(of)h(the)f(soft)g(limit) h(for)e(the)h(sp)s(eci\014ed)g(resource)g(is)g(prin)m(ted,)g(unless)f -(the)h Ft(-H)f Fu(option)630 2763 y(is)h(supplied.)39 +(the)h Ft(-H)f Fu(option)630 4546 y(is)h(supplied.)39 b(When)29 b(setting)h(new)f(limits,)h(if)f(neither)g Ft(-H)g Fu(nor)f Ft(-S)h Fu(is)g(supplied,)f(b)s(oth)h(the)630 -2872 y(hard)i(and)h(soft)h(limits)g(are)f(set.)48 b(If)31 +4656 y(hard)i(and)h(soft)h(limits)g(are)f(set.)48 b(If)31 b(no)i(option)f(is)h(giv)m(en,)h(then)e Ft(-f)g Fu(is)g(assumed.)46 -b(V)-8 b(alues)630 2982 y(are)31 b(in)f(1024-b)m(yte)j(incremen)m(ts,)e +b(V)-8 b(alues)630 4765 y(are)31 b(in)f(1024-b)m(yte)j(incremen)m(ts,)e (except)g(for)f Ft(-t)p Fu(,)g(whic)m(h)g(is)g(in)g(seconds;)h -Ft(-p)p Fu(,)f(whic)m(h)g(is)g(in)630 3092 y(units)g(of)g(512-b)m(yte)j -(blo)s(c)m(ks;)e(and)f Ft(-T)p Fu(,)g Ft(-b)p Fu(,)g -Ft(-n)g Fu(and)f Ft(-u)p Fu(,)h(whic)m(h)g(are)h(unscaled)f(v)-5 -b(alues.)630 3226 y(The)34 b(return)g(status)h(is)f(zero)i(unless)e(an) -g(in)m(v)-5 b(alid)36 b(option)f(or)f(argumen)m(t)i(is)e(supplied,)h -(or)630 3335 y(an)30 b(error)g(o)s(ccurs)g(while)h(setting)g(a)g(new)f -(limit.)150 3494 y Ft(unalias)870 3628 y(unalias)46 b([-a])g([)p -Fj(name)h Ft(...)g(])630 3762 y Fu(Remo)m(v)m(e)42 b(eac)m(h)f -Fr(name)k Fu(from)39 b(the)i(list)f(of)g(aliases.)71 -b(If)40 b Ft(-a)f Fu(is)h(supplied,)h(all)g(aliases)h(are)630 -3872 y(remo)m(v)m(ed.)g(Aliases)31 b(are)g(describ)s(ed)e(in)h(Section) -i(6.6)f([Aliases],)h(page)f(88.)150 4104 y Fs(4.3)68 -b(Mo)t(difying)45 b(Shell)g(Beha)l(vior)150 4328 y Fk(4.3.1)63 -b(The)41 b(Set)g(Builtin)150 4475 y Fu(This)35 b(builtin)h(is)g(so)g -(complicated)i(that)f(it)f(deserv)m(es)h(its)f(o)m(wn)g(section.)59 -b Ft(set)35 b Fu(allo)m(ws)j(y)m(ou)e(to)h(c)m(hange)150 -4584 y(the)c(v)-5 b(alues)34 b(of)f(shell)g(options)h(and)e(set)i(the)f -(p)s(ositional)h(parameters,)h(or)e(to)h(displa)m(y)f(the)g(names)h -(and)150 4694 y(v)-5 b(alues)31 b(of)f(shell)h(v)-5 b(ariables.)150 -4852 y Ft(set)870 4987 y(set)47 b([--abefhkmnptuvxBCEHPT])41 -b([-o)47 b Fj(option-name)p Ft(])e([)p Fj(argument)g -Ft(...)o(])870 5096 y(set)i([+abefhkmnptuvxBCEHPT])42 -b([+o)47 b Fj(option-name)p Ft(])d([)p Fj(argument)h -Ft(...)o(])630 5230 y Fu(If)22 b(no)h(options)g(or)g(argumen)m(ts)g -(are)g(supplied,)g Ft(set)f Fu(displa)m(ys)g(the)h(names)g(and)f(v)-5 -b(alues)23 b(of)g(all)630 5340 y(shell)j(v)-5 b(ariables)27 -b(and)e(functions,)h(sorted)g(according)h(to)g(the)f(curren)m(t)f(lo)s -(cale,)k(in)c(a)i(format)p eop end -%%Page: 59 65 -TeXDict begin 59 64 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(59)630 299 y(that)29 -b(ma)m(y)h(b)s(e)e(reused)g(as)h(input)f(for)h(setting)h(or)e -(resetting)i(the)f(curren)m(tly-set)h(v)-5 b(ariables.)630 -408 y(Read-only)37 b(v)-5 b(ariables)37 b(cannot)h(b)s(e)e(reset.)59 -b(In)36 b Fm(posix)g Fu(mo)s(de,)i(only)f(shell)f(v)-5 -b(ariables)38 b(are)630 518 y(listed.)630 647 y(When)29 -b(options)g(are)g(supplied,)f(they)h(set)h(or)f(unset)f(shell)h -(attributes.)41 b(Options,)29 b(if)g(sp)s(ec-)630 757 -y(i\014ed,)h(ha)m(v)m(e)i(the)e(follo)m(wing)i(meanings:)630 -905 y Ft(-a)384 b Fu(Mark)32 b(v)-5 b(ariables)33 b(and)e(function)h -(whic)m(h)g(are)g(mo)s(di\014ed)f(or)h(created)h(for)f(ex-)1110 -1014 y(p)s(ort)e(to)h(the)f(en)m(vironmen)m(t)h(of)g(subsequen)m(t)f -(commands.)630 1163 y Ft(-b)384 b Fu(Cause)44 b(the)h(status)g(of)f -(terminated)h(bac)m(kground)g(jobs)f(to)h(b)s(e)f(rep)s(orted)1110 -1272 y(immediately)-8 b(,)30 b(rather)d(than)f(b)s(efore)h(prin)m(ting) -g(the)g(next)g(primary)g(prompt.)630 1421 y Ft(-e)384 -b Fu(Exit)65 b(immediately)g(if)f(a)h(pip)s(eline)e(\(see)i(Section)g -(3.2.2)h([Pip)s(elines],)1110 1530 y(page)56 b(8\),)62 -b(whic)m(h)55 b(ma)m(y)h(consist)f(of)h(a)f(single)h(simple)f(command)g -(\(see)1110 1640 y(Section)30 b(3.2.1)i([Simple)d(Commands],)g(page)h -(8\),)h(a)f(list)g(\(see)h(Section)f(3.2.3)1110 1749 -y([Lists],)66 b(page)59 b(9\),)67 b(or)58 b(a)h(comp)s(ound)e(command)h -(\(see)h(Section)g(3.2.4)1110 1859 y([Comp)s(ound)67 -b(Commands],)77 b(page)69 b(9\))g(returns)e(a)i(non-zero)g(status.)1110 -1969 y(The)41 b(shell)g(do)s(es)g(not)g(exit)h(if)f(the)h(command)f -(that)h(fails)f(is)g(part)g(of)h(the)1110 2078 y(command)g(list)h +Ft(-p)p Fu(,)f(whic)m(h)g(is)g(in)630 4875 y(units)h(of)g(512-b)m(yte)j +(blo)s(c)m(ks;)e Ft(-P)p Fu(,)f Ft(-T)p Fu(,)h Ft(-b)p +Fu(,)f Ft(-k)p Fu(,)g Ft(-n)g Fu(and)f Ft(-u)p Fu(,)h(whic)m(h)h(are)f +(unscaled)g(v)-5 b(alues;)630 4984 y(and,)31 b(when)f(in)g +Fm(posix)g Fu(Mo)s(de)h(\(see)h(Section)g(6.11)g([Bash)g(POSIX)e(Mo)s +(de],)h(page)h(96\),)h Ft(-c)630 5094 y Fu(and)d Ft(-f)p +Fu(,)g(whic)m(h)g(are)h(in)f(512-b)m(yte)i(incremen)m(ts.)630 +5230 y(The)i(return)g(status)h(is)f(zero)i(unless)e(an)g(in)m(v)-5 +b(alid)36 b(option)f(or)f(argumen)m(t)i(is)e(supplied,)h(or)630 +5340 y(an)30 b(error)g(o)s(ccurs)g(while)h(setting)g(a)g(new)f(limit.)p +eop end +%%Page: 60 66 +TeXDict begin 60 65 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(60)150 299 y Ft(unalias)870 +428 y(unalias)46 b([-a])g([)p Fj(name)h Ft(...)g(])630 +558 y Fu(Remo)m(v)m(e)42 b(eac)m(h)f Fr(name)k Fu(from)39 +b(the)i(list)f(of)g(aliases.)71 b(If)40 b Ft(-a)f Fu(is)h(supplied,)h +(all)g(aliases)h(are)630 668 y(remo)m(v)m(ed.)g(Aliases)31 +b(are)g(describ)s(ed)e(in)h(Section)i(6.6)f([Aliases],)h(page)f(90.)150 +898 y Fs(4.3)68 b(Mo)t(difying)45 b(Shell)g(Beha)l(vior)150 +1118 y Fk(4.3.1)63 b(The)41 b(Set)g(Builtin)150 1265 +y Fu(This)35 b(builtin)h(is)g(so)g(complicated)i(that)f(it)f(deserv)m +(es)h(its)f(o)m(wn)g(section.)59 b Ft(set)35 b Fu(allo)m(ws)j(y)m(ou)e +(to)h(c)m(hange)150 1374 y(the)c(v)-5 b(alues)34 b(of)f(shell)g +(options)h(and)e(set)i(the)f(p)s(ositional)h(parameters,)h(or)e(to)h +(displa)m(y)f(the)g(names)h(and)150 1484 y(v)-5 b(alues)31 +b(of)f(shell)h(v)-5 b(ariables.)150 1633 y Ft(set)870 +1763 y(set)47 b([--abefhkmnptuvxBCEHPT])41 b([-o)47 b +Fj(option-name)p Ft(])e([)p Fj(argument)g Ft(...)o(])870 +1873 y(set)i([+abefhkmnptuvxBCEHPT])42 b([+o)47 b Fj(option-name)p +Ft(])d([)p Fj(argument)h Ft(...)o(])630 2002 y Fu(If)22 +b(no)h(options)g(or)g(argumen)m(ts)g(are)g(supplied,)g +Ft(set)f Fu(displa)m(ys)g(the)h(names)g(and)f(v)-5 b(alues)23 +b(of)g(all)630 2112 y(shell)j(v)-5 b(ariables)27 b(and)e(functions,)h +(sorted)g(according)h(to)g(the)f(curren)m(t)f(lo)s(cale,)k(in)c(a)i +(format)630 2221 y(that)i(ma)m(y)h(b)s(e)e(reused)g(as)h(input)f(for)h +(setting)h(or)e(resetting)i(the)f(curren)m(tly-set)h(v)-5 +b(ariables.)630 2331 y(Read-only)37 b(v)-5 b(ariables)37 +b(cannot)h(b)s(e)e(reset.)59 b(In)36 b Fm(posix)g Fu(mo)s(de,)i(only)f +(shell)f(v)-5 b(ariables)38 b(are)630 2440 y(listed.)630 +2570 y(When)29 b(options)g(are)g(supplied,)f(they)h(set)h(or)f(unset)f +(shell)h(attributes.)41 b(Options,)29 b(if)g(sp)s(ec-)630 +2680 y(i\014ed,)h(ha)m(v)m(e)i(the)e(follo)m(wing)i(meanings:)630 +2829 y Ft(-a)384 b Fu(Eac)m(h)37 b(v)-5 b(ariable)36 +b(or)g(function)g(that)g(is)g(created)h(or)f(mo)s(di\014ed)f(is)h(giv)m +(en)h(the)1110 2939 y(exp)s(ort)28 b(attribute)h(and)f(mark)m(ed)g(for) +g(exp)s(ort)g(to)h(the)g(en)m(vironmen)m(t)f(of)h(sub-)1110 +3048 y(sequen)m(t)i(commands.)630 3198 y Ft(-b)384 b +Fu(Cause)44 b(the)h(status)g(of)f(terminated)h(bac)m(kground)g(jobs)f +(to)h(b)s(e)f(rep)s(orted)1110 3307 y(immediately)-8 +b(,)30 b(rather)d(than)f(b)s(efore)h(prin)m(ting)g(the)g(next)g +(primary)g(prompt.)630 3457 y Ft(-e)384 b Fu(Exit)65 +b(immediately)g(if)f(a)h(pip)s(eline)e(\(see)i(Section)g(3.2.2)h([Pip)s +(elines],)1110 3567 y(page)56 b(8\),)62 b(whic)m(h)55 +b(ma)m(y)h(consist)f(of)h(a)f(single)h(simple)f(command)g(\(see)1110 +3676 y(Section)30 b(3.2.1)i([Simple)d(Commands],)g(page)h(8\),)h(a)f +(list)g(\(see)h(Section)f(3.2.3)1110 3786 y([Lists],)66 +b(page)59 b(9\),)67 b(or)58 b(a)h(comp)s(ound)e(command)h(\(see)h +(Section)g(3.2.4)1110 3895 y([Comp)s(ound)67 b(Commands],)77 +b(page)69 b(9\))g(returns)e(a)i(non-zero)g(status.)1110 +4005 y(The)41 b(shell)g(do)s(es)g(not)g(exit)h(if)f(the)h(command)f +(that)h(fails)f(is)g(part)g(of)h(the)1110 4115 y(command)g(list)h (immediately)g(follo)m(wing)g(a)g Ft(while)e Fu(or)h -Ft(until)e Fu(k)m(eyw)m(ord,)1110 2188 y(part)61 b(of)g(the)g(test)h +Ft(until)e Fu(k)m(eyw)m(ord,)1110 4224 y(part)61 b(of)g(the)g(test)h (in)e(an)h Ft(if)f Fu(statemen)m(t,)71 b(part)61 b(of)g(an)m(y)g -(command)1110 2297 y(executed)50 b(in)e(a)h Ft(&&)f Fu(or)h +(command)1110 4334 y(executed)50 b(in)e(a)h Ft(&&)f Fu(or)h Ft(||)f Fu(list)h(except)g(the)g(command)g(follo)m(wing)h(the)1110 -2407 y(\014nal)37 b Ft(&&)g Fu(or)g Ft(||)p Fu(,)h(an)m(y)g(command)f +4443 y(\014nal)37 b Ft(&&)g Fu(or)g Ft(||)p Fu(,)h(an)m(y)g(command)f (in)g(a)g(pip)s(eline)g(but)g(the)g(last,)j(or)e(if)f(the)1110 -2516 y(command's)c(return)f(status)h(is)g(b)s(eing)g(in)m(v)m(erted)h +4553 y(command's)c(return)f(status)h(is)g(b)s(eing)g(in)m(v)m(erted)h (with)e Ft(!)p Fu(.)48 b(If)33 b(a)g(comp)s(ound)1110 -2626 y(command)g(other)g(than)f(a)i(subshell)d(returns)h(a)h(non-zero)h -(status)f(b)s(ecause)1110 2736 y(a)k(command)g(failed)g(while)g +4662 y(command)g(other)g(than)f(a)i(subshell)d(returns)h(a)h(non-zero)h +(status)f(b)s(ecause)1110 4772 y(a)k(command)g(failed)g(while)g Ft(-e)f Fu(w)m(as)i(b)s(eing)e(ignored,)j(the)e(shell)g(do)s(es)g(not) -1110 2845 y(exit.)42 b(A)30 b(trap)g(on)h Ft(ERR)p Fu(,)e(if)i(set,)g +1110 4882 y(exit.)42 b(A)30 b(trap)g(on)h Ft(ERR)p Fu(,)e(if)i(set,)g (is)f(executed)i(b)s(efore)e(the)g(shell)h(exits.)1110 -2974 y(This)f(option)h(applies)f(to)h(the)g(shell)g(en)m(vironmen)m(t)g -(and)f(eac)m(h)h(subshell)f(en-)1110 3084 y(vironmen)m(t)j(separately)i +5011 y(This)f(option)h(applies)f(to)h(the)g(shell)g(en)m(vironmen)m(t)g +(and)f(eac)m(h)h(subshell)f(en-)1110 5121 y(vironmen)m(t)j(separately)i (\(see)f(Section)g(3.7.3)h([Command)d(Execution)i(En-)1110 -3193 y(vironmen)m(t],)i(page)f(36\),)i(and)d(ma)m(y)h(cause)f -(subshells)g(to)h(exit)g(b)s(efore)f(exe-)1110 3303 y(cuting)d(all)g -(the)g(commands)f(in)g(the)g(subshell.)1110 3432 y(If)41 +5230 y(vironmen)m(t],)i(page)f(37\),)i(and)d(ma)m(y)h(cause)f +(subshells)g(to)h(exit)g(b)s(efore)f(exe-)1110 5340 y(cuting)d(all)g +(the)g(commands)f(in)g(the)g(subshell.)p eop end +%%Page: 61 67 +TeXDict begin 61 66 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(61)1110 299 y(If)41 b(a)g(comp)s(ound)e(command)i(or)g(shell)g(function)g(executes)h(in)f -(a)g(con)m(text)1110 3541 y(where)31 b Ft(-e)g Fu(is)g(b)s(eing)g +(a)g(con)m(text)1110 408 y(where)31 b Ft(-e)g Fu(is)g(b)s(eing)g (ignored,)h(none)f(of)h(the)f(commands)g(executed)h(within)1110 -3651 y(the)j(comp)s(ound)f(command)h(or)g(function)f(b)s(o)s(dy)g(will) -h(b)s(e)f(a\013ected)j(b)m(y)e(the)1110 3761 y Ft(-e)25 +518 y(the)j(comp)s(ound)f(command)h(or)g(function)f(b)s(o)s(dy)g(will)h +(b)s(e)f(a\013ected)j(b)m(y)e(the)1110 628 y Ft(-e)25 b Fu(setting,)j(ev)m(en)e(if)g Ft(-e)f Fu(is)h(set)g(and)f(a)h(command) -g(returns)e(a)i(failure)g(status.)1110 3870 y(If)32 b(a)i(comp)s(ound)d +g(returns)e(a)i(failure)g(status.)1110 737 y(If)32 b(a)i(comp)s(ound)d (command)i(or)g(shell)g(function)f(sets)i Ft(-e)e Fu(while)h(executing) -1110 3980 y(in)40 b(a)h(con)m(text)i(where)d Ft(-e)g -Fu(is)h(ignored,)j(that)d(setting)h(will)f(not)g(ha)m(v)m(e)h(an)m(y) -1110 4089 y(e\013ect)g(un)m(til)e(the)h(comp)s(ound)e(command)h(or)g -(the)g(command)g(con)m(taining)1110 4199 y(the)31 b(function)f(call)h -(completes.)630 4347 y Ft(-f)384 b Fu(Disable)31 b(\014lename)g -(expansion)f(\(globbing\).)630 4495 y Ft(-h)384 b Fu(Lo)s(cate)33 +1110 847 y(in)40 b(a)h(con)m(text)i(where)d Ft(-e)g Fu(is)h(ignored,)j +(that)d(setting)h(will)f(not)g(ha)m(v)m(e)h(an)m(y)1110 +956 y(e\013ect)g(un)m(til)e(the)h(comp)s(ound)e(command)h(or)g(the)g +(command)g(con)m(taining)1110 1066 y(the)31 b(function)f(call)h +(completes.)630 1217 y Ft(-f)384 b Fu(Disable)31 b(\014lename)g +(expansion)f(\(globbing\).)630 1367 y Ft(-h)384 b Fu(Lo)s(cate)33 b(and)e(remem)m(b)s(er)h(\(hash\))g(commands)f(as)h(they)g(are)g(lo)s -(ok)m(ed)h(up)e(for)1110 4605 y(execution.)42 b(This)29 -b(option)i(is)g(enabled)f(b)m(y)g(default.)630 4753 y +(ok)m(ed)h(up)e(for)1110 1477 y(execution.)42 b(This)29 +b(option)i(is)g(enabled)f(b)m(y)g(default.)630 1628 y Ft(-k)384 b Fu(All)34 b(argumen)m(ts)g(in)f(the)h(form)f(of)g (assignmen)m(t)h(statemen)m(ts)i(are)d(placed)h(in)1110 -4863 y(the)k(en)m(vironmen)m(t)g(for)g(a)g(command,)h(not)f(just)f -(those)i(that)f(precede)g(the)1110 4973 y(command)30 -b(name.)630 5121 y Ft(-m)384 b Fu(Job)32 b(con)m(trol)h(is)f(enabled)g -(\(see)h(Chapter)f(7)g([Job)g(Con)m(trol],)i(page)e(97\).)47 -b(All)1110 5230 y(pro)s(cesses)27 b(run)f(in)i(a)g(separate)g(pro)s +1737 y(the)k(en)m(vironmen)m(t)g(for)g(a)g(command,)h(not)f(just)f +(those)i(that)f(precede)g(the)1110 1847 y(command)30 +b(name.)630 1998 y Ft(-m)384 b Fu(Job)28 b(con)m(trol)h(is)f(enabled)g +(\(see)h(Chapter)f(7)g([Job)g(Con)m(trol],)i(page)f(100\).)41 +b(All)1110 2107 y(pro)s(cesses)27 b(run)f(in)i(a)g(separate)g(pro)s (cess)f(group.)40 b(When)27 b(a)h(bac)m(kground)f(job)1110 -5340 y(completes,)32 b(the)f(shell)f(prin)m(ts)g(a)h(line)f(con)m -(taining)i(its)f(exit)g(status.)p eop end -%%Page: 60 66 -TeXDict begin 60 65 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(60)630 299 y Ft(-n)384 -b Fu(Read)21 b(commands)f(but)g(do)h(not)g(execute)h(them;)i(this)d(ma) -m(y)g(b)s(e)f(used)g(to)h(c)m(hec)m(k)1110 408 y(a)42 -b(script)g(for)g(syn)m(tax)g(errors.)75 b(This)41 b(option)h(is)g -(ignored)g(b)m(y)g(in)m(teractiv)m(e)1110 518 y(shells.)630 -667 y Ft(-o)30 b Fj(option-name)1110 777 y Fu(Set)h(the)f(option)h +2217 y(completes,)32 b(the)f(shell)f(prin)m(ts)g(a)h(line)f(con)m +(taining)i(its)f(exit)g(status.)630 2367 y Ft(-n)384 +b Fu(Read)38 b(commands)f(but)f(do)i(not)f(execute)i(them.)62 +b(This)37 b(ma)m(y)h(b)s(e)f(used)f(to)1110 2477 y(c)m(hec)m(k)d(a)e +(script)g(for)g(syn)m(tax)h(errors.)42 b(This)30 b(option)i(is)f +(ignored)g(b)m(y)g(in)m(terac-)1110 2587 y(tiv)m(e)h(shells.)630 +2737 y Ft(-o)e Fj(option-name)1110 2847 y Fu(Set)h(the)f(option)h (corresp)s(onding)e(to)i Fr(option-name)5 b Fu(:)1110 -927 y Ft(allexport)1590 1036 y Fu(Same)30 b(as)h Ft(-a)p -Fu(.)1110 1186 y Ft(braceexpand)1590 1295 y Fu(Same)f(as)h -Ft(-B)p Fu(.)1110 1445 y Ft(emacs)240 b Fu(Use)25 b(an)f +2998 y Ft(allexport)1590 3107 y Fu(Same)30 b(as)h Ft(-a)p +Fu(.)1110 3258 y Ft(braceexpand)1590 3367 y Fu(Same)f(as)h +Ft(-B)p Fu(.)1110 3518 y Ft(emacs)240 b Fu(Use)25 b(an)f Ft(emacs)p Fu(-st)m(yle)h(line)f(editing)h(in)m(terface)h(\(see)g -(Chapter)e(8)1590 1554 y([Command)33 b(Line)g(Editing],)h(page)h -(101\).)51 b(This)32 b(also)i(a\013ects)1590 1664 y(the)d(editing)g(in) -m(terface)h(used)d(for)h Ft(read)f(-e)p Fu(.)1110 1813 +(Chapter)e(8)1590 3628 y([Command)33 b(Line)g(Editing],)h(page)h +(104\).)51 b(This)32 b(also)i(a\013ects)1590 3737 y(the)d(editing)g(in) +m(terface)h(used)d(for)h Ft(read)f(-e)p Fu(.)1110 3888 y Ft(errexit)144 b Fu(Same)30 b(as)h Ft(-e)p Fu(.)1110 -1963 y Ft(errtrace)96 b Fu(Same)30 b(as)h Ft(-E)p Fu(.)1110 -2112 y Ft(functrace)1590 2222 y Fu(Same)f(as)h Ft(-T)p -Fu(.)1110 2371 y Ft(hashall)144 b Fu(Same)30 b(as)h Ft(-h)p -Fu(.)1110 2521 y Ft(histexpand)1590 2630 y Fu(Same)f(as)h -Ft(-H)p Fu(.)1110 2780 y Ft(history)144 b Fu(Enable)39 +4039 y Ft(errtrace)96 b Fu(Same)30 b(as)h Ft(-E)p Fu(.)1110 +4189 y Ft(functrace)1590 4299 y Fu(Same)f(as)h Ft(-T)p +Fu(.)1110 4450 y Ft(hashall)144 b Fu(Same)30 b(as)h Ft(-h)p +Fu(.)1110 4600 y Ft(histexpand)1590 4710 y Fu(Same)f(as)h +Ft(-H)p Fu(.)1110 4861 y Ft(history)144 b Fu(Enable)39 b(command)g(history)-8 b(,)42 b(as)d(describ)s(ed)f(in)h(Section)h(9.1) -1590 2889 y([Bash)d(History)g(F)-8 b(acilities],)41 b(page)c(133.)60 -b(This)36 b(option)h(is)f(on)1590 2999 y(b)m(y)30 b(default)h(in)f(in)m -(teractiv)m(e)j(shells.)1110 3148 y Ft(ignoreeof)1590 -3258 y Fu(An)d(in)m(teractiv)m(e)j(shell)e(will)g(not)f(exit)h(up)s(on) -e(reading)i(EOF.)1110 3407 y Ft(keyword)144 b Fu(Same)30 -b(as)h Ft(-k)p Fu(.)1110 3557 y Ft(monitor)144 b Fu(Same)30 -b(as)h Ft(-m)p Fu(.)1110 3706 y Ft(noclobber)1590 3816 -y Fu(Same)f(as)h Ft(-C)p Fu(.)1110 3965 y Ft(noexec)192 -b Fu(Same)30 b(as)h Ft(-n)p Fu(.)1110 4115 y Ft(noglob)192 -b Fu(Same)30 b(as)h Ft(-f)p Fu(.)1110 4264 y Ft(nolog)240 -b Fu(Curren)m(tly)30 b(ignored.)1110 4413 y Ft(notify)192 -b Fu(Same)30 b(as)h Ft(-b)p Fu(.)1110 4563 y Ft(nounset)144 -b Fu(Same)30 b(as)h Ft(-u)p Fu(.)1110 4712 y Ft(onecmd)192 -b Fu(Same)30 b(as)h Ft(-t)p Fu(.)1110 4862 y Ft(physical)96 -b Fu(Same)30 b(as)h Ft(-P)p Fu(.)1110 5011 y Ft(pipefail)96 -b Fu(If)44 b(set,)k(the)d(return)e(v)-5 b(alue)45 b(of)f(a)h(pip)s -(eline)e(is)i(the)f(v)-5 b(alue)45 b(of)1590 5121 y(the)33 -b(last)h(\(righ)m(tmost\))h(command)e(to)h(exit)g(with)f(a)g(non-zero) -1590 5230 y(status,)28 b(or)f(zero)g(if)f(all)i(commands)e(in)g(the)h -(pip)s(eline)f(exit)i(suc-)1590 5340 y(cessfully)-8 b(.)41 -b(This)30 b(option)h(is)f(disabled)g(b)m(y)h(default.)p -eop end -%%Page: 61 67 -TeXDict begin 61 66 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(61)1110 299 y -Ft(posix)240 b Fu(Change)30 b(the)g(b)s(eha)m(vior)h(of)f(Bash)g(where) -g(the)g(default)h(op)s(era-)1590 408 y(tion)25 b(di\013ers)f(from)g -(the)h Fm(posix)f Fu(standard)f(to)i(matc)m(h)h(the)f(stan-)1590 -518 y(dard)32 b(\(see)i(Section)g(6.11)h([Bash)e(POSIX)f(Mo)s(de],)j -(page)e(94\).)1590 628 y(This)k(is)g(in)m(tended)g(to)h(mak)m(e)g(Bash) -g(b)s(eha)m(v)m(e)g(as)g(a)f(strict)h(su-)1590 737 y(p)s(erset)30 -b(of)h(that)f(standard.)1110 911 y Ft(privileged)1590 -1020 y Fu(Same)g(as)h Ft(-p)p Fu(.)1110 1194 y Ft(verbose)144 -b Fu(Same)30 b(as)h Ft(-v)p Fu(.)1110 1367 y Ft(vi)384 +1590 4970 y([Bash)d(History)g(F)-8 b(acilities],)41 b(page)c(137.)60 +b(This)36 b(option)h(is)f(on)1590 5080 y(b)m(y)30 b(default)h(in)f(in)m +(teractiv)m(e)j(shells.)1110 5230 y Ft(ignoreeof)1590 +5340 y Fu(An)d(in)m(teractiv)m(e)j(shell)e(will)g(not)f(exit)h(up)s(on) +e(reading)i(EOF.)p eop end +%%Page: 62 68 +TeXDict begin 62 67 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(62)1110 299 y +Ft(keyword)144 b Fu(Same)30 b(as)h Ft(-k)p Fu(.)1110 +457 y Ft(monitor)144 b Fu(Same)30 b(as)h Ft(-m)p Fu(.)1110 +615 y Ft(noclobber)1590 725 y Fu(Same)f(as)h Ft(-C)p +Fu(.)1110 883 y Ft(noexec)192 b Fu(Same)30 b(as)h Ft(-n)p +Fu(.)1110 1042 y Ft(noglob)192 b Fu(Same)30 b(as)h Ft(-f)p +Fu(.)1110 1200 y Ft(nolog)240 b Fu(Curren)m(tly)30 b(ignored.)1110 +1358 y Ft(notify)192 b Fu(Same)30 b(as)h Ft(-b)p Fu(.)1110 +1517 y Ft(nounset)144 b Fu(Same)30 b(as)h Ft(-u)p Fu(.)1110 +1675 y Ft(onecmd)192 b Fu(Same)30 b(as)h Ft(-t)p Fu(.)1110 +1833 y Ft(physical)96 b Fu(Same)30 b(as)h Ft(-P)p Fu(.)1110 +1991 y Ft(pipefail)96 b Fu(If)44 b(set,)k(the)d(return)e(v)-5 +b(alue)45 b(of)f(a)h(pip)s(eline)e(is)i(the)f(v)-5 b(alue)45 +b(of)1590 2101 y(the)33 b(last)h(\(righ)m(tmost\))h(command)e(to)h +(exit)g(with)f(a)g(non-zero)1590 2211 y(status,)28 b(or)f(zero)g(if)f +(all)i(commands)e(in)g(the)h(pip)s(eline)f(exit)i(suc-)1590 +2320 y(cessfully)-8 b(.)41 b(This)30 b(option)h(is)f(disabled)g(b)m(y)h +(default.)1110 2478 y Ft(posix)240 b Fu(Change)30 b(the)g(b)s(eha)m +(vior)h(of)f(Bash)g(where)g(the)g(default)h(op)s(era-)1590 +2588 y(tion)25 b(di\013ers)f(from)g(the)h Fm(posix)f +Fu(standard)f(to)i(matc)m(h)h(the)f(stan-)1590 2698 y(dard)32 +b(\(see)i(Section)g(6.11)h([Bash)e(POSIX)f(Mo)s(de],)j(page)e(96\).) +1590 2807 y(This)k(is)g(in)m(tended)g(to)h(mak)m(e)g(Bash)g(b)s(eha)m +(v)m(e)g(as)g(a)f(strict)h(su-)1590 2917 y(p)s(erset)30 +b(of)h(that)f(standard.)1110 3075 y Ft(privileged)1590 +3185 y Fu(Same)g(as)h Ft(-p)p Fu(.)1110 3343 y Ft(verbose)144 +b Fu(Same)30 b(as)h Ft(-v)p Fu(.)1110 3501 y Ft(vi)384 b Fu(Use)36 b(a)g Ft(vi)p Fu(-st)m(yle)g(line)g(editing)g(in)m -(terface.)58 b(This)35 b(also)h(a\013ects)1590 1477 y(the)31 +(terface.)58 b(This)35 b(also)h(a\013ects)1590 3611 y(the)31 b(editing)g(in)m(terface)h(used)d(for)h Ft(read)f(-e)p -Fu(.)1110 1650 y Ft(xtrace)192 b Fu(Same)30 b(as)h Ft(-x)p -Fu(.)630 1824 y Ft(-p)384 b Fu(T)-8 b(urn)33 b(on)h(privileged)h(mo)s +Fu(.)1110 3769 y Ft(xtrace)192 b Fu(Same)30 b(as)h Ft(-x)p +Fu(.)630 3927 y Ft(-p)384 b Fu(T)-8 b(urn)33 b(on)h(privileged)h(mo)s (de.)51 b(In)34 b(this)g(mo)s(de,)h(the)f Ft($BASH_ENV)e -Fu(and)h Ft($ENV)1110 1934 y Fu(\014les)23 b(are)h(not)f(pro)s(cessed,) +Fu(and)h Ft($ENV)1110 4037 y Fu(\014les)23 b(are)h(not)f(pro)s(cessed,) h(shell)g(functions)e(are)i(not)f(inherited)g(from)f(the)i(en-)1110 -2043 y(vironmen)m(t,)h(and)e(the)g Ft(SHELLOPTS)p Fu(,)f +4147 y(vironmen)m(t,)h(and)e(the)g Ft(SHELLOPTS)p Fu(,)f Ft(BASHOPTS)p Fu(,)h Ft(CDPATH)e Fu(and)i Ft(GLOBIGNORE)1110 -2153 y Fu(v)-5 b(ariables,)23 b(if)e(they)g(app)s(ear)f(in)g(the)h(en)m +4256 y Fu(v)-5 b(ariables,)23 b(if)e(they)g(app)s(ear)f(in)g(the)h(en)m (vironmen)m(t,)i(are)e(ignored.)38 b(If)20 b(the)h(shell)1110 -2262 y(is)37 b(started)h(with)f(the)g(e\013ectiv)m(e)j(user)d +4366 y(is)37 b(started)h(with)f(the)g(e\013ectiv)m(e)j(user)d (\(group\))g(id)g(not)g(equal)h(to)g(the)f(real)1110 -2372 y(user)h(\(group\))h(id,)i(and)d(the)h Ft(-p)f Fu(option)i(is)e -(not)i(supplied,)f(these)h(actions)1110 2482 y(are)32 +4475 y(user)h(\(group\))h(id,)i(and)d(the)h Ft(-p)f Fu(option)i(is)e +(not)i(supplied,)f(these)h(actions)1110 4585 y(are)32 b(tak)m(en)i(and)d(the)h(e\013ectiv)m(e)j(user)c(id)h(is)g(set)h(to)f -(the)h(real)f(user)g(id.)45 b(If)32 b(the)1110 2591 y +(the)h(real)f(user)g(id.)45 b(If)32 b(the)1110 4695 y Ft(-p)i Fu(option)h(is)g(supplied)f(at)h(startup,)h(the)f(e\013ectiv)m -(e)i(user)d(id)g(is)h(not)g(reset.)1110 2701 y(T)-8 b(urning)35 +(e)i(user)d(id)g(is)h(not)g(reset.)1110 4804 y(T)-8 b(urning)35 b(this)i(option)g(o\013)g(causes)g(the)g(e\013ectiv)m(e)i(user)d(and)g -(group)g(ids)g(to)1110 2810 y(b)s(e)30 b(set)h(to)g(the)f(real)h(user)f -(and)g(group)g(ids.)630 2984 y Ft(-t)384 b Fu(Exit)31 +(group)g(ids)g(to)1110 4914 y(b)s(e)30 b(set)h(to)g(the)f(real)h(user)f +(and)g(group)g(ids.)630 5072 y Ft(-t)384 b Fu(Exit)31 b(after)g(reading)f(and)g(executing)h(one)g(command.)630 -3157 y Ft(-u)384 b Fu(T)-8 b(reat)25 b(unset)e(v)-5 b(ariables)25 +5230 y Ft(-u)384 b Fu(T)-8 b(reat)25 b(unset)e(v)-5 b(ariables)25 b(and)e(parameters)h(other)h(than)e(the)h(sp)s(ecial)h(param-)1110 -3267 y(eters)35 b(`)p Ft(@)p Fu(')f(or)g(`)p Ft(*)p Fu(')h(as)f(an)g -(error)g(when)f(p)s(erforming)g(parameter)i(expansion.)1110 -3377 y(An)28 b(error)h(message)g(will)g(b)s(e)f(written)h(to)h(the)e -(standard)g(error,)h(and)f(a)h(non-)1110 3486 y(in)m(teractiv)m(e)k -(shell)e(will)g(exit.)630 3660 y Ft(-v)384 b Fu(Prin)m(t)30 -b(shell)h(input)e(lines)i(as)g(they)f(are)h(read.)630 -3833 y Ft(-x)384 b Fu(Prin)m(t)21 b(a)h(trace)h(of)f(simple)f -(commands,)i Ft(for)e Fu(commands,)i Ft(case)d Fu(commands,)1110 -3943 y Ft(select)29 b Fu(commands,)j(and)e(arithmetic)j -Ft(for)d Fu(commands)h(and)f(their)i(argu-)1110 4052 -y(men)m(ts)h(or)f(asso)s(ciated)i(w)m(ord)e(lists)h(after)g(they)f(are) -h(expanded)f(and)f(b)s(efore)1110 4162 y(they)i(are)g(executed.)49 +5340 y(eters)35 b(`)p Ft(@)p Fu(')f(or)g(`)p Ft(*)p Fu(')h(as)f(an)g +(error)g(when)f(p)s(erforming)g(parameter)i(expansion.)p +eop end +%%Page: 63 69 +TeXDict begin 63 68 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(63)1110 299 y(An)28 +b(error)h(message)g(will)g(b)s(e)f(written)h(to)h(the)e(standard)g +(error,)h(and)f(a)h(non-)1110 408 y(in)m(teractiv)m(e)k(shell)e(will)g +(exit.)630 568 y Ft(-v)384 b Fu(Prin)m(t)30 b(shell)h(input)e(lines)i +(as)g(they)f(are)h(read.)630 727 y Ft(-x)384 b Fu(Prin)m(t)21 +b(a)h(trace)h(of)f(simple)f(commands,)i Ft(for)e Fu(commands,)i +Ft(case)d Fu(commands,)1110 837 y Ft(select)29 b Fu(commands,)j(and)e +(arithmetic)j Ft(for)d Fu(commands)h(and)f(their)i(argu-)1110 +946 y(men)m(ts)h(or)f(asso)s(ciated)i(w)m(ord)e(lists)h(after)g(they)f +(are)h(expanded)f(and)f(b)s(efore)1110 1056 y(they)i(are)g(executed.)49 b(The)32 b(v)-5 b(alue)33 b(of)g(the)g Ft(PS4)f Fu(v)-5 -b(ariable)34 b(is)f(expanded)f(and)1110 4271 y(the)24 +b(ariable)34 b(is)f(expanded)f(and)1110 1166 y(the)24 b(resultan)m(t)h(v)-5 b(alue)24 b(is)g(prin)m(ted)g(b)s(efore)f(the)h -(command)g(and)f(its)i(expanded)1110 4381 y(argumen)m(ts.)630 -4555 y Ft(-B)384 b Fu(The)41 b(shell)g(will)g(p)s(erform)f(brace)h -(expansion)g(\(see)h(Section)g(3.5.1)g([Brace)1110 4664 +(command)g(and)f(its)i(expanded)1110 1275 y(argumen)m(ts.)630 +1435 y Ft(-B)384 b Fu(The)41 b(shell)g(will)g(p)s(erform)f(brace)h +(expansion)g(\(see)h(Section)g(3.5.1)g([Brace)1110 1544 y(Expansion],)30 b(page)h(21\).)42 b(This)30 b(option)h(is)f(on)g(b)m -(y)h(default.)630 4838 y Ft(-C)384 b Fu(Prev)m(en)m(t)25 +(y)h(default.)630 1704 y Ft(-C)384 b Fu(Prev)m(en)m(t)25 b(output)e(redirection)h(using)f(`)p Ft(>)p Fu(',)i(`)p Ft(>&)p Fu(',)g(and)e(`)p Ft(<>)p Fu(')g(from)h(o)m(v)m(erwriting)1110 -4947 y(existing)31 b(\014les.)630 5121 y Ft(-E)384 b +1813 y(existing)31 b(\014les.)630 1973 y Ft(-E)384 b Fu(If)39 b(set,)j(an)m(y)e(trap)f(on)g Ft(ERR)g Fu(is)g(inherited)g(b)m -(y)g(shell)h(functions,)h(command)1110 5230 y(substitutions,)35 +(y)g(shell)h(functions,)h(command)1110 2082 y(substitutions,)35 b(and)e(commands)g(executed)i(in)f(a)g(subshell)f(en)m(vironmen)m(t.) -1110 5340 y(The)d Ft(ERR)f Fu(trap)i(is)f(normally)h(not)f(inherited)g -(in)g(suc)m(h)g(cases.)p eop end -%%Page: 62 68 -TeXDict begin 62 67 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(62)630 299 y Ft(-H)384 -b Fu(Enable)38 b(`)p Ft(!)p Fu(')h(st)m(yle)h(history)e(substitution)g -(\(see)h(Section)h(9.3)f([History)g(In-)1110 408 y(teraction],)g(page)d -(135\).)57 b(This)34 b(option)i(is)f(on)g(b)m(y)h(default)f(for)g(in)m -(teractiv)m(e)1110 518 y(shells.)630 670 y Ft(-P)384 +1110 2192 y(The)d Ft(ERR)f Fu(trap)i(is)f(normally)h(not)f(inherited)g +(in)g(suc)m(h)g(cases.)630 2351 y Ft(-H)384 b Fu(Enable)38 +b(`)p Ft(!)p Fu(')h(st)m(yle)h(history)e(substitution)g(\(see)h +(Section)h(9.3)f([History)g(In-)1110 2461 y(teraction],)g(page)d +(139\).)57 b(This)34 b(option)i(is)f(on)g(b)m(y)h(default)f(for)g(in)m +(teractiv)m(e)1110 2570 y(shells.)630 2730 y Ft(-P)384 b Fu(If)39 b(set,)j(do)d(not)g(resolv)m(e)i(sym)m(b)s(olic)e(links)g -(when)f(p)s(erforming)g(commands)1110 780 y(suc)m(h)29 +(when)f(p)s(erforming)g(commands)1110 2839 y(suc)m(h)29 b(as)h Ft(cd)f Fu(whic)m(h)g(c)m(hange)h(the)g(curren)m(t)f(directory) --8 b(.)42 b(The)28 b(ph)m(ysical)j(direc-)1110 890 y(tory)j(is)g(used)f -(instead.)52 b(By)34 b(default,)h(Bash)f(follo)m(ws)h(the)f(logical)i -(c)m(hain)f(of)1110 999 y(directories)j(when)d(p)s(erforming)h +-8 b(.)42 b(The)28 b(ph)m(ysical)j(direc-)1110 2949 y(tory)j(is)g(used) +f(instead.)52 b(By)34 b(default,)h(Bash)f(follo)m(ws)h(the)f(logical)i +(c)m(hain)f(of)1110 3059 y(directories)j(when)d(p)s(erforming)h (commands)g(whic)m(h)g(c)m(hange)i(the)f(curren)m(t)1110 -1109 y(directory)-8 b(.)1110 1240 y(F)g(or)42 b(example,)i(if)d +3168 y(directory)-8 b(.)1110 3303 y(F)g(or)42 b(example,)i(if)d Ft(/usr/sys)e Fu(is)i(a)g(sym)m(b)s(olic)g(link)g(to)h -Ft(/usr/local/sys)1110 1349 y Fu(then:)1350 1480 y Ft($)47 -b(cd)h(/usr/sys;)d(echo)i($PWD)1350 1590 y(/usr/sys)1350 -1700 y($)g(cd)h(..;)f(pwd)1350 1809 y(/usr)1110 1940 -y Fu(If)30 b Ft(set)f(-P)h Fu(is)h(on,)f(then:)1350 2071 -y Ft($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 2181 y(/usr/local/sys) -1350 2290 y($)g(cd)h(..;)f(pwd)1350 2400 y(/usr/local)630 -2552 y(-T)384 b Fu(If)34 b(set,)j(an)m(y)e(trap)g(on)g +Ft(/usr/local/sys)1110 3412 y Fu(then:)1350 3547 y Ft($)47 +b(cd)h(/usr/sys;)d(echo)i($PWD)1350 3656 y(/usr/sys)1350 +3766 y($)g(cd)h(..;)f(pwd)1350 3875 y(/usr)1110 4010 +y Fu(If)30 b Ft(set)f(-P)h Fu(is)h(on,)f(then:)1350 4144 +y Ft($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 4254 y(/usr/local/sys) +1350 4364 y($)g(cd)h(..;)f(pwd)1350 4473 y(/usr/local)630 +4633 y(-T)384 b Fu(If)34 b(set,)j(an)m(y)e(trap)g(on)g Ft(DEBUG)e Fu(and)i Ft(RETURN)e Fu(are)i(inherited)g(b)m(y)f(shell)i -(func-)1110 2662 y(tions,)k(command)d(substitutions,)h(and)f(commands)g -(executed)h(in)f(a)h(sub-)1110 2771 y(shell)33 b(en)m(vironmen)m(t.)49 +(func-)1110 4742 y(tions,)k(command)d(substitutions,)h(and)f(commands)g +(executed)h(in)f(a)h(sub-)1110 4852 y(shell)33 b(en)m(vironmen)m(t.)49 b(The)32 b Ft(DEBUG)g Fu(and)g Ft(RETURN)f Fu(traps)h(are)i(normally)f -(not)1110 2881 y(inherited)d(in)g(suc)m(h)g(cases.)630 -3033 y Ft(--)384 b Fu(If)44 b(no)g(argumen)m(ts)g(follo)m(w)i(this)e +(not)1110 4961 y(inherited)d(in)g(suc)m(h)g(cases.)630 +5121 y Ft(--)384 b Fu(If)44 b(no)g(argumen)m(ts)g(follo)m(w)i(this)e (option,)k(then)c(the)h(p)s(ositional)g(parame-)1110 -3143 y(ters)31 b(are)g(unset.)40 b(Otherwise,)31 b(the)f(p)s(ositional) -i(parameters)f(are)f(set)h(to)h(the)1110 3253 y Fr(argumen)m(ts)p +5230 y(ters)31 b(are)g(unset.)40 b(Otherwise,)31 b(the)f(p)s(ositional) +i(parameters)f(are)f(set)h(to)h(the)1110 5340 y Fr(argumen)m(ts)p Fu(,)f(ev)m(en)g(if)f(some)h(of)g(them)f(b)s(egin)g(with)g(a)h(`)p -Ft(-)p Fu('.)630 3405 y Ft(-)432 b Fu(Signal)45 b(the)g(end)f(of)h -(options,)k(cause)c(all)h(remaining)e Fr(argumen)m(ts)49 -b Fu(to)d(b)s(e)1110 3515 y(assigned)33 b(to)h(the)g(p)s(ositional)g -(parameters.)49 b(The)33 b Ft(-x)g Fu(and)f Ft(-v)h Fu(options)h(are) -1110 3624 y(turned)k(o\013.)68 b(If)38 b(there)i(are)f(no)g(argumen)m -(ts,)j(the)e(p)s(ositional)g(parameters)1110 3734 y(remain)30 -b(unc)m(hanged.)630 3886 y(Using)d(`)p Ft(+)p Fu(')h(rather)f(than)g(`) -p Ft(-)p Fu(')g(causes)h(these)f(options)h(to)g(b)s(e)e(turned)g -(o\013.)40 b(The)27 b(options)h(can)630 3996 y(also)36 -b(b)s(e)f(used)f(up)s(on)g(in)m(v)m(o)s(cation)j(of)e(the)g(shell.)56 -b(The)34 b(curren)m(t)h(set)h(of)f(options)h(ma)m(y)g(b)s(e)630 -4105 y(found)29 b(in)h Ft($-)p Fu(.)630 4236 y(The)43 +Ft(-)p Fu('.)p eop end +%%Page: 64 70 +TeXDict begin 64 69 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(64)630 299 y Ft(-)432 +b Fu(Signal)45 b(the)g(end)f(of)h(options,)k(cause)c(all)h(remaining)e +Fr(argumen)m(ts)49 b Fu(to)d(b)s(e)1110 408 y(assigned)33 +b(to)h(the)g(p)s(ositional)g(parameters.)49 b(The)33 +b Ft(-x)g Fu(and)f Ft(-v)h Fu(options)h(are)1110 518 +y(turned)k(o\013.)68 b(If)38 b(there)i(are)f(no)g(argumen)m(ts,)j(the)e +(p)s(ositional)g(parameters)1110 628 y(remain)30 b(unc)m(hanged.)630 +801 y(Using)d(`)p Ft(+)p Fu(')h(rather)f(than)g(`)p Ft(-)p +Fu(')g(causes)h(these)f(options)h(to)g(b)s(e)e(turned)g(o\013.)40 +b(The)27 b(options)h(can)630 910 y(also)36 b(b)s(e)f(used)f(up)s(on)g +(in)m(v)m(o)s(cation)j(of)e(the)g(shell.)56 b(The)34 +b(curren)m(t)h(set)h(of)f(options)h(ma)m(y)g(b)s(e)630 +1020 y(found)29 b(in)h Ft($-)p Fu(.)630 1161 y(The)43 b(remaining)h(N)f Fr(argumen)m(ts)48 b Fu(are)c(p)s(ositional)g -(parameters)g(and)f(are)h(assigned,)j(in)630 4346 y(order,)30 +(parameters)g(and)f(are)h(assigned,)j(in)630 1271 y(order,)30 b(to)h Ft($1)p Fu(,)f Ft($2)p Fu(,)36 b(.)22 b(.)g(.)42 b Ft($N)p Fu(.)e(The)30 b(sp)s(ecial)h(parameter)g Ft(#)f -Fu(is)g(set)h(to)g(N.)630 4477 y(The)f(return)f(status)i(is)f(alw)m(a)m +Fu(is)g(set)h(to)g(N.)630 1412 y(The)f(return)f(status)i(is)f(alw)m(a)m (ys)i(zero)f(unless)f(an)g(in)m(v)-5 b(alid)31 b(option)g(is)f -(supplied.)150 4669 y Fk(4.3.2)63 b(The)41 b(Shopt)h(Builtin)150 -4816 y Fu(This)30 b(builtin)g(allo)m(ws)h(y)m(ou)g(to)g(c)m(hange)h +(supplied.)150 1625 y Fk(4.3.2)63 b(The)41 b(Shopt)h(Builtin)150 +1772 y Fu(This)30 b(builtin)g(allo)m(ws)h(y)m(ou)g(to)g(c)m(hange)h (additional)f(shell)f(optional)i(b)s(eha)m(vior.)150 -4968 y Ft(shopt)870 5099 y(shopt)46 b([-pqsu])g([-o])h([)p -Fj(optname)e Ft(...])630 5230 y Fu(T)-8 b(oggle)37 b(the)e(v)-5 +1952 y Ft(shopt)870 2093 y(shopt)46 b([-pqsu])g([-o])h([)p +Fj(optname)e Ft(...])630 2234 y Fu(T)-8 b(oggle)37 b(the)e(v)-5 b(alues)35 b(of)g(settings)h(con)m(trolling)g(optional)g(shell)f(b)s -(eha)m(vior.)55 b(The)34 b(settings)630 5340 y(can)24 +(eha)m(vior.)55 b(The)34 b(settings)630 2344 y(can)24 b(b)s(e)g(either)h(those)f(listed)h(b)s(elo)m(w,)h(or,)f(if)g(the)f Ft(-o)f Fu(option)i(is)f(used,)h(those)g(a)m(v)-5 b(ailable)26 -b(with)p eop end -%%Page: 63 69 -TeXDict begin 63 68 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(63)630 299 y(the)30 -b Ft(-o)f Fu(option)i(to)f(the)g Ft(set)f Fu(builtin)h(command)f(\(see) -i(Section)g(4.3.1)g([The)f(Set)g(Builtin],)630 408 y(page)i(58\).)45 -b(With)32 b(no)f(options,)h(or)g(with)f(the)g Ft(-p)g -Fu(option,)h(a)g(list)g(of)f(all)i(settable)g(options)630 -518 y(is)j(displa)m(y)m(ed,)h(with)f(an)f(indication)i(of)e(whether)g -(or)h(not)g(eac)m(h)h(is)e(set.)57 b(The)35 b Ft(-p)g -Fu(option)630 628 y(causes)i(output)e(to)i(b)s(e)e(displa)m(y)m(ed)i -(in)f(a)g(form)g(that)h(ma)m(y)f(b)s(e)g(reused)f(as)h(input.)57 -b(Other)630 737 y(options)31 b(ha)m(v)m(e)g(the)g(follo)m(wing)h -(meanings:)630 894 y Ft(-s)384 b Fu(Enable)30 b(\(set\))i(eac)m(h)f -Fr(optname)p Fu(.)630 1052 y Ft(-u)384 b Fu(Disable)31 -b(\(unset\))g(eac)m(h)h Fr(optname)p Fu(.)630 1209 y +b(with)630 2453 y(the)k Ft(-o)f Fu(option)i(to)f(the)g +Ft(set)f Fu(builtin)h(command)f(\(see)i(Section)g(4.3.1)g([The)f(Set)g +(Builtin],)630 2563 y(page)i(60\).)45 b(With)32 b(no)f(options,)h(or)g +(with)f(the)g Ft(-p)g Fu(option,)h(a)g(list)g(of)f(all)i(settable)g +(options)630 2673 y(is)j(displa)m(y)m(ed,)h(with)f(an)f(indication)i +(of)e(whether)g(or)h(not)g(eac)m(h)h(is)e(set.)57 b(The)35 +b Ft(-p)g Fu(option)630 2782 y(causes)i(output)e(to)i(b)s(e)e(displa)m +(y)m(ed)i(in)f(a)g(form)g(that)h(ma)m(y)f(b)s(e)g(reused)f(as)h(input.) +57 b(Other)630 2892 y(options)31 b(ha)m(v)m(e)g(the)g(follo)m(wing)h +(meanings:)630 3065 y Ft(-s)384 b Fu(Enable)30 b(\(set\))i(eac)m(h)f +Fr(optname)p Fu(.)630 3238 y Ft(-u)384 b Fu(Disable)31 +b(\(unset\))g(eac)m(h)h Fr(optname)p Fu(.)630 3411 y Ft(-q)384 b Fu(Suppresses)28 b(normal)h(output;)h(the)g(return)e -(status)i(indicates)h(whether)e(the)1110 1319 y Fr(optname)37 +(status)i(indicates)h(whether)e(the)1110 3520 y Fr(optname)37 b Fu(is)31 b(set)h(or)f(unset.)43 b(If)31 b(m)m(ultiple)h Fr(optname)37 b Fu(argumen)m(ts)31 b(are)h(giv)m(en)1110 -1428 y(with)d Ft(-q)p Fu(,)g(the)g(return)f(status)h(is)g(zero)h(if)f -(all)h Fr(optnames)j Fu(are)d(enabled;)f(non-)1110 1538 -y(zero)i(otherwise.)630 1695 y Ft(-o)384 b Fu(Restricts)22 +3630 y(with)d Ft(-q)p Fu(,)g(the)g(return)f(status)h(is)g(zero)h(if)f +(all)h Fr(optnames)j Fu(are)d(enabled;)f(non-)1110 3740 +y(zero)i(otherwise.)630 3913 y Ft(-o)384 b Fu(Restricts)22 b(the)f(v)-5 b(alues)22 b(of)f Fr(optname)27 b Fu(to)22 b(b)s(e)e(those)i(de\014ned)e(for)h(the)g Ft(-o)f Fu(option)1110 -1805 y(to)31 b(the)g Ft(set)e Fu(builtin)h(\(see)h(Section)h(4.3.1)g -([The)e(Set)g(Builtin],)i(page)f(58\).)630 1962 y(If)e(either)i +4022 y(to)31 b(the)g Ft(set)e Fu(builtin)h(\(see)h(Section)h(4.3.1)g +([The)e(Set)g(Builtin],)i(page)f(60\).)630 4195 y(If)e(either)i Ft(-s)e Fu(or)h Ft(-u)f Fu(is)h(used)f(with)g(no)h Fr(optname)35 b Fu(argumen)m(ts,)c Ft(shopt)d Fu(sho)m(ws)h(only)h(those)630 -2071 y(options)h(whic)m(h)f(are)h(set)f(or)h(unset,)f(resp)s(ectiv)m -(ely)-8 b(.)630 2205 y(Unless)30 b(otherwise)h(noted,)g(the)g +4305 y(options)h(whic)m(h)f(are)h(set)f(or)h(unset,)f(resp)s(ectiv)m +(ely)-8 b(.)630 4446 y(Unless)30 b(otherwise)h(noted,)g(the)g Ft(shopt)d Fu(options)j(are)g(disabled)f(\(o\013)7 b(\))32 -b(b)m(y)e(default.)630 2338 y(The)d(return)f(status)i(when)f(listing)h +b(b)m(y)e(default.)630 4587 y(The)d(return)f(status)i(when)f(listing)h (options)g(is)f(zero)i(if)e(all)i Fr(optnames)i Fu(are)d(enabled,)g -(non-)630 2448 y(zero)40 b(otherwise.)66 b(When)39 b(setting)h(or)f +(non-)630 4697 y(zero)40 b(otherwise.)66 b(When)39 b(setting)h(or)f (unsetting)g(options,)i(the)e(return)f(status)h(is)g(zero)630 -2557 y(unless)30 b(an)g Fr(optname)36 b Fu(is)30 b(not)h(a)g(v)-5 -b(alid)30 b(shell)h(option.)630 2691 y(The)f(list)h(of)f -Ft(shopt)f Fu(options)i(is:)630 2848 y Ft(autocd)192 +4806 y(unless)30 b(an)g Fr(optname)36 b Fu(is)30 b(not)h(a)g(v)-5 +b(alid)30 b(shell)h(option.)630 4948 y(The)f(list)h(of)f +Ft(shopt)f Fu(options)i(is:)630 5121 y Ft(autocd)192 b Fu(If)27 b(set,)h(a)g(command)f(name)g(that)h(is)f(the)g(name)g(of)h -(a)f(directory)h(is)f(executed)1110 2958 y(as)j(if)f(it)h(w)m(ere)f +(a)f(directory)h(is)f(executed)1110 5230 y(as)j(if)f(it)h(w)m(ere)f (the)h(argumen)m(t)g(to)g(the)f Ft(cd)g Fu(command.)40 -b(This)29 b(option)g(is)h(only)1110 3067 y(used)g(b)m(y)g(in)m -(teractiv)m(e)j(shells.)630 3224 y Ft(cdable_vars)1110 -3334 y Fu(If)h(this)h(is)g(set,)i(an)e(argumen)m(t)g(to)h(the)f -Ft(cd)f Fu(builtin)h(command)f(that)i(is)f(not)1110 3444 +b(This)29 b(option)g(is)h(only)1110 5340 y(used)g(b)m(y)g(in)m +(teractiv)m(e)j(shells.)p eop end +%%Page: 65 71 +TeXDict begin 65 70 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(65)630 299 y Ft(cdable_vars)1110 +408 y Fu(If)34 b(this)h(is)g(set,)i(an)e(argumen)m(t)g(to)h(the)f +Ft(cd)f Fu(builtin)h(command)f(that)i(is)f(not)1110 518 y(a)c(directory)g(is)g(assumed)f(to)h(b)s(e)f(the)h(name)f(of)h(a)g(v) --5 b(ariable)31 b(whose)g(v)-5 b(alue)31 b(is)1110 3553 -y(the)g(directory)f(to)i(c)m(hange)f(to.)630 3710 y Ft(cdspell)144 +-5 b(ariable)31 b(whose)g(v)-5 b(alue)31 b(is)1110 628 +y(the)g(directory)f(to)i(c)m(hange)f(to.)630 792 y Ft(cdspell)144 b Fu(If)27 b(set,)h(minor)f(errors)f(in)h(the)g(sp)s(elling)h(of)f(a)g -(directory)h(comp)s(onen)m(t)f(in)g(a)h Ft(cd)1110 3820 +(directory)h(comp)s(onen)m(t)f(in)g(a)h Ft(cd)1110 902 y Fu(command)i(will)h(b)s(e)f(corrected.)43 b(The)30 b(errors)g(c)m(hec)m(k)m(ed)j(for)d(are)h(transp)s(osed)1110 -3930 y(c)m(haracters,)46 b(a)c(missing)f(c)m(haracter,)47 +1011 y(c)m(haracters,)46 b(a)c(missing)f(c)m(haracter,)47 b(and)40 b(a)i(c)m(haracter)h(to)s(o)g(man)m(y)-8 b(.)74 -b(If)42 b(a)1110 4039 y(correction)25 b(is)e(found,)g(the)h(corrected)g -(path)f(is)g(prin)m(ted,)h(and)f(the)g(command)1110 4149 +b(If)42 b(a)1110 1121 y(correction)25 b(is)e(found,)g(the)h(corrected)g +(path)f(is)g(prin)m(ted,)h(and)f(the)g(command)1110 1230 y(pro)s(ceeds.)40 b(This)30 b(option)h(is)f(only)h(used)e(b)m(y)h(in)m -(teractiv)m(e)k(shells.)630 4306 y Ft(checkhash)1110 -4416 y Fu(If)29 b(this)h(is)g(set,)g(Bash)g(c)m(hec)m(ks)h(that)g(a)f -(command)f(found)g(in)g(the)h(hash)f(table)1110 4525 +(teractiv)m(e)k(shells.)630 1395 y Ft(checkhash)1110 +1504 y Fu(If)29 b(this)h(is)g(set,)g(Bash)g(c)m(hec)m(ks)h(that)g(a)f +(command)f(found)g(in)g(the)h(hash)f(table)1110 1614 y(exists)k(b)s(efore)f(trying)h(to)h(execute)g(it.)48 -b(If)32 b(a)h(hashed)e(command)i(no)f(longer)1110 4635 +b(If)32 b(a)h(hashed)e(command)i(no)f(longer)1110 1724 y(exists,)f(a)g(normal)f(path)g(searc)m(h)h(is)g(p)s(erformed.)630 -4792 y Ft(checkjobs)1110 4902 y Fu(If)d(set,)i(Bash)e(lists)h(the)g +1888 y Ft(checkjobs)1110 1998 y Fu(If)d(set,)i(Bash)e(lists)h(the)g (status)g(of)f(an)m(y)h(stopp)s(ed)f(and)g(running)e(jobs)i(b)s(efore) -1110 5011 y(exiting)42 b(an)f(in)m(teractiv)m(e)j(shell.)72 +1110 2107 y(exiting)42 b(an)f(in)m(teractiv)m(e)j(shell.)72 b(If)41 b(an)m(y)g(jobs)f(are)i(running,)g(this)f(causes)1110 -5121 y(the)30 b(exit)g(to)g(b)s(e)f(deferred)g(un)m(til)h(a)f(second)h -(exit)g(is)g(attempted)h(without)e(an)1110 5230 y(in)m(terv)m(ening)j -(command)e(\(see)h(Chapter)f(7)h([Job)f(Con)m(trol],)i(page)f(97\).)42 -b(The)1110 5340 y(shell)31 b(alw)m(a)m(ys)g(p)s(ostp)s(ones)f(exiting)h -(if)g(an)m(y)f(jobs)g(are)h(stopp)s(ed.)p eop end -%%Page: 64 70 -TeXDict begin 64 69 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(64)630 299 y Ft(checkwinsize) -1110 408 y Fu(If)41 b(set,)k(Bash)c(c)m(hec)m(ks)i(the)f(windo)m(w)e -(size)j(after)f(eac)m(h)g(command)f(and,)j(if)1110 518 -y(necessary)-8 b(,)31 b(up)s(dates)f(the)g(v)-5 b(alues)31 -b(of)g Ft(LINES)e Fu(and)g Ft(COLUMNS)p Fu(.)630 669 -y Ft(cmdhist)144 b Fu(If)33 b(set,)j(Bash)e(attempts)h(to)g(sa)m(v)m(e) -g(all)g(lines)f(of)g(a)h(m)m(ultiple-line)g(command)1110 -778 y(in)c(the)g(same)g(history)g(en)m(try)-8 b(.)42 -b(This)30 b(allo)m(ws)i(easy)g(re-editing)g(of)f(m)m(ulti-line)1110 -888 y(commands.)630 1039 y Ft(compat31)96 b Fu(If)27 -b(set,)i(Bash)e(c)m(hanges)i(its)f(b)s(eha)m(vior)f(to)i(that)f(of)f(v) -m(ersion)h(3.1)h(with)e(resp)s(ect)1110 1148 y(to)39 -b(quoted)f(argumen)m(ts)g(to)h(the)f(conditional)h(command's)f(`)p -Ft(=~)p Fu(')g(op)s(erator)1110 1258 y(and)i(with)f(resp)s(ect)i(to)g -(lo)s(cale-sp)s(eci\014c)h(string)e(comparison)g(when)f(using)1110 -1367 y(the)31 b Ft([[)e Fu(conditional)j(command's)e(`)p -Ft(<)p Fu(')h(and)f(`)p Ft(>)p Fu(')g(op)s(erators.)41 -b(Bash)31 b(v)m(ersions)1110 1477 y(prior)g(to)h(bash-4.1)g(use)g(ASCI) -s(I)e(collation)j(and)e(strcmp\(3\);)i(bash-4.1)g(and)1110 -1587 y(later)e(use)f(the)h(curren)m(t)f(lo)s(cale's)i(collation)h -(sequence)e(and)f(strcoll\(3\).)630 1737 y Ft(compat32)96 -b Fu(If)27 b(set,)i(Bash)e(c)m(hanges)i(its)f(b)s(eha)m(vior)f(to)i -(that)f(of)f(v)m(ersion)h(3.2)h(with)e(resp)s(ect)1110 -1847 y(to)34 b(lo)s(cale-sp)s(eci\014c)h(string)e(comparison)g(when)f -(using)h(the)g Ft([[)g Fu(conditional)1110 1956 y(command's)d(`)p -Ft(<)p Fu(')h(and)f(`)p Ft(>)p Fu(')g(op)s(erators)h(\(see)g(previous)f -(item\).)630 2107 y Ft(compat40)96 b Fu(If)27 b(set,)i(Bash)e(c)m -(hanges)i(its)f(b)s(eha)m(vior)f(to)i(that)f(of)f(v)m(ersion)h(4.0)h -(with)e(resp)s(ect)1110 2217 y(to)34 b(lo)s(cale-sp)s(eci\014c)h -(string)e(comparison)g(when)f(using)h(the)g Ft([[)g Fu(conditional)1110 -2326 y(command's)28 b(`)p Ft(<)p Fu(')h(and)f(`)p Ft(>)p -Fu(')h(op)s(erators)f(\(see)i(description)e(of)h Ft(compat31)p -Fu(\))e(and)1110 2436 y(the)38 b(e\013ect)i(of)e(in)m(terrupting)f(a)i -(command)e(list.)64 b(Bash)38 b(v)m(ersions)h(4.0)g(and)1110 -2545 y(later)24 b(in)m(terrupt)f(the)g(list)h(as)g(if)f(the)h(shell)f -(receiv)m(ed)i(the)e(in)m(terrupt;)i(previous)1110 2655 -y(v)m(ersions)31 b(con)m(tin)m(ue)g(with)f(the)h(next)g(command)f(in)g -(the)g(list.)630 2806 y Ft(compat41)96 b Fu(If)25 b(set,)j(Bash,)e -(when)f(in)g Fm(posix)g Fu(mo)s(de,)i(treats)f(a)g(single)h(quote)f(in) -f(a)h(double-)1110 2915 y(quoted)46 b(parameter)h(expansion)f(as)g(a)h -(sp)s(ecial)f(c)m(haracter.)90 b(The)45 b(single)1110 -3025 y(quotes)34 b(m)m(ust)g(matc)m(h)h(\(an)f(ev)m(en)h(n)m(um)m(b)s -(er\))e(and)g(the)h(c)m(haracters)h(b)s(et)m(w)m(een)1110 -3134 y(the)40 b(single)g(quotes)g(are)g(considered)g(quoted.)69 -b(This)38 b(is)i(the)g(b)s(eha)m(vior)g(of)1110 3244 -y Fm(posix)f Fu(mo)s(de)g(through)g(v)m(ersion)h(4.1.)69 +2217 y(the)30 b(exit)g(to)g(b)s(e)f(deferred)g(un)m(til)h(a)f(second)h +(exit)g(is)g(attempted)h(without)e(an)1110 2326 y(in)m(terv)m(ening)d +(command)f(\(see)h(Chapter)e(7)h([Job)g(Con)m(trol],)i(page)f(100\).)40 +b(The)1110 2436 y(shell)31 b(alw)m(a)m(ys)g(p)s(ostp)s(ones)f(exiting)h +(if)g(an)m(y)f(jobs)g(are)h(stopp)s(ed.)630 2600 y Ft(checkwinsize)1110 +2710 y Fu(If)41 b(set,)k(Bash)c(c)m(hec)m(ks)i(the)f(windo)m(w)e(size)j +(after)f(eac)m(h)g(command)f(and,)j(if)1110 2819 y(necessary)-8 +b(,)31 b(up)s(dates)f(the)g(v)-5 b(alues)31 b(of)g Ft(LINES)e +Fu(and)g Ft(COLUMNS)p Fu(.)630 2984 y Ft(cmdhist)144 +b Fu(If)33 b(set,)j(Bash)e(attempts)h(to)g(sa)m(v)m(e)g(all)g(lines)f +(of)g(a)h(m)m(ultiple-line)g(command)1110 3093 y(in)c(the)g(same)g +(history)g(en)m(try)-8 b(.)42 b(This)30 b(allo)m(ws)i(easy)g +(re-editing)g(of)f(m)m(ulti-line)1110 3203 y(commands.)630 +3367 y Ft(compat31)96 b Fu(If)27 b(set,)i(Bash)e(c)m(hanges)i(its)f(b)s +(eha)m(vior)f(to)i(that)f(of)f(v)m(ersion)h(3.1)h(with)e(resp)s(ect) +1110 3477 y(to)39 b(quoted)f(argumen)m(ts)g(to)h(the)f(conditional)h +(command's)f(`)p Ft(=~)p Fu(')g(op)s(erator)1110 3587 +y(and)i(with)f(resp)s(ect)i(to)g(lo)s(cale-sp)s(eci\014c)h(string)e +(comparison)g(when)f(using)1110 3696 y(the)31 b Ft([[)e +Fu(conditional)j(command's)e(`)p Ft(<)p Fu(')h(and)f(`)p +Ft(>)p Fu(')g(op)s(erators.)41 b(Bash)31 b(v)m(ersions)1110 +3806 y(prior)g(to)h(bash-4.1)g(use)g(ASCI)s(I)e(collation)j(and)e +(strcmp\(3\);)i(bash-4.1)g(and)1110 3915 y(later)e(use)f(the)h(curren)m +(t)f(lo)s(cale's)i(collation)h(sequence)e(and)f(strcoll\(3\).)630 +4080 y Ft(compat32)96 b Fu(If)27 b(set,)i(Bash)e(c)m(hanges)i(its)f(b)s +(eha)m(vior)f(to)i(that)f(of)f(v)m(ersion)h(3.2)h(with)e(resp)s(ect) +1110 4189 y(to)34 b(lo)s(cale-sp)s(eci\014c)h(string)e(comparison)g +(when)f(using)h(the)g Ft([[)g Fu(conditional)1110 4299 +y(command's)21 b(`)p Ft(<)p Fu(')g(and)f(`)p Ft(>)p Fu(')h(op)s +(erators)g(\(see)h(previous)e(item\))i(and)e(the)h(e\013ect)i(of)1110 +4408 y(in)m(terrupting)h(a)h(command)e(list.)40 b(Bash)24 +b(v)m(ersions)h(3.2)g(and)f(earlier)h(con)m(tin)m(ue)1110 +4518 y(with)33 b(the)g(next)g(command)g(in)g(the)g(list)h(after)f(one)h +(terminates)g(due)e(to)i(an)1110 4628 y(in)m(terrupt.)630 +4792 y Ft(compat40)96 b Fu(If)27 b(set,)i(Bash)e(c)m(hanges)i(its)f(b)s +(eha)m(vior)f(to)i(that)f(of)f(v)m(ersion)h(4.0)h(with)e(resp)s(ect) +1110 4902 y(to)34 b(lo)s(cale-sp)s(eci\014c)h(string)e(comparison)g +(when)f(using)h(the)g Ft([[)g Fu(conditional)1110 5011 +y(command's)28 b(`)p Ft(<)p Fu(')h(and)f(`)p Ft(>)p Fu(')h(op)s +(erators)f(\(see)i(description)e(of)h Ft(compat31)p Fu(\))e(and)1110 +5121 y(the)38 b(e\013ect)i(of)e(in)m(terrupting)f(a)i(command)e(list.) +64 b(Bash)38 b(v)m(ersions)h(4.0)g(and)1110 5230 y(later)24 +b(in)m(terrupt)f(the)g(list)h(as)g(if)f(the)h(shell)f(receiv)m(ed)i +(the)e(in)m(terrupt;)i(previous)1110 5340 y(v)m(ersions)31 +b(con)m(tin)m(ue)g(with)f(the)h(next)g(command)f(in)g(the)g(list.)p +eop end +%%Page: 66 72 +TeXDict begin 66 71 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(66)630 299 y Ft(compat41)96 +b Fu(If)25 b(set,)j(Bash,)e(when)f(in)g Fm(posix)g Fu(mo)s(de,)i +(treats)f(a)g(single)h(quote)f(in)f(a)h(double-)1110 +408 y(quoted)46 b(parameter)h(expansion)f(as)g(a)h(sp)s(ecial)f(c)m +(haracter.)90 b(The)45 b(single)1110 518 y(quotes)34 +b(m)m(ust)g(matc)m(h)h(\(an)f(ev)m(en)h(n)m(um)m(b)s(er\))e(and)g(the)h +(c)m(haracters)h(b)s(et)m(w)m(een)1110 628 y(the)40 b(single)g(quotes)g +(are)g(considered)g(quoted.)69 b(This)38 b(is)i(the)g(b)s(eha)m(vior)g +(of)1110 737 y Fm(posix)f Fu(mo)s(de)g(through)g(v)m(ersion)h(4.1.)69 b(The)39 b(default)g(Bash)h(b)s(eha)m(vior)g(re-)1110 -3354 y(mains)30 b(as)h(in)f(previous)g(v)m(ersions.)630 -3504 y Ft(compat42)96 b Fu(If)29 b(set,)i(Bash)f(do)s(es)f(not)h(pro)s +847 y(mains)30 b(as)h(in)f(previous)g(v)m(ersions.)630 +998 y Ft(compat42)96 b Fu(If)29 b(set,)i(Bash)f(do)s(es)f(not)h(pro)s (cess)g(the)g(replacemen)m(t)h(string)e(in)h(the)g(pattern)1110 -3614 y(substitution)g(w)m(ord)g(expansion)g(using)g(quote)h(remo)m(v)-5 -b(al.)630 3765 y Ft(complete_fullquote)1110 3874 y Fu(If)31 -b(set,)g(Bash)h(quotes)f(all)h(shell)f(metac)m(haracters)i(in)e -(\014lenames)g(and)g(direc-)1110 3984 y(tory)g(names)f(when)g(p)s -(erforming)f(completion.)43 b(If)30 b(not)h(set,)g(Bash)g(remo)m(v)m -(es)1110 4093 y(metac)m(haracters)40 b(suc)m(h)d(as)h(the)g(dollar)g -(sign)g(from)f(the)h(set)g(of)f(c)m(haracters)1110 4203 -y(that)f(will)g(b)s(e)f(quoted)g(in)g(completed)i(\014lenames)e(when)f -(these)i(metac)m(har-)1110 4313 y(acters)29 b(app)s(ear)e(in)g(shell)h -(v)-5 b(ariable)28 b(references)g(in)f(w)m(ords)g(to)i(b)s(e)e -(completed.)1110 4422 y(This)k(means)i(that)g(dollar)f(signs)g(in)g(v) --5 b(ariable)33 b(names)g(that)f(expand)g(to)h(di-)1110 -4532 y(rectories)28 b(will)g(not)f(b)s(e)f(quoted;)j(ho)m(w)m(ev)m(er,) -g(an)m(y)e(dollar)h(signs)f(app)s(earing)f(in)1110 4641 +1107 y(substitution)g(w)m(ord)g(expansion)g(using)g(quote)h(remo)m(v)-5 +b(al.)630 1258 y Ft(compat43)96 b Fu(If)24 b(set,)j(Bash)e(do)s(es)g +(not)g(prin)m(t)g(a)g(w)m(arning)g(message)h(if)f(an)g(attempt)h(is)f +(made)1110 1367 y(to)43 b(use)g(a)g(quoted)f(comp)s(ound)f(arra)m(y)i +(assignmen)m(t)h(as)f(an)f(argumen)m(t)h(to)1110 1477 +y Ft(declare)p Fu(,)31 b(mak)m(es)i(w)m(ord)f(expansion)g(errors)g +(non-fatal)i(errors)d(that)i(cause)1110 1587 y(the)28 +b(curren)m(t)h(command)f(to)h(fail)g(\(the)f(default)h(b)s(eha)m(vior)f +(is)h(to)g(mak)m(e)g(them)1110 1696 y(fatal)42 b(errors)e(that)i(cause) +f(the)h(shell)f(to)g(exit\),)k(and)c(do)s(es)f(not)h(reset)h(the)1110 +1806 y(lo)s(op)34 b(state)h(when)f(a)g(shell)g(function)g(is)g +(executed)h(\(this)f(allo)m(ws)h Ft(break)e Fu(or)1110 +1915 y Ft(continue)25 b Fu(in)j(a)g(shell)g(function)f(to)i(a\013ect)g +(lo)s(ops)f(in)f(the)h(caller's)h(con)m(text\).)630 2066 +y Ft(complete_fullquote)1110 2176 y Fu(If)i(set,)g(Bash)h(quotes)f(all) +h(shell)f(metac)m(haracters)i(in)e(\014lenames)g(and)g(direc-)1110 +2285 y(tory)g(names)f(when)g(p)s(erforming)f(completion.)43 +b(If)30 b(not)h(set,)g(Bash)g(remo)m(v)m(es)1110 2395 +y(metac)m(haracters)40 b(suc)m(h)d(as)h(the)g(dollar)g(sign)g(from)f +(the)h(set)g(of)f(c)m(haracters)1110 2504 y(that)f(will)g(b)s(e)f +(quoted)g(in)g(completed)i(\014lenames)e(when)f(these)i(metac)m(har-) +1110 2614 y(acters)29 b(app)s(ear)e(in)g(shell)h(v)-5 +b(ariable)28 b(references)g(in)f(w)m(ords)g(to)i(b)s(e)e(completed.) +1110 2724 y(This)k(means)i(that)g(dollar)f(signs)g(in)g(v)-5 +b(ariable)33 b(names)g(that)f(expand)g(to)h(di-)1110 +2833 y(rectories)28 b(will)g(not)f(b)s(e)f(quoted;)j(ho)m(w)m(ev)m(er,) +g(an)m(y)e(dollar)h(signs)f(app)s(earing)f(in)1110 2943 y(\014lenames)j(will)h(not)f(b)s(e)g(quoted,)h(either.)41 b(This)28 b(is)i(activ)m(e)h(only)e(when)g(bash)1110 -4751 y(is)39 b(using)f(bac)m(kslashes)i(to)g(quote)g(completed)f -(\014lenames.)67 b(This)38 b(v)-5 b(ariable)1110 4861 +3052 y(is)39 b(using)f(bac)m(kslashes)i(to)g(quote)g(completed)f +(\014lenames.)67 b(This)38 b(v)-5 b(ariable)1110 3162 y(is)41 b(set)g(b)m(y)g(default,)j(whic)m(h)c(is)h(the)g(default)g -(Bash)g(b)s(eha)m(vior)g(in)g(v)m(ersions)1110 4970 y(through)30 -b(4.2.)630 5121 y Ft(direxpand)1110 5230 y Fu(If)k(set,)i(Bash)f +(Bash)g(b)s(eha)m(vior)g(in)g(v)m(ersions)1110 3271 y(through)30 +b(4.2.)630 3422 y Ft(direxpand)1110 3532 y Fu(If)k(set,)i(Bash)f (replaces)g(directory)g(names)g(with)f(the)g(results)h(of)f(w)m(ord)g -(ex-)1110 5340 y(pansion)k(when)g(p)s(erforming)f(\014lename)i -(completion.)67 b(This)38 b(c)m(hanges)i(the)p eop end -%%Page: 65 71 -TeXDict begin 65 70 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(65)1110 299 y(con)m(ten)m(ts)29 -b(of)e(the)g(readline)h(editing)g(bu\013er.)38 b(If)27 -b(not)g(set,)i(Bash)e(attempts)h(to)1110 408 y(preserv)m(e)j(what)f -(the)g(user)g(t)m(yp)s(ed.)630 555 y Ft(dirspell)96 b -Fu(If)26 b(set,)i(Bash)f(attempts)g(sp)s(elling)g(correction)g(on)g -(directory)g(names)f(during)1110 664 y(w)m(ord)36 b(completion)h(if)f -(the)g(directory)g(name)g(initially)h(supplied)e(do)s(es)h(not)1110 -774 y(exist.)630 920 y Ft(dotglob)144 b Fu(If)27 b(set,)i(Bash)f -(includes)g(\014lenames)g(b)s(eginning)f(with)g(a)h(`.')41 -b(in)27 b(the)h(results)g(of)1110 1029 y(\014lename)j(expansion.)630 -1176 y Ft(execfail)96 b Fu(If)24 b(this)h(is)f(set,)j(a)e(non-in)m +(ex-)1110 3641 y(pansion)k(when)g(p)s(erforming)f(\014lename)i +(completion.)67 b(This)38 b(c)m(hanges)i(the)1110 3751 +y(con)m(ten)m(ts)29 b(of)e(the)g(readline)h(editing)g(bu\013er.)38 +b(If)27 b(not)g(set,)i(Bash)e(attempts)h(to)1110 3861 +y(preserv)m(e)j(what)f(the)g(user)g(t)m(yp)s(ed.)630 +4011 y Ft(dirspell)96 b Fu(If)26 b(set,)i(Bash)f(attempts)g(sp)s +(elling)g(correction)g(on)g(directory)g(names)f(during)1110 +4121 y(w)m(ord)36 b(completion)h(if)f(the)g(directory)g(name)g +(initially)h(supplied)e(do)s(es)h(not)1110 4230 y(exist.)630 +4381 y Ft(dotglob)144 b Fu(If)27 b(set,)i(Bash)f(includes)g +(\014lenames)g(b)s(eginning)f(with)g(a)h(`.')41 b(in)27 +b(the)h(results)g(of)1110 4491 y(\014lename)j(expansion.)630 +4641 y Ft(execfail)96 b Fu(If)24 b(this)h(is)f(set,)j(a)e(non-in)m (teractiv)m(e)i(shell)e(will)f(not)h(exit)h(if)e(it)h(cannot)h(execute) -1110 1285 y(the)i(\014le)g(sp)s(eci\014ed)g(as)g(an)g(argumen)m(t)g(to) +1110 4751 y(the)i(\014le)g(sp)s(eci\014ed)g(as)g(an)g(argumen)m(t)g(to) h(the)f Ft(exec)f Fu(builtin)h(command.)39 b(An)1110 -1395 y(in)m(teractiv)m(e)33 b(shell)e(do)s(es)f(not)g(exit)i(if)e -Ft(exec)f Fu(fails.)630 1541 y Ft(expand_aliases)1110 -1650 y Fu(If)j(set,)h(aliases)g(are)g(expanded)e(as)h(describ)s(ed)f(b) -s(elo)m(w)h(under)f(Aliases,)i(Sec-)1110 1760 y(tion)38 -b(6.6)h([Aliases],)j(page)d(88.)64 b(This)37 b(option)h(is)g(enabled)g -(b)m(y)g(default)g(for)1110 1870 y(in)m(teractiv)m(e)33 -b(shells.)630 2016 y Ft(extdebug)96 b Fu(If)30 b(set,)h(b)s(eha)m(vior) -g(in)m(tended)f(for)g(use)g(b)m(y)g(debuggers)g(is)h(enabled:)1159 -2144 y(1.)61 b(The)37 b Ft(-F)g Fu(option)h(to)g(the)g +4861 y(in)m(teractiv)m(e)33 b(shell)e(do)s(es)f(not)g(exit)i(if)e +Ft(exec)f Fu(fails.)630 5011 y Ft(expand_aliases)1110 +5121 y Fu(If)j(set,)h(aliases)g(are)g(expanded)e(as)h(describ)s(ed)f(b) +s(elo)m(w)h(under)f(Aliases,)i(Sec-)1110 5230 y(tion)38 +b(6.6)h([Aliases],)j(page)d(90.)64 b(This)37 b(option)h(is)g(enabled)g +(b)m(y)g(default)g(for)1110 5340 y(in)m(teractiv)m(e)33 +b(shells.)p eop end +%%Page: 67 73 +TeXDict begin 67 72 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(67)630 299 y Ft(extdebug)96 +b Fu(If)36 b(set)h(at)h(shell)f(in)m(v)m(o)s(cation,)j(arrange)d(to)h +(execute)g(the)f(debugger)f(pro\014le)1110 408 y(b)s(efore)f(the)h +(shell)f(starts,)j(iden)m(tical)f(to)f(the)g Ft(--debugger)c +Fu(option.)56 b(If)35 b(set)1110 518 y(after)25 b(in)m(v)m(o)s(cation,) +j(b)s(eha)m(vior)d(in)m(tended)g(for)f(use)h(b)m(y)g(debuggers)f(is)h +(enabled:)1159 652 y(1.)61 b(The)37 b Ft(-F)g Fu(option)h(to)g(the)g Ft(declare)d Fu(builtin)i(\(see)i(Section)f(4.2)h([Bash)1290 -2253 y(Builtins],)29 b(page)g(48\))g(displa)m(ys)f(the)g(source)h -(\014le)f(name)g(and)f(line)h(n)m(um-)1290 2363 y(b)s(er)h(corresp)s +762 y(Builtins],)29 b(page)g(49\))g(displa)m(ys)f(the)g(source)h +(\014le)f(name)g(and)f(line)h(n)m(um-)1290 871 y(b)s(er)h(corresp)s (onding)g(to)i(eac)m(h)g(function)f(name)g(supplied)f(as)i(an)f(argu-) -1290 2472 y(men)m(t.)1159 2600 y(2.)61 b(If)20 b(the)h(command)g(run)e +1290 981 y(men)m(t.)1159 1115 y(2.)61 b(If)20 b(the)h(command)g(run)e (b)m(y)i(the)f Ft(DEBUG)g Fu(trap)g(returns)g(a)h(non-zero)g(v)-5 -b(alue,)1290 2710 y(the)31 b(next)f(command)g(is)h(skipp)s(ed)e(and)g -(not)i(executed.)1159 2838 y(3.)61 b(If)37 b(the)g(command)g(run)f(b)m +b(alue,)1290 1224 y(the)31 b(next)f(command)g(is)h(skipp)s(ed)e(and)g +(not)i(executed.)1159 1358 y(3.)61 b(If)37 b(the)g(command)g(run)f(b)m (y)i(the)f Ft(DEBUG)f Fu(trap)h(returns)f(a)i(v)-5 b(alue)38 -b(of)f(2,)1290 2947 y(and)c(the)g(shell)h(is)f(executing)i(in)e(a)h -(subroutine)e(\(a)i(shell)g(function)f(or)1290 3057 y(a)h(shell)h -(script)f(executed)h(b)m(y)f(the)g Ft(.)g Fu(or)g Ft(source)e -Fu(builtins\),)j(a)g(call)g(to)1290 3166 y Ft(return)29 -b Fu(is)h(sim)m(ulated.)1159 3294 y(4.)61 b Ft(BASH_ARGC)34 +b(of)f(2,)1290 1468 y(and)c(the)g(shell)h(is)f(executing)i(in)e(a)h +(subroutine)e(\(a)i(shell)g(function)f(or)1290 1577 y(a)h(shell)g +(script)f(executed)h(b)m(y)g(the)f Ft(.)h Fu(or)f Ft(source)f +Fu(builtins\),)i(the)g(shell)1290 1687 y(sim)m(ulates)d(a)g(call)h(to)f +Ft(return)p Fu(.)1159 1821 y(4.)61 b Ft(BASH_ARGC)34 b Fu(and)i Ft(BASH_ARGV)e Fu(are)j(up)s(dated)e(as)h(describ)s(ed)g(in) -g(their)1290 3404 y(descriptions)30 b(\(see)i(Section)f(5.2)g([Bash)g -(V)-8 b(ariables],)32 b(page)f(69\).)1159 3532 y(5.)61 +g(their)1290 1931 y(descriptions)30 b(\(see)i(Section)f(5.2)g([Bash)g +(V)-8 b(ariables],)32 b(page)f(71\).)1159 2064 y(5.)61 b(F)-8 b(unction)57 b(tracing)g(is)g(enabled:)93 b(command)56 -b(substitution,)63 b(shell)1290 3641 y(functions,)32 +b(substitution,)63 b(shell)1290 2174 y(functions,)32 b(and)e(subshells)h(in)m(v)m(ok)m(ed)i(with)e Ft(\()f -Fj(command)e Ft(\))j Fu(inherit)h(the)1290 3751 y Ft(DEBUG)d -Fu(and)h Ft(RETURN)e Fu(traps.)1159 3879 y(6.)61 b(Error)41 +Fj(command)e Ft(\))j Fu(inherit)h(the)1290 2284 y Ft(DEBUG)d +Fu(and)h Ft(RETURN)e Fu(traps.)1159 2418 y(6.)61 b(Error)41 b(tracing)i(is)f(enabled:)63 b(command)42 b(substitution,)i(shell)f -(func-)1290 3988 y(tions,)32 b(and)e(subshells)g(in)m(v)m(ok)m(ed)i +(func-)1290 2527 y(tions,)32 b(and)e(subshells)g(in)m(v)m(ok)m(ed)i (with)e Ft(\()g Fj(command)f Ft(\))h Fu(inherit)h(the)g -Ft(ERR)1290 4098 y Fu(trap.)630 4244 y Ft(extglob)144 +Ft(ERR)1290 2637 y Fu(trap.)630 2795 y Ft(extglob)144 b Fu(If)26 b(set,)i(the)f(extended)f(pattern)h(matc)m(hing)g(features)g -(describ)s(ed)e(ab)s(o)m(v)m(e)j(\(see)1110 4354 y(Section)j(3.5.8.1)i -([P)m(attern)f(Matc)m(hing],)g(page)f(30\))h(are)f(enabled.)630 -4500 y Ft(extquote)96 b Fu(If)51 b(set,)58 b Ft($')p +(describ)s(ed)e(ab)s(o)m(v)m(e)j(\(see)1110 2905 y(Section)j(3.5.8.1)i +([P)m(attern)f(Matc)m(hing],)g(page)f(31\))h(are)f(enabled.)630 +3063 y Ft(extquote)96 b Fu(If)51 b(set,)58 b Ft($')p Fj(string)p Ft(')49 b Fu(and)i Ft($")p Fj(string)p Ft(")e -Fu(quoting)k(is)e(p)s(erformed)f(within)1110 4609 y Ft(${)p +Fu(quoting)k(is)e(p)s(erformed)f(within)1110 3173 y Ft(${)p Fj(parameter)p Ft(})31 b Fu(expansions)k(enclosed)g(in)g(double)f -(quotes.)55 b(This)33 b(option)1110 4719 y(is)d(enabled)h(b)m(y)f -(default.)630 4865 y Ft(failglob)96 b Fu(If)36 b(set,)j(patterns)d +(quotes.)55 b(This)33 b(option)1110 3282 y(is)d(enabled)h(b)m(y)f +(default.)630 3440 y Ft(failglob)96 b Fu(If)36 b(set,)j(patterns)d (whic)m(h)g(fail)h(to)h(matc)m(h)f(\014lenames)f(during)g(\014lename)g -(ex-)1110 4975 y(pansion)30 b(result)g(in)g(an)g(expansion)h(error.)630 -5121 y Ft(force_fignore)1110 5230 y Fu(If)43 b(set,)k(the)d(su\016xes)f +(ex-)1110 3550 y(pansion)30 b(result)g(in)g(an)g(expansion)h(error.)630 +3708 y Ft(force_fignore)1110 3818 y Fu(If)43 b(set,)k(the)d(su\016xes)f (sp)s(eci\014ed)f(b)m(y)i(the)f Ft(FIGNORE)f Fu(shell)h(v)-5 -b(ariable)44 b(cause)1110 5340 y(w)m(ords)31 b(to)h(b)s(e)f(ignored)h -(when)f(p)s(erforming)f(w)m(ord)h(completion)i(ev)m(en)f(if)g(the)p +b(ariable)44 b(cause)1110 3927 y(w)m(ords)31 b(to)h(b)s(e)f(ignored)h +(when)f(p)s(erforming)f(w)m(ord)h(completion)i(ev)m(en)f(if)g(the)1110 +4037 y(ignored)37 b(w)m(ords)g(are)g(the)h(only)f(p)s(ossible)g +(completions.)62 b(See)37 b(Section)h(5.2)1110 4147 y([Bash)24 +b(V)-8 b(ariables],)27 b(page)e(71,)h(for)d(a)h(description)g(of)g +Ft(FIGNORE)p Fu(.)37 b(This)22 b(option)1110 4256 y(is)30 +b(enabled)h(b)m(y)f(default.)630 4415 y Ft(globasciiranges)1110 +4524 y Fu(If)j(set,)h(range)f(expressions)g(used)f(in)h(pattern)g(matc) +m(hing)h(brac)m(k)m(et)h(expres-)1110 4634 y(sions)28 +b(\(see)h(Section)h(3.5.8.1)g([P)m(attern)g(Matc)m(hing],)h(page)e +(31\))g(b)s(eha)m(v)m(e)g(as)g(if)1110 4743 y(in)i(the)g(traditional)i +(C)d(lo)s(cale)j(when)d(p)s(erforming)g(comparisons.)44 +b(That)31 b(is,)1110 4853 y(the)d(curren)m(t)g(lo)s(cale's)i(collating) +h(sequence)d(is)h(not)f(tak)m(en)h(in)m(to)g(accoun)m(t,)i(so)1110 +4963 y(`)p Ft(b)p Fu(')j(will)g(not)g(collate)i(b)s(et)m(w)m(een)e(`)p +Ft(A)p Fu(')g(and)f(`)p Ft(B)p Fu(',)h(and)f(upp)s(er-case)g(and)g(lo)m +(w)m(er-)1110 5072 y(case)e(ASCI)s(I)e(c)m(haracters)j(will)f(collate)i +(together.)630 5230 y Ft(globstar)96 b Fu(If)38 b(set,)j(the)e(pattern) +f(`)p Ft(**)p Fu(')h(used)e(in)i(a)f(\014lename)h(expansion)f(con)m +(text)j(will)1110 5340 y(matc)m(h)36 b(all)g(\014les)f(and)f(zero)i(or) +f(more)g(directories)h(and)e(sub)s(directories.)54 b(If)p eop end -%%Page: 66 72 -TeXDict begin 66 71 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(66)1110 299 y(ignored)37 -b(w)m(ords)g(are)g(the)h(only)f(p)s(ossible)g(completions.)62 -b(See)37 b(Section)h(5.2)1110 408 y([Bash)24 b(V)-8 b(ariables],)27 -b(page)e(69,)h(for)d(a)h(description)g(of)g Ft(FIGNORE)p -Fu(.)37 b(This)22 b(option)1110 518 y(is)30 b(enabled)h(b)m(y)f -(default.)630 701 y Ft(globasciiranges)1110 810 y Fu(If)j(set,)h(range) -f(expressions)g(used)f(in)h(pattern)g(matc)m(hing)h(brac)m(k)m(et)h -(expres-)1110 920 y(sions)28 b(\(see)h(Section)h(3.5.8.1)g([P)m(attern) -g(Matc)m(hing],)h(page)e(30\))g(b)s(eha)m(v)m(e)g(as)g(if)1110 -1029 y(in)i(the)g(traditional)i(C)d(lo)s(cale)j(when)d(p)s(erforming)g -(comparisons.)44 b(That)31 b(is,)1110 1139 y(the)d(curren)m(t)g(lo)s -(cale's)i(collating)h(sequence)d(is)h(not)f(tak)m(en)h(in)m(to)g -(accoun)m(t,)i(so)1110 1249 y(`)p Ft(b)p Fu(')j(will)g(not)g(collate)i -(b)s(et)m(w)m(een)e(`)p Ft(A)p Fu(')g(and)f(`)p Ft(B)p -Fu(',)h(and)f(upp)s(er-case)g(and)g(lo)m(w)m(er-)1110 -1358 y(case)e(ASCI)s(I)e(c)m(haracters)j(will)f(collate)i(together.)630 -1541 y Ft(globstar)96 b Fu(If)38 b(set,)j(the)e(pattern)f(`)p -Ft(**)p Fu(')h(used)e(in)i(a)f(\014lename)h(expansion)f(con)m(text)j -(will)1110 1650 y(matc)m(h)36 b(all)g(\014les)f(and)f(zero)i(or)f(more) -g(directories)h(and)e(sub)s(directories.)54 b(If)1110 -1760 y(the)30 b(pattern)g(is)g(follo)m(w)m(ed)i(b)m(y)d(a)i(`)p -Ft(/)p Fu(',)f(only)g(directories)h(and)f(sub)s(directories)1110 -1870 y(matc)m(h.)630 2052 y Ft(gnu_errfmt)1110 2162 y -Fu(If)35 b(set,)j(shell)e(error)g(messages)g(are)h(written)e(in)h(the)g -(standard)f Fm(gnu)g Fu(error)1110 2271 y(message)c(format.)630 -2454 y Ft(histappend)1110 2564 y Fu(If)c(set,)j(the)e(history)g(list)g +%%Page: 68 74 +TeXDict begin 68 73 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(68)1110 299 y(the)30 +b(pattern)g(is)g(follo)m(w)m(ed)i(b)m(y)d(a)i(`)p Ft(/)p +Fu(',)f(only)g(directories)h(and)f(sub)s(directories)1110 +408 y(matc)m(h.)630 568 y Ft(gnu_errfmt)1110 677 y Fu(If)35 +b(set,)j(shell)e(error)g(messages)g(are)h(written)e(in)h(the)g +(standard)f Fm(gnu)g Fu(error)1110 787 y(message)c(format.)630 +946 y Ft(histappend)1110 1056 y Fu(If)c(set,)j(the)e(history)g(list)g (is)g(app)s(ended)e(to)j(the)f(\014le)g(named)f(b)m(y)h(the)g(v)-5 -b(alue)29 b(of)1110 2673 y(the)d Ft(HISTFILE)d Fu(v)-5 +b(alue)29 b(of)1110 1166 y(the)d Ft(HISTFILE)d Fu(v)-5 b(ariable)26 b(when)e(the)h(shell)h(exits,)h(rather)e(than)h(o)m(v)m -(erwriting)1110 2783 y(the)31 b(\014le.)630 2966 y Ft(histreedit)1110 -3075 y Fu(If)i(set,)h(and)f(Readline)h(is)f(b)s(eing)g(used,)g(a)g +(erwriting)1110 1275 y(the)31 b(\014le.)630 1435 y Ft(histreedit)1110 +1544 y Fu(If)i(set,)h(and)f(Readline)h(is)f(b)s(eing)g(used,)g(a)g (user)g(is)g(giv)m(en)h(the)g(opp)s(ortunit)m(y)1110 -3185 y(to)d(re-edit)g(a)g(failed)g(history)f(substitution.)630 -3367 y Ft(histverify)1110 3477 y Fu(If)35 b(set,)i(and)e(Readline)h(is) +1654 y(to)d(re-edit)g(a)g(failed)g(history)f(substitution.)630 +1813 y Ft(histverify)1110 1923 y Fu(If)35 b(set,)i(and)e(Readline)h(is) f(b)s(eing)g(used,)h(the)f(results)g(of)g(history)h(substitu-)1110 -3587 y(tion)h(are)g(not)g(immediately)h(passed)e(to)h(the)g(shell)g -(parser.)59 b(Instead,)38 b(the)1110 3696 y(resulting)i(line)f(is)h +2032 y(tion)h(are)g(not)g(immediately)h(passed)e(to)h(the)g(shell)g +(parser.)59 b(Instead,)38 b(the)1110 2142 y(resulting)i(line)f(is)h (loaded)g(in)m(to)g(the)g(Readline)g(editing)g(bu\013er,)h(allo)m(wing) -1110 3806 y(further)29 b(mo)s(di\014cation.)630 3988 -y Ft(hostcomplete)1110 4098 y Fu(If)38 b(set,)j(and)c(Readline)i(is)f +1110 2252 y(further)29 b(mo)s(di\014cation.)630 2411 +y Ft(hostcomplete)1110 2521 y Fu(If)38 b(set,)j(and)c(Readline)i(is)f (b)s(eing)g(used,)h(Bash)g(will)f(attempt)h(to)g(p)s(erform)1110 -4208 y(hostname)d(completion)h(when)e(a)h(w)m(ord)f(con)m(taining)i(a)f -(`)p Ft(@)p Fu(')g(is)g(b)s(eing)f(com-)1110 4317 y(pleted)g(\(see)h +2630 y(hostname)d(completion)h(when)e(a)h(w)m(ord)f(con)m(taining)i(a)f +(`)p Ft(@)p Fu(')g(is)g(b)s(eing)f(com-)1110 2740 y(pleted)g(\(see)h (Section)f(8.4.6)i([Commands)d(F)-8 b(or)36 b(Completion],)g(page)g -(120\).)1110 4427 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.) -630 4609 y Ft(huponexit)1110 4719 y Fu(If)i(set,)i(Bash)f(will)h(send)d +(124\).)1110 2849 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.) +630 3009 y Ft(huponexit)1110 3118 y Fu(If)i(set,)i(Bash)f(will)h(send)d Ft(SIGHUP)h Fu(to)h(all)h(jobs)e(when)g(an)g(in)m(teractiv)m(e)k(login) -1110 4829 y(shell)31 b(exits)g(\(see)g(Section)g(3.7.6)h([Signals],)g -(page)f(38\).)630 5011 y Ft(interactive_comments)1110 -5121 y Fu(Allo)m(w)c(a)g(w)m(ord)e(b)s(eginning)g(with)h(`)p -Ft(#)p Fu(')g(to)h(cause)f(that)h(w)m(ord)f(and)f(all)i(remain-)1110 -5230 y(ing)41 b(c)m(haracters)i(on)e(that)h(line)g(to)g(b)s(e)f -(ignored)g(in)g(an)g(in)m(teractiv)m(e)j(shell.)1110 -5340 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.)p -eop end -%%Page: 67 73 -TeXDict begin 67 72 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(67)630 299 y Ft(lastpipe)96 -b Fu(If)24 b(set,)i(and)e(job)g(con)m(trol)i(is)f(not)f(activ)m(e,)k -(the)d(shell)f(runs)f(the)i(last)g(command)1110 408 y(of)37 -b(a)h(pip)s(eline)e(not)h(executed)h(in)f(the)g(bac)m(kground)g(in)g -(the)g(curren)m(t)g(shell)1110 518 y(en)m(vironmen)m(t.)630 -677 y Ft(lithist)144 b Fu(If)22 b(enabled,)i(and)d(the)h +1110 3228 y(shell)31 b(exits)g(\(see)g(Section)g(3.7.6)h([Signals],)g +(page)f(39\).)630 3387 y Ft(inherit_errexit)1110 3497 +y Fu(If)e(set,)h(command)g(substitution)f(inherits)g(the)g(v)-5 +b(alue)30 b(of)g(the)f Ft(errexit)f Fu(op-)1110 3606 +y(tion,)33 b(instead)g(of)f(unsetting)g(it)h(in)f(the)g(subshell)f(en)m +(vironmen)m(t.)46 b(This)32 b(op-)1110 3716 y(tion)f(is)f(enabled)h +(when)e Fm(posix)h Fu(mo)s(de)g(is)g(enabled.)630 3875 +y Ft(interactive_comments)1110 3985 y Fu(Allo)m(w)d(a)g(w)m(ord)e(b)s +(eginning)g(with)h(`)p Ft(#)p Fu(')g(to)h(cause)f(that)h(w)m(ord)f(and) +f(all)i(remain-)1110 4095 y(ing)41 b(c)m(haracters)i(on)e(that)h(line)g +(to)g(b)s(e)f(ignored)g(in)g(an)g(in)m(teractiv)m(e)j(shell.)1110 +4204 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.)630 +4364 y Ft(lastpipe)96 b Fu(If)24 b(set,)i(and)e(job)g(con)m(trol)i(is)f +(not)f(activ)m(e,)k(the)d(shell)f(runs)f(the)i(last)g(command)1110 +4473 y(of)37 b(a)h(pip)s(eline)e(not)h(executed)h(in)f(the)g(bac)m +(kground)g(in)g(the)g(curren)m(t)g(shell)1110 4583 y(en)m(vironmen)m +(t.)630 4742 y Ft(lithist)144 b Fu(If)22 b(enabled,)i(and)d(the)h Ft(cmdhist)e Fu(option)j(is)f(enabled,)i(m)m(ulti-line)f(commands)1110 -787 y(are)28 b(sa)m(v)m(ed)h(to)g(the)f(history)g(with)f(em)m(b)s -(edded)g(newlines)h(rather)g(than)f(using)1110 897 y(semicolon)32 -b(separators)f(where)e(p)s(ossible.)630 1056 y Ft(login_shell)1110 -1166 y Fu(The)35 b(shell)h(sets)g(this)f(option)h(if)g(it)g(is)f +4852 y(are)28 b(sa)m(v)m(ed)h(to)g(the)f(history)g(with)f(em)m(b)s +(edded)g(newlines)h(rather)g(than)f(using)1110 4961 y(semicolon)32 +b(separators)f(where)e(p)s(ossible.)630 5121 y Ft(login_shell)1110 +5230 y Fu(The)35 b(shell)h(sets)g(this)f(option)h(if)g(it)g(is)f (started)h(as)g(a)g(login)g(shell)g(\(see)g(Sec-)1110 -1275 y(tion)29 b(6.1)g([In)m(v)m(oking)h(Bash],)f(page)g(80\).)41 -b(The)28 b(v)-5 b(alue)29 b(ma)m(y)g(not)f(b)s(e)g(c)m(hanged.)630 -1435 y Ft(mailwarn)96 b Fu(If)34 b(set,)i(and)e(a)h(\014le)g(that)g -(Bash)f(is)h(c)m(hec)m(king)h(for)f(mail)g(has)f(b)s(een)g(accessed) -1110 1544 y(since)24 b(the)h(last)g(time)f(it)h(w)m(as)f(c)m(hec)m(k)m -(ed,)k(the)c(message)h Ft("The)k(mail)h(in)f Fj(mail-)1110 -1654 y(file)g Ft(has)h(been)f(read")g Fu(is)h(displa)m(y)m(ed.)630 -1813 y Ft(no_empty_cmd_completion)1110 1923 y Fu(If)g(set,)g(and)g +5340 y(tion)29 b(6.1)g([In)m(v)m(oking)h(Bash],)f(page)g(82\).)41 +b(The)28 b(v)-5 b(alue)29 b(ma)m(y)g(not)f(b)s(e)g(c)m(hanged.)p +eop end +%%Page: 69 75 +TeXDict begin 69 74 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(69)630 299 y Ft(mailwarn)96 +b Fu(If)34 b(set,)i(and)e(a)h(\014le)g(that)g(Bash)f(is)h(c)m(hec)m +(king)h(for)f(mail)g(has)f(b)s(een)g(accessed)1110 408 +y(since)24 b(the)h(last)g(time)f(it)h(w)m(as)f(c)m(hec)m(k)m(ed,)k(the) +c(message)h Ft("The)k(mail)h(in)f Fj(mail-)1110 518 y(file)g +Ft(has)h(been)f(read")g Fu(is)h(displa)m(y)m(ed.)630 +693 y Ft(no_empty_cmd_completion)1110 803 y Fu(If)g(set,)g(and)g (Readline)g(is)h(b)s(eing)e(used,)h(Bash)g(will)g(not)g(attempt)i(to)e -(searc)m(h)1110 2032 y(the)25 b Ft(PATH)f Fu(for)h(p)s(ossible)f +(searc)m(h)1110 913 y(the)25 b Ft(PATH)f Fu(for)h(p)s(ossible)f (completions)j(when)d(completion)i(is)f(attempted)h(on)1110 -2142 y(an)k(empt)m(y)h(line.)630 2301 y Ft(nocaseglob)1110 -2411 y Fu(If)38 b(set,)k(Bash)d(matc)m(hes)g(\014lenames)g(in)f(a)h -(case-insensitiv)m(e)j(fashion)c(when)1110 2521 y(p)s(erforming)29 -b(\014lename)i(expansion.)630 2680 y Ft(nocasematch)1110 -2790 y Fu(If)42 b(set,)k(Bash)d(matc)m(hes)g(patterns)g(in)f(a)h -(case-insensitiv)m(e)i(fashion)d(when)1110 2899 y(p)s(erforming)31 +1022 y(an)k(empt)m(y)h(line.)630 1198 y Ft(nocaseglob)1110 +1307 y Fu(If)38 b(set,)k(Bash)d(matc)m(hes)g(\014lenames)g(in)f(a)h +(case-insensitiv)m(e)j(fashion)c(when)1110 1417 y(p)s(erforming)29 +b(\014lename)i(expansion.)630 1592 y Ft(nocasematch)1110 +1702 y Fu(If)42 b(set,)k(Bash)d(matc)m(hes)g(patterns)g(in)f(a)h +(case-insensitiv)m(e)i(fashion)d(when)1110 1811 y(p)s(erforming)31 b(matc)m(hing)i(while)f(executing)i Ft(case)d Fu(or)h -Ft([[)g Fu(conditional)h(com-)1110 3009 y(mands.)630 -3168 y Ft(nullglob)96 b Fu(If)23 b(set,)j(Bash)e(allo)m(ws)g -(\014lename)g(patterns)g(whic)m(h)f(matc)m(h)h(no)g(\014les)f(to)i -(expand)1110 3278 y(to)31 b(a)g(n)m(ull)f(string,)h(rather)f(than)g -(themselv)m(es.)630 3437 y Ft(progcomp)96 b Fu(If)25 -b(set,)i(the)f(programmable)g(completion)g(facilities)i(\(see)f -(Section)f(8.6)h([Pro-)1110 3547 y(grammable)45 b(Completion],)k(page)c -(124\))h(are)f(enabled.)82 b(This)44 b(option)h(is)1110 -3656 y(enabled)30 b(b)m(y)h(default.)630 3816 y Ft(promptvars)1110 -3925 y Fu(If)50 b(set,)56 b(prompt)49 b(strings)h(undergo)g(parameter)h -(expansion,)k(command)1110 4035 y(substitution,)35 b(arithmetic)g -(expansion,)g(and)e(quote)i(remo)m(v)-5 b(al)35 b(after)f(b)s(eing)1110 -4144 y(expanded)53 b(as)h(describ)s(ed)e(b)s(elo)m(w)i(\(see)h(Section) -f(6.9)h([Con)m(trolling)g(the)1110 4254 y(Prompt],)30 -b(page)h(92\).)42 b(This)30 b(option)h(is)f(enabled)h(b)m(y)f(default.) -630 4413 y Ft(restricted_shell)1110 4523 y Fu(The)40 -b(shell)h(sets)g(this)g(option)g(if)g(it)h(is)e(started)i(in)e -(restricted)i(mo)s(de)e(\(see)1110 4633 y(Section)c(6.10)g([The)f -(Restricted)g(Shell],)i(page)e(93\).)56 b(The)34 b(v)-5 -b(alue)35 b(ma)m(y)h(not)1110 4742 y(b)s(e)c(c)m(hanged.)49 -b(This)32 b(is)h(not)h(reset)f(when)f(the)h(startup)g(\014les)f(are)i -(executed,)1110 4852 y(allo)m(wing)k(the)e(startup)f(\014les)h(to)g -(disco)m(v)m(er)h(whether)f(or)f(not)i(a)f(shell)g(is)g(re-)1110 -4961 y(stricted.)630 5121 y Ft(shift_verbose)1110 5230 -y Fu(If)g(this)g(is)g(set,)j(the)d Ft(shift)f Fu(builtin)h(prin)m(ts)f -(an)h(error)g(message)i(when)d(the)1110 5340 y(shift)30 -b(coun)m(t)h(exceeds)g(the)g(n)m(um)m(b)s(er)e(of)h(p)s(ositional)i -(parameters.)p eop end -%%Page: 68 74 -TeXDict begin 68 73 bop 150 -116 a Fu(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(68)630 299 y Ft(sourcepath)1110 -408 y Fu(If)22 b(set,)j(the)e Ft(source)e Fu(builtin)h(uses)g(the)h(v) --5 b(alue)23 b(of)g Ft(PATH)e Fu(to)j(\014nd)d(the)h(directory)1110 -518 y(con)m(taining)29 b(the)e(\014le)h(supplied)e(as)h(an)g(argumen)m -(t.)40 b(This)27 b(option)h(is)f(enabled)1110 628 y(b)m(y)j(default.) -630 787 y Ft(xpg_echo)96 b Fu(If)31 b(set,)h(the)g Ft(echo)e +Ft([[)g Fu(conditional)h(com-)1110 1921 y(mands,)d(when)g(p)s +(erforming)g(pattern)h(substitution)g(w)m(ord)g(expansions,)g(or)1110 +2030 y(when)g(\014ltering)i(p)s(ossible)f(completions)h(as)g(part)f(of) +h(programmable)f(com-)1110 2140 y(pletion.)630 2315 y +Ft(nullglob)96 b Fu(If)23 b(set,)j(Bash)e(allo)m(ws)g(\014lename)g +(patterns)g(whic)m(h)f(matc)m(h)h(no)g(\014les)f(to)i(expand)1110 +2425 y(to)31 b(a)g(n)m(ull)f(string,)h(rather)f(than)g(themselv)m(es.) +630 2600 y Ft(progcomp)96 b Fu(If)25 b(set,)i(the)f(programmable)g +(completion)g(facilities)i(\(see)f(Section)f(8.6)h([Pro-)1110 +2710 y(grammable)45 b(Completion],)k(page)c(129\))h(are)f(enabled.)82 +b(This)44 b(option)h(is)1110 2819 y(enabled)30 b(b)m(y)h(default.)630 +2995 y Ft(promptvars)1110 3104 y Fu(If)50 b(set,)56 b(prompt)49 +b(strings)h(undergo)g(parameter)h(expansion,)k(command)1110 +3214 y(substitution,)35 b(arithmetic)g(expansion,)g(and)e(quote)i(remo) +m(v)-5 b(al)35 b(after)f(b)s(eing)1110 3324 y(expanded)53 +b(as)h(describ)s(ed)e(b)s(elo)m(w)i(\(see)h(Section)f(6.9)h([Con)m +(trolling)g(the)1110 3433 y(Prompt],)30 b(page)h(94\).)42 +b(This)30 b(option)h(is)f(enabled)h(b)m(y)f(default.)630 +3608 y Ft(restricted_shell)1110 3718 y Fu(The)40 b(shell)h(sets)g(this) +g(option)g(if)g(it)h(is)e(started)i(in)e(restricted)i(mo)s(de)e(\(see) +1110 3828 y(Section)c(6.10)g([The)f(Restricted)g(Shell],)i(page)e +(95\).)56 b(The)34 b(v)-5 b(alue)35 b(ma)m(y)h(not)1110 +3937 y(b)s(e)c(c)m(hanged.)49 b(This)32 b(is)h(not)h(reset)f(when)f +(the)h(startup)g(\014les)f(are)i(executed,)1110 4047 +y(allo)m(wing)k(the)e(startup)f(\014les)h(to)g(disco)m(v)m(er)h +(whether)f(or)f(not)i(a)f(shell)g(is)g(re-)1110 4156 +y(stricted.)630 4332 y Ft(shift_verbose)1110 4441 y Fu(If)g(this)g(is)g +(set,)j(the)d Ft(shift)f Fu(builtin)h(prin)m(ts)f(an)h(error)g(message) +i(when)d(the)1110 4551 y(shift)30 b(coun)m(t)h(exceeds)g(the)g(n)m(um)m +(b)s(er)e(of)h(p)s(ositional)i(parameters.)630 4726 y +Ft(sourcepath)1110 4836 y Fu(If)22 b(set,)j(the)e Ft(source)e +Fu(builtin)h(uses)g(the)h(v)-5 b(alue)23 b(of)g Ft(PATH)e +Fu(to)j(\014nd)d(the)h(directory)1110 4945 y(con)m(taining)29 +b(the)e(\014le)h(supplied)e(as)h(an)g(argumen)m(t.)40 +b(This)27 b(option)h(is)f(enabled)1110 5055 y(b)m(y)j(default.)630 +5230 y Ft(xpg_echo)96 b Fu(If)31 b(set,)h(the)g Ft(echo)e Fu(builtin)h(expands)f(bac)m(kslash-escap)s(e)j(sequences)f(b)m(y)f -(de-)1110 897 y(fault.)630 1056 y(The)c(return)f(status)i(when)f -(listing)h(options)g(is)f(zero)i(if)e(all)i Fr(optnames)i -Fu(are)d(enabled,)g(non-)630 1166 y(zero)40 b(otherwise.)66 -b(When)39 b(setting)h(or)f(unsetting)g(options,)i(the)e(return)f -(status)h(is)g(zero)630 1275 y(unless)30 b(an)g Fr(optname)36 -b Fu(is)30 b(not)h(a)g(v)-5 b(alid)30 b(shell)h(option.)150 -1508 y Fs(4.4)68 b(Sp)t(ecial)45 b(Builtins)150 1667 +(de-)1110 5340 y(fault.)p eop end +%%Page: 70 76 +TeXDict begin 70 75 bop 150 -116 a Fu(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(70)630 299 y(The)27 +b(return)f(status)i(when)f(listing)h(options)g(is)f(zero)i(if)e(all)i +Fr(optnames)i Fu(are)d(enabled,)g(non-)630 408 y(zero)40 +b(otherwise.)66 b(When)39 b(setting)h(or)f(unsetting)g(options,)i(the)e +(return)f(status)h(is)g(zero)630 518 y(unless)30 b(an)g +Fr(optname)36 b Fu(is)30 b(not)h(a)g(v)-5 b(alid)30 b(shell)h(option.) +150 759 y Fs(4.4)68 b(Sp)t(ecial)45 b(Builtins)150 918 y Fu(F)-8 b(or)35 b(historical)h(reasons,)g(the)e Fm(posix)g Fu(standard)f(has)i(classi\014ed)f(sev)m(eral)i(builtin)e(commands)g -(as)h Fl(sp)-5 b(e-)150 1777 y(cial)p Fu(.)47 b(When)33 +(as)h Fl(sp)-5 b(e-)150 1028 y(cial)p Fu(.)47 b(When)33 b(Bash)f(is)h(executing)g(in)f Fm(posix)g Fu(mo)s(de,)h(the)g(sp)s (ecial)g(builtins)e(di\013er)i(from)f(other)g(builtin)150 -1886 y(commands)e(in)g(three)h(resp)s(ects:)199 2021 +1137 y(commands)e(in)g(three)h(resp)s(ects:)199 1272 y(1.)61 b(Sp)s(ecial)31 b(builtins)e(are)i(found)e(b)s(efore)h(shell)h -(functions)f(during)f(command)h(lo)s(okup.)199 2155 y(2.)61 +(functions)f(during)f(command)h(lo)s(okup.)199 1406 y(2.)61 b(If)30 b(a)h(sp)s(ecial)g(builtin)f(returns)f(an)h(error)g(status,)h -(a)g(non-in)m(teractiv)m(e)i(shell)d(exits.)199 2290 +(a)g(non-in)m(teractiv)m(e)i(shell)d(exits.)199 1541 y(3.)61 b(Assignmen)m(t)30 b(statemen)m(ts)h(preceding)f(the)f(command) g(sta)m(y)i(in)e(e\013ect)i(in)e(the)h(shell)f(en)m(vironmen)m(t)330 -2399 y(after)i(the)f(command)h(completes.)275 2559 y(When)36 +1650 y(after)i(the)f(command)h(completes.)275 1810 y(When)36 b(Bash)g(is)h(not)f(executing)i(in)e Fm(posix)f Fu(mo)s(de,)j(these)f (builtins)f(b)s(eha)m(v)m(e)h(no)f(di\013eren)m(tly)h(than)150 -2668 y(the)31 b(rest)f(of)h(the)f(Bash)h(builtin)e(commands.)41 +1919 y(the)31 b(rest)f(of)h(the)f(Bash)h(builtin)e(commands.)41 b(The)30 b(Bash)g Fm(posix)g Fu(mo)s(de)g(is)g(describ)s(ed)f(in)h -(Section)h(6.11)150 2778 y([Bash)g(POSIX)e(Mo)s(de],)i(page)g(94.)275 -2912 y(These)f(are)g(the)h Fm(posix)f Fu(sp)s(ecial)h(builtins:)390 -3047 y Ft(break)46 b(:)i(.)f(continue)f(eval)g(exec)h(exit)g(export)f -(readonly)f(return)h(set)390 3156 y(shift)g(trap)h(unset)p +(Section)h(6.11)150 2029 y([Bash)g(POSIX)e(Mo)s(de],)i(page)g(96.)275 +2164 y(These)f(are)g(the)h Fm(posix)f Fu(sp)s(ecial)h(builtins:)390 +2298 y Ft(break)46 b(:)i(.)f(continue)f(eval)g(exec)h(exit)g(export)f +(readonly)f(return)h(set)390 2408 y(shift)g(trap)h(unset)p eop end -%%Page: 69 75 -TeXDict begin 69 74 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(69)150 299 y Fp(5)80 -b(Shell)53 b(V)-13 b(ariables)150 541 y Fu(This)21 b(c)m(hapter)i +%%Page: 71 77 +TeXDict begin 71 76 bop 3659 -116 a Fu(71)150 299 y Fp(5)80 +b(Shell)53 b(V)-13 b(ariables)150 539 y Fu(This)21 b(c)m(hapter)i (describ)s(es)e(the)i(shell)f(v)-5 b(ariables)23 b(that)f(Bash)h(uses.) 37 b(Bash)23 b(automatically)h(assigns)f(default)150 -651 y(v)-5 b(alues)31 b(to)g(a)g(n)m(um)m(b)s(er)e(of)h(v)-5 -b(ariables.)150 888 y Fs(5.1)68 b(Bourne)45 b(Shell)g(V)-11 -b(ariables)150 1047 y Fu(Bash)30 b(uses)g(certain)h(shell)g(v)-5 +648 y(v)-5 b(alues)31 b(to)g(a)g(n)m(um)m(b)s(er)e(of)h(v)-5 +b(ariables.)150 892 y Fs(5.1)68 b(Bourne)45 b(Shell)g(V)-11 +b(ariables)150 1051 y Fu(Bash)30 b(uses)g(certain)h(shell)g(v)-5 b(ariables)31 b(in)f(the)g(same)h(w)m(a)m(y)g(as)g(the)f(Bourne)g -(shell.)41 b(In)30 b(some)g(cases,)i(Bash)150 1157 y(assigns)f(a)f +(shell.)41 b(In)30 b(some)g(cases,)i(Bash)150 1161 y(assigns)f(a)f (default)h(v)-5 b(alue)31 b(to)g(the)f(v)-5 b(ariable.)150 -1320 y Ft(CDPATH)192 b Fu(A)39 b(colon-separated)i(list)e(of)g +1323 y Ft(CDPATH)192 b Fu(A)39 b(colon-separated)i(list)e(of)g (directories)h(used)f(as)g(a)g(searc)m(h)h(path)e(for)h(the)g -Ft(cd)f Fu(builtin)630 1430 y(command.)150 1592 y Ft(HOME)288 +Ft(cd)f Fu(builtin)630 1433 y(command.)150 1594 y Ft(HOME)288 b Fu(The)23 b(curren)m(t)h(user's)f(home)g(directory;)k(the)d(default)g (for)f(the)h Ft(cd)f Fu(builtin)g(command.)38 b(The)630 -1702 y(v)-5 b(alue)37 b(of)f(this)g(v)-5 b(ariable)37 +1704 y(v)-5 b(alue)37 b(of)f(this)g(v)-5 b(ariable)37 b(is)g(also)g(used)e(b)m(y)h(tilde)h(expansion)f(\(see)i(Section)f -(3.5.2)h([Tilde)630 1811 y(Expansion],)30 b(page)h(22\).)150 -1973 y Ft(IFS)336 b Fu(A)25 b(list)i(of)e(c)m(haracters)i(that)f +(3.5.2)h([Tilde)630 1813 y(Expansion],)30 b(page)h(22\).)150 +1975 y Ft(IFS)336 b Fu(A)25 b(list)i(of)e(c)m(haracters)i(that)f (separate)g(\014elds;)h(used)e(when)f(the)i(shell)f(splits)h(w)m(ords)e -(as)i(part)630 2083 y(of)31 b(expansion.)150 2245 y Ft(MAIL)288 +(as)i(part)630 2084 y(of)31 b(expansion.)150 2246 y Ft(MAIL)288 b Fu(If)44 b(this)g(parameter)h(is)g(set)g(to)g(a)f(\014lename)h(or)f (directory)h(name)g(and)f(the)g Ft(MAILPATH)630 2355 y Fu(v)-5 b(ariable)32 b(is)e(not)h(set,)h(Bash)f(informs)f(the)h(user) f(of)h(the)g(arriv)-5 b(al)31 b(of)g(mail)g(in)g(the)g(sp)s(eci\014ed) -630 2464 y(\014le)f(or)h(Maildir-format)g(directory)-8 -b(.)150 2627 y Ft(MAILPATH)96 b Fu(A)33 b(colon-separated)i(list)f(of)f +630 2465 y(\014le)f(or)h(Maildir-format)g(directory)-8 +b(.)150 2626 y Ft(MAILPATH)96 b Fu(A)33 b(colon-separated)i(list)f(of)f (\014lenames)h(whic)m(h)f(the)g(shell)g(p)s(erio)s(dically)h(c)m(hec)m (ks)g(for)f(new)630 2736 y(mail.)60 b(Eac)m(h)37 b(list)g(en)m(try)g (can)g(sp)s(ecify)f(the)h(message)h(that)f(is)g(prin)m(ted)f(when)f -(new)h(mail)630 2846 y(arriv)m(es)31 b(in)g(the)g(mail)g(\014le)g(b)m +(new)h(mail)630 2845 y(arriv)m(es)31 b(in)g(the)g(mail)g(\014le)g(b)m (y)g(separating)h(the)f(\014lename)g(from)f(the)h(message)h(with)e(a)i (`)p Ft(?)p Fu('.)630 2955 y(When)g(used)f(in)h(the)g(text)i(of)e(the)g (message,)i Ft($_)e Fu(expands)f(to)i(the)f(name)g(of)h(the)f(curren)m -(t)630 3065 y(mail)f(\014le.)150 3227 y Ft(OPTARG)192 +(t)630 3064 y(mail)f(\014le.)150 3226 y Ft(OPTARG)192 b Fu(The)30 b(v)-5 b(alue)31 b(of)f(the)h(last)g(option)g(argumen)m(t)g (pro)s(cessed)f(b)m(y)g(the)g Ft(getopts)f Fu(builtin.)150 -3389 y Ft(OPTIND)192 b Fu(The)30 b(index)g(of)g(the)h(last)g(option)g +3387 y Ft(OPTIND)192 b Fu(The)30 b(index)g(of)g(the)h(last)g(option)g (argumen)m(t)g(pro)s(cessed)f(b)m(y)g(the)g Ft(getopts)f -Fu(builtin.)150 3552 y Ft(PATH)288 b Fu(A)32 b(colon-separated)i(list)f +Fu(builtin.)150 3548 y Ft(PATH)288 b Fu(A)32 b(colon-separated)i(list)f (of)f(directories)h(in)e(whic)m(h)h(the)g(shell)g(lo)s(oks)h(for)f -(commands.)45 b(A)630 3661 y(zero-length)e(\(n)m(ull\))g(directory)f +(commands.)45 b(A)630 3658 y(zero-length)e(\(n)m(ull\))g(directory)f (name)g(in)g(the)g(v)-5 b(alue)42 b(of)g Ft(PATH)f Fu(indicates)i(the)f -(curren)m(t)630 3771 y(directory)-8 b(.)49 b(A)33 b(n)m(ull)f +(curren)m(t)630 3768 y(directory)-8 b(.)49 b(A)33 b(n)m(ull)f (directory)i(name)e(ma)m(y)i(app)s(ear)e(as)h(t)m(w)m(o)h(adjacen)m(t)g -(colons,)g(or)f(as)g(an)630 3880 y(initial)f(or)e(trailing)h(colon.)150 -4042 y Ft(PS1)336 b Fu(The)35 b(primary)f(prompt)h(string.)55 +(colons,)g(or)f(as)g(an)630 3877 y(initial)f(or)e(trailing)h(colon.)150 +4039 y Ft(PS1)336 b Fu(The)35 b(primary)f(prompt)h(string.)55 b(The)35 b(default)h(v)-5 b(alue)35 b(is)h(`)p Ft(\\s-\\v\\$)28 -b Fu('.)56 b(See)36 b(Section)g(6.9)630 4152 y([Con)m(trolling)42 -b(the)e(Prompt],)j(page)e(92,)j(for)c(the)g(complete)i(list)f(of)f -(escap)s(e)h(sequences)630 4262 y(that)31 b(are)g(expanded)e(b)s(efore) -h Ft(PS1)g Fu(is)g(displa)m(y)m(ed.)150 4424 y Ft(PS2)336 +b Fu('.)56 b(See)36 b(Section)g(6.9)630 4148 y([Con)m(trolling)42 +b(the)e(Prompt],)j(page)e(94,)j(for)c(the)g(complete)i(list)f(of)f +(escap)s(e)h(sequences)630 4258 y(that)31 b(are)g(expanded)e(b)s(efore) +h Ft(PS1)g Fu(is)g(displa)m(y)m(ed.)150 4419 y Ft(PS2)336 b Fu(The)30 b(secondary)g(prompt)g(string.)41 b(The)29 b(default)i(v)-5 b(alue)31 b(is)f(`)p Ft(>)g Fu('.)150 -4661 y Fs(5.2)68 b(Bash)45 b(V)-11 b(ariables)150 4820 +4663 y Fs(5.2)68 b(Bash)45 b(V)-11 b(ariables)150 4822 y Fu(These)45 b(v)-5 b(ariables)46 b(are)g(set)g(or)f(used)f(b)m(y)h (Bash,)50 b(but)44 b(other)i(shells)f(do)h(not)f(normally)h(treat)g -(them)150 4929 y(sp)s(ecially)-8 b(.)275 5067 y(A)24 +(them)150 4932 y(sp)s(ecially)-8 b(.)275 5068 y(A)24 b(few)g(v)-5 b(ariables)24 b(used)g(b)m(y)f(Bash)i(are)f(describ)s(ed)f (in)h(di\013eren)m(t)g(c)m(hapters:)38 b(v)-5 b(ariables)25 -b(for)f(con)m(trolling)150 5176 y(the)31 b(job)f(con)m(trol)h +b(for)f(con)m(trolling)150 5178 y(the)31 b(job)f(con)m(trol)h (facilities)i(\(see)e(Section)g(7.3)h([Job)e(Con)m(trol)h(V)-8 -b(ariables],)32 b(page)g(100\).)150 5340 y Ft(BASH)288 +b(ariables],)32 b(page)g(103\).)150 5340 y Ft(BASH)288 b Fu(The)30 b(full)g(pathname)g(used)g(to)h(execute)h(the)e(curren)m(t) g(instance)h(of)g(Bash.)p eop end -%%Page: 70 76 -TeXDict begin 70 75 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(70)150 299 y Ft(BASHOPTS)96 +%%Page: 72 78 +TeXDict begin 72 77 bop 150 -116 a Fu(Chapter)30 b(5:)41 +b(Shell)30 b(V)-8 b(ariables)2459 b(72)150 299 y Ft(BASHOPTS)96 b Fu(A)31 b(colon-separated)h(list)f(of)g(enabled)f(shell)h(options.)41 b(Eac)m(h)31 b(w)m(ord)f(in)g(the)h(list)g(is)g(a)g(v)-5 b(alid)630 408 y(argumen)m(t)37 b(for)g(the)g Ft(-s)f Fu(option)i(to)f(the)g Ft(shopt)f Fu(builtin)g(command)h(\(see)g -(Section)h(4.3.2)630 518 y([The)e(Shopt)g(Builtin],)i(page)f(62\).)60 +(Section)h(4.3.2)630 518 y([The)e(Shopt)g(Builtin],)i(page)f(64\).)60 b(The)36 b(options)h(app)s(earing)f(in)g Ft(BASHOPTS)e Fu(are)i(those)630 628 y(rep)s(orted)e(as)h(`)p Ft(on)p Fu(')f(b)m(y)h(`)p Ft(shopt)p Fu('.)53 b(If)34 b(this)g(v)-5 @@ -12972,2078 +13210,2162 @@ b(ariable)36 b(is)f(in)f(the)h(en)m(vironmen)m(t)g(when)f(Bash)630 737 y(starts)25 b(up,)f(eac)m(h)i(shell)e(option)h(in)e(the)i(list)g (will)f(b)s(e)g(enabled)g(b)s(efore)g(reading)g(an)m(y)g(startup)630 847 y(\014les.)41 b(This)29 b(v)-5 b(ariable)31 b(is)g(readonly)-8 -b(.)150 1003 y Ft(BASHPID)144 b Fu(Expands)35 b(to)i(the)f(pro)s(cess)f +b(.)150 1029 y Ft(BASHPID)144 b Fu(Expands)35 b(to)i(the)f(pro)s(cess)f (ID)i(of)f(the)g(curren)m(t)g(Bash)g(pro)s(cess.)58 b(This)35 -b(di\013ers)h(from)g Ft($$)630 1113 y Fu(under)31 b(certain)j +b(di\013ers)h(from)g Ft($$)630 1139 y Fu(under)31 b(certain)j (circumstances,)h(suc)m(h)e(as)g(subshells)f(that)i(do)f(not)g(require) -g(Bash)g(to)h(b)s(e)630 1223 y(re-initialized.)150 1379 -y Ft(BASH_ALIASES)630 1489 y Fu(An)40 b(asso)s(ciativ)m(e)j(arra)m(y)d +g(Bash)g(to)h(b)s(e)630 1249 y(re-initialized.)150 1431 +y Ft(BASH_ALIASES)630 1541 y Fu(An)40 b(asso)s(ciativ)m(e)j(arra)m(y)d (v)-5 b(ariable)41 b(whose)f(mem)m(b)s(ers)f(corresp)s(ond)g(to)i(the)f -(in)m(ternal)h(list)630 1598 y(of)c(aliases)h(as)f(main)m(tained)g(b)m +(in)m(ternal)h(list)630 1650 y(of)c(aliases)h(as)f(main)m(tained)g(b)m (y)g(the)g Ft(alias)e Fu(builtin.)59 b(\(see)37 b(Section)h(4.1)f -([Bourne)g(Shell)630 1708 y(Builtins],)f(page)e(41\).)53 -b(Elemen)m(ts)35 b(added)e(to)i(this)e(arra)m(y)i(app)s(ear)e(in)h(the) -g(alias)h(list;)i(un-)630 1817 y(setting)31 b(arra)m(y)g(elemen)m(ts)h -(cause)f(aliases)h(to)f(b)s(e)f(remo)m(v)m(ed)h(from)f(the)h(alias)g -(list.)150 1974 y Ft(BASH_ARGC)630 2084 y Fu(An)f(arra)m(y)h(v)-5 -b(ariable)31 b(whose)f(v)-5 b(alues)31 b(are)g(the)f(n)m(um)m(b)s(er)g -(of)g(parameters)h(in)f(eac)m(h)h(frame)g(of)630 2193 -y(the)26 b(curren)m(t)f(bash)g(execution)i(call)g(stac)m(k.)41 -b(The)25 b(n)m(um)m(b)s(er)g(of)h(parameters)g(to)g(the)g(curren)m(t) -630 2303 y(subroutine)i(\(shell)i(function)g(or)f(script)g(executed)i -(with)e Ft(.)g Fu(or)h Ft(source)p Fu(\))e(is)h(at)h(the)g(top)g(of)630 -2412 y(the)37 b(stac)m(k.)63 b(When)37 b(a)h(subroutine)e(is)h -(executed,)j(the)e(n)m(um)m(b)s(er)d(of)j(parameters)f(passed)630 -2522 y(is)g(pushed)f(on)m(to)i Ft(BASH_ARGC)p Fu(.)59 -b(The)37 b(shell)g(sets)h Ft(BASH_ARGC)c Fu(only)k(when)e(in)h -(extended)630 2632 y(debugging)23 b(mo)s(de)f(\(see)h(Section)g(4.3.2)i -([The)d(Shopt)g(Builtin],)j(page)e(62)h(for)e(a)h(description)630 -2741 y(of)31 b(the)f Ft(extdebug)e Fu(option)j(to)g(the)g -Ft(shopt)e Fu(builtin\).)150 2898 y Ft(BASH_ARGV)630 -3007 y Fu(An)24 b(arra)m(y)g(v)-5 b(ariable)25 b(con)m(taining)h(all)f -(of)f(the)h(parameters)f(in)g(the)g(curren)m(t)g(bash)g(execution)630 -3117 y(call)35 b(stac)m(k.)53 b(The)34 b(\014nal)g(parameter)g(of)g -(the)g(last)h(subroutine)e(call)i(is)f(at)h(the)f(top)h(of)f(the)630 -3226 y(stac)m(k;)28 b(the)c(\014rst)f(parameter)i(of)f(the)g(initial)i -(call)f(is)f(at)h(the)f(b)s(ottom.)39 b(When)24 b(a)g(subroutine)630 -3336 y(is)40 b(executed,)j(the)d(parameters)h(supplied)d(are)i(pushed)f -(on)m(to)i Ft(BASH_ARGV)p Fu(.)66 b(The)40 b(shell)630 -3446 y(sets)28 b Ft(BASH_ARGV)e Fu(only)i(when)f(in)h(extended)g -(debugging)g(mo)s(de)g(\(see)h(Section)f(4.3.2)i([The)630 -3555 y(Shopt)i(Builtin],)h(page)g(62)g(for)f(a)h(description)f(of)h -(the)f Ft(extdebug)e Fu(option)j(to)g(the)f Ft(shopt)630 -3665 y Fu(builtin\).)150 3821 y Ft(BASH_CMDS)630 3931 -y Fu(An)i(asso)s(ciativ)m(e)i(arra)m(y)f(v)-5 b(ariable)35 -b(whose)f(mem)m(b)s(ers)f(corresp)s(ond)g(to)i(the)f(in)m(ternal)h -(hash)630 4041 y(table)c(of)g(commands)f(as)g(main)m(tained)h(b)m(y)g -(the)f Ft(hash)f Fu(builtin)h(\(see)h(Section)g(4.1)h([Bourne)630 -4150 y(Shell)23 b(Builtins],)j(page)e(41\).)40 b(Elemen)m(ts)24 -b(added)e(to)j(this)e(arra)m(y)h(app)s(ear)e(in)i(the)f(hash)g(table;) -630 4260 y(unsetting)30 b(arra)m(y)h(elemen)m(ts)h(cause)f(commands)f -(to)h(b)s(e)f(remo)m(v)m(ed)h(from)f(the)h(hash)e(table.)150 -4416 y Ft(BASH_COMMAND)630 4526 y Fu(The)39 b(command)h(curren)m(tly)g -(b)s(eing)f(executed)i(or)e(ab)s(out)h(to)g(b)s(e)f(executed,)44 -b(unless)39 b(the)630 4635 y(shell)g(is)g(executing)g(a)g(command)g(as) -g(the)f(result)h(of)g(a)g(trap,)i(in)d(whic)m(h)g(case)i(it)f(is)g(the) -630 4745 y(command)30 b(executing)i(at)f(the)f(time)h(of)g(the)g(trap.) -150 4902 y Ft(BASH_COMPAT)630 5011 y Fu(The)i(v)-5 b(alue)34 -b(is)f(used)g(to)h(set)f(the)h(shell's)g(compatibilit)m(y)h(lev)m(el.) -51 b(See)34 b(Section)g(4.3.2)h([The)630 5121 y(Shopt)40 -b(Builtin],)45 b(page)c(62,)k(for)c(a)g(description)g(of)g(the)g(v)-5 -b(arious)41 b(compatibilit)m(y)i(lev)m(els)630 5230 y(and)31 -b(their)g(e\013ects.)45 b(The)31 b(v)-5 b(alue)31 b(ma)m(y)h(b)s(e)f(a) -h(decimal)g(n)m(um)m(b)s(er)e(\(e.g.,)j(4.2\))g(or)e(an)h(in)m(teger) -630 5340 y(\(e.g.,)39 b(42\))f(corresp)s(onding)d(to)i(the)f(desired)f -(compatibilit)m(y)k(lev)m(el.)59 b(If)36 b Ft(BASH_COMPAT)d -Fu(is)p eop end -%%Page: 71 77 -TeXDict begin 71 76 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(71)630 299 y(unset)37 -b(or)g(set)h(to)g(the)g(empt)m(y)f(string,)j(the)d(compatibilit)m(y)j -(lev)m(el)f(is)e(set)h(to)g(the)g(default)630 408 y(for)i(the)h(curren) -m(t)f(v)m(ersion.)72 b(If)40 b Ft(BASH_COMPAT)e Fu(is)i(set)h(to)h(a)e -(v)-5 b(alue)41 b(that)h(is)e(not)h(one)g(of)630 518 -y(the)f(v)-5 b(alid)40 b(compatibilit)m(y)i(lev)m(els,)i(the)c(shell)g -(prin)m(ts)f(an)h(error)f(message)i(and)f(sets)g(the)630 -628 y(compatibilit)m(y)23 b(lev)m(el)f(to)f(the)f(default)h(for)f(the)g -(curren)m(t)g(v)m(ersion.)38 b(The)20 b(v)-5 b(alid)21 -b(compatibilit)m(y)630 737 y(lev)m(els)40 b(corresp)s(ond)e(to)h(the)g -(compatibilit)m(y)i(options)e(accepted)h(b)m(y)f(the)g -Ft(shopt)e Fu(builtin)630 847 y(describ)s(ed)20 b(ab)s(o)m(v)m(e)i -(\(for)g(example,)h Fr(compat42)31 b Fu(means)21 b(that)g(4.2)i(and)d -(42)i(are)g(v)-5 b(alid)21 b(v)-5 b(alues\).)630 956 -y(The)30 b(curren)m(t)g(v)m(ersion)h(is)f(also)i(a)e(v)-5 -b(alid)31 b(v)-5 b(alue.)150 1121 y Ft(BASH_ENV)96 b -Fu(If)28 b(this)g(v)-5 b(ariable)30 b(is)e(set)h(when)f(Bash)g(is)h(in) -m(v)m(ok)m(ed)h(to)f(execute)h(a)e(shell)h(script,)g(its)g(v)-5 -b(alue)29 b(is)630 1230 y(expanded)k(and)h(used)g(as)g(the)h(name)f(of) -g(a)h(startup)f(\014le)g(to)h(read)f(b)s(efore)g(executing)i(the)630 -1340 y(script.)41 b(See)30 b(Section)h(6.2)h([Bash)f(Startup)e(Files],) -j(page)f(82.)150 1504 y Ft(BASH_EXECUTION_STRING)630 -1614 y Fu(The)f(command)g(argumen)m(t)h(to)g(the)g Ft(-c)e -Fu(in)m(v)m(o)s(cation)k(option.)150 1778 y Ft(BASH_LINENO)630 -1888 y Fu(An)62 b(arra)m(y)i(v)-5 b(ariable)63 b(whose)g(mem)m(b)s(ers) -e(are)j(the)e(line)h(n)m(um)m(b)s(ers)f(in)g(source)h(\014les)630 -1998 y(where)46 b(eac)m(h)i(corresp)s(onding)d(mem)m(b)s(er)h(of)h -Fr(FUNCNAME)53 b Fu(w)m(as)47 b(in)m(v)m(ok)m(ed.)91 -b Ft(${BASH_)630 2107 y(LINENO[$i]})39 b Fu(is)i(the)h(line)g(n)m(um)m -(b)s(er)e(in)i(the)f(source)h(\014le)g(\()p Ft(${BASH_SOURCE[$i+1]})p -Fu(\))630 2217 y(where)d Ft(${FUNCNAME[$i]})c Fu(w)m(as)k(called)i -(\(or)e Ft(${BASH_LINENO[$i-1]})34 b Fu(if)39 b(referenced)630 -2326 y(within)30 b(another)g(shell)h(function\).)41 b(Use)31 +([Bourne)g(Shell)630 1760 y(Builtins],)31 b(page)g(42\).)42 +b(Elemen)m(ts)31 b(added)e(to)i(this)f(arra)m(y)h(app)s(ear)f(in)g(the) +g(alias)h(list;)h(ho)m(w-)630 1870 y(ev)m(er,)k(unsetting)f(arra)m(y)g +(elemen)m(ts)g(curren)m(tly)g(do)s(es)f(not)g(cause)h(aliases)h(to)f(b) +s(e)f(remo)m(v)m(ed)630 1979 y(from)25 b(the)h(alias)h(list.)40 +b(If)25 b Ft(BASH_ALIASES)d Fu(is)k(unset,)g(it)g(loses)h(its)f(sp)s +(ecial)g(prop)s(erties,)g(ev)m(en)630 2089 y(if)k(it)h(is)g(subsequen)m +(tly)f(reset.)150 2271 y Ft(BASH_ARGC)630 2381 y Fu(An)39 +b(arra)m(y)g(v)-5 b(ariable)40 b(whose)f(v)-5 b(alues)39 +b(are)h(the)f(n)m(um)m(b)s(er)f(of)h(parameters)g(in)g(eac)m(h)h(frame) +630 2491 y(of)i(the)g(curren)m(t)g(bash)f(execution)i(call)g(stac)m(k.) +76 b(The)42 b(n)m(um)m(b)s(er)e(of)i(parameters)g(to)h(the)630 +2600 y(curren)m(t)38 b(subroutine)f(\(shell)i(function)e(or)i(script)f +(executed)h(with)e Ft(.)h Fu(or)g Ft(source)p Fu(\))f(is)h(at)630 +2710 y(the)27 b(top)g(of)g(the)g(stac)m(k.)41 b(When)27 +b(a)g(subroutine)f(is)h(executed,)i(the)e(n)m(um)m(b)s(er)f(of)h +(parameters)630 2819 y(passed)44 b(is)h(pushed)e(on)m(to)j +Ft(BASH_ARGC)p Fu(.)81 b(The)44 b(shell)h(sets)g Ft(BASH_ARGC)e +Fu(only)i(when)e(in)630 2929 y(extended)34 b(debugging)f(mo)s(de)g +(\(see)i(Section)f(4.3.2)i([The)d(Shopt)g(Builtin],)i(page)g(64,)g(for) +630 3039 y(a)c(description)f(of)h(the)f Ft(extdebug)e +Fu(option)j(to)g(the)g Ft(shopt)e Fu(builtin\).)150 3221 +y Ft(BASH_ARGV)630 3331 y Fu(An)24 b(arra)m(y)g(v)-5 +b(ariable)25 b(con)m(taining)h(all)f(of)f(the)h(parameters)f(in)g(the)g +(curren)m(t)g(bash)g(execution)630 3440 y(call)35 b(stac)m(k.)53 +b(The)34 b(\014nal)g(parameter)g(of)g(the)g(last)h(subroutine)e(call)i +(is)f(at)h(the)f(top)h(of)f(the)630 3550 y(stac)m(k;)28 +b(the)c(\014rst)f(parameter)i(of)f(the)g(initial)i(call)f(is)f(at)h +(the)f(b)s(ottom.)39 b(When)24 b(a)g(subroutine)630 3660 +y(is)40 b(executed,)j(the)d(parameters)h(supplied)d(are)i(pushed)f(on)m +(to)i Ft(BASH_ARGV)p Fu(.)66 b(The)40 b(shell)630 3769 +y(sets)28 b Ft(BASH_ARGV)e Fu(only)i(when)f(in)h(extended)g(debugging)g +(mo)s(de)g(\(see)h(Section)f(4.3.2)i([The)630 3879 y(Shopt)g(Builtin],) +h(page)g(64,)g(for)g(a)f(description)h(of)f(the)h Ft(extdebug)d +Fu(option)j(to)g(the)f Ft(shopt)630 3988 y Fu(builtin\).)150 +4171 y Ft(BASH_CMDS)630 4281 y Fu(An)k(asso)s(ciativ)m(e)i(arra)m(y)f +(v)-5 b(ariable)35 b(whose)f(mem)m(b)s(ers)f(corresp)s(ond)g(to)i(the)f +(in)m(ternal)h(hash)630 4390 y(table)c(of)g(commands)f(as)g(main)m +(tained)h(b)m(y)g(the)f Ft(hash)f Fu(builtin)h(\(see)h(Section)g(4.1)h +([Bourne)630 4500 y(Shell)42 b(Builtins],)k(page)d(42\).)77 +b(Elemen)m(ts)43 b(added)e(to)i(this)f(arra)m(y)h(app)s(ear)f(in)f(the) +i(hash)630 4609 y(table;)k(ho)m(w)m(ev)m(er,)e(unsetting)c(arra)m(y)g +(elemen)m(ts)i(curren)m(tly)d(do)s(es)h(not)g(cause)g(command)630 +4719 y(names)36 b(to)g(b)s(e)f(remo)m(v)m(ed)i(from)e(the)h(hash)f +(table.)58 b(If)36 b Ft(BASH_CMDS)d Fu(is)j(unset,)h(it)f(loses)h(its) +630 4829 y(sp)s(ecial)31 b(prop)s(erties,)f(ev)m(en)h(if)f(it)h(is)g +(subsequen)m(tly)f(reset.)150 5011 y Ft(BASH_COMMAND)630 +5121 y Fu(The)39 b(command)h(curren)m(tly)g(b)s(eing)f(executed)i(or)e +(ab)s(out)h(to)g(b)s(e)f(executed,)44 b(unless)39 b(the)630 +5230 y(shell)g(is)g(executing)g(a)g(command)g(as)g(the)f(result)h(of)g +(a)g(trap,)i(in)d(whic)m(h)g(case)i(it)f(is)g(the)630 +5340 y(command)30 b(executing)i(at)f(the)f(time)h(of)g(the)g(trap.)p +eop end +%%Page: 73 79 +TeXDict begin 73 78 bop 150 -116 a Fu(Chapter)30 b(5:)41 +b(Shell)30 b(V)-8 b(ariables)2459 b(73)150 299 y Ft(BASH_COMPAT)630 +408 y Fu(The)33 b(v)-5 b(alue)34 b(is)f(used)g(to)h(set)f(the)h +(shell's)g(compatibilit)m(y)h(lev)m(el.)51 b(See)34 b(Section)g(4.3.2)h +([The)630 518 y(Shopt)40 b(Builtin],)45 b(page)c(64,)k(for)c(a)g +(description)g(of)g(the)g(v)-5 b(arious)41 b(compatibilit)m(y)i(lev)m +(els)630 628 y(and)31 b(their)g(e\013ects.)45 b(The)31 +b(v)-5 b(alue)31 b(ma)m(y)h(b)s(e)f(a)h(decimal)g(n)m(um)m(b)s(er)e +(\(e.g.,)j(4.2\))g(or)e(an)h(in)m(teger)630 737 y(\(e.g.,)39 +b(42\))f(corresp)s(onding)d(to)i(the)f(desired)f(compatibilit)m(y)k +(lev)m(el.)59 b(If)36 b Ft(BASH_COMPAT)d Fu(is)630 847 +y(unset)k(or)g(set)h(to)g(the)g(empt)m(y)f(string,)j(the)d +(compatibilit)m(y)j(lev)m(el)f(is)e(set)h(to)g(the)g(default)630 +956 y(for)i(the)h(curren)m(t)f(v)m(ersion.)72 b(If)40 +b Ft(BASH_COMPAT)e Fu(is)i(set)h(to)h(a)e(v)-5 b(alue)41 +b(that)h(is)e(not)h(one)g(of)630 1066 y(the)f(v)-5 b(alid)40 +b(compatibilit)m(y)i(lev)m(els,)i(the)c(shell)g(prin)m(ts)f(an)h(error) +f(message)i(and)f(sets)g(the)630 1176 y(compatibilit)m(y)23 +b(lev)m(el)f(to)f(the)f(default)h(for)f(the)g(curren)m(t)g(v)m(ersion.) +38 b(The)20 b(v)-5 b(alid)21 b(compatibilit)m(y)630 1285 +y(lev)m(els)40 b(corresp)s(ond)e(to)h(the)g(compatibilit)m(y)i(options) +e(accepted)h(b)m(y)f(the)g Ft(shopt)e Fu(builtin)630 +1395 y(describ)s(ed)20 b(ab)s(o)m(v)m(e)i(\(for)g(example,)h +Fr(compat42)31 b Fu(means)21 b(that)g(4.2)i(and)d(42)i(are)g(v)-5 +b(alid)21 b(v)-5 b(alues\).)630 1504 y(The)30 b(curren)m(t)g(v)m +(ersion)h(is)f(also)i(a)e(v)-5 b(alid)31 b(v)-5 b(alue.)150 +1655 y Ft(BASH_ENV)96 b Fu(If)28 b(this)g(v)-5 b(ariable)30 +b(is)e(set)h(when)f(Bash)g(is)h(in)m(v)m(ok)m(ed)h(to)f(execute)h(a)e +(shell)h(script,)g(its)g(v)-5 b(alue)29 b(is)630 1765 +y(expanded)k(and)h(used)g(as)g(the)h(name)f(of)g(a)h(startup)f(\014le)g +(to)h(read)f(b)s(efore)g(executing)i(the)630 1874 y(script.)41 +b(See)30 b(Section)h(6.2)h([Bash)f(Startup)e(Files],)j(page)f(84.)150 +2025 y Ft(BASH_EXECUTION_STRING)630 2134 y Fu(The)f(command)g(argumen)m +(t)h(to)g(the)g Ft(-c)e Fu(in)m(v)m(o)s(cation)k(option.)150 +2285 y Ft(BASH_LINENO)630 2395 y Fu(An)62 b(arra)m(y)i(v)-5 +b(ariable)63 b(whose)g(mem)m(b)s(ers)e(are)j(the)e(line)h(n)m(um)m(b)s +(ers)f(in)g(source)h(\014les)630 2504 y(where)46 b(eac)m(h)i(corresp)s +(onding)d(mem)m(b)s(er)h(of)h Fr(FUNCNAME)53 b Fu(w)m(as)47 +b(in)m(v)m(ok)m(ed.)91 b Ft(${BASH_)630 2614 y(LINENO[$i]})39 +b Fu(is)i(the)h(line)g(n)m(um)m(b)s(er)e(in)i(the)f(source)h(\014le)g +(\()p Ft(${BASH_SOURCE[$i+1]})p Fu(\))630 2724 y(where)d +Ft(${FUNCNAME[$i]})c Fu(w)m(as)k(called)i(\(or)e Ft +(${BASH_LINENO[$i-1]})34 b Fu(if)39 b(referenced)630 +2833 y(within)30 b(another)g(shell)h(function\).)41 b(Use)31 b Ft(LINENO)d Fu(to)j(obtain)g(the)g(curren)m(t)f(line)h(n)m(um)m(b)s -(er.)150 2491 y Ft(BASH_REMATCH)630 2600 y Fu(An)43 b(arra)m(y)i(v)-5 -b(ariable)44 b(whose)g(mem)m(b)s(ers)f(are)h(assigned)g(b)m(y)f(the)h -(`)p Ft(=~)p Fu(')g(binary)f(op)s(erator)630 2710 y(to)37 -b(the)f Ft([[)g Fu(conditional)i(command)e(\(see)h(Section)g(3.2.4.2)i -([Conditional)e(Constructs],)630 2819 y(page)e(10\).)52 -b(The)33 b(elemen)m(t)j(with)d(index)g(0)i(is)f(the)g(p)s(ortion)f(of)h -(the)g(string)g(matc)m(hing)h(the)630 2929 y(en)m(tire)29 -b(regular)f(expression.)40 b(The)27 b(elemen)m(t)j(with)d(index)h -Fr(n)f Fu(is)h(the)g(p)s(ortion)g(of)g(the)g(string)630 -3039 y(matc)m(hing)j(the)g Fr(n)p Fu(th)f(paren)m(thesized)h(sub)s -(expression.)39 b(This)29 b(v)-5 b(ariable)31 b(is)g(read-only)-8 -b(.)150 3203 y Ft(BASH_SOURCE)630 3313 y Fu(An)40 b(arra)m(y)h(v)-5 -b(ariable)41 b(whose)f(mem)m(b)s(ers)g(are)h(the)g(source)f -(\014lenames)h(where)f(the)g(corre-)630 3422 y(sp)s(onding)27 -b(shell)i(function)f(names)g(in)g(the)h Ft(FUNCNAME)d -Fu(arra)m(y)j(v)-5 b(ariable)30 b(are)f(de\014ned.)38 -b(The)630 3532 y(shell)26 b(function)g Ft(${FUNCNAME[$i]})c +(er.)150 2984 y Ft(BASH_LOADABLES_PATH)630 3093 y Fu(A)39 +b(colon-separated)i(list)f(of)f(directories)h(in)f(whic)m(h)g(the)g +(shell)h(lo)s(oks)f(for)g(dynamically)630 3203 y(loadable)32 +b(builtins)d(sp)s(eci\014ed)h(b)m(y)g(the)h Ft(enable)e +Fu(command.)150 3354 y Ft(BASH_REMATCH)630 3463 y Fu(An)43 +b(arra)m(y)i(v)-5 b(ariable)44 b(whose)g(mem)m(b)s(ers)f(are)h +(assigned)g(b)m(y)f(the)h(`)p Ft(=~)p Fu(')g(binary)f(op)s(erator)630 +3573 y(to)37 b(the)f Ft([[)g Fu(conditional)i(command)e(\(see)h +(Section)g(3.2.4.2)i([Conditional)e(Constructs],)630 +3682 y(page)e(10\).)52 b(The)33 b(elemen)m(t)j(with)d(index)g(0)i(is)f +(the)g(p)s(ortion)f(of)h(the)g(string)g(matc)m(hing)h(the)630 +3792 y(en)m(tire)29 b(regular)f(expression.)40 b(The)27 +b(elemen)m(t)j(with)d(index)h Fr(n)f Fu(is)h(the)g(p)s(ortion)g(of)g +(the)g(string)630 3902 y(matc)m(hing)j(the)g Fr(n)p Fu(th)f(paren)m +(thesized)h(sub)s(expression.)39 b(This)29 b(v)-5 b(ariable)31 +b(is)g(read-only)-8 b(.)150 4052 y Ft(BASH_SOURCE)630 +4162 y Fu(An)40 b(arra)m(y)h(v)-5 b(ariable)41 b(whose)f(mem)m(b)s(ers) +g(are)h(the)g(source)f(\014lenames)h(where)f(the)g(corre-)630 +4271 y(sp)s(onding)27 b(shell)i(function)f(names)g(in)g(the)h +Ft(FUNCNAME)d Fu(arra)m(y)j(v)-5 b(ariable)30 b(are)f(de\014ned.)38 +b(The)630 4381 y(shell)26 b(function)g Ft(${FUNCNAME[$i]})c Fu(is)k(de\014ned)f(in)g(the)h(\014le)h Ft(${BASH_SOURCE[$i]})21 -b Fu(and)630 3641 y(called)32 b(from)d Ft(${BASH_SOURCE[$i+1]})150 -3806 y(BASH_SUBSHELL)630 3915 y Fu(Incremen)m(ted)24 +b Fu(and)630 4491 y(called)32 b(from)d Ft(${BASH_SOURCE[$i+1]})150 +4641 y(BASH_SUBSHELL)630 4751 y Fu(Incremen)m(ted)24 b(b)m(y)f(one)h(within)f(eac)m(h)i(subshell)d(or)i(subshell)e(en)m -(vironmen)m(t)i(when)f(the)h(shell)630 4025 y(b)s(egins)30 +(vironmen)m(t)i(when)f(the)h(shell)630 4861 y(b)s(egins)30 b(executing)h(in)f(that)h(en)m(vironmen)m(t.)42 b(The)30 -b(initial)h(v)-5 b(alue)31 b(is)f(0.)150 4189 y Ft(BASH_VERSINFO)630 -4299 y Fu(A)36 b(readonly)g(arra)m(y)g(v)-5 b(ariable)37 -b(\(see)f(Section)h(6.7)g([Arra)m(ys],)h(page)e(89\))h(whose)f(mem)m(b) -s(ers)630 4408 y(hold)c(v)m(ersion)h(information)f(for)g(this)g +b(initial)h(v)-5 b(alue)31 b(is)f(0.)150 5011 y Ft(BASH_VERSINFO)630 +5121 y Fu(A)36 b(readonly)g(arra)m(y)g(v)-5 b(ariable)37 +b(\(see)f(Section)h(6.7)g([Arra)m(ys],)h(page)e(91\))h(whose)f(mem)m(b) +s(ers)630 5230 y(hold)c(v)m(ersion)h(information)f(for)g(this)g (instance)h(of)g(Bash.)46 b(The)32 b(v)-5 b(alues)32 -b(assigned)h(to)g(the)630 4518 y(arra)m(y)e(mem)m(b)s(ers)e(are)i(as)g -(follo)m(ws:)630 4682 y Ft(BASH_VERSINFO[0])1110 4792 -y Fu(The)f(ma)5 b(jor)30 b(v)m(ersion)h(n)m(um)m(b)s(er)e(\(the)i -Fr(release)5 b Fu(\).)630 4956 y Ft(BASH_VERSINFO[1])1110 -5066 y Fu(The)30 b(minor)g(v)m(ersion)h(n)m(um)m(b)s(er)e(\(the)i -Fr(v)m(ersion)p Fu(\).)630 5230 y Ft(BASH_VERSINFO[2])1110 -5340 y Fu(The)f(patc)m(h)h(lev)m(el.)p eop end -%%Page: 72 78 -TeXDict begin 72 77 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(72)630 299 y Ft(BASH_VERSINFO[3]) -1110 408 y Fu(The)30 b(build)f(v)m(ersion.)630 591 y -Ft(BASH_VERSINFO[4])1110 701 y Fu(The)h(release)i(status)e(\(e.g.,)j -Fr(b)s(eta1)7 b Fu(\).)630 883 y Ft(BASH_VERSINFO[5])1110 -993 y Fu(The)30 b(v)-5 b(alue)31 b(of)f Ft(MACHTYPE)p -Fu(.)150 1176 y Ft(BASH_VERSION)630 1285 y Fu(The)g(v)m(ersion)h(n)m -(um)m(b)s(er)e(of)h(the)h(curren)m(t)f(instance)h(of)g(Bash.)150 -1468 y Ft(BASH_XTRACEFD)630 1577 y Fu(If)f(set)h(to)h(an)e(in)m(teger)i +b(assigned)h(to)g(the)630 5340 y(arra)m(y)e(mem)m(b)s(ers)e(are)i(as)g +(follo)m(ws:)p eop end +%%Page: 74 80 +TeXDict begin 74 79 bop 150 -116 a Fu(Chapter)30 b(5:)41 +b(Shell)30 b(V)-8 b(ariables)2459 b(74)630 299 y Ft(BASH_VERSINFO[0]) +1110 408 y Fu(The)30 b(ma)5 b(jor)30 b(v)m(ersion)h(n)m(um)m(b)s(er)e +(\(the)i Fr(release)5 b Fu(\).)630 578 y Ft(BASH_VERSINFO[1])1110 +687 y Fu(The)30 b(minor)g(v)m(ersion)h(n)m(um)m(b)s(er)e(\(the)i +Fr(v)m(ersion)p Fu(\).)630 857 y Ft(BASH_VERSINFO[2])1110 +966 y Fu(The)f(patc)m(h)h(lev)m(el.)630 1136 y Ft(BASH_VERSINFO[3])1110 +1245 y Fu(The)f(build)f(v)m(ersion.)630 1415 y Ft(BASH_VERSINFO[4])1110 +1524 y Fu(The)h(release)i(status)e(\(e.g.,)j Fr(b)s(eta1)7 +b Fu(\).)630 1694 y Ft(BASH_VERSINFO[5])1110 1803 y Fu(The)30 +b(v)-5 b(alue)31 b(of)f Ft(MACHTYPE)p Fu(.)150 1973 y +Ft(BASH_VERSION)630 2082 y Fu(The)g(v)m(ersion)h(n)m(um)m(b)s(er)e(of)h +(the)h(curren)m(t)f(instance)h(of)g(Bash.)150 2252 y +Ft(BASH_XTRACEFD)630 2361 y Fu(If)f(set)h(to)h(an)e(in)m(teger)i (corresp)s(onding)e(to)h(a)g(v)-5 b(alid)31 b(\014le)g(descriptor,)g -(Bash)g(will)g(write)g(the)630 1687 y(trace)37 b(output)f(generated)h +(Bash)g(will)g(write)g(the)630 2471 y(trace)37 b(output)f(generated)h (when)f(`)p Ft(set)29 b(-x)p Fu(')36 b(is)g(enabled)h(to)g(that)f -(\014le)h(descriptor.)58 b(This)630 1797 y(allo)m(ws)29 +(\014le)h(descriptor.)58 b(This)630 2580 y(allo)m(ws)29 b(tracing)h(output)d(to)i(b)s(e)f(separated)g(from)g(diagnostic)h(and)f -(error)f(messages.)41 b(The)630 1906 y(\014le)31 b(descriptor)f(is)h +(error)f(messages.)41 b(The)630 2690 y(\014le)31 b(descriptor)f(is)h (closed)g(when)f Ft(BASH_XTRACEFD)d Fu(is)k(unset)f(or)g(assigned)h(a)g -(new)f(v)-5 b(alue.)630 2016 y(Unsetting)45 b Ft(BASH_XTRACEFD)40 +(new)f(v)-5 b(alue.)630 2800 y(Unsetting)45 b Ft(BASH_XTRACEFD)40 b Fu(or)k(assigning)g(it)g(the)g(empt)m(y)h(string)e(causes)i(the)f -(trace)630 2125 y(output)33 b(to)i(b)s(e)d(sen)m(t)j(to)f(the)g +(trace)630 2909 y(output)33 b(to)i(b)s(e)d(sen)m(t)j(to)f(the)g (standard)e(error.)50 b(Note)35 b(that)g(setting)f Ft(BASH_XTRACEFD)c -Fu(to)630 2235 y(2)39 b(\(the)h(standard)e(error)g(\014le)h +Fu(to)630 3019 y(2)39 b(\(the)h(standard)e(error)g(\014le)h (descriptor\))h(and)e(then)h(unsetting)g(it)g(will)g(result)g(in)g(the) -630 2345 y(standard)30 b(error)g(b)s(eing)f(closed.)150 -2527 y Ft(CHILD_MAX)630 2637 y Fu(Set)35 b(the)h(n)m(um)m(b)s(er)e(of)h +630 3128 y(standard)30 b(error)g(b)s(eing)f(closed.)150 +3298 y Ft(CHILD_MAX)630 3407 y Fu(Set)35 b(the)h(n)m(um)m(b)s(er)e(of)h (exited)h(c)m(hild)g(status)f(v)-5 b(alues)36 b(for)f(the)g(shell)g(to) -h(remem)m(b)s(er.)55 b(Bash)630 2746 y(will)37 b(not)g(allo)m(w)i(this) +h(remem)m(b)s(er.)55 b(Bash)630 3517 y(will)37 b(not)g(allo)m(w)i(this) e(v)-5 b(alue)37 b(to)h(b)s(e)e(decreased)i(b)s(elo)m(w)f(a)g -Fm(posix)p Fu(-mandated)f(minim)m(um,)630 2856 y(and)30 +Fm(posix)p Fu(-mandated)f(minim)m(um,)630 3626 y(and)30 b(there)g(is)g(a)h(maxim)m(um)f(v)-5 b(alue)30 b(\(curren)m(tly)h (8192\))h(that)f(this)f(ma)m(y)g(not)h(exceed.)41 b(The)630 -2966 y(minim)m(um)30 b(v)-5 b(alue)30 b(is)h(system-dep)s(enden)m(t.) -150 3148 y Ft(COLUMNS)144 b Fu(Used)32 b(b)m(y)f(the)h +3736 y(minim)m(um)30 b(v)-5 b(alue)30 b(is)h(system-dep)s(enden)m(t.) +150 3905 y Ft(COLUMNS)144 b Fu(Used)32 b(b)m(y)f(the)h Ft(select)e Fu(command)h(to)i(determine)f(the)f(terminal)i(width)d -(when)h(prin)m(ting)630 3258 y(selection)39 b(lists.)63 +(when)h(prin)m(ting)630 4015 y(selection)39 b(lists.)63 b(Automatically)41 b(set)d(if)f(the)h Ft(checkwinsize)d -Fu(option)j(is)f(enabled)h(\(see)630 3367 y(Section)44 -b(4.3.2)h([The)e(Shopt)g(Builtin],)k(page)d(62\),)k(or)43 -b(in)g(an)g(in)m(teractiv)m(e)j(shell)e(up)s(on)630 3477 -y(receipt)31 b(of)g(a)g Ft(SIGWINCH)p Fu(.)150 3660 y -Ft(COMP_CWORD)630 3769 y Fu(An)38 b(index)g(in)m(to)h +Fu(option)j(is)f(enabled)h(\(see)630 4125 y(Section)44 +b(4.3.2)h([The)e(Shopt)g(Builtin],)k(page)d(64\),)k(or)43 +b(in)g(an)g(in)m(teractiv)m(e)j(shell)e(up)s(on)630 4234 +y(receipt)31 b(of)g(a)g Ft(SIGWINCH)p Fu(.)150 4403 y +Ft(COMP_CWORD)630 4513 y Fu(An)38 b(index)g(in)m(to)h Ft(${COMP_WORDS})c Fu(of)k(the)g(w)m(ord)f(con)m(taining)i(the)e -(curren)m(t)g(cursor)g(p)s(o-)630 3879 y(sition.)72 b(This)40 +(curren)m(t)g(cursor)g(p)s(o-)630 4623 y(sition.)72 b(This)40 b(v)-5 b(ariable)41 b(is)f(a)m(v)-5 b(ailable)43 b(only)e(in)f(shell)h (functions)f(in)m(v)m(ok)m(ed)i(b)m(y)e(the)h(pro-)630 -3988 y(grammable)36 b(completion)g(facilities)i(\(see)e(Section)g(8.6)g -([Programmable)g(Completion],)630 4098 y(page)31 b(124\).)150 -4281 y Ft(COMP_LINE)630 4390 y Fu(The)38 b(curren)m(t)h(command)f +4732 y(grammable)36 b(completion)g(facilities)i(\(see)e(Section)g(8.6)g +([Programmable)g(Completion],)630 4842 y(page)31 b(129\).)150 +5011 y Ft(COMP_LINE)630 5121 y Fu(The)38 b(curren)m(t)h(command)f (line.)66 b(This)37 b(v)-5 b(ariable)40 b(is)f(a)m(v)-5 -b(ailable)41 b(only)d(in)h(shell)f(functions)630 4500 +b(ailable)41 b(only)d(in)h(shell)f(functions)630 5230 y(and)25 b(external)h(commands)f(in)m(v)m(ok)m(ed)h(b)m(y)f(the)h -(programmable)f(completion)i(facilities)g(\(see)630 4609 -y(Section)k(8.6)h([Programmable)f(Completion],)g(page)g(124\).)150 -4792 y Ft(COMP_POINT)630 4902 y Fu(The)25 b(index)g(of)h(the)g(curren)m -(t)f(cursor)g(p)s(osition)h(relativ)m(e)i(to)e(the)g(b)s(eginning)f(of) -g(the)h(curren)m(t)630 5011 y(command.)40 b(If)27 b(the)h(curren)m(t)g -(cursor)g(p)s(osition)g(is)g(at)g(the)g(end)g(of)g(the)g(curren)m(t)g -(command,)630 5121 y(the)i(v)-5 b(alue)30 b(of)g(this)g(v)-5 -b(ariable)31 b(is)f(equal)g(to)h Ft(${#COMP_LINE})p Fu(.)37 -b(This)29 b(v)-5 b(ariable)31 b(is)f(a)m(v)-5 b(ailable)630 -5230 y(only)36 b(in)f(shell)h(functions)f(and)g(external)h(commands)g -(in)m(v)m(ok)m(ed)h(b)m(y)e(the)h(programmable)630 5340 -y(completion)c(facilities)g(\(see)g(Section)f(8.6)g([Programmable)g -(Completion],)h(page)f(124\).)p eop end -%%Page: 73 79 -TeXDict begin 73 78 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(73)150 299 y Ft(COMP_TYPE)630 -408 y Fu(Set)27 b(to)h(an)f(in)m(teger)h(v)-5 b(alue)28 -b(corresp)s(onding)e(to)h(the)h(t)m(yp)s(e)f(of)g(completion)h -(attempted)g(that)630 518 y(caused)e(a)h(completion)h(function)e(to)h -(b)s(e)f(called:)40 b Fr(T)-8 b(AB)p Fu(,)27 b(for)g(normal)f -(completion,)j(`)p Ft(?)p Fu(',)e(for)630 628 y(listing)35 -b(completions)h(after)f(successiv)m(e)g(tabs,)h(`)p Ft(!)p -Fu(',)g(for)e(listing)h(alternativ)m(es)i(on)d(partial)630 -737 y(w)m(ord)22 b(completion,)k(`)p Ft(@)p Fu(',)f(to)e(list)g -(completions)h(if)f(the)g(w)m(ord)f(is)h(not)g(unmo)s(di\014ed,)f(or)h -(`)p Ft(\045)p Fu(',)h(for)630 847 y(men)m(u)i(completion.)41 -b(This)25 b(v)-5 b(ariable)27 b(is)g(a)m(v)-5 b(ailable)28 -b(only)f(in)f(shell)g(functions)g(and)g(external)630 -956 y(commands)32 b(in)m(v)m(ok)m(ed)i(b)m(y)e(the)g(programmable)h -(completion)g(facilities)i(\(see)e(Section)g(8.6)630 -1066 y([Programmable)e(Completion],)h(page)f(124\).)150 -1241 y Ft(COMP_KEY)96 b Fu(The)29 b(k)m(ey)i(\(or)g(\014nal)e(k)m(ey)i +(programmable)f(completion)i(facilities)g(\(see)630 5340 +y(Section)k(8.6)h([Programmable)f(Completion],)g(page)g(129\).)p +eop end +%%Page: 75 81 +TeXDict begin 75 80 bop 150 -116 a Fu(Chapter)30 b(5:)41 +b(Shell)30 b(V)-8 b(ariables)2459 b(75)150 299 y Ft(COMP_POINT)630 +408 y Fu(The)25 b(index)g(of)h(the)g(curren)m(t)f(cursor)g(p)s(osition) +h(relativ)m(e)i(to)e(the)g(b)s(eginning)f(of)g(the)h(curren)m(t)630 +518 y(command.)40 b(If)27 b(the)h(curren)m(t)g(cursor)g(p)s(osition)g +(is)g(at)g(the)g(end)g(of)g(the)g(curren)m(t)g(command,)630 +628 y(the)i(v)-5 b(alue)30 b(of)g(this)g(v)-5 b(ariable)31 +b(is)f(equal)g(to)h Ft(${#COMP_LINE})p Fu(.)37 b(This)29 +b(v)-5 b(ariable)31 b(is)f(a)m(v)-5 b(ailable)630 737 +y(only)36 b(in)f(shell)h(functions)f(and)g(external)h(commands)g(in)m +(v)m(ok)m(ed)h(b)m(y)e(the)h(programmable)630 847 y(completion)c +(facilities)g(\(see)g(Section)f(8.6)g([Programmable)g(Completion],)h +(page)f(129\).)150 1011 y Ft(COMP_TYPE)630 1121 y Fu(Set)c(to)h(an)f +(in)m(teger)h(v)-5 b(alue)28 b(corresp)s(onding)e(to)h(the)h(t)m(yp)s +(e)f(of)g(completion)h(attempted)g(that)630 1230 y(caused)e(a)h +(completion)h(function)e(to)h(b)s(e)f(called:)40 b Fr(T)-8 +b(AB)p Fu(,)27 b(for)g(normal)f(completion,)j(`)p Ft(?)p +Fu(',)e(for)630 1340 y(listing)35 b(completions)h(after)f(successiv)m +(e)g(tabs,)h(`)p Ft(!)p Fu(',)g(for)e(listing)h(alternativ)m(es)i(on)d +(partial)630 1450 y(w)m(ord)22 b(completion,)k(`)p Ft(@)p +Fu(',)f(to)e(list)g(completions)h(if)f(the)g(w)m(ord)f(is)h(not)g(unmo) +s(di\014ed,)f(or)h(`)p Ft(\045)p Fu(',)h(for)630 1559 +y(men)m(u)i(completion.)41 b(This)25 b(v)-5 b(ariable)27 +b(is)g(a)m(v)-5 b(ailable)28 b(only)f(in)f(shell)g(functions)g(and)g +(external)630 1669 y(commands)32 b(in)m(v)m(ok)m(ed)i(b)m(y)e(the)g +(programmable)h(completion)g(facilities)i(\(see)e(Section)g(8.6)630 +1778 y([Programmable)e(Completion],)h(page)f(129\).)150 +1943 y Ft(COMP_KEY)96 b Fu(The)29 b(k)m(ey)i(\(or)g(\014nal)e(k)m(ey)i (of)f(a)g(k)m(ey)h(sequence\))g(used)e(to)i(in)m(v)m(ok)m(e)h(the)e -(curren)m(t)g(completion)630 1351 y(function.)150 1526 -y Ft(COMP_WORDBREAKS)630 1636 y Fu(The)f(set)i(of)e(c)m(haracters)j +(curren)m(t)g(completion)630 2052 y(function.)150 2217 +y Ft(COMP_WORDBREAKS)630 2326 y Fu(The)f(set)i(of)e(c)m(haracters)j (that)e(the)g(Readline)g(library)g(treats)g(as)g(w)m(ord)g(separators)g -(when)630 1745 y(p)s(erforming)i(w)m(ord)h(completion.)51 +(when)630 2436 y(p)s(erforming)i(w)m(ord)h(completion.)51 b(If)33 b Ft(COMP_WORDBREAKS)c Fu(is)34 b(unset,)g(it)f(loses)i(its)e -(sp)s(ecial)630 1855 y(prop)s(erties,)d(ev)m(en)h(if)f(it)h(is)g -(subsequen)m(tly)f(reset.)150 2030 y Ft(COMP_WORDS)630 -2140 y Fu(An)36 b(arra)m(y)g(v)-5 b(ariable)37 b(consisting)g(of)f(the) +(sp)s(ecial)630 2545 y(prop)s(erties,)d(ev)m(en)h(if)f(it)h(is)g +(subsequen)m(tly)f(reset.)150 2710 y Ft(COMP_WORDS)630 +2819 y Fu(An)36 b(arra)m(y)g(v)-5 b(ariable)37 b(consisting)g(of)f(the) g(individual)f(w)m(ords)h(in)f(the)h(curren)m(t)g(command)630 -2250 y(line.)94 b(The)47 b(line)i(is)f(split)g(in)m(to)h(w)m(ords)e(as) +2929 y(line.)94 b(The)47 b(line)i(is)f(split)g(in)m(to)h(w)m(ords)e(as) h(Readline)h(w)m(ould)f(split)g(it,)53 b(using)47 b Ft(COMP_)630 -2359 y(WORDBREAKS)34 b Fu(as)i(describ)s(ed)g(ab)s(o)m(v)m(e.)60 +3039 y(WORDBREAKS)34 b Fu(as)i(describ)s(ed)g(ab)s(o)m(v)m(e.)60 b(This)36 b(v)-5 b(ariable)37 b(is)f(a)m(v)-5 b(ailable)39 -b(only)e(in)f(shell)h(func-)630 2469 y(tions)32 b(in)m(v)m(ok)m(ed)i(b) +b(only)e(in)f(shell)h(func-)630 3148 y(tions)32 b(in)m(v)m(ok)m(ed)i(b) m(y)d(the)i(programmable)f(completion)h(facilities)h(\(see)f(Section)g -(8.6)g([Pro-)630 2578 y(grammable)e(Completion],)g(page)g(124\).)150 -2754 y Ft(COMPREPLY)630 2863 y Fu(An)37 b(arra)m(y)h(v)-5 +(8.6)g([Pro-)630 3258 y(grammable)e(Completion],)g(page)g(129\).)150 +3422 y Ft(COMPREPLY)630 3532 y Fu(An)37 b(arra)m(y)h(v)-5 b(ariable)38 b(from)f(whic)m(h)g(Bash)g(reads)g(the)h(p)s(ossible)e -(completions)j(generated)630 2973 y(b)m(y)33 b(a)g(shell)h(function)f +(completions)j(generated)630 3641 y(b)m(y)33 b(a)g(shell)h(function)f (in)m(v)m(ok)m(ed)h(b)m(y)f(the)g(programmable)h(completion)g(facilit)m -(y)h(\(see)f(Sec-)630 3082 y(tion)g(8.6)g([Programmable)g(Completion],) -h(page)f(124\).)51 b(Eac)m(h)34 b(arra)m(y)g(elemen)m(t)h(con)m(tains) -630 3192 y(one)c(p)s(ossible)f(completion.)150 3367 y +(y)h(\(see)f(Sec-)630 3751 y(tion)g(8.6)g([Programmable)g(Completion],) +h(page)f(129\).)51 b(Eac)m(h)34 b(arra)m(y)g(elemen)m(t)h(con)m(tains) +630 3861 y(one)c(p)s(ossible)f(completion.)150 4025 y Ft(COPROC)192 b Fu(An)27 b(arra)m(y)g(v)-5 b(ariable)28 b(created)g(to)f(hold)g(the)g(\014le)g(descriptors)g(for)g(output)f -(from)h(and)f(input)630 3477 y(to)31 b(an)f(unnamed)f(copro)s(cess)i +(from)h(and)f(input)630 4134 y(to)31 b(an)f(unnamed)f(copro)s(cess)i (\(see)g(Section)h(3.2.5)g([Copro)s(cesses],)f(page)g(15\).)150 -3652 y Ft(DIRSTACK)96 b Fu(An)26 b(arra)m(y)h(v)-5 b(ariable)28 +4299 y Ft(DIRSTACK)96 b Fu(An)26 b(arra)m(y)h(v)-5 b(ariable)28 b(con)m(taining)g(the)f(curren)m(t)f(con)m(ten)m(ts)j(of)e(the)f -(directory)i(stac)m(k.)41 b(Direc-)630 3762 y(tories)33 +(directory)i(stac)m(k.)41 b(Direc-)630 4408 y(tories)33 b(app)s(ear)f(in)g(the)h(stac)m(k)h(in)e(the)h(order)f(they)h(are)g (displa)m(y)m(ed)g(b)m(y)f(the)h Ft(dirs)e Fu(builtin.)630 -3871 y(Assigning)f(to)h(mem)m(b)s(ers)f(of)g(this)g(arra)m(y)g(v)-5 +4518 y(Assigning)f(to)h(mem)m(b)s(ers)f(of)g(this)g(arra)m(y)g(v)-5 b(ariable)31 b(ma)m(y)g(b)s(e)e(used)h(to)h(mo)s(dify)e(directories)630 -3981 y(already)41 b(in)f(the)h(stac)m(k,)k(but)40 b(the)h +4628 y(already)41 b(in)f(the)h(stac)m(k,)k(but)40 b(the)h Ft(pushd)e Fu(and)h Ft(popd)f Fu(builtins)h(m)m(ust)h(b)s(e)e(used)h -(to)i(add)630 4091 y(and)37 b(remo)m(v)m(e)h(directories.)63 +(to)i(add)630 4737 y(and)37 b(remo)m(v)m(e)h(directories.)63 b(Assignmen)m(t)37 b(to)h(this)f(v)-5 b(ariable)38 b(will)g(not)f(c)m -(hange)i(the)e(cur-)630 4200 y(ren)m(t)c(directory)-8 +(hange)i(the)e(cur-)630 4847 y(ren)m(t)c(directory)-8 b(.)47 b(If)32 b Ft(DIRSTACK)e Fu(is)i(unset,)g(it)h(loses)g(its)g(sp)s (ecial)g(prop)s(erties,)f(ev)m(en)h(if)f(it)h(is)630 -4310 y(subsequen)m(tly)d(reset.)150 4485 y Ft(EMACS)240 +4956 y(subsequen)m(tly)d(reset.)150 5121 y Ft(EMACS)240 b Fu(If)31 b(Bash)h(\014nds)d(this)j(v)-5 b(ariable)32 b(in)f(the)h(en)m(vironmen)m(t)g(when)e(the)i(shell)f(starts)h(with)f -(v)-5 b(alue)630 4595 y(`)p Ft(t)p Fu(',)36 b(it)f(assumes)f(that)h +(v)-5 b(alue)630 5230 y(`)p Ft(t)p Fu(',)36 b(it)f(assumes)f(that)h (the)g(shell)f(is)h(running)e(in)h(an)g(Emacs)h(shell)g(bu\013er)e(and) -h(disables)630 4704 y(line)d(editing.)150 4880 y Ft(ENV)336 +h(disables)630 5340 y(line)d(editing.)p eop end +%%Page: 76 82 +TeXDict begin 76 81 bop 150 -116 a Fu(Chapter)30 b(5:)41 +b(Shell)30 b(V)-8 b(ariables)2459 b(76)150 299 y Ft(ENV)336 b Fu(Similar)35 b(to)g Ft(BASH_ENV)p Fu(;)h(used)e(when)g(the)h(shell)g (is)g(in)m(v)m(ok)m(ed)h(in)e Fm(posix)h Fu(Mo)s(de)g(\(see)g(Sec-)630 -4989 y(tion)c(6.11)h([Bash)f(POSIX)e(Mo)s(de],)i(page)g(94\).)150 -5165 y Ft(EUID)288 b Fu(The)30 b(n)m(umeric)g(e\013ectiv)m(e)j(user)d +408 y(tion)c(6.11)h([Bash)f(POSIX)e(Mo)s(de],)i(page)g(96\).)150 +564 y Ft(EUID)288 b Fu(The)30 b(n)m(umeric)g(e\013ectiv)m(e)j(user)d (id)g(of)g(the)h(curren)m(t)f(user.)40 b(This)30 b(v)-5 -b(ariable)31 b(is)f(readonly)-8 b(.)150 5340 y Ft(FCEDIT)192 +b(ariable)31 b(is)f(readonly)-8 b(.)150 720 y Ft(EXECIGNORE)630 +830 y Fu(A)29 b(colon-separated)h(list)f(of)g(shell)g(patterns)f(\(see) +i(Section)f(3.5.8.1)i([P)m(attern)f(Matc)m(hing],)630 +939 y(page)j(31\))g(de\014ning)e(the)h(list)g(of)g(\014lenames)g(to)g +(b)s(e)g(ignored)g(b)m(y)f(command)h(searc)m(h)g(using)630 +1049 y Ft(PATH)p Fu(.)k(Files)22 b(whose)f(full)g(pathnames)g(matc)m(h) +h(one)f(of)g(these)h(patterns)e(are)i(not)f(considered)630 +1158 y(executable)j(\014les)e(for)g(the)h(purp)s(oses)d(of)j +(completion)h(and)d(command)i(execution)g(via)g Ft(PATH)630 +1268 y Fu(lo)s(okup.)56 b(This)35 b(do)s(es)g(not)h(a\013ect)i(the)d(b) +s(eha)m(vior)h(of)g(the)g Ft([)p Fu(,)h Ft(test)p Fu(,)f(and)f +Ft([[)g Fu(commands.)630 1377 y(F)-8 b(ull)42 b(pathnames)e(in)h(the)g +(command)g(hash)f(table)i(are)g(not)f(sub)5 b(ject)41 +b(to)g Ft(EXECIGNORE)p Fu(.)630 1487 y(Use)30 b(this)f(v)-5 +b(ariable)30 b(to)g(ignore)g(shared)f(library)g(\014les)g(that)h(ha)m +(v)m(e)h(the)f(executable)h(bit)e(set,)630 1597 y(but)36 +b(are)h(not)g(executable)i(\014les.)60 b(The)36 b(pattern)h(matc)m +(hing)h(honors)e(the)h(setting)h(of)f(the)630 1706 y +Ft(extglob)28 b Fu(shell)j(option.)150 1862 y Ft(FCEDIT)192 b Fu(The)30 b(editor)h(used)e(as)i(a)g(default)f(b)m(y)h(the)f -Ft(-e)g Fu(option)h(to)g(the)f Ft(fc)g Fu(builtin)g(command.)p -eop end -%%Page: 74 80 -TeXDict begin 74 79 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(74)150 299 y Ft(FIGNORE)144 -b Fu(A)35 b(colon-separated)i(list)f(of)g(su\016xes)e(to)i(ignore)g -(when)e(p)s(erforming)g(\014lename)i(comple-)630 408 -y(tion.)k(A)27 b(\014lename)g(whose)f(su\016x)g(matc)m(hes)i(one)f(of)g -(the)g(en)m(tries)g(in)g Ft(FIGNORE)d Fu(is)j(excluded)630 -518 y(from)j(the)g(list)h(of)g(matc)m(hed)g(\014lenames.)41 +Ft(-e)g Fu(option)h(to)g(the)f Ft(fc)g Fu(builtin)g(command.)150 +2018 y Ft(FIGNORE)144 b Fu(A)35 b(colon-separated)i(list)f(of)g +(su\016xes)e(to)i(ignore)g(when)e(p)s(erforming)g(\014lename)i(comple-) +630 2127 y(tion.)k(A)27 b(\014lename)g(whose)f(su\016x)g(matc)m(hes)i +(one)f(of)g(the)g(en)m(tries)g(in)g Ft(FIGNORE)d Fu(is)j(excluded)630 +2237 y(from)j(the)g(list)h(of)g(matc)m(hed)g(\014lenames.)41 b(A)30 b(sample)h(v)-5 b(alue)31 b(is)f(`)p Ft(.o:~)p -Fu(')150 671 y Ft(FUNCNAME)96 b Fu(An)35 b(arra)m(y)i(v)-5 +Fu(')150 2393 y Ft(FUNCNAME)96 b Fu(An)35 b(arra)m(y)i(v)-5 b(ariable)36 b(con)m(taining)h(the)f(names)g(of)g(all)g(shell)g -(functions)g(curren)m(tly)f(in)h(the)630 781 y(execution)g(call)h(stac) -m(k.)57 b(The)34 b(elemen)m(t)j(with)e(index)g(0)h(is)f(the)g(name)h -(of)f(an)m(y)h(curren)m(tly-)630 891 y(executing)f(shell)f(function.)51 -b(The)34 b(b)s(ottom-most)h(elemen)m(t)g(\(the)g(one)f(with)g(the)g -(highest)630 1000 y(index\))e(is)h Ft("main")p Fu(.)44 -b(This)32 b(v)-5 b(ariable)33 b(exists)g(only)g(when)e(a)i(shell)f -(function)g(is)g(executing.)630 1110 y(Assignmen)m(ts)23 -b(to)h Ft(FUNCNAME)c Fu(ha)m(v)m(e)k(no)f(e\013ect)h(and)e(return)g(an) -g(error)g(status.)39 b(If)22 b Ft(FUNCNAME)630 1219 y -Fu(is)30 b(unset,)h(it)g(loses)g(its)f(sp)s(ecial)h(prop)s(erties,)f -(ev)m(en)h(if)g(it)g(is)f(subsequen)m(tly)g(reset.)630 -1351 y(This)h(v)-5 b(ariable)32 b(can)f(b)s(e)g(used)g(with)g -Ft(BASH_LINENO)d Fu(and)j Ft(BASH_SOURCE)p Fu(.)40 b(Eac)m(h)32 -b(elemen)m(t)630 1461 y(of)g Ft(FUNCNAME)d Fu(has)j(corresp)s(onding)e -(elemen)m(ts)j(in)f Ft(BASH_LINENO)c Fu(and)k Ft(BASH_SOURCE)c -Fu(to)630 1570 y(describ)s(e)39 b(the)h(call)h(stac)m(k.)70 -b(F)-8 b(or)41 b(instance,)i Ft(${FUNCNAME[$i]})35 b -Fu(w)m(as)41 b(called)f(from)g(the)630 1680 y(\014le)27 -b Ft(${BASH_SOURCE[$i+1]})21 b Fu(at)27 b(line)h(n)m(um)m(b)s(er)d -Ft(${BASH_LINENO[$i]})p Fu(.)34 b(The)27 b Ft(caller)630 -1789 y Fu(builtin)j(displa)m(ys)g(the)h(curren)m(t)f(call)i(stac)m(k)g -(using)d(this)i(information.)150 1943 y Ft(FUNCNEST)96 -b Fu(If)34 b(set)i(to)f(a)h(n)m(umeric)e(v)-5 b(alue)36 -b(greater)g(than)e(0,)j(de\014nes)d(a)h(maxim)m(um)g(function)g -(nesting)630 2052 y(lev)m(el.)42 b(F)-8 b(unction)29 +(functions)g(curren)m(tly)f(in)h(the)630 2502 y(execution)g(call)h +(stac)m(k.)57 b(The)34 b(elemen)m(t)j(with)e(index)g(0)h(is)f(the)g +(name)h(of)f(an)m(y)h(curren)m(tly-)630 2612 y(executing)f(shell)f +(function.)51 b(The)34 b(b)s(ottom-most)h(elemen)m(t)g(\(the)g(one)f +(with)g(the)g(highest)630 2721 y(index\))e(is)h Ft("main")p +Fu(.)44 b(This)32 b(v)-5 b(ariable)33 b(exists)g(only)g(when)e(a)i +(shell)f(function)g(is)g(executing.)630 2831 y(Assignmen)m(ts)23 +b(to)f Ft(FUNCNAME)e Fu(ha)m(v)m(e)k(no)e(e\013ect.)39 +b(If)22 b Ft(FUNCNAME)e Fu(is)i(unset,)h(it)g(loses)g(its)f(sp)s(ecial) +630 2941 y(prop)s(erties,)30 b(ev)m(en)h(if)f(it)h(is)g(subsequen)m +(tly)f(reset.)630 3073 y(This)h(v)-5 b(ariable)32 b(can)f(b)s(e)g(used) +g(with)g Ft(BASH_LINENO)d Fu(and)j Ft(BASH_SOURCE)p Fu(.)40 +b(Eac)m(h)32 b(elemen)m(t)630 3183 y(of)g Ft(FUNCNAME)d +Fu(has)j(corresp)s(onding)e(elemen)m(ts)j(in)f Ft(BASH_LINENO)c +Fu(and)k Ft(BASH_SOURCE)c Fu(to)630 3292 y(describ)s(e)39 +b(the)h(call)h(stac)m(k.)70 b(F)-8 b(or)41 b(instance,)i +Ft(${FUNCNAME[$i]})35 b Fu(w)m(as)41 b(called)f(from)g(the)630 +3402 y(\014le)27 b Ft(${BASH_SOURCE[$i+1]})21 b Fu(at)27 +b(line)h(n)m(um)m(b)s(er)d Ft(${BASH_LINENO[$i]})p Fu(.)34 +b(The)27 b Ft(caller)630 3512 y Fu(builtin)j(displa)m(ys)g(the)h +(curren)m(t)f(call)i(stac)m(k)g(using)d(this)i(information.)150 +3667 y Ft(FUNCNEST)96 b Fu(If)34 b(set)i(to)f(a)h(n)m(umeric)e(v)-5 +b(alue)36 b(greater)g(than)e(0,)j(de\014nes)d(a)h(maxim)m(um)g +(function)g(nesting)630 3777 y(lev)m(el.)42 b(F)-8 b(unction)29 b(in)m(v)m(o)s(cations)h(that)f(exceed)h(this)e(nesting)h(lev)m(el)h -(will)f(cause)g(the)f(curren)m(t)630 2162 y(command)i(to)h(ab)s(ort.) -150 2315 y Ft(GLOBIGNORE)630 2425 y Fu(A)38 b(colon-separated)i(list)f +(will)f(cause)g(the)f(curren)m(t)630 3886 y(command)i(to)h(ab)s(ort.) +150 4042 y Ft(GLOBIGNORE)630 4152 y Fu(A)38 b(colon-separated)i(list)f (of)f(patterns)g(de\014ning)f(the)h(set)g(of)h(\014lenames)f(to)g(b)s -(e)g(ignored)630 2534 y(b)m(y)31 b(\014lename)g(expansion.)43 +(e)g(ignored)630 4261 y(b)m(y)31 b(\014lename)g(expansion.)43 b(If)31 b(a)h(\014lename)f(matc)m(hed)h(b)m(y)f(a)g(\014lename)h -(expansion)f(pattern)630 2644 y(also)i(matc)m(hes)g(one)f(of)g(the)g +(expansion)f(pattern)630 4371 y(also)i(matc)m(hes)g(one)f(of)g(the)g (patterns)g(in)f Ft(GLOBIGNORE)p Fu(,)f(it)i(is)g(remo)m(v)m(ed)h(from) -e(the)h(list)h(of)630 2754 y(matc)m(hes.)150 2907 y Ft(GROUPS)192 +e(the)h(list)h(of)630 4481 y(matc)m(hes.)41 b(The)27 +b(pattern)g(matc)m(hing)h(honors)f(the)g(setting)i(of)e(the)h +Ft(extglob)d Fu(shell)i(option.)150 4636 y Ft(GROUPS)192 b Fu(An)36 b(arra)m(y)g(v)-5 b(ariable)37 b(con)m(taining)g(the)f(list) h(of)f(groups)g(of)g(whic)m(h)f(the)i(curren)m(t)e(user)h(is)g(a)630 -3017 y(mem)m(b)s(er.)47 b(Assignmen)m(ts)33 b(to)g Ft(GROUPS)e -Fu(ha)m(v)m(e)j(no)f(e\013ect)h(and)e(return)g(an)g(error)g(status.)48 -b(If)630 3126 y Ft(GROUPS)29 b Fu(is)h(unset,)g(it)h(loses)g(its)g(sp)s -(ecial)g(prop)s(erties,)f(ev)m(en)h(if)f(it)h(is)g(subsequen)m(tly)f -(reset.)150 3280 y Ft(histchars)630 3389 y Fu(Up)c(to)g(three)g(c)m -(haracters)i(whic)m(h)d(con)m(trol)j(history)d(expansion,)i(quic)m(k)g -(substitution,)g(and)630 3499 y(tok)m(enization)k(\(see)f(Section)f -(9.3)h([History)f(In)m(teraction],)i(page)f(135\).)41 -b(The)29 b(\014rst)e(c)m(harac-)630 3608 y(ter)j(is)f(the)g +4746 y(mem)m(b)s(er.)41 b(Assignmen)m(ts)30 b(to)i Ft(GROUPS)d +Fu(ha)m(v)m(e)i(no)g(e\013ect.)42 b(If)30 b Ft(GROUPS)f +Fu(is)i(unset,)f(it)h(loses)h(its)630 4855 y(sp)s(ecial)f(prop)s +(erties,)f(ev)m(en)h(if)f(it)h(is)g(subsequen)m(tly)f(reset.)150 +5011 y Ft(histchars)630 5121 y Fu(Up)c(to)g(three)g(c)m(haracters)i +(whic)m(h)d(con)m(trol)j(history)d(expansion,)i(quic)m(k)g +(substitution,)g(and)630 5230 y(tok)m(enization)k(\(see)f(Section)f +(9.3)h([History)f(In)m(teraction],)i(page)f(139\).)41 +b(The)29 b(\014rst)e(c)m(harac-)630 5340 y(ter)j(is)f(the)g Fr(history)g(expansion)g Fu(c)m(haracter,)j(that)e(is,)f(the)h(c)m -(haracter)h(whic)m(h)d(signi\014es)i(the)630 3718 y(start)25 +(haracter)h(whic)m(h)d(signi\014es)i(the)p eop end +%%Page: 77 83 +TeXDict begin 77 82 bop 150 -116 a Fu(Chapter)30 b(5:)41 +b(Shell)30 b(V)-8 b(ariables)2459 b(77)630 299 y(start)25 b(of)f(a)h(history)f(expansion,)i(normally)e(`)p Ft(!)p Fu('.)39 b(The)24 b(second)g(c)m(haracter)i(is)e(the)g(c)m(haracter)630 -3828 y(whic)m(h)36 b(signi\014es)g(`quic)m(k)h(substitution')f(when)f +408 y(whic)m(h)36 b(signi\014es)g(`quic)m(k)h(substitution')f(when)f (seen)h(as)g(the)g(\014rst)f(c)m(haracter)j(on)e(a)g(line,)630 -3937 y(normally)27 b(`)p Ft(^)p Fu('.)39 b(The)26 b(optional)i(third)d +518 y(normally)27 b(`)p Ft(^)p Fu('.)39 b(The)26 b(optional)i(third)d (c)m(haracter)j(is)e(the)h(c)m(haracter)h(whic)m(h)e(indicates)h(that) -630 4047 y(the)34 b(remainder)f(of)h(the)g(line)g(is)f(a)h(commen)m(t)h +630 628 y(the)34 b(remainder)f(of)h(the)g(line)g(is)f(a)h(commen)m(t)h (when)e(found)f(as)i(the)g(\014rst)f(c)m(haracter)i(of)f(a)630 -4156 y(w)m(ord,)i(usually)f(`)p Ft(#)p Fu('.)55 b(The)34 +737 y(w)m(ord,)i(usually)f(`)p Ft(#)p Fu('.)55 b(The)34 b(history)h(commen)m(t)h(c)m(haracter)h(causes)e(history)g -(substitution)630 4266 y(to)27 b(b)s(e)f(skipp)s(ed)f(for)i(the)f +(substitution)630 847 y(to)27 b(b)s(e)f(skipp)s(ed)f(for)i(the)f (remaining)h(w)m(ords)f(on)h(the)f(line.)40 b(It)27 b(do)s(es)f(not)h -(necessarily)g(cause)630 4376 y(the)k(shell)f(parser)g(to)h(treat)g -(the)g(rest)g(of)f(the)h(line)f(as)h(a)g(commen)m(t.)150 -4529 y Ft(HISTCMD)144 b Fu(The)35 b(history)h(n)m(um)m(b)s(er,)g(or)f -(index)g(in)h(the)g(history)f(list,)j(of)e(the)g(curren)m(t)f(command.) -56 b(If)630 4639 y Ft(HISTCMD)28 b Fu(is)h(unset,)h(it)g(loses)h(its)f -(sp)s(ecial)g(prop)s(erties,)g(ev)m(en)g(if)g(it)g(is)g(subsequen)m -(tly)f(reset.)150 4792 y Ft(HISTCONTROL)630 4902 y Fu(A)40 +(necessarily)g(cause)630 956 y(the)k(shell)f(parser)g(to)h(treat)g(the) +g(rest)g(of)f(the)h(line)f(as)h(a)g(commen)m(t.)150 1106 +y Ft(HISTCMD)144 b Fu(The)35 b(history)h(n)m(um)m(b)s(er,)g(or)f(index) +g(in)h(the)g(history)f(list,)j(of)e(the)g(curren)m(t)f(command.)56 +b(If)630 1215 y Ft(HISTCMD)28 b Fu(is)h(unset,)h(it)g(loses)h(its)f(sp) +s(ecial)g(prop)s(erties,)g(ev)m(en)g(if)g(it)g(is)g(subsequen)m(tly)f +(reset.)150 1365 y Ft(HISTCONTROL)630 1474 y Fu(A)40 b(colon-separated)i(list)f(of)f(v)-5 b(alues)40 b(con)m(trolling)i(ho)m -(w)e(commands)g(are)h(sa)m(v)m(ed)g(on)f(the)630 5011 +(w)e(commands)g(are)h(sa)m(v)m(ed)g(on)f(the)630 1584 y(history)29 b(list.)41 b(If)28 b(the)h(list)h(of)f(v)-5 b(alues)29 b(includes)f(`)p Ft(ignorespace)p Fu(',)f(lines)i(whic)m(h)g -(b)s(egin)f(with)630 5121 y(a)39 b(space)g(c)m(haracter)i(are)e(not)g +(b)s(egin)f(with)630 1694 y(a)39 b(space)g(c)m(haracter)i(are)e(not)g (sa)m(v)m(ed)g(in)g(the)g(history)f(list.)66 b(A)39 b(v)-5 -b(alue)39 b(of)g(`)p Ft(ignoredups)p Fu(')630 5230 y(causes)34 +b(alue)39 b(of)g(`)p Ft(ignoredups)p Fu(')630 1803 y(causes)34 b(lines)h(whic)m(h)f(matc)m(h)h(the)f(previous)f(history)h(en)m(try)h (to)g(not)f(b)s(e)f(sa)m(v)m(ed.)53 b(A)34 b(v)-5 b(alue)630 -5340 y(of)32 b(`)p Ft(ignoreboth)p Fu(')d(is)j(shorthand)e(for)i(`)p +1913 y(of)32 b(`)p Ft(ignoreboth)p Fu(')d(is)j(shorthand)e(for)i(`)p Ft(ignorespace)p Fu(')d(and)i(`)p Ft(ignoredups)p Fu('.)42 -b(A)32 b(v)-5 b(alue)32 b(of)p eop end -%%Page: 75 81 -TeXDict begin 75 80 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(75)630 299 y(`)p -Ft(erasedups)p Fu(')31 b(causes)i(all)h(previous)f(lines)g(matc)m(hing) -h(the)f(curren)m(t)g(line)g(to)h(b)s(e)e(remo)m(v)m(ed)630 -408 y(from)42 b(the)h(history)f(list)i(b)s(efore)e(that)h(line)g(is)g -(sa)m(v)m(ed.)78 b(An)m(y)43 b(v)-5 b(alue)43 b(not)g(in)f(the)h(ab)s -(o)m(v)m(e)630 518 y(list)35 b(is)g(ignored.)53 b(If)34 -b Ft(HISTCONTROL)e Fu(is)i(unset,)i(or)e(do)s(es)h(not)g(include)f(a)h -(v)-5 b(alid)35 b(v)-5 b(alue,)36 b(all)630 628 y(lines)30 +b(A)32 b(v)-5 b(alue)32 b(of)630 2022 y(`)p Ft(erasedups)p +Fu(')f(causes)i(all)h(previous)f(lines)g(matc)m(hing)h(the)f(curren)m +(t)g(line)g(to)h(b)s(e)e(remo)m(v)m(ed)630 2132 y(from)42 +b(the)h(history)f(list)i(b)s(efore)e(that)h(line)g(is)g(sa)m(v)m(ed.)78 +b(An)m(y)43 b(v)-5 b(alue)43 b(not)g(in)f(the)h(ab)s(o)m(v)m(e)630 +2242 y(list)35 b(is)g(ignored.)53 b(If)34 b Ft(HISTCONTROL)e +Fu(is)i(unset,)i(or)e(do)s(es)h(not)g(include)f(a)h(v)-5 +b(alid)35 b(v)-5 b(alue,)36 b(all)630 2351 y(lines)30 b(read)g(b)m(y)g(the)g(shell)g(parser)g(are)g(sa)m(v)m(ed)h(on)f(the)g (history)g(list,)h(sub)5 b(ject)30 b(to)g(the)g(v)-5 -b(alue)630 737 y(of)42 b Ft(HISTIGNORE)p Fu(.)73 b(The)42 +b(alue)630 2461 y(of)42 b Ft(HISTIGNORE)p Fu(.)73 b(The)42 b(second)g(and)g(subsequen)m(t)f(lines)h(of)h(a)f(m)m(ulti-line)h(comp) -s(ound)630 847 y(command)33 b(are)h(not)g(tested,)i(and)d(are)h(added)f -(to)h(the)g(history)g(regardless)g(of)g(the)f(v)-5 b(alue)630 -956 y(of)31 b Ft(HISTCONTROL)p Fu(.)150 1117 y Ft(HISTFILE)96 +s(ound)630 2570 y(command)33 b(are)h(not)g(tested,)i(and)d(are)h(added) +f(to)h(the)g(history)g(regardless)g(of)g(the)f(v)-5 b(alue)630 +2680 y(of)31 b Ft(HISTCONTROL)p Fu(.)150 2829 y Ft(HISTFILE)96 b Fu(The)27 b(name)h(of)g(the)g(\014le)g(to)h(whic)m(h)f(the)g(command) f(history)h(is)g(sa)m(v)m(ed.)41 b(The)27 b(default)h(v)-5 -b(alue)630 1226 y(is)30 b Ft(~/.bash_history)p Fu(.)150 -1386 y Ft(HISTFILESIZE)630 1496 y Fu(The)c(maxim)m(um)f(n)m(um)m(b)s +b(alue)630 2939 y(is)30 b Ft(~/.bash_history)p Fu(.)150 +3088 y Ft(HISTFILESIZE)630 3198 y Fu(The)c(maxim)m(um)f(n)m(um)m(b)s (er)g(of)h(lines)h(con)m(tained)g(in)f(the)g(history)g(\014le.)39 -b(When)26 b(this)g(v)-5 b(ariable)630 1606 y(is)25 b(assigned)h(a)g(v) +b(When)26 b(this)g(v)-5 b(ariable)630 3308 y(is)25 b(assigned)h(a)g(v) -5 b(alue,)27 b(the)f(history)f(\014le)h(is)f(truncated,)i(if)e (necessary)-8 b(,)28 b(to)e(con)m(tain)g(no)g(more)630 -1715 y(than)37 b(that)h(n)m(um)m(b)s(er)d(of)j(lines)f(b)m(y)g(remo)m +3417 y(than)37 b(that)h(n)m(um)m(b)s(er)d(of)j(lines)f(b)m(y)g(remo)m (ving)h(the)f(oldest)h(en)m(tries.)62 b(The)37 b(history)g(\014le)g(is) -630 1825 y(also)i(truncated)f(to)h(this)e(size)i(after)g(writing)f(it)g +630 3527 y(also)i(truncated)f(to)h(this)e(size)i(after)g(writing)f(it)g (when)f(a)h(shell)h(exits.)64 b(If)37 b(the)h(v)-5 b(alue)39 -b(is)630 1934 y(0,)g(the)e(history)f(\014le)h(is)g(truncated)f(to)i +b(is)630 3636 y(0,)g(the)e(history)f(\014le)h(is)g(truncated)f(to)i (zero)f(size.)60 b(Non-n)m(umeric)37 b(v)-5 b(alues)37 -b(and)f(n)m(umeric)630 2044 y(v)-5 b(alues)31 b(less)f(than)g(zero)h +b(and)f(n)m(umeric)630 3746 y(v)-5 b(alues)31 b(less)f(than)g(zero)h (inhibit)f(truncation.)41 b(The)29 b(shell)i(sets)f(the)h(default)f(v) --5 b(alue)31 b(to)g(the)630 2153 y(v)-5 b(alue)31 b(of)f +-5 b(alue)31 b(to)g(the)630 3856 y(v)-5 b(alue)31 b(of)f Ft(HISTSIZE)f Fu(after)h(reading)h(an)m(y)g(startup)f(\014les.)150 -2314 y Ft(HISTIGNORE)630 2423 y Fu(A)j(colon-separated)h(list)f(of)g +4005 y Ft(HISTIGNORE)630 4115 y Fu(A)j(colon-separated)h(list)f(of)g (patterns)f(used)g(to)h(decide)g(whic)m(h)f(command)g(lines)h(should) -630 2533 y(b)s(e)f(sa)m(v)m(ed)h(on)g(the)f(history)h(list.)47 +630 4224 y(b)s(e)f(sa)m(v)m(ed)h(on)g(the)f(history)h(list.)47 b(Eac)m(h)33 b(pattern)g(is)f(anc)m(hored)h(at)g(the)f(b)s(eginning)g -(of)h(the)630 2642 y(line)43 b(and)e(m)m(ust)h(matc)m(h)h(the)g +(of)h(the)630 4334 y(line)43 b(and)e(m)m(ust)h(matc)m(h)h(the)g (complete)h(line)e(\(no)h(implicit)g(`)p Ft(*)p Fu(')f(is)g(app)s -(ended\).)75 b(Eac)m(h)630 2752 y(pattern)42 b(is)g(tested)g(against)h +(ended\).)75 b(Eac)m(h)630 4443 y(pattern)42 b(is)g(tested)g(against)h (the)f(line)g(after)g(the)g(c)m(hec)m(ks)h(sp)s(eci\014ed)e(b)m(y)h -Ft(HISTCONTROL)630 2862 y Fu(are)37 b(applied.)59 b(In)36 +Ft(HISTCONTROL)630 4553 y Fu(are)37 b(applied.)59 b(In)36 b(addition)h(to)g(the)g(normal)g(shell)f(pattern)h(matc)m(hing)h(c)m -(haracters,)i(`)p Ft(&)p Fu(')630 2971 y(matc)m(hes)d(the)f(previous)g +(haracters,)i(`)p Ft(&)p Fu(')630 4663 y(matc)m(hes)d(the)f(previous)g (history)g(line.)57 b(`)p Ft(&)p Fu(')36 b(ma)m(y)h(b)s(e)e(escap)s(ed) -h(using)g(a)g(bac)m(kslash;)k(the)630 3081 y(bac)m(kslash)34 +h(using)g(a)g(bac)m(kslash;)k(the)630 4772 y(bac)m(kslash)34 b(is)g(remo)m(v)m(ed)h(b)s(efore)e(attempting)i(a)g(matc)m(h.)51 -b(The)34 b(second)f(and)h(subsequen)m(t)630 3190 y(lines)e(of)h(a)g(m)m +b(The)34 b(second)f(and)h(subsequen)m(t)630 4882 y(lines)e(of)h(a)g(m)m (ulti-line)g(comp)s(ound)e(command)h(are)h(not)f(tested,)i(and)e(are)g -(added)g(to)h(the)630 3300 y(history)d(regardless)h(of)g(the)f(v)-5 -b(alue)31 b(of)g Ft(HISTIGNORE)p Fu(.)630 3435 y Ft(HISTIGNORE)20 +(added)g(to)h(the)630 4991 y(history)k(regardless)h(of)f(the)g(v)-5 +b(alue)38 b(of)f Ft(HISTIGNORE)p Fu(.)58 b(The)37 b(pattern)g(matc)m +(hing)i(honors)630 5101 y(the)31 b(setting)g(of)g(the)f +Ft(extglob)f Fu(shell)h(option.)630 5230 y Ft(HISTIGNORE)20 b Fu(subsumes)g(the)j(function)f(of)h Ft(HISTCONTROL)p Fu(.)35 b(A)23 b(pattern)f(of)h(`)p Ft(&)p Fu(')g(is)f(iden)m(tical)630 -3544 y(to)k Ft(ignoredups)p Fu(,)e(and)h(a)h(pattern)g(of)f(`)p +5340 y(to)k Ft(ignoredups)p Fu(,)e(and)h(a)h(pattern)g(of)f(`)p Ft([)31 b(]*)p Fu(')25 b(is)h(iden)m(tical)h(to)f Ft(ignorespace)p -Fu(.)36 b(Com)m(bining)630 3654 y(these)30 b(t)m(w)m(o)h(patterns,)f -(separating)g(them)g(with)f(a)h(colon,)h(pro)m(vides)e(the)h -(functionalit)m(y)h(of)630 3764 y Ft(ignoreboth)p Fu(.)150 -3924 y Ft(HISTSIZE)96 b Fu(The)37 b(maxim)m(um)g(n)m(um)m(b)s(er)e(of)j -(commands)f(to)g(remem)m(b)s(er)g(on)g(the)g(history)g(list.)62 -b(If)37 b(the)630 4033 y(v)-5 b(alue)26 b(is)g(0,)i(commands)d(are)h +Fu(.)36 b(Com)m(bining)p eop end +%%Page: 78 84 +TeXDict begin 78 83 bop 150 -116 a Fu(Chapter)30 b(5:)41 +b(Shell)30 b(V)-8 b(ariables)2459 b(78)630 299 y(these)30 +b(t)m(w)m(o)h(patterns,)f(separating)g(them)g(with)f(a)h(colon,)h(pro)m +(vides)e(the)h(functionalit)m(y)h(of)630 408 y Ft(ignoreboth)p +Fu(.)150 558 y Ft(HISTSIZE)96 b Fu(The)37 b(maxim)m(um)g(n)m(um)m(b)s +(er)e(of)j(commands)f(to)g(remem)m(b)s(er)g(on)g(the)g(history)g(list.) +62 b(If)37 b(the)630 667 y(v)-5 b(alue)26 b(is)g(0,)i(commands)d(are)h (not)h(sa)m(v)m(ed)g(in)e(the)h(history)g(list.)40 b(Numeric)26 -b(v)-5 b(alues)26 b(less)g(than)630 4143 y(zero)i(result)e(in)h(ev)m +b(v)-5 b(alues)26 b(less)g(than)630 777 y(zero)i(result)e(in)h(ev)m (ery)g(command)g(b)s(eing)f(sa)m(v)m(ed)i(on)f(the)g(history)f(list)i -(\(there)f(is)g(no)g(limit\).)630 4253 y(The)j(shell)g(sets)h(the)g +(\(there)f(is)g(no)g(limit\).)630 887 y(The)j(shell)g(sets)h(the)g (default)f(v)-5 b(alue)31 b(to)g(500)h(after)f(reading)f(an)m(y)h -(startup)f(\014les.)150 4413 y Ft(HISTTIMEFORMAT)630 -4522 y Fu(If)44 b(this)g(v)-5 b(ariable)45 b(is)f(set)g(and)g(not)g(n)m +(startup)f(\014les.)150 1036 y Ft(HISTTIMEFORMAT)630 +1146 y Fu(If)44 b(this)g(v)-5 b(ariable)45 b(is)f(set)g(and)g(not)g(n)m (ull,)k(its)d(v)-5 b(alue)44 b(is)g(used)g(as)g(a)h(format)f(string)g -(for)630 4632 y Fr(strftime)c Fu(to)35 b(prin)m(t)f(the)h(time)g(stamp) +(for)630 1255 y Fr(strftime)c Fu(to)35 b(prin)m(t)f(the)h(time)g(stamp) f(asso)s(ciated)i(with)f(eac)m(h)g(history)g(en)m(try)f(displa)m(y)m -(ed)630 4741 y(b)m(y)g(the)f Ft(history)f Fu(builtin.)50 +(ed)630 1365 y(b)m(y)g(the)f Ft(history)f Fu(builtin.)50 b(If)33 b(this)h(v)-5 b(ariable)34 b(is)g(set,)h(time)f(stamps)g(are)g -(written)f(to)i(the)630 4851 y(history)26 b(\014le)g(so)g(they)g(ma)m +(written)f(to)i(the)630 1474 y(history)26 b(\014le)g(so)g(they)g(ma)m (y)h(b)s(e)e(preserv)m(ed)g(across)i(shell)f(sessions.)39 -b(This)25 b(uses)h(the)g(history)630 4961 y(commen)m(t)31 +b(This)25 b(uses)h(the)g(history)630 1584 y(commen)m(t)31 b(c)m(haracter)h(to)f(distinguish)f(timestamps)h(from)f(other)g -(history)h(lines.)150 5121 y Ft(HOSTFILE)96 b Fu(Con)m(tains)33 +(history)h(lines.)150 1733 y Ft(HOSTFILE)96 b Fu(Con)m(tains)33 b(the)g(name)f(of)h(a)g(\014le)f(in)g(the)h(same)g(format)g(as)f -Ft(/etc/hosts)e Fu(that)j(should)f(b)s(e)630 5230 y(read)21 +Ft(/etc/hosts)e Fu(that)j(should)f(b)s(e)630 1843 y(read)21 b(when)g(the)g(shell)h(needs)f(to)h(complete)h(a)e(hostname.)38 -b(The)21 b(list)h(of)g(p)s(ossible)f(hostname)630 5340 +b(The)21 b(list)h(of)g(p)s(ossible)f(hostname)630 1953 y(completions)27 b(ma)m(y)f(b)s(e)f(c)m(hanged)h(while)f(the)h(shell)g -(is)f(running;)h(the)g(next)f(time)i(hostname)p eop end -%%Page: 76 82 -TeXDict begin 76 81 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(76)630 299 y(completion)33 -b(is)g(attempted)g(after)g(the)f(v)-5 b(alue)33 b(is)f(c)m(hanged,)i -(Bash)e(adds)f(the)i(con)m(ten)m(ts)h(of)630 408 y(the)h(new)f(\014le)g -(to)h(the)g(existing)h(list.)53 b(If)34 b Ft(HOSTFILE)e -Fu(is)j(set,)h(but)e(has)g(no)h(v)-5 b(alue,)36 b(or)e(do)s(es)630 -518 y(not)d(name)f(a)h(readable)g(\014le,)g(Bash)f(attempts)i(to)f -(read)f Ft(/etc/hosts)e Fu(to)j(obtain)g(the)f(list)630 -628 y(of)h(p)s(ossible)f(hostname)h(completions.)43 b(When)31 -b Ft(HOSTFILE)d Fu(is)j(unset,)f(the)h(hostname)g(list)630 -737 y(is)f(cleared.)150 906 y Ft(HOSTNAME)96 b Fu(The)30 -b(name)g(of)h(the)f(curren)m(t)h(host.)150 1074 y Ft(HOSTTYPE)96 -b Fu(A)30 b(string)h(describing)f(the)g(mac)m(hine)h(Bash)g(is)f -(running)f(on.)150 1243 y Ft(IGNOREEOF)630 1353 y Fu(Con)m(trols)e(the) -h(action)g(of)f(the)g(shell)g(on)g(receipt)h(of)f(an)g -Ft(EOF)f Fu(c)m(haracter)i(as)g(the)f(sole)h(input.)630 -1462 y(If)i(set,)i(the)f(v)-5 b(alue)32 b(denotes)f(the)g(n)m(um)m(b)s +(is)f(running;)h(the)g(next)f(time)i(hostname)630 2062 +y(completion)33 b(is)g(attempted)g(after)g(the)f(v)-5 +b(alue)33 b(is)f(c)m(hanged,)i(Bash)e(adds)f(the)i(con)m(ten)m(ts)h(of) +630 2172 y(the)h(new)f(\014le)g(to)h(the)g(existing)h(list.)53 +b(If)34 b Ft(HOSTFILE)e Fu(is)j(set,)h(but)e(has)g(no)h(v)-5 +b(alue,)36 b(or)e(do)s(es)630 2281 y(not)d(name)f(a)h(readable)g +(\014le,)g(Bash)f(attempts)i(to)f(read)f Ft(/etc/hosts)e +Fu(to)j(obtain)g(the)f(list)630 2391 y(of)h(p)s(ossible)f(hostname)h +(completions.)43 b(When)31 b Ft(HOSTFILE)d Fu(is)j(unset,)f(the)h +(hostname)g(list)630 2501 y(is)f(cleared.)150 2650 y +Ft(HOSTNAME)96 b Fu(The)30 b(name)g(of)h(the)f(curren)m(t)h(host.)150 +2800 y Ft(HOSTTYPE)96 b Fu(A)30 b(string)h(describing)f(the)g(mac)m +(hine)h(Bash)g(is)f(running)f(on.)150 2949 y Ft(IGNOREEOF)630 +3059 y Fu(Con)m(trols)e(the)h(action)g(of)f(the)g(shell)g(on)g(receipt) +h(of)f(an)g Ft(EOF)f Fu(c)m(haracter)i(as)g(the)f(sole)h(input.)630 +3168 y(If)i(set,)i(the)f(v)-5 b(alue)32 b(denotes)f(the)g(n)m(um)m(b)s (er)f(of)h(consecutiv)m(e)i Ft(EOF)d Fu(c)m(haracters)i(that)f(can)h(b) -s(e)630 1572 y(read)40 b(as)f(the)h(\014rst)f(c)m(haracter)i(on)f(an)f +s(e)630 3278 y(read)40 b(as)f(the)h(\014rst)f(c)m(haracter)i(on)f(an)f (input)g(line)h(b)s(efore)f(the)h(shell)g(will)g(exit.)70 -b(If)39 b(the)630 1681 y(v)-5 b(ariable)38 b(exists)f(but)f(do)s(es)g +b(If)39 b(the)630 3387 y(v)-5 b(ariable)38 b(exists)f(but)f(do)s(es)g (not)h(ha)m(v)m(e)h(a)g(n)m(umeric)e(v)-5 b(alue)37 b(\(or)h(has)e(no)h -(v)-5 b(alue\))37 b(then)g(the)630 1791 y(default)31 +(v)-5 b(alue\))37 b(then)g(the)630 3497 y(default)31 b(is)g(10.)43 b(If)30 b(the)h(v)-5 b(ariable)31 b(do)s(es)g(not)g (exist,)h(then)e Ft(EOF)g Fu(signi\014es)h(the)g(end)f(of)h(input)630 -1901 y(to)g(the)g(shell.)41 b(This)29 b(is)i(only)f(in)g(e\013ect)i -(for)e(in)m(teractiv)m(e)j(shells.)150 2069 y Ft(INPUTRC)144 +3606 y(to)g(the)g(shell.)41 b(This)29 b(is)i(only)f(in)g(e\013ect)i +(for)e(in)m(teractiv)m(e)j(shells.)150 3756 y Ft(INPUTRC)144 b Fu(The)68 b(name)h(of)f(the)h(Readline)g(initialization)j(\014le,)78 -b(o)m(v)m(erriding)69 b(the)g(default)g(of)630 2179 y -Ft(~/.inputrc)p Fu(.)150 2347 y Ft(LANG)288 b Fu(Used)28 +b(o)m(v)m(erriding)69 b(the)g(default)g(of)630 3866 y +Ft(~/.inputrc)p Fu(.)150 4015 y Ft(LANG)288 b Fu(Used)28 b(to)h(determine)f(the)g(lo)s(cale)h(category)h(for)e(an)m(y)h -(category)h(not)e(sp)s(eci\014cally)g(selected)630 2457 +(category)h(not)e(sp)s(eci\014cally)g(selected)630 4125 y(with)i(a)h(v)-5 b(ariable)31 b(starting)g(with)f Ft(LC_)p -Fu(.)150 2626 y Ft(LC_ALL)192 b Fu(This)28 b(v)-5 b(ariable)29 +Fu(.)150 4274 y Ft(LC_ALL)192 b Fu(This)28 b(v)-5 b(ariable)29 b(o)m(v)m(errides)h(the)f(v)-5 b(alue)29 b(of)g Ft(LANG)f Fu(and)g(an)m(y)h(other)g Ft(LC_)f Fu(v)-5 b(ariable)29 -b(sp)s(ecifying)630 2735 y(a)i(lo)s(cale)h(category)-8 -b(.)150 2904 y Ft(LC_COLLATE)630 3013 y Fu(This)37 b(v)-5 +b(sp)s(ecifying)630 4384 y(a)i(lo)s(cale)h(category)-8 +b(.)150 4533 y Ft(LC_COLLATE)630 4643 y Fu(This)37 b(v)-5 b(ariable)38 b(determines)g(the)g(collation)i(order)d(used)g(when)f -(sorting)i(the)g(results)g(of)630 3123 y(\014lename)e(expansion,)i(and) +(sorting)i(the)g(results)g(of)630 4752 y(\014lename)e(expansion,)i(and) e(determines)g(the)h(b)s(eha)m(vior)f(of)g(range)h(expressions,)h -(equiv-)630 3232 y(alence)e(classes,)h(and)e(collating)i(sequences)e +(equiv-)630 4862 y(alence)e(classes,)h(and)e(collating)i(sequences)e (within)f(\014lename)h(expansion)g(and)f(pattern)630 -3342 y(matc)m(hing)d(\(see)h(Section)f(3.5.8)h([Filename)g(Expansion],) -e(page)h(30\).)150 3511 y Ft(LC_CTYPE)96 b Fu(This)36 +4971 y(matc)m(hing)d(\(see)h(Section)f(3.5.8)h([Filename)g(Expansion],) +e(page)h(30\).)150 5121 y Ft(LC_CTYPE)96 b Fu(This)36 b(v)-5 b(ariable)37 b(determines)f(the)h(in)m(terpretation)h(of)f(c)m -(haracters)h(and)e(the)g(b)s(eha)m(vior)h(of)630 3620 +(haracters)h(and)e(the)g(b)s(eha)m(vior)h(of)630 5230 y(c)m(haracter)46 b(classes)g(within)e(\014lename)h(expansion)g(and)f -(pattern)h(matc)m(hing)h(\(see)f(Sec-)630 3730 y(tion)31 -b(3.5.8)h([Filename)g(Expansion],)e(page)h(30\).)150 -3898 y Ft(LC_MESSAGES)630 4008 y Fu(This)25 b(v)-5 b(ariable)27 -b(determines)f(the)g(lo)s(cale)i(used)d(to)i(translate)g(double-quoted) -f(strings)g(pre-)630 4118 y(ceded)31 b(b)m(y)f(a)h(`)p -Ft($)p Fu(')f(\(see)h(Section)h(3.1.2.5)g([Lo)s(cale)g(T)-8 -b(ranslation],)32 b(page)f(7\).)150 4286 y Ft(LC_NUMERIC)630 -4396 y Fu(This)f(v)-5 b(ariable)31 b(determines)f(the)h(lo)s(cale)h -(category)g(used)e(for)g(n)m(um)m(b)s(er)f(formatting.)150 -4564 y Ft(LINENO)192 b Fu(The)30 b(line)h(n)m(um)m(b)s(er)e(in)h(the)g -(script)h(or)f(shell)g(function)h(curren)m(tly)f(executing.)150 -4733 y Ft(LINES)240 b Fu(Used)43 b(b)m(y)g(the)g Ft(select)e -Fu(command)i(to)g(determine)g(the)g(column)g(length)g(for)g(prin)m -(ting)630 4843 y(selection)c(lists.)63 b(Automatically)41 -b(set)d(if)f(the)h Ft(checkwinsize)d Fu(option)j(is)f(enabled)h(\(see) -630 4952 y(Section)44 b(4.3.2)h([The)e(Shopt)g(Builtin],)k(page)d -(62\),)k(or)43 b(in)g(an)g(in)m(teractiv)m(e)j(shell)e(up)s(on)630 -5062 y(receipt)31 b(of)g(a)g Ft(SIGWINCH)p Fu(.)150 5230 -y Ft(MACHTYPE)96 b Fu(A)26 b(string)g(that)h(fully)f(describ)s(es)f -(the)h(system)g(t)m(yp)s(e)h(on)f(whic)m(h)f(Bash)i(is)f(executing,)i -(in)e(the)630 5340 y(standard)k Fm(gnu)g Fr(cpu-compan)m(y-system)h -Fu(format.)p eop end -%%Page: 77 83 -TeXDict begin 77 82 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(77)150 299 y Ft(MAILCHECK)630 -408 y Fu(Ho)m(w)28 b(often)g(\(in)g(seconds\))g(that)g(the)f(shell)h -(should)f(c)m(hec)m(k)i(for)e(mail)h(in)f(the)h(\014les)g(sp)s -(eci\014ed)630 518 y(in)i(the)h Ft(MAILPATH)e Fu(or)i -Ft(MAIL)e Fu(v)-5 b(ariables.)43 b(The)30 b(default)h(is)f(60)i -(seconds.)42 b(When)30 b(it)h(is)g(time)630 628 y(to)37 -b(c)m(hec)m(k)h(for)e(mail,)j(the)e(shell)f(do)s(es)g(so)h(b)s(efore)f -(displa)m(ying)h(the)f(primary)g(prompt.)57 b(If)630 -737 y(this)37 b(v)-5 b(ariable)38 b(is)f(unset,)h(or)f(set)h(to)g(a)f -(v)-5 b(alue)38 b(that)f(is)g(not)h(a)f(n)m(um)m(b)s(er)f(greater)i -(than)f(or)630 847 y(equal)31 b(to)g(zero,)g(the)g(shell)g(disables)f -(mail)h(c)m(hec)m(king.)150 996 y Ft(MAPFILE)144 b Fu(An)35 -b(arra)m(y)h(v)-5 b(ariable)36 b(created)g(to)h(hold)e(the)g(text)i -(read)e(b)m(y)g(the)h Ft(mapfile)d Fu(builtin)i(when)630 -1105 y(no)30 b(v)-5 b(ariable)31 b(name)g(is)f(supplied.)150 -1254 y Ft(OLDPWD)192 b Fu(The)30 b(previous)g(w)m(orking)g(directory)h -(as)g(set)g(b)m(y)f(the)h Ft(cd)e Fu(builtin.)150 1403 -y Ft(OPTERR)192 b Fu(If)35 b(set)i(to)f(the)h(v)-5 b(alue)36 -b(1,)i(Bash)e(displa)m(ys)g(error)f(messages)i(generated)g(b)m(y)f(the) -g Ft(getopts)630 1512 y Fu(builtin)30 b(command.)150 -1661 y Ft(OSTYPE)192 b Fu(A)30 b(string)h(describing)f(the)g(op)s -(erating)h(system)g(Bash)f(is)h(running)d(on.)150 1810 -y Ft(PIPESTATUS)630 1919 y Fu(An)23 b(arra)m(y)h(v)-5 -b(ariable)24 b(\(see)h(Section)f(6.7)h([Arra)m(ys],)g(page)f(89\))h -(con)m(taining)g(a)f(list)g(of)g(exit)g(sta-)630 2029 -y(tus)h(v)-5 b(alues)27 b(from)e(the)h(pro)s(cesses)g(in)f(the)h -(most-recen)m(tly-executed)j(foreground)c(pip)s(eline)630 -2138 y(\(whic)m(h)30 b(ma)m(y)h(con)m(tain)h(only)f(a)f(single)h -(command\).)150 2287 y Ft(POSIXLY_CORRECT)630 2397 y +(pattern)h(matc)m(hing)h(\(see)f(Sec-)630 5340 y(tion)31 +b(3.5.8)h([Filename)g(Expansion],)e(page)h(30\).)p eop +end +%%Page: 79 85 +TeXDict begin 79 84 bop 150 -116 a Fu(Chapter)30 b(5:)41 +b(Shell)30 b(V)-8 b(ariables)2459 b(79)150 299 y Ft(LC_MESSAGES)630 +408 y Fu(This)25 b(v)-5 b(ariable)27 b(determines)f(the)g(lo)s(cale)i +(used)d(to)i(translate)g(double-quoted)f(strings)g(pre-)630 +518 y(ceded)31 b(b)m(y)f(a)h(`)p Ft($)p Fu(')f(\(see)h(Section)h +(3.1.2.5)g([Lo)s(cale)g(T)-8 b(ranslation],)32 b(page)f(7\).)150 +679 y Ft(LC_NUMERIC)630 788 y Fu(This)f(v)-5 b(ariable)31 +b(determines)f(the)h(lo)s(cale)h(category)g(used)e(for)g(n)m(um)m(b)s +(er)f(formatting.)150 949 y Ft(LC_TIME)144 b Fu(This)25 +b(v)-5 b(ariable)26 b(determines)g(the)g(lo)s(cale)h(category)h(used)d +(for)g(data)h(and)f(time)i(formatting.)150 1110 y Ft(LINENO)192 +b Fu(The)30 b(line)h(n)m(um)m(b)s(er)e(in)h(the)g(script)h(or)f(shell)g +(function)h(curren)m(tly)f(executing.)150 1271 y Ft(LINES)240 +b Fu(Used)43 b(b)m(y)g(the)g Ft(select)e Fu(command)i(to)g(determine)g +(the)g(column)g(length)g(for)g(prin)m(ting)630 1380 y(selection)c +(lists.)63 b(Automatically)41 b(set)d(if)f(the)h Ft(checkwinsize)d +Fu(option)j(is)f(enabled)h(\(see)630 1490 y(Section)44 +b(4.3.2)h([The)e(Shopt)g(Builtin],)k(page)d(64\),)k(or)43 +b(in)g(an)g(in)m(teractiv)m(e)j(shell)e(up)s(on)630 1599 +y(receipt)31 b(of)g(a)g Ft(SIGWINCH)p Fu(.)150 1760 y +Ft(MACHTYPE)96 b Fu(A)26 b(string)g(that)h(fully)f(describ)s(es)f(the)h +(system)g(t)m(yp)s(e)h(on)f(whic)m(h)f(Bash)i(is)f(executing,)i(in)e +(the)630 1870 y(standard)k Fm(gnu)g Fr(cpu-compan)m(y-system)h +Fu(format.)150 2030 y Ft(MAILCHECK)630 2140 y Fu(Ho)m(w)d(often)g(\(in) +g(seconds\))g(that)g(the)f(shell)h(should)f(c)m(hec)m(k)i(for)e(mail)h +(in)f(the)h(\014les)g(sp)s(eci\014ed)630 2250 y(in)i(the)h +Ft(MAILPATH)e Fu(or)i Ft(MAIL)e Fu(v)-5 b(ariables.)43 +b(The)30 b(default)h(is)f(60)i(seconds.)42 b(When)30 +b(it)h(is)g(time)630 2359 y(to)37 b(c)m(hec)m(k)h(for)e(mail,)j(the)e +(shell)f(do)s(es)g(so)h(b)s(efore)f(displa)m(ying)h(the)f(primary)g +(prompt.)57 b(If)630 2469 y(this)37 b(v)-5 b(ariable)38 +b(is)f(unset,)h(or)f(set)h(to)g(a)f(v)-5 b(alue)38 b(that)f(is)g(not)h +(a)f(n)m(um)m(b)s(er)f(greater)i(than)f(or)630 2578 y(equal)31 +b(to)g(zero,)g(the)g(shell)g(disables)f(mail)h(c)m(hec)m(king.)150 +2739 y Ft(MAPFILE)144 b Fu(An)35 b(arra)m(y)h(v)-5 b(ariable)36 +b(created)g(to)h(hold)e(the)g(text)i(read)e(b)m(y)g(the)h +Ft(mapfile)d Fu(builtin)i(when)630 2849 y(no)30 b(v)-5 +b(ariable)31 b(name)g(is)f(supplied.)150 3009 y Ft(OLDPWD)192 +b Fu(The)30 b(previous)g(w)m(orking)g(directory)h(as)g(set)g(b)m(y)f +(the)h Ft(cd)e Fu(builtin.)150 3170 y Ft(OPTERR)192 b +Fu(If)35 b(set)i(to)f(the)h(v)-5 b(alue)36 b(1,)i(Bash)e(displa)m(ys)g +(error)f(messages)i(generated)g(b)m(y)f(the)g Ft(getopts)630 +3280 y Fu(builtin)30 b(command.)150 3440 y Ft(OSTYPE)192 +b Fu(A)30 b(string)h(describing)f(the)g(op)s(erating)h(system)g(Bash)f +(is)h(running)d(on.)150 3601 y Ft(PIPESTATUS)630 3711 +y Fu(An)23 b(arra)m(y)h(v)-5 b(ariable)24 b(\(see)h(Section)f(6.7)h +([Arra)m(ys],)g(page)f(91\))h(con)m(taining)g(a)f(list)g(of)g(exit)g +(sta-)630 3820 y(tus)h(v)-5 b(alues)27 b(from)e(the)h(pro)s(cesses)g +(in)f(the)h(most-recen)m(tly-executed)j(foreground)c(pip)s(eline)630 +3930 y(\(whic)m(h)30 b(ma)m(y)h(con)m(tain)h(only)f(a)f(single)h +(command\).)150 4091 y Ft(POSIXLY_CORRECT)630 4200 y Fu(If)h(this)g(v)-5 b(ariable)34 b(is)e(in)g(the)h(en)m(vironmen)m(t)g (when)e(Bash)i(starts,)g(the)g(shell)g(en)m(ters)g Fm(posix)630 -2506 y Fu(mo)s(de)22 b(\(see)h(Section)g(6.11)h([Bash)e(POSIX)f(Mo)s -(de],)k(page)e(94\))g(b)s(efore)f(reading)g(the)g(startup)630 -2616 y(\014les,)36 b(as)e(if)h(the)f Ft(--posix)f Fu(in)m(v)m(o)s +4310 y Fu(mo)s(de)22 b(\(see)h(Section)g(6.11)h([Bash)e(POSIX)f(Mo)s +(de],)k(page)e(96\))g(b)s(efore)f(reading)g(the)g(startup)630 +4419 y(\014les,)36 b(as)e(if)h(the)f Ft(--posix)f Fu(in)m(v)m(o)s (cation)j(option)f(had)f(b)s(een)g(supplied.)51 b(If)34 -b(it)h(is)g(set)g(while)630 2725 y(the)c(shell)f(is)h(running,)d(Bash)j +b(it)h(is)g(set)g(while)630 4529 y(the)c(shell)f(is)h(running,)d(Bash)j (enables)g Fm(posix)e Fu(mo)s(de,)h(as)h(if)f(the)h(command)870 -2855 y Ft(set)47 b(-o)g(posix)630 2984 y Fu(had)30 b(b)s(een)f -(executed.)150 3133 y Ft(PPID)288 b Fu(The)30 b(pro)s(cess)g +4664 y Ft(set)47 b(-o)g(posix)630 4799 y Fu(had)30 b(b)s(een)f +(executed.)150 4960 y Ft(PPID)288 b Fu(The)30 b(pro)s(cess)g Fm(id)g Fu(of)h(the)f(shell's)h(paren)m(t)g(pro)s(cess.)40 b(This)30 b(v)-5 b(ariable)31 b(is)f(readonly)-8 b(.)150 -3281 y Ft(PROMPT_COMMAND)630 3391 y Fu(If)32 b(set,)h(the)f(v)-5 +5121 y Ft(PROMPT_COMMAND)630 5230 y Fu(If)32 b(set,)h(the)f(v)-5 b(alue)33 b(is)f(in)m(terpreted)g(as)g(a)h(command)f(to)h(execute)g(b)s -(efore)f(the)g(prin)m(ting)g(of)630 3500 y(eac)m(h)g(primary)d(prompt)g -(\()p Ft($PS1)p Fu(\).)150 3649 y Ft(PROMPT_DIRTRIM)630 -3759 y Fu(If)e(set)g(to)h(a)g(n)m(um)m(b)s(er)e(greater)i(than)f(zero,) -i(the)e(v)-5 b(alue)28 b(is)f(used)g(as)g(the)h(n)m(um)m(b)s(er)e(of)h -(trailing)630 3868 y(directory)35 b(comp)s(onen)m(ts)g(to)h(retain)f -(when)f(expanding)g(the)h Ft(\\w)f Fu(and)g Ft(\\W)g -Fu(prompt)g(string)630 3978 y(escap)s(es)21 b(\(see)h(Section)f(6.9)h -([Con)m(trolling)g(the)f(Prompt],)h(page)f(92\).)39 b(Characters)21 -b(remo)m(v)m(ed)630 4088 y(are)31 b(replaced)g(with)f(an)g(ellipsis.) -150 4236 y Ft(PS3)336 b Fu(The)34 b(v)-5 b(alue)35 b(of)f(this)g(v)-5 -b(ariable)35 b(is)g(used)e(as)i(the)f(prompt)g(for)g(the)g -Ft(select)f Fu(command.)52 b(If)630 4346 y(this)30 b(v)-5 -b(ariable)31 b(is)g(not)f(set,)i(the)e Ft(select)f Fu(command)h -(prompts)f(with)h(`)p Ft(#?)g Fu(')150 4495 y Ft(PS4)336 -b Fu(The)24 b(v)-5 b(alue)25 b(is)f(the)h(prompt)e(prin)m(ted)h(b)s -(efore)g(the)h(command)f(line)h(is)f(ec)m(ho)s(ed)i(when)d(the)i -Ft(-x)630 4604 y Fu(option)32 b(is)f(set)h(\(see)g(Section)h(4.3.1)g -([The)e(Set)g(Builtin],)i(page)f(58\).)45 b(The)31 b(\014rst)f(c)m -(haracter)630 4714 y(of)k Ft(PS4)g Fu(is)g(replicated)i(m)m(ultiple)f -(times,)h(as)e(necessary)-8 b(,)37 b(to)e(indicate)g(m)m(ultiple)g(lev) -m(els)h(of)630 4823 y(indirection.)41 b(The)30 b(default)h(is)f(`)p -Ft(+)g Fu('.)150 4972 y Ft(PWD)336 b Fu(The)30 b(curren)m(t)g(w)m +(efore)f(the)g(prin)m(ting)g(of)630 5340 y(eac)m(h)g(primary)d(prompt)g +(\()p Ft($PS1)p Fu(\).)p eop end +%%Page: 80 86 +TeXDict begin 80 85 bop 150 -116 a Fu(Chapter)30 b(5:)41 +b(Shell)30 b(V)-8 b(ariables)2459 b(80)150 299 y Ft(PROMPT_DIRTRIM)630 +408 y Fu(If)27 b(set)g(to)h(a)g(n)m(um)m(b)s(er)e(greater)i(than)f +(zero,)i(the)e(v)-5 b(alue)28 b(is)f(used)g(as)g(the)h(n)m(um)m(b)s(er) +e(of)h(trailing)630 518 y(directory)35 b(comp)s(onen)m(ts)g(to)h +(retain)f(when)f(expanding)g(the)h Ft(\\w)f Fu(and)g +Ft(\\W)g Fu(prompt)g(string)630 628 y(escap)s(es)21 b(\(see)h(Section)f +(6.9)h([Con)m(trolling)g(the)f(Prompt],)h(page)f(94\).)39 +b(Characters)21 b(remo)m(v)m(ed)630 737 y(are)31 b(replaced)g(with)f +(an)g(ellipsis.)150 911 y Ft(PS0)336 b Fu(The)30 b(v)-5 +b(alue)32 b(of)f(this)f(parameter)i(is)f(expanded)f(lik)m(e)i +Fr(PS1)38 b Fu(and)30 b(displa)m(y)m(ed)h(b)m(y)g(in)m(teractiv)m(e)630 +1020 y(shells)f(after)h(reading)g(a)g(command)f(and)f(b)s(efore)h(the)h +(command)f(is)h(executed.)150 1194 y Ft(PS3)336 b Fu(The)34 +b(v)-5 b(alue)35 b(of)f(this)g(v)-5 b(ariable)35 b(is)g(used)e(as)i +(the)f(prompt)g(for)g(the)g Ft(select)f Fu(command.)52 +b(If)630 1303 y(this)30 b(v)-5 b(ariable)31 b(is)g(not)f(set,)i(the)e +Ft(select)f Fu(command)h(prompts)f(with)h(`)p Ft(#?)g +Fu(')150 1477 y Ft(PS4)336 b Fu(The)24 b(v)-5 b(alue)25 +b(is)f(the)h(prompt)e(prin)m(ted)h(b)s(efore)g(the)h(command)f(line)h +(is)f(ec)m(ho)s(ed)i(when)d(the)i Ft(-x)630 1587 y Fu(option)32 +b(is)f(set)h(\(see)g(Section)h(4.3.1)g([The)e(Set)g(Builtin],)i(page)f +(60\).)45 b(The)31 b(\014rst)f(c)m(haracter)630 1696 +y(of)k Ft(PS4)g Fu(is)g(replicated)i(m)m(ultiple)f(times,)h(as)e +(necessary)-8 b(,)37 b(to)e(indicate)g(m)m(ultiple)g(lev)m(els)h(of)630 +1806 y(indirection.)41 b(The)30 b(default)h(is)f(`)p +Ft(+)g Fu('.)150 1979 y Ft(PWD)336 b Fu(The)30 b(curren)m(t)g(w)m (orking)h(directory)g(as)f(set)h(b)m(y)f(the)h Ft(cd)f -Fu(builtin.)150 5121 y Ft(RANDOM)192 b Fu(Eac)m(h)30 +Fu(builtin.)150 2153 y Ft(RANDOM)192 b Fu(Eac)m(h)30 b(time)g(this)f(parameter)g(is)g(referenced,)h(a)f(random)g(in)m(teger) -h(b)s(et)m(w)m(een)g(0)f(and)g(32767)630 5230 y(is)i(generated.)43 +h(b)s(et)m(w)m(een)g(0)f(and)g(32767)630 2262 y(is)i(generated.)43 b(Assigning)31 b(a)g(v)-5 b(alue)31 b(to)g(this)g(v)-5 b(ariable)31 b(seeds)g(the)g(random)f(n)m(um)m(b)s(er)f(gen-)630 -5340 y(erator.)p eop end -%%Page: 78 84 -TeXDict begin 78 83 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(78)150 299 y Ft(READLINE_LINE)630 -408 y Fu(The)27 b(con)m(ten)m(ts)i(of)f(the)g(Readline)g(line)g -(bu\013er,)f(for)h(use)f(with)g(`)p Ft(bind)j(-x)p Fu(')d(\(see)h -(Section)h(4.2)630 518 y([Bash)i(Builtins],)g(page)g(48\).)150 -667 y Ft(READLINE_POINT)630 776 y Fu(The)23 b(p)s(osition)g(of)g(the)h -(insertion)f(p)s(oin)m(t)g(in)g(the)g(Readline)h(line)f(bu\013er,)h -(for)f(use)g(with)g(`)p Ft(bind)630 886 y(-x)p Fu(')30 -b(\(see)h(Section)h(4.2)f([Bash)g(Builtins],)g(page)g(48\).)150 -1035 y Ft(REPLY)240 b Fu(The)30 b(default)g(v)-5 b(ariable)32 -b(for)e(the)g Ft(read)g Fu(builtin.)150 1183 y Ft(SECONDS)144 -b Fu(This)40 b(v)-5 b(ariable)41 b(expands)f(to)h(the)g(n)m(um)m(b)s -(er)e(of)i(seconds)g(since)g(the)f(shell)h(w)m(as)g(started.)630 -1293 y(Assignmen)m(t)i(to)g(this)g(v)-5 b(ariable)43 +2372 y(erator.)150 2545 y Ft(READLINE_LINE)630 2655 y +Fu(The)e(con)m(ten)m(ts)i(of)f(the)g(Readline)g(line)g(bu\013er,)f(for) +h(use)f(with)g(`)p Ft(bind)j(-x)p Fu(')d(\(see)h(Section)h(4.2)630 +2765 y([Bash)i(Builtins],)g(page)g(49\).)150 2938 y Ft(READLINE_POINT) +630 3048 y Fu(The)23 b(p)s(osition)g(of)g(the)h(insertion)f(p)s(oin)m +(t)g(in)g(the)g(Readline)h(line)f(bu\013er,)h(for)f(use)g(with)g(`)p +Ft(bind)630 3157 y(-x)p Fu(')30 b(\(see)h(Section)h(4.2)f([Bash)g +(Builtins],)g(page)g(49\).)150 3331 y Ft(REPLY)240 b +Fu(The)30 b(default)g(v)-5 b(ariable)32 b(for)e(the)g +Ft(read)g Fu(builtin.)150 3504 y Ft(SECONDS)144 b Fu(This)40 +b(v)-5 b(ariable)41 b(expands)f(to)h(the)g(n)m(um)m(b)s(er)e(of)i +(seconds)g(since)g(the)f(shell)h(w)m(as)g(started.)630 +3614 y(Assignmen)m(t)i(to)g(this)g(v)-5 b(ariable)43 b(resets)g(the)g(coun)m(t)g(to)g(the)g(v)-5 b(alue)43 -b(assigned,)j(and)c(the)630 1403 y(expanded)35 b(v)-5 +b(assigned,)j(and)c(the)630 3724 y(expanded)35 b(v)-5 b(alue)36 b(b)s(ecomes)h(the)f(v)-5 b(alue)36 b(assigned)g(plus)f(the)h -(n)m(um)m(b)s(er)f(of)h(seconds)g(since)630 1512 y(the)31 -b(assignmen)m(t.)150 1661 y Ft(SHELL)240 b Fu(The)29 +(n)m(um)m(b)s(er)f(of)h(seconds)g(since)630 3833 y(the)31 +b(assignmen)m(t.)150 4007 y Ft(SHELL)240 b Fu(The)29 b(full)h(pathname)g(to)h(the)f(shell)g(is)g(k)m(ept)g(in)g(this)g(en)m (vironmen)m(t)g(v)-5 b(ariable.)42 b(If)29 b(it)i(is)f(not)630 -1771 y(set)36 b(when)f(the)h(shell)g(starts,)i(Bash)e(assigns)h(to)f +4116 y(set)36 b(when)f(the)h(shell)g(starts,)i(Bash)e(assigns)h(to)f (it)h(the)f(full)f(pathname)h(of)g(the)g(curren)m(t)630 -1880 y(user's)30 b(login)h(shell.)150 2029 y Ft(SHELLOPTS)630 -2138 y Fu(A)g(colon-separated)h(list)f(of)g(enabled)f(shell)h(options.) +4226 y(user's)30 b(login)h(shell.)150 4399 y Ft(SHELLOPTS)630 +4509 y Fu(A)g(colon-separated)h(list)f(of)g(enabled)f(shell)h(options.) 41 b(Eac)m(h)31 b(w)m(ord)f(in)g(the)h(list)g(is)g(a)g(v)-5 -b(alid)630 2248 y(argumen)m(t)28 b(for)f(the)h Ft(-o)e +b(alid)630 4619 y(argumen)m(t)28 b(for)f(the)h Ft(-o)e Fu(option)i(to)g(the)g Ft(set)e Fu(builtin)h(command)g(\(see)i(Section) -f(4.3.1)h([The)630 2358 y(Set)g(Builtin],)h(page)f(58\).)42 +f(4.3.1)h([The)630 4728 y(Set)g(Builtin],)h(page)f(60\).)42 b(The)28 b(options)h(app)s(earing)f(in)g Ft(SHELLOPTS)e -Fu(are)j(those)h(rep)s(orted)630 2467 y(as)g(`)p Ft(on)p +Fu(are)j(those)h(rep)s(orted)630 4838 y(as)g(`)p Ft(on)p Fu(')f(b)m(y)h(`)p Ft(set)g(-o)p Fu('.)40 b(If)29 b(this)h(v)-5 b(ariable)30 b(is)g(in)f(the)h(en)m(vironmen)m(t)g(when)f(Bash)h -(starts)g(up,)630 2577 y(eac)m(h)41 b(shell)e(option)h(in)f(the)h(list) +(starts)g(up,)630 4947 y(eac)m(h)41 b(shell)e(option)h(in)f(the)h(list) g(will)f(b)s(e)g(enabled)h(b)s(efore)f(reading)g(an)m(y)h(startup)f -(\014les.)630 2686 y(This)30 b(v)-5 b(ariable)31 b(is)f(readonly)-8 -b(.)150 2835 y Ft(SHLVL)240 b Fu(Incremen)m(ted)21 b(b)m(y)g(one)g(eac) +(\014les.)630 5057 y(This)30 b(v)-5 b(ariable)31 b(is)f(readonly)-8 +b(.)150 5230 y Ft(SHLVL)240 b Fu(Incremen)m(ted)21 b(b)m(y)g(one)g(eac) m(h)h(time)f(a)h(new)e(instance)h(of)g(Bash)g(is)g(started.)38 -b(This)20 b(is)h(in)m(tended)630 2945 y(to)31 b(b)s(e)f(a)h(coun)m(t)g -(of)f(ho)m(w)h(deeply)f(y)m(our)g(Bash)h(shells)f(are)h(nested.)150 -3093 y Ft(TIMEFORMAT)630 3203 y Fu(The)f(v)-5 b(alue)32 -b(of)f(this)g(parameter)g(is)g(used)f(as)h(a)g(format)h(string)f(sp)s -(ecifying)f(ho)m(w)h(the)g(tim-)630 3313 y(ing)37 b(information)f(for)h -(pip)s(elines)f(pre\014xed)f(with)h(the)h Ft(time)e Fu(reserv)m(ed)i(w) -m(ord)f(should)g(b)s(e)630 3422 y(displa)m(y)m(ed.)k(The)27 -b(`)p Ft(\045)p Fu(')h(c)m(haracter)h(in)m(tro)s(duces)e(an)h(escap)s -(e)g(sequence)g(that)g(is)f(expanded)g(to)630 3532 y(a)37 -b(time)g(v)-5 b(alue)36 b(or)h(other)f(information.)59 -b(The)36 b(escap)s(e)g(sequences)h(and)e(their)i(meanings)630 -3641 y(are)31 b(as)f(follo)m(ws;)i(the)f(braces)f(denote)h(optional)h -(p)s(ortions.)630 3790 y Ft(\045\045)384 b Fu(A)30 b(literal)i(`)p -Ft(\045)p Fu('.)630 3939 y Ft(\045[)p Fj(p)p Ft(][l]R)96 -b Fu(The)30 b(elapsed)h(time)g(in)f(seconds.)630 4088 +b(This)20 b(is)h(in)m(tended)630 5340 y(to)31 b(b)s(e)f(a)h(coun)m(t)g +(of)f(ho)m(w)h(deeply)f(y)m(our)g(Bash)h(shells)f(are)h(nested.)p +eop end +%%Page: 81 87 +TeXDict begin 81 86 bop 150 -116 a Fu(Chapter)30 b(5:)41 +b(Shell)30 b(V)-8 b(ariables)2459 b(81)150 299 y Ft(TIMEFORMAT)630 +408 y Fu(The)30 b(v)-5 b(alue)32 b(of)f(this)g(parameter)g(is)g(used)f +(as)h(a)g(format)h(string)f(sp)s(ecifying)f(ho)m(w)h(the)g(tim-)630 +518 y(ing)37 b(information)f(for)h(pip)s(elines)f(pre\014xed)f(with)h +(the)h Ft(time)e Fu(reserv)m(ed)i(w)m(ord)f(should)g(b)s(e)630 +628 y(displa)m(y)m(ed.)k(The)27 b(`)p Ft(\045)p Fu(')h(c)m(haracter)h +(in)m(tro)s(duces)e(an)h(escap)s(e)g(sequence)g(that)g(is)f(expanded)g +(to)630 737 y(a)37 b(time)g(v)-5 b(alue)36 b(or)h(other)f(information.) +59 b(The)36 b(escap)s(e)g(sequences)h(and)e(their)i(meanings)630 +847 y(are)31 b(as)f(follo)m(ws;)i(the)f(braces)f(denote)h(optional)h(p) +s(ortions.)630 1006 y Ft(\045\045)384 b Fu(A)30 b(literal)i(`)p +Ft(\045)p Fu('.)630 1166 y Ft(\045[)p Fj(p)p Ft(][l]R)96 +b Fu(The)30 b(elapsed)h(time)g(in)f(seconds.)630 1325 y Ft(\045[)p Fj(p)p Ft(][l]U)96 b Fu(The)30 b(n)m(um)m(b)s(er)f(of)h (CPU)g(seconds)h(sp)s(en)m(t)f(in)g(user)f(mo)s(de.)630 -4236 y Ft(\045[)p Fj(p)p Ft(][l]S)96 b Fu(The)30 b(n)m(um)m(b)s(er)f +1484 y Ft(\045[)p Fj(p)p Ft(][l]S)96 b Fu(The)30 b(n)m(um)m(b)s(er)f (of)h(CPU)g(seconds)h(sp)s(en)m(t)f(in)g(system)g(mo)s(de.)630 -4385 y Ft(\045P)384 b Fu(The)30 b(CPU)g(p)s(ercen)m(tage,)i(computed)e -(as)h(\(\045U)f Ft(+)g Fu(\045S\))g(/)h(\045R.)630 4534 +1644 y Ft(\045P)384 b Fu(The)30 b(CPU)g(p)s(ercen)m(tage,)i(computed)e +(as)h(\(\045U)f Ft(+)g Fu(\045S\))g(/)h(\045R.)630 1803 y(The)23 b(optional)j Fr(p)g Fu(is)e(a)g(digit)h(sp)s(ecifying)e(the)h (precision,)i(the)e(n)m(um)m(b)s(er)f(of)h(fractional)h(digits)630 -4643 y(after)36 b(a)f(decimal)i(p)s(oin)m(t.)55 b(A)35 +1913 y(after)36 b(a)f(decimal)i(p)s(oin)m(t.)55 b(A)35 b(v)-5 b(alue)36 b(of)f(0)h(causes)g(no)f(decimal)h(p)s(oin)m(t)f(or)h -(fraction)g(to)g(b)s(e)630 4753 y(output.)48 b(A)m(t)34 +(fraction)g(to)g(b)s(e)630 2022 y(output.)48 b(A)m(t)34 b(most)f(three)g(places)h(after)f(the)g(decimal)h(p)s(oin)m(t)f(ma)m(y) -h(b)s(e)e(sp)s(eci\014ed;)i(v)-5 b(alues)630 4862 y(of)31 +h(b)s(e)e(sp)s(eci\014ed;)i(v)-5 b(alues)630 2132 y(of)31 b Fr(p)h Fu(greater)g(than)e(3)h(are)f(c)m(hanged)h(to)g(3.)42 b(If)29 b Fr(p)k Fu(is)d(not)h(sp)s(eci\014ed,)f(the)h(v)-5 -b(alue)30 b(3)h(is)g(used.)630 4992 y(The)54 b(optional)h +b(alue)30 b(3)h(is)g(used.)630 2267 y(The)54 b(optional)h Ft(l)f Fu(sp)s(eci\014es)g(a)h(longer)f(format,)61 b(including)54 -b(min)m(utes,)61 b(of)54 b(the)g(form)630 5101 y Fr(MM)10 +b(min)m(utes,)61 b(of)54 b(the)g(form)630 2376 y Fr(MM)10 b Fu(m)p Fr(SS)p Fu(.)p Fr(FF)d Fu(s.)103 b(The)50 b(v)-5 b(alue)52 b(of)f Fr(p)j Fu(determines)d(whether)f(or)h(not)h(the)f -(fraction)h(is)630 5211 y(included.)630 5340 y(If)30 +(fraction)h(is)630 2486 y(included.)630 2620 y(If)30 b(this)g(v)-5 b(ariable)31 b(is)g(not)f(set,)i(Bash)e(acts)h(as)g(if)f -(it)h(had)f(the)h(v)-5 b(alue)p eop end -%%Page: 79 85 -TeXDict begin 79 84 bop 150 -116 a Fu(Chapter)30 b(5:)41 -b(Shell)30 b(V)-8 b(ariables)2459 b(79)870 299 y Ft +(it)h(had)f(the)h(v)-5 b(alue)870 2755 y Ft ($'\\nreal\\t\0453lR\\nuser\\t\0453)o(lU\\n)o(sys\\)o(t\0453)o(lS')630 -433 y Fu(If)37 b(the)g(v)-5 b(alue)38 b(is)f(n)m(ull,)i(no)f(timing)f +2889 y Fu(If)37 b(the)g(v)-5 b(alue)38 b(is)f(n)m(ull,)i(no)f(timing)f (information)h(is)f(displa)m(y)m(ed.)62 b(A)37 b(trailing)i(newline)e -(is)630 543 y(added)30 b(when)f(the)i(format)f(string)h(is)f(displa)m -(y)m(ed.)150 702 y Ft(TMOUT)240 b Fu(If)22 b(set)h(to)g(a)g(v)-5 +(is)630 2999 y(added)30 b(when)f(the)i(format)f(string)h(is)f(displa)m +(y)m(ed.)150 3158 y Ft(TMOUT)240 b Fu(If)22 b(set)h(to)g(a)g(v)-5 b(alue)23 b(greater)h(than)e(zero,)j Ft(TMOUT)d Fu(is)g(treated)i(as)e -(the)h(default)g(timeout)g(for)g(the)630 812 y Ft(read)31 +(the)h(default)g(timeout)g(for)g(the)630 3268 y Ft(read)31 b Fu(builtin)h(\(see)h(Section)f(4.2)i([Bash)e(Builtins],)h(page)g -(48\).)47 b(The)32 b Ft(select)e Fu(command)630 922 y(\(see)f(Section)h -(3.2.4.2)g([Conditional)g(Constructs],)e(page)i(10\))f(terminates)g(if) -g(input)e(do)s(es)630 1031 y(not)k(arriv)m(e)g(after)g -Ft(TMOUT)e Fu(seconds)h(when)f(input)h(is)g(coming)h(from)f(a)h -(terminal.)630 1166 y(In)40 b(an)h(in)m(teractiv)m(e)i(shell,)h(the)d +(49\).)47 b(The)32 b Ft(select)e Fu(command)630 3377 +y(\(see)f(Section)h(3.2.4.2)g([Conditional)g(Constructs],)e(page)i +(10\))f(terminates)g(if)g(input)e(do)s(es)630 3487 y(not)k(arriv)m(e)g +(after)g Ft(TMOUT)e Fu(seconds)h(when)f(input)h(is)g(coming)h(from)f(a) +h(terminal.)630 3621 y(In)40 b(an)h(in)m(teractiv)m(e)i(shell,)h(the)d (v)-5 b(alue)41 b(is)g(in)m(terpreted)g(as)f(the)h(n)m(um)m(b)s(er)f -(of)h(seconds)f(to)630 1275 y(w)m(ait)28 b(for)e(a)g(line)h(of)g(input) +(of)h(seconds)f(to)630 3731 y(w)m(ait)28 b(for)e(a)g(line)h(of)g(input) e(after)i(issuing)f(the)h(primary)e(prompt.)39 b(Bash)26 -b(terminates)h(after)630 1385 y(w)m(aiting)32 b(for)e(that)h(n)m(um)m +b(terminates)h(after)630 3841 y(w)m(aiting)32 b(for)e(that)h(n)m(um)m (b)s(er)e(of)h(seconds)h(if)f(a)h(complete)h(line)e(of)h(input)e(do)s -(es)h(not)h(arriv)m(e.)150 1544 y Ft(TMPDIR)192 b Fu(If)39 +(es)h(not)h(arriv)m(e.)150 4000 y Ft(TMPDIR)192 b Fu(If)39 b(set,)j(Bash)e(uses)f(its)h(v)-5 b(alue)40 b(as)f(the)h(name)f(of)h(a) -g(directory)g(in)f(whic)m(h)g(Bash)h(creates)630 1654 +g(directory)g(in)f(whic)m(h)g(Bash)h(creates)630 4110 y(temp)s(orary)30 b(\014les)g(for)g(the)h(shell's)g(use.)150 -1813 y Ft(UID)336 b Fu(The)30 b(n)m(umeric)g(real)h(user)f(id)g(of)g +4269 y Ft(UID)336 b Fu(The)30 b(n)m(umeric)g(real)h(user)f(id)g(of)g (the)h(curren)m(t)f(user.)40 b(This)30 b(v)-5 b(ariable)31 b(is)f(readonly)-8 b(.)p eop end -%%Page: 80 86 -TeXDict begin 80 85 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(80)150 299 y Fp(6)80 -b(Bash)54 b(F)-13 b(eatures)150 504 y Fu(This)30 b(c)m(hapter)h -(describ)s(es)e(features)i(unique)e(to)i(Bash.)150 725 -y Fs(6.1)68 b(In)l(v)l(oking)46 b(Bash)390 884 y Ft(bash)h([long-opt])e +%%Page: 82 88 +TeXDict begin 82 87 bop 3659 -116 a Fu(82)150 299 y Fp(6)80 +b(Bash)54 b(F)-13 b(eatures)150 502 y Fu(This)30 b(c)m(hapter)h +(describ)s(es)e(features)i(unique)e(to)i(Bash.)150 731 +y Fs(6.1)68 b(In)l(v)l(oking)46 b(Bash)390 890 y Ft(bash)h([long-opt])e ([-ir])h([-abefhkmnptuvxdBCDHP])c([-o)47 b Fj(option)p Ft(])e([-O)i Fj(shopt_option)p Ft(])e([)p Fj(ar-)390 -994 y(gument)h Ft(...)o(])390 1103 y(bash)h([long-opt])e +1000 y(gument)h Ft(...)o(])390 1110 y(bash)h([long-opt])e ([-abefhkmnptuvxdBCDHP])c([-o)47 b Fj(option)p Ft(])f([-O)h Fj(shopt_option)p Ft(])d(-c)j Fj(string)f Ft([)p Fj(ar-)390 -1213 y(gument)g Ft(...)o(])390 1323 y(bash)h([long-opt])e(-s)i +1219 y(gument)g Ft(...)o(])390 1329 y(bash)h([long-opt])e(-s)i ([-abefhkmnptuvxdBCDHP])42 b([-o)k Fj(option)p Ft(])g([-O)h -Fj(shopt_option)p Ft(])d([)p Fj(ar-)390 1432 y(gument)i -Ft(...)o(])275 1561 y Fu(All)31 b(of)g(the)f(single-c)m(haracter)k +Fj(shopt_option)p Ft(])d([)p Fj(ar-)390 1438 y(gument)i +Ft(...)o(])275 1567 y Fu(All)31 b(of)g(the)f(single-c)m(haracter)k (options)d(used)f(with)g(the)h Ft(set)f Fu(builtin)g(\(see)h(Section)h -(4.3.1)g([The)f(Set)150 1670 y(Builtin],)45 b(page)c(58\))i(can)e(b)s +(4.3.1)g([The)f(Set)150 1676 y(Builtin],)45 b(page)c(60\))i(can)e(b)s (e)f(used)h(as)g(options)g(when)f(the)i(shell)f(is)g(in)m(v)m(ok)m(ed.) -74 b(In)41 b(addition,)j(there)150 1780 y(are)38 b(sev)m(eral)h(m)m +74 b(In)41 b(addition,)j(there)150 1786 y(are)38 b(sev)m(eral)h(m)m (ulti-c)m(haracter)h(options)d(that)h(y)m(ou)g(can)g(use.)61 b(These)38 b(options)f(m)m(ust)h(app)s(ear)e(on)i(the)150 -1890 y(command)30 b(line)h(b)s(efore)f(the)g(single-c)m(haracter)j -(options)e(to)g(b)s(e)f(recognized.)150 2037 y Ft(--debugger)630 -2147 y Fu(Arrange)j(for)g(the)g(debugger)g(pro\014le)g(to)h(b)s(e)e +1896 y(command)30 b(line)h(b)s(efore)f(the)g(single-c)m(haracter)j +(options)e(to)g(b)s(e)f(recognized.)150 2043 y Ft(--debugger)630 +2152 y Fu(Arrange)j(for)g(the)g(debugger)g(pro\014le)g(to)h(b)s(e)e (executed)i(b)s(efore)f(the)g(shell)g(starts.)49 b(T)-8 -b(urns)630 2257 y(on)37 b(extended)g(debugging)g(mo)s(de)g(\(see)h -(Section)g(4.3.2)g([The)f(Shopt)g(Builtin],)i(page)f(62)630 -2366 y(for)30 b(a)h(description)f(of)h(the)f Ft(extdebug)f -Fu(option)h(to)h(the)g Ft(shopt)e Fu(builtin\).)150 2514 -y Ft(--dump-po-strings)630 2623 y Fu(A)37 b(list)g(of)f(all)i +b(urns)630 2262 y(on)35 b(extended)g(debugging)f(mo)s(de)h(\(see)g +(Section)h(4.3.2)h([The)d(Shopt)g(Builtin],)j(page)f(64,)630 +2371 y(for)30 b(a)h(description)f(of)h(the)f Ft(extdebug)f +Fu(option)h(to)h(the)g Ft(shopt)e Fu(builtin\).)150 2519 +y Ft(--dump-po-strings)630 2628 y Fu(A)37 b(list)g(of)f(all)i (double-quoted)e(strings)g(preceded)g(b)m(y)h(`)p Ft($)p -Fu(')f(is)h(prin)m(ted)f(on)g(the)h(standard)630 2733 +Fu(')f(is)h(prin)m(ted)f(on)g(the)h(standard)630 2738 y(output)29 b(in)g(the)g Fm(gnu)g Ft(gettext)f Fu(PO)g(\(p)s(ortable)i (ob)5 b(ject\))30 b(\014le)g(format.)40 b(Equiv)-5 b(alen)m(t)31 -b(to)f Ft(-D)630 2843 y Fu(except)h(for)f(the)h(output)f(format.)150 -2990 y Ft(--dump-strings)630 3100 y Fu(Equiv)-5 b(alen)m(t)31 -b(to)g Ft(-D)p Fu(.)150 3248 y Ft(--help)192 b Fu(Displa)m(y)32 +b(to)f Ft(-D)630 2847 y Fu(except)h(for)f(the)h(output)f(format.)150 +2995 y Ft(--dump-strings)630 3104 y Fu(Equiv)-5 b(alen)m(t)31 +b(to)g Ft(-D)p Fu(.)150 3251 y Ft(--help)192 b Fu(Displa)m(y)32 b(a)e(usage)h(message)h(on)e(standard)g(output)g(and)f(exit)j -(successfully)-8 b(.)150 3396 y Ft(--init-file)27 b Fj(filename)150 -3505 y Ft(--rcfile)h Fj(filename)630 3615 y Fu(Execute)23 +(successfully)-8 b(.)150 3399 y Ft(--init-file)27 b Fj(filename)150 +3508 y Ft(--rcfile)h Fj(filename)630 3618 y Fu(Execute)23 b(commands)e(from)g Fr(\014lename)28 b Fu(\(instead)22 b(of)g Ft(~/.bashrc)p Fu(\))e(in)h(an)h(in)m(teractiv)m(e)i(shell.)150 -3763 y Ft(--login)144 b Fu(Equiv)-5 b(alen)m(t)31 b(to)g -Ft(-l)p Fu(.)150 3910 y Ft(--noediting)630 4020 y Fu(Do)h(not)e(use)h +3765 y Ft(--login)144 b Fu(Equiv)-5 b(alen)m(t)31 b(to)g +Ft(-l)p Fu(.)150 3912 y Ft(--noediting)630 4022 y Fu(Do)h(not)e(use)h (the)g Fm(gnu)f Fu(Readline)i(library)e(\(see)h(Chapter)g(8)g([Command) -f(Line)g(Editing],)630 4130 y(page)h(101\))h(to)f(read)g(command)f +f(Line)g(Editing],)630 4131 y(page)h(104\))h(to)f(read)g(command)f (lines)g(when)g(the)g(shell)h(is)f(in)m(teractiv)m(e.)150 -4277 y Ft(--noprofile)630 4387 y Fu(Don't)22 b(load)g(the)g +4278 y Ft(--noprofile)630 4388 y Fu(Don't)22 b(load)g(the)g (system-wide)f(startup)g(\014le)h Ft(/etc/profile)c Fu(or)j(an)m(y)h -(of)f(the)h(p)s(ersonal)f(ini-)630 4496 y(tialization)34 +(of)f(the)h(p)s(ersonal)f(ini-)630 4498 y(tialization)34 b(\014les)e Ft(~/.bash_profile)p Fu(,)c Ft(~/.bash_login)p -Fu(,)g(or)k Ft(~/.profile)c Fu(when)j(Bash)630 4606 y(is)f(in)m(v)m(ok) +Fu(,)g(or)k Ft(~/.profile)c Fu(when)j(Bash)630 4607 y(is)f(in)m(v)m(ok) m(ed)i(as)f(a)g(login)g(shell.)150 4754 y Ft(--norc)192 b Fu(Don't)35 b(read)f(the)g Ft(~/.bashrc)e Fu(initialization)k(\014le) f(in)e(an)h(in)m(teractiv)m(e)j(shell.)52 b(This)33 b(is)h(on)630 -4863 y(b)m(y)c(default)h(if)f(the)h(shell)f(is)h(in)m(v)m(ok)m(ed)h(as) +4864 y(b)m(y)c(default)h(if)f(the)h(shell)f(is)h(in)m(v)m(ok)m(ed)h(as) e Ft(sh)p Fu(.)150 5011 y Ft(--posix)144 b Fu(Change)24 b(the)h(b)s(eha)m(vior)f(of)g(Bash)h(where)e(the)i(default)f(op)s (eration)h(di\013ers)f(from)f(the)i Fm(posix)630 5121 y Fu(standard)35 b(to)h(matc)m(h)g(the)g(standard.)55 b(This)35 b(is)h(in)m(tended)f(to)h(mak)m(e)h(Bash)f(b)s(eha)m(v)m(e)g (as)g(a)630 5230 y(strict)26 b(sup)s(erset)e(of)h(that)g(standard.)38 -b(See)26 b(Section)f(6.11)i([Bash)e(POSIX)f(Mo)s(de],)j(page)f(94,)630 +b(See)26 b(Section)f(6.11)i([Bash)e(POSIX)f(Mo)s(de],)j(page)f(96,)630 5340 y(for)k(a)h(description)f(of)h(the)f(Bash)h Fm(posix)f Fu(mo)s(de.)p eop end -%%Page: 81 87 -TeXDict begin 81 86 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(81)150 299 y Ft(--restricted)630 +%%Page: 83 89 +TeXDict begin 83 88 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(83)150 299 y Ft(--restricted)630 408 y Fu(Mak)m(e)54 b(the)e(shell)g(a)h(restricted)g(shell)f(\(see)h (Section)g(6.10)h([The)d(Restricted)j(Shell],)630 518 -y(page)31 b(93\).)150 682 y Ft(--verbose)630 791 y Fu(Equiv)-5 +y(page)31 b(95\).)150 687 y Ft(--verbose)630 796 y Fu(Equiv)-5 b(alen)m(t)31 b(to)g Ft(-v)p Fu(.)41 b(Prin)m(t)30 b(shell)g(input)g -(lines)g(as)h(they're)g(read.)150 955 y Ft(--version)630 -1065 y Fu(Sho)m(w)d(v)m(ersion)g(information)g(for)g(this)g(instance)h -(of)f(Bash)g(on)g(the)g(standard)f(output)h(and)630 1174 -y(exit)j(successfully)-8 b(.)275 1341 y(There)28 b(are)i(sev)m(eral)g +(lines)g(as)h(they're)g(read.)150 965 y Ft(--version)630 +1074 y Fu(Sho)m(w)d(v)m(ersion)g(information)g(for)g(this)g(instance)h +(of)f(Bash)g(on)g(the)g(standard)f(output)h(and)630 1184 +y(exit)j(successfully)-8 b(.)275 1357 y(There)28 b(are)i(sev)m(eral)g (single-c)m(haracter)i(options)d(that)h(ma)m(y)g(b)s(e)e(supplied)g(at) -i(in)m(v)m(o)s(cation)h(whic)m(h)e(are)150 1450 y(not)i(a)m(v)-5 +i(in)m(v)m(o)s(cation)h(whic)m(h)e(are)150 1467 y(not)i(a)m(v)-5 b(ailable)32 b(with)e(the)h Ft(set)e Fu(builtin.)150 -1616 y Ft(-c)384 b Fu(Read)44 b(and)e(execute)j(commands)e(from)g(the)g -(\014rst)g(non-option)h Fr(argumen)m(t)h Fu(after)f(pro-)630 -1726 y(cessing)37 b(the)g(options,)i(then)d(exit.)61 -b(An)m(y)37 b(remaining)f(argumen)m(ts)h(are)g(assigned)g(to)h(the)630 -1835 y(p)s(ositional)31 b(parameters,)g(starting)g(with)f -Ft($0)p Fu(.)150 1999 y Ft(-i)384 b Fu(F)-8 b(orce)22 +1640 y Ft(-c)384 b Fu(Read)66 b(and)f(execute)i(commands)e(from)g(the)h +(\014rst)e(non-option)i(argumen)m(t)g Fr(com-)630 1749 +y(mand)p 859 1749 28 4 v 39 w(string)p Fu(,)34 b(then)e(exit.)49 +b(If)32 b(there)h(are)g(argumen)m(ts)g(after)g(the)g +Fr(command)p 3303 1749 V 40 w(string)p Fu(,)h(the)630 +1859 y(\014rst)e(argumen)m(t)h(is)g(assigned)g(to)h Ft($0)e +Fu(and)h(an)m(y)g(remaining)g(argumen)m(ts)g(are)g(assigned)g(to)630 +1968 y(the)38 b(p)s(ositional)h(parameters.)65 b(The)37 +b(assignmen)m(t)i(to)g Ft($0)f Fu(sets)g(the)h(name)f(of)g(the)g +(shell,)630 2078 y(whic)m(h)30 b(is)h(used)e(in)h(w)m(arning)g(and)g +(error)g(messages.)150 2247 y Ft(-i)384 b Fu(F)-8 b(orce)22 b(the)g(shell)f(to)g(run)f(in)m(teractiv)m(ely)-8 b(.)41 b(In)m(teractiv)m(e)23 b(shells)e(are)h(describ)s(ed)d(in)i(Section)h -(6.3)630 2109 y([In)m(teractiv)m(e)33 b(Shells],)e(page)g(83.)150 -2273 y Ft(-l)384 b Fu(Mak)m(e)33 b(this)e(shell)h(act)g(as)g(if)f(it)h +(6.3)630 2356 y([In)m(teractiv)m(e)33 b(Shells],)e(page)g(85.)150 +2525 y Ft(-l)384 b Fu(Mak)m(e)33 b(this)e(shell)h(act)g(as)g(if)f(it)h (had)f(b)s(een)f(directly)i(in)m(v)m(ok)m(ed)h(b)m(y)f(login.)44 -b(When)31 b(the)h(shell)630 2382 y(is)37 b(in)m(teractiv)m(e,)43 +b(When)31 b(the)h(shell)630 2634 y(is)37 b(in)m(teractiv)m(e,)43 b(this)37 b(is)g(equiv)-5 b(alen)m(t)39 b(to)f(starting)h(a)e(login)i (shell)e(with)g(`)p Ft(exec)30 b(-l)g(bash)p Fu('.)630 -2492 y(When)h(the)g(shell)h(is)f(not)g(in)m(teractiv)m(e,)k(the)c +2744 y(When)h(the)g(shell)h(is)f(not)g(in)m(teractiv)m(e,)k(the)c (login)h(shell)g(startup)f(\014les)g(will)g(b)s(e)g(executed.)630 -2601 y(`)p Ft(exec)e(bash)h(-l)p Fu(')43 b(or)h(`)p Ft(exec)29 +2853 y(`)p Ft(exec)e(bash)h(-l)p Fu(')43 b(or)h(`)p Ft(exec)29 b(bash)g(--login)p Fu(')42 b(will)i(replace)h(the)f(curren)m(t)f(shell) -h(with)g(a)630 2711 y(Bash)26 b(login)g(shell.)39 b(See)26 -b(Section)g(6.2)h([Bash)e(Startup)g(Files],)j(page)e(82,)i(for)d(a)h -(description)630 2821 y(of)31 b(the)f(sp)s(ecial)h(b)s(eha)m(vior)g(of) -f(a)h(login)g(shell.)150 2984 y Ft(-r)384 b Fu(Mak)m(e)54 +h(with)g(a)630 2963 y(Bash)26 b(login)g(shell.)39 b(See)26 +b(Section)g(6.2)h([Bash)e(Startup)g(Files],)j(page)e(84,)i(for)d(a)h +(description)630 3073 y(of)31 b(the)f(sp)s(ecial)h(b)s(eha)m(vior)g(of) +f(a)h(login)g(shell.)150 3241 y Ft(-r)384 b Fu(Mak)m(e)54 b(the)e(shell)g(a)h(restricted)g(shell)f(\(see)h(Section)g(6.10)h([The) -d(Restricted)j(Shell],)630 3094 y(page)31 b(93\).)150 -3258 y Ft(-s)384 b Fu(If)24 b(this)h(option)h(is)f(presen)m(t,)h(or)f +d(Restricted)j(Shell],)630 3351 y(page)31 b(95\).)150 +3519 y Ft(-s)384 b Fu(If)24 b(this)h(option)h(is)f(presen)m(t,)h(or)f (if)g(no)f(argumen)m(ts)i(remain)e(after)i(option)f(pro)s(cessing,)h -(then)630 3367 y(commands)i(are)h(read)g(from)f(the)h(standard)f +(then)630 3629 y(commands)i(are)h(read)g(from)f(the)h(standard)f (input.)39 b(This)28 b(option)h(allo)m(ws)h(the)f(p)s(ositional)630 -3477 y(parameters)i(to)g(b)s(e)f(set)g(when)g(in)m(v)m(oking)h(an)g(in) -m(teractiv)m(e)i(shell.)150 3641 y Ft(-D)384 b Fu(A)37 +3738 y(parameters)i(to)g(b)s(e)f(set)g(when)g(in)m(v)m(oking)h(an)g(in) +m(teractiv)m(e)i(shell.)150 3907 y Ft(-D)384 b Fu(A)37 b(list)g(of)f(all)i(double-quoted)e(strings)g(preceded)g(b)m(y)h(`)p Ft($)p Fu(')f(is)h(prin)m(ted)f(on)g(the)h(standard)630 -3750 y(output.)63 b(These)38 b(are)g(the)g(strings)g(that)h(are)f(sub)5 -b(ject)38 b(to)h(language)g(translation)g(when)630 3860 +4017 y(output.)63 b(These)38 b(are)g(the)g(strings)g(that)h(are)f(sub)5 +b(ject)38 b(to)h(language)g(translation)g(when)630 4126 y(the)e(curren)m(t)g(lo)s(cale)h(is)f(not)g Ft(C)g Fu(or)f Ft(POSIX)g Fu(\(see)h(Section)h(3.1.2.5)h([Lo)s(cale)g(T)-8 -b(ranslation],)630 3970 y(page)31 b(7\).)42 b(This)29 +b(ranslation],)630 4236 y(page)31 b(7\).)42 b(This)29 b(implies)i(the)f Ft(-n)g Fu(option;)h(no)f(commands)g(will)h(b)s(e)f -(executed.)150 4133 y Ft([-+]O)f([)p Fj(shopt_option)p -Ft(])630 4243 y Fr(shopt)p 854 4243 28 4 v 40 w(option)44 +(executed.)150 4404 y Ft([-+]O)f([)p Fj(shopt_option)p +Ft(])630 4514 y Fr(shopt)p 854 4514 V 40 w(option)44 b Fu(is)g(one)h(of)f(the)g(shell)h(options)f(accepted)h(b)m(y)f(the)h -Ft(shopt)d Fu(builtin)i(\(see)630 4353 y(Section)32 b(4.3.2)h([The)e -(Shopt)f(Builtin],)i(page)g(62\).)44 b(If)31 b Fr(shopt)p -2724 4353 V 40 w(option)g Fu(is)g(presen)m(t,)h Ft(-O)f -Fu(sets)630 4462 y(the)24 b(v)-5 b(alue)24 b(of)g(that)h(option;)h +Ft(shopt)d Fu(builtin)i(\(see)630 4623 y(Section)32 b(4.3.2)h([The)e +(Shopt)f(Builtin],)i(page)g(64\).)44 b(If)31 b Fr(shopt)p +2724 4623 V 40 w(option)g Fu(is)g(presen)m(t,)h Ft(-O)f +Fu(sets)630 4733 y(the)24 b(v)-5 b(alue)24 b(of)g(that)h(option;)h Ft(+O)e Fu(unsets)f(it.)39 b(If)23 b Fr(shopt)p 2423 -4462 V 40 w(option)h Fu(is)g(not)g(supplied,)g(the)g(names)630 -4572 y(and)31 b(v)-5 b(alues)32 b(of)g(the)g(shell)g(options)g +4733 V 40 w(option)h Fu(is)g(not)g(supplied,)g(the)g(names)630 +4843 y(and)31 b(v)-5 b(alues)32 b(of)g(the)g(shell)g(options)g (accepted)h(b)m(y)f Ft(shopt)e Fu(are)i(prin)m(ted)f(on)h(the)g -(standard)630 4681 y(output.)40 b(If)29 b(the)h(in)m(v)m(o)s(cation)h +(standard)630 4952 y(output.)40 b(If)29 b(the)h(in)m(v)m(o)s(cation)h (option)f(is)f Ft(+O)p Fu(,)h(the)f(output)g(is)h(displa)m(y)m(ed)g(in) -f(a)h(format)f(that)630 4791 y(ma)m(y)i(b)s(e)f(reused)f(as)i(input.) -150 4955 y Ft(--)384 b Fu(A)38 b Ft(--)g Fu(signals)g(the)h(end)e(of)i +f(a)h(format)f(that)630 5062 y(ma)m(y)i(b)s(e)f(reused)f(as)i(input.) +150 5230 y Ft(--)384 b Fu(A)38 b Ft(--)g Fu(signals)g(the)h(end)e(of)i (options)f(and)g(disables)g(further)f(option)h(pro)s(cessing.)64 -b(An)m(y)630 5064 y(argumen)m(ts)31 b(after)g(the)f Ft(--)g -Fu(are)h(treated)g(as)g(\014lenames)f(and)g(argumen)m(ts.)275 -5230 y(A)d Fl(lo)-5 b(gin)35 b Fu(shell)27 b(is)g(one)h(whose)f -(\014rst)f(c)m(haracter)j(of)e(argumen)m(t)h(zero)f(is)h(`)p -Ft(-)p Fu(',)g(or)f(one)g(in)m(v)m(ok)m(ed)i(with)e(the)150 -5340 y Ft(--login)h Fu(option.)p eop end -%%Page: 82 88 -TeXDict begin 82 87 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(82)275 299 y(An)28 -b Fl(inter)-5 b(active)37 b Fu(shell)30 b(is)f(one)g(started)h(without) -f(non-option)h(argumen)m(ts,)g(unless)e Ft(-s)h Fu(is)g(sp)s -(eci\014ed,)150 408 y(without)k(sp)s(ecifying)h(the)f -Ft(-c)g Fu(option,)i(and)e(whose)g(input)g(and)f(output)h(are)h(b)s -(oth)f(connected)h(to)g(ter-)150 518 y(minals)g(\(as)g(determined)f(b)m -(y)h Ft(isatty\(3\))p Fu(\),)e(or)i(one)g(started)g(with)f(the)h -Ft(-i)f Fu(option.)51 b(See)33 b(Section)i(6.3)150 628 -y([In)m(teractiv)m(e)e(Shells],)e(page)g(83,)g(for)f(more)h -(information.)275 763 y(If)i(argumen)m(ts)h(remain)g(after)h(option)f -(pro)s(cessing,)h(and)e(neither)h(the)g Ft(-c)g Fu(nor)f(the)h -Ft(-s)g Fu(option)g(has)150 873 y(b)s(een)44 b(supplied,)j(the)d -(\014rst)g(argumen)m(t)h(is)g(assumed)e(to)j(b)s(e)d(the)i(name)g(of)f -(a)h(\014le)g(con)m(taining)h(shell)150 982 y(commands)30 -b(\(see)g(Section)h(3.8)g([Shell)f(Scripts],)g(page)h(39\).)41 -b(When)30 b(Bash)g(is)g(in)m(v)m(ok)m(ed)i(in)d(this)h(fashion,)150 -1092 y Ft($0)37 b Fu(is)g(set)h(to)h(the)e(name)h(of)f(the)h(\014le,)i -(and)c(the)i(p)s(ositional)g(parameters)g(are)g(set)g(to)g(the)g -(remaining)150 1202 y(argumen)m(ts.)h(Bash)26 b(reads)f(and)g(executes) -h(commands)f(from)g(this)g(\014le,)i(then)e(exits.)40 -b(Bash's)25 b(exit)i(status)150 1311 y(is)f(the)h(exit)h(status)e(of)h -(the)g(last)g(command)f(executed)h(in)g(the)f(script.)40 -b(If)26 b(no)g(commands)g(are)h(executed,)150 1421 y(the)k(exit)g -(status)g(is)f(0.)150 1655 y Fs(6.2)68 b(Bash)45 b(Startup)g(Files)150 -1814 y Fu(This)23 b(section)j(describ)s(es)d(ho)m(w)i(Bash)f(executes)h +b(An)m(y)630 5340 y(argumen)m(ts)31 b(after)g(the)f Ft(--)g +Fu(are)h(treated)g(as)g(\014lenames)f(and)g(argumen)m(ts.)p +eop end +%%Page: 84 90 +TeXDict begin 84 89 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(84)275 299 y(A)27 b +Fl(lo)-5 b(gin)35 b Fu(shell)27 b(is)g(one)h(whose)f(\014rst)f(c)m +(haracter)j(of)e(argumen)m(t)h(zero)f(is)h(`)p Ft(-)p +Fu(',)g(or)f(one)g(in)m(v)m(ok)m(ed)i(with)e(the)150 +408 y Ft(--login)h Fu(option.)275 555 y(An)g Fl(inter)-5 +b(active)37 b Fu(shell)30 b(is)f(one)g(started)h(without)f(non-option)h +(argumen)m(ts,)g(unless)e Ft(-s)h Fu(is)g(sp)s(eci\014ed,)150 +665 y(without)k(sp)s(ecifying)h(the)f Ft(-c)g Fu(option,)i(and)e(whose) +g(input)g(and)f(output)h(are)h(b)s(oth)f(connected)h(to)g(ter-)150 +774 y(minals)g(\(as)g(determined)f(b)m(y)h Ft(isatty\(3\))p +Fu(\),)e(or)i(one)g(started)g(with)f(the)h Ft(-i)f Fu(option.)51 +b(See)33 b(Section)i(6.3)150 884 y([In)m(teractiv)m(e)e(Shells],)e +(page)g(85,)g(for)f(more)h(information.)275 1031 y(If)i(argumen)m(ts)h +(remain)g(after)h(option)f(pro)s(cessing,)h(and)e(neither)h(the)g +Ft(-c)g Fu(nor)f(the)h Ft(-s)g Fu(option)g(has)150 1140 +y(b)s(een)44 b(supplied,)j(the)d(\014rst)g(argumen)m(t)h(is)g(assumed)e +(to)j(b)s(e)d(the)i(name)g(of)f(a)h(\014le)g(con)m(taining)h(shell)150 +1250 y(commands)30 b(\(see)g(Section)h(3.8)g([Shell)f(Scripts],)g(page) +h(40\).)41 b(When)30 b(Bash)g(is)g(in)m(v)m(ok)m(ed)i(in)d(this)h +(fashion,)150 1359 y Ft($0)37 b Fu(is)g(set)h(to)h(the)e(name)h(of)f +(the)h(\014le,)i(and)c(the)i(p)s(ositional)g(parameters)g(are)g(set)g +(to)g(the)g(remaining)150 1469 y(argumen)m(ts.)h(Bash)26 +b(reads)f(and)g(executes)h(commands)f(from)g(this)g(\014le,)i(then)e +(exits.)40 b(Bash's)25 b(exit)i(status)150 1579 y(is)f(the)h(exit)h +(status)e(of)h(the)g(last)g(command)f(executed)h(in)g(the)f(script.)40 +b(If)26 b(no)g(commands)g(are)h(executed,)150 1688 y(the)k(exit)g +(status)g(is)f(0.)150 1947 y Fs(6.2)68 b(Bash)45 b(Startup)g(Files)150 +2107 y Fu(This)23 b(section)j(describ)s(es)d(ho)m(w)i(Bash)f(executes)h (its)g(startup)f(\014les.)38 b(If)24 b(an)m(y)h(of)f(the)h(\014les)f -(exist)h(but)e(cannot)150 1924 y(b)s(e)29 b(read,)i(Bash)f(rep)s(orts)f +(exist)h(but)e(cannot)150 2216 y(b)s(e)29 b(read,)i(Bash)f(rep)s(orts)f (an)h(error.)40 b(Tildes)30 b(are)g(expanded)f(in)h(\014lenames)g(as)g -(describ)s(ed)f(ab)s(o)m(v)m(e)i(under)150 2034 y(Tilde)f(Expansion)g +(describ)s(ed)f(ab)s(o)m(v)m(e)i(under)150 2326 y(Tilde)f(Expansion)g (\(see)h(Section)h(3.5.2)g([Tilde)e(Expansion],)h(page)g(22\).)275 -2169 y(In)m(teractiv)m(e)h(shells)f(are)g(describ)s(ed)e(in)h(Section)h -(6.3)h([In)m(teractiv)m(e)h(Shells],)d(page)h(83.)150 -2370 y Fk(In)m(v)m(ok)m(ed)40 b(as)h(an)f(in)m(teractiv)m(e)f(login)j -(shell,)g(or)g(with)e Fh(--login)150 2516 y Fu(When)c(Bash)f(is)h(in)m +2473 y(In)m(teractiv)m(e)h(shells)f(are)g(describ)s(ed)e(in)h(Section)h +(6.3)h([In)m(teractiv)m(e)h(Shells],)d(page)h(85.)150 +2684 y Fk(In)m(v)m(ok)m(ed)40 b(as)h(an)f(in)m(teractiv)m(e)f(login)j +(shell,)g(or)g(with)e Fh(--login)150 2831 y Fu(When)c(Bash)f(is)h(in)m (v)m(ok)m(ed)h(as)f(an)g(in)m(teractiv)m(e)j(login)d(shell,)i(or)e(as)g -(a)g(non-in)m(teractiv)m(e)i(shell)e(with)g(the)150 2626 +(a)g(non-in)m(teractiv)m(e)i(shell)e(with)g(the)150 2940 y Ft(--login)30 b Fu(option,)k(it)f(\014rst)e(reads)h(and)g(executes)i (commands)e(from)f(the)i(\014le)f Ft(/etc/profile)p Fu(,)e(if)i(that) -150 2736 y(\014le)44 b(exists.)80 b(After)44 b(reading)g(that)g +150 3050 y(\014le)44 b(exists.)80 b(After)44 b(reading)g(that)g (\014le,)j(it)d(lo)s(oks)g(for)f Ft(~/.bash_profile)p -Fu(,)g Ft(~/.bash_login)p Fu(,)h(and)150 2845 y Ft(~/.profile)p +Fu(,)g Ft(~/.bash_login)p Fu(,)h(and)150 3160 y Ft(~/.profile)p Fu(,)25 b(in)i(that)g(order,)h(and)e(reads)h(and)f(executes)j(commands) -d(from)h(the)g(\014rst)f(one)i(that)f(exists)150 2955 +d(from)h(the)g(\014rst)f(one)i(that)f(exists)150 3269 y(and)j(is)h(readable.)42 b(The)30 b Ft(--noprofile)d Fu(option)k(ma)m(y)g(b)s(e)f(used)g(when)g(the)h(shell)f(is)h(started)g -(to)g(inhibit)150 3064 y(this)f(b)s(eha)m(vior.)275 3200 -y(When)38 b(a)h(login)h(shell)f(exits,)j(Bash)d(reads)f(and)h(executes) -h(commands)e(from)g(the)h(\014le)g Ft(~/.bash_)150 3310 -y(logout)p Fu(,)29 b(if)h(it)h(exists.)150 3510 y Fk(In)m(v)m(ok)m(ed) -40 b(as)h(an)f(in)m(teractiv)m(e)f(non-login)k(shell)150 -3657 y Fu(When)g(an)h(in)m(teractiv)m(e)i(shell)e(that)g(is)f(not)h(a)g +(to)g(inhibit)150 3379 y(this)f(b)s(eha)m(vior.)275 3526 +y(When)h(an)g(in)m(teractiv)m(e)k(login)d(shell)g(exits,)h(or)f(a)g +(non-in)m(teractiv)m(e)i(login)f(shell)e(executes)i(the)f +Ft(exit)150 3635 y Fu(builtin)g(command,)i(Bash)e(reads)h(and)f +(executes)i(commands)e(from)g(the)h(\014le)g Ft(~/.bash_logout)p +Fu(,)d(if)i(it)150 3745 y(exists.)150 3956 y Fk(In)m(v)m(ok)m(ed)40 +b(as)h(an)f(in)m(teractiv)m(e)f(non-login)k(shell)150 +4103 y Fu(When)g(an)h(in)m(teractiv)m(e)i(shell)e(that)g(is)f(not)h(a)g (login)g(shell)g(is)f(started,)48 b(Bash)c(reads)f(and)g(executes)150 -3767 y(commands)31 b(from)g Ft(~/.bashrc)p Fu(,)f(if)h(that)h(\014le)g +4213 y(commands)31 b(from)g Ft(~/.bashrc)p Fu(,)f(if)h(that)h(\014le)g (exists.)44 b(This)31 b(ma)m(y)h(b)s(e)f(inhibited)g(b)m(y)g(using)g -(the)h Ft(--norc)150 3876 y Fu(option.)40 b(The)27 b +(the)h Ft(--norc)150 4322 y Fu(option.)40 b(The)27 b Ft(--rcfile)h Fj(file)e Fu(option)h(will)g(force)h(Bash)f(to)h(read)f -(and)f(execute)j(commands)d(from)h Fr(\014le)150 3986 -y Fu(instead)k(of)f Ft(~/.bashrc)p Fu(.)275 4121 y(So,)g(t)m(ypically) +(and)f(execute)j(commands)d(from)h Fr(\014le)150 4432 +y Fu(instead)k(of)f Ft(~/.bashrc)p Fu(.)275 4579 y(So,)g(t)m(ypically) -8 b(,)33 b(y)m(our)d Ft(~/.bash_profile)c Fu(con)m(tains)32 -b(the)f(line)390 4257 y Ft(if)47 b([)h(-f)f(~/.bashrc)e(];)i(then)g(.)g -(~/.bashrc;)e(fi)150 4393 y Fu(after)31 b(\(or)g(b)s(efore\))f(an)m(y)h -(login-sp)s(eci\014c)g(initializations.)150 4593 y Fk(In)m(v)m(ok)m(ed) -40 b(non-in)m(teractiv)m(ely)150 4740 y Fu(When)33 b(Bash)g(is)g +b(the)f(line)390 4725 y Ft(if)47 b([)h(-f)f(~/.bashrc)e(];)i(then)g(.)g +(~/.bashrc;)e(fi)150 4872 y Fu(after)31 b(\(or)g(b)s(efore\))f(an)m(y)h +(login-sp)s(eci\014c)g(initializations.)150 5083 y Fk(In)m(v)m(ok)m(ed) +40 b(non-in)m(teractiv)m(ely)150 5230 y Fu(When)33 b(Bash)g(is)g (started)h(non-in)m(teractiv)m(ely)-8 b(,)37 b(to)d(run)e(a)h(shell)h (script,)g(for)f(example,)i(it)e(lo)s(oks)h(for)f(the)150 -4850 y(v)-5 b(ariable)35 b Ft(BASH_ENV)d Fu(in)i(the)h(en)m(vironmen)m +5340 y(v)-5 b(ariable)35 b Ft(BASH_ENV)d Fu(in)i(the)h(en)m(vironmen)m (t,)h(expands)e(its)g(v)-5 b(alue)35 b(if)g(it)g(app)s(ears)e(there,)j -(and)e(uses)g(the)150 4959 y(expanded)c(v)-5 b(alue)30 -b(as)h(the)g(name)f(of)h(a)f(\014le)h(to)g(read)f(and)g(execute.)42 -b(Bash)31 b(b)s(eha)m(v)m(es)g(as)g(if)f(the)g(follo)m(wing)150 -5069 y(command)g(w)m(ere)h(executed:)390 5204 y Ft(if)47 -b([)h(-n)f("$BASH_ENV")e(];)i(then)f(.)i("$BASH_ENV";)c(fi)150 -5340 y Fu(but)30 b(the)g(v)-5 b(alue)31 b(of)g(the)f +(and)e(uses)g(the)p eop end +%%Page: 85 91 +TeXDict begin 85 90 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(85)150 299 y(expanded)30 +b(v)-5 b(alue)30 b(as)h(the)g(name)f(of)h(a)f(\014le)h(to)g(read)f(and) +g(execute.)42 b(Bash)31 b(b)s(eha)m(v)m(es)g(as)g(if)f(the)g(follo)m +(wing)150 408 y(command)g(w)m(ere)h(executed:)390 552 +y Ft(if)47 b([)h(-n)f("$BASH_ENV")e(];)i(then)f(.)i("$BASH_ENV";)c(fi) +150 696 y Fu(but)30 b(the)g(v)-5 b(alue)31 b(of)g(the)f Ft(PATH)f Fu(v)-5 b(ariable)32 b(is)e(not)h(used)e(to)i(searc)m(h)g -(for)f(the)h(\014lename.)p eop end -%%Page: 83 89 -TeXDict begin 83 88 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(83)275 299 y(As)42 -b(noted)g(ab)s(o)m(v)m(e,)47 b(if)42 b(a)h(non-in)m(teractiv)m(e)i -(shell)d(is)g(in)m(v)m(ok)m(ed)i(with)e(the)h Ft(--login)d -Fu(option,)46 b(Bash)150 408 y(attempts)31 b(to)g(read)g(and)e(execute) -j(commands)e(from)g(the)h(login)g(shell)g(startup)e(\014les.)150 -614 y Fk(In)m(v)m(ok)m(ed)40 b(with)g(name)h Fh(sh)150 -761 y Fu(If)c(Bash)g(is)g(in)m(v)m(ok)m(ed)i(with)e(the)g(name)g -Ft(sh)p Fu(,)i(it)f(tries)f(to)h(mimic)g(the)f(startup)g(b)s(eha)m -(vior)g(of)h(historical)150 870 y(v)m(ersions)31 b(of)f -Ft(sh)g Fu(as)h(closely)h(as)e(p)s(ossible,)g(while)h(conforming)f(to)h -(the)g Fm(posix)e Fu(standard)h(as)h(w)m(ell.)275 1010 -y(When)50 b(in)m(v)m(ok)m(ed)j(as)f(an)f(in)m(teractiv)m(e)j(login)e -(shell,)57 b(or)51 b(as)g(a)h(non-in)m(teractiv)m(e)h(shell)f(with)f -(the)150 1120 y Ft(--login)31 b Fu(option,)k(it)e(\014rst)g(attempts)h -(to)g(read)f(and)g(execute)h(commands)f(from)g Ft(/etc/profile)d -Fu(and)150 1230 y Ft(~/.profile)p Fu(,)d(in)i(that)i(order.)39 -b(The)30 b Ft(--noprofile)c Fu(option)k(ma)m(y)g(b)s(e)f(used)g(to)h -(inhibit)f(this)h(b)s(eha)m(vior.)150 1339 y(When)36 -b(in)m(v)m(ok)m(ed)i(as)e(an)g(in)m(teractiv)m(e)j(shell)e(with)f(the)g -(name)h Ft(sh)p Fu(,)g(Bash)f(lo)s(oks)h(for)f(the)h(v)-5 -b(ariable)37 b Ft(ENV)p Fu(,)150 1449 y(expands)29 b(its)i(v)-5 +(for)f(the)h(\014lename.)275 840 y(As)42 b(noted)g(ab)s(o)m(v)m(e,)47 +b(if)42 b(a)h(non-in)m(teractiv)m(e)i(shell)d(is)g(in)m(v)m(ok)m(ed)i +(with)e(the)h Ft(--login)d Fu(option,)46 b(Bash)150 949 +y(attempts)31 b(to)g(read)g(and)e(execute)j(commands)e(from)g(the)h +(login)g(shell)g(startup)e(\014les.)150 1158 y Fk(In)m(v)m(ok)m(ed)40 +b(with)g(name)h Fh(sh)150 1305 y Fu(If)c(Bash)g(is)g(in)m(v)m(ok)m(ed)i +(with)e(the)g(name)g Ft(sh)p Fu(,)i(it)f(tries)f(to)h(mimic)g(the)f +(startup)g(b)s(eha)m(vior)g(of)h(historical)150 1414 +y(v)m(ersions)31 b(of)f Ft(sh)g Fu(as)h(closely)h(as)e(p)s(ossible,)g +(while)h(conforming)f(to)h(the)g Fm(posix)e Fu(standard)h(as)h(w)m +(ell.)275 1558 y(When)50 b(in)m(v)m(ok)m(ed)j(as)f(an)f(in)m(teractiv)m +(e)j(login)e(shell,)57 b(or)51 b(as)g(a)h(non-in)m(teractiv)m(e)h +(shell)f(with)f(the)150 1668 y Ft(--login)31 b Fu(option,)k(it)e +(\014rst)g(attempts)h(to)g(read)f(and)g(execute)h(commands)f(from)g +Ft(/etc/profile)d Fu(and)150 1777 y Ft(~/.profile)p Fu(,)d(in)i(that)i +(order.)39 b(The)30 b Ft(--noprofile)c Fu(option)k(ma)m(y)g(b)s(e)f +(used)g(to)h(inhibit)f(this)h(b)s(eha)m(vior.)150 1887 +y(When)36 b(in)m(v)m(ok)m(ed)i(as)e(an)g(in)m(teractiv)m(e)j(shell)e +(with)f(the)g(name)h Ft(sh)p Fu(,)g(Bash)f(lo)s(oks)h(for)f(the)h(v)-5 +b(ariable)37 b Ft(ENV)p Fu(,)150 1997 y(expands)29 b(its)i(v)-5 b(alue)30 b(if)h(it)f(is)g(de\014ned,)g(and)f(uses)h(the)g(expanded)g (v)-5 b(alue)30 b(as)h(the)f(name)g(of)g(a)h(\014le)f(to)h(read)150 -1558 y(and)g(execute.)46 b(Since)32 b(a)g(shell)g(in)m(v)m(ok)m(ed)h +2106 y(and)g(execute.)46 b(Since)32 b(a)g(shell)g(in)m(v)m(ok)m(ed)h (as)f Ft(sh)f Fu(do)s(es)g(not)h(attempt)h(to)g(read)e(and)g(execute)i -(commands)150 1668 y(from)39 b(an)m(y)g(other)h(startup)e(\014les,)k +(commands)150 2216 y(from)39 b(an)m(y)g(other)h(startup)e(\014les,)k (the)d Ft(--rcfile)e Fu(option)j(has)f(no)g(e\013ect.)69 -b(A)39 b(non-in)m(teractiv)m(e)j(shell)150 1778 y(in)m(v)m(ok)m(ed)32 +b(A)39 b(non-in)m(teractiv)m(e)j(shell)150 2325 y(in)m(v)m(ok)m(ed)32 b(with)e(the)g(name)h Ft(sh)f Fu(do)s(es)g(not)g(attempt)i(to)f(read)f -(an)m(y)h(other)g(startup)e(\014les.)275 1918 y(When)h(in)m(v)m(ok)m +(an)m(y)h(other)g(startup)e(\014les.)275 2469 y(When)h(in)m(v)m(ok)m (ed)h(as)g Ft(sh)p Fu(,)f(Bash)h(en)m(ters)g Fm(posix)e Fu(mo)s(de)h(after)h(the)g(startup)f(\014les)g(are)h(read.)150 -2123 y Fk(In)m(v)m(ok)m(ed)40 b(in)h Fg(posix)g Fk(mo)s(de)150 -2270 y Fu(When)28 b(Bash)h(is)g(started)g(in)g Fm(posix)f +2678 y Fk(In)m(v)m(ok)m(ed)40 b(in)h Fg(posix)g Fk(mo)s(de)150 +2824 y Fu(When)28 b(Bash)h(is)g(started)g(in)g Fm(posix)f Fu(mo)s(de,)g(as)h(with)g(the)g Ft(--posix)d Fu(command)j(line)g -(option,)h(it)f(follo)m(ws)150 2380 y(the)24 b Fm(posix)f +(option,)h(it)f(follo)m(ws)150 2934 y(the)24 b Fm(posix)f Fu(standard)h(for)f(startup)h(\014les.)38 b(In)24 b(this)g(mo)s(de,)h (in)m(teractiv)m(e)i(shells)d(expand)f(the)h Ft(ENV)f -Fu(v)-5 b(ariable)150 2489 y(and)30 b(commands)g(are)g(read)h(and)e +Fu(v)-5 b(ariable)150 3044 y(and)30 b(commands)g(are)g(read)h(and)e (executed)j(from)d(the)i(\014le)f(whose)g(name)h(is)f(the)h(expanded)e -(v)-5 b(alue.)41 b(No)150 2599 y(other)31 b(startup)f(\014les)g(are)h -(read.)150 2804 y Fk(In)m(v)m(ok)m(ed)40 b(b)m(y)g(remote)h(shell)h -(daemon)150 2951 y Fu(Bash)36 b(attempts)h(to)g(determine)f(when)f(it)i +(v)-5 b(alue.)41 b(No)150 3153 y(other)31 b(startup)f(\014les)g(are)h +(read.)150 3362 y Fk(In)m(v)m(ok)m(ed)40 b(b)m(y)g(remote)h(shell)h +(daemon)150 3509 y Fu(Bash)36 b(attempts)h(to)g(determine)f(when)f(it)i (is)f(b)s(eing)g(run)e(with)i(its)g(standard)g(input)f(connected)i(to)g -(a)150 3060 y(net)m(w)m(ork)h(connection,)j(as)c(when)g(executed)h(b)m +(a)150 3618 y(net)m(w)m(ork)h(connection,)j(as)c(when)g(executed)h(b)m (y)f(the)h(remote)g(shell)g(daemon,)h(usually)e Ft(rshd)p -Fu(,)h(or)g(the)150 3170 y(secure)c(shell)f(daemon)h +Fu(,)h(or)g(the)150 3728 y(secure)c(shell)f(daemon)h Ft(sshd)p Fu(.)49 b(If)33 b(Bash)g(determines)h(it)g(is)f(b)s(eing)g -(run)f(in)i(this)f(fashion,)h(it)g(reads)g(and)150 3280 +(run)f(in)i(this)f(fashion,)h(it)g(reads)g(and)150 3837 y(executes)29 b(commands)e(from)g Ft(~/.bashrc)p Fu(,)e(if)j(that)g (\014le)f(exists)h(and)f(is)g(readable.)41 b(It)27 b(will)h(not)f(do)h -(this)f(if)150 3389 y(in)m(v)m(ok)m(ed)k(as)f Ft(sh)p +(this)f(if)150 3947 y(in)m(v)m(ok)m(ed)k(as)f Ft(sh)p Fu(.)40 b(The)29 b Ft(--norc)f Fu(option)i(ma)m(y)g(b)s(e)f(used)f(to)j (inhibit)e(this)g(b)s(eha)m(vior,)h(and)f(the)h Ft(--rcfile)150 -3499 y Fu(option)36 b(ma)m(y)g(b)s(e)e(used)h(to)h(force)g(another)f +4057 y Fu(option)36 b(ma)m(y)g(b)s(e)e(used)h(to)h(force)g(another)f (\014le)h(to)g(b)s(e)e(read,)j(but)d(neither)i Ft(rshd)e -Fu(nor)h Ft(sshd)f Fu(generally)150 3608 y(in)m(v)m(ok)m(e)e(the)f +Fu(nor)h Ft(sshd)f Fu(generally)150 4166 y(in)m(v)m(ok)m(e)e(the)f (shell)f(with)h(those)f(options)h(or)f(allo)m(w)i(them)f(to)g(b)s(e)e -(sp)s(eci\014ed.)150 3814 y Fk(In)m(v)m(ok)m(ed)40 b(with)g(unequal)h +(sp)s(eci\014ed.)150 4375 y Fk(In)m(v)m(ok)m(ed)40 b(with)g(unequal)h (e\013ectiv)m(e)e(and)i(real)g Fg(uid/gid)p Fk(s)150 -3960 y Fu(If)34 b(Bash)h(is)g(started)g(with)f(the)h(e\013ectiv)m(e)i +4522 y Fu(If)34 b(Bash)h(is)g(started)g(with)f(the)h(e\013ectiv)m(e)i (user)d(\(group\))h(id)f(not)h(equal)g(to)g(the)g(real)g(user)f -(\(group\))h(id,)150 4070 y(and)26 b(the)i Ft(-p)e Fu(option)h(is)g +(\(group\))h(id,)150 4631 y(and)26 b(the)i Ft(-p)e Fu(option)h(is)g (not)h(supplied,)e(no)h(startup)g(\014les)g(are)g(read,)h(shell)f -(functions)g(are)g(not)g(inherited)150 4180 y(from)41 +(functions)g(are)g(not)g(inherited)150 4741 y(from)41 b(the)g(en)m(vironmen)m(t,)j(the)d Ft(SHELLOPTS)p Fu(,)h Ft(BASHOPTS)p Fu(,)g Ft(CDPATH)p Fu(,)g(and)e Ft(GLOBIGNORE)e -Fu(v)-5 b(ariables,)45 b(if)150 4289 y(they)28 b(app)s(ear)f(in)h(the)g +Fu(v)-5 b(ariables,)45 b(if)150 4850 y(they)28 b(app)s(ear)f(in)h(the)g (en)m(vironmen)m(t,)i(are)e(ignored,)h(and)e(the)h(e\013ectiv)m(e)j -(user)c(id)h(is)g(set)g(to)h(the)f(real)h(user)150 4399 +(user)c(id)h(is)g(set)g(to)h(the)f(real)h(user)150 4960 y(id.)62 b(If)38 b(the)f Ft(-p)h Fu(option)g(is)f(supplied)g(at)h(in)m (v)m(o)s(cation,)k(the)c(startup)f(b)s(eha)m(vior)h(is)g(the)g(same,)i -(but)d(the)150 4508 y(e\013ectiv)m(e)c(user)d(id)g(is)g(not)h(reset.) -150 4750 y Fs(6.3)68 b(In)l(teractiv)l(e)47 b(Shells)150 -4974 y Fk(6.3.1)63 b(What)40 b(is)h(an)g(In)m(teractiv)m(e)e(Shell?)150 -5121 y Fu(An)g(in)m(teractiv)m(e)k(shell)d(is)g(one)g(started)g -(without)g(non-option)g(argumen)m(ts,)j(unless)c Ft(-s)h -Fu(is)f(sp)s(eci\014ed,)150 5230 y(without)30 b(sp)s(ecifying)g(the)g +(but)d(the)150 5070 y(e\013ectiv)m(e)c(user)d(id)g(is)g(not)h(reset.) +150 5324 y Fs(6.3)68 b(In)l(teractiv)l(e)47 b(Shells)p +eop end +%%Page: 86 92 +TeXDict begin 86 91 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(86)150 299 y Fk(6.3.1)63 +b(What)40 b(is)h(an)g(In)m(teractiv)m(e)e(Shell?)150 +446 y Fu(An)g(in)m(teractiv)m(e)k(shell)d(is)g(one)g(started)g(without) +g(non-option)g(argumen)m(ts,)j(unless)c Ft(-s)h Fu(is)f(sp)s +(eci\014ed,)150 555 y(without)30 b(sp)s(ecifying)g(the)g Ft(-c)f Fu(option,)h(and)g(whose)f(input)g(and)g(error)h(output)f(are)h -(b)s(oth)f(connected)i(to)150 5340 y(terminals)g(\(as)g(determined)f(b) -m(y)g Ft(isatty\(3\))p Fu(\),)e(or)j(one)f(started)h(with)f(the)h -Ft(-i)f Fu(option.)p eop end -%%Page: 84 90 -TeXDict begin 84 89 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(84)275 299 y(An)30 -b(in)m(teractiv)m(e)j(shell)d(generally)i(reads)e(from)g(and)g(writes)g -(to)h(a)g(user's)f(terminal.)275 430 y(The)i Ft(-s)g -Fu(in)m(v)m(o)s(cation)j(option)f(ma)m(y)f(b)s(e)g(used)f(to)i(set)f -(the)g(p)s(ositional)h(parameters)f(when)f(an)h(in)m(ter-)150 -540 y(activ)m(e)g(shell)d(is)h(started.)150 733 y Fk(6.3.2)63 -b(Is)41 b(this)g(Shell)g(In)m(teractiv)m(e?)150 880 y -Fu(T)-8 b(o)30 b(determine)g(within)f(a)h(startup)g(script)f(whether)g -(or)h(not)g(Bash)g(is)g(running)e(in)m(teractiv)m(ely)-8 -b(,)33 b(test)e(the)150 990 y(v)-5 b(alue)30 b(of)g(the)f(`)p +(b)s(oth)f(connected)i(to)150 665 y(terminals)g(\(as)g(determined)f(b)m +(y)g Ft(isatty\(3\))p Fu(\),)e(or)j(one)f(started)h(with)f(the)h +Ft(-i)f Fu(option.)275 797 y(An)g(in)m(teractiv)m(e)j(shell)d +(generally)i(reads)e(from)g(and)g(writes)g(to)h(a)g(user's)f(terminal.) +275 929 y(The)i Ft(-s)g Fu(in)m(v)m(o)s(cation)j(option)f(ma)m(y)f(b)s +(e)g(used)f(to)i(set)f(the)g(p)s(ositional)h(parameters)f(when)f(an)h +(in)m(ter-)150 1038 y(activ)m(e)g(shell)d(is)h(started.)150 +1232 y Fk(6.3.2)63 b(Is)41 b(this)g(Shell)g(In)m(teractiv)m(e?)150 +1379 y Fu(T)-8 b(o)30 b(determine)g(within)f(a)h(startup)g(script)f +(whether)g(or)h(not)g(Bash)g(is)g(running)e(in)m(teractiv)m(ely)-8 +b(,)33 b(test)e(the)150 1489 y(v)-5 b(alue)30 b(of)g(the)f(`)p Ft(-)p Fu(')h(sp)s(ecial)g(parameter.)41 b(It)29 b(con)m(tains)i Ft(i)e Fu(when)g(the)g(shell)h(is)f(in)m(teractiv)m(e.)44 -b(F)-8 b(or)30 b(example:)390 1121 y Ft(case)47 b("$-")f(in)390 -1231 y(*i*\))h(echo)f(This)h(shell)f(is)h(interactive)e(;;)390 -1340 y(*\))i(echo)g(This)f(shell)h(is)g(not)g(interactive)e(;;)390 -1450 y(esac)275 1581 y Fu(Alternativ)m(ely)-8 b(,)28 +b(F)-8 b(or)30 b(example:)390 1621 y Ft(case)47 b("$-")f(in)390 +1730 y(*i*\))h(echo)f(This)h(shell)f(is)h(interactive)e(;;)390 +1840 y(*\))i(echo)g(This)f(shell)h(is)g(not)g(interactive)e(;;)390 +1949 y(esac)275 2081 y Fu(Alternativ)m(ely)-8 b(,)28 b(startup)23 b(scripts)h(ma)m(y)g(examine)g(the)g(v)-5 b(ariable)25 b Ft(PS1)p Fu(;)g(it)g(is)e(unset)h(in)f(non-in)m -(teractiv)m(e)150 1691 y(shells,)31 b(and)e(set)i(in)f(in)m(teractiv)m -(e)k(shells.)40 b(Th)m(us:)390 1822 y Ft(if)47 b([)h(-z)f("$PS1")f(];)h -(then)772 1932 y(echo)f(This)h(shell)f(is)i(not)f(interactive)390 -2042 y(else)772 2151 y(echo)f(This)h(shell)f(is)i(interactive)390 -2261 y(fi)150 2454 y Fk(6.3.3)63 b(In)m(teractiv)m(e)38 -b(Shell)k(Beha)m(vior)150 2601 y Fu(When)30 b(the)h(shell)f(is)h +(teractiv)m(e)150 2191 y(shells,)31 b(and)e(set)i(in)f(in)m(teractiv)m +(e)k(shells.)40 b(Th)m(us:)390 2323 y Ft(if)47 b([)h(-z)f("$PS1")f(];)h +(then)772 2432 y(echo)f(This)h(shell)f(is)i(not)f(interactive)390 +2542 y(else)772 2651 y(echo)f(This)h(shell)f(is)i(interactive)390 +2761 y(fi)150 2955 y Fk(6.3.3)63 b(In)m(teractiv)m(e)38 +b(Shell)k(Beha)m(vior)150 3102 y Fu(When)30 b(the)h(shell)f(is)h (running)d(in)m(teractiv)m(ely)-8 b(,)34 b(it)d(c)m(hanges)h(its)f(b)s -(eha)m(vior)f(in)g(sev)m(eral)i(w)m(a)m(ys.)199 2732 +(eha)m(vior)f(in)g(sev)m(eral)i(w)m(a)m(ys.)199 3234 y(1.)61 b(Startup)37 b(\014les)g(are)h(read)f(and)g(executed)h(as)f (describ)s(ed)g(in)g(Section)h(6.2)g([Bash)g(Startup)e(Files],)330 -2842 y(page)31 b(82.)199 2973 y(2.)61 b(Job)35 b(Con)m(trol)g(\(see)h -(Chapter)f(7)g([Job)g(Con)m(trol],)i(page)f(97\))g(is)f(enabled)g(b)m -(y)g(default.)55 b(When)34 b(job)330 3083 y(con)m(trol)h(is)f(in)f +3343 y(page)31 b(84.)199 3475 y(2.)61 b(Job)32 b(Con)m(trol)h(\(see)g +(Chapter)e(7)i([Job)f(Con)m(trol],)i(page)f(100\))h(is)e(enabled)g(b)m +(y)g(default.)46 b(When)32 b(job)330 3585 y(con)m(trol)j(is)f(in)f (e\013ect,)k(Bash)d(ignores)g(the)g(k)m(eyb)s(oard-generated)h(job)e -(con)m(trol)i(signals)g Ft(SIGTTIN)p Fu(,)330 3192 y -Ft(SIGTTOU)p Fu(,)29 b(and)g Ft(SIGTSTP)p Fu(.)199 3324 +(con)m(trol)i(signals)g Ft(SIGTTIN)p Fu(,)330 3694 y +Ft(SIGTTOU)p Fu(,)29 b(and)g Ft(SIGTSTP)p Fu(.)199 3826 y(3.)61 b(Bash)39 b(expands)f(and)g(displa)m(ys)h Ft(PS1)f Fu(b)s(efore)h(reading)g(the)g(\014rst)f(line)h(of)g(a)g(command,)i -(and)d(ex-)330 3434 y(pands)30 b(and)g(displa)m(ys)h +(and)d(ex-)330 3936 y(pands)30 b(and)g(displa)m(ys)h Ft(PS2)e Fu(b)s(efore)i(reading)g(the)g(second)f(and)h(subsequen)m(t)f -(lines)h(of)g(a)g(m)m(ulti-line)330 3543 y(command.)199 -3675 y(4.)61 b(Bash)26 b(executes)i(the)e(v)-5 b(alue)27 -b(of)f(the)h Ft(PROMPT_COMMAND)22 b Fu(v)-5 b(ariable)27 -b(as)g(a)f(command)g(b)s(efore)g(prin)m(ting)330 3784 -y(the)31 b(primary)e(prompt,)h Ft($PS1)f Fu(\(see)i(Section)g(5.2)h -([Bash)f(V)-8 b(ariables],)32 b(page)f(69\).)199 3916 -y(5.)61 b(Readline)27 b(\(see)g(Chapter)e(8)h([Command)g(Line)g -(Editing],)h(page)g(101\))g(is)f(used)g(to)g(read)g(commands)330 -4025 y(from)k(the)g(user's)g(terminal.)199 4157 y(6.)61 -b(Bash)36 b(insp)s(ects)g(the)h(v)-5 b(alue)37 b(of)f(the)g -Ft(ignoreeof)e Fu(option)j(to)g Ft(set)29 b(-o)36 b Fu(instead)h(of)f -(exiting)i(imme-)330 4266 y(diately)f(when)e(it)i(receiv)m(es)h(an)e -Ft(EOF)f Fu(on)h(its)g(standard)f(input)g(when)h(reading)g(a)g(command) -g(\(see)330 4376 y(Section)31 b(4.3.1)h([The)e(Set)h(Builtin],)g(page)g -(58\).)199 4507 y(7.)61 b(Command)43 b(history)h(\(see)h(Section)g(9.1) -g([Bash)f(History)h(F)-8 b(acilities],)51 b(page)45 b(133\))h(and)d -(history)330 4617 y(expansion)h(\(see)i(Section)f(9.3)h([History)g(In)m -(teraction],)k(page)45 b(135\))h(are)f(enabled)g(b)m(y)f(default.)330 -4726 y(Bash)28 b(will)g(sa)m(v)m(e)h(the)f(command)f(history)h(to)g +(lines)h(of)g(a)g(m)m(ulti-line)330 4045 y(command.)40 +b(Bash)31 b(displa)m(ys)f Ft(PS0)g Fu(after)h(it)g(reads)f(a)h(command) +f(but)f(b)s(efore)h(executing)i(it.)199 4177 y(4.)61 +b(Bash)26 b(executes)i(the)e(v)-5 b(alue)27 b(of)f(the)h +Ft(PROMPT_COMMAND)22 b Fu(v)-5 b(ariable)27 b(as)g(a)f(command)g(b)s +(efore)g(prin)m(ting)330 4287 y(the)31 b(primary)e(prompt,)h +Ft($PS1)f Fu(\(see)i(Section)g(5.2)h([Bash)f(V)-8 b(ariables],)32 +b(page)f(71\).)199 4419 y(5.)61 b(Readline)27 b(\(see)g(Chapter)e(8)h +([Command)g(Line)g(Editing],)h(page)g(104\))g(is)f(used)g(to)g(read)g +(commands)330 4528 y(from)k(the)g(user's)g(terminal.)199 +4660 y(6.)61 b(Bash)36 b(insp)s(ects)g(the)h(v)-5 b(alue)37 +b(of)f(the)g Ft(ignoreeof)e Fu(option)j(to)g Ft(set)29 +b(-o)36 b Fu(instead)h(of)f(exiting)i(imme-)330 4770 +y(diately)f(when)e(it)i(receiv)m(es)h(an)e Ft(EOF)f Fu(on)h(its)g +(standard)f(input)g(when)h(reading)g(a)g(command)g(\(see)330 +4879 y(Section)31 b(4.3.1)h([The)e(Set)h(Builtin],)g(page)g(60\).)199 +5011 y(7.)61 b(Command)43 b(history)h(\(see)h(Section)g(9.1)g([Bash)f +(History)h(F)-8 b(acilities],)51 b(page)45 b(137\))h(and)d(history)330 +5121 y(expansion)h(\(see)i(Section)f(9.3)h([History)g(In)m(teraction],) +k(page)45 b(139\))h(are)f(enabled)g(b)m(y)f(default.)330 +5230 y(Bash)28 b(will)g(sa)m(v)m(e)h(the)f(command)f(history)h(to)g (the)g(\014le)g(named)f(b)m(y)h Ft($HISTFILE)d Fu(when)h(a)i(shell)g -(with)330 4836 y(history)i(enabled)h(exits.)199 4967 -y(8.)61 b(Alias)31 b(expansion)g(\(see)g(Section)g(6.6)g([Aliases],)i -(page)e(88\))h(is)e(p)s(erformed)f(b)m(y)h(default.)199 -5099 y(9.)61 b(In)24 b(the)g(absence)h(of)f(an)m(y)h(traps,)g(Bash)g +(with)330 5340 y(history)i(enabled)h(exits.)p eop end +%%Page: 87 93 +TeXDict begin 87 92 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(87)199 299 y(8.)61 +b(Alias)31 b(expansion)g(\(see)g(Section)g(6.6)g([Aliases],)i(page)e +(90\))h(is)e(p)s(erformed)f(b)m(y)h(default.)199 429 +y(9.)61 b(In)24 b(the)g(absence)h(of)f(an)m(y)h(traps,)g(Bash)g (ignores)f Ft(SIGTERM)f Fu(\(see)i(Section)g(3.7.6)h([Signals],)g(page) -f(38\).)154 5230 y(10.)61 b(In)26 b(the)h(absence)h(of)f(an)m(y)g +f(39\).)154 560 y(10.)61 b(In)26 b(the)h(absence)h(of)f(an)m(y)g (traps,)g Ft(SIGINT)e Fu(is)i(caugh)m(t)h(and)f(handled)e(\(\(see)k -(Section)e(3.7.6)i([Signals],)330 5340 y(page)i(38\).)42 -b Ft(SIGINT)29 b Fu(will)h(in)m(terrupt)g(some)h(shell)g(builtins.)p -eop end -%%Page: 85 91 -TeXDict begin 85 90 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(85)154 299 y(11.)61 -b(An)40 b(in)m(teractiv)m(e)j(login)e(shell)g(sends)e(a)i +(Section)e(3.7.6)i([Signals],)330 669 y(page)i(39\).)42 +b Ft(SIGINT)29 b Fu(will)h(in)m(terrupt)g(some)h(shell)g(builtins.)154 +800 y(11.)61 b(An)40 b(in)m(teractiv)m(e)j(login)e(shell)g(sends)e(a)i Ft(SIGHUP)d Fu(to)j(all)g(jobs)f(on)g(exit)h(if)g(the)f -Ft(huponexit)e Fu(shell)330 408 y(option)31 b(has)f(b)s(een)g(enabled)g -(\(see)h(Section)g(3.7.6)i([Signals],)e(page)g(38\).)154 -542 y(12.)61 b(The)29 b Ft(-n)g Fu(in)m(v)m(o)s(cation)j(option)e(is)g +Ft(huponexit)e Fu(shell)330 909 y(option)31 b(has)f(b)s(een)g(enabled)g +(\(see)h(Section)g(3.7.6)i([Signals],)e(page)g(39\).)154 +1040 y(12.)61 b(The)29 b Ft(-n)g Fu(in)m(v)m(o)s(cation)j(option)e(is)g (ignored,)g(and)f(`)p Ft(set)h(-n)p Fu(')f(has)h(no)f(e\013ect)j(\(see) -e(Section)h(4.3.1)g([The)330 652 y(Set)g(Builtin],)g(page)g(58\).)154 -785 y(13.)61 b(Bash)32 b(will)g(c)m(hec)m(k)i(for)e(mail)g(p)s(erio)s +e(Section)h(4.3.1)g([The)330 1149 y(Set)g(Builtin],)g(page)g(60\).)154 +1280 y(13.)61 b(Bash)32 b(will)g(c)m(hec)m(k)i(for)e(mail)g(p)s(erio)s (dically)-8 b(,)34 b(dep)s(ending)c(on)i(the)g(v)-5 b(alues)32 b(of)g(the)h Ft(MAIL)p Fu(,)e Ft(MAILPATH)p Fu(,)330 -895 y(and)f Ft(MAILCHECK)e Fu(shell)i(v)-5 b(ariables)31 +1389 y(and)f Ft(MAILCHECK)e Fu(shell)i(v)-5 b(ariables)31 b(\(see)h(Section)f(5.2)g([Bash)g(V)-8 b(ariables],)32 -b(page)f(69\).)154 1028 y(14.)61 b(Expansion)32 b(errors)h(due)f(to)i +b(page)f(71\).)154 1520 y(14.)61 b(Expansion)32 b(errors)h(due)f(to)i (references)f(to)h(un)m(b)s(ound)c(shell)j(v)-5 b(ariables)34 b(after)g(`)p Ft(set)29 b(-u)p Fu(')k(has)g(b)s(een)330 -1138 y(enabled)d(will)h(not)g(cause)g(the)f(shell)h(to)g(exit)g(\(see)g -(Section)h(4.3.1)g([The)e(Set)h(Builtin],)g(page)g(58\).)154 -1271 y(15.)61 b(The)48 b(shell)h(will)f(not)h(exit)g(on)g(expansion)f +1629 y(enabled)d(will)h(not)g(cause)g(the)f(shell)h(to)g(exit)g(\(see)g +(Section)h(4.3.1)g([The)e(Set)h(Builtin],)g(page)g(60\).)154 +1760 y(15.)61 b(The)48 b(shell)h(will)f(not)h(exit)g(on)g(expansion)f (errors)g(caused)g(b)m(y)h Fr(v)-5 b(ar)54 b Fu(b)s(eing)48 -b(unset)g(or)h(n)m(ull)f(in)330 1381 y Ft(${)p Fj(var)p +b(unset)g(or)h(n)m(ull)f(in)330 1869 y Ft(${)p Fj(var)p Ft(:?)p Fj(word)p Ft(})27 b Fu(expansions)j(\(see)h(Section)h(3.5.3)g ([Shell)e(P)m(arameter)i(Expansion],)e(page)h(23\).)154 -1514 y(16.)61 b(Redirection)31 b(errors)f(encoun)m(tered)h(b)m(y)f +2000 y(16.)61 b(Redirection)31 b(errors)f(encoun)m(tered)h(b)m(y)f (shell)h(builtins)f(will)g(not)h(cause)g(the)f(shell)h(to)g(exit.)154 -1648 y(17.)61 b(When)26 b(running)f(in)i Fm(posix)e Fu(mo)s(de,)j(a)f +2130 y(17.)61 b(When)26 b(running)f(in)i Fm(posix)e Fu(mo)s(de,)j(a)f (sp)s(ecial)g(builtin)f(returning)g(an)g(error)h(status)g(will)g(not)f -(cause)330 1757 y(the)31 b(shell)f(to)h(exit)h(\(see)f(Section)g(6.11)h -([Bash)f(POSIX)e(Mo)s(de],)i(page)g(94\).)154 1891 y(18.)61 +(cause)330 2240 y(the)31 b(shell)f(to)h(exit)h(\(see)f(Section)g(6.11)h +([Bash)f(POSIX)e(Mo)s(de],)i(page)g(96\).)154 2370 y(18.)61 b(A)34 b(failed)g Ft(exec)f Fu(will)h(not)g(cause)g(the)g(shell)g(to)g (exit)h(\(see)f(Section)h(4.1)g([Bourne)f(Shell)f(Builtins],)330 -2000 y(page)e(41\).)154 2134 y(19.)61 b(P)m(arser)31 +2480 y(page)e(42\).)154 2610 y(19.)61 b(P)m(arser)31 b(syn)m(tax)f(errors)g(will)h(not)g(cause)g(the)f(shell)h(to)g(exit.) -154 2267 y(20.)61 b(Simple)21 b(sp)s(elling)h(correction)g(for)g +154 2741 y(20.)61 b(Simple)21 b(sp)s(elling)h(correction)g(for)g (directory)g(argumen)m(ts)f(to)i(the)e Ft(cd)g Fu(builtin)g(is)h -(enabled)f(b)m(y)h(default)330 2377 y(\(see)35 b(the)g(description)f +(enabled)f(b)m(y)h(default)330 2850 y(\(see)35 b(the)g(description)f (of)h(the)f Ft(cdspell)f Fu(option)h(to)i(the)e Ft(shopt)f -Fu(builtin)h(in)g(Section)h(4.3.2)h([The)330 2486 y(Shopt)30 -b(Builtin],)h(page)g(62\).)154 2620 y(21.)61 b(The)42 +Fu(builtin)h(in)g(Section)h(4.3.2)h([The)330 2960 y(Shopt)30 +b(Builtin],)h(page)g(64\).)154 3090 y(21.)61 b(The)42 b(shell)h(will)g(c)m(hec)m(k)h(the)f(v)-5 b(alue)43 b(of)f(the)h Ft(TMOUT)e Fu(v)-5 b(ariable)44 b(and)e(exit)h(if)g(a)g(command)f(is)h -(not)330 2729 y(read)30 b(within)g(the)g(sp)s(eci\014ed)f(n)m(um)m(b)s +(not)330 3200 y(read)30 b(within)g(the)g(sp)s(eci\014ed)f(n)m(um)m(b)s (er)g(of)i(seconds)f(after)g(prin)m(ting)g Ft($PS1)f -Fu(\(see)i(Section)g(5.2)h([Bash)330 2839 y(V)-8 b(ariables],)32 -b(page)f(69\).)150 3069 y Fs(6.4)68 b(Bash)45 b(Conditional)h -(Expressions)150 3229 y Fu(Conditional)26 b(expressions)g(are)g(used)f +Fu(\(see)i(Section)g(5.2)h([Bash)330 3310 y(V)-8 b(ariables],)32 +b(page)f(71\).)150 3542 y Fs(6.4)68 b(Bash)45 b(Conditional)h +(Expressions)150 3702 y Fu(Conditional)26 b(expressions)g(are)g(used)f (b)m(y)g(the)h Ft([[)f Fu(comp)s(ound)g(command)g(and)g(the)h -Ft(test)f Fu(and)g Ft([)g Fu(builtin)150 3338 y(commands.)275 -3472 y(Expressions)32 b(ma)m(y)h(b)s(e)g(unary)f(or)h(binary)-8 +Ft(test)f Fu(and)g Ft([)g Fu(builtin)150 3811 y(commands.)275 +3942 y(Expressions)32 b(ma)m(y)h(b)s(e)g(unary)f(or)h(binary)-8 b(.)48 b(Unary)33 b(expressions)f(are)i(often)f(used)f(to)i(examine)g -(the)150 3581 y(status)i(of)g(a)g(\014le.)57 b(There)35 -b(are)h(string)g(op)s(erators)g(and)f(n)m(umeric)h(comparison)g(op)s -(erators)g(as)g(w)m(ell.)57 b(If)150 3691 y(the)27 b -Fr(\014le)33 b Fu(argumen)m(t)28 b(to)g(one)f(of)g(the)h(primaries)f -(is)g(of)g(the)h(form)f Ft(/dev/fd/)p Fj(N)p Fu(,)e(then)i(\014le)h -(descriptor)f Fr(N)37 b Fu(is)150 3800 y(c)m(hec)m(k)m(ed.)51 -b(If)32 b(the)h Fr(\014le)39 b Fu(argumen)m(t)33 b(to)h(one)f(of)g(the) -g(primaries)g(is)g(one)g(of)h Ft(/dev/stdin)p Fu(,)d -Ft(/dev/stdout)p Fu(,)150 3910 y(or)f Ft(/dev/stderr)p -Fu(,)e(\014le)i(descriptor)h(0,)g(1,)g(or)f(2,)h(resp)s(ectiv)m(ely)-8 -b(,)32 b(is)f(c)m(hec)m(k)m(ed.)275 4043 y(When)37 b(used)g(with)g -Ft([[)p Fu(,)i(the)f(`)p Ft(<)p Fu(')g(and)f(`)p Ft(>)p -Fu(')h(op)s(erators)g(sort)g(lexicographically)i(using)d(the)h(curren)m -(t)150 4153 y(lo)s(cale.)k(The)30 b Ft(test)f Fu(command)i(uses)f(ASCI) -s(I)e(ordering.)275 4287 y(Unless)44 b(otherwise)h(sp)s(eci\014ed,)j -(primaries)c(that)h(op)s(erate)g(on)g(\014les)f(follo)m(w)i(sym)m(b)s -(olic)f(links)g(and)150 4396 y(op)s(erate)31 b(on)f(the)h(target)h(of)e -(the)h(link,)f(rather)h(than)f(the)g(link)h(itself.)150 -4553 y Ft(-a)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g -Fr(\014le)36 b Fu(exists.)150 4711 y Ft(-b)30 b Fj(file)162 -b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 -b(and)f(is)g(a)h(blo)s(c)m(k)g(sp)s(ecial)g(\014le.)150 -4868 y Ft(-c)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g -Fr(\014le)36 b Fu(exists)31 b(and)f(is)g(a)h(c)m(haracter)h(sp)s(ecial) -f(\014le.)150 5025 y Ft(-d)f Fj(file)162 b Fu(T)-8 b(rue)30 -b(if)g Fr(\014le)36 b Fu(exists)31 b(and)f(is)g(a)h(directory)-8 -b(.)150 5183 y Ft(-e)30 b Fj(file)162 b Fu(T)-8 b(rue)30 -b(if)g Fr(\014le)36 b Fu(exists.)150 5340 y Ft(-f)30 -b Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 -b Fu(exists)31 b(and)f(is)g(a)h(regular)f(\014le.)p eop -end -%%Page: 86 92 -TeXDict begin 86 91 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(86)150 299 y Ft(-g)30 +(the)150 4051 y(status)44 b(of)g(a)g(\014le.)80 b(There)43 +b(are)h(string)f(op)s(erators)h(and)f(n)m(umeric)g(comparison)h(op)s +(erators)g(as)g(w)m(ell.)150 4161 y(Bash)26 b(handles)f(sev)m(eral)i +(\014lenames)f(sp)s(ecially)g(when)f(they)g(are)i(used)d(in)i +(expressions.)38 b(If)26 b(the)f(op)s(erating)150 4270 +y(system)d(on)g(whic)m(h)g(Bash)h(is)f(running)e(pro)m(vides)i(these)h +(sp)s(ecial)g(\014les,)h(Bash)e(will)h(use)f(them;)j(otherwise)d(it)150 +4380 y(will)27 b(em)m(ulate)h(them)e(in)m(ternally)h(with)f(this)g(b)s +(eha)m(vior:)39 b(If)26 b(the)g Fr(\014le)32 b Fu(argumen)m(t)27 +b(to)g(one)f(of)h(the)f(primaries)150 4489 y(is)33 b(of)g(the)f(form)h +Ft(/dev/fd/)p Fj(N)p Fu(,)e(then)h(\014le)h(descriptor)f +Fr(N)43 b Fu(is)33 b(c)m(hec)m(k)m(ed.)49 b(If)33 b(the)f +Fr(\014le)38 b Fu(argumen)m(t)33 b(to)h(one)f(of)150 +4599 y(the)f(primaries)g(is)g(one)g(of)g Ft(/dev/stdin)p +Fu(,)e Ft(/dev/stdout)p Fu(,)f(or)j Ft(/dev/stderr)p +Fu(,)d(\014le)j(descriptor)g(0,)h(1,)g(or)150 4709 y(2,)e(resp)s(ectiv) +m(ely)-8 b(,)32 b(is)f(c)m(hec)m(k)m(ed.)275 4839 y(When)37 +b(used)g(with)g Ft([[)p Fu(,)i(the)f(`)p Ft(<)p Fu(')g(and)f(`)p +Ft(>)p Fu(')h(op)s(erators)g(sort)g(lexicographically)i(using)d(the)h +(curren)m(t)150 4949 y(lo)s(cale.)k(The)30 b Ft(test)f +Fu(command)i(uses)f(ASCI)s(I)e(ordering.)275 5079 y(Unless)44 +b(otherwise)h(sp)s(eci\014ed,)j(primaries)c(that)h(op)s(erate)g(on)g +(\014les)f(follo)m(w)i(sym)m(b)s(olic)f(links)g(and)150 +5189 y(op)s(erate)31 b(on)f(the)h(target)h(of)e(the)h(link,)f(rather)h +(than)f(the)g(link)h(itself.)150 5340 y Ft(-a)f Fj(file)162 +b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists.)p +eop end +%%Page: 88 94 +TeXDict begin 88 93 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(88)150 299 y Ft(-b)30 b Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 -b Fu(exists)31 b(and)f(its)g(set-group-id)h(bit)g(is)f(set.)150 -446 y Ft(-h)g Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 -b Fu(exists)31 b(and)f(is)g(a)h(sym)m(b)s(olic)g(link.)150 -593 y Ft(-k)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 -b Fu(exists)31 b(and)f(its)g Ft(")p Fu(stic)m(ky)p Ft(")h -Fu(bit)g(is)f(set.)150 740 y Ft(-p)g Fj(file)162 b Fu(T)-8 -b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 b(and)f(is)g(a)h(named)f -(pip)s(e)f(\(FIF)m(O\).)150 886 y Ft(-r)h Fj(file)162 +b Fu(exists)31 b(and)f(is)g(a)h(blo)s(c)m(k)g(sp)s(ecial)g(\014le.)150 +461 y Ft(-c)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 +b Fu(exists)31 b(and)f(is)g(a)h(c)m(haracter)h(sp)s(ecial)f(\014le.)150 +623 y Ft(-d)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 +b Fu(exists)31 b(and)f(is)g(a)h(directory)-8 b(.)150 +785 y Ft(-e)30 b Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g +Fr(\014le)36 b Fu(exists.)150 948 y Ft(-f)30 b Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 -b(and)f(is)g(readable.)150 1033 y Ft(-s)g Fj(file)162 +b(and)f(is)g(a)h(regular)f(\014le.)150 1110 y Ft(-g)g +Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b +Fu(exists)31 b(and)f(its)g(set-group-id)h(bit)g(is)f(set.)150 +1272 y Ft(-h)g Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g +Fr(\014le)36 b Fu(exists)31 b(and)f(is)g(a)h(sym)m(b)s(olic)g(link.)150 +1434 y Ft(-k)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g +Fr(\014le)36 b Fu(exists)31 b(and)f(its)g Ft(")p Fu(stic)m(ky)p +Ft(")h Fu(bit)g(is)f(set.)150 1596 y Ft(-p)g Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 -b(and)f(has)g(a)g(size)i(greater)f(than)f(zero.)150 1180 -y Ft(-t)g Fj(fd)258 b Fu(T)-8 b(rue)30 b(if)g(\014le)h(descriptor)f -Fr(fd)j Fu(is)e(op)s(en)e(and)h(refers)g(to)h(a)g(terminal.)150 -1327 y Ft(-u)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g +b(and)f(is)g(a)h(named)f(pip)s(e)f(\(FIF)m(O\).)150 1759 +y Ft(-r)h Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 +b Fu(exists)31 b(and)f(is)g(readable.)150 1921 y Ft(-s)g +Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b +Fu(exists)31 b(and)f(has)g(a)g(size)i(greater)f(than)f(zero.)150 +2083 y Ft(-t)g Fj(fd)258 b Fu(T)-8 b(rue)30 b(if)g(\014le)h(descriptor) +f Fr(fd)j Fu(is)e(op)s(en)e(and)h(refers)g(to)h(a)g(terminal.)150 +2245 y Ft(-u)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 b(and)f(its)g(set-user-id)h(bit)f(is)h -(set.)150 1474 y Ft(-w)f Fj(file)162 b Fu(T)-8 b(rue)30 +(set.)150 2407 y Ft(-w)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 b(and)f(is)g(writable.)150 -1621 y Ft(-x)g Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g +2570 y Ft(-x)g Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 b(and)f(is)g(executable.)150 -1768 y Ft(-G)g Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g +2732 y Ft(-G)g Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 b(and)f(is)g(o)m(wned)g(b)m(y)h(the)f -(e\013ectiv)m(e)j(group)d(id.)150 1915 y Ft(-L)g Fj(file)162 +(e\013ectiv)m(e)j(group)d(id.)150 2894 y Ft(-L)g Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 -b(and)f(is)g(a)h(sym)m(b)s(olic)g(link.)150 2062 y Ft(-N)f +b(and)f(is)g(a)h(sym)m(b)s(olic)g(link.)150 3056 y Ft(-N)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 b(and)f(has)g(b)s(een)f(mo)s(di\014ed)h(since)g(it)h(w)m -(as)g(last)g(read.)150 2209 y Ft(-O)f Fj(file)162 b Fu(T)-8 +(as)g(last)g(read.)150 3218 y Ft(-O)f Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b Fu(exists)31 b(and)f(is)g(o)m(wned)g(b)m -(y)h(the)f(e\013ectiv)m(e)j(user)d(id.)150 2355 y Ft(-S)g +(y)h(the)f(e\013ectiv)m(e)j(user)d(id.)150 3381 y Ft(-S)g Fj(file)162 b Fu(T)-8 b(rue)30 b(if)g Fr(\014le)36 b -Fu(exists)31 b(and)f(is)g(a)h(so)s(c)m(k)m(et.)150 2502 -y Fj(file1)e Ft(-ef)g Fj(file2)630 2612 y Fu(T)-8 b(rue)30 +Fu(exists)31 b(and)f(is)g(a)h(so)s(c)m(k)m(et.)150 3543 +y Fj(file1)e Ft(-ef)g Fj(file2)630 3652 y Fu(T)-8 b(rue)30 b(if)g Fr(\014le1)38 b Fu(and)30 b Fr(\014le2)38 b Fu(refer)30 b(to)i(the)e(same)h(device)g(and)f(ino)s(de)g(n)m(um)m(b)s(ers.)150 -2759 y Fj(file1)f Ft(-nt)g Fj(file2)630 2868 y Fu(T)-8 +3814 y Fj(file1)f Ft(-nt)g Fj(file2)630 3924 y Fu(T)-8 b(rue)23 b(if)h Fr(\014le1)32 b Fu(is)24 b(new)m(er)g(\(according)h(to) g(mo)s(di\014cation)f(date\))h(than)f Fr(\014le2)p Fu(,)i(or)e(if)g -Fr(\014le1)31 b Fu(exists)630 2978 y(and)f Fr(\014le2)38 -b Fu(do)s(es)30 b(not.)150 3125 y Fj(file1)f Ft(-ot)g -Fj(file2)630 3234 y Fu(T)-8 b(rue)30 b(if)g Fr(\014le1)38 +Fr(\014le1)31 b Fu(exists)630 4034 y(and)f Fr(\014le2)38 +b Fu(do)s(es)30 b(not.)150 4196 y Fj(file1)f Ft(-ot)g +Fj(file2)630 4305 y Fu(T)-8 b(rue)30 b(if)g Fr(\014le1)38 b Fu(is)31 b(older)f(than)g Fr(\014le2)p Fu(,)i(or)e(if)g Fr(\014le2)38 b Fu(exists)31 b(and)f Fr(\014le1)38 b -Fu(do)s(es)30 b(not.)150 3381 y Ft(-o)g Fj(optname)630 -3491 y Fu(T)-8 b(rue)41 b(if)g(the)g(shell)h(option)f +Fu(do)s(es)30 b(not.)150 4468 y Ft(-o)g Fj(optname)630 +4577 y Fu(T)-8 b(rue)41 b(if)g(the)g(shell)h(option)f Fr(optname)47 b Fu(is)41 b(enabled.)73 b(The)41 b(list)h(of)f(options)h -(app)s(ears)e(in)630 3601 y(the)33 b(description)h(of)f(the)g +(app)s(ears)e(in)630 4687 y(the)33 b(description)h(of)f(the)g Ft(-o)g Fu(option)g(to)h(the)g Ft(set)e Fu(builtin)h(\(see)h(Section)g -(4.3.1)h([The)e(Set)630 3710 y(Builtin],)e(page)g(58\).)150 -3857 y Ft(-v)f Fj(varname)630 3967 y Fu(T)-8 b(rue)30 +(4.3.1)h([The)e(Set)630 4796 y(Builtin],)e(page)g(60\).)150 +4959 y Ft(-v)f Fj(varname)630 5068 y Fu(T)-8 b(rue)30 b(if)g(the)h(shell)f(v)-5 b(ariable)32 b Fr(v)-5 b(arname)35 b Fu(is)30 b(set)h(\(has)g(b)s(een)e(assigned)i(a)g(v)-5 -b(alue\).)150 4114 y Ft(-R)30 b Fj(varname)630 4223 y +b(alue\).)150 5230 y Ft(-R)30 b Fj(varname)630 5340 y Fu(T)-8 b(rue)30 b(if)g(the)h(shell)f(v)-5 b(ariable)32 b Fr(v)-5 b(arname)35 b Fu(is)30 b(set)h(and)f(is)h(a)f(name)h -(reference.)150 4370 y Ft(-z)f Fj(string)66 b Fu(T)-8 -b(rue)30 b(if)g(the)h(length)g(of)f Fr(string)38 b Fu(is)31 -b(zero.)150 4517 y Ft(-n)f Fj(string)150 4626 y(string)192 -b Fu(T)-8 b(rue)30 b(if)g(the)h(length)g(of)f Fr(string)38 -b Fu(is)31 b(non-zero.)150 4773 y Fj(string1)d Ft(==)i -Fj(string2)150 4883 y(string1)e Ft(=)i Fj(string2)630 -4993 y Fu(T)-8 b(rue)43 b(if)h(the)g(strings)g(are)g(equal.)82 +(reference.)p eop end +%%Page: 89 95 +TeXDict begin 89 94 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(89)150 299 y Ft(-z)30 +b Fj(string)66 b Fu(T)-8 b(rue)30 b(if)g(the)h(length)g(of)f +Fr(string)38 b Fu(is)31 b(zero.)150 462 y Ft(-n)f Fj(string)150 +571 y(string)192 b Fu(T)-8 b(rue)30 b(if)g(the)h(length)g(of)f +Fr(string)38 b Fu(is)31 b(non-zero.)150 734 y Fj(string1)d +Ft(==)i Fj(string2)150 844 y(string1)e Ft(=)i Fj(string2)630 +953 y Fu(T)-8 b(rue)43 b(if)h(the)g(strings)g(are)g(equal.)82 b(When)44 b(used)f(with)g(the)h Ft([[)g Fu(command,)j(this)d(p)s(er-) -630 5102 y(forms)d(pattern)g(matc)m(hing)i(as)f(describ)s(ed)e(ab)s(o)m +630 1063 y(forms)d(pattern)g(matc)m(hing)i(as)f(describ)s(ed)e(ab)s(o)m (v)m(e)j(\(see)f(Section)g(3.2.4.2)i([Conditional)630 -5212 y(Constructs],)30 b(page)h(10\).)630 5340 y(`)p +1173 y(Constructs],)30 b(page)h(10\).)630 1309 y(`)p Ft(=)p Fu(')g(should)e(b)s(e)h(used)f(with)h(the)h Ft(test)e -Fu(command)h(for)g Fm(posix)g Fu(conformance.)p eop end -%%Page: 87 93 -TeXDict begin 87 92 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(87)150 299 y Fj(string1)28 -b Ft(!=)i Fj(string2)630 408 y Fu(T)-8 b(rue)30 b(if)g(the)h(strings)f -(are)h(not)f(equal.)150 563 y Fj(string1)e Ft(<)i Fj(string2)630 -673 y Fu(T)-8 b(rue)30 b(if)g Fr(string1)38 b Fu(sorts)31 -b(b)s(efore)f Fr(string2)38 b Fu(lexicographically)-8 -b(.)150 828 y Fj(string1)28 b Ft(>)i Fj(string2)630 937 -y Fu(T)-8 b(rue)30 b(if)g Fr(string1)38 b Fu(sorts)31 -b(after)g Fr(string2)38 b Fu(lexicographically)-8 b(.)150 -1092 y Fj(arg1)29 b Ft(OP)h Fj(arg2)630 1202 y Ft(OP)j -Fu(is)h(one)g(of)h(`)p Ft(-eq)p Fu(',)f(`)p Ft(-ne)p -Fu(',)h(`)p Ft(-lt)p Fu(',)g(`)p Ft(-le)p Fu(',)f(`)p -Ft(-gt)p Fu(',)h(or)f(`)p Ft(-ge)p Fu('.)51 b(These)34 -b(arithmetic)h(binary)630 1311 y(op)s(erators)h(return)e(true)i(if)f -Fr(arg1)44 b Fu(is)36 b(equal)g(to,)i(not)e(equal)g(to,)i(less)e(than,) -h(less)f(than)f(or)630 1421 y(equal)29 b(to,)g(greater)h(than,)e(or)g -(greater)i(than)d(or)i(equal)f(to)h Fr(arg2)p Fu(,)h(resp)s(ectiv)m -(ely)-8 b(.)42 b Fr(Arg1)36 b Fu(and)630 1531 y Fr(arg2)j -Fu(ma)m(y)30 b(b)s(e)g(p)s(ositiv)m(e)i(or)e(negativ)m(e)j(in)m -(tegers.)150 1758 y Fs(6.5)68 b(Shell)45 b(Arithmetic)150 -1918 y Fu(The)35 b(shell)g(allo)m(ws)i(arithmetic)f(expressions)f(to)h -(b)s(e)f(ev)-5 b(aluated,)38 b(as)d(one)h(of)f(the)h(shell)f -(expansions)g(or)150 2027 y(b)m(y)30 b(the)h Ft(let)e -Fu(and)h(the)h Ft(-i)e Fu(option)i(to)g(the)g Ft(declare)d -Fu(builtins.)275 2160 y(Ev)-5 b(aluation)27 b(is)g(done)f(in)g -(\014xed-width)g(in)m(tegers)i(with)e(no)h(c)m(hec)m(k)h(for)e(o)m(v)m -(er\015o)m(w,)j(though)d(division)h(b)m(y)150 2269 y(0)g(is)g(trapp)s -(ed)f(and)h(\015agged)g(as)h(an)f(error.)39 b(The)26 -b(op)s(erators)h(and)g(their)g(precedence,)h(asso)s(ciativit)m(y)-8 -b(,)32 b(and)150 2379 y(v)-5 b(alues)35 b(are)h(the)f(same)g(as)h(in)e -(the)h(C)g(language.)56 b(The)35 b(follo)m(wing)h(list)g(of)f(op)s -(erators)g(is)g(group)s(ed)f(in)m(to)150 2488 y(lev)m(els)27 +Fu(command)h(for)g Fm(posix)g Fu(conformance.)150 1472 +y Fj(string1)e Ft(!=)i Fj(string2)630 1581 y Fu(T)-8 +b(rue)30 b(if)g(the)h(strings)f(are)h(not)f(equal.)150 +1744 y Fj(string1)e Ft(<)i Fj(string2)630 1854 y Fu(T)-8 +b(rue)30 b(if)g Fr(string1)38 b Fu(sorts)31 b(b)s(efore)f +Fr(string2)38 b Fu(lexicographically)-8 b(.)150 2017 +y Fj(string1)28 b Ft(>)i Fj(string2)630 2126 y Fu(T)-8 +b(rue)30 b(if)g Fr(string1)38 b Fu(sorts)31 b(after)g +Fr(string2)38 b Fu(lexicographically)-8 b(.)150 2289 +y Fj(arg1)29 b Ft(OP)h Fj(arg2)630 2399 y Ft(OP)j Fu(is)h(one)g(of)h(`) +p Ft(-eq)p Fu(',)f(`)p Ft(-ne)p Fu(',)h(`)p Ft(-lt)p +Fu(',)g(`)p Ft(-le)p Fu(',)f(`)p Ft(-gt)p Fu(',)h(or)f(`)p +Ft(-ge)p Fu('.)51 b(These)34 b(arithmetic)h(binary)630 +2508 y(op)s(erators)h(return)e(true)i(if)f Fr(arg1)44 +b Fu(is)36 b(equal)g(to,)i(not)e(equal)g(to,)i(less)e(than,)h(less)f +(than)f(or)630 2618 y(equal)29 b(to,)g(greater)h(than,)e(or)g(greater)i +(than)d(or)i(equal)f(to)h Fr(arg2)p Fu(,)h(resp)s(ectiv)m(ely)-8 +b(.)42 b Fr(Arg1)36 b Fu(and)630 2728 y Fr(arg2)j Fu(ma)m(y)30 +b(b)s(e)g(p)s(ositiv)m(e)i(or)e(negativ)m(e)j(in)m(tegers.)150 +2974 y Fs(6.5)68 b(Shell)45 b(Arithmetic)150 3133 y Fu(The)26 +b(shell)h(allo)m(ws)h(arithmetic)f(expressions)g(to)g(b)s(e)f(ev)-5 +b(aluated,)29 b(as)d(one)h(of)g(the)g(shell)f(expansions)h(or)f(b)m(y) +150 3243 y(using)h(the)g Ft(\(\()g Fu(comp)s(ound)e(command,)j(the)g +Ft(let)e Fu(builtin,)i(or)f(the)g Ft(-i)g Fu(option)h(to)f(the)h +Ft(declare)d Fu(builtin.)275 3381 y(Ev)-5 b(aluation)27 +b(is)g(done)f(in)g(\014xed-width)g(in)m(tegers)i(with)e(no)h(c)m(hec)m +(k)h(for)e(o)m(v)m(er\015o)m(w,)j(though)d(division)h(b)m(y)150 +3490 y(0)g(is)g(trapp)s(ed)f(and)h(\015agged)g(as)h(an)f(error.)39 +b(The)26 b(op)s(erators)h(and)g(their)g(precedence,)h(asso)s(ciativit)m +(y)-8 b(,)32 b(and)150 3600 y(v)-5 b(alues)35 b(are)h(the)f(same)g(as)h +(in)e(the)h(C)g(language.)56 b(The)35 b(follo)m(wing)h(list)g(of)f(op)s +(erators)g(is)g(group)s(ed)f(in)m(to)150 3709 y(lev)m(els)27 b(of)f(equal-precedence)i(op)s(erators.)39 b(The)25 b(lev)m(els)j(are)e (listed)h(in)e(order)h(of)g(decreasing)g(precedence.)150 -2643 y Fj(id)p Ft(++)j Fj(id)p Ft(--)67 b Fu(v)-5 b(ariable)31 +3874 y Fj(id)p Ft(++)j Fj(id)p Ft(--)67 b Fu(v)-5 b(ariable)31 b(p)s(ost-incremen)m(t)g(and)f(p)s(ost-decremen)m(t)150 -2798 y Ft(++)p Fj(id)f Ft(--)p Fj(id)67 b Fu(v)-5 b(ariable)31 -b(pre-incremen)m(t)g(and)f(pre-decremen)m(t)150 2953 +4037 y Ft(++)p Fj(id)f Ft(--)p Fj(id)67 b Fu(v)-5 b(ariable)31 +b(pre-incremen)m(t)g(and)f(pre-decremen)m(t)150 4200 y Ft(-)g(+)354 b Fu(unary)29 b(min)m(us)h(and)g(plus)150 -3108 y Ft(!)g(~)354 b Fu(logical)33 b(and)d(bit)m(wise)h(negation)150 -3263 y Ft(**)384 b Fu(exp)s(onen)m(tiation)150 3417 y +4363 y Ft(!)g(~)354 b Fu(logical)33 b(and)d(bit)m(wise)h(negation)150 +4526 y Ft(**)384 b Fu(exp)s(onen)m(tiation)150 4688 y Ft(*)30 b(/)g(\045)276 b Fu(m)m(ultiplication,)33 b(division,)d -(remainder)150 3572 y Ft(+)g(-)354 b Fu(addition,)31 -b(subtraction)150 3727 y Ft(<<)f(>>)258 b Fu(left)31 -b(and)f(righ)m(t)h(bit)m(wise)g(shifts)150 3882 y Ft(<=)f(>=)g(<)g(>) -102 b Fu(comparison)150 4037 y Ft(==)30 b(!=)258 b Fu(equalit)m(y)32 -b(and)e(inequalit)m(y)150 4192 y Ft(&)432 b Fu(bit)m(wise)31 -b(AND)150 4347 y Ft(^)432 b Fu(bit)m(wise)31 b(exclusiv)m(e)h(OR)150 -4501 y Ft(|)432 b Fu(bit)m(wise)31 b(OR)150 4656 y Ft(&&)384 -b Fu(logical)33 b(AND)150 4811 y Ft(||)384 b Fu(logical)33 -b(OR)150 4966 y Ft(expr)c(?)h(expr)f(:)h(expr)630 5076 -y Fu(conditional)i(op)s(erator)150 5230 y Ft(=)e(*=)g(/=)g(\045=)f(+=)h -(-=)g(<<=)f(>>=)h(&=)g(^=)f(|=)630 5340 y Fu(assignmen)m(t)p -eop end -%%Page: 88 94 -TeXDict begin 88 93 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(88)150 299 y Ft(expr1)29 -b(,)h(expr2)630 408 y Fu(comma)275 574 y(Shell)38 b(v)-5 -b(ariables)39 b(are)g(allo)m(w)m(ed)i(as)e(op)s(erands;)i(parameter)e -(expansion)g(is)f(p)s(erformed)g(b)s(efore)g(the)150 -684 y(expression)g(is)g(ev)-5 b(aluated.)66 b(Within)38 -b(an)h(expression,)h(shell)e(v)-5 b(ariables)39 b(ma)m(y)g(also)g(b)s -(e)f(referenced)g(b)m(y)150 793 y(name)31 b(without)f(using)g(the)h -(parameter)g(expansion)f(syn)m(tax.)42 b(A)31 b(shell)f(v)-5 -b(ariable)32 b(that)f(is)f(n)m(ull)h(or)f(unset)150 903 -y(ev)-5 b(aluates)41 b(to)f(0)g(when)e(referenced)h(b)m(y)g(name)h -(without)f(using)g(the)g(parameter)h(expansion)f(syn)m(tax.)150 -1012 y(The)c(v)-5 b(alue)37 b(of)f(a)h(v)-5 b(ariable)36 -b(is)g(ev)-5 b(aluated)38 b(as)e(an)g(arithmetic)h(expression)f(when)f -(it)h(is)g(referenced,)i(or)150 1122 y(when)31 b(a)i(v)-5 -b(ariable)33 b(whic)m(h)f(has)g(b)s(een)f(giv)m(en)j(the)e -Fr(in)m(teger)40 b Fu(attribute)33 b(using)f(`)p Ft(declare)d(-i)p -Fu(')i(is)i(assigned)150 1232 y(a)j(v)-5 b(alue.)58 b(A)36 -b(n)m(ull)f(v)-5 b(alue)37 b(ev)-5 b(aluates)37 b(to)g(0.)57 -b(A)36 b(shell)g(v)-5 b(ariable)37 b(need)e(not)h(ha)m(v)m(e)h(its)f -Fr(in)m(teger)44 b Fu(attribute)150 1341 y(turned)29 -b(on)h(to)i(b)s(e)d(used)h(in)g(an)g(expression.)275 -1480 y(Constan)m(ts)41 b(with)g(a)h(leading)f(0)h(are)g(in)m(terpreted) -f(as)g(o)s(ctal)i(n)m(um)m(b)s(ers.)72 b(A)41 b(leading)h(`)p -Ft(0x)p Fu(')f(or)g(`)p Ft(0X)p Fu(')150 1589 y(denotes)30 -b(hexadecimal.)42 b(Otherwise,)30 b(n)m(um)m(b)s(ers)f(tak)m(e)i(the)f -(form)g([)p Fr(base)5 b Ft(#)p Fu(])p Fr(n)p Fu(,)30 -b(where)f(the)i(optional)g Fr(base)150 1699 y Fu(is)e(a)h(decimal)g(n)m -(um)m(b)s(er)e(b)s(et)m(w)m(een)h(2)h(and)e(64)i(represen)m(ting)g(the) -f(arithmetic)i(base,)e(and)g Fr(n)g Fu(is)g(a)g(n)m(um)m(b)s(er)150 -1809 y(in)e(that)h(base.)40 b(If)26 b Fr(base)5 b Ft(#)27 -b Fu(is)h(omitted,)h(then)e(base)g(10)h(is)f(used.)39 -b(When)27 b(sp)s(ecifying)g Fr(n)p Fu(,)h(he)f(digits)h(greater)150 -1918 y(than)33 b(9)h(are)g(represen)m(ted)g(b)m(y)f(the)h(lo)m(w)m -(ercase)i(letters,)g(the)d(upp)s(ercase)g(letters,)j(`)p +(remainder)150 4851 y Ft(+)g(-)354 b Fu(addition,)31 +b(subtraction)150 5014 y Ft(<<)f(>>)258 b Fu(left)31 +b(and)f(righ)m(t)h(bit)m(wise)g(shifts)150 5177 y Ft(<=)f(>=)g(<)g(>) +102 b Fu(comparison)150 5340 y Ft(==)30 b(!=)258 b Fu(equalit)m(y)32 +b(and)e(inequalit)m(y)p eop end +%%Page: 90 96 +TeXDict begin 90 95 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(90)150 299 y Ft(&)432 +b Fu(bit)m(wise)31 b(AND)150 459 y Ft(^)432 b Fu(bit)m(wise)31 +b(exclusiv)m(e)h(OR)150 618 y Ft(|)432 b Fu(bit)m(wise)31 +b(OR)150 778 y Ft(&&)384 b Fu(logical)33 b(AND)150 938 +y Ft(||)384 b Fu(logical)33 b(OR)150 1097 y Ft(expr)c(?)h(expr)f(:)h +(expr)630 1207 y Fu(conditional)i(op)s(erator)150 1366 +y Ft(=)e(*=)g(/=)g(\045=)f(+=)h(-=)g(<<=)f(>>=)h(&=)g(^=)f(|=)630 +1476 y Fu(assignmen)m(t)150 1636 y Ft(expr1)g(,)h(expr2)630 +1745 y Fu(comma)275 1905 y(Shell)38 b(v)-5 b(ariables)39 +b(are)g(allo)m(w)m(ed)i(as)e(op)s(erands;)i(parameter)e(expansion)g(is) +f(p)s(erformed)g(b)s(efore)g(the)150 2015 y(expression)g(is)g(ev)-5 +b(aluated.)66 b(Within)38 b(an)h(expression,)h(shell)e(v)-5 +b(ariables)39 b(ma)m(y)g(also)g(b)s(e)f(referenced)g(b)m(y)150 +2124 y(name)31 b(without)f(using)g(the)h(parameter)g(expansion)f(syn)m +(tax.)42 b(A)31 b(shell)f(v)-5 b(ariable)32 b(that)f(is)f(n)m(ull)h(or) +f(unset)150 2234 y(ev)-5 b(aluates)41 b(to)f(0)g(when)e(referenced)h(b) +m(y)g(name)h(without)f(using)g(the)g(parameter)h(expansion)f(syn)m +(tax.)150 2343 y(The)c(v)-5 b(alue)37 b(of)f(a)h(v)-5 +b(ariable)36 b(is)g(ev)-5 b(aluated)38 b(as)e(an)g(arithmetic)h +(expression)f(when)f(it)h(is)g(referenced,)i(or)150 2453 +y(when)31 b(a)i(v)-5 b(ariable)33 b(whic)m(h)f(has)g(b)s(een)f(giv)m +(en)j(the)e Fr(in)m(teger)40 b Fu(attribute)33 b(using)f(`)p +Ft(declare)d(-i)p Fu(')i(is)i(assigned)150 2563 y(a)j(v)-5 +b(alue.)58 b(A)36 b(n)m(ull)f(v)-5 b(alue)37 b(ev)-5 +b(aluates)37 b(to)g(0.)57 b(A)36 b(shell)g(v)-5 b(ariable)37 +b(need)e(not)h(ha)m(v)m(e)h(its)f Fr(in)m(teger)44 b +Fu(attribute)150 2672 y(turned)29 b(on)h(to)i(b)s(e)d(used)h(in)g(an)g +(expression.)275 2807 y(Constan)m(ts)41 b(with)g(a)h(leading)f(0)h(are) +g(in)m(terpreted)f(as)g(o)s(ctal)i(n)m(um)m(b)s(ers.)72 +b(A)41 b(leading)h(`)p Ft(0x)p Fu(')f(or)g(`)p Ft(0X)p +Fu(')150 2916 y(denotes)30 b(hexadecimal.)42 b(Otherwise,)30 +b(n)m(um)m(b)s(ers)f(tak)m(e)i(the)f(form)g([)p Fr(base)5 +b Ft(#)p Fu(])p Fr(n)p Fu(,)30 b(where)f(the)i(optional)g +Fr(base)150 3026 y Fu(is)e(a)h(decimal)g(n)m(um)m(b)s(er)e(b)s(et)m(w)m +(een)h(2)h(and)e(64)i(represen)m(ting)g(the)f(arithmetic)i(base,)e(and) +g Fr(n)g Fu(is)g(a)g(n)m(um)m(b)s(er)150 3136 y(in)c(that)g(base.)39 +b(If)25 b Fr(base)5 b Ft(#)24 b Fu(is)h(omitted,)j(then)c(base)h(10)h +(is)f(used.)38 b(When)25 b(sp)s(ecifying)f Fr(n)p Fu(,)i(the)f(digits)h +(greater)150 3245 y(than)33 b(9)h(are)g(represen)m(ted)g(b)m(y)f(the)h +(lo)m(w)m(ercase)i(letters,)g(the)d(upp)s(ercase)g(letters,)j(`)p Ft(@)p Fu(',)e(and)f(`)p Ft(_)p Fu(',)i(in)e(that)150 -2028 y(order.)69 b(If)39 b Fr(base)45 b Fu(is)40 b(less)g(than)g(or)f +3355 y(order.)69 b(If)39 b Fr(base)45 b Fu(is)40 b(less)g(than)g(or)f (equal)i(to)f(36,)k(lo)m(w)m(ercase)e(and)d(upp)s(ercase)g(letters)i -(ma)m(y)g(b)s(e)e(used)150 2137 y(in)m(terc)m(hangeably)32 +(ma)m(y)g(b)s(e)e(used)150 3464 y(in)m(terc)m(hangeably)32 b(to)f(represen)m(t)g(n)m(um)m(b)s(ers)e(b)s(et)m(w)m(een)i(10)g(and)f -(35.)275 2276 y(Op)s(erators)44 b(are)h(ev)-5 b(aluated)46 +(35.)275 3599 y(Op)s(erators)44 b(are)h(ev)-5 b(aluated)46 b(in)f(order)f(of)h(precedence.)85 b(Sub-expressions)44 -b(in)g(paren)m(theses)i(are)150 2386 y(ev)-5 b(aluated)32 +b(in)g(paren)m(theses)i(are)150 3709 y(ev)-5 b(aluated)32 b(\014rst)d(and)h(ma)m(y)h(o)m(v)m(erride)g(the)g(precedence)g(rules)f -(ab)s(o)m(v)m(e.)150 2624 y Fs(6.6)68 b(Aliases)150 2784 +(ab)s(o)m(v)m(e.)150 3950 y Fs(6.6)68 b(Aliases)150 4109 y Fr(Aliases)41 b Fu(allo)m(w)d(a)f(string)f(to)h(b)s(e)f(substituted)g (for)g(a)g(w)m(ord)g(when)g(it)h(is)f(used)f(as)i(the)g(\014rst)e(w)m -(ord)h(of)h(a)150 2893 y(simple)32 b(command.)45 b(The)31 +(ord)h(of)h(a)150 4219 y(simple)32 b(command.)45 b(The)31 b(shell)i(main)m(tains)f(a)h(list)f(of)g(aliases)i(that)e(ma)m(y)h(b)s -(e)e(set)h(and)g(unset)f(with)h(the)150 3003 y Ft(alias)d -Fu(and)h Ft(unalias)e Fu(builtin)i(commands.)275 3142 +(e)e(set)h(and)g(unset)f(with)h(the)150 4329 y Ft(alias)d +Fu(and)h Ft(unalias)e Fu(builtin)i(commands.)275 4463 y(The)f(\014rst)f(w)m(ord)i(of)f(eac)m(h)i(simple)f(command,)g(if)f (unquoted,)g(is)h(c)m(hec)m(k)m(ed)h(to)g(see)f(if)g(it)g(has)f(an)g -(alias.)150 3251 y(If)24 b(so,)i(that)g(w)m(ord)e(is)h(replaced)g(b)m +(alias.)150 4573 y(If)24 b(so,)i(that)g(w)m(ord)e(is)h(replaced)g(b)m (y)f(the)h(text)h(of)e(the)h(alias.)40 b(The)24 b(c)m(haracters)i(`)p Ft(/)p Fu(',)h(`)p Ft($)p Fu(',)f(`)p Ft(`)p Fu(',)g(`)p -Ft(=)p Fu(')f(and)f(an)m(y)h(of)150 3361 y(the)e(shell)g(metac)m +Ft(=)p Fu(')f(and)f(an)m(y)h(of)150 4682 y(the)e(shell)g(metac)m (haracters)i(or)e(quoting)g(c)m(haracters)h(listed)g(ab)s(o)m(v)m(e)g (ma)m(y)f(not)g(app)s(ear)f(in)h(an)g(alias)h(name.)150 -3470 y(The)e(replacemen)m(t)h(text)g(ma)m(y)g(con)m(tain)h(an)m(y)e(v) +4792 y(The)e(replacemen)m(t)h(text)g(ma)m(y)g(con)m(tain)h(an)m(y)e(v) -5 b(alid)23 b(shell)f(input,)h(including)f(shell)g(metac)m(haracters.) -40 b(The)150 3580 y(\014rst)35 b(w)m(ord)g(of)h(the)g(replacemen)m(t)i +40 b(The)150 4902 y(\014rst)35 b(w)m(ord)g(of)h(the)g(replacemen)m(t)i (text)e(is)g(tested)h(for)e(aliases,)k(but)c(a)h(w)m(ord)g(that)g(is)g -(iden)m(tical)i(to)e(an)150 3689 y(alias)c(b)s(eing)f(expanded)f(is)h +(iden)m(tical)i(to)e(an)150 5011 y(alias)c(b)s(eing)f(expanded)f(is)h (not)g(expanded)f(a)h(second)g(time.)43 b(This)30 b(means)h(that)g(one) -g(ma)m(y)h(alias)g Ft(ls)e Fu(to)150 3799 y Ft("ls)f(-F")p +g(ma)m(y)h(alias)g Ft(ls)e Fu(to)150 5121 y Ft("ls)f(-F")p Fu(,)f(for)f(instance,)i(and)d(Bash)i(do)s(es)f(not)h(try)f(to)h (recursiv)m(ely)g(expand)e(the)i(replacemen)m(t)h(text.)40 -b(If)150 3909 y(the)31 b(last)h(c)m(haracter)h(of)e(the)h(alias)g(v)-5 +b(If)150 5230 y(the)31 b(last)h(c)m(haracter)h(of)e(the)h(alias)g(v)-5 b(alue)31 b(is)h(a)f Fr(blank)p Fu(,)g(then)g(the)g(next)h(command)e(w) -m(ord)h(follo)m(wing)i(the)150 4018 y(alias)f(is)e(also)h(c)m(hec)m(k)m -(ed)i(for)d(alias)h(expansion.)275 4157 y(Aliases)e(are)f(created)i -(and)d(listed)i(with)f(the)g Ft(alias)f Fu(command,)h(and)g(remo)m(v)m -(ed)h(with)f(the)g Ft(unalias)150 4267 y Fu(command.)275 -4405 y(There)44 b(is)h(no)g(mec)m(hanism)g(for)f(using)h(argumen)m(ts)g -(in)f(the)h(replacemen)m(t)i(text,)i(as)d(in)e Ft(csh)p -Fu(.)83 b(If)150 4515 y(argumen)m(ts)37 b(are)h(needed,)g(a)g(shell)f -(function)f(should)g(b)s(e)h(used)f(\(see)i(Section)g(3.3)g([Shell)f(F) --8 b(unctions],)150 4624 y(page)31 b(17\).)275 4763 y(Aliases)i(are)h -(not)e(expanded)g(when)g(the)h(shell)g(is)g(not)g(in)m(teractiv)m(e,)j -(unless)c(the)h Ft(expand_aliases)150 4873 y Fu(shell)e(option)f(is)h -(set)g(using)f Ft(shopt)f Fu(\(see)i(Section)g(4.3.2)h([The)e(Shopt)g -(Builtin],)h(page)g(62\).)275 5011 y(The)38 b(rules)h(concerning)h(the) -f(de\014nition)g(and)g(use)g(of)g(aliases)i(are)e(somewhat)h -(confusing.)67 b(Bash)150 5121 y(alw)m(a)m(ys)42 b(reads)f(at)h(least)g -(one)f(complete)i(line)e(of)g(input)f(b)s(efore)h(executing)h(an)m(y)f -(of)g(the)g(commands)150 5230 y(on)h(that)h(line.)77 -b(Aliases)44 b(are)e(expanded)g(when)f(a)i(command)f(is)g(read,)k(not)c -(when)g(it)g(is)h(executed.)150 5340 y(Therefore,)f(an)e(alias)h -(de\014nition)e(app)s(earing)h(on)f(the)h(same)h(line)f(as)g(another)g -(command)f(do)s(es)h(not)p eop end -%%Page: 89 95 -TeXDict begin 89 94 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(89)150 299 y(tak)m(e)31 -b(e\013ect)f(un)m(til)g(the)f(next)g(line)h(of)f(input)f(is)h(read.)41 -b(The)28 b(commands)h(follo)m(wing)i(the)e(alias)h(de\014nition)150 -408 y(on)d(that)h(line)f(are)h(not)f(a\013ected)i(b)m(y)e(the)g(new)g -(alias.)41 b(This)26 b(b)s(eha)m(vior)h(is)g(also)h(an)f(issue)g(when)f -(functions)150 518 y(are)d(executed.)39 b(Aliases)24 -b(are)f(expanded)f(when)f(a)i(function)g(de\014nition)f(is)h(read,)h -(not)f(when)e(the)i(function)150 628 y(is)i(executed,)j(b)s(ecause)d(a) -h(function)f(de\014nition)f(is)i(itself)g(a)f(comp)s(ound)f(command.)39 -b(As)25 b(a)h(consequence,)150 737 y(aliases)36 b(de\014ned)d(in)h(a)g -(function)g(are)h(not)f(a)m(v)-5 b(ailable)37 b(un)m(til)d(after)h -(that)g(function)f(is)g(executed.)53 b(T)-8 b(o)35 b(b)s(e)150 -847 y(safe,)41 b(alw)m(a)m(ys)f(put)d(alias)j(de\014nitions)e(on)g(a)h -(separate)g(line,)i(and)d(do)g(not)g(use)g Ft(alias)f -Fu(in)h(comp)s(ound)150 956 y(commands.)275 1094 y(F)-8 -b(or)31 b(almost)g(ev)m(ery)g(purp)s(ose,)e(shell)i(functions)f(are)g -(preferred)g(o)m(v)m(er)h(aliases.)150 1332 y Fs(6.7)68 -b(Arra)l(ys)150 1491 y Fu(Bash)33 b(pro)m(vides)g(one-dimensional)g -(indexed)f(and)h(asso)s(ciativ)m(e)i(arra)m(y)e(v)-5 +m(ord)h(follo)m(wing)i(the)150 5340 y(alias)f(is)e(also)h(c)m(hec)m(k)m +(ed)i(for)d(alias)h(expansion.)p eop end +%%Page: 91 97 +TeXDict begin 91 96 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(91)275 299 y(Aliases)29 +b(are)f(created)i(and)d(listed)i(with)f(the)g Ft(alias)f +Fu(command,)h(and)g(remo)m(v)m(ed)h(with)f(the)g Ft(unalias)150 +408 y Fu(command.)275 540 y(There)44 b(is)h(no)g(mec)m(hanism)g(for)f +(using)h(argumen)m(ts)g(in)f(the)h(replacemen)m(t)i(text,)i(as)d(in)e +Ft(csh)p Fu(.)83 b(If)150 650 y(argumen)m(ts)37 b(are)h(needed,)g(a)g +(shell)f(function)f(should)g(b)s(e)h(used)f(\(see)i(Section)g(3.3)g +([Shell)f(F)-8 b(unctions],)150 759 y(page)31 b(17\).)275 +891 y(Aliases)i(are)h(not)e(expanded)g(when)g(the)h(shell)g(is)g(not)g +(in)m(teractiv)m(e,)j(unless)c(the)h Ft(expand_aliases)150 +1000 y Fu(shell)e(option)f(is)h(set)g(using)f Ft(shopt)f +Fu(\(see)i(Section)g(4.3.2)h([The)e(Shopt)g(Builtin],)h(page)g(64\).) +275 1132 y(The)38 b(rules)h(concerning)h(the)f(de\014nition)g(and)g +(use)g(of)g(aliases)i(are)e(somewhat)h(confusing.)67 +b(Bash)150 1241 y(alw)m(a)m(ys)33 b(reads)f(at)g(least)i(one)e +(complete)h(line)f(of)g(input)f(b)s(efore)g(executing)i(an)m(y)g(of)f +(the)g(commands)f(on)150 1351 y(that)22 b(line.)39 b(Aliases)23 +b(are)f(expanded)f(when)g(a)h(command)g(is)f(read,)j(not)e(when)f(it)h +(is)g(executed.)39 b(Therefore,)150 1461 y(an)24 b(alias)i +(de\014nition)e(app)s(earing)g(on)g(the)h(same)g(line)f(as)h(another)g +(command)f(do)s(es)g(not)h(tak)m(e)h(e\013ect)g(un)m(til)150 +1570 y(the)k(next)f(line)h(of)g(input)f(is)g(read.)40 +b(The)29 b(commands)h(follo)m(wing)h(the)e(alias)i(de\014nition)e(on)h +(that)g(line)g(are)150 1680 y(not)j(a\013ected)h(b)m(y)f(the)g(new)f +(alias.)49 b(This)32 b(b)s(eha)m(vior)h(is)g(also)g(an)g(issue)g(when)e +(functions)i(are)g(executed.)150 1789 y(Aliases)c(are)g(expanded)e +(when)g(a)i(function)e(de\014nition)h(is)g(read,)h(not)f(when)g(the)g +(function)g(is)g(executed,)150 1899 y(b)s(ecause)36 b(a)h(function)f +(de\014nition)f(is)i(itself)g(a)f(command.)58 b(As)36 +b(a)h(consequence,)h(aliases)g(de\014ned)d(in)h(a)150 +2009 y(function)28 b(are)h(not)g(a)m(v)-5 b(ailable)31 +b(un)m(til)e(after)g(that)g(function)f(is)g(executed.)41 +b(T)-8 b(o)29 b(b)s(e)f(safe,)i(alw)m(a)m(ys)g(put)e(alias)150 +2118 y(de\014nitions)i(on)g(a)h(separate)g(line,)g(and)f(do)g(not)h +(use)f Ft(alias)f Fu(in)h(comp)s(ound)f(commands.)275 +2250 y(F)-8 b(or)31 b(almost)g(ev)m(ery)g(purp)s(ose,)e(shell)i +(functions)f(are)g(preferred)g(o)m(v)m(er)h(aliases.)150 +2484 y Fs(6.7)68 b(Arra)l(ys)150 2644 y Fu(Bash)33 b(pro)m(vides)g +(one-dimensional)g(indexed)f(and)h(asso)s(ciativ)m(e)i(arra)m(y)e(v)-5 b(ariables.)49 b(An)m(y)33 b(v)-5 b(ariable)33 b(ma)m(y)150 -1601 y(b)s(e)e(used)h(as)g(an)g(indexed)f(arra)m(y;)j(the)e +2753 y(b)s(e)e(used)h(as)g(an)g(indexed)f(arra)m(y;)j(the)e Ft(declare)e Fu(builtin)h(will)i(explicitly)g(declare)g(an)f(arra)m(y) --8 b(.)46 b(There)32 b(is)150 1710 y(no)h(maxim)m(um)g(limit)h(on)f +-8 b(.)46 b(There)32 b(is)150 2863 y(no)h(maxim)m(um)g(limit)h(on)f (the)g(size)h(of)g(an)f(arra)m(y)-8 b(,)35 b(nor)d(an)m(y)i(requiremen) -m(t)f(that)h(mem)m(b)s(ers)e(b)s(e)g(indexed)150 1820 +m(t)f(that)h(mem)m(b)s(ers)e(b)s(e)g(indexed)150 2973 y(or)26 b(assigned)h(con)m(tiguously)-8 b(.)41 b(Indexed)25 b(arra)m(ys)i(are)f(referenced)g(using)g(in)m(tegers)i(\(including)e -(arithmetic)150 1929 y(expressions)38 b(\(see)h(Section)g(6.5)h([Shell) -e(Arithmetic],)k(page)d(87\)\))h(and)d(are)i(zero-based;)k(asso)s -(ciativ)m(e)150 2039 y(arra)m(ys)37 b(use)f(arbitrary)g(strings.)59 +(arithmetic)150 3082 y(expressions)38 b(\(see)h(Section)g(6.5)h([Shell) +e(Arithmetic],)k(page)d(89\)\))h(and)d(are)i(zero-based;)k(asso)s +(ciativ)m(e)150 3192 y(arra)m(ys)37 b(use)f(arbitrary)g(strings.)59 b(Unless)36 b(otherwise)h(noted,)h(indexed)e(arra)m(y)h(indices)f(m)m -(ust)g(b)s(e)g(non-)150 2149 y(negativ)m(e)d(in)m(tegers.)275 -2286 y(An)26 b(indexed)h(arra)m(y)h(is)f(created)h(automatically)j(if)c +(ust)g(b)s(e)g(non-)150 3301 y(negativ)m(e)d(in)m(tegers.)275 +3433 y(An)26 b(indexed)h(arra)m(y)h(is)f(created)h(automatically)j(if)c (an)m(y)g(v)-5 b(ariable)28 b(is)g(assigned)f(to)h(using)f(the)g(syn)m -(tax)390 2424 y Fj(name)p Ft([)p Fj(subscript)p Ft(]=)p -Fj(value)150 2562 y Fu(The)34 b Fr(subscript)h Fu(is)g(treated)g(as)g +(tax)390 3564 y Fj(name)p Ft([)p Fj(subscript)p Ft(]=)p +Fj(value)150 3696 y Fu(The)34 b Fr(subscript)h Fu(is)g(treated)g(as)g (an)f(arithmetic)i(expression)e(that)h(m)m(ust)g(ev)-5 b(aluate)36 b(to)f(a)g(n)m(um)m(b)s(er.)51 b(T)-8 b(o)150 -2672 y(explicitly)32 b(declare)f(an)g(arra)m(y)-8 b(,)31 -b(use)390 2809 y Ft(declare)46 b(-a)h Fj(name)150 2947 -y Fu(The)30 b(syn)m(tax)390 3085 y Ft(declare)46 b(-a)h -Fj(name)p Ft([)p Fj(subscript)p Ft(])150 3223 y Fu(is)30 +3806 y(explicitly)32 b(declare)f(an)g(arra)m(y)-8 b(,)31 +b(use)390 3937 y Ft(declare)46 b(-a)h Fj(name)150 4069 +y Fu(The)30 b(syn)m(tax)390 4200 y Ft(declare)46 b(-a)h +Fj(name)p Ft([)p Fj(subscript)p Ft(])150 4332 y Fu(is)30 b(also)i(accepted;)g(the)e Fr(subscript)h Fu(is)g(ignored.)150 -3361 y(Asso)s(ciativ)m(e)i(arra)m(ys)d(are)h(created)h(using)390 -3499 y Ft(declare)46 b(-A)h Fj(name)p Ft(.)275 3636 y +4463 y(Asso)s(ciativ)m(e)i(arra)m(ys)d(are)h(created)h(using)390 +4595 y Ft(declare)46 b(-A)h Fj(name)p Ft(.)275 4726 y Fu(A)m(ttributes)f(ma)m(y)h(b)s(e)e(sp)s(eci\014ed)g(for)h(an)g(arra)m (y)g(v)-5 b(ariable)47 b(using)e(the)h Ft(declare)e Fu(and)h -Ft(readonly)150 3746 y Fu(builtins.)40 b(Eac)m(h)31 b(attribute)g +Ft(readonly)150 4836 y Fu(builtins.)40 b(Eac)m(h)31 b(attribute)g (applies)g(to)g(all)g(mem)m(b)s(ers)f(of)g(an)h(arra)m(y)-8 -b(.)275 3884 y(Arra)m(ys)30 b(are)h(assigned)f(to)h(using)f(comp)s -(ound)f(assignmen)m(ts)i(of)g(the)f(form)390 4022 y Fj(name)p -Ft(=\()p Fj(value1)44 b(value2)j Ft(...)f(\))150 4159 +b(.)275 4967 y(Arra)m(ys)30 b(are)h(assigned)f(to)h(using)f(comp)s +(ound)f(assignmen)m(ts)i(of)g(the)f(form)390 5099 y Fj(name)p +Ft(=\()p Fj(value1)44 b(value2)j Ft(...)f(\))150 5230 y Fu(where)38 b(eac)m(h)i Fr(v)-5 b(alue)44 b Fu(is)39 b(of)g(the)g(form)f Ft([)p Fj(subscript)p Ft(]=)p Fr(string)p Fu(.)63 b(Indexed)37 b(arra)m(y)j(assignmen)m(ts)f(do)g(not)150 -4269 y(require)31 b(an)m(ything)g(but)f Fr(string)p Fu(.)43 +5340 y(require)31 b(an)m(ything)g(but)f Fr(string)p Fu(.)43 b(When)31 b(assigning)g(to)h(indexed)e(arra)m(ys,)i(if)f(the)g -(optional)h(subscript)e(is)150 4379 y(supplied,)i(that)h(index)f(is)h -(assigned)g(to;)h(otherwise)f(the)g(index)f(of)h(the)g(elemen)m(t)h -(assigned)f(is)f(the)h(last)150 4488 y(index)d(assigned)h(to)g(b)m(y)f -(the)g(statemen)m(t)j(plus)c(one.)41 b(Indexing)30 b(starts)h(at)g -(zero.)275 4626 y(When)f(assigning)h(to)g(an)f(asso)s(ciativ)m(e)j -(arra)m(y)-8 b(,)32 b(the)e(subscript)f(is)i(required.)275 -4764 y(This)f(syn)m(tax)j(is)e(also)i(accepted)g(b)m(y)f(the)f -Ft(declare)f Fu(builtin.)44 b(Individual)31 b(arra)m(y)h(elemen)m(ts)h -(ma)m(y)g(b)s(e)150 4873 y(assigned)e(to)g(using)f(the)g +(optional)h(subscript)e(is)p eop end +%%Page: 92 98 +TeXDict begin 92 97 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(92)150 299 y(supplied,)32 +b(that)h(index)f(is)h(assigned)g(to;)h(otherwise)f(the)g(index)f(of)h +(the)g(elemen)m(t)h(assigned)f(is)f(the)h(last)150 408 +y(index)d(assigned)h(to)g(b)m(y)f(the)g(statemen)m(t)j(plus)c(one.)41 +b(Indexing)30 b(starts)h(at)g(zero.)275 555 y(When)f(assigning)h(to)g +(an)f(asso)s(ciativ)m(e)j(arra)m(y)-8 b(,)32 b(the)e(subscript)f(is)i +(required.)275 701 y(This)f(syn)m(tax)j(is)e(also)i(accepted)g(b)m(y)f +(the)f Ft(declare)f Fu(builtin.)44 b(Individual)31 b(arra)m(y)h(elemen) +m(ts)h(ma)m(y)g(b)s(e)150 810 y(assigned)e(to)g(using)f(the)g Fj(name)p Ft([)p Fj(subscript)p Ft(]=)p Fj(value)25 b Fu(syn)m(tax)31 b(in)m(tro)s(duced)e(ab)s(o)m(v)m(e.)275 -5011 y(When)h(assigning)h(to)h(an)e(indexed)g(arra)m(y)-8 +956 y(When)h(assigning)h(to)h(an)e(indexed)g(arra)m(y)-8 b(,)32 b(if)f Fr(name)36 b Fu(is)31 b(subscripted)e(b)m(y)i(a)g -(negativ)m(e)i(n)m(um)m(b)s(er,)c(that)150 5121 y(n)m(um)m(b)s(er)43 +(negativ)m(e)i(n)m(um)m(b)s(er,)c(that)150 1066 y(n)m(um)m(b)s(er)43 b(is)h(in)m(terpreted)h(as)f(relativ)m(e)j(to)e(one)f(greater)i(than)e (the)g(maxim)m(um)g(index)g(of)h Fr(name)p Fu(,)j(so)150 -5230 y(negativ)m(e)30 b(indices)d(coun)m(t)h(bac)m(k)g(from)f(the)g +1176 y(negativ)m(e)30 b(indices)d(coun)m(t)h(bac)m(k)g(from)f(the)g (end)g(of)g(the)h(arra)m(y)-8 b(,)29 b(and)e(an)g(index)g(of)g(-1)h -(references)g(the)f(last)150 5340 y(elemen)m(t.)p eop -end -%%Page: 90 96 -TeXDict begin 90 95 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(90)275 299 y(An)m(y)28 -b(elemen)m(t)h(of)g(an)f(arra)m(y)g(ma)m(y)h(b)s(e)f(referenced)g -(using)g Ft(${)p Fj(name)p Ft([)p Fj(subscript)p Ft(]})p -Fu(.)35 b(The)27 b(braces)i(are)150 408 y(required)f(to)j(a)m(v)m(oid)f -(con\015icts)g(with)f(the)h(shell's)f(\014lename)h(expansion)f(op)s -(erators.)41 b(If)28 b(the)i Fr(subscript)g Fu(is)150 -518 y(`)p Ft(@)p Fu(')f(or)h(`)p Ft(*)p Fu(',)f(the)h(w)m(ord)f +(references)g(the)f(last)150 1285 y(elemen)m(t.)275 1431 +y(An)m(y)h(elemen)m(t)h(of)g(an)f(arra)m(y)g(ma)m(y)h(b)s(e)f +(referenced)g(using)g Ft(${)p Fj(name)p Ft([)p Fj(subscript)p +Ft(]})p Fu(.)35 b(The)27 b(braces)i(are)150 1541 y(required)f(to)j(a)m +(v)m(oid)f(con\015icts)g(with)f(the)h(shell's)f(\014lename)h(expansion) +f(op)s(erators.)41 b(If)28 b(the)i Fr(subscript)g Fu(is)150 +1650 y(`)p Ft(@)p Fu(')f(or)h(`)p Ft(*)p Fu(',)f(the)h(w)m(ord)f (expands)f(to)i(all)g(mem)m(b)s(ers)e(of)i(the)f(arra)m(y)h Fr(name)p Fu(.)40 b(These)29 b(subscripts)f(di\013er)h(only)150 -628 y(when)36 b(the)g(w)m(ord)g(app)s(ears)g(within)g(double)g(quotes.) -60 b(If)36 b(the)h(w)m(ord)f(is)g(double-quoted,)j Ft(${)p -Fj(name)p Ft([*]})150 737 y Fu(expands)25 b(to)h(a)g(single)h(w)m(ord)e -(with)g(the)h(v)-5 b(alue)26 b(of)g(eac)m(h)h(arra)m(y)f(mem)m(b)s(er)f -(separated)h(b)m(y)g(the)f(\014rst)g(c)m(harac-)150 847 -y(ter)j(of)g(the)h Ft(IFS)e Fu(v)-5 b(ariable,)29 b(and)f -Ft(${)p Fj(name)p Ft([@]})d Fu(expands)i(eac)m(h)i(elemen)m(t)h(of)e -Fr(name)33 b Fu(to)c(a)f(separate)h(w)m(ord.)150 956 -y(When)j(there)h(are)f(no)g(arra)m(y)h(mem)m(b)s(ers,)f +1760 y(when)36 b(the)g(w)m(ord)g(app)s(ears)g(within)g(double)g +(quotes.)60 b(If)36 b(the)h(w)m(ord)f(is)g(double-quoted,)j +Ft(${)p Fj(name)p Ft([*]})150 1870 y Fu(expands)25 b(to)h(a)g(single)h +(w)m(ord)e(with)g(the)h(v)-5 b(alue)26 b(of)g(eac)m(h)h(arra)m(y)f(mem) +m(b)s(er)f(separated)h(b)m(y)g(the)f(\014rst)g(c)m(harac-)150 +1979 y(ter)j(of)g(the)h Ft(IFS)e Fu(v)-5 b(ariable,)29 +b(and)f Ft(${)p Fj(name)p Ft([@]})d Fu(expands)i(eac)m(h)i(elemen)m(t)h +(of)e Fr(name)33 b Fu(to)c(a)f(separate)h(w)m(ord.)150 +2089 y(When)j(there)h(are)f(no)g(arra)m(y)h(mem)m(b)s(ers,)f Ft(${)p Fj(name)p Ft([@]})e Fu(expands)h(to)i(nothing.)47 -b(If)31 b(the)i(double-quoted)150 1066 y(expansion)39 +b(If)31 b(the)i(double-quoted)150 2198 y(expansion)39 b(o)s(ccurs)h(within)f(a)h(w)m(ord,)i(the)d(expansion)h(of)g(the)f -(\014rst)g(parameter)h(is)g(joined)f(with)h(the)150 1176 +(\014rst)g(parameter)h(is)g(joined)f(with)h(the)150 2308 y(b)s(eginning)29 b(part)g(of)h(the)f(original)i(w)m(ord,)e(and)g(the)h (expansion)f(of)h(the)f(last)i(parameter)e(is)h(joined)f(with)150 -1285 y(the)g(last)h(part)f(of)g(the)g(original)h(w)m(ord.)40 +2418 y(the)g(last)h(part)f(of)g(the)g(original)h(w)m(ord.)40 b(This)28 b(is)h(analogous)h(to)f(the)h(expansion)e(of)h(the)g(sp)s -(ecial)h(param-)150 1395 y(eters)g(`)p Ft(@)p Fu(')f(and)g(`)p +(ecial)h(param-)150 2527 y(eters)g(`)p Ft(@)p Fu(')f(and)g(`)p Ft(*)p Fu('.)41 b Ft(${#)p Fj(name)p Ft([)p Fj(subscript)p Ft(]})24 b Fu(expands)k(to)i(the)g(length)g(of)f Ft(${)p Fj(name)p Ft([)p Fj(subscript)p Ft(]})p Fu(.)35 b(If)150 -1504 y Fr(subscript)29 b Fu(is)g(`)p Ft(@)p Fu(')f(or)h(`)p -Ft(*)p Fu(',)g(the)g(expansion)f(is)h(the)f(n)m(um)m(b)s(er)g(of)g -(elemen)m(ts)i(in)e(the)h(arra)m(y)-8 b(.)41 b(Referencing)29 -b(an)150 1614 y(arra)m(y)j(v)-5 b(ariable)32 b(without)f(a)h(subscript) -e(is)h(equiv)-5 b(alen)m(t)33 b(to)f(referencing)f(with)g(a)h -(subscript)e(of)h(0.)44 b(If)31 b(the)150 1724 y Fr(subscript)f -Fu(used)e(to)i(reference)g(an)f(elemen)m(t)i(of)e(an)g(indexed)g(arra)m -(y)h(ev)-5 b(aluates)30 b(to)g(a)g(n)m(um)m(b)s(er)e(less)h(than)150 -1833 y(zero,)37 b(it)f(is)f(in)m(terpreted)g(as)g(relativ)m(e)i(to)f -(one)f(greater)i(than)d(the)i(maxim)m(um)e(index)h(of)g(the)g(arra)m(y) --8 b(,)38 b(so)150 1943 y(negativ)m(e)33 b(indices)e(coun)m(t)h(bac)m -(k)f(from)g(the)g(end)f(of)h(the)g(arra)m(y)-8 b(,)32 -b(and)e(an)h(index)f(of)h(-1)h(refers)e(to)i(the)f(last)150 -2052 y(elemen)m(t.)275 2186 y(An)k(arra)m(y)i(v)-5 b(ariable)37 -b(is)g(considered)f(set)h(if)f(a)h(subscript)e(has)h(b)s(een)g -(assigned)g(a)h(v)-5 b(alue.)59 b(The)36 b(n)m(ull)150 -2295 y(string)30 b(is)h(a)g(v)-5 b(alid)30 b(v)-5 b(alue.)275 -2429 y(It)29 b(is)h(p)s(ossible)f(to)h(obtain)g(the)f(k)m(eys)i +2637 y Fr(subscript)28 b Fu(is)g(`)p Ft(@)p Fu(')f(or)h(`)p +Ft(*)p Fu(',)g(the)g(expansion)f(is)g(the)h(n)m(um)m(b)s(er)e(of)i +(elemen)m(ts)g(in)f(the)h(arra)m(y)-8 b(.)41 b(If)27 +b(the)g Fr(subscript)150 2746 y Fu(used)34 b(to)h(reference)g(an)f +(elemen)m(t)i(of)f(an)f(indexed)g(arra)m(y)h(ev)-5 b(aluates)36 +b(to)f(a)g(n)m(um)m(b)s(er)e(less)i(than)f(zero,)i(it)150 +2856 y(is)c(in)m(terpreted)h(as)f(relativ)m(e)i(to)f(one)f(greater)h +(than)f(the)h(maxim)m(um)f(index)f(of)h(the)h(arra)m(y)-8 +b(,)33 b(so)g(negativ)m(e)150 2966 y(indices)d(coun)m(t)h(bac)m(k)h +(from)e(the)g(end)g(of)g(the)h(arra)m(y)-8 b(,)31 b(and)f(an)g(index)g +(of)h(-1)g(refers)f(to)h(the)g(last)g(elemen)m(t.)275 +3112 y(Referencing)41 b(an)f(arra)m(y)h(v)-5 b(ariable)42 +b(without)e(a)h(subscript)e(is)i(equiv)-5 b(alen)m(t)42 +b(to)f(referencing)g(with)g(a)150 3221 y(subscript)35 +b(of)h(0.)57 b(An)m(y)36 b(reference)g(to)h(a)f(v)-5 +b(ariable)36 b(using)g(a)g(v)-5 b(alid)36 b(subscript)f(is)h(legal,)j +(and)c Ft(bash)g Fu(will)150 3331 y(create)d(an)e(arra)m(y)h(if)f +(necessary)-8 b(.)275 3477 y(An)35 b(arra)m(y)i(v)-5 +b(ariable)37 b(is)g(considered)f(set)h(if)f(a)h(subscript)e(has)h(b)s +(een)g(assigned)g(a)h(v)-5 b(alue.)59 b(The)36 b(n)m(ull)150 +3587 y(string)30 b(is)h(a)g(v)-5 b(alid)30 b(v)-5 b(alue.)275 +3733 y(It)29 b(is)h(p)s(ossible)f(to)h(obtain)g(the)f(k)m(eys)i (\(indices\))f(of)f(an)h(arra)m(y)g(as)f(w)m(ell)i(as)f(the)f(v)-5 b(alues.)41 b($)p Fi({)p Fu(!)p Fr(name)5 b Fu([@])p -Fi(})150 2538 y Fu(and)39 b($)p Fi({)p Fu(!)p Fr(name)5 +Fi(})150 3842 y Fu(and)39 b($)p Fi({)p Fu(!)p Fr(name)5 b Fu([*])p Fi(})43 b Fu(expand)c(to)i(the)f(indices)h(assigned)f(in)g (arra)m(y)g(v)-5 b(ariable)41 b Fr(name)p Fu(.)70 b(The)39 -b(treatmen)m(t)150 2648 y(when)i(in)g(double)g(quotes)h(is)f(similar)h +b(treatmen)m(t)150 3952 y(when)i(in)g(double)g(quotes)h(is)f(similar)h (to)h(the)e(expansion)h(of)f(the)h(sp)s(ecial)g(parameters)g(`)p -Ft(@)p Fu(')g(and)f(`)p Ft(*)p Fu(')150 2757 y(within)30 -b(double)g(quotes.)275 2891 y(The)j Ft(unset)g Fu(builtin)h(is)g(used)g +Ft(@)p Fu(')g(and)f(`)p Ft(*)p Fu(')150 4061 y(within)30 +b(double)g(quotes.)275 4208 y(The)j Ft(unset)g Fu(builtin)h(is)g(used)g (to)h(destro)m(y)g(arra)m(ys.)52 b Ft(unset)29 b Fj(name)p Ft([)p Fj(subscript)p Ft(])h Fu(destro)m(ys)35 b(the)g(ar-)150 -3000 y(ra)m(y)j(elemen)m(t)h(at)g(index)e Fr(subscript)p +4317 y(ra)m(y)j(elemen)m(t)h(at)g(index)e Fr(subscript)p Fu(.)61 b(Negativ)m(e)41 b(subscripts)36 b(to)i(indexed)g(arra)m(ys)g -(are)g(in)m(terpreted)g(as)150 3110 y(describ)s(ed)f(ab)s(o)m(v)m(e.)67 +(are)g(in)m(terpreted)g(as)150 4427 y(describ)s(ed)f(ab)s(o)m(v)m(e.)67 b(Care)38 b(m)m(ust)h(b)s(e)f(tak)m(en)h(to)h(a)m(v)m(oid)g(un)m(w)m (an)m(ted)e(side)h(e\013ects)h(caused)e(b)m(y)h(\014lename)150 -3220 y(expansion.)50 b Ft(unset)29 b Fj(name)p Fu(,)34 +4536 y(expansion.)50 b Ft(unset)29 b Fj(name)p Fu(,)34 b(where)f Fr(name)39 b Fu(is)34 b(an)f(arra)m(y)-8 b(,)36 b(remo)m(v)m(es)f(the)f(en)m(tire)g(arra)m(y)-8 b(.)52 -b(A)33 b(subscript)g(of)150 3329 y(`)p Ft(*)p Fu(')e(or)f(`)p +b(A)33 b(subscript)g(of)150 4646 y(`)p Ft(*)p Fu(')e(or)f(`)p Ft(@)p Fu(')g(also)i(remo)m(v)m(es)f(the)g(en)m(tire)g(arra)m(y)-8 -b(.)275 3463 y(The)20 b Ft(declare)p Fu(,)h Ft(local)p +b(.)275 4792 y(The)20 b Ft(declare)p Fu(,)h Ft(local)p Fu(,)h(and)e Ft(readonly)f Fu(builtins)h(eac)m(h)i(accept)g(a)g Ft(-a)e Fu(option)h(to)h(sp)s(ecify)f(an)f(indexed)150 -3572 y(arra)m(y)28 b(and)f(a)h Ft(-A)e Fu(option)i(to)g(sp)s(ecify)f +4902 y(arra)m(y)28 b(and)f(a)h Ft(-A)e Fu(option)i(to)g(sp)s(ecify)f (an)h(asso)s(ciativ)m(e)i(arra)m(y)-8 b(.)40 b(If)27 b(b)s(oth)g(options)h(are)g(supplied,)f Ft(-A)f Fu(tak)m(es)150 -3682 y(precedence.)55 b(The)35 b Ft(read)f Fu(builtin)h(accepts)h(a)g +5011 y(precedence.)55 b(The)35 b Ft(read)f Fu(builtin)h(accepts)h(a)g Ft(-a)e Fu(option)i(to)g(assign)f(a)g(list)h(of)f(w)m(ords)g(read)g -(from)g(the)150 3791 y(standard)h(input)g(to)i(an)f(arra)m(y)-8 +(from)g(the)150 5121 y(standard)h(input)g(to)i(an)f(arra)m(y)-8 b(,)40 b(and)c(can)h(read)g(v)-5 b(alues)38 b(from)e(the)h(standard)g -(input)f(in)m(to)i(individual)150 3901 y(arra)m(y)f(elemen)m(ts.)62 +(input)f(in)m(to)i(individual)150 5230 y(arra)m(y)f(elemen)m(ts.)62 b(The)36 b Ft(set)g Fu(and)h Ft(declare)d Fu(builtins)j(displa)m(y)g (arra)m(y)g(v)-5 b(alues)37 b(in)g(a)g(w)m(a)m(y)h(that)g(allo)m(ws)150 -4011 y(them)30 b(to)h(b)s(e)f(reused)g(as)g(input.)150 -4241 y Fs(6.8)68 b(The)45 b(Directory)g(Stac)l(k)150 -4400 y Fu(The)21 b(directory)h(stac)m(k)h(is)e(a)h(list)g(of)f(recen)m -(tly-visited)j(directories.)39 b(The)20 b Ft(pushd)g -Fu(builtin)h(adds)g(directories)150 4510 y(to)42 b(the)f(stac)m(k)i(as) -e(it)h(c)m(hanges)g(the)f(curren)m(t)g(directory)-8 b(,)45 -b(and)40 b(the)i Ft(popd)e Fu(builtin)g(remo)m(v)m(es)j(sp)s(eci\014ed) -150 4620 y(directories)29 b(from)f(the)h(stac)m(k)h(and)d(c)m(hanges)j -(the)e(curren)m(t)g(directory)h(to)g(the)g(directory)f(remo)m(v)m(ed.) -41 b(The)150 4729 y Ft(dirs)29 b Fu(builtin)h(displa)m(ys)h(the)f(con)m -(ten)m(ts)i(of)f(the)f(directory)h(stac)m(k.)275 4863 -y(The)k(con)m(ten)m(ts)i(of)f(the)h(directory)f(stac)m(k)h(are)f(also)h -(visible)g(as)f(the)g(v)-5 b(alue)36 b(of)g(the)g Ft(DIRSTACK)e -Fu(shell)150 4972 y(v)-5 b(ariable.)150 5169 y Fk(6.8.1)63 -b(Directory)40 b(Stac)m(k)g(Builtins)150 5340 y Ft(dirs)p +5340 y(them)30 b(to)h(b)s(e)f(reused)g(as)g(input.)p eop end -%%Page: 91 97 -TeXDict begin 91 96 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(91)870 299 y Ft(dirs)47 -b([-clpv])e([+)p Fj(N)i Ft(|)h(-)p Fj(N)p Ft(])630 435 +%%Page: 93 99 +TeXDict begin 93 98 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(93)150 299 y Fs(6.8)68 +b(The)45 b(Directory)g(Stac)l(k)150 458 y Fu(The)21 b(directory)h(stac) +m(k)h(is)e(a)h(list)g(of)f(recen)m(tly-visited)j(directories.)39 +b(The)20 b Ft(pushd)g Fu(builtin)h(adds)g(directories)150 +568 y(to)42 b(the)f(stac)m(k)i(as)e(it)h(c)m(hanges)g(the)f(curren)m(t) +g(directory)-8 b(,)45 b(and)40 b(the)i Ft(popd)e Fu(builtin)g(remo)m(v) +m(es)j(sp)s(eci\014ed)150 677 y(directories)29 b(from)f(the)h(stac)m(k) +h(and)d(c)m(hanges)j(the)e(curren)m(t)g(directory)h(to)g(the)g +(directory)f(remo)m(v)m(ed.)41 b(The)150 787 y Ft(dirs)34 +b Fu(builtin)g(displa)m(ys)h(the)g(con)m(ten)m(ts)i(of)e(the)g +(directory)h(stac)m(k.)56 b(The)34 b(curren)m(t)h(directory)g(is)g(alw) +m(a)m(ys)150 897 y(the)c Ft(")p Fu(top)p Ft(")f Fu(of)g(the)h +(directory)g(stac)m(k.)275 1037 y(The)k(con)m(ten)m(ts)i(of)f(the)h +(directory)f(stac)m(k)h(are)f(also)h(visible)g(as)f(the)g(v)-5 +b(alue)36 b(of)g(the)g Ft(DIRSTACK)e Fu(shell)150 1146 +y(v)-5 b(ariable.)150 1351 y Fk(6.8.1)63 b(Directory)40 +b(Stac)m(k)g(Builtins)150 1525 y Ft(dirs)870 1663 y(dirs)47 +b([-clpv])e([+)p Fj(N)i Ft(|)h(-)p Fj(N)p Ft(])630 1800 y Fu(Displa)m(y)35 b(the)f(list)g(of)g(curren)m(tly)g(remem)m(b)s(ered) f(directories.)51 b(Directories)36 b(are)e(added)f(to)630 -545 y(the)28 b(list)h(with)f(the)g Ft(pushd)f Fu(command;)i(the)f +1909 y(the)28 b(list)h(with)f(the)g Ft(pushd)f Fu(command;)i(the)f Ft(popd)f Fu(command)h(remo)m(v)m(es)h(directories)g(from)630 -654 y(the)i(list.)630 817 y Ft(-c)384 b Fu(Clears)31 -b(the)f(directory)h(stac)m(k)h(b)m(y)e(deleting)h(all)h(of)e(the)h -(elemen)m(ts.)630 980 y Ft(-l)384 b Fu(Pro)s(duces)31 -b(a)h(listing)h(using)e(full)h(pathnames;)h(the)f(default)g(listing)h -(format)1110 1089 y(uses)d(a)h(tilde)g(to)g(denote)g(the)f(home)h -(directory)-8 b(.)630 1252 y Ft(-p)384 b Fu(Causes)30 -b Ft(dirs)f Fu(to)i(prin)m(t)f(the)h(directory)g(stac)m(k)h(with)e(one) -g(en)m(try)h(p)s(er)e(line.)630 1415 y Ft(-v)384 b Fu(Causes)36 -b Ft(dirs)f Fu(to)i(prin)m(t)f(the)g(directory)h(stac)m(k)h(with)e(one) -h(en)m(try)f(p)s(er)f(line,)1110 1524 y(pre\014xing)30 -b(eac)m(h)h(en)m(try)g(with)f(its)h(index)e(in)i(the)f(stac)m(k.)630 -1687 y Ft(+)p Fj(N)384 b Fu(Displa)m(ys)23 b(the)f Fr(N)10 -b Fu(th)21 b(directory)h(\(coun)m(ting)h(from)e(the)h(left)g(of)g(the)g -(list)g(prin)m(ted)1110 1797 y(b)m(y)30 b Ft(dirs)f Fu(when)h(in)m(v)m -(ok)m(ed)i(without)e(options\),)h(starting)g(with)g(zero.)630 -1959 y Ft(-)p Fj(N)384 b Fu(Displa)m(ys)47 b(the)g Fr(N)10 -b Fu(th)46 b(directory)h(\(coun)m(ting)g(from)f(the)g(righ)m(t)h(of)g -(the)f(list)1110 2069 y(prin)m(ted)25 b(b)m(y)g Ft(dirs)g -Fu(when)f(in)m(v)m(ok)m(ed)j(without)f(options\),)h(starting)g(with)e -(zero.)150 2232 y Ft(popd)870 2368 y(popd)47 b([-n])f([+)p -Fj(N)h Ft(|)h(-)p Fj(N)p Ft(])630 2504 y Fu(Remo)m(v)m(e)26 -b(the)e(top)g(en)m(try)h(from)e(the)h(directory)h(stac)m(k,)i(and)c -Ft(cd)h Fu(to)h(the)f(new)f(top)i(directory)-8 b(.)630 -2614 y(When)32 b(no)g(argumen)m(ts)h(are)g(giv)m(en,)h -Ft(popd)d Fu(remo)m(v)m(es)j(the)f(top)f(directory)h(from)f(the)g(stac) -m(k)630 2723 y(and)f(p)s(erforms)e(a)j Ft(cd)f Fu(to)h(the)f(new)g(top) -h(directory)-8 b(.)44 b(The)31 b(elemen)m(ts)i(are)e(n)m(um)m(b)s(ered) -f(from)630 2833 y(0)j(starting)g(at)g(the)f(\014rst)g(directory)g -(listed)h(with)f Ft(dirs)p Fu(;)g(that)h(is,)g Ft(popd)e -Fu(is)i(equiv)-5 b(alen)m(t)33 b(to)630 2942 y Ft(popd)c(+0)p -Fu(.)630 3105 y Ft(-n)384 b Fu(Suppresses)27 b(the)j(normal)g(c)m -(hange)g(of)g(directory)g(when)e(remo)m(ving)j(directo-)1110 -3215 y(ries)f(from)g(the)h(stac)m(k,)h(so)f(that)g(only)f(the)h(stac)m -(k)g(is)g(manipulated.)630 3377 y Ft(+)p Fj(N)384 b Fu(Remo)m(v)m(es)22 +2019 y(the)i(list.)41 b(The)30 b(curren)m(t)g(directory)h(is)f(alw)m(a) +m(ys)i(the)f(\014rst)e(directory)i(in)f(the)h(stac)m(k.)630 +2184 y Ft(-c)384 b Fu(Clears)31 b(the)f(directory)h(stac)m(k)h(b)m(y)e +(deleting)h(all)h(of)e(the)h(elemen)m(ts.)630 2349 y +Ft(-l)384 b Fu(Pro)s(duces)31 b(a)h(listing)h(using)e(full)h +(pathnames;)h(the)f(default)g(listing)h(format)1110 2458 +y(uses)d(a)h(tilde)g(to)g(denote)g(the)f(home)h(directory)-8 +b(.)630 2623 y Ft(-p)384 b Fu(Causes)30 b Ft(dirs)f Fu(to)i(prin)m(t)f +(the)h(directory)g(stac)m(k)h(with)e(one)g(en)m(try)h(p)s(er)e(line.) +630 2788 y Ft(-v)384 b Fu(Causes)36 b Ft(dirs)f Fu(to)i(prin)m(t)f(the) +g(directory)h(stac)m(k)h(with)e(one)h(en)m(try)f(p)s(er)f(line,)1110 +2898 y(pre\014xing)30 b(eac)m(h)h(en)m(try)g(with)f(its)h(index)e(in)i +(the)f(stac)m(k.)630 3063 y Ft(+)p Fj(N)384 b Fu(Displa)m(ys)23 +b(the)f Fr(N)10 b Fu(th)21 b(directory)h(\(coun)m(ting)h(from)e(the)h +(left)g(of)g(the)g(list)g(prin)m(ted)1110 3172 y(b)m(y)30 +b Ft(dirs)f Fu(when)h(in)m(v)m(ok)m(ed)i(without)e(options\),)h +(starting)g(with)g(zero.)630 3337 y Ft(-)p Fj(N)384 b +Fu(Displa)m(ys)47 b(the)g Fr(N)10 b Fu(th)46 b(directory)h(\(coun)m +(ting)g(from)f(the)g(righ)m(t)h(of)g(the)f(list)1110 +3447 y(prin)m(ted)25 b(b)m(y)g Ft(dirs)g Fu(when)f(in)m(v)m(ok)m(ed)j +(without)f(options\),)h(starting)g(with)e(zero.)150 3611 +y Ft(popd)870 3749 y(popd)47 b([-n])f([+)p Fj(N)h Ft(|)h(-)p +Fj(N)p Ft(])630 3886 y Fu(When)32 b(no)g(argumen)m(ts)h(are)g(giv)m +(en,)h Ft(popd)d Fu(remo)m(v)m(es)j(the)f(top)f(directory)h(from)f(the) +g(stac)m(k)630 3995 y(and)f(p)s(erforms)e(a)j Ft(cd)f +Fu(to)h(the)f(new)g(top)h(directory)-8 b(.)44 b(The)31 +b(elemen)m(ts)i(are)e(n)m(um)m(b)s(ered)f(from)630 4105 +y(0)j(starting)g(at)g(the)f(\014rst)g(directory)g(listed)h(with)f +Ft(dirs)p Fu(;)g(that)h(is,)g Ft(popd)e Fu(is)i(equiv)-5 +b(alen)m(t)33 b(to)630 4215 y Ft(popd)c(+0)p Fu(.)630 +4379 y Ft(-n)384 b Fu(Suppresses)27 b(the)j(normal)g(c)m(hange)g(of)g +(directory)g(when)e(remo)m(ving)j(directo-)1110 4489 +y(ries)f(from)g(the)h(stac)m(k,)h(so)f(that)g(only)f(the)h(stac)m(k)g +(is)g(manipulated.)630 4654 y Ft(+)p Fj(N)384 b Fu(Remo)m(v)m(es)22 b(the)f Fr(N)10 b Fu(th)20 b(directory)g(\(coun)m(ting)i(from)e(the)g -(left)h(of)g(the)f(list)h(prin)m(ted)1110 3487 y(b)m(y)30 -b Ft(dirs)p Fu(\),)g(starting)h(with)f(zero.)630 3650 +(left)h(of)g(the)f(list)h(prin)m(ted)1110 4763 y(b)m(y)30 +b Ft(dirs)p Fu(\),)g(starting)h(with)f(zero.)630 4928 y Ft(-)p Fj(N)384 b Fu(Remo)m(v)m(es)46 b(the)g Fr(N)10 b Fu(th)44 b(directory)h(\(coun)m(ting)h(from)f(the)g(righ)m(t)g(of)g -(the)g(list)1110 3759 y(prin)m(ted)30 b(b)m(y)g Ft(dirs)p -Fu(\),)g(starting)h(with)f(zero.)150 3922 y Ft(pushd)870 -4058 y(pushd)46 b([-n])h([+)p Fj(N)g Ft(|)g Fj(-N)h Ft(|)f -Fj(dir)p Ft(])630 4194 y Fu(Sa)m(v)m(e)30 b(the)e(curren)m(t)g -(directory)h(on)f(the)h(top)f(of)h(the)f(directory)h(stac)m(k)h(and)e -(then)g Ft(cd)f Fu(to)i Fr(dir)p Fu(.)630 4304 y(With)i(no)f(argumen)m -(ts,)h Ft(pushd)e Fu(exc)m(hanges)j(the)e(top)h(t)m(w)m(o)h -(directories.)630 4467 y Ft(-n)384 b Fu(Suppresses)26 -b(the)i(normal)h(c)m(hange)g(of)f(directory)h(when)e(adding)h -(directories)1110 4576 y(to)j(the)g(stac)m(k,)h(so)e(that)h(only)g(the) -f(stac)m(k)i(is)f(manipulated.)630 4739 y Ft(+)p Fj(N)384 +(the)g(list)1110 5038 y(prin)m(ted)30 b(b)m(y)g Ft(dirs)p +Fu(\),)g(starting)h(with)f(zero.)150 5203 y Ft(pushd)870 +5340 y(pushd)46 b([-n])h([+)p Fj(N)g Ft(|)g Fj(-N)h Ft(|)f +Fj(dir)p Ft(])p eop end +%%Page: 94 100 +TeXDict begin 94 99 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(94)630 299 y(Sa)m(v)m(e)30 +b(the)e(curren)m(t)g(directory)h(on)f(the)h(top)f(of)h(the)f(directory) +h(stac)m(k)h(and)e(then)g Ft(cd)f Fu(to)i Fr(dir)p Fu(.)630 +408 y(With)39 b(no)f(argumen)m(ts,)j Ft(pushd)c Fu(exc)m(hanges)j(the)f +(top)f(t)m(w)m(o)i(directories)g(and)d(mak)m(es)j(the)630 +518 y(new)30 b(top)g(the)h(curren)m(t)f(directory)-8 +b(.)630 675 y Ft(-n)384 b Fu(Suppresses)24 b(the)j(normal)f(c)m(hange)h +(of)g(directory)f(when)g(rotating)h(or)f(adding)1110 +784 y(directories)31 b(to)h(the)e(stac)m(k,)i(so)f(that)g(only)f(the)h +(stac)m(k)h(is)e(manipulated.)630 941 y Ft(+)p Fj(N)384 b Fu(Brings)29 b(the)f Fr(N)10 b Fu(th)29 b(directory)g(\(coun)m(ting)h (from)e(the)g(left)i(of)e(the)h(list)g(prin)m(ted)1110 -4848 y(b)m(y)34 b Ft(dirs)p Fu(,)g(starting)h(with)f(zero\))i(to)f(the) +1051 y(b)m(y)34 b Ft(dirs)p Fu(,)g(starting)h(with)f(zero\))i(to)f(the) f(top)g(of)h(the)f(list)h(b)m(y)f(rotating)i(the)1110 -4958 y(stac)m(k.)630 5121 y Ft(-)p Fj(N)384 b Fu(Brings)23 +1160 y(stac)m(k.)630 1317 y Ft(-)p Fj(N)384 b Fu(Brings)23 b(the)g Fr(N)10 b Fu(th)23 b(directory)h(\(coun)m(ting)g(from)e(the)i -(righ)m(t)f(of)g(the)h(list)f(prin)m(ted)1110 5230 y(b)m(y)34 +(righ)m(t)f(of)g(the)h(list)f(prin)m(ted)1110 1426 y(b)m(y)34 b Ft(dirs)p Fu(,)g(starting)h(with)f(zero\))i(to)f(the)f(top)g(of)h -(the)f(list)h(b)m(y)f(rotating)i(the)1110 5340 y(stac)m(k.)p -eop end -%%Page: 92 98 -TeXDict begin 92 97 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(92)630 299 y Fj(dir)336 -b Fu(Mak)m(es)31 b(the)g(curren)m(t)f(w)m(orking)g(directory)g(b)s(e)g -(the)g(top)g(of)g(the)h(stac)m(k,)h(mak-)1110 408 y(ing)39 -b(it)g(the)g(new)f(curren)m(t)g(directory)h(as)g(if)g(it)g(had)f(b)s -(een)g(supplied)f(as)i(an)1110 518 y(argumen)m(t)31 b(to)g(the)f -Ft(cd)g Fu(builtin.)150 752 y Fs(6.9)68 b(Con)l(trolling)47 -b(the)e(Prompt)150 911 y Fu(The)24 b(v)-5 b(alue)24 b(of)h(the)f(v)-5 -b(ariable)25 b Ft(PROMPT_COMMAND)20 b Fu(is)25 b(examined)f(just)g(b)s -(efore)f(Bash)i(prin)m(ts)e(eac)m(h)j(primary)150 1021 -y(prompt.)39 b(If)28 b Ft(PROMPT_COMMAND)d Fu(is)j(set)h(and)f(has)g(a) -h(non-n)m(ull)f(v)-5 b(alue,)29 b(then)f(the)h(v)-5 b(alue)29 -b(is)f(executed)i(just)150 1130 y(as)h(if)f(it)h(had)f(b)s(een)f(t)m -(yp)s(ed)h(on)h(the)f(command)g(line.)275 1266 y(In)d(addition,)j(the)f +(the)f(list)h(b)m(y)f(rotating)i(the)1110 1536 y(stac)m(k.)630 +1693 y Fj(dir)336 b Fu(Mak)m(es)28 b Fr(dir)33 b Fu(b)s(e)27 +b(the)g(top)g(of)g(the)h(stac)m(k,)h(making)e(it)h(the)f(new)g(curren)m +(t)g(direc-)1110 1802 y(tory)k(as)f(if)h(it)g(had)e(b)s(een)h(supplied) +f(as)i(an)f(argumen)m(t)h(to)g(the)f Ft(cd)g Fu(builtin.)150 +2040 y Fs(6.9)68 b(Con)l(trolling)47 b(the)e(Prompt)150 +2200 y Fu(The)24 b(v)-5 b(alue)24 b(of)h(the)f(v)-5 b(ariable)25 +b Ft(PROMPT_COMMAND)20 b Fu(is)25 b(examined)f(just)g(b)s(efore)f(Bash) +i(prin)m(ts)e(eac)m(h)j(primary)150 2309 y(prompt.)39 +b(If)28 b Ft(PROMPT_COMMAND)d Fu(is)j(set)h(and)f(has)g(a)h(non-n)m +(ull)f(v)-5 b(alue,)29 b(then)f(the)h(v)-5 b(alue)29 +b(is)f(executed)i(just)150 2419 y(as)h(if)f(it)h(had)f(b)s(een)f(t)m +(yp)s(ed)h(on)h(the)f(command)g(line.)275 2552 y(In)d(addition,)j(the)f (follo)m(wing)h(table)f(describ)s(es)f(the)h(sp)s(ecial)g(c)m (haracters)h(whic)m(h)f(can)f(app)s(ear)g(in)h(the)150 -1375 y(prompt)g(v)-5 b(ariables)32 b Ft(PS1)d Fu(to)i -Ft(PS4)p Fu(:)150 1536 y Ft(\\a)384 b Fu(A)30 b(b)s(ell)h(c)m -(haracter.)150 1696 y Ft(\\d)384 b Fu(The)30 b(date,)h(in)f +2661 y(prompt)g(v)-5 b(ariables)32 b Ft(PS1)d Fu(to)i +Ft(PS4)p Fu(:)150 2818 y Ft(\\a)384 b Fu(A)30 b(b)s(ell)h(c)m +(haracter.)150 2975 y Ft(\\d)384 b Fu(The)30 b(date,)h(in)f Ft(")p Fu(W)-8 b(eekda)m(y)32 b(Mon)m(th)f(Date)p Ft(")h Fu(format)f(\(e.g.,)h Ft(")p Fu(T)-8 b(ue)30 b(Ma)m(y)h(26)p -Ft(")p Fu(\).)150 1857 y Ft(\\D{)p Fj(format)p Ft(})630 -1966 y Fu(The)c Fr(format)i Fu(is)f(passed)e(to)i Ft(strftime)p +Ft(")p Fu(\).)150 3131 y Ft(\\D{)p Fj(format)p Ft(})630 +3241 y Fu(The)c Fr(format)i Fu(is)f(passed)e(to)i Ft(strftime)p Fu(\(3\))f(and)f(the)i(result)f(is)g(inserted)g(in)m(to)h(the)g(prompt) -630 2076 y(string;)42 b(an)d(empt)m(y)f Fr(format)j Fu(results)d(in)g +630 3351 y(string;)42 b(an)d(empt)m(y)f Fr(format)j Fu(results)d(in)g (a)h(lo)s(cale-sp)s(eci\014c)h(time)f(represen)m(tation.)65 -b(The)630 2185 y(braces)31 b(are)f(required.)150 2346 +b(The)630 3460 y(braces)31 b(are)f(required.)150 3617 y Ft(\\e)384 b Fu(An)30 b(escap)s(e)h(c)m(haracter.)150 -2506 y Ft(\\h)384 b Fu(The)30 b(hostname,)h(up)e(to)i(the)g(\014rst)e -(`.'.)150 2666 y Ft(\\H)384 b Fu(The)30 b(hostname.)150 -2826 y Ft(\\j)384 b Fu(The)30 b(n)m(um)m(b)s(er)f(of)h(jobs)g(curren)m -(tly)h(managed)g(b)m(y)f(the)g(shell.)150 2987 y Ft(\\l)384 +3773 y Ft(\\h)384 b Fu(The)30 b(hostname,)h(up)e(to)i(the)g(\014rst)e +(`.'.)150 3930 y Ft(\\H)384 b Fu(The)30 b(hostname.)150 +4087 y Ft(\\j)384 b Fu(The)30 b(n)m(um)m(b)s(er)f(of)h(jobs)g(curren)m +(tly)h(managed)g(b)m(y)f(the)g(shell.)150 4243 y Ft(\\l)384 b Fu(The)30 b(basename)h(of)f(the)h(shell's)f(terminal)h(device)g -(name.)150 3147 y Ft(\\n)384 b Fu(A)30 b(newline.)150 -3307 y Ft(\\r)384 b Fu(A)30 b(carriage)i(return.)150 -3467 y Ft(\\s)384 b Fu(The)22 b(name)g(of)h(the)f(shell,)i(the)f +(name.)150 4400 y Ft(\\n)384 b Fu(A)30 b(newline.)150 +4557 y Ft(\\r)384 b Fu(A)30 b(carriage)i(return.)150 +4713 y Ft(\\s)384 b Fu(The)22 b(name)g(of)h(the)f(shell,)i(the)f (basename)f(of)h Ft($0)f Fu(\(the)g(p)s(ortion)g(follo)m(wing)i(the)f -(\014nal)e(slash\).)150 3628 y Ft(\\t)384 b Fu(The)30 -b(time,)h(in)f(24-hour)h(HH:MM:SS)g(format.)150 3788 +(\014nal)e(slash\).)150 4870 y Ft(\\t)384 b Fu(The)30 +b(time,)h(in)f(24-hour)h(HH:MM:SS)g(format.)150 5027 y Ft(\\T)384 b Fu(The)30 b(time,)h(in)f(12-hour)h(HH:MM:SS)g(format.) -150 3948 y Ft(\\@)384 b Fu(The)30 b(time,)h(in)f(12-hour)h(am/pm)f -(format.)150 4109 y Ft(\\A)384 b Fu(The)30 b(time,)h(in)f(24-hour)h -(HH:MM)g(format.)150 4269 y Ft(\\u)384 b Fu(The)30 b(username)g(of)g -(the)h(curren)m(t)f(user.)150 4429 y Ft(\\v)384 b Fu(The)30 -b(v)m(ersion)h(of)f(Bash)h(\(e.g.,)h(2.00\))150 4589 -y Ft(\\V)384 b Fu(The)30 b(release)i(of)e(Bash,)h(v)m(ersion)g -Ft(+)f Fu(patc)m(hlev)m(el)i(\(e.g.,)h(2.00.0\))150 4750 -y Ft(\\w)384 b Fu(The)34 b(curren)m(t)h(w)m(orking)g(directory)-8 +150 5183 y Ft(\\@)384 b Fu(The)30 b(time,)h(in)f(12-hour)h(am/pm)f +(format.)150 5340 y Ft(\\A)384 b Fu(The)30 b(time,)h(in)f(24-hour)h +(HH:MM)g(format.)p eop end +%%Page: 95 101 +TeXDict begin 95 100 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(95)150 299 y Ft(\\u)384 +b Fu(The)30 b(username)g(of)g(the)h(curren)m(t)f(user.)150 +455 y Ft(\\v)384 b Fu(The)30 b(v)m(ersion)h(of)f(Bash)h(\(e.g.,)h +(2.00\))150 611 y Ft(\\V)384 b Fu(The)30 b(release)i(of)e(Bash,)h(v)m +(ersion)g Ft(+)f Fu(patc)m(hlev)m(el)i(\(e.g.,)h(2.00.0\))150 +766 y Ft(\\w)384 b Fu(The)34 b(curren)m(t)h(w)m(orking)g(directory)-8 b(,)37 b(with)e Ft($HOME)e Fu(abbreviated)j(with)e(a)h(tilde)h(\(uses)f -(the)630 4859 y Ft($PROMPT_DIRTRIM)26 b Fu(v)-5 b(ariable\).)150 -5019 y Ft(\\W)384 b Fu(The)30 b(basename)h(of)f Ft($PWD)p +(the)630 876 y Ft($PROMPT_DIRTRIM)26 b Fu(v)-5 b(ariable\).)150 +1032 y Ft(\\W)384 b Fu(The)30 b(basename)h(of)f Ft($PWD)p Fu(,)g(with)g Ft($HOME)f Fu(abbreviated)h(with)g(a)h(tilde.)150 -5180 y Ft(\\!)384 b Fu(The)30 b(history)g(n)m(um)m(b)s(er)f(of)i(this)f -(command.)150 5340 y Ft(\\#)384 b Fu(The)30 b(command)g(n)m(um)m(b)s -(er)f(of)i(this)f(command.)p eop end -%%Page: 93 99 -TeXDict begin 93 98 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(93)150 299 y Ft(\\$)384 -b Fu(If)30 b(the)g(e\013ectiv)m(e)j(uid)d(is)g(0,)h Ft(#)p -Fu(,)g(otherwise)g Ft($)p Fu(.)150 479 y Ft(\\)p Fj(nnn)288 -b Fu(The)30 b(c)m(haracter)i(whose)e(ASCI)s(I)f(co)s(de)h(is)h(the)f(o) -s(ctal)i(v)-5 b(alue)31 b Fr(nnn)p Fu(.)150 659 y Ft(\\\\)384 -b Fu(A)30 b(bac)m(kslash.)150 839 y Ft(\\[)384 b Fu(Begin)38 +1188 y Ft(\\!)384 b Fu(The)30 b(history)g(n)m(um)m(b)s(er)f(of)i(this)f +(command.)150 1343 y Ft(\\#)384 b Fu(The)30 b(command)g(n)m(um)m(b)s +(er)f(of)i(this)f(command.)150 1499 y Ft(\\$)384 b Fu(If)30 +b(the)g(e\013ectiv)m(e)j(uid)d(is)g(0,)h Ft(#)p Fu(,)g(otherwise)g +Ft($)p Fu(.)150 1655 y Ft(\\)p Fj(nnn)288 b Fu(The)30 +b(c)m(haracter)i(whose)e(ASCI)s(I)f(co)s(de)h(is)h(the)f(o)s(ctal)i(v) +-5 b(alue)31 b Fr(nnn)p Fu(.)150 1811 y Ft(\\\\)384 b +Fu(A)30 b(bac)m(kslash.)150 1967 y Ft(\\[)384 b Fu(Begin)38 b(a)f(sequence)g(of)g(non-prin)m(ting)g(c)m(haracters.)61 b(This)36 b(could)h(b)s(e)g(used)f(to)h(em)m(b)s(ed)g(a)630 -948 y(terminal)31 b(con)m(trol)h(sequence)e(in)m(to)i(the)e(prompt.)150 -1128 y Ft(\\])384 b Fu(End)29 b(a)i(sequence)g(of)f(non-prin)m(ting)g -(c)m(haracters.)275 1319 y(The)25 b(command)h(n)m(um)m(b)s(er)f(and)h -(the)g(history)g(n)m(um)m(b)s(er)f(are)i(usually)f(di\013eren)m(t:)39 -b(the)26 b(history)g(n)m(um)m(b)s(er)150 1428 y(of)h(a)f(command)h(is)f -(its)h(p)s(osition)f(in)g(the)h(history)f(list,)i(whic)m(h)f(ma)m(y)g -(include)f(commands)g(restored)g(from)150 1538 y(the)39 -b(history)h(\014le)f(\(see)h(Section)g(9.1)h([Bash)e(History)h(F)-8 -b(acilities],)45 b(page)40 b(133\),)j(while)d(the)f(command)150 -1647 y(n)m(um)m(b)s(er)j(is)h(the)h(p)s(osition)f(in)g(the)g(sequence)h -(of)f(commands)g(executed)h(during)e(the)i(curren)m(t)f(shell)150 -1757 y(session.)275 1912 y(After)35 b(the)g(string)g(is)g(deco)s(ded,)h -(it)f(is)g(expanded)f(via)i(parameter)f(expansion,)i(command)d(substi-) -150 2022 y(tution,)k(arithmetic)f(expansion,)g(and)e(quote)h(remo)m(v) --5 b(al,)39 b(sub)5 b(ject)35 b(to)i(the)f(v)-5 b(alue)36 -b(of)g(the)g Ft(promptvars)150 2131 y Fu(shell)31 b(option)f(\(see)i -(Section)f(4.2)g([Bash)g(Builtins],)g(page)g(48\).)150 -2395 y Fs(6.10)68 b(The)45 b(Restricted)h(Shell)150 2554 -y Fu(If)34 b(Bash)g(is)g(started)g(with)g(the)g(name)h +2076 y(terminal)31 b(con)m(trol)h(sequence)e(in)m(to)i(the)e(prompt.) +150 2232 y Ft(\\])384 b Fu(End)29 b(a)i(sequence)g(of)f(non-prin)m +(ting)g(c)m(haracters.)275 2388 y(The)25 b(command)h(n)m(um)m(b)s(er)f +(and)h(the)g(history)g(n)m(um)m(b)s(er)f(are)i(usually)f(di\013eren)m +(t:)39 b(the)26 b(history)g(n)m(um)m(b)s(er)150 2497 +y(of)h(a)f(command)h(is)f(its)h(p)s(osition)f(in)g(the)h(history)f +(list,)i(whic)m(h)f(ma)m(y)g(include)f(commands)g(restored)g(from)150 +2607 y(the)39 b(history)h(\014le)f(\(see)h(Section)g(9.1)h([Bash)e +(History)h(F)-8 b(acilities],)45 b(page)40 b(137\),)j(while)d(the)f +(command)150 2717 y(n)m(um)m(b)s(er)j(is)h(the)h(p)s(osition)f(in)g +(the)g(sequence)h(of)f(commands)g(executed)h(during)e(the)i(curren)m(t) +f(shell)150 2826 y(session.)275 2959 y(After)35 b(the)g(string)g(is)g +(deco)s(ded,)h(it)f(is)g(expanded)f(via)i(parameter)f(expansion,)i +(command)d(substi-)150 3068 y(tution,)k(arithmetic)f(expansion,)g(and)e +(quote)h(remo)m(v)-5 b(al,)39 b(sub)5 b(ject)35 b(to)i(the)f(v)-5 +b(alue)36 b(of)g(the)g Ft(promptvars)150 3178 y Fu(shell)31 +b(option)f(\(see)i(Section)f(4.2)g([Bash)g(Builtins],)g(page)g(49\).) +150 3415 y Fs(6.10)68 b(The)45 b(Restricted)h(Shell)150 +3575 y Fu(If)34 b(Bash)g(is)g(started)g(with)g(the)g(name)h Ft(rbash)p Fu(,)e(or)h(the)h Ft(--restricted)30 b Fu(or)k -Ft(-r)g Fu(option)g(is)g(supplied)f(at)150 2664 y(in)m(v)m(o)s(cation,) +Ft(-r)g Fu(option)g(is)g(supplied)f(at)150 3684 y(in)m(v)m(o)s(cation,) d(the)d(shell)g(b)s(ecomes)h(restricted.)40 b(A)27 b(restricted)h (shell)f(is)g(used)f(to)i(set)f(up)f(an)h(en)m(vironmen)m(t)150 -2773 y(more)g(con)m(trolled)i(than)e(the)g(standard)g(shell.)40 +3794 y(more)g(con)m(trolled)i(than)e(the)g(standard)g(shell.)40 b(A)27 b(restricted)h(shell)f(b)s(eha)m(v)m(es)h(iden)m(tically)h(to)f -Ft(bash)e Fu(with)150 2883 y(the)31 b(exception)g(that)g(the)g(follo)m +Ft(bash)e Fu(with)150 3903 y(the)31 b(exception)g(that)g(the)g(follo)m (wing)h(are)e(disallo)m(w)m(ed)i(or)e(not)h(p)s(erformed:)225 -3038 y Fq(\017)60 b Fu(Changing)30 b(directories)h(with)g(the)f -Ft(cd)g Fu(builtin.)225 3183 y Fq(\017)60 b Fu(Setting)31 +4036 y Fq(\017)60 b Fu(Changing)30 b(directories)h(with)g(the)f +Ft(cd)g Fu(builtin.)225 4169 y Fq(\017)60 b Fu(Setting)31 b(or)f(unsetting)h(the)g(v)-5 b(alues)30 b(of)h(the)f Ft(SHELL)p Fu(,)g Ft(PATH)p Fu(,)f Ft(ENV)p Fu(,)h(or)g -Ft(BASH_ENV)e Fu(v)-5 b(ariables.)225 3328 y Fq(\017)60 +Ft(BASH_ENV)e Fu(v)-5 b(ariables.)225 4301 y Fq(\017)60 b Fu(Sp)s(ecifying)30 b(command)g(names)g(con)m(taining)i(slashes.)225 -3472 y Fq(\017)60 b Fu(Sp)s(ecifying)30 b(a)h(\014lename)f(con)m +4434 y Fq(\017)60 b Fu(Sp)s(ecifying)30 b(a)h(\014lename)f(con)m (taining)i(a)f(slash)f(as)h(an)f(argumen)m(t)h(to)g(the)f -Ft(.)h Fu(builtin)e(command.)225 3617 y Fq(\017)60 b +Ft(.)h Fu(builtin)e(command.)225 4567 y Fq(\017)60 b Fu(Sp)s(ecifying)32 b(a)g(\014lename)h(con)m(taining)h(a)e(slash)g(as)h (an)f(argumen)m(t)h(to)g(the)f Ft(-p)g Fu(option)h(to)g(the)f -Ft(hash)330 3727 y Fu(builtin)e(command.)225 3871 y Fq(\017)60 +Ft(hash)330 4676 y Fu(builtin)e(command.)225 4809 y Fq(\017)60 b Fu(Imp)s(orting)30 b(function)g(de\014nitions)g(from)f(the)i(shell)g -(en)m(vironmen)m(t)g(at)g(startup.)225 4016 y Fq(\017)60 +(en)m(vironmen)m(t)g(at)g(startup.)225 4942 y Fq(\017)60 b Fu(P)m(arsing)31 b(the)f(v)-5 b(alue)31 b(of)g Ft(SHELLOPTS)d Fu(from)h(the)i(shell)g(en)m(vironmen)m(t)g(at)g(startup.)225 -4161 y Fq(\017)60 b Fu(Redirecting)31 b(output)f(using)g(the)h(`)p +5075 y Fq(\017)60 b Fu(Redirecting)31 b(output)f(using)g(the)h(`)p Ft(>)p Fu(',)g(`)p Ft(>|)p Fu(',)f(`)p Ft(<>)p Fu(',)h(`)p Ft(>&)p Fu(',)f(`)p Ft(&>)p Fu(',)h(and)e(`)p Ft(>>)p -Fu(')i(redirection)g(op)s(erators.)225 4306 y Fq(\017)60 +Fu(')i(redirection)g(op)s(erators.)225 5207 y Fq(\017)60 b Fu(Using)31 b(the)f Ft(exec)f Fu(builtin)h(to)h(replace)h(the)e -(shell)h(with)f(another)h(command.)225 4451 y Fq(\017)60 +(shell)h(with)f(another)h(command.)225 5340 y Fq(\017)60 b Fu(Adding)24 b(or)g(deleting)i(builtin)e(commands)g(with)h(the)f Ft(-f)g Fu(and)g Ft(-d)g Fu(options)h(to)h(the)e Ft(enable)f -Fu(builtin.)225 4595 y Fq(\017)60 b Fu(Using)31 b(the)f -Ft(enable)f Fu(builtin)h(command)g(to)h(enable)g(disabled)f(shell)g -(builtins.)225 4740 y Fq(\017)60 b Fu(Sp)s(ecifying)30 -b(the)g Ft(-p)g Fu(option)h(to)g(the)g Ft(command)d Fu(builtin.)225 -4885 y Fq(\017)60 b Fu(T)-8 b(urning)29 b(o\013)i(restricted)g(mo)s(de) -f(with)g(`)p Ft(set)g(+r)p Fu(')g(or)g(`)p Ft(set)g(+o)g(restricted)p -Fu('.)275 5075 y(These)g(restrictions)h(are)g(enforced)f(after)h(an)m -(y)g(startup)f(\014les)g(are)h(read.)275 5230 y(When)j(a)i(command)e -(that)i(is)f(found)f(to)h(b)s(e)g(a)g(shell)g(script)g(is)g(executed)h -(\(see)g(Section)g(3.8)g([Shell)150 5340 y(Scripts],)25 -b(page)e(39\),)j Ft(rbash)c Fu(turns)g(o\013)i(an)m(y)f(restrictions)h -(in)f(the)g(shell)h(spa)m(wned)e(to)i(execute)g(the)g(script.)p -eop end -%%Page: 94 100 -TeXDict begin 94 99 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(94)150 299 y Fs(6.11)68 -b(Bash)45 b(POSIX)f(Mo)t(de)150 458 y Fu(Starting)39 +Fu(builtin.)p eop end +%%Page: 96 102 +TeXDict begin 96 101 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(96)225 299 y Fq(\017)60 +b Fu(Using)31 b(the)f Ft(enable)f Fu(builtin)h(command)g(to)h(enable)g +(disabled)f(shell)g(builtins.)225 434 y Fq(\017)60 b +Fu(Sp)s(ecifying)30 b(the)g Ft(-p)g Fu(option)h(to)g(the)g +Ft(command)d Fu(builtin.)225 569 y Fq(\017)60 b Fu(T)-8 +b(urning)29 b(o\013)i(restricted)g(mo)s(de)f(with)g(`)p +Ft(set)g(+r)p Fu(')g(or)g(`)p Ft(set)g(+o)g(restricted)p +Fu('.)275 729 y(These)g(restrictions)h(are)g(enforced)f(after)h(an)m(y) +g(startup)f(\014les)g(are)h(read.)275 865 y(When)j(a)i(command)e(that)i +(is)f(found)f(to)h(b)s(e)g(a)g(shell)g(script)g(is)g(executed)h(\(see)g +(Section)g(3.8)g([Shell)150 974 y(Scripts],)25 b(page)e(40\),)j +Ft(rbash)c Fu(turns)g(o\013)i(an)m(y)f(restrictions)h(in)f(the)g(shell) +h(spa)m(wned)e(to)i(execute)g(the)g(script.)150 1216 +y Fs(6.11)68 b(Bash)45 b(POSIX)f(Mo)t(de)150 1376 y Fu(Starting)39 b(Bash)f(with)g(the)h Ft(--posix)d Fu(command-line)j(option)g(or)f (executing)h(`)p Ft(set)30 b(-o)g(posix)p Fu(')37 b(while)150 -568 y(Bash)26 b(is)g(running)e(will)j(cause)f(Bash)g(to)h(conform)f +1485 y(Bash)26 b(is)g(running)e(will)j(cause)f(Bash)g(to)h(conform)f (more)g(closely)h(to)g(the)f Fm(posix)f Fu(standard)g(b)m(y)h(c)m -(hanging)150 677 y(the)31 b(b)s(eha)m(vior)f(to)h(matc)m(h)g(that)g(sp) -s(eci\014ed)f(b)m(y)g Fm(posix)g Fu(in)g(areas)h(where)f(the)h(Bash)f -(default)h(di\013ers.)275 811 y(When)f(in)m(v)m(ok)m(ed)h(as)g +(hanging)150 1595 y(the)31 b(b)s(eha)m(vior)f(to)h(matc)m(h)g(that)g +(sp)s(eci\014ed)f(b)m(y)g Fm(posix)g Fu(in)g(areas)h(where)f(the)h +(Bash)f(default)h(di\013ers.)275 1730 y(When)f(in)m(v)m(ok)m(ed)h(as)g Ft(sh)p Fu(,)f(Bash)h(en)m(ters)g Fm(posix)e Fu(mo)s(de)h(after)h -(reading)g(the)f(startup)g(\014les.)275 944 y(The)f(follo)m(wing)j +(reading)g(the)f(startup)g(\014les.)275 1866 y(The)f(follo)m(wing)j (list)f(is)g(what's)f(c)m(hanged)h(when)e(`)p Fm(posix)h -Fu(mo)s(de')h(is)f(in)g(e\013ect:)199 1077 y(1.)61 b(When)28 +Fu(mo)s(de')h(is)f(in)g(e\013ect:)199 2001 y(1.)61 b(When)28 b(a)i(command)e(in)g(the)h(hash)f(table)i(no)e(longer)h(exists,)h(Bash) f(will)g(re-searc)m(h)h Ft($PATH)d Fu(to)i(\014nd)330 -1187 y(the)i(new)e(lo)s(cation.)43 b(This)29 b(is)i(also)g(a)m(v)-5 +2111 y(the)i(new)e(lo)s(cation.)43 b(This)29 b(is)i(also)g(a)m(v)-5 b(ailable)33 b(with)d(`)p Ft(shopt)f(-s)h(checkhash)p -Fu('.)199 1320 y(2.)61 b(The)42 b(message)h(prin)m(ted)e(b)m(y)h(the)g +Fu('.)199 2246 y(2.)61 b(The)42 b(message)h(prin)m(ted)e(b)m(y)h(the)g (job)g(con)m(trol)i(co)s(de)e(and)f(builtins)h(when)f(a)h(job)g(exits)h -(with)f(a)330 1430 y(non-zero)31 b(status)g(is)f(`Done\(status\)'.)199 -1563 y(3.)61 b(The)40 b(message)h(prin)m(ted)f(b)m(y)g(the)h(job)f(con) +(with)f(a)330 2355 y(non-zero)31 b(status)g(is)f(`Done\(status\)'.)199 +2490 y(3.)61 b(The)40 b(message)h(prin)m(ted)f(b)m(y)g(the)h(job)f(con) m(trol)h(co)s(de)g(and)f(builtins)f(when)h(a)g(job)g(is)h(stopp)s(ed)e -(is)330 1673 y(`Stopp)s(ed\()p Fr(signame)5 b Fu(\)',)31 +(is)330 2600 y(`Stopp)s(ed\()p Fr(signame)5 b Fu(\)',)31 b(where)f Fr(signame)36 b Fu(is,)31 b(for)f(example,)h -Ft(SIGTSTP)p Fu(.)199 1806 y(4.)61 b(The)27 b Ft(bg)g -Fu(builtin)g(uses)g(the)h(required)f(format)h(to)g(describ)s(e)f(eac)m -(h)i(job)e(placed)h(in)f(the)h(bac)m(kground,)330 1916 -y(whic)m(h)h(do)s(es)g(not)g(include)g(an)g(indication)h(of)f(whether)f -(the)h(job)g(is)g(the)h(curren)m(t)e(or)h(previous)g(job.)199 -2049 y(5.)61 b(Reserv)m(ed)40 b(w)m(ords)g(app)s(earing)f(in)h(a)g(con) +Ft(SIGTSTP)p Fu(.)199 2735 y(4.)61 b(Alias)31 b(expansion)g(is)f(alw)m +(a)m(ys)i(enabled,)e(ev)m(en)i(in)e(non-in)m(teractiv)m(e)j(shells.)199 +2870 y(5.)61 b(Reserv)m(ed)40 b(w)m(ords)g(app)s(earing)f(in)h(a)g(con) m(text)i(where)d(reserv)m(ed)h(w)m(ords)f(are)i(recognized)g(do)f(not) -330 2159 y(undergo)30 b(alias)h(expansion.)199 2292 y(6.)61 +330 2979 y(undergo)30 b(alias)h(expansion.)199 3114 y(6.)61 b(The)38 b Fm(posix)h Ft(PS1)f Fu(and)g Ft(PS2)g Fu(expansions)g(of)i (`)p Ft(!)p Fu(')f(to)g(the)g(history)g(n)m(um)m(b)s(er)f(and)g(`)p -Ft(!!)p Fu(')h(to)g(`)p Ft(!)p Fu(')h(are)330 2401 y(enabled,)26 +Ft(!!)p Fu(')h(to)g(`)p Ft(!)p Fu(')h(are)330 3224 y(enabled,)26 b(and)f(parameter)g(expansion)g(is)g(p)s(erformed)e(on)i(the)g(v)-5 b(alues)25 b(of)g Ft(PS1)f Fu(and)h Ft(PS2)f Fu(regardless)330 -2511 y(of)31 b(the)f(setting)i(of)e(the)h Ft(promptvars)c -Fu(option.)199 2644 y(7.)61 b(The)30 b Fm(posix)g Fu(startup)f(\014les) +3333 y(of)31 b(the)f(setting)i(of)e(the)h Ft(promptvars)c +Fu(option.)199 3468 y(7.)61 b(The)30 b Fm(posix)g Fu(startup)f(\014les) i(are)g(executed)g(\()p Ft($ENV)p Fu(\))f(rather)g(than)g(the)h(normal) -f(Bash)g(\014les.)199 2778 y(8.)61 b(Tilde)30 b(expansion)g(is)f(only)h +f(Bash)g(\014les.)199 3603 y(8.)61 b(Tilde)30 b(expansion)g(is)f(only)h (p)s(erformed)f(on)h(assignmen)m(ts)g(preceding)g(a)g(command)g(name,)g -(rather)330 2887 y(than)g(on)g(all)i(assignmen)m(t)f(statemen)m(ts)h -(on)e(the)h(line.)199 3021 y(9.)61 b(The)31 b Ft(command)e -Fu(builtin)i(do)s(es)g(not)h(prev)m(en)m(t)f(builtins)g(that)h(tak)m(e) -h(assignmen)m(t)f(statemen)m(ts)h(as)f(ar-)330 3130 y(gumen)m(ts)40 -b(from)e(expanding)h(them)g(as)h(assignmen)m(t)g(statemen)m(ts;)46 -b(when)38 b(not)i(in)f Fm(posix)f Fu(mo)s(de,)330 3240 -y(assignmen)m(t)k(builtins)e(lose)h(their)g(assignmen)m(t)h(statemen)m -(t)h(expansion)d(prop)s(erties)g(when)g(pre-)330 3349 -y(ceded)31 b(b)m(y)f Ft(command)p Fu(.)154 3483 y(10.)61 -b(The)30 b(default)g(history)h(\014le)f(is)h Ft(~/.sh_history)26 -b Fu(\(this)31 b(is)f(the)h(default)g(v)-5 b(alue)30 -b(of)h Ft($HISTFILE)p Fu(\).)154 3616 y(11.)61 b(The)23 -b(output)f(of)i(`)p Ft(kill)29 b(-l)p Fu(')23 b(prin)m(ts)f(all)i(the)g -(signal)f(names)g(on)g(a)h(single)g(line,)h(separated)e(b)m(y)g -(spaces,)330 3726 y(without)30 b(the)h(`)p Ft(SIG)p Fu(')f(pre\014x.) -154 3859 y(12.)61 b(The)30 b Ft(kill)f Fu(builtin)h(do)s(es)g(not)h -(accept)h(signal)f(names)f(with)g(a)h(`)p Ft(SIG)p Fu(')f(pre\014x.)154 -3992 y(13.)61 b(Non-in)m(teractiv)m(e)34 b(shells)c(exit)h(if)g -Fr(\014lename)k Fu(in)30 b Ft(.)g Fr(\014lename)36 b -Fu(is)31 b(not)f(found.)154 4125 y(14.)61 b(Non-in)m(teractiv)m(e)41 -b(shells)d(exit)h(if)f(a)g(syn)m(tax)g(error)g(in)f(an)h(arithmetic)h -(expansion)f(results)f(in)h(an)330 4235 y(in)m(v)-5 b(alid)31 -b(expression.)154 4368 y(15.)61 b(Non-in)m(teractiv)m(e)27 -b(shells)c(exit)i(if)e(there)h(is)f(a)h(syn)m(tax)g(error)f(in)g(a)h -(script)f(read)g(with)h(the)f Ft(.)g Fu(or)h Ft(source)330 -4478 y Fu(builtins,)30 b(or)g(in)g(a)h(string)g(pro)s(cessed)e(b)m(y)i -(the)f Ft(eval)f Fu(builtin.)154 4611 y(16.)61 b(Redirection)25 -b(op)s(erators)f(do)g(not)g(p)s(erform)f(\014lename)h(expansion)g(on)g -(the)g(w)m(ord)f(in)h(the)g(redirection)330 4721 y(unless)30 -b(the)g(shell)h(is)f(in)m(teractiv)m(e.)154 4854 y(17.)61 -b(Redirection)31 b(op)s(erators)g(do)f(not)h(p)s(erform)e(w)m(ord)h -(splitting)h(on)f(the)h(w)m(ord)f(in)g(the)g(redirection.)154 -4987 y(18.)61 b(F)-8 b(unction)35 b(names)g(m)m(ust)f(b)s(e)g(v)-5 +(rather)330 3713 y(than)g(on)g(all)i(assignmen)m(t)f(statemen)m(ts)h +(on)e(the)h(line.)199 3848 y(9.)61 b(The)30 b(default)g(history)h +(\014le)f(is)h Ft(~/.sh_history)26 b Fu(\(this)31 b(is)f(the)h(default) +g(v)-5 b(alue)30 b(of)h Ft($HISTFILE)p Fu(\).)154 3982 +y(10.)61 b(Redirection)25 b(op)s(erators)f(do)g(not)g(p)s(erform)f +(\014lename)h(expansion)g(on)g(the)g(w)m(ord)f(in)h(the)g(redirection) +330 4092 y(unless)30 b(the)g(shell)h(is)f(in)m(teractiv)m(e.)154 +4227 y(11.)61 b(Redirection)31 b(op)s(erators)g(do)f(not)h(p)s(erform)e +(w)m(ord)h(splitting)h(on)f(the)h(w)m(ord)f(in)g(the)g(redirection.)154 +4362 y(12.)61 b(F)-8 b(unction)35 b(names)g(m)m(ust)f(b)s(e)g(v)-5 b(alid)35 b(shell)f Ft(name)p Fu(s.)52 b(That)34 b(is,)i(they)f(ma)m(y) -g(not)g(con)m(tain)g(c)m(haracters)330 5097 y(other)e(than)g(letters,)h +g(not)g(con)m(tain)g(c)m(haracters)330 4472 y(other)e(than)g(letters,)h (digits,)h(and)d(underscores,)h(and)f(ma)m(y)h(not)g(start)h(with)e(a)h -(digit.)49 b(Declaring)330 5207 y(a)31 b(function)f(with)g(an)g(in)m(v) +(digit.)49 b(Declaring)330 4581 y(a)31 b(function)f(with)g(an)g(in)m(v) -5 b(alid)31 b(name)g(causes)f(a)h(fatal)h(syn)m(tax)f(error)f(in)g -(non-in)m(teractiv)m(e)j(shells.)154 5340 y(19.)61 b(F)-8 +(non-in)m(teractiv)m(e)j(shells.)154 4716 y(13.)61 b(F)-8 b(unction)31 b(names)f(ma)m(y)h(not)g(b)s(e)f(the)g(same)h(as)g(one)f -(of)h(the)f Fm(posix)g Fu(sp)s(ecial)h(builtins.)p eop -end -%%Page: 95 101 -TeXDict begin 95 100 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(95)154 299 y(20.)61 -b Fm(posix)30 b Fu(sp)s(ecial)h(builtins)e(are)i(found)e(b)s(efore)h -(shell)h(functions)f(during)f(command)h(lo)s(okup.)154 -427 y(21.)61 b(The)29 b Ft(time)g Fu(reserv)m(ed)h(w)m(ord)g(ma)m(y)g -(b)s(e)g(used)f(b)m(y)h(itself)g(as)g(a)h(command.)40 -b(When)30 b(used)f(in)g(this)h(w)m(a)m(y)-8 b(,)330 536 -y(it)33 b(displa)m(ys)g(timing)g(statistics)h(for)e(the)h(shell)g(and)f -(its)g(completed)i(c)m(hildren.)47 b(The)32 b Ft(TIMEFORMAT)330 -646 y Fu(v)-5 b(ariable)31 b(con)m(trols)h(the)e(format)h(of)g(the)f -(timing)h(information.)154 774 y(22.)61 b(When)33 b(parsing)g(and)f -(expanding)h(a)h($)p Fi({)6 b Fu(.)22 b(.)h(.)11 b Fi(})33 -b Fu(expansion)g(that)h(app)s(ears)f(within)f(double)h(quotes,)330 -883 y(single)42 b(quotes)g(are)g(no)g(longer)g(sp)s(ecial)g(and)f -(cannot)i(b)s(e)e(used)g(to)h(quote)g(a)g(closing)h(brace)f(or)330 -993 y(other)31 b(sp)s(ecial)h(c)m(haracter,)i(unless)c(the)i(op)s -(erator)f(is)g(one)h(of)f(those)h(de\014ned)e(to)i(p)s(erform)e -(pattern)330 1103 y(remo)m(v)-5 b(al.)42 b(In)30 b(this)g(case,)i(they) -e(do)g(not)h(ha)m(v)m(e)h(to)f(app)s(ear)e(as)i(matc)m(hed)g(pairs.)154 -1230 y(23.)61 b(The)29 b(parser)g(do)s(es)g(not)h(recognize)h +(of)h(the)f Fm(posix)g Fu(sp)s(ecial)h(builtins.)154 +4851 y(14.)61 b Fm(posix)30 b Fu(sp)s(ecial)h(builtins)e(are)i(found)e +(b)s(efore)h(shell)h(functions)f(during)f(command)h(lo)s(okup.)154 +4986 y(15.)61 b(When)48 b(prin)m(ting)g(shell)h(function)f +(de\014nitions)g(\(e.g.,)55 b(b)m(y)48 b Ft(type)p Fu(\),)k(Bash)d(do)s +(es)f(not)h(prin)m(t)f(the)330 5095 y Ft(function)28 +b Fu(k)m(eyw)m(ord.)154 5230 y(16.)61 b(Literal)28 b(tildes)g(that)f +(app)s(ear)f(as)i(the)f(\014rst)f(c)m(haracter)j(in)d(elemen)m(ts)j(of) +e(the)g Ft(PATH)f Fu(v)-5 b(ariable)27 b(are)h(not)330 +5340 y(expanded)i(as)g(describ)s(ed)f(ab)s(o)m(v)m(e)j(under)d(Section) +i(3.5.2)h([Tilde)f(Expansion],)f(page)h(22.)p eop end +%%Page: 97 103 +TeXDict begin 97 102 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(97)154 299 y(17.)61 +b(The)29 b Ft(time)g Fu(reserv)m(ed)h(w)m(ord)g(ma)m(y)g(b)s(e)g(used)f +(b)m(y)h(itself)g(as)g(a)h(command.)40 b(When)30 b(used)f(in)g(this)h +(w)m(a)m(y)-8 b(,)330 408 y(it)33 b(displa)m(ys)g(timing)g(statistics)h +(for)e(the)h(shell)g(and)f(its)g(completed)i(c)m(hildren.)47 +b(The)32 b Ft(TIMEFORMAT)330 518 y Fu(v)-5 b(ariable)31 +b(con)m(trols)h(the)e(format)h(of)g(the)f(timing)h(information.)154 +646 y(18.)61 b(When)33 b(parsing)g(and)f(expanding)h(a)h($)p +Fi({)6 b Fu(.)22 b(.)h(.)11 b Fi(})33 b Fu(expansion)g(that)h(app)s +(ears)f(within)f(double)h(quotes,)330 756 y(single)42 +b(quotes)g(are)g(no)g(longer)g(sp)s(ecial)g(and)f(cannot)i(b)s(e)e +(used)g(to)h(quote)g(a)g(closing)h(brace)f(or)330 865 +y(other)31 b(sp)s(ecial)h(c)m(haracter,)i(unless)c(the)i(op)s(erator)f +(is)g(one)h(of)f(those)h(de\014ned)e(to)i(p)s(erform)e(pattern)330 +975 y(remo)m(v)-5 b(al.)42 b(In)30 b(this)g(case,)i(they)e(do)g(not)h +(ha)m(v)m(e)h(to)f(app)s(ear)e(as)i(matc)m(hed)g(pairs.)154 +1103 y(19.)61 b(The)29 b(parser)g(do)s(es)g(not)h(recognize)h Ft(time)d Fu(as)i(a)g(reserv)m(ed)f(w)m(ord)g(if)h(the)f(next)h(tok)m -(en)h(b)s(egins)d(with)i(a)330 1340 y(`)p Ft(-)p Fu('.)154 -1468 y(24.)61 b(If)24 b(a)g Fm(posix)g Fu(sp)s(ecial)h(builtin)f -(returns)f(an)h(error)g(status,)i(a)e(non-in)m(teractiv)m(e)j(shell)e -(exits.)39 b(The)24 b(fatal)330 1577 y(errors)30 b(are)h(those)f -(listed)h(in)f(the)h Fm(posix)e Fu(standard,)h(and)g(include)g(things)g -(lik)m(e)i(passing)e(incorrect)330 1687 y(options,)43 -b(redirection)d(errors,)i(v)-5 b(ariable)41 b(assignmen)m(t)g(errors)e -(for)g(assignmen)m(ts)i(preceding)f(the)330 1797 y(command)30 -b(name,)h(and)f(so)g(on.)154 1924 y(25.)61 b(A)31 b(non-in)m(teractiv)m -(e)j(shell)d(exits)h(with)e(an)h(error)g(status)g(if)g(a)g(v)-5 -b(ariable)32 b(assignmen)m(t)g(error)e(o)s(ccurs)330 -2034 y(when)38 b(no)h(command)g(name)g(follo)m(ws)i(the)e(assignmen)m -(t)h(statemen)m(ts.)69 b(A)39 b(v)-5 b(ariable)40 b(assignmen)m(t)330 -2144 y(error)30 b(o)s(ccurs,)g(for)g(example,)i(when)d(trying)i(to)g -(assign)f(a)h(v)-5 b(alue)31 b(to)g(a)g(readonly)f(v)-5 -b(ariable.)154 2271 y(26.)61 b(A)31 b(non-in)m(teractiv)m(e)j(shell)d -(exits)h(with)e(an)h(error)g(status)g(if)g(a)g(v)-5 b(ariable)32 -b(assignmen)m(t)g(error)e(o)s(ccurs)330 2381 y(in)g(an)g(assignmen)m(t) -i(statemen)m(t)g(preceding)e(a)h(sp)s(ecial)g(builtin,)f(but)g(not)g -(with)h(an)m(y)f(other)h(simple)330 2491 y(command.)154 -2619 y(27.)61 b(A)43 b(non-in)m(teractiv)m(e)i(shell)e(exits)h(with)f -(an)f(error)h(status)g(if)g(the)g(iteration)h(v)-5 b(ariable)44 -b(in)f(a)g Ft(for)330 2728 y Fu(statemen)m(t)32 b(or)f(the)f(selection) -i(v)-5 b(ariable)32 b(in)e(a)g Ft(select)f Fu(statemen)m(t)j(is)f(a)f -(readonly)h(v)-5 b(ariable.)154 2856 y(28.)61 b(Pro)s(cess)30 -b(substitution)g(is)h(not)f(a)m(v)-5 b(ailable.)154 2984 -y(29.)61 b(While)32 b(v)-5 b(ariable)32 b(indirection)f(is)g(a)m(v)-5 -b(ailable,)34 b(it)d(ma)m(y)h(not)f(b)s(e)g(applied)g(to)g(the)h(`)p -Ft(#)p Fu(')f(and)f(`)p Ft(?)p Fu(')h(sp)s(ecial)330 -3093 y(parameters.)154 3221 y(30.)61 b(Assignmen)m(t)23 -b(statemen)m(ts)h(preceding)e Fm(posix)f Fu(sp)s(ecial)i(builtins)f(p)s -(ersist)g(in)f(the)i(shell)f(en)m(vironmen)m(t)330 3331 -y(after)31 b(the)f(builtin)g(completes.)154 3459 y(31.)61 -b(Assignmen)m(t)35 b(statemen)m(ts)h(preceding)f(shell)f(function)g -(calls)i(p)s(ersist)e(in)g(the)h(shell)f(en)m(vironmen)m(t)330 -3568 y(after)d(the)f(function)h(returns,)e(as)i(if)f(a)h +(en)h(b)s(egins)d(with)i(a)330 1212 y(`)p Ft(-)p Fu('.)154 +1340 y(20.)61 b(The)30 b(`)p Ft(!)p Fu(')h(c)m(haracter)h(do)s(es)e +(not)h(in)m(tro)s(duce)g(history)f(expansion)h(within)f(a)h +(double-quoted)g(string,)330 1450 y(ev)m(en)g(if)f(the)h +Ft(histexpand)d Fu(option)i(is)h(enabled.)154 1577 y(21.)61 +b(If)24 b(a)g Fm(posix)g Fu(sp)s(ecial)h(builtin)f(returns)f(an)h +(error)g(status,)i(a)e(non-in)m(teractiv)m(e)j(shell)e(exits.)39 +b(The)24 b(fatal)330 1687 y(errors)30 b(are)h(those)f(listed)h(in)f +(the)h Fm(posix)e Fu(standard,)h(and)g(include)g(things)g(lik)m(e)i +(passing)e(incorrect)330 1797 y(options,)43 b(redirection)d(errors,)i +(v)-5 b(ariable)41 b(assignmen)m(t)g(errors)e(for)g(assignmen)m(ts)i +(preceding)f(the)330 1906 y(command)30 b(name,)h(and)f(so)g(on.)154 +2034 y(22.)61 b(A)31 b(non-in)m(teractiv)m(e)j(shell)d(exits)h(with)e +(an)h(error)g(status)g(if)g(a)g(v)-5 b(ariable)32 b(assignmen)m(t)g +(error)e(o)s(ccurs)330 2144 y(when)38 b(no)h(command)g(name)g(follo)m +(ws)i(the)e(assignmen)m(t)h(statemen)m(ts.)69 b(A)39 +b(v)-5 b(ariable)40 b(assignmen)m(t)330 2253 y(error)30 +b(o)s(ccurs,)g(for)g(example,)i(when)d(trying)i(to)g(assign)f(a)h(v)-5 +b(alue)31 b(to)g(a)g(readonly)f(v)-5 b(ariable.)154 2381 +y(23.)61 b(A)31 b(non-in)m(teractiv)m(e)j(shell)d(exits)h(with)e(an)h +(error)g(status)g(if)g(a)g(v)-5 b(ariable)32 b(assignmen)m(t)g(error)e +(o)s(ccurs)330 2491 y(in)g(an)g(assignmen)m(t)i(statemen)m(t)g +(preceding)e(a)h(sp)s(ecial)g(builtin,)f(but)g(not)g(with)h(an)m(y)f +(other)h(simple)330 2600 y(command.)154 2728 y(24.)61 +b(A)43 b(non-in)m(teractiv)m(e)i(shell)e(exits)h(with)f(an)f(error)h +(status)g(if)g(the)g(iteration)h(v)-5 b(ariable)44 b(in)f(a)g +Ft(for)330 2838 y Fu(statemen)m(t)32 b(or)f(the)f(selection)i(v)-5 +b(ariable)32 b(in)e(a)g Ft(select)f Fu(statemen)m(t)j(is)f(a)f +(readonly)h(v)-5 b(ariable.)154 2966 y(25.)61 b(Non-in)m(teractiv)m(e) +34 b(shells)c(exit)h(if)g Fr(\014lename)k Fu(in)30 b +Ft(.)g Fr(\014lename)36 b Fu(is)31 b(not)f(found.)154 +3093 y(26.)61 b(Non-in)m(teractiv)m(e)41 b(shells)d(exit)h(if)f(a)g +(syn)m(tax)g(error)g(in)f(an)h(arithmetic)h(expansion)f(results)f(in)h +(an)330 3203 y(in)m(v)-5 b(alid)31 b(expression.)154 +3331 y(27.)61 b(Non-in)m(teractiv)m(e)34 b(shells)c(exit)h(if)g(a)f +(parameter)h(expansion)g(error)f(o)s(ccurs.)154 3459 +y(28.)61 b(Non-in)m(teractiv)m(e)27 b(shells)c(exit)i(if)e(there)h(is)f +(a)h(syn)m(tax)g(error)f(in)g(a)h(script)f(read)g(with)h(the)f +Ft(.)g Fu(or)h Ft(source)330 3568 y Fu(builtins,)30 b(or)g(in)g(a)h +(string)g(pro)s(cessed)e(b)m(y)i(the)f Ft(eval)f Fu(builtin.)154 +3696 y(29.)61 b(Pro)s(cess)30 b(substitution)g(is)h(not)f(a)m(v)-5 +b(ailable.)154 3824 y(30.)61 b(While)32 b(v)-5 b(ariable)32 +b(indirection)f(is)g(a)m(v)-5 b(ailable,)34 b(it)d(ma)m(y)h(not)f(b)s +(e)g(applied)g(to)g(the)h(`)p Ft(#)p Fu(')f(and)f(`)p +Ft(?)p Fu(')h(sp)s(ecial)330 3934 y(parameters.)154 4061 +y(31.)61 b(When)28 b(expanding)g(the)g(`)p Ft(*)p Fu(')g(sp)s(ecial)h +(parameter)f(in)g(a)h(pattern)f(con)m(text)i(where)e(the)g(expansion)g +(is)330 4171 y(double-quoted)i(do)s(es)g(not)h(treat)h(the)e +Ft($*)g Fu(as)h(if)f(it)h(w)m(ere)g(double-quoted.)154 +4299 y(32.)61 b(Assignmen)m(t)23 b(statemen)m(ts)h(preceding)e +Fm(posix)f Fu(sp)s(ecial)i(builtins)f(p)s(ersist)g(in)f(the)i(shell)f +(en)m(vironmen)m(t)330 4408 y(after)31 b(the)f(builtin)g(completes.)154 +4536 y(33.)61 b(Assignmen)m(t)35 b(statemen)m(ts)h(preceding)f(shell)f +(function)g(calls)i(p)s(ersist)e(in)g(the)h(shell)f(en)m(vironmen)m(t) +330 4646 y(after)d(the)f(function)h(returns,)e(as)i(if)f(a)h Fm(posix)e Fu(sp)s(ecial)i(builtin)f(command)g(had)g(b)s(een)g -(executed.)154 3696 y(32.)61 b(The)38 b Ft(export)f Fu(and)g -Ft(readonly)f Fu(builtin)i(commands)g(displa)m(y)h(their)f(output)g(in) -g(the)h(format)g(re-)330 3806 y(quired)30 b(b)m(y)g Fm(posix)p -Fu(.)154 3934 y(33.)61 b(The)30 b Ft(trap)f Fu(builtin)h(displa)m(ys)g -(signal)i(names)e(without)g(the)h(leading)g Ft(SIG)p -Fu(.)154 4061 y(34.)61 b(The)39 b Ft(trap)e Fu(builtin)i(do)s(esn't)g -(c)m(hec)m(k)h(the)g(\014rst)e(argumen)m(t)i(for)e(a)i(p)s(ossible)e -(signal)i(sp)s(eci\014cation)330 4171 y(and)30 b(rev)m(ert)i(the)e -(signal)i(handling)e(to)h(the)g(original)h(disp)s(osition)e(if)h(it)g -(is,)g(unless)f(that)h(argumen)m(t)330 4281 y(consists)e(solely)g(of)g -(digits)g(and)f(is)g(a)h(v)-5 b(alid)29 b(signal)g(n)m(um)m(b)s(er.)38 -b(If)28 b(users)g(w)m(an)m(t)h(to)g(reset)g(the)g(handler)330 -4390 y(for)h(a)g(giv)m(en)h(signal)g(to)f(the)h(original)g(disp)s +(executed.)154 4774 y(34.)61 b(The)31 b Ft(command)e +Fu(builtin)i(do)s(es)g(not)h(prev)m(en)m(t)f(builtins)g(that)h(tak)m(e) +h(assignmen)m(t)f(statemen)m(ts)h(as)f(ar-)330 4883 y(gumen)m(ts)40 +b(from)e(expanding)h(them)g(as)h(assignmen)m(t)g(statemen)m(ts;)46 +b(when)38 b(not)i(in)f Fm(posix)f Fu(mo)s(de,)330 4993 +y(assignmen)m(t)k(builtins)e(lose)h(their)g(assignmen)m(t)h(statemen)m +(t)h(expansion)d(prop)s(erties)g(when)g(pre-)330 5103 +y(ceded)31 b(b)m(y)f Ft(command)p Fu(.)154 5230 y(35.)61 +b(The)27 b Ft(bg)g Fu(builtin)g(uses)g(the)h(required)f(format)h(to)g +(describ)s(e)f(eac)m(h)i(job)e(placed)h(in)f(the)h(bac)m(kground,)330 +5340 y(whic)m(h)h(do)s(es)g(not)g(include)g(an)g(indication)h(of)f +(whether)f(the)h(job)g(is)g(the)h(curren)m(t)e(or)h(previous)g(job.)p +eop end +%%Page: 98 104 +TeXDict begin 98 103 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(98)154 299 y(36.)61 +b(The)23 b(output)f(of)i(`)p Ft(kill)29 b(-l)p Fu(')23 +b(prin)m(ts)f(all)i(the)g(signal)f(names)g(on)g(a)h(single)g(line,)h +(separated)e(b)m(y)g(spaces,)330 408 y(without)30 b(the)h(`)p +Ft(SIG)p Fu(')f(pre\014x.)154 542 y(37.)61 b(The)30 b +Ft(kill)f Fu(builtin)h(do)s(es)g(not)h(accept)h(signal)f(names)f(with)g +(a)h(`)p Ft(SIG)p Fu(')f(pre\014x.)154 676 y(38.)61 b(The)38 +b Ft(export)f Fu(and)g Ft(readonly)f Fu(builtin)i(commands)g(displa)m +(y)h(their)f(output)g(in)g(the)h(format)g(re-)330 786 +y(quired)30 b(b)m(y)g Fm(posix)p Fu(.)154 920 y(39.)61 +b(The)30 b Ft(trap)f Fu(builtin)h(displa)m(ys)g(signal)i(names)e +(without)g(the)h(leading)g Ft(SIG)p Fu(.)154 1054 y(40.)61 +b(The)39 b Ft(trap)e Fu(builtin)i(do)s(esn't)g(c)m(hec)m(k)h(the)g +(\014rst)e(argumen)m(t)i(for)e(a)i(p)s(ossible)e(signal)i(sp)s +(eci\014cation)330 1163 y(and)30 b(rev)m(ert)i(the)e(signal)i(handling) +e(to)h(the)g(original)h(disp)s(osition)e(if)h(it)g(is,)g(unless)f(that) +h(argumen)m(t)330 1273 y(consists)e(solely)g(of)g(digits)g(and)f(is)g +(a)h(v)-5 b(alid)29 b(signal)g(n)m(um)m(b)s(er.)38 b(If)28 +b(users)g(w)m(an)m(t)h(to)g(reset)g(the)g(handler)330 +1383 y(for)h(a)g(giv)m(en)h(signal)g(to)f(the)h(original)g(disp)s (osition,)f(they)g(should)f(use)h(`)p Ft(-)p Fu(')g(as)g(the)g(\014rst) -f(argumen)m(t.)154 4518 y(35.)61 b(The)21 b Ft(.)h Fu(and)f +f(argumen)m(t.)154 1517 y(41.)61 b(The)21 b Ft(.)h Fu(and)f Ft(source)f Fu(builtins)h(do)g(not)h(searc)m(h)h(the)f(curren)m(t)f (directory)h(for)g(the)g(\014lename)f(argumen)m(t)330 -4628 y(if)30 b(it)h(is)g(not)f(found)f(b)m(y)i(searc)m(hing)g -Ft(PATH)p Fu(.)154 4756 y(36.)61 b(Subshells)24 b(spa)m(wned)h(to)h -(execute)h(command)f(substitutions)f(inherit)g(the)h(v)-5 -b(alue)26 b(of)g(the)g Ft(-e)e Fu(option)330 4865 y(from)37 -b(the)h(paren)m(t)g(shell.)63 b(When)38 b(not)g(in)f -Fm(posix)g Fu(mo)s(de,)j(Bash)e(clears)g(the)g Ft(-e)g -Fu(option)g(in)f(suc)m(h)330 4975 y(subshells.)154 5103 -y(37.)61 b(Alias)31 b(expansion)g(is)f(alw)m(a)m(ys)i(enabled,)e(ev)m -(en)i(in)e(non-in)m(teractiv)m(e)j(shells.)154 5230 y(38.)61 -b(When)43 b(the)g Ft(alias)f Fu(builtin)g(displa)m(ys)i(alias)g -(de\014nitions,)i(it)d(do)s(es)g(not)g(displa)m(y)h(them)f(with)g(a)330 -5340 y(leading)31 b(`)p Ft(alias)e Fu(')i(unless)f(the)g -Ft(-p)g Fu(option)h(is)f(supplied.)p eop end -%%Page: 96 102 -TeXDict begin 96 101 bop 150 -116 a Fu(Chapter)30 b(6:)41 -b(Bash)30 b(F)-8 b(eatures)2484 b(96)154 299 y(39.)61 +1626 y(if)30 b(it)h(is)g(not)f(found)f(b)m(y)i(searc)m(hing)g +Ft(PATH)p Fu(.)154 1760 y(42.)61 b(Enabling)21 b Fm(posix)g +Fu(mo)s(de)g(has)g(the)g(e\013ect)i(of)e(setting)i(the)e +Ft(inherit_errexit)d Fu(option,)23 b(so)f(subshells)330 +1870 y(spa)m(wned)27 b(to)i(execute)g(command)e(substitutions)h +(inherit)f(the)h(v)-5 b(alue)28 b(of)g(the)g Ft(-e)f +Fu(option)h(from)g(the)330 1979 y(paren)m(t)37 b(shell.)62 +b(When)37 b(the)g Ft(inherit_errexit)c Fu(option)38 b(is)f(not)h +(enabled,)h(Bash)e(clears)h(the)g Ft(-e)330 2089 y Fu(option)31 +b(in)f(suc)m(h)g(subshells.)154 2223 y(43.)61 b(When)43 +b(the)g Ft(alias)f Fu(builtin)g(displa)m(ys)i(alias)g(de\014nitions,)i +(it)d(do)s(es)g(not)g(displa)m(y)h(them)f(with)g(a)330 +2332 y(leading)31 b(`)p Ft(alias)e Fu(')i(unless)f(the)g +Ft(-p)g Fu(option)h(is)f(supplied.)154 2466 y(44.)61 b(When)40 b(the)g Ft(set)f Fu(builtin)h(is)g(in)m(v)m(ok)m(ed)h (without)f(options,)j(it)e(do)s(es)f(not)g(displa)m(y)g(shell)g -(function)330 408 y(names)30 b(and)g(de\014nitions.)154 -543 y(40.)61 b(When)36 b(the)g Ft(set)g Fu(builtin)g(is)g(in)m(v)m(ok)m -(ed)i(without)e(options,)i(it)f(displa)m(ys)f(v)-5 b(ariable)37 -b(v)-5 b(alues)37 b(without)330 653 y(quotes,)26 b(unless)d(they)i(con) -m(tain)g(shell)f(metac)m(haracters,)k(ev)m(en)d(if)f(the)g(result)g -(con)m(tains)i(nonprin)m(ting)330 762 y(c)m(haracters.)154 -897 y(41.)61 b(When)35 b(the)g Ft(cd)f Fu(builtin)h(is)g(in)m(v)m(ok)m +(function)330 2576 y(names)30 b(and)g(de\014nitions.)154 +2710 y(45.)61 b(When)36 b(the)g Ft(set)g Fu(builtin)g(is)g(in)m(v)m(ok) +m(ed)i(without)e(options,)i(it)f(displa)m(ys)f(v)-5 b(ariable)37 +b(v)-5 b(alues)37 b(without)330 2819 y(quotes,)26 b(unless)d(they)i +(con)m(tain)g(shell)f(metac)m(haracters,)k(ev)m(en)d(if)f(the)g(result) +g(con)m(tains)i(nonprin)m(ting)330 2929 y(c)m(haracters.)154 +3063 y(46.)61 b(When)35 b(the)g Ft(cd)f Fu(builtin)h(is)g(in)m(v)m(ok)m (ed)i(in)d Fr(logical)41 b Fu(mo)s(de,)36 b(and)f(the)g(pathname)g -(constructed)g(from)330 1006 y Ft($PWD)i Fu(and)h(the)h(directory)f +(constructed)g(from)330 3173 y Ft($PWD)i Fu(and)h(the)h(directory)f (name)h(supplied)e(as)i(an)f(argumen)m(t)h(do)s(es)f(not)g(refer)h(to)g -(an)f(existing)330 1116 y(directory)-8 b(,)32 b Ft(cd)d +(an)f(existing)330 3282 y(directory)-8 b(,)32 b Ft(cd)d Fu(will)i(fail)g(instead)g(of)f(falling)h(bac)m(k)h(to)f -Fr(ph)m(ysical)j Fu(mo)s(de.)154 1250 y(42.)61 b(The)36 +Fr(ph)m(ysical)j Fu(mo)s(de.)154 3416 y(47.)61 b(The)36 b Ft(pwd)f Fu(builtin)h(v)m(eri\014es)h(that)g(the)f(v)-5 b(alue)37 b(it)g(prin)m(ts)e(is)i(the)f(same)h(as)f(the)h(curren)m(t)f -(directory)-8 b(,)330 1360 y(ev)m(en)31 b(if)f(it)h(is)g(not)f(ask)m +(directory)-8 b(,)330 3526 y(ev)m(en)31 b(if)f(it)h(is)g(not)f(ask)m (ed)h(to)g(c)m(hec)m(k)h(the)f(\014le)f(system)h(with)f(the)h -Ft(-P)e Fu(option.)154 1494 y(43.)61 b(When)35 b(listing)g(the)g +Ft(-P)e Fu(option.)154 3660 y(48.)61 b(When)35 b(listing)g(the)g (history)-8 b(,)36 b(the)f Ft(fc)g Fu(builtin)f(do)s(es)g(not)h -(include)g(an)f(indication)i(of)f(whether)f(or)330 1604 +(include)g(an)f(indication)i(of)f(whether)f(or)330 3769 y(not)d(a)f(history)h(en)m(try)f(has)g(b)s(een)g(mo)s(di\014ed.)154 -1738 y(44.)61 b(The)30 b(default)g(editor)h(used)f(b)m(y)g -Ft(fc)g Fu(is)g Ft(ed)p Fu(.)154 1873 y(45.)61 b(The)37 +3903 y(49.)61 b(The)30 b(default)g(editor)h(used)f(b)m(y)g +Ft(fc)g Fu(is)g Ft(ed)p Fu(.)154 4037 y(50.)61 b(The)37 b Ft(type)g Fu(and)g Ft(command)f Fu(builtins)i(will)g(not)g(rep)s(ort) f(a)i(non-executable)g(\014le)f(as)g(ha)m(ving)h(b)s(een)330 -1983 y(found,)26 b(though)h(the)g(shell)g(will)g(attempt)h(to)g +4147 y(found,)26 b(though)h(the)g(shell)g(will)g(attempt)h(to)g (execute)g(suc)m(h)f(a)g(\014le)g(if)g(it)g(is)g(the)g(only)g(so-named) -g(\014le)330 2092 y(found)i(in)h Ft($PATH)p Fu(.)154 -2227 y(46.)61 b(The)33 b Ft(vi)f Fu(editing)i(mo)s(de)f(will)g(in)m(v)m +g(\014le)330 4256 y(found)i(in)h Ft($PATH)p Fu(.)154 +4390 y(51.)61 b(The)33 b Ft(vi)f Fu(editing)i(mo)s(de)f(will)g(in)m(v)m (ok)m(e)i(the)e Ft(vi)g Fu(editor)h(directly)f(when)f(the)i(`)p -Ft(v)p Fu(')f(command)g(is)g(run,)330 2336 y(instead)e(of)f(c)m(hec)m -(king)i Ft($VISUAL)d Fu(and)g Ft($EDITOR)p Fu(.)154 2471 -y(47.)61 b(When)41 b(the)g Ft(xpg_echo)e Fu(option)i(is)g(enabled,)j +Ft(v)p Fu(')f(command)g(is)g(run,)330 4500 y(instead)e(of)f(c)m(hec)m +(king)i Ft($VISUAL)d Fu(and)g Ft($EDITOR)p Fu(.)154 4634 +y(52.)61 b(When)41 b(the)g Ft(xpg_echo)e Fu(option)i(is)g(enabled,)j (Bash)d(do)s(es)g(not)g(attempt)h(to)g(in)m(terpret)f(an)m(y)h(ar-)330 -2580 y(gumen)m(ts)35 b(to)g Ft(echo)e Fu(as)i(options.)54 +4743 y(gumen)m(ts)35 b(to)g Ft(echo)e Fu(as)i(options.)54 b(Eac)m(h)35 b(argumen)m(t)g(is)f(displa)m(y)m(ed,)j(after)e(escap)s(e) -g(c)m(haracters)h(are)330 2690 y(con)m(v)m(erted.)154 -2824 y(48.)61 b(The)30 b Ft(ulimit)f Fu(builtin)g(uses)h(a)h(blo)s(c)m +g(c)m(haracters)h(are)330 4853 y(con)m(v)m(erted.)154 +4987 y(53.)61 b(The)30 b Ft(ulimit)f Fu(builtin)g(uses)h(a)h(blo)s(c)m (k)g(size)g(of)g(512)g(b)m(ytes)g(for)f(the)h Ft(-c)f -Fu(and)g Ft(-f)f Fu(options.)154 2959 y(49.)61 b(The)39 +Fu(and)g Ft(-f)f Fu(options.)154 5121 y(54.)61 b(The)39 b(arriv)-5 b(al)41 b(of)f Ft(SIGCHLD)e Fu(when)h(a)h(trap)g(is)g(set)h (on)f Ft(SIGCHLD)e Fu(do)s(es)h(not)h(in)m(terrupt)g(the)g -Ft(wait)330 3068 y Fu(builtin)c(and)h(cause)g(it)h(to)f(return)f +Ft(wait)330 5230 y Fu(builtin)c(and)h(cause)g(it)h(to)f(return)f (immediately)-8 b(.)62 b(The)37 b(trap)f(command)h(is)g(run)e(once)j -(for)f(eac)m(h)330 3178 y(c)m(hild)31 b(that)g(exits.)154 -3313 y(50.)61 b(The)27 b Ft(read)f Fu(builtin)g(ma)m(y)i(b)s(e)e(in)m -(terrupted)h(b)m(y)g(a)h(signal)f(for)g(whic)m(h)g(a)h(trap)f(has)g(b)s -(een)f(set.)40 b(If)27 b(Bash)330 3422 y(receiv)m(es)41 -b(a)f(trapp)s(ed)e(signal)i(while)f(executing)h Ft(read)p -Fu(,)h(the)e(trap)h(handler)e(executes)i(and)f Ft(read)330 -3532 y Fu(returns)29 b(an)h(exit)i(status)e(greater)i(than)e(128.)275 -3691 y(There)k(is)g(other)h Fm(posix)f Fu(b)s(eha)m(vior)h(that)g(Bash) -g(do)s(es)f(not)h(implemen)m(t)g(b)m(y)g(default)f(ev)m(en)i(when)d(in) -150 3801 y Fm(posix)d Fu(mo)s(de.)40 b(Sp)s(eci\014cally:)199 -3935 y(1.)61 b(The)30 b Ft(fc)f Fu(builtin)h(c)m(hec)m(ks)i -Ft($EDITOR)c Fu(as)j(a)f(program)g(to)h(edit)g(history)f(en)m(tries)h -(if)f Ft(FCEDIT)f Fu(is)h(unset,)330 4045 y(rather)g(than)g(defaulting) -h(directly)g(to)g Ft(ed)p Fu(.)40 b Ft(fc)30 b Fu(uses)g -Ft(ed)g Fu(if)g Ft(EDITOR)f Fu(is)h(unset.)199 4179 y(2.)61 +(for)f(eac)m(h)330 5340 y(c)m(hild)31 b(that)g(exits.)p +eop end +%%Page: 99 105 +TeXDict begin 99 104 bop 150 -116 a Fu(Chapter)30 b(6:)41 +b(Bash)30 b(F)-8 b(eatures)2484 b(99)154 299 y(55.)61 +b(The)27 b Ft(read)f Fu(builtin)g(ma)m(y)i(b)s(e)e(in)m(terrupted)h(b)m +(y)g(a)h(signal)f(for)g(whic)m(h)g(a)h(trap)f(has)g(b)s(een)f(set.)40 +b(If)27 b(Bash)330 408 y(receiv)m(es)41 b(a)f(trapp)s(ed)e(signal)i +(while)f(executing)h Ft(read)p Fu(,)h(the)e(trap)h(handler)e(executes)i +(and)f Ft(read)330 518 y Fu(returns)29 b(an)h(exit)i(status)e(greater)i +(than)e(128.)154 653 y(56.)61 b(Bash)27 b(remo)m(v)m(es)h(an)e(exited)i +(bac)m(kground)e(pro)s(cess's)h(status)g(from)f(the)h(list)g(of)g(suc)m +(h)f(statuses)h(after)330 762 y(the)k Ft(wait)e Fu(builtin)h(is)g(used) +g(to)h(obtain)g(it.)275 922 y(There)j(is)g(other)h Fm(posix)f +Fu(b)s(eha)m(vior)h(that)g(Bash)g(do)s(es)f(not)h(implemen)m(t)g(b)m(y) +g(default)f(ev)m(en)i(when)d(in)150 1031 y Fm(posix)d +Fu(mo)s(de.)40 b(Sp)s(eci\014cally:)199 1166 y(1.)61 +b(The)30 b Ft(fc)f Fu(builtin)h(c)m(hec)m(ks)i Ft($EDITOR)c +Fu(as)j(a)f(program)g(to)h(edit)g(history)f(en)m(tries)h(if)f +Ft(FCEDIT)f Fu(is)h(unset,)330 1275 y(rather)g(than)g(defaulting)h +(directly)g(to)g Ft(ed)p Fu(.)40 b Ft(fc)30 b Fu(uses)g +Ft(ed)g Fu(if)g Ft(EDITOR)f Fu(is)h(unset.)199 1410 y(2.)61 b(As)29 b(noted)g(ab)s(o)m(v)m(e,)i(Bash)e(requires)g(the)g Ft(xpg_echo)e Fu(option)j(to)g(b)s(e)e(enabled)h(for)g(the)g -Ft(echo)f Fu(builtin)330 4289 y(to)j(b)s(e)f(fully)g(conforman)m(t.)275 -4448 y(Bash)c(can)g(b)s(e)f(con\014gured)h(to)g(b)s(e)g +Ft(echo)f Fu(builtin)330 1519 y(to)j(b)s(e)f(fully)g(conforman)m(t.)275 +1679 y(Bash)c(can)g(b)s(e)f(con\014gured)h(to)g(b)s(e)g Fm(posix)p Fu(-conforman)m(t)g(b)m(y)g(default,)h(b)m(y)f(sp)s -(ecifying)g(the)g Ft(--enable-)150 4558 y(strict-posix-default)c +(ecifying)g(the)g Ft(--enable-)150 1788 y(strict-posix-default)c Fu(to)27 b Ft(configure)e Fu(when)h(building)h(\(see)h(Section)g(10.8)g -([Optional)g(F)-8 b(eatures],)150 4667 y(page)31 b(140\).)p +([Optional)g(F)-8 b(eatures],)150 1898 y(page)31 b(144\).)p eop end -%%Page: 97 103 -TeXDict begin 97 102 bop 150 -116 a Fu(Chapter)30 b(7:)41 -b(Job)30 b(Con)m(trol)2571 b(97)150 299 y Fp(7)80 b(Job)54 -b(Con)l(trol)150 521 y Fu(This)25 b(c)m(hapter)i(discusses)f(what)g -(job)f(con)m(trol)j(is,)f(ho)m(w)f(it)h(w)m(orks,)g(and)f(ho)m(w)g -(Bash)g(allo)m(ws)h(y)m(ou)g(to)g(access)150 631 y(its)k(facilities.) -150 858 y Fs(7.1)68 b(Job)45 b(Con)l(trol)h(Basics)150 -1018 y Fu(Job)27 b(con)m(trol)i(refers)e(to)h(the)g(abilit)m(y)h(to)f -(selectiv)m(ely)j(stop)c(\(susp)s(end\))f(the)i(execution)h(of)e(pro)s -(cesses)h(and)150 1127 y(con)m(tin)m(ue)38 b(\(resume\))g(their)f -(execution)h(at)g(a)g(later)g(p)s(oin)m(t.)61 b(A)37 -b(user)g(t)m(ypically)i(emplo)m(ys)f(this)f(facilit)m(y)150 -1237 y(via)27 b(an)e(in)m(teractiv)m(e)k(in)m(terface)f(supplied)d +%%Page: 100 106 +TeXDict begin 100 105 bop 3614 -116 a Fu(100)150 299 +y Fp(7)80 b(Job)54 b(Con)l(trol)150 518 y Fu(This)25 +b(c)m(hapter)i(discusses)f(what)g(job)f(con)m(trol)j(is,)f(ho)m(w)f(it) +h(w)m(orks,)g(and)f(ho)m(w)g(Bash)g(allo)m(ws)h(y)m(ou)g(to)g(access) +150 628 y(its)k(facilities.)150 863 y Fs(7.1)68 b(Job)45 +b(Con)l(trol)h(Basics)150 1022 y Fu(Job)27 b(con)m(trol)i(refers)e(to)h +(the)g(abilit)m(y)h(to)f(selectiv)m(ely)j(stop)c(\(susp)s(end\))f(the)i +(execution)h(of)e(pro)s(cesses)h(and)150 1132 y(con)m(tin)m(ue)38 +b(\(resume\))g(their)f(execution)h(at)g(a)g(later)g(p)s(oin)m(t.)61 +b(A)37 b(user)g(t)m(ypically)i(emplo)m(ys)f(this)f(facilit)m(y)150 +1241 y(via)27 b(an)e(in)m(teractiv)m(e)k(in)m(terface)f(supplied)d (join)m(tly)h(b)m(y)g(the)h(op)s(erating)f(system)g(k)m(ernel's)h -(terminal)f(driv)m(er)150 1347 y(and)k(Bash.)275 1479 +(terminal)f(driv)m(er)150 1351 y(and)k(Bash.)275 1482 y(The)23 b(shell)i(asso)s(ciates)h(a)f Fr(job)h Fu(with)e(eac)m(h)i (pip)s(eline.)38 b(It)25 b(k)m(eeps)f(a)h(table)h(of)e(curren)m(tly)h -(executing)g(jobs,)150 1588 y(whic)m(h)33 b(ma)m(y)i(b)s(e)e(listed)h +(executing)g(jobs,)150 1592 y(whic)m(h)33 b(ma)m(y)i(b)s(e)e(listed)h (with)f(the)h Ft(jobs)f Fu(command.)50 b(When)33 b(Bash)h(starts)g(a)g -(job)g(async)m(hronously)-8 b(,)34 b(it)150 1698 y(prin)m(ts)c(a)h -(line)f(that)h(lo)s(oks)g(lik)m(e:)390 1830 y Ft([1])47 -b(25647)150 1962 y Fu(indicating)34 b(that)g(this)f(job)g(is)g(job)g(n) +(job)g(async)m(hronously)-8 b(,)34 b(it)150 1701 y(prin)m(ts)c(a)h +(line)f(that)h(lo)s(oks)g(lik)m(e:)390 1833 y Ft([1])47 +b(25647)150 1965 y Fu(indicating)34 b(that)g(this)f(job)g(is)g(job)g(n) m(um)m(b)s(er)f(1)i(and)f(that)g(the)h(pro)s(cess)f Fm(id)g -Fu(of)g(the)h(last)g(pro)s(cess)f(in)g(the)150 2072 y(pip)s(eline)42 +Fu(of)g(the)h(last)g(pro)s(cess)f(in)g(the)150 2074 y(pip)s(eline)42 b(asso)s(ciated)i(with)e(this)g(job)g(is)h(25647.)78 b(All)43 b(of)g(the)g(pro)s(cesses)f(in)g(a)h(single)g(pip)s(eline)f -(are)150 2181 y(mem)m(b)s(ers)30 b(of)g(the)h(same)f(job.)41 +(are)150 2184 y(mem)m(b)s(ers)30 b(of)g(the)h(same)f(job.)41 b(Bash)30 b(uses)g(the)h Fr(job)h Fu(abstraction)f(as)g(the)g(basis)f -(for)g(job)g(con)m(trol.)275 2313 y(T)-8 b(o)23 b(facilitate)j(the)d +(for)g(job)g(con)m(trol.)275 2315 y(T)-8 b(o)23 b(facilitate)j(the)d (implemen)m(tation)i(of)f(the)f(user)f(in)m(terface)j(to)f(job)f(con)m -(trol,)j(the)d(op)s(erating)h(system)150 2423 y(main)m(tains)j(the)f +(trol,)j(the)d(op)s(erating)h(system)150 2425 y(main)m(tains)j(the)f (notion)h(of)f(a)g(curren)m(t)g(terminal)g(pro)s(cess)g(group)g Fm(id)p Fu(.)39 b(Mem)m(b)s(ers)26 b(of)g(this)g(pro)s(cess)f(group)150 -2533 y(\(pro)s(cesses)h(whose)g(pro)s(cess)g(group)g +2534 y(\(pro)s(cesses)h(whose)g(pro)s(cess)g(group)g Fm(id)g Fu(is)h(equal)g(to)g(the)f(curren)m(t)g(terminal)h(pro)s(cess)f -(group)f Fm(id)p Fu(\))i(receiv)m(e)150 2642 y(k)m(eyb)s +(group)f Fm(id)p Fu(\))i(receiv)m(e)150 2644 y(k)m(eyb)s (oard-generated)22 b(signals)g(suc)m(h)e(as)h Ft(SIGINT)p Fu(.)36 b(These)21 b(pro)s(cesses)g(are)g(said)g(to)g(b)s(e)g(in)f(the) -h(foreground.)150 2752 y(Bac)m(kground)38 b(pro)s(cesses)f(are)h(those) +h(foreground.)150 2754 y(Bac)m(kground)38 b(pro)s(cesses)f(are)h(those) g(whose)f(pro)s(cess)g(group)g Fm(id)h Fu(di\013ers)f(from)g(the)g -(terminal's;)42 b(suc)m(h)150 2861 y(pro)s(cesses)24 +(terminal's;)42 b(suc)m(h)150 2863 y(pro)s(cesses)24 b(are)g(imm)m(une)g(to)g(k)m(eyb)s(oard-generated)h(signals.)40 b(Only)23 b(foreground)g(pro)s(cesses)h(are)g(allo)m(w)m(ed)150 -2971 y(to)g(read)e(from)h(or,)h(if)f(the)g(user)f(so)i(sp)s(eci\014es)e +2973 y(to)g(read)e(from)h(or,)h(if)f(the)g(user)f(so)i(sp)s(eci\014es)e (with)h Ft(stty)29 b(tostop)p Fu(,)23 b(write)g(to)g(the)h(terminal.)38 -b(Bac)m(kground)150 3081 y(pro)s(cesses)27 b(whic)m(h)g(attempt)h(to)f +b(Bac)m(kground)150 3082 y(pro)s(cesses)27 b(whic)m(h)g(attempt)h(to)f (read)g(from)g(\(write)g(to)h(when)e Ft(stty)j(tostop)d -Fu(is)h(in)f(e\013ect\))j(the)e(terminal)150 3190 y(are)32 +Fu(is)h(in)f(e\013ect\))j(the)e(terminal)150 3192 y(are)32 b(sen)m(t)g(a)g Ft(SIGTTIN)e Fu(\()p Ft(SIGTTOU)p Fu(\))g(signal)i(b)m (y)g(the)g(k)m(ernel's)g(terminal)g(driv)m(er,)g(whic)m(h,)g(unless)f -(caugh)m(t,)150 3300 y(susp)s(ends)d(the)i(pro)s(cess.)275 -3432 y(If)k(the)i(op)s(erating)g(system)f(on)h(whic)m(h)f(Bash)g(is)h +(caugh)m(t,)150 3302 y(susp)s(ends)d(the)i(pro)s(cess.)275 +3433 y(If)k(the)i(op)s(erating)g(system)f(on)h(whic)m(h)f(Bash)g(is)h (running)d(supp)s(orts)h(job)h(con)m(trol,)j(Bash)e(con)m(tains)150 -3541 y(facilities)30 b(to)f(use)f(it.)40 b(T)m(yping)28 +3543 y(facilities)30 b(to)f(use)f(it.)40 b(T)m(yping)28 b(the)g Fr(susp)s(end)h Fu(c)m(haracter)h(\(t)m(ypically)g(`)p Ft(^Z)p Fu(',)f(Con)m(trol-Z\))g(while)f(a)g(pro)s(cess)150 -3651 y(is)42 b(running)f(causes)i(that)g(pro)s(cess)f(to)h(b)s(e)f +3652 y(is)42 b(running)f(causes)i(that)g(pro)s(cess)f(to)h(b)s(e)f (stopp)s(ed)f(and)h(returns)f(con)m(trol)j(to)f(Bash.)77 -b(T)m(yping)42 b(the)150 3761 y Fr(dela)m(y)m(ed)k(susp)s(end)f +b(T)m(yping)42 b(the)150 3762 y Fr(dela)m(y)m(ed)k(susp)s(end)f Fu(c)m(haracter)h(\(t)m(ypically)g(`)p Ft(^Y)p Fu(',)i(Con)m(trol-Y\))e (causes)e(the)h(pro)s(cess)e(to)i(b)s(e)f(stopp)s(ed)150 -3870 y(when)26 b(it)i(attempts)h(to)f(read)f(input)g(from)f(the)i +3871 y(when)26 b(it)i(attempts)h(to)f(read)f(input)g(from)f(the)i (terminal,)h(and)e(con)m(trol)h(to)g(b)s(e)f(returned)f(to)j(Bash.)39 -b(The)150 3980 y(user)e(then)g(manipulates)h(the)g(state)h(of)f(this)f +b(The)150 3981 y(user)e(then)g(manipulates)h(the)g(state)h(of)f(this)f (job,)j(using)d(the)h Ft(bg)f Fu(command)g(to)h(con)m(tin)m(ue)h(it)f -(in)g(the)150 4089 y(bac)m(kground,)g(the)f Ft(fg)g Fu(command)f(to)i +(in)g(the)150 4091 y(bac)m(kground,)g(the)f Ft(fg)g Fu(command)f(to)i (con)m(tin)m(ue)g(it)f(in)f(the)h(foreground,)h(or)f(the)g -Ft(kill)f Fu(command)g(to)150 4199 y(kill)27 b(it.)40 +Ft(kill)f Fu(command)g(to)150 4200 y(kill)27 b(it.)40 b(A)27 b(`)p Ft(^Z)p Fu(')g(tak)m(es)h(e\013ect)g(immediately)-8 b(,)29 b(and)d(has)h(the)f(additional)i(side)e(e\013ect)j(of)d(causing) -h(p)s(ending)150 4309 y(output)j(and)g(t)m(yp)s(eahead)h(to)g(b)s(e)e +h(p)s(ending)150 4310 y(output)j(and)g(t)m(yp)s(eahead)h(to)g(b)s(e)e (discarded.)275 4441 y(There)j(are)g(a)h(n)m(um)m(b)s(er)e(of)i(w)m(a)m (ys)g(to)h(refer)e(to)h(a)g(job)f(in)g(the)h(shell.)47 b(The)32 b(c)m(haracter)i(`)p Ft(\045)p Fu(')f(in)m(tro)s(duces)150 -4550 y(a)e(job)f(sp)s(eci\014cation)h(\()p Fr(jobsp)s(ec)6 +4551 y(a)e(job)f(sp)s(eci\014cation)h(\()p Fr(jobsp)s(ec)6 b Fu(\).)275 4682 y(Job)31 b(n)m(um)m(b)s(er)f Ft(n)h Fu(ma)m(y)h(b)s(e)f(referred)g(to)h(as)g(`)p Ft(\045n)p Fu('.)44 b(The)31 b(sym)m(b)s(ols)g(`)p Ft(\045\045)p @@ -15063,9 +15385,9 @@ h Ft(jobs)e Fu(command\),)k(the)d(curren)m(t)h(job)f(is)g(alw)m(a)m(ys) i(\015agged)f(with)f(a)h(`)p Ft(+)p Fu(',)i(and)d(the)150 5340 y(previous)30 b(job)g(with)g(a)h(`)p Ft(-)p Fu('.)p eop end -%%Page: 98 104 -TeXDict begin 98 103 bop 150 -116 a Fu(Chapter)30 b(7:)41 -b(Job)30 b(Con)m(trol)2571 b(98)275 299 y(A)38 b(job)g(ma)m(y)h(also)g +%%Page: 101 107 +TeXDict begin 101 106 bop 150 -116 a Fu(Chapter)30 b(7:)41 +b(Job)30 b(Con)m(trol)2526 b(101)275 299 y(A)38 b(job)g(ma)m(y)h(also)g (b)s(e)f(referred)f(to)j(using)d(a)i(pre\014x)e(of)i(the)f(name)h(used) e(to)i(start)g(it,)i(or)e(using)f(a)150 408 y(substring)29 b(that)i(app)s(ears)f(in)g(its)h(command)f(line.)41 b(F)-8 @@ -15075,77 +15397,77 @@ Fu(',)g(on)f(the)h(other)g(hand,)g(refers)f(to)h(an)m(y)g(job)g(con)m (taining)h(the)f(string)f(`)p Ft(ce)p Fu(')h(in)f(its)h(command)150 628 y(line.)41 b(If)30 b(the)h(pre\014x)e(or)h(substring)f(matc)m(hes)j (more)e(than)h(one)f(job,)h(Bash)f(rep)s(orts)g(an)g(error.)275 -762 y(Simply)g(naming)h(a)g(job)g(can)g(b)s(e)f(used)h(to)g(bring)f(it) +761 y(Simply)g(naming)h(a)g(job)g(can)g(b)s(e)f(used)h(to)g(bring)f(it) i(in)m(to)g(the)f(foreground:)41 b(`)p Ft(\0451)p Fu(')31 b(is)g(a)h(synon)m(ym)e(for)150 871 y(`)p Ft(fg)g(\0451)p Fu(',)i(bringing)f(job)g(1)g(from)g(the)h(bac)m(kground)f(in)m(to)i (the)e(foreground.)44 b(Similarly)-8 b(,)32 b(`)p Ft(\0451)e(&)p -Fu(')i(resumes)150 981 y(job)e(1)h(in)f(the)g(bac)m(kground,)h(equiv)-5 -b(alen)m(t)32 b(to)f(`)p Ft(bg)f(\0451)p Fu(')275 1115 +Fu(')i(resumes)150 980 y(job)e(1)h(in)f(the)g(bac)m(kground,)h(equiv)-5 +b(alen)m(t)32 b(to)f(`)p Ft(bg)f(\0451)p Fu(')275 1114 y(The)g(shell)i(learns)f(immediately)i(whenev)m(er)e(a)h(job)f(c)m (hanges)h(state.)45 b(Normally)-8 b(,)33 b(Bash)e(w)m(aits)i(un)m(til) -150 1224 y(it)25 b(is)g(ab)s(out)f(to)i(prin)m(t)e(a)h(prompt)f(b)s +150 1223 y(it)25 b(is)g(ab)s(out)f(to)i(prin)m(t)e(a)h(prompt)f(b)s (efore)g(rep)s(orting)h(c)m(hanges)g(in)g(a)g(job's)f(status)h(so)g(as) -g(to)g(not)g(in)m(terrupt)150 1334 y(an)m(y)k(other)f(output.)40 +g(to)g(not)g(in)m(terrupt)150 1333 y(an)m(y)k(other)f(output.)40 b(If)28 b(the)g Ft(-b)g Fu(option)g(to)h(the)g Ft(set)e Fu(builtin)h(is)g(enabled,)h(Bash)g(rep)s(orts)e(suc)m(h)h(c)m(hanges) 150 1443 y(immediately)d(\(see)g(Section)g(4.3.1)g([The)f(Set)g -(Builtin],)i(page)f(58\).)40 b(An)m(y)24 b(trap)f(on)h -Ft(SIGCHLD)e Fu(is)i(executed)150 1553 y(for)30 b(eac)m(h)i(c)m(hild)e -(pro)s(cess)g(that)h(exits.)275 1687 y(If)25 b(an)h(attempt)h(to)g +(Builtin],)i(page)f(60\).)40 b(An)m(y)24 b(trap)f(on)h +Ft(SIGCHLD)e Fu(is)i(executed)150 1552 y(for)30 b(eac)m(h)i(c)m(hild)e +(pro)s(cess)g(that)h(exits.)275 1686 y(If)25 b(an)h(attempt)h(to)g (exit)g(Bash)f(is)h(made)f(while)g(jobs)f(are)i(stopp)s(ed,)f(\(or)h -(running,)e(if)h(the)g Ft(checkjobs)150 1796 y Fu(option)e(is)f +(running,)e(if)h(the)g Ft(checkjobs)150 1795 y Fu(option)e(is)f (enabled)h({)g(see)g(Section)g(4.3.2)h([The)e(Shopt)g(Builtin],)j(page) -e(62\),)i(the)e(shell)f(prin)m(ts)g(a)h(w)m(arning)150 -1906 y(message,)k(and)c(if)i(the)f Ft(checkjobs)e Fu(option)j(is)f +e(64\),)i(the)e(shell)f(prin)m(ts)g(a)h(w)m(arning)150 +1905 y(message,)k(and)c(if)i(the)f Ft(checkjobs)e Fu(option)j(is)f (enabled,)i(lists)e(the)h(jobs)f(and)f(their)i(statuses.)39 -b(The)25 b Ft(jobs)150 2016 y Fu(command)36 b(ma)m(y)h(then)f(b)s(e)f +b(The)25 b Ft(jobs)150 2014 y Fu(command)36 b(ma)m(y)h(then)f(b)s(e)f (used)g(to)i(insp)s(ect)f(their)g(status.)59 b(If)36 -b(a)g(second)g(attempt)i(to)f(exit)g(is)f(made)150 2125 +b(a)g(second)g(attempt)i(to)f(exit)g(is)f(made)150 2124 y(without)e(an)f(in)m(terv)m(ening)i(command,)f(Bash)g(do)s(es)f(not)h (prin)m(t)g(another)f(w)m(arning,)i(and)e(an)m(y)h(stopp)s(ed)150 -2235 y(jobs)c(are)h(terminated.)150 2466 y Fs(7.2)68 -b(Job)45 b(Con)l(trol)h(Builtins)150 2650 y Ft(bg)870 -2784 y(bg)h([)p Fj(jobspec)f Ft(...)o(])630 2918 y Fu(Resume)24 +2234 y(jobs)c(are)h(terminated.)150 2472 y Fs(7.2)68 +b(Job)45 b(Con)l(trol)h(Builtins)150 2656 y Ft(bg)870 +2789 y(bg)h([)p Fj(jobspec)f Ft(...)o(])630 2923 y Fu(Resume)24 b(eac)m(h)h(susp)s(ended)d(job)i Fr(jobsp)s(ec)29 b Fu(in)24 b(the)g(bac)m(kground,)h(as)g(if)f(it)h(had)e(b)s(een)g(started)630 -3027 y(with)32 b(`)p Ft(&)p Fu('.)45 b(If)31 b Fr(jobsp)s(ec)37 +3032 y(with)32 b(`)p Ft(&)p Fu('.)45 b(If)31 b Fr(jobsp)s(ec)37 b Fu(is)32 b(not)g(supplied,)f(the)h(curren)m(t)g(job)f(is)h(used.)45 -b(The)31 b(return)g(status)630 3137 y(is)i(zero)g(unless)f(it)h(is)g +b(The)31 b(return)g(status)630 3142 y(is)i(zero)g(unless)f(it)h(is)g (run)e(when)h(job)g(con)m(trol)i(is)f(not)g(enabled,)h(or,)f(when)f -(run)f(with)h(job)630 3246 y(con)m(trol)h(enabled,)g(an)m(y)f +(run)f(with)h(job)630 3252 y(con)m(trol)h(enabled,)g(an)m(y)f Fr(jobsp)s(ec)37 b Fu(w)m(as)32 b(not)g(found)f(or)g(sp)s(eci\014es)h -(a)g(job)g(that)g(w)m(as)g(started)630 3356 y(without)e(job)g(con)m -(trol.)150 3514 y Ft(fg)870 3648 y(fg)47 b([)p Fj(jobspec)p -Ft(])630 3782 y Fu(Resume)c(the)g(job)g Fr(jobsp)s(ec)48 +(a)g(job)g(that)g(w)m(as)g(started)630 3361 y(without)e(job)g(con)m +(trol.)150 3519 y Ft(fg)870 3652 y(fg)47 b([)p Fj(jobspec)p +Ft(])630 3786 y Fu(Resume)c(the)g(job)g Fr(jobsp)s(ec)48 b Fu(in)43 b(the)g(foreground)g(and)f(mak)m(e)j(it)e(the)h(curren)m(t)f -(job.)78 b(If)630 3891 y Fr(jobsp)s(ec)41 b Fu(is)c(not)f(supplied,)h +(job.)78 b(If)630 3895 y Fr(jobsp)s(ec)41 b Fu(is)c(not)f(supplied,)h (the)f(curren)m(t)h(job)f(is)g(used.)58 b(The)36 b(return)f(status)h -(is)h(that)g(of)630 4001 y(the)d(command)g(placed)h(in)m(to)g(the)f +(is)h(that)g(of)630 4005 y(the)d(command)g(placed)h(in)m(to)g(the)f (foreground,)g(or)g(non-zero)h(if)f(run)f(when)g(job)g(con)m(trol)630 -4111 y(is)i(disabled)g(or,)i(when)d(run)g(with)h(job)g(con)m(trol)h +4114 y(is)i(disabled)g(or,)i(when)d(run)g(with)h(job)g(con)m(trol)h (enabled,)h Fr(jobsp)s(ec)j Fu(do)s(es)35 b(not)h(sp)s(ecify)f(a)630 -4220 y(v)-5 b(alid)31 b(job)f(or)g Fr(jobsp)s(ec)35 b +4224 y(v)-5 b(alid)31 b(job)f(or)g Fr(jobsp)s(ec)35 b Fu(sp)s(eci\014es)30 b(a)h(job)f(that)h(w)m(as)g(started)g(without)f -(job)g(con)m(trol.)150 4378 y Ft(jobs)870 4512 y(jobs)47 -b([-lnprs])e([)p Fj(jobspec)p Ft(])870 4622 y(jobs)i(-x)g -Fj(command)f Ft([)p Fj(arguments)p Ft(])630 4756 y Fu(The)30 +(job)g(con)m(trol.)150 4381 y Ft(jobs)870 4515 y(jobs)47 +b([-lnprs])e([)p Fj(jobspec)p Ft(])870 4625 y(jobs)i(-x)g +Fj(command)f Ft([)p Fj(arguments)p Ft(])630 4758 y Fu(The)30 b(\014rst)f(form)h(lists)h(the)g(activ)m(e)h(jobs.)41 b(The)30 b(options)g(ha)m(v)m(e)i(the)e(follo)m(wing)i(meanings:)630 -4914 y Ft(-l)384 b Fu(List)31 b(pro)s(cess)f Fm(id)p +4916 y Ft(-l)384 b Fu(List)31 b(pro)s(cess)f Fm(id)p Fu(s)g(in)g(addition)h(to)g(the)f(normal)h(information.)630 -5072 y Ft(-n)384 b Fu(Displa)m(y)26 b(information)f(only)h(ab)s(out)e +5073 y Ft(-n)384 b Fu(Displa)m(y)26 b(information)f(only)h(ab)s(out)e (jobs)h(that)g(ha)m(v)m(e)i(c)m(hanged)e(status)h(since)1110 -5182 y(the)31 b(user)e(w)m(as)i(last)g(noti\014ed)f(of)h(their)f +5183 y(the)31 b(user)e(w)m(as)i(last)g(noti\014ed)f(of)h(their)f (status.)630 5340 y Ft(-p)384 b Fu(List)31 b(only)f(the)h(pro)s(cess)f Fm(id)g Fu(of)h(the)f(job's)g(pro)s(cess)g(group)g(leader.)p eop end -%%Page: 99 105 -TeXDict begin 99 104 bop 150 -116 a Fu(Chapter)30 b(7:)41 -b(Job)30 b(Con)m(trol)2571 b(99)630 299 y Ft(-r)384 b -Fu(Displa)m(y)32 b(only)e(running)f(jobs.)630 461 y Ft(-s)384 -b Fu(Displa)m(y)32 b(only)e(stopp)s(ed)f(jobs.)630 622 -y(If)23 b Fr(jobsp)s(ec)28 b Fu(is)23 b(giv)m(en,)i(output)e(is)g +%%Page: 102 108 +TeXDict begin 102 107 bop 150 -116 a Fu(Chapter)30 b(7:)41 +b(Job)30 b(Con)m(trol)2526 b(102)630 299 y Ft(-r)384 +b Fu(Displa)m(y)32 b(only)e(running)f(jobs.)630 461 y +Ft(-s)384 b Fu(Displa)m(y)32 b(only)e(stopp)s(ed)f(jobs.)630 +622 y(If)23 b Fr(jobsp)s(ec)28 b Fu(is)23 b(giv)m(en,)i(output)e(is)g (restricted)h(to)g(information)f(ab)s(out)g(that)h(job.)37 b(If)23 b Fr(jobsp)s(ec)630 732 y Fu(is)30 b(not)h(supplied,)e(the)i (status)g(of)f(all)h(jobs)f(is)h(listed.)630 868 y(If)k(the)g @@ -15157,167 +15479,168 @@ Fu(,)630 1087 y(passing)30 b(it)h Fr(argumen)m(t)r Fu(s,)g(returning)f (its)g(exit)i(status.)150 1249 y Ft(kill)870 1384 y(kill)47 b([-s)g Fj(sigspec)p Ft(])e([-n)i Fj(signum)p Ft(])f([-)p Fj(sigspec)p Ft(])f Fj(jobspec)h Ft(or)h Fj(pid)870 1494 -y Ft(kill)g(-l)g([)p Fj(exit_status)p Ft(])630 1630 y -Fu(Send)22 b(a)i(signal)g(sp)s(eci\014ed)f(b)m(y)g Fr(sigsp)s(ec)29 -b Fu(or)24 b Fr(sign)m(um)f Fu(to)h(the)g(pro)s(cess)f(named)g(b)m(y)g -(job)g(sp)s(eci\014-)630 1739 y(cation)k Fr(jobsp)s(ec)j -Fu(or)25 b(pro)s(cess)g Fm(id)h Fr(pid)p Fu(.)38 b Fr(sigsp)s(ec)31 -b Fu(is)25 b(either)h(a)g(case-insensitiv)m(e)i(signal)e(name)630 -1849 y(suc)m(h)37 b(as)g Ft(SIGINT)f Fu(\(with)h(or)g(without)g(the)g -Ft(SIG)g Fu(pre\014x\))f(or)h(a)h(signal)g(n)m(um)m(b)s(er;)h -Fr(sign)m(um)630 1958 y Fu(is)g(a)f(signal)i(n)m(um)m(b)s(er.)63 -b(If)39 b Fr(sigsp)s(ec)44 b Fu(and)38 b Fr(sign)m(um)g -Fu(are)h(not)g(presen)m(t,)h Ft(SIGTERM)d Fu(is)h(used.)630 -2068 y(The)27 b Ft(-l)h Fu(option)g(lists)h(the)f(signal)h(names.)39 -b(If)28 b(an)m(y)g(argumen)m(ts)h(are)f(supplied)f(when)g -Ft(-l)g Fu(is)630 2178 y(giv)m(en,)32 b(the)g(names)e(of)i(the)f -(signals)g(corresp)s(onding)f(to)i(the)f(argumen)m(ts)g(are)h(listed,)g -(and)630 2287 y(the)c(return)f(status)h(is)g(zero.)41 -b Fr(exit)p 1796 2287 28 4 v 41 w(status)32 b Fu(is)c(a)g(n)m(um)m(b)s -(er)f(sp)s(ecifying)g(a)i(signal)f(n)m(um)m(b)s(er)f(or)630 -2397 y(the)35 b(exit)h(status)f(of)g(a)g(pro)s(cess)g(terminated)g(b)m -(y)g(a)g(signal.)55 b(The)34 b(return)g(status)h(is)g(zero)630 -2506 y(if)c(at)h(least)g(one)g(signal)f(w)m(as)h(successfully)f(sen)m -(t,)h(or)f(non-zero)h(if)f(an)g(error)f(o)s(ccurs)h(or)g(an)630 -2616 y(in)m(v)-5 b(alid)31 b(option)g(is)f(encoun)m(tered.)150 -2778 y Ft(wait)870 2913 y(wait)47 b([-n])f([)p Fj(jobspec)g -Ft(or)h Fj(pid)g Ft(...)o(])630 3049 y Fu(W)-8 b(ait)28 -b(un)m(til)f(the)f(c)m(hild)h(pro)s(cess)f(sp)s(eci\014ed)g(b)m(y)g -(eac)m(h)h(pro)s(cess)f Fm(id)h Fr(pid)i Fu(or)d(job)g(sp)s -(eci\014cation)630 3159 y Fr(jobsp)s(ec)j Fu(exits)c(and)f(return)g -(the)g(exit)h(status)g(of)g(the)f(last)h(command)g(w)m(aited)g(for.)39 -b(If)23 b(a)i(job)630 3268 y(sp)s(ec)j(is)g(giv)m(en,)i(all)f(pro)s -(cesses)f(in)g(the)g(job)g(are)h(w)m(aited)g(for.)40 -b(If)27 b(no)i(argumen)m(ts)f(are)h(giv)m(en,)630 3378 -y(all)f(curren)m(tly)g(activ)m(e)i(c)m(hild)e(pro)s(cesses)f(are)h(w)m -(aited)g(for,)g(and)f(the)h(return)e(status)i(is)g(zero.)630 -3487 y(If)f(the)g Ft(-n)g Fu(option)h(is)f(supplied,)g +y Ft(kill)g(-l|-L)f([)p Fj(exit_status)p Ft(])630 1630 +y Fu(Send)22 b(a)i(signal)g(sp)s(eci\014ed)f(b)m(y)g +Fr(sigsp)s(ec)29 b Fu(or)24 b Fr(sign)m(um)f Fu(to)h(the)g(pro)s(cess)f +(named)g(b)m(y)g(job)g(sp)s(eci\014-)630 1739 y(cation)k +Fr(jobsp)s(ec)j Fu(or)25 b(pro)s(cess)g Fm(id)h Fr(pid)p +Fu(.)38 b Fr(sigsp)s(ec)31 b Fu(is)25 b(either)h(a)g(case-insensitiv)m +(e)i(signal)e(name)630 1849 y(suc)m(h)37 b(as)g Ft(SIGINT)f +Fu(\(with)h(or)g(without)g(the)g Ft(SIG)g Fu(pre\014x\))f(or)h(a)h +(signal)g(n)m(um)m(b)s(er;)h Fr(sign)m(um)630 1958 y +Fu(is)g(a)f(signal)i(n)m(um)m(b)s(er.)63 b(If)39 b Fr(sigsp)s(ec)44 +b Fu(and)38 b Fr(sign)m(um)g Fu(are)h(not)g(presen)m(t,)h +Ft(SIGTERM)d Fu(is)h(used.)630 2068 y(The)27 b Ft(-l)h +Fu(option)g(lists)h(the)f(signal)h(names.)39 b(If)28 +b(an)m(y)g(argumen)m(ts)h(are)f(supplied)f(when)g Ft(-l)g +Fu(is)630 2178 y(giv)m(en,)32 b(the)g(names)e(of)i(the)f(signals)g +(corresp)s(onding)f(to)i(the)f(argumen)m(ts)g(are)h(listed,)g(and)630 +2287 y(the)c(return)f(status)h(is)g(zero.)41 b Fr(exit)p +1796 2287 28 4 v 41 w(status)32 b Fu(is)c(a)g(n)m(um)m(b)s(er)f(sp)s +(ecifying)g(a)i(signal)f(n)m(um)m(b)s(er)f(or)630 2397 +y(the)h(exit)h(status)g(of)f(a)h(pro)s(cess)e(terminated)i(b)m(y)f(a)h +(signal.)40 b(The)28 b Ft(-L)g Fu(option)g(is)g(equiv)-5 +b(alen)m(t)630 2506 y(to)34 b Ft(-l)p Fu(.)47 b(The)32 +b(return)g(status)h(is)g(zero)g(if)g(at)g(least)h(one)f(signal)h(w)m +(as)f(successfully)g(sen)m(t,)h(or)630 2616 y(non-zero)d(if)f(an)h +(error)f(o)s(ccurs)g(or)g(an)g(in)m(v)-5 b(alid)31 b(option)g(is)f +(encoun)m(tered.)150 2778 y Ft(wait)870 2913 y(wait)47 +b([-n])f([)p Fj(jobspec)g Ft(or)h Fj(pid)g Ft(...)o(])630 +3049 y Fu(W)-8 b(ait)28 b(un)m(til)f(the)f(c)m(hild)h(pro)s(cess)f(sp)s +(eci\014ed)g(b)m(y)g(eac)m(h)h(pro)s(cess)f Fm(id)h Fr(pid)i +Fu(or)d(job)g(sp)s(eci\014cation)630 3159 y Fr(jobsp)s(ec)j +Fu(exits)c(and)f(return)g(the)g(exit)h(status)g(of)g(the)f(last)h +(command)g(w)m(aited)g(for.)39 b(If)23 b(a)i(job)630 +3268 y(sp)s(ec)j(is)g(giv)m(en,)i(all)f(pro)s(cesses)f(in)g(the)g(job)g +(are)h(w)m(aited)g(for.)40 b(If)27 b(no)i(argumen)m(ts)f(are)h(giv)m +(en,)630 3378 y(all)f(curren)m(tly)g(activ)m(e)i(c)m(hild)e(pro)s +(cesses)f(are)h(w)m(aited)g(for,)g(and)f(the)h(return)e(status)i(is)g +(zero.)630 3487 y(If)f(the)g Ft(-n)g Fu(option)h(is)f(supplied,)g Ft(wait)f Fu(w)m(aits)i(for)f(an)m(y)h(job)f(to)h(terminate)g(and)f (returns)f(its)630 3597 y(exit)37 b(status.)56 b(If)36 b(neither)f Fr(jobsp)s(ec)41 b Fu(nor)35 b Fr(pid)j Fu(sp)s(eci\014es)d (an)h(activ)m(e)i(c)m(hild)e(pro)s(cess)f(of)h(the)630 3707 y(shell,)31 b(the)f(return)g(status)g(is)h(127.)150 3868 y Ft(disown)870 4004 y(disown)46 b([-ar])g([-h])h([)p -Fj(jobspec)f Ft(...)o(])630 4140 y Fu(Without)33 b(options,)h(remo)m(v) -m(e)g(eac)m(h)f Fr(jobsp)s(ec)38 b Fu(from)32 b(the)h(table)g(of)g -(activ)m(e)h(jobs.)47 b(If)32 b(the)h Ft(-h)630 4249 -y Fu(option)j(is)f(giv)m(en,)i(the)f(job)f(is)g(not)g(remo)m(v)m(ed)h -(from)f(the)g(table,)j(but)c(is)i(mark)m(ed)f(so)g(that)630 -4359 y Ft(SIGHUP)e Fu(is)j(not)f(sen)m(t)h(to)g(the)f(job)g(if)g(the)g -(shell)h(receiv)m(es)h(a)e Ft(SIGHUP)p Fu(.)54 b(If)34 -b Fr(jobsp)s(ec)40 b Fu(is)c(not)630 4468 y(presen)m(t,)41 -b(and)d(neither)h(the)g Ft(-a)f Fu(nor)g(the)h Ft(-r)f -Fu(option)h(is)g(supplied,)g(the)g(curren)m(t)g(job)f(is)630 -4578 y(used.)g(If)25 b(no)h Fr(jobsp)s(ec)k Fu(is)c(supplied,)f(the)h -Ft(-a)f Fu(option)h(means)g(to)g(remo)m(v)m(e)h(or)e(mark)h(all)g -(jobs;)630 4688 y(the)31 b Ft(-r)e Fu(option)i(without)g(a)f -Fr(jobsp)s(ec)36 b Fu(argumen)m(t)30 b(restricts)h(op)s(eration)g(to)g -(running)e(jobs.)150 4849 y Ft(suspend)870 4985 y(suspend)46 -b([-f])630 5121 y Fu(Susp)s(end)31 b(the)i(execution)h(of)g(this)f -(shell)g(un)m(til)h(it)g(receiv)m(es)h(a)e Ft(SIGCONT)f -Fu(signal.)50 b(A)33 b(login)630 5230 y(shell)28 b(cannot)g(b)s(e)f -(susp)s(ended;)g(the)g Ft(-f)g Fu(option)i(can)f(b)s(e)f(used)g(to)h(o) -m(v)m(erride)h(this)e(and)g(force)630 5340 y(the)k(susp)s(ension.)p -eop end -%%Page: 100 106 -TeXDict begin 100 105 bop 150 -116 a Fu(Chapter)30 b(7:)41 -b(Job)30 b(Con)m(trol)2526 b(100)275 299 y(When)30 b(job)f(con)m(trol)j +Fj(jobspec)f Ft(...)h(|)g Fj(pid)g Ft(...)g(])630 4140 +y Fu(Without)33 b(options,)h(remo)m(v)m(e)g(eac)m(h)f +Fr(jobsp)s(ec)38 b Fu(from)32 b(the)h(table)g(of)g(activ)m(e)h(jobs.)47 +b(If)32 b(the)h Ft(-h)630 4249 y Fu(option)j(is)f(giv)m(en,)i(the)f +(job)f(is)g(not)g(remo)m(v)m(ed)h(from)f(the)g(table,)j(but)c(is)i +(mark)m(ed)f(so)g(that)630 4359 y Ft(SIGHUP)e Fu(is)j(not)f(sen)m(t)h +(to)g(the)f(job)g(if)g(the)g(shell)h(receiv)m(es)h(a)e +Ft(SIGHUP)p Fu(.)54 b(If)34 b Fr(jobsp)s(ec)40 b Fu(is)c(not)630 +4468 y(presen)m(t,)41 b(and)d(neither)h(the)g Ft(-a)f +Fu(nor)g(the)h Ft(-r)f Fu(option)h(is)g(supplied,)g(the)g(curren)m(t)g +(job)f(is)630 4578 y(used.)g(If)25 b(no)h Fr(jobsp)s(ec)k +Fu(is)c(supplied,)f(the)h Ft(-a)f Fu(option)h(means)g(to)g(remo)m(v)m +(e)h(or)e(mark)h(all)g(jobs;)630 4688 y(the)31 b Ft(-r)e +Fu(option)i(without)g(a)f Fr(jobsp)s(ec)36 b Fu(argumen)m(t)30 +b(restricts)h(op)s(eration)g(to)g(running)e(jobs.)150 +4849 y Ft(suspend)870 4985 y(suspend)46 b([-f])630 5121 +y Fu(Susp)s(end)31 b(the)i(execution)h(of)g(this)f(shell)g(un)m(til)h +(it)g(receiv)m(es)h(a)e Ft(SIGCONT)f Fu(signal.)50 b(A)33 +b(login)630 5230 y(shell)28 b(cannot)g(b)s(e)f(susp)s(ended;)g(the)g +Ft(-f)g Fu(option)i(can)f(b)s(e)f(used)g(to)h(o)m(v)m(erride)h(this)e +(and)g(force)630 5340 y(the)k(susp)s(ension.)p eop end +%%Page: 103 109 +TeXDict begin 103 108 bop 150 -116 a Fu(Chapter)30 b(7:)41 +b(Job)30 b(Con)m(trol)2526 b(103)275 299 y(When)30 b(job)f(con)m(trol)j (is)e(not)h(activ)m(e,)i(the)d Ft(kill)f Fu(and)h Ft(wait)f Fu(builtins)g(do)h(not)h(accept)h Fr(jobsp)s(ec)j Fu(argu-)150 408 y(men)m(ts.)41 b(They)30 b(m)m(ust)g(b)s(e)g(supplied)f(pro)s(cess) -h Fm(id)p Fu(s.)150 641 y Fs(7.3)68 b(Job)45 b(Con)l(trol)h(V)-11 -b(ariables)150 825 y Ft(auto_resume)630 935 y Fu(This)31 +h Fm(id)p Fu(s.)150 649 y Fs(7.3)68 b(Job)45 b(Con)l(trol)h(V)-11 +b(ariables)150 834 y Ft(auto_resume)630 943 y Fu(This)31 b(v)-5 b(ariable)32 b(con)m(trols)g(ho)m(w)g(the)f(shell)h(in)m (teracts)h(with)e(the)h(user)e(and)h(job)g(con)m(trol.)45 -b(If)630 1044 y(this)28 b(v)-5 b(ariable)30 b(exists)f(then)f(single)h +b(If)630 1053 y(this)28 b(v)-5 b(ariable)30 b(exists)f(then)f(single)h (w)m(ord)f(simple)h(commands)f(without)g(redirections)i(are)630 -1154 y(treated)h(as)g(candidates)f(for)g(resumption)g(of)g(an)g +1162 y(treated)h(as)g(candidates)f(for)g(resumption)g(of)g(an)g (existing)h(job.)41 b(There)29 b(is)h(no)h(am)m(biguit)m(y)630 -1264 y(allo)m(w)m(ed;)f(if)d(there)g(is)g(more)g(than)f(one)h(job)g(b)s +1272 y(allo)m(w)m(ed;)f(if)d(there)g(is)g(more)g(than)f(one)h(job)g(b)s (eginning)f(with)g(the)h(string)g(t)m(yp)s(ed,)g(then)g(the)630 -1373 y(most)j(recen)m(tly)h(accessed)f(job)f(will)h(b)s(e)f(selected.) +1381 y(most)j(recen)m(tly)h(accessed)f(job)f(will)h(b)s(e)f(selected.) 42 b(The)29 b(name)g(of)h(a)g(stopp)s(ed)e(job,)i(in)f(this)630 -1483 y(con)m(text,)h(is)e(the)g(command)g(line)g(used)f(to)h(start)g +1491 y(con)m(text,)h(is)e(the)g(command)g(line)g(used)f(to)h(start)g (it.)41 b(If)27 b(this)h(v)-5 b(ariable)28 b(is)g(set)g(to)h(the)e(v)-5 -b(alue)630 1592 y(`)p Ft(exact)p Fu(',)33 b(the)g(string)g(supplied)f +b(alue)630 1601 y(`)p Ft(exact)p Fu(',)33 b(the)g(string)g(supplied)f (m)m(ust)h(matc)m(h)g(the)h(name)f(of)g(a)g(stopp)s(ed)f(job)h -(exactly;)j(if)630 1702 y(set)29 b(to)h(`)p Ft(substring)p +(exactly;)j(if)630 1710 y(set)29 b(to)h(`)p Ft(substring)p Fu(',)d(the)i(string)g(supplied)e(needs)i(to)g(matc)m(h)h(a)f -(substring)f(of)h(the)g(name)630 1812 y(of)38 b(a)f(stopp)s(ed)g(job.) +(substring)f(of)h(the)g(name)630 1820 y(of)38 b(a)f(stopp)s(ed)g(job.) 62 b(The)37 b(`)p Ft(substring)p Fu(')e(v)-5 b(alue)38 b(pro)m(vides)f(functionalit)m(y)i(analogous)g(to)630 -1921 y(the)f(`)p Ft(\045?)p Fu(')f(job)h Fm(id)f Fu(\(see)i(Section)f -(7.1)h([Job)f(Con)m(trol)g(Basics],)j(page)d(97\).)64 -b(If)37 b(set)h(to)h(an)m(y)630 2031 y(other)32 b(v)-5 -b(alue,)32 b(the)g(supplied)e(string)i(m)m(ust)f(b)s(e)g(a)h(pre\014x)f -(of)h(a)g(stopp)s(ed)e(job's)i(name;)g(this)630 2140 -y(pro)m(vides)e(functionalit)m(y)i(analogous)g(to)f(the)g(`)p -Ft(\045)p Fu(')f(job)g Fm(id)p Fu(.)p eop end -%%Page: 101 107 -TeXDict begin 101 106 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(101)150 299 y Fp(8)80 -b(Command)54 b(Line)f(Editing)150 640 y Fu(This)28 b(c)m(hapter)i -(describ)s(es)e(the)h(basic)g(features)h(of)f(the)g Fm(gnu)f -Fu(command)h(line)g(editing)h(in)m(terface.)42 b(Com-)150 -749 y(mand)c(line)i(editing)f(is)g(pro)m(vided)g(b)m(y)g(the)g -(Readline)h(library)-8 b(,)41 b(whic)m(h)e(is)g(used)f(b)m(y)h(sev)m -(eral)h(di\013eren)m(t)150 859 y(programs,)34 b(including)e(Bash.)49 -b(Command)32 b(line)i(editing)f(is)g(enabled)g(b)m(y)g(default)g(when)f -(using)h(an)g(in-)150 969 y(teractiv)m(e)h(shell,)d(unless)g(the)g -Ft(--noediting)d Fu(option)k(is)f(supplied)e(at)j(shell)f(in)m(v)m(o)s -(cation.)45 b(Line)31 b(editing)150 1078 y(is)g(also)h(used)f(when)f -(using)h(the)g Ft(-e)g Fu(option)h(to)g(the)f Ft(read)f -Fu(builtin)h(command)g(\(see)h(Section)g(4.2)h([Bash)150 -1188 y(Builtins],)j(page)f(48\).)52 b(By)35 b(default,)g(the)f(line)h -(editing)f(commands)g(are)h(similar)f(to)h(those)f(of)g(Emacs.)150 -1297 y(A)h(vi-st)m(yle)h(line)f(editing)g(in)m(terface)h(is)e(also)i(a) -m(v)-5 b(ailable.)55 b(Line)34 b(editing)h(can)g(b)s(e)f(enabled)g(at)h -(an)m(y)g(time)150 1407 y(using)h(the)g Ft(-o)30 b(emacs)35 -b Fu(or)h Ft(-o)30 b(vi)35 b Fu(options)i(to)g(the)f -Ft(set)f Fu(builtin)h(command)g(\(see)h(Section)g(4.3.1)h([The)150 -1517 y(Set)31 b(Builtin],)g(page)g(58\),)h(or)e(disabled)g(using)g(the) -h Ft(+o)e(emacs)g Fu(or)i Ft(+o)e(vi)h Fu(options)h(to)g -Ft(set)p Fu(.)150 1802 y Fs(8.1)68 b(In)l(tro)t(duction)45 -b(to)g(Line)h(Editing)150 1962 y Fu(The)30 b(follo)m(wing)i(paragraphs) -d(describ)s(e)h(the)h(notation)g(used)f(to)h(represen)m(t)f(k)m -(eystrok)m(es.)275 2132 y(The)35 b(text)i Fj(C-k)f Fu(is)g(read)g(as)h -(`Con)m(trol-K')g(and)f(describ)s(es)f(the)h(c)m(haracter)i(pro)s -(duced)d(when)g(the)h Ft(k)150 2242 y Fu(k)m(ey)31 b(is)g(pressed)e -(while)h(the)h(Con)m(trol)g(k)m(ey)g(is)g(depressed.)275 -2412 y(The)g(text)i Fj(M-k)e Fu(is)h(read)f(as)i(`Meta-K')g(and)f -(describ)s(es)f(the)h(c)m(haracter)h(pro)s(duced)e(when)f(the)i(Meta) -150 2521 y(k)m(ey)i(\(if)f(y)m(ou)h(ha)m(v)m(e)g(one\))g(is)f -(depressed,)g(and)f(the)h Ft(k)g Fu(k)m(ey)h(is)f(pressed.)48 -b(The)32 b(Meta)j(k)m(ey)e(is)h(lab)s(eled)f Ft(ALT)150 -2631 y Fu(on)c(man)m(y)h(k)m(eyb)s(oards.)40 b(On)29 -b(k)m(eyb)s(oards)g(with)h(t)m(w)m(o)h(k)m(eys)f(lab)s(eled)g +1929 y(the)c(`)p Ft(\045?)p Fu(')g(job)g Fm(id)g Fu(\(see)h(Section)g +(7.1)g([Job)e(Con)m(trol)i(Basics],)i(page)e(100\).)56 +b(If)34 b(set)i(to)g(an)m(y)630 2039 y(other)c(v)-5 b(alue,)32 +b(the)g(supplied)e(string)i(m)m(ust)f(b)s(e)g(a)h(pre\014x)f(of)h(a)g +(stopp)s(ed)e(job's)i(name;)g(this)630 2149 y(pro)m(vides)e +(functionalit)m(y)i(analogous)g(to)f(the)g(`)p Ft(\045)p +Fu(')f(job)g Fm(id)p Fu(.)p eop end +%%Page: 104 110 +TeXDict begin 104 109 bop 3614 -116 a Fu(104)150 299 +y Fp(8)80 b(Command)54 b(Line)f(Editing)150 635 y Fu(This)28 +b(c)m(hapter)i(describ)s(es)e(the)h(basic)g(features)h(of)f(the)g +Fm(gnu)f Fu(command)h(line)g(editing)h(in)m(terface.)42 +b(Com-)150 745 y(mand)c(line)i(editing)f(is)g(pro)m(vided)g(b)m(y)g +(the)g(Readline)h(library)-8 b(,)41 b(whic)m(h)e(is)g(used)f(b)m(y)h +(sev)m(eral)h(di\013eren)m(t)150 855 y(programs,)34 b(including)e +(Bash.)49 b(Command)32 b(line)i(editing)f(is)g(enabled)g(b)m(y)g +(default)g(when)f(using)h(an)g(in-)150 964 y(teractiv)m(e)h(shell,)d +(unless)g(the)g Ft(--noediting)d Fu(option)k(is)f(supplied)e(at)j +(shell)f(in)m(v)m(o)s(cation.)45 b(Line)31 b(editing)150 +1074 y(is)g(also)h(used)f(when)f(using)h(the)g Ft(-e)g +Fu(option)h(to)g(the)f Ft(read)f Fu(builtin)h(command)g(\(see)h +(Section)g(4.2)h([Bash)150 1183 y(Builtins],)j(page)f(49\).)52 +b(By)35 b(default,)g(the)f(line)h(editing)f(commands)g(are)h(similar)f +(to)h(those)f(of)g(Emacs.)150 1293 y(A)h(vi-st)m(yle)h(line)f(editing)g +(in)m(terface)h(is)e(also)i(a)m(v)-5 b(ailable.)55 b(Line)34 +b(editing)h(can)g(b)s(e)f(enabled)g(at)h(an)m(y)g(time)150 +1402 y(using)h(the)g Ft(-o)30 b(emacs)35 b Fu(or)h Ft(-o)30 +b(vi)35 b Fu(options)i(to)g(the)f Ft(set)f Fu(builtin)h(command)g +(\(see)h(Section)g(4.3.1)h([The)150 1512 y(Set)31 b(Builtin],)g(page)g +(60\),)h(or)e(disabled)g(using)g(the)h Ft(+o)e(emacs)g +Fu(or)i Ft(+o)e(vi)h Fu(options)h(to)g Ft(set)p Fu(.)150 +1804 y Fs(8.1)68 b(In)l(tro)t(duction)45 b(to)g(Line)h(Editing)150 +1963 y Fu(The)30 b(follo)m(wing)i(paragraphs)d(describ)s(e)h(the)h +(notation)g(used)f(to)h(represen)m(t)f(k)m(eystrok)m(es.)275 +2132 y(The)35 b(text)i Fj(C-k)f Fu(is)g(read)g(as)h(`Con)m(trol-K')g +(and)f(describ)s(es)f(the)h(c)m(haracter)i(pro)s(duced)d(when)g(the)h +Ft(k)150 2242 y Fu(k)m(ey)31 b(is)g(pressed)e(while)h(the)h(Con)m(trol) +g(k)m(ey)g(is)g(depressed.)275 2410 y(The)g(text)i Fj(M-k)e +Fu(is)h(read)f(as)i(`Meta-K')g(and)f(describ)s(es)f(the)h(c)m(haracter) +h(pro)s(duced)e(when)f(the)i(Meta)150 2520 y(k)m(ey)i(\(if)f(y)m(ou)h +(ha)m(v)m(e)g(one\))g(is)f(depressed,)g(and)f(the)h Ft(k)g +Fu(k)m(ey)h(is)f(pressed.)48 b(The)32 b(Meta)j(k)m(ey)e(is)h(lab)s +(eled)f Ft(ALT)150 2629 y Fu(on)c(man)m(y)h(k)m(eyb)s(oards.)40 +b(On)29 b(k)m(eyb)s(oards)g(with)h(t)m(w)m(o)h(k)m(eys)f(lab)s(eled)g Ft(ALT)e Fu(\(usually)i(to)g(either)g(side)g(of)g(the)150 -2740 y(space)h(bar\),)f(the)g Ft(ALT)f Fu(on)h(the)g(left)h(side)f(is)g +2739 y(space)h(bar\),)f(the)g Ft(ALT)f Fu(on)h(the)g(left)h(side)f(is)g (generally)h(set)f(to)h(w)m(ork)f(as)g(a)h(Meta)g(k)m(ey)-8 -b(.)42 b(The)29 b Ft(ALT)g Fu(k)m(ey)i(on)150 2850 y(the)c(righ)m(t)h +b(.)42 b(The)29 b Ft(ALT)g Fu(k)m(ey)i(on)150 2849 y(the)c(righ)m(t)h (ma)m(y)g(also)g(b)s(e)f(con\014gured)f(to)i(w)m(ork)f(as)h(a)f(Meta)i (k)m(ey)f(or)f(ma)m(y)h(b)s(e)e(con\014gured)h(as)g(some)h(other)150 -2960 y(mo)s(di\014er,)i(suc)m(h)g(as)g(a)h(Comp)s(ose)f(k)m(ey)h(for)f -(t)m(yping)h(accen)m(ted)h(c)m(haracters.)275 3130 y(If)23 +2958 y(mo)s(di\014er,)i(suc)m(h)g(as)g(a)h(Comp)s(ose)f(k)m(ey)h(for)f +(t)m(yping)h(accen)m(ted)h(c)m(haracters.)275 3127 y(If)23 b(y)m(ou)i(do)f(not)h(ha)m(v)m(e)h(a)f(Meta)g(or)g Ft(ALT)e Fu(k)m(ey)-8 b(,)27 b(or)e(another)f(k)m(ey)i(w)m(orking)e(as)h(a)g -(Meta)h(k)m(ey)-8 b(,)27 b(the)d(iden)m(tical)150 3239 +(Meta)h(k)m(ey)-8 b(,)27 b(the)d(iden)m(tical)150 3236 y(k)m(eystrok)m(e)30 b(can)f(b)s(e)f(generated)h(b)m(y)g(t)m(yping)g Ft(ESC)e Fl(\014rst)p Fu(,)j(and)e(then)g(t)m(yping)h Ft(k)p Fu(.)40 b(Either)28 b(pro)s(cess)g(is)g(kno)m(wn)150 -3349 y(as)j Fr(metafying)39 b Fu(the)30 b Ft(k)g Fu(k)m(ey)-8 -b(.)275 3519 y(The)39 b(text)j Fj(M-C-k)d Fu(is)h(read)g(as)h +3346 y(as)j Fr(metafying)39 b Fu(the)30 b Ft(k)g Fu(k)m(ey)-8 +b(.)275 3515 y(The)39 b(text)j Fj(M-C-k)d Fu(is)h(read)g(as)h (`Meta-Con)m(trol-k')j(and)39 b(describ)s(es)h(the)g(c)m(haracter)i -(pro)s(duced)d(b)m(y)150 3629 y Fr(metafying)g Fj(C-k)p -Fu(.)275 3799 y(In)c(addition,)j(sev)m(eral)f(k)m(eys)g(ha)m(v)m(e)g +(pro)s(duced)d(b)m(y)150 3624 y Fr(metafying)g Fj(C-k)p +Fu(.)275 3793 y(In)c(addition,)j(sev)m(eral)f(k)m(eys)g(ha)m(v)m(e)g (their)f(o)m(wn)g(names.)58 b(Sp)s(eci\014cally)-8 b(,)38 b Ft(DEL)p Fu(,)f Ft(ESC)p Fu(,)g Ft(LFD)p Fu(,)g Ft(SPC)p -Fu(,)g Ft(RET)p Fu(,)150 3908 y(and)d Ft(TAB)f Fu(all)j(stand)e(for)g +Fu(,)g Ft(RET)p Fu(,)150 3902 y(and)d Ft(TAB)f Fu(all)j(stand)e(for)g (themselv)m(es)i(when)d(seen)i(in)f(this)g(text,)j(or)d(in)h(an)f(init) -h(\014le)f(\(see)i(Section)f(8.3)150 4018 y([Readline)f(Init)g(File],)i -(page)e(104\).)52 b(If)33 b(y)m(our)g(k)m(eyb)s(oard)h(lac)m(ks)g(a)g +h(\014le)f(\(see)i(Section)f(8.3)150 4012 y([Readline)f(Init)g(File],)i +(page)e(107\).)52 b(If)33 b(y)m(our)g(k)m(eyb)s(oard)h(lac)m(ks)g(a)g Ft(LFD)f Fu(k)m(ey)-8 b(,)36 b(t)m(yping)e Ft(C-j)e Fu(will)i(pro)s -(duce)150 4128 y(the)d(desired)e(c)m(haracter.)43 b(The)30 +(duce)150 4122 y(the)d(desired)e(c)m(haracter.)43 b(The)30 b Ft(RET)f Fu(k)m(ey)i(ma)m(y)g(b)s(e)f(lab)s(eled)h Ft(Return)d Fu(or)j Ft(Enter)d Fu(on)j(some)g(k)m(eyb)s(oards.)150 4413 y Fs(8.2)68 b(Readline)47 b(In)l(teraction)150 4573 @@ -15339,9 +15662,9 @@ Ft(RET)p Fu(.)39 b(Y)-8 b(ou)25 b(do)g(not)g(ha)m(v)m(e)h(to)g(b)s(e)e Ft(RET)p Fu(;)i(the)g(en)m(tire)g(line)f(is)h(accepted)g(regardless)g (of)f(the)h(lo)s(cation)h(of)e(the)h(cursor)150 5340 y(within)c(the)g(line.)p eop end -%%Page: 102 108 -TeXDict begin 102 107 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(102)150 299 y Fk(8.2.1)63 +%%Page: 105 111 +TeXDict begin 105 110 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(105)150 299 y Fk(8.2.1)63 b(Readline)40 b(Bare)h(Essen)m(tials)150 446 y Fu(In)31 b(order)h(to)h(en)m(ter)g(c)m(haracters)g(in)m(to)g(the)g(line,)g (simply)e(t)m(yp)s(e)i(them.)46 b(The)31 b(t)m(yp)s(ed)h(c)m(haracter)i @@ -15408,9 +15731,9 @@ b Fu(Mo)m(v)m(e)32 b(to)g(the)e(end)g(of)g(the)h(line.)150 b(that)f(con)m(trol)g(k)m(eystrok)m(es)h(op)s(erate)e(on)g(c)m (haracters)h(while)f(meta)h(k)m(eystrok)m(es)h(op)s(erate)e(on)150 5340 y(w)m(ords.)p eop end -%%Page: 103 109 -TeXDict begin 103 108 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(103)150 299 y Fk(8.2.3)63 +%%Page: 106 112 +TeXDict begin 106 111 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(106)150 299 y Fk(8.2.3)63 b(Readline)40 b(Killing)i(Commands)150 446 y Fr(Killing)35 b Fu(text)28 b(means)e(to)h(delete)h(the)f(text)g(from)g(the)f(line,)i (but)e(to)h(sa)m(v)m(e)h(it)g(a)m(w)m(a)m(y)g(for)e(later)i(use,)f @@ -15484,13 +15807,13 @@ b(on)e(the)h(input)e(line.)150 4974 y Fk(8.2.5)63 b(Searc)m(hing)40 b(for)i(Commands)g(in)f(the)g(History)150 5121 y Fu(Readline)35 b(pro)m(vides)f(commands)g(for)g(searc)m(hing)h(through)e(the)i (command)f(history)g(\(see)h(Section)g(9.1)150 5230 y([Bash)i(History)h -(F)-8 b(acilities],)42 b(page)37 b(133\))i(for)d(lines)h(con)m(taining) +(F)-8 b(acilities],)42 b(page)37 b(137\))i(for)d(lines)h(con)m(taining) i(a)e(sp)s(eci\014ed)f(string.)60 b(There)36 b(are)i(t)m(w)m(o)150 5340 y(searc)m(h)31 b(mo)s(des:)40 b Fr(incremen)m(tal)35 b Fu(and)30 b Fr(non-incremen)m(tal)p Fu(.)p eop end -%%Page: 104 110 -TeXDict begin 104 109 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(104)275 299 y(Incremen)m(tal)26 +%%Page: 107 113 +TeXDict begin 107 112 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(107)275 299 y(Incremen)m(tal)26 b(searc)m(hes)h(b)s(egin)e(b)s(efore)g(the)h(user)f(has)h(\014nished)e (t)m(yping)i(the)g(searc)m(h)g(string.)39 b(As)26 b(eac)m(h)150 408 y(c)m(haracter)37 b(of)e(the)h(searc)m(h)g(string)f(is)h(t)m(yp)s @@ -15513,557 +15836,638 @@ Fu(c)m(haracters)i(will)150 1066 y(terminate)h(an)g(incremen)m(tal)g (searc)m(h)f(and)f(restore)h(the)150 1176 y(original)30 b(line.)41 b(When)28 b(the)h(searc)m(h)h(is)f(terminated,)h(the)f (history)g(en)m(try)g(con)m(taining)h(the)f(searc)m(h)h(string)150 -1285 y(b)s(ecomes)h(the)f(curren)m(t)g(line.)275 1428 +1285 y(b)s(ecomes)h(the)f(curren)m(t)g(line.)275 1414 y(T)-8 b(o)31 b(\014nd)e(other)j(matc)m(hing)g(en)m(tries)g(in)e(the)h (history)g(list,)h(t)m(yp)s(e)g Fj(C-r)e Fu(or)h Fj(C-s)f -Fu(as)h(appropriate.)43 b(This)150 1537 y(will)26 b(searc)m(h)h(bac)m +Fu(as)h(appropriate.)43 b(This)150 1524 y(will)26 b(searc)m(h)h(bac)m (kw)m(ard)g(or)f(forw)m(ard)g(in)f(the)i(history)f(for)g(the)g(next)g (en)m(try)h(matc)m(hing)g(the)f(searc)m(h)h(string)150 -1647 y(t)m(yp)s(ed)37 b(so)h(far.)63 b(An)m(y)38 b(other)f(k)m(ey)i +1633 y(t)m(yp)s(ed)37 b(so)h(far.)63 b(An)m(y)38 b(other)f(k)m(ey)i (sequence)f(b)s(ound)e(to)i(a)g(Readline)h(command)e(will)h(terminate)h -(the)150 1757 y(searc)m(h)26 b(and)f(execute)i(that)f(command.)39 +(the)150 1743 y(searc)m(h)26 b(and)f(execute)i(that)f(command.)39 b(F)-8 b(or)26 b(instance,)h(a)f Ft(RET)f Fu(will)g(terminate)i(the)f -(searc)m(h)g(and)e(accept)150 1866 y(the)30 b(line,)g(thereb)m(y)f +(searc)m(h)g(and)e(accept)150 1852 y(the)30 b(line,)g(thereb)m(y)f (executing)i(the)e(command)g(from)g(the)h(history)f(list.)41 -b(A)29 b(mo)m(v)m(emen)m(t)j(command)d(will)150 1976 +b(A)29 b(mo)m(v)m(emen)m(t)j(command)d(will)150 1962 y(terminate)i(the)g(searc)m(h,)g(mak)m(e)h(the)e(last)h(line)g(found)e (the)i(curren)m(t)f(line,)h(and)f(b)s(egin)g(editing.)275 -2119 y(Readline)35 b(remem)m(b)s(ers)f(the)h(last)h(incremen)m(tal)g +2091 y(Readline)35 b(remem)m(b)s(ers)f(the)h(last)h(incremen)m(tal)g (searc)m(h)f(string.)54 b(If)34 b(t)m(w)m(o)j Fj(C-r)p -Fu(s)c(are)i(t)m(yp)s(ed)g(without)150 2228 y(an)m(y)i(in)m(terv)m +Fu(s)c(are)i(t)m(yp)s(ed)g(without)150 2200 y(an)m(y)i(in)m(terv)m (ening)g(c)m(haracters)h(de\014ning)e(a)h(new)f(searc)m(h)h(string,)h (an)m(y)f(remem)m(b)s(ered)e(searc)m(h)i(string)g(is)150 -2338 y(used.)275 2480 y(Non-incremen)m(tal)48 b(searc)m(hes)g(read)e +2310 y(used.)275 2439 y(Non-incremen)m(tal)48 b(searc)m(hes)g(read)e (the)h(en)m(tire)h(searc)m(h)f(string)g(b)s(efore)f(starting)h(to)h -(searc)m(h)f(for)150 2590 y(matc)m(hing)d(history)e(lines.)78 +(searc)m(h)f(for)150 2548 y(matc)m(hing)d(history)e(lines.)78 b(The)42 b(searc)m(h)h(string)g(ma)m(y)g(b)s(e)f(t)m(yp)s(ed)g(b)m(y)g -(the)h(user)f(or)h(b)s(e)f(part)g(of)h(the)150 2700 y(con)m(ten)m(ts)32 -b(of)f(the)f(curren)m(t)g(line.)150 2944 y Fs(8.3)68 -b(Readline)47 b(Init)e(File)150 3104 y Fu(Although)f(the)g(Readline)g +(the)h(user)f(or)h(b)s(e)f(part)g(of)h(the)150 2658 y(con)m(ten)m(ts)32 +b(of)f(the)f(curren)m(t)g(line.)150 2887 y Fs(8.3)68 +b(Readline)47 b(Init)e(File)150 3046 y Fu(Although)f(the)g(Readline)g (library)f(comes)i(with)e(a)h(set)h(of)f(Emacs-lik)m(e)h(k)m -(eybindings)f(installed)g(b)m(y)150 3213 y(default,)26 +(eybindings)f(installed)g(b)m(y)150 3156 y(default,)26 b(it)g(is)e(p)s(ossible)h(to)g(use)f(a)i(di\013eren)m(t)f(set)g(of)g(k) m(eybindings.)38 b(An)m(y)25 b(user)f(can)h(customize)h(programs)150 -3323 y(that)45 b(use)f(Readline)h(b)m(y)f(putting)g(commands)g(in)g(an) +3266 y(that)45 b(use)f(Readline)h(b)m(y)f(putting)g(commands)g(in)g(an) g Fr(inputrc)49 b Fu(\014le,)g(con)m(v)m(en)m(tionally)e(in)d(his)g -(home)150 3433 y(directory)-8 b(.)59 b(The)35 b(name)i(of)f(this)g +(home)150 3375 y(directory)-8 b(.)59 b(The)35 b(name)i(of)f(this)g (\014le)g(is)g(tak)m(en)h(from)f(the)g(v)-5 b(alue)37 b(of)f(the)g(shell)h(v)-5 b(ariable)36 b Ft(INPUTRC)p -Fu(.)56 b(If)150 3542 y(that)36 b(v)-5 b(ariable)36 b(is)f(unset,)h +Fu(.)56 b(If)150 3485 y(that)36 b(v)-5 b(ariable)36 b(is)f(unset,)h (the)f(default)h(is)f Ft(~/.inputrc)p Fu(.)52 b(If)35 b(that)g(\014le)h(do)s(es)e(not)i(exist)g(or)f(cannot)h(b)s(e)150 -3652 y(read,)31 b(the)f(ultimate)i(default)e(is)h Ft(/etc/inputrc)p -Fu(.)275 3794 y(When)e(a)h(program)f(whic)m(h)h(uses)f(the)h(Readline)g +3594 y(read,)31 b(the)f(ultimate)i(default)e(is)h Ft(/etc/inputrc)p +Fu(.)275 3723 y(When)e(a)h(program)f(whic)m(h)h(uses)f(the)h(Readline)g (library)f(starts)h(up,)f(the)h(init)g(\014le)f(is)h(read,)g(and)f(the) -150 3904 y(k)m(ey)i(bindings)e(are)i(set.)275 4047 y(In)26 +150 3833 y(k)m(ey)i(bindings)e(are)i(set.)275 3961 y(In)26 b(addition,)i(the)f Ft(C-x)i(C-r)d Fu(command)h(re-reads)g(this)f(init) h(\014le,)h(th)m(us)f(incorp)s(orating)g(an)m(y)g(c)m(hanges)150 -4156 y(that)k(y)m(ou)g(migh)m(t)g(ha)m(v)m(e)g(made)g(to)g(it.)150 -4364 y Fk(8.3.1)63 b(Readline)40 b(Init)h(File)g(Syn)m(tax)150 -4511 y Fu(There)f(are)i(only)f(a)g(few)g(basic)g(constructs)h(allo)m(w) +4071 y(that)k(y)m(ou)g(migh)m(t)g(ha)m(v)m(e)g(made)g(to)g(it.)150 +4259 y Fk(8.3.1)63 b(Readline)40 b(Init)h(File)g(Syn)m(tax)150 +4406 y Fu(There)f(are)i(only)f(a)g(few)g(basic)g(constructs)h(allo)m(w) m(ed)h(in)d(the)h(Readline)h(init)f(\014le.)73 b(Blank)41 -b(lines)h(are)150 4620 y(ignored.)72 b(Lines)41 b(b)s(eginning)f(with)h +b(lines)h(are)150 4515 y(ignored.)72 b(Lines)41 b(b)s(eginning)f(with)h (a)g(`)p Ft(#)p Fu(')g(are)h(commen)m(ts.)73 b(Lines)41 b(b)s(eginning)f(with)g(a)i(`)p Ft($)p Fu(')f(indicate)150 -4730 y(conditional)e(constructs)f(\(see)g(Section)h(8.3.2)g -([Conditional)g(Init)e(Constructs],)j(page)e(111\).)64 -b(Other)150 4839 y(lines)31 b(denote)g(v)-5 b(ariable)31 -b(settings)g(and)f(k)m(ey)h(bindings.)150 5011 y(V)-8 -b(ariable)32 b(Settings)630 5121 y(Y)-8 b(ou)41 b(can)g(mo)s(dify)e +4625 y(conditional)e(constructs)f(\(see)g(Section)h(8.3.2)g +([Conditional)g(Init)e(Constructs],)j(page)e(115\).)64 +b(Other)150 4735 y(lines)31 b(denote)g(v)-5 b(ariable)31 +b(settings)g(and)f(k)m(ey)h(bindings.)150 4882 y(V)-8 +b(ariable)32 b(Settings)630 4992 y(Y)-8 b(ou)41 b(can)g(mo)s(dify)e (the)i(run-time)f(b)s(eha)m(vior)g(of)h(Readline)g(b)m(y)f(altering)h -(the)g(v)-5 b(alues)41 b(of)630 5230 y(v)-5 b(ariables)34 +(the)g(v)-5 b(alues)41 b(of)630 5102 y(v)-5 b(ariables)34 b(in)f(Readline)i(using)e(the)g Ft(set)g Fu(command)g(within)g(the)h -(init)g(\014le.)50 b(The)33 b(syn)m(tax)630 5340 y(is)d(simple:)p -eop end -%%Page: 105 111 -TeXDict begin 105 110 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(105)870 299 y Ft(set)47 -b Fj(variable)e(value)630 436 y Fu(Here,)29 b(for)e(example,)h(is)g(ho) -m(w)f(to)h(c)m(hange)g(from)f(the)g(default)h(Emacs-lik)m(e)h(k)m(ey)f -(binding)e(to)630 545 y(use)k Ft(vi)g Fu(line)h(editing)g(commands:)870 -682 y Ft(set)47 b(editing-mode)d(vi)630 819 y Fu(V)-8 -b(ariable)36 b(names)f(and)g(v)-5 b(alues,)36 b(where)f(appropriate,)h -(are)g(recognized)g(without)f(regard)630 929 y(to)c(case.)42 -b(Unrecognized)31 b(v)-5 b(ariable)31 b(names)g(are)f(ignored.)630 -1066 y(Bo)s(olean)c(v)-5 b(ariables)26 b(\(those)g(that)g(can)f(b)s(e)f -(set)i(to)g(on)f(or)g(o\013)7 b(\))25 b(are)h(set)f(to)h(on)f(if)g(the) -g(v)-5 b(alue)26 b(is)630 1176 y(n)m(ull)e(or)g(empt)m(y)-8 +(init)g(\014le.)50 b(The)33 b(syn)m(tax)630 5211 y(is)d(simple:)870 +5340 y Ft(set)47 b Fj(variable)e(value)p eop end +%%Page: 108 114 +TeXDict begin 108 113 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(108)630 299 y(Here,)29 +b(for)e(example,)h(is)g(ho)m(w)f(to)h(c)m(hange)g(from)f(the)g(default) +h(Emacs-lik)m(e)h(k)m(ey)f(binding)e(to)630 408 y(use)k +Ft(vi)g Fu(line)h(editing)g(commands:)870 541 y Ft(set)47 +b(editing-mode)d(vi)630 674 y Fu(V)-8 b(ariable)36 b(names)f(and)g(v)-5 +b(alues,)36 b(where)f(appropriate,)h(are)g(recognized)g(without)f +(regard)630 783 y(to)c(case.)42 b(Unrecognized)31 b(v)-5 +b(ariable)31 b(names)g(are)f(ignored.)630 916 y(Bo)s(olean)c(v)-5 +b(ariables)26 b(\(those)g(that)g(can)f(b)s(e)f(set)i(to)g(on)f(or)g +(o\013)7 b(\))25 b(are)h(set)f(to)h(on)f(if)g(the)g(v)-5 +b(alue)26 b(is)630 1026 y(n)m(ull)e(or)g(empt)m(y)-8 b(,)27 b Fr(on)d Fu(\(case-insensitiv)m(e\),)29 b(or)24 b(1.)39 b(An)m(y)25 b(other)f(v)-5 b(alue)25 b(results)f(in)g(the)g(v) --5 b(ariable)630 1285 y(b)s(eing)30 b(set)h(to)g(o\013.)630 -1422 y(The)37 b Ft(bind)30 b(-V)37 b Fu(command)g(lists)i(the)f(curren) +-5 b(ariable)630 1135 y(b)s(eing)30 b(set)h(to)g(o\013.)630 +1268 y(The)37 b Ft(bind)30 b(-V)37 b Fu(command)g(lists)i(the)f(curren) m(t)f(Readline)i(v)-5 b(ariable)38 b(names)g(and)f(v)-5 -b(alues.)630 1532 y(See)31 b(Section)g(4.2)g([Bash)g(Builtins],)g(page) -g(48.)630 1669 y(A)f(great)i(deal)f(of)g(run-time)f(b)s(eha)m(vior)g +b(alues.)630 1377 y(See)31 b(Section)g(4.2)g([Bash)g(Builtins],)g(page) +g(49.)630 1510 y(A)f(great)i(deal)f(of)g(run-time)f(b)s(eha)m(vior)g (is)g(c)m(hangeable)j(with)d(the)g(follo)m(wing)i(v)-5 -b(ariables.)630 1833 y Ft(bell-style)1110 1943 y Fu(Con)m(trols)44 +b(ariables.)630 1666 y Ft(bell-style)1110 1775 y Fu(Con)m(trols)44 b(what)g(happ)s(ens)e(when)h(Readline)i(w)m(an)m(ts)f(to)h(ring)e(the)h -(termi-)1110 2052 y(nal)37 b(b)s(ell.)61 b(If)37 b(set)h(to)g(`)p +(termi-)1110 1885 y(nal)37 b(b)s(ell.)61 b(If)37 b(set)h(to)g(`)p Ft(none)p Fu(',)g(Readline)g(nev)m(er)g(rings)e(the)i(b)s(ell.)61 -b(If)36 b(set)i(to)1110 2162 y(`)p Ft(visible)p Fu(',)32 +b(If)36 b(set)i(to)1110 1995 y(`)p Ft(visible)p Fu(',)32 b(Readline)i(uses)f(a)g(visible)g(b)s(ell)g(if)g(one)g(is)g(a)m(v)-5 -b(ailable.)51 b(If)33 b(set)g(to)1110 2271 y(`)p Ft(audible)p +b(ailable.)51 b(If)33 b(set)g(to)1110 2104 y(`)p Ft(audible)p Fu(')j(\(the)i(default\),)i(Readline)e(attempts)g(to)h(ring)e(the)g -(terminal's)1110 2381 y(b)s(ell.)630 2545 y Ft(bind-tty-special-chars) -1110 2655 y Fu(If)45 b(set)h(to)f(`)p Ft(on)p Fu(',)50 -b(Readline)45 b(attempts)i(to)f(bind)d(the)j(con)m(trol)g(c)m -(haracters)1110 2765 y(treated)36 b(sp)s(ecially)h(b)m(y)e(the)h(k)m -(ernel's)g(terminal)g(driv)m(er)f(to)h(their)f(Readline)1110 -2874 y(equiv)-5 b(alen)m(ts.)630 3039 y Ft(colored-stats)1110 -3148 y Fu(If)26 b(set)h(to)g(`)p Ft(on)p Fu(',)h(Readline)f(displa)m -(ys)g(p)s(ossible)f(completions)h(using)f(di\013eren)m(t)1110 -3258 y(colors)40 b(to)g(indicate)g(their)f(\014le)h(t)m(yp)s(e.)67 +(terminal's)1110 2214 y(b)s(ell.)630 2370 y Ft(bind-tty-special-chars) +1110 2479 y Fu(If)e(set)g(to)h(`)p Ft(on)p Fu(')f(\(the)g(default\),)i +(Readline)f(attempts)g(to)g(bind)d(the)i(con)m(trol)1110 +2589 y(c)m(haracters)30 b(treated)g(sp)s(ecially)g(b)m(y)f(the)g(k)m +(ernel's)h(terminal)f(driv)m(er)g(to)h(their)1110 2698 +y(Readline)h(equiv)-5 b(alen)m(ts.)630 2854 y Ft(blink-matching-paren) +1110 2964 y Fu(If)36 b(set)g(to)h(`)p Ft(on)p Fu(',)h(Readline)f +(attempts)g(to)g(brie\015y)e(mo)m(v)m(e)j(the)f(cursor)e(to)i(an)1110 +3073 y(op)s(ening)k(paren)m(thesis)h(when)f(a)h(closing)h(paren)m +(thesis)e(is)h(inserted.)74 b(The)1110 3183 y(default)31 +b(is)f(`)p Ft(off)p Fu('.)630 3339 y Ft(colored-completion-prefi)o(x) +1110 3448 y Fu(If)f(set)h(to)g(`)p Ft(on)p Fu(',)g(when)e(listing)i +(completions,)h(Readline)f(displa)m(ys)g(the)f(com-)1110 +3558 y(mon)c(pre\014x)f(of)i(the)f(set)h(of)g(p)s(ossible)f +(completions)h(using)f(a)h(di\013eren)m(t)g(color.)1110 +3667 y(The)39 b(color)i(de\014nitions)f(are)g(tak)m(en)h(from)f(the)g +(v)-5 b(alue)40 b(of)g(the)g Ft(LS_COLORS)1110 3777 y +Fu(en)m(vironmen)m(t)31 b(v)-5 b(ariable.)41 b(The)30 +b(default)h(is)f(`)p Ft(off)p Fu('.)630 3933 y Ft(colored-stats)1110 +4042 y Fu(If)c(set)h(to)g(`)p Ft(on)p Fu(',)h(Readline)f(displa)m(ys)g +(p)s(ossible)f(completions)h(using)f(di\013eren)m(t)1110 +4152 y(colors)40 b(to)g(indicate)g(their)f(\014le)h(t)m(yp)s(e.)67 b(The)38 b(color)j(de\014nitions)d(are)i(tak)m(en)1110 -3367 y(from)24 b(the)h(v)-5 b(alue)25 b(of)g(the)g Ft(LS_COLORS)d +4261 y(from)24 b(the)h(v)-5 b(alue)25 b(of)g(the)g Ft(LS_COLORS)d Fu(en)m(vironmen)m(t)j(v)-5 b(ariable.)40 b(The)24 b(default)1110 -3477 y(is)30 b(`)p Ft(off)p Fu('.)630 3641 y Ft(comment-begin)1110 -3751 y Fu(The)62 b(string)g(to)h(insert)f(at)h(the)g(b)s(eginning)e(of) -h(the)h(line)f(when)g(the)1110 3861 y Ft(insert-comment)26 +4371 y(is)30 b(`)p Ft(off)p Fu('.)630 4527 y Ft(comment-begin)1110 +4636 y Fu(The)62 b(string)g(to)h(insert)f(at)h(the)g(b)s(eginning)e(of) +h(the)h(line)f(when)g(the)1110 4746 y Ft(insert-comment)26 b Fu(command)31 b(is)f(executed.)42 b(The)30 b(default)g(v)-5 -b(alue)31 b(is)f Ft("#")p Fu(.)630 4025 y Ft(completion-display-width) -1110 4134 y Fu(The)41 b(n)m(um)m(b)s(er)f(of)i(screen)g(columns)f(used) -g(to)h(displa)m(y)g(p)s(ossible)f(matc)m(hes)1110 4244 +b(alue)31 b(is)f Ft("#")p Fu(.)630 4902 y Ft(completion-display-width) +1110 5011 y Fu(The)41 b(n)m(um)m(b)s(er)f(of)i(screen)g(columns)f(used) +g(to)h(displa)m(y)g(p)s(ossible)f(matc)m(hes)1110 5121 y(when)28 b(p)s(erforming)g(completion.)41 b(The)29 b(v)-5 b(alue)29 b(is)g(ignored)g(if)g(it)h(is)f(less)g(than)1110 -4354 y(0)e(or)f(greater)h(than)f(the)g(terminal)h(screen)f(width.)39 +5230 y(0)e(or)f(greater)h(than)f(the)g(terminal)h(screen)f(width.)39 b(A)26 b(v)-5 b(alue)27 b(of)f(0)h(will)f(cause)1110 -4463 y(matc)m(hes)32 b(to)f(b)s(e)e(displa)m(y)m(ed)i(one)g(p)s(er)e -(line.)41 b(The)30 b(default)h(v)-5 b(alue)31 b(is)f(-1.)630 -4628 y Ft(completion-ignore-case)1110 4737 y Fu(If)d(set)h(to)g(`)p +5340 y(matc)m(hes)32 b(to)f(b)s(e)e(displa)m(y)m(ed)i(one)g(p)s(er)e +(line.)41 b(The)30 b(default)h(v)-5 b(alue)31 b(is)f(-1.)p +eop end +%%Page: 109 115 +TeXDict begin 109 114 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(109)630 299 y Ft +(completion-ignore-case)1110 408 y Fu(If)27 b(set)h(to)g(`)p Ft(on)p Fu(',)g(Readline)g(p)s(erforms)e(\014lename)h(matc)m(hing)i -(and)e(completion)1110 4847 y(in)j(a)h(case-insensitiv)m(e)i(fashion.) -40 b(The)30 b(default)h(v)-5 b(alue)30 b(is)h(`)p Ft(off)p -Fu('.)630 5011 y Ft(completion-map-case)1110 5121 y Fu(If)22 +(and)e(completion)1110 518 y(in)j(a)h(case-insensitiv)m(e)i(fashion.)40 +b(The)30 b(default)h(v)-5 b(alue)30 b(is)h(`)p Ft(off)p +Fu('.)630 669 y Ft(completion-map-case)1110 778 y Fu(If)22 b(set)g(to)h(`)p Ft(on)p Fu(',)h(and)e Fr(completion-ignore-case)31 -b Fu(is)22 b(enabled,)i(Readline)f(treats)1110 5230 y(h)m(yphens)29 +b Fu(is)22 b(enabled,)i(Readline)f(treats)1110 888 y(h)m(yphens)29 b(\(`)p Ft(-)p Fu('\))j(and)e(underscores)g(\(`)p Ft(_)p Fu('\))i(as)f(equiv)-5 b(alen)m(t)32 b(when)e(p)s(erforming)1110 -5340 y(case-insensitiv)m(e)j(\014lename)d(matc)m(hing)i(and)e -(completion.)p eop end -%%Page: 106 112 -TeXDict begin 106 111 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(106)630 299 y Ft -(completion-prefix-displa)o(y-le)o(ngth)1110 408 y Fu(The)31 -b(length)g(in)g(c)m(haracters)i(of)f(the)f(common)h(pre\014x)e(of)h(a)h -(list)g(of)f(p)s(ossible)1110 518 y(completions)g(that)f(is)g(displa)m -(y)m(ed)g(without)g(mo)s(di\014cation.)41 b(When)29 b(set)h(to)h(a)1110 -628 y(v)-5 b(alue)26 b(greater)h(than)e(zero,)j(common)e(pre\014xes)e -(longer)j(than)e(this)g(v)-5 b(alue)27 b(are)1110 737 +998 y(case-insensitiv)m(e)j(\014lename)d(matc)m(hing)i(and)e +(completion.)630 1148 y Ft(completion-prefix-displa)o(y-le)o(ngth)1110 +1258 y Fu(The)h(length)g(in)g(c)m(haracters)i(of)f(the)f(common)h +(pre\014x)e(of)h(a)h(list)g(of)f(p)s(ossible)1110 1367 +y(completions)g(that)f(is)g(displa)m(y)m(ed)g(without)g(mo)s +(di\014cation.)41 b(When)29 b(set)h(to)h(a)1110 1477 +y(v)-5 b(alue)26 b(greater)h(than)e(zero,)j(common)e(pre\014xes)e +(longer)j(than)e(this)g(v)-5 b(alue)27 b(are)1110 1587 y(replaced)k(with)f(an)g(ellipsis)h(when)e(displa)m(ying)i(p)s(ossible) -f(completions.)630 902 y Ft(completion-query-items)1110 -1011 y Fu(The)c(n)m(um)m(b)s(er)f(of)h(p)s(ossible)g(completions)h -(that)g(determines)f(when)f(the)i(user)1110 1121 y(is)i(ask)m(ed)h +f(completions.)630 1737 y Ft(completion-query-items)1110 +1847 y Fu(The)c(n)m(um)m(b)s(er)f(of)h(p)s(ossible)g(completions)h +(that)g(determines)f(when)f(the)i(user)1110 1956 y(is)i(ask)m(ed)h (whether)f(the)h(list)g(of)f(p)s(ossibilities)h(should)e(b)s(e)h -(displa)m(y)m(ed.)41 b(If)29 b(the)1110 1230 y(n)m(um)m(b)s(er)d(of)h +(displa)m(y)m(ed.)41 b(If)29 b(the)1110 2066 y(n)m(um)m(b)s(er)d(of)h (p)s(ossible)f(completions)i(is)f(greater)h(than)e(this)h(v)-5 -b(alue,)28 b(Readline)1110 1340 y(will)f(ask)g(the)f(user)g(whether)g +b(alue,)28 b(Readline)1110 2176 y(will)f(ask)g(the)f(user)g(whether)g (or)g(not)h(he)f(wishes)g(to)i(view)e(them;)i(otherwise,)1110 -1450 y(they)d(are)f(simply)g(listed.)40 b(This)23 b(v)-5 +2285 y(they)d(are)f(simply)g(listed.)40 b(This)23 b(v)-5 b(ariable)25 b(m)m(ust)g(b)s(e)e(set)i(to)g(an)g(in)m(teger)g(v)-5 -b(alue)1110 1559 y(greater)26 b(than)f(or)f(equal)i(to)f(0.)40 +b(alue)1110 2395 y(greater)26 b(than)f(or)f(equal)i(to)f(0.)40 b(A)24 b(negativ)m(e)j(v)-5 b(alue)26 b(means)e(Readline)i(should)1110 -1669 y(nev)m(er)31 b(ask.)41 b(The)29 b(default)i(limit)g(is)g -Ft(100)p Fu(.)630 1833 y Ft(convert-meta)1110 1943 y +2504 y(nev)m(er)31 b(ask.)41 b(The)29 b(default)i(limit)g(is)g +Ft(100)p Fu(.)630 2655 y Ft(convert-meta)1110 2765 y Fu(If)22 b(set)g(to)h(`)p Ft(on)p Fu(',)h(Readline)f(will)f(con)m(v)m (ert)i(c)m(haracters)f(with)f(the)g(eigh)m(th)h(bit)f(set)1110 -2052 y(to)33 b(an)e Fm(asci)r(i)h Fu(k)m(ey)h(sequence)f(b)m(y)g +2874 y(to)33 b(an)e Fm(asci)r(i)h Fu(k)m(ey)h(sequence)f(b)m(y)g (stripping)f(the)h(eigh)m(th)h(bit)f(and)f(pre\014xing)1110 -2162 y(an)24 b Ft(ESC)g Fu(c)m(haracter,)j(con)m(v)m(erting)f(them)f -(to)g(a)g(meta-pre\014xed)f(k)m(ey)h(sequence.)1110 2271 -y(The)30 b(default)g(v)-5 b(alue)31 b(is)g(`)p Ft(on)p -Fu('.)630 2436 y Ft(disable-completion)1110 2545 y Fu(If)36 -b(set)h(to)h(`)p Ft(On)p Fu(',)g(Readline)f(will)g(inhibit)f(w)m(ord)h -(completion.)60 b(Completion)1110 2655 y(c)m(haracters)28 -b(will)e(b)s(e)f(inserted)h(in)m(to)h(the)g(line)f(as)g(if)g(they)h -(had)e(b)s(een)g(mapp)s(ed)1110 2765 y(to)31 b Ft(self-insert)p -Fu(.)38 b(The)30 b(default)g(is)h(`)p Ft(off)p Fu('.)630 -2929 y Ft(editing-mode)1110 3039 y Fu(The)d Ft(editing-mode)e +2984 y(an)24 b Ft(ESC)g Fu(c)m(haracter,)j(con)m(v)m(erting)f(them)f +(to)g(a)g(meta-pre\014xed)f(k)m(ey)h(sequence.)1110 3093 +y(The)i(default)h(v)-5 b(alue)28 b(is)f(`)p Ft(on)p Fu(',)i(but)d(will) +i(b)s(e)f(set)h(to)g(`)p Ft(off)p Fu(')g(if)f(the)h(lo)s(cale)h(is)f +(one)1110 3203 y(that)j(con)m(tains)h(eigh)m(t-bit)g(c)m(haracters.)630 +3354 y Ft(disable-completion)1110 3463 y Fu(If)k(set)h(to)h(`)p +Ft(On)p Fu(',)g(Readline)f(will)g(inhibit)f(w)m(ord)h(completion.)60 +b(Completion)1110 3573 y(c)m(haracters)28 b(will)e(b)s(e)f(inserted)h +(in)m(to)h(the)g(line)f(as)g(if)g(they)h(had)e(b)s(een)g(mapp)s(ed)1110 +3682 y(to)31 b Ft(self-insert)p Fu(.)38 b(The)30 b(default)g(is)h(`)p +Ft(off)p Fu('.)630 3833 y Ft(echo-control-characters)1110 +3943 y Fu(When)f(set)h(to)g(`)p Ft(on)p Fu(',)f(on)g(op)s(erating)h +(systems)f(that)h(indicate)g(they)g(supp)s(ort)1110 4052 +y(it,)i(readline)e(ec)m(ho)s(es)i(a)f(c)m(haracter)h(corresp)s(onding)d +(to)j(a)f(signal)g(generated)1110 4162 y(from)e(the)g(k)m(eyb)s(oard.) +41 b(The)30 b(default)g(is)h(`)p Ft(on)p Fu('.)630 4313 +y Ft(editing-mode)1110 4422 y Fu(The)d Ft(editing-mode)e Fu(v)-5 b(ariable)29 b(con)m(trols)h(whic)m(h)e(default)h(set)h(of)e(k) -m(ey)i(bind-)1110 3148 y(ings)25 b(is)g(used.)38 b(By)26 +m(ey)i(bind-)1110 4532 y(ings)25 b(is)g(used.)38 b(By)26 b(default,)g(Readline)g(starts)f(up)f(in)h(Emacs)g(editing)h(mo)s(de,) -1110 3258 y(where)j(the)g(k)m(eystrok)m(es)i(are)e(most)h(similar)f(to) +1110 4641 y(where)j(the)g(k)m(eystrok)m(es)i(are)e(most)h(similar)f(to) h(Emacs.)40 b(This)29 b(v)-5 b(ariable)30 b(can)1110 -3367 y(b)s(e)g(set)h(to)g(either)g(`)p Ft(emacs)p Fu(')e(or)h(`)p -Ft(vi)p Fu('.)630 3532 y Ft(echo-control-characters)1110 -3641 y Fu(When)g(set)h(to)g(`)p Ft(on)p Fu(',)f(on)g(op)s(erating)h -(systems)f(that)h(indicate)g(they)g(supp)s(ort)1110 3751 -y(it,)i(readline)e(ec)m(ho)s(es)i(a)f(c)m(haracter)h(corresp)s(onding)d -(to)j(a)f(signal)g(generated)1110 3861 y(from)e(the)g(k)m(eyb)s(oard.) -41 b(The)30 b(default)g(is)h(`)p Ft(on)p Fu('.)630 4025 -y Ft(enable-keypad)1110 4134 y Fu(When)23 b(set)h(to)g(`)p -Ft(on)p Fu(',)h(Readline)f(will)g(try)f(to)h(enable)g(the)f -(application)i(k)m(eypad)1110 4244 y(when)h(it)h(is)f(called.)41 -b(Some)27 b(systems)f(need)h(this)f(to)h(enable)g(the)g(arro)m(w)g(k)m -(eys.)1110 4354 y(The)j(default)g(is)h(`)p Ft(off)p Fu('.)630 -4518 y Ft(enable-meta-key)1110 4628 y Fu(When)40 b(set)g(to)g(`)p -Ft(on)p Fu(',)j(Readline)d(will)g(try)g(to)g(enable)g(an)m(y)g(meta)h -(mo)s(di\014er)1110 4737 y(k)m(ey)i(the)e(terminal)i(claims)f(to)h -(supp)s(ort)d(when)h(it)h(is)g(called.)76 b(On)41 b(man)m(y)1110 -4847 y(terminals,)c(the)e(meta)h(k)m(ey)g(is)f(used)g(to)h(send)e(eigh) -m(t-bit)j(c)m(haracters.)56 b(The)1110 4956 y(default)31 -b(is)f(`)p Ft(on)p Fu('.)630 5121 y Ft(expand-tilde)1110 -5230 y Fu(If)d(set)h(to)h(`)p Ft(on)p Fu(',)f(tilde)g(expansion)g(is)f -(p)s(erformed)f(when)h(Readline)h(attempts)1110 5340 -y(w)m(ord)i(completion.)42 b(The)30 b(default)g(is)h(`)p -Ft(off)p Fu('.)p eop end -%%Page: 107 113 -TeXDict begin 107 112 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(107)630 299 y Ft -(history-preserve-point)1110 408 y Fu(If)41 b(set)h(to)h(`)p +4751 y(b)s(e)g(set)h(to)g(either)g(`)p Ft(emacs)p Fu(')e(or)h(`)p +Ft(vi)p Fu('.)630 4902 y Ft(emacs-mode-string)1110 5011 +y Fu(This)f(string)h(is)f(displa)m(y)m(ed)i(immediately)g(b)s(efore)e +(the)h(last)g(line)h(of)e(the)h(pri-)1110 5121 y(mary)43 +b(prompt)g(when)f(emacs)i(editing)g(mo)s(de)f(is)g(activ)m(e.)82 +b(The)43 b(v)-5 b(alue)44 b(is)1110 5230 y(expanded)28 +b(lik)m(e)i(a)f(k)m(ey)g(binding,)f(so)h(the)g(standard)f(set)h(of)g +(meta-)g(and)f(con-)1110 5340 y(trol)36 b(pre\014xes)e(and)h(bac)m +(kslash)h(escap)s(e)g(sequences)g(is)f(a)m(v)-5 b(ailable.)58 +b(Use)36 b(the)p eop end +%%Page: 110 116 +TeXDict begin 110 115 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(110)1110 299 y(`)p +Ft(\\1)p Fu(')38 b(and)f(`)p Ft(\\2)p Fu(')h(escap)s(es)g(to)h(b)s +(egin)e(and)h(end)f(sequences)h(of)g(non-prin)m(ting)1110 +408 y(c)m(haracters,)27 b(whic)m(h)c(can)h(b)s(e)f(used)f(to)j(em)m(b)s +(ed)e(a)h(terminal)g(con)m(trol)h(sequence)1110 518 y(in)m(to)31 +b(the)g(mo)s(de)f(string.)41 b(The)29 b(default)i(is)f(`)p +Ft(@)p Fu('.)630 682 y Ft(enable-bracketed-paste)1110 +792 y Fu(When)24 b(set)h(to)h(`)p Ft(On)p Fu(',)g(Readline)f(will)g +(con\014gure)f(the)h(terminal)g(in)f(a)h(w)m(a)m(y)g(that)1110 +902 y(will)k(enable)f(it)h(to)g(insert)g(eac)m(h)g(paste)g(in)m(to)g +(the)g(editing)g(bu\013er)e(as)i(a)f(single)1110 1011 +y(string)33 b(of)f(c)m(haracters,)j(instead)e(of)g(treating)h(eac)m(h)g +(c)m(haracter)g(as)f(if)f(it)i(had)1110 1121 y(b)s(een)e(read)i(from)e +(the)i(k)m(eyb)s(oard.)49 b(This)32 b(can)h(prev)m(en)m(t)h(pasted)f(c) +m(haracters)1110 1230 y(from)d(b)s(eing)g(in)m(terpreted)h(as)f +(editing)h(commands.)41 b(The)29 b(default)i(is)f(`)p +Ft(off)p Fu('.)630 1395 y Ft(enable-keypad)1110 1504 +y Fu(When)23 b(set)h(to)g(`)p Ft(on)p Fu(',)h(Readline)f(will)g(try)f +(to)h(enable)g(the)f(application)i(k)m(eypad)1110 1614 +y(when)h(it)h(is)f(called.)41 b(Some)27 b(systems)f(need)h(this)f(to)h +(enable)g(the)g(arro)m(w)g(k)m(eys.)1110 1724 y(The)j(default)g(is)h(`) +p Ft(off)p Fu('.)630 1888 y Ft(enable-meta-key)1110 1998 +y Fu(When)40 b(set)g(to)g(`)p Ft(on)p Fu(',)j(Readline)d(will)g(try)g +(to)g(enable)g(an)m(y)g(meta)h(mo)s(di\014er)1110 2107 +y(k)m(ey)i(the)e(terminal)i(claims)f(to)h(supp)s(ort)d(when)h(it)h(is)g +(called.)76 b(On)41 b(man)m(y)1110 2217 y(terminals,)c(the)e(meta)h(k)m +(ey)g(is)f(used)g(to)h(send)e(eigh)m(t-bit)j(c)m(haracters.)56 +b(The)1110 2326 y(default)31 b(is)f(`)p Ft(on)p Fu('.)630 +2491 y Ft(expand-tilde)1110 2600 y Fu(If)d(set)h(to)h(`)p +Ft(on)p Fu(',)f(tilde)g(expansion)g(is)f(p)s(erformed)f(when)h +(Readline)h(attempts)1110 2710 y(w)m(ord)i(completion.)42 +b(The)30 b(default)g(is)h(`)p Ft(off)p Fu('.)630 2874 +y Ft(history-preserve-point)1110 2984 y Fu(If)41 b(set)h(to)h(`)p Ft(on)p Fu(',)i(the)c(history)h(co)s(de)g(attempts)h(to)f(place)h(the)f -(p)s(oin)m(t)f(\(the)1110 518 y(curren)m(t)35 b(cursor)g(p)s(osition\)) -g(at)h(the)g(same)f(lo)s(cation)i(on)e(eac)m(h)h(history)g(line)1110 -628 y(retriev)m(ed)h(with)f Ft(previous-history)c Fu(or)37 -b Ft(next-history)p Fu(.)55 b(The)36 b(default)1110 737 -y(is)30 b(`)p Ft(off)p Fu('.)630 902 y Ft(history-size)1110 -1011 y Fu(Set)39 b(the)g(maxim)m(um)g(n)m(um)m(b)s(er)f(of)h(history)g -(en)m(tries)h(sa)m(v)m(ed)g(in)f(the)g(history)1110 1121 +(p)s(oin)m(t)f(\(the)1110 3093 y(curren)m(t)35 b(cursor)g(p)s +(osition\))g(at)h(the)g(same)f(lo)s(cation)i(on)e(eac)m(h)h(history)g +(line)1110 3203 y(retriev)m(ed)h(with)f Ft(previous-history)c +Fu(or)37 b Ft(next-history)p Fu(.)55 b(The)36 b(default)1110 +3313 y(is)30 b(`)p Ft(off)p Fu('.)630 3477 y Ft(history-size)1110 +3587 y Fu(Set)39 b(the)g(maxim)m(um)g(n)m(um)m(b)s(er)f(of)h(history)g +(en)m(tries)h(sa)m(v)m(ed)g(in)f(the)g(history)1110 3696 y(list.)51 b(If)34 b(set)g(to)h(zero,)g(an)m(y)f(existing)h(history)f -(en)m(tries)g(are)g(deleted)h(and)e(no)1110 1230 y(new)e(en)m(tries)i +(en)m(tries)g(are)g(deleted)h(and)e(no)1110 3806 y(new)e(en)m(tries)i (are)f(sa)m(v)m(ed.)46 b(If)31 b(set)h(to)h(a)f(v)-5 b(alue)32 b(less)g(than)f(zero,)i(the)f(n)m(um)m(b)s(er)1110 -1340 y(of)f(history)f(en)m(tries)h(is)g(not)g(limited.)42 +3915 y(of)f(history)f(en)m(tries)h(is)g(not)g(limited.)42 b(By)30 b(default,)h(the)g(n)m(um)m(b)s(er)e(of)i(history)1110 -1450 y(en)m(tries)g(is)g(not)f(limited.)630 1614 y Ft -(horizontal-scroll-mode)1110 1724 y Fu(This)35 b(v)-5 -b(ariable)37 b(can)f(b)s(e)f(set)h(to)h(either)f(`)p -Ft(on)p Fu(')g(or)g(`)p Ft(off)p Fu('.)57 b(Setting)36 -b(it)g(to)h(`)p Ft(on)p Fu(')1110 1833 y(means)26 b(that)h(the)f(text)h +4025 y(en)m(tries)j(is)f(not)g(limited.)49 b(If)32 b(an)h(attempt)h(is) +f(made)g(to)h(set)f Fr(history-size)39 b Fu(to)1110 4134 +y(a)34 b(non-n)m(umeric)f(v)-5 b(alue,)34 b(the)g(maxim)m(um)f(n)m(um)m +(b)s(er)f(of)h(history)h(en)m(tries)g(will)1110 4244 +y(b)s(e)c(set)h(to)g(500.)630 4408 y Ft(horizontal-scroll-mode)1110 +4518 y Fu(This)k(v)-5 b(ariable)37 b(can)f(b)s(e)f(set)h(to)h(either)f +(`)p Ft(on)p Fu(')g(or)g(`)p Ft(off)p Fu('.)57 b(Setting)36 +b(it)g(to)h(`)p Ft(on)p Fu(')1110 4628 y(means)26 b(that)h(the)f(text)h (of)g(the)f(lines)g(b)s(eing)g(edited)h(will)f(scroll)h(horizon)m -(tally)1110 1943 y(on)32 b(a)g(single)g(screen)g(line)g(when)e(they)i -(are)g(longer)h(than)e(the)h(width)f(of)h(the)1110 2052 +(tally)1110 4737 y(on)32 b(a)g(single)g(screen)g(line)g(when)e(they)i +(are)g(longer)h(than)e(the)h(width)f(of)h(the)1110 4847 y(screen,)27 b(instead)g(of)f(wrapping)f(on)m(to)i(a)f(new)g(screen)g -(line.)39 b(By)27 b(default,)g(this)1110 2162 y(v)-5 +(line.)39 b(By)27 b(default,)g(this)1110 4956 y(v)-5 b(ariable)31 b(is)g(set)f(to)i(`)p Ft(off)p Fu('.)630 -2326 y Ft(input-meta)1110 2436 y Fu(If)f(set)g(to)h(`)p +5121 y Ft(input-meta)1110 5230 y Fu(If)f(set)g(to)h(`)p Ft(on)p Fu(',)g(Readline)g(will)f(enable)h(eigh)m(t-bit)h(input)d(\(it) -i(will)f(not)h(clear)1110 2545 y(the)40 b(eigh)m(th)g(bit)g(in)f(the)h -(c)m(haracters)h(it)f(reads\),)j(regardless)c(of)h(what)g(the)1110 -2655 y(terminal)g(claims)h(it)g(can)f(supp)s(ort.)68 -b(The)39 b(default)h(v)-5 b(alue)40 b(is)g(`)p Ft(off)p -Fu('.)69 b(The)1110 2765 y(name)30 b Ft(meta-flag)e Fu(is)j(a)f(synon)m -(ym)g(for)g(this)h(v)-5 b(ariable.)630 2929 y Ft(isearch-terminators) -1110 3039 y Fu(The)51 b(string)h(of)g(c)m(haracters)h(that)f(should)e -(terminate)j(an)f(incremen)m(tal)1110 3148 y(searc)m(h)25 -b(without)g(subsequen)m(tly)g(executing)h(the)f(c)m(haracter)h(as)f(a)g -(command)1110 3258 y(\(see)38 b(Section)g(8.2.5)h([Searc)m(hing],)h -(page)e(103\).)62 b(If)37 b(this)g(v)-5 b(ariable)38 -b(has)f(not)1110 3367 y(b)s(een)e(giv)m(en)h(a)g(v)-5 -b(alue,)37 b(the)f(c)m(haracters)h Ft(ESC)d Fu(and)h -Fj(C-J)g Fu(will)h(terminate)g(an)1110 3477 y(incremen)m(tal)c(searc)m -(h.)630 3641 y Ft(keymap)192 b Fu(Sets)39 b(Readline's)g(idea)h(of)f -(the)g(curren)m(t)f(k)m(eymap)h(for)g(k)m(ey)g(binding)f(com-)1110 -3751 y(mands.)81 b(Acceptable)47 b Ft(keymap)42 b Fu(names)i(are)h -Ft(emacs)p Fu(,)i Ft(emacs-standard)p Fu(,)1110 3861 -y Ft(emacs-meta)p Fu(,)99 b Ft(emacs-ctlx)p Fu(,)f Ft(vi)p -Fu(,)j Ft(vi-move)p Fu(,)f Ft(vi-command)p Fu(,)f(and)1110 -3970 y Ft(vi-insert)p Fu(.)64 b Ft(vi)38 b Fu(is)h(equiv)-5 -b(alen)m(t)41 b(to)e Ft(vi-command)p Fu(;)i Ft(emacs)c -Fu(is)i(equiv)-5 b(alen)m(t)1110 4080 y(to)33 b Ft(emacs-standard)p -Fu(.)41 b(The)31 b(default)h(v)-5 b(alue)32 b(is)g Ft(emacs)p -Fu(.)44 b(The)31 b(v)-5 b(alue)33 b(of)f(the)1110 4189 -y Ft(editing-mode)27 b Fu(v)-5 b(ariable)31 b(also)h(a\013ects)f(the)g -(default)f(k)m(eymap.)630 4354 y Ft(keyseq-timeout)1110 -4463 y Fu(Sp)s(eci\014es)25 b(the)g(duration)g(Readline)h(will)g(w)m -(ait)g(for)g(a)f(c)m(haracter)i(when)e(read-)1110 4573 +i(will)f(not)h(clear)1110 5340 y(the)40 b(eigh)m(th)g(bit)g(in)f(the)h +(c)m(haracters)h(it)f(reads\),)j(regardless)c(of)h(what)g(the)p +eop end +%%Page: 111 117 +TeXDict begin 111 116 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(111)1110 299 y(terminal)44 +b(claims)h(it)f(can)g(supp)s(ort.)79 b(The)44 b(default)g(v)-5 +b(alue)44 b(is)g(`)p Ft(off)p Fu(',)j(but)1110 408 y(Readline)24 +b(will)h(set)f(it)g(to)h(`)p Ft(on)p Fu(')e(if)h(the)g(lo)s(cale)i(con) +m(tains)f(eigh)m(t-bit)g(c)m(haracters.)1110 518 y(The)30 +b(name)g Ft(meta-flag)e Fu(is)j(a)f(synon)m(ym)g(for)g(this)h(v)-5 +b(ariable.)630 675 y Ft(isearch-terminators)1110 784 +y Fu(The)51 b(string)h(of)g(c)m(haracters)h(that)f(should)e(terminate)j +(an)f(incremen)m(tal)1110 894 y(searc)m(h)25 b(without)g(subsequen)m +(tly)g(executing)h(the)f(c)m(haracter)h(as)f(a)g(command)1110 +1003 y(\(see)38 b(Section)g(8.2.5)h([Searc)m(hing],)h(page)e(106\).)62 +b(If)37 b(this)g(v)-5 b(ariable)38 b(has)f(not)1110 1113 +y(b)s(een)e(giv)m(en)h(a)g(v)-5 b(alue,)37 b(the)f(c)m(haracters)h +Ft(ESC)d Fu(and)h Fj(C-J)g Fu(will)h(terminate)g(an)1110 +1223 y(incremen)m(tal)c(searc)m(h.)630 1379 y Ft(keymap)192 +b Fu(Sets)39 b(Readline's)g(idea)h(of)f(the)g(curren)m(t)f(k)m(eymap)h +(for)g(k)m(ey)g(binding)f(com-)1110 1489 y(mands.)81 +b(Acceptable)47 b Ft(keymap)42 b Fu(names)i(are)h Ft(emacs)p +Fu(,)i Ft(emacs-standard)p Fu(,)1110 1598 y Ft(emacs-meta)p +Fu(,)99 b Ft(emacs-ctlx)p Fu(,)f Ft(vi)p Fu(,)j Ft(vi-move)p +Fu(,)f Ft(vi-command)p Fu(,)f(and)1110 1708 y Ft(vi-insert)p +Fu(.)81 b Ft(vi)44 b Fu(is)h(equiv)-5 b(alen)m(t)46 b(to)g +Ft(vi-command)c Fu(\()p Ft(vi-move)h Fu(is)i(also)h(a)1110 +1817 y(synon)m(ym\);)g Ft(emacs)39 b Fu(is)i(equiv)-5 +b(alen)m(t)42 b(to)g Ft(emacs-standard)p Fu(.)68 b(The)40 +b(default)1110 1927 y(v)-5 b(alue)52 b(is)f Ft(emacs)p +Fu(.)103 b(The)51 b(v)-5 b(alue)52 b(of)f(the)h Ft(editing-mode)c +Fu(v)-5 b(ariable)52 b(also)1110 2037 y(a\013ects)32 +b(the)e(default)h(k)m(eymap.)630 2193 y Ft(keyseq-timeout)1110 +2303 y Fu(Sp)s(eci\014es)25 b(the)g(duration)g(Readline)h(will)g(w)m +(ait)g(for)g(a)f(c)m(haracter)i(when)e(read-)1110 2412 y(ing)30 b(an)g(am)m(biguous)g(k)m(ey)h(sequence)f(\(one)g(that)h(can)f -(form)g(a)g(complete)h(k)m(ey)1110 4682 y(sequence)j(using)e(the)i +(form)g(a)g(complete)h(k)m(ey)1110 2522 y(sequence)j(using)e(the)i (input)e(read)h(so)g(far,)h(or)g(can)f(tak)m(e)i(additional)f(input) -1110 4792 y(to)g(complete)g(a)f(longer)h(k)m(ey)f(sequence\).)49 +1110 2632 y(to)g(complete)g(a)f(longer)h(k)m(ey)f(sequence\).)49 b(If)33 b(no)f(input)g(is)h(receiv)m(ed)h(within)1110 -4902 y(the)43 b(timeout,)48 b(Readline)43 b(will)g(use)g(the)g(shorter) -g(but)f(complete)j(k)m(ey)e(se-)1110 5011 y(quence.)c(Readline)26 +2741 y(the)43 b(timeout,)48 b(Readline)43 b(will)g(use)g(the)g(shorter) +g(but)f(complete)j(k)m(ey)e(se-)1110 2851 y(quence.)c(Readline)26 b(uses)f(this)h(v)-5 b(alue)26 b(to)g(determine)g(whether)f(or)g(not)h -(input)1110 5121 y(is)31 b(a)m(v)-5 b(ailable)33 b(on)d(the)h(curren)m +(input)1110 2960 y(is)31 b(a)m(v)-5 b(ailable)33 b(on)d(the)h(curren)m (t)f(input)g(source)h(\()p Ft(rl_instream)d Fu(b)m(y)i(default\).)1110 -5230 y(The)25 b(v)-5 b(alue)26 b(is)f(sp)s(eci\014ed)f(in)h +3070 y(The)25 b(v)-5 b(alue)26 b(is)f(sp)s(eci\014ed)f(in)h (milliseconds,)j(so)d(a)h(v)-5 b(alue)26 b(of)f(1000)i(means)e(that) -1110 5340 y(Readline)e(will)g(w)m(ait)g(one)g(second)f(for)g +1110 3180 y(Readline)e(will)g(w)m(ait)g(one)g(second)f(for)g (additional)i(input.)37 b(If)22 b(this)g(v)-5 b(ariable)23 -b(is)p eop end -%%Page: 108 114 -TeXDict begin 108 113 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(108)1110 299 y(set)28 -b(to)h(a)f(v)-5 b(alue)29 b(less)f(than)g(or)f(equal)i(to)f(zero,)i(or) -e(to)g(a)h(non-n)m(umeric)e(v)-5 b(alue,)1110 408 y(Readline)30 -b(will)f(w)m(ait)i(un)m(til)e(another)h(k)m(ey)g(is)f(pressed)g(to)h -(decide)f(whic)m(h)g(k)m(ey)1110 518 y(sequence)i(to)g(complete.)42 -b(The)30 b(default)g(v)-5 b(alue)31 b(is)g Ft(500)p Fu(.)630 -701 y Ft(mark-directories)1110 810 y Fu(If)38 b(set)g(to)h(`)p -Ft(on)p Fu(',)i(completed)e(directory)f(names)g(ha)m(v)m(e)i(a)e(slash) -g(app)s(ended.)1110 920 y(The)30 b(default)g(is)h(`)p -Ft(on)p Fu('.)630 1103 y Ft(mark-modified-lines)1110 -1212 y Fu(This)k(v)-5 b(ariable,)38 b(when)d(set)h(to)h(`)p -Ft(on)p Fu(',)g(causes)g(Readline)f(to)h(displa)m(y)f(an)f(as-)1110 -1322 y(terisk)f(\(`)p Ft(*)p Fu('\))h(at)f(the)g(start)g(of)g(history)g -(lines)g(whic)m(h)f(ha)m(v)m(e)i(b)s(een)e(mo)s(di\014ed.)1110 -1431 y(This)d(v)-5 b(ariable)31 b(is)f(`)p Ft(off)p Fu(')g(b)m(y)g -(default.)630 1614 y Ft(mark-symlinked-directori)o(es)1110 -1724 y Fu(If)59 b(set)h(to)g(`)p Ft(on)p Fu(',)67 b(completed)60 -b(names)f(whic)m(h)g(are)h(sym)m(b)s(olic)g(links)f(to)1110 -1833 y(directories)71 b(ha)m(v)m(e)f(a)g(slash)f(app)s(ended)f(\(sub)5 -b(ject)70 b(to)g(the)g(v)-5 b(alue)70 b(of)1110 1943 -y Ft(mark-directories)p Fu(\).)37 b(The)30 b(default)g(is)g(`)p -Ft(off)p Fu('.)630 2125 y Ft(match-hidden-files)1110 -2235 y Fu(This)21 b(v)-5 b(ariable,)25 b(when)d(set)g(to)h(`)p -Ft(on)p Fu(',)h(causes)f(Readline)g(to)g(matc)m(h)g(\014les)f(whose) -1110 2345 y(names)44 b(b)s(egin)g(with)g(a)g(`)p Ft(.)p -Fu(')g(\(hidden)f(\014les\))i(when)e(p)s(erforming)g(\014lename)1110 -2454 y(completion.)75 b(If)41 b(set)g(to)h(`)p Ft(off)p -Fu(',)i(the)e(leading)g(`)p Ft(.)p Fu(')f(m)m(ust)g(b)s(e)g(supplied)f -(b)m(y)1110 2564 y(the)34 b(user)g(in)g(the)g(\014lename)g(to)h(b)s(e)f -(completed.)53 b(This)33 b(v)-5 b(ariable)35 b(is)f(`)p -Ft(on)p Fu(')g(b)m(y)1110 2673 y(default.)630 2856 y -Ft(menu-complete-display-pr)o(efix)1110 2966 y Fu(If)f(set)h(to)g(`)p -Ft(on)p Fu(',)h(men)m(u)e(completion)i(displa)m(ys)e(the)h(common)g -(pre\014x)e(of)i(the)1110 3075 y(list)k(of)g(p)s(ossible)f(completions) -i(\(whic)m(h)e(ma)m(y)h(b)s(e)f(empt)m(y\))i(b)s(efore)e(cycling)1110 -3185 y(through)30 b(the)g(list.)42 b(The)29 b(default)i(is)f(`)p -Ft(off)p Fu('.)630 3367 y Ft(output-meta)1110 3477 y -Fu(If)35 b(set)h(to)g(`)p Ft(on)p Fu(',)h(Readline)f(will)g(displa)m(y) -f(c)m(haracters)i(with)e(the)h(eigh)m(th)g(bit)1110 3587 -y(set)h(directly)g(rather)f(than)g(as)h(a)g(meta-pre\014xed)f(escap)s -(e)h(sequence.)59 b(The)1110 3696 y(default)31 b(is)f(`)p -Ft(off)p Fu('.)630 3879 y Ft(page-completions)1110 3988 -y Fu(If)j(set)i(to)f(`)p Ft(on)p Fu(',)h(Readline)g(uses)e(an)h(in)m -(ternal)h Ft(more)p Fu(-lik)m(e)f(pager)g(to)h(displa)m(y)1110 -4098 y(a)e(screenful)f(of)g(p)s(ossible)g(completions)i(at)f(a)g(time.) +b(is)1110 3289 y(set)28 b(to)h(a)f(v)-5 b(alue)29 b(less)f(than)g(or)f +(equal)i(to)f(zero,)i(or)e(to)g(a)h(non-n)m(umeric)e(v)-5 +b(alue,)1110 3399 y(Readline)30 b(will)f(w)m(ait)i(un)m(til)e(another)h +(k)m(ey)g(is)f(pressed)g(to)h(decide)f(whic)m(h)g(k)m(ey)1110 +3508 y(sequence)i(to)g(complete.)42 b(The)30 b(default)g(v)-5 +b(alue)31 b(is)g Ft(500)p Fu(.)630 3665 y Ft(mark-directories)1110 +3774 y Fu(If)38 b(set)g(to)h(`)p Ft(on)p Fu(',)i(completed)e(directory) +f(names)g(ha)m(v)m(e)i(a)e(slash)g(app)s(ended.)1110 +3884 y(The)30 b(default)g(is)h(`)p Ft(on)p Fu('.)630 +4041 y Ft(mark-modified-lines)1110 4150 y Fu(This)k(v)-5 +b(ariable,)38 b(when)d(set)h(to)h(`)p Ft(on)p Fu(',)g(causes)g +(Readline)f(to)h(displa)m(y)f(an)f(as-)1110 4260 y(terisk)f(\(`)p +Ft(*)p Fu('\))h(at)f(the)g(start)g(of)g(history)g(lines)g(whic)m(h)f +(ha)m(v)m(e)i(b)s(een)e(mo)s(di\014ed.)1110 4369 y(This)d(v)-5 +b(ariable)31 b(is)f(`)p Ft(off)p Fu(')g(b)m(y)g(default.)630 +4526 y Ft(mark-symlinked-directori)o(es)1110 4635 y Fu(If)59 +b(set)h(to)g(`)p Ft(on)p Fu(',)67 b(completed)60 b(names)f(whic)m(h)g +(are)h(sym)m(b)s(olic)g(links)f(to)1110 4745 y(directories)71 +b(ha)m(v)m(e)f(a)g(slash)f(app)s(ended)f(\(sub)5 b(ject)70 +b(to)g(the)g(v)-5 b(alue)70 b(of)1110 4855 y Ft(mark-directories)p +Fu(\).)37 b(The)30 b(default)g(is)g(`)p Ft(off)p Fu('.)630 +5011 y Ft(match-hidden-files)1110 5121 y Fu(This)21 b(v)-5 +b(ariable,)25 b(when)d(set)g(to)h(`)p Ft(on)p Fu(',)h(causes)f +(Readline)g(to)g(matc)m(h)g(\014les)f(whose)1110 5230 +y(names)44 b(b)s(egin)g(with)g(a)g(`)p Ft(.)p Fu(')g(\(hidden)f +(\014les\))i(when)e(p)s(erforming)g(\014lename)1110 5340 +y(completion.)75 b(If)41 b(set)g(to)h(`)p Ft(off)p Fu(',)i(the)e +(leading)g(`)p Ft(.)p Fu(')f(m)m(ust)g(b)s(e)g(supplied)f(b)m(y)p +eop end +%%Page: 112 118 +TeXDict begin 112 117 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(112)1110 299 y(the)34 +b(user)g(in)g(the)g(\014lename)g(to)h(b)s(e)f(completed.)53 +b(This)33 b(v)-5 b(ariable)35 b(is)f(`)p Ft(on)p Fu(')g(b)m(y)1110 +408 y(default.)630 555 y Ft(menu-complete-display-pr)o(efix)1110 +664 y Fu(If)f(set)h(to)g(`)p Ft(on)p Fu(',)h(men)m(u)e(completion)i +(displa)m(ys)e(the)h(common)g(pre\014x)e(of)i(the)1110 +774 y(list)k(of)g(p)s(ossible)f(completions)i(\(whic)m(h)e(ma)m(y)h(b)s +(e)f(empt)m(y\))i(b)s(efore)e(cycling)1110 883 y(through)30 +b(the)g(list.)42 b(The)29 b(default)i(is)f(`)p Ft(off)p +Fu('.)630 1029 y Ft(output-meta)1110 1139 y Fu(If)35 +b(set)h(to)g(`)p Ft(on)p Fu(',)h(Readline)f(will)g(displa)m(y)f(c)m +(haracters)i(with)e(the)h(eigh)m(th)g(bit)1110 1249 y(set)h(directly)g +(rather)f(than)g(as)h(a)g(meta-pre\014xed)f(escap)s(e)h(sequence.)59 +b(The)1110 1358 y(default)26 b(is)f(`)p Ft(off)p Fu(',)i(but)e +(Readline)h(will)g(set)g(it)g(to)h(`)p Ft(on)p Fu(')e(if)h(the)f(lo)s +(cale)j(con)m(tains)1110 1468 y(eigh)m(t-bit)k(c)m(haracters.)630 +1614 y Ft(page-completions)1110 1724 y Fu(If)h(set)i(to)f(`)p +Ft(on)p Fu(',)h(Readline)g(uses)e(an)h(in)m(ternal)h +Ft(more)p Fu(-lik)m(e)f(pager)g(to)h(displa)m(y)1110 +1833 y(a)e(screenful)f(of)g(p)s(ossible)g(completions)i(at)f(a)g(time.) 47 b(This)31 b(v)-5 b(ariable)34 b(is)e(`)p Ft(on)p Fu(')1110 -4208 y(b)m(y)e(default.)630 4390 y Ft(print-completions-horizo)o(ntal)o -(ly)1110 4500 y Fu(If)23 b(set)i(to)g(`)p Ft(on)p Fu(',)g(Readline)g +1943 y(b)m(y)e(default.)630 2089 y Ft(print-completions-horizo)o(ntal)o +(ly)1110 2198 y Fu(If)23 b(set)i(to)g(`)p Ft(on)p Fu(',)g(Readline)g (will)f(displa)m(y)g(completions)h(with)f(matc)m(hes)h(sorted)1110 -4609 y(horizon)m(tally)45 b(in)e(alphab)s(etical)i(order,)i(rather)c -(than)g(do)m(wn)g(the)h(screen.)1110 4719 y(The)30 b(default)g(is)h(`)p -Ft(off)p Fu('.)630 4902 y Ft(revert-all-at-newline)1110 -5011 y Fu(If)e(set)h(to)g(`)p Ft(on)p Fu(',)g(Readline)g(will)g(undo)f +2308 y(horizon)m(tally)45 b(in)e(alphab)s(etical)i(order,)i(rather)c +(than)g(do)m(wn)g(the)h(screen.)1110 2418 y(The)30 b(default)g(is)h(`)p +Ft(off)p Fu('.)630 2564 y Ft(revert-all-at-newline)1110 +2673 y Fu(If)e(set)h(to)g(`)p Ft(on)p Fu(',)g(Readline)g(will)g(undo)f (all)h(c)m(hanges)h(to)f(history)g(lines)f(b)s(efore)1110 -5121 y(returning)f(when)f Ft(accept-line)f Fu(is)j(executed.)41 -b(By)29 b(default,)g(history)g(lines)1110 5230 y(ma)m(y)42 +2783 y(returning)f(when)f Ft(accept-line)f Fu(is)j(executed.)41 +b(By)29 b(default,)g(history)g(lines)1110 2892 y(ma)m(y)42 b(b)s(e)g(mo)s(di\014ed)e(and)h(retain)i(individual)e(undo)g(lists)h -(across)g(calls)h(to)1110 5340 y Ft(readline)p Fu(.)38 -b(The)30 b(default)h(is)f(`)p Ft(off)p Fu('.)p eop end -%%Page: 109 115 -TeXDict begin 109 114 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(109)630 299 y Ft -(show-all-if-ambiguous)1110 408 y Fu(This)29 b(alters)i(the)f(default)g -(b)s(eha)m(vior)g(of)g(the)h(completion)g(functions.)40 -b(If)29 b(set)1110 518 y(to)f(`)p Ft(on)p Fu(',)g(w)m(ords)f(whic)m(h)g -(ha)m(v)m(e)i(more)f(than)f(one)h(p)s(ossible)f(completion)h(cause)1110 -628 y(the)39 b(matc)m(hes)h(to)g(b)s(e)e(listed)h(immediately)i -(instead)e(of)g(ringing)g(the)g(b)s(ell.)1110 737 y(The)30 +(across)g(calls)h(to)1110 3002 y Ft(readline)p Fu(.)38 +b(The)30 b(default)h(is)f(`)p Ft(off)p Fu('.)630 3148 +y Ft(show-all-if-ambiguous)1110 3258 y Fu(This)f(alters)i(the)f +(default)g(b)s(eha)m(vior)g(of)g(the)h(completion)g(functions.)40 +b(If)29 b(set)1110 3367 y(to)f(`)p Ft(on)p Fu(',)g(w)m(ords)f(whic)m(h) +g(ha)m(v)m(e)i(more)f(than)f(one)h(p)s(ossible)f(completion)h(cause) +1110 3477 y(the)39 b(matc)m(hes)h(to)g(b)s(e)e(listed)h(immediately)i +(instead)e(of)g(ringing)g(the)g(b)s(ell.)1110 3587 y(The)30 b(default)g(v)-5 b(alue)31 b(is)g(`)p Ft(off)p Fu('.)630 -920 y Ft(show-all-if-unmodified)1110 1029 y Fu(This)38 +3733 y Ft(show-all-if-unmodified)1110 3842 y Fu(This)38 b(alters)h(the)g(default)g(b)s(eha)m(vior)g(of)f(the)h(completion)h -(functions)e(in)h(a)1110 1139 y(fashion)25 b(similar)h(to)g +(functions)e(in)h(a)1110 3952 y(fashion)25 b(similar)h(to)g Fr(sho)m(w-all-if-am)m(biguous)p Fu(.)41 b(If)25 b(set)h(to)h(`)p -Ft(on)p Fu(',)f(w)m(ords)f(whic)m(h)1110 1249 y(ha)m(v)m(e)32 +Ft(on)p Fu(',)f(w)m(ords)f(whic)m(h)1110 4061 y(ha)m(v)m(e)32 b(more)f(than)f(one)i(p)s(ossible)e(completion)i(without)f(an)m(y)g(p)s -(ossible)f(par-)1110 1358 y(tial)43 b(completion)h(\(the)f(p)s(ossible) -f(completions)h(don't)f(share)g(a)h(common)1110 1468 +(ossible)f(par-)1110 4171 y(tial)43 b(completion)h(\(the)f(p)s(ossible) +f(completions)h(don't)f(share)g(a)h(common)1110 4281 y(pre\014x\))30 b(cause)g(the)h(matc)m(hes)g(to)g(b)s(e)f(listed)g -(immediately)i(instead)e(of)h(ring-)1110 1577 y(ing)g(the)f(b)s(ell.)41 +(immediately)i(instead)e(of)h(ring-)1110 4390 y(ing)g(the)f(b)s(ell.)41 b(The)30 b(default)g(v)-5 b(alue)31 b(is)f(`)p Ft(off)p -Fu('.)630 1760 y Ft(show-mode-in-prompt)1110 1870 y Fu(If)35 -b(set)i(to)f(`)p Ft(on)p Fu(',)h(add)e(a)h(c)m(haracter)i(to)e(the)g(b) -s(eginning)f(of)h(the)g(prompt)f(in-)1110 1979 y(dicating)43 -b(the)f(editing)h(mo)s(de:)63 b(emacs)43 b(\(`)p Ft(@)p -Fu('\),)i(vi)d(command)g(\(`)p Ft(:)p Fu('\),)k(or)c(vi)1110 -2089 y(insertion)30 b(\(`)p Ft(+)p Fu('\).)42 b(The)30 -b(default)h(v)-5 b(alue)30 b(is)h(`)p Ft(off)p Fu('.)630 -2271 y Ft(skip-completed-text)1110 2381 y Fu(If)h(set)i(to)f(`)p -Ft(on)p Fu(',)h(this)f(alters)g(the)g(default)g(completion)h(b)s(eha)m -(vior)f(when)f(in-)1110 2491 y(serting)d(a)h(single)g(matc)m(h)f(in)m -(to)h(the)g(line.)40 b(It's)30 b(only)f(activ)m(e)i(when)d(p)s(erform-) -1110 2600 y(ing)35 b(completion)h(in)e(the)h(middle)f(of)h(a)f(w)m -(ord.)53 b(If)35 b(enabled,)g(readline)g(do)s(es)1110 -2710 y(not)41 b(insert)f(c)m(haracters)i(from)e(the)h(completion)h -(that)f(matc)m(h)g(c)m(haracters)1110 2819 y(after)c(p)s(oin)m(t)g(in)g -(the)g(w)m(ord)f(b)s(eing)g(completed,)k(so)d(p)s(ortions)f(of)h(the)g -(w)m(ord)1110 2929 y(follo)m(wing)c(the)f(cursor)f(are)h(not)g -(duplicated.)45 b(F)-8 b(or)32 b(instance,)h(if)f(this)f(is)h(en-)1110 -3039 y(abled,)43 b(attempting)f(completion)g(when)d(the)i(cursor)f(is)g -(after)h(the)g(`)p Ft(e)p Fu(')f(in)1110 3148 y(`)p Ft(Makefile)p +Fu('.)630 4536 y Ft(show-mode-in-prompt)1110 4646 y Fu(If)g(set)g(to)h +(`)p Ft(on)p Fu(',)f(add)f(a)i(c)m(haracter)g(to)g(the)f(b)s(eginning)g +(of)g(the)g(prompt)f(indi-)1110 4756 y(cating)j(the)g(editing)f(mo)s +(de:)42 b(emacs,)33 b(vi)e(command,)g(or)g(vi)g(insertion.)43 +b(The)1110 4865 y(mo)s(de)30 b(strings)g(are)h(user-settable.)42 +b(The)30 b(default)g(v)-5 b(alue)31 b(is)g(`)p Ft(off)p +Fu('.)630 5011 y Ft(skip-completed-text)1110 5121 y Fu(If)h(set)i(to)f +(`)p Ft(on)p Fu(',)h(this)f(alters)g(the)g(default)g(completion)h(b)s +(eha)m(vior)f(when)f(in-)1110 5230 y(serting)d(a)h(single)g(matc)m(h)f +(in)m(to)h(the)g(line.)40 b(It's)30 b(only)f(activ)m(e)i(when)d(p)s +(erform-)1110 5340 y(ing)35 b(completion)h(in)e(the)h(middle)f(of)h(a)f +(w)m(ord.)53 b(If)35 b(enabled,)g(readline)g(do)s(es)p +eop end +%%Page: 113 119 +TeXDict begin 113 118 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(113)1110 299 y(not)41 +b(insert)f(c)m(haracters)i(from)e(the)h(completion)h(that)f(matc)m(h)g +(c)m(haracters)1110 408 y(after)c(p)s(oin)m(t)g(in)g(the)g(w)m(ord)f(b) +s(eing)g(completed,)k(so)d(p)s(ortions)f(of)h(the)g(w)m(ord)1110 +518 y(follo)m(wing)c(the)f(cursor)f(are)h(not)g(duplicated.)45 +b(F)-8 b(or)32 b(instance,)h(if)f(this)f(is)h(en-)1110 +628 y(abled,)43 b(attempting)f(completion)g(when)d(the)i(cursor)f(is)g +(after)h(the)g(`)p Ft(e)p Fu(')f(in)1110 737 y(`)p Ft(Makefile)p Fu(')c(will)i(result)f(in)g(`)p Ft(Makefile)p Fu(')f(rather)h(than)h(`) -p Ft(Makefilefile)p Fu(',)1110 3258 y(assuming)d(there)g(is)h(a)f +p Ft(Makefilefile)p Fu(',)1110 847 y(assuming)d(there)g(is)h(a)f (single)h(p)s(ossible)f(completion.)56 b(The)35 b(default)g(v)-5 -b(alue)1110 3367 y(is)30 b(`)p Ft(off)p Fu('.)630 3550 -y Ft(visible-stats)1110 3660 y Fu(If)h(set)i(to)f(`)p +b(alue)1110 956 y(is)30 b(`)p Ft(off)p Fu('.)630 1117 +y Ft(vi-cmd-mode-string)1110 1226 y Fu(This)f(string)h(is)f(displa)m(y) +m(ed)i(immediately)g(b)s(efore)e(the)h(last)g(line)h(of)e(the)h(pri-) +1110 1336 y(mary)21 b(prompt)g(when)f(vi)i(editing)g(mo)s(de)f(is)g +(activ)m(e)j(and)d(in)g(command)g(mo)s(de.)1110 1445 +y(The)38 b(v)-5 b(alue)39 b(is)f(expanded)f(lik)m(e)j(a)f(k)m(ey)g +(binding,)g(so)g(the)f(standard)g(set)h(of)1110 1555 +y(meta-)30 b(and)e(con)m(trol)i(pre\014xes)e(and)g(bac)m(kslash)h +(escap)s(e)g(sequences)g(is)g(a)m(v)-5 b(ail-)1110 1665 +y(able.)50 b(Use)33 b(the)h(`)p Ft(\\1)p Fu(')f(and)g(`)p +Ft(\\2)p Fu(')g(escap)s(es)g(to)h(b)s(egin)f(and)g(end)f(sequences)i +(of)1110 1774 y(non-prin)m(ting)40 b(c)m(haracters,)45 +b(whic)m(h)40 b(can)g(b)s(e)g(used)g(to)h(em)m(b)s(ed)f(a)g(terminal) +1110 1884 y(con)m(trol)32 b(sequence)f(in)m(to)g(the)f(mo)s(de)g +(string.)41 b(The)30 b(default)h(is)f(`)p Ft(\(cmd\))p +Fu('.)630 2044 y Ft(vi-ins-mode-string)1110 2153 y Fu(This)f(string)h +(is)f(displa)m(y)m(ed)i(immediately)g(b)s(efore)e(the)h(last)g(line)h +(of)e(the)h(pri-)1110 2263 y(mary)25 b(prompt)f(when)g(vi)h(editing)h +(mo)s(de)e(is)i(activ)m(e)h(and)d(in)h(insertion)g(mo)s(de.)1110 +2373 y(The)38 b(v)-5 b(alue)39 b(is)f(expanded)f(lik)m(e)j(a)f(k)m(ey)g +(binding,)g(so)g(the)f(standard)g(set)h(of)1110 2482 +y(meta-)30 b(and)e(con)m(trol)i(pre\014xes)e(and)g(bac)m(kslash)h +(escap)s(e)g(sequences)g(is)g(a)m(v)-5 b(ail-)1110 2592 +y(able.)50 b(Use)33 b(the)h(`)p Ft(\\1)p Fu(')f(and)g(`)p +Ft(\\2)p Fu(')g(escap)s(es)g(to)h(b)s(egin)f(and)g(end)f(sequences)i +(of)1110 2701 y(non-prin)m(ting)40 b(c)m(haracters,)45 +b(whic)m(h)40 b(can)g(b)s(e)g(used)g(to)h(em)m(b)s(ed)f(a)g(terminal) +1110 2811 y(con)m(trol)32 b(sequence)f(in)m(to)g(the)f(mo)s(de)g +(string.)41 b(The)30 b(default)h(is)f(`)p Ft(\(ins\))p +Fu('.)630 2971 y Ft(visible-stats)1110 3081 y Fu(If)h(set)i(to)f(`)p Ft(on)p Fu(',)h(a)f(c)m(haracter)i(denoting)e(a)g(\014le's)g(t)m(yp)s -(e)g(is)g(app)s(ended)e(to)j(the)1110 3769 y(\014lename)e(when)e +(e)g(is)g(app)s(ended)e(to)j(the)1110 3190 y(\014lename)e(when)e (listing)i(p)s(ossible)f(completions.)42 b(The)30 b(default)g(is)h(`)p -Ft(off)p Fu('.)150 3952 y(Key)f(Bindings)630 4061 y(The)41 +Ft(off)p Fu('.)150 3351 y(Key)f(Bindings)630 3460 y(The)41 b(syn)m(tax)i(for)f(con)m(trolling)h(k)m(ey)g(bindings)e(in)h(the)g (init)g(\014le)g(is)g(simple.)75 b(First)43 b(y)m(ou)630 -4171 y(need)27 b(to)i(\014nd)d(the)i(name)f(of)h(the)g(command)f(that)i +3570 y(need)27 b(to)i(\014nd)d(the)i(name)f(of)h(the)g(command)f(that)i (y)m(ou)f(w)m(an)m(t)g(to)g(c)m(hange.)41 b(The)27 b(follo)m(wing)630 -4281 y(sections)37 b(con)m(tain)g(tables)g(of)f(the)g(command)f(name,)j +3679 y(sections)37 b(con)m(tain)g(tables)g(of)f(the)g(command)f(name,)j (the)e(default)g(k)m(eybinding,)h(if)f(an)m(y)-8 b(,)630 -4390 y(and)30 b(a)h(short)f(description)g(of)h(what)f(the)g(command)h -(do)s(es.)630 4536 y(Once)36 b(y)m(ou)g(kno)m(w)g(the)g(name)g(of)g +3789 y(and)30 b(a)h(short)f(description)g(of)h(what)f(the)g(command)h +(do)s(es.)630 3924 y(Once)36 b(y)m(ou)g(kno)m(w)g(the)g(name)g(of)g (the)g(command,)h(simply)f(place)h(on)e(a)i(line)f(in)g(the)g(init)630 -4646 y(\014le)e(the)g(name)f(of)h(the)g(k)m(ey)g(y)m(ou)g(wish)f(to)h +4033 y(\014le)e(the)g(name)f(of)h(the)g(k)m(ey)g(y)m(ou)g(wish)f(to)h (bind)f(the)h(command)f(to,)i(a)f(colon,)i(and)d(then)630 -4756 y(the)f(name)h(of)f(the)g(command.)46 b(There)32 +4143 y(the)f(name)h(of)f(the)g(command.)46 b(There)32 b(can)g(b)s(e)g(no)g(space)g(b)s(et)m(w)m(een)h(the)f(k)m(ey)h(name)g -(and)630 4865 y(the)41 b(colon)h({)f(that)g(will)g(b)s(e)g(in)m +(and)630 4253 y(the)41 b(colon)h({)f(that)g(will)g(b)s(e)g(in)m (terpreted)g(as)g(part)f(of)h(the)g(k)m(ey)h(name.)72 -b(The)40 b(name)h(of)630 4975 y(the)35 b(k)m(ey)g(can)g(b)s(e)f +b(The)40 b(name)h(of)630 4362 y(the)35 b(k)m(ey)g(can)g(b)s(e)f (expressed)f(in)i(di\013eren)m(t)g(w)m(a)m(ys,)h(dep)s(ending)d(on)h -(what)h(y)m(ou)g(\014nd)e(most)630 5084 y(comfortable.)630 -5230 y(In)i(addition)h(to)h(command)f(names,)i(readline)e(allo)m(ws)h +(what)h(y)m(ou)g(\014nd)e(most)630 4472 y(comfortable.)630 +4607 y(In)i(addition)h(to)h(command)f(names,)i(readline)e(allo)m(ws)h (k)m(eys)g(to)g(b)s(e)e(b)s(ound)f(to)j(a)f(string)630 -5340 y(that)31 b(is)f(inserted)h(when)e(the)i(k)m(ey)g(is)f(pressed)g -(\(a)h Fr(macro)5 b Fu(\).)p eop end -%%Page: 110 116 -TeXDict begin 110 115 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(110)630 299 y(The)42 -b Ft(bind)30 b(-p)42 b Fu(command)h(displa)m(ys)g(Readline)g(function)g -(names)g(and)f(bindings)g(in)h(a)630 408 y(format)37 -b(that)h(can)f(put)f(directly)i(in)m(to)g(an)f(initialization)j -(\014le.)60 b(See)38 b(Section)f(4.2)i([Bash)630 518 -y(Builtins],)31 b(page)g(48.)630 673 y Fr(k)m(eyname)5 -b Fu(:)42 b Fr(function-name)35 b Fu(or)c Fr(macro)1110 -783 y(k)m(eyname)k Fu(is)29 b(the)f(name)h(of)g(a)g(k)m(ey)h(sp)s -(elled)e(out)h(in)g(English.)39 b(F)-8 b(or)30 b(example:)1350 -915 y Ft(Control-u:)45 b(universal-argument)1350 1024 -y(Meta-Rubout:)f(backward-kill-word)1350 1134 y(Control-o:)h(">)i -(output")1110 1266 y Fu(In)94 b(the)g(ab)s(o)m(v)m(e)i(example,)111 -b Fj(C-u)94 b Fu(is)g(b)s(ound)f(to)i(the)f(function)1110 -1376 y Ft(universal-argument)p Fu(,)124 b Fj(M-DEL)107 -b Fu(is)i(b)s(ound)e(to)j(the)f(function)1110 1485 y -Ft(backward-kill-word)p Fu(,)75 b(and)69 b Fj(C-o)g Fu(is)h(b)s(ound)e -(to)j(run)d(the)i(macro)1110 1595 y(expressed)45 b(on)h(the)g(righ)m(t) -g(hand)e(side)i(\(that)h(is,)i(to)e(insert)e(the)h(text)h(`)p -Ft(>)1110 1705 y(output)p Fu(')29 b(in)m(to)i(the)g(line\).)1110 -1837 y(A)62 b(n)m(um)m(b)s(er)e(of)i(sym)m(b)s(olic)h(c)m(haracter)g -(names)f(are)g(recognized)h(while)1110 1946 y(pro)s(cessing)40 -b(this)f(k)m(ey)i(binding)e(syn)m(tax:)60 b Fr(DEL)p -Fu(,)42 b Fr(ESC)p Fu(,)g Fr(ESCAPE)p Fu(,)f Fr(LFD)p -Fu(,)1110 2056 y Fr(NEWLINE)p Fu(,)31 b Fr(RET)p Fu(,)f -Fr(RETURN)p Fu(,)g Fr(R)m(UBOUT)p Fu(,)h Fr(SP)-8 b(A)m(CE)p -Fu(,)31 b Fr(SPC)p Fu(,)e(and)h Fr(T)-8 b(AB)p Fu(.)630 -2211 y Ft(")p Fr(k)m(eyseq)r Ft(")p Fu(:)41 b Fr(function-name)36 -b Fu(or)30 b Fr(macro)1110 2321 y(k)m(eyseq)k Fu(di\013ers)d(from)f -Fr(k)m(eyname)37 b Fu(ab)s(o)m(v)m(e)32 b(in)f(that)h(strings)f -(denoting)g(an)g(en-)1110 2430 y(tire)j(k)m(ey)h(sequence)f(can)g(b)s -(e)f(sp)s(eci\014ed,)h(b)m(y)f(placing)i(the)f(k)m(ey)g(sequence)g(in) -1110 2540 y(double)29 b(quotes.)41 b(Some)29 b Fm(gnu)h -Fu(Emacs)f(st)m(yle)i(k)m(ey)f(escap)s(es)g(can)g(b)s(e)f(used,)g(as) -1110 2649 y(in)k(the)h(follo)m(wing)i(example,)f(but)e(the)h(sp)s -(ecial)h(c)m(haracter)g(names)f(are)g(not)1110 2759 y(recognized.)1350 -2891 y Ft("\\C-u":)46 b(universal-argument)1350 3001 -y("\\C-x\\C-r":)f(re-read-init-file)1350 3110 y("\\e[11~":)g("Function) -h(Key)g(1")1110 3243 y Fu(In)64 b(the)g(ab)s(o)m(v)m(e)i(example,)74 +4716 y(that)31 b(is)f(inserted)h(when)e(the)i(k)m(ey)g(is)f(pressed)g +(\(a)h Fr(macro)5 b Fu(\).)630 4851 y(The)42 b Ft(bind)30 +b(-p)42 b Fu(command)h(displa)m(ys)g(Readline)g(function)g(names)g(and) +f(bindings)g(in)h(a)630 4961 y(format)37 b(that)h(can)f(put)f(directly) +i(in)m(to)g(an)f(initialization)j(\014le.)60 b(See)38 +b(Section)f(4.2)i([Bash)630 5070 y(Builtins],)31 b(page)g(49.)630 +5230 y Fr(k)m(eyname)5 b Fu(:)42 b Fr(function-name)35 +b Fu(or)c Fr(macro)1110 5340 y(k)m(eyname)k Fu(is)29 +b(the)f(name)h(of)g(a)g(k)m(ey)h(sp)s(elled)e(out)h(in)g(English.)39 +b(F)-8 b(or)30 b(example:)p eop end +%%Page: 114 120 +TeXDict begin 114 119 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(114)1350 299 y Ft(Control-u:)45 +b(universal-argument)1350 408 y(Meta-Rubout:)f(backward-kill-word)1350 +518 y(Control-o:)h(">)i(output")1110 650 y Fu(In)94 b(the)g(ab)s(o)m(v) +m(e)i(example,)111 b Fj(C-u)94 b Fu(is)g(b)s(ound)f(to)i(the)f +(function)1110 760 y Ft(universal-argument)p Fu(,)124 +b Fj(M-DEL)107 b Fu(is)i(b)s(ound)e(to)j(the)f(function)1110 +869 y Ft(backward-kill-word)p Fu(,)75 b(and)69 b Fj(C-o)g +Fu(is)h(b)s(ound)e(to)j(run)d(the)i(macro)1110 979 y(expressed)45 +b(on)h(the)g(righ)m(t)g(hand)e(side)i(\(that)h(is,)i(to)e(insert)e(the) +h(text)h(`)p Ft(>)1110 1089 y(output)p Fu(')29 b(in)m(to)i(the)g +(line\).)1110 1221 y(A)62 b(n)m(um)m(b)s(er)e(of)i(sym)m(b)s(olic)h(c)m +(haracter)g(names)f(are)g(recognized)h(while)1110 1330 +y(pro)s(cessing)40 b(this)f(k)m(ey)i(binding)e(syn)m(tax:)60 +b Fr(DEL)p Fu(,)42 b Fr(ESC)p Fu(,)g Fr(ESCAPE)p Fu(,)f +Fr(LFD)p Fu(,)1110 1440 y Fr(NEWLINE)p Fu(,)31 b Fr(RET)p +Fu(,)f Fr(RETURN)p Fu(,)g Fr(R)m(UBOUT)p Fu(,)h Fr(SP)-8 +b(A)m(CE)p Fu(,)31 b Fr(SPC)p Fu(,)e(and)h Fr(T)-8 b(AB)p +Fu(.)630 1595 y Ft(")p Fr(k)m(eyseq)r Ft(")p Fu(:)41 +b Fr(function-name)36 b Fu(or)30 b Fr(macro)1110 1704 +y(k)m(eyseq)k Fu(di\013ers)d(from)f Fr(k)m(eyname)37 +b Fu(ab)s(o)m(v)m(e)32 b(in)f(that)h(strings)f(denoting)g(an)g(en-)1110 +1814 y(tire)j(k)m(ey)h(sequence)f(can)g(b)s(e)f(sp)s(eci\014ed,)h(b)m +(y)f(placing)i(the)f(k)m(ey)g(sequence)g(in)1110 1923 +y(double)29 b(quotes.)41 b(Some)29 b Fm(gnu)h Fu(Emacs)f(st)m(yle)i(k)m +(ey)f(escap)s(es)g(can)g(b)s(e)f(used,)g(as)1110 2033 +y(in)k(the)h(follo)m(wing)i(example,)f(but)e(the)h(sp)s(ecial)h(c)m +(haracter)g(names)f(are)g(not)1110 2143 y(recognized.)1350 +2275 y Ft("\\C-u":)46 b(universal-argument)1350 2384 +y("\\C-x\\C-r":)f(re-read-init-file)1350 2494 y("\\e[11~":)g("Function) +h(Key)g(1")1110 2626 y Fu(In)64 b(the)g(ab)s(o)m(v)m(e)i(example,)74 b Fj(C-u)64 b Fu(is)g(again)i(b)s(ound)c(to)k(the)e(function)1110 -3352 y Ft(universal-argument)39 b Fu(\(just)k(as)h(it)g(w)m(as)g(in)g -(the)f(\014rst)g(example\),)49 b(`)p Fj(C-x)1110 3462 +2736 y Ft(universal-argument)39 b Fu(\(just)k(as)h(it)g(w)m(as)g(in)g +(the)f(\014rst)g(example\),)49 b(`)p Fj(C-x)1110 2845 y(C-r)p Fu(')30 b(is)g(b)s(ound)e(to)j(the)g(function)f Ft(re-read-init-file)p Fu(,)c(and)j(`)p Ft(ESC)h([)g(1)g(1)1110 -3571 y(~)p Fu(')g(is)h(b)s(ound)d(to)j(insert)f(the)h(text)g(`)p -Ft(Function)e(Key)g(1)p Fu('.)630 3726 y(The)g(follo)m(wing)i +2955 y(~)p Fu(')g(is)h(b)s(ound)d(to)j(insert)f(the)h(text)g(`)p +Ft(Function)e(Key)g(1)p Fu('.)630 3110 y(The)g(follo)m(wing)i Fm(gnu)f Fu(Emacs)g(st)m(yle)h(escap)s(e)f(sequences)g(are)g(a)m(v)-5 -b(ailable)32 b(when)d(sp)s(ecifying)630 3836 y(k)m(ey)i(sequences:)630 -3991 y Fj(\\C-)336 b Fu(con)m(trol)32 b(pre\014x)630 -4146 y Fj(\\M-)336 b Fu(meta)31 b(pre\014x)630 4301 y +b(ailable)32 b(when)d(sp)s(ecifying)630 3219 y(k)m(ey)i(sequences:)630 +3374 y Fj(\\C-)336 b Fu(con)m(trol)32 b(pre\014x)630 +3529 y Fj(\\M-)336 b Fu(meta)31 b(pre\014x)630 3683 y Fj(\\e)384 b Fu(an)30 b(escap)s(e)h(c)m(haracter)630 -4456 y Fj(\\\\)384 b Fu(bac)m(kslash)630 4611 y Fj(\\)p +3838 y Fj(\\\\)384 b Fu(bac)m(kslash)630 3993 y Fj(\\)p Ft(")g(")p Fu(,)30 b(a)h(double)f(quotation)i(mark)630 -4766 y Fj(\\')384 b Ft(')p Fu(,)30 b(a)h(single)g(quote)g(or)f(ap)s -(ostrophe)630 4921 y(In)d(addition)h(to)g(the)g Fm(gnu)f +4147 y Fj(\\')384 b Ft(')p Fu(,)30 b(a)h(single)g(quote)g(or)f(ap)s +(ostrophe)630 4302 y(In)d(addition)h(to)g(the)g Fm(gnu)f Fu(Emacs)h(st)m(yle)h(escap)s(e)f(sequences,)h(a)f(second)f(set)h(of)g -(bac)m(kslash)630 5030 y(escap)s(es)j(is)f(a)m(v)-5 b(ailable:)630 -5185 y Ft(\\a)384 b Fu(alert)31 b(\(b)s(ell\))630 5340 -y Ft(\\b)384 b Fu(bac)m(kspace)p eop end -%%Page: 111 117 -TeXDict begin 111 116 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(111)630 299 y Ft(\\d)384 -b Fu(delete)630 451 y Ft(\\f)g Fu(form)30 b(feed)630 -604 y Ft(\\n)384 b Fu(newline)630 757 y Ft(\\r)g Fu(carriage)32 -b(return)630 909 y Ft(\\t)384 b Fu(horizon)m(tal)32 b(tab)630 -1062 y Ft(\\v)384 b Fu(v)m(ertical)32 b(tab)630 1214 -y Ft(\\)p Fj(nnn)288 b Fu(the)35 b(eigh)m(t-bit)h(c)m(haracter)g(whose) -e(v)-5 b(alue)35 b(is)g(the)f(o)s(ctal)i(v)-5 b(alue)35 -b Fr(nnn)e Fu(\(one)i(to)1110 1324 y(three)c(digits\))630 -1477 y Ft(\\x)p Fj(HH)288 b Fu(the)38 b(eigh)m(t-bit)i(c)m(haracter)g +(bac)m(kslash)630 4412 y(escap)s(es)j(is)f(a)m(v)-5 b(ailable:)630 +4566 y Ft(\\a)384 b Fu(alert)31 b(\(b)s(ell\))630 4721 +y Ft(\\b)384 b Fu(bac)m(kspace)630 4876 y Ft(\\d)g Fu(delete)630 +5031 y Ft(\\f)g Fu(form)30 b(feed)630 5185 y Ft(\\n)384 +b Fu(newline)630 5340 y Ft(\\r)g Fu(carriage)32 b(return)p +eop end +%%Page: 115 121 +TeXDict begin 115 120 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(115)630 299 y Ft(\\t)384 +b Fu(horizon)m(tal)32 b(tab)630 451 y Ft(\\v)384 b Fu(v)m(ertical)32 +b(tab)630 604 y Ft(\\)p Fj(nnn)288 b Fu(the)35 b(eigh)m(t-bit)h(c)m +(haracter)g(whose)e(v)-5 b(alue)35 b(is)g(the)f(o)s(ctal)i(v)-5 +b(alue)35 b Fr(nnn)e Fu(\(one)i(to)1110 713 y(three)c(digits\))630 +866 y Ft(\\x)p Fj(HH)288 b Fu(the)38 b(eigh)m(t-bit)i(c)m(haracter)g (whose)e(v)-5 b(alue)39 b(is)f(the)h(hexadecimal)g(v)-5 -b(alue)39 b Fr(HH)1110 1586 y Fu(\(one)31 b(or)f(t)m(w)m(o)i(hex)e -(digits\))630 1739 y(When)37 b(en)m(tering)h(the)g(text)g(of)g(a)g +b(alue)39 b Fr(HH)1110 975 y Fu(\(one)31 b(or)f(t)m(w)m(o)i(hex)e +(digits\))630 1128 y(When)37 b(en)m(tering)h(the)g(text)g(of)g(a)g (macro,)i(single)e(or)f(double)g(quotes)h(m)m(ust)f(b)s(e)g(used)f(to) -630 1848 y(indicate)23 b(a)e(macro)h(de\014nition.)38 +630 1237 y(indicate)23 b(a)e(macro)h(de\014nition.)38 b(Unquoted)21 b(text)i(is)e(assumed)g(to)h(b)s(e)f(a)h(function)f -(name.)38 b(In)630 1958 y(the)22 b(macro)f(b)s(o)s(dy)-8 +(name.)38 b(In)630 1347 y(the)22 b(macro)f(b)s(o)s(dy)-8 b(,)23 b(the)e(bac)m(kslash)h(escap)s(es)g(describ)s(ed)e(ab)s(o)m(v)m -(e)j(are)e(expanded.)37 b(Bac)m(kslash)630 2067 y(will)j(quote)h(an)m +(e)j(are)e(expanded.)37 b(Bac)m(kslash)630 1456 y(will)j(quote)h(an)m (y)f(other)g(c)m(haracter)i(in)d(the)i(macro)f(text,)k(including)39 b(`)p Ft(")p Fu(')h(and)g(`)p Ft(')p Fu('.)69 b(F)-8 -b(or)630 2177 y(example,)28 b(the)e(follo)m(wing)h(binding)d(will)i +b(or)630 1566 y(example,)28 b(the)e(follo)m(wing)h(binding)d(will)i (mak)m(e)h(`)p Fj(C-x)j Ft(\\)p Fu(')c(insert)f(a)h(single)h(`)p -Ft(\\)p Fu(')f(in)m(to)g(the)g(line:)870 2308 y Ft("\\C-x\\\\":)45 -b("\\\\")150 2501 y Fk(8.3.2)63 b(Conditional)41 b(Init)g(Constructs) -150 2647 y Fu(Readline)c(implemen)m(ts)g(a)h(facilit)m(y)g(similar)f +Ft(\\)p Fu(')f(in)m(to)g(the)g(line:)870 1697 y Ft("\\C-x\\\\":)45 +b("\\\\")150 1889 y Fk(8.3.2)63 b(Conditional)41 b(Init)g(Constructs) +150 2036 y Fu(Readline)c(implemen)m(ts)g(a)h(facilit)m(y)g(similar)f (in)g(spirit)f(to)i(the)f(conditional)h(compilation)g(features)f(of)150 -2757 y(the)31 b(C)f(prepro)s(cessor)g(whic)m(h)g(allo)m(ws)i(k)m(ey)g +2146 y(the)31 b(C)f(prepro)s(cessor)g(whic)m(h)g(allo)m(ws)i(k)m(ey)g (bindings)d(and)h(v)-5 b(ariable)32 b(settings)f(to)h(b)s(e)e(p)s -(erformed)f(as)i(the)150 2867 y(result)f(of)h(tests.)41 +(erformed)f(as)i(the)150 2255 y(result)f(of)h(tests.)41 b(There)30 b(are)h(four)f(parser)f(directiv)m(es)j(used.)150 -3019 y Ft($if)336 b Fu(The)31 b Ft($if)f Fu(construct)i(allo)m(ws)h +2408 y Ft($if)336 b Fu(The)31 b Ft($if)f Fu(construct)i(allo)m(ws)h (bindings)d(to)i(b)s(e)e(made)i(based)f(on)g(the)g(editing)h(mo)s(de,)g -(the)630 3129 y(terminal)39 b(b)s(eing)e(used,)j(or)e(the)g +(the)630 2517 y(terminal)39 b(b)s(eing)e(used,)j(or)e(the)g (application)h(using)f(Readline.)64 b(The)38 b(text)h(of)f(the)g(test) -630 3238 y(extends)30 b(to)h(the)g(end)f(of)g(the)h(line;)g(no)f(c)m +630 2627 y(extends)30 b(to)h(the)g(end)f(of)g(the)h(line;)g(no)f(c)m (haracters)i(are)f(required)e(to)i(isolate)i(it.)630 -3391 y Ft(mode)288 b Fu(The)30 b Ft(mode=)e Fu(form)i(of)g(the)h +2779 y Ft(mode)288 b Fu(The)30 b Ft(mode=)e Fu(form)i(of)g(the)h Ft($if)e Fu(directiv)m(e)j(is)e(used)f(to)i(test)g(whether)e(Read-)1110 -3501 y(line)44 b(is)f(in)g Ft(emacs)f Fu(or)h Ft(vi)g +2889 y(line)44 b(is)f(in)g Ft(emacs)f Fu(or)h Ft(vi)g Fu(mo)s(de.)79 b(This)42 b(ma)m(y)i(b)s(e)e(used)h(in)g(conjunction) -1110 3610 y(with)c(the)h(`)p Ft(set)29 b(keymap)p Fu(')38 +1110 2998 y(with)c(the)h(`)p Ft(set)29 b(keymap)p Fu(')38 b(command,)k(for)d(instance,)j(to)e(set)g(bindings)e(in)1110 -3720 y(the)32 b Ft(emacs-standard)c Fu(and)j Ft(emacs-ctlx)d -Fu(k)m(eymaps)k(only)g(if)g(Readline)g(is)1110 3829 y(starting)f(out)g -(in)f Ft(emacs)f Fu(mo)s(de.)630 3982 y Ft(term)288 b +3108 y(the)32 b Ft(emacs-standard)c Fu(and)j Ft(emacs-ctlx)d +Fu(k)m(eymaps)k(only)g(if)g(Readline)g(is)1110 3218 y(starting)f(out)g +(in)f Ft(emacs)f Fu(mo)s(de.)630 3370 y Ft(term)288 b Fu(The)26 b Ft(term=)g Fu(form)g(ma)m(y)i(b)s(e)e(used)g(to)i(include)f -(terminal-sp)s(eci\014c)g(k)m(ey)h(bind-)1110 4092 y(ings,)38 +(terminal-sp)s(eci\014c)g(k)m(ey)h(bind-)1110 3480 y(ings,)38 b(p)s(erhaps)c(to)j(bind)e(the)h(k)m(ey)h(sequences)f(output)g(b)m(y)g -(the)g(terminal's)1110 4201 y(function)24 b(k)m(eys.)39 +(the)g(terminal's)1110 3589 y(function)24 b(k)m(eys.)39 b(The)23 b(w)m(ord)h(on)f(the)i(righ)m(t)f(side)g(of)g(the)g(`)p -Ft(=)p Fu(')g(is)g(tested)h(against)1110 4311 y(b)s(oth)k(the)h(full)g +Ft(=)p Fu(')g(is)g(tested)h(against)1110 3699 y(b)s(oth)k(the)h(full)g (name)g(of)g(the)g(terminal)h(and)e(the)i(p)s(ortion)e(of)h(the)g -(terminal)1110 4420 y(name)k(b)s(efore)f(the)g(\014rst)g(`)p +(terminal)1110 3808 y(name)k(b)s(efore)f(the)g(\014rst)g(`)p Ft(-)p Fu('.)50 b(This)33 b(allo)m(ws)i Ft(sun)e Fu(to)h(matc)m(h)g(b)s -(oth)f Ft(sun)g Fu(and)1110 4530 y Ft(sun-cmd)p Fu(,)c(for)h(instance.) -630 4682 y Ft(application)1110 4792 y Fu(The)21 b Fr(application)j +(oth)f Ft(sun)g Fu(and)1110 3918 y Ft(sun-cmd)p Fu(,)c(for)h(instance.) +630 4070 y Ft(application)1110 4180 y Fu(The)21 b Fr(application)j Fu(construct)e(is)g(used)f(to)i(include)f(application-sp)s(eci\014c)h -(set-)1110 4902 y(tings.)39 b(Eac)m(h)26 b(program)e(using)g(the)h +(set-)1110 4289 y(tings.)39 b(Eac)m(h)26 b(program)e(using)g(the)h (Readline)g(library)g(sets)g(the)g Fr(application)1110 -5011 y(name)p Fu(,)g(and)e(y)m(ou)g(can)h(test)g(for)f(a)g(particular)h +4399 y(name)p Fu(,)g(and)e(y)m(ou)g(can)h(test)g(for)f(a)g(particular)h (v)-5 b(alue.)39 b(This)22 b(could)h(b)s(e)g(used)f(to)1110 -5121 y(bind)32 b(k)m(ey)h(sequences)g(to)h(functions)e(useful)g(for)h -(a)g(sp)s(eci\014c)f(program.)48 b(F)-8 b(or)1110 5230 +4509 y(bind)32 b(k)m(ey)h(sequences)g(to)h(functions)e(useful)g(for)h +(a)g(sp)s(eci\014c)f(program.)48 b(F)-8 b(or)1110 4618 y(instance,)35 b(the)e(follo)m(wing)h(command)f(adds)f(a)i(k)m(ey)f -(sequence)h(that)f(quotes)1110 5340 y(the)e(curren)m(t)f(or)g(previous) -g(w)m(ord)g(in)g(Bash:)p eop end -%%Page: 112 118 -TeXDict begin 112 117 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(112)1350 299 y Ft($if)47 -b(Bash)1350 408 y(#)g(Quote)g(the)g(current)f(or)h(previous)e(word)1350 -518 y("\\C-xq":)h("\\eb\\"\\ef\\"")1350 628 y($endif)150 -787 y($endif)192 b Fu(This)29 b(command,)i(as)f(seen)h(in)f(the)g -(previous)g(example,)h(terminates)g(an)g Ft($if)e Fu(command.)150 -946 y Ft($else)240 b Fu(Commands)29 b(in)h(this)h(branc)m(h)e(of)i(the) -f Ft($if)g Fu(directiv)m(e)i(are)f(executed)g(if)f(the)h(test)g(fails.) -150 1106 y Ft($include)96 b Fu(This)43 b(directiv)m(e)i(tak)m(es)g(a)e +(sequence)h(that)f(quotes)1110 4728 y(the)e(curren)m(t)f(or)g(previous) +g(w)m(ord)g(in)g(Bash:)1350 4859 y Ft($if)47 b(Bash)1350 +4968 y(#)g(Quote)g(the)g(current)f(or)h(previous)e(word)1350 +5078 y("\\C-xq":)h("\\eb\\"\\ef\\"")1350 5188 y($endif)150 +5340 y($endif)192 b Fu(This)29 b(command,)i(as)f(seen)h(in)f(the)g +(previous)g(example,)h(terminates)g(an)g Ft($if)e Fu(command.)p +eop end +%%Page: 116 122 +TeXDict begin 116 121 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(116)150 299 y Ft($else)240 +b Fu(Commands)29 b(in)h(this)h(branc)m(h)e(of)i(the)f +Ft($if)g Fu(directiv)m(e)i(are)f(executed)g(if)f(the)h(test)g(fails.) +150 458 y Ft($include)96 b Fu(This)43 b(directiv)m(e)i(tak)m(es)g(a)e (single)i(\014lename)e(as)h(an)f(argumen)m(t)h(and)f(reads)g(commands) -630 1215 y(and)38 b(bindings)f(from)h(that)i(\014le.)65 +630 568 y(and)38 b(bindings)f(from)h(that)i(\014le.)65 b(F)-8 b(or)39 b(example,)j(the)d(follo)m(wing)h(directiv)m(e)g(reads)e -(from)630 1325 y Ft(/etc/inputrc)p Fu(:)870 1460 y Ft($include)46 -b(/etc/inputrc)150 1659 y Fk(8.3.3)63 b(Sample)41 b(Init)g(File)150 -1806 y Fu(Here)27 b(is)f(an)h(example)g(of)f(an)h Fr(inputrc)k +(from)630 677 y Ft(/etc/inputrc)p Fu(:)870 812 y Ft($include)46 +b(/etc/inputrc)150 1011 y Fk(8.3.3)63 b(Sample)41 b(Init)g(File)150 +1158 y Fu(Here)27 b(is)f(an)h(example)g(of)f(an)h Fr(inputrc)k Fu(\014le.)39 b(This)26 b(illustrates)h(k)m(ey)h(binding,)e(v)-5 -b(ariable)27 b(assignmen)m(t,)i(and)150 1915 y(conditional)j(syn)m +b(ariable)27 b(assignmen)m(t,)i(and)150 1268 y(conditional)j(syn)m (tax.)p eop end -%%Page: 113 119 -TeXDict begin 113 118 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(113)390 408 y Ft(#)47 +%%Page: 117 123 +TeXDict begin 117 122 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(117)390 408 y Ft(#)47 b(This)g(file)g(controls)e(the)i(behaviour)e(of)j(line)e(input)h (editing)e(for)390 518 y(#)i(programs)f(that)h(use)g(the)f(GNU)h (Readline)f(library.)93 b(Existing)390 628 y(#)47 b(programs)f(include) @@ -16092,9 +16496,9 @@ y(#)47 b(Arrow)g(keys)f(in)i(8)f(bit)g(keypad)f(mode)390 4902 y(#)390 5011 y(#)47 b(Arrow)g(keys)f(in)i(8)f(bit)g(ANSI)g(mode) 390 5121 y(#)390 5230 y(#"\\M-\\C-[D":)331 b(backward-char)390 5340 y(#"\\M-\\C-[C":)g(forward-char)p eop end -%%Page: 114 120 -TeXDict begin 114 119 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(114)390 299 y Ft(#"\\M-\\C-[A":) +%%Page: 118 124 +TeXDict begin 118 123 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(118)390 299 y Ft(#"\\M-\\C-[A":) 331 b(previous-history)390 408 y(#"\\M-\\C-[B":)g(next-history)390 628 y(C-q:)47 b(quoted-insert)390 847 y($endif)390 1066 y(#)g(An)h(old-style)d(binding.)93 b(This)47 b(happens)f(to)h(be)g(the) @@ -16127,58 +16531,58 @@ y($endif)390 3477 y(#)i(use)g(a)h(visible)e(bell)g(if)h(one)g(is)h (completions)e(for)390 5121 y(#)j(a)h(word,)e(ask)h(the)g(user)g(if)g (he)g(wants)f(to)i(see)f(all)f(of)i(them)390 5230 y(set)f (completion-query-items)42 b(150)p eop end -%%Page: 115 121 -TeXDict begin 115 120 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(115)390 299 y Ft(#)47 +%%Page: 119 125 +TeXDict begin 119 124 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(119)390 299 y Ft(#)47 b(For)g(FTP)390 408 y($if)g(Ftp)390 518 y("\\C-xg":)f("get)g(\\M-?")390 628 y("\\C-xt":)g("put)g(\\M-?")390 737 y("\\M-.":)g(yank-last-arg)390 -847 y($endif)150 1075 y Fs(8.4)68 b(Bindable)45 b(Readline)i(Commands) -150 1235 y Fu(This)32 b(section)h(describ)s(es)f(Readline)h(commands)f +847 y($endif)150 1083 y Fs(8.4)68 b(Bindable)45 b(Readline)i(Commands) +150 1242 y Fu(This)32 b(section)h(describ)s(es)f(Readline)h(commands)f (that)h(ma)m(y)h(b)s(e)d(b)s(ound)g(to)i(k)m(ey)g(sequences.)48 -b(Y)-8 b(ou)33 b(can)150 1344 y(list)40 b(y)m(our)f(k)m(ey)i(bindings)d +b(Y)-8 b(ou)33 b(can)150 1352 y(list)40 b(y)m(our)f(k)m(ey)i(bindings)d (b)m(y)h(executing)i Ft(bind)29 b(-P)39 b Fu(or,)j(for)d(a)h(more)g -(terse)g(format,)i(suitable)e(for)f(an)150 1454 y Fr(inputrc)34 +(terse)g(format,)i(suitable)e(for)f(an)150 1461 y Fr(inputrc)34 b Fu(\014le,)29 b Ft(bind)g(-p)p Fu(.)40 b(\(See)30 b(Section)f(4.2)h -([Bash)g(Builtins],)g(page)g(48.\))41 b(Command)28 b(names)h(without) -150 1563 y(an)h(accompan)m(ying)i(k)m(ey)f(sequence)g(are)g(un)m(b)s -(ound)d(b)m(y)i(default.)275 1696 y(In)25 b(the)h(follo)m(wing)i +([Bash)g(Builtins],)g(page)g(49.\))41 b(Command)28 b(names)h(without) +150 1571 y(an)h(accompan)m(ying)i(k)m(ey)f(sequence)g(are)g(un)m(b)s +(ound)d(b)m(y)i(default.)275 1703 y(In)25 b(the)h(follo)m(wing)i (descriptions,)f Fr(p)s(oin)m(t)h Fu(refers)e(to)h(the)f(curren)m(t)g (cursor)g(p)s(osition,)h(and)f Fr(mark)31 b Fu(refers)150 -1805 y(to)40 b(a)f(cursor)f(p)s(osition)h(sa)m(v)m(ed)h(b)m(y)f(the)g +1813 y(to)40 b(a)f(cursor)f(p)s(osition)h(sa)m(v)m(ed)h(b)m(y)f(the)g Ft(set-mark)d Fu(command.)66 b(The)38 b(text)i(b)s(et)m(w)m(een)g(the)f -(p)s(oin)m(t)g(and)150 1915 y(mark)30 b(is)h(referred)e(to)i(as)g(the)f -Fr(region)p Fu(.)150 2110 y Fk(8.4.1)63 b(Commands)42 -b(F)-10 b(or)41 b(Mo)m(ving)150 2280 y Ft(beginning-of-line)26 -b(\(C-a\))630 2390 y Fu(Mo)m(v)m(e)32 b(to)g(the)e(start)h(of)g(the)f -(curren)m(t)g(line.)150 2545 y Ft(end-of-line)d(\(C-e\))630 -2655 y Fu(Mo)m(v)m(e)32 b(to)g(the)e(end)g(of)g(the)h(line.)150 -2810 y Ft(forward-char)c(\(C-f\))630 2920 y Fu(Mo)m(v)m(e)32 -b(forw)m(ard)e(a)h(c)m(haracter.)150 3075 y Ft(backward-char)c(\(C-b\)) -630 3185 y Fu(Mo)m(v)m(e)32 b(bac)m(k)g(a)e(c)m(haracter.)150 -3340 y Ft(forward-word)d(\(M-f\))630 3450 y Fu(Mo)m(v)m(e)32 +(p)s(oin)m(t)g(and)150 1922 y(mark)30 b(is)h(referred)e(to)i(as)g(the)f +Fr(region)p Fu(.)150 2117 y Fk(8.4.1)63 b(Commands)42 +b(F)-10 b(or)41 b(Mo)m(ving)150 2286 y Ft(beginning-of-line)26 +b(\(C-a\))630 2396 y Fu(Mo)m(v)m(e)32 b(to)g(the)e(start)h(of)g(the)f +(curren)m(t)g(line.)150 2551 y Ft(end-of-line)d(\(C-e\))630 +2660 y Fu(Mo)m(v)m(e)32 b(to)g(the)e(end)g(of)g(the)h(line.)150 +2815 y Ft(forward-char)c(\(C-f\))630 2924 y Fu(Mo)m(v)m(e)32 +b(forw)m(ard)e(a)h(c)m(haracter.)150 3079 y Ft(backward-char)c(\(C-b\)) +630 3189 y Fu(Mo)m(v)m(e)32 b(bac)m(k)g(a)e(c)m(haracter.)150 +3343 y Ft(forward-word)d(\(M-f\))630 3453 y Fu(Mo)m(v)m(e)32 b(forw)m(ard)e(to)h(the)f(end)g(of)g(the)h(next)f(w)m(ord.)41 b(W)-8 b(ords)30 b(are)h(comp)s(osed)f(of)g(letters)i(and)630 -3559 y(digits.)150 3715 y Ft(backward-word)27 b(\(M-b\))630 -3824 y Fu(Mo)m(v)m(e)36 b(bac)m(k)e(to)g(the)g(start)g(of)g(the)g +3563 y(digits.)150 3717 y Ft(backward-word)27 b(\(M-b\))630 +3827 y Fu(Mo)m(v)m(e)36 b(bac)m(k)e(to)g(the)g(start)g(of)g(the)g (curren)m(t)f(or)g(previous)g(w)m(ord.)50 b(W)-8 b(ords)34 -b(are)g(comp)s(osed)630 3934 y(of)d(letters)g(and)f(digits.)150 -4089 y Ft(shell-forward-word)25 b(\(\))630 4199 y Fu(Mo)m(v)m(e)30 +b(are)g(comp)s(osed)630 3936 y(of)d(letters)g(and)f(digits.)150 +4091 y Ft(shell-forward-word)25 b(\(\))630 4201 y Fu(Mo)m(v)m(e)30 b(forw)m(ard)e(to)h(the)f(end)f(of)h(the)h(next)f(w)m(ord.)40 b(W)-8 b(ords)28 b(are)g(delimited)h(b)m(y)f(non-quoted)630 -4308 y(shell)j(metac)m(haracters.)150 4464 y Ft(shell-backward-word)25 -b(\(\))630 4573 y Fu(Mo)m(v)m(e)37 b(bac)m(k)e(to)h(the)f(start)g(of)g +4310 y(shell)j(metac)m(haracters.)150 4465 y Ft(shell-backward-word)25 +b(\(\))630 4575 y Fu(Mo)m(v)m(e)37 b(bac)m(k)e(to)h(the)f(start)g(of)g (the)g(curren)m(t)g(or)f(previous)h(w)m(ord.)53 b(W)-8 -b(ords)35 b(are)g(delimited)630 4683 y(b)m(y)30 b(non-quoted)h(shell)f -(metac)m(haracters.)150 4838 y Ft(clear-screen)d(\(C-l\))630 +b(ords)35 b(are)g(delimited)630 4684 y(b)m(y)30 b(non-quoted)h(shell)f +(metac)m(haracters.)150 4839 y Ft(clear-screen)d(\(C-l\))630 4948 y Fu(Clear)g(the)g(screen)f(and)h(redra)m(w)f(the)h(curren)m(t)f (line,)i(lea)m(ving)g(the)f(curren)m(t)g(line)g(at)g(the)g(top)630 -5057 y(of)k(the)f(screen.)150 5213 y Ft(redraw-current-line)25 +5058 y(of)k(the)f(screen.)150 5213 y Ft(redraw-current-line)25 b(\(\))630 5322 y Fu(Refresh)30 b(the)g(curren)m(t)h(line.)41 b(By)30 b(default,)h(this)f(is)h(un)m(b)s(ound.)p eop end -%%Page: 116 122 -TeXDict begin 116 121 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(116)150 299 y Fk(8.4.2)63 +%%Page: 120 126 +TeXDict begin 120 125 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(120)150 299 y Fk(8.4.2)63 b(Commands)42 b(F)-10 b(or)41 b(Manipulating)h(The)f(History)150 473 y Ft(accept-line)27 b(\(Newline)h(or)i(Return\))630 582 y Fu(Accept)25 b(the)e(line)h(regardless)g(of)f(where)g(the)h @@ -16203,26 +16607,30 @@ y Fu(Searc)m(h)31 b(bac)m(kw)m(ard)h(starting)g(at)g(the)f(curren)m(t)g (line)g(and)g(mo)m(ving)h(`up')e(through)h(the)g(his-)630 2386 y(tory)g(as)f(necessary)-8 b(.)42 b(This)29 b(is)i(an)f(incremen)m (tal)i(searc)m(h.)150 2550 y Ft(forward-search-history)24 -b(\(C-s\))630 2659 y Fu(Searc)m(h)30 b(forw)m(ard)f(starting)h(at)g -(the)g(curren)m(t)f(line)h(and)f(mo)m(ving)h(`do)m(wn')f(through)g(the) -h(the)630 2769 y(history)g(as)h(necessary)-8 b(.)41 b(This)30 +b(\(C-s\))630 2659 y Fu(Searc)m(h)44 b(forw)m(ard)f(starting)h(at)h +(the)e(curren)m(t)h(line)g(and)f(mo)m(ving)h(`do)m(wn')g(through)f(the) +630 2769 y(history)30 b(as)h(necessary)-8 b(.)41 b(This)30 b(is)g(an)h(incremen)m(tal)g(searc)m(h.)150 2932 y Ft (non-incremental-reverse-)o(sear)o(ch-h)o(ist)o(ory)24 b(\(M-p\))630 3042 y Fu(Searc)m(h)31 b(bac)m(kw)m(ard)h(starting)g(at)g (the)f(curren)m(t)g(line)g(and)g(mo)m(ving)h(`up')e(through)h(the)g (his-)630 3152 y(tory)36 b(as)g(necessary)h(using)e(a)i(non-incremen)m (tal)g(searc)m(h)f(for)g(a)g(string)g(supplied)f(b)m(y)h(the)630 -3261 y(user.)150 3425 y Ft(non-incremental-forward-)o(sear)o(ch-h)o -(ist)o(ory)24 b(\(M-n\))630 3534 y Fu(Searc)m(h)30 b(forw)m(ard)f -(starting)h(at)g(the)g(curren)m(t)f(line)h(and)f(mo)m(ving)h(`do)m(wn') -f(through)g(the)h(the)630 3644 y(history)d(as)f(necessary)i(using)e(a)h -(non-incremen)m(tal)g(searc)m(h)h(for)e(a)h(string)g(supplied)e(b)m(y)i -(the)630 3754 y(user.)150 3917 y Ft(history-search-forward)d(\(\))630 -4027 y Fu(Searc)m(h)42 b(forw)m(ard)f(through)f(the)i(history)f(for)g -(the)h(string)f(of)h(c)m(haracters)h(b)s(et)m(w)m(een)f(the)630 -4136 y(start)36 b(of)h(the)f(curren)m(t)f(line)i(and)e(the)h(p)s(oin)m -(t.)58 b(The)35 b(searc)m(h)i(string)e(m)m(ust)h(matc)m(h)h(at)g(the) -630 4246 y(b)s(eginning)32 b(of)g(a)h(history)g(line.)47 +3261 y(user.)k(The)30 b(searc)m(h)h(string)f(ma)m(y)h(matc)m(h)g(an)m +(ywhere)g(in)f(a)h(history)f(line.)150 3425 y Ft +(non-incremental-forward-)o(sear)o(ch-h)o(ist)o(ory)24 +b(\(M-n\))630 3534 y Fu(Searc)m(h)44 b(forw)m(ard)f(starting)h(at)h +(the)e(curren)m(t)h(line)g(and)f(mo)m(ving)h(`do)m(wn')g(through)f(the) +630 3644 y(history)27 b(as)f(necessary)i(using)e(a)h(non-incremen)m +(tal)g(searc)m(h)h(for)e(a)h(string)g(supplied)e(b)m(y)i(the)630 +3754 y(user.)40 b(The)30 b(searc)m(h)h(string)f(ma)m(y)h(matc)m(h)g(an) +m(ywhere)g(in)f(a)h(history)f(line.)150 3917 y Ft +(history-search-forward)24 b(\(\))630 4027 y Fu(Searc)m(h)42 +b(forw)m(ard)f(through)f(the)i(history)f(for)g(the)h(string)f(of)h(c)m +(haracters)h(b)s(et)m(w)m(een)f(the)630 4136 y(start)36 +b(of)h(the)f(curren)m(t)f(line)i(and)e(the)h(p)s(oin)m(t.)58 +b(The)35 b(searc)m(h)i(string)e(m)m(ust)h(matc)m(h)h(at)g(the)630 +4246 y(b)s(eginning)32 b(of)g(a)h(history)g(line.)47 b(This)32 b(is)h(a)f(non-incremen)m(tal)i(searc)m(h.)48 b(By)33 b(default,)g(this)630 4355 y(command)d(is)h(un)m(b)s(ound.)150 4519 y Ft(history-search-backward)24 b(\(\))630 4629 @@ -16239,9 +16647,9 @@ b(By)33 b(default,)g(this)630 4957 y(command)d(is)h(un)m(b)s(ound.)150 5340 y(start)29 b(of)g(the)g(curren)m(t)g(line)g(and)f(the)h(p)s(oin)m (t.)40 b(The)29 b(searc)m(h)g(string)g(ma)m(y)g(matc)m(h)h(an)m(ywhere) p eop end -%%Page: 117 123 -TeXDict begin 117 122 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(117)630 299 y(in)32 +%%Page: 121 127 +TeXDict begin 121 126 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(121)630 299 y(in)32 b(a)h(history)g(line.)47 b(This)32 b(is)g(a)h(non-incremen)m(tal)h (searc)m(h.)47 b(By)33 b(default,)h(this)e(command)630 408 y(is)e(un)m(b)s(ound.)150 573 y Ft(history-substr-search-ba)o(ckwa) @@ -16310,1437 +16718,1464 @@ y Fu(Add)j(the)i(next)f(c)m(haracter)i(t)m(yp)s(ed)e(to)h(the)f(line)h (v)m(erbatim.)53 b(This)33 b(is)i(ho)m(w)f(to)h(insert)f(k)m(ey)630 5340 y(sequences)d(lik)m(e)g Fj(C-q)p Fu(,)f(for)g(example.)p eop end -%%Page: 118 124 -TeXDict begin 118 123 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(118)150 299 y Ft(self-insert)27 +%%Page: 122 128 +TeXDict begin 122 127 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(122)150 299 y Ft(self-insert)27 b(\(a,)j(b,)g(A,)f(1,)h(!,)g(...)o(\))630 408 y Fu(Insert)g(y)m -(ourself.)150 556 y Ft(transpose-chars)c(\(C-t\))630 -665 y Fu(Drag)33 b(the)f(c)m(haracter)h(b)s(efore)f(the)g(cursor)f -(forw)m(ard)h(o)m(v)m(er)h(the)f(c)m(haracter)i(at)e(the)g(cursor,)630 -775 y(mo)m(ving)k(the)g(cursor)f(forw)m(ard)g(as)g(w)m(ell.)57 +(ourself.)150 573 y Ft(bracketed-paste-begin)25 b(\(\))630 +683 y Fu(This)f(function)h(is)f(in)m(tended)h(to)h(b)s(e)e(b)s(ound)f +(to)i(the)g Ft(")p Fu(brac)m(k)m(eted)h(paste)p Ft(")f +Fu(escap)s(e)h(sequence)630 793 y(sen)m(t)38 b(b)m(y)f(some)h +(terminals,)i(and)d(suc)m(h)g(a)h(binding)e(is)i(assigned)f(b)m(y)h +(default.)62 b(It)38 b(allo)m(ws)630 902 y(Readline)33 +b(to)g(insert)g(the)f(pasted)h(text)g(as)g(a)g(single)g(unit)f(without) +h(treating)h(eac)m(h)f(c)m(har-)630 1012 y(acter)40 b(as)f(if)g(it)g +(had)f(b)s(een)g(read)h(from)f(the)h(k)m(eyb)s(oard.)66 +b(The)39 b(c)m(haracters)h(are)f(inserted)630 1121 y(as)i(if)g(eac)m(h) +i(one)e(w)m(as)h(b)s(ound)d(to)i Ft(self-insert)p Fu(\))e(instead)i(of) +h(executing)g(an)m(y)f(editing)630 1231 y(commands.)150 +1396 y Ft(transpose-chars)26 b(\(C-t\))630 1505 y Fu(Drag)33 +b(the)f(c)m(haracter)h(b)s(efore)f(the)g(cursor)f(forw)m(ard)h(o)m(v)m +(er)h(the)f(c)m(haracter)i(at)e(the)g(cursor,)630 1615 +y(mo)m(ving)k(the)g(cursor)f(forw)m(ard)g(as)g(w)m(ell.)57 b(If)35 b(the)h(insertion)g(p)s(oin)m(t)f(is)g(at)i(the)e(end)g(of)h -(the)630 884 y(line,)24 b(then)e(this)g(transp)s(oses)f(the)h(last)h(t) -m(w)m(o)g(c)m(haracters)g(of)f(the)h(line.)38 b(Negativ)m(e)25 -b(argumen)m(ts)630 994 y(ha)m(v)m(e)32 b(no)e(e\013ect.)150 -1141 y Ft(transpose-words)c(\(M-t\))630 1251 y Fu(Drag)33 +(the)630 1724 y(line,)24 b(then)e(this)g(transp)s(oses)f(the)h(last)h +(t)m(w)m(o)g(c)m(haracters)g(of)f(the)h(line.)38 b(Negativ)m(e)25 +b(argumen)m(ts)630 1834 y(ha)m(v)m(e)32 b(no)e(e\013ect.)150 +1999 y Ft(transpose-words)c(\(M-t\))630 2109 y Fu(Drag)33 b(the)g(w)m(ord)f(b)s(efore)g(p)s(oin)m(t)g(past)g(the)h(w)m(ord)f (after)g(p)s(oin)m(t,)i(mo)m(ving)f(p)s(oin)m(t)f(past)g(that)630 -1360 y(w)m(ord)c(as)h(w)m(ell.)41 b(If)27 b(the)i(insertion)f(p)s(oin)m +2218 y(w)m(ord)c(as)h(w)m(ell.)41 b(If)27 b(the)i(insertion)f(p)s(oin)m (t)h(is)f(at)h(the)g(end)e(of)i(the)f(line,)i(this)e(transp)s(oses)g -(the)630 1470 y(last)j(t)m(w)m(o)h(w)m(ords)e(on)g(the)h(line.)150 -1617 y Ft(upcase-word)c(\(M-u\))630 1727 y Fu(Upp)s(ercase)32 +(the)630 2328 y(last)j(t)m(w)m(o)h(w)m(ords)e(on)g(the)h(line.)150 +2493 y Ft(upcase-word)c(\(M-u\))630 2602 y Fu(Upp)s(ercase)32 b(the)g(curren)m(t)g(\(or)g(follo)m(wing\))i(w)m(ord.)45 b(With)32 b(a)g(negativ)m(e)j(argumen)m(t,)e(upp)s(er-)630 -1837 y(case)e(the)g(previous)f(w)m(ord,)g(but)g(do)g(not)h(mo)m(v)m(e)h -(the)e(cursor.)150 1984 y Ft(downcase-word)d(\(M-l\))630 -2093 y Fu(Lo)m(w)m(ercase)c(the)f(curren)m(t)f(\(or)h(follo)m(wing\))i +2712 y(case)e(the)g(previous)f(w)m(ord,)g(but)g(do)g(not)h(mo)m(v)m(e)h +(the)e(cursor.)150 2877 y Ft(downcase-word)d(\(M-l\))630 +2986 y Fu(Lo)m(w)m(ercase)c(the)f(curren)m(t)f(\(or)h(follo)m(wing\))i (w)m(ord.)37 b(With)22 b(a)g(negativ)m(e)i(argumen)m(t,)g(lo)m(w)m -(ercase)630 2203 y(the)31 b(previous)e(w)m(ord,)i(but)e(do)i(not)f(mo)m -(v)m(e)i(the)f(cursor.)150 2350 y Ft(capitalize-word)26 -b(\(M-c\))630 2460 y Fu(Capitalize)d(the)f(curren)m(t)f(\(or)g(follo)m +(ercase)630 3096 y(the)31 b(previous)e(w)m(ord,)i(but)e(do)i(not)f(mo)m +(v)m(e)i(the)f(cursor.)150 3261 y Ft(capitalize-word)26 +b(\(M-c\))630 3370 y Fu(Capitalize)d(the)f(curren)m(t)f(\(or)g(follo)m (wing\))i(w)m(ord.)38 b(With)21 b(a)h(negativ)m(e)h(argumen)m(t,)h -(capitalize)630 2569 y(the)31 b(previous)e(w)m(ord,)i(but)e(do)i(not)f -(mo)m(v)m(e)i(the)f(cursor.)150 2717 y Ft(overwrite-mode)26 -b(\(\))630 2826 y Fu(T)-8 b(oggle)35 b(o)m(v)m(erwrite)g(mo)s(de.)48 +(capitalize)630 3480 y(the)31 b(previous)e(w)m(ord,)i(but)e(do)i(not)f +(mo)m(v)m(e)i(the)f(cursor.)150 3645 y Ft(overwrite-mode)26 +b(\(\))630 3754 y Fu(T)-8 b(oggle)35 b(o)m(v)m(erwrite)g(mo)s(de.)48 b(With)33 b(an)g(explicit)h(p)s(ositiv)m(e)g(n)m(umeric)f(argumen)m(t,) -h(switc)m(hes)630 2936 y(to)22 b(o)m(v)m(erwrite)i(mo)s(de.)37 +h(switc)m(hes)630 3864 y(to)22 b(o)m(v)m(erwrite)i(mo)s(de.)37 b(With)22 b(an)g(explicit)h(non-p)s(ositiv)m(e)f(n)m(umeric)g(argumen)m -(t,)i(switc)m(hes)e(to)630 3045 y(insert)30 b(mo)s(de.)41 +(t,)i(switc)m(hes)e(to)630 3973 y(insert)30 b(mo)s(de.)41 b(This)30 b(command)h(a\013ects)h(only)e Ft(emacs)f Fu(mo)s(de;)i -Ft(vi)f Fu(mo)s(de)g(do)s(es)g(o)m(v)m(erwrite)630 3155 +Ft(vi)f Fu(mo)s(de)g(do)s(es)g(o)m(v)m(erwrite)630 4083 y(di\013eren)m(tly)-8 b(.)42 b(Eac)m(h)31 b(call)h(to)f Ft(readline\(\))c Fu(starts)k(in)f(insert)g(mo)s(de.)630 -3283 y(In)52 b(o)m(v)m(erwrite)h(mo)s(de,)58 b(c)m(haracters)c(b)s +4220 y(In)52 b(o)m(v)m(erwrite)h(mo)s(de,)58 b(c)m(haracters)c(b)s (ound)c(to)j Ft(self-insert)c Fu(replace)k(the)g(text)g(at)630 -3393 y(p)s(oin)m(t)59 b(rather)f(than)h(pushing)e(the)i(text)g(to)h +4330 y(p)s(oin)m(t)59 b(rather)f(than)h(pushing)e(the)i(text)g(to)h (the)f(righ)m(t.)126 b(Characters)59 b(b)s(ound)d(to)630 -3503 y Ft(backward-delete-char)25 b Fu(replace)31 b(the)g(c)m(haracter) -h(b)s(efore)e(p)s(oin)m(t)g(with)g(a)h(space.)630 3631 +4439 y Ft(backward-delete-char)25 b Fu(replace)31 b(the)g(c)m(haracter) +h(b)s(efore)e(p)s(oin)m(t)g(with)g(a)h(space.)630 4577 y(By)g(default,)f(this)h(command)f(is)g(un)m(b)s(ound.)150 -3818 y Fk(8.4.4)63 b(Killing)42 b(And)e(Y)-10 b(anking)150 -3984 y Ft(kill-line)28 b(\(C-k\))630 4093 y Fu(Kill)j(the)f(text)i +4781 y Fk(8.4.4)63 b(Killing)42 b(And)e(Y)-10 b(anking)150 +4956 y Ft(kill-line)28 b(\(C-k\))630 5066 y Fu(Kill)j(the)f(text)i (from)e(p)s(oin)m(t)g(to)h(the)g(end)e(of)i(the)f(line.)150 -4241 y Ft(backward-kill-line)25 b(\(C-x)30 b(Rubout\))630 -4350 y Fu(Kill)h(bac)m(kw)m(ard)g(to)g(the)f(b)s(eginning)g(of)g(the)h -(line.)150 4498 y Ft(unix-line-discard)26 b(\(C-u\))630 -4607 y Fu(Kill)31 b(bac)m(kw)m(ard)g(from)e(the)i(cursor)f(to)h(the)f -(b)s(eginning)g(of)h(the)f(curren)m(t)g(line.)150 4754 -y Ft(kill-whole-line)c(\(\))630 4864 y Fu(Kill)37 b(all)g(c)m -(haracters)h(on)f(the)f(curren)m(t)h(line,)h(no)f(matter)g(where)f(p)s -(oin)m(t)h(is.)59 b(By)36 b(default,)630 4974 y(this)30 -b(is)h(un)m(b)s(ound.)150 5121 y Ft(kill-word)d(\(M-d\))630 -5230 y Fu(Kill)i(from)f(p)s(oin)m(t)g(to)h(the)g(end)e(of)i(the)f +5230 y Ft(backward-kill-line)25 b(\(C-x)30 b(Rubout\))630 +5340 y Fu(Kill)h(bac)m(kw)m(ard)g(from)e(the)i(cursor)f(to)h(the)f(b)s +(eginning)g(of)h(the)f(curren)m(t)g(line.)p eop end +%%Page: 123 129 +TeXDict begin 123 128 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(123)150 299 y Ft +(unix-line-discard)26 b(\(C-u\))630 408 y Fu(Kill)31 +b(bac)m(kw)m(ard)g(from)e(the)i(cursor)f(to)h(the)f(b)s(eginning)g(of)h +(the)f(curren)m(t)g(line.)150 571 y Ft(kill-whole-line)c(\(\))630 +681 y Fu(Kill)37 b(all)g(c)m(haracters)h(on)f(the)f(curren)m(t)h(line,) +h(no)f(matter)g(where)f(p)s(oin)m(t)h(is.)59 b(By)36 +b(default,)630 791 y(this)30 b(is)h(un)m(b)s(ound.)150 +954 y Ft(kill-word)d(\(M-d\))630 1063 y Fu(Kill)i(from)f(p)s(oin)m(t)g +(to)h(the)g(end)e(of)i(the)f(curren)m(t)h(w)m(ord,)f(or)g(if)h(b)s(et)m +(w)m(een)g(w)m(ords,)f(to)h(the)g(end)630 1173 y(of)h(the)f(next)h(w)m +(ord.)40 b(W)-8 b(ord)31 b(b)s(oundaries)e(are)h(the)h(same)g(as)f +Ft(forward-word)p Fu(.)150 1336 y Ft(backward-kill-word)25 +b(\(M-DEL\))630 1445 y Fu(Kill)k(the)g(w)m(ord)g(b)s(ehind)e(p)s(oin)m +(t.)40 b(W)-8 b(ord)29 b(b)s(oundaries)f(are)h(the)g(same)g(as)g +Ft(backward-word)p Fu(.)150 1608 y Ft(shell-kill-word)d(\(\))630 +1718 y Fu(Kill)k(from)f(p)s(oin)m(t)g(to)h(the)g(end)e(of)i(the)f (curren)m(t)h(w)m(ord,)f(or)g(if)h(b)s(et)m(w)m(een)g(w)m(ords,)f(to)h -(the)g(end)630 5340 y(of)h(the)f(next)h(w)m(ord.)40 b(W)-8 -b(ord)31 b(b)s(oundaries)e(are)h(the)h(same)g(as)f Ft(forward-word)p -Fu(.)p eop end -%%Page: 119 125 -TeXDict begin 119 124 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(119)150 299 y Ft -(backward-kill-word)25 b(\(M-DEL\))630 408 y Fu(Kill)k(the)g(w)m(ord)g -(b)s(ehind)e(p)s(oin)m(t.)40 b(W)-8 b(ord)29 b(b)s(oundaries)f(are)h -(the)g(same)g(as)g Ft(backward-word)p Fu(.)150 569 y -Ft(shell-kill-word)d(\(\))630 679 y Fu(Kill)k(from)f(p)s(oin)m(t)g(to)h -(the)g(end)e(of)i(the)f(curren)m(t)h(w)m(ord,)f(or)g(if)h(b)s(et)m(w)m -(een)g(w)m(ords,)f(to)h(the)g(end)630 788 y(of)h(the)f(next)h(w)m(ord.) -40 b(W)-8 b(ord)31 b(b)s(oundaries)e(are)h(the)h(same)g(as)f -Ft(shell-forward-word)p Fu(.)150 949 y Ft(shell-backward-kill-word)24 -b(\(\))630 1059 y Fu(Kill)e(the)h(w)m(ord)e(b)s(ehind)g(p)s(oin)m(t.)38 +(the)g(end)630 1827 y(of)h(the)f(next)h(w)m(ord.)40 b(W)-8 +b(ord)31 b(b)s(oundaries)e(are)h(the)h(same)g(as)f Ft +(shell-forward-word)p Fu(.)150 1990 y Ft(shell-backward-kill-word)24 +b(\(\))630 2100 y Fu(Kill)e(the)h(w)m(ord)e(b)s(ehind)g(p)s(oin)m(t.)38 b(W)-8 b(ord)22 b(b)s(oundaries)f(are)h(the)g(same)h(as)f -Ft(shell-backward-)630 1168 y(word)p Fu(.)150 1329 y -Ft(unix-word-rubout)k(\(C-w\))630 1438 y Fu(Kill)32 b(the)g(w)m(ord)f +Ft(shell-backward-)630 2209 y(word)p Fu(.)150 2372 y +Ft(unix-word-rubout)k(\(C-w\))630 2482 y Fu(Kill)32 b(the)g(w)m(ord)f (b)s(ehind)f(p)s(oin)m(t,)i(using)f(white)h(space)g(as)g(a)g(w)m(ord)f -(b)s(oundary)-8 b(.)43 b(The)31 b(killed)630 1548 y(text)g(is)g(sa)m(v) -m(ed)g(on)g(the)f(kill-ring.)150 1709 y Ft(unix-filename-rubout)25 -b(\(\))630 1818 y Fu(Kill)37 b(the)f(w)m(ord)g(b)s(ehind)f(p)s(oin)m +(b)s(oundary)-8 b(.)43 b(The)31 b(killed)630 2592 y(text)g(is)g(sa)m(v) +m(ed)g(on)g(the)f(kill-ring.)150 2755 y Ft(unix-filename-rubout)25 +b(\(\))630 2864 y Fu(Kill)37 b(the)f(w)m(ord)g(b)s(ehind)f(p)s(oin)m (t,)j(using)e(white)g(space)h(and)f(the)g(slash)g(c)m(haracter)i(as)f -(the)630 1928 y(w)m(ord)30 b(b)s(oundaries.)39 b(The)30 +(the)630 2974 y(w)m(ord)30 b(b)s(oundaries.)39 b(The)30 b(killed)h(text)g(is)g(sa)m(v)m(ed)g(on)g(the)f(kill-ring.)150 -2089 y Ft(delete-horizontal-space)24 b(\(\))630 2198 +3137 y Ft(delete-horizontal-space)24 b(\(\))630 3246 y Fu(Delete)33 b(all)e(spaces)g(and)e(tabs)i(around)e(p)s(oin)m(t.)41 -b(By)31 b(default,)f(this)h(is)f(un)m(b)s(ound.)150 2359 -y Ft(kill-region)d(\(\))630 2469 y Fu(Kill)k(the)f(text)i(in)e(the)g +b(By)31 b(default,)f(this)h(is)f(un)m(b)s(ound.)150 3409 +y Ft(kill-region)d(\(\))630 3519 y Fu(Kill)k(the)f(text)i(in)e(the)g (curren)m(t)h(region.)41 b(By)31 b(default,)f(this)h(command)f(is)g(un) -m(b)s(ound.)150 2629 y Ft(copy-region-as-kill)25 b(\(\))630 -2739 y Fu(Cop)m(y)34 b(the)g(text)h(in)f(the)g(region)g(to)h(the)f +m(b)s(ound.)150 3682 y Ft(copy-region-as-kill)25 b(\(\))630 +3791 y Fu(Cop)m(y)34 b(the)g(text)h(in)f(the)g(region)g(to)h(the)f (kill)h(bu\013er,)f(so)g(it)h(can)f(b)s(e)f(y)m(ank)m(ed)i(righ)m(t)f -(a)m(w)m(a)m(y)-8 b(.)630 2848 y(By)31 b(default,)f(this)h(command)f -(is)g(un)m(b)s(ound.)150 3009 y Ft(copy-backward-word)25 -b(\(\))630 3119 y Fu(Cop)m(y)38 b(the)h(w)m(ord)f(b)s(efore)g(p)s(oin)m +(a)m(w)m(a)m(y)-8 b(.)630 3901 y(By)31 b(default,)f(this)h(command)f +(is)g(un)m(b)s(ound.)150 4064 y Ft(copy-backward-word)25 +b(\(\))630 4173 y Fu(Cop)m(y)38 b(the)h(w)m(ord)f(b)s(efore)g(p)s(oin)m (t)g(to)i(the)e(kill)h(bu\013er.)64 b(The)38 b(w)m(ord)g(b)s(oundaries) -f(are)i(the)630 3228 y(same)31 b(as)f Ft(backward-word)p +f(are)i(the)630 4283 y(same)31 b(as)f Ft(backward-word)p Fu(.)38 b(By)30 b(default,)h(this)f(command)g(is)h(un)m(b)s(ound.)150 -3389 y Ft(copy-forward-word)26 b(\(\))630 3499 y Fu(Cop)m(y)31 +4446 y Ft(copy-forward-word)26 b(\(\))630 4556 y Fu(Cop)m(y)31 b(the)g(w)m(ord)g(follo)m(wing)h(p)s(oin)m(t)f(to)h(the)f(kill)h (bu\013er.)42 b(The)30 b(w)m(ord)h(b)s(oundaries)e(are)j(the)630 -3608 y(same)f(as)f Ft(forward-word)p Fu(.)38 b(By)30 +4665 y(same)f(as)f Ft(forward-word)p Fu(.)38 b(By)30 b(default,)h(this)g(command)f(is)g(un)m(b)s(ound.)150 -3769 y Ft(yank)f(\(C-y\))630 3878 y Fu(Y)-8 b(ank)31 +4828 y Ft(yank)f(\(C-y\))630 4938 y Fu(Y)-8 b(ank)31 b(the)f(top)h(of)g(the)f(kill)h(ring)f(in)m(to)i(the)e(bu\013er)g(at)h -(p)s(oin)m(t.)150 4039 y Ft(yank-pop)d(\(M-y\))630 4149 +(p)s(oin)m(t.)150 5101 y Ft(yank-pop)d(\(M-y\))630 5210 y Fu(Rotate)36 b(the)f(kill-ring,)i(and)d(y)m(ank)h(the)f(new)g(top.)54 b(Y)-8 b(ou)35 b(can)g(only)f(do)h(this)f(if)h(the)g(prior)630 -4258 y(command)30 b(is)h Ft(yank)e Fu(or)h Ft(yank-pop)p -Fu(.)150 4459 y Fk(8.4.5)63 b(Sp)s(ecifying)42 b(Numeric)f(Argumen)m -(ts)150 4631 y Ft(digit-argument)26 b(\()p Fj(M-0)p Ft(,)j -Fj(M-1)p Ft(,)h(...)f Fj(M--)p Ft(\))630 4741 y Fu(Add)d(this)h(digit)g -(to)h(the)f(argumen)m(t)g(already)h(accum)m(ulating,)h(or)e(start)h(a)f -(new)f(argumen)m(t.)630 4851 y Fj(M--)j Fu(starts)i(a)g(negativ)m(e)i -(argumen)m(t.)150 5011 y Ft(universal-argument)25 b(\(\))630 -5121 y Fu(This)g(is)g(another)h(w)m(a)m(y)g(to)h(sp)s(ecify)e(an)g -(argumen)m(t.)40 b(If)25 b(this)g(command)h(is)f(follo)m(w)m(ed)i(b)m -(y)f(one)630 5230 y(or)k(more)f(digits,)i(optionally)g(with)e(a)h -(leading)h(min)m(us)e(sign,)h(those)g(digits)g(de\014ne)f(the)h(ar-)630 -5340 y(gumen)m(t.)41 b(If)28 b(the)i(command)f(is)g(follo)m(w)m(ed)h(b) -m(y)f(digits,)i(executing)f Ft(universal-argument)p eop -end -%%Page: 120 126 -TeXDict begin 120 125 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(120)630 299 y(again)33 -b(ends)e(the)h(n)m(umeric)f(argumen)m(t,)i(but)e(is)h(otherwise)g -(ignored.)45 b(As)32 b(a)g(sp)s(ecial)h(case,)630 408 -y(if)g(this)g(command)f(is)h(immediately)h(follo)m(w)m(ed)h(b)m(y)d(a)h -(c)m(haracter)i(that)e(is)g(neither)g(a)g(digit)630 518 -y(or)28 b(min)m(us)f(sign,)i(the)f(argumen)m(t)g(coun)m(t)h(for)e(the)i -(next)f(command)f(is)h(m)m(ultiplied)h(b)m(y)e(four.)630 -628 y(The)37 b(argumen)m(t)h(coun)m(t)f(is)h(initially)h(one,)g(so)f -(executing)g(this)f(function)g(the)h(\014rst)e(time)630 -737 y(mak)m(es)d(the)e(argumen)m(t)i(coun)m(t)f(four,)f(a)i(second)e -(time)i(mak)m(es)f(the)g(argumen)m(t)g(coun)m(t)h(six-)630 -847 y(teen,)e(and)f(so)h(on.)40 b(By)31 b(default,)g(this)f(is)g(not)h -(b)s(ound)d(to)j(a)g(k)m(ey)-8 b(.)150 1052 y Fk(8.4.6)63 +5320 y(command)30 b(is)h Ft(yank)e Fu(or)h Ft(yank-pop)p +Fu(.)p eop end +%%Page: 124 130 +TeXDict begin 124 129 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(124)150 299 y Fk(8.4.5)63 +b(Sp)s(ecifying)42 b(Numeric)f(Argumen)m(ts)150 477 y +Ft(digit-argument)26 b(\()p Fj(M-0)p Ft(,)j Fj(M-1)p +Ft(,)h(...)f Fj(M--)p Ft(\))630 586 y Fu(Add)d(this)h(digit)g(to)h(the) +f(argumen)m(t)g(already)h(accum)m(ulating,)h(or)e(start)h(a)f(new)f +(argumen)m(t.)630 696 y Fj(M--)j Fu(starts)i(a)g(negativ)m(e)i(argumen) +m(t.)150 867 y Ft(universal-argument)25 b(\(\))630 977 +y Fu(This)g(is)g(another)h(w)m(a)m(y)g(to)h(sp)s(ecify)e(an)g(argumen)m +(t.)40 b(If)25 b(this)g(command)h(is)f(follo)m(w)m(ed)i(b)m(y)f(one)630 +1087 y(or)k(more)f(digits,)i(optionally)g(with)e(a)h(leading)h(min)m +(us)e(sign,)h(those)g(digits)g(de\014ne)f(the)h(ar-)630 +1196 y(gumen)m(t.)41 b(If)28 b(the)i(command)f(is)g(follo)m(w)m(ed)h(b) +m(y)f(digits,)i(executing)f Ft(universal-argument)630 +1306 y Fu(again)j(ends)e(the)h(n)m(umeric)f(argumen)m(t,)i(but)e(is)h +(otherwise)g(ignored.)45 b(As)32 b(a)g(sp)s(ecial)h(case,)630 +1415 y(if)g(this)g(command)f(is)h(immediately)h(follo)m(w)m(ed)h(b)m(y) +d(a)h(c)m(haracter)i(that)e(is)g(neither)g(a)g(digit)630 +1525 y(nor)41 b(min)m(us)f(sign,)k(the)e(argumen)m(t)f(coun)m(t)h(for)f +(the)h(next)f(command)g(is)g(m)m(ultiplied)h(b)m(y)630 +1635 y(four.)54 b(The)35 b(argumen)m(t)g(coun)m(t)h(is)f(initially)h +(one,)h(so)e(executing)i(this)e(function)f(the)i(\014rst)630 +1744 y(time)29 b(mak)m(es)h(the)e(argumen)m(t)i(coun)m(t)f(four,)f(a)h +(second)g(time)g(mak)m(es)h(the)e(argumen)m(t)h(coun)m(t)630 +1854 y(sixteen,)i(and)f(so)h(on.)40 b(By)31 b(default,)g(this)f(is)g +(not)h(b)s(ound)d(to)k(a)e(k)m(ey)-8 b(.)150 2065 y Fk(8.4.6)63 b(Letting)40 b(Readline)h(T)m(yp)s(e)g(F)-10 b(or)42 -b(Y)-10 b(ou)150 1226 y Ft(complete)28 b(\(TAB\))630 -1336 y Fu(A)m(ttempt)c(to)f(p)s(erform)e(completion)j(on)f(the)g(text)g +b(Y)-10 b(ou)150 2243 y Ft(complete)28 b(\(TAB\))630 +2353 y Fu(A)m(ttempt)c(to)f(p)s(erform)e(completion)j(on)f(the)g(text)g (b)s(efore)f(p)s(oin)m(t.)39 b(The)22 b(actual)i(completion)630 -1445 y(p)s(erformed)33 b(is)h(application-sp)s(eci\014c.)53 +2462 y(p)s(erformed)33 b(is)h(application-sp)s(eci\014c.)53 b(Bash)35 b(attempts)g(completion)g(treating)h(the)e(text)630 -1555 y(as)39 b(a)h(v)-5 b(ariable)39 b(\(if)h(the)f(text)h(b)s(egins)e +2572 y(as)39 b(a)h(v)-5 b(ariable)39 b(\(if)h(the)f(text)h(b)s(egins)e (with)h(`)p Ft($)p Fu('\),)j(username)c(\(if)i(the)f(text)h(b)s(egins)e -(with)630 1665 y(`)p Ft(~)p Fu('\),)31 b(hostname)f(\(if)g(the)g(text)h +(with)630 2681 y(`)p Ft(~)p Fu('\),)31 b(hostname)f(\(if)g(the)g(text)h (b)s(egins)e(with)h(`)p Ft(@)p Fu('\),)h(or)f(command)f(\(including)h -(aliases)i(and)630 1774 y(functions\))j(in)f(turn.)53 +(aliases)i(and)630 2791 y(functions\))j(in)f(turn.)53 b(If)34 b(none)g(of)h(these)h(pro)s(duces)d(a)i(matc)m(h,)i(\014lename) -e(completion)h(is)630 1884 y(attempted.)150 2049 y Ft -(possible-completions)25 b(\(M-?\))630 2158 y Fu(List)35 +e(completion)h(is)630 2901 y(attempted.)150 3072 y Ft +(possible-completions)25 b(\(M-?\))630 3182 y Fu(List)35 b(the)g(p)s(ossible)f(completions)i(of)e(the)h(text)h(b)s(efore)e(p)s -(oin)m(t.)54 b(When)34 b(displa)m(ying)h(com-)630 2268 +(oin)m(t.)54 b(When)34 b(displa)m(ying)h(com-)630 3291 y(pletions,)f(Readline)f(sets)f(the)h(n)m(um)m(b)s(er)e(of)i(columns)f (used)f(for)i(displa)m(y)f(to)h(the)g(v)-5 b(alue)33 -b(of)630 2378 y Ft(completion-display-width)o Fu(,)g(the)j(v)-5 +b(of)630 3401 y Ft(completion-display-width)o Fu(,)g(the)j(v)-5 b(alue)37 b(of)g(the)f(en)m(vironmen)m(t)h(v)-5 b(ariable)38 -b Ft(COLUMNS)p Fu(,)630 2487 y(or)30 b(the)h(screen)f(width,)g(in)g -(that)h(order.)150 2652 y Ft(insert-completions)25 b(\(M-*\))630 -2762 y Fu(Insert)30 b(all)h(completions)h(of)f(the)g(text)g(b)s(efore)f +b Ft(COLUMNS)p Fu(,)630 3510 y(or)30 b(the)h(screen)f(width,)g(in)g +(that)h(order.)150 3682 y Ft(insert-completions)25 b(\(M-*\))630 +3791 y Fu(Insert)30 b(all)h(completions)h(of)f(the)g(text)g(b)s(efore)f (p)s(oin)m(t)h(that)g(w)m(ould)f(ha)m(v)m(e)i(b)s(een)e(generated)630 -2871 y(b)m(y)g Ft(possible-completions)p Fu(.)150 3036 -y Ft(menu-complete)d(\(\))630 3146 y Fu(Similar)d(to)g +3901 y(b)m(y)g Ft(possible-completions)p Fu(.)150 4073 +y Ft(menu-complete)d(\(\))630 4182 y Fu(Similar)d(to)g Ft(complete)p Fu(,)f(but)h(replaces)g(the)g(w)m(ord)g(to)g(b)s(e)f -(completed)i(with)e(a)i(single)f(matc)m(h)630 3255 y(from)37 +(completed)i(with)e(a)i(single)f(matc)m(h)630 4292 y(from)37 b(the)h(list)h(of)f(p)s(ossible)f(completions.)64 b(Rep)s(eated)39 -b(execution)g(of)f Ft(menu-complete)630 3365 y Fu(steps)i(through)g +b(execution)g(of)f Ft(menu-complete)630 4401 y Fu(steps)i(through)g (the)g(list)h(of)f(p)s(ossible)g(completions,)k(inserting)c(eac)m(h)i -(matc)m(h)f(in)f(turn.)630 3475 y(A)m(t)e(the)f(end)f(of)h(the)g(list)g +(matc)m(h)f(in)f(turn.)630 4511 y(A)m(t)e(the)f(end)f(of)h(the)g(list)g (of)g(completions,)i(the)e(b)s(ell)g(is)g(rung)f(\(sub)5 -b(ject)36 b(to)i(the)f(setting)630 3584 y(of)f Ft(bell-style)p +b(ject)36 b(to)i(the)f(setting)630 4621 y(of)f Ft(bell-style)p Fu(\))e(and)h(the)h(original)i(text)f(is)f(restored.)57 b(An)36 b(argumen)m(t)h(of)f Fr(n)f Fu(mo)m(v)m(es)i -Fr(n)630 3694 y Fu(p)s(ositions)e(forw)m(ard)f(in)g(the)h(list)h(of)e +Fr(n)630 4730 y Fu(p)s(ositions)e(forw)m(ard)f(in)g(the)h(list)h(of)e (matc)m(hes;)39 b(a)c(negativ)m(e)i(argumen)m(t)e(ma)m(y)g(b)s(e)f -(used)g(to)630 3803 y(mo)m(v)m(e)40 b(bac)m(kw)m(ard)e(through)g(the)g +(used)g(to)630 4840 y(mo)m(v)m(e)40 b(bac)m(kw)m(ard)e(through)g(the)g (list.)65 b(This)38 b(command)g(is)g(in)m(tended)g(to)h(b)s(e)f(b)s -(ound)e(to)630 3913 y Ft(TAB)p Fu(,)30 b(but)f(is)i(un)m(b)s(ound)d(b)m -(y)i(default.)150 4078 y Ft(menu-complete-backward)24 -b(\(\))630 4188 y Fu(Iden)m(tical)36 b(to)g Ft(menu-complete)p +(ound)e(to)630 4949 y Ft(TAB)p Fu(,)30 b(but)f(is)i(un)m(b)s(ound)d(b)m +(y)i(default.)150 5121 y Ft(menu-complete-backward)24 +b(\(\))630 5230 y Fu(Iden)m(tical)36 b(to)g Ft(menu-complete)p Fu(,)d(but)h(mo)m(v)m(es)j(bac)m(kw)m(ard)e(through)f(the)i(list)f(of)g -(p)s(ossible)630 4297 y(completions,)d(as)e(if)h Ft(menu-complete)26 -b Fu(had)k(b)s(een)g(giv)m(en)h(a)g(negativ)m(e)i(argumen)m(t.)150 -4462 y Ft(delete-char-or-list)25 b(\(\))630 4572 y Fu(Deletes)41 +(p)s(ossible)630 5340 y(completions,)d(as)e(if)h Ft(menu-complete)26 +b Fu(had)k(b)s(een)g(giv)m(en)h(a)g(negativ)m(e)i(argumen)m(t.)p +eop end +%%Page: 125 131 +TeXDict begin 125 130 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(125)150 299 y Ft +(delete-char-or-list)25 b(\(\))630 408 y Fu(Deletes)41 b(the)e(c)m(haracter)h(under)e(the)h(cursor)f(if)h(not)g(at)g(the)h(b)s -(eginning)e(or)h(end)f(of)h(the)630 4681 y(line)50 b(\(lik)m(e)h +(eginning)e(or)h(end)f(of)h(the)630 518 y(line)50 b(\(lik)m(e)h Ft(delete-char)p Fu(\).)96 b(If)49 b(at)h(the)g(end)f(of)h(the)f(line,) -55 b(b)s(eha)m(v)m(es)c(iden)m(tically)g(to)630 4791 -y Ft(possible-completions)p Fu(.)35 b(This)30 b(command)g(is)g(un)m(b)s -(ound)e(b)m(y)i(default.)150 4956 y Ft(complete-filename)c(\(M-/\))630 -5065 y Fu(A)m(ttempt)32 b(\014lename)e(completion)i(on)e(the)h(text)g -(b)s(efore)f(p)s(oin)m(t.)150 5230 y Ft(possible-filename-comple)o -(tion)o(s)24 b(\(C-x)30 b(/\))630 5340 y Fu(List)f(the)g(p)s(ossible)f +55 b(b)s(eha)m(v)m(es)c(iden)m(tically)g(to)630 628 y +Ft(possible-completions)p Fu(.)35 b(This)30 b(command)g(is)g(un)m(b)s +(ound)e(b)m(y)i(default.)150 803 y Ft(complete-filename)c(\(M-/\))630 +913 y Fu(A)m(ttempt)32 b(\014lename)e(completion)i(on)e(the)h(text)g(b) +s(efore)f(p)s(oin)m(t.)150 1088 y Ft(possible-filename-comple)o(tion)o +(s)24 b(\(C-x)30 b(/\))630 1197 y Fu(List)f(the)g(p)s(ossible)f (completions)h(of)g(the)g(text)g(b)s(efore)g(p)s(oin)m(t,)g(treating)h -(it)f(as)g(a)f(\014lename.)p eop end -%%Page: 121 127 -TeXDict begin 121 126 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(121)150 299 y Ft -(complete-username)26 b(\(M-~\))630 408 y Fu(A)m(ttempt)32 -b(completion)f(on)g(the)f(text)i(b)s(efore)e(p)s(oin)m(t,)g(treating)i -(it)f(as)f(a)h(username.)150 569 y Ft(possible-username-comple)o(tion)o -(s)24 b(\(C-x)30 b(~\))630 679 y Fu(List)25 b(the)g(p)s(ossible)g -(completions)h(of)f(the)g(text)h(b)s(efore)f(p)s(oin)m(t,)h(treating)g -(it)g(as)f(a)g(username.)150 839 y Ft(complete-variable)h(\(M-$\))630 -949 y Fu(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i(b)s(efore)e(p)s -(oin)m(t,)g(treating)i(it)f(as)f(a)h(shell)g(v)-5 b(ariable.)150 -1110 y Ft(possible-variable-comple)o(tion)o(s)24 b(\(C-x)30 -b($\))630 1219 y Fu(List)42 b(the)g(p)s(ossible)g(completions)h(of)f +(it)f(as)g(a)f(\014lename.)150 1373 y Ft(complete-username)e(\(M-~\)) +630 1482 y Fu(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i(b)s(efore) +e(p)s(oin)m(t,)g(treating)i(it)f(as)f(a)h(username.)150 +1658 y Ft(possible-username-comple)o(tion)o(s)24 b(\(C-x)30 +b(~\))630 1767 y Fu(List)25 b(the)g(p)s(ossible)g(completions)h(of)f +(the)g(text)h(b)s(efore)f(p)s(oin)m(t,)h(treating)g(it)g(as)f(a)g +(username.)150 1942 y Ft(complete-variable)h(\(M-$\))630 +2052 y Fu(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i(b)s(efore)e(p) +s(oin)m(t,)g(treating)i(it)f(as)f(a)h(shell)g(v)-5 b(ariable.)150 +2227 y Ft(possible-variable-comple)o(tion)o(s)24 b(\(C-x)30 +b($\))630 2337 y Fu(List)42 b(the)g(p)s(ossible)g(completions)h(of)f (the)g(text)h(b)s(efore)e(p)s(oin)m(t,)46 b(treating)d(it)f(as)g(a)h -(shell)630 1329 y(v)-5 b(ariable.)150 1490 y Ft(complete-hostname)26 -b(\(M-@\))630 1599 y Fu(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i +(shell)630 2446 y(v)-5 b(ariable.)150 2622 y Ft(complete-hostname)26 +b(\(M-@\))630 2731 y Fu(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i (b)s(efore)e(p)s(oin)m(t,)g(treating)i(it)f(as)f(a)h(hostname.)150 -1760 y Ft(possible-hostname-comple)o(tion)o(s)24 b(\(C-x)30 -b(@\))630 1869 y Fu(List)25 b(the)g(p)s(ossible)f(completions)h(of)g +2907 y Ft(possible-hostname-comple)o(tion)o(s)24 b(\(C-x)30 +b(@\))630 3016 y Fu(List)25 b(the)g(p)s(ossible)f(completions)h(of)g (the)g(text)g(b)s(efore)g(p)s(oin)m(t,)h(treating)g(it)f(as)f(a)h -(hostname.)150 2030 y Ft(complete-command)h(\(M-!\))630 -2140 y Fu(A)m(ttempt)32 b(completion)g(on)f(the)g(text)h(b)s(efore)e(p) +(hostname.)150 3191 y Ft(complete-command)h(\(M-!\))630 +3301 y Fu(A)m(ttempt)32 b(completion)g(on)f(the)g(text)h(b)s(efore)e(p) s(oin)m(t,)h(treating)h(it)g(as)f(a)g(command)g(name.)630 -2249 y(Command)46 b(completion)i(attempts)g(to)f(matc)m(h)h(the)f(text) -h(against)g(aliases,)53 b(reserv)m(ed)630 2359 y(w)m(ords,)36 +3411 y(Command)46 b(completion)i(attempts)g(to)f(matc)m(h)h(the)f(text) +h(against)g(aliases,)53 b(reserv)m(ed)630 3520 y(w)m(ords,)36 b(shell)g(functions,)h(shell)e(builtins,)i(and)e(\014nally)g -(executable)i(\014lenames,)g(in)e(that)630 2469 y(order.)150 -2629 y Ft(possible-command-complet)o(ions)24 b(\(C-x)29 -b(!\))630 2739 y Fu(List)d(the)h(p)s(ossible)f(completions)h(of)f(the)h +(executable)i(\014lenames,)g(in)e(that)630 3630 y(order.)150 +3805 y Ft(possible-command-complet)o(ions)24 b(\(C-x)29 +b(!\))630 3915 y Fu(List)d(the)h(p)s(ossible)f(completions)h(of)f(the)h (text)g(b)s(efore)f(p)s(oin)m(t,)h(treating)g(it)g(as)g(a)f(command)630 -2848 y(name.)150 3009 y Ft(dynamic-complete-history)e(\(M-TAB\))630 -3119 y Fu(A)m(ttempt)31 b(completion)h(on)e(the)g(text)h(b)s(efore)f(p) +4024 y(name.)150 4200 y Ft(dynamic-complete-history)e(\(M-TAB\))630 +4309 y Fu(A)m(ttempt)31 b(completion)h(on)e(the)g(text)h(b)s(efore)f(p) s(oin)m(t,)g(comparing)h(the)f(text)h(against)h(lines)630 -3228 y(from)e(the)g(history)h(list)g(for)f(p)s(ossible)g(completion)i -(matc)m(hes.)150 3389 y Ft(dabbrev-expand)26 b(\(\))630 -3499 y Fu(A)m(ttempt)i(men)m(u)e(completion)i(on)f(the)g(text)g(b)s +4419 y(from)e(the)g(history)h(list)g(for)f(p)s(ossible)g(completion)i +(matc)m(hes.)150 4594 y Ft(dabbrev-expand)26 b(\(\))630 +4704 y Fu(A)m(ttempt)i(men)m(u)e(completion)i(on)f(the)g(text)g(b)s (efore)f(p)s(oin)m(t,)i(comparing)f(the)g(text)h(against)630 -3608 y(lines)j(from)e(the)i(history)f(list)h(for)g(p)s(ossible)e -(completion)j(matc)m(hes.)150 3769 y Ft(complete-into-braces)25 -b(\(M-{\))630 3878 y Fu(P)m(erform)f(\014lename)f(completion)i(and)f +4813 y(lines)j(from)e(the)i(history)f(list)h(for)g(p)s(ossible)e +(completion)j(matc)m(hes.)150 4988 y Ft(complete-into-braces)25 +b(\(M-{\))630 5098 y Fu(P)m(erform)f(\014lename)f(completion)i(and)f (insert)f(the)h(list)g(of)g(p)s(ossible)f(completions)i(enclosed)630 -3988 y(within)34 b(braces)h(so)f(the)h(list)g(is)g(a)m(v)-5 +5208 y(within)34 b(braces)h(so)f(the)h(list)g(is)g(a)m(v)-5 b(ailable)37 b(to)e(the)g(shell)g(\(see)g(Section)h(3.5.1)g([Brace)g -(Ex-)630 4098 y(pansion],)30 b(page)h(21\).)150 4298 -y Fk(8.4.7)63 b(Keyb)s(oard)41 b(Macros)150 4471 y Ft(start-kbd-macro) -26 b(\(C-x)j(\(\))630 4580 y Fu(Begin)i(sa)m(ving)h(the)e(c)m -(haracters)i(t)m(yp)s(ed)e(in)m(to)h(the)g(curren)m(t)f(k)m(eyb)s(oard) -g(macro.)150 4741 y Ft(end-kbd-macro)d(\(C-x)i(\)\))630 -4851 y Fu(Stop)e(sa)m(ving)h(the)g(c)m(haracters)g(t)m(yp)s(ed)f(in)m -(to)i(the)e(curren)m(t)g(k)m(eyb)s(oard)g(macro)h(and)f(sa)m(v)m(e)i -(the)630 4960 y(de\014nition.)150 5121 y Ft(call-last-kbd-macro)c -(\(C-x)k(e\))630 5230 y Fu(Re-execute)37 b(the)e(last)h(k)m(eyb)s(oard) -f(macro)h(de\014ned,)f(b)m(y)h(making)f(the)g(c)m(haracters)i(in)e(the) -630 5340 y(macro)c(app)s(ear)f(as)g(if)h(t)m(yp)s(ed)f(at)h(the)f(k)m -(eyb)s(oard.)p eop end -%%Page: 122 128 -TeXDict begin 122 127 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(122)150 299 y Ft -(print-last-kbd-macro)25 b(\(\))630 408 y Fu(Prin)m(t)30 -b(the)h(last)g(k)m(eb)s(oard)f(macro)h(de\014ned)e(in)i(a)f(format)h -(suitable)g(for)f(the)h Fr(inputrc)k Fu(\014le.)150 604 -y Fk(8.4.8)63 b(Some)41 b(Miscellaneous)i(Commands)150 -774 y Ft(re-read-init-file)26 b(\(C-x)j(C-r\))630 884 -y Fu(Read)22 b(in)g(the)g(con)m(ten)m(ts)h(of)f(the)g +(Ex-)630 5317 y(pansion],)30 b(page)h(21\).)p eop end +%%Page: 126 132 +TeXDict begin 126 131 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(126)150 299 y Fk(8.4.7)63 +b(Keyb)s(oard)41 b(Macros)150 469 y Ft(start-kbd-macro)26 +b(\(C-x)j(\(\))630 579 y Fu(Begin)i(sa)m(ving)h(the)e(c)m(haracters)i +(t)m(yp)s(ed)e(in)m(to)h(the)g(curren)m(t)f(k)m(eyb)s(oard)g(macro.)150 +735 y Ft(end-kbd-macro)d(\(C-x)i(\)\))630 845 y Fu(Stop)e(sa)m(ving)h +(the)g(c)m(haracters)g(t)m(yp)s(ed)f(in)m(to)i(the)e(curren)m(t)g(k)m +(eyb)s(oard)g(macro)h(and)f(sa)m(v)m(e)i(the)630 954 +y(de\014nition.)150 1110 y Ft(call-last-kbd-macro)c(\(C-x)k(e\))630 +1220 y Fu(Re-execute)37 b(the)e(last)h(k)m(eyb)s(oard)f(macro)h +(de\014ned,)f(b)m(y)h(making)f(the)g(c)m(haracters)i(in)e(the)630 +1329 y(macro)c(app)s(ear)f(as)g(if)h(t)m(yp)s(ed)f(at)h(the)f(k)m(eyb)s +(oard.)150 1486 y Ft(print-last-kbd-macro)25 b(\(\))630 +1595 y Fu(Prin)m(t)30 b(the)h(last)g(k)m(eb)s(oard)f(macro)h(de\014ned) +e(in)i(a)f(format)h(suitable)g(for)f(the)h Fr(inputrc)k +Fu(\014le.)150 1791 y Fk(8.4.8)63 b(Some)41 b(Miscellaneous)i(Commands) +150 1962 y Ft(re-read-init-file)26 b(\(C-x)j(C-r\))630 +2071 y Fu(Read)22 b(in)g(the)g(con)m(ten)m(ts)h(of)f(the)g Fr(inputrc)27 b Fu(\014le,)d(and)d(incorp)s(orate)h(an)m(y)h(bindings)d -(or)i(v)-5 b(ariable)630 994 y(assignmen)m(ts)31 b(found)e(there.)150 -1150 y Ft(abort)g(\(C-g\))630 1259 y Fu(Ab)s(ort)d(the)h(curren)m(t)f +(or)i(v)-5 b(ariable)630 2181 y(assignmen)m(ts)31 b(found)e(there.)150 +2337 y Ft(abort)g(\(C-g\))630 2447 y Fu(Ab)s(ort)d(the)h(curren)m(t)f (editing)h(command)f(and)g(ring)h(the)f(terminal's)h(b)s(ell)g(\(sub)5 -b(ject)26 b(to)i(the)630 1369 y(setting)j(of)g Ft(bell-style)p -Fu(\).)150 1525 y Ft(do-uppercase-version)25 b(\(M-a,)k(M-b,)g(M-)p -Fj(x)p Ft(,)g(...)o(\))630 1634 y Fu(If)e(the)h(meta\014ed)g(c)m +b(ject)26 b(to)i(the)630 2556 y(setting)j(of)g Ft(bell-style)p +Fu(\).)150 2712 y Ft(do-uppercase-version)25 b(\(M-a,)k(M-b,)g(M-)p +Fj(x)p Ft(,)g(...)o(\))630 2822 y Fu(If)e(the)h(meta\014ed)g(c)m (haracter)h Fr(x)34 b Fu(is)28 b(lo)m(w)m(ercase,)i(run)d(the)g -(command)h(that)g(is)g(b)s(ound)d(to)k(the)630 1744 y(corresp)s(onding) -g(upp)s(ercase)h(c)m(haracter.)150 1900 y Ft(prefix-meta)d(\(ESC\))630 -2010 y Fu(Metafy)39 b(the)e(next)h(c)m(haracter)h(t)m(yp)s(ed.)62 +(command)h(that)g(is)g(b)s(ound)d(to)k(the)630 2932 y(corresp)s(onding) +g(upp)s(ercase)h(c)m(haracter.)150 3088 y Ft(prefix-meta)d(\(ESC\))630 +3197 y Fu(Metafy)39 b(the)e(next)h(c)m(haracter)h(t)m(yp)s(ed.)62 b(This)37 b(is)g(for)h(k)m(eyb)s(oards)f(without)g(a)h(meta)g(k)m(ey)-8 -b(.)630 2119 y(T)m(yping)30 b(`)p Ft(ESC)g(f)p Fu(')g(is)h(equiv)-5 -b(alen)m(t)31 b(to)g(t)m(yping)g Fj(M-f)p Fu(.)150 2275 -y Ft(undo)e(\(C-_)g(or)h(C-x)g(C-u\))630 2385 y Fu(Incremen)m(tal)h +b(.)630 3307 y(T)m(yping)30 b(`)p Ft(ESC)g(f)p Fu(')g(is)h(equiv)-5 +b(alen)m(t)31 b(to)g(t)m(yping)g Fj(M-f)p Fu(.)150 3463 +y Ft(undo)e(\(C-_)g(or)h(C-x)g(C-u\))630 3573 y Fu(Incremen)m(tal)h (undo,)f(separately)h(remem)m(b)s(ered)f(for)g(eac)m(h)i(line.)150 -2541 y Ft(revert-line)27 b(\(M-r\))630 2650 y Fu(Undo)33 +3729 y Ft(revert-line)27 b(\(M-r\))630 3838 y Fu(Undo)33 b(all)h(c)m(hanges)g(made)f(to)h(this)f(line.)49 b(This)32 b(is)h(lik)m(e)i(executing)f(the)f Ft(undo)f Fu(command)630 -2760 y(enough)e(times)h(to)g(get)h(bac)m(k)f(to)g(the)f(b)s(eginning.) -150 2916 y Ft(tilde-expand)d(\(M-&\))630 3026 y Fu(P)m(erform)j(tilde)h -(expansion)g(on)f(the)g(curren)m(t)h(w)m(ord.)150 3182 -y Ft(set-mark)d(\(C-@\))630 3291 y Fu(Set)33 b(the)g(mark)f(to)i(the)f +3948 y(enough)e(times)h(to)g(get)h(bac)m(k)f(to)g(the)f(b)s(eginning.) +150 4104 y Ft(tilde-expand)d(\(M-&\))630 4214 y Fu(P)m(erform)j(tilde)h +(expansion)g(on)f(the)g(curren)m(t)h(w)m(ord.)150 4370 +y Ft(set-mark)d(\(C-@\))630 4480 y Fu(Set)33 b(the)g(mark)f(to)i(the)f (p)s(oin)m(t.)48 b(If)32 b(a)h(n)m(umeric)g(argumen)m(t)g(is)g -(supplied,)f(the)h(mark)g(is)f(set)630 3401 y(to)f(that)g(p)s(osition.) -150 3557 y Ft(exchange-point-and-mark)24 b(\(C-x)29 b(C-x\))630 -3666 y Fu(Sw)m(ap)i(the)g(p)s(oin)m(t)g(with)g(the)g(mark.)43 +(supplied,)f(the)h(mark)g(is)f(set)630 4589 y(to)f(that)g(p)s(osition.) +150 4745 y Ft(exchange-point-and-mark)24 b(\(C-x)29 b(C-x\))630 +4855 y Fu(Sw)m(ap)i(the)g(p)s(oin)m(t)g(with)g(the)g(mark.)43 b(The)31 b(curren)m(t)g(cursor)f(p)s(osition)i(is)f(set)h(to)f(the)h -(sa)m(v)m(ed)630 3776 y(p)s(osition,)f(and)e(the)i(old)g(cursor)e(p)s -(osition)i(is)f(sa)m(v)m(ed)i(as)e(the)h(mark.)150 3932 -y Ft(character-search)26 b(\(C-]\))630 4042 y Fu(A)f(c)m(haracter)h(is) +(sa)m(v)m(ed)630 4965 y(p)s(osition,)f(and)e(the)i(old)g(cursor)e(p)s +(osition)i(is)f(sa)m(v)m(ed)i(as)e(the)h(mark.)150 5121 +y Ft(character-search)26 b(\(C-]\))630 5230 y Fu(A)f(c)m(haracter)h(is) f(read)g(and)f(p)s(oin)m(t)h(is)g(mo)m(v)m(ed)h(to)g(the)f(next)g(o)s -(ccurrence)g(of)g(that)g(c)m(haracter.)630 4151 y(A)30 +(ccurrence)g(of)g(that)g(c)m(haracter.)630 5340 y(A)30 b(negativ)m(e)j(coun)m(t)e(searc)m(hes)g(for)f(previous)g(o)s -(ccurrences.)150 4307 y Ft(character-search-backwar)o(d)24 -b(\(M-C-]\))630 4417 y Fu(A)45 b(c)m(haracter)h(is)f(read)g(and)f(p)s -(oin)m(t)h(is)g(mo)m(v)m(ed)h(to)f(the)g(previous)f(o)s(ccurrence)h(of) -g(that)630 4526 y(c)m(haracter.)d(A)31 b(negativ)m(e)h(coun)m(t)f -(searc)m(hes)h(for)e(subsequen)m(t)f(o)s(ccurrences.)150 -4682 y Ft(skip-csi-sequence)d(\(\))630 4792 y Fu(Read)i(enough)f(c)m -(haracters)h(to)g(consume)f(a)h(m)m(ulti-k)m(ey)h(sequence)f(suc)m(h)f -(as)g(those)h(de\014ned)630 4902 y(for)37 b(k)m(eys)h(lik)m(e)g(Home)g -(and)f(End.)60 b(Suc)m(h)37 b(sequences)g(b)s(egin)g(with)g(a)h(Con)m -(trol)g(Sequence)630 5011 y(Indicator)f(\(CSI\),)f(usually)h(ESC-[.)59 +(ccurrences.)p eop end +%%Page: 127 133 +TeXDict begin 127 132 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(127)150 299 y Ft +(character-search-backwar)o(d)24 b(\(M-C-]\))630 408 +y Fu(A)45 b(c)m(haracter)h(is)f(read)g(and)f(p)s(oin)m(t)h(is)g(mo)m(v) +m(ed)h(to)f(the)g(previous)f(o)s(ccurrence)h(of)g(that)630 +518 y(c)m(haracter.)d(A)31 b(negativ)m(e)h(coun)m(t)f(searc)m(hes)h +(for)e(subsequen)m(t)f(o)s(ccurrences.)150 722 y Ft(skip-csi-sequence)d +(\(\))630 831 y Fu(Read)i(enough)f(c)m(haracters)h(to)g(consume)f(a)h +(m)m(ulti-k)m(ey)h(sequence)f(suc)m(h)f(as)g(those)h(de\014ned)630 +941 y(for)37 b(k)m(eys)h(lik)m(e)g(Home)g(and)f(End.)60 +b(Suc)m(h)37 b(sequences)g(b)s(egin)g(with)g(a)h(Con)m(trol)g(Sequence) +630 1050 y(Indicator)f(\(CSI\),)f(usually)h(ESC-[.)59 b(If)36 b(this)g(sequence)h(is)g(b)s(ound)d(to)k Ft("\\)p -Fu(e[)p Ft(")p Fu(,)g(k)m(eys)f(pro-)630 5121 y(ducing)31 +Fu(e[)p Ft(")p Fu(,)g(k)m(eys)f(pro-)630 1160 y(ducing)31 b(suc)m(h)h(sequences)g(will)h(ha)m(v)m(e)g(no)f(e\013ect)h(unless)e -(explicitly)j(b)s(ound)c(to)i(a)h(readline)630 5230 y(command,)f +(explicitly)j(b)s(ound)c(to)i(a)h(readline)630 1270 y(command,)f (instead)g(of)g(inserting)g(stra)m(y)h(c)m(haracters)g(in)m(to)g(the)f -(editing)h(bu\013er.)44 b(This)31 b(is)630 5340 y(un)m(b)s(ound)d(b)m -(y)i(default,)h(but)f(usually)g(b)s(ound)e(to)j(ESC-[.)p -eop end -%%Page: 123 129 -TeXDict begin 123 128 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(123)150 299 y Ft(insert-comment)26 -b(\(M-#\))630 408 y Fu(Without)36 b(a)g(n)m(umeric)g(argumen)m(t,)h -(the)f(v)-5 b(alue)36 b(of)g(the)g Ft(comment-begin)c -Fu(v)-5 b(ariable)36 b(is)g(in-)630 518 y(serted)c(at)g(the)g(b)s -(eginning)f(of)h(the)f(curren)m(t)h(line.)45 b(If)31 -b(a)h(n)m(umeric)f(argumen)m(t)h(is)g(supplied,)630 628 -y(this)k(command)h(acts)g(as)g(a)g(toggle:)55 b(if)37 -b(the)f(c)m(haracters)i(at)g(the)e(b)s(eginning)g(of)h(the)g(line)630 -737 y(do)30 b(not)h(matc)m(h)h(the)f(v)-5 b(alue)31 b(of)f -Ft(comment-begin)p Fu(,)e(the)i(v)-5 b(alue)31 b(is)g(inserted,)g -(otherwise)g(the)630 847 y(c)m(haracters)42 b(in)d Ft(comment-begin)e -Fu(are)j(deleted)h(from)f(the)g(b)s(eginning)g(of)g(the)g(line.)71 -b(In)630 956 y(either)37 b(case,)j(the)e(line)f(is)g(accepted)i(as)e -(if)g(a)g(newline)g(had)g(b)s(een)f(t)m(yp)s(ed.)60 b(The)37 -b(default)630 1066 y(v)-5 b(alue)32 b(of)g Ft(comment-begin)c -Fu(causes)k(this)f(command)h(to)g(mak)m(e)h(the)e(curren)m(t)h(line)g -(a)g(shell)630 1176 y(commen)m(t.)40 b(If)26 b(a)h(n)m(umeric)f -(argumen)m(t)h(causes)g(the)f(commen)m(t)i(c)m(haracter)g(to)f(b)s(e)f -(remo)m(v)m(ed,)630 1285 y(the)31 b(line)f(will)h(b)s(e)f(executed)h(b) -m(y)f(the)h(shell.)150 1443 y Ft(dump-functions)26 b(\(\))630 -1553 y Fu(Prin)m(t)g(all)i(of)e(the)h(functions)f(and)g(their)g(k)m(ey) -h(bindings)e(to)j(the)e(Readline)h(output)f(stream.)630 -1663 y(If)31 b(a)h(n)m(umeric)g(argumen)m(t)g(is)g(supplied,)f(the)h +(editing)h(bu\013er.)44 b(This)31 b(is)630 1379 y(un)m(b)s(ound)d(b)m +(y)i(default,)h(but)f(usually)g(b)s(ound)e(to)j(ESC-[.)150 +1583 y Ft(insert-comment)26 b(\(M-#\))630 1692 y Fu(Without)36 +b(a)g(n)m(umeric)g(argumen)m(t,)h(the)f(v)-5 b(alue)36 +b(of)g(the)g Ft(comment-begin)c Fu(v)-5 b(ariable)36 +b(is)g(in-)630 1802 y(serted)c(at)g(the)g(b)s(eginning)f(of)h(the)f +(curren)m(t)h(line.)45 b(If)31 b(a)h(n)m(umeric)f(argumen)m(t)h(is)g +(supplied,)630 1911 y(this)k(command)h(acts)g(as)g(a)g(toggle:)55 +b(if)37 b(the)f(c)m(haracters)i(at)g(the)e(b)s(eginning)g(of)h(the)g +(line)630 2021 y(do)30 b(not)h(matc)m(h)h(the)f(v)-5 +b(alue)31 b(of)f Ft(comment-begin)p Fu(,)e(the)i(v)-5 +b(alue)31 b(is)g(inserted,)g(otherwise)g(the)630 2131 +y(c)m(haracters)42 b(in)d Ft(comment-begin)e Fu(are)j(deleted)h(from)f +(the)g(b)s(eginning)g(of)g(the)g(line.)71 b(In)630 2240 +y(either)37 b(case,)j(the)e(line)f(is)g(accepted)i(as)e(if)g(a)g +(newline)g(had)g(b)s(een)f(t)m(yp)s(ed.)60 b(The)37 b(default)630 +2350 y(v)-5 b(alue)32 b(of)g Ft(comment-begin)c Fu(causes)k(this)f +(command)h(to)g(mak)m(e)h(the)e(curren)m(t)h(line)g(a)g(shell)630 +2459 y(commen)m(t.)40 b(If)26 b(a)h(n)m(umeric)f(argumen)m(t)h(causes)g +(the)f(commen)m(t)i(c)m(haracter)g(to)f(b)s(e)f(remo)m(v)m(ed,)630 +2569 y(the)31 b(line)f(will)h(b)s(e)f(executed)h(b)m(y)f(the)h(shell.) +150 2772 y Ft(dump-functions)26 b(\(\))630 2882 y Fu(Prin)m(t)g(all)i +(of)e(the)h(functions)f(and)g(their)g(k)m(ey)h(bindings)e(to)j(the)e +(Readline)h(output)f(stream.)630 2992 y(If)31 b(a)h(n)m(umeric)g +(argumen)m(t)g(is)g(supplied,)f(the)h(output)f(is)h(formatted)g(in)f +(suc)m(h)h(a)g(w)m(a)m(y)g(that)630 3101 y(it)f(can)g(b)s(e)e(made)i +(part)f(of)g(an)h Fr(inputrc)k Fu(\014le.)41 b(This)29 +b(command)h(is)h(un)m(b)s(ound)c(b)m(y)k(default.)150 +3305 y Ft(dump-variables)26 b(\(\))630 3414 y Fu(Prin)m(t)21 +b(all)h(of)g(the)f(settable)i(v)-5 b(ariables)22 b(and)f(their)g(v)-5 +b(alues)22 b(to)g(the)f(Readline)h(output)f(stream.)630 +3524 y(If)31 b(a)h(n)m(umeric)g(argumen)m(t)g(is)g(supplied,)f(the)h (output)f(is)h(formatted)g(in)f(suc)m(h)h(a)g(w)m(a)m(y)g(that)630 -1772 y(it)f(can)g(b)s(e)e(made)i(part)f(of)g(an)h Fr(inputrc)k +3634 y(it)f(can)g(b)s(e)e(made)i(part)f(of)g(an)h Fr(inputrc)k Fu(\014le.)41 b(This)29 b(command)h(is)h(un)m(b)s(ound)c(b)m(y)k -(default.)150 1931 y Ft(dump-variables)26 b(\(\))630 -2040 y Fu(Prin)m(t)21 b(all)h(of)g(the)f(settable)i(v)-5 -b(ariables)22 b(and)f(their)g(v)-5 b(alues)22 b(to)g(the)f(Readline)h -(output)f(stream.)630 2150 y(If)31 b(a)h(n)m(umeric)g(argumen)m(t)g(is) -g(supplied,)f(the)h(output)f(is)h(formatted)g(in)f(suc)m(h)h(a)g(w)m(a) -m(y)g(that)630 2259 y(it)f(can)g(b)s(e)e(made)i(part)f(of)g(an)h -Fr(inputrc)k Fu(\014le.)41 b(This)29 b(command)h(is)h(un)m(b)s(ound)c -(b)m(y)k(default.)150 2418 y Ft(dump-macros)c(\(\))630 -2527 y Fu(Prin)m(t)34 b(all)g(of)g(the)g(Readline)g(k)m(ey)h(sequences) -f(b)s(ound)e(to)i(macros)g(and)f(the)h(strings)g(they)630 -2637 y(output.)53 b(If)35 b(a)g(n)m(umeric)f(argumen)m(t)i(is)e +(default.)150 3837 y Ft(dump-macros)c(\(\))630 3947 y +Fu(Prin)m(t)34 b(all)g(of)g(the)g(Readline)g(k)m(ey)h(sequences)f(b)s +(ound)e(to)i(macros)g(and)f(the)h(strings)g(they)630 +4056 y(output.)53 b(If)35 b(a)g(n)m(umeric)f(argumen)m(t)i(is)e (supplied,)h(the)g(output)g(is)f(formatted)i(in)e(suc)m(h)h(a)630 -2746 y(w)m(a)m(y)c(that)g(it)f(can)g(b)s(e)g(made)g(part)f(of)i(an)e +4166 y(w)m(a)m(y)c(that)g(it)f(can)g(b)s(e)g(made)g(part)f(of)i(an)e Fr(inputrc)35 b Fu(\014le.)41 b(This)29 b(command)h(is)g(un)m(b)s(ound) -d(b)m(y)630 2856 y(default.)150 3014 y Ft(glob-complete-word)e(\(M-g\)) -630 3124 y Fu(The)i(w)m(ord)h(b)s(efore)f(p)s(oin)m(t)h(is)g(treated)h +d(b)m(y)630 4275 y(default.)150 4479 y Ft(glob-complete-word)e(\(M-g\)) +630 4589 y Fu(The)i(w)m(ord)h(b)s(efore)f(p)s(oin)m(t)h(is)g(treated)h (as)f(a)h(pattern)f(for)f(pathname)h(expansion,)g(with)g(an)630 -3233 y(asterisk)d(implicitly)h(app)s(ended.)37 b(This)23 +4698 y(asterisk)d(implicitly)h(app)s(ended.)37 b(This)23 b(pattern)i(is)f(used)g(to)h(generate)h(a)e(list)h(of)g(matc)m(hing)630 -3343 y(\014le)30 b(names)h(for)f(p)s(ossible)g(completions.)150 -3501 y Ft(glob-expand-word)c(\(C-x)j(*\))630 3611 y Fu(The)40 +4808 y(\014le)30 b(names)h(for)f(p)s(ossible)g(completions.)150 +5011 y Ft(glob-expand-word)c(\(C-x)j(*\))630 5121 y Fu(The)40 b(w)m(ord)g(b)s(efore)g(p)s(oin)m(t)h(is)g(treated)g(as)g(a)g(pattern)g -(for)f(pathname)g(expansion,)k(and)630 3720 y(the)c(list)g(of)f(matc)m +(for)f(pathname)g(expansion,)k(and)630 5230 y(the)c(list)g(of)f(matc)m (hing)i(\014le)e(names)g(is)h(inserted,)h(replacing)g(the)e(w)m(ord.)67 -b(If)39 b(a)h(n)m(umeric)630 3830 y(argumen)m(t)31 b(is)f(supplied,)g +b(If)39 b(a)h(n)m(umeric)630 5340 y(argumen)m(t)31 b(is)f(supplied,)g (a)g(`)p Ft(*)p Fu(')h(is)f(app)s(ended)f(b)s(efore)h(pathname)g -(expansion.)150 3988 y Ft(glob-list-expansions)25 b(\(C-x)k(g\))630 -4098 y Fu(The)k(list)h(of)f(expansions)g(that)h(w)m(ould)f(ha)m(v)m(e)h -(b)s(een)f(generated)h(b)m(y)f Ft(glob-expand-word)630 -4208 y Fu(is)h(displa)m(y)m(ed,)h(and)e(the)h(line)g(is)f(redra)m(wn.) -50 b(If)33 b(a)h(n)m(umeric)g(argumen)m(t)g(is)f(supplied,)h(a)g(`)p -Ft(*)p Fu(')630 4317 y(is)c(app)s(ended)f(b)s(efore)h(pathname)g -(expansion.)150 4475 y Ft(display-shell-version)25 b(\(C-x)k(C-v\))630 -4585 y Fu(Displa)m(y)j(v)m(ersion)e(information)h(ab)s(out)f(the)h -(curren)m(t)f(instance)h(of)f(Bash.)150 4743 y Ft(shell-expand-line)c -(\(M-C-e\))630 4853 y Fu(Expand)34 b(the)h(line)h(as)g(the)f(shell)h -(do)s(es.)55 b(This)34 b(p)s(erforms)g(alias)i(and)f(history)g -(expansion)630 4963 y(as)f(w)m(ell)g(as)g(all)h(of)e(the)h(shell)g(w)m -(ord)f(expansions)g(\(see)i(Section)f(3.5)h([Shell)e(Expansions],)630 -5072 y(page)e(21\).)150 5230 y Ft(history-expand-line)25 -b(\(M-^\))630 5340 y Fu(P)m(erform)30 b(history)h(expansion)f(on)g(the) -h(curren)m(t)f(line.)p eop end -%%Page: 124 130 -TeXDict begin 124 129 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(124)150 299 y Ft(magic-space)27 -b(\(\))630 408 y Fu(P)m(erform)c(history)g(expansion)g(on)g(the)g -(curren)m(t)g(line)g(and)g(insert)g(a)g(space)h(\(see)g(Section)g(9.3) -630 518 y([History)31 b(In)m(teraction],)i(page)e(135\).)150 -686 y Ft(alias-expand-line)26 b(\(\))630 796 y Fu(P)m(erform)i(alias)i -(expansion)e(on)g(the)h(curren)m(t)f(line)h(\(see)g(Section)g(6.6)h -([Aliases],)g(page)f(88\).)150 964 y Ft(history-and-alias-expand)o -(-lin)o(e)24 b(\(\))630 1074 y Fu(P)m(erform)30 b(history)h(and)e +(expansion.)p eop end +%%Page: 128 134 +TeXDict begin 128 133 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(128)150 299 y Ft +(glob-list-expansions)25 b(\(C-x)k(g\))630 408 y Fu(The)k(list)h(of)f +(expansions)g(that)h(w)m(ould)f(ha)m(v)m(e)h(b)s(een)f(generated)h(b)m +(y)f Ft(glob-expand-word)630 518 y Fu(is)h(displa)m(y)m(ed,)h(and)e +(the)h(line)g(is)f(redra)m(wn.)50 b(If)33 b(a)h(n)m(umeric)g(argumen)m +(t)g(is)f(supplied,)h(a)g(`)p Ft(*)p Fu(')630 628 y(is)c(app)s(ended)f +(b)s(efore)h(pathname)g(expansion.)150 803 y Ft(display-shell-version) +25 b(\(C-x)k(C-v\))630 912 y Fu(Displa)m(y)j(v)m(ersion)e(information)h +(ab)s(out)f(the)h(curren)m(t)f(instance)h(of)f(Bash.)150 +1088 y Ft(shell-expand-line)c(\(M-C-e\))630 1197 y Fu(Expand)34 +b(the)h(line)h(as)g(the)f(shell)h(do)s(es.)55 b(This)34 +b(p)s(erforms)g(alias)i(and)f(history)g(expansion)630 +1307 y(as)f(w)m(ell)g(as)g(all)h(of)e(the)h(shell)g(w)m(ord)f +(expansions)g(\(see)i(Section)f(3.5)h([Shell)e(Expansions],)630 +1416 y(page)e(21\).)150 1592 y Ft(history-expand-line)25 +b(\(M-^\))630 1701 y Fu(P)m(erform)30 b(history)h(expansion)f(on)g(the) +h(curren)m(t)f(line.)150 1876 y Ft(magic-space)d(\(\))630 +1986 y Fu(P)m(erform)c(history)g(expansion)g(on)g(the)g(curren)m(t)g +(line)g(and)g(insert)g(a)g(space)h(\(see)g(Section)g(9.3)630 +2096 y([History)31 b(In)m(teraction],)i(page)e(139\).)150 +2271 y Ft(alias-expand-line)26 b(\(\))630 2380 y Fu(P)m(erform)i(alias) +i(expansion)e(on)g(the)h(curren)m(t)f(line)h(\(see)g(Section)g(6.6)h +([Aliases],)g(page)f(90\).)150 2556 y Ft(history-and-alias-expand)o +(-lin)o(e)24 b(\(\))630 2665 y Fu(P)m(erform)30 b(history)h(and)e (alias)j(expansion)e(on)g(the)h(curren)m(t)f(line.)150 -1242 y Ft(insert-last-argument)25 b(\(M-.)k(or)h(M-_\))630 -1352 y Fu(A)g(synon)m(ym)g(for)g Ft(yank-last-arg)p Fu(.)150 -1520 y Ft(operate-and-get-next)25 b(\(C-o\))630 1630 +2840 y Ft(insert-last-argument)25 b(\(M-.)k(or)h(M-_\))630 +2950 y Fu(A)g(synon)m(ym)g(for)g Ft(yank-last-arg)p Fu(.)150 +3125 y Ft(operate-and-get-next)25 b(\(C-o\))630 3235 y Fu(Accept)42 b(the)e(curren)m(t)h(line)f(for)h(execution)g(and)f (fetc)m(h)i(the)e(next)h(line)g(relativ)m(e)i(to)e(the)630 -1739 y(curren)m(t)30 b(line)h(from)f(the)g(history)h(for)f(editing.)41 -b(An)m(y)31 b(argumen)m(t)f(is)h(ignored.)150 1908 y -Ft(edit-and-execute-command)24 b(\(C-xC-e\))630 2017 +3344 y(curren)m(t)30 b(line)h(from)f(the)g(history)h(for)f(editing.)41 +b(An)m(y)31 b(argumen)m(t)f(is)h(ignored.)150 3520 y +Ft(edit-and-execute-command)24 b(\(C-xC-e\))630 3629 y Fu(In)m(v)m(ok)m(e)34 b(an)f(editor)g(on)g(the)g(curren)m(t)f (command)h(line,)h(and)e(execute)i(the)f(result)g(as)g(shell)630 -2127 y(commands.)81 b(Bash)44 b(attempts)h(to)g(in)m(v)m(ok)m(e)h +3739 y(commands.)81 b(Bash)44 b(attempts)h(to)g(in)m(v)m(ok)m(e)h Ft($VISUAL)p Fu(,)f Ft($EDITOR)p Fu(,)h(and)d Ft(emacs)g -Fu(as)h(the)630 2236 y(editor,)31 b(in)f(that)h(order.)150 -2482 y Fs(8.5)68 b(Readline)47 b(vi)e(Mo)t(de)150 2642 +Fu(as)h(the)630 3848 y(editor,)31 b(in)f(that)h(order.)150 +4113 y Fs(8.5)68 b(Readline)47 b(vi)e(Mo)t(de)150 4272 y Fu(While)32 b(the)g(Readline)g(library)f(do)s(es)g(not)h(ha)m(v)m(e)h (a)f(full)f(set)h(of)g Ft(vi)f Fu(editing)h(functions,)f(it)h(do)s(es)g -(con)m(tain)150 2751 y(enough)i(to)h(allo)m(w)g(simple)f(editing)h(of)f +(con)m(tain)150 4382 y(enough)i(to)h(allo)m(w)g(simple)f(editing)h(of)f (the)g(line.)52 b(The)34 b(Readline)g Ft(vi)g Fu(mo)s(de)f(b)s(eha)m(v) -m(es)i(as)f(sp)s(eci\014ed)f(in)150 2861 y(the)e Fm(posix)e -Fu(standard.)275 3004 y(In)35 b(order)g(to)i(switc)m(h)f(in)m(teractiv) +m(es)i(as)f(sp)s(eci\014ed)f(in)150 4491 y(the)e Fm(posix)e +Fu(standard.)275 4642 y(In)35 b(order)g(to)i(switc)m(h)f(in)m(teractiv) m(ely)j(b)s(et)m(w)m(een)d Ft(emacs)f Fu(and)g Ft(vi)g Fu(editing)h(mo)s(des,)h(use)f(the)g(`)p Ft(set)30 b(-o)150 -3114 y(emacs)p Fu(')43 b(and)h(`)p Ft(set)30 b(-o)f(vi)p +4751 y(emacs)p Fu(')43 b(and)h(`)p Ft(set)30 b(-o)f(vi)p Fu(')44 b(commands)g(\(see)i(Section)f(4.3.1)h([The)e(Set)h(Builtin],)j -(page)e(58\).)83 b(The)150 3223 y(Readline)31 b(default)g(is)f -Ft(emacs)f Fu(mo)s(de.)275 3367 y(When)g(y)m(ou)i(en)m(ter)f(a)h(line)f +(page)e(60\).)83 b(The)150 4861 y(Readline)31 b(default)g(is)f +Ft(emacs)f Fu(mo)s(de.)275 5011 y(When)g(y)m(ou)i(en)m(ter)f(a)h(line)f (in)g Ft(vi)f Fu(mo)s(de,)h(y)m(ou)h(are)f(already)h(placed)f(in)g -(`insertion')g(mo)s(de,)g(as)h(if)f(y)m(ou)150 3476 y(had)f(t)m(yp)s +(`insertion')g(mo)s(de,)g(as)h(if)f(y)m(ou)150 5121 y(had)f(t)m(yp)s (ed)g(an)g(`)p Ft(i)p Fu('.)41 b(Pressing)29 b Ft(ESC)f Fu(switc)m(hes)i(y)m(ou)g(in)m(to)h(`command')e(mo)s(de,)h(where)e(y)m -(ou)i(can)g(edit)g(the)150 3586 y(text)35 b(of)f(the)g(line)g(with)f +(ou)i(can)g(edit)g(the)150 5230 y(text)35 b(of)f(the)g(line)g(with)f (the)h(standard)f Ft(vi)g Fu(mo)m(v)m(emen)m(t)j(k)m(eys,)g(mo)m(v)m(e) -f(to)f(previous)g(history)f(lines)h(with)150 3695 y(`)p +f(to)f(previous)g(history)f(lines)h(with)150 5340 y(`)p Ft(k)p Fu(')d(and)e(subsequen)m(t)h(lines)h(with)f(`)p -Ft(j)p Fu(',)g(and)g(so)h(forth.)150 3941 y Fs(8.6)68 -b(Programmable)47 b(Completion)150 4101 y Fu(When)25 -b(w)m(ord)g(completion)i(is)f(attempted)g(for)g(an)f(argumen)m(t)h(to)g -(a)g(command)f(for)h(whic)m(h)f(a)h(completion)150 4210 -y(sp)s(eci\014cation)40 b(\(a)h Fr(compsp)s(ec)6 b Fu(\))39 +Ft(j)p Fu(',)g(and)g(so)h(forth.)p eop end +%%Page: 129 135 +TeXDict begin 129 134 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(129)150 299 y Fs(8.6)68 +b(Programmable)47 b(Completion)150 458 y Fu(When)25 b(w)m(ord)g +(completion)i(is)f(attempted)g(for)g(an)f(argumen)m(t)h(to)g(a)g +(command)f(for)h(whic)m(h)f(a)h(completion)150 568 y(sp)s +(eci\014cation)40 b(\(a)h Fr(compsp)s(ec)6 b Fu(\))39 b(has)h(b)s(een)f(de\014ned)f(using)h(the)h Ft(complete)d -Fu(builtin)j(\(see)g(Section)h(8.7)150 4320 y([Programmable)h -(Completion)f(Builtins],)k(page)d(126\),)j(the)c(programmable)g -(completion)i(facilities)150 4429 y(are)31 b(in)m(v)m(ok)m(ed.)275 -4573 y(First,)23 b(the)e(command)g(name)g(is)h(iden)m(ti\014ed.)37 +Fu(builtin)j(\(see)g(Section)h(8.7)150 677 y([Programmable)h +(Completion)f(Builtins],)k(page)d(131\),)j(the)c(programmable)g +(completion)i(facilities)150 787 y(are)31 b(in)m(v)m(ok)m(ed.)275 +936 y(First,)23 b(the)e(command)g(name)g(is)h(iden)m(ti\014ed.)37 b(If)21 b(a)g(compsp)s(ec)g(has)g(b)s(een)f(de\014ned)g(for)h(that)h -(command,)150 4682 y(the)44 b(compsp)s(ec)g(is)g(used)f(to)h(generate)i +(command,)150 1046 y(the)44 b(compsp)s(ec)g(is)g(used)f(to)h(generate)i (the)e(list)g(of)g(p)s(ossible)g(completions)h(for)e(the)h(w)m(ord.)81 -b(If)44 b(the)150 4792 y(command)36 b(w)m(ord)g(is)g(the)g(empt)m(y)h +b(If)44 b(the)150 1156 y(command)36 b(w)m(ord)g(is)g(the)g(empt)m(y)h (string)f(\(completion)i(attempted)f(at)g(the)g(b)s(eginning)e(of)h(an) -h(empt)m(y)150 4902 y(line\),)30 b(an)m(y)g(compsp)s(ec)f(de\014ned)f +h(empt)m(y)150 1265 y(line\),)30 b(an)m(y)g(compsp)s(ec)f(de\014ned)f (with)h(the)h Ft(-E)e Fu(option)i(to)g Ft(complete)d Fu(is)i(used.)40 b(If)29 b(the)g(command)g(w)m(ord)150 -5011 y(is)e(a)h(full)e(pathname,)i(a)g(compsp)s(ec)e(for)h(the)g(full)g +1375 y(is)e(a)h(full)e(pathname,)i(a)g(compsp)s(ec)e(for)h(the)g(full)g (pathname)g(is)g(searc)m(hed)h(for)f(\014rst.)39 b(If)26 -b(no)h(compsp)s(ec)g(is)150 5121 y(found)22 b(for)g(the)h(full)g +b(no)h(compsp)s(ec)g(is)150 1484 y(found)22 b(for)g(the)h(full)g (pathname,)h(an)f(attempt)h(is)f(made)g(to)g(\014nd)f(a)h(compsp)s(ec)f -(for)h(the)g(p)s(ortion)f(follo)m(wing)150 5230 y(the)34 +(for)h(the)g(p)s(ortion)f(follo)m(wing)150 1594 y(the)34 b(\014nal)g(slash.)53 b(If)34 b(those)g(searc)m(hes)i(do)e(not)g (result)h(in)f(a)g(compsp)s(ec,)h(an)m(y)g(compsp)s(ec)f(de\014ned)f -(with)150 5340 y(the)e Ft(-D)e Fu(option)i(to)g Ft(complete)d -Fu(is)j(used)e(as)i(the)g(default.)p eop end -%%Page: 125 131 -TeXDict begin 125 130 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(125)275 299 y(Once)34 -b(a)g(compsp)s(ec)g(has)g(b)s(een)f(found,)h(it)h(is)f(used)f(to)i -(generate)h(the)e(list)h(of)f(matc)m(hing)h(w)m(ords.)51 -b(If)150 408 y(a)37 b(compsp)s(ec)f(is)g(not)h(found,)f(the)h(default)f -(Bash)h(completion)g(describ)s(ed)e(ab)s(o)m(v)m(e)j(\(see)f(Section)g -(8.4.6)150 518 y([Commands)30 b(F)-8 b(or)31 b(Completion],)g(page)g -(120\))h(is)f(p)s(erformed.)275 655 y(First,)g(the)g(actions)g(sp)s -(eci\014ed)f(b)m(y)h(the)f(compsp)s(ec)h(are)g(used.)40 -b(Only)30 b(matc)m(hes)i(whic)m(h)e(are)h(pre\014xed)150 -765 y(b)m(y)h(the)f(w)m(ord)h(b)s(eing)f(completed)h(are)g(returned.)44 -b(When)31 b(the)h Ft(-f)f Fu(or)h Ft(-d)f Fu(option)h(is)f(used)g(for)h -(\014lename)150 874 y(or)e(directory)h(name)f(completion,)i(the)e -(shell)h(v)-5 b(ariable)31 b Ft(FIGNORE)d Fu(is)i(used)f(to)i(\014lter) -g(the)f(matc)m(hes.)42 b(See)150 984 y(Section)31 b(5.2)h([Bash)e(V)-8 -b(ariables],)33 b(page)e(69,)g(for)f(a)h(description)g(of)f -Ft(FIGNORE)p Fu(.)275 1121 y(An)m(y)22 b(completions)h(sp)s(eci\014ed)f +(with)150 1704 y(the)e Ft(-D)e Fu(option)i(to)g Ft(complete)d +Fu(is)j(used)e(as)i(the)g(default.)275 1853 y(Once)j(a)g(compsp)s(ec)g +(has)g(b)s(een)f(found,)h(it)h(is)f(used)f(to)i(generate)h(the)e(list)h +(of)f(matc)m(hing)h(w)m(ords.)51 b(If)150 1963 y(a)37 +b(compsp)s(ec)f(is)g(not)h(found,)f(the)h(default)f(Bash)h(completion)g +(describ)s(ed)e(ab)s(o)m(v)m(e)j(\(see)f(Section)g(8.4.6)150 +2072 y([Commands)30 b(F)-8 b(or)31 b(Completion],)g(page)g(124\))h(is)f +(p)s(erformed.)275 2222 y(First,)g(the)g(actions)g(sp)s(eci\014ed)f(b)m +(y)h(the)f(compsp)s(ec)h(are)g(used.)40 b(Only)30 b(matc)m(hes)i(whic)m +(h)e(are)h(pre\014xed)150 2331 y(b)m(y)h(the)f(w)m(ord)h(b)s(eing)f +(completed)h(are)g(returned.)44 b(When)31 b(the)h Ft(-f)f +Fu(or)h Ft(-d)f Fu(option)h(is)f(used)g(for)h(\014lename)150 +2441 y(or)e(directory)h(name)f(completion,)i(the)e(shell)h(v)-5 +b(ariable)31 b Ft(FIGNORE)d Fu(is)i(used)f(to)i(\014lter)g(the)f(matc)m +(hes.)42 b(See)150 2550 y(Section)31 b(5.2)h([Bash)e(V)-8 +b(ariables],)33 b(page)e(71,)g(for)f(a)h(description)g(of)f +Ft(FIGNORE)p Fu(.)275 2700 y(An)m(y)22 b(completions)h(sp)s(eci\014ed)f (b)m(y)g(a)h(\014lename)f(expansion)h(pattern)f(to)h(the)g -Ft(-G)e Fu(option)i(are)g(generated)150 1230 y(next.)41 +Ft(-G)e Fu(option)i(are)g(generated)150 2809 y(next.)41 b(The)29 b(w)m(ords)g(generated)h(b)m(y)g(the)g(pattern)f(need)h(not)f (matc)m(h)i(the)f(w)m(ord)f(b)s(eing)g(completed.)41 -b(The)150 1340 y Ft(GLOBIGNORE)29 b Fu(shell)i(v)-5 b(ariable)32 +b(The)150 2919 y Ft(GLOBIGNORE)29 b Fu(shell)i(v)-5 b(ariable)32 b(is)g(not)g(used)e(to)i(\014lter)g(the)g(matc)m(hes,)h(but)d(the)i -Ft(FIGNORE)e Fu(shell)h(v)-5 b(ariable)150 1450 y(is)30 -b(used.)275 1587 y(Next,)39 b(the)f(string)f(sp)s(eci\014ed)f(as)h(the) +Ft(FIGNORE)e Fu(shell)h(v)-5 b(ariable)150 3029 y(is)30 +b(used.)275 3178 y(Next,)39 b(the)f(string)f(sp)s(eci\014ed)f(as)h(the) g(argumen)m(t)h(to)g(the)f Ft(-W)f Fu(option)i(is)f(considered.)60 -b(The)37 b(string)150 1696 y(is)c(\014rst)e(split)i(using)f(the)h(c)m +b(The)37 b(string)150 3288 y(is)c(\014rst)e(split)i(using)f(the)h(c)m (haracters)h(in)e(the)h Ft(IFS)e Fu(sp)s(ecial)j(v)-5 b(ariable)33 b(as)g(delimiters.)48 b(Shell)32 b(quoting)h(is)150 -1806 y(honored.)56 b(Eac)m(h)37 b(w)m(ord)e(is)h(then)f(expanded)g +3397 y(honored.)56 b(Eac)m(h)37 b(w)m(ord)e(is)h(then)f(expanded)g (using)h(brace)g(expansion,)h(tilde)f(expansion,)h(parameter)150 -1915 y(and)44 b(v)-5 b(ariable)46 b(expansion,)j(command)44 +3507 y(and)44 b(v)-5 b(ariable)46 b(expansion,)j(command)44 b(substitution,)49 b(and)44 b(arithmetic)i(expansion,)j(as)c(describ)s -(ed)150 2025 y(ab)s(o)m(v)m(e)38 b(\(see)f(Section)h(3.5)g([Shell)e +(ed)150 3616 y(ab)s(o)m(v)m(e)38 b(\(see)f(Section)h(3.5)g([Shell)e (Expansions],)i(page)f(21\).)61 b(The)36 b(results)h(are)g(split)f -(using)h(the)f(rules)150 2134 y(describ)s(ed)29 b(ab)s(o)m(v)m(e)i -(\(see)f(Section)h(3.5.7)h([W)-8 b(ord)30 b(Splitting],)h(page)f(29\).) -42 b(The)30 b(results)f(of)h(the)g(expansion)150 2244 +(using)h(the)f(rules)150 3726 y(describ)s(ed)29 b(ab)s(o)m(v)m(e)i +(\(see)f(Section)h(3.5.7)h([W)-8 b(ord)30 b(Splitting],)h(page)f(30\).) +42 b(The)30 b(results)f(of)h(the)g(expansion)150 3836 y(are)f(pre\014x-matc)m(hed)h(against)g(the)f(w)m(ord)g(b)s(eing)f (completed,)j(and)d(the)i(matc)m(hing)g(w)m(ords)e(b)s(ecome)i(the)150 -2354 y(p)s(ossible)g(completions.)275 2491 y(After)f(these)g(matc)m +3945 y(p)s(ossible)g(completions.)275 4095 y(After)f(these)g(matc)m (hes)i(ha)m(v)m(e)f(b)s(een)f(generated,)h(an)m(y)g(shell)f(function)g -(or)g(command)g(sp)s(eci\014ed)f(with)150 2600 y(the)36 +(or)g(command)g(sp)s(eci\014ed)f(with)150 4204 y(the)36 b Ft(-F)f Fu(and)g Ft(-C)g Fu(options)h(is)g(in)m(v)m(ok)m(ed.)59 b(When)35 b(the)h(command)g(or)f(function)h(is)g(in)m(v)m(ok)m(ed,)i -(the)e Ft(COMP_)150 2710 y(LINE)p Fu(,)42 b Ft(COMP_POINT)p +(the)e Ft(COMP_)150 4314 y(LINE)p Fu(,)42 b Ft(COMP_POINT)p Fu(,)d Ft(COMP_KEY)p Fu(,)i(and)e Ft(COMP_TYPE)f Fu(v)-5 b(ariables)41 b(are)f(assigned)g(v)-5 b(alues)41 b(as)f(describ)s(ed) -150 2819 y(ab)s(o)m(v)m(e)34 b(\(see)g(Section)g(5.2)g([Bash)f(V)-8 -b(ariables],)36 b(page)d(69\).)50 b(If)33 b(a)g(shell)g(function)g(is)g -(b)s(eing)f(in)m(v)m(ok)m(ed,)k(the)150 2929 y Ft(COMP_WORDS)j +150 4423 y(ab)s(o)m(v)m(e)34 b(\(see)g(Section)g(5.2)g([Bash)f(V)-8 +b(ariables],)36 b(page)d(71\).)50 b(If)33 b(a)g(shell)g(function)g(is)g +(b)s(eing)f(in)m(v)m(ok)m(ed,)k(the)150 4533 y Ft(COMP_WORDS)j Fu(and)i Ft(COMP_CWORD)d Fu(v)-5 b(ariables)42 b(are)g(also)h(set.)74 -b(When)41 b(the)h(function)f(or)h(command)f(is)150 3039 +b(When)41 b(the)h(function)f(or)h(command)f(is)150 4643 y(in)m(v)m(ok)m(ed,)c(the)e(\014rst)f(argumen)m(t)h(\($1\))h(is)e(the)h (name)g(of)f(the)h(command)f(whose)h(argumen)m(ts)f(are)h(b)s(eing)150 -3148 y(completed,)30 b(the)f(second)f(argumen)m(t)h(\($2\))h(is)f(the)g +4752 y(completed,)30 b(the)f(second)f(argumen)m(t)h(\($2\))h(is)f(the)g (w)m(ord)f(b)s(eing)g(completed,)i(and)e(the)h(third)e(argumen)m(t)150 -3258 y(\($3\))40 b(is)f(the)f(w)m(ord)h(preceding)f(the)h(w)m(ord)f(b)s +4862 y(\($3\))40 b(is)f(the)f(w)m(ord)h(preceding)f(the)h(w)m(ord)f(b)s (eing)g(completed)i(on)e(the)h(curren)m(t)f(command)h(line.)65 -b(No)150 3367 y(\014ltering)33 b(of)h(the)f(generated)h(completions)g +b(No)150 4971 y(\014ltering)33 b(of)h(the)f(generated)h(completions)g (against)h(the)e(w)m(ord)g(b)s(eing)f(completed)i(is)g(p)s(erformed;)f -(the)150 3477 y(function)d(or)g(command)h(has)f(complete)i(freedom)e -(in)g(generating)h(the)g(matc)m(hes.)275 3614 y(An)m(y)j(function)h(sp) +(the)150 5081 y(function)d(or)g(command)h(has)f(complete)i(freedom)e +(in)g(generating)h(the)g(matc)m(hes.)275 5230 y(An)m(y)j(function)h(sp) s(eci\014ed)f(with)g Ft(-F)g Fu(is)h(in)m(v)m(ok)m(ed)h(\014rst.)53 b(The)35 b(function)f(ma)m(y)h(use)g(an)m(y)g(of)g(the)g(shell)150 -3724 y(facilities,)50 b(including)44 b(the)h Ft(compgen)d +5340 y(facilities,)50 b(including)44 b(the)h Ft(compgen)d Fu(and)i Ft(compopt)e Fu(builtins)i(describ)s(ed)f(b)s(elo)m(w)h(\(see) -i(Section)f(8.7)150 3833 y([Programmable)31 b(Completion)h(Builtins],)f -(page)h(126\),)g(to)g(generate)g(the)f(matc)m(hes.)42 -b(It)31 b(m)m(ust)g(put)f(the)150 3943 y(p)s(ossible)g(completions)h -(in)f(the)h Ft(COMPREPLY)d Fu(arra)m(y)j(v)-5 b(ariable,)31 -b(one)g(p)s(er)e(arra)m(y)i(elemen)m(t.)275 4080 y(Next,)26 -b(an)m(y)f(command)f(sp)s(eci\014ed)g(with)g(the)h Ft(-C)f -Fu(option)h(is)f(in)m(v)m(ok)m(ed)i(in)e(an)g(en)m(vironmen)m(t)h -(equiv)-5 b(alen)m(t)150 4189 y(to)26 b(command)e(substitution.)39 +i(Section)f(8.7)p eop end +%%Page: 130 136 +TeXDict begin 130 135 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(130)150 299 y([Programmable)31 +b(Completion)h(Builtins],)f(page)h(131\),)g(to)g(generate)g(the)f(matc) +m(hes.)42 b(It)31 b(m)m(ust)g(put)f(the)150 408 y(p)s(ossible)g +(completions)h(in)f(the)h Ft(COMPREPLY)d Fu(arra)m(y)j(v)-5 +b(ariable,)31 b(one)g(p)s(er)e(arra)m(y)i(elemen)m(t.)275 +542 y(Next,)26 b(an)m(y)f(command)f(sp)s(eci\014ed)g(with)g(the)h +Ft(-C)f Fu(option)h(is)f(in)m(v)m(ok)m(ed)i(in)e(an)g(en)m(vironmen)m +(t)h(equiv)-5 b(alen)m(t)150 652 y(to)26 b(command)e(substitution.)39 b(It)25 b(should)f(prin)m(t)h(a)g(list)h(of)f(completions,)i(one)e(p)s -(er)f(line,)j(to)f(the)f(standard)150 4299 y(output.)40 +(er)f(line,)j(to)f(the)f(standard)150 762 y(output.)40 b(Bac)m(kslash)32 b(ma)m(y)f(b)s(e)f(used)g(to)h(escap)s(e)g(a)f -(newline,)h(if)f(necessary)-8 b(.)275 4436 y(After)24 +(newline,)h(if)f(necessary)-8 b(.)275 896 y(After)24 b(all)i(of)f(the)f(p)s(ossible)g(completions)i(are)f(generated,)i(an)m (y)e(\014lter)g(sp)s(eci\014ed)e(with)i(the)g Ft(-X)e -Fu(option)150 4545 y(is)34 b(applied)g(to)g(the)h(list.)52 +Fu(option)150 1005 y(is)34 b(applied)g(to)g(the)h(list.)52 b(The)33 b(\014lter)h(is)g(a)h(pattern)f(as)g(used)f(for)h(pathname)g -(expansion;)i(a)e(`)p Ft(&)p Fu(')g(in)g(the)150 4655 +(expansion;)i(a)e(`)p Ft(&)p Fu(')g(in)g(the)150 1115 y(pattern)28 b(is)f(replaced)h(with)g(the)f(text)i(of)f(the)f(w)m(ord)h (b)s(eing)f(completed.)40 b(A)28 b(literal)h(`)p Ft(&)p -Fu(')f(ma)m(y)g(b)s(e)f(escap)s(ed)150 4765 y(with)38 +Fu(')f(ma)m(y)g(b)s(e)f(escap)s(ed)150 1224 y(with)38 b(a)h(bac)m(kslash;)k(the)38 b(bac)m(kslash)h(is)g(remo)m(v)m(ed)g(b)s (efore)f(attempting)h(a)g(matc)m(h.)65 b(An)m(y)39 b(completion)150 -4874 y(that)32 b(matc)m(hes)g(the)g(pattern)g(will)f(b)s(e)g(remo)m(v)m +1334 y(that)32 b(matc)m(hes)g(the)g(pattern)g(will)f(b)s(e)g(remo)m(v)m (ed)h(from)f(the)h(list.)44 b(A)32 b(leading)g(`)p Ft(!)p -Fu(')f(negates)i(the)f(pattern;)150 4984 y(in)e(this)g(case)i(an)m(y)e -(completion)i(not)f(matc)m(hing)g(the)g(pattern)f(will)h(b)s(e)f(remo)m -(v)m(ed.)275 5121 y(Finally)-8 b(,)42 b(an)m(y)c(pre\014x)g(and)f +Fu(')f(negates)i(the)f(pattern;)150 1443 y(in)d(this)g(case)h(an)m(y)g +(completion)h(not)e(matc)m(hing)h(the)g(pattern)f(will)h(b)s(e)e(remo)m +(v)m(ed.)42 b(If)29 b(the)g Ft(nocasematch)150 1553 y +Fu(shell)k(option)f(\(see)i(the)e(description)g(of)h +Ft(shopt)e Fu(in)h(Section)h(4.3.2)h([The)e(Shopt)g(Builtin],)h(page)g +(64\))h(is)150 1663 y(enabled,)d(the)f(matc)m(h)h(is)g(p)s(erformed)e +(without)h(regard)g(to)h(the)g(case)g(of)g(alphab)s(etic)g(c)m +(haracters.)275 1797 y(Finally)-8 b(,)42 b(an)m(y)c(pre\014x)g(and)f (su\016x)h(sp)s(eci\014ed)f(with)i(the)f Ft(-P)g Fu(and)g -Ft(-S)f Fu(options)i(are)g(added)f(to)h(eac)m(h)150 5230 +Ft(-S)f Fu(options)i(are)g(added)f(to)h(eac)m(h)150 1906 y(mem)m(b)s(er)31 b(of)g(the)h(completion)h(list,)f(and)f(the)h(result) f(is)h(returned)e(to)i(the)g(Readline)g(completion)h(co)s(de)150 -5340 y(as)e(the)f(list)h(of)g(p)s(ossible)f(completions.)p -eop end -%%Page: 126 132 -TeXDict begin 126 131 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(126)275 299 y(If)27 -b(the)h(previously-applied)f(actions)i(do)f(not)g(generate)h(an)m(y)f -(matc)m(hes,)i(and)d(the)h Ft(-o)h(dirnames)d Fu(op-)150 -408 y(tion)j(w)m(as)f(supplied)f(to)i Ft(complete)d Fu(when)h(the)h -(compsp)s(ec)g(w)m(as)g(de\014ned,)g(directory)g(name)h(completion)150 -518 y(is)h(attempted.)275 654 y(If)35 b(the)g Ft(-o)30 -b(plusdirs)j Fu(option)j(w)m(as)g(supplied)e(to)i Ft(complete)e -Fu(when)g(the)i(compsp)s(ec)f(w)m(as)h(de\014ned,)150 -764 y(directory)g(name)f(completion)i(is)e(attempted)h(and)f(an)m(y)h +2016 y(as)e(the)f(list)h(of)g(p)s(ossible)f(completions.)275 +2150 y(If)d(the)h(previously-applied)f(actions)i(do)f(not)g(generate)h +(an)m(y)f(matc)m(hes,)i(and)d(the)h Ft(-o)h(dirnames)d +Fu(op-)150 2259 y(tion)j(w)m(as)f(supplied)f(to)i Ft(complete)d +Fu(when)h(the)h(compsp)s(ec)g(w)m(as)g(de\014ned,)g(directory)g(name)h +(completion)150 2369 y(is)h(attempted.)275 2503 y(If)35 +b(the)g Ft(-o)30 b(plusdirs)j Fu(option)j(w)m(as)g(supplied)e(to)i +Ft(complete)e Fu(when)g(the)i(compsp)s(ec)f(w)m(as)h(de\014ned,)150 +2612 y(directory)g(name)f(completion)i(is)e(attempted)h(and)f(an)m(y)h (matc)m(hes)g(are)g(added)f(to)h(the)f(results)g(of)h(the)150 -873 y(other)31 b(actions.)275 1010 y(By)g(default,)i(if)e(a)h(compsp)s +2722 y(other)31 b(actions.)275 2856 y(By)g(default,)i(if)e(a)h(compsp)s (ec)f(is)h(found,)f(whatev)m(er)h(it)g(generates)h(is)e(returned)g(to)h -(the)g(completion)150 1119 y(co)s(de)21 b(as)g(the)g(full)g(set)g(of)g +(the)g(completion)150 2966 y(co)s(de)21 b(as)g(the)g(full)g(set)g(of)g (p)s(ossible)f(completions.)39 b(The)20 b(default)h(Bash)g(completions) -h(are)g(not)f(attempted,)150 1229 y(and)30 b(the)g(Readline)h(default)f +h(are)g(not)f(attempted,)150 3075 y(and)30 b(the)g(Readline)h(default)f (of)g(\014lename)h(completion)g(is)f(disabled.)41 b(If)29 -b(the)i Ft(-o)e(bashdefault)e Fu(option)150 1338 y(w)m(as)d(supplied)e +b(the)i Ft(-o)e(bashdefault)e Fu(option)150 3185 y(w)m(as)d(supplied)e (to)j Ft(complete)c Fu(when)i(the)g(compsp)s(ec)h(w)m(as)g(de\014ned,)g -(the)f(default)h(Bash)g(completions)h(are)150 1448 y(attempted)j(if)f +(the)f(default)h(Bash)g(completions)h(are)150 3294 y(attempted)j(if)f (the)h(compsp)s(ec)f(generates)h(no)f(matc)m(hes.)41 b(If)27 b(the)g Ft(-o)j(default)25 b Fu(option)j(w)m(as)f(supplied)f -(to)150 1557 y Ft(complete)f Fu(when)h(the)h(compsp)s(ec)f(w)m(as)i +(to)150 3404 y Ft(complete)f Fu(when)h(the)h(compsp)s(ec)f(w)m(as)i (de\014ned,)e(Readline's)i(default)f(completion)h(will)f(b)s(e)f(p)s -(erformed)150 1667 y(if)k(the)h(compsp)s(ec)f(\(and,)g(if)h(attempted,) +(erformed)150 3513 y(if)k(the)h(compsp)s(ec)f(\(and,)g(if)h(attempted,) g(the)g(default)f(Bash)h(completions\))h(generate)g(no)e(matc)m(hes.) -275 1803 y(When)20 b(a)i(compsp)s(ec)e(indicates)i(that)g(directory)g +275 3647 y(When)20 b(a)i(compsp)s(ec)e(indicates)i(that)g(directory)g (name)f(completion)h(is)f(desired,)i(the)e(programmable)150 -1913 y(completion)31 b(functions)e(force)i(Readline)f(to)h(app)s(end)d +3757 y(completion)31 b(functions)e(force)i(Readline)f(to)h(app)s(end)d (a)i(slash)g(to)g(completed)h(names)e(whic)m(h)h(are)g(sym-)150 -2022 y(b)s(olic)40 b(links)g(to)h(directories,)j(sub)5 +3867 y(b)s(olic)40 b(links)g(to)h(directories,)j(sub)5 b(ject)40 b(to)h(the)f(v)-5 b(alue)41 b(of)f(the)g Fr(mark-directories) -45 b Fu(Readline)c(v)-5 b(ariable,)150 2132 y(regardless)31 +45 b Fu(Readline)c(v)-5 b(ariable,)150 3976 y(regardless)31 b(of)f(the)h(setting)g(of)g(the)f Fr(mark-symlink)m(ed-directories)36 -b Fu(Readline)31 b(v)-5 b(ariable.)275 2268 y(There)25 +b Fu(Readline)31 b(v)-5 b(ariable.)275 4110 y(There)25 b(is)i(some)g(supp)s(ort)e(for)h(dynamically)h(mo)s(difying)f (completions.)40 b(This)26 b(is)g(most)h(useful)f(when)150 -2378 y(used)40 b(in)h(com)m(bination)i(with)e(a)g(default)h(completion) +4220 y(used)40 b(in)h(com)m(bination)i(with)e(a)g(default)h(completion) g(sp)s(eci\014ed)f(with)g Ft(-D)p Fu(.)72 b(It's)42 b(p)s(ossible)f -(for)g(shell)150 2487 y(functions)28 b(executed)h(as)f(completion)i +(for)g(shell)150 4329 y(functions)28 b(executed)h(as)f(completion)i (handlers)d(to)i(indicate)g(that)g(completion)g(should)e(b)s(e)h -(retried)g(b)m(y)150 2597 y(returning)j(an)i(exit)g(status)f(of)h(124.) +(retried)g(b)m(y)150 4439 y(returning)j(an)i(exit)g(status)f(of)h(124.) 48 b(If)31 b(a)i(shell)f(function)g(returns)f(124,)k(and)c(c)m(hanges)j -(the)e(compsp)s(ec)150 2707 y(asso)s(ciated)43 b(with)e(the)g(command)g +(the)e(compsp)s(ec)150 4548 y(asso)s(ciated)43 b(with)e(the)g(command)g (on)g(whic)m(h)g(completion)i(is)e(b)s(eing)g(attempted)h(\(supplied)e -(as)i(the)150 2816 y(\014rst)29 b(argumen)m(t)h(when)e(the)i(function)f +(as)i(the)150 4658 y(\014rst)29 b(argumen)m(t)h(when)e(the)i(function)f (is)g(executed\),)j(programmable)d(completion)i(restarts)f(from)f(the) -150 2926 y(b)s(eginning,)e(with)g(an)h(attempt)g(to)g(\014nd)e(a)i(new) +150 4768 y(b)s(eginning,)e(with)g(an)h(attempt)g(to)g(\014nd)e(a)i(new) e(compsp)s(ec)i(for)f(that)h(command.)39 b(This)27 b(allo)m(ws)h(a)g -(set)g(of)150 3035 y(completions)33 b(to)f(b)s(e)g(built)f(dynamically) +(set)g(of)150 4877 y(completions)33 b(to)f(b)s(e)g(built)f(dynamically) i(as)f(completion)h(is)f(attempted,)h(rather)f(than)f(b)s(eing)g -(loaded)150 3145 y(all)g(at)g(once.)275 3281 y(F)-8 b(or)38 +(loaded)150 4987 y(all)g(at)g(once.)275 5121 y(F)-8 b(or)38 b(instance,)h(assuming)e(that)h(there)f(is)h(a)f(library)g(of)g(compsp) s(ecs,)i(eac)m(h)g(k)m(ept)e(in)g(a)h(\014le)f(corre-)150 -3391 y(sp)s(onding)g(to)j(the)f(name)f(of)h(the)g(command,)i(the)e +5230 y(sp)s(onding)g(to)j(the)f(name)f(of)h(the)g(command,)i(the)e (follo)m(wing)h(default)f(completion)h(function)e(w)m(ould)150 -3500 y(load)31 b(completions)g(dynamically:)390 3636 -y Ft(_completion_loader\(\))390 3746 y({)581 3856 y(.)47 -b("/etc/bash_completion.d/$1)o(.sh)o(")42 b(>/dev/null)j(2>&1)i(&&)g -(return)f(124)390 3965 y(})390 4075 y(complete)g(-D)h(-F)g +5340 y(load)31 b(completions)g(dynamically:)p eop end +%%Page: 131 137 +TeXDict begin 131 136 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(131)390 299 y Ft +(_completion_loader\(\))390 408 y({)581 518 y(.)47 b +("/etc/bash_completion.d/$1)o(.sh)o(")42 b(>/dev/null)j(2>&1)i(&&)g +(return)f(124)390 628 y(})390 737 y(complete)g(-D)h(-F)g (_completion_loader)c(-o)k(bashdefault)e(-o)i(default)150 -4310 y Fs(8.7)68 b(Programmable)47 b(Completion)f(Builtins)150 -4469 y Fu(Three)21 b(builtin)g(commands)f(are)i(a)m(v)-5 +972 y Fs(8.7)68 b(Programmable)47 b(Completion)f(Builtins)150 +1131 y Fu(Three)21 b(builtin)g(commands)f(are)i(a)m(v)-5 b(ailable)24 b(to)e(manipulate)f(the)h(programmable)f(completion)h -(facilities:)150 4579 y(one)34 b(to)g(sp)s(ecify)f(ho)m(w)h(the)f +(facilities:)150 1241 y(one)34 b(to)g(sp)s(ecify)f(ho)m(w)h(the)f (argumen)m(ts)h(to)g(a)g(particular)g(command)f(are)h(to)g(b)s(e)f -(completed,)j(and)d(t)m(w)m(o)150 4688 y(to)e(mo)s(dify)f(the)g -(completion)i(as)e(it)h(is)g(happ)s(ening.)150 4850 y -Ft(compgen)870 4985 y(compgen)46 b([)p Fj(option)p Ft(])f([)p -Fj(word)p Ft(])630 5121 y Fu(Generate)27 b(p)s(ossible)e(completion)i +(completed,)j(and)d(t)m(w)m(o)150 1351 y(to)e(mo)s(dify)f(the)g +(completion)i(as)e(it)h(is)g(happ)s(ening.)150 1504 y +Ft(compgen)870 1636 y(compgen)46 b([)p Fj(option)p Ft(])f([)p +Fj(word)p Ft(])630 1767 y Fu(Generate)27 b(p)s(ossible)e(completion)i (matc)m(hes)g(for)e Fr(w)m(ord)k Fu(according)e(to)f(the)g -Fr(option)p Fu(s,)h(whic)m(h)630 5230 y(ma)m(y)32 b(b)s(e)f(an)m(y)h +Fr(option)p Fu(s,)h(whic)m(h)630 1877 y(ma)m(y)32 b(b)s(e)f(an)m(y)h (option)g(accepted)g(b)m(y)g(the)f Ft(complete)f Fu(builtin)h(with)g -(the)g(exception)i(of)f Ft(-p)630 5340 y Fu(and)39 b +(the)g(exception)i(of)f Ft(-p)630 1986 y Fu(and)39 b Ft(-r)p Fu(,)i(and)e(write)h(the)g(matc)m(hes)g(to)g(the)g(standard)f -(output.)68 b(When)39 b(using)g(the)h Ft(-F)p eop end -%%Page: 127 133 -TeXDict begin 127 132 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(127)630 299 y(or)33 -b Ft(-C)f Fu(options,)i(the)e(v)-5 b(arious)33 b(shell)g(v)-5 -b(ariables)33 b(set)g(b)m(y)g(the)g(programmable)g(completion)630 -408 y(facilities,)g(while)d(a)m(v)-5 b(ailable,)33 b(will)e(not)g(ha)m -(v)m(e)g(useful)f(v)-5 b(alues.)630 542 y(The)34 b(matc)m(hes)h(will)g -(b)s(e)f(generated)h(in)f(the)h(same)g(w)m(a)m(y)g(as)g(if)f(the)h -(programmable)f(com-)630 652 y(pletion)d(co)s(de)g(had)f(generated)i -(them)e(directly)i(from)e(a)h(completion)h(sp)s(eci\014cation)f(with) -630 762 y(the)e(same)h(\015ags.)40 b(If)29 b Fr(w)m(ord)j -Fu(is)d(sp)s(eci\014ed,)g(only)g(those)h(completions)g(matc)m(hing)g -Fr(w)m(ord)j Fu(will)630 871 y(b)s(e)d(displa)m(y)m(ed.)630 -1005 y(The)24 b(return)g(v)-5 b(alue)25 b(is)g(true)f(unless)g(an)h(in) +(output.)68 b(When)39 b(using)g(the)h Ft(-F)630 2096 +y Fu(or)33 b Ft(-C)f Fu(options,)i(the)e(v)-5 b(arious)33 +b(shell)g(v)-5 b(ariables)33 b(set)g(b)m(y)g(the)g(programmable)g +(completion)630 2206 y(facilities,)g(while)d(a)m(v)-5 +b(ailable,)33 b(will)e(not)g(ha)m(v)m(e)g(useful)f(v)-5 +b(alues.)630 2337 y(The)34 b(matc)m(hes)h(will)g(b)s(e)f(generated)h +(in)f(the)h(same)g(w)m(a)m(y)g(as)g(if)f(the)h(programmable)f(com-)630 +2447 y(pletion)d(co)s(de)g(had)f(generated)i(them)e(directly)i(from)e +(a)h(completion)h(sp)s(eci\014cation)f(with)630 2556 +y(the)e(same)h(\015ags.)40 b(If)29 b Fr(w)m(ord)j Fu(is)d(sp)s +(eci\014ed,)g(only)g(those)h(completions)g(matc)m(hing)g +Fr(w)m(ord)j Fu(will)630 2666 y(b)s(e)d(displa)m(y)m(ed.)630 +2797 y(The)24 b(return)g(v)-5 b(alue)25 b(is)g(true)f(unless)g(an)h(in) m(v)-5 b(alid)25 b(option)g(is)g(supplied,)f(or)h(no)g(matc)m(hes)g(w)m -(ere)630 1115 y(generated.)150 1273 y Ft(complete)870 -1407 y(complete)46 b([-abcdefgjksuv])d([-o)k Fj(comp-option)p -Ft(])e([-DE])h([-A)h Fj(action)p Ft(])f([-)870 1517 y(G)h -Fj(globpat)p Ft(])f([-W)h Fj(wordlist)p Ft(])870 1626 +(ere)630 2907 y(generated.)150 3060 y Ft(complete)870 +3192 y(complete)46 b([-abcdefgjksuv])d([-o)k Fj(comp-option)p +Ft(])e([-DE])h([-A)h Fj(action)p Ft(])f([-)870 3302 y(G)h +Fj(globpat)p Ft(])f([-W)h Fj(wordlist)p Ft(])870 3411 y([-F)g Fj(function)p Ft(])e([-C)i Fj(command)p Ft(])f([-X)h -Fj(filterpat)p Ft(])870 1736 y([-P)g Fj(prefix)p Ft(])f([-S)h +Fj(filterpat)p Ft(])870 3521 y([-P)g Fj(prefix)p Ft(])f([-S)h Fj(suffix)p Ft(])e Fj(name)i Ft([)p Fj(name)f Ft(...])870 -1845 y(complete)g(-pr)g([-DE])h([)p Fj(name)f Ft(...)o(])630 -1979 y Fu(Sp)s(ecify)37 b(ho)m(w)h(argumen)m(ts)f(to)i(eac)m(h)g +3630 y(complete)g(-pr)g([-DE])h([)p Fj(name)f Ft(...)o(])630 +3762 y Fu(Sp)s(ecify)37 b(ho)m(w)h(argumen)m(ts)f(to)i(eac)m(h)g Fr(name)j Fu(should)37 b(b)s(e)g(completed.)63 b(If)38 -b(the)f Ft(-p)g Fu(option)630 2089 y(is)30 b(supplied,)e(or)i(if)g(no)f +b(the)f Ft(-p)g Fu(option)630 3871 y(is)30 b(supplied,)e(or)i(if)g(no)f (options)h(are)g(supplied,)f(existing)h(completion)h(sp)s -(eci\014cations)g(are)630 2198 y(prin)m(ted)24 b(in)h(a)g(w)m(a)m(y)g +(eci\014cations)g(are)630 3981 y(prin)m(ted)24 b(in)h(a)g(w)m(a)m(y)g (that)h(allo)m(ws)g(them)e(to)i(b)s(e)e(reused)f(as)i(input.)38 -b(The)24 b Ft(-r)g Fu(option)i(remo)m(v)m(es)630 2308 +b(The)24 b Ft(-r)g Fu(option)i(remo)m(v)m(es)630 4091 y(a)i(completion)h(sp)s(eci\014cation)f(for)g(eac)m(h)h Fr(name)p Fu(,)f(or,)h(if)e(no)h Fr(name)5 b Fu(s)27 -b(are)h(supplied,)g(all)g(com-)630 2418 y(pletion)k(sp)s +b(are)h(supplied,)g(all)g(com-)630 4200 y(pletion)k(sp)s (eci\014cations.)44 b(The)30 b Ft(-D)h Fu(option)h(indicates)g(that)f -(the)h(remaining)f(options)h(and)630 2527 y(actions)27 +(the)h(remaining)f(options)h(and)630 4310 y(actions)27 b(should)e(apply)g(to)i(the)f(\\default")h(command)e(completion;)k -(that)e(is,)g(completion)630 2637 y(attempted)g(on)f(a)h(command)f(for) +(that)e(is,)g(completion)630 4419 y(attempted)g(on)f(a)h(command)f(for) g(whic)m(h)g(no)g(completion)i(has)d(previously)h(b)s(een)g(de\014ned.) -630 2746 y(The)f Ft(-E)g Fu(option)h(indicates)h(that)f(the)g +630 4529 y(The)f Ft(-E)g Fu(option)h(indicates)h(that)f(the)g (remaining)g(options)g(and)f(actions)i(should)e(apply)g(to)630 -2856 y(\\empt)m(y")32 b(command)e(completion;)i(that)f(is,)f +4639 y(\\empt)m(y")32 b(command)e(completion;)i(that)f(is,)f (completion)i(attempted)f(on)g(a)f(blank)g(line.)630 -2990 y(The)f(pro)s(cess)g(of)h(applying)g(these)g(completion)g(sp)s -(eci\014cations)h(when)d(w)m(ord)i(completion)630 3099 +4770 y(The)f(pro)s(cess)g(of)h(applying)g(these)g(completion)g(sp)s +(eci\014cations)h(when)d(w)m(ord)i(completion)630 4880 y(is)35 b(attempted)h(is)f(describ)s(ed)f(ab)s(o)m(v)m(e)j(\(see)f -(Section)g(8.6)g([Programmable)g(Completion],)630 3209 -y(page)31 b(124\).)42 b(The)30 b Ft(-D)g Fu(option)h(tak)m(es)h -(precedence)f(o)m(v)m(er)g Ft(-E)p Fu(.)630 3343 y(Other)d(options,)i +(Section)g(8.6)g([Programmable)g(Completion],)630 4989 +y(page)31 b(129\).)42 b(The)30 b Ft(-D)g Fu(option)h(tak)m(es)h +(precedence)f(o)m(v)m(er)g Ft(-E)p Fu(.)630 5121 y(Other)d(options,)i (if)f(sp)s(eci\014ed,)g(ha)m(v)m(e)h(the)f(follo)m(wing)i(meanings.)40 -b(The)29 b(argumen)m(ts)g(to)h(the)630 3453 y Ft(-G)p +b(The)29 b(argumen)m(ts)g(to)h(the)630 5230 y Ft(-G)p Fu(,)41 b Ft(-W)p Fu(,)h(and)c Ft(-X)h Fu(options)h(\(and,)h(if)f (necessary)-8 b(,)42 b(the)e Ft(-P)f Fu(and)f Ft(-S)h -Fu(options\))h(should)f(b)s(e)630 3562 y(quoted)28 b(to)h(protect)g +Fu(options\))h(should)f(b)s(e)630 5340 y(quoted)28 b(to)h(protect)g (them)f(from)f(expansion)h(b)s(efore)g(the)g Ft(complete)e -Fu(builtin)h(is)h(in)m(v)m(ok)m(ed.)630 3720 y Ft(-o)i -Fj(comp-option)1110 3830 y Fu(The)c Fr(comp-option)i +Fu(builtin)h(is)h(in)m(v)m(ok)m(ed.)p eop end +%%Page: 132 138 +TeXDict begin 132 137 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(132)630 299 y Ft(-o)30 +b Fj(comp-option)1110 408 y Fu(The)c Fr(comp-option)i Fu(con)m(trols)g(sev)m(eral)h(asp)s(ects)e(of)g(the)g(compsp)s(ec's)g -(b)s(eha)m(v-)1110 3940 y(ior)g(b)s(ey)m(ond)f(the)g(simple)h +(b)s(eha)m(v-)1110 518 y(ior)g(b)s(ey)m(ond)f(the)g(simple)h (generation)h(of)e(completions.)41 b Fr(comp-option)27 -b Fu(ma)m(y)1110 4049 y(b)s(e)j(one)g(of:)1110 4208 y -Ft(bashdefault)1590 4317 y Fu(P)m(erform)d(the)h(rest)f(of)h(the)g -(default)f(Bash)h(completions)g(if)g(the)1590 4427 y(compsp)s(ec)i -(generates)i(no)e(matc)m(hes.)1110 4585 y Ft(default)144 -b Fu(Use)22 b(Readline's)g(default)g(\014lename)g(completion)g(if)g -(the)g(comp-)1590 4695 y(sp)s(ec)30 b(generates)i(no)e(matc)m(hes.)1110 -4853 y Ft(dirnames)96 b Fu(P)m(erform)46 b(directory)g(name)h -(completion)g(if)f(the)g(compsp)s(ec)1590 4963 y(generates)32 -b(no)e(matc)m(hes.)1110 5121 y Ft(filenames)1590 5230 +b Fu(ma)m(y)1110 628 y(b)s(e)j(one)g(of:)1110 782 y Ft(bashdefault)1590 +892 y Fu(P)m(erform)d(the)h(rest)f(of)h(the)g(default)f(Bash)h +(completions)g(if)g(the)1590 1002 y(compsp)s(ec)i(generates)i(no)e +(matc)m(hes.)1110 1156 y Ft(default)144 b Fu(Use)22 b(Readline's)g +(default)g(\014lename)g(completion)g(if)g(the)g(comp-)1590 +1266 y(sp)s(ec)30 b(generates)i(no)e(matc)m(hes.)1110 +1421 y Ft(dirnames)96 b Fu(P)m(erform)46 b(directory)g(name)h +(completion)g(if)f(the)g(compsp)s(ec)1590 1530 y(generates)32 +b(no)e(matc)m(hes.)1110 1685 y Ft(filenames)1590 1794 y Fu(T)-8 b(ell)40 b(Readline)f(that)h(the)f(compsp)s(ec)f(generates)j -(\014lenames,)1590 5340 y(so)29 b(it)h(can)f(p)s(erform)f(an)m(y)h -(\014lename-sp)s(eci\014c)h(pro)s(cessing)e(\(lik)m(e)p -eop end -%%Page: 128 134 -TeXDict begin 128 133 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(128)1590 299 y(adding)25 -b(a)h(slash)f(to)h(directory)g(names)f(quoting)h(sp)s(ecial)g(c)m(har-) -1590 408 y(acters,)39 b(or)d(suppressing)f(trailing)i(spaces\).)59 -b(This)35 b(option)i(is)1590 518 y(in)m(tended)30 b(to)g(b)s(e)g(used)f -(with)g(shell)i(functions)e(sp)s(eci\014ed)g(with)1590 -628 y Ft(-F)p Fu(.)1110 787 y Ft(noquote)144 b Fu(T)-8 -b(ell)28 b(Readline)g(not)g(to)g(quote)g(the)g(completed)g(w)m(ords)f -(if)h(they)1590 896 y(are)j(\014lenames)f(\(quoting)h(\014lenames)g(is) -f(the)h(default\).)1110 1055 y Ft(nospace)144 b Fu(T)-8 -b(ell)40 b(Readline)g(not)g(to)g(app)s(end)d(a)j(space)g(\(the)f -(default\))h(to)1590 1165 y(w)m(ords)30 b(completed)h(at)g(the)g(end)f -(of)g(the)h(line.)1110 1324 y Ft(plusdirs)96 b Fu(After)30 -b(an)m(y)h(matc)m(hes)g(de\014ned)d(b)m(y)i(the)g(compsp)s(ec)g(are)g -(gener-)1590 1433 y(ated,)g(directory)f(name)g(completion)i(is)d -(attempted)i(and)f(an)m(y)1590 1543 y(matc)m(hes)j(are)e(added)g(to)h -(the)g(results)f(of)g(the)h(other)g(actions.)630 1702 -y Ft(-A)f Fj(action)66 b Fu(The)25 b Fr(action)h Fu(ma)m(y)g(b)s(e)e -(one)h(of)h(the)f(follo)m(wing)i(to)e(generate)i(a)e(list)h(of)f(p)s -(ossible)1110 1811 y(completions:)1110 1970 y Ft(alias)240 -b Fu(Alias)31 b(names.)41 b(Ma)m(y)31 b(also)h(b)s(e)e(sp)s(eci\014ed)f -(as)i Ft(-a)p Fu(.)1110 2129 y Ft(arrayvar)96 b Fu(Arra)m(y)31 -b(v)-5 b(ariable)31 b(names.)1110 2288 y Ft(binding)144 -b Fu(Readline)30 b(k)m(ey)f(binding)f(names)h(\(see)h(Section)f(8.4)h -([Bindable)1590 2398 y(Readline)h(Commands],)f(page)h(115\).)1110 -2556 y Ft(builtin)144 b Fu(Names)21 b(of)g(shell)f(builtin)h(commands.) -37 b(Ma)m(y)21 b(also)h(b)s(e)e(sp)s(eci\014ed)1590 2666 -y(as)31 b Ft(-b)p Fu(.)1110 2825 y Ft(command)144 b Fu(Command)29 +(\014lenames,)1590 1904 y(so)29 b(it)h(can)f(p)s(erform)f(an)m(y)h +(\014lename-sp)s(eci\014c)h(pro)s(cessing)e(\(lik)m(e)1590 +2014 y(adding)d(a)h(slash)f(to)h(directory)g(names)f(quoting)h(sp)s +(ecial)g(c)m(har-)1590 2123 y(acters,)39 b(or)d(suppressing)f(trailing) +i(spaces\).)59 b(This)35 b(option)i(is)1590 2233 y(in)m(tended)30 +b(to)g(b)s(e)g(used)f(with)g(shell)i(functions)e(sp)s(eci\014ed)g(with) +1590 2342 y Ft(-F)p Fu(.)1110 2497 y Ft(noquote)144 b +Fu(T)-8 b(ell)28 b(Readline)g(not)g(to)g(quote)g(the)g(completed)g(w)m +(ords)f(if)h(they)1590 2607 y(are)j(\014lenames)f(\(quoting)h +(\014lenames)g(is)f(the)h(default\).)1110 2761 y Ft(nosort)192 +b Fu(T)-8 b(ell)23 b(Readline)g(not)f(to)h(sort)g(the)f(list)h(of)f(p)s +(ossible)g(completions)1590 2871 y(alphab)s(etically)-8 +b(.)1110 3026 y Ft(nospace)144 b Fu(T)-8 b(ell)40 b(Readline)g(not)g +(to)g(app)s(end)d(a)j(space)g(\(the)f(default\))h(to)1590 +3135 y(w)m(ords)30 b(completed)h(at)g(the)g(end)f(of)g(the)h(line.)1110 +3290 y Ft(plusdirs)96 b Fu(After)30 b(an)m(y)h(matc)m(hes)g(de\014ned)d +(b)m(y)i(the)g(compsp)s(ec)g(are)g(gener-)1590 3400 y(ated,)g +(directory)f(name)g(completion)i(is)d(attempted)i(and)f(an)m(y)1590 +3509 y(matc)m(hes)j(are)e(added)g(to)h(the)g(results)f(of)g(the)h +(other)g(actions.)630 3664 y Ft(-A)f Fj(action)66 b Fu(The)25 +b Fr(action)h Fu(ma)m(y)g(b)s(e)e(one)h(of)h(the)f(follo)m(wing)i(to)e +(generate)i(a)e(list)h(of)f(p)s(ossible)1110 3773 y(completions:)1110 +3928 y Ft(alias)240 b Fu(Alias)31 b(names.)41 b(Ma)m(y)31 +b(also)h(b)s(e)e(sp)s(eci\014ed)f(as)i Ft(-a)p Fu(.)1110 +4083 y Ft(arrayvar)96 b Fu(Arra)m(y)31 b(v)-5 b(ariable)31 +b(names.)1110 4238 y Ft(binding)144 b Fu(Readline)30 +b(k)m(ey)f(binding)f(names)h(\(see)h(Section)f(8.4)h([Bindable)1590 +4347 y(Readline)h(Commands],)f(page)h(119\).)1110 4502 +y Ft(builtin)144 b Fu(Names)21 b(of)g(shell)f(builtin)h(commands.)37 +b(Ma)m(y)21 b(also)h(b)s(e)e(sp)s(eci\014ed)1590 4612 +y(as)31 b Ft(-b)p Fu(.)1110 4766 y Ft(command)144 b Fu(Command)29 b(names.)41 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)f(as)i -Ft(-c)p Fu(.)1110 2984 y Ft(directory)1590 3093 y Fu(Directory)h +Ft(-c)p Fu(.)1110 4921 y Ft(directory)1590 5031 y Fu(Directory)h (names.)40 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)g(as)g -Ft(-d)p Fu(.)1110 3252 y Ft(disabled)96 b Fu(Names)31 -b(of)g(disabled)f(shell)g(builtins.)1110 3411 y Ft(enabled)144 -b Fu(Names)31 b(of)g(enabled)f(shell)g(builtins.)1110 -3570 y Ft(export)192 b Fu(Names)34 b(of)f(exp)s(orted)f(shell)h(v)-5 -b(ariables.)49 b(Ma)m(y)35 b(also)e(b)s(e)g(sp)s(eci-)1590 -3680 y(\014ed)d(as)g Ft(-e)p Fu(.)1110 3839 y Ft(file)288 -b Fu(File)32 b(names.)40 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)f -(as)i Ft(-f)p Fu(.)1110 3998 y Ft(function)96 b Fu(Names)31 -b(of)g(shell)f(functions.)1110 4156 y Ft(group)240 b -Fu(Group)30 b(names.)40 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)g -(as)g Ft(-g)p Fu(.)1110 4315 y Ft(helptopic)1590 4425 -y Fu(Help)37 b(topics)g(as)g(accepted)h(b)m(y)e(the)h -Ft(help)f Fu(builtin)g(\(see)h(Sec-)1590 4534 y(tion)31 -b(4.2)g([Bash)g(Builtins],)g(page)g(48\).)1110 4693 y -Ft(hostname)96 b Fu(Hostnames,)89 b(as)76 b(tak)m(en)h(from)f(the)g -(\014le)h(sp)s(eci\014ed)e(b)m(y)1590 4803 y(the)55 b -Ft(HOSTFILE)e Fu(shell)j(v)-5 b(ariable)56 b(\(see)g(Section)g(5.2)h -([Bash)1590 4913 y(V)-8 b(ariables],)32 b(page)f(69\).)1110 -5071 y Ft(job)336 b Fu(Job)31 b(names,)h(if)g(job)f(con)m(trol)i(is)f +Ft(-d)p Fu(.)1110 5185 y Ft(disabled)96 b Fu(Names)31 +b(of)g(disabled)f(shell)g(builtins.)1110 5340 y Ft(enabled)144 +b Fu(Names)31 b(of)g(enabled)f(shell)g(builtins.)p eop +end +%%Page: 133 139 +TeXDict begin 133 138 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(133)1110 299 y Ft(export)192 +b Fu(Names)34 b(of)f(exp)s(orted)f(shell)h(v)-5 b(ariables.)49 +b(Ma)m(y)35 b(also)e(b)s(e)g(sp)s(eci-)1590 408 y(\014ed)d(as)g +Ft(-e)p Fu(.)1110 567 y Ft(file)288 b Fu(File)32 b(names.)40 +b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)f(as)i Ft(-f)p +Fu(.)1110 725 y Ft(function)96 b Fu(Names)31 b(of)g(shell)f(functions.) +1110 883 y Ft(group)240 b Fu(Group)30 b(names.)40 b(Ma)m(y)32 +b(also)f(b)s(e)f(sp)s(eci\014ed)g(as)g Ft(-g)p Fu(.)1110 +1042 y Ft(helptopic)1590 1151 y Fu(Help)37 b(topics)g(as)g(accepted)h +(b)m(y)e(the)h Ft(help)f Fu(builtin)g(\(see)h(Sec-)1590 +1261 y(tion)31 b(4.2)g([Bash)g(Builtins],)g(page)g(49\).)1110 +1419 y Ft(hostname)96 b Fu(Hostnames,)89 b(as)76 b(tak)m(en)h(from)f +(the)g(\014le)h(sp)s(eci\014ed)e(b)m(y)1590 1529 y(the)55 +b Ft(HOSTFILE)e Fu(shell)j(v)-5 b(ariable)56 b(\(see)g(Section)g(5.2)h +([Bash)1590 1638 y(V)-8 b(ariables],)32 b(page)f(71\).)1110 +1797 y Ft(job)336 b Fu(Job)31 b(names,)h(if)g(job)f(con)m(trol)i(is)f (activ)m(e.)46 b(Ma)m(y)33 b(also)g(b)s(e)e(sp)s(eci-)1590 -5181 y(\014ed)f(as)g Ft(-j)p Fu(.)1110 5340 y Ft(keyword)144 +1906 y(\014ed)f(as)g Ft(-j)p Fu(.)1110 2064 y Ft(keyword)144 b Fu(Shell)30 b(reserv)m(ed)h(w)m(ords.)40 b(Ma)m(y)32 -b(also)f(b)s(e)f(sp)s(eci\014ed)f(as)i Ft(-k)p Fu(.)p -eop end -%%Page: 129 135 -TeXDict begin 129 134 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(129)1110 299 y Ft(running)144 -b Fu(Names)31 b(of)g(running)d(jobs,)i(if)h(job)f(con)m(trol)h(is)g -(activ)m(e.)1110 463 y Ft(service)144 b Fu(Service)31 -b(names.)41 b(Ma)m(y)31 b(also)g(b)s(e)f(sp)s(eci\014ed)g(as)g -Ft(-s)p Fu(.)1110 628 y Ft(setopt)192 b Fu(V)-8 b(alid)39 -b(argumen)m(ts)g(for)f(the)h Ft(-o)e Fu(option)i(to)g(the)g -Ft(set)e Fu(builtin)1590 737 y(\(see)31 b(Section)h(4.3.1)g([The)e(Set) -g(Builtin],)i(page)f(58\).)1110 902 y Ft(shopt)240 b -Fu(Shell)40 b(option)g(names)g(as)g(accepted)i(b)m(y)e(the)g -Ft(shopt)e Fu(builtin)1590 1011 y(\(see)31 b(Section)h(4.2)f([Bash)g -(Builtins],)g(page)g(48\).)1110 1176 y Ft(signal)192 -b Fu(Signal)31 b(names.)1110 1340 y Ft(stopped)144 b -Fu(Names)31 b(of)g(stopp)s(ed)e(jobs,)h(if)g(job)g(con)m(trol)i(is)f -(activ)m(e.)1110 1504 y Ft(user)288 b Fu(User)30 b(names.)41 -b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)f(as)i Ft(-u)p -Fu(.)1110 1669 y Ft(variable)96 b Fu(Names)36 b(of)g(all)g(shell)g(v)-5 -b(ariables.)56 b(Ma)m(y)37 b(also)f(b)s(e)f(sp)s(eci\014ed)g(as)1590 -1778 y Ft(-v)p Fu(.)630 1943 y Ft(-C)30 b Fj(command)1110 -2052 y Fr(command)35 b Fu(is)e(executed)g(in)e(a)i(subshell)e(en)m -(vironmen)m(t,)i(and)f(its)g(output)g(is)1110 2162 y(used)e(as)g(the)h -(p)s(ossible)f(completions.)630 2326 y Ft(-F)g Fj(function)1110 -2436 y Fu(The)39 b(shell)g(function)g Fr(function)g Fu(is)g(executed)h -(in)f(the)g(curren)m(t)g(shell)g(en)m(vi-)1110 2545 y(ronmen)m(t.)72 +b(also)f(b)s(e)f(sp)s(eci\014ed)f(as)i Ft(-k)p Fu(.)1110 +2223 y Ft(running)144 b Fu(Names)31 b(of)g(running)d(jobs,)i(if)h(job)f +(con)m(trol)h(is)g(activ)m(e.)1110 2381 y Ft(service)144 +b Fu(Service)31 b(names.)41 b(Ma)m(y)31 b(also)g(b)s(e)f(sp)s +(eci\014ed)g(as)g Ft(-s)p Fu(.)1110 2539 y Ft(setopt)192 +b Fu(V)-8 b(alid)39 b(argumen)m(ts)g(for)f(the)h Ft(-o)e +Fu(option)i(to)g(the)g Ft(set)e Fu(builtin)1590 2649 +y(\(see)31 b(Section)h(4.3.1)g([The)e(Set)g(Builtin],)i(page)f(60\).) +1110 2807 y Ft(shopt)240 b Fu(Shell)40 b(option)g(names)g(as)g +(accepted)i(b)m(y)e(the)g Ft(shopt)e Fu(builtin)1590 +2917 y(\(see)31 b(Section)h(4.2)f([Bash)g(Builtins],)g(page)g(49\).) +1110 3075 y Ft(signal)192 b Fu(Signal)31 b(names.)1110 +3233 y Ft(stopped)144 b Fu(Names)31 b(of)g(stopp)s(ed)e(jobs,)h(if)g +(job)g(con)m(trol)i(is)f(activ)m(e.)1110 3392 y Ft(user)288 +b Fu(User)30 b(names.)41 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)f +(as)i Ft(-u)p Fu(.)1110 3550 y Ft(variable)96 b Fu(Names)36 +b(of)g(all)g(shell)g(v)-5 b(ariables.)56 b(Ma)m(y)37 +b(also)f(b)s(e)f(sp)s(eci\014ed)g(as)1590 3660 y Ft(-v)p +Fu(.)630 3818 y Ft(-C)30 b Fj(command)1110 3927 y Fr(command)35 +b Fu(is)e(executed)g(in)e(a)i(subshell)e(en)m(vironmen)m(t,)i(and)f +(its)g(output)g(is)1110 4037 y(used)e(as)g(the)h(p)s(ossible)f +(completions.)630 4195 y Ft(-F)g Fj(function)1110 4305 +y Fu(The)39 b(shell)g(function)g Fr(function)g Fu(is)g(executed)h(in)f +(the)g(curren)m(t)g(shell)g(en)m(vi-)1110 4415 y(ronmen)m(t.)72 b(When)41 b(it)g(is)g(executed,)k($1)c(is)g(the)g(name)g(of)g(the)g -(command)1110 2655 y(whose)34 b(argumen)m(ts)h(are)g(b)s(eing)f +(command)1110 4524 y(whose)34 b(argumen)m(ts)h(are)g(b)s(eing)f (completed,)j($2)e(is)f(the)h(w)m(ord)f(b)s(eing)g(com-)1110 -2765 y(pleted,)44 b(and)c($3)i(is)e(the)h(w)m(ord)g(preceding)f(the)h -(w)m(ord)f(b)s(eing)h(completed,)1110 2874 y(as)g(describ)s(ed)f(ab)s +4634 y(pleted,)44 b(and)c($3)i(is)e(the)h(w)m(ord)g(preceding)f(the)h +(w)m(ord)f(b)s(eing)h(completed,)1110 4743 y(as)g(describ)s(ed)f(ab)s (o)m(v)m(e)i(\(see)g(Section)f(8.6)h([Programmable)g(Completion],)1110 -2984 y(page)30 b(124\).)42 b(When)29 b(it)h(\014nishes,)e(the)h(p)s -(ossible)g(completions)h(are)g(retriev)m(ed)1110 3093 +4853 y(page)30 b(129\).)42 b(When)29 b(it)h(\014nishes,)e(the)h(p)s +(ossible)g(completions)h(are)g(retriev)m(ed)1110 4963 y(from)g(the)g(v)-5 b(alue)31 b(of)g(the)f Ft(COMPREPLY)e -Fu(arra)m(y)j(v)-5 b(ariable.)630 3258 y Ft(-G)30 b Fj(globpat)1110 -3367 y Fu(The)39 b(\014lename)h(expansion)g(pattern)g -Fr(globpat)j Fu(is)d(expanded)f(to)h(generate)1110 3477 -y(the)31 b(p)s(ossible)e(completions.)630 3641 y Ft(-P)h -Fj(prefix)66 b Fr(pre\014x)39 b Fu(is)34 b(added)f(at)i(the)f(b)s +Fu(arra)m(y)j(v)-5 b(ariable.)630 5121 y Ft(-G)30 b Fj(globpat)1110 +5230 y Fu(The)39 b(\014lename)h(expansion)g(pattern)g +Fr(globpat)j Fu(is)d(expanded)f(to)h(generate)1110 5340 +y(the)31 b(p)s(ossible)e(completions.)p eop end +%%Page: 134 140 +TeXDict begin 134 139 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(134)630 299 y Ft(-P)30 +b Fj(prefix)66 b Fr(pre\014x)39 b Fu(is)34 b(added)f(at)i(the)f(b)s (eginning)f(of)i(eac)m(h)g(p)s(ossible)e(completion)i(after)1110 -3751 y(all)c(other)g(options)g(ha)m(v)m(e)g(b)s(een)f(applied.)630 -3915 y Ft(-S)g Fj(suffix)66 b Fr(su\016x)26 b Fu(is)20 +408 y(all)c(other)g(options)g(ha)m(v)m(e)g(b)s(een)f(applied.)630 +567 y Ft(-S)g Fj(suffix)66 b Fr(su\016x)26 b Fu(is)20 b(app)s(ended)f(to)i(eac)m(h)h(p)s(ossible)e(completion)i(after)f(all)g -(other)g(options)1110 4025 y(ha)m(v)m(e)32 b(b)s(een)d(applied.)630 -4189 y Ft(-W)h Fj(wordlist)1110 4299 y Fu(The)24 b Fr(w)m(ordlist)k +(other)g(options)1110 677 y(ha)m(v)m(e)32 b(b)s(een)d(applied.)630 +835 y Ft(-W)h Fj(wordlist)1110 945 y Fu(The)24 b Fr(w)m(ordlist)k Fu(is)d(split)g(using)f(the)h(c)m(haracters)i(in)d(the)i -Ft(IFS)e Fu(sp)s(ecial)h(v)-5 b(ariable)1110 4408 y(as)36 +Ft(IFS)e Fu(sp)s(ecial)h(v)-5 b(ariable)1110 1054 y(as)36 b(delimiters,)i(and)e(eac)m(h)h(resultan)m(t)g(w)m(ord)e(is)h -(expanded.)57 b(The)35 b(p)s(ossible)1110 4518 y(completions)c(are)e +(expanded.)57 b(The)35 b(p)s(ossible)1110 1164 y(completions)c(are)e (the)h(mem)m(b)s(ers)f(of)g(the)h(resultan)m(t)g(list)g(whic)m(h)f -(matc)m(h)i(the)1110 4628 y(w)m(ord)f(b)s(eing)g(completed.)630 -4792 y Ft(-X)g Fj(filterpat)1110 4902 y Fr(\014lterpat)d +(matc)m(h)i(the)1110 1274 y(w)m(ord)f(b)s(eing)g(completed.)630 +1432 y Ft(-X)g Fj(filterpat)1110 1542 y Fr(\014lterpat)d Fu(is)e(a)g(pattern)g(as)f(used)g(for)h(\014lename)g(expansion.)38 -b(It)25 b(is)g(applied)f(to)1110 5011 y(the)30 b(list)f(of)h(p)s +b(It)25 b(is)g(applied)f(to)1110 1651 y(the)30 b(list)f(of)h(p)s (ossible)f(completions)h(generated)h(b)m(y)e(the)g(preceding)h(options) -1110 5121 y(and)d(argumen)m(ts,)i(and)e(eac)m(h)i(completion)g(matc)m -(hing)g Fr(\014lterpat)h Fu(is)e(remo)m(v)m(ed)1110 5230 +1110 1761 y(and)d(argumen)m(ts,)i(and)e(eac)m(h)i(completion)g(matc)m +(hing)g Fr(\014lterpat)h Fu(is)e(remo)m(v)m(ed)1110 1871 y(from)i(the)h(list.)42 b(A)30 b(leading)i(`)p Ft(!)p Fu(')e(in)g Fr(\014lterpat)j Fu(negates)f(the)f(pattern;)g(in)f(this) -1110 5340 y(case,)i(an)m(y)e(completion)i(not)f(matc)m(hing)g -Fr(\014lterpat)i Fu(is)d(remo)m(v)m(ed.)p eop end -%%Page: 130 136 -TeXDict begin 130 135 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(130)630 299 y(The)35 +1110 1980 y(case,)i(an)m(y)e(completion)i(not)f(matc)m(hing)g +Fr(\014lterpat)i Fu(is)d(remo)m(v)m(ed.)630 2139 y(The)35 b(return)g(v)-5 b(alue)37 b(is)f(true)f(unless)h(an)f(in)m(v)-5 b(alid)37 b(option)f(is)g(supplied,)g(an)g(option)h(other)630 -408 y(than)h Ft(-p)g Fu(or)g Ft(-r)f Fu(is)h(supplied)f(without)i(a)f +2248 y(than)h Ft(-p)g Fu(or)g Ft(-r)f Fu(is)h(supplied)f(without)i(a)f Fr(name)44 b Fu(argumen)m(t,)c(an)e(attempt)i(is)e(made)g(to)630 -518 y(remo)m(v)m(e)32 b(a)e(completion)i(sp)s(eci\014cation)f(for)f(a)h -Fr(name)k Fu(for)30 b(whic)m(h)g(no)g(sp)s(eci\014cation)h(exists,)630 -628 y(or)f(an)h(error)f(o)s(ccurs)g(adding)g(a)g(completion)i(sp)s -(eci\014cation.)150 789 y Ft(compopt)870 924 y(compopt)46 +2358 y(remo)m(v)m(e)32 b(a)e(completion)i(sp)s(eci\014cation)f(for)f(a) +h Fr(name)k Fu(for)30 b(whic)m(h)g(no)g(sp)s(eci\014cation)h(exists,) +630 2468 y(or)f(an)h(error)f(o)s(ccurs)g(adding)g(a)g(completion)i(sp)s +(eci\014cation.)150 2626 y Ft(compopt)870 2760 y(compopt)46 b([-o)h Fj(option)p Ft(])f([-DE])g([+o)h Fj(option)p -Ft(])f([)p Fj(name)p Ft(])630 1060 y Fu(Mo)s(dify)33 +Ft(])f([)p Fj(name)p Ft(])630 2894 y Fu(Mo)s(dify)33 b(completion)h(options)g(for)f(eac)m(h)h Fr(name)39 b Fu(according)34 b(to)g(the)f Fr(option)p Fu(s,)i(or)e(for)g(the)630 -1170 y(curren)m(tly-executing)46 b(completion)f(if)f(no)f +3004 y(curren)m(tly-executing)46 b(completion)f(if)f(no)f Fr(name)5 b Fu(s)44 b(are)h(supplied.)80 b(If)43 b(no)h -Fr(option)p Fu(s)h(are)630 1279 y(giv)m(en,)30 b(displa)m(y)e(the)g +Fr(option)p Fu(s)h(are)630 3114 y(giv)m(en,)30 b(displa)m(y)e(the)g (completion)h(options)g(for)e(eac)m(h)i Fr(name)34 b -Fu(or)27 b(the)i(curren)m(t)e(completion.)630 1389 y(The)f(p)s(ossible) +Fu(or)27 b(the)i(curren)m(t)e(completion.)630 3223 y(The)f(p)s(ossible) g(v)-5 b(alues)27 b(of)f Fr(option)h Fu(are)g(those)g(v)-5 b(alid)26 b(for)g(the)h Ft(complete)d Fu(builtin)i(describ)s(ed)630 -1498 y(ab)s(o)m(v)m(e.)41 b(The)28 b Ft(-D)g Fu(option)h(indicates)h +3333 y(ab)s(o)m(v)m(e.)41 b(The)28 b Ft(-D)g Fu(option)h(indicates)h (that)f(the)g(remaining)g(options)g(should)e(apply)h(to)i(the)630 -1608 y(\\default")j(command)f(completion;)i(that)f(is,)g(completion)g -(attempted)g(on)f(a)g(command)630 1717 y(for)g(whic)m(h)g(no)g +3442 y(\\default")j(command)f(completion;)i(that)f(is,)g(completion)g +(attempted)g(on)f(a)g(command)630 3552 y(for)g(whic)m(h)g(no)g (completion)i(has)e(previously)g(b)s(een)g(de\014ned.)45 -b(The)32 b Ft(-E)f Fu(option)i(indicates)630 1827 y(that)24 +b(The)32 b Ft(-E)f Fu(option)i(indicates)630 3662 y(that)24 b(the)g(remaining)g(options)g(should)e(apply)h(to)i(\\empt)m(y")g -(command)e(completion;)k(that)630 1937 y(is,)k(completion)g(attempted)h -(on)e(a)h(blank)f(line.)630 2072 y(The)g Ft(-D)g Fu(option)g(tak)m(es)i -(precedence)f(o)m(v)m(er)h Ft(-E)p Fu(.)630 2208 y(The)23 +(command)e(completion;)k(that)630 3771 y(is,)k(completion)g(attempted)h +(on)e(a)h(blank)f(line.)630 3905 y(The)g Ft(-D)g Fu(option)g(tak)m(es)i +(precedence)f(o)m(v)m(er)h Ft(-E)p Fu(.)630 4039 y(The)23 b(return)g(v)-5 b(alue)25 b(is)f(true)g(unless)f(an)h(in)m(v)-5 b(alid)24 b(option)h(is)f(supplied,)g(an)g(attempt)h(is)f(made)630 -2317 y(to)32 b(mo)s(dify)f(the)g(options)h(for)f(a)h +4149 y(to)32 b(mo)s(dify)f(the)g(options)h(for)f(a)h Fr(name)k Fu(for)31 b(whic)m(h)g(no)g(completion)i(sp)s(eci\014cation)f -(exists,)630 2427 y(or)e(an)h(output)f(error)g(o)s(ccurs.)150 -2662 y Fs(8.8)68 b(A)44 b(Programmable)j(Completion)f(Example)150 -2822 y Fu(The)37 b(most)g(common)g(w)m(a)m(y)i(to)e(obtain)h +(exists,)630 4259 y(or)e(an)h(output)f(error)g(o)s(ccurs.)150 +4499 y Fs(8.8)68 b(A)44 b(Programmable)j(Completion)f(Example)150 +4658 y Fu(The)37 b(most)g(common)g(w)m(a)m(y)i(to)e(obtain)h (additional)g(completion)g(functionalit)m(y)h(b)s(ey)m(ond)d(the)i -(default)150 2931 y(actions)29 b Ft(complete)d Fu(and)i +(default)150 4768 y(actions)29 b Ft(complete)d Fu(and)i Ft(compgen)e Fu(pro)m(vide)i(is)h(to)f(use)g(a)h(shell)f(function)g -(and)g(bind)e(it)j(to)g(a)g(particular)150 3041 y(command)h(using)g -Ft(complete)e(-F)p Fu(.)275 3177 y(The)j(follo)m(wing)j(function)e(pro) +(and)g(bind)e(it)j(to)g(a)g(particular)150 4877 y(command)h(using)g +Ft(complete)e(-F)p Fu(.)275 5011 y(The)j(follo)m(wing)j(function)e(pro) m(vides)g(completions)i(for)e(the)g Ft(cd)g Fu(builtin.)46 -b(It)32 b(is)h(a)f(reasonably)h(go)s(o)s(d)150 3287 y(example)e(of)f +b(It)32 b(is)h(a)f(reasonably)h(go)s(o)s(d)150 5121 y(example)e(of)f (what)g(shell)g(functions)g(m)m(ust)f(do)h(when)f(used)h(for)f (completion.)42 b(This)29 b(function)h(uses)g(the)150 -3396 y(w)m(ord)38 b(passsed)g(as)h Ft($2)g Fu(to)g(determine)g(the)g +5230 y(w)m(ord)38 b(passsed)g(as)h Ft($2)g Fu(to)g(determine)g(the)g (directory)g(name)g(to)g(complete.)67 b(Y)-8 b(ou)40 -b(can)f(also)g(use)g(the)150 3506 y Ft(COMP_WORDS)28 +b(can)f(also)g(use)g(the)150 5340 y Ft(COMP_WORDS)28 b Fu(arra)m(y)i(v)-5 b(ariable;)32 b(the)e(curren)m(t)h(w)m(ord)f(is)g -(indexed)g(b)m(y)g(the)h Ft(COMP_CWORD)c Fu(v)-5 b(ariable.)275 -3642 y(The)42 b(function)h(relies)h(on)e(the)i Ft(complete)c -Fu(and)j Ft(compgen)e Fu(builtins)h(to)i(do)f(m)m(uc)m(h)g(of)g(the)h -(w)m(ork,)150 3752 y(adding)25 b(only)h(the)g(things)g(that)g(the)g -(Bash)g Ft(cd)f Fu(do)s(es)g(b)s(ey)m(ond)g(accepting)j(basic)e -(directory)g(names:)38 b(tilde)150 3862 y(expansion)22 -b(\(see)h(Section)g(3.5.2)g([Tilde)g(Expansion],)g(page)g(22\),)i -(searc)m(hing)e(directories)g(in)e Fr($CDP)-8 b(A)g(TH)p -Fu(,)150 3971 y(whic)m(h)21 b(is)h(describ)s(ed)e(ab)s(o)m(v)m(e)j -(\(see)f(Section)h(4.1)f([Bourne)g(Shell)f(Builtins],)j(page)e(41\),)j -(and)c(basic)h(supp)s(ort)150 4081 y(for)31 b(the)h Ft(cdable_vars)d -Fu(shell)i(option)h(\(see)h(Section)f(4.3.2)i([The)d(Shopt)g(Builtin],) -i(page)f(62\).)46 b Ft(_comp_)150 4190 y(cd)30 b Fu(mo)s(di\014es)g -(the)h(v)-5 b(alue)31 b(of)g Fr(IFS)36 b Fu(so)31 b(that)g(it)g(con)m -(tains)h(only)f(a)g(newline)g(to)h(accommo)s(date)g(\014le)f(names)150 -4300 y(con)m(taining)i(spaces)g(and)e(tabs)h({)g Ft(compgen)e +(indexed)g(b)m(y)g(the)h Ft(COMP_CWORD)c Fu(v)-5 b(ariable.)p +eop end +%%Page: 135 141 +TeXDict begin 135 140 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(135)275 299 y(The)42 +b(function)h(relies)h(on)e(the)i Ft(complete)c Fu(and)j +Ft(compgen)e Fu(builtins)h(to)i(do)f(m)m(uc)m(h)g(of)g(the)h(w)m(ork,) +150 408 y(adding)25 b(only)h(the)g(things)g(that)g(the)g(Bash)g +Ft(cd)f Fu(do)s(es)g(b)s(ey)m(ond)g(accepting)j(basic)e(directory)g +(names:)38 b(tilde)150 518 y(expansion)22 b(\(see)h(Section)g(3.5.2)g +([Tilde)g(Expansion],)g(page)g(22\),)i(searc)m(hing)e(directories)g(in) +e Fr($CDP)-8 b(A)g(TH)p Fu(,)150 628 y(whic)m(h)21 b(is)h(describ)s(ed) +e(ab)s(o)m(v)m(e)j(\(see)f(Section)h(4.1)f([Bourne)g(Shell)f +(Builtins],)j(page)e(42\),)j(and)c(basic)h(supp)s(ort)150 +737 y(for)31 b(the)h Ft(cdable_vars)d Fu(shell)i(option)h(\(see)h +(Section)f(4.3.2)i([The)d(Shopt)g(Builtin],)i(page)f(64\).)46 +b Ft(_comp_)150 847 y(cd)30 b Fu(mo)s(di\014es)g(the)h(v)-5 +b(alue)31 b(of)g Fr(IFS)36 b Fu(so)31 b(that)g(it)g(con)m(tains)h(only) +f(a)g(newline)g(to)h(accommo)s(date)g(\014le)f(names)150 +956 y(con)m(taining)i(spaces)g(and)e(tabs)h({)g Ft(compgen)e Fu(prin)m(ts)h(the)h(p)s(ossible)f(completions)i(it)g(generates)g(one)f -(p)s(er)150 4410 y(line.)275 4546 y(P)m(ossible)24 b(completions)h(go)g +(p)s(er)150 1066 y(line.)275 1230 y(P)m(ossible)24 b(completions)h(go)g (in)m(to)g(the)f Fr(COMPREPL)-8 b(Y)36 b Fu(arra)m(y)24 b(v)-5 b(ariable,)26 b(one)e(completion)i(p)s(er)c(arra)m(y)150 -4656 y(elemen)m(t.)42 b(The)30 b(programmable)g(completion)i(system)e +1340 y(elemen)m(t.)42 b(The)30 b(programmable)g(completion)i(system)e (retriev)m(es)h(the)g(completions)g(from)f(there)g(when)150 -4765 y(the)h(function)f(returns.)390 4902 y Ft(#)47 b(A)h(completion)d -(function)g(for)i(the)g(cd)g(builtin)390 5011 y(#)g(based)g(on)g(the)g +1450 y(the)h(function)f(returns.)390 1614 y Ft(#)47 b(A)h(completion)d +(function)g(for)i(the)g(cd)g(builtin)390 1724 y(#)g(based)g(on)g(the)g (cd)g(completion)e(function)h(from)g(the)h(bash_completion)d(package) -390 5121 y(_comp_cd\(\))390 5230 y({)581 5340 y(local)i(IFS=$')g -(\\t\\n')190 b(#)47 b(normalize)f(IFS)p eop end -%%Page: 131 137 -TeXDict begin 131 136 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(131)581 299 y Ft(local)46 -b(cur)h(_skipdot)f(_cdpath)581 408 y(local)g(i)i(j)f(k)581 -628 y(#)g(Tilde)g(expansion,)e(with)h(side)h(effect)f(of)h(expanding)f -(tilde)g(to)h(full)g(pathname)581 737 y(case)g("$2")f(in)581 -847 y(\\~*\))190 b(eval)46 b(cur="$2")g(;;)581 956 y(*\))286 -b(cur=$2)46 b(;;)581 1066 y(esac)581 1285 y(#)h(no)h(cdpath)e(or)h -(absolute)e(pathname)h(--)h(straight)f(directory)f(completion)581 -1395 y(if)i([[)g(-z)g("${CDPATH:-}")e(]])i(||)g([[)g("$cur")f(==)h -(@\(./*|../*|/*\))d(]];)j(then)772 1504 y(#)g(compgen)f(prints)g(paths) +390 1833 y(_comp_cd\(\))390 1943 y({)581 2052 y(local)i(IFS=$')g +(\\t\\n')190 b(#)47 b(normalize)f(IFS)581 2162 y(local)g(cur)h +(_skipdot)f(_cdpath)581 2271 y(local)g(i)i(j)f(k)581 +2491 y(#)g(Tilde)g(expansion,)e(with)h(side)h(effect)f(of)h(expanding)f +(tilde)g(to)h(full)g(pathname)581 2600 y(case)g("$2")f(in)581 +2710 y(\\~*\))190 b(eval)46 b(cur="$2")g(;;)581 2819 +y(*\))286 b(cur=$2)46 b(;;)581 2929 y(esac)581 3148 y(#)h(no)h(cdpath)e +(or)h(absolute)e(pathname)h(--)h(straight)f(directory)f(completion)581 +3258 y(if)i([[)g(-z)g("${CDPATH:-}")e(]])i(||)g([[)g("$cur")f(==)h +(@\(./*|../*|/*\))d(]];)j(then)772 3367 y(#)g(compgen)f(prints)g(paths) h(one)f(per)h(line;)g(could)f(also)h(use)g(while)f(loop)772 -1614 y(IFS=$'\\n')772 1724 y(COMPREPLY=\()f($\(compgen)g(-d)i(--)g -("$cur"\))f(\))772 1833 y(IFS=$')g(\\t\\n')581 1943 y(#)h +3477 y(IFS=$'\\n')772 3587 y(COMPREPLY=\()f($\(compgen)g(-d)i(--)g +("$cur"\))f(\))772 3696 y(IFS=$')g(\\t\\n')581 3806 y(#)h (CDPATH+directories)c(in)k(the)g(current)f(directory)f(if)j(not)e(in)i -(CDPATH)581 2052 y(else)772 2162 y(IFS=$'\\n')772 2271 -y(_skipdot=false)772 2381 y(#)f(preprocess)e(CDPATH)h(to)i(convert)d -(null)i(directory)e(names)i(to)g(.)772 2491 y(_cdpath=${CDPATH/#:/.:}) -772 2600 y(_cdpath=${_cdpath//::/:.)o(:})772 2710 y -(_cdpath=${_cdpath/\045:/:.})772 2819 y(for)g(i)g(in)g -(${_cdpath//:/$'\\n'};)c(do)963 2929 y(if)k([[)g($i)g(-ef)g(.)h(]];)f -(then)f(_skipdot=true;)e(fi)963 3039 y(k="${#COMPREPLY[@]}")963 -3148 y(for)j(j)g(in)g($\()g(compgen)f(-d)h(--)h("$i/$cur")d(\);)i(do) -1154 3258 y(COMPREPLY[k++]=${j#$i/})375 b(#)48 b(cut)f(off)f(directory) -963 3367 y(done)772 3477 y(done)772 3587 y($_skipdot)f(||)i -(COMPREPLY+=\()e($\(compgen)g(-d)i(--)g("$cur"\))f(\))772 -3696 y(IFS=$')g(\\t\\n')581 3806 y(fi)581 4025 y(#)h(variable)f(names)g +(CDPATH)581 3915 y(else)772 4025 y(IFS=$'\\n')772 4134 +y(_skipdot=false)772 4244 y(#)f(preprocess)e(CDPATH)h(to)i(convert)d +(null)i(directory)e(names)i(to)g(.)772 4354 y(_cdpath=${CDPATH/#:/.:}) +772 4463 y(_cdpath=${_cdpath//::/:.)o(:})772 4573 y +(_cdpath=${_cdpath/\045:/:.})772 4682 y(for)g(i)g(in)g +(${_cdpath//:/$'\\n'};)c(do)963 4792 y(if)k([[)g($i)g(-ef)g(.)h(]];)f +(then)f(_skipdot=true;)e(fi)963 4902 y(k="${#COMPREPLY[@]}")963 +5011 y(for)j(j)g(in)g($\()g(compgen)f(-d)h(--)h("$i/$cur")d(\);)i(do) +1154 5121 y(COMPREPLY[k++]=${j#$i/})375 b(#)48 b(cut)f(off)f(directory) +963 5230 y(done)772 5340 y(done)p eop end +%%Page: 136 142 +TeXDict begin 136 141 bop 150 -116 a Fu(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(136)772 299 y Ft($_skipdot)45 +b(||)i(COMPREPLY+=\()e($\(compgen)g(-d)i(--)g("$cur"\))f(\))772 +408 y(IFS=$')g(\\t\\n')581 518 y(fi)581 737 y(#)h(variable)f(names)g (if)h(appropriate)e(shell)i(option)f(set)h(and)f(no)i(completions)581 -4134 y(if)f(shopt)f(-q)i(cdable_vars)c(&&)k([[)f(${#COMPREPLY[@]})c -(-eq)k(0)g(]];)g(then)772 4244 y(COMPREPLY=\()e($\(compgen)g(-v)i(--)g -("$cur"\))f(\))581 4354 y(fi)581 4573 y(return)g(0)390 -4682 y(})275 4902 y Fu(W)-8 b(e)31 b(install)g(the)g(completion)h +847 y(if)f(shopt)f(-q)i(cdable_vars)c(&&)k([[)f(${#COMPREPLY[@]})c(-eq) +k(0)g(]];)g(then)772 956 y(COMPREPLY=\()e($\(compgen)g(-v)i(--)g +("$cur"\))f(\))581 1066 y(fi)581 1285 y(return)g(0)390 +1395 y(})275 1529 y Fu(W)-8 b(e)31 b(install)g(the)g(completion)h (function)e(using)f(the)i Ft(-F)f Fu(option)h(to)g Ft(complete)p -Fu(:)390 5121 y Ft(#)47 b(Tell)g(readline)f(to)h(quote)f(appropriate)f -(and)i(append)f(slashes)g(to)h(directories;)390 5230 +Fu(:)390 1664 y Ft(#)47 b(Tell)g(readline)f(to)h(quote)f(appropriate)f +(and)i(append)f(slashes)g(to)h(directories;)390 1773 y(#)g(use)g(the)g(bash)g(default)f(completion)f(for)i(other)f -(arguments)390 5340 y(complete)g(-o)h(filenames)e(-o)i(nospace)f(-o)h -(bashdefault)e(-F)i(_comp_cd)f(cd)p eop end -%%Page: 132 138 -TeXDict begin 132 137 bop 150 -116 a Fu(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(132)150 299 y(Since)33 +(arguments)390 1883 y(complete)g(-o)h(filenames)e(-o)i(nospace)f(-o)h +(bashdefault)e(-F)i(_comp_cd)f(cd)150 2017 y Fu(Since)33 b(w)m(e'd)g(lik)m(e)i(Bash)e(and)f(Readline)i(to)g(tak)m(e)g(care)g(of) f(some)h(of)f(the)g(other)h(details)g(for)e(us,)i(w)m(e)f(use)150 -408 y(sev)m(eral)43 b(other)g(options)f(to)h(tell)g(Bash)f(and)f +2127 y(sev)m(eral)43 b(other)g(options)f(to)h(tell)g(Bash)f(and)f (Readline)i(what)f(to)g(do.)76 b(The)41 b Ft(-o)30 b(filenames)39 -b Fu(option)150 518 y(tells)j(Readline)g(that)g(the)f(p)s(ossible)g +b Fu(option)150 2237 y(tells)j(Readline)g(that)g(the)f(p)s(ossible)g (completions)h(should)f(b)s(e)f(treated)i(as)g(\014lenames,)i(and)d -(quoted)150 628 y(appropriately)-8 b(.)53 b(That)34 b(option)h(will)g -(also)g(cause)g(Readline)g(to)g(app)s(end)e(a)h(slash)g(to)h -(\014lenames)g(it)g(can)150 737 y(determine)i(are)g(directories)h -(\(whic)m(h)g(is)f(wh)m(y)f(w)m(e)i(migh)m(t)f(w)m(an)m(t)h(to)g -(extend)f Ft(_comp_cd)e Fu(to)i(app)s(end)f(a)150 847 +(quoted)150 2346 y(appropriately)-8 b(.)53 b(That)34 +b(option)h(will)g(also)g(cause)g(Readline)g(to)g(app)s(end)e(a)h(slash) +g(to)h(\014lenames)g(it)g(can)150 2456 y(determine)i(are)g(directories) +h(\(whic)m(h)g(is)f(wh)m(y)f(w)m(e)i(migh)m(t)f(w)m(an)m(t)h(to)g +(extend)f Ft(_comp_cd)e Fu(to)i(app)s(end)f(a)150 2565 y(slash)22 b(if)g(w)m(e're)h(using)f(directories)h(found)e(via)i Fr(CDP)-8 b(A)g(TH)10 b Fu(:)37 b(Readline)23 b(can't)g(tell)g(those)g -(completions)h(are)150 956 y(directories\).)45 b(The)31 +(completions)h(are)150 2675 y(directories\).)45 b(The)31 b Ft(-o)f(nospace)f Fu(option)j(tells)g(Readline)g(to)h(not)e(app)s -(end)f(a)i(space)g(c)m(haracter)h(to)f(the)150 1066 y(directory)c +(end)f(a)i(space)g(c)m(haracter)h(to)f(the)150 2785 y(directory)c (name,)h(in)f(case)h(w)m(e)f(w)m(an)m(t)h(to)f(app)s(end)f(to)h(it.)41 b(The)27 b Ft(-o)j(bashdefault)25 b Fu(option)j(brings)f(in)h(the)150 -1176 y(rest)h(of)f(the)h Ft(")p Fu(Bash)f(default)p Ft(")h +2894 y(rest)h(of)f(the)h Ft(")p Fu(Bash)f(default)p Ft(")h Fu(completions)g({)g(p)s(ossible)f(completion)i(that)f(Bash)f(adds)g -(to)h(the)g(default)150 1285 y(Readline)40 b(set.)68 +(to)h(the)g(default)150 3004 y(Readline)40 b(set.)68 b(These)39 b(include)g(things)g(lik)m(e)i(command)e(name)g(completion,) -44 b(v)-5 b(ariable)40 b(completion)150 1395 y(for)i(w)m(ords)g(b)s +44 b(v)-5 b(ariable)40 b(completion)150 3113 y(for)i(w)m(ords)g(b)s (eginning)f(with)h(`)p Ft({)p Fu(',)k(completions)e(con)m(taining)f -(pathname)g(expansion)f(patterns)g(\(see)150 1504 y(Section)31 +(pathname)g(expansion)f(patterns)g(\(see)150 3223 y(Section)31 b(3.5.8)h([Filename)g(Expansion],)e(page)i(30\),)f(and)f(so)h(on.)275 -1639 y(Once)39 b(installed)i(using)e Ft(complete)p Fu(,)h +3357 y(Once)39 b(installed)i(using)e Ft(complete)p Fu(,)h Ft(_comp_cd)d Fu(will)j(b)s(e)g(called)g(ev)m(ery)h(time)f(w)m(e)g -(attempt)h(w)m(ord)150 1748 y(completion)32 b(for)e(a)h -Ft(cd)e Fu(command.)275 1883 y(Man)m(y)34 b(more)g(examples)g({)g(an)g +(attempt)h(w)m(ord)150 3467 y(completion)32 b(for)e(a)h +Ft(cd)e Fu(command.)275 3601 y(Man)m(y)34 b(more)g(examples)g({)g(an)g (extensiv)m(e)h(collection)i(of)c(completions)i(for)f(most)g(of)g(the)g -(common)150 1993 y(GNU,)g(Unix,)h(and)d(Lin)m(ux)h(commands)g({)h(are)g +(common)150 3711 y(GNU,)g(Unix,)h(and)d(Lin)m(ux)h(commands)g({)h(are)g (a)m(v)-5 b(ailable)36 b(as)e(part)f(of)h(the)f(bash)p -2943 1993 28 4 v 39 w(completion)i(pro)5 b(ject.)150 -2102 y(This)33 b(is)h(installed)h(b)m(y)f(default)g(on)g(man)m(y)h +2943 3711 28 4 v 39 w(completion)i(pro)5 b(ject.)150 +3821 y(This)33 b(is)h(installed)h(b)m(y)f(default)g(on)g(man)m(y)h (GNU/Lin)m(ux)f(distributions.)51 b(Originally)35 b(written)f(b)m(y)g -(Ian)150 2212 y(Macdonald,)45 b(the)c(pro)5 b(ject)42 -b(no)m(w)f(liv)m(es)i(at)f Ft(http:)9 b(/)g(/)e(bash-completio)o(n)i(.) -e(a)o(lio)o(th)i(.)d(debi)o(an)j(.)d(org)i(/)f Fu(.)150 -2321 y(There)30 b(are)h(p)s(orts)e(for)h(other)h(systems)f(suc)m(h)g -(as)h(Solaris)g(and)f(Mac)h(OS)f(X.)275 2456 y(An)54 -b(older)h(v)m(ersion)h(of)f(the)g(bash)p 1532 2456 V -40 w(completion)h(pac)m(k)-5 b(age)57 b(is)e(distributed)f(with)h(bash) -f(in)h(the)150 2565 y Ft(examples/complete)26 b Fu(sub)s(directory)-8 +(Ian)150 3930 y(Macdonald,)44 b(the)d(pro)5 b(ject)41 +b(no)m(w)f(liv)m(es)i(at)f Ft(http:)8 b(/)g(/)g(bash-completion)g(.)g +(alioth)g(.)g(debi)o(an)g(.)g(org)f(/)h Fu(.)150 4040 +y(There)30 b(are)h(p)s(orts)e(for)h(other)h(systems)f(suc)m(h)g(as)h +(Solaris)g(and)f(Mac)h(OS)f(X.)275 4174 y(An)54 b(older)h(v)m(ersion)h +(of)f(the)g(bash)p 1532 4174 V 40 w(completion)h(pac)m(k)-5 +b(age)57 b(is)e(distributed)f(with)h(bash)f(in)h(the)150 +4284 y Ft(examples/complete)26 b Fu(sub)s(directory)-8 b(.)p eop end -%%Page: 133 139 -TeXDict begin 133 138 bop 150 -116 a Fu(Chapter)30 b(9:)41 -b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(133)150 -299 y Fp(9)80 b(Using)53 b(History)g(In)l(teractiv)l(ely)150 -543 y Fu(This)42 b(c)m(hapter)h(describ)s(es)f(ho)m(w)g(to)h(use)g(the) +%%Page: 137 143 +TeXDict begin 137 142 bop 3614 -116 a Fu(137)150 299 +y Fp(9)80 b(Using)53 b(History)g(In)l(teractiv)l(ely)150 +498 y Fu(This)42 b(c)m(hapter)h(describ)s(es)f(ho)m(w)g(to)h(use)g(the) f Fm(gnu)h Fu(History)g(Library)e(in)m(teractiv)m(ely)-8 -b(,)50 b(from)42 b(a)h(user's)150 653 y(standp)s(oin)m(t.)76 +b(,)50 b(from)42 b(a)h(user's)150 607 y(standp)s(oin)m(t.)76 b(It)42 b(should)f(b)s(e)h(considered)g(a)g(user's)g(guide.)76 b(F)-8 b(or)43 b(information)f(on)g(using)g(the)g Fm(gnu)150 -762 y Fu(History)31 b(Library)f(in)g(other)g(programs,)g(see)h(the)g -Fm(gnu)f Fu(Readline)h(Library)f(Man)m(ual.)150 1000 -y Fs(9.1)68 b(Bash)45 b(History)h(F)-11 b(acilities)150 -1159 y Fu(When)44 b(the)g Ft(-o)30 b(history)42 b Fu(option)i(to)h(the) +717 y Fu(History)31 b(Library)f(in)g(other)g(programs,)g(see)h(the)g +Fm(gnu)f Fu(Readline)h(Library)f(Man)m(ual.)150 944 y +Fs(9.1)68 b(Bash)45 b(History)h(F)-11 b(acilities)150 +1103 y Fu(When)44 b(the)g Ft(-o)30 b(history)42 b Fu(option)i(to)h(the) f Ft(set)f Fu(builtin)h(is)g(enabled)g(\(see)g(Section)h(4.3.1)h([The)e -(Set)150 1269 y(Builtin],)32 b(page)g(58\),)h(the)e(shell)h(pro)m +(Set)150 1213 y(Builtin],)32 b(page)g(60\),)h(the)e(shell)h(pro)m (vides)f(access)h(to)g(the)f Fr(command)g(history)p Fu(,)h(the)f(list)h -(of)f(commands)150 1378 y(previously)h(t)m(yp)s(ed.)47 +(of)f(commands)150 1322 y(previously)h(t)m(yp)s(ed.)47 b(The)33 b(v)-5 b(alue)33 b(of)f(the)h Ft(HISTSIZE)e Fu(shell)h(v)-5 b(ariable)34 b(is)f(used)e(as)i(the)g(n)m(um)m(b)s(er)e -(of)i(com-)150 1488 y(mands)i(to)i(sa)m(v)m(e)h(in)e(a)g(history)h +(of)i(com-)150 1432 y(mands)i(to)i(sa)m(v)m(e)h(in)e(a)g(history)h (list.)58 b(The)36 b(text)h(of)g(the)f(last)h Ft($HISTSIZE)d -Fu(commands)i(\(default)g(500\))150 1597 y(is)h(sa)m(v)m(ed.)61 +Fu(commands)i(\(default)g(500\))150 1541 y(is)h(sa)m(v)m(ed.)61 b(The)36 b(shell)h(stores)h(eac)m(h)g(command)e(in)h(the)g(history)g (list)g(prior)f(to)i(parameter)f(and)f(v)-5 b(ari-)150 -1707 y(able)33 b(expansion)g(but)f(after)h(history)f(expansion)h(is)g +1651 y(able)33 b(expansion)g(but)f(after)h(history)f(expansion)h(is)g (p)s(erformed,)e(sub)5 b(ject)33 b(to)g(the)g(v)-5 b(alues)33 -b(of)g(the)g(shell)150 1817 y(v)-5 b(ariables)31 b Ft(HISTIGNORE)d -Fu(and)h Ft(HISTCONTROL)p Fu(.)275 1954 y(When)g(the)g(shell)h(starts)g +b(of)g(the)g(shell)150 1760 y(v)-5 b(ariables)31 b Ft(HISTIGNORE)d +Fu(and)h Ft(HISTCONTROL)p Fu(.)275 1888 y(When)g(the)g(shell)h(starts)g (up,)f(the)h(history)f(is)h(initialized)h(from)e(the)h(\014le)f(named)g -(b)m(y)h(the)f Ft(HISTFILE)150 2064 y Fu(v)-5 b(ariable)26 +(b)m(y)h(the)f Ft(HISTFILE)150 1998 y Fu(v)-5 b(ariable)26 b(\(default)g Ft(~/.bash_history)p Fu(\).)35 b(The)24 b(\014le)i(named)e(b)m(y)h(the)h(v)-5 b(alue)25 b(of)h -Ft(HISTFILE)c Fu(is)k(truncated,)150 2174 y(if)42 b(necessary)-8 +Ft(HISTFILE)c Fu(is)k(truncated,)150 2107 y(if)42 b(necessary)-8 b(,)45 b(to)e(con)m(tain)g(no)f(more)g(than)f(the)h(n)m(um)m(b)s(er)f (of)h(lines)g(sp)s(eci\014ed)f(b)m(y)h(the)g(v)-5 b(alue)42 -b(of)g(the)150 2283 y Ft(HISTFILESIZE)28 b Fu(v)-5 b(ariable.)46 +b(of)g(the)150 2217 y Ft(HISTFILESIZE)28 b Fu(v)-5 b(ariable.)46 b(When)31 b(a)h(shell)g(with)g(history)f(enabled)h(exits,)h(the)f(last) -h Ft($HISTSIZE)c Fu(lines)150 2393 y(are)35 b(copied)g(from)g(the)g +h Ft($HISTSIZE)c Fu(lines)150 2326 y(are)35 b(copied)g(from)g(the)g (history)f(list)i(to)f(the)g(\014le)g(named)f(b)m(y)h Ft($HISTFILE)p Fu(.)51 b(If)35 b(the)g Ft(histappend)d -Fu(shell)150 2502 y(option)26 b(is)g(set)g(\(see)h(Section)f(4.2)h -([Bash)f(Builtins],)h(page)g(48\),)h(the)e(lines)g(are)g(app)s(ended)e -(to)i(the)g(history)150 2612 y(\014le,)36 b(otherwise)f(the)g(history)f +Fu(shell)150 2436 y(option)26 b(is)g(set)g(\(see)h(Section)f(4.2)h +([Bash)f(Builtins],)h(page)g(49\),)h(the)e(lines)g(are)g(app)s(ended)e +(to)i(the)g(history)150 2545 y(\014le,)36 b(otherwise)f(the)g(history)f (\014le)h(is)f(o)m(v)m(erwritten.)55 b(If)34 b Ft(HISTFILE)e Fu(is)j(unset,)g(or)g(if)f(the)h(history)f(\014le)h(is)150 -2721 y(un)m(writable,)f(the)f(history)g(is)g(not)h(sa)m(v)m(ed.)49 +2655 y(un)m(writable,)f(the)f(history)g(is)g(not)h(sa)m(v)m(ed.)49 b(After)34 b(sa)m(ving)g(the)f(history)-8 b(,)34 b(the)g(history)f -(\014le)g(is)g(truncated)150 2831 y(to)g(con)m(tain)h(no)f(more)g(than) +(\014le)g(is)g(truncated)150 2765 y(to)g(con)m(tain)h(no)f(more)g(than) f Ft($HISTFILESIZE)d Fu(lines.)48 b(If)33 b Ft(HISTFILESIZE)c -Fu(is)k(unset,)g(or)f(set)i(to)f(n)m(ull,)h(a)150 2941 +Fu(is)k(unset,)g(or)f(set)i(to)f(n)m(ull,)h(a)150 2874 y(non-n)m(umeric)c(v)-5 b(alue,)31 b(or)f(a)h(n)m(umeric)f(v)-5 b(alue)31 b(less)g(than)f(zero,)h(the)g(history)f(\014le)h(is)f(not)h -(truncated.)275 3078 y(If)g(the)h Ft(HISTTIMEFORMAT)d +(truncated.)275 3002 y(If)g(the)h Ft(HISTTIMEFORMAT)d Fu(is)j(set,)h(the)f(time)h(stamp)f(information)g(asso)s(ciated)i(with) -e(eac)m(h)h(history)150 3188 y(en)m(try)d(is)h(written)f(to)h(the)f +e(eac)m(h)h(history)150 3111 y(en)m(try)d(is)h(written)f(to)h(the)f (history)h(\014le,)f(mark)m(ed)h(with)f(the)g(history)g(commen)m(t)h(c) -m(haracter.)43 b(When)30 b(the)150 3298 y(history)22 +m(haracter.)43 b(When)30 b(the)150 3221 y(history)22 b(\014le)h(is)g(read,)h(lines)f(b)s(eginning)e(with)i(the)f(history)h (commen)m(t)g(c)m(haracter)h(follo)m(w)m(ed)h(immediately)150 -3407 y(b)m(y)30 b(a)h(digit)g(are)g(in)m(terpreted)g(as)f(timestamps)h -(for)f(the)h(previous)f(history)g(line.)275 3545 y(The)19 -b(builtin)h(command)g Ft(fc)g Fu(ma)m(y)h(b)s(e)f(used)f(to)i(list)g -(or)g(edit)g(and)e(re-execute)j(a)f(p)s(ortion)f(of)g(the)h(history)150 -3655 y(list.)41 b(The)27 b Ft(history)f Fu(builtin)i(ma)m(y)h(b)s(e)e -(used)g(to)i(displa)m(y)g(or)f(mo)s(dify)f(the)h(history)g(list)h(and)f -(manipulate)150 3764 y(the)j(history)g(\014le.)42 b(When)31 -b(using)f(command-line)h(editing,)h(searc)m(h)f(commands)g(are)g(a)m(v) --5 b(ailable)33 b(in)e(eac)m(h)150 3874 y(editing)45 -b(mo)s(de)g(that)g(pro)m(vide)g(access)h(to)f(the)g(history)f(list)i -(\(see)f(Section)h(8.4.2)g([Commands)e(F)-8 b(or)150 -3983 y(History],)31 b(page)h(116\).)275 4121 y(The)47 -b(shell)i(allo)m(ws)h(con)m(trol)f(o)m(v)m(er)h(whic)m(h)e(commands)g -(are)h(sa)m(v)m(ed)g(on)f(the)h(history)f(list.)95 b(The)150 -4231 y Ft(HISTCONTROL)25 b Fu(and)j Ft(HISTIGNORE)e Fu(v)-5 -b(ariables)29 b(ma)m(y)h(b)s(e)d(set)j(to)f(cause)g(the)g(shell)f(to)i -(sa)m(v)m(e)g(only)f(a)g(subset)150 4340 y(of)e(the)g(commands)f(en)m -(tered.)40 b(The)26 b Ft(cmdhist)f Fu(shell)i(option,)h(if)f(enabled,)g -(causes)h(the)e(shell)h(to)h(attempt)150 4450 y(to)23 -b(sa)m(v)m(e)h(eac)m(h)f(line)g(of)f(a)h(m)m(ulti-line)g(command)f(in)g -(the)h(same)f(history)g(en)m(try)-8 b(,)25 b(adding)d(semicolons)h -(where)150 4560 y(necessary)37 b(to)f(preserv)m(e)h(syn)m(tactic)h -(correctness.)58 b(The)36 b Ft(lithist)e Fu(shell)i(option)h(causes)g -(the)f(shell)g(to)150 4669 y(sa)m(v)m(e)25 b(the)e(command)h(with)f(em) -m(b)s(edded)f(newlines)h(instead)h(of)f(semicolons.)40 -b(The)23 b Ft(shopt)e Fu(builtin)i(is)h(used)150 4779 -y(to)31 b(set)g(these)g(options.)41 b(See)31 b(Section)g(4.2)g([Bash)g -(Builtins],)g(page)g(48,)h(for)e(a)h(description)f(of)h -Ft(shopt)p Fu(.)150 5016 y Fs(9.2)68 b(Bash)45 b(History)h(Builtins)150 -5176 y Fu(Bash)31 b(pro)m(vides)f(t)m(w)m(o)i(builtin)e(commands)g -(whic)m(h)g(manipulate)g(the)h(history)f(list)h(and)f(history)g -(\014le.)150 5340 y Ft(fc)p eop end -%%Page: 134 140 -TeXDict begin 134 139 bop 150 -116 a Fu(Chapter)30 b(9:)41 -b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(134)870 -299 y Ft(fc)47 b([-e)g Fj(ename)p Ft(])f([-lnr])g([)p -Fj(first)p Ft(])g([)p Fj(last)p Ft(])870 408 y(fc)h(-s)g([)p -Fj(pat)p Ft(=)p Fj(rep)p Ft(])f([)p Fj(command)p Ft(])630 -539 y Fu(The)22 b(\014rst)g(form)f(selects)j(a)f(range)g(of)f(commands) -g(from)g Fr(\014rst)i Fu(to)f Fr(last)i Fu(from)d(the)h(history)f(list) -630 648 y(and)i(displa)m(ys)h(or)g(edits)h(and)e(re-executes)j(them.)39 -b(Both)25 b Fr(\014rst)h Fu(and)f Fr(last)j Fu(ma)m(y)d(b)s(e)g(sp)s -(eci\014ed)630 758 y(as)31 b(a)g(string)f(\(to)i(lo)s(cate)h(the)d -(most)h(recen)m(t)h(command)f(b)s(eginning)e(with)i(that)g(string\))g -(or)630 867 y(as)d(a)g(n)m(um)m(b)s(er)f(\(an)h(index)f(in)m(to)i(the)f +3330 y(b)m(y)30 b(a)h(digit)g(are)g(in)m(terpreted)g(as)f(timestamps)h +(for)f(the)h(follo)m(wing)h(history)e(en)m(try)-8 b(.)275 +3458 y(The)19 b(builtin)h(command)g Ft(fc)g Fu(ma)m(y)h(b)s(e)f(used)f +(to)i(list)g(or)g(edit)g(and)e(re-execute)j(a)f(p)s(ortion)f(of)g(the)h +(history)150 3567 y(list.)41 b(The)27 b Ft(history)f +Fu(builtin)i(ma)m(y)h(b)s(e)e(used)g(to)i(displa)m(y)g(or)f(mo)s(dify)f +(the)h(history)g(list)h(and)f(manipulate)150 3677 y(the)j(history)g +(\014le.)42 b(When)31 b(using)f(command-line)h(editing,)h(searc)m(h)f +(commands)g(are)g(a)m(v)-5 b(ailable)33 b(in)e(eac)m(h)150 +3787 y(editing)45 b(mo)s(de)g(that)g(pro)m(vide)g(access)h(to)f(the)g +(history)f(list)i(\(see)f(Section)h(8.4.2)g([Commands)e(F)-8 +b(or)150 3896 y(History],)31 b(page)h(120\).)275 4024 +y(The)47 b(shell)i(allo)m(ws)h(con)m(trol)f(o)m(v)m(er)h(whic)m(h)e +(commands)g(are)h(sa)m(v)m(ed)g(on)f(the)h(history)f(list.)95 +b(The)150 4133 y Ft(HISTCONTROL)25 b Fu(and)j Ft(HISTIGNORE)e +Fu(v)-5 b(ariables)29 b(ma)m(y)h(b)s(e)d(set)j(to)f(cause)g(the)g +(shell)f(to)i(sa)m(v)m(e)g(only)f(a)g(subset)150 4243 +y(of)e(the)g(commands)f(en)m(tered.)40 b(The)26 b Ft(cmdhist)f +Fu(shell)i(option,)h(if)f(enabled,)g(causes)h(the)e(shell)h(to)h +(attempt)150 4352 y(to)23 b(sa)m(v)m(e)h(eac)m(h)f(line)g(of)f(a)h(m)m +(ulti-line)g(command)f(in)g(the)h(same)f(history)g(en)m(try)-8 +b(,)25 b(adding)d(semicolons)h(where)150 4462 y(necessary)37 +b(to)f(preserv)m(e)h(syn)m(tactic)h(correctness.)58 b(The)36 +b Ft(lithist)e Fu(shell)i(option)h(causes)g(the)f(shell)g(to)150 +4572 y(sa)m(v)m(e)25 b(the)e(command)h(with)f(em)m(b)s(edded)f +(newlines)h(instead)h(of)f(semicolons.)40 b(The)23 b +Ft(shopt)e Fu(builtin)i(is)h(used)150 4681 y(to)31 b(set)g(these)g +(options.)41 b(See)31 b(Section)g(4.2)g([Bash)g(Builtins],)g(page)g +(49,)h(for)e(a)h(description)f(of)h Ft(shopt)p Fu(.)150 +4908 y Fs(9.2)68 b(Bash)45 b(History)h(Builtins)150 5067 +y Fu(Bash)31 b(pro)m(vides)f(t)m(w)m(o)i(builtin)e(commands)g(whic)m(h) +g(manipulate)g(the)h(history)f(list)h(and)f(history)g(\014le.)150 +5213 y Ft(fc)870 5340 y(fc)47 b([-e)g Fj(ename)p Ft(])f([-lnr])g([)p +Fj(first)p Ft(])g([)p Fj(last)p Ft(])p eop end +%%Page: 138 144 +TeXDict begin 138 143 bop 150 -116 a Fu(Chapter)30 b(9:)41 +b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(138)870 +299 y Ft(fc)47 b(-s)g([)p Fj(pat)p Ft(=)p Fj(rep)p Ft(])f([)p +Fj(command)p Ft(])630 429 y Fu(The)22 b(\014rst)g(form)f(selects)j(a)f +(range)g(of)f(commands)g(from)g Fr(\014rst)i Fu(to)f +Fr(last)i Fu(from)d(the)h(history)f(list)630 539 y(and)i(displa)m(ys)h +(or)g(edits)h(and)e(re-executes)j(them.)39 b(Both)25 +b Fr(\014rst)h Fu(and)f Fr(last)j Fu(ma)m(y)d(b)s(e)g(sp)s(eci\014ed) +630 648 y(as)31 b(a)g(string)f(\(to)i(lo)s(cate)h(the)d(most)h(recen)m +(t)h(command)f(b)s(eginning)e(with)i(that)g(string\))g(or)630 +758 y(as)d(a)g(n)m(um)m(b)s(er)f(\(an)h(index)f(in)m(to)i(the)f (history)g(list,)h(where)e(a)h(negativ)m(e)i(n)m(um)m(b)s(er)d(is)h -(used)f(as)630 977 y(an)g(o\013set)i(from)e(the)h(curren)m(t)f(command) +(used)f(as)630 867 y(an)g(o\013set)i(from)e(the)h(curren)m(t)f(command) h(n)m(um)m(b)s(er\).)39 b(If)27 b Fr(last)j Fu(is)e(not)f(sp)s -(eci\014ed)g(it)h(is)g(set)g(to)630 1087 y Fr(\014rst)p +(eci\014ed)g(it)h(is)g(set)g(to)630 977 y Fr(\014rst)p Fu(.)47 b(If)32 b Fr(\014rst)i Fu(is)f(not)g(sp)s(eci\014ed)f(it)h(is)g (set)g(to)h(the)f(previous)f(command)h(for)f(editing)i(and)630 -1196 y Fq(\000)p Fu(16)j(for)g(listing.)61 b(If)36 b(the)h +1087 y Fq(\000)p Fu(16)j(for)g(listing.)61 b(If)36 b(the)h Ft(-l)f Fu(\015ag)i(is)e(giv)m(en,)k(the)d(commands)f(are)i(listed)f -(on)g(standard)630 1306 y(output.)59 b(The)36 b Ft(-n)h +(on)g(standard)630 1196 y(output.)59 b(The)36 b Ft(-n)h Fu(\015ag)g(suppresses)e(the)h(command)h(n)m(um)m(b)s(ers)e(when)h -(listing.)60 b(The)37 b Ft(-r)630 1415 y Fu(\015ag)e(rev)m(erses)f(the) +(listing.)60 b(The)37 b Ft(-r)630 1306 y Fu(\015ag)e(rev)m(erses)f(the) h(order)e(of)i(the)f(listing.)53 b(Otherwise,)35 b(the)f(editor)h(giv)m -(en)g(b)m(y)f Fr(ename)40 b Fu(is)630 1525 y(in)m(v)m(ok)m(ed)33 +(en)g(b)m(y)f Fr(ename)40 b Fu(is)630 1415 y(in)m(v)m(ok)m(ed)33 b(on)f(a)g(\014le)g(con)m(taining)h(those)f(commands.)44 b(If)31 b Fr(ename)38 b Fu(is)31 b(not)h(giv)m(en,)i(the)d(v)-5 -b(alue)630 1634 y(of)29 b(the)g(follo)m(wing)i(v)-5 b(ariable)29 +b(alue)630 1525 y(of)29 b(the)g(follo)m(wing)i(v)-5 b(ariable)29 b(expansion)g(is)g(used:)39 b Ft(${FCEDIT:-${EDITOR:-vi}})p -Fu(.)34 b(This)630 1744 y(sa)m(ys)g(to)g(use)f(the)h(v)-5 +Fu(.)34 b(This)630 1634 y(sa)m(ys)g(to)g(use)f(the)h(v)-5 b(alue)34 b(of)f(the)h Ft(FCEDIT)e Fu(v)-5 b(ariable)34 b(if)f(set,)i(or)f(the)f(v)-5 b(alue)34 b(of)g(the)g -Ft(EDITOR)630 1854 y Fu(v)-5 b(ariable)40 b(if)e(that)i(is)f(set,)i(or) +Ft(EDITOR)630 1744 y Fu(v)-5 b(ariable)40 b(if)e(that)i(is)f(set,)i(or) e Ft(vi)f Fu(if)h(neither)g(is)g(set.)66 b(When)39 b(editing)g(is)g -(complete,)k(the)630 1963 y(edited)31 b(commands)f(are)g(ec)m(ho)s(ed)h -(and)f(executed.)630 2093 y(In)k(the)g(second)g(form,)h +(complete,)k(the)630 1854 y(edited)31 b(commands)f(are)g(ec)m(ho)s(ed)h +(and)f(executed.)630 1984 y(In)k(the)g(second)g(form,)h Fr(command)j Fu(is)c(re-executed)i(after)f(eac)m(h)g(instance)g(of)f -Fr(pat)j Fu(in)d(the)630 2203 y(selected)e(command)e(is)h(replaced)g(b) +Fr(pat)j Fu(in)d(the)630 2093 y(selected)e(command)e(is)h(replaced)g(b) m(y)f Fr(rep)p Fu(.)41 b Fr(command)34 b Fu(is)c(in)m(tepreted)h(the)g -(same)g(as)g Fr(\014rst)630 2313 y Fu(ab)s(o)m(v)m(e.)630 -2443 y(A)g(useful)f(alias)i(to)g(use)e(with)h(the)g Ft(fc)f +(same)g(as)g Fr(\014rst)630 2203 y Fu(ab)s(o)m(v)m(e.)630 +2333 y(A)g(useful)f(alias)i(to)g(use)e(with)h(the)g Ft(fc)f Fu(command)h(is)g Ft(r='fc)e(-s')p Fu(,)h(so)h(that)h(t)m(yping)f(`)p -Ft(r)f(cc)p Fu(')630 2552 y(runs)35 b(the)h(last)h(command)f(b)s +Ft(r)f(cc)p Fu(')630 2443 y(runs)35 b(the)h(last)h(command)f(b)s (eginning)g(with)g Ft(cc)f Fu(and)h(t)m(yping)g(`)p Ft(r)p -Fu(')h(re-executes)h(the)e(last)630 2662 y(command)30 -b(\(see)h(Section)h(6.6)f([Aliases],)h(page)g(88\).)150 -2813 y Ft(history)870 2943 y(history)46 b([)p Fj(n)p -Ft(])870 3052 y(history)g(-c)870 3162 y(history)g(-d)h -Fj(offset)870 3271 y Ft(history)f([-anrw])g([)p Fj(filename)p -Ft(])870 3381 y(history)g(-ps)h Fj(arg)630 3511 y Fu(With)26 +Fu(')h(re-executes)h(the)e(last)630 2552 y(command)30 +b(\(see)h(Section)h(6.6)f([Aliases],)h(page)g(90\).)150 +2703 y Ft(history)870 2833 y(history)46 b([)p Fj(n)p +Ft(])870 2943 y(history)g(-c)870 3052 y(history)g(-d)h +Fj(offset)870 3162 y Ft(history)f([-anrw])g([)p Fj(filename)p +Ft(])870 3271 y(history)g(-ps)h Fj(arg)630 3402 y Fu(With)26 b(no)g(options,)h(displa)m(y)f(the)g(history)g(list)g(with)f(line)h(n)m (um)m(b)s(ers.)38 b(Lines)26 b(pre\014xed)e(with)630 -3621 y(a)35 b(`)p Ft(*)p Fu(')g(ha)m(v)m(e)h(b)s(een)e(mo)s(di\014ed.) +3511 y(a)35 b(`)p Ft(*)p Fu(')g(ha)m(v)m(e)h(b)s(een)e(mo)s(di\014ed.) 53 b(An)34 b(argumen)m(t)h(of)g Fr(n)f Fu(lists)i(only)f(the)g(last)g -Fr(n)f Fu(lines.)54 b(If)35 b(the)630 3730 y(shell)30 +Fr(n)f Fu(lines.)54 b(If)35 b(the)630 3621 y(shell)30 b(v)-5 b(ariable)31 b Ft(HISTTIMEFORMAT)26 b Fu(is)k(set)h(and)e(not)i (n)m(ull,)f(it)h(is)f(used)f(as)h(a)h(format)f(string)630 -3840 y(for)36 b Fr(strftime)41 b Fu(to)36 b(displa)m(y)g(the)g(time)h +3730 y(for)36 b Fr(strftime)41 b Fu(to)36 b(displa)m(y)g(the)g(time)h (stamp)f(asso)s(ciated)h(with)f(eac)m(h)h(displa)m(y)m(ed)f(history)630 -3950 y(en)m(try)-8 b(.)47 b(No)33 b(in)m(terv)m(ening)g(blank)f(is)g +3840 y(en)m(try)-8 b(.)47 b(No)33 b(in)m(terv)m(ening)g(blank)f(is)g (prin)m(ted)g(b)s(et)m(w)m(een)h(the)g(formatted)f(time)h(stamp)g(and) -630 4059 y(the)e(history)f(line.)630 4189 y(Options,)g(if)h(supplied,)e -(ha)m(v)m(e)i(the)g(follo)m(wing)h(meanings:)630 4340 +630 3950 y(the)e(history)f(line.)630 4080 y(Options,)g(if)h(supplied,)e +(ha)m(v)m(e)i(the)g(follo)m(wing)h(meanings:)630 4230 y Ft(-c)384 b Fu(Clear)23 b(the)g(history)g(list.)39 b(This)22 b(ma)m(y)i(b)s(e)e(com)m(bined)h(with)f(the)h(other)h -(options)1110 4450 y(to)31 b(replace)g(the)g(history)f(list)h -(completely)-8 b(.)630 4600 y Ft(-d)30 b Fj(offset)66 +(options)1110 4340 y(to)31 b(replace)g(the)g(history)f(list)h +(completely)-8 b(.)630 4491 y Ft(-d)30 b Fj(offset)66 b Fu(Delete)25 b(the)f(history)f(en)m(try)h(at)g(p)s(osition)f Fr(o\013set)p Fu(.)39 b Fr(o\013set)27 b Fu(should)22 -b(b)s(e)h(sp)s(eci\014ed)1110 4710 y(as)31 b(it)g(app)s(ears)e(when)h -(the)g(history)g(is)h(displa)m(y)m(ed.)630 4861 y Ft(-a)384 -b Fu(App)s(end)35 b(the)i(new)g(history)g(lines)g(\(history)g(lines)g -(en)m(tered)h(since)f(the)g(b)s(e-)1110 4970 y(ginning)30 -b(of)h(the)f(curren)m(t)g(Bash)h(session\))g(to)g(the)g(history)f -(\014le.)630 5121 y Ft(-n)384 b Fu(App)s(end)32 b(the)i(history)f -(lines)h(not)g(already)g(read)g(from)f(the)h(history)f(\014le)h(to)1110 -5230 y(the)26 b(curren)m(t)f(history)g(list.)40 b(These)25 -b(are)h(lines)g(app)s(ended)e(to)i(the)f(history)h(\014le)1110 -5340 y(since)31 b(the)f(b)s(eginning)g(of)g(the)h(curren)m(t)f(Bash)h -(session.)p eop end -%%Page: 135 141 -TeXDict begin 135 140 bop 150 -116 a Fu(Chapter)30 b(9:)41 -b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(135)630 +b(b)s(e)h(sp)s(eci\014ed)1110 4600 y(as)31 b(it)g(app)s(ears)e(when)h +(the)g(history)g(is)h(displa)m(y)m(ed.)630 4751 y Ft(-a)384 +b Fu(App)s(end)28 b(the)i(new)f(history)g(lines)h(to)h(the)e(history)h +(\014le.)41 b(These)29 b(are)h(history)1110 4861 y(lines)36 +b(en)m(tered)g(since)f(the)h(b)s(eginning)f(of)g(the)h(curren)m(t)f +(Bash)h(session,)h(but)1110 4970 y(not)31 b(already)g(app)s(ended)d(to) +j(the)g(history)f(\014le.)630 5121 y Ft(-n)384 b Fu(App)s(end)32 +b(the)i(history)f(lines)h(not)g(already)g(read)g(from)f(the)h(history)f +(\014le)h(to)1110 5230 y(the)26 b(curren)m(t)f(history)g(list.)40 +b(These)25 b(are)h(lines)g(app)s(ended)e(to)i(the)f(history)h(\014le) +1110 5340 y(since)31 b(the)f(b)s(eginning)g(of)g(the)h(curren)m(t)f +(Bash)h(session.)p eop end +%%Page: 139 145 +TeXDict begin 139 144 bop 150 -116 a Fu(Chapter)30 b(9:)41 +b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(139)630 299 y Ft(-r)384 b Fu(Read)31 b(the)f(history)g(\014le)h(and)f(app)s (end)e(its)j(con)m(ten)m(ts)h(to)f(the)g(history)f(list.)630 -447 y Ft(-w)384 b Fu(W)-8 b(rite)32 b(out)e(the)h(curren)m(t)f(history) -g(list)h(to)h(the)e(history)g(\014le.)630 595 y Ft(-p)384 +483 y Ft(-w)384 b Fu(W)-8 b(rite)32 b(out)e(the)h(curren)m(t)f(history) +g(list)h(to)h(the)e(history)g(\014le.)630 668 y Ft(-p)384 b Fu(P)m(erform)31 b(history)f(substitution)h(on)f(the)h Fr(arg)8 b Fu(s)31 b(and)f(displa)m(y)h(the)f(result)h(on)1110 -705 y(the)d(standard)f(output,)i(without)f(storing)g(the)g(results)g -(in)g(the)g(history)g(list.)630 853 y Ft(-s)384 b Fu(The)30 +777 y(the)d(standard)f(output,)i(without)f(storing)g(the)g(results)g +(in)g(the)g(history)g(list.)630 962 y Ft(-s)384 b Fu(The)30 b Fr(arg)8 b Fu(s)30 b(are)h(added)f(to)h(the)f(end)g(of)h(the)f (history)h(list)g(as)f(a)h(single)g(en)m(try)-8 b(.)630 -1001 y(When)26 b(an)m(y)h(of)f(the)g Ft(-w)p Fu(,)h Ft(-r)p +1146 y(When)26 b(an)m(y)h(of)f(the)g Ft(-w)p Fu(,)h Ft(-r)p Fu(,)g Ft(-a)p Fu(,)g(or)f Ft(-n)f Fu(options)i(is)f(used,)h(if)f Fr(\014lename)32 b Fu(is)26 b(giv)m(en,)i(then)e(it)h(is)630 -1111 y(used)h(as)g(the)h(history)f(\014le.)40 b(If)28 +1256 y(used)h(as)g(the)h(history)f(\014le.)40 b(If)28 b(not,)i(then)e(the)g(v)-5 b(alue)29 b(of)g(the)g Ft(HISTFILE)d -Fu(v)-5 b(ariable)29 b(is)f(used.)150 1332 y Fs(9.3)68 -b(History)46 b(Expansion)150 1492 y Fu(The)f(History)h(library)e(pro)m +Fu(v)-5 b(ariable)29 b(is)f(used.)150 1534 y Fs(9.3)68 +b(History)46 b(Expansion)150 1693 y Fu(The)f(History)h(library)e(pro)m (vides)i(a)f(history)g(expansion)g(feature)h(that)g(is)f(similar)h(to)g -(the)f(history)150 1601 y(expansion)g(pro)m(vided)f(b)m(y)h +(the)f(history)150 1803 y(expansion)g(pro)m(vided)f(b)m(y)h Ft(csh)p Fu(.)83 b(This)44 b(section)i(describ)s(es)e(the)h(syn)m(tax)h -(used)e(to)i(manipulate)f(the)150 1711 y(history)30 b(information.)275 -1840 y(History)h(expansions)f(in)m(tro)s(duce)g(w)m(ords)g(from)g(the)h +(used)e(to)i(manipulate)f(the)150 1912 y(history)30 b(information.)275 +2072 y(History)h(expansions)f(in)m(tro)s(duce)g(w)m(ords)g(from)g(the)h (history)f(list)h(in)m(to)g(the)g(input)f(stream,)h(making)150 -1949 y(it)g(easy)g(to)g(rep)s(eat)g(commands,)f(insert)g(the)h(argumen) +2182 y(it)g(easy)g(to)g(rep)s(eat)g(commands,)f(insert)g(the)h(argumen) m(ts)f(to)h(a)g(previous)f(command)g(in)m(to)i(the)e(curren)m(t)150 -2059 y(input)f(line,)i(or)g(\014x)f(errors)f(in)h(previous)g(commands)g -(quic)m(kly)-8 b(.)275 2188 y(History)27 b(expansion)f(tak)m(es)i -(place)f(in)f(t)m(w)m(o)i(parts.)39 b(The)26 b(\014rst)g(is)g(to)h -(determine)g(whic)m(h)f(line)h(from)f(the)150 2297 y(history)i(list)g -(should)f(b)s(e)g(used)g(during)g(substitution.)39 b(The)27 -b(second)h(is)g(to)h(select)g(p)s(ortions)e(of)h(that)h(line)150 -2407 y(for)d(inclusion)f(in)m(to)i(the)f(curren)m(t)f(one.)40 -b(The)25 b(line)h(selected)h(from)f(the)g(history)f(is)h(called)h(the)f -Fr(ev)m(en)m(t)p Fu(,)j(and)150 2517 y(the)21 b(p)s(ortions)g(of)g -(that)h(line)f(that)h(are)g(acted)g(up)s(on)e(are)h(called)h -Fr(w)m(ords)p Fu(.)38 b(V)-8 b(arious)21 b Fr(mo)s(di\014ers)j -Fu(are)e(a)m(v)-5 b(ailable)150 2626 y(to)35 b(manipulate)f(the)g -(selected)i(w)m(ords.)51 b(The)33 b(line)h(is)g(brok)m(en)g(in)m(to)h -(w)m(ords)e(in)h(the)g(same)h(fashion)e(that)150 2736 -y(Bash)i(do)s(es,)h(so)f(that)h(sev)m(eral)g(w)m(ords)e(surrounded)f(b) -m(y)i(quotes)g(are)g(considered)g(one)g(w)m(ord.)54 b(History)150 -2845 y(expansions)34 b(are)g(in)m(tro)s(duced)f(b)m(y)h(the)g(app)s -(earance)g(of)g(the)g(history)g(expansion)g(c)m(haracter,)i(whic)m(h)e -(is)150 2955 y(`)p Ft(!)p Fu(')d(b)m(y)f(default.)41 -b(Only)29 b(`)p Ft(\\)p Fu(')i(and)f(`)p Ft(')p Fu(')g(ma)m(y)h(b)s(e)f -(used)g(to)h(escap)s(e)g(the)f(history)g(expansion)h(c)m(haracter.)275 -3084 y(Sev)m(eral)40 b(shell)g(options)g(settable)h(with)e(the)h +2291 y(input)f(line,)i(or)g(\014x)f(errors)f(in)h(previous)g(commands)g +(quic)m(kly)-8 b(.)275 2451 y(History)40 b(expansion)g(is)h(p)s +(erformed)d(immediately)k(after)f(a)f(complete)i(line)f(is)f(read,)j(b) +s(efore)d(the)150 2560 y(shell)31 b(breaks)f(it)h(in)m(to)g(w)m(ords.) +275 2720 y(History)c(expansion)f(tak)m(es)i(place)f(in)f(t)m(w)m(o)i +(parts.)39 b(The)26 b(\014rst)g(is)g(to)h(determine)g(whic)m(h)f(line)h +(from)f(the)150 2829 y(history)i(list)g(should)f(b)s(e)g(used)g(during) +g(substitution.)39 b(The)27 b(second)h(is)g(to)h(select)g(p)s(ortions)e +(of)h(that)h(line)150 2939 y(for)d(inclusion)f(in)m(to)i(the)f(curren)m +(t)f(one.)40 b(The)25 b(line)h(selected)h(from)f(the)g(history)f(is)h +(called)h(the)f Fr(ev)m(en)m(t)p Fu(,)j(and)150 3048 +y(the)21 b(p)s(ortions)g(of)g(that)h(line)f(that)h(are)g(acted)g(up)s +(on)e(are)h(called)h Fr(w)m(ords)p Fu(.)38 b(V)-8 b(arious)21 +b Fr(mo)s(di\014ers)j Fu(are)e(a)m(v)-5 b(ailable)150 +3158 y(to)35 b(manipulate)f(the)g(selected)i(w)m(ords.)51 +b(The)33 b(line)h(is)g(brok)m(en)g(in)m(to)h(w)m(ords)e(in)h(the)g +(same)h(fashion)e(that)150 3268 y(Bash)i(do)s(es,)h(so)f(that)h(sev)m +(eral)g(w)m(ords)e(surrounded)f(b)m(y)i(quotes)g(are)g(considered)g +(one)g(w)m(ord.)54 b(History)150 3377 y(expansions)34 +b(are)g(in)m(tro)s(duced)f(b)m(y)h(the)g(app)s(earance)g(of)g(the)g +(history)g(expansion)g(c)m(haracter,)i(whic)m(h)e(is)150 +3487 y(`)p Ft(!)p Fu(')39 b(b)m(y)g(default.)66 b(Only)38 +b(`)p Ft(\\)p Fu(')h(and)f(`)p Ft(')p Fu(')h(ma)m(y)h(b)s(e)e(used)g +(to)h(escap)s(e)h(the)f(history)f(expansion)h(c)m(haracter,)150 +3596 y(but)27 b(the)i(history)f(expansion)g(c)m(haracter)i(is)e(also)h +(treated)g(as)g(quoted)f(if)g(it)h(immediately)h(precedes)e(the)150 +3706 y(closing)j(double)f(quote)h(in)f(a)h(double-quoted)g(string.)275 +3865 y(Sev)m(eral)40 b(shell)g(options)g(settable)h(with)e(the)h Ft(shopt)e Fu(builtin)h(\(see)h(Section)h(4.2)f([Bash)g(Builtins],)150 -3194 y(page)32 b(48\))h(ma)m(y)f(b)s(e)f(used)g(to)i(tailor)g(the)e(b)s +3975 y(page)32 b(49\))h(ma)m(y)f(b)s(e)f(used)g(to)i(tailor)g(the)e(b)s (eha)m(vior)h(of)g(history)g(expansion.)44 b(If)31 b(the)h -Ft(histverify)d Fu(shell)150 3303 y(option)39 b(is)f(enabled,)i(and)e +Ft(histverify)d Fu(shell)150 4085 y(option)39 b(is)f(enabled,)i(and)e (Readline)g(is)h(b)s(eing)e(used,)j(history)e(substitutions)g(are)g -(not)h(immediately)150 3413 y(passed)30 b(to)h(the)g(shell)g(parser.)40 +(not)h(immediately)150 4194 y(passed)30 b(to)h(the)g(shell)g(parser.)40 b(Instead,)30 b(the)h(expanded)f(line)h(is)f(reloaded)h(in)m(to)h(the)e -(Readline)h(editing)150 3522 y(bu\013er)e(for)i(further)e(mo)s +(Readline)h(editing)150 4304 y(bu\013er)e(for)i(further)e(mo)s (di\014cation.)41 b(If)30 b(Readline)h(is)f(b)s(eing)g(used,)g(and)g -(the)g Ft(histreedit)e Fu(shell)i(option)150 3632 y(is)k(enabled,)h(a)g +(the)g Ft(histreedit)e Fu(shell)i(option)150 4413 y(is)k(enabled,)h(a)g (failed)g(history)f(expansion)g(will)g(b)s(e)g(reloaded)g(in)m(to)h -(the)g(Readline)f(editing)h(bu\013er)e(for)150 3741 y(correction.)68 +(the)g(Readline)f(editing)h(bu\013er)e(for)150 4523 y(correction.)68 b(The)38 b Ft(-p)h Fu(option)g(to)h(the)f Ft(history)e Fu(builtin)i(command)f(ma)m(y)i(b)s(e)e(used)g(to)i(see)g(what)f(a)150 -3851 y(history)f(expansion)f(will)h(do)g(b)s(efore)f(using)h(it.)63 +4633 y(history)f(expansion)f(will)h(do)g(b)s(efore)f(using)h(it.)63 b(The)37 b Ft(-s)g Fu(option)i(to)f(the)g Ft(history)e -Fu(builtin)h(ma)m(y)i(b)s(e)150 3961 y(used)21 b(to)i(add)f(commands)g +Fu(builtin)h(ma)m(y)i(b)s(e)150 4742 y(used)21 b(to)i(add)f(commands)g (to)g(the)h(end)e(of)i(the)f(history)g(list)h(without)f(actually)i -(executing)f(them,)h(so)e(that)150 4070 y(they)31 b(are)f(a)m(v)-5 +(executing)f(them,)h(so)e(that)150 4852 y(they)31 b(are)f(a)m(v)-5 b(ailable)33 b(for)d(subsequen)m(t)g(recall.)42 b(This)29 b(is)i(most)g(useful)e(in)h(conjunction)h(with)f(Readline.)275 -4199 y(The)j(shell)h(allo)m(ws)h(con)m(trol)h(of)e(the)g(v)-5 +5011 y(The)j(shell)h(allo)m(ws)h(con)m(trol)h(of)e(the)g(v)-5 b(arious)34 b(c)m(haracters)h(used)f(b)m(y)f(the)h(history)g(expansion) -g(mec)m(h-)150 4309 y(anism)h(with)g(the)g Ft(histchars)d +g(mec)m(h-)150 5121 y(anism)h(with)g(the)g Ft(histchars)d Fu(v)-5 b(ariable,)38 b(as)d(explained)g(ab)s(o)m(v)m(e)i(\(see)f -(Section)f(5.2)i([Bash)e(V)-8 b(ariables],)150 4418 y(page)32 -b(69\).)44 b(The)31 b(shell)g(uses)g(the)g(history)g(commen)m(t)i(c)m +(Section)f(5.2)i([Bash)e(V)-8 b(ariables],)150 5230 y(page)32 +b(71\).)44 b(The)31 b(shell)g(uses)g(the)g(history)g(commen)m(t)i(c)m (haracter)f(to)g(mark)f(history)g(timestamps)h(when)150 -4528 y(writing)e(the)h(history)f(\014le.)150 4716 y Fk(9.3.1)63 -b(Ev)m(en)m(t)39 b(Designators)150 4863 y Fu(An)32 b(ev)m(en)m(t)j -(designator)e(is)g(a)g(reference)g(to)h(a)f(command)f(line)h(en)m(try)g -(in)g(the)g(history)g(list.)48 b(Unless)33 b(the)150 -4973 y(reference)e(is)f(absolute,)i(ev)m(en)m(ts)f(are)g(relativ)m(e)i -(to)e(the)f(curren)m(t)g(p)s(osition)h(in)f(the)h(history)f(list.)150 -5121 y Ft(!)432 b Fu(Start)34 b(a)f(history)h(substitution,)g(except)g -(when)f(follo)m(w)m(ed)i(b)m(y)e(a)h(space,)h(tab,)f(the)g(end)f(of)630 -5230 y(the)i(line,)g(`)p Ft(=)p Fu(')g(or)f(`)p Ft(\()p -Fu(')h(\(when)e(the)i Ft(extglob)d Fu(shell)j(option)f(is)h(enabled)f -(using)g(the)g Ft(shopt)630 5340 y Fu(builtin\).)p eop -end -%%Page: 136 142 -TeXDict begin 136 141 bop 150 -116 a Fu(Chapter)30 b(9:)41 -b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(136)150 -299 y Ft(!)p Fj(n)384 b Fu(Refer)30 b(to)i(command)e(line)g -Fr(n)p Fu(.)150 460 y Ft(!-)p Fj(n)336 b Fu(Refer)30 -b(to)i(the)e(command)g Fr(n)g Fu(lines)h(bac)m(k.)150 -622 y Ft(!!)384 b Fu(Refer)30 b(to)i(the)e(previous)g(command.)40 -b(This)30 b(is)g(a)h(synon)m(ym)f(for)g(`)p Ft(!-1)p -Fu('.)150 784 y Ft(!)p Fj(string)144 b Fu(Refer)25 b(to)h(the)f(most)h -(recen)m(t)g(command)f(preceding)g(the)g(curren)m(t)g(p)s(osition)g(in) -g(the)g(history)630 893 y(list)31 b(starting)g(with)f -Fr(string)p Fu(.)150 1055 y Ft(!?)p Fj(string)p Ft([?])630 -1164 y Fu(Refer)25 b(to)h(the)f(most)h(recen)m(t)g(command)f(preceding) -g(the)g(curren)m(t)g(p)s(osition)g(in)g(the)g(history)630 -1274 y(list)32 b(con)m(taining)i Fr(string)p Fu(.)45 -b(The)31 b(trailing)i(`)p Ft(?)p Fu(')f(ma)m(y)g(b)s(e)f(omitted)i(if)f -(the)g Fr(string)39 b Fu(is)32 b(follo)m(w)m(ed)630 1384 -y(immediately)g(b)m(y)e(a)h(newline.)150 1545 y Ft(^)p -Fj(string1)p Ft(^)p Fj(string2)p Ft(^)630 1655 y Fu(Quic)m(k)h -(Substitution.)44 b(Rep)s(eat)32 b(the)g(last)h(command,)f(replacing)g -Fr(string1)40 b Fu(with)31 b Fr(string2)p Fu(.)630 1764 -y(Equiv)-5 b(alen)m(t)31 b(to)g Ft(!!:s/)p Fj(string1)p -Ft(/)p Fj(string2)p Ft(/)p Fu(.)150 1926 y Ft(!#)384 -b Fu(The)30 b(en)m(tire)h(command)f(line)h(t)m(yp)s(ed)f(so)h(far.)150 -2127 y Fk(9.3.2)63 b(W)-10 b(ord)41 b(Designators)150 -2274 y Fu(W)-8 b(ord)27 b(designators)h(are)g(used)e(to)i(select)h -(desired)d(w)m(ords)h(from)f(the)i(ev)m(en)m(t.)41 b(A)27 -b(`)p Ft(:)p Fu(')g(separates)h(the)f(ev)m(en)m(t)150 -2384 y(sp)s(eci\014cation)38 b(from)e(the)h(w)m(ord)f(designator.)61 +5340 y(writing)e(the)h(history)f(\014le.)p eop end +%%Page: 140 146 +TeXDict begin 140 145 bop 150 -116 a Fu(Chapter)30 b(9:)41 +b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(140)150 +299 y Fk(9.3.1)63 b(Ev)m(en)m(t)39 b(Designators)150 +446 y Fu(An)32 b(ev)m(en)m(t)j(designator)e(is)g(a)g(reference)g(to)h +(a)f(command)f(line)h(en)m(try)g(in)g(the)g(history)g(list.)48 +b(Unless)33 b(the)150 555 y(reference)e(is)f(absolute,)i(ev)m(en)m(ts)f +(are)g(relativ)m(e)i(to)e(the)f(curren)m(t)g(p)s(osition)h(in)f(the)h +(history)f(list.)150 712 y Ft(!)432 b Fu(Start)34 b(a)f(history)h +(substitution,)g(except)g(when)f(follo)m(w)m(ed)i(b)m(y)e(a)h(space,)h +(tab,)f(the)g(end)f(of)630 822 y(the)i(line,)g(`)p Ft(=)p +Fu(')g(or)f(`)p Ft(\()p Fu(')h(\(when)e(the)i Ft(extglob)d +Fu(shell)j(option)f(is)h(enabled)f(using)g(the)g Ft(shopt)630 +931 y Fu(builtin\).)150 1088 y Ft(!)p Fj(n)384 b Fu(Refer)30 +b(to)i(command)e(line)g Fr(n)p Fu(.)150 1245 y Ft(!-)p +Fj(n)336 b Fu(Refer)30 b(to)i(the)e(command)g Fr(n)g +Fu(lines)h(bac)m(k.)150 1401 y Ft(!!)384 b Fu(Refer)30 +b(to)i(the)e(previous)g(command.)40 b(This)30 b(is)g(a)h(synon)m(ym)f +(for)g(`)p Ft(!-1)p Fu('.)150 1558 y Ft(!)p Fj(string)144 +b Fu(Refer)25 b(to)h(the)f(most)h(recen)m(t)g(command)f(preceding)g +(the)g(curren)m(t)g(p)s(osition)g(in)g(the)g(history)630 +1668 y(list)31 b(starting)g(with)f Fr(string)p Fu(.)150 +1824 y Ft(!?)p Fj(string)p Ft([?])630 1934 y Fu(Refer)25 +b(to)h(the)f(most)h(recen)m(t)g(command)f(preceding)g(the)g(curren)m(t) +g(p)s(osition)g(in)g(the)g(history)630 2044 y(list)32 +b(con)m(taining)i Fr(string)p Fu(.)45 b(The)31 b(trailing)i(`)p +Ft(?)p Fu(')f(ma)m(y)g(b)s(e)f(omitted)i(if)f(the)g Fr(string)39 +b Fu(is)32 b(follo)m(w)m(ed)630 2153 y(immediately)g(b)m(y)e(a)h +(newline.)150 2310 y Ft(^)p Fj(string1)p Ft(^)p Fj(string2)p +Ft(^)630 2420 y Fu(Quic)m(k)h(Substitution.)44 b(Rep)s(eat)32 +b(the)g(last)h(command,)f(replacing)g Fr(string1)40 b +Fu(with)31 b Fr(string2)p Fu(.)630 2529 y(Equiv)-5 b(alen)m(t)31 +b(to)g Ft(!!:s/)p Fj(string1)p Ft(/)p Fj(string2)p Ft(/)p +Fu(.)150 2686 y Ft(!#)384 b Fu(The)30 b(en)m(tire)h(command)f(line)h(t) +m(yp)s(ed)f(so)h(far.)150 2882 y Fk(9.3.2)63 b(W)-10 +b(ord)41 b(Designators)150 3029 y Fu(W)-8 b(ord)27 b(designators)h(are) +g(used)e(to)i(select)h(desired)d(w)m(ords)h(from)f(the)i(ev)m(en)m(t.) +41 b(A)27 b(`)p Ft(:)p Fu(')g(separates)h(the)f(ev)m(en)m(t)150 +3139 y(sp)s(eci\014cation)38 b(from)e(the)h(w)m(ord)f(designator.)61 b(It)37 b(ma)m(y)h(b)s(e)e(omitted)i(if)e(the)h(w)m(ord)g(designator)g -(b)s(egins)150 2494 y(with)30 b(a)g(`)p Ft(^)p Fu(',)g(`)p +(b)s(egins)150 3248 y(with)30 b(a)g(`)p Ft(^)p Fu(',)g(`)p Ft($)p Fu(',)g(`)p Ft(*)p Fu(',)h(`)p Ft(-)p Fu(',)f(or)g(`)p Ft(\045)p Fu('.)41 b(W)-8 b(ords)30 b(are)g(n)m(um)m(b)s(ered)e(from)i (the)g(b)s(eginning)f(of)h(the)g(line,)g(with)g(the)150 -2603 y(\014rst)f(w)m(ord)f(b)s(eing)h(denoted)h(b)m(y)f(0)h(\(zero\).) +3358 y(\014rst)f(w)m(ord)f(b)s(eing)h(denoted)h(b)m(y)f(0)h(\(zero\).) 41 b(W)-8 b(ords)30 b(are)g(inserted)f(in)m(to)h(the)g(curren)m(t)f -(line)g(separated)h(b)m(y)150 2713 y(single)h(spaces.)275 -2849 y(F)-8 b(or)31 b(example,)150 3012 y Ft(!!)384 b +(line)g(separated)h(b)m(y)150 3468 y(single)h(spaces.)275 +3601 y(F)-8 b(or)31 b(example,)150 3758 y Ft(!!)384 b Fu(designates)37 b(the)f(preceding)g(command.)57 b(When)35 b(y)m(ou)i(t)m(yp)s(e)f(this,)h(the)f(preceding)g(com-)630 -3122 y(mand)30 b(is)g(rep)s(eated)g(in)g(toto.)150 3283 +3867 y(mand)30 b(is)g(rep)s(eated)g(in)g(toto.)150 4024 y Ft(!!:$)288 b Fu(designates)23 b(the)g(last)g(argumen)m(t)g(of)f(the) h(preceding)f(command.)38 b(This)22 b(ma)m(y)h(b)s(e)e(shortened)630 -3393 y(to)31 b Ft(!$)p Fu(.)150 3555 y Ft(!fi:2)240 b +4133 y(to)31 b Ft(!$)p Fu(.)150 4290 y Ft(!fi:2)240 b Fu(designates)30 b(the)g(second)f(argumen)m(t)h(of)f(the)h(most)f -(recen)m(t)i(command)e(starting)h(with)f(the)630 3664 -y(letters)j Ft(fi)p Fu(.)275 3827 y(Here)e(are)h(the)g(w)m(ord)f -(designators:)150 3990 y Ft(0)g(\(zero\))114 b Fu(The)30 +(recen)m(t)i(command)e(starting)h(with)f(the)630 4400 +y(letters)j Ft(fi)p Fu(.)275 4556 y(Here)e(are)h(the)g(w)m(ord)f +(designators:)150 4713 y Ft(0)g(\(zero\))114 b Fu(The)30 b Ft(0)p Fu(th)g(w)m(ord.)40 b(F)-8 b(or)31 b(man)m(y)g(applications,)h -(this)e(is)g(the)h(command)f(w)m(ord.)150 4151 y Fj(n)432 -b Fu(The)30 b Fr(n)p Fu(th)g(w)m(ord.)150 4313 y Ft(^)432 +(this)e(is)g(the)h(command)f(w)m(ord.)150 4870 y Fj(n)432 +b Fu(The)30 b Fr(n)p Fu(th)g(w)m(ord.)150 5027 y Ft(^)432 b Fu(The)30 b(\014rst)f(argumen)m(t;)j(that)f(is,)f(w)m(ord)g(1.)150 -4474 y Ft($)432 b Fu(The)30 b(last)h(argumen)m(t.)150 -4636 y Ft(\045)432 b Fu(The)30 b(w)m(ord)g(matc)m(hed)h(b)m(y)f(the)h -(most)g(recen)m(t)g(`)p Ft(?)p Fj(string)p Ft(?)p Fu(')e(searc)m(h.)150 -4798 y Fj(x)p Ft(-)p Fj(y)336 b Fu(A)30 b(range)h(of)g(w)m(ords;)f(`)p +5183 y Ft($)432 b Fu(The)30 b(last)h(argumen)m(t.)150 +5340 y Ft(\045)432 b Fu(The)30 b(w)m(ord)g(matc)m(hed)h(b)m(y)f(the)h +(most)g(recen)m(t)g(`)p Ft(?)p Fj(string)p Ft(?)p Fu(')e(searc)m(h.)p +eop end +%%Page: 141 147 +TeXDict begin 141 146 bop 150 -116 a Fu(Chapter)30 b(9:)41 +b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(141)150 +299 y Fj(x)p Ft(-)p Fj(y)336 b Fu(A)30 b(range)h(of)g(w)m(ords;)f(`)p Ft(-)p Fj(y)p Fu(')g(abbreviates)h(`)p Ft(0-)p Fj(y)p -Fu('.)150 4959 y Ft(*)432 b Fu(All)28 b(of)g(the)g(w)m(ords,)g(except)h +Fu('.)150 458 y Ft(*)432 b Fu(All)28 b(of)g(the)g(w)m(ords,)g(except)h (the)e Ft(0)p Fu(th.)40 b(This)27 b(is)g(a)h(synon)m(ym)f(for)h(`)p Ft(1-$)p Fu('.)39 b(It)28 b(is)g(not)g(an)f(error)630 -5069 y(to)j(use)g(`)p Ft(*)p Fu(')f(if)h(there)g(is)g(just)f(one)h(w)m +568 y(to)j(use)g(`)p Ft(*)p Fu(')f(if)h(there)g(is)g(just)f(one)h(w)m (ord)f(in)g(the)h(ev)m(en)m(t;)i(the)d(empt)m(y)i(string)e(is)h -(returned)e(in)630 5178 y(that)j(case.)150 5340 y Fj(x)p -Ft(*)384 b Fu(Abbreviates)31 b(`)p Fj(x)p Ft(-$)p Fu(')p -eop end -%%Page: 137 143 -TeXDict begin 137 142 bop 150 -116 a Fu(Chapter)30 b(9:)41 -b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(137)150 -299 y Fj(x)p Ft(-)384 b Fu(Abbreviates)31 b(`)p Fj(x)p +(returned)e(in)630 677 y(that)j(case.)150 837 y Fj(x)p +Ft(*)384 b Fu(Abbreviates)31 b(`)p Fj(x)p Ft(-$)p Fu(')150 +996 y Fj(x)p Ft(-)384 b Fu(Abbreviates)31 b(`)p Fj(x)p Ft(-$)p Fu(')f(lik)m(e)h(`)p Fj(x)p Ft(*)p Fu(',)g(but)f(omits)h(the)f -(last)h(w)m(ord.)275 458 y(If)i(a)h(w)m(ord)g(designator)g(is)g +(last)h(w)m(ord.)275 1156 y(If)i(a)h(w)m(ord)g(designator)g(is)g (supplied)f(without)h(an)g(ev)m(en)m(t)h(sp)s(eci\014cation,)h(the)e -(previous)f(command)150 568 y(is)d(used)g(as)h(the)f(ev)m(en)m(t.)150 -767 y Fk(9.3.3)63 b(Mo)s(di\014ers)150 914 y Fu(After)29 +(previous)f(command)150 1265 y(is)d(used)g(as)h(the)f(ev)m(en)m(t.)150 +1465 y Fk(9.3.3)63 b(Mo)s(di\014ers)150 1611 y Fu(After)29 b(the)g(optional)g(w)m(ord)g(designator,)g(y)m(ou)g(can)g(add)f(a)h (sequence)g(of)g(one)g(or)f(more)h(of)g(the)f(follo)m(wing)150 -1024 y(mo)s(di\014ers,)h(eac)m(h)j(preceded)e(b)m(y)g(a)h(`)p -Ft(:)p Fu('.)150 1183 y Ft(h)432 b Fu(Remo)m(v)m(e)32 +1721 y(mo)s(di\014ers,)h(eac)m(h)j(preceded)e(b)m(y)g(a)h(`)p +Ft(:)p Fu('.)150 1880 y Ft(h)432 b Fu(Remo)m(v)m(e)32 b(a)f(trailing)g(pathname)g(comp)s(onen)m(t,)g(lea)m(ving)h(only)e(the) -h(head.)150 1342 y Ft(t)432 b Fu(Remo)m(v)m(e)32 b(all)f(leading)h +h(head.)150 2040 y Ft(t)432 b Fu(Remo)m(v)m(e)32 b(all)f(leading)h (pathname)e(comp)s(onen)m(ts,)h(lea)m(ving)h(the)e(tail.)150 -1502 y Ft(r)432 b Fu(Remo)m(v)m(e)32 b(a)f(trailing)g(su\016x)f(of)g +2199 y Ft(r)432 b Fu(Remo)m(v)m(e)32 b(a)f(trailing)g(su\016x)f(of)g (the)h(form)f(`)p Ft(.)p Fj(suffix)p Fu(',)f(lea)m(ving)j(the)f -(basename.)150 1661 y Ft(e)432 b Fu(Remo)m(v)m(e)32 b(all)f(but)f(the)h -(trailing)g(su\016x.)150 1821 y Ft(p)432 b Fu(Prin)m(t)30 +(basename.)150 2359 y Ft(e)432 b Fu(Remo)m(v)m(e)32 b(all)f(but)f(the)h +(trailing)g(su\016x.)150 2518 y Ft(p)432 b Fu(Prin)m(t)30 b(the)h(new)f(command)g(but)g(do)g(not)g(execute)i(it.)150 -1980 y Ft(q)432 b Fu(Quote)31 b(the)f(substituted)g(w)m(ords,)g -(escaping)h(further)e(substitutions.)150 2139 y Ft(x)432 +2677 y Ft(q)432 b Fu(Quote)31 b(the)f(substituted)g(w)m(ords,)g +(escaping)h(further)e(substitutions.)150 2837 y Ft(x)432 b Fu(Quote)32 b(the)f(substituted)g(w)m(ords)f(as)i(with)f(`)p Ft(q)p Fu(',)h(but)e(break)h(in)m(to)i(w)m(ords)d(at)i(spaces,)h(tabs,) -630 2249 y(and)d(newlines.)150 2408 y Ft(s/)p Fj(old)p -Ft(/)p Fj(new)p Ft(/)630 2518 y Fu(Substitute)i Fr(new)40 +630 2946 y(and)d(newlines.)150 3106 y Ft(s/)p Fj(old)p +Ft(/)p Fj(new)p Ft(/)630 3215 y Fu(Substitute)i Fr(new)40 b Fu(for)32 b(the)h(\014rst)f(o)s(ccurrence)h(of)f Fr(old)37 b Fu(in)32 b(the)h(ev)m(en)m(t)h(line.)48 b(An)m(y)32 -b(delimiter)630 2628 y(ma)m(y)25 b(b)s(e)g(used)f(in)g(place)i(of)f(`)p +b(delimiter)630 3325 y(ma)m(y)25 b(b)s(e)g(used)f(in)g(place)i(of)f(`)p Ft(/)p Fu('.)39 b(The)24 b(delimiter)h(ma)m(y)h(b)s(e)e(quoted)h(in)f Fr(old)29 b Fu(and)24 b Fr(new)32 b Fu(with)25 b(a)630 -2737 y(single)k(bac)m(kslash.)40 b(If)28 b(`)p Ft(&)p +3435 y(single)k(bac)m(kslash.)40 b(If)28 b(`)p Ft(&)p Fu(')g(app)s(ears)g(in)f Fr(new)p Fu(,)i(it)f(is)h(replaced)f(b)m(y)g -Fr(old)p Fu(.)40 b(A)28 b(single)h(bac)m(kslash)630 2847 +Fr(old)p Fu(.)40 b(A)28 b(single)h(bac)m(kslash)630 3544 y(will)35 b(quote)g(the)g(`)p Ft(&)p Fu('.)54 b(The)34 b(\014nal)g(delimiter)i(is)e(optional)i(if)f(it)g(is)f(the)h(last)h(c)m -(haracter)g(on)630 2956 y(the)31 b(input)e(line.)150 -3116 y Ft(&)432 b Fu(Rep)s(eat)31 b(the)f(previous)g(substitution.)150 -3275 y Ft(g)150 3385 y(a)432 b Fu(Cause)38 b(c)m(hanges)i(to)f(b)s(e)f +(haracter)g(on)630 3654 y(the)31 b(input)e(line.)150 +3813 y Ft(&)432 b Fu(Rep)s(eat)31 b(the)f(previous)g(substitution.)150 +3973 y Ft(g)150 4082 y(a)432 b Fu(Cause)38 b(c)m(hanges)i(to)f(b)s(e)f (applied)h(o)m(v)m(er)h(the)f(en)m(tire)g(ev)m(en)m(t)h(line.)66 -b(Used)39 b(in)f(conjunction)630 3494 y(with)30 b(`)p +b(Used)39 b(in)f(conjunction)630 4192 y(with)30 b(`)p Ft(s)p Fu(',)h(as)f(in)h Ft(gs/)p Fj(old)p Ft(/)p Fj(new)p -Ft(/)p Fu(,)c(or)j(with)h(`)p Ft(&)p Fu('.)150 3654 y +Ft(/)p Fu(,)c(or)j(with)h(`)p Ft(&)p Fu('.)150 4351 y Ft(G)432 b Fu(Apply)30 b(the)g(follo)m(wing)i(`)p Ft(s)p Fu(')f(mo)s(di\014er)e(once)i(to)g(eac)m(h)h(w)m(ord)e(in)g(the)g(ev)m (en)m(t.)p eop end -%%Page: 138 144 -TeXDict begin 138 143 bop 150 -116 a Fu(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(138)150 299 y Fp(10)80 -b(Installing)52 b(Bash)150 556 y Fu(This)31 b(c)m(hapter)h(pro)m(vides) -g(basic)g(instructions)f(for)g(installing)i(Bash)f(on)f(the)h(v)-5 -b(arious)31 b(supp)s(orted)f(plat-)150 665 y(forms.)40 -b(The)28 b(distribution)h(supp)s(orts)e(the)j Fm(gnu)f -Fu(op)s(erating)h(systems,)f(nearly)h(ev)m(ery)g(v)m(ersion)f(of)h -(Unix,)150 775 y(and)d(sev)m(eral)j(non-Unix)d(systems)h(suc)m(h)g(as)g -(BeOS)g(and)f(In)m(terix.)40 b(Other)28 b(indep)s(enden)m(t)e(p)s(orts) -h(exist)i(for)150 884 y Fm(ms-dos)p Fu(,)h Fm(os/2)p -Fu(,)g(and)g(Windo)m(ws)g(platforms.)150 1128 y Fs(10.1)68 -b(Basic)45 b(Installation)150 1288 y Fu(These)30 b(are)h(installation)h -(instructions)e(for)h(Bash.)275 1430 y(The)e(simplest)i(w)m(a)m(y)g(to) -g(compile)h(Bash)e(is:)199 1572 y(1.)61 b Ft(cd)38 b +%%Page: 142 148 +TeXDict begin 142 147 bop 3614 -116 a Fu(142)150 299 +y Fp(10)80 b(Installing)52 b(Bash)150 554 y Fu(This)31 +b(c)m(hapter)h(pro)m(vides)g(basic)g(instructions)f(for)g(installing)i +(Bash)f(on)f(the)h(v)-5 b(arious)31 b(supp)s(orted)f(plat-)150 +664 y(forms.)40 b(The)28 b(distribution)h(supp)s(orts)e(the)j +Fm(gnu)f Fu(op)s(erating)h(systems,)f(nearly)h(ev)m(ery)g(v)m(ersion)f +(of)h(Unix,)150 773 y(and)d(sev)m(eral)j(non-Unix)d(systems)h(suc)m(h)g +(as)g(BeOS)g(and)f(In)m(terix.)40 b(Other)28 b(indep)s(enden)m(t)e(p)s +(orts)h(exist)i(for)150 883 y Fm(ms-dos)p Fu(,)h Fm(os/2)p +Fu(,)g(and)g(Windo)m(ws)g(platforms.)150 1134 y Fs(10.1)68 +b(Basic)45 b(Installation)150 1294 y Fu(These)30 b(are)h(installation)h +(instructions)e(for)h(Bash.)275 1435 y(The)e(simplest)i(w)m(a)m(y)g(to) +g(compile)h(Bash)e(is:)199 1577 y(1.)61 b Ft(cd)38 b Fu(to)h(the)f(directory)h(con)m(taining)h(the)f(source)f(co)s(de)h(and) f(t)m(yp)s(e)g(`)p Ft(./configure)p Fu(')e(to)j(con\014gure)330 -1681 y(Bash)c(for)f(y)m(our)h(system.)54 b(If)34 b(y)m(ou're)h(using)f +1686 y(Bash)c(for)f(y)m(our)h(system.)54 b(If)34 b(y)m(ou're)h(using)f Ft(csh)g Fu(on)g(an)h(old)g(v)m(ersion)g(of)g(System)f(V,)h(y)m(ou)g -(migh)m(t)330 1791 y(need)21 b(to)g(t)m(yp)s(e)g(`)p +(migh)m(t)330 1796 y(need)21 b(to)g(t)m(yp)s(e)g(`)p Ft(sh)30 b(./configure)p Fu(')18 b(instead)j(to)g(prev)m(en)m(t)h Ft(csh)e Fu(from)g(trying)h(to)g(execute)h Ft(configure)330 -1901 y Fu(itself.)330 2039 y(Running)30 b Ft(configure)f +1906 y Fu(itself.)330 2044 y(Running)30 b Ft(configure)f Fu(tak)m(es)k(some)e(time.)45 b(While)32 b(running,)e(it)i(prin)m(ts)f -(messages)h(telling)h(whic)m(h)330 2149 y(features)e(it)g(is)f(c)m(hec) -m(king)i(for.)199 2287 y(2.)61 b(T)m(yp)s(e)30 b(`)p +(messages)h(telling)h(whic)m(h)330 2153 y(features)e(it)g(is)f(c)m(hec) +m(king)i(for.)199 2291 y(2.)61 b(T)m(yp)s(e)30 b(`)p Ft(make)p Fu(')g(to)h(compile)g(Bash)g(and)e(build)h(the)g -Ft(bashbug)f Fu(bug)g(rep)s(orting)h(script.)199 2425 +Ft(bashbug)f Fu(bug)g(rep)s(orting)h(script.)199 2429 y(3.)61 b(Optionally)-8 b(,)32 b(t)m(yp)s(e)e(`)p Ft(make)g(tests)p -Fu(')f(to)i(run)e(the)h(Bash)h(test)g(suite.)199 2563 +Fu(')f(to)i(run)e(the)h(Bash)h(test)g(suite.)199 2567 y(4.)61 b(T)m(yp)s(e)36 b(`)p Ft(make)29 b(install)p Fu(')35 b(to)i(install)h Ft(bash)d Fu(and)h Ft(bashbug)p Fu(.)57 b(This)35 b(will)i(also)h(install)f(the)g(man)m(ual)330 -2673 y(pages)31 b(and)f(Info)g(\014le.)275 2844 y(The)20 +2677 y(pages)31 b(and)f(Info)g(\014le.)275 2847 y(The)20 b Ft(configure)f Fu(shell)i(script)g(attempts)h(to)g(guess)f(correct)i (v)-5 b(alues)21 b(for)g(v)-5 b(arious)21 b(system-dep)s(enden)m(t)150 -2953 y(v)-5 b(ariables)31 b(used)e(during)g(compilation.)42 +2956 y(v)-5 b(ariables)31 b(used)e(during)g(compilation.)42 b(It)31 b(uses)e(those)i(v)-5 b(alues)30 b(to)h(create)h(a)e -Ft(Makefile)e Fu(in)i(eac)m(h)i(direc-)150 3063 y(tory)k(of)g(the)g +Ft(Makefile)e Fu(in)i(eac)m(h)i(direc-)150 3066 y(tory)k(of)g(the)g (pac)m(k)-5 b(age)38 b(\(the)e(top)g(directory)-8 b(,)38 b(the)e Ft(builtins)p Fu(,)f Ft(doc)p Fu(,)i(and)e Ft(support)e -Fu(directories,)39 b(eac)m(h)150 3172 y(directory)29 +Fu(directories,)39 b(eac)m(h)150 3176 y(directory)29 b(under)d Ft(lib)p Fu(,)j(and)e(sev)m(eral)j(others\).)40 b(It)29 b(also)g(creates)h(a)e Ft(config.h)e Fu(\014le)j(con)m(taining) -g(system-)150 3282 y(dep)s(enden)m(t)e(de\014nitions.)40 +g(system-)150 3285 y(dep)s(enden)m(t)e(de\014nitions.)40 b(Finally)-8 b(,)31 b(it)d(creates)i(a)f(shell)g(script)f(named)g -Ft(config.status)d Fu(that)k(y)m(ou)g(can)150 3392 y(run)h(in)h(the)h +Ft(config.status)d Fu(that)k(y)m(ou)g(can)150 3395 y(run)h(in)h(the)h (future)f(to)h(recreate)h(the)f(curren)m(t)f(con\014guration,)i(a)f (\014le)f Ft(config.cache)e Fu(that)j(sa)m(v)m(es)h(the)150 -3501 y(results)39 b(of)g(its)h(tests)g(to)g(sp)s(eed)e(up)g +3504 y(results)39 b(of)g(its)h(tests)g(to)g(sp)s(eed)e(up)g (recon\014guring,)j(and)e(a)g(\014le)g Ft(config.log)e -Fu(con)m(taining)j(compiler)150 3611 y(output)30 b(\(useful)h(mainly)g +Fu(con)m(taining)j(compiler)150 3614 y(output)30 b(\(useful)h(mainly)g (for)f(debugging)h Ft(configure)p Fu(\).)40 b(If)30 b(at)h(some)h(p)s -(oin)m(t)e Ft(config.cache)e Fu(con)m(tains)150 3720 +(oin)m(t)e Ft(config.cache)e Fu(con)m(tains)150 3724 y(results)i(y)m(ou)h(don't)f(w)m(an)m(t)h(to)h(k)m(eep,)f(y)m(ou)g(ma)m -(y)g(remo)m(v)m(e)g(or)g(edit)g(it.)275 3862 y(T)-8 b(o)37 +(y)g(remo)m(v)m(e)g(or)g(edit)g(it.)275 3865 y(T)-8 b(o)37 b(\014nd)f(out)i(more)f(ab)s(out)h(the)f(options)h(and)f(argumen)m(ts)g -(that)h(the)g Ft(configure)d Fu(script)i(under-)150 3972 -y(stands,)30 b(t)m(yp)s(e)390 4114 y Ft(bash-2.04$)45 -b(./configure)g(--help)150 4256 y Fu(at)31 b(the)g(Bash)f(prompt)g(in)g -(y)m(our)g(Bash)h(source)f(directory)-8 b(.)275 4398 +(that)h(the)g Ft(configure)d Fu(script)i(under-)150 3975 +y(stands,)30 b(t)m(yp)s(e)390 4116 y Ft(bash-2.04$)45 +b(./configure)g(--help)150 4258 y Fu(at)31 b(the)g(Bash)f(prompt)g(in)g +(y)m(our)g(Bash)h(source)f(directory)-8 b(.)275 4399 y(If)53 b(y)m(ou)h(need)f(to)i(do)e(un)m(usual)g(things)g(to)i(compile) g(Bash,)k(please)c(try)e(to)i(\014gure)e(out)h(ho)m(w)150 -4508 y Ft(configure)47 b Fu(could)j(c)m(hec)m(k)h(whether)e(or)g(not)h +4509 y Ft(configure)47 b Fu(could)j(c)m(hec)m(k)h(whether)e(or)g(not)h (to)h(do)e(them,)55 b(and)49 b(mail)h(di\013s)f(or)h(instructions)f(to) -150 4617 y Ft(bash-maintainers@gnu.org)24 b Fu(so)30 +150 4619 y Ft(bash-maintainers@gnu.org)24 b Fu(so)30 b(they)h(can)g(b)s(e)e(considered)i(for)f(the)g(next)h(release.)275 4760 y(The)e(\014le)g Ft(configure.ac)d Fu(is)k(used)e(to)j(create)g Ft(configure)c Fu(b)m(y)i(a)h(program)f(called)i(Auto)s(conf.)40 -b(Y)-8 b(ou)150 4869 y(only)34 b(need)g Ft(configure.ac)d +b(Y)-8 b(ou)150 4870 y(only)34 b(need)g Ft(configure.ac)d Fu(if)i(y)m(ou)i(w)m(an)m(t)g(to)f(c)m(hange)i(it)e(or)g(regenerate)i Ft(configure)31 b Fu(using)j(a)g(new)m(er)150 4979 y(v)m(ersion)25 b(of)f(Auto)s(conf.)39 b(If)24 b(y)m(ou)h(do)f(this,)i(mak)m(e)f(sure)f @@ -17752,9 +18187,9 @@ Fu('.)42 b(T)-8 b(o)32 b(also)g(remo)m(v)m(e)g(the)g(\014les)f(that)g Ft(configure)e Fu(created)j(\(so)g(y)m(ou)g(can)f(compile)150 5340 y(Bash)g(for)f(a)g(di\013eren)m(t)h(kind)f(of)g(computer\),)h(t)m (yp)s(e)g(`)p Ft(make)e(distclean)p Fu('.)p eop end -%%Page: 139 145 -TeXDict begin 139 144 bop 150 -116 a Fu(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(139)150 299 y Fs(10.2)68 +%%Page: 143 149 +TeXDict begin 143 148 bop 150 -116 a Fu(Chapter)30 b(10:)41 +b(Installing)31 b(Bash)2356 b(143)150 299 y Fs(10.2)68 b(Compilers)46 b(and)f(Options)150 458 y Fu(Some)28 b(systems)h (require)f(un)m(usual)f(options)i(for)f(compilation)i(or)f(linking)f (that)h(the)g Ft(configure)d Fu(script)150 568 y(do)s(es)32 @@ -17763,421 +18198,425 @@ Ft(configure)d Fu(initial)j(v)-5 b(alues)32 b(for)g(v)-5 b(ariables)32 b(b)m(y)g(setting)h(them)150 677 y(in)k(the)g(en)m (vironmen)m(t.)62 b(Using)38 b(a)f(Bourne-compatible)i(shell,)g(y)m(ou) f(can)g(do)f(that)h(on)f(the)g(command)150 787 y(line)31 -b(lik)m(e)g(this:)390 920 y Ft(CC=c89)46 b(CFLAGS=-O2)f(LIBS=-lposix)g -(./configure)275 1053 y Fu(On)29 b(systems)h(that)h(ha)m(v)m(e)h(the)f +b(lik)m(e)g(this:)390 926 y Ft(CC=c89)46 b(CFLAGS=-O2)f(LIBS=-lposix)g +(./configure)275 1065 y Fu(On)29 b(systems)h(that)h(ha)m(v)m(e)h(the)f Ft(env)e Fu(program,)h(y)m(ou)h(can)g(do)f(it)h(lik)m(e)h(this:)390 -1186 y Ft(env)47 b(CPPFLAGS=-I/usr/local/in)o(clud)o(e)42 -b(LDFLAGS=-s)j(./configure)275 1318 y Fu(The)29 b(con\014guration)i +1204 y Ft(env)47 b(CPPFLAGS=-I/usr/local/in)o(clud)o(e)42 +b(LDFLAGS=-s)j(./configure)275 1343 y Fu(The)29 b(con\014guration)i (pro)s(cess)f(uses)g(GCC)g(to)h(build)e(Bash)i(if)f(it)h(is)g(a)m(v)-5 -b(ailable.)150 1548 y Fs(10.3)68 b(Compiling)46 b(F)-11 -b(or)45 b(Multiple)g(Arc)l(hitectures)150 1707 y Fu(Y)-8 +b(ailable.)150 1590 y Fs(10.3)68 b(Compiling)46 b(F)-11 +b(or)45 b(Multiple)g(Arc)l(hitectures)150 1750 y Fu(Y)-8 b(ou)27 b(can)g(compile)g(Bash)g(for)f(more)h(than)f(one)h(kind)f(of)g (computer)h(at)g(the)g(same)g(time,)h(b)m(y)e(placing)i(the)150 -1817 y(ob)5 b(ject)31 b(\014les)f(for)g(eac)m(h)i(arc)m(hitecture)f(in) +1859 y(ob)5 b(ject)31 b(\014les)f(for)g(eac)m(h)i(arc)m(hitecture)f(in) f(their)g(o)m(wn)h(directory)-8 b(.)41 b(T)-8 b(o)31 b(do)f(this,)g(y)m(ou)h(m)m(ust)f(use)g(a)g(v)m(ersion)150 -1926 y(of)25 b Ft(make)f Fu(that)h(supp)s(orts)f(the)h +1969 y(of)25 b Ft(make)f Fu(that)h(supp)s(orts)f(the)h Ft(VPATH)e Fu(v)-5 b(ariable,)27 b(suc)m(h)e(as)g(GNU)h Ft(make)p Fu(.)37 b Ft(cd)25 b Fu(to)h(the)f(directory)g(where)g(y)m -(ou)150 2036 y(w)m(an)m(t)34 b(the)f(ob)5 b(ject)34 b(\014les)f(and)f +(ou)150 2078 y(w)m(an)m(t)34 b(the)f(ob)5 b(ject)34 b(\014les)f(and)f (executables)i(to)g(go)g(and)e(run)g(the)h Ft(configure)d -Fu(script)j(from)g(the)g(source)150 2145 y(directory)-8 +Fu(script)j(from)g(the)g(source)150 2188 y(directory)-8 b(.)44 b(Y)-8 b(ou)32 b(ma)m(y)g(need)f(to)h(supply)e(the)i Ft(--srcdir=PATH)27 b Fu(argumen)m(t)32 b(to)g(tell)h -Ft(configure)28 b Fu(where)150 2255 y(the)36 b(source)g(\014les)f(are.) +Ft(configure)28 b Fu(where)150 2297 y(the)36 b(source)g(\014les)f(are.) 57 b Ft(configure)33 b Fu(automatically)39 b(c)m(hec)m(ks)e(for)e(the)h -(source)g(co)s(de)f(in)h(the)f(directory)150 2364 y(that)c -Ft(configure)d Fu(is)i(in)g(and)g(in)g(`..'.)275 2497 +(source)g(co)s(de)f(in)h(the)f(directory)150 2407 y(that)c +Ft(configure)d Fu(is)i(in)g(and)g(in)g(`..'.)275 2546 y(If)20 b(y)m(ou)h(ha)m(v)m(e)i(to)e(use)g(a)g Ft(make)f Fu(that)i(do)s(es)e(not)i(supp)s(orts)d(the)i Ft(VPATH)e Fu(v)-5 b(ariable,)24 b(y)m(ou)e(can)f(compile)h(Bash)150 -2607 y(for)33 b(one)h(arc)m(hitecture)h(at)f(a)g(time)g(in)f(the)h +2656 y(for)33 b(one)h(arc)m(hitecture)h(at)f(a)g(time)g(in)f(the)h (source)g(co)s(de)f(directory)-8 b(.)51 b(After)34 b(y)m(ou)g(ha)m(v)m -(e)h(installed)f(Bash)150 2716 y(for)c(one)h(arc)m(hitecture,)h(use)e +(e)h(installed)f(Bash)150 2765 y(for)c(one)h(arc)m(hitecture,)h(use)e (`)p Ft(make)g(distclean)p Fu(')e(b)s(efore)i(recon\014guring)g(for)g -(another)g(arc)m(hitecture.)275 2849 y(Alternativ)m(ely)-8 +(another)g(arc)m(hitecture.)275 2904 y(Alternativ)m(ely)-8 b(,)30 b(if)c(y)m(our)g(system)h(supp)s(orts)d(sym)m(b)s(olic)j(links,) -g(y)m(ou)g(can)g(use)f(the)g Ft(support/mkclone)150 2959 +g(y)m(ou)g(can)g(use)f(the)g Ft(support/mkclone)150 3014 y Fu(script)d(to)h(create)g(a)f(build)f(tree)i(whic)m(h)f(has)f(sym)m (b)s(olic)i(links)e(bac)m(k)i(to)g(eac)m(h)g(\014le)f(in)g(the)g -(source)g(directory)-8 b(.)150 3068 y(Here's)41 b(an)f(example)i(that)f +(source)g(directory)-8 b(.)150 3123 y(Here's)41 b(an)f(example)i(that)f (creates)h(a)e(build)g(directory)h(in)f(the)h(curren)m(t)f(directory)h -(from)f(a)h(source)150 3178 y(directory)31 b Ft(/usr/gnu/src/bash-2.0)p -Fu(:)390 3311 y Ft(bash)47 b(/usr/gnu/src/bash-2.0/s)o(uppo)o(rt/)o +(from)f(a)h(source)150 3233 y(directory)31 b Ft(/usr/gnu/src/bash-2.0)p +Fu(:)390 3372 y Ft(bash)47 b(/usr/gnu/src/bash-2.0/s)o(uppo)o(rt/)o (mkcl)o(one)41 b(-s)47 b(/usr/gnu/src/bash-2.0)42 b(.)150 -3444 y Fu(The)c Ft(mkclone)e Fu(script)i(requires)g(Bash,)i(so)f(y)m +3511 y Fu(The)c Ft(mkclone)e Fu(script)i(requires)g(Bash,)i(so)f(y)m (ou)f(m)m(ust)h(ha)m(v)m(e)g(already)g(built)f(Bash)g(for)g(at)h(least) -h(one)150 3553 y(arc)m(hitecture)32 b(b)s(efore)e(y)m(ou)h(can)f +h(one)150 3620 y(arc)m(hitecture)32 b(b)s(efore)e(y)m(ou)h(can)f (create)i(build)e(directories)h(for)f(other)h(arc)m(hitectures.)150 -3782 y Fs(10.4)68 b(Installation)47 b(Names)150 3942 +3868 y Fs(10.4)68 b(Installation)47 b(Names)150 4027 y Fu(By)37 b(default,)i(`)p Ft(make)29 b(install)p Fu(')35 b(will)j(install)f(in)m(to)h Ft(/usr/local/bin)p Fu(,)d -Ft(/usr/local/man)p Fu(,)f(etc.)61 b(Y)-8 b(ou)150 4051 +Ft(/usr/local/man)p Fu(,)f(etc.)61 b(Y)-8 b(ou)150 4137 y(can)35 b(sp)s(ecify)f(an)h(installation)i(pre\014x)c(other)j(than)e Ft(/usr/local)e Fu(b)m(y)j(giving)g Ft(configure)e Fu(the)h(option)150 -4161 y Ft(--prefix=)p Fj(PATH)p Fu(,)41 b(or)g(b)m(y)g(sp)s(ecifying)h +4246 y Ft(--prefix=)p Fj(PATH)p Fu(,)41 b(or)g(b)m(y)g(sp)s(ecifying)h (a)f(v)-5 b(alue)42 b(for)f(the)h Ft(DESTDIR)d Fu(`)p Ft(make)p Fu(')i(v)-5 b(ariable)42 b(when)f(running)150 -4271 y(`)p Ft(make)29 b(install)p Fu('.)275 4403 y(Y)-8 +4356 y(`)p Ft(make)29 b(install)p Fu('.)275 4495 y(Y)-8 b(ou)71 b(can)h(sp)s(ecify)f(separate)h(installation)h(pre\014xes)d (for)h(arc)m(hitecture-sp)s(eci\014c)i(\014les)f(and)150 -4513 y(arc)m(hitecture-indep)s(enden)m(t)44 b(\014les.)80 +4604 y(arc)m(hitecture-indep)s(enden)m(t)44 b(\014les.)80 b(If)43 b(y)m(ou)h(giv)m(e)h Ft(configure)c Fu(the)j(option)g -Ft(--exec-prefix=)p Fj(PATH)p Fu(,)150 4623 y(`)p Ft(make)29 +Ft(--exec-prefix=)p Fj(PATH)p Fu(,)150 4714 y(`)p Ft(make)29 b(install)p Fu(')63 b(will)h(use)f Fr(P)-8 b(A)g(TH)75 b Fu(as)64 b(the)g(pre\014x)e(for)i(installing)h(programs)e(and)h -(libraries.)150 4732 y(Do)s(cumen)m(tation)32 b(and)e(other)h(data)g +(libraries.)150 4824 y(Do)s(cumen)m(tation)32 b(and)e(other)h(data)g (\014les)f(will)h(still)g(use)f(the)h(regular)f(pre\014x.)150 -4961 y Fs(10.5)68 b(Sp)t(ecifying)45 b(the)g(System)h(T)l(yp)t(e)150 -5121 y Fu(There)f(ma)m(y)g(b)s(e)f(some)i(features)f +5071 y Fs(10.5)68 b(Sp)t(ecifying)45 b(the)g(System)h(T)l(yp)t(e)150 +5230 y Fu(There)f(ma)m(y)g(b)s(e)f(some)i(features)f Ft(configure)e Fu(can)i(not)g(\014gure)g(out)g(automatically)-8 -b(,)52 b(but)44 b(need)h(to)150 5230 y(determine)26 b(b)m(y)g(the)g(t)m +b(,)52 b(but)44 b(need)h(to)150 5340 y(determine)26 b(b)m(y)g(the)g(t)m (yp)s(e)g(of)g(host)g(Bash)g(will)g(run)f(on.)39 b(Usually)26 -b Ft(configure)d Fu(can)k(\014gure)e(that)h(out,)i(but)150 -5340 y(if)g(it)g(prin)m(ts)f(a)h(message)g(sa)m(ying)h(it)f(can)g(not)f -(guess)h(the)g(host)f(t)m(yp)s(e,)i(giv)m(e)g(it)f(the)g -Ft(--host=TYPE)c Fu(option.)p eop end -%%Page: 140 146 -TeXDict begin 140 145 bop 150 -116 a Fu(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(140)150 299 y(`)p Ft(TYPE)p -Fu(')29 b(can)h(either)g(b)s(e)g(a)g(short)f(name)h(for)f(the)h(system) -g(t)m(yp)s(e,)h(suc)m(h)e(as)h(`)p Ft(sun4)p Fu(',)g(or)f(a)h -(canonical)i(name)150 408 y(with)e(three)h(\014elds:)40 -b(`)p Ft(CPU-COMPANY-SYSTEM)p Fu(')26 b(\(e.g.,)32 b(`)p -Ft(i386-unknown-freebsd4.2)p Fu('\).)275 539 y(See)e(the)h(\014le)f -Ft(support/config.sub)c Fu(for)k(the)g(p)s(ossible)g(v)-5 -b(alues)31 b(of)f(eac)m(h)i(\014eld.)150 764 y Fs(10.6)68 -b(Sharing)45 b(Defaults)150 924 y Fu(If)d(y)m(ou)i(w)m(an)m(t)g(to)f +b Ft(configure)d Fu(can)k(\014gure)e(that)h(out,)i(but)p +eop end +%%Page: 144 150 +TeXDict begin 144 149 bop 150 -116 a Fu(Chapter)30 b(10:)41 +b(Installing)31 b(Bash)2356 b(144)150 299 y(if)28 b(it)g(prin)m(ts)f(a) +h(message)g(sa)m(ying)h(it)f(can)g(not)f(guess)h(the)g(host)f(t)m(yp)s +(e,)i(giv)m(e)g(it)f(the)g Ft(--host=TYPE)c Fu(option.)150 +408 y(`)p Ft(TYPE)p Fu(')29 b(can)h(either)g(b)s(e)g(a)g(short)f(name)h +(for)f(the)h(system)g(t)m(yp)s(e,)h(suc)m(h)e(as)h(`)p +Ft(sun4)p Fu(',)g(or)f(a)h(canonical)i(name)150 518 y(with)e(three)h +(\014elds:)40 b(`)p Ft(CPU-COMPANY-SYSTEM)p Fu(')26 b(\(e.g.,)32 +b(`)p Ft(i386-unknown-freebsd4.2)p Fu('\).)275 663 y(See)e(the)h +(\014le)f Ft(support/config.sub)c Fu(for)k(the)g(p)s(ossible)g(v)-5 +b(alues)31 b(of)f(eac)m(h)i(\014eld.)150 919 y Fs(10.6)68 +b(Sharing)45 b(Defaults)150 1078 y Fu(If)d(y)m(ou)i(w)m(an)m(t)g(to)f (set)h(default)f(v)-5 b(alues)43 b(for)g Ft(configure)d Fu(scripts)j(to)h(share,)i(y)m(ou)d(can)g(create)i(a)e(site)150 -1033 y(shell)48 b(script)f(called)i Ft(config.site)44 +1188 y(shell)48 b(script)f(called)i Ft(config.site)44 b Fu(that)k(giv)m(es)h(default)f(v)-5 b(alues)48 b(for)f(v)-5 b(ariables)48 b(lik)m(e)h Ft(CC)p Fu(,)j Ft(cache_)150 -1143 y(file)p Fu(,)c(and)d Ft(prefix)p Fu(.)85 b Ft(configure)43 +1298 y(file)p Fu(,)c(and)d Ft(prefix)p Fu(.)85 b Ft(configure)43 b Fu(lo)s(oks)j(for)f Ft(PREFIX/share/config.site)39 -b Fu(if)46 b(it)g(exists,)k(then)150 1252 y Ft(PREFIX/etc/config.site) +b Fu(if)46 b(it)g(exists,)k(then)150 1407 y Ft(PREFIX/etc/config.site) 24 b Fu(if)31 b(it)g(exists.)42 b(Or,)30 b(y)m(ou)h(can)g(set)g(the)g Ft(CONFIG_SITE)c Fu(en)m(vironmen)m(t)k(v)-5 b(ari-)150 -1362 y(able)40 b(to)g(the)g(lo)s(cation)h(of)e(the)h(site)g(script.)67 +1517 y(able)40 b(to)g(the)g(lo)s(cation)h(of)e(the)h(site)g(script.)67 b(A)40 b(w)m(arning:)58 b(the)40 b(Bash)g Ft(configure)c -Fu(lo)s(oks)k(for)f(a)h(site)150 1472 y(script,)31 b(but)e(not)i(all)g -Ft(configure)d Fu(scripts)i(do.)150 1697 y Fs(10.7)68 -b(Op)t(eration)46 b(Con)l(trols)150 1856 y Ft(configure)28 +Fu(lo)s(oks)k(for)f(a)h(site)150 1626 y(script,)31 b(but)e(not)i(all)g +Ft(configure)d Fu(scripts)i(do.)150 1883 y Fs(10.7)68 +b(Op)t(eration)46 b(Con)l(trols)150 2042 y Ft(configure)28 b Fu(recognizes)k(the)e(follo)m(wing)i(options)f(to)g(con)m(trol)h(ho)m -(w)e(it)h(op)s(erates.)150 2008 y Ft(--cache-file=)p -Fj(file)630 2117 y Fu(Use)d(and)g(sa)m(v)m(e)h(the)f(results)g(of)g +(w)e(it)h(op)s(erates.)150 2217 y Ft(--cache-file=)p +Fj(file)630 2326 y Fu(Use)d(and)g(sa)m(v)m(e)h(the)f(results)g(of)g (the)h(tests)f(in)g Fr(\014le)33 b Fu(instead)28 b(of)h Ft(./config.cache)p Fu(.)36 b(Set)28 b Fr(\014le)630 -2227 y Fu(to)j Ft(/dev/null)d Fu(to)j(disable)g(cac)m(hing,)h(for)e -(debugging)g Ft(configure)p Fu(.)150 2379 y Ft(--help)192 +2436 y Fu(to)j Ft(/dev/null)d Fu(to)j(disable)g(cac)m(hing,)h(for)e +(debugging)g Ft(configure)p Fu(.)150 2606 y Ft(--help)192 b Fu(Prin)m(t)30 b(a)h(summary)e(of)i(the)f(options)h(to)g -Ft(configure)p Fu(,)d(and)i(exit.)150 2531 y Ft(--quiet)150 -2641 y(--silent)150 2750 y(-q)384 b Fu(Do)31 b(not)g(prin)m(t)f +Ft(configure)p Fu(,)d(and)i(exit.)150 2775 y Ft(--quiet)150 +2885 y(--silent)150 2995 y(-q)384 b Fu(Do)31 b(not)g(prin)m(t)f (messages)h(sa)m(ying)g(whic)m(h)g(c)m(hec)m(ks)g(are)g(b)s(eing)f -(made.)150 2902 y Ft(--srcdir=)p Fj(dir)630 3012 y Fu(Lo)s(ok)i(for)g +(made.)150 3164 y Ft(--srcdir=)p Fj(dir)630 3274 y Fu(Lo)s(ok)i(for)g (the)g(Bash)g(source)h(co)s(de)f(in)g(directory)g Fr(dir)p Fu(.)45 b(Usually)33 b Ft(configure)c Fu(can)j(deter-)630 -3121 y(mine)e(that)h(directory)g(automatically)-8 b(.)150 -3273 y Ft(--version)630 3383 y Fu(Prin)m(t)29 b(the)h(v)m(ersion)g(of)g +3383 y(mine)e(that)h(directory)g(automatically)-8 b(.)150 +3553 y Ft(--version)630 3663 y Fu(Prin)m(t)29 b(the)h(v)m(ersion)g(of)g (Auto)s(conf)f(used)g(to)h(generate)h(the)f Ft(configure)d -Fu(script,)j(and)f(exit.)275 3535 y Ft(configure)34 b +Fu(script,)j(and)f(exit.)275 3838 y Ft(configure)34 b Fu(also)k(accepts)g(some)g(other,)h(not)e(widely)g(used,)h(b)s -(oilerplate)g(options.)61 b(`)p Ft(configure)150 3644 +(oilerplate)g(options.)61 b(`)p Ft(configure)150 3947 y(--help)p Fu(')29 b(prin)m(ts)h(the)g(complete)i(list.)150 -3869 y Fs(10.8)68 b(Optional)46 b(F)-11 b(eatures)150 -4029 y Fu(The)29 b(Bash)h Ft(configure)d Fu(has)j(a)g(n)m(um)m(b)s(er)f +4203 y Fs(10.8)68 b(Optional)46 b(F)-11 b(eatures)150 +4363 y Fu(The)29 b(Bash)h Ft(configure)d Fu(has)j(a)g(n)m(um)m(b)s(er)f (of)h Ft(--enable-)p Fj(feature)25 b Fu(options,)30 b(where)g -Fr(feature)35 b Fu(indicates)150 4138 y(an)e(optional)i(part)e(of)h +Fr(feature)35 b Fu(indicates)150 4472 y(an)e(optional)i(part)e(of)h (Bash.)50 b(There)33 b(are)g(also)i(sev)m(eral)g Ft(--with-)p Fj(package)29 b Fu(options,)35 b(where)e Fr(pac)m(k)-5 -b(age)150 4248 y Fu(is)32 b(something)h(lik)m(e)h(`)p +b(age)150 4582 y Fu(is)32 b(something)h(lik)m(e)h(`)p Ft(bash-malloc)p Fu(')c(or)i(`)p Ft(purify)p Fu('.)45 b(T)-8 b(o)33 b(turn)e(o\013)i(the)f(default)h(use)f(of)g(a)h(pac)m(k) --5 b(age,)35 b(use)150 4357 y Ft(--without-)p Fj(package)p +-5 b(age,)35 b(use)150 4692 y Ft(--without-)p Fj(package)p Fu(.)46 b(T)-8 b(o)34 b(con\014gure)g(Bash)g(without)f(a)i(feature)f -(that)g(is)g(enabled)g(b)m(y)f(default,)i(use)150 4467 -y Ft(--disable-)p Fj(feature)p Fu(.)275 4598 y(Here)28 +(that)g(is)g(enabled)g(b)m(y)f(default,)i(use)150 4801 +y Ft(--disable-)p Fj(feature)p Fu(.)275 4946 y(Here)28 b(is)g(a)h(complete)g(list)g(of)f(the)h Ft(--enable-)c Fu(and)j Ft(--with-)e Fu(options)i(that)h(the)f(Bash)g -Ft(configure)150 4707 y Fu(recognizes.)150 4859 y Ft(--with-afs)630 -4969 y Fu(De\014ne)j(if)f(y)m(ou)h(are)f(using)g(the)h(Andrew)e(File)j -(System)e(from)g(T)-8 b(ransarc.)150 5121 y Ft(--with-bash-malloc)630 -5230 y Fu(Use)34 b(the)g(Bash)h(v)m(ersion)f(of)g Ft(malloc)e +Ft(configure)150 5056 y Fu(recognizes.)150 5230 y Ft(--with-afs)630 +5340 y Fu(De\014ne)j(if)f(y)m(ou)h(are)f(using)g(the)h(Andrew)e(File)j +(System)e(from)g(T)-8 b(ransarc.)p eop end +%%Page: 145 151 +TeXDict begin 145 150 bop 150 -116 a Fu(Chapter)30 b(10:)41 +b(Installing)31 b(Bash)2356 b(145)150 299 y Ft(--with-bash-malloc)630 +408 y Fu(Use)34 b(the)g(Bash)h(v)m(ersion)f(of)g Ft(malloc)e Fu(in)i(the)g(directory)h Ft(lib/malloc)p Fu(.)48 b(This)34 -b(is)g(not)g(the)630 5340 y(same)e Ft(malloc)e Fu(that)j(app)s(ears)e +b(is)g(not)g(the)630 518 y(same)e Ft(malloc)e Fu(that)j(app)s(ears)e (in)g Fm(gnu)h Fu(lib)s(c,)g(but)f(an)h(older)f(v)m(ersion)i -(originally)g(deriv)m(ed)p eop end -%%Page: 141 147 -TeXDict begin 141 146 bop 150 -116 a Fu(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(141)630 299 y(from)32 b(the)h(4.2)g +(originally)g(deriv)m(ed)630 628 y(from)f(the)h(4.2)g Fm(bsd)f Ft(malloc)p Fu(.)45 b(This)31 b Ft(malloc)g Fu(is)i(v)m(ery)f(fast,)i(but)e(w)m(astes)h(some)g(space)g(on)630 -408 y(eac)m(h)j(allo)s(cation.)58 b(This)34 b(option)i(is)f(enabled)g +737 y(eac)m(h)j(allo)s(cation.)58 b(This)34 b(option)i(is)f(enabled)g (b)m(y)g(default.)56 b(The)34 b Ft(NOTES)g Fu(\014le)h(con)m(tains)i(a) -630 518 y(list)29 b(of)f(systems)f(for)h(whic)m(h)g(this)g(should)e(b)s +630 847 y(list)29 b(of)f(systems)f(for)h(whic)m(h)g(this)g(should)e(b)s (e)i(turned)e(o\013,)j(and)f Ft(configure)d Fu(disables)j(this)630 -628 y(option)j(automatically)i(for)d(a)h(n)m(um)m(b)s(er)e(of)i -(systems.)150 789 y Ft(--with-curses)630 899 y Fu(Use)h(the)h(curses)e -(library)h(instead)g(of)h(the)f(termcap)g(library)-8 -b(.)46 b(This)32 b(should)f(b)s(e)g(supplied)630 1008 +956 y(option)j(automatically)i(for)d(a)h(n)m(um)m(b)s(er)e(of)i +(systems.)150 1120 y Ft(--with-curses)630 1230 y Fu(Use)h(the)h(curses) +e(library)h(instead)g(of)h(the)f(termcap)g(library)-8 +b(.)46 b(This)32 b(should)f(b)s(e)g(supplied)630 1339 y(if)f(y)m(our)h(system)f(has)g(an)h(inadequate)g(or)f(incomplete)i -(termcap)e(database.)150 1170 y Ft(--with-gnu-malloc)630 -1279 y Fu(A)g(synon)m(ym)g(for)g Ft(--with-bash-malloc)p -Fu(.)150 1441 y Ft(--with-installed-readlin)o(e[=)p Fj(P)o(REFI)o(X)p -Ft(])630 1550 y Fu(De\014ne)c(this)f(to)h(mak)m(e)h(Bash)f(link)f(with) +(termcap)e(database.)150 1503 y Ft(--with-gnu-malloc)630 +1613 y Fu(A)g(synon)m(ym)g(for)g Ft(--with-bash-malloc)p +Fu(.)150 1776 y Ft(--with-installed-readlin)o(e[=)p Fj(P)o(REFI)o(X)p +Ft(])630 1886 y Fu(De\014ne)c(this)f(to)h(mak)m(e)h(Bash)f(link)f(with) g(a)h(lo)s(cally-installed)i(v)m(ersion)e(of)g(Readline)g(rather)630 -1660 y(than)f(the)h(v)m(ersion)g(in)f Ft(lib/readline)p +1996 y(than)f(the)h(v)m(ersion)g(in)f Ft(lib/readline)p Fu(.)36 b(This)25 b(w)m(orks)g(only)h(with)f(Readline)h(5.0)h(and)e -(later)630 1769 y(v)m(ersions.)46 b(If)32 b Fr(PREFIX)41 +(later)630 2105 y(v)m(ersions.)46 b(If)32 b Fr(PREFIX)41 b Fu(is)32 b Ft(yes)f Fu(or)i(not)f(supplied,)f Ft(configure)f -Fu(uses)i(the)g(v)-5 b(alues)32 b(of)h(the)630 1879 y(mak)m(e)28 +Fu(uses)i(the)g(v)-5 b(alues)32 b(of)h(the)630 2215 y(mak)m(e)28 b(v)-5 b(ariables)29 b Ft(includedir)24 b Fu(and)j Ft(libdir)p Fu(,)g(whic)m(h)g(are)h(sub)s(directories)f(of)g Ft(prefix)f -Fu(b)m(y)630 1989 y(default,)44 b(to)d(\014nd)f(the)h(installed)g(v)m +Fu(b)m(y)630 2324 y(default,)44 b(to)d(\014nd)f(the)h(installed)g(v)m (ersion)h(of)f(Readline)g(if)g(it)g(is)g(not)g(in)g(the)g(standard)630 -2098 y(system)35 b(include)f(and)g(library)g(directories.)54 +2434 y(system)35 b(include)f(and)g(library)g(directories.)54 b(If)34 b Fr(PREFIX)43 b Fu(is)35 b Ft(no)p Fu(,)g(Bash)f(links)h(with) -f(the)630 2208 y(v)m(ersion)42 b(in)e Ft(lib/readline)p +f(the)630 2544 y(v)m(ersion)42 b(in)e Ft(lib/readline)p Fu(.)70 b(If)40 b Fr(PREFIX)51 b Fu(is)41 b(set)g(to)h(an)m(y)g(other)f -(v)-5 b(alue,)44 b Ft(configure)630 2317 y Fu(treats)27 +(v)-5 b(alue,)44 b Ft(configure)630 2653 y Fu(treats)27 b(it)g(as)f(a)h(directory)g(pathname)f(and)f(lo)s(oks)i(for)f(the)g -(installed)h(v)m(ersion)g(of)f(Readline)630 2427 y(in)34 +(installed)h(v)m(ersion)g(of)f(Readline)630 2763 y(in)34 b(sub)s(directories)f(of)h(that)h(directory)g(\(include)f(\014les)g(in) g Fr(PREFIX)9 b Fu(/)p Ft(include)32 b Fu(and)i(the)630 -2536 y(library)c(in)g Fr(PREFIX)9 b Fu(/)p Ft(lib)p Fu(\).)150 -2698 y Ft(--with-purify)630 2807 y Fu(De\014ne)23 b(this)g(to)h(use)f +2872 y(library)c(in)g Fr(PREFIX)9 b Fu(/)p Ft(lib)p Fu(\).)150 +3036 y Ft(--with-purify)630 3146 y Fu(De\014ne)23 b(this)g(to)h(use)f (the)g(Purify)f(memory)h(allo)s(cation)i(c)m(hec)m(k)m(er)g(from)e -(Rational)i(Soft)m(w)m(are.)150 2969 y Ft(--enable-minimal-config)630 -3078 y Fu(This)e(pro)s(duces)f(a)i(shell)g(with)f(minimal)h(features,)h +(Rational)i(Soft)m(w)m(are.)150 3309 y Ft(--enable-minimal-config)630 +3419 y Fu(This)e(pro)s(duces)f(a)i(shell)g(with)f(minimal)h(features,)h (close)g(to)f(the)g(historical)h(Bourne)e(shell.)275 -3241 y(There)k(are)i(sev)m(eral)g Ft(--enable-)d Fu(options)i(that)h +3585 y(There)k(are)i(sev)m(eral)g Ft(--enable-)d Fu(options)i(that)h (alter)g(ho)m(w)f(Bash)g(is)g(compiled)h(and)e(link)m(ed,)i(rather)150 -3350 y(than)h(c)m(hanging)h(run-time)f(features.)150 -3513 y Ft(--enable-largefile)630 3622 y Fu(Enable)e(supp)s(ort)f(for)h +3694 y(than)h(c)m(hanging)h(run-time)f(features.)150 +3860 y Ft(--enable-largefile)630 3970 y Fu(Enable)e(supp)s(ort)f(for)h (large)i(\014les)f(\()p Ft(http://www.sas.com/stand)o(ards)o(/la)o -(rge_)o(file)o(/)630 3732 y(x_open)5 b(.)t(20Mar96)g(.)t(html)p -Fu(\))31 b(if)37 b(the)f(op)s(erating)h(system)g(requires)f(sp)s(ecial) -h(compiler)g(op-)630 3842 y(tions)27 b(to)h(build)e(programs)h(whic)m +(rge_)o(file)o(/)630 4079 y(x_open)5 b(.)g(20Mar96)g(.)g(html)p +Fu(\))31 b(if)36 b(the)g(op)s(erating)h(system)f(requires)g(sp)s(ecial) +h(compiler)g(op-)630 4189 y(tions)27 b(to)h(build)e(programs)h(whic)m (h)g(can)g(access)h(large)h(\014les.)39 b(This)26 b(is)i(enabled)f(b)m -(y)f(default,)630 3951 y(if)k(the)h(op)s(erating)g(system)f(pro)m -(vides)h(large)g(\014le)g(supp)s(ort.)150 4113 y Ft(--enable-profiling) -630 4222 y Fu(This)g(builds)f(a)i(Bash)g(binary)f(that)h(pro)s(duces)e +(y)f(default,)630 4299 y(if)k(the)h(op)s(erating)g(system)f(pro)m +(vides)h(large)g(\014le)g(supp)s(ort.)150 4462 y Ft(--enable-profiling) +630 4572 y Fu(This)g(builds)f(a)i(Bash)g(binary)f(that)h(pro)s(duces)e (pro\014ling)h(information)h(to)h(b)s(e)d(pro)s(cessed)630 -4332 y(b)m(y)g Ft(gprof)f Fu(eac)m(h)j(time)f(it)g(is)f(executed.)150 -4493 y Ft(--enable-static-link)630 4603 y Fu(This)37 +4682 y(b)m(y)g Ft(gprof)f Fu(eac)m(h)j(time)f(it)g(is)f(executed.)150 +4845 y Ft(--enable-static-link)630 4955 y Fu(This)37 b(causes)h(Bash)f(to)h(b)s(e)f(link)m(ed)h(statically)-8 b(,)43 b(if)37 b Ft(gcc)g Fu(is)g(b)s(eing)g(used.)61 -b(This)37 b(could)h(b)s(e)630 4712 y(used)30 b(to)h(build)e(a)i(v)m -(ersion)g(to)g(use)f(as)g(ro)s(ot's)h(shell.)275 4875 +b(This)37 b(could)h(b)s(e)630 5064 y(used)30 b(to)h(build)e(a)i(v)m +(ersion)g(to)g(use)f(as)g(ro)s(ot's)h(shell.)275 5230 y(The)f(`)p Ft(minimal-config)p Fu(')d(option)k(can)g(b)s(e)f(used)f (to)j(disable)e(all)i(of)f(the)f(follo)m(wing)i(options,)g(but)d(it)150 -4984 y(is)h(pro)s(cessed)g(\014rst,)g(so)h(individual)f(options)g(ma)m +5340 y(is)h(pro)s(cessed)g(\014rst,)g(so)h(individual)f(options)g(ma)m (y)h(b)s(e)f(enabled)g(using)g(`)p Ft(enable-)p Fj(feature)p -Fu('.)275 5121 y(All)41 b(of)g(the)g(follo)m(wing)i(options)e(except)h -(for)f(`)p Ft(disabled-builtins)p Fu(',)e(`)p Ft(directpand-default)p -Fu(',)150 5230 y(and)45 b(`)p Ft(xpg-echo-default)p Fu(')c(are)k -(enabled)h(b)m(y)f(default,)k(unless)44 b(the)i(op)s(erating)f(system)h -(do)s(es)f(not)150 5340 y(pro)m(vide)30 b(the)h(necessary)g(supp)s -(ort.)p eop end -%%Page: 142 148 -TeXDict begin 142 147 bop 150 -116 a Fu(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(142)150 299 y Ft(--enable-alias)630 -408 y Fu(Allo)m(w)41 b(alias)g(expansion)f(and)f(include)g(the)h -Ft(alias)f Fu(and)g Ft(unalias)e Fu(builtins)j(\(see)g(Sec-)630 -518 y(tion)31 b(6.6)g([Aliases],)i(page)e(88\).)150 682 -y Ft(--enable-arith-for-comma)o(nd)630 792 y Fu(Include)21 +Fu('.)p eop end +%%Page: 146 152 +TeXDict begin 146 151 bop 150 -116 a Fu(Chapter)30 b(10:)41 +b(Installing)31 b(Bash)2356 b(146)275 299 y(All)26 b(of)f(the)h(follo)m +(wing)h(options)f(except)g(for)g(`)p Ft(disabled-builtins)p +Fu(',)c(`)p Ft(direxpand-default)p Fu(',)h(and)150 408 +y(`)p Ft(xpg-echo-default)p Fu(')28 b(are)33 b(enabled)f(b)m(y)g +(default,)h(unless)e(the)i(op)s(erating)f(system)h(do)s(es)e(not)i(pro) +m(vide)150 518 y(the)e(necessary)f(supp)s(ort.)150 698 +y Ft(--enable-alias)630 807 y Fu(Allo)m(w)41 b(alias)g(expansion)f(and) +f(include)g(the)h Ft(alias)f Fu(and)g Ft(unalias)e Fu(builtins)j(\(see) +g(Sec-)630 917 y(tion)31 b(6.6)g([Aliases],)i(page)e(90\).)150 +1090 y Ft(--enable-arith-for-comma)o(nd)630 1200 y Fu(Include)21 b(supp)s(ort)g(for)g(the)i(alternate)g(form)f(of)g(the)g Ft(for)f Fu(command)h(that)h(b)s(eha)m(v)m(es)f(lik)m(e)i(the)630 -902 y(C)30 b(language)i Ft(for)d Fu(statemen)m(t)j(\(see)g(Section)f +1309 y(C)30 b(language)i Ft(for)d Fu(statemen)m(t)j(\(see)g(Section)f (3.2.4.1)i([Lo)s(oping)d(Constructs],)h(page)g(10\).)150 -1066 y Ft(--enable-array-variables)630 1176 y Fu(Include)h(supp)s(ort)g +1482 y Ft(--enable-array-variables)630 1592 y Fu(Include)h(supp)s(ort)g (for)h(one-dimensional)h(arra)m(y)f(shell)h(v)-5 b(ariables)33 -b(\(see)h(Section)g(6.7)h([Ar-)630 1285 y(ra)m(ys],)c(page)g(89\).)150 -1450 y Ft(--enable-bang-history)630 1559 y Fu(Include)36 +b(\(see)h(Section)g(6.7)h([Ar-)630 1701 y(ra)m(ys],)c(page)g(91\).)150 +1874 y Ft(--enable-bang-history)630 1984 y Fu(Include)36 b(supp)s(ort)f(for)h Ft(csh)p Fu(-lik)m(e)h(history)g(substitution)f -(\(see)h(Section)g(9.3)h([History)f(In-)630 1669 y(teraction],)c(page)e -(135\).)150 1833 y Ft(--enable-brace-expansion)630 1943 +(\(see)h(Section)g(9.3)h([History)f(In-)630 2093 y(teraction],)c(page)e +(139\).)150 2266 y Ft(--enable-brace-expansion)630 2376 y Fu(Include)40 b Ft(csh)p Fu(-lik)m(e)h(brace)f(expansion)g(\()h Ft(b{a,b}c)d Fq(7!)i Ft(bac)30 b(bbc)39 b Fu(\).)71 b(See)40 -b(Section)h(3.5.1)630 2052 y([Brace)32 b(Expansion],)e(page)h(21,)h -(for)e(a)g(complete)i(description.)150 2217 y Ft -(--enable-casemod-attribu)o(tes)630 2326 y Fu(Include)37 +b(Section)h(3.5.1)630 2485 y([Brace)32 b(Expansion],)e(page)h(21,)h +(for)e(a)g(complete)i(description.)150 2658 y Ft +(--enable-casemod-attribu)o(tes)630 2768 y Fu(Include)37 b(supp)s(ort)g(for)g(case-mo)s(difying)i(attributes)g(in)e(the)h -Ft(declare)e Fu(builtin)i(and)f(as-)630 2436 y(signmen)m(t)29 +Ft(declare)e Fu(builtin)i(and)f(as-)630 2878 y(signmen)m(t)29 b(statemen)m(ts.)41 b(V)-8 b(ariables)30 b(with)e(the)g Fr(upp)s(ercase)k Fu(attribute,)e(for)e(example,)i(will)630 -2545 y(ha)m(v)m(e)i(their)e(v)-5 b(alues)31 b(con)m(v)m(erted)h(to)f -(upp)s(ercase)e(up)s(on)g(assignmen)m(t.)150 2710 y Ft -(--enable-casemod-expansi)o(on)630 2819 y Fu(Include)h(supp)s(ort)e +2987 y(ha)m(v)m(e)i(their)e(v)-5 b(alues)31 b(con)m(v)m(erted)h(to)f +(upp)s(ercase)e(up)s(on)g(assignmen)m(t.)150 3160 y Ft +(--enable-casemod-expansi)o(on)630 3270 y Fu(Include)h(supp)s(ort)e (for)i(case-mo)s(difying)i(w)m(ord)e(expansions.)150 -2984 y Ft(--enable-command-timing)630 3093 y Fu(Include)43 +3443 y Ft(--enable-command-timing)630 3552 y Fu(Include)43 b(supp)s(ort)f(for)h(recognizing)i Ft(time)e Fu(as)g(a)h(reserv)m(ed)g -(w)m(ord)f(and)g(for)h(displa)m(ying)630 3203 y(timing)37 +(w)m(ord)f(and)g(for)h(displa)m(ying)630 3662 y(timing)37 b(statistics)h(for)e(the)g(pip)s(eline)g(follo)m(wing)i Ft(time)d Fu(\(see)i(Section)g(3.2.2)h([Pip)s(elines],)630 -3313 y(page)24 b(8\).)39 b(This)23 b(allo)m(ws)h(pip)s(elines)f(as)h(w) +3771 y(page)24 b(8\).)39 b(This)23 b(allo)m(ws)h(pip)s(elines)f(as)h(w) m(ell)g(as)g(shell)f(builtins)g(and)g(functions)g(to)h(b)s(e)e(timed.) -150 3477 y Ft(--enable-cond-command)630 3587 y Fu(Include)33 +150 3944 y Ft(--enable-cond-command)630 4054 y Fu(Include)33 b(supp)s(ort)f(for)i(the)g Ft([[)f Fu(conditional)i(command.)51 -b(\(see)34 b(Section)h(3.2.4.2)h([Condi-)630 3696 y(tional)c -(Constructs],)e(page)h(10\).)150 3861 y Ft(--enable-cond-regexp)630 -3970 y Fu(Include)k(supp)s(ort)f(for)i(matc)m(hing)h +b(\(see)34 b(Section)h(3.2.4.2)h([Condi-)630 4164 y(tional)c +(Constructs],)e(page)h(10\).)150 4337 y Ft(--enable-cond-regexp)630 +4446 y Fu(Include)k(supp)s(ort)f(for)i(matc)m(hing)h Fm(posix)e Fu(regular)h(expressions)g(using)f(the)h(`)p -Ft(=~)p Fu(')g(binary)630 4080 y(op)s(erator)25 b(in)f(the)h +Ft(=~)p Fu(')g(binary)630 4556 y(op)s(erator)25 b(in)f(the)h Ft([[)f Fu(conditional)h(command.)39 b(\(see)25 b(Section)h(3.2.4.2)h -([Conditional)e(Con-)630 4189 y(structs],)31 b(page)g(10\).)150 -4354 y Ft(--enable-coprocesses)630 4463 y Fu(Include)23 +([Conditional)e(Con-)630 4665 y(structs],)31 b(page)g(10\).)150 +4838 y Ft(--enable-coprocesses)630 4948 y Fu(Include)23 b(supp)s(ort)f(for)i(copro)s(cesses)g(and)f(the)h Ft(coproc)e Fu(reserv)m(ed)i(w)m(ord)g(\(see)h(Section)f(3.2.2)630 -4573 y([Pip)s(elines],)31 b(page)g(8\).)150 4737 y Ft -(--enable-debugger)630 4847 y Fu(Include)f(supp)s(ort)e(for)i(the)h -(bash)f(debugger)g(\(distributed)g(separately\).)150 -5011 y Ft(--enable-direxpand-defau)o(lt)630 5121 y Fu(Cause)53 +5057 y([Pip)s(elines],)31 b(page)g(8\).)150 5230 y Ft +(--enable-debugger)630 5340 y Fu(Include)f(supp)s(ort)e(for)i(the)h +(bash)f(debugger)g(\(distributed)g(separately\).)p eop +end +%%Page: 147 153 +TeXDict begin 147 152 bop 150 -116 a Fu(Chapter)30 b(10:)41 +b(Installing)31 b(Bash)2356 b(147)150 299 y Ft +(--enable-direxpand-defau)o(lt)630 408 y Fu(Cause)53 b(the)g Ft(direxpand)d Fu(shell)j(option)h(\(see)g(Section)f(4.3.2)i -([The)e(Shopt)f(Builtin],)630 5230 y(page)29 b(62\))g(to)f(b)s(e)f +([The)e(Shopt)f(Builtin],)630 518 y(page)29 b(64\))g(to)f(b)s(e)f (enabled)h(b)m(y)g(default)g(when)e(the)i(shell)g(starts.)41 -b(It)27 b(is)h(normally)g(disabled)630 5340 y(b)m(y)i(default.)p -eop end -%%Page: 143 149 -TeXDict begin 143 148 bop 150 -116 a Fu(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(143)150 299 y Ft -(--enable-directory-stack)630 408 y Fu(Include)33 b(supp)s(ort)g(for)h -(a)g Ft(csh)p Fu(-lik)m(e)h(directory)f(stac)m(k)i(and)d(the)i +b(It)27 b(is)h(normally)g(disabled)630 628 y(b)m(y)i(default.)150 +774 y Ft(--enable-directory-stack)630 883 y Fu(Include)j(supp)s(ort)g +(for)h(a)g Ft(csh)p Fu(-lik)m(e)h(directory)f(stac)m(k)i(and)d(the)i Ft(pushd)p Fu(,)f Ft(popd)p Fu(,)g(and)f Ft(dirs)630 -518 y Fu(builtins)d(\(see)h(Section)g(6.8)h([The)e(Directory)i(Stac)m -(k],)g(page)f(90\).)150 673 y Ft(--enable-disabled-builti)o(ns)630 -783 y Fu(Allo)m(w)40 b(builtin)e(commands)g(to)h(b)s(e)f(in)m(v)m(ok)m +993 y Fu(builtins)d(\(see)h(Section)g(6.8)h([The)e(Directory)i(Stac)m +(k],)g(page)f(93\).)150 1139 y Ft(--enable-disabled-builti)o(ns)630 +1249 y Fu(Allo)m(w)40 b(builtin)e(commands)g(to)h(b)s(e)f(in)m(v)m(ok)m (ed)i(via)f(`)p Ft(builtin)29 b(xxx)p Fu(')37 b(ev)m(en)j(after)f -Ft(xxx)e Fu(has)630 892 y(b)s(een)31 b(disabled)g(using)g(`)p +Ft(xxx)e Fu(has)630 1358 y(b)s(een)31 b(disabled)g(using)g(`)p Ft(enable)d(-n)i(xxx)p Fu('.)43 b(See)32 b(Section)g(4.2)h([Bash)e -(Builtins],)i(page)f(48,)630 1002 y(for)e(details)i(of)e(the)h +(Builtins],)i(page)f(49,)630 1468 y(for)e(details)i(of)e(the)h Ft(builtin)d Fu(and)i Ft(enable)e Fu(builtin)i(commands.)150 -1157 y Ft(--enable-dparen-arithmet)o(ic)630 1267 y Fu(Include)42 +1614 y Ft(--enable-dparen-arithmet)o(ic)630 1724 y Fu(Include)42 b(supp)s(ort)f(for)h(the)h Ft(\(\(...)o(\)\))f Fu(command)g(\(see)i -(Section)f(3.2.4.2)i([Conditional)630 1377 y(Constructs],)30 -b(page)h(10\).)150 1532 y Ft(--enable-extended-glob)630 -1641 y Fu(Include)40 b(supp)s(ort)e(for)i(the)h(extended)f(pattern)h +(Section)f(3.2.4.2)i([Conditional)630 1833 y(Constructs],)30 +b(page)h(10\).)150 1979 y Ft(--enable-extended-glob)630 +2089 y Fu(Include)40 b(supp)s(ort)e(for)i(the)h(extended)f(pattern)h (matc)m(hing)g(features)g(describ)s(ed)e(ab)s(o)m(v)m(e)630 -1751 y(under)29 b(Section)i(3.5.8.1)i([P)m(attern)e(Matc)m(hing],)i -(page)e(30.)150 1906 y Ft(--enable-extended-glob-d)o(efau)o(lt)630 -2016 y Fu(Set)40 b(the)g(default)g(v)-5 b(alue)41 b(of)f(the)g +2198 y(under)29 b(Section)i(3.5.8.1)i([P)m(attern)e(Matc)m(hing],)i +(page)e(31.)150 2345 y Ft(--enable-extended-glob-d)o(efau)o(lt)630 +2454 y Fu(Set)40 b(the)g(default)g(v)-5 b(alue)41 b(of)f(the)g Fr(extglob)j Fu(shell)d(option)g(describ)s(ed)f(ab)s(o)m(v)m(e)i(under) -d(Sec-)630 2125 y(tion)31 b(4.3.2)h([The)e(Shopt)g(Builtin],)h(page)g -(62)g(to)h(b)s(e)d(enabled.)150 2281 y Ft(--enable-glob-asciirange)o -(-def)o(ault)630 2390 y Fu(Set)i(the)g(default)f(v)-5 -b(alue)31 b(of)g(the)g Fr(globasciiranges)36 b Fu(shell)31 -b(option)g(describ)s(ed)f(ab)s(o)m(v)m(e)h(under)630 -2500 y(Section)41 b(4.3.2)h([The)e(Shopt)f(Builtin],)44 -b(page)d(62)g(to)g(b)s(e)f(enabled.)70 b(This)39 b(con)m(trols)j(the) -630 2609 y(b)s(eha)m(vior)21 b(of)g(c)m(haracter)h(ranges)f(when)f -(used)g(in)g(pattern)h(matc)m(hing)h(brac)m(k)m(et)g(expressions.)150 -2765 y Ft(--enable-help-builtin)630 2874 y Fu(Include)i(the)h -Ft(help)f Fu(builtin,)h(whic)m(h)g(displa)m(ys)f(help)h(on)f(shell)h -(builtins)f(and)h(v)-5 b(ariables)25 b(\(see)630 2984 -y(Section)31 b(4.2)h([Bash)e(Builtins],)i(page)f(48\).)150 -3139 y Ft(--enable-history)630 3249 y Fu(Include)e(command)g(history)h -(and)f(the)h Ft(fc)f Fu(and)g Ft(history)e Fu(builtin)j(commands)f -(\(see)h(Sec-)630 3358 y(tion)h(9.1)g([Bash)g(History)g(F)-8 -b(acilities],)34 b(page)d(133\).)150 3513 y Ft(--enable-job-control)630 -3623 y Fu(This)e(enables)i(the)f(job)g(con)m(trol)h(features)g(\(see)g -(Chapter)f(7)g([Job)g(Con)m(trol],)h(page)g(97\),)h(if)630 -3733 y(the)f(op)s(erating)f(system)h(supp)s(orts)d(them.)150 -3888 y Ft(--enable-multibyte)630 3998 y Fu(This)h(enables)i(supp)s(ort) -d(for)i(m)m(ultib)m(yte)h(c)m(haracters)g(if)f(the)g(op)s(erating)h -(system)f(pro)m(vides)630 4107 y(the)h(necessary)f(supp)s(ort.)150 -4262 y Ft(--enable-net-redirection)o(s)630 4372 y Fu(This)23 -b(enables)h(the)g(sp)s(ecial)h(handling)e(of)h(\014lenames)g(of)g(the)g -(form)g Ft(/dev/tcp/)p Fj(host)p Ft(/)p Fj(port)630 4482 -y Fu(and)31 b Ft(/dev/udp/)p Fj(host)p Ft(/)p Fj(port)26 -b Fu(when)31 b(used)g(in)g(redirections)h(\(see)g(Section)g(3.6)h -([Redirec-)630 4591 y(tions],)e(page)g(31\).)150 4746 -y Ft(--enable-process-substit)o(utio)o(n)630 4856 y Fu(This)49 +d(Sec-)630 2564 y(tion)31 b(4.3.2)h([The)e(Shopt)g(Builtin],)h(page)g +(64,)h(to)f(b)s(e)f(enabled.)150 2710 y Ft(--enable-function-import)630 +2819 y Fu(Include)23 b(supp)s(ort)g(for)g(imp)s(orting)h(function)g +(de\014nitions)f(exp)s(orted)h(b)m(y)g(another)g(instance)630 +2929 y(of)31 b(the)f(shell)h(from)f(the)g(en)m(vironmen)m(t.)41 +b(This)30 b(option)h(is)f(enabled)h(b)m(y)f(default.)150 +3075 y Ft(--enable-glob-asciirange)o(-def)o(ault)630 +3185 y Fu(Set)h(the)g(default)f(v)-5 b(alue)31 b(of)g(the)g +Fr(globasciiranges)36 b Fu(shell)31 b(option)g(describ)s(ed)f(ab)s(o)m +(v)m(e)h(under)630 3294 y(Section)39 b(4.3.2)h([The)e(Shopt)g +(Builtin],)j(page)e(64,)i(to)f(b)s(e)d(enabled.)65 b(This)37 +b(con)m(trols)j(the)630 3404 y(b)s(eha)m(vior)21 b(of)g(c)m(haracter)h +(ranges)f(when)f(used)g(in)g(pattern)h(matc)m(hing)h(brac)m(k)m(et)g +(expressions.)150 3550 y Ft(--enable-help-builtin)630 +3660 y Fu(Include)i(the)h Ft(help)f Fu(builtin,)h(whic)m(h)g(displa)m +(ys)f(help)h(on)f(shell)h(builtins)f(and)h(v)-5 b(ariables)25 +b(\(see)630 3769 y(Section)31 b(4.2)h([Bash)e(Builtins],)i(page)f +(49\).)150 3915 y Ft(--enable-history)630 4025 y Fu(Include)e(command)g +(history)h(and)f(the)h Ft(fc)f Fu(and)g Ft(history)e +Fu(builtin)j(commands)f(\(see)h(Sec-)630 4134 y(tion)h(9.1)g([Bash)g +(History)g(F)-8 b(acilities],)34 b(page)d(137\).)150 +4281 y Ft(--enable-job-control)630 4390 y Fu(This)h(enables)i(the)f +(job)g(con)m(trol)i(features)e(\(see)i(Chapter)d(7)i([Job)f(Con)m +(trol],)i(page)f(100\),)630 4500 y(if)c(the)h(op)s(erating)g(system)f +(supp)s(orts)f(them.)150 4646 y Ft(--enable-multibyte)630 +4756 y Fu(This)g(enables)i(supp)s(ort)d(for)i(m)m(ultib)m(yte)h(c)m +(haracters)g(if)f(the)g(op)s(erating)h(system)f(pro)m(vides)630 +4865 y(the)h(necessary)f(supp)s(ort.)150 5011 y Ft +(--enable-net-redirection)o(s)630 5121 y Fu(This)23 b(enables)h(the)g +(sp)s(ecial)h(handling)e(of)h(\014lenames)g(of)g(the)g(form)g +Ft(/dev/tcp/)p Fj(host)p Ft(/)p Fj(port)630 5230 y Fu(and)31 +b Ft(/dev/udp/)p Fj(host)p Ft(/)p Fj(port)26 b Fu(when)31 +b(used)g(in)g(redirections)h(\(see)g(Section)g(3.6)h([Redirec-)630 +5340 y(tions],)e(page)g(32\).)p eop end +%%Page: 148 154 +TeXDict begin 148 153 bop 150 -116 a Fu(Chapter)30 b(10:)41 +b(Installing)31 b(Bash)2356 b(148)150 299 y Ft +(--enable-process-substit)o(utio)o(n)630 408 y Fu(This)49 b(enables)i(pro)s(cess)f(substitution)g(\(see)h(Section)g(3.5.6)h([Pro) -s(cess)e(Substitution],)630 4966 y(page)31 b(29\))h(if)e(the)h(op)s +s(cess)e(Substitution],)630 518 y(page)31 b(30\))h(if)e(the)h(op)s (erating)f(system)h(pro)m(vides)f(the)h(necessary)g(supp)s(ort.)150 -5121 y Ft(--enable-progcomp)630 5230 y Fu(Enable)d(the)g(programmable)g +677 y Ft(--enable-progcomp)630 787 y Fu(Enable)d(the)g(programmable)g (completion)i(facilities)g(\(see)f(Section)g(8.6)g([Programmable)630 -5340 y(Completion],)i(page)h(124\).)42 b(If)30 b(Readline)h(is)f(not)h -(enabled,)f(this)h(option)g(has)f(no)g(e\013ect.)p eop -end -%%Page: 144 150 -TeXDict begin 144 149 bop 150 -116 a Fu(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(144)150 299 y Ft -(--enable-prompt-string-d)o(ecod)o(ing)630 408 y Fu(T)-8 -b(urn)30 b(on)i(the)f(in)m(terpretation)i(of)f(a)g(n)m(um)m(b)s(er)e -(of)i(bac)m(kslash-escap)s(ed)g(c)m(haracters)i(in)d(the)630 -518 y Ft($PS1)p Fu(,)36 b Ft($PS2)p Fu(,)g Ft($PS3)p +897 y(Completion],)i(page)h(129\).)42 b(If)30 b(Readline)h(is)f(not)h +(enabled,)f(this)h(option)g(has)f(no)g(e\013ect.)150 +1056 y Ft(--enable-prompt-string-d)o(ecod)o(ing)630 1166 +y Fu(T)-8 b(urn)30 b(on)i(the)f(in)m(terpretation)i(of)f(a)g(n)m(um)m +(b)s(er)e(of)i(bac)m(kslash-escap)s(ed)g(c)m(haracters)i(in)d(the)630 +1275 y Ft($PS1)p Fu(,)36 b Ft($PS2)p Fu(,)g Ft($PS3)p Fu(,)h(and)e Ft($PS4)f Fu(prompt)h(strings.)57 b(See)36 -b(Section)h(6.9)g([Con)m(trolling)g(the)630 628 y(Prompt],)30 -b(page)h(92,)h(for)e(a)h(complete)h(list)f(of)f(prompt)g(string)g -(escap)s(e)h(sequences.)150 787 y Ft(--enable-readline)630 -897 y Fu(Include)d(supp)s(ort)f(for)h(command-line)h(editing)g(and)f -(history)g(with)g(the)h(Bash)g(v)m(ersion)g(of)630 1006 +b(Section)h(6.9)g([Con)m(trolling)g(the)630 1385 y(Prompt],)30 +b(page)h(94,)h(for)e(a)h(complete)h(list)f(of)f(prompt)g(string)g +(escap)s(e)h(sequences.)150 1544 y Ft(--enable-readline)630 +1654 y Fu(Include)d(supp)s(ort)f(for)h(command-line)h(editing)g(and)f +(history)g(with)g(the)h(Bash)g(v)m(ersion)g(of)630 1763 y(the)i(Readline)g(library)f(\(see)h(Chapter)f(8)g([Command)g(Line)g -(Editing],)h(page)g(101\).)150 1166 y Ft(--enable-restricted)630 -1275 y Fu(Include)41 b(supp)s(ort)f(for)i(a)g Fr(restricted)g(shell)p +(Editing],)h(page)g(104\).)150 1923 y Ft(--enable-restricted)630 +2032 y Fu(Include)41 b(supp)s(ort)f(for)i(a)g Fr(restricted)g(shell)p Fu(.)75 b(If)42 b(this)f(is)h(enabled,)j(Bash,)g(when)c(called)630 -1385 y(as)f Ft(rbash)p Fu(,)h(en)m(ters)f(a)g(restricted)h(mo)s(de.)68 +2142 y(as)f Ft(rbash)p Fu(,)h(en)m(ters)f(a)g(restricted)h(mo)s(de.)68 b(See)40 b(Section)h(6.10)g([The)f(Restricted)h(Shell],)630 -1494 y(page)31 b(93,)h(for)e(a)g(description)h(of)f(restricted)h(mo)s -(de.)150 1654 y Ft(--enable-select)630 1763 y Fu(Include)25 +2252 y(page)31 b(95,)h(for)e(a)g(description)h(of)f(restricted)h(mo)s +(de.)150 2411 y Ft(--enable-select)630 2521 y Fu(Include)25 b(the)h Ft(select)f Fu(comp)s(ound)f(command,)j(whic)m(h)e(allo)m(ws)j -(the)e(generation)h(of)f(simple)630 1873 y(men)m(us)k(\(see)h(Section)g +(the)e(generation)h(of)f(simple)630 2630 y(men)m(us)k(\(see)h(Section)g (3.2.4.2)i([Conditional)e(Constructs],)g(page)g(10\).)150 -2032 y Ft(--enable-separate-helpfi)o(les)630 2142 y Fu(Use)h(external)h +2790 y Ft(--enable-separate-helpfi)o(les)630 2899 y Fu(Use)h(external)h (\014les)f(for)g(the)g(do)s(cumen)m(tation)h(displa)m(y)m(ed)f(b)m(y)g -(the)g Ft(help)f Fu(builtin)h(instead)630 2252 y(of)f(storing)f(the)h -(text)g(in)m(ternally)-8 b(.)150 2411 y Ft(--enable-single-help-str)o -(ings)630 2521 y Fu(Store)40 b(the)g(text)h(displa)m(y)m(ed)g(b)m(y)e +(the)g Ft(help)f Fu(builtin)h(instead)630 3009 y(of)f(storing)f(the)h +(text)g(in)m(ternally)-8 b(.)150 3168 y Ft(--enable-single-help-str)o +(ings)630 3278 y Fu(Store)40 b(the)g(text)h(displa)m(y)m(ed)g(b)m(y)e (the)i Ft(help)d Fu(builtin)i(as)g(a)g(single)h(string)f(for)f(eac)m(h) -i(help)630 2630 y(topic.)54 b(This)33 b(aids)i(in)f(translating)h(the)g +i(help)630 3387 y(topic.)54 b(This)33 b(aids)i(in)f(translating)h(the)g (text)g(to)g(di\013eren)m(t)g(languages.)54 b(Y)-8 b(ou)35 -b(ma)m(y)g(need)630 2740 y(to)c(disable)g(this)f(if)g(y)m(our)h +b(ma)m(y)g(need)630 3497 y(to)c(disable)g(this)f(if)g(y)m(our)h (compiler)g(cannot)f(handle)g(v)m(ery)h(long)g(string)f(literals.)150 -2899 y Ft(--enable-strict-posix-de)o(faul)o(t)630 3009 +3656 y Ft(--enable-strict-posix-de)o(faul)o(t)630 3766 y Fu(Mak)m(e)c(Bash)f Fm(posix)p Fu(-conforman)m(t)g(b)m(y)f(default)h (\(see)g(Section)h(6.11)g([Bash)f(POSIX)e(Mo)s(de],)630 -3118 y(page)31 b(94\).)150 3278 y Ft(--enable-usg-echo-defaul)o(t)630 -3387 y Fu(A)f(synon)m(ym)g(for)g Ft(--enable-xpg-echo-default)p -Fu(.)150 3547 y Ft(--enable-xpg-echo-defaul)o(t)630 3656 +3875 y(page)31 b(96\).)150 4035 y Ft(--enable-usg-echo-defaul)o(t)630 +4144 y Fu(A)f(synon)m(ym)g(for)g Ft(--enable-xpg-echo-default)p +Fu(.)150 4304 y Ft(--enable-xpg-echo-defaul)o(t)630 4413 y Fu(Mak)m(e)c(the)f Ft(echo)e Fu(builtin)i(expand)f(bac)m (kslash-escap)s(ed)h(c)m(haracters)h(b)m(y)f(default,)h(without)630 -3766 y(requiring)d(the)h Ft(-e)f Fu(option.)39 b(This)23 +4523 y(requiring)d(the)h Ft(-e)f Fu(option.)39 b(This)23 b(sets)h(the)g(default)g(v)-5 b(alue)24 b(of)g(the)g -Ft(xpg_echo)e Fu(shell)h(option)630 3875 y(to)28 b Ft(on)p +Ft(xpg_echo)e Fu(shell)h(option)630 4633 y(to)28 b Ft(on)p Fu(,)g(whic)m(h)f(mak)m(es)h(the)g(Bash)f Ft(echo)f Fu(b)s(eha)m(v)m(e) i(more)g(lik)m(e)h(the)e(v)m(ersion)h(sp)s(eci\014ed)f(in)g(the)630 -3985 y(Single)35 b(Unix)f(Sp)s(eci\014cation,)i(v)m(ersion)e(3.)53 -b(See)35 b(Section)g(4.2)g([Bash)g(Builtins],)h(page)f(48,)630 -4095 y(for)30 b(a)h(description)f(of)h(the)f(escap)s(e)h(sequences)g -(that)g Ft(echo)e Fu(recognizes.)275 4254 y(The)f(\014le)i +4742 y(Single)35 b(Unix)f(Sp)s(eci\014cation,)i(v)m(ersion)e(3.)53 +b(See)35 b(Section)g(4.2)g([Bash)g(Builtins],)h(page)f(49,)630 +4852 y(for)30 b(a)h(description)f(of)h(the)f(escap)s(e)h(sequences)g +(that)g Ft(echo)e Fu(recognizes.)275 5011 y(The)f(\014le)i Ft(config-top.h)c Fu(con)m(tains)31 b(C)d(Prepro)s(cessor)h(`)p Ft(#define)p Fu(')f(statemen)m(ts)j(for)f(options)f(whic)m(h)150 -4364 y(are)35 b(not)g(settable)i(from)d Ft(configure)p +5121 y(are)35 b(not)g(settable)i(from)d Ft(configure)p Fu(.)51 b(Some)35 b(of)g(these)g(are)h(not)f(mean)m(t)g(to)h(b)s(e)e(c) -m(hanged;)k(b)s(ew)m(are)d(of)150 4473 y(the)h(consequences)g(if)f(y)m +m(hanged;)k(b)s(ew)m(are)d(of)150 5230 y(the)h(consequences)g(if)f(y)m (ou)h(do.)55 b(Read)36 b(the)g(commen)m(ts)g(asso)s(ciated)h(with)e -(eac)m(h)i(de\014nition)e(for)g(more)150 4583 y(information)c(ab)s(out) +(eac)m(h)i(de\014nition)e(for)g(more)150 5340 y(information)c(ab)s(out) f(its)h(e\013ect.)p eop end -%%Page: 145 151 -TeXDict begin 145 150 bop 150 -116 a Fu(App)s(endix)29 -b(A:)h(Rep)s(orting)h(Bugs)2299 b(145)150 299 y Fp(App)t(endix)52 -b(A)81 b(Rep)t(orting)53 b(Bugs)150 533 y Fu(Please)33 -b(rep)s(ort)e(all)h(bugs)f(y)m(ou)h(\014nd)e(in)i(Bash.)44 -b(But)32 b(\014rst,)g(y)m(ou)g(should)e(mak)m(e)j(sure)e(that)h(it)g -(really)h(is)f(a)150 643 y(bug,)d(and)g(that)h(it)g(app)s(ears)f(in)g -(the)h(latest)h(v)m(ersion)f(of)g(Bash.)40 b(The)29 b(latest)j(v)m -(ersion)e(of)f(Bash)h(is)f(alw)m(a)m(ys)150 752 y(a)m(v)-5 -b(ailable)33 b(for)d(FTP)g(from)g Ft(ftp://ftp.gnu.org/pub/gn)o(u/ba)o -(sh/)o Fu(.)275 887 y(Once)41 b(y)m(ou)g(ha)m(v)m(e)h(determined)f -(that)h(a)f(bug)g(actually)h(exists,)j(use)c(the)g Ft(bashbug)e -Fu(command)i(to)150 996 y(submit)25 b(a)h(bug)g(rep)s(ort.)38 -b(If)26 b(y)m(ou)g(ha)m(v)m(e)h(a)f(\014x,)h(y)m(ou)f(are)g(encouraged) -h(to)f(mail)h(that)f(as)g(w)m(ell!)40 b(Suggestions)150 -1106 y(and)j(`philosophical')i(bug)e(rep)s(orts)g(ma)m(y)i(b)s(e)e -(mailed)h(to)g Ft(bug-bash@gnu)11 b(.)d(org)40 b Fu(or)k(p)s(osted)f -(to)i(the)150 1215 y(Usenet)31 b(newsgroup)e Ft(gnu.bash.bug)p -Fu(.)275 1350 y(All)i(bug)e(rep)s(orts)h(should)f(include:)225 +%%Page: 149 155 +TeXDict begin 149 154 bop 3614 -116 a Fu(149)150 299 +y Fp(App)t(endix)52 b(A)81 b(Rep)t(orting)53 b(Bugs)150 +533 y Fu(Please)33 b(rep)s(ort)e(all)h(bugs)f(y)m(ou)h(\014nd)e(in)i +(Bash.)44 b(But)32 b(\014rst,)g(y)m(ou)g(should)e(mak)m(e)j(sure)e +(that)h(it)g(really)h(is)f(a)150 643 y(bug,)d(and)g(that)h(it)g(app)s +(ears)f(in)g(the)h(latest)h(v)m(ersion)f(of)g(Bash.)40 +b(The)29 b(latest)j(v)m(ersion)e(of)f(Bash)h(is)f(alw)m(a)m(ys)150 +752 y(a)m(v)-5 b(ailable)33 b(for)d(FTP)g(from)g Ft +(ftp://ftp.gnu.org/pub/gn)o(u/ba)o(sh/)o Fu(.)275 887 +y(Once)41 b(y)m(ou)g(ha)m(v)m(e)h(determined)f(that)h(a)f(bug)g +(actually)h(exists,)j(use)c(the)g Ft(bashbug)e Fu(command)i(to)150 +996 y(submit)25 b(a)h(bug)g(rep)s(ort.)38 b(If)26 b(y)m(ou)g(ha)m(v)m +(e)h(a)f(\014x,)h(y)m(ou)f(are)g(encouraged)h(to)f(mail)h(that)f(as)g +(w)m(ell!)40 b(Suggestions)150 1106 y(and)j(`philosophical')i(bug)e +(rep)s(orts)f(ma)m(y)j(b)s(e)e(mailed)h(to)g Ft(bug-bash@gnu)11 +b(.)g(org)39 b Fu(or)k(p)s(osted)g(to)i(the)150 1215 +y(Usenet)31 b(newsgroup)e Ft(gnu.bash.bug)p Fu(.)275 +1350 y(All)i(bug)e(rep)s(orts)h(should)f(include:)225 1484 y Fq(\017)60 b Fu(The)30 b(v)m(ersion)h(n)m(um)m(b)s(er)e(of)h (Bash.)225 1619 y Fq(\017)60 b Fu(The)30 b(hardw)m(are)g(and)g(op)s (erating)g(system.)225 1753 y Fq(\017)60 b Fu(The)30 @@ -18190,12 +18629,10 @@ s(duce)e(it.)150 2182 y Ft(bashbug)d Fu(inserts)i(the)h(\014rst)f (vides)f(for)g(\014ling)h(a)150 2291 y(bug)h(rep)s(ort.)275 2426 y(Please)h(send)f(all)h(rep)s(orts)f(concerning)g(this)h(man)m (ual)f(to)h Ft(bug-bash@gnu.org)p Fu(.)p eop end -%%Page: 146 152 -TeXDict begin 146 151 bop 150 -116 a Fu(App)s(endix)29 -b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31 -b(The)f(Bourne)g(Shell)1258 b(146)150 141 y Fp(App)t(endix)58 -b(B)81 b(Ma)9 b(jor)54 b(Di\013erences)d(F)-13 b(rom)54 -b(The)g(Bourne)1088 299 y(Shell)150 530 y Fu(Bash)26 +%%Page: 150 156 +TeXDict begin 150 155 bop 3614 -116 a Fu(150)150 141 +y Fp(App)t(endix)58 b(B)81 b(Ma)9 b(jor)54 b(Di\013erences)d(F)-13 +b(rom)54 b(The)g(Bourne)1088 299 y(Shell)150 530 y Fu(Bash)26 b(implemen)m(ts)h(essen)m(tially)g(the)g(same)f(grammar,)h(parameter)f (and)g(v)-5 b(ariable)27 b(expansion,)g(redirec-)150 640 y(tion,)i(and)e(quoting)g(as)h(the)g(Bourne)f(Shell.)40 @@ -18214,20 +18651,20 @@ Ft(sh)f Fu(included)g(in)h(SVR4.2)h(\(the)f(last)h(v)m(ersion)f(of)g Fm(posix)p Fu(-conforman)m(t,)g(ev)m(en)g(where)f(the)g Fm(posix)g Fu(sp)s(eci\014cation)h(di\013ers)f(from)g(traditional)330 1431 y Ft(sh)e Fu(b)s(eha)m(vior)g(\(see)i(Section)f(6.11)h([Bash)e -(POSIX)g(Mo)s(de],)h(page)g(94\).)225 1565 y Fq(\017)60 +(POSIX)g(Mo)s(de],)h(page)g(96\).)225 1565 y Fq(\017)60 b Fu(Bash)26 b(has)g(m)m(ulti-c)m(haracter)i(in)m(v)m(o)s(cation)g (options)f(\(see)f(Section)h(6.1)g([In)m(v)m(oking)g(Bash],)h(page)e -(80\).)225 1699 y Fq(\017)60 b Fu(Bash)40 b(has)f(command-line)h +(82\).)225 1699 y Fq(\017)60 b Fu(Bash)40 b(has)f(command-line)h (editing)g(\(see)h(Chapter)e(8)h([Command)f(Line)g(Editing],)k(page)d -(101\))330 1809 y(and)30 b(the)g Ft(bind)g Fu(builtin.)225 +(104\))330 1809 y(and)30 b(the)g Ft(bind)g Fu(builtin.)225 1943 y Fq(\017)60 b Fu(Bash)46 b(pro)m(vides)g(a)g(programmable)g(w)m (ord)f(completion)i(mec)m(hanism)f(\(see)h(Section)g(8.6)g([Pro-)330 -2052 y(grammable)39 b(Completion],)i(page)e(124\),)i(and)d(builtin)g +2052 y(grammable)39 b(Completion],)i(page)e(129\),)i(and)d(builtin)g (commands)f Ft(complete)p Fu(,)h Ft(compgen)p Fu(,)h(and)330 2162 y Ft(compopt)p Fu(,)29 b(to)i(manipulate)g(it.)225 2296 y Fq(\017)60 b Fu(Bash)26 b(has)f(command)h(history)f(\(see)i (Section)f(9.1)h([Bash)f(History)h(F)-8 b(acilities],)30 -b(page)c(133\))i(and)d(the)330 2405 y Ft(history)k Fu(and)h +b(page)c(137\))i(and)d(the)330 2405 y Ft(history)k Fu(and)h Ft(fc)g Fu(builtins)g(to)h(manipulate)g(it.)42 b(The)30 b(Bash)h(history)g(list)g(main)m(tains)g(timestamp)330 2515 y(information)g(and)e(uses)h(the)h(v)-5 b(alue)31 @@ -18235,9 +18672,9 @@ b(of)f(the)h Ft(HISTTIMEFORMAT)26 b Fu(v)-5 b(ariable)32 b(to)f(displa)m(y)f(it.)225 2649 y Fq(\017)60 b Fu(Bash)48 b(implemen)m(ts)h Ft(csh)p Fu(-lik)m(e)g(history)f(expansion)g(\(see)h (Section)g(9.3)h([History)f(In)m(teraction],)330 2759 -y(page)31 b(135\).)225 2892 y Fq(\017)60 b Fu(Bash)33 +y(page)31 b(139\).)225 2892 y Fq(\017)60 b Fu(Bash)33 b(has)g(one-dimensional)h(arra)m(y)f(v)-5 b(ariables)34 -b(\(see)g(Section)g(6.7)g([Arra)m(ys],)g(page)g(89\),)h(and)e(the)330 +b(\(see)g(Section)g(6.7)g([Arra)m(ys],)g(page)g(91\),)h(and)e(the)330 3002 y(appropriate)39 b(v)-5 b(ariable)40 b(expansions)f(and)g (assignmen)m(t)h(syn)m(tax)g(to)g(use)f(them.)67 b(Sev)m(eral)40 b(of)g(the)330 3112 y(Bash)32 b(builtins)f(tak)m(e)j(options)e(to)h @@ -18279,10 +18716,10 @@ b Fu(Bash)31 b(includes)f(the)g Ft(select)f Fu(comp)s(ound)g(command,)i (whic)m(h)f(allo)m(ws)i(the)f(generation)g(of)g(simple)330 5340 y(men)m(us)f(\(see)h(Section)g(3.2.4.2)i([Conditional)e (Constructs],)g(page)g(10\).)p eop end -%%Page: 147 153 -TeXDict begin 147 152 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 151 157 +TeXDict begin 151 156 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31 -b(The)f(Bourne)g(Shell)1258 b(147)225 299 y Fq(\017)60 +b(The)f(Bourne)g(Shell)1258 b(151)225 299 y Fq(\017)60 b Fu(Bash)40 b(includes)g(the)g Ft([[)g Fu(comp)s(ound)e(command,)43 b(whic)m(h)c(mak)m(es)i(conditional)h(testing)f(part)f(of)330 408 y(the)f(shell)g(grammar)g(\(see)h(Section)f(3.2.4.2)j([Conditional) @@ -18296,12 +18733,12 @@ b Fu(Bash)31 b(pro)m(vides)f(optional)h(case-insensitiv)m(e)i(matc)m (page)h(22\).)225 1034 y Fq(\017)60 b Fu(Bash)24 b(implemen)m(ts)h (command)e(aliases)j(and)d(the)i Ft(alias)d Fu(and)i Ft(unalias)e Fu(builtins)h(\(see)i(Section)g(6.6)330 -1143 y([Aliases],)32 b(page)f(88\).)225 1279 y Fq(\017)60 +1143 y([Aliases],)32 b(page)f(90\).)225 1279 y Fq(\017)60 b Fu(Bash)32 b(pro)m(vides)g(shell)g(arithmetic,)i(the)e Ft(\(\()g Fu(comp)s(ound)e(command)i(\(see)h(Section)f(3.2.4.2)j([Con-) 330 1388 y(ditional)d(Constructs],)e(page)i(10\),)g(and)e(arithmetic)i (expansion)e(\(see)i(Section)f(6.5)h([Shell)f(Arith-)330 -1498 y(metic],)h(page)f(87\).)225 1633 y Fq(\017)60 b +1498 y(metic],)h(page)f(89\).)225 1633 y Fq(\017)60 b Fu(V)-8 b(ariables)31 b(presen)m(t)e(in)g(the)g(shell's)h(initial)g(en) m(vironmen)m(t)g(are)g(automatically)i(exp)s(orted)d(to)h(c)m(hild)330 1743 y(pro)s(cesses.)38 b(The)23 b(Bourne)g(shell)g(do)s(es)g(not)g @@ -18349,12 +18786,12 @@ b(expansion)g(using)f Ft(${!word})e Fu(\(see)k(Section)f(3.5.3)i Fj(num)p Ft(})p Fu(.)225 4276 y Fq(\017)60 b Fu(The)27 b Fm(posix)g Ft($\(\))g Fu(form)g(of)h(command)g(substitution)f(is)h (implemen)m(ted)g(\(see)h(Section)f(3.5.4)i([Com-)330 -4386 y(mand)38 b(Substitution],)k(page)e(28\),)j(and)38 +4386 y(mand)38 b(Substitution],)k(page)e(29\),)j(and)38 b(preferred)g(to)i(the)g(Bourne)f(shell's)h Ft(``)e Fu(\(whic)m(h)i(is) f(also)330 4495 y(implemen)m(ted)31 b(for)f(bac)m(kw)m(ards)h (compatibilit)m(y\).)225 4631 y Fq(\017)60 b Fu(Bash)31 b(has)f(pro)s(cess)g(substitution)g(\(see)h(Section)g(3.5.6)h([Pro)s -(cess)f(Substitution],)f(page)h(29\).)225 4766 y Fq(\017)60 +(cess)f(Substitution],)f(page)h(30\).)225 4766 y Fq(\017)60 b Fu(Bash)55 b(automatically)j(assigns)e(v)-5 b(ariables)55 b(that)h(pro)m(vide)f(information)h(ab)s(out)f(the)g(curren)m(t)330 4876 y(user)40 b(\()p Ft(UID)p Fu(,)i Ft(EUID)p Fu(,)g(and)e @@ -18363,17 +18800,17 @@ Fu(,)h Ft(OSTYPE)p Fu(,)h Ft(MACHTYPE)p Fu(,)f(and)330 4985 y Ft(HOSTNAME)p Fu(\),)55 b(and)c(the)g(instance)h(of)g(Bash)f (that)h(is)f(running)f(\()p Ft(BASH)p Fu(,)56 b Ft(BASH_VERSION)p Fu(,)e(and)330 5095 y Ft(BASH_VERSINFO)p Fu(\).)37 b(See)31 -b(Section)g(5.2)h([Bash)e(V)-8 b(ariables],)33 b(page)e(69,)g(for)f +b(Section)g(5.2)h([Bash)e(V)-8 b(ariables],)33 b(page)e(71,)g(for)f (details.)225 5230 y Fq(\017)60 b Fu(The)44 b Ft(IFS)f Fu(v)-5 b(ariable)45 b(is)f(used)f(to)i(split)f(only)g(the)g(results)g (of)h(expansion,)i(not)d(all)h(w)m(ords)f(\(see)330 5340 -y(Section)29 b(3.5.7)h([W)-8 b(ord)29 b(Splitting],)h(page)f(29\).)41 +y(Section)29 b(3.5.7)h([W)-8 b(ord)29 b(Splitting],)h(page)f(30\).)41 b(This)28 b(closes)h(a)g(longstanding)g(shell)f(securit)m(y)h(hole.)p eop end -%%Page: 148 154 -TeXDict begin 148 153 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 152 158 +TeXDict begin 152 157 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31 -b(The)f(Bourne)g(Shell)1258 b(148)225 299 y Fq(\017)60 +b(The)f(Bourne)g(Shell)1258 b(152)225 299 y Fq(\017)60 b Fu(The)36 b(\014lename)h(expansion)f(brac)m(k)m(et)i(expression)f(co) s(de)f(uses)g(`)p Ft(!)p Fu(')h(and)f(`)p Ft(^)p Fu(')h(to)g(negate)h (the)f(set)g(of)330 408 y(c)m(haracters)32 b(b)s(et)m(w)m(een)f(the)f @@ -18387,7 +18824,7 @@ b Fr(collating)k(sym)m(b)s(ols)g Fu(\(see)e(Section)g(3.5.8)h 883 y Fq(\017)60 b Fu(Bash)35 b(implemen)m(ts)g(extended)g(pattern)g (matc)m(hing)h(features)f(when)f(the)h Ft(extglob)d Fu(shell)j(option) 330 993 y(is)30 b(enabled)h(\(see)g(Section)g(3.5.8.1)i([P)m(attern)f -(Matc)m(hing],)g(page)f(30\).)225 1121 y Fq(\017)60 b +(Matc)m(hing],)g(page)f(31\).)225 1121 y Fq(\017)60 b Fu(It)22 b(is)g(p)s(ossible)g(to)h(ha)m(v)m(e)g(a)f(v)-5 b(ariable)23 b(and)f(a)g(function)g(with)g(the)g(same)g(name;)j Ft(sh)d Fu(do)s(es)g(not)g(separate)330 1230 y(the)31 @@ -18396,24 +18833,24 @@ Fu(Bash)30 b(functions)e(are)i(p)s(ermitted)f(to)h(ha)m(v)m(e)h(lo)s (cal)g(v)-5 b(ariables)30 b(using)f(the)g Ft(local)f Fu(builtin,)i(and)e(th)m(us)330 1468 y(useful)i(recursiv)m(e)g (functions)g(ma)m(y)h(b)s(e)f(written)g(\(see)i(Section)f(4.2)g([Bash)g -(Builtins],)g(page)h(48\).)225 1596 y Fq(\017)60 b Fu(V)-8 +(Builtins],)g(page)h(49\).)225 1596 y Fq(\017)60 b Fu(V)-8 b(ariable)25 b(assignmen)m(ts)g(preceding)e(commands)h(a\013ect)h(only) f(that)g(command,)h(ev)m(en)f(builtins)g(and)330 1705 y(functions)36 b(\(see)h(Section)g(3.7.4)h([En)m(vironmen)m(t],)h(page) -e(37\).)60 b(In)35 b Ft(sh)p Fu(,)j(all)f(v)-5 b(ariable)37 +e(38\).)60 b(In)35 b Ft(sh)p Fu(,)j(all)f(v)-5 b(ariable)37 b(assignmen)m(ts)330 1815 y(preceding)30 b(commands)g(are)h(global)h (unless)d(the)i(command)f(is)h(executed)g(from)f(the)g(\014le)h (system.)225 1943 y Fq(\017)60 b Fu(Bash)44 b(p)s(erforms)e(\014lename) i(expansion)f(on)h(\014lenames)g(sp)s(eci\014ed)f(as)h(op)s(erands)e (to)j(input)e(and)330 2052 y(output)30 b(redirection)h(op)s(erators)g -(\(see)g(Section)g(3.6)h([Redirections],)g(page)f(31\).)225 +(\(see)g(Section)g(3.6)h([Redirections],)g(page)f(32\).)225 2180 y Fq(\017)60 b Fu(Bash)29 b(con)m(tains)h(the)f(`)p Ft(<>)p Fu(')f(redirection)i(op)s(erator,)f(allo)m(wing)i(a)e(\014le)g (to)g(b)s(e)f(op)s(ened)g(for)h(b)s(oth)f(read-)330 2290 y(ing)35 b(and)f(writing,)i(and)e(the)h(`)p Ft(&>)p Fu(')g(redirection) g(op)s(erator,)h(for)f(directing)g(standard)f(output)h(and)330 2399 y(standard)30 b(error)g(to)h(the)f(same)h(\014le)f(\(see)i -(Section)f(3.6)g([Redirections],)h(page)g(31\).)225 2527 +(Section)f(3.6)g([Redirections],)h(page)g(32\).)225 2527 y Fq(\017)60 b Fu(Bash)21 b(includes)f(the)h(`)p Ft(<<<)p Fu(')g(redirection)g(op)s(erator,)i(allo)m(wing)g(a)e(string)f(to)i(b)s (e)e(used)g(as)h(the)g(standard)330 2637 y(input)29 b(to)j(a)e @@ -18424,20 +18861,20 @@ Fu(')e(redirection)j(op)s(erators,)g(whic)m(h)f(mo)m(v)m(e)330 3002 y Fq(\017)60 b Fu(Bash)25 b(treats)h(a)f(n)m(um)m(b)s(er)e(of)i (\014lenames)g(sp)s(ecially)g(when)f(they)h(are)g(used)f(in)g (redirection)i(op)s(erators)330 3112 y(\(see)31 b(Section)h(3.6)f -([Redirections],)h(page)f(31\).)225 3240 y Fq(\017)60 +([Redirections],)h(page)f(32\).)225 3240 y Fq(\017)60 b Fu(Bash)33 b(can)f(op)s(en)g(net)m(w)m(ork)i(connections)f(to)h (arbitrary)e(mac)m(hines)h(and)f(services)h(with)f(the)h(redi-)330 3349 y(rection)e(op)s(erators)g(\(see)g(Section)g(3.6)h -([Redirections],)g(page)f(31\).)225 3477 y Fq(\017)60 +([Redirections],)g(page)f(32\).)225 3477 y Fq(\017)60 b Fu(The)29 b Ft(noclobber)e Fu(option)j(is)g(a)m(v)-5 b(ailable)32 b(to)e(a)m(v)m(oid)h(o)m(v)m(erwriting)g(existing)g (\014les)e(with)h(output)f(redi-)330 3587 y(rection)39 -b(\(see)h(Section)f(4.3.1)h([The)e(Set)h(Builtin],)i(page)e(58\).)66 +b(\(see)h(Section)f(4.3.1)h([The)e(Set)h(Builtin],)i(page)e(60\).)66 b(The)38 b(`)p Ft(>|)p Fu(')h(redirection)g(op)s(erator)330 3696 y(ma)m(y)31 b(b)s(e)f(used)f(to)i(o)m(v)m(erride)h Ft(noclobber)p Fu(.)225 3824 y Fq(\017)60 b Fu(The)34 b(Bash)g Ft(cd)g Fu(and)f Ft(pwd)g Fu(builtins)h(\(see)h(Section)g(4.1) -g([Bourne)g(Shell)f(Builtins],)h(page)g(41\))h(eac)m(h)330 +g([Bourne)g(Shell)f(Builtins],)h(page)g(42\))h(eac)m(h)330 3934 y(tak)m(e)c Ft(-L)e Fu(and)f Ft(-P)h Fu(options)h(to)g(switc)m(h)g (b)s(et)m(w)m(een)g(logical)i(and)c(ph)m(ysical)i(mo)s(des.)225 4061 y Fq(\017)60 b Fu(Bash)25 b(allo)m(ws)h(a)g(function)e(to)i(o)m(v) @@ -18445,28 +18882,28 @@ m(erride)g(a)g(builtin)e(with)h(the)g(same)g(name,)i(and)d(pro)m(vides) h(access)h(to)330 4171 y(that)34 b(builtin's)f(functionalit)m(y)h (within)f(the)g(function)g(via)h(the)f Ft(builtin)f Fu(and)g Ft(command)g Fu(builtins)330 4281 y(\(see)f(Section)h(4.2)f([Bash)g -(Builtins],)g(page)g(48\).)225 4408 y Fq(\017)60 b Fu(The)35 +(Builtins],)g(page)g(49\).)225 4408 y Fq(\017)60 b Fu(The)35 b Ft(command)e Fu(builtin)i(allo)m(ws)i(selectiv)m(e)h(disabling)e(of)f (functions)g(when)g(command)g(lo)s(okup)g(is)330 4518 y(p)s(erformed)29 b(\(see)i(Section)g(4.2)h([Bash)f(Builtins],)g(page)g -(48\).)225 4646 y Fq(\017)60 b Fu(Individual)23 b(builtins)g(ma)m(y)i +(49\).)225 4646 y Fq(\017)60 b Fu(Individual)23 b(builtins)g(ma)m(y)i (b)s(e)e(enabled)h(or)g(disabled)g(using)f(the)h Ft(enable)f Fu(builtin)g(\(see)i(Section)g(4.2)330 4756 y([Bash)31 -b(Builtins],)g(page)g(48\).)225 4883 y Fq(\017)60 b Fu(The)26 +b(Builtins],)g(page)g(49\).)225 4883 y Fq(\017)60 b Fu(The)26 b(Bash)h Ft(exec)e Fu(builtin)h(tak)m(es)i(additional)f(options)g(that) g(allo)m(w)h(users)d(to)j(con)m(trol)g(the)e(con)m(ten)m(ts)330 4993 y(of)35 b(the)f(en)m(vironmen)m(t)h(passed)f(to)h(the)g(executed)g (command,)h(and)d(what)i(the)f(zeroth)h(argumen)m(t)330 5103 y(to)c(the)g(command)f(is)g(to)h(b)s(e)f(\(see)h(Section)h(4.1)f -([Bourne)f(Shell)h(Builtins],)g(page)g(41\).)225 5230 +([Bourne)f(Shell)h(Builtins],)g(page)g(42\).)225 5230 y Fq(\017)60 b Fu(Shell)29 b(functions)g(ma)m(y)h(b)s(e)f(exp)s(orted)g (to)h(c)m(hildren)f(via)h(the)g(en)m(vironmen)m(t)g(using)f Ft(export)f(-f)h Fu(\(see)330 5340 y(Section)i(3.3)h([Shell)e(F)-8 b(unctions],)32 b(page)f(17\).)p eop end -%%Page: 149 155 -TeXDict begin 149 154 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 153 159 +TeXDict begin 153 158 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31 -b(The)f(Bourne)g(Shell)1258 b(149)225 299 y Fq(\017)60 +b(The)f(Bourne)g(Shell)1258 b(153)225 299 y Fq(\017)60 b Fu(The)40 b(Bash)h Ft(export)p Fu(,)h Ft(readonly)p Fu(,)f(and)g Ft(declare)d Fu(builtins)j(can)g(tak)m(e)h(a)f Ft(-f)f Fu(option)i(to)f(act)h(on)330 408 y(shell)30 @@ -18482,15 +18919,15 @@ Fu(builtin)g(allo)m(ws)j(a)e(name)g(to)g(b)s(e)f(asso)s(ciated)j(with)d (an)h(arbitrary)f(\014lename,)330 874 y(ev)m(en)30 b(when)e(that)h (\014lename)g(cannot)h(b)s(e)e(found)g(b)m(y)h(searc)m(hing)g(the)g Ft($PATH)p Fu(,)g(using)f(`)p Ft(hash)h(-p)p Fu(')g(\(see)330 -984 y(Section)i(4.1)h([Bourne)e(Shell)g(Builtins],)h(page)h(41\).)225 +984 y(Section)i(4.1)h([Bourne)e(Shell)g(Builtins],)h(page)h(42\).)225 1121 y Fq(\017)60 b Fu(Bash)27 b(includes)f(a)i Ft(help)d Fu(builtin)i(for)f(quic)m(k)h(reference)h(to)f(shell)g(facilities)i -(\(see)f(Section)g(4.2)g([Bash)330 1230 y(Builtins],)j(page)g(48\).)225 +(\(see)f(Section)g(4.2)g([Bash)330 1230 y(Builtins],)j(page)g(49\).)225 1367 y Fq(\017)60 b Fu(The)42 b Ft(printf)g Fu(builtin)g(is)h(a)m(v)-5 b(ailable)45 b(to)f(displa)m(y)f(formatted)g(output)g(\(see)h(Section)g -(4.2)g([Bash)330 1477 y(Builtins],)31 b(page)g(48\).)225 +(4.2)g([Bash)330 1477 y(Builtins],)31 b(page)g(49\).)225 1614 y Fq(\017)60 b Fu(The)26 b(Bash)h Ft(read)f Fu(builtin)g(\(see)i -(Section)g(4.2)g([Bash)f(Builtins],)h(page)g(48\))g(will)f(read)g(a)g +(Section)g(4.2)g([Bash)f(Builtins],)h(page)g(49\))g(will)f(read)g(a)g (line)g(ending)330 1724 y(in)i(`)p Ft(\\)p Fu(')h(with)f(the)g Ft(-r)g Fu(option,)i(and)d(will)i(use)f(the)h Ft(REPLY)e Fu(v)-5 b(ariable)30 b(as)g(a)f(default)h(if)f(no)h(non-option)330 @@ -18513,23 +18950,23 @@ Fu(option)h(will)330 2491 y(read)30 b(un)m(til)h(a)g(particular)f(c)m b Fu(The)33 b Ft(return)e Fu(builtin)i(ma)m(y)g(b)s(e)g(used)f(to)i(ab) s(ort)f(execution)h(of)f(scripts)g(executed)h(with)f(the)g Ft(.)g Fu(or)330 2737 y Ft(source)c Fu(builtins)g(\(see)j(Section)f -(4.1)g([Bourne)g(Shell)f(Builtins],)h(page)g(41\).)225 +(4.1)g([Bourne)g(Shell)f(Builtins],)h(page)g(42\).)225 2874 y Fq(\017)60 b Fu(Bash)43 b(includes)g(the)g Ft(shopt)f Fu(builtin,)k(for)d(\014ner)f(con)m(trol)j(of)e(shell)h(optional)g (capabilities)h(\(see)330 2984 y(Section)c(4.3.2)g([The)f(Shopt)f -(Builtin],)k(page)d(62\),)k(and)39 b(allo)m(ws)i(these)f(options)h(to)f +(Builtin],)k(page)d(64\),)k(and)39 b(allo)m(ws)i(these)f(options)h(to)f (b)s(e)f(set)i(and)330 3093 y(unset)30 b(at)h(shell)g(in)m(v)m(o)s (cation)h(\(see)f(Section)h(6.1)f([In)m(v)m(oking)g(Bash],)g(page)h -(80\).)225 3230 y Fq(\017)60 b Fu(Bash)45 b(has)f(m)m(uc)m(h)g(more)h +(82\).)225 3230 y Fq(\017)60 b Fu(Bash)45 b(has)f(m)m(uc)m(h)g(more)h (optional)h(b)s(eha)m(vior)e(con)m(trollable)j(with)e(the)f Ft(set)g Fu(builtin)g(\(see)h(Sec-)330 3340 y(tion)31 -b(4.3.1)h([The)e(Set)h(Builtin],)g(page)g(58\).)225 3477 +b(4.3.1)h([The)e(Set)h(Builtin],)g(page)g(60\).)225 3477 y Fq(\017)60 b Fu(The)31 b(`)p Ft(-x)p Fu(')g(\()p Ft(xtrace)p Fu(\))g(option)h(displa)m(ys)f(commands)h(other)f(than)h(simple)f (commands)g(when)g(p)s(er-)330 3587 y(forming)f(an)g(execution)i(trace) -f(\(see)h(Section)f(4.3.1)h([The)e(Set)h(Builtin],)g(page)g(58\).)225 +f(\(see)h(Section)f(4.3.1)h([The)e(Set)h(Builtin],)g(page)g(60\).)225 3724 y Fq(\017)60 b Fu(The)28 b Ft(test)g Fu(builtin)h(\(see)h(Section) -f(4.1)h([Bourne)f(Shell)g(Builtins],)h(page)g(41\))g(is)f(sligh)m(tly)h +f(4.1)h([Bourne)f(Shell)g(Builtins],)h(page)g(42\))g(is)f(sligh)m(tly)h (di\013eren)m(t,)330 3833 y(as)23 b(it)g(implemen)m(ts)f(the)h Fm(posix)f Fu(algorithm,)j(whic)m(h)d(sp)s(eci\014es)g(the)h(b)s(eha)m (vior)f(based)g(on)h(the)f(n)m(um)m(b)s(er)330 3943 y(of)31 @@ -18540,7 +18977,7 @@ b(\(a)f(shell)f(function)h(or)f(a)h(script)f(executed)h(with)f(the)h Ft(.)f Fu(or)g Ft(source)f Fu(builtins\).)39 b(This)26 b(supp)s(orts)330 4299 y(the)31 b(bash)e(debugger.)225 4436 y Fq(\017)60 b Fu(The)42 b Ft(trap)f Fu(builtin)h(\(see)i(Section) -f(4.1)h([Bourne)e(Shell)g(Builtins],)47 b(page)c(41\))h(allo)m(ws)g(a)e +f(4.1)h([Bourne)e(Shell)g(Builtins],)47 b(page)c(42\))h(allo)m(ws)g(a)e Ft(DEBUG)330 4545 y Fu(pseudo-signal)c(sp)s(eci\014cation,)i(similar)e (to)g Ft(EXIT)p Fu(.)62 b(Commands)36 b(sp)s(eci\014ed)h(with)g(a)h Ft(DEBUG)e Fu(trap)330 4655 y(are)k(executed)g(b)s(efore)f(ev)m(ery)h @@ -18556,86 +18993,86 @@ Ft(functrace)d Fu(option)j(has)f(b)s(een)g(enabled)g(using)330 Ft(extdebug)f Fu(shell)i(option)g(has)f(additional)h(e\013ects)h(on)f (the)g Ft(DEBUG)e Fu(trap.)330 5230 y(The)21 b Ft(trap)e Fu(builtin)i(\(see)h(Section)g(4.1)g([Bourne)f(Shell)g(Builtins],)j -(page)e(41\))g(allo)m(ws)g(an)f Ft(ERR)f Fu(pseudo-)330 +(page)e(42\))g(allo)m(ws)g(an)f Ft(ERR)f Fu(pseudo-)330 5340 y(signal)30 b(sp)s(eci\014cation,)h(similar)f(to)g Ft(EXIT)f Fu(and)g Ft(DEBUG)p Fu(.)39 b(Commands)28 b(sp)s(eci\014ed)h (with)g(an)g Ft(ERR)g Fu(trap)p eop end -%%Page: 150 156 -TeXDict begin 150 155 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 154 160 +TeXDict begin 154 159 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31 -b(The)f(Bourne)g(Shell)1258 b(150)330 299 y(are)40 b(executed)g(after)g +b(The)f(Bourne)g(Shell)1258 b(154)330 299 y(are)40 b(executed)g(after)g (a)f(simple)h(command)f(fails,)j(with)d(a)h(few)f(exceptions.)68 b(The)39 b Ft(ERR)g Fu(trap)g(is)330 408 y(not)g(inherited)f(b)m(y)h (shell)g(functions)f(unless)g(the)h Ft(-o)29 b(errtrace)37 b Fu(option)i(to)g(the)g Ft(set)f Fu(builtin)g(is)330 518 y(enabled.)330 650 y(The)g Ft(trap)g Fu(builtin)h(\(see)g(Section)h -(4.1)g([Bourne)f(Shell)g(Builtins],)i(page)f(41\))g(allo)m(ws)g(a)g -Ft(RETURN)330 760 y Fu(pseudo-signal)35 b(sp)s(eci\014cation,)j +(4.1)g([Bourne)f(Shell)g(Builtins],)i(page)f(42\))g(allo)m(ws)g(a)g +Ft(RETURN)330 759 y Fu(pseudo-signal)35 b(sp)s(eci\014cation,)j (similar)d(to)h Ft(EXIT)e Fu(and)g Ft(DEBUG)p Fu(.)54 b(Commands)34 b(sp)s(eci\014ed)g(with)h(an)330 869 y Ft(RETURN)k Fu(trap)i(are)g(executed)h(b)s(efore)e(execution)i(resumes) -e(after)h(a)g(shell)g(function)g(or)g(a)g(shell)330 979 +e(after)h(a)g(shell)g(function)g(or)g(a)g(shell)330 978 y(script)36 b(executed)g(with)g Ft(.)f Fu(or)h Ft(source)e Fu(returns.)56 b(The)35 b Ft(RETURN)f Fu(trap)i(is)g(not)g(inherited)f (b)m(y)h(shell)330 1088 y(functions)k(unless)h(the)g(function)f(has)h (b)s(een)f(giv)m(en)i(the)f Ft(trace)e Fu(attribute)j(or)e(the)h Ft(functrace)330 1198 y Fu(option)31 b(has)f(b)s(een)g(enabled)g(using) -g(the)g Ft(shopt)f Fu(builtin.)225 1330 y Fq(\017)60 +g(the)g Ft(shopt)f Fu(builtin.)225 1329 y Fq(\017)60 b Fu(The)30 b(Bash)g Ft(type)f Fu(builtin)h(is)g(more)g(extensiv)m(e)i (and)d(giv)m(es)j(more)e(information)h(ab)s(out)f(the)g(names)330 -1440 y(it)h(\014nds)e(\(see)i(Section)g(4.2)h([Bash)e(Builtins],)i -(page)f(48\).)225 1571 y Fq(\017)60 b Fu(The)27 b(Bash)h +1439 y(it)h(\014nds)e(\(see)i(Section)g(4.2)h([Bash)e(Builtins],)i +(page)f(49\).)225 1570 y Fq(\017)60 b Fu(The)27 b(Bash)h Ft(umask)e Fu(builtin)h(p)s(ermits)g(a)h Ft(-p)f Fu(option)h(to)h (cause)f(the)g(output)f(to)h(b)s(e)f(displa)m(y)m(ed)h(in)g(the)330 -1681 y(form)i(of)h(a)g Ft(umask)f Fu(command)g(that)i(ma)m(y)f(b)s(e)f +1680 y(form)i(of)h(a)g Ft(umask)f Fu(command)g(that)i(ma)m(y)f(b)s(e)f (reused)g(as)h(input)f(\(see)i(Section)f(4.1)h([Bourne)f(Shell)330 -1791 y(Builtins],)g(page)g(41\).)225 1923 y Fq(\017)60 +1789 y(Builtins],)g(page)g(42\).)225 1921 y Fq(\017)60 b Fu(Bash)34 b(implemen)m(ts)h(a)g Ft(csh)p Fu(-lik)m(e)g(directory)f (stac)m(k,)j(and)d(pro)m(vides)g(the)g Ft(pushd)p Fu(,)g -Ft(popd)p Fu(,)g(and)g Ft(dirs)330 2032 y Fu(builtins)g(to)i +Ft(popd)p Fu(,)g(and)g Ft(dirs)330 2030 y Fu(builtins)g(to)i (manipulate)f(it)h(\(see)f(Section)h(6.8)g([The)f(Directory)h(Stac)m -(k],)i(page)d(90\).)56 b(Bash)35 b(also)330 2142 y(mak)m(es)c(the)g +(k],)i(page)d(93\).)56 b(Bash)35 b(also)330 2140 y(mak)m(es)c(the)g (directory)g(stac)m(k)g(visible)g(as)g(the)f(v)-5 b(alue)31 b(of)g(the)f Ft(DIRSTACK)f Fu(shell)h(v)-5 b(ariable.)225 -2274 y Fq(\017)60 b Fu(Bash)28 b(in)m(terprets)h(sp)s(ecial)g(bac)m +2272 y Fq(\017)60 b Fu(Bash)28 b(in)m(terprets)h(sp)s(ecial)g(bac)m (kslash-escap)s(ed)g(c)m(haracters)g(in)f(the)h(prompt)e(strings)h -(when)f(in)m(ter-)330 2383 y(activ)m(e)33 b(\(see)e(Section)g(6.9)h -([Con)m(trolling)f(the)g(Prompt],)f(page)h(92\).)225 -2515 y Fq(\017)60 b Fu(The)46 b(Bash)h(restricted)g(mo)s(de)f(is)h +(when)f(in)m(ter-)330 2381 y(activ)m(e)33 b(\(see)e(Section)g(6.9)h +([Con)m(trolling)f(the)g(Prompt],)f(page)h(94\).)225 +2513 y Fq(\017)60 b Fu(The)46 b(Bash)h(restricted)g(mo)s(de)f(is)h (more)f(useful)g(\(see)h(Section)h(6.10)g([The)e(Restricted)i(Shell],) -330 2625 y(page)31 b(93\);)h(the)f(SVR4.2)g(shell)f(restricted)h(mo)s -(de)f(is)h(to)s(o)g(limited.)225 2757 y Fq(\017)60 b +330 2622 y(page)31 b(95\);)h(the)f(SVR4.2)g(shell)f(restricted)h(mo)s +(de)f(is)h(to)s(o)g(limited.)225 2754 y Fq(\017)60 b Fu(The)30 b Ft(disown)f Fu(builtin)h(can)h(remo)m(v)m(e)h(a)f(job)f (from)g(the)h(in)m(ternal)g(shell)g(job)f(table)i(\(see)f(Section)h -(7.2)330 2866 y([Job)h(Con)m(trol)h(Builtins],)g(page)g(98\))h(or)e -(suppress)e(the)i(sending)g(of)g Ft(SIGHUP)e Fu(to)j(a)g(job)f(when)f -(the)330 2976 y(shell)f(exits)g(as)f(the)h(result)f(of)h(a)f -Ft(SIGHUP)p Fu(.)225 3108 y Fq(\017)60 b Fu(Bash)31 b(includes)f(a)g(n) +(7.2)330 2863 y([Job)e(Con)m(trol)h(Builtins],)g(page)g(101\))g(or)g +(suppress)d(the)i(sending)g(of)g Ft(SIGHUP)e Fu(to)j(a)g(job)f(when)f +(the)330 2973 y(shell)i(exits)g(as)f(the)h(result)f(of)h(a)f +Ft(SIGHUP)p Fu(.)225 3104 y Fq(\017)60 b Fu(Bash)31 b(includes)f(a)g(n) m(um)m(b)s(er)f(of)i(features)g(to)g(supp)s(ort)d(a)j(separate)g -(debugger)f(for)h(shell)f(scripts.)225 3240 y Fq(\017)60 +(debugger)f(for)h(shell)f(scripts.)225 3236 y Fq(\017)60 b Fu(The)28 b(SVR4.2)h(shell)f(has)g(t)m(w)m(o)i(privilege-related)g (builtins)e(\()p Ft(mldmode)e Fu(and)i Ft(priv)p Fu(\))f(not)i(presen)m -(t)f(in)330 3350 y(Bash.)225 3482 y Fq(\017)60 b Fu(Bash)31 +(t)f(in)330 3346 y(Bash.)225 3477 y Fq(\017)60 b Fu(Bash)31 b(do)s(es)f(not)g(ha)m(v)m(e)i(the)e Ft(stop)g Fu(or)g -Ft(newgrp)f Fu(builtins.)225 3613 y Fq(\017)60 b Fu(Bash)31 +Ft(newgrp)f Fu(builtins.)225 3609 y Fq(\017)60 b Fu(Bash)31 b(do)s(es)f(not)g(use)g(the)h Ft(SHACCT)d Fu(v)-5 b(ariable)32 -b(or)e(p)s(erform)f(shell)i(accoun)m(ting.)225 3745 y +b(or)e(p)s(erform)f(shell)i(accoun)m(ting.)225 3740 y Fq(\017)60 b Fu(The)30 b(SVR4.2)h Ft(sh)f Fu(uses)g(a)g Ft(TIMEOUT)f Fu(v)-5 b(ariable)31 b(lik)m(e)h(Bash)e(uses)g -Ft(TMOUT)p Fu(.)150 3900 y(More)h(features)g(unique)e(to)i(Bash)g(ma)m +Ft(TMOUT)p Fu(.)150 3894 y(More)h(features)g(unique)e(to)i(Bash)g(ma)m (y)g(b)s(e)f(found)f(in)h(Chapter)f(6)i([Bash)g(F)-8 -b(eatures],)32 b(page)f(80.)150 4127 y Fs(B.1)67 b(Implemen)l(tation)48 +b(eatures],)32 b(page)f(82.)150 4128 y Fs(B.1)67 b(Implemen)l(tation)48 b(Di\013erences)e(F)-11 b(rom)44 b(The)h(SVR4.2)g(Shell)150 -4287 y Fu(Since)33 b(Bash)h(is)f(a)g(completely)i(new)e(implemen)m +4288 y Fu(Since)33 b(Bash)h(is)f(a)g(completely)i(new)e(implemen)m (tation,)j(it)e(do)s(es)e(not)i(su\013er)e(from)h(man)m(y)g(of)h(the)f -(limi-)150 4396 y(tations)f(of)e(the)h(SVR4.2)g(shell.)41 -b(F)-8 b(or)31 b(instance:)225 4528 y Fq(\017)60 b Fu(Bash)32 +(limi-)150 4397 y(tations)f(of)e(the)h(SVR4.2)g(shell.)41 +b(F)-8 b(or)31 b(instance:)225 4529 y Fq(\017)60 b Fu(Bash)32 b(do)s(es)f(not)h(fork)f(a)h(subshell)e(when)h(redirecting)h(in)m(to)h (or)e(out)h(of)g(a)g(shell)f(con)m(trol)i(structure)330 -4638 y(suc)m(h)d(as)h(an)f Ft(if)g Fu(or)g Ft(while)f +4639 y(suc)m(h)d(as)h(an)f Ft(if)g Fu(or)g Ft(while)f Fu(statemen)m(t.)225 4770 y Fq(\017)60 b Fu(Bash)29 b(do)s(es)f(not)h (allo)m(w)h(un)m(balanced)f(quotes.)41 b(The)28 b(SVR4.2)h(shell)g -(will)g(silen)m(tly)i(insert)d(a)h(needed)330 4879 y(closing)g(quote)g +(will)g(silen)m(tly)i(insert)d(a)h(needed)330 4880 y(closing)g(quote)g (at)f Ft(EOF)f Fu(under)g(certain)h(circumstances.)41 b(This)27 b(can)h(b)s(e)g(the)g(cause)g(of)g(some)h(hard-)330 4989 y(to-\014nd)h(errors.)225 5121 y Fq(\017)60 b Fu(The)45 @@ -18645,10 +19082,10 @@ Fu(.)57 b(If)35 b(the)i(shell)f(is)h(started)g(from)e(a)i(pro)s(cess)f (with)g Ft(SIGSEGV)e Fu(blo)s(c)m(k)m(ed)k(\(e.g.,)h(b)m(y)d(using)330 5340 y(the)31 b Ft(system\(\))d Fu(C)i(library)g(function)g(call\),)i (it)f(misb)s(eha)m(v)m(es)g(badly)-8 b(.)p eop end -%%Page: 151 157 -TeXDict begin 151 156 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 155 161 +TeXDict begin 155 160 bop 150 -116 a Fu(App)s(endix)29 b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31 -b(The)f(Bourne)g(Shell)1258 b(151)225 299 y Fq(\017)60 +b(The)f(Bourne)g(Shell)1258 b(155)225 299 y Fq(\017)60 b Fu(In)30 b(a)i(questionable)g(attempt)g(at)g(securit)m(y)-8 b(,)33 b(the)e(SVR4.2)h(shell,)g(when)e(in)m(v)m(ok)m(ed)j(without)e (the)h Ft(-p)330 408 y Fu(option,)39 b(will)d(alter)i(its)e(real)h(and) @@ -18679,19 +19116,17 @@ Fm(posix)330 1738 y Fu(standard.)225 1873 y Fq(\017)60 b Fu(The)30 b(SVR4.2)h(shell)g(b)s(eha)m(v)m(es)f(di\013eren)m(tly)h (when)f(in)m(v)m(ok)m(ed)i(as)e Ft(jsh)g Fu(\(it)h(turns)e(on)h(job)g (con)m(trol\).)p eop end -%%Page: 152 158 -TeXDict begin 152 157 bop 150 -116 a Fu(App)s(endix)29 -b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(152)150 299 y Fp(App)t(endix)52 b(C)81 b(GNU)54 b(F)-13 -b(ree)53 b(Do)t(cumen)l(tation)e(License)1359 502 y Fu(V)-8 -b(ersion)31 b(1.3,)g(3)g(No)m(v)m(em)m(b)s(er)h(2008)390 -635 y(Cop)m(yrigh)m(t)842 632 y(c)817 635 y Fq(\015)e -Fu(2000,)j(2001,)f(2002,)g(2007,)h(2008)f(F)-8 b(ree)31 -b(Soft)m(w)m(are)h(F)-8 b(oundation,)31 b(Inc.)390 745 -y Ft(http://fsf.org/)390 964 y Fu(Ev)m(ery)m(one)g(is)g(p)s(ermitted)f -(to)h(cop)m(y)g(and)f(distribute)g(v)m(erbatim)h(copies)390 -1074 y(of)g(this)f(license)h(do)s(cumen)m(t,)g(but)e(c)m(hanging)j(it)f -(is)f(not)h(allo)m(w)m(ed.)199 1207 y(0.)61 b(PREAMBLE)330 +%%Page: 156 162 +TeXDict begin 156 161 bop 3614 -116 a Fu(156)150 299 +y Fp(App)t(endix)52 b(C)81 b(GNU)54 b(F)-13 b(ree)53 +b(Do)t(cumen)l(tation)e(License)1359 502 y Fu(V)-8 b(ersion)31 +b(1.3,)g(3)g(No)m(v)m(em)m(b)s(er)h(2008)390 635 y(Cop)m(yrigh)m(t)842 +632 y(c)817 635 y Fq(\015)e Fu(2000,)j(2001,)f(2002,)g(2007,)h(2008)f +(F)-8 b(ree)31 b(Soft)m(w)m(are)h(F)-8 b(oundation,)31 +b(Inc.)390 745 y Ft(http://fsf.org/)390 964 y Fu(Ev)m(ery)m(one)g(is)g +(p)s(ermitted)f(to)h(cop)m(y)g(and)f(distribute)g(v)m(erbatim)h(copies) +390 1074 y(of)g(this)f(license)h(do)s(cumen)m(t,)g(but)e(c)m(hanging)j +(it)f(is)f(not)h(allo)m(w)m(ed.)199 1207 y(0.)61 b(PREAMBLE)330 1340 y(The)37 b(purp)s(ose)e(of)i(this)g(License)h(is)f(to)h(mak)m(e)g (a)g(man)m(ual,)h(textb)s(o)s(ok,)h(or)d(other)g(functional)h(and)330 1450 y(useful)29 b(do)s(cumen)m(t)h Fr(free)36 b Fu(in)29 @@ -18763,10 +19198,10 @@ b(\\In)m(v)-5 b(arian)m(t)27 b(Sections")g(are)f(certain)g(Secondary)g 5340 y(b)s(eing)e(those)h(of)g(In)m(v)-5 b(arian)m(t)27 b(Sections,)i(in)d(the)h(notice)h(that)f(sa)m(ys)g(that)g(the)g(Do)s (cumen)m(t)g(is)g(released)p eop end -%%Page: 153 159 -TeXDict begin 153 158 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 157 163 +TeXDict begin 157 162 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(153)330 299 y(under)26 b(this)i(License.)40 b(If)27 +b(157)330 299 y(under)26 b(this)i(License.)40 b(If)27 b(a)h(section)h(do)s(es)f(not)f(\014t)h(the)g(ab)s(o)m(v)m(e)h (de\014nition)e(of)h(Secondary)f(then)h(it)g(is)330 408 y(not)k(allo)m(w)m(ed)i(to)e(b)s(e)g(designated)g(as)g(In)m(v)-5 @@ -18857,10 +19292,10 @@ b(Disclaimers)f(are)g(considered)e(to)330 4970 y(b)s(e)k(included)g(b)m b(Disclaimers)f(ma)m(y)g(ha)m(v)m(e)g(is)f(v)m(oid)g(and)f(has)h(no)330 5189 y(e\013ect)32 b(on)e(the)h(meaning)f(of)h(this)f(License.)199 5340 y(2.)61 b(VERBA)-8 b(TIM)31 b(COPYING)p eop end -%%Page: 154 160 -TeXDict begin 154 159 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 158 164 +TeXDict begin 158 163 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(154)330 299 y(Y)-8 b(ou)39 b(ma)m(y)f(cop)m(y)h(and)e(distribute)h +b(158)330 299 y(Y)-8 b(ou)39 b(ma)m(y)f(cop)m(y)h(and)e(distribute)h (the)g(Do)s(cumen)m(t)h(in)f(an)m(y)g(medium,)h(either)g(commercially)h (or)330 408 y(noncommercially)-8 b(,)48 b(pro)m(vided)42 b(that)h(this)f(License,)47 b(the)42 b(cop)m(yrigh)m(t)i(notices,)j @@ -18950,10 +19385,10 @@ b(in)f(the)h(Title)h(P)m(age)g(\(and)f(on)f(the)h(co)m(v)m(ers,)i(if)e 5340 y(Do)s(cumen)m(t,)j(and)d(from)g(those)i(of)f(previous)f(v)m (ersions)h(\(whic)m(h)g(should,)g(if)g(there)g(w)m(ere)g(an)m(y)-8 b(,)p eop end -%%Page: 155 161 -TeXDict begin 155 160 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 159 165 +TeXDict begin 159 164 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(155)510 299 y(b)s(e)31 b(listed)h(in)f(the)g(History)h(section)g(of)g +b(159)510 299 y(b)s(e)31 b(listed)h(in)f(the)g(History)h(section)g(of)g (the)f(Do)s(cumen)m(t\).)45 b(Y)-8 b(ou)32 b(ma)m(y)g(use)f(the)g(same) h(title)h(as)510 408 y(a)e(previous)f(v)m(ersion)g(if)h(the)f(original) i(publisher)d(of)h(that)h(v)m(ersion)g(giv)m(es)h(p)s(ermission.)360 @@ -19032,10 +19467,10 @@ b(arran)m(t)m(y)32 b(Disclaimers.)330 5121 y(If)h(the)g(Mo)s(di\014ed)g (designate)h(some)e(or)h(all)g(of)f(these)h(sections)h(as)e(in)m(v)-5 b(arian)m(t.)48 b(T)-8 b(o)33 b(do)f(this,)h(add)f(their)p eop end -%%Page: 156 162 -TeXDict begin 156 161 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 160 166 +TeXDict begin 160 165 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(156)330 299 y(titles)37 b(to)f(the)f(list)h(of)g(In)m(v)-5 +b(160)330 299 y(titles)37 b(to)f(the)f(list)h(of)g(In)m(v)-5 b(arian)m(t)36 b(Sections)g(in)f(the)h(Mo)s(di\014ed)f(V)-8 b(ersion's)36 b(license)g(notice.)57 b(These)330 408 y(titles)32 b(m)m(ust)e(b)s(e)g(distinct)h(from)e(an)m(y)i(other)g @@ -19120,10 +19555,10 @@ b(ma)m(y)g(extract)h(a)f(single)g(do)s(cumen)m(t)f(from)g(suc)m(h)g(a)h 5230 y(do)s(cumen)m(t,)d(and)f(follo)m(w)i(this)e(License)h(in)g(all)g (other)g(resp)s(ects)f(regarding)h(v)m(erbatim)g(cop)m(ying)h(of)330 5340 y(that)d(do)s(cumen)m(t.)p eop end -%%Page: 157 163 -TeXDict begin 157 162 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 161 167 +TeXDict begin 161 166 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(157)199 299 y(7.)61 b(A)m(GGREGA)-8 b(TION)32 b(WITH)e(INDEPENDENT)h +b(161)199 299 y(7.)61 b(A)m(GGREGA)-8 b(TION)32 b(WITH)e(INDEPENDENT)h (W)m(ORKS)330 441 y(A)d(compilation)i(of)e(the)g(Do)s(cumen)m(t)h(or)f (its)g(deriv)-5 b(ativ)m(es)30 b(with)d(other)i(separate)g(and)e(indep) s(enden)m(t)330 551 y(do)s(cumen)m(ts)33 b(or)g(w)m(orks,)h(in)f(or)h @@ -19208,10 +19643,10 @@ b(ha)m(v)m(e)h(receiv)m(ed)h(copies)e(or)h(righ)m(ts)f(from)g(y)m(ou)g (reinstated,)i(receipt)f(of)f(a)g(cop)m(y)h(of)f(some)h(or)f(all)h(of)f (the)330 5340 y(same)31 b(material)h(do)s(es)e(not)g(giv)m(e)i(y)m(ou)f (an)m(y)g(righ)m(ts)f(to)i(use)e(it.)p eop end -%%Page: 158 164 -TeXDict begin 158 163 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 162 168 +TeXDict begin 162 167 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(158)154 299 y(10.)61 b(FUTURE)30 b(REVISIONS)f(OF)i(THIS)e(LICENSE) +b(162)154 299 y(10.)61 b(FUTURE)30 b(REVISIONS)f(OF)i(THIS)e(LICENSE) 330 433 y(The)41 b(F)-8 b(ree)43 b(Soft)m(w)m(are)f(F)-8 b(oundation)43 b(ma)m(y)f(publish)e(new,)k(revised)d(v)m(ersions)h(of)g (the)g(GNU)g(F)-8 b(ree)330 543 y(Do)s(cumen)m(tation)34 @@ -19275,10 +19710,10 @@ f(of)g(that)330 2944 y(license)31 b(published)e(b)m(y)h(that)h(same)g g(under)330 3895 y(CC-BY-SA)30 b(on)g(the)h(same)f(site)h(at)g(an)m(y)g (time)g(b)s(efore)e(August)h(1,)h(2009,)h(pro)m(vided)e(the)g(MMC)h(is) 330 4005 y(eligible)h(for)e(relicensing.)p eop end -%%Page: 159 165 -TeXDict begin 159 164 bop 150 -116 a Fu(App)s(endix)29 +%%Page: 163 169 +TeXDict begin 163 168 bop 150 -116 a Fu(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(159)150 299 y Fs(ADDENDUM:)45 b(Ho)l(w)h(to)f(use)g(this)h(License)f +b(163)150 299 y Fs(ADDENDUM:)45 b(Ho)l(w)h(to)f(use)g(this)h(License)f (for)g(y)l(our)g(do)t(cumen)l(ts)150 458 y Fu(T)-8 b(o)35 b(use)f(this)h(License)g(in)f(a)h(do)s(cumen)m(t)g(y)m(ou)f(ha)m(v)m(e) i(written,)g(include)f(a)f(cop)m(y)i(of)f(the)f(License)h(in)g(the)150 @@ -19313,1291 +19748,1323 @@ y(If)23 b(y)m(our)h(do)s(cumen)m(t)f(con)m(tains)i(non)m(trivial)g b(as)g(the)g(GNU)150 2331 y(General)31 b(Public)f(License,)i(to)f(p)s (ermit)e(their)i(use)f(in)g(free)g(soft)m(w)m(are.)p eop end -%%Page: 160 166 -TeXDict begin 160 165 bop 150 -116 a Fu(App)s(endix)29 -b(D:)i(Indexes)2623 b(160)150 299 y Fp(App)t(endix)52 -b(D)81 b(Indexes)150 631 y Fs(D.1)68 b(Index)45 b(of)g(Shell)g(Builtin) -g(Commands)150 868 y(.)150 984 y Fe(.)13 b Fc(:)g(:)g(:)g(:)h(:)f(:)g +%%Page: 164 170 +TeXDict begin 164 169 bop 3614 -116 a Fu(164)150 299 +y Fp(App)t(endix)52 b(D)81 b(Indexes)150 639 y Fs(D.1)68 +b(Index)45 b(of)g(Shell)g(Builtin)g(Commands)146 806 +y(.)150 923 y Fe(.)19 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)33 b Fb(42)146 1163 y Fs(:)150 1280 y Fe(:)19 b Fc(:)13 +b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)33 b Fb(42)146 +1523 y Fs([)150 1640 y Fe([)19 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)33 b Fb(46)146 1881 y Fs(A)150 1998 y Fe(alias)9 +b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)39 b Fb(41)150 1218 y Fs(:)150 1335 -y Fe(:)13 b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)23 b Fb(49)146 2239 y +Fs(B)150 2356 y Fe(bg)14 b Fc(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)39 -b Fb(41)150 1579 y Fs([)150 1695 y Fe([)13 b Fc(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)39 b Fb(45)150 1938 y Fs(A)150 2055 -y Fe(alias)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)46 b Fb(48)150 -2289 y Fs(B)150 2405 y Fe(bg)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)37 b Fb(98)150 2493 y Fe(bind)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -49 b Fb(48)150 2580 y Fe(break)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)29 +b Fb(101)150 2443 y Fe(bind)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 +b Fb(49)150 2531 y Fe(break)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)46 -b Fb(41)150 2668 y Fe(builtin)15 b Fc(:)f(:)f(:)h(:)f(:)g(:)g(:)g(:)g +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)23 +b Fb(43)150 2618 y Fe(builtin)f Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)41 -b Fb(49)150 2902 y Fs(C)150 3019 y Fe(caller)17 b Fc(:)e(:)e(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -43 b Fb(50)150 3106 y Fe(cd)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 +b Fb(50)146 2859 y Fs(C)150 2976 y Fe(caller)6 b Fc(:)15 +b(:)e(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)20 b Fb(51)150 3063 y Fe(cd)c Fc(:)e(:)f(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)31 b Fb(43)150 3151 y Fe(command)22 +b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)35 b Fb(51)150 3238 y Fe(compgen)18 +b Fc(:)d(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)33 b Fb(131)150 3326 y Fe(complete)16 +b Fc(:)f(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)31 b Fb(131)150 3413 y Fe(compopt)18 b Fc(:)d(:)e(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)33 +b Fb(134)150 3501 y Fe(continue)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)32 b +Fb(43)146 3741 y Fs(D)150 3858 y Fe(declare)22 b Fc(:)13 +b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)35 b Fb(51)150 3946 y Fe(dirs)11 b Fc(:)j(:)f(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)25 b Fb(93)150 4033 y Fe(disown)d Fc(:)13 +b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)36 b Fb(102)146 4274 y Fs(E)150 4391 y Fe(echo)11 +b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)37 b Fb(42)150 3194 y Fe(command)15 b Fc(:)f(:)f(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)41 -b Fb(50)150 3281 y Fe(compgen)12 b Fc(:)j(:)e(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)39 b -Fb(126)150 3368 y Fe(complete)10 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(127)150 -3456 y Fe(compopt)12 b Fc(:)j(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)39 b Fb(130)150 3543 -y Fe(continue)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 b Fb(53)150 4478 +y Fe(enable)6 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)20 b Fb(53)150 +4566 y Fe(eval)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 +b Fb(43)150 4653 y Fe(exec)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 +b Fb(44)150 4741 y Fe(exit)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 +b Fb(44)150 4828 y Fe(export)6 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)38 b Fb(42)150 3778 y -Fs(D)150 3894 y Fe(declare)15 b Fc(:)f(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)20 +b Fb(44)146 5080 y Fs(F)150 5197 y Fe(fc)14 b Fc(:)g(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)29 b Fb(137)150 5284 y Fe(fg)14 b Fc(:)g(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)29 b Fb(101)2021 871 y Fs(G)2025 988 y Fe(getopts)22 +b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)35 b Fb(44)2021 1250 y Fs(H)2025 +1369 y Fe(hash)11 b Fc(:)j(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 +b Fb(45)2025 1457 y Fe(help)11 b Fc(:)j(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 +b Fb(54)2025 1544 y Fe(history)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)33 b +Fb(138)2021 1806 y Fs(J)2025 1924 y Fe(jobs)9 b Fc(:)14 +b(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(101)2021 2186 y Fs(K)2025 +2303 y Fe(kill)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 +b Fb(102)2021 2554 y Fs(L)2025 2672 y Fe(let)14 b Fc(:)f(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)28 b Fb(54)2025 2760 y Fe(local)9 b Fc(:)14 +b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)23 b Fb(54)2025 2848 y Fe(logout)6 +b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 b Fb(55)2021 3110 y Fs(M)2025 +3227 y Fe(mapfile)h Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)41 b -Fb(50)150 3982 y Fe(dirs)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fb(55)2021 +3489 y Fs(P)2025 3608 y Fe(popd)11 b Fc(:)j(:)f(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 +b Fb(93)2025 3696 y Fe(printf)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 +b Fb(55)2025 3784 y Fe(pushd)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)23 +b Fb(93)2025 3871 y Fe(pwd)14 b Fc(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 -b Fb(90)150 4069 y Fe(disown)17 b Fc(:)e(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)43 -b Fb(99)150 4303 y Fs(E)150 4420 y Fe(echo)23 b Fc(:)13 -b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)28 +b Fb(45)2021 4133 y Fs(R)2025 4251 y Fe(read)11 b Fc(:)j(:)f(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)26 b Fb(56)2025 4339 y Fe(readarray)15 b +Fc(:)g(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)49 b Fb(52)150 4507 y Fe(enable)17 -b Fc(:)e(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)43 b Fb(52)150 4595 y Fe(eval)23 -b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +g(:)g(:)30 b Fb(57)2025 4427 y Fe(readonly)18 b Fc(:)d(:)e(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)33 +b Fb(45)2025 4515 y Fe(return)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 b Fb(42)150 4682 y -Fe(exec)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 +b Fb(46)2021 4765 y Fs(S)2025 4884 y Fe(set)14 b Fc(:)f(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)28 b Fb(60)2025 4972 y Fe(shift)9 b Fc(:)14 +b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 b Fb(42)150 -4770 y Fe(exit)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +g(:)g(:)g(:)h(:)f(:)g(:)23 b Fb(46)2025 5060 y Fe(shopt)9 +b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 -b Fb(43)150 4857 y Fe(export)17 b Fc(:)e(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)43 -b Fb(43)150 5110 y Fs(F)150 5227 y Fe(fc)8 b Fc(:)14 -b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)35 b Fb(133)150 5314 -y Fe(fg)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)37 -b Fb(98)2025 868 y Fs(G)2025 988 y Fe(getopts)15 b Fc(:)f(:)f(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)41 -b Fb(43)2025 1250 y Fs(H)2025 1370 y Fe(hash)23 b Fc(:)13 -b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)49 b Fb(44)2025 1459 y Fe(help)23 -b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)49 b Fb(53)2025 1549 -y Fe(history)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)39 b Fb(134)2025 1811 -y Fs(J)2025 1931 y Fe(jobs)23 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)49 -b Fb(98)2025 2193 y Fs(K)2025 2313 y Fe(kill)23 b Fc(:)13 -b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)49 b Fb(99)2025 2557 y Fs(L)2025 -2677 y Fe(let)8 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)23 b Fb(64)2025 5148 +y Fe(source)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)34 -b Fb(53)2025 2766 y Fe(local)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 -b Fb(53)2025 2856 y Fe(logout)17 b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 -b Fb(53)2025 3118 y Fs(M)2025 3238 y Fe(mapfile)15 b -Fc(:)f(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)41 b Fb(54)2025 3500 y Fs(P)2025 3620 -y Fe(popd)23 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)49 b Fb(91)2025 -3710 y Fe(printf)17 b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 b Fb(54)2025 -3799 y Fe(pushd)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 b -Fb(91)2025 3888 y Fe(pwd)8 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 b Fb(58)2025 +5235 y Fe(suspend)d Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)34 -b Fb(44)2025 4150 y Fs(R)2025 4270 y Fe(read)23 b Fc(:)13 -b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)49 b Fb(55)2025 4360 y Fe(readarray)9 -b Fc(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)36 b Fb(56)2025 4449 y Fe(readonly)12 b Fc(:)j(:)e(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 -b Fb(44)2025 4538 y Fe(return)17 b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 -b Fb(45)2025 4782 y Fs(S)2025 4902 y Fe(set)8 b Fc(:)13 -b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)34 b Fb(58)2025 4991 -y Fe(shift)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 b Fb(45)2025 -5080 y Fe(shopt)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 b -Fb(62)2025 5169 y Fe(source)17 b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 -b Fb(56)2025 5259 y Fe(suspend)15 b Fc(:)f(:)f(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)41 -b Fb(99)p eop end -%%Page: 161 167 -TeXDict begin 161 166 bop 150 -116 a Fu(App)s(endix)29 -b(D:)i(Indexes)2623 b(161)150 299 y Fs(T)150 428 y Fe(test)23 -b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)33 b Fb(102)p eop end +%%Page: 165 171 +TeXDict begin 165 170 bop 150 -116 a Fu(App)s(endix)29 +b(D:)i(Indexes)2623 b(165)146 294 y Fs(T)150 410 y Fe(test)11 +b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 b Fb(46)150 497 +y Fe(times)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)23 b Fb(48)150 +584 y Fe(trap)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 +b Fb(48)150 671 y Fe(type)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 b Fb(45)150 522 y -Fe(times)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)46 b Fb(46)150 -616 y Fe(trap)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 -b Fb(47)150 709 y Fe(type)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 -b Fb(56)150 803 y Fe(typeset)15 b Fc(:)f(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 +b Fb(58)150 758 y Fe(typeset)d Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)41 -b Fb(57)2025 299 y Fs(U)2025 415 y Fe(ulimit)17 b Fc(:)d(:)g(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -44 b Fb(57)2025 502 y Fe(umask)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 -b Fb(47)2025 590 y Fe(unalias)15 b Fc(:)f(:)f(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)41 -b Fb(58)2025 677 y Fe(unset)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 -b Fb(48)2025 910 y Fs(W)2025 1026 y Fe(wait)23 b Fc(:)13 -b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)49 b Fb(99)150 1259 y Fs(D.2)68 -b(Index)45 b(of)g(Shell)g(Reserv)l(ed)h(W)-11 b(ords)150 -1495 y(!)150 1611 y Fe(!)15 b Fc(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)42 b Fb(8)150 1855 y Fs([)150 1971 y Fe([[)10 -b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(12)150 -2220 y Fs(])150 2336 y Fe(]])10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)37 b Fb(12)150 2579 y Fa(|)150 2695 y Fe({)13 b Fc(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)39 b Fb(14)150 2782 y Fe(})13 -b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)39 b Fb(14)150 -3024 y Fs(C)150 3140 y Fe(case)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 -b Fb(11)150 3374 y Fs(D)150 3490 y Fe(do)10 b Fc(:)k(:)f(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 +b Fb(58)146 1003 y Fs(U)150 1119 y Fe(ulimit)6 b Fc(:)15 +b(:)e(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)37 b Fb(10)150 3577 y Fe(done)23 b Fc(:)13 +g(:)g(:)g(:)h(:)f(:)20 b Fb(58)150 1206 y Fe(umask)9 +b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)23 b Fb(48)150 1293 y +Fe(unalias)f Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 b Fb(60)150 1380 y +Fe(unset)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)23 b Fb(49)2021 +294 y Fs(W)2025 433 y Fe(wait)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 +b Fb(102)150 2133 y Fs(D.2)68 b(Index)45 b(of)g(Shell)g(Reserv)l(ed)h +(W)-11 b(ords)146 2704 y(!)150 2820 y Fe(!)21 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)49 b Fb(10)150 3810 y Fs(E)150 -3926 y Fe(elif)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 -b Fb(10)150 4014 y Fe(else)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 -b Fb(10)2025 1495 y Fe(esac)23 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)49 -b Fb(11)2025 1737 y Fs(F)2025 1856 y Fe(fi)10 b Fc(:)k(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)37 b Fb(10)2025 1945 y Fe(for)8 b -Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)34 b Fb(10)2025 -2033 y Fe(function)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 b Fb(17)2025 2275 -y Fs(I)2025 2394 y Fe(if)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -37 b Fb(10)2025 2483 y Fe(in)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 b Fb(8)146 +3056 y Fs([)150 3172 y Fe([[)16 b Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)31 b Fb(12)146 3414 y Fs(])150 3530 y Fe(]])16 b +Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)37 b Fb(11)2025 2724 y Fs(S)2025 2843 y Fe(select)17 -b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)44 b Fb(12)2025 3085 y Fs(T)2025 -3204 y Fe(then)23 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)49 -b Fb(10)2025 3293 y Fe(time)7 b Fc(:)14 b(:)f(:)g(:)g(:)h(:)f(:)g(:)g +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)31 b Fb(12)146 +3770 y Fa({)150 3886 y Fe({)19 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)34 b Fb(8)2025 3534 y Fs(U)2025 3653 y Fe(until)21 -b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 b Fb(10)2025 3894 y Fs(W)2025 -4014 y Fe(while)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)33 b Fb(14)146 4125 y Fa(})150 4241 y Fe(})19 +b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)33 b +Fb(14)146 4475 y Fs(C)150 4591 y Fe(case)11 b Fc(:)j(:)f(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 b -Fb(10)150 4246 y Fs(D.3)68 b(P)l(arameter)47 b(and)d(V)-11 -b(ariable)46 b(Index)150 4483 y(!)150 4603 y Fe(!)13 -b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)39 b Fb(20)150 -4846 y Fs(#)150 4967 y Fe(#)13 b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)39 b Fb(20)150 5220 y Fs($)150 5340 y Fe($)13 -b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)39 b Fb(20)2025 -4483 y Fe($!)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)37 -b Fb(20)2025 4574 y Fe($#)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)37 b Fb(20)2025 4665 y Fe($$)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)h(:)25 b Fb(11)146 4825 y Fs(D)150 4941 y Fe(do)16 +b Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)37 b Fb(20)2025 4756 y Fe($*)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)37 b Fb(20)2025 4847 y Fe($-)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)37 b Fb(20)2025 4938 y Fe($?)10 b Fc(:)k(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)37 b Fb(20)2025 5029 y Fe($@)10 b -Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)31 b Fb(10)150 +5028 y Fe(done)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 +b Fb(10)146 5261 y Fs(E)150 5377 y Fe(elif)11 b Fc(:)j(:)f(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)37 b Fb(20)2025 -5120 y Fe($_)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)25 b Fb(10)150 5465 y Fe(else)11 b Fc(:)j(:)f(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)h(:)25 b Fb(10)150 5552 y Fe(esac)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)37 -b Fb(20)2025 5211 y Fe($0)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)h(:)25 b Fb(11)2021 2703 y Fs(F)2025 2836 y Fe(fi)16 +b Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)31 b Fb(10)2025 +2928 y Fe(for)14 b Fc(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)28 +b Fb(10)2025 3015 y Fe(function)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)37 b Fb(20)p eop end -%%Page: 162 168 -TeXDict begin 162 167 bop 150 -116 a Fu(App)s(endix)29 -b(D:)i(Indexes)2623 b(162)150 299 y Fs(*)150 415 y Fe(*)13 -b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)39 b Fb(20)150 -649 y Fs(-)150 765 y Fe(-)13 b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)39 b Fb(20)150 999 y Fs(?)150 1115 y Fe(?)13 b -Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)39 b Fb(20)150 -1349 y Fs(@)150 1465 y Fe(@)13 b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)39 b Fb(20)p 159 1699 41 6 v 150 1815 a Fe(_)13 -b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)39 b Fb(20)150 -2049 y Fs(0)150 2165 y Fe(0)13 b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)39 b Fb(20)150 2399 y Fs(A)150 2515 y Fe(auto_resume)22 -b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)46 -b Fb(100)150 2758 y Fs(B)150 2875 y Fe(BASH)23 b Fc(:)13 -b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)33 b +Fb(17)2021 3359 y Fs(I)2025 3491 y Fe(if)16 b Fc(:)e(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)49 b Fb(69)150 2962 y Fe(BASH_ALIASES)22 -b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)45 -b Fb(70)150 3049 y Fe(BASH_ARGC)9 b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 b -Fb(70)150 3137 y Fe(BASH_ARGV)9 b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 b Fb(70)150 -3224 y Fe(BASH_CMDS)9 b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 b Fb(70)150 3311 -y Fe(BASH_COMMAND)22 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)31 b Fb(10)2025 3578 y Fe(in)16 b Fc(:)e(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)45 b Fb(70)150 3399 y Fe(BASH_COMPAT)24 -b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -48 b Fb(70)150 3486 y Fe(BASH_ENV)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)38 -b Fb(71)150 3574 y Fe(BASH_EXECUTION_STRING)13 b Fc(:)18 -b(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)39 b Fb(71)150 3661 y Fe(BASH_LINENO)24 -b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)31 b Fb(11)2021 3921 y Fs(S)2025 +4048 y Fe(select)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 b +Fb(12)2021 4392 y Fs(T)2025 4524 y Fe(then)11 b Fc(:)j(:)f(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)26 b Fb(10)2025 4611 y Fe(time)13 b Fc(:)h(:)f(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)28 b Fb(8)2021 4954 y Fs(U)2025 5081 y +Fe(until)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)23 b Fb(10)2021 +5425 y Fs(W)2025 5552 y Fe(while)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)23 +b Fb(10)p eop end +%%Page: 166 172 +TeXDict begin 166 171 bop 150 -116 a Fu(App)s(endix)29 +b(D:)i(Indexes)2623 b(166)150 299 y Fs(D.3)68 b(P)l(arameter)47 +b(and)d(V)-11 b(ariable)46 b(Index)146 955 y(!)150 1073 +y Fe(!)19 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)33 +b Fb(20)146 1327 y Fs(#)150 1445 y Fe(#)19 b Fc(:)13 +b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)33 b Fb(20)146 +1701 y Fs($)150 1820 y Fe($)19 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -48 b Fb(71)150 3748 y Fe(BASH_REMATCH)22 b Fc(:)13 b(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)45 b Fb(71)150 -3836 y Fe(BASH_SOURCE)24 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)48 b Fb(71)150 3923 y Fe(BASH_SUBSHELL)16 -b Fc(:)g(:)e(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)43 -b Fb(71)150 4010 y Fe(BASH_VERSINFO)16 b Fc(:)g(:)e(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)43 b Fb(71)150 4098 y Fe(BASH_VERSION)22 -b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)45 -b Fb(72)150 4185 y Fe(BASH_XTRACEFD)16 b Fc(:)g(:)e(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)33 b Fb(20)150 1909 y Fe($!)16 b Fc(:)e(:)f(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)31 b Fb(20)150 1997 y Fe($#)16 b Fc(:)e(:)f(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)31 b Fb(20)150 2085 y Fe($$)16 b Fc(:)e(:)f(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)43 b Fb(72)150 4272 y Fe(BASHOPTS)12 -b Fc(:)j(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)38 b Fb(70)150 4360 y Fe(BASHPID)15 b -Fc(:)f(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)41 b Fb(70)150 4447 y Fe(bell-style)24 -b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)31 b Fb(20)150 2173 y Fe($*)16 +b Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)31 b Fb(20)150 +2261 y Fe($-)16 b Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)31 +b Fb(20)150 2350 y Fe($?)16 b Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -49 b Fb(105)150 4534 y Fe(bind-tty-special-chars)8 b -Fc(:)18 b(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)35 b Fb(105)150 4787 y Fs(C)150 4903 -y Fe(CDPATH)17 b Fc(:)e(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)43 b Fb(69)150 4991 -y Fe(CHILD_MAX)9 b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +31 b Fb(20)150 2438 y Fe($@)16 b Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)31 b Fb(20)150 2526 y Fe($_)16 b Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 b Fb(72)150 5078 y -Fe(colored-stats)14 b Fc(:)i(:)d(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)41 b Fb(105)150 5165 y Fe(COLUMNS)15 b Fc(:)f(:)f(:)h(:)f(:)g(:) +(:)g(:)31 b Fb(20)150 2613 y Fe($0)16 b Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)41 -b Fb(72)150 5253 y Fe(comment-begin)14 b Fc(:)i(:)d(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)31 b Fb(20)146 2876 y Fs(*)150 2994 y Fe(*)19 +b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)41 b Fb(105)150 5340 y Fe(COMP_CWORD)7 -b Fc(:)15 b(:)e(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)33 b Fb(72)2025 299 y Fe(COMP_KEY)12 b Fc(:)j(:)e(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 -b Fb(73)2025 386 y Fe(COMP_LINE)9 b Fc(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)36 b -Fb(72)2025 474 y Fe(COMP_POINT)7 b Fc(:)15 b(:)e(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)33 b Fb(72)2025 -561 y Fe(COMP_TYPE)9 b Fc(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)36 b Fb(73)2025 649 -y Fe(COMP_WORDBREAKS)11 b Fc(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)38 b Fb(73)2025 736 y Fe(COMP_WORDS)7 b Fc(:)15 -b(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -33 b Fb(73)2025 824 y Fe(completion-display-width)26 -b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)47 b Fb(105)2025 911 y Fe(completion-ignore-case)8 -b Fc(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)35 b Fb(105)2025 999 y Fe(completion-map-case)16 -b Fc(:)h(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)43 b Fb(105)2025 1086 y Fe -(completion-prefix-display-leng)q(th)17 b Fc(:)i(:)13 -b(:)g(:)h(:)f(:)g(:)g(:)g(:)44 b Fb(106)2025 1174 y Fe -(completion-query-items)8 b Fc(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 b -Fb(106)2025 1261 y Fe(COMPREPLY)9 b Fc(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)36 b -Fb(73)2025 1349 y Fe(convert-meta)17 b Fc(:)e(:)f(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 b Fb(106)2025 1436 y Fe(COPROC)17 -b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)44 b Fb(73)2025 1671 y Fs(D)2025 -1788 y Fe(DIRSTACK)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)33 b +Fb(20)146 3248 y Fs({)150 3366 y Fe(-)19 b Fc(:)13 b(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 b Fb(73)2025 1875 -y Fe(disable-completion)22 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)45 -b Fb(106)2025 2128 y Fs(E)2025 2245 y Fe(editing-mode)17 -b Fc(:)e(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 -b Fb(106)2025 2332 y Fe(EMACS)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 -b Fb(73)2025 2420 y Fe(enable-keypad)14 b Fc(:)i(:)d(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)41 b Fb(106)2025 2507 y Fe(ENV)8 -b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)34 b Fb(73)2025 -2595 y Fe(EUID)23 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)49 -b Fb(73)2025 2682 y Fe(expand-tilde)17 b Fc(:)e(:)f(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 b Fb(106)2025 2936 y Fs(F)2025 -3052 y Fe(FCEDIT)17 b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 b Fb(73)2025 -3140 y Fe(FIGNORE)15 b Fc(:)f(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +g(:)h(:)f(:)g(:)g(:)33 b Fb(20)146 3620 y Fs(?)150 3738 +y Fe(?)19 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)33 +b Fb(20)146 3992 y Fs(@)150 4110 y Fe(@)19 b Fc(:)13 +b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)41 b Fb(74)2025 -3227 y Fe(FUNCNAME)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 b Fb(74)2025 3315 -y Fe(FUNCNEST)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 b Fb(74)2025 3549 -y Fs(G)2025 3666 y Fe(GLOBIGNORE)7 b Fc(:)15 b(:)e(:)g(:)g(:)h(:)f(:)g +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)33 b Fb(20)p +156 4364 41 6 v 150 4482 a Fe(_)19 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)33 b Fb(74)2025 -3753 y Fe(GROUPS)17 b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 b Fb(74)2025 -3988 y Fs(H)2025 4104 y Fe(histchars)9 b Fc(:)15 b(:)f(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)36 -b Fb(74)2025 4192 y Fe(HISTCMD)15 b Fc(:)f(:)f(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)41 -b Fb(74)2025 4279 y Fe(HISTCONTROL)24 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)48 b Fb(74)2025 -4367 y Fe(HISTFILE)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)33 b Fb(20)146 4736 y Fs(0)150 4854 y +Fe(0)19 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)33 +b Fb(20)146 5108 y Fs(A)150 5226 y Fe(auto_resume)8 b +Fc(:)16 b(:)d(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +23 b Fb(103)2021 954 y Fs(B)2025 1076 y Fe(BASH)11 b +Fc(:)j(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 b Fb(75)2025 4454 -y Fe(HISTFILESIZE)21 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)45 b Fb(75)2025 4542 y Fe(HISTIGNORE)7 -b Fc(:)15 b(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)33 b Fb(75)2025 4630 y Fe(history-preserve-point)8 -b Fc(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)35 b Fb(107)2025 4717 y Fe(history-size)17 -b Fc(:)e(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 -b Fb(107)2025 4805 y Fe(HISTSIZE)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 -b Fb(75)2025 4892 y Fe(HISTTIMEFORMAT)14 b Fc(:)i(:)d(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)40 b Fb(75)2025 4980 y Fe(HOME)23 +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 b Fb(71)2025 1165 +y Fe(BASH_ALIASES)8 b Fc(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)22 b Fb(72)2025 1254 y Fe(BASH_ARGC)15 +b Fc(:)g(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)30 b Fb(72)2025 1343 y Fe(BASH_ARGV)15 b Fc(:)g(:)f(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 +b Fb(72)2025 1432 y Fe(BASH_CMDS)15 b Fc(:)g(:)f(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 b Fb(72)2025 +1521 y Fe(BASH_COMMAND)8 b Fc(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)22 b Fb(72)2025 1611 y Fe(BASH_COMPAT)10 +b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)25 b Fb(73)2025 1700 y Fe(BASH_ENV)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)33 +b Fb(73)2025 1789 y Fe(BASH_EXECUTION_STRING)24 b Fc(:)13 +b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)34 b Fb(73)2025 1878 y Fe(BASH_LINENO)10 +b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)25 b Fb(73)2025 1967 y Fe(BASH_LOADABLES_PATH)7 b +Fc(:)17 b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(73)2025 +2056 y Fe(BASH_REMATCH)8 b Fc(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)22 b Fb(73)2025 2145 y Fe(BASH_SOURCE)10 +b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)25 b Fb(73)2025 2235 y Fe(BASH_SUBSHELL)g Fc(:)13 +b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 +b Fb(73)2025 2324 y Fe(BASH_VERSINFO)25 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fb(73)2025 2413 +y Fe(BASH_VERSION)8 b Fc(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)22 b Fb(74)2025 2502 y Fe(BASH_XTRACEFD)j +Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 +b Fb(74)2025 2591 y Fe(BASHOPTS)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)33 b +Fb(72)2025 2680 y Fe(BASHPID)22 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 +b Fb(72)2025 2769 y Fe(bell-style)11 b Fc(:)k(:)e(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)26 b Fb(108)2025 +2858 y Fe(bind-tty-special-chars)14 b Fc(:)k(:)13 b(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)29 +b Fb(108)2025 2946 y Fe(blink-matching-paren)24 b Fc(:)13 +b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)34 b Fb(108)2021 3231 y Fs(C)2025 +3353 y Fe(CDPATH)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 b +Fb(71)2025 3442 y Fe(CHILD_MAX)15 b Fc(:)g(:)f(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 b Fb(74)2025 +3531 y Fe(colored-completion-prefix)7 b Fc(:)18 b(:)13 +b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 +b Fb(108)2025 3621 y Fe(colored-stats)h Fc(:)13 b(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fb(108)2025 3710 y Fe(COLUMNS)22 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)49 b Fb(69)2025 5067 -y Fe(horizontal-scroll-mode)8 b Fc(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 -b Fb(107)2025 5155 y Fe(HOSTFILE)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 -b Fb(75)2025 5242 y Fe(HOSTNAME)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 b -Fb(76)2025 5330 y Fe(HOSTTYPE)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 b -Fb(76)p eop end -%%Page: 163 169 -TeXDict begin 163 168 bop 150 -116 a Fu(App)s(endix)29 -b(D:)i(Indexes)2623 b(163)150 299 y Fs(I)150 415 y Fe(IFS)8 -b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 b Fb(69)150 -502 y Fe(IGNOREEOF)9 b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 b Fb(76)150 590 -y Fe(input-meta)24 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)49 b Fb(107)150 677 y Fe(INPUTRC)15 -b Fc(:)f(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)41 b Fb(76)150 764 y Fe(isearch-terminators)16 -b Fc(:)h(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)43 b Fb(107)150 997 y Fs(K)150 -1114 y Fe(keymap)15 b Fc(:)f(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)42 b Fb(107)150 -1366 y Fs(L)150 1482 y Fe(LANG)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g +g(:)g(:)h(:)f(:)g(:)35 b Fb(74)2025 3799 y Fe(comment-begin)23 +b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 +b Fb(108)2025 3888 y Fe(COMP_CWORD)13 b Fc(:)i(:)e(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)27 b Fb(74)2025 +3977 y Fe(COMP_KEY)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 -b Fb(76)150 1569 y Fe(LC_ALL)17 b Fc(:)e(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)43 -b Fb(76)150 1656 y Fe(LC_COLLATE)7 b Fc(:)15 b(:)e(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)33 b Fb(76)150 -1743 y Fe(LC_CTYPE)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)38 b Fb(76)150 1831 -y Fe(LC_MESSAGES)13 b Fc(:)j(:)d(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)40 b Fb(7,)26 b(76)150 1918 y Fe(LC_NUMERIC)7 -b Fc(:)15 b(:)e(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)33 b Fb(76)150 2005 y Fe(LINENO)17 b Fc(:)e(:)e(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)43 -b Fb(76)150 2093 y Fe(LINES)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)33 b Fb(75)2025 4066 +y Fe(COMP_LINE)15 b Fc(:)g(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 b Fb(74)2025 4155 y Fe(COMP_POINT)13 +b Fc(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)27 b Fb(75)2025 4244 y Fe(COMP_TYPE)15 b Fc(:)g(:)f(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)46 -b Fb(76)150 2326 y Fs(M)150 2442 y Fe(MACHTYPE)12 b Fc(:)j(:)e(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)38 -b Fb(76)150 2529 y Fe(MAIL)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 +b Fb(75)2025 4334 y Fe(COMP_WORDBREAKS)17 b Fc(:)g(:)c(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)32 b Fb(75)2025 4423 y Fe(COMP_WORDS)13 +b Fc(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)27 b Fb(75)2025 4512 y Fe(completion-display-width)9 +b Fc(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)24 b Fb(108)2025 4601 y Fe(completion-ignore-case)14 +b Fc(:)k(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)29 b Fb(109)2025 4690 y Fe(completion-map-case)d +Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fb(109)2025 4779 +y Fe(completion-prefix-display-leng)q(th)29 b Fc(:)13 +b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)38 b Fb(109)2025 4868 +y Fe(completion-query-items)14 b Fc(:)k(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)29 +b Fb(109)2025 4958 y Fe(COMPREPLY)15 b Fc(:)g(:)f(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)49 -b Fb(69)150 2617 y Fe(MAILCHECK)9 b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 b -Fb(77)150 2704 y Fe(MAILPATH)12 b Fc(:)j(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 b +Fb(75)2025 5047 y Fe(convert-meta)25 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)38 b Fb(109)2025 5134 +y Fe(COPROC)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 b Fb(75)p +eop end +%%Page: 167 173 +TeXDict begin 167 172 bop 150 -116 a Fu(App)s(endix)29 +b(D:)i(Indexes)2623 b(167)146 294 y Fs(D)150 419 y Fe(DIRSTACK)18 +b Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)38 b Fb(69)150 -2791 y Fe(MAPFILE)15 b Fc(:)f(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)g(:)h(:)f(:)32 b Fb(75)150 506 y Fe(disable-completion)7 +b Fc(:)18 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 b Fb(109)146 +810 y Fs(E)150 935 y Fe(echo-control-characters)12 b +Fc(:)18 b(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)26 b Fb(109)150 1025 y Fe(editing-mode)f +Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)37 +b Fb(109)150 1115 y Fe(emacs-mode-string)10 b Fc(:)17 +b(:)c(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)25 b Fb(109)150 1205 +y Fe(EMACS)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)23 b Fb(75)150 +1295 y Fe(enable-bracketed-paste)14 b Fc(:)k(:)c(:)f(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)29 +b Fb(110)150 1385 y Fe(enable-keypad)23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 b Fb(110)150 1475 y Fe(ENV)14 +b Fc(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)28 b Fb(76)150 +1565 y Fe(EUID)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)41 b Fb(77)150 -2878 y Fe(mark-modified-lines)16 b Fc(:)h(:)d(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)43 -b Fb(108)150 2966 y Fe(mark-symlinked-directories)16 -b Fc(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -42 b Fb(108)150 3053 y Fe(match-hidden-files)23 b Fc(:)13 -b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)45 b Fb(108)150 3140 y Fe -(menu-complete-display-prefix)11 b Fc(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)37 b Fb(108)150 3227 y Fe(meta-flag)7 -b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)34 b Fb(107)150 3479 y Fs(O)150 3596 y Fe(OLDPWD)17 -b Fc(:)e(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)43 b Fb(77)150 3683 y Fe(OPTARG)17 -b Fc(:)e(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)43 b Fb(69)150 3770 y Fe(OPTERR)17 -b Fc(:)e(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)43 b Fb(77)150 3857 y Fe(OPTIND)17 -b Fc(:)e(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)43 b Fb(69)150 3945 y Fe(OSTYPE)17 -b Fc(:)e(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)43 b Fb(77)150 4032 y Fe(output-meta)22 -b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)46 -b Fb(108)150 4284 y Fs(P)150 4400 y Fe(page-completions)7 -b Fc(:)16 b(:)d(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)33 b Fb(108)2025 -299 y Fe(PATH)23 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)49 -b Fb(69)2025 389 y Fe(PIPESTATUS)7 b Fc(:)15 b(:)e(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)33 b Fb(77)2025 -478 y Fe(POSIXLY_CORRECT)11 b Fc(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 +b Fb(76)150 1655 y Fe(EXECIGNORE)13 b Fc(:)i(:)e(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)27 b Fb(76)150 +1742 y Fe(expand-tilde)e Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)37 b Fb(110)146 2046 y Fs(F)150 2171 +y Fe(FCEDIT)6 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)20 b Fb(76)150 +2261 y Fe(FIGNORE)i Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)38 b Fb(77)2025 568 y Fe(PPID)23 b Fc(:)13 -b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)49 b Fb(77)2025 658 y Fe(PROMPT_COMMAND)14 -b Fc(:)i(:)d(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)40 -b Fb(77)2025 748 y Fe(PROMPT_DIRTRIM)14 b Fc(:)i(:)d(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)40 b Fb(77)2025 837 y Fe(PS1)8 -b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 b Fb(76)150 +2351 y Fe(FUNCNAME)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)34 b Fb(69)2025 -927 y Fe(PS2)8 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)34 -b Fb(69)2025 1017 y Fe(PS3)8 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -34 b Fb(77)2025 1107 y Fe(PS4)8 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)32 b Fb(76)150 2438 +y Fe(FUNCNEST)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)32 b Fb(76)146 2731 y +Fs(G)150 2855 y Fe(GLOBIGNORE)13 b Fc(:)i(:)e(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)34 b Fb(77)2025 1197 y Fe(PWD)8 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)27 b Fb(76)150 +2942 y Fe(GROUPS)6 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)20 b +Fb(76)146 3235 y Fs(H)150 3360 y Fe(histchars)15 b Fc(:)h(:)d(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)30 +b Fb(76)150 3450 y Fe(HISTCMD)22 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 +b Fb(77)150 3540 y Fe(HISTCONTROL)10 b Fc(:)16 b(:)d(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)25 b Fb(77)150 +3630 y Fe(HISTFILE)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)32 b Fb(77)150 3720 +y Fe(HISTFILESIZE)8 b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)22 b Fb(77)150 3810 y Fe(HISTIGNORE)13 +b Fc(:)i(:)e(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)34 b Fb(77)2025 1443 y Fs(R)2025 1564 y Fe(RANDOM)17 -b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)44 b Fb(77)2025 1654 y Fe(READLINE_LINE)16 -b Fc(:)g(:)d(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)43 -b Fb(78)2025 1744 y Fe(READLINE_POINT)14 b Fc(:)i(:)d(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)40 b Fb(78)2025 1834 y Fe(REPLY)21 -b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 b Fb(78)2025 1923 y Fe -(revert-all-at-newline)11 b Fc(:)18 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)38 -b Fb(108)2025 2170 y Fs(S)2025 2291 y Fe(SECONDS)15 b -Fc(:)f(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)41 b Fb(78)2025 2381 y Fe(SHELL)21 b -Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 b Fb(78)2025 2471 y Fe(SHELLOPTS)9 -b Fc(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)36 b Fb(78)2025 2560 y Fe(SHLVL)21 b Fc(:)13 -b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)27 b Fb(77)150 3900 y Fe(history-preserve-point)14 +b Fc(:)k(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)29 b Fb(110)150 3990 y Fe(history-size)c +Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)37 +b Fb(110)150 4080 y Fe(HISTSIZE)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)46 b Fb(78)2025 2650 y Fe(show-all-if-ambiguous)11 -b Fc(:)18 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)38 b Fb(109)2025 2740 y Fe -(show-all-if-unmodified)8 b Fc(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 b -Fb(109)2025 2830 y Fe(show-mode-in-prompt)16 b Fc(:)h(:)c(:)g(:)h(:)f +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)32 b +Fb(78)150 4170 y Fe(HISTTIMEFORMAT)23 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)43 b Fb(109)2025 2919 y Fe(skip-completed-text)16 -b Fc(:)h(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)43 b Fb(109)2025 3184 y Fs(T)2025 -3306 y Fe(TEXTDOMAIN)9 b Fc(:)15 b(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)36 b Fb(7)2025 3395 -y Fe(TEXTDOMAINDIR)21 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 b Fb(78)150 4260 y Fe(HOME)11 +b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 b Fb(71)150 4350 +y Fe(horizontal-scroll-mode)14 b Fc(:)k(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)29 b Fb(110)150 +4440 y Fe(HOSTFILE)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)32 b Fb(78)150 4530 +y Fe(HOSTNAME)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)32 b Fb(78)150 4617 y +Fe(HOSTTYPE)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)46 b Fb(7)2025 3485 y Fe(TIMEFORMAT)7 -b Fc(:)15 b(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)33 b Fb(78)2025 3575 y Fe(TMOUT)21 b Fc(:)13 -b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +g(:)g(:)g(:)g(:)g(:)h(:)f(:)32 b Fb(78)2021 294 y Fs(I)2025 +421 y Fe(IFS)14 b Fc(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)28 +b Fb(71)2025 512 y Fe(IGNOREEOF)15 b Fc(:)g(:)f(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 b Fb(78)2025 +602 y Fe(input-meta)11 b Fc(:)k(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)26 b Fb(110)2025 693 y Fe(INPUTRC)c +Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)35 b Fb(78)2025 780 y Fe(isearch-terminators)26 +b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fb(111)2021 1088 +y Fs(K)2025 1211 y Fe(keymap)22 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 +b Fb(111)2021 1531 y Fs(L)2025 1658 y Fe(LANG)11 b Fc(:)j(:)f(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)26 b Fb(78)2025 1748 y Fe(LC_ALL)6 b Fc(:)14 +b(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)21 b Fb(78)2025 1839 y Fe(LC_COLLATE)13 +b Fc(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)27 b Fb(78)2025 1930 y Fe(LC_CTYPE)18 b Fc(:)d(:)e(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)33 +b Fb(78)2025 2021 y Fe(LC_MESSAGES)21 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)34 b Fb(7,)26 b(79)2025 +2111 y Fe(LC_NUMERIC)13 b Fc(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)27 b Fb(79)2025 2202 y +Fe(LC_TIME)22 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fb(79)2025 2293 +y Fe(LINENO)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 b Fb(79)2025 +2380 y Fe(LINES)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)46 b Fb(79)2025 3665 y Fe(TMPDIR)17 -b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)44 b Fb(79)2025 3911 y Fs(U)2025 -4032 y Fe(UID)8 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)23 +b Fb(79)2021 2688 y Fs(M)2025 2815 y Fe(MACHTYPE)18 b +Fc(:)d(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)33 b Fb(79)2025 2906 y Fe(MAIL)11 b Fc(:)j(:)f(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)26 b Fb(71)2025 2996 y Fe(MAILCHECK)15 b Fc(:)g(:)f(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)34 -b Fb(79)2025 4279 y Fs(V)2025 4400 y Fe(visible-stats)14 -b Fc(:)i(:)d(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)41 -b Fb(109)150 4649 y Fs(D.4)68 b(F)-11 b(unction)44 b(Index)150 -4886 y(A)150 5010 y Fe(abort)27 b(\(C-g\))9 b Fc(:)14 -b(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 -b Fb(122)150 5102 y Fe(accept-line)28 b(\(Newline)g(or)e(Return\))e -Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)50 b -Fb(116)150 5193 y Fe(alias-expand-line)29 b(\(\))21 b -Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)47 b Fb(124)2025 4886 y Fs(B)2025 -5033 y Fe(backward-char)28 b(\(C-b\))c Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)50 -b Fb(115)2025 5135 y Fe(backward-delete-char)30 b(\(Rubout\))14 -b Fc(:)h(:)e(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)41 -b Fb(117)2025 5238 y Fe(backward-kill-line)29 b(\(C-x)e(Rubout\))16 -b Fc(:)f(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)43 b Fb(118)2025 -5340 y Fe(backward-kill-word)29 b(\(M-DEL\))24 b Fc(:)13 -b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)49 -b Fb(119)p eop end -%%Page: 164 170 -TeXDict begin 164 169 bop 150 -116 a Fu(App)s(endix)29 -b(D:)i(Indexes)2623 b(164)150 299 y Fe(backward-word)29 -b(\(M-b\))23 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)49 b Fb(115)150 -387 y Fe(beginning-of-history)30 b(\(M-<\))23 b Fc(:)13 -b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)49 -b Fb(116)150 475 y Fe(beginning-of-line)29 b(\(C-a\))13 -b Fc(:)h(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)39 b Fb(115)150 732 y Fs(C)150 851 y Fe -(call-last-kbd-macro)30 b(\(C-x)c(e\))9 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 b Fb(121)150 -939 y Fe(capitalize-word)29 b(\(M-c\))18 b Fc(:)c(:)f(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)44 -b Fb(118)150 1027 y Fe(character-search)29 b(\(C-]\))15 -b Fc(:)g(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)42 b Fb(122)150 1115 y Fe(character-search-backward)31 -b(\(M-C-]\))23 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)48 -b Fb(122)150 1204 y Fe(clear-screen)28 b(\(C-l\))8 b -Fc(:)15 b(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 b Fb(115)150 -1292 y Fe(complete)27 b(\(TAB\))20 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 +b Fb(79)2025 3087 y Fe(MAILPATH)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)33 b +Fb(71)2025 3178 y Fe(MAPFILE)22 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)45 b Fb(120)150 1380 y Fe(complete-command)29 -b(\(M-!\))15 b Fc(:)g(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)42 b Fb(121)150 1468 y -Fe(complete-filename)29 b(\(M-/\))13 b Fc(:)h(:)f(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)39 -b Fb(120)150 1556 y Fe(complete-hostname)29 b(\(M-@\))13 -b Fc(:)h(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)39 b Fb(121)150 1645 y Fe(complete-into-braces)30 -b(\(M-{\))23 b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)49 b Fb(121)150 1733 y Fe(complete-username)29 -b(\(M-~\))13 b Fc(:)h(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)39 b Fb(121)150 1821 y Fe(complete-variable) -29 b(\(M-$\))13 b Fc(:)h(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)39 b Fb(121)150 1909 y Fe -(copy-backward-word)30 b(\(\))18 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)44 -b Fb(119)150 1998 y Fe(copy-forward-word)29 b(\(\))21 -b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)47 b Fb(119)150 2086 y Fe -(copy-region-as-kill)30 b(\(\))15 b Fc(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)42 -b Fb(119)150 2343 y Fs(D)150 2461 y Fe(dabbrev-expand)29 -b(\(\))11 b Fc(:)i(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)38 -b Fb(121)150 2549 y Fe(delete-char)28 b(\(C-d\))11 b -Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)38 b Fb(117)150 -2638 y Fe(delete-char-or-list)30 b(\(\))15 b Fc(:)f(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)42 -b Fb(120)150 2726 y Fe(delete-horizontal-space)31 b(\(\))22 -b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -49 b Fb(119)150 2814 y Fe(digit-argument)29 b(\()p Fd(M-0)p -Fe(,)e Fd(M-1)p Fe(,)f(...)g Fd(M--)p Fe(\))d Fc(:)13 -b(:)h(:)f(:)g(:)g(:)g(:)g(:)49 b Fb(119)150 2902 y Fe -(display-shell-version)30 b(\(C-x)d(C-v\))16 b Fc(:)e(:)f(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)43 b Fb(123)150 2991 y Fe(do-uppercase-version) -30 b(\(M-a,)d(M-b,)f(M-)p Fd(x)p Fe(,)h(...)q(\))325 -3078 y Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)48 b Fb(122)150 3166 -y Fe(downcase-word)29 b(\(M-l\))23 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)49 -b Fb(118)150 3254 y Fe(dump-functions)29 b(\(\))11 b -Fc(:)i(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)38 b Fb(123)150 -3342 y Fe(dump-macros)28 b(\(\))19 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 +b Fb(79)2025 3269 y Fe(mark-modified-lines)26 b Fc(:)13 +b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)37 b Fb(111)2025 3359 y Fe +(mark-symlinked-directories)27 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)36 b Fb(111)2025 3450 +y Fe(match-hidden-files)7 b Fc(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)22 +b Fb(111)2025 3541 y Fe(menu-complete-display-prefix)17 +b Fc(:)h(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)31 +b Fb(112)2025 3628 y Fe(meta-flag)13 b Fc(:)i(:)e(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)28 b Fb(110)2021 +3947 y Fs(O)2025 4074 y Fe(OLDPWD)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 +b Fb(79)2025 4165 y Fe(OPTARG)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 +b Fb(71)2025 4256 y Fe(OPTERR)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 +b Fb(79)2025 4347 y Fe(OPTIND)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 +b Fb(71)2025 4437 y Fe(OSTYPE)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 +b Fb(79)2025 4525 y Fe(output-meta)8 b Fc(:)16 b(:)d(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)23 b Fb(112)p +eop end +%%Page: 168 174 +TeXDict begin 168 173 bop 150 -116 a Fu(App)s(endix)29 +b(D:)i(Indexes)2623 b(168)146 294 y Fs(P)150 410 y Fe(page-completions) +13 b Fc(:)j(:)d(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)27 b Fb(112)150 +497 y Fe(PATH)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)25 +b Fb(71)150 584 y Fe(PIPESTATUS)13 b Fc(:)i(:)e(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)27 b Fb(79)150 +671 y Fe(POSIXLY_CORRECT)17 b Fc(:)g(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)32 b Fb(79)150 758 y Fe(PPID)11 b Fc(:)j(:)f(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)25 b Fb(79)150 846 y Fe(PROMPT_COMMAND)e Fc(:)13 +b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 +b Fb(79)150 933 y Fe(PROMPT_DIRTRIM)23 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 b Fb(80)150 1020 y Fe(PS0)14 +b Fc(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)28 b Fb(80)150 +1107 y Fe(PS1)14 b Fc(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)45 b Fb(123)150 3431 y Fe(dump-variables)29 -b(\(\))11 b Fc(:)i(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)38 -b Fb(123)150 3519 y Fe(dynamic-complete-history)31 b(\(M-TAB\))7 -b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)33 b Fb(121)150 -3776 y Fs(E)150 3894 y Fe(edit-and-execute-command)e(\(C-xC-e\))23 -b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)48 b Fb(124)150 -3982 y Fe(end-kbd-macro)29 b(\(C-x)d(\)\))7 b Fc(:)14 -b(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)34 b Fb(121)150 4071 y Fd(end-of-file)28 -b Fe(\(usually)g(C-d\))14 b Fc(:)g(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)41 b Fb(117)150 4159 y -Fe(end-of-history)29 b(\(M->\))21 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)47 -b Fb(116)150 4247 y Fe(end-of-line)28 b(\(C-e\))11 b -Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)38 b Fb(115)150 -4335 y Fe(exchange-point-and-mark)31 b(\(C-x)26 b(C-x\))11 -b Fc(:)j(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)38 b Fb(122)150 -4592 y Fs(F)150 4710 y Fe(forward-backward-delete-char)32 -b(\(\))9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 -b Fb(117)150 4799 y Fe(forward-char)28 b(\(C-f\))8 b -Fc(:)15 b(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 b Fb(115)150 -4887 y Fe(forward-search-history)c(\(C-s\))17 b Fc(:)d(:)f(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)44 b Fb(116)150 4975 -y Fe(forward-word)28 b(\(M-f\))8 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)35 b Fb(115)150 5222 y Fs(G)150 5340 y Fe(glob-complete-word)30 -b(\(M-g\))10 b Fc(:)k(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)37 b Fb(123)2025 299 y Fe(glob-expand-word)29 -b(\(C-x)e(*\))17 b Fc(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)44 b Fb(123)2025 388 y Fe -(glob-list-expansions)30 b(\(C-x)c(g\))7 b Fc(:)14 b(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(123)2025 -651 y Fs(H)2025 771 y Fe(history-and-alias-expand-line)e(\(\))7 -b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(124)2025 -860 y Fe(history-expand-line)c(\(M-^\))8 b Fc(:)13 b(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)34 b -Fb(123)2025 950 y Fe(history-search-backward)d(\(\))22 -b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -49 b Fb(116)2025 1039 y Fe(history-search-forward)30 -b(\(\))8 b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)34 b Fb(116)2025 1128 y Fe -(history-substr-search-backward)e(\(\))22 b Fc(:)13 b(:)g(:)g(:)g(:)h -(:)f(:)g(:)48 b Fb(117)2025 1217 y Fe(history-substr-search-forward)32 -b(\(\))7 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)34 -b Fb(116)2025 1480 y Fs(I)2025 1600 y Fe(insert-comment)29 -b(\(M-#\))21 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)47 b Fb(123)2025 -1690 y Fe(insert-completions)29 b(\(M-*\))10 b Fc(:)15 -b(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)37 b Fb(120)2025 1779 y Fe(insert-last-argument)30 -b(\(M-.)c(or)g(M-_\))18 b Fc(:)c(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)45 -b Fb(124)2025 2041 y Fs(K)2025 2162 y Fe(kill-line)27 -b(\(C-k\))16 b Fc(:)f(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)43 -b Fb(118)2025 2251 y Fe(kill-region)28 b(\(\))19 b Fc(:)13 -b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)45 b Fb(119)2025 -2340 y Fe(kill-whole-line)29 b(\(\))8 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)35 b Fb(118)2025 2430 y Fe(kill-word)27 b(\(M-d\))16 -b Fc(:)f(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)43 b -Fb(118)2025 2682 y Fs(M)2025 2802 y Fe(magic-space)28 -b(\(\))19 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)45 -b Fb(124)2025 2891 y Fe(menu-complete)28 b(\(\))13 b -Fc(:)h(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)40 b Fb(120)2025 -2981 y Fe(menu-complete-backward)30 b(\(\))8 b Fc(:)13 -b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)34 -b Fb(120)2025 3243 y Fs(N)2025 3364 y Fe(next-history)28 -b(\(C-n\))8 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 -b Fb(116)2025 3453 y Fe(non-incremental-forward-search)q(-hist)q(ory)d -(\(M-n\))2200 3540 y Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)28 +b Fb(71)150 1194 y Fe(PS2)14 b Fc(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)49 b -Fb(116)2025 3629 y Fe(non-incremental-reverse-search)q(-hist)q(ory)32 -b(\(M-p\))2200 3716 y Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)28 +b Fb(71)150 1281 y Fe(PS3)14 b Fc(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)49 b -Fb(116)2025 3960 y Fs(O)2025 4081 y Fe(operate-and-get-next)30 -b(\(C-o\))23 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)49 b Fb(124)2025 4170 y Fe(overwrite-mode)29 -b(\(\))11 b Fc(:)i(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)38 -b Fb(118)2025 4422 y Fs(P)2025 4542 y Fe(possible-command-completions) -32 b(\(C-x)26 b(!\))21 b Fc(:)13 b(:)g(:)h(:)f(:)47 b -Fb(121)2025 4632 y Fe(possible-completions)30 b(\(M-?\))23 -b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -49 b Fb(120)2025 4721 y Fe(possible-filename-completions)32 -b(\(C-x)26 b(/\))18 b Fc(:)c(:)f(:)g(:)45 b Fb(120)2025 -4810 y Fe(possible-hostname-completions)32 b(\(C-x)26 -b(@\))18 b Fc(:)c(:)f(:)g(:)45 b Fb(121)2025 4900 y Fe -(possible-username-completions)32 b(\(C-x)26 b(~\))18 -b Fc(:)c(:)f(:)g(:)45 b Fb(121)2025 4989 y Fe -(possible-variable-completions)32 b(\(C-x)26 b($\))18 -b Fc(:)c(:)f(:)g(:)45 b Fb(121)2025 5078 y Fe(prefix-meta)28 -b(\(ESC\))11 b Fc(:)j(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)38 -b Fb(122)2025 5167 y Fe(previous-history)29 b(\(C-p\))15 -b Fc(:)f(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)42 b Fb(116)2025 5257 y Fe(print-last-kbd-macro)30 -b(\(\))13 b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)40 b Fb(122)p eop end -%%Page: 165 171 -TeXDict begin 165 170 bop 150 -116 a Fu(App)s(endix)29 -b(D:)i(Indexes)2623 b(165)150 299 y Fs(Q)150 416 y Fe(quoted-insert)29 -b(\(C-q)d(or)g(C-v\))20 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)45 b Fb(117)150 670 y Fs(R)150 -787 y Fe(re-read-init-file)29 b(\(C-x)e(C-r\))9 b Fc(:)14 -b(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 -b Fb(122)150 875 y Fe(redraw-current-line)30 b(\(\))15 -b Fc(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)42 b Fb(115)150 963 y Fe(reverse-search-history)31 -b(\(C-r\))17 b Fc(:)d(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)44 b Fb(116)150 1051 y Fe(revert-line)28 b(\(M-r\))11 -b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)38 b Fb(122)150 -1294 y Fs(S)150 1412 y Fe(self-insert)28 b(\(a,)e(b,)g(A,)g(1,)h(!,)f -(...\))7 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)33 -b Fb(118)150 1499 y Fe(set-mark)27 b(\(C-@\))20 b Fc(:)13 -b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)45 b Fb(122)150 -1587 y Fe(shell-backward-kill-word)31 b(\(\))20 b Fc(:)13 -b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 -b Fb(119)150 1675 y Fe(shell-backward-word)30 b(\(\))15 -b Fc(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)42 b Fb(115)150 1762 y Fe(shell-expand-line)29 -b(\(M-C-e\))8 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)34 b Fb(123)150 1850 y Fe(shell-forward-word)c -(\(\))18 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)44 b Fb(115)150 1938 -y Fe(shell-kill-word)29 b(\(\))8 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)35 b Fb(119)150 2026 y Fe(skip-csi-sequence)29 b(\(\))21 -b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)47 b Fb(122)150 2113 y Fe(start-kbd-macro)29 -b(\(C-x)e(\(\))19 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)46 b Fb(121)2025 299 -y Fs(T)2025 424 y Fe(tilde-expand)28 b(\(M-&\))8 b Fc(:)15 -b(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fb(122)2025 515 y -Fe(transpose-chars)29 b(\(C-t\))18 b Fc(:)c(:)f(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)45 -b Fb(118)2025 607 y Fe(transpose-words)29 b(\(M-t\))18 -b Fc(:)c(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)45 b Fb(118)2025 881 y Fs(U)2025 -1006 y Fe(undo)26 b(\(C-_)h(or)f(C-x)g(C-u\))c Fc(:)13 -b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)48 b Fb(122)2025 1097 y Fe(universal-argument)29 -b(\(\))18 b Fc(:)c(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)45 b Fb(119)2025 1189 -y Fe(unix-filename-rubout)30 b(\(\))13 b Fc(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)40 -b Fb(119)2025 1280 y Fe(unix-line-discard)29 b(\(C-u\))13 -b Fc(:)h(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)40 b Fb(118)2025 1372 y Fe(unix-word-rubout)29 -b(\(C-w\))15 b Fc(:)f(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)42 b Fb(119)2025 1463 -y Fe(upcase-word)28 b(\(M-u\))11 b Fc(:)j(:)f(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)38 b Fb(118)2025 1737 y Fs(Y)2025 1862 y Fe(yank)26 -b(\(C-y\))12 b Fc(:)i(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)28 +b Fb(80)150 1369 y Fe(PS4)14 b Fc(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)28 +b Fb(80)150 1456 y Fe(PWD)14 b Fc(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)28 +b Fb(80)146 1689 y Fs(R)150 1804 y Fe(RANDOM)6 b Fc(:)15 +b(:)e(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)39 b Fb(119)2025 1954 y Fe(yank-last-arg)28 -b(\(M-.)f(or)f(M-_\))19 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)46 b Fb(117)2025 2045 y Fe(yank-nth-arg)28 -b(\(M-C-y\))22 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)47 b Fb(117)2025 -2137 y Fe(yank-pop)27 b(\(M-y\))20 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f +g(:)g(:)g(:)h(:)f(:)20 b Fb(80)150 1892 y Fe(READLINE_LINE)25 +b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 +b Fb(80)150 1979 y Fe(READLINE_POINT)23 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)45 b Fb(119)150 2369 y Fs(D.5)68 -b(Concept)45 b(Index)150 2629 y(A)150 2748 y Fb(alias)27 -b(expansion)18 b Fc(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)44 b Fb(88)150 2836 y(arithmetic)26 b(ev)l(aluation)16 -b Fc(:)e(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)43 b Fb(87)150 2925 -y(arithmetic)26 b(expansion)d Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)49 -b Fb(29)150 3013 y(arithmetic,)27 b(shell)17 b Fc(:)d(:)f(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)43 b Fb(87)150 3102 y(arra)n(ys)15 -b Fc(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 b Fb(80)150 2066 y Fe(REPLY)9 +b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)23 b Fb(80)150 2153 y +Fe(revert-all-at-newline)17 b Fc(:)h(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)32 +b Fb(112)146 2386 y Fs(S)150 2502 y Fe(SECONDS)22 b Fc(:)13 +b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)35 b Fb(80)150 2589 y Fe(SHELL)9 b Fc(:)14 +b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)23 b Fb(80)150 2676 y Fe(SHELLOPTS)15 +b Fc(:)h(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)41 b Fb(89)150 3358 y Fs(B)150 -3477 y Fb(bac)n(kground)9 b Fc(:)j(:)i(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)g(:)g(:)30 b Fb(80)150 2763 y Fe(SHLVL)9 b Fc(:)14 +b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)23 b Fb(80)150 2851 y Fe(show-all-if-ambiguous) +17 b Fc(:)h(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)32 b Fb(112)150 2938 y Fe +(show-all-if-unmodified)14 b Fc(:)k(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)29 b Fb(112)2025 +260 y Fe(show-mode-in-prompt)d Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 +b Fb(112)2025 347 y Fe(skip-completed-text)26 b Fc(:)13 +b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)37 b Fb(112)2021 675 y Fs(T)2025 +803 y Fe(TEXTDOMAIN)15 b Fc(:)g(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)30 b Fb(7)2025 894 y +Fe(TEXTDOMAINDIR)7 b Fc(:)16 b(:)d(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fb(97)150 3565 y(Bash)26 -b(con\014guration)d Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)49 -b Fb(138)150 3654 y(Bash)26 b(installation)c Fc(:)13 -b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)46 b Fb(138)150 -3742 y(Bourne)26 b(shell)13 b Fc(:)h(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)40 b Fb(5)150 3831 -y(brace)26 b(expansion)20 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)47 b Fb(21)150 3919 y(builtin)9 b Fc(:)k(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)36 b Fb(3)150 4159 y Fs(C)150 4278 y Fb(command)26 -b(editing)13 b Fc(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)40 -b Fb(102)150 4366 y(command)26 b(execution)d Fc(:)13 -b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)49 b Fb(36)150 4455 -y(command)26 b(expansion)16 b Fc(:)d(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)42 -b Fb(35)150 4543 y(command)26 b(history)12 b Fc(:)h(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)39 b Fb(133)150 4632 y(command)26 -b(searc)n(h)10 b Fc(:)j(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -36 b Fb(36)150 4720 y(command)26 b(substitution)15 b -Fc(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)41 b Fb(28)150 4809 y(command)26 -b(timing)7 b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +g(:)g(:)g(:)g(:)g(:)23 b Fb(7)2025 985 y Fe(TIMEFORMAT)13 +b Fc(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)27 b Fb(81)2025 1076 y Fe(TMOUT)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)23 b Fb(81)2025 1164 y Fe(TMPDIR)6 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)34 b Fb(8)150 4897 y(commands,)26 b(comp)r(ound)18 -b Fc(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)45 b Fb(9)150 4986 -y(commands,)26 b(conditional)d Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)48 -b Fb(10)150 5074 y(commands,)26 b(grouping)9 b Fc(:)14 -b(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 b Fb(14)150 5163 -y(commands,)26 b(lists)6 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)33 b Fb(9)150 5251 y(commands,)26 -b(lo)r(oping)16 b Fc(:)f(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)42 -b Fb(10)150 5340 y(commands,)26 b(pip)r(elines)12 b Fc(:)i(:)f(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)39 b Fb(8)2025 2629 y(commands,)26 -b(shell)15 b Fc(:)f(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 +b Fb(81)2021 1480 y Fs(U)2025 1604 y Fe(UID)14 b Fc(:)f(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -42 b Fb(8)2025 2720 y(commands,)26 b(simple)17 b Fc(:)d(:)f(:)g(:)h(:)f +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)28 b Fb(81)2021 1920 y Fs(V)2025 2049 +y Fe(vi-cmd-mode-string)7 b Fc(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)22 +b Fb(113)2025 2140 y Fe(vi-ins-mode-string)7 b Fc(:)17 +b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)22 b Fb(113)2025 2227 +y Fe(visible-stats)h Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)35 b Fb(113)150 3661 y Fs(D.4)68 b(F)-11 b(unction)44 +b(Index)146 4147 y(A)150 4273 y Fe(abort)27 b(\(C-g\))15 +b Fc(:)f(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)30 +b Fb(126)150 4363 y Fe(accept-line)e(\(Newline)g(or)e(Return\))12 +b Fc(:)i(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)27 +b Fb(120)150 4450 y Fe(alias-expand-line)i(\(\))9 b Fc(:)14 +b(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(128)146 4762 y Fs(B)150 +4888 y Fe(backward-char)29 b(\(C-b\))12 b Fc(:)i(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)26 b Fb(119)150 4978 y Fe(backward-delete-char)k(\(Rubout\))22 +b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)35 +b Fb(121)150 5069 y Fe(backward-kill-line)30 b(\(C-x)c(Rubout\))e +Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)37 b +Fb(122)150 5159 y Fe(backward-kill-word)30 b(\(M-DEL\))11 +b Fc(:)j(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +26 b Fb(123)150 5250 y Fe(backward-word)j(\(M-b\))12 +b Fc(:)i(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fb(119)150 5340 +y Fe(beginning-of-history)k(\(M-<\))11 b Fc(:)j(:)f(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 b Fb(120)2025 +4117 y Fe(beginning-of-line)j(\(C-a\))20 b Fc(:)13 b(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 +b Fb(119)2025 4204 y Fe(bracketed-paste-begin)c(\(\))16 +b Fc(:)e(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)31 b Fb(122)2021 4499 y Fs(C)2025 4623 y Fe +(call-last-kbd-macro)f(\(C-x)c(e\))15 b Fc(:)f(:)f(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)30 b Fb(126)2025 4713 +y Fe(capitalize-word)f(\(M-c\))7 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 +b Fb(122)2025 4802 y Fe(character-search)29 b(\(C-]\))22 +b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)36 b Fb(126)2025 4892 y Fe +(character-search-backward)31 b(\(M-C-]\))10 b Fc(:)15 +b(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)25 b Fb(127)2025 4981 +y Fe(clear-screen)j(\(C-l\))14 b Fc(:)h(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)29 +b Fb(119)2025 5071 y Fe(complete)e(\(TAB\))7 b Fc(:)15 +b(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)22 +b Fb(124)2025 5161 y Fe(complete-command)29 b(\(M-!\))22 +b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)36 b Fb(125)2025 5250 y Fe(complete-filename)29 +b(\(M-/\))20 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(125)2025 5340 y Fe +(complete-hostname)29 b(\(M-@\))20 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 +b Fb(125)p eop end +%%Page: 169 175 +TeXDict begin 169 174 bop 150 -116 a Fu(App)s(endix)29 +b(D:)i(Indexes)2623 b(169)150 264 y Fe(complete-into-braces)30 +b(\(M-{\))11 b Fc(:)j(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)26 b Fb(125)150 354 y Fe(complete-username)j(\(M-~\))20 +b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)33 b Fb(125)150 444 y Fe(complete-variable)c(\(M-$\))20 +b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)33 b Fb(125)150 534 y Fe(copy-backward-word)d(\(\))7 +b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)21 b Fb(123)150 624 y Fe(copy-forward-word) +29 b(\(\))9 b Fc(:)14 b(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(123)150 +711 y Fe(copy-region-as-kill)30 b(\(\))22 b Fc(:)13 b(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 +b Fb(123)146 1017 y Fs(D)150 1142 y Fe(dabbrev-expand)29 +b(\(\))17 b Fc(:)c(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)32 +b Fb(125)150 1232 y Fe(delete-char)c(\(C-d\))17 b Fc(:)d(:)f(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)32 b Fb(121)150 1322 y Fe(delete-char-or-list)e +(\(\))22 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 b Fb(125)150 1412 y Fe +(delete-horizontal-space)31 b(\(\))11 b Fc(:)i(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 b Fb(123)150 +1502 y Fe(digit-argument)j(\()p Fd(M-0)p Fe(,)e Fd(M-1)p +Fe(,)f(...)g Fd(M--)p Fe(\))11 b Fc(:)j(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:) +26 b Fb(124)150 1592 y Fe(display-shell-version)k(\(C-x)d(C-v\))c +Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)37 b +Fb(128)150 1673 y Fe(do-uppercase-version)30 b(\(M-a,)227 +1761 y(M-b,)c(M-)p Fd(x)p Fe(,)h(...\))10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)25 b Fb(126)150 1851 y Fe(downcase-word)k(\(M-l\)) +12 b Fc(:)i(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fb(122)150 1941 +y Fe(dump-functions)j(\(\))17 b Fc(:)c(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +32 b Fb(127)150 2031 y Fe(dump-macros)c(\(\))7 b Fc(:)14 +b(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 +b Fb(127)150 2121 y Fe(dump-variables)29 b(\(\))17 b +Fc(:)c(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)32 b Fb(127)150 +2208 y Fe(dynamic-complete-history)f(\(M-TAB\))13 b Fc(:)i(:)e(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)27 b Fb(125)146 2514 y Fs(E)150 +2639 y Fe(edit-and-execute-command)k(\(C-xC-e\))10 b +Fc(:)15 b(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)25 b Fb(128)150 +2729 y Fe(end-kbd-macro)k(\(C-x)d(\)\))13 b Fc(:)h(:)f(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)28 +b Fb(126)150 2819 y Fd(end-of-file)g Fe(\(usually)g(C-d\))21 +b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)35 b Fb(121)150 2909 y Fe(end-of-history)29 b(\(M->\))9 +b Fc(:)14 b(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(120)150 2999 y +Fe(end-of-line)k(\(C-e\))17 b Fc(:)d(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)32 +b Fb(119)150 3086 y Fe(exchange-point-and-mark)f(\(C-x)26 +b(C-x\))17 b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)32 +b Fb(126)146 3392 y Fs(F)150 3517 y Fe(forward-backward-delete-char)g +(\(\))15 b Fc(:)f(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 +b Fb(121)150 3607 y Fe(forward-char)e(\(C-f\))14 b Fc(:)h(:)e(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)29 b Fb(119)150 3697 y Fe(forward-search-history)i +(\(C-s\))24 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)38 b Fb(120)150 3784 y Fe(forward-word)28 b(\(M-f\))14 +b Fc(:)h(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)29 b Fb(119)146 4079 +y Fs(G)150 4204 y Fe(glob-complete-word)h(\(M-g\))16 +b Fc(:)e(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)31 b Fb(127)150 4294 y Fe(glob-expand-word)e(\(C-x)e(*\))c +Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)38 b Fb(127)150 4382 y Fe(glob-list-expansions)30 +b(\(C-x)d(g\))13 b Fc(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)27 b Fb(128)2021 294 y Fs(H)2025 423 y Fe +(history-and-alias-expand-line)32 b(\(\))13 b Fc(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)28 b Fb(128)2025 514 y Fe(history-expand-line)i +(\(M-^\))13 b Fc(:)h(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)28 b Fb(128)2025 606 y Fe(history-search-backward)j +(\(\))11 b Fc(:)i(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)26 b Fb(120)2025 697 y Fe(history-search-forward)k(\(\))13 +b Fc(:)h(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +h(:)28 b Fb(120)2025 789 y Fe(history-substr-search-backward)k(\(\))10 +b Fc(:)k(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)25 b Fb(121)2025 +876 y Fe(history-substr-search-forward)32 b(\(\))13 b +Fc(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)28 b Fb(120)2021 +1210 y Fs(I)2025 1339 y Fe(insert-comment)h(\(M-#\))9 +b Fc(:)14 b(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 b Fb(127)2025 1431 +y Fe(insert-completions)29 b(\(M-*\))16 b Fc(:)f(:)e(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)31 b +Fb(124)2025 1518 y Fe(insert-last-argument)f(\(M-.)c(or)g(M-_\))7 +b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(128)2021 +1852 y Fs(K)2025 1981 y Fe(kill-line)27 b(\(C-k\))c Fc(:)14 +b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fb(122)2025 +2073 y Fe(kill-region)28 b(\(\))7 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)22 b Fb(123)2025 2164 y Fe(kill-whole-line)29 +b(\(\))14 b Fc(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)29 b Fb(123)2025 +2251 y Fe(kill-word)e(\(M-d\))c Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)37 b Fb(123)2021 2575 y Fs(M)2025 2704 y +Fe(magic-space)28 b(\(\))7 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)22 b Fb(128)2025 2796 y Fe(menu-complete)28 +b(\(\))20 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)34 +b Fb(124)2025 2883 y Fe(menu-complete-backward)c(\(\))13 +b Fc(:)h(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +h(:)28 b Fb(124)2021 3217 y Fs(N)2025 3346 y Fe(next-history)g(\(C-n\)) +14 b Fc(:)h(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)29 b Fb(120)2025 +3429 y Fe(non-incremental-forward-)2102 3516 y(search-history)f +(\(M-n\))23 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fb(120)2025 3603 +y Fe(non-incremental-reverse-)2102 3690 y(search-history)28 +b(\(M-p\))23 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fb(120)2021 4033 +y Fs(O)2025 4162 y Fe(operate-and-get-next)30 b(\(C-o\))11 +b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +26 b Fb(128)2025 4249 y Fe(overwrite-mode)j(\(\))17 b +Fc(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)32 b Fb(122)p +eop end +%%Page: 170 176 +TeXDict begin 170 175 bop 150 -116 a Fu(App)s(endix)29 +b(D:)i(Indexes)2623 b(170)146 294 y Fs(P)150 414 y Fe +(possible-command-completions)32 b(\(C-x)26 b(!\))9 b +Fc(:)14 b(:)g(:)f(:)g(:)g(:)24 b Fb(125)150 502 y Fe +(possible-completions)30 b(\(M-?\))11 b Fc(:)j(:)f(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 b Fb(124)150 +591 y Fe(possible-filename-completions)32 b(\(C-x)27 +b(/\))7 b Fc(:)13 b(:)g(:)g(:)g(:)22 b Fb(125)150 679 +y Fe(possible-hostname-completions)32 b(\(C-x)27 b(@\))7 +b Fc(:)13 b(:)g(:)g(:)g(:)22 b Fb(125)150 768 y Fe +(possible-username-completions)32 b(\(C-x)27 b(~\))7 +b Fc(:)13 b(:)g(:)g(:)g(:)22 b Fb(125)150 857 y Fe +(possible-variable-completions)32 b(\(C-x)27 b($\))7 +b Fc(:)13 b(:)g(:)g(:)g(:)22 b Fb(125)150 945 y Fe(prefix-meta)28 +b(\(ESC\))17 b Fc(:)d(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)32 +b Fb(126)150 1034 y Fe(previous-history)d(\(C-p\))23 +b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)36 b Fb(120)150 1121 y Fe(print-last-kbd-macro)30 +b(\(\))19 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)33 b Fb(126)146 1393 y Fs(Q)150 +1512 y Fe(quoted-insert)c(\(C-q)d(or)g(C-v\))8 b Fc(:)14 +b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 +b Fb(121)146 1785 y Fs(R)150 1905 y Fe(re-read-init-file)29 +b(\(C-x)e(C-r\))15 b Fc(:)f(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)30 b Fb(126)150 1993 y Fe(redraw-current-line)g(\(\))22 +b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)36 b Fb(119)150 2082 y Fe(reverse-search-history)31 +b(\(C-r\))24 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)38 b Fb(120)150 2169 y Fe(revert-line)28 b(\(M-r\))17 +b Fc(:)d(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)32 b Fb(126)146 +2431 y Fs(S)150 2552 y Fe(self-insert)c(\(a,)e(b,)g(A,)g(1,)h(!,)f +(...\))13 b Fc(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)27 +b Fb(122)150 2640 y Fe(set-mark)g(\(C-@\))7 b Fc(:)15 +b(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 +b Fb(126)150 2729 y Fe(shell-backward-kill-word)31 b(\(\))8 +b Fc(:)14 b(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +23 b Fb(123)150 2817 y Fe(shell-backward-word)30 b(\(\))22 +b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)36 b Fb(119)150 2906 y Fe(shell-expand-line)29 +b(\(M-C-e\))13 b Fc(:)j(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)28 b Fb(128)150 2994 y Fe(shell-forward-word)i(\(\)) +7 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 b Fb(119)150 3083 y +Fe(shell-kill-word)29 b(\(\))14 b Fc(:)g(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)29 +b Fb(123)2025 264 y Fe(skip-csi-sequence)g(\(\))9 b Fc(:)14 +b(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)24 b Fb(127)2025 351 y Fe(start-kbd-macro)29 +b(\(C-x)d(\(\))8 b Fc(:)14 b(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)23 b Fb(126)2021 +794 y Fs(T)2025 941 y Fe(tilde-expand)28 b(\(M-&\))14 +b Fc(:)h(:)e(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)29 b Fb(126)2025 +1038 y Fe(transpose-chars)g(\(C-t\))7 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 +b Fb(122)2025 1125 y Fe(transpose-words)29 b(\(M-t\))7 +b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(122)2021 1578 y Fs(U)2025 +1725 y Fe(undo)k(\(C-_)h(or)f(C-x)g(C-u\))10 b Fc(:)k(:)f(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)44 b Fb(8)2025 2810 y(commen)n(ts,)26 -b(shell)7 b Fc(:)14 b(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)35 b Fb(7)2025 2901 y(completion)26 b(builtins)15 -b Fc(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)42 b Fb(126)2025 -2991 y(con\014guration)15 b Fc(:)f(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)42 b Fb(138)2025 3082 y(con)n(trol)26 -b(op)r(erator)20 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)46 b Fb(3)2025 3172 y(copro)r(cess)12 b Fc(:)i(:)f(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)38 -b Fb(15)2025 3439 y Fs(D)2025 3562 y Fb(directory)26 -b(stac)n(k)c Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +g(:)25 b Fb(126)2025 1822 y Fe(universal-argument)k(\(\))7 +b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(124)2025 1920 y Fe +(unix-filename-rubout)30 b(\(\))19 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 +b Fb(123)2025 2017 y Fe(unix-line-discard)29 b(\(C-u\))20 +b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)34 b Fb(123)2025 2114 y Fe(unix-word-rubout)29 +b(\(C-w\))22 b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)36 b Fb(123)2025 2201 +y Fe(upcase-word)28 b(\(M-u\))17 b Fc(:)d(:)f(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)32 b Fb(122)2021 2654 y Fs(Y)2025 2801 y Fe(yank)26 +b(\(C-y\))18 b Fc(:)c(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)49 b Fb(90)2025 3829 y Fs(E)2025 3952 y Fb(editing)26 -b(command)g(lines)11 b Fc(:)i(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)38 -b Fb(102)2025 4043 y(en)n(vironmen)n(t)12 b Fc(:)g(:)h(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)39 b Fb(37)2025 -4133 y(ev)l(aluation,)26 b(arithmetic)e Fc(:)13 b(:)g(:)g(:)g(:)g(:)g +g(:)g(:)g(:)g(:)33 b Fb(123)2025 2898 y Fe(yank-last-arg)28 +b(\(M-.)f(or)f(M-_\))8 b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)22 b Fb(121)2025 2996 +y Fe(yank-nth-arg)28 b(\(M-C-y\))9 b Fc(:)15 b(:)e(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 +b Fb(121)2025 3083 y Fe(yank-pop)j(\(M-y\))7 b Fc(:)15 +b(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)22 +b Fb(123)150 3832 y Fs(D.5)68 b(Concept)45 b(Index)146 +4425 y(A)150 4553 y Fb(alias)27 b(expansion)7 b Fc(:)14 +b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 +b Fb(90)150 4644 y(arithmetic)26 b(ev)l(aluation)d Fc(:)13 +b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(89)150 4735 y(arithmetic)26 +b(expansion)11 b Fc(:)j(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)26 +b Fb(29)150 4826 y(arithmetic,)h(shell)6 b Fc(:)14 b(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)20 b Fb(89)150 4914 +y(arra)n(ys)h Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 b Fb(91)2021 +4425 y Fs(B)2025 4551 y Fb(bac)n(kground)13 b Fc(:)f(:)h(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)28 b Fb(100)2025 +4641 y(Bash)e(con\014guration)11 b Fc(:)j(:)f(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)26 b Fb(142)2025 4732 y(Bash)g(installation)9 +b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)24 +b Fb(142)2025 4822 y(Bourne)i(shell)20 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)35 b +Fb(5)2025 4913 y(brace)26 b(expansion)9 b Fc(:)k(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)24 b Fb(21)2025 5000 y(builtin)15 +b Fc(:)e(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 b Fb(3)p eop end +%%Page: 171 177 +TeXDict begin 171 176 bop 150 -116 a Fu(App)s(endix)29 +b(D:)i(Indexes)2623 b(171)146 294 y Fs(C)150 418 y Fb(command)26 +b(editing)19 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)34 +b Fb(105)150 507 y(command)26 b(execution)12 b Fc(:)h(:)g(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)26 b Fb(37)150 597 y(command)g(expansion)c +Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)36 b Fb(36)150 +687 y(command)26 b(history)18 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)33 b Fb(137)150 777 y(command)26 b(searc)n(h)16 +b Fc(:)d(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)30 +b Fb(37)150 866 y(command)c(substitution)21 b Fc(:)13 +b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fb(29)150 956 y(command)26 +b(timing)13 b Fc(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)28 b Fb(8)150 1046 y(commands,)e(comp)r(ound)7 b Fc(:)14 +b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 b Fb(9)150 1135 +y(commands,)k(conditional)10 b Fc(:)15 b(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)25 +b Fb(10)150 1225 y(commands,)h(grouping)15 b Fc(:)f(:)f(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)49 b Fb(87)2025 4224 y(ev)n(en)n(t)24 b(designators)14 -b Fc(:)h(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)41 b -Fb(135)2025 4314 y(execution)25 b(en)n(vironmen)n(t)11 -b Fc(:)i(:)g(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)37 b Fb(36)2025 4405 -y(exit)25 b(status)18 b Fc(:)c(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +g(:)g(:)g(:)29 b Fb(14)150 1315 y(commands,)d(lists)12 +b Fc(:)j(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)27 +b Fb(9)150 1405 y(commands,)f(lo)r(oping)e Fc(:)13 b(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)37 b Fb(10)150 1494 y(commands,)26 +b(pip)r(elines)18 b Fc(:)c(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)33 +b Fb(8)150 1584 y(commands,)26 b(shell)c Fc(:)13 b(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 b Fb(8)150 1674 y(commands,)26 +b(simple)e Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)38 +b Fb(8)150 1764 y(commen)n(ts,)26 b(shell)13 b Fc(:)i(:)e(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)45 b Fb(3,)26 b(38)2025 4495 y(expansion)20 +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)28 b Fb(7)150 +1853 y(completion)f(builtins)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)36 b Fb(131)150 1943 y(con\014guration)22 b Fc(:)13 +b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 +b Fb(142)150 2033 y(con)n(trol)26 b(op)r(erator)8 b Fc(:)15 +b(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)23 +b Fb(3)150 2120 y(copro)r(cess)18 b Fc(:)c(:)f(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)32 b +Fb(15)146 2416 y Fs(D)150 2537 y Fb(directory)26 b(stac)n(k)11 +b Fc(:)i(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 +b Fb(93)146 2833 y Fs(E)150 2957 y Fb(editing)g(command)g(lines)17 +b Fc(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)32 b Fb(105)150 3046 y(en)n(vironmen)n(t)18 +b Fc(:)12 b(:)h(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)32 b Fb(38)150 3136 y(ev)l(aluation,)26 b(arithmetic)12 +b Fc(:)i(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)26 b Fb(89)150 3226 +y(ev)n(en)n(t)f(designators)c Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)34 b Fb(140)150 3316 y(execution)26 b(en)n(vironmen)n(t)17 +b Fc(:)12 b(:)h(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)31 b Fb(37)150 3405 +y(exit)25 b(status)7 b Fc(:)14 b(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(3,)k(39)150 3495 y(expansion)9 +b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)24 b Fb(21)150 3585 y(expansion,)i(arithmetic)18 +b Fc(:)c(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)32 b Fb(29)150 3674 +y(expansion,)26 b(brace)16 b Fc(:)d(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)30 b Fb(21)150 3764 y(expansion,)c(\014lename)18 b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)47 b Fb(21)2025 4586 y(expansion,)26 b(arithmetic)12 -b Fc(:)i(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)38 b Fb(29)2025 4676 -y(expansion,)26 b(brace)10 b Fc(:)j(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)32 b Fb(30)150 +3854 y(expansion,)26 b(parameter)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)34 b Fb(23)150 3944 y(expansion,)26 b(pathname)7 +b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(30)150 +4033 y(expansion,)k(tilde)14 b Fc(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)36 b Fb(21)2025 4767 y(expansion,)26 b(\014lename)12 -b Fc(:)h(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)38 b Fb(30)2025 -4857 y(expansion,)26 b(parameter)14 b Fc(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)40 b Fb(23)2025 4948 y(expansion,)26 b(pathname)18 -b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)45 b Fb(30)2025 -5038 y(expansion,)26 b(tilde)8 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g +h(:)f(:)g(:)g(:)g(:)28 b Fb(22)150 4123 y(expressions,)f(arithmetic)13 +b Fc(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)27 b Fb(89)150 4210 y(expressions,)g +(conditional)17 b Fc(:)d(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)32 b Fb(87)2021 +294 y Fs(F)2025 415 y Fb(\014eld)21 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)34 b Fb(22)2025 5129 y(expressions,)27 -b(arithmetic)7 b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 -b Fb(87)2025 5220 y(expressions,)27 b(conditional)11 -b Fc(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)38 b Fb(85)p eop end -%%Page: 166 172 -TeXDict begin 166 171 bop 150 -116 a Fu(App)s(endix)29 -b(D:)i(Indexes)2623 b(166)150 299 y Fs(F)150 415 y Fb(\014eld)15 -b Fc(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)42 b Fb(3)150 -502 y(\014lename)15 b Fc(:)f(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)42 b Fb(3)150 -589 y(\014lename)26 b(expansion)d Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)36 b Fb(3)2025 504 y(\014lename)21 b Fc(:)14 b(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)36 +b Fb(3)2025 593 y(\014lename)26 b(expansion)11 b Fc(:)i(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)26 b Fb(30)2025 682 y(foreground)9 +b Fc(:)14 b(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)24 b Fb(100)2025 769 y(functions,)i(shell)9 b +Fc(:)14 b(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)24 +b Fb(17)2021 1048 y Fs(H)2025 1170 y Fb(history)h(builtins)20 +b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)35 +b Fb(137)2025 1259 y(history)25 b(ev)n(en)n(ts)8 b Fc(:)13 +b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)23 +b Fb(140)2025 1347 y(history)i(expansion)14 b Fc(:)g(:)f(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)29 b Fb(139)2025 1436 y(history)c(list)9 +b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)24 b Fb(137)2025 1524 y(History)-6 b(,)25 b(ho)n(w)h(to)g(use) +19 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(136)2021 +1803 y Fs(I)2025 1924 y Fb(iden)n(ti\014er)12 b Fc(:)g(:)h(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)27 +b Fb(3)2025 2013 y(initialization)h(\014le,)e(readline)17 +b Fc(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)32 b Fb(107)2025 2102 y(installation)21 +b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)49 b Fb(30)150 676 y(foreground)24 b Fc(:)13 -b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -49 b Fb(97)150 764 y(functions,)26 b(shell)21 b Fc(:)14 -b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)47 -b Fb(17)150 1013 y Fs(H)150 1129 y Fb(history)26 b(builtins)14 -b Fc(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)40 -b Fb(133)150 1216 y(history)26 b(ev)n(en)n(ts)18 b Fc(:)13 -b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)46 -b Fb(135)150 1304 y(history)26 b(expansion)8 b Fc(:)13 -b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)35 b Fb(135)150 -1391 y(history)26 b(list)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)47 b Fb(133)150 1478 -y(History)-6 b(,)26 b(ho)n(w)g(to)f(use)13 b Fc(:)g(:)g(:)h(:)f(:)g(:)g +g(:)34 b Fb(142)2025 2191 y(in)n(teraction,)26 b(readline)7 +b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 b Fb(104)2025 +2280 y(in)n(teractiv)n(e)k(shell)20 b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)34 b Fb(84,)27 b(85)2025 2367 y(in)n(ternationalization)22 +b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 +b Fb(7)2021 2637 y Fs(J)2025 2758 y Fb(job)23 b Fc(:)13 +b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)39 b Fb(132)150 1728 y Fs(I)150 1843 y Fb(iden)n(ti\014er) -22 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)50 b Fb(3)150 1931 y(initialization)28 -b(\014le,)e(readline)11 b Fc(:)j(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)38 b Fb(104)150 -2018 y(installation)13 b Fc(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)40 b Fb(138)150 2105 y(in)n(teraction,)27 -b(readline)18 b Fc(:)c(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)45 -b Fb(101)150 2192 y(in)n(teractiv)n(e)26 b(shell)14 b -Fc(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)41 b Fb(81,)26 -b(83)150 2279 y(in)n(ternationalization)14 b Fc(:)h(:)f(:)f(:)g(:)g(:)g +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)38 b Fb(3)2025 2845 +y(job)26 b(con)n(trol)17 b Fc(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)31 b Fb(3,)c(100)2021 3124 y Fs(K)2025 +3246 y Fb(kill)f(ring)7 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)41 b Fb(7)150 2512 y Fs(J)150 2628 -y Fb(job)16 b Fc(:)e(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)43 -b Fb(3)150 2716 y(job)26 b(con)n(trol)13 b Fc(:)h(:)f(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)40 b Fb(3,)26 -b(97)150 2965 y Fs(K)150 3081 y Fb(kill)g(ring)19 b Fc(:)13 -b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)22 b Fb(106)2025 +3333 y(killing)k(text)6 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)45 b Fb(103)150 3168 y(killing)27 b(text)17 b -Fc(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -44 b Fb(103)150 3418 y Fs(L)150 3534 y Fb(lo)r(calization)14 -b Fc(:)i(:)d(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)41 b Fb(7)150 3621 y(login)27 b(shell)17 b -Fc(:)d(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)44 b Fb(81)150 3871 y Fs(M)150 3987 y Fb(matc)n(hing,)26 -b(pattern)20 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)47 -b Fb(30)150 4074 y(metac)n(haracter)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)45 b Fb(3)150 4307 -y Fs(N)150 4423 y Fb(name)13 b Fc(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)40 -b Fb(3)150 4510 y(nativ)n(e)25 b(languages)13 b Fc(:)i(:)e(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)40 b Fb(7)150 4597 -y(notation,)27 b(readline)7 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)33 b Fb(102)150 4847 y Fs(O)150 4963 y Fb(op)r(erator,)27 -b(shell)16 b Fc(:)e(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)43 b Fb(3)150 5212 y Fs(P)150 5328 y Fb(parameter)26 -b(expansion)7 b Fc(:)14 b(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)34 -b Fb(23)150 5415 y(parameters)17 b Fc(:)d(:)f(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)43 b Fb(18)2025 -299 y(parameters,)27 b(p)r(ositional)18 b Fc(:)d(:)e(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)44 b Fb(19)2025 387 y(parameters,)27 b(sp)r(ecial)18 -b Fc(:)c(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)44 b Fb(20)2025 -474 y(pathname)25 b(expansion)12 b Fc(:)h(:)g(:)h(:)f(:)g(:)g(:)g(:)g +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 b Fb(106)2021 3612 +y Fs(L)2025 3733 y Fb(lo)r(calization)i Fc(:)13 b(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)35 +b Fb(7)2025 3821 y(login)26 b(shell)6 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)38 b Fb(30)2025 562 y(pattern)25 b(matc)n(hing)14 -b Fc(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)41 -b Fb(30)2025 650 y(pip)r(eline)23 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)21 +b Fb(84)2021 4100 y Fs(M)2025 4221 y Fb(matc)n(hing,)26 +b(pattern)9 b Fc(:)k(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)24 +b Fb(31)2025 4308 y(metac)n(haracter)7 b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)50 -b Fb(8)2025 738 y(POSIX)17 b Fc(:)12 b(:)h(:)g(:)g(:)g(:)g(:)h(:)f(:)g +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)22 b Fb(3)p +eop end +%%Page: 172 178 +TeXDict begin 172 177 bop 150 -116 a Fu(App)s(endix)29 +b(D:)i(Indexes)2623 b(172)146 294 y Fs(N)150 410 y Fb(name)19 +b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 b Fb(3)150 497 +y(nativ)n(e)25 b(languages)c Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)34 b Fb(7)150 584 y(notation,)27 +b(readline)13 b Fc(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)27 +b Fb(105)146 826 y Fs(O)150 942 y Fb(op)r(erator,)g(shell)c +Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)44 -b Fb(3)2025 825 y(POSIX)24 b(Mo)r(de)11 b Fc(:)j(:)f(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)37 b Fb(94)2025 -913 y(pro)r(cess)26 b(group)9 b Fc(:)14 b(:)f(:)g(:)h(:)f(:)g(:)g(:)g +37 b Fb(3)146 1184 y Fs(P)150 1300 y Fb(parameter)26 +b(expansion)13 b Fc(:)h(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)28 +b Fb(23)150 1388 y(parameters)c Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(3)2025 1001 -y(pro)r(cess)26 b(group)g(ID)21 b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)49 b Fb(3)2025 1089 y(pro)r(cess)26 -b(substitution)c Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)48 -b Fb(29)2025 1177 y(programmable)27 b(completion)20 b -Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)46 b Fb(124)2025 1264 y(prompting)11 b -Fc(:)i(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)38 b Fb(92)2025 1517 y Fs(Q)2025 1634 y Fb(quoting)10 -b Fc(:)j(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)37 b Fb(6)2025 1722 y(quoting,)26 -b(ANSI)13 b Fc(:)e(:)j(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)37 b Fb(18)150 +1475 y(parameters,)27 b(p)r(ositional)7 b Fc(:)15 b(:)e(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)21 b Fb(19)150 1562 y(parameters,)27 b(sp)r(ecial)7 +b Fc(:)14 b(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)21 +b Fb(20)150 1649 y(pathname)k(expansion)18 b Fc(:)c(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)40 b Fb(6)2025 1974 y Fs(R)2025 2091 y Fb(Readline,)26 -b(ho)n(w)g(to)g(use)c Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)49 -b Fb(100)2025 2179 y(redirection)7 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)33 b -Fb(31)2025 2267 y(reserv)n(ed)25 b(w)n(ord)7 b Fc(:)14 -b(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)34 -b Fb(3)2025 2355 y(restricted)26 b(shell)8 b Fc(:)14 -b(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)35 -b Fb(93)2025 2443 y(return)25 b(status)c Fc(:)13 b(:)h(:)f(:)g(:)g(:)g +h(:)f(:)g(:)32 b Fb(30)150 1736 y(pattern)25 b(matc)n(hing)c +Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)34 +b Fb(31)150 1824 y(pip)r(eline)12 b Fc(:)h(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)27 +b Fb(8)150 1911 y(POSIX)22 b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)48 b Fb(4)2025 -2678 y Fs(S)2025 2796 y Fb(shell)26 b(arithmetic)11 b -Fc(:)j(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)37 -b Fb(87)2025 2883 y(shell)26 b(function)12 b Fc(:)h(:)g(:)h(:)f(:)g(:)g +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)38 +b Fb(3)150 1998 y(POSIX)25 b(Mo)r(de)17 b Fc(:)c(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)31 b Fb(96)150 +2085 y(pro)r(cess)c(group)15 b Fc(:)e(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)30 b Fb(3)150 2172 y(pro)r(cess)d +(group)e(ID)11 b Fc(:)i(:)g(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)26 b Fb(3)150 2259 y(pro)r(cess)h(substitution)11 +b Fc(:)h(:)i(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)25 b Fb(30)150 +2347 y(programmable)i(completion)8 b Fc(:)14 b(:)g(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)23 +b Fb(129)150 2434 y(prompting)17 b Fc(:)c(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)38 b Fb(17)2025 -2971 y(shell)26 b(script)c Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)48 b Fb(39)2025 3059 -y(shell)26 b(v)l(ariable)18 b Fc(:)c(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)31 b Fb(94)146 +2676 y Fs(Q)150 2792 y Fb(quoting)16 b Fc(:)d(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)31 +b Fb(6)150 2879 y(quoting,)26 b(ANSI)18 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)34 b Fb(6)146 +3121 y Fs(R)150 3237 y Fb(Readline,)26 b(ho)n(w)g(to)g(use)11 +b Fc(:)i(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 b Fb(103)150 3325 +y(redirection)13 b Fc(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)27 b Fb(32)150 3412 y(reserv)n(ed)f(w)n +(ord)13 b Fc(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)45 b Fb(18)2025 3147 y(shell,)26 -b(in)n(teractiv)n(e)14 b Fc(:)g(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)40 b Fb(83)2025 3234 y(signal)7 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)34 b Fb(4)2025 3322 y(signal)27 b(handling)17 -b Fc(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)44 -b Fb(38)2025 3410 y(sp)r(ecial)27 b(builtin)10 b Fc(:)j(:)g(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(4,)26 b(68)2025 -3498 y(startup)f(\014les)d Fc(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)48 b Fb(82)2025 3585 y(susp)r(ending)25 -b(jobs)6 b Fc(:)14 b(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)33 b Fb(97)2025 3838 y Fs(T)2025 3955 y Fb(tilde)26 -b(expansion)18 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)45 b Fb(22)2025 4043 y(tok)n(en)11 b Fc(:)h(:)i(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)38 b Fb(4)2025 4131 y(translation,)27 b(nativ)n(e)e(languages)13 -b Fc(:)i(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)40 b Fb(7)2025 4383 y Fs(V)2025 4500 y Fb(v)l(ariable,)26 -b(shell)8 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)28 b Fb(3)150 3499 y(restricted)e(shell)14 +b Fc(:)g(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)29 +b Fb(95)150 3586 y(return)c(status)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)25 b Fb(4)2021 +294 y Fs(S)2025 427 y Fb(shell)h(arithmetic)17 b Fc(:)d(:)f(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)34 b Fb(18)2025 4588 y(v)l(ariables,)27 b(readline)18 -b Fc(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)45 b Fb(105)2025 -4841 y Fs(W)2025 4958 y Fb(w)n(ord)21 b Fc(:)13 b(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)48 b Fb(4)2025 5046 y(w)n(ord)26 b(splitting)21 -b Fc(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)47 -b Fb(29)2025 5298 y Fs(Y)2025 5415 y Fb(y)n(anking)25 -b(text)7 b Fc(:)12 b(:)h(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)34 b Fb(103)p eop end +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)31 b Fb(89)2025 520 +y(shell)26 b(function)18 b Fc(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)32 b Fb(17)2025 613 y(shell)26 +b(script)10 b Fc(:)k(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)25 b Fb(40)2025 706 y(shell)h(v)l(ariable)7 +b Fc(:)14 b(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)22 b Fb(18)2025 799 y(shell,)k(in)n(teractiv)n(e)21 +b Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)34 +b Fb(85)2025 892 y(signal)13 b Fc(:)h(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)28 +b Fb(4)2025 984 y(signal)f(handling)6 b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)21 b Fb(39)2025 1077 +y(sp)r(ecial)27 b(builtin)16 b Fc(:)d(:)g(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)31 b Fb(4,)26 b(70)2025 1170 y(startup)f(\014les)10 +b Fc(:)k(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)25 b Fb(84)2025 1257 y(susp)r(ending)g(jobs)10 +b Fc(:)k(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)25 +b Fb(100)2021 1619 y Fs(T)2025 1752 y Fb(tilde)h(expansion)7 +b Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)22 +b Fb(22)2025 1845 y(tok)n(en)17 b Fc(:)12 b(:)i(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)32 +b Fb(4)2025 1932 y(translation,)27 b(nativ)n(e)e(languages)c +Fc(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)34 b Fb(7)2021 2294 y Fs(V)2025 2427 y +Fb(v)l(ariable,)26 b(shell)14 b Fc(:)g(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)28 b Fb(18)2025 2515 y(v)l(ariables,)f +(readline)7 b Fc(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)22 +b Fb(108)2021 2876 y Fs(W)2025 3010 y Fb(w)n(ord)10 b +Fc(:)j(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)25 b Fb(4)2025 3097 +y(w)n(ord)h(splitting)9 b Fc(:)14 b(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(30)2021 3458 y Fs(Y)2025 +3586 y Fb(y)n(anking)h(text)13 b Fc(:)f(:)h(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)28 b Fb(106)p eop end %%Trailer userdict /end-hook known{end-hook}if diff --git a/doc/bashref.texi b/doc/bashref.texi index eca3c26b1..c0f4a2f8a 100644 --- a/doc/bashref.texi +++ b/doc/bashref.texi @@ -14,7 +14,7 @@ This is Edition @value{EDITION}, last updated @value{UPDATED}, of @cite{The GNU Bash Reference Manual}, for @code{Bash}, Version @value{VERSION}. -Copyright @copyright{} 1988--2014 Free Software Foundation, Inc. +Copyright @copyright{} 1988--2016 Free Software Foundation, Inc. @quotation Permission is granted to copy, distribute and/or modify this document @@ -212,7 +212,7 @@ than by an executable program somewhere in the file system. @cindex control operator A @code{token} that performs a control function. It is a @code{newline} or one of the following: -@samp{||}, @samp{&&}, @samp{&}, @samp{;}, @samp{;;}, +@samp{||}, @samp{&&}, @samp{&}, @samp{;}, @samp{;;}, @samp{;&}, @samp{;;&}, @samp{|}, @samp{|&}, @samp{(}, or @samp{)}. @item exit status @@ -243,7 +243,7 @@ A mechanism by which users can selectively stop (suspend) and restart @item metacharacter @cindex metacharacter A character that, when unquoted, separates words. A metacharacter is -a @code{blank} or one of the following characters: +a @code{space}, @code{tab}, @code{newline}, or one of the following characters: @samp{|}, @samp{&}, @samp{;}, @samp{(}, @samp{)}, @samp{<}, or @samp{>}. @@ -450,6 +450,10 @@ Enclosing characters in double quotes (@samp{"}) preserves the literal value of all characters within the quotes, with the exception of @samp{$}, @samp{`}, @samp{\}, and, when history expansion is enabled, @samp{!}. +When the shell is in +@sc{posix} mode (@pxref{Bash POSIX Mode}), +the @samp{!} has no special meaning +within double quotes, even when history expansion is enabled. The characters @samp{$} and @samp{`} retain their special meaning within double quotes (@pxref{Shell Expansions}). The backslash retains its special meaning only when followed by one of @@ -500,6 +504,8 @@ backslash single quote @item \" double quote +@item \? +question mark @item \@var{nnn} the eight-bit character whose value is the octal value @var{nnn} (one to three digits) @@ -603,8 +609,8 @@ the command was terminated by signal @var{n}. @cindex pipeline @cindex commands, pipelines -A @code{pipeline} is a sequence of simple commands separated by one of -the control operators @samp{|} or @samp{|&}. +A @code{pipeline} is a sequence of one or more commands separated by +one of the control operators @samp{|} or @samp{|&}. @rwindex time @rwindex ! @@ -868,7 +874,7 @@ case @var{word} in [ [(] @var{pattern} [| @var{pattern}]@dots{}) @var{command-li @code{case} will selectively execute the @var{command-list} corresponding to the first @var{pattern} that matches @var{word}. -If the shell option @code{nocasematch} +If the @code{nocasematch} shell option (see the description of @code{shopt} in @ref{The Shopt Builtin}) is enabled, the match is performed without regard to the case of alphabetic characters. @@ -999,7 +1005,7 @@ right of the operator is considered a pattern and matched according to the rules described below in @ref{Pattern Matching}, as if the @code{extglob} shell option were enabled. The @samp{=} operator is identical to @samp{==}. -If the shell option @code{nocasematch} +If the @code{nocasematch} shell option (see the description of @code{shopt} in @ref{The Shopt Builtin}) is enabled, the match is performed without regard to the case of alphabetic characters. @@ -1011,12 +1017,12 @@ to be matched as a string. An additional binary operator, @samp{=~}, is available, with the same precedence as @samp{==} and @samp{!=}. When it is used, the string to the right of the operator is considered -an extended regular expression and matched accordingly (as in @i{regex}3)). +an extended regular expression and matched accordingly (as in @i{regex}3)). The return value is 0 if the string matches the pattern, and 1 otherwise. If the regular expression is syntactically incorrect, the conditional expression's return value is 2. -If the shell option @code{nocasematch} +If the @code{nocasematch} shell option (see the description of @code{shopt} in @ref{The Shopt Builtin}) is enabled, the match is performed without regard to the case of alphabetic characters. @@ -1346,7 +1352,9 @@ word is supplied, the parentheses are optional. The @var{body} of the function is the compound command @var{compound-command} (@pxref{Compound Commands}). That command is usually a @var{list} enclosed between @{ and @}, but -may be any compound command listed above. +may be any compound command listed above, +with one exception: If the @code{function} reserved word is used, but the +parentheses are not supplied, the braces are required. @var{compound-command} is executed whenever @var{name} is specified as the name of a command. When the shell is in @sc{posix} mode (@pxref{Bash POSIX Mode}), @@ -1481,7 +1489,7 @@ Filename expansion is not performed. Assignment statements may also appear as arguments to the @code{alias}, @code{declare}, @code{typeset}, @code{export}, @code{readonly}, -and @code{local} builtin commands. +and @code{local} builtin commands (@var{declaration} commands). When in @sc{posix} mode (@pxref{Bash POSIX Mode}), these builtins may appear in a command after one or more instances of the @code{command} builtin and retain these assignment statement properties. @@ -1490,6 +1498,8 @@ In the context where an assignment statement is assigning a value to a shell variable or array index (@pxref{Arrays}), the @samp{+=} operator can be used to append to or add to the variable's previous value. +This includes arguments to builtin commands such as @code{declare} that +accept assignment statements (@var{declaration} commands). When @samp{+=} is applied to a variable for which the @var{integer} attribute has been set, @var{value} is evaluated as an arithmetic expression and added to the variable's current value, which is also evaluated. @@ -1503,13 +1513,15 @@ When applied to a string-valued variable, @var{value} is expanded and appended to the variable's value. A variable can be assigned the @var{nameref} attribute using the -@option{-n} option to the \fBdeclare\fP or \fBlocal\fP builtin commands +@option{-n} option to the @code{declare} or @code{local} builtin commands (@pxref{Bash Builtins}) to create a @var{nameref}, or a reference to another variable. This allows variables to be manipulated indirectly. -Whenever the nameref variable is referenced or assigned to, the operation -is actually performed on the variable specified by the nameref variable's -value. +Whenever the nameref variable is referenced, assigned to, unset, or has +its attributes modified (other than using or changing the nameref +attribute itself), the +operation is actually performed on the variable specified by the nameref +variable's value. A nameref is commonly used within shell functions to refer to a variable whose name is passed as an argument to the function. For instance, if a variable name is passed to a shell function as its first @@ -1520,14 +1532,15 @@ declare -n ref=$1 @noindent inside the function creates a nameref variable @var{ref} whose value is the variable name passed as the first argument. -References and assignments to @var{ref} are treated as references and -assignments to the variable whose name was passed as @code{$1}. +References and assignments to @var{ref}, and changes to its attributes, +are treated as references, assignments, and attribute modifications +to the variable whose name was passed as @code{$1}. If the control variable in a @code{for} loop has the nameref attribute, the list of words can be a list of shell variables, and a name reference will be established for each word in the list, in turn, when the loop is executed. -Array variables cannot be given the @option{-n} attribute. +Array variables cannot be given the nameref attribute. However, nameref variables can reference array variables and subscripted array variables. Namerefs can be unset using the @option{-n} option to the @code{unset} builtin @@ -1572,9 +1585,8 @@ expands to a separate word. In contexts where it is performed, those words are subject to further word splitting and pathname expansion. When the expansion occurs within double quotes, it expands to a single word -with the value of each parameter separated by the first character -of the @env{IFS} -special variable. That is, @code{"$*"} is equivalent +with the value of each parameter separated by the first character of the +@env{IFS} special variable. That is, @code{"$*"} is equivalent to @code{"$1@var{c}$2@var{c}@dots{}"}, where @var{c} is the first character of the value of the @code{IFS} variable. @@ -1691,6 +1703,10 @@ This is performed at the same time as tilde, parameter, variable, and arithmetic expansion and command substitution. +After these expansions are performed, quote characters present in the +original word are removed unless they have been quoted themselves +(@var{quote removal}). + Only brace expansion, word splitting, and filename expansion can change the number of words of the expansion; other expansions expand a single word to a single word. @@ -1870,12 +1886,16 @@ or when @var{parameter} is followed by a character that is not to be interpreted as part of its name. If the first character of @var{parameter} is an exclamation point (!), +and @var{parameter} is not a @var{nameref}, it introduces a level of variable indirection. Bash uses the value of the variable formed from the rest of @var{parameter} as the name of the variable; this variable is then expanded and that value is used in the rest of the substitution, rather than the value of @var{parameter} itself. This is known as @code{indirect expansion}. +If @var{parameter} is a nameref, this expands to the name of the +variable referenced by @var{parameter} instead of performing the +complete indirect expansion. The exceptions to this are the expansions of $@{!@var{prefix}*@} and $@{!@var{name}[@@]@} described below. @@ -2144,6 +2164,10 @@ If @var{pattern} begins with @samp{%}, it must match at the end of the expanded value of @var{parameter}. If @var{string} is null, matches of @var{pattern} are deleted and the @code{/} following @var{pattern} may be omitted. +If the @code{nocasematch} shell option +(see the description of @code{shopt} in @ref{The Shopt Builtin}) +is enabled, the match is performed without regard to the case +of alphabetic characters. If @var{parameter} is @samp{@@} or @samp{*}, the substitution operation is applied to each positional parameter in turn, and the expansion is the resultant list. @@ -2177,6 +2201,41 @@ If @var{parameter} is an array variable subscripted with @samp{@@} or @samp{*}, the case modification operation is applied to each member of the array in turn, and the expansion is the resultant list. + +@item $@{@var{parameter}@@@var{operator}@} +The expansion is either a transformation of the value of @var{parameter} +or information about @var{parameter} itself, depending on the value of +@var{operator}. Each @var{operator} is a single letter: + +@table @code +@item Q +The expansion is a string that is the value of @var{parameter} quoted in a +format that can be reused as input. +@item E +The expansion is a string that is the value of @var{parameter} with backslash +escape sequences expanded as with the @code{$'@dots{}'} quoting mechansim. +@item P +The expansion is a string that is the result of expanding the value of +@var{parameter} as if it were a prompt string (@pxref{Controlling the Prompt}). +@item A +The expansion is a string in the form of +an assignment statement or @code{declare} command that, if +evaluated, will recreate @var{parameter} with its attributes and value. +@item a +The expansion is a string consisting of flag values representing +@var{parameter}'s attributes. +@end table + +If @var{parameter} is @samp{@@} or @samp{*}, +the operation is applied to each positional +parameter in turn, and the expansion is the resultant list. +If @var{parameter} +is an array variable subscripted with @samp{@@} or @samp{*}, +the operation is applied to each member of the +array in turn, and the expansion is the resultant list. + +The result of the expansion is subject to word splitting and pathname +expansion as described below. @end table @node Command Substitution @@ -2196,8 +2255,8 @@ or @end example @noindent -Bash performs the expansion by executing @var{command} and -replacing the command substitution with the standard output of the +Bash performs the expansion by executing @var{command} in a subshell environment +and replacing the command substitution with the standard output of the command, with any trailing newlines deleted. Embedded newlines are not deleted, but they may be removed during word splitting. @@ -2246,8 +2305,8 @@ failure to the standard error and no substitution occurs. @subsection Process Substitution @cindex process substitution -Process substitution is supported on systems that support named -pipes (@sc{fifo}s) or the @file{/dev/fd} method of naming open files. +Process substitution allows a process's input or output to be +referred to using a filename. It takes the form of @example <(@var{list}) @@ -2258,16 +2317,20 @@ or >(@var{list}) @end example @noindent -The process @var{list} is run with its input or output connected to a -@sc{fifo} or some file in @file{/dev/fd}. The name of this file is +The process @var{list} is run asynchronously, and its input or output +appears as a filename. +This filename is passed as an argument to the current command as the result of the -expansion. If the @code{>(@var{list})} form is used, writing to +expansion. +If the @code{>(@var{list})} form is used, writing to the file will provide input for @var{list}. If the @code{<(@var{list})} form is used, the file passed as an argument should be read to obtain the output of @var{list}. Note that no space may appear between the @code{<} or @code{>} and the left parenthesis, otherwise the construct would be interpreted as a redirection. +Process substitution is supported on systems that support named +pipes (@sc{fifo}s) or the @file{/dev/fd} method of naming open files. When available, process substitution is performed simultaneously with parameter and variable expansion, command substitution, and arithmetic @@ -2291,7 +2354,7 @@ at the beginning and end of the results of the previous expansions are ignored, and any sequence of @env{IFS} characters not at the beginning or end serves to delimit words. If @env{IFS} has a value other than the default, then sequences of -the whitespace characters @code{space} and @code{tab} +the whitespace characters @code{space}, @code{tab}, and @code{newline} are ignored at the beginning and end of the word, as long as the whitespace character is in the value of @env{IFS} (an @env{IFS} whitespace character). @@ -2301,11 +2364,18 @@ whitespace characters, delimits a field. A sequence of @env{IFS} whitespace characters is also treated as a delimiter. If the value of @env{IFS} is null, no word splitting occurs. -Explicit null arguments (@code{""} or @code{''}) are retained. +Explicit null arguments (@code{""} or @code{''}) are retained +and passed to commands as empty strings. Unquoted implicit null arguments, resulting from the expansion of parameters that have no values, are removed. If a parameter with no value is expanded within double quotes, a -null argument results and is retained. +null argument results and is retained +and passed to a command as an empty string. +When a quoted null argument appears as part of a word whose expansion is +non-null, the null argument is removed. +That is, the word +@code{-d''} becomes @code{-d} after word splitting and +null argument removal. Note that if no expansion occurs, no splitting is performed. @@ -2352,7 +2422,10 @@ The @env{GLOBIGNORE} shell variable may be used to restrict the set of filenames matching a pattern. If @env{GLOBIGNORE} is set, each matching filename that also matches one of the patterns in -@env{GLOBIGNORE} is removed from the list of matches. The filenames +@env{GLOBIGNORE} is removed from the list of matches. +If the @code{nocaseglob} option is set, the matching against the patterns in +@env{GLOBIGNORE} is performed without regard to case. +The filenames @file{.} and @file{..} are always ignored when @env{GLOBIGNORE} is set and not null. @@ -2523,7 +2596,10 @@ because the standard error was made a copy of the standard output before the standard output was redirected to @var{dirlist}. Bash handles several filenames specially when they are used in -redirections, as described in the following table: +redirections, as described in the following table. +If the operating system on which Bash is running provides these +special files, bash will use them; otherwise it will emulate them +internally with the behavior described below. @table @code @item /dev/fd/@var{fd} @@ -2651,18 +2727,18 @@ This type of redirection instructs the shell to read input from the current source until a line containing only @var{word} (with no trailing blanks) is seen. All of the lines read up to that point are then used as the standard -input for a command. +input (or file descriptor @var{n} if @var{n} is specified) for a command. The format of here-documents is: @example -<<[@minus{}]@var{word} +[@var{n}]<<[@minus{}]@var{word} @var{here-document} @var{delimiter} @end example No parameter and variable expansion, command substitution, arithmetic expansion, or filename expansion is performed on -@var{word}. If any characters in @var{word} are quoted, the +@var{word}. If any part of @var{word} is quoted, the @var{delimiter} is the result of quote removal on @var{word}, and the lines in the here-document are not expanded. If @var{word} is unquoted, @@ -2681,15 +2757,17 @@ natural fashion. @subsection Here Strings A variant of here documents, the format is: @example -<<< @var{word} +[@var{n}]<<< @var{word} @end example The @var{word} undergoes brace expansion, tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, and quote removal. Pathname expansion and word splitting are not performed. -The result is supplied as a single string to the command on its -standard input. +The result is supplied as a single string, +with a newline appended, +to the command on its +standard input (or file descriptor @var{n} if @var{n} is specified). @subsection Duplicating File Descriptors The redirection operator @@ -2945,7 +3023,7 @@ shell's parent, and traps ignored by the shell are ignored @end itemize A command invoked in this separate environment cannot affect the -shell's execution environment. +shell's execution environment. Command substitution, commands grouped with parentheses, and asynchronous commands are invoked in a @@ -3038,7 +3116,8 @@ constructs (@pxref{Lists}). All of the Bash builtins return an exit status of zero if they succeed and a non-zero status on failure, so they may be used by the conditional and list constructs. -All builtins return an exit status of 2 to indicate incorrect usage. +All builtins return an exit status of 2 to indicate incorrect usage, +generally invalid options or missing arguments. @node Signals @subsection Signals @@ -3079,7 +3158,7 @@ an interactive login shell exits. If Bash is waiting for a command to complete and receives a signal for which a trap has been set, the trap will not be executed until -the command completes. +the command completes. When Bash is waiting for an asynchronous command via the @code{wait} builtin, the reception of a signal for which a trap has been set will cause the @code{wait} builtin to return @@ -3171,7 +3250,7 @@ This section briefly describes the builtins which Bash inherits from the Bourne Shell, as well as the builtin commands which are unique to or have been extended in Bash. -Several builtin commands are described in other chapters: builtin +Several builtin commands are described in other chapters: builtin commands which provide the Bash interface to the job control facilities (@pxref{Job Control Builtins}), the directory stack (@pxref{Directory Stack Builtins}), the command history @@ -3185,7 +3264,8 @@ options preceded by @samp{-} accepts @samp{--} to signify the end of the options. The @code{:}, @code{true}, @code{false}, and @code{test} builtins do not accept options and do not treat @samp{--} specially. -The @code{exit}, @code{logout}, @code{break}, @code{continue}, @code{let}, +The @code{exit}, @code{logout}, @code{return}, +@code{break}, @code{continue}, @code{let}, and @code{shift} builtins accept and process arguments beginning with @samp{-} without requiring @samp{--}. Other builtins that accept arguments but are not specified as accepting @@ -3222,6 +3302,12 @@ if @var{filename} is not found in @env{$PATH}. If any @var{arguments} are supplied, they become the positional parameters when @var{filename} is executed. Otherwise the positional parameters are unchanged. +If the @option{-T} option is enabled, @code{source} inherits any trap on +@code{DEBUG}; if it is not, any @code{DEBUG} trap string is saved and +restored around the call to @code{source}, and @code{source} unsets the +@code{DEBUG} trap while it executes. +If @option{-T} is not set, and the sourced file changes +the @code{DEBUG} trap, the new value is retained when @code{source} completes. The return status is the exit status of the last command executed, or zero if no commands are executed. If @var{filename} is not found, or cannot be read, the return status is non-zero. @@ -3499,6 +3585,11 @@ Cause a shell function to stop executing and return the value @var{n} to its caller. If @var{n} is not supplied, the return value is the exit status of the last command executed in the function. +If @code{return} is executed by a trap handler, the last command used to +determine the status is the last command executed before the trap handler. +if @code{return} is executed during a @code{DEBUG} trap, the last command +used to determine the status is the last command executed by the trap +handler before @code{return} was invoked. @code{return} may also be used to terminate execution of a script being executed with the @code{.} (@code{source}) builtin, returning either @var{n} or @@ -3538,8 +3629,7 @@ less than zero, non-zero otherwise. test @var{expr} @end example -Evaluate a conditional express -ion @var{expr} and return a status of 0 +Evaluate a conditional expression @var{expr} and return a status of 0 (true) or 1 (false). Each operator and operand must be a separate argument. Expressions are composed of the primaries described below in @@ -3607,7 +3697,7 @@ Otherwise, the expression is false. @item 4 arguments If the first argument is @samp{!}, the result is the negation of the three-argument expression composed of the remaining arguments. -Otherwise, the expression is parsed and evaluated according to +Otherwise, the expression is parsed and evaluated according to precedence using the rules listed above. @item 5 or more arguments @@ -3667,7 +3757,7 @@ each time a shell function or a script executed with the @code{.} or If a @var{sigspec} is @code{ERR}, the command @var{arg} is executed whenever a pipeline (which may consist of a single simple -command), a list, or a compound command returns a +command), a list, or a compound command returns a non-zero exit status, subject to the following conditions. The @code{ERR} trap is not executed if the failed command is part of the @@ -3718,7 +3808,7 @@ unset [-fnv] [@var{name}] Remove each variable or function @var{name}. If the @option{-v} option is given, each -@var{name} refers to a shell variable and that variable is remvoved. +@var{name} refers to a shell variable and that variable is removed. If the @option{-f} option is given, the @var{name}s refer to shell functions, and the function definition is removed. If the @option{-n} option is supplied, and @var{name} is a variable with @@ -3763,7 +3853,7 @@ bind [-m @var{keymap}] [-q @var{function}] [-u @var{function}] [-r @var{keyseq}] bind [-m @var{keymap}] -f @var{filename} bind [-m @var{keymap}] -x @var{keyseq:shell-command} bind [-m @var{keymap}] @var{keyseq:function-name} -bind @var{readline-command} +bind [-m @var{keymap}] @var{keyseq:readline-command} @end example Display current Readline (@pxref{Command Line Editing}) @@ -3790,8 +3880,8 @@ names are @code{vi-move}, @code{vi-command}, and @code{vi-insert}. -@code{vi} is equivalent to @code{vi-command}; -@code{emacs} is equivalent to @code{emacs-standard}. +@code{vi} is equivalent to @code{vi-command} (@code{vi-move} is also a +synonym); @code{emacs} is equivalent to @code{emacs-standard}. @item -l List the names of all Readline functions. @@ -3874,7 +3964,7 @@ a script executed with the @code{.} or @code{source} builtins). Without @var{expr}, @code{caller} displays the line number and source filename of the current subroutine call. -If a non-negative integer is supplied as @var{expr}, @code{caller} +If a non-negative integer is supplied as @var{expr}, @code{caller} displays the line number, subroutine name, and source file corresponding to that position in the current execution call stack. This extra information may be used, for example, to print a stack trace. The @@ -3935,7 +4025,7 @@ The @option{-F} option inhibits the display of function definitions; only the function name and attributes are printed. If the @code{extdebug} shell option is enabled using @code{shopt} (@pxref{The Shopt Builtin}), the source file name and line number where -the function is defined are displayed as well. +each @var{name} is defined are displayed as well. @option{-F} implies @option{-f}. The @option{-g} option forces variables to be created or modified at @@ -3969,10 +4059,11 @@ The upper-case attribute is disabled. Give each @var{name} the @var{nameref} attribute, making it a name reference to another variable. That other variable is defined by the value of @var{name}. -All references and assignments to @var{name}, except for changing the +All references, assignments, and attribute modifications +to @var{name}, except for those using or changing the @option{-n} attribute itself, are performed on the variable referenced by @var{name}'s value. -The @option{-n} attribute cannot be applied to array variables. +The nameref attribute cannot be applied to array variables. @item -r Make @var{name}s readonly. These names cannot then be assigned values @@ -4153,7 +4244,12 @@ and assigned @var{value}. The @var{option} can be any of the options accepted by @code{declare}. @code{local} can only be used within a function; it makes the variable @var{name} have a visible scope restricted to that function and its -children. The return status is zero unless @code{local} is used outside +children. +If @var{name} is @samp{-}, the set of shell options is made local to the +function in which @code{local} is invoked: shell options changed using +the @code{set} builtin inside the function are restored to their original +values when the function returns. +The return status is zero unless @code{local} is used outside a function, an invalid @var{name} is supplied, or @var{name} is a readonly variable. @@ -4169,7 +4265,7 @@ parent. @item mapfile @btindex mapfile @example -mapfile [-n @var{count}] [-O @var{origin}] [-s @var{count}] [-t] [-u @var{fd}] +mapfile [-d @var{delim}] [-n @var{count}] [-O @var{origin}] [-s @var{count}] [-t] [-u @var{fd}] [-C @var{callback}] [-c @var{quantum}] [@var{array}] @end example @@ -4181,6 +4277,9 @@ Options, if supplied, have the following meanings: @table @code +@item -d +The first character of @var{delim} is used to terminate each input line, +rather than newline. @item -n Copy at most @var{count} lines. If @var{count} is 0, all lines are copied. @item -O @@ -4189,7 +4288,7 @@ The default index is 0. @item -s Discard the first @var{count} lines read. @item -t -Remove a trailing newline from each line read. +Remove a trailing @var{delim} (default newline) from each line read. @item -u Read lines from file descriptor @var{fd} instead of the standard input. @item -C @@ -4199,12 +4298,12 @@ The @option{-c} option specifies @var{quantum}. Specify the number of lines read between each call to @var{callback}. @end table -If @option{-C} is specified without @option{-c}, +If @option{-C} is specified without @option{-c}, the default quantum is 5000. When @var{callback} is evaluated, it is supplied the index of the next array element to be assigned and the line to be assigned to that element as additional arguments. -@var{callback} is evaluated after the line is read but before the +@var{callback} is evaluated after the line is read but before the array element is assigned. If not supplied with an explicit origin, @code{mapfile} will clear @var{array} @@ -4236,10 +4335,8 @@ interprets the following extensions: @table @code @item %b Causes @code{printf} to expand backslash escape sequences in the -corresponding @var{argument}, -except that @samp{\c} terminates output, backslashes in -@samp{\'}, @samp{\"}, and @samp{\?} are not removed, and octal escapes -beginning with @samp{\0} may contain up to four digits. +corresponding @var{argument} in the same way as @code{echo -e} +(@pxref{Bash Builtins}). @item %q Causes @code{printf} to output the corresponding @var{argument} in a format that can be reused as shell input. @@ -4274,9 +4371,13 @@ read [-ers] [-a @var{aname}] [-d @var{delim}] [-i @var{text}] [-n @var{nchars}] @end example One line is read from the standard input, or from the file descriptor -@var{fd} supplied as an argument to the @option{-u} option, and the first word +@var{fd} supplied as an argument to the @option{-u} option, +split into words as described above in @ref{Word Splitting}, +and the first word is assigned to the first @var{name}, the second word to the second @var{name}, -and so on, with leftover words and their intervening separators assigned +and so on. +If there are more words than names, +the remaining words and their intervening delimiters are assigned to the last @var{name}. If there are fewer words read from the input stream than names, the remaining names are assigned empty values. @@ -4287,8 +4388,8 @@ The backslash character @samp{\} may be used to remove any special meaning for the next character read and for line continuation. If no names are supplied, the line read is assigned to the variable @env{REPLY}. -The return code is zero, unless end-of-file is encountered, @code{read} -times out (in which case the return code is greater than 128), +The exit status is zero, unless end-of-file is encountered, @code{read} +times out (in which case the status is greater than 128), a variable assignment error (such as assigning to a readonly variable) occurs, or an invalid file descriptor is supplied as the argument to @option{-u}. @@ -4316,7 +4417,7 @@ the editing buffer before editing begins. @item -n @var{nchars} @code{read} returns after reading @var{nchars} characters rather than -waiting for a complete line of input, but honor a delimiter if fewer +waiting for a complete line of input, but honors a delimiter if fewer than @var{nchars} characters are read before the delimiter. @item -N @var{nchars} @@ -4326,6 +4427,9 @@ than waiting for a complete line of input, unless EOF is encountered or Delimiter characters encountered in the input are not treated specially and do not cause @code{read} to return until @var{nchars} characters are read. +The result is not split on the characters in @code{IFS}; the intent is +that the variable is assigned exactly the characters read +(with the exception of backslash; see the @option{-r} option below). @item -p @var{prompt} Display @var{prompt}, without a trailing newline, before attempting @@ -4365,7 +4469,7 @@ Read input from file descriptor @var{fd}. @item readarray @btindex readarray @example -readarray [-n @var{count}] [-O @var{origin}] [-s @var{count}] [-t] [-u @var{fd}] +readarray [-d @var{delim}] [-n @var{count}] [-O @var{origin}] [-s @var{count}] [-t] [-u @var{fd}] [-C @var{callback}] [-c @var{quantum}] [@var{array}] @end example @@ -4434,7 +4538,7 @@ It is a synonym for the @code{declare} builtin command. @item ulimit @btindex ulimit @example -ulimit [-abcdefilmnpqrstuvxHST] [@var{limit}] +ulimit [-HSabcdefiklmnpqrstuvxPT] [@var{limit}] @end example @code{ulimit} provides control over the resources available to processes @@ -4469,6 +4573,9 @@ The maximum size of files written by the shell and its children. @item -i The maximum number of pending signals. +@item -k +The maximum number of kqueues that may be allocated. + @item -l The maximum size that may be locked into memory. @@ -4504,6 +4611,9 @@ some systems, to its children. @item -x The maximum number of file locks. +@item -P +The maximum number of pseudoterminals. + @item -T The maximum number of threads. @end table @@ -4521,8 +4631,14 @@ When setting new limits, if neither @option{-H} nor @option{-S} is supplied, both the hard and soft limits are set. If no option is given, then @option{-f} is assumed. Values are in 1024-byte increments, except for @option{-t}, which is in seconds; @option{-p}, -which is in units of 512-byte blocks; and @option{-T}, @option{-b}, -@option{-n} and @option{-u}, which are unscaled values. +which is in units of 512-byte blocks; +@option{-P}, +@option{-T}, +@option{-b}, +@option{-k}, +@option{-n} and @option{-u}, which are unscaled values; +and, when in @sc{posix} Mode (@pxref{Bash POSIX Mode}), +@option{-c} and @option{-f}, which are in 512-byte increments. The return status is zero unless an invalid option or argument is supplied, or an error occurs while setting a new limit. @@ -4574,8 +4690,9 @@ Options, if specified, have the following meanings: @table @code @item -a -Mark variables and function which are modified or created for export -to the environment of subsequent commands. +Each variable or function that is created or modified is given the +export attribute and marked for export to the environment of +subsequent commands. @item -b Cause the status of terminated background jobs to be reported @@ -4633,8 +4750,8 @@ When a background job completes, the shell prints a line containing its exit status. @item -n -Read commands but do not execute them; this may be used to check a -script for syntax errors. +Read commands but do not execute them. +This may be used to check a script for syntax errors. This option is ignored by interactive shells. @item -o @var{option-name} @@ -4951,7 +5068,10 @@ bash-4.1 and later use the current locale's collation sequence and strcoll(3). If set, Bash changes its behavior to that of version 3.2 with respect to locale-specific string comparison when using the @code{[[} -conditional command's @samp{<} and @samp{>} operators (see previous item). +conditional command's @samp{<} and @samp{>} operators (see previous item) +and the effect of interrupting a command list. +Bash versions 3.2 and earlier continue with the next command in the list +after one terminates due to an interrupt. @item compat40 If set, Bash @@ -4975,6 +5095,17 @@ If set, Bash does not process the replacement string in the pattern substitution word expansion using quote removal. +@item compat43 +If set, Bash +does not print a warning message if an attempt is made to use a quoted compound +array assignment as an argument to @code{declare}, +makes word expansion errors +non-fatal errors that cause the current command to fail (the default behavior is +to make them fatal errors that cause the shell to exit), +and does not reset the +loop state when a shell function is executed (this allows @code{break} or +@code{continue} in a shell function to affect loops in the caller's context). + @item complete_fullquote If set, Bash quotes all shell metacharacters in filenames and directory names when @@ -5020,7 +5151,9 @@ If set, aliases are expanded as described below under Aliases, This option is enabled by default for interactive shells. @item extdebug -If set, behavior intended for use by debuggers is enabled: +If set at shell invocation, arrange to execute the debugger profile +before the shell starts, identical to the @option{--debugger} option. +If set after invocation, behavior intended for use by debuggers is enabled: @enumerate @item @@ -5035,20 +5168,20 @@ next command is skipped and not executed. @item If the command run by the @code{DEBUG} trap returns a value of 2, and the shell is executing in a subroutine (a shell function or a shell script -executed by the @code{.} or @code{source} builtins), a call to -@code{return} is simulated. +executed by the @code{.} or @code{source} builtins), the shell simulates +a call to @code{return}. @item @code{BASH_ARGC} and @code{BASH_ARGV} are updated as described in their descriptions (@pxref{Bash Variables}). @item -Function tracing is enabled: command substitution, shell functions, and +Function tracing is enabled: command substitution, shell functions, and subshells invoked with @code{( @var{command} )} inherit the @code{DEBUG} and @code{RETURN} traps. @item -Error tracing is enabled: command substitution, shell functions, and +Error tracing is enabled: command substitution, shell functions, and subshells invoked with @code{( @var{command} )} inherit the @code{ERR} trap. @end enumerate @@ -5118,6 +5251,11 @@ by default. If set, Bash will send @code{SIGHUP} to all jobs when an interactive login shell exits (@pxref{Signals}). +@item inherit_errexit +If set, command substitution inherits the value of the @code{errexit} option, +instead of unsetting it in the subshell environment. +This option is enabled when @sc{posix} mode is enabled. + @item interactive_comments Allow a word beginning with @samp{#} to cause that word and all remaining characters on that @@ -5139,7 +5277,7 @@ The shell sets this option if it is started as a login shell The value may not be changed. @item mailwarn -If set, and a file that Bash is checking for mail has been +If set, and a file that Bash is checking for mail has been accessed since the last time it was checked, the message @code{"The mail in @var{mailfile} has been read"} is displayed. @@ -5155,7 +5293,9 @@ performing filename expansion. @item nocasematch If set, Bash matches patterns in a case-insensitive fashion when performing matching while executing @code{case} or @code{[[} -conditional commands. +conditional commands, +when performing pattern substitution word expansions, +or when filtering possible completions as part of programmable completion. @item nullglob If set, Bash allows filename patterns which match no @@ -5297,7 +5437,6 @@ current directory. A null directory name may appear as two adjacent colons, or as an initial or trailing colon. - @item PS1 The primary prompt string. The default value is @samp{\s-\v\$ }. @xref{Controlling the Prompt}, for the complete list of escape @@ -5342,8 +5481,12 @@ that do not require Bash to be re-initialized. An associative array variable whose members correspond to the internal list of aliases as maintained by the @code{alias} builtin. (@pxref{Bourne Shell Builtins}). -Elements added to this array appear in the alias list; unsetting array -elements cause aliases to be removed from the alias list. +Elements added to this array appear in the alias list; however, +unsetting array elements currently does not cause aliases to be removed +from the alias list. +If @code{BASH_ALIASES} +is unset, it loses its special properties, even if it is +subsequently reset. @item BASH_ARGC An array variable whose values are the number of parameters in each @@ -5372,8 +5515,12 @@ builtin). An associative array variable whose members correspond to the internal hash table of commands as maintained by the @code{hash} builtin (@pxref{Bourne Shell Builtins}). -Elements added to this array appear in the hash table; unsetting array -elements cause commands to be removed from the hash table. +Elements added to this array appear in the hash table; however, +unsetting array elements currently does not cause command names to be removed +from the hash table. +If @code{BASH_CMDS} +is unset, it loses its special properties, even if it is +subsequently reset. @item BASH_COMMAND The command currently being executed or about to be executed, unless the @@ -5413,6 +5560,11 @@ where each corresponding member of @var{FUNCNAME} was invoked. referenced within another shell function). Use @code{LINENO} to obtain the current line number. +@item BASH_LOADABLES_PATH +A colon-separated list of directories in which the shell looks for +dynamically loadable builtins specified by the +@code{enable} command. + @item BASH_REMATCH An array variable whose members are assigned by the @samp{=~} binary operator to the @code{[[} conditional command @@ -5578,6 +5730,21 @@ Similar to @code{BASH_ENV}; used when the shell is invoked in The numeric effective user id of the current user. This variable is readonly. +@item EXECIGNORE +A colon-separated list of shell patterns (@pxref{Pattern Matching}) +defining the list of filenames to be ignored by command search using +@code{PATH}. +Files whose full pathnames match one of these patterns are not considered +executable files for the purposes of completion and command execution +via @code{PATH} lookup. +This does not affect the behavior of the @code{[}, @code{test}, and @code{[[} +commands. +Full pathnames in the command hash table are not subject to @code{EXECIGNORE}. +Use this variable to ignore shared library files that have the executable +bit set, but are not executable files. +The pattern matching honors the setting of the @code{extglob} shell +option. + @item FCEDIT The editor used as a default by the @option{-e} option to the @code{fc} builtin command. @@ -5598,7 +5765,7 @@ shell function. The bottom-most element (the one with the highest index) is @code{"main"}. This variable exists only when a shell function is executing. -Assignments to @env{FUNCNAME} have no effect and return an error status. +Assignments to @env{FUNCNAME} have no effect. If @env{FUNCNAME} is unset, it loses its special properties, even if it is subsequently reset. @@ -5621,11 +5788,13 @@ be ignored by filename expansion. If a filename matched by a filename expansion pattern also matches one of the patterns in @env{GLOBIGNORE}, it is removed from the list of matches. +The pattern matching honors the setting of the @code{extglob} shell +option. @item GROUPS An array variable containing the list of groups of which the current user is a member. -Assignments to @env{GROUPS} have no effect and return an error status. +Assignments to @env{GROUPS} have no effect. If @env{GROUPS} is unset, it loses its special properties, even if it is subsequently reset. @@ -5697,6 +5866,8 @@ before attempting a match. The second and subsequent lines of a multi-line compound command are not tested, and are added to the history regardless of the value of @env{HISTIGNORE}. +The pattern matching honors the setting of the @code{extglob} shell +option. @env{HISTIGNORE} subsumes the function of @env{HISTCONTROL}. A pattern of @samp{&} is identical to @code{ignoredups}, and a @@ -5780,6 +5951,10 @@ strings preceded by a @samp{$} (@pxref{Locale Translation}). @item LC_NUMERIC This variable determines the locale category used for number formatting. +@item LC_TIME +This variable determines the locale category used for data and time +formatting. + @item LINENO The line number in the script or shell function currently executing. @@ -5848,6 +6023,11 @@ trailing directory components to retain when expanding the @code{\w} and @code{\W} prompt string escapes (@pxref{Controlling the Prompt}). Characters removed are replaced with an ellipsis. +@item PS0 +The value of this parameter is expanded like @var{PS1} +and displayed by interactive shells after reading a command +and before the command is executed. + @item PS3 The value of this variable is used as the prompt for the @code{select} command. If this variable is not set, the @@ -6076,10 +6256,13 @@ invocation which are not available with the @code{set} builtin. @table @code @item -c -Read and execute commands from the first non-option @var{argument} -after processing the options, then exit. -Any remaining arguments are assigned to the -positional parameters, starting with @code{$0}. +Read and execute commands from the first non-option argument +@var{command_string}, then exit. +If there are arguments after the @var{command_string}, +the first argument is assigned to @code{$0} +and any remaining arguments are assigned to the positional parameters. +The assignment to @code{$0} sets the name of the shell, which is used +in warning and error messages. @item -i Force the shell to run interactively. Interactive shells are @@ -6174,7 +6357,9 @@ and executes commands from the first one that exists and is readable. The @option{--noprofile} option may be used when the shell is started to inhibit this behavior. -When a login shell exits, Bash reads and executes commands from +When an interactive login shell exits, +or a non-interactive login shell executes the @code{exit} builtin command, +Bash reads and executes commands from the file @file{~/.bash_logout}, if it exists. @subsubheading Invoked as an interactive non-login shell @@ -6341,6 +6526,7 @@ signals @code{SIGTTIN}, @code{SIGTTOU}, and @code{SIGTSTP}. Bash expands and displays @env{PS1} before reading the first line of a command, and expands and displays @env{PS2} before reading the second and subsequent lines of a multi-line command. +Bash displays @env{PS0} after it reads a command but before executing it. @item Bash executes the value of the @env{PROMPT_COMMAND} variable as a command @@ -6435,6 +6621,11 @@ and the @code{test} and @code{[} builtin commands. Expressions may be unary or binary. Unary expressions are often used to examine the status of a file. There are string operators and numeric comparison operators as well. +Bash handles several filenames specially when they are used in +expressions. +If the operating system on which Bash is running provides these +special files, Bash will use them; otherwise it will emulate them +internally with this behavior: If the @var{file} argument to one of the primaries is of the form @file{/dev/fd/@var{N}}, then file descriptor @var{N} is checked. If the @var{file} argument to one of the primaries is one of @@ -6578,8 +6769,8 @@ may be positive or negative integers. @cindex arithmetic evaluation The shell allows arithmetic expressions to be evaluated, as one of -the shell expansions or by the @code{let} and the @option{-i} option -to the @code{declare} builtins. +the shell expansions or by using the @code{((} compound command, the +@code{let} builtin, or the @option{-i} option to the @code{declare} builtin. Evaluation is done in fixed-width integers with no check for overflow, though division by 0 is trapped and flagged as an error. @@ -6666,7 +6857,7 @@ is a decimal number between 2 and 64 representing the arithmetic base, and @var{n} is a number in that base. If @var{base}@code{#} is omitted, then base 10 is used. When specifying @var{n}, -he digits greater than 9 are represented by the lowercase letters, +the digits greater than 9 are represented by the lowercase letters, the uppercase letters, @samp{@@}, and @samp{_}, in that order. If @var{base} is less than or equal to 36, lowercase and uppercase letters may be used interchangeably to represent numbers between 10 @@ -6728,7 +6919,7 @@ on that line are not affected by the new alias. This behavior is also an issue when functions are executed. Aliases are expanded when a function definition is read, not when the function is executed, because a function definition -is itself a compound command. As a consequence, aliases +is itself a command. As a consequence, aliases defined in a function are not available until after that function is executed. To be safe, always put alias definitions on a separate line, and do not use @code{alias} @@ -6831,15 +7022,18 @@ expansion of the special parameters @samp{@@} and @samp{*}. @code{$@{@var{name}[@var{subscript}]@}}. If @var{subscript} is @samp{@@} or @samp{*}, the expansion is the number of elements in the array. -Referencing an array variable without a subscript is equivalent to -referencing with a subscript of 0. If the @var{subscript} used to reference an element of an indexed array -evaluates to a number less than zero, it is +evaluates to a number less than zero, it is interpreted as relative to one greater than the maximum index of the array, so negative indices count back from the end of the array, and an index of -1 refers to the last element. +Referencing an array variable without a subscript is equivalent to +referencing with a subscript of 0. +Any reference to a variable using a valid subscript is legal, and +@code{bash} will create an array if necessary. + An array variable is considered set if a subscript has been assigned a value. The null string is a valid value. @@ -6884,6 +7078,7 @@ The directory stack is a list of recently-visited directories. The the current directory, and the @code{popd} builtin removes specified directories from the stack and changes the current directory to the directory removed. The @code{dirs} builtin displays the contents +of the directory stack. The current directory is always the "top" of the directory stack. The contents of the directory stack are also visible @@ -6903,6 +7098,7 @@ dirs [-clpv] [+@var{N} | -@var{N}] Display the list of currently remembered directories. Directories are added to the list with the @code{pushd} command; the @code{popd} command removes directories from the list. +The current directory is always the first directory in the stack. @table @code @item -c @@ -6932,13 +7128,11 @@ with zero. popd [-n] [+@var{N} | -@var{N}] @end example -Remove the top entry from the directory stack, and @code{cd} -to the new top directory. When no arguments are given, @code{popd} removes the top directory from the stack and -performs a @code{cd} to the new top directory. The -elements are numbered from 0 starting at the first directory listed with -@code{dirs}; that is, @code{popd} is equivalent to @code{popd +0}. +performs a @code{cd} to the new top directory. +The elements are numbered from 0 starting at the first directory +listed with @code{dirs}; that is, @code{popd} is equivalent to @code{popd +0}. @table @code @item -n @@ -6960,12 +7154,13 @@ pushd [-n] [@var{+N} | @var{-N} | @var{dir}] Save the current directory on the top of the directory stack and then @code{cd} to @var{dir}. -With no arguments, @code{pushd} exchanges the top two directories. +With no arguments, @code{pushd} exchanges the top two directories +and makes the new top the current directory. @table @code @item -n -Suppresses the normal change of directory when adding directories -to the stack, so that only the stack is manipulated. +Suppresses the normal change of directory when rotating or +adding directories to the stack, so that only the stack is manipulated. @item +@var{N} Brings the @var{N}th directory (counting from the left of the list printed by @code{dirs}, starting with zero) to the top of @@ -6975,7 +7170,7 @@ Brings the @var{N}th directory (counting from the right of the list printed by @code{dirs}, starting with zero) to the top of the list by rotating the stack. @item @var{dir} -Makes the current working directory be the top of the stack, making +Makes @var{dir} be the top of the stack, making it the new current directory as if it had been supplied as an argument to the @code{cd} builtin. @end table @@ -7151,9 +7346,7 @@ is stopped is `Stopped(@var{signame})', where @var{signame} is, for example, @code{SIGTSTP}. @item -The @code{bg} builtin uses the required format to describe each job placed -in the background, which does not include an indication of whether the job -is the current or previous job. +Alias expansion is always enabled, even in non-interactive shells. @item Reserved words appearing in a context where reserved words are recognized @@ -7173,37 +7366,10 @@ the normal Bash files. Tilde expansion is only performed on assignments preceding a command name, rather than on all assignment statements on the line. -@item -The @code{command} builtin does not prevent builtins that take assignment -statements as arguments from expanding them as assignment statements; -when not in @sc{posix} mode, assignment builtins lose their assignment -statement expansion properties when preceded by @code{command}. - @item The default history file is @file{~/.sh_history} (this is the default value of @env{$HISTFILE}). -@item -The output of @samp{kill -l} prints all the signal names on a single line, -separated by spaces, without the @samp{SIG} prefix. - -@item -The @code{kill} builtin does not accept signal names with a @samp{SIG} -prefix. - -@item -Non-interactive shells exit if @var{filename} in @code{.} @var{filename} -is not found. - -@item -Non-interactive shells exit if a syntax error in an arithmetic expansion -results in an invalid expression. - -@item -Non-interactive shells exit if there is a syntax error in a script read -with the @code{.} or @code{source} builtins, or in a string processed by -the @code{eval} builtin. - @item Redirection operators do not perform filename expansion on the word in the redirection unless the shell is interactive. @@ -7226,6 +7392,15 @@ builtins. @sc{posix} special builtins are found before shell functions during command lookup. +@item +When printing shell function definitions (e.g., by @code{type}), Bash does +not print the @code{function} keyword. + +@item +Literal tildes that appear as the first character in elements of +the @env{PATH} variable are not expanded as described above +under @ref{Tilde Expansion}. + @item The @code{time} reserved word may be used by itself as a command. When used in this way, it displays timing statistics for the shell and its @@ -7243,6 +7418,10 @@ not have to appear as matched pairs. The parser does not recognize @code{time} as a reserved word if the next token begins with a @samp{-}. +@item +The @samp{!} character does not introduce history expansion within a +double-quoted string, even if the @code{histexpand} option is enabled. + @item If a @sc{posix} special builtin returns an error status, a non-interactive shell exits. The fatal errors are those listed in @@ -7267,6 +7446,22 @@ A non-interactive shell exits with an error status if the iteration variable in a @code{for} statement or the selection variable in a @code{select} statement is a readonly variable. +@item +Non-interactive shells exit if @var{filename} in @code{.} @var{filename} +is not found. + +@item +Non-interactive shells exit if a syntax error in an arithmetic expansion +results in an invalid expression. + +@item +Non-interactive shells exit if a parameter expansion error occurs. + +@item +Non-interactive shells exit if there is a syntax error in a script read +with the @code{.} or @code{source} builtins, or in a string processed by +the @code{eval} builtin. + @item Process substitution is not available. @@ -7274,6 +7469,11 @@ Process substitution is not available. While variable indirection is available, it may not be applied to the @samp{#} and @samp{?} special parameters. +@item +When expanding the @samp{*} special parameter in a pattern context where the +expansion is double-quoted does not treat the @code{$*} as if it were +double-quoted. + @item Assignment statements preceding @sc{posix} special builtins persist in the shell environment after the builtin completes. @@ -7283,6 +7483,25 @@ Assignment statements preceding shell function calls persist in the shell environment after the function returns, as if a @sc{posix} special builtin command had been executed. +@item +The @code{command} builtin does not prevent builtins that take assignment +statements as arguments from expanding them as assignment statements; +when not in @sc{posix} mode, assignment builtins lose their assignment +statement expansion properties when preceded by @code{command}. + +@item +The @code{bg} builtin uses the required format to describe each job placed +in the background, which does not include an indication of whether the job +is the current or previous job. + +@item +The output of @samp{kill -l} prints all the signal names on a single line, +separated by spaces, without the @samp{SIG} prefix. + +@item +The @code{kill} builtin does not accept signal names with a @samp{SIG} +prefix. + @item The @code{export} and @code{readonly} builtin commands display their output in the format required by @sc{posix}. @@ -7304,13 +7523,13 @@ The @code{.} and @code{source} builtins do not search the current directory for the filename argument if it is not found by searching @env{PATH}. @item -Subshells spawned to execute command substitutions inherit the value of -the @option{-e} option from the parent shell. When not in @sc{posix} mode, +Enabling @sc{posix} mode has the effect of setting the +@code{inherit_errexit} option, so +subshells spawned to execute command substitutions inherit the value of +the @option{-e} option from the parent shell. +When the @code{inherit_errexit} option is not enabled, Bash clears the @option{-e} option in such subshells. -@item -Alias expansion is always enabled, even in non-interactive shells. - @item When the @code{alias} builtin displays alias definitions, it does not display them with a leading @samp{alias } unless the @option{-p} option @@ -7373,6 +7592,10 @@ has been set. If Bash receives a trapped signal while executing @code{read}, the trap handler executes and @code{read} returns an exit status greater than 128. +@item +Bash removes an exited background process's status from the list of such +statuses after the @code{wait} builtin is used to obtain it. + @end enumerate There is other @sc{posix} behavior that Bash does not implement by @@ -7589,7 +7812,7 @@ passing it @var{argument}s, returning its exit status. @btindex kill @example kill [-s @var{sigspec}] [-n @var{signum}] [-@var{sigspec}] @var{jobspec} or @var{pid} -kill -l [@var{exit_status}] +kill -l|-L [@var{exit_status}] @end example Send a signal specified by @var{sigspec} or @var{signum} to the process @@ -7604,6 +7827,7 @@ signals corresponding to the arguments are listed, and the return status is zero. @var{exit_status} is a number specifying a signal number or the exit status of a process terminated by a signal. +The @option{-L} option is equivalent to @option{-l}. The return status is zero if at least one signal was successfully sent, or non-zero if an error occurs or an invalid option is encountered. @@ -7627,7 +7851,7 @@ of the shell, the return status is 127. @item disown @btindex disown @example -disown [-ar] [-h] [@var{jobspec} @dots{}] +disown [-ar] [-h] [@var{jobspec} @dots{} | @var{pid} @dots{} ] @end example Without options, remove each @var{jobspec} from the table of @@ -8019,7 +8243,7 @@ the following options, but it is processed first, so individual options may be enabled using @samp{enable-@var{feature}}. All of the following options except for @samp{disabled-builtins}, -@samp{directpand-default}, and +@samp{direxpand-default}, and @samp{xpg-echo-default} are enabled by default, unless the operating system does not provide the necessary support. @@ -8105,6 +8329,11 @@ above under @ref{Pattern Matching}. Set the default value of the @var{extglob} shell option described above under @ref{The Shopt Builtin} to be enabled. +@item --enable-function-import +Include support for importing function definitions exported by another +instance of the shell from the environment. This option is enabled by +default. + @item --enable-glob-asciirange-default Set the default value of the @var{globasciiranges} shell option described above under @ref{The Shopt Builtin} to be enabled. diff --git a/doc/builtins.0 b/doc/builtins.0 index dcdc6c512..3706dad49 100644 --- a/doc/builtins.0 +++ b/doc/builtins.0 @@ -1,4 +1,4 @@ -BASH_BUILTINS(1) BASH_BUILTINS(1) +BASH_BUILTINS(1) General Commands Manual BASH_BUILTINS(1) @@ -15,38 +15,44 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS Unless otherwise noted, each builtin command documented in this section as accepting options preceded by -- accepts ---- to signify the end of the options. The ::, ttrruuee, ffaallssee, and tteesstt builtins do not accept options - and do not treat ---- specially. The eexxiitt, llooggoouutt, bbrreeaakk, ccoonnttiinnuuee, lleett, - and sshhiifftt builtins accept and process arguments beginning with -- with- - out requiring ----. Other builtins that accept arguments but are not - specified as accepting options interpret arguments beginning with -- as - invalid options and require ---- to prevent this interpretation. + and do not treat ---- specially. The eexxiitt, llooggoouutt, rreettuurrnn, bbrreeaakk, ccoonn-- + ttiinnuuee, lleett, and sshhiifftt builtins accept and process arguments beginning + with -- without requiring ----. Other builtins that accept arguments but + are not specified as accepting options interpret arguments beginning + with -- as invalid options and require ---- to prevent this interpreta- + tion. :: [_a_r_g_u_m_e_n_t_s] - No effect; the command does nothing beyond expanding _a_r_g_u_m_e_n_t_s - and performing any specified redirections. A zero exit code is - returned. + No effect; the command does nothing beyond expanding _a_r_g_u_m_e_n_t_s + and performing any specified redirections. The return status is + zero. .. _f_i_l_e_n_a_m_e [_a_r_g_u_m_e_n_t_s] ssoouurrccee _f_i_l_e_n_a_m_e [_a_r_g_u_m_e_n_t_s] - Read and execute commands from _f_i_l_e_n_a_m_e in the current shell - environment and return the exit status of the last command exe- - cuted from _f_i_l_e_n_a_m_e. If _f_i_l_e_n_a_m_e does not contain a slash, - filenames in PPAATTHH are used to find the directory containing + Read and execute commands from _f_i_l_e_n_a_m_e in the current shell + environment and return the exit status of the last command exe- + cuted from _f_i_l_e_n_a_m_e. If _f_i_l_e_n_a_m_e does not contain a slash, + filenames in PPAATTHH are used to find the directory containing _f_i_l_e_n_a_m_e. The file searched for in PPAATTHH need not be executable. - When bbaasshh is not in _p_o_s_i_x _m_o_d_e, the current directory is - searched if no file is found in PPAATTHH. If the ssoouurrcceeppaatthh option - to the sshhoopptt builtin command is turned off, the PPAATTHH is not - searched. If any _a_r_g_u_m_e_n_t_s are supplied, they become the posi- - tional parameters when _f_i_l_e_n_a_m_e is executed. Otherwise the - positional parameters are unchanged. The return status is the - status of the last command exited within the script (0 if no - commands are executed), and false if _f_i_l_e_n_a_m_e is not found or + When bbaasshh is not in _p_o_s_i_x _m_o_d_e, the current directory is + searched if no file is found in PPAATTHH. If the ssoouurrcceeppaatthh option + to the sshhoopptt builtin command is turned off, the PPAATTHH is not + searched. If any _a_r_g_u_m_e_n_t_s are supplied, they become the posi- + tional parameters when _f_i_l_e_n_a_m_e is executed. Otherwise the + positional parameters are unchanged. If the --TT option is + enabled, ssoouurrccee inherits any trap on DDEEBBUUGG; if it is not, any + DDEEBBUUGG trap string is saved and restored around the call to + ssoouurrccee, and ssoouurrccee unsets the DDEEBBUUGG trap while it executes. If + --TT is not set, and the sourced file changes the DDEEBBUUGG trap, the + new value is retained when ssoouurrccee completes. The return status + is the status of the last command exited within the script (0 if + no commands are executed), and false if _f_i_l_e_n_a_m_e is not found or cannot be read. aalliiaass [--pp] [_n_a_m_e[=_v_a_l_u_e] ...] AAlliiaass with no arguments or with the --pp option prints the list of aliases in the form aalliiaass _n_a_m_e=_v_a_l_u_e on standard output. When arguments are supplied, an alias is defined for each _n_a_m_e whose - _v_a_l_u_e is given. A trailing space in _v_a_l_u_e causes the next word + _v_a_l_u_e is given. A trailing space in _v_a_l_u_e causes the next word to be checked for alias substitution when the alias is expanded. For each _n_a_m_e in the argument list for which no _v_a_l_u_e is sup- plied, the name and value of the alias is printed. AAlliiaass @@ -66,7 +72,7 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS bbiinndd [--mm _k_e_y_m_a_p] --ff _f_i_l_e_n_a_m_e bbiinndd [--mm _k_e_y_m_a_p] --xx _k_e_y_s_e_q:_s_h_e_l_l_-_c_o_m_m_a_n_d bbiinndd [--mm _k_e_y_m_a_p] _k_e_y_s_e_q:_f_u_n_c_t_i_o_n_-_n_a_m_e - bbiinndd _r_e_a_d_l_i_n_e_-_c_o_m_m_a_n_d + bbiinndd [--mm _k_e_y_m_a_p] _k_e_y_s_e_q:_r_e_a_d_l_i_n_e_-_c_o_m_m_a_n_d Display current rreeaaddlliinnee key and function bindings, bind a key sequence to a rreeaaddlliinnee function or macro, or set a rreeaaddlliinnee variable. Each non-option argument is a command as it would @@ -77,18 +83,19 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS Use _k_e_y_m_a_p as the keymap to be affected by the subsequent bindings. Acceptable _k_e_y_m_a_p names are _e_m_a_c_s_, _e_m_a_c_s_-_s_t_a_n_- _d_a_r_d_, _e_m_a_c_s_-_m_e_t_a_, _e_m_a_c_s_-_c_t_l_x_, _v_i_, _v_i_-_m_o_v_e_, _v_i_-_c_o_m_m_a_n_d, - and _v_i_-_i_n_s_e_r_t. _v_i is equivalent to _v_i_-_c_o_m_m_a_n_d; _e_m_a_c_s is - equivalent to _e_m_a_c_s_-_s_t_a_n_d_a_r_d. + and _v_i_-_i_n_s_e_r_t. _v_i is equivalent to _v_i_-_c_o_m_m_a_n_d (_v_i_-_m_o_v_e + is also a synonym); _e_m_a_c_s is equivalent to _e_m_a_c_s_-_s_t_a_n_- + _d_a_r_d. --ll List the names of all rreeaaddlliinnee functions. - --pp Display rreeaaddlliinnee function names and bindings in such a + --pp Display rreeaaddlliinnee function names and bindings in such a way that they can be re-read. --PP List current rreeaaddlliinnee function names and bindings. - --ss Display rreeaaddlliinnee key sequences bound to macros and the - strings they output in such a way that they can be re- + --ss Display rreeaaddlliinnee key sequences bound to macros and the + strings they output in such a way that they can be re- read. - --SS Display rreeaaddlliinnee key sequences bound to macros and the + --SS Display rreeaaddlliinnee key sequences bound to macros and the strings they output. - --vv Display rreeaaddlliinnee variable names and values in such a way + --vv Display rreeaaddlliinnee variable names and values in such a way that they can be re-read. --VV List current rreeaaddlliinnee variable names and values. --ff _f_i_l_e_n_a_m_e @@ -100,110 +107,110 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS --rr _k_e_y_s_e_q Remove any current binding for _k_e_y_s_e_q. --xx _k_e_y_s_e_q::_s_h_e_l_l_-_c_o_m_m_a_n_d - Cause _s_h_e_l_l_-_c_o_m_m_a_n_d to be executed whenever _k_e_y_s_e_q is - entered. When _s_h_e_l_l_-_c_o_m_m_a_n_d is executed, the shell sets - the RREEAADDLLIINNEE__LLIINNEE variable to the contents of the rreeaadd-- - lliinnee line buffer and the RREEAADDLLIINNEE__PPOOIINNTT variable to the + Cause _s_h_e_l_l_-_c_o_m_m_a_n_d to be executed whenever _k_e_y_s_e_q is + entered. When _s_h_e_l_l_-_c_o_m_m_a_n_d is executed, the shell sets + the RREEAADDLLIINNEE__LLIINNEE variable to the contents of the rreeaadd-- + lliinnee line buffer and the RREEAADDLLIINNEE__PPOOIINNTT variable to the current location of the insertion point. If the executed - command changes the value of RREEAADDLLIINNEE__LLIINNEE or RREEAADD-- - LLIINNEE__PPOOIINNTT, those new values will be reflected in the + command changes the value of RREEAADDLLIINNEE__LLIINNEE or RREEAADD-- + LLIINNEE__PPOOIINNTT, those new values will be reflected in the editing state. - --XX List all key sequences bound to shell commands and the - associated commands in a format that can be reused as + --XX List all key sequences bound to shell commands and the + associated commands in a format that can be reused as input. - The return value is 0 unless an unrecognized option is given or + The return value is 0 unless an unrecognized option is given or an error occurred. bbrreeaakk [_n] - Exit from within a ffoorr, wwhhiillee, uunnttiill, or sseelleecctt loop. If _n is - specified, break _n levels. _n must be >= 1. If _n is greater - than the number of enclosing loops, all enclosing loops are - exited. The return value is 0 unless _n is not greater than or + Exit from within a ffoorr, wwhhiillee, uunnttiill, or sseelleecctt loop. If _n is + specified, break _n levels. _n must be >= 1. If _n is greater + than the number of enclosing loops, all enclosing loops are + exited. The return value is 0 unless _n is not greater than or equal to 1. bbuuiillttiinn _s_h_e_l_l_-_b_u_i_l_t_i_n [_a_r_g_u_m_e_n_t_s] - Execute the specified shell builtin, passing it _a_r_g_u_m_e_n_t_s, and + Execute the specified shell builtin, passing it _a_r_g_u_m_e_n_t_s, and return its exit status. This is useful when defining a function - whose name is the same as a shell builtin, retaining the func- + whose name is the same as a shell builtin, retaining the func- tionality of the builtin within the function. The ccdd builtin is - commonly redefined this way. The return status is false if + commonly redefined this way. The return status is false if _s_h_e_l_l_-_b_u_i_l_t_i_n is not a shell builtin command. ccaalllleerr [_e_x_p_r] Returns the context of any active subroutine call (a shell func- tion or a script executed with the .. or ssoouurrccee builtins). With- out _e_x_p_r, ccaalllleerr displays the line number and source filename of - the current subroutine call. If a non-negative integer is sup- + the current subroutine call. If a non-negative integer is sup- plied as _e_x_p_r, ccaalllleerr displays the line number, subroutine name, - and source file corresponding to that position in the current - execution call stack. This extra information may be used, for - example, to print a stack trace. The current frame is frame 0. - The return value is 0 unless the shell is not executing a sub- - routine call or _e_x_p_r does not correspond to a valid position in + and source file corresponding to that position in the current + execution call stack. This extra information may be used, for + example, to print a stack trace. The current frame is frame 0. + The return value is 0 unless the shell is not executing a sub- + routine call or _e_x_p_r does not correspond to a valid position in the call stack. ccdd [--LL|[--PP [--ee]] [-@]] [_d_i_r] - Change the current directory to _d_i_r. if _d_i_r is not supplied, - the value of the HHOOMMEE shell variable is the default. Any addi- + Change the current directory to _d_i_r. if _d_i_r is not supplied, + the value of the HHOOMMEE shell variable is the default. Any addi- tional arguments following _d_i_r are ignored. The variable CCDDPPAATTHH - defines the search path for the directory containing _d_i_r: each - directory name in CCDDPPAATTHH is searched for _d_i_r. Alternative - directory names in CCDDPPAATTHH are separated by a colon (:). A null - directory name in CCDDPPAATTHH is the same as the current directory, + defines the search path for the directory containing _d_i_r: each + directory name in CCDDPPAATTHH is searched for _d_i_r. Alternative + directory names in CCDDPPAATTHH are separated by a colon (:). A null + directory name in CCDDPPAATTHH is the same as the current directory, i.e., ``..''. If _d_i_r begins with a slash (/), then CCDDPPAATTHH is not - used. The --PP option causes ccdd to use the physical directory - structure by resolving symbolic links while traversing _d_i_r and + used. The --PP option causes ccdd to use the physical directory + structure by resolving symbolic links while traversing _d_i_r and before processing instances of _._. in _d_i_r (see also the --PP option to the sseett builtin command); the --LL option forces symbolic links - to be followed by resolving the link after processing instances + to be followed by resolving the link after processing instances of _._. in _d_i_r. If _._. appears in _d_i_r, it is processed by removing - the immediately previous pathname component from _d_i_r, back to a - slash or the beginning of _d_i_r. If the --ee option is supplied - with --PP, and the current working directory cannot be success- - fully determined after a successful directory change, ccdd will - return an unsuccessful status. On systems that support it, the - --@@ option presents the extended attributes associated with a - file as a directory. An argument of -- is converted to $$OOLLDDPPWWDD + the immediately previous pathname component from _d_i_r, back to a + slash or the beginning of _d_i_r. If the --ee option is supplied + with --PP, and the current working directory cannot be success- + fully determined after a successful directory change, ccdd will + return an unsuccessful status. On systems that support it, the + --@@ option presents the extended attributes associated with a + file as a directory. An argument of -- is converted to $$OOLLDDPPWWDD before the directory change is attempted. If a non-empty direc- - tory name from CCDDPPAATTHH is used, or if -- is the first argument, + tory name from CCDDPPAATTHH is used, or if -- is the first argument, and the directory change is successful, the absolute pathname of - the new working directory is written to the standard output. - The return value is true if the directory was successfully + the new working directory is written to the standard output. + The return value is true if the directory was successfully changed; false otherwise. ccoommmmaanndd [--ppVVvv] _c_o_m_m_a_n_d [_a_r_g ...] - Run _c_o_m_m_a_n_d with _a_r_g_s suppressing the normal shell function - lookup. Only builtin commands or commands found in the PPAATTHH are - executed. If the --pp option is given, the search for _c_o_m_m_a_n_d is - performed using a default value for PPAATTHH that is guaranteed to - find all of the standard utilities. If either the --VV or --vv + Run _c_o_m_m_a_n_d with _a_r_g_s suppressing the normal shell function + lookup. Only builtin commands or commands found in the PPAATTHH are + executed. If the --pp option is given, the search for _c_o_m_m_a_n_d is + performed using a default value for PPAATTHH that is guaranteed to + find all of the standard utilities. If either the --VV or --vv option is supplied, a description of _c_o_m_m_a_n_d is printed. The --vv - option causes a single word indicating the command or filename + option causes a single word indicating the command or filename used to invoke _c_o_m_m_a_n_d to be displayed; the --VV option produces a - more verbose description. If the --VV or --vv option is supplied, - the exit status is 0 if _c_o_m_m_a_n_d was found, and 1 if not. If + more verbose description. If the --VV or --vv option is supplied, + the exit status is 0 if _c_o_m_m_a_n_d was found, and 1 if not. If neither option is supplied and an error occurred or _c_o_m_m_a_n_d can- - not be found, the exit status is 127. Otherwise, the exit sta- + not be found, the exit status is 127. Otherwise, the exit sta- tus of the ccoommmmaanndd builtin is the exit status of _c_o_m_m_a_n_d. ccoommppggeenn [_o_p_t_i_o_n] [_w_o_r_d] - Generate possible completion matches for _w_o_r_d according to the - _o_p_t_i_o_ns, which may be any option accepted by the ccoommpplleettee - builtin with the exception of --pp and --rr, and write the matches - to the standard output. When using the --FF or --CC options, the - various shell variables set by the programmable completion + Generate possible completion matches for _w_o_r_d according to the + _o_p_t_i_o_ns, which may be any option accepted by the ccoommpplleettee + builtin with the exception of --pp and --rr, and write the matches + to the standard output. When using the --FF or --CC options, the + various shell variables set by the programmable completion facilities, while available, will not have useful values. - The matches will be generated in the same way as if the pro- - grammable completion code had generated them directly from a - completion specification with the same flags. If _w_o_r_d is speci- - fied, only those completions matching _w_o_r_d will be displayed. + The matches will be generated in the same way as if the program- + mable completion code had generated them directly from a comple- + tion specification with the same flags. If _w_o_r_d is specified, + only those completions matching _w_o_r_d will be displayed. - The return value is true unless an invalid option is supplied, + The return value is true unless an invalid option is supplied, or no matches were generated. - ccoommpplleettee [--aabbccddeeffggjjkkssuuvv] [--oo _c_o_m_p_-_o_p_t_i_o_n] [--DDEE] [--AA _a_c_t_i_o_n] [--GG _g_l_o_b_- + ccoommpplleettee [--aabbccddeeffggjjkkssuuvv] [--oo _c_o_m_p_-_o_p_t_i_o_n] [--DDEE] [--AA _a_c_t_i_o_n] [--GG _g_l_o_b_- _p_a_t] [--WW _w_o_r_d_l_i_s_t] [--FF _f_u_n_c_t_i_o_n] [--CC _c_o_m_m_a_n_d] [--XX _f_i_l_t_e_r_p_a_t] [--PP _p_r_e_f_i_x] [--SS _s_u_f_f_i_x] _n_a_m_e [_n_a_m_e _._._.] ccoommpplleettee --pprr [--DDEE] [_n_a_m_e ...] @@ -221,8 +228,8 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS attempted on a blank line. The process of applying these completion specifications when - word completion is attempted is described above under PPrroo-- - ggrraammmmaabbllee CCoommpplleettiioonn. + word completion is attempted is described above under PPrrooggrraamm-- + mmaabbllee CCoommpplleettiioonn. Other options, if specified, have the following meanings. The arguments to the --GG, --WW, and --XX options (and, if necessary, the @@ -250,22 +257,24 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS nnooqquuoottee Tell readline not to quote the completed words if they are filenames (quoting filenames is the default). - nnoossppaaccee Tell readline not to append a space (the - default) to words completed at the end of the + nnoossoorrtt Tell readline not to sort the list of possible + completions alphabetically. + nnoossppaaccee Tell readline not to append a space (the + default) to words completed at the end of the line. pplluussddiirrss - After any matches defined by the compspec are - generated, directory name completion is - attempted and any matches are added to the + After any matches defined by the compspec are + generated, directory name completion is + attempted and any matches are added to the results of the other actions. --AA _a_c_t_i_o_n - The _a_c_t_i_o_n may be one of the following to generate a + The _a_c_t_i_o_n may be one of the following to generate a list of possible completions: aalliiaass Alias names. May also be specified as --aa. aarrrraayyvvaarr Array variable names. bbiinnddiinngg RReeaaddlliinnee key binding names. - bbuuiillttiinn Names of shell builtin commands. May also be + bbuuiillttiinn Names of shell builtin commands. May also be specified as --bb. ccoommmmaanndd Command names. May also be specified as --cc. ddiirreeccttoorryy @@ -273,7 +282,7 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS ddiissaabblleedd Names of disabled shell builtins. eennaabblleedd Names of enabled shell builtins. - eexxppoorrtt Names of exported shell variables. May also be + eexxppoorrtt Names of exported shell variables. May also be specified as --ee. ffiillee File names. May also be specified as --ff. ffuunnccttiioonn @@ -282,11 +291,11 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS hheellppttooppiicc Help topics as accepted by the hheellpp builtin. hhoossttnnaammee - Hostnames, as taken from the file specified by + Hostnames, as taken from the file specified by the HHOOSSTTFFIILLEE shell variable. - jjoobb Job names, if job control is active. May also + jjoobb Job names, if job control is active. May also be specified as --jj. - kkeeyywwoorrdd Shell reserved words. May also be specified as + kkeeyywwoorrdd Shell reserved words. May also be specified as --kk. rruunnnniinngg Names of running jobs, if job control is active. sseerrvviiccee Service names. May also be specified as --ss. @@ -301,40 +310,40 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS Names of all shell variables. May also be spec- ified as --vv. --CC _c_o_m_m_a_n_d - _c_o_m_m_a_n_d is executed in a subshell environment, and its + _c_o_m_m_a_n_d is executed in a subshell environment, and its output is used as the possible completions. --FF _f_u_n_c_t_i_o_n - The shell function _f_u_n_c_t_i_o_n is executed in the current - shell environment. When the function is executed, the - first argument ($$11) is the name of the command whose - arguments are being completed, the second argument ($$22) + The shell function _f_u_n_c_t_i_o_n is executed in the current + shell environment. When the function is executed, the + first argument ($$11) is the name of the command whose + arguments are being completed, the second argument ($$22) is the word being completed, and the third argument ($$33) - is the word preceding the word being completed on the - current command line. When it finishes, the possible - completions are retrieved from the value of the CCOOMMPPRREE-- + is the word preceding the word being completed on the + current command line. When it finishes, the possible + completions are retrieved from the value of the CCOOMMPPRREE-- PPLLYY array variable. --GG _g_l_o_b_p_a_t - The pathname expansion pattern _g_l_o_b_p_a_t is expanded to + The pathname expansion pattern _g_l_o_b_p_a_t is expanded to generate the possible completions. --PP _p_r_e_f_i_x - _p_r_e_f_i_x is added at the beginning of each possible com- + _p_r_e_f_i_x is added at the beginning of each possible com- pletion after all other options have been applied. --SS _s_u_f_f_i_x _s_u_f_f_i_x is appended to each possible completion after all other options have been applied. --WW _w_o_r_d_l_i_s_t - The _w_o_r_d_l_i_s_t is split using the characters in the IIFFSS - special variable as delimiters, and each resultant word - is expanded. The possible completions are the members - of the resultant list which match the word being com- + The _w_o_r_d_l_i_s_t is split using the characters in the IIFFSS + special variable as delimiters, and each resultant word + is expanded. The possible completions are the members + of the resultant list which match the word being com- pleted. --XX _f_i_l_t_e_r_p_a_t - _f_i_l_t_e_r_p_a_t is a pattern as used for pathname expansion. + _f_i_l_t_e_r_p_a_t is a pattern as used for pathname expansion. It is applied to the list of possible completions gener- - ated by the preceding options and arguments, and each - completion matching _f_i_l_t_e_r_p_a_t is removed from the list. - A leading !! in _f_i_l_t_e_r_p_a_t negates the pattern; in this - case, any completion not matching _f_i_l_t_e_r_p_a_t is removed. + ated by the preceding options and arguments, and each + completion matching _f_i_l_t_e_r_p_a_t is removed from the list. + A leading !! in _f_i_l_t_e_r_p_a_t negates the pattern; in this + case, any completion not matching _f_i_l_t_e_r_p_a_t is removed. The return value is true unless an invalid option is supplied, an option other than --pp or --rr is supplied without a _n_a_m_e argu- @@ -382,12 +391,12 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS inhibits the display of function definitions; only the function name and attributes are printed. If the eexxttddeebbuugg shell option is enabled using sshhoopptt, the source file name and line number - where the function is defined are displayed as well. The --FF - option implies --ff. The --gg option forces variables to be created - or modified at the global scope, even when ddeeccllaarree is executed - in a shell function. It is ignored in all other cases. The - following options can be used to restrict output to variables - with the specified attribute or to give variables attributes: + where each _n_a_m_e is defined are displayed as well. The --FF option + implies --ff. The --gg option forces variables to be created or + modified at the global scope, even when ddeeccllaarree is executed in a + shell function. It is ignored in all other cases. The follow- + ing options can be used to restrict output to variables with the + specified attribute or to give variables attributes: --aa Each _n_a_m_e is an indexed array variable (see AArrrraayyss above). --AA Each _n_a_m_e is an associative array variable (see AArrrraayyss @@ -401,11 +410,11 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS attribute is disabled. --nn Give each _n_a_m_e the _n_a_m_e_r_e_f attribute, making it a name reference to another variable. That other variable is - defined by the value of _n_a_m_e. All references and assign- - ments to _n_a_m_e, except for changing the --nn attribute - itself, are performed on the variable referenced by - _n_a_m_e's value. The --nn attribute cannot be applied to - array variables. + defined by the value of _n_a_m_e. All references, assign- + ments, and attribute modifications to _n_a_m_e, except those + using or changing the --nn attribute itself, are performed + on the variable referenced by _n_a_m_e's value. The nameref + attribute cannot be applied to array variables. --rr Make _n_a_m_es readonly. These names cannot then be assigned values by subsequent assignment statements or unset. --tt Give each _n_a_m_e the _t_r_a_c_e attribute. Traced functions @@ -442,10 +451,11 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS directories. The default display is on a single line with directory names separated by spaces. Directories are added to the list with the ppuusshhdd command; the ppooppdd command removes - entries from the list. + entries from the list. The current directory is always the + first directory in the stack. --cc Clears the directory stack by deleting all of the entries. - --ll Produces a listing using full pathnames; the default + --ll Produces a listing using full pathnames; the default listing format uses a tilde to denote the home directory. --pp Print the directory stack with one entry per line. --vv Print the directory stack with one entry per line, pre- @@ -460,7 +470,7 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS The return value is 0 unless an invalid option is supplied or _n indexes beyond the end of the directory stack. - ddiissoowwnn [--aarr] [--hh] [_j_o_b_s_p_e_c ...] + ddiissoowwnn [--aarr] [--hh] [_j_o_b_s_p_e_c ... | _p_i_d ... ] Without options, remove each _j_o_b_s_p_e_c from the table of active jobs. If _j_o_b_s_p_e_c is not present, and neither the --aa nor the --rr option is supplied, the _c_u_r_r_e_n_t _j_o_b is used. If the --hh option @@ -544,101 +554,101 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS returns failure. An interactive shell returns failure if the file cannot be executed. If _c_o_m_m_a_n_d is not specified, any redi- rections take effect in the current shell, and the return status - is 0. If there is a redirection error, the return status is 1. + is 0. If there is a redirection error, the return status is 1. eexxiitt [_n] - Cause the shell to exit with a status of _n. If _n is omitted, + Cause the shell to exit with a status of _n. If _n is omitted, the exit status is that of the last command executed. A trap on EEXXIITT is executed before the shell terminates. eexxppoorrtt [--ffnn] [_n_a_m_e[=_w_o_r_d]] ... eexxppoorrtt --pp - The supplied _n_a_m_e_s are marked for automatic export to the envi- - ronment of subsequently executed commands. If the --ff option is - given, the _n_a_m_e_s refer to functions. If no _n_a_m_e_s are given, or - if the --pp option is supplied, a list of names of all exported - variables is printed. The --nn option causes the export property + The supplied _n_a_m_e_s are marked for automatic export to the envi- + ronment of subsequently executed commands. If the --ff option is + given, the _n_a_m_e_s refer to functions. If no _n_a_m_e_s are given, or + if the --pp option is supplied, a list of names of all exported + variables is printed. The --nn option causes the export property to be removed from each _n_a_m_e. If a variable name is followed by =_w_o_r_d, the value of the variable is set to _w_o_r_d. eexxppoorrtt returns an exit status of 0 unless an invalid option is encountered, one - of the _n_a_m_e_s is not a valid shell variable name, or --ff is sup- + of the _n_a_m_e_s is not a valid shell variable name, or --ff is sup- plied with a _n_a_m_e that is not a function. ffcc [--ee _e_n_a_m_e] [--llnnrr] [_f_i_r_s_t] [_l_a_s_t] ffcc --ss [_p_a_t=_r_e_p] [_c_m_d] - The first form selects a range of commands from _f_i_r_s_t to _l_a_s_t - from the history list and displays or edits and re-executes - them. _F_i_r_s_t and _l_a_s_t may be specified as a string (to locate - the last command beginning with that string) or as a number (an - index into the history list, where a negative number is used as - an offset from the current command number). If _l_a_s_t is not - specified it is set to the current command for listing (so that - ``fc -l -10'' prints the last 10 commands) and to _f_i_r_s_t other- - wise. If _f_i_r_s_t is not specified it is set to the previous com- + The first form selects a range of commands from _f_i_r_s_t to _l_a_s_t + from the history list and displays or edits and re-executes + them. _F_i_r_s_t and _l_a_s_t may be specified as a string (to locate + the last command beginning with that string) or as a number (an + index into the history list, where a negative number is used as + an offset from the current command number). If _l_a_s_t is not + specified it is set to the current command for listing (so that + ``fc -l -10'' prints the last 10 commands) and to _f_i_r_s_t other- + wise. If _f_i_r_s_t is not specified it is set to the previous com- mand for editing and -16 for listing. - The --nn option suppresses the command numbers when listing. The - --rr option reverses the order of the commands. If the --ll option - is given, the commands are listed on standard output. Other- - wise, the editor given by _e_n_a_m_e is invoked on a file containing - those commands. If _e_n_a_m_e is not given, the value of the FFCCEEDDIITT - variable is used, and the value of EEDDIITTOORR if FFCCEEDDIITT is not set. - If neither variable is set, _v_i is used. When editing is com- + The --nn option suppresses the command numbers when listing. The + --rr option reverses the order of the commands. If the --ll option + is given, the commands are listed on standard output. Other- + wise, the editor given by _e_n_a_m_e is invoked on a file containing + those commands. If _e_n_a_m_e is not given, the value of the FFCCEEDDIITT + variable is used, and the value of EEDDIITTOORR if FFCCEEDDIITT is not set. + If neither variable is set, _v_i is used. When editing is com- plete, the edited commands are echoed and executed. - In the second form, _c_o_m_m_a_n_d is re-executed after each instance - of _p_a_t is replaced by _r_e_p. _C_o_m_m_a_n_d is intepreted the same as - _f_i_r_s_t above. A useful alias to use with this is ``r="fc -s"'', - so that typing ``r cc'' runs the last command beginning with + In the second form, _c_o_m_m_a_n_d is re-executed after each instance + of _p_a_t is replaced by _r_e_p. _C_o_m_m_a_n_d is intepreted the same as + _f_i_r_s_t above. A useful alias to use with this is ``r="fc -s"'', + so that typing ``r cc'' runs the last command beginning with ``cc'' and typing ``r'' re-executes the last command. - If the first form is used, the return value is 0 unless an - invalid option is encountered or _f_i_r_s_t or _l_a_s_t specify history - lines out of range. If the --ee option is supplied, the return + If the first form is used, the return value is 0 unless an + invalid option is encountered or _f_i_r_s_t or _l_a_s_t specify history + lines out of range. If the --ee option is supplied, the return value is the value of the last command executed or failure if an error occurs with the temporary file of commands. If the second - form is used, the return status is that of the command re-exe- - cuted, unless _c_m_d does not specify a valid history line, in + form is used, the return status is that of the command re-exe- + cuted, unless _c_m_d does not specify a valid history line, in which case ffcc returns failure. ffgg [_j_o_b_s_p_e_c] - Resume _j_o_b_s_p_e_c in the foreground, and make it the current job. + Resume _j_o_b_s_p_e_c in the foreground, and make it the current job. If _j_o_b_s_p_e_c is not present, the shell's notion of the _c_u_r_r_e_n_t _j_o_b - is used. The return value is that of the command placed into - the foreground, or failure if run when job control is disabled + is used. The return value is that of the command placed into + the foreground, or failure if run when job control is disabled or, when run with job control enabled, if _j_o_b_s_p_e_c does not spec- - ify a valid job or _j_o_b_s_p_e_c specifies a job that was started + ify a valid job or _j_o_b_s_p_e_c specifies a job that was started without job control. ggeettooppttss _o_p_t_s_t_r_i_n_g _n_a_m_e [_a_r_g_s] - ggeettooppttss is used by shell procedures to parse positional parame- - ters. _o_p_t_s_t_r_i_n_g contains the option characters to be recog- - nized; if a character is followed by a colon, the option is - expected to have an argument, which should be separated from it - by white space. The colon and question mark characters may not - be used as option characters. Each time it is invoked, ggeettooppttss - places the next option in the shell variable _n_a_m_e, initializing + ggeettooppttss is used by shell procedures to parse positional parame- + ters. _o_p_t_s_t_r_i_n_g contains the option characters to be recog- + nized; if a character is followed by a colon, the option is + expected to have an argument, which should be separated from it + by white space. The colon and question mark characters may not + be used as option characters. Each time it is invoked, ggeettooppttss + places the next option in the shell variable _n_a_m_e, initializing _n_a_m_e if it does not exist, and the index of the next argument to be processed into the variable OOPPTTIINNDD. OOPPTTIINNDD is initialized to - 1 each time the shell or a shell script is invoked. When an - option requires an argument, ggeettooppttss places that argument into - the variable OOPPTTAARRGG. The shell does not reset OOPPTTIINNDD automati- - cally; it must be manually reset between multiple calls to + 1 each time the shell or a shell script is invoked. When an + option requires an argument, ggeettooppttss places that argument into + the variable OOPPTTAARRGG. The shell does not reset OOPPTTIINNDD automati- + cally; it must be manually reset between multiple calls to ggeettooppttss within the same shell invocation if a new set of parame- ters is to be used. - When the end of options is encountered, ggeettooppttss exits with a - return value greater than zero. OOPPTTIINNDD is set to the index of + When the end of options is encountered, ggeettooppttss exits with a + return value greater than zero. OOPPTTIINNDD is set to the index of the first non-option argument, and _n_a_m_e is set to ?. - ggeettooppttss normally parses the positional parameters, but if more + ggeettooppttss normally parses the positional parameters, but if more arguments are given in _a_r_g_s, ggeettooppttss parses those instead. - ggeettooppttss can report errors in two ways. If the first character - of _o_p_t_s_t_r_i_n_g is a colon, _s_i_l_e_n_t error reporting is used. In - normal operation, diagnostic messages are printed when invalid - options or missing option arguments are encountered. If the - variable OOPPTTEERRRR is set to 0, no error messages will be dis- + ggeettooppttss can report errors in two ways. If the first character + of _o_p_t_s_t_r_i_n_g is a colon, _s_i_l_e_n_t error reporting is used. In + normal operation, diagnostic messages are printed when invalid + options or missing option arguments are encountered. If the + variable OOPPTTEERRRR is set to 0, no error messages will be dis- played, even if the first character of _o_p_t_s_t_r_i_n_g is not a colon. If an invalid option is seen, ggeettooppttss places ? into _n_a_m_e and, if @@ -704,33 +714,34 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS --cc Clear the history list by deleting all the entries. --dd _o_f_f_s_e_t Delete the history entry at position _o_f_f_s_e_t. - --aa Append the ``new'' history lines (history lines entered - since the beginning of the current bbaasshh session) to the + --aa Append the ``new'' history lines to the history file. + These are history lines entered since the beginning of + the current bbaasshh session, but not already appended to the history file. - --nn Read the history lines not already read from the history - file into the current history list. These are lines - appended to the history file since the beginning of the + --nn Read the history lines not already read from the history + file into the current history list. These are lines + appended to the history file since the beginning of the current bbaasshh session. - --rr Read the contents of the history file and append them to + --rr Read the contents of the history file and append them to the current history list. --ww Write the current history list to the history file, over- writing the history file's contents. - --pp Perform history substitution on the following _a_r_g_s and - display the result on the standard output. Does not - store the results in the history list. Each _a_r_g must be + --pp Perform history substitution on the following _a_r_g_s and + display the result on the standard output. Does not + store the results in the history list. Each _a_r_g must be quoted to disable normal history expansion. - --ss Store the _a_r_g_s in the history list as a single entry. - The last command in the history list is removed before + --ss Store the _a_r_g_s in the history list as a single entry. + The last command in the history list is removed before the _a_r_g_s are added. - If the HHIISSTTTTIIMMEEFFOORRMMAATT variable is set, the time stamp informa- - tion associated with each history entry is written to the his- - tory file, marked with the history comment character. When the - history file is read, lines beginning with the history comment - character followed immediately by a digit are interpreted as - timestamps for the previous history line. The return value is 0 - unless an invalid option is encountered, an error occurs while - reading or writing the history file, an invalid _o_f_f_s_e_t is sup- + If the HHIISSTTTTIIMMEEFFOORRMMAATT variable is set, the time stamp informa- + tion associated with each history entry is written to the his- + tory file, marked with the history comment character. When the + history file is read, lines beginning with the history comment + character followed immediately by a digit are interpreted as + timestamps for the following history entry. The return value is + 0 unless an invalid option is encountered, an error occurs while + reading or writing the history file, an invalid _o_f_f_s_e_t is sup- plied as an argument to --dd, or the history expansion supplied as an argument to --pp fails. @@ -739,8 +750,8 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS The first form lists the active jobs. The options have the fol- lowing meanings: --ll List process IDs in addition to the normal information. - --nn Display information only about jobs that have changed - status since the user was last notified of their status. + --nn Display information only about jobs that have changed + status since the user was last notified of their status. --pp List only the process ID of the job's process group leader. --rr Display only running jobs. @@ -755,7 +766,7 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS executes _c_o_m_m_a_n_d passing it _a_r_g_s, returning its exit status. kkiillll [--ss _s_i_g_s_p_e_c | --nn _s_i_g_n_u_m | --_s_i_g_s_p_e_c] [_p_i_d | _j_o_b_s_p_e_c] ... - kkiillll --ll [_s_i_g_s_p_e_c | _e_x_i_t___s_t_a_t_u_s] + kkiillll --ll|--LL [_s_i_g_s_p_e_c | _e_x_i_t___s_t_a_t_u_s] Send the signal named by _s_i_g_s_p_e_c or _s_i_g_n_u_m to the processes named by _p_i_d or _j_o_b_s_p_e_c. _s_i_g_s_p_e_c is either a case-insensitive signal name such as SSIIGGKKIILLLL (with or without the SSIIGG prefix) or @@ -765,72 +776,80 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS the names of the signals corresponding to the arguments are listed, and the return status is 0. The _e_x_i_t___s_t_a_t_u_s argument to --ll is a number specifying either a signal number or the exit - status of a process terminated by a signal. kkiillll returns true - if at least one signal was successfully sent, or false if an - error occurs or an invalid option is encountered. + status of a process terminated by a signal. The --LL option is + equivalent to --ll. kkiillll returns true if at least one signal was + successfully sent, or false if an error occurs or an invalid + option is encountered. lleett _a_r_g [_a_r_g ...] Each _a_r_g is an arithmetic expression to be evaluated (see AARRIITTHH-- - MMEETTIICC EEVVAALLUUAATTIIOONN above). If the last _a_r_g evaluates to 0, lleett + MMEETTIICC EEVVAALLUUAATTIIOONN above). If the last _a_r_g evaluates to 0, lleett returns 1; 0 is returned otherwise. - llooccaall [_o_p_t_i_o_n] [_n_a_m_e[=_v_a_l_u_e] ...] - For each argument, a local variable named _n_a_m_e is created, and - assigned _v_a_l_u_e. The _o_p_t_i_o_n can be any of the options accepted + llooccaall [_o_p_t_i_o_n] [_n_a_m_e[=_v_a_l_u_e] ... | - ] + For each argument, a local variable named _n_a_m_e is created, and + assigned _v_a_l_u_e. The _o_p_t_i_o_n can be any of the options accepted by ddeeccllaarree. When llooccaall is used within a function, it causes the - variable _n_a_m_e to have a visible scope restricted to that func- - tion and its children. With no operands, llooccaall writes a list of - local variables to the standard output. It is an error to use - llooccaall when not within a function. The return status is 0 unless - llooccaall is used outside a function, an invalid _n_a_m_e is supplied, - or _n_a_m_e is a readonly variable. + variable _n_a_m_e to have a visible scope restricted to that func- + tion and its children. If _n_a_m_e is -, the set of shell options + is made local to the function in which llooccaall is invoked: shell + options changed using the sseett builtin inside the function are + restored to their original values when the function returns. + With no operands, llooccaall writes a list of local variables to the + standard output. It is an error to use llooccaall when not within a + function. The return status is 0 unless llooccaall is used outside a + function, an invalid _n_a_m_e is supplied, or _n_a_m_e is a readonly + variable. llooggoouutt Exit a login shell. - mmaappffiillee [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC _c_a_l_l_b_a_c_k] - [--cc _q_u_a_n_t_u_m] [_a_r_r_a_y] - rreeaaddaarrrraayy [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC _c_a_l_l_b_a_c_k] - [--cc _q_u_a_n_t_u_m] [_a_r_r_a_y] - Read lines from the standard input into the indexed array vari- - able _a_r_r_a_y, or from file descriptor _f_d if the --uu option is sup- - plied. The variable MMAAPPFFIILLEE is the default _a_r_r_a_y. Options, if + mmaappffiillee [--dd _d_e_l_i_m] [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC + _c_a_l_l_b_a_c_k] [--cc _q_u_a_n_t_u_m] [_a_r_r_a_y] + rreeaaddaarrrraayy [--dd _d_e_l_i_m] [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC + _c_a_l_l_b_a_c_k] [--cc _q_u_a_n_t_u_m] [_a_r_r_a_y] + Read lines from the standard input into the indexed array vari- + able _a_r_r_a_y, or from file descriptor _f_d if the --uu option is sup- + plied. The variable MMAAPPFFIILLEE is the default _a_r_r_a_y. Options, if supplied, have the following meanings: + --dd The first character of _d_e_l_i_m is used to terminate each + input line, rather than newline. --nn Copy at most _c_o_u_n_t lines. If _c_o_u_n_t is 0, all lines are copied. --OO Begin assigning to _a_r_r_a_y at index _o_r_i_g_i_n. The default index is 0. --ss Discard the first _c_o_u_n_t lines read. - --tt Remove a trailing newline from each line read. - --uu Read lines from file descriptor _f_d instead of the stan- + --tt Remove a trailing _d_e_l_i_m (default newline) from each line + read. + --uu Read lines from file descriptor _f_d instead of the stan- dard input. - --CC Evaluate _c_a_l_l_b_a_c_k each time _q_u_a_n_t_u_m lines are read. The + --CC Evaluate _c_a_l_l_b_a_c_k each time _q_u_a_n_t_u_m lines are read. The --cc option specifies _q_u_a_n_t_u_m. - --cc Specify the number of lines read between each call to + --cc Specify the number of lines read between each call to _c_a_l_l_b_a_c_k. - If --CC is specified without --cc, the default quantum is 5000. + If --CC is specified without --cc, the default quantum is 5000. When _c_a_l_l_b_a_c_k is evaluated, it is supplied the index of the next array element to be assigned and the line to be assigned to that - element as additional arguments. _c_a_l_l_b_a_c_k is evaluated after + element as additional arguments. _c_a_l_l_b_a_c_k is evaluated after the line is read but before the array element is assigned. - If not supplied with an explicit origin, mmaappffiillee will clear + If not supplied with an explicit origin, mmaappffiillee will clear _a_r_r_a_y before assigning to it. - mmaappffiillee returns successfully unless an invalid option or option - argument is supplied, _a_r_r_a_y is invalid or unassignable, or if + mmaappffiillee returns successfully unless an invalid option or option + argument is supplied, _a_r_r_a_y is invalid or unassignable, or if _a_r_r_a_y is not an indexed array. ppooppdd [-nn] [+_n] [-_n] - Removes entries from the directory stack. With no arguments, - removes the top directory from the stack, and performs a ccdd to + Removes entries from the directory stack. With no arguments, + removes the top directory from the stack, and performs a ccdd to the new top directory. Arguments, if supplied, have the follow- ing meanings: - --nn Suppresses the normal change of directory when removing - directories from the stack, so that only the stack is + --nn Suppresses the normal change of directory when removing + directories from the stack, so that only the stack is manipulated. - ++_n Removes the _nth entry counting from the left of the list - shown by ddiirrss, starting with zero. For example: ``popd + ++_n Removes the _nth entry counting from the left of the list + shown by ddiirrss, starting with zero. For example: ``popd +0'' removes the first directory, ``popd +1'' the second. --_n Removes the _nth entry counting from the right of the list shown by ddiirrss, starting with zero. For example: ``popd @@ -857,83 +876,83 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS addition to the standard _p_r_i_n_t_f(1) format specifications, pprriinnttff interprets the following extensions: %%bb causes pprriinnttff to expand backslash escape sequences in the - corresponding _a_r_g_u_m_e_n_t (except that \\cc terminates output, - backslashes in \\'', \\"", and \\?? are not removed, and octal - escapes beginning with \\00 may contain up to four digits). - %%qq causes pprriinnttff to output the corresponding _a_r_g_u_m_e_n_t in a + corresponding _a_r_g_u_m_e_n_t in the same way as eecchhoo --ee. + %%qq causes pprriinnttff to output the corresponding _a_r_g_u_m_e_n_t in a format that can be reused as shell input. %%((_d_a_t_e_f_m_t))TT - causes pprriinnttff to output the date-time string resulting - from using _d_a_t_e_f_m_t as a format string for _s_t_r_f_t_i_m_e(3). + causes pprriinnttff to output the date-time string resulting + from using _d_a_t_e_f_m_t as a format string for _s_t_r_f_t_i_m_e(3). The corresponding _a_r_g_u_m_e_n_t is an integer representing the - number of seconds since the epoch. Two special argument - values may be used: -1 represents the current time, and - -2 represents the time the shell was invoked. If no - argument is specified, conversion behaves as if -1 had - been given. This is an exception to the usual pprriinnttff + number of seconds since the epoch. Two special argument + values may be used: -1 represents the current time, and + -2 represents the time the shell was invoked. If no + argument is specified, conversion behaves as if -1 had + been given. This is an exception to the usual pprriinnttff behavior. - Arguments to non-string format specifiers are treated as C con- + Arguments to non-string format specifiers are treated as C con- stants, except that a leading plus or minus sign is allowed, and - if the leading character is a single or double quote, the value + if the leading character is a single or double quote, the value is the ASCII value of the following character. - The _f_o_r_m_a_t is reused as necessary to consume all of the _a_r_g_u_- + The _f_o_r_m_a_t is reused as necessary to consume all of the _a_r_g_u_- _m_e_n_t_s. If the _f_o_r_m_a_t requires more _a_r_g_u_m_e_n_t_s than are supplied, - the extra format specifications behave as if a zero value or - null string, as appropriate, had been supplied. The return + the extra format specifications behave as if a zero value or + null string, as appropriate, had been supplied. The return value is zero on success, non-zero on failure. ppuusshhdd [--nn] [+_n] [-_n] ppuusshhdd [--nn] [_d_i_r] - Adds a directory to the top of the directory stack, or rotates - the stack, making the new top of the stack the current working - directory. With no arguments, exchanges the top two directories - and returns 0, unless the directory stack is empty. Arguments, - if supplied, have the following meanings: - --nn Suppresses the normal change of directory when adding - directories to the stack, so that only the stack is - manipulated. - ++_n Rotates the stack so that the _nth directory (counting - from the left of the list shown by ddiirrss, starting with + Adds a directory to the top of the directory stack, or rotates + the stack, making the new top of the stack the current working + directory. With no arguments, ppuusshhdd exchanges the top two + directories and returns 0, unless the directory stack is empty. + Arguments, if supplied, have the following meanings: + --nn Suppresses the normal change of directory when rotating + or adding directories to the stack, so that only the + stack is manipulated. + ++_n Rotates the stack so that the _nth directory (counting + from the left of the list shown by ddiirrss, starting with zero) is at the top. - --_n Rotates the stack so that the _nth directory (counting - from the right of the list shown by ddiirrss, starting with + --_n Rotates the stack so that the _nth directory (counting + from the right of the list shown by ddiirrss, starting with zero) is at the top. _d_i_r Adds _d_i_r to the directory stack at the top, making it the - new current working directory as if it had been supplied + new current working directory as if it had been supplied as the argument to the ccdd builtin. If the ppuusshhdd command is successful, a ddiirrss is performed as well. - If the first form is used, ppuusshhdd returns 0 unless the cd to _d_i_r - fails. With the second form, ppuusshhdd returns 0 unless the direc- - tory stack is empty, a non-existent directory stack element is - specified, or the directory change to the specified new current + If the first form is used, ppuusshhdd returns 0 unless the cd to _d_i_r + fails. With the second form, ppuusshhdd returns 0 unless the direc- + tory stack is empty, a non-existent directory stack element is + specified, or the directory change to the specified new current directory fails. ppwwdd [--LLPP] - Print the absolute pathname of the current working directory. + Print the absolute pathname of the current working directory. The pathname printed contains no symbolic links if the --PP option is supplied or the --oo pphhyyssiiccaall option to the sseett builtin command - is enabled. If the --LL option is used, the pathname printed may - contain symbolic links. The return status is 0 unless an error - occurs while reading the name of the current directory or an + is enabled. If the --LL option is used, the pathname printed may + contain symbolic links. The return status is 0 unless an error + occurs while reading the name of the current directory or an invalid option is supplied. rreeaadd [--eerrss] [--aa _a_n_a_m_e] [--dd _d_e_l_i_m] [--ii _t_e_x_t] [--nn _n_c_h_a_r_s] [--NN _n_c_h_a_r_s] [--pp _p_r_o_m_p_t] [--tt _t_i_m_e_o_u_t] [--uu _f_d] [_n_a_m_e ...] One line is read from the standard input, or from the file - descriptor _f_d supplied as an argument to the --uu option, and the + descriptor _f_d supplied as an argument to the --uu option, split + into words as described above under WWoorrdd SSpplliittttiinngg, and the first word is assigned to the first _n_a_m_e, the second word to the - second _n_a_m_e, and so on, with leftover words and their interven- - ing separators assigned to the last _n_a_m_e. If there are fewer - words read from the input stream than names, the remaining names - are assigned empty values. The characters in IIFFSS are used to - split the line into words using the same rules the shell uses - for expansion (described above under WWoorrdd SSpplliittttiinngg). The back- - slash character (\\) may be used to remove any special meaning - for the next character read and for line continuation. Options, - if supplied, have the following meanings: + second _n_a_m_e, and so on. If there are more words than names, the + remaining words and their intervening delimiters are assigned to + the last _n_a_m_e. If there are fewer words read from the input + stream than names, the remaining names are assigned empty val- + ues. The characters in IIFFSS are used to split the line into + words using the same rules the shell uses for expansion + (described above under WWoorrdd SSpplliittttiinngg). The backslash character + (\\) may be used to remove any special meaning for the next char- + acter read and for line continuation. Options, if supplied, + have the following meanings: --aa _a_n_a_m_e The words are assigned to sequential indices of the array variable _a_n_a_m_e, starting at 0. _a_n_a_m_e is unset before any @@ -951,7 +970,7 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS placed into the editing buffer before editing begins. --nn _n_c_h_a_r_s rreeaadd returns after reading _n_c_h_a_r_s characters rather than - waiting for a complete line of input, but honor a delim- + waiting for a complete line of input, but honors a delim- iter if fewer than _n_c_h_a_r_s characters are read before the delimiter. --NN _n_c_h_a_r_s @@ -960,61 +979,69 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS EOF is encountered or rreeaadd times out. Delimiter charac- ters encountered in the input are not treated specially and do not cause rreeaadd to return until _n_c_h_a_r_s characters - are read. + are read. The result is not split on the characters in + IIFFSS; the intent is that the variable is assigned exactly + the characters read (with the exception of backslash; see + the --rr option below). --pp _p_r_o_m_p_t Display _p_r_o_m_p_t on standard error, without a trailing new- line, before attempting to read any input. The prompt is displayed only if input is coming from a terminal. --rr Backslash does not act as an escape character. The back- - slash is considered to be part of the line. In particu- - lar, a backslash-newline pair may not be used as a line + slash is considered to be part of the line. In particu- + lar, a backslash-newline pair may not be used as a line continuation. --ss Silent mode. If input is coming from a terminal, charac- ters are not echoed. --tt _t_i_m_e_o_u_t - Cause rreeaadd to time out and return failure if a complete - line of input (or a specified number of characters) is - not read within _t_i_m_e_o_u_t seconds. _t_i_m_e_o_u_t may be a deci- - mal number with a fractional portion following the deci- - mal point. This option is only effective if rreeaadd is - reading input from a terminal, pipe, or other special - file; it has no effect when reading from regular files. + Cause rreeaadd to time out and return failure if a complete + line of input (or a specified number of characters) is + not read within _t_i_m_e_o_u_t seconds. _t_i_m_e_o_u_t may be a deci- + mal number with a fractional portion following the deci- + mal point. This option is only effective if rreeaadd is + reading input from a terminal, pipe, or other special + file; it has no effect when reading from regular files. If rreeaadd times out, rreeaadd saves any partial input read into - the specified variable _n_a_m_e. If _t_i_m_e_o_u_t is 0, rreeaadd - returns immediately, without trying to read any data. - The exit status is 0 if input is available on the speci- - fied file descriptor, non-zero otherwise. The exit sta- + the specified variable _n_a_m_e. If _t_i_m_e_o_u_t is 0, rreeaadd + returns immediately, without trying to read any data. + The exit status is 0 if input is available on the speci- + fied file descriptor, non-zero otherwise. The exit sta- tus is greater than 128 if the timeout is exceeded. --uu _f_d Read input from file descriptor _f_d. If no _n_a_m_e_s are supplied, the line read is assigned to the vari- - able RREEPPLLYY. The return code is zero, unless end-of-file is - encountered, rreeaadd times out (in which case the return code is - greater than 128), a variable assignment error (such as assign- - ing to a readonly variable) occurs, or an invalid file descrip- - tor is supplied as the argument to --uu. + able RREEPPLLYY. The exit status is zero, unless end-of-file is + encountered, rreeaadd times out (in which case the status is greater + than 128), a variable assignment error (such as assigning to a + readonly variable) occurs, or an invalid file descriptor is sup- + plied as the argument to --uu. rreeaaddoonnllyy [--aaAAff] [--pp] [_n_a_m_e[=_w_o_r_d] ...] - The given _n_a_m_e_s are marked readonly; the values of these _n_a_m_e_s - may not be changed by subsequent assignment. If the --ff option - is supplied, the functions corresponding to the _n_a_m_e_s are so - marked. The --aa option restricts the variables to indexed - arrays; the --AA option restricts the variables to associative - arrays. If both options are supplied, --AA takes precedence. If - no _n_a_m_e arguments are given, or if the --pp option is supplied, a + The given _n_a_m_e_s are marked readonly; the values of these _n_a_m_e_s + may not be changed by subsequent assignment. If the --ff option + is supplied, the functions corresponding to the _n_a_m_e_s are so + marked. The --aa option restricts the variables to indexed + arrays; the --AA option restricts the variables to associative + arrays. If both options are supplied, --AA takes precedence. If + no _n_a_m_e arguments are given, or if the --pp option is supplied, a list of all readonly names is printed. The other options may be - used to restrict the output to a subset of the set of readonly - names. The --pp option causes output to be displayed in a format - that may be reused as input. If a variable name is followed by - =_w_o_r_d, the value of the variable is set to _w_o_r_d. The return - status is 0 unless an invalid option is encountered, one of the + used to restrict the output to a subset of the set of readonly + names. The --pp option causes output to be displayed in a format + that may be reused as input. If a variable name is followed by + =_w_o_r_d, the value of the variable is set to _w_o_r_d. The return + status is 0 unless an invalid option is encountered, one of the _n_a_m_e_s is not a valid shell variable name, or --ff is supplied with a _n_a_m_e that is not a function. rreettuurrnn [_n] - Causes a function to stop executing and return the value speci- - fied by _n to its caller. If _n is omitted, the return status is - that of the last command executed in the function body. If + Causes a function to stop executing and return the value speci- + fied by _n to its caller. If _n is omitted, the return status is + that of the last command executed in the function body. If + rreettuurrnn is executed by a trap handler, the last command used to + determine the status is the last command executed before the + trap handler. if rreettuurrnn is executed during a DDEEBBUUGG trap, the + last command used to determine the status is the last command + executed by the trap handler before rreettuurrnn was invoked. If rreettuurrnn is used outside a function, but during execution of a script by the .. (ssoouurrccee) command, it causes the shell to stop executing that script and return either _n or the exit status of @@ -1038,26 +1065,26 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS ues for the positional parameters and are assigned, in order, to $$11, $$22, ...... $$_n. Options, if specified, have the following meanings: - --aa Automatically mark variables and functions which are - modified or created for export to the environment of - subsequent commands. + --aa Each variable or function that is created or modified is + given the export attribute and marked for export to the + environment of subsequent commands. --bb Report the status of terminated background jobs immedi- ately, rather than before the next primary prompt. This is effective only when job control is enabled. --ee Exit immediately if a _p_i_p_e_l_i_n_e (which may consist of a single _s_i_m_p_l_e _c_o_m_m_a_n_d), a _l_i_s_t, or a _c_o_m_p_o_u_n_d _c_o_m_m_a_n_d - (see SSHHEELLLL GGRRAAMMMMAARR above), exits with a non-zero sta- - tus. The shell does not exit if the command that fails - is part of the command list immediately following a - wwhhiillee or uunnttiill keyword, part of the test following the - iiff or eelliiff reserved words, part of any command executed - in a &&&& or |||| list except the command following the - final &&&& or ||||, any command in a pipeline but the last, - or if the command's return value is being inverted with - !!. If a compound command other than a subshell returns - a non-zero status because a command failed while --ee was - being ignored, the shell does not exit. A trap on EERRRR, - if set, is executed before the shell exits. This option + (see SSHHEELLLL GGRRAAMMMMAARR above), exits with a non-zero status. + The shell does not exit if the command that fails is + part of the command list immediately following a wwhhiillee + or uunnttiill keyword, part of the test following the iiff or + eelliiff reserved words, part of any command executed in a + &&&& or |||| list except the command following the final &&&& + or ||||, any command in a pipeline but the last, or if the + command's return value is being inverted with !!. If a + compound command other than a subshell returns a non- + zero status because a command failed while --ee was being + ignored, the shell does not exit. A trap on EERRRR, if + set, is executed before the shell exits. This option applies to the shell environment and each subshell envi- ronment separately (see CCOOMMMMAANNDD EEXXEECCUUTTIIOONN EENNVVIIRROONNMMEENNTT above), and may cause subshells to exit before executing @@ -1295,138 +1322,158 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS If set, bbaasshh changes its behavior to that of version 3.2 with respect to locale-specific string comparison when using the [[[[ conditional command's << and >> operators - (see previous item). + (see previous item) and the effect of interrupting a + command list. Bash versions 3.2 and earlier continue + with the next command in the list after one terminates + due to an interrupt. ccoommppaatt4400 If set, bbaasshh changes its behavior to that of version 4.0 - with respect to locale-specific string comparison when - using the [[[[ conditional command's << and >> operators - (see description of ccoommppaatt3311) and the effect of inter- - rupting a command list. Bash versions 4.0 and later - interrupt the list as if the shell received the inter- - rupt; previous versions continue with the next command + with respect to locale-specific string comparison when + using the [[[[ conditional command's << and >> operators + (see description of ccoommppaatt3311) and the effect of inter- + rupting a command list. Bash versions 4.0 and later + interrupt the list as if the shell received the inter- + rupt; previous versions continue with the next command in the list. ccoommppaatt4411 - If set, bbaasshh, when in _p_o_s_i_x mode, treats a single quote - in a double-quoted parameter expansion as a special - character. The single quotes must match (an even num- - ber) and the characters between the single quotes are - considered quoted. This is the behavior of posix mode - through version 4.1. The default bash behavior remains + If set, bbaasshh, when in _p_o_s_i_x mode, treats a single quote + in a double-quoted parameter expansion as a special + character. The single quotes must match (an even num- + ber) and the characters between the single quotes are + considered quoted. This is the behavior of posix mode + through version 4.1. The default bash behavior remains as in previous versions. ccoommppaatt4422 - If set, bbaasshh does not process the replacement string in - the pattern substitution word expansion using quote + If set, bbaasshh does not process the replacement string in + the pattern substitution word expansion using quote removal. + ccoommppaatt4433 + If set, bbaasshh does not print a warning message if an + attempt is made to use a quoted compound array assign- + ment as an argument to ddeeccllaarree, makes word expansion + errors non-fatal errors that cause the current command + to fail (the default behavior is to make them fatal + errors that cause the shell to exit), and does not reset + the loop state when a shell function is executed (this + allows bbrreeaakk or ccoonnttiinnuuee in a shell function to affect + loops in the caller's context). ccoommpplleettee__ffuullllqquuoottee - If set, bbaasshh quotes all shell metacharacters in file- - names and directory names when performing completion. + If set, bbaasshh quotes all shell metacharacters in file- + names and directory names when performing completion. If not set, bbaasshh removes metacharacters such as the dol- - lar sign from the set of characters that will be quoted - in completed filenames when these metacharacters appear - in shell variable references in words to be completed. - This means that dollar signs in variable names that - expand to directories will not be quoted; however, any - dollar signs appearing in filenames will not be quoted, - either. This is active only when bash is using back- - slashes to quote completed filenames. This variable is - set by default, which is the default bash behavior in + lar sign from the set of characters that will be quoted + in completed filenames when these metacharacters appear + in shell variable references in words to be completed. + This means that dollar signs in variable names that + expand to directories will not be quoted; however, any + dollar signs appearing in filenames will not be quoted, + either. This is active only when bash is using back- + slashes to quote completed filenames. This variable is + set by default, which is the default bash behavior in versions through 4.2. ddiirreexxppaanndd - If set, bbaasshh replaces directory names with the results - of word expansion when performing filename completion. - This changes the contents of the readline editing - buffer. If not set, bbaasshh attempts to preserve what the + If set, bbaasshh replaces directory names with the results + of word expansion when performing filename completion. + This changes the contents of the readline editing buf- + fer. If not set, bbaasshh attempts to preserve what the user typed. ddiirrssppeellll - If set, bbaasshh attempts spelling correction on directory - names during word completion if the directory name ini- + If set, bbaasshh attempts spelling correction on directory + names during word completion if the directory name ini- tially supplied does not exist. - ddoottgglloobb If set, bbaasshh includes filenames beginning with a `.' in + ddoottgglloobb If set, bbaasshh includes filenames beginning with a `.' in the results of pathname expansion. eexxeeccffaaiill If set, a non-interactive shell will not exit if it can- - not execute the file specified as an argument to the - eexxeecc builtin command. An interactive shell does not + not execute the file specified as an argument to the + eexxeecc builtin command. An interactive shell does not exit if eexxeecc fails. eexxppaanndd__aalliiaasseess - If set, aliases are expanded as described above under + If set, aliases are expanded as described above under AALLIIAASSEESS. This option is enabled by default for interac- tive shells. eexxttddeebbuugg - If set, behavior intended for use by debuggers is - enabled: + If set at shell invocation, arrange to execute the + debugger profile before the shell starts, identical to + the ----ddeebbuuggggeerr option. If set after invocation, behav- + ior intended for use by debuggers is enabled: 11.. The --FF option to the ddeeccllaarree builtin displays the source file name and line number corresponding to each function name supplied as an argument. - 22.. If the command run by the DDEEBBUUGG trap returns a - non-zero value, the next command is skipped and + 22.. If the command run by the DDEEBBUUGG trap returns a + non-zero value, the next command is skipped and not executed. - 33.. If the command run by the DDEEBBUUGG trap returns a - value of 2, and the shell is executing in a sub- - routine (a shell function or a shell script exe- - cuted by the .. or ssoouurrccee builtins), a call to - rreettuurrnn is simulated. - 44.. BBAASSHH__AARRGGCC and BBAASSHH__AARRGGVV are updated as described + 33.. If the command run by the DDEEBBUUGG trap returns a + value of 2, and the shell is executing in a sub- + routine (a shell function or a shell script exe- + cuted by the .. or ssoouurrccee builtins), the shell + simulates a call to rreettuurrnn. + 44.. BBAASSHH__AARRGGCC and BBAASSHH__AARRGGVV are updated as described in their descriptions above. - 55.. Function tracing is enabled: command substitu- + 55.. Function tracing is enabled: command substitu- tion, shell functions, and subshells invoked with (( _c_o_m_m_a_n_d )) inherit the DDEEBBUUGG and RREETTUURRNN traps. - 66.. Error tracing is enabled: command substitution, - shell functions, and subshells invoked with (( + 66.. Error tracing is enabled: command substitution, + shell functions, and subshells invoked with (( _c_o_m_m_a_n_d )) inherit the EERRRR trap. eexxttgglloobb If set, the extended pattern matching features described above under PPaatthhnnaammee EExxppaannssiioonn are enabled. eexxttqquuoottee - If set, $$'_s_t_r_i_n_g' and $$"_s_t_r_i_n_g" quoting is performed - within $${{_p_a_r_a_m_e_t_e_r}} expansions enclosed in double + If set, $$'_s_t_r_i_n_g' and $$"_s_t_r_i_n_g" quoting is performed + within $${{_p_a_r_a_m_e_t_e_r}} expansions enclosed in double quotes. This option is enabled by default. ffaaiillgglloobb - If set, patterns which fail to match filenames during + If set, patterns which fail to match filenames during pathname expansion result in an expansion error. ffoorrccee__ffiiggnnoorree - If set, the suffixes specified by the FFIIGGNNOORREE shell - variable cause words to be ignored when performing word + If set, the suffixes specified by the FFIIGGNNOORREE shell + variable cause words to be ignored when performing word completion even if the ignored words are the only possi- ble completions. See SSHHEELLLL VVAARRIIAABBLLEESS above for a - description of FFIIGGNNOORREE. This option is enabled by + description of FFIIGGNNOORREE. This option is enabled by default. gglloobbaasscciiiirraannggeess - If set, range expressions used in pattern matching - bracket expressions (see PPaatttteerrnn MMaattcchhiinngg above) behave - as if in the traditional C locale when performing com- + If set, range expressions used in pattern matching + bracket expressions (see PPaatttteerrnn MMaattcchhiinngg above) behave + as if in the traditional C locale when performing com- parisons. That is, the current locale's collating - sequence is not taken into account, so bb will not col- - late between AA and BB, and upper-case and lower-case + sequence is not taken into account, so bb will not col- + late between AA and BB, and upper-case and lower-case ASCII characters will collate together. gglloobbssttaarr If set, the pattern **** used in a pathname expansion con- - text will match all files and zero or more directories - and subdirectories. If the pattern is followed by a //, + text will match all files and zero or more directories + and subdirectories. If the pattern is followed by a //, only directories and subdirectories match. ggnnuu__eerrrrffmmtt If set, shell error messages are written in the standard GNU error message format. hhiissttaappppeenndd - If set, the history list is appended to the file named - by the value of the HHIISSTTFFIILLEE variable when the shell + If set, the history list is appended to the file named + by the value of the HHIISSTTFFIILLEE variable when the shell exits, rather than overwriting the file. hhiissttrreeeeddiitt - If set, and rreeaaddlliinnee is being used, a user is given the + If set, and rreeaaddlliinnee is being used, a user is given the opportunity to re-edit a failed history substitution. hhiissttvveerriiffyy - If set, and rreeaaddlliinnee is being used, the results of his- - tory substitution are not immediately passed to the - shell parser. Instead, the resulting line is loaded + If set, and rreeaaddlliinnee is being used, the results of his- + tory substitution are not immediately passed to the + shell parser. Instead, the resulting line is loaded into the rreeaaddlliinnee editing buffer, allowing further modi- fication. hhoossttccoommpplleettee If set, and rreeaaddlliinnee is being used, bbaasshh will attempt to - perform hostname completion when a word containing a @@ - is being completed (see CCoommpplleettiinngg under RREEAADDLLIINNEE + perform hostname completion when a word containing a @@ + is being completed (see CCoommpplleettiinngg under RREEAADDLLIINNEE above). This is enabled by default. hhuuppoonneexxiitt If set, bbaasshh will send SSIIGGHHUUPP to all jobs when an inter- active login shell exits. + iinnhheerriitt__eerrrreexxiitt + If set, command substitution inherits the value of the + eerrrreexxiitt option, instead of unsetting it in the subshell + environment. This option is enabled when _p_o_s_i_x _m_o_d_e is + enabled. iinntteerraaccttiivvee__ccoommmmeennttss If set, allow a word beginning with ## to cause that word and all remaining characters on that line to be ignored @@ -1459,7 +1506,9 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS nnooccaasseemmaattcchh If set, bbaasshh matches patterns in a case-insensitive fashion when performing matching while executing ccaassee or - [[[[ conditional commands. + [[[[ conditional commands, when performing pattern substi- + tution word expansions, or when filtering possible com- + pletions as part of programmable completion. nnuullllgglloobb If set, bbaasshh allows patterns which match no files (see PPaatthhnnaammee EExxppaannssiioonn above) to expand to a null string, @@ -1592,7 +1641,7 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS function or a script executed with the .. or ssoouurrccee builtins fin- ishes executing. - If a _s_i_g_s_p_e_c is EERRRR, the command _a_r_g is executed whenever a a + If a _s_i_g_s_p_e_c is EERRRR, the command _a_r_g is executed whenever a pipeline (which may consist of a single simple command), a list, or a compound command returns a non-zero exit status, subject to the following conditions. The EERRRR trap is not executed if the @@ -1631,7 +1680,7 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS function lookup, as with the ccoommmmaanndd builtin. ttyyppee returns true if all of the arguments are found, false if any are not found. - uulliimmiitt [--HHSSTTaabbccddeeffiillmmnnppqqrrssttuuvvxx [_l_i_m_i_t]] + uulliimmiitt [--HHSSaabbccddeeffiikkllmmnnppqqrrssttuuvvxxPPTT [_l_i_m_i_t]] Provides control over the resources available to the shell and to processes started by it, on systems that allow such control. The --HH and --SS options specify that the hard or soft limit is set @@ -1655,6 +1704,7 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS --ff The maximum size of files written by the shell and its children --ii The maximum number of pending signals + --kk The maximum number of kqueues that may be allocated --ll The maximum size that may be locked into memory --mm The maximum resident set size (many systems do not honor this limit) @@ -1670,46 +1720,48 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS --vv The maximum amount of virtual memory available to the shell and, on some systems, to its children --xx The maximum number of file locks + --PP The maximum number of pseudoterminals --TT The maximum number of threads If _l_i_m_i_t is given, and the --aa option is not used, _l_i_m_i_t is the new value of the specified resource. If no option is given, then --ff is assumed. Values are in 1024-byte increments, except for --tt, which is in seconds; --pp, which is in units of 512-byte - blocks; and --TT, --bb, --nn, and --uu, which are unscaled values. The - return status is 0 unless an invalid option or argument is sup- - plied, or an error occurs while setting a new limit. + blocks; --PP, --TT, --bb, --kk, --nn, and --uu, which are unscaled values; + and, when in Posix mode, --cc and --ff, which are in 512-byte incre- + ments. The return status is 0 unless an invalid option or argu- + ment is supplied, or an error occurs while setting a new limit. uummaasskk [--pp] [--SS] [_m_o_d_e] The user file-creation mask is set to _m_o_d_e. If _m_o_d_e begins with - a digit, it is interpreted as an octal number; otherwise it is - interpreted as a symbolic mode mask similar to that accepted by - _c_h_m_o_d(1). If _m_o_d_e is omitted, the current value of the mask is - printed. The --SS option causes the mask to be printed in sym- - bolic form; the default output is an octal number. If the --pp + a digit, it is interpreted as an octal number; otherwise it is + interpreted as a symbolic mode mask similar to that accepted by + _c_h_m_o_d(1). If _m_o_d_e is omitted, the current value of the mask is + printed. The --SS option causes the mask to be printed in sym- + bolic form; the default output is an octal number. If the --pp option is supplied, and _m_o_d_e is omitted, the output is in a form that may be reused as input. The return status is 0 if the mode - was successfully changed or if no _m_o_d_e argument was supplied, + was successfully changed or if no _m_o_d_e argument was supplied, and false otherwise. uunnaalliiaass [-aa] [_n_a_m_e ...] - Remove each _n_a_m_e from the list of defined aliases. If --aa is - supplied, all alias definitions are removed. The return value + Remove each _n_a_m_e from the list of defined aliases. If --aa is + supplied, all alias definitions are removed. The return value is true unless a supplied _n_a_m_e is not a defined alias. uunnsseett [-ffvv] [-nn] [_n_a_m_e ...] - For each _n_a_m_e, remove the corresponding variable or function. + For each _n_a_m_e, remove the corresponding variable or function. If the --vv option is given, each _n_a_m_e refers to a shell variable, - and that variable is removed. Read-only variables may not be - unset. If --ff is specified, each _n_a_m_e refers to a shell func- - tion, and the function definition is removed. If the --nn option - is supplied, and _n_a_m_e is a variable with the _n_a_m_e_r_e_f attribute, - _n_a_m_e will be unset rather than the variable it references. --nn - has no effect if the --ff option is supplied. If no options are - supplied, each _n_a_m_e refers to a variable; if there is no vari- - able by that name, any function with that name is unset. Each - unset variable or function is removed from the environment - passed to subsequent commands. If any of CCOOMMPP__WWOORRDDBBRREEAAKKSS, RRAANN-- + and that variable is removed. Read-only variables may not be + unset. If --ff is specified, each _n_a_m_e refers to a shell func- + tion, and the function definition is removed. If the --nn option + is supplied, and _n_a_m_e is a variable with the _n_a_m_e_r_e_f attribute, + _n_a_m_e will be unset rather than the variable it references. --nn + has no effect if the --ff option is supplied. If no options are + supplied, each _n_a_m_e refers to a variable; if there is no vari- + able by that name, any function with that name is unset. Each + unset variable or function is removed from the environment + passed to subsequent commands. If any of CCOOMMPP__WWOORRDDBBRREEAAKKSS, RRAANN-- DDOOMM, SSEECCOONNDDSS, LLIINNEENNOO, HHIISSTTCCMMDD, FFUUNNCCNNAAMMEE, GGRROOUUPPSS, or DDIIRRSSTTAACCKK are unset, they lose their special properties, even if they are sub- sequently reset. The exit status is true unless a _n_a_m_e is read- @@ -1718,12 +1770,12 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS wwaaiitt [--nn] [_n _._._.] Wait for each specified child process and return its termination status. Each _n may be a process ID or a job specification; if a - job spec is given, all processes in that job's pipeline are - waited for. If _n is not given, all currently active child pro- + job spec is given, all processes in that job's pipeline are + waited for. If _n is not given, all currently active child pro- cesses are waited for, and the return status is zero. If the --nn - option is supplied, wwaaiitt waits for any job to terminate and - returns its exit status. If _n specifies a non-existent process - or job, the return status is 127. Otherwise, the return status + option is supplied, wwaaiitt waits for any job to terminate and + returns its exit status. If _n specifies a non-existent process + or job, the return status is 127. Otherwise, the return status is the exit status of the last process or job waited for. SSEEEE AALLSSOO diff --git a/doc/builtins.ps b/doc/builtins.ps index 5d49778ab..f6aec86f5 100644 --- a/doc/builtins.ps +++ b/doc/builtins.ps @@ -1,12 +1,12 @@ %!PS-Adobe-3.0 -%%Creator: groff version 1.19.2 -%%CreationDate: Mon Feb 24 08:28:31 2014 +%%Creator: groff version 1.22.3 +%%CreationDate: Wed Aug 31 10:24:00 2016 %%DocumentNeededResources: font Times-Roman %%+ font Times-Bold %%+ font Times-Italic %%+ font Symbol %%+ font Courier -%%DocumentSuppliedResources: procset grops 1.19 2 +%%DocumentSuppliedResources: procset grops 1.22 3 %%Pages: 23 %%PageOrder: Ascend %%DocumentMedia: Default 612 792 0 () () @@ -16,7 +16,7 @@ %%PageMedia: Default %%EndDefaults %%BeginProlog -%%BeginResource: procset grops 1.19 2 +%%BeginResource: procset grops 1.22 3 %!PS-Adobe-3.0 Resource-ProcSet /setpacking where{ pop @@ -74,6 +74,7 @@ exch pop add exch pop /level0 save def 1 setlinecap 1 setlinejoin +DEFS/BPhook known{DEFS begin BPhook end}if 72 RES div dup scale LS{ 90 rotate @@ -139,7 +140,10 @@ pop findfont dup maxlength 1 index/FontName known not{1 add}if dict begin { -1 index/FID ne{def}{pop pop}ifelse +1 index/FID ne +2 index/UniqueID ne +and +{def}{pop pop}ifelse }forall /Encoding exch def dup/FontName exch def @@ -177,8 +181,10 @@ newpath userdict begin /showpage{}def /setpagedevice{}def +mark }bind def /PEND{ +cleartomark countdictstack CNT sub{end}repeat level1 restore }bind def @@ -233,11 +239,11 @@ def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10.95 -/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0 1.325 -(bash, :, ., [, alias, bg, bind, break, b)108 96 R 1.325(uiltin, caller) --.2 F 3.825(,c)-.4 G 1.324 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10.95/Times-Bold@0 SF -.219(NA)72 84 S +(ME).219 E F0 1.325(bash, :, ., [, alias, bg, bind, break, b)108 96 R +1.325(uiltin, caller)-.2 F 3.825(,c)-.4 G 1.324 (d, command, compgen, complete, compopt, continue,)-3.825 F .903 (declare, dirs, diso)108 108 R .903(wn, echo, enable, e)-.25 F -.25(va) -.25 G .904(l, e).25 F -.15(xe)-.15 G .904(c, e).15 F .904(xit, e)-.15 F @@ -255,39 +261,39 @@ ted in this section as accepting options preceded by)-.2 F F2108 (to signify the end of the options.)2.533 F(The)5.034 E F2(:)2.534 E F0 (,)A F2(true)2.534 E F0(,)A F2(false)2.534 E F0 2.534(,a)C(nd)-2.534 E F2(test)2.534 E F0 -.2(bu)2.534 G .034(iltins do not accept options and) -.2 F .078(do not treat)108 196.8 R F22.577 E F0(specially)2.577 E -5.077(.T)-.65 G(he)-5.077 E F2(exit)2.577 E F0(,)A F2(logout)2.577 E F0 -(,)A F2(br)2.577 E(eak)-.18 E F0(,)A F2(continue)2.577 E F0(,)A F2(let) -2.577 E F0 2.577(,a)C(nd)-2.577 E F2(shift)2.577 E F0 -.2(bu)2.577 G -.077(iltins accept and process ar).2 F(gu-)-.18 E .319(ments be)108 -208.8 R .319(ginning with)-.15 F F22.819 E F0 .319 -(without requiring)2.819 F F22.819 E F0 5.319(.O)C .319(ther b) --5.319 F .319(uiltins that accept ar)-.2 F .32(guments b)-.18 F .32 -(ut are not speci\214ed as)-.2 F 1.144(accepting options interpret ar) -108 220.8 R 1.144(guments be)-.18 F 1.144(ginning with)-.15 F F2 -3.643 E F0 1.143(as in)3.643 F -.25(va)-.4 G 1.143 -(lid options and require).25 F F23.643 E F0 1.143(to pre)3.643 F --.15(ve)-.25 G 1.143(nt this).15 F(interpretation.)108 232.8 Q F2(:)108 -250.8 Q F0([)2.5 E/F3 10/Times-Italic@0 SF(ar)A(guments)-.37 E F0(])A -.451(No ef)144 262.8 R .451(fect; the command does nothing be)-.25 F -.452(yond e)-.15 F(xpanding)-.15 E F3(ar)3.282 E(guments)-.37 E F0 .452 -(and performing an)3.222 F 2.952(ys)-.15 G(peci\214ed)-2.952 E 2.5 -(redirections. A)144 274.8 R(zero e)2.5 E(xit code is returned.)-.15 E -F2(.)110.5 291.6 Q F3(\214lename)6.666 E F0([)2.5 E F3(ar)A(guments)-.37 -E F0(])A F2(sour)108 303.6 Q(ce)-.18 E F3(\214lename)2.5 E F0([)2.5 E F3 -(ar)A(guments)-.37 E F0(])A 1.02(Read and e)144 315.6 R -.15(xe)-.15 G -1.02(cute commands from).15 F F3(\214lename)5.43 E F0 1.02 -(in the current shell en)3.7 F 1.02(vironment and return the e)-.4 F -(xit)-.15 E 1.458(status of the last command e)144 327.6 R -.15(xe)-.15 -G 1.458(cuted from).15 F F3(\214lename)3.958 E F0 6.458(.I).18 G(f) --6.458 E F3(\214lename)5.868 E F0 1.458 -(does not contain a slash, \214le-)4.138 F .608(names in)144 339.6 R/F4 -9/Times-Bold@0 SF -.666(PA)3.108 G(TH)-.189 E F0 .608 -(are used to \214nd the directory containing)2.858 F F3(\214lename)3.108 -E F0 5.608(.T).18 G .608(he \214le searched for in)-5.608 F F4 -.666(PA) -3.108 G(TH)-.189 E F0 .832(need not be e)144 351.6 R -.15(xe)-.15 G -3.332(cutable. When).15 F F2(bash)3.332 E F0 .832(is not in)3.332 F F3 -.832(posix mode)3.332 F F0 3.332(,t)C .833 +.2 F 1.549(do not treat)108 196.8 R F24.049 E F0(specially)4.049 E +6.549(.T)-.65 G(he)-6.549 E F2(exit)4.049 E F0(,)A F2(logout)4.049 E F0 +(,)A F2 -.18(re)4.049 G(tur).18 E(n)-.15 E F0(,)A F2(br)4.049 E(eak)-.18 +E F0(,)A F2(continue)4.049 E F0(,)A F2(let)4.049 E F0 4.049(,a)C(nd) +-4.049 E F2(shift)4.048 E F0 -.2(bu)4.048 G 1.548(iltins accept and).2 F +.26(process ar)108 208.8 R .26(guments be)-.18 F .26(ginning with)-.15 F +F22.76 E F0 .261(without requiring)2.76 F F22.761 E F0 5.261 +(.O)C .261(ther b)-5.261 F .261(uiltins that accept ar)-.2 F .261 +(guments b)-.18 F .261(ut are not)-.2 F 1.154 +(speci\214ed as accepting options interpret ar)108 220.8 R 1.154 +(guments be)-.18 F 1.154(ginning with)-.15 F F23.654 E F0 1.154 +(as in)3.654 F -.25(va)-.4 G 1.154(lid options and require).25 F F2 +3.654 E F0(to)3.654 E(pre)108 232.8 Q -.15(ve)-.25 G +(nt this interpretation.).15 E F2(:)108 250.8 Q F0([)2.5 E/F3 10 +/Times-Italic@0 SF(ar)A(guments)-.37 E F0(])A .451(No ef)144 262.8 R +.451(fect; the command does nothing be)-.25 F .452(yond e)-.15 F +(xpanding)-.15 E F3(ar)3.282 E(guments)-.37 E F0 .452(and performing an) +3.222 F 2.952(ys)-.15 G(peci\214ed)-2.952 E 2.5(redirections. The)144 +274.8 R(return status is zero.)2.5 E F2(.)110.5 291.6 Q F3(\214lename) +6.666 E F0([)2.5 E F3(ar)A(guments)-.37 E F0(])A F2(sour)108 303.6 Q(ce) +-.18 E F3(\214lename)2.5 E F0([)2.5 E F3(ar)A(guments)-.37 E F0(])A 1.02 +(Read and e)144 315.6 R -.15(xe)-.15 G 1.02(cute commands from).15 F F3 +(\214lename)5.43 E F0 1.02(in the current shell en)3.7 F 1.02 +(vironment and return the e)-.4 F(xit)-.15 E 1.458 +(status of the last command e)144 327.6 R -.15(xe)-.15 G 1.458 +(cuted from).15 F F3(\214lename)3.958 E F0 6.458(.I).18 G(f)-6.458 E F3 +(\214lename)5.868 E F0 1.458(does not contain a slash, \214le-)4.138 F +.608(names in)144 339.6 R/F4 9/Times-Bold@0 SF -.666(PA)3.108 G(TH)-.189 +E F0 .608(are used to \214nd the directory containing)2.858 F F3 +(\214lename)3.108 E F0 5.608(.T).18 G .608(he \214le searched for in) +-5.608 F F4 -.666(PA)3.108 G(TH)-.189 E F0 .832(need not be e)144 351.6 +R -.15(xe)-.15 G 3.332(cutable. When).15 F F2(bash)3.332 E F0 .832 +(is not in)3.332 F F3 .832(posix mode)3.332 F F0 3.332(,t)C .833 (he current directory is searched if no)-3.332 F .982 (\214le is found in)144 363.6 R F4 -.666(PA)3.481 G(TH)-.189 E/F5 9 /Times-Roman@0 SF(.)A F0 .981(If the)5.481 F F2(sour)3.481 E(cepath)-.18 @@ -296,2615 +302,2717 @@ E F0 .981(option to the)3.481 F F2(shopt)3.481 E F0 -.2(bu)3.481 G .981 375.6 S(TH)-.189 E F0 .112(is not searched.)2.362 F .112(If an)5.112 F (y)-.15 E F3(ar)2.612 E(guments)-.37 E F0 .112(are supplied, the)2.612 F 2.612(yb)-.15 G .112(ecome the positional parameters when)-2.612 F F3 -(\214lename)144 387.6 Q F0 .342(is e)2.842 F -.15(xe)-.15 G 2.842 -(cuted. Otherwise).15 F .342(the positional parameters are unchanged.) -2.842 F .341(The return status is the)5.341 F .716 -(status of the last command e)144 399.6 R .716 -(xited within the script \(0 if no commands are e)-.15 F -.15(xe)-.15 G -.716(cuted\), and f).15 F .716(alse if)-.1 F F3(\214lename)145.91 411.6 -Q F0(is not found or cannot be read.)2.68 E F2(alias)108 428.4 Q F0([) -2.5 E F2A F0 2.5(][)C F3(name)-2.5 E F0([=)A F3(value)A F0 2.5(].) -C(..])-2.5 E F2(Alias)144 440.4 Q F0 2.725(with no ar)5.225 F 2.724 +(\214lename)144 387.6 Q F0 1.697(is e)4.197 F -.15(xe)-.15 G 4.197 +(cuted. Otherwise).15 F 1.697(the positional parameters are unchanged.) +4.197 F 1.697(If the)6.697 F F24.197 E F0 1.696(option is)4.197 F +(enabled,)144 399.6 Q F2(sour)3.617 E(ce)-.18 E F0 1.117(inherits an) +3.617 F 3.617(yt)-.15 G 1.117(rap on)-3.617 F F2(DEB)3.617 E(UG)-.1 E F0 +3.618(;i)C 3.618(fi)-3.618 G 3.618(ti)-3.618 G 3.618(sn)-3.618 G 1.118 +(ot, an)-3.618 F(y)-.15 E F2(DEB)3.618 E(UG)-.1 E F0 1.118 +(trap string is sa)3.618 F -.15(ve)-.2 G 3.618(da).15 G(nd)-3.618 E .36 +(restored around the call to)144 411.6 R F2(sour)2.86 E(ce)-.18 E F0 +2.86(,a)C(nd)-2.86 E F2(sour)2.86 E(ce)-.18 E F0 .36(unsets the)2.86 F +F2(DEB)2.86 E(UG)-.1 E F0 .36(trap while it e)2.86 F -.15(xe)-.15 G 2.86 +(cutes. If).15 F F22.86 E F0(is)2.86 E 1.435 +(not set, and the sourced \214le changes the)144 423.6 R F2(DEB)3.935 E +(UG)-.1 E F0 1.435(trap, the ne)3.935 F 3.935(wv)-.25 G 1.435 +(alue is retained when)-4.185 F F2(sour)3.935 E(ce)-.18 E F0 3.763 +(completes. The)144 435.6 R 1.262 +(return status is the status of the last command e)3.763 F 1.262 +(xited within the script \(0 if no)-.15 F(commands are e)144 447.6 Q +-.15(xe)-.15 G(cuted\), and f).15 E(alse if)-.1 E F3(\214lename)4.41 E +F0(is not found or cannot be read.)2.68 E F2(alias)108 464.4 Q F0([)2.5 +E F2A F0 2.5(][)C F3(name)-2.5 E F0([=)A F3(value)A F0 2.5(].)C +(..])-2.5 E F2(Alias)144 476.4 Q F0 2.724(with no ar)5.224 F 2.724 (guments or with the)-.18 F F25.224 E F0 2.724 -(option prints the list of aliases in the form)5.224 F F2(alias)5.224 E -F3(name)144 452.4 Q F0(=)A F3(value)A F0 .58(on standard output.)3.08 F +(option prints the list of aliases in the form)5.224 F F2(alias)5.225 E +F3(name)144 488.4 Q F0(=)A F3(value)A F0 .58(on standard output.)3.08 F .58(When ar)5.58 F .58 (guments are supplied, an alias is de\214ned for each)-.18 F F3(name) -3.08 E F0(whose)144 464.4 Q F3(value)2.895 E F0 .395(is gi)2.895 F -.15 -(ve)-.25 G 2.895(n. A).15 F .395(trailing space in)2.895 F F3(value) -5.395 E F0 .395(causes the ne)2.895 F .395(xt w)-.15 F .395 -(ord to be check)-.1 F .395(ed for alias sub-)-.1 F .054 -(stitution when the alias is e)144 476.4 R 2.554(xpanded. F)-.15 F .054 -(or each)-.15 F F3(name)2.554 E F0 .054(in the ar)2.554 F .054 -(gument list for which no)-.18 F F3(value)2.554 E F0 .054(is sup-)2.554 -F 1.314(plied, the name and v)144 488.4 R 1.314 +3.08 E F0(whose)144 500.4 Q F3(value)2.508 E F0 .009(is gi)2.508 F -.15 +(ve)-.25 G 2.509(n. A).15 F .009(trailing space in)2.509 F F3(value) +2.509 E F0 .009(causes the ne)2.509 F .009(xt w)-.15 F .009 +(ord to be check)-.1 F .009(ed for alias substi-)-.1 F .579 +(tution when the alias is e)144 512.4 R 3.079(xpanded. F)-.15 F .579 +(or each)-.15 F F3(name)3.079 E F0 .579(in the ar)3.079 F .579 +(gument list for which no)-.18 F F3(value)3.079 E F0 .578(is sup-)3.078 +F 1.313(plied, the name and v)144 524.4 R 1.314 (alue of the alias is printed.)-.25 F F2(Alias)6.314 E F0 1.314 -(returns true unless a)3.814 F F3(name)3.814 E F0 1.313(is gi)3.814 F --.15(ve)-.25 G 3.813(nf).15 G(or)-3.813 E -(which no alias has been de\214ned.)144 500.4 Q F2(bg)108 517.2 Q F0([) -2.5 E F3(jobspec)A F0(...])2.5 E .744(Resume each suspended job)144 -529.2 R F3(jobspec)3.244 E F0 .745 -(in the background, as if it had been started with)3.244 F F2(&)3.245 E -F0 5.745(.I)C(f)-5.745 E F3(job-)4.985 E(spec)144 541.2 Q F0 .672 -(is not present, the shell')3.482 F 3.172(sn)-.55 G .672(otion of the) --3.172 F F3(curr)3.172 E .672(ent job)-.37 F F0 .672(is used.)3.172 F F2 -(bg)5.671 E F3(jobspec)4.911 E F0 .671(returns 0 unless run)3.481 F .418 -(when job control is disabled or)144 553.2 R 2.919(,w)-.4 G .419 -(hen run with job control enabled, an)-2.919 F 2.919(ys)-.15 G -(peci\214ed)-2.919 E F3(jobspec)2.919 E F0 -.1(wa)2.919 G 2.919(sn).1 G -(ot)-2.919 E(found or w)144 565.2 Q(as started without job control.)-.1 -E F2(bind)108 582 Q F0([)2.5 E F2A F3 -.1(ke)2.5 G(ymap)-.2 E F0 -2.5(][)C F2(\255lpsvPSVX)-2.5 E F0(])A F2(bind)108 594 Q F0([)2.5 E F2 +(returns true unless a)3.814 F F3(name)3.814 E F0 1.314(is gi)3.814 F +-.15(ve)-.25 G 3.814(nf).15 G(or)-3.814 E +(which no alias has been de\214ned.)144 536.4 Q F2(bg)108 553.2 Q F0([) +2.5 E F3(jobspec)A F0(...])2.5 E .745(Resume each suspended job)144 +565.2 R F3(jobspec)3.245 E F0 .745 +(in the background, as if it had been started with)3.245 F F2(&)3.244 E +F0 5.744(.I)C(f)-5.744 E F3(job-)4.984 E(spec)144 577.2 Q F0 .671 +(is not present, the shell')3.481 F 3.171(sn)-.55 G .672(otion of the) +-3.171 F F3(curr)3.172 E .672(ent job)-.37 F F0 .672(is used.)3.172 F F2 +(bg)5.672 E F3(jobspec)4.912 E F0 .672(returns 0 unless run)3.482 F .419 +(when job control is disabled or)144 589.2 R 2.919(,w)-.4 G .419 +(hen run with job control enabled, an)-2.919 F 2.918(ys)-.15 G +(peci\214ed)-2.918 E F3(jobspec)2.918 E F0 -.1(wa)2.918 G 2.918(sn).1 G +(ot)-2.918 E(found or w)144 601.2 Q(as started without job control.)-.1 +E F2(bind)108 618 Q F0([)2.5 E F2A F3 -.1(ke)2.5 G(ymap)-.2 E F0 +2.5(][)C F2(\255lpsvPSVX)-2.5 E F0(])A F2(bind)108 630 Q F0([)2.5 E F2 A F3 -.1(ke)2.5 G(ymap)-.2 E F0 2.5(][)C F2-2.5 E F3 (function)2.5 E F0 2.5(][)C F2-2.5 E F3(function)2.5 E F0 2.5(][)C -F2-2.5 E F3 -.1(ke)2.5 G(yseq)-.2 E F0(])A F2(bind)108 606 Q F0([) +F2-2.5 E F3 -.1(ke)2.5 G(yseq)-.2 E F0(])A F2(bind)108 642 Q F0([) 2.5 E F2A F3 -.1(ke)2.5 G(ymap)-.2 E F0(])A F22.5 E F3 -(\214lename)2.5 E F2(bind)108 618 Q F0([)2.5 E F2A F3 -.1(ke)2.5 G +(\214lename)2.5 E F2(bind)108 654 Q F0([)2.5 E F2A F3 -.1(ke)2.5 G (ymap)-.2 E F0(])A F22.5 E F3 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F3 -(shell\255command)A F2(bind)108 630 Q F0([)2.5 E F2A F3 -.1(ke)2.5 +(shell\255command)A F2(bind)108 666 Q F0([)2.5 E F2A F3 -.1(ke)2.5 G(ymap)-.2 E F0(])A F3 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F3 -(function\255name)A F2(bind)108 642 Q F3 -.37(re)2.5 G -(adline\255command).37 E F0 .239(Display current)144 654 R F2 -.18(re) -2.739 G(adline).18 E F0 -.1(ke)2.739 G 2.739(ya)-.05 G .239 -(nd function bindings, bind a k)-2.739 F .539 -.15(ey s)-.1 H .238 -(equence to a).15 F F2 -.18(re)2.738 G(adline).18 E F0 .238(function or) -2.738 F .475(macro, or set a)144 666 R F2 -.18(re)2.975 G(adline).18 E -F0 -.25(va)2.975 G 2.975(riable. Each).25 F .476(non-option ar)2.976 F -.476(gument is a command as it w)-.18 F .476(ould appear in)-.1 F F3 -(.inputr)144 678 Q(c)-.37 E F0 2.984(,b).31 G .484 -(ut each binding or command must be passed as a separate ar)-3.184 F -.483(gument; e.g., '"\\C\255x\\C\255r":)-.18 F 2.5 -(re\255read\255init\255\214le'. Options,)144 690 R(if supplied, ha)2.5 E -.3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F2144 702 -Q F3 -.1(ke)2.5 G(ymap)-.2 E F0(Use)180 714 Q F3 -.1(ke)5.158 G(ymap)-.2 -E F0 2.658(as the k)5.348 F -.15(ey)-.1 G 2.658(map to be af).15 F 2.659 -(fected by the subsequent bindings.)-.25 F(Acceptable)7.659 E F3 -.1(ke) -180 726 S(ymap)-.2 E F0 3.193(names are)5.883 F F3 3.193 -(emacs, emacs\255standar)5.693 F 3.192 -(d, emacs\255meta, emacs\255ctlx, vi, vi\255mo)-.37 F(ve)-.1 E(,)-.1 E -F0(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(1)203.725 E 0 Cg EP +(function\255name)A F2(bind)108 678 Q F0([)2.5 E F2A F3 -.1(ke)2.5 +G(ymap)-.2 E F0(])A F3 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F3 -.37(re)C +(adline\255command).37 E F0 .238(Display current)144 690 R F2 -.18(re) +2.738 G(adline).18 E F0 -.1(ke)2.738 G 2.738(ya)-.05 G .239 +(nd function bindings, bind a k)-2.738 F .539 -.15(ey s)-.1 H .239 +(equence to a).15 F F2 -.18(re)2.739 G(adline).18 E F0 .239(function or) +2.739 F .476(macro, or set a)144 702 R F2 -.18(re)2.976 G(adline).18 E +F0 -.25(va)2.976 G 2.976(riable. Each).25 F .476(non-option ar)2.976 F +.475(gument is a command as it w)-.18 F .475(ould appear in)-.1 F F3 +(.inputr)144 714 Q(c)-.37 E F0 2.983(,b).31 G .484 +(ut each binding or command must be passed as a separate ar)-3.183 F +.484(gument; e.g., '"\\C\255x\\C\255r":)-.18 F 2.5 +(re\255read\255init\255\214le'. Options,)144 726 R(if supplied, ha)2.5 E +.3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E(GNU Bash-4.2)72 +768 Q(2004 Apr 20)148.735 E(1)203.725 E 0 Cg EP %%Page: 2 2 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Italic@0 SF(vi\255command)180 84 Q F0 4.429(,a)C(nd)-4.429 E F1 -(vi\255insert)4.429 E F0(.).68 E F1(vi)6.929 E F0 1.929(is equi)4.429 F --.25(va)-.25 G 1.929(lent to).25 F F1(vi\255command)4.429 E F0(;)A F1 -(emacs)4.429 E F0 1.929(is equi)4.429 F -.25(va)-.25 G 1.93(lent to).25 -F F1(emacs\255standar)180 96 Q(d)-.37 E F0(.)A/F2 10/Times-Bold@0 SF -144 108 Q F0(List the names of all)27.52 E F2 -.18(re)2.5 G -(adline).18 E F0(functions.)2.5 E F2144 120 Q F0(Display)24.74 E -F2 -.18(re)2.5 G(adline).18 E F0 -(function names and bindings in such a w)2.5 E(ay that the)-.1 E 2.5(yc) --.15 G(an be re-read.)-2.5 E F2144 132 Q F0(List current)24.19 E -F2 -.18(re)2.5 G(adline).18 E F0(function names and bindings.)2.5 E F2 -144 144 Q F0(Display)26.41 E F2 -.18(re)3.655 G(adline).18 E F0 --.1(ke)3.655 G 3.655(ys)-.05 G 1.155 -(equences bound to macros and the strings the)-3.655 F 3.655(yo)-.15 G -1.155(utput in such a)-3.655 F -.1(wa)180 156 S 2.5(yt).1 G(hat the)-2.5 -E 2.5(yc)-.15 G(an be re-read.)-2.5 E F2144 168 Q F0(Display)24.74 -E F2 -.18(re)2.5 G(adline).18 E F0 -.1(ke)2.5 G 2.5(ys)-.05 G -(equences bound to macros and the strings the)-2.5 E 2.5(yo)-.15 G -(utput.)-2.5 E F2144 180 Q F0(Display)25.3 E F2 -.18(re)2.5 G +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF144 84 Q/F2 10 +/Times-Italic@0 SF -.1(ke)2.5 G(ymap)-.2 E F0(Use)180 96 Q F2 -.1(ke) +5.159 G(ymap)-.2 E F0 2.659(as the k)5.349 F -.15(ey)-.1 G 2.658 +(map to be af).15 F 2.658(fected by the subsequent bindings.)-.25 F +(Acceptable)7.658 E F2 -.1(ke)180 108 S(ymap)-.2 E F0 3.192(names are) +5.882 F F2 3.192(emacs, emacs\255standar)5.692 F 3.193 +(d, emacs\255meta, emacs\255ctlx, vi, vi\255mo)-.37 F(ve)-.1 E(,)-.1 E +(vi\255command)180 120 Q F0 4.114(,a)C(nd)-4.114 E F2(vi\255insert)4.114 +E F0(.).68 E F2(vi)6.614 E F0 1.613(is equi)4.114 F -.25(va)-.25 G 1.613 +(lent to).25 F F2(vi\255command)4.113 E F0(\()4.113 E F2(vi\255mo)A(ve) +-.1 E F0 1.613(is also a syn-)4.113 F(on)180 132 Q(ym\);)-.15 E F2 +(emacs)2.5 E F0(is equi)2.5 E -.25(va)-.25 G(lent to).25 E F2 +(emacs\255standar)2.5 E(d)-.37 E F0(.)A F1144 144 Q F0 +(List the names of all)180 144 Q F1 -.18(re)2.5 G(adline).18 E F0 +(functions.)2.5 E F1144 156 Q F0(Display)180 156 Q F1 -.18(re)2.5 +G(adline).18 E F0(function names and bindings in such a w)2.5 E +(ay that the)-.1 E 2.5(yc)-.15 G(an be re-read.)-2.5 E F1144 168 Q +F0(List current)180 168 Q F1 -.18(re)2.5 G(adline).18 E F0 +(function names and bindings.)2.5 E F1144 180 Q F0(Display)180 180 +Q F1 -.18(re)3.655 G(adline).18 E F0 -.1(ke)3.655 G 3.655(ys)-.05 G +1.155(equences bound to macros and the strings the)-3.655 F 3.655(yo) +-.15 G 1.155(utput in such a)-3.655 F -.1(wa)180 192 S 2.5(yt).1 G +(hat the)-2.5 E 2.5(yc)-.15 G(an be re-read.)-2.5 E F1144 204 Q F0 +(Display)180 204 Q F1 -.18(re)2.5 G(adline).18 E F0 -.1(ke)2.5 G 2.5(ys) +-.05 G(equences bound to macros and the strings the)-2.5 E 2.5(yo)-.15 G +(utput.)-2.5 E F1144 216 Q F0(Display)180 216 Q F1 -.18(re)2.5 G (adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E (alues in such a w)-.25 E(ay that the)-.1 E 2.5(yc)-.15 G -(an be re-read.)-2.5 E F2144 192 Q F0(List current)23.08 E F2 -.18 -(re)2.5 G(adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E(alues.) --.25 E F2144 204 Q F1(\214lename)2.5 E F0(Read k)180 216 Q .3 -.15 -(ey b)-.1 H(indings from).15 E F1(\214lename)2.5 E F0(.)A F2144 -228 Q F1(function)2.5 E F0(Query about which k)180 240 Q -.15(ey)-.1 G -2.5(si).15 G -1.9 -.4(nv o)-2.5 H .2 -.1(ke t).4 H(he named).1 E F1 -(function)2.5 E F0(.)A F2144 252 Q F1(function)2.5 E F0 -(Unbind all k)180 264 Q -.15(ey)-.1 G 2.5(sb).15 G(ound to the named) --2.5 E F1(function)2.5 E F0(.)A F2144 276 Q F1 -.1(ke)2.5 G(yseq) --.2 E F0(Remo)180 288 Q .3 -.15(ve a)-.15 H .3 -.15(ny c).15 H -(urrent binding for).15 E F1 -.1(ke)2.5 G(yseq)-.2 E F0(.)A F2144 -300 Q F1 -.1(ke)2.5 G(yseq)-.2 E F2(:)A F1(shell\255command)A F0(Cause) -180 312 Q F1(shell\255command)4.325 E F0 1.825(to be e)4.325 F -.15(xe) --.15 G 1.825(cuted whene).15 F -.15(ve)-.25 G(r).15 E F1 -.1(ke)4.325 G -(yseq)-.2 E F0 1.825(is entered.)4.325 F(When)6.825 E F1(shell\255com-) -4.325 E(mand)180 324 Q F0 1.765(is e)4.265 F -.15(xe)-.15 G 1.765 +(an be re-read.)-2.5 E F1144 228 Q F0(List current)180 228 Q F1 +-.18(re)2.5 G(adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E +(alues.)-.25 E F1144 240 Q F2(\214lename)2.5 E F0(Read k)180 252 Q +.3 -.15(ey b)-.1 H(indings from).15 E F2(\214lename)2.5 E F0(.)A F1 +144 264 Q F2(function)2.5 E F0(Query about which k)180 276 Q -.15 +(ey)-.1 G 2.5(si).15 G -1.9 -.4(nv o)-2.5 H .2 -.1(ke t).4 H(he named).1 +E F2(function)2.5 E F0(.)A F1144 288 Q F2(function)2.5 E F0 +(Unbind all k)180 300 Q -.15(ey)-.1 G 2.5(sb).15 G(ound to the named) +-2.5 E F2(function)2.5 E F0(.)A F1144 312 Q F2 -.1(ke)2.5 G(yseq) +-.2 E F0(Remo)180 324 Q .3 -.15(ve a)-.15 H .3 -.15(ny c).15 H +(urrent binding for).15 E F2 -.1(ke)2.5 G(yseq)-.2 E F0(.)A F1144 +336 Q F2 -.1(ke)2.5 G(yseq)-.2 E F1(:)A F2(shell\255command)A F0(Cause) +180 348 Q F2(shell\255command)4.325 E F0 1.825(to be e)4.325 F -.15(xe) +-.15 G 1.825(cuted whene).15 F -.15(ve)-.25 G(r).15 E F2 -.1(ke)4.325 G +(yseq)-.2 E F0 1.825(is entered.)4.325 F(When)6.825 E F2(shell\255com-) +4.325 E(mand)180 360 Q F0 1.764(is e)4.264 F -.15(xe)-.15 G 1.765 (cuted, the shell sets the).15 F/F3 9/Times-Bold@0 SF(READLINE_LINE) -4.265 E F0 -.25(va)4.015 G 1.765(riable to the contents of the).25 F F2 --.18(re)180 336 S(adline).18 E F0 1.353(line b)3.852 F(uf)-.2 E 1.353 +4.265 E F0 -.25(va)4.015 G 1.765(riable to the contents of the).25 F F1 +-.18(re)180 372 S(adline).18 E F0 1.353(line b)3.853 F(uf)-.2 E 1.353 (fer and the)-.25 F F3(READLINE_POINT)3.853 E F0 -.25(va)3.603 G 1.353 -(riable to the current location of the).25 F 2.012(insertion point.)180 -348 R 2.011(If the e)7.012 F -.15(xe)-.15 G 2.011 +(riable to the current location of the).25 F 2.011(insertion point.)180 +384 R 2.011(If the e)7.011 F -.15(xe)-.15 G 2.011 (cuted command changes the v).15 F 2.011(alue of)-.25 F F3 -(READLINE_LINE)4.511 E F0(or)4.261 E F3(READLINE_POINT)180 360 Q/F4 9 +(READLINE_LINE)4.512 E F0(or)4.262 E F3(READLINE_POINT)180 396 Q/F4 9 /Times-Roman@0 SF(,)A F0(those ne)2.25 E 2.5(wv)-.25 G -(alues will be re\215ected in the editing state.)-2.75 E F2144 372 -Q F0 .829(List all k)23.08 F 1.129 -.15(ey s)-.1 H .829 +(alues will be re\215ected in the editing state.)-2.75 E F1144 408 +Q F0 .83(List all k)180 408 R 1.13 -.15(ey s)-.1 H .829 (equences bound to shell commands and the associated commands in a for) -.15 F(-)-.2 E(mat that can be reused as input.)180 384 Q(The return v) -144 400.8 Q(alue is 0 unless an unrecognized option is gi)-.25 E -.15 +.15 F(-)-.2 E(mat that can be reused as input.)180 420 Q(The return v) +144 436.8 Q(alue is 0 unless an unrecognized option is gi)-.25 E -.15 (ve)-.25 G 2.5(no).15 G 2.5(ra)-2.5 G 2.5(ne)-2.5 G(rror occurred.)-2.5 -E F2(br)108 417.6 Q(eak)-.18 E F0([)2.5 E F1(n)A F0(])A .055 -(Exit from within a)144 429.6 R F2 -.25(fo)2.555 G(r).25 E F0(,)A F2 -(while)2.555 E F0(,)A F2(until)2.555 E F0 2.555(,o)C(r)-2.555 E F2 -(select)2.555 E F0 2.555(loop. If)2.555 F F1(n)2.555 E F0 .055 -(is speci\214ed, break)2.555 F F1(n)2.555 E F0(le)2.555 E -.15(ve)-.25 G -(ls.).15 E F1(n)5.414 E F0 .054(must be)2.794 F/F5 10/Symbol SF2.554 -E F0(1.)2.554 E(If)144 441.6 Q F1(n)3.074 E F0 .215(is greater than the\ - number of enclosing loops, all enclosing loops are e)2.954 F 2.715 -(xited. The)-.15 F .215(return v)2.715 F(alue)-.25 E(is 0 unless)144 -453.6 Q F1(n)2.5 E F0(is not greater than or equal to 1.)2.5 E F2 -.2 -(bu)108 470.4 S(iltin).2 E F1(shell\255b)2.5 E(uiltin)-.2 E F0([)2.5 E -F1(ar)A(guments)-.37 E F0(])A(Ex)144 482.4 Q .793 -(ecute the speci\214ed shell b)-.15 F .793(uiltin, passing it)-.2 F F1 +E F1(br)108 453.6 Q(eak)-.18 E F0([)2.5 E F2(n)A F0(])A .054 +(Exit from within a)144 465.6 R F1 -.25(fo)2.554 G(r).25 E F0(,)A F1 +(while)2.554 E F0(,)A F1(until)2.555 E F0 2.555(,o)C(r)-2.555 E F1 +(select)2.555 E F0 2.555(loop. If)2.555 F F2(n)2.555 E F0 .055 +(is speci\214ed, break)2.555 F F2(n)2.555 E F0(le)2.555 E -.15(ve)-.25 G +(ls.).15 E F2(n)5.415 E F0 .055(must be)2.795 F/F5 10/Symbol SF2.555 +E F0(1.)2.555 E(If)144 477.6 Q F2(n)3.075 E F0 .215(is greater than the\ + number of enclosing loops, all enclosing loops are e)2.955 F 2.714 +(xited. The)-.15 F .214(return v)2.714 F(alue)-.25 E(is 0 unless)144 +489.6 Q F2(n)2.5 E F0(is not greater than or equal to 1.)2.5 E F1 -.2 +(bu)108 506.4 S(iltin).2 E F2(shell\255b)2.5 E(uiltin)-.2 E F0([)2.5 E +F2(ar)A(guments)-.37 E F0(])A(Ex)144 518.4 Q .792 +(ecute the speci\214ed shell b)-.15 F .792(uiltin, passing it)-.2 F F2 (ar)3.293 E(guments)-.37 E F0 3.293(,a).27 G .793(nd return its e)-3.293 -F .792(xit status.)-.15 F .792(This is useful)5.792 F .615 +F .793(xit status.)-.15 F .793(This is useful)5.793 F .616 (when de\214ning a function whose name is the same as a shell b)144 -494.4 R .616(uiltin, retaining the functionality of)-.2 F .57(the b)144 -506.4 R .57(uiltin within the function.)-.2 F(The)5.57 E F2(cd)3.07 E F0 +530.4 R .615(uiltin, retaining the functionality of)-.2 F .57(the b)144 +542.4 R .57(uiltin within the function.)-.2 F(The)5.57 E F1(cd)3.07 E F0 -.2(bu)3.07 G .57(iltin is commonly rede\214ned this w).2 F(ay)-.1 E -5.57(.T)-.65 G .57(he return status)-5.57 F(is f)144 518.4 Q(alse if)-.1 -E F1(shell\255b)2.84 E(uiltin)-.2 E F0(is not a shell b)2.74 E -(uiltin command.)-.2 E F2(caller)108 535.2 Q F0([)2.5 E F1 -.2(ex)C(pr) -.2 E F0(])A .253(Returns the conte)144 547.2 R .254(xt of an)-.15 F +5.57(.T)-.65 G .57(he return status)-5.57 F(is f)144 554.4 Q(alse if)-.1 +E F2(shell\255b)2.84 E(uiltin)-.2 E F0(is not a shell b)2.74 E +(uiltin command.)-.2 E F1(caller)108 571.2 Q F0([)2.5 E F2 -.2(ex)C(pr) +.2 E F0(])A .254(Returns the conte)144 583.2 R .254(xt of an)-.15 F 2.754(ya)-.15 G(cti)-2.754 E .554 -.15(ve s)-.25 H .254 (ubroutine call \(a shell function or a script e).15 F -.15(xe)-.15 G -.254(cuted with the).15 F F2(.)2.754 E F0(or)2.754 E F2(sour)144 559.2 Q -(ce)-.18 E F0 -.2(bu)2.825 G 2.825(iltins\). W).2 F(ithout)-.4 E F1 -.2 -(ex)2.825 G(pr).2 E F0(,)A F2(caller)2.825 E F0 .324 +.254(cuted with the).15 F F1(.)2.753 E F0(or)2.753 E F1(sour)144 595.2 Q +(ce)-.18 E F0 -.2(bu)2.824 G 2.824(iltins\). W).2 F(ithout)-.4 E F2 -.2 +(ex)2.824 G(pr).2 E F0(,)A F1(caller)2.824 E F0 .324 (displays the line number and source \214lename of the current)2.824 F -.253(subroutine call.)144 571.2 R .253(If a non-ne)5.253 F -.05(ga)-.15 -G(ti).05 E .553 -.15(ve i)-.25 H(nte).15 E .253(ger is supplied as)-.15 -F F1 -.2(ex)2.753 G(pr).2 E F0(,)A F2(caller)2.753 E F0 .254 -(displays the line number)2.754 F 2.754(,s)-.4 G(ub-)-2.754 E 1.327(rou\ +.254(subroutine call.)144 607.2 R .254(If a non-ne)5.254 F -.05(ga)-.15 +G(ti).05 E .554 -.15(ve i)-.25 H(nte).15 E .253(ger is supplied as)-.15 +F F2 -.2(ex)2.753 G(pr).2 E F0(,)A F1(caller)2.753 E F0 .253 +(displays the line number)2.753 F 2.753(,s)-.4 G(ub-)-2.753 E 1.327(rou\ tine name, and source \214le corresponding to that position in the curr\ -ent e)144 583.2 R -.15(xe)-.15 G 1.327(cution call stack.).15 F(This e) -144 595.2 Q(xtra information may be used, for e)-.15 E .001 -(xample, to print a stack trace.)-.15 F .001(The current frame is frame) -5.001 F 3.02(0. The)144 607.2 R .52(return v)3.02 F .52 -(alue is 0 unless the shell is not e)-.25 F -.15(xe)-.15 G .519 -(cuting a subroutine call or).15 F F1 -.2(ex)3.019 G(pr).2 E F0 .519 -(does not corre-)3.019 F(spond to a v)144 619.2 Q -(alid position in the call stack.)-.25 E F2(cd)108 636 Q F0([)2.5 E F2 -A F0(|[)A F2A F0([)2.5 E F2A F0(]] [\255@]] [)A F1 -(dir)A F0(])A .321(Change the current directory to)144 648 R F1(dir) -2.821 E F0 5.321(.i)C(f)-5.321 E F1(dir)2.821 E F0 .322 -(is not supplied, the v)2.821 F .322(alue of the)-.25 F F3(HOME)2.822 E -F0 .322(shell v)2.572 F .322(ariable is)-.25 F 1.036(the def)144 660 R -3.536(ault. An)-.1 F 3.536(ya)-.15 G 1.035(dditional ar)-3.536 F 1.035 -(guments follo)-.18 F(wing)-.25 E F1(dir)3.535 E F0 1.035(are ignored.) -3.535 F 1.035(The v)6.035 F(ariable)-.25 E F3(CDP)3.535 E -.855(AT)-.666 -G(H).855 E F0(de\214nes)3.285 E .849 -(the search path for the directory containing)144 672 R F1(dir)3.349 E -F0 3.35(:e).73 G .85(ach directory name in)-3.35 F F3(CDP)3.35 E -.855 -(AT)-.666 G(H).855 E F0 .85(is searched for)3.1 F F1(dir)144 684 Q F0 -5.665(.A)C(lternati)-5.665 E .965 -.15(ve d)-.25 H .665 +ent e)144 619.2 R -.15(xe)-.15 G 1.328(cution call stack.).15 F .001 +(This e)144 631.2 R .001(xtra information may be used, for e)-.15 F .001 +(xample, to print a stack trace.)-.15 F(The current frame is frame)5 E +3.019(0. The)144 643.2 R .519(return v)3.019 F .519 +(alue is 0 unless the shell is not e)-.25 F -.15(xe)-.15 G .52 +(cuting a subroutine call or).15 F F2 -.2(ex)3.02 G(pr).2 E F0 .52 +(does not corre-)3.02 F(spond to a v)144 655.2 Q +(alid position in the call stack.)-.25 E F1(cd)108 672 Q F0([)2.5 E F1 +A F0(|[)A F1A F0([)2.5 E F1A F0(]] [\255@]] [)A F2 +(dir)A F0(])A .322(Change the current directory to)144 684 R F2(dir) +2.822 E F0 5.322(.i)C(f)-5.322 E F2(dir)2.822 E F0 .321 +(is not supplied, the v)2.822 F .321(alue of the)-.25 F F3(HOME)2.821 E +F0 .321(shell v)2.571 F .321(ariable is)-.25 F 1.035(the def)144 696 R +3.535(ault. An)-.1 F 3.535(ya)-.15 G 1.035(dditional ar)-3.535 F 1.035 +(guments follo)-.18 F(wing)-.25 E F2(dir)3.535 E F0 1.035(are ignored.) +3.535 F 1.036(The v)6.035 F(ariable)-.25 E F3(CDP)3.536 E -.855(AT)-.666 +G(H).855 E F0(de\214nes)3.286 E .85 +(the search path for the directory containing)144 708 R F2(dir)3.35 E F0 +3.35(:e).73 G .849(ach directory name in)-3.35 F F3(CDP)3.349 E -.855 +(AT)-.666 G(H).855 E F0 .849(is searched for)3.099 F F2(dir)144 720 Q F0 +5.664(.A)C(lternati)-5.664 E .964 -.15(ve d)-.25 H .665 (irectory names in).15 F F3(CDP)3.165 E -.855(AT)-.666 G(H).855 E F0 -.665(are separated by a colon \(:\).)2.915 F 3.165(An)5.665 G .664 -(ull directory name)-3.165 F(in)144 696 Q F3(CDP)4.162 E -.855(AT)-.666 -G(H).855 E F0 1.662(is the same as the current directory)3.912 F 4.162 -(,i)-.65 G 1.662(.e., `)-4.162 F(`)-.74 E F2(.)A F0 -.74('')C 6.662(.I) -.74 G(f)-6.662 E F1(dir)4.513 E F0(be)4.893 E 1.663 -(gins with a slash \(/\), then)-.15 F F3(CDP)144 708 Q -.855(AT)-.666 G -(H).855 E F0 .347(is not used. The)2.598 F F22.847 E F0 .347 -(option causes)2.847 F F2(cd)2.847 E F0 .347(to use the ph)2.847 F .347 -(ysical directory structure by resolving)-.05 F 1.12 -(symbolic links while tra)144 720 R -.15(ve)-.2 G(rsing).15 E F1(dir) -3.62 E F0 1.12(and before processing instances of)3.62 F F1(..)3.62 E F0 -(in)3.62 E F1(dir)3.62 E F0 1.12(\(see also the)3.62 F F23.62 E F0 -(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(2)203.725 E 0 Cg EP +.665(are separated by a colon \(:\).)2.915 F 3.165(An)5.665 G .665 +(ull directory name)-3.165 F(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E +(2)203.725 E 0 Cg EP %%Page: 3 3 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .395 -(option to the)144 84 R/F1 10/Times-Bold@0 SF(set)2.895 E F0 -.2(bu) -2.895 G .395(iltin command\); the).2 F F12.895 E F0 .395 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E(in)144 84 Q/F1 9/Times-Bold@0 SF(CDP)4.163 +E -.855(AT)-.666 G(H).855 E F0 1.663 +(is the same as the current directory)3.913 F 4.162(,i)-.65 G 1.662 +(.e., `)-4.162 F(`)-.74 E/F2 10/Times-Bold@0 SF(.)A F0 -.74('')C 6.662 +(.I).74 G(f)-6.662 E/F3 10/Times-Italic@0 SF(dir)4.512 E F0(be)4.892 E +1.662(gins with a slash \(/\), then)-.15 F F1(CDP)144 96 Q -.855(AT) +-.666 G(H).855 E F0 .19(is not used.)2.44 F(The)5.191 E F22.691 E +F0 .191(option causes)2.691 F F2(cd)2.691 E F0 .191(to use the ph)2.691 +F .191(ysical directory structure by resolving)-.05 F 1.12 +(symbolic links while tra)144 108 R -.15(ve)-.2 G(rsing).15 E F3(dir) +3.62 E F0 1.12(and before processing instances of)3.62 F F3(..)3.62 E F0 +(in)3.62 E F3(dir)3.62 E F0 1.12(\(see also the)3.62 F F23.62 E F0 +.395(option to the)144 120 R F2(set)2.895 E F0 -.2(bu)2.895 G .395 +(iltin command\); the).2 F F22.895 E F0 .395 (option forces symbolic links to be follo)2.895 F .395(wed by resolv-) --.25 F .443(ing the link after processing instances of)144 96 R/F2 10 -/Times-Italic@0 SF(..)2.943 E F0(in)2.943 E F2(dir)2.943 E F0 5.443(.I)C -(f)-5.443 E F2(..)2.943 E F0 .443(appears in)2.943 F F2(dir)2.943 E F0 -2.943(,i)C 2.943(ti)-2.943 G 2.944(sp)-2.943 G .444(rocessed by remo) --2.944 F(ving)-.15 E .744(the immediately pre)144 108 R .744 -(vious pathname component from)-.25 F F2(dir)3.244 E F0 3.244(,b)C .744 -(ack to a slash or the be)-3.244 F .744(ginning of)-.15 F F2(dir)3.244 E -F0(.)A 1.465(If the)144 120 R F13.965 E F0 1.465 -(option is supplied with)3.965 F F13.965 E F0 3.965(,a)C 1.465 -(nd the current w)-3.965 F 1.466 -(orking directory cannot be successfully)-.1 F .468 -(determined after a successful directory change,)144 132 R F1(cd)2.968 E -F0 .468(will return an unsuccessful status.)2.968 F .467(On systems) -5.467 F .336(that support it, the)144 144 R F12.836 E F0 .336 -(option presents the e)2.836 F .336(xtended attrib)-.15 F .337 +-.25 F .444(ing the link after processing instances of)144 132 R F3(..) +2.943 E F0(in)2.943 E F3(dir)2.943 E F0 5.443(.I)C(f)-5.443 E F3(..) +2.943 E F0 .443(appears in)2.943 F F3(dir)2.943 E F0 2.943(,i)C 2.943 +(ti)-2.943 G 2.943(sp)-2.943 G .443(rocessed by remo)-2.943 F(ving)-.15 +E .744(the immediately pre)144 144 R .744(vious pathname component from) +-.25 F F3(dir)3.244 E F0 3.244(,b)C .744(ack to a slash or the be)-3.244 +F .744(ginning of)-.15 F F3(dir)3.244 E F0(.)A 1.466(If the)144 156 R F2 +3.966 E F0 1.466(option is supplied with)3.966 F F23.965 E +F0 3.965(,a)C 1.465(nd the current w)-3.965 F 1.465 +(orking directory cannot be successfully)-.1 F .467 +(determined after a successful directory change,)144 168 R F2(cd)2.968 E +F0 .468(will return an unsuccessful status.)2.968 F .468(On systems) +5.468 F .337(that support it, the)144 180 R F22.837 E F0 .336 +(option presents the e)2.836 F .336(xtended attrib)-.15 F .336 (utes associated with a \214le as a directory)-.2 F(.)-.65 E .71(An ar) -144 156 R .71(gument of)-.18 F F13.21 E F0 .71(is con)3.21 F -.15 -(ve)-.4 G .71(rted to).15 F/F3 9/Times-Bold@0 SF($OLDPWD)3.21 E F0 .71 +144 192 R .71(gument of)-.18 F F23.21 E F0 .71(is con)3.21 F -.15 +(ve)-.4 G .71(rted to).15 F F1($OLDPWD)3.21 E F0 .71 (before the directory change is attempted.)2.96 F .71(If a non-)5.71 F -.106(empty directory name from)144 168 R F3(CDP)2.606 E -.855(AT)-.666 G -(H).855 E F0 .107(is used, or if)2.356 F F12.607 E F0 .107 -(is the \214rst ar)2.607 F .107(gument, and the directory change)-.18 F -.038(is successful, the absolute pathname of the ne)144 180 R 2.538(ww) +.107(empty directory name from)144 204 R F1(CDP)2.607 E -.855(AT)-.666 G +(H).855 E F0 .107(is used, or if)2.357 F F22.607 E F0 .106 +(is the \214rst ar)2.607 F .106(gument, and the directory change)-.18 F +.038(is successful, the absolute pathname of the ne)144 216 R 2.538(ww) -.25 G .038(orking directory is written to the standard output.)-2.638 F -(The return v)144 192 Q(alue is true if the directory w)-.25 E -(as successfully changed; f)-.1 E(alse otherwise.)-.1 E F1(command)108 -208.8 Q F0([)2.5 E F1(\255pVv)A F0(])A F2(command)2.5 E F0([)2.5 E F2 -(ar)A(g)-.37 E F0(...])2.5 E(Run)144 220.8 Q F2(command)2.956 E F0(with) -3.527 E F2(ar)3.087 E(gs)-.37 E F0 .257 -(suppressing the normal shell function lookup. Only b)3.027 F .257 -(uiltin commands or)-.2 F .502(commands found in the)144 232.8 R F3 --.666(PA)3.002 G(TH)-.189 E F0 .502(are e)2.752 F -.15(xe)-.15 G 3.002 -(cuted. If).15 F(the)3.002 E F13.002 E F0 .502(option is gi)3.002 -F -.15(ve)-.25 G .501(n, the search for).15 F F2(command)3.201 E F0(is) -3.771 E .399(performed using a def)144 244.8 R .399(ault v)-.1 F .399 -(alue for)-.25 F F3 -.666(PA)2.899 G(TH)-.189 E F0 .4 +(The return v)144 228 Q(alue is true if the directory w)-.25 E +(as successfully changed; f)-.1 E(alse otherwise.)-.1 E F2(command)108 +244.8 Q F0([)2.5 E F2(\255pVv)A F0(])A F3(command)2.5 E F0([)2.5 E F3 +(ar)A(g)-.37 E F0(...])2.5 E(Run)144 256.8 Q F3(command)2.765 E F0(with) +3.335 E F3(ar)2.895 E(gs)-.37 E F0 .065 +(suppressing the normal shell function lookup.)2.835 F .064(Only b)5.064 +F .064(uiltin commands or)-.2 F .501(commands found in the)144 268.8 R +F1 -.666(PA)3.001 G(TH)-.189 E F0 .502(are e)2.751 F -.15(xe)-.15 G +3.002(cuted. If).15 F(the)3.002 E F23.002 E F0 .502(option is gi) +3.002 F -.15(ve)-.25 G .502(n, the search for).15 F F3(command)3.202 E +F0(is)3.772 E .4(performed using a def)144 280.8 R .4(ault v)-.1 F .4 +(alue for)-.25 F F1 -.666(PA)2.9 G(TH)-.189 E F0 .399 (that is guaranteed to \214nd all of the standard utilities.)2.649 F(If) -5.4 E .175(either the)144 256.8 R F12.675 E F0(or)2.675 E F1 -2.675 E F0 .175(option is supplied, a description of)2.675 F F2(command) -2.875 E F0 .174(is printed.)3.445 F(The)5.174 E F12.674 E F0 .174 -(option causes)2.674 F 3.317(as)144 268.8 S .817(ingle w)-3.317 F .817 -(ord indicating the command or \214lename used to in)-.1 F -.2(vo)-.4 G --.1(ke).2 G F2(command)3.618 E F0 .818(to be displayed; the)4.088 F F1 -144 280.8 Q F0 .25(option produces a more v)2.75 F .25 -(erbose description.)-.15 F .249(If the)5.25 F F12.749 E F0(or) -2.749 E F12.749 E F0 .249(option is supplied, the e)2.749 F .249 -(xit status)-.15 F 1.004(is 0 if)144 292.8 R F2(command)3.704 E F0 -.1 -(wa)4.274 G 3.504(sf).1 G 1.005(ound, and 1 if not.)-3.504 F 1.005 -(If neither option is supplied and an error occurred or)6.005 F F2 -(command)144.2 304.8 Q F0 1.599(cannot be found, the e)4.869 F 1.599 -(xit status is 127.)-.15 F 1.599(Otherwise, the e)6.599 F 1.598 -(xit status of the)-.15 F F1(command)4.098 E F0 -.2(bu)144 316.8 S -(iltin is the e).2 E(xit status of)-.15 E F2(command)2.5 E F0(.).77 E F1 -(compgen)108 333.6 Q F0([)2.5 E F2(option)A F0 2.5(][)C F2(wor)-2.5 E(d) --.37 E F0(])A .012(Generate possible completion matches for)144 345.6 R -F2(wor)2.513 E(d)-.37 E F0 .013(according to the)2.513 F F2(option)2.513 -E F0 .013(s, which may be an)B 2.513(yo)-.15 G(ption)-2.513 E .982 -(accepted by the)144 357.6 R F1(complete)3.482 E F0 -.2(bu)3.481 G .981 -(iltin with the e).2 F .981(xception of)-.15 F F13.481 E F0(and) -3.481 E F13.481 E F0 3.481(,a)C .981(nd write the matches to the) --3.481 F 1.415(standard output.)144 369.6 R 1.415(When using the)6.415 F -F13.915 E F0(or)3.915 E F13.915 E F0 1.415(options, the v) -3.915 F 1.415(arious shell v)-.25 F 1.415(ariables set by the pro-)-.25 -F(grammable completion f)144 381.6 Q(acilities, while a)-.1 E -.25(va) --.2 G(ilable, will not ha).25 E .3 -.15(ve u)-.2 H(seful v).15 E(alues.) --.25 E .352(The matches will be generated in the same w)144 405.6 R .352 +5.399 E .174(either the)144 292.8 R F22.674 E F0(or)2.674 E F2 +2.674 E F0 .175(option is supplied, a description of)2.674 F F3 +(command)2.875 E F0 .175(is printed.)3.445 F(The)5.175 E F22.675 E +F0 .175(option causes)2.675 F 3.318(as)144 304.8 S .818(ingle w)-3.318 F +.817(ord indicating the command or \214lename used to in)-.1 F -.2(vo) +-.4 G -.1(ke).2 G F3(command)3.617 E F0 .817(to be displayed; the)4.087 +F F2144 316.8 Q F0 .249(option produces a more v)2.749 F .249 +(erbose description.)-.15 F .249(If the)5.249 F F22.749 E F0(or) +2.749 E F22.75 E F0 .25(option is supplied, the e)2.75 F .25 +(xit status)-.15 F 1.005(is 0 if)144 328.8 R F3(command)3.705 E F0 -.1 +(wa)4.275 G 3.505(sf).1 G 1.005(ound, and 1 if not.)-3.505 F 1.004 +(If neither option is supplied and an error occurred or)6.005 F F3 +(command)144.2 340.8 Q F0 1.598(cannot be found, the e)4.868 F 1.599 +(xit status is 127.)-.15 F 1.599(Otherwise, the e)6.599 F 1.599 +(xit status of the)-.15 F F2(command)4.099 E F0 -.2(bu)144 352.8 S +(iltin is the e).2 E(xit status of)-.15 E F3(command)2.5 E F0(.).77 E F2 +(compgen)108 369.6 Q F0([)2.5 E F3(option)A F0 2.5(][)C F3(wor)-2.5 E(d) +-.37 E F0(])A .013(Generate possible completion matches for)144 381.6 R +F3(wor)2.513 E(d)-.37 E F0 .013(according to the)2.513 F F3(option)2.513 +E F0 .013(s, which may be an)B 2.512(yo)-.15 G(ption)-2.512 E .981 +(accepted by the)144 393.6 R F2(complete)3.481 E F0 -.2(bu)3.481 G .981 +(iltin with the e).2 F .981(xception of)-.15 F F23.481 E F0(and) +3.481 E F23.481 E F0 3.481(,a)C .982(nd write the matches to the) +-3.481 F .131(standard output.)144 405.6 R .131(When using the)5.131 F +F22.631 E F0(or)2.631 E F22.631 E F0 .131(options, the v) +2.631 F .13(arious shell v)-.25 F .13(ariables set by the program-)-.25 +F(mable completion f)144 417.6 Q(acilities, while a)-.1 E -.25(va)-.2 G +(ilable, will not ha).25 E .3 -.15(ve u)-.2 H(seful v).15 E(alues.)-.25 +E .352(The matches will be generated in the same w)144 441.6 R .352 (ay as if the programmable completion code had gen-)-.1 F .02(erated th\ em directly from a completion speci\214cation with the same \215ags.)144 -417.6 R(If)5.02 E F2(wor)2.52 E(d)-.37 E F0 .02(is speci\214ed, only) -2.52 F(those completions matching)144 429.6 Q F2(wor)2.5 E(d)-.37 E F0 -(will be displayed.)2.5 E(The return v)144 453.6 Q +453.6 R(If)5.02 E F3(wor)2.52 E(d)-.37 E F0 .02(is speci\214ed, only) +2.52 F(those completions matching)144 465.6 Q F3(wor)2.5 E(d)-.37 E F0 +(will be displayed.)2.5 E(The return v)144 489.6 Q (alue is true unless an in)-.25 E -.25(va)-.4 G -(lid option is supplied, or no matches were generated.).25 E F1 -(complete)108 470.4 Q F0([)3.729 E F1(\255abcdefgjksuv)A F0 3.729(][)C -F1-3.729 E F2(comp-option)3.729 E F0 3.729(][)C F1(\255DE)-3.729 E -F0 3.728(][)C F1-3.728 E F2(action)3.728 E F0 3.728(][)C F1 --3.728 E F2(globpat)3.728 E F0 3.728(][)C F1-3.728 E F2(wor)3.728 -E(dlist)-.37 E F0 3.728(][)C F1-3.728 E F2(func-)3.728 E(tion)108 -482.4 Q F0 2.5(][)C F1-2.5 E F2(command)2.5 E F0(])A([)144 494.4 Q -F1A F2(\214lterpat)2.5 E F0 2.5(][)C F1-2.5 E F2(pr)2.5 E -(e\214x)-.37 E F0 2.5(][)C F1-2.5 E F2(suf)2.5 E<8c78>-.18 E F0(]) -A F2(name)2.5 E F0([)2.5 E F2(name ...)A F0(])A F1(complete \255pr)108 -506.4 Q F0([)2.5 E F1(\255DE)A F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E -.634(Specify ho)144 518.4 R 3.134(wa)-.25 G -.18(rg)-3.134 G .634 -(uments to each).18 F F2(name)3.134 E F0 .634(should be completed.)3.134 -F .633(If the)5.634 F F13.133 E F0 .633 +(lid option is supplied, or no matches were generated.).25 E F2 +(complete)108 506.4 Q F0([)3.728 E F2(\255abcdefgjksuv)A F0 3.728(][)C +F2-3.728 E F3(comp-option)3.728 E F0 3.728(][)C F2(\255DE)-3.728 E +F0 3.728(][)C F2-3.728 E F3(action)3.728 E F0 3.728(][)C F2 +-3.728 E F3(globpat)3.728 E F0 3.729(][)C F2-3.729 E F3(wor)3.729 +E(dlist)-.37 E F0 3.729(][)C F2-3.729 E F3(func-)3.729 E(tion)108 +518.4 Q F0 2.5(][)C F2-2.5 E F3(command)2.5 E F0(])A([)144 530.4 Q +F2A F3(\214lterpat)2.5 E F0 2.5(][)C F2-2.5 E F3(pr)2.5 E +(e\214x)-.37 E F0 2.5(][)C F2-2.5 E F3(suf)2.5 E<8c78>-.18 E F0(]) +A F3(name)2.5 E F0([)2.5 E F3(name ...)A F0(])A F2(complete \255pr)108 +542.4 Q F0([)2.5 E F2(\255DE)A F0 2.5(][)C F3(name)-2.5 E F0(...])2.5 E +.634(Specify ho)144 554.4 R 3.134(wa)-.25 G -.18(rg)-3.134 G .634 +(uments to each).18 F F3(name)3.134 E F0 .634(should be completed.)3.134 +F .633(If the)5.634 F F23.133 E F0 .633 (option is supplied, or if no)3.133 F .139(options are supplied, e)144 -530.4 R .139(xisting completion speci\214cations are printed in a w)-.15 +566.4 R .139(xisting completion speci\214cations are printed in a w)-.15 F .14(ay that allo)-.1 F .14(ws them to be)-.25 F .31(reused as input.) -144 542.4 R(The)5.31 E F12.81 E F0 .31(option remo)2.81 F -.15(ve) --.15 G 2.81(sac).15 G .31(ompletion speci\214cation for each)-2.81 F F2 +144 578.4 R(The)5.31 E F22.81 E F0 .31(option remo)2.81 F -.15(ve) +-.15 G 2.81(sac).15 G .31(ompletion speci\214cation for each)-2.81 F F3 (name)2.81 E F0 2.81(,o)C 1.11 -.4(r, i)-2.81 H 2.81(fn).4 G(o)-2.81 E -F2(name)2.81 E F0(s)A 1.346 -(are supplied, all completion speci\214cations.)144 554.4 R(The)6.347 E -F13.847 E F0 1.347(option indicates that the remaining options) -3.847 F .5(and actions should apply to the `)144 566.4 R(`def)-.74 E +F3(name)2.81 E F0(s)A 1.346 +(are supplied, all completion speci\214cations.)144 590.4 R(The)6.347 E +F23.847 E F0 1.347(option indicates that the remaining options) +3.847 F .5(and actions should apply to the `)144 602.4 R(`def)-.74 E (ault')-.1 E 3('c)-.74 G .5 (ommand completion; that is, completion attempted on)-3 F 3.455(ac)144 -578.4 S .955(ommand for which no completion has pre)-3.455 F .955 -(viously been de\214ned.)-.25 F(The)5.955 E F13.455 E F0 .955 +614.4 S .955(ommand for which no completion has pre)-3.455 F .955 +(viously been de\214ned.)-.25 F(The)5.955 E F23.455 E F0 .955 (option indicates that)3.455 F .065 -(the remaining options and actions should apply to `)144 590.4 R +(the remaining options and actions should apply to `)144 626.4 R (`empty')-.74 E 2.564('c)-.74 G .064 (ommand completion; that is, comple-)-2.564 F -(tion attempted on a blank line.)144 602.4 Q 1.437 +(tion attempted on a blank line.)144 638.4 Q 1.437 (The process of applying these completion speci\214cations when w)144 -626.4 R 1.438(ord completion is attempted is)-.1 F(described abo)144 -638.4 Q .3 -.15(ve u)-.15 H(nder).15 E F1(Pr)2.5 E +662.4 R 1.438(ord completion is attempted is)-.1 F(described abo)144 +674.4 Q .3 -.15(ve u)-.15 H(nder).15 E F2(Pr)2.5 E (ogrammable Completion)-.18 E F0(.)A .556 -(Other options, if speci\214ed, ha)144 662.4 R .856 -.15(ve t)-.2 H .555 +(Other options, if speci\214ed, ha)144 698.4 R .856 -.15(ve t)-.2 H .555 (he follo).15 F .555(wing meanings.)-.25 F .555(The ar)5.555 F .555 -(guments to the)-.18 F F13.055 E F0(,)A F13.055 E F0 3.055 -(,a)C(nd)-3.055 E F13.055 E F0 .722(options \(and, if necessary) -144 674.4 R 3.222(,t)-.65 G(he)-3.222 E F13.222 E F0(and)3.222 E -F13.222 E F0 .723 +(guments to the)-.18 F F23.055 E F0(,)A F23.055 E F0 3.055 +(,a)C(nd)-3.055 E F23.055 E F0 .722(options \(and, if necessary) +144 710.4 R 3.222(,t)-.65 G(he)-3.222 E F23.222 E F0(and)3.222 E +F23.222 E F0 .723 (options\) should be quoted to protect them from e)3.222 F(xpan-)-.15 E -(sion before the)144 686.4 Q F1(complete)2.5 E F0 -.2(bu)2.5 G -(iltin is in).2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E F1144 698.4 Q -F2(comp-option)2.5 E F0(The)184 710.4 Q F2(comp-option)2.791 E F0 .291 -(controls se)2.791 F -.15(ve)-.25 G .291(ral aspects of the compspec') -.15 F 2.791(sb)-.55 G(eha)-2.791 E .291(vior be)-.2 F .291 -(yond the simple)-.15 F(generation of completions.)184 722.4 Q F2 -(comp-option)5 E F0(may be one of:)2.5 E(GNU Bash-4.2)72 768 Q +(sion before the)144 722.4 Q F2(complete)2.5 E F0 -.2(bu)2.5 G +(iltin is in).2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E(GNU Bash-4.2)72 768 Q (2004 Apr 20)148.735 E(3)203.725 E 0 Cg EP %%Page: 4 4 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(bashdefault)184 84 Q F0 .281 -(Perform the rest of the def)224 96 R(ault)-.1 E F1(bash)2.781 E F0 .281 -(completions if the compspec generates no)2.781 F(matches.)224 108 Q F1 -(default)184 120 Q F0 2.876(Use readline')10 F 5.376(sd)-.55 G(ef)-5.376 -E 2.875(ault \214lename completion if the compspec generates no)-.1 F -(matches.)224 132 Q F1(dir)184 144 Q(names)-.15 E F0(Perform directory \ -name completion if the compspec generates no matches.)224 156 Q F1 -(\214lenames)184 168 Q F0 -.7(Te)224 180 S .137(ll readline that the co\ -mpspec generates \214lenames, so it can perform an).7 F 2.637<798c>-.15 -G(le-)-2.637 E .134(name\255speci\214c processing \(lik)224 192 R 2.634 -(ea)-.1 G .134(dding a slash to directory names, quoting spe-)-2.634 F -.45(cial characters, or suppressing trailing spaces\).)224 204 R .45 -(Intended to be used with shell)5.45 F(functions.)224 216 Q F1(noquote) -184 228 Q F0 -.7(Te)5.55 G .814 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF144 84 Q/F2 10 +/Times-Italic@0 SF(comp-option)2.5 E F0(The)184 96 Q F2(comp-option) +2.791 E F0 .291(controls se)2.791 F -.15(ve)-.25 G .291 +(ral aspects of the compspec').15 F 2.791(sb)-.55 G(eha)-2.791 E .291 +(vior be)-.2 F .291(yond the simple)-.15 F(generation of completions.) +184 108 Q F2(comp-option)5 E F0(may be one of:)2.5 E F1(bashdefault)184 +120 Q F0 .281(Perform the rest of the def)224 132 R(ault)-.1 E F1(bash) +2.781 E F0 .281(completions if the compspec generates no)2.781 F +(matches.)224 144 Q F1(default)184 156 Q F0 2.876(Use readline')224 156 +R 5.376(sd)-.55 G(ef)-5.376 E 2.875 +(ault \214lename completion if the compspec generates no)-.1 F(matches.) +224 168 Q F1(dir)184 180 Q(names)-.15 E F0(Perform directory name compl\ +etion if the compspec generates no matches.)224 192 Q F1(\214lenames)184 +204 Q F0 -.7(Te)224 216 S .137(ll readline that the compspec generates \ +\214lenames, so it can perform an).7 F 2.637<798c>-.15 G(le-)-2.637 E +.134(name\255speci\214c processing \(lik)224 228 R 2.634(ea)-.1 G .134 +(dding a slash to directory names, quoting spe-)-2.634 F .45 +(cial characters, or suppressing trailing spaces\).)224 240 R .45 +(Intended to be used with shell)5.45 F(functions.)224 252 Q F1(noquote) +184 264 Q F0 -.7(Te)224 264 S .814 (ll readline not to quote the completed w).7 F .814(ords if the)-.1 F 3.314(ya)-.15 G .814(re \214lenames \(quoting)-3.314 F -(\214lenames is the def)224 240 Q(ault\).)-.1 E F1(nospace)184 252 Q F0 --.7(Te)6.11 G .22(ll readline not to append a space \(the def).7 F .22 -(ault\) to w)-.1 F .22(ords completed at the end)-.1 F(of the line.)224 -264 Q F1(plusdirs)184 276 Q F0 1.985(After an)5.54 F 4.485(ym)-.15 G -1.985(atches de\214ned by the compspec are generated, directory name) --4.485 F .583(completion is attempted and an)224 288 R 3.084(ym)-.15 G -.584(atches are added to the results of the other)-3.084 F(actions.)224 -300 Q F1144 312 Q/F2 10/Times-Italic@0 SF(action)2.5 E F0(The)184 -324 Q F2(action)2.5 E F0(may be one of the follo)2.5 E +(\214lenames is the def)224 276 Q(ault\).)-.1 E F1(nosort)184 288 Q F0 +-.7(Te)224 288 S(ll readline not to sort the list of possible completio\ +ns alphabetically).7 E(.)-.65 E F1(nospace)184 300 Q F0 -.7(Te)224 300 S +.22(ll readline not to append a space \(the def).7 F .22(ault\) to w)-.1 +F .22(ords completed at the end)-.1 F(of the line.)224 312 Q F1 +(plusdirs)184 324 Q F0 1.985(After an)224 324 R 4.485(ym)-.15 G 1.985 +(atches de\214ned by the compspec are generated, directory name)-4.485 F +.583(completion is attempted and an)224 336 R 3.084(ym)-.15 G .584 +(atches are added to the results of the other)-3.084 F(actions.)224 348 +Q F1144 360 Q F2(action)2.5 E F0(The)184 372 Q F2(action)2.5 E F0 +(may be one of the follo)2.5 E (wing to generate a list of possible completions:)-.25 E F1(alias)184 -336 Q F0(Alias names.)20.55 E(May also be speci\214ed as)5 E F12.5 -E F0(.)A F1(arrayv)184 348 Q(ar)-.1 E F0(Array v)224 360 Q -(ariable names.)-.25 E F1 4.7(binding Readline)184 372 R F0 -.1(ke)2.5 G -2.5(yb)-.05 G(inding names.)-2.5 E F1 -.2(bu)184 384 S(iltin).2 E F0 -(Names of shell b)11.85 E(uiltin commands.)-.2 E -(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(command)184 396 -Q F0(Command names.)224 408 Q(May also be speci\214ed as)5 E F12.5 -E F0(.)A F1(dir)184 420 Q(ectory)-.18 E F0(Directory names.)224 432 Q -(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(disabled)184 444 -Q F0(Names of disabled shell b)224 456 Q(uiltins.)-.2 E F1(enabled)184 -468 Q F0(Names of enabled shell b)6.66 E(uiltins.)-.2 E F1(export)184 -480 Q F0(Names of e)12.23 E(xported shell v)-.15 E 2.5(ariables. May) +384 Q F0(Alias names.)224 384 Q(May also be speci\214ed as)5 E F1 +2.5 E F0(.)A F1(arrayv)184 396 Q(ar)-.1 E F0(Array v)224 408 Q +(ariable names.)-.25 E F1(binding)184 420 Q(Readline)224 420 Q F0 -.1 +(ke)2.5 G 2.5(yb)-.05 G(inding names.)-2.5 E F1 -.2(bu)184 432 S(iltin) +.2 E F0(Names of shell b)224 432 Q(uiltin commands.)-.2 E +(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(command)184 444 +Q F0(Command names.)224 456 Q(May also be speci\214ed as)5 E F12.5 +E F0(.)A F1(dir)184 468 Q(ectory)-.18 E F0(Directory names.)224 480 Q +(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(disabled)184 492 +Q F0(Names of disabled shell b)224 504 Q(uiltins.)-.2 E F1(enabled)184 +516 Q F0(Names of enabled shell b)224 516 Q(uiltins.)-.2 E F1(export)184 +528 Q F0(Names of e)224 528 Q(xported shell v)-.15 E 2.5(ariables. May) -.25 F(also be speci\214ed as)2.5 E F12.5 E F0(.)A F1(\214le)184 -492 Q F0(File names.)27.22 E(May also be speci\214ed as)5 E F12.5 -E F0(.)A F1(function)184 504 Q F0(Names of shell functions.)224 516 Q F1 -(gr)184 528 Q(oup)-.18 E F0(Group names.)14.62 E +540 Q F0(File names.)224 540 Q(May also be speci\214ed as)5 E F1 +2.5 E F0(.)A F1(function)184 552 Q F0(Names of shell functions.)224 564 +Q F1(gr)184 576 Q(oup)-.18 E F0(Group names.)224 576 Q (May also be speci\214ed as)5 E F12.5 E F0(.)A F1(helptopic)184 -540 Q F0(Help topics as accepted by the)224 552 Q F1(help)2.5 E F0 -.2 -(bu)2.5 G(iltin.).2 E F1(hostname)184 564 Q F0(Hostnames, as tak)224 576 +588 Q F0(Help topics as accepted by the)224 600 Q F1(help)2.5 E F0 -.2 +(bu)2.5 G(iltin.).2 E F1(hostname)184 612 Q F0(Hostnames, as tak)224 624 Q(en from the \214le speci\214ed by the)-.1 E/F3 9/Times-Bold@0 SF -(HOSTFILE)2.5 E F0(shell v)2.25 E(ariable.)-.25 E F1(job)184 588 Q F0 -(Job names, if job control is acti)26.11 E -.15(ve)-.25 G 5(.M).15 G -(ay also be speci\214ed as)-5 E F12.5 E F0(.)A F1 -.1(ke)184 600 S -(yw).1 E(ord)-.1 E F0(Shell reserv)224 612 Q(ed w)-.15 E 2.5(ords. May) +(HOSTFILE)2.5 E F0(shell v)2.25 E(ariable.)-.25 E F1(job)184 636 Q F0 +(Job names, if job control is acti)224 636 Q -.15(ve)-.25 G 5(.M).15 G +(ay also be speci\214ed as)-5 E F12.5 E F0(.)A F1 -.1(ke)184 648 S +(yw).1 E(ord)-.1 E F0(Shell reserv)224 660 Q(ed w)-.15 E 2.5(ords. May) -.1 F(also be speci\214ed as)2.5 E F12.5 E F0(.)A F1(running)184 -624 Q F0(Names of running jobs, if job control is acti)5.54 E -.15(ve) --.25 G(.).15 E F1(ser)184 636 Q(vice)-.1 E F0(Service names.)10.67 E -(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(setopt)184 648 Q -F0 -1.11(Va)14.45 G(lid ar)1.11 E(guments for the)-.18 E F12.5 E -F0(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1 -(shopt)184 660 Q F0(Shell option names as accepted by the)16.66 E F1 -(shopt)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1(signal)184 672 Q F0 -(Signal names.)14.99 E F1(stopped)184 684 Q F0 -(Names of stopped jobs, if job control is acti)6.66 E -.15(ve)-.25 G(.) -.15 E F1(user)184 696 Q F0(User names.)21.67 E -(May also be speci\214ed as)5 E F12.5 E F0(.)A F1 -.1(va)184 708 S -(riable).1 E F0(Names of all shell v)5.1 E 2.5(ariables. May)-.25 F -(also be speci\214ed as)2.5 E F12.5 E F0(.)A(GNU Bash-4.2)72 768 Q +672 Q F0(Names of running jobs, if job control is acti)224 672 Q -.15 +(ve)-.25 G(.).15 E F1(ser)184 684 Q(vice)-.1 E F0(Service names.)224 684 +Q(May also be speci\214ed as)5 E F12.5 E F0(.)A F1(setopt)184 696 +Q F0 -1.11(Va)224 696 S(lid ar)1.11 E(guments for the)-.18 E F12.5 +E F0(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1 +(shopt)184 708 Q F0(Shell option names as accepted by the)224 708 Q F1 +(shopt)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E(GNU Bash-4.2)72 768 Q (2004 Apr 20)148.735 E(4)203.725 E 0 Cg EP %%Page: 5 5 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF144 84 Q/F2 10/Times-Italic@0 SF(command)2.5 E -(command)184 96 Q F0 1.056(is e)3.556 F -.15(xe)-.15 G 1.056 -(cuted in a subshell en).15 F 1.056 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(signal)184 84 Q F0 +(Signal names.)224 84 Q F1(stopped)184 96 Q F0 +(Names of stopped jobs, if job control is acti)224 96 Q -.15(ve)-.25 G +(.).15 E F1(user)184 108 Q F0(User names.)224 108 Q +(May also be speci\214ed as)5 E F12.5 E F0(.)A F1 -.1(va)184 120 S +(riable).1 E F0(Names of all shell v)224 120 Q 2.5(ariables. May)-.25 F +(also be speci\214ed as)2.5 E F12.5 E F0(.)A F1144 132 Q/F2 +10/Times-Italic@0 SF(command)2.5 E(command)184 144 Q F0 1.056(is e)3.556 +F -.15(xe)-.15 G 1.056(cuted in a subshell en).15 F 1.056 (vironment, and its output is used as the possible)-.4 F(completions.) -184 108 Q F1144 120 Q F2(function)2.5 E F0 .113 -(The shell function)184 132 R F2(function)2.614 E F0 .114(is e)2.614 F +184 156 Q F1144 168 Q F2(function)2.5 E F0 .113 +(The shell function)184 180 R F2(function)2.614 E F0 .114(is e)2.614 F -.15(xe)-.15 G .114(cuted in the current shell en).15 F 2.614 -(vironment. When)-.4 F .114(the func-)2.614 F .817(tion is e)184 144 R +(vironment. When)-.4 F .114(the func-)2.614 F .817(tion is e)184 192 R -.15(xe)-.15 G .817(cuted, the \214rst ar).15 F .817(gument \()-.18 F F1 ($1)A F0 3.316(\)i)C 3.316(st)-3.316 G .816 (he name of the command whose ar)-3.316 F(guments)-.18 E 1.407 -(are being completed, the second ar)184 156 R 1.407(gument \()-.18 F F1 +(are being completed, the second ar)184 204 R 1.407(gument \()-.18 F F1 ($2)A F0 3.907(\)i)C 3.907(st)-3.907 G 1.407(he w)-3.907 F 1.407 -(ord being completed, and the)-.1 F .104(third ar)184 168 R .104 +(ord being completed, and the)-.1 F .104(third ar)184 216 R .104 (gument \()-.18 F F1($3)A F0 2.604(\)i)C 2.604(st)-2.604 G .104(he w) -2.604 F .104(ord preceding the w)-.1 F .103 -(ord being completed on the current com-)-.1 F .101(mand line.)184 180 R +(ord being completed on the current com-)-.1 F .101(mand line.)184 228 R .101(When it \214nishes, the possible completions are retrie)5.101 F -.15(ve)-.25 G 2.602(df).15 G .102(rom the v)-2.602 F .102(alue of the) --.25 F/F3 9/Times-Bold@0 SF(COMPREPL)184 192 Q(Y)-.828 E F0(array v)2.25 -E(ariable.)-.25 E F1144 204 Q F2(globpat)2.5 E F0 1.008 -(The pathname e)184 216 R 1.008(xpansion pattern)-.15 F F2(globpat)3.507 +-.25 F/F3 9/Times-Bold@0 SF(COMPREPL)184 240 Q(Y)-.828 E F0(array v)2.25 +E(ariable.)-.25 E F1144 252 Q F2(globpat)2.5 E F0 1.008 +(The pathname e)184 264 R 1.008(xpansion pattern)-.15 F F2(globpat)3.507 E F0 1.007(is e)3.507 F 1.007(xpanded to generate the possible comple-) --.15 F(tions.)184 228 Q F1144 240 Q F2(pr)2.5 E(e\214x)-.37 E(pr) -184 252 Q(e\214x)-.37 E F0 .534(is added at the be)3.034 F .534 +-.15 F(tions.)184 276 Q F1144 288 Q F2(pr)2.5 E(e\214x)-.37 E(pr) +184 300 Q(e\214x)-.37 E F0 .534(is added at the be)3.034 F .534 (ginning of each possible completion after all other options ha)-.15 F --.15(ve)-.2 G(been applied.)184 264 Q F1144 276 Q F2(suf)2.5 E -2.81(\214x suf)-.18 F<8c78>-.18 E F0 +-.15(ve)-.2 G(been applied.)184 312 Q F1144 324 Q F2(suf)2.5 E +<8c78>-.18 E(suf)184 324 Q<8c78>-.18 E F0 (is appended to each possible completion after all other options ha)2.5 -E .3 -.15(ve b)-.2 H(een applied.).15 E F1144 288 Q F2(wor)2.5 E -(dlist)-.37 E F0(The)184 300 Q F2(wor)3.64 E(dlist)-.37 E F0 1.14 +E .3 -.15(ve b)-.2 H(een applied.).15 E F1144 336 Q F2(wor)2.5 E +(dlist)-.37 E F0(The)184 348 Q F2(wor)3.64 E(dlist)-.37 E F0 1.14 (is split using the characters in the)3.64 F F3(IFS)3.64 E F0 1.139 (special v)3.39 F 1.139(ariable as delimiters, and)-.25 F 2.007 -(each resultant w)184 312 R 2.007(ord is e)-.1 F 4.507(xpanded. The)-.15 +(each resultant w)184 360 R 2.007(ord is e)-.1 F 4.507(xpanded. The)-.15 F 2.008(possible completions are the members of the)4.507 F -(resultant list which match the w)184 324 Q(ord being completed.)-.1 E -F1144 336 Q F2(\214lterpat)2.5 E(\214lterpat)184 348 Q F0 .456 +(resultant list which match the w)184 372 Q(ord being completed.)-.1 E +F1144 384 Q F2(\214lterpat)2.5 E(\214lterpat)184 396 Q F0 .456 (is a pattern as used for pathname e)2.956 F 2.956(xpansion. It)-.15 F .455(is applied to the list of possible)2.956 F 1.596 -(completions generated by the preceding options and ar)184 360 R 1.596 -(guments, and each completion)-.18 F(matching)184 372 Q F2(\214lterpat) +(completions generated by the preceding options and ar)184 408 R 1.596 +(guments, and each completion)-.18 F(matching)184 420 Q F2(\214lterpat) 3.205 E F0 .705(is remo)3.205 F -.15(ve)-.15 G 3.205(df).15 G .704 (rom the list.)-3.205 F 3.204(Al)5.704 G(eading)-3.204 E F1(!)3.204 E F0 (in)3.204 E F2(\214lterpat)3.204 E F0(ne)3.204 E -.05(ga)-.15 G .704 -(tes the pattern;).05 F(in this case, an)184 384 Q 2.5(yc)-.15 G +(tes the pattern;).05 F(in this case, an)184 432 Q 2.5(yc)-.15 G (ompletion not matching)-2.5 E F2(\214lterpat)2.5 E F0(is remo)2.5 E --.15(ve)-.15 G(d.).15 E .466(The return v)144 400.8 R .466 +-.15(ve)-.15 G(d.).15 E .466(The return v)144 448.8 R .466 (alue is true unless an in)-.25 F -.25(va)-.4 G .466 (lid option is supplied, an option other than).25 F F12.967 E F0 (or)2.967 E F12.967 E F0 .467(is sup-)2.967 F 1.362 -(plied without a)144 412.8 R F2(name)3.862 E F0(ar)3.862 E 1.361 +(plied without a)144 460.8 R F2(name)3.862 E F0(ar)3.862 E 1.361 (gument, an attempt is made to remo)-.18 F 1.661 -.15(ve a c)-.15 H -1.361(ompletion speci\214cation for a).15 F F2(name)144 424.8 Q F0 +1.361(ompletion speci\214cation for a).15 F F2(name)144 472.8 Q F0 (for which no speci\214cation e)2.5 E (xists, or an error occurs adding a completion speci\214cation.)-.15 E -F1(compopt)108 441.6 Q F0([)2.5 E F1A F2(option)2.5 E F0 2.5(][)C +F1(compopt)108 489.6 Q F0([)2.5 E F1A F2(option)2.5 E F0 2.5(][)C F1(\255DE)-2.5 E F0 2.5(][)C F1(+o)-2.5 E F2(option)2.5 E F0 2.5(][)C F2 -(name)-2.5 E F0(])A .447(Modify completion options for each)144 453.6 R +(name)-2.5 E F0(])A .447(Modify completion options for each)144 501.6 R F2(name)2.947 E F0 .447(according to the)2.947 F F2(option)2.947 E F0 .447(s, or for the currently-e)B -.15(xe)-.15 G(cuting).15 E .726 -(completion if no)144 465.6 R F2(name)3.226 E F0 3.226(sa)C .726 +(completion if no)144 513.6 R F2(name)3.226 E F0 3.226(sa)C .726 (re supplied.)-3.226 F .725(If no)5.725 F F2(option)3.225 E F0 3.225(sa) C .725(re gi)-3.225 F -.15(ve)-.25 G .725 -(n, display the completion options for).15 F(each)144 477.6 Q F2(name) +(n, display the completion options for).15 F(each)144 525.6 Q F2(name) 3.223 E F0 .723(or the current completion.)3.223 F .724(The possible v) 5.724 F .724(alues of)-.25 F F2(option)3.224 E F0 .724(are those v)3.224 -F .724(alid for the)-.25 F F1(com-)3.224 E(plete)144 489.6 Q F0 -.2(bu) +F .724(alid for the)-.25 F F1(com-)3.224 E(plete)144 537.6 Q F0 -.2(bu) 2.798 G .298(iltin described abo).2 F -.15(ve)-.15 G 5.297(.T).15 G(he) -5.297 E F12.797 E F0 .297 (option indicates that the remaining options should apply to)2.797 F -1.227(the `)144 501.6 R(`def)-.74 E(ault')-.1 E 3.727('c)-.74 G 1.228(o\ +1.227(the `)144 549.6 R(`def)-.74 E(ault')-.1 E 3.727('c)-.74 G 1.228(o\ mmand completion; that is, completion attempted on a command for which \ -no)-3.727 F 2.178(completion has pre)144 513.6 R 2.178 +no)-3.727 F 2.178(completion has pre)144 561.6 R 2.178 (viously been de\214ned.)-.25 F(The)7.178 E F14.678 E F0 2.177 (option indicates that the remaining options)4.677 F(should apply to `) -144 525.6 Q(`empty')-.74 E 2.5('c)-.74 G +144 573.6 Q(`empty')-.74 E 2.5('c)-.74 G (ommand completion; that is, completion attempted on a blank line.)-2.5 -E 1.387(The return v)144 549.6 R 1.387(alue is true unless an in)-.25 F +E 1.387(The return v)144 597.6 R 1.387(alue is true unless an in)-.25 F -.25(va)-.4 G 1.388 (lid option is supplied, an attempt is made to modify the).25 F -(options for a)144 561.6 Q F2(name)2.5 E F0 +(options for a)144 609.6 Q F2(name)2.5 E F0 (for which no completion speci\214cation e)2.5 E -(xists, or an output error occurs.)-.15 E F1(continue)108 578.4 Q F0([) -2.5 E F2(n)A F0(])A 1.754(Resume the ne)144 590.4 R 1.754 +(xists, or an output error occurs.)-.15 E F1(continue)108 626.4 Q F0([) +2.5 E F2(n)A F0(])A 1.754(Resume the ne)144 638.4 R 1.754 (xt iteration of the enclosing)-.15 F F1 -.25(fo)4.254 G(r).25 E F0(,)A F1(while)4.254 E F0(,)A F1(until)4.254 E F0 4.254(,o)C(r)-4.254 E F1 (select)4.254 E F0 4.253(loop. If)4.254 F F2(n)4.613 E F0 1.753 -(is speci\214ed,)4.493 F 1.208(resume at the)144 602.4 R F2(n)3.709 E F0 +(is speci\214ed,)4.493 F 1.208(resume at the)144 650.4 R F2(n)3.709 E F0 1.209(th enclosing loop.)B F2(n)6.569 E F0 1.209(must be)3.949 F/F4 10 /Symbol SF3.709 E F0 3.709(1. If)3.709 F F2(n)4.069 E F0 1.209 (is greater than the number of enclosing)3.949 F .514 -(loops, the last enclosing loop \(the `)144 614.4 R(`top-le)-.74 E -.15 +(loops, the last enclosing loop \(the `)144 662.4 R(`top-le)-.74 E -.15 (ve)-.25 G(l').15 E 3.014('l)-.74 G .514(oop\) is resumed.)-3.014 F .513 (The return v)5.513 F .513(alue is 0 unless)-.25 F F2(n)3.013 E F0(is) -3.013 E(not greater than or equal to 1.)144 626.4 Q F1(declar)108 643.2 +3.013 E(not greater than or equal to 1.)144 674.4 Q F1(declar)108 691.2 Q(e)-.18 E F0([)2.5 E F1(\255aAfFgilnrtux)A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E F1 -(typeset)108 655.2 Q F0([)2.5 E F1(\255aAfFgilnrtux)A F0 2.5(][)C F1 +(typeset)108 703.2 Q F0([)2.5 E F1(\255aAfFgilnrtux)A F0 2.5(][)C F1 -2.5 E F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C -(..])-2.5 E 1.264(Declare v)144 667.2 R 1.264(ariables and/or gi)-.25 F +(..])-2.5 E 1.264(Declare v)144 715.2 R 1.264(ariables and/or gi)-.25 F 1.564 -.15(ve t)-.25 H 1.264(hem attrib).15 F 3.765(utes. If)-.2 F(no) 3.765 E F2(name)3.765 E F0 3.765(sa)C 1.265(re gi)-3.765 F -.15(ve)-.25 G 3.765(nt).15 G 1.265(hen display the v)-3.765 F 1.265(alues of)-.25 F --.25(va)144 679.2 S 3.483(riables. The).25 F F13.483 E F0 .983 +-.25(va)144 727.2 S 3.483(riables. The).25 F F13.483 E F0 .983 (option will display the attrib)3.483 F .983(utes and v)-.2 F .982 (alues of each)-.25 F F2(name)3.482 E F0 5.982(.W).18 G(hen)-5.982 E F1 -3.482 E F0 .982(is used)3.482 F(with)144 691.2 Q F2(name)2.774 E -F0(ar)2.774 E .274(guments, additional options, other than)-.18 F F1 -2.775 E F0(and)2.775 E F12.775 E F0 2.775(,a)C .275 -(re ignored.)-2.775 F(When)5.275 E F12.775 E F0 .275(is supplied) -2.775 F(without)144 703.2 Q F2(name)4.814 E F0(ar)4.814 E 2.314 -(guments, it will display the attrib)-.18 F 2.314(utes and v)-.2 F 2.313 -(alues of all v)-.25 F 2.313(ariables ha)-.25 F 2.313(ving the)-.2 F -(attrib)144 715.2 Q 1.181(utes speci\214ed by the additional options.) --.2 F 1.182(If no other options are supplied with)6.181 F F13.682 -E F0(,)A F1(declar)3.682 E(e)-.18 E F0 .62(will display the attrib)144 -727.2 R .62(utes and v)-.2 F .62(alues of all shell v)-.25 F 3.12 -(ariables. The)-.25 F F13.12 E F0 .62 -(option will restrict the display)3.12 F(GNU Bash-4.2)72 768 Q -(2004 Apr 20)148.735 E(5)203.725 E 0 Cg EP +3.482 E F0 .982(is used)3.482 F(GNU Bash-4.2)72 768 Q(2004 Apr 20) +148.735 E(5)203.725 E 0 Cg EP %%Page: 6 6 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E 1.29 -(to shell functions.)144 84 R(The)6.29 E/F1 10/Times-Bold@0 SF3.79 -E F0 1.291(option inhibits the display of function de\214nitions; only \ -the function)3.791 F .948(name and attrib)144 96 R .948 -(utes are printed.)-.2 F .948(If the)5.948 F F1(extdeb)3.448 E(ug)-.2 E -F0 .948(shell option is enabled using)3.448 F F1(shopt)3.448 E F0 3.448 -(,t)C .948(he source)-3.448 F 1.342(\214le name and line number where t\ -he function is de\214ned are displayed as well.)144 108 R(The)6.342 E F1 -3.842 E F0(option)3.842 E(implies)144 120 Q F13.892 E F0 -6.392(.T)C(he)-6.392 E F13.892 E F0 1.391(option forces v)3.892 F -1.391(ariables to be created or modi\214ed at the global scope, e)-.25 F --.15(ve)-.25 G(n).15 E(when)144 132 Q F1(declar)4.382 E(e)-.18 E F0 -1.882(is e)4.382 F -.15(xe)-.15 G 1.882(cuted in a shell function.).15 F +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E(with)144 84 Q/F1 10/Times-Italic@0 SF(name) +2.774 E F0(ar)2.774 E .274(guments, additional options, other than)-.18 +F/F2 10/Times-Bold@0 SF2.775 E F0(and)2.775 E F22.775 E F0 +2.775(,a)C .275(re ignored.)-2.775 F(When)5.275 E F22.775 E F0 +.275(is supplied)2.775 F(without)144 96 Q F1(name)4.814 E F0(ar)4.814 E +2.314(guments, it will display the attrib)-.18 F 2.314(utes and v)-.2 F +2.313(alues of all v)-.25 F 2.313(ariables ha)-.25 F 2.313(ving the)-.2 +F(attrib)144 108 Q 1.181(utes speci\214ed by the additional options.)-.2 +F 1.182(If no other options are supplied with)6.181 F F23.682 E F0 +(,)A F2(declar)3.682 E(e)-.18 E F0 .62(will display the attrib)144 120 R +.62(utes and v)-.2 F .62(alues of all shell v)-.25 F 3.12(ariables. The) +-.25 F F23.12 E F0 .62(option will restrict the display)3.12 F +1.29(to shell functions.)144 132 R(The)6.29 E F23.79 E F0 1.291(o\ +ption inhibits the display of function de\214nitions; only the function) +3.791 F .948(name and attrib)144 144 R .948(utes are printed.)-.2 F .948 +(If the)5.948 F F2(extdeb)3.448 E(ug)-.2 E F0 .948 +(shell option is enabled using)3.448 F F2(shopt)3.448 E F0 3.448(,t)C +.948(he source)-3.448 F 1.69(\214le name and line number where each)144 +156 R F1(name)4.19 E F0 1.69(is de\214ned are displayed as well.)4.19 F +(The)6.69 E F24.19 E F0(option)4.19 E(implies)144 168 Q F2 +3.892 E F0 6.392(.T)C(he)-6.392 E F23.892 E F0 1.391 +(option forces v)3.892 F 1.391 +(ariables to be created or modi\214ed at the global scope, e)-.25 F -.15 +(ve)-.25 G(n).15 E(when)144 180 Q F2(declar)4.382 E(e)-.18 E F0 1.882 +(is e)4.382 F -.15(xe)-.15 G 1.882(cuted in a shell function.).15 F 1.883(It is ignored in all other cases.)6.882 F 1.883(The follo)6.883 F -(wing)-.25 E .794(options can be used to restrict output to v)144 144 R +(wing)-.25 E .794(options can be used to restrict output to v)144 192 R .794(ariables with the speci\214ed attrib)-.25 F .793(ute or to gi)-.2 F -1.093 -.15(ve v)-.25 H(ariables)-.1 E(attrib)144 156 Q(utes:)-.2 E F1 -144 168 Q F0(Each)25.3 E/F2 10/Times-Italic@0 SF(name)2.5 E F0 -(is an inde)2.5 E -.15(xe)-.15 G 2.5(da).15 G(rray v)-2.5 E -(ariable \(see)-.25 E F1(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G(\).) -.15 E F1144 180 Q F0(Each)23.08 E F2(name)2.5 E F0 -(is an associati)2.5 E .3 -.15(ve a)-.25 H(rray v).15 E(ariable \(see) --.25 E F1(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G(\).).15 E F1144 -192 Q F0(Use function names only)26.97 E(.)-.65 E F1144 204 Q F0 -.557(The v)27.52 F .558(ariable is treated as an inte)-.25 F .558 -(ger; arithmetic e)-.15 F -.25(va)-.25 G .558(luation \(see).25 F/F3 9 -/Times-Bold@0 SF .558(ARITHMETIC EV)3.058 F(ALU)-1.215 E(A-)-.54 E(TION) -180 216 Q F0(abo)2.25 E -.15(ve)-.15 G 2.5(\)i).15 G 2.5(sp)-2.5 G -(erformed when the v)-2.5 E(ariable is assigned a v)-.25 E(alue.)-.25 E -F1144 228 Q F0 .91(When the v)27.52 F .909 -(ariable is assigned a v)-.25 F .909(alue, all upper)-.25 F .909 -(-case characters are con)-.2 F -.15(ve)-.4 G .909(rted to lo).15 F(wer) --.25 E(-)-.2 E 2.5(case. The)180 240 R(upper)2.5 E(-case attrib)-.2 E -(ute is disabled.)-.2 E F1144 252 Q F0(Gi)24.74 E 1.619 -.15(ve e) --.25 H(ach).15 E F2(name)3.819 E F0(the)3.819 E F2(namer)3.819 E(ef)-.37 -E F0(attrib)3.819 E 1.319(ute, making it a name reference to another v) --.2 F(ariable.)-.25 E 1.033(That other v)180 264 R 1.033 -(ariable is de\214ned by the v)-.25 F 1.033(alue of)-.25 F F2(name)3.533 -E F0 6.033(.A)C 1.033(ll references and assignments to)-6.033 F F2(name) -180 276 Q F0 4.032(,e)C 1.532(xcept for changing the)-4.182 F F1 -4.032 E F0(attrib)4.032 E 1.532(ute itself, are performed on the v)-.2 F -1.533(ariable refer)-.25 F(-)-.2 E(enced by)180 288 Q F2(name)2.5 E F0 -1.1 -.55('s v)D 2.5(alue. The).3 F F12.5 E F0(attrib)2.5 E -(ute cannot be applied to array v)-.2 E(ariables.)-.25 E F1144 300 -Q F0(Mak)25.86 E(e)-.1 E F2(name)5.047 E F0 5.047(sr)C(eadonly)-5.047 E -7.547(.T)-.65 G 2.546(hese names cannot then be assigned v)-7.547 F -2.546(alues by subsequent)-.25 F(assignment statements or unset.)180 312 -Q F1144 324 Q F0(Gi)26.97 E .729 -.15(ve e)-.25 H(ach).15 E F2 -(name)2.929 E F0(the)2.929 E F2(tr)2.929 E(ace)-.15 E F0(attrib)2.929 E -2.929(ute. T)-.2 F .429(raced functions inherit the)-.35 F F1(DEB)2.929 -E(UG)-.1 E F0(and)2.93 E F1(RETURN)2.93 E F0 -(traps from the calling shell.)180 336 Q(The trace attrib)5 E -(ute has no special meaning for v)-.2 E(ariables.)-.25 E F1144 348 -Q F0 .91(When the v)24.74 F .909(ariable is assigned a v)-.25 F .909 +1.093 -.15(ve v)-.25 H(ariables)-.1 E(attrib)144 204 Q(utes:)-.2 E F2 +144 216 Q F0(Each)180 216 Q F1(name)2.5 E F0(is an inde)2.5 E -.15 +(xe)-.15 G 2.5(da).15 G(rray v)-2.5 E(ariable \(see)-.25 E F2(Arrays)2.5 +E F0(abo)2.5 E -.15(ve)-.15 G(\).).15 E F2144 228 Q F0(Each)180 +228 Q F1(name)2.5 E F0(is an associati)2.5 E .3 -.15(ve a)-.25 H(rray v) +.15 E(ariable \(see)-.25 E F2(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G +(\).).15 E F2144 240 Q F0(Use function names only)180 240 Q(.)-.65 +E F2144 252 Q F0 .557(The v)180 252 R .558 +(ariable is treated as an inte)-.25 F .558(ger; arithmetic e)-.15 F -.25 +(va)-.25 G .558(luation \(see).25 F/F3 9/Times-Bold@0 SF .558 +(ARITHMETIC EV)3.058 F(ALU)-1.215 E(A-)-.54 E(TION)180 264 Q F0(abo)2.25 +E -.15(ve)-.15 G 2.5(\)i).15 G 2.5(sp)-2.5 G(erformed when the v)-2.5 E +(ariable is assigned a v)-.25 E(alue.)-.25 E F2144 276 Q F0 .91 +(When the v)180 276 R .909(ariable is assigned a v)-.25 F .909 +(alue, all upper)-.25 F .909(-case characters are con)-.2 F -.15(ve)-.4 +G .909(rted to lo).15 F(wer)-.25 E(-)-.2 E 2.5(case. The)180 288 R +(upper)2.5 E(-case attrib)-.2 E(ute is disabled.)-.2 E F2144 300 Q +F0(Gi)180 300 Q 1.619 -.15(ve e)-.25 H(ach).15 E F1(name)3.819 E F0(the) +3.819 E F1(namer)3.819 E(ef)-.37 E F0(attrib)3.819 E 1.319 +(ute, making it a name reference to another v)-.2 F(ariable.)-.25 E +1.519(That other v)180 312 R 1.519(ariable is de\214ned by the v)-.25 F +1.518(alue of)-.25 F F1(name)4.018 E F0 6.518(.A)C 1.518 +(ll references, assignments, and)-6.518 F(attrib)180 324 Q .226 +(ute modi\214cations to)-.2 F F1(name)2.726 E F0 2.726(,e)C .226 +(xcept those using or changing the)-2.876 F F22.726 E F0(attrib) +2.726 E .227(ute itself, are)-.2 F .809(performed on the v)180 336 R +.809(ariable referenced by)-.25 F F1(name)3.308 E F0 1.908 -.55('s v)D +3.308(alue. The).3 F .808(nameref attrib)3.308 F .808(ute cannot be)-.2 +F(applied to array v)180 348 Q(ariables.)-.25 E F2144 360 Q F0 +(Mak)180 360 Q(e)-.1 E F1(name)5.046 E F0 5.046(sr)C(eadonly)-5.046 E +7.546(.T)-.65 G 2.546(hese names cannot then be assigned v)-7.546 F +2.547(alues by subsequent)-.25 F(assignment statements or unset.)180 372 +Q F2144 384 Q F0(Gi)180 384 Q .73 -.15(ve e)-.25 H(ach).15 E F1 +(name)2.93 E F0(the)2.929 E F1(tr)2.929 E(ace)-.15 E F0(attrib)2.929 E +2.929(ute. T)-.2 F .429(raced functions inherit the)-.35 F F2(DEB)2.929 +E(UG)-.1 E F0(and)2.929 E F2(RETURN)2.929 E F0 +(traps from the calling shell.)180 396 Q(The trace attrib)5 E +(ute has no special meaning for v)-.2 E(ariables.)-.25 E F2144 408 +Q F0 .909(When the v)180 408 R .909(ariable is assigned a v)-.25 F .909 (alue, all lo)-.25 F(wer)-.25 E .909(-case characters are con)-.2 F -.15 -(ve)-.4 G .909(rted to upper).15 F(-)-.2 E 2.5(case. The)180 360 R(lo) -2.5 E(wer)-.25 E(-case attrib)-.2 E(ute is disabled.)-.2 E F1144 -372 Q F0(Mark)25.3 E F2(name)2.5 E F0 2.5(sf)C(or e)-2.5 E -(xport to subsequent commands via the en)-.15 E(vironment.)-.4 E .12 -(Using `+' instead of `\255' turns of)144 388.8 R 2.62(ft)-.25 G .12 -(he attrib)-2.62 F .121(ute instead, with the e)-.2 F .121 -(xceptions that)-.15 F F1(+a)2.621 E F0 .121(may not be used)2.621 F -.645(to destro)144 400.8 R 3.145(ya)-.1 G 3.145(na)-3.145 G .645(rray v) --3.145 F .645(ariable and)-.25 F F1(+r)3.145 E F0 .645(will not remo) -3.145 F .945 -.15(ve t)-.15 H .645(he readonly attrib).15 F 3.144 -(ute. When)-.2 F .644(used in a func-)3.144 F(tion,)144 412.8 Q F1 -(declar)2.835 E(e)-.18 E F0(and)2.835 E F1(typeset)2.835 E F0(mak)2.835 -E 2.835(ee)-.1 G(ach)-2.835 E F2(name)2.835 E F0 .335 -(local, as with the)2.835 F F1(local)2.835 E F0 .335 -(command, unless the)2.835 F F12.835 E F0(option)2.835 E 1.283 -(is supplied.)144 424.8 R 1.283(If a v)6.283 F 1.283 -(ariable name is follo)-.25 F 1.283(wed by =)-.25 F F2(value)A F0 3.783 -(,t)C 1.283(he v)-3.783 F 1.283(alue of the v)-.25 F 1.282 -(ariable is set to)-.25 F F2(value)3.782 E F0(.)A .926(When using)144 -436.8 R F13.426 E F0(or)3.426 E F13.426 E F0 .927 -(and the compound assignment syntax to create array v)3.426 F .927 -(ariables, additional)-.25 F(attrib)144 448.8 Q .592(utes do not tak)-.2 +(ve)-.4 G .91(rted to upper).15 F(-)-.2 E 2.5(case. The)180 420 R(lo)2.5 +E(wer)-.25 E(-case attrib)-.2 E(ute is disabled.)-.2 E F2144 432 Q +F0(Mark)180 432 Q F1(name)2.5 E F0 2.5(sf)C(or e)-2.5 E +(xport to subsequent commands via the en)-.15 E(vironment.)-.4 E .121 +(Using `+' instead of `\255' turns of)144 448.8 R 2.621(ft)-.25 G .121 +(he attrib)-2.621 F .121(ute instead, with the e)-.2 F .12 +(xceptions that)-.15 F F2(+a)2.62 E F0 .12(may not be used)2.62 F .644 +(to destro)144 460.8 R 3.144(ya)-.1 G 3.144(na)-3.144 G .644(rray v) +-3.144 F .644(ariable and)-.25 F F2(+r)3.145 E F0 .645(will not remo) +3.145 F .945 -.15(ve t)-.15 H .645(he readonly attrib).15 F 3.145 +(ute. When)-.2 F .645(used in a func-)3.145 F(tion,)144 472.8 Q F2 +(declar)2.835 E(e)-.18 E F0(and)2.835 E F2(typeset)2.835 E F0(mak)2.835 +E 2.835(ee)-.1 G(ach)-2.835 E F1(name)2.835 E F0 .335 +(local, as with the)2.835 F F2(local)2.835 E F0 .335 +(command, unless the)2.835 F F22.835 E F0(option)2.835 E 1.282 +(is supplied.)144 484.8 R 1.282(If a v)6.282 F 1.283 +(ariable name is follo)-.25 F 1.283(wed by =)-.25 F F1(value)A F0 3.783 +(,t)C 1.283(he v)-3.783 F 1.283(alue of the v)-.25 F 1.283 +(ariable is set to)-.25 F F1(value)3.783 E F0(.)A .927(When using)144 +496.8 R F23.427 E F0(or)3.427 E F23.427 E F0 .926 +(and the compound assignment syntax to create array v)3.427 F .926 +(ariables, additional)-.25 F(attrib)144 508.8 Q .592(utes do not tak)-.2 F 3.092(ee)-.1 G -.25(ff)-3.092 G .592 (ect until subsequent assignments.).25 F .592(The return v)5.592 F .592 (alue is 0 unless an in)-.25 F -.25(va)-.4 G(lid).25 E .429 (option is encountered, an attempt is made to de\214ne a function using) -144 460.8 R/F4 10/Courier@0 SF .429(\255f foo=bar)2.929 F F0 2.929(,a)C -2.929(na)-2.929 G .429(ttempt is)-2.929 F .063(made to assign a v)144 -472.8 R .063(alue to a readonly v)-.25 F .062 -(ariable, an attempt is made to assign a v)-.25 F .062 +144 520.8 R/F4 10/Courier@0 SF .428(\255f foo=bar)2.929 F F0 2.928(,a)C +2.928(na)-2.928 G .428(ttempt is)-2.928 F .062(made to assign a v)144 +532.8 R .062(alue to a readonly v)-.25 F .063 +(ariable, an attempt is made to assign a v)-.25 F .063 (alue to an array v)-.25 F(ari-)-.25 E .102 -(able without using the compound assignment syntax \(see)144 484.8 R F1 +(able without using the compound assignment syntax \(see)144 544.8 R F2 (Arrays)2.602 E F0(abo)2.602 E -.15(ve)-.15 G .102(\), one of the).15 F -F2(names)2.602 E F0 .102(is not a)2.602 F -.25(va)144 496.8 S .172 +F1(names)2.602 E F0 .101(is not a)2.602 F -.25(va)144 556.8 S .171 (lid shell v).25 F .171(ariable name, an attempt is made to turn of)-.25 -F 2.671(fr)-.25 G .171(eadonly status for a readonly v)-2.671 F .171 -(ariable, an)-.25 F .96(attempt is made to turn of)144 508.8 R 3.46(fa) +F 2.671(fr)-.25 G .171(eadonly status for a readonly v)-2.671 F .172 +(ariable, an)-.25 F .96(attempt is made to turn of)144 568.8 R 3.46(fa) -.25 G .96(rray status for an array v)-3.46 F .96 -(ariable, or an attempt is made to display a)-.25 F(non-e)144 520.8 Q -(xistent function with)-.15 E F12.5 E F0(.)A F1 -(dirs [\255clpv] [+)108 537.6 Q F2(n)A F1 2.5(][)C-2.5 E F2(n)A F1 -(])A F0 -.4(Wi)144 549.6 S .329 +(ariable, or an attempt is made to display a)-.25 F(non-e)144 580.8 Q +(xistent function with)-.15 E F22.5 E F0(.)A F2 +(dirs [\255clpv] [+)108 597.6 Q F1(n)A F2 2.5(][)C-2.5 E F1(n)A F2 +(])A F0 -.4(Wi)144 609.6 S .328 (thout options, displays the list of currently remembered directories.) -.4 F .328(The def)5.328 F .328(ault display is on a)-.1 F 1.238 -(single line with directory names separated by spaces.)144 561.6 R 1.238 -(Directories are added to the list with the)6.238 F F1(pushd)144 573.6 Q -F0(command; the)2.5 E F1(popd)2.5 E F0(command remo)2.5 E -.15(ve)-.15 G -2.5(se).15 G(ntries from the list.)-2.5 E F1144 585.6 Q F0 -(Clears the directory stack by deleting all of the entries.)25.86 E F1 -144 597.6 Q F0 .882 -(Produces a listing using full pathnames; the def)27.52 F .881 +.4 F .329(The def)5.329 F .329(ault display is on a)-.1 F 1.238 +(single line with directory names separated by spaces.)144 621.6 R 1.238 +(Directories are added to the list with the)6.238 F F2(pushd)144 633.6 Q +F0 2.003(command; the)4.503 F F2(popd)4.503 E F0 2.003(command remo) +4.503 F -.15(ve)-.15 G 4.503(se).15 G 2.003(ntries from the list.)-4.503 +F 2.003(The current directory is)7.003 F(al)144 645.6 Q -.1(wa)-.1 G +(ys the \214rst directory in the stack.).1 E F2144 657.6 Q F0 +(Clears the directory stack by deleting all of the entries.)180 657.6 Q +F2144 669.6 Q F0 .882 +(Produces a listing using full pathnames; the def)180 669.6 R .881 (ault listing format uses a tilde to denote)-.1 F(the home directory)180 -609.6 Q(.)-.65 E F1144 621.6 Q F0 -(Print the directory stack with one entry per line.)24.74 E F1144 -633.6 Q F0 .272(Print the directory stack with one entry per line, pre\ -\214xing each entry with its inde)25.3 F 2.773(xi)-.15 G 2.773(nt)-2.773 -G(he)-2.773 E(stack.)180 645.6 Q F1(+)144 657.6 Q F2(n)A F0 1.565 -(Displays the)25.3 F F2(n)4.065 E F0 1.565 -(th entry counting from the left of the list sho)B 1.564(wn by)-.25 F F1 -(dirs)4.064 E F0 1.564(when in)4.064 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E -(without options, starting with zero.)180 669.6 Q F1144 681.6 Q F2 -(n)A F0 1.194(Displays the)25.3 F F2(n)3.694 E F0 1.194 -(th entry counting from the right of the list sho)B 1.194(wn by)-.25 F -F1(dirs)3.694 E F0 1.194(when in)3.694 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E -(without options, starting with zero.)180 693.6 Q .258(The return v)144 -710.4 R .258(alue is 0 unless an in)-.25 F -.25(va)-.4 G .258 -(lid option is supplied or).25 F F2(n)2.758 E F0(inde)2.758 E -.15(xe) --.15 G 2.758(sb).15 G -.15(ey)-2.758 G .258(ond the end of the direc-) -.15 F(tory stack.)144 722.4 Q(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 -E(6)203.725 E 0 Cg EP +681.6 Q(.)-.65 E F2144 693.6 Q F0 +(Print the directory stack with one entry per line.)180 693.6 Q F2 +144 705.6 Q F0 .272(Print the directory stack with one entry per line, \ +pre\214xing each entry with its inde)180 705.6 R 2.773(xi)-.15 G 2.773 +(nt)-2.773 G(he)-2.773 E(stack.)180 717.6 Q(GNU Bash-4.2)72 768 Q +(2004 Apr 20)148.735 E(6)203.725 E 0 Cg EP %%Page: 7 7 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(diso)108 84 Q(wn)-.1 E F0([)2.5 E F1(\255ar)A F0 2.5 -(][)C F1-2.5 E F0 2.5(][)C/F2 10/Times-Italic@0 SF(jobspec)-2.5 E -F0(...])2.5 E -.4(Wi)144 96 S .121(thout options, remo).4 F .422 -.15 -(ve e)-.15 H(ach).15 E F2(jobspec)4.362 E F0 .122 -(from the table of acti)2.932 F .422 -.15(ve j)-.25 H 2.622(obs. If).15 -F F2(jobspec)4.362 E F0 .122(is not present, and)2.932 F .096 -(neither the)144 108 R F12.596 E F0 .096(nor the)2.596 F F1 -2.596 E F0 .096(option is supplied, the)2.596 F F2(curr)2.596 E .096 -(ent job)-.37 F F0 .096(is used.)2.596 F .096(If the)5.096 F F1 -2.596 E F0 .096(option is gi)2.596 F -.15(ve)-.25 G .096(n, each).15 F -F2(jobspec)144 120 Q F0 .672(is not remo)3.482 F -.15(ve)-.15 G 3.172 -(df).15 G .672(rom the table, b)-3.172 F .672(ut is mark)-.2 F .672 -(ed so that)-.1 F/F3 9/Times-Bold@0 SF(SIGHUP)3.172 E F0 .673 -(is not sent to the job if the)2.922 F .962(shell recei)144 132 R -.15 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(+)144 84 Q/F2 10 +/Times-Italic@0 SF(n)A F0 1.565(Displays the)180 84 R F2(n)4.065 E F0 +1.565(th entry counting from the left of the list sho)B 1.564(wn by)-.25 +F F1(dirs)4.064 E F0 1.564(when in)4.064 F -.2(vo)-.4 G -.1(ke).2 G(d).1 +E(without options, starting with zero.)180 96 Q F1144 108 Q F2(n)A +F0 1.194(Displays the)180 108 R F2(n)3.694 E F0 1.194 +(th entry counting from the right of the list sho)B 1.194(wn by)-.25 F +F1(dirs)3.694 E F0 1.194(when in)3.694 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E +(without options, starting with zero.)180 120 Q .258(The return v)144 +136.8 R .258(alue is 0 unless an in)-.25 F -.25(va)-.4 G .258 +(lid option is supplied or).25 F F2(n)2.758 E F0(inde)2.758 E -.15(xe) +-.15 G 2.758(sb).15 G -.15(ey)-2.758 G .258(ond the end of the direc-) +.15 F(tory stack.)144 148.8 Q F1(diso)108 165.6 Q(wn)-.1 E F0([)2.5 E F1 +(\255ar)A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(jobspec)-2.5 E F0 +(... |)2.5 E F2(pid)2.5 E F0(... ])2.5 E -.4(Wi)144 177.6 S .121 +(thout options, remo).4 F .422 -.15(ve e)-.15 H(ach).15 E F2(jobspec) +4.362 E F0 .122(from the table of acti)2.932 F .422 -.15(ve j)-.25 H +2.622(obs. If).15 F F2(jobspec)4.362 E F0 .122(is not present, and)2.932 +F .096(neither the)144 189.6 R F12.596 E F0 .096(nor the)2.596 F +F12.596 E F0 .096(option is supplied, the)2.596 F F2(curr)2.596 E +.096(ent job)-.37 F F0 .096(is used.)2.596 F .096(If the)5.096 F F1 +2.596 E F0 .096(option is gi)2.596 F -.15(ve)-.25 G .096(n, each) +.15 F F2(jobspec)145.74 201.6 Q F0 .585(is not remo)3.395 F -.15(ve)-.15 +G 3.085(df).15 G .585(rom the table, b)-3.085 F .585(ut is mark)-.2 F +.585(ed so that)-.1 F/F3 9/Times-Bold@0 SF(SIGHUP)3.085 E F0 .586 +(is not sent to the job if the)2.835 F .962(shell recei)144 213.6 R -.15 (ve)-.25 G 3.462(sa).15 G F3(SIGHUP)A/F4 9/Times-Roman@0 SF(.)A F0 .962 (If no)5.462 F F2(jobspec)5.202 E F0 .962(is supplied, the)3.772 F F1 3.462 E F0 .962(option means to remo)3.462 F 1.262 -.15(ve o)-.15 -H 3.462(rm).15 G .962(ark all)-3.462 F 1.358(jobs; the)144 144 R F1 +H 3.462(rm).15 G .962(ark all)-3.462 F 1.358(jobs; the)144 225.6 R F1 3.858 E F0 1.358(option without a)3.858 F F2(jobspec)5.598 E F0 (ar)4.169 E 1.359(gument restricts operation to running jobs.)-.18 F -1.359(The return)6.359 F -.25(va)144 156 S(lue is 0 unless a).25 E F2 +1.359(The return)6.359 F -.25(va)144 237.6 S(lue is 0 unless a).25 E F2 (jobspec)4.24 E F0(does not specify a v)2.81 E(alid job)-.25 E(.)-.4 E -F1(echo)108 172.8 Q F0([)2.5 E F1(\255neE)A F0 2.5(][)C F2(ar)-2.5 E(g) --.37 E F0(...])2.5 E .425(Output the)144 184.8 R F2(ar)2.925 E(g)-.37 E +F1(echo)108 254.4 Q F0([)2.5 E F1(\255neE)A F0 2.5(][)C F2(ar)-2.5 E(g) +-.37 E F0(...])2.5 E .425(Output the)144 266.4 R F2(ar)2.925 E(g)-.37 E F0 .424(s, separated by spaces, follo)B .424(wed by a ne)-.25 F 2.924 (wline. The)-.25 F .424(return status is 0 unless a write)2.924 F .307 -(error occurs.)144 196.8 R(If)5.307 E F12.807 E F0 .307 +(error occurs.)144 278.4 R(If)5.307 E F12.807 E F0 .307 (is speci\214ed, the trailing ne)2.807 F .308(wline is suppressed.)-.25 F .308(If the)5.308 F F12.808 E F0 .308(option is gi)2.808 F -.15 (ve)-.25 G .308(n, inter).15 F(-)-.2 E 1.349(pretation of the follo)144 -208.8 R 1.348(wing backslash-escaped characters is enabled.)-.25 F(The) +290.4 R 1.348(wing backslash-escaped characters is enabled.)-.25 F(The) 6.348 E F13.848 E F0 1.348(option disables the)3.848 F 1.054 -(interpretation of these escape characters, e)144 220.8 R -.15(ve)-.25 G +(interpretation of these escape characters, e)144 302.4 R -.15(ve)-.25 G 3.555(no).15 G 3.555(ns)-3.555 G 1.055(ystems where the)-3.555 F 3.555 (ya)-.15 G 1.055(re interpreted by def)-3.555 F(ault.)-.1 E(The)144 -232.8 Q F1(xpg_echo)3.459 E F0 .959 +314.4 Q F1(xpg_echo)3.459 E F0 .959 (shell option may be used to dynamically determine whether or not)3.459 F F1(echo)3.458 E F0 -.15(ex)3.458 G(pands).15 E .715 -(these escape characters by def)144 244.8 R(ault.)-.1 E F1(echo)5.715 E +(these escape characters by def)144 326.4 R(ault.)-.1 E F1(echo)5.715 E F0 .716(does not interpret)3.215 F F13.216 E F0 .716 (to mean the end of options.)3.216 F F1(echo)5.716 E F0 -(interprets the follo)144 256.8 Q(wing escape sequences:)-.25 E F1(\\a) -144 268.8 Q F0(alert \(bell\))28.22 E F1(\\b)144 280.8 Q F0(backspace) -27.66 E F1(\\c)144 292.8 Q F0(suppress further output)28.78 E F1(\\e)144 -304.8 Q(\\E)144 316.8 Q F0(an escape character)26.55 E F1(\\f)144 328.8 -Q F0(form feed)29.89 E F1(\\n)144 340.8 Q F0(ne)27.66 E 2.5(wl)-.25 G -(ine)-2.5 E F1(\\r)144 352.8 Q F0(carriage return)28.78 E F1(\\t)144 -364.8 Q F0(horizontal tab)29.89 E F1(\\v)144 376.8 Q F0 -.15(ve)28.22 G -(rtical tab).15 E F1(\\\\)144 388.8 Q F0(backslash)30.44 E F1(\\0)144 -400.8 Q F2(nnn)A F0(the eight-bit character whose v)13.22 E -(alue is the octal v)-.25 E(alue)-.25 E F2(nnn)2.5 E F0 -(\(zero to three octal digits\))2.5 E F1(\\x)144 412.8 Q F2(HH)A F0 -(the eight-bit character whose v)13.78 E(alue is the he)-.25 E -(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0(\(one or tw)2.5 E 2.5(oh) --.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1(\\u)144 424.8 Q F2(HHHH)A F0 -1.507(the Unicode \(ISO/IEC 10646\) character whose v)180 436.8 R 1.506 +(interprets the follo)144 338.4 Q(wing escape sequences:)-.25 E F1(\\a) +144 350.4 Q F0(alert \(bell\))180 350.4 Q F1(\\b)144 362.4 Q F0 +(backspace)180 362.4 Q F1(\\c)144 374.4 Q F0(suppress further output)180 +374.4 Q F1(\\e)144 386.4 Q(\\E)144 398.4 Q F0(an escape character)180 +398.4 Q F1(\\f)144 410.4 Q F0(form feed)180 410.4 Q F1(\\n)144 422.4 Q +F0(ne)180 422.4 Q 2.5(wl)-.25 G(ine)-2.5 E F1(\\r)144 434.4 Q F0 +(carriage return)180 434.4 Q F1(\\t)144 446.4 Q F0(horizontal tab)180 +446.4 Q F1(\\v)144 458.4 Q F0 -.15(ve)180 458.4 S(rtical tab).15 E F1 +(\\\\)144 470.4 Q F0(backslash)180 470.4 Q F1(\\0)144 482.4 Q F2(nnn)A +F0(the eight-bit character whose v)180 482.4 Q(alue is the octal v)-.25 +E(alue)-.25 E F2(nnn)2.5 E F0(\(zero to three octal digits\))2.5 E F1 +(\\x)144 494.4 Q F2(HH)A F0(the eight-bit character whose v)180 494.4 Q +(alue is the he)-.25 E(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0 +(\(one or tw)2.5 E 2.5(oh)-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1 +(\\u)144 506.4 Q F2(HHHH)A F0 1.507 +(the Unicode \(ISO/IEC 10646\) character whose v)180 518.4 R 1.506 (alue is the he)-.25 F 1.506(xadecimal v)-.15 F(alue)-.25 E F2(HHHH) -4.006 E F0(\(one to four he)180 448.8 Q 2.5(xd)-.15 G(igits\))-2.5 E F1 -(\\U)144 460.8 Q F2(HHHHHHHH)A F0 .547 -(the Unicode \(ISO/IEC 10646\) character whose v)180 472.8 R .547 +4.006 E F0(\(one to four he)180 530.4 Q 2.5(xd)-.15 G(igits\))-2.5 E F1 +(\\U)144 542.4 Q F2(HHHHHHHH)A F0 .547 +(the Unicode \(ISO/IEC 10646\) character whose v)180 554.4 R .547 (alue is the he)-.25 F .548(xadecimal v)-.15 F(alue)-.25 E F2(HHHHH-) -3.048 E(HHH)180 484.8 Q F0(\(one to eight he)2.5 E 2.5(xd)-.15 G -(igits\))-2.5 E F1(enable)108 501.6 Q F0([)2.5 E F1A F0 2.5(][)C +3.048 E(HHH)180 566.4 Q F0(\(one to eight he)2.5 E 2.5(xd)-.15 G +(igits\))-2.5 E F1(enable)108 583.2 Q F0([)2.5 E F1A F0 2.5(][)C F1(\255dnps)-2.5 E F0 2.5(][)C F1-2.5 E F2(\214lename)2.5 E F0 2.5 -(][)C F2(name)-2.5 E F0(...])2.5 E .278(Enable and disable b)144 513.6 R +(][)C F2(name)-2.5 E F0(...])2.5 E .278(Enable and disable b)144 595.2 R .278(uiltin shell commands.)-.2 F .278(Disabling a b)5.278 F .278 (uiltin allo)-.2 F .278(ws a disk command which has)-.25 F .833 -(the same name as a shell b)144 525.6 R .834(uiltin to be e)-.2 F -.15 +(the same name as a shell b)144 607.2 R .834(uiltin to be e)-.2 F -.15 (xe)-.15 G .834(cuted without specifying a full pathname, e).15 F -.15 (ve)-.25 G 3.334(nt).15 G(hough)-3.334 E .99 -(the shell normally searches for b)144 537.6 R .989 +(the shell normally searches for b)144 619.2 R .989 (uiltins before disk commands.)-.2 F(If)5.989 E F13.489 E F0 .989 (is used, each)3.489 F F2(name)3.489 E F0 .989(is dis-)3.489 F 1.581 -(abled; otherwise,)144 549.6 R F2(names)4.082 E F0 1.582(are enabled.) +(abled; otherwise,)144 631.2 R F2(names)4.082 E F0 1.582(are enabled.) 4.082 F -.15(Fo)6.582 G 4.082(re).15 G 1.582(xample, to use the)-4.232 F F1(test)4.082 E F0 1.582(binary found via the)4.082 F F3 -.666(PA)4.082 -G(TH)-.189 E F0 .081(instead of the shell b)144 561.6 R .081(uiltin v) +G(TH)-.189 E F0 .081(instead of the shell b)144 643.2 R .081(uiltin v) -.2 F .081(ersion, run)-.15 F/F5 10/Courier@0 SF .081(enable -n test) 2.581 F F0 5.081(.T)C(he)-5.081 E F12.58 E F0 .08 -(option means to load the ne)2.58 F(w)-.25 E -.2(bu)144 573.6 S 1.524 +(option means to load the ne)2.58 F(w)-.25 E -.2(bu)144 655.2 S 1.524 (iltin command).2 F F2(name)4.384 E F0 1.524(from shared object)4.204 F F2(\214lename)4.024 E F0 4.024(,o).18 G 4.024(ns)-4.024 G 1.524 -(ystems that support dynamic loading.)-4.024 F(The)144 585.6 Q F1 +(ystems that support dynamic loading.)-4.024 F(The)144 667.2 Q F1 2.867 E F0 .367(option will delete a b)2.867 F .367(uiltin pre)-.2 F .367(viously loaded with)-.25 F F12.866 E F0 5.366(.I)C 2.866(fn) -5.366 G(o)-2.866 E F2(name)2.866 E F0(ar)2.866 E .366(guments are gi) --.18 F -.15(ve)-.25 G .366(n, or).15 F .398(if the)144 597.6 R F1 +-.18 F -.15(ve)-.25 G .366(n, or).15 F .398(if the)144 679.2 R F1 2.898 E F0 .399(option is supplied, a list of shell b)2.899 F .399 (uiltins is printed.)-.2 F -.4(Wi)5.399 G .399(th no other option ar).4 F .399(guments, the)-.18 F .099(list consists of all enabled shell b)144 -609.6 R 2.598(uiltins. If)-.2 F F12.598 E F0 .098 +691.2 R 2.598(uiltins. If)-.2 F F12.598 E F0 .098 (is supplied, only disabled b)2.598 F .098(uiltins are printed.)-.2 F (If)5.098 E F12.598 E F0 1.916 -(is supplied, the list printed includes all b)144 621.6 R 1.916 +(is supplied, the list printed includes all b)144 703.2 R 1.916 (uiltins, with an indication of whether or not each is)-.2 F 2.879 -(enabled. If)144 633.6 R F12.879 E F0 .379 +(enabled. If)144 715.2 R F12.879 E F0 .379 (is supplied, the output is restricted to the POSIX)2.879 F F2(special) 2.879 E F0 -.2(bu)2.878 G 2.878(iltins. The).2 F .378(return v)2.878 F -(alue)-.25 E .994(is 0 unless a)144 645.6 R F2(name)3.854 E F0 .994 +(alue)-.25 E .994(is 0 unless a)144 727.2 R F2(name)3.854 E F0 .994 (is not a shell b)3.674 F .994(uiltin or there is an error loading a ne) --.2 F 3.495(wb)-.25 G .995(uiltin from a shared)-3.695 F(object.)144 -657.6 Q F1 -2.3 -.15(ev a)108 674.4 T(l).15 E F0([)2.5 E F2(ar)A(g)-.37 -E F0(...])2.5 E(The)144 686.4 Q F2(ar)3.171 E(g)-.37 E F0 3.171(sa)C -.671(re read and concatenated together into a single command.)-3.171 F -.67(This command is then read)5.67 F .495(and e)144 698.4 R -.15(xe)-.15 -G .495(cuted by the shell, and its e).15 F .495 -(xit status is returned as the v)-.15 F .495(alue of)-.25 F F1 -2.3 -.15 -(ev a)2.995 H(l).15 E F0 5.495(.I)C 2.995(ft)-5.495 G .495(here are no) --2.995 F F2(ar)2.995 E(gs)-.37 E F0(,).27 E(or only null ar)144 710.4 Q -(guments,)-.18 E F1 -2.3 -.15(ev a)2.5 H(l).15 E F0(returns 0.)2.5 E -(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(7)203.725 E 0 Cg EP +-.2 F 3.495(wb)-.25 G .995(uiltin from a shared)-3.695 F(GNU Bash-4.2)72 +768 Q(2004 Apr 20)148.735 E(7)203.725 E 0 Cg EP %%Page: 8 8 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(exec)108 84 Q F0([)2.5 E F1(\255cl)A F0 2.5(][)C F1 --2.5 E/F2 10/Times-Italic@0 SF(name)2.5 E F0 2.5(][)C F2(command) --2.5 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(]])A(If)144 96 Q F2(command) -3.006 E F0 .306(is speci\214ed, it replaces the shell.)3.576 F .305 -(No ne)5.305 F 2.805(wp)-.25 G .305(rocess is created.)-2.805 F(The) -5.305 E F2(ar)3.135 E(guments)-.37 E F0(become)3.075 E .176(the ar)144 -108 R .176(guments to)-.18 F F2(command)2.676 E F0 5.176(.I)C 2.676(ft) --5.176 G(he)-2.676 E F12.676 E F0 .176 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E(object.)144 84 Q/F1 10/Times-Bold@0 SF -2.3 +-.15(ev a)108 100.8 T(l).15 E F0([)2.5 E/F2 10/Times-Italic@0 SF(ar)A(g) +-.37 E F0(...])2.5 E(The)144 112.8 Q F2(ar)3.171 E(g)-.37 E F0 3.171(sa) +C .671(re read and concatenated together into a single command.)-3.171 F +.67(This command is then read)5.67 F .495(and e)144 124.8 R -.15(xe)-.15 +G .495(cuted by the shell, and its e).15 F .495 +(xit status is returned as the v)-.15 F .495(alue of)-.25 F F1 -2.3 -.15 +(ev a)2.995 H(l).15 E F0 5.495(.I)C 2.995(ft)-5.495 G .495(here are no) +-2.995 F F2(ar)2.995 E(gs)-.37 E F0(,).27 E(or only null ar)144 136.8 Q +(guments,)-.18 E F1 -2.3 -.15(ev a)2.5 H(l).15 E F0(returns 0.)2.5 E F1 +(exec)108 153.6 Q F0([)2.5 E F1(\255cl)A F0 2.5(][)C F1-2.5 E F2 +(name)2.5 E F0 2.5(][)C F2(command)-2.5 E F0([)2.5 E F2(ar)A(guments) +-.37 E F0(]])A(If)144 165.6 Q F2(command)3.006 E F0 .306 +(is speci\214ed, it replaces the shell.)3.576 F .305(No ne)5.305 F 2.805 +(wp)-.25 G .305(rocess is created.)-2.805 F(The)5.305 E F2(ar)3.135 E +(guments)-.37 E F0(become)3.075 E .176(the ar)144 177.6 R .176 +(guments to)-.18 F F2(command)2.676 E F0 5.176(.I)C 2.676(ft)-5.176 G +(he)-2.676 E F12.676 E F0 .176 (option is supplied, the shell places a dash at the be)2.676 F .177 -(ginning of)-.15 F .5(the zeroth ar)144 120 R .5(gument passed to)-.18 F -F2(command)3 E F0 5.499(.T).77 G .499(his is what)-5.499 F F2(lo)2.999 E -(gin)-.1 E F0 .499(\(1\) does.).24 F(The)5.499 E F12.999 E F0 .499 -(option causes)2.999 F F2(com-)3.199 E(mand)144 132 Q F0 .638(to be e) -3.908 F -.15(xe)-.15 G .638(cuted with an empty en).15 F 3.138 +(ginning of)-.15 F .5(the zeroth ar)144 189.6 R .5(gument passed to)-.18 +F F2(command)3 E F0 5.499(.T).77 G .499(his is what)-5.499 F F2(lo)2.999 +E(gin)-.1 E F0 .499(\(1\) does.).24 F(The)5.499 E F12.999 E F0 +.499(option causes)2.999 F F2(com-)3.199 E(mand)144 201.6 Q F0 .638 +(to be e)3.908 F -.15(xe)-.15 G .638(cuted with an empty en).15 F 3.138 (vironment. If)-.4 F F13.138 E F0 .638 (is supplied, the shell passes)3.138 F F2(name)3.499 E F0 .639(as the) -3.319 F 1.078(zeroth ar)144 144 R 1.077(gument to the e)-.18 F -.15(xe) --.15 G 1.077(cuted command.).15 F(If)6.077 E F2(command)3.777 E F0 1.077 -(cannot be e)4.347 F -.15(xe)-.15 G 1.077(cuted for some reason, a).15 F -(non-interacti)144 156 Q .876 -.15(ve s)-.25 H .576(hell e).15 F .576 -(xits, unless the)-.15 F F1(execfail)3.076 E F0 .577 +3.319 F 1.078(zeroth ar)144 213.6 R 1.077(gument to the e)-.18 F -.15 +(xe)-.15 G 1.077(cuted command.).15 F(If)6.077 E F2(command)3.777 E F0 +1.077(cannot be e)4.347 F -.15(xe)-.15 G 1.077(cuted for some reason, a) +.15 F(non-interacti)144 225.6 Q .876 -.15(ve s)-.25 H .576(hell e).15 F +.576(xits, unless the)-.15 F F1(execfail)3.076 E F0 .577 (shell option is enabled.)3.077 F .577(In that case, it returns f)5.577 -F(ail-)-.1 E 2.505(ure. An)144 168 R(interacti)2.505 E .305 -.15(ve s) +F(ail-)-.1 E 2.505(ure. An)144 237.6 R(interacti)2.505 E .305 -.15(ve s) -.25 H .005(hell returns f).15 F .005(ailure if the \214le cannot be e) -.1 F -.15(xe)-.15 G 2.505(cuted. If).15 F F2(command)2.705 E F0 .005 -(is not speci\214ed,)3.275 F(an)144 180 Q 3.036(yr)-.15 G .536 +(is not speci\214ed,)3.275 F(an)144 249.6 Q 3.036(yr)-.15 G .536 (edirections tak)-3.036 F 3.036(ee)-.1 G -.25(ff)-3.036 G .536 (ect in the current shell, and the return status is 0.).25 F .536 -(If there is a redirection)5.536 F(error)144 192 Q 2.5(,t)-.4 G -(he return status is 1.)-2.5 E F1(exit)108 208.8 Q F0([)2.5 E F2(n)A F0 -6.29(]C)C .096(ause the shell to e)-6.29 F .096(xit with a status of) +(If there is a redirection)5.536 F(error)144 261.6 Q 2.5(,t)-.4 G +(he return status is 1.)-2.5 E F1(exit)108 278.4 Q F0([)2.5 E F2(n)A F0 +(])A .096(Cause the shell to e)144 278.4 R .096(xit with a status of) -.15 F F2(n)2.596 E F0 5.096(.I)C(f)-5.096 E F2(n)2.955 E F0 .095 (is omitted, the e)2.835 F .095(xit status is that of the last command) --.15 F -.15(exe)144 220.8 S 2.5(cuted. A).15 F(trap on)2.5 E/F3 9 +-.15 F -.15(exe)144 290.4 S 2.5(cuted. A).15 F(trap on)2.5 E/F3 9 /Times-Bold@0 SF(EXIT)2.5 E F0(is e)2.25 E -.15(xe)-.15 G -(cuted before the shell terminates.).15 E F1(export)108 237.6 Q F0([)2.5 +(cuted before the shell terminates.).15 E F1(export)108 307.2 Q F0([)2.5 E F1(\255fn)A F0 2.5(][).833 G F2(name)-2.5 E F0([=)A F2(wor)A(d)-.37 E -F0(]] ...)A F1(export \255p)108 249.6 Q F0 .256(The supplied)144 261.6 R +F0(]] ...)A F1(export \255p)108 319.2 Q F0 .256(The supplied)144 331.2 R F2(names)3.117 E F0 .257(are mark)3.027 F .257(ed for automatic e)-.1 F .257(xport to the en)-.15 F .257(vironment of subsequently e)-.4 F -.15 -(xe)-.15 G(cuted).15 E 2.627(commands. If)144 273.6 R(the)2.627 E F1 +(xe)-.15 G(cuted).15 E 2.627(commands. If)144 343.2 R(the)2.627 E F1 2.627 E F0 .127(option is gi)2.627 F -.15(ve)-.25 G .127(n, the) .15 F F2(names)2.987 E F0 .127(refer to functions.)2.897 F .127(If no) 5.127 F F2(names)2.987 E F0 .127(are gi)2.897 F -.15(ve)-.25 G .126 -(n, or if the).15 F F1144 285.6 Q F0 .048 +(n, or if the).15 F F1144 355.2 Q F0 .048 (option is supplied, a list of names of all e)2.547 F .048(xported v) -.15 F .048(ariables is printed.)-.25 F(The)5.048 E F12.548 E F0 -.048(option causes the)2.548 F -.15(ex)144 297.6 S 1.447 +.048(option causes the)2.548 F -.15(ex)144 367.2 S 1.447 (port property to be remo).15 F -.15(ve)-.15 G 3.947(df).15 G 1.447 (rom each)-3.947 F F2(name)3.947 E F0 6.447(.I)C 3.947(fav)-6.447 G 1.447(ariable name is follo)-4.197 F 1.447(wed by =)-.25 F F2(wor)A(d) --.37 E F0 3.946(,t)C(he)-3.946 E -.25(va)144 309.6 S .741(lue of the v) +-.37 E F0 3.946(,t)C(he)-3.946 E -.25(va)144 379.2 S .741(lue of the v) .25 F .741(ariable is set to)-.25 F F2(wor)3.241 E(d)-.37 E F0(.)A F1 (export)5.741 E F0 .742(returns an e)3.242 F .742 (xit status of 0 unless an in)-.15 F -.25(va)-.4 G .742(lid option is) -.25 F .032(encountered, one of the)144 321.6 R F2(names)2.532 E F0 .032 +.25 F .032(encountered, one of the)144 391.2 R F2(names)2.532 E F0 .032 (is not a v)2.532 F .032(alid shell v)-.25 F .032(ariable name, or)-.25 F F12.531 E F0 .031(is supplied with a)2.531 F F2(name)2.891 E F0 -(that)2.711 E(is not a function.)144 333.6 Q F1(fc)108 350.4 Q F0([)2.5 -E F1A F2(ename)2.5 E F0 2.5(][)C F1(\255lnr)-2.5 E F0 2.5(][)C F2 +(that)2.711 E(is not a function.)144 403.2 Q F1(fc)108 420 Q F0([)2.5 E +F1A F2(ename)2.5 E F0 2.5(][)C F1(\255lnr)-2.5 E F0 2.5(][)C F2 <8c72>-2.5 E(st)-.1 E F0 2.5(][)C F2(last)-2.5 E F0(])A F1(fc \255s)108 -362.4 Q F0([)2.5 E F2(pat)A F0(=)A F2 -.37(re)C(p).37 E F0 2.5(][)C F2 +432 Q F0([)2.5 E F2(pat)A F0(=)A F2 -.37(re)C(p).37 E F0 2.5(][)C F2 (cmd)-2.5 E F0(])A .431 -(The \214rst form selects a range of commands from)144 374.4 R F2<8c72> +(The \214rst form selects a range of commands from)144 444 R F2<8c72> 4.842 E(st)-.1 E F0(to)3.612 E F2(last)3.022 E F0 .432 (from the history list and displays or)3.612 F .142(edits and re-e)144 -386.4 R -.15(xe)-.15 G .142(cutes them.).15 F F2 -.45(Fi)5.141 G -.1(rs) +456 R -.15(xe)-.15 G .142(cutes them.).15 F F2 -.45(Fi)5.141 G -.1(rs) .45 G(t).1 E F0(and)3.321 E F2(last)2.731 E F0 .141 (may be speci\214ed as a string \(to locate the last command)3.321 F(be) -144 398.4 Q .31(ginning with that string\) or as a number \(an inde)-.15 -F 2.811(xi)-.15 G .311(nto the history list, where a ne)-2.811 F -.05 -(ga)-.15 G(ti).05 E .611 -.15(ve n)-.25 H(umber).15 E .315 -(is used as an of)144 410.4 R .315 -(fset from the current command number\).)-.25 F(If)5.315 E F2(last)2.904 -E F0 .314(is not speci\214ed it is set to the cur)3.494 F(-)-.2 E .948 -(rent command for listing \(so that)144 422.4 R/F4 10/Courier@0 SF .948 -(fc \255l \25510)3.448 F F0 .948(prints the last 10 commands\) and to) -3.448 F F2<8c72>5.359 E(st)-.1 E F0(other)4.129 E(-)-.2 E 2.5(wise. If) -144 434.4 R F2<8c72>4.41 E(st)-.1 E F0 -(is not speci\214ed it is set to the pre)3.18 E -(vious command for editing and \25516 for listing.)-.25 E(The)144 458.4 -Q F12.522 E F0 .022 +144 468 Q .31(ginning with that string\) or as a number \(an inde)-.15 F +2.811(xi)-.15 G .311(nto the history list, where a ne)-2.811 F -.05(ga) +-.15 G(ti).05 E .611 -.15(ve n)-.25 H(umber).15 E .315(is used as an of) +144 480 R .315(fset from the current command number\).)-.25 F(If)5.315 E +F2(last)2.904 E F0 .314(is not speci\214ed it is set to the cur)3.494 F +(-)-.2 E .948(rent command for listing \(so that)144 492 R/F4 10 +/Courier@0 SF .948(fc \255l \25510)3.448 F F0 .948 +(prints the last 10 commands\) and to)3.448 F F2<8c72>5.359 E(st)-.1 E +F0(other)4.129 E(-)-.2 E 2.5(wise. If)144 504 R F2<8c72>4.41 E(st)-.1 E +F0(is not speci\214ed it is set to the pre)3.18 E +(vious command for editing and \25516 for listing.)-.25 E(The)144 528 Q +F12.522 E F0 .022 (option suppresses the command numbers when listing.)2.522 F(The)5.022 E F12.522 E F0 .022(option re)2.522 F -.15(ve)-.25 G .022 -(rses the order of).15 F .438(the commands.)144 470.4 R .438(If the) -5.438 F F12.938 E F0 .438(option is gi)2.938 F -.15(ve)-.25 G .438 +(rses the order of).15 F .438(the commands.)144 540 R .438(If the)5.438 +F F12.938 E F0 .438(option is gi)2.938 F -.15(ve)-.25 G .438 (n, the commands are listed on standard output.).15 F(Otherwise,)5.438 E -.335(the editor gi)144 482.4 R -.15(ve)-.25 G 2.835(nb).15 G(y)-2.835 E -F2(ename)3.025 E F0 .335(is in)3.015 F -.2(vo)-.4 G -.1(ke).2 G 2.835 -(do).1 G 2.835(na\214)-2.835 G .335(le containing those commands.)-2.835 -F(If)5.334 E F2(ename)3.024 E F0 .334(is not gi)3.014 F -.15(ve)-.25 G -(n,).15 E .63(the v)144 494.4 R .63(alue of the)-.25 F F3(FCEDIT)3.13 E -F0 -.25(va)2.88 G .631(riable is used, and the v).25 F .631(alue of)-.25 -F F3(EDIT)3.131 E(OR)-.162 E F0(if)2.881 E F3(FCEDIT)3.131 E F0 .631 -(is not set.)2.881 F .631(If nei-)5.631 F .951(ther v)144 506.4 R .951 +.335(the editor gi)144 552 R -.15(ve)-.25 G 2.835(nb).15 G(y)-2.835 E F2 +(ename)3.025 E F0 .335(is in)3.015 F -.2(vo)-.4 G -.1(ke).2 G 2.835(do) +.1 G 2.835(na\214)-2.835 G .335(le containing those commands.)-2.835 F +(If)5.334 E F2(ename)3.024 E F0 .334(is not gi)3.014 F -.15(ve)-.25 G +(n,).15 E .63(the v)144 564 R .63(alue of the)-.25 F F3(FCEDIT)3.13 E F0 +-.25(va)2.88 G .631(riable is used, and the v).25 F .631(alue of)-.25 F +F3(EDIT)3.131 E(OR)-.162 E F0(if)2.881 E F3(FCEDIT)3.131 E F0 .631 +(is not set.)2.881 F .631(If nei-)5.631 F .951(ther v)144 576 R .951 (ariable is set,)-.25 F F2(vi)5.117 E F0 .951(is used.)5.117 F .95 (When editing is complete, the edited commands are echoed and)5.951 F --.15(exe)144 518.4 S(cuted.).15 E .788(In the second form,)144 542.4 R -F2(command)3.288 E F0 .788(is re-e)3.288 F -.15(xe)-.15 G .788 +-.15(exe)144 588 S(cuted.).15 E .788(In the second form,)144 612 R F2 +(command)3.288 E F0 .788(is re-e)3.288 F -.15(xe)-.15 G .788 (cuted after each instance of).15 F F2(pat)3.288 E F0 .788 (is replaced by)3.288 F F2 -.37(re)3.289 G(p).37 E F0(.)A F2(Com-)5.789 -E(mand)144 554.4 Q F0 .347(is intepreted the same as)2.847 F F2<8c72> -2.847 E(st)-.1 E F0(abo)2.847 E -.15(ve)-.15 G 5.347(.A).15 G .347 +E(mand)144 624 Q F0 .347(is intepreted the same as)2.847 F F2<8c72>2.847 +E(st)-.1 E F0(abo)2.847 E -.15(ve)-.15 G 5.347(.A).15 G .347 (useful alias to use with this is)-2.5 F F4 .346(r='fc \255s')2.847 F F0 -2.846(,s)C 2.846(ot)-2.846 G(hat)-2.846 E(typing)144 566.4 Q F4 7.165 -(rc)3.665 G(c)-7.165 E F0 1.165(runs the last command be)3.665 F 1.166 +2.846(,s)C 2.846(ot)-2.846 G(hat)-2.846 E(typing)144 636 Q F4 7.165(rc) +3.665 G(c)-7.165 E F0 1.165(runs the last command be)3.665 F 1.166 (ginning with)-.15 F F4(cc)3.666 E F0 1.166(and typing)3.666 F F4(r) 3.666 E F0(re-e)3.666 E -.15(xe)-.15 G 1.166(cutes the last com-).15 F -(mand.)144 578.4 Q .142(If the \214rst form is used, the return v)144 -602.4 R .142(alue is 0 unless an in)-.25 F -.25(va)-.4 G .142 +(mand.)144 648 Q .142(If the \214rst form is used, the return v)144 672 +R .142(alue is 0 unless an in)-.25 F -.25(va)-.4 G .142 (lid option is encountered or).25 F F2<8c72>4.552 E(st)-.1 E F0(or)3.322 -E F2(last)2.732 E F0 .454(specify history lines out of range.)144 614.4 -R .454(If the)5.454 F F12.954 E F0 .454 +E F2(last)2.732 E F0 .454(specify history lines out of range.)144 684 R +.454(If the)5.454 F F12.954 E F0 .454 (option is supplied, the return v)2.954 F .455(alue is the v)-.25 F .455 -(alue of the)-.25 F .788(last command e)144 626.4 R -.15(xe)-.15 G .788 +(alue of the)-.25 F .788(last command e)144 696 R -.15(xe)-.15 G .788 (cuted or f).15 F .787 (ailure if an error occurs with the temporary \214le of commands.)-.1 F .787(If the)5.787 F 1.135 (second form is used, the return status is that of the command re-e)144 -638.4 R -.15(xe)-.15 G 1.136(cuted, unless).15 F F2(cmd)3.836 E F0 1.136 -(does not)4.406 F(specify a v)144 650.4 Q +708 R -.15(xe)-.15 G 1.136(cuted, unless).15 F F2(cmd)3.836 E F0 1.136 +(does not)4.406 F(specify a v)144 720 Q (alid history line, in which case)-.25 E F1(fc)2.5 E F0(returns f)2.5 E -(ailure.)-.1 E F1(fg)108 667.2 Q F0([)2.5 E F2(jobspec)A F0(])A(Resume) -144 679.2 Q F2(jobspec)5.654 E F0 1.413(in the fore)4.224 F 1.413 -(ground, and mak)-.15 F 3.913(ei)-.1 G 3.913(tt)-3.913 G 1.413 -(he current job)-3.913 F 6.413(.I)-.4 G(f)-6.413 E F2(jobspec)5.653 E F0 -1.413(is not present, the)4.223 F(shell')144 691.2 Q 3.116(sn)-.55 G -.616(otion of the)-3.116 F F2(curr)3.116 E .616(ent job)-.37 F F0 .617 -(is used.)3.116 F .617(The return v)5.617 F .617 -(alue is that of the command placed into the)-.25 F(fore)144 703.2 Q -.363(ground, or f)-.15 F .363 -(ailure if run when job control is disabled or)-.1 F 2.862(,w)-.4 G .362 -(hen run with job control enabled, if)-2.862 F F2(jobspec)145.74 715.2 Q -F0 .004(does not specify a v)2.814 F .004(alid job or)-.25 F F2(jobspec) -4.244 E F0 .004(speci\214es a job that w)2.814 F .004 -(as started without job control.)-.1 F(GNU Bash-4.2)72 768 Q -(2004 Apr 20)148.735 E(8)203.725 E 0 Cg EP +(ailure.)-.1 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(8)203.725 E 0 +Cg EP %%Page: 9 9 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(getopts)108 84 Q/F2 10/Times-Italic@0 SF -(optstring name)2.5 E F0([)2.5 E F2(ar)A(gs)-.37 E F0(])A F1(getopts)144 -96 Q F0 .793 -(is used by shell procedures to parse positional parameters.)3.294 F F2 -(optstring)6.023 E F0 .793(contains the option)3.513 F .149 -(characters to be recognized; if a character is follo)144 108 R .15 -(wed by a colon, the option is e)-.25 F .15(xpected to ha)-.15 F .45 --.15(ve a)-.2 H(n).15 E(ar)144 120 Q .579 -(gument, which should be separated from it by white space.)-.18 F .578 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(fg)108 84 Q F0([)2.5 +E/F2 10/Times-Italic@0 SF(jobspec)A F0(])A(Resume)144 96 Q F2(jobspec) +5.654 E F0 1.413(in the fore)4.224 F 1.413(ground, and mak)-.15 F 3.913 +(ei)-.1 G 3.913(tt)-3.913 G 1.413(he current job)-3.913 F 6.413(.I)-.4 G +(f)-6.413 E F2(jobspec)5.653 E F0 1.413(is not present, the)4.223 F +(shell')144 108 Q 3.116(sn)-.55 G .616(otion of the)-3.116 F F2(curr) +3.116 E .616(ent job)-.37 F F0 .617(is used.)3.116 F .617(The return v) +5.617 F .617(alue is that of the command placed into the)-.25 F(fore)144 +120 Q .363(ground, or f)-.15 F .363 +(ailure if run when job control is disabled or)-.1 F 2.862(,w)-.4 G .362 +(hen run with job control enabled, if)-2.862 F F2(jobspec)145.74 132 Q +F0(does not specify a v)2.81 E(alid job or)-.25 E F2(jobspec)4.24 E F0 +(speci\214es a job that w)2.81 E(as started without job control.)-.1 E +F1(getopts)108 148.8 Q F2(optstring name)2.5 E F0([)2.5 E F2(ar)A(gs) +-.37 E F0(])A F1(getopts)144 160.8 Q F0 .793 +(is used by shell procedures to parse positional parameters.)3.293 F F2 +(optstring)6.023 E F0 .793(contains the option)3.513 F .15 +(characters to be recognized; if a character is follo)144 172.8 R .149 +(wed by a colon, the option is e)-.25 F .149(xpected to ha)-.15 F .449 +-.15(ve a)-.2 H(n).15 E(ar)144 184.8 Q .578 +(gument, which should be separated from it by white space.)-.18 F .579 (The colon and question mark char)5.579 F(-)-.2 E 1.665 -(acters may not be used as option characters.)144 132 R 1.665 +(acters may not be used as option characters.)144 196.8 R 1.665 (Each time it is in)6.665 F -.2(vo)-.4 G -.1(ke).2 G(d,).1 E F1(getopts) -4.165 E F0 1.665(places the ne)4.165 F(xt)-.15 E .797 -(option in the shell v)144 144 R(ariable)-.25 E F2(name)3.297 E F0 3.297 -(,i).18 G(nitializing)-3.297 E F2(name)3.657 E F0 .797(if it does not e) -3.477 F .796(xist, and the inde)-.15 F 3.296(xo)-.15 G 3.296(ft)-3.296 G -.796(he ne)-3.296 F(xt)-.15 E(ar)144 156 Q .085 +4.165 E F0 1.665(places the ne)4.165 F(xt)-.15 E .796 +(option in the shell v)144 208.8 R(ariable)-.25 E F2(name)3.296 E F0 +3.296(,i).18 G(nitializing)-3.296 E F2(name)3.657 E F0 .797 +(if it does not e)3.477 F .797(xist, and the inde)-.15 F 3.297(xo)-.15 G +3.297(ft)-3.297 G .797(he ne)-3.297 F(xt)-.15 E(ar)144 220.8 Q .085 (gument to be processed into the v)-.18 F(ariable)-.25 E/F3 9 /Times-Bold@0 SF(OPTIND)2.585 E/F4 9/Times-Roman@0 SF(.)A F3(OPTIND) -4.585 E F0 .085(is initialized to 1 each time the shell)2.335 F .846 -(or a shell script is in)144 168 R -.2(vo)-.4 G -.1(ke).2 G 3.345 +4.585 E F0 .085(is initialized to 1 each time the shell)2.335 F .845 +(or a shell script is in)144 232.8 R -.2(vo)-.4 G -.1(ke).2 G 3.345 (d. When).1 F .845(an option requires an ar)3.345 F(gument,)-.18 E F1 -(getopts)3.345 E F0 .845(places that ar)3.345 F(gument)-.18 E .803 -(into the v)144 180 R(ariable)-.25 E F3(OPT)3.303 E(ARG)-.81 E F4(.)A F0 -.803(The shell does not reset)5.303 F F3(OPTIND)3.303 E F0 .804 -(automatically; it must be manually)3.054 F .294 -(reset between multiple calls to)144 192 R F1(getopts)2.793 E F0 .293 +(getopts)3.346 E F0 .846(places that ar)3.346 F(gument)-.18 E .804 +(into the v)144 244.8 R(ariable)-.25 E F3(OPT)3.304 E(ARG)-.81 E F4(.)A +F0 .803(The shell does not reset)5.304 F F3(OPTIND)3.303 E F0 .803 +(automatically; it must be manually)3.053 F .293 +(reset between multiple calls to)144 256.8 R F1(getopts)2.793 E F0 .293 (within the same shell in)2.793 F -.2(vo)-.4 G .293(cation if a ne).2 F -2.793(ws)-.25 G .293(et of parameters)-2.793 F(is to be used.)144 204 Q -2.043(When the end of options is encountered,)144 228 R F1(getopts)4.543 -E F0 -.15(ex)4.543 G 2.043(its with a return v).15 F 2.044 -(alue greater than zero.)-.25 F F3(OPTIND)144 240 Q F0 +2.793(ws)-.25 G .294(et of parameters)-2.793 F(is to be used.)144 268.8 +Q 2.044(When the end of options is encountered,)144 292.8 R F1(getopts) +4.543 E F0 -.15(ex)4.543 G 2.043(its with a return v).15 F 2.043 +(alue greater than zero.)-.25 F F3(OPTIND)144 304.8 Q F0 (is set to the inde)2.25 E 2.5(xo)-.15 G 2.5(ft)-2.5 G (he \214rst non-option ar)-2.5 E(gument, and)-.18 E F2(name)2.5 E F0 -(is set to ?.)2.5 E F1(getopts)144 264 Q F0 2.393 -(normally parses the positional parameters, b)4.893 F 2.392 -(ut if more ar)-.2 F 2.392(guments are gi)-.18 F -.15(ve)-.25 G 4.892 -(ni).15 G(n)-4.892 E F2(ar)4.892 E(gs)-.37 E F0(,).27 E F1(getopts)144 -276 Q F0(parses those instead.)2.5 E F1(getopts)144 300 Q F0 1.165 -(can report errors in tw)3.665 F 3.665(ow)-.1 G 3.665(ays. If)-3.765 F -1.165(the \214rst character of)3.665 F F2(optstring)3.895 E F0 1.166 -(is a colon,)3.886 F F2(silent)4.006 E F0(error)4.346 E 1.071 -(reporting is used.)144 312 R 1.071 -(In normal operation, diagnostic messages are printed when in)6.071 F --.25(va)-.4 G 1.07(lid options or).25 F .393(missing option ar)144 324 R -.393(guments are encountered.)-.18 F .394(If the v)5.394 F(ariable)-.25 -E F3(OPTERR)2.894 E F0 .394(is set to 0, no error messages)2.644 F -(will be displayed, e)144 336 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 -G(he \214rst character of)-2.5 E F2(optstring)2.73 E F0(is not a colon.) -2.72 E .667(If an in)144 360 R -.25(va)-.4 G .667(lid option is seen,) -.25 F F1(getopts)3.167 E F0 .667(places ? into)3.167 F F2(name)3.527 E -F0 .666(and, if not silent, prints an error message)3.347 F .399 -(and unsets)144 372 R F3(OPT)2.899 E(ARG)-.81 E F4(.)A F0(If)4.899 E F1 -(getopts)2.899 E F0 .399 -(is silent, the option character found is placed in)2.899 F F3(OPT)2.899 -E(ARG)-.81 E F0 .4(and no)2.65 F(diagnostic message is printed.)144 384 -Q 1.242(If a required ar)144 408 R 1.242(gument is not found, and)-.18 F -F1(getopts)3.741 E F0 1.241(is not silent, a question mark \()3.741 F F1 -(?).833 E F0 3.741(\)i).833 G 3.741(sp)-3.741 G 1.241(laced in)-3.741 F -F2(name)144 420 Q F0(,).18 E F3(OPT)2.734 E(ARG)-.81 E F0 .234 -(is unset, and a diagnostic message is printed.)2.484 F(If)5.234 E F1 -(getopts)2.734 E F0 .235(is silent, then a colon \()2.734 F F1(:).833 E -F0(\)).833 E(is placed in)144 432 Q F2(name)2.86 E F0(and)2.68 E F3(OPT) -2.5 E(ARG)-.81 E F0(is set to the option character found.)2.25 E F1 -(getopts)144 456 Q F0 .902 +(is set to ?.)2.5 E F1(getopts)144 328.8 Q F0 2.392 +(normally parses the positional parameters, b)4.892 F 2.392 +(ut if more ar)-.2 F 2.393(guments are gi)-.18 F -.15(ve)-.25 G 4.893 +(ni).15 G(n)-4.893 E F2(ar)4.893 E(gs)-.37 E F0(,).27 E F1(getopts)144 +340.8 Q F0(parses those instead.)2.5 E F1(getopts)144 364.8 Q F0 1.166 +(can report errors in tw)3.666 F 3.665(ow)-.1 G 3.665(ays. If)-3.765 F +1.165(the \214rst character of)3.665 F F2(optstring)3.895 E F0 1.165 +(is a colon,)3.885 F F2(silent)4.005 E F0(error)4.345 E 1.07 +(reporting is used.)144 376.8 R 1.071 +(In normal operation, diagnostic messages are printed when in)6.07 F +-.25(va)-.4 G 1.071(lid options or).25 F .394(missing option ar)144 +388.8 R .394(guments are encountered.)-.18 F .394(If the v)5.394 F +(ariable)-.25 E F3(OPTERR)2.894 E F0 .394 +(is set to 0, no error messages)2.644 F(will be displayed, e)144 400.8 Q +-.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he \214rst character of)-2.5 E +F2(optstring)2.73 E F0(is not a colon.)2.72 E .666(If an in)144 424.8 R +-.25(va)-.4 G .666(lid option is seen,).25 F F1(getopts)3.166 E F0 .667 +(places ? into)3.167 F F2(name)3.527 E F0 .667 +(and, if not silent, prints an error message)3.347 F .4(and unsets)144 +436.8 R F3(OPT)2.9 E(ARG)-.81 E F4(.)A F0(If)4.899 E F1(getopts)2.899 E +F0 .399(is silent, the option character found is placed in)2.899 F F3 +(OPT)2.899 E(ARG)-.81 E F0 .399(and no)2.649 F +(diagnostic message is printed.)144 448.8 Q 1.241(If a required ar)144 +472.8 R 1.241(gument is not found, and)-.18 F F1(getopts)3.741 E F0 +1.241(is not silent, a question mark \()3.741 F F1(?).833 E F0 3.742 +(\)i).833 G 3.742(sp)-3.742 G 1.242(laced in)-3.742 F F2(name)144 484.8 +Q F0(,).18 E F3(OPT)2.735 E(ARG)-.81 E F0 .234 +(is unset, and a diagnostic message is printed.)2.485 F(If)5.234 E F1 +(getopts)2.734 E F0 .234(is silent, then a colon \()2.734 F F1(:).833 E +F0(\)).833 E(is placed in)144 496.8 Q F2(name)2.86 E F0(and)2.68 E F3 +(OPT)2.5 E(ARG)-.81 E F0(is set to the option character found.)2.25 E F1 +(getopts)144 520.8 Q F0 .902 (returns true if an option, speci\214ed or unspeci\214ed, is found.) -3.402 F .902(It returns f)5.902 F .901(alse if the end of)-.1 F -(options is encountered or an error occurs.)144 468 Q F1(hash)108 484.8 -Q F0([)2.5 E F1(\255lr)A F0 2.5(][)C F1-2.5 E F2(\214lename)2.5 E -F0 2.5(][)C F1(\255dt)-2.5 E F0 2.5(][)C F2(name)-2.5 E F0(])A .858 -(Each time)144 496.8 R F1(hash)3.358 E F0 .858(is in)3.358 F -.2(vo)-.4 -G -.1(ke).2 G .858(d, the full pathname of the command).1 F F2(name) +3.401 F .902(It returns f)5.902 F .902(alse if the end of)-.1 F +(options is encountered or an error occurs.)144 532.8 Q F1(hash)108 +549.6 Q F0([)2.5 E F1(\255lr)A F0 2.5(][)C F1-2.5 E F2(\214lename) +2.5 E F0 2.5(][)C F1(\255dt)-2.5 E F0 2.5(][)C F2(name)-2.5 E F0(])A +.858(Each time)144 561.6 R F1(hash)3.358 E F0 .858(is in)3.358 F -.2(vo) +-.4 G -.1(ke).2 G .858(d, the full pathname of the command).1 F F2(name) 3.718 E F0 .858(is determined by searching)3.538 F .956 -(the directories in)144 508.8 R F1($P)3.456 E -.95(AT)-.74 G(H).95 E F0 +(the directories in)144 573.6 R F1($P)3.456 E -.95(AT)-.74 G(H).95 E F0 .956(and remembered.)3.456 F(An)5.956 E 3.456(yp)-.15 G(re)-3.456 E .956 -(viously-remembered pathname is discarded.)-.25 F .242(If the)144 520.8 -R F12.742 E F0 .243 -(option is supplied, no path search is performed, and)2.742 F F2 -(\214lename)4.653 E F0 .243(is used as the full \214lename)2.923 F 1.712 -(of the command.)144 532.8 R(The)6.712 E F14.212 E F0 1.711 -(option causes the shell to for)4.212 F 1.711 -(get all remembered locations.)-.18 F(The)6.711 E F14.211 E F0 -.833(option causes the shell to for)144 544.8 R .833 +(viously-remembered pathname is discarded.)-.25 F .243(If the)144 585.6 +R F12.743 E F0 .243 +(option is supplied, no path search is performed, and)2.743 F F2 +(\214lename)4.653 E F0 .242(is used as the full \214lename)2.923 F 1.711 +(of the command.)144 597.6 R(The)6.711 E F14.211 E F0 1.711 +(option causes the shell to for)4.211 F 1.712 +(get all remembered locations.)-.18 F(The)6.712 E F14.212 E F0 +.833(option causes the shell to for)144 609.6 R .833 (get the remembered location of each)-.18 F F2(name)3.333 E F0 5.833(.I) C 3.333(ft)-5.833 G(he)-3.333 E F13.333 E F0 .833(option is sup-) -3.333 F .704(plied, the full pathname to which each)144 556.8 R F2(name) -3.204 E F0 .703(corresponds is printed.)3.204 F .703(If multiple)5.703 F -F2(name)3.203 E F0(ar)3.203 E(guments)-.18 E .795(are supplied with)144 -568.8 R F13.295 E F0 3.295(,t)C(he)-3.295 E F2(name)3.295 E F0 +3.333 F .703(plied, the full pathname to which each)144 621.6 R F2(name) +3.204 E F0 .704(corresponds is printed.)3.204 F .704(If multiple)5.704 F +F2(name)3.204 E F0(ar)3.204 E(guments)-.18 E .795(are supplied with)144 +633.6 R F13.295 E F0 3.295(,t)C(he)-3.295 E F2(name)3.295 E F0 .795(is printed before the hashed full pathname.)3.295 F(The)5.795 E F1 3.295 E F0 .795(option causes)3.295 F .934 (output to be displayed in a format that may be reused as input.)144 -580.8 R .934(If no ar)5.934 F .934(guments are gi)-.18 F -.15(ve)-.25 G -.934(n, or if).15 F(only)144 592.8 Q F12.821 E F0 .321 -(is supplied, information about remembered commands is printed.)2.821 F -.322(The return status is true)5.322 F(unless a)144 604.8 Q F2(name)2.86 +645.6 R .934(If no ar)5.934 F .935(guments are gi)-.18 F -.15(ve)-.25 G +.935(n, or if).15 F(only)144 657.6 Q F12.822 E F0 .322 +(is supplied, information about remembered commands is printed.)2.822 F +.321(The return status is true)5.321 F(unless a)144 669.6 Q F2(name)2.86 E F0(is not found or an in)2.68 E -.25(va)-.4 G(lid option is supplied.) -.25 E F1(help)108 621.6 Q F0([)2.5 E F1(\255dms)A F0 2.5(][)C F2 -(pattern)-2.5 E F0(])A .867(Display helpful information about b)144 -633.6 R .867(uiltin commands.)-.2 F(If)5.867 E F2(pattern)4.617 E F0 -.866(is speci\214ed,)3.607 F F1(help)3.366 E F0(gi)3.366 E -.15(ve)-.25 -G 3.366(sd).15 G(etailed)-3.366 E .306(help on all commands matching)144 -645.6 R F2(pattern)2.806 E F0 2.807(;o).24 G .307 -(therwise help for all the b)-2.807 F .307 -(uiltins and shell control struc-)-.2 F(tures is printed.)144 657.6 Q F1 -144 669.6 Q F0(Display a short description of each)24.74 E F2 -(pattern)2.5 E F1144 681.6 Q F0(Display the description of each) -21.97 E F2(pattern)2.5 E F0(in a manpage-lik)2.5 E 2.5(ef)-.1 G(ormat) --2.5 E F1144 693.6 Q F0 -(Display only a short usage synopsis for each)26.41 E F2(pattern)2.5 E -F0(The return status is 0 unless no command matches)144 710.4 Q F2 -(pattern)2.5 E F0(.).24 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(9) -203.725 E 0 Cg EP +.25 E F1(help)108 686.4 Q F0([)2.5 E F1(\255dms)A F0 2.5(][)C F2 +(pattern)-2.5 E F0(])A .866(Display helpful information about b)144 +698.4 R .867(uiltin commands.)-.2 F(If)5.867 E F2(pattern)4.617 E F0 +.867(is speci\214ed,)3.607 F F1(help)3.367 E F0(gi)3.367 E -.15(ve)-.25 +G 3.367(sd).15 G(etailed)-3.367 E .307(help on all commands matching)144 +710.4 R F2(pattern)2.807 E F0 2.807(;o).24 G .307 +(therwise help for all the b)-2.807 F .306 +(uiltins and shell control struc-)-.2 F(tures is printed.)144 722.4 Q +(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(9)203.725 E 0 Cg EP %%Page: 10 10 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(history [)108 84 Q/F2 10/Times-Italic@0 SF(n)A F1(])A -(history \255c)108 96 Q(history \255d)108 108 Q F2(of)2.5 E(fset)-.18 E -F1(history \255anrw)108 120 Q F0([)2.5 E F2(\214lename)A F0(])A F1 -(history \255p)108 132 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A 2.5(g.) --.37 G(..)-2.5 E F0(])A F1(history \255s)108 144 Q F2(ar)2.5 E(g)-.37 E -F0([)2.5 E F2(ar)A 2.5(g.)-.37 G(..)-2.5 E F0(])A -.4(Wi)144 156 S .752 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF144 84 Q F0 +(Display a short description of each)180 84 Q/F2 10/Times-Italic@0 SF +(pattern)2.5 E F1144 96 Q F0(Display the description of each)180 +96 Q F2(pattern)2.5 E F0(in a manpage-lik)2.5 E 2.5(ef)-.1 G(ormat)-2.5 +E F1144 108 Q F0(Display only a short usage synopsis for each)180 +108 Q F2(pattern)2.5 E F0 +(The return status is 0 unless no command matches)144 124.8 Q F2 +(pattern)2.5 E F0(.).24 E F1(history [)108 141.6 Q F2(n)A F1(])A +(history \255c)108 153.6 Q(history \255d)108 165.6 Q F2(of)2.5 E(fset) +-.18 E F1(history \255anrw)108 177.6 Q F0([)2.5 E F2(\214lename)A F0(])A +F1(history \255p)108 189.6 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A 2.5 +(g.)-.37 G(..)-2.5 E F0(])A F1(history \255s)108 201.6 Q F2(ar)2.5 E(g) +-.37 E F0([)2.5 E F2(ar)A 2.5(g.)-.37 G(..)-2.5 E F0(])A -.4(Wi)144 +213.6 S .752 (th no options, display the command history list with line numbers.).4 F -.752(Lines listed with a)5.752 F F1(*)3.251 E F0(ha)3.251 E -.15(ve)-.2 -G .38(been modi\214ed.)144 168 R .38(An ar)5.38 F .38(gument of)-.18 F -F2(n)3.24 E F0 .38(lists only the last)3.12 F F2(n)3.24 E F0 2.88 +.752(Lines listed with a)5.752 F F1(*)3.252 E F0(ha)3.252 E -.15(ve)-.2 +G .381(been modi\214ed.)144 225.6 R .38(An ar)5.38 F .38(gument of)-.18 +F F2(n)3.24 E F0 .38(lists only the last)3.12 F F2(n)3.24 E F0 2.88 (lines. If)3.12 F .38(the shell v)2.88 F(ariable)-.25 E/F3 9 -/Times-Bold@0 SF(HISTTIMEFOR-)2.881 E(MA)144 180 Q(T)-.855 E F0 .265 -(is set and not null, it is used as a format string for)2.515 F F2 -(strftime)2.764 E F0 .264(\(3\) to display the time stamp asso-)B 1.019 -(ciated with each displayed history entry)144 192 R 6.019(.N)-.65 G +/Times-Bold@0 SF(HISTTIMEFOR-)2.88 E(MA)144 237.6 Q(T)-.855 E F0 .264 +(is set and not null, it is used as a format string for)2.514 F F2 +(strftime)2.765 E F0 .265(\(3\) to display the time stamp asso-)B 1.02 +(ciated with each displayed history entry)144 249.6 R 6.019(.N)-.65 G 3.519(oi)-6.019 G(nterv)-3.519 E 1.019 (ening blank is printed between the formatted)-.15 F .176 -(time stamp and the history line.)144 204 R(If)5.176 E F2(\214lename) +(time stamp and the history line.)144 261.6 R(If)5.176 E F2(\214lename) 2.676 E F0 .176 (is supplied, it is used as the name of the history \214le; if)2.676 F -(not, the v)144 216 Q(alue of)-.25 E F3(HISTFILE)2.5 E F0(is used.)2.25 -E(Options, if supplied, ha)5 E .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F1144 228 Q F0 -(Clear the history list by deleting all the entries.)25.86 E F1144 -240 Q F2(of)2.5 E(fset)-.18 E F0(Delete the history entry at position) -180 252 Q F2(of)2.5 E(fset)-.18 E F0(.)A F1144 264 Q F0 .598 -(Append the `)25.3 F(`ne)-.74 E(w')-.25 E 3.098('h)-.74 G .598 -(istory lines \(history lines entered since the be)-3.098 F .599 -(ginning of the current)-.15 F F1(bash)180 276 Q F0 -(session\) to the history \214le.)2.5 E F1144 288 Q F0 .854(Read \ -the history lines not already read from the history \214le into the cur\ -rent history list.)24.74 F .772 -(These are lines appended to the history \214le since the be)180 300 R -.773(ginning of the current)-.15 F F1(bash)3.273 E F0(ses-)3.273 E -(sion.)180 312 Q F1144 324 Q F0(Read the contents of the history \ -\214le and append them to the current history list.)25.86 E F1144 -336 Q F0(Write the current history list to the history \214le, o)23.08 E +(not, the v)144 273.6 Q(alue of)-.25 E F3(HISTFILE)2.5 E F0(is used.) +2.25 E(Options, if supplied, ha)5 E .3 -.15(ve t)-.2 H(he follo).15 E +(wing meanings:)-.25 E F1144 285.6 Q F0 +(Clear the history list by deleting all the entries.)180 285.6 Q F1 +144 297.6 Q F2(of)2.5 E(fset)-.18 E F0 +(Delete the history entry at position)180 309.6 Q F2(of)2.5 E(fset)-.18 +E F0(.)A F1144 321.6 Q F0 .565(Append the `)180 321.6 R(`ne)-.74 E +(w')-.25 E 3.065('h)-.74 G .564(istory lines to the history \214le.) +-3.065 F .564(These are history lines entered since)5.564 F(the be)180 +333.6 Q(ginning of the current)-.15 E F1(bash)2.5 E F0(session, b)2.5 E +(ut not already appended to the history \214le.)-.2 E F1144 345.6 +Q F0 .854(Read the history lines not already read from the history \214\ +le into the current history list.)180 345.6 R .773 +(These are lines appended to the history \214le since the be)180 357.6 R +.772(ginning of the current)-.15 F F1(bash)3.272 E F0(ses-)3.272 E +(sion.)180 369.6 Q F1144 381.6 Q F0(Read the contents of the hist\ +ory \214le and append them to the current history list.)180 381.6 Q F1 +144 393.6 Q F0 +(Write the current history list to the history \214le, o)180 393.6 Q -.15(ve)-.15 G(rwriting the history \214le').15 E 2.5(sc)-.55 G -(ontents.)-2.5 E F1144 348 Q F0 .626 -(Perform history substitution on the follo)24.74 F(wing)-.25 E F2(ar) -3.125 E(gs)-.37 E F0 .625(and display the result on the standard)3.125 F -2.975(output. Does)180 360 R .475 +(ontents.)-2.5 E F1144 405.6 Q F0 .625 +(Perform history substitution on the follo)180 405.6 R(wing)-.25 E F2 +(ar)3.125 E(gs)-.37 E F0 .626(and display the result on the standard) +3.125 F 2.975(output. Does)180 417.6 R .475 (not store the results in the history list.)2.975 F(Each)5.475 E F2(ar) 2.975 E(g)-.37 E F0 .475(must be quoted to disable)2.975 F -(normal history e)180 372 Q(xpansion.)-.15 E F1144 384 Q F0 .363 -(Store the)26.41 F F2(ar)3.193 E(gs)-.37 E F0 .363 -(in the history list as a single entry)3.133 F 5.363(.T)-.65 G .362 -(he last command in the history list is)-5.363 F(remo)180 396 Q -.15(ve) --.15 G 2.5(db).15 G(efore the)-2.5 E F2(ar)2.83 E(gs)-.37 E F0 -(are added.)2.77 E .145(If the)144 412.8 R F3(HISTTIMEFORMA)2.645 E(T) +(normal history e)180 429.6 Q(xpansion.)-.15 E F1144 441.6 Q F0 +.362(Store the)180 441.6 R F2(ar)3.192 E(gs)-.37 E F0 .363 +(in the history list as a single entry)3.132 F 5.363(.T)-.65 G .363 +(he last command in the history list is)-5.363 F(remo)180 453.6 Q -.15 +(ve)-.15 G 2.5(db).15 G(efore the)-2.5 E F2(ar)2.83 E(gs)-.37 E F0 +(are added.)2.77 E .146(If the)144 470.4 R F3(HISTTIMEFORMA)2.645 E(T) -.855 E F0 -.25(va)2.395 G .145 (riable is set, the time stamp information associated with each history) -.25 F .669(entry is written to the history \214le, mark)144 424.8 R .669 -(ed with the history comment character)-.1 F 5.668(.W)-.55 G .668 -(hen the history)-5.668 F .955(\214le is read, lines be)144 436.8 R .956 -(ginning with the history comment character follo)-.15 F .956 -(wed immediately by a digit)-.25 F .416 -(are interpreted as timestamps for the pre)144 448.8 R .416 -(vious history line.)-.25 F .416(The return v)5.416 F .415 -(alue is 0 unless an in)-.25 F -.25(va)-.4 G(lid).25 E .499(option is e\ -ncountered, an error occurs while reading or writing the history \214le\ -, an in)144 460.8 R -.25(va)-.4 G(lid).25 E F2(of)3 E(fset)-.18 E F0(is) -3 E(supplied as an ar)144 472.8 Q(gument to)-.18 E F12.5 E F0 2.5 -(,o)C 2.5(rt)-2.5 G(he history e)-2.5 E(xpansion supplied as an ar)-.15 -E(gument to)-.18 E F12.5 E F0 -.1(fa)2.5 G(ils.).1 E F1(jobs)108 -489.6 Q F0([)2.5 E F1(\255lnprs)A F0 2.5(][)C F2(jobspec)A F0(... ])2.5 -E F1(jobs \255x)108 501.6 Q F2(command)2.5 E F0([)2.5 E F2(ar)2.5 E(gs) --.37 E F0(... ])2.5 E(The \214rst form lists the acti)144 513.6 Q .3 --.15(ve j)-.25 H 2.5(obs. The).15 F(options ha)2.5 E .3 -.15(ve t)-.2 H -(he follo).15 E(wing meanings:)-.25 E F1144 525.6 Q F0 -(List process IDs in addition to the normal information.)27.52 E F1 -144 537.6 Q F0 .194(Display information only about jobs that ha) -24.74 F .494 -.15(ve c)-.2 H .193(hanged status since the user w).15 F -.193(as last noti-)-.1 F(\214ed of their status.)180 549.6 Q F1144 -561.6 Q F0(List only the process ID of the job')24.74 E 2.5(sp)-.55 G -(rocess group leader)-2.5 E(.)-.55 E F1144 573.6 Q F0 -(Display only running jobs.)25.86 E F1144 585.6 Q F0 -(Display only stopped jobs.)26.41 E(If)144 602.4 Q F2(jobspec)4.553 E F0 -.313(is gi)3.123 F -.15(ve)-.25 G .313 +.25 F .668(entry is written to the history \214le, mark)144 482.4 R .669 +(ed with the history comment character)-.1 F 5.669(.W)-.55 G .669 +(hen the history)-5.669 F .956(\214le is read, lines be)144 494.4 R .956 +(ginning with the history comment character follo)-.15 F .955 +(wed immediately by a digit)-.25 F 1.795 +(are interpreted as timestamps for the follo)144 506.4 R 1.795 +(wing history entry)-.25 F 6.795(.T)-.65 G 1.795(he return v)-6.795 F +1.796(alue is 0 unless an)-.25 F(in)144 518.4 Q -.25(va)-.4 G .768(lid \ +option is encountered, an error occurs while reading or writing the his\ +tory \214le, an in).25 F -.25(va)-.4 G(lid).25 E F2(of)144 530.4 Q(fset) +-.18 E F0 1.031(is supplied as an ar)3.531 F 1.031(gument to)-.18 F F1 +3.531 E F0 3.531(,o)C 3.531(rt)-3.531 G 1.031(he history e)-3.531 +F 1.031(xpansion supplied as an ar)-.15 F 1.032(gument to)-.18 F F1 +3.532 E F0 -.1(fa)144 542.4 S(ils.).1 E F1(jobs)108 559.2 Q F0([) +2.5 E F1(\255lnprs)A F0 2.5(][)C F2(jobspec)A F0(... ])2.5 E F1 +(jobs \255x)108 571.2 Q F2(command)2.5 E F0([)2.5 E F2(ar)2.5 E(gs)-.37 +E F0(... ])2.5 E(The \214rst form lists the acti)144 583.2 Q .3 -.15 +(ve j)-.25 H 2.5(obs. The).15 F(options ha)2.5 E .3 -.15(ve t)-.2 H +(he follo).15 E(wing meanings:)-.25 E F1144 595.2 Q F0 +(List process IDs in addition to the normal information.)180 595.2 Q F1 +144 607.2 Q F0 .194(Display information only about jobs that ha) +180 607.2 R .494 -.15(ve c)-.2 H .193(hanged status since the user w).15 +F .193(as last noti-)-.1 F(\214ed of their status.)180 619.2 Q F1 +144 631.2 Q F0(List only the process ID of the job')180 631.2 Q 2.5(sp) +-.55 G(rocess group leader)-2.5 E(.)-.55 E F1144 643.2 Q F0 +(Display only running jobs.)180 643.2 Q F1144 655.2 Q F0 +(Display only stopped jobs.)180 655.2 Q(If)144 672 Q F2(jobspec)4.553 E +F0 .313(is gi)3.123 F -.15(ve)-.25 G .313 (n, output is restricted to information about that job).15 F 5.314(.T) --.4 G .314(he return status is 0 unless)-5.314 F(an in)144 614.4 Q -.25 +-.4 G .314(he return status is 0 unless)-5.314 F(an in)144 684 Q -.25 (va)-.4 G(lid option is encountered or an in).25 E -.25(va)-.4 G(lid).25 -E F2(jobspec)4.24 E F0(is supplied.)2.81 E .395(If the)144 631.2 R F1 +E F2(jobspec)4.24 E F0(is supplied.)2.81 E .395(If the)144 700.8 R F1 2.895 E F0 .394(option is supplied,)2.894 F F1(jobs)2.894 E F0 .394(replaces an)2.894 F(y)-.15 E F2(jobspec)4.634 E F0 .394(found in) 3.204 F F2(command)3.094 E F0(or)3.664 E F2(ar)3.224 E(gs)-.37 E F0 .394 -(with the corre-)3.164 F(sponding process group ID, and e)144 643.2 Q +(with the corre-)3.164 F(sponding process group ID, and e)144 712.8 Q -.15(xe)-.15 G(cutes).15 E F2(command)2.7 E F0(passing it)3.27 E F2(ar) 2.5 E(gs)-.37 E F0 2.5(,r).27 G(eturning its e)-2.5 E(xit status.)-.15 E -F1(kill)108 660 Q F0([)2.5 E F1A F2(sigspec)2.5 E F0(|)2.5 E F1 +(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(10)198.725 E 0 Cg EP +%%Page: 11 11 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(kill)108 84 Q F0([) +2.5 E F1A/F2 10/Times-Italic@0 SF(sigspec)2.5 E F0(|)2.5 E F1 2.5 E F2(signum)2.5 E F0(|)2.5 E F12.5 E F2(sigspec)A F0 2.5 (][)C F2(pid)-2.5 E F0(|)2.5 E F2(jobspec)2.5 E F0 2.5(].)C(..)-2.5 E F1 -(kill \255l)108 672 Q F0([)2.5 E F2(sigspec)A F0(|)2.5 E F2 -.2(ex)2.5 G -(it_status).2 E F0(])A .119(Send the signal named by)144 684 R F2 -(sigspec)2.959 E F0(or)2.929 E F2(signum)2.959 E F0 .119 +(kill \255l)108 96 Q F0(|)A F1A F0([)2.5 E F2(sigspec)A F0(|)2.5 E +F2 -.2(ex)2.5 G(it_status).2 E F0(])A .119(Send the signal named by)144 +108 R F2(sigspec)2.959 E F0(or)2.929 E F2(signum)2.959 E F0 .119 (to the processes named by)2.939 F F2(pid)3.87 E F0(or)3.39 E F2 (jobspec)2.62 E F0(.).31 E F2(sigspec)5.46 E F0(is)2.93 E .319 -(either a case-insensiti)144 696 R .619 -.15(ve s)-.25 H .319 -(ignal name such as).15 F F3(SIGKILL)2.819 E F0 .318 +(either a case-insensiti)144 120 R .619 -.15(ve s)-.25 H .319 +(ignal name such as).15 F/F3 9/Times-Bold@0 SF(SIGKILL)2.819 E F0 .318 (\(with or without the)2.569 F F3(SIG)2.818 E F0 .318 -(pre\214x\) or a signal)2.568 F(number;)144 708 Q F2(signum)4.188 E F0 +(pre\214x\) or a signal)2.568 F(number;)144 132 Q F2(signum)4.188 E F0 1.349(is a signal number)4.168 F 6.349(.I)-.55 G(f)-6.349 E F2(sigspec) 4.189 E F0 1.349(is not present, then)4.159 F F3(SIGTERM)3.849 E F0 -1.349(is assumed.)3.599 F(An)6.349 E(ar)144 720 Q .523(gument of)-.18 F +1.349(is assumed.)3.599 F(An)6.349 E(ar)144 144 Q .523(gument of)-.18 F F13.023 E F0 .523(lists the signal names.)3.023 F .523(If an)5.523 F 3.023(ya)-.15 G -.18(rg)-3.023 G .523(uments are supplied when).18 F F13.023 E F0 .523(is gi)3.023 F -.15(ve)-.25 G .523(n, the names) -.15 F(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(10)198.725 E 0 Cg EP -%%Page: 11 11 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .28 -(of the signals corresponding to the ar)144 84 R .28 -(guments are listed, and the return status is 0.)-.18 F(The)5.28 E/F1 10 -/Times-Italic@0 SF -.2(ex)2.78 G(it_status).2 E F0(ar)144 96 Q .378 -(gument to)-.18 F/F2 10/Times-Bold@0 SF2.878 E F0 .378 +.15 F .28(of the signals corresponding to the ar)144 156 R .28 +(guments are listed, and the return status is 0.)-.18 F(The)5.28 E F2 +-.2(ex)2.78 G(it_status).2 E F0(ar)144 168 Q .378(gument to)-.18 F F1 +2.878 E F0 .378 (is a number specifying either a signal number or the e)2.878 F .377 -(xit status of a process termi-)-.15 F .593(nated by a signal.)144 108 R -F2(kill)5.593 E F0 .593(returns true if at least one signal w)3.093 F -.593(as successfully sent, or f)-.1 F .594(alse if an error)-.1 F -(occurs or an in)144 120 Q -.25(va)-.4 G(lid option is encountered.).25 -E F2(let)108 136.8 Q F1(ar)2.5 E(g)-.37 E F0([)2.5 E F1(ar)A(g)-.37 E F0 -(...])2.5 E(Each)144 148.8 Q F1(ar)3.027 E(g)-.37 E F0 .197 -(is an arithmetic e)2.917 F .197(xpression to be e)-.15 F -.25(va)-.25 G -.196(luated \(see).25 F/F3 9/Times-Bold@0 SF .196(ARITHMETIC EV)2.696 F -(ALU)-1.215 E -.855(AT)-.54 G(ION).855 E F0(abo)2.446 E -.15(ve)-.15 G -2.696(\). If).15 F(the last)144 160.8 Q F1(ar)2.83 E(g)-.37 E F0 -.25 -(eva)2.72 G(luates to 0,).25 E F2(let)2.5 E F0 -(returns 1; 0 is returned otherwise.)2.5 E F2(local)108 177.6 Q F0([)2.5 -E F1(option)A F0 2.5(][)C F1(name)-2.5 E F0([=)A F1(value)A F0 2.5(].)C -(..])-2.5 E -.15(Fo)144 189.6 S 2.56(re).15 G .06(ach ar)-2.56 F .06 -(gument, a local v)-.18 F .06(ariable named)-.25 F F1(name)2.92 E F0 .06 -(is created, and assigned)2.74 F F1(value)2.56 E F0 5.06(.T).18 G(he) --5.06 E F1(option)2.56 E F0 .06(can be)2.56 F(an)144 201.6 Q 3.153(yo) --.15 G 3.153(ft)-3.153 G .653(he options accepted by)-3.153 F F2(declar) -3.153 E(e)-.18 E F0 5.652(.W)C(hen)-5.652 E F2(local)3.152 E F0 .652 +(xit status of a process termi-)-.15 F .962(nated by a signal.)144 180 R +(The)5.962 E F13.462 E F0 .962(option is equi)3.462 F -.25(va)-.25 +G .962(lent to).25 F F13.462 E F0(.)A F1(kill)5.962 E F0 .962 +(returns true if at least one signal w)3.462 F(as)-.1 E +(successfully sent, or f)144 192 Q(alse if an error occurs or an in)-.1 +E -.25(va)-.4 G(lid option is encountered.).25 E F1(let)108 208.8 Q F2 +(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A(g)-.37 E F0(...])2.5 E(Each)144 +220.8 Q F2(ar)3.027 E(g)-.37 E F0 .197(is an arithmetic e)2.917 F .197 +(xpression to be e)-.15 F -.25(va)-.25 G .196(luated \(see).25 F F3 .196 +(ARITHMETIC EV)2.696 F(ALU)-1.215 E -.855(AT)-.54 G(ION).855 E F0(abo) +2.446 E -.15(ve)-.15 G 2.696(\). If).15 F(the last)144 232.8 Q F2(ar) +2.83 E(g)-.37 E F0 -.25(eva)2.72 G(luates to 0,).25 E F1(let)2.5 E F0 +(returns 1; 0 is returned otherwise.)2.5 E F1(local)108 249.6 Q F0([)2.5 +E F2(option)A F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C +(.. | \255 ])-2.5 E -.15(Fo)144 261.6 S 2.56(re).15 G .06(ach ar)-2.56 F +.06(gument, a local v)-.18 F .06(ariable named)-.25 F F2(name)2.92 E F0 +.06(is created, and assigned)2.74 F F2(value)2.56 E F0 5.06(.T).18 G(he) +-5.06 E F2(option)2.56 E F0 .06(can be)2.56 F(an)144 273.6 Q 3.153(yo) +-.15 G 3.153(ft)-3.153 G .653(he options accepted by)-3.153 F F1(declar) +3.153 E(e)-.18 E F0 5.652(.W)C(hen)-5.652 E F1(local)3.152 E F0 .652 (is used within a function, it causes the v)3.152 F(ari-)-.25 E(able)144 -213.6 Q F1(name)3.72 E F0 .86(to ha)3.54 F 1.16 -.15(ve a v)-.2 H .861 -(isible scope restricted to that function and its children.).15 F -.4 -(Wi)5.861 G .861(th no operands,).4 F F2(local)144 225.6 Q F0 1.165 -(writes a list of local v)3.665 F 1.165 -(ariables to the standard output.)-.25 F 1.165(It is an error to use) -6.165 F F2(local)3.664 E F0 1.164(when not)3.664 F .232 -(within a function.)144 237.6 R .233(The return status is 0 unless)5.232 -F F2(local)2.733 E F0 .233(is used outside a function, an in)2.733 F --.25(va)-.4 G(lid).25 E F1(name)3.093 E F0(is)2.913 E(supplied, or)144 -249.6 Q F1(name)2.5 E F0(is a readonly v)2.5 E(ariable.)-.25 E F2 -(logout)108 266.4 Q F0(Exit a login shell.)9.33 E F2(map\214le)108 283.2 -Q F0([)2.5 E F2A F1(count)2.5 E F0 2.5(][)C F2-2.5 E F1 -(origin)2.5 E F0 2.5(][)C F2-2.5 E F1(count)2.5 E F0 2.5(][)C F2 --2.5 E F0 2.5(][)C F2-2.5 E F1(fd)2.5 E F0 2.5(][)C F2 --2.5 E F1(callbac)2.5 E(k)-.2 E F0 2.5(][)C F2-2.5 E F1(quantum) -2.5 E F0 2.5(][)C F1(arr)-2.5 E(ay)-.15 E F0(])A F2 -.18(re)108 295.2 S -(adarray).18 E F0([)2.5 E F2A F1(count)2.5 E F0 2.5(][)C F2 --2.5 E F1(origin)2.5 E F0 2.5(][)C F2-2.5 E F1(count)2.5 E F0 2.5 -(][)C F2-2.5 E F0 2.5(][)C F2-2.5 E F1(fd)2.5 E F0 2.5(][)C -F2-2.5 E F1(callbac)2.5 E(k)-.2 E F0 2.5(][)C F2-2.5 E F1 -(quantum)2.5 E F0 2.5(][)C F1(arr)-2.5 E(ay)-.15 E F0(])A .351 -(Read lines from the standard input into the inde)144 307.2 R -.15(xe) --.15 G 2.851(da).15 G .351(rray v)-2.851 F(ariable)-.25 E F1(arr)2.85 E -(ay)-.15 E F0 2.85(,o).32 G 2.85(rf)-2.85 G .35(rom \214le descriptor) --2.85 F F1(fd)2.85 E F0 1.248(if the)144 319.2 R F23.748 E F0 -1.248(option is supplied.)3.748 F 1.249(The v)6.249 F(ariable)-.25 E F3 -(MAPFILE)3.749 E F0 1.249(is the def)3.499 F(ault)-.1 E F1(arr)3.749 E -(ay)-.15 E F0 6.249(.O)C 1.249(ptions, if supplied,)-6.249 F(ha)144 -331.2 Q .3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F2 -144 343.2 Q F0(Cop)24.74 E 2.5(ya)-.1 G 2.5(tm)-2.5 G(ost)-2.5 E F1 -(count)2.7 E F0 2.5(lines. If)3.18 F F1(count)2.5 E F0 -(is 0, all lines are copied.)2.5 E F2144 355.2 Q F0(Be)22.52 E -(gin assigning to)-.15 E F1(arr)2.83 E(ay)-.15 E F0(at inde)2.82 E(x) --.15 E F1(origin)2.5 E F0 5(.T).24 G(he def)-5 E(ault inde)-.1 E 2.5(xi) --.15 G 2.5(s0)-2.5 G(.)-2.5 E F2144 367.2 Q F0 -(Discard the \214rst)26.41 E F1(count)2.5 E F0(lines read.)2.5 E F2 -144 379.2 Q F0(Remo)26.97 E .3 -.15(ve a t)-.15 H(railing ne).15 E -(wline from each line read.)-.25 E F2144 391.2 Q F0 -(Read lines from \214le descriptor)24.74 E F1(fd)2.5 E F0 -(instead of the standard input.)2.5 E F2144 403.2 Q F0(Ev)23.08 E -(aluate)-.25 E F1(callbac)2.7 E(k)-.2 E F0(each time)3.17 E F1(quantum) -2.5 E F0(lines are read.)2.5 E(The)5 E F22.5 E F0 -(option speci\214es)2.5 E F1(quantum)2.5 E F0(.).32 E F2144 415.2 -Q F0(Specify the number of lines read between each call to)25.86 E F1 -(callbac)2.5 E(k)-.2 E F0(.).67 E(If)144 432 Q F22.968 E F0 .467 -(is speci\214ed without)2.967 F F22.967 E F0 2.967(,t)C .467 -(he def)-2.967 F .467(ault quantum is 5000.)-.1 F(When)5.467 E F1 +285.6 Q F2(name)3.281 E F0 .421(to ha)3.101 F .721 -.15(ve a v)-.2 H +.422(isible scope restricted to that function and its children.).15 F +(If)5.422 E F2(name)2.922 E F0 .422(is \255, the set)2.922 F 1.461 +(of shell options is made local to the function in which)144 297.6 R F1 +(local)3.961 E F0 1.461(is in)3.961 F -.2(vo)-.4 G -.1(ke).2 G 1.461 +(d: shell options changed).1 F 1.562(using the)144 309.6 R F1(set)4.062 +E F0 -.2(bu)4.062 G 1.563 +(iltin inside the function are restored to their original v).2 F 1.563 +(alues when the function)-.25 F 3.744(returns. W)144 321.6 R 1.244 +(ith no operands,)-.4 F F1(local)3.744 E F0 1.244 +(writes a list of local v)3.744 F 1.243 +(ariables to the standard output.)-.25 F 1.243(It is an)6.243 F .42 +(error to use)144 333.6 R F1(local)2.92 E F0 .42 +(when not within a function.)2.92 F .42(The return status is 0 unless) +5.42 F F1(local)2.92 E F0 .42(is used outside a)2.92 F(function, an in) +144 345.6 Q -.25(va)-.4 G(lid).25 E F2(name)2.86 E F0(is supplied, or) +2.68 E F2(name)2.5 E F0(is a readonly v)2.5 E(ariable.)-.25 E F1(logout) +108 362.4 Q F0(Exit a login shell.)144 362.4 Q F1(map\214le)108 379.2 Q +F0([)2.5 E F1A F2(delim)2.5 E F0 2.5(][)C F1-2.5 E F2(count) +2.5 E F0 2.5(][)C F1-2.5 E F2(origin)2.5 E F0 2.5(][)C F1 +-2.5 E F2(count)2.5 E F0 2.5(][)C F1-2.5 E F0 2.5(][)C F1 +-2.5 E F2(fd)2.5 E F0 2.5(][)C F1-2.5 E F2(callbac)2.5 E(k)-.2 E +F0 2.5(][)C F1-2.5 E F2(quantum)2.5 E F0 2.5(][)C F2(arr)-2.5 E +(ay)-.15 E F0(])A F1 -.18(re)108 391.2 S(adarray).18 E F0([)2.5 E F1 +A F2(delim)2.5 E F0 2.5(][)C F1-2.5 E F2(count)2.5 E F0 2.5 +(][)C F1-2.5 E F2(origin)2.5 E F0 2.5(][)C F1-2.5 E F2 +(count)2.5 E F0 2.5(][)C F1-2.5 E F0 2.5(][)C F1-2.5 E F2 +(fd)2.5 E F0 2.5(][)C F1-2.5 E F2(callbac)2.5 E(k)-.2 E F0 2.5(][) +C F1-2.5 E F2(quantum)2.5 E F0 2.5(][)C F2(arr)-2.5 E(ay)-.15 E F0 +(])A .351(Read lines from the standard input into the inde)144 403.2 R +-.15(xe)-.15 G 2.851(da).15 G .351(rray v)-2.851 F(ariable)-.25 E F2 +(arr)2.85 E(ay)-.15 E F0 2.85(,o).32 G 2.85(rf)-2.85 G .35 +(rom \214le descriptor)-2.85 F F2(fd)2.85 E F0 1.248(if the)144 415.2 R +F13.748 E F0 1.248(option is supplied.)3.748 F 1.249(The v)6.249 F +(ariable)-.25 E F3(MAPFILE)3.749 E F0 1.249(is the def)3.499 F(ault)-.1 +E F2(arr)3.749 E(ay)-.15 E F0 6.249(.O)C 1.249(ptions, if supplied,) +-6.249 F(ha)144 427.2 Q .3 -.15(ve t)-.2 H(he follo).15 E +(wing meanings:)-.25 E F1144 439.2 Q F0(The \214rst character of) +180 439.2 Q F2(delim)2.5 E F0 +(is used to terminate each input line, rather than ne)2.5 E(wline.)-.25 +E F1144 451.2 Q F0(Cop)180 451.2 Q 2.5(ya)-.1 G 2.5(tm)-2.5 G(ost) +-2.5 E F2(count)2.7 E F0 2.5(lines. If)3.18 F F2(count)2.5 E F0 +(is 0, all lines are copied.)2.5 E F1144 463.2 Q F0(Be)180 463.2 Q +(gin assigning to)-.15 E F2(arr)2.83 E(ay)-.15 E F0(at inde)2.82 E(x) +-.15 E F2(origin)2.5 E F0 5(.T).24 G(he def)-5 E(ault inde)-.1 E 2.5(xi) +-.15 G 2.5(s0)-2.5 G(.)-2.5 E F1144 475.2 Q F0 +(Discard the \214rst)180 475.2 Q F2(count)2.5 E F0(lines read.)2.5 E F1 +144 487.2 Q F0(Remo)180 487.2 Q .3 -.15(ve a t)-.15 H(railing).15 +E F2(delim)2.5 E F0(\(def)2.5 E(ault ne)-.1 E +(wline\) from each line read.)-.25 E F1144 499.2 Q F0 +(Read lines from \214le descriptor)180 499.2 Q F2(fd)2.5 E F0 +(instead of the standard input.)2.5 E F1144 511.2 Q F0(Ev)180 +511.2 Q(aluate)-.25 E F2(callbac)2.7 E(k)-.2 E F0(each time)3.17 E F2 +(quantum)2.5 E F0(lines are read.)2.5 E(The)5 E F12.5 E F0 +(option speci\214es)2.5 E F2(quantum)2.5 E F0(.).32 E F1144 523.2 +Q F0(Specify the number of lines read between each call to)180 523.2 Q +F2(callbac)2.5 E(k)-.2 E F0(.).67 E(If)144 540 Q F12.968 E F0 .467 +(is speci\214ed without)2.967 F F12.967 E F0 2.967(,t)C .467 +(he def)-2.967 F .467(ault quantum is 5000.)-.1 F(When)5.467 E F2 (callbac)2.967 E(k)-.2 E F0 .467(is e)2.967 F -.25(va)-.25 G .467 -(luated, it is sup-).25 F .261(plied the inde)144 444 R 2.761(xo)-.15 G +(luated, it is sup-).25 F .261(plied the inde)144 552 R 2.761(xo)-.15 G 2.761(ft)-2.761 G .261(he ne)-2.761 F .262(xt array element to be assig\ ned and the line to be assigned to that element)-.15 F .275 -(as additional ar)144 456 R(guments.)-.18 E F1(callbac)5.275 E(k)-.2 E +(as additional ar)144 564 R(guments.)-.18 E F2(callbac)5.275 E(k)-.2 E F0 .275(is e)2.775 F -.25(va)-.25 G .274 (luated after the line is read b).25 F .274 -(ut before the array element is)-.2 F(assigned.)144 468 Q -(If not supplied with an e)144 484.8 Q(xplicit origin,)-.15 E F2 -(map\214le)2.5 E F0(will clear)2.5 E F1(arr)2.5 E(ay)-.15 E F0 -(before assigning to it.)2.5 E F2(map\214le)144 501.6 Q F0 1.905 +(ut before the array element is)-.2 F(assigned.)144 576 Q +(If not supplied with an e)144 592.8 Q(xplicit origin,)-.15 E F1 +(map\214le)2.5 E F0(will clear)2.5 E F2(arr)2.5 E(ay)-.15 E F0 +(before assigning to it.)2.5 E F1(map\214le)144 609.6 Q F0 1.905 (returns successfully unless an in)4.405 F -.25(va)-.4 G 1.905 -(lid option or option ar).25 F 1.906(gument is supplied,)-.18 F F1(arr) -4.406 E(ay)-.15 E F0(is)4.406 E(in)144 513.6 Q -.25(va)-.4 G -(lid or unassignable, or if).25 E F1(arr)2.5 E(ay)-.15 E F0 +(lid option or option ar).25 F 1.906(gument is supplied,)-.18 F F2(arr) +4.406 E(ay)-.15 E F0(is)4.406 E(in)144 621.6 Q -.25(va)-.4 G +(lid or unassignable, or if).25 E F2(arr)2.5 E(ay)-.15 E F0 (is not an inde)2.5 E -.15(xe)-.15 G 2.5(da).15 G(rray)-2.5 E(.)-.65 E -F2(popd)108 530.4 Q F0<5bad>2.5 E F2(n)A F0 2.5(][)C(+)-2.5 E F1(n)A F0 -2.5(][)C-2.5 E F1(n)A F0(])A(Remo)144 542.4 Q -.15(ve)-.15 G 2.8(se) +F1(popd)108 638.4 Q F0<5bad>2.5 E F1(n)A F0 2.5(][)C(+)-2.5 E F2(n)A F0 +2.5(][)C-2.5 E F2(n)A F0(])A(Remo)144 650.4 Q -.15(ve)-.15 G 2.8(se) .15 G .3(ntries from the directory stack.)-2.8 F -.4(Wi)5.299 G .299 (th no ar).4 F .299(guments, remo)-.18 F -.15(ve)-.15 G 2.799(st).15 G .299(he top directory from the)-2.799 F 1.478(stack, and performs a)144 -554.4 R F2(cd)3.978 E F0 1.479(to the ne)3.978 F 3.979(wt)-.25 G 1.479 +662.4 R F1(cd)3.978 E F0 1.479(to the ne)3.978 F 3.979(wt)-.25 G 1.479 (op directory)-3.979 F 6.479(.A)-.65 G -.18(rg)-6.479 G 1.479 (uments, if supplied, ha).18 F 1.779 -.15(ve t)-.2 H 1.479(he follo).15 -F(wing)-.25 E(meanings:)144 566.4 Q F2144 578.4 Q F0 .551 -(Suppresses the normal change of directory when remo)24.74 F .551 +F(wing)-.25 E(meanings:)144 674.4 Q F1144 686.4 Q F0 .551 +(Suppresses the normal change of directory when remo)180 686.4 R .551 (ving directories from the stack, so)-.15 F -(that only the stack is manipulated.)180 590.4 Q F2(+)144 602.4 Q F1(n)A -F0(Remo)25.3 E -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F1(n)2.64 E F0 -.14(th entry counting from the left of the list sho)B .14(wn by)-.25 F -F2(dirs)2.64 E F0 2.64(,s)C .14(tarting with zero.)-2.64 F -.15(Fo)180 -614.4 S 2.5(re).15 G(xample:)-2.65 E/F4 10/Courier@0 SF(popd +0)2.5 E F0 +(that only the stack is manipulated.)180 698.4 Q F1(+)144 710.4 Q F2(n)A +F0(Remo)180 710.4 Q -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F2(n)2.64 E +F0 .14(th entry counting from the left of the list sho)B .14(wn by)-.25 +F F1(dirs)2.64 E F0 2.64(,s)C .14(tarting with zero.)-2.64 F -.15(Fo)180 +722.4 S 2.5(re).15 G(xample:)-2.65 E/F4 10/Courier@0 SF(popd +0)2.5 E F0 (remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he \214rst directory)-2.5 E(,) --.65 E F4(popd +1)2.5 E F0(the second.)2.5 E F2144 626.4 Q F1(n)A F0 -(Remo)25.3 E -.15(ve)-.15 G 3.76(st).15 G(he)-3.76 E F1(n)3.76 E F0 -1.259(th entry counting from the right of the list sho)B 1.259(wn by) --.25 F F2(dirs)3.759 E F0 3.759(,s)C 1.259(tarting with)-3.759 F 2.5 -(zero. F)180 638.4 R(or e)-.15 E(xample:)-.15 E F4(popd -0)2.5 E F0 +-.65 E F4(popd +1)2.5 E F0(the second.)2.5 E(GNU Bash-4.2)72 768 Q +(2004 Apr 20)148.735 E(11)198.725 E 0 Cg EP +%%Page: 12 12 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF144 84 Q/F2 10 +/Times-Italic@0 SF(n)A F0(Remo)180 84 Q -.15(ve)-.15 G 3.76(st).15 G(he) +-3.76 E F2(n)3.76 E F0 1.259 +(th entry counting from the right of the list sho)B 1.259(wn by)-.25 F +F1(dirs)3.759 E F0 3.759(,s)C 1.259(tarting with)-3.759 F 2.5(zero. F) +180 96 R(or e)-.15 E(xample:)-.15 E/F3 10/Courier@0 SF(popd -0)2.5 E F0 (remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he last directory)-2.5 E(,)-.65 -E F4(popd -1)2.5 E F0(the ne)2.5 E(xt to last.)-.15 E .643(If the)144 -655.2 R F2(popd)3.143 E F0 .643(command is successful, a)3.143 F F2 +E F3(popd -1)2.5 E F0(the ne)2.5 E(xt to last.)-.15 E .643(If the)144 +112.8 R F1(popd)3.143 E F0 .643(command is successful, a)3.143 F F1 (dirs)3.143 E F0 .644(is performed as well, and the return status is 0.) -3.143 F F2(popd)5.644 E F0 .416(returns f)144 667.2 R .416 +3.143 F F1(popd)5.644 E F0 .416(returns f)144 124.8 R .416 (alse if an in)-.1 F -.25(va)-.4 G .415 (lid option is encountered, the directory stack is empty).25 F 2.915 (,an)-.65 G(on-e)-2.915 E .415(xistent direc-)-.15 F -(tory stack entry is speci\214ed, or the directory change f)144 679.2 Q -(ails.)-.1 E F2(printf)108 696 Q F0([)2.5 E F2A F1(var)2.5 E F0(]) -A F1(format)2.5 E F0([)2.5 E F1(ar)A(guments)-.37 E F0(])A 1.436 -(Write the formatted)144 708 R F1(ar)3.936 E(guments)-.37 E F0 1.437 -(to the standard output under the control of the)3.936 F F1(format)3.937 -E F0 6.437(.T)C(he)-6.437 E F23.937 E F0 .126 -(option causes the output to be assigned to the v)144 720 R(ariable)-.25 -E F1(var)2.626 E F0 .126(rather than being printed to the standard)2.626 -F(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(11)198.725 E 0 Cg EP -%%Page: 12 12 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(output.)144 -84 Q(The)144 108 Q/F1 10/Times-Italic@0 SF(format)3.017 E F0 .517(is a \ -character string which contains three types of objects: plain character\ -s, which are)3.017 F .704(simply copied to standard output, character e\ -scape sequences, which are con)144 120 R -.15(ve)-.4 G .703 +(tory stack entry is speci\214ed, or the directory change f)144 136.8 Q +(ails.)-.1 E F1(printf)108 153.6 Q F0([)2.5 E F1A F2(var)2.5 E F0 +(])A F2(format)2.5 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A 1.436 +(Write the formatted)144 165.6 R F2(ar)3.936 E(guments)-.37 E F0 1.437 +(to the standard output under the control of the)3.936 F F2(format)3.937 +E F0 6.437(.T)C(he)-6.437 E F13.937 E F0 .126 +(option causes the output to be assigned to the v)144 177.6 R(ariable) +-.25 E F2(var)2.626 E F0 .126(rather than being printed to the standard) +2.626 F(output.)144 189.6 Q(The)144 213.6 Q F2(format)3.017 E F0 .517(i\ +s a character string which contains three types of objects: plain chara\ +cters, which are)3.017 F .704(simply copied to standard output, charact\ +er escape sequences, which are con)144 225.6 R -.15(ve)-.4 G .703 (rted and copied to).15 F .036(the standard output, and format speci\ -\214cations, each of which causes printing of the ne)144 132 R .037 -(xt successi)-.15 F -.15(ve)-.25 G F1(ar)144 144 Q(gument)-.37 E F0 -5.532(.I)C 3.032(na)-5.532 G .532(ddition to the standard)-3.032 F F1 -(printf)3.032 E F0 .532(\(1\) format speci\214cations,)B/F2 10 -/Times-Bold@0 SF(printf)3.031 E F0 .531(interprets the follo)3.031 F(w-) --.25 E(ing e)144 156 Q(xtensions:)-.15 E F2(%b)144 168 Q F0(causes)20.44 -E F2(printf)5.115 E F0 2.615(to e)5.115 F 2.615 -(xpand backslash escape sequences in the corresponding)-.15 F F1(ar) -5.115 E(gument)-.37 E F0(\(e)180 180 Q .608(xcept that)-.15 F F2(\\c) -3.108 E F0 .608(terminates output, backslashes in)3.108 F F2<5c08>3.108 -E F0(,)A F2(\\")3.108 E F0 3.108(,a)C(nd)-3.108 E F2(\\?)3.108 E F0 .608 -(are not remo)3.108 F -.15(ve)-.15 G .608(d, and octal).15 F(escapes be) -180 192 Q(ginning with)-.15 E F2(\\0)2.5 E F0 -(may contain up to four digits\).)2.5 E F2(%q)144 204 Q F0(causes)20.44 -E F2(printf)2.51 E F0 .01(to output the corresponding)2.51 F F1(ar)2.51 -E(gument)-.37 E F0 .01(in a format that can be reused as shell)2.51 F -(input.)180 216 Q F2(%\()144 228 Q F1(datefmt)A F2(\)T)A F0(causes)180 -240 Q F2(printf)4.404 E F0 1.904 -(to output the date-time string resulting from using)4.404 F F1(datefmt) -4.404 E F0 1.903(as a format)4.404 F .38(string for)180 252 R F1 -(strftime)2.881 E F0 2.881(\(3\). The)B(corresponding)2.881 E F1(ar) +\214cations, each of which causes printing of the ne)144 237.6 R .037 +(xt successi)-.15 F -.15(ve)-.25 G F2(ar)144 249.6 Q(gument)-.37 E F0 +5.532(.I)C 3.032(na)-5.532 G .532(ddition to the standard)-3.032 F F2 +(printf)3.032 E F0 .532(\(1\) format speci\214cations,)B F1(printf)3.031 +E F0 .531(interprets the follo)3.031 F(w-)-.25 E(ing e)144 261.6 Q +(xtensions:)-.15 E F1(%b)144 273.6 Q F0(causes)180 273.6 Q F1(printf) +2.595 E F0 .096(to e)2.595 F .096 +(xpand backslash escape sequences in the corresponding)-.15 F F2(ar) +2.596 E(gument)-.37 E F0 .096(in the)2.596 F(same w)180 285.6 Q(ay as) +-.1 E F1(echo \255e)2.5 E F0(.)A F1(%q)144 297.6 Q F0(causes)180 297.6 Q +F1(printf)2.51 E F0 .01(to output the corresponding)2.51 F F2(ar)2.51 E +(gument)-.37 E F0 .01(in a format that can be reused as shell)2.51 F +(input.)180 309.6 Q F1(%\()144 321.6 Q F2(datefmt)A F1(\)T)A F0(causes) +180 333.6 Q F1(printf)4.403 E F0 1.904 +(to output the date-time string resulting from using)4.403 F F2(datefmt) +4.404 E F0 1.904(as a format)4.404 F .381(string for)180 345.6 R F2 +(strftime)2.881 E F0 2.881(\(3\). The)B(corresponding)2.881 E F2(ar) 2.881 E(gument)-.37 E F0 .381(is an inte)2.881 F .381 -(ger representing the number)-.15 F .458(of seconds since the epoch.)180 -264 R -1 -.8(Tw o)5.458 H .458(special ar)3.758 F .458(gument v)-.18 F -.458(alues may be used: -1 represents the)-.25 F .847 -(current time, and -2 represents the time the shell w)180 276 R .847 -(as in)-.1 F -.2(vo)-.4 G -.1(ke).2 G 3.348(d. If).1 F .848(no ar)3.348 -F .848(gument is speci-)-.18 F .355(\214ed, con)180 288 R -.15(ve)-.4 G -.355(rsion beha).15 F -.15(ve)-.2 G 2.855(sa).15 G 2.855(si)-2.855 G -2.855(f-)-2.855 G 2.855(1h)-2.855 G .354(ad been gi)-2.855 F -.15(ve) --.25 G 2.854(n. This).15 F .354(is an e)2.854 F .354 -(xception to the usual)-.15 F F2(printf)2.854 E F0(beha)180 300 Q(vior) --.2 E(.)-.55 E(Ar)144 316.8 Q .463(guments to non-string format speci\ -\214ers are treated as C constants, e)-.18 F .464 -(xcept that a leading plus or)-.15 F 1.259(minus sign is allo)144 328.8 +(ger representing the number)-.15 F .457(of seconds since the epoch.)180 +357.6 R -1 -.8(Tw o)5.458 H .458(special ar)3.758 F .458(gument v)-.18 F +.458(alues may be used: -1 represents the)-.25 F .848 +(current time, and -2 represents the time the shell w)180 369.6 R .847 +(as in)-.1 F -.2(vo)-.4 G -.1(ke).2 G 3.347(d. If).1 F .847(no ar)3.347 +F .847(gument is speci-)-.18 F .354(\214ed, con)180 381.6 R -.15(ve)-.4 +G .354(rsion beha).15 F -.15(ve)-.2 G 2.854(sa).15 G 2.854(si)-2.854 G +2.854(f-)-2.854 G 2.854(1h)-2.854 G .354(ad been gi)-2.854 F -.15(ve) +-.25 G 2.854(n. This).15 F .355(is an e)2.854 F .355 +(xception to the usual)-.15 F F1(printf)2.855 E F0(beha)180 393.6 Q +(vior)-.2 E(.)-.55 E(Ar)144 410.4 Q .464(guments to non-string format s\ +peci\214ers are treated as C constants, e)-.18 F .463 +(xcept that a leading plus or)-.15 F 1.258(minus sign is allo)144 422.4 R 1.259 (wed, and if the leading character is a single or double quote, the v) --.25 F 1.258(alue is the)-.25 F(ASCII v)144 340.8 Q(alue of the follo) --.25 E(wing character)-.25 E(.)-.55 E(The)144 357.6 Q F1(format)3.423 E -F0 .923(is reused as necessary to consume all of the)3.423 F F1(ar)3.423 -E(guments)-.37 E F0 5.923(.I)C 3.423(ft)-5.923 G(he)-3.423 E F1(format) -3.423 E F0 .924(requires more)3.424 F F1(ar)144 369.6 Q(guments)-.37 E -F0 .033(than are supplied, the e)2.534 F .033 +-.25 F 1.259(alue is the)-.25 F(ASCII v)144 434.4 Q(alue of the follo) +-.25 E(wing character)-.25 E(.)-.55 E(The)144 451.2 Q F2(format)3.424 E +F0 .923(is reused as necessary to consume all of the)3.424 F F2(ar)3.423 +E(guments)-.37 E F0 5.923(.I)C 3.423(ft)-5.923 G(he)-3.423 E F2(format) +3.423 E F0 .923(requires more)3.423 F F2(ar)144 463.2 Q(guments)-.37 E +F0 .033(than are supplied, the e)2.533 F .033 (xtra format speci\214cations beha)-.15 F .333 -.15(ve a)-.2 H 2.533(si) -.15 G 2.533(faz)-2.533 G .033(ero v)-2.533 F .033(alue or null string,) --.25 F(as appropriate, had been supplied.)144 381.6 Q(The return v)5 E -(alue is zero on success, non-zero on f)-.25 E(ailure.)-.1 E F2(pushd) -108 398.4 Q F0([)2.5 E F2A F0 2.5(][)C(+)-2.5 E F1(n)A F0 2.5(][)C --2.5 E F1(n)A F0(])A F2(pushd)108 410.4 Q F0([)2.5 E F2A F0 -2.5(][)C F1(dir)-2.5 E F0(])A .639(Adds a directory to the top of the d\ -irectory stack, or rotates the stack, making the ne)144 422.4 R 3.14(wt) --.25 G .64(op of the)-3.14 F 1.316(stack the current w)144 434.4 R 1.316 -(orking directory)-.1 F 6.316(.W)-.65 G 1.315(ith no ar)-6.716 F 1.315 -(guments, e)-.18 F 1.315(xchanges the top tw)-.15 F 3.815(od)-.1 G 1.315 -(irectories and)-3.815 F .871 -(returns 0, unless the directory stack is empty)144 446.4 R 5.871(.A) --.65 G -.18(rg)-5.871 G .872(uments, if supplied, ha).18 F 1.172 -.15 -(ve t)-.2 H .872(he follo).15 F .872(wing mean-)-.25 F(ings:)144 458.4 Q -F2144 470.4 Q F0 .902(Suppresses the normal change of directory w\ -hen adding directories to the stack, so that)24.74 F -(only the stack is manipulated.)180 482.4 Q F2(+)144 494.4 Q F1(n)A F0 -1.267(Rotates the stack so that the)25.3 F F1(n)3.767 E F0 1.268 -(th directory \(counting from the left of the list sho)B 1.268(wn by) --.25 F F2(dirs)180 506.4 Q F0 2.5(,s)C -(tarting with zero\) is at the top.)-2.5 E F2144 518.4 Q F1(n)A F0 -.92(Rotates the stack so that the)25.3 F F1(n)3.42 E F0 .92 +.15 G 2.533(faz)-2.533 G .033(ero v)-2.533 F .034(alue or null string,) +-.25 F(as appropriate, had been supplied.)144 475.2 Q(The return v)5 E +(alue is zero on success, non-zero on f)-.25 E(ailure.)-.1 E F1(pushd) +108 492 Q F0([)2.5 E F1A F0 2.5(][)C(+)-2.5 E F2(n)A F0 2.5(][)C +-2.5 E F2(n)A F0(])A F1(pushd)108 504 Q F0([)2.5 E F1A F0 2.5 +(][)C F2(dir)-2.5 E F0(])A .64(Adds a directory to the top of the direc\ +tory stack, or rotates the stack, making the ne)144 516 R 3.139(wt)-.25 +G .639(op of the)-3.139 F .416(stack the current w)144 528 R .416 +(orking directory)-.1 F 5.416(.W)-.65 G .416(ith no ar)-5.816 F +(guments,)-.18 E F1(pushd)2.916 E F0 -.15(ex)2.916 G .416 +(changes the top tw).15 F 2.917(od)-.1 G(irectories)-2.917 E 1.625 +(and returns 0, unless the directory stack is empty)144 540 R 6.625(.A) +-.65 G -.18(rg)-6.625 G 1.625(uments, if supplied, ha).18 F 1.925 -.15 +(ve t)-.2 H 1.625(he follo).15 F(wing)-.25 E(meanings:)144 552 Q F1 +144 564 Q F0 1.811(Suppresses the normal change of directory when\ + rotating or adding directories to the)180 564 R +(stack, so that only the stack is manipulated.)180 576 Q F1(+)144 588 Q +F2(n)A F0 1.268(Rotates the stack so that the)180 588 R F2(n)3.768 E F0 +1.267(th directory \(counting from the left of the list sho)B 1.267 +(wn by)-.25 F F1(dirs)180 600 Q F0 2.5(,s)C +(tarting with zero\) is at the top.)-2.5 E F1144 612 Q F2(n)A F0 .92 +(Rotates the stack so that the)180 612 R F2(n)3.42 E F0 .92 (th directory \(counting from the right of the list sho)B .92(wn by)-.25 -F F2(dirs)180 530.4 Q F0 2.5(,s)C(tarting with zero\) is at the top.) --2.5 E F1(dir)144.35 542.4 Q F0(Adds)23.98 E F1(dir)3.137 E F0 .287 -(to the directory stack at the top, making it the ne)3.517 F 2.788(wc) --.25 G .288(urrent w)-2.788 F .288(orking directory as)-.1 F -(if it had been supplied as the ar)180 554.4 Q(gument to the)-.18 E F2 -(cd)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .489(If the)144 571.2 R F2(pushd) -2.989 E F0 .489(command is successful, a)2.989 F F2(dirs)2.988 E F0 .488 -(is performed as well.)2.988 F .488(If the \214rst form is used,)5.488 F -F2(pushd)2.988 E F0 1.039(returns 0 unless the cd to)144 583.2 R F1(dir) -3.889 E F0 -.1(fa)4.269 G 3.539(ils. W).1 F 1.039(ith the second form,) --.4 F F2(pushd)3.54 E F0 1.04(returns 0 unless the directory)3.54 F .847 -(stack is empty)144 595.2 R 3.347(,an)-.65 G(on-e)-3.347 E .847(xistent\ +F F1(dirs)180 624 Q F0 2.5(,s)C(tarting with zero\) is at the top.)-2.5 +E F2(dir)144.35 636 Q F0(Adds)180 636 Q F2(dir)3.138 E F0 .288 +(to the directory stack at the top, making it the ne)3.518 F 2.787(wc) +-.25 G .287(urrent w)-2.787 F .287(orking directory as)-.1 F +(if it had been supplied as the ar)180 648 Q(gument to the)-.18 E F1(cd) +2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .488(If the)144 664.8 R F1(pushd)2.988 +E F0 .488(command is successful, a)2.988 F F1(dirs)2.988 E F0 .488 +(is performed as well.)2.988 F .489(If the \214rst form is used,)5.488 F +F1(pushd)2.989 E F0 1.04(returns 0 unless the cd to)144 676.8 R F2(dir) +3.89 E F0 -.1(fa)4.27 G 3.539(ils. W).1 F 1.039(ith the second form,)-.4 +F F1(pushd)3.539 E F0 1.039(returns 0 unless the directory)3.539 F .846 +(stack is empty)144 688.8 R 3.346(,an)-.65 G(on-e)-3.346 E .847(xistent\ directory stack element is speci\214ed, or the directory change to the) --.15 F(speci\214ed ne)144 607.2 Q 2.5(wc)-.25 G(urrent directory f)-2.5 -E(ails.)-.1 E F2(pwd)108 624 Q F0([)2.5 E F2(\255LP)A F0(])A .844 -(Print the absolute pathname of the current w)144 636 R .845 -(orking directory)-.1 F 5.845(.T)-.65 G .845 -(he pathname printed contains no)-5.845 F .182(symbolic links if the)144 -648 R F22.681 E F0 .181(option is supplied or the)2.681 F F2 .181 -(\255o ph)2.681 F(ysical)-.15 E F0 .181(option to the)2.681 F F2(set) -2.681 E F0 -.2(bu)2.681 G .181(iltin command is).2 F 3.263(enabled. If) -144 660 R(the)3.263 E F23.263 E F0 .763 -(option is used, the pathname printed may contain symbolic links.)3.263 -F .764(The return)5.764 F 1.36(status is 0 unless an error occurs while\ - reading the name of the current directory or an in)144 672 R -.25(va) --.4 G(lid).25 E(option is supplied.)144 684 Q F2 -.18(re)108 700.8 S(ad) -.18 E F0([)3.816 E F2(\255ers)A F0 3.816(][)C F2-3.816 E F1(aname) -3.816 E F0 3.816(][)C F2-3.816 E F1(delim)3.816 E F0 3.816(][)C F2 --3.816 E F1(te)3.816 E(xt)-.2 E F0 3.816(][)C F2-3.816 E F1 -(nc)3.816 E(har)-.15 E(s)-.1 E F0 3.817(][)C F2-3.817 E F1(nc) -3.817 E(har)-.15 E(s)-.1 E F0 3.817(][)C F2-3.817 E F1(pr)3.817 E -(ompt)-.45 E F0 3.817(][)C F2-3.817 E F1(timeout)3.817 E F0 3.817 -(][)C F2-3.817 E F1(fd)3.817 E F0(])A([)108 712.8 Q F1(name)A F0 -(...])2.5 E .516(One line is read from the standard input, or from the \ -\214le descriptor)144 724.8 R F1(fd)3.016 E F0 .516(supplied as an ar) -3.016 F .517(gument to)-.18 F(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 -E(12)198.725 E 0 Cg EP +-.15 F(speci\214ed ne)144 700.8 Q 2.5(wc)-.25 G(urrent directory f)-2.5 +E(ails.)-.1 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(12)198.725 E 0 +Cg EP %%Page: 13 13 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(the)144 84 Q -/F1 10/Times-Bold@0 SF2.539 E F0 .039(option, and the \214rst w) -2.539 F .038(ord is assigned to the \214rst)-.1 F/F2 10/Times-Italic@0 -SF(name)2.538 E F0 2.538(,t).18 G .038(he second w)-2.538 F .038 -(ord to the second)-.1 F F2(name)2.538 E F0(,).18 E .42 -(and so on, with lefto)144 96 R -.15(ve)-.15 G 2.92(rw).15 G .42 -(ords and their interv)-3.02 F .42 -(ening separators assigned to the last)-.15 F F2(name)2.92 E F0 5.42(.I) -.18 G 2.92(ft)-5.42 G(here)-2.92 E .541(are fe)144 108 R .541(wer w)-.25 -F .541(ords read from the input stream than names, the remaining names \ -are assigned empty)-.1 F -.25(va)144 120 S 3.357(lues. The).25 F .857 -(characters in)3.357 F/F3 9/Times-Bold@0 SF(IFS)3.357 E F0 .857 -(are used to split the line into w)3.107 F .857 -(ords using the same rules the shell)-.1 F .754(uses for e)144 132 R -.753(xpansion \(described abo)-.15 F 1.053 -.15(ve u)-.15 H(nder).15 E -F1 -.75(Wo)3.253 G .753(rd Splitting).75 F F0 3.253(\). The)B .753 -(backslash character \()3.253 F F1(\\)A F0 3.253(\)m)C .753(ay be)-3.253 -F .075(used to remo)144 144 R .375 -.15(ve a)-.15 H .375 -.15(ny s).15 H -.075(pecial meaning for the ne).15 F .076 -(xt character read and for line continuation.)-.15 F(Options,)5.076 E -(if supplied, ha)144 156 Q .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F1144 168 Q F2(aname)2.5 E F0 1.05(The w) -180 180 R 1.049(ords are assigned to sequential indices of the array v) --.1 F(ariable)-.25 E F2(aname)3.549 E F0 3.549(,s).18 G 1.049 -(tarting at 0.)-3.549 F F2(aname)180.33 192 Q F0(is unset before an)2.68 -E 2.5(yn)-.15 G .5 -.25(ew va)-2.5 H(lues are assigned.).25 E(Other)5 E -F2(name)2.5 E F0(ar)2.5 E(guments are ignored.)-.18 E F1144 204 Q -F2(delim)2.5 E F0(The \214rst character of)180 216 Q F2(delim)2.5 E F0 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(pwd)108 84 Q F0([)2.5 +E F1(\255LP)A F0(])A .845(Print the absolute pathname of the current w) +144 96 R .845(orking directory)-.1 F 5.844(.T)-.65 G .844 +(he pathname printed contains no)-5.844 F .181(symbolic links if the)144 +108 R F12.681 E F0 .181(option is supplied or the)2.681 F F1 .181 +(\255o ph)2.681 F(ysical)-.15 E F0 .181(option to the)2.681 F F1(set) +2.681 E F0 -.2(bu)2.681 G .182(iltin command is).2 F 3.264(enabled. If) +144 120 R(the)3.264 E F13.264 E F0 .763 +(option is used, the pathname printed may contain symbolic links.)3.264 +F .763(The return)5.763 F 1.36(status is 0 unless an error occurs while\ + reading the name of the current directory or an in)144 132 R -.25(va) +-.4 G(lid).25 E(option is supplied.)144 144 Q F1 -.18(re)108 160.8 S(ad) +.18 E F0([)3.817 E F1(\255ers)A F0 3.817(][)C F1-3.817 E/F2 10 +/Times-Italic@0 SF(aname)3.817 E F0 3.817(][)C F1-3.817 E F2 +(delim)3.817 E F0 3.817(][)C F1-3.817 E F2(te)3.817 E(xt)-.2 E F0 +3.817(][)C F1-3.817 E F2(nc)3.816 E(har)-.15 E(s)-.1 E F0 3.816 +(][)C F1-3.816 E F2(nc)3.816 E(har)-.15 E(s)-.1 E F0 3.816(][)C F1 +-3.816 E F2(pr)3.816 E(ompt)-.45 E F0 3.816(][)C F1-3.816 E +F2(timeout)3.816 E F0 3.816(][)C F1-3.816 E F2(fd)3.816 E F0(])A +([)108 172.8 Q F2(name)A F0(...])2.5 E .516(One line is read from the s\ +tandard input, or from the \214le descriptor)144 184.8 R F2(fd)3.016 E +F0 .516(supplied as an ar)3.016 F .517(gument to)-.18 F(the)144 196.8 Q +F13.848 E F0 1.348(option, split into w)3.848 F 1.348 +(ords as described abo)-.1 F 1.647 -.15(ve u)-.15 H(nder).15 E F1 -.75 +(Wo)3.847 G 1.347(rd Splitting).75 F F0 3.847(,a)C 1.347 +(nd the \214rst w)-3.847 F 1.347(ord is)-.1 F 1.465 +(assigned to the \214rst)144 208.8 R F2(name)3.965 E F0 3.965(,t).18 G +1.465(he second w)-3.965 F 1.465(ord to the second)-.1 F F2(name)3.965 E +F0 3.965(,a).18 G 1.465(nd so on.)-3.965 F 1.465(If there are more)6.465 +F -.1(wo)144 220.8 S 1.112(rds than names, the remaining w).1 F 1.112 +(ords and their interv)-.1 F 1.112 +(ening delimiters are assigned to the last)-.15 F F2(name)144 232.8 Q F0 +5.722(.I).18 G 3.222(ft)-5.722 G .722(here are fe)-3.222 F .722(wer w) +-.25 F .723 +(ords read from the input stream than names, the remaining names are)-.1 +F .532(assigned empty v)144 244.8 R 3.032(alues. The)-.25 F .532 +(characters in)3.032 F/F3 9/Times-Bold@0 SF(IFS)3.032 E F0 .531 +(are used to split the line into w)2.782 F .531(ords using the same)-.1 +F .197(rules the shell uses for e)144 256.8 R .197 +(xpansion \(described abo)-.15 F .497 -.15(ve u)-.15 H(nder).15 E F1 +-.75(Wo)2.697 G .197(rd Splitting).75 F F0 2.697(\). The)B .197 +(backslash charac-)2.697 F .157(ter \()144 268.8 R F1(\\)A F0 2.657(\)m) +C .157(ay be used to remo)-2.657 F .457 -.15(ve a)-.15 H .457 -.15(ny s) +.15 H .157(pecial meaning for the ne).15 F .156 +(xt character read and for line continu-)-.15 F 2.5(ation. Options,)144 +280.8 R(if supplied, ha)2.5 E .3 -.15(ve t)-.2 H(he follo).15 E +(wing meanings:)-.25 E F1144 292.8 Q F2(aname)2.5 E F0 1.049 +(The w)180 304.8 R 1.049 +(ords are assigned to sequential indices of the array v)-.1 F(ariable) +-.25 E F2(aname)3.55 E F0 3.55(,s).18 G 1.05(tarting at 0.)-3.55 F F2 +(aname)180.33 316.8 Q F0(is unset before an)2.68 E 2.5(yn)-.15 G .5 -.25 +(ew va)-2.5 H(lues are assigned.).25 E(Other)5 E F2(name)2.5 E F0(ar)2.5 +E(guments are ignored.)-.18 E F1144 328.8 Q F2(delim)2.5 E F0 +(The \214rst character of)180 340.8 Q F2(delim)2.5 E F0 (is used to terminate the input line, rather than ne)2.5 E(wline.)-.25 E -F1144 228 Q F0 .372 -(If the standard input is coming from a terminal,)25.86 F F1 -.18(re) -2.873 G(adline).18 E F0(\(see)2.873 E F3(READLINE)2.873 E F0(abo)2.623 E --.15(ve)-.15 G 2.873(\)i).15 G 2.873(su)-2.873 G(sed)-2.873 E .218 -(to obtain the line.)180 240 R .218(Readline uses the current \(or def) -5.218 F .218(ault, if line editing w)-.1 F .218(as not pre)-.1 F -(viously)-.25 E(acti)180 252 Q -.15(ve)-.25 G 2.5(\)e).15 G -(diting settings.)-2.5 E F1144 264 Q F2(te)2.5 E(xt)-.2 E F0(If) -10.78 E F1 -.18(re)2.715 G(adline).18 E F0 .216 -(is being used to read the line,)2.715 F F2(te)2.716 E(xt)-.2 E F0 .216 -(is placed into the editing b)2.716 F(uf)-.2 E .216(fer before edit-) --.25 F(ing be)180 276 Q(gins.)-.15 E F1144 288 Q F2(nc)2.5 E(har) --.15 E(s)-.1 E F1 -.18(re)180 300 S(ad).18 E F0 1.395 -(returns after reading)3.895 F F2(nc)3.895 E(har)-.15 E(s)-.1 E F0 1.395 -(characters rather than w)3.895 F 1.394(aiting for a complete line of) --.1 F(input, b)180 312 Q(ut honor a delimiter if fe)-.2 E(wer than)-.25 -E F2(nc)2.5 E(har)-.15 E(s)-.1 E F0 -(characters are read before the delimiter)2.5 E(.)-.55 E F1144 324 -Q F2(nc)2.5 E(har)-.15 E(s)-.1 E F1 -.18(re)180 336 S(ad).18 E F0 1.269 -(returns after reading e)3.769 F(xactly)-.15 E F2(nc)3.769 E(har)-.15 E -(s)-.1 E F0 1.269(characters rather than w)3.769 F 1.27 -(aiting for a complete)-.1 F .275 -(line of input, unless EOF is encountered or)180 348 R F1 -.18(re)2.775 -G(ad).18 E F0 .274(times out.)2.774 F .274(Delimiter characters encoun-) -5.274 F 1.002 -(tered in the input are not treated specially and do not cause)180 360 R -F1 -.18(re)3.503 G(ad).18 E F0 1.003(to return until)3.503 F F2(nc)3.503 -E(har)-.15 E(s)-.1 E F0(characters are read.)180 372 Q F1144 384 Q -F2(pr)2.5 E(ompt)-.45 E F0(Display)180 396 Q F2(pr)3.661 E(ompt)-.45 E -F0 1.161(on standard error)3.661 F 3.661(,w)-.4 G 1.161 -(ithout a trailing ne)-3.661 F 1.161(wline, before attempting to read) --.25 F(an)180 408 Q 2.5(yi)-.15 G 2.5(nput. The)-2.5 F +F1144 352.8 Q F0 .373 +(If the standard input is coming from a terminal,)180 352.8 R F1 -.18 +(re)2.873 G(adline).18 E F0(\(see)2.873 E F3(READLINE)2.872 E F0(abo) +2.622 E -.15(ve)-.15 G 2.872(\)i).15 G 2.872(su)-2.872 G(sed)-2.872 E +.218(to obtain the line.)180 364.8 R .218 +(Readline uses the current \(or def)5.218 F .218 +(ault, if line editing w)-.1 F .218(as not pre)-.1 F(viously)-.25 E +(acti)180 376.8 Q -.15(ve)-.25 G 2.5(\)e).15 G(diting settings.)-2.5 E +F1144 388.8 Q F2(te)2.5 E(xt)-.2 E F0(If)180 388.8 Q F1 -.18(re) +2.716 G(adline).18 E F0 .216(is being used to read the line,)2.716 F F2 +(te)2.716 E(xt)-.2 E F0 .216(is placed into the editing b)2.716 F(uf)-.2 +E .215(fer before edit-)-.25 F(ing be)180 400.8 Q(gins.)-.15 E F1 +144 412.8 Q F2(nc)2.5 E(har)-.15 E(s)-.1 E F1 -.18(re)180 424.8 S(ad).18 +E F0 1.394(returns after reading)3.894 F F2(nc)3.894 E(har)-.15 E(s)-.1 +E F0 1.395(characters rather than w)3.894 F 1.395 +(aiting for a complete line of)-.1 F(input, b)180 436.8 Q +(ut honors a delimiter if fe)-.2 E(wer than)-.25 E F2(nc)2.5 E(har)-.15 +E(s)-.1 E F0(characters are read before the delimiter)2.5 E(.)-.55 E F1 +144 448.8 Q F2(nc)2.5 E(har)-.15 E(s)-.1 E F1 -.18(re)180 460.8 S +(ad).18 E F0 1.269(returns after reading e)3.77 F(xactly)-.15 E F2(nc) +3.769 E(har)-.15 E(s)-.1 E F0 1.269(characters rather than w)3.769 F +1.269(aiting for a complete)-.1 F .274 +(line of input, unless EOF is encountered or)180 472.8 R F1 -.18(re) +2.775 G(ad).18 E F0 .275(times out.)2.775 F .275 +(Delimiter characters encoun-)5.275 F 1.003 +(tered in the input are not treated specially and do not cause)180 484.8 +R F1 -.18(re)3.502 G(ad).18 E F0 1.002(to return until)3.502 F F2(nc) +3.502 E(har)-.15 E(s)-.1 E F0 .608(characters are read.)180 496.8 R .608 +(The result is not split on the characters in)5.608 F F1(IFS)3.108 E F0 +3.108(;t)C .609(he intent is that the)-3.108 F -.25(va)180 508.8 S .67 +(riable is assigned e).25 F .669 +(xactly the characters read \(with the e)-.15 F .669 +(xception of backslash; see the)-.15 F F1180 520.8 Q F0 +(option belo)2.5 E(w\).)-.25 E F1144 532.8 Q F2(pr)2.5 E(ompt)-.45 +E F0(Display)180 544.8 Q F2(pr)3.66 E(ompt)-.45 E F0 1.161 +(on standard error)3.66 F 3.661(,w)-.4 G 1.161(ithout a trailing ne) +-3.661 F 1.161(wline, before attempting to read)-.25 F(an)180 556.8 Q +2.5(yi)-.15 G 2.5(nput. The)-2.5 F (prompt is displayed only if input is coming from a terminal.)2.5 E F1 -144 420 Q F0 .543(Backslash does not act as an escape character) -25.86 F 5.543(.T)-.55 G .544(he backslash is considered to be part of) --5.543 F(the line.)180 432 Q(In particular)5 E 2.5(,ab)-.4 G -(ackslash-ne)-2.5 E(wline pair may not be used as a line continuation.) --.25 E F1144 444 Q F0(Silent mode.)26.41 E +144 568.8 Q F0 .544(Backslash does not act as an escape character) +180 568.8 R 5.543(.T)-.55 G .543 +(he backslash is considered to be part of)-5.543 F(the line.)180 580.8 Q +(In particular)5 E 2.5(,ab)-.4 G(ackslash-ne)-2.5 E +(wline pair may not be used as a line continuation.)-.25 E F1144 +592.8 Q F0(Silent mode.)180 592.8 Q (If input is coming from a terminal, characters are not echoed.)5 E F1 -144 456 Q F2(timeout)2.5 E F0(Cause)180 468 Q F1 -.18(re)2.929 G -(ad).18 E F0 .428(to time out and return f)2.929 F .428 -(ailure if a complete line of input \(or a speci\214ed num-)-.1 F .56 -(ber of characters\) is not read within)180 480 R F2(timeout)3.061 E F0 -(seconds.)3.061 E F2(timeout)5.561 E F0 .561(may be a decimal number) -3.061 F(with a fractional portion follo)180 492 Q +144 604.8 Q F2(timeout)2.5 E F0(Cause)180 616.8 Q F1 -.18(re)2.928 +G(ad).18 E F0 .428(to time out and return f)2.928 F .428 +(ailure if a complete line of input \(or a speci\214ed num-)-.1 F .561 +(ber of characters\) is not read within)180 628.8 R F2(timeout)3.061 E +F0(seconds.)3.061 E F2(timeout)5.561 E F0 .56(may be a decimal number) +3.061 F(with a fractional portion follo)180 640.8 Q (wing the decimal point.)-.25 E(This option is only ef)5 E(fecti)-.25 E .3 -.15(ve i)-.25 H(f).15 E F1 -.18(re)2.5 G(ad).18 E F0 .506(is readin\ g input from a terminal, pipe, or other special \214le; it has no ef)180 -504 R .506(fect when reading)-.25 F .59(from re)180 516 R .59 -(gular \214les.)-.15 F(If)5.59 E F1 -.18(re)3.09 G(ad).18 E F0 .589 -(times out,)3.09 F F1 -.18(re)3.089 G(ad).18 E F0(sa)3.089 E -.15(ve)-.2 -G 3.089(sa).15 G .889 -.15(ny p)-3.089 H .589 -(artial input read into the speci\214ed).15 F -.25(va)180 528 S(riable) -.25 E F2(name)2.77 E F0 5.27(.I)C(f)-5.27 E F2(timeout)2.77 E F0 .27 -(is 0,)2.77 F F1 -.18(re)2.77 G(ad).18 E F0 .27(returns immediately)2.77 -F 2.77(,w)-.65 G .27(ithout trying to read an)-2.77 F 2.77(yd)-.15 G -(ata.)-2.77 E 1.12(The e)180 540 R 1.12(xit status is 0 if input is a) --.15 F -.25(va)-.2 G 1.12(ilable on the speci\214ed \214le descriptor) -.25 F 3.62(,n)-.4 G 1.12(on-zero other)-3.62 F(-)-.2 E 2.5(wise. The)180 -552 R -.15(ex)2.5 G(it status is greater than 128 if the timeout is e) -.15 E(xceeded.)-.15 E F1144 564 Q F2(fd)2.5 E F0 -(Read input from \214le descriptor)14.46 E F2(fd)2.5 E F0(.)A .191 -(If no)144 580.8 R F2(names)3.051 E F0 .191 -(are supplied, the line read is assigned to the v)2.961 F(ariable)-.25 E -F3(REPL)2.692 E(Y)-.828 E/F4 9/Times-Roman@0 SF(.)A F0 .192 -(The return code is zero,)4.692 F 1.344 -(unless end-of-\214le is encountered,)144 592.8 R F1 -.18(re)3.844 G(ad) -.18 E F0 1.343 -(times out \(in which case the return code is greater than)3.844 F .871 -(128\), a v)144 604.8 R .871 -(ariable assignment error \(such as assigning to a readonly v)-.25 F -.872(ariable\) occurs, or an in)-.25 F -.25(va)-.4 G(lid).25 E -(\214le descriptor is supplied as the ar)144 616.8 Q(gument to)-.18 E F1 -2.5 E F0(.)A F1 -.18(re)108 633.6 S(adonly).18 E F0([)2.5 E F1 -(\255aAf)A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(name)-2.5 E F0([=)A -F2(wor)A(d)-.37 E F0 2.5(].)C(..])-2.5 E .77(The gi)144 645.6 R -.15(ve) --.25 G(n).15 E F2(names)3.27 E F0 .77(are mark)3.27 F .77 +652.8 R .505(fect when reading)-.25 F .589(from re)180 664.8 R .589 +(gular \214les.)-.15 F(If)5.589 E F1 -.18(re)3.089 G(ad).18 E F0 .589 +(times out,)3.089 F F1 -.18(re)3.089 G(ad).18 E F0(sa)3.089 E -.15(ve) +-.2 G 3.089(sa).15 G .889 -.15(ny p)-3.089 H .59 +(artial input read into the speci\214ed).15 F -.25(va)180 676.8 S +(riable).25 E F2(name)2.77 E F0 5.27(.I)C(f)-5.27 E F2(timeout)2.77 E F0 +.27(is 0,)2.77 F F1 -.18(re)2.77 G(ad).18 E F0 .27(returns immediately) +2.77 F 2.77(,w)-.65 G .27(ithout trying to read an)-2.77 F 2.77(yd)-.15 +G(ata.)-2.77 E 1.12(The e)180 688.8 R 1.12 +(xit status is 0 if input is a)-.15 F -.25(va)-.2 G 1.12 +(ilable on the speci\214ed \214le descriptor).25 F 3.62(,n)-.4 G 1.12 +(on-zero other)-3.62 F(-)-.2 E 2.5(wise. The)180 700.8 R -.15(ex)2.5 G +(it status is greater than 128 if the timeout is e).15 E(xceeded.)-.15 E +F1144 712.8 Q F2(fd)2.5 E F0(Read input from \214le descriptor)180 +712.8 Q F2(fd)2.5 E F0(.)A .477(If no)144 729.6 R F2(names)3.337 E F0 +.477(are supplied, the line read is assigned to the v)3.247 F(ariable) +-.25 E F3(REPL)2.976 E(Y)-.828 E/F4 9/Times-Roman@0 SF(.)A F0 .476 +(The e)4.976 F .476(xit status is zero,)-.15 F(GNU Bash-4.2)72 768 Q +(2004 Apr 20)148.735 E(13)198.725 E 0 Cg EP +%%Page: 14 14 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E .772(unless end-of-\214le is encountered,) +144 84 R/F1 10/Times-Bold@0 SF -.18(re)3.272 G(ad).18 E F0 .773 +(times out \(in which case the status is greater than 128\), a)3.272 F +-.25(va)144 96 S 2.004 +(riable assignment error \(such as assigning to a readonly v).25 F 2.004 +(ariable\) occurs, or an in)-.25 F -.25(va)-.4 G 2.004(lid \214le).25 F +(descriptor is supplied as the ar)144 108 Q(gument to)-.18 E F12.5 +E F0(.)A F1 -.18(re)108 124.8 S(adonly).18 E F0([)2.5 E F1(\255aAf)A F0 +2.5(][)C F1-2.5 E F0 2.5(][)C/F2 10/Times-Italic@0 SF(name)-2.5 E +F0([=)A F2(wor)A(d)-.37 E F0 2.5(].)C(..])-2.5 E .77(The gi)144 136.8 R +-.15(ve)-.25 G(n).15 E F2(names)3.27 E F0 .77(are mark)3.27 F .77 (ed readonly; the v)-.1 F .77(alues of these)-.25 F F2(names)3.63 E F0 -.77(may not be changed by subse-)3.54 F 1.096(quent assignment.)144 -657.6 R 1.096(If the)6.096 F F13.596 E F0 1.097 -(option is supplied, the functions corresponding to the)3.596 F F2 -(names)3.597 E F0 1.097(are so)3.597 F(mark)144 669.6 Q 3.334(ed. The) +.77(may not be changed by subse-)3.54 F 1.097(quent assignment.)144 +148.8 R 1.097(If the)6.097 F F13.597 E F0 1.097 +(option is supplied, the functions corresponding to the)3.597 F F2 +(names)3.596 E F0 1.096(are so)3.596 F(mark)144 160.8 Q 3.334(ed. The) -.1 F F13.334 E F0 .834(option restricts the v)3.334 F .834 (ariables to inde)-.25 F -.15(xe)-.15 G 3.334(da).15 G .834(rrays; the) -3.334 F F13.334 E F0 .834(option restricts the v)3.334 F(ari-) --.25 E .776(ables to associati)144 681.6 R 1.076 -.15(ve a)-.25 H 3.276 -(rrays. If).15 F .777(both options are supplied,)3.276 F F13.277 E -F0(tak)3.277 E .777(es precedence.)-.1 F .777(If no)5.777 F F2(name) -3.637 E F0(ar)3.457 E(gu-)-.18 E .522(ments are gi)144 693.6 R -.15(ve) +-.25 E .777(ables to associati)144 172.8 R 1.077 -.15(ve a)-.25 H 3.277 +(rrays. If).15 F .777(both options are supplied,)3.277 F F13.277 E +F0(tak)3.277 E .776(es precedence.)-.1 F .776(If no)5.776 F F2(name) +3.636 E F0(ar)3.456 E(gu-)-.18 E .521(ments are gi)144 184.8 R -.15(ve) -.25 G .521(n, or if the).15 F F13.021 E F0 .521 (option is supplied, a list of all readonly names is printed.)3.021 F -.521(The other)5.521 F .295(options may be used to restrict the output \ -to a subset of the set of readonly names.)144 705.6 R(The)5.296 E F1 -2.796 E F0(option)2.796 E .786 +.522(The other)5.521 F .295(options may be used to restrict the output \ +to a subset of the set of readonly names.)144 196.8 R(The)5.295 E F1 +2.795 E F0(option)2.795 E .786 (causes output to be displayed in a format that may be reused as input.) -144 717.6 R .786(If a v)5.786 F .785(ariable name is fol-)-.25 F(lo)144 -729.6 Q .717(wed by =)-.25 F F2(wor)A(d)-.37 E F0 3.218(,t)C .718(he v) +144 208.8 R .786(If a v)5.786 F .786(ariable name is fol-)-.25 F(lo)144 +220.8 Q .718(wed by =)-.25 F F2(wor)A(d)-.37 E F0 3.218(,t)C .718(he v) -3.218 F .718(alue of the v)-.25 F .718(ariable is set to)-.25 F F2(wor) 3.218 E(d)-.37 E F0 5.718(.T)C .718(he return status is 0 unless an in) --5.718 F -.25(va)-.4 G(lid).25 E(GNU Bash-4.2)72 768 Q(2004 Apr 20) -148.735 E(13)198.725 E 0 Cg EP -%%Page: 14 14 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .26 -(option is encountered, one of the)144 84 R/F1 10/Times-Italic@0 SF -(names)3.12 E F0 .26(is not a v)3.03 F .26(alid shell v)-.25 F .26 -(ariable name, or)-.25 F/F2 10/Times-Bold@0 SF2.76 E F0 .26 -(is supplied with a)2.76 F F1(name)144.36 96 Q F0 -(that is not a function.)2.68 E F2 -.18(re)108 112.8 S(tur).18 E(n)-.15 -E F0([)2.5 E F1(n)A F0(])A .02(Causes a function to stop e)144 124.8 R --.15(xe)-.15 G .02(cuting and return the v).15 F .021 -(alue speci\214ed by)-.25 F F1(n)2.881 E F0 .021(to its caller)2.761 F -5.021(.I)-.55 G(f)-5.021 E F1(n)2.881 E F0 .021(is omitted,)2.761 F .469 -(the return status is that of the last command e)144 136.8 R -.15(xe) --.15 G .469(cuted in the function body).15 F 5.469(.I)-.65 G(f)-5.469 E -F2 -.18(re)2.969 G(tur).18 E(n)-.15 E F0 .468(is used out-)2.969 F .466 -(side a function, b)144 148.8 R .466(ut during e)-.2 F -.15(xe)-.15 G -.467(cution of a script by the).15 F F2(.)2.967 E F0(\()5.467 E F2(sour) -A(ce)-.18 E F0 2.967(\)c)C .467(ommand, it causes the shell to)-2.967 F -.088(stop e)144 160.8 R -.15(xe)-.15 G .087 -(cuting that script and return either).15 F F1(n)2.947 E F0 .087 -(or the e)2.827 F .087(xit status of the last command e)-.15 F -.15(xe) --.15 G .087(cuted within).15 F .613(the script as the e)144 172.8 R .613 -(xit status of the script.)-.15 F(If)5.613 E F1(n)3.113 E F0 .613 -(is supplied, the return v)3.113 F .613 -(alue is its least signi\214cant 8)-.25 F 2.511(bits. The)144 184.8 R -.011(return status is non-zero if)2.511 F F2 -.18(re)2.511 G(tur).18 E -(n)-.15 E F0 .011(is supplied a non-numeric ar)2.511 F .01 -(gument, or is used outside)-.18 F 2.909(af)144 196.8 S .409 -(unction and not during e)-2.909 F -.15(xe)-.15 G .41 -(cution of a script by).15 F F2(.)2.91 E F0(or)3.743 E F2(sour)2.91 E -(ce)-.18 E F0 5.41(.A)C .71 -.15(ny c)-5.41 H .41 -(ommand associated with the).15 F F2(RETURN)144 208.8 Q F0(trap is e)2.5 -E -.15(xe)-.15 G(cuted before e).15 E -.15(xe)-.15 G -(cution resumes after the function or script.).15 E F2(set)108 225.6 Q -F0([)2.5 E F2(\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C F2-2.5 E -F1(option\255name)2.5 E F0 2.5(][)C F1(ar)-2.5 E(g)-.37 E F0(...])2.5 E -F2(set)108 237.6 Q F0([)2.5 E F2(+abefhkmnptuvxBCEHPT)A F0 2.5(][)C F2 -(+o)-2.5 E F1(option\255name)2.5 E F0 2.5(][)C F1(ar)-2.5 E(g)-.37 E F0 -(...])2.5 E -.4(Wi)144 249.6 S .836(thout options, the name and v).4 F -.835(alue of each shell v)-.25 F .835 -(ariable are displayed in a format that can be)-.25 F .784 -(reused as input for setting or resetting the currently-set v)144 261.6 -R 3.284(ariables. Read-only)-.25 F -.25(va)3.284 G .784 -(riables cannot be).25 F 2.912(reset. In)144 273.6 R F1(posix)2.912 E F0 +-5.718 F -.25(va)-.4 G(lid).25 E .26(option is encountered, one of the) +144 232.8 R F2(names)3.12 E F0 .26(is not a v)3.03 F .26(alid shell v) +-.25 F .26(ariable name, or)-.25 F F12.76 E F0 .26 +(is supplied with a)2.76 F F2(name)144.36 244.8 Q F0 +(that is not a function.)2.68 E F1 -.18(re)108 261.6 S(tur).18 E(n)-.15 +E F0([)2.5 E F2(n)A F0(])A .021(Causes a function to stop e)144 273.6 R +-.15(xe)-.15 G .021(cuting and return the v).15 F .021 +(alue speci\214ed by)-.25 F F2(n)2.88 E F0 .02(to its caller)2.76 F 5.02 +(.I)-.55 G(f)-5.02 E F2(n)2.88 E F0 .02(is omitted,)2.76 F .596 +(the return status is that of the last command e)144 285.6 R -.15(xe) +-.15 G .597(cuted in the function body).15 F 5.597(.I)-.65 G(f)-5.597 E +F1 -.18(re)3.097 G(tur).18 E(n)-.15 E F0 .597(is e)3.097 F -.15(xe)-.15 +G(cuted).15 E 1.239(by a trap handler)144 297.6 R 3.738(,t)-.4 G 1.238 +(he last command used to determine the status is the last command e) +-3.738 F -.15(xe)-.15 G(cuted).15 E 1.066(before the trap handler)144 +309.6 R 6.067(.i)-.55 G(f)-6.067 E F1 -.18(re)3.567 G(tur).18 E(n)-.15 E +F0 1.067(is e)3.567 F -.15(xe)-.15 G 1.067(cuted during a).15 F F1(DEB) +3.567 E(UG)-.1 E F0 1.067(trap, the last command used to)3.567 F .39 +(determine the status is the last command e)144 321.6 R -.15(xe)-.15 G +.389(cuted by the trap handler before).15 F F1 -.18(re)2.889 G(tur).18 E +(n)-.15 E F0 -.1(wa)2.889 G 2.889(si).1 G -1.9 -.4(nv o)-2.889 H -.1(ke) +.4 G(d.).1 E(If)144 333.6 Q F1 -.18(re)2.583 G(tur).18 E(n)-.15 E F0 +.084(is used outside a function, b)2.583 F .084(ut during e)-.2 F -.15 +(xe)-.15 G .084(cution of a script by the).15 F F1(.)2.584 E F0(\()5.084 +E F1(sour)A(ce)-.18 E F0 2.584(\)c)C .084(ommand, it)-2.584 F .589 +(causes the shell to stop e)144 345.6 R -.15(xe)-.15 G .589 +(cuting that script and return either).15 F F2(n)3.448 E F0 .588 +(or the e)3.328 F .588(xit status of the last com-)-.15 F .325(mand e) +144 357.6 R -.15(xe)-.15 G .325(cuted within the script as the e).15 F +.326(xit status of the script.)-.15 F(If)5.326 E F2(n)2.826 E F0 .326 +(is supplied, the return v)2.826 F .326(alue is)-.25 F .445 +(its least signi\214cant 8 bits.)144 369.6 R .444 +(The return status is non-zero if)5.445 F F1 -.18(re)2.944 G(tur).18 E +(n)-.15 E F0 .444(is supplied a non-numeric ar)2.944 F(gu-)-.18 E .381 +(ment, or is used outside a function and not during e)144 381.6 R -.15 +(xe)-.15 G .381(cution of a script by).15 F F1(.)2.881 E F0(or)3.714 E +F1(sour)2.881 E(ce)-.18 E F0 5.381(.A)C .681 -.15(ny c)-5.381 H(om-).15 +E .75(mand associated with the)144 393.6 R F1(RETURN)3.249 E F0 .749 +(trap is e)3.249 F -.15(xe)-.15 G .749(cuted before e).15 F -.15(xe)-.15 +G .749(cution resumes after the function).15 F(or script.)144 405.6 Q F1 +(set)108 422.4 Q F0([)2.5 E F1(\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C +F1-2.5 E F2(option\255name)2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E +F0(...])2.5 E F1(set)108 434.4 Q F0([)2.5 E F1(+abefhkmnptuvxBCEHPT)A F0 +2.5(][)C F1(+o)-2.5 E F2(option\255name)2.5 E F0 2.5(][)C F2(ar)-2.5 E +(g)-.37 E F0(...])2.5 E -.4(Wi)144 446.4 S .835 +(thout options, the name and v).4 F .835(alue of each shell v)-.25 F +.836(ariable are displayed in a format that can be)-.25 F .784 +(reused as input for setting or resetting the currently-set v)144 458.4 +R 3.284(ariables. Read-only)-.25 F -.25(va)3.284 G .783 +(riables cannot be).25 F 2.911(reset. In)144 470.4 R F2(posix)2.911 E F0 .412(mode, only shell v)2.912 F .412(ariables are listed.)-.25 F .412 -(The output is sorted according to the current)5.412 F 3.53 -(locale. When)144 285.6 R 1.031(options are speci\214ed, the)3.53 F -3.531(ys)-.15 G 1.031(et or unset shell attrib)-3.531 F 3.531(utes. An) --.2 F 3.531(ya)-.15 G -.18(rg)-3.531 G 1.031(uments remaining).18 F -1.624(after option processing are treated as v)144 297.6 R 1.623 +(The output is sorted according to the current)5.412 F 3.531 +(locale. When)144 482.4 R 1.031(options are speci\214ed, the)3.531 F +3.531(ys)-.15 G 1.031(et or unset shell attrib)-3.531 F 3.53(utes. An) +-.2 F 3.53(ya)-.15 G -.18(rg)-3.53 G 1.03(uments remaining).18 F 1.623 +(after option processing are treated as v)144 494.4 R 1.624 (alues for the positional parameters and are assigned, in)-.25 F(order) -144 309.6 Q 2.5(,t)-.4 G(o)-2.5 E F2($1)2.5 E F0(,)A F2($2)2.5 E F0(,)A -F2 2.5(... $)2.5 F F1(n)A F0 5(.O)C(ptions, if speci\214ed, ha)-5 E .3 --.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F2144 321.6 Q -F0 .539(Automatically mark v)29.3 F .539 -(ariables and functions which are modi\214ed or created for e)-.25 F .54 -(xport to)-.15 F(the en)184 333.6 Q(vironment of subsequent commands.) --.4 E F2144 345.6 Q F0 .132 -(Report the status of terminated background jobs immediately)28.74 F -2.632(,r)-.65 G .131(ather than before the ne)-2.632 F(xt)-.15 E -(primary prompt.)184 357.6 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o) --.25 H(nly when job control is enabled.).15 E F2144 369.6 Q F0 -.087(Exit immediately if a)29.86 F F1(pipeline)2.587 E F0 .087 -(\(which may consist of a single)2.587 F F1 .088(simple command)2.588 F -F0 .088(\), a)B F1(list)2.588 E F0 2.588(,o)C(r)-2.588 E(a)184 381.6 Q -F1 1.294(compound command)3.794 F F0(\(see)3.794 E/F3 9/Times-Bold@0 SF -1.294(SHELL GRAMMAR)3.794 F F0(abo)3.544 E -.15(ve)-.15 G 3.793(\), e) -.15 F 1.293(xits with a non-zero status.)-.15 F .079 -(The shell does not e)184 393.6 R .079(xit if the command that f)-.15 F -.08(ails is part of the command list immediately)-.1 F(follo)184 405.6 Q -1.655(wing a)-.25 F F2(while)4.155 E F0(or)4.155 E F2(until)4.155 E F0 --.1(ke)4.155 G(yw)-.05 E 1.655(ord, part of the test follo)-.1 F 1.654 -(wing the)-.25 F F2(if)4.154 E F0(or)4.154 E F2(elif)4.154 E F0(reserv) -4.154 E(ed)-.15 E -.1(wo)184 417.6 S .581(rds, part of an).1 F 3.081(yc) --.15 G .581(ommand e)-3.081 F -.15(xe)-.15 G .581(cuted in a).15 F F2 -(&&)3.081 E F0(or)3.081 E F2(||)3.081 E F0 .582(list e)3.082 F .582 -(xcept the command follo)-.15 F(wing)-.25 E .918(the \214nal)184 429.6 R -F2(&&)3.418 E F0(or)3.418 E F2(||)3.418 E F0 3.418(,a)C 1.218 -.15(ny c) --3.418 H .918(ommand in a pipeline b).15 F .917 -(ut the last, or if the command')-.2 F 3.417(sr)-.55 G(eturn)-3.417 E --.25(va)184 441.6 S .66(lue is being in).25 F -.15(ve)-.4 G .66 -(rted with).15 F F2(!)3.16 E F0 5.661(.I)C 3.161(fac)-5.661 G .661 -(ompound command other than a subshell returns a)-3.161 F 1.113 -(non-zero status because a command f)184 453.6 R 1.112(ailed while)-.1 F -F23.612 E F0 -.1(wa)3.612 G 3.612(sb).1 G 1.112 -(eing ignored, the shell does)-3.612 F .177(not e)184 465.6 R 2.677 -(xit. A)-.15 F .177(trap on)2.677 F F2(ERR)2.677 E F0 2.677(,i)C 2.678 -(fs)-2.677 G .178(et, is e)-2.678 F -.15(xe)-.15 G .178 -(cuted before the shell e).15 F 2.678(xits. This)-.15 F .178 -(option applies to)2.678 F .618(the shell en)184 477.6 R .617 +144 506.4 Q 2.5(,t)-.4 G(o)-2.5 E F1($1)2.5 E F0(,)A F1($2)2.5 E F0(,)A +F1 2.5(... $)2.5 F F2(n)A F0 5(.O)C(ptions, if speci\214ed, ha)-5 E .3 +-.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1144 518.4 Q +F0 1.378(Each v)184 518.4 R 1.377 +(ariable or function that is created or modi\214ed is gi)-.25 F -.15(ve) +-.25 G 3.877(nt).15 G 1.377(he e)-3.877 F 1.377(xport attrib)-.15 F +1.377(ute and)-.2 F(mark)184 530.4 Q(ed for e)-.1 E(xport to the en)-.15 +E(vironment of subsequent commands.)-.4 E F1144 542.4 Q F0 .131 +(Report the status of terminated background jobs immediately)184 542.4 R +2.632(,r)-.65 G .132(ather than before the ne)-2.632 F(xt)-.15 E +(primary prompt.)184 554.4 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o) +-.25 H(nly when job control is enabled.).15 E F1144 566.4 Q F0 +.088(Exit immediately if a)184 566.4 R F2(pipeline)2.588 E F0 .087 +(\(which may consist of a single)2.588 F F2 .087(simple command)2.587 F +F0 .087(\), a)B F2(list)2.587 E F0 2.587(,o)C(r)-2.587 E(a)184 578.4 Q +F2 1.52(compound command)4.02 F F0(\(see)4.021 E/F3 9/Times-Bold@0 SF +1.521(SHELL GRAMMAR)4.021 F F0(abo)3.771 E -.15(ve)-.15 G 1.521(\), e) +.15 F 1.521(xits with a non-zero status.)-.15 F .08 +(The shell does not e)184 590.4 R .079(xit if the command that f)-.15 F +.079(ails is part of the command list immediately)-.1 F(follo)184 602.4 +Q 1.654(wing a)-.25 F F1(while)4.154 E F0(or)4.154 E F1(until)4.154 E F0 +-.1(ke)4.154 G(yw)-.05 E 1.655(ord, part of the test follo)-.1 F 1.655 +(wing the)-.25 F F1(if)4.155 E F0(or)4.155 E F1(elif)4.155 E F0(reserv) +4.155 E(ed)-.15 E -.1(wo)184 614.4 S .582(rds, part of an).1 F 3.082(yc) +-.15 G .582(ommand e)-3.082 F -.15(xe)-.15 G .581(cuted in a).15 F F1 +(&&)3.081 E F0(or)3.081 E F1(||)3.081 E F0 .581(list e)3.081 F .581 +(xcept the command follo)-.15 F(wing)-.25 E .917(the \214nal)184 626.4 R +F1(&&)3.417 E F0(or)3.417 E F1(||)3.417 E F0 3.417(,a)C 1.217 -.15(ny c) +-3.417 H .918(ommand in a pipeline b).15 F .918 +(ut the last, or if the command')-.2 F 3.418(sr)-.55 G(eturn)-3.418 E +-.25(va)184 638.4 S .661(lue is being in).25 F -.15(ve)-.4 G .661 +(rted with).15 F F1(!)3.161 E F0 5.661(.I)C 3.161(fac)-5.661 G .66 +(ompound command other than a subshell returns a)-3.161 F 1.112 +(non-zero status because a command f)184 650.4 R 1.112(ailed while)-.1 F +F13.612 E F0 -.1(wa)3.612 G 3.612(sb).1 G 1.113 +(eing ignored, the shell does)-3.612 F .178(not e)184 662.4 R 2.678 +(xit. A)-.15 F .178(trap on)2.678 F F1(ERR)2.678 E F0 2.678(,i)C 2.678 +(fs)-2.678 G .178(et, is e)-2.678 F -.15(xe)-.15 G .178 +(cuted before the shell e).15 F 2.677(xits. This)-.15 F .177 +(option applies to)2.677 F .617(the shell en)184 674.4 R .617 (vironment and each subshell en)-.4 F .617(vironment separately \(see) --.4 F F3 .617(COMMAND EXE-)3.117 F .642(CUTION ENVIR)184 489.6 R(ONMENT) +-.4 F F3 .618(COMMAND EXE-)3.118 F .643(CUTION ENVIR)184 686.4 R(ONMENT) -.27 E F0(abo)2.893 E -.15(ve)-.15 G .643 (\), and may cause subshells to e).15 F .643(xit before e)-.15 F -.15 -(xe)-.15 G .643(cuting all).15 F(the commands in the subshell.)184 501.6 -Q 2.042(If a compound command or shell function e)184 519.6 R -.15(xe) --.15 G 2.042(cutes in a conte).15 F 2.042(xt where)-.15 F F24.542 -E F0 2.042(is being)4.542 F 1.435(ignored, none of the commands e)184 -531.6 R -.15(xe)-.15 G 1.436 -(cuted within the compound command or function).15 F .194 -(body will be af)184 543.6 R .194(fected by the)-.25 F F22.694 E -F0 .193(setting, e)2.693 F -.15(ve)-.25 G 2.693(ni).15 G(f)-2.693 E F2 -2.693 E F0 .193(is set and a command returns a f)2.693 F(ailure) --.1 E 3.39(status. If)184 555.6 R 3.39(ac)3.39 G .89 -(ompound command or shell function sets)-3.39 F F23.39 E F0 .89 -(while e)3.39 F -.15(xe)-.15 G .89(cuting in a conte).15 F(xt)-.15 E -(where)184 567.6 Q F23.154 E F0 .654 -(is ignored, that setting will not ha)3.154 F .953 -.15(ve a)-.2 H .953 --.15(ny e).15 H -.25(ff).15 G .653(ect until the compound command).25 F -(or the command containing the function call completes.)184 579.6 Q F2 -144 591.6 Q F0(Disable pathname e)30.97 E(xpansion.)-.15 E F2 -144 603.6 Q F0 2.238(Remember the location of commands as the) -28.74 F 4.738(ya)-.15 G 2.239(re look)-4.738 F 2.239(ed up for e)-.1 F --.15(xe)-.15 G 4.739(cution. This).15 F(is)4.739 E(enabled by def)184 -615.6 Q(ault.)-.1 E F2144 627.6 Q F0 .514(All ar)28.74 F .514 -(guments in the form of assignment statements are placed in the en)-.18 -F .513(vironment for a)-.4 F -(command, not just those that precede the command name.)184 639.6 Q F2 -144 651.6 Q F0 .148(Monitor mode.)25.97 F .148 -(Job control is enabled.)5.148 F .149(This option is on by def)5.148 F -.149(ault for interacti)-.1 F .449 -.15(ve s)-.25 H(hells).15 E .651 -(on systems that support it \(see)184 663.6 R F3 .651(JOB CONTR)3.151 F -(OL)-.27 E F0(abo)2.901 E -.15(ve)-.15 G 3.151(\). All).15 F .65 -(processes run in a separate)3.151 F .678(process group.)184 675.6 R -.679(When a background job completes, the shell prints a line containin\ -g its)5.678 F -.15(ex)184 687.6 S(it status.).15 E F2144 699.6 Q -F0 .653(Read commands b)28.74 F .653(ut do not e)-.2 F -.15(xe)-.15 G -.653(cute them.).15 F .652(This may be used to check a shell script for) -5.653 F(syntax errors.)184 711.6 Q(This is ignored by interacti)5 E .3 --.15(ve s)-.25 H(hells.).15 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 -E(14)198.725 E 0 Cg EP +(xe)-.15 G .642(cuting all).15 F(the commands in the subshell.)184 698.4 +Q 2.042(If a compound command or shell function e)184 716.4 R -.15(xe) +-.15 G 2.042(cutes in a conte).15 F 2.042(xt where)-.15 F F14.542 +E F0 2.043(is being)4.543 F 1.436(ignored, none of the commands e)184 +728.4 R -.15(xe)-.15 G 1.435 +(cuted within the compound command or function).15 F(GNU Bash-4.2)72 768 +Q(2004 Apr 20)148.735 E(14)198.725 E 0 Cg EP %%Page: 15 15 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF144 84 Q/F2 10/Times-Italic@0 SF(option\255name) -2.5 E F0(The)184 96 Q F2(option\255name)2.5 E F0 -(can be one of the follo)2.5 E(wing:)-.25 E F1(allexport)184 108 Q F0 -(Same as)224 120 Q F12.5 E F0(.)A F1(braceexpand)184 132 Q F0 -(Same as)224 144 Q F12.5 E F0(.)A F1(emacs)184 156 Q F0 .089 -(Use an emacs-style command line editing interf)13.9 F 2.589(ace. This) --.1 F .089(is enabled by def)2.589 F(ault)-.1 E .95 -(when the shell is interacti)224 168 R -.15(ve)-.25 G 3.45(,u).15 G .95 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E .193(body will be af)184 84 R .193 +(fected by the)-.25 F/F1 10/Times-Bold@0 SF2.693 E F0 .193 +(setting, e)2.693 F -.15(ve)-.25 G 2.693(ni).15 G(f)-2.693 E F1 +2.693 E F0 .194(is set and a command returns a f)2.693 F(ailure)-.1 E +3.39(status. If)184 96 R 3.39(ac)3.39 G .89 +(ompound command or shell function sets)-3.39 F F13.39 E F0 .89 +(while e)3.39 F -.15(xe)-.15 G .89(cuting in a conte).15 F(xt)-.15 E +(where)184 108 Q F13.153 E F0 .653 +(is ignored, that setting will not ha)3.153 F .954 -.15(ve a)-.2 H .954 +-.15(ny e).15 H -.25(ff).15 G .654(ect until the compound command).25 F +(or the command containing the function call completes.)184 120 Q F1 +144 132 Q F0(Disable pathname e)184 132 Q(xpansion.)-.15 E F1 +144 144 Q F0 2.239(Remember the location of commands as the)184 +144 R 4.738(ya)-.15 G 2.238(re look)-4.738 F 2.238(ed up for e)-.1 F +-.15(xe)-.15 G 4.738(cution. This).15 F(is)4.738 E(enabled by def)184 +156 Q(ault.)-.1 E F1144 168 Q F0 .513(All ar)184 168 R .514 +(guments in the form of assignment statements are placed in the en)-.18 +F .514(vironment for a)-.4 F +(command, not just those that precede the command name.)184 180 Q F1 +144 192 Q F0 .149(Monitor mode.)184 192 R .149 +(Job control is enabled.)5.149 F .148(This option is on by def)5.149 F +.148(ault for interacti)-.1 F .448 -.15(ve s)-.25 H(hells).15 E .65 +(on systems that support it \(see)184 204 R/F2 9/Times-Bold@0 SF .651 +(JOB CONTR)3.151 F(OL)-.27 E F0(abo)2.901 E -.15(ve)-.15 G 3.151 +(\). All).15 F .651(processes run in a separate)3.151 F .679 +(process group.)184 216 R .678(When a background job completes, the she\ +ll prints a line containing its)5.679 F -.15(ex)184 228 S(it status.).15 +E F1144 240 Q F0 .652(Read commands b)184 240 R .652(ut do not e) +-.2 F -.15(xe)-.15 G .652(cute them.).15 F .653 +(This may be used to check a shell script for)5.652 F(syntax errors.)184 +252 Q(This is ignored by interacti)5 E .3 -.15(ve s)-.25 H(hells.).15 E +F1144 264 Q/F3 10/Times-Italic@0 SF(option\255name)2.5 E F0(The) +184 276 Q F3(option\255name)2.5 E F0(can be one of the follo)2.5 E +(wing:)-.25 E F1(allexport)184 288 Q F0(Same as)224 300 Q F12.5 E +F0(.)A F1(braceexpand)184 312 Q F0(Same as)224 324 Q F12.5 E F0(.) +A F1(emacs)184 336 Q F0 .089 +(Use an emacs-style command line editing interf)224 336 R 2.589 +(ace. This)-.1 F .089(is enabled by def)2.589 F(ault)-.1 E .95 +(when the shell is interacti)224 348 R -.15(ve)-.25 G 3.45(,u).15 G .95 (nless the shell is started with the)-3.45 F F1(\255\255noediting)3.45 E -F0 2.5(option. This)224 180 R(also af)2.5 E(fects the editing interf) +F0 2.5(option. This)224 360 R(also af)2.5 E(fects the editing interf) -.25 E(ace used for)-.1 E F1 -.18(re)2.5 G(ad \255e).18 E F0(.)A F1(err) -184 192 Q(exit)-.18 E F0(Same as)11.31 E F12.5 E F0(.)A F1 -(errtrace)184 204 Q F0(Same as)5.03 E F12.5 E F0(.)A F1(functrace) -184 216 Q F0(Same as)224 228 Q F12.5 E F0(.)A F1(hashall)184 240 Q -F0(Same as)9.43 E F12.5 E F0(.)A F1(histexpand)184 252 Q F0 -(Same as)224 264 Q F12.5 E F0(.)A F1(history)184 276 Q F0 .586 -(Enable command history)10 F 3.087(,a)-.65 G 3.087(sd)-3.087 G .587 -(escribed abo)-3.087 F .887 -.15(ve u)-.15 H(nder).15 E/F3 9 -/Times-Bold@0 SF(HIST)3.087 E(OR)-.162 E(Y)-.315 E/F4 9/Times-Roman@0 SF -(.)A F0 .587(This option is)5.087 F(on by def)224 288 Q +184 372 Q(exit)-.18 E F0(Same as)224 372 Q F12.5 E F0(.)A F1 +(errtrace)184 384 Q F0(Same as)224 384 Q F12.5 E F0(.)A F1 +(functrace)184 396 Q F0(Same as)224 408 Q F12.5 E F0(.)A F1 +(hashall)184 420 Q F0(Same as)224 420 Q F12.5 E F0(.)A F1 +(histexpand)184 432 Q F0(Same as)224 444 Q F12.5 E F0(.)A F1 +(history)184 456 Q F0 .587(Enable command history)224 456 R 3.087(,a) +-.65 G 3.087(sd)-3.087 G .587(escribed abo)-3.087 F .887 -.15(ve u)-.15 +H(nder).15 E F2(HIST)3.087 E(OR)-.162 E(Y)-.315 E/F4 9/Times-Roman@0 SF +(.)A F0 .587(This option is)5.087 F(on by def)224 468 Q (ault in interacti)-.1 E .3 -.15(ve s)-.25 H(hells.).15 E F1(ignor)184 -300 Q(eeof)-.18 E F0 1.657(The ef)224 312 R 1.657 +480 Q(eeof)-.18 E F0 1.656(The ef)224 492 R 1.656 (fect is as if the shell command)-.25 F/F5 10/Courier@0 SF(IGNOREEOF=10) -4.156 E F0 1.656(had been e)4.156 F -.15(xe)-.15 G(cuted).15 E(\(see)224 -324 Q F1(Shell V)2.5 E(ariables)-.92 E F0(abo)2.5 E -.15(ve)-.15 G(\).) -.15 E F1 -.1(ke)184 336 S(yw).1 E(ord)-.1 E F0(Same as)224 348 Q F1 -2.5 E F0(.)A F1(monitor)184 360 Q F0(Same as)5.56 E F12.5 E -F0(.)A F1(noclob)184 372 Q(ber)-.1 E F0(Same as)224 384 Q F12.5 E -F0(.)A F1(noexec)184 396 Q F0(Same as)11.12 E F12.5 E F0(.)A F1 -(noglob)184 408 Q F0(Same as)11.1 E F12.5 E F0(.)A F1(nolog)184 -420 Q F0(Currently ignored.)16.66 E F1(notify)184 432 Q F0(Same as)15 E -F12.5 E F0(.)A F1(nounset)184 444 Q F0(Same as)6.66 E F12.5 -E F0(.)A F1(onecmd)184 456 Q F0(Same as)6.67 E F12.5 E F0(.)A F1 -(ph)184 468 Q(ysical)-.15 E F0(Same as)5.14 E F12.5 E F0(.)A F1 -(pipefail)184 480 Q F0 1.029(If set, the return v)7.77 F 1.029 -(alue of a pipeline is the v)-.25 F 1.03 -(alue of the last \(rightmost\) com-)-.25 F 1.137(mand to e)224 492 R +4.157 E F0 1.657(had been e)4.157 F -.15(xe)-.15 G(cuted).15 E(\(see)224 +504 Q F1(Shell V)2.5 E(ariables)-.92 E F0(abo)2.5 E -.15(ve)-.15 G(\).) +.15 E F1 -.1(ke)184 516 S(yw).1 E(ord)-.1 E F0(Same as)224 528 Q F1 +2.5 E F0(.)A F1(monitor)184 540 Q F0(Same as)224 540 Q F12.5 +E F0(.)A F1(noclob)184 552 Q(ber)-.1 E F0(Same as)224 564 Q F12.5 +E F0(.)A F1(noexec)184 576 Q F0(Same as)224 576 Q F12.5 E F0(.)A +F1(noglob)184 588 Q F0(Same as)224 588 Q F12.5 E F0(.)A F1(nolog) +184 600 Q F0(Currently ignored.)224 600 Q F1(notify)184 612 Q F0 +(Same as)224 612 Q F12.5 E F0(.)A F1(nounset)184 624 Q F0(Same as) +224 624 Q F12.5 E F0(.)A F1(onecmd)184 636 Q F0(Same as)224 636 Q +F12.5 E F0(.)A F1(ph)184 648 Q(ysical)-.15 E F0(Same as)224 648 Q +F12.5 E F0(.)A F1(pipefail)184 660 Q F0 1.03(If set, the return v) +224 660 R 1.029(alue of a pipeline is the v)-.25 F 1.029 +(alue of the last \(rightmost\) com-)-.25 F 1.136(mand to e)224 672 R 1.136 (xit with a non-zero status, or zero if all commands in the pipeline) --.15 F -.15(ex)224 504 S(it successfully).15 E 5(.T)-.65 G -(his option is disabled by def)-5 E(ault.)-.1 E F1(posix)184 516 Q F0 -2.09(Change the beha)17.77 F 2.091(vior of)-.2 F F1(bash)4.591 E F0 +-.15 F -.15(ex)224 684 S(it successfully).15 E 5(.T)-.65 G +(his option is disabled by def)-5 E(ault.)-.1 E F1(posix)184 696 Q F0 +2.091(Change the beha)224 696 R 2.091(vior of)-.2 F F1(bash)4.591 E F0 2.091(where the def)4.591 F 2.091(ault operation dif)-.1 F 2.091 (fers from the)-.25 F 1.212(POSIX standard to match the standard \()224 -528 R F2 1.212(posix mode)B F0 3.712(\). See)B F3 1.212(SEE ALSO)3.712 F -F0(belo)3.462 E(w)-.25 E 2.306 -(for a reference to a document that details ho)224 540 R 4.807(wp)-.25 G -2.307(osix mode af)-4.807 F 2.307(fects bash')-.25 F(s)-.55 E(beha)224 -552 Q(vior)-.2 E(.)-.55 E F1(pri)184 564 Q(vileged)-.1 E F0(Same as)224 -576 Q F12.5 E F0(.)A F1 -.1(ve)184 588 S(rbose).1 E F0(Same as) -7.33 E F12.5 E F0(.)A F1(vi)184 600 Q F0 1.466 -(Use a vi-style command line editing interf)32.22 F 3.965(ace. This)-.1 -F 1.465(also af)3.965 F 1.465(fects the editing)-.25 F(interf)224 612 Q -(ace used for)-.1 E F1 -.18(re)2.5 G(ad \255e).18 E F0(.)A F1(xtrace)184 -624 Q F0(Same as)13.35 E F12.5 E F0(.)A(If)184 642 Q F13.052 -E F0 .552(is supplied with no)3.052 F F2(option\255name)3.053 E F0 3.053 -(,t)C .553(he v)-3.053 F .553(alues of the current options are printed.) --.25 F(If)5.553 E F1(+o)184 654 Q F0 1.072(is supplied with no)3.572 F -F2(option\255name)3.572 E F0 3.572(,a)C 1.071(series of)-.001 F F1(set) -3.571 E F0 1.071(commands to recreate the current)3.571 F -(option settings is displayed on the standard output.)184 666 Q F1 -144 678 Q F0 -.45(Tu)28.74 G 1.071(rn on).45 F F2(privile)4.821 E -.1 -(ge)-.4 G(d).1 E F0 3.572(mode. In)4.341 F 1.072(this mode, the)3.572 F -F3($ENV)3.572 E F0(and)3.322 E F3($B)3.572 E(ASH_ENV)-.27 E F0 1.072 -(\214les are not pro-)3.322 F 1.501 -(cessed, shell functions are not inherited from the en)184 690 R 1.5 -(vironment, and the)-.4 F F3(SHELLOPTS)4 E F4(,)A F3 -.27(BA)184 702 S -(SHOPTS).27 E F4(,)A F3(CDP)2.774 E -.855(AT)-.666 G(H).855 E F4(,)A F0 -(and)2.774 E F3(GLOBIGNORE)3.024 E F0 -.25(va)2.774 G .524 -(riables, if the).25 F 3.025(ya)-.15 G .525(ppear in the en)-3.025 F -(vironment,)-.4 E .38(are ignored.)184 714 R .38 -(If the shell is started with the ef)5.38 F(fecti)-.25 E .679 -.15(ve u) --.25 H .379(ser \(group\) id not equal to the real).15 F 2.196 -(user \(group\) id, and the)184 726 R F14.696 E F0 2.196 -(option is not supplied, these actions are tak)4.696 F 2.196(en and the) --.1 F(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(15)198.725 E 0 Cg EP +708 R F3 1.212(posix mode)B F0 3.712(\). See)B F2 1.212(SEE ALSO)3.712 F +F0(belo)3.463 E(w)-.25 E 2.307 +(for a reference to a document that details ho)224 720 R 4.806(wp)-.25 G +2.306(osix mode af)-4.806 F 2.306(fects bash')-.25 F(s)-.55 E +(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(15)198.725 E 0 Cg EP %%Page: 16 16 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(ef)184 84 Q -(fecti)-.25 E 1.667 -.15(ve u)-.25 H 1.367 -(ser id is set to the real user id.).15 F 1.367(If the)6.367 F/F1 10 -/Times-Bold@0 SF3.867 E F0 1.366 -(option is supplied at startup, the)3.866 F(ef)184 96 Q(fecti)-.25 E -.708 -.15(ve u)-.25 H .408(ser id is not reset.).15 F -.45(Tu)5.409 G -.409(rning this option of).45 F 2.909(fc)-.25 G .409(auses the ef)-2.909 -F(fecti)-.25 E .709 -.15(ve u)-.25 H .409(ser and group).15 F -(ids to be set to the real user and group ids.)184 108 Q F1144 120 -Q F0(Exit after reading and e)30.97 E -.15(xe)-.15 G -(cuting one command.).15 E F1144 132 Q F0 -.35(Tr)28.74 G .044 -(eat unset v).35 F .044(ariables and parameters other than the special \ -parameters "@" and "*" as an)-.25 F .182 -(error when performing parameter e)184 144 R 2.682(xpansion. If)-.15 F --.15(ex)2.682 G .183(pansion is attempted on an unset v).15 F(ari-)-.25 -E .746(able or parameter)184 156 R 3.246(,t)-.4 G .746 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E(beha)224 84 Q(vior)-.2 E(.)-.55 E/F1 10 +/Times-Bold@0 SF(pri)184 96 Q(vileged)-.1 E F0(Same as)224 108 Q F1 +2.5 E F0(.)A F1 -.1(ve)184 120 S(rbose).1 E F0(Same as)224 120 Q +F12.5 E F0(.)A F1(vi)184 132 Q F0 1.465 +(Use a vi-style command line editing interf)224 132 R 3.966(ace. This) +-.1 F 1.466(also af)3.966 F 1.466(fects the editing)-.25 F(interf)224 +144 Q(ace used for)-.1 E F1 -.18(re)2.5 G(ad \255e).18 E F0(.)A F1 +(xtrace)184 156 Q F0(Same as)224 156 Q F12.5 E F0(.)A(If)184 174 Q +F13.053 E F0 .553(is supplied with no)3.053 F/F2 10/Times-Italic@0 +SF(option\255name)3.053 E F0 3.053(,t)C .553(he v)-3.053 F .552 +(alues of the current options are printed.)-.25 F(If)5.552 E F1(+o)184 +186 Q F0 1.071(is supplied with no)3.571 F F2(option\255name)3.571 E F0 +3.571(,as)C 1.071(eries of)-3.571 F F1(set)3.572 E F0 1.072 +(commands to recreate the current)3.572 F +(option settings is displayed on the standard output.)184 198 Q F1 +144 210 Q F0 -.45(Tu)184 210 S 1.072(rn on).45 F F2(privile)4.822 E -.1 +(ge)-.4 G(d).1 E F0 3.572(mode. In)4.342 F 1.072(this mode, the)3.572 F +/F3 9/Times-Bold@0 SF($ENV)3.572 E F0(and)3.322 E F3($B)3.572 E(ASH_ENV) +-.27 E F0 1.071(\214les are not pro-)3.322 F 1.5 +(cessed, shell functions are not inherited from the en)184 222 R 1.501 +(vironment, and the)-.4 F F3(SHELLOPTS)4.001 E/F4 9/Times-Roman@0 SF(,)A +F3 -.27(BA)184 234 S(SHOPTS).27 E F4(,)A F3(CDP)2.775 E -.855(AT)-.666 G +(H).855 E F4(,)A F0(and)2.775 E F3(GLOBIGNORE)3.025 E F0 -.25(va)2.775 G +.524(riables, if the).25 F 3.024(ya)-.15 G .524(ppear in the en)-3.024 F +(vironment,)-.4 E .379(are ignored.)184 246 R .379 +(If the shell is started with the ef)5.379 F(fecti)-.25 E .679 -.15 +(ve u)-.25 H .38(ser \(group\) id not equal to the real).15 F .462 +(user \(group\) id, and the)184 258 R F12.961 E F0 .461 +(option is not supplied, these actions are tak)2.961 F .461 +(en and the ef)-.1 F(fec-)-.25 E(ti)184 270 Q .694 -.15(ve u)-.25 H .394 +(ser id is set to the real user id.).15 F .395(If the)5.395 F F1 +2.895 E F0 .395(option is supplied at startup, the ef)2.895 F(fecti)-.25 +E -.15(ve)-.25 G .387(user id is not reset.)184 282 R -.45(Tu)5.387 G +.387(rning this option of).45 F 2.886(fc)-.25 G .386(auses the ef)-2.886 +F(fecti)-.25 E .686 -.15(ve u)-.25 H .386(ser and group ids to be).15 F +(set to the real user and group ids.)184 294 Q F1144 306 Q F0 +(Exit after reading and e)184 306 Q -.15(xe)-.15 G(cuting one command.) +.15 E F1144 318 Q F0 -.35(Tr)184 318 S .043(eat unset v).35 F .044 +(ariables and parameters other than the special parameters "@" and "*" \ +as an)-.25 F .183(error when performing parameter e)184 330 R 2.683 +(xpansion. If)-.15 F -.15(ex)2.683 G .182 +(pansion is attempted on an unset v).15 F(ari-)-.25 E .746 +(able or parameter)184 342 R 3.246(,t)-.4 G .746 (he shell prints an error message, and, if not interacti)-3.246 F -.15 (ve)-.25 G 3.246(,e).15 G .746(xits with a)-3.396 F(non-zero status.)184 -168 Q F1144 180 Q F0(Print shell input lines as the)29.3 E 2.5(ya) --.15 G(re read.)-2.5 E F1144 192 Q F0 .315(After e)29.3 F .315 -(xpanding each)-.15 F/F2 10/Times-Italic@0 SF .315(simple command)2.815 -F F0(,)A F1 -.25(fo)2.815 G(r).25 E F0(command,)2.815 E F1(case)2.815 E -F0(command,)2.815 E F1(select)2.815 E F0(command,)2.815 E 1.236 -(or arithmetic)184 204 R F1 -.25(fo)3.736 G(r).25 E F0 1.236 -(command, display the e)3.736 F 1.236(xpanded v)-.15 F 1.236(alue of) --.25 F/F3 9/Times-Bold@0 SF(PS4)3.736 E/F4 9/Times-Roman@0 SF(,)A F0 -(follo)3.486 E 1.236(wed by the com-)-.25 F(mand and its e)184 216 Q +354 Q F1144 366 Q F0(Print shell input lines as the)184 366 Q 2.5 +(ya)-.15 G(re read.)-2.5 E F1144 378 Q F0 .315(After e)184 378 R +.315(xpanding each)-.15 F F2 .315(simple command)2.815 F F0(,)A F1 -.25 +(fo)2.815 G(r).25 E F0(command,)2.815 E F1(case)2.815 E F0(command,) +2.815 E F1(select)2.815 E F0(command,)2.815 E 1.235(or arithmetic)184 +390 R F1 -.25(fo)3.736 G(r).25 E F0 1.236(command, display the e)3.736 F +1.236(xpanded v)-.15 F 1.236(alue of)-.25 F F3(PS4)3.736 E F4(,)A F0 +(follo)3.486 E 1.236(wed by the com-)-.25 F(mand and its e)184 402 Q (xpanded ar)-.15 E(guments or associated w)-.18 E(ord list.)-.1 E F1 -144 228 Q F0 2.578(The shell performs brace e)27.63 F 2.578 +144 414 Q F0 2.579(The shell performs brace e)184 414 R 2.578 (xpansion \(see)-.15 F F1 2.578(Brace Expansion)5.078 F F0(abo)5.078 E --.15(ve)-.15 G 5.079(\). This).15 F 2.579(is on by)5.079 F(def)184 240 Q -(ault.)-.1 E F1144 252 Q F0 .214(If set,)27.08 F F1(bash)2.714 E -F0 .214(does not o)2.714 F -.15(ve)-.15 G .214(rwrite an e).15 F .214 +-.15(ve)-.15 G 5.078(\). This).15 F 2.578(is on by)5.078 F(def)184 426 Q +(ault.)-.1 E F1144 438 Q F0 .213(If set,)184 438 R F1(bash)2.713 E +F0 .213(does not o)2.713 F -.15(ve)-.15 G .214(rwrite an e).15 F .214 (xisting \214le with the)-.15 F F1(>)2.714 E F0(,)A F1(>&)2.714 E F0 -2.713(,a)C(nd)-2.713 E F1(<>)2.713 E F0 .213(redirection opera-)2.713 F -3.053(tors. This)184 264 R .553(may be o)3.053 F -.15(ve)-.15 G .553 +2.714(,a)C(nd)-2.714 E F1(<>)2.714 E F0 .214(redirection opera-)2.714 F +3.054(tors. This)184 450 R .553(may be o)3.053 F -.15(ve)-.15 G .553 (rridden when creating output \214les by using the redirection opera-) -.15 F(tor)184 276 Q F1(>|)2.5 E F0(instead of)2.5 E F1(>)2.5 E F0(.)A F1 -144 288 Q F0 .104(If set, an)27.63 F 2.604(yt)-.15 G .104(rap on) --2.604 F F1(ERR)2.604 E F0 .103 -(is inherited by shell functions, command substitutions, and com-)2.604 -F .838(mands e)184 300 R -.15(xe)-.15 G .838(cuted in a subshell en).15 -F 3.338(vironment. The)-.4 F F1(ERR)3.338 E F0 .839 -(trap is normally not inherited in)3.339 F(such cases.)184 312 Q F1 -144 324 Q F0(Enable)26.52 E F1(!)3.032 E F0 .532 -(style history substitution.)5.532 F .531(This option is on by def)5.532 -F .531(ault when the shell is inter)-.1 F(-)-.2 E(acti)184 336 Q -.15 -(ve)-.25 G(.).15 E F1144 348 Q F0 .959 -(If set, the shell does not resolv)28.19 F 3.459(es)-.15 G .959 -(ymbolic links when e)-3.459 F -.15(xe)-.15 G .96 -(cuting commands such as).15 F F1(cd)3.46 E F0 2.822 -(that change the current w)184 360 R 2.822(orking directory)-.1 F 7.822 -(.I)-.65 G 5.322(tu)-7.822 G 2.822(ses the ph)-5.322 F 2.821 -(ysical directory structure)-.05 F 2.685(instead. By)184 372 R(def)2.685 +.15 F(tor)184 462 Q F1(>|)2.5 E F0(instead of)2.5 E F1(>)2.5 E F0(.)A F1 +144 474 Q F0 .103(If set, an)184 474 R 2.603(yt)-.15 G .103 +(rap on)-2.603 F F1(ERR)2.603 E F0 .104 +(is inherited by shell functions, command substitutions, and com-)2.603 +F .839(mands e)184 486 R -.15(xe)-.15 G .839(cuted in a subshell en).15 +F 3.339(vironment. The)-.4 F F1(ERR)3.338 E F0 .838 +(trap is normally not inherited in)3.338 F(such cases.)184 498 Q F1 +144 510 Q F0(Enable)184 510 Q F1(!)3.031 E F0 .531 +(style history substitution.)5.531 F .531(This option is on by def)5.531 +F .532(ault when the shell is inter)-.1 F(-)-.2 E(acti)184 522 Q -.15 +(ve)-.25 G(.).15 E F1144 534 Q F0 .96 +(If set, the shell does not resolv)184 534 R 3.459(es)-.15 G .959 +(ymbolic links when e)-3.459 F -.15(xe)-.15 G .959 +(cuting commands such as).15 F F1(cd)3.459 E F0 2.821 +(that change the current w)184 546 R 2.822(orking directory)-.1 F 7.822 +(.I)-.65 G 5.322(tu)-7.822 G 2.822(ses the ph)-5.322 F 2.822 +(ysical directory structure)-.05 F 2.686(instead. By)184 558 R(def)2.686 E(ault,)-.1 E F1(bash)2.686 E F0(follo)2.686 E .186 (ws the logical chain of directories when performing com-)-.25 F -(mands which change the current directory)184 384 Q(.)-.65 E F1144 -396 Q F0 .89(If set, an)27.63 F 3.39(yt)-.15 G .89(raps on)-3.39 F F1 +(mands which change the current directory)184 570 Q(.)-.65 E F1144 +582 Q F0 .89(If set, an)184 582 R 3.39(yt)-.15 G .89(raps on)-3.39 F F1 (DEB)3.39 E(UG)-.1 E F0(and)3.39 E F1(RETURN)3.39 E F0 .89 (are inherited by shell functions, command)3.39 F 1.932 -(substitutions, and commands e)184 408 R -.15(xe)-.15 G 1.932 +(substitutions, and commands e)184 594 R -.15(xe)-.15 G 1.932 (cuted in a subshell en).15 F 4.432(vironment. The)-.4 F F1(DEB)4.432 E -(UG)-.1 E F0(and)4.432 E F1(RETURN)184 420 Q F0 -(traps are normally not inherited in such cases.)2.5 E F1144 432 Q -F0 .401(If no ar)28.6 F .401(guments follo)-.18 F 2.901(wt)-.25 G .401 +(UG)-.1 E F0(and)4.432 E F1(RETURN)184 606 Q F0 +(traps are normally not inherited in such cases.)2.5 E F1144 618 Q +F0 .4(If no ar)184 618 R .401(guments follo)-.18 F 2.901(wt)-.25 G .401 (his option, then the positional parameters are unset.)-2.901 F -(Otherwise,)5.4 E(the positional parameters are set to the)184 444 Q F2 -(ar)2.5 E(g)-.37 E F0(s, e)A -.15(ve)-.25 G 2.5(ni).15 G 2.5(fs)-2.5 G +(Otherwise,)5.401 E(the positional parameters are set to the)184 630 Q +F2(ar)2.5 E(g)-.37 E F0(s, e)A -.15(ve)-.25 G 2.5(ni).15 G 2.5(fs)-2.5 G (ome of them be)-2.5 E(gin with a)-.15 E F12.5 E F0(.)A F1144 -456 Q F0 1.944(Signal the end of options, cause all remaining)34.3 F F2 -(ar)4.444 E(g)-.37 E F0 4.444(st)C 4.444(ob)-4.444 G 4.445(ea)-4.444 G -1.945(ssigned to the positional)-4.445 F 3.446(parameters. The)184 468 R -F13.446 E F0(and)3.446 E F13.446 E F0 .945 -(options are turned of)3.446 F 3.445(f. If)-.25 F .945(there are no) -3.445 F F2(ar)3.445 E(g)-.37 E F0 .945(s, the positional)B -(parameters remain unchanged.)184 480 Q .425(The options are of)144 -496.8 R 2.925(fb)-.25 G 2.925(yd)-2.925 G(ef)-2.925 E .425 +642 Q F0 1.945(Signal the end of options, cause all remaining)184 642 R +F2(ar)4.444 E(g)-.37 E F0 4.444(st)C 4.444(ob)-4.444 G 4.444(ea)-4.444 G +1.944(ssigned to the positional)-4.444 F 3.445(parameters. The)184 654 R +F13.445 E F0(and)3.445 E F13.445 E F0 .945 +(options are turned of)3.445 F 3.445(f. If)-.25 F .946(there are no) +3.445 F F2(ar)3.446 E(g)-.37 E F0 .946(s, the positional)B +(parameters remain unchanged.)184 666 Q .425(The options are of)144 +682.8 R 2.925(fb)-.25 G 2.925(yd)-2.925 G(ef)-2.925 E .425 (ault unless otherwise noted.)-.1 F .425 -(Using + rather than \255 causes these options)5.425 F .178 -(to be turned of)144 508.8 R 2.678(f. The)-.25 F .178 +(Using + rather than \255 causes these options)5.425 F .177 +(to be turned of)144 694.8 R 2.677(f. The)-.25 F .178 (options can also be speci\214ed as ar)2.678 F .178(guments to an in) --.18 F -.2(vo)-.4 G .177(cation of the shell.).2 F(The)5.177 E .066 -(current set of options may be found in)144 520.8 R F1<24ad>2.566 E F0 +-.18 F -.2(vo)-.4 G .178(cation of the shell.).2 F(The)5.178 E .066 +(current set of options may be found in)144 706.8 R F1<24ad>2.566 E F0 5.066(.T)C .066(he return status is al)-5.066 F -.1(wa)-.1 G .066 -(ys true unless an in).1 F -.25(va)-.4 G .067(lid option).25 F -(is encountered.)144 532.8 Q F1(shift)108 549.6 Q F0([)2.5 E F2(n)A F0 -(])A .429(The positional parameters from)144 561.6 R F2(n)2.929 E F0 -.429(+1 ... are renamed to)B F1 .429($1 ....)2.929 F F0 -.15(Pa)5.428 G -.428(rameters represented by the num-).15 F(bers)144 573.6 Q F1($#)2.582 -E F0(do)2.582 E .082(wn to)-.25 F F1($#)2.582 E F0A F2(n)A F0 .082 -(+1 are unset.)B F2(n)5.442 E F0 .082(must be a non-ne)2.822 F -.05(ga) --.15 G(ti).05 E .383 -.15(ve n)-.25 H .083(umber less than or equal to) -.15 F F1($#)2.583 E F0 5.083(.I)C(f)-5.083 E F2(n)2.943 E F0 .06 -(is 0, no parameters are changed.)144 585.6 R(If)5.06 E F2(n)2.92 E F0 -.06(is not gi)2.8 F -.15(ve)-.25 G .06(n, it is assumed to be 1.).15 F -(If)5.06 E F2(n)2.92 E F0 .06(is greater than)2.8 F F1($#)2.56 E F0 2.56 -(,t)C(he)-2.56 E .143(positional parameters are not changed.)144 597.6 R -.144(The return status is greater than zero if)5.143 F F2(n)3.004 E F0 -.144(is greater than)2.884 F F1($#)2.644 E F0 -(or less than zero; otherwise 0.)144 609.6 Q F1(shopt)108 626.4 Q F0([) -2.5 E F1(\255pqsu)A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(optname) --2.5 E F0(...])2.5 E -.8(To)144 638.4 S .64(ggle the v).8 F .639 -(alues of settings controlling optional shell beha)-.25 F(vior)-.2 E -5.639(.T)-.55 G .639(he settings can be either those)-5.639 F .374 -(listed belo)144 650.4 R 1.674 -.65(w, o)-.25 H 1.174 -.4(r, i).65 H -2.874(ft).4 G(he)-2.874 E F12.874 E F0 .375 -(option is used, those a)2.875 F -.25(va)-.2 G .375(ilable with the).25 -F F12.875 E F0 .375(option to the)2.875 F F1(set)2.875 E F0 -.2 -(bu)2.875 G .375(iltin com-).2 F 3.326(mand. W)144 662.4 R .826 -(ith no options, or with the)-.4 F F13.326 E F0 .825 -(option, a list of all settable options is displayed, with an)3.326 F -.945(indication of whether or not each is set.)144 674.4 R(The)5.945 E -F13.445 E F0 .945(option causes output to be displayed in a form) -3.445 F(that may be reused as input.)144 686.4 Q(Other options ha)5 E .3 --.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1144 698.4 Q -F0(Enable \(set\) each)26.41 E F2(optname)2.5 E F0(.)A F1144 710.4 -Q F0(Disable \(unset\) each)24.74 E F2(optname)2.5 E F0(.)A -(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(16)198.725 E 0 Cg EP +(ys true unless an in).1 F -.25(va)-.4 G .066(lid option).25 F +(is encountered.)144 718.8 Q(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E +(16)198.725 E 0 Cg EP %%Page: 17 17 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF144 84 Q F0 .003(Suppresses normal output \(quiet\ - mode\); the return status indicates whether the)24.74 F/F2 10 -/Times-Italic@0 SF(optname)2.503 E F0(is)2.503 E .255(set or unset.)180 -96 R .255(If multiple)5.255 F F2(optname)2.755 E F0(ar)2.755 E .256 -(guments are gi)-.18 F -.15(ve)-.25 G 2.756(nw).15 G(ith)-2.756 E F1 -2.756 E F0 2.756(,t)C .256(he return status is zero if)-2.756 F -(all)180 108 Q F2(optnames)2.5 E F0(are enabled; non-zero otherwise.)2.5 -E F1144 120 Q F0(Restricts the v)25.3 E(alues of)-.25 E F2 -(optname)2.5 E F0(to be those de\214ned for the)2.5 E F12.5 E F0 -(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .625 -(If either)144 136.8 R F13.125 E F0(or)3.124 E F13.124 E F0 -.624(is used with no)3.124 F F2(optname)3.124 E F0(ar)3.124 E(guments,) --.18 E F1(shopt)3.124 E F0(sho)3.124 E .624 -(ws only those options which are)-.25 F 2.233(set or unset, respecti)144 -148.8 R -.15(ve)-.25 G(ly).15 E 7.234(.U)-.65 G 2.234 -(nless otherwise noted, the)-7.234 F F1(shopt)4.734 E F0 2.234 -(options are disabled \(unset\) by)4.734 F(def)144 160.8 Q(ault.)-.1 E -1.544(The return status when listing options is zero if all)144 177.6 R -F2(optnames)4.044 E F0 1.544(are enabled, non-zero otherwise.)4.044 F -.696 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(shift)108 84 Q F0([) +2.5 E/F2 10/Times-Italic@0 SF(n)A F0(])A .428 +(The positional parameters from)144 96 R F2(n)2.928 E F0 .429 +(+1 ... are renamed to)B F1 .429($1 ....)2.929 F F0 -.15(Pa)5.429 G .429 +(rameters represented by the num-).15 F(bers)144 108 Q F1($#)2.583 E F0 +(do)2.583 E .083(wn to)-.25 F F1($#)2.583 E F0A F2(n)A F0 .083 +(+1 are unset.)B F2(n)5.443 E F0 .083(must be a non-ne)2.823 F -.05(ga) +-.15 G(ti).05 E .382 -.15(ve n)-.25 H .082(umber less than or equal to) +.15 F F1($#)2.582 E F0 5.082(.I)C(f)-5.082 E F2(n)2.942 E F0 .06 +(is 0, no parameters are changed.)144 120 R(If)5.06 E F2(n)2.92 E F0 .06 +(is not gi)2.8 F -.15(ve)-.25 G .06(n, it is assumed to be 1.).15 F(If) +5.06 E F2(n)2.92 E F0 .06(is greater than)2.8 F F1($#)2.56 E F0 2.56(,t) +C(he)-2.56 E .144(positional parameters are not changed.)144 132 R .144 +(The return status is greater than zero if)5.144 F F2(n)3.003 E F0 .143 +(is greater than)2.883 F F1($#)2.643 E F0 +(or less than zero; otherwise 0.)144 144 Q F1(shopt)108 160.8 Q F0([)2.5 +E F1(\255pqsu)A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(optname)-2.5 E +F0(...])2.5 E -.8(To)144 172.8 S .639(ggle the v).8 F .639 +(alues of settings controlling optional shell beha)-.25 F(vior)-.2 E +5.639(.T)-.55 G .64(he settings can be either those)-5.639 F .375 +(listed belo)144 184.8 R 1.675 -.65(w, o)-.25 H 1.175 -.4(r, i).65 H +2.875(ft).4 G(he)-2.875 E F12.875 E F0 .375 +(option is used, those a)2.875 F -.25(va)-.2 G .375(ilable with the).25 +F F12.875 E F0 .374(option to the)2.875 F F1(set)2.874 E F0 -.2 +(bu)2.874 G .374(iltin com-).2 F 3.325(mand. W)144 196.8 R .825 +(ith no options, or with the)-.4 F F13.325 E F0 .826 +(option, a list of all settable options is displayed, with an)3.325 F +.945(indication of whether or not each is set.)144 208.8 R(The)5.945 E +F13.445 E F0 .945(option causes output to be displayed in a form) +3.445 F(that may be reused as input.)144 220.8 Q(Other options ha)5 E .3 +-.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1144 232.8 Q +F0(Enable \(set\) each)180 232.8 Q F2(optname)2.5 E F0(.)A F1144 +244.8 Q F0(Disable \(unset\) each)180 244.8 Q F2(optname)2.5 E F0(.)A F1 +144 256.8 Q F0 .003(Suppresses normal output \(quiet mode\); the \ +return status indicates whether the)180 256.8 R F2(optname)2.504 E F0 +(is)2.504 E .256(set or unset.)180 268.8 R .256(If multiple)5.256 F F2 +(optname)2.756 E F0(ar)2.756 E .256(guments are gi)-.18 F -.15(ve)-.25 G +2.756(nw).15 G(ith)-2.756 E F12.756 E F0 2.755(,t)C .255 +(he return status is zero if)-2.755 F(all)180 280.8 Q F2(optnames)2.5 E +F0(are enabled; non-zero otherwise.)2.5 E F1144 292.8 Q F0 +(Restricts the v)180 292.8 Q(alues of)-.25 E F2(optname)2.5 E F0 +(to be those de\214ned for the)2.5 E F12.5 E F0(option to the)2.5 +E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .624(If either)144 309.6 R F1 +3.124 E F0(or)3.124 E F13.124 E F0 .624(is used with no) +3.124 F F2(optname)3.124 E F0(ar)3.124 E(guments,)-.18 E F1(shopt)3.124 +E F0(sho)3.124 E .624(ws only those options which are)-.25 F 2.234 +(set or unset, respecti)144 321.6 R -.15(ve)-.25 G(ly).15 E 7.234(.U) +-.65 G 2.234(nless otherwise noted, the)-7.234 F F1(shopt)4.734 E F0 +2.234(options are disabled \(unset\) by)4.734 F(def)144 333.6 Q(ault.) +-.1 E 1.544(The return status when listing options is zero if all)144 +350.4 R F2(optnames)4.044 E F0 1.545(are enabled, non-zero otherwise.) +4.045 F .696 (When setting or unsetting options, the return status is zero unless an) -144 189.6 R F2(optname)3.196 E F0 .696(is not a v)3.196 F .696 -(alid shell)-.25 F(option.)144 201.6 Q(The list of)144 218.4 Q F1(shopt) -2.5 E F0(options is:)2.5 E F1(autocd)144 236.4 Q F0 .2 -(If set, a command name that is the name of a directory is e)11.11 F --.15(xe)-.15 G .199(cuted as if it were the ar).15 F(gu-)-.18 E -(ment to the)184 248.4 Q F1(cd)2.5 E F0 2.5(command. This)2.5 F +144 362.4 R F2(optname)3.196 E F0 .696(is not a v)3.196 F .695 +(alid shell)-.25 F(option.)144 374.4 Q(The list of)144 391.2 Q F1(shopt) +2.5 E F0(options is:)2.5 E F1(autocd)144 409.2 Q F0 .199 +(If set, a command name that is the name of a directory is e)184 409.2 R +-.15(xe)-.15 G .2(cuted as if it were the ar).15 F(gu-)-.18 E +(ment to the)184 421.2 Q F1(cd)2.5 E F0 2.5(command. This)2.5 F (option is only used by interacti)2.5 E .3 -.15(ve s)-.25 H(hells.).15 E -F1(cdable_v)144 260.4 Q(ars)-.1 E F0 .155(If set, an ar)184 272.4 R .155 -(gument to the)-.18 F F1(cd)2.655 E F0 -.2(bu)2.655 G .156 +F1(cdable_v)144 433.2 Q(ars)-.1 E F0 .156(If set, an ar)184 445.2 R .156 +(gument to the)-.18 F F1(cd)2.656 E F0 -.2(bu)2.656 G .155 (iltin command that is not a directory is assumed to be the).2 F -(name of a v)184 284.4 Q(ariable whose v)-.25 E -(alue is the directory to change to.)-.25 E F1(cdspell)144 296.4 Q F0 +(name of a v)184 457.2 Q(ariable whose v)-.25 E +(alue is the directory to change to.)-.25 E F1(cdspell)144 469.2 Q F0 1.055 -(If set, minor errors in the spelling of a directory component in a) -10.55 F F1(cd)3.555 E F0 1.055(command will be)3.555 F 3.987 -(corrected. The)184 308.4 R 1.487(errors check)3.987 F 1.487 -(ed for are transposed characters, a missing character)-.1 F 3.988(,a) --.4 G(nd)-3.988 E .77(one character too man)184 320.4 R 4.57 -.65(y. I) +(If set, minor errors in the spelling of a directory component in a)184 +469.2 R F1(cd)3.555 E F0 1.055(command will be)3.555 F 3.988 +(corrected. The)184 481.2 R 1.488(errors check)3.988 F 1.487 +(ed for are transposed characters, a missing character)-.1 F 3.987(,a) +-.4 G(nd)-3.987 E .77(one character too man)184 493.2 R 4.57 -.65(y. I) -.15 H 3.27(fac).65 G .77 (orrection is found, the corrected \214lename is printed, and)-3.27 F -(the command proceeds.)184 332.4 Q +(the command proceeds.)184 505.2 Q (This option is only used by interacti)5 E .3 -.15(ve s)-.25 H(hells.) -.15 E F1(checkhash)144 344.4 Q F0 2.079(If set,)184 356.4 R F1(bash) -4.579 E F0 2.079(checks that a command found in the hash table e)4.579 F -2.08(xists before trying to)-.15 F -.15(exe)184 368.4 S(cute it.).15 E -(If a hashed command no longer e)5 E -(xists, a normal path search is performed.)-.15 E F1(checkjobs)144 380.4 -Q F0 .449(If set,)184 392.4 R F1(bash)2.949 E F0 .449 -(lists the status of an)2.949 F 2.949(ys)-.15 G .448 -(topped and running jobs before e)-2.949 F .448(xiting an interacti)-.15 -F -.15(ve)-.25 G 3.438(shell. If)184 404.4 R(an)3.438 E 3.438(yj)-.15 G -.938(obs are running, this causes the e)-3.438 F .938 -(xit to be deferred until a second e)-.15 F .939(xit is)-.15 F 2.203 -(attempted without an interv)184 416.4 R 2.203(ening command \(see)-.15 +.15 E F1(checkhash)144 517.2 Q F0 .737(If set,)184 529.2 R F1(bash)3.237 +E F0 .736(checks that a command found in the hash table e)3.237 F .736 +(xists before trying to e)-.15 F -.15(xe)-.15 G(-).15 E(cute it.)184 +541.2 Q(If a hashed command no longer e)5 E +(xists, a normal path search is performed.)-.15 E F1(checkjobs)144 553.2 +Q F0 .448(If set,)184 565.2 R F1(bash)2.948 E F0 .448 +(lists the status of an)2.948 F 2.949(ys)-.15 G .449 +(topped and running jobs before e)-2.949 F .449(xiting an interacti)-.15 +F -.15(ve)-.25 G 3.439(shell. If)184 577.2 R(an)3.439 E 3.439(yj)-.15 G +.938(obs are running, this causes the e)-3.439 F .938 +(xit to be deferred until a second e)-.15 F .938(xit is)-.15 F 2.203 +(attempted without an interv)184 589.2 R 2.203(ening command \(see)-.15 F/F3 9/Times-Bold@0 SF 2.203(JOB CONTR)4.703 F(OL)-.27 E F0(abo)4.453 E --.15(ve)-.15 G 4.703(\). The).15 F(shell)4.703 E(al)184 428.4 Q -.1(wa) +-.15(ve)-.15 G 4.703(\). The).15 F(shell)4.704 E(al)184 601.2 Q -.1(wa) -.1 G(ys postpones e).1 E(xiting if an)-.15 E 2.5(yj)-.15 G -(obs are stopped.)-2.5 E F1(checkwinsize)144 440.4 Q F0 .796(If set,)184 -452.4 R F1(bash)3.296 E F0 .796(checks the windo)3.296 F 3.296(ws)-.25 G -.797(ize after each command and, if necessary)-3.296 F 3.297(,u)-.65 G -.797(pdates the)-3.297 F -.25(va)184 464.4 S(lues of).25 E F3(LINES)2.5 +(obs are stopped.)-2.5 E F1(checkwinsize)144 613.2 Q F0 .797(If set,)184 +625.2 R F1(bash)3.297 E F0 .797(checks the windo)3.297 F 3.297(ws)-.25 G +.796(ize after each command and, if necessary)-3.297 F 3.296(,u)-.65 G +.796(pdates the)-3.296 F -.25(va)184 637.2 S(lues of).25 E F3(LINES)2.5 E F0(and)2.25 E F3(COLUMNS)2.5 E/F4 9/Times-Roman@0 SF(.)A F1(cmdhist) -144 476.4 Q F0 1.202(If set,)6.11 F F1(bash)3.702 E F0 1.202 +144 649.2 Q F0 1.202(If set,)184 649.2 R F1(bash)3.702 E F0 1.202 (attempts to sa)3.702 F 1.502 -.15(ve a)-.2 H 1.202 (ll lines of a multiple-line command in the same history).15 F(entry)184 -488.4 Q 5(.T)-.65 G(his allo)-5 E -(ws easy re-editing of multi-line commands.)-.25 E F1(compat31)144 500.4 -Q F0 .419(If set,)184 512.4 R F1(bash)2.919 E F0 .419(changes its beha) -2.919 F .419(vior to that of v)-.2 F .42 -(ersion 3.1 with respect to quoted ar)-.15 F(guments)-.18 E .462(to the) -184 524.4 R F1([[)2.962 E F0 .462(conditional command')2.962 F(s)-.55 E +661.2 Q 5(.T)-.65 G(his allo)-5 E +(ws easy re-editing of multi-line commands.)-.25 E F1(compat31)144 673.2 +Q F0 .42(If set,)184 685.2 R F1(bash)2.92 E F0 .42(changes its beha)2.92 +F .419(vior to that of v)-.2 F .419 +(ersion 3.1 with respect to quoted ar)-.15 F(guments)-.18 E .461(to the) +184 697.2 R F1([[)2.961 E F0 .462(conditional command')2.962 F(s)-.55 E F1(=~)2.962 E F0 .462 (operator and locale-speci\214c string comparison when)2.962 F .71 -(using the)184 536.4 R F1([[)3.21 E F0 .71(conditional command')3.21 F +(using the)184 709.2 R F1([[)3.21 E F0 .71(conditional command')3.21 F (s)-.55 E F1(<)3.21 E F0(and)3.21 E F1(>)3.21 E F0 3.21(operators. Bash) -3.21 F -.15(ve)3.21 G .71(rsions prior to bash-4.1).15 F .821 -(use ASCII collation and)184 548.4 R F2(str)3.321 E(cmp)-.37 E F0 .821 -(\(3\); bash-4.1 and later use the current locale').19 F 3.32(sc)-.55 G -(ollation)-3.32 E(sequence and)184 560.4 Q F2(str)2.5 E(coll)-.37 E F0 -(\(3\).).51 E F1(compat32)144 572.4 Q F0 1.409(If set,)184 584.4 R F1 -(bash)3.909 E F0 1.409(changes its beha)3.909 F 1.409(vior to that of v) --.2 F 1.41(ersion 3.2 with respect to locale-speci\214c)-.15 F .423 -(string comparison when using the)184 596.4 R F1([[)2.922 E F0 .422 -(conditional command')2.922 F(s)-.55 E F1(<)2.922 E F0(and)2.922 E F1(>) -2.922 E F0 .422(operators \(see pre-)2.922 F(vious item\).)184 608.4 Q -F1(compat40)144 620.4 Q F0 1.409(If set,)184 632.4 R F1(bash)3.909 E F0 +3.21 F -.15(ve)3.21 G .71(rsions prior to bash-4.1).15 F .82 +(use ASCII collation and)184 721.2 R F2(str)3.321 E(cmp)-.37 E F0 .821 +(\(3\); bash-4.1 and later use the current locale').19 F 3.321(sc)-.55 G +(ollation)-3.321 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(17) +198.725 E 0 Cg EP +%%Page: 18 18 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E(sequence and)184 84 Q/F1 10/Times-Italic@0 +SF(str)2.5 E(coll)-.37 E F0(\(3\).).51 E/F2 10/Times-Bold@0 SF(compat32) +144 96 Q F0 1.41(If set,)184 108 R F2(bash)3.91 E F0 1.41 +(changes its beha)3.91 F 1.409(vior to that of v)-.2 F 1.409 +(ersion 3.2 with respect to locale-speci\214c)-.15 F .422 +(string comparison when using the)184 120 R F2([[)2.922 E F0 .422 +(conditional command')2.922 F(s)-.55 E F2(<)2.922 E F0(and)2.922 E F2(>) +2.923 E F0 .423(operators \(see pre-)2.923 F .481 +(vious item\) and the ef)184 132 R .481 +(fect of interrupting a command list.)-.25 F .48(Bash v)5.481 F .48 +(ersions 3.2 and earlier)-.15 F(continue with the ne)184 144 Q +(xt command in the list after one terminates due to an interrupt.)-.15 E +F2(compat40)144 156 Q F0 1.409(If set,)184 168 R F2(bash)3.909 E F0 1.409(changes its beha)3.909 F 1.409(vior to that of v)-.2 F 1.41 (ersion 4.0 with respect to locale-speci\214c)-.15 F 2.008 -(string comparison when using the)184 644.4 R F1([[)4.508 E F0 2.007 -(conditional command')4.508 F(s)-.55 E F1(<)4.507 E F0(and)4.507 E F1(>) -4.507 E F0 2.007(operators \(see)4.507 F .769(description of)184 656.4 R -F1(compat31)3.269 E F0 3.269(\)a)C .769(nd the ef)-3.269 F .769 +(string comparison when using the)184 180 R F2([[)4.508 E F0 2.007 +(conditional command')4.508 F(s)-.55 E F2(<)4.507 E F0(and)4.507 E F2(>) +4.507 E F0 2.007(operators \(see)4.507 F .769(description of)184 192 R +F2(compat31)3.269 E F0 3.269(\)a)C .769(nd the ef)-3.269 F .769 (fect of interrupting a command list.)-.25 F .77(Bash v)5.77 F(ersions) -.15 E .087(4.0 and later interrupt the list as if the shell recei)184 -668.4 R -.15(ve)-.25 G 2.586(dt).15 G .086(he interrupt; pre)-2.586 F -.086(vious v)-.25 F .086(ersions con-)-.15 F(tinue with the ne)184 680.4 -Q(xt command in the list.)-.15 E F1(compat41)144 692.4 Q F0 1.483 -(If set,)184 704.4 R F1(bash)3.983 E F0 3.983(,w)C 1.483(hen in)-3.983 F -F2(posix)3.983 E F0 1.484 +204 R -.15(ve)-.25 G 2.586(dt).15 G .086(he interrupt; pre)-2.586 F .086 +(vious v)-.25 F .086(ersions con-)-.15 F(tinue with the ne)184 216 Q +(xt command in the list.)-.15 E F2(compat41)144 228 Q F0 1.483(If set,) +184 240 R F2(bash)3.983 E F0 3.983(,w)C 1.483(hen in)-3.983 F F1(posix) +3.983 E F0 1.484 (mode, treats a single quote in a double-quoted parameter)3.983 F -.15 -(ex)184 716.4 S .959(pansion as a special character).15 F 5.959(.T)-.55 -G .958(he single quotes must match \(an e)-5.959 F -.15(ve)-.25 G 3.458 +(ex)184 252 S .959(pansion as a special character).15 F 5.959(.T)-.55 G +.958(he single quotes must match \(an e)-5.959 F -.15(ve)-.25 G 3.458 (nn).15 G .958(umber\) and)-3.458 F .59 -(the characters between the single quotes are considered quoted.)184 -728.4 R .59(This is the beha)5.59 F .59(vior of)-.2 F(GNU Bash-4.2)72 -768 Q(2004 Apr 20)148.735 E(17)198.725 E 0 Cg EP -%%Page: 18 18 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .59 -(posix mode through v)184 84 R .589(ersion 4.1.)-.15 F .589(The def) +(the characters between the single quotes are considered quoted.)184 264 +R .59(This is the beha)5.59 F .59(vior of)-.2 F .59 +(posix mode through v)184 276 R .589(ersion 4.1.)-.15 F .589(The def) 5.589 F .589(ault bash beha)-.1 F .589(vior remains as in pre)-.2 F .589 -(vious v)-.25 F(er)-.15 E(-)-.2 E(sions.)184 96 Q/F1 10/Times-Bold@0 SF -(compat42)144 108 Q F0 1.796(If set,)184 120 R F1(bash)4.296 E F0 1.796 +(vious v)-.25 F(er)-.15 E(-)-.2 E(sions.)184 288 Q F2(compat42)144 300 Q +F0 1.796(If set,)184 312 R F2(bash)4.296 E F0 1.796 (does not process the replacement string in the pattern substitution w) -4.296 F(ord)-.1 E -.15(ex)184 132 S(pansion using quote remo).15 E -.25 -(va)-.15 G(l.).25 E F1(complete_fullquote)144 144 Q F0 .654(If set,)184 -156 R F1(bash)3.153 E F0 .653(quotes all shell metacharacters in \214le\ -names and directory names when per)3.153 F(-)-.2 E 1.524 -(forming completion.)184 168 R 1.524(If not set,)6.524 F F1(bash)4.024 E -F0(remo)4.024 E -.15(ve)-.15 G 4.024(sm).15 G 1.524 -(etacharacters such as the dollar sign)-4.024 F 2.667(from the set of c\ -haracters that will be quoted in completed \214lenames when these)184 -180 R .028(metacharacters appear in shell v)184 192 R .028 -(ariable references in w)-.25 F .029(ords to be completed.)-.1 F .029 -(This means)5.029 F 1.073(that dollar signs in v)184 204 R 1.073 +4.296 F(ord)-.1 E -.15(ex)184 324 S(pansion using quote remo).15 E -.25 +(va)-.15 G(l.).25 E F2(compat43)144 336 Q F0 .141(If set,)184 348 R F2 +(bash)2.641 E F0 .141(does not print a w)2.641 F .14 +(arning message if an attempt is made to use a quoted com-)-.1 F .912 +(pound array assignment as an ar)184 360 R .912(gument to)-.18 F F2 +(declar)3.413 E(e)-.18 E F0 3.413(,m)C(ak)-3.413 E .913(es w)-.1 F .913 +(ord e)-.1 F .913(xpansion errors non-)-.15 F -.1(fa)184 372 S .353 +(tal errors that cause the current command to f).1 F .353(ail \(the def) +-.1 F .352(ault beha)-.1 F .352(vior is to mak)-.2 F 2.852(et)-.1 G(hem) +-2.852 E -.1(fa)184 384 S 1.057(tal errors that cause the shell to e).1 +F 1.058(xit\), and does not reset the loop state when a shell)-.15 F +.375(function is e)184 396 R -.15(xe)-.15 G .375(cuted \(this allo).15 F +(ws)-.25 E F2(br)2.875 E(eak)-.18 E F0(or)2.875 E F2(continue)2.875 E F0 +.374(in a shell function to af)2.875 F .374(fect loops in)-.25 F +(the caller')184 408 Q 2.5(sc)-.55 G(onte)-2.5 E(xt\).)-.15 E F2 +(complete_fullquote)144 420 Q F0 .653(If set,)184 432 R F2(bash)3.153 E +F0 .653(quotes all shell metacharacters in \214lenames and directory na\ +mes when per)3.153 F(-)-.2 E 1.525(forming completion.)184 444 R 1.524 +(If not set,)6.525 F F2(bash)4.024 E F0(remo)4.024 E -.15(ve)-.15 G +4.024(sm).15 G 1.524(etacharacters such as the dollar sign)-4.024 F +2.667(from the set of characters that will be quoted in completed \214l\ +enames when these)184 456 R .029(metacharacters appear in shell v)184 +468 R .028(ariable references in w)-.25 F .028(ords to be completed.)-.1 +F .028(This means)5.028 F 1.072(that dollar signs in v)184 480 R 1.073 (ariable names that e)-.25 F 1.073 (xpand to directories will not be quoted; ho)-.15 F(w-)-.25 E -2.15 -.25 -(ev e)184 216 T 1.922 -.4(r, a).25 H 1.422 -.15(ny d).4 H 1.123 +(ev e)184 492 T 1.923 -.4(r, a).25 H 1.423 -.15(ny d).4 H 1.123 (ollar signs appearing in \214lenames will not be quoted, either).15 F -6.123(.T)-.55 G 1.123(his is acti)-6.123 F -.15(ve)-.25 G .59 +6.123(.T)-.55 G 1.122(his is acti)-6.123 F -.15(ve)-.25 G .59 (only when bash is using backslashes to quote completed \214lenames.)184 -228 R .59(This v)5.59 F .59(ariable is set)-.25 F(by def)184 240 Q +504 R .59(This v)5.59 F .59(ariable is set)-.25 F(by def)184 516 Q (ault, which is the def)-.1 E(ault bash beha)-.1 E(vior in v)-.2 E -(ersions through 4.2.)-.15 E F1(dir)144 252 Q(expand)-.18 E F0 .486 -(If set,)184 264 R F1(bash)2.986 E F0 .486 +(ersions through 4.2.)-.15 E F2(dir)144 528 Q(expand)-.18 E F0 .487 +(If set,)184 540 R F2(bash)2.987 E F0 .486 (replaces directory names with the results of w)2.986 F .486(ord e)-.1 F -.487(xpansion when perform-)-.15 F .18(ing \214lename completion.)184 -276 R .179(This changes the contents of the readline editing b)5.18 F -(uf)-.2 E(fer)-.25 E 5.179(.I)-.55 G 2.679(fn)-5.179 G(ot)-2.679 E(set,) -184 288 Q F1(bash)2.5 E F0(attempts to preserv)2.5 E 2.5(ew)-.15 G -(hat the user typed.)-2.5 E F1(dirspell)144 300 Q F0 .858(If set,)7.77 F -F1(bash)3.358 E F0 .858 -(attempts spelling correction on directory names during w)3.358 F .859 +.486(xpansion when perform-)-.15 F .179(ing \214lename completion.)184 +552 R .179(This changes the contents of the readline editing b)5.179 F +(uf)-.2 E(fer)-.25 E 5.18(.I)-.55 G 2.68(fn)-5.18 G(ot)-2.68 E(set,)184 +564 Q F2(bash)2.5 E F0(attempts to preserv)2.5 E 2.5(ew)-.15 G +(hat the user typed.)-2.5 E F2(dirspell)144 576 Q F0 .859(If set,)184 +576 R F2(bash)3.359 E F0 .858 +(attempts spelling correction on directory names during w)3.359 F .858 (ord completion if)-.1 F -(the directory name initially supplied does not e)184 312 Q(xist.)-.15 E -F1(dotglob)144 324 Q F0 .165(If set,)7.77 F F1(bash)2.665 E F0 .165 -(includes \214lenames be)2.665 F .165(ginning with a `.)-.15 F 2.665('i) --.7 G 2.665(nt)-2.665 G .165(he results of pathname e)-2.665 F -(xpansion.)-.15 E F1(execfail)144 336 Q F0 1.386 -(If set, a non-interacti)7.79 F 1.686 -.15(ve s)-.25 H 1.386 -(hell will not e).15 F 1.386(xit if it cannot e)-.15 F -.15(xe)-.15 G -1.387(cute the \214le speci\214ed as an).15 F(ar)184 348 Q -(gument to the)-.18 E F1(exec)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 E +(the directory name initially supplied does not e)184 588 Q(xist.)-.15 E +F2(dotglob)144 600 Q F0(If set,)184 600 Q F2(bash)2.5 E F0 +(includes \214lenames be)2.5 E(ginning with a `.)-.15 E 2.5('i)-.7 G 2.5 +(nt)-2.5 G(he results of pathname e)-2.5 E(xpansion.)-.15 E F2(execfail) +144 612 Q F0 1.386(If set, a non-interacti)184 612 R 1.686 -.15(ve s) +-.25 H 1.386(hell will not e).15 F 1.386(xit if it cannot e)-.15 F -.15 +(xe)-.15 G 1.387(cute the \214le speci\214ed as an).15 F(ar)184 624 Q +(gument to the)-.18 E F2(exec)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 E (An interacti)5 E .3 -.15(ve s)-.25 H(hell does not e).15 E(xit if)-.15 -E F1(exec)2.5 E F0 -.1(fa)2.5 G(ils.).1 E F1(expand_aliases)144 360 Q F0 -.717(If set, aliases are e)184 372 R .717(xpanded as described abo)-.15 -F 1.017 -.15(ve u)-.15 H(nder).15 E/F2 9/Times-Bold@0 SF(ALIASES)3.217 E -/F3 9/Times-Roman@0 SF(.)A F0 .716(This option is enabled)5.217 F -(by def)184 384 Q(ault for interacti)-.1 E .3 -.15(ve s)-.25 H(hells.) -.15 E F1(extdeb)144 396 Q(ug)-.2 E F0(If set, beha)184 408 Q -(vior intended for use by deb)-.2 E(uggers is enabled:)-.2 E F1(1.)184 -420 Q F0(The)28.5 E F14.25 E F0 1.75(option to the)4.25 F F1 -(declar)4.251 E(e)-.18 E F0 -.2(bu)4.251 G 1.751 +E F2(exec)2.5 E F0 -.1(fa)2.5 G(ils.).1 E F2(expand_aliases)144 636 Q F0 +.717(If set, aliases are e)184 648 R .717(xpanded as described abo)-.15 +F 1.017 -.15(ve u)-.15 H(nder).15 E/F3 9/Times-Bold@0 SF(ALIASES)3.217 E +/F4 9/Times-Roman@0 SF(.)A F0 .716(This option is enabled)5.217 F +(by def)184 660 Q(ault for interacti)-.1 E .3 -.15(ve s)-.25 H(hells.) +.15 E F2(extdeb)144 672 Q(ug)-.2 E F0 .671(If set at shell in)184 684 R +-.2(vo)-.4 G .671(cation, arrange to e).2 F -.15(xe)-.15 G .671 +(cute the deb).15 F .672(ugger pro\214le before the shell starts,)-.2 F +.221(identical to the)184 696 R F22.721 E(ugger)-.2 E F0 +2.721(option. If)2.721 F .221(set after in)2.721 F -.2(vo)-.4 G .221 +(cation, beha).2 F .22(vior intended for use by)-.2 F(deb)184 708 Q +(uggers is enabled:)-.2 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E +(18)198.725 E 0 Cg EP +%%Page: 19 19 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(1.)184 84 Q F0(The) +220 84 Q F14.25 E F0 1.75(option to the)4.25 F F1(declar)4.251 E +(e)-.18 E F0 -.2(bu)4.251 G 1.751 (iltin displays the source \214le name and line).2 F -(number corresponding to each function name supplied as an ar)220 432 Q -(gument.)-.18 E F1(2.)184 444 Q F0 1.667(If the command run by the)28.5 -F F1(DEB)4.167 E(UG)-.1 E F0 1.667(trap returns a non-zero v)4.167 F -1.667(alue, the ne)-.25 F(xt)-.15 E(command is skipped and not e)220 456 -Q -.15(xe)-.15 G(cuted.).15 E F1(3.)184 468 Q F0 .84 -(If the command run by the)28.5 F F1(DEB)3.34 E(UG)-.1 E F0 .841 +(number corresponding to each function name supplied as an ar)220 96 Q +(gument.)-.18 E F1(2.)184 108 Q F0 1.667(If the command run by the)220 +108 R F1(DEB)4.167 E(UG)-.1 E F0 1.667(trap returns a non-zero v)4.167 F +1.667(alue, the ne)-.25 F(xt)-.15 E(command is skipped and not e)220 120 +Q -.15(xe)-.15 G(cuted.).15 E F1(3.)184 132 Q F0 .84 +(If the command run by the)220 132 R F1(DEB)3.34 E(UG)-.1 E F0 .841 (trap returns a v)3.341 F .841(alue of 2, and the shell is)-.25 F -.15 -(exe)220 480 S .488 +(exe)220 144 S .488 (cuting in a subroutine \(a shell function or a shell script e).15 F -.15(xe)-.15 G .488(cuted by the).15 F F1(.)2.988 E F0(or)2.988 E F1 -(sour)220 492 Q(ce)-.18 E F0 -.2(bu)2.5 G(iltins\), a call to).2 E F1 --.18(re)2.5 G(tur).18 E(n)-.15 E F0(is simulated.)2.5 E F1(4.)184 504 Q -F2 -.27(BA)28.5 G(SH_ARGC).27 E F0(and)3.153 E F2 -.27(BA)3.403 G -(SH_ARGV).27 E F0 .904(are updated as described in their descriptions) -3.154 F(abo)220 516 Q -.15(ve)-.15 G(.).15 E F1(5.)184 528 Q F0 1.359 -(Function tracing is enabled:)28.5 F 1.359 -(command substitution, shell functions, and sub-)6.359 F(shells in)220 -540 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E/F4 10 -/Times-Italic@0 SF(command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1 -(DEB)2.5 E(UG)-.1 E F0(and)2.5 E F1(RETURN)2.5 E F0(traps.)2.5 E F1(6.) -184 552 Q F0 .804(Error tracing is enabled:)28.5 F .805 -(command substitution, shell functions, and subshells)5.804 F(in)220 564 -Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E F4 -(command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1(ERR)2.5 E F0(trap.) -2.5 E F1(extglob)144 576 Q F0 .4(If set, the e)8.89 F .4 +(sour)220 156 Q(ce)-.18 E F0 -.2(bu)2.5 G +(iltins\), the shell simulates a call to).2 E F1 -.18(re)2.5 G(tur).18 E +(n)-.15 E F0(.)A F1(4.)184 168 Q/F2 9/Times-Bold@0 SF -.27(BA)220 168 S +(SH_ARGC).27 E F0(and)3.153 E F2 -.27(BA)3.403 G(SH_ARGV).27 E F0 .904 +(are updated as described in their descriptions)3.154 F(abo)220 180 Q +-.15(ve)-.15 G(.).15 E F1(5.)184 192 Q F0 1.637(Function tracing is ena\ +bled: command substitution, shell functions, and sub-)220 192 R +(shells in)220 204 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1 +(\()2.5 E/F3 10/Times-Italic@0 SF(command)2.5 E F1(\))2.5 E F0 +(inherit the)2.5 E F1(DEB)2.5 E(UG)-.1 E F0(and)2.5 E F1(RETURN)2.5 E F0 +(traps.)2.5 E F1(6.)184 216 Q F0 1.082(Error tracing is enabled: comman\ +d substitution, shell functions, and subshells)220 216 R(in)220 228 Q +-.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E F3(command) +2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1(ERR)2.5 E F0(trap.)2.5 E F1 +(extglob)144 240 Q F0 .4(If set, the e)184 240 R .4 (xtended pattern matching features described abo)-.15 F .7 -.15(ve u) --.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 588 Q -F0(are enabled.)2.5 E F1(extquote)144 600 Q F0 2.473(If set,)184 612 R -F1($)4.973 E F0<08>A F4(string)A F0 4.973<0861>C(nd)-4.973 E F1($)4.973 -E F0(")A F4(string)A F0 4.973("q)C 2.473(uoting is performed within) --4.973 F F1(${)4.973 E F4(par)A(ameter)-.15 E F1(})A F0 -.15(ex)4.973 G -(pansions).15 E(enclosed in double quotes.)184 624 Q -(This option is enabled by def)5 E(ault.)-.1 E F1(failglob)144 636 Q F0 -1.425(If set, patterns which f)7.77 F 1.425 +-.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 252 Q +F0(are enabled.)2.5 E F1(extquote)144 264 Q F0 2.473(If set,)184 276 R +F1($)4.973 E F0<08>A F3(string)A F0 4.973<0861>C(nd)-4.973 E F1($)4.973 +E F0(")A F3(string)A F0 4.973("q)C 2.473(uoting is performed within) +-4.973 F F1(${)4.973 E F3(par)A(ameter)-.15 E F1(})A F0 -.15(ex)4.973 G +(pansions).15 E(enclosed in double quotes.)184 288 Q +(This option is enabled by def)5 E(ault.)-.1 E F1(failglob)144 300 Q F0 +1.425(If set, patterns which f)184 300 R 1.425 (ail to match \214lenames during pathname e)-.1 F 1.424 -(xpansion result in an)-.15 F -.15(ex)184 648 S(pansion error).15 E(.) --.55 E F1 -.25(fo)144 660 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 E F0 -.936(If set, the suf)184 672 R<8c78>-.25 E .936(es speci\214ed by the) +(xpansion result in an)-.15 F -.15(ex)184 312 S(pansion error).15 E(.) +-.55 E F1 -.25(fo)144 324 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 E F0 +.936(If set, the suf)184 336 R<8c78>-.25 E .936(es speci\214ed by the) -.15 F F2(FIGNORE)3.436 E F0 .936(shell v)3.186 F .936(ariable cause w) --.25 F .937(ords to be ignored)-.1 F .32(when performing w)184 684 R .32 +-.25 F .937(ords to be ignored)-.1 F .32(when performing w)184 348 R .32 (ord completion e)-.1 F -.15(ve)-.25 G 2.82(ni).15 G 2.82(ft)-2.82 G .32 (he ignored w)-2.82 F .32(ords are the only possible com-)-.1 F 2.947 -(pletions. See)184 696 R F2 .447(SHELL V)2.947 F(ARIABLES)-1.215 E F0 +(pletions. See)184 360 R F2 .447(SHELL V)2.947 F(ARIABLES)-1.215 E F0 (abo)2.697 E .747 -.15(ve f)-.15 H .448(or a description of).15 F F2 -(FIGNORE)2.948 E F3(.)A F0 .448(This option is)4.948 F(enabled by def) -184 708 Q(ault.)-.1 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(18) -198.725 E 0 Cg EP -%%Page: 19 19 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(globasciiranges)144 84 Q F0 2.519(If set, range e)184 -96 R 2.519(xpressions used in pattern matching brack)-.15 F 2.518(et e) --.1 F 2.518(xpressions \(see)-.15 F/F2 9/Times-Bold@0 SF -.09(Pa)5.018 G -(tter).09 E(n)-.135 E(Matching)184 108 Q F0(abo)2.964 E -.15(ve)-.15 G -3.214(\)b).15 G(eha)-3.214 E 1.014 -.15(ve a)-.2 H 3.214(si).15 G 3.214 -(fi)-3.214 G 3.214(nt)-3.214 G .714 -(he traditional C locale when performing comparisons.)-3.214 F 1.02 -(That is, the current locale')184 120 R 3.52(sc)-.55 G 1.02 +(FIGNORE)2.948 E/F4 9/Times-Roman@0 SF(.)A F0 .448(This option is)4.948 +F(enabled by def)184 372 Q(ault.)-.1 E F1(globasciiranges)144 384 Q F0 +2.519(If set, range e)184 396 R 2.519 +(xpressions used in pattern matching brack)-.15 F 2.518(et e)-.1 F 2.518 +(xpressions \(see)-.15 F F2 -.09(Pa)5.018 G(tter).09 E(n)-.135 E +(Matching)184 408 Q F0(abo)2.964 E -.15(ve)-.15 G 3.214(\)b).15 G(eha) +-3.214 E 1.014 -.15(ve a)-.2 H 3.214(si).15 G 3.214(fi)-3.214 G 3.214 +(nt)-3.214 G .714(he traditional C locale when performing comparisons.) +-3.214 F 1.02(That is, the current locale')184 420 R 3.52(sc)-.55 G 1.02 (ollating sequence is not tak)-3.52 F 1.02(en into account, so)-.1 F F1 -(b)3.52 E F0 1.02(will not)3.52 F .956(collate between)184 132 R F1(A) +(b)3.52 E F0 1.02(will not)3.52 F .956(collate between)184 432 R F1(A) 3.456 E F0(and)3.456 E F1(B)3.456 E F0 3.457(,a)C .957(nd upper)-3.457 F .957(-case and lo)-.2 F(wer)-.25 E .957 -(-case ASCII characters will collate)-.2 F(together)184 144 Q(.)-.55 E -F1(globstar)144 156 Q F0 .519(If set, the pattern)5 F F1(**)3.019 E F0 -.519(used in a pathname e)3.019 F .519(xpansion conte)-.15 F .518 +(-case ASCII characters will collate)-.2 F(together)184 444 Q(.)-.55 E +F1(globstar)144 456 Q F0 .519(If set, the pattern)184 456 R F1(**)3.019 +E F0 .519(used in a pathname e)3.019 F .519(xpansion conte)-.15 F .518 (xt will match all \214les and zero)-.15 F .431 -(or more directories and subdirectories.)184 168 R .431 +(or more directories and subdirectories.)184 468 R .431 (If the pattern is follo)5.431 F .432(wed by a)-.25 F F1(/)2.932 E F0 2.932(,o)C .432(nly directories)-2.932 F(and subdirectories match.)184 -180 Q F1(gnu_errfmt)144 192 Q F0(If set, shell error messages are writt\ -en in the standard GNU error message format.)184 204 Q F1(histappend)144 -216 Q F0 .676 +480 Q F1(gnu_errfmt)144 492 Q F0(If set, shell error messages are writt\ +en in the standard GNU error message format.)184 504 Q F1(histappend)144 +516 Q F0 .676 (If set, the history list is appended to the \214le named by the v)184 -228 R .676(alue of the)-.25 F F2(HISTFILE)3.176 E F0 -.25(va)2.926 G -(ri-).25 E(able when the shell e)184 240 Q(xits, rather than o)-.15 E --.15(ve)-.15 G(rwriting the \214le.).15 E F1(histr)144 252 Q(eedit)-.18 -E F0 .575(If set, and)184 264 R F1 -.18(re)3.075 G(adline).18 E F0 .575 +528 R .676(alue of the)-.25 F F2(HISTFILE)3.176 E F0 -.25(va)2.926 G +(ri-).25 E(able when the shell e)184 540 Q(xits, rather than o)-.15 E +-.15(ve)-.15 G(rwriting the \214le.).15 E F1(histr)144 552 Q(eedit)-.18 +E F0 .575(If set, and)184 564 R F1 -.18(re)3.075 G(adline).18 E F0 .575 (is being used, a user is gi)3.075 F -.15(ve)-.25 G 3.075(nt).15 G .576 (he opportunity to re-edit a f)-3.075 F .576(ailed his-)-.1 F -(tory substitution.)184 276 Q F1(histv)144 288 Q(erify)-.1 E F0 .403 -(If set, and)184 300 R F1 -.18(re)2.903 G(adline).18 E F0 .403 +(tory substitution.)184 576 Q F1(histv)144 588 Q(erify)-.1 E F0 .403 +(If set, and)184 600 R F1 -.18(re)2.903 G(adline).18 E F0 .403 (is being used, the results of history substitution are not immediately) -2.903 F .661(passed to the shell parser)184 312 R 5.661(.I)-.55 G .662 +2.903 F .661(passed to the shell parser)184 612 R 5.661(.I)-.55 G .662 (nstead, the resulting line is loaded into the)-5.661 F F1 -.18(re)3.162 -G(adline).18 E F0(editing)3.162 E -.2(bu)184 324 S -.25(ff).2 G(er).25 E +G(adline).18 E F0(editing)3.162 E -.2(bu)184 624 S -.25(ff).2 G(er).25 E 2.5(,a)-.4 G(llo)-2.5 E(wing further modi\214cation.)-.25 E F1 -(hostcomplete)144 336 Q F0 1.182(If set, and)184 348 R F1 -.18(re)3.682 +(hostcomplete)144 636 Q F0 1.182(If set, and)184 648 R F1 -.18(re)3.682 G(adline).18 E F0 1.182(is being used,)3.682 F F1(bash)3.682 E F0 1.181 (will attempt to perform hostname completion)3.681 F 1.38(when a w)184 -360 R 1.38(ord containing a)-.1 F F1(@)3.881 E F0 1.381 +660 R 1.38(ord containing a)-.1 F F1(@)3.881 E F0 1.381 (is being completed \(see)3.881 F F1(Completing)3.881 E F0(under)3.881 E -F2(READLINE)3.881 E F0(abo)184 372 Q -.15(ve)-.15 G 2.5(\). This).15 F -(is enabled by def)2.5 E(ault.)-.1 E F1(huponexit)144 384 Q F0(If set,) -184 396 Q F1(bash)2.5 E F0(will send)2.5 E F2(SIGHUP)2.5 E F0 +F2(READLINE)3.881 E F0(abo)184 672 Q -.15(ve)-.15 G 2.5(\). This).15 F +(is enabled by def)2.5 E(ault.)-.1 E F1(huponexit)144 684 Q F0(If set,) +184 696 Q F1(bash)2.5 E F0(will send)2.5 E F2(SIGHUP)2.5 E F0 (to all jobs when an interacti)2.25 E .3 -.15(ve l)-.25 H(ogin shell e) -.15 E(xits.)-.15 E F1(interacti)144 408 Q -.1(ve)-.1 G(_comments).1 E F0 -.33(If set, allo)184 420 R 2.83(waw)-.25 G .33(ord be)-2.93 F .33 -(ginning with)-.15 F F1(#)2.83 E F0 .33(to cause that w)2.83 F .33 -(ord and all remaining characters on)-.1 F .967 -(that line to be ignored in an interacti)184 432 R 1.267 -.15(ve s)-.25 -H .967(hell \(see).15 F F2(COMMENTS)3.467 E F0(abo)3.217 E -.15(ve)-.15 -G 3.467(\). This).15 F .968(option is)3.468 F(enabled by def)184 444 Q -(ault.)-.1 E F1(lastpipe)144 456 Q F0 1.212 -(If set, and job control is not acti)6.66 F -.15(ve)-.25 G 3.712(,t).15 -G 1.212(he shell runs the last command of a pipeline not)-3.712 F -.15 -(exe)184 468 S(cuted in the background in the current shell en).15 E -(vironment.)-.4 E F1(lithist)144 480 Q F0 .654(If set, and the)15.55 F -F1(cmdhist)3.154 E F0 .654 -(option is enabled, multi-line commands are sa)3.154 F -.15(ve)-.2 G -3.155(dt).15 G 3.155(ot)-3.155 G .655(he history)-3.155 F -(with embedded ne)184 492 Q -(wlines rather than using semicolon separators where possible.)-.25 E F1 -(login_shell)144 504 Q F0 .486 -(The shell sets this option if it is started as a login shell \(see)184 -516 R F2(INV)2.986 E(OCA)-.405 E(TION)-.855 E F0(abo)2.736 E -.15(ve) --.15 G 2.986(\). The).15 F -.25(va)184 528 S(lue may not be changed.).25 -E F1(mailwar)144 540 Q(n)-.15 E F0 .814(If set, and a \214le that)184 -552 R F1(bash)3.314 E F0 .815 -(is checking for mail has been accessed since the last time it)3.314 F --.1(wa)184 564 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E -(`The mail in)-.74 E/F3 10/Times-Italic@0 SF(mail\214le)2.5 E F0 -(has been read')2.5 E 2.5('i)-.74 G 2.5(sd)-2.5 G(isplayed.)-2.5 E F1 -(no_empty_cmd_completion)144 576 Q F0 .325(If set, and)184 588 R F1 -.18 -(re)2.825 G(adline).18 E F0 .325(is being used,)2.825 F F1(bash)2.824 E -F0 .324(will not attempt to search the)2.824 F F2 -.666(PA)2.824 G(TH) --.189 E F0 .324(for possible)2.574 F -(completions when completion is attempted on an empty line.)184 600 Q F1 -(nocaseglob)144 612 Q F0 .436(If set,)184 624 R F1(bash)2.936 E F0 .436 -(matches \214lenames in a case\255insensiti)2.936 F .737 -.15(ve f)-.25 -H .437(ashion when performing pathname).05 F -.15(ex)184 636 S -(pansion \(see).15 E F1 -.1(Pa)2.5 G(thname Expansion).1 E F0(abo)2.5 E --.15(ve)-.15 G(\).).15 E F1(nocasematch)144 648 Q F0 1.194(If set,)184 -660 R F1(bash)3.694 E F0 1.194(matches patterns in a case\255insensiti) -3.694 F 1.493 -.15(ve f)-.25 H 1.193(ashion when performing matching).05 -F(while e)184 672 Q -.15(xe)-.15 G(cuting).15 E F1(case)2.5 E F0(or)2.5 -E F1([[)2.5 E F0(conditional commands.)2.5 E F1(nullglob)144 684 Q F0 -.854(If set,)184 696 R F1(bash)3.354 E F0(allo)3.354 E .855 -(ws patterns which match no \214les \(see)-.25 F F1 -.1(Pa)3.355 G .855 -(thname Expansion).1 F F0(abo)3.355 E -.15(ve)-.15 G 3.355(\)t).15 G(o) --3.355 E -.15(ex)184 708 S(pand to a null string, rather than themselv) -.15 E(es.)-.15 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(19)198.725 -E 0 Cg EP +.15 E(xits.)-.15 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(19) +198.725 E 0 Cg EP %%Page: 20 20 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(pr)144 84 Q(ogcomp)-.18 E F0 .677 -(If set, the programmable completion f)184 96 R .677(acilities \(see)-.1 -F F1(Pr)3.176 E .676(ogrammable Completion)-.18 F F0(abo)3.176 E -.15 -(ve)-.15 G(\)).15 E(are enabled.)184 108 Q -(This option is enabled by def)5 E(ault.)-.1 E F1(pr)144 120 Q(omptv) --.18 E(ars)-.1 E F0 1.447(If set, prompt strings under)184 132 R 1.448 -(go parameter e)-.18 F 1.448(xpansion, command substitution, arithmetic) --.15 F -.15(ex)184 144 S .171(pansion, and quote remo).15 F -.25(va)-.15 -G 2.67(la).25 G .17(fter being e)-2.67 F .17(xpanded as described in) --.15 F/F2 9/Times-Bold@0 SF(PR)2.67 E(OMPTING)-.27 E F0(abo)2.42 E -.15 -(ve)-.15 G(.).15 E(This option is enabled by def)184 156 Q(ault.)-.1 E -F1 -.18(re)144 168 S(stricted_shell).18 E F0 1.069 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(inherit_err)144 84 Q +(exit)-.18 E F0 .22(If set, command substitution inherits the v)184 96 R +.219(alue of the)-.25 F F1(err)2.719 E(exit)-.18 E F0 .219 +(option, instead of unsetting)2.719 F(it in the subshell en)184 108 Q +2.5(vironment. This)-.4 F(option is enabled when)2.5 E/F2 10 +/Times-Italic@0 SF(posix mode)2.5 E F0(is enabled.)2.5 E F1(interacti) +144 120 Q -.1(ve)-.1 G(_comments).1 E F0 .33(If set, allo)184 132 R 2.83 +(waw)-.25 G .33(ord be)-2.93 F .33(ginning with)-.15 F F1(#)2.83 E F0 +.33(to cause that w)2.83 F .33(ord and all remaining characters on)-.1 F +.967(that line to be ignored in an interacti)184 144 R 1.267 -.15(ve s) +-.25 H .967(hell \(see).15 F/F3 9/Times-Bold@0 SF(COMMENTS)3.467 E F0 +(abo)3.217 E -.15(ve)-.15 G 3.467(\). This).15 F .967(option is)3.467 F +(enabled by def)184 156 Q(ault.)-.1 E F1(lastpipe)144 168 Q F0 .066 +(If set, and job control is not acti)184 168 R -.15(ve)-.25 G 2.566(,t) +.15 G .066(he shell runs the last command of a pipeline not e)-2.566 F +-.15(xe)-.15 G(-).15 E(cuted in the background in the current shell en) +184 180 Q(vironment.)-.4 E F1(lithist)144 192 Q F0 .655(If set, and the) +184 192 R F1(cmdhist)3.155 E F0 .654 +(option is enabled, multi-line commands are sa)3.154 F -.15(ve)-.2 G +3.154(dt).15 G 3.154(ot)-3.154 G .654(he history)-3.154 F +(with embedded ne)184 204 Q +(wlines rather than using semicolon separators where possible.)-.25 E F1 +(login_shell)144 216 Q F0 .486 +(The shell sets this option if it is started as a login shell \(see)184 +228 R F3(INV)2.987 E(OCA)-.405 E(TION)-.855 E F0(abo)2.737 E -.15(ve) +-.15 G 2.987(\). The).15 F -.25(va)184 240 S(lue may not be changed.).25 +E F1(mailwar)144 252 Q(n)-.15 E F0 .815(If set, and a \214le that)184 +264 R F1(bash)3.315 E F0 .814 +(is checking for mail has been accessed since the last time it)3.315 F +-.1(wa)184 276 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E +(`The mail in)-.74 E F2(mail\214le)2.5 E F0(has been read')2.5 E 2.5('i) +-.74 G 2.5(sd)-2.5 G(isplayed.)-2.5 E F1(no_empty_cmd_completion)144 288 +Q F0 .324(If set, and)184 300 R F1 -.18(re)2.824 G(adline).18 E F0 .324 +(is being used,)2.824 F F1(bash)2.824 E F0 .324 +(will not attempt to search the)2.824 F F3 -.666(PA)2.825 G(TH)-.189 E +F0 .325(for possible)2.575 F +(completions when completion is attempted on an empty line.)184 312 Q F1 +(nocaseglob)144 324 Q F0 .437(If set,)184 336 R F1(bash)2.937 E F0 .436 +(matches \214lenames in a case\255insensiti)2.937 F .736 -.15(ve f)-.25 +H .436(ashion when performing pathname).05 F -.15(ex)184 348 S +(pansion \(see).15 E F1 -.1(Pa)2.5 G(thname Expansion).1 E F0(abo)2.5 E +-.15(ve)-.15 G(\).).15 E F1(nocasematch)144 360 Q F0 1.193(If set,)184 +372 R F1(bash)3.693 E F0 1.194(matches patterns in a case\255insensiti) +3.693 F 1.494 -.15(ve f)-.25 H 1.194(ashion when performing matching).05 +F .551(while e)184 384 R -.15(xe)-.15 G(cuting).15 E F1(case)3.051 E F0 +(or)3.051 E F1([[)3.051 E F0 .551 +(conditional commands, when performing pattern substitution)3.051 F -.1 +(wo)184 396 S .622(rd e).1 F .623(xpansions, or when \214ltering possib\ +le completions as part of programmable com-)-.15 F(pletion.)184 408 Q F1 +(nullglob)144 420 Q F0 .855(If set,)184 432 R F1(bash)3.355 E F0(allo) +3.355 E .855(ws patterns which match no \214les \(see)-.25 F F1 -.1(Pa) +3.354 G .854(thname Expansion).1 F F0(abo)3.354 E -.15(ve)-.15 G 3.354 +(\)t).15 G(o)-3.354 E -.15(ex)184 444 S +(pand to a null string, rather than themselv).15 E(es.)-.15 E F1(pr)144 +456 Q(ogcomp)-.18 E F0 .676(If set, the programmable completion f)184 +468 R .677(acilities \(see)-.1 F F1(Pr)3.177 E .677 +(ogrammable Completion)-.18 F F0(abo)3.177 E -.15(ve)-.15 G(\)).15 E +(are enabled.)184 480 Q(This option is enabled by def)5 E(ault.)-.1 E F1 +(pr)144 492 Q(omptv)-.18 E(ars)-.1 E F0 1.448 +(If set, prompt strings under)184 504 R 1.448(go parameter e)-.18 F +1.447(xpansion, command substitution, arithmetic)-.15 F -.15(ex)184 516 +S .17(pansion, and quote remo).15 F -.25(va)-.15 G 2.67(la).25 G .17 +(fter being e)-2.67 F .17(xpanded as described in)-.15 F F3(PR)2.671 E +(OMPTING)-.27 E F0(abo)2.421 E -.15(ve)-.15 G(.).15 E +(This option is enabled by def)184 528 Q(ault.)-.1 E F1 -.18(re)144 540 +S(stricted_shell).18 E F0 1.069 (The shell sets this option if it is started in restricted mode \(see) -184 180 R F2 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 192 Q 4.178 -(w\). The)-.25 F -.25(va)4.178 G 1.678(lue may not be changed.).25 F -1.678(This is not reset when the startup \214les are)6.678 F -.15(exe) -184 204 S(cuted, allo).15 E(wing the startup \214les to disco)-.25 E +184 552 R F3 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 564 Q 2.86 +(w\). The)-.25 F -.25(va)2.86 G .36(lue may not be changed.).25 F .36 +(This is not reset when the startup \214les are e)5.36 F -.15(xe)-.15 G +(-).15 E(cuted, allo)184 576 Q(wing the startup \214les to disco)-.25 E -.15(ve)-.15 G 2.5(rw).15 G(hether or not a shell is restricted.)-2.5 E -F1(shift_v)144 216 Q(erbose)-.1 E F0 .501(If set, the)184 228 R F1 -(shift)3.001 E F0 -.2(bu)3.001 G .501 -(iltin prints an error message when the shift count e).2 F .502 -(xceeds the number)-.15 F(of positional parameters.)184 240 Q F1(sour) -144 252 Q(cepath)-.18 E F0 .771(If set, the)184 264 R F1(sour)3.271 E -(ce)-.18 E F0(\()3.271 E F1(.)A F0 3.271(\)b)C .771(uiltin uses the v) --3.471 F .771(alue of)-.25 F F2 -.666(PA)3.27 G(TH)-.189 E F0 .77 -(to \214nd the directory containing the)3.02 F(\214le supplied as an ar) -184 276 Q 2.5(gument. This)-.18 F(option is enabled by def)2.5 E(ault.) --.1 E F1(xpg_echo)144 288 Q F0(If set, the)184 300 Q F1(echo)2.5 E F0 --.2(bu)2.5 G(iltin e).2 E(xpands backslash-escape sequences by def)-.15 -E(ault.)-.1 E F1(suspend)108 316.8 Q F0([)2.5 E F1A F0(])A 1.001 -(Suspend the e)144 328.8 R -.15(xe)-.15 G 1.001 -(cution of this shell until it recei).15 F -.15(ve)-.25 G 3.501(sa).15 G -F2(SIGCONT)A F0 3.502(signal. A)3.252 F 1.002(login shell cannot be) -3.502 F .023(suspended; the)144 340.8 R F12.523 E F0 .023 -(option can be used to o)2.523 F -.15(ve)-.15 G .022 -(rride this and force the suspension.).15 F .022(The return status is) -5.022 F 2.5(0u)144 352.8 S(nless the shell is a login shell and)-2.5 E +F1(shift_v)144 588 Q(erbose)-.1 E F0 .502(If set, the)184 600 R F1 +(shift)3.002 E F0 -.2(bu)3.002 G .501 +(iltin prints an error message when the shift count e).2 F .501 +(xceeds the number)-.15 F(of positional parameters.)184 612 Q F1(sour) +144 624 Q(cepath)-.18 E F0 .77(If set, the)184 636 R F1(sour)3.27 E(ce) +-.18 E F0(\()3.27 E F1(.)A F0 3.27(\)b)C .77(uiltin uses the v)-3.47 F +.771(alue of)-.25 F F3 -.666(PA)3.271 G(TH)-.189 E F0 .771 +(to \214nd the directory containing the)3.021 F +(\214le supplied as an ar)184 648 Q 2.5(gument. This)-.18 F +(option is enabled by def)2.5 E(ault.)-.1 E F1(xpg_echo)144 660 Q F0 +(If set, the)184 672 Q F1(echo)2.5 E F0 -.2(bu)2.5 G(iltin e).2 E +(xpands backslash-escape sequences by def)-.15 E(ault.)-.1 E F1(suspend) +108 688.8 Q F0([)2.5 E F1A F0(])A 1.002(Suspend the e)144 700.8 R +-.15(xe)-.15 G 1.002(cution of this shell until it recei).15 F -.15(ve) +-.25 G 3.501(sa).15 G F3(SIGCONT)A F0 3.501(signal. A)3.251 F 1.001 +(login shell cannot be)3.501 F .022(suspended; the)144 712.8 R F1 +2.522 E F0 .022(option can be used to o)2.522 F -.15(ve)-.15 G .022 +(rride this and force the suspension.).15 F .023(The return status is) +5.023 F 2.5(0u)144 724.8 S(nless the shell is a login shell and)-2.5 E F12.5 E F0(is not supplied, or if job control is not enabled.)2.5 -E F1(test)108 369.6 Q/F3 10/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F1([) -108 381.6 Q F3 -.2(ex)2.5 G(pr).2 E F1(])2.5 E F0 .877 -(Return a status of 0 \(true\) or 1 \(f)6.77 F .878 -(alse\) depending on the e)-.1 F -.25(va)-.25 G .878 -(luation of the conditional e).25 F(xpression)-.15 E F3 -.2(ex)144 393.6 -S(pr).2 E F0 5.53(.E).73 G .53 +E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(20)198.725 E 0 Cg EP +%%Page: 21 21 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(test)108 84 Q/F2 10 +/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F1([)108 96 Q F2 -.2(ex)2.5 G +(pr).2 E F1(])2.5 E F0 .878(Return a status of 0 \(true\) or 1 \(f)144 +96 R .877(alse\) depending on the e)-.1 F -.25(va)-.25 G .877 +(luation of the conditional e).25 F(xpression)-.15 E F2 -.2(ex)144 108 S +(pr).2 E F0 5.53(.E).73 G .53 (ach operator and operand must be a separate ar)-5.53 F 3.03 -(gument. Expressions)-.18 F .53(are composed of the)3.03 F 3.079 -(primaries described abo)144 405.6 R 3.379 -.15(ve u)-.15 H(nder).15 E -F2(CONDITION)5.579 E 3.079(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF -(.)A F1(test)7.579 E F0 3.08(does not accept an)5.58 F(y)-.15 E -(options, nor does it accept and ignore an ar)144 417.6 Q(gument of)-.18 -E F12.5 E F0(as signifying the end of options.)2.5 E .786 -(Expressions may be combined using the follo)144 435.6 R .785 -(wing operators, listed in decreasing order of prece-)-.25 F 3.411 -(dence. The)144 447.6 R -.25(eva)3.411 G .911 -(luation depends on the number of ar).25 F .912(guments; see belo)-.18 F -4.712 -.65(w. O)-.25 H .912(perator precedence is).65 F -(used when there are \214v)144 459.6 Q 2.5(eo)-.15 G 2.5(rm)-2.5 G -(ore ar)-2.5 E(guments.)-.18 E F1(!)144 471.6 Q F3 -.2(ex)2.5 G(pr).2 E -F0 -.35(Tr)12.6 G(ue if).35 E F3 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E -(alse.)-.1 E F1(\()144 483.6 Q F3 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 -.26(Returns the v)6.77 F .26(alue of)-.25 F F3 -.2(ex)2.76 G(pr).2 E F0 +(gument. Expressions)-.18 F .53(are composed of the)3.03 F 3.08 +(primaries described abo)144 120 R 3.38 -.15(ve u)-.15 H(nder).15 E/F3 9 +/Times-Bold@0 SF(CONDITION)5.58 E 3.079(AL EXPRESSIONS)-.18 F/F4 9 +/Times-Roman@0 SF(.)A F1(test)7.579 E F0 3.079(does not accept an)5.579 +F(y)-.15 E(options, nor does it accept and ignore an ar)144 132 Q +(gument of)-.18 E F12.5 E F0(as signifying the end of options.)2.5 +E .785(Expressions may be combined using the follo)144 150 R .786 +(wing operators, listed in decreasing order of prece-)-.25 F 3.412 +(dence. The)144 162 R -.25(eva)3.412 G .912 +(luation depends on the number of ar).25 F .911(guments; see belo)-.18 F +4.711 -.65(w. O)-.25 H .911(perator precedence is).65 F +(used when there are \214v)144 174 Q 2.5(eo)-.15 G 2.5(rm)-2.5 G(ore ar) +-2.5 E(guments.)-.18 E F1(!)144 186 Q F2 -.2(ex)2.5 G(pr).2 E F0 -.35 +(Tr)180 186 S(ue if).35 E F2 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E(alse.) +-.1 E F1(\()144 198 Q F2 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 .26 +(Returns the v)180 198 R .26(alue of)-.25 F F2 -.2(ex)2.76 G(pr).2 E F0 5.26(.T)C .26(his may be used to o)-5.26 F -.15(ve)-.15 G .26 -(rride the normal precedence of opera-).15 F(tors.)180 495.6 Q F3 -.2 -(ex)144 507.6 S(pr1).2 E F02.5 E F1(a)A F3 -.2(ex)2.5 G(pr2).2 E F0 --.35(Tr)180 519.6 S(ue if both).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 -E F3 -.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F3 -.2(ex)144 531.6 S -(pr1).2 E F02.5 E F1(o)A F3 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 -543.6 S(ue if either).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F3 -.2 -(ex)2.5 G(pr2).2 E F0(is true.)2.52 E F1(test)144 560.4 Q F0(and)2.5 E -F1([)2.5 E F0 -.25(eva)2.5 G(luate conditional e).25 E +(rride the normal precedence of opera-).15 F(tors.)180 210 Q F2 -.2(ex) +144 222 S(pr1).2 E F02.5 E F1(a)A F2 -.2(ex)2.5 G(pr2).2 E F0 -.35 +(Tr)180 234 S(ue if both).35 E F2 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 E F2 +-.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F2 -.2(ex)144 246 S(pr1).2 E +F02.5 E F1(o)A F2 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 258 S +(ue if either).35 E F2 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F2 -.2(ex)2.5 G +(pr2).2 E F0(is true.)2.52 E F1(test)144 274.8 Q F0(and)2.5 E F1([)2.5 E +F0 -.25(eva)2.5 G(luate conditional e).25 E (xpressions using a set of rules based on the number of ar)-.15 E -(guments.)-.18 E 2.5(0a)144 578.4 S -.18(rg)-2.5 G(uments).18 E(The e) -180 590.4 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 602.4 S -.18 -(rg)-2.5 G(ument).18 E(The e)180 614.4 Q +(guments.)-.18 E 2.5(0a)144 292.8 S -.18(rg)-2.5 G(uments).18 E(The e) +180 304.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 316.8 S -.18 +(rg)-2.5 G(ument).18 E(The e)180 328.8 Q (xpression is true if and only if the ar)-.15 E(gument is not null.)-.18 -E 2.5(2a)144 626.4 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar) -180 638.4 R .37(gument is)-.18 F F1(!)2.87 E F0 2.87(,t)C .37(he e)-2.87 +E 2.5(2a)144 340.8 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar) +180 352.8 R .37(gument is)-.18 F F1(!)2.87 E F0 2.87(,t)C .37(he e)-2.87 F .37(xpression is true if and only if the second ar)-.15 F .37 -(gument is null.)-.18 F .38(If the \214rst ar)180 650.4 R .38 -(gument is one of the unary conditional operators listed abo)-.18 F .679 --.15(ve u)-.15 H(nder).15 E F2(CONDI-)2.879 E(TION)180 662.4 Q .552 +(gument is null.)-.18 F .379(If the \214rst ar)180 364.8 R .38 +(gument is one of the unary conditional operators listed abo)-.18 F .68 +-.15(ve u)-.15 H(nder).15 E F3(CONDI-)2.88 E(TION)180 376.8 Q .553 (AL EXPRESSIONS)-.18 F F4(,)A F0 .552(the e)2.802 F .552 (xpression is true if the unary test is true.)-.15 F .552 -(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 674.4 Q +(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 388.8 Q (alid unary conditional operator)-.25 E 2.5(,t)-.4 G(he e)-2.5 E -(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 686.4 S -.18(rg)-2.5 G -(uments).18 E .236(The follo)180 698.4 R .236 +(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 400.8 S -.18(rg)-2.5 G +(uments).18 E .236(The follo)180 412.8 R .236 (wing conditions are applied in the order listed.)-.25 F .236 (If the second ar)5.236 F .236(gument is one of)-.18 F .855 -(the binary conditional operators listed abo)180 710.4 R 1.155 -.15 -(ve u)-.15 H(nder).15 E F2(CONDITION)3.355 E .855(AL EXPRESSIONS)-.18 F -F4(,)A F0(the)3.105 E .579(result of the e)180 722.4 R .578(xpression i\ +(the binary conditional operators listed abo)180 424.8 R 1.155 -.15 +(ve u)-.15 H(nder).15 E F3(CONDITION)3.355 E .855(AL EXPRESSIONS)-.18 F +F4(,)A F0(the)3.104 E .578(result of the e)180 436.8 R .578(xpression i\ s the result of the binary test using the \214rst and third ar)-.15 F -(guments)-.18 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(20)198.725 E -0 Cg EP -%%Page: 21 21 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E 1.332 -(as operands.)180 84 R(The)6.332 E/F1 10/Times-Bold@0 SF3.832 E F0 -(and)3.832 E F13.832 E F0 1.333 +(guments)-.18 E 1.333(as operands.)180 448.8 R(The)6.333 E F13.833 +E F0(and)3.833 E F13.832 E F0 1.332 (operators are considered binary operators when there are)3.832 F .558 -(three ar)180 96 R 3.058(guments. If)-.18 F .558(the \214rst ar)3.058 F -.558(gument is)-.18 F F1(!)3.058 E F0 3.058(,t)C .558(he v)-3.058 F .558 -(alue is the ne)-.25 F -.05(ga)-.15 G .558(tion of the tw).05 F(o-ar)-.1 -E(gument)-.18 E .52(test using the second and third ar)180 108 R 3.021 -(guments. If)-.18 F .521(the \214rst ar)3.021 F .521(gument is e)-.18 F -(xactly)-.15 E F1(\()3.021 E F0 .521(and the third)3.021 F(ar)180 120 Q -.485(gument is e)-.18 F(xactly)-.15 E F1(\))2.985 E F0 2.985(,t)C .485 -(he result is the one-ar)-2.985 F .485(gument test of the second ar)-.18 -F 2.985(gument. Other)-.18 F(-)-.2 E(wise, the e)180 132 Q -(xpression is f)-.15 E(alse.)-.1 E 2.5(4a)144 144 S -.18(rg)-2.5 G -(uments).18 E .384(If the \214rst ar)180 156 R .384(gument is)-.18 F F1 -(!)2.884 E F0 2.885(,t)C .385(he result is the ne)-2.885 F -.05(ga)-.15 -G .385(tion of the three-ar).05 F .385(gument e)-.18 F .385 -(xpression com-)-.15 F 1.648(posed of the remaining ar)180 168 R 4.147 -(guments. Otherwise,)-.18 F 1.647(the e)4.147 F 1.647 -(xpression is parsed and e)-.15 F -.25(va)-.25 G(luated).25 E -(according to precedence using the rules listed abo)180 180 Q -.15(ve) --.15 G(.).15 E 2.5(5o)144 192 S 2.5(rm)-2.5 G(ore ar)-2.5 E(guments)-.18 -E 1.635(The e)180 204 R 1.635(xpression is parsed and e)-.15 F -.25(va) --.25 G 1.635(luated according to precedence using the rules listed).25 F -(abo)180 216 Q -.15(ve)-.15 G(.).15 E(When used with)144 234 Q F1(test) -2.5 E F0(or)2.5 E F1([)2.5 E F0 2.5(,t)C(he)-2.5 E F1(<)2.5 E F0(and)2.5 -E F1(>)2.5 E F0(operators sort le)2.5 E -(xicographically using ASCII ordering.)-.15 E F1(times)108 250.8 Q F0 +(three ar)180 460.8 R 3.058(guments. If)-.18 F .558(the \214rst ar)3.058 +F .558(gument is)-.18 F F1(!)3.058 E F0 3.058(,t)C .558(he v)-3.058 F +.558(alue is the ne)-.25 F -.05(ga)-.15 G .558(tion of the tw).05 F +(o-ar)-.1 E(gument)-.18 E .521(test using the second and third ar)180 +472.8 R 3.021(guments. If)-.18 F .521(the \214rst ar)3.021 F .52 +(gument is e)-.18 F(xactly)-.15 E F1(\()3.02 E F0 .52(and the third)3.02 +F(ar)180 484.8 Q .485(gument is e)-.18 F(xactly)-.15 E F1(\))2.985 E F0 +2.985(,t)C .485(he result is the one-ar)-2.985 F .485 +(gument test of the second ar)-.18 F 2.985(gument. Other)-.18 F(-)-.2 E +(wise, the e)180 496.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(4a)144 +508.8 S -.18(rg)-2.5 G(uments).18 E .385(If the \214rst ar)180 520.8 R +.385(gument is)-.18 F F1(!)2.885 E F0 2.885(,t)C .385 +(he result is the ne)-2.885 F -.05(ga)-.15 G .384(tion of the three-ar) +.05 F .384(gument e)-.18 F .384(xpression com-)-.15 F 1.647 +(posed of the remaining ar)180 532.8 R 4.147(guments. Otherwise,)-.18 F +1.647(the e)4.147 F 1.648(xpression is parsed and e)-.15 F -.25(va)-.25 +G(luated).25 E(according to precedence using the rules listed abo)180 +544.8 Q -.15(ve)-.15 G(.).15 E 2.5(5o)144 556.8 S 2.5(rm)-2.5 G(ore ar) +-2.5 E(guments)-.18 E 1.635(The e)180 568.8 R 1.635 +(xpression is parsed and e)-.15 F -.25(va)-.25 G 1.635 +(luated according to precedence using the rules listed).25 F(abo)180 +580.8 Q -.15(ve)-.15 G(.).15 E(When used with)144 598.8 Q F1(test)2.5 E +F0(or)2.5 E F1([)2.5 E F0 2.5(,t)C(he)-2.5 E F1(<)2.5 E F0(and)2.5 E F1 +(>)2.5 E F0(operators sort le)2.5 E +(xicographically using ASCII ordering.)-.15 E F1(times)108 615.6 Q F0 1.229(Print the accumulated user and system times for the shell and for\ - processes run from the shell.)13.23 F(The return status is 0.)144 262.8 -Q F1(trap)108 279.6 Q F0([)2.5 E F1(\255lp)A F0 2.5(][)C([)-2.5 E/F2 10 -/Times-Italic@0 SF(ar)A(g)-.37 E F0(])A F2(sigspec)2.5 E F0(...])2.5 E -.702(The command)144 291.6 R F2(ar)3.532 E(g)-.37 E F0 .702 -(is to be read and e)3.422 F -.15(xe)-.15 G .702 -(cuted when the shell recei).15 F -.15(ve)-.25 G 3.203(ss).15 G -(ignal\(s\))-3.203 E F2(sigspec)3.203 E F0 5.703(.I).31 G(f)-5.703 E F2 -(ar)3.533 E(g)-.37 E F0(is)3.423 E .609(absent \(and there is a single) -144 303.6 R F2(sigspec)3.108 E F0 3.108(\)o)C(r)-3.108 E F13.108 E -F0 3.108(,e)C .608 + processes run from the shell.)144 615.6 R(The return status is 0.)144 +627.6 Q F1(trap)108 644.4 Q F0([)2.5 E F1(\255lp)A F0 2.5(][)C([)-2.5 E +F2(ar)A(g)-.37 E F0(])A F2(sigspec)2.5 E F0(...])2.5 E .703(The command) +144 656.4 R F2(ar)3.533 E(g)-.37 E F0 .703(is to be read and e)3.423 F +-.15(xe)-.15 G .702(cuted when the shell recei).15 F -.15(ve)-.25 G +3.202(ss).15 G(ignal\(s\))-3.202 E F2(sigspec)3.202 E F0 5.702(.I).31 G +(f)-5.702 E F2(ar)3.532 E(g)-.37 E F0(is)3.422 E .608 +(absent \(and there is a single)144 668.4 R F2(sigspec)3.108 E F0 3.108 +(\)o)C(r)-3.108 E F13.108 E F0 3.108(,e)C .608 (ach speci\214ed signal is reset to its original disposition)-3.108 F -.658(\(the v)144 315.6 R .658(alue it had upon entrance to the shell\).) --.25 F(If)5.658 E F2(ar)3.488 E(g)-.37 E F0 .659 +.659(\(the v)144 680.4 R .659(alue it had upon entrance to the shell\).) +-.25 F(If)5.658 E F2(ar)3.488 E(g)-.37 E F0 .658 (is the null string the signal speci\214ed by each)3.378 F F2(sigspec) -144.34 327.6 Q F0 .581 -(is ignored by the shell and by the commands it in)3.391 F -.2(vo)-.4 G --.1(ke).2 G 3.08(s. If).1 F F2(ar)3.41 E(g)-.37 E F0 .58 -(is not present and)3.3 F F13.08 E F0(has)3.08 E 1.214 -(been supplied, then the trap commands associated with each)144 339.6 R -F2(sigspec)4.054 E F0 1.215(are displayed.)4.024 F 1.215(If no ar)6.215 -F(gu-)-.18 E .86(ments are supplied or if only)144 351.6 R F13.36 +144.34 692.4 Q F0 .58(is ignored by the shell and by the commands it in) +3.39 F -.2(vo)-.4 G -.1(ke).2 G 3.081(s. If).1 F F2(ar)3.411 E(g)-.37 E +F0 .581(is not present and)3.301 F F13.081 E F0(has)3.081 E 1.215 +(been supplied, then the trap commands associated with each)144 704.4 R +F2(sigspec)4.054 E F0 1.214(are displayed.)4.024 F 1.214(If no ar)6.214 +F(gu-)-.18 E .86(ments are supplied or if only)144 716.4 R F13.36 E F0 .86(is gi)3.36 F -.15(ve)-.25 G(n,).15 E F1(trap)3.36 E F0 .86 -(prints the list of commands associated with each)3.36 F 2.83 -(signal. The)144 363.6 R F12.83 E F0 .33(option causes the shell \ -to print a list of signal names and their corresponding num-)2.83 F -4.311(bers. Each)144 375.6 R F2(sigspec)4.651 E F0 1.811 -(is either a signal name de\214ned in <)4.621 F F2(signal.h)A F0 1.81 -(>, or a signal number)B 6.81(.S)-.55 G(ignal)-6.81 E -(names are case insensiti)144 387.6 Q .3 -.15(ve a)-.25 H(nd the).15 E -/F3 9/Times-Bold@0 SF(SIG)2.5 E F0(pre\214x is optional.)2.25 E 1.648 -(If a)144 405.6 R F2(sigspec)4.488 E F0(is)4.458 E F3(EXIT)4.148 E F0 -1.648(\(0\) the command)3.898 F F2(ar)4.479 E(g)-.37 E F0 1.649(is e) -4.369 F -.15(xe)-.15 G 1.649(cuted on e).15 F 1.649(xit from the shell.) --.15 F 1.649(If a)6.649 F F2(sigspec)4.489 E F0(is)4.459 E F3(DEB)144 -417.6 Q(UG)-.09 E/F4 9/Times-Roman@0 SF(,)A F0 1.168(the command)3.418 F -F2(ar)3.998 E(g)-.37 E F0 1.168(is e)3.888 F -.15(xe)-.15 G 1.167 -(cuted before e).15 F -.15(ve)-.25 G(ry).15 E F2 1.167(simple command) -3.667 F F0(,)A F2(for)3.667 E F0(command,)3.667 E F2(case)3.667 E F0 -(com-)3.667 E(mand,)144 429.6 Q F2(select)2.646 E F0 .146(command, e) -2.646 F -.15(ve)-.25 G .146(ry arithmetic).15 F F2(for)2.646 E F0 .147 -(command, and before the \214rst command e)2.646 F -.15(xe)-.15 G .147 -(cutes in a).15 F .146(shell function \(see)144 441.6 R F3 .146 -(SHELL GRAMMAR)2.646 F F0(abo)2.396 E -.15(ve)-.15 G 2.646(\). Refer).15 -F .146(to the description of the)2.646 F F1(extdeb)2.645 E(ug)-.2 E F0 -.145(option to)2.645 F(the)144 453.6 Q F1(shopt)3.2 E F0 -.2(bu)3.2 G .7 -(iltin for details of its ef).2 F .7(fect on the)-.25 F F1(DEB)3.2 E(UG) --.1 E F0 3.2(trap. If)3.2 F(a)3.2 E F2(sigspec)3.54 E F0(is)3.51 E F3 -(RETURN)3.2 E F4(,)A F0 .701(the com-)2.951 F(mand)144 465.6 Q F2(ar) -3.474 E(g)-.37 E F0 .644(is e)3.364 F -.15(xe)-.15 G .643 -(cuted each time a shell function or a script e).15 F -.15(xe)-.15 G -.643(cuted with the).15 F F1(.)3.143 E F0(or)3.143 E F1(sour)3.143 E(ce) --.18 E F0 -.2(bu)3.143 G(iltins).2 E(\214nishes e)144 477.6 Q -.15(xe) --.15 G(cuting.).15 E .521(If a)144 495.6 R F2(sigspec)3.361 E F0(is) -3.331 E F3(ERR)3.021 E F4(,)A F0 .522(the command)2.771 F F2(ar)3.352 E -(g)-.37 E F0 .522(is e)3.242 F -.15(xe)-.15 G .522(cuted whene).15 F --.15(ve)-.25 G 3.022(raap).15 G .522(ipeline \(which may consist of a) --3.022 F .185(single simple command\), a list, or a compound command re\ -turns a non\255zero e)144 507.6 R .184(xit status, subject to)-.15 F -.451(the follo)144 519.6 R .451(wing conditions.)-.25 F(The)5.451 E F3 -(ERR)2.951 E F0 .451(trap is not e)2.701 F -.15(xe)-.15 G .451 -(cuted if the f).15 F .452(ailed command is part of the com-)-.1 F .388 -(mand list immediately follo)144 531.6 R .388(wing a)-.25 F F1(while) -2.888 E F0(or)2.888 E F1(until)2.888 E F0 -.1(ke)2.888 G(yw)-.05 E .388 -(ord, part of the test in an)-.1 F F2(if)2.897 E F0 .387 -(statement, part)4.847 F .777(of a command e)144 543.6 R -.15(xe)-.15 G -.778(cuted in a).15 F F1(&&)3.278 E F0(or)3.278 E F1(||)3.278 E F0 .778 -(list e)3.278 F .778(xcept the command follo)-.15 F .778 -(wing the \214nal)-.25 F F1(&&)3.278 E F0(or)3.278 E F1(||)3.278 E F0 -3.278(,a)C -.15(ny)-3.278 G 1.28(command in a pipeline b)144 555.6 R -1.28(ut the last, or if the command')-.2 F 3.78(sr)-.55 G 1.28(eturn v) --3.78 F 1.28(alue is being in)-.25 F -.15(ve)-.4 G 1.28(rted using).15 F -F1(!)3.78 E F0(.)A(These are the same conditions obe)144 567.6 Q -(yed by the)-.15 E F1(err)2.5 E(exit)-.18 E F0(\()2.5 E F1A F0 2.5 -(\)o)C(ption.)-2.5 E 1.095 -(Signals ignored upon entry to the shell cannot be trapped or reset.)144 -585.6 R -.35(Tr)6.095 G 1.095(apped signals that are not).35 F .662 -(being ignored are reset to their original v)144 597.6 R .662 -(alues in a subshell or subshell en)-.25 F .661(vironment when one is) --.4 F 2.5(created. The)144 609.6 R(return status is f)2.5 E(alse if an) --.1 E(y)-.15 E F2(sigspec)2.84 E F0(is in)2.81 E -.25(va)-.4 G -(lid; otherwise).25 E F1(trap)2.5 E F0(returns true.)2.5 E F1(type)108 -626.4 Q F0([)2.5 E F1(\255aftpP)A F0(])A F2(name)2.5 E F0([)2.5 E F2 -(name)A F0(...])2.5 E -.4(Wi)144 638.4 S .173 -(th no options, indicate ho).4 F 2.673(we)-.25 G(ach)-2.673 E F2(name) -3.033 E F0 -.1(wo)2.853 G .174 -(uld be interpreted if used as a command name.).1 F .174(If the)5.174 F -F1144 650.4 Q F0 .843(option is used,)3.343 F F1(type)3.343 E F0 -.843(prints a string which is one of)3.343 F F2(alias)3.343 E F0(,).27 E -F2 -.1(ke)3.343 G(ywor)-.2 E(d)-.37 E F0(,).77 E F2(function)3.343 E F0 -(,).24 E F2 -.2(bu)3.342 G(iltin).2 E F0 3.342(,o).24 G(r)-3.342 E F2 -(\214le)5.252 E F0(if)3.522 E F2(name)144.36 662.4 Q F0 .086 -(is an alias, shell reserv)2.766 F .086(ed w)-.15 F .086 -(ord, function, b)-.1 F .087(uiltin, or disk \214le, respecti)-.2 F -.15 -(ve)-.25 G(ly).15 E 5.087(.I)-.65 G 2.587(ft)-5.087 G(he)-2.587 E F2 -(name)2.947 E F0 .087(is not)2.767 F .119 -(found, then nothing is printed, and an e)144 674.4 R .118 -(xit status of f)-.15 F .118(alse is returned.)-.1 F .118(If the)5.118 F -F12.618 E F0 .118(option is used,)2.618 F F1(type)2.618 E F0 .855 -(either returns the name of the disk \214le that w)144 686.4 R .855 -(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F2(name)3.715 E F0 -.855(were speci\214ed as a com-)3.535 F .641(mand name, or nothing if) -144 698.4 R/F5 10/Courier@0 SF .641(type -t name)3.141 F F0 -.1(wo)3.141 -G .641(uld not return).1 F F2(\214le)3.14 E F0 5.64(.T).18 G(he)-5.64 E -F13.14 E F0 .64(option forces a)3.14 F F3 -.666(PA)3.14 G(TH)-.189 -E F0 .112(search for each)144 710.4 R F2(name)2.612 E F0 2.612(,e)C -.15 -(ve)-2.862 G 2.613(ni).15 G(f)-2.613 E F5 .113(type -t name)2.613 F F0 --.1(wo)2.613 G .113(uld not return).1 F F2(\214le)2.613 E F0 5.113(.I) -.18 G 2.613(fac)-5.113 G .113(ommand is hashed,)-2.613 F F12.613 E -F0(and)144 722.4 Q F13.231 E F0 .731(print the hashed v)3.231 F -.73(alue, which is not necessarily the \214le that appears \214rst in) --.25 F F3 -.666(PA)3.23 G(TH)-.189 E F4(.)A F0 .73(If the)5.23 F +(prints the list of commands associated with each)3.36 F 4.327 +(signal. The)144 728.4 R F14.327 E F0 1.826(option causes the she\ +ll to print a list of signal names and their corresponding)4.327 F (GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(21)198.725 E 0 Cg EP %%Page: 22 22 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF144 84 Q F0 1.748(option is used,)4.248 F F1(type) -4.248 E F0 1.748(prints all of the places that contain an e)4.248 F -.15 -(xe)-.15 G 1.748(cutable named).15 F/F2 10/Times-Italic@0 SF(name)4.249 -E F0 6.749(.T).18 G(his)-6.749 E .744 -(includes aliases and functions, if and only if the)144 96 R F1 -3.244 E F0 .744(option is not also used.)3.244 F .743 +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E 3.125(numbers. Each)144 84 R/F1 10 +/Times-Italic@0 SF(sigspec)3.465 E F0 .625 +(is either a signal name de\214ned in <)3.435 F F1(signal.h)A F0 .626 +(>, or a signal number)B 5.626(.S)-.55 G(ignal)-5.626 E +(names are case insensiti)144 96 Q .3 -.15(ve a)-.25 H(nd the).15 E/F2 9 +/Times-Bold@0 SF(SIG)2.5 E F0(pre\214x is optional.)2.25 E 1.649(If a) +144 114 R F1(sigspec)4.489 E F0(is)4.459 E F2(EXIT)4.149 E F0 1.649 +(\(0\) the command)3.899 F F1(ar)4.479 E(g)-.37 E F0 1.649(is e)4.369 F +-.15(xe)-.15 G 1.649(cuted on e).15 F 1.648(xit from the shell.)-.15 F +1.648(If a)6.648 F F1(sigspec)4.488 E F0(is)4.458 E F2(DEB)144 126 Q(UG) +-.09 E/F3 9/Times-Roman@0 SF(,)A F0 1.167(the command)3.417 F F1(ar) +3.997 E(g)-.37 E F0 1.167(is e)3.887 F -.15(xe)-.15 G 1.167 +(cuted before e).15 F -.15(ve)-.25 G(ry).15 E F1 1.168(simple command) +3.667 F F0(,)A F1(for)3.668 E F0(command,)3.668 E F1(case)3.668 E F0 +(com-)3.668 E(mand,)144 138 Q F1(select)2.647 E F0 .147(command, e)2.647 +F -.15(ve)-.25 G .147(ry arithmetic).15 F F1(for)2.647 E F0 .146 +(command, and before the \214rst command e)2.647 F -.15(xe)-.15 G .146 +(cutes in a).15 F .145(shell function \(see)144 150 R F2 .145 +(SHELL GRAMMAR)2.645 F F0(abo)2.395 E -.15(ve)-.15 G 2.646(\). Refer).15 +F .146(to the description of the)2.646 F/F4 10/Times-Bold@0 SF(extdeb) +2.646 E(ug)-.2 E F0 .146(option to)2.646 F(the)144 162 Q F4(shopt)3.201 +E F0 -.2(bu)3.201 G .7(iltin for details of its ef).2 F .7(fect on the) +-.25 F F4(DEB)3.2 E(UG)-.1 E F0 3.2(trap. If)3.2 F(a)3.2 E F1(sigspec) +3.54 E F0(is)3.51 E F2(RETURN)3.2 E F3(,)A F0 .7(the com-)2.95 F(mand) +144 174 Q F1(ar)3.473 E(g)-.37 E F0 .643(is e)3.363 F -.15(xe)-.15 G +.643(cuted each time a shell function or a script e).15 F -.15(xe)-.15 G +.644(cuted with the).15 F F4(.)3.144 E F0(or)3.144 E F4(sour)3.144 E(ce) +-.18 E F0 -.2(bu)3.144 G(iltins).2 E(\214nishes e)144 186 Q -.15(xe)-.15 +G(cuting.).15 E .961(If a)144 204 R F1(sigspec)3.801 E F0(is)3.771 E F2 +(ERR)3.461 E F3(,)A F0 .961(the command)3.211 F F1(ar)3.791 E(g)-.37 E +F0 .961(is e)3.681 F -.15(xe)-.15 G .961(cuted whene).15 F -.15(ve)-.25 +G 3.461(ra).15 G .96(pipeline \(which may consist of a)-.001 F .185(sin\ +gle simple command\), a list, or a compound command returns a non\255ze\ +ro e)144 216 R .185(xit status, subject to)-.15 F .452(the follo)144 228 +R .452(wing conditions.)-.25 F(The)5.452 E F2(ERR)2.952 E F0 .451 +(trap is not e)2.701 F -.15(xe)-.15 G .451(cuted if the f).15 F .451 +(ailed command is part of the com-)-.1 F .387 +(mand list immediately follo)144 240 R .387(wing a)-.25 F F4(while)2.887 +E F0(or)2.887 E F4(until)2.888 E F0 -.1(ke)2.888 G(yw)-.05 E .388 +(ord, part of the test in an)-.1 F F1(if)2.898 E F0 .388 +(statement, part)4.848 F .778(of a command e)144 252 R -.15(xe)-.15 G +.778(cuted in a).15 F F4(&&)3.278 E F0(or)3.278 E F4(||)3.278 E F0 .778 +(list e)3.278 F .778(xcept the command follo)-.15 F .778 +(wing the \214nal)-.25 F F4(&&)3.278 E F0(or)3.278 E F4(||)3.277 E F0 +3.277(,a)C -.15(ny)-3.277 G 1.28(command in a pipeline b)144 264 R 1.28 +(ut the last, or if the command')-.2 F 3.78(sr)-.55 G 1.28(eturn v)-3.78 +F 1.28(alue is being in)-.25 F -.15(ve)-.4 G 1.28(rted using).15 F F4(!) +3.78 E F0(.)A(These are the same conditions obe)144 276 Q(yed by the) +-.15 E F4(err)2.5 E(exit)-.18 E F0(\()2.5 E F4A F0 2.5(\)o)C +(ption.)-2.5 E 1.095 +(Signals ignored upon entry to the shell cannot be trapped or reset.)144 +294 R -.35(Tr)6.095 G 1.095(apped signals that are not).35 F .662 +(being ignored are reset to their original v)144 306 R .662 +(alues in a subshell or subshell en)-.25 F .662(vironment when one is) +-.4 F 2.5(created. The)144 318 R(return status is f)2.5 E(alse if an)-.1 +E(y)-.15 E F1(sigspec)2.84 E F0(is in)2.81 E -.25(va)-.4 G +(lid; otherwise).25 E F4(trap)2.5 E F0(returns true.)2.5 E F4(type)108 +334.8 Q F0([)2.5 E F4(\255aftpP)A F0(])A F1(name)2.5 E F0([)2.5 E F1 +(name)A F0(...])2.5 E -.4(Wi)144 346.8 S .174 +(th no options, indicate ho).4 F 2.674(we)-.25 G(ach)-2.674 E F1(name) +3.034 E F0 -.1(wo)2.854 G .173 +(uld be interpreted if used as a command name.).1 F .173(If the)5.173 F +F4144 358.8 Q F0 .842(option is used,)3.342 F F4(type)3.342 E F0 +.843(prints a string which is one of)3.343 F F1(alias)3.343 E F0(,).27 E +F1 -.1(ke)3.343 G(ywor)-.2 E(d)-.37 E F0(,).77 E F1(function)3.343 E F0 +(,).24 E F1 -.2(bu)3.343 G(iltin).2 E F0 3.343(,o).24 G(r)-3.343 E F1 +(\214le)5.253 E F0(if)3.523 E F1(name)144.36 370.8 Q F0 .087 +(is an alias, shell reserv)2.767 F .087(ed w)-.15 F .087 +(ord, function, b)-.1 F .086(uiltin, or disk \214le, respecti)-.2 F -.15 +(ve)-.25 G(ly).15 E 5.086(.I)-.65 G 2.586(ft)-5.086 G(he)-2.586 E F1 +(name)2.946 E F0 .086(is not)2.766 F .118 +(found, then nothing is printed, and an e)144 382.8 R .118 +(xit status of f)-.15 F .118(alse is returned.)-.1 F .119(If the)5.119 F +F42.619 E F0 .119(option is used,)2.619 F F4(type)2.619 E F0 .855 +(either returns the name of the disk \214le that w)144 394.8 R .855 +(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F1(name)3.715 E F0 +.855(were speci\214ed as a com-)3.535 F .64(mand name, or nothing if)144 +406.8 R/F5 10/Courier@0 SF .64(type -t name)3.14 F F0 -.1(wo)3.14 G .641 +(uld not return).1 F F1(\214le)3.141 E F0 5.641(.T).18 G(he)-5.641 E F4 +3.141 E F0 .641(option forces a)3.141 F F2 -.666(PA)3.141 G(TH) +-.189 E F0 .113(search for each)144 418.8 R F1(name)2.613 E F0 2.613(,e) +C -.15(ve)-2.863 G 2.613(ni).15 G(f)-2.613 E F5 .113(type -t name)2.613 +F F0 -.1(wo)2.613 G .113(uld not return).1 F F1(\214le)2.613 E F0 5.113 +(.I).18 G 2.613(fa)-5.113 G .112(command is hashed,)-.001 F F4 +2.612 E F0(and)144 430.8 Q F43.23 E F0 .73(print the hashed v)3.23 +F .731 +(alue, which is not necessarily the \214le that appears \214rst in)-.25 +F F2 -.666(PA)3.231 G(TH)-.189 E F3(.)A F0 .731(If the)5.231 F F4 +144 442.8 Q F0 1.749(option is used,)4.249 F F4(type)4.248 E F0 1.748 +(prints all of the places that contain an e)4.248 F -.15(xe)-.15 G 1.748 +(cutable named).15 F F1(name)4.248 E F0 6.748(.T).18 G(his)-6.748 E .744 +(includes aliases and functions, if and only if the)144 454.8 R F4 +3.244 E F0 .744(option is not also used.)3.244 F .744 (The table of hashed)5.744 F 1.223(commands is not consulted when using) -144 108 R F13.723 E F0 6.223(.T)C(he)-6.223 E F13.723 E F0 -1.223(option suppresses shell function lookup, as)3.723 F .326(with the) -144 120 R F1(command)2.826 E F0 -.2(bu)2.826 G(iltin.).2 E F1(type)5.326 -E F0 .326(returns true if all of the ar)2.826 F .325 -(guments are found, f)-.18 F .325(alse if an)-.1 F 2.825(ya)-.15 G .325 -(re not)-2.825 F(found.)144 132 Q F1(ulimit)108 148.8 Q F0([)2.5 E F1 -(\255HST)A(abcde\214lmnpqrstuvx)-.92 E F0([)2.5 E F2(limit)A F0(]])A -(Pro)144 160.8 Q .243(vides control o)-.15 F -.15(ve)-.15 G 2.743(rt).15 -G .243(he resources a)-2.743 F -.25(va)-.2 G .244 +144 466.8 R F43.723 E F0 6.223(.T)C(he)-6.223 E F43.723 E F0 +1.223(option suppresses shell function lookup, as)3.723 F .325(with the) +144 478.8 R F4(command)2.825 E F0 -.2(bu)2.825 G(iltin.).2 E F4(type) +5.325 E F0 .325(returns true if all of the ar)2.825 F .326 +(guments are found, f)-.18 F .326(alse if an)-.1 F 2.826(ya)-.15 G .326 +(re not)-2.826 F(found.)144 490.8 Q F4(ulimit)108 507.6 Q F0([)2.5 E F4 +(\255HSabcde\214klmnpqrstuvxPT)A F0([)2.5 E F1(limit)A F0(]])A(Pro)144 +519.6 Q .244(vides control o)-.15 F -.15(ve)-.15 G 2.744(rt).15 G .244 +(he resources a)-2.744 F -.25(va)-.2 G .244 (ilable to the shell and to processes started by it, on systems).25 F -.944(that allo)144 172.8 R 3.444(ws)-.25 G .944(uch control.)-3.444 F -(The)5.944 E F13.444 E F0(and)3.444 E F13.444 E F0 .943 +.943(that allo)144 531.6 R 3.443(ws)-.25 G .943(uch control.)-3.443 F +(The)5.943 E F43.443 E F0(and)3.443 E F43.444 E F0 .944 (options specify that the hard or soft limit is set for the)3.444 F(gi) -144 184.8 Q -.15(ve)-.25 G 2.708(nr).15 G 2.708(esource. A)-2.708 F .208 +144 543.6 Q -.15(ve)-.25 G 2.709(nr).15 G 2.709(esource. A)-2.709 F .208 (hard limit cannot be increased by a non-root user once it is set; a so\ -ft limit may)2.708 F .426(be increased up to the v)144 196.8 R .426 -(alue of the hard limit.)-.25 F .425(If neither)5.426 F F12.925 E -F0(nor)2.925 E F12.925 E F0 .425 -(is speci\214ed, both the soft and)2.925 F .139(hard limits are set.)144 -208.8 R .139(The v)5.139 F .139(alue of)-.25 F F2(limit)2.729 E F0 .139 +ft limit may)2.709 F .425(be increased up to the v)144 555.6 R .425 +(alue of the hard limit.)-.25 F .426(If neither)5.425 F F42.926 E +F0(nor)2.926 E F42.926 E F0 .426 +(is speci\214ed, both the soft and)2.926 F .139(hard limits are set.)144 +567.6 R .139(The v)5.139 F .139(alue of)-.25 F F1(limit)2.729 E F0 .139 (can be a number in the unit speci\214ed for the resource or one)3.319 F -.742(of the special v)144 220.8 R(alues)-.25 E F1(hard)3.242 E F0(,)A F1 -(soft)3.241 E F0 3.241(,o)C(r)-3.241 E F1(unlimited)3.241 E F0 3.241(,w) +.741(of the special v)144 579.6 R(alues)-.25 E F4(hard)3.241 E F0(,)A F4 +(soft)3.241 E F0 3.241(,o)C(r)-3.241 E F4(unlimited)3.241 E F0 3.241(,w) C .741(hich stand for the current hard limit, the current)-3.241 F .78 -(soft limit, and no limit, respecti)144 232.8 R -.15(ve)-.25 G(ly).15 E -5.78(.I)-.65 G(f)-5.78 E F2(limit)3.37 E F0 .78 +(soft limit, and no limit, respecti)144 591.6 R -.15(ve)-.25 G(ly).15 E +5.78(.I)-.65 G(f)-5.78 E F1(limit)3.37 E F0 .78 (is omitted, the current v)3.96 F .78(alue of the soft limit of the)-.25 -F .499(resource is printed, unless the)144 244.8 R F12.999 E F0 -.499(option is gi)2.999 F -.15(ve)-.25 G 2.999(n. When).15 F .498 +F .498(resource is printed, unless the)144 603.6 R F42.999 E F0 +.499(option is gi)2.999 F -.15(ve)-.25 G 2.999(n. When).15 F .499 (more than one resource is speci\214ed, the)2.999 F -(limit name and unit are printed before the v)144 256.8 Q 2.5 -(alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E F1 -144 268.8 Q F0(All current limits are reported)25.3 E F1144 -280.8 Q F0(The maximum sock)24.74 E(et b)-.1 E(uf)-.2 E(fer size)-.25 E -F1144 292.8 Q F0(The maximum size of core \214les created)25.86 E -F1144 304.8 Q F0(The maximum size of a process')24.74 E 2.5(sd) --.55 G(ata se)-2.5 E(gment)-.15 E F1144 316.8 Q F0 -(The maximum scheduling priority \("nice"\))25.86 E F1144 328.8 Q -F0(The maximum size of \214les written by the shell and its children) -26.97 E F1144 340.8 Q F0(The maximum number of pending signals) -27.52 E F1144 352.8 Q F0(The maximum size that may be lock)27.52 E -(ed into memory)-.1 E F1144 364.8 Q F0 -(The maximum resident set size \(man)21.97 E 2.5(ys)-.15 G -(ystems do not honor this limit\))-2.5 E F1144 376.8 Q F0 .791(Th\ -e maximum number of open \214le descriptors \(most systems do not allo) -24.74 F 3.291(wt)-.25 G .791(his v)-3.291 F .791(alue to)-.25 F -(be set\))180 388.8 Q F1144 400.8 Q F0 -(The pipe size in 512-byte blocks \(this may not be set\))24.74 E F1 -144 412.8 Q F0 -(The maximum number of bytes in POSIX message queues)24.74 E F1144 -424.8 Q F0(The maximum real-time scheduling priority)25.86 E F1144 -436.8 Q F0(The maximum stack size)26.41 E F1144 448.8 Q F0 -(The maximum amount of cpu time in seconds)26.97 E F1144 460.8 Q -F0(The maximum number of processes a)24.74 E -.25(va)-.2 G -(ilable to a single user).25 E F1144 472.8 Q F0 .47 -(The maximum amount of virtual memory a)25.3 F -.25(va)-.2 G .47 -(ilable to the shell and, on some systems, to).25 F(its children)180 -484.8 Q F1144 496.8 Q F0(The maximum number of \214le locks)25.3 E -F1144 508.8 Q F0(The maximum number of threads)23.63 E(If)144 -525.6 Q F2(limit)3.058 E F0 .468(is gi)3.648 F -.15(ve)-.25 G .468 -(n, and the).15 F F12.968 E F0 .468(option is not used,)2.968 F F2 -(limit)2.968 E F0 .468(is the ne)2.968 F 2.968(wv)-.25 G .468 -(alue of the speci\214ed resource.)-3.218 F(If)5.468 E .045 -(no option is gi)144 537.6 R -.15(ve)-.25 G .045(n, then).15 F F1 -2.545 E F0 .045(is assumed.)2.545 F -1.11(Va)5.045 G .045 -(lues are in 1024-byte increments, e)1.11 F .044(xcept for)-.15 F F1 -2.544 E F0 2.544(,w)C .044(hich is)-2.544 F .402(in seconds;)144 -549.6 R F12.902 E F0 2.902(,w)C .402 -(hich is in units of 512-byte blocks; and)-2.902 F F12.902 E F0(,) -A F12.902 E F0(,)A F12.902 E F0 2.902(,a)C(nd)-2.902 E F1 -2.903 E F0 2.903(,w)C .403(hich are unscaled)-2.903 F -.25(va)144 -561.6 S 3.083(lues. The).25 F .583(return status is 0 unless an in)3.083 -F -.25(va)-.4 G .583(lid option or ar).25 F .583 -(gument is supplied, or an error occurs)-.18 F(while setting a ne)144 -573.6 Q 2.5(wl)-.25 G(imit.)-2.5 E F1(umask)108 590.4 Q F0([)2.5 E F1 -A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(mode)-2.5 E F0(])A .2 -(The user \214le-creation mask is set to)144 602.4 R F2(mode)2.7 E F0 +(limit name and unit are printed before the v)144 615.6 Q 2.5 +(alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E F4 +144 627.6 Q F0(All current limits are reported)180 627.6 Q F4 +144 639.6 Q F0(The maximum sock)180 639.6 Q(et b)-.1 E(uf)-.2 E +(fer size)-.25 E F4144 651.6 Q F0 +(The maximum size of core \214les created)180 651.6 Q F4144 663.6 +Q F0(The maximum size of a process')180 663.6 Q 2.5(sd)-.55 G(ata se) +-2.5 E(gment)-.15 E F4144 675.6 Q F0 +(The maximum scheduling priority \("nice"\))180 675.6 Q F4144 +687.6 Q F0 +(The maximum size of \214les written by the shell and its children)180 +687.6 Q F4144 699.6 Q F0(The maximum number of pending signals)180 +699.6 Q F4144 711.6 Q F0 +(The maximum number of kqueues that may be allocated)180 711.6 Q +(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(22)198.725 E 0 Cg EP +%%Page: 23 23 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 +(TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF144 84 Q F0 +(The maximum size that may be lock)180 84 Q(ed into memory)-.1 E F1 +144 96 Q F0(The maximum resident set size \(man)180 96 Q 2.5(ys) +-.15 G(ystems do not honor this limit\))-2.5 E F1144 108 Q F0 .791 +(The maximum number of open \214le descriptors \(most systems do not al\ +lo)180 108 R 3.29(wt)-.25 G .79(his v)-3.29 F .79(alue to)-.25 F +(be set\))180 120 Q F1144 132 Q F0 +(The pipe size in 512-byte blocks \(this may not be set\))180 132 Q F1 +144 144 Q F0(The maximum number of bytes in POSIX message queues) +180 144 Q F1144 156 Q F0 +(The maximum real-time scheduling priority)180 156 Q F1144 168 Q +F0(The maximum stack size)180 168 Q F1144 180 Q F0 +(The maximum amount of cpu time in seconds)180 180 Q F1144 192 Q +F0(The maximum number of processes a)180 192 Q -.25(va)-.2 G +(ilable to a single user).25 E F1144 204 Q F0 .47 +(The maximum amount of virtual memory a)180 204 R -.25(va)-.2 G .47 +(ilable to the shell and, on some systems, to).25 F(its children)180 216 +Q F1144 228 Q F0(The maximum number of \214le locks)180 228 Q F1 +144 240 Q F0(The maximum number of pseudoterminals)180 240 Q F1 +144 252 Q F0(The maximum number of threads)180 252 Q(If)144 268.8 +Q/F2 10/Times-Italic@0 SF(limit)3.058 E F0 .468(is gi)3.648 F -.15(ve) +-.25 G .468(n, and the).15 F F12.968 E F0 .468 +(option is not used,)2.968 F F2(limit)2.968 E F0 .468(is the ne)2.968 F +2.968(wv)-.25 G .468(alue of the speci\214ed resource.)-3.218 F(If)5.468 +E .044(no option is gi)144 280.8 R -.15(ve)-.25 G .044(n, then).15 F F1 +2.544 E F0 .045(is assumed.)2.545 F -1.11(Va)5.045 G .045 +(lues are in 1024-byte increments, e)1.11 F .045(xcept for)-.15 F F1 +2.545 E F0 2.545(,w)C .045(hich is)-2.545 F 1.589(in seconds;)144 +292.8 R F14.089 E F0 4.089(,w)C 1.589 +(hich is in units of 512-byte blocks;)-4.089 F F14.089 E F0(,)A F1 +4.089 E F0(,)A F14.089 E F0(,)A F14.089 E F0(,)A F1 +4.089 E F0 4.089(,a)C(nd)-4.089 E F14.089 E F0 4.088(,w)C +1.588(hich are)-4.088 F 1.438(unscaled v)144 304.8 R 1.438 +(alues; and, when in Posix mode,)-.25 F F13.939 E F0(and)3.939 E +F13.939 E F0 3.939(,w)C 1.439(hich are in 512-byte increments.) +-3.939 F(The)6.439 E .404(return status is 0 unless an in)144 316.8 R +-.25(va)-.4 G .404(lid option or ar).25 F .404 +(gument is supplied, or an error occurs while setting)-.18 F 2.5(an)144 +328.8 S .5 -.25(ew l)-2.5 H(imit.).25 E F1(umask)108 345.6 Q F0([)2.5 E +F1A F0 2.5(][)C F1-2.5 E F0 2.5(][)C F2(mode)-2.5 E F0(])A +.2(The user \214le-creation mask is set to)144 357.6 R F2(mode)2.7 E F0 5.2(.I).18 G(f)-5.2 E F2(mode)3.08 E F0(be)2.88 E .2 (gins with a digit, it is interpreted as an octal)-.15 F .066(number; o\ therwise it is interpreted as a symbolic mode mask similar to that acce\ -pted by)144 614.4 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144 -626.4 Q F2(mode)3.262 E F0 .382(is omitted, the current v)3.062 F .382 +pted by)144 369.6 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144 +381.6 Q F2(mode)3.262 E F0 .382(is omitted, the current v)3.062 F .382 (alue of the mask is printed.)-.25 F(The)5.382 E F12.882 E F0 .382 (option causes the mask to be)2.882 F .547 -(printed in symbolic form; the def)144 638.4 R .547 +(printed in symbolic form; the def)144 393.6 R .547 (ault output is an octal number)-.1 F 5.547(.I)-.55 G 3.047(ft)-5.547 G (he)-3.047 E F13.047 E F0 .547(option is supplied, and)3.047 F F2 -(mode)144.38 650.4 Q F0 .551 +(mode)144.38 405.6 Q F0 .551 (is omitted, the output is in a form that may be reused as input.)3.231 -F .552(The return status is 0 if the)5.552 F(mode w)144 662.4 Q +F .552(The return status is 0 if the)5.552 F(mode w)144 417.6 Q (as successfully changed or if no)-.1 E F2(mode)2.5 E F0(ar)2.5 E (gument w)-.18 E(as supplied, and f)-.1 E(alse otherwise.)-.1 E F1 -(unalias)108 679.2 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0 -(...])2.5 E(Remo)144 691.2 Q 1.955 -.15(ve e)-.15 H(ach).15 E F2(name) +(unalias)108 434.4 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0 +(...])2.5 E(Remo)144 446.4 Q 1.955 -.15(ve e)-.15 H(ach).15 E F2(name) 4.155 E F0 1.655(from the list of de\214ned aliases.)4.155 F(If)6.655 E F14.155 E F0 1.655(is supplied, all alias de\214nitions are)4.155 -F(remo)144 703.2 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E +F(remo)144 458.4 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E (alue is true unless a supplied)-.25 E F2(name)2.86 E F0 -(is not a de\214ned alias.)2.68 E(GNU Bash-4.2)72 768 Q(2004 Apr 20) -148.735 E(22)198.725 E 0 Cg EP -%%Page: 23 23 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(unset)108 84 Q F0<5bad>2.5 E F1(fv)A F0 2.5(][)C --2.5 E F1(n)A F0 2.5(][)C/F2 10/Times-Italic@0 SF(name)-2.5 E F0(...]) -2.5 E -.15(Fo)144 96 S 3.827(re).15 G(ach)-3.827 E F2(name)3.827 E F0 +(is not a de\214ned alias.)2.68 E F1(unset)108 475.2 Q F0<5bad>2.5 E F1 +(fv)A F0 2.5(][)C-2.5 E F1(n)A F0 2.5(][)C F2(name)-2.5 E F0(...]) +2.5 E -.15(Fo)144 487.2 S 3.827(re).15 G(ach)-3.827 E F2(name)3.827 E F0 3.827(,r).18 G(emo)-3.827 E 1.627 -.15(ve t)-.15 H 1.327 (he corresponding v).15 F 1.327(ariable or function.)-.25 F 1.327 (If the)6.327 F F13.828 E F0 1.328(option is gi)3.828 F -.15(ve) --.25 G 1.328(n, each).15 F F2(name)144.36 108 Q F0 1.551 +-.25 G 1.328(n, each).15 F F2(name)144.36 499.2 Q F0 1.551 (refers to a shell v)4.231 F 1.551(ariable, and that v)-.25 F 1.551 (ariable is remo)-.25 F -.15(ve)-.15 G 4.05(d. Read-only).15 F -.25(va) -4.05 G 1.55(riables may not be).25 F 4.641(unset. If)144 120 R F1 -4.641 E F0 2.141(is speci\214ed, each)4.641 F F2(name)5.001 E F0 2.141 -(refers to a shell function, and the function de\214nition is)4.821 F -(remo)144 132 Q -.15(ve)-.15 G 2.538(d. If).15 F(the)2.537 E F1 +4.05 G 1.55(riables may not be).25 F 4.641(unset. If)144 511.2 R F1 +4.641 E F0 2.141(is speci\214ed, each)4.641 F F2(name)5.001 E F0 +2.141(refers to a shell function, and the function de\214nition is)4.821 +F(remo)144 523.2 Q -.15(ve)-.15 G 2.538(d. If).15 F(the)2.537 E F1 2.537 E F0 .037(option is supplied, and)2.537 F F2(name)2.537 E F0 .037 (is a v)2.537 F .037(ariable with the)-.25 F F2(namer)2.537 E(ef)-.37 E F0(attrib)2.537 E(ute,)-.2 E F2(name)2.537 E F0(will)2.537 E .492 -(be unset rather than the v)144 144 R .492(ariable it references.)-.25 F -F15.492 E F0 .492(has no ef)2.992 F .492(fect if the)-.25 F F1 +(be unset rather than the v)144 535.2 R .492(ariable it references.)-.25 +F F15.492 E F0 .492(has no ef)2.992 F .492(fect if the)-.25 F F1 2.992 E F0 .492(option is supplied.)2.992 F .493(If no)5.493 F -.221(options are supplied, each)144 156 R F2(name)2.721 E F0 .221 +.221(options are supplied, each)144 547.2 R F2(name)2.721 E F0 .221 (refers to a v)2.721 F .22(ariable; if there is no v)-.25 F .22 (ariable by that name, an)-.25 F 2.72(yf)-.15 G(unc-)-2.72 E 1.188 -(tion with that name is unset.)144 168 R 1.189(Each unset v)6.189 F +(tion with that name is unset.)144 559.2 R 1.189(Each unset v)6.189 F 1.189(ariable or function is remo)-.25 F -.15(ve)-.15 G 3.689(df).15 G 1.189(rom the en)-3.689 F(vironment)-.4 E 3.206 -(passed to subsequent commands.)144 180 R 3.206(If an)8.206 F 5.706(yo) --.15 G(f)-5.706 E/F3 9/Times-Bold@0 SF(COMP_W)5.706 E(ORDBREAKS)-.09 E -/F4 9/Times-Roman@0 SF(,)A F3(RANDOM)5.455 E F4(,)A F3(SECONDS)5.455 E -F4(,)A F3(LINENO)144 192 Q F4(,)A F3(HISTCMD)4.347 E F4(,)A F3(FUNCN) +(passed to subsequent commands.)144 571.2 R 3.206(If an)8.206 F 5.706 +(yo)-.15 G(f)-5.706 E/F3 9/Times-Bold@0 SF(COMP_W)5.706 E(ORDBREAKS)-.09 +E/F4 9/Times-Roman@0 SF(,)A F3(RANDOM)5.455 E F4(,)A F3(SECONDS)5.455 E +F4(,)A F3(LINENO)144 583.2 Q F4(,)A F3(HISTCMD)4.347 E F4(,)A F3(FUNCN) 4.347 E(AME)-.18 E F4(,)A F3(GR)4.347 E(OUPS)-.27 E F4(,)A F0(or)4.348 E F3(DIRST)4.598 E -.495(AC)-.81 G(K).495 E F0 2.098(are unset, the)4.348 -F 4.598(yl)-.15 G 2.098(ose their special)-4.598 F(properties, e)144 204 -Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he)-2.5 E 2.5(ya)-.15 G -(re subsequently reset.)-2.5 E(The e)5 E(xit status is true unless a) --.15 E F2(name)2.86 E F0(is readonly)2.68 E(.)-.65 E F1(wait)108 220.8 Q +F 4.598(yl)-.15 G 2.098(ose their special)-4.598 F(properties, e)144 +595.2 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he)-2.5 E 2.5(ya)-.15 +G(re subsequently reset.)-2.5 E(The e)5 E(xit status is true unless a) +-.15 E F2(name)2.86 E F0(is readonly)2.68 E(.)-.65 E F1(wait)108 612 Q F0([)2.5 E F1A F0 2.5(][)C F2 2.5(n.)-2.5 G(..)-2.5 E F0(])A -.8 -(Wa)144 232.8 S .027(it for each speci\214ed child process and return i\ -ts termination status.).8 F(Each)5.026 E F2(n)2.886 E F0 .026 +(Wa)144 624 S .027(it for each speci\214ed child process and return its\ + termination status.).8 F(Each)5.026 E F2(n)2.886 E F0 .026 (may be a process ID)2.766 F .256 -(or a job speci\214cation; if a job spec is gi)144 244.8 R -.15(ve)-.25 -G .256(n, all processes in that job').15 F 2.756(sp)-.55 G .256 +(or a job speci\214cation; if a job spec is gi)144 636 R -.15(ve)-.25 G +.256(n, all processes in that job').15 F 2.756(sp)-.55 G .256 (ipeline are w)-2.756 F .256(aited for)-.1 F 5.256(.I)-.55 G(f)-5.256 E -F2(n)3.116 E F0 .318(is not gi)144 256.8 R -.15(ve)-.25 G .318 +F2(n)3.116 E F0 .318(is not gi)144 648 R -.15(ve)-.25 G .318 (n, all currently acti).15 F .618 -.15(ve c)-.25 H .318 (hild processes are w).15 F .318(aited for)-.1 F 2.818(,a)-.4 G .318 (nd the return status is zero.)-2.818 F .317(If the)5.317 F F1144 -268.8 Q F0 .361(option is supplied,)2.861 F F1(wait)2.861 E F0 -.1(wa) +660 Q F0 .361(option is supplied,)2.861 F F1(wait)2.861 E F0 -.1(wa) 2.861 G .361(its for an).1 F 2.862(yj)-.15 G .362 (ob to terminate and returns its e)-2.862 F .362(xit status.)-.15 F(If) -5.362 E F2(n)3.222 E F0(speci\214es)3.102 E 2.596(an)144 280.8 S(on-e) +5.362 E F2(n)3.222 E F0(speci\214es)3.102 E 2.596(an)144 672 S(on-e) -2.596 E .096(xistent process or job, the return status is 127.)-.15 F .095(Otherwise, the return status is the e)5.095 F .095(xit status)-.15 -F(of the last process or job w)144 292.8 Q(aited for)-.1 E(.)-.55 E/F5 -10.95/Times-Bold@0 SF(SEE ALSO)72 309.6 Q F0(bash\(1\), sh\(1\))108 -321.6 Q(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(23)198.725 E 0 Cg EP +F(of the last process or job w)144 684 Q(aited for)-.1 E(.)-.55 E/F5 +10.95/Times-Bold@0 SF(SEE ALSO)72 700.8 Q F0(bash\(1\), sh\(1\))108 +712.8 Q(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(23)198.725 E 0 Cg EP %%Trailer end %%EOF diff --git a/doc/rbash.0 b/doc/rbash.0 index 3ac18d86e..9becaa456 100644 --- a/doc/rbash.0 +++ b/doc/rbash.0 @@ -1,4 +1,4 @@ -RBASH(1) RBASH(1) +RBASH(1) General Commands Manual RBASH(1) @@ -18,16 +18,16 @@ RREESSTTRRIICCTTEEDD SSHHEELLLL +o specifying command names containing // - +o specifying a filename containing a // as an argument to the .. + +o specifying a filename containing a // as an argument to the .. builtin command - +o specifying a filename containing a slash as an argument to the + +o specifying a filename containing a slash as an argument to the --pp option to the hhaasshh builtin command - +o importing function definitions from the shell environment at + +o importing function definitions from the shell environment at startup - +o parsing the value of SSHHEELLLLOOPPTTSS from the shell environment at + +o parsing the value of SSHHEELLLLOOPPTTSS from the shell environment at startup +o redirecting output using the >, >|, <>, >&, &>, and >> redirect- @@ -36,10 +36,10 @@ RREESSTTRRIICCTTEEDD SSHHEELLLL +o using the eexxeecc builtin command to replace the shell with another command - +o adding or deleting builtin commands with the --ff and --dd options + +o adding or deleting builtin commands with the --ff and --dd options to the eennaabbllee builtin command - +o using the eennaabbllee builtin command to enable disabled shell + +o using the eennaabbllee builtin command to enable disabled shell builtins +o specifying the --pp option to the ccoommmmaanndd builtin command @@ -48,8 +48,8 @@ RREESSTTRRIICCTTEEDD SSHHEELLLL These restrictions are enforced after any startup files are read. - When a command that is found to be a shell script is executed, rrbbaasshh - turns off any restrictions in the shell spawned to execute the script. + When a command that is found to be a shell script is executed, rrbbaasshh + turns off any restrictions in the shell spawned to execute the script. SSEEEE AALLSSOO bash(1) diff --git a/doc/rbash.ps b/doc/rbash.ps index 6d2a4500b..244a49904 100644 --- a/doc/rbash.ps +++ b/doc/rbash.ps @@ -1,9 +1,9 @@ %!PS-Adobe-3.0 -%%Creator: groff version 1.19.2 -%%CreationDate: Mon Feb 24 08:28:31 2014 +%%Creator: groff version 1.22.3 +%%CreationDate: Wed Aug 31 10:24:00 2016 %%DocumentNeededResources: font Times-Roman %%+ font Times-Bold -%%DocumentSuppliedResources: procset grops 1.19 2 +%%DocumentSuppliedResources: procset grops 1.22 3 %%Pages: 1 %%PageOrder: Ascend %%DocumentMedia: Default 612 792 0 () () @@ -13,7 +13,7 @@ %%PageMedia: Default %%EndDefaults %%BeginProlog -%%BeginResource: procset grops 1.19 2 +%%BeginResource: procset grops 1.22 3 %!PS-Adobe-3.0 Resource-ProcSet /setpacking where{ pop @@ -71,6 +71,7 @@ exch pop add exch pop /level0 save def 1 setlinecap 1 setlinejoin +DEFS/BPhook known{DEFS begin BPhook end}if 72 RES div dup scale LS{ 90 rotate @@ -136,7 +137,10 @@ pop findfont dup maxlength 1 index/FontName known not{1 add}if dict begin { -1 index/FID ne{def}{pop pop}ifelse +1 index/FID ne +2 index/UniqueID ne +and +{def}{pop pop}ifelse }forall /Encoding exch def dup/FontName exch def @@ -174,8 +178,10 @@ newpath userdict begin /showpage{}def /setpagedevice{}def +mark }bind def /PEND{ +cleartomark countdictstack CNT sub{end}repeat level1 restore }bind def @@ -226,47 +232,47 @@ def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Roman@0 SF(RB)72 48 Q 376.2(ASH\(1\) RB)-.35 F(ASH\(1\)) --.35 E/F1 10.95/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0 -(rbash \255 restricted bash, see)108 96 Q/F2 10/Times-Bold@0 SF(bash)2.5 -E F0(\(1\))A F1(RESTRICTED SHELL)72 112.8 Q F0(If)108 124.8 Q F2(bash) -4.397 E F0 1.897(is started with the name)4.397 F F2(rbash)4.397 E F0 -4.397(,o)C 4.397(rt)-4.397 G(he)-4.397 E F24.397 E F0 1.896 +/F0 10/Times-Roman@0 SF(RB)72 48 Q 130.47(ASH\(1\) General)-.35 F +(Commands Manual)2.5 E(RB)132.97 E(ASH\(1\))-.35 E/F1 10.95/Times-Bold@0 +SF -.219(NA)72 84 S(ME).219 E F0(rbash \255 restricted bash, see)108 96 +Q/F2 10/Times-Bold@0 SF(bash)2.5 E F0(\(1\))A F1(RESTRICTED SHELL)72 +112.8 Q F0(If)108 124.8 Q F2(bash)4.397 E F0 1.897 +(is started with the name)4.397 F F2(rbash)4.397 E F0 4.397(,o)C 4.397 +(rt)-4.397 G(he)-4.397 E F24.397 E F0 1.896 (option is supplied at in)4.397 F -.2(vo)-.4 G 1.896 (cation, the shell becomes).2 F 3.445(restricted. A)108 136.8 R .945 (restricted shell is used to set up an en)3.445 F .946 (vironment more controlled than the standard shell.)-.4 F(It)5.946 E (beha)108 148.8 Q -.15(ve)-.2 G 2.5(si).15 G(dentically to)-2.5 E F2 (bash)2.5 E F0(with the e)2.5 E(xception that the follo)-.15 E -(wing are disallo)-.25 E(wed or not performed:)-.25 E 32.5<8363>108 -165.6 S(hanging directories with)-32.5 E F2(cd)2.5 E F0 32.5<8373>108 -182.4 S(etting or unsetting the v)-32.5 E(alues of)-.25 E/F3 9 +(wing are disallo)-.25 E(wed or not performed:)-.25 E<83>108 165.6 Q +(changing directories with)144 165.6 Q F2(cd)2.5 E F0<83>108 182.4 Q +(setting or unsetting the v)144 182.4 Q(alues of)-.25 E/F3 9 /Times-Bold@0 SF(SHELL)2.5 E/F4 9/Times-Roman@0 SF(,)A F3 -.666(PA)2.25 G(TH)-.189 E F4(,)A F3(ENV)2.25 E F4(,)A F0(or)2.25 E F3 -.27(BA)2.5 G -(SH_ENV).27 E F0 32.5<8373>108 199.2 S -(pecifying command names containing)-32.5 E F2(/)2.5 E F0 32.5<8373>108 -216 S(pecifying a \214lename containing a)-32.5 E F2(/)2.5 E F0 -(as an ar)2.5 E(gument to the)-.18 E F2(.)2.5 E F0 -.2(bu)5 G -(iltin command).2 E 32.5<8373>108 232.8 S .45 -(pecifying a \214lename containing a slash as an ar)-32.5 F .449 +(SH_ENV).27 E F0<83>108 199.2 Q(specifying command names containing)144 +199.2 Q F2(/)2.5 E F0<83>108 216 Q(specifying a \214lename containing a) +144 216 Q F2(/)2.5 E F0(as an ar)2.5 E(gument to the)-.18 E F2(.)2.5 E +F0 -.2(bu)5 G(iltin command).2 E<83>108 232.8 Q .45 +(specifying a \214lename containing a slash as an ar)144 232.8 R .449 (gument to the)-.18 F F22.949 E F0 .449(option to the)2.949 F F2 (hash)2.949 E F0 -.2(bu)2.949 G .449(iltin com-).2 F(mand)144 244.8 Q -32.5<8369>108 261.6 S(mporting function de\214nitions from the shell en) --32.5 E(vironment at startup)-.4 E 32.5<8370>108 278.4 S(arsing the v) --32.5 E(alue of)-.25 E F3(SHELLOPTS)2.5 E F0(from the shell en)2.25 E -(vironment at startup)-.4 E 32.5<8372>108 295.2 S(edirecting output usi\ -ng the >, >|, <>, >&, &>, and >> redirection operators)-32.5 E 32.5 -<8375>108 312 S(sing the)-32.5 E F2(exec)2.5 E F0 -.2(bu)2.5 G -(iltin command to replace the shell with another command).2 E 32.5<8361> -108 328.8 S(dding or deleting b)-32.5 E(uiltin commands with the)-.2 E +<83>108 261.6 Q(importing function de\214nitions from the shell en)144 +261.6 Q(vironment at startup)-.4 E<83>108 278.4 Q(parsing the v)144 +278.4 Q(alue of)-.25 E F3(SHELLOPTS)2.5 E F0(from the shell en)2.25 E +(vironment at startup)-.4 E<83>108 295.2 Q(redirecting output using the\ + >, >|, <>, >&, &>, and >> redirection operators)144 295.2 Q<83>108 312 +Q(using the)144 312 Q F2(exec)2.5 E F0 -.2(bu)2.5 G +(iltin command to replace the shell with another command).2 E<83>108 +328.8 Q(adding or deleting b)144 328.8 Q(uiltin commands with the)-.2 E F22.5 E F0(and)2.5 E F22.5 E F0(options to the)2.5 E F2 -(enable)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E 32.5<8375>108 345.6 S -(sing the)-32.5 E F2(enable)2.5 E F0 -.2(bu)2.5 G -(iltin command to enable disabled shell b).2 E(uiltins)-.2 E 32.5<8373> -108 362.4 S(pecifying the)-32.5 E F22.5 E F0(option to the)2.5 E -F2(command)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E 32.5<8374>108 379.2 -S(urning of)-32.5 E 2.5(fr)-.25 G(estricted mode with)-2.5 E F2(set +r) -2.5 E F0(or)2.5 E F2(set +o r)2.5 E(estricted)-.18 E F0(.)A +(enable)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E<83>108 345.6 Q +(using the)144 345.6 Q F2(enable)2.5 E F0 -.2(bu)2.5 G +(iltin command to enable disabled shell b).2 E(uiltins)-.2 E<83>108 +362.4 Q(specifying the)144 362.4 Q F22.5 E F0(option to the)2.5 E +F2(command)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E<83>108 379.2 Q +(turning of)144 379.2 Q 2.5(fr)-.25 G(estricted mode with)-2.5 E F2 +(set +r)2.5 E F0(or)2.5 E F2(set +o r)2.5 E(estricted)-.18 E F0(.)A (These restrictions are enforced after an)108 396 Q 2.5(ys)-.15 G (tartup \214les are read.)-2.5 E .429 (When a command that is found to be a shell script is e)108 412.8 R -.15 diff --git a/doc/texinfo.tex b/doc/texinfo.tex index bfd765dd2..d494cce07 100644 --- a/doc/texinfo.tex +++ b/doc/texinfo.tex @@ -3,11 +3,12 @@ % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % -\def\texinfoversion{2013-09-11.11} +\def\texinfoversion{2015-11-22.14} % % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, -% 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. +% 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 +% Free Software Foundation, Inc. % % This texinfo.tex file is free software: you can redistribute it and/or % modify it under the terms of the GNU General Public License as @@ -96,7 +97,9 @@ \let\ptexraggedright=\raggedright \let\ptexrbrace=\} \let\ptexslash=\/ +\let\ptexsp=\sp \let\ptexstar=\* +\let\ptexsup=\sup \let\ptext=\t \let\ptextop=\top {\catcode`\'=\active \global\let\ptexquoteright'}% active in plain's math mode @@ -193,17 +196,6 @@ wide-spread wrap-around } -% Margin to add to right of even pages, to left of odd pages. -\newdimen\bindingoffset -\newdimen\normaloffset -\newdimen\pagewidth \newdimen\pageheight - -% For a final copy, take out the rectangles -% that mark overfull boxes (in case you have decided -% that the text looks ok even though it passes the margin). -% -\def\finalout{\overfullrule=0pt } - % Sometimes it is convenient to have everything in the transcript file % and nothing on the terminal. We don't just call \tracingall here, % since that produces some useless output on the terminal. We also make @@ -248,6 +240,15 @@ \def\bigbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\bigskipamount \removelastskip\penalty-200\bigskip\fi\fi} +% Output routine +% + +% For a final copy, take out the rectangles +% that mark overfull boxes (in case you have decided +% that the text looks ok even though it passes the margin). +% +\def\finalout{\overfullrule=0pt } + % Do @cropmarks to get crop marks. % \newif\ifcropmarks @@ -274,6 +275,7 @@ % described on page 260 of The TeXbook. It involves outputting two % marks for the sectioning macros, one before the section break, and % one after. I won't pretend I can describe this better than DEK... +% \def\domark{% \toks0=\expandafter{\lastchapterdefs}% \toks2=\expandafter{\lastsectiondefs}% @@ -286,6 +288,9 @@ \noexpand\else \the\toks8 % 2: color marks }% } + +% \gettopheadingmarks, \getbottomheadingmarks - extract needed part of mark. +% % \topmark doesn't work for the very first chapter (after the title % page or the contents), so we use \firstmark there -- this gets us % the mark with the chapter defs, unless the user sneaks in, e.g., @@ -301,36 +306,75 @@ % Avoid "undefined control sequence" errors. \def\lastchapterdefs{} \def\lastsectiondefs{} +\def\lastsection{} \def\prevchapterdefs{} \def\prevsectiondefs{} \def\lastcolordefs{} +% Margin to add to right of even pages, to left of odd pages. +\newdimen\bindingoffset +\newdimen\normaloffset +\newdimen\pagewidth \newdimen\pageheight + % Main output routine. +% \chardef\PAGE = 255 \output = {\onepageout{\pagecontents\PAGE}} \newbox\headlinebox \newbox\footlinebox -% \onepageout takes a vbox as an argument. Note that \pagecontents -% does insertions, but you have to call it yourself. +% \onepageout takes a vbox as an argument. +% \shipout a vbox for a single page, adding an optional header, footer, +% cropmarks, and footnote. This also causes index entries for this page +% to be written to the auxiliary files. +% \def\onepageout#1{% \ifcropmarks \hoffset=0pt \else \hoffset=\normaloffset \fi % \ifodd\pageno \advance\hoffset by \bindingoffset \else \advance\hoffset by -\bindingoffset\fi % + % Common context changes for both heading and footing. % Do this outside of the \shipout so @code etc. will be expanded in % the headline as they should be, not taken literally (outputting ''code). \def\commmonheadfootline{\let\hsize=\pagewidth \texinfochars} % - \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi - \global\setbox\headlinebox = \vbox{\commmonheadfootline \makeheadline}% + % Retrieve the information for the headings from the marks in the page, + % and call Plain TeX's \makeheadline and \makefootline, which use the + % values in \headline and \footline. % + % This is used to check if we are on the first page of a chapter. + \ifcase0\topmark\fi + \ifx\thischapter\empty + % See comment for \gettopheadingmarks + \ifcase0\firstmark\fi + \let\curchaptername\thischaptername + \ifcase1\firstmark\fi + \let\prevchaptername\thischaptername + \else + \let\curchaptername\thischaptername + \ifcase1\topmark\fi + \let\prevchaptername\thischaptername + \fi + % + \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi + % + \ifx\curchaptername\prevchaptername + \let\thischapterheading\thischapter + \else + % \thischapterheading is the same as \thischapter except it is blank + % for the first page of a chapter. This is to prevent the chapter name + % being shown twice. + \def\thischapterheading{}% + \fi + % + \global\setbox\headlinebox = \vbox{\commmonheadfootline \makeheadline}% \global\setbox\footlinebox = \vbox{\commmonheadfootline \makefootline}% % {% + % Set context for writing to auxiliary files like index files. % Have to do this stuff outside the \shipout because we want it to % take effect in \write's, yet the group defined by the \vbox ends % before the \shipout runs. @@ -339,10 +383,10 @@ \normalturnoffactive % \ in index entries must not stay \, e.g., if % the page break happens to be in the middle of an example. % We don't want .vr (or whatever) entries like this: - % \entry{{\tt \indexbackslash }acronym}{32}{\code {\acronym}} + % \entry{{\indexbackslash }acronym}{32}{\code {\acronym}} % "\acronym" won't work when it's read back in; % it needs to be - % {\code {{\tt \backslashcurfont }acronym} + % {\code {{\backslashcurfont }acronym} \shipout\vbox{% % Do this early so pdf references go to the beginning of the page. \ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi @@ -400,6 +444,7 @@ \newinsert\margin \dimen\margin=\maxdimen +% Main part of page, including any footnotes \def\pagebody#1{\vbox to\pageheight{\boxmaxdepth=\maxdepth #1}} {\catcode`\@ =11 \gdef\pagecontents#1{\ifvoid\topins\else\unvbox\topins\fi @@ -422,9 +467,13 @@ \def\nsbot{\vbox {\hrule height\cornerlong depth\cornerthick width\cornerthick}} + +% Argument parsing + % Parse an argument, then pass it to #1. The argument is the rest of % the input line (except we remove a trailing comment). #1 should be a % macro which expects an ordinary undelimited TeX argument. +% For example, \def\foo{\parsearg\fooxxx}. % \def\parsearg{\parseargusing{}} \def\parseargusing#1#2{% @@ -443,9 +492,11 @@ }% } -% First remove any @comment, then any @c comment. +% First remove any @comment, then any @c comment. Also remove a @texinfoc +% comment (see \scanmacro for details). Pass the result on to \argcheckspaces. \def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm} -\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm} +\def\argremovec#1\c#2\ArgTerm{\argremovetexinfoc #1\texinfoc\ArgTerm} +\def\argremovetexinfoc#1\texinfoc#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm} % Each occurrence of `\^^M' or `\^^M' is replaced by a single space. % @@ -480,14 +531,13 @@ % \def\finishparsearg#1 \ArgTerm{\expandafter\argtorun\expandafter{#1}} + +% \parseargdef - define a command taking an argument on the line +% % \parseargdef\foo{...} % is roughly equivalent to % \def\foo{\parsearg\Xfoo} % \def\Xfoo#1{...} -% -% Actually, I use \csname\string\foo\endcsname, ie. \\foo, as it is my -% favourite TeX trick. --kasal, 16nov03 - \def\parseargdef#1{% \expandafter \doparseargdef \csname\string#1\endcsname #1% } @@ -677,6 +727,12 @@ \endgraf % Not \par, as it may have been set to \lisppar. \global\dimen1 = \prevdepth \egroup % End the \vtop. + \addgroupbox + \prevdepth = \dimen1 + \checkinserts +} + +\def\addgroupbox{ % \dimen0 is the vertical size of the group's box. \dimen0 = \ht\groupbox \advance\dimen0 by \dp\groupbox % \dimen2 is how much space is left on the page (more or less). @@ -689,9 +745,8 @@ \fi \fi \box\groupbox - \prevdepth = \dimen1 - \checkinserts } + % % TeX puts in an \escapechar (i.e., `@') at the beginning of the help % message, so this ends up printing `@group can only ...'. @@ -934,12 +989,20 @@ where each line of input produces a line of output.} % @c is the same as @comment % @ignore ... @end ignore is another way to write a comment % -\def\comment{\begingroup \catcode`\^^M=\other% +\def\comment{\begingroup \catcode`\^^M=\active% +\catcode`\@=\other \catcode`\{=\other \catcode`\}=\other\commentxxx}% + +{\catcode`\^^M=\active% +\gdef\commentxxx#1^^M{\endgroup% +\futurelet\nexttoken\commentxxxx}% +\gdef\commentxxxx{\ifx\nexttoken\aftermacro\expandafter\comment\fi}% +} + +\def\c{\begingroup \catcode`\^^M=\active% \catcode`\@=\other \catcode`\{=\other \catcode`\}=\other% -\commentxxx} -{\catcode`\^^M=\other \gdef\commentxxx#1^^M{\endgroup}} -% -\let\c=\comment +\cxxx} +{\catcode`\^^M=\active \gdef\cxxx#1^^M{\endgroup}} +% See comment in \scanmacro about why the definitions of @c and @comment differ % @paragraphindent NCHARS % We'll use ems for NCHARS, close enough. @@ -1010,69 +1073,23 @@ where each line of input produces a line of output.} % paragraph. % \gdef\dosuppressfirstparagraphindent{% - \gdef\indent{% - \restorefirstparagraphindent - \indent - }% - \gdef\noindent{% - \restorefirstparagraphindent - \noindent - }% - \global\everypar = {% - \kern -\parindent - \restorefirstparagraphindent - }% + \gdef\indent {\restorefirstparagraphindent \indent}% + \gdef\noindent{\restorefirstparagraphindent \noindent}% + \global\everypar = {\kern -\parindent \restorefirstparagraphindent}% } - +% \gdef\restorefirstparagraphindent{% - \global \let \indent = \ptexindent - \global \let \noindent = \ptexnoindent - \global \everypar = {}% + \global\let\indent = \ptexindent + \global\let\noindent = \ptexnoindent + \global\everypar = {}% } % @refill is a no-op. \let\refill=\relax -% If working on a large document in chapters, it is convenient to -% be able to disable indexing, cross-referencing, and contents, for test runs. -% This is done with @novalidate (before @setfilename). -% -\newif\iflinks \linkstrue % by default we want the aux files. -\let\novalidate = \linksfalse - -% @setfilename is done at the beginning of every texinfo file. -% So open here the files we need to have open while reading the input. -% This makes it possible to make a .fmt file for texinfo. -\def\setfilename{% - \fixbackslash % Turn off hack to swallow `\input texinfo'. - \iflinks - \tryauxfile - % Open the new aux file. TeX will close it automatically at exit. - \immediate\openout\auxfile=\jobname.aux - \fi % \openindices needs to do some work in any case. - \openindices - \let\setfilename=\comment % Ignore extra @setfilename cmds. - % - % If texinfo.cnf is present on the system, read it. - % Useful for site-wide @afourpaper, etc. - \openin 1 texinfo.cnf - \ifeof 1 \else \input texinfo.cnf \fi - \closein 1 - % - \comment % Ignore the actual filename. -} - -% Called from \setfilename. -% -\def\openindices{% - \newindex{cp}% - \newcodeindex{fn}% - \newcodeindex{vr}% - \newcodeindex{tp}% - \newcodeindex{ky}% - \newcodeindex{pg}% -} +% @setfilename INFO-FILENAME - ignored +\let\setfilename=\comment % @bye. \outer\def\bye{\pagealignmacro\tracingstats=1\ptexend} @@ -1090,6 +1107,7 @@ where each line of input produces a line of output.} \newtoks\toksC \newtoks\toksD \newbox\boxA +\newbox\boxB \newcount\countA \newif\ifpdf \newif\ifpdfmakepagedest @@ -1138,10 +1156,12 @@ output) for that.)} \ifpdf % - % Color manipulation macros based on pdfcolor.tex, + % Color manipulation macros using ideas from pdfcolor.tex, % except using rgb instead of cmyk; the latter is said to render as a % very dark gray on-screen and a very dark halftone in print, instead - % of actual black. + % of actual black. The dark red here is dark enough to print on paper as + % nearly black, but still distinguishable for online viewing. We use + % black by default, though. \def\rgbDarkRed{0.50 0.09 0.12} \def\rgbBlack{0 0 0} % @@ -1251,10 +1271,9 @@ output) for that.)} % used to mark target names; must be expandable. \def\pdfmkpgn#1{#1} % - % by default, use a color that is dark enough to print on paper as - % nearly black, but still distinguishable for online viewing. - \def\urlcolor{\rgbDarkRed} - \def\linkcolor{\rgbDarkRed} + % by default, use black for everything. + \def\urlcolor{\rgbBlack} + \def\linkcolor{\rgbBlack} \def\endlink{\setcolor{\maincolor}\pdfendlink} % % Adding outlines to PDF; macros for calculating structure of outlines @@ -1825,8 +1844,10 @@ end % A few fonts for @defun names and args. \setfont\defbf\bfshape{10}{\magstep1}{OT1} \setfont\deftt\ttshape{10}{\magstep1}{OT1TT} +\setfont\defsl\slshape{10}{\magstep1}{OT1TT} \setfont\defttsl\ttslshape{10}{\magstep1}{OT1TT} -\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf} +\def\df{\let\tentt=\deftt \let\tenbf = \defbf +\let\tenttsl=\defttsl \let\tensl=\defsl \bf} % Fonts for indices, footnotes, small examples (9pt). \def\smallnominalsize{9pt} @@ -1887,6 +1908,7 @@ end % Section fonts (14.4pt). \def\secnominalsize{14pt} \setfont\secrm\rmbshape{12}{\magstep1}{OT1} +\setfont\secrmnotbold\rmshape{12}{\magstep1}{OT1} \setfont\secit\itbshape{10}{\magstep2}{OT1IT} \setfont\secsl\slbshape{10}{\magstep2}{OT1} \setfont\sectt\ttbshape{12}{\magstep1}{OT1TT} @@ -1956,8 +1978,10 @@ end % A few fonts for @defun names and args. \setfont\defbf\bfshape{10}{\magstephalf}{OT1} \setfont\deftt\ttshape{10}{\magstephalf}{OT1TT} +\setfont\defsl\slshape{10}{\magstephalf}{OT1TT} \setfont\defttsl\ttslshape{10}{\magstephalf}{OT1TT} -\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf} +\def\df{\let\tentt=\deftt \let\tenbf = \defbf +\let\tensl=\defsl \let\tenttsl=\defttsl \bf} % Fonts for indices, footnotes, small examples (9pt). \def\smallnominalsize{9pt} @@ -2089,12 +2113,9 @@ end \endgroup } - % In order for the font changes to affect most math symbols and letters, -% we have to define the \textfont of the standard families. Since -% texinfo doesn't allow for producing subscripts and superscripts except -% in the main text, we don't bother to reset \scriptfont and -% \scriptscriptfont (which would also require loading a lot more fonts). +% we have to define the \textfont of the standard families. We don't +% bother to reset \scriptfont and \scriptscriptfont; awaiting user need. % \def\resetmathfonts{% \textfont0=\tenrm \textfont1=\teni \textfont2=\tensy @@ -2108,8 +2129,8 @@ end % \tenSTYLE to set the current font. % % Each font-changing command also sets the names \lsize (one size lower) -% and \lllsize (three sizes lower). These relative commands are used in -% the LaTeX logo and acronyms. +% and \lllsize (three sizes lower). These relative commands are used +% in, e.g., the LaTeX logo and acronyms. % % This all needs generalizing, badly. % @@ -2145,7 +2166,7 @@ end \let\tenttsl=\secttsl \def\curfontsize{sec}% \def\lsize{subsec}\def\lllsize{reduced}% - \resetmathfonts \setleading{16pt}} + \resetmathfonts \setleading{17pt}} \def\subsecfonts{% \let\tenrm=\ssecrm \let\tenit=\ssecit \let\tensl=\ssecsl \let\tenbf=\ssecbf \let\tentt=\ssectt \let\smallcaps=\ssecsc @@ -2574,37 +2595,21 @@ end \let\file=\code \let\option=\code -% @uref (abbreviation for `urlref') takes an optional (comma-separated) -% second argument specifying the text to display and an optional third -% arg as text to display instead of (rather than in addition to) the url -% itself. First (mandatory) arg is the url. -% (This \urefnobreak definition isn't used now, leaving it for a while -% for comparison.) -\def\urefnobreak#1{\dourefnobreak #1,,,\finish} -\def\dourefnobreak#1,#2,#3,#4\finish{\begingroup - \unsepspaces - \pdfurl{#1}% - \setbox0 = \hbox{\ignorespaces #3}% - \ifdim\wd0 > 0pt - \unhbox0 % third arg given, show only that - \else - \setbox0 = \hbox{\ignorespaces #2}% - \ifdim\wd0 > 0pt - \ifpdf - \unhbox0 % PDF: 2nd arg given, show only it - \else - \unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url - \fi - \else - \code{#1}% only url given, so show it - \fi - \fi - \endlink -\endgroup} +% @uref (abbreviation for `urlref') aka @url takes an optional +% (comma-separated) second argument specifying the text to display and +% an optional third arg as text to display instead of (rather than in +% addition to) the url itself. First (mandatory) arg is the url. + +% TeX-only option to allow changing PDF output to show only the second +% arg (if given), and not the url (which is then just the link target). +\newif\ifurefurlonlylink -% This \urefbreak definition is the active one. +% The main macro is \urefbreak, which allows breaking at expected +% places within the url. (There used to be another version, which +% didn't support automatic breaking.) \def\urefbreak{\begingroup \urefcatcodes \dourefbreak} \let\uref=\urefbreak +% \def\dourefbreak#1{\urefbreakfinish #1,,,\finish} \def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example \unsepspaces @@ -2613,12 +2618,19 @@ end \ifdim\wd0 > 0pt \unhbox0 % third arg given, show only that \else - \setbox0 = \hbox{\ignorespaces #2}% + \setbox0 = \hbox{\ignorespaces #2}% look for second arg \ifdim\wd0 > 0pt \ifpdf - \unhbox0 % PDF: 2nd arg given, show only it + \ifurefurlonlylink + % PDF plus option to not display url, show just arg + \unhbox0 + \else + % PDF, normally display both arg and url for consistency, + % visibility, if the pdf is eventually used to print, etc. + \unhbox0\ (\urefcode{#1})% + \fi \else - \unhbox0\ (\urefcode{#1})% DVI: 2nd arg given, show both it and url + \unhbox0\ (\urefcode{#1})% DVI, always show arg and url \fi \else \urefcode{#1}% only url given, so show it @@ -2658,8 +2670,10 @@ end % we put a little stretch before and after the breakable chars, to help % line breaking of long url's. The unequal skips make look better in % cmtt at least, especially for dots. -\def\urefprestretch{\urefprebreak \hskip0pt plus.13em } -\def\urefpoststretch{\urefpostbreak \hskip0pt plus.1em } +\def\urefprestretchamount{.13em} +\def\urefpoststretchamount{.1em} +\def\urefprestretch{\urefprebreak \hskip0pt plus\urefprestretchamount\relax} +\def\urefpoststretch{\urefpostbreak \hskip0pt plus\urefprestretchamount\relax} % \def\urefcodeamp{\urefprestretch \&\urefpoststretch} \def\urefcodedot{\urefprestretch .\urefpoststretch} @@ -2786,11 +2800,6 @@ end % \def\dmn#1{\thinspace #1} -% @l was never documented to mean ``switch to the Lisp font'', -% and it is not used as such in any manual I can find. We need it for -% Polish suppressed-l. --karl, 22sep96. -%\def\l#1{{\li #1}\null} - % @acronym for "FBI", "NATO", and the like. % We print this one point size smaller, since it's intended for % all-uppercase. @@ -2857,6 +2866,8 @@ end \let\v=\check \let\~=\tilde \let\dotaccent=\dot + % have to provide another name for sup operator + \let\mathopsup=\sup $\finishmath } \def\finishmath#1{#1$\endgroup} % Close the group opened by \tex. @@ -2880,8 +2891,17 @@ end } } -% ctrl is no longer a Texinfo command, but leave this definition for fun. -\def\ctrl #1{{\tt \rawbackslash \hat}#1} +% for @sub and @sup, if in math mode, just do a normal sub/superscript. +% If in text, use math to place as sub/superscript, but switch +% into text mode, with smaller fonts. This is a different font than the +% one used for real math sub/superscripts (8pt vs. 7pt), but let's not +% fix it (significant additions to font machinery) until someone notices. +% +\def\sub{\ifmmode \expandafter\sb \else \expandafter\finishsub\fi} +\def\finishsub#1{$\sb{\hbox{\selectfonts\lllsize #1}}$}% +% +\def\sup{\ifmmode \expandafter\ptexsp \else \expandafter\finishsup\fi} +\def\finishsup#1{$\ptexsp{\hbox{\selectfonts\lllsize #1}}$}% % @inlinefmt{FMTNAME,PROCESSED-TEXT} and @inlineraw{FMTNAME,RAW-TEXT}. % Ignore unless FMTNAME == tex; then it is like @iftex and @tex, @@ -3023,11 +3043,16 @@ end \TeX } -% Some math mode symbols. -\def\bullet{$\ptexbullet$} -\def\geq{\ifmmode \ge\else $\ge$\fi} -\def\leq{\ifmmode \le\else $\le$\fi} -\def\minus{\ifmmode -\else $-$\fi} +% Some math mode symbols. Define \ensuremath to switch into math mode +% unless we are already there. Expansion tricks may not be needed here, +% but safer, and can't hurt. +\def\ensuremath{\ifmmode \expandafter\asis \else\expandafter\ensuredmath \fi} +\def\ensuredmath#1{$\relax#1$} +% +\def\bullet{\ensuremath\ptexbullet} +\def\geq{\ensuremath\ge} +\def\leq{\ensuremath\le} +\def\minus{\ensuremath-} % @dots{} outputs an ellipsis using the current font. % We do .5em per period so that it has the same spacing in the cm @@ -3191,8 +3216,15 @@ end \def\Eogonek{{\ecfont \char"86}}\def\macrocharE{E} \def\eogonek{{\ecfont \char"A6}}\def\macrochare{e} % -% Use the ec* fonts (cm-super in outline format) for non-CM glyphs. -\def\ecfont{% +% Use the European Computer Modern fonts (cm-super in outline format) +% for non-CM glyphs. That is ec* for regular text and tc* for the text +% companion symbols (LaTeX TS1 encoding). Both are part of the ec +% package and follow the same conventions. +% +\def\ecfont{\etcfont{e}} +\def\tcfont{\etcfont{t}} +% +\def\etcfont#1{% % We can't distinguish serif/sans and italic/slanted, but this % is used for crude hacks anyway (like adding French and German % quotes to documents typeset with CM, where we lose kerning), so @@ -3201,14 +3233,14 @@ end \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}% \ifmonospace % typewriter: - \font\thisecfont = ectt\ecsize \space at \nominalsize + \font\thisecfont = #1ctt\ecsize \space at \nominalsize \else \ifx\curfontstyle\bfstylename % bold: - \font\thisecfont = ecb\ifusingit{i}{x}\ecsize \space at \nominalsize + \font\thisecfont = #1cb\ifusingit{i}{x}\ecsize \space at \nominalsize \else % regular: - \font\thisecfont = ec\ifusingit{ti}{rm}\ecsize \space at \nominalsize + \font\thisecfont = #1c\ifusingit{ti}{rm}\ecsize \space at \nominalsize \fi \fi \thisecfont @@ -3378,7 +3410,7 @@ end \newtoks\evenfootline % footline on even pages \newtoks\oddfootline % footline on odd pages -% Now make TeX use those variables +% Now make \makeheadline and \makefootline in Plain TeX use those variables \headline={{\textfonts\rm \ifodd\pageno \the\oddheadline \else \the\evenheadline \fi}} \footline={{\textfonts\rm \ifodd\pageno \the\oddfootline @@ -3434,6 +3466,10 @@ end % @everyheadingmarks % @everyfootingmarks +% These define \getoddheadingmarks, \getevenheadingmarks, +% \getoddfootingmarks, and \getevenfootingmarks, each to one of +% \gettopheadingmarks, \getbottomheadingmarks. +% \def\evenheadingmarks{\headingmarks{even}{heading}} \def\oddheadingmarks{\headingmarks{odd}{heading}} \def\evenfootingmarks{\headingmarks{even}{footing}} @@ -3481,7 +3517,7 @@ end \global\evenfootline={\hfil} \global\oddfootline={\hfil} \global\evenheadline={\line{\folio\hfil\thistitle}} -\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\oddheadline={\line{\thischapterheading\hfil\folio}} \global\let\contentsalignmacro = \chapoddpage } \let\contentsalignmacro = \chappager @@ -3492,8 +3528,8 @@ end \global\pageno=1 \global\evenfootline={\hfil} \global\oddfootline={\hfil} -\global\evenheadline={\line{\thischapter\hfil\folio}} -\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\evenheadline={\line{\thischapterheading\hfil\folio}} +\global\oddheadline={\line{\thischapterheading\hfil\folio}} \global\let\contentsalignmacro = \chappager } \def\HEADINGSon{\HEADINGSdouble} @@ -3504,7 +3540,7 @@ end \global\evenfootline={\hfil} \global\oddfootline={\hfil} \global\evenheadline={\line{\folio\hfil\thistitle}} -\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\oddheadline={\line{\thischapterheading\hfil\folio}} \global\let\contentsalignmacro = \chapoddpage } @@ -3512,8 +3548,8 @@ end \def\HEADINGSsinglex{% \global\evenfootline={\hfil} \global\oddfootline={\hfil} -\global\evenheadline={\line{\thischapter\hfil\folio}} -\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\evenheadline={\line{\thischapterheading\hfil\folio}} +\global\oddheadline={\line{\thischapterheading\hfil\folio}} \global\let\contentsalignmacro = \chappager } @@ -3691,7 +3727,7 @@ end \parskip=\smallskipamount \ifdim\parskip=0pt \parskip=2pt \fi % - % Try typesetting the item mark that if the document erroneously says + % Try typesetting the item mark so that if the document erroneously says % something like @itemize @samp (intending @table), there's an error % right away at the @itemize. It's not the best error message in the % world, but it's better than leaving it to the @item. This means if @@ -3723,7 +3759,12 @@ end \noindent \hbox to 0pt{\hss \itemcontents \kern\itemmargin}% % - \vadjust{\penalty 1200}}% not good to break after first line of item. + \ifinner\else + \vadjust{\penalty 1200}% not good to break after first line of item. + \fi + % We can be in inner vertical mode in a footnote, although an + % @itemize looks awful there. + }% \flushcr } @@ -3941,19 +3982,23 @@ end } % multitable-only commands. -% -% @headitem starts a heading row, which we typeset in bold. -% Assignments have to be global since we are inside the implicit group -% of an alignment entry. \everycr resets \everytab so we don't have to +% +% @headitem starts a heading row, which we typeset in bold. Assignments +% have to be global since we are inside the implicit group of an +% alignment entry. \everycr below resets \everytab so we don't have to % undo it ourselves. \def\headitemfont{\b}% for people to use in the template row; not changeable \def\headitem{% \checkenv\multitable \crcr + \gdef\headitemcrhook{\nobreak}% attempt to avoid page break after headings \global\everytab={\bf}% can't use \headitemfont since the parsing differs \the\everytab % for the first item }% % +% default for tables with no headings. +\let\headitemcrhook=\relax +% % A \tab used to include \hskip1sp. But then the space in a template % line is not enough. That is bad. So let's go back to just `&' until % we again encounter the problem the 1sp was intended to solve. @@ -3984,15 +4029,15 @@ end % \everycr = {% \noalign{% - \global\everytab={}% + \global\everytab={}% Reset from possible headitem. \global\colcount=0 % Reset the column counter. - % Check for saved footnotes, etc. + % + % Check for saved footnotes, etc.: \checkinserts - % Keeps underfull box messages off when table breaks over pages. - %\filbreak - % Maybe so, but it also creates really weird page breaks when the - % table breaks over pages. Wouldn't \vfil be better? Wait until the - % problem manifests itself, so it can be fixed for real --karl. + % + % Perhaps a \nobreak, then reset: + \headitemcrhook + \global\let\headitemcrhook=\relax }% }% % @@ -4341,19 +4386,16 @@ end % except not \outer, so it can be used within macros and \if's. \edef\newwrite{\makecsname{ptexnewwrite}} -% \newindex {foo} defines an index named foo. -% It automatically defines \fooindex such that -% \fooindex ...rest of line... puts an entry in the index foo. -% It also defines \fooindfile to be the number of the output channel for -% the file that accumulates this index. The file's extension is foo. +% \newindex {foo} defines an index named IX. +% It automatically defines \IXindex such that +% \IXindex ...rest of line... puts an entry in the index IX. +% It also defines \IXindfile to be the number of the output channel for +% the file that accumulates this index. The file's extension is IX. % The name of an index should be no more than 2 characters long % for the sake of vms. % \def\newindex#1{% - \iflinks - \expandafter\newwrite \csname#1indfile\endcsname - \openout \csname#1indfile\endcsname \jobname.#1 % Open the file - \fi + \expandafter\chardef\csname#1indfile\endcsname=0 \expandafter\xdef\csname#1index\endcsname{% % Define @#1index \noexpand\doindex{#1}} } @@ -4367,14 +4409,19 @@ end \def\defcodeindex{\parsearg\newcodeindex} % \def\newcodeindex#1{% - \iflinks - \expandafter\newwrite \csname#1indfile\endcsname - \openout \csname#1indfile\endcsname \jobname.#1 - \fi + \expandafter\chardef\csname#1indfile\endcsname=0 \expandafter\xdef\csname#1index\endcsname{% \noexpand\docodeindex{#1}}% } +% The default indices: +\newindex{cp}% concepts, +\newcodeindex{fn}% functions, +\newcodeindex{vr}% variables, +\newcodeindex{tp}% types, +\newcodeindex{ky}% keys +\newcodeindex{pg}% and programs. + % @synindex foo bar makes index foo feed into index bar. % Do this instead of @defindex foo if you don't want it as a separate index. @@ -4403,26 +4450,19 @@ end \expandafter\xdef\csname#2index\endcsname{\noexpand#1{#3}}% } -% Define \doindex, the driver for all \fooindex macros. +% Define \doindex, the driver for all index macros. % Argument #1 is generated by the calling \fooindex macro, -% and it is "foo", the name of the index. - -% \doindex just uses \parsearg; it calls \doind for the actual work. -% This is because \doind is more useful to call from other macros. - -% There is also \dosubind {index}{topic}{subtopic} -% which makes an entry in a two-level index such as the operation index. +% and it the two-letter name of the index. -\def\doindex#1{\edef\indexname{#1}\parsearg\singleindexer} -\def\singleindexer #1{\doind{\indexname}{#1}} +\def\doindex#1{\edef\indexname{#1}\parsearg\doindexxxx} +\def\doindexxxx #1{\doind{\indexname}{#1}} % like the previous two, but they put @code around the argument. -\def\docodeindex#1{\edef\indexname{#1}\parsearg\singlecodeindexer} -\def\singlecodeindexer #1{\doind{\indexname}{\code{#1}}} +\def\docodeindex#1{\edef\indexname{#1}\parsearg\docodeindexxxx} +\def\docodeindexxxx #1{\doind{\indexname}{\code{#1}}} -% Take care of Texinfo commands that can appear in an index entry. -% Since there are some commands we want to expand, and others we don't, -% we have to laboriously prevent expansion for those that we don't. +% Used when writing an index entry out to an index file, to prevent +% expansion of Texinfo commands that can appear in an index entry. % \def\indexdummies{% \escapechar = `\\ % use backslash in output files. @@ -4434,36 +4474,10 @@ end % complicated, when \tex is in effect and \{ is a \delimiter again. % We can't use \lbracecmd and \rbracecmd because texindex assumes % braces and backslashes are used only as delimiters. Perhaps we - % should define @lbrace and @rbrace commands a la @comma. + % should use @lbracechar and @rbracechar? \def\{{{\tt\char123}}% \def\}{{\tt\char125}}% % - % I don't entirely understand this, but when an index entry is - % generated from a macro call, the \endinput which \scanmacro inserts - % causes processing to be prematurely terminated. This is, - % apparently, because \indexsorttmp is fully expanded, and \endinput - % is an expandable command. The redefinition below makes \endinput - % disappear altogether for that purpose -- although logging shows that - % processing continues to some further point. On the other hand, it - % seems \endinput does not hurt in the printed index arg, since that - % is still getting written without apparent harm. - % - % Sample source (mac-idx3.tex, reported by Graham Percival to - % help-texinfo, 22may06): - % @macro funindex {WORD} - % @findex xyz - % @end macro - % ... - % @funindex commtest - % - % The above is not enough to reproduce the bug, but it gives the flavor. - % - % Sample whatsit resulting: - % .@write3{\entry{xyz}{@folio }{@code {xyz@endinput }}} - % - % So: - \let\endinput = \empty - % % Do the redefinitions. \commondummies } @@ -4487,7 +4501,6 @@ end % Called from \indexdummies and \atdummies. % \def\commondummies{% - % % \definedummyword defines \#1 as \string\#1\space, thus effectively % preventing its expansion. This is used only for control words, % not control letters, because the \space would be incorrect for @@ -4564,6 +4577,7 @@ end \definedummyword\guilsinglright \definedummyword\lbracechar \definedummyword\leq + \definedummyword\mathopsup \definedummyword\minus \definedummyword\ogonek \definedummyword\pounds @@ -4577,6 +4591,8 @@ end \definedummyword\quotesinglbase \definedummyword\rbracechar \definedummyword\result + \definedummyword\sub + \definedummyword\sup \definedummyword\textdegree % % We want to disable all macros so that they are not expanded by \write. @@ -4590,6 +4606,8 @@ end } % \commondummiesnofonts: common to \commondummies and \indexnofonts. +% Define \definedumyletter, \definedummyaccent and \definedummyword before +% using. % \def\commondummiesnofonts{% % Control letters and accents. @@ -4651,6 +4669,7 @@ end \definedummyword\samp \definedummyword\strong \definedummyword\tie + \definedummyword\U \definedummyword\uref \definedummyword\url \definedummyword\var @@ -4659,6 +4678,52 @@ end \definedummyword\xref } +% For testing: output @{ and @} in index sort strings as \{ and \}. +\newif\ifusebracesinindexes + +\let\indexlbrace\relax +\let\indexrbrace\relax + +{\catcode`\@=0 +\catcode`\\=13 + @gdef@backslashdisappear{@def\{}} +} + +{ +\catcode`\<=13 +\catcode`\-=13 +\catcode`\`=13 + \gdef\indexnonalnumdisappear{% + \expandafter\ifx\csname SETtxiindexlquoteignore\endcsname\relax\else + % @set txiindexlquoteignore makes us ignore left quotes in the sort term. + % (Introduced for FSFS 2nd ed.) + \let`=\empty + \fi + % + \expandafter\ifx\csname SETtxiindexbackslashignore\endcsname\relax\else + \backslashdisappear + \fi + % + \expandafter\ifx\csname SETtxiindexhyphenignore\endcsname\relax\else + \def-{}% + \fi + \expandafter\ifx\csname SETtxiindexlessthanignore\endcsname\relax\else + \def<{}% + \fi + \expandafter\ifx\csname SETtxiindexatsignignore\endcsname\relax\else + \def\@{}% + \fi + } + + \gdef\indexnonalnumreappear{% + \useindexbackslash + \let-\normaldash + \let<\normalless + \def\@{@}% + } +} + + % \indexnofonts is used when outputting the strings to sort the index % by, and when constructing control sequence names. It eliminates all % control sequences and just writes whatever the best ASCII sort string @@ -4671,7 +4736,6 @@ end \def\definedummyletter##1{\let##1\empty}% % All control words become @asis by default; overrides below. \let\definedummyword\definedummyaccent - % \commondummiesnofonts % % Don't no-op \tt, since it isn't a user-level command @@ -4684,14 +4748,11 @@ end \def\_{\normalunderscore}% \def\-{}% @- shouldn't affect sorting % - % Unfortunately, texindex is not prepared to handle braces in the - % content at all. So for index sorting, we map @{ and @} to strings - % starting with |, since that ASCII character is between ASCII { and }. - \def\{{|a}% - \def\lbracechar{|a}% + \def\lbracechar{{\indexlbrace}}% + \def\rbracechar{{\indexrbrace}}% + \let\{=\lbracechar + \let\}=\rbracechar % - \def\}{|b}% - \def\rbracechar{|b}% % % Non-English letters. \def\AA{AA}% @@ -4700,7 +4761,7 @@ end \def\L{L}% \def\OE{OE}% \def\O{O}% - \def\TH{ZZZ}% + \def\TH{TH}% \def\aa{aa}% \def\ae{ae}% \def\dh{dzz}% @@ -4712,7 +4773,7 @@ end \def\o{o}% \def\questiondown{?}% \def\ss{ss}% - \def\th{zzz}% + \def\th{th}% % \def\LaTeX{LaTeX}% \def\TeX{TeX}% @@ -4749,9 +4810,6 @@ end \def\result{=>}% \def\textdegree{o}% % - \expandafter\ifx\csname SETtxiindexlquoteignore\endcsname\relax - \else \indexlquoteignore \fi - % % We need to get rid of all macros, leaving only the arguments (if present). % Of course this is not nearly correct, but it is the best we can do for now. % makeinfo does not expand macros in the argument to @deffn, which ends up @@ -4765,19 +4823,18 @@ end \macrolist } -% Undocumented (for FSFS 2nd ed.): @set txiindexlquoteignore makes us -% ignore left quotes in the sort term. -{\catcode`\`=\active - \gdef\indexlquoteignore{\let`=\empty}} -\let\indexbackslash=0 %overridden during \printindex. \let\SETmarginindex=\relax % put index entries in margin (undocumented)? % Most index entries go through here, but \dosubind is the general case. % #1 is the index name, #2 is the entry text. \def\doind#1#2{\dosubind{#1}{#2}{}} -% Workhorse for all \fooindexes. +% There is also \dosubind {index}{topic}{subtopic} +% which makes an entry in a two-level index such as the operation index. +% TODO: Two-level index? Operation index? + +% Workhorse for all indexes. % #1 is name of index, #2 is stuff to put there, #3 is subentry -- % empty if called from \doind, as we usually are (the main exception % is with most defuns, which call us directly). @@ -4785,6 +4842,7 @@ end \def\dosubind#1#2#3{% \iflinks {% + \requireopenindexfile{#1}% % Store the main index entry text (including the third arg). \toks0 = {#2}% % If third arg is present, precede it with a space. @@ -4800,7 +4858,49 @@ end \fi } -% Write the entry in \toks0 to the index file: +% Check if an index file has been opened, and if not, open it. +\def\requireopenindexfile#1{% +\ifnum\csname #1indfile\endcsname=0 + \expandafter\newwrite \csname#1indfile\endcsname + \edef\suffix{#1}% + % A .fls suffix would conflict with the file extension for the output + % of -recorder, so use .f1s instead. + \ifx\suffix\indexisfl\def\suffix{f1}\fi + % Open the file + \immediate\openout\csname#1indfile\endcsname \jobname.\suffix + % Using \immediate here prevents an object entering into the current box, + % which could confound checks such as those in \safewhatsit for preceding + % skips. +\fi} +\def\indexisfl{fl} + +% Output \ as {\indexbackslash}, because \ is an escape character in +% the index files. +\let\indexbackslash=\relax +{\catcode`\@=0 \catcode`\\=\active + @gdef@useindexbackslash{@def\{{@indexbackslash}}} +} + +% Definition for writing index entry text. +\def\sortas#1{\ignorespaces}% + +% Definition for writing index entry sort key. Should occur at the at +% the beginning of the index entry, like +% @cindex @sortas{september} \september +% The \ignorespaces takes care of following space, but there's no way +% to remove space before it. +{ +\catcode`\-=13 +\gdef\indexwritesortas{% + \begingroup + \indexnonalnumreappear + \indexwritesortasxxx} +\gdef\indexwritesortasxxx#1{% + \xdef\indexsortkey{#1}\endgroup} +} + + +% Write the entry in \toks0 to the index file. % \def\dosubindwrite{% % Put the index entry in the margin if desired. @@ -4810,14 +4910,20 @@ end % % Remember, we are within a group. \indexdummies % Must do this here, since \bf, etc expand at this stage - \def\backslashcurfont{\indexbackslash}% \indexbackslash isn't defined now - % so it will be output as is; and it will print as backslash. - % - % Process the index entry with all font commands turned off, to - % get the string to sort by. + \useindexbackslash % \indexbackslash isn't defined now so it will be output + % as is; and it will print as backslash. + % Get the string to sort by, by processing the index entry with all + % font commands turned off. {\indexnofonts - \edef\temp{\the\toks0}% need full expansion - \xdef\indexsorttmp{\temp}% + \indexnonalnumdisappear + \xdef\indexsortkey{}% + \let\sortas=\indexwritesortas + \edef\temp{\the\toks0}% + \setbox\dummybox = \hbox{\temp}% Make sure to execute any \sortas + \ifx\indexsortkey\empty + \xdef\indexsortkey{\temp}% + \ifx\indexsortkey\empty\xdef\indexsortkey{ }\fi + \fi }% % % Set up the complete index entry, with both the sort key and @@ -4827,10 +4933,11 @@ end % sorted result. \edef\temp{% \write\writeto{% - \string\entry{\indexsorttmp}{\noexpand\folio}{\the\toks0}}% + \string\entry{\indexsortkey}{\noexpand\folio}{\the\toks0}}% }% \temp } +\newbox\dummybox % used above % Take care of unwanted page breaks/skips around a whatsit: % @@ -4956,7 +5063,9 @@ end % as its first line, TeX doesn't complain about mismatched braces % (because it thinks @} is a control sequence). \catcode`\@ = 11 - \openin 1 \jobname.#1s + % See comment in \requireopenindexfile. + \def\indexname{#1}\ifx\indexname\indexisfl\def\indexname{f1}\fi + \openin 1 \jobname.\indexname s \ifeof 1 % \enddoublecolumns gets confused if there is no text in the index, % and it loses the chapter title and the aux file entries for the @@ -4964,43 +5073,96 @@ end % there is some text. \putwordIndexNonexistent \else + \catcode`\\ = 0 + \escapechar = `\\ % % If the index file exists but is empty, then \openin leaves \ifeof % false. We have to make TeX try to read something from the file, so % it can discover if there is anything in it. - \read 1 to \temp + \read 1 to \thisline \ifeof 1 \putwordIndexIsEmpty \else % Index files are almost Texinfo source, but we use \ as the escape % character. It would be better to use @, but that's too big a change % to make right now. - \def\indexbackslash{\backslashcurfont}% - \catcode`\\ = 0 - \escapechar = `\\ + \def\indexbackslash{\ttbackslash}% + \let\indexlbrace\{ % Likewise, set these sequences for braces + \let\indexrbrace\} % used in the sort key. \begindoublecolumns - \input \jobname.#1s + \let\entryorphanpenalty=\indexorphanpenalty + % + % Read input from the index file line by line. + \loopdo + \ifeof1 + \let\firsttoken\relax + \else + \read 1 to \nextline + \edef\act{\gdef\noexpand\firsttoken{\getfirsttoken\nextline}}% + \act + \fi + \thisline + % + \ifeof1\else + \let\thisline\nextline + \repeat + %% \enddoublecolumns \fi \fi \closein 1 \endgroup} +\def\getfirsttoken#1{\expandafter\getfirsttokenx#1\endfirsttoken} +\long\def\getfirsttokenx#1#2\endfirsttoken{\noexpand#1} + +\def\loopdo#1\repeat{\def\body{#1}\loopdoxxx} +\def\loopdoxxx{\let\next=\relax\body\let\next=\loopdoxxx\fi\next} + % These macros are used by the sorted index file itself. % Change them to control the appearance of the index. -\def\initial#1{{% - % Some minor font changes for the special characters. - \let\tentt=\sectt \let\tt=\sectt \let\sf=\sectt - % +{\catcode`\/=13 \catcode`\-=13 \catcode`\^=13 \catcode`\~=13 \catcode`\_=13 +\catcode`\|=13 \catcode`\<=13 \catcode`\>=13 \catcode`\+=13 \catcode`\"=13 +\catcode`\$=3 +\gdef\initialglyphs{% + % Some changes for non-alphabetic characters. Using the glyphs from the + % math fonts looks more consistent than the typewriter font used elsewhere + % for these characters. + \def\indexbackslash{\math{\backslash}}% + \let\\=\indexbackslash + % + % Can't get bold backslash so don't use bold forward slash + \catcode`\/=13 + \def/{{\secrmnotbold \normalslash}}% + \def-{{\normaldash\normaldash}}% en dash `--' + \def^{{\chapbf \normalcaret}}% + \def~{{\chapbf \normaltilde}}% + \def\_{% + \leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em }% + \def|{$\vert$}% + \def<{$\less$}% + \def>{$\gtr$}% + \def+{$\normalplus$}% +}} + +\def\initial{% + \bgroup + \initialglyphs + \initialx +} + +\def\initialx#1{% % Remove any glue we may have, we'll be inserting our own. \removelastskip % % We like breaks before the index initials, so insert a bonus. + % The glue before the bonus allows a little bit of space at the + % bottom of a column to reduce an increase in inter-line spacing. \nobreak - \vskip 0pt plus 3\baselineskip - \penalty 0 - \vskip 0pt plus -3\baselineskip + \vskip 0pt plus 5\baselineskip + \penalty -300 + \vskip 0pt plus -5\baselineskip % % Typeset the initial. Making this add up to a whole number of % baselineskips increases the chance of the dots lining up from column @@ -5008,24 +5170,24 @@ end % we need before each entry, but it's better. % % No shrink because it confuses \balancecolumns. - \vskip 1.67\baselineskip plus .5\baselineskip - \leftline{\secbf #1}% + \vskip 1.67\baselineskip plus 1\baselineskip + \leftline{\secfonts \kern-0.05em \secbf #1}% + % \secfonts is inside the argument of \leftline so that the change of + % \baselineskip will not affect any glue inserted before the vbox that + % \leftline creates. % Do our best not to break after the initial. \nobreak \vskip .33\baselineskip plus .1\baselineskip -}} + \egroup % \initialglyphs +} + +\newdimen\entryrightmargin +\entryrightmargin=0pt % \entry typesets a paragraph consisting of the text (#1), dot leaders, and % then page number (#2) flushed to the right margin. It is used for index % and table of contents entries. The paragraph is indented by \leftskip. % -% A straightforward implementation would start like this: -% \def\entry#1#2{... -% But this freezes the catcodes in the argument, and can cause problems to -% @code, which sets - active. This problem was fixed by a kludge--- -% ``-'' was active throughout whole index, but this isn't really right. -% The right solution is to prevent \entry from swallowing the whole text. -% --kasal, 21nov03 \def\entry{% \begingroup % @@ -5033,38 +5195,18 @@ end % affect previous text. \par % - % Do not fill out the last line with white space. - \parfillskip = 0in - % % No extra space above this paragraph. \parskip = 0in % - % Do not prefer a separate line ending with a hyphen to fewer lines. - \finalhyphendemerits = 0 - % - % \hangindent is only relevant when the entry text and page number - % don't both fit on one line. In that case, bob suggests starting the - % dots pretty far over on the line. Unfortunately, a large - % indentation looks wrong when the entry text itself is broken across - % lines. So we use a small indentation and put up with long leaders. - % - % \hangafter is reset to 1 (which is the value we want) at the start - % of each paragraph, so we need not do anything with that. - \hangindent = 2em - % - % When the entry text needs to be broken, just fill out the first line - % with blank space. - \rightskip = 0pt plus1fil - % - % A bit of stretch before each entry for the benefit of balancing - % columns. - \vskip 0pt plus1pt - % % When reading the text of entry, convert explicit line breaks % from @* into spaces. The user might give these in long section % titles, for instance. \def\*{\unskip\space\ignorespaces}% - \def\entrybreak{\hfil\break}% + \def\entrybreak{\hfil\break}% An undocumented command + % + % A bit of stretch before each entry for the benefit of balancing + % columns. + \vskip 0pt plus0.5pt % % Swallow the left brace of the text (first parameter): \afterassignment\doentry @@ -5072,45 +5214,148 @@ end } \def\entrybreak{\unskip\space\ignorespaces}% \def\doentry{% + % Save the text of the entry + \global\setbox\boxA=\hbox\bgroup \bgroup % Instead of the swallowed brace. \noindent \aftergroup\finishentry % And now comes the text of the entry. + % Not absorbing as a macro argument reduces the chance of problems + % with catcodes occurring. } -\def\finishentry#1{% +{\catcode`\@=11 +\gdef\finishentry#1{% + \egroup % end box A + \dimen@ = \wd\boxA % Length of text of entry + \global\setbox\boxA=\hbox\bgroup\unhbox\boxA % #1 is the page number. % - % The following is kludged to not output a line of dots in the index if - % there are no page numbers. The next person who breaks this will be - % cursed by a Unix daemon. - \setbox\boxA = \hbox{#1}% - \ifdim\wd\boxA = 0pt - \ % + % Get the width of the page numbers, and only use + % leaders if they are present. + \global\setbox\boxB = \hbox{#1}% + \ifdim\wd\boxB = 0pt + \null\nobreak\hfill\ % \else % - % If we must, put the page number on a line of its own, and fill out - % this line with blank space. (The \hfil is overwhelmed with the - % fill leaders glue in \indexdotfill if the page number does fit.) - \hfil\penalty50 \null\nobreak\indexdotfill % Have leaders before the page number. % - % The `\ ' here is removed by the implicit \unskip that TeX does as - % part of (the primitive) \par. Without it, a spurious underfull - % \hbox ensues. \ifpdf - \pdfgettoks#1.% - \ \the\toksA + \pdfgettoks#1.% + \hskip\skip\thinshrinkable\the\toksA \else - \ #1% + \hskip\skip\thinshrinkable #1% \fi \fi - \par + \egroup % end \boxA + \ifdim\wd\boxB = 0pt + \global\setbox\entryindexbox=\box\boxA + \else + \global\setbox\entryindexbox=\vbox\bgroup\noindent + % We want the text of the entries to be aligned to the left, and the + % page numbers to be aligned to the right. + % + \advance\leftskip by 0pt plus 1fil + \advance\leftskip by 0pt plus -1fill + \rightskip = 0pt plus -1fil + \advance\rightskip by 0pt plus 1fill + % Cause last line, which could consist of page numbers on their own + % if the list of page numbers is long, to be aligned to the right. + \parfillskip=0pt plus -1fill + % + \hangindent=1em + % + \advance\rightskip by \entryrightmargin + % Determine how far we can stretch into the margin. + % This allows, e.g., "Appendix H GNU Free Documentation License" to + % fit on one line in @letterpaper format. + \ifdim\entryrightmargin>2.1em + \dimen@i=2.1em + \else + \dimen@i=0em + \fi + \advance \parfillskip by 0pt minus 1\dimen@i + % + \dimen@ii = \hsize + \advance\dimen@ii by -1\leftskip + \advance\dimen@ii by -1\entryrightmargin + \advance\dimen@ii by 1\dimen@i + \let\maybestrut=\relax + \ifdim\wd\boxA > \dimen@ii % If the entry doesn't fit in one line + \let\maybestrut=\strut + \ifdim\dimen@ > 0.8\dimen@ii % due to long index text + \dimen@ = 0.7\dimen@ % Try to split the text roughly evenly + \dimen@ii = \hsize + \advance \dimen@ii by -1em + \ifnum\dimen@>\dimen@ii + % If the entry is too long, use the whole line + \dimen@ = \dimen@ii + \fi + \advance\leftskip by 0pt plus 1fill % ragged right + \advance \dimen@ by 1\rightskip + \parshape = 2 0pt \dimen@ 1em \dimen@ii + % Ideally we'd add a finite glue at the end of the first line only, but + % TeX doesn't seem to provide a way to do such a thing. + \fi\fi + \maybestrut % Add a strut on the first and last lines + \unhbox\boxA + \maybestrut + % + % Do not prefer a separate line ending with a hyphen to fewer lines. + \finalhyphendemerits = 0 + % + % Word spacing - no stretch + \spaceskip=\fontdimen2\font minus \fontdimen4\font + % + \linepenalty=1000 % Discourage line breaks. + \hyphenpenalty=5000 % Discourage hyphenation. + % + \par % format the paragraph + \egroup % The \vbox + \fi \endgroup + % delay text of entry until after penalty + \bgroup\aftergroup\insertindexentrybox + \entryorphanpenalty +}} + +\newskip\thinshrinkable +\skip\thinshrinkable=.15em minus .15em + +\newbox\entryindexbox +\def\insertindexentrybox{% +\lineskip=0pt % This comes into effect when the \vbox has a large + % height due to the paragraph in it having several + % lines. +\box\entryindexbox} + +% Default is no penalty +\let\entryorphanpenalty\egroup + +% Used from \printindex. \firsttoken should be the first token +% after the \entry. If it's not another \entry, we are at the last +% line of a group of index entries, so insert a penalty to discourage +% orphaned index entries. +\long\def\indexorphanpenalty{% + \def\isentry{\entry}% + \ifx\firsttoken\isentry + \else + \unskip\penalty 9000 + % The \unskip here stops breaking before the glue. It relies on the + % \vskip above being there, otherwise there is an error + % "You can't use `\unskip' in vertical mode". There has to be glue + % in the current vertical list that hasn't been added to the + % "current page". See Chapter 24 of the TeXbook. This contradicts + % Section 8.3.7 in "TeX by Topic," though. + \fi + \egroup % now comes the box added with \aftergroup } % Like plain.tex's \dotfill, except uses up at least 1 em. +% The filll stretch here overpowers both the fil and fill stretch to push +% the page number to the right. \def\indexdotfill{\cleaders - \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 1em plus 1fill} + \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 1em plus 1filll} + \def\primary #1{\line{#1\hfil}} @@ -5136,6 +5381,11 @@ end \newbox\partialpage \newdimen\doublecolumnhsize +\newdimen\doublecolumntopgap +\doublecolumntopgap = 0pt + +\newtoks\savedtopmark % Used in \begindoublecolumns +\newtoks\savedfirstmark \def\begindoublecolumns{\begingroup % ended by \enddoublecolumns % Grab any single-column material above us. @@ -5157,9 +5407,23 @@ end \unvbox\PAGE \kern-\topskip \kern\baselineskip }% + % Save \topmark and \firstmark + \global\savedtopmark=\expandafter{\topmark}% + \global\savedfirstmark=\expandafter{\firstmark}% }% \eject % run that output routine to set \partialpage % + % We recover the two marks that the last output routine saved in order + % to propagate the information in marks added around a chapter heading, + % which could be otherwise be lost by the time the final page is output. + % + \mark{\the\savedtopmark}% Only mark in page passed to following \output. + \output = {% + \setbox0=\box\PAGE % clear box 255 + }abc\eject + % + \mark{\the\savedfirstmark}% + % % Use the double-column output routine for subsequent pages. \output = {\doublecolumnout}% % @@ -5186,11 +5450,15 @@ end % % Double the \vsize as well. (We don't need a separate register here, % since nobody clobbers \vsize.) + \global\doublecolumntopgap = \topskip + \global\advance\doublecolumntopgap by -1\baselineskip + \global\advance\vsize by -1\doublecolumntopgap \vsize = 2\vsize + \topskip=0pt } % The double-column output routine for all double-column pages except -% the last. +% the last, which is done by \balancecolumns. % \def\doublecolumnout{% \splittopskip=\topskip \splitmaxdepth=\maxdepth @@ -5215,10 +5483,13 @@ end % \hsize = \doublecolumnhsize \wd0=\hsize \wd2=\hsize - \hbox to\pagewidth{\box0\hfil\box2}% + \vbox{% + \vskip\doublecolumntopgap + \hbox to\pagewidth{\box0\hfil\box2}}% } -% -% All done with double columns. + + +% Finished with with double columns. \def\enddoublecolumns{% % The following penalty ensures that the page builder is exercised % _before_ we change the output routine. This is necessary in the @@ -5272,28 +5543,47 @@ end \pagegoal = \vsize } % -% Called at the end of the double column material. +% Only called for the last of the double column material. \doublecolumnout +% does the others. \def\balancecolumns{% \setbox0 = \vbox{\unvbox255}% like \box255 but more efficient, see p.120. \dimen@ = \ht0 \advance\dimen@ by \topskip \advance\dimen@ by-\baselineskip - \divide\dimen@ by 2 % target to split to - %debug\message{final 2-column material height=\the\ht0, target=\the\dimen@.}% - \splittopskip = \topskip - % Loop until we get a decent breakpoint. - {% - \vbadness = 10000 - \loop - \global\setbox3 = \copy0 - \global\setbox1 = \vsplit3 to \dimen@ - \ifdim\ht3>\dimen@ - \global\advance\dimen@ by 1pt - \repeat - }% - %debug\message{split to \the\dimen@, column heights: \the\ht1, \the\ht3.}% - \setbox0=\vbox to\dimen@{\unvbox1}% - \setbox2=\vbox to\dimen@{\unvbox3}% + \ifdim\dimen@<14\baselineskip + % Don't split a short final column in two. + \setbox2=\vbox{}% + \else + \divide\dimen@ by 2 % target to split to + \dimen@ii = \dimen@ + \splittopskip = \topskip + % Loop until the second column is no higher than the first + {% + \vbadness = 10000 + \loop + \global\setbox3 = \copy0 + \global\setbox1 = \vsplit3 to \dimen@ + % Remove glue from bottom of first column to + % make sure it is higher than the second. + \global\setbox1 = \vbox{\unvbox1\unpenalty\unskip}% + \ifdim\ht3>\ht1 + \global\advance\dimen@ by 1pt + \repeat + }% + \multiply\dimen@ii by 4 + \divide\dimen@ii by 5 + \ifdim\ht3<\dimen@ii + % Column heights are too different, so don't make their bottoms + % flush with each other. The glue at the end of the second column + % allows a second column to stretch, reducing the difference in + % height between the two. + \setbox0=\vbox to\dimen@{\unvbox1\vfill}% + \setbox2=\vbox to\dimen@{\unvbox3\vskip 0pt plus 0.3\ht0}% + \else + \setbox0=\vbox to\dimen@{\unvbox1}% + \setbox2=\vbox to\dimen@{\unvbox3}% + \fi + \fi % \pagesofar } @@ -5314,6 +5604,10 @@ end \let\lastnode=\empty % no node to associate with \writetocentry{part}{#1}{}% but put it in the toc \headingsoff % no headline or footline on the part page + % This outputs a mark at the end of the page that clears \thischapter + % and \thissection, as is done in \startcontents. + \let\pchapsepmacro\relax + \chapmacro{}{Yomitfromtoc}{}% \chapoddpage \endgroup } @@ -5558,9 +5852,6 @@ end % @centerchap is like @unnumbered, but the heading is centered. \outer\parseargdef\centerchap{% - % Well, we could do the following in a group, but that would break - % an assumption that \chapmacro is called at the outermost level. - % Thus we are safer this way: --kasal, 24feb04 \let\centerparametersmaybe = \centerparameters \unnmhead0{#1}% \let\centerparametersmaybe = \relax @@ -5684,7 +5975,11 @@ end % Define plain chapter starts, and page on/off switching for it. \def\chapbreak{\dobreak \chapheadingskip {-4000}} + +% Start a new page \def\chappager{\par\vfill\supereject} + +% \chapoddpage - start on an odd page for a new chapter % Because \domark is called before \chapoddpage, the filler page will % get the headings for the next chapter, which is wrong. But we don't % care -- we just disable all headings on the filler page. @@ -5720,17 +6015,20 @@ end \CHAPPAGon -% Chapter opening. +% \chapmacro - Chapter opening. % % #1 is the text, #2 is the section type (Ynumbered, Ynothing, % Yappendix, Yomitfromtoc), #3 the chapter number. +% Not used for @heading series. % % To test against our argument. \def\Ynothingkeyword{Ynothing} -\def\Yomitfromtockeyword{Yomitfromtoc} \def\Yappendixkeyword{Yappendix} +\def\Yomitfromtockeyword{Yomitfromtoc} % \def\chapmacro#1#2#3{% + \checkenv{}% chapters, etc., should not start inside an environment. + % % Insert the first mark before the heading break (see notes for \domark). \let\prevchapterdefs=\lastchapterdefs \let\prevsectiondefs=\lastsectiondefs @@ -5783,6 +6081,7 @@ end % {% \chapfonts \rmisbold + \let\footnote=\errfootnoteheading % give better error message % % Have to define \lastsection before calling \donoderef, because the % xref code eventually uses it. On the other hand, it has to be called @@ -5876,22 +6175,29 @@ end % Print any size, any type, section title. % -% #1 is the text, #2 is the section level (sec/subsec/subsubsec), #3 is -% the section type for xrefs (Ynumbered, Ynothing, Yappendix), #4 is the -% section number. +% #1 is the text of the title, +% #2 is the section level (sec/subsec/subsubsec), +% #3 is the section type (Ynumbered, Ynothing, Yappendix, Yomitfromtoc), +% #4 is the section number. % \def\seckeyword{sec} % \def\sectionheading#1#2#3#4{% {% - \checkenv{}% should not be in an environment. + \def\sectionlevel{#2}% + \def\temptype{#3}% + % + % It is ok for the @heading series commands to appear inside an + % environment (it's been historically allowed, though the logic is + % dubious), but not the others. + \ifx\temptype\Yomitfromtockeyword\else + \checkenv{}% non-@*heading should not be in an environment. + \fi + \let\footnote=\errfootnoteheading % % Switch to the right set of fonts. \csname #2fonts\endcsname \rmisbold % - \def\sectionlevel{#2}% - \def\temptype{#3}% - % % Insert first mark before the heading break (see notes for \domark). \let\prevsectiondefs=\lastsectiondefs \ifx\temptype\Ynothingkeyword @@ -6103,7 +6409,7 @@ end \savepageno = \pageno \begingroup % Set up to handle contents files properly. \raggedbottom % Worry more about breakpoints than the bottom. - \advance\hsize by -\contentsrightmargin % Don't use the full line length. + \entryrightmargin=\contentsrightmargin % Don't use the full line length. % % Roman numerals for page numbers. \ifnum \pageno>0 \global\pageno = \lastnegativepageno \fi @@ -6208,7 +6514,7 @@ end % Chapters, in the main contents. \def\numchapentry#1#2#3#4{\dochapentry{#2\labelspace#1}{#4}} -% + % Chapters, in the short toc. % See comments in \dochapentry re vbox and related settings. \def\shortchapentry#1#2#3#4{% @@ -6223,7 +6529,7 @@ end \setbox0 = \hbox{\putwordAppendix{} M}% \hbox to \wd0{\putwordAppendix{} #1\hss}} % -\def\appentry#1#2#3#4{\dochapentry{\appendixbox{#2}\labelspace#1}{#4}} +\def\appentry#1#2#3#4{\dochapentry{\appendixbox{#2}\hskip.7em#1}{#4}} % Unnumbered chapters. \def\unnchapentry#1#2#3#4{\dochapentry{#1}{#4}} @@ -6256,6 +6562,8 @@ end \def\dochapentry#1#2{% \penalty-300 \vskip1\baselineskip plus.33\baselineskip minus.25\baselineskip \begingroup + % Move the page numbers slightly to the right + \advance\entryrightmargin by -0.05em \chapentryfonts \tocentry{#1}{\dopageno\bgroup#2\egroup}% \endgroup @@ -6318,6 +6626,7 @@ end % other math active characters (just in case), to plain's definitions. \mathactive % + % Inverse of the list at the beginning of the file. \let\b=\ptexb \let\bullet=\ptexbullet \let\c=\ptexc @@ -6333,7 +6642,9 @@ end \let\+=\tabalign \let\}=\ptexrbrace \let\/=\ptexslash + \let\sp=\ptexsp \let\*=\ptexstar + %\let\sup=\ptexsup % do not redefine, we want @sup to work in math mode \let\t=\ptext \expandafter \let\csname top\endcsname=\ptextop % we've made it outer \let\frenchspacing=\plainfrenchspacing @@ -6365,6 +6676,24 @@ end % start of the next paragraph will insert \parskip. % \def\aboveenvbreak{{% + % =10000 instead of <10000 because of a special case in \itemzzz and + % \sectionheading, q.v. + \ifnum \lastpenalty=10000 \else + \advance\envskipamount by \parskip + \endgraf + \ifdim\lastskip<\envskipamount + \removelastskip + \ifnum\lastpenalty<10000 + % Penalize breaking before the environment, because preceding text + % often leads into it. + \penalty100 + \fi + \vskip\envskipamount + \fi + \fi +}} + +\def\afterenvbreak{{% % =10000 instead of <10000 because of a special case in \itemzzz and % \sectionheading, q.v. \ifnum \lastpenalty=10000 \else @@ -6380,8 +6709,6 @@ end \fi }} -\let\afterenvbreak = \aboveenvbreak - % \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will % also clear it, so that its embedded environments do the narrowing again. \let\nonarrowing=\relax @@ -6419,15 +6746,13 @@ end % side, and for 6pt waste from % each corner char, and rule thickness \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip - % Flag to tell @lisp, etc., not to narrow margin. - \let\nonarrowing = t% % % If this cartouche directly follows a sectioning command, we need the % \parskip glue (backspaced over by default) or the cartouche can % collide with the section heading. \ifnum\lastpenalty>10000 \vskip\parskip \penalty\lastpenalty \fi % - \vbox\bgroup + \setbox\groupbox=\vbox\bgroup \baselineskip=0pt\parskip=0pt\lineskip=0pt \carttop \hbox\bgroup @@ -6451,6 +6776,7 @@ end \egroup \cartbot \egroup + \addgroupbox \checkinserts } @@ -6587,9 +6913,13 @@ end % @raggedright does more-or-less normal line breaking but no right -% justification. From plain.tex. +% justification. From plain.tex. Don't stretch around special +% characters in urls in this environment, since the stretch at the right +% should be enough. \envdef\raggedright{% - \rightskip0pt plus2em \spaceskip.3333em \xspaceskip.5em\relax + \rightskip0pt plus2.4em \spaceskip.3333em \xspaceskip.5em\relax + \def\urefprestretchamount{0pt}% + \def\urefpoststretchamount{0pt}% } \let\Eraggedright\par @@ -6829,7 +7159,7 @@ end % typesetting commands (@smallbook, font changes, etc.) have to be done % beforehand -- and a) we want @copying to be done first in the source % file; b) letting users define the frontmatter in as flexible order as -% possible is very desirable. +% possible is desirable. % \def\copying{\checkenv{}\begingroup\scanargctxt\docopying} \def\docopying#1@end copying{\endgroup\def\copyingtext{#1}} @@ -6924,7 +7254,7 @@ end \temp } -% \domakedefun \deffn \deffnx \deffnheader +% \domakedefun \deffn \deffnx \deffnheader { (defn. of \deffnheader) } % % Define \deffn and \deffnx, without parameters. % \deffnheader has to be defined explicitly. @@ -7262,34 +7592,42 @@ end } \fi -\def\scanmacro#1{\begingroup +\let\aftermacroxxx\relax +\def\aftermacro{\aftermacroxxx} + +% alias because \c means cedilla in @tex or @math +\let\texinfoc=\c + +% Used at the time of macro expansion. +% Argument is macro body with arguments substituted +\def\scanmacro#1{% \newlinechar`\^^M - \let\xeatspaces\eatspaces - % - % Undo catcode changes of \startcontents and \doprintindex - % When called from @insertcopying or (short)caption, we need active - % backslash to get it printed correctly. Previously, we had - % \catcode`\\=\other instead. We'll see whether a problem appears - % with macro expansion. --kasal, 19aug04 - \catcode`\@=0 \catcode`\\=\active \escapechar=`\@ + \def\xprocessmacroarg{\eatspaces}% % - % ... and for \example: - \spaceisspace + % Process the macro body under the current catcode regime. + \scantokens{#1\texinfoc}\aftermacro% % - % The \empty here causes a following catcode 5 newline to be eaten as - % part of reading whitespace after a control sequence. It does not - % eat a catcode 13 newline. There's no good way to handle the two - % cases (untried: maybe e-TeX's \everyeof could help, though plain TeX - % would then have different behavior). See the Macro Details node in - % the manual for the workaround we recommend for macros and - % line-oriented commands. - % - \scantokens{#1\empty}% -\endgroup} + % The \c is to remove the \newlinechar added by \scantokens, and + % can be noticed by \parsearg. + % The \aftermacro allows a \comment at the end of the macro definition + % to duplicate itself past the final \newlinechar added by \scantokens: + % this is used in the definition of \group to comment out a newline. We + % don't do the same for \c to support Texinfo files with macros that ended + % with a @c, which should no longer be necessary. + % We avoid surrounding the call to \scantokens with \bgroup and \egroup + % to allow macros to open or close groups themselves. +} \def\scanexp#1{% + \bgroup + % Undo catcode changes of \startcontents and \printindex + % When called from @insertcopying or (short)caption, we need active + % backslash to get it printed correctly. + % FIXME: This may not be needed. + %\catcode`\@=0 \catcode`\\=\active \escapechar=`\@ \edef\temp{\noexpand\scanmacro{#1}}% \temp + \egroup } \newcount\paramno % Count of parameters @@ -7355,7 +7693,6 @@ end \catcode`\+=\other \catcode`\<=\other \catcode`\>=\other - \catcode`\@=\other \catcode`\^=\other \catcode`\_=\other \catcode`\|=\other @@ -7365,38 +7702,36 @@ end \def\scanargctxt{% used for copying and captions, not macros. \scanctxt + \catcode`\@=\other \catcode`\\=\other \catcode`\^^M=\other } \def\macrobodyctxt{% used for @macro definitions \scanctxt + \catcode`\ =\other + \catcode`\@=\other \catcode`\{=\other \catcode`\}=\other \catcode`\^^M=\other \usembodybackslash } -\def\macroargctxt{% used when scanning invocations +% Used when scanning braced macro arguments. Note, however, that catcode +% changes here are ineffectual if the macro invocation was nested inside +% an argument to another Texinfo command. +\def\macroargctxt{% \scanctxt - \catcode`\\=0 + \catcode`\ =\active + \catcode`\^^M=\other + \catcode`\\=\active } -% why catcode 0 for \ in the above? To recognize \\ \{ \} as "escapes" -% for the single characters \ { }. Thus, we end up with the "commands" -% that would be written @\ @{ @} in a Texinfo document. -% -% We already have @{ and @}. For @\, we define it here, and only for -% this purpose, to produce a typewriter backslash (so, the @\ that we -% define for @math can't be used with @macro calls): -% -\def\\{\normalbackslash}% -% -% We would like to do this for \, too, since that is what makeinfo does. -% But it is not possible, because Texinfo already has a command @, for a -% cedilla accent. Documents must use @comma{} instead. -% -% \anythingelse will almost certainly be an error of some kind. +\def\macrolineargctxt{% used for whole-line arguments without braces + \scanctxt + \catcode`\{=\other + \catcode`\}=\other +} % \mbodybackslash is the definition of \ in @macro bodies. % It maps \foo\ => \csname macarg.foo\endcsname => #N @@ -7468,57 +7803,36 @@ end \fi } -% This makes use of the obscure feature that if the last token of a -% is #, then the preceding argument is delimited by -% an opening brace, and that opening brace is not consumed. +% \getargs -- Parse the arguments to a @macro line. Set \macname to +% the name of the macro, and \argl to the braced argument list. \def\getargs#1{\getargsxxx#1{}} \def\getargsxxx#1#{\getmacname #1 \relax\getmacargs} \def\getmacname#1 #2\relax{\macname={#1}} \def\getmacargs#1{\def\argl{#1}} +% This made use of the feature that if the last token of a +% is #, then the preceding argument is delimited by +% an opening brace, and that opening brace is not consumed. -% For macro processing make @ a letter so that we can make Texinfo private macro names. -\edef\texiatcatcode{\the\catcode`\@} -\catcode `@=11\relax - -% Parse the optional {params} list. Set up \paramno and \paramlist -% so \defmacro knows what to do. Define \macarg.BLAH for each BLAH -% in the params list to some hook where the argument si to be expanded. If -% there are less than 10 arguments that hook is to be replaced by ##N where N +% Parse the optional {params} list to @macro or @rmacro. +% Set \paramno to the number of arguments, +% and \paramlist to a parameter text for the macro (e.g. #1,#2,#3 for a +% three-param macro.) Define \macarg.BLAH for each BLAH in the params +% list to some hook where the argument is to be expanded. If there are +% less than 10 arguments that hook is to be replaced by ##N where N % is the position in that list, that is to say the macro arguments are to be % defined `a la TeX in the macro body. % % That gets used by \mbodybackslash (above). % -% We need to get `macro parameter char #' into several definitions. -% The technique used is stolen from LaTeX: let \hash be something -% unexpandable, insert that wherever you need a #, and then redefine -% it to # just before using the token list produced. -% -% The same technique is used to protect \eatspaces till just before -% the macro is used. +% If there are 10 or more arguments, a different technique is used: see +% \parsemmanyargdef. % -% If there are 10 or more arguments, a different technique is used, where the -% hook remains in the body, and when macro is to be expanded the body is -% processed again to replace the arguments. -% -% In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the -% argument N value and then \edef the body (nothing else will expand because of -% the catcode regime underwhich the body was input). -% -% If you compile with TeX (not eTeX), and you have macros with 10 or more -% arguments, you need that no macro has more than 256 arguments, otherwise an -% error is produced. \def\parsemargdef#1;{% \paramno=0\def\paramlist{}% \let\hash\relax - \let\xeatspaces\relax + % \hash is redefined to `#' later to get it into definitions + \let\processmacroarg\relax \parsemargdefxxx#1,;,% - % In case that there are 10 or more arguments we parse again the arguments - % list to set new definitions for the \macarg.BLAH macros corresponding to - % each BLAH argument. It was anyhow needed to parse already once this list - % in order to count the arguments, and as macros with at most 9 arguments - % are by far more frequent than macro with 10 or more arguments, defining - % twice the \macarg.BLAH macros does not cost too much processing power. \ifnum\paramno<10\relax\else \paramno0\relax \parsemmanyargdef@@#1,;,% 10 or more arguments @@ -7529,10 +7843,47 @@ end \else \let\next=\parsemargdefxxx \advance\paramno by 1 \expandafter\edef\csname macarg.\eatspaces{#1}\endcsname - {\xeatspaces{\hash\the\paramno}}% + {\processmacroarg{\hash\the\paramno}}% \edef\paramlist{\paramlist\hash\the\paramno,}% \fi\next} +% \parsemacbody, \parsermacbody +% +% Read recursive and nonrecursive macro bodies. (They're different since +% rec and nonrec macros end differently.) +% +% We are in \macrobodyctxt, and the \xdef causes backslashshes in the macro +% body to be transformed. +% Set \macrobody to the body of the macro, and call \defmacro. +% +{\catcode`\ =\other\long\gdef\parsemacbody#1@end macro{% +\xdef\macrobody{\eatcr{#1}}\endgroup\defmacro}}% +{\catcode`\ =\other\long\gdef\parsermacbody#1@end rmacro{% +\xdef\macrobody{\eatcr{#1}}\endgroup\defmacro}}% + +% Make @ a letter, so that we can make private-to-Texinfo macro names. +\edef\texiatcatcode{\the\catcode`\@} +\catcode `@=11\relax + +%%%%%%%%%%%%%% Code for > 10 arguments only %%%%%%%%%%%%%%%%%% + +% If there are 10 or more arguments, a different technique is used, where the +% hook remains in the body, and when macro is to be expanded the body is +% processed again to replace the arguments. +% +% In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the +% argument N value and then \edef the body (nothing else will expand because of +% the catcode regime under which the body was input). +% +% If you compile with TeX (not eTeX), and you have macros with 10 or more +% arguments, no macro can have more than 256 arguments (else error). +% +% In case that there are 10 or more arguments we parse again the arguments +% list to set new definitions for the \macarg.BLAH macros corresponding to +% each BLAH argument. It was anyhow needed to parse already once this list +% in order to count the arguments, and as macros with at most 9 arguments +% are by far more frequent than macro with 10 or more arguments, defining +% twice the \macarg.BLAH macros does not cost too much processing power. \def\parsemmanyargdef@@#1,{% \if#1;\let\next=\relax \else @@ -7548,16 +7899,6 @@ end \advance\paramno by 1\relax \fi\next} -% These two commands read recursive and nonrecursive macro bodies. -% (They're different since rec and nonrec macros end differently.) -% - -\catcode `\@\texiatcatcode -\long\def\parsemacbody#1@end macro% -{\xdef\temp{\eatcr{#1}}\endgroup\defmacro}% -\long\def\parsermacbody#1@end rmacro% -{\xdef\temp{\eatcr{#1}}\endgroup\defmacro}% -\catcode `\@=11\relax \let\endargs@\relax \let\nil@\relax @@ -7565,7 +7906,7 @@ end \long\def\nillm@{\nil@}% % This macro is expanded during the Texinfo macro expansion, not during its -% definition. It gets all the arguments values and assigns them to macros +% definition. It gets all the arguments' values and assigns them to macros % macarg.ARGNAME % % #1 is the macro name @@ -7586,8 +7927,6 @@ end \getargvals@@ \fi } - -% \def\getargvals@@{% \ifx\paramlist\nilm@ % Some sanity check needed here that \argvaluelist is also empty. @@ -7631,7 +7970,8 @@ end } % Replace arguments by their values in the macro body, and place the result -% in macro \@tempa +% in macro \@tempa. +% \def\macvalstoargs@{% % To do this we use the property that token registers that are \the'ed % within an \edef expand only once. So we are going to place all argument @@ -7655,8 +7995,9 @@ end \expandafter\def\expandafter\@tempa\expandafter{\@tempc}% } +% Define the named-macro outside of this group and then close this group. +% \def\macargexpandinbody@{% - %% Define the named-macro outside of this group and then close this group. \expandafter \endgroup \macargdeflist@ @@ -7693,14 +8034,8 @@ end \next } -% Save the token stack pointer into macro #1 -\def\texisavetoksstackpoint#1{\edef#1{\the\@cclvi}} -% Restore the token stack pointer from number in macro #1 -\def\texirestoretoksstackpoint#1{\expandafter\mathchardef\expandafter\@cclvi#1\relax} -% newtoks that can be used non \outer . -\def\texinonouternewtoks{\alloc@ 5\toks \toksdef \@cclvi} - -% Tailing missing arguments are set to empty +% Trailing missing arguments are set to empty. +% \def\setemptyargvalues@{% \ifx\paramlist\nilm@ \let\next\macargexpandinbody@ @@ -7730,99 +8065,244 @@ end \long\def#2{#4}% } -% This defines a Texinfo @macro. There are eight cases: recursive and -% nonrecursive macros of zero, one, up to nine, and many arguments. -% Much magic with \expandafter here. + +%%%%%%%%%%%%%% End of code for > 10 arguments %%%%%%%%%%%%%%%%%% + + + +% Remove following spaces at the expansion stage. +% This works because spaces are discarded before each argument when TeX is +% getting the arguments for a macro. +% This must not be immediately followed by a }. +\long\def\gobblespaces#1{#1} + +% This defines a Texinfo @macro or @rmacro, called by \parsemacbody. +% \macrobody has the body of the macro in it, with placeholders for +% its parameters, looking like "\processmacroarg{\hash 1}". +% \paramno is the number of parameters +% \paramlist is a TeX parameter text, e.g. "#1,#2,#3," +% There are eight cases: recursive and nonrecursive macros of zero, one, +% up to nine, and many arguments. % \xdef is used so that macro definitions will survive the file -% they're defined in; @include reads the file inside a group. +% they're defined in: @include reads the file inside a group. % \def\defmacro{% \let\hash=##% convert placeholders to macro parameter chars - \ifrecursive + \ifnum\paramno=1 + \def\processmacroarg{\gobblespaces}% + % This removes the pair of braces around the argument. We don't + % use \eatspaces, because this can cause ends of lines to be lost + % when the argument to \eatspaces is read, leading to line-based + % commands like "@itemize" not being read correctly. + \else + \def\processmacroarg{\xprocessmacroarg}% + \let\xprocessmacroarg\relax + \fi + \ifrecursive %%%%%%%%%%%%%% Recursive %%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ifcase\paramno % 0 \expandafter\xdef\csname\the\macname\endcsname{% - \noexpand\scanmacro{\temp}}% + \noexpand\scanmacro{\macrobody}}% \or % 1 \expandafter\xdef\csname\the\macname\endcsname{% - \bgroup\noexpand\macroargctxt + \bgroup \noexpand\braceorline - \expandafter\noexpand\csname\the\macname xxx\endcsname}% - \expandafter\xdef\csname\the\macname xxx\endcsname##1{% - \egroup\noexpand\scanmacro{\temp}}% + \expandafter\noexpand\csname\the\macname @@@\endcsname}% + \expandafter\xdef\csname\the\macname @@@\endcsname##1{% + \expandafter\noexpand\csname\the\macname @@@@\endcsname{% + \noexpand\gobblespaces##1\empty}% + % The \empty is for \gobblespaces in case #1 is empty + }% + \expandafter\xdef\csname\the\macname @@@@\endcsname##1{% + \egroup\noexpand\scanmacro{\macrobody}}% \else \ifnum\paramno<10\relax % at most 9 + % See non-recursive section below for comments \expandafter\xdef\csname\the\macname\endcsname{% - \bgroup\noexpand\macroargctxt - \noexpand\csname\the\macname xx\endcsname}% - \expandafter\xdef\csname\the\macname xx\endcsname##1{% - \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}% + \bgroup + \noexpand\expandafter + \noexpand\macroargctxt + \noexpand\expandafter + \expandafter\noexpand\csname\the\macname @@\endcsname}% + \expandafter\xdef\csname\the\macname @@\endcsname##1{% + \noexpand\passargtomacro + \expandafter\noexpand\csname\the\macname @@@\endcsname{##1,}}% + \expandafter\xdef\csname\the\macname @@@\endcsname##1{% + \expandafter\noexpand\csname\the\macname @@@@\endcsname ##1}% \expandafter\expandafter \expandafter\xdef \expandafter\expandafter - \csname\the\macname xxx\endcsname - \paramlist{\egroup\noexpand\scanmacro{\temp}}% + \csname\the\macname @@@@\endcsname\paramlist{% + \egroup\noexpand\scanmacro{\macrobody}}% \else % 10 or more \expandafter\xdef\csname\the\macname\endcsname{% \noexpand\getargvals@{\the\macname}{\argl}% }% - \global\expandafter\let\csname mac.\the\macname .body\endcsname\temp + \global\expandafter\let\csname mac.\the\macname .body\endcsname\macrobody \global\expandafter\let\csname mac.\the\macname .recurse\endcsname\gobble \fi \fi - \else + \else %%%%%%%%%%%%%%%%%%%%%% Non-recursive %%%%%%%%%%%%%%%%%%%%%%%%%% \ifcase\paramno % 0 \expandafter\xdef\csname\the\macname\endcsname{% - \noexpand\norecurse{\the\macname}% - \noexpand\scanmacro{\temp}\egroup}% + \noexpand\scanmacro{\macrobody}}% \or % 1 \expandafter\xdef\csname\the\macname\endcsname{% - \bgroup\noexpand\macroargctxt + \bgroup \noexpand\braceorline - \expandafter\noexpand\csname\the\macname xxx\endcsname}% - \expandafter\xdef\csname\the\macname xxx\endcsname##1{% + \expandafter\noexpand\csname\the\macname @@@\endcsname}% + \expandafter\xdef\csname\the\macname @@@\endcsname##1{% + \expandafter\noexpand\csname\the\macname @@@@\endcsname{% + \noexpand\gobblespaces##1\empty}% + % The \empty is for \gobblespaces in case #1 is empty + }% + \expandafter\xdef\csname\the\macname @@@@\endcsname##1{% \egroup - \noexpand\norecurse{\the\macname}% - \noexpand\scanmacro{\temp}\egroup}% + \noexpand\scanmacro{\macrobody}% + }% \else % at most 9 \ifnum\paramno<10\relax + % @MACNAME sets the context for reading the macro argument + % @MACNAME@@ gets the argument, processes backslashes and appends a + % comma. + % @MACNAME@@@ removes braces surrounding the argument list. + % @MACNAME@@@@ scans the macro body with arguments substituted. \expandafter\xdef\csname\the\macname\endcsname{% - \bgroup\noexpand\macroargctxt - \expandafter\noexpand\csname\the\macname xx\endcsname}% - \expandafter\xdef\csname\the\macname xx\endcsname##1{% - \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}% + \bgroup + \noexpand\expandafter % This \expandafter skip any spaces after the + \noexpand\macroargctxt % macro before we change the catcode of space. + \noexpand\expandafter + \expandafter\noexpand\csname\the\macname @@\endcsname}% + \expandafter\xdef\csname\the\macname @@\endcsname##1{% + \noexpand\passargtomacro + \expandafter\noexpand\csname\the\macname @@@\endcsname{##1,}}% + \expandafter\xdef\csname\the\macname @@@\endcsname##1{% + \expandafter\noexpand\csname\the\macname @@@@\endcsname ##1}% \expandafter\expandafter \expandafter\xdef \expandafter\expandafter - \csname\the\macname xxx\endcsname - \paramlist{% - \egroup - \noexpand\norecurse{\the\macname}% - \noexpand\scanmacro{\temp}\egroup}% + \csname\the\macname @@@@\endcsname\paramlist{% + \egroup\noexpand\scanmacro{\macrobody}}% \else % 10 or more: \expandafter\xdef\csname\the\macname\endcsname{% \noexpand\getargvals@{\the\macname}{\argl}% }% - \global\expandafter\let\csname mac.\the\macname .body\endcsname\temp + \global\expandafter\let\csname mac.\the\macname .body\endcsname\macrobody \global\expandafter\let\csname mac.\the\macname .recurse\endcsname\norecurse \fi \fi \fi} -\catcode `\@\texiatcatcode\relax +\catcode `\@\texiatcatcode\relax % end private-to-Texinfo catcodes \def\norecurse#1{\bgroup\cslet{#1}{macsave.#1}} -% \braceorline decides whether the next nonwhitespace character is a -% {. If so it reads up to the closing }, if not, it reads the whole -% line. Whatever was read is then fed to the next control sequence -% as an argument (by \parsebrace or \parsearg). + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +{\catcode`\@=0 \catcode`\\=13 % We need to manipulate \ so use @ as escape +@catcode`@_=11 % private names +@catcode`@!=11 % used as argument separator + +% \passargtomacro#1#2 - +% Call #1 with a list of tokens #2, with any doubled backslashes in #2 +% compressed to one. +% +% This implementation works by expansion, and not execution (so we cannot use +% \def or similar). This reduces the risk of this failing in contexts where +% complete expansion is done with no execution (for example, in writing out to +% an auxiliary file for an index entry). +% +% State is kept in the input stream: the argument passed to +% @look_ahead, @gobble_and_check_finish and @add_segment is +% +% THE_MACRO ARG_RESULT ! {PENDING_BS} NEXT_TOKEN (... rest of input) +% +% where: +% THE_MACRO - name of the macro we want to call +% ARG_RESULT - argument list we build to pass to that macro +% PENDING_BS - either a backslash or nothing +% NEXT_TOKEN - used to look ahead in the input stream to see what's coming next + +@gdef@passargtomacro#1#2{% + @add_segment #1!{}@relax#2\@_finish\% +} +@gdef@_finish{@_finishx} @global@let@_finishx@relax + +% #1 - THE_MACRO ARG_RESULT +% #2 - PENDING_BS +% #3 - NEXT_TOKEN +% #4 used to look ahead +% +% If the next token is not a backslash, process the rest of the argument; +% otherwise, remove the next token. +@gdef@look_ahead#1!#2#3#4{% + @ifx#4\% + @expandafter@gobble_and_check_finish + @else + @expandafter@add_segment + @fi#1!{#2}#4#4% +} + +% #1 - THE_MACRO ARG_RESULT +% #2 - PENDING_BS +% #3 - NEXT_TOKEN +% #4 should be a backslash, which is gobbled. +% #5 looks ahead +% +% Double backslash found. Add a single backslash, and look ahead. +@gdef@gobble_and_check_finish#1!#2#3#4#5{% + @add_segment#1\!{}#5#5% +} + +@gdef@is_fi{@fi} + +% #1 - THE_MACRO ARG_RESULT +% #2 - PENDING_BS +% #3 - NEXT_TOKEN +% #4 is input stream until next backslash +% +% Input stream is either at the start of the argument, or just after a +% backslash sequence, either a lone backslash, or a doubled backslash. +% NEXT_TOKEN contains the first token in the input stream: if it is \finish, +% finish; otherwise, append to ARG_RESULT the segment of the argument up until +% the next backslash. PENDING_BACKSLASH contains a backslash to represent +% a backslash just before the start of the input stream that has not been +% added to ARG_RESULT. +@gdef@add_segment#1!#2#3#4\{% +@ifx#3@_finish + @call_the_macro#1!% +@else + % append the pending backslash to the result, followed by the next segment + @expandafter@is_fi@look_ahead#1#2#4!{\}@fi + % this @fi is discarded by @look_ahead. + % we can't get rid of it with \expandafter because we don't know how + % long #4 is. +} + +% #1 - THE_MACRO +% #2 - ARG_RESULT +% #3 discards the res of the conditional in @add_segment, and @is_fi ends the +% conditional. +@gdef@call_the_macro#1#2!#3@fi{@is_fi #1{#2}} + +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% \braceorline MAC is used for a one-argument macro MAC. It checks +% whether the next non-whitespace character is a {. It sets the context +% for reading the argument (slightly different in the two cases). Then, +% to read the argument, in the whole-line case, it then calls the regular +% \parsearg MAC; in the lbrace case, it calls \passargtomacro MAC. % \def\braceorline#1{\let\macnamexxx=#1\futurelet\nchar\braceorlinexxx} \def\braceorlinexxx{% - \ifx\nchar\bgroup\else - \expandafter\parsearg + \ifx\nchar\bgroup + \macroargctxt + \expandafter\passargtomacro + \else + \macrolineargctxt\expandafter\parsearg \fi \macnamexxx} @@ -7904,6 +8384,7 @@ end \pdfmkdest{#1}% \iflinks {% + \requireauxfile \atdummies % preserve commands, but don't expand them \edef\writexrdef##1##2{% \write\auxfile{@xrdef{#1-% #1 of \setref, expanded by the \edef @@ -7943,9 +8424,12 @@ end % node name, #4 the name of the Info file, #5 the name of the printed % manual. All but the node name can be omitted. % -\def\pxref#1{\putwordsee{} \xrefX[#1,,,,,,,]} -\def\xref#1{\putwordSee{} \xrefX[#1,,,,,,,]} -\def\ref#1{\xrefX[#1,,,,,,,]} +\def\pxref{\putwordsee{} \xrefXX} +\def\xref{\putwordSee{} \xrefXX} +\def\ref{\xrefXX} + +\def\xrefXX#1{\def\xrefXXarg{#1}\futurelet\tokenafterxref\xrefXXX} +\def\xrefXXX{\expandafter\xrefX\expandafter[\xrefXXarg,,,,,,,]} % \newbox\toprefbox \newbox\printedrefnamebox @@ -8089,6 +8573,12 @@ end % % output the `page 3'. \turnoffactive \putwordpage\tie\refx{#1-pg}{}% + \ifx,\tokenafterxref + \else\ifx.\tokenafterxref + \else\ifx;\tokenafterxref + \else\ifx)\tokenafterxref + \else,% add a , if xref not followed by punctuation + \fi\fi\fi\fi \fi\fi \fi \endlink @@ -8159,6 +8649,7 @@ end % If its value is nonempty, SUFFIX is output afterward. % \def\refx#1#2{% + \requireauxfile {% \indexnofonts \otherbackslash @@ -8222,6 +8713,23 @@ end \fi } +% If working on a large document in chapters, it is convenient to +% be able to disable indexing, cross-referencing, and contents, for test runs. +% This is done with @novalidate at the beginning of the file. +% +\newif\iflinks \linkstrue % by default we want the aux files. +\let\novalidate = \linksfalse + +% Used when writing to the aux file, or when using data from it. +\def\requireauxfile{% + \iflinks + \tryauxfile + % Open the new aux file. TeX will close it automatically at exit. + \immediate\openout\auxfile=\jobname.aux + \fi + \global\let\requireauxfile=\relax % Only do this once. +} + % Read the last existing aux file, if any. No error if none exists. % \def\tryauxfile{% @@ -8301,14 +8809,7 @@ end \catcode`\\=\other % % Make the characters 128-255 be printing characters. - {% - \count1=128 - \def\loop{% - \catcode\count1=\other - \advance\count1 by 1 - \ifnum \count1<256 \loop \fi - }% - }% + {\setnonasciicharscatcodenonglobal\other}% % % @ is our escape character in .aux files, and we need braces. \catcode`\{=1 @@ -8342,8 +8843,6 @@ end % % Auto-number footnotes. Otherwise like plain. \gdef\footnote{% - \let\indent=\ptexindent - \let\noindent=\ptexnoindent \global\advance\footnoteno by \@ne \edef\thisfootno{$^{\the\footnoteno}$}% % @@ -8367,6 +8866,11 @@ end % \gdef\dofootnote{% \insert\footins\bgroup + % + % Nested footnotes are not supported in TeX, that would take a lot + % more work. (\startsavinginserts does not suffice.) + \let\footnote=\errfootnotenest + % % We want to typeset this text as a normal paragraph, even if the % footnote reference occurs in (for example) a display environment. % So reset some parameters. @@ -8404,13 +8908,24 @@ end } }%end \catcode `\@=11 +\def\errfootnotenest{% + \errhelp=\EMsimple + \errmessage{Nested footnotes not supported in texinfo.tex, + even though they work in makeinfo; sorry} +} + +\def\errfootnoteheading{% + \errhelp=\EMsimple + \errmessage{Footnotes in chapters, sections, etc., are not supported} +} + % In case a @footnote appears in a vbox, save the footnote text and create % the real \insert just after the vbox finished. Otherwise, the insertion % would be lost. % Similarly, if a @footnote appears inside an alignment, save the footnote % text to a box and make the \insert when a row of the table is finished. % And the same can be done for other insert classes. --kasal, 16nov03. - +% % Replace the \insert primitive by a cheating macro. % Deeper inside, just make sure that the saved insertions are not spilled % out prematurely. @@ -8508,6 +9023,7 @@ end \def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup \catcode`\^^M = 5 % in case we're inside an example \normalturnoffactive % allow _ et al. in names + \def\xprocessmacroarg{\eatspaces}% in case we are being used via a macro % If the image is by itself, center it. \ifvmode \imagevmodetrue @@ -8688,6 +9204,7 @@ end % \floatlabel-lof. Besides \floatident, we include the short % caption if specified, else the full caption if specified, else nothing. {% + \requireauxfile \atdummies % % since we read the caption text in the macro world, where ^^M @@ -8827,20 +9344,20 @@ end { \catcode`\_ = \active \globaldefs=1 -\parseargdef\documentlanguage{\begingroup - \let_=\normalunderscore % normal _ character for filenames +\parseargdef\documentlanguage{% \tex % read txi-??.tex file in plain TeX. % Read the file by the name they passed if it exists. + \let_ = \normalunderscore % normal _ character for filename test \openin 1 txi-#1.tex \ifeof 1 - \documentlanguagetrywithoutunderscore{#1_\finish}% + \documentlanguagetrywithoutunderscore #1_\finish \else \globaldefs = 1 % everything in the txi-LL files needs to persist \input txi-#1.tex \fi \closein 1 \endgroup % end raw TeX -\endgroup} +} % % If they passed de_DE, and txi-de_DE.tex doesn't exist, % try txi-de.tex. @@ -8910,7 +9427,8 @@ directory should work if nowhere else does.} % @documentencoding sets the definition of non-ASCII characters % according to the specified encoding. % -\parseargdef\documentencoding{% +\def\documentencoding{\parseargusing\filenamecatcodes\documentencodingzzz} +\def\documentencodingzzz#1{% % Encoding being declared for the document. \def\declaredencoding{\csname #1.enc\endcsname}% % @@ -8939,10 +9457,12 @@ directory should work if nowhere else does.} % \else \ifx \declaredencoding \utfeight \setnonasciicharscatcode\active - \utfeightchardefs + % since we already invoked \utfeightchardefs at the top level + % (below), do not re-invoke it, then our check for duplicated + % definitions triggers. Making non-ascii chars active is enough. % \else - \message{Unknown document encoding #1, ignoring.}% + \message{Ignoring unknown document encoding: #1.}% % \fi % utfeight \fi % latnine @@ -8951,10 +9471,11 @@ directory should work if nowhere else does.} \fi % ascii } +% emacs-page % A message to be logged when using a character that isn't available % the default font encoding (OT1). % -\def\missingcharmsg#1{\message{Character missing in OT1 encoding: #1.}} +\def\missingcharmsg#1{\message{Character missing, sorry: #1.}} % Take account of \c (plain) vs. \, (Texinfo) difference. \def\cedilla#1{\ifx\c\ptexc\c{#1}\else\,{#1}\fi} @@ -8968,17 +9489,17 @@ directory should work if nowhere else does.} \def\latonechardefs{% \gdef^^a0{\tie} \gdef^^a1{\exclamdown} - \gdef^^a2{\missingcharmsg{CENT SIGN}} - \gdef^^a3{{\pounds}} - \gdef^^a4{\missingcharmsg{CURRENCY SIGN}} - \gdef^^a5{\missingcharmsg{YEN SIGN}} - \gdef^^a6{\missingcharmsg{BROKEN BAR}} + \gdef^^a2{{\tcfont \char162}} % cent + \gdef^^a3{\pounds} + \gdef^^a4{{\tcfont \char164}} % currency + \gdef^^a5{{\tcfont \char165}} % yen + \gdef^^a6{{\tcfont \char166}} % broken bar \gdef^^a7{\S} \gdef^^a8{\"{}} \gdef^^a9{\copyright} \gdef^^aa{\ordf} \gdef^^ab{\guillemetleft} - \gdef^^ac{$\lnot$} + \gdef^^ac{\ensuremath\lnot} \gdef^^ad{\-} \gdef^^ae{\registeredsymbol} \gdef^^af{\={}} @@ -8990,12 +9511,10 @@ directory should work if nowhere else does.} \gdef^^b4{\'{}} \gdef^^b5{$\mu$} \gdef^^b6{\P} - % - \gdef^^b7{$^.$} + \gdef^^b7{\ensuremath\cdot} \gdef^^b8{\cedilla\ } \gdef^^b9{$^1$} \gdef^^ba{\ordm} - % \gdef^^bb{\guillemetright} \gdef^^bc{$1\over4$} \gdef^^bd{$1\over2$} @@ -9250,6 +9769,18 @@ directory should work if nowhere else does.} \UTFviiiLoop \endgroup +\def\globallet{\global\let} % save some \expandafter's below + +% @U{xxxx} to produce U+xxxx, if we support it. +\def\U#1{% + \expandafter\ifx\csname uni:#1\endcsname \relax + \errhelp = \EMsimple + \errmessage{Unicode character U+#1 not supported, sorry}% + \else + \csname uni:#1\endcsname + \fi +} + \begingroup \catcode`\"=12 \catcode`\<=12 @@ -9258,7 +9789,6 @@ directory should work if nowhere else does.} \catcode`\;=12 \catcode`\!=12 \catcode`\~=13 - \gdef\DeclareUnicodeCharacter#1#2{% \countUTFz = "#1\relax %\wlog{\space\space defining Unicode char U+#1 (decimal \the\countUTFz)}% @@ -9273,6 +9803,13 @@ directory should work if nowhere else does.} \expandafter\expandafter\expandafter\expandafter \expandafter\expandafter\expandafter \gdef\UTFviiiTmp{#2}% + % + \expandafter\ifx\csname uni:#1\endcsname \relax \else + \message{Internal error, already defined: #1}% + \fi + % + % define an additional control sequence for this code point. + \expandafter\globallet\csname uni:#1\endcsname \UTFviiiTmp \endgroup} \gdef\parseXMLCharref{% @@ -9310,23 +9847,53 @@ directory should work if nowhere else does.} \uppercase{\gdef\UTFviiiTmp{#2#3#4}}} \endgroup +% https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_M +% U+0000..U+007F = https://en.wikipedia.org/wiki/Basic_Latin_(Unicode_block) +% U+0080..U+00FF = https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block) +% U+0100..U+017F = https://en.wikipedia.org/wiki/Latin_Extended-A +% U+0180..U+024F = https://en.wikipedia.org/wiki/Latin_Extended-B +% +% Many of our renditions are less than wonderful, and all the missing +% characters are available somewhere. Loading the necessary fonts +% awaits user request. We can't truly support Unicode without +% reimplementing everything that's been done in LaTeX for many years, +% plus probably using luatex or xetex, and who knows what else. +% We won't be doing that here in this simple file. But we can try to at +% least make most of the characters not bomb out. +% \def\utfeightchardefs{% \DeclareUnicodeCharacter{00A0}{\tie} \DeclareUnicodeCharacter{00A1}{\exclamdown} + \DeclareUnicodeCharacter{00A2}{{\tcfont \char162}}% 0242=cent \DeclareUnicodeCharacter{00A3}{\pounds} + \DeclareUnicodeCharacter{00A4}{{\tcfont \char164}}% 0244=currency + \DeclareUnicodeCharacter{00A5}{{\tcfont \char165}}% 0245=yen + \DeclareUnicodeCharacter{00A6}{{\tcfont \char166}}% 0246=brokenbar + \DeclareUnicodeCharacter{00A7}{\S} \DeclareUnicodeCharacter{00A8}{\"{ }} \DeclareUnicodeCharacter{00A9}{\copyright} \DeclareUnicodeCharacter{00AA}{\ordf} \DeclareUnicodeCharacter{00AB}{\guillemetleft} + \DeclareUnicodeCharacter{00AC}{\ensuremath\lnot} \DeclareUnicodeCharacter{00AD}{\-} \DeclareUnicodeCharacter{00AE}{\registeredsymbol} \DeclareUnicodeCharacter{00AF}{\={ }} \DeclareUnicodeCharacter{00B0}{\ringaccent{ }} + \DeclareUnicodeCharacter{00B1}{\ensuremath\pm} + \DeclareUnicodeCharacter{00B2}{$^2$} + \DeclareUnicodeCharacter{00B3}{$^3$} \DeclareUnicodeCharacter{00B4}{\'{ }} + \DeclareUnicodeCharacter{00B5}{$\mu$} + \DeclareUnicodeCharacter{00B6}{\P} + \DeclareUnicodeCharacter{00B7}{\ensuremath\cdot} \DeclareUnicodeCharacter{00B8}{\cedilla{ }} + \DeclareUnicodeCharacter{00B9}{$^1$} \DeclareUnicodeCharacter{00BA}{\ordm} \DeclareUnicodeCharacter{00BB}{\guillemetright} + \DeclareUnicodeCharacter{00BC}{$1\over4$} + \DeclareUnicodeCharacter{00BD}{$1\over2$} + \DeclareUnicodeCharacter{00BE}{$3\over4$} \DeclareUnicodeCharacter{00BF}{\questiondown} \DeclareUnicodeCharacter{00C0}{\`A} @@ -9353,6 +9920,7 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{00D4}{\^O} \DeclareUnicodeCharacter{00D5}{\~O} \DeclareUnicodeCharacter{00D6}{\"O} + \DeclareUnicodeCharacter{00D7}{\ensuremath\times} \DeclareUnicodeCharacter{00D8}{\O} \DeclareUnicodeCharacter{00D9}{\`U} \DeclareUnicodeCharacter{00DA}{\'U} @@ -9386,6 +9954,7 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{00F4}{\^o} \DeclareUnicodeCharacter{00F5}{\~o} \DeclareUnicodeCharacter{00F6}{\"o} + \DeclareUnicodeCharacter{00F7}{\ensuremath\div} \DeclareUnicodeCharacter{00F8}{\o} \DeclareUnicodeCharacter{00F9}{\`u} \DeclareUnicodeCharacter{00FA}{\'u} @@ -9405,20 +9974,23 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{0107}{\'c} \DeclareUnicodeCharacter{0108}{\^C} \DeclareUnicodeCharacter{0109}{\^c} - \DeclareUnicodeCharacter{0118}{\ogonek{E}} - \DeclareUnicodeCharacter{0119}{\ogonek{e}} \DeclareUnicodeCharacter{010A}{\dotaccent{C}} \DeclareUnicodeCharacter{010B}{\dotaccent{c}} \DeclareUnicodeCharacter{010C}{\v{C}} \DeclareUnicodeCharacter{010D}{\v{c}} \DeclareUnicodeCharacter{010E}{\v{D}} + \DeclareUnicodeCharacter{010F}{d'} + \DeclareUnicodeCharacter{0110}{\DH} + \DeclareUnicodeCharacter{0111}{\dh} \DeclareUnicodeCharacter{0112}{\=E} \DeclareUnicodeCharacter{0113}{\=e} \DeclareUnicodeCharacter{0114}{\u{E}} \DeclareUnicodeCharacter{0115}{\u{e}} \DeclareUnicodeCharacter{0116}{\dotaccent{E}} \DeclareUnicodeCharacter{0117}{\dotaccent{e}} + \DeclareUnicodeCharacter{0118}{\ogonek{E}} + \DeclareUnicodeCharacter{0119}{\ogonek{e}} \DeclareUnicodeCharacter{011A}{\v{E}} \DeclareUnicodeCharacter{011B}{\v{e}} \DeclareUnicodeCharacter{011C}{\^G} @@ -9428,14 +10000,20 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{0120}{\dotaccent{G}} \DeclareUnicodeCharacter{0121}{\dotaccent{g}} + \DeclareUnicodeCharacter{0122}{\cedilla{G}} + \DeclareUnicodeCharacter{0123}{\cedilla{g}} \DeclareUnicodeCharacter{0124}{\^H} \DeclareUnicodeCharacter{0125}{\^h} + \DeclareUnicodeCharacter{0126}{\missingcharmsg{H WITH STROKE}} + \DeclareUnicodeCharacter{0127}{\missingcharmsg{h WITH STROKE}} \DeclareUnicodeCharacter{0128}{\~I} \DeclareUnicodeCharacter{0129}{\~{\dotless{i}}} \DeclareUnicodeCharacter{012A}{\=I} \DeclareUnicodeCharacter{012B}{\={\dotless{i}}} \DeclareUnicodeCharacter{012C}{\u{I}} \DeclareUnicodeCharacter{012D}{\u{\dotless{i}}} + \DeclareUnicodeCharacter{012E}{\ogonek{I}} + \DeclareUnicodeCharacter{012F}{\ogonek{i}} \DeclareUnicodeCharacter{0130}{\dotaccent{I}} \DeclareUnicodeCharacter{0131}{\dotless{i}} @@ -9443,15 +10021,29 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{0133}{ij} \DeclareUnicodeCharacter{0134}{\^J} \DeclareUnicodeCharacter{0135}{\^{\dotless{j}}} + \DeclareUnicodeCharacter{0136}{\cedilla{K}} + \DeclareUnicodeCharacter{0137}{\cedilla{k}} + \DeclareUnicodeCharacter{0138}{\ensuremath\kappa} \DeclareUnicodeCharacter{0139}{\'L} \DeclareUnicodeCharacter{013A}{\'l} + \DeclareUnicodeCharacter{013B}{\cedilla{L}} + \DeclareUnicodeCharacter{013C}{\cedilla{l}} + \DeclareUnicodeCharacter{013D}{L'}% should kern + \DeclareUnicodeCharacter{013E}{l'}% should kern + \DeclareUnicodeCharacter{013F}{L\U{00B7}} + \DeclareUnicodeCharacter{0140}{l\U{00B7}} \DeclareUnicodeCharacter{0141}{\L} \DeclareUnicodeCharacter{0142}{\l} \DeclareUnicodeCharacter{0143}{\'N} \DeclareUnicodeCharacter{0144}{\'n} + \DeclareUnicodeCharacter{0145}{\cedilla{N}} + \DeclareUnicodeCharacter{0146}{\cedilla{n}} \DeclareUnicodeCharacter{0147}{\v{N}} \DeclareUnicodeCharacter{0148}{\v{n}} + \DeclareUnicodeCharacter{0149}{'n} + \DeclareUnicodeCharacter{014A}{\missingcharmsg{ENG}} + \DeclareUnicodeCharacter{014B}{\missingcharmsg{eng}} \DeclareUnicodeCharacter{014C}{\=O} \DeclareUnicodeCharacter{014D}{\=o} \DeclareUnicodeCharacter{014E}{\u{O}} @@ -9463,6 +10055,8 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{0153}{\oe} \DeclareUnicodeCharacter{0154}{\'R} \DeclareUnicodeCharacter{0155}{\'r} + \DeclareUnicodeCharacter{0156}{\cedilla{R}} + \DeclareUnicodeCharacter{0157}{\cedilla{r}} \DeclareUnicodeCharacter{0158}{\v{R}} \DeclareUnicodeCharacter{0159}{\v{r}} \DeclareUnicodeCharacter{015A}{\'S} @@ -9474,10 +10068,12 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{0160}{\v{S}} \DeclareUnicodeCharacter{0161}{\v{s}} - \DeclareUnicodeCharacter{0162}{\cedilla{t}} - \DeclareUnicodeCharacter{0163}{\cedilla{T}} + \DeclareUnicodeCharacter{0162}{\cedilla{T}} + \DeclareUnicodeCharacter{0163}{\cedilla{t}} \DeclareUnicodeCharacter{0164}{\v{T}} - + \DeclareUnicodeCharacter{0165}{\v{t}} + \DeclareUnicodeCharacter{0166}{\missingcharmsg{H WITH STROKE}} + \DeclareUnicodeCharacter{0167}{\missingcharmsg{h WITH STROKE}} \DeclareUnicodeCharacter{0168}{\~U} \DeclareUnicodeCharacter{0169}{\~u} \DeclareUnicodeCharacter{016A}{\=U} @@ -9489,6 +10085,8 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{0170}{\H{U}} \DeclareUnicodeCharacter{0171}{\H{u}} + \DeclareUnicodeCharacter{0172}{\ogonek{U}} + \DeclareUnicodeCharacter{0173}{\ogonek{u}} \DeclareUnicodeCharacter{0174}{\^W} \DeclareUnicodeCharacter{0175}{\^w} \DeclareUnicodeCharacter{0176}{\^Y} @@ -9500,6 +10098,7 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{017C}{\dotaccent{z}} \DeclareUnicodeCharacter{017D}{\v{Z}} \DeclareUnicodeCharacter{017E}{\v{z}} + \DeclareUnicodeCharacter{017F}{\missingcharmsg{LONG S}} \DeclareUnicodeCharacter{01C4}{D\v{Z}} \DeclareUnicodeCharacter{01C5}{D\v{z}} @@ -9556,6 +10155,83 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{02DB}{\ogonek{ }} + % Greek letters upper case + \DeclareUnicodeCharacter{0391}{{\it A}} + \DeclareUnicodeCharacter{0392}{{\it B}} + \DeclareUnicodeCharacter{0393}{\ensuremath{\mit\Gamma}} + \DeclareUnicodeCharacter{0394}{\ensuremath{\mit\Delta}} + \DeclareUnicodeCharacter{0395}{{\it E}} + \DeclareUnicodeCharacter{0396}{{\it Z}} + \DeclareUnicodeCharacter{0397}{{\it H}} + \DeclareUnicodeCharacter{0398}{\ensuremath{\mit\Theta}} + \DeclareUnicodeCharacter{0399}{{\it I}} + \DeclareUnicodeCharacter{039A}{{\it K}} + \DeclareUnicodeCharacter{039B}{\ensuremath{\mit\Lambda}} + \DeclareUnicodeCharacter{039C}{{\it M}} + \DeclareUnicodeCharacter{039D}{{\it N}} + \DeclareUnicodeCharacter{039E}{\ensuremath{\mit\Xi}} + \DeclareUnicodeCharacter{039F}{{\it O}} + \DeclareUnicodeCharacter{03A0}{\ensuremath{\mit\Pi}} + \DeclareUnicodeCharacter{03A1}{{\it P}} + %\DeclareUnicodeCharacter{03A2}{} % none - corresponds to final sigma + \DeclareUnicodeCharacter{03A3}{\ensuremath{\mit\Sigma}} + \DeclareUnicodeCharacter{03A4}{{\it T}} + \DeclareUnicodeCharacter{03A5}{\ensuremath{\mit\Upsilon}} + \DeclareUnicodeCharacter{03A6}{\ensuremath{\mit\Phi}} + \DeclareUnicodeCharacter{03A7}{{\it X}} + \DeclareUnicodeCharacter{03A8}{\ensuremath{\mit\Psi}} + \DeclareUnicodeCharacter{03A9}{\ensuremath{\mit\Omega}} + + % Vowels with accents + \DeclareUnicodeCharacter{0390}{\ensuremath{\ddot{\acute\iota}}} + \DeclareUnicodeCharacter{03AC}{\ensuremath{\acute\alpha}} + \DeclareUnicodeCharacter{03AD}{\ensuremath{\acute\epsilon}} + \DeclareUnicodeCharacter{03AE}{\ensuremath{\acute\eta}} + \DeclareUnicodeCharacter{03AF}{\ensuremath{\acute\iota}} + \DeclareUnicodeCharacter{03B0}{\ensuremath{\acute{\ddot\upsilon}}} + + % Standalone accent + \DeclareUnicodeCharacter{0384}{\ensuremath{\acute{\ }}} + + % Greek letters lower case + \DeclareUnicodeCharacter{03B1}{\ensuremath\alpha} + \DeclareUnicodeCharacter{03B2}{\ensuremath\beta} + \DeclareUnicodeCharacter{03B3}{\ensuremath\gamma} + \DeclareUnicodeCharacter{03B4}{\ensuremath\delta} + \DeclareUnicodeCharacter{03B5}{\ensuremath\epsilon} + \DeclareUnicodeCharacter{03B6}{\ensuremath\zeta} + \DeclareUnicodeCharacter{03B7}{\ensuremath\eta} + \DeclareUnicodeCharacter{03B8}{\ensuremath\theta} + \DeclareUnicodeCharacter{03B9}{\ensuremath\iota} + \DeclareUnicodeCharacter{03BA}{\ensuremath\kappa} + \DeclareUnicodeCharacter{03BB}{\ensuremath\lambda} + \DeclareUnicodeCharacter{03BC}{\ensuremath\mu} + \DeclareUnicodeCharacter{03BD}{\ensuremath\nu} + \DeclareUnicodeCharacter{03BE}{\ensuremath\xi} + \DeclareUnicodeCharacter{03BF}{{\it o}} % omicron + \DeclareUnicodeCharacter{03C0}{\ensuremath\pi} + \DeclareUnicodeCharacter{03C1}{\ensuremath\rho} + \DeclareUnicodeCharacter{03C2}{\ensuremath\varsigma} + \DeclareUnicodeCharacter{03C3}{\ensuremath\sigma} + \DeclareUnicodeCharacter{03C4}{\ensuremath\tau} + \DeclareUnicodeCharacter{03C5}{\ensuremath\upsilon} + \DeclareUnicodeCharacter{03C6}{\ensuremath\phi} + \DeclareUnicodeCharacter{03C7}{\ensuremath\chi} + \DeclareUnicodeCharacter{03C8}{\ensuremath\psi} + \DeclareUnicodeCharacter{03C9}{\ensuremath\omega} + + % More Greek vowels with accents + \DeclareUnicodeCharacter{03CA}{\ensuremath{\ddot\iota}} + \DeclareUnicodeCharacter{03CB}{\ensuremath{\ddot\upsilon}} + \DeclareUnicodeCharacter{03CC}{\ensuremath{\acute o}} + \DeclareUnicodeCharacter{03CD}{\ensuremath{\acute\upsilon}} + \DeclareUnicodeCharacter{03CE}{\ensuremath{\acute\omega}} + + % Variant Greek letters + \DeclareUnicodeCharacter{03D1}{\ensuremath\vartheta} + \DeclareUnicodeCharacter{03D6}{\ensuremath\varpi} + \DeclareUnicodeCharacter{03F1}{\ensuremath\varrho} + \DeclareUnicodeCharacter{1E02}{\dotaccent{B}} \DeclareUnicodeCharacter{1E03}{\dotaccent{b}} \DeclareUnicodeCharacter{1E04}{\udotaccent{B}} @@ -9683,6 +10359,7 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{1EF8}{\~Y} \DeclareUnicodeCharacter{1EF9}{\~y} + % Punctuation \DeclareUnicodeCharacter{2013}{--} \DeclareUnicodeCharacter{2014}{---} \DeclareUnicodeCharacter{2018}{\quoteleft} @@ -9691,26 +10368,227 @@ directory should work if nowhere else does.} \DeclareUnicodeCharacter{201C}{\quotedblleft} \DeclareUnicodeCharacter{201D}{\quotedblright} \DeclareUnicodeCharacter{201E}{\quotedblbase} + \DeclareUnicodeCharacter{2020}{\ensuremath\dagger} + \DeclareUnicodeCharacter{2021}{\ensuremath\ddagger} \DeclareUnicodeCharacter{2022}{\bullet} + \DeclareUnicodeCharacter{202F}{\thinspace} \DeclareUnicodeCharacter{2026}{\dots} \DeclareUnicodeCharacter{2039}{\guilsinglleft} \DeclareUnicodeCharacter{203A}{\guilsinglright} + \DeclareUnicodeCharacter{20AC}{\euro} \DeclareUnicodeCharacter{2192}{\expansion} \DeclareUnicodeCharacter{21D2}{\result} + % Mathematical symbols + \DeclareUnicodeCharacter{2200}{\ensuremath\forall} + \DeclareUnicodeCharacter{2203}{\ensuremath\exists} + \DeclareUnicodeCharacter{2208}{\ensuremath\in} \DeclareUnicodeCharacter{2212}{\minus} - \DeclareUnicodeCharacter{2217}{\point} + \DeclareUnicodeCharacter{2217}{\ast} + \DeclareUnicodeCharacter{221E}{\ensuremath\infty} + \DeclareUnicodeCharacter{2225}{\ensuremath\parallel} + \DeclareUnicodeCharacter{2227}{\ensuremath\wedge} + \DeclareUnicodeCharacter{2229}{\ensuremath\cap} \DeclareUnicodeCharacter{2261}{\equiv} + \DeclareUnicodeCharacter{2264}{\ensuremath\leq} + \DeclareUnicodeCharacter{2265}{\ensuremath\geq} + \DeclareUnicodeCharacter{2282}{\ensuremath\subset} + \DeclareUnicodeCharacter{2287}{\ensuremath\supseteq} + + \DeclareUnicodeCharacter{2016}{\ensuremath\Vert} + \DeclareUnicodeCharacter{2032}{\ensuremath\prime} + \DeclareUnicodeCharacter{210F}{\ensuremath\hbar} + \DeclareUnicodeCharacter{2111}{\ensuremath\Im} + \DeclareUnicodeCharacter{2113}{\ensuremath\ell} + \DeclareUnicodeCharacter{2118}{\ensuremath\wp} + \DeclareUnicodeCharacter{211C}{\ensuremath\Re} + \DeclareUnicodeCharacter{2127}{\ensuremath\mho} + \DeclareUnicodeCharacter{2135}{\ensuremath\aleph} + \DeclareUnicodeCharacter{2190}{\ensuremath\leftarrow} + \DeclareUnicodeCharacter{2191}{\ensuremath\uparrow} + \DeclareUnicodeCharacter{2193}{\ensuremath\downarrow} + \DeclareUnicodeCharacter{2194}{\ensuremath\leftrightarrow} + \DeclareUnicodeCharacter{2195}{\ensuremath\updownarrow} + \DeclareUnicodeCharacter{2196}{\ensuremath\nwarrow} + \DeclareUnicodeCharacter{2197}{\ensuremath\nearrow} + \DeclareUnicodeCharacter{2198}{\ensuremath\searrow} + \DeclareUnicodeCharacter{2199}{\ensuremath\swarrow} + \DeclareUnicodeCharacter{21A6}{\ensuremath\mapsto} + \DeclareUnicodeCharacter{21A9}{\ensuremath\hookleftarrow} + \DeclareUnicodeCharacter{21AA}{\ensuremath\hookrightarrow} + \DeclareUnicodeCharacter{21BC}{\ensuremath\leftharpoonup} + \DeclareUnicodeCharacter{21BD}{\ensuremath\leftharpoondown} + \DeclareUnicodeCharacter{21BE}{\ensuremath\upharpoonright} + \DeclareUnicodeCharacter{21C0}{\ensuremath\rightharpoonup} + \DeclareUnicodeCharacter{21C1}{\ensuremath\rightharpoondown} + \DeclareUnicodeCharacter{21CC}{\ensuremath\rightleftharpoons} + \DeclareUnicodeCharacter{21D0}{\ensuremath\Leftarrow} + \DeclareUnicodeCharacter{21D1}{\ensuremath\Uparrow} + \DeclareUnicodeCharacter{21D3}{\ensuremath\Downarrow} + \DeclareUnicodeCharacter{21D4}{\ensuremath\Leftrightarrow} + \DeclareUnicodeCharacter{21D5}{\ensuremath\Updownarrow} + \DeclareUnicodeCharacter{21DD}{\ensuremath\leadsto} + \DeclareUnicodeCharacter{2201}{\ensuremath\complement} + \DeclareUnicodeCharacter{2202}{\ensuremath\partial} + \DeclareUnicodeCharacter{2205}{\ensuremath\emptyset} + \DeclareUnicodeCharacter{2207}{\ensuremath\nabla} + \DeclareUnicodeCharacter{2209}{\ensuremath\notin} + \DeclareUnicodeCharacter{220B}{\ensuremath\owns} + \DeclareUnicodeCharacter{220F}{\ensuremath\prod} + \DeclareUnicodeCharacter{2210}{\ensuremath\coprod} + \DeclareUnicodeCharacter{2211}{\ensuremath\sum} + \DeclareUnicodeCharacter{2213}{\ensuremath\mp} + \DeclareUnicodeCharacter{2218}{\ensuremath\circ} + \DeclareUnicodeCharacter{221A}{\ensuremath\surd} + \DeclareUnicodeCharacter{221D}{\ensuremath\propto} + \DeclareUnicodeCharacter{2220}{\ensuremath\angle} + \DeclareUnicodeCharacter{2223}{\ensuremath\mid} + \DeclareUnicodeCharacter{2228}{\ensuremath\vee} + \DeclareUnicodeCharacter{222A}{\ensuremath\cup} + \DeclareUnicodeCharacter{222B}{\ensuremath\smallint} + \DeclareUnicodeCharacter{222E}{\ensuremath\oint} + \DeclareUnicodeCharacter{223C}{\ensuremath\sim} + \DeclareUnicodeCharacter{2240}{\ensuremath\wr} + \DeclareUnicodeCharacter{2243}{\ensuremath\simeq} + \DeclareUnicodeCharacter{2245}{\ensuremath\cong} + \DeclareUnicodeCharacter{2248}{\ensuremath\approx} + \DeclareUnicodeCharacter{224D}{\ensuremath\asymp} + \DeclareUnicodeCharacter{2250}{\ensuremath\doteq} + \DeclareUnicodeCharacter{2260}{\ensuremath\neq} + \DeclareUnicodeCharacter{226A}{\ensuremath\ll} + \DeclareUnicodeCharacter{226B}{\ensuremath\gg} + \DeclareUnicodeCharacter{227A}{\ensuremath\prec} + \DeclareUnicodeCharacter{227B}{\ensuremath\succ} + \DeclareUnicodeCharacter{2283}{\ensuremath\supset} + \DeclareUnicodeCharacter{2286}{\ensuremath\subseteq} + \DeclareUnicodeCharacter{228E}{\ensuremath\uplus} + \DeclareUnicodeCharacter{228F}{\ensuremath\sqsubset} + \DeclareUnicodeCharacter{2290}{\ensuremath\sqsupset} + \DeclareUnicodeCharacter{2291}{\ensuremath\sqsubseteq} + \DeclareUnicodeCharacter{2292}{\ensuremath\sqsupseteq} + \DeclareUnicodeCharacter{2293}{\ensuremath\sqcap} + \DeclareUnicodeCharacter{2294}{\ensuremath\sqcup} + \DeclareUnicodeCharacter{2295}{\ensuremath\oplus} + \DeclareUnicodeCharacter{2296}{\ensuremath\ominus} + \DeclareUnicodeCharacter{2297}{\ensuremath\otimes} + \DeclareUnicodeCharacter{2298}{\ensuremath\oslash} + \DeclareUnicodeCharacter{2299}{\ensuremath\odot} + \DeclareUnicodeCharacter{22A2}{\ensuremath\vdash} + \DeclareUnicodeCharacter{22A3}{\ensuremath\dashv} + \DeclareUnicodeCharacter{22A4}{\ensuremath\ptextop} + \DeclareUnicodeCharacter{22A5}{\ensuremath\bot} + \DeclareUnicodeCharacter{22A8}{\ensuremath\models} + \DeclareUnicodeCharacter{22B4}{\ensuremath\unlhd} + \DeclareUnicodeCharacter{22B5}{\ensuremath\unrhd} + \DeclareUnicodeCharacter{22C0}{\ensuremath\bigwedge} + \DeclareUnicodeCharacter{22C1}{\ensuremath\bigvee} + \DeclareUnicodeCharacter{22C2}{\ensuremath\bigcap} + \DeclareUnicodeCharacter{22C3}{\ensuremath\bigcup} + \DeclareUnicodeCharacter{22C4}{\ensuremath\diamond} + \DeclareUnicodeCharacter{22C5}{\ensuremath\cdot} + \DeclareUnicodeCharacter{22C6}{\ensuremath\star} + \DeclareUnicodeCharacter{22C8}{\ensuremath\bowtie} + \DeclareUnicodeCharacter{2308}{\ensuremath\lceil} + \DeclareUnicodeCharacter{2309}{\ensuremath\rceil} + \DeclareUnicodeCharacter{230A}{\ensuremath\lfloor} + \DeclareUnicodeCharacter{230B}{\ensuremath\rfloor} + \DeclareUnicodeCharacter{2322}{\ensuremath\frown} + \DeclareUnicodeCharacter{2323}{\ensuremath\smile} + + \DeclareUnicodeCharacter{25A1}{\ensuremath\Box} + \DeclareUnicodeCharacter{25B3}{\ensuremath\triangle} + \DeclareUnicodeCharacter{25B7}{\ensuremath\triangleright} + \DeclareUnicodeCharacter{25BD}{\ensuremath\bigtriangledown} + \DeclareUnicodeCharacter{25C1}{\ensuremath\triangleleft} + \DeclareUnicodeCharacter{25C7}{\ensuremath\Diamond} + \DeclareUnicodeCharacter{2660}{\ensuremath\spadesuit} + \DeclareUnicodeCharacter{2661}{\ensuremath\heartsuit} + \DeclareUnicodeCharacter{2662}{\ensuremath\diamondsuit} + \DeclareUnicodeCharacter{2663}{\ensuremath\clubsuit} + \DeclareUnicodeCharacter{266D}{\ensuremath\flat} + \DeclareUnicodeCharacter{266E}{\ensuremath\natural} + \DeclareUnicodeCharacter{266F}{\ensuremath\sharp} + \DeclareUnicodeCharacter{26AA}{\ensuremath\bigcirc} + \DeclareUnicodeCharacter{27B9}{\ensuremath\rangle} + \DeclareUnicodeCharacter{27C2}{\ensuremath\perp} + \DeclareUnicodeCharacter{27E8}{\ensuremath\langle} + \DeclareUnicodeCharacter{27F5}{\ensuremath\longleftarrow} + \DeclareUnicodeCharacter{27F6}{\ensuremath\longrightarrow} + \DeclareUnicodeCharacter{27F7}{\ensuremath\longleftrightarrow} + \DeclareUnicodeCharacter{27FC}{\ensuremath\longmapsto} + \DeclareUnicodeCharacter{29F5}{\ensuremath\setminus} + \DeclareUnicodeCharacter{2A00}{\ensuremath\bigodot} + \DeclareUnicodeCharacter{2A01}{\ensuremath\bigoplus} + \DeclareUnicodeCharacter{2A02}{\ensuremath\bigotimes} + \DeclareUnicodeCharacter{2A04}{\ensuremath\biguplus} + \DeclareUnicodeCharacter{2A06}{\ensuremath\bigsqcup} + \DeclareUnicodeCharacter{2A1D}{\ensuremath\Join} + \DeclareUnicodeCharacter{2A3F}{\ensuremath\amalg} + \DeclareUnicodeCharacter{2AAF}{\ensuremath\preceq} + \DeclareUnicodeCharacter{2AB0}{\ensuremath\succeq} + + \global\mathchardef\checkmark="1370 % actually the square root sign + \DeclareUnicodeCharacter{2713}{\ensuremath\checkmark} }% end of \utfeightchardefs - % US-ASCII character definitions. \def\asciichardefs{% nothing need be done \relax } +% Latin1 (ISO-8859-1) character definitions. +\def\nonasciistringdefs{% + \setnonasciicharscatcode\active + \def\defstringchar##1{\def##1{\string##1}}% + % + \defstringchar^^80\defstringchar^^81\defstringchar^^82\defstringchar^^83% + \defstringchar^^84\defstringchar^^85\defstringchar^^86\defstringchar^^87% + \defstringchar^^88\defstringchar^^89\defstringchar^^8a\defstringchar^^8b% + \defstringchar^^8c\defstringchar^^8d\defstringchar^^8e\defstringchar^^8f% + % + \defstringchar^^90\defstringchar^^91\defstringchar^^92\defstringchar^^93% + \defstringchar^^94\defstringchar^^95\defstringchar^^96\defstringchar^^97% + \defstringchar^^98\defstringchar^^99\defstringchar^^9a\defstringchar^^9b% + \defstringchar^^9c\defstringchar^^9d\defstringchar^^9e\defstringchar^^9f% + % + \defstringchar^^a0\defstringchar^^a1\defstringchar^^a2\defstringchar^^a3% + \defstringchar^^a4\defstringchar^^a5\defstringchar^^a6\defstringchar^^a7% + \defstringchar^^a8\defstringchar^^a9\defstringchar^^aa\defstringchar^^ab% + \defstringchar^^ac\defstringchar^^ad\defstringchar^^ae\defstringchar^^af% + % + \defstringchar^^b0\defstringchar^^b1\defstringchar^^b2\defstringchar^^b3% + \defstringchar^^b4\defstringchar^^b5\defstringchar^^b6\defstringchar^^b7% + \defstringchar^^b8\defstringchar^^b9\defstringchar^^ba\defstringchar^^bb% + \defstringchar^^bc\defstringchar^^bd\defstringchar^^be\defstringchar^^bf% + % + \defstringchar^^c0\defstringchar^^c1\defstringchar^^c2\defstringchar^^c3% + \defstringchar^^c4\defstringchar^^c5\defstringchar^^c6\defstringchar^^c7% + \defstringchar^^c8\defstringchar^^c9\defstringchar^^ca\defstringchar^^cb% + \defstringchar^^cc\defstringchar^^cd\defstringchar^^ce\defstringchar^^cf% + % + \defstringchar^^d0\defstringchar^^d1\defstringchar^^d2\defstringchar^^d3% + \defstringchar^^d4\defstringchar^^d5\defstringchar^^d6\defstringchar^^d7% + \defstringchar^^d8\defstringchar^^d9\defstringchar^^da\defstringchar^^db% + \defstringchar^^dc\defstringchar^^dd\defstringchar^^de\defstringchar^^df% + % + \defstringchar^^e0\defstringchar^^e1\defstringchar^^e2\defstringchar^^e3% + \defstringchar^^e4\defstringchar^^e5\defstringchar^^e6\defstringchar^^e7% + \defstringchar^^e8\defstringchar^^e9\defstringchar^^ea\defstringchar^^eb% + \defstringchar^^ec\defstringchar^^ed\defstringchar^^ee\defstringchar^^ef% + % + \defstringchar^^f0\defstringchar^^f1\defstringchar^^f2\defstringchar^^f3% + \defstringchar^^f4\defstringchar^^f5\defstringchar^^f6\defstringchar^^f7% + \defstringchar^^f8\defstringchar^^f9\defstringchar^^fa\defstringchar^^fb% + \defstringchar^^fc\defstringchar^^fd\defstringchar^^fe\defstringchar^^ff% +} + + +% define all the unicode characters we know about, for the sake of @U. +\utfeightchardefs + + % Make non-ASCII characters printable again for compatibility with % existing Texinfo documents that may use them, even without declaring a % document encoding. @@ -9979,8 +10857,8 @@ directory should work if nowhere else does.} \def\activedoublequote{{\tt\char34}} \let"=\activedoublequote \catcode`\~=\active \def\activetilde{{\tt\char126}} \let~ = \activetilde -\chardef\hat=`\^ -\catcode`\^=\active \def\activehat{{\tt \hat}} \let^ = \activehat +\chardef\hatchar=`\^ +\catcode`\^=\active \def\activehat{{\tt \hatchar}} \let^ = \activehat \catcode`\_=\active \def_{\ifusingtt\normalunderscore\_} @@ -9997,6 +10875,8 @@ directory should work if nowhere else does.} \catcode`\>=\active \def\activegtr{{\tt \gtr}}\let> = \activegtr \catcode`\+=\active \def+{{\tt \char 43}} \catcode`\$=\active \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix +\catcode`\-=\active \let-=\normaldash + % used for headline/footline in the output routine, in case the page % breaks in the middle of an @tex block. @@ -10011,12 +10891,6 @@ directory should work if nowhere else does.} % in principle, all other definitions in \tex have to be undone too. } -% If a .fmt file is being used, characters that might appear in a file -% name cannot be active until we have parsed the command line. -% So turn them off again, and have \everyjob (or @setfilename) turn them on. -% \otherifyactive is called near the end of this file. -\def\otherifyactive{\catcode`+=\other \catcode`\_=\other} - % Used sometimes to turn off (effectively) the active characters even after % parsing them. \def\turnoffactive{% @@ -10035,23 +10909,22 @@ directory should work if nowhere else does.} % \doublebackslash is two of them (for the pdf outlines). {\catcode`\\=\other @gdef@realbackslash{\} @gdef@doublebackslash{\\}} -% In texinfo, backslash is an active character; it prints the backslash +% In Texinfo, backslash is an active character; it prints the backslash % in fixed width font. \catcode`\\=\active % @ for escape char from now on. -% The story here is that in math mode, the \char of \backslashcurfont -% ends up printing the roman \ from the math symbol font (because \char -% in math mode uses the \mathcode, and plain.tex sets -% \mathcode`\\="026E). It seems better for @backslashchar{} to always -% print a typewriter backslash, hence we use an explicit \mathchar, +% Print a typewriter backslash. For math mode, we can't simply use +% \backslashcurfont: the story here is that in math mode, the \char +% of \backslashcurfont ends up printing the roman \ from the math symbol +% font (because \char in math mode uses the \mathcode, and plain.tex +% sets \mathcode`\\="026E). Hence we use an explicit \mathchar, % which is the decimal equivalent of "715c (class 7, e.g., use \fam; % ignored family value; char position "5C). We can't use " for the % usual hex value because it has already been made active. -@def@normalbackslash{{@tt @ifmmode @mathchar29020 @else @backslashcurfont @fi}} -@let@backslashchar = @normalbackslash % @backslashchar{} is for user documents. -% On startup, @fixbackslash assigns: -% @let \ = @normalbackslash +@def@ttbackslash{{@tt @ifmmode @mathchar29020 @else @backslashcurfont @fi}} +@let@backslashchar = @ttbackslash % @backslashchar{} is for user documents. + % \rawbackslash defines an active \ to do \backslashcurfont. % \otherbackslash defines an active \ to be a literal `\' character with % catcode other. We switch back and forth between these. @@ -10059,51 +10932,77 @@ directory should work if nowhere else does.} @gdef@otherbackslash{@let\=@realbackslash} % Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of -% the literal character `\'. Also revert - to its normal character, in -% case the active - from code has slipped in. +% the literal character `\'. % {@catcode`- = @active @gdef@normalturnoffactive{% + @nonasciistringdefs @let-=@normaldash @let"=@normaldoublequote @let$=@normaldollar %$ font-lock fix @let+=@normalplus @let<=@normalless @let>=@normalgreater - @let\=@normalbackslash @let^=@normalcaret @let_=@normalunderscore @let|=@normalverticalbar @let~=@normaltilde + @let\=@ttbackslash @markupsetuplqdefault @markupsetuprqdefault @unsepspaces } } -% Make _ and + \other characters, temporarily. -% This is canceled by @fixbackslash. -@otherifyactive +% If a .fmt file is being used, characters that might appear in a file +% name cannot be active until we have parsed the command line. +% So turn them off again, and have @fixbackslash turn them back on. +@catcode`+=@other @catcode`@_=@other +% \enablebackslashhack - allow file to begin `\input texinfo' +% % If a .fmt file is being used, we don't want the `\input texinfo' to show up. % That is what \eatinput is for; after that, the `\' should revert to printing % a backslash. -% -@gdef@eatinput input texinfo{@fixbackslash} -@global@let\ = @eatinput +% If the file did not have a `\input texinfo', then it is turned off after +% the first line; otherwise the first `\' in the file would cause an error. +% This is used on the very last line of this file, texinfo.tex. +% We also use @c to call @fixbackslash, in case ends of lines are hidden. +{ +@catcode`@^=7 +@catcode`@^^M=13@gdef@enablebackslashhack{% + @global@let\ = @eatinput% + @catcode`@^^M=13% + @def@c{@fixbackslash@c}% + @def ^^M{@let^^M@secondlinenl}% + @gdef @secondlinenl{@let^^M@thirdlinenl}% + @gdef @thirdlinenl{@fixbackslash}% +}} + +{@catcode`@^=7 @catcode`@^^M=13% +@gdef@eatinput input texinfo#1^^M{@fixbackslash}} -% On the other hand, perhaps the file did not have a `\input texinfo'. Then -% the first `\' in the file would cause an error. This macro tries to fix -% that, assuming it is called before the first `\' could plausibly occur. -% Also turn back on active characters that might appear in the input -% file name, in case not using a pre-dumped format. -% @gdef@fixbackslash{% - @ifx\@eatinput @let\ = @normalbackslash @fi + @ifx\@eatinput @let\ = @ttbackslash @fi + @catcode13=5 % regular end of line + @let@c=@texinfoc + % Also turn back on active characters that might appear in the input + % file name, in case not using a pre-dumped format. @catcode`+=@active @catcode`@_=@active + % + % If texinfo.cnf is present on the system, read it. + % Useful for site-wide @afourpaper, etc. This macro, @fixbackslash, gets + % called at the beginning of every Texinfo file. Not opening texinfo.cnf + % directly in this file, texinfo.tex, makes it possible to make a format + % file for Texinfo. + % + @openin 1 texinfo.cnf + @ifeof 1 @else @input texinfo.cnf @fi + @closein 1 } + % Say @foo, not \foo, in error messages. @escapechar = `@@ @@ -10132,7 +11031,7 @@ directory should work if nowhere else does.} @c Local variables: @c eval: (add-hook 'write-file-hooks 'time-stamp) -@c page-delimiter: "^\\\\message" +@c page-delimiter: "^\\\\message\\|emacs-page" @c time-stamp-start: "def\\\\texinfoversion{" @c time-stamp-format: "%:y-%02m-%02d.%02H" @c time-stamp-end: "}" @@ -10143,3 +11042,4 @@ directory should work if nowhere else does.} @ignore arch-tag: e1b36e32-c96e-4135-a41a-0b2efa2ea115 @end ignore +@enablebackslashhack diff --git a/doc/version.texi b/doc/version.texi index 5f71e558d..90bdb3e1f 100644 --- a/doc/version.texi +++ b/doc/version.texi @@ -1,10 +1,11 @@ @ignore -Copyright (C) 1988-2014 Free Software Foundation, Inc. +Copyright (C) 1988-2016 Free Software Foundation, Inc. @end ignore -@set LASTCHANGE Sun Feb 2 16:22:00 EST 2014 +@set LASTCHANGE Wed Sep 7 17:12:22 EDT 2016 -@set EDITION 4.3 -@set VERSION 4.3 -@set UPDATED 2 February 2014 -@set UPDATED-MONTH February 2014 +@set EDITION 4.4 +@set VERSION 4.4 + +@set UPDATED 7 September 2016 +@set UPDATED-MONTH September 2016 diff --git a/error.c b/error.c index 64c4f411a..b05c39eb1 100644 --- a/error.c +++ b/error.c @@ -272,6 +272,29 @@ internal_warning (format, va_alist) va_end (args); } +void +#if defined (PREFER_STDARG) +internal_inform (const char *format, ...) +#else +internal_inform (format, va_alist) + const char *format; + va_dcl +#endif +{ + va_list args; + + error_prolog (1); + /* TRANSLATORS: this is a prefix for informational messages. */ + fprintf (stderr, _("INFORM: ")); + + SH_VA_START (args, format); + + vfprintf (stderr, format, args); + fprintf (stderr, "\n"); + + va_end (args); +} + void #if defined (PREFER_STDARG) sys_error (const char *format, ...) diff --git a/error.h b/error.h index 4b17577e6..964c1123f 100644 --- a/error.h +++ b/error.h @@ -50,6 +50,9 @@ extern void internal_error __P((const char *, ...)) __attribute__((__format__ ( /* Report an internal warning. */ extern void internal_warning __P((const char *, ...)) __attribute__((__format__ (printf, 1, 2))); +/* Report an internal informational notice. */ +extern void internal_inform __P((const char *, ...)) __attribute__((__format__ (printf, 1, 2))); + /* Debugging functions, not enabled in released version. */ extern char *strescape __P((const char *)); extern void itrace __P((const char *, ...)) __attribute__ ((__format__ (printf, 1, 2))); diff --git a/eval.c b/eval.c index 1f65aacac..db863e72f 100644 --- a/eval.c +++ b/eval.c @@ -30,6 +30,8 @@ #include "bashansi.h" #include +#include + #include "bashintl.h" #include "shell.h" @@ -53,6 +55,7 @@ extern int last_command_exit_value, stdin_redir; extern int need_here_doc; extern int current_command_number, current_command_line_count, line_number; extern int expand_aliases; +extern char *ps0_prompt; #if defined (HAVE_POSIX_SIGNALS) extern sigset_t top_level_mask; @@ -85,7 +88,8 @@ reader_loop () unlink_fifo_list (); #endif /* PROCESS_SUBSTITUTION */ - /* XXX - why do we set this every time through the loop? */ + /* XXX - why do we set this every time through the loop? And why do + it if SIGINT is trapped in an interactive shell? */ if (interactive_shell && signal_is_ignored (SIGINT) == 0) set_signal_handler (SIGINT, sigint_sighandler); @@ -157,6 +161,22 @@ reader_loop () executing = 1; stdin_redir = 0; + + /* If the shell is interactive, expand and display $PS0 after reading a + command (possibly a list or pipeline) and before executing it. */ + if (interactive && ps0_prompt) + { + char *ps0_string; + + ps0_string = decode_prompt_string (ps0_prompt); + if (ps0_string && *ps0_string) + { + fprintf (stderr, "%s", ps0_string); + fflush (stderr); + } + free (ps0_string); + } + execute_command (current_command); exec_done: @@ -224,7 +244,10 @@ parse_command () /* Allow the execution of a random command just before the printing of each primary prompt. If the shell variable PROMPT_COMMAND is set then the value of it is the command to execute. */ - if (interactive && bash_input.type != st_string) + /* The tests are a combination of SHOULD_PROMPT() and prompt_again() + from parse.y, which are the conditions under which the prompt is + actually printed. */ + if (interactive && bash_input.type != st_string && parser_expanding_alias() == 0) { command_to_execute = get_string_value ("PROMPT_COMMAND"); if (command_to_execute) diff --git a/examples/functions/dirstack b/examples/functions/dirstack new file mode 100644 index 000000000..d68e6198f --- /dev/null +++ b/examples/functions/dirstack @@ -0,0 +1,160 @@ +#!/bin/bash +# @(#) dirstack + +### +# Another implementation of the directory manipulation functions +# published in the Bolsky & Korn book : "The new Korn shell" : +# cd, to change current directory +# d, to display the stack content +# Eric Sanchis (eric.sanchis@iut-rodez.fr), 2012 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +### + + +shopt -s expand_aliases +shopt -s extglob +shopt -s cdable_vars + +alias integer='declare -i' + +integer MAX=32 +integer INDMAX=MAX-1 +integer INDTOP=0 + +unalias cd 2>/dev/null +alias cd=cdir + +unset tab +tab[INDTOP]="$(pwd)" + + +function cdir +{ + local -i ind + local dir + +dir="${1:-$HOME}" +case "$dir" in + - ) # cd - => equivalent to : cd -1 + ind=INDTOP-1 + cd_by_number $ind + ;; + -+([[:digit:]]) ) # cd -n + ind=$INDTOP-${dir#-} + cd_by_number $ind + ;; + *) # cd ~ or cd dir_name + cd_by_name "$dir" +esac +} + + +function cd_by_number +{ + local -i k=$1 + local -i j + local dirtmp + +if (( k < 0 )) + then + echo Impossible to change directory >&2 + return 1 + else + dirtmp="${tab[k]}" + j=k+1 + while (( j <= INDTOP )) + do + tab[j-1]="${tab[j]}" + j=j+1 + done + tab[INDTOP]="$dirtmp" + \cd "${tab[INDTOP]}" +fi +} + + +function cd_by_name +{ + local -i i + local rep + +rep=$( \cd "$1" &>/dev/null && pwd) +if [[ -z "$rep" ]] + then + echo cd : "$1" unknown >&2 + return 1 +fi + + i=$INDTOP + while (( i >= 0 )) + do + if [[ "${tab[i]}" == "$rep" ]] + then break + fi + i=i-1 + done + +if (( i == INDTOP )) + then # cd -0 => we do nothing ! + return 0 + elif (( i == -1 )) + then # the directory isn't in the stack + if (( INDTOP == INDMAX )) + then # the stack is FULL + # the oldest directory is removed + local -i m + + m=1 + while (( m <= INDMAX )) + do + tab[m-1]="${tab[m]}" + m=m+1 + done + else # the new directory is added to the top of the stack + INDTOP=INDTOP+1 + fi + tab[INDTOP]="$rep" + \cd "${tab[INDTOP]}" + return 0 + + else # the directory is already in the stack + # $i gives its index + cd_by_number $i +fi +} + + +function d # display the directory stack +{ + local -i i + local rep + +i=0 +while (( $i <= $INDTOP )) + do + rep="${tab[INDTOP-i]#$HOME/}" + case "$rep" in + $HOME) rep="~" ;; + /* ) : ;; + * ) rep="~/$rep" + esac + + echo "$i ) $rep" + i=i+1 + done +} + + diff --git a/examples/loadables/Makefile.in b/examples/loadables/Makefile.in index 99549bf36..ec305cdaf 100644 --- a/examples/loadables/Makefile.in +++ b/examples/loadables/Makefile.in @@ -1,7 +1,7 @@ # # Simple makefile for the sample loadable builtins # -# Copyright (C) 1996-2009 Free Software Foundation, Inc. +# Copyright (C) 1996-2015 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,6 +17,9 @@ # along with this program. If not, see . # +PACKAGE = @PACKAGE_NAME@ +VERSION = @PACKAGE_VERSION@ + # Include some boilerplate Gnu makefile definitions. prefix = @prefix@ @@ -28,10 +31,22 @@ includedir = @includedir@ datarootdir = @datarootdir@ +loadablesdir = @loadablesdir@ +headersdir = @headersdir@ + topdir = @top_srcdir@ BUILD_DIR = @BUILD_DIR@ srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ + +# Support an alternate destination root directory for package building +DESTDIR = + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALLMODE= -m 0755 @SET_MAKE@ CC = @CC@ @@ -52,6 +67,8 @@ CPPFLAGS = @CPPFLAGS@ BASHINCDIR = ${topdir}/include +SUPPORT_SRC = $(topdir)/support/ + LIBBUILD = ${BUILD_DIR}/lib INTL_LIBSRC = ${topdir}/lib/intl @@ -75,7 +92,7 @@ SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@ SHOBJ_LIBS = @SHOBJ_LIBS@ SHOBJ_STATUS = @SHOBJ_STATUS@ -INC = -I. -I.. -I$(topdir) -I$(topdir)/lib -I$(topdir)/builtins \ +INC = -I. -I.. -I$(topdir) -I$(topdir)/lib -I$(topdir)/builtins -I${srcdir} \ -I$(BASHINCDIR) -I$(BUILD_DIR) -I$(LIBBUILD) \ -I$(BUILD_DIR)/builtins $(INTL_INC) @@ -83,10 +100,10 @@ INC = -I. -I.. -I$(topdir) -I$(topdir)/lib -I$(topdir)/builtins \ $(SHOBJ_CC) $(SHOBJ_CFLAGS) $(CCFLAGS) $(INC) -c -o $@ $< -ALLPROG = print truefalse sleep pushd finfo logname basename dirname \ +ALLPROG = print truefalse sleep finfo logname basename dirname \ tty pathchk tee head mkdir rmdir printenv id whoami \ - uname sync push ln unlink realpath strftime mypid -OTHERPROG = necho hello cat + uname sync push ln unlink realpath strftime mypid setpgid +OTHERPROG = necho hello cat pushd all: $(SHOBJ_STATUS) @@ -98,7 +115,7 @@ unsupported: @echo "${topdir}/support/shobj-conf script." @echo "If your operating system provides facilities for dynamic" @echo "loading of shared objects using the dlopen(3) interface," - @echo "please update the script and re-run configure. + @echo "please update the script and re-run configure." @echo "Please send the changes you made to bash-maintainers@gnu.org" @echo "for inclusion in future bash releases." @@ -185,6 +202,10 @@ strftime: strftime.o mypid: mypid.o $(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ mypid.o $(SHOBJ_LIBS) + +setpgid: setpgid.o + $(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ setpgid.o $(SHOBJ_LIBS) + # pushd is a special case. We use the same source that the builtin version # uses, with special compilation options. # @@ -207,9 +228,36 @@ mostlyclean: clean -( cd perl && ${MAKE} ${MFLAGS} $@ ) distclean maintainer-clean: clean - $(RM) Makefile pushd.c + $(RM) Makefile Makefile.inc pushd.c -( cd perl && ${MAKE} ${MFLAGS} $@ ) +installdirs: + @${SHELL} $(SUPPORT_SRC)mkinstalldirs $(DESTDIR)$(loadablesdir) + +install-dev: installdirs + @$(INSTALL_DATA) Makefile.inc $(DESTDIR)$(loadablesdir)/Makefile.inc + @( cd $(BUILD_DIR) && ${MAKE} ${MFLAGS} DESTDIR="$(DESTDIR)" install-headers) + +install-supported: all installdirs install-dev + @echo installing example loadable builtins in $(DESTDIR)${loadablesdir} + @for prog in ${ALLPROG}; do \ + echo $$prog ; \ + $(INSTALL_PROGRAM) $(INSTALLMODE) $$prog $(DESTDIR)$(loadablesdir)/$$prog ;\ + done + +uninstall-dev: + -$(RM) $(DESTDIR)$(loadablesdir)/Makefile.inc + -( cd $(BUILD_DIR) && ${MAKE} ${MFLAGS} DESTDIR="$(DESTDIR)" uninstall-headers) + +uninstall-supported: uninstall-dev + -( cd $(DESTDIR)${loadablesdir} && $(RM) ${ALLPROG} ) + +install-unsupported: +uninstall-unsupported: + +install: install-$(SHOBJ_STATUS) +uninstall: uninstall-$(SHOBJ_STATUS) + print.o: print.c truefalse.o: truefalse.c sleep.o: sleep.c @@ -234,4 +282,4 @@ push.o: push.c mkdir.o: mkdir.c realpath.o: realpath.c strftime.o: strftime.c -mypid.o: mypid.c +setpgid.o: setpgid.c diff --git a/examples/loadables/Makefile.inc.in b/examples/loadables/Makefile.inc.in new file mode 100644 index 000000000..8b419a78d --- /dev/null +++ b/examples/loadables/Makefile.inc.in @@ -0,0 +1,108 @@ +# +# Sample makefile for bash loadable builtin development +# +# Copyright (C) 2015 Free Software Foundation, Inc. + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + +PACKAGE = @PACKAGE_NAME@ +VERSION = @PACKAGE_VERSION@ + +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ + +# Include some boilerplate Gnu makefile definitions. +prefix = @prefix@ + +exec_prefix = @exec_prefix@ +bindir = @bindir@ +libdir = @libdir@ +infodir = @infodir@ +includedir = @includedir@ + +datarootdir = @datarootdir@ + +loadablesdir = @loadablesdir@ +headersdir = @headersdir@ + +topdir = @top_srcdir@ +BUILD_DIR = @BUILD_DIR@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +# Support an alternate destination root directory for package building +DESTDIR = + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALLMODE= -m 0755 + +@SET_MAKE@ +CC = @CC@ +RM = rm -f + +SHELL = @MAKE_SHELL@ + +host_os = @host_os@ +host_cpu = @host_cpu@ +host_vendor = @host_vendor@ + +CFLAGS = @CFLAGS@ +LOCAL_CFLAGS = @LOCAL_CFLAGS@ +DEFS = @DEFS@ +LOCAL_DEFS = @LOCAL_DEFS@ + +CPPFLAGS = @CPPFLAGS@ + +BASHINCDIR = ${topdir}/include + +SUPPORT_SRC = $(topdir)/support/ + +LIBBUILD = ${BUILD_DIR}/lib + +INTL_LIBSRC = ${topdir}/lib/intl +INTL_BUILDDIR = ${LIBBUILD}/intl +INTL_INC = @INTL_INC@ +LIBINTL_H = @LIBINTL_H@ + +CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(LOCAL_CFLAGS) $(CFLAGS) + +# +# These values are generated for configure by ${topdir}/support/shobj-conf. +# If your system is not supported by that script, but includes facilities for +# dynamic loading of shared objects, please update the script and send the +# changes to bash-maintainers@gnu.org. +# +SHOBJ_CC = @SHOBJ_CC@ +SHOBJ_CFLAGS = @SHOBJ_CFLAGS@ +SHOBJ_LD = @SHOBJ_LD@ +SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@ @LDFLAGS@ +SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@ +SHOBJ_LIBS = @SHOBJ_LIBS@ +SHOBJ_STATUS = @SHOBJ_STATUS@ + +INC = -I$(headersdir) -I$(headersdir)/include -I$(headersdir)/builtins + +.c.o: + $(SHOBJ_CC) $(SHOBJ_CFLAGS) $(CCFLAGS) $(INC) -c -o $@ $< + +all: example + +example: example.o + $(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ example.o $(SHOBJ_LIBS) + +example.o: example.c diff --git a/examples/loadables/README b/examples/loadables/README index d29b43a15..2eae9cc66 100644 --- a/examples/loadables/README +++ b/examples/loadables/README @@ -34,18 +34,17 @@ new loadable builtins. basename.c Return non-directory portion of pathname. cat.c cat(1) replacement with no options - the way cat was intended. -cut.c cut(1) replacement. dirname.c Return directory portion of pathname. finfo.c Print file info. -getconf.c POSIX.2 getconf utility. -getconf.h Replacement definitions for ones the system doesn't provide. head.c Copy first part of files. hello.c Obligatory "Hello World" / sample loadable. id.c POSIX.2 user identity. ln.c Make links. +loadables.h Start at a file loadable builtins can include for shell definitions logname.c Print login name of current user. Makefile.in Simple makefile for the sample loadable builtins. mkdir.c Make directories. +mypid.c Add $MYPID variable, demonstrate use of unload hook function necho.c echo without options or argument interpretation. pathchk.c Check pathnames for validity and portability. print.c Loadable ksh-93 style print builtin. diff --git a/examples/loadables/basename.c b/examples/loadables/basename.c index 7ee817f6a..3ca184418 100644 --- a/examples/loadables/basename.c +++ b/examples/loadables/basename.c @@ -31,6 +31,7 @@ #include "shell.h" #include "common.h" +int basename_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/dirname.c b/examples/loadables/dirname.c index 0f30286d2..69019cbc3 100644 --- a/examples/loadables/dirname.c +++ b/examples/loadables/dirname.c @@ -31,6 +31,7 @@ #include "shell.h" #include "common.h" +int dirname_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/finfo.c b/examples/loadables/finfo.c index b806ef057..00833f680 100644 --- a/examples/loadables/finfo.c +++ b/examples/loadables/finfo.c @@ -39,6 +39,7 @@ #include "shell.h" #include "builtins.h" #include "common.h" +#include "getopt.h" #ifndef errno extern int errno; @@ -46,8 +47,10 @@ extern int errno; extern char **make_builtin_argv (); +static void perms(); static int printst(); static int printsome(); +static void printmode(); static int printfinfo(); static int finfo_main(); @@ -192,7 +195,7 @@ int m; return (m & (S_IRWXU|S_IRWXG|S_IRWXO|S_ISUID|S_ISGID)); } -static int +static void perms(m) int m; { @@ -236,7 +239,7 @@ int m; printf ("u=%s,g=%s,o=%s", ubits, gbits, obits); } -static int +static void printmode(mode) int mode; { @@ -262,7 +265,7 @@ int mode; printf("\n"); } -static int +static int printst(st) struct stat *st; { @@ -459,7 +462,7 @@ char **argv; void builtin_usage() { - fprintf(stderr, "%s: usage: %s [-%s] [file ...]\n", prog, OPTIONS); + fprintf(stderr, "%s: usage: %s [-%s] [file ...]\n", prog, prog, OPTIONS); } #ifndef HAVE_STRERROR diff --git a/examples/loadables/head.c b/examples/loadables/head.c index 22cf6ab57..748bb83ed 100644 --- a/examples/loadables/head.c +++ b/examples/loadables/head.c @@ -88,8 +88,10 @@ file_head (fp, cnt) break; } } + return (EXECUTION_SUCCESS); } +int head_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/hello.c b/examples/loadables/hello.c index 643156c47..b09362bf3 100644 --- a/examples/loadables/hello.c +++ b/examples/loadables/hello.c @@ -29,9 +29,7 @@ #include -#include "builtins.h" -#include "shell.h" -#include "bashgetopt.h" +#include "loadables.h" /* A builtin `xxx' is normally implemented with an `xxx_builtin' function. If you're converting a command that uses the normal Unix argc/argv @@ -58,6 +56,23 @@ hello_builtin (list) return (EXECUTION_SUCCESS); } +int +hello_builtin_load (s) + char *s; +{ + printf ("hello builtin loaded\n"); + fflush (stdout); + return (1); +} + +void +hello_builtin_unload (s) + char *s; +{ + printf ("hello builtin unloaded\n"); + fflush (stdout); +} + /* An array of strings forming the `long' documentation for a builtin xxx, which is printed by `help xxx'. It must end with a NULL. By convention, the first line is a short description. */ @@ -79,4 +94,3 @@ struct builtin hello_struct = { "hello", /* usage synopsis; becomes short_doc */ 0 /* reserved for internal use */ }; - diff --git a/examples/loadables/ln.c b/examples/loadables/ln.c index ec736368d..a853bc995 100644 --- a/examples/loadables/ln.c +++ b/examples/loadables/ln.c @@ -46,10 +46,12 @@ typedef int unix_link_syscall_t __P((const char *, const char *)); #define LN_SYMLINK 0x01 #define LN_UNLINK 0x02 +#define LN_NOFOLLOW 0x04 static unix_link_syscall_t *linkfn; static int dolink (); +int ln_builtin (list) WORD_LIST *list; { @@ -70,6 +72,10 @@ ln_builtin (list) case 's': flags |= LN_SYMLINK; break; + case 'h': + case 'n': + flags |= LN_NOFOLLOW; + break; default: builtin_usage (); return (EX_USAGE); @@ -138,8 +144,10 @@ mkdirpath (dir, file) #if defined (HAVE_LSTAT) # define LSTAT lstat +# define LSTAT_OR_STAT_IF(c, f, b) ((c) ? lstat((f), (b)) : stat((f), (b))) #else # define LSTAT stat +# define LSTAT_OR_STAT_IF(c, f, b) (stat((f), (b))) #endif static int @@ -171,7 +179,7 @@ dolink (src, dst, flags) /* If the destination is a directory, create the final filename by appending the basename of the source to the destination. */ dst_path = 0; - if ((stat (dst, &dsb) == 0) && S_ISDIR (dsb.st_mode)) + if ((LSTAT_OR_STAT_IF((flags & LN_NOFOLLOW), dst, &dsb) == 0) && S_ISDIR (dsb.st_mode)) { if ((p = strrchr (src, '/')) == 0) p = src; @@ -210,7 +218,8 @@ char *ln_doc[] = { "Create a new directory entry with the same modes as the original", "file. The -f option means to unlink any existing file, permitting", "the link to occur. The -s option means to create a symbolic link.", - "By default, ln makes hard links.", + "By default, ln makes hard links. Specifying -n or its synonym -h", + "causes ln to not resolve symlinks in the target file or directory.", (char *)NULL }; @@ -221,6 +230,6 @@ struct builtin ln_struct = { ln_builtin, /* function implementing the builtin */ BUILTIN_ENABLED, /* initial flags for builtin */ ln_doc, /* array of long documentation strings. */ - "ln [-fs] file1 [file2] OR ln [-fs] file ... directory", /* usage synopsis; becomes short_doc */ + "ln [-fhns] file1 [file2] OR ln [-fhns] file ... directory", /* usage synopsis; becomes short_doc */ 0 /* reserved for internal use */ }; diff --git a/examples/loadables/loadables.h b/examples/loadables/loadables.h new file mode 100644 index 000000000..c73035720 --- /dev/null +++ b/examples/loadables/loadables.h @@ -0,0 +1,34 @@ +/* loadables.h -- Include files needed by all loadable builtins */ + +/* Copyright (C) 2015 Free Software Foundation, Inc. + + This file is part of GNU Bash, the Bourne Again SHell. + + Bash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Bash is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Bash. If not, see . +*/ + + +#ifndef __LOADABLES_H_ +#define __LOADABLES_H_ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "builtins.h" +#include "shell.h" +#include "bashgetopt.h" +#include "common.h" + +#endif diff --git a/examples/loadables/logname.c b/examples/loadables/logname.c index 95b7e2189..27e6591be 100644 --- a/examples/loadables/logname.c +++ b/examples/loadables/logname.c @@ -35,6 +35,7 @@ extern int errno; #endif +int logname_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/mkdir.c b/examples/loadables/mkdir.c index f5c105eed..39ae07f9a 100644 --- a/examples/loadables/mkdir.c +++ b/examples/loadables/mkdir.c @@ -52,7 +52,7 @@ int mkdir_builtin (list) WORD_LIST *list; { - int opt, pflag, omode, rval, octal, nmode, parent_mode, um; + int opt, pflag, omode, rval, nmode, parent_mode; char *mode; WORD_LIST *l; @@ -90,7 +90,6 @@ mkdir_builtin (list) builtin_error ("invalid file mode: %s", mode); return (EXECUTION_FAILURE); } - octal = 1; } else if (mode) { @@ -101,7 +100,6 @@ mkdir_builtin (list) builtin_error ("invalid file mode: %s", mode); return (EXECUTION_FAILURE); } - octal = 0; } /* Make the new mode */ diff --git a/examples/loadables/mypid.c b/examples/loadables/mypid.c index 135cdb30a..fc1b267af 100644 --- a/examples/loadables/mypid.c +++ b/examples/loadables/mypid.c @@ -5,7 +5,13 @@ * Then, from within bash, enable -f ./mypid enable_mypid, where ./mypid * is the binary obtained from running make. Hereafter, `${MYPID}' * is a shell builtin variable. + * + * This defines an unload hook function that is called when the builtin is + * deleted with enable -d that will unbind the MYPID variable so future + * references to it do not attempt to access memory that is no longer part + * of this process's address space. */ +#include #include #include @@ -17,8 +23,11 @@ #define INIT_DYNAMIC_VAR(var, val, gfunc, afunc) \ do \ { SHELL_VAR *v = bind_variable (var, (val), 0); \ - v->dynamic_value = gfunc; \ - v->assign_func = afunc; \ + if (v) \ + { \ + v->dynamic_value = gfunc; \ + v->assign_func = afunc; \ + } \ } \ while (0) @@ -56,6 +65,12 @@ enable_mypid_builtin(WORD_LIST *list) return 0; } +void +enable_mypid_builtin_unload (char *s) +{ + unbind_variable ("MYPID"); +} + char const *enable_mypid_doc[] = { "Enable $MYPID.", "", diff --git a/examples/loadables/necho.c b/examples/loadables/necho.c index b5673894f..ee65f184c 100644 --- a/examples/loadables/necho.c +++ b/examples/loadables/necho.c @@ -25,6 +25,7 @@ #include "builtins.h" #include "shell.h" +int necho_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/pathchk.c b/examples/loadables/pathchk.c index c5fd24a89..85e8a04c7 100644 --- a/examples/loadables/pathchk.c +++ b/examples/loadables/pathchk.c @@ -98,6 +98,7 @@ extern char *strerror (); static int validate_path (); +int pathchk_builtin (list) WORD_LIST *list; { @@ -323,7 +324,7 @@ validate_path (path, portability) if (!last_elem) { exists = dir_ok (path); - if (dir_ok == 0) + if (exists == 0) { free (parent); return 1; @@ -370,8 +371,8 @@ validate_path (path, portability) free (parent); if (strlen (path) > path_max) { - builtin_error ("path `%s' has length %d; exceeds limit of %d", - path, strlen (path), path_max); + builtin_error ("path `%s' has length %lu; exceeds limit of %d", + path, (unsigned long)strlen (path), path_max); return 1; } diff --git a/examples/loadables/perl/Makefile.in b/examples/loadables/perl/Makefile.in index d8860bd4d..59f39b6a0 100644 --- a/examples/loadables/perl/Makefile.in +++ b/examples/loadables/perl/Makefile.in @@ -32,7 +32,7 @@ datarootdir = @datarootdir@ topdir = @top_srcdir@ BUILD_DIR = @BUILD_DIR@ srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ @SET_MAKE@ CC = @CC@ diff --git a/examples/loadables/realpath.c b/examples/loadables/realpath.c index ffcbef8bc..b19b87fb6 100644 --- a/examples/loadables/realpath.c +++ b/examples/loadables/realpath.c @@ -60,6 +60,7 @@ extern int errno; extern char *sh_realpath(); +int realpath_builtin(list) WORD_LIST *list; { diff --git a/examples/loadables/rmdir.c b/examples/loadables/rmdir.c index 0cfe6c792..001c2bd9b 100644 --- a/examples/loadables/rmdir.c +++ b/examples/loadables/rmdir.c @@ -32,6 +32,7 @@ extern int errno; #endif +int rmdir_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/setpgid.c b/examples/loadables/setpgid.c new file mode 100644 index 000000000..7da58f130 --- /dev/null +++ b/examples/loadables/setpgid.c @@ -0,0 +1,121 @@ +/* setpgid.c: bash loadable wrapper for setpgid system call + + An example of how to wrap a system call with a loadable builtin. + + Originally contributed by Jason Vas Dias + + Bash is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Bash is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Bash. If not, see . +*/ + +#include + +#if defined (HAVE_UNISTD_H) +# include +#endif +#include +#include + +#include "bashtypes.h" +#include "posixtime.h" + +#include + +#include "builtins.h" +#include "shell.h" +#include "common.h" + +#include "bashgetopt.h" + +#if !defined (_POSIX_VERSION) +# define setpgid(pid, pgrp) setpgrp (pid, pgrp) +#endif + +int +setpgid_builtin (list) + WORD_LIST *list; +{ + register WORD_LIST *wl; + intmax_t pid_arg, pgid_arg; + pid_t pid, pgid; + char *pidstr, *pgidstr; + + wl = list; + pid = pgid = 0; + + if (wl == 0 || wl->next == 0) + { + builtin_usage (); + return (EX_USAGE); + } + + pidstr = wl->word ? wl->word->word : 0; + pgidstr = wl->next->word ? wl->next->word->word : 0; + + if (pidstr == 0 || pgidstr == 0) + { + builtin_usage (); + return (EX_USAGE); + } + + if (legal_number (pidstr, &pid_arg) == 0) + { + builtin_error ("%s: pid argument must be numeric", pidstr); + return (EXECUTION_FAILURE); + } + if (pid_arg < 0) + { + builtin_error("%s: negative pid values not allowed", pidstr); + return (EXECUTION_FAILURE); + } + pid = pid_arg; + + if (legal_number (pgidstr, &pgid_arg) == 0) + { + builtin_error ("%s: pgrp argument must be numeric", pgidstr); + return (EXECUTION_FAILURE); + } + if (pgid_arg < 0) + { + builtin_error ("%s: negative pgrp values not allowed", pgidstr); + return (EXECUTION_FAILURE); + } + pgid = pgid_arg; + + errno = 0; + if (setpgid(pid, pgid) < 0) + { + builtin_error("setpgid failed: %s", strerror (errno)); + return (EXECUTION_FAILURE); + } + return (EXECUTION_SUCCESS); +} + +const char *setpgid_doc[] = { + "invoke the setpgid(2) system call", + "", + "Arguments:", + " pid : numeric process identifer, >= 0", + " pgrpid: numeric process group identifier, >=0", + "See the setpgid(2) manual page.", + (const char *)NULL +}; + +struct builtin setpgid_struct = { + "setpgid", + setpgid_builtin, + BUILTIN_ENABLED, + (char **)setpgid_doc, + "setpgid pid pgrpid", + 0 +}; diff --git a/examples/loadables/sync.c b/examples/loadables/sync.c index d91852e73..4fbeee1c4 100644 --- a/examples/loadables/sync.c +++ b/examples/loadables/sync.c @@ -28,6 +28,7 @@ #include "shell.h" #include "bashgetopt.h" +int sync_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/tee.c b/examples/loadables/tee.c index 8b5715f25..9462cda04 100644 --- a/examples/loadables/tee.c +++ b/examples/loadables/tee.c @@ -60,6 +60,7 @@ extern int interrupt_immediately; extern char *strerror (); +int tee_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/template.c b/examples/loadables/template.c index 3a5814f33..8cfd571d7 100644 --- a/examples/loadables/template.c +++ b/examples/loadables/template.c @@ -11,9 +11,7 @@ #include #include -#include "builtins.h" -#include "shell.h" -#include "bashgetopt.h" +#include "loadables.h" #if !defined (errno) extern int errno; @@ -21,6 +19,7 @@ extern int errno; extern char *strerror (); +int template_builtin (list) WORD_LIST *list; { @@ -42,6 +41,22 @@ template_builtin (list) return (rval); } +/* Called when `template' is enabled and loaded from the shared object. If this + function returns 0, the load fails. */ +int +template_builtin_load (name) + char *name; +{ + return (1); +} + +/* Called when `template' is disabled. */ +void +template_builtin_unload (name) + char *name; +{ +} + char *template_doc[] = { "Short description.", "" diff --git a/examples/loadables/truefalse.c b/examples/loadables/truefalse.c index 113e88f7d..e011fa1f9 100644 --- a/examples/loadables/truefalse.c +++ b/examples/loadables/truefalse.c @@ -25,12 +25,14 @@ #include "builtins.h" #include "common.h" +int true_builtin (list) WORD_LIST *list; { return EXECUTION_SUCCESS; } +int false_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/tty.c b/examples/loadables/tty.c index 1d88506ca..1adc5b599 100644 --- a/examples/loadables/tty.c +++ b/examples/loadables/tty.c @@ -30,6 +30,7 @@ extern char *ttyname (); +int tty_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/uname.c b/examples/loadables/uname.c index a1bddd543..339ec3dde 100644 --- a/examples/loadables/uname.c +++ b/examples/loadables/uname.c @@ -63,6 +63,7 @@ static void uprint(); static int uname_flags; +int uname_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/unlink.c b/examples/loadables/unlink.c index 07e3f3d45..ff2a78a03 100644 --- a/examples/loadables/unlink.c +++ b/examples/loadables/unlink.c @@ -38,6 +38,7 @@ extern int errno; #endif +int unlink_builtin (list) WORD_LIST *list; { diff --git a/examples/loadables/whoami.c b/examples/loadables/whoami.c index 6f8471ac3..5aa73828d 100644 --- a/examples/loadables/whoami.c +++ b/examples/loadables/whoami.c @@ -28,6 +28,7 @@ #include "bashgetopt.h" #include "common.h" +int whoami_builtin (list) WORD_LIST *list; { diff --git a/execute_cmd.c b/execute_cmd.c index 4ee59c11b..2a3df6d62 100644 --- a/execute_cmd.c +++ b/execute_cmd.c @@ -1,6 +1,6 @@ /* execute_cmd.c -- Execute a COMMAND structure. */ -/* Copyright (C) 1987-2013 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -58,6 +58,7 @@ extern int errno; #endif #define NEED_FPURGE_DECL +#define NEED_SH_SETLINEBUF_DECL #include "bashansi.h" #include "bashintl.h" @@ -83,6 +84,8 @@ extern int errno; #include "builtins/common.h" #include "builtins/builtext.h" /* list of builtins */ +#include "builtins/getopt.h" + #include #include @@ -98,6 +101,10 @@ extern int errno; # include "bashhist.h" #endif +#if defined (HAVE_MBSTR_H) && defined (HAVE_MBSCHR) +# include /* mbschr */ +#endif + extern int dollar_dollar_pid; extern int posixly_correct; extern int expand_aliases; @@ -218,7 +225,7 @@ int return_catch_value; procenv_t return_catch; /* The value returned by the last synchronous command. */ -int last_command_exit_value; +volatile int last_command_exit_value; /* Whether or not the last command (corresponding to last_command_exit_value) was terminated by a signal, and, if so, which one. */ @@ -284,7 +291,15 @@ int line_number_for_err_trap; /* A sort of function nesting level counter */ int funcnest = 0; -int funcnest_max = 0; /* bash-4.2 */ +int funcnest_max = 0; + +int evalnest = 0; /* bash-4.4/bash-5.0 */ +int evalnest_max = EVALNEST_MAX; + +int sourcenest = 0; +int sourcenest_max = SOURCENEST_MAX; + +volatile int from_return_trap = 0; int lastpipe_opt = 0; @@ -590,7 +605,7 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out, /* Fork a subshell, turn off the subshell bit, turn off job control and call execute_command () on the command again. */ - line_number_for_err_trap = line_number; + line_number_for_err_trap = line_number; /* XXX - save value? */ tcmd = make_command_string (command); paren_pid = make_child (savestring (tcmd), asynchronous); @@ -617,7 +632,7 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out, if (s) subshell_exit (last_command_exit_value); else - exit (last_command_exit_value); + sh_exit (last_command_exit_value); /* NOTREACHED */ } else @@ -814,12 +829,16 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out, if (asynchronous) { DESCRIBE_PID (last_made_pid); + exec_result = EXECUTION_SUCCESS; + invert = 0; /* async commands always succeed */ } else #if !defined (JOB_CONTROL) /* Do not wait for asynchronous processes started from startup files. */ - if (last_made_pid != last_asynchronous_pid) + if (last_made_pid != NO_PID && last_made_pid != last_asynchronous_pid) +#else + if (last_made_pid != NO_PID) #endif /* When executing a shell function that executes other commands, this causes the last simple command in @@ -846,6 +865,13 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out, { last_command_exit_value = exec_result; run_pending_traps (); + + /* Undo redirections before running exit trap on the way out of + set -e. Report by Mark Farrell 5/19/2014 */ + if (exit_immediately_on_error && signal_is_trapped (0) && + unwind_protect_tag_on_stack ("saved-redirects")) + run_unwind_frame ("saved-redirects"); + jump_to_top_level (ERREXIT); } @@ -944,6 +970,9 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out, case cm_connection: exec_result = execute_connection (command, asynchronous, pipe_in, pipe_out, fds_to_close); + if (asynchronous) + invert = 0; /* XXX */ + break; #if defined (DPAREN_ARITHMETIC) @@ -1081,6 +1110,19 @@ extern int timeval_to_cpu __P((struct timeval *, struct timeval *, struct timeva static const int precs[] = { 0, 100, 10, 1 }; +#if defined (HAVE_LOCALE_H) && defined (HAVE_LOCALECONV) +static int +decpoint () +{ + struct lconv *lv; + + lv = localeconv (); + return (lv && lv->decimal_point && lv->decimal_point[0]) ? lv->decimal_point[0] : '.'; +} +#else +# define decpoint() '.' +#endif + /* Expand one `%'-prefixed escape sequence from a time format string. */ static int mkfmt (buf, prec, lng, sec, sec_fraction) @@ -1125,7 +1167,7 @@ mkfmt (buf, prec, lng, sec, sec_fraction) and 999. */ if (prec != 0) { - buf[ind++] = '.'; + buf[ind++] = decpoint (); for (aind = 1; aind <= prec; aind++) { buf[ind++] = (sec_fraction / precs[aind]) + '0'; @@ -1253,11 +1295,12 @@ time_command (command, asynchronous, pipe_in, pipe_out, fds_to_close) int asynchronous, pipe_in, pipe_out; struct fd_bitmap *fds_to_close; { - int rv, posix_time, old_flags, nullcmd; + int rv, posix_time, old_flags, nullcmd, code; time_t rs, us, ss; int rsf, usf, ssf; int cpu; char *time_format; + volatile procenv_t save_top_level; #if defined (HAVE_GETRUSAGE) && defined (HAVE_GETTIMEOFDAY) struct timeval real, user, sys; @@ -1304,9 +1347,13 @@ time_command (command, asynchronous, pipe_in, pipe_out, fds_to_close) } old_flags = command->flags; + COPY_PROCENV (top_level, save_top_level); command->flags &= ~(CMD_TIME_PIPELINE|CMD_TIME_POSIX); - rv = execute_command_internal (command, asynchronous, pipe_in, pipe_out, fds_to_close); + code = setjmp_nosigs (top_level); + if (code == NOT_JUMPED) + rv = execute_command_internal (command, asynchronous, pipe_in, pipe_out, fds_to_close); command->flags = old_flags; + COPY_PROCENV (save_top_level, top_level); rs = us = ss = 0; rsf = usf = ssf = cpu = 0; @@ -1365,6 +1412,9 @@ time_command (command, asynchronous, pipe_in, pipe_out, fds_to_close) if (time_format && *time_format) print_formatted_time (stderr, time_format, rs, rsf, us, usf, ss, ssf, cpu); + if (code) + sh_longjmp (top_level, code); + return rv; } #endif /* COMMAND_TIMING */ @@ -1442,7 +1492,7 @@ execute_in_subshell (command, asynchronous, pipe_in, pipe_out, fds_to_close) login_shell = interactive = 0; if (user_subshell) - subshell_environment = SUBSHELL_PAREN; + subshell_environment = SUBSHELL_PAREN; /* XXX */ else { subshell_environment = 0; /* XXX */ @@ -1496,12 +1546,19 @@ execute_in_subshell (command, asynchronous, pipe_in, pipe_out, fds_to_close) /* If this is a user subshell, set a flag if stdin was redirected. This is used later to decide whether to redirect fd 0 to /dev/null for async commands in the subshell. This adds more - sh compatibility, but I'm not sure it's the right thing to do. */ + sh compatibility, but I'm not sure it's the right thing to do. + Note that an input pipe to a compound command suffices to inhibit + the implicit /dev/null redirection for asynchronous commands + executed as part of that compound command. */ if (user_subshell) { - stdin_redir = stdin_redirects (command->redirects); - restore_default_signal (EXIT_TRAP); + stdin_redir = stdin_redirects (command->redirects) || pipe_in != NO_PIPE; +#if 0 + restore_default_signal (EXIT_TRAP); /* XXX - reset_signal_handlers above */ +#endif } + else if (shell_control_structure (command->type) && pipe_in != NO_PIPE) + stdin_redir = 1; /* If this is an asynchronous command (command &), we want to redirect the standard input from /dev/null in the absence of @@ -1565,7 +1622,7 @@ execute_in_subshell (command, asynchronous, pipe_in, pipe_out, fds_to_close) if (result == EXITPROG) invert = 0, return_code = last_command_exit_value; else if (result) - return_code = EXECUTION_FAILURE; + return_code = (last_command_exit_value == EXECUTION_SUCCESS) ? EXECUTION_FAILURE : last_command_exit_value; else if (function_value) return_code = return_catch_value; else @@ -1584,7 +1641,9 @@ execute_in_subshell (command, asynchronous, pipe_in, pipe_out, fds_to_close) return_code = run_exit_trap (); } - subshell_level--; +#if 0 + subshell_level--; /* don't bother, caller will just exit */ +#endif return (return_code); /* NOTREACHED */ } @@ -2061,6 +2120,7 @@ coproc_fdrestore (cp) void coproc_pidchk (pid, status) pid_t pid; + int status; { struct coproc *cp; @@ -2092,6 +2152,7 @@ coproc_setvars (cp) SHELL_VAR *v; char *namevar, *t; int l; + WORD_DESC w; #if defined (ARRAY_VARS) arrayind_t ind; #endif @@ -2099,11 +2160,40 @@ coproc_setvars (cp) if (cp->c_name == 0) return; + /* We could do more here but right now we only check the name, warn if it's + not a valid identifier, and refuse to create variables with invalid names + if a coproc with such a name is supplied. */ + w.word = cp->c_name; + w.flags = 0; + if (check_identifier (&w, 1) == 0) + return; + l = strlen (cp->c_name); namevar = xmalloc (l + 16); #if defined (ARRAY_VARS) v = find_variable (cp->c_name); + + /* This is the same code as in find_or_make_array_variable */ + if (v == 0) + { + v = find_variable_nameref_for_create (cp->c_name, 1); + if (v == INVALID_NAMEREF_VALUE) + return; + if (v && nameref_p (v)) + { + free (cp->c_name); + cp->c_name = savestring (nameref_cell (v)); + v = make_new_array_variable (cp->c_name); + } + } + + if (v && (readonly_p (v) || noassign_p (v))) + { + if (readonly_p (v)) + err_readonly (cp->c_name); + return; + } if (v == 0) v = make_new_array_variable (cp->c_name); if (array_p (v) == 0) @@ -2151,10 +2241,10 @@ coproc_unsetvars (cp) namevar = xmalloc (l + 16); sprintf (namevar, "%s_PID", cp->c_name); - unbind_variable (namevar); + unbind_variable_noref (namevar); #if defined (ARRAY_VARS) - unbind_variable (cp->c_name); + check_unbind_variable (cp->c_name); #else sprintf (namevar, "%s_READ", cp->c_name); unbind_variable (namevar); @@ -2180,7 +2270,7 @@ execute_coproc (command, pipe_in, pipe_out, fds_to_close) /* XXX -- can be removed after changes to handle multiple coprocs */ #if !MULTIPLE_COPROCS if (sh_coproc.c_pid != NO_PID) - internal_warning ("execute_coproc: coproc [%d:%s] still exists", sh_coproc.c_pid, sh_coproc.c_name); + internal_warning (_("execute_coproc: coproc [%d:%s] still exists"), sh_coproc.c_pid, sh_coproc.c_name); coproc_init (&sh_coproc); #endif @@ -2411,7 +2501,7 @@ execute_pipeline (command, asynchronous, pipe_in, pipe_out, fds_to_close) lstdin = wait_for (lastpid); } else - lstdin = wait_for_single_pid (lastpid); /* checks bgpids list */ + lstdin = wait_for_single_pid (lastpid, 0); /* checks bgpids list */ #else lstdin = wait_for (lastpid); #endif @@ -2512,9 +2602,15 @@ execute_connection (command, asynchronous, pipe_in, pipe_out, fds_to_close) invert = (command->flags & CMD_INVERT_RETURN) != 0; ignore_return = (command->flags & CMD_IGNORE_RETURN) != 0; - line_number_for_err_trap = line_number; + line_number_for_err_trap = line_number; /* XXX - save value? */ exec_result = execute_pipeline (command, asynchronous, pipe_in, pipe_out, fds_to_close); + if (asynchronous) + { + exec_result = EXECUTION_SUCCESS; + invert = 0; + } + if (was_error_trap && ignore_return == 0 && invert == 0 && exec_result != EXECUTION_SUCCESS) { last_command_exit_value = exec_result; @@ -2563,10 +2659,11 @@ execute_connection (command, asynchronous, pipe_in, pipe_out, fds_to_close) ((command->value.Connection->connector == OR_OR) && (exec_result != EXECUTION_SUCCESS))) { - if (ignore_return && command->value.Connection->second) - command->value.Connection->second->flags |= CMD_IGNORE_RETURN; + second = command->value.Connection->second; + if (ignore_return && second) + second->flags |= CMD_IGNORE_RETURN; - exec_result = execute_command (command->value.Connection->second); + exec_result = execute_command (second); } executing_list--; break; @@ -2580,10 +2677,13 @@ execute_connection (command, asynchronous, pipe_in, pipe_out, fds_to_close) return exec_result; } +/* The test used to be only for interactive_shell, but we don't want to report + job status when the shell is not interactive or when job control isn't + enabled. */ #define REAP() \ do \ { \ - if (!interactive_shell) \ + if (job_control == 0 || interactive_shell == 0) \ reap_dead_jobs (); \ } \ while (0) @@ -2665,17 +2765,24 @@ execute_for_command (for_command) this_command_name = (char *)NULL; /* XXX - special ksh93 for command index variable handling */ - v = find_variable_last_nameref (identifier); + v = find_variable_last_nameref (identifier, 1); if (v && nameref_p (v)) - { - v = bind_variable_value (v, list->word->word, 0); - } + { + if (valid_nameref_value (list->word->word, 1) == 0) + { + sh_invalidid (list->word->word); + v = 0; + } + else + v = bind_variable_value (v, list->word->word, 0); + } else - v = bind_variable (identifier, list->word->word, 0); - if (readonly_p (v) || noassign_p (v)) + v = bind_variable (identifier, list->word->word, 0); + + if (v == 0 || readonly_p (v) || noassign_p (v)) { line_number = save_line_number; - if (readonly_p (v) && interactive_shell == 0 && posixly_correct) + if (v && readonly_p (v) && interactive_shell == 0 && posixly_correct) { last_command_exit_value = EXECUTION_FAILURE; jump_to_top_level (FORCE_EOF); @@ -2688,6 +2795,10 @@ execute_for_command (for_command) return (EXECUTION_FAILURE); } } + + if (ifsname (identifier)) + setifs (v); + retval = execute_command (for_command->action); REAP (); QUIT; @@ -2817,7 +2928,11 @@ execute_arith_for_command (arith_for_command) and the DEBUG trap. */ line_number = arith_lineno = arith_for_command->line; if (variable_context && interactive_shell) - line_number -= function_line_number; + { + line_number -= function_line_number; + if (line_number < 0) + line_number = 0; + } /* Evaluate the initialization expression. */ expresult = eval_arith_for_expr (arith_for_command->init, &expok); @@ -3061,6 +3176,8 @@ select_query (list, list_len, prompt, print_menu) return ((char *)NULL); } repl_string = get_string_value ("REPLY"); + if (repl_string == 0) + return ((char *)NULL); if (*repl_string == 0) { print_menu = 1; @@ -3163,9 +3280,9 @@ execute_select_command (select_command) } v = bind_variable (identifier, selection, 0); - if (readonly_p (v) || noassign_p (v)) + if (v == 0 || readonly_p (v) || noassign_p (v)) { - if (readonly_p (v) && interactive_shell == 0 && posixly_correct) + if (v && readonly_p (v) && interactive_shell == 0 && posixly_correct) { last_command_exit_value = EXECUTION_FAILURE; jump_to_top_level (FORCE_EOF); @@ -3267,7 +3384,7 @@ execute_case_command (case_command) ignore_return = case_command->flags & CMD_IGNORE_RETURN; begin_unwind_frame ("case"); - add_unwind_protect ((Function *)xfree, word); + add_unwind_protect (xfree, word); #define EXIT_CASE() goto exit_case_command @@ -3369,17 +3486,22 @@ execute_while_or_until (while_command, type) loop. The job control code will set `breaking' to loop_level when a job in a loop is stopped with SIGTSTP. If the stopped job is in the loop test, `breaking' will not be reset unless we do - this, and the shell will cease to execute commands. */ + this, and the shell will cease to execute commands. The same holds + true for `continue'. */ if (type == CMD_WHILE && return_value != EXECUTION_SUCCESS) { if (breaking) breaking--; + if (continuing) + continuing--; break; } if (type == CMD_UNTIL && return_value == EXECUTION_SUCCESS) { if (breaking) breaking--; + if (continuing) + continuing--; break; } @@ -3456,7 +3578,11 @@ execute_arith_command (arith_command) line_number = arith_command->line; /* If we're in a function, update the line number information. */ if (variable_context && interactive_shell) - line_number -= function_line_number; + { + line_number -= function_line_number; + if (line_number < 0) + line_number = 0; + } command_string_index = 0; print_arith_command (arith_command->exp); @@ -3654,7 +3780,11 @@ execute_cond_command (cond_command) line_number = cond_command->line; /* If we're in a function, update the line number information. */ if (variable_context && interactive_shell) - line_number -= function_line_number; + { + line_number -= function_line_number; + if (line_number < 0) + line_number = 0; + } command_string_index = 0; print_cond_command (cond_command); @@ -3696,7 +3826,8 @@ bind_lastarg (arg) if (arg == 0) arg = ""; var = bind_variable ("_", arg, 0); - VUNSETATTR (var, att_exported); + if (var) + VUNSETATTR (var, att_exported); } /* Execute a null command. Fork a subshell if the command uses pipes or is @@ -3793,19 +3924,20 @@ fix_assignment_words (words) for (wcmd = words; wcmd; wcmd = wcmd->next) if ((wcmd->word->flags & W_ASSIGNMENT) == 0) break; + /* Posix (post-2008) says that `command' doesn't change whether + or not the builtin it shadows is a `declaration command', even + though it removes other special builtin properties. In Posix + mode, we skip over one or more instances of `command' and + deal with the next word as the assignment builtin. */ + while (posixly_correct && wcmd && wcmd->word && wcmd->word->word && STREQ (wcmd->word->word, "command")) + wcmd = wcmd->next; for (w = wcmd; w; w = w->next) if (w->word->flags & W_ASSIGNMENT) { + /* Lazy builtin lookup, only do it if we find an assignment */ if (b == 0) { - /* Posix (post-2008) says that `command' doesn't change whether - or not the builtin it shadows is a `declaration command', even - though it removes other special builtin properties. In Posix - mode, we skip over one or more instances of `command' and - deal with the next word as the assignment builtin. */ - while (posixly_correct && wcmd && wcmd->word && wcmd->word->word && STREQ (wcmd->word->word, "command")) - wcmd = wcmd->next; b = builtin_address_internal (wcmd->word->word, 0); if (b == 0 || (b->flags & ASSIGNMENT_BUILTIN) == 0) return; @@ -3821,21 +3953,23 @@ fix_assignment_words (words) #endif if (global) w->word->flags |= W_ASSNGLOBAL; - if (integer) - w->word->flags |= W_ASSIGNINT; + + /* If we have an assignment builtin that does not create local variables, + make sure we create global variables even if we internally call + `declare' */ + if (b && ((b->flags & (ASSIGNMENT_BUILTIN|LOCALVAR_BUILTIN)) == ASSIGNMENT_BUILTIN)) + w->word->flags |= W_ASSNGLOBAL; } #if defined (ARRAY_VARS) /* Note that we saw an associative array option to a builtin that takes assignment statements. This is a bit of a kludge. */ - else if (w->word->word[0] == '-' && (strchr (w->word->word+1, 'A') || strchr (w->word->word+1, 'a') || strchr (w->word->word+1, 'g'))) + else if (w->word->word[0] == '-' && (strpbrk (w->word->word+1, "Aag") != 0)) #else else if (w->word->word[0] == '-' && strchr (w->word->word+1, 'g')) #endif { if (b == 0) { - while (posixly_correct && wcmd && wcmd->word && wcmd->word->word && STREQ (wcmd->word->word, "command")) - wcmd = wcmd->next; b = builtin_address_internal (wcmd->word->word, 0); if (b == 0 || (b->flags & ASSIGNMENT_BUILTIN) == 0) return; @@ -3848,8 +3982,6 @@ fix_assignment_words (words) array = 1; if ((wcmd->word->flags & W_ASSNBLTIN) && strchr (w->word->word+1, 'g')) global = 1; - if ((wcmd->word->flags & W_ASSNBLTIN) && strchr (w->word->word+1, 'i')) - integer = 1; } } @@ -3863,7 +3995,7 @@ is_dirname (pathname) int ret; temp = search_for_command (pathname, 0); - ret = (temp ? file_isdir (temp) : file_isdir (pathname)); + ret = temp ? file_isdir (temp) : file_isdir (pathname); free (temp); return ret; } @@ -3893,7 +4025,11 @@ execute_simple_command (simple_command, pipe_in, pipe_out, async, fds_to_close) /* If we're in a function, update the line number information. */ if (variable_context && interactive_shell && sourcelevel == 0) - line_number -= function_line_number; + { + line_number -= function_line_number; + if (line_number < 0) + line_number = 0; + } /* Remember what this command line looks like at invocation. */ command_string_index = 0; @@ -3954,7 +4090,7 @@ execute_simple_command (simple_command, pipe_in, pipe_out, async, fds_to_close) already_forked = 1; simple_command->flags |= CMD_NO_FORK; - subshell_environment = SUBSHELL_FORK; + subshell_environment = SUBSHELL_FORK; /* XXX */ if (pipe_in != NO_PIPE || pipe_out != NO_PIPE) subshell_environment |= SUBSHELL_PIPE; if (async) @@ -3966,6 +4102,10 @@ execute_simple_command (simple_command, pipe_in, pipe_out, async, fds_to_close) if (fds_to_close) close_fd_bitmap (fds_to_close); + /* If we fork because of an input pipe, note input pipe for later to + inhibit async commands from redirecting stdin from /dev/null */ + stdin_redir |= pipe_in != NO_PIPE; + do_piping (pipe_in, pipe_out); pipe_in = pipe_out = NO_PIPE; #if defined (COPROCESS_SUPPORT) @@ -3975,6 +4115,9 @@ execute_simple_command (simple_command, pipe_in, pipe_out, async, fds_to_close) last_asynchronous_pid = old_last_async_pid; CHECK_SIGTERM; + + if (async) + subshell_level++; /* not for pipes yet */ } else { @@ -3996,6 +4139,8 @@ execute_simple_command (simple_command, pipe_in, pipe_out, async, fds_to_close) } } + QUIT; /* XXX */ + /* If we are re-running this as the result of executing the `command' builtin, do not expand the command words a second time. */ if ((simple_command->flags & CMD_INHIBIT_EXPANSION) == 0) @@ -4023,7 +4168,7 @@ execute_simple_command (simple_command, pipe_in, pipe_out, async, fds_to_close) pipe_in, pipe_out, already_forked ? 0 : async); if (already_forked) - exit (result); + sh_exit (result); else { bind_lastarg ((char *)NULL); @@ -4166,7 +4311,8 @@ run_builtin: setup_async_signals (); } - subshell_level++; + if (async == 0) + subshell_level++; execute_subshell_builtin_or_function (words, simple_command->redirects, builtin, func, pipe_in, pipe_out, async, fds_to_close, @@ -4220,8 +4366,10 @@ run_builtin: if (autocd && interactive && words->word && is_dirname (words->word->word)) { + words = make_word_list (make_word ("--"), words); words = make_word_list (make_word ("cd"), words); xtrace_print_word_list (words, 0); + func = find_function ("cd"); goto run_builtin; } @@ -4229,10 +4377,12 @@ run_builtin: command_line = savestring (the_printed_command_except_trap ? the_printed_command_except_trap : ""); #if defined (PROCESS_SUBSTITUTION) - if ((subshell_environment & SUBSHELL_COMSUB) && (simple_command->flags & CMD_NO_FORK) && fifos_pending() > 0) + /* The old code did not test already_forked and only did this if + subshell_environment&SUBSHELL_COMSUB != 0 (comsubs and procsubs). Other + uses of the no-fork optimization left FIFOs in $TMPDIR */ + if (already_forked == 0 && (simple_command->flags & CMD_NO_FORK) && fifos_pending() > 0) simple_command->flags &= ~CMD_NO_FORK; #endif - result = execute_disk_command (words, simple_command->redirects, command_line, pipe_in, pipe_out, async, fds_to_close, simple_command->flags); @@ -4283,13 +4433,12 @@ execute_builtin (builtin, words, flags, subshell) WORD_LIST *words; int flags, subshell; { - int old_e_flag, result, eval_unwind; + int result, eval_unwind, ignexit_flag, old_e_flag; int isbltinenv; char *error_trap; error_trap = 0; - old_e_flag = exit_immediately_on_error; - + /* The eval builtin calls parse_and_execute, which does not know about the setting of flags, and always calls the execution functions with flags that will exit the shell on an error if -e is set. If the @@ -4312,6 +4461,7 @@ execute_builtin (builtin, words, flags, subshell) restore_default_signal (ERROR_TRAP); } exit_immediately_on_error = 0; + ignexit_flag = builtin_ignoring_errexit; builtin_ignoring_errexit = 1; eval_unwind = 1; } @@ -4339,6 +4489,31 @@ execute_builtin (builtin, words, flags, subshell) } } + if (subshell == 0 && builtin == eval_builtin) + { + if (evalnest_max > 0 && evalnest >= evalnest_max) + { + internal_error (_("eval: maximum eval nesting level exceeded (%d)"), evalnest); + evalnest = 0; + jump_to_top_level (DISCARD); + } + unwind_protect_int (evalnest); + /* The test for subshell == 0 above doesn't make a difference */ + evalnest++; /* execute_subshell_builtin_or_function sets this to 0 */ + } + else if (subshell == 0 && builtin == source_builtin) + { + if (sourcenest_max > 0 && sourcenest >= sourcenest_max) + { + internal_error (_("%s: maximum source nesting level exceeded (%d)"), this_command_name, sourcenest); + sourcenest = 0; + jump_to_top_level (DISCARD); + } + unwind_protect_int (sourcenest); + /* The test for subshell == 0 above doesn't make a difference */ + sourcenest++; /* execute_subshell_builtin_or_function sets this to 0 */ + } + /* `return' does a longjmp() back to a saved environment in execute_function. If a variable assignment list preceded the command, and the shell is running in POSIX mode, we need to merge that into the shell_variables @@ -4363,8 +4538,8 @@ execute_builtin (builtin, words, flags, subshell) if (eval_unwind) { - exit_immediately_on_error = errexit_flag; - builtin_ignoring_errexit = 0; + builtin_ignoring_errexit = ignexit_flag; + exit_immediately_on_error = builtin_ignoring_errexit ? 0 : errexit_flag; if (error_trap) { set_error_trap (error_trap); @@ -4376,6 +4551,41 @@ execute_builtin (builtin, words, flags, subshell) return (result); } +static void +maybe_restore_getopt_state (gs) + sh_getopt_state_t *gs; +{ + SHELL_VAR *v; + + /* If we have a local copy of OPTIND and it's at the right (current) + context, then we restore getopt's internal state. If not, we just + let it go. We know there is a local OPTIND if gs->gs_flags & 1. + This is set below in execute_function() before the context is run. */ + if (gs->gs_flags & 1) + sh_getopt_restore_istate (gs); + else + free (gs); +} + +#if defined (ARRAY_VARS) +void +restore_funcarray_state (fa) + struct func_array_state *fa; +{ + SHELL_VAR *nfv; + ARRAY *funcname_a; + + array_pop (fa->source_a); + array_pop (fa->lineno_a); + + GET_ARRAY_FROM_VAR ("FUNCNAME", nfv, funcname_a); + if (nfv == fa->funcname_v) + array_pop (funcname_a); + + free (fa); +} +#endif + static int execute_function (var, words, flags, fds_to_close, async, subshell) SHELL_VAR *var; @@ -4388,13 +4598,16 @@ execute_function (var, words, flags, fds_to_close, async, subshell) COMMAND *tc, *fc, *save_current; char *debug_trap, *error_trap, *return_trap; #if defined (ARRAY_VARS) - SHELL_VAR *funcname_v, *nfv, *bash_source_v, *bash_lineno_v; + SHELL_VAR *funcname_v, *bash_source_v, *bash_lineno_v; ARRAY *funcname_a; volatile ARRAY *bash_source_a; volatile ARRAY *bash_lineno_a; + struct func_array_state *fa; #endif FUNCTION_DEF *shell_fn; char *sfile, *t; + sh_getopt_state_t *gs; + SHELL_VAR *gv; USE_VAR(fc); @@ -4415,18 +4628,25 @@ execute_function (var, words, flags, fds_to_close, async, subshell) if (tc && (flags & CMD_IGNORE_RETURN)) tc->flags |= CMD_IGNORE_RETURN; + gs = sh_getopt_save_istate (); if (subshell == 0) { begin_unwind_frame ("function_calling"); push_context (var->name, subshell, temporary_env); + /* This has to be before the pop_context(), because the unwinding of + local variables may cause the restore of a local declaration of + OPTIND to force a getopts state reset. */ + add_unwind_protect (maybe_restore_getopt_state, gs); add_unwind_protect (pop_context, (char *)NULL); unwind_protect_int (line_number); + unwind_protect_int (line_number_for_err_trap); + unwind_protect_int (function_line_number); unwind_protect_int (return_catch_flag); unwind_protect_jmp_buf (return_catch); add_unwind_protect (dispose_command, (char *)tc); unwind_protect_pointer (this_shell_function); - unwind_protect_int (loop_level); unwind_protect_int (funcnest); + unwind_protect_int (loop_level); } else push_context (var->name, subshell, temporary_env); /* don't unwind-protect for subshells */ @@ -4453,7 +4673,7 @@ execute_function (var, words, flags, fds_to_close, async, subshell) { debug_trap = savestring (debug_trap); add_unwind_protect (xfree, debug_trap); - add_unwind_protect (set_debug_trap, debug_trap); + add_unwind_protect (maybe_set_debug_trap, debug_trap); } restore_default_signal (DEBUG_TRAP); } @@ -4465,7 +4685,7 @@ execute_function (var, words, flags, fds_to_close, async, subshell) { error_trap = savestring (error_trap); add_unwind_protect (xfree, error_trap); - add_unwind_protect (set_error_trap, error_trap); + add_unwind_protect (maybe_set_error_trap, error_trap); } restore_default_signal (ERROR_TRAP); } @@ -4482,7 +4702,7 @@ execute_function (var, words, flags, fds_to_close, async, subshell) { return_trap = savestring (return_trap); add_unwind_protect (xfree, return_trap); - add_unwind_protect (set_return_trap, return_trap); + add_unwind_protect (maybe_set_return_trap, return_trap); } restore_default_signal (RETURN_TRAP); } @@ -4500,6 +4720,18 @@ execute_function (var, words, flags, fds_to_close, async, subshell) free (t); #endif +#if defined (ARRAY_VARS) + fa = (struct func_array_state *)xmalloc (sizeof (struct func_array_state)); + fa->source_a = (ARRAY *)bash_source_a; + fa->source_v = bash_source_v; + fa->lineno_a = (ARRAY *)bash_lineno_a; + fa->lineno_v = bash_lineno_v; + fa->funcname_a = (ARRAY *)funcname_a; + fa->funcname_v = funcname_v; + if (subshell == 0) + add_unwind_protect (restore_funcarray_state, fa); +#endif + /* The temporary environment for a function is supposed to apply to all commands executed within the function body. */ @@ -4507,7 +4739,11 @@ execute_function (var, words, flags, fds_to_close, async, subshell) /* Update BASH_ARGV and BASH_ARGC */ if (debugging_mode) - push_args (words->next); + { + push_args (words->next); + if (subshell == 0) + add_unwind_protect (pop_args, 0); + } /* Number of the line on which the function body starts. */ line_number = function_line_number = tc->line; @@ -4517,8 +4753,13 @@ execute_function (var, words, flags, fds_to_close, async, subshell) stop_pipeline (async, (COMMAND *)NULL); #endif + if (shell_compatibility_level > 43) + loop_level = 0; + fc = tc; + from_return_trap = 0; + return_catch_flag++; return_val = setjmp_nosigs (return_catch); @@ -4527,7 +4768,8 @@ execute_function (var, words, flags, fds_to_close, async, subshell) result = return_catch_value; /* Run the RETURN trap in the function's context. */ save_current = currently_executing_command; - run_return_trap (); + if (from_return_trap == 0) + run_return_trap (); currently_executing_command = save_current; } else @@ -4561,26 +4803,23 @@ execute_function (var, words, flags, fds_to_close, async, subshell) showing_function_line = 0; } - /* Restore BASH_ARGC and BASH_ARGV */ - if (debugging_mode) - pop_args (); + /* If we have a local copy of OPTIND, note it in the saved getopts state. */ + gv = find_variable ("OPTIND"); + if (gv && gv->context == variable_context) + gs->gs_flags |= 1; if (subshell == 0) run_unwind_frame ("function_calling"); - #if defined (ARRAY_VARS) - /* These two variables cannot be unset, and cannot be affected by the - function. */ - array_pop ((ARRAY *)bash_source_a); - array_pop ((ARRAY *)bash_lineno_a); - - /* FUNCNAME can be unset, and so can potentially be changed by the - function. */ - GET_ARRAY_FROM_VAR ("FUNCNAME", nfv, funcname_a); - if (nfv == funcname_v) - array_pop (funcname_a); + else + { + restore_funcarray_state (fa); + /* Restore BASH_ARGC and BASH_ARGV */ + if (debugging_mode) + pop_args (); + } #endif - + if (variable_context == 0 || this_shell_function == 0) { make_funcname_visible (0); @@ -4588,7 +4827,7 @@ execute_function (var, words, flags, fds_to_close, async, subshell) unlink_fifo_list (); #endif } - + return (result); } @@ -4642,6 +4881,10 @@ execute_subshell_builtin_or_function (words, redirects, builtin, var, /* A subshell is neither a login shell nor interactive. */ login_shell = interactive = 0; + if (builtin == eval_builtin) + evalnest = 0; + else if (builtin == source_builtin) + sourcenest = 0; if (async) subshell_environment |= SUBSHELL_ASYNC; @@ -4698,14 +4941,14 @@ execute_subshell_builtin_or_function (words, redirects, builtin, var, fflush (stdout); if (r == EX_USAGE) r = EX_BADUSAGE; - exit (r); + sh_exit (r); } } else { r = execute_function (var, words, flags, fds_to_close, async, 1); fflush (stdout); - exit (r); + sh_exit (r); } } @@ -4734,7 +4977,6 @@ execute_builtin_or_function (words, builtin, var, redirects, char *ofifo_list; #endif - #if defined (PROCESS_SUBSTITUTION) ofifo = num_fifos (); ofifo_list = copy_fifo_list (&osize); @@ -4765,7 +5007,7 @@ execute_builtin_or_function (words, builtin, var, redirects, if (saved_undo_list) { - begin_unwind_frame ("saved redirects"); + begin_unwind_frame ("saved-redirects"); add_unwind_protect (cleanup_redirects, (char *)saved_undo_list); } @@ -4801,13 +5043,13 @@ execute_builtin_or_function (words, builtin, var, redirects, redirection_undo_list = exec_redirection_undo_list; saved_undo_list = exec_redirection_undo_list = (REDIRECT *)NULL; if (discard) - discard_unwind_frame ("saved redirects"); + discard_unwind_frame ("saved-redirects"); } if (saved_undo_list) { redirection_undo_list = saved_undo_list; - discard_unwind_frame ("saved redirects"); + discard_unwind_frame ("saved-redirects"); } if (redirection_undo_list) @@ -4885,12 +5127,13 @@ execute_disk_command (words, redirects, command_line, pipe_in, pipe_out, int cmdflags; { char *pathname, *command, **args; - int nofork, result; + int nofork, stdpath, result; pid_t pid; SHELL_VAR *hookf; WORD_LIST *wl; - nofork = (cmdflags & CMD_NO_FORK); /* Don't fork, just exec, if no pipes */ + stdpath = (cmdflags & CMD_STDPATH); /* use command -p path */ + nofork = (cmdflags & CMD_NO_FORK); /* Don't fork, just exec, if no pipes */ pathname = words->word->word; result = EXECUTION_SUCCESS; @@ -4911,7 +5154,7 @@ execute_disk_command (words, redirects, command_line, pipe_in, pipe_out, } #endif /* RESTRICTED_SHELL */ - command = search_for_command (pathname, 1); + command = search_for_command (pathname, CMDSRCH_HASH|(stdpath ? CMDSRCH_STDPATH : 0)); if (command) { @@ -4964,7 +5207,7 @@ execute_disk_command (words, redirects, command_line, pipe_in, pipe_out, if (async) interactive = 0; - subshell_environment = SUBSHELL_FORK; + subshell_environment |= SUBSHELL_FORK; /* XXX - was just = */ if (redirects && (do_redirections (redirects, RX_ACTIVE) != 0)) { @@ -4985,8 +5228,7 @@ execute_disk_command (words, redirects, command_line, pipe_in, pipe_out, if (hookf == 0) { /* Make sure filenames are displayed using printable characters */ - if (ansic_shouldquote (pathname)) - pathname = ansic_quote (pathname, 0, NULL); + pathname = printable_filename (pathname, 0); internal_error (_("%s: command not found"), pathname); exit (EX_NOTFOUND); /* Posix.2 says the exit status is 127 */ } @@ -5142,9 +5384,10 @@ initialize_subshell () history_lines_this_session = 0; #endif -#if defined (JOB_CONTROL) /* Forget about the way job control was working. We are in a subshell. */ without_job_control (); + +#if defined (JOB_CONTROL) set_sigchld_handler (); init_job_stats (); #endif /* JOB_CONTROL */ @@ -5167,7 +5410,7 @@ initialize_subshell () parse_and_execute_level = 0; /* nothing left to restore it */ /* We're no longer inside a shell function. */ - variable_context = return_catch_flag = funcnest = 0; + variable_context = return_catch_flag = funcnest = evalnest = sourcenest = 0; executing_list = 0; /* XXX */ @@ -5183,13 +5426,15 @@ initialize_subshell () # define SETOSTYPE(x) #endif +#define HASH_BANG_BUFSIZ 128 + #define READ_SAMPLE_BUF(file, buf, len) \ do \ { \ fd = open(file, O_RDONLY); \ if (fd >= 0) \ { \ - len = read (fd, buf, 80); \ + len = read (fd, buf, HASH_BANG_BUFSIZ); \ close (fd); \ } \ else \ @@ -5205,7 +5450,7 @@ shell_execve (command, args, env) char **args, **env; { int larray, i, fd; - char sample[80]; + char sample[HASH_BANG_BUFSIZ]; int sample_len; SETOSTYPE (0); /* Some systems use for USG/POSIX semantics */ @@ -5218,6 +5463,8 @@ shell_execve (command, args, env) Maybe it is something we can hack ourselves. */ if (i != ENOEXEC) { + /* make sure this is set correctly for file_error/report_error */ + last_command_exit_value = (i == ENOENT) ? EX_NOTFOUND : EX_NOEXEC; /* XXX Posix.2 says that exit status is 126 */ if (file_isdir (command)) #if defined (EISDIR) internal_error (_("%s: %s"), command, strerror (EISDIR)); @@ -5241,7 +5488,8 @@ shell_execve (command, args, env) run it for some reason. See why. */ #if defined (HAVE_HASH_BANG_EXEC) READ_SAMPLE_BUF (command, sample, sample_len); - sample[sample_len - 1] = '\0'; + if (sample_len > 0) + sample[sample_len - 1] = '\0'; if (sample_len > 2 && sample[0] == '#' && sample[1] == '!') { char *interp; @@ -5265,7 +5513,7 @@ shell_execve (command, args, env) errno = i; file_error (command); } - return ((i == ENOENT) ? EX_NOTFOUND : EX_NOEXEC); /* XXX Posix.2 says that exit status is 126 */ + return (last_command_exit_value); } /* This file is executable. @@ -5295,6 +5543,7 @@ shell_execve (command, args, env) if (check_binary_file (sample, sample_len)) { internal_error (_("%s: cannot execute binary file: %s"), command, strerror (i)); + errno = i; return (EX_BINARY_FILE); } } @@ -5302,6 +5551,7 @@ shell_execve (command, args, env) /* We have committed to attempting to execute the contents of this file as shell commands. */ + reset_parser (); initialize_subshell (); set_sigint_handler (); @@ -5342,7 +5592,11 @@ shell_execve (command, args, env) unbind_args (); /* remove the positional parameters */ - longjmp (subshell_top_level, 1); +#if defined (PROCESS_SUBSTITUTION) + clear_fifo_list (); /* pipe fds are what they are now */ +#endif + + sh_longjmp (subshell_top_level, 1); /*NOTREACHED*/ } @@ -5368,7 +5622,7 @@ execute_intern_function (name, funcdef) { internal_error (_("`%s': is a special builtin"), name->word); last_command_exit_value = EX_BADUSAGE; - jump_to_top_level (ERREXIT); + jump_to_top_level (interactive_shell ? DISCARD : ERREXIT); } var = find_function (name->word); diff --git a/execute_cmd.h b/execute_cmd.h index 67ae93afc..62bec829d 100644 --- a/execute_cmd.h +++ b/execute_cmd.h @@ -1,6 +1,6 @@ /* execute_cmd.h - functions from execute_cmd.c. */ -/* Copyright (C) 1993-2009 Free Software Foundation, Inc. +/* Copyright (C) 1993-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -23,6 +23,18 @@ #include "stdc.h" +#if defined (ARRAY_VARS) +struct func_array_state + { + ARRAY *funcname_a; + SHELL_VAR *funcname_v; + ARRAY *source_a; + SHELL_VAR *source_v; + ARRAY *lineno_a; + SHELL_VAR *lineno_v; + }; +#endif + extern struct fd_bitmap *new_fd_bitmap __P((int)); extern void dispose_fd_bitmap __P((struct fd_bitmap *)); extern void close_fd_bitmap __P((struct fd_bitmap *)); @@ -65,4 +77,8 @@ extern void coproc_unsetvars __P((struct coproc *)); extern void close_all_files __P((void)); #endif +#if defined (ARRAY_VARS) +extern void restore_funcarray_state __P((struct func_array_state *)); +#endif + #endif /* _EXECUTE_CMD_H_ */ diff --git a/expr.c b/expr.c index 1462c102c..1ddb693cb 100644 --- a/expr.c +++ b/expr.c @@ -1,6 +1,6 @@ /* expr.c -- arithmetic expression evaluation. */ -/* Copyright (C) 1990-2013 Free Software Foundation, Inc. +/* Copyright (C) 1990-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -316,7 +316,7 @@ expr_bind_variable (lhs, rhs) v = bind_int_variable (lhs, rhs); if (v && (readonly_p (v) || noassign_p (v))) - longjmp (evalbuf, 1); /* variable assignment error */ + sh_longjmp (evalbuf, 1); /* variable assignment error */ stupidly_hack_special_variables (lhs); } @@ -1123,6 +1123,9 @@ expr_streval (tok, e, lvalue) FREE (value); /* array_variable_name returns new memory */ #endif + if (no_longjmp_on_fatal_error && interactive_shell) + sh_longjmp (evalbuf, 1); + if (interactive_shell) { expr_unwind (); @@ -1416,7 +1419,7 @@ evalerror (msg) internal_error (_("%s%s%s: %s (error token is \"%s\")"), name ? name : "", name ? ": " : "", t, msg, (lasttp && *lasttp) ? lasttp : ""); - longjmp (evalbuf, 1); + sh_longjmp (evalbuf, 1); } /* Convert a string to an intmax_t integer, with an arbitrary base. diff --git a/externs.h b/externs.h index 8db43f288..fa0603d34 100644 --- a/externs.h +++ b/externs.h @@ -103,6 +103,7 @@ extern char **brace_expand __P((char *)); /* Miscellaneous functions from parse.y */ extern int yyparse __P((void)); extern int return_EOF __P((void)); +extern void push_token __P((int)); extern char *xparse_dolparen __P((char *, char *, int *, int)); extern void reset_parser __P((void)); extern WORD_LIST *parse_string_to_word_list __P((char *, int, const char *)); @@ -115,6 +116,8 @@ extern int parser_expanding_alias __P((void)); extern void parser_save_alias __P((void)); extern void parser_restore_alias __P((void)); +extern void clear_shell_input_line __P((void)); + extern char *decode_prompt_string __P((char *)); extern int get_current_prompt_level __P((void)); @@ -150,7 +153,7 @@ extern int find_index_in_alist __P((char *, STRING_INT_ALIST *, int)); extern char *substring __P((const char *, int, int)); extern char *strsub __P((char *, char *, char *, int)); -extern char *strcreplace __P((char *, int, char *, int)); +extern char *strcreplace __P((char *, int, const char *, int)); extern void strip_leading __P((char *)); extern void strip_trailing __P((char *, int, int)); extern void xbcopy __P((char *, char *, int)); @@ -302,7 +305,7 @@ extern int sh_setlinebuf __P((FILE *)); #endif /* declarations for functions defined in lib/sh/shaccess.c */ -extern int sh_eaccess __P((char *, int)); +extern int sh_eaccess __P((const char *, int)); /* declarations for functions defined in lib/sh/shmatch.c */ extern int sh_regmatch __P((const char *, const char *, int)); @@ -323,8 +326,9 @@ extern char *sh_mkdoublequoted __P((const char *, int, int)); extern char *sh_un_double_quote __P((char *)); extern char *sh_backslash_quote __P((char *, const char *, int)); extern char *sh_backslash_quote_for_double_quotes __P((char *)); -extern int sh_contains_shell_metas __P((char *)); -extern int sh_contains_quotes __P((char *)); +extern char *sh_quote_reusable __P((char *, int)); +extern int sh_contains_shell_metas __P((const char *)); +extern int sh_contains_quotes __P((const char *)); /* declarations for functions defined in lib/sh/spell.c */ extern int spname __P((char *, char *)); @@ -487,7 +491,7 @@ extern void get_new_window_size __P((int, int *, int *)); extern int zcatfd __P((int, int, char *)); /* declarations for functions defined in lib/sh/zgetline.c */ -extern ssize_t zgetline __P((int, char **, size_t *, int)); +extern ssize_t zgetline __P((int, char **, size_t *, int, int)); /* declarations for functions defined in lib/sh/zmapfd.c */ extern int zmapfd __P((int, char **, char *)); @@ -506,11 +510,11 @@ extern void zsyncfd __P((int)); extern int zwrite __P((int, char *, size_t)); /* declarations for functions defined in lib/glob/gmisc.c */ -extern int match_pattern_char __P((char *, char *)); +extern int match_pattern_char __P((char *, char *, int)); extern int umatchlen __P((char *, size_t)); #if defined (HANDLE_MULTIBYTE) -extern int match_pattern_wchar __P((wchar_t *, wchar_t *)); +extern int match_pattern_wchar __P((wchar_t *, wchar_t *, int)); extern int wmatchlen __P((wchar_t *, size_t)); #endif diff --git a/findcmd.c b/findcmd.c index 9f3d954fb..7ff349ce8 100644 --- a/findcmd.c +++ b/findcmd.c @@ -1,6 +1,6 @@ /* findcmd.c -- Functions to search for commands by name. */ -/* Copyright (C) 1997-2012 Free Software Foundation, Inc. +/* Copyright (C) 1997-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -44,6 +44,8 @@ #include "hashcmd.h" #include "findcmd.h" /* matching prototypes and declarations */ +#include + #if !defined (errno) extern int errno; #endif @@ -69,7 +71,7 @@ static char *file_to_lose_on; /* Non-zero if we should stat every command found in the hash table to make sure it still exists. */ -int check_hashed_filenames; +int check_hashed_filenames = CHECKHASH_DEFAULT; /* DOT_FOUND_IN_SEARCH becomes non-zero when find_user_command () encounters a `.' as the directory pathname while scanning the @@ -77,6 +79,36 @@ int check_hashed_filenames; containing the file of interest. */ int dot_found_in_search = 0; +/* Set up EXECIGNORE; a blacklist of patterns that executable files should not + match. */ +static struct ignorevar execignore = +{ + "EXECIGNORE", + NULL, + 0, + NULL, + NULL +}; + +void +setup_exec_ignore (varname) + char *varname; +{ + setup_ignore_patterns (&execignore); +} + +static int +exec_name_should_ignore (name) + const char *name; +{ + struct ign *p; + + for (p = execignore.ignores; p && p->val; p++) + if (strmatch (p->val, (char *)name, FNMATCH_EXTFLAG|FNM_CASEFOLD) != FNM_NOMATCH) + return 1; + return 0; +} + /* Return some flags based on information about this file. The EXISTS bit is non-zero if the file is found. The EXECABLE bit is non-zero the file is executble. @@ -104,7 +136,7 @@ file_status (name) file access mechanisms into account. eaccess uses the effective user and group IDs, not the real ones. We could use sh_eaccess, but we don't want any special treatment for /dev/fd. */ - if (eaccess (name, X_OK) == 0) + if (exec_name_should_ignore (name) == 0 && eaccess (name, X_OK) == 0) r |= FS_EXECABLE; if (eaccess (name, R_OK) == 0) r |= FS_READABLE; @@ -114,7 +146,7 @@ file_status (name) /* We have to use access(2) to determine access because AFS does not support Unix file system semantics. This may produce wrong answers for non-AFS files when ruid != euid. I hate AFS. */ - if (access (name, X_OK) == 0) + if (exec_name_should_ignore (name) == 0 && access (name, X_OK) == 0) r |= FS_EXECABLE; if (access (name, R_OK) == 0) r |= FS_READABLE; @@ -131,7 +163,7 @@ file_status (name) if (current_user.euid == (uid_t)0) { r |= FS_READABLE; - if (finfo.st_mode & S_IXUGO) + if (exec_name_should_ignore (name) == 0 && (finfo.st_mode & S_IXUGO)) r |= FS_EXECABLE; return r; } @@ -139,7 +171,7 @@ file_status (name) /* If we are the owner of the file, the owner bits apply. */ if (current_user.euid == finfo.st_uid) { - if (finfo.st_mode & S_IXUSR) + if (exec_name_should_ignore (name) == 0 && (finfo.st_mode & S_IXUSR)) r |= FS_EXECABLE; if (finfo.st_mode & S_IRUSR) r |= FS_READABLE; @@ -148,7 +180,7 @@ file_status (name) /* If we are in the owning group, the group permissions apply. */ else if (group_member (finfo.st_gid)) { - if (finfo.st_mode & S_IXGRP) + if (exec_name_should_ignore (name) == 0 && (finfo.st_mode & S_IXGRP)) r |= FS_EXECABLE; if (finfo.st_mode & S_IRGRP) r |= FS_READABLE; @@ -157,7 +189,7 @@ file_status (name) /* Else we check whether `others' have permission to execute the file */ else { - if (finfo.st_mode & S_IXOTH) + if (exec_name_should_ignore (name) == 0 && finfo.st_mode & S_IXOTH) r |= FS_EXECABLE; if (finfo.st_mode & S_IROTH) r |= FS_READABLE; @@ -178,7 +210,7 @@ executable_file (file) int s; s = file_status (file); -#if defined EISDIR +#if defined (EISDIR) if (s & FS_DIRECTORY) errno = EISDIR; /* let's see if we can improve error messages */ #endif @@ -297,15 +329,17 @@ get_next_path_element (path_list, path_index_pointer) /* Look for PATHNAME in $PATH. Returns either the hashed command corresponding to PATHNAME or the first instance of PATHNAME found - in $PATH. If (FLAGS&1) is non-zero, insert the instance of PATHNAME - found in $PATH into the command hash table. Returns a newly-allocated - string. */ + in $PATH. If (FLAGS&CMDSRCH_HASH) is non-zero, insert the instance of + PATHNAME found in $PATH into the command hash table. If (FLAGS&CMDSRCH_STDPATH) + is non-zero, we are running in a `command -p' environment and should use + the Posix standard path. + Returns a newly-allocated string. */ char * search_for_command (pathname, flags) const char *pathname; int flags; { - char *hashed_file, *command; + char *hashed_file, *command, *pathlist; int temp_path, st; SHELL_VAR *path; @@ -315,13 +349,11 @@ search_for_command (pathname, flags) hash table to search for the full pathname. */ path = find_variable_tempenv ("PATH"); temp_path = path && tempvar_p (path); - if (temp_path == 0 && path) - path = (SHELL_VAR *)NULL; /* Don't waste time trying to find hashed data for a pathname that is already completely specified or if we're using a command- specific value for PATH. */ - if (path == 0 && absolute_program (pathname) == 0) + if (temp_path == 0 && absolute_program (pathname) == 0) hashed_file = phash_search (pathname); /* If a command found in the hash table no longer exists, we need to @@ -347,18 +379,34 @@ search_for_command (pathname, flags) command = savestring (pathname); else { - /* If $PATH is in the temporary environment, we've already retrieved - it, so don't bother trying again. */ - if (temp_path) + if (flags & CMDSRCH_STDPATH) + pathlist = conf_standard_path (); + else if (temp_path || path) + pathlist = value_cell (path); + else + pathlist = 0; + + command = find_user_command_in_path (pathname, pathlist, FS_EXEC_PREFERRED|FS_NODIRS); + + if (command && hashing_enabled && temp_path == 0 && (flags & CMDSRCH_HASH)) { - command = find_user_command_in_path (pathname, value_cell (path), - FS_EXEC_PREFERRED|FS_NODIRS); + /* If we found the full pathname the same as the command name, the + command probably doesn't exist. Don't put it into the hash + table. */ + if (STREQ (command, pathname)) + { + st = file_status (command); + if (st & FS_EXECABLE) + phash_insert ((char *)pathname, command, dot_found_in_search, 1); + } + else + phash_insert ((char *)pathname, command, dot_found_in_search, 1); } - else - command = find_user_command (pathname); - if (command && hashing_enabled && temp_path == 0 && (flags & 1)) - phash_insert ((char *)pathname, command, dot_found_in_search, 1); /* XXX fix const later */ + + if (flags & CMDSRCH_STDPATH) + free (pathlist); } + return (command); } @@ -478,7 +526,7 @@ find_in_path_element (name, path, flags, name_len, dotinfop) int status; char *full_path, *xpath; - xpath = (*path == '~') ? bash_tilde_expand (path, 0) : path; + xpath = (posixly_correct == 0 && *path == '~') ? bash_tilde_expand (path, 0) : path; /* Remember the location of "." in the path, in all its forms (as long as they begin with a `.', e.g. `./.') */ @@ -520,7 +568,7 @@ find_in_path_element (name, path, flags, name_len, dotinfop) /* The file is not executable, but it does exist. If we prefer an executable, then remember this one if it is the first one we have found. */ - if ((flags & FS_EXEC_PREFERRED) && file_to_lose_on == 0) + if ((flags & FS_EXEC_PREFERRED) && file_to_lose_on == 0 && exec_name_should_ignore (full_path) == 0) file_to_lose_on = savestring (full_path); /* If we want only executable files, or we don't want directories and @@ -621,3 +669,14 @@ find_user_command_in_path (name, path_list, flags) return (file_to_lose_on); } + +/* External interface to find a command given a $PATH. Separate from + find_user_command_in_path to allow future customization. */ +char * +find_in_path (name, path_list, flags) + const char *name; + char *path_list; + int flags; +{ + return (find_user_command_in_path (name, path_list, flags)); +} diff --git a/findcmd.h b/findcmd.h index 52ad1d0bc..bc4a41afb 100644 --- a/findcmd.h +++ b/findcmd.h @@ -1,6 +1,6 @@ /* findcmd.h - functions from findcmd.c. */ -/* Copyright (C) 1997-2012 Free Software Foundation, Inc. +/* Copyright (C) 1997-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -23,13 +23,20 @@ #include "stdc.h" +/* Flags for search_for_command */ +#define CMDSRCH_HASH 0x01 +#define CMDSRCH_STDPATH 0x02 +#define CMDSRCH_TEMPENV 0x04 + extern int file_status __P((const char *)); extern int executable_file __P((const char *)); extern int is_directory __P((const char *)); extern int executable_or_directory __P((const char *)); extern char *find_user_command __P((const char *)); +extern char *find_in_path __P((const char *, char *, int)); extern char *find_path_file __P((const char *)); extern char *search_for_command __P((const char *, int)); extern char *user_command_matches __P((const char *, int, int)); +extern void setup_exec_ignore __P((char *)); #endif /* _FINDCMD_H_ */ diff --git a/flags.c b/flags.c index eaec9aae8..4b94fb030 100644 --- a/flags.c +++ b/flags.c @@ -1,7 +1,7 @@ /* flags.c -- Everything about flags except the `set' command. That is in builtins.c */ -/* Copyright (C) 1987-2009 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -90,6 +90,7 @@ int unbound_vars_is_error = 0; /* Non-zero means type out input lines after you read them. */ int echo_input_at_read = 0; +int verbose_flag = 0; /* Non-zero means type out the command definition after reading, but before executing. */ @@ -197,7 +198,7 @@ const struct flags_alist shell_flags[] = { #endif /* RESTRICTED_SHELL */ { 't', &just_one_command }, { 'u', &unbound_vars_is_error }, - { 'v', &echo_input_at_read }, + { 'v', &verbose_flag }, { 'x', &echo_command_at_execute }, /* New flags that control non-standard things. */ @@ -297,6 +298,9 @@ change_flag (flag, on_or_off) break; #endif + case 'v': + echo_input_at_read = verbose_flag; + break; } return (old_value); @@ -324,14 +328,45 @@ which_set_flags () return (temp); } +char * +get_current_flags () +{ + char *temp; + int i; + + temp = (char *)xmalloc (1 + NUM_SHELL_FLAGS); + for (i = 0; shell_flags[i].name; i++) + temp[i] = *(shell_flags[i].value); + temp[i] = '\0'; + return (temp); +} + +void +set_current_flags (bitmap) + const char *bitmap; +{ + int i; + + if (bitmap == 0) + return; + for (i = 0; shell_flags[i].name; i++) + *(shell_flags[i].value) = bitmap[i]; +} + void reset_shell_flags () { - mark_modified_vars = exit_immediately_on_error = disallow_filename_globbing = 0; + mark_modified_vars = disallow_filename_globbing = 0; place_keywords_in_env = read_but_dont_execute = just_one_command = 0; - noclobber = unbound_vars_is_error = echo_input_at_read = 0; + noclobber = unbound_vars_is_error = 0; echo_command_at_execute = jobs_m_flag = forced_interactive = 0; - no_symbolic_links = no_invisible_vars = privileged_mode = pipefail_opt = 0; + no_symbolic_links = no_invisible_vars = 0; + privileged_mode = pipefail_opt = 0; + + error_trace_mode = function_trace_mode = 0; + + exit_immediately_on_error = errexit_flag = 0; + echo_input_at_read = verbose_flag = 0; hashing_enabled = interactive_comments = 1; @@ -340,7 +375,11 @@ reset_shell_flags () #endif #if defined (BANG_HISTORY) +# if defined (STRICT_POSIX) + history_expansion = 0; +# else history_expansion = 1; +# endif /* STRICT_POSIX */ #endif #if defined (BRACE_EXPANSION) diff --git a/flags.h b/flags.h index 830edab40..d5ed334e1 100644 --- a/flags.h +++ b/flags.h @@ -1,7 +1,7 @@ /* flags.h -- a list of all the flags that the shell knows about. You add a flag to this program by adding the name here, and in flags.c. */ -/* Copyright (C) 1993-2009 Free Software Foundation, Inc. +/* Copyright (C) 1993-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -44,7 +44,7 @@ extern int mark_modified_vars, errexit_flag, exit_immediately_on_error, disallow_filename_globbing, place_keywords_in_env, read_but_dont_execute, - just_one_command, unbound_vars_is_error, echo_input_at_read, + just_one_command, unbound_vars_is_error, echo_input_at_read, verbose_flag, echo_command_at_execute, no_invisible_vars, noclobber, hashing_enabled, forced_interactive, privileged_mode, jobs_m_flag, asynchronous_notification, interactive_comments, no_symbolic_links, @@ -72,6 +72,9 @@ extern int change_flag __P((int, int)); extern char *which_set_flags __P((void)); extern void reset_shell_flags __P((void)); +extern char *get_current_flags __P((void)); +extern void set_current_flags __P((const char *)); + extern void initialize_flags __P((void)); /* A macro for efficiency. */ diff --git a/general.c b/general.c index 087689eb7..2d327add6 100644 --- a/general.c +++ b/general.c @@ -1,6 +1,6 @@ /* general.c -- Stuff that is used by all files. */ -/* Copyright (C) 1987-2011 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -42,6 +42,10 @@ #include "test.h" #include "trap.h" +#if defined (HAVE_MBSTR_H) && defined (HAVE_MBSCHR) +# include /* mbschr */ +#endif + #include #if !defined (errno) @@ -53,6 +57,8 @@ extern int interactive_comments; extern int check_hashed_filenames; extern int source_uses_path; extern int source_searches_cwd; +extern int posixly_correct; +extern int inherit_errexit; static char *bash_special_tilde_expansions __P((char *)); static int unquoted_tilde_word __P((const char *)); @@ -70,6 +76,7 @@ posix_initialize (on) if (on != 0) { interactive_comments = source_uses_path = expand_aliases = 1; + inherit_errexit = 1; source_searches_cwd = 0; } @@ -147,9 +154,9 @@ print_rlimtype (n, addnl) /* Return non-zero if all of the characters in STRING are digits. */ int all_digits (string) - char *string; + const char *string; { - register char *s; + register const char *s; for (s = string; *s; s++) if (DIGIT (*s) == 0) @@ -204,9 +211,9 @@ legal_number (string, result) digit. */ int legal_identifier (name) - char *name; + const char *name; { - register char *s; + register const char *s; unsigned char c; if (!name || !(c = *name) || (legal_variable_starter (c) == 0)) @@ -220,6 +227,57 @@ legal_identifier (name) return (1); } +/* Return 1 if NAME is a valid value that can be assigned to a nameref + variable. FLAGS can be 2, in which case the name is going to be used + to create a variable. Other values are currently unused, but could + be used to allow values to be stored and indirectly referenced, but + not used in assignments. */ +int +valid_nameref_value (name, flags) + const char *name; + int flags; +{ + if (name == 0 || *name == 0) + return 0; + + /* valid identifier */ +#if defined (ARRAY_VARS) + if (legal_identifier (name) || (flags != 2 && valid_array_reference (name, 0))) +#else + if (legal_identifier (name)) +#endif + return 1; + + return 0; +} + +int +check_selfref (name, value, flags) + const char *name; + char *value; + int flags; +{ + char *t; + + if (STREQ (name, value)) + return 1; + +#if defined (ARRAY_VARS) + if (valid_array_reference (value, 0)) + { + t = array_variable_name (value, (char **)NULL, (int *)NULL); + if (t && STREQ (name, t)) + { + free (t); + return 1; + } + free (t); + } +#endif + + return 0; /* not a self reference */ +} + /* Make sure that WORD is a valid shell identifier, i.e. does not contain a dollar sign, nor is quoted in any way. Nor does it consist of all digits. If CHECK_WORD is non-zero, @@ -244,15 +302,45 @@ check_identifier (word, check_word) return (1); } +/* Return 1 if STRING is a function name that the shell will import from + the environment. Currently we reject attempts to import shell functions + containing slashes, beginning with newlines or containing blanks. In + Posix mode, we require that STRING be a valid shell identifier. Not + used yet. */ +int +importable_function_name (string, len) + const char *string; + size_t len; +{ + if (absolute_program (string)) /* don't allow slash */ + return 0; + if (*string == '\n') /* can't start with a newline */ + return 0; + if (shellblank (*string) || shellblank(string[len-1])) + return 0; + return (posixly_correct ? legal_identifier (string) : 1); +} + +int +exportable_function_name (string) + const char *string; +{ + if (absolute_program (string)) + return 0; + if (mbschr (string, '=') != 0) + return 0; + return 1; +} + /* Return 1 if STRING comprises a valid alias name. The shell accepts essentially all characters except those which must be quoted to the parser (which disqualifies them from alias expansion anyway) and `/'. */ int legal_alias_name (string, flags) - char *string; + const char *string; int flags; { - register char *s; + register const char *s; for (s = string; *s; s++) if (shellbreak (*s) || shellxquote (*s) || shellexp (*s) || (*s == '/')) @@ -372,9 +460,7 @@ fd_ispipe (fd) int fd; { errno = 0; - if (lseek ((fd), 0L, SEEK_CUR) < 0) - return (errno == ESPIPE); - return 0; + return ((lseek (fd, 0L, SEEK_CUR) < 0) && (errno == ESPIPE)); } /* There is a bug in the NeXT 2.1 rlogind that causes opens @@ -411,7 +497,7 @@ check_dev_tty () corresponding to PATH1 and PATH2, respectively. */ int same_file (path1, path2, stp1, stp2) - char *path1, *path2; + const char *path1, *path2; struct stat *stp1, *stp2; { struct stat st1, st2; @@ -480,7 +566,7 @@ move_to_high_fd (fd, check_new, maxfd) int check_binary_file (sample, sample_len) - char *sample; + const char *sample; int sample_len; { register int i; @@ -541,7 +627,7 @@ sh_closepipe (pv) int file_exists (fn) - char *fn; + const char *fn; { struct stat sb; @@ -550,7 +636,7 @@ file_exists (fn) int file_isdir (fn) - char *fn; + const char *fn; { struct stat sb; @@ -559,7 +645,7 @@ file_isdir (fn) int file_iswdir (fn) - char *fn; + const char *fn; { return (file_isdir (fn) && sh_eaccess (fn, W_OK) == 0); } @@ -623,7 +709,7 @@ absolute_program (string) begin with. */ char * make_absolute (string, dot_path) - char *string, *dot_path; + const char *string, *dot_path; { char *result; @@ -777,6 +863,27 @@ trim_pathname (name, maxlen) return name; } +/* Return a printable representation of FN without special characters. The + caller is responsible for freeing memory if this returns something other + than its argument. If FLAGS is non-zero, we are printing for portable + re-input and should single-quote filenames appropriately. */ +char * +printable_filename (fn, flags) + char *fn; + int flags; +{ + char *newf; + + if (ansic_shouldquote (fn)) + newf = ansic_quote (fn, 0, NULL); + else if (flags && sh_contains_shell_metas (fn)) + newf = sh_single_quote (fn); + else + newf = fn; + + return newf; +} + /* Given a string containing units of information separated by colons, return the next one pointed to by (P_INDEX), or NULL if there are no more. Advance (P_INDEX) to the character after the colon. */ @@ -983,6 +1090,7 @@ bash_tilde_expand (s, assign_p) int old_immed, old_term, r; char *ret; +#if 0 old_immed = interrupt_immediately; old_term = terminate_immediately; /* We want to be able to interrupt tilde expansion. Ordinarily, we can just @@ -992,6 +1100,7 @@ bash_tilde_expand (s, assign_p) if (any_signals_trapped () < 0) interrupt_immediately = 1; terminate_immediately = 1; +#endif tilde_additional_prefixes = assign_p == 0 ? (char **)0 : (assign_p == 2 ? bash_tilde_prefixes2 : bash_tilde_prefixes); @@ -1001,8 +1110,10 @@ bash_tilde_expand (s, assign_p) r = (*s == '~') ? unquoted_tilde_word (s) : 1; ret = r ? tilde_expand (s) : savestring (s); +#if 0 interrupt_immediately = old_immed; terminate_immediately = old_term; +#endif QUIT; @@ -1175,3 +1286,38 @@ get_group_array (ngp) *ngp = ngroups; return group_iarray; } + +/* **************************************************************** */ +/* */ +/* Miscellaneous functions */ +/* */ +/* **************************************************************** */ + +/* Return a value for PATH that is guaranteed to find all of the standard + utilities. This uses Posix.2 configuration variables, if present. It + uses a value defined in config.h as a last resort. */ +char * +conf_standard_path () +{ +#if defined (_CS_PATH) && defined (HAVE_CONFSTR) + char *p; + size_t len; + + len = (size_t)confstr (_CS_PATH, (char *)NULL, (size_t)0); + if (len > 0) + { + p = (char *)xmalloc (len + 2); + *p = '\0'; + confstr (_CS_PATH, p, len); + return (p); + } + else + return (savestring (STANDARD_UTILS_PATH)); +#else /* !_CS_PATH || !HAVE_CONFSTR */ +# if defined (CS_PATH) + return (savestring (CS_PATH)); +# else + return (savestring (STANDARD_UTILS_PATH)); +# endif /* !CS_PATH */ +#endif /* !_CS_PATH || !HAVE_CONFSTR */ +} diff --git a/general.h b/general.h index 1f8c54aea..819634ce2 100644 --- a/general.h +++ b/general.h @@ -1,6 +1,6 @@ /* general.h -- defines that everybody likes to use. */ -/* Copyright (C) 1993-2009 Free Software Foundation, Inc. +/* Copyright (C) 1993-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -124,7 +124,7 @@ typedef struct { int token; } STRING_INT_ALIST; -/* A macro to avoid making an unneccessary function call. */ +/* A macro to avoid making an unnecessary function call. */ #define REVERSE_LIST(list, type) \ ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ : (type)(list)) @@ -219,6 +219,9 @@ typedef int sh_ignore_func_t __P((const char *)); /* sh_icpfunc_t */ typedef int sh_assign_func_t __P((const char *)); typedef int sh_wassign_func_t __P((WORD_DESC *, int)); +typedef int sh_load_func_t __P((char *)); +typedef void sh_unload_func_t __P((char *)); + typedef int sh_builtin_func_t __P((WORD_LIST *)); /* sh_wlist_func_t */ #endif /* SH_FUNCTION_TYPEDEF */ @@ -280,11 +283,15 @@ extern RLIMTYPE string_to_rlimtype __P((char *)); extern void print_rlimtype __P((RLIMTYPE, int)); #endif -extern int all_digits __P((char *)); +extern int all_digits __P((const char *)); extern int legal_number __P((const char *, intmax_t *)); -extern int legal_identifier __P((char *)); +extern int legal_identifier __P((const char *)); +extern int importable_function_name __P((const char *, size_t)); +extern int exportable_function_name __P((const char *)); extern int check_identifier __P((WORD_DESC *, int)); -extern int legal_alias_name __P((char *, int)); +extern int valid_nameref_value __P((const char *, int)); +extern int check_selfref __P((const char *, char *, int)); +extern int legal_alias_name __P((const char *, int)); extern int assignment __P((const char *, int)); extern int sh_unset_nodelay_mode __P((int)); @@ -292,27 +299,28 @@ extern int sh_validfd __P((int)); extern int fd_ispipe __P((int)); extern void check_dev_tty __P((void)); extern int move_to_high_fd __P((int, int, int)); -extern int check_binary_file __P((char *, int)); +extern int check_binary_file __P((const char *, int)); #ifdef _POSIXSTAT_H_ -extern int same_file __P((char *, char *, struct stat *, struct stat *)); +extern int same_file __P((const char *, const char *, struct stat *, struct stat *)); #endif extern int sh_openpipe __P((int *)); extern int sh_closepipe __P((int *)); -extern int file_exists __P((char *)); -extern int file_isdir __P((char *)); -extern int file_iswdir __P((char *)); +extern int file_exists __P((const char *)); +extern int file_isdir __P((const char *)); +extern int file_iswdir __P((const char *)); extern int path_dot_or_dotdot __P((const char *)); extern int absolute_pathname __P((const char *)); extern int absolute_program __P((const char *)); -extern char *make_absolute __P((char *, char *)); +extern char *make_absolute __P((const char *, const char *)); extern char *base_pathname __P((char *)); extern char *full_pathname __P((char *)); extern char *polite_directory_format __P((char *)); extern char *trim_pathname __P((char *, int)); +extern char *printable_filename __P((char *, int)); extern char *extract_colon_unit __P((char *, int *)); @@ -324,4 +332,6 @@ extern int group_member __P((gid_t)); extern char **get_group_list __P((int *)); extern int *get_group_array __P((int *)); +extern char *conf_standard_path __P((void)); + #endif /* _GENERAL_H_ */ diff --git a/hashlib.c b/hashlib.c index ea67dfc76..e23641c32 100644 --- a/hashlib.c +++ b/hashlib.c @@ -179,6 +179,7 @@ hash_search (string, table, flags) for (list = table->bucket_array ? table->bucket_array[bucket] : 0; list; list = list->next) { + /* This is the comparison function */ if (hv == list->khash && STREQ (list->key, string)) { list->times_found++; @@ -402,13 +403,22 @@ fatal_error (const char *format, ...) abort(); } +void +internal_warning (const char *format, ...) +{ +} + main () { char string[256]; int count = 0; BUCKET_CONTENTS *tt; +#if defined (TEST_NBUCKETS) + table = hash_create (TEST_NBUCKETS); +#else table = hash_create (0); +#endif for (;;) { diff --git a/hashlib.h b/hashlib.h index 4620e423c..88ea778f0 100644 --- a/hashlib.h +++ b/hashlib.h @@ -73,7 +73,7 @@ extern unsigned int hash_string __P((const char *)); (BUCKET_CONTENTS *)NULL) /* Default number of buckets in the hash table. */ -#define DEFAULT_HASH_BUCKETS 64 /* was 107, then 53, must be power of two now */ +#define DEFAULT_HASH_BUCKETS 128 /* must be power of two */ #define HASH_ENTRIES(ht) ((ht) ? (ht)->nentries : 0) diff --git a/include/chartypes.h b/include/chartypes.h index c7080181c..098cfb967 100644 --- a/include/chartypes.h +++ b/include/chartypes.h @@ -46,11 +46,11 @@ #endif #if !defined (isprint) && !defined (HAVE_ISPRINT) -# define isprint(c) (isalpha(c) || isdigit(c) || ispunct(c)) +# define isprint(c) (isalpha((unsigned char)c) || isdigit((unsigned char)c) || ispunct((unsigned char)c)) #endif #if defined (isblank) || defined (HAVE_ISBLANK) -# define ISBLANK(c) (IN_CTYPE_DOMAIN (c) && isblank (c)) +# define ISBLANK(c) (IN_CTYPE_DOMAIN (c) && isblank ((unsigned char)c)) #else # define ISBLANK(c) ((c) == ' ' || (c) == '\t') #endif @@ -58,7 +58,7 @@ #if defined (isgraph) || defined (HAVE_ISGRAPH) # define ISGRAPH(c) (IN_CTYPE_DOMAIN (c) && isgraph (c)) #else -# define ISGRAPH(c) (IN_CTYPE_DOMAIN (c) && isprint (c) && !isspace (c)) +# define ISGRAPH(c) (IN_CTYPE_DOMAIN (c) && isprint ((unsigned char)c) && !isspace ((unsigned char)c)) #endif #if !defined (isxdigit) && !defined (HAVE_ISXDIGIT) @@ -67,16 +67,16 @@ #undef ISPRINT -#define ISPRINT(c) (IN_CTYPE_DOMAIN (c) && isprint (c)) -#define ISDIGIT(c) (IN_CTYPE_DOMAIN (c) && isdigit (c)) -#define ISALNUM(c) (IN_CTYPE_DOMAIN (c) && isalnum (c)) -#define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha (c)) -#define ISCNTRL(c) (IN_CTYPE_DOMAIN (c) && iscntrl (c)) -#define ISLOWER(c) (IN_CTYPE_DOMAIN (c) && islower (c)) -#define ISPUNCT(c) (IN_CTYPE_DOMAIN (c) && ispunct (c)) -#define ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace (c)) -#define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper (c)) -#define ISXDIGIT(c) (IN_CTYPE_DOMAIN (c) && isxdigit (c)) +#define ISPRINT(c) (IN_CTYPE_DOMAIN (c) && isprint ((unsigned char)c)) +#define ISDIGIT(c) (IN_CTYPE_DOMAIN (c) && isdigit ((unsigned char)c)) +#define ISALNUM(c) (IN_CTYPE_DOMAIN (c) && isalnum ((unsigned char)c)) +#define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha ((unsigned char)c)) +#define ISCNTRL(c) (IN_CTYPE_DOMAIN (c) && iscntrl ((unsigned char)c)) +#define ISLOWER(c) (IN_CTYPE_DOMAIN (c) && islower ((unsigned char)c)) +#define ISPUNCT(c) (IN_CTYPE_DOMAIN (c) && ispunct ((unsigned char)c)) +#define ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace ((unsigned char)c)) +#define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper ((unsigned char)c)) +#define ISXDIGIT(c) (IN_CTYPE_DOMAIN (c) && isxdigit ((unsigned char)c)) #define ISLETTER(c) (ISALPHA(c)) @@ -103,7 +103,7 @@ #ifndef TOCTRL /* letter to control char -- ASCII. The TOUPPER is in there so \ce and \cE will map to the same character in $'...' expansions. */ -# define TOCTRL(x) (TOUPPER(x) & 037) +# define TOCTRL(x) ((x) == '?' ? 0x7f : (TOUPPER(x) & 0x1f)) #endif #ifndef UNCTRL /* control char to letter -- ASCII */ diff --git a/include/posixjmp.h b/include/posixjmp.h index 98cf7185e..9c7e99ed4 100644 --- a/include/posixjmp.h +++ b/include/posixjmp.h @@ -1,6 +1,6 @@ /* posixjmp.h -- wrapper for setjmp.h with changes for POSIX systems. */ -/* Copyright (C) 1987,1991 Free Software Foundation, Inc. +/* Copyright (C) 1987,1991-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -27,16 +27,20 @@ #if defined (HAVE_POSIX_SIGSETJMP) # define procenv_t sigjmp_buf -# if !defined (__OPENNT) -# undef setjmp -# define setjmp(x) sigsetjmp((x), 1) -# define setjmp_nosigs(x) sigsetjmp((x), 0) -# undef longjmp -# define longjmp(x, n) siglongjmp((x), (n)) -# endif /* !__OPENNT */ + +# define setjmp_nosigs(x) sigsetjmp((x), 0) +# define setjmp_sigs(x) sigsetjmp((x), 1) + +# define _rl_longjmp(x, n) siglongjmp((x), (n)) +# define sh_longjmp(x, n) siglongjmp((x), (n)) #else # define procenv_t jmp_buf -# define setjmp_nosigs setjmp + +# define setjmp_nosigs setjmp +# define setjmp_sigs setjmp + +# define _rl_longjmp(x, n) longjmp((x), (n)) +# define sh_longjmp(x, n) longjmp((x), (n)) #endif #endif /* _POSIXJMP_H_ */ diff --git a/include/shmbchar.h b/include/shmbchar.h index a475f568d..a4f3f2472 100644 --- a/include/shmbchar.h +++ b/include/shmbchar.h @@ -16,132 +16,6 @@ /* Written by Bruno Haible . */ -/* A multibyte character is a short subsequence of a char* string, - representing a single wide character. - - We use multibyte characters instead of wide characters because of - the following goals: - 1) correct multibyte handling, i.e. operate according to the LC_CTYPE - locale, - 2) ease of maintenance, i.e. the maintainer needs not know all details - of the ISO C 99 standard, - 3) don't fail grossly if the input is not in the encoding set by the - locale, because often different encodings are in use in the same - countries (ISO-8859-1/UTF-8, EUC-JP/Shift_JIS, ...), - 4) fast in the case of ASCII characters, - 5) portability, i.e. don't make unportable assumptions about wchar_t. - - Multibyte characters are only accessed through the mb* macros. - - mb_ptr (mbc) - return a pointer to the beginning of the multibyte sequence. - - mb_len (mbc) - returns the number of bytes occupied by the multibyte sequence. - Always > 0. - - mb_iseq (mbc, sc) - returns true if mbc is the standard ASCII character sc. - - mb_isnul (mbc) - returns true if mbc is the nul character. - - mb_cmp (mbc1, mbc2) - returns a positive, zero, or negative value depending on whether mbc1 - sorts after, same or before mbc2. - - mb_casecmp (mbc1, mbc2) - returns a positive, zero, or negative value depending on whether mbc1 - sorts after, same or before mbc2, modulo upper/lowercase conversion. - - mb_equal (mbc1, mbc2) - returns true if mbc1 and mbc2 are equal. - - mb_caseequal (mbc1, mbc2) - returns true if mbc1 and mbc2 are equal modulo upper/lowercase conversion. - - mb_isalnum (mbc) - returns true if mbc is alphanumeric. - - mb_isalpha (mbc) - returns true if mbc is alphabetic. - - mb_isascii(mbc) - returns true if mbc is plain ASCII. - - mb_isblank (mbc) - returns true if mbc is a blank. - - mb_iscntrl (mbc) - returns true if mbc is a control character. - - mb_isdigit (mbc) - returns true if mbc is a decimal digit. - - mb_isgraph (mbc) - returns true if mbc is a graphic character. - - mb_islower (mbc) - returns true if mbc is lowercase. - - mb_isprint (mbc) - returns true if mbc is a printable character. - - mb_ispunct (mbc) - returns true if mbc is a punctuation character. - - mb_isspace (mbc) - returns true if mbc is a space character. - - mb_isupper (mbc) - returns true if mbc is uppercase. - - mb_isxdigit (mbc) - returns true if mbc is a hexadecimal digit. - - mb_width (mbc) - returns the number of columns on the output device occupied by mbc. - Always >= 0. - - mb_putc (mbc, stream) - outputs mbc on stream, a byte oriented FILE stream opened for output. - - mb_setascii (&mbc, sc) - assigns the standard ASCII character sc to mbc. - - mb_copy (&destmbc, &srcmbc) - copies srcmbc to destmbc. - - Here are the function prototypes of the macros. - - typedef int bool; - extern const char * mb_ptr (const mbchar_t mbc); - extern size_t mb_len (const mbchar_t mbc); - extern bool mb_iseq (const mbchar_t mbc, char sc); - extern bool mb_isnul (const mbchar_t mbc); - extern int mb_cmp (const mbchar_t mbc1, const mbchar_t mbc2); - extern int mb_casecmp (const mbchar_t mbc1, const mbchar_t mbc2); - extern bool mb_equal (const mbchar_t mbc1, const mbchar_t mbc2); - extern bool mb_caseequal (const mbchar_t mbc1, const mbchar_t mbc2); - extern bool mb_isalnum (const mbchar_t mbc); - extern bool mb_isalpha (const mbchar_t mbc); - extern bool mb_isascii (const mbchar_t mbc); - extern bool mb_isblank (const mbchar_t mbc); - extern bool mb_iscntrl (const mbchar_t mbc); - extern bool mb_isdigit (const mbchar_t mbc); - extern bool mb_isgraph (const mbchar_t mbc); - extern bool mb_islower (const mbchar_t mbc); - extern bool mb_isprint (const mbchar_t mbc); - extern bool mb_ispunct (const mbchar_t mbc); - extern bool mb_isspace (const mbchar_t mbc); - extern bool mb_isupper (const mbchar_t mbc); - extern bool mb_isxdigit (const mbchar_t mbc); - extern int mb_width (const mbchar_t mbc); - extern void mb_putc (const mbchar_t mbc, FILE *stream); - extern void mb_setascii (mbchar_t *new, char sc); - extern void mb_copy (mbchar_t *new, const mbchar_t *old); - */ - #ifndef _SHMBCHAR_H #define _SHMBCHAR_H 1 @@ -158,126 +32,10 @@ #include #include -#define MBCHAR_BUF_SIZE 24 - -struct mbchar -{ - const char *ptr; /* pointer to current character */ - size_t bytes; /* number of bytes of current character, > 0 */ - int wc_valid; /* true if wc is a valid wide character */ - wchar_t wc; /* if wc_valid: the current character */ - char buf[MBCHAR_BUF_SIZE]; /* room for the bytes, used for file input only */ -}; - -/* EOF (not a real character) is represented with bytes = 0 and - wc_valid = false. */ - -typedef struct mbchar mbchar_t; - -/* Access the current character. */ -#define mb_ptr(mbc) ((mbc).ptr) -#define mb_len(mbc) ((mbc).bytes) - -/* Comparison of characters. */ -#define mb_iseq(mbc, sc) ((mbc).wc_valid && (mbc).wc == (sc)) -#define mb_isnul(mbc) ((mbc).wc_valid && (mbc).wc == 0) -#define mb_cmp(mbc1, mbc2) \ - ((mbc1).wc_valid \ - ? ((mbc2).wc_valid \ - ? (int) (mbc1).wc - (int) (mbc2).wc \ - : -1) \ - : ((mbc2).wc_valid \ - ? 1 \ - : (mbc1).bytes == (mbc2).bytes \ - ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \ - : (mbc1).bytes < (mbc2).bytes \ - ? (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) > 0 ? 1 : -1) \ - : (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc2).bytes) >= 0 ? 1 : -1))) -#define mb_casecmp(mbc1, mbc2) \ - ((mbc1).wc_valid \ - ? ((mbc2).wc_valid \ - ? (int) towlower ((mbc1).wc) - (int) towlower ((mbc2).wc) \ - : -1) \ - : ((mbc2).wc_valid \ - ? 1 \ - : (mbc1).bytes == (mbc2).bytes \ - ? memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) \ - : (mbc1).bytes < (mbc2).bytes \ - ? (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) > 0 ? 1 : -1) \ - : (memcmp ((mbc1).ptr, (mbc2).ptr, (mbc2).bytes) >= 0 ? 1 : -1))) -#define mb_equal(mbc1, mbc2) \ - ((mbc1).wc_valid && (mbc2).wc_valid \ - ? (mbc1).wc == (mbc2).wc \ - : (mbc1).bytes == (mbc2).bytes \ - && memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) == 0) -#define mb_caseequal(mbc1, mbc2) \ - ((mbc1).wc_valid && (mbc2).wc_valid \ - ? towlower ((mbc1).wc) == towlower ((mbc2).wc) \ - : (mbc1).bytes == (mbc2).bytes \ - && memcmp ((mbc1).ptr, (mbc2).ptr, (mbc1).bytes) == 0) - -/* , classification. */ -#define mb_isascii(mbc) \ - ((mbc).wc_valid && (mbc).wc >= 0 && (mbc).wc <= 127) -#define mb_isalnum(mbc) ((mbc).wc_valid && iswalnum ((mbc).wc)) -#define mb_isalpha(mbc) ((mbc).wc_valid && iswalpha ((mbc).wc)) -#define mb_isblank(mbc) ((mbc).wc_valid && iswblank ((mbc).wc)) -#define mb_iscntrl(mbc) ((mbc).wc_valid && iswcntrl ((mbc).wc)) -#define mb_isdigit(mbc) ((mbc).wc_valid && iswdigit ((mbc).wc)) -#define mb_isgraph(mbc) ((mbc).wc_valid && iswgraph ((mbc).wc)) -#define mb_islower(mbc) ((mbc).wc_valid && iswlower ((mbc).wc)) -#define mb_isprint(mbc) ((mbc).wc_valid && iswprint ((mbc).wc)) -#define mb_ispunct(mbc) ((mbc).wc_valid && iswpunct ((mbc).wc)) -#define mb_isspace(mbc) ((mbc).wc_valid && iswspace ((mbc).wc)) -#define mb_isupper(mbc) ((mbc).wc_valid && iswupper ((mbc).wc)) -#define mb_isxdigit(mbc) ((mbc).wc_valid && iswxdigit ((mbc).wc)) - -/* Extra function. */ - -/* Unprintable characters appear as a small box of width 1. */ -#define MB_UNPRINTABLE_WIDTH 1 - -static inline int -mb_width_aux (wint_t wc) -{ - int w = wcwidth (wc); - /* For unprintable characters, arbitrarily return 0 for control characters - and MB_UNPRINTABLE_WIDTH otherwise. */ - return (w >= 0 ? w : iswcntrl (wc) ? 0 : MB_UNPRINTABLE_WIDTH); -} - -#define mb_width(mbc) \ - ((mbc).wc_valid ? mb_width_aux ((mbc).wc) : MB_UNPRINTABLE_WIDTH) - -/* Output. */ -#define mb_putc(mbc, stream) fwrite ((mbc).ptr, 1, (mbc).bytes, (stream)) - -/* Assignment. */ -#define mb_setascii(mbc, sc) \ - ((mbc)->ptr = (mbc)->buf, (mbc)->bytes = 1, (mbc)->wc_valid = 1, \ - (mbc)->wc = (mbc)->buf[0] = (sc)) - -/* Copying a character. */ -static inline void -mb_copy (mbchar_t *new_mbc, const mbchar_t *old_mbc) -{ - if (old_mbc->ptr == &old_mbc->buf[0]) - { - memcpy (&new_mbc->buf[0], &old_mbc->buf[0], old_mbc->bytes); - new_mbc->ptr = &new_mbc->buf[0]; - } - else - new_mbc->ptr = old_mbc->ptr; - new_mbc->bytes = old_mbc->bytes; - if ((new_mbc->wc_valid = old_mbc->wc_valid)) - new_mbc->wc = old_mbc->wc; -} - /* is_basic(c) tests whether the single-byte character c is in the - ISO C "basic character set". - This is a convenience function, and is in this file only to share code - between mbiter_multi.h and mbfile_multi.h. */ + ISO C "basic character set". */ + #if (' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ @@ -320,6 +78,7 @@ is_basic (char c) { switch (c) { + case '\b': case '\r': case '\n': case '\t': case '\v': case '\f': case ' ': case '!': case '"': case '#': case '%': case '&': case '\'': case '(': case ')': case '*': diff --git a/include/shmbutil.h b/include/shmbutil.h index afb381a44..dbaaba86f 100644 --- a/include/shmbutil.h +++ b/include/shmbutil.h @@ -499,5 +499,34 @@ extern int locale_mb_cur_max; /* XXX */ \ goto add_string +# define SADD_MBCHAR_BODY(_dst, _src, _si, _srcsize) \ +\ + int i; \ + mbstate_t state_bak; \ + size_t mblength; \ +\ + i = is_basic (*((_src) + (_si))); \ + if (i) \ + mblength = 1; \ + else \ + { \ + state_bak = state; \ + mblength = mbrlen ((_src) + (_si), (_srcsize) - (_si), &state); \ + } \ + if (mblength == (size_t)-1 || mblength == (size_t)-2) \ + { \ + state = state_bak; \ + mblength = 1; \ + } \ + if (mblength < 1) \ + mblength = 1; \ +\ + (_dst) = (char *)xmalloc (mblength + 1); \ + for (i = 0; i < mblength; i++) \ + (_dst)[i+1] = (_src)[(_si)++]; \ + (_dst)[mblength+1] = '\0'; \ +\ + goto add_string + #endif /* HANDLE_MULTIBYTE */ #endif /* _SH_MBUTIL_H_ */ diff --git a/input.c b/input.c index 14c6f4e07..308b87e42 100644 --- a/input.c +++ b/input.c @@ -205,7 +205,7 @@ make_buffered_stream (fd, buffer, bufsize) if (bufsize == 1) bp->b_flag |= B_UNBUFF; if (O_TEXT && (fcntl (fd, F_GETFL) & O_TEXT) != 0) - bp->b_flag |= O_TEXT; + bp->b_flag |= B_TEXT; return (bp); } @@ -272,7 +272,7 @@ save_bash_input (fd, new_fd) return -1; } - if (buffers[nfd]) + if (nfd < nbuffers && buffers[nfd]) { /* What's this? A stray buffer without an associated open file descriptor? Free up the buffer and report the error. */ diff --git a/jobs.c b/jobs.c index b6e59eba0..cef3c79aa 100644 --- a/jobs.c +++ b/jobs.c @@ -3,7 +3,7 @@ /* This file works with both POSIX and BSD systems. It implements job control. */ -/* Copyright (C) 1989-2013 Free Software Foundation, Inc. +/* Copyright (C) 1989-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -75,6 +75,10 @@ #include "builtins/builtext.h" #include "builtins/common.h" +#if defined (READLINE) +# include +#endif + #if !defined (errno) extern int errno; #endif /* !errno */ @@ -97,6 +101,10 @@ extern int killpg __P((pid_t, int)); #define MAX_JOBS_IN_ARRAY 128 /* testing */ #endif +/* XXX for now */ +#define PIDSTAT_TABLE_SZ 4096 +#define BGPIDS_TABLE_SZ 512 + /* Flag values for second argument to delete_job */ #define DEL_WARNSTOPPED 1 /* warn about deleting stopped jobs */ #define DEL_NOBGPID 2 /* don't add pgrp leader to bgpids */ @@ -165,12 +173,18 @@ extern sh_builtin_func_t *this_shell_builtin; extern char *shell_name, *this_command_name; extern sigset_t top_level_mask; extern procenv_t wait_intr_buf; +extern int wait_intr_flag; extern int wait_signal_received; extern WORD_LIST *subst_assign_varlist; +extern SigHandler **original_signals; + +extern void set_original_signal __P((int, SigHandler *)); + static struct jobstats zerojs = { -1L, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NO_JOB, NO_JOB, 0, 0 }; struct jobstats js = { -1L, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NO_JOB, NO_JOB, 0, 0 }; +ps_index_t pidstat_table[PIDSTAT_TABLE_SZ]; struct bgpids bgpids = { 0, 0, 0 }; /* The array of known jobs. */ @@ -223,6 +237,9 @@ PROCESS *the_pipeline = (PROCESS *)NULL; /* If this is non-zero, do job control. */ int job_control = 1; +/* Are we running in background? (terminal_pgrp != shell_pgrp) */ +int running_in_background = 0; + /* Call this when you start making children. */ int already_making_children = 0; @@ -230,6 +247,8 @@ int already_making_children = 0; exits from get_tty_state(). */ int check_window_size = CHECKWINSIZE_DEFAULT; +PROCESS *last_procsub_child = (PROCESS *)NULL; + /* Functions local to this file. */ static sighandler wait_sigint_handler __P((int)); @@ -270,7 +289,6 @@ static void cleanup_dead_jobs __P((void)); static int processes_in_job __P((int)); static void realloc_jobs_list __P((void)); static int compact_jobs_list __P((int)); -static int discard_pipeline __P((PROCESS *)); static void add_process __P((char *, pid_t)); static void print_pipeline __P((PROCESS *, int, int, FILE *)); static void pretty_print_job __P((int, int, FILE *)); @@ -286,12 +304,19 @@ static void restore_sigint_handler __P((void)); static void pipe_read __P((int *)); #endif -static struct pidstat *bgp_alloc __P((pid_t, int)); +/* Hash table manipulation */ + +static ps_index_t *pshash_getbucket __P((pid_t)); +static void pshash_delindex __P((ps_index_t)); + +/* Saved background process status management */ static struct pidstat *bgp_add __P((pid_t, int)); static int bgp_delete __P((pid_t)); static void bgp_clear __P((void)); static int bgp_search __P((pid_t)); -static void bgp_prune __P((void)); + +static ps_index_t bgp_getindex __P((void)); +static void bgp_resize __P((void)); /* XXX */ #if defined (ARRAY_VARS) static int *pstatuses; /* list of pipeline statuses */ @@ -316,7 +341,7 @@ static SigHandler *old_tstp, *old_ttou, *old_ttin; static SigHandler *old_cont = (SigHandler *)SIG_DFL; /* A place to temporarily save the current pipeline. */ -static PROCESS *saved_pipeline; +static struct pipeline_saver *saved_pipeline; static int saved_already_making_children; /* Set this to non-zero whenever you don't want the jobs list to change at @@ -428,27 +453,58 @@ cleanup_the_pipeline () discard_pipeline (disposer); } +struct pipeline_saver * +alloc_pipeline_saver () +{ + struct pipeline_saver *ret; + + ret = (struct pipeline_saver *)xmalloc (sizeof (struct pipeline_saver)); + ret->pipeline = 0; + ret->next = 0; + return ret; +} + void save_pipeline (clear) int clear; { - saved_pipeline = the_pipeline; + sigset_t set, oset; + struct pipeline_saver *saver; + + BLOCK_CHILD (set, oset); + saver = alloc_pipeline_saver (); + saver->pipeline = the_pipeline; + saver->next = saved_pipeline; + saved_pipeline = saver; if (clear) the_pipeline = (PROCESS *)NULL; saved_already_making_children = already_making_children; + UNBLOCK_CHILD (oset); } -void +PROCESS * restore_pipeline (discard) int discard; { PROCESS *old_pipeline; + sigset_t set, oset; + struct pipeline_saver *saver; + BLOCK_CHILD (set, oset); old_pipeline = the_pipeline; - the_pipeline = saved_pipeline; + the_pipeline = saved_pipeline->pipeline; + saver = saved_pipeline; + saved_pipeline = saved_pipeline->next; + free (saver); already_making_children = saved_already_making_children; + UNBLOCK_CHILD (oset); + if (discard && old_pipeline) - discard_pipeline (old_pipeline); + { + discard_pipeline (old_pipeline); + return ((PROCESS *)NULL); + } + return old_pipeline; } /* Start building a pipeline. */ @@ -640,10 +696,11 @@ stop_pipeline (async, deferred) * the parent gives it away. * * Don't give the terminal away if this shell is an asynchronous - * subshell. + * subshell or if we're a (presumably non-interactive) shell running + * in the background. * */ - if (job_control && newjob->pgrp && (subshell_environment&SUBSHELL_ASYNC) == 0) + if (job_control && newjob->pgrp && (subshell_environment&SUBSHELL_ASYNC) == 0 && running_in_background == 0) maybe_give_terminal_to (shell_pgrp, newjob->pgrp, 0); } } @@ -654,20 +711,82 @@ stop_pipeline (async, deferred) } /* Functions to manage the list of exited background pids whose status has - been saved. */ + been saved. -static struct pidstat * -bgp_alloc (pid, status) + pidstat_table: + + The current implementation is a hash table using a single (separate) arena + for storage that can be allocated and freed as a unit. The size of the hash + table is a multiple of PIDSTAT_TABLE_SZ (4096) and multiple PIDs that hash + to the same value are chained through the bucket_next and bucket_prev + pointers (basically coalesced hashing for collision resolution). + + bgpids.storage: + + All pid/status storage is done using the circular buffer bgpids.storage. + This must contain at least js.c_childmax entries. The circular buffer is + used to supply the ordered list Posix requires ("the last CHILD_MAX + processes"). To avoid searching the entire storage table for a given PID, + the hash table (pidstat_table) holds pointers into the storage arena and + uses a doubly-linked list of cells (bucket_next/bucket_prev, also pointers + into the arena) to implement collision resolution. */ + +/* The number of elements in bgpids.storage always has to be > js.c_childmax for + the circular buffer to work right. */ +static void +bgp_resize () +{ + ps_index_t nsize; + ps_index_t psi; + + if (bgpids.nalloc == 0) + { + /* invalidate hash table when bgpids table is reallocated */ + for (psi = 0; psi < PIDSTAT_TABLE_SZ; psi++) + pidstat_table[psi] = NO_PIDSTAT; + nsize = BGPIDS_TABLE_SZ; /* should be power of 2 */ + bgpids.head = 0; + } + else + nsize = bgpids.nalloc; + + while (nsize < js.c_childmax) + nsize *= 2; + + if (bgpids.nalloc < js.c_childmax) + { + bgpids.storage = (struct pidstat *)xrealloc (bgpids.storage, nsize * sizeof (struct pidstat)); + + for (psi = bgpids.nalloc; psi < nsize; psi++) + bgpids.storage[psi].pid = NO_PID; + + bgpids.nalloc = nsize; + + } + else if (bgpids.head >= bgpids.nalloc) /* wrap around */ + bgpids.head = 0; +} + +static ps_index_t +bgp_getindex () +{ + ps_index_t psi; + + if (bgpids.nalloc < js.c_childmax || bgpids.head >= bgpids.nalloc) + bgp_resize (); + + pshash_delindex (bgpids.head); /* XXX - clear before reusing */ + return bgpids.head++; +} + +static ps_index_t * +pshash_getbucket (pid) pid_t pid; - int status; { - struct pidstat *ps; + unsigned long hash; /* XXX - u_bits32_t */ - ps = (struct pidstat *)xmalloc (sizeof (struct pidstat)); - ps->pid = pid; - ps->status = status; - ps->next = (struct pidstat *)0; - return ps; + hash = pid * 0x9e370001UL; + return (&pidstat_table[hash % PIDSTAT_TABLE_SZ]); } static struct pidstat * @@ -675,61 +794,75 @@ bgp_add (pid, status) pid_t pid; int status; { + ps_index_t *bucket, psi; struct pidstat *ps; - ps = bgp_alloc (pid, status); + bucket = pshash_getbucket (pid); + psi = bgp_getindex (); + ps = &bgpids.storage[psi]; + + ps->pid = pid; + ps->status = status; + ps->bucket_next = *bucket; + ps->bucket_prev = NO_PIDSTAT; - if (bgpids.list == 0) - { - bgpids.list = bgpids.end = ps; - bgpids.npid = 0; /* just to make sure */ - } - else - { - bgpids.end->next = ps; - bgpids.end = ps; - } bgpids.npid++; +#if 0 if (bgpids.npid > js.c_childmax) bgp_prune (); +#endif + + if (ps->bucket_next != NO_PIDSTAT) + bgpids.storage[ps->bucket_next].bucket_prev = psi; + + *bucket = psi; /* set chain head in hash table */ return ps; } +static void +pshash_delindex (psi) + ps_index_t psi; +{ + struct pidstat *ps; + + ps = &bgpids.storage[psi]; + if (ps->pid == NO_PID) + return; + + if (ps->bucket_next != NO_PID) + bgpids.storage[ps->bucket_next].bucket_prev = ps->bucket_prev; + if (ps->bucket_prev != NO_PID) + bgpids.storage[ps->bucket_prev].bucket_next = ps->bucket_next; + else + *(pshash_getbucket (ps->pid)) = ps->bucket_next; +} + static int bgp_delete (pid) pid_t pid; { - struct pidstat *prev, *p; + ps_index_t psi; - for (prev = p = bgpids.list; p; prev = p, p = p->next) - if (p->pid == pid) - { - prev->next = p->next; /* remove from list */ - break; - } + if (bgpids.storage == 0 || bgpids.nalloc == 0 || bgpids.npid == 0) + return 0; - if (p == 0) + /* Search chain using hash to find bucket in pidstat_table */ + for (psi = *(pshash_getbucket (pid)); psi != NO_PIDSTAT; psi = bgpids.storage[psi].bucket_next) + if (bgpids.storage[psi].pid == pid) + break; + + if (psi == NO_PIDSTAT) return 0; /* not found */ #if defined (DEBUG) itrace("bgp_delete: deleting %d", pid); #endif - /* Housekeeping in the border cases. */ - if (p == bgpids.list) - bgpids.list = bgpids.list->next; - else if (p == bgpids.end) - bgpids.end = prev; + pshash_delindex (psi); /* hash table management */ bgpids.npid--; - if (bgpids.npid == 0) - bgpids.list = bgpids.end = 0; - else if (bgpids.npid == 1) - bgpids.end = bgpids.list; /* just to make sure */ - - free (p); return 1; } @@ -737,45 +870,45 @@ bgp_delete (pid) static void bgp_clear () { - struct pidstat *ps, *p; + if (bgpids.storage == 0 || bgpids.nalloc == 0) + return; + + free (bgpids.storage); + + bgpids.storage = 0; + bgpids.nalloc = 0; + bgpids.head = 0; - for (ps = bgpids.list; ps; ) - { - p = ps; - ps = ps->next; - free (p); - } - bgpids.list = bgpids.end = 0; bgpids.npid = 0; } /* Search for PID in the list of saved background pids; return its status if - found. If not found, return -1. */ + found. If not found, return -1. We hash to the right spot in pidstat_table + and follow the bucket chain to the end. */ static int bgp_search (pid) pid_t pid; { - struct pidstat *ps; + ps_index_t psi; + + if (bgpids.storage == 0 || bgpids.nalloc == 0 || bgpids.npid == 0) + return -1; + + /* Search chain using hash to find bucket in pidstat_table */ + for (psi = *(pshash_getbucket (pid)); psi != NO_PIDSTAT; psi = bgpids.storage[psi].bucket_next) + if (bgpids.storage[psi].pid == pid) + return (bgpids.storage[psi].status); - for (ps = bgpids.list ; ps; ps = ps->next) - if (ps->pid == pid) - return ps->status; return -1; } +#if 0 static void bgp_prune () { - struct pidstat *ps; - - while (bgpids.npid > js.c_childmax) - { - ps = bgpids.list; - bgpids.list = bgpids.list->next; - free (ps); - bgpids.npid--; - } + return; } +#endif /* Reset the values of js.j_lastj and js.j_firstj after one or both have been deleted. The caller should check whether js.j_njobs is 0 before @@ -846,6 +979,15 @@ cleanup_dead_jobs () delete_job (i, 0); } +#if defined (PROCESS_SUBSTITUTION) + if (last_procsub_child && last_procsub_child->running == PS_DONE) + { + bgp_add (last_procsub_child->pid, process_exit_status (last_procsub_child->status)); /* XXX */ + discard_pipeline (last_procsub_child); + last_procsub_child = (PROCESS *)NULL; + } +#endif + #if defined (COPROCESS_SUPPORT) coproc_reap (); #endif @@ -1014,10 +1156,9 @@ delete_job (job_index, dflags) if (temp == 0) return; - if ((dflags & DEL_NOBGPID) == 0) + if ((dflags & DEL_NOBGPID) == 0 && (temp->flags & (J_ASYNC|J_FOREGROUND)) == J_ASYNC) { proc = find_last_proc (job_index, 0); - /* Could do this just for J_ASYNC jobs, but we save all. */ if (proc) bgp_add (proc->pid, process_exit_status (proc->status)); } @@ -1075,7 +1216,7 @@ nohup_job (job_index) } /* Get rid of the data structure associated with a process chain. */ -static int +int discard_pipeline (chain) register PROCESS *chain; { @@ -1330,6 +1471,20 @@ find_pipeline (pid, alive_only, jobp) } while (p != the_pipeline); } + /* Now look in the last process substitution pipeline, since that sets $! */ + if (last_procsub_child) + { + p = last_procsub_child; + do + { + /* Return it if we found it. Don't ever return a recycled pid. */ + if (p->pid == pid && ((alive_only == 0 && PRECYCLED(p) == 0) || PALIVE(p))) + return (p); + + p = p->next; + } + while (p != last_procsub_child); + } job = find_job (pid, alive_only, &p); if (jobp) @@ -1447,7 +1602,7 @@ j_strsignal (s) if (x == 0) { x = retcode_name_buffer; - sprintf (x, _("Signal %d"), s); + snprintf (x, sizeof(retcode_name_buffer), _("Signal %d"), s); } return x; } @@ -1470,7 +1625,7 @@ printable_job_status (j, p, format) else { temp = retcode_name_buffer; - sprintf (temp, _("Stopped(%s)"), signal_name (WSTOPSIG (p->status))); + snprintf (temp, sizeof(retcode_name_buffer), _("Stopped(%s)"), signal_name (WSTOPSIG (p->status))); } } else if (RUNNING (j)) @@ -1486,11 +1641,14 @@ printable_job_status (j, p, format) temp = retcode_name_buffer; es = WEXITSTATUS (p->status); if (es == 0) - strcpy (temp, _("Done")); + { + strncpy (temp, _("Done"), sizeof (retcode_name_buffer) - 1); + temp[sizeof (retcode_name_buffer) - 1] = '\0'; + } else if (posixly_correct) - sprintf (temp, _("Done(%d)"), es); + snprintf (temp, sizeof(retcode_name_buffer), _("Done(%d)"), es); else - sprintf (temp, _("Exit %d"), es); + snprintf (temp, sizeof(retcode_name_buffer), _("Exit %d"), es); } else temp = _("Unknown status"); @@ -1747,15 +1905,21 @@ make_child (command, async_p) while ((pid = fork ()) < 0 && errno == EAGAIN && forksleep < FORKSLEEP_MAX) { /* bash-4.2 */ + sigprocmask (SIG_SETMASK, &oset, (sigset_t *)NULL); /* If we can't create any children, try to reap some dead ones. */ waitchld (-1, 0); + errno = EAGAIN; /* restore errno */ sys_error ("fork: retry"); RESET_SIGTERM; if (sleep (forksleep) != 0) break; forksleep <<= 1; + + if (interrupt_state) + break; + sigprocmask (SIG_SETMASK, &set, (sigset_t *)NULL); } if (pid != 0) @@ -1790,6 +1954,8 @@ make_child (command, async_p) unset_bash_input (0); #endif /* BUFFERED_INPUT */ + CLRINTERRUPT; /* XXX - children have their own interrupt state */ + /* Restore top-level signal mask. */ sigprocmask (SIG_SETMASK, &top_level_mask, (sigset_t *)NULL); @@ -1824,7 +1990,7 @@ make_child (command, async_p) In this case, we don't want to give the terminal to the shell's process group (we could be in the middle of a pipeline, for example). */ - if (async_p == 0 && pipeline_pgrp != shell_pgrp && ((subshell_environment&SUBSHELL_ASYNC) == 0)) + if (async_p == 0 && pipeline_pgrp != shell_pgrp && ((subshell_environment&(SUBSHELL_ASYNC|SUBSHELL_PIPE)) == 0) && running_in_background == 0) give_terminal_to (pipeline_pgrp, 0); #if defined (PGRP_PIPE) @@ -1935,12 +2101,51 @@ ignore_tty_job_signals () set_signal_handler (SIGTTOU, SIG_IGN); } +/* Reset the tty-generated job control signals to SIG_DFL unless that signal + was ignored at entry to the shell, in which case we need to set it to + SIG_IGN in the child. We can't rely on resetting traps, since the hard + ignored signals can't be trapped. */ void default_tty_job_signals () { - set_signal_handler (SIGTSTP, SIG_DFL); - set_signal_handler (SIGTTIN, SIG_DFL); - set_signal_handler (SIGTTOU, SIG_DFL); + if (signal_is_trapped (SIGTSTP) == 0 && signal_is_hard_ignored (SIGTSTP)) + set_signal_handler (SIGTSTP, SIG_IGN); + else + set_signal_handler (SIGTSTP, SIG_DFL); + + if (signal_is_trapped (SIGTTIN) == 0 && signal_is_hard_ignored (SIGTTIN)) + set_signal_handler (SIGTTIN, SIG_IGN); + else + set_signal_handler (SIGTTIN, SIG_DFL); + + if (signal_is_trapped (SIGTTOU) == 0 && signal_is_hard_ignored (SIGTTOU)) + set_signal_handler (SIGTTOU, SIG_IGN); + else + set_signal_handler (SIGTTOU, SIG_DFL); +} + +/* Called once in a parent process. */ +void +get_original_tty_job_signals () +{ + static int fetched = 0; + + if (fetched == 0) + { + if (interactive_shell) + { + set_original_signal (SIGTSTP, SIG_DFL); + set_original_signal (SIGTTIN, SIG_DFL); + set_original_signal (SIGTTOU, SIG_DFL); + } + else + { + get_original_signal (SIGTSTP); + get_original_signal (SIGTTIN); + get_original_signal (SIGTTOU); + } + fetched = 1; + } } /* When we end a job abnormally, or if we stop a job, we set the tty to the @@ -2113,10 +2318,13 @@ find_last_pid (job, block) This low-level function prints an error message if PID is not a child of this shell. It returns -1 if it fails, or whatever wait_for returns otherwise. If the child is not found in the - jobs table, it returns 127. */ + jobs table, it returns 127. If FLAGS doesn't include 1, we + suppress the error message if PID isn't found. */ + int -wait_for_single_pid (pid) +wait_for_single_pid (pid, flags) pid_t pid; + int flags; { register PROCESS *child; sigset_t set, oset; @@ -2135,7 +2343,8 @@ wait_for_single_pid (pid) if (child == 0) { - internal_error (_("wait: pid %ld is not a child of this shell"), (long)pid); + if (flags & 1) + internal_error (_("wait: pid %ld is not a child of this shell"), (long)pid); return (127); } @@ -2195,7 +2404,7 @@ wait_for_background_pids () UNBLOCK_CHILD (oset); QUIT; errno = 0; /* XXX */ - r = wait_for_single_pid (pid); + r = wait_for_single_pid (pid, 1); if (r == -1) { /* If we're mistaken about job state, compensate. */ @@ -2221,6 +2430,14 @@ static int wait_sigint_received; static int child_caught_sigint; static int waiting_for_child; +/* Clean up state after longjmp to wait_intr_buf */ +void +wait_sigint_cleanup () +{ + queue_sigchld = 0; + waiting_for_child = 0; +} + static void restore_sigint_handler () { @@ -2254,10 +2471,10 @@ wait_sigint_handler (sig) { trap_handler (SIGINT); /* set pending_traps[SIGINT] */ wait_signal_received = SIGINT; - if (interrupt_immediately) + if (interrupt_immediately && wait_intr_flag) { interrupt_immediately = 0; - longjmp (wait_intr_buf, 1); + sh_longjmp (wait_intr_buf, 1); } else /* Let CHECK_WAIT_INTR handle it in wait_for/waitchld */ @@ -2450,7 +2667,7 @@ wait_for (pid) job to finish. Otherwise, we are waiting for the child to finish. We check for JDEAD in case the job state has been set by waitchld after receipt of a SIGCHLD. */ - if (job == NO_JOB) + if (job == NO_JOB) /* XXX -- && pid != ANY_PID ? */ job = find_job (pid, 0, NULL); /* waitchld() takes care of setting the state of the job. If the job @@ -2468,6 +2685,7 @@ wait_for (pid) struct sigaction act, oact; sigset_t nullset, chldset; + queue_sigchld = 1; sigemptyset (&nullset); sigemptyset (&chldset); sigprocmask (SIG_SETMASK, &nullset, &chldset); @@ -2553,12 +2771,12 @@ itrace("wait_for: blocking wait for %d returns %d child = %p", (int)pid, r, chil of the last child in the pipeline is the significant one. If the command or job was terminated by a signal, note that value also. */ termination_state = (job != NO_JOB) ? job_exit_status (job) - : process_exit_status (child->status); + : (child ? process_exit_status (child->status) : EXECUTION_SUCCESS); last_command_exit_signal = (job != NO_JOB) ? job_exit_signal (job) - : process_exit_signal (child->status); + : (child ? process_exit_signal (child->status) : 0); /* XXX */ - if ((job != NO_JOB && JOBSTATE (job) == JSTOPPED) || WIFSTOPPED (child->status)) + if ((job != NO_JOB && JOBSTATE (job) == JSTOPPED) || (child && WIFSTOPPED (child->status))) termination_state = 128 + WSTOPSIG (child->status); if (job == NO_JOB || IS_JOBCONTROL (job)) @@ -2580,7 +2798,13 @@ itrace("wait_for: blocking wait for %d returns %d child = %p", (int)pid, r, chil if (job == NO_JOB) itrace("wait_for: job == NO_JOB, giving the terminal to shell_pgrp (%ld)", (long)shell_pgrp); #endif - give_terminal_to (shell_pgrp, 0); + /* Don't modify terminal pgrp if we are running in background or a + subshell. Make sure subst.c:command_substitute uses the same + conditions to determine whether or not it should undo this and + give the terminal to pipeline_pgrp. */ + + if (running_in_background == 0 && (subshell_environment&(SUBSHELL_ASYNC|SUBSHELL_PIPE)) == 0) + give_terminal_to (shell_pgrp, 0); } /* If the command did not exit cleanly, or the job is just @@ -2614,6 +2838,11 @@ if (job == NO_JOB) get_new_window_size (0, (int *)0, (int *)0); } else +#if defined (READLINE) + /* We don't want to do this if we are running a process during + programmable completion. */ + if (RL_ISSTATE (RL_STATE_COMPLETING) == 0) +#endif get_tty_state (); /* If job control is enabled, the job was started with job @@ -2629,6 +2858,14 @@ if (job == NO_JOB) SIGINT signal handler; maybe it should. */ if (signal_is_trapped (SIGINT) == 0 && (loop_level || (shell_compatibility_level > 32 && executing_list))) ADDINTERRUPT; + /* Call any SIGINT trap handler if the shell is running a loop, so + the loop can be broken. This seems more useful and matches the + behavior when the shell is running a builtin command in a loop + when it is interrupted. Change ADDINTERRUPT to + trap_handler (SIGINT) to run the trap without interrupting the + loop. */ + else if (signal_is_trapped (SIGINT) && loop_level) + ADDINTERRUPT; else { putchar ('\n'); @@ -2643,8 +2880,6 @@ if (job == NO_JOB) something like a while loop or a for loop, simulate getting and being killed by the SIGINT to pass the status back to our parent. */ - s = job_signal_status (job); - if (child_caught_sigint == 0 && signal_is_trapped (SIGINT) == 0) { UNBLOCK_CHILD (oset); @@ -3226,6 +3461,10 @@ waitchld (wpid, block) #if 0 if (wpid != -1 && block) itrace("waitchld: blocking waitpid returns %d", pid); +#endif +#if 0 +if (wpid != -1) + itrace("waitchld: %s waitpid returns %d", block?"blocking":"non-blocking", pid); #endif /* WCONTINUED may be rejected by waitpid as invalid even when defined */ if (wcontinued && pid < 0 && errno == EINVAL) @@ -3250,7 +3489,7 @@ if (wpid != -1 && block) } #if 0 -itrace("waitchld: waitpid returns %d block = %d", pid, block); +itrace("waitchld: waitpid returns %d block = %d children_exited = %d", pid, block, children_exited); #endif /* If waitpid returns 0, there are running children. If it returns -1, the only other error POSIX says it can return is EINTR. */ @@ -3268,6 +3507,13 @@ itrace("waitchld: waitpid returns %d block = %d", pid, block); if (pid <= 0) continue; /* jumps right to the test */ + /* Linux kernels appear to signal the parent but not interrupt the + waitpid() (or restart it even without SA_RESTART) on SIGINT, so if + we saw a SIGINT and the process exited or died due to some other + signal, assume the child caught the SIGINT. */ + if (wait_sigint_received && (WIFSIGNALED (status) == 0 || WTERMSIG (status) != SIGINT)) + child_caught_sigint = 1; + /* If the child process did die due to SIGINT, forget our assumption that it caught or otherwise handled it. */ if (WIFSIGNALED (status) && WTERMSIG (status) == SIGINT) @@ -3309,7 +3555,7 @@ itrace("waitchld: waitpid returns %d block = %d", pid, block); if (job != NO_JOB) js.c_reaped++; } - + if (job == NO_JOB) continue; @@ -3333,7 +3579,8 @@ itrace("waitchld: waitpid returns %d block = %d", pid, block); } /* Call a SIGCHLD trap handler for each child that exits, if one is set. */ - if (job_control && signal_is_trapped (SIGCHLD) && children_exited && + if (job_control && children_exited && + (signal_is_trapped (SIGCHLD) || trap_list[SIGCHLD] == (char *)IMPOSSIBLE_TRAP_HANDLER) && trap_list[SIGCHLD] != (char *)IGNORE_SIG) { if (posixly_correct && this_shell_builtin && this_shell_builtin == wait_builtin) @@ -3345,14 +3592,18 @@ itrace("waitchld: waitpid returns %d block = %d", pid, block); wait_signal_received = SIGCHLD; /* If we're in a signal handler, let CHECK_WAIT_INTR pick it up; run_pending_traps will call run_sigchld_trap later */ - if (sigchld == 0) - longjmp (wait_intr_buf, 1); + if (sigchld == 0 && wait_intr_flag) + sh_longjmp (wait_intr_buf, 1); } /* If not in posix mode and not executing the wait builtin, queue the signal for later handling. Run the trap immediately if we are executing the wait builtin, but don't break out of `wait'. */ else if (sigchld) /* called from signal handler */ queue_sigchld_trap (children_exited); + else if (signal_in_progress (SIGCHLD)) + queue_sigchld_trap (children_exited); + else if (trap_list[SIGCHLD] == (char *)IMPOSSIBLE_TRAP_HANDLER) + queue_sigchld_trap (children_exited); else if (running_trap) queue_sigchld_trap (children_exited); else if (this_shell_builtin == wait_builtin) @@ -3494,7 +3745,10 @@ set_job_status_and_cleanup (job) seen it, and wait_sigint_received is non-zero, because keyboard signals are sent to process groups) or via kill(2) to the foreground process by another process (or itself). If the shell did receive the - SIGINT, it needs to perform normal SIGINT processing. */ + SIGINT, it needs to perform normal SIGINT processing. XXX - should + this change its behavior depending on whether the last command in an + pipeline exited due to SIGINT, or any process in the pipeline? Right + now it does this if any process in the pipeline exits due to SIGINT. */ else if (wait_sigint_received && child_caught_sigint == 0 && IS_FOREGROUND (job) && IS_JOBCONTROL (job) == 0) @@ -3534,7 +3788,7 @@ set_job_status_and_cleanup (job) In this case, we have to fix things up. What a crock. */ if (temp_handler == trap_handler && signal_is_trapped (SIGINT) == 0) temp_handler = trap_to_sighandler (SIGINT); - restore_sigint_handler (); + restore_sigint_handler (); if (temp_handler == SIG_DFL) termsig_handler (SIGINT); /* XXX */ else if (temp_handler != SIG_IGN) @@ -3600,6 +3854,7 @@ run_sigchld_trap (nchild) unwind_protect_pointer (the_pipeline); unwind_protect_pointer (subst_assign_varlist); unwind_protect_pointer (this_shell_builtin); + unwind_protect_pointer (temporary_env); /* We have to add the commands this way because they will be run in reverse order of adding. We don't want maybe_set_sigchld_trap () @@ -3609,6 +3864,7 @@ run_sigchld_trap (nchild) subst_assign_varlist = (WORD_LIST *)NULL; the_pipeline = (PROCESS *)NULL; + temporary_env = 0; /* traps should not run with temporary env */ running_trap = SIGCHLD + 1; @@ -3792,6 +4048,7 @@ initialize_job_control (force) job_control = 0; original_pgrp = NO_PID; shell_tty = fileno (stderr); + terminal_pgrp = tcgetpgrp (shell_tty); /* for checking later */ } else { @@ -3820,7 +4077,8 @@ initialize_job_control (force) { shell_pgrp = getpid (); setpgid (0, shell_pgrp); - tcsetpgrp (shell_tty, shell_pgrp); + if (shell_tty != -1) + tcsetpgrp (shell_tty, shell_pgrp); } while ((terminal_pgrp = tcgetpgrp (shell_tty)) != -1) @@ -3829,7 +4087,7 @@ initialize_job_control (force) { SigHandler *ottin; - ottin = set_signal_handler(SIGTTIN, SIG_DFL); + ottin = set_signal_handler (SIGTTIN, SIG_DFL); kill (0, SIGTTIN); set_signal_handler (SIGTTIN, ottin); continue; @@ -3891,6 +4149,8 @@ initialize_job_control (force) internal_error (_("no job control in this shell")); } + running_in_background = terminal_pgrp != shell_pgrp; + if (shell_tty != fileno (stderr)) SET_CLOSE_ON_EXEC (shell_tty); @@ -3906,6 +4166,11 @@ initialize_job_control (force) if (js.c_childmax < 0) js.c_childmax = DEFAULT_CHILD_MAX; +#if 0 + if (js.c_childmax > MAX_CHILD_MAX) + js.c_childmax = MAX_CHILD_MAX; +#endif + return job_control; } @@ -3994,7 +4259,7 @@ initialize_job_signals () old_ttin = set_signal_handler (SIGTTIN, sigstop_sighandler); old_ttou = set_signal_handler (SIGTTOU, sigstop_sighandler); } - /* Leave these things alone for non-interactive shells without job + /* Leave disposition unmodified for non-interactive shells without job control. */ } @@ -4089,7 +4354,7 @@ maybe_give_terminal_to (opgrp, npgrp, flags) else if (tpgrp != opgrp) { #if defined (DEBUG) - internal_warning ("maybe_give_terminal_to: terminal pgrp == %d shell pgrp = %d new pgrp = %d", tpgrp, opgrp, npgrp); + internal_warning ("%d: maybe_give_terminal_to: terminal pgrp == %d shell pgrp = %d new pgrp = %d in_background = %d", (int)getpid(), tpgrp, opgrp, npgrp, running_in_background); #endif return -1; } @@ -4126,7 +4391,12 @@ delete_all_jobs (running_only) itrace("delete_all_jobs: job %d non-null after js.j_lastj (%d)", i, js.j_lastj); #endif if (jobs[i] && (running_only == 0 || (running_only && RUNNING(i)))) - delete_job (i, DEL_WARNSTOPPED); + /* We don't want to add any of these pids to bgpids. If running_only + is non-zero, we don't want to add running jobs to the list. + If we are interested in all jobs, not just running jobs, and + we are going to clear the bgpids list below (bgp_clear()), we + don't need to bother. */ + delete_job (i, DEL_WARNSTOPPED|DEL_NOBGPID); } if (running_only == 0) { @@ -4277,6 +4547,11 @@ mark_dead_jobs_as_notified (force) if (js.c_childmax < 0) js.c_childmax = DEFAULT_CHILD_MAX; +#if 0 + if (js.c_childmax > MAX_CHILD_MAX) + js.c_childmax = MAX_CHILD_MAX; +#endif + /* Don't do anything if the number of dead processes is less than CHILD_MAX and we're not forcing a cleanup. */ if (ndeadproc <= js.c_childmax) @@ -4326,10 +4601,14 @@ itrace("mark_dead_jobs_as_notified: child_max = %d ndead = %d ndeadproc = %d", j /* Here to allow other parts of the shell (like the trap stuff) to freeze and unfreeze the jobs list. */ -void +int freeze_jobs_list () { + int o; + + o = jobs_list_frozen; jobs_list_frozen = 1; + return o; } void @@ -4349,6 +4628,21 @@ set_job_control (arg) old = job_control; job_control = arg; + if (terminal_pgrp == NO_PID) + terminal_pgrp = tcgetpgrp (shell_tty); + + running_in_background = (terminal_pgrp != shell_pgrp); + +#if 0 + if (interactive_shell == 0 && running_in_background == 0 && job_control != old) + { + if (job_control) + initialize_job_signals (); + else + default_tty_job_signals (); + } +#endif + /* If we're turning on job control, reset pipeline_pgrp so make_child will put new child processes into the right pgrp */ if (job_control != old && job_control) diff --git a/jobs.h b/jobs.h index bec952738..4ba3513c4 100644 --- a/jobs.h +++ b/jobs.h @@ -1,6 +1,6 @@ /* jobs.h -- structures and definitions used by the jobs.c file. */ -/* Copyright (C) 1993-2009 Free Software Foundation, Inc. +/* Copyright (C) 1993-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -61,6 +61,11 @@ typedef struct process { char *command; /* The particular program that is running. */ } PROCESS; +struct pipeline_saver { + struct process *pipeline; + struct pipeline_saver *next; +}; + /* PALIVE really means `not exited' */ #define PSTOPPED(p) (WIFSTOPPED((p)->status)) #define PRUNNING(p) ((p)->running == PS_RUNNING) @@ -137,18 +142,28 @@ struct jobstats { JOB *j_lastasync; /* last async job allocated by stop_pipeline */ }; +/* Revised to accommodate new hash table bgpids implementation. */ +typedef pid_t ps_index_t; + struct pidstat { - struct pidstat *next; - pid_t pid; - int status; + ps_index_t bucket_next; + ps_index_t bucket_prev; + + pid_t pid; + bits16_t status; /* only 8 bits really needed */ }; struct bgpids { - struct pidstat *list; - struct pidstat *end; + struct pidstat *storage; /* storage arena */ + + ps_index_t head; + ps_index_t nalloc; + int npid; }; +#define NO_PIDSTAT (ps_index_t)-1 + #define NO_JOB -1 /* An impossible job array index. */ #define DUP_JOB -2 /* A possible return value for get_job_spec (). */ #define BAD_JOBSPEC -3 /* Bad syntax for job spec. */ @@ -176,9 +191,10 @@ extern void making_children __P((void)); extern void stop_making_children __P((void)); extern void cleanup_the_pipeline __P((void)); extern void save_pipeline __P((int)); -extern void restore_pipeline __P((int)); +extern PROCESS *restore_pipeline __P((int)); extern void start_pipeline __P((void)); extern int stop_pipeline __P((int, COMMAND *)); +extern int discard_pipeline __P((PROCESS *)); extern void append_process __P((char *, pid_t, int, int)); extern void delete_job __P((int, int)); @@ -214,12 +230,14 @@ extern int set_tty_state __P((void)); extern int job_exit_status __P((int)); extern int job_exit_signal __P((int)); -extern int wait_for_single_pid __P((pid_t)); +extern int wait_for_single_pid __P((pid_t, int)); extern void wait_for_background_pids __P((void)); extern int wait_for __P((pid_t)); extern int wait_for_job __P((int)); extern int wait_for_any_job __P((void)); +extern void wait_sigint_cleanup __P((void)); + extern void notify_and_cleanup __P((void)); extern void reap_dead_jobs __P((void)); extern int start_job __P((int, int)); @@ -230,7 +248,7 @@ extern int give_terminal_to __P((pid_t, int)); extern void run_sigchld_trap __P((int)); -extern void freeze_jobs_list __P((void)); +extern int freeze_jobs_list __P((void)); extern void unfreeze_jobs_list __P((void)); extern int set_job_control __P((int)); extern void without_job_control __P((void)); @@ -239,6 +257,7 @@ extern void restart_job_control __P((void)); extern void set_sigchld_handler __P((void)); extern void ignore_tty_job_signals __P((void)); extern void default_tty_job_signals __P((void)); +extern void get_original_tty_job_signals __P((void)); extern void init_job_stats __P((void)); diff --git a/lib/glob/Makefile.in b/lib/glob/Makefile.in index 12cbb61c2..23bf8c8b0 100644 --- a/lib/glob/Makefile.in +++ b/lib/glob/Makefile.in @@ -20,7 +20,7 @@ # along with this program. If not, see . srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ topdir = @top_srcdir@ BUILD_DIR = @BUILD_DIR@ @@ -52,7 +52,7 @@ BASHINCDIR = ${topdir}/include INCLUDES = -I. -I../.. -I$(topdir) -I$(BASHINCDIR) -I$(topdir)/lib -CCFLAGS = $(PROFILE_FLAGS) $(DEFS) $(LOCAL_DEFS) $(CPPFLAGS) ${INCLUDES} \ +CCFLAGS = $(PROFILE_FLAGS) $(DEFS) $(LOCAL_DEFS) ${INCLUDES} $(CPPFLAGS) \ $(LOCAL_CFLAGS) $(CFLAGS) # Here is a rule for making .o files from .c files that doesn't force diff --git a/lib/glob/glob.c b/lib/glob/glob.c index ac59e8da8..7f6eafe7d 100644 --- a/lib/glob/glob.c +++ b/lib/glob/glob.c @@ -84,7 +84,7 @@ struct globval }; extern void throw_to_top_level __P((void)); -extern int sh_eaccess __P((char *, int)); +extern int sh_eaccess __P((const char *, int)); extern char *sh_makepath __P((const char *, const char *, int)); extern int signal_is_pending __P((int)); extern void run_pending_traps __P((void)); @@ -1061,7 +1061,10 @@ glob_filename (pathname, flags) directory_name = (char *) malloc (directory_len + 1); if (directory_name == 0) /* allocation failed? */ - return (NULL); + { + free (result); + return (NULL); + } bcopy (pathname, directory_name, directory_len); directory_name[directory_len] = '\0'; @@ -1249,7 +1252,12 @@ glob_filename (pathname, flags) (char **)realloc (result, (result_size + l) * sizeof (char *)); if (result == NULL) - goto memory_error; + { + for (l = 0; array[l]; ++l) + free (array[l]); + free ((char *)array); + goto memory_error; + } for (l = 0; array[l] != NULL; ++l) result[result_size++ - 1] = array[l]; @@ -1281,7 +1289,11 @@ only_filename: { result = (char **) realloc ((char *) result, 2 * sizeof (char *)); if (result == NULL) - return (NULL); + { + if (free_dirname) + free (directory_name); + return (NULL); + } /* Handle GX_MARKDIRS here. */ result[0] = (char *) malloc (directory_len + 1); if (result[0] == NULL) diff --git a/lib/glob/gmisc.c b/lib/glob/gmisc.c index 96b1bc085..31906a4f2 100644 --- a/lib/glob/gmisc.c +++ b/lib/glob/gmisc.c @@ -28,9 +28,14 @@ #include "bashansi.h" #include "shmbutil.h" +#include "chartypes.h" #include "stdc.h" +#ifndef FNM_CASEFOLD +# include "strmatch.h" +#endif + #ifndef LPAREN # define LPAREN '(' #endif @@ -42,25 +47,31 @@ #define WLPAREN L'(' #define WRPAREN L')' +/* Make sure these names continue to agree with what's in smatch.c */ extern char *glob_patscan __P((char *, char *, int)); +extern wchar_t *glob_patscan_wc __P((wchar_t *, wchar_t *, int)); + +#define FOLD(c) ((flags & FNM_CASEFOLD) && iswupper (c) ? towlower (c) : (c)) /* Return 1 of the first character of WSTRING could match the first - character of pattern WPAT. Wide character version. */ + character of pattern WPAT. Wide character version. FLAGS is a + subset of strmatch flags; used to do case-insensitive matching for now. */ int -match_pattern_wchar (wpat, wstring) +match_pattern_wchar (wpat, wstring, flags) wchar_t *wpat, *wstring; + int flags; { wchar_t wc; if (*wstring == 0) - return (0); + return (*wpat == L'*'); /* XXX - allow only * to match empty string */ switch (wc = *wpat++) { default: - return (*wstring == wc); + return (FOLD(*wstring) == FOLD(wc)); case L'\\': - return (*wstring == *wpat); + return (FOLD(*wstring) == FOLD(*wpat)); case L'?': return (*wpat == WLPAREN ? 1 : (*wstring != L'\0')); case L'*': @@ -68,7 +79,7 @@ match_pattern_wchar (wpat, wstring) case L'+': case L'!': case L'@': - return (*wpat == WLPAREN ? 1 : (*wstring == wc)); + return (*wpat == WLPAREN ? 1 : (FOLD(*wstring) == FOLD(wc))); case L'[': return (*wstring != L'\0'); } @@ -221,23 +232,31 @@ extglob_pattern_p (pat) return 0; } +#undef FOLD +#define FOLD(c) ((flags & FNM_CASEFOLD) \ + ? TOLOWER ((unsigned char)c) \ + : ((unsigned char)c)) + /* Return 1 of the first character of STRING could match the first - character of pattern PAT. Used to avoid n2 calls to strmatch(). */ + character of pattern PAT. Used to avoid n2 calls to strmatch(). + FLAGS is a subset of strmatch flags; used to do case-insensitive + matching for now. */ int -match_pattern_char (pat, string) +match_pattern_char (pat, string, flags) char *pat, *string; + int flags; { char c; if (*string == 0) - return (0); + return (*pat == '*'); /* XXX - allow only * to match empty string */ switch (c = *pat++) { default: - return (*string == c); + return (FOLD(*string) == FOLD(c)); case '\\': - return (*string == *pat); + return (FOLD(*string) == FOLD(*pat)); case '?': return (*pat == LPAREN ? 1 : (*string != '\0')); case '*': @@ -245,7 +264,7 @@ match_pattern_char (pat, string) case '+': case '!': case '@': - return (*pat == LPAREN ? 1 : (*string == c)); + return (*pat == LPAREN ? 1 : (FOLD(*string) == FOLD(c))); case '[': return (*string != '\0'); } @@ -378,6 +397,7 @@ bad_bracket: return matlen; } +#if defined (EXTENDED_GLOB) /* Skip characters in PAT and return the final occurrence of DIRSEP. This is only called when extended_glob is set, so we have to skip over extglob patterns x(...) */ @@ -408,3 +428,4 @@ glob_dirscan (pat, dirsep) } return d; } +#endif /* EXTENDED_GLOB */ diff --git a/lib/glob/sm_loop.c b/lib/glob/sm_loop.c index 7e7f538f5..c3a2aa372 100644 --- a/lib/glob/sm_loop.c +++ b/lib/glob/sm_loop.c @@ -119,9 +119,6 @@ fprintf(stderr, "gmatch: pattern = %s; pe = %s\n", pattern, pe); break; case '*': /* Match zero or more characters */ - if (p == pe) - return 0; - if ((flags & FNM_PERIOD) && sc == L('.') && (n == string || ((flags & FNM_PATHNAME) && n[-1] == L('/')))) /* `*' cannot match a `.' if it is the first character of the @@ -129,6 +126,9 @@ fprintf(stderr, "gmatch: pattern = %s; pe = %s\n", pattern, pe); we are matching a pathname. */ return FNM_NOMATCH; + if (p == pe) + return 0; + /* Collapse multiple consecutive `*' and `?', but make sure that one character of the string is consumed for each `?'. */ for (c = *p++; (c == L('?') || c == L('*')); c = *p++) @@ -140,14 +140,26 @@ fprintf(stderr, "gmatch: pattern = %s; pe = %s\n", pattern, pe); else if ((flags & FNM_EXTMATCH) && c == L('?') && *p == L('(')) /* ) */ { CHAR *newn; + +#if 0 for (newn = n; newn < se; ++newn) { if (EXTMATCH (c, newn, se, p, pe, flags) == 0) return (0); } - /* We didn't match. If we have a `?(...)', we can match 0 - or 1 times. */ - return 0; +#else + /* We can match 0 or 1 times. If we match, return success */ + if (EXTMATCH (c, n, se, p, pe, flags) == 0) + return (0); +#endif + + /* We didn't match the extended glob pattern, but + that's OK, since we can match 0 or 1 occurrences. + We need to skip the glob pattern and see if we + match the rest of the string. */ + newn = PATSCAN (p + 1, pe, 0); + /* If NEWN is 0, we have an ill-formed pattern. */ + p = newn ? newn : pe; } #endif else if (c == L('?')) @@ -187,6 +199,22 @@ fprintf(stderr, "gmatch: pattern = %s; pe = %s\n", pattern, pe); break; } + /* The wildcards are the last element of the pattern. The name + cannot match completely if we are looking for a pathname and + it contains another slash, unless FNM_LEADING_DIR is set. */ + if (c == L('\0')) + { + int r = (flags & FNM_PATHNAME) == 0 ? 0 : FNM_NOMATCH; + if (flags & FNM_PATHNAME) + { + if (flags & FNM_LEADING_DIR) + r = 0; + else if (MEMCHR (n, L('/'), se - n) == NULL) + r = 0; + } + return r; + } + /* If we've hit the end of the pattern and the last character of the pattern was handled by the loop above, we've succeeded. Otherwise, we need to match that last character. */ @@ -205,13 +233,30 @@ fprintf(stderr, "gmatch: pattern = %s; pe = %s\n", pattern, pe); } #endif + /* If we stop at a slash in the pattern and we are looking for a + pathname ([star]/foo), then consume enough of the string to stop + at any slash and then try to match the rest of the pattern. If + the string doesn't contain a slash, fail */ + if (c == L('/') && (flags & FNM_PATHNAME)) + { + while (n < se && *n != L('/')) + ++n; + if (n < se && *n == L('/') && (GMATCH (n+1, se, p, pe, flags) == 0)) + return 0; + return FNM_NOMATCH; /* XXX */ + } + /* General case, use recursion. */ { U_CHAR c1; + const CHAR *endp; + endp = MEMCHR (n, (flags & FNM_PATHNAME) ? L('/') : L('\0'), se - n); + if (endp == 0) + endp = se; c1 = ((flags & FNM_NOESCAPE) == 0 && c == L('\\')) ? *p : c; c1 = FOLD (c1); - for (--p; n < se; ++n) + for (--p; n < endp; ++n) { /* Only call strmatch if the first character indicates a possible match. We can check the first character if @@ -533,7 +578,8 @@ matched: embedded () and []. If DELIM is 0, we scan until a matching `)' because we're scanning a `patlist'. Otherwise, we scan until we see DELIM. In all cases, we never scan past END. The return value is the - first character after the matching DELIM. */ + first character after the matching DELIM or NULL if the pattern is + empty or invalid. */ /*static*/ CHAR * PATSCAN (string, end, delim) CHAR *string, *end; @@ -797,6 +843,7 @@ fprintf(stderr, "extmatch: flags = %d\n", flags); #undef STRCOLL #undef STRLEN #undef STRCMP +#undef MEMCHR #undef COLLEQUIV #undef RANGECMP #undef L diff --git a/lib/glob/smatch.c b/lib/glob/smatch.c index 848610ab7..edc5b95d0 100644 --- a/lib/glob/smatch.c +++ b/lib/glob/smatch.c @@ -231,6 +231,7 @@ is_cclass (c, name) #define STRCOMPARE strcompare #define EXTMATCH extmatch #define STRCHR(S, C) strchr((S), (C)) +#define MEMCHR(S, C, N) memchr((S), (C), (N)) #define STRCOLL(S1, S2) strcoll((S1), (S2)) #define STRLEN(S) strlen(S) #define STRCMP(S1, S2) strcmp((S1), (S2)) @@ -333,6 +334,8 @@ is_wcclass (wc, name) memset (&state, '\0', sizeof (mbstate_t)); mbs = (char *) malloc (wcslen(name) * MB_CUR_MAX + 1); + if (mbs == 0) + return -1; mbslength = wcsrtombs (mbs, (const wchar_t **)&name, (wcslen(name) * MB_CUR_MAX + 1), &state); if (mbslength == (size_t)-1 || mbslength == (size_t)-2) @@ -363,6 +366,7 @@ is_wcclass (wc, name) #define STRCOMPARE wscompare #define EXTMATCH extmatch_wc #define STRCHR(S, C) wcschr((S), (C)) +#define MEMCHR(S, C, N) wmemchr((S), (C), (N)) #define STRCOLL(S1, S2) wcscoll((S1), (S2)) #define STRLEN(S) wcslen(S) #define STRCMP(S1, S2) wcscmp((S1), (S2)) diff --git a/lib/intl/l10nflist.c b/lib/intl/l10nflist.c index 7556c8cd7..4ce284a2b 100644 --- a/lib/intl/l10nflist.c +++ b/lib/intl/l10nflist.c @@ -332,7 +332,10 @@ _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, + (((dirlist_count << pop (mask)) + (dirlist_count > 1 ? 1 : 0)) * sizeof (struct loaded_l10nfile *))); if (retval == NULL) - return NULL; + { + free (abs_filename); + return NULL; + } retval->filename = abs_filename; diff --git a/lib/intl/loadmsgcat.c b/lib/intl/loadmsgcat.c index 83ca63fcd..adbd7b4fe 100644 --- a/lib/intl/loadmsgcat.c +++ b/lib/intl/loadmsgcat.c @@ -978,7 +978,11 @@ _nl_load_domain (domain_file, domainbinding) data = (struct mo_file_header *) malloc (size); if (data == NULL) - return; + { + if (use_mmap == 0) + close (fd); + return; + } to_read = size; read_ptr = (char *) data; @@ -1019,7 +1023,15 @@ _nl_load_domain (domain_file, domainbinding) domain = (struct loaded_domain *) malloc (sizeof (struct loaded_domain)); if (domain == NULL) - return; + { +#ifdef HAVE_MMAP + if (use_mmap) + munmap ((caddr_t) data, size); + else +#endif + free (data); + return; + } domain_file->data = domain; domain->data = (char *) data; diff --git a/lib/intl/localealias.c b/lib/intl/localealias.c index 0d5ded71b..7a730dbf3 100644 --- a/lib/intl/localealias.c +++ b/lib/intl/localealias.c @@ -321,7 +321,10 @@ read_alias_file (fname, fname_len) ? alias_len + value_len : 1024)); char *new_pool = (char *) realloc (string_space, new_size); if (new_pool == NULL) - return added; + { + fclose (fp); + return added; + } if (__builtin_expect (string_space != new_pool, 0)) { diff --git a/lib/malloc/Makefile.in b/lib/malloc/Makefile.in index abe0eca0a..0ef3cfd53 100644 --- a/lib/malloc/Makefile.in +++ b/lib/malloc/Makefile.in @@ -16,7 +16,7 @@ # along with this program. If not, see . srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ topdir = @top_srcdir@ BUILD_DIR = @BUILD_DIR@ diff --git a/lib/malloc/malloc.c b/lib/malloc/malloc.c index cd987c0dc..053305fcd 100644 --- a/lib/malloc/malloc.c +++ b/lib/malloc/malloc.c @@ -866,8 +866,8 @@ internal_free (mem, file, line, flags) p = (union mhead *) ap - 1; } -#if defined (MALLOC_TRACE) || defined (MALLOC_REGISTER) - if (malloc_trace || malloc_register) +#if defined (MALLOC_TRACE) || defined (MALLOC_REGISTER) || defined (MALLOC_WATCH) + if (malloc_trace || malloc_register || _malloc_nwatch > 0) ubytes = p->mh_nbytes; #endif diff --git a/lib/malloc/stats.c b/lib/malloc/stats.c index 8665918d6..ae555a1da 100644 --- a/lib/malloc/stats.c +++ b/lib/malloc/stats.c @@ -110,7 +110,7 @@ _print_malloc_stats (s, fp) } fprintf (fp, "\nTotal bytes in use: %lu, total bytes free: %lu\n", totused, totfree); - fprintf (fp, "\nTotal bytes requested by application: %lu\n", _mstats.bytesreq); + fprintf (fp, "\nTotal bytes requested by application: %lu\n", (unsigned long)_mstats.bytesreq); fprintf (fp, "Total mallocs: %d, total frees: %d, total reallocs: %d (%d copies)\n", _mstats.nmal, _mstats.nfre, _mstats.nrealloc, _mstats.nrcopy); fprintf (fp, "Total sbrks: %d, total bytes via sbrk: %d\n", diff --git a/lib/malloc/table.c b/lib/malloc/table.c index dfa29e222..97946dc76 100644 --- a/lib/malloc/table.c +++ b/lib/malloc/table.c @@ -37,14 +37,25 @@ extern int malloc_register; #ifdef MALLOC_REGISTER -#define FIND_ALLOC 0x01 /* allocate new entry or find existing */ -#define FIND_EXIST 0x02 /* find existing entry */ +extern FILE *_imalloc_fopen __P((char *, char *, char *, char *, size_t)); + +#define FIND_ALLOC 0x01 /* find slot for new allocation */ +#define FIND_EXIST 0x02 /* find slot for existing entry for free() or search */ static int table_count = 0; static int table_allocated = 0; +static int table_bucket_index = REG_TABLE_SIZE-1; static mr_table_t mem_table[REG_TABLE_SIZE]; static mr_table_t mem_overflow; +#ifndef STREQ +#define STREQ(a, b) ((a)[0] == (b)[0] && strcmp(a, b) == 0) +#endif + +static int location_table_index = 0; +static int location_table_count = 0; +static ma_table_t mlocation_table[REG_TABLE_SIZE]; + /* * NOTE: taken from dmalloc (http://dmalloc.com) and modified. */ @@ -72,8 +83,15 @@ which_bucket (mem) { return (mt_hash ((unsigned char *)mem) & (REG_TABLE_SIZE-1)); } + #else #define which_bucket(mem) (mt_hash ((unsigned char *)(mem)) & (REG_TABLE_SIZE-1)); + +#define next_bucket() ((table_bucket_index + 1) & (REG_TABLE_SIZE-1)) +#define next_entry(mem) ((mem == mem_table + REG_TABLE_SIZE - 1) ? mem_table : ++mem) + +#define prev_bucket() (table_bucket_index == 0 ? REG_TABLE_SIZE-1 : table_bucket_index-1) +#define prev_entry(mem) ((mem == mem_table) ? mem_table + REG_TABLE_SIZE - 1 : mem - 1) #endif static mr_table_t * @@ -83,60 +101,37 @@ find_entry (mem, flags) { unsigned int bucket; register mr_table_t *tp; - mr_table_t *endp, *lastp; + mr_table_t *endp; if (mem_overflow.mem == mem) return (&mem_overflow); - bucket = which_bucket (mem); /* get initial hash */ - tp = endp = mem_table + bucket; - lastp = mem_table + REG_TABLE_SIZE; + /* If we want to insert an allocation entry just use the next slot */ + if (flags & FIND_ALLOC) + { + table_bucket_index = next_bucket(); + table_count++; + tp = mem_table + table_bucket_index; + memset(tp, 0, sizeof (mr_table_t)); /* overwrite next existing entry */ + return tp; + } + + tp = endp = mem_table + table_bucket_index; + /* search for last allocation corresponding to MEM, return entry pointer */ while (1) { if (tp->mem == mem) return (tp); - if (tp->mem == 0 && (flags & FIND_ALLOC)) - { - table_count++; - return (tp); - } - - tp++; - if (tp == lastp) /* wrap around */ - tp = mem_table; + tp = prev_entry (tp); - if (tp == endp && (flags & FIND_EXIST)) + /* if we went all the way around and didn't find it, return NULL */ + if (tp == endp) return ((mr_table_t *)NULL); - - if (tp == endp && (flags & FIND_ALLOC)) - break; } - /* oops. table is full. replace an existing free entry. */ - do - { - /* If there are no free entries, punt right away without searching. */ - if (table_allocated == REG_TABLE_SIZE) - break; - - if (tp->flags & MT_FREE) - { - memset(tp, 0, sizeof (mr_table_t)); - return (tp); - } - tp++; - - if (tp == lastp) - tp = mem_table; - } - while (tp != endp); - - /* wow. entirely full. return mem_overflow dummy entry. */ - tp = &mem_overflow; - memset (tp, 0, sizeof (mr_table_t)); - return tp; + return (mr_table_t *)NULL; } mr_table_t * @@ -186,6 +181,8 @@ mregister_alloc (tag, mem, size, file, line) blocked_sigs = 1; } + mlocation_register_alloc (file, line); + tentry = find_entry (mem, FIND_ALLOC); if (tentry == 0) @@ -293,7 +290,9 @@ _register_dump_table(fp) { entry = mem_table[i]; if (entry.mem) - fprintf (fp, "[%d] %p:%d:%s:%s:%s:%d:%d:%d\n", i, + fprintf (fp, "%s[%d] %p:%zu:%s:%s:%s:%d:%d:%d\n", + (i == table_bucket_index) ? "*" : "", + i, entry.mem, entry.size, _entry_flags(entry.flags), entry.func ? entry.func : "unknown", @@ -317,6 +316,105 @@ mregister_table_init () table_count = 0; } +/* Simple for now */ + +static ma_table_t * +find_location_entry (file, line) + const char *file; + int line; +{ + register ma_table_t *tp, *endp; + + endp = mlocation_table + location_table_count; + for (tp = mlocation_table; tp <= endp; tp++) + { + if (tp->line == line && STREQ (file, tp->file)) + return tp; + } + return (ma_table_t *)NULL; +} + +void +mlocation_register_alloc (file, line) + const char *file; + int line; +{ + ma_table_t *lentry; + const char *nfile; + + if (file == 0) + { + mlocation_table[0].nalloc++; + return; + } + + nfile = strrchr (file, '/'); + if (nfile) + nfile++; + else + nfile = file; + + lentry = find_location_entry (nfile, line); + if (lentry == 0) + { + location_table_index++; + if (location_table_index == REG_TABLE_SIZE) + location_table_index = 1; /* slot 0 reserved */ + lentry = mlocation_table + location_table_index; + lentry->file = nfile; + lentry->line = line; + lentry->nalloc = 1; + if (location_table_count < REG_TABLE_SIZE) + location_table_count++; /* clamp at REG_TABLE_SIZE for now */ + } + else + lentry->nalloc++; +} + +static void +_location_dump_table (fp) + FILE *fp; +{ + register ma_table_t *tp, *endp; + + endp = mlocation_table + location_table_count; + for (tp = mlocation_table; tp < endp; tp++) + fprintf (fp, "%s:%d\t%d\n", tp->file ? tp->file : "unknown", + tp->line ? tp->line : 0, + tp->nalloc); +} + +void +mlocation_dump_table () +{ + _location_dump_table (stderr); +} + +#define LOCROOT "/var/tmp/maltrace/locations." + +void +mlocation_write_table () +{ + FILE *fp; + char defname[sizeof (LOCROOT) + 64]; + + fp = _imalloc_fopen ((char *)NULL, (char *)NULL, LOCROOT, defname, sizeof (defname)); + if (fp == 0) + return; /* XXX - no error message yet */ + _location_dump_table (fp); + fclose (fp); +} + +void +mlocation_table_init () +{ + memset (mlocation_table, 0, sizeof (ma_table_t) * REG_TABLE_SIZE); + mlocation_table[0].file = ""; /* reserve slot 0 for unknown locations */ + mlocation_table[0].line = 0; + mlocation_table[0].nalloc = 0; + location_table_count = 1; +} + #endif /* MALLOC_REGISTER */ int diff --git a/lib/malloc/table.h b/lib/malloc/table.h index 41ce9f72d..7494f0a5a 100644 --- a/lib/malloc/table.h +++ b/lib/malloc/table.h @@ -64,6 +64,17 @@ extern void mregister_describe_mem (); extern void mregister_dump_table __P((void)); extern void mregister_table_init __P((void)); +typedef struct ma_table { + const char *file; + int line; + int nalloc; +} ma_table_t; + +extern void mlocation_register_alloc __P((const char *, int)); +extern void mlocation_table_init __P((void)); +extern void mlocation_dump_table __P((void)); +extern void mlocation_write_table __P((void)); + /* NOTE: HASH_MIX taken from dmalloc (http://dmalloc.com) */ /* diff --git a/lib/malloc/trace.c b/lib/malloc/trace.c index 6d93f99c9..95898b703 100644 --- a/lib/malloc/trace.c +++ b/lib/malloc/trace.c @@ -52,10 +52,10 @@ mtrace_alloc (tag, mem, size, file, line) _mtrace_fp = stderr; if (_mtrace_verbose) - fprintf (_mtrace_fp, "alloc: %s: %p (%d bytes) from '%s:%d'\n", + fprintf (_mtrace_fp, "alloc: %s: %p (%zu bytes) from '%s:%d'\n", tag, mem, size, file ? file : "unknown", line); else - fprintf (_mtrace_fp, "alloc:%p:%d:%s:%d\n", + fprintf (_mtrace_fp, "alloc:%p:%zu:%s:%d\n", mem, size, file ? file : "unknown", line); } diff --git a/lib/readline/Makefile.in b/lib/readline/Makefile.in index acccd0212..1291249d5 100644 --- a/lib/readline/Makefile.in +++ b/lib/readline/Makefile.in @@ -28,7 +28,7 @@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_VERSION = @PACKAGE_VERSION@ srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ topdir = @top_srcdir@ BUILD_DIR = @BUILD_DIR@ @@ -52,8 +52,10 @@ SHELL = @MAKE_SHELL@ ETAGS = etags -tw CTAGS = ctags -tw +DEBUG = @DEBUG@ + CFLAGS = @CFLAGS@ -LOCAL_CFLAGS = @LOCAL_CFLAGS@ +LOCAL_CFLAGS = @LOCAL_CFLAGS@ ${DEBUG} CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ @@ -175,7 +177,8 @@ bind.o: history.h rlstdc.h callback.o: rlconf.h ansi_stdlib.h callback.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h callback.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h -compat.o: rlstdc.h +compat.o: ${BUILD_DIR}/config.h +compat.o: rlstdc.h rltypedefs.h complete.o: ansi_stdlib.h posixdir.h posixstat.h complete.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h complete.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h @@ -237,6 +240,7 @@ readline.o: posixstat.h ansi_stdlib.h posixjmp.h rltty.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h rltty.o: rltty.h rltty.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h rlstdc.h +savestring.o: ${BUILD_DIR}/config.h search.o: rldefs.h ${BUILD_DIR}/config.h rlconf.h search.o: readline.h keymaps.h rltypedefs.h chardefs.h tilde.h search.o: ansi_stdlib.h history.h rlstdc.h diff --git a/lib/readline/bind.c b/lib/readline/bind.c index 8acf4ac4c..f1098c48b 100644 --- a/lib/readline/bind.c +++ b/lib/readline/bind.c @@ -1,6 +1,6 @@ /* bind.c -- key binding and startup file support for the readline library. */ -/* Copyright (C) 1987-2012 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -74,8 +74,13 @@ Keymap rl_binding_keymap; static int _rl_skip_to_delim PARAMS((char *, int, int)); +#if defined (USE_VARARGS) && defined (PREFER_STDARG) +static void _rl_init_file_error (const char *, ...) __attribute__((__format__ (printf, 1, 2))); +#else +static void _rl_init_file_error (); +#endif + static char *_rl_read_file PARAMS((char *, size_t *)); -static void _rl_init_file_error PARAMS((const char *)); static int _rl_read_init_file PARAMS((const char *, int)); static int glean_key_from_name PARAMS((char *)); @@ -117,6 +122,9 @@ rl_bind_key (key, function) int key; rl_command_func_t *function; { + char keyseq[3]; + int l; + if (key < 0) return (key); @@ -135,8 +143,24 @@ rl_bind_key (key, function) return (key); } - _rl_keymap[key].type = ISFUNC; - _rl_keymap[key].function = function; + /* If it's bound to a function or macro, just overwrite. Otherwise we have + to treat it as a key sequence so rl_generic_bind handles shadow keymaps + for us. If we are binding '\' make sure to escape it so it makes it + through the call to rl_translate_keyseq. */ + if (_rl_keymap[key].type != ISKMAP) + { + _rl_keymap[key].type = ISFUNC; + _rl_keymap[key].function = function; + } + else + { + l = 0; + if (key == '\\') + keyseq[l++] = '\\'; + keyseq[l++] = key; + keyseq[l] = '\0'; + rl_bind_keyseq (keyseq, function); + } rl_binding_keymap = _rl_keymap; return (0); } @@ -542,7 +566,7 @@ rl_translate_keyseq (seq, array, len) case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': i++; - for (temp = 2, c -= '0'; ISOCTAL (seq[i]) && temp--; i++) + for (temp = 2, c -= '0'; ISOCTAL ((unsigned char)seq[i]) && temp--; i++) c = (c * 8) + OCTVALUE (seq[i]); i--; /* auto-increment in for loop */ array[l++] = c & largest_char; @@ -970,14 +994,35 @@ _rl_read_init_file (filename, include_level) } static void -_rl_init_file_error (msg) - const char *msg; +#if defined (PREFER_STDARG) +_rl_init_file_error (const char *format, ...) +#else +_rl_init_file_error (va_alist) + va_dcl +#endif { + va_list args; +#if defined (PREFER_VARARGS) + char *format; +#endif + +#if defined (PREFER_STDARG) + va_start (args, format); +#else + va_start (args); + format = va_arg (args, char *); +#endif + + fprintf (stderr, "readline: "); if (currently_reading_init_file) - _rl_errmsg ("%s: line %d: %s\n", current_readline_init_file, - current_readline_init_lineno, msg); - else - _rl_errmsg ("%s", msg); + fprintf (stderr, "%s: line %d: ", current_readline_init_file, + current_readline_init_lineno); + + vfprintf (stderr, format, args); + fprintf (stderr, "\n"); + fflush (stderr); + + va_end (args); } /* **************************************************************** */ @@ -1197,7 +1242,7 @@ handle_parser_directive (statement) } /* display an error message about the unknown parser directive */ - _rl_init_file_error ("unknown parser directive"); + _rl_init_file_error ("%s: unknown parser directive", directive); return (1); } @@ -1243,7 +1288,7 @@ rl_parse_and_bind (string) { char *funname, *kname; register int c, i; - int key, equivalency; + int key, equivalency, foundmod, foundsep; while (string && whitespace (*string)) string++; @@ -1273,7 +1318,7 @@ rl_parse_and_bind (string) /* If we didn't find a closing quote, abort the line. */ if (string[i] == '\0') { - _rl_init_file_error ("no closing `\"' in key binding"); + _rl_init_file_error ("%s: no closing `\"' in key binding", string); return 1; } else @@ -1285,6 +1330,8 @@ rl_parse_and_bind (string) equivalency = (c == ':' && string[i + 1] == '='); + foundsep = c != 0; + /* Mark the end of the command (or keyname). */ if (string[i]) string[i++] = '\0'; @@ -1374,6 +1421,12 @@ remove_trailing: return 0; } + if (foundsep == 0) + { + _rl_init_file_error ("%s: no key sequence terminator", string); + return 1; + } + /* If this is a new-style key-binding, then do the binding with rl_bind_keyseq (). Otherwise, let the older code deal with it. */ if (*string == '"') @@ -1430,11 +1483,24 @@ remove_trailing: key = glean_key_from_name (kname); /* Add in control and meta bits. */ + foundmod = 0; if (substring_member_of_array (string, _rl_possible_control_prefixes)) - key = CTRL (_rl_to_upper (key)); + { + key = CTRL (_rl_to_upper (key)); + foundmod = 1; + } if (substring_member_of_array (string, _rl_possible_meta_prefixes)) - key = META (key); + { + key = META (key); + foundmod = 1; + } + + if (foundmod == 0 && kname != string) + { + _rl_init_file_error ("%s: unknown key modifier", string); + return 1; + } /* Temporary. Handle old-style keyname with macro-binding. */ if (*funname == '\'' || *funname == '"') @@ -1461,6 +1527,7 @@ remove_trailing: #endif /* PREFIX_META_HACK */ else rl_bind_key (key, rl_named_function (funname)); + return 0; } @@ -1479,6 +1546,7 @@ static const struct { { "blink-matching-paren", &rl_blink_matching_paren, V_SPECIAL }, { "byte-oriented", &rl_byte_oriented, 0 }, #if defined (COLOR_SUPPORT) + { "colored-completion-prefix",&_rl_colored_completion_prefix, 0 }, { "colored-stats", &_rl_colored_stats, 0 }, #endif { "completion-ignore-case", &_rl_completion_case_fold, 0 }, @@ -1486,6 +1554,7 @@ static const struct { { "convert-meta", &_rl_convert_meta_chars_to_ascii, 0 }, { "disable-completion", &rl_inhibit_completion, 0 }, { "echo-control-characters", &_rl_echo_control_chars, 0 }, + { "enable-bracketed-paste", &_rl_enable_bracketed_paste, 0 }, { "enable-keypad", &_rl_enable_keypad, 0 }, { "enable-meta-key", &_rl_enable_meta, 0 }, { "expand-tilde", &rl_complete_with_tilde_expansion, 0 }, @@ -1569,10 +1638,13 @@ static int sv_dispprefix PARAMS((const char *)); static int sv_compquery PARAMS((const char *)); static int sv_compwidth PARAMS((const char *)); static int sv_editmode PARAMS((const char *)); +static int sv_emacs_modestr PARAMS((const char *)); static int sv_histsize PARAMS((const char *)); static int sv_isrchterm PARAMS((const char *)); static int sv_keymap PARAMS((const char *)); static int sv_seqtimeout PARAMS((const char *)); +static int sv_viins_modestr PARAMS((const char *)); +static int sv_vicmd_modestr PARAMS((const char *)); static const struct { const char * const name; @@ -1585,10 +1657,13 @@ static const struct { { "completion-prefix-display-length", V_INT, sv_dispprefix }, { "completion-query-items", V_INT, sv_compquery }, { "editing-mode", V_STRING, sv_editmode }, + { "emacs-mode-string", V_STRING, sv_emacs_modestr }, { "history-size", V_INT, sv_histsize }, { "isearch-terminators", V_STRING, sv_isrchterm }, { "keymap", V_STRING, sv_keymap }, { "keyseq-timeout", V_INT, sv_seqtimeout }, + { "vi-cmd-mode-string", V_STRING, sv_vicmd_modestr }, + { "vi-ins-mode-string", V_STRING, sv_viins_modestr }, { (char *)NULL, 0, (_rl_sv_func_t *)0 } }; @@ -1605,7 +1680,7 @@ find_string_var (name) } /* A boolean value that can appear in a `set variable' command is true if - the value is null or empty, `on' (case-insenstive), or "1". Any other + the value is null or empty, `on' (case-insensitive), or "1". Any other values result in 0 (false). */ static int bool_to_int (value) @@ -1654,10 +1729,14 @@ rl_variable_bind (name, value) i = find_string_var (name); - /* For the time being, unknown variable names or string names without a - handler function are simply ignored. */ + /* For the time being, string names without a handler function are simply + ignored. */ if (i < 0 || string_varlist[i].set_func == 0) - return 0; + { + if (i < 0) + _rl_init_file_error ("%s: unknown variable name", name); + return 0; + } v = (*string_varlist[i].set_func) (value); return v; @@ -1832,7 +1911,7 @@ sv_isrchterm (value) } else { - for (beg = end = 0; whitespace (v[end]) == 0; end++) + for (beg = end = 0; v[end] && whitespace (v[end]) == 0; end++) ; } @@ -1846,7 +1925,96 @@ sv_isrchterm (value) xfree (v); return 0; } - + +extern char *_rl_emacs_mode_str; + +static int +sv_emacs_modestr (value) + const char *value; +{ + if (value && *value) + { + FREE (_rl_emacs_mode_str); + _rl_emacs_mode_str = (char *)xmalloc (2 * strlen (value) + 1); + rl_translate_keyseq (value, _rl_emacs_mode_str, &_rl_emacs_modestr_len); + _rl_emacs_mode_str[_rl_emacs_modestr_len] = '\0'; + return 0; + } + else if (value) + { + FREE (_rl_emacs_mode_str); + _rl_emacs_mode_str = (char *)xmalloc (1); + _rl_emacs_mode_str[_rl_emacs_modestr_len = 0] = '\0'; + return 0; + } + else if (value == 0) + { + FREE (_rl_emacs_mode_str); + _rl_emacs_mode_str = 0; /* prompt_modestr does the right thing */ + _rl_emacs_modestr_len = 0; + return 0; + } + return 1; +} + +static int +sv_viins_modestr (value) + const char *value; +{ + if (value && *value) + { + FREE (_rl_vi_ins_mode_str); + _rl_vi_ins_mode_str = (char *)xmalloc (2 * strlen (value) + 1); + rl_translate_keyseq (value, _rl_vi_ins_mode_str, &_rl_vi_ins_modestr_len); + _rl_vi_ins_mode_str[_rl_vi_ins_modestr_len] = '\0'; + return 0; + } + else if (value) + { + FREE (_rl_vi_ins_mode_str); + _rl_vi_ins_mode_str = (char *)xmalloc (1); + _rl_vi_ins_mode_str[_rl_vi_ins_modestr_len = 0] = '\0'; + return 0; + } + else if (value == 0) + { + FREE (_rl_vi_ins_mode_str); + _rl_vi_ins_mode_str = 0; /* prompt_modestr does the right thing */ + _rl_vi_ins_modestr_len = 0; + return 0; + } + return 1; +} + +static int +sv_vicmd_modestr (value) + const char *value; +{ + if (value && *value) + { + FREE (_rl_vi_cmd_mode_str); + _rl_vi_cmd_mode_str = (char *)xmalloc (2 * strlen (value) + 1); + rl_translate_keyseq (value, _rl_vi_cmd_mode_str, &_rl_vi_cmd_modestr_len); + _rl_vi_cmd_mode_str[_rl_vi_cmd_modestr_len] = '\0'; + return 0; + } + else if (value) + { + FREE (_rl_vi_cmd_mode_str); + _rl_vi_cmd_mode_str = (char *)xmalloc (1); + _rl_vi_cmd_mode_str[_rl_vi_cmd_modestr_len = 0] = '\0'; + return 0; + } + else if (value == 0) + { + FREE (_rl_vi_cmd_mode_str); + _rl_vi_cmd_mode_str = 0; /* prompt_modestr does the right thing */ + _rl_vi_cmd_modestr_len = 0; + return 0; + } + return 1; +} + /* Return the character which matches NAME. For example, `Space' returns ' '. */ @@ -2420,6 +2588,12 @@ _rl_get_string_variable_value (name) sprintf (numbuf, "%d", _rl_keyseq_timeout); return (numbuf); } + else if (_rl_stricmp (name, "emacs-mode-string") == 0) + return (_rl_emacs_mode_str ? _rl_emacs_mode_str : RL_EMACS_MODESTR_DEFAULT); + else if (_rl_stricmp (name, "vi-cmd-mode-string") == 0) + return (_rl_vi_cmd_mode_str ? _rl_vi_cmd_mode_str : RL_VI_CMD_MODESTR_DEFAULT); + else if (_rl_stricmp (name, "vi-ins-mode-string") == 0) + return (_rl_vi_ins_mode_str ? _rl_vi_ins_mode_str : RL_VI_INS_MODESTR_DEFAULT); else return (0); } diff --git a/lib/readline/callback.c b/lib/readline/callback.c index 6bb2c3e0d..cc3ce11f1 100644 --- a/lib/readline/callback.c +++ b/lib/readline/callback.c @@ -1,6 +1,6 @@ /* callback.c -- functions to use readline as an X `callback' mechanism. */ -/* Copyright (C) 1987-2009 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -50,6 +50,14 @@ _rl_callback_func_t *_rl_callback_func = 0; _rl_callback_generic_arg *_rl_callback_data = 0; +/* Applications can set this to non-zero to have readline's signal handlers + installed during the entire duration of reading a complete line, as in + readline-6.2. This should be used with care, because it can result in + readline receiving signals and not handling them until it's called again + via rl_callback_read_char, thereby stealing them from the application. + By default, signal handlers are only active while readline is active. */ +int rl_persistent_signal_handlers = 0; + /* **************************************************************** */ /* */ /* Callback Readline Functions */ @@ -82,6 +90,11 @@ _rl_callback_newline () if (rl_prep_term_function) (*rl_prep_term_function) (_rl_meta_flag); + +#if defined (HANDLE_SIGNALS) + if (rl_persistent_signal_handlers) + rl_set_signals (); +#endif } readline_internal_setup (); @@ -103,7 +116,8 @@ rl_callback_handler_install (prompt, linefunc) #if defined (HANDLE_SIGNALS) #define CALLBACK_READ_RETURN() \ do { \ - rl_clear_signals (); \ + if (rl_persistent_signal_handlers == 0) \ + rl_clear_signals (); \ return; \ } while (0) #else @@ -140,7 +154,8 @@ rl_callback_read_char () #if defined (HANDLE_SIGNALS) /* Install signal handlers only when readline has control. */ - rl_set_signals (); + if (rl_persistent_signal_handlers == 0) + rl_set_signals (); #endif do @@ -161,6 +176,36 @@ rl_callback_read_char () CALLBACK_READ_RETURN (); } #if defined (VI_MODE) + /* States that can occur while in state VIMOTION have to be checked + before RL_STATE_VIMOTION */ + else if (RL_ISSTATE (RL_STATE_CHARSEARCH)) + { + int k; + + k = _rl_callback_data->i2; + + eof = (*_rl_callback_func) (_rl_callback_data); + /* If the function `deregisters' itself, make sure the data is + cleaned up. */ + if (_rl_callback_func == 0) /* XXX - just sanity check */ + { + if (_rl_callback_data) + { + _rl_callback_data_dispose (_rl_callback_data); + _rl_callback_data = 0; + } + } + + /* Messy case where vi motion command can be char search */ + if (RL_ISSTATE (RL_STATE_VIMOTION)) + { + _rl_vi_domove_motion_cleanup (k, _rl_vimvcxt); + _rl_internal_char_cleanup (); + CALLBACK_READ_RETURN (); + } + + _rl_internal_char_cleanup (); + } else if (RL_ISSTATE (RL_STATE_VIMOTION)) { eof = _rl_vi_domove_callback (_rl_vimvcxt); @@ -284,10 +329,36 @@ _rl_callback_data_alloc (count) return arg; } -void _rl_callback_data_dispose (arg) +void +_rl_callback_data_dispose (arg) _rl_callback_generic_arg *arg; { xfree (arg); } +/* Make sure that this agrees with cases in rl_callback_read_char */ +void +rl_callback_sigcleanup () +{ + if (RL_ISSTATE (RL_STATE_CALLBACK) == 0) + return; + + if (RL_ISSTATE (RL_STATE_ISEARCH)) + _rl_isearch_cleanup (_rl_iscxt, 0); + else if (RL_ISSTATE (RL_STATE_NSEARCH)) + _rl_nsearch_cleanup (_rl_nscxt, 0); + else if (RL_ISSTATE (RL_STATE_VIMOTION)) + RL_UNSETSTATE (RL_STATE_VIMOTION); + else if (RL_ISSTATE (RL_STATE_NUMERICARG)) + { + _rl_argcxt = 0; + RL_UNSETSTATE (RL_STATE_NUMERICARG); + } + else if (RL_ISSTATE (RL_STATE_MULTIKEY)) + RL_UNSETSTATE (RL_STATE_MULTIKEY); + if (RL_ISSTATE (RL_STATE_CHARSEARCH)) + RL_UNSETSTATE (RL_STATE_CHARSEARCH); + + _rl_callback_func = 0; +} #endif diff --git a/lib/readline/chardefs.h b/lib/readline/chardefs.h index 1fa1b089d..3cf1326aa 100644 --- a/lib/readline/chardefs.h +++ b/lib/readline/chardefs.h @@ -1,6 +1,6 @@ /* chardefs.h -- Character definitions for readline. */ -/* Copyright (C) 1994-2009 Free Software Foundation, Inc. +/* Copyright (C) 1994-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -73,7 +73,7 @@ #endif #if !defined (isxdigit) && !defined (HAVE_ISXDIGIT) && !defined (__cplusplus) -# define isxdigit(c) (isdigit((c)) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) +# define isxdigit(c) (isdigit((unsigned char)(c)) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) #endif #if defined (CTYPE_NON_ASCII) @@ -87,13 +87,13 @@ /* Beware: these only work with single-byte ASCII characters. */ -#define ISALNUM(c) (IN_CTYPE_DOMAIN (c) && isalnum (c)) -#define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha (c)) -#define ISDIGIT(c) (IN_CTYPE_DOMAIN (c) && isdigit (c)) -#define ISLOWER(c) (IN_CTYPE_DOMAIN (c) && islower (c)) -#define ISPRINT(c) (IN_CTYPE_DOMAIN (c) && isprint (c)) -#define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper (c)) -#define ISXDIGIT(c) (IN_CTYPE_DOMAIN (c) && isxdigit (c)) +#define ISALNUM(c) (IN_CTYPE_DOMAIN (c) && isalnum ((unsigned char)c)) +#define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha ((unsigned char)c)) +#define ISDIGIT(c) (IN_CTYPE_DOMAIN (c) && isdigit ((unsigned char)c)) +#define ISLOWER(c) (IN_CTYPE_DOMAIN (c) && islower ((unsigned char)c)) +#define ISPRINT(c) (IN_CTYPE_DOMAIN (c) && isprint ((unsigned char)c)) +#define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper ((unsigned char)c)) +#define ISXDIGIT(c) (IN_CTYPE_DOMAIN (c) && isxdigit ((unsigned char)c)) #define _rl_lowercase_p(c) (NON_NEGATIVE(c) && ISLOWER(c)) #define _rl_uppercase_p(c) (NON_NEGATIVE(c) && ISUPPER(c)) diff --git a/lib/readline/colors.c b/lib/readline/colors.c index 89d9035f2..7859f5d2b 100644 --- a/lib/readline/colors.c +++ b/lib/readline/colors.c @@ -2,8 +2,8 @@ Modified by Chet Ramey for Readline. - Copyright (C) 1985, 1988, 1990-1991, 1995-2010, 2012 Free Software Foundation, - Inc. + Copyright (C) 1985, 1988, 1990-1991, 1995-2010, 2012, 2015 + Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -98,9 +98,29 @@ _rl_set_normal_color (void) } } +bool +_rl_print_prefix_color (void) +{ + struct bin_str *s; + + /* What do we want to use for the prefix? Let's try cyan first, see colors.h */ + s = &_rl_color_indicator[C_PREFIX]; + if (s->string != NULL) + { + if (is_colored (C_NORM)) + restore_default_color (); + _rl_put_indicator (&_rl_color_indicator[C_LEFT]); + _rl_put_indicator (s); + _rl_put_indicator (&_rl_color_indicator[C_RIGHT]); + return 0; + } + else + return 1; +} + /* Returns whether any color sequence was printed. */ bool -_rl_print_color_indicator (char *f) +_rl_print_color_indicator (const char *f) { enum indicator_no colored_filetype; COLOR_EXT_TYPE *ext; /* Color extension */ @@ -108,10 +128,9 @@ _rl_print_color_indicator (char *f) const char* name; char *filename; - struct stat astat; + struct stat astat, linkstat; mode_t mode; - int linkok; - + int linkok; /* 1 == ok, 0 == dangling symlink, -1 == missing */ int stat_ok; name = f; @@ -130,10 +149,20 @@ _rl_print_color_indicator (char *f) #else stat_ok = stat(name, &astat); #endif - if( stat_ok == 0 ) { - mode = astat.st_mode; - linkok = 1; //f->linkok; - } + if (stat_ok == 0) + { + mode = astat.st_mode; +#if defined (HAVE_LSTAT) + if (S_ISLNK (mode)) + { + linkok = stat (name, &linkstat) == 0; + if (linkok && strncmp (_rl_color_indicator[C_LINK].string, "target", 6) == 0) + mode = linkstat.st_mode; + } + else +#endif + linkok = 1; + } else linkok = -1; @@ -141,6 +170,8 @@ _rl_print_color_indicator (char *f) if (linkok == -1 && _rl_color_indicator[C_MISSING].string != NULL) colored_filetype = C_MISSING; + else if (linkok == 0 && S_ISLNK(mode) && _rl_color_indicator[C_ORPHAN].string != NULL) + colored_filetype = C_ORPHAN; /* dangling symlink */ else if(stat_ok != 0) { static enum indicator_no filetype_indicator[] = FILETYPE_INDICATORS; @@ -181,10 +212,7 @@ _rl_print_color_indicator (char *f) #endif } else if (S_ISLNK (mode)) - colored_filetype = ((linkok == 0 - && (!strncmp (_rl_color_indicator[C_LINK].string, "target", 6) - || _rl_color_indicator[C_ORPHAN].string)) - ? C_ORPHAN : C_LINK); + colored_filetype = C_LINK; else if (S_ISFIFO (mode)) colored_filetype = C_FIFO; else if (S_ISSOCK (mode)) diff --git a/lib/readline/colors.h b/lib/readline/colors.h index fc926e539..6561ad90c 100644 --- a/lib/readline/colors.h +++ b/lib/readline/colors.h @@ -2,8 +2,8 @@ Modified by Chet Ramey for Readline. - Copyright (C) 1985, 1988, 1990-1991, 1995-2010, 2012 Free Software Foundation, - Inc. + Copyright (C) 1985, 1988, 1990-1991, 1995-2010, 2012, 2015 + Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -114,9 +114,13 @@ enum filetype arg_directory }; +/* Prefix color, currently same as socket */ +#define C_PREFIX C_SOCK + extern void _rl_put_indicator (const struct bin_str *ind); extern void _rl_set_normal_color (void); -extern bool _rl_print_color_indicator (char *f); +extern bool _rl_print_prefix_color (void); +extern bool _rl_print_color_indicator (const char *f); extern void _rl_prep_non_filename_text (void); #endif /* !_COLORS_H_ */ diff --git a/lib/readline/complete.c b/lib/readline/complete.c index 3d36e920f..0a81129b8 100644 --- a/lib/readline/complete.c +++ b/lib/readline/complete.c @@ -1,6 +1,6 @@ /* complete.c -- filename completion for readline. */ -/* Copyright (C) 1987-2012 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -111,8 +111,10 @@ static int stat_char PARAMS((char *)); #endif #if defined (COLOR_SUPPORT) -static int colored_stat_start PARAMS((char *)); +static int colored_stat_start PARAMS((const char *)); static void colored_stat_end PARAMS((void)); +static int colored_prefix_start PARAMS((void)); +static void colored_prefix_end PARAMS((void)); #endif static int path_isdir PARAMS((const char *)); @@ -126,7 +128,7 @@ static int get_y_or_n PARAMS((int)); static int _rl_internal_pager PARAMS((int)); static char *printable_part PARAMS((char *)); static int fnwidth PARAMS((const char *)); -static int fnprint PARAMS((const char *, int)); +static int fnprint PARAMS((const char *, int, const char *)); static int print_filename PARAMS((char *, char *, int)); static char **gen_completion_matches PARAMS((char *, int, int, rl_compentry_func_t *, int, int)); @@ -172,7 +174,7 @@ int _rl_complete_mark_symlink_dirs = 0; int _rl_print_completions_horizontally; /* Non-zero means that case is not significant in filename completion. */ -#if defined (__MSDOS__) && !defined (__DJGPP__) +#if (defined (__MSDOS__) && !defined (__DJGPP__)) || (defined (_WIN32) && !defined (__CYGWIN__)) int _rl_completion_case_fold = 1; #else int _rl_completion_case_fold = 0; @@ -209,6 +211,10 @@ int rl_visible_stats = 0; /* Non-zero means to use colors to indicate file type when listing possible completions. The colors used are taken from $LS_COLORS, if set. */ int _rl_colored_stats = 0; + +/* Non-zero means to use a color (currently magenta) to indicate the common + prefix of a set of possible word completions. */ +int _rl_colored_completion_prefix = 0; #endif /* If non-zero, when completing in the middle of a word, don't insert @@ -404,6 +410,8 @@ static int completion_changed_buffer; /* The result of the query to the user about displaying completion matches */ static int completion_y_or_n; +static int _rl_complete_display_matches_interrupt = 0; + /*************************************/ /* */ /* Bindable completion functions */ @@ -487,7 +495,10 @@ _rl_complete_sigcleanup (sig, ptr) void *ptr; { if (sig == SIGINT) /* XXX - for now */ - _rl_free_match_list ((char **)ptr); + { + _rl_free_match_list ((char **)ptr); + _rl_complete_display_matches_interrupt = 1; + } } /* Set default values for readline word completion. These are the variables @@ -505,6 +516,9 @@ set_completion_defaults (what_to_do) /* The completion entry function may optionally change this. */ rl_completion_mark_symlink_dirs = _rl_complete_mark_symlink_dirs; + + /* Reset private state. */ + _rl_complete_display_matches_interrupt = 0; } /* The user must press "y" or "n". Non-zero return means "y" pressed. */ @@ -638,11 +652,23 @@ stat_char (filename) #endif else if (S_ISREG (finfo.st_mode)) { +#if defined (_WIN32) && !defined (__CYGWIN__) + char *ext; + + /* Windows doesn't do access and X_OK; check file extension instead */ + ext = strrchr (fn, '.'); + if (ext && (_rl_stricmp (ext, ".exe") == 0 || + _rl_stricmp (ext, ".cmd") == 0 || + _rl_stricmp (ext, ".bat") == 0 || + _rl_stricmp (ext, ".com") == 0)) + character = '*'; +#else if (access (filename, X_OK) == 0) character = '*'; +#endif } - free (f); + xfree (f); return (character); } #endif /* VISIBLE_STATS */ @@ -650,7 +676,7 @@ stat_char (filename) #if defined (COLOR_SUPPORT) static int colored_stat_start (filename) - char *filename; + const char *filename; { _rl_set_normal_color (); return (_rl_print_color_indicator (filename)); @@ -662,6 +688,19 @@ colored_stat_end () _rl_prep_non_filename_text (); _rl_put_indicator (&_rl_color_indicator[C_CLR_TO_EOL]); } + +static int +colored_prefix_start () +{ + _rl_set_normal_color (); + return (_rl_print_prefix_color ()); +} + +static void +colored_prefix_end () +{ + colored_stat_end (); /* for now */ +} #endif /* Return the portion of PATHNAME that should be output when listing @@ -682,7 +721,7 @@ printable_part (pathname) return (pathname); temp = strrchr (pathname, '/'); -#if defined (__MSDOS__) +#if defined (__MSDOS__) || defined (_WIN32) if (temp == 0 && ISALPHA ((unsigned char)pathname[0]) && pathname[1] == ':') temp = pathname + 1; #endif @@ -761,12 +800,14 @@ fnwidth (string) #define ELLIPSIS_LEN 3 static int -fnprint (to_print, prefix_bytes) +fnprint (to_print, prefix_bytes, real_pathname) const char *to_print; int prefix_bytes; + const char *real_pathname; { int printed_len, w; const char *s; + int common_prefix_len, print_len; #if defined (HANDLE_MULTIBYTE) mbstate_t ps; const char *end; @@ -774,18 +815,26 @@ fnprint (to_print, prefix_bytes) int width; wchar_t wc; - end = to_print + strlen (to_print) + 1; + print_len = strlen (to_print); + end = to_print + print_len + 1; memset (&ps, 0, sizeof (mbstate_t)); #endif - printed_len = 0; + printed_len = common_prefix_len = 0; /* Don't print only the ellipsis if the common prefix is one of the - possible completions */ - if (to_print[prefix_bytes] == '\0') + possible completions. Only cut off prefix_bytes if we're going to be + printing the ellipsis, which takes precedence over coloring the + completion prefix (see print_filename() below). */ + if (_rl_completion_prefix_display_length > 0 && prefix_bytes >= print_len) prefix_bytes = 0; - if (prefix_bytes) +#if defined (COLOR_SUPPORT) + if (_rl_colored_stats && (prefix_bytes == 0 || _rl_colored_completion_prefix <= 0)) + colored_stat_start (real_pathname); +#endif + + if (prefix_bytes && _rl_completion_prefix_display_length > 0) { char ellipsis; @@ -794,6 +843,15 @@ fnprint (to_print, prefix_bytes) putc (ellipsis, rl_outstream); printed_len = ELLIPSIS_LEN; } +#if defined (COLOR_SUPPORT) + else if (prefix_bytes && _rl_colored_completion_prefix > 0) + { + common_prefix_len = prefix_bytes; + prefix_bytes = 0; + /* XXX - print color indicator start here */ + colored_prefix_start (); + } +#endif s = to_print + prefix_bytes; while (*s) @@ -844,8 +902,25 @@ fnprint (to_print, prefix_bytes) printed_len++; #endif } + if (common_prefix_len > 0 && (s - to_print) >= common_prefix_len) + { +#if defined (COLOR_SUPPORT) + /* printed bytes = s - to_print */ + /* printed bytes should never be > but check for paranoia's sake */ + colored_prefix_end (); + if (_rl_colored_stats) + colored_stat_start (real_pathname); /* XXX - experiment */ +#endif + common_prefix_len = 0; + } } +#if defined (COLOR_SUPPORT) + /* XXX - unconditional for now */ + if (_rl_colored_stats) + colored_stat_end (); +#endif + return printed_len; } @@ -866,7 +941,7 @@ print_filename (to_print, full_pathname, prefix_bytes) /* Defer printing if we want to prefix with a color indicator */ if (_rl_colored_stats == 0 || rl_filename_completion_desired == 0) #endif - printed_len = fnprint (to_print, prefix_bytes); + printed_len = fnprint (to_print, prefix_bytes, to_print); if (rl_filename_completion_desired && ( #if defined (VISIBLE_STATS) @@ -928,20 +1003,17 @@ print_filename (to_print, full_pathname, prefix_bytes) { dn = savestring (new_full_pathname); (*rl_filename_stat_hook) (&dn); - free (new_full_pathname); + xfree (new_full_pathname); new_full_pathname = dn; } if (path_isdir (new_full_pathname)) extension_char = '/'; } + /* Move colored-stats code inside fnprint() */ #if defined (COLOR_SUPPORT) if (_rl_colored_stats) - { - colored_stat_start (new_full_pathname); - printed_len = fnprint (to_print, prefix_bytes); - colored_stat_end (); - } + printed_len = fnprint (to_print, prefix_bytes, new_full_pathname); #endif xfree (new_full_pathname); @@ -958,15 +1030,11 @@ print_filename (to_print, full_pathname, prefix_bytes) if (_rl_complete_mark_directories && path_isdir (s)) extension_char = '/'; + /* Move colored-stats code inside fnprint() */ #if defined (COLOR_SUPPORT) if (_rl_colored_stats) - { - colored_stat_start (s); - printed_len = fnprint (to_print, prefix_bytes); - colored_stat_end (); - } + printed_len = fnprint (to_print, prefix_bytes, s); #endif - } xfree (s); @@ -1504,15 +1572,29 @@ rl_display_match_list (matches, len, max) if (_rl_completion_prefix_display_length > 0) { t = printable_part (matches[0]); - temp = strrchr (t, '/'); + /* check again in case of /usr/src/ */ + temp = rl_filename_completion_desired ? strrchr (t, '/') : 0; common_length = temp ? fnwidth (temp) : fnwidth (t); sind = temp ? strlen (temp) : strlen (t); + if (common_length > max || sind > max) + common_length = sind = 0; if (common_length > _rl_completion_prefix_display_length && common_length > ELLIPSIS_LEN) max -= common_length - ELLIPSIS_LEN; else common_length = sind = 0; } +#if defined (COLOR_SUPPORT) + else if (_rl_colored_completion_prefix > 0) + { + t = printable_part (matches[0]); + temp = rl_filename_completion_desired ? strrchr (t, '/') : 0; + common_length = temp ? fnwidth (temp) : fnwidth (t); + sind = temp ? RL_STRLEN (temp+1) : RL_STRLEN (t); /* want portion after final slash */ + if (common_length > max || sind > max) + common_length = sind = 0; + } +#endif /* How many items of MAX length can we fit in the screen window? */ cols = complete_get_screenwidth (); @@ -1559,12 +1641,23 @@ rl_display_match_list (matches, len, max) printed_len = print_filename (temp, matches[l], sind); if (j + 1 < limit) - for (k = 0; k < max - printed_len; k++) - putc (' ', rl_outstream); + { + if (max <= printed_len) + putc (' ', rl_outstream); + else + for (k = 0; k < max - printed_len; k++) + putc (' ', rl_outstream); + } } l += count; } rl_crlf (); +#if defined (SIGWINCH) + if (RL_SIG_RECEIVED () && RL_SIGWINCH_RECEIVED() == 0) +#else + if (RL_SIG_RECEIVED ()) +#endif + return; lines++; if (_rl_page_completions && lines >= (_rl_screenheight - 1) && i < count) { @@ -1582,6 +1675,12 @@ rl_display_match_list (matches, len, max) temp = printable_part (matches[i]); printed_len = print_filename (temp, matches[i], sind); /* Have we reached the end of this line? */ +#if defined (SIGWINCH) + if (RL_SIG_RECEIVED () && RL_SIGWINCH_RECEIVED() == 0) +#else + if (RL_SIG_RECEIVED ()) +#endif + return; if (matches[i+1]) { if (limit == 1 || (i && (limit > 1) && (i % limit) == 0)) @@ -1595,6 +1694,8 @@ rl_display_match_list (matches, len, max) return; } } + else if (max <= printed_len) + putc (' ', rl_outstream); else for (k = 0; k < max - printed_len; k++) putc (' ', rl_outstream); @@ -2046,8 +2147,16 @@ rl_complete_internal (what_to_do) { _rl_sigcleanup = _rl_complete_sigcleanup; _rl_sigcleanarg = matches; + _rl_complete_display_matches_interrupt = 0; } display_matches (matches); + if (_rl_complete_display_matches_interrupt) + { + matches = 0; /* already freed by rl_complete_sigcleanup */ + _rl_complete_display_matches_interrupt = 0; + if (rl_signal_event_hook) + (*rl_signal_event_hook) (); /* XXX */ + } _rl_sigcleanup = 0; _rl_sigcleanarg = 0; break; @@ -2073,6 +2182,8 @@ rl_complete_internal (what_to_do) RL_UNSETSTATE(RL_STATE_COMPLETING); _rl_reset_completion_state (); + + RL_CHECK_SIGNALS (); return 0; } @@ -2372,6 +2483,7 @@ rl_filename_completion_function (text, state) static int filename_len; char *temp, *dentry, *convfn; int dirlen, dentlen, convlen; + int tilde_dirname; struct dirent *entry; /* If we don't have any state, then do some initialization. */ @@ -2395,7 +2507,7 @@ rl_filename_completion_function (text, state) temp = strrchr (dirname, '/'); -#if defined (__MSDOS__) +#if defined (__MSDOS__) || defined (_WIN32) /* special hack for //X/... */ if (dirname[0] == '/' && dirname[1] == '/' && ISALPHA ((unsigned char)dirname[2]) && dirname[3] == '/') temp = strrchr (dirname + 3, '/'); @@ -2406,7 +2518,7 @@ rl_filename_completion_function (text, state) strcpy (filename, ++temp); *temp = '\0'; } -#if defined (__MSDOS__) +#if defined (__MSDOS__) || (defined (_WIN32) && !defined (__CYGWIN__)) /* searches from current directory on the drive */ else if (ISALPHA ((unsigned char)dirname[0]) && dirname[1] == ':') { @@ -2429,11 +2541,13 @@ rl_filename_completion_function (text, state) else users_dirname = savestring (dirname); + tilde_dirname = 0; if (*dirname == '~') { temp = tilde_expand (dirname); xfree (dirname); dirname = temp; + tilde_dirname = 1; } /* We have saved the possibly-dequoted version of the directory name @@ -2452,7 +2566,7 @@ rl_filename_completion_function (text, state) xfree (users_dirname); users_dirname = savestring (dirname); } - else if (rl_completion_found_quote && rl_filename_dequoting_function) + else if (tilde_dirname == 0 && rl_completion_found_quote && rl_filename_dequoting_function) { /* delete single and double quotes */ xfree (dirname); diff --git a/lib/readline/display.c b/lib/readline/display.c index 4df1f734b..41fb05312 100644 --- a/lib/readline/display.c +++ b/lib/readline/display.c @@ -1,6 +1,6 @@ /* display.c -- readline redisplay facility. */ -/* Copyright (C) 1987-2013 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -69,6 +69,12 @@ static void delete_chars PARAMS((int)); static void insert_some_chars PARAMS((char *, int, int)); static void open_some_spaces PARAMS((int)); static void cr PARAMS((void)); +static void redraw_prompt PARAMS((char *)); + +/* Values for FLAGS */ +#define PMT_MULTILINE 0x01 + +static char *expand_prompt PARAMS((char *, int, int *, int *, int *, int *)); /* State of visible and invisible lines. */ struct line_state @@ -77,8 +83,8 @@ struct line_state int *lbreaks; int lbsize; #if defined (HANDLE_MULTIBYTE) - int *wrapped_line; int wbsize; + int *wrapped_line; #endif }; @@ -113,6 +119,8 @@ static int _rl_col_width PARAMS((const char *, int, int, int)); buffer index in others. This macro is used when deciding whether the current cursor position is in the middle of a prompt string containing invisible characters. XXX - might need to take `modmark' into account. */ +/* XXX - only valid when tested against _rl_last_c_pos; buffer indices need + to use prompt_last_invisible directly. */ #define PROMPT_ENDING_INDEX \ ((MB_CUR_MAX > 1 && rl_byte_oriented == 0) ? prompt_physical_chars : prompt_last_invisible+1) @@ -158,6 +166,16 @@ int _rl_want_redisplay = 0; This is usually pointing to rl_prompt. */ char *rl_display_prompt = (char *)NULL; +/* Variables used to include the editing mode in the prompt. */ +char *_rl_emacs_mode_str; +int _rl_emacs_modestr_len; + +char *_rl_vi_ins_mode_str; +int _rl_vi_ins_modestr_len; + +char *_rl_vi_cmd_mode_str; +int _rl_vi_cmd_modestr_len; + /* Pseudo-global variables declared here. */ /* The visible cursor position. If you print some text, adjust this. */ @@ -176,6 +194,8 @@ static int prompt_multibyte_chars; /* Number of lines currently on screen minus 1. */ int _rl_vis_botlin = 0; +static int _rl_inv_botlin = 0; + /* Variables used only in this file. */ /* The last left edge of text that was displayed. This is used when doing horizontal scrolling. It shifts in thirds of a screenwidth. */ @@ -239,16 +259,30 @@ static int saved_local_length; static int saved_invis_chars_first_line; static int saved_physical_chars; -/* Return a character indicating the editing mode, for use in the prompt. */ -static int -prompt_modechar () +/* Return a string indicating the editing mode, for use in the prompt. */ + +static char * +prompt_modestr (lenp) + int *lenp; { if (rl_editing_mode == emacs_mode) - return '@'; + { + if (lenp) + *lenp = _rl_emacs_mode_str ? _rl_emacs_modestr_len : RL_EMACS_MODESTR_DEFLEN; + return _rl_emacs_mode_str ? _rl_emacs_mode_str : RL_EMACS_MODESTR_DEFAULT; + } else if (_rl_keymap == vi_insertion_keymap) - return '+'; /* vi insert mode */ + { + if (lenp) + *lenp = _rl_vi_ins_mode_str ? _rl_vi_ins_modestr_len : RL_VI_INS_MODESTR_DEFLEN; + return _rl_vi_ins_mode_str ? _rl_vi_ins_mode_str : RL_VI_INS_MODESTR_DEFAULT; /* vi insert mode */ + } else - return ':'; /* vi command mode */ + { + if (lenp) + *lenp = _rl_vi_cmd_mode_str ? _rl_vi_cmd_modestr_len : RL_VI_CMD_MODESTR_DEFLEN; + return _rl_vi_cmd_mode_str ? _rl_vi_cmd_mode_str : RL_VI_CMD_MODESTR_DEFAULT; /* vi command mode */ + } } /* Expand the prompt string S and return the number of visible @@ -266,26 +300,37 @@ prompt_modechar () the returned string; all characters except those between \001 and \002 are assumed to be `visible'. */ +/* Possible values for FLAGS: + PMT_MULTILINE caller indicates that this is part of a multiline prompt +*/ + static char * -expand_prompt (pmt, lp, lip, niflp, vlp) +expand_prompt (pmt, flags, lp, lip, niflp, vlp) char *pmt; + int flags; int *lp, *lip, *niflp, *vlp; { - char *r, *ret, *p, *igstart; + char *r, *ret, *p, *igstart, *nprompt, *ms; int l, rl, last, ignoring, ninvis, invfl, invflset, ind, pind, physchars; + int mlen; + + /* We only expand the mode string for the last line of a multiline prompt + (a prompt with embedded newlines). */ + ms = (((pmt == rl_prompt) ^ (flags & PMT_MULTILINE)) && _rl_show_mode_in_prompt) ? prompt_modestr (&mlen) : 0; + if (ms) + { + l = strlen (pmt); + nprompt = (char *)xmalloc (l + mlen + 1); + memcpy (nprompt, ms, mlen); + strcpy (nprompt + mlen, pmt); + } + else + nprompt = pmt; /* Short-circuit if we can. */ - if ((MB_CUR_MAX <= 1 || rl_byte_oriented) && strchr (pmt, RL_PROMPT_START_IGNORE) == 0) - { - if (pmt == rl_prompt && _rl_show_mode_in_prompt) - { - l = strlen (pmt); - r = (char *)xmalloc (l + 2); - r[0] = prompt_modechar (); - strcpy (r + 1, pmt); - } - else - r = savestring (pmt); + if ((MB_CUR_MAX <= 1 || rl_byte_oriented) && strchr (nprompt, RL_PROMPT_START_IGNORE) == 0) + { + r = (nprompt == pmt) ? savestring (pmt) : nprompt; if (lp) *lp = strlen (r); @@ -298,21 +343,15 @@ expand_prompt (pmt, lp, lip, niflp, vlp) return r; } - l = strlen (pmt); - r = ret = (char *)xmalloc (l + 2); - - rl = physchars = 0; /* move up here so mode show can set them */ - if (pmt == rl_prompt && _rl_show_mode_in_prompt) - { - *r++ = prompt_modechar (); - rl = physchars = 1; - } + l = strlen (nprompt); /* XXX */ + r = ret = (char *)xmalloc (l + 1); + rl = physchars = 0; /* mode string now part of nprompt */ invfl = 0; /* invisible chars in first line of prompt */ invflset = 0; /* we only want to set invfl once */ - igstart = 0; - for (ignoring = last = ninvis = 0, p = pmt; p && *p; p++) + + for (ignoring = last = ninvis = 0, p = nprompt; p && *p; p++) { /* This code strips the invisible character string markers RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE */ @@ -334,8 +373,8 @@ expand_prompt (pmt, lp, lip, niflp, vlp) #if defined (HANDLE_MULTIBYTE) if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) { - pind = p - pmt; - ind = _rl_find_next_mbchar (pmt, pind, 1, MB_FIND_NONZERO); + pind = p - nprompt; + ind = _rl_find_next_mbchar (nprompt, pind, 1, MB_FIND_NONZERO); l = ind - pind; while (l--) *r++ = *p++; @@ -347,7 +386,7 @@ expand_prompt (pmt, lp, lip, niflp, vlp) not be the same as the number of physical characters on the screen in the presence of multibyte characters */ rl += ind - pind; - physchars += _rl_col_width (pmt, pind, ind, 0); + physchars += _rl_col_width (nprompt, pind, ind, 0); } else ninvis += ind - pind; @@ -386,6 +425,10 @@ expand_prompt (pmt, lp, lip, niflp, vlp) *niflp = invfl; if (vlp) *vlp = physchars; + + if (nprompt != pmt) + free (nprompt); + return ret; } @@ -397,7 +440,7 @@ _rl_strip_prompt (pmt) { char *ret; - ret = expand_prompt (pmt, (int *)NULL, (int *)NULL, (int *)NULL, (int *)NULL); + ret = expand_prompt (pmt, 0, (int *)NULL, (int *)NULL, (int *)NULL, (int *)NULL); return ret; } @@ -444,13 +487,13 @@ rl_expand_prompt (prompt) return (0); p = strrchr (prompt, '\n'); - if (!p) + if (p == 0) { /* The prompt is only one logical line, though it might wrap. */ - local_prompt = expand_prompt (prompt, &prompt_visible_length, - &prompt_last_invisible, - &prompt_invis_chars_first_line, - &prompt_physical_chars); + local_prompt = expand_prompt (prompt, 0, &prompt_visible_length, + &prompt_last_invisible, + &prompt_invis_chars_first_line, + &prompt_physical_chars); local_prompt_prefix = (char *)0; local_prompt_len = local_prompt ? strlen (local_prompt) : 0; return (prompt_visible_length); @@ -459,14 +502,16 @@ rl_expand_prompt (prompt) { /* The prompt spans multiple lines. */ t = ++p; - local_prompt = expand_prompt (p, &prompt_visible_length, + local_prompt = expand_prompt (p, PMT_MULTILINE, + &prompt_visible_length, &prompt_last_invisible, &prompt_invis_chars_first_line, &prompt_physical_chars); c = *t; *t = '\0'; /* The portion of the prompt string up to and including the final newline is now null-terminated. */ - local_prompt_prefix = expand_prompt (prompt, &prompt_prefix_length, + local_prompt_prefix = expand_prompt (prompt, PMT_MULTILINE, + &prompt_prefix_length, (int *)NULL, (int *)NULL, (int *)NULL); @@ -539,6 +584,7 @@ rl_redisplay () int inv_botlin, lb_botlin, lb_linenum, o_cpos; int newlines, lpos, temp, n0, num, prompt_lines_estimate; char *prompt_this_line; + int mb_cur_max = MB_CUR_MAX; #if defined (HANDLE_MULTIBYTE) wchar_t wc; size_t wc_bytes; @@ -695,6 +741,8 @@ rl_redisplay () /* inv_lbreaks[i] is where line i starts in the buffer. */ inv_lbreaks[newlines = 0] = 0; + /* lpos is a physical cursor position, so it needs to be adjusted by the + number of invisible characters in the prompt, per line */ lpos = prompt_physical_chars + modmark; #if defined (HANDLE_MULTIBYTE) @@ -714,7 +762,17 @@ rl_redisplay () contents of the command line? */ while (lpos >= _rl_screenwidth) { - int z; + int z, p; + int nocorrect, wadjust; + + nocorrect = 0; + /* Adjust depending on the invisible characters in the line. We use a + heuristic based on experience: invisible characters nearly always + appear in the first and last lines of the prompt */ + wadjust = (newlines == 0) + ? prompt_invis_chars_first_line + : ((newlines == prompt_lines_estimate) ? wrap_offset : prompt_invis_chars_first_line); + /* fix from Darin Johnson for prompt string with invisible characters that is longer than the screen width. The prompt_invis_chars_first_line variable could be made into an array @@ -723,20 +781,31 @@ rl_redisplay () prompts that exceed two physical lines? Additional logic fix from Edward Catmur */ #if defined (HANDLE_MULTIBYTE) - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0 && prompt_multibyte_chars > 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0 && prompt_multibyte_chars > 0) { + nocorrect = 1; n0 = num; temp = local_prompt_len; while (num < temp) { - z = _rl_col_width (local_prompt, n0, num, 1); + /* This has to take invisible characters in the prompt into + account. */ + z = _rl_col_width (local_prompt, n0, num, 1) - wadjust; if (z > _rl_screenwidth) { num = _rl_find_prev_mbchar (local_prompt, num, MB_FIND_ANY); break; } else if (z == _rl_screenwidth) - break; + { + /* If we are in the middle or at the end of a multibyte + character, we want to move to the start, then find out + where it ends so we know where to insert the newline. + If this isn't a multibyte character, its the same as num++ */ + p = _rl_find_prev_mbchar (local_prompt, num, MB_FIND_ANY); + num = _rl_find_next_mbchar (local_prompt, p, 1, MB_FIND_ANY); + break; + } num++; } temp = num; @@ -748,16 +817,18 @@ rl_redisplay () /* Now account for invisible characters in the current line. */ /* XXX - this assumes that the invisible characters may be split, but only between the first and the last lines. */ - temp += (newlines == 0) ? prompt_invis_chars_first_line - : ((newlines == prompt_lines_estimate) ? wrap_offset : prompt_invis_chars_first_line); + if (nocorrect == 0) + temp += wadjust; inv_lbreaks[++newlines] = temp; #if defined (HANDLE_MULTIBYTE) - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0 && prompt_multibyte_chars > 0) - lpos -= _rl_col_width (local_prompt, n0, num, 1); + /* lpos is a physical cursor position, so it needs to take the invisible + characters into account. */ + if (mb_cur_max > 1 && rl_byte_oriented == 0 && prompt_multibyte_chars > 0) + lpos -= _rl_col_width (local_prompt, n0, num, 1) - wadjust; else #endif - lpos -= _rl_screenwidth; + lpos -= _rl_screenwidth; /* all physical cursor positions */ } prompt_last_screen_line = newlines; @@ -770,7 +841,7 @@ rl_redisplay () lb_linenum = 0; #if defined (HANDLE_MULTIBYTE) in = 0; - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { memset (&ps, 0, sizeof (mbstate_t)); /* XXX - what if wc_bytes ends up <= 0? check for MB_INVALIDCH */ @@ -786,7 +857,7 @@ rl_redisplay () c = (unsigned char)rl_line_buffer[in]; #if defined (HANDLE_MULTIBYTE) - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { if (MB_INVALIDCH (wc_bytes)) { @@ -895,7 +966,7 @@ rl_redisplay () else { #if defined (HANDLE_MULTIBYTE) - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { register int i; @@ -931,7 +1002,7 @@ rl_redisplay () } #if defined (HANDLE_MULTIBYTE) - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { in += wc_bytes; /* XXX - what if wc_bytes ends up <= 0? check for MB_INVALIDCH */ @@ -949,7 +1020,7 @@ rl_redisplay () lb_linenum = newlines; } - inv_botlin = lb_botlin = newlines; + inv_botlin = lb_botlin = _rl_inv_botlin = newlines; CHECK_INV_LBREAKS (); inv_lbreaks[newlines+1] = out; cursor_linenum = lb_linenum; @@ -979,9 +1050,11 @@ rl_redisplay () not the first. */ if (out >= _rl_screenchars) { - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) +#if defined (HANDLE_MULTIBYTE) + if (mb_cur_max > 1 && rl_byte_oriented == 0) out = _rl_find_prev_mbchar (line, _rl_screenchars, MB_FIND_ANY); else +#endif out = _rl_screenchars - 1; } @@ -1027,15 +1100,15 @@ rl_redisplay () time update_line is called, then we can assume in our calculations that o_cpos does not need to be adjusted by wrap_offset. */ - if (linenum == 0 && (MB_CUR_MAX > 1 && rl_byte_oriented == 0) && OLD_CPOS_IN_PROMPT()) + if (linenum == 0 && (mb_cur_max > 1 && rl_byte_oriented == 0) && OLD_CPOS_IN_PROMPT()) _rl_last_c_pos -= prompt_invis_chars_first_line; /* XXX - was wrap_offset */ else if (linenum == prompt_last_screen_line && prompt_physical_chars > _rl_screenwidth && - (MB_CUR_MAX > 1 && rl_byte_oriented == 0) && + (mb_cur_max > 1 && rl_byte_oriented == 0) && cpos_adjusted == 0 && _rl_last_c_pos != o_cpos && _rl_last_c_pos > (prompt_last_invisible - _rl_screenwidth - prompt_invis_chars_first_line)) _rl_last_c_pos -= (wrap_offset-prompt_invis_chars_first_line); - + /* If this is the line with the prompt, we might need to compensate for invisible characters in the new line. Do this only if there is not more than one new line (which @@ -1047,7 +1120,7 @@ rl_redisplay () (wrap_offset > visible_wrap_offset) && (_rl_last_c_pos < visible_first_line_len)) { - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) nleft = _rl_screenwidth - _rl_last_c_pos; else nleft = _rl_screenwidth + wrap_offset - _rl_last_c_pos; @@ -1099,7 +1172,7 @@ rl_redisplay () the physical cursor position on the screen stays the same, but the buffer position needs to be adjusted to account for invisible characters. */ - if ((MB_CUR_MAX == 1 || rl_byte_oriented) && cursor_linenum == 0 && wrap_offset) + if ((mb_cur_max == 1 || rl_byte_oriented) && cursor_linenum == 0 && wrap_offset) _rl_last_c_pos += wrap_offset; } @@ -1126,7 +1199,7 @@ rl_redisplay () _rl_output_some_chars ("*", 1); _rl_output_some_chars (local_prompt, nleft); - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) _rl_last_c_pos = _rl_col_width (local_prompt, 0, nleft, 1) - wrap_offset + modmark; else _rl_last_c_pos = nleft + modmark; @@ -1150,7 +1223,7 @@ rl_redisplay () if (wrap_offset && cursor_linenum == 0 && nleft < _rl_last_c_pos) { /* TX == new physical cursor position in multibyte locale. */ - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) tx = _rl_col_width (&visible_line[pos], 0, nleft, 1) - visible_wrap_offset; else tx = nleft; @@ -1165,7 +1238,7 @@ rl_redisplay () _rl_last_c_pos as an absolute cursor position, but moving to a point specified by a buffer position (NLEFT) that doesn't take invisible characters into account. */ - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) _rl_move_cursor_relative (nleft, &invisible_line[pos]); else if (nleft != _rl_last_c_pos) _rl_move_cursor_relative (nleft, &invisible_line[pos]); @@ -1246,7 +1319,7 @@ rl_redisplay () _rl_screenwidth + (lmargin ? 0 : wrap_offset), 0); - if ((MB_CUR_MAX > 1 && rl_byte_oriented == 0) && + if ((mb_cur_max > 1 && rl_byte_oriented == 0) && displaying_prompt_first_line && OLD_CPOS_IN_PROMPT()) _rl_last_c_pos -= prompt_invis_chars_first_line; /* XXX - was wrap_offset */ @@ -1318,6 +1391,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) int current_invis_chars; int col_lendiff, col_temp; int bytes_to_insert; + int mb_cur_max = MB_CUR_MAX; #if defined (HANDLE_MULTIBYTE) mbstate_t ps_new, ps_old; int new_offset, old_offset; @@ -1328,7 +1402,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) the exact cursor position and cut-and-paste with certain terminal emulators. In this calculation, TEMP is the physical screen position of the cursor. */ - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) temp = _rl_last_c_pos; else temp = _rl_last_c_pos - WRAP_OFFSET (_rl_last_v_pos, visible_wrap_offset); @@ -1336,7 +1410,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) && _rl_last_v_pos == current_line - 1) { #if defined (HANDLE_MULTIBYTE) - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { wchar_t wc; mbstate_t ps; @@ -1350,7 +1424,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) _rl_clear_to_eol (line_state_visible->wrapped_line[current_line]); memset (&ps, 0, sizeof (mbstate_t)); - ret = mbrtowc (&wc, new, MB_CUR_MAX, &ps); + ret = mbrtowc (&wc, new, mb_cur_max, &ps); if (MB_INVALIDCH (ret)) { tempwidth = 1; @@ -1370,7 +1444,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) _rl_last_c_pos = tempwidth; _rl_last_v_pos++; memset (&ps, 0, sizeof (mbstate_t)); - ret = mbrtowc (&wc, old, MB_CUR_MAX, &ps); + ret = mbrtowc (&wc, old, mb_cur_max, &ps); if (ret != 0 && bytes != 0) { if (MB_INVALIDCH (ret)) @@ -1409,7 +1483,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) /* Find first difference. */ #if defined (HANDLE_MULTIBYTE) - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { /* See if the old line is a subset of the new line, so that the only change is adding characters. */ @@ -1466,7 +1540,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) return; #if defined (HANDLE_MULTIBYTE) - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0 && _rl_utf8locale) + if (mb_cur_max > 1 && rl_byte_oriented == 0 && _rl_utf8locale) { wchar_t wc; mbstate_t ps = { 0 }; @@ -1475,7 +1549,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) /* If the first character in the difference is a zero-width character, assume it's a combining character and back one up so the two base characters no longer compare equivalently. */ - t = mbrtowc (&wc, ofd, MB_CUR_MAX, &ps); + t = mbrtowc (&wc, ofd, mb_cur_max, &ps); if (t > 0 && UNICODE_COMBINING_CHAR (wc) && WCWIDTH (wc) == 0) { old_offset = _rl_find_prev_mbchar (old, ofd - old, MB_FIND_ANY); @@ -1489,7 +1563,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) wsatend = 1; /* flag for trailing whitespace */ #if defined (HANDLE_MULTIBYTE) - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { ols = old + _rl_find_prev_mbchar (old, oe - old, MB_FIND_ANY); nls = new + _rl_find_prev_mbchar (new, ne - new, MB_FIND_ANY); @@ -1547,14 +1621,14 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) { if (*ols) /* don't step past the NUL */ { - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) ols = old + _rl_find_next_mbchar (old, ols - old, 1, MB_FIND_ANY); else ols++; } if (*nls) { - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) nls = new + _rl_find_next_mbchar (new, nls - new, 1, MB_FIND_ANY); else nls++; @@ -1566,7 +1640,12 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) if (_rl_last_v_pos != current_line) { _rl_move_vert (current_line); - if ((MB_CUR_MAX == 1 || rl_byte_oriented) && current_line == 0 && visible_wrap_offset) + /* We have moved up to a new screen line. This line may or may not have + invisible characters on it, but we do our best to recalculate + visible_wrap_offset based on what we know. */ + if (current_line == 0) + visible_wrap_offset = prompt_invis_chars_first_line; /* XXX */ + if ((mb_cur_max == 1 || rl_byte_oriented) && current_line == 0 && visible_wrap_offset) _rl_last_c_pos += visible_wrap_offset; } @@ -1577,16 +1656,31 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) string, then redraw the entire prompt string. We can only do this reliably if the terminal supports a `cr' capability. + This can also happen if the prompt string has changed, and the first + difference in the line is in the middle of the prompt string, after a + sequence of invisible characters (worst case) and before the end of + the prompt. In this case, we have to redraw the entire prompt string + so that the entire sequence of invisible characters is drawn. We need + to handle the worst case, when the difference is after (or in the middle + of) a sequence of invisible characters that changes the text color and + before the sequence that restores the text color to normal. Then we have + to make sure that the lines still differ -- if they don't, we can + return immediately. + This is not an efficiency hack -- there is a problem with redrawing portions of the prompt string if they contain terminal escape sequences (like drawing the `unbold' sequence without a corresponding `bold') that manifests itself on certain terminals. */ lendiff = local_prompt_len; + if (lendiff > nmax) + lendiff = nmax; od = ofd - old; /* index of first difference in visible line */ + nd = nfd - new; /* nd, od are buffer indexes */ if (current_line == 0 && !_rl_horizontal_scroll_mode && _rl_term_cr && lendiff > prompt_visible_length && _rl_last_c_pos > 0 && - od >= lendiff && _rl_last_c_pos < PROMPT_ENDING_INDEX) + (((od > 0 || nd > 0) && (od <= prompt_last_invisible || nd <= prompt_last_invisible)) || + ((od >= lendiff) && _rl_last_c_pos < PROMPT_ENDING_INDEX))) { #if defined (__MSDOS__) putc ('\r', rl_outstream); @@ -1596,7 +1690,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) if (modmark) _rl_output_some_chars ("*", 1); _rl_output_some_chars (local_prompt, lendiff); - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { /* We take wrap_offset into account here so we can pass correct information to _rl_move_cursor_relative. */ @@ -1605,6 +1699,43 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) } else _rl_last_c_pos = lendiff + modmark; + + /* Now if we have printed the prompt string because the first difference + was within the prompt, see if we need to recompute where the lines + differ. Check whether where we are now is past the last place where + the old and new lines are the same and short-circuit now if we are. */ + if ((od <= prompt_last_invisible || nd <= prompt_last_invisible) && + omax == nmax && + lendiff > (ols-old) && lendiff > (nls-new)) + return; + + /* XXX - we need to fix up our calculations if we are now past the + old ofd/nfd and the prompt length (or line length) has changed. + We punt on the problem and do a dumb update. We'd like to be able + to just output the prompt from the beginning of the line up to the + first difference, but you don't know the number of invisible + characters in that case. + This needs a lot of work to be efficient. */ + if ((od <= prompt_last_invisible || nd <= prompt_last_invisible)) + { + nfd = new + lendiff; /* number of characters we output above */ + nd = lendiff; + + /* Do a dumb update and return */ + temp = ne - nfd; + if (temp > 0) + { + _rl_output_some_chars (nfd, temp); + if (mb_cur_max > 1 && rl_byte_oriented == 0) + _rl_last_c_pos += _rl_col_width (new, nd, ne - new, 1); + else + _rl_last_c_pos += temp; + } + if (nmax < omax) + goto clear_rest_of_line; /* XXX */ + else + return; + } } o_cpos = _rl_last_c_pos; @@ -1618,7 +1749,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) /* We need to indicate that the cursor position is correct in the presence of invisible characters in the prompt string. Let's see if setting this when we make sure we're at the end of the drawn prompt string works. */ - if (current_line == 0 && MB_CUR_MAX > 1 && rl_byte_oriented == 0 && + if (current_line == 0 && mb_cur_max > 1 && rl_byte_oriented == 0 && (_rl_last_c_pos > 0 || o_cpos > 0) && _rl_last_c_pos == prompt_physical_chars) cpos_adjusted = 1; @@ -1629,7 +1760,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) col_lendiff == difference on screen (columns) When not using multibyte characters, these are equal */ lendiff = (nls - nfd) - (ols - ofd); - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) col_lendiff = _rl_col_width (new, nfd - new, nls - new, 1) - _rl_col_width (old, ofd - old, ols - old, 1); else col_lendiff = lendiff; @@ -1640,7 +1771,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) if (current_line == 0 && /* !_rl_horizontal_scroll_mode && */ current_invis_chars != visible_wrap_offset) { - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { lendiff += visible_wrap_offset - current_invis_chars; col_lendiff += visible_wrap_offset - current_invis_chars; @@ -1658,7 +1789,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) and writes TEMP bytes. */ /* Insert (diff (len (old), len (new)) ch. */ temp = ne - nfd; - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) col_temp = _rl_col_width (new, nfd - new, ne - new, 1); else col_temp = temp; @@ -1709,7 +1840,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) _rl_last_c_pos == 0 && lendiff > prompt_visible_length && current_invis_chars > 0) == 0) && - (((MB_CUR_MAX > 1 && rl_byte_oriented == 0) && + (((mb_cur_max > 1 && rl_byte_oriented == 0) && current_line == 0 && wrap_offset && ((nfd - new) <= prompt_last_invisible) && (col_lendiff < prompt_visible_length)) == 0) && @@ -1717,12 +1848,12 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) { open_some_spaces (col_lendiff); _rl_output_some_chars (nfd, bytes_to_insert); - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) _rl_last_c_pos += _rl_col_width (nfd, 0, bytes_to_insert, 1); else _rl_last_c_pos += bytes_to_insert; } - else if ((MB_CUR_MAX == 1 || rl_byte_oriented != 0) && *ols == 0 && lendiff > 0) + else if ((mb_cur_max == 1 || rl_byte_oriented != 0) && *ols == 0 && lendiff > 0) { /* At the end of a line the characters do not have to be "inserted". They can just be placed on the screen. */ @@ -1737,7 +1868,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) /* If nfd begins before the last invisible character in the prompt, adjust _rl_last_c_pos to account for wrap_offset and set cpos_adjusted to let the caller know. */ - if ((MB_CUR_MAX > 1 && rl_byte_oriented == 0) && current_line == 0 && displaying_prompt_first_line && wrap_offset && ((nfd - new) <= prompt_last_invisible)) + if ((mb_cur_max > 1 && rl_byte_oriented == 0) && current_line == 0 && displaying_prompt_first_line && wrap_offset && ((nfd - new) <= prompt_last_invisible)) { _rl_last_c_pos -= wrap_offset; cpos_adjusted = 1; @@ -1750,7 +1881,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) /* If nfd begins before the last invisible character in the prompt, adjust _rl_last_c_pos to account for wrap_offset and set cpos_adjusted to let the caller know. */ - if ((MB_CUR_MAX > 1 && rl_byte_oriented == 0) && current_line == 0 && displaying_prompt_first_line && wrap_offset && ((nfd - new) <= prompt_last_invisible)) + if ((mb_cur_max > 1 && rl_byte_oriented == 0) && current_line == 0 && displaying_prompt_first_line && wrap_offset && ((nfd - new) <= prompt_last_invisible)) { _rl_last_c_pos -= wrap_offset; cpos_adjusted = 1; @@ -1766,11 +1897,15 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) char in the current line (which implies we just output some invisible characters) we need to adjust _rl_last_c_pos, since it represents a physical character position. */ - if ((MB_CUR_MAX > 1 && rl_byte_oriented == 0) && + /* The current_line*rl_screenwidth+prompt_invis_chars_first_line is a + crude attempt to compute how far into the new line buffer we are. + It doesn't work well in the face of multibyte characters and needs + to be rethought. XXX */ + if ((mb_cur_max > 1 && rl_byte_oriented == 0) && current_line == prompt_last_screen_line && wrap_offset && displaying_prompt_first_line && wrap_offset != prompt_invis_chars_first_line && - ((nfd-new) < (prompt_last_invisible-(current_line*_rl_screenwidth)))) + ((nfd-new) < (prompt_last_invisible-(current_line*_rl_screenwidth+prompt_invis_chars_first_line)))) { _rl_last_c_pos -= wrap_offset - prompt_invis_chars_first_line; cpos_adjusted = 1; @@ -1810,7 +1945,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) in a multibyte locale to account for the wrap offset and set cpos_adjusted accordingly. */ _rl_output_some_chars (nfd, bytes_to_insert); - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { _rl_last_c_pos += _rl_col_width (nfd, 0, bytes_to_insert, 1); if (current_line == 0 && wrap_offset && @@ -1845,7 +1980,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) set cpos_adjusted accordingly. */ _rl_output_some_chars (nfd, temp); _rl_last_c_pos += col_temp; /* XXX */ - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { if (current_line == 0 && wrap_offset && displaying_prompt_first_line && @@ -1859,7 +1994,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) } clear_rest_of_line: lendiff = (oe - old) - (ne - new); - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) col_lendiff = _rl_col_width (old, 0, oe - old, 1) - _rl_col_width (new, 0, ne - new, 1); else col_lendiff = lendiff; @@ -1869,7 +2004,7 @@ clear_rest_of_line: space_to_eol will insert too many spaces. XXX - maybe we should adjust col_lendiff based on the difference between _rl_last_c_pos and _rl_screenwidth */ - if (col_lendiff && ((MB_CUR_MAX == 1 || rl_byte_oriented) || (_rl_last_c_pos < _rl_screenwidth))) + if (col_lendiff && ((mb_cur_max == 1 || rl_byte_oriented) || (_rl_last_c_pos < _rl_screenwidth))) { if (_rl_term_autowrap && current_line < inv_botlin) space_to_eol (col_lendiff); @@ -1895,6 +2030,34 @@ rl_on_new_line () return 0; } +/* Clear all screen lines occupied by the current readline line buffer + (visible line) */ +int +rl_clear_visible_line () +{ + int curr_line; + + /* Make sure we move to column 0 so we clear the entire line */ +#if defined (__MSDOS__) + putc ('\r', rl_outstream); +#else + tputs (_rl_term_cr, 1, _rl_output_character_function); +#endif + _rl_last_c_pos = 0; + + /* Move to the last screen line of the current visible line */ + _rl_move_vert (_rl_vis_botlin); + + /* And erase screen lines going up to line 0 (first visible line) */ + for (curr_line = _rl_last_v_pos; curr_line >= 0; curr_line--) + { + _rl_move_vert (curr_line); + _rl_clear_to_eol (0); + } + + return 0; +} + /* Tell the update routines that we have moved onto a new line with the prompt already displayed. Code originally from the version of readline distributed with CLISP. rl_expand_prompt must have already been called @@ -1972,11 +2135,25 @@ rl_forced_update_display () return 0; } +/* Redraw only the last line of a multi-line prompt. */ +void +rl_redraw_prompt_last_line () +{ + char *t; + + t = strrchr (rl_display_prompt, '\n'); + if (t) + redraw_prompt (++t); + else + rl_forced_update_display (); +} + /* Move the cursor from _rl_last_c_pos to NEW, which are buffer indices. (Well, when we don't have multibyte characters, _rl_last_c_pos is a buffer index.) DATA is the contents of the screen line of interest; i.e., where - the movement is being done. */ + the movement is being done. + DATA is always the visible line or the invisible line */ void _rl_move_cursor_relative (new, data) int new; @@ -1986,6 +2163,8 @@ _rl_move_cursor_relative (new, data) int woff; /* number of invisible chars on current line */ int cpos, dpos; /* current and desired cursor positions */ int adjust; + int in_invisline; + int mb_cur_max = MB_CUR_MAX; woff = WRAP_OFFSET (_rl_last_v_pos, wrap_offset); cpos = _rl_last_c_pos; @@ -1999,7 +2178,7 @@ _rl_move_cursor_relative (new, data) this case, NEW's display position is not obvious and must be calculated. We need to account for invisible characters in this line, as long as we are past them and they are counted by _rl_col_width. */ - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { adjust = 1; /* Try to short-circuit common cases and eliminate a bunch of multibyte @@ -2024,14 +2203,28 @@ _rl_move_cursor_relative (new, data) if (displaying_prompt_first_line == 0) adjust = 0; + /* yet another special case: printing the last line of a prompt with + multibyte characters and invisible characters whose printable length + exceeds the screen width with the last invisible character + (prompt_last_invisible) in the last line. IN_INVISLINE is the + offset of DATA in invisible_line */ + in_invisline = 0; + if (data > invisible_line && data < invisible_line+inv_lbreaks[_rl_inv_botlin+1]) + in_invisline = data - invisible_line; + /* Use NEW when comparing against the last invisible character in the prompt string, since they're both buffer indices and DPOS is a desired display position. */ + /* NEW is relative to the current displayed line, while + PROMPT_LAST_INVISIBLE is relative to the entire (wrapped) line. + Need a way to reconcile these two variables by turning NEW into a + buffer position relative to the start of the line */ if (adjust && ((new > prompt_last_invisible) || /* XXX - don't use woff here */ - (prompt_physical_chars >= _rl_screenwidth && + (new+in_invisline > prompt_last_invisible) || /* invisible line */ + (prompt_physical_chars >= _rl_screenwidth && /* visible line */ _rl_last_v_pos == prompt_last_screen_line && wrap_offset >= woff && dpos >= woff && - new > (prompt_last_invisible-(_rl_screenwidth*_rl_last_v_pos)-wrap_offset)))) + new > (prompt_last_invisible-(vis_lbreaks[_rl_last_v_pos])-wrap_offset)))) /* XXX last comparison might need to be >= */ { dpos -= woff; @@ -2053,7 +2246,7 @@ _rl_move_cursor_relative (new, data) of moving backwards. */ /* i == current physical cursor position. */ #if defined (HANDLE_MULTIBYTE) - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) i = _rl_last_c_pos; else #endif @@ -2088,7 +2281,7 @@ _rl_move_cursor_relative (new, data) in the buffer and we have to go back to the beginning of the screen line. In this case, we can use the terminal sequence to move forward if it's available. */ - if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) + if (mb_cur_max > 1 && rl_byte_oriented == 0) { if (_rl_term_forward_char) { @@ -2246,7 +2439,7 @@ rl_message (va_alist) msg_buf = xmalloc (msg_bufsiz = 128); #if defined (HAVE_VSNPRINTF) - bneed = vsnprintf (msg_buf, msg_bufsiz - 1, format, args); + bneed = vsnprintf (msg_buf, msg_bufsiz, format, args); if (bneed >= msg_bufsiz - 1) { msg_bufsiz = bneed + 1; @@ -2279,10 +2472,10 @@ rl_message (va_alist) local_prompt = (char *)NULL; } rl_display_prompt = msg_buf; - local_prompt = expand_prompt (msg_buf, &prompt_visible_length, - &prompt_last_invisible, - &prompt_invis_chars_first_line, - &prompt_physical_chars); + local_prompt = expand_prompt (msg_buf, 0, &prompt_visible_length, + &prompt_last_invisible, + &prompt_invis_chars_first_line, + &prompt_physical_chars); local_prompt_prefix = (char *)NULL; local_prompt_len = local_prompt ? strlen (local_prompt) : 0; (*rl_redisplay_function) (); @@ -2312,10 +2505,10 @@ rl_message (format, arg1, arg2) FREE (local_prompt_prefix); local_prompt = (char *)NULL; } - local_prompt = expand_prompt (msg_buf, &prompt_visible_length, - &prompt_last_invisible, - &prompt_invis_chars_first_line, - &prompt_physical_chars); + local_prompt = expand_prompt (msg_buf, 0, &prompt_visible_length, + &prompt_last_invisible, + &prompt_invis_chars_first_line, + &prompt_physical_chars); local_prompt_prefix = (char *)NULL; local_prompt_len = local_prompt ? strlen (local_prompt) : 0; (*rl_redisplay_function) (); @@ -2502,7 +2695,7 @@ static void open_some_spaces (col) int col; { -#if !defined (__MSDOS__) && !defined (__MINGW32__) +#if !defined (__MSDOS__) && (!defined (__MINGW32__) || defined (NCURSES_VERSION)) char *buffer; register int i; @@ -2531,7 +2724,7 @@ open_some_spaces (col) for (i = col; i--; ) tputs (_rl_term_ic, 1, _rl_output_character_function); } -#endif /* !__MSDOS__ && !__MINGW32__ */ +#endif /* !__MSDOS__ && (!__MINGW32__ || NCURSES_VERSION)*/ } /* Delete COUNT characters from the display line. */ @@ -2542,7 +2735,7 @@ delete_chars (count) if (count > _rl_screenwidth) /* XXX */ return; -#if !defined (__MSDOS__) && !defined (__MINGW32__) +#if !defined (__MSDOS__) && (!defined (__MINGW32__) || defined (NCURSES_VERSION)) if (_rl_term_DC && *_rl_term_DC) { char *buffer; @@ -2555,7 +2748,7 @@ delete_chars (count) while (count--) tputs (_rl_term_dc, 1, _rl_output_character_function); } -#endif /* !__MSDOS__ && !__MINGW32__ */ +#endif /* !__MSDOS__ && (!__MINGW32__ || NCURSES_VERSION)*/ } void @@ -2618,7 +2811,8 @@ redraw_prompt (t) rl_save_prompt (); rl_display_prompt = t; - local_prompt = expand_prompt (t, &prompt_visible_length, + local_prompt = expand_prompt (t, PMT_MULTILINE, + &prompt_visible_length, &prompt_last_invisible, &prompt_invis_chars_first_line, &prompt_physical_chars); @@ -2699,6 +2893,12 @@ _rl_erase_entire_line () fflush (rl_outstream); } +void +_rl_ttyflush () +{ + fflush (rl_outstream); +} + /* return the `current display line' of the cursor -- the number of lines to move up to get to the first screen line of the current readline line. */ int diff --git a/lib/readline/doc/history.texi b/lib/readline/doc/history.texi index a991fe5ba..98e223327 100644 --- a/lib/readline/doc/history.texi +++ b/lib/readline/doc/history.texi @@ -12,7 +12,7 @@ This document describes the GNU History library a programming tool that provides a consistent user interface for recalling lines of previously typed input. -Copyright @copyright{} 1988--2014 Free Software Foundation, Inc. +Copyright @copyright{} 1988--2016 Free Software Foundation, Inc. @quotation Permission is granted to copy, distribute and/or modify this document diff --git a/lib/readline/doc/hstech.texi b/lib/readline/doc/hstech.texi index 6487f20b6..bba7b590e 100644 --- a/lib/readline/doc/hstech.texi +++ b/lib/readline/doc/hstech.texi @@ -1,7 +1,7 @@ @ignore This file documents the user interface to the GNU History library. -Copyright (C) 1988-2014 Free Software Foundation, Inc. +Copyright (C) 1988-2016 Free Software Foundation, Inc. Authored by Brian Fox and Chet Ramey. Permission is granted to make and distribute verbatim copies of this manual @@ -242,6 +242,7 @@ is greater than the history length, return a @code{NULL} pointer. @deftypefun time_t history_get_time (HIST_ENTRY *entry) Return the time stamp associated with the history entry @var{entry}. +If the timestamp is missing or invalid, return 0. @end deftypefun @deftypefun int history_total_bytes (void) @@ -270,9 +271,11 @@ a @code{NULL} pointer. @end deftypefun @deftypefun {HIST_ENTRY *} next_history (void) -Move the current history offset forward to the next history entry, and -return the a pointer to that entry. If there is no next entry, return -a @code{NULL} pointer. +If the current history offset refers to a valid history entry, +increment the current history offset. +If the possibly-incremented history offset refers to a valid history +entry, return a pointer to that entry; +otherwise, return a @code{BNULL} pointer. @end deftypefun @node Searching the History List @@ -467,8 +470,8 @@ carriage return, and @samp{=}. @end deftypevar @deftypevar int history_quotes_inhibit_expansion -If non-zero, single-quoted words are not scanned for the history expansion -character. The default value is 0. +If non-zero, double-quoted words are not scanned for the history expansion +character or the history comment character. The default value is 0. @end deftypevar @deftypevar {rl_linebuf_func_t *} history_inhibit_expansion_function diff --git a/lib/readline/doc/hsuser.texi b/lib/readline/doc/hsuser.texi index 69a501634..04e192eb9 100644 --- a/lib/readline/doc/hsuser.texi +++ b/lib/readline/doc/hsuser.texi @@ -1,7 +1,7 @@ @ignore This file documents the user interface to the GNU History library. -Copyright (C) 1988--2014 Free Software Foundation, Inc. +Copyright (C) 1988--2016 Free Software Foundation, Inc. Authored by Brian Fox and Chet Ramey. Permission is granted to make and distribute verbatim copies of this manual @@ -102,7 +102,7 @@ associated with each history entry is written to the history file, marked with the history comment character. When the history file is read, lines beginning with the history comment character followed immediately by a digit are interpreted -as timestamps for the previous history line. +as timestamps for the following history entry. The builtin command @code{fc} may be used to list or edit and re-execute a portion of the history list. @@ -202,9 +202,9 @@ Delete the history entry at position @var{offset}. displayed. @item -a -Append the new -history lines (history lines entered since the beginning of the -current Bash session) to the history file. +Append the new history lines to the history file. +These are history lines entered since the beginning of the current +Bash session, but not already appended to the history file. @item -n Append the history lines not already read from the history file @@ -249,6 +249,11 @@ the input stream, making it easy to repeat commands, insert the arguments to a previous command into the current input line, or fix errors in previous commands quickly. +@ifset BashFeatures +History expansion is performed immediately after a complete line +is read, before the shell breaks it into words. +@end ifset + History expansion takes place in two parts. The first is to determine which line from the history list should be used during substitution. The second is to select portions of that line for inclusion into the @@ -262,7 +267,9 @@ History expansions are introduced by the appearance of the history expansion character, which is @samp{!} by default. @ifset BashFeatures Only @samp{\} and @samp{'} may be used to escape the history expansion -character. +character, but the history expansion character is +also treated as quoted if it immediately precedes the closing double quote +in a double-quoted string. @end ifset @ifset BashFeatures diff --git a/lib/readline/doc/rlman.texi b/lib/readline/doc/rlman.texi index 17a8292b6..737f971dd 100644 --- a/lib/readline/doc/rlman.texi +++ b/lib/readline/doc/rlman.texi @@ -13,7 +13,7 @@ This manual describes the GNU Readline Library consistency of user interface across discrete programs which provide a command line interface. -Copyright @copyright{} 1988--2014 Free Software Foundation, Inc. +Copyright @copyright{} 1988--2016 Free Software Foundation, Inc. @quotation Permission is granted to copy, distribute and/or modify this document diff --git a/lib/readline/doc/rltech.texi b/lib/readline/doc/rltech.texi index 40de49c4d..b8ce90f95 100644 --- a/lib/readline/doc/rltech.texi +++ b/lib/readline/doc/rltech.texi @@ -7,7 +7,7 @@ This document describes the GNU Readline Library, a utility for aiding in the consistency of user interface across discrete programs that need to provide a command line interface. -Copyright (C) 1988--2014 Free Software Foundation, Inc. +Copyright (C) 1988--2016 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -282,7 +282,7 @@ At the very least, it should be aware that it can be passed a negative argument. A command function should return 0 if its action completes successfully, -and a non-zero value if some error occurs. +and a value greater than zero if some error occurs. This is the convention obeyed by all of the builtin Readline bindable command functions. @@ -963,6 +963,10 @@ redisplay. It should be used after setting @var{rl_already_prompted}. @end deftypefun +@deftypefun int rl_clear_visible_line (void) +Clear the screen lines corresponding to the current line's contents. +@end deftypefun + @deftypefun int rl_reset_line_state (void) Reset the display state to a clean state and redisplay the current line starting on a new line. @@ -1020,7 +1024,7 @@ It returns the number of visible characters on the last line of the Applications may indicate that the prompt contains characters that take up no physical screen space when displayed by bracketing a sequence of such characters with the special markers @code{RL_PROMPT_START_IGNORE} -and @code{RL_PROMPT_END_IGNORE} (declared in @file{readline.h}. This may +and @code{RL_PROMPT_END_IGNORE} (declared in @file{readline.h}). This may be used to embed terminal-specific escape sequences in prompts. @end deftypefun @@ -1136,6 +1140,14 @@ that the terminal editing characters are bound to @code{rl_insert}. The bindings are performed in @var{kmap}. @end deftypefun +@deftypefun int rl_tty_set_echoing (int value) +Set Readline's idea of whether or not it is echoing output to its output +stream (@var{rl_outstream}). If @var{value} is 0, Readline does not display +output to @var{rl_outstream}; any other value enables output. The initial +value is set when Readline initializes the terminal settings. +This function returns the previous value. +@end deftypefun + @deftypefun int rl_reset_terminal (const char *terminal_name) Reinitialize Readline's idea of the terminal settings using @var{terminal_name} as the terminal type (e.g., @code{vt100}). @@ -1307,6 +1319,8 @@ expanded value of @var{prompt}. Save the value of @var{lhandler} to use as a handler function to call when a complete line of input has been entered. The handler function receives the text of the line as an argument. +As with @code{readline()}, the handler function should @code{free} the +line when it it finished with it. @end deftypefun @deftypefun void rl_callback_read_char (void) @@ -1326,9 +1340,17 @@ the terminal settings are modified for Readline's use again. @code{NULL} line. @end deftypefun +@deftypefun void rl_callback_sigcleanup (void) +Clean up any internal state the callback interface uses to maintain state +between calls to rl_callback_read_char (e.g., the state of any active +incremental searches). This is intended to be used by applications that +wish to perform their own signal handling; Readline's internal signal handler +calls this when appropriate. +@end deftypefun + @deftypefun void rl_callback_handler_remove (void) Restore the terminal to its initial state and remove the line handler. -This may be called from within a callback as well as independently. +You may call this function from within a callback as well as independently. If the @var{lhandler} installed by @code{rl_callback_handler_install} does not exit the program, either this function or the function referred to by the value of @code{rl_deprep_term_function} should be called before @@ -1413,12 +1435,16 @@ It understands the EOF character or "exit" to exit the program. @example /* Standard include files. stdio.h is required. */ #include +#include #include +#include /* Used for select(2) */ #include #include +#include + #include /* Standard readline include files. */ @@ -1426,10 +1452,20 @@ It understands the EOF character or "exit" to exit the program. #include static void cb_linehandler (char *); +static void sighandler (int); int running; +int sigwinch_received; const char *prompt = "rltest$ "; +/* Handle SIGWINCH and window size changes when readline is not active and + reading a character. */ +static void +sighandler (int sig) +@{ + sigwinch_received = 1; +@} + /* Callback function called for each line when accept-line executed, EOF seen, or EOF character read. This sets a flag and returns; it could also call exit(3). */ @@ -1464,6 +1500,13 @@ main (int c, char **v) fd_set fds; int r; + /* Set the default locale values according to environment variables. */ + setlocale (LC_ALL, ""); + + /* Handle window size changes when readline is not active and reading + characters. */ + signal (SIGWINCH, sighandler); + /* Install the line handler. */ rl_callback_handler_install (prompt, cb_linehandler); @@ -1478,12 +1521,19 @@ main (int c, char **v) FD_SET (fileno (rl_instream), &fds); r = select (FD_SETSIZE, &fds, NULL, NULL, NULL); - if (r < 0) + if (r < 0 && errno != EINTR) @{ perror ("rltest: select"); rl_callback_handler_remove (); break; @} + if (sigwinch_received) + @{ + rl_resize_terminal (); + sigwinch_received = 0; + @} + if (r < 0) + continue; if (FD_ISSET (fileno (rl_instream), &fds)) rl_callback_read_char (); @@ -1532,7 +1582,30 @@ resetting the terminal to its original state. If the application's signal handler does more than update its idea of the terminal size and return (for example, a @code{longjmp} back to a main processing loop), it @emph{must} call @code{rl_cleanup_after_signal()} (described below), to restore the -terminal state. +terminal state. + +When an application is using the callback interface +(@pxref{Alternate Interface}), Readline installs signal handlers only for +the duration of the call to @code{rl_callback_read_char}. Applications +using the callback interface should be prepared to clean up Readline's +state if they wish to handle the signal before the line handler completes +and restores the terminal state. + +If an application using the callback interface wishes to have Readline +install its signal handlers at the time the application calls +@code{rl_callback_handler_install} and remove them only when a complete +line of input has been read, it should set the +@code{rl_persistent_signal_handlers} variable to a non-zero value. +This allows an application to defer all of the handling of the signals +Readline catches to Readline. +Applications should use this variable with care; it can result in Readline +catching signals and not acting on them (or allowing the application to react +to them) until the application calls @code{rl_callback_read_char}. This +can result in an application becoming less responsive to keyboard signals +like SIGINT. +If an application does not want or need to perform any signal handling, or +does not need to do any processing between calls to @code{rl_callback_read_char}, +setting this variable may be desirable. Readline provides two variables that allow application writers to control whether or not it will catch certain signals and act on them @@ -1555,6 +1628,15 @@ Readline will install a signal handler for @code{SIGWINCH}. The default value of @code{rl_catch_sigwinch} is 1. @end deftypevar +@deftypevar int rl_persistent_signal_handlers +If an application using the callback interface wishes Readline's signal +handlers to be installed and active during the set of calls to +@code{rl_callback_read_char} that constitutes an entire single line, +it should set this variable to a non-zero value. + +The default value of @code{rl_persistent_signal_handlers} is 0. +@end deftypevar + @deftypevar int rl_change_environment If this variable is set to a non-zero value, and Readline is handling @code{SIGWINCH}, Readline will modify the @@ -1570,6 +1652,11 @@ for example), Readline provides convenience functions to do the necessary terminal and internal state cleanup upon receipt of a signal. +@deftypefun int rl_pending_signal (void) +Return the signal number of the most recent signal Readline received but +has not yet handled, or 0 if there is no pending signal. +@end deftypefun + @deftypefun void rl_cleanup_after_signal (void) This function will reset the state of the terminal to what it was before @code{readline()} was called, and remove the Readline signal handlers for @@ -1942,8 +2029,8 @@ where @var{matches} is the array of matching strings, @var{num_matches} is the number of strings in that array, and @var{max_length} is the length of the longest string in that array. Readline provides a convenience function, @code{rl_display_match_list}, -that takes care of doing the display to Readline's output stream. That -function may be called from this hook. +that takes care of doing the display to Readline's output stream. +You may call that function from this hook. @end deftypevar @deftypevar {const char *} rl_basic_word_break_characters diff --git a/lib/readline/doc/rluser.texi b/lib/readline/doc/rluser.texi index 0af6c02e1..4c094c88c 100644 --- a/lib/readline/doc/rluser.texi +++ b/lib/readline/doc/rluser.texi @@ -9,7 +9,7 @@ use these features. There is a document entitled "readline.texinfo" which contains both end-user and programmer documentation for the GNU Readline Library. -Copyright (C) 1988--2014 Free Software Foundation, Inc. +Copyright (C) 1988--2016 Free Software Foundation, Inc. Authored by Brian Fox and Chet Ramey. @@ -423,9 +423,23 @@ the terminal's bell. @item bind-tty-special-chars @vindex bind-tty-special-chars -If set to @samp{on}, Readline attempts to bind the control characters -treated specially by the kernel's terminal driver to their Readline -equivalents. +If set to @samp{on} (the default), Readline attempts to bind the control +characters treated specially by the kernel's terminal driver to their +Readline equivalents. + +@item blink-matching-paren +@vindex blink-matching-paren +If set to @samp{on}, Readline attempts to briefly move the cursor to an +opening parenthesis when a closing parenthesis is inserted. The default +is @samp{off}. + +@item colored-completion-prefix +@vindex colored-completion-prefix +If set to @samp{on}, when listing completions, Readline displays the +common prefix of the set of possible completions using a different color. +The color definitions are taken from the value of the @env{LS_COLORS} +environment variable. +The default is @samp{off}. @item colored-stats @vindex colored-stats @@ -485,7 +499,9 @@ The default limit is @code{100}. If set to @samp{on}, Readline will convert characters with the eighth bit set to an @sc{ascii} key sequence by stripping the eighth bit and prefixing an @key{ESC} character, converting them to a -meta-prefixed key sequence. The default value is @samp{on}. +meta-prefixed key sequence. The default value is @samp{on}, but +will be set to @samp{off} if the locale is one that contains +eight-bit characters. @item disable-completion @vindex disable-completion @@ -493,6 +509,12 @@ If set to @samp{On}, Readline will inhibit word completion. Completion characters will be inserted into the line as if they had been mapped to @code{self-insert}. The default is @samp{off}. +@item echo-control-characters +@vindex echo-control-characters +When set to @samp{on}, on operating systems that indicate they support it, +readline echoes a character corresponding to a signal generated from the +keyboard. The default is @samp{on}. + @item editing-mode @vindex editing-mode The @code{editing-mode} variable controls which default set of @@ -500,10 +522,24 @@ key bindings is used. By default, Readline starts up in Emacs editing mode, where the keystrokes are most similar to Emacs. This variable can be set to either @samp{emacs} or @samp{vi}. -@item echo-control-characters -When set to @samp{on}, on operating systems that indicate they support it, -readline echoes a character corresponding to a signal generated from the -keyboard. The default is @samp{on}. +@item emacs-mode-string +@vindex emacs-mode-string +This string is displayed immediately before the last line of the primary +prompt when emacs editing mode is active. The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the @samp{\1} and @samp{\2} escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string. +The default is @samp{@@}. + +@item enable-bracketed-paste +@vindex enable-bracketed-paste +When set to @samp{On}, Readline will configure the terminal in a way +that will enable it to insert each paste into the editing buffer as a +single string of characters, instead of treating each character as if +it had been read from the keyboard. This can prevent pasted characters +from being interpreted as editing commands. The default is @samp{off}. @item enable-keypad @vindex enable-keypad @@ -537,6 +573,8 @@ are saved. If set to a value less than zero, the number of history entries is not limited. By default, the number of history entries is not limited. +If an attempt is made to set @var{history-size} to a non-numeric value, +the maximum number of history entries will be set to 500. @item horizontal-scroll-mode @vindex horizontal-scroll-mode @@ -552,8 +590,9 @@ this variable is set to @samp{off}. If set to @samp{on}, Readline will enable eight-bit input (it will not clear the eighth bit in the characters it reads), regardless of what the terminal claims it can support. The -default value is @samp{off}. The name @code{meta-flag} is a -synonym for this variable. +default value is @samp{off}, but Readline will set it to @samp{on} if the +locale contains eight-bit characters. +The name @code{meta-flag} is a synonym for this variable. @item isearch-terminators @vindex isearch-terminators @@ -574,8 +613,9 @@ Acceptable @code{keymap} names are @code{vi-move}, @code{vi-command}, and @code{vi-insert}. -@code{vi} is equivalent to @code{vi-command}; @code{emacs} is -equivalent to @code{emacs-standard}. The default value is @code{emacs}. +@code{vi} is equivalent to @code{vi-command} (@code{vi-move} is also a +synonym); @code{emacs} is equivalent to @code{emacs-standard}. +The default value is @code{emacs}. The value of the @code{editing-mode} variable also affects the default keymap. @@ -631,7 +671,9 @@ the list. The default is @samp{off}. @vindex output-meta If set to @samp{on}, Readline will display characters with the eighth bit set directly rather than as a meta-prefixed escape -sequence. The default is @samp{off}. +sequence. +The default is @samp{off}, but Readline will set it to @samp{on} if the +locale contains eight-bit characters. @item page-completions @vindex page-completions @@ -673,8 +715,8 @@ The default value is @samp{off}. @item show-mode-in-prompt @vindex show-mode-in-prompt If set to @samp{on}, add a character to the beginning of the prompt -indicating the editing mode: emacs (@samp{@@}), vi command (@samp{:}), -or vi insertion (@samp{+}). +indicating the editing mode: emacs, vi command, or vi insertion. +The mode strings are user-settable. The default value is @samp{off}. @item skip-completed-text @@ -691,6 +733,30 @@ rather than @samp{Makefilefile}, assuming there is a single possible completion. The default value is @samp{off}. +@item vi-cmd-mode-string +@vindex vi-cmd-mode-string +This string is displayed immediately before the last line of the primary +prompt when vi editing mode is active and in command mode. +The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the @samp{\1} and @samp{\2} escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string. +The default is @samp{(cmd)}. + +@item vi-ins-mode-string +@vindex vi-ins-mode-string +This string is displayed immediately before the last line of the primary +prompt when vi editing mode is active and in insertion mode. +The value is expanded like a +key binding, so the standard set of meta- and control prefixes and +backslash escape sequences is available. +Use the @samp{\1} and @samp{\2} escapes to begin and end sequences of +non-printing characters, which can be used to embed a terminal control +sequence into the mode string. +The default is @samp{(ins)}. + @item visible-stats @vindex visible-stats If set to @samp{on}, a character denoting a file's type @@ -1122,17 +1188,19 @@ the history as necessary. This is an incremental search. @item forward-search-history (C-s) Search forward starting at the current line and moving `down' through -the the history as necessary. This is an incremental search. +the history as necessary. This is an incremental search. @item non-incremental-reverse-search-history (M-p) Search backward starting at the current line and moving `up' through the history as necessary using a non-incremental search for a string supplied by the user. +The search string may match anywhere in a history line. @item non-incremental-forward-search-history (M-n) Search forward starting at the current line and moving `down' -through the the history as necessary using a non-incremental search +through the history as necessary using a non-incremental search for a string supplied by the user. +The search string may match anywhere in a history line. @item history-search-forward () Search forward through the history for the string of characters @@ -1224,6 +1292,14 @@ Insert a tab character. @item self-insert (a, b, A, 1, !, @dots{}) Insert yourself. +@item bracketed-paste-begin () +This function is intended to be bound to the "bracketed paste" escape +sequence sent by some terminals, and such a binding is assigned by default. +It allows Readline to insert the pasted text as a single unit without treating +each character as if it had been read from the keyboard. The characters +are inserted as if each one was bound to @code{self-insert}) instead of +executing any editing commands. + @item transpose-chars (C-t) Drag the character before the cursor forward over the character at the cursor, moving the @@ -1275,7 +1351,7 @@ By default, this command is unbound. Kill the text from point to the end of the line. @item backward-kill-line (C-x Rubout) -Kill backward to the beginning of the line. +Kill backward from the cursor to the beginning of the current line. @item unix-line-discard (C-u) Kill backward from the cursor to the beginning of the current line. @@ -1357,7 +1433,7 @@ leading minus sign, those digits define the argument. If the command is followed by digits, executing @code{universal-argument} again ends the numeric argument, but is otherwise ignored. As a special case, if this command is immediately followed by a -character that is neither a digit or minus sign, the argument count +character that is neither a digit nor minus sign, the argument count for the next command is multiplied by four. The argument count is initially one, so executing this function the first time makes the argument count four, a second time makes the @@ -1788,6 +1864,10 @@ is removed before attempting a match. Any completion that matches the pattern will be removed from the list. A leading @samp{!} negates the pattern; in this case any completion not matching the pattern will be removed. +If the @code{nocasematch} shell option +(see the description of @code{shopt} in @ref{The Shopt Builtin}) +is enabled, the match is performed without regard to the case +of alphabetic characters. Finally, any prefix and suffix specified with the @option{-P} and @option{-S} options are added to each member of the completion list, and the result is @@ -1941,6 +2021,9 @@ with @option{-F}. Tell Readline not to quote the completed words if they are filenames (quoting filenames is the default). +@item nosort +Tell Readline not to sort the list of possible completions alphabetically. + @item nospace Tell Readline not to append a space (the default) to words completed at the end of the line. diff --git a/lib/readline/doc/rluserman.texi b/lib/readline/doc/rluserman.texi index ba6b0ad8f..b5754389e 100644 --- a/lib/readline/doc/rluserman.texi +++ b/lib/readline/doc/rluserman.texi @@ -12,7 +12,7 @@ This manual describes the end user interface of the GNU Readline Library consistency of user interface across discrete programs which provide a command line interface. -Copyright @copyright{} 1988--2014 Free Software Foundation, Inc. +Copyright @copyright{} 1988--2016 Free Software Foundation, Inc. @quotation Permission is granted to copy, distribute and/or modify this document diff --git a/lib/readline/doc/version.texi b/lib/readline/doc/version.texi index 70b665820..9dc2998ab 100644 --- a/lib/readline/doc/version.texi +++ b/lib/readline/doc/version.texi @@ -1,10 +1,10 @@ @ignore -Copyright (C) 1988-2014 Free Software Foundation, Inc. +Copyright (C) 1988-2016 Free Software Foundation, Inc. @end ignore -@set EDITION 6.3 -@set VERSION 6.3 -@set UPDATED 6 January 2014 -@set UPDATED-MONTH January 2014 +@set EDITION 7.0 +@set VERSION 7.0 +@set UPDATED 16 July 2016 +@set UPDATED-MONTH July 2016 -@set LASTCHANGE Mon Jan 6 16:26:51 EST 2014 +@set LASTCHANGE Sat Jul 16 13:43:15 EDT 2016 diff --git a/lib/readline/examples/fileman.c b/lib/readline/examples/fileman.c index f7eed8a98..c821df033 100644 --- a/lib/readline/examples/fileman.c +++ b/lib/readline/examples/fileman.c @@ -63,6 +63,12 @@ extern char *xmalloc PARAMS((size_t)); +void initialize_readline PARAMS((void)); +void too_dangerous PARAMS((char *)); + +int execute_line PARAMS((char *)); +int valid_argument PARAMS((char *, char *)); + /* The names of functions that actually do the manipulation. */ int com_list PARAMS((char *)); int com_view PARAMS((char *)); @@ -119,6 +125,7 @@ dupstr (s) return (r); } +int main (argc, argv) int argc; char **argv; @@ -241,6 +248,7 @@ char **fileman_completion PARAMS((const char *, int, int)); /* Tell the GNU Readline library how to complete. We want to try to complete on command names if this is the first word in the line, or on filenames if not. */ +void initialize_readline () { /* Allow conditional parsing of the ~/.inputrc file. */ @@ -317,6 +325,7 @@ command_generator (text, state) static char syscom[1024]; /* List the file(s) named in arg. */ +int com_list (arg) char *arg; { @@ -327,6 +336,7 @@ com_list (arg) return (system (syscom)); } +int com_view (arg) char *arg; { @@ -342,6 +352,7 @@ com_view (arg) return (system (syscom)); } +int com_rename (arg) char *arg; { @@ -349,6 +360,7 @@ com_rename (arg) return (1); } +int com_stat (arg) char *arg; { @@ -377,6 +389,7 @@ com_stat (arg) return (0); } +int com_delete (arg) char *arg; { @@ -386,6 +399,7 @@ com_delete (arg) /* Print out help for ARG, or for all of the commands if ARG is not present. */ +int com_help (arg) char *arg; { @@ -425,6 +439,7 @@ com_help (arg) } /* Change to the directory ARG. */ +int com_cd (arg) char *arg; { @@ -439,6 +454,7 @@ com_cd (arg) } /* Print out the current working directory. */ +int com_pwd (ignore) char *ignore; { @@ -456,6 +472,7 @@ com_pwd (ignore) } /* The user wishes to quit using this program. Just set DONE non-zero. */ +int com_quit (arg) char *arg; { @@ -464,6 +481,7 @@ com_quit (arg) } /* Function which tells you that you can't do this. */ +void too_dangerous (caller) char *caller; { diff --git a/lib/readline/examples/rl-callbacktest.c b/lib/readline/examples/rl-callbacktest.c index a7e451c17..0f00e57c5 100644 --- a/lib/readline/examples/rl-callbacktest.c +++ b/lib/readline/examples/rl-callbacktest.c @@ -1,16 +1,25 @@ /* Standard include files. stdio.h is required. */ #include #include +#include /* Used for select(2) */ #include #include +#include #include /* Standard readline include files. */ -#include -#include +#if defined (READLINE_LIBRARY) +# include "readline.h" +# include "history.h" +#else +# include +# include +#endif + +extern int errno; static void cb_linehandler (char *); @@ -65,7 +74,7 @@ main (int c, char **v) FD_SET (fileno (rl_instream), &fds); r = select (FD_SETSIZE, &fds, NULL, NULL, NULL); - if (r < 0) + if (r < 0 && errno != EINTR) { perror ("rltest: select"); rl_callback_handler_remove (); diff --git a/lib/readline/examples/rl.c b/lib/readline/examples/rl.c index 845a4b176..a5cf276cb 100644 --- a/lib/readline/examples/rl.c +++ b/lib/readline/examples/rl.c @@ -28,6 +28,7 @@ # include #endif +#include #include #include diff --git a/lib/readline/funmap.c b/lib/readline/funmap.c index 363507b86..34b1d6ba7 100644 --- a/lib/readline/funmap.c +++ b/lib/readline/funmap.c @@ -1,6 +1,6 @@ /* funmap.c -- attach names to functions. */ -/* Copyright (C) 1987-2010 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -68,6 +68,7 @@ static const FUNMAP default_funmap[] = { { "backward-word", rl_backward_word }, { "beginning-of-history", rl_beginning_of_history }, { "beginning-of-line", rl_beg_of_line }, + { "bracketed-paste-begin", rl_bracketed_paste_begin }, { "call-last-kbd-macro", rl_call_last_kbd_macro }, { "capitalize-word", rl_capitalize_word }, { "character-search", rl_char_search }, @@ -115,7 +116,7 @@ static const FUNMAP default_funmap[] = { { "non-incremental-reverse-search-history-again", rl_noninc_reverse_search_again }, { "old-menu-complete", rl_old_menu_complete }, { "overwrite-mode", rl_overwrite_mode }, -#ifdef __CYGWIN__ +#if defined (_WIN32) { "paste-from-clipboard", rl_paste_from_clipboard }, #endif { "possible-completions", rl_possible_completions }, @@ -177,7 +178,7 @@ static const FUNMAP default_funmap[] = { { "vi-fword", rl_vi_fword }, { "vi-goto-mark", rl_vi_goto_mark }, { "vi-insert-beg", rl_vi_insert_beg }, - { "vi-insertion-mode", rl_vi_insertion_mode }, + { "vi-insertion-mode", rl_vi_insert_mode }, { "vi-match", rl_vi_match }, { "vi-movement-mode", rl_vi_movement_mode }, { "vi-next-word", rl_vi_next_word }, @@ -193,7 +194,9 @@ static const FUNMAP default_funmap[] = { { "vi-set-mark", rl_vi_set_mark }, { "vi-subst", rl_vi_subst }, { "vi-tilde-expand", rl_vi_tilde_expand }, + { "vi-unix-word-rubout", rl_vi_unix_word_rubout }, { "vi-yank-arg", rl_vi_yank_arg }, + { "vi-yank-pop", rl_vi_yank_pop }, { "vi-yank-to", rl_vi_yank_to }, #endif /* VI_MODE */ diff --git a/lib/readline/histexpand.c b/lib/readline/histexpand.c index 4899b9d3a..b84a6b8ac 100644 --- a/lib/readline/histexpand.c +++ b/lib/readline/histexpand.c @@ -1,6 +1,6 @@ /* histexpand.c -- history expansion. */ -/* Copyright (C) 1989-2012 Free Software Foundation, Inc. +/* Copyright (C) 1989-2015 Free Software Foundation, Inc. This file contains the GNU History Library (History), a set of routines for managing the text of previously typed lines. @@ -44,12 +44,14 @@ #include "history.h" #include "histlib.h" +#include "chardefs.h" #include "rlshell.h" #include "xmalloc.h" #define HISTORY_WORD_DELIMITERS " \t\n;&()|<>" #define HISTORY_QUOTE_CHARACTERS "\"'`" +#define HISTORY_EVENT_DELIMITERS "^$*%-" #define slashify_in_quotes "\\`\"$" @@ -62,6 +64,10 @@ static char *subst_rhs; static int subst_lhs_len; static int subst_rhs_len; +/* Characters that delimit history event specifications and separate event + specifications from word designators. Static for now */ +static char *history_event_delimiter_chars = HISTORY_EVENT_DELIMITERS; + static char *get_history_word_specifier PARAMS((char *, char *, int *)); static int history_tokenize_word PARAMS((const char *, int)); static char **history_tokenize_internal PARAMS((const char *, int, int *)); @@ -112,7 +118,6 @@ rl_linebuf_func_t *history_inhibit_expansion_function; /* The last string searched for by a !?string? search. */ static char *search_string; - /* The last string matched by a !?string? search. */ static char *search_match; @@ -225,6 +230,7 @@ get_history_event (string, caller_index, delimiting_quote) #endif /* HANDLE_MULTIBYTE */ if ((!substring_okay && (whitespace (c) || c == ':' || + (history_event_delimiter_chars && member (c, history_event_delimiter_chars)) || (history_search_delimiter_chars && member (c, history_search_delimiter_chars)) || string[i] == delimiting_quote)) || string[i] == '\n' || @@ -873,7 +879,7 @@ history_expand_internal (string, start, qc, end_index_ptr, ret_string, current_l 1) If expansions did take place 2) If the `p' modifier was given and the caller should print the result - If an error ocurred in expansion, then OUTPUT contains a descriptive + If an error occurred in expansion, then OUTPUT contains a descriptive error message. */ #define ADD_STRING(s) \ @@ -991,6 +997,7 @@ history_expand (hstring, output) history expansion performed on it. Skip the rest of the line and break out of the loop. */ if (history_comment_char && string[i] == history_comment_char && + dquote == 0 && (i == 0 || member (string[i - 1], history_word_delimiters))) { while (string[i]) @@ -1149,7 +1156,8 @@ history_expand (hstring, output) } case -2: /* history_comment_char */ - if (i == 0 || member (string[i - 1], history_word_delimiters)) + if ((dquote == 0 || history_quotes_inhibit_expansion == 0) && + (i == 0 || member (string[i - 1], history_word_delimiters))) { temp = (char *)xmalloc (l - i + 1); strcpy (temp, string + i); @@ -1213,7 +1221,7 @@ history_expand (hstring, output) ADD_STRING (temp); xfree (temp); } - only_printing = r == 1; + only_printing += r == 1; i = eindex; } break; @@ -1414,7 +1422,7 @@ history_tokenize_word (string, ind) const char *string; int ind; { - register int i; + register int i, j; int delimiter, nestdelim, delimopen; i = ind; @@ -1426,6 +1434,22 @@ history_tokenize_word (string, ind) return i; } + if (ISDIGIT (string[i])) + { + j = i; + while (string[j] && ISDIGIT (string[j])) + j++; + if (string[j] == 0) + return (j); + if (string[j] == '<' || string[j] == '>') + i = j; /* digit sequence is a file descriptor */ + else + { + i = j; + goto get_word; /* digit sequence is part of a word */ + } + } + if (member (string[i], "<>;&|$")) { int peek = string[i + 1]; @@ -1439,8 +1463,16 @@ history_tokenize_word (string, ind) i += 2; return i; } - else if ((peek == '&' && (string[i] == '>' || string[i] == '<')) || - (peek == '>' && string[i] == '&')) + else if (peek == '&' && (string[i] == '>' || string[i] == '<')) + { + j = i + 2; + while (string[j] && ISDIGIT (string[j])) /* file descriptor */ + j++; + if (string[j] =='-') /* <&[digits]-, >&[digits]- */ + j++; + return j; + } + else if ((peek == '>' && string[i] == '&') || (peek == '|' && string[i] == '>')) { i += 2; return i; diff --git a/lib/readline/histfile.c b/lib/readline/histfile.c index bb7431567..5b057cdef 100644 --- a/lib/readline/histfile.c +++ b/lib/readline/histfile.c @@ -1,6 +1,6 @@ /* histfile.c - functions to manipulate the history file. */ -/* Copyright (C) 1989-2010 Free Software Foundation, Inc. +/* Copyright (C) 1989-2016 Free Software Foundation, Inc. This file contains the GNU History Library (History), a set of routines for managing the text of previously typed lines. @@ -35,6 +35,10 @@ #include +#if defined (HAVE_LIMITS_H) +# include +#endif + #include #if ! defined (_MINIX) && defined (HAVE_SYS_FILE_H) # include @@ -99,12 +103,41 @@ extern int errno; #include "rlshell.h" #include "xmalloc.h" +#if !defined (PATH_MAX) +# define PATH_MAX 1024 /* default */ +#endif + +extern void _hs_append_history_line PARAMS((int, const char *)); + +/* history file version; currently unused */ +int history_file_version = 1; + /* If non-zero, we write timestamps to the history file in history_do_write() */ int history_write_timestamps = 0; +/* If non-zero, we assume that a history file that starts with a timestamp + uses timestamp-delimited entries and can include multi-line history + entries. Used by read_history_range */ +int history_multiline_entries = 0; + +/* Immediately after a call to read_history() or read_history_range(), this + will return the number of lines just read from the history file in that + call. */ +int history_lines_read_from_file = 0; + +/* Immediately after a call to write_history() or history_do_write(), this + will return the number of lines just written to the history file in that + call. This also works with history_truncate_file. */ +int history_lines_written_to_file = 0; + /* Does S look like the beginning of a history timestamp entry? Placeholder for more extensive tests. */ -#define HIST_TIMESTAMP_START(s) (*(s) == history_comment_char && isdigit ((s)[1]) ) +#define HIST_TIMESTAMP_START(s) (*(s) == history_comment_char && isdigit ((unsigned char)(s)[1]) ) + +static char *history_backupfile PARAMS((const char *)); +static char *history_tempfile PARAMS((const char *)); +static int histfile_backup PARAMS((const char *, const char *)); +static int histfile_restore PARAMS((const char *, const char *)); /* Return the string that should be used in the place of this filename. This only matters when you don't specify the @@ -123,6 +156,10 @@ history_filename (filename) return (return_val); home = sh_get_env_value ("HOME"); +#if defined (_WIN32) + if (home == 0) + home = sh_get_env_value ("APPDATA"); +#endif if (home == 0) return (NULL); @@ -145,17 +182,71 @@ static char * history_backupfile (filename) const char *filename; { - char *ret; + const char *fn; + char *ret, linkbuf[PATH_MAX+1]; size_t len; - - len = strlen (filename); + ssize_t n; + struct stat fs; + + fn = filename; +#if defined (HAVE_READLINK) + /* Follow symlink to avoid backing up symlink itself; call will fail if + not a symlink */ + if ((n = readlink (filename, linkbuf, sizeof (linkbuf) - 1)) > 0) + { + linkbuf[n] = '\0'; + fn = linkbuf; + } +#endif + + len = strlen (fn); ret = xmalloc (len + 2); - strcpy (ret, filename); + strcpy (ret, fn); ret[len] = '-'; ret[len+1] = '\0'; return ret; } +static char * +history_tempfile (filename) + const char *filename; +{ + const char *fn; + char *ret, linkbuf[PATH_MAX+1]; + size_t len; + ssize_t n; + struct stat fs; + int pid; + + fn = filename; +#if defined (HAVE_READLINK) + /* Follow symlink so tempfile created in the same directory as any symlinked + history file; call will fail if not a symlink */ + if ((n = readlink (filename, linkbuf, sizeof (linkbuf) - 1)) > 0) + { + linkbuf[n] = '\0'; + fn = linkbuf; + } +#endif + + len = strlen (fn); + ret = xmalloc (len + 11); + strcpy (ret, fn); + + pid = (int)getpid (); + + /* filename-PID.tmp */ + ret[len] = '-'; + ret[len+1] = (pid / 10000 % 10) + '0'; + ret[len+2] = (pid / 1000 % 10) + '0'; + ret[len+3] = (pid / 100 % 10) + '0'; + ret[len+4] = (pid / 10 % 10) + '0'; + ret[len+5] = (pid % 10) + '0'; + strcpy (ret + len + 6, ".tmp"); + + return ret; +} + /* Add the contents of FILENAME to the history list, a line at a time. If FILENAME is NULL, then read from ~/.history. Returns 0 if successful, or errno if not. */ @@ -178,7 +269,7 @@ read_history_range (filename, from, to) { register char *line_start, *line_end, *p; char *input, *buffer, *bufend, *last_ts; - int file, current_line, chars_read; + int file, current_line, chars_read, has_timestamps, reset_comment_char; struct stat finfo; size_t file_size; #if defined (EFBIG) @@ -189,6 +280,8 @@ read_history_range (filename, from, to) int overflow_errno = EIO; #endif + history_lines_read_from_file = 0; + buffer = last_ts = (char *)NULL; input = history_filename (filename); file = input ? open (input, O_RDONLY|O_BINARY, 0666) : -1; @@ -253,6 +346,19 @@ read_history_range (filename, from, to) bufend = buffer + chars_read; current_line = 0; + /* Heuristic: the history comment character rarely changes, so assume we + have timestamps if the buffer starts with `#[:digit:]' and temporarily + set history_comment_char so timestamp parsing works right */ + reset_comment_char = 0; + if (history_comment_char == '\0' && buffer[0] == '#' && isdigit ((unsigned char)buffer[1])) + { + history_comment_char = '#'; + reset_comment_char = 1; + } + + has_timestamps = HIST_TIMESTAMP_START (buffer); + history_multiline_entries += has_timestamps && history_write_timestamps; + /* Skip lines until we are at FROM. */ for (line_start = line_end = buffer; line_end < bufend && current_line < from; line_end++) if (*line_end == '\n') @@ -279,7 +385,10 @@ read_history_range (filename, from, to) { if (HIST_TIMESTAMP_START(line_start) == 0) { - add_history (line_start); + if (last_ts == NULL && history_multiline_entries) + _hs_append_history_line (history_length - 1, line_start); + else + add_history (line_start); if (last_ts) { add_history_time (last_ts); @@ -301,6 +410,10 @@ read_history_range (filename, from, to) line_start = line_end + 1; } + history_lines_read_from_file = current_line; + if (reset_comment_char) + history_comment_char = '\0'; + FREE (input); #ifndef HISTORY_USE_MMAP FREE (buffer); @@ -311,23 +424,68 @@ read_history_range (filename, from, to) return (0); } +/* Save FILENAME to BACK, handling case where FILENAME is a symlink + (e.g., ~/.bash_history -> .histfiles/.bash_history.$HOSTNAME) */ +static int +histfile_backup (filename, back) + const char *filename; + const char *back; +{ +#if defined (HAVE_READLINK) + char linkbuf[PATH_MAX+1]; + ssize_t n; + + /* Follow to target of symlink to avoid renaming symlink itself */ + if ((n = readlink (filename, linkbuf, sizeof (linkbuf) - 1)) > 0) + { + linkbuf[n] = '\0'; + return (rename (linkbuf, back)); + } +#endif + return (rename (filename, back)); +} + +/* Restore ORIG from BACKUP handling case where ORIG is a symlink + (e.g., ~/.bash_history -> .histfiles/.bash_history.$HOSTNAME) */ +static int +histfile_restore (backup, orig) + const char *backup; + const char *orig; +{ +#if defined (HAVE_READLINK) + char linkbuf[PATH_MAX+1]; + ssize_t n; + + /* Follow to target of symlink to avoid renaming symlink itself */ + if ((n = readlink (orig, linkbuf, sizeof (linkbuf) - 1)) > 0) + { + linkbuf[n] = '\0'; + return (rename (backup, linkbuf)); + } +#endif + return (rename (backup, orig)); +} + /* Truncate the history file FNAME, leaving only LINES trailing lines. - If FNAME is NULL, then use ~/.history. Returns 0 on success, errno - on failure. */ + If FNAME is NULL, then use ~/.history. Writes a new file and renames + it to the original name. Returns 0 on success, errno on failure. */ int history_truncate_file (fname, lines) const char *fname; int lines; { - char *buffer, *filename, *bp, *bp1; /* bp1 == bp+1 */ - int file, chars_read, rv; + char *buffer, *filename, *tempname, *bp, *bp1; /* bp1 == bp+1 */ + int file, chars_read, rv, orig_lines, exists, r; struct stat finfo; size_t file_size; + history_lines_written_to_file = 0; + buffer = (char *)NULL; filename = history_filename (fname); + tempname = 0; file = filename ? open (filename, O_RDONLY|O_BINARY, 0666) : -1; - rv = 0; + rv = exists = 0; /* Don't try to truncate non-regular files. */ if (file == -1 || fstat (file, &finfo) == -1) @@ -337,6 +495,7 @@ history_truncate_file (fname, lines) close (file); goto truncate_exit; } + exists = 1; if (S_ISREG (finfo.st_mode) == 0) { @@ -368,6 +527,7 @@ history_truncate_file (fname, lines) buffer = (char *)malloc (file_size + 1); if (buffer == 0) { + rv = errno; close (file); goto truncate_exit; } @@ -381,6 +541,7 @@ history_truncate_file (fname, lines) goto truncate_exit; } + orig_lines = lines; /* Count backwards from the end of buffer until we have passed LINES lines. bp1 is set funny initially. But since bp[1] can't be a comment character (since it's off the end) and *bp can't be @@ -409,29 +570,56 @@ history_truncate_file (fname, lines) /* Write only if there are more lines in the file than we want to truncate to. */ - if (bp > buffer && ((file = open (filename, O_WRONLY|O_TRUNC|O_BINARY, 0600)) != -1)) + if (bp <= buffer) + { + rv = 0; + /* No-op if LINES == 0 at this point */ + history_lines_written_to_file = orig_lines - lines; + goto truncate_exit; + } + + tempname = history_tempfile (filename); + + if ((file = open (tempname, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0600)) != -1) { if (write (file, bp, chars_read - (bp - buffer)) < 0) rv = errno; -#if defined (__BEOS__) - /* BeOS ignores O_TRUNC. */ - ftruncate (file, chars_read - (bp - buffer)); -#endif - if (close (file) < 0 && rv == 0) rv = errno; } + else + rv = errno; truncate_exit: - FREE (buffer); + history_lines_written_to_file = orig_lines - lines; + + if (rv == 0 && filename && tempname) + rv = histfile_restore (tempname, filename); + + if (rv != 0) + { + if (tempname) + unlink (tempname); + history_lines_written_to_file = 0; + } + + /* Make sure the new filename is owned by the same user as the old. If one + user is running this, it's a no-op. If the shell is running after sudo + with a shared history file, we don't want to leave the history file + owned by root. */ + if (rv == 0 && exists) + r = chown (filename, finfo.st_uid, finfo.st_gid); + xfree (filename); + FREE (tempname); + return rv; } -/* Workhorse function for writing history. Writes NELEMENT entries +/* Workhorse function for writing history. Writes the last NELEMENT entries from the history list to FILENAME. OVERWRITE is non-zero if you wish to replace FILENAME with the entries. */ static int @@ -440,20 +628,23 @@ history_do_write (filename, nelements, overwrite) int nelements, overwrite; { register int i; - char *output, *bakname; - int file, mode, rv; + char *output, *tempname, *histname; + int file, mode, rv, exists; + struct stat finfo; #ifdef HISTORY_USE_MMAP size_t cursize; + history_lines_written_to_file = 0; + mode = overwrite ? O_RDWR|O_CREAT|O_TRUNC|O_BINARY : O_RDWR|O_APPEND|O_BINARY; #else mode = overwrite ? O_WRONLY|O_CREAT|O_TRUNC|O_BINARY : O_WRONLY|O_APPEND|O_BINARY; #endif - output = history_filename (filename); - bakname = (overwrite && output) ? history_backupfile (output) : 0; + histname = history_filename (filename); + exists = histname ? (stat (histname, &finfo) == 0) : 0; - if (output && bakname) - rename (output, bakname); + tempname = (overwrite && exists && S_ISREG (finfo.st_mode)) ? history_tempfile (histname) : 0; + output = tempname ? tempname : histname; file = output ? open (output, mode, 0600) : -1; rv = 0; @@ -461,10 +652,8 @@ history_do_write (filename, nelements, overwrite) if (file == -1) { rv = errno; - if (output && bakname) - rename (bakname, output); - FREE (output); - FREE (bakname); + FREE (histname); + FREE (tempname); return (rv); } @@ -506,10 +695,10 @@ history_do_write (filename, nelements, overwrite) mmap_error: rv = errno; close (file); - if (output && bakname) - rename (bakname, output); - FREE (output); - FREE (bakname); + if (tempname) + unlink (tempname); + FREE (histname); + FREE (tempname); return rv; } #else @@ -518,10 +707,10 @@ mmap_error: { rv = errno; close (file); - if (output && bakname) - rename (bakname, output); - FREE (output); - FREE (bakname); + if (tempname) + unlink (tempname); + FREE (histname); + FREE (tempname); return rv; } #endif @@ -540,7 +729,7 @@ mmap_error: } #ifdef HISTORY_USE_MMAP - if (msync (buffer, buffer_size, 0) != 0 || munmap (buffer, buffer_size) != 0) + if (msync (buffer, buffer_size, MS_ASYNC) != 0 || munmap (buffer, buffer_size) != 0) rv = errno; #else if (write (file, buffer, buffer_size) < 0) @@ -549,16 +738,30 @@ mmap_error: #endif } + history_lines_written_to_file = nelements; + if (close (file) < 0 && rv == 0) rv = errno; - if (rv != 0 && output && bakname) - rename (bakname, output); - else if (rv == 0 && bakname) - unlink (bakname); + if (rv == 0 && histname && tempname) + rv = histfile_restore (tempname, histname); + + if (rv != 0) + { + if (tempname) + unlink (tempname); + history_lines_written_to_file = 0; + } + + /* Make sure the new filename is owned by the same user as the old. If one + user is running this, it's a no-op. If the shell is running after sudo + with a shared history file, we don't want to leave the history file + owned by root. */ + if (rv == 0 && exists) + mode = chown (histname, finfo.st_uid, finfo.st_gid); - FREE (output); - FREE (bakname); + FREE (histname); + FREE (tempname); return (rv); } diff --git a/lib/readline/histlib.h b/lib/readline/histlib.h index c938a109c..28cad14a5 100644 --- a/lib/readline/histlib.h +++ b/lib/readline/histlib.h @@ -76,7 +76,4 @@ extern char *strchr (); #define HISTORY_APPEND 0 #define HISTORY_OVERWRITE 1 -/* Some variable definitions shared across history source files. */ -extern int history_offset; - #endif /* !_HISTLIB_H_ */ diff --git a/lib/readline/history.c b/lib/readline/history.c index 1181e7ccf..3b8dbc586 100644 --- a/lib/readline/history.c +++ b/lib/readline/history.c @@ -1,6 +1,6 @@ /* history.c -- standalone history library */ -/* Copyright (C) 1989-2011 Free Software Foundation, Inc. +/* Copyright (C) 1989-2015 Free Software Foundation, Inc. This file contains the GNU History Library (History), a set of routines for managing the text of previously typed lines. @@ -43,11 +43,20 @@ # include #endif +#include + #include "history.h" #include "histlib.h" #include "xmalloc.h" +#if !defined (errno) +extern int errno; +#endif + +/* How big to make the_history when we first allocate it. */ +#define DEFAULT_HISTORY_INITIAL_SIZE 502 + /* The number of slots to increase the_history by. */ #define DEFAULT_HISTORY_GROW_SIZE 50 @@ -236,7 +245,10 @@ history_get_time (hist) ts = hist->timestamp; if (ts[0] != history_comment_char) return 0; + errno = 0; t = (time_t) strtol (ts + 1, (char **)NULL, 10); /* XXX - should use strtol() here */ + if (errno == ERANGE) + return (time_t)0; return t; } @@ -279,9 +291,14 @@ add_history (string) if (the_history[0]) (void) free_history_entry (the_history[0]); - /* Copy the rest of the entries, moving down one slot. */ + /* Copy the rest of the entries, moving down one slot. Copy includes + trailing NULL. */ +#if 0 for (i = 0; i < history_length; i++) the_history[i] = the_history[i + 1]; +#else + memmove (the_history, the_history + 1, history_length * sizeof (HIST_ENTRY *)); +#endif history_base++; } @@ -289,7 +306,10 @@ add_history (string) { if (history_size == 0) { - history_size = DEFAULT_HISTORY_GROW_SIZE; + if (history_stifled && history_max_entries > 0) + history_size = history_max_entries + 2; + else + history_size = DEFAULT_HISTORY_INITIAL_SIZE; the_history = (HIST_ENTRY **)xmalloc (history_size * sizeof (HIST_ENTRY *)); history_length = 1; } @@ -305,7 +325,7 @@ add_history (string) } } - temp = alloc_history_entry (string, hist_inittime ()); + temp = alloc_history_entry ((char *)string, hist_inittime ()); the_history[history_length] = (HIST_ENTRY *)NULL; the_history[history_length - 1] = temp; @@ -387,6 +407,30 @@ replace_history_entry (which, line, data) return (old_value); } +/* Append LINE to the history line at offset WHICH, adding a newline to the + end of the current line first. This can be used to construct multi-line + history entries while reading lines from the history file. */ +void +_hs_append_history_line (which, line) + int which; + const char *line; +{ + HIST_ENTRY *hent; + size_t newlen, curlen; + char *newline; + + hent = the_history[which]; + curlen = strlen (hent->line); + newlen = curlen + strlen (line) + 2; + newline = realloc (hent->line, newlen); + if (newline) + { + hent->line = newline; + hent->line[curlen++] = '\n'; + strcpy (hent->line + curlen, line); + } +} + /* Replace the DATA in the specified history entries, replacing OLD with NEW. WHICH says which one(s) to replace: WHICH == -1 means to replace all of the history entries where entry->data == OLD; WHICH == -2 means @@ -394,7 +438,7 @@ replace_history_entry (which, line, data) WHICH >= 0 means to replace that particular history entry's data, as long as it matches OLD. */ void -replace_history_data (which, old, new) +_hs_replace_history_data (which, old, new) int which; histdata_t *old, *new; { diff --git a/lib/readline/history.h b/lib/readline/history.h index c8af47e5a..8ce7c805d 100644 --- a/lib/readline/history.h +++ b/lib/readline/history.h @@ -1,6 +1,6 @@ /* history.h -- the names of functions that you can call in history. */ -/* Copyright (C) 1989-2009 Free Software Foundation, Inc. +/* Copyright (C) 1989-2015 Free Software Foundation, Inc. This file contains the GNU History Library (History), a set of routines for managing the text of previously typed lines. @@ -91,6 +91,13 @@ extern void add_history_time PARAMS((const char *)); elements are numbered from 0. */ extern HIST_ENTRY *remove_history PARAMS((int)); +/* Allocate a history entry consisting of STRING and TIMESTAMP and return + a pointer to it. */ +extern HIST_ENTRY *alloc_history_entry PARAMS((char *, char *)); + +/* Copy the history entry H, but not the (opaque) data pointer */ +extern HIST_ENTRY *copy_history_entry PARAMS((HIST_ENTRY *)); + /* Free the history entry H and return any application-specific data associated with it. */ extern histdata_t free_history_entry PARAMS((HIST_ENTRY *)); @@ -241,6 +248,11 @@ extern char **history_tokenize PARAMS((const char *)); extern int history_base; extern int history_length; extern int history_max_entries; +extern int history_offset; + +extern int history_lines_read_from_file; +extern int history_lines_written_to_file; + extern char history_expansion_char; extern char history_subst_char; extern char *history_word_delimiters; @@ -251,6 +263,10 @@ extern int history_quotes_inhibit_expansion; extern int history_write_timestamps; +/* These two are undocumented; the second is reserved for future use */ +extern int history_multiline_entries; +extern int history_file_version; + /* Backwards compatibility */ extern int max_input_history; diff --git a/lib/readline/input.c b/lib/readline/input.c index f3f6d593c..286897d77 100644 --- a/lib/readline/input.c +++ b/lib/readline/input.c @@ -1,6 +1,6 @@ /* input.c -- character input functions for readline. */ -/* Copyright (C) 1994-2013 Free Software Foundation, Inc. +/* Copyright (C) 1994-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -95,6 +95,22 @@ static int ibuffer_space PARAMS((void)); static int rl_get_char PARAMS((int *)); static int rl_gather_tyi PARAMS((void)); +/* Windows isatty returns true for every character device, including the null + device, so we need to perform additional checks. */ +#if defined (_WIN32) && !defined (__CYGWIN__) +#include +#define WIN32_LEAN_AND_MEAN 1 +#include + +int +win32_isatty (int fd) +{ + return (_isatty (fd) ? ((((long) (HANDLE) _get_osfhandle (fd)) & 3) == 3) : 0); +} + +#define isatty(x) win32_isatty(x) +#endif + /* **************************************************************** */ /* */ /* Character Input Buffering */ @@ -185,6 +201,7 @@ rl_gather_tyi () #endif chars_avail = 0; + input = 0; tty = fileno (rl_instream); #if defined (HAVE_SELECT) @@ -199,11 +216,13 @@ rl_gather_tyi () #endif result = -1; -#if defined (FIONREAD) errno = 0; +#if defined (FIONREAD) result = ioctl (tty, FIONREAD, &chars_avail); if (result == -1 && errno == EIO) return -1; + if (result == -1) + chars_avail = 0; #endif #if defined (O_NDELAY) @@ -217,6 +236,8 @@ rl_gather_tyi () fcntl (tty, F_SETFL, tem); if (chars_avail == -1 && errno == EAGAIN) return 0; + if (chars_avail == -1 && errno == EIO) + return -1; if (chars_avail == 0) /* EOF */ { rl_stuff_char (EOF); @@ -445,7 +466,7 @@ rl_read_key () if ((r = rl_gather_tyi ()) < 0) /* XXX - EIO */ { rl_done = 1; - return ('\n'); + return (errno == EIO ? (RL_ISSTATE (RL_STATE_READCMD) ? READERR : EOF) : '\n'); } else if (r > 0) /* read something */ continue; @@ -474,6 +495,10 @@ rl_getc (stream) { int result; unsigned char c; +#if defined (HAVE_PSELECT) + sigset_t empty_set; + fd_set readfds; +#endif while (1) { @@ -483,9 +508,17 @@ rl_getc (stream) #if defined (__MINGW32__) if (isatty (fileno (stream))) - return (getch ()); + return (_getch ()); /* "There is no error return." */ #endif - result = read (fileno (stream), &c, sizeof (unsigned char)); + result = 0; +#if defined (HAVE_PSELECT) + sigemptyset (&empty_set); + FD_ZERO (&readfds); + FD_SET (fileno (stream), &readfds); + result = pselect (fileno (stream) + 1, &readfds, NULL, NULL, NULL, &empty_set); +#endif + if (result >= 0) + result = read (fileno (stream), &c, sizeof (unsigned char)); if (result == sizeof (unsigned char)) return (c); @@ -524,26 +557,42 @@ rl_getc (stream) /* fprintf(stderr, "rl_getc: result = %d errno = %d\n", result, errno); */ +handle_error: /* If the error that we received was EINTR, then try again, this is simply an interrupted system call to read (). We allow - the read to be interrupted if we caught SIGHUP or SIGTERM (but - not SIGINT; let the signal handler deal with that), but if the + the read to be interrupted if we caught SIGHUP, SIGTERM, or any + of the other signals readline treats specially. If the application sets an event hook, call it for other signals. Otherwise (not EINTR), some error occurred, also signifying EOF. */ if (errno != EINTR) return (RL_ISSTATE (RL_STATE_READCMD) ? READERR : EOF); + /* fatal signals of interest */ +#if defined (SIGHUP) else if (_rl_caught_signal == SIGHUP || _rl_caught_signal == SIGTERM) +#else + else if (_rl_caught_signal == SIGTERM) +#endif return (RL_ISSTATE (RL_STATE_READCMD) ? READERR : EOF); /* keyboard-generated signals of interest */ +#if defined (SIGQUIT) else if (_rl_caught_signal == SIGINT || _rl_caught_signal == SIGQUIT) +#else + else if (_rl_caught_signal == SIGINT) +#endif RL_CHECK_SIGNALS (); /* non-keyboard-generated signals of interest */ +#if defined (SIGWINCH) + else if (_rl_caught_signal == SIGWINCH) + RL_CHECK_SIGNALS (); +#endif /* SIGWINCH */ +#if defined (SIGALRM) else if (_rl_caught_signal == SIGALRM -#if defined (SIGVTALRM) +# if defined (SIGVTALRM) || _rl_caught_signal == SIGVTALRM -#endif +# endif ) RL_CHECK_SIGNALS (); +#endif /* SIGALRM */ if (rl_signal_event_hook) (*rl_signal_event_hook) (); diff --git a/lib/readline/isearch.c b/lib/readline/isearch.c index 6f6a7a658..819fcbce4 100644 --- a/lib/readline/isearch.c +++ b/lib/readline/isearch.c @@ -6,7 +6,7 @@ /* */ /* **************************************************************** */ -/* Copyright (C) 1987-2012 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -66,7 +66,6 @@ static int rl_search_history PARAMS((int, int)); static _rl_search_cxt *_rl_isearch_init PARAMS((int)); static void _rl_isearch_fini PARAMS((_rl_search_cxt *)); -static int _rl_isearch_cleanup PARAMS((_rl_search_cxt *, int)); /* Last line found by the current incremental search, so we don't `find' identical lines many times in a row. Now part of isearch context. */ @@ -553,8 +552,20 @@ add_character: do until we have a real isearch-undo. */ if (cxt->search_string_index == 0) rl_ding (); - else + else if (MB_CUR_MAX == 1 || rl_byte_oriented) cxt->search_string[--cxt->search_string_index] = '\0'; + else + { + wstart = _rl_find_prev_mbchar (cxt->search_string, cxt->search_string_index, MB_FIND_NONZERO); + if (wstart >= 0) + cxt->search_string[cxt->search_string_index = wstart] = '\0'; + else + cxt->search_string[cxt->search_string_index = 0] = '\0'; + } + + if (cxt->search_string_index == 0) + rl_ding (); + break; case -4: /* C-G, abort */ @@ -647,6 +658,12 @@ add_character: for (cxt->sflags &= ~(SF_FOUND|SF_FAILED);; ) { + if (cxt->search_string_index == 0) + { + cxt->sflags |= SF_FAILED; + break; + } + limit = cxt->sline_len - cxt->search_string_index + 1; /* Search the current line. */ @@ -716,7 +733,7 @@ add_character: return 1; } -static int +int _rl_isearch_cleanup (cxt, r) _rl_search_cxt *cxt; int r; diff --git a/lib/readline/kill.c b/lib/readline/kill.c index 1a78783f9..696f1938f 100644 --- a/lib/readline/kill.c +++ b/lib/readline/kill.c @@ -1,6 +1,6 @@ /* kill.c -- kill ring management. */ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -97,7 +97,7 @@ _rl_copy_to_kill_ring (text, append) int slot; /* First, find the slot to work with. */ - if (_rl_last_command_was_kill == 0) + if (_rl_last_command_was_kill == 0 || rl_kill_ring == 0) { /* Get a new slot. */ if (rl_kill_ring == 0) @@ -278,7 +278,7 @@ rl_backward_kill_line (direction, ignore) return (rl_kill_line (1, ignore)); else { - if (!rl_point) + if (rl_point == 0) rl_ding (); else { @@ -506,7 +506,7 @@ rl_yank (count, ignore) if (rl_kill_ring == 0) { _rl_abort_internal (); - return -1; + return 1; } _rl_set_mark_at_pos (rl_point); @@ -528,7 +528,7 @@ rl_yank_pop (count, key) !rl_kill_ring) { _rl_abort_internal (); - return -1; + return 1; } l = strlen (rl_kill_ring[rl_kill_index]); @@ -546,10 +546,44 @@ rl_yank_pop (count, key) else { _rl_abort_internal (); - return -1; + return 1; } } +#if defined (VI_MODE) +int +rl_vi_yank_pop (count, key) + int count, key; +{ + int l, n; + + if (((rl_last_func != rl_vi_yank_pop) && (rl_last_func != rl_vi_put)) || + !rl_kill_ring) + { + _rl_abort_internal (); + return 1; + } + + l = strlen (rl_kill_ring[rl_kill_index]); + n = rl_point - l; + if (n >= 0 && STREQN (rl_line_buffer + n, rl_kill_ring[rl_kill_index], l)) + { + rl_delete_text (n, rl_point); + rl_point = n; + rl_kill_index--; + if (rl_kill_index < 0) + rl_kill_index = rl_kill_ring_length - 1; + rl_vi_put (1, 'p'); + return 0; + } + else + { + _rl_abort_internal (); + return 1; + } +} +#endif /* VI_MODE */ + /* Yank the COUNTh argument from the previous history line, skipping HISTORY_SKIP lines before looking for the `previous line'. */ static int @@ -575,7 +609,7 @@ rl_yank_nth_arg_internal (count, ignore, history_skip) if (entry == 0) { rl_ding (); - return -1; + return 1; } arg = history_arg_extract (count, count, entry->line); @@ -583,7 +617,7 @@ rl_yank_nth_arg_internal (count, ignore, history_skip) { rl_ding (); FREE (arg); - return -1; + return 1; } rl_begin_undo_group (); @@ -656,8 +690,58 @@ rl_yank_last_arg (count, key) return retval; } -/* A special paste command for users of Cygnus's cygwin32. */ -#if defined (__CYGWIN__) +/* Having read the special escape sequence denoting the beginning of a + `bracketed paste' sequence, read the rest of the pasted input until the + closing sequence and insert the pasted text as a single unit without + interpretation. */ +int +rl_bracketed_paste_begin (count, key) + int count, key; +{ + int retval, c; + size_t len, cap; + char *buf; + + retval = 1; + len = 0; + buf = xmalloc (cap = 64); + + RL_SETSTATE (RL_STATE_MOREINPUT); + while ((c = rl_read_key ()) >= 0) + { + if (RL_ISSTATE (RL_STATE_MACRODEF)) + _rl_add_macro_char (c); + + if (c == '\r') /* XXX */ + c = '\n'; + + if (len == cap) + buf = xrealloc (buf, cap *= 2); + + buf[len++] = c; + if (len >= BRACK_PASTE_SLEN && c == BRACK_PASTE_LAST && + STREQN (buf + len - BRACK_PASTE_SLEN, BRACK_PASTE_SUFF, BRACK_PASTE_SLEN)) + { + len -= BRACK_PASTE_SLEN; + break; + } + } + RL_UNSETSTATE (RL_STATE_MOREINPUT); + + if (c >= 0) + { + if (len == cap) + buf = xrealloc (buf, cap + 1); + buf[len] = '\0'; + retval = rl_insert_text (buf); + } + + xfree (buf); + return (retval); +} + +/* A special paste command for Windows users.. */ +#if defined (_WIN32) #include int @@ -691,4 +775,4 @@ rl_paste_from_clipboard (count, key) } return (0); } -#endif /* __CYGWIN__ */ +#endif /* _WIN32 */ diff --git a/lib/readline/macro.c b/lib/readline/macro.c index b99a1a69f..c7017cc6b 100644 --- a/lib/readline/macro.c +++ b/lib/readline/macro.c @@ -219,7 +219,7 @@ rl_start_kbd_macro (ignore1, ignore2) if (RL_ISSTATE (RL_STATE_MACRODEF)) { _rl_abort_internal (); - return -1; + return 1; } if (rl_explicit_arg) @@ -244,7 +244,7 @@ rl_end_kbd_macro (count, ignore) if (RL_ISSTATE (RL_STATE_MACRODEF) == 0) { _rl_abort_internal (); - return -1; + return 1; } current_macro_index -= rl_key_sequence_length; diff --git a/lib/readline/mbutil.c b/lib/readline/mbutil.c index b036e0c32..314a49b64 100644 --- a/lib/readline/mbutil.c +++ b/lib/readline/mbutil.c @@ -1,6 +1,6 @@ /* mbutil.c -- readline multibyte character utility functions */ -/* Copyright (C) 2001-2009 Free Software Foundation, Inc. +/* Copyright (C) 2001-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -145,7 +145,7 @@ _rl_find_next_mbchar_internal (string, seed, count, find_non_zero) return point; } -static int +/*static*/ int _rl_find_prev_mbchar_internal (string, seed, find_non_zero) char *string; int seed, find_non_zero; diff --git a/lib/readline/misc.c b/lib/readline/misc.c index a890cdadf..f7acdee06 100644 --- a/lib/readline/misc.c +++ b/lib/readline/misc.c @@ -1,6 +1,6 @@ /* misc.c -- miscellaneous bindable readline functions. */ -/* Copyright (C) 1987-2012 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -56,8 +56,6 @@ static int rl_digit_loop PARAMS((void)); static void _rl_history_set_point PARAMS((void)); -extern int history_offset; - /* Forward declarations used in this file */ void _rl_free_history_entry PARAMS((HIST_ENTRY *)); @@ -128,7 +126,7 @@ _rl_arg_dispatch (cxt, c) /* If we see a key bound to `universal-argument' after seeing digits, it ends the argument but is otherwise ignored. */ - if (_rl_keymap[c].type == ISFUNC && _rl_keymap[c].function == rl_universal_argument) + if (c >= 0 && _rl_keymap[c].type == ISFUNC && _rl_keymap[c].function == rl_universal_argument) { if ((cxt & NUM_SAWDIGITS) == 0) { @@ -268,6 +266,8 @@ _rl_arg_callback (cxt) int c, r; c = _rl_arg_getchar (); + if (c < 0) + return (1); /* EOF */ if (_rl_argcxt & NUM_READONE) { diff --git a/lib/readline/parens.c b/lib/readline/parens.c index 9c9848838..ecc465c00 100644 --- a/lib/readline/parens.c +++ b/lib/readline/parens.c @@ -1,6 +1,6 @@ /* parens.c -- implementation of matching parentheses feature. */ -/* Copyright (C) 1987, 1989, 1992-2009 Free Software Foundation, Inc. +/* Copyright (C) 1987, 1989, 1992-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -57,11 +57,7 @@ static int find_matching_open PARAMS((char *, int, int)); /* Non-zero means try to blink the matching open parenthesis when the close parenthesis is inserted. */ -#if defined (HAVE_SELECT) -int rl_blink_matching_paren = 1; -#else /* !HAVE_SELECT */ int rl_blink_matching_paren = 0; -#endif /* !HAVE_SELECT */ static int _paren_blink_usec = 500000; @@ -72,16 +68,32 @@ _rl_enable_paren_matching (on_or_off) int on_or_off; { if (on_or_off) - { /* ([{ */ + { + /* ([{ */ rl_bind_key_in_map (')', rl_insert_close, emacs_standard_keymap); rl_bind_key_in_map (']', rl_insert_close, emacs_standard_keymap); rl_bind_key_in_map ('}', rl_insert_close, emacs_standard_keymap); + +#if defined (VI_MODE) + /* ([{ */ + rl_bind_key_in_map (')', rl_insert_close, vi_insertion_keymap); + rl_bind_key_in_map (']', rl_insert_close, vi_insertion_keymap); + rl_bind_key_in_map ('}', rl_insert_close, vi_insertion_keymap); +#endif } else - { /* ([{ */ + { + /* ([{ */ rl_bind_key_in_map (')', rl_insert, emacs_standard_keymap); rl_bind_key_in_map (']', rl_insert, emacs_standard_keymap); rl_bind_key_in_map ('}', rl_insert, emacs_standard_keymap); + +#if defined (VI_MODE) + /* ([{ */ + rl_bind_key_in_map (')', rl_insert, vi_insertion_keymap); + rl_bind_key_in_map (']', rl_insert, vi_insertion_keymap); + rl_bind_key_in_map ('}', rl_insert, vi_insertion_keymap); +#endif } } @@ -117,7 +129,7 @@ rl_insert_close (count, invoking_key) /* Emacs might message or ring the bell here, but I don't. */ if (match_point < 0) - return -1; + return 1; FD_ZERO (&readfds); FD_SET (fileno (rl_instream), &readfds); diff --git a/lib/readline/posixjmp.h b/lib/readline/posixjmp.h index 98cf7185e..9c7e99ed4 100644 --- a/lib/readline/posixjmp.h +++ b/lib/readline/posixjmp.h @@ -1,6 +1,6 @@ /* posixjmp.h -- wrapper for setjmp.h with changes for POSIX systems. */ -/* Copyright (C) 1987,1991 Free Software Foundation, Inc. +/* Copyright (C) 1987,1991-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -27,16 +27,20 @@ #if defined (HAVE_POSIX_SIGSETJMP) # define procenv_t sigjmp_buf -# if !defined (__OPENNT) -# undef setjmp -# define setjmp(x) sigsetjmp((x), 1) -# define setjmp_nosigs(x) sigsetjmp((x), 0) -# undef longjmp -# define longjmp(x, n) siglongjmp((x), (n)) -# endif /* !__OPENNT */ + +# define setjmp_nosigs(x) sigsetjmp((x), 0) +# define setjmp_sigs(x) sigsetjmp((x), 1) + +# define _rl_longjmp(x, n) siglongjmp((x), (n)) +# define sh_longjmp(x, n) siglongjmp((x), (n)) #else # define procenv_t jmp_buf -# define setjmp_nosigs setjmp + +# define setjmp_nosigs setjmp +# define setjmp_sigs setjmp + +# define _rl_longjmp(x, n) longjmp((x), (n)) +# define sh_longjmp(x, n) longjmp((x), (n)) #endif #endif /* _POSIXJMP_H_ */ diff --git a/lib/readline/readline.c b/lib/readline/readline.c index abb29a028..e51df4f0c 100644 --- a/lib/readline/readline.c +++ b/lib/readline/readline.c @@ -1,7 +1,7 @@ /* readline.c -- a general facility for reading lines of input with emacs style editing and completion. */ -/* Copyright (C) 1987-2013 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -94,6 +94,8 @@ static void readline_initialize_everything PARAMS((void)); static void bind_arrow_keys_internal PARAMS((Keymap)); static void bind_arrow_keys PARAMS((void)); +static void bind_bracketed_paste_prefix PARAMS((void)); + static void readline_default_bindings PARAMS((void)); static void reset_default_bindings PARAMS((void)); @@ -149,7 +151,7 @@ static int running_in_emacs; #endif /* Flags word encapsulating the current readline state. */ -int rl_readline_state = RL_STATE_NONE; +unsigned long rl_readline_state = RL_STATE_NONE; /* The current offset in the current input line. */ int rl_point; @@ -306,6 +308,11 @@ int _rl_echo_control_chars = 1; the editing mode: @ for emacs, : for vi-command, + for vi-insert. */ int _rl_show_mode_in_prompt = 0; +/* Non-zero means to attempt to put the terminal in `bracketed paste mode', + where it will prefix pasted text with an escape sequence and send + another to mark the end of the paste. */ +int _rl_enable_bracketed_paste = 0; + /* **************************************************************** */ /* */ /* Top Level Functions */ @@ -379,7 +386,7 @@ readline (prompt) RL_SETSTATE (RL_STATE_CALLBACK); #endif -#if HAVE_DECL_AUDIT_TTY && defined (ENABLE_TTY_AUDIT_SUPPORT) +#if HAVE_DECL_AUDIT_USER_TTY && defined (HAVE_LIBAUDIT_H) && defined (ENABLE_TTY_AUDIT_SUPPORT) if (value) _rl_audit_tty (value); #endif @@ -525,10 +532,10 @@ readline_internal_charloop () static int lastc, eof_found; int c, code, lk; - lastc = -1; - eof_found = 0; + lastc = EOF; #if !defined (READLINE_CALLBACKS) + eof_found = 0; while (rl_done == 0) { #endif @@ -556,8 +563,7 @@ readline_internal_charloop () { /* Then initialize the argument and number of keys read. */ _rl_reset_argument (); - rl_key_sequence_length = 0; - rl_executing_keyseq[0] = 0; + rl_executing_keyseq[rl_key_sequence_length = 0] = '\0'; } RL_SETSTATE(RL_STATE_READCMD); @@ -579,15 +585,36 @@ readline_internal_charloop () #endif } - /* EOF typed to a non-blank line is a . If we want to change this, - to force any existing line to be ignored when read(2) reads EOF, - for example, this is the place to change. */ + /* EOF typed to a non-blank line is ^D the first time, EOF the second + time in a row. This won't return any partial line read from the tty. + If we want to change this, to force any existing line to be returned + when read(2) reads EOF, for example, this is the place to change. */ if (c == EOF && rl_end) - c = NEWLINE; + { + if (RL_SIG_RECEIVED ()) + { + RL_CHECK_SIGNALS (); + if (rl_signal_event_hook) + (*rl_signal_event_hook) (); /* XXX */ + } + + /* XXX - reading two consecutive EOFs returns EOF */ + if (RL_ISSTATE (RL_STATE_TERMPREPPED)) + { + if (lastc == _rl_eof_char || lastc == EOF) + rl_end = 0; + else + c = _rl_eof_char; + } + else + c = NEWLINE; + } /* The character _rl_eof_char typed to blank line, and not as the - previous character is interpreted as EOF. */ - if (((c == _rl_eof_char && lastc != c) || c == EOF) && !rl_end) + previous character is interpreted as EOF. This doesn't work when + READLINE_CALLBACKS is defined, so hitting a series of ^Ds will + erase all the chars on the line and then return EOF. */ + if (((c == _rl_eof_char && lastc != c) || c == EOF) && rl_end == 0) { #if defined (READLINE_CALLBACKS) RL_SETSTATE(RL_STATE_DONE); @@ -818,7 +845,7 @@ _rl_dispatch_subseq (key, map, got_subseq) /* Special case rl_do_lowercase_version (). */ if (func == rl_do_lowercase_version) /* Should we do anything special if key == ANYOTHERKEY? */ - return (_rl_dispatch (_rl_to_lower (key), map)); + return (_rl_dispatch (_rl_to_lower ((unsigned char)key), map)); rl_executing_keymap = map; rl_executing_key = key; @@ -888,8 +915,10 @@ _rl_dispatch_subseq (key, map, got_subseq) default) or a timeout determined by the value of `keyseq-timeout' */ /* _rl_keyseq_timeout specified in milliseconds; _rl_input_queued takes microseconds, so multiply by 1000 */ - if (rl_editing_mode == vi_mode && key == ESC && map == vi_insertion_keymap - && _rl_input_queued ((_rl_keyseq_timeout > 0) ? _rl_keyseq_timeout*1000 : 0) == 0) + if (rl_editing_mode == vi_mode && key == ESC && map == vi_insertion_keymap && + (RL_ISSTATE (RL_STATE_INPUTPENDING|RL_STATE_MACROINPUT) == 0) && + _rl_pushed_input_available () == 0 && + _rl_input_queued ((_rl_keyseq_timeout > 0) ? _rl_keyseq_timeout*1000 : 0) == 0) return (_rl_dispatch (ANYOTHERKEY, FUNCTION_TO_KEYMAP (map, key))); #endif @@ -900,6 +929,16 @@ _rl_dispatch_subseq (key, map, got_subseq) /* Allocate new context here. Use linked contexts (linked through cxt->ocxt) to simulate recursion */ #if defined (READLINE_CALLBACKS) +# if defined (VI_MODE) + /* If we're redoing a vi mode command and we know there is a shadowed + function corresponding to this key, just call it -- all the redoable + vi mode commands already have all the input they need, and rl_vi_redo + assumes that one call to rl_dispatch is sufficient to complete the + command. */ + if (_rl_vi_redoing && RL_ISSTATE (RL_STATE_CALLBACK) && + map[ANYOTHERKEY].function != 0) + return (_rl_subseq_result (-2, map, key, got_subseq)); +# endif if (RL_ISSTATE (RL_STATE_CALLBACK)) { /* Return 0 only the first time, to indicate success to @@ -947,7 +986,7 @@ _rl_dispatch_subseq (key, map, got_subseq) } else { - _rl_abort_internal (); + _rl_abort_internal (); /* XXX */ return -1; } break; @@ -962,6 +1001,7 @@ _rl_dispatch_subseq (key, map, got_subseq) } break; } + #if defined (VI_MODE) if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap && key != ANYOTHERKEY && @@ -994,22 +1034,27 @@ _rl_subseq_result (r, map, key, got_subseq) type = m[ANYOTHERKEY].type; func = m[ANYOTHERKEY].function; if (type == ISFUNC && func == rl_do_lowercase_version) - r = _rl_dispatch (_rl_to_lower (key), map); - else if (type == ISFUNC && func == rl_insert) + r = _rl_dispatch (_rl_to_lower ((unsigned char)key), map); + else if (type == ISFUNC) { - /* If the function that was shadowed was self-insert, we - somehow need a keymap with map[key].func == self-insert. - Let's use this one. */ + /* If we shadowed a function, whatever it is, we somehow need a + keymap with map[key].func == shadowed-function. + Let's use this one. Then we can dispatch using the original + key, since there are commands (e.g., in vi mode) for which it + matters. */ nt = m[key].type; nf = m[key].function; m[key].type = type; m[key].function = func; - r = _rl_dispatch (key, m); + /* Don't change _rl_dispatching_keymap, set it here */ + _rl_dispatching_keymap = map; /* previous map */ + r = _rl_dispatch_subseq (key, m, 0); m[key].type = nt; m[key].function = nf; } else + /* We probably shadowed a keymap, so keep going. */ r = _rl_dispatch (ANYOTHERKEY, m); } else if (r && map[ANYOTHERKEY].function) @@ -1179,13 +1224,17 @@ readline_initialize_everything () /* Try to bind a common arrow key prefix, if not already bound. */ bind_arrow_keys (); + /* Bind the bracketed paste prefix assuming that the user will enable + it on terminals that support it. */ + bind_bracketed_paste_prefix (); + /* If the completion parser's default word break characters haven't been set yet, then do so now. */ if (rl_completer_word_break_characters == (char *)NULL) rl_completer_word_break_characters = (char *)rl_basic_word_break_characters; #if defined (COLOR_SUPPORT) - if (_rl_colored_stats) + if (_rl_colored_stats || _rl_colored_completion_prefix) _rl_parse_colors (); #endif @@ -1289,6 +1338,22 @@ bind_arrow_keys () #endif } +static void +bind_bracketed_paste_prefix () +{ + Keymap xkeymap; + + xkeymap = _rl_keymap; + + _rl_keymap = emacs_standard_keymap; + rl_bind_keyseq_if_unbound (BRACK_PASTE_PREF, rl_bracketed_paste_begin); + + _rl_keymap = vi_insertion_keymap; + rl_bind_keyseq_if_unbound (BRACK_PASTE_PREF, rl_bracketed_paste_begin); + + _rl_keymap = xkeymap; +} + /* **************************************************************** */ /* */ /* Saving and Restoring Readline's state */ @@ -1317,6 +1382,7 @@ rl_save_state (sp) sp->lastfunc = rl_last_func; sp->insmode = rl_insert_mode; sp->edmode = rl_editing_mode; + sp->kseq = rl_executing_keyseq; sp->kseqlen = rl_key_sequence_length; sp->inf = rl_instream; sp->outf = rl_outstream; @@ -1326,6 +1392,12 @@ rl_save_state (sp) sp->catchsigs = rl_catch_signals; sp->catchsigwinch = rl_catch_sigwinch; + sp->entryfunc = rl_completion_entry_function; + sp->menuentryfunc = rl_menu_completion_entry_function; + sp->ignorefunc = rl_ignore_some_completions_function; + sp->attemptfunc = rl_attempted_completion_function; + sp->wordbreakchars = rl_completer_word_break_characters; + return (0); } @@ -1351,6 +1423,7 @@ rl_restore_state (sp) rl_last_func = sp->lastfunc; rl_insert_mode = sp->insmode; rl_editing_mode = sp->edmode; + rl_executing_keyseq = sp->kseq; rl_key_sequence_length = sp->kseqlen; rl_instream = sp->inf; rl_outstream = sp->outf; @@ -1360,5 +1433,11 @@ rl_restore_state (sp) rl_catch_signals = sp->catchsigs; rl_catch_sigwinch = sp->catchsigwinch; + rl_completion_entry_function = sp->entryfunc; + rl_menu_completion_entry_function = sp->menuentryfunc; + rl_ignore_some_completions_function = sp->ignorefunc; + rl_attempted_completion_function = sp->attemptfunc; + rl_completer_word_break_characters = sp->wordbreakchars; + return (0); } diff --git a/lib/readline/readline.h b/lib/readline/readline.h index 08dcd2bec..924bbfb0f 100644 --- a/lib/readline/readline.h +++ b/lib/readline/readline.h @@ -1,6 +1,6 @@ /* Readline.h -- the names of functions callable from within readline. */ -/* Copyright (C) 1987-2013 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -39,9 +39,9 @@ extern "C" { #endif /* Hex-encoded Readline version number. */ -#define RL_READLINE_VERSION 0x0603 /* Readline 6.3 */ -#define RL_VERSION_MAJOR 6 -#define RL_VERSION_MINOR 3 +#define RL_READLINE_VERSION 0x0700 /* Readline 7.0 */ +#define RL_VERSION_MAJOR 7 +#define RL_VERSION_MINOR 0 /* Readline data structures. */ @@ -172,8 +172,9 @@ extern int rl_yank PARAMS((int, int)); extern int rl_yank_pop PARAMS((int, int)); extern int rl_yank_nth_arg PARAMS((int, int)); extern int rl_yank_last_arg PARAMS((int, int)); -/* Not available unless __CYGWIN__ is defined. */ -#ifdef __CYGWIN__ +extern int rl_bracketed_paste_begin PARAMS((int, int)); +/* Not available unless _WIN32 is defined. */ +#if defined (_WIN32) extern int rl_paste_from_clipboard PARAMS((int, int)); #endif @@ -219,6 +220,7 @@ extern int rl_insert_close PARAMS((int, int)); extern void rl_callback_handler_install PARAMS((const char *, rl_vcpfunc_t *)); extern void rl_callback_read_char PARAMS((void)); extern void rl_callback_handler_remove PARAMS((void)); +extern void rl_callback_sigcleanup PARAMS((void)); /* Things for vi mode. Not available unless readline is compiled -DVI_MODE. */ /* VI-mode bindable commands. */ @@ -247,9 +249,11 @@ extern int rl_vi_column PARAMS((int, int)); extern int rl_vi_delete_to PARAMS((int, int)); extern int rl_vi_change_to PARAMS((int, int)); extern int rl_vi_yank_to PARAMS((int, int)); +extern int rl_vi_yank_pop PARAMS((int, int)); extern int rl_vi_rubout PARAMS((int, int)); extern int rl_vi_delete PARAMS((int, int)); extern int rl_vi_back_to_indent PARAMS((int, int)); +extern int rl_vi_unix_word_rubout PARAMS((int, int)); extern int rl_vi_first_print PARAMS((int, int)); extern int rl_vi_char_search PARAMS((int, int)); extern int rl_vi_match PARAMS((int, int)); @@ -375,6 +379,7 @@ extern void rl_redisplay PARAMS((void)); extern int rl_on_new_line PARAMS((void)); extern int rl_on_new_line_with_prompt PARAMS((void)); extern int rl_forced_update_display PARAMS((void)); +extern int rl_clear_visible_line PARAMS((void)); extern int rl_clear_message PARAMS((void)); extern int rl_reset_line_state PARAMS((void)); extern int rl_crlf PARAMS((void)); @@ -389,6 +394,7 @@ extern int rl_show_char PARAMS((int)); /* Undocumented in texinfo manual. */ extern int rl_character_len PARAMS((int, int)); +extern void rl_redraw_prompt_last_line PARAMS((void)); /* Save and restore internal prompt redisplay information. */ extern void rl_save_prompt PARAMS((void)); @@ -436,6 +442,8 @@ extern void rl_cleanup_after_signal PARAMS((void)); extern void rl_reset_after_signal PARAMS((void)); extern void rl_free_line_state PARAMS((void)); +extern int rl_pending_signal PARAMS((void)); + extern void rl_echo_signal_char PARAMS((int)); extern int rl_set_paren_blink_timeout PARAMS((int)); @@ -489,7 +497,7 @@ extern int rl_readline_version; /* e.g., 0x0402 */ extern int rl_gnu_readline_p; /* Flags word encapsulating the current readline state. */ -extern int rl_readline_state; +extern unsigned long rl_readline_state; /* Says which editing mode readline is currently using. 1 means emacs mode; 0 means vi mode. */ @@ -634,7 +642,7 @@ extern rl_compentry_func_t *rl_completion_entry_function; /* Optional generator for menu completion. Default is rl_completion_entry_function (rl_filename_completion_function). */ - extern rl_compentry_func_t *rl_menu_completion_entry_function; +extern rl_compentry_func_t *rl_menu_completion_entry_function; /* If rl_ignore_some_completions_function is non-NULL it is the address of a function to call after all of the possible matches have been @@ -826,6 +834,14 @@ extern int rl_ignore_completion_duplicates; completion character will be inserted as any other. */ extern int rl_inhibit_completion; +/* Applications can set this to non-zero to have readline's signal handlers + installed during the entire duration of reading a complete line, as in + readline-6.2. This should be used with care, because it can result in + readline receiving signals and not handling them until it's called again + via rl_callback_read_char, thereby stealing them from the application. + By default, signal handlers are only active while readline is active. */ +extern int rl_persistent_signal_handlers; + /* Input error; can be returned by (*rl_getc_function) if readline is reading a top-level command (RL_ISSTATE (RL_STATE_READCMD)). */ #define READERR (-2) @@ -866,9 +882,10 @@ extern int rl_inhibit_completion; #define RL_STATE_VIMOTION 0x0100000 /* reading vi motion arg */ #define RL_STATE_MULTIKEY 0x0200000 /* reading multiple-key command */ #define RL_STATE_VICMDONCE 0x0400000 /* entered vi command mode at least once */ -#define RL_STATE_REDISPLAYING 0x0800000 /* updating terminal display */ +#define RL_STATE_CHARSEARCH 0x0800000 /* vi mode char search */ +#define RL_STATE_REDISPLAYING 0x1000000 /* updating terminal display */ -#define RL_STATE_DONE 0x1000000 /* done; accepted line */ +#define RL_STATE_DONE 0x2000000 /* done; accepted line */ #define RL_SETSTATE(x) (rl_readline_state |= (x)) #define RL_UNSETSTATE(x) (rl_readline_state &= ~(x)) @@ -879,8 +896,8 @@ struct readline_state { int point; int end; int mark; - char *buffer; int buflen; + char *buffer; UNDO_LIST *ul; char *prompt; @@ -893,10 +910,12 @@ struct readline_state { rl_command_func_t *lastfunc; int insmode; int edmode; + char *kseq; int kseqlen; + + int pendingin; FILE *inf; FILE *outf; - int pendingin; char *macro; /* signal state */ @@ -906,9 +925,16 @@ struct readline_state { /* search state */ /* completion state */ + rl_compentry_func_t *entryfunc; + rl_compentry_func_t *menuentryfunc; + rl_compignore_func_t *ignorefunc; + rl_completion_func_t *attemptfunc; + char *wordbreakchars; /* options state */ + /* hook state */ + /* reserved for future expansion, so the struct size doesn't change */ char reserved[64]; }; diff --git a/lib/readline/rlconf.h b/lib/readline/rlconf.h index 1a40afce0..98c970aab 100644 --- a/lib/readline/rlconf.h +++ b/lib/readline/rlconf.h @@ -1,6 +1,6 @@ /* rlconf.h -- readline configuration definitions */ -/* Copyright (C) 1992-2012 Free Software Foundation, Inc. +/* Copyright (C) 1992-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -64,6 +64,16 @@ /* Define this if you want to enable code that talks to the Linux kernel tty auditing system. */ -#define ENABLE_TTY_AUDIT_SUPPORT +/* #define ENABLE_TTY_AUDIT_SUPPORT */ + +/* Defaults for the various editing mode indicators, inserted at the beginning + of the last (maybe only) line of the prompt if show-mode-in-prompt is on */ +#define RL_EMACS_MODESTR_DEFAULT "@" +#define RL_EMACS_MODESTR_DEFLEN 1 + +#define RL_VI_INS_MODESTR_DEFAULT "(ins)" +#define RL_VI_INS_MODESTR_DEFLEN 5 +#define RL_VI_CMD_MODESTR_DEFAULT "(cmd)" +#define RL_VI_CMD_MODESTR_DEFLEN 5 #endif /* _RLCONF_H_ */ diff --git a/lib/readline/rlmbutil.h b/lib/readline/rlmbutil.h index 06d85ab37..4748a610b 100644 --- a/lib/readline/rlmbutil.h +++ b/lib/readline/rlmbutil.h @@ -1,6 +1,6 @@ /* rlmbutil.h -- utility functions for multibyte characters. */ -/* Copyright (C) 2001-2009 Free Software Foundation, Inc. +/* Copyright (C) 2001-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -123,13 +123,53 @@ extern int _rl_walphabetic PARAMS((wchar_t)); #define MB_INVALIDCH(x) ((x) == (size_t)-1 || (x) == (size_t)-2) #define MB_NULLWCH(x) ((x) == 0) +/* Try and shortcut the printable ascii characters to cut down the number of + calls to a libc wcwidth() */ +static inline int +_rl_wcwidth (wc) + wchar_t wc; +{ + switch (wc) + { + case ' ': case '!': case '"': case '#': case '%': + case '&': case '\'': case '(': case ')': case '*': + case '+': case ',': case '-': case '.': case '/': + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': + case ':': case ';': case '<': case '=': case '>': + case '?': + case 'A': case 'B': case 'C': case 'D': case 'E': + case 'F': case 'G': case 'H': case 'I': case 'J': + case 'K': case 'L': case 'M': case 'N': case 'O': + case 'P': case 'Q': case 'R': case 'S': case 'T': + case 'U': case 'V': case 'W': case 'X': case 'Y': + case 'Z': + case '[': case '\\': case ']': case '^': case '_': + case 'a': case 'b': case 'c': case 'd': case 'e': + case 'f': case 'g': case 'h': case 'i': case 'j': + case 'k': case 'l': case 'm': case 'n': case 'o': + case 'p': case 'q': case 'r': case 's': case 't': + case 'u': case 'v': case 'w': case 'x': case 'y': + case 'z': case '{': case '|': case '}': case '~': + return 1; + default: + return wcwidth (wc); + } +} + /* Unicode combining characters range from U+0300 to U+036F */ #define UNICODE_COMBINING_CHAR(x) ((x) >= 768 && (x) <= 879) #if defined (WCWIDTH_BROKEN) -# define WCWIDTH(wc) ((_rl_utf8locale && UNICODE_COMBINING_CHAR(wc)) ? 0 : wcwidth(wc)) +# define WCWIDTH(wc) ((_rl_utf8locale && UNICODE_COMBINING_CHAR(wc)) ? 0 : _rl_wcwidth(wc)) +#else +# define WCWIDTH(wc) _rl_wcwidth(wc) +#endif + +#if defined (WCWIDTH_BROKEN) +# define IS_COMBINING_CHAR(x) (WCWIDTH(x) == 0 && iswcntrl(x) == 0) #else -# define WCWIDTH(wc) wcwidth(wc) +# define IS_COMBINING_CHAR(x) (WCWIDTH(x) == 0) #endif #else /* !HANDLE_MULTIBYTE */ diff --git a/lib/readline/rlprivate.h b/lib/readline/rlprivate.h index 14a370d20..fc3856a1b 100644 --- a/lib/readline/rlprivate.h +++ b/lib/readline/rlprivate.h @@ -1,7 +1,7 @@ /* rlprivate.h -- functions and variables global to the readline library, but not intended for use by applications. */ -/* Copyright (C) 1999-2012 Free Software Foundation, Inc. +/* Copyright (C) 1999-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -44,6 +44,7 @@ #define RL_SIG_RECEIVED() (_rl_caught_signal != 0) #define RL_SIGINT_RECEIVED() (_rl_caught_signal == SIGINT) +#define RL_SIGWINCH_RECEIVED() (_rl_caught_signal == SIGWINCH) #define CUSTOM_REDISPLAY_FUNC() (rl_redisplay_function != rl_redisplay) #define CUSTOM_INPUT_FUNC() (rl_getc_function != rl_getc) @@ -124,10 +125,11 @@ typedef struct __rl_keyseq_context int flags; int subseq_arg; int subseq_retval; /* XXX */ - Keymap dmap; + int okey; + Keymap dmap; Keymap oldmap; - int okey; + struct __rl_keyseq_context *ocxt; int childval; } _rl_keyseq_cxt; @@ -185,6 +187,7 @@ extern int rl_visible_stats; #endif /* VISIBLE_STATS */ #if defined (COLOR_SUPPORT) extern int _rl_colored_stats; +extern int _rl_colored_completion_prefix; #endif /* readline.c */ @@ -290,9 +293,20 @@ extern void _rl_scxt_dispose PARAMS((_rl_search_cxt *, int)); extern int _rl_isearch_dispatch PARAMS((_rl_search_cxt *, int)); extern int _rl_isearch_callback PARAMS((_rl_search_cxt *)); +extern int _rl_isearch_cleanup PARAMS((_rl_search_cxt *, int)); extern int _rl_search_getchar PARAMS((_rl_search_cxt *)); +/* kill.c */ +#define BRACK_PASTE_PREF "\033[200~" +#define BRACK_PASTE_SUFF "\033[201~" + +#define BRACK_PASTE_LAST '~' +#define BRACK_PASTE_SLEN 6 + +#define BRACK_PASTE_INIT "\033[?2004h" +#define BRACK_PASTE_FINI "\033[?2004l" + /* macro.c */ extern void _rl_with_macro_input PARAMS((char *)); extern int _rl_next_macro_key PARAMS((void)); @@ -334,6 +348,7 @@ extern int _rl_restore_tty_signals PARAMS((void)); /* search.c */ extern int _rl_nsearch_callback PARAMS((_rl_search_cxt *)); +extern int _rl_nsearch_cleanup PARAMS((_rl_search_cxt *, int)); /* signals.c */ extern void _rl_signal_handler PARAMS((int)); @@ -410,8 +425,10 @@ extern void _rl_vi_initialize_line PARAMS((void)); extern void _rl_vi_reset_last PARAMS((void)); extern void _rl_vi_set_last PARAMS((int, int, int)); extern int _rl_vi_textmod_command PARAMS((int)); +extern int _rl_vi_motion_command PARAMS((int)); extern void _rl_vi_done_inserting PARAMS((void)); extern int _rl_vi_domove_callback PARAMS((_rl_vimotion_cxt *)); +extern int _rl_vi_domove_motion_cleanup PARAMS((int, _rl_vimotion_cxt *)); /************************************************************************* * Undocumented private variables * @@ -446,6 +463,13 @@ extern int _rl_last_c_pos; extern int _rl_suppress_redisplay; extern int _rl_want_redisplay; +extern char *_rl_emacs_mode_str; +extern int _rl_emacs_modestr_len; +extern char *_rl_vi_ins_mode_str; +extern int _rl_vi_ins_modestr_len; +extern char *_rl_vi_cmd_mode_str; +extern int _rl_vi_cmd_modestr_len; + /* isearch.c */ extern char *_rl_isearch_terminators; @@ -475,6 +499,7 @@ extern int _rl_bind_stty_chars; extern int _rl_revert_all_at_newline; extern int _rl_echo_control_chars; extern int _rl_show_mode_in_prompt; +extern int _rl_enable_bracketed_paste; extern char *_rl_comment_begin; extern unsigned char _rl_parsing_conditionalized_out; extern Keymap _rl_keymap; @@ -524,12 +549,16 @@ extern int _rl_screenchars; extern int _rl_terminal_can_insert; extern int _rl_term_autowrap; +/* text.c */ +extern int _rl_optimize_typeahead; + /* undo.c */ extern int _rl_doing_an_undo; extern int _rl_undo_group_level; /* vi_mode.c */ extern int _rl_vi_last_command; +extern int _rl_vi_redoing; extern _rl_vimotion_cxt *_rl_vimvcxt; #endif /* _RL_PRIVATE_H_ */ diff --git a/lib/readline/rltty.c b/lib/readline/rltty.c index 908bae18c..b1c792941 100644 --- a/lib/readline/rltty.c +++ b/lib/readline/rltty.c @@ -1,10 +1,10 @@ /* rltty.c -- functions to prepare and restore the terminal for readline's use. */ -/* Copyright (C) 1992-2005 Free Software Foundation, Inc. +/* Copyright (C) 1992-2016 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library - for reading lines of text with interactive input and history editing. + for reading lines of text with interactive input and history editing. Readline is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,11 +37,11 @@ #include "rldefs.h" -#if defined (GWINSZ_IN_SYS_IOCTL) -# include -#endif /* GWINSZ_IN_SYS_IOCTL */ - #include "rltty.h" +#if defined (HAVE_SYS_IOCTL_H) +# include /* include for declaration of ioctl */ +#endif + #include "readline.h" #include "rlprivate.h" @@ -60,7 +60,13 @@ static void set_winsize PARAMS((int)); /* */ /* **************************************************************** */ -/* Non-zero means that the terminal is in a prepped state. */ +/* Non-zero means that the terminal is in a prepped state. There are several + flags that are OR'd in to denote whether or not we have sent various + init strings to the terminal. */ +#define TPX_PREPPED 0x01 +#define TPX_BRACKPASTE 0x02 +#define TPX_METAKEY 0x04 + static int terminal_prepped; static _RL_TTY_CHARS _rl_tty_chars, _rl_last_tty_chars; @@ -595,7 +601,7 @@ void rl_prep_terminal (meta_flag) int meta_flag; { - int tty; + int tty, nprep; TIOTYPE tio; if (terminal_prepped) @@ -642,7 +648,7 @@ rl_prep_terminal (meta_flag) /* If editing in vi mode, make sure we set the bindings in the insertion keymap no matter what keymap we ended up in. */ if (rl_editing_mode == vi_mode) - _rl_bind_tty_special_chars (vi_insertion_keymap, tio); + _rl_bind_tty_special_chars (vi_insertion_keymap, tio); else #endif _rl_bind_tty_special_chars (_rl_keymap, tio); @@ -659,8 +665,16 @@ rl_prep_terminal (meta_flag) if (_rl_enable_keypad) _rl_control_keypad (1); + nprep = TPX_PREPPED; + + if (_rl_enable_bracketed_paste) + { + fprintf (rl_outstream, BRACK_PASTE_INIT); + nprep |= TPX_BRACKPASTE; + } + fflush (rl_outstream); - terminal_prepped = 1; + terminal_prepped = nprep; RL_SETSTATE(RL_STATE_TERMPREPPED); _rl_release_sigint (); @@ -672,7 +686,7 @@ rl_deprep_terminal () { int tty; - if (!terminal_prepped) + if (terminal_prepped == 0) return; /* Try to keep this function from being interrupted. */ @@ -680,6 +694,9 @@ rl_deprep_terminal () tty = rl_instream ? fileno (rl_instream) : fileno (stdin); + if (terminal_prepped & TPX_BRACKPASTE) + fprintf (rl_outstream, BRACK_PASTE_FINI); + if (_rl_enable_keypad) _rl_control_keypad (0); @@ -697,6 +714,19 @@ rl_deprep_terminal () _rl_release_sigint (); } #endif /* !NO_TTY_DRIVER */ + +/* Set readline's idea of whether or not it is echoing output to the terminal, + returning the old value. */ +int +rl_tty_set_echoing (u) + int u; +{ + int o; + + o = _rl_echoing_p; + _rl_echoing_p = u; + return o; +} /* **************************************************************** */ /* */ @@ -859,6 +889,11 @@ _rl_bind_tty_special_chars (kmap, ttybuff) # endif /* VLNEXT && TERMIOS_TTY_DRIVER */ # if defined (VWERASE) && defined (TERMIOS_TTY_DRIVER) +# if defined (VI_MODE) + if (rl_editing_mode == vi_mode) + SET_SPECIAL (VWERASE, rl_vi_unix_word_rubout); + else +# endif SET_SPECIAL (VWERASE, rl_unix_word_rubout); # endif /* VWERASE && TERMIOS_TTY_DRIVER */ } diff --git a/lib/readline/rltypedefs.h b/lib/readline/rltypedefs.h index b113ee6e9..f9f5cd3a5 100644 --- a/lib/readline/rltypedefs.h +++ b/lib/readline/rltypedefs.h @@ -26,6 +26,25 @@ extern "C" { #endif +/* Old-style, attempt to mark as deprecated in some way people will notice. */ + +#if !defined (_FUNCTION_DEF) +# define _FUNCTION_DEF + +#if defined(__GNUC__) || defined(__clang__) +typedef int Function () __attribute__ ((deprecated)); +typedef void VFunction () __attribute__ ((deprecated)); +typedef char *CPFunction () __attribute__ ((deprecated)); +typedef char **CPPFunction () __attribute__ ((deprecated)); +#else +typedef int Function (); +typedef void VFunction (); +typedef char *CPFunction (); +typedef char **CPPFunction (); +#endif + +#endif /* _FUNCTION_DEF */ + /* New style. */ #if !defined (_RL_FUNCTION_TYPEDEF) diff --git a/lib/readline/search.c b/lib/readline/search.c index 028c25052..45d95d2e7 100644 --- a/lib/readline/search.c +++ b/lib/readline/search.c @@ -1,6 +1,6 @@ /* search.c - code for non-incremental searching in emacs and vi modes. */ -/* Copyright (C) 1992-2013 Free Software Foundation, Inc. +/* Copyright (C) 1992-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -58,7 +58,7 @@ _rl_search_cxt *_rl_nscxt = 0; extern HIST_ENTRY *_rl_saved_line_for_history; /* Functions imported from the rest of the library. */ -extern int _rl_free_history_entry PARAMS((HIST_ENTRY *)); +extern void _rl_free_history_entry PARAMS((HIST_ENTRY *)); static char *noninc_search_string = (char *) NULL; static int noninc_history_pos; @@ -80,7 +80,6 @@ static int rl_history_search_internal PARAMS((int, int)); static void rl_history_search_reinit PARAMS((int)); static _rl_search_cxt *_rl_nsearch_init PARAMS((int, int)); -static int _rl_nsearch_cleanup PARAMS((_rl_search_cxt *, int)); static void _rl_nsearch_abort PARAMS((_rl_search_cxt *)); static int _rl_nsearch_dispatch PARAMS((_rl_search_cxt *, int)); @@ -224,7 +223,7 @@ _rl_nsearch_init (dir, pchar) return cxt; } -static int +int _rl_nsearch_cleanup (cxt, r) _rl_search_cxt *cxt; int r; @@ -411,7 +410,7 @@ rl_noninc_forward_search_again (count, key) if (!noninc_search_string) { rl_ding (); - return (-1); + return (1); } r = noninc_dosearch (noninc_search_string, 1); return (r != 1); @@ -428,7 +427,7 @@ rl_noninc_reverse_search_again (count, key) if (!noninc_search_string) { rl_ding (); - return (-1); + return (1); } r = noninc_dosearch (noninc_search_string, -1); return (r != 1); diff --git a/lib/readline/signals.c b/lib/readline/signals.c index 61f02f9f7..927f53230 100644 --- a/lib/readline/signals.c +++ b/lib/readline/signals.c @@ -1,6 +1,6 @@ /* signals.c -- signal handling support for readline. */ -/* Copyright (C) 1987-2011 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -213,15 +213,31 @@ _rl_handle_signal (sig) case SIGINT: _rl_reset_completion_state (); rl_free_line_state (); +#if defined (READLINE_CALLBACKS) + rl_callback_sigcleanup (); +#endif + /* FALLTHROUGH */ - case SIGTERM: - case SIGHUP: #if defined (SIGTSTP) case SIGTSTP: - case SIGTTOU: case SIGTTIN: +# if defined (HAVE_POSIX_SIGNALS) + /* Block SIGTTOU so we can restore the terminal settings to something + sane without stopping on SIGTTOU if we have been placed into the + background. Even trying to get the current terminal pgrp with + tcgetpgrp() will generate SIGTTOU, so we don't bother. Don't bother + doing this if we've been stopped on SIGTTOU; it's aready too late. */ + sigemptyset (&set); + sigaddset (&set, SIGTTOU); + sigprocmask (SIG_BLOCK, &set, (sigset_t *)NULL); +# endif + case SIGTTOU: #endif /* SIGTSTP */ + case SIGTERM: +#if defined (SIGHUP) + case SIGHUP: +#endif #if defined (SIGALRM) case SIGALRM: #endif @@ -232,6 +248,10 @@ _rl_handle_signal (sig) rl_cleanup_after_signal (); #if defined (HAVE_POSIX_SIGNALS) + /* Unblock SIGTTOU blocked above */ + if (sig == SIGTTIN || sig == SIGTSTP) + sigprocmask (SIG_UNBLOCK, &set, (sigset_t *)NULL); + sigemptyset (&set); sigprocmask (SIG_BLOCK, (sigset_t *)NULL, &set); sigdelset (&set, sig); @@ -397,7 +417,9 @@ rl_set_signals () sigaddset (&bset, SIGINT); sigaddset (&bset, SIGTERM); +#if defined (SIGHUP) sigaddset (&bset, SIGHUP); +#endif #if defined (SIGQUIT) sigaddset (&bset, SIGQUIT); #endif @@ -426,7 +448,9 @@ rl_set_signals () rl_maybe_set_sighandler (SIGINT, rl_signal_handler, &old_int); rl_maybe_set_sighandler (SIGTERM, rl_signal_handler, &old_term); +#if defined (SIGHUP) rl_maybe_set_sighandler (SIGHUP, rl_signal_handler, &old_hup); +#endif #if defined (SIGQUIT) rl_maybe_set_sighandler (SIGQUIT, rl_signal_handler, &old_quit); #endif @@ -491,7 +515,9 @@ rl_clear_signals () overhead */ rl_maybe_restore_sighandler (SIGINT, &old_int); rl_maybe_restore_sighandler (SIGTERM, &old_term); +#if defined (SIGHUP) rl_maybe_restore_sighandler (SIGHUP, &old_hup); +#endif #if defined (SIGQUIT) rl_maybe_restore_sighandler (SIGQUIT, &old_quit); #endif @@ -567,6 +593,11 @@ rl_free_line_state () _rl_reset_argument (); } +int +rl_pending_signal () +{ + return (_rl_caught_signal); +} #endif /* HANDLE_SIGNALS */ /* **************************************************************** */ diff --git a/lib/readline/tcap.h b/lib/readline/tcap.h index 9d09b7a9c..859e6eed5 100644 --- a/lib/readline/tcap.h +++ b/lib/readline/tcap.h @@ -1,6 +1,6 @@ /* tcap.h -- termcap library functions and variables. */ -/* Copyright (C) 1996-2009 Free Software Foundation, Inc. +/* Copyright (C) 1996-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -31,6 +31,8 @@ # include "rltty.h" # endif # include +#elif defined (HAVE_NCURSES_TERMCAP_H) +# include #else /* On Solaris2, sys/types.h #includes sys/reg.h, which #defines PC. diff --git a/lib/readline/terminal.c b/lib/readline/terminal.c index 1212ec469..ef2884e0f 100644 --- a/lib/readline/terminal.c +++ b/lib/readline/terminal.c @@ -1,6 +1,6 @@ /* terminal.c -- controlling the terminal with termcap. */ -/* Copyright (C) 1996-2009 Free Software Foundation, Inc. +/* Copyright (C) 1996-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -51,15 +51,14 @@ /* System-specific feature definitions and include files. */ #include "rldefs.h" -#if defined (GWINSZ_IN_SYS_IOCTL) && !defined (TIOCGWINSZ) -# include -#endif /* GWINSZ_IN_SYS_IOCTL && !TIOCGWINSZ */ - #ifdef __MSDOS__ # include #endif #include "rltty.h" +#if defined (HAVE_SYS_IOCTL_H) +# include /* include for declaration of ioctl */ +#endif #include "tcap.h" /* Some standard library routines. */ diff --git a/lib/readline/text.c b/lib/readline/text.c index f29adf810..c353252bc 100644 --- a/lib/readline/text.c +++ b/lib/readline/text.c @@ -1,6 +1,6 @@ /* text.c -- text handling commands for readline. */ -/* Copyright (C) 1987-2010 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -71,6 +71,8 @@ static int _rl_char_search_callback PARAMS((_rl_callback_generic_arg *)); rl_insert_text. Text blocks larger than this are divided. */ #define TEXT_COUNT_MAX 1024 +int _rl_optimize_typeahead = 1; /* rl_insert tries to read typeahead */ + /* **************************************************************** */ /* */ /* Insert and Delete */ @@ -570,7 +572,7 @@ rl_refresh_line (ignore1, ignore2) _rl_clear_to_eol (0); /* arg of 0 means to not use spaces */ - rl_forced_update_display (); + rl_redraw_prompt_last_line (); rl_display_fixed = 1; return 0; @@ -608,7 +610,7 @@ rl_skip_csi_sequence (count, key) while (ch >= 0x20 && ch < 0x40); RL_UNSETSTATE (RL_STATE_MOREINPUT); - return 0; + return (ch < 0); } int @@ -620,6 +622,8 @@ rl_arrow_keys (count, c) RL_SETSTATE(RL_STATE_MOREINPUT); ch = rl_read_key (); RL_UNSETSTATE(RL_STATE_MOREINPUT); + if (ch < 0) + return (1); switch (_rl_to_upper (ch)) { @@ -890,8 +894,49 @@ int rl_insert (count, c) int count, c; { - return (rl_insert_mode == RL_IM_INSERT ? _rl_insert_char (count, c) - : _rl_overwrite_char (count, c)); + int r, n, x; + + r = (rl_insert_mode == RL_IM_INSERT) ? _rl_insert_char (count, c) : _rl_overwrite_char (count, c); + + /* XXX -- attempt to batch-insert pending input that maps to self-insert */ + x = 0; + n = (unsigned short)-2; + while (_rl_optimize_typeahead && + (RL_ISSTATE (RL_STATE_INPUTPENDING|RL_STATE_MACROINPUT) == 0) && + _rl_pushed_input_available () == 0 && + _rl_input_queued (0) && + (n = rl_read_key ()) > 0 && + _rl_keymap[(unsigned char)n].type == ISFUNC && + _rl_keymap[(unsigned char)n].function == rl_insert) + { + r = (rl_insert_mode == RL_IM_INSERT) ? _rl_insert_char (1, n) : _rl_overwrite_char (1, n); + /* _rl_insert_char keeps its own set of pending characters to compose a + complete multibyte character, and only returns 1 if it sees a character + that's part of a multibyte character but too short to complete one. We + can try to read another character in the hopes that we will get the + next one or just punt. Right now we try to read another character. + We don't want to call rl_insert_next if _rl_insert_char has already + stored the character in the pending_bytes array because that will + result in doubled input. */ + n = (unsigned short)-2; + x++; /* count of bytes of typeahead read, currently unused */ + if (r == 1) /* read partial multibyte character */ + continue; + if (rl_done || r != 0) + break; + } + + if (n != (unsigned short)-2) /* -2 = sentinel value for having inserted N */ + { + /* setting rl_pending_input inhibits setting rl_last_func so we do it + ourselves here */ + rl_last_func = rl_insert; + _rl_reset_argument (); + rl_executing_keyseq[rl_key_sequence_length = 0] = '\0'; + r = rl_execute_next (n); + } + + return r; } /* Insert the next typed character verbatim. */ @@ -906,7 +951,7 @@ _rl_insert_next (count) RL_UNSETSTATE(RL_STATE_MOREINPUT); if (c < 0) - return -1; + return 1; if (RL_ISSTATE (RL_STATE_MACRODEF)) _rl_add_macro_char (c); @@ -1066,7 +1111,7 @@ rl_rubout (count, key) if (!rl_point) { rl_ding (); - return -1; + return 1; } if (rl_insert_mode == RL_IM_OVERWRITE) @@ -1089,7 +1134,7 @@ _rl_rubout_char (count, key) if (rl_point == 0) { rl_ding (); - return -1; + return 1; } orig_point = rl_point; @@ -1103,7 +1148,7 @@ _rl_rubout_char (count, key) c = rl_line_buffer[--rl_point]; rl_delete_text (rl_point, orig_point); /* The erase-at-end-of-line hack is of questionable merit now. */ - if (rl_point == rl_end && ISPRINT (c) && _rl_last_c_pos) + if (rl_point == rl_end && ISPRINT ((unsigned char)c) && _rl_last_c_pos) { int l; l = rl_character_len (c, rl_point); @@ -1133,7 +1178,7 @@ rl_delete (count, key) if (rl_point == rl_end) { rl_ding (); - return -1; + return 1; } if (count > 1 || rl_explicit_arg) @@ -1303,7 +1348,7 @@ rl_change_case (count, op) if (op != UpCase && op != DownCase && op != CapCase) { rl_ding (); - return -1; + return 1; } if (count < 0) @@ -1337,7 +1382,7 @@ rl_change_case (count, op) } else nop = op; - if (MB_CUR_MAX == 1 || rl_byte_oriented || isascii (c)) + if (MB_CUR_MAX == 1 || rl_byte_oriented || isascii ((unsigned char)c)) { nc = (nop == UpCase) ? _rl_to_upper (c) : _rl_to_lower (c); rl_line_buffer[start] = nc; @@ -1403,7 +1448,7 @@ rl_transpose_words (count, key) { rl_ding (); rl_point = orig_point; - return -1; + return 1; } /* Get the text of the words. */ @@ -1456,7 +1501,7 @@ rl_transpose_chars (count, key) if (!rl_point || rl_end < 2) { rl_ding (); - return -1; + return 1; } rl_begin_undo_group (); @@ -1519,7 +1564,7 @@ _rl_char_search_internal (count, dir, schar) #endif if (dir == 0) - return -1; + return 1; pos = rl_point; inc = (dir < 0) ? -1 : 1; @@ -1528,7 +1573,7 @@ _rl_char_search_internal (count, dir, schar) if ((dir < 0 && pos <= 0) || (dir > 0 && pos >= rl_end)) { rl_ding (); - return -1; + return 1; } #if defined (HANDLE_MULTIBYTE) @@ -1583,7 +1628,7 @@ _rl_char_search (count, fdir, bdir) mb_len = _rl_read_mbchar (mbchar, MB_LEN_MAX); if (mb_len <= 0) - return -1; + return 1; if (count < 0) return (_rl_char_search_internal (-count, bdir, mbchar, mb_len)); @@ -1602,7 +1647,7 @@ _rl_char_search (count, fdir, bdir) RL_UNSETSTATE(RL_STATE_MOREINPUT); if (c < 0) - return -1; + return 1; if (count < 0) return (_rl_char_search_internal (-count, bdir, c)); @@ -1671,7 +1716,7 @@ _rl_set_mark_at_pos (position) int position; { if (position > rl_end) - return -1; + return 1; rl_mark = position; return 0; @@ -1696,7 +1741,7 @@ rl_exchange_point_and_mark (count, key) if (rl_mark == -1) { rl_ding (); - return -1; + return 1; } else SWAP (rl_point, rl_mark); diff --git a/lib/readline/tilde.c b/lib/readline/tilde.c index 1c53a457d..95bc4215c 100644 --- a/lib/readline/tilde.c +++ b/lib/readline/tilde.c @@ -236,7 +236,11 @@ tilde_expand (string) string += end; expansion = tilde_expand_word (tilde_word); - xfree (tilde_word); + + if (expansion == 0) + expansion = tilde_word; + else + xfree (tilde_word); len = strlen (expansion); #ifdef __CYGWIN__ @@ -360,6 +364,10 @@ tilde_expand_word (filename) { /* Prefix $HOME to the rest of the string. */ expansion = sh_get_env_value ("HOME"); +#if defined (_WIN32) + if (expansion == 0) + expansion = sh_get_env_value ("APPDATA"); +#endif /* If there is no HOME variable, look up the directory in the password database. */ diff --git a/lib/readline/undo.c b/lib/readline/undo.c index e9369b1a1..58363040c 100644 --- a/lib/readline/undo.c +++ b/lib/readline/undo.c @@ -1,7 +1,6 @@ -/* readline.c -- a general facility for reading lines of input - with emacs style editing and completion. */ +/* undo.c - manage list of changes to lines, offering opportunity to undo them */ -/* Copyright (C) 1987-2012 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -50,7 +49,7 @@ #include "rlprivate.h" #include "xmalloc.h" -extern void replace_history_data PARAMS((int, histdata_t *, histdata_t *)); +extern void _hs_replace_history_data PARAMS((int, histdata_t *, histdata_t *)); /* Non-zero tells rl_delete_text and rl_insert_text to not add to the undo list. */ @@ -129,7 +128,7 @@ rl_free_undo_list () orig_list = rl_undo_list; _rl_free_undo_list (rl_undo_list); rl_undo_list = (UNDO_LIST *)NULL; - replace_history_data (-1, (histdata_t *)orig_list, (histdata_t *)NULL); + _hs_replace_history_data (-1, (histdata_t *)orig_list, (histdata_t *)NULL); } UNDO_LIST * @@ -245,7 +244,7 @@ rl_do_undo () xfree (temp); } - replace_history_data (-1, (histdata_t *)release, (histdata_t *)rl_undo_list); + _hs_replace_history_data (-1, (histdata_t *)release, (histdata_t *)rl_undo_list); xfree (release); } diff --git a/lib/readline/util.c b/lib/readline/util.c index fa3a66718..4589c61f9 100644 --- a/lib/readline/util.c +++ b/lib/readline/util.c @@ -1,6 +1,6 @@ /* util.c -- readline utility functions */ -/* Copyright (C) 1987-2012 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -55,6 +55,7 @@ #include "rlprivate.h" #include "xmalloc.h" +#include "rlshell.h" /* **************************************************************** */ /* */ @@ -107,12 +108,11 @@ _rl_abort_internal () while (rl_executing_macro) _rl_pop_executing_macro (); + RL_UNSETSTATE (RL_STATE_MULTIKEY); /* XXX */ + rl_last_func = (rl_command_func_t *)NULL; -#if defined (HAVE_POSIX_SIGSETJMP) - siglongjmp (_rl_top_level, 1); -#else - longjmp (_rl_top_level, 1); -#endif + + _rl_longjmp (_rl_top_level, 1); return (0); } @@ -198,12 +198,14 @@ rl_tilde_expand (ignore, key) xfree (homedir); return (0); } - else if (rl_line_buffer[start] != '~') + else if (start >= 0 && rl_line_buffer[start] != '~') { for (; !whitespace (rl_line_buffer[start]) && start >= 0; start--) ; start++; } + else if (start < 0) + start = 0; end = start; do @@ -476,6 +478,7 @@ _rl_savestring (s) return (strcpy ((char *)xmalloc (1 + (int)strlen (s)), (s))); } +#if defined (DEBUG) #if defined (USE_VARARGS) static FILE *_rl_tracefp; @@ -511,11 +514,18 @@ _rl_trace (va_alist) int _rl_tropen () { - char fnbuf[128]; + char fnbuf[128], *x; if (_rl_tracefp) fclose (_rl_tracefp); - sprintf (fnbuf, "/var/tmp/rltrace.%ld", (long)getpid()); +#if defined (_WIN32) && !defined (__CYGWIN__) + x = sh_get_env_value ("TEMP"); + if (x == 0) + x = "."; +#else + x = "/var/tmp"; +#endif + sprintf (fnbuf, "%s/rltrace.%ld", x, (long)getpid()); unlink(fnbuf); _rl_tracefp = fopen (fnbuf, "w+"); return _rl_tracefp != 0; @@ -538,10 +548,12 @@ _rl_settracefp (fp) _rl_tracefp = fp; } #endif +#endif /* DEBUG */ -#if HAVE_DECL_AUDIT_USER_TTY && defined (ENABLE_TTY_AUDIT_SUPPORT) +#if HAVE_DECL_AUDIT_USER_TTY && defined (HAVE_LIBAUDIT_H) && defined (ENABLE_TTY_AUDIT_SUPPORT) #include +#include #include #include @@ -550,42 +562,33 @@ void _rl_audit_tty (string) char *string; { + struct audit_message req; struct sockaddr_nl addr; - struct msghdr msg; - struct nlmsghdr nlm; - struct iovec iov[2]; size_t size; int fd; - fd = socket (AF_NETLINK, SOCK_RAW, NETLINK_AUDIT); + fd = socket (PF_NETLINK, SOCK_RAW, NETLINK_AUDIT); if (fd < 0) return; size = strlen (string) + 1; - nlm.nlmsg_len = NLMSG_LENGTH (size); - nlm.nlmsg_type = AUDIT_USER_TTY; - nlm.nlmsg_flags = NLM_F_REQUEST; - nlm.nlmsg_seq = 0; - nlm.nlmsg_pid = 0; + if (NLMSG_SPACE (size) > MAX_AUDIT_MESSAGE_LENGTH) + return; - iov[0].iov_base = &nlm; - iov[0].iov_len = sizeof (nlm); - iov[1].iov_base = string; - iov[1].iov_len = size; + memset (&req, 0, sizeof(req)); + req.nlh.nlmsg_len = NLMSG_SPACE (size); + req.nlh.nlmsg_type = AUDIT_USER_TTY; + req.nlh.nlmsg_flags = NLM_F_REQUEST; + req.nlh.nlmsg_seq = 0; + if (size && string) + memcpy (NLMSG_DATA(&req.nlh), string, size); + memset (&addr, 0, sizeof(addr)); addr.nl_family = AF_NETLINK; addr.nl_pid = 0; addr.nl_groups = 0; - msg.msg_name = &addr; - msg.msg_namelen = sizeof (addr); - msg.msg_iov = iov; - msg.msg_iovlen = 2; - msg.msg_control = NULL; - msg.msg_controllen = 0; - msg.msg_flags = 0; - - (void)sendmsg (fd, &msg, 0); + sendto (fd, &req, req.nlh.nlmsg_len, 0, (struct sockaddr*)&addr, sizeof(addr)); close (fd); } #endif diff --git a/lib/readline/vi_keymap.c b/lib/readline/vi_keymap.c index 60c925d93..e5da2e0fa 100644 --- a/lib/readline/vi_keymap.c +++ b/lib/readline/vi_keymap.c @@ -1,6 +1,6 @@ /* vi_keymap.c -- the keymap for vi_mode in readline (). */ -/* Copyright (C) 1987-2009 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -55,7 +55,7 @@ KEYMAP_ENTRY_ARRAY vi_movement_keymap = { { ISFUNC, rl_transpose_chars }, /* Control-t */ { ISFUNC, rl_unix_line_discard }, /* Control-u */ { ISFUNC, rl_quoted_insert }, /* Control-v */ - { ISFUNC, rl_unix_word_rubout }, /* Control-w */ + { ISFUNC, rl_vi_unix_word_rubout }, /* Control-w */ { ISFUNC, (rl_command_func_t *)0x0 }, /* Control-x */ { ISFUNC, rl_yank }, /* Control-y */ { ISFUNC, (rl_command_func_t *)0x0 }, /* Control-z */ @@ -334,7 +334,7 @@ KEYMAP_ENTRY_ARRAY vi_insertion_keymap = { { ISFUNC, rl_transpose_chars }, /* Control-t */ { ISFUNC, rl_unix_line_discard }, /* Control-u */ { ISFUNC, rl_quoted_insert }, /* Control-v */ - { ISFUNC, rl_unix_word_rubout }, /* Control-w */ + { ISFUNC, rl_vi_unix_word_rubout }, /* Control-w */ { ISFUNC, rl_insert }, /* Control-x */ { ISFUNC, rl_yank }, /* Control-y */ { ISFUNC, rl_insert }, /* Control-z */ diff --git a/lib/readline/vi_mode.c b/lib/readline/vi_mode.c index 0864192e3..56d2e72fb 100644 --- a/lib/readline/vi_mode.c +++ b/lib/readline/vi_mode.c @@ -1,7 +1,7 @@ /* vi_mode.c -- A vi emulation mode for Bash. Derived from code written by Jeff Sparkes (jsparkes@bnr.ca). */ -/* Copyright (C) 1987-2012 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -67,6 +67,9 @@ int _rl_vi_last_command = 'i'; /* default `.' puts you in insert mode */ _rl_vimotion_cxt *_rl_vimvcxt = 0; +/* Non-zero indicates we are redoing a vi-mode command with `.' */ +int _rl_vi_redoing; + /* Non-zero means enter insertion mode. */ static int _rl_vi_doing_insert; @@ -100,8 +103,6 @@ static int _rl_vi_last_replacement; static int _rl_vi_last_key_before_insert; -static int vi_redoing; - /* Text modification commands. These are the `redoable' commands. */ static const char * const vi_textmod = "_*\\AaIiCcDdPpYyRrSsXx~"; @@ -192,6 +193,13 @@ _rl_vi_textmod_command (c) return (member (c, vi_textmod)); } +int +_rl_vi_motion_command (c) + int c; +{ + return (member (c, vi_motion)); +} + static void _rl_vi_replace_insert (count) int count; @@ -234,7 +242,7 @@ rl_vi_redo (count, c) } r = 0; - vi_redoing = 1; + _rl_vi_redoing = 1; /* If we're redoing an insert with `i', stuff in the inserted text and do not go into insertion mode. */ if (_rl_vi_last_command == 'i' && vi_insert_buffer && *vi_insert_buffer) @@ -280,7 +288,8 @@ rl_vi_redo (count, c) } else r = _rl_dispatch (_rl_vi_last_command, _rl_keymap); - vi_redoing = 0; + + _rl_vi_redoing = 0; return (r); } @@ -464,7 +473,7 @@ rl_vi_end_word (count, key) if (count < 0) { rl_ding (); - return -1; + return 1; } if (_rl_uppercase_p (key)) @@ -1089,28 +1098,55 @@ static int rl_domove_motion_callback (m) _rl_vimotion_cxt *m; { - int c, save, r; - int old_end; + int c; _rl_vi_last_motion = c = m->motion; /* Append a blank character temporarily so that the motion routines - work right at the end of the line. */ - old_end = rl_end; + work right at the end of the line. Original value of rl_end is saved + as m->end. */ rl_line_buffer[rl_end++] = ' '; rl_line_buffer[rl_end] = '\0'; _rl_dispatch (c, _rl_keymap); - /* Remove the blank that we added. */ - rl_end = old_end; +#if defined (READLINE_CALLBACKS) + if (RL_ISSTATE (RL_STATE_CALLBACK)) + { + /* Messy case where char search can be vi motion command; see rest of + details in callback.c. vi_char_search and callback_char_search just + set and unset the CHARSEARCH state. This is where any vi motion + command that needs to set its own state should be handled, with any + corresponding code to manage that state in callback.c */ + if (RL_ISSTATE (RL_STATE_CHARSEARCH)) + return 0; + else + return (_rl_vi_domove_motion_cleanup (c, m)); + } +#endif + + return (_rl_vi_domove_motion_cleanup (c, m)); +} + +int +_rl_vi_domove_motion_cleanup (c, m) + int c; + _rl_vimotion_cxt *m; +{ + int r; + + /* Remove the blank that we added in rl_domove_motion_callback. */ + rl_end = m->end; rl_line_buffer[rl_end] = '\0'; if (rl_point > rl_end) rl_point = rl_end; /* No change in position means the command failed. */ if (rl_mark == rl_point) - return (-1); + { + RL_UNSETSTATE (RL_STATE_VIMOTION); + return (-1); + } /* rl_vi_f[wW]ord () leaves the cursor on the first character of the next word. If we are not at the end of the line, and we are on a @@ -1244,8 +1280,8 @@ _rl_vi_domove_callback (m) int c, r; m->motion = c = rl_vi_domove_getchar (m); - /* XXX - what to do if this returns -1? Should we return 1 for eof to - callback code? */ + if (c < 0) + return 1; /* EOF */ r = rl_domove_read_callback (m); return ((r == 0) ? r : 1); /* normalize return values */ @@ -1301,12 +1337,12 @@ rl_vi_delete_to (count, key) _rl_vimvcxt->motion = '$'; r = rl_domove_motion_callback (_rl_vimvcxt); } - else if (vi_redoing && _rl_vi_last_motion != 'd') /* `dd' is special */ + else if (_rl_vi_redoing && _rl_vi_last_motion != 'd') /* `dd' is special */ { _rl_vimvcxt->motion = _rl_vi_last_motion; r = rl_domove_motion_callback (_rl_vimvcxt); } - else if (vi_redoing) /* handle redoing `dd' here */ + else if (_rl_vi_redoing) /* handle redoing `dd' here */ { _rl_vimvcxt->motion = _rl_vi_last_motion; rl_mark = rl_end; @@ -1351,7 +1387,7 @@ vi_change_dispatch (m) if ((_rl_to_upper (m->motion) == 'W') && rl_point < m->start) rl_point = m->start; - if (vi_redoing) + if (_rl_vi_redoing) { if (vi_insert_buffer && *vi_insert_buffer) rl_begin_undo_group (); @@ -1391,12 +1427,12 @@ rl_vi_change_to (count, key) _rl_vimvcxt->motion = '$'; r = rl_domove_motion_callback (_rl_vimvcxt); } - else if (vi_redoing && _rl_vi_last_motion != 'c') /* `cc' is special */ + else if (_rl_vi_redoing && _rl_vi_last_motion != 'c') /* `cc' is special */ { _rl_vimvcxt->motion = _rl_vi_last_motion; r = rl_domove_motion_callback (_rl_vimvcxt); } - else if (vi_redoing) /* handle redoing `cc' here */ + else if (_rl_vi_redoing) /* handle redoing `cc' here */ { _rl_vimvcxt->motion = _rl_vi_last_motion; rl_mark = rl_end; @@ -1460,12 +1496,12 @@ rl_vi_yank_to (count, key) _rl_vimvcxt->motion = '$'; r = rl_domove_motion_callback (_rl_vimvcxt); } - else if (vi_redoing && _rl_vi_last_motion != 'y') /* `yy' is special */ + else if (_rl_vi_redoing && _rl_vi_last_motion != 'y') /* `yy' is special */ { _rl_vimvcxt->motion = _rl_vi_last_motion; r = rl_domove_motion_callback (_rl_vimvcxt); } - else if (vi_redoing) /* handle redoing `yy' here */ + else if (_rl_vi_redoing) /* handle redoing `yy' here */ { _rl_vimvcxt->motion = _rl_vi_last_motion; rl_mark = rl_end; @@ -1534,7 +1570,7 @@ rl_vi_rubout (count, key) if (rl_point == 0) { rl_ding (); - return -1; + return 1; } opoint = rl_point; @@ -1565,7 +1601,7 @@ rl_vi_delete (count, key) if (rl_end == 0) { rl_ding (); - return -1; + return 1; } if (MB_CUR_MAX > 1 && rl_byte_oriented == 0) @@ -1584,6 +1620,62 @@ rl_vi_delete (count, key) return (0); } +/* This does what Posix specifies vi-mode C-w to do: using whitespace and + punctuation characters as the word boundaries. */ + +#define vi_unix_word_boundary(c) (whitespace(c) || ispunct(c)) + +int +rl_vi_unix_word_rubout (count, key) + int count, key; +{ + int orig_point; + + if (rl_point == 0) + rl_ding (); + else + { + orig_point = rl_point; + if (count <= 0) + count = 1; + + while (count--) + { + /* This isn't quite what ksh93 does but it seems to match what the + Posix description of sh specifies, with a few accommodations + for sequences of whitespace characters between words and at + the end of the line. */ + + /* Skip over whitespace at the end of the line as a special case */ + if (rl_point > 0 && (rl_line_buffer[rl_point] == 0) && + whitespace (rl_line_buffer[rl_point - 1])) + while (--rl_point > 0 && whitespace (rl_line_buffer[rl_point])) + ; + + /* If we're at the start of a word, move back to word boundary so we + move back to the `preceding' word */ + if (rl_point > 0 && (vi_unix_word_boundary (rl_line_buffer[rl_point]) == 0) && + vi_unix_word_boundary (rl_line_buffer[rl_point - 1])) + rl_point--; + + /* If we are at a word boundary (whitespace/punct), move backward + past a sequence of word boundary characters. If we are at the + end of a word (non-word boundary), move back to a word boundary */ + if (rl_point > 0 && vi_unix_word_boundary (rl_line_buffer[rl_point])) + while (rl_point && vi_unix_word_boundary (rl_line_buffer[rl_point - 1])) + rl_point--; + else if (rl_point > 0 && vi_unix_word_boundary (rl_line_buffer[rl_point]) == 0) + while (rl_point && (vi_unix_word_boundary (rl_line_buffer[rl_point - 1]) == 0)) + rl_point--; + } + + rl_kill_text (orig_point, rl_point); + } + + return 0; +} + + int rl_vi_back_to_indent (count, key) int count, key; @@ -1618,7 +1710,10 @@ _rl_vi_callback_char_search (data) #endif if (c <= 0) - return -1; + { + RL_UNSETSTATE (RL_STATE_CHARSEARCH); + return -1; + } #if !defined (HANDLE_MULTIBYTE) _rl_vi_last_search_char = c; @@ -1626,6 +1721,7 @@ _rl_vi_callback_char_search (data) _rl_callback_func = 0; _rl_want_redisplay = 1; + RL_UNSETSTATE (RL_STATE_CHARSEARCH); #if defined (HANDLE_MULTIBYTE) return (_rl_char_search_internal (data->count, _rl_cs_dir, _rl_vi_last_search_mbchar, _rl_vi_last_search_mblen)); @@ -1650,13 +1746,13 @@ rl_vi_char_search (count, key) if (key == ';' || key == ',') { if (_rl_cs_orig_dir == 0) - return -1; + return 1; #if defined (HANDLE_MULTIBYTE) if (_rl_vi_last_search_mblen == 0) - return -1; + return 1; #else if (_rl_vi_last_search_char == 0) - return -1; + return 1; #endif _rl_cs_dir = (key == ';') ? _rl_cs_orig_dir : -_rl_cs_orig_dir; } @@ -1681,7 +1777,7 @@ rl_vi_char_search (count, key) break; } - if (vi_redoing) + if (_rl_vi_redoing) { /* set target and tlen below */ } @@ -1690,7 +1786,9 @@ rl_vi_char_search (count, key) { _rl_callback_data = _rl_callback_data_alloc (count); _rl_callback_data->i1 = _rl_cs_dir; + _rl_callback_data->i2 = key; _rl_callback_func = _rl_vi_callback_char_search; + RL_SETSTATE (RL_STATE_CHARSEARCH); return (0); } #endif @@ -1755,7 +1853,7 @@ rl_vi_match (ignore, key) { rl_point = pos; rl_ding (); - return -1; + return 1; } } @@ -1785,7 +1883,7 @@ rl_vi_match (ignore, key) else { rl_ding (); - return -1; + return 1; } } } @@ -1809,7 +1907,7 @@ rl_vi_match (ignore, key) else { rl_ding (); - return -1; + return 1; } } } @@ -1915,7 +2013,7 @@ rl_vi_change_char (count, key) int c; char mb[MB_LEN_MAX]; - if (vi_redoing) + if (_rl_vi_redoing) { c = _rl_vi_last_replacement; mb[0] = c; @@ -1943,7 +2041,7 @@ rl_vi_subst (count, key) int count, key; { /* If we are redoing, rl_vi_change_to will stuff the last motion char */ - if (vi_redoing == 0) + if (_rl_vi_redoing == 0) rl_stuff_char ((key == 'S') ? 'c' : 'l'); /* `S' == `cc', `s' == `cl' */ return (rl_vi_change_to (count, 'c')); @@ -2083,7 +2181,7 @@ _rl_vi_set_mark () if (ch < 0 || ch < 'a' || ch > 'z') /* make test against 0 explicit */ { rl_ding (); - return -1; + return 1; } ch -= 'a'; vi_mark_chars[ch] = rl_point; @@ -2135,14 +2233,14 @@ _rl_vi_goto_mark () else if (ch < 0 || ch < 'a' || ch > 'z') /* make test against 0 explicit */ { rl_ding (); - return -1; + return 1; } ch -= 'a'; if (vi_mark_chars[ch] == -1) { rl_ding (); - return -1; + return 1; } rl_point = vi_mark_chars[ch]; return 0; diff --git a/lib/sh/Makefile.in b/lib/sh/Makefile.in index 36a830522..2ca921b33 100644 --- a/lib/sh/Makefile.in +++ b/lib/sh/Makefile.in @@ -26,7 +26,7 @@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_VERSION = @PACKAGE_VERSION@ srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ topdir = @top_srcdir@ BUILD_DIR = @BUILD_DIR@ @@ -160,6 +160,7 @@ itos.o: itos.c mailstat.o: mailstat.c makepath.o: makepath.c mbscasecmp.o: mbscasecmp.c +mbschr.o: mbschr.c mbscmp.o: mbscmp.c memset.o: memset.c mktime.o: mktime.c @@ -170,12 +171,14 @@ pathcanon.o: pathcanon.c pathphys.o: pathphys.c rename.o: rename.c setlinebuf.o: setlinebuf.c +shmatch.o: shmatch.c shmbchar.o: shmbchar.c shquote.o: shquote.c shtty.o: shtty.c snprintf.o: snprintf.c spell.o: spell.c strcasecmp.o: strcasecmp.c +strchrnul.o: strchrnul.c strerror.o: strerror.c strftime.o: strftime.c strcasestr.o: strcasestr.c @@ -196,11 +199,12 @@ timeval.o: timeval.c tmpfile.o: tmpfile.c uconvert.o: uconvert.c ufuncs.o: ufuncs.c +unicode.o: unicode.c vprint.o: vprint.c wcsdup.o: wcsdup.c wcsnwidth.o: wcsnwidth.c wcswidth.o: wcswidth.c -mbschr.o: mbschr.c +winsize.o: winsize.c zcatfd.o: zcatfd.c zmapfd.o: zmapfd.c zgetline.o: zgetline.c @@ -233,6 +237,7 @@ itos.o: ${BUILD_DIR}/config.h mailstat.o: ${BUILD_DIR}/config.h makepath.o: ${BUILD_DIR}/config.h mbscasecmp.o: ${BUILD_DIR}/config.h +mbschr.o: ${BUILD_DIR}/config.h mbscmp.o: ${BUILD_DIR}/config.h memset.o: ${BUILD_DIR}/config.h mktime.o: ${BUILD_DIR}/config.h @@ -243,12 +248,14 @@ pathcanon.o: ${BUILD_DIR}/config.h pathphys.o: ${BUILD_DIR}/config.h rename.o: ${BUILD_DIR}/config.h setlinebuf.o: ${BUILD_DIR}/config.h -shmbchare.o: ${BUILD_DIR}/config.h +shmatch.o: ${BUILD_DIR}/config.h +shmbchar.o: ${BUILD_DIR}/config.h shquote.o: ${BUILD_DIR}/config.h shtty.o: ${BUILD_DIR}/config.h snprintf.o: ${BUILD_DIR}/config.h spell.o: ${BUILD_DIR}/config.h strcasecmp.o: ${BUILD_DIR}/config.h +strchrnul.o: ${BUILD_DIR}/config.h strerror.o: ${BUILD_DIR}/config.h strftime.o: ${BUILD_DIR}/config.h strcasestr.o: ${BUILD_DIR}/config.h @@ -269,11 +276,12 @@ timeval.o: ${BUILD_DIR}/config.h tmpfile.o: ${BUILD_DIR}/config.h uconvert.o: ${BUILD_DIR}/config.h ufuncs.o: ${BUILD_DIR}/config.h +unicode.o: ${BUILD_DIR}/config.h vprint.o: ${BUILD_DIR}/config.h wcsdup.o: ${BUILD_DIR}/config.h wcsnwidth.o: ${BUILD_DIR}/config.h wcswidth.o: ${BUILD_DIR}/config.h -mbschr.o: ${BUILD_DIR}/config.h +winsize.o: ${BUILD_DIR}/config.h zcatfd.o: ${BUILD_DIR}/config.h zgetline.o: ${BUILD_DIR}/config.h zmapfd.o: ${BUILD_DIR}/config.h @@ -389,14 +397,26 @@ eaccess.o: ${topdir}/make_cmd.h ${topdir}/subst.h ${topdir}/sig.h eaccess.o: ${BUILD_DIR}/pathnames.h ${topdir}/externs.h #eaccess.o: ${BUILD_DIR}/version.h +shmatch.o: ${BASHINCDIR}/stdc.h ${topdir}/bashansi.h +shmatch.o: ${BASHINCDIR}/ansi_stdlib.h ${topdir}/xmalloc.h +shmatch.o: ${topdir}/shell.h ${topdir}/syntax.h ${topdir}/bashjmp.h ${BASHINCDIR}/posixjmp.h +shmatch.o: ${topdir}/command.h ${BASHINCDIR}/stdc.h ${topdir}/error.h +shmatch.o: ${topdir}/general.h ${topdir}/bashtypes.h ${topdir}/variables.h ${topdir}/conftypes.h +shmatch.o: ${topdir}/array.h ${topdir}/hashlib.h ${topdir}/quit.h +shmatch.o: ${topdir}/unwind_prot.h ${topdir}/dispose_cmd.h +shmatch.o: ${topdir}/make_cmd.h ${topdir}/subst.h ${topdir}/sig.h +shmatch.o: ${BUILD_DIR}/pathnames.h ${topdir}/externs.h + shquote.o: ${BASHINCDIR}/stdc.h ${topdir}/bashansi.h shquote.o: ${BASHINCDIR}/ansi_stdlib.h ${topdir}/xmalloc.h +shquote.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h shtty.o: ${BASHINCDIR}/shtty.h shtty.o: ${BASHINCDIR}/stdc.h snprintf.o: ${BASHINCDIR}/stdc.h ${topdir}/bashansi.h ${topdir}/xmalloc.h snprintf.o: ${BASHINCDIR}/ansi_stdlib.h ${BASHINCDIR}/chartypes.h +snprintf.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h snprintf.o: ${BASHINCDIR}/typemax.h spell.o: ${topdir}/bashtypes.h @@ -475,6 +495,7 @@ strtrans.o: ${topdir}/array.h ${topdir}/hashlib.h ${topdir}/quit.h strtrans.o: ${topdir}/unwind_prot.h ${topdir}/dispose_cmd.h strtrans.o: ${topdir}/make_cmd.h ${topdir}/subst.h ${topdir}/sig.h strtrans.o: ${BUILD_DIR}/pathnames.h ${topdir}/externs.h +strtrans.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h #strtrans.o: ${BUILD_DIR}/version.h times.o: ${BASHINCDIR}/systimes.h @@ -483,10 +504,26 @@ times.o: ${BASHINCDIR}/posixtime.h timeval.o: ${BASHINCDIR}/posixtime.h tmpfile.o: ${topdir}/bashtypes.h +tmpfile.o: ${BASHINCDIR}/chartypes.h tmpfile.o: ${BASHINCDIR}/posixstat.h tmpfile.o: ${BASHINCDIR}/filecntl.h +tmpfile.o: ${topdir}/shell.h ${topdir}/syntax.h ${topdir}/bashjmp.h ${BASHINCDIR}/posixjmp.h +tmpfile.o: ${topdir}/command.h ${BASHINCDIR}/stdc.h ${topdir}/error.h +tmpfile.o: ${topdir}/general.h ${topdir}/bashtypes.h ${topdir}/variables.h ${topdir}/conftypes.h +tmpfile.o: ${topdir}/array.h ${topdir}/hashlib.h ${topdir}/quit.h +tmpfile.o: ${topdir}/unwind_prot.h ${topdir}/dispose_cmd.h +tmpfile.o: ${topdir}/make_cmd.h ${topdir}/subst.h ${topdir}/sig.h +tmpfile.o: ${BUILD_DIR}/pathnames.h ${topdir}/externs.h uconvert.o: ${topdir}/bashtypes.h +uconvert.o: ${BASHINCDIR}/chartypes.h +uconvert.o: ${topdir}/shell.h ${topdir}/syntax.h ${topdir}/bashjmp.h ${BASHINCDIR}/posixjmp.h +uconvert.o: ${topdir}/command.h ${BASHINCDIR}/stdc.h ${topdir}/error.h +uconvert.o: ${topdir}/general.h ${topdir}/bashtypes.h ${topdir}/variables.h ${topdir}/conftypes.h +uconvert.o: ${topdir}/array.h ${topdir}/hashlib.h ${topdir}/quit.h +uconvert.o: ${topdir}/unwind_prot.h ${topdir}/dispose_cmd.h +uconvert.o: ${topdir}/make_cmd.h ${topdir}/subst.h ${topdir}/sig.h +uconvert.o: ${BUILD_DIR}/pathnames.h ${topdir}/externs.h ufuncs.o: ${topdir}/bashtypes.h @@ -569,3 +606,18 @@ fnxform.o: ${topdir}/bashtypes.h fnxform.o: ${topdir}/bashintl.h ${LIBINTL_H} ${BASHINCDIR}/gettext.h shmbchar.o: ${BASHINCDIR}/shmbchar.h +shmbchar.o: ${BASHINCDIR}/shmbutil.h + +unicode.o: ${topdir}/bashansi.h ${BASHINCDIR}/ansi_stdlib.h +unicode.o: ${BASHINCDIR}/stdc.h +unicode.o: ${topdir}/xmalloc.h + +winsize.o: ${BASHINCDIR}/stdc.h +winsize.o: ${topdir}/xmalloc.h +winsize.o: ${topdir}/bashtypes.h + +zmapfd.o: ${topdir}/bashansi.h ${BASHINCDIR}/ansi_stdlib.h +zmapfd.o: ${BASHINCDIR}/stdc.h +zmapfd.o: ${topdir}/command.h +zmapfd.o: ${topdir}/general.h +zmapfd.o: ${topdir}/bashtypes.h ${BASHINCDIR}/chartypes.h ${topdir}/xmalloc.h diff --git a/lib/sh/casemod.c b/lib/sh/casemod.c index bbcffa6fa..f68303bc4 100644 --- a/lib/sh/casemod.c +++ b/lib/sh/casemod.c @@ -1,6 +1,6 @@ /* casemod.c -- functions to change case of strings */ -/* Copyright (C) 2008,2009 Free Software Foundation, Inc. +/* Copyright (C) 2008,2009,2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -49,7 +49,7 @@ #if !defined (HANDLE_MULTIBYTE) # define cval(s, i) ((s)[(i)]) # define iswalnum(c) (isalnum(c)) -# define TOGGLE(x) (ISUPPER (x) ? tolower (x) : (TOUPPER (x))) +# define TOGGLE(x) (ISUPPER (x) ? tolower ((unsigned char)x) : (TOUPPER (x))) #else # define TOGGLE(x) (iswupper (x) ? towlower (x) : (_to_wupper(x))) #endif @@ -105,10 +105,11 @@ sh_modcase (string, pat, flags) char *pat; int flags; { - int start, next, end; + int start, next, end, retind; int inword, c, nc, nop, match, usewords; char *ret, *s; wchar_t wc; + int mb_cur_max; #if defined (HANDLE_MULTIBYTE) wchar_t nwc; char mb[MB_LEN_MAX+1]; @@ -130,9 +131,10 @@ sh_modcase (string, pat, flags) start = 0; end = strlen (string); + mb_cur_max = MB_CUR_MAX; - ret = (char *)xmalloc (end + 1); - strcpy (ret, string); + ret = (char *)xmalloc (2*end + 1); + retind = 0; /* See if we are supposed to split on alphanumerics and operate on each word */ usewords = (flags & CASE_USEWORDS); @@ -141,26 +143,23 @@ sh_modcase (string, pat, flags) inword = 0; while (start < end) { - wc = cval (ret, start); + wc = cval ((char *)string, start); if (iswalnum (wc) == 0) - { - inword = 0; -#if 0 - ADVANCE_CHAR (ret, end, start); - continue; -#endif - } + inword = 0; if (pat) { next = start; - ADVANCE_CHAR (ret, end, next); - s = substring (ret, start, next); + ADVANCE_CHAR (string, end, next); + s = substring ((char *)string, start, next); match = strmatch (pat, s, FNM_EXTMATCH) != FNM_NOMATCH; free (s); if (match == 0) { + /* copy unmatched portion */ + memcpy (ret + retind, string + start, next - start); + retind += next - start; start = next; inword = 1; continue; @@ -210,27 +209,27 @@ sh_modcase (string, pat, flags) else nop = flags; - /* Need to check UCHAR_MAX since wc may have already been converted to a - wide character by cval() */ - if (MB_CUR_MAX == 1 || (wc <= UCHAR_MAX && is_basic ((int)wc))) + /* Can't short-circuit, some locales have multibyte upper and lower + case equivalents of single-byte ascii characters (e.g., Turkish) */ + if (mb_cur_max == 1) { singlebyte: switch (nop) - { - default: - case CASE_NOOP: nc = wc; break; - case CASE_UPPER: nc = TOUPPER (wc); break; - case CASE_LOWER: nc = TOLOWER (wc); break; - case CASE_TOGGLEALL: - case CASE_TOGGLE: nc = TOGGLE (wc); break; - } - ret[start] = nc; + { + default: + case CASE_NOOP: nc = wc; break; + case CASE_UPPER: nc = TOUPPER (wc); break; + case CASE_LOWER: nc = TOLOWER (wc); break; + case CASE_TOGGLEALL: + case CASE_TOGGLE: nc = TOGGLE (wc); break; + } + ret[retind++] = nc; } #if defined (HANDLE_MULTIBYTE) else { m = mbrtowc (&wc, string + start, end - start, &state); - if (MB_INVALIDCH (m)) + if (MB_INVALIDCH (m) || m == 1) { wc = (unsigned char)string[start]; goto singlebyte; @@ -238,28 +237,34 @@ singlebyte: else if (MB_NULLWCH (m)) wc = L'\0'; switch (nop) - { - default: - case CASE_NOOP: nwc = wc; break; - case CASE_UPPER: nwc = _to_wupper (wc); break; - case CASE_LOWER: nwc = _to_wlower (wc); break; - case CASE_TOGGLEALL: - case CASE_TOGGLE: nwc = TOGGLE (wc); break; - } - if (nwc != wc) /* just skip unchanged characters */ + { + default: + case CASE_NOOP: nwc = wc; break; + case CASE_UPPER: nwc = _to_wupper (wc); break; + case CASE_LOWER: nwc = _to_wlower (wc); break; + case CASE_TOGGLEALL: + case CASE_TOGGLE: nwc = TOGGLE (wc); break; + } + + /* We don't have to convert `wide' characters that are in the + unsigned char range back to single-byte `multibyte' characters. */ + if ((int)nwc <= UCHAR_MAX && is_basic ((int)nwc)) + ret[retind++] = nwc; + else { mlen = wcrtomb (mb, nwc, &state); if (mlen > 0) mb[mlen] = '\0'; - /* Assume the same width */ - strncpy (ret + start, mb, mlen); + /* Don't assume the same width */ + strncpy (ret + retind, mb, mlen); + retind += mlen; } } #endif - /* This assumes that the upper and lower case versions are the same width. */ - ADVANCE_CHAR (ret, end, start); + ADVANCE_CHAR (string, end, start); } + ret[retind] = '\0'; return ret; } diff --git a/lib/sh/eaccess.c b/lib/sh/eaccess.c index 8132a9ab5..8fd8a43e7 100644 --- a/lib/sh/eaccess.c +++ b/lib/sh/eaccess.c @@ -53,9 +53,9 @@ extern int errno; #endif /* R_OK */ static int path_is_devfd __P((const char *)); -static int sh_stataccess __P((char *, int)); +static int sh_stataccess __P((const char *, int)); #if HAVE_DECL_SETREGID -static int sh_euidaccess __P((char *, int)); +static int sh_euidaccess __P((const char *, int)); #endif static int @@ -135,7 +135,7 @@ sh_stat (path, finfo) executable. This version uses stat(2). */ static int sh_stataccess (path, mode) - char *path; + const char *path; int mode; { struct stat st; @@ -172,7 +172,7 @@ sh_stataccess (path, mode) the effective and real uid and gid as appropriate. */ static int sh_euidaccess (path, mode) - char *path; + const char *path; int mode; { int r, e; @@ -197,7 +197,7 @@ sh_euidaccess (path, mode) int sh_eaccess (path, mode) - char *path; + const char *path; int mode; { int ret; diff --git a/lib/sh/mbscasecmp.c b/lib/sh/mbscasecmp.c index 3828164e4..0ab956055 100644 --- a/lib/sh/mbscasecmp.c +++ b/lib/sh/mbscasecmp.c @@ -1,6 +1,6 @@ /* mbscasecmp - case-insensitive multibyte string comparison. */ -/* Copyright (C) 2009 Free Software Foundation, Inc. +/* Copyright (C) 2009-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -35,17 +35,18 @@ mbscasecmp (mbs1, mbs2) const char *mbs1; const char *mbs2; { - int len1, len2; + int len1, len2, mb_cur_max; wchar_t c1, c2, l1, l2; len1 = len2 = 0; /* Reset multibyte characters to their initial state. */ (void) mblen ((char *) NULL, 0); + mb_cur_max = MB_CUR_MAX; do { - len1 = mbtowc (&c1, mbs1, MB_CUR_MAX); - len2 = mbtowc (&c2, mbs2, MB_CUR_MAX); + len1 = mbtowc (&c1, mbs1, mb_cur_max); + len2 = mbtowc (&c2, mbs2, mb_cur_max); if (len1 == 0) return len2 == 0 ? 0 : -1; diff --git a/lib/sh/mbscmp.c b/lib/sh/mbscmp.c index e0eae5dcc..aaf81f5e5 100644 --- a/lib/sh/mbscmp.c +++ b/lib/sh/mbscmp.c @@ -1,6 +1,6 @@ /* mbscmp - multibyte string comparison. */ -/* Copyright (C) 1995 Free Software Foundation, Inc. +/* Copyright (C) 1995-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -32,17 +32,18 @@ mbscmp (mbs1, mbs2) const char *mbs1; const char *mbs2; { - int len1, len2; + int len1, len2, mb_cur_max; wchar_t c1, c2; len1 = len2 = 0; /* Reset multibyte characters to their initial state. */ (void) mblen ((char *) NULL, 0); + mb_cur_max = MB_CUR_MAX; do { - len1 = mbtowc (&c1, mbs1, MB_CUR_MAX); - len2 = mbtowc (&c2, mbs2, MB_CUR_MAX); + len1 = mbtowc (&c1, mbs1, mb_cur_max); + len2 = mbtowc (&c2, mbs2, mb_cur_max); if (len1 == 0) return len2 == 0 ? 0 : -1; diff --git a/lib/sh/mktime.c b/lib/sh/mktime.c index 7888ee152..b2b0d3f21 100644 --- a/lib/sh/mktime.c +++ b/lib/sh/mktime.c @@ -50,11 +50,11 @@ #include "bashansi.h" -#if DEBUG +#if DEBUG_MKTIME #include /* Make it work even if the system's libc has its own mktime routine. */ #define mktime my_mktime -#endif /* DEBUG */ +#endif /* DEBUG_MKTIME */ #ifndef __P #if defined (__GNUC__) || (defined (__STDC__) && __STDC__) @@ -75,12 +75,27 @@ #define INT_MAX (~0 - INT_MIN) #endif +/* True if the arithmetic type T is signed. */ +#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) + +/* The maximum and minimum values for the integer type T. These + macros have undefined behavior if T is signed and has padding bits. + If this is a problem for you, please let us know how to fix it for + your host. */ +#define TYPE_MINIMUM(t) \ + ((t) (! TYPE_SIGNED (t) \ + ? (t) 0 \ + : ~ TYPE_MAXIMUM (t))) +#define TYPE_MAXIMUM(t) \ + ((t) (! TYPE_SIGNED (t) \ + ? (t) -1 \ + : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) + #ifndef TIME_T_MIN -#define TIME_T_MIN (0 < (time_t) -1 ? (time_t) 0 \ - : ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1)) +# define TIME_T_MIN TYPE_MINIMUM (time_t) #endif #ifndef TIME_T_MAX -#define TIME_T_MAX (~ (time_t) 0 - TIME_T_MIN) +# define TIME_T_MAX TYPE_MAXIMUM (time_t) #endif #define TM_YEAR_BASE 1900 @@ -303,7 +318,7 @@ __mktime_internal (tp, convert, offset) weak_alias (mktime, timelocal) #endif -#if DEBUG +#if DEBUG_MKTIME static int not_equal_tm (a, b) @@ -414,7 +429,7 @@ main (argc, argv) return status; } -#endif /* DEBUG */ +#endif /* DEBUG_MKTIME */ /* Local Variables: diff --git a/lib/sh/netconn.c b/lib/sh/netconn.c index 36e5bf5c7..e20f10420 100644 --- a/lib/sh/netconn.c +++ b/lib/sh/netconn.c @@ -44,7 +44,7 @@ int isnetconn (fd) int fd; { -#if defined (HAVE_GETPEERNAME) && !defined (SVR4_2) && !defined (__BEOS__) +#if defined (HAVE_SYS_SOCKET_H) && defined (HAVE_GETPEERNAME) && !defined (SVR4_2) && !defined (__BEOS__) int rv; socklen_t l; struct sockaddr sa; @@ -52,7 +52,7 @@ isnetconn (fd) l = sizeof(sa); rv = getpeername(fd, &sa, &l); /* Posix.2 says getpeername can return these errors. */ - return ((rv < 0 && (errno == ENOTSOCK || errno == ENOTCONN || errno == EINVAL)) ? 0 : 1); + return ((rv < 0 && (errno == ENOTSOCK || errno == ENOTCONN || errno == EINVAL || errno == EBADF)) ? 0 : 1); #else /* !HAVE_GETPEERNAME || SVR4_2 || __BEOS__ */ # if defined (SVR4) || defined (SVR4_2) /* Sockets on SVR4 and SVR4.2 are character special (streams) devices. */ diff --git a/lib/sh/netopen.c b/lib/sh/netopen.c index 736d4138f..bc3d8f8a5 100644 --- a/lib/sh/netopen.c +++ b/lib/sh/netopen.c @@ -5,7 +5,7 @@ * chet@ins.CWRU.Edu */ -/* Copyright (C) 1987-2002 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -304,6 +304,7 @@ netopen (path) if (t == 0) { internal_error (_("%s: bad network path specification"), path); + free (np); return -1; } *t++ = '\0'; diff --git a/lib/sh/shmatch.c b/lib/sh/shmatch.c index 3abefed58..da05211e8 100644 --- a/lib/sh/shmatch.c +++ b/lib/sh/shmatch.c @@ -2,7 +2,7 @@ * shmatch.c -- shell interface to posix regular expression matching. */ -/* Copyright (C) 2003 Free Software Foundation, Inc. +/* Copyright (C) 2003-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -79,7 +79,8 @@ sh_regmatch (string, pattern, flags) matches = NULL; #endif - if (regexec (®ex, string, regex.re_nsub + 1, matches, 0)) + /* man regexec: NULL PMATCH ignored if NMATCH == 0 */ + if (regexec (®ex, string, matches ? regex.re_nsub + 1 : 0, matches, 0)) result = EXECUTION_FAILURE; else result = EXECUTION_SUCCESS; /* match */ @@ -91,11 +92,11 @@ sh_regmatch (string, pattern, flags) /* Store the parenthesized subexpressions in the array BASH_REMATCH. Element 0 is the portion that matched the entire regexp. Element 1 is the part that matched the first subexpression, and so on. */ - unbind_variable ("BASH_REMATCH"); + unbind_variable_noref ("BASH_REMATCH"); rematch = make_new_array_variable ("BASH_REMATCH"); amatch = array_cell (rematch); - if ((flags & SHMAT_SUBEXP) && result == EXECUTION_SUCCESS && subexp_str) + if (matches && (flags & SHMAT_SUBEXP) && result == EXECUTION_SUCCESS && subexp_str) { for (subexp_ind = 0; subexp_ind <= regex.re_nsub; subexp_ind++) { diff --git a/lib/sh/shmbchar.c b/lib/sh/shmbchar.c index 042c9f140..7f14208e6 100644 --- a/lib/sh/shmbchar.c +++ b/lib/sh/shmbchar.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001, 2006, 2009, 2010, 2012 Free Software Foundation, Inc. +/* Copyright (C) 2001, 2006, 2009, 2010, 2012, 2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -43,10 +43,11 @@ mbstrlen (s) { size_t clen, nc; mbstate_t mbs = { 0 }, mbsbak = { 0 }; - int f; + int f, mb_cur_max; nc = 0; - while (*s && (clen = (f = is_basic (*s)) ? 1 : mbrlen(s, MB_CUR_MAX, &mbs)) != 0) + mb_cur_max = MB_CUR_MAX; + while (*s && (clen = (f = is_basic (*s)) ? 1 : mbrlen(s, mb_cur_max, &mbs)) != 0) { if (MB_INVALIDCH(clen)) { @@ -71,13 +72,15 @@ mbsmbchar (s) char *t; size_t clen; mbstate_t mbs = { 0 }; + int mb_cur_max; + mb_cur_max = MB_CUR_MAX; for (t = (char *)s; *t; t++) { if (is_basic (*t)) continue; - clen = mbrlen (t, MB_CUR_MAX, &mbs); + clen = mbrlen (t, mb_cur_max, &mbs); if (clen == 0) return 0; diff --git a/lib/sh/shquote.c b/lib/sh/shquote.c index fff4f817a..ecec5971f 100644 --- a/lib/sh/shquote.c +++ b/lib/sh/shquote.c @@ -1,6 +1,6 @@ /* shquote - functions to quote and dequote strings */ -/* Copyright (C) 1999 Free Software Foundation, Inc. +/* Copyright (C) 1999-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -28,10 +28,17 @@ #endif #include +#include #include "syntax.h" #include +#include "shmbchar.h" +#include "shmbutil.h" + +extern char *ansic_quote __P((char *, int, int *)); +extern int ansic_shouldquote __P((const char *)); + /* Default set of characters that should be backslash-quoted in strings */ static const char bstab[256] = { @@ -141,8 +148,11 @@ sh_double_quote (string) /* Backslash-newline disappears within double quotes, so don't add one. */ if ((sh_syntaxtab[c] & CBSDQUOTE) && c != '\n') *r++ = '\\'; +#if 0 + /* Assume that the string will not be further expanded. */ else if (c == CTLESC || c == CTLNUL) *r++ = CTLESC; /* could be '\\'? */ +#endif *r++ = c; } @@ -226,15 +236,36 @@ sh_backslash_quote (string, table, flags) char *table; int flags; { - int c; - char *result, *r, *s, *backslash_table; + int c, mb_cur_max; + size_t slen; + char *result, *r, *s, *backslash_table, *send; + DECLARE_MBSTATE; - result = (char *)xmalloc (2 * strlen (string) + 1); + slen = strlen (string); + send = string + slen; + result = (char *)xmalloc (2 * slen + 1); backslash_table = table ? table : (char *)bstab; + mb_cur_max = MB_CUR_MAX; + for (r = result, s = string; s && (c = *s); s++) { - if (backslash_table[c] == 1) +#if defined (HANDLE_MULTIBYTE) + /* XXX - isascii, even if is_basic(c) == 0 - works in most cases. */ + if (c >= 0 && c <= 127 && backslash_table[(unsigned char)c] == 1) + { + *r++ = '\\'; + *r++ = c; + continue; + } + if (mb_cur_max > 1 && is_basic (c) == 0) + { + COPY_CHAR_P (r, s, send); + s--; /* compensate for auto-increment in loop above */ + continue; + } +#endif + if (backslash_table[(unsigned char)c] == 1) *r++ = '\\'; else if (c == '#' && s == string) /* comment char */ *r++ = '\\'; @@ -277,11 +308,36 @@ sh_backslash_quote_for_double_quotes (string) } #endif /* PROMPT_STRING_DECODE */ +char * +sh_quote_reusable (s, flags) + char *s; + int flags; +{ + char *ret; + + if (s == 0) + return s; + else if (*s == 0) + { + ret = (char *)xmalloc (3); + ret[0] = ret[1] = '\''; + ret[2] = '\0'; + } + else if (ansic_shouldquote (s)) + ret = ansic_quote (s, 0, (int *)0); + else if (flags) + ret = sh_backslash_quote (s, 0, 1); + else + ret = sh_single_quote (s); + + return ret; +} + int sh_contains_shell_metas (string) - char *string; + const char *string; { - char *s; + const char *s; for (s = string; s && *s; s++) { @@ -314,9 +370,9 @@ sh_contains_shell_metas (string) int sh_contains_quotes (string) - char *string; + const char *string; { - char *s; + const char *s; for (s = string; s && *s; s++) { diff --git a/lib/sh/strtrans.c b/lib/sh/strtrans.c index ae88e694d..798314765 100644 --- a/lib/sh/strtrans.c +++ b/lib/sh/strtrans.c @@ -1,6 +1,6 @@ /* strtrans.c - Translate and untranslate strings with ANSI-C escape sequences. */ -/* Copyright (C) 2000-2011 Free Software Foundation, Inc. +/* Copyright (C) 2000-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -60,7 +60,10 @@ ansicstr (string, len, flags, sawc, rlen) return ((char *)NULL); #if defined (HANDLE_MULTIBYTE) - ret = (char *)xmalloc (4*len + 1); + temp = 4*len + 1; + if (temp < 12) + temp = 12; /* ensure enough for eventual u32cesc */ + ret = (char *)xmalloc (temp); #else ret = (char *)xmalloc (2*len + 1); /* 2*len for possible CTLESC */ #endif @@ -309,8 +312,9 @@ ansic_wshouldquote (string) slen = mbstowcs (wcstr, string, 0); - if (slen == -1) - slen = 0; + if (slen == (size_t)-1) + return 1; + wcstr = (wchar_t *)xmalloc (sizeof (wchar_t) * (slen + 1)); mbstowcs (wcstr, string, slen + 1); diff --git a/lib/sh/tmpfile.c b/lib/sh/tmpfile.c index c06ad657a..e41e45bd7 100644 --- a/lib/sh/tmpfile.c +++ b/lib/sh/tmpfile.c @@ -2,7 +2,7 @@ * tmpfile.c - functions to create and safely open temp files for the shell. */ -/* Copyright (C) 2000 Free Software Foundation, Inc. +/* Copyright (C) 2000-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -47,6 +47,11 @@ extern int errno; #define DEFAULT_TMPDIR "." /* bogus default, should be changed */ #define DEFAULT_NAMEROOT "shtmp" +/* Use ANSI-C rand() interface if random(3) is not available */ +#if !HAVE_RANDOM +#define random() rand() +#endif + extern pid_t dollar_dollar_pid; static char *get_sys_tmpdir __P((void)); @@ -109,6 +114,23 @@ get_tmpdir (flags) return tdir; } +static void +sh_seedrand () +{ +#if HAVE_RANDOM + int d; + static int seeded = 0; + if (seeded == 0) + { + struct timeval tv; + + gettimeofday (&tv, NULL); + srandom (tv.tv_sec ^ tv.tv_usec ^ (getpid () << 16) ^ (uintptr_t)&d); + seeded = 1; + } +#endif +} + char * sh_mktmpname (nameroot, flags) char *nameroot; @@ -117,6 +139,7 @@ sh_mktmpname (nameroot, flags) char *filename, *tdir, *lroot; struct stat sb; int r, tdlen; + static int seeded = 0; filename = (char *)xmalloc (PATH_MAX + 1); tdir = get_tmpdir (flags); @@ -132,6 +155,7 @@ sh_mktmpname (nameroot, flags) filename = NULL; } #else /* !USE_MKTEMP */ + sh_seedrand (); while (1) { filenum = (filenum << 1) ^ @@ -162,7 +186,7 @@ sh_mktmpfd (nameroot, flags, namep) { char *filename, *tdir, *lroot; int fd, tdlen; - + filename = (char *)xmalloc (PATH_MAX + 1); tdir = get_tmpdir (flags); tdlen = strlen (tdir); @@ -181,6 +205,7 @@ sh_mktmpfd (nameroot, flags, namep) *namep = filename; return fd; #else /* !USE_MKSTEMP */ + sh_seedrand (); do { filenum = (filenum << 1) ^ diff --git a/lib/sh/ufuncs.c b/lib/sh/ufuncs.c index ed526feef..fcd4c0444 100644 --- a/lib/sh/ufuncs.c +++ b/lib/sh/ufuncs.c @@ -37,6 +37,10 @@ #include #endif +#if defined (HAVE_SELECT) +# include "posixselect.h" +#endif + /* A version of `alarm' using setitimer if it's available. */ #if defined (HAVE_SETITIMER) diff --git a/lib/sh/unicode.c b/lib/sh/unicode.c index 798260ecd..b58eaefd9 100644 --- a/lib/sh/unicode.c +++ b/lib/sh/unicode.c @@ -1,6 +1,6 @@ /* unicode.c - functions to convert unicode characters */ -/* Copyright (C) 2010-2012 Free Software Foundation, Inc. +/* Copyright (C) 2010-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -236,7 +236,7 @@ u32toutf16 (c, s) } /* convert a single unicode-32 character into a multibyte string and put the - result in S, which must be large enough (at least MB_LEN_MAX bytes) */ + result in S, which must be large enough (at least max(10,MB_LEN_MAX) bytes) */ int u32cconv (c, s) unsigned long c; diff --git a/lib/sh/winsize.c b/lib/sh/winsize.c index 64a985844..ab83433a7 100644 --- a/lib/sh/winsize.c +++ b/lib/sh/winsize.c @@ -1,6 +1,6 @@ /* winsize.c - handle window size changes and information. */ -/* Copyright (C) 2005 Free Software Foundation, Inc. +/* Copyright (C) 2005-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -32,9 +32,11 @@ /* Try to find the definitions of `struct winsize' and TIOGCWINSZ */ +#if 0 #if defined (GWINSZ_IN_SYS_IOCTL) && !defined (TIOCGWINSZ) # include #endif /* GWINSZ_IN_SYS_IOCTL && !TIOCGWINSZ */ +#endif #if defined (STRUCT_WINSIZE_IN_TERMIOS) && !defined (STRUCT_WINSIZE_IN_SYS_IOCTL) # include diff --git a/lib/sh/zgetline.c b/lib/sh/zgetline.c index 9cef97521..a686ba3da 100644 --- a/lib/sh/zgetline.c +++ b/lib/sh/zgetline.c @@ -48,9 +48,12 @@ typedef ssize_t creadfunc_t __P((int, char *)); /* Derived from GNU libc's getline. The behavior is almost the same as getline. See man getline. The differences are - (1) using file descriptor instead of FILE *, - (2) the order of arguments; the file descriptor comes the first, and - (3) the addition of third argument, UNBUFFERED_READ; this argument + (1) using file descriptor instead of FILE *; + (2) the order of arguments: the file descriptor comes first; + (3) the addition of a fourth argument, DELIM; sets the delimiter to + be something other than newline if desired. If setting DELIM, + the next argument should be 1; and + (4) the addition of a fifth argument, UNBUFFERED_READ; this argument controls whether get_line uses buffering or not to get a byte data from FD. get_line uses zreadc if UNBUFFERED_READ is zero; and uses zread if UNBUFFERED_READ is non-zero. @@ -58,10 +61,11 @@ typedef ssize_t creadfunc_t __P((int, char *)); Returns number of bytes read or -1 on error. */ ssize_t -zgetline (fd, lineptr, n, unbuffered_read) +zgetline (fd, lineptr, n, delim, unbuffered_read) int fd; char **lineptr; size_t *n; + int delim; int unbuffered_read; { int nr, retval; @@ -110,7 +114,7 @@ zgetline (fd, lineptr, n, unbuffered_read) line[nr] = c; nr++; - if (c == '\n') + if (c == delim) { line[nr] = '\0'; break; diff --git a/lib/termcap/Makefile.in b/lib/termcap/Makefile.in index aeee47fe5..66dd7c1eb 100644 --- a/lib/termcap/Makefile.in +++ b/lib/termcap/Makefile.in @@ -20,7 +20,7 @@ # along with this program. If not, see . srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ topdir = @top_srcdir@ BUILD_DIR = @BUILD_DIR@ diff --git a/lib/termcap/termcap.c b/lib/termcap/termcap.c index 7311349b7..ba3dab2c2 100644 --- a/lib/termcap/termcap.c +++ b/lib/termcap/termcap.c @@ -309,7 +309,7 @@ static int speeds[] = }; __private_extern__ -void +int tputs (str, nlines, outfun) register char *str; int nlines; @@ -335,7 +335,7 @@ tputs (str, nlines, outfun) #endif if (!str) - return; + return -1; while (*str >= '0' && *str <= '9') { @@ -372,6 +372,8 @@ tputs (str, nlines, outfun) while (padcount-- > 0) (*outfun) (PC); + + return 0; } /* Finding the termcap entry in the termcap data base. */ diff --git a/lib/termcap/termcap.h b/lib/termcap/termcap.h index 5d715956c..b0e3061fe 100644 --- a/lib/termcap/termcap.h +++ b/lib/termcap/termcap.h @@ -29,7 +29,7 @@ extern char *tgetstr (const char *name, char **area); extern char PC; extern short ospeed; -extern void tputs (const char *string, int nlines, int (*outfun) (int)); +extern int tputs (const char *string, int nlines, int (*outfun) (int)); extern char *tparam (const char *ctlstring, char *buffer, int size, ...); diff --git a/lib/tilde/Makefile.in b/lib/tilde/Makefile.in index d5506c500..7ca3b7897 100644 --- a/lib/tilde/Makefile.in +++ b/lib/tilde/Makefile.in @@ -20,7 +20,7 @@ # along with this program. If not, see . srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ topdir = @top_srcdir@ BUILD_DIR = @BUILD_DIR@ diff --git a/lib/tilde/tilde.c b/lib/tilde/tilde.c index 1c53a457d..95bc4215c 100644 --- a/lib/tilde/tilde.c +++ b/lib/tilde/tilde.c @@ -236,7 +236,11 @@ tilde_expand (string) string += end; expansion = tilde_expand_word (tilde_word); - xfree (tilde_word); + + if (expansion == 0) + expansion = tilde_word; + else + xfree (tilde_word); len = strlen (expansion); #ifdef __CYGWIN__ @@ -360,6 +364,10 @@ tilde_expand_word (filename) { /* Prefix $HOME to the rest of the string. */ expansion = sh_get_env_value ("HOME"); +#if defined (_WIN32) + if (expansion == 0) + expansion = sh_get_env_value ("APPDATA"); +#endif /* If there is no HOME variable, look up the directory in the password database. */ diff --git a/locale.c b/locale.c index 8dabc7d2c..a199cdf36 100644 --- a/locale.c +++ b/locale.c @@ -309,7 +309,7 @@ get_locale_var (var) locale = lc_all; if (locale == 0 || *locale == 0) - locale = get_string_value (var); /* XXX - mem leak? */ + locale = get_string_value (var); /* XXX - no mem leak */ if (locale == 0 || *locale == 0) locale = lang; if (locale == 0 || *locale == 0) @@ -535,7 +535,7 @@ locale_setblanks () for (x = 0; x < sh_syntabsiz; x++) { - if (isblank (x)) + if (isblank ((unsigned char)x)) sh_syntaxtab[x] |= CSHBRK|CBLANK; else if (member (x, shell_break_chars)) { diff --git a/make_cmd.c b/make_cmd.c index b01d08457..b42e9ff14 100644 --- a/make_cmd.c +++ b/make_cmd.c @@ -56,13 +56,16 @@ extern int line_number, current_command_line_count, parser_state; extern int last_command_exit_value; +extern int shell_initialized; + +int here_doc_first_line = 0; /* Object caching */ sh_obj_cache_t wdcache = {0, 0, 0}; sh_obj_cache_t wlcache = {0, 0, 0}; -#define WDCACHESIZE 60 -#define WLCACHESIZE 60 +#define WDCACHESIZE 128 +#define WLCACHESIZE 128 static COMMAND *make_for_or_select __P((enum command_type, WORD_DESC *, WORD_LIST *, COMMAND *, int)); #if defined (ARITH_FOR_COMMAND) @@ -261,6 +264,9 @@ make_arith_for_expr (s) return ((WORD_LIST *)NULL); wd = make_word (s); wd->flags |= W_NOGLOB|W_NOSPLIT|W_QUOTED|W_DQUOTE; /* no word splitting or globbing */ +#if defined (PROCESS_SUBSTITUTION) + wd->flags |= W_NOPROCSUB; /* no process substitution */ +#endif result = make_word_list (wd, (WORD_LIST *)NULL); return result; } @@ -292,7 +298,7 @@ make_arith_for_command (exprs, action, lineno) s++; start = s; /* skip to the semicolon or EOS */ - i = skip_to_delim (start, 0, ";", SD_NOJMP); + i = skip_to_delim (start, 0, ";", SD_NOJMP|SD_NOPROCSUB); s = start + i; t = (i > 0) ? substring (start, 0, i) : (char *)NULL; @@ -619,6 +625,7 @@ make_here_document (temp, lineno) register char *line; int len; + here_doc_first_line = 0; line = full_line; line_number++; @@ -670,6 +677,7 @@ document_done: document[0] = '\0'; } temp->redirectee.filename->word = document; + here_doc_first_line = 0; } /* Generate a REDIRECT from SOURCE, DEST, and INSTRUCTION. @@ -790,11 +798,18 @@ make_function_def (name, command, lineno, lstart) if (bash_source_a && array_num_elements (bash_source_a) > 0) temp->source_file = array_reference (bash_source_a, 0); #endif + /* Assume that shell functions without a source file before the shell is + initialized come from the environment. Otherwise default to "main" + (usually functions being defined interactively) */ + if (temp->source_file == 0) + temp->source_file = shell_initialized ? "main" : "environment"; + #if defined (DEBUGGER) bind_function_def (name->word, temp); #endif temp->source_file = temp->source_file ? savestring (temp->source_file) : 0; + return (make_command (cm_function_def, (SIMPLE_COM *)temp)); } diff --git a/nojobs.c b/nojobs.c index 0c9bd751b..fdbe0ae03 100644 --- a/nojobs.c +++ b/nojobs.c @@ -46,6 +46,7 @@ #include "shell.h" #include "jobs.h" #include "execute_cmd.h" +#include "trap.h" #include "builtins/builtext.h" /* for wait_builtin */ @@ -81,11 +82,16 @@ extern sh_builtin_func_t *this_shell_builtin; extern sigset_t top_level_mask; #endif extern procenv_t wait_intr_buf; +extern int wait_intr_flag; extern int wait_signal_received; +extern void set_original_signal __P((int, SigHandler *)); + volatile pid_t last_made_pid = NO_PID; volatile pid_t last_asynchronous_pid = NO_PID; +static int queue_sigchld, waiting_for_child; /* dummy declarations */ + /* Call this when you start making children. */ int already_making_children = 0; @@ -99,6 +105,8 @@ int check_window_size = CHECKWINSIZE_DEFAULT; /* We don't have job control. */ int job_control = 0; +int running_in_background = 0; /* can't tell without job control */ + /* STATUS and FLAGS are only valid if pid != NO_PID STATUS is only valid if (flags & PROC_RUNNING) == 0 */ struct proc_status { @@ -124,7 +132,7 @@ static int wait_sigint_received; static long child_max = -1L; static void alloc_pid_list __P((void)); -static int find_proc_slot __P((void)); +static int find_proc_slot __P((pid_t)); static int find_index_by_pid __P((pid_t)); static int find_status_by_pid __P((pid_t)); static int process_exit_status __P((WAIT)); @@ -168,12 +176,13 @@ alloc_pid_list () /* Return the offset within the PID_LIST array of an empty slot. This can create new slots if all of the existing slots are taken. */ static int -find_proc_slot () +find_proc_slot (pid) + pid_t pid; { register int i; for (i = 0; i < pid_list_size; i++) - if (pid_list[i].pid == NO_PID) + if (pid_list[i].pid == NO_PID || pid_list[i].pid == pid) return (i); if (i == pid_list_size) @@ -329,7 +338,7 @@ add_pid (pid, async) { int slot; - slot = find_proc_slot (); + slot = find_proc_slot (pid); pid_list[slot].pid = pid; pid_list[slot].status = -1; @@ -410,6 +419,7 @@ reap_dead_jobs () } /* Initialize the job control mechanism, and set up the tty stuff. */ +int initialize_job_control (force) int force; { @@ -417,6 +427,7 @@ initialize_job_control (force) if (interactive) get_tty_state (); + return 0; } /* Setup this shell to handle C-C, etc. */ @@ -541,6 +552,8 @@ make_child (command, async_p) unset_bash_input (0); #endif /* BUFFERED_INPUT */ + CLRINTERRUPT; /* XXX - children have their own interrupt state */ + #if defined (HAVE_POSIX_SIGNALS) /* Restore top-level signal mask. */ sigprocmask (SIG_SETMASK, &top_level_mask, (sigset_t *)NULL); @@ -582,21 +595,57 @@ void default_tty_job_signals () { #if defined (SIGTSTP) - set_signal_handler (SIGTSTP, SIG_DFL); - set_signal_handler (SIGTTIN, SIG_DFL); - set_signal_handler (SIGTTOU, SIG_DFL); + if (signal_is_trapped (SIGTSTP) == 0 && signal_is_hard_ignored (SIGTSTP)) + set_signal_handler (SIGTSTP, SIG_IGN); + else + set_signal_handler (SIGTSTP, SIG_DFL); + if (signal_is_trapped (SIGTTIN) == 0 && signal_is_hard_ignored (SIGTTIN)) + set_signal_handler (SIGTTIN, SIG_IGN); + else + set_signal_handler (SIGTTIN, SIG_DFL); + if (signal_is_trapped (SIGTTOU) == 0 && signal_is_hard_ignored (SIGTTOU)) + set_signal_handler (SIGTTOU, SIG_IGN); + else + set_signal_handler (SIGTTOU, SIG_DFL); +#endif +} + +/* Called once in a parent process. */ +void +get_original_tty_job_signals () +{ + static int fetched = 0; + + if (fetched == 0) + { +#if defined (SIGTSTP) + if (interactive_shell) + { + set_original_signal (SIGTSTP, SIG_DFL); + set_original_signal (SIGTTIN, SIG_DFL); + set_original_signal (SIGTTOU, SIG_DFL); + } + else + { + get_original_signal (SIGTSTP); + get_original_signal (SIGTTIN); + get_original_signal (SIGTTOU); + } #endif + fetched = 1; + } } /* Wait for a single pid (PID) and return its exit status. Called by the wait builtin. */ int -wait_for_single_pid (pid) +wait_for_single_pid (pid, flags) pid_t pid; + int flags; { pid_t got_pid; WAIT status; - int pstatus, flags; + int pstatus; pstatus = find_status_by_pid (pid); @@ -675,6 +724,11 @@ wait_for_background_pids () cleanup_dead_jobs (); } +void +wait_sigint_cleanup () +{ +} + /* Make OLD_SIGINT_HANDLER the SIGINT signal handler. */ #define INVALID_SIGNAL_HANDLER (SigHandler *)wait_for_background_pids static SigHandler *old_sigint_handler = INVALID_SIGNAL_HANDLER; @@ -879,6 +933,7 @@ static TTYSTRUCT shell_tty_info; static int got_tty_state; /* Fill the contents of shell_tty_info with the current tty info. */ +int get_tty_state () { int tty; @@ -891,6 +946,7 @@ get_tty_state () if (check_window_size) get_new_window_size (0, (int *)0, (int *)0); } + return 0; } /* Make the current tty use the state in shell_tty_info. */ @@ -910,10 +966,12 @@ set_tty_state () } /* Give the terminal to PGRP. */ +int give_terminal_to (pgrp, force) pid_t pgrp; int force; { + return 0; } /* Stop a pipeline. */ @@ -938,6 +996,14 @@ stop_making_children () already_making_children = 0; } +/* The name is kind of a misnomer, but it's what the job control code uses. */ +void +without_job_control () +{ + stop_making_children (); + last_made_pid = NO_PID; /* XXX */ +} + int get_job_by_pid (pid, block) pid_t pid; @@ -957,9 +1023,10 @@ describe_pid (pid) fprintf (stderr, "%ld\n", (long) pid); } -void +int freeze_jobs_list () { + return 0; } void diff --git a/parse.y b/parse.y index 9cf7be808..f415d2eec 100644 --- a/parse.y +++ b/parse.y @@ -1,6 +1,6 @@ /* parse.y - Yacc grammar for bash. */ -/* Copyright (C) 1989-2012 Free Software Foundation, Inc. +/* Copyright (C) 1989-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -69,6 +69,8 @@ #if defined (JOB_CONTROL) # include "jobs.h" +#else +extern int cleanup_dead_jobs __P((void)); #endif /* JOB_CONTROL */ #if defined (ALIAS) @@ -125,6 +127,7 @@ extern char *dist_version; extern int patch_level; extern int dump_translatable_strings, dump_po_strings; extern sh_builtin_func_t *last_shell_builtin, *this_shell_builtin; +extern int here_doc_first_line; #if defined (BUFFERED_INPUT) extern int bash_input_fd_changed; #endif @@ -232,6 +235,9 @@ char *secondary_prompt = SPROMPT; /* PROMPT_STRING_POINTER points to one of these, never to an actual string. */ char *ps1_prompt, *ps2_prompt; +/* Displayed after reading a command but before executing it in an interactive shell */ +char *ps0_prompt; + /* Handle on the current prompt string. Indirectly points through ps1_ or ps2_prompt. */ char **prompt_string_pointer = (char **)NULL; @@ -268,8 +274,6 @@ int parser_state; /* Variables to manage the task of reading here documents, because we need to defer the reading until after a complete command has been collected. */ -#define HEREDOC_MAX 16 - static REDIRECT *redir_stack[HEREDOC_MAX]; int need_here_doc; @@ -1224,6 +1228,8 @@ pipeline_command: pipeline /* XXX - let's cheat and push a newline back */ if ($2 == '\n') token_to_read = '\n'; + else if ($2 == ';') + token_to_read = ';'; } | BANG list_terminator { @@ -1242,6 +1248,8 @@ pipeline_command: pipeline /* XXX - let's cheat and push a newline back */ if ($2 == '\n') token_to_read = '\n'; + if ($2 == ';') + token_to_read = ';'; } ; @@ -1428,9 +1436,9 @@ yy_readline_get () int line_len; unsigned char c; - if (!current_readline_line) + if (current_readline_line == 0) { - if (!bash_readline_initialized) + if (bash_readline_initialized == 0) initialize_readline (); #if defined (JOB_CONTROL) @@ -1438,7 +1446,7 @@ yy_readline_get () give_terminal_to (shell_pgrp, 0); #endif /* JOB_CONTROL */ - old_sigint = (SigHandler *)IMPOSSIBLE_TRAP_HANDLER; + old_sigint = IMPOSSIBLE_TRAP_HANDLER; if (signal_is_ignored (SIGINT) == 0) { /* interrupt_immediately++; */ @@ -1953,6 +1961,13 @@ parser_restore_alias () #endif } +void +clear_shell_input_line () +{ + if (shell_input_line) + shell_input_line[shell_input_line_index = 0] = '\0'; +} + /* Return a line of text, taken from wherever yylex () reads input. If there is no more input, then we return NULL. If REMOVE_QUOTED_NEWLINE is non-zero, we remove unquoted \ pairs. This is used by @@ -2059,10 +2074,10 @@ read_secondary_line (remove_quoted_newline) #if defined (HISTORY) if (ret && remember_on_history && (parser_state & PST_HEREDOC)) { - /* To make adding the the here-document body right, we need to rely - on history_delimiting_chars() returning \n for the first line of - the here-document body and the null string for the second and - subsequent lines, so we avoid double newlines. + /* To make adding the here-document body right, we need to rely on + history_delimiting_chars() returning \n for the first line of the + here-document body and the null string for the second and subsequent + lines, so we avoid double newlines. current_command_line_count == 2 for the first line of the body. */ current_command_line_count++; @@ -2204,11 +2219,12 @@ shell_getc (remove_quoted_newline) int remove_quoted_newline; { register int i; - int c, truncating; + int c, truncating, last_was_backslash; unsigned char uc; QUIT; + last_was_backslash = 0; if (sigwinch_received) { sigwinch_received = 0; @@ -2305,7 +2321,7 @@ shell_getc (remove_quoted_newline) if (n <= 2) /* we have to save 1 for the newline added below */ { if (truncating == 0) - internal_warning("shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%llu): line truncated", shell_input_line_size, SIZE_MAX); + internal_warning(_("shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line truncated"), shell_input_line_size, (unsigned long)SIZE_MAX); shell_input_line[i] = '\0'; truncating = 1; } @@ -2339,6 +2355,8 @@ shell_getc (remove_quoted_newline) current_command_line_count++; break; } + + last_was_backslash = last_was_backslash == 0 && c == '\\'; } shell_input_line_index = 0; @@ -2360,6 +2378,8 @@ shell_getc (remove_quoted_newline) if (current_delimiter (dstack) == '\'') history_expansion_inhibited = 1; # endif + /* Calling with a third argument of 1 allows remember_on_history to + determine whether or not the line is saved to the history list */ expansions = pre_process_line (shell_input_line, 1, 1); # if defined (BANG_HISTORY) history_expansion_inhibited = old_hist; @@ -2433,7 +2453,14 @@ shell_getc (remove_quoted_newline) shell_input_line = (char *)xrealloc (shell_input_line, 1 + (shell_input_line_size += 2)); - shell_input_line[shell_input_line_len] = '\n'; + /* Don't add a newline to a string that ends with a backslash if we're + going to be removing quoted newlines, since that will eat the + backslash. Add another backslash instead (will be removed by + word expansion). */ + if (bash_input.type == st_string && expanding_alias() == 0 && last_was_backslash && c == EOF && remove_quoted_newline) + shell_input_line[shell_input_line_len] = '\\'; + else + shell_input_line[shell_input_line_len] = '\n'; shell_input_line[shell_input_line_len + 1] = '\0'; set_line_mbstate (); @@ -2544,7 +2571,7 @@ parser_remaining_input () if (shell_input_line == 0) return 0; if (shell_input_line_index < 0 || shell_input_line_index >= shell_input_line_len) - return '\0'; /* XXX */ + return ""; /* XXX */ return (shell_input_line + shell_input_line_index); } @@ -2595,6 +2622,17 @@ execute_variable_command (command, vname) token_to_read = 0; } +void +push_token (x) + int x; +{ + two_tokens_ago = token_before_that; + token_before_that = last_read_token; + last_read_token = current_token; + + current_token = x; +} + /* Place to remember the token. We try to keep the buffer at a reasonable size, but it can grow. */ static char *token = (char *)NULL; @@ -2672,23 +2710,43 @@ gather_here_documents () int r; r = 0; + here_doc_first_line = 1; while (need_here_doc > 0) { parser_state |= PST_HEREDOC; make_here_document (redir_stack[r++], line_number); parser_state &= ~PST_HEREDOC; need_here_doc--; + redir_stack[r - 1] = 0; /* XXX */ } + here_doc_first_line = 0; /* just in case */ } /* When non-zero, an open-brace used to create a group is awaiting a close brace partner. */ static int open_brace_count; +/* In the following three macros, `token' is always last_read_token */ + +/* Are we in the middle of parsing a redirection where we are about to read + a word? This is used to make sure alias expansion doesn't happen in the + middle of a redirection, even though we're parsing a simple command. */ +#define parsing_redirection(token) \ + (token == '<' || token == '>' || \ + token == GREATER_GREATER || token == GREATER_BAR || \ + token == LESS_GREATER || token == LESS_LESS_MINUS || \ + token == LESS_LESS || token == LESS_LESS_LESS || \ + token == LESS_AND || token == GREATER_AND || token == AND_GREATER) + +/* Is `token' one that will allow a WORD to be read in a command position? + We can read a simple command name on which we should attempt alias expansion + or we can read an assignment statement. */ #define command_token_position(token) \ - (((token) == ASSIGNMENT_WORD) || (parser_state&PST_REDIRLIST) || \ + (((token) == ASSIGNMENT_WORD) || \ + ((parser_state&PST_REDIRLIST) && parsing_redirection(token) == 0) || \ ((token) != SEMI_SEMI && (token) != SEMI_AND && (token) != SEMI_SEMI_AND && reserved_word_acceptable(token))) +/* Are we in a position where we can read an assignment statement? */ #define assignment_acceptable(token) \ (command_token_position(token) && ((parser_state & PST_CASEPAT) == 0)) @@ -2707,6 +2765,8 @@ static int open_brace_count; break; \ if (word_token_alist[i].token == TIME && time_command_acceptable () == 0) \ break; \ + if ((parser_state & PST_CASEPAT) && last_read_token == '|' && word_token_alist[i].token == ESAC) \ + break; /* Posix grammar rule 4 */ \ if (word_token_alist[i].token == ESAC) \ parser_state &= ~(PST_CASEPAT|PST_CASESTMT); \ else if (word_token_alist[i].token == CASE) \ @@ -2751,7 +2811,7 @@ mk_alexpansion (s) strcpy (r, s); /* If the last character in the alias is a newline, don't add a trailing space to the expansion. Works with shell_getc above. */ - if (r[l - 1] != ' ' && r[l - 1] != '\n') + if (r[l - 1] != ' ' && r[l - 1] != '\n' && shellmeta(r[l - 1]) == 0) r[l++] = ' '; r[l] = '\0'; return r; @@ -2815,6 +2875,9 @@ time_command_acceptable () case 0: case ';': case '\n': + if (token_before_that == '|') + return (0); + /* FALLTHROUGH */ case AND_AND: case OR_OR: case '&': @@ -2972,12 +3035,14 @@ reset_parser () #endif parser_state = 0; + here_doc_first_line = 0; #if defined (ALIAS) || defined (DPAREN_ARITHMETIC) if (pushed_string_list) free_string_list (); #endif /* ALIAS || DPAREN_ARITHMETIC */ + /* This is where we resynchronize to the next newline on error/reset */ if (shell_input_line) { free (shell_input_line); @@ -3095,7 +3160,16 @@ read_token (command) parser_state &= ~PST_ASSIGNOK; - peek_char = shell_getc (1); + /* If we are parsing a command substitution and we have read a character + that marks the end of it, don't bother to skip over quoted newlines + when we read the next token. We're just interested in a character + that will turn this into a two-character token, so we let the higher + layers deal with quoted newlines following the command substitution. */ + if ((parser_state & PST_CMDSUBST) && character == shell_eof_token) + peek_char = shell_getc (0); + else + peek_char = shell_getc (1); + if (character == peek_char) { switch (character) @@ -3252,7 +3326,8 @@ tokword: #define LEX_INHEREDOC 0x080 #define LEX_HEREDELIM 0x100 /* reading here-doc delimiter */ #define LEX_STRIPDOC 0x200 /* <<- strip tabs from here doc delim */ -#define LEX_INWORD 0x400 +#define LEX_QUOTEDDOC 0x400 /* here doc with quoted delim */ +#define LEX_INWORD 0x800 #define COMSUB_META(ch) ((ch) == ';' || (ch) == '&' || (ch) == '|') @@ -3498,7 +3573,7 @@ parse_matched_pair (qc, open, close, lenp, flags) APPEND_NESTRET (); FREE (nestret); } - else if ((flags & P_ARRAYSUB) && (tflags & LEX_WASDOL) && (ch == '(' || ch == '{' || ch == '[')) /* ) } ] */ + else if ((flags & (P_ARRAYSUB|P_DOLBRACE)) && (tflags & LEX_WASDOL) && (ch == '(' || ch == '{' || ch == '[')) /* ) } ] */ goto parse_dollar_word; } /* Parse an old-style command substitution within double quotes as a @@ -3544,6 +3619,81 @@ parse_dollar_word: return ret; } +#if defined (DEBUG) +static void +dump_tflags (flags) + int flags; +{ + int f; + + f = flags; + fprintf (stderr, "%d -> ", f); + if (f & LEX_WASDOL) + { + f &= ~LEX_WASDOL; + fprintf (stderr, "LEX_WASDOL%s", f ? "|" : ""); + } + if (f & LEX_CKCOMMENT) + { + f &= ~LEX_CKCOMMENT; + fprintf (stderr, "LEX_CKCOMMENT%s", f ? "|" : ""); + } + if (f & LEX_INCOMMENT) + { + f &= ~LEX_INCOMMENT; + fprintf (stderr, "LEX_INCOMMENT%s", f ? "|" : ""); + } + if (f & LEX_PASSNEXT) + { + f &= ~LEX_PASSNEXT; + fprintf (stderr, "LEX_PASSNEXT%s", f ? "|" : ""); + } + if (f & LEX_RESWDOK) + { + f &= ~LEX_RESWDOK; + fprintf (stderr, "LEX_RESWDOK%s", f ? "|" : ""); + } + if (f & LEX_CKCASE) + { + f &= ~LEX_CKCASE; + fprintf (stderr, "LEX_CKCASE%s", f ? "|" : ""); + } + if (f & LEX_INCASE) + { + f &= ~LEX_INCASE; + fprintf (stderr, "LEX_INCASE%s", f ? "|" : ""); + } + if (f & LEX_INHEREDOC) + { + f &= ~LEX_INHEREDOC; + fprintf (stderr, "LEX_INHEREDOC%s", f ? "|" : ""); + } + if (f & LEX_HEREDELIM) + { + f &= ~LEX_HEREDELIM; + fprintf (stderr, "LEX_HEREDELIM%s", f ? "|" : ""); + } + if (f & LEX_STRIPDOC) + { + f &= ~LEX_STRIPDOC; + fprintf (stderr, "LEX_WASDOL%s", f ? "|" : ""); + } + if (f & LEX_QUOTEDDOC) + { + f &= ~LEX_QUOTEDDOC; + fprintf (stderr, "LEX_QUOTEDDOC%s", f ? "|" : ""); + } + if (f & LEX_INWORD) + { + f &= ~LEX_INWORD; + fprintf (stderr, "LEX_INWORD%s", f ? "|" : ""); + } + + fprintf (stderr, "\n"); + fflush (stderr); +} +#endif + /* Parse a $(...) command substitution. This is messier than I'd like, and reproduces a lot more of the token-reading code than I'd like. */ static char * @@ -3621,7 +3771,7 @@ eof_error: tind++; if (STREQN (ret + tind, heredelim, hdlen)) { - tflags &= ~(LEX_STRIPDOC|LEX_INHEREDOC); + tflags &= ~(LEX_STRIPDOC|LEX_INHEREDOC|LEX_QUOTEDDOC); /*itrace("parse_comsub:%d: found here doc end `%s'", line_number, ret + tind);*/ free (heredelim); heredelim = 0; @@ -3641,21 +3791,29 @@ eof_error: if ((tflags & LEX_INHEREDOC) && ch == close && count == 1) { int tind; -/*itrace("parse_comsub: in here doc, ch == close, retind - firstind = %d hdlen = %d retind = %d", retind-lex_firstind, hdlen, retind);*/ +/*itrace("parse_comsub:%d: in here doc, ch == close, retind - firstind = %d hdlen = %d retind = %d", line_number, retind-lex_firstind, hdlen, retind);*/ tind = lex_firstind; while ((tflags & LEX_STRIPDOC) && ret[tind] == '\t') tind++; if (retind-tind == hdlen && STREQN (ret + tind, heredelim, hdlen)) { - tflags &= ~(LEX_STRIPDOC|LEX_INHEREDOC); -/*itrace("parse_comsub:%d: found here doc end `%s'", line_number, ret + tind);*/ + tflags &= ~(LEX_STRIPDOC|LEX_INHEREDOC|LEX_QUOTEDDOC); +/*itrace("parse_comsub:%d: found here doc end `%*s'", line_number, hdlen, ret + tind);*/ free (heredelim); heredelim = 0; lex_firstind = -1; } } - /* Don't bother counting parens or doing anything else if in a comment */ + /* Don't bother counting parens or doing anything else if in a comment or + here document (not exactly right for here-docs -- if we want to allow + recursive calls to parse_comsub to have their own here documents, + change the LEX_INHEREDOC to LEX_QUOTEDDOC here and uncomment the next + clause below. Note that to make this work completely, we need to make + additional changes to allow xparse_dolparen to work right when the + command substitution is parsed, because read_secondary_line doesn't know + to recursively parse through command substitutions embedded in here- + documents */ if (tflags & (LEX_INCOMMENT|LEX_INHEREDOC)) { /* Add this character. */ @@ -3670,6 +3828,21 @@ eof_error: continue; } +#if 0 + /* If we're going to recursively parse a command substitution inside a + here-document, make sure we call parse_comsub recursively below. See + above for additional caveats. */ + if ((tflags & LEX_INHEREDOC) && ((tflags & LEX_WASDOL) == 0 || ch != '(')) /*)*/ + { + /* Add this character. */ + RESIZE_MALLOCED_BUFFER (ret, retind, 1, retsize, 64); + ret[retind++] = ch; + if MBTEST(ch == '$') + tflags |= LEX_WASDOL; + else + tflags &= ~LEX_WASDOL; + } +#endif if (tflags & LEX_PASSNEXT) /* last char was backslash */ { @@ -3747,9 +3920,11 @@ eof_error: { nestret = substring (ret, lex_firstind, retind); heredelim = string_quote_removal (nestret, 0); - free (nestret); hdlen = STRLEN(heredelim); /*itrace("parse_comsub:%d: found here doc delimiter `%s' (%d)", line_number, heredelim, hdlen);*/ + if (STREQ (heredelim, nestret) == 0) + tflags |= LEX_QUOTEDDOC; + free (nestret); } if (ch == '\n') { @@ -3799,7 +3974,7 @@ eof_error: /* If we can read a reserved word, try to read one. */ if (tflags & LEX_RESWDOK) { - if MBTEST(islower (ch)) + if MBTEST(islower ((unsigned char)ch)) { /* Add this character. */ RESIZE_MALLOCED_BUFFER (ret, retind, 1, retsize, 64); @@ -3812,14 +3987,34 @@ eof_error: if (STREQN (ret + retind - 4, "case", 4)) { tflags |= LEX_INCASE; + tflags &= ~LEX_RESWDOK; /*itrace("parse_comsub:%d: found `case', lex_incase -> 1 lex_reswdok -> 0", line_number);*/ } else if (STREQN (ret + retind - 4, "esac", 4)) { tflags &= ~LEX_INCASE; -/*itrace("parse_comsub:%d: found `esac', lex_incase -> 0 lex_reswdok -> 0", line_number);*/ +/*itrace("parse_comsub:%d: found `esac', lex_incase -> 0 lex_reswdok -> 1", line_number);*/ + tflags |= LEX_RESWDOK; + lex_rwlen = 0; + } + else if (STREQN (ret + retind - 4, "done", 4) || + STREQN (ret + retind - 4, "then", 4) || + STREQN (ret + retind - 4, "else", 4) || + STREQN (ret + retind - 4, "elif", 4) || + STREQN (ret + retind - 4, "time", 4)) + { + /* these are four-character reserved words that can be + followed by a reserved word; anything else turns off + the reserved-word-ok flag */ +/*itrace("parse_comsub:%d: found `%.4s', lex_reswdok -> 1", line_number, ret+retind-4);*/ + tflags |= LEX_RESWDOK; + lex_rwlen = 0; + } + else + { + tflags &= ~LEX_RESWDOK; +/*itrace("parse_comsub:%d: found `%.4s', lex_reswdok -> 0", line_number, ret+retind-4);*/ } - tflags &= ~LEX_RESWDOK; } else if MBTEST((tflags & LEX_CKCOMMENT) && ch == '#' && (lex_rwlen == 0 || ((tflags & LEX_INWORD) && lex_wlen == 0))) ; /* don't modify LEX_RESWDOK if we're starting a comment */ @@ -3827,11 +4022,11 @@ eof_error: RESWDOK flag, but reset the reserved word length counter so we can read another one. */ else if MBTEST(((tflags & LEX_INCASE) == 0) && - (isblank(ch) || ch == '\n') && + (isblank((unsigned char)ch) || ch == '\n') && lex_rwlen == 2 && STREQN (ret + retind - 2, "do", 2)) { -/*itrace("parse_comsub:%d: lex_incase == 1 found `%c', found \"do\"", line_number, ch);*/ +/*itrace("parse_comsub:%d: lex_incase == 0 found `%c', found \"do\"", line_number, ch);*/ lex_rwlen = 0; } else if MBTEST((tflags & LEX_INCASE) && ch != '\n') @@ -3852,7 +4047,7 @@ eof_error: #if 0 /* If we find a space or tab but have read something and it's not `do', turn off the reserved-word-ok flag */ - else if MBTEST(isblank (ch) && lex_rwlen > 0) + else if MBTEST(isblank ((unsigned char)ch) && lex_rwlen > 0) { tflags &= ~LEX_RESWDOK; /*itrace("parse_comsub:%d: found `%c', lex_reswordok -> 0", line_number, ch);*/ @@ -4037,7 +4232,8 @@ xparse_dolparen (base, string, indp, flags) /*(*/ parser_state |= PST_CMDSUBST|PST_EOFTOKEN; /* allow instant ')' */ /*(*/ shell_eof_token = ')'; - parse_string (string, "command substitution", sflags, &ep); + + nc = parse_string (string, "command substitution", sflags, &ep); shell_eof_token = orig_eof_token; restore_parser_state (&ps); @@ -4047,6 +4243,11 @@ xparse_dolparen (base, string, indp, flags) token_to_read = 0; + /* If parse_string returns < 0, we need to jump to top level with the + negative of the return value */ + if (nc < 0) + jump_to_top_level (-nc); /* XXX */ + /* Need to find how many characters parse_and_execute consumed, update *indp, if flags != 0, copy the portion of the string parsed into RET and return it. If flags & 1 (EX_NOALLOC) we can return NULL. */ @@ -4502,7 +4703,7 @@ read_token_word (character) /* Non-zero means to ignore the value of the next character, and just to add it no matter what. */ - int pass_next_character; + int pass_next_character; /* The current delimiting character. */ int cd; @@ -4799,7 +5000,6 @@ read_token_word (character) } got_character: - if (character == CTLESC || character == CTLNUL) { RESIZE_MALLOCED_BUFFER (token, token_index, 2, token_buffer_size, @@ -4876,7 +5076,7 @@ got_token: #endif CHECK_FOR_RESERVED_WORD (token); - the_word = (WORD_DESC *)xmalloc (sizeof (WORD_DESC)); + the_word = alloc_word_desc (); the_word->word = (char *)xmalloc (1 + token_index); the_word->flags = 0; strcpy (the_word->word, token); @@ -4919,7 +5119,7 @@ got_token: /* can use token; already copied to the_word */ token[token_index-1] = '\0'; #if defined (ARRAY_VARS) - if (legal_identifier (token+1) || valid_array_reference (token+1)) + if (legal_identifier (token+1) || valid_array_reference (token+1, 0)) #else if (legal_identifier (token+1)) #endif @@ -5092,7 +5292,7 @@ history_delimiting_chars (line) last_was_heredoc = 0; return "\n"; } - return (current_command_line_count == 2 ? "\n" : ""); + return (here_doc_first_line ? "\n" : ""); } if (parser_state & PST_COMPASSIGN) @@ -5113,7 +5313,7 @@ history_delimiting_chars (line) command lists. It's a suboptimal solution. */ else if (parser_state & PST_CASESTMT) /* case statement pattern */ return " "; - else + else return "; "; /* (...) subshell */ } else if (token_before_that == WORD && two_tokens_ago == FUNCTION) @@ -5127,7 +5327,8 @@ history_delimiting_chars (line) last_was_heredoc = 1; return "\n"; } - + else if ((parser_state & PST_HEREDOC) == 0 && current_command_line_count > 1 && need_here_doc > 0) + return "\n"; else if (token_before_that == WORD && two_tokens_ago == FOR) { /* Tricky. `for i\nin ...' should not have a semicolon, but @@ -5164,6 +5365,8 @@ prompt_again () ps1_prompt = get_string_value ("PS1"); ps2_prompt = get_string_value ("PS2"); + ps0_prompt = get_string_value ("PS0"); + if (!prompt_string_pointer) prompt_string_pointer = &ps1_prompt; @@ -5256,9 +5459,10 @@ decode_prompt_string (string) struct dstack save_dstack; int last_exit_value, last_comsub_pid; #if defined (PROMPT_STRING_DECODE) - int result_size, result_index; + size_t result_size; + int result_index; int c, n, i; - char *temp, octal_string[4]; + char *temp, *t_host, octal_string[4]; struct tm *tm; time_t the_time; char timebuf[128]; @@ -5406,7 +5610,11 @@ decode_prompt_string (string) case 's': temp = base_pathname (shell_name); - temp = savestring (temp); + /* Try to quote anything the user can set in the file system */ + if (promptvars || posixly_correct) + temp = sh_backslash_quote_for_double_quotes (temp); + else + temp = savestring (temp); goto add_string; case 'v': @@ -5496,9 +5704,17 @@ decode_prompt_string (string) case 'h': case 'H': - temp = savestring (current_host_name); - if (c == 'h' && (t = (char *)strchr (temp, '.'))) + t_host = savestring (current_host_name); + if (c == 'h' && (t = (char *)strchr (t_host, '.'))) *t = '\0'; + if (promptvars || posixly_correct) + /* Make sure that expand_prompt_string is called with a + second argument of Q_DOUBLE_QUOTES if we use this + function here. */ + temp = sh_backslash_quote_for_double_quotes (t_host); + else + temp = savestring (t_host); + free (t_host); goto add_string; case '#': @@ -5589,6 +5805,10 @@ not_escape: else { RESIZE_MALLOCED_BUFFER (result, result_index, 3, result_size, PROMPT_GROWTH); + /* dequote_string should take care of removing this if we are not + performing the rest of the word expansions. */ + if (c == CTLESC || c == CTLNUL) + result[result_index++] = CTLESC; result[result_index++] = c; result[result_index] = '\0'; } @@ -6082,6 +6302,8 @@ sh_parser_state_t * save_parser_state (ps) sh_parser_state_t *ps; { + int i; + if (ps == 0) ps = (sh_parser_state_t *)xmalloc (sizeof (sh_parser_state_t)); if (ps == 0) @@ -6115,6 +6337,17 @@ save_parser_state (ps) ps->expand_aliases = expand_aliases; ps->echo_input_at_read = echo_input_at_read; ps->need_here_doc = need_here_doc; + ps->here_doc_first_line = here_doc_first_line; + +#if 0 + for (i = 0; i < HEREDOC_MAX; i++) + ps->redir_stack[i] = redir_stack[i]; +#else + if (need_here_doc == 0) + ps->redir_stack[0] = 0; + else + memcpy (ps->redir_stack, redir_stack, sizeof (redir_stack[0]) * HEREDOC_MAX); +#endif ps->token = token; ps->token_buffer_size = token_buffer_size; @@ -6129,6 +6362,8 @@ void restore_parser_state (ps) sh_parser_state_t *ps; { + int i; + if (ps == 0) return; @@ -6164,6 +6399,17 @@ restore_parser_state (ps) expand_aliases = ps->expand_aliases; echo_input_at_read = ps->echo_input_at_read; need_here_doc = ps->need_here_doc; + here_doc_first_line = ps->here_doc_first_line; + +#if 0 + for (i = 0; i < HEREDOC_MAX; i++) + redir_stack[i] = ps->redir_stack[i]; +#else + if (need_here_doc == 0) + redir_stack[0] = 0; + else + memcpy (redir_stack, ps->redir_stack, sizeof (redir_stack[0]) * HEREDOC_MAX); +#endif FREE (token); token = ps->token; @@ -6222,8 +6468,7 @@ set_line_mbstate () if (shell_input_line == NULL) return; len = strlen (shell_input_line); /* XXX - shell_input_line_len ? */ - FREE (shell_input_line_property); - shell_input_line_property = (char *)xmalloc (len + 1); + shell_input_line_property = (char *)xrealloc (shell_input_line_property, len + 1); memset (&prevs, '\0', sizeof (mbstate_t)); for (i = previ = 0; i < len; i++) diff --git a/parser-built b/parser-built index b280e4097..b367eb205 100644 --- a/parser-built +++ b/parser-built @@ -1,14 +1,13 @@ -/* A Bison parser, made by GNU Bison 2.3. */ +/* A Bison parser, made by GNU Bison 3.0.4. */ -/* Skeleton interface for Bison's Yacc-like parsers in C +/* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,9 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work @@ -33,60 +30,69 @@ This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ -/* Tokens. */ +#ifndef YY_YY_Y_TAB_H_INCLUDED +# define YY_YY_Y_TAB_H_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; +#endif + +/* Token type. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - IF = 258, - THEN = 259, - ELSE = 260, - ELIF = 261, - FI = 262, - CASE = 263, - ESAC = 264, - FOR = 265, - SELECT = 266, - WHILE = 267, - UNTIL = 268, - DO = 269, - DONE = 270, - FUNCTION = 271, - COPROC = 272, - COND_START = 273, - COND_END = 274, - COND_ERROR = 275, - IN = 276, - BANG = 277, - TIME = 278, - TIMEOPT = 279, - TIMEIGN = 280, - WORD = 281, - ASSIGNMENT_WORD = 282, - REDIR_WORD = 283, - NUMBER = 284, - ARITH_CMD = 285, - ARITH_FOR_EXPRS = 286, - COND_CMD = 287, - AND_AND = 288, - OR_OR = 289, - GREATER_GREATER = 290, - LESS_LESS = 291, - LESS_AND = 292, - LESS_LESS_LESS = 293, - GREATER_AND = 294, - SEMI_SEMI = 295, - SEMI_AND = 296, - SEMI_SEMI_AND = 297, - LESS_LESS_MINUS = 298, - AND_GREATER = 299, - AND_GREATER_GREATER = 300, - LESS_GREATER = 301, - GREATER_BAR = 302, - BAR_AND = 303, - yacc_EOF = 304 - }; + enum yytokentype + { + IF = 258, + THEN = 259, + ELSE = 260, + ELIF = 261, + FI = 262, + CASE = 263, + ESAC = 264, + FOR = 265, + SELECT = 266, + WHILE = 267, + UNTIL = 268, + DO = 269, + DONE = 270, + FUNCTION = 271, + COPROC = 272, + COND_START = 273, + COND_END = 274, + COND_ERROR = 275, + IN = 276, + BANG = 277, + TIME = 278, + TIMEOPT = 279, + TIMEIGN = 280, + WORD = 281, + ASSIGNMENT_WORD = 282, + REDIR_WORD = 283, + NUMBER = 284, + ARITH_CMD = 285, + ARITH_FOR_EXPRS = 286, + COND_CMD = 287, + AND_AND = 288, + OR_OR = 289, + GREATER_GREATER = 290, + LESS_LESS = 291, + LESS_AND = 292, + LESS_LESS_LESS = 293, + GREATER_AND = 294, + SEMI_SEMI = 295, + SEMI_AND = 296, + SEMI_SEMI_AND = 297, + LESS_LESS_MINUS = 298, + AND_GREATER = 299, + AND_GREATER_GREATER = 300, + LESS_GREATER = 301, + GREATER_BAR = 302, + BAR_AND = 303, + yacc_EOF = 304 + }; #endif /* Tokens. */ #define IF 258 @@ -137,13 +143,13 @@ #define BAR_AND 303 #define yacc_EOF 304 - - - +/* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE -#line 324 "/usr/homes/chet/src/bash/src/parse.y" + +union YYSTYPE { +#line 333 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1909 */ + WORD_DESC *word; /* the word that we read. */ int number; /* the number that we read. */ WORD_LIST *word_list; @@ -151,14 +157,18 @@ typedef union YYSTYPE REDIRECT *redirect; ELEMENT element; PATTERN_LIST *pattern; -} -/* Line 1529 of yacc.c. */ -#line 157 "y.tab.h" - YYSTYPE; -# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -# define YYSTYPE_IS_DECLARED 1 + +#line 162 "y.tab.h" /* yacc.c:1909 */ +}; + +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 +# define YYSTYPE_IS_DECLARED 1 #endif + extern YYSTYPE yylval; +int yyparse (void); + +#endif /* !YY_YY_Y_TAB_H_INCLUDED */ diff --git a/patchlevel.h b/patchlevel.h index 22bb68c0c..1cd7c96c7 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -1,6 +1,6 @@ /* patchlevel.h -- current bash patch level */ -/* Copyright (C) 2001-2012 Free Software Foundation, Inc. +/* Copyright (C) 2001-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -25,6 +25,6 @@ regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh looks for to find the patch level (for the sccs version string). */ -#define PATCHLEVEL 46 +#define PATCHLEVEL 0 #endif /* _PATCHLEVEL_H_ */ diff --git a/pathexp.c b/pathexp.c index d7315e388..21fc148db 100644 --- a/pathexp.c +++ b/pathexp.c @@ -184,6 +184,7 @@ quote_string_for_globbing (pathname, qflags) char *temp; register int i, j; int brack, cclass, collsym, equiv, c, last_was_backslash; + int savei, savej; temp = (char *)xmalloc (2 * strlen (pathname) + 1); @@ -226,6 +227,8 @@ quote_string_for_globbing (pathname, qflags) { brack = 1; temp[j++] = pathname[i++]; /* open bracket */ + savej = j; + savei = i; c = pathname[i++]; /* c == char after open bracket */ do { @@ -282,7 +285,19 @@ quote_string_for_globbing (pathname, qflags) else temp[j++] = c; } - while ((c = pathname[i++]) != ']'); + while (((c = pathname[i++]) != ']') && c != 0); + + /* If we don't find the closing bracket before we hit the end of + the string, rescan string without treating it as a bracket + expression (has implications for backslash and special ERE + chars) */ + if (c == 0) + { + i = savei - 1; /* -1 for autoincrement above */ + j = savej; + continue; + } + temp[j++] = c; /* closing right bracket */ i--; /* increment will happen above in loop */ continue; /* skip double assignment below */ @@ -313,10 +328,11 @@ endpat: char * quote_globbing_chars (string) - char *string; + const char *string; { size_t slen; - char *temp, *s, *t, *send; + char *temp, *t; + const char *s, *send; DECLARE_MBSTATE; slen = strlen (string); @@ -461,7 +477,7 @@ glob_name_is_acceptable (name) if (name[0] == '.' && (name[1] == '\0' || (name[1] == '.' && name[2] == '\0'))) return (0); - flags = FNM_PATHNAME | FNMATCH_EXTFLAG; + flags = FNM_PATHNAME | FNMATCH_EXTFLAG | FNMATCH_NOCASEGLOB; for (p = globignore.ignores; p->val; p++) { if (strmatch (p->val, (char *)name, flags) != FNM_NOMATCH) @@ -538,7 +554,7 @@ split_ignorespec (s, ip) if (s[i] == 0) return 0; - n = skip_to_delim (s, i, ":", SD_NOJMP|SD_EXTGLOB); + n = skip_to_delim (s, i, ":", SD_NOJMP|SD_EXTGLOB|SD_GLOB); t = substring (s, i, n); if (s[n] == ':') diff --git a/pathexp.h b/pathexp.h index 20d0baf86..183a2124c 100644 --- a/pathexp.h +++ b/pathexp.h @@ -1,6 +1,6 @@ /* pathexp.h -- The shell interface to the globbing library. */ -/* Copyright (C) 1987-2009 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -43,6 +43,7 @@ extern char *glob_error_return; #endif /* !EXTENDED_GLOB */ #define FNMATCH_IGNCASE (match_ignore_case ? FNM_CASEFOLD : 0) +#define FNMATCH_NOCASEGLOB (glob_ignore_case ? FNM_CASEFOLD : 0) extern int glob_dot_filenames; extern int extended_glob; @@ -64,13 +65,13 @@ extern int unquoted_glob_pattern_p __P((char *)); extern char *quote_string_for_globbing __P((const char *, int)); extern int glob_char_p __P((const char *)); -extern char *quote_globbing_chars __P((char *)); +extern char *quote_globbing_chars __P((const char *)); /* Call the glob library to do globbing on PATHNAME. */ extern char **shell_glob_filename __P((const char *)); /* Filename completion ignore. Used to implement the "fignore" facility of - tcsh and GLOBIGNORE (like ksh-93 FIGNORE). + tcsh, GLOBIGNORE (like ksh-93 FIGNORE), and EXECIGNORE. It is passed a NULL-terminated array of (char *)'s that must be free()'d if they are deleted. The first element (names[0]) is the @@ -86,7 +87,7 @@ struct ign { typedef int sh_iv_item_func_t __P((struct ign *)); struct ignorevar { - char *varname; /* FIGNORE or GLOBIGNORE */ + char *varname; /* FIGNORE, GLOBIGNORE, or EXECIGNORE */ struct ign *ignores; /* Store the ignore strings here */ int num_ignores; /* How many are there? */ char *last_ignoreval; /* Last value of variable - cached for speed */ diff --git a/pcomplete.c b/pcomplete.c index 70cbc98a0..ac0903a9e 100644 --- a/pcomplete.c +++ b/pcomplete.c @@ -117,7 +117,7 @@ static int it_init_setopts __P((ITEMLIST *)); static int it_init_shopts __P((ITEMLIST *)); static int shouldexp_filterpat __P((char *)); -static char *preproc_filterpat __P((char *, char *)); +static char *preproc_filterpat __P((char *, const char *)); static void init_itemlist_from_varlist __P((ITEMLIST *, SVFUNC *)); @@ -273,7 +273,7 @@ shouldexp_filterpat (s) static char * preproc_filterpat (pat, text) char *pat; - char *text; + const char *text; { char *ret; @@ -289,7 +289,8 @@ preproc_filterpat (pat, text) STRINGLIST * filter_stringlist (sl, filterpat, text) STRINGLIST *sl; - char *filterpat, *text; + char *filterpat; + const char *text; { int i, m, not; STRINGLIST *ret; @@ -300,13 +301,17 @@ filter_stringlist (sl, filterpat, text) npat = shouldexp_filterpat (filterpat) ? preproc_filterpat (filterpat, text) : filterpat; +#if defined (EXTENDED_GLOB) + not = (npat[0] == '!' && (extended_glob == 0 || npat[1] != '(')); /*)*/ +#else not = (npat[0] == '!'); +#endif t = not ? npat + 1 : npat; ret = strlist_create (sl->list_size); for (i = 0; i < sl->list_len; i++) { - m = strmatch (t, sl->list[i], FNMATCH_EXTFLAG); + m = strmatch (t, sl->list[i], FNMATCH_EXTFLAG | FNMATCH_IGNCASE); if ((not && m == FNM_NOMATCH) || (not == 0 && m != FNM_NOMATCH)) free (sl->list[i]); else @@ -1020,13 +1025,13 @@ static void unbind_compfunc_variables (exported) int exported; { - unbind_variable ("COMP_LINE"); - unbind_variable ("COMP_POINT"); - unbind_variable ("COMP_TYPE"); - unbind_variable ("COMP_KEY"); + unbind_variable_noref ("COMP_LINE"); + unbind_variable_noref ("COMP_POINT"); + unbind_variable_noref ("COMP_TYPE"); + unbind_variable_noref ("COMP_KEY"); #ifdef ARRAY_VARS - unbind_variable ("COMP_WORDS"); - unbind_variable ("COMP_CWORD"); + unbind_variable_noref ("COMP_WORDS"); + unbind_variable_noref ("COMP_CWORD"); #endif if (exported) array_needs_making = 1; @@ -1178,7 +1183,7 @@ gen_shell_function_matches (cs, cmd, text, line, ind, lwords, nw, cw, foundp) } /* XXX - should we unbind COMPREPLY here? */ - unbind_variable ("COMPREPLY"); + unbind_variable_noref ("COMPREPLY"); return (sl); #endif @@ -1187,9 +1192,9 @@ gen_shell_function_matches (cs, cmd, text, line, ind, lwords, nw, cw, foundp) /* Build a command string with $0 == cs->command (command to execute for completion list) $1 == command name (command being completed) - $2 = word to be completed (possibly null) - $3 = previous word - and run in with command substitution. Parse the results, one word + $2 == word to be completed (possibly null) + $3 == previous word + and run it with command substitution. Parse the results, one word per line, with backslashes allowed to escape newlines. Build a STRINGLIST from the results and return it. */ @@ -1292,7 +1297,7 @@ command_line_to_word_list (line, llen, sentinel, nwp, cwp) #else delims = rl_completer_word_break_characters; #endif - ret = split_at_delims (line, llen, delims, sentinel, SD_NOQUOTEDELIM, nwp, cwp); + ret = split_at_delims (line, llen, delims, sentinel, SD_NOQUOTEDELIM|SD_COMPLETE, nwp, cwp); return (ret); } @@ -1522,6 +1527,8 @@ pcomp_set_readline_variables (flags, nval) option is supposed to turn it off */ if (flags & COPT_NOQUOTE) rl_filename_quoting_desired = 1 - nval; + if (flags & COPT_NOSORT) + rl_sort_completion_matches = 1 - nval; } /* Set or unset FLAGS in the options word of the current compspec. @@ -1636,7 +1643,7 @@ programmable_completions (cmd, word, start, end, foundp) if (count > 32) { - internal_warning ("programmable_completion: %s: possible retry loop", cmd); + internal_warning (_("programmable_completion: %s: possible retry loop"), cmd); break; } } diff --git a/pcomplete.h b/pcomplete.h index 67f6393f8..0514245a6 100644 --- a/pcomplete.h +++ b/pcomplete.h @@ -75,6 +75,7 @@ typedef struct compspec { #define COPT_NOSPACE (1<<5) #define COPT_BASHDEFAULT (1<<6) #define COPT_PLUSDIRS (1<<7) +#define COPT_NOSORT (1<<8) /* List of items is used by the code that implements the programmable completions. */ diff --git a/pcomplib.c b/pcomplib.c index 7361bb173..70c7a17a6 100644 --- a/pcomplib.c +++ b/pcomplib.c @@ -37,7 +37,7 @@ #include "shell.h" #include "pcomplete.h" -#define COMPLETE_HASH_BUCKETS 128 /* must be power of two */ +#define COMPLETE_HASH_BUCKETS 256 /* must be power of two */ #define STRDUP(x) ((x) ? savestring (x) : (char *)NULL) @@ -96,7 +96,7 @@ compspec_copy (cs) new = (COMPSPEC *)xmalloc (sizeof (COMPSPEC)); - new->refcount = cs->refcount; + new->refcount = 1; /* was cs->refcount, but this is a fresh copy */ new->actions = cs->actions; new->options = cs->options; diff --git a/po/LINGUAS b/po/LINGUAS index a97ac6a89..9c17d2658 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -1,2 +1,2 @@ # Set of available languages. -en@quot en@boldquot af bg ca cs da de el eo es et fi fr ga gl hr hu id it ja lt nl pl pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_TW +en@quot en@boldquot af bg ca cs da de el eo es et fi fr ga gl hr hu id it ja lt nb nl pl pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_TW diff --git a/po/af.gmo b/po/af.gmo index 9bb144e8f..65138ec15 100644 Binary files a/po/af.gmo and b/po/af.gmo differ diff --git a/po/af.po b/po/af.po index bef026b68..54feb499c 100644 --- a/po/af.po +++ b/po/af.po @@ -6,80 +6,86 @@ msgid "" msgstr "" "Project-Id-Version: bash 2.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2004-03-17 13:48+0200\n" "Last-Translator: Petri Jooste \n" "Language-Team: Afrikaans \n" -"Language: af\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" +"Language: af\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 #, fuzzy msgid "bad array subscript" msgstr "Os/2 Biskaart Skikking" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, fuzzy, c-format msgid "%s: invalid associative array key" msgstr "%s: illegal option -- %c\n" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: kan nie %s skep nie" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, fuzzy, c-format msgid "`%s': invalid alias name" msgstr "%s: illegal option -- %c\n" @@ -88,356 +94,385 @@ msgstr "%s: illegal option -- %c\n" msgid "line editing not enabled" msgstr "" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, fuzzy, c-format msgid "%s: cannot read: %s" msgstr "%s: kan nie %s skep nie" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, fuzzy, c-format msgid "`%s': cannot unbind" msgstr "%s: bevel nie gevind nie" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, fuzzy, c-format msgid "`%s': unknown function name" msgstr "%s: leesalleen-funksie" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "" -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 #, fuzzy msgid "loop count" msgstr "Afteken" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" " Without EXPR, returns " msgstr "" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 #, fuzzy msgid "too many arguments" msgstr "te veel parameters" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "boonste lêergids." + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "" -#: builtins/common.c:101 +#: builtins/common.c:102 #, fuzzy, c-format msgid "line %d: " msgstr "3d modus" -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, fuzzy, c-format msgid "warning: " msgstr "besig om te skryf" -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "" -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, fuzzy, c-format msgid "%s: option requires an argument" msgstr "%s: option `%s' requires an argument\n" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "" -#: builtins/common.c:205 +#: builtins/common.c:213 #, fuzzy, c-format msgid "%s: not found" msgstr "%s: bevel nie gevind nie" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, fuzzy, c-format msgid "%s: invalid option" msgstr "%s: illegal option -- %c\n" -#: builtins/common.c:221 +#: builtins/common.c:229 #, fuzzy, c-format msgid "%s: invalid option name" msgstr "%s: illegal option -- %c\n" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, fuzzy, c-format msgid "`%s': not a valid identifier" msgstr "Die datum is nie geldige!" -#: builtins/common.c:238 +#: builtins/common.c:246 #, fuzzy msgid "invalid octal number" msgstr "Die sein nommer wat was gevang het" -#: builtins/common.c:240 +#: builtins/common.c:248 #, fuzzy msgid "invalid hex number" msgstr "Die sein nommer wat was gevang het" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 #, fuzzy msgid "invalid number" msgstr "Die sein nommer wat was gevang het" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, fuzzy, c-format msgid "%s: readonly variable" msgstr "Veranderlike boom" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 #, fuzzy msgid "argument" msgstr "argument verwag\n" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "" -#: builtins/common.c:290 +#: builtins/common.c:298 #, fuzzy, c-format msgid "%s: no job control" msgstr "geen taakbeheer in hierdie dop nie" -#: builtins/common.c:292 +#: builtins/common.c:300 #, fuzzy msgid "no job control" msgstr "geen taakbeheer in hierdie dop nie" -#: builtins/common.c:302 +#: builtins/common.c:310 #, fuzzy, c-format msgid "%s: restricted" msgstr "Die bediener beëindig Die verbinding." -#: builtins/common.c:304 +#: builtins/common.c:312 #, fuzzy msgid "restricted" msgstr "" "\n" "Bevel beëindig\n" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "" -#: builtins/common.c:321 +#: builtins/common.c:329 #, fuzzy, c-format msgid "write error: %s" msgstr "pypfout: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, fuzzy, c-format msgid "%s: ambiguous job spec" msgstr "%s: dubbelsinnige herroetering" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: illegal option -- %c\n" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: leesalleen-funksie" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, fuzzy, c-format msgid "%s: cannot destroy array variables in this way" msgstr "Kan nie soek 'n handtekening in hierdie boodskap!" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, fuzzy, c-format msgid "cannot open shared object %s: %s" msgstr "Kan nie oopmaak vir skrip-afvoer nie: \"" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, fuzzy, c-format msgid "%s: cannot delete: %s" msgstr "%s: kan nie %s skep nie" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: is 'n gids" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, fuzzy, c-format msgid "%s: not a regular file" msgstr "%s: kan nie 'n binêre lêer uitvoer nie" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: kan nie 'n binêre lêer uitvoer nie" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, fuzzy, c-format msgid "%s: cannot execute: %s" msgstr "%s: kan nie %s skep nie" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, fuzzy, c-format msgid "logout\n" msgstr "Afteken" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "" -#: builtins/fc.def:262 +#: builtins/fc.def:269 #, fuzzy msgid "no command found" msgstr "%s: bevel nie gevind nie" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, fuzzy, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: kan nie %s skep nie" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "" @@ -456,35 +491,35 @@ msgstr "%s: option `%s' requires an argument\n" msgid "hashing disabled" msgstr "" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, fuzzy, c-format msgid "hits\tcommand\n" msgstr "Bevelreël" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "" msgstr[1] "" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -#: builtins/help.def:199 +#: builtins/help.def:226 #, fuzzy, c-format msgid "%s: cannot open: %s" msgstr "%s: kan nie %s skep nie" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -496,15 +531,20 @@ msgid "" "\n" msgstr "" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: illegal option -- %c\n" + +#: builtins/history.def:375 #, fuzzy, c-format msgid "%s: history expansion failed" msgstr "%s: heelgetal-uitdrukking is verwag\n" @@ -518,119 +558,119 @@ msgstr "%s: heelgetal-uitdrukking is verwag\n" msgid "no other options allowed with `-x'" msgstr "" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "" -#: builtins/kill.def:263 +#: builtins/kill.def:265 #, fuzzy msgid "Unknown error" msgstr "Onbekende fout %d" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 #, fuzzy msgid "expression expected" msgstr "Bools uitdrukking verwag" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, fuzzy, c-format msgid "%s: not an indexed array" msgstr "Veranderlike boom" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, fuzzy, c-format msgid "%s: invalid line count" msgstr "%s: illegal option -- %c\n" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, fuzzy, c-format msgid "%s: invalid array origin" msgstr "%s: illegal option -- %c\n" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, fuzzy, c-format msgid "%s: invalid callback quantum" msgstr "Die sein nommer wat was gevang het" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 #, fuzzy msgid "empty array variable name" msgstr "Veranderlike boom" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, fuzzy, c-format msgid "`%c': invalid time format specification" msgstr "%s: illegal option -- %c\n" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 #, fuzzy msgid "no other directory" msgstr "boonste lêergids." -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: illegal option -- %c\n" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 #, fuzzy msgid "" msgstr "Nuutste gebruik word werksaam gids" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 #, fuzzy msgid "directory stack index" msgstr "Stapel grootte verhoog" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -654,7 +694,7 @@ msgid "" "\tdirs when invoked without options, starting with zero." msgstr "" -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -679,7 +719,7 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -700,147 +740,157 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "" -#: builtins/read.def:678 +#: builtins/read.def:696 #, fuzzy, c-format msgid "read error: %d: %s" msgstr "pypfout: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "" -#: builtins/set.def:826 +#: builtins/set.def:888 #, fuzzy, c-format msgid "%s: cannot unset" msgstr "%s: kan nie %s skep nie" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, fuzzy, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: kan nie %s skep nie" -#: builtins/set.def:854 +#: builtins/set.def:922 #, fuzzy, c-format msgid "%s: not an array variable" msgstr "Veranderlike boom" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, fuzzy, c-format msgid "%s: not a function" msgstr "%s: leesalleen-funksie" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: kan nie %s skep nie" + +#: builtins/shift.def:73 builtins/shift.def:79 #, fuzzy msgid "shift count" msgstr "Shift" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "" -#: builtins/source.def:155 +#: builtins/source.def:157 #, fuzzy, c-format msgid "%s: file not found" msgstr "%s: bevel nie gevind nie" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 #, fuzzy msgid "cannot suspend a login shell" msgstr "Begin aanteken tolk" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "" -#: builtins/type.def:274 +#: builtins/type.def:276 #, fuzzy, c-format msgid "%s is a function\n" msgstr "%s: leesalleen-funksie" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, fuzzy, c-format msgid "`%c': bad command" msgstr "%s: illegal option -- %c\n" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, fuzzy, c-format msgid "%s: cannot get limit: %s" msgstr "%s: kan nie %s skep nie" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 #, fuzzy msgid "limit" msgstr "Filter beperk:" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, fuzzy, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: kan nie %s skep nie" -#: builtins/umask.def:114 +#: builtins/umask.def:115 #, fuzzy msgid "octal number" msgstr "Die sein nommer wat was gevang het" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr "" @@ -854,87 +904,108 @@ msgstr "Bevelre msgid "Aborting..." msgstr "" -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 #, fuzzy msgid "unknown command error" msgstr "Onbekende fout %d" -#: error.c:441 +#: error.c:464 #, fuzzy msgid "bad command type" msgstr "bevelnaam" -#: error.c:442 +#: error.c:465 #, fuzzy msgid "bad connector" msgstr "foutiewe verbinder`%d'" -#: error.c:443 +#: error.c:466 #, fuzzy msgid "bad jump" msgstr "Spring na:" -#: error.c:481 +#: error.c:504 #, fuzzy, c-format msgid "%s: unbound variable" msgstr "Veranderlike boom" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 #, fuzzy msgid "pipe error" msgstr "pypfout: %s" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: bevel nie gevind nie" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, fuzzy, c-format msgid "%s: %s: bad interpreter" msgstr "%s: is 'n gids" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: kan nie 'n binêre lêer uitvoer nie" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, fuzzy, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "kan nie fd %d na fd 0 dupliseer nie: %s" @@ -984,41 +1055,41 @@ msgstr "" msgid "missing `)'" msgstr "Ontbrekende '>'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 #, fuzzy msgid "syntax error: operand expected" msgstr "Onverwagte einde van lêer tydens inlees van hulpbron." -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "" -#: expr.c:1416 +#: expr.c:1419 #, fuzzy, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "" "Hierdie is die fout boodskap van %1:\n" "%2" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "waarde te groot vir basis" -#: expr.c:1543 +#: expr.c:1546 #, fuzzy, c-format msgid "%s: expression error\n" msgstr "%s: heelgetal-uitdrukking is verwag\n" -#: general.c:62 +#: general.c:68 #, fuzzy msgid "getcwd: cannot access parent directories" msgstr "Kan nie die program uitvoer nie:" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, fuzzy, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "kan nie fd %d na fd 0 dupliseer nie: %s" @@ -1033,152 +1104,152 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "" -#: jobs.c:1435 +#: jobs.c:1590 #, fuzzy, c-format msgid "describe_pid: %ld: no such pid" msgstr "E108: Geen veranderlike: \"%s\"" -#: jobs.c:1450 +#: jobs.c:1605 #, fuzzy, c-format msgid "Signal %d" msgstr "Sein kwaliteit:" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Klaar" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 #, fuzzy msgid "Stopped" msgstr "Op gehou" -#: jobs.c:1473 +#: jobs.c:1628 #, fuzzy, c-format msgid "Stopped(%s)" msgstr "Op gehou" -#: jobs.c:1477 +#: jobs.c:1632 #, fuzzy msgid "Running" msgstr "aktief" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Klaar(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Verlaat %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Onbekende status" -#: jobs.c:1583 +#: jobs.c:1741 #, fuzzy, c-format msgid "(core dumped) " msgstr "Kern Ontwikkelaar" -#: jobs.c:1602 +#: jobs.c:1760 #, fuzzy, c-format msgid " (wd: %s)" msgstr "Aktiveer nou dadelik" -#: jobs.c:1819 +#: jobs.c:1985 #, fuzzy, c-format msgid "child setpgid (%ld to %ld)" msgstr "Fout in die skryf van %s" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "" -#: jobs.c:2986 +#: jobs.c:3221 #, fuzzy, c-format msgid "%s: job has terminated" msgstr "Die bediener beëindig Die verbinding." -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" -#: jobs.c:3711 +#: jobs.c:3970 #, fuzzy, c-format msgid "%s: line %d: " msgstr "3d modus" -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, fuzzy, c-format msgid " (core dumped)" msgstr "Kern Ontwikkelaar" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, fuzzy, c-format msgid "(wd now: %s)\n" msgstr "Aktiveer nou dadelik" -#: jobs.c:3782 +#: jobs.c:4041 #, fuzzy msgid "initialize_job_control: getpgrp failed" msgstr "Inisialisering van OpenGL het misluk." -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "" -#: jobs.c:3853 +#: jobs.c:4114 #, fuzzy msgid "initialize_job_control: setpgid" msgstr "Inisialisering van OpenGL het misluk." -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "geen taakbeheer in hierdie dop nie" @@ -1231,17 +1302,17 @@ msgstr "" msgid "realloc: start and end chunk sizes differ" msgstr "" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "" @@ -1265,7 +1336,7 @@ msgstr "" msgid "%s: bad network path specification" msgstr "" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "" @@ -1304,274 +1375,319 @@ msgstr "Wanneer nuwe pos arriveer in" msgid "The mail in %s has been read\n" msgstr "" -#: make_cmd.c:323 +#: make_cmd.c:329 #, fuzzy msgid "syntax error: arithmetic expression required" msgstr "Sintaks fout in patroon" -#: make_cmd.c:325 +#: make_cmd.c:331 #, fuzzy msgid "syntax error: `;' unexpected" msgstr "Onverwagte einde van lêer tydens inlees van hulpbron." -#: make_cmd.c:326 +#: make_cmd.c:332 #, fuzzy, c-format msgid "syntax error: `((%s))'" msgstr "sintaksfout" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "" -#: parse.y:4179 +#: parse.y:4419 #, fuzzy msgid "syntax error in conditional expression" msgstr "Sintaks fout in patroon" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "" -#: parse.y:4261 +#: parse.y:4501 #, fuzzy msgid "expected `)'" msgstr "')' is verwag\n" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "" -#: parse.y:4339 +#: parse.y:4579 #, fuzzy, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "%s: binêre operator is verwag\n" -#: parse.y:4343 +#: parse.y:4583 #, fuzzy msgid "conditional binary operator expected" msgstr "%s: binêre operator is verwag\n" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "" -#: parse.y:4380 +#: parse.y:4620 #, fuzzy, c-format msgid "unexpected token `%c' in conditional command" msgstr "Soek die lêer vir 'n uitdrukking" -#: parse.y:4383 +#: parse.y:4623 #, fuzzy, c-format msgid "unexpected token `%s' in conditional command" msgstr "Soek die lêer vir 'n uitdrukking" -#: parse.y:4387 +#: parse.y:4627 #, fuzzy, c-format msgid "unexpected token %d in conditional command" msgstr "Soek die lêer vir 'n uitdrukking" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "" -#: parse.y:5755 +#: parse.y:6014 #, fuzzy, c-format msgid "syntax error near `%s'" msgstr "Sintaks fout in patroon" -#: parse.y:5765 +#: parse.y:6024 #, fuzzy msgid "syntax error: unexpected end of file" msgstr "Onverwagte einde van lêer tydens inlees van hulpbron." -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "sintaksfout" -#: parse.y:5827 +#: parse.y:6086 #, fuzzy, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Gebruik Kaart na Los Tronk" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "" -#: redir.c:177 +#: redir.c:178 #, fuzzy, c-format msgid "%s: ambiguous redirect" msgstr "%s: dubbelsinnige herroetering" -#: redir.c:181 +#: redir.c:182 #, fuzzy, c-format msgid "%s: cannot overwrite existing file" msgstr "Jy het gespesifiseer 'n bestaande lêer" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "" -#: redir.c:195 +#: redir.c:196 #, fuzzy, c-format msgid "%s: cannot assign fd to variable" msgstr "Kan nie soek 'n handtekening in hierdie boodskap!" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 #, fuzzy msgid "redirection error: cannot duplicate fd" msgstr "Pypfout.\n" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "" -#: shell.c:890 +#: shell.c:927 #, fuzzy, c-format msgid "%c%c: invalid option" msgstr "%s: illegal option -- %c\n" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "kan nie fd %d na fd 0 dupliseer nie: %s" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "kan nie fd %d na fd 0 dupliseer nie: %s" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: is 'n gids" + +#: shell.c:1777 msgid "I have no name!" msgstr "Ek het nie 'n naam nie!" -#: shell.c:1827 +#: shell.c:1930 #, fuzzy, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "bedryfstelselkernweergawe" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" msgstr "" -#: shell.c:1830 +#: shell.c:1933 #, fuzzy msgid "GNU long options:\n" msgstr "Gnu C Saamsteller Opsies" -#: shell.c:1834 +#: shell.c:1937 #, fuzzy msgid "Shell options:\n" msgstr "opneem opsies" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "" -#: shell.c:1850 +#: shell.c:1953 #, fuzzy, c-format msgid "\t-%s or -o option\n" msgstr "" "Gebruik so: %s LÊER \n" " of: %s OPSIE\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "" @@ -1777,92 +1893,107 @@ msgstr "Sein kwaliteit:" msgid "Unknown Signal #%d" msgstr "Sein kwaliteit:" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, fuzzy, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "--Geen reëls in buffer--" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 #, fuzzy msgid "cannot make pipe for process substitution" msgstr "Woord Substitusie" -#: subst.c:5113 +#: subst.c:5798 #, fuzzy msgid "cannot make child for process substitution" msgstr "Woord Substitusie" -#: subst.c:5158 +#: subst.c:5848 #, fuzzy, c-format msgid "cannot open named pipe %s for reading" msgstr "Kan nie oopmaak vir skrip-afvoer nie: \"" -#: subst.c:5160 +#: subst.c:5850 #, fuzzy, c-format msgid "cannot open named pipe %s for writing" msgstr "Kan nie oopmaak vir skrip-afvoer nie: \"" -#: subst.c:5178 +#: subst.c:5873 #, fuzzy, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "Kan nie oopmaak vir skrip-afvoer nie: \"" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "--Geen reëls in buffer--" + +#: subst.c:6083 #, fuzzy msgid "cannot make pipe for command substitution" msgstr "Woord Substitusie" -#: subst.c:5414 +#: subst.c:6127 #, fuzzy msgid "cannot make child for command substitution" msgstr "Woord Substitusie" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, fuzzy, c-format +msgid "%s: bad substitution" +msgstr "Woord Substitusie" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: illegal option -- %c\n" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "%s: illegal option -- %c\n" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, fuzzy, c-format msgid "%s: substring expression < 0" msgstr "ongeldige uitdrukking" -#: subst.c:7506 -#, fuzzy, c-format -msgid "%s: bad substitution" -msgstr "Woord Substitusie" - -#: subst.c:7583 +#: subst.c:8450 #, fuzzy, c-format msgid "$%s: cannot assign in this way" msgstr "Kan nie soek 'n handtekening in hierdie boodskap!" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" -#: subst.c:8421 +#: subst.c:9349 #, fuzzy, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "--Geen reëls in buffer--" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "" @@ -1877,124 +2008,124 @@ msgstr "argument verwag\n" msgid "%s: integer expression expected" msgstr "%s: heelgetal-uitdrukking is verwag\n" -#: test.c:264 +#: test.c:265 #, fuzzy msgid "`)' expected" msgstr "')' is verwag\n" -#: test.c:266 +#: test.c:267 #, fuzzy, c-format msgid "`)' expected, found %s" msgstr "')' is verwag, maar %s gevind\n" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, fuzzy, c-format msgid "%s: unary operator expected" msgstr "%s: unitêre operator is verwag\n" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, fuzzy, c-format msgid "%s: binary operator expected" msgstr "%s: binêre operator is verwag\n" -#: test.c:860 +#: test.c:869 #, fuzzy msgid "missing `]'" msgstr "Ontbrekende '>'" -#: trap.c:217 +#: trap.c:224 #, fuzzy msgid "invalid signal number" msgstr "Die sein nommer wat was gevang het" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "Kan nie soek 'n handtekening in hierdie boodskap!" -#: variables.c:3646 +#: variables.c:3043 +#, c-format +msgid "%s: assigning integer to name reference" +msgstr "" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" -#: variables.c:5257 +#: variables.c:5619 #, fuzzy, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: kan nie %s skep nie" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "" #: version.c:47 version2.c:47 @@ -2016,10 +2147,6 @@ msgstr "" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "" -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "" - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2040,387 +2167,370 @@ msgstr "" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: kan nie %s skep nie" -#: builtins.c:43 +#: builtins.c:45 #, fuzzy msgid "alias [-p] [name[=value] ... ]" msgstr "E418: Ongeldige waarde: %s" -#: builtins.c:47 +#: builtins.c:49 #, fuzzy msgid "unalias [-a] name [name ...]" msgstr "Volle Naam:" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -#: builtins.c:54 +#: builtins.c:56 #, fuzzy msgid "break [n]" msgstr "Breek" -#: builtins.c:56 +#: builtins.c:58 #, fuzzy msgid "continue [n]" msgstr "Gaan voort" -#: builtins.c:58 +#: builtins.c:60 #, fuzzy msgid "builtin [shell-builtin [arg ...]]" msgstr "Ontfouting %1 (met arg %2 %3)" -#: builtins.c:61 +#: builtins.c:63 #, fuzzy msgid "caller [expr]" msgstr "/Opsies/Toets" -#: builtins.c:64 +#: builtins.c:66 #, fuzzy msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "init_cache_dir %s... " -#: builtins.c:66 +#: builtins.c:68 #, fuzzy msgid "pwd [-LP]" msgstr "miniserv.pl is gestop\n" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "" - -#: builtins.c:72 -msgid "false" -msgstr "" - -#: builtins.c:74 +#: builtins.c:76 #, fuzzy msgid "command [-pVv] command [arg ...]" msgstr "Gebruik so: %s [OPSIE] [BEVEL [ARG]...]\n" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "E418: Ongeldige waarde: %s" -#: builtins.c:78 +#: builtins.c:80 #, fuzzy -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "E418: Ongeldige waarde: %s" -#: builtins.c:80 +#: builtins.c:82 #, fuzzy msgid "local [option] name[=value] ..." msgstr "Name=Plaaslike Netwerk" -#: builtins.c:83 +#: builtins.c:85 #, fuzzy msgid "echo [-neE] [arg ...]" msgstr "Ontfouting %1 (met arg %2 %3)" -#: builtins.c:87 +#: builtins.c:89 #, fuzzy msgid "echo [-n] [arg ...]" msgstr "Konfigureer Eggo" -#: builtins.c:90 +#: builtins.c:92 #, fuzzy msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "Teruglus lêernaam:" -#: builtins.c:92 +#: builtins.c:94 #, fuzzy msgid "eval [arg ...]" msgstr "Ontfouting %1 (met arg %2 %3)" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "" -#: builtins.c:98 +#: builtins.c:100 #, fuzzy msgid "exit [n]" msgstr "Verlaat" -#: builtins.c:100 +#: builtins.c:102 #, fuzzy msgid "logout [n]" msgstr "Afteken" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" -#: builtins.c:107 +#: builtins.c:109 #, fuzzy msgid "fg [job_spec]" msgstr "Kort Spesifikasie werkvoorbeeld" -#: builtins.c:111 +#: builtins.c:113 #, fuzzy msgid "bg [job_spec ...]" msgstr "Kort Spesifikasie werkvoorbeeld" -#: builtins.c:114 +#: builtins.c:116 #, fuzzy msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "Teruglus lêernaam:" -#: builtins.c:117 +#: builtins.c:119 #, fuzzy msgid "help [-dms] [pattern ...]" msgstr "enige patroon" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" msgstr "" -#: builtins.c:134 +#: builtins.c:136 #, fuzzy msgid "let arg [arg ...]" msgstr "Kom ons begin!" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" -#: builtins.c:138 +#: builtins.c:140 #, fuzzy msgid "return [n]" msgstr "Terug Adres - 3/4 x 2\"" -#: builtins.c:140 +#: builtins.c:142 #, fuzzy msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "Gebruik so: %s [OPSIE]... [-] [GEBRUIKER [ARG]...]\n" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "Volle Naam:" -#: builtins.c:144 +#: builtins.c:146 #, fuzzy msgid "export [-fn] [name[=value] ...] or export -p" msgstr "Bediener of domein naam:" -#: builtins.c:146 +#: builtins.c:148 #, fuzzy msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "Bediener of domein naam:" -#: builtins.c:148 +#: builtins.c:150 #, fuzzy msgid "shift [n]" msgstr "Verlaat" -#: builtins.c:150 +#: builtins.c:152 #, fuzzy msgid "source filename [arguments]" msgstr "Kies Lêernaam" -#: builtins.c:152 +#: builtins.c:154 #, fuzzy msgid ". filename [arguments]" msgstr ". lêernaam" -#: builtins.c:155 +#: builtins.c:157 #, fuzzy msgid "suspend [-f]" msgstr "|uitsit}\n" -#: builtins.c:158 +#: builtins.c:160 #, fuzzy msgid "test [expr]" msgstr "/Opsies/Toets" -#: builtins.c:160 +#: builtins.c:162 #, fuzzy msgid "[ arg... ]" msgstr "Arg %1" -#: builtins.c:162 -#, fuzzy -msgid "times" -msgstr "Herhaal %1 times " - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "" -#: builtins.c:166 +#: builtins.c:168 #, fuzzy msgid "type [-afptP] name [name ...]" msgstr "Tipe die naam van die %1 speler." -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "Grootte beperk (Kb):" -#: builtins.c:172 +#: builtins.c:174 #, fuzzy msgid "umask [-p] [-S] [mode]" msgstr "Belmetode" -#: builtins.c:175 +#: builtins.c:177 #, fuzzy msgid "wait [-n] [id ...]" msgstr "Wag:" -#: builtins.c:179 +#: builtins.c:181 #, fuzzy msgid "wait [pid ...]" msgstr "Wag:" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" msgstr "" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "" -#: builtins.c:196 +#: builtins.c:198 #, fuzzy msgid "until COMMANDS; do COMMANDS; done" msgstr "Bediener of domein naam:" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "" -#: builtins.c:200 +#: builtins.c:202 #, fuzzy msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "Bediener of domein naam:" -#: builtins.c:202 +#: builtins.c:204 #, fuzzy msgid "{ COMMANDS ; }" msgstr "Opdragte" -#: builtins.c:204 +#: builtins.c:206 #, fuzzy msgid "job_spec [&]" msgstr "Kort Spesifikasie werkvoorbeeld" -#: builtins.c:206 +#: builtins.c:208 #, fuzzy msgid "(( expression ))" msgstr "Bools uitdrukking verwag" -#: builtins.c:208 +#: builtins.c:210 #, fuzzy msgid "[[ expression ]]" msgstr "Bools uitdrukking verwag" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "" -#: builtins.c:213 +#: builtins.c:215 #, fuzzy msgid "pushd [-n] [+N | -N | dir]" msgstr "Tydelike gids:" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "" -#: builtins.c:224 +#: builtins.c:226 #, fuzzy msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "Volle Naam:" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -#: builtins.c:237 +#: builtins.c:239 #, fuzzy msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "Tipe die naam van die %1 speler." -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2432,7 +2542,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2440,17 +2550,17 @@ msgid "" " defined." msgstr "" -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2484,14 +2594,15 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2502,7 +2613,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2513,7 +2624,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2527,7 +2638,7 @@ msgid "" " not a shell builtin.." msgstr "" -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2543,7 +2654,7 @@ msgid "" " is invalid." msgstr "" -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2566,16 +2677,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2588,13 +2699,13 @@ msgid "" " -P is used; non-zero otherwise." msgstr "" -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2604,7 +2715,7 @@ msgid "" " cannot be read." msgstr "" -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2614,7 +2725,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2622,7 +2733,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2630,7 +2741,7 @@ msgid "" " Always fails." msgstr "" -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2640,16 +2751,16 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2659,9 +2770,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2689,14 +2800,14 @@ msgid "" " assignment error occurs." msgstr "" -#: builtins.c:527 +#: builtins.c:530 msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2711,7 +2822,7 @@ msgid "" " assignment error occurs, or the shell is not executing a function." msgstr "" -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2737,15 +2848,15 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2758,7 +2869,7 @@ msgid "" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2785,7 +2896,7 @@ msgid "" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2797,7 +2908,7 @@ msgid "" " Returns exit status of command or success if command is null." msgstr "" -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2838,7 +2949,7 @@ msgid "" " encountered or an error occurs." msgstr "" -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -2849,8 +2960,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2861,7 +2972,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -2869,7 +2980,7 @@ msgid "" " is that of the last command executed." msgstr "" -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2878,7 +2989,7 @@ msgid "" " in a login shell." msgstr "" -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2908,7 +3019,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2920,7 +3031,7 @@ msgid "" " Status of command placed in foreground, or failure if an error occurs." msgstr "" -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2934,7 +3045,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -2943,22 +3054,22 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -2970,7 +3081,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2980,7 +3091,7 @@ msgid "" "given." msgstr "" -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -2989,23 +3100,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3014,7 +3125,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3024,7 +3135,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3038,7 +3149,7 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3048,14 +3159,14 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -3067,7 +3178,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3077,7 +3189,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3122,7 +3234,7 @@ msgid "" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3143,27 +3255,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3173,7 +3286,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3185,7 +3298,7 @@ msgid "" " Returns N, or failure if the shell is not executing a function or script." msgstr "" -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3253,7 +3366,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3270,7 +3384,7 @@ msgid "" " Returns success unless an invalid option is given." msgstr "" -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3280,7 +3394,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3292,7 +3406,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3311,7 +3425,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3323,9 +3437,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3333,7 +3446,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3344,7 +3457,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3358,7 +3471,7 @@ msgid "" " FILENAME cannot be read." msgstr "" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3372,7 +3485,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3436,9 +3549,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3455,7 +3568,7 @@ msgid "" " false or an invalid argument is given." msgstr "" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3463,7 +3576,7 @@ msgid "" " be a literal `]', to match the opening `['." msgstr "" -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3475,7 +3588,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3519,7 +3632,7 @@ msgid "" "given." msgstr "" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3528,18 +3641,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3549,7 +3662,7 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3567,6 +3680,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3578,7 +3692,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3596,7 +3711,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3614,7 +3729,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3634,7 +3749,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3649,7 +3764,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3662,7 +3777,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3679,7 +3794,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3699,7 +3814,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3715,7 +3830,7 @@ msgid "" " The return status is the return status of PIPELINE." msgstr "" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3726,7 +3841,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3747,7 +3862,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3758,7 +3873,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -3769,7 +3884,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3779,10 +3894,10 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3796,7 +3911,7 @@ msgid "" " Returns success unless NAME is readonly." msgstr "" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -3807,7 +3922,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3821,7 +3936,7 @@ msgid "" " Returns the status of the resumed job." msgstr "" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3832,7 +3947,7 @@ msgid "" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3860,7 +3975,7 @@ msgid "" " 0 or 1 depending on value of EXPRESSION." msgstr "" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3914,7 +4029,7 @@ msgid "" " \t\tcommands should be saved on the history list.\n" msgstr "" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -3924,19 +4039,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3945,7 +4060,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -3954,16 +4069,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3972,7 +4087,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -3983,25 +4098,25 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -4022,7 +4137,7 @@ msgid "" " given or OPTNAME is disabled." msgstr "" -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -4039,15 +4154,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -4061,7 +4176,7 @@ msgid "" " error occurs." msgstr "" -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -4074,11 +4189,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -4088,7 +4203,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -4101,7 +4216,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4132,7 +4247,7 @@ msgid "" " have a completion specification defined." msgstr "" -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4143,20 +4258,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4173,13 +4289,20 @@ msgid "" " not an indexed array." msgstr "" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" " A synonym for `mapfile'." msgstr "" +#~ msgid ":" +#~ msgstr ":" + +#, fuzzy +#~ msgid "times" +#~ msgstr "Herhaal %1 times " + #, fuzzy #~ msgid "wait [pid]" #~ msgstr "Wag:" @@ -4188,9 +4311,6 @@ msgstr "" #~ msgid " new current working directory." #~ msgstr "Nuutste gebruik word werksaam gids" -#~ msgid "top directory." -#~ msgstr "boonste lêergids." - #, fuzzy #~ msgid "Obsolete. See `declare'." #~ msgstr "Verkeerde verklaring tipe" diff --git a/po/bash.pot b/po/bash.pot index 1ef12084f..e2d353f5e 100644 --- a/po/bash.pot +++ b/po/bash.pot @@ -8,80 +8,85 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "" @@ -90,345 +95,373 @@ msgstr "" msgid "line editing not enabled" msgstr "" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "" -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" " Without EXPR, returns " msgstr "" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +msgid "null directory" +msgstr "" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "" -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "" -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "" -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "" @@ -447,35 +480,35 @@ msgstr "" msgid "hashing disabled" msgstr "" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "" msgstr[1] "" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -487,15 +520,20 @@ msgid "" "\n" msgstr "" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, c-format +msgid "%s: invalid timestamp" +msgstr "" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "" @@ -509,113 +547,113 @@ msgstr "" msgid "no other options allowed with `-x'" msgstr "" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -639,7 +677,7 @@ msgid "" "\tdirs when invoked without options, starting with zero." msgstr "" -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -664,7 +702,7 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -685,143 +723,153 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr "" @@ -835,82 +883,103 @@ msgstr "" msgid "Aborting..." msgstr "" -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "" @@ -955,37 +1024,37 @@ msgstr "" msgid "missing `)'" msgstr "" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "" @@ -1000,148 +1069,148 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr "" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "" -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr "" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "" @@ -1193,17 +1262,17 @@ msgstr "" msgid "realloc: start and end chunk sizes differ" msgstr "" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "" @@ -1227,7 +1296,7 @@ msgstr "" msgid "%s: bad network path specification" msgstr "" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "" @@ -1264,263 +1333,308 @@ msgstr "" msgid "The mail in %s has been read\n" msgstr "" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "" + +#: shell.c:1777 msgid "I have no name!" msgstr "" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" msgstr "" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "" @@ -1694,88 +1808,102 @@ msgstr "" msgid "Unknown Signal #%d" msgstr "" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "" -#: subst.c:5376 +#: subst.c:5959 +msgid "command substitution: ignored null byte in input" +msgstr "" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 #, c-format -msgid "%s: parameter null or not set" +msgid "%s: bad substitution" msgstr "" -#: subst.c:6320 subst.c:6335 +#: subst.c:6800 #, c-format -msgid "%s: substring expression < 0" +msgid "%s: invalid indirect expansion" msgstr "" -#: subst.c:7506 +#: subst.c:6807 #, c-format -msgid "%s: bad substitution" +msgid "%s: invalid variable name" msgstr "" -#: subst.c:7583 +#: subst.c:6854 +#, c-format +msgid "%s: parameter null or not set" +msgstr "" + +#: subst.c:7089 subst.c:7104 +#, c-format +msgid "%s: substring expression < 0" +msgstr "" + +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "" @@ -1789,121 +1917,121 @@ msgstr "" msgid "%s: integer expression expected" msgstr "" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "" -#: variables.c:3646 +#: variables.c:3043 +#, c-format +msgid "%s: assigning integer to name reference" +msgstr "" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "" #: version.c:47 version2.c:47 @@ -1925,10 +2053,6 @@ msgstr "" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "" -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "" - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -1949,338 +2073,322 @@ msgstr "" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "" -#: builtins.c:64 -msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "" - #: builtins.c:66 -msgid "pwd [-LP]" +msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "" #: builtins.c:68 -msgid ":" -msgstr "" - -#: builtins.c:70 -msgid "true" -msgstr "" - -#: builtins.c:72 -msgid "false" +msgid "pwd [-LP]" msgstr "" -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +#: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "" -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "" -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" msgstr "" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr "" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "" -#: builtins.c:158 -msgid "test [expr]" -msgstr "" - #: builtins.c:160 -msgid "[ arg... ]" +msgid "test [expr]" msgstr "" #: builtins.c:162 -msgid "times" +msgid "[ arg... ]" msgstr "" -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" msgstr "" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2292,7 +2400,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2300,17 +2408,17 @@ msgid "" " defined." msgstr "" -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2344,14 +2452,15 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2362,7 +2471,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2373,7 +2482,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2387,7 +2496,7 @@ msgid "" " not a shell builtin.." msgstr "" -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2403,7 +2512,7 @@ msgid "" " is invalid." msgstr "" -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2426,16 +2535,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2448,13 +2557,13 @@ msgid "" " -P is used; non-zero otherwise." msgstr "" -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2464,7 +2573,7 @@ msgid "" " cannot be read." msgstr "" -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2474,7 +2583,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2482,7 +2591,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2490,7 +2599,7 @@ msgid "" " Always fails." msgstr "" -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2500,16 +2609,16 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2519,9 +2628,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2549,14 +2658,14 @@ msgid "" " assignment error occurs." msgstr "" -#: builtins.c:527 +#: builtins.c:530 msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2571,7 +2680,7 @@ msgid "" " assignment error occurs, or the shell is not executing a function." msgstr "" -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2597,15 +2706,15 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2618,7 +2727,7 @@ msgid "" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2645,7 +2754,7 @@ msgid "" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2657,7 +2766,7 @@ msgid "" " Returns exit status of command or success if command is null." msgstr "" -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2698,7 +2807,7 @@ msgid "" " encountered or an error occurs." msgstr "" -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -2709,8 +2818,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2721,7 +2830,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -2729,7 +2838,7 @@ msgid "" " is that of the last command executed." msgstr "" -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2738,7 +2847,7 @@ msgid "" " in a login shell." msgstr "" -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2768,7 +2877,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2780,7 +2889,7 @@ msgid "" " Status of command placed in foreground, or failure if an error occurs." msgstr "" -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2794,7 +2903,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -2803,22 +2912,22 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -2830,7 +2939,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2840,7 +2949,7 @@ msgid "" "given." msgstr "" -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -2849,23 +2958,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -2874,7 +2983,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -2884,7 +2993,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -2898,7 +3007,7 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -2908,14 +3017,14 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -2927,7 +3036,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -2937,7 +3047,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -2982,7 +3092,7 @@ msgid "" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3003,27 +3113,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3033,7 +3144,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3045,7 +3156,7 @@ msgid "" " Returns N, or failure if the shell is not executing a function or script." msgstr "" -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3113,7 +3224,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3130,7 +3242,7 @@ msgid "" " Returns success unless an invalid option is given." msgstr "" -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3140,7 +3252,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3152,7 +3264,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3171,7 +3283,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3183,9 +3295,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3193,7 +3304,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3204,7 +3315,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3218,7 +3329,7 @@ msgid "" " FILENAME cannot be read." msgstr "" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3232,7 +3343,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3296,9 +3407,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3315,7 +3426,7 @@ msgid "" " false or an invalid argument is given." msgstr "" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3323,7 +3434,7 @@ msgid "" " be a literal `]', to match the opening `['." msgstr "" -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3335,7 +3446,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3379,7 +3490,7 @@ msgid "" "given." msgstr "" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3388,18 +3499,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3409,7 +3520,7 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3427,6 +3538,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3438,7 +3550,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3456,7 +3569,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3474,7 +3587,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3494,7 +3607,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3509,7 +3622,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3522,7 +3635,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3539,7 +3652,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3559,7 +3672,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3575,7 +3688,7 @@ msgid "" " The return status is the return status of PIPELINE." msgstr "" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3586,7 +3699,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3607,7 +3720,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3618,7 +3731,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -3629,7 +3742,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3639,10 +3752,10 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3656,7 +3769,7 @@ msgid "" " Returns success unless NAME is readonly." msgstr "" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -3667,7 +3780,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3681,7 +3794,7 @@ msgid "" " Returns the status of the resumed job." msgstr "" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3692,7 +3805,7 @@ msgid "" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3720,7 +3833,7 @@ msgid "" " 0 or 1 depending on value of EXPRESSION." msgstr "" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3774,7 +3887,7 @@ msgid "" " \t\tcommands should be saved on the history list.\n" msgstr "" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -3784,19 +3897,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3805,7 +3918,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -3814,16 +3927,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3832,7 +3945,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -3843,25 +3956,25 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -3882,7 +3995,7 @@ msgid "" " given or OPTNAME is disabled." msgstr "" -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -3899,15 +4012,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -3921,7 +4034,7 @@ msgid "" " error occurs." msgstr "" -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -3934,11 +4047,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -3948,7 +4061,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -3961,7 +4074,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -3992,7 +4105,7 @@ msgid "" " have a completion specification defined." msgstr "" -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4003,20 +4116,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4033,7 +4147,7 @@ msgid "" " not an indexed array." msgstr "" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" diff --git a/po/bg.gmo b/po/bg.gmo index 7721c82e8..d30439946 100644 Binary files a/po/bg.gmo and b/po/bg.gmo differ diff --git a/po/bg.po b/po/bg.po index 1aa9f0cbe..eb9236cd9 100644 --- a/po/bg.po +++ b/po/bg.po @@ -1,88 +1,98 @@ # Bulgarian translation of bash po-file. -# Copyright (C) 2007, 2010, 2012, 2013, 2014 Free Software Foundation, Inc. +# Copyright (C) 2007, 2010, 2012, 2013, 2014, 2015 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. -# Alexander Shopov , 2007, 2010, 2012, 2013, 2014. +# Alexander Shopov , 2007, 2010, 2012, 2013, 2014, 2015. # msgid "" msgstr "" -"Project-Id-Version: bash 4.3-rc2\n" +"Project-Id-Version: bash-4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-01-23 16:04-0500\n" -"PO-Revision-Date: 2014-02-12 07:59+0200\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-29 08:17+0200\n" "Last-Translator: Alexander Shopov \n" "Language-Team: Bulgarian \n" -"Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: bg\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "грешен индекс на масив" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: масивът не може да бъде преобразуван към речник" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: грешно име на ключ в речник" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: не може да се присвоява на нецифров индекс" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: при присвояване към речник трябва да се използва индекс" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: не може да се създаде: %s" -#: bashline.c:3971 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "изпълнение на команда на Юникс от bash: не може да се открие подредбата на\n" "функциите на клавишите за командата" -#: bashline.c:4058 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: първият непразен знак не е „\"“" -#: bashline.c:4087 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "в %2$s липсва затварящ знак „%1$c“" -#: bashline.c:4121 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: разделителят „:“ липсва" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "заместване на изразите с фигурни скоби: не може да се задели памет за „%s“" +msgstr "" +"заместване на изразите с фигурни скоби: не може да се задели памет за „%s“" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" -msgstr "заместване на изразите с фигурни скоби: не може да се задели памет за %d елемента" +msgstr "" +"заместване на изразите с фигурни скоби: не може да се задели памет за %d " +"елемента" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "заместване на изразите с фигурни скоби: не може да се задели памет за „%s“" +msgstr "" +"заместване на изразите с фигурни скоби: не може да се задели памет за „%s“" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "„%s“: грешно име на синоним" @@ -91,45 +101,45 @@ msgstr "„%s“: грешно име на синоним" msgid "line editing not enabled" msgstr "редактирането на командния ред не е включено" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "„%s“: грешно име на подредбата на функциите на клавишите" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: не може да се прочете: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "„%s“: не може да се премахне присвояване" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "„%s“: име на непозната функция" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s не е зададена на никой клавиш.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s може да се извика чрез " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "брой цикли" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "валидно само за циклите с „for“, „while“ и „until“" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -139,300 +149,329 @@ msgstr "" " \n" " Без ИЗРАЗ връща " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "Променливата „HOME“ не е зададена" -#: builtins/cd.def:327 builtins/common.c:166 test.c:855 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "прекалено много аргументи" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "няма друга директория" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "Променливата „OLDPWD“ не е зададена" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "ред %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "предупреждение: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: употреба: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: опцията изисква аргумент" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: изисква се числов аргумент" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: не е открит" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: грешна опция" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: грешно име на опция" -#: builtins/common.c:228 general.c:234 general.c:239 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "„%s“: грешен идентификатор" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "грешно осмично число" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "грешно шестнайсетично число" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "грешно число" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: грешно указване на сигнал" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "„%s“: грешен идентификатор на процес или задача" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: променлива с права само за четене" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s е извън допустимия диапазон" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "аргументът" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s е извън допустимия диапазон" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: няма такава задача" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: няма управление на задачите" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "няма управление на задачите" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: ограничена обвивка" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "ограничена обвивка" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: не е команда вградена в обвивката" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "грешка при запис: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "грешка при задаване на атрибутите на терминала: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "грешка при получаване на атрибутите на терминала: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: грешка при получаване на текущата директория: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: нееднозначно указана задача" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "помощта не е включена в тази версия" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: грешно име на действие" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: не е указано дописване" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "предупреждение: опцията „-F“ може да не работи според очакванията ви" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "предупреждение: опцията „-C“ може да не работи според очакванията ви" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "в момента не се изпълнява функция за дописване" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "може да се използва само във функция" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: променливата-указател не може да е масив" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: променливата-указател не може да сочи към себе си" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: цикъл в променливите-указатели" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: неправилно име за променлива-указател" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "„-f“ не може да се използва за създаването на функции" -#: builtins/declare.def:410 execute_cmd.c:5349 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: функция с права само за четене" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: съставното присвояване на масив чрез цитат е остаряло" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: променливите за масиви не могат да се унищожават така" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: речник не може да се преобразува в масив" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "липсва възможност за динамично зареждане" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "споделеният обект „%s“ не може да бъде зареден: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "„%s“ не може да се открие в споделения обект %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "зареждащата функция за „%s“ върна грешка (%d): не е зареден" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: не е зареден динамично" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: не може да се изтрие: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5196 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: е директория" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: не е обикновен файл" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: файлът е прекалено голям" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: двоичният файл не може да бъде изпълнен" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: не може да се изпълни: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "изход\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "това не е входна обвивка: използвайте „exit“" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Има спрени задачи.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Има изпълнявани задачи.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "не е открита команда" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "указване на историята" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: не може да се отвори временен файл: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "текуща" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "задача %d е стартирана без управление на задачите" @@ -451,36 +490,37 @@ msgstr "%s: опцията изисква аргумент — %c\n" msgid "hashing disabled" msgstr "хеширането е изключено" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: таблицата с хешове е празна\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "съвпад.\tкоманда\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Команди на обвивката, които напасват на ключовата дума „" msgstr[1] "Команди на обвивката, които напасват на ключовите думи „" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format -msgid "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." +msgid "" +"no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" "няма теми в помощта, които да отговарят на „%s“. Опитайте с\n" "„help help“, „man -k %s“ или „info %s“." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: не може да се отвори: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -495,20 +535,26 @@ msgstr "" "Напишете „help“, за да видите списъка.\n" "Напишете „help ИМЕ_НА_ФУНКЦИЯ“ за повече информация за съответната функция.\n" "Напишете „info bash“ за повече информация за обвивката като цяло.\n" -"Напишете „man -k“ или „info“ за повече информация за командите извън списъка.\n" +"Напишете „man -k“ или „info“ за повече информация за командите извън " +"списъка.\n" "\n" "Знакът звездичка „*“ до името на команда означава, че тя е изключена.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "не може да се ползва едновременно повече от една от опциите „-anrw“" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "позиция в историята" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: грешен аргумент" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: неуспешно заместване чрез историята" @@ -522,113 +568,113 @@ msgstr "%s: неуспешно извикване на inlib" msgid "no other options allowed with `-x'" msgstr "не е позволена друга опция с „-x“" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: аргументите трябва да са идентификатори на процеси или задачи" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Неизвестна грешка" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "очаква се израз" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: не е масив" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: грешно указване на файловия дескриптор" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: грешен файлов дескриптор: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: грешен номер на ред" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: грешен начален индекс за масив" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: грешно количество редове за обработка" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "празно име на променлива за масив" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "изисква се поддръжка на променливи за масиви" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "„%s“: липсва форматиращ знак" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "„%c“: грешен формат на времето" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "„%c“: грешен форматиращ знак" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "предупреждение: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "неуспешен анализ на форма̀та: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "липсва шестнадесетична цифра за \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "липсва цифра за Уникод за \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "няма друга директория" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: грешен аргумент" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "«няма текуща директория»" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "стекът с директории е празен" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "индекс за стека с директории" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -643,10 +689,12 @@ msgid "" " \twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown by\n" +" +N\tDisplays the Nth entry counting from the left of the list shown " +"by\n" " \tdirs when invoked without options, starting with zero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown by\n" +" -N\tDisplays the Nth entry counting from the right of the list shown " +"by\n" "\tdirs when invoked without options, starting with zero." msgstr "" "Извежда списъка с текущо запомнените директории. Списъкът се попълва чрез\n" @@ -662,13 +710,15 @@ msgstr "" " стека.\n" "\n" " Аргументи: \n" -" +N извежда N-тия елемент отляво в списъка отпечатан от командата „dirs“,\n" +" +N извежда N-тия елемент отляво в списъка отпечатан от командата " +"„dirs“,\n" " когато е стартирана без опции. Брои се от 0.\n" "\n" -" -N извежда N-тия елемент отдясно в списъка отпечатан от командата „dirs“,\n" +" -N извежда N-тия елемент отдясно в списъка отпечатан от командата " +"„dirs“,\n" " когато е стартирана без опции. Брои се от 0." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -697,24 +747,30 @@ msgstr "" " аргументи сменя най-горните две директории.\n" " \n" " Опции:\n" -" -n подтискане на нормалното преминаване към директория при добавянето на\n" +" -n подтискане на нормалното преминаване към директория при добавянето " +"на\n" " директории към стека, така че се променя само той.\n" "\n" " Аргументи:\n" -" +N Превърта стека, така че N-тата директория (като се брои от лявата\n" -" страна на списъка, отпечатан от командата „dirs“ като се почва от 0)\n" +" +N Превърта стека, така че N-тата директория (като се брои от " +"лявата\n" +" страна на списъка, отпечатан от командата „dirs“ като се почва от " +"0)\n" " да е най-отгоре.\n" " \n" -" -N Превърта стека, така че N-тата директория (като се брои от дясната\n" -" страна на списъка, отпечатан от командата „dirs“ като се почва от 0)\n" +" -N Превърта стека, така че N-тата директория (като се брои от " +"дясната\n" +" страна на списъка, отпечатан от командата „dirs“ като се почва от " +"0)\n" " да е най-отгоре.\n" "\n" -" dir Добавя ДИР най-отгоре в стека на директориите, като я прави новата\n" +" dir Добавя ДИР най-отгоре в стека на директориите, като я прави " +"новата\n" " текуща работна директория.\n" " \n" " Можете да изведете стека на директорията с командата „dirs“." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -734,11 +790,13 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" -"Маха директории от стека с тях. Без аргументи премахва последната директория в\n" +"Маха директории от стека с тях. Без аргументи премахва последната директория " +"в\n" " стека и влиза в новата последна директория.\n" "\n" " Опции:\n" -" -n подтискане на нормалното преминаване към директория при махането на\n" +" -n подтискане на нормалното преминаване към директория при махането " +"на\n" " директория от стека — само той се променя.\n" "\n" " Аргументи:\n" @@ -746,149 +804,163 @@ msgstr "" " командата „dirs“, като се брои от 0. Напр.: „popd +0“ премахва\n" " първата директория, „popd +1“ - втората.\n" "\n" -" -N премахва N-тия елемент като се брои отдясно в списъка отпечатан от\n" +" -N премахва N-тия елемент като се брои отдясно в списъка отпечатан " +"от\n" " командата „dirs“, като се брои от 0. Напр.: „popd -0“ премахва\n" " последната директория, „popd -1“ - предпоследната.\n" "\n" " Можете да изведете стека на директорията с командата „dirs“." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: грешно указване на изтичането на времето" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "грешка при четене: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" -msgstr "„return“ е възможен само от функция или изпълнен в текущата обвивка скрипт" +msgstr "" +"„return“ е възможен само от функция или изпълнен в текущата обвивка скрипт" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" -msgstr "не може едновременно да се премахват задаванията на функция и променлива" +msgstr "" +"не може едновременно да се премахват задаванията на функция и променлива" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: не може да се премахне" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: не може да се премахне: %s е само за четене" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: не е променлива за масив" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: не е функция" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: не може да се изнесе" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "брой на преместванията" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" -msgstr "не може едновременно да се задават и да се премахват опции на обвивката" +msgstr "" +"не може едновременно да се задават и да се премахват опции на обвивката" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: грешно име на опция на обвивката" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "изисква се аргумент име на файл" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: файлът не е открит" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "не може да бъде временно спряна" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "входната обвивка не може да бъде временно спряна" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s е синоним на „%s“\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s е ключова дума на обвивката\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s е функция\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s е специална, вградена команда в обвивката\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s е вградена команда в обвивката\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s е %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s е хеширан (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: грешен аргумент за ограничение" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "„%c“: грешна команда" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: ограничението не може да бъде получено: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "ограничение" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: ограничението не може да бъде променено: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "осмично число" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "„%c“: неправилен оператор за описателен режим" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "„%c“: неправилен знак за описателен режим" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " ред " @@ -902,82 +974,106 @@ msgstr "последна команда: %s\n" msgid "Aborting..." msgstr "Преустановяване…" -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "ИНФОРМАЦИЯ: " + +#: error.c:463 msgid "unknown command error" msgstr "неизвестна грешка в команда" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "грешен вид команда" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "грешна връзка" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "грешен преход" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: променлива без стойност" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" -msgstr "\aвремето за изчакване на вход изтече: следва автоматично излизане от системата\n" +msgstr "" +"\aвремето за изчакване на вход изтече: следва автоматично излизане от " +"системата\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "стандартният вход не може да бъде пренасочен от „/dev/null“: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "в променливата $TIMEFORMAT: „%c“: грешен форматиращ знак" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "грешка в програмен канал" -#: execute_cmd.c:4374 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: превишено е максималното ниво на влагане на „eval“ (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: превишено е максималното ниво на влагане на код (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: превишено е максималното ниво на влагане на функции (%d)" -#: execute_cmd.c:4872 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" -msgstr "%s: ограничение: в имената на командите не може да присъства знакът „/“" +msgstr "" +"%s: ограничение: в имената на командите не може да присъства знакът „/“" -#: execute_cmd.c:4961 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: командата не е открита" -#: execute_cmd.c:5194 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5231 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: лош интерпретатор" -#: execute_cmd.c:5268 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: двоичният файл не може да бъде изпълнен: %s" -#: execute_cmd.c:5340 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "„%s“ е вградена команда в обвивката" -#: execute_cmd.c:5392 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "файловият дескриптор %d не може да се дублира като дескриптор %d" @@ -1022,197 +1118,203 @@ msgstr "очаква се идентификатор след предварит msgid "missing `)'" msgstr "липсва „)“" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "синтактична грешка: очаква се оператор" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "синтактична грешка: грешен аритметичен оператор" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (грешната лексема е „%s“)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "грешна аритметична основа на бройна система" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "стойността е прекалено голяма за основата" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: грешка в израза\n" -#: general.c:61 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: няма достъп до родителските директории" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "не може да се изчисти режимът без забавяне на файловия дескриптор %d" -#: input.c:269 +#: input.c:271 #, c-format msgid "cannot allocate new file descriptor for bash input from fd %d" -msgstr "не може да се задели нов файлов дескриптор за вход на bash от дескриптор %d" +msgstr "" +"не може да се задели нов файлов дескриптор за вход на bash от дескриптор %d" -#: input.c:277 +#: input.c:279 #, c-format msgid "save_bash_input: buffer already exists for new fd %d" -msgstr "запазване на входа на bash: вече съществува буфер за новия файлов дескриптор %d" +msgstr "" +"запазване на входа на bash: вече съществува буфер за новия файлов дескриптор " +"%d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "" "стартиране на програмен канал: не може да се комуникира с водача на канала\n" "(pgrp pipe)" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" -msgstr "стартираният процес %d е в работещата задача %d" +msgstr "стартираният процес %d е в изпълняваната задача %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "изтриване на спряната задача %d в групата процеси %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "добавяне на процес: процесът %5ld (%s) е в програмния канал" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "добавяне на процес: процесът %5ld (%s) е отбелязан като още жив" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" -msgstr "описателен идентификатор на процес: %ld: няма такъв идентификатор на процес" +msgstr "" +"описателен идентификатор на процес: %ld: няма такъв идентификатор на процес" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Сигнал %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Завършен" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Спрян" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Спрян (%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Изпълняван" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Завършен (%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Изход %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Непознато състояние" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(паметта е разтоварена)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "дъщерният процес смени групата при изпълнение (от %ld на %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "изчакване: процесът с идентификатор %ld не е дъщерен на тази обвивка" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "изчакване: липсват данни за процес с идентификатор %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "изчакване на задача: задачата %d е спряна" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: задачата е приключила" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: задача %d вече е във фонов режим" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" "изчакване на дъщерен процес: включване на незабавното излизане от функцията\n" "чрез WNOHANG, за да се избегне недефиниран блок" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: ред %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (паметта е разтоварена)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(работната директория е: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "инициализация на контрола на задачите: неуспешно изпълнение на getpgrp" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "инициализация на контрола на задачите: дисциплина на линията" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" -msgstr "инициализация на контрола на задачите: задаване на група при изпълнение (setpgid)" +msgstr "" +"инициализация на контрола на задачите: задаване на група при изпълнение " +"(setpgid)" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "групата на процесите на терминала не може да бъде зададена (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "в тази обвивка няма управление на задачите" @@ -1236,11 +1338,13 @@ msgstr "непознат" #: lib/malloc/malloc.c:801 msgid "malloc: block on free list clobbered" -msgstr "заделяне на памет: блок в списъка със свободни блокове е зает или неподходящ" +msgstr "" +"заделяне на памет: блок в списъка със свободни блокове е зает или неподходящ" #: lib/malloc/malloc.c:878 msgid "free: called with already freed block argument" -msgstr "изчистване на памет: извикано е с блоков аргумент, който вече е изчистен" +msgstr "" +"изчистване на памет: извикано е с блоков аргумент, който вече е изчистен" #: lib/malloc/malloc.c:881 msgid "free: called with unallocated block argument" @@ -1254,7 +1358,8 @@ msgstr "" #: lib/malloc/malloc.c:906 msgid "free: start and end chunk sizes differ" -msgstr "изчистване на памет: късовете на началната и крайната области се различават" +msgstr "" +"изчистване на памет: късовете на началната и крайната области се различават" #: lib/malloc/malloc.c:1005 msgid "realloc: called with unallocated block argument" @@ -1270,17 +1375,18 @@ msgstr "" msgid "realloc: start and end chunk sizes differ" msgstr "презаделяне: късовете на началната и крайната области се различават" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" -msgstr "регистриране на презаделяне: таблицата за заделянията е пълна с FIND_ALLOC?\n" +msgstr "" +"регистриране на презаделяне: таблицата за заделянията е пълна с FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "регистриране на презаделяне: %p вече е в таблицата като заделен?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "регистриране на свободни: %p вече е в таблицата като свободен?\n" @@ -1304,7 +1410,7 @@ msgstr "%s: неправилна услуга" msgid "%s: bad network path specification" msgstr "%s: неправилно указан мрежов път" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "не се поддържат мрежови операции" @@ -1341,224 +1447,269 @@ msgstr "Имате нова поща в $_" msgid "The mail in %s has been read\n" msgstr "Пощата в %s вече е прочетена\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "синтактична грешка: изисква се аритметичен израз" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "синтактична грешка: неочакван знак „;“" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "синтактична грешка: „((%s))“" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "вътрешен документ с „<<“: неправилен вид инструкция %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" -msgstr "вътрешният документ на ред %d е отделен със знак за нов ред (а трябва да е „%s“)" +msgstr "" +"вътрешният документ на ред %d е отделен със знак за нов ред (а трябва да е „%" +"s“)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" -msgstr "пренасочване: инструкцията за пренасочване „%d“ е извън допустимия диапазон" +msgstr "" +"пренасочване: инструкцията за пренасочване „%d“ е извън допустимия диапазон" + +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "превишен е маскималният брой възможни вътрешни документи" -#: parse.y:3273 parse.y:3556 +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" -msgstr "неочакван знак за край на файл „EOF“, а се очакваше съответстващ знак „%c“" +msgstr "" +"неочакван знак за край на файл „EOF“, а се очакваше съответстващ знак „%c“" -#: parse.y:4163 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "неочакван знак за край на файл „EOF“, а се очакваше „]]“" -#: parse.y:4168 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "синтактична грешка в условен израз: неочаквана лексема „%s“" -#: parse.y:4172 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "синтактична грешка в условен израз" -#: parse.y:4250 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "неочаквана лексема „%s“, а се очакваше знакът „)“" -#: parse.y:4254 +#: parse.y:4501 msgid "expected `)'" msgstr "очакваше се „)“" -#: parse.y:4282 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "неочакван аргумент „%s“ за унарен условен оператор" -#: parse.y:4286 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "неочакван аргумент за унарен условен оператор" -#: parse.y:4332 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "неочаквана лексема „%s“, очакваше се бинарен условен оператор" -#: parse.y:4336 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "очакваше се бинарен условен оператор" -#: parse.y:4358 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "неочакван аргумент „%s“ за бинарен условен оператор" -#: parse.y:4362 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "неочакван аргумент за бинарен условен оператор" -#: parse.y:4373 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "неочаквана лексема „%c“ в условна команда" -#: parse.y:4376 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "неочаквана лексема „%s“ в условна команда" -#: parse.y:4380 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "неочаквана лексема %d в условна команда" -#: parse.y:5730 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "синтактична грешка в близост до неочакваната лексема „%s“" -#: parse.y:5748 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "синтактична грешка в близост до „%s“" -#: parse.y:5758 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "синтактична грешка: неочакван край на файл" -#: parse.y:5758 +#: parse.y:6024 msgid "syntax error" msgstr "синтактична грешка" -#: parse.y:5820 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Използвайте „%s“, за да излезете от обвивката.\n" -#: parse.y:5982 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "неочакван знак за край на файл „EOF“, очакваше се знакът „)“" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "дописване: функцията „%s“ не е открита" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" -msgstr "вмъкване на завършване на команда: %s указване на команда, което е NULL" +msgstr "" +"вмъкване на завършване на команда: %s указване на команда, което е NULL" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "команда за печат: лош конектор „%d“" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: грешен файлов дескриптор" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: указател към файл – NULL" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "отпечатване: „%c“: неправилен форматиращ знак" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "файловият дескриптор е извън допустимия диапазон" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: двусмислено пренасочване" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: не може да се презапише съществуващ файл" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: поради ограничение изходът не може да се пренасочи" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "не може да се създаде временен файл за вътрешен документ: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: на променлива не може да се присвои файлов дескриптор" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" -msgstr "„/dev/(tcp|udp)/host/port“ не се поддържат, ако няма поддръжка на мрежа" +msgstr "" +"„/dev/(tcp|udp)/host/port“ не се поддържат, ако няма поддръжка на мрежа" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "грешка при пренасочване: файловият дескриптор не може да бъде дублиран" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "не е открита директорията „/tmp“. Създайте я!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "„/tmp“ трябва да е директория" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: неправилна опция" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "" +"идентификаторът на потребител на процеса не може да се зададе да е %d,\n" +"ефективният идентификатор на потребител на процеса е %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "" +"идентификаторът на група на процеса не може да се зададе да е %d,\n" +"ефективният идентификатор на група на процеса е %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: е директория" + +#: shell.c:1777 msgid "I have no name!" msgstr "Не може да се получи името на текущия потребител!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, версия %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1567,39 +1718,53 @@ msgstr "" "Употреба: %s [дълга опция на GNU] [опция]…\n" " %s [дълга опция на GNU] [опция] файл-скрипт…\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Дълги опции на GNU:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Опции на обвивката:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -msgstr " -ilrsD или -c команда, или -O къса_опция (само при стартиране)\n" +msgstr "" +" -ilrsD или -c команда, или -O къса_опция (само при стартиране)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr " -%s или -o опция\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" -msgstr "За повече информация за опциите на обвивката въведете „%s -c \"help set\"“.\n" +msgstr "" +"За повече информация за опциите на обвивката въведете „%s -c \"help set\"“.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" -msgstr "За повече информация за вградените в обвивката команди въведете „%s -c help“.\n" +msgstr "" +"За повече информация за вградените в обвивката команди въведете „%s -c " +"help“.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "За да докладвате грешки, използвайте командата „bashbug“.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "Интернет страница на bash: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "Помощ за софтуера GNU: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "маска за обработката на сигнали: %d: грешна операция" @@ -1773,90 +1938,107 @@ msgstr "Непознат сигнал #" msgid "Unknown Signal #%d" msgstr "Непознат сигнал #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "лошо заместване: липсва затварящ знак „%s“ в %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: на член от масив не може да се присвои списък" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "не може да се създаде програмен канал за заместване на процеси" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "не може да се създаде дъщерен процес за заместване на процеси" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "именуваният програмен канал %s не може да се отвори за четене" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "именуваният програмен канал %s не може да се отвори за запис" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "" "именуваният програмен канал %s не може да се\n" "дублира като файловия дескриптор %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "лошо заместване: липсва затварящ знак „`“ в %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "не може да се създаде програмен канал за заместване на команди" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "не може да се създаде дъщерен процес за заместване на команди" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "заместване на команди: каналът не може да се дублира като fd 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: неправилно име за променлива-указател" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: лошо заместване" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: грешно непряко заместване" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "„%s“: грешно име на променлива" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: аргументът е „null“ или не е зададен" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: изразът от подниза е < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: лошо заместване" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: не може да се задава по този начин" -#: subst.c:7917 -msgid "future versions of the shell will force evaluation as an arithmetic substitution" +#: subst.c:8802 +msgid "" +"future versions of the shell will force evaluation as an arithmetic " +"substitution" msgstr "" "бъдещите версии на обвивката ще използват изчисляване като аритметично\n" "заместване" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "лошо заместване: липсва затварящ знак „`“ в %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "няма съвпадение: %s" @@ -1870,139 +2052,147 @@ msgstr "очаква се аргумент" msgid "%s: integer expression expected" msgstr "%s: очаква се целочислен израз" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "очаква се „)“" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "очаква се „)“, а е получено %s" -#: test.c:281 test.c:721 test.c:724 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: очаква се унарен оператор" -#: test.c:468 test.c:764 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: очаква се бинарен оператор" -#: test.c:839 +#: test.c:869 msgid "missing `]'" msgstr "липсва „]“" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "неправилен номер на сигнал" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "" "стартиране на предстоящите прихващания: неправилна стойност в\n" "trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format -msgid "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" +msgid "" +"run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" "стартиране на предстоящите прихващания: обработката на сигнали е SIG_DFL.\n" "%d (%s) е преизпратен на текущата обвивка" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "обработка на прихващания: неправилен сигнал %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "грешка при внасянето на дефиницията на функция за „%s“" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "нивото на обвивката (%d) е прекалено голямо. Задава се да е 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: цикъл в променливите-указатели" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "" -"създаване на локална променлива: липсва контекст на функция в текущата област\n" +"създаване на локална променлива: липсва контекст на функция в текущата " +"област\n" "на видимост" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: на тази променлива не може да се присвои стойност" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: неправилно име за променлива-указател" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "" "всички локални променливи: липсва контекст на функция в текущата област на\n" "видимост" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s: аргументът за низа за изнасяне не трябва да е „null“" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "неправилен знак на позиция %d в низа за изнасяне за %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "липсва „=“ в низа за изнасяне за %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" -"изваждане на контекст на променливи: в началото на структурата за променливи на\n" +"изваждане на контекст на променливи: в началото на структурата за променливи " +"на\n" "обвивката (shell_variables) е нещо, което не е контекст на функция" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "" "изваждане на контекст на променливи: липсва контекст за глобални променливи\n" "(global_variables)" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "изваждане на област: в началото на структурата за променливи на обвивката\n" "(shell_variables) е нещо, което не е временна област в обкръжението" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s не може да се отвори като ФАЙЛ" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: грешен файлов дескриптор за файла за трасиране" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: е извън допустимия диапазон" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Авторски права (C) 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Авторски права (C) 2015 Free Software Foundation, Inc." #: version.c:47 version2.c:47 -msgid "License GPLv3+: GNU GPL version 3 or later \n" -msgstr "Лиценз GPLv3+: ОПЛ на GNU, версия 3 или по-висока \n" +msgid "" +"License GPLv3+: GNU GPL version 3 or later \n" +msgstr "" +"Лиценз GPLv3+: ОПЛ на GNU, версия 3 или по-висока \n" #: version.c:86 version2.c:86 #, c-format @@ -2017,10 +2207,6 @@ msgstr "Това е свободен софтуер. Можете да го пр msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Няма НИКАКВИ ГАРАНЦИИ до степента позволена от закона." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Авторски права (C) 2012 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2041,343 +2227,352 @@ msgstr "%s: %s:%d: не могат да се заделят %lu байта (за msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: не могат да се заделят %lu байта" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [ИМЕ[=СТОЙНОСТ]…]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] ИМЕ [ИМЕ…]" -#: builtins.c:51 -msgid "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-x keyseq:shell-command] [keyseq:readline-function or readline-command]" +#: builtins.c:53 +msgid "" +"bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" +"x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" "bind [-lpsvPSVX] [-m ПОДРЕДБА_НА_КЛАВИАТУРАТА] [-f ИМЕ_НА_ФАЙЛ]\n" " [-q ИМЕ] [-u ИМЕ] [-r ПОСЛЕДОВАТЕЛНОСТ_ОТ_КЛАВИШИ]\n" " [-x ПОСЛЕДОВАТЕЛНОСТ_ОТ_КЛАВИШИ:КОМАНДА_НА_ОБВИВКАТА]\n" -" [ПОСЛЕДОВАТЕЛНОСТ_ОТ_КЛАВИШИ:КОМАНДА_НА_ОБВИВКАТА или КОМАНДА_НА_READLINE]" +" [ПОСЛЕДОВАТЕЛНОСТ_ОТ_КЛАВИШИ:КОМАНДА_НА_ОБВИВКАТА или " +"КОМАНДА_НА_READLINE]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [БРОЙ]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [БРОЙ]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [ВГРАДЕНА_КОМАНДА [АРГУМЕНТ…]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [ИЗРАЗ]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]] [-@]] [ДИРЕКТОРИЯ]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] команда [АРГУМЕНТ…]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [ИМЕ[=СТОЙНОСТ]…]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] [ИМЕ[=СТОЙНОСТ]…]" - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] ИМЕ[=СТОЙНОСТ]…" + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [ОПЦИЯ] ИМЕ[=СТОЙНОСТ]…" -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [АРГУМЕНТ…]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [АРГУМЕНТ…]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f ФАЙЛ] [АРГУМЕНТ…]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [АРГУМЕНТ…]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts НИЗ_С_ОПЦИИ ИМЕ [АРГУМЕНТ]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a ИМЕ] [КОМАНДА [АРГУМЕНТИ…]] [ПРЕНАСОЧВАНЕ…]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [ЦИФРОВ_КОД]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [ЦИФРОВ_КОД]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" -msgstr "fc [-e РЕДАКТОР] [-lnr] [ПЪРВИ] [ПОСЛЕДЕН] или fc -s [ШАБЛОН=ЗАМЕСТИТЕЛ…] [КОМАНДА]" +msgstr "" +"fc [-e РЕДАКТОР] [-lnr] [ПЪРВИ] [ПОСЛЕДЕН] или fc -s [ШАБЛОН=ЗАМЕСТИТЕЛ…] " +"[КОМАНДА]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [ЗАДАЧА]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [ЗАДАЧА…]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p ПЪТ] [-dt] [ИМЕ…]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [ШАБЛОН…]" -#: builtins.c:121 -msgid "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]" +#: builtins.c:123 +msgid "" +"history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " +"[arg...]" msgstr "" "history [-c] [-d ОТМЕСТВАНЕ] [БРОЙ] или \n" "history -anrw [ИМЕ_НА_ФАЙЛ] или\n" "history -ps АРГ [АРГ…]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [ЗАДАЧА…] или jobs -x КОМАНДА [АРГУМЕНТИ]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [ЗАДАЧА…]" -#: builtins.c:132 -msgid "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]" +#: builtins.c:134 +msgid "" +"kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " +"[sigspec]" msgstr "" "kill [-s СИГНАЛ | -n НОМЕР_НА_СИГНАЛ | -СИГНАЛ] ИДЕНТИФИКАТОР_НА_ПРОЦЕС\n" " | ИДЕНТИФИКАТОР_НА_ЗАДАЧА…\n" "или\n" "kill -l [СИГНАЛ]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let АРГУМЕНТ [АРГУМЕНТ…]" -#: builtins.c:136 -msgid "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...]" +#: builtins.c:138 +msgid "" +"read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " +"prompt] [-t timeout] [-u fd] [name ...]" msgstr "" "read [-ers] [-a МАСИВ] [-d РАЗДЕЛИТЕЛ] [-i ТЕКСТ] [-n БРОЙ_ЗНАЦИ]\n" " [-N БРОЙ_ЗНАЦИ] [-p ПОДСКАЗКА] [-t БРОЙ_ЗНАЦИ] [-u ФАЙЛОВ_ДЕСКРИПТОР]\n" " [ИМЕ…]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [ЦИФРОВ_КОД]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o ОПЦИЯ] [--] [АРГУМЕНТИ…]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [ИМЕ…]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [ИМЕ[=СТОЙНОСТ]…] или export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [ИМЕ[=СТОЙНОСТ]…] или readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [БРОЙ]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source ФАЙЛ [АРГУМЕНТИ]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". ФАЙЛ [аргументи]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [ИЗРАЗ]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ АРГУМЕНТ…]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[АРГУМЕНТ] СИГНАЛ…]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] ИМЕ [ИМЕ…]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [ОГРАНИЧЕНИЕ]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [ОГРАНИЧЕНИЕ]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [МАСКА]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [ИД…]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [ИД_ПР…]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for ИМЕ [in ДУМИ…] ; do КОМАНДИ; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( ИЗРАЗ_1; ИЗРАЗ_2; ИЗРАЗ_3 )); do КОМАНДИ; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select ИМЕ [in ДУМИ…;] do КОМАНДИ; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] ПРОГРАМЕН_КАНАЛ" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case ДУМА in [ШАБЛОН [| ШАБЛОН]…) КОМАНДИ ;;]… esac" -#: builtins.c:192 -msgid "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else COMMANDS; ] fi" -msgstr "if КОМАНДИ; then КОМАНДИ; [ elif КОМАНДИ; then КОМАНДИ; ]… [ else КОМАНДИ; ] fi" - #: builtins.c:194 +msgid "" +"if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " +"COMMANDS; ] fi" +msgstr "" +"if КОМАНДИ; then КОМАНДИ; [ elif КОМАНДИ; then КОМАНДИ; ]… [ else КОМАНДИ; ] " +"fi" + +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while КОМАНДИ; do КОМАНДИ; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until КОМАНДИ; do КОМАНДИ; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [ИМЕ] КОМАНДА [ПРЕНАСОЧВАНИЯ]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function name { КОМАНДИ ; } или name () { КОМАНДИ ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ КОМАНДИ ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "%ЗАДАЧА [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( ИЗРАЗ ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ ИЗРАЗ ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables имена и значение на някои от променливите на обвивката" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | ДИР]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [ОПЦИЯ…]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v ПРОМЕНЛИВА] ФОРМАТ [АРГУМЕНТИ]" -#: builtins.c:229 -msgid "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]" +#: builtins.c:231 +msgid "" +"complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" +"W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " +"suffix] [name ...]" msgstr "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o ОПЦИЯ] [-A ДЕЙСТВИЕ]\n" " [-G ШАБЛОН] [-W ДУМИ] [-F ФУНКЦИЯ] [-C КОМАНДА] [-X ФИЛТЪР]\n" " [-P ПРЕДСТАВКА] [-S НАСТАВКА] [ИМЕ…]" -#: builtins.c:233 -msgid "compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" +#: builtins.c:235 +msgid "" +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o ОПЦИЯ] [-A ДЕЙСТВИЕ] [-G ШАБЛОН]\n" " [-W ДУМИ] [-F ФУНКЦИЯ] [-C КОМАНДА] [-X ФИЛТЪР] [-P ПРЕДСТАВКА]\n" " [-S НАСТАВКА] [ДУМА]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o ОПЦИЯ] [-DE] [ИМЕ…]" -#: builtins.c:240 -msgid "mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]" +#: builtins.c:242 +msgid "" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n БРОЙ] [-O НАЧАЛО] [-s БРОЙ] [-t] [-u ФАЙЛ_ДЕСКР]\n" -" [-C ФУНКЦИЯ] [-c КВАНТ] [МАСИВ]" +"mapfile [-d РАЗДЕЛИТЕЛ] [-n БРОЙ] [-O НАЧАЛО] [-s БРОЙ] [-t]\n" +" [-u ФАЙЛ_ДЕСКР] [-C ФУНКЦИЯ] [-c КВАНТ] [МАСИВ]" -#: builtins.c:242 -msgid "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]" +#: builtins.c:244 +msgid "" +"readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " +"quantum] [array]" msgstr "" "readarray [-n БРОЙ] [-O НАЧАЛО] [-s БРОЙ] [-t] [-u ФАЙЛ_ДЕСКР]\n" " [-C ФУНКЦИЯ] [-c КВАНТ] [МАСИВ]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2389,10 +2584,11 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" -" alias returns true unless a NAME is supplied for which no alias has been\n" +" alias returns true unless a NAME is supplied for which no alias has " +"been\n" " defined." msgstr "" "Дефиниране или извеждане на синоними.\n" @@ -2411,12 +2607,12 @@ msgstr "" " alias връща 0, освен в случаите, когато се зададе ИМЕ, за което\n" " не е дефиниран синоним." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2429,7 +2625,7 @@ msgstr "" " Връща 0, освен в случаите, когато се зададе ИМЕ, за което\n" " не е дефиниран синоним." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2441,25 +2637,30 @@ msgid "" " Options:\n" " -m keymap Use KEYMAP as the keymap for the duration of this\n" " command. Acceptable keymap names are emacs,\n" -" emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move,\n" +" emacs-standard, emacs-meta, emacs-ctlx, vi, vi-" +"move,\n" " vi-command, and vi-insert.\n" " -l List names of functions.\n" " -P List function names and bindings.\n" " -p List functions and bindings in a form that can be\n" " reused as input.\n" -" -S List key sequences that invoke macros and their values\n" -" -s List key sequences that invoke macros and their values\n" +" -S List key sequences that invoke macros and their " +"values\n" +" -s List key sequences that invoke macros and their " +"values\n" " in a form that can be reused as input.\n" " -V List variable names and values\n" " -v List variable names and values in a form that can\n" " be reused as input.\n" " -q function-name Query about which keys invoke the named function.\n" -" -u function-name Unbind all keys which are bound to the named function.\n" +" -u function-name Unbind all keys which are bound to the named " +"function.\n" " -r keyseq Remove the binding for KEYSEQ.\n" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2475,40 +2676,49 @@ msgstr "" "\n" " Опции:\n" " -m ПОДРЕДБА \n" -" Използване на ПОДРЕДБАта като подредба на функциите на клавишите\n" +" Използване на ПОДРЕДБАта като подредба на функциите на " +"клавишите\n" " докато командата се изпълнява. Валидни са следните имена:\n" " „emacs“, „emacs-standard“, „emacs-meta“, „emacs-ctlx“, „vi“,\n" " „vi-move“, „vi-command“ и „vi-insert“.\n" " -l Списък с имената на функциите.\n" " -P Списък с имената на функциите и присвояванията.\n" -" -p Списък с имената на функциите и присвояванията във вид, който може\n" +" -p Списък с имената на функциите и присвояванията във вид, който " +"може\n" " да се използва за вход.\n" -" -S Списък с клавишните последователности, които извикват макроси и\n" +" -S Списък с клавишните последователности, които извикват макроси " +"и\n" " стойностите им.\n" -" -s Списък с клавишните последователности, които извикват макроси и\n" +" -s Списък с клавишните последователности, които извикват макроси " +"и\n" " стойностите им във вид, който може да се използва за вход.\n" " -V Списък с имената на променливите и стойностите им.\n" -" -v Списък с имената на променливите и стойностите им във вид, който\n" +" -v Списък с имената на променливите и стойностите им във вид, " +"който\n" " може да се използва за вход.\n" " -q ИМЕ_НА_ФУНКЦИЯ\n" " Проверка кои клавиши извикват функцията с това име.\n" " -u ИМЕ_НА_ФУНКЦИЯ\n" -" Премахване на присвояванията към всички клавиши на функцията с\n" +" Премахване на присвояванията към всички клавиши на функцията " +"с\n" " това име.\n" " -r КЛАВИШНА_ПОСЛЕДОВАТЕЛНОСТ\n" -" Премахване на присвоената функция от КЛАВИШНАта_ПОСЛЕДОВАТЕЛНОСТ.\n" +" Премахване на присвоената функция от " +"КЛАВИШНАта_ПОСЛЕДОВАТЕЛНОСТ.\n" " -f ФАЙЛ\n" " Прочитане на присвояванията на клавиши от ФАЙЛа.\n" " -x КЛАВИШНА_ПОСЛЕДОВАТЕЛНОСТ:КОМАНДА_НА_ОБВИВКАТА\n" " Изпълнение на КОМАНДАта_НА_ОБВИВКАТА при въвеждането на\n" " КЛАВИШНАта_ПОСЛЕДОВАТЕЛНОСТ.\n" -" -X Извеждане на клавишните комбинации зададени с „-x“ и свързаните с тях\n" +" -X Извеждане на клавишните комбинации зададени с „-x“ и свързаните с " +"тях\n" " команди във форма, която може да се ползва и за вход\n" "\n" " Изходен код:\n" -" bind връща 0, освен когато е зададена непозната опция или възникне грешка." +" bind връща 0, освен когато е зададена непозната опция или възникне " +"грешка." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2520,13 +2730,14 @@ msgid "" msgstr "" "Изход от цикли чрез „for“, „while“ или „until“.\n" " \n" -" Изход от цикли организирани чрез „for“, „while“ или „until“. Ако е зададен\n" +" Изход от цикли организирани чрез „for“, „while“ или „until“. Ако е " +"зададен\n" " БРОЙ се излиза от толкова на БРОЙ обхващащи цикли.\n" " \n" " Изходен код:\n" " 0, освен ако е зададен БРОЙ, който е по-малък от 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2538,20 +2749,23 @@ msgid "" msgstr "" "Продължаване на цикъл чрез „for“, „while“ или „until“.\n" "\n" -" Продължаване със следващата итерация от цикъл, организиран с „for“, „while“\n" -" или „until“. Ако е зададен БРОЙ, се продължава със следващата итерация\n" +" Продължаване със следващата итерация от цикъл, организиран с „for“, " +"„while“\n" +" или „until“. Ако е зададен БРОЙ, се продължава със следващата " +"итерация\n" " на обхващащия цикъл зададен с този БРОЙ.\n" "\n" " Изходен код:\n" " 0, освен ако е зададен БРОЙ, който е по-малък от 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" " Execute SHELL-BUILTIN with arguments ARGs without performing command\n" " lookup. This is useful when you wish to reimplement a shell builtin\n" -" as a shell function, but need to execute the builtin within the function.\n" +" as a shell function, but need to execute the builtin within the " +"function.\n" " \n" " Exit Status:\n" " Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is\n" @@ -2560,7 +2774,8 @@ msgstr "" "Изпълнение на вградени команди.\n" "\n" " Изпълнение на ВГРАДЕНАта_КОМАНДА с АРГУМЕНТи, без да се търси нормална\n" -" команда. Това е полезно в случаите, когато искате да създадете вградена\n" +" команда. Това е полезно в случаите, когато искате да създадете " +"вградена\n" " команда като функция на обвивката, но във функцията искате да изпълните\n" " вградената команда.\n" "\n" @@ -2568,7 +2783,7 @@ msgstr "" " Връща изходния код на ВГРАДЕНАта_КОМАНДА или лъжа, ако извиканата \n" " ВГРАДЕНА_КОМАНДА всъщност не е вградена команда." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2589,46 +2804,57 @@ msgstr "" " „$line $subroutine $filename“. Допълнителната информация може да се\n" " използва за получаване на информация за състоянието на стека.\n" " \n" -" Стойността на ИЗРАЗа показва за колко рамки спрямо текущата да се изведе\n" +" Стойността на ИЗРАЗа показва за колко рамки спрямо текущата да се " +"изведе\n" " информация. Най-горната рамка е 0.\n" " \n" " Изходен код:\n" -" Връща 0, освен ако обвивката изпълнява функция дефинирана в обвивката или\n" +" Връща 0, освен ако обвивката изпълнява функция дефинирана в обвивката " +"или\n" " ИЗРАЗът е грешен." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" -" Change the current directory to DIR. The default DIR is the value of the\n" +" Change the current directory to DIR. The default DIR is the value of " +"the\n" " HOME shell variable.\n" " \n" -" The variable CDPATH defines the search path for the directory containing\n" -" DIR. Alternative directory names in CDPATH are separated by a colon (:).\n" -" A null directory name is the same as the current directory. If DIR begins\n" +" The variable CDPATH defines the search path for the directory " +"containing\n" +" DIR. Alternative directory names in CDPATH are separated by a colon " +"(:).\n" +" A null directory name is the same as the current directory. If DIR " +"begins\n" " with a slash (/), then CDPATH is not used.\n" " \n" -" If the directory is not found, and the shell option `cdable_vars' is set,\n" -" the word is assumed to be a variable name. If that variable has a value,\n" +" If the directory is not found, and the shell option `cdable_vars' is " +"set,\n" +" the word is assumed to be a variable name. If that variable has a " +"value,\n" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" -" `..' is processed by removing the immediately previous pathname component\n" +" `..' is processed by removing the immediately previous pathname " +"component\n" " back to a slash or the beginning of DIR.\n" " \n" " Exit Status:\n" -" Returns 0 if the directory is changed, and if $PWD is set successfully when\n" +" Returns 0 if the directory is changed, and if $PWD is set successfully " +"when\n" " -P is used; non-zero otherwise." msgstr "" "Смяна на работната директория на обвивката.\n" @@ -2636,40 +2862,51 @@ msgstr "" " Смяна на текущата директория да е ДИРЕКТОРИЯ. Променливата „HOME“ е\n" " стандартната директория.\n" "\n" -" Променливата „CDPATH“ определя пътя за търсене на директории, които могат да\n" +" Променливата „CDPATH“ определя пътя за търсене на директории, които " +"могат да\n" " съдържат ДИРЕКТОРИЯта. Директориите в „CDPATH“ са разделени с „:“. \n" -" Липсващо име на директория означава текущата директория, т.е. „.“. Ако името\n" +" Липсващо име на директория означава текущата директория, т.е. „.“. Ако " +"името\n" " на ДИРЕКТОРИЯта започва с наклонена черта „/“, „CDPATH“ не се ползва.\n" "\n" " Ако директорията не е открита, но е зададена опцията на обвивката\n" -" „cdable_vars“, то думата се пробва като име на променлива. Ако променливата\n" -" има стойност, то директорията се сменя към стойността на тази променлива.\n" +" „cdable_vars“, то думата се пробва като име на променлива. Ако " +"променливата\n" +" има стойност, то директорията се сменя към стойността на тази " +"променлива.\n" " \n" " Опции:\n" " -L налага следването на символните връзки. Символните връзки в\n" -" ДИРЕКТОРИЯта се обработват след указателите към горна директория „..“.\n" -" -P налага използването на фактическата подредба на директориите, вместо\n" -" да се следват символните връзки. Символните връзки в ДИРЕКТОРИЯта се\n" +" ДИРЕКТОРИЯта се обработват след указателите към горна директория " +"„..“.\n" +" -P налага използването на фактическата подредба на директориите, " +"вместо\n" +" да се следват символните връзки. Символните връзки в ДИРЕКТОРИЯта " +"се\n" " обработват след указателите към горна директория „..“.\n" -" -e ако е използвана опцията „-P“ и текущата директория не може да бъде\n" +" -e ако е използвана опцията „-P“ и текущата директория не може да " +"бъде\n" " определена, командата завършва с ненулев изход.\n" -" -@ на системите с поддръжка на разширени атрибути файлът се представя\n" +" -@ на системите с поддръжка на разширени атрибути файлът се " +"представя\n" " като директория, в която са атрибутите.\n" "\n" -" Стандартно символните връзки се следват, все едно е зададена опцията „-L“\n" +" Стандартно символните връзки се следват, все едно е зададена опцията „-" +"L“\n" "\n" " Изходен код:\n" -" Връща 0 при смяна на директорията. Когато е зададена опцията „-P“, 0 се\n" +" Връща 0 при смяна на директорията. Когато е зададена опцията „-P“, 0 " +"се\n" " връща при успешно задаване на променливата „PWD„. Във всички останали\n" " случаи изходът е ненулев." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2688,10 +2925,11 @@ msgstr "" " Стандартно поведението на „pwd“ без аргументи съответства на „-L“.\n" " \n" " Изходен код:\n" -" 0, освен ако е подадена неправилна опция или текущата директория не може да\n" +" 0, освен ако е подадена неправилна опция или текущата директория не може " +"да\n" " бъде прочетена." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2707,7 +2945,7 @@ msgstr "" " Изходен код:\n" " Винаги завършва успешно." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2719,7 +2957,7 @@ msgstr "" " Изходен код:\n" " Винаги завършва успешно." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2731,19 +2969,20 @@ msgstr "" " Изходен код:\n" " Винаги завършва неуспешно." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" " Runs COMMAND with ARGS suppressing shell function lookup, or display\n" -" information about the specified COMMANDs. Can be used to invoke commands\n" +" information about the specified COMMANDs. Can be used to invoke " +"commands\n" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2751,20 +2990,24 @@ msgstr "" "Изпълнение на нормална команда или извеждане на информация за команди.\n" " \n" " Изпълнение на КОМАНДАта с АРГументи, без тя да се търси като функция на\n" -" обвивката, или извеждане на информация за указаните КОМАНДи. Може да се\n" -" използва за изпълнението на външни команди, дори когато съществува функция\n" +" обвивката, или извеждане на информация за указаните КОМАНДи. Може да " +"се\n" +" използва за изпълнението на външни команди, дори когато съществува " +"функция\n" " със същото име.\n" " \n" " Опции:\n" -" -p използване на стандартна стойност на PATH. Така могат да се открият\n" +" -p използване на стандартна стойност на PATH. Така могат да се " +"открият\n" " всички стандартни инструменти\n" -" -v извежда описание на КОМАНДАта подобно на вградената команда „type“\n" +" -v извежда описание на КОМАНДАта подобно на вградената команда " +"„type“\n" " -V извежда по пълно описание на всяка КОМАНДА\n" " \n" " Изходен код:\n" " Връща изходния код на КОМАНДАта или грешка, ако такава не е открита." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2774,9 +3017,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2795,7 +3038,8 @@ msgid "" " Variables with the integer attribute have arithmetic evaluation (see\n" " the `let' command) performed when the variable is assigned a value.\n" " \n" -" When used in a function, `declare' makes NAMEs local, as with the `local'\n" +" When used in a function, `declare' makes NAMEs local, as with the " +"`local'\n" " command. The `-g' option suppresses this behavior.\n" " \n" " Exit Status:\n" @@ -2804,15 +3048,20 @@ msgid "" msgstr "" "Задаване на стойности на променливите и атрибутите.\n" " \n" -" Деклариране на променливи и задаване на атрибутите им. Ако не са дадени\n" +" Деклариране на променливи и задаване на атрибутите им. Ако не са " +"дадени\n" " ИМЕна се изобразяват атрибутите и стойностите на всички променливи.\n" " \n" " Опции:\n" -" -f Ограничаване на действието или извеждането до имената и дефинициите\n" +" -f Ограничаване на действието или извеждането до имената и " +"дефинициите\n" " на функциите\n" -" -F Ограничаване на извеждането само до имената на функциите, заедно с\n" -" номерата на редовете и изходните файлове при изчистване на грешките\n" -" -g Създаване на глобална променлива, когато опцията е употребена във\n" +" -F Ограничаване на извеждането само до имената на функциите, заедно " +"с\n" +" номерата на редовете и изходните файлове при изчистване на " +"грешките\n" +" -g Създаване на глобална променлива, когато опцията е употребена " +"във\n" " функция. В противен случай се пренебрегва\n" " -p Извеждане на атрибутите и стойността на всяко ИМЕ\n" " \n" @@ -2834,25 +3083,29 @@ msgstr "" " число се извършва аритметично изчисляване (вижте командата „let“).\n" " the `let' command).\n" " \n" -" Когато се използва във функция, командата „declare“ прави ИМЕната локални,\n" -" все едно се изпълнява командата „local“. Опцията „-g“ предотвратява това\n" +" Когато се използва във функция, командата „declare“ прави ИМЕната " +"локални,\n" +" все едно се изпълнява командата „local“. Опцията „-g“ предотвратява " +"това\n" " поведение.\n" " \n" " Изходен код:\n" -" 0, освен ако е зададена неправилна опция или възникне грешка при задаването\n" +" 0, освен ако е зададена неправилна опция или възникне грешка при " +"задаването\n" " на стойност на променлива." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Задаване на стойност и атрибути на променливи.\n" " \n" " Остаряло. Виж „help declare“." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2868,21 +3121,25 @@ msgid "" msgstr "" "Дефиниране на локални променливи.\n" " \n" -" Създаване на локална променлива с това ИМЕ и зададената СТОЙНОСТ. ОПЦИЯта\n" +" Създаване на локална променлива с това ИМЕ и зададената СТОЙНОСТ. " +"ОПЦИЯта\n" " може да е всяка приемана от вградената команда „declare“.\n" " \n" -" Локалните променливи могат да се използват само във функция. Те са видими\n" +" Локалните променливи могат да се използват само във функция. Те са " +"видими\n" " само в нея и нейните наследници.\n" " \n" " Изходен код:\n" -" 0, освен ако е зададена неправилна ОПЦИЯ, възникне грешка при задаването на\n" +" 0, освен ако е зададена неправилна ОПЦИЯ, възникне грешка при задаването " +"на\n" " стойност на променлива, или в момента не се изпълнява функция." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" -" Display the ARGs, separated by a single space character and followed by a\n" +" Display the ARGs, separated by a single space character and followed by " +"a\n" " newline, on the standard output.\n" " \n" " Options:\n" @@ -2903,9 +3160,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2917,7 +3174,8 @@ msgstr "" "\n" " Опции:\n" " -n не се извежда знак за нов ред.\n" -" -e включва се интерпретирането на знаците, изброени по-долу, екранирани\n" +" -e включва се интерпретирането на знаците, изброени по-долу, " +"екранирани\n" " с обратна наклонена черта — „\\“\n" " -Е изрично се спира интерпретирането на долните знаци\n" "\n" @@ -2934,16 +3192,18 @@ msgstr "" " \\v вертикална табулация\n" " \\\\ обратно наклонена черта\n" " \\0nnn\n" -" знакът с код в ASCII NNN (в осмична бройна система). NNN може да се\n" +" знакът с код в ASCII NNN (в осмична бройна система). NNN може да " +"се\n" " състои от 1 до 3 осмични цифри.\n" " \\xHH\n" -" знакът с код в ASCII HH (в шестнайсетична бройна система). HH може\n" +" знакът с код в ASCII HH (в шестнайсетична бройна система). HH " +"може\n" " да се състои от 1 до 2 шестнайсетични цифри.\n" "\n" " Изходен код:\n" " Връща 0, освен ако не възникне грешка при извеждането." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2957,7 +3217,8 @@ msgid "" msgstr "" "Извеждане на аргументите на стандартния изход.\n" " \n" -" Извеждане на АРГументите на стандартния изход последвани от знак за нов ред.\n" +" Извеждане на АРГументите на стандартния изход последвани от знак за нов " +"ред.\n" " \n" " Опции:\n" " -n без извеждане на знак за нов ред\n" @@ -2965,7 +3226,7 @@ msgstr "" " Изходен код:\n" " Връща 0, освен ако възникне грешка при извеждането." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2994,17 +3255,21 @@ msgstr "" "Включване и изключване на вградените в обвивката команди.\n" " \n" " Включване и изключване на командите вградени в обвивката. Изключването\n" -" позволява извикването на външна команда със същото име като вградена без\n" +" позволява извикването на външна команда със същото име като вградена " +"без\n" " използването на пълното име с пътя.\n" " \n" " Опции:\n" " -a Извеждане на списъка с вградените команди заедно с това дали са\n" " включени или не\n" " -n Изключване на вградените команди с посочените ИМЕна. Ако не са\n" -" дадени ИМЕна, се извежда списъкът с изключените вътрешни команди\n" -" -p Извеждане на списъка с вътрешни команди във формат, който може да\n" +" дадени ИМЕна, се извежда списъкът с изключените вътрешни " +"команди\n" +" -p Извеждане на списъка с вътрешни команди във формат, който може " +"да\n" " се ползва като вход\n" -" -s Извеждане само на имената на специалните вградени команди според\n" +" -s Извеждане само на имената на специалните вградени команди " +"според\n" " POSIX\n" " \n" " Опции за динамичното зареждане:\n" @@ -3015,17 +3280,19 @@ msgstr "" " Ако не са зададени опции, всяка от вътрешните команди с такова ИМЕ бива\n" " включена.\n" " \n" -" За да ползвате командата „test“, която се намира в пътя за изпълнение $PATH,\n" +" За да ползвате командата „test“, която се намира в пътя за изпълнение " +"$PATH,\n" " вместо вградения в обвивката вариант изпълнете: „enable -n test“.\n" " \n" " Изходен код:\n" " 0, освен ако ИМЕто не е на вградена команда или не възникне грешка." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" -" Combine ARGs into a single string, use the result as input to the shell,\n" +" Combine ARGs into a single string, use the result as input to the " +"shell,\n" " and execute the resulting commands.\n" " \n" " Exit Status:\n" @@ -3039,7 +3306,7 @@ msgstr "" " Изходен код:\n" " Връща изходния код на командата или код за успех, ако командата е нулева." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3081,79 +3348,102 @@ msgid "" msgstr "" "Анализиране на опциите и аргументите.\n" "\n" -" getopts се използва от процедурите на обвивката за анализа на позиционните\n" +" getopts се използва от процедурите на обвивката за анализа на " +"позиционните\n" " аргументи и опции.\n" " \n" -" НИЗът_С_ОПЦИИ съдържа знаците, които трябва да се разпознават като опции.\n" -" Ако буквата е следвана от двоеточие, очаква се опцията да получава аргумент,\n" +" НИЗът_С_ОПЦИИ съдържа знаците, които трябва да се разпознават като " +"опции.\n" +" Ако буквата е следвана от двоеточие, очаква се опцията да получава " +"аргумент,\n" " който да е разделен от нея с интервал(и).\n" " \n" -" При всяко извикване „getopts“ поставя следващата опция в променливата на\n" -" обвивката „name“, като я инициализира, ако тя не съществува, а индексът на\n" -" следващия аргумент, който трябва да се обработи, в променливата на обвивката\n" -" „OPTIND“. „OPTIND“ се инициализира да е 1 при всяко извикване на обвивка\n" +" При всяко извикване „getopts“ поставя следващата опция в променливата " +"на\n" +" обвивката „name“, като я инициализира, ако тя не съществува, а индексът " +"на\n" +" следващия аргумент, който трябва да се обработи, в променливата на " +"обвивката\n" +" „OPTIND“. „OPTIND“ се инициализира да е 1 при всяко извикване на " +"обвивка\n" " или скрипт. Когато опцията се нуждае от аргумент, той се поставя в\n" " променливата на обвивката „OPTARG“.\n" " \n" " „getopts“ докладва грешки по един от два начина. Ако първият знак на\n" -" „OPTSTRING“ е двоеточие, „getopts“ използва тихо докладване. В този режим\n" -" не се извеждат никакви съобщения за грешка. Ако се срещне неправилна опция,\n" -" „getopts“ слага срещнатия знак за опция в „OPTARG“. Ако липсва задължителен\n" -" аргумент, „getopts“ слага „:“ в променливата „ИМЕ“, а в „OPTARG“ — срещнатия\n" -" знак за опция. Когато „getopts“ не е в режим на тихо докладване и се срещне\n" -" неправилна опция, в променливата „ИМЕ“ се слага „?“, а „OPTARG“ се премахва,\n" -" а ако липсва задължителен аргумент, допълнително се изписва диагностично\n" +" „OPTSTRING“ е двоеточие, „getopts“ използва тихо докладване. В този " +"режим\n" +" не се извеждат никакви съобщения за грешка. Ако се срещне неправилна " +"опция,\n" +" „getopts“ слага срещнатия знак за опция в „OPTARG“. Ако липсва " +"задължителен\n" +" аргумент, „getopts“ слага „:“ в променливата „ИМЕ“, а в „OPTARG“ — " +"срещнатия\n" +" знак за опция. Когато „getopts“ не е в режим на тихо докладване и се " +"срещне\n" +" неправилна опция, в променливата „ИМЕ“ се слага „?“, а „OPTARG“ се " +"премахва,\n" +" а ако липсва задължителен аргумент, допълнително се изписва " +"диагностично\n" " съобщение.\n" " \n" -" Ако променливата на обвивката „OPTERR“ е със стойност 0, „getopts“ изключва\n" -" извеждането на диагностични съобщения, дори първият знак в „OPTSTRING“ да не\n" +" Ако променливата на обвивката „OPTERR“ е със стойност 0, „getopts“ " +"изключва\n" +" извеждането на диагностични съобщения, дори първият знак в „OPTSTRING“ " +"да не\n" " е двоеточие. По подразбиране „OPTERR“ е със стойност 1.\n" " \n" -" „getopts“ по принцип анализира позиционните аргументи ($0 — $9), но ако са\n" +" „getopts“ по принцип анализира позиционните аргументи ($0 — $9), но ако " +"са\n" " дадени повече аргументи, те биват анализирани вместо това.\n" "\n" " Изходен код:\n" -" Връща 0 при откриването на опция. Връща друга стойност при стигането на\n" +" Връща 0 при откриването на опция. Връща друга стойност при стигането " +"на\n" " последната опция или при възникването на грешка." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" " Execute COMMAND, replacing this shell with the specified program.\n" -" ARGUMENTS become the arguments to COMMAND. If COMMAND is not specified,\n" +" ARGUMENTS become the arguments to COMMAND. If COMMAND is not " +"specified,\n" " any redirections take effect in the current shell.\n" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" -" If the command cannot be executed, a non-interactive shell exits, unless\n" +" If the command cannot be executed, a non-interactive shell exits, " +"unless\n" " the shell option `execfail' is set.\n" " \n" " Exit Status:\n" -" Returns success unless COMMAND is not found or a redirection error occurs." +" Returns success unless COMMAND is not found or a redirection error " +"occurs." msgstr "" "Заместване на обвивката с дадената команда.\n" "\n" -" Изпълняване на КОМАНДАта, като тя замества текущата обвивка. АРГУМЕНТите\n" +" Изпълняване на КОМАНДАта, като тя замества текущата обвивка. " +"АРГУМЕНТите\n" " се подават на КОМАНДАта. Ако не е дадена КОМАНДА, пренасочванията се\n" " извършват в текущата обвивка.\n" "\n" " Опции:\n" " -a ИМЕ ИМЕ-то се подава като нулевия аргумент на КОМАНДАта\n" -" -c изпълняване на КОМАНДАта в нулева среда\n" +" -c изпълняване на КОМАНДАта в празна среда\n" " -l поставяне на тире в нулевия аргумент на КОМАНДАта\n" "\n" -" Ако КОМАНДАта не може да бъде изпълнена, трябва да съществува неинтерактивна\n" +" Ако КОМАНДАта не може да бъде изпълнена, трябва да съществува " +"неинтерактивна\n" " обвивка, освен ако не е зададена опцията на обвивката „execfail“.\n" "\n" " Изходен код:\n" " 0, освен когато КОМАНДАта не е открита или възникне грешка при\n" " пренасочването." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3162,32 +3452,37 @@ msgid "" msgstr "" "Изход от обвивката.\n" " \n" -" Изход от обвивката с този ЦИФРОВ_КОД. Ако той е изпуснат, то изходният код\n" +" Изход от обвивката с този ЦИФРОВ_КОД. Ако той е изпуснат, то изходният " +"код\n" " е този на последната изпълнена команда." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" -" Exits a login shell with exit status N. Returns an error if not executed\n" +" Exits a login shell with exit status N. Returns an error if not " +"executed\n" " in a login shell." msgstr "" "Изход от входната обвивка.\n" " \n" -" Изход от входната обвивка с този ЦИФРОВ_КОД. Връща грешка, ако е изпълнена\n" +" Изход от входната обвивка с този ЦИФРОВ_КОД. Връща грешка, ако е " +"изпълнена\n" " в обвивка, която не е входна." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" -" fc is used to list or edit and re-execute commands from the history list.\n" +" fc is used to list or edit and re-execute commands from the history " +"list.\n" " FIRST and LAST can be numbers specifying the range, or FIRST can be a\n" " string, which means the most recent command beginning with that\n" " string.\n" " \n" " Options:\n" -" -e ENAME\tselect which editor to use. Default is FCEDIT, then EDITOR,\n" +" -e ENAME\tselect which editor to use. Default is FCEDIT, then " +"EDITOR,\n" " \t\tthen vi\n" " -l \tlist lines instead of editing\n" " -n\tomit line numbers when listing\n" @@ -3201,36 +3496,44 @@ msgid "" " the last command.\n" " \n" " Exit Status:\n" -" Returns success or status of executed command; non-zero if an error occurs." +" Returns success or status of executed command; non-zero if an error " +"occurs." msgstr "" "Извеждане и/или изпълнение на команди от историята.\n" "\n" -" fc се използва за изброяването или редактирането и повторното изпълнение на\n" +" fc се използва за изброяването или редактирането и повторното изпълнение " +"на\n" " команди от списъка на историята.\n" -" ПЪРВИ и ПОСЛЕДЕН са номера, които могат да указват допустимия диапазон. Ако\n" +" ПЪРВИ и ПОСЛЕДЕН са номера, които могат да указват допустимия диапазон. " +"Ако\n" " е зададен само ПЪРВИят аргумент, той задава низ, който е началото на\n" " команда.\n" " \n" " Опции:\n" " -e РЕДАКТОР\n" " избор на текстов редактор, който да се използва. Стандартно е\n" -" указаният в променливата „FCEDIT“, след това се проверява „EDITOR“ и\n" +" указаният в променливата „FCEDIT“, след това се проверява „EDITOR“ " +"и\n" " в краен случай е „vi“.\n" " -l редовете да се покажат вместо редактират.\n" " -n номерата на редовете да не се отпечатват.\n" " -r обратна подредба (отпред да е най-новият ред).\n" " \n" -" При варианта „fc -s [ШАБЛОН=ЗАМЕСТИТЕЛ…] [КОМАНДА]“ командата се изпълнява, като\n" +" При варианта „fc -s [ШАБЛОН=ЗАМЕСТИТЕЛ…] [КОМАНДА]“ командата се " +"изпълнява, като\n" " всяка поява на ШАБЛона се заменя със ЗАМЕСТителя.\n" " \n" -" Удобен за използване синоним е „r='fc -s'“. По такъв начин, ако напишете\n" -" „r cc“, ще се изпълни последната команда, която започва с „cc“, а когато\n" +" Удобен за използване синоним е „r='fc -s'“. По такъв начин, ако " +"напишете\n" +" „r cc“, ще се изпълни последната команда, която започва с „cc“, а " +"когато\n" " се въведе само „r“, ще се изпълни последната команда.\n" "\n" " Изходен код:\n" -" Връща 0 или изхода от последната команда, който не е 0 в случай на грешка." +" Връща 0 или изхода от последната команда, който не е 0 в случай на " +"грешка." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3250,12 +3553,14 @@ msgstr "" " Изходът от командата, която е зададена да е текуща или грешка, ако при\n" " поставянето на задачата от фонов към текущ режим възникне такава." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" -" Place the jobs identified by each JOB_SPEC in the background, as if they\n" -" had been started with `&'. If JOB_SPEC is not present, the shell's notion\n" +" Place the jobs identified by each JOB_SPEC in the background, as if " +"they\n" +" had been started with `&'. If JOB_SPEC is not present, the shell's " +"notion\n" " of the current job is used.\n" " \n" " Exit Status:\n" @@ -3264,38 +3569,41 @@ msgstr "" "Поставяне на задачи във фонов режим.\n" "\n" " Поставя всяка ЗАДАЧА във фонов режим, все едно е била стартирана с „&“.\n" -" Ако липсва аргумент ЗАДАЧА, се използва текущата задача според обвивката.\n" +" Ако липсва аргумент ЗАДАЧА, се използва текущата задача според " +"обвивката.\n" "\n" " Изходен код:\n" " 0, освен ако управлението на задачи е изключено или възникне грешка." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" " Determine and remember the full pathname of each command NAME. If\n" -" no arguments are given, information about remembered commands is displayed.\n" +" no arguments are given, information about remembered commands is " +"displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" "Запомняне или извеждане на местоположенията на програми.\n" -" \n" -" Определяне и запомняне на пълното име с пътя на всяко ИМЕ. Ако не са дадени\n" +"\n" +" Определяне и запомняне на пълното име с пътя на всяко ИМЕ. Ако не са " +"дадени\n" " аргументи, се извежда информация за всички запомнени команди.\n" -" \n" +"\n" " Опции:\n" " -d Забравяне на запомненото местоположение на всички ИМЕна\n" " -l Извеждане във формат за преизползване като вход\n" @@ -3303,16 +3611,18 @@ msgstr "" " Използване на посочения ПЪТ като пълен път за ИМЕто\n" " -r Забравяне на всички запомнени местоположения\n" " -t Извеждане на запомнените местоположения на всички ИМЕна. Ако е\n" -" посочено повече от едно ИМЕ, всяко местоположение се предшества от\n" +" посочено повече от едно ИМЕ, всяко местоположение се предшества " +"от\n" " ИМЕто\n" " Аргументи:\n" -" ИМЕ Всяко име се търси в пътя за изпълнение „PATH“ и при намирането му\n" +" ИМЕ Всяко име се търси в пътя за изпълнение „PATH“ и при намирането " +"му\n" " се добавя в списъка със запомнени команди.\n" -" \n" +"\n" " Изходен код:\n" " 0, освен ако ИМЕто не бъде открито или е дадена неправилна опция." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3324,34 +3634,40 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" " \n" " Exit Status:\n" -" Returns success unless PATTERN is not found or an invalid option is given." +" Returns success unless PATTERN is not found or an invalid option is " +"given." msgstr "" "Извеждане на информация за вградените команди.\n" " \n" -" Извежда кратка информация за вградените команди. Ако е указан ШАБЛОН, се\n" -" извежда информация за напасващите команди. В противен случай се изважда\n" +" Извежда кратка информация за вградените команди. Ако е указан ШАБЛОН, " +"се\n" +" извежда информация за напасващите команди. В противен случай се " +"изважда\n" " информация за всички команди.\n" " \n" " Опции:\n" " -d Извеждане на кратко описание на всяка тема\n" " -m Извеждане във формат наподобяващ страница от ръководствата\n" -" -s Извеждане само на кратко обобщение за използването на всяка команда,\n" +" -s Извеждане само на кратко обобщение за използването на всяка " +"команда,\n" " съвпадаща с ШАБЛОНа\n" " \n" " Аргументи:\n" -" ШАБЛОН Шаблон за имената на командите, за които да се изведе информация\n" +" ШАБЛОН Шаблон за имената на командите, за които да се изведе " +"информация\n" " \n" " Изходен код:\n" " 0, освен ако никоя вградена команда не съвпада с шаблона или е дадена\n" " неправилна опция." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3360,32 +3676,34 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" -" with each displayed history entry. No time stamps are printed otherwise.\n" +" with each displayed history entry. No time stamps are printed " +"otherwise.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" "Извеждане и управление на списъка на историята.\n" "\n" -" Отпечатване на списъка на историята с номера на ред. Редовете, които са\n" +" Отпечатване на списъка на историята с номера на ред. Редовете, които " +"са\n" " отбелязани със знака „*“, са били променени. Аргументът N указва да се\n" " извеждат само N на брой реда.\n" "\n" @@ -3395,27 +3713,33 @@ msgstr "" " изтрива елемента в историята намиращ се посочената ПОЗИЦИЯ.\n" " -a добавя историята от текущата сесия към файла с историята.\n" " -n прочитане на непрочетените редове от файла с историята.\n" -" -r прочитане на файла с историята и добавяне на съдържанието към текущата\n" +" -r прочитане на файла с историята и добавяне на съдържанието към " +"текущата\n" " история.\n" " -w записване на текущата история във файла за историята.\n" -" -p извършване на историческо заместване за всеки АРГУМЕНТ, а резултатът да\n" +" -p извършване на историческо заместване за всеки АРГУМЕНТ, а резултатът " +"да\n" " се изведе, без нищо да се записва в историята на командите.\n" -" -s аргументите, които не са опции, се добавят като един елемент към файла с\n" +" -s аргументите, които не са опции, се добавят като един елемент към " +"файла с\n" " историята.\n" " \n" " Ако аргументът ИМЕ_НА_ФАЙЛ е зададен, той се използва като файл за\n" " историята. Ако той липсва, се използва файлът сочен в променливата на\n" " средата „HISTFILE“. В противен случай се ползва „~/.bash_history“.\n" " \n" -" Ако променливата „HISTTIMEFORMAT“ е зададена и не е „null“, стойността ѝ се\n" -" използва като форматиращия низ за функцията „strftime“, за да се отбелязва\n" -" времето свързано с всеки елемент от историята. В противен случай времето не\n" +" Ако променливата „HISTTIMEFORMAT“ е зададена и не е „null“, стойността ѝ " +"се\n" +" използва като форматиращия низ за функцията „strftime“, за да се " +"отбелязва\n" +" времето свързано с всеки елемент от историята. В противен случай " +"времето не\n" " се записва.\n" " \n" " Изходен код:\n" " 0. Ако възникне грешка или е подадена неправилна опция връща грешка." -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3424,8 +3748,8 @@ msgid "" " \n" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" -" -n\tlist only processes that have changed status since the last\n" -" \tnotification\n" +" -n\tlists only processes that have changed status since the last\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3449,18 +3773,20 @@ msgstr "" " -n извеждат се само процесите с променено състояние от последното\n" " извеждане на тази информация.\n" " -p извежда само идентификаторите на процесите.\n" -" -r ограничаване на изхода само до работещите задачи.\n" +" -r ограничаване на изхода само до изпълняваните задачи.\n" " -s ограничаване на изхода само до спрените задачи.\n" "\n" " Ако е зададена опцията „-x“, КОМАНДАта се изпълнява, след като всички\n" -" ЗАДАЧи, които се появяват като АРГУМЕНТи, се заменят с идентификатора на\n" +" ЗАДАЧи, които се появяват като АРГУМЕНТи, се заменят с идентификатора " +"на\n" " водача на групата процеси.\n" "\n" " Изходен код:\n" -" 0, освен ако не е дадена неправилна опция или възникни грешка. Ако се\n" +" 0, освен ако не е дадена неправилна опция или възникни грешка. Ако " +"се\n" " ползва „-x“, връща изходното състояние на КОМАНДАта." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3470,7 +3796,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3478,7 +3804,8 @@ msgid "" msgstr "" "Премахване на ЗАДАЧи от текущата обвивка.\n" " \n" -" Премахва всеки аргумент-задача от таблицата на активните задачи. Ако ЗАДАЧА\n" +" Премахва всеки аргумент-задача от таблицата на активните задачи. Ако " +"ЗАДАЧА\n" " не е указана, се използва тази, която обвивката счита за текуща.\n" " \n" " Опции:\n" @@ -3490,7 +3817,8 @@ msgstr "" " Изходен код:\n" " 0, освен когато е дадена неправилна опция или несъществуваща ЗАДАЧА." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3502,7 +3830,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3523,25 +3852,30 @@ msgstr "" " -n СИГНАЛ\n" " СИГНАЛ се интерпретира като номер на сигнал\n" " -l изброява имената на сигналите. Ако към командата са добавени\n" -" аргументи, те се интерпретират като номера на сигналите чиито имена\n" +" аргументи, те се интерпретират като номера на сигналите чиито " +"имена\n" " да се изброят.\n" "\n" -" „kill“ е команда вградена в обвивката поради две причини: позволява да се\n" -" използват и идентификатори на задачи освен идентификатори на процеси, а и\n" -" ако сте пуснали максимално разрешения за вас брой процеси, няма да ви се\n" +" „kill“ е команда вградена в обвивката поради две причини: позволява да " +"се\n" +" използват и идентификатори на задачи освен идентификатори на процеси, а " +"и\n" +" ако сте пуснали максимално разрешения за вас брой процеси, няма да ви " +"се\n" " налага да пуснете още един процес, за да убиете друг.\n" "\n" " Изходен код:\n" " 0. Ако възникне грешка или е подадена неправилна опция, връща грешка." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" " Evaluate each ARG as an arithmetic expression. Evaluation is done in\n" " fixed-width integers with no check for overflow, though division by 0\n" " is trapped and flagged as an error. The following list of operators is\n" -" grouped into levels of equal-precedence operators. The levels are listed\n" +" grouped into levels of equal-precedence operators. The levels are " +"listed\n" " in order of decreasing precedence.\n" " \n" " \tid++, id--\tvariable post-increment, post-decrement\n" @@ -3579,7 +3913,8 @@ msgid "" msgstr "" "Изчисляване на аритметичен израз.\n" "\n" -" Всеки АРГУМЕНТ е аритметичен израз, който се бъде изчислен. Изчисленията\n" +" Всеки АРГУМЕНТ е аритметичен израз, който се бъде изчислен. " +"Изчисленията\n" " се извършват в аритметика с целочислени стойности с постоянна широчина\n" " без проверка за препълване. Делението на 0 се прихваща и се отбелязва\n" " грешка. Следващият списък с оператори е разделен на групи според\n" @@ -3605,86 +3940,105 @@ msgstr "" " =, *=, /=, %=, +=, -=, <<=, >>=, &=, ^=, |=\n" " присвояване\n" " \n" -" Разрешено е ползването на променливи на обвивката като операнди. Името на\n" +" Разрешено е ползването на променливи на обвивката като операнди. Името " +"на\n" " променлива се замества с нейната стойност (която се преобразува до цяло\n" -" число с постоянна широчина) в израза. Не е необходимо променливата да е с\n" +" число с постоянна широчина) в израза. Не е необходимо променливата да е " +"с\n" " атрибут за целочисленост, за да се използва в израз.\n" " \n" -" Операторите се изчисляват по приоритет. Подизразите в скоби се изчисляват\n" +" Операторите се изчисляват по приоритет. Подизразите в скоби се " +"изчисляват\n" " първи и могат да променят приоритета.\n" " \n" " Изходен код:\n" " Ако последният АРГУМЕНТ се изчислява като 0, „let“ връща 1. В противен\n" " случай — връща 0." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" " Reads a single line from the standard input, or from file descriptor FD\n" -" if the -u option is supplied. The line is split into fields as with word\n" +" if the -u option is supplied. The line is split into fields as with " +"word\n" " splitting, and the first word is assigned to the first NAME, the second\n" " word to the second NAME, and so on, with any leftover words assigned to\n" -" the last NAME. Only the characters found in $IFS are recognized as word\n" +" the last NAME. Only the characters found in $IFS are recognized as " +"word\n" " delimiters.\n" " \n" -" If no NAMEs are supplied, the line read is stored in the REPLY variable.\n" +" If no NAMEs are supplied, the line read is stored in the REPLY " +"variable.\n" " \n" " Options:\n" " -a array\tassign the words read to sequential indices of the array\n" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" -" -N nchars\treturn only after reading exactly NCHARS characters, unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" +" -N nchars\treturn only after reading exactly NCHARS characters, " +"unless\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" -" The return code is zero, unless end-of-file is encountered, read times out\n" -" (in which case it's greater than 128), a variable assignment error occurs,\n" +" The return code is zero, unless end-of-file is encountered, read times " +"out\n" +" (in which case it's greater than 128), a variable assignment error " +"occurs,\n" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" "Изчитане на ред от стандартния вход и разделянето му по полета.\n" "\n" -" От стандартния вход или от файловия дескриптор ФД, ако е използвана опцията\n" -" „-u“, се прочита един ред. Редът се разделя на полета — думи. Първата дума\n" +" От стандартния вход или от файловия дескриптор ФД, ако е използвана " +"опцията\n" +" „-u“, се прочита един ред. Редът се разделя на полета — думи. Първата " +"дума\n" " се присвоява на първото ИМЕ, втората дума на второто ИМЕ и т.н., а на\n" -" последното ИМЕ се присвояват оставащите думи. Като разделители на думи се\n" +" последното ИМЕ се присвояват оставащите думи. Като разделители на думи " +"се\n" " използват само знаците указани в променливата „IFS“.\n" "\n" -" Ако не са дадени ИМЕна, прочетеният ред се запазва в променливата „REPLY“.\n" +" Ако не са дадени ИМЕна, прочетеният ред се запазва в променливата " +"„REPLY“.\n" "\n" " Опции:\n" -" -a прочетените думи се присвояват последователно на елементите на МАСИВа,\n" +" -a прочетените думи се присвояват последователно на елементите на " +"МАСИВа,\n" " като индексът му започва от 0.\n" -" -d РАЗДелител\n" -" четенето продължава прочитането на първия знак, който присъства в\n" +" -d РАЗДЕЛИТЕЛ\n" +" четенето продължава до прочитането на първия знак, който присъства " +"в\n" " променливата „DELIM“, а не до минаването на нов ред.\n" " -e за четене на реда се използва readline, когато обвивката е\n" " интерактивна.\n" " -i ТЕКСТ\n" " за първоначален текст в readline се ползва ТЕКСТ\n" " -n БРОЙ_ЗНАЦИ\n" -" четенето завършва след прочитането на този БРОЙ_ЗНАЦИ, не се чака за\n" +" четенето завършва след прочитането на този БРОЙ_ЗНАЦИ, не се чака " +"за\n" " нов ред. Разделител в рамките на този БРОЙ_ЗНАЦИ се зачита.\n" " -N БРОЙ_ЗНАЦИ\n" -" четенето завършва с прочитането на точно този БРОЙ_ЗНАЦИ, освен ако\n" +" четенето завършва с прочитането на точно този БРОЙ_ЗНАЦИ, освен " +"ако\n" " не се появи EOF или времето за изчакване на въвеждане не изтече.\n" " Всички разделители се пренебрегват.\n" " -p ПОДСКАЗКА\n" @@ -3693,21 +4047,27 @@ msgstr "" " -r заместването на екранираните с „\\“ знаци се изключва.\n" " -s входът от терминал не се отпечатва на екрана.\n" " -t БРОЙ_СЕКУНДИ\n" -" задава интервал от този БРОЙ_СЕКУНДИ, в който трябва да се въведе цял\n" +" задава интервал от този БРОЙ_СЕКУНДИ, в който трябва да се въведе " +"цял\n" " ред. В противен случай read завършва с грешка. Ако е зададена,\n" -" стойността на променливата „TMOUT“ обозначава времето, за което трябва\n" -" да се въведе редът. За БРОЙ_СЕКУНДИ може да се ползва и нецяло число.\n" -" Ако БРОЙ_СЕКУНДИ e 0, read незабавно завършва работа, без да се опитва\n" -" да чете данни и връща код 0, само ако от указания файлов дескриптор\n" +" стойността на променливата „TMOUT“ обозначава времето, за което " +"трябва\n" +" да се въведе редът. За БРОЙ_СЕКУНДИ може да се ползва и нецяло " +"число.\n" +" Ако БРОЙ_СЕКУНДИ e 0, read незабавно завършва работа, без да се " +"опитва\n" +" да чете данни и връща код 0, само ако от указания файлов " +"дескриптор\n" " могат да се прочетат данни.\n" "\n" " Изходен код:\n" -" 0, освен ако не се срещне знак за край на файл EOF, изтече време повече от\n" +" 0, освен ако не се срещне знак за край на файл EOF, изтече време повече " +"от\n" " указаното в БРОЙ_СЕКУНДИ, при което кодът за изход е над 128, възникне\n" " грешка при задаване на стойност на променлива или е зададен неправилен\n" " файлов дескриптор като аргумент на -u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3721,14 +4081,17 @@ msgstr "" "Връщане от функция на обвивката.\n" "\n" " Кара изпълняваната функция или скрипт да завършат работа със зададения\n" -" изходен ЦИФРОВ_КОД. Ако не е зададен ЦИФРОВ_КОД се използва изходния код на\n" +" изходен ЦИФРОВ_КОД. Ако не е зададен ЦИФРОВ_КОД се използва изходния код " +"на\n" " последно изпълнената команда във функцията или скрипта.\n" "\n" " Изходен код:\n" -" Връща ЦИФРОВия_КОД или грешка, ако обвивката в момента не изпълнява функция\n" +" Връща ЦИФРОВия_КОД или грешка, ако обвивката в момента не изпълнява " +"функция\n" " или скрипт." -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3771,7 +4134,8 @@ msgid "" " physical same as -P\n" " pipefail the return value of a pipeline is the status of\n" " the last command to exit with a non-zero status,\n" -" or zero if no command exited with a non-zero status\n" +" or zero if no command exited with a non-zero " +"status\n" " posix change the behavior of bash where the default\n" " operation differs from the Posix standard to\n" " match the standard\n" @@ -3795,7 +4159,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3820,10 +4185,13 @@ msgstr "" " -a Отбелязване на променливите, които са създадени или променени, да\n" " бъдат изнесени.\n" " -b Незабавно известяване на спиране на задача.\n" -" -e Незабавен изход, ако команда приключи команда с код, който не е 0.\n" -" -f Изключване на генерирането на имена на файлове (чрез „*“, „?“ и т.н.).\n" +" -e Незабавен изход, ако команда приключи команда с код, който не е " +"0.\n" +" -f Изключване на генерирането на имена на файлове (чрез „*“, „?“ и т." +"н.).\n" " -h Запомняне на местоположението на команди при търсенето им.\n" -" -k Всички аргументи за присвояване се поместват в средата на команда, не\n" +" -k Всички аргументи за присвояване се поместват в средата на команда, " +"не\n" " само тези, които предхождат името на команда.\n" " -m Включване на управлението на задачи.\n" " -n Прочитане на команди, без да се изпълняват.\n" @@ -3838,7 +4206,8 @@ msgstr "" " hashall същото като „-h“\n" " histexpand същото като „-H“\n" " history включване на историята на командите\n" -" ignoreeof обвивката няма да излезе при откриване на знак за край\n" +" ignoreeof обвивката няма да излезе при откриване на знак за " +"край\n" " на файл „EOF“.\n" " interactive-comments\n" " позволяване на коментари в интерактивните команди\n" @@ -3852,48 +4221,65 @@ msgstr "" " nounset същото като „-u“\n" " onecmd същото като „-t“\n" " physical същото като „-P“\n" -" pipefail изходният код на програмния канал е този на последната\n" +" pipefail изходният код на програмния канал е този на " +"последната\n" " команда, която завършва с код различен от 0\n" -" posix промяна на поведението на „bash“ да отговаря по-добре\n" +" posix промяна на поведението на „bash“ да отговаря по-" +"добре\n" " на стандарта POSIX\n" " privileged същото като „-p“\n" " verbose същото като „-v“\n" -" vi използване на интерфейс за редактиране подобен на „vi“\n" +" vi използване на интерфейс за редактиране подобен на " +"„vi“\n" " xtrace същото като „-x“\n" -" -p Опцията e включена, когато реалният и ефективният идентификатори на\n" +" -p Опцията e включена, когато реалният и ефективният идентификатори " +"на\n" " процеси не съвпадат. Изключва обработката на файла посочен в\n" -" променливата „ENV“ и внасянето на функции на обвивката. Изключването\n" -" на тази опция води до това ефективните идентификатори за потребител и\n" +" променливата „ENV“ и внасянето на функции на обвивката. " +"Изключването\n" +" на тази опция води до това ефективните идентификатори за " +"потребител и\n" " група да станат равни на реалните.\n" " -t Изход след прочитането и изпълнението на една команда.\n" -" -u Незададените променливи да се третират като грешки при заместването.\n" +" -u Незададените променливи да се третират като грешки при " +"заместването.\n" " -v Отпечатване на входните редове към обвивката при прочитането им.\n" " -x Отпечатване на командите и аргументите им при изпълнението им.\n" " -B Обвивката ще извършва заместване на изразите с фигурни скоби.\n" -" -C Предотвратяване на презаписването на съществуващите обикновени файлове\n" +" -C Предотвратяване на презаписването на съществуващите обикновени " +"файлове\n" " чрез пренасочване на изхода.\n" " -E Прихващането за „ERR“ да се наследява от функциите на обвивката.\n" -" -H Включване на заместването чрез историята с „!“. Стандартно тази опция\n" +" -H Включване на заместването чрез историята с „!“. Стандартно тази " +"опция\n" " е налична само за интерактивните обвивки.\n" -" -P Да не се следват символните връзки при изпълнението на команди като\n" +" -P Да не се следват символните връзки при изпълнението на команди " +"като\n" " „cd“, които променят текущата директория.\n" -" -T Прихващането за „DEBUG“ да се наследява от функциите на обвивката.\n" -" -- Оставащите аргументи да се тълкуват като позиционни. Ако няма повече\n" +" -T Прихващането за „DEBUG“ да се наследява от функциите на " +"обвивката.\n" +" -- Оставащите аргументи да се тълкуват като позиционни. Ако няма " +"повече\n" " аргументи, се изтриват съответните позиционни.\n" -" - Оставащите аргументи да се тълкуват като позиционни. Опциите „-x“ и\n" +" - Оставащите аргументи да се тълкуват като позиционни. Опциите „-x“ " +"и\n" " „-v“ са изключени.\n" " \n" -" Използването на „+“ вместо „-“ изключва опциите. Тези опции могат да се\n" -" използват и при стартирането на обвивката. Текущото им състояние се намира\n" -" в променливата „-“ (получава се с „$-“). Останалите АРГументи са позиционни\n" -" и се присвояват съответно на променливите с имена „1“, „2“,… „n“ (получават\n" +" Използването на „+“ вместо „-“ изключва опциите. Тези опции могат да " +"се\n" +" използват и при стартирането на обвивката. Текущото им състояние се " +"намира\n" +" в променливата „-“ (получава се с „$-“). Останалите АРГументи са " +"позиционни\n" +" и се присвояват съответно на променливите с имена „1“, „2“,… " +"„n“ (получават\n" " се с „$1“, „$2“,… „${n}“). Ако не са зададени АРГументи, се извеждат\n" " всички променливи на средата.\n" "\n" " Изходен код:\n" " 0, освен ако не е зададена неправилна опция." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3903,9 +4289,10 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" -" Without options, unset first tries to unset a variable, and if that fails,\n" +" Without options, unset first tries to unset a variable, and if that " +"fails,\n" " tries to unset a function.\n" " \n" " Some variables cannot be unset; also see `readonly'.\n" @@ -3913,7 +4300,8 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -"Изтриване на стойностите и атрибутите на променливите и функциите на обвивката.\n" +"Изтриване на стойностите и атрибутите на променливите и функциите на " +"обвивката.\n" " \n" " За всяко ИМЕ изтрива съответната променлива или функция.\n" " \n" @@ -3933,12 +4321,13 @@ msgstr "" " 0, освен ако е зададена неправилна опция или някое от ИМЕната е само за\n" " четене." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" " Marks each NAME for automatic export to the environment of subsequently\n" -" executed commands. If VALUE is supplied, assign VALUE before exporting.\n" +" executed commands. If VALUE is supplied, assign VALUE before " +"exporting.\n" " \n" " Options:\n" " -f\trefer to shell functions\n" @@ -3953,7 +4342,8 @@ msgstr "" "Задаване на атрибута за изнасяне на променливите на обвивката.\n" " \n" " Обозначава всяко едно от ИМЕната за изнасяне в средата на изпълнение на\n" -" последващо изпълнените команди. Ако е дадена СТОЙНОСТ, тя се присвоява на\n" +" последващо изпълнените команди. Ако е дадена СТОЙНОСТ, тя се присвоява " +"на\n" " ИМЕто преди изнасянето.\n" " \n" " Опции:\n" @@ -3965,9 +4355,10 @@ msgstr "" " Аргументът „--“ прекъсва по нататъшната обработка на опции.\n" " \n" " Изходен код:\n" -" 0, освен ако е зададена неправилна опция или някое от ИМЕната е неправилно." +" 0, освен ако е зададена неправилна опция или някое от ИМЕната е " +"неправилно." -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3979,8 +4370,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3989,23 +4380,27 @@ msgid "" msgstr "" "Задаване на променливи на обвивката като непроменливи константи.\n" " \n" -" Отбелязване на всяко от ИМЕната само за четене. Тяхната стойност не може да\n" -" бъде променяна чрез последващо присвояване. Ако е дадена СТОЙНОСТ, тя се\n" +" Отбелязване на всяко от ИМЕната само за четене. Тяхната стойност не " +"може да\n" +" бъде променяна чрез последващо присвояване. Ако е дадена СТОЙНОСТ, тя " +"се\n" " задава на името преди задаването му като константно.\n" " \n" " Опции:\n" " -a ИМЕната са на променливи-масиви\n" " -A ИМЕната са на променливи-асоциативни масиви\n" " -f ИМЕната са на функции на обвивката\n" -" -p Извеждане на имената на всички константни променливи или функции, в\n" +" -p Извеждане на имената на всички константни променливи или " +"функции, в\n" " зависимост дали е зададена опцията „-f“\n" " \n" " Аргументът „--“ прекъсва по нататъшната обработка на опции.\n" " \n" " Изходен код:\n" -" 0, освен ако е зададена неправилна опция или някое от ИМЕната е неправилно." +" 0, освен ако е зададена неправилна опция или някое от ИМЕната е " +"неправилно." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4017,14 +4412,15 @@ msgid "" msgstr "" "Изместване на позиционните параметри.\n" "\n" -" Преименуване на позиционните параметри „БРОЙ+1“, „БРОЙ+2“… на 1, 2…. Така\n" +" Преименуване на позиционните параметри „БРОЙ+1“, „БРОЙ+2“… на 1, 2…. " +"Така\n" " те стават достъпни не като ${БРОЙ+1}…, като „$1“…. Ако не е зададена\n" " стойност БРОЙ, се използва 1.\n" "\n" " Изходен код:\n" " 0, освен ако БРОят е отрицателно или по-голямо от стойността „$#“." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4039,16 +4435,19 @@ msgid "" msgstr "" "Изпълняване на команди от файл в текущата обвивка\n" "\n" -" Изчитане и изпълнение на командите от ФАЙЛа и изход. Директориите описани в\n" -" променливата „PATH“ се използват за изпълнението на командите от ФАЙЛа. Ако\n" +" Изчитане и изпълнение на командите от ФАЙЛа и изход. Директориите " +"описани в\n" +" променливата „PATH“ се използват за изпълнението на командите от ФАЙЛа. " +"Ако\n" " са зададени АРГУМЕНТИ, те се превръщат в позиционни аргументи при\n" " изпълнението на ФАЙЛа.\n" "\n" " Изходен код:\n" -" Връща състоянието на последно изпълнената команда във ФАЙЛа. Ако той не\n" +" Връща състоянието на последно изпълнената команда във ФАЙЛа. Ако той " +"не\n" " може да бъде открит, изходът е грешка." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4064,7 +4463,8 @@ msgstr "" "Временно спиране на изпълнението на обвивката.\n" " \n" " Спиране на работата на тази обвивка докато обвивката не получи сигнал\n" -" SIGCONT. Освен ако изрично не се зададе опция, входните обвивки не могат да\n" +" SIGCONT. Освен ако изрично не се зададе опция, входните обвивки не " +"могат да\n" " бъдат спрени по този начин.\n" " \n" " Опции:\n" @@ -4073,7 +4473,7 @@ msgstr "" " Изходен код:\n" " 0, освен ако не възникне грешка или управлението на задачи е изключено." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4107,7 +4507,8 @@ msgid "" " -x FILE True if the file is executable by you.\n" " -O FILE True if the file is effectively owned by you.\n" " -G FILE True if the file is effectively owned by your group.\n" -" -N FILE True if the file has been modified since it was last read.\n" +" -N FILE True if the file has been modified since it was last " +"read.\n" " \n" " FILE1 -nt FILE2 True if file1 is newer than file2 (according to\n" " modification date).\n" @@ -4128,15 +4529,17 @@ msgid "" " STRING1 != STRING2\n" " True if the strings are not equal.\n" " STRING1 < STRING2\n" -" True if STRING1 sorts before STRING2 lexicographically.\n" +" True if STRING1 sorts before STRING2 " +"lexicographically.\n" " STRING1 > STRING2\n" " True if STRING1 sorts after STRING2 lexicographically.\n" " \n" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4154,9 +4557,12 @@ msgid "" msgstr "" "Изчисляване на условен израз.\n" "\n" -" Изход с код 0 (истина) или 1 (лъжа) в зависимост от стойността на ИЗРАЗа.\n" -" Изразите могат да бъдат унарни или бинарни. Унарните най-често се използват\n" -" за проверка на състоянието на файл. Освен тях има и оператори за числови\n" +" Изход с код 0 (истина) или 1 (лъжа) в зависимост от стойността на " +"ИЗРАЗа.\n" +" Изразите могат да бъдат унарни или бинарни. Унарните най-често се " +"използват\n" +" за проверка на състоянието на файл. Освен тях има и оператори за " +"числови\n" " сравнения и низови оператори.\n" " \n" " Поведението на тестовете зависи от броя на аргументите. За цялостно\n" @@ -4180,14 +4586,18 @@ msgstr "" " -s ФАЙЛ Истина, ако ФАЙЛът може да бъде записван от вас.\n" " -S ФАЙЛ Истина, ако ФАЙЛът е програмно гнездо.\n" " -t ФДСК Истина, ако Файловият_ДеСКриптор е отворен на терминал.\n" -" -u ФАЙЛ Истина, ако ФАЙЛът е със зададен бит за смяна на потребител\n" +" -u ФАЙЛ Истина, ако ФАЙЛът е със зададен бит за смяна на " +"потребител\n" " при изпълнение.\n" " -w ФАЙЛ Истина, ако ФАЙЛът може да бъде записван от вас.\n" " -x ФАЙЛ Истина, ако ФАЙЛът може да бъде изпълняван от вас.\n" -" -O ФАЙЛ Истина, ако ФАЙЛът може да бъде ефективно притежаван от вас.\n" -" -G ФАЙЛ Истина, ако ФАЙЛът може да бъде ефективно притежаван от вашата\n" +" -O ФАЙЛ Истина, ако ФАЙЛът може да бъде ефективно притежаван от " +"вас.\n" +" -G ФАЙЛ Истина, ако ФАЙЛът може да бъде ефективно притежаван от " +"вашата\n" " група.\n" -" -N ФАЙЛ Истина, ако ФАЙЛът е бил променян от последното му прочитане.\n" +" -N ФАЙЛ Истина, ако ФАЙЛът е бил променян от последното му " +"прочитане.\n" " \n" " ФАЙЛ_1 -nt ФАЙЛ_2 Истина, ако ФАЙЛ_1 е по-нов от ФАЙЛ_2 (според\n" " датата на промяна).\n" @@ -4209,19 +4619,23 @@ msgstr "" " Други оператори:\n" " \n" " -o ОПЦИЯ Истина, ако ОПЦИЯта на обвивката е зададена.\n" -" -v ПРОМЕНЛИВА Истина, ако ПРОМЕНЛИВАта на обвивката е зададена.\n" -" -R ПРОМЕНЛИВА Истина, ако ПРОМЕНЛИВАта е зададена като променлива-\n" +" -v ПРОМЕНЛИВА Истина, ако ПРОМЕНЛИВАта на обвивката е " +"зададена.\n" +" -R ПРОМЕНЛИВА Истина, ако ПРОМЕНЛИВАта е зададена като " +"променлива-\n" " указател.\n" " ! ИЗРАЗ Истина, ако ИЗРАЗът е лъжа.\n" " ИЗРАЗ_1 -a ИЗРАЗ_2 Истина, ако и двата ИЗРАЗа са истина.\n" " ИЗРАЗ_1 -o ИЗРАЗ_2 Истина, ако поне един от ИЗРАЗите е истина.\n" " АРГ_1 ОПЕР АРГ_2 Аритметични тестове. Те връщат истина, ако се\n" " изпълнява математическото условие на ОПЕРатора,\n" -" който е един от следните (значението е в скоби):\n" +" който е един от следните (значението е в " +"скоби):\n" " „-eq“ (=), „-ne“ (!=), „-lt“ (<), „-le“ (<=),\n" " „-gt“ (>) , „-ge“ (>=).\n" " \n" -" Аритметичните изрази завършват истинно, ако АРГумент_1 е съответно равен,\n" +" Аритметичните изрази завършват истинно, ако АРГумент_1 е съответно " +"равен,\n" " неравен, по-малък, по-малък или равен, по-голям, по-голям или равен на\n" " АРГумент_2.\n" " \n" @@ -4229,7 +4643,7 @@ msgstr "" " 0, ако ИЗРАЗът е верен. Грешка, когато ИЗРАЗът е неверен или е даден\n" " неправилен аргумент." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4238,15 +4652,18 @@ msgid "" msgstr "" "Изчисляване на условен израз.\n" "\n" -" Това е синоним на вградената команда „test“, но последният аргумент трябва\n" -" задължително да е знакът „]“, който да съответства на отварящата квадратна\n" +" Това е синоним на вградената команда „test“, но последният аргумент " +"трябва\n" +" задължително да е знакът „]“, който да съответства на отварящата " +"квадратна\n" " скоба „[“." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" -" Prints the accumulated user and system times for the shell and all of its\n" +" Prints the accumulated user and system times for the shell and all of " +"its\n" " child processes.\n" " \n" " Exit Status:\n" @@ -4254,17 +4671,19 @@ msgid "" msgstr "" "Извеждане на времето на работа на процесите.\n" " \n" -" Отпечатва общото потребителско и системно време на работа на обвивката и\n" +" Отпечатва общото потребителско и системно време на работа на обвивката " +"и\n" " всичките ѝ дъщерни процеси.\n" " \n" " Изходен код:\n" " Винаги 0." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" -" Defines and activates handlers to be run when the shell receives signals\n" +" Defines and activates handlers to be run when the shell receives " +"signals\n" " or other conditions.\n" " \n" " ARG is a command to be read and executed when the shell receives the\n" @@ -4273,43 +4692,57 @@ msgid "" " value. If ARG is the null string each SIGNAL_SPEC is ignored by the\n" " shell and by the commands it invokes.\n" " \n" -" If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from the shell. If\n" -" a SIGNAL_SPEC is DEBUG, ARG is executed before every simple command. If\n" -" a SIGNAL_SPEC is RETURN, ARG is executed each time a shell function or a\n" -" script run by the . or source builtins finishes executing. A SIGNAL_SPEC\n" -" of ERR means to execute ARG each time a command's failure would cause the\n" +" If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from the shell. " +"If\n" +" a SIGNAL_SPEC is DEBUG, ARG is executed before every simple command. " +"If\n" +" a SIGNAL_SPEC is RETURN, ARG is executed each time a shell function or " +"a\n" +" script run by the . or source builtins finishes executing. A " +"SIGNAL_SPEC\n" +" of ERR means to execute ARG each time a command's failure would cause " +"the\n" " shell to exit when the -e option is enabled.\n" " \n" -" If no arguments are supplied, trap prints the list of commands associated\n" +" If no arguments are supplied, trap prints the list of commands " +"associated\n" " with each signal.\n" " \n" " Options:\n" " -l\tprint a list of signal names and their corresponding numbers\n" " -p\tdisplay the trap commands associated with each SIGNAL_SPEC\n" " \n" -" Each SIGNAL_SPEC is either a signal name in or a signal number.\n" +" Each SIGNAL_SPEC is either a signal name in or a signal " +"number.\n" " Signal names are case insensitive and the SIG prefix is optional. A\n" " signal may be sent to the shell with \"kill -signal $$\".\n" " \n" " Exit Status:\n" -" Returns success unless a SIGSPEC is invalid or an invalid option is given." +" Returns success unless a SIGSPEC is invalid or an invalid option is " +"given." msgstr "" "Прихващане на сигналите и другите събития.\n" "\n" -" Дефинира и задейства функции за обработка, когато обвивката получи сигнал\n" +" Дефинира и задейства функции за обработка, когато обвивката получи " +"сигнал\n" " или възникне друго събитие.\n" "\n" -" Командата АРГУМЕНТ ще бъде прочетена и изпълнена, когато обвивката получи\n" +" Командата АРГУМЕНТ ще бъде прочетена и изпълнена, когато обвивката " +"получи\n" " УКАЗАНия_СИГНАЛ(и). Ако АРГУМЕНТът липсва (и се подава единичен\n" -" УКАЗАН_СИГНАЛ) или е „-“, то всеки УКАЗАН_СИГНАЛ се връща към първоначалната\n" +" УКАЗАН_СИГНАЛ) или е „-“, то всеки УКАЗАН_СИГНАЛ се връща към " +"първоначалната\n" " си стойност. Ако АРГУМЕНТът е нулевият низ, всеки УКАЗАН_СИГНАЛ се\n" " пренебрегва от обвивката и командите, които се стартират през нея.\n" "\n" -" Ако УКАЗАНият_СИГНАЛ е „EXIT (0)“, то командата АРГУМЕНТ се изпълнява от\n" +" Ако УКАЗАНият_СИГНАЛ е „EXIT (0)“, то командата АРГУМЕНТ се изпълнява " +"от\n" " обвивката при изход. Ако УКАЗАНият_СИГНАЛ е „DEBUG“, АРГУМЕНТът се\n" " изпълнява след всяка проста команда. Ако УКАЗАНият_СИГНАЛ е „RETURN“,\n" -" АРГУМЕНТът се изпълнява след всяко изпълнение на функция както и изпълнение\n" -" на скрипт чрез вградените команди „.“ и „source“. Ако УКАЗАНият_СИГНАЛ е\n" +" АРГУМЕНТът се изпълнява след всяко изпълнение на функция както и " +"изпълнение\n" +" на скрипт чрез вградените команди „.“ и „source“. Ако УКАЗАНият_СИГНАЛ " +"е\n" " „ERR“, АРГУМЕНТът се изпълнява след всяка грешка, която би предизвикала\n" " изход от обвивката при стартирането ѝ с опцията „-e“.\n" "\n" @@ -4317,19 +4750,23 @@ msgstr "" " прихващания.\n" " \n" " Опции:\n" -" -l отпечатва списъка с имената на сигналите и съответстващите им номера.\n" +" -l отпечатва списъка с имената на сигналите и съответстващите им " +"номера.\n" " -p извеждат се командите свързани с всеки УКАЗАН_СИГНАЛ.\n" "\n" -" Всеки УКАЗАН_СИГНАЛ е или име на сигнал от файла „signal.h“ или номер на\n" +" Всеки УКАЗАН_СИГНАЛ е или име на сигнал от файла „signal.h“ или номер " +"на\n" " сигнал.\n" -" Няма разлика между главни и малки букви в имената на сигнали, а представката\n" +" Няма разлика между главни и малки букви в имената на сигнали, а " +"представката\n" " „SIG“ не е задължителна.\n" -" Сигнал може да бъде изпратен на обвивката с командата „kill -signal $$“.\n" +" Сигнал може да бъде изпратен на обвивката с командата „kill -signal $" +"$“.\n" "\n" " Изходен код:\n" " 0, освен ако е зададен неправилен сигнал или опция." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4338,24 +4775,25 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" " \n" " Exit Status:\n" -" Returns success if all of the NAMEs are found; fails if any are not found." +" Returns success if all of the NAMEs are found; fails if any are not " +"found." msgstr "" "Извеждане на информация за вида на командата подадена като аргумент.\n" " \n" @@ -4363,31 +4801,38 @@ msgstr "" " команда.\n" " \n" " Опции:\n" -" -a Извеждане на всички местоположения, които съдържат изпълним файл с\n" +" -a Извеждане на всички местоположения, които съдържат изпълним файл " +"с\n" " това ИМЕ. Включва синонимите, вградените команди и функции на\n" " обвивката, само когато не е използвана опцията „-p“\n" " -f Без търсене във функциите дефинирани в обвивката\n" -" -P Търсене в пътя за изпълнение указан в PATH, дори и ако съществува\n" -" синоним, вградена команда или функция дефинирана в обвивката с това\n" +" -P Търсене в пътя за изпълнение указан в PATH, дори и ако " +"съществува\n" +" синоним, вградена команда или функция дефинирана в обвивката с " +"това\n" " ИМЕ\n" " -p Връща или името на файла, който ще бъде изпълнен или нищо в\n" " случаите, когато командата „type -t ИМЕ“ не би върнала „file“\n" " -t Извеждане на една от думите „alias“ (синоним), „keyword“\n" -" (резервирана лексема в обвивката), „function“ (функция дефинирана в\n" -" обвивката), „builtin“ (вградена команда), „file“ (изпълним файл) или\n" +" (резервирана лексема в обвивката), „function“ (функция " +"дефинирана в\n" +" обвивката), „builtin“ (вградена команда), „file“ (изпълним файл) " +"или\n" " „“, ако ИМЕто не е открито\n" " \n" " Аргументи:\n" " ИМЕ Името, за което да се изведе информация.\n" " \n" " Изходен код:\n" -" 0, ако всички подадени ИМЕна са открити, неуспех, ако някое от тях липсва." +" 0, ако всички подадени ИМЕна са открити, неуспех, ако някое от тях " +"липсва." -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" -" Provides control over the resources available to the shell and processes\n" +" Provides control over the resources available to the shell and " +"processes\n" " it creates, on systems that allow such control.\n" " \n" " Options:\n" @@ -4400,6 +4845,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4411,7 +4857,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4431,7 +4878,8 @@ msgstr "" "Промяна на ресурсите на обвивката.\n" "\n" " Командата осъществява контрол върху ресурсите, които са достъпни на\n" -" процесите стартирани през обвивката върху системите, които поддържат такова\n" +" процесите стартирани през обвивката върху системите, които поддържат " +"такова\n" " управление.\n" "\n" " Опции:\n" @@ -4443,7 +4891,8 @@ msgstr "" " паметта (core)\n" " -d максималният размер на сегмента на процес за данни\n" " -e максималният приоритет (nice)\n" -" -f максималният размер на файловете създадени от обвивката и дъщерните\n" +" -f максималният размер на файловете създадени от обвивката и " +"дъщерните\n" " ѝ процеси\n" " -i максималният брой на изчакващите сигнали\n" " -l максималният размер памет, която процес може да заключи\n" @@ -4457,14 +4906,18 @@ msgstr "" " -u максималният брой потребителски процеси\n" " -v размерът на виртуалната памет\n" " -x максималният брой заключвания на файлове\n" -" -x максималният брой нишки\n" +" -P максималният брой псевдотерминали\n" +" -T максималният брой нишки\n" " \n" " Не всички ограничения са налични на всички платформи.\n" "\n" -" Ако е зададено ОГРАНИЧЕНИЕ, то това е новата стойност на указания ресурс.\n" -" Специалните стойности „soft“, „hard“ и „unlimited“ означават текущите меко,\n" +" Ако е зададено ОГРАНИЧЕНИЕ, то това е новата стойност на указания " +"ресурс.\n" +" Специалните стойности „soft“, „hard“ и „unlimited“ означават текущите " +"меко,\n" " твърдо и никакво ограничение съответно. В противен случай се извежда\n" -" текущата стойност на указания ресурс. Ако не е зададена опция, се приема,\n" +" текущата стойност на указания ресурс. Ако не е зададена опция, се " +"приема,\n" " че е зададена „-f“.\n" "\n" " Стойностите са в блокове от по 1024 байта, с изключение на:\n" @@ -4475,7 +4928,7 @@ msgstr "" " Изходен код:\n" " 0, освен ако не възникни грешка или е дадена неправилна опция." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4497,25 +4950,30 @@ msgstr "" " Задава МАСКАта за правата за достъп до новосъздадени файлове. Ако не е\n" " зададена МАСКА, се извежда текущата ѝ стойност.\n" " \n" -" Ако МАСКАта започва с цифра, тя се тълкува като осмично число. В противен\n" +" Ако МАСКАта започва с цифра, тя се тълкува като осмично число. В " +"противен\n" " случай трябва да е низ, който би бил приет от командата chmod(1).\n" " \n" " Опции:\n" -" -p ако не е зададена МАСКА, изведеният низ може да бъде ползван за вход\n" -" -S изведената маска да е във вид на НИЗ. Без опцията изходът е осмично\n" +" -p ако не е зададена МАСКА, изведеният низ може да бъде ползван за " +"вход\n" +" -S изведената маска да е във вид на НИЗ. Без опцията изходът е " +"осмично\n" " число\n" " \n" " Изходен код:\n" " 0, освен ако МАСКАта или някоя от зададените опции са неправилни." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" -" Waits for each process identified by an ID, which may be a process ID or a\n" +" Waits for each process identified by an ID, which may be a process ID or " +"a\n" " job specification, and reports its termination status. If ID is not\n" " given, waits for all currently active child processes, and the return\n" -" status is zero. If ID is a a job specification, waits for all processes\n" +" status is zero. If ID is a a job specification, waits for all " +"processes\n" " in that job's pipeline.\n" " \n" " If the -n option is supplied, waits for the next job to terminate and\n" @@ -4528,42 +4986,49 @@ msgstr "" "Изчакване на завършването задача и връщане на изходния код.\n" " \n" " Изчакване на всички указани ИДентификатори, които могат да са номера на\n" -" процеси или указатели на задачи, и докладване на изходния код. Ако не е\n" +" процеси или указатели на задачи, и докладване на изходния код. Ако не " +"е\n" " зададен ИДентификатор, се изчакват всички активни дъщерни процеси, а\n" -" изходният код е 0. Ако ИДентификаторът е указател на задача, се изчакват\n" +" изходният код е 0. Ако ИДентификаторът е указател на задача, се " +"изчакват\n" " всички процеси в конвейера на задачата.\n" "\n" -" Ако е зададена опцията „-n“ се изчаква края на работата на следващата задача\n" +" Ако е зададена опцията „-n“ се изчаква края на работата на следващата " +"задача\n" " и се връща нейния код.\n" " \n" " Изходен код:\n" " Връща изходния код на последната задача или процес. Ако е зададена\n" " неправилна опция, връща грешка." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" -" Waits for each process specified by a PID and reports its termination status.\n" +" Waits for each process specified by a PID and reports its termination " +"status.\n" " If PID is not given, waits for all currently active child processes,\n" " and the return status is zero. PID must be a process ID.\n" " \n" " Exit Status:\n" -" Returns the status of the last PID; fails if PID is invalid or an invalid\n" +" Returns the status of the last PID; fails if PID is invalid or an " +"invalid\n" " option is given." msgstr "" "Изчакване на указания процес и докладване за изходния код.\n" "\n" -" Изчакване на всички указани процеси и докладване за изходния код. Ако не е\n" +" Изчакване на всички указани процеси и докладване за изходния код. Ако " +"не е\n" " зададен ИДентификатор_ПРоцeс, всички текущо активни дъщерни процеси се\n" -" изчакват и изходният код е 0. ИДентификатор_ПРоцeс трябва да съответства на\n" +" изчакват и изходният код е 0. ИДентификатор_ПРоцeс трябва да " +"съответства на\n" " някой процес.\n" "\n" " Изходен код:\n" " Изходния код на процеса с последния идентификатор. Грешка, ако е даден\n" " неправилен идентификатор или е дадена неправилна опция." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4577,15 +5042,18 @@ msgid "" msgstr "" "Изпълнение на команда за всеки член в списък от елементи\n" "\n" -" Цикълът „for“ изпълнява последователност от команди за всеки член в списък\n" -" от елементи. Ако блокът „в ДУМИ…“ не присъства, използва се „in \"$@\"“.\n" -" За всеки елемент в ДУМИте, ИМЕто се задава да е елементът и се изпълняват\n" +" Цикълът „for“ изпълнява последователност от команди за всеки член в " +"списък\n" +" от елементи. Ако блокът „в ДУМИ…“ не присъства, използва се „in \"$@" +"\"“.\n" +" За всеки елемент в ДУМИте, ИМЕто се задава да е елементът и се " +"изпълняват\n" " КОМАНДИте.\n" "\n" " Изходен код:\n" " Връща изходния код на последно изпълнената команда." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4608,13 +5076,14 @@ msgstr "" " КОМАНДИ\n" " (( EXP_3 ))\n" " done\n" -" ИЗРАЗ_1, ИЗРАЗ_2, и ИЗРАЗ_3 са аритметични изрази. Всеки изпуснат израз се\n" +" ИЗРАЗ_1, ИЗРАЗ_2, и ИЗРАЗ_3 са аритметични изрази. Всеки изпуснат израз " +"се\n" " изчислява да е 1.\n" "\n" " Изходен код:\n" " Връща изходния код на последно изпълнената команда." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4637,12 +5106,18 @@ msgstr "" "\n" " ДУМИте биват замествани, което води до създаването на списък с думи.\n" " Наборът от заместените думи бива отпечатан на изхода за стандартната\n" -" грешка, като всяка от тях се предшества от номер. Ако клаузата „in ДУМИ“\n" -" липсва, използва се „in \"$@\"“. В такива случаи се отпечатва подсказката\n" -" „PS3“ и от стандартния вход се прочита ред. Ако редът се състои от номера,\n" -" който съответства на някоя от изведените думи, ИМЕто се задава да е тази\n" -" дума. Ако редът е празен, отново се отпечатват ДУМИте и подсказката. Ако\n" -" се прочете „EOF“, командата завършва. Всяка друга стойност присвоява „null“\n" +" грешка, като всяка от тях се предшества от номер. Ако клаузата „in " +"ДУМИ“\n" +" липсва, използва се „in \"$@\"“. В такива случаи се отпечатва " +"подсказката\n" +" „PS3“ и от стандартния вход се прочита ред. Ако редът се състои от " +"номера,\n" +" който съответства на някоя от изведените думи, ИМЕто се задава да е " +"тази\n" +" дума. Ако редът е празен, отново се отпечатват ДУМИте и подсказката. " +"Ако\n" +" се прочете „EOF“, командата завършва. Всяка друга стойност присвоява " +"„null“\n" " на ИМЕ. Прочетеният ред се запазва в променливата REPLY. КОМАНДИте се\n" " изпълняват след всеки избор до изпълняването на команда за прекъсване\n" " (break).\n" @@ -4650,7 +5125,7 @@ msgstr "" " Изходен код:\n" " Връща изходния код на последно изпълнената команда." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4680,7 +5155,7 @@ msgstr "" " Изходен код:\n" " Изходният код е този на ПРОГРАМНия_КАНАЛ." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4692,22 +5167,28 @@ msgid "" msgstr "" "Изпълнение на команди на базата на напасване по шаблон.\n" "\n" -" Избирателно се изпълняват КОМАНДИ на база ДУМА, която напасва на ШАБЛОН.\n" +" Избирателно се изпълняват КОМАНДИ на база ДУМА, която напасва на " +"ШАБЛОН.\n" " Шаблоните се разделят със знака „|“.\n" "\n" " Изходен код:\n" " Изходният код е този на последно изпълнената команда." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" -" The `if COMMANDS' list is executed. If its exit status is zero, then the\n" -" `then COMMANDS' list is executed. Otherwise, each `elif COMMANDS' list is\n" +" The `if COMMANDS' list is executed. If its exit status is zero, then " +"the\n" +" `then COMMANDS' list is executed. Otherwise, each `elif COMMANDS' list " +"is\n" " executed in turn, and if its exit status is zero, the corresponding\n" -" `then COMMANDS' list is executed and the if command completes. Otherwise,\n" -" the `else COMMANDS' list is executed, if present. The exit status of the\n" -" entire construct is the exit status of the last command executed, or zero\n" +" `then COMMANDS' list is executed and the if command completes. " +"Otherwise,\n" +" the `else COMMANDS' list is executed, if present. The exit status of " +"the\n" +" entire construct is the exit status of the last command executed, or " +"zero\n" " if no condition tested true.\n" " \n" " Exit Status:\n" @@ -4715,20 +5196,26 @@ msgid "" msgstr "" "Изпълнение на команда на базата на условие.\n" "\n" -" Първо се изпълняват командите в блока „if КОМАНДИ“. Ако изходният код е 0,\n" -" то се изпълнява блокът „then КОМАНДИ“. В противен случай последователно се\n" -" изпълнява всеки блок „elif КОМАНДИ“ — ако изходният код е 0, то се изпълнява\n" -" съответния блок „then КОМАНДИ“, след което завършва изпълнението на целия\n" +" Първо се изпълняват командите в блока „if КОМАНДИ“. Ако изходният код е " +"0,\n" +" то се изпълнява блокът „then КОМАНДИ“. В противен случай последователно " +"се\n" +" изпълнява всеки блок „elif КОМАНДИ“ — ако изходният код е 0, то се " +"изпълнява\n" +" съответния блок „then КОМАНДИ“, след което завършва изпълнението на " +"целия\n" " блок „if“.\n" " Ако изходният код на никой от блоковете „if“ и „elif“ не е бил 0,\n" -" изпълнява се блока „else КОМАНДИ“, стига такъв да присъства. Изходният код\n" -" от цялата конструкция е този на последната изпълнена команда или е 0, ако\n" +" изпълнява се блока „else КОМАНДИ“, стига такъв да присъства. Изходният " +"код\n" +" от цялата конструкция е този на последната изпълнена команда или е 0, " +"ако\n" " никое тестово условие, не се е оценило като истина.<\n" "\n" " Изходен код:\n" " Изходният код е този на последно изпълнената команда." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4746,7 +5233,7 @@ msgstr "" " Изходен код:\n" " Изходният код е този на последно изпълнената команда." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4764,7 +5251,8 @@ msgstr "" " Изходен код:\n" " Изходният код е този на последно изпълнената команда." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4774,24 +5262,27 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Създаване на копроцес с даденото ИМЕ.\n" " \n" " Асинхронно изпълнение на КОМАНДАта, като стандартните вход и изход се\n" -" пренасочват от и към файловите дескриптори, които трябва да са с индекси\n" -" съответно 0 и 1 в променливата-масив ИМЕ в изпълняваната обвивка. Ако не е\n" +" пренасочват от и към файловите дескриптори, които трябва да са с " +"индекси\n" +" съответно 0 и 1 в променливата-масив ИМЕ в изпълняваната обвивка. Ако " +"не е\n" " дадено ИМЕ на променлива, стандартно се ползва „COPROC“.\n" " \n" " Изходен код:\n" " Изходния код на КОМАНДАта." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" " Create a shell function named NAME. When invoked as a simple command,\n" -" NAME runs COMMANDs in the calling shell's context. When NAME is invoked,\n" +" NAME runs COMMANDs in the calling shell's context. When NAME is " +"invoked,\n" " the arguments are passed to the function as $1...$n, and the function's\n" " name is in $FUNCNAME.\n" " \n" @@ -4800,15 +5291,18 @@ msgid "" msgstr "" "Дефиниране на функция на обвивката.\n" " \n" -" Създаване на функция на обвивката със зададеното ИМЕ. Когато се извика като\n" +" Създаване на функция на обвивката със зададеното ИМЕ. Когато се извика " +"като\n" " обикновена команда, КОМАНДИте се изпълняват в контекста на извикващата\n" -" обвивка. При извикването на ИМЕто, аргументите подадени на функцията са\n" -" достъпни като $1,… , $9, а името на функцията е достъпно като $FUNCNAME.\n" +" обвивка. При извикването на ИМЕто, аргументите подадени на функцията " +"са\n" +" достъпни като $1,… , $9, а името на функцията е достъпно като " +"$FUNCNAME.\n" " \n" " Изходен код:\n" " 0, освен ако ИМЕто не е само за четене." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4820,13 +5314,14 @@ msgid "" msgstr "" "Изпълнение на група от команди.\n" "\n" -" Изпълняване на цял набор от команди в група. Това е един от начините да се\n" +" Изпълняване на цял набор от команди в група. Това е един от начините да " +"се\n" " пренасочи цял набор от команди.\n" "\n" " Изходен код:\n" " Изходният код е този на последно изпълнената команда." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4850,7 +5345,7 @@ msgstr "" " Изходен код:\n" " Изходният код е този възобновената задача." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4868,13 +5363,16 @@ msgstr "" " Изходен код:\n" " 1, ако резултатът на ИЗРАЗа е 0. В противен случай — 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" -" Returns a status of 0 or 1 depending on the evaluation of the conditional\n" -" expression EXPRESSION. Expressions are composed of the same primaries used\n" -" by the `test' builtin, and may be combined using the following operators:\n" +" Returns a status of 0 or 1 depending on the evaluation of the " +"conditional\n" +" expression EXPRESSION. Expressions are composed of the same primaries " +"used\n" +" by the `test' builtin, and may be combined using the following " +"operators:\n" " \n" " ( EXPRESSION )\tReturns the value of EXPRESSION\n" " ! EXPRESSION\t\tTrue if EXPRESSION is false; else false\n" @@ -4895,11 +5393,13 @@ msgstr "" "Изпълнение на команда-условие\n" "\n" " Връща състояние 0 или 1 в зависимост от оценката на условния ИЗРАЗ.\n" -" Изразите са съставени от същите примитиви, както вградената команда „test“\n" +" Изразите са съставени от същите примитиви, както вградената команда " +"„test“\n" " и могат да се съчетават чрез следните оператори:\n" " \n" " ( ИЗРАЗ ) Връща стойността на ИЗРАЗа\n" -" ! ИЗРАЗ Истина, ако ИЗРАЗ се оценя на лъжа, в останалите случаи е лъжа\n" +" ! ИЗРАЗ Истина, ако ИЗРАЗ се оценя на лъжа, в останалите случаи е " +"лъжа\n" " ИЗРАЗ_1 && ИЗРАЗ_2\n" " Истина, ако едновременно ИЗРАЗ_1 и ИЗРАЗ_2 са истина, в\n" " останалите случаи е лъжа.\n" @@ -4908,7 +5408,8 @@ msgstr "" " останалите случаи е лъжа.\n" " \n" " Когато се използват операторите „==“ и „!=“, низът от дясната страна на\n" -" оператора се използва като шаблон и се извършва напасване. Когато се ползва\n" +" оператора се използва като шаблон и се извършва напасване. Когато се " +"ползва\n" " операторът „=~“, изразът от дясната му страна се тълкува като регулярен\n" " израз.\n" "\n" @@ -4918,7 +5419,7 @@ msgstr "" " Изходен код:\n" " 0 или едно според стойността на ИЗРАЗа." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -4976,22 +5477,30 @@ msgstr "" " BASH_VERSION Информация за версията на bash\n" " CDPATH Списък с директории разделени с двоеточие, които да се\n" " търсят като аргументи за командата „cd“\n" -" GLOBIGNORE Списък с шаблони на файлови имена, разделени с двоеточие,\n" +" GLOBIGNORE Списък с шаблони на файлови имена, разделени с " +"двоеточие,\n" " които да се игнорират от заместването на пътя\n" -" HISTFILE Името на файла, в който се съхранява историята на командите\n" -" HISTFILESIZE Максималният брой редове, които горният файл може да съдържа\n" -" HISTSIZE Максималният брой редове, които една работеща обвивка може\n" +" HISTFILE Името на файла, в който се съхранява историята на " +"командите\n" +" HISTFILESIZE Максималният брой редове, които горният файл може да " +"съдържа\n" +" HISTSIZE Максималният брой редове, които една работеща обвивка " +"може\n" " да достъпи\n" " HOME Пълният път до домашната ви директория\n" " HOSTNAME Името на текущата машина\n" " HOSTTYPE Видът на процесора, под който работи текущата обвивка\n" -" IGNOREEOF Управлява действието на обвивката при срещането на единичен\n" -" знак за край на файл „EOF“. Ако променливата е зададена, тя\n" +" IGNOREEOF Управлява действието на обвивката при срещането на " +"единичен\n" +" знак за край на файл „EOF“. Ако променливата е " +"зададена, тя\n" " указва броя на знаците „EOF“, който могат да се срещнат\n" -" самостоятелно на един ред, преди обвивката да завърши работа\n" +" самостоятелно на един ред, преди обвивката да завърши " +"работа\n" " и излезе (стандартно е 10). Когато променливата не е\n" " зададена, един „EOF“ означава край на входящите данни\n" -" MACHTYPE Низ, който описва текущата система, на която работи bash\n" +" MACHTYPE Низ, който описва текущата система, на която работи " +"bash\n" " MAILCHECK Колко често bash да проверява за нови писма (в секунди)\n" " MAILPATH Списък с файлове, които bash проверява за нови писма\n" " OSTYPE Версията на Юникс, на която работи bash\n" @@ -5004,27 +5513,39 @@ msgstr "" " SHELLOPTS Списък с включените опции на обвивката, разделени с\n" " двоеточие\n" " TERM Името на текущия вид терминал\n" -" TIMEFORMAT Изходният формат за статистиката за времето за изпълнение на\n" +" TIMEFORMAT Изходният формат за статистиката за времето за " +"изпълнение на\n" " команда, който се използва от запазената дума „time“\n" -" auto_resume Стойност, която не е „null“, означава, че командна дума,\n" -" която се появява самостоятелно на ред, първо се проверява в\n" -" списъка с текущо спрените задачи. Ако бъде открита там,\n" +" auto_resume Стойност, която не е „null“, означава, че командна " +"дума,\n" +" която се появява самостоятелно на ред, първо се " +"проверява в\n" +" списъка с текущо спрените задачи. Ако бъде открита " +"там,\n" " задачата се пуска и се слага на преден план. Стойност\n" -" „exact“ (строго съвпадение) означава, че командната дума,\n" -" трябва точно да съвпада с името на команда в списъка със\n" -" спрени задачи. Стойност „substring“ (съвпадение на подниз)\n" -" означава, че командната дума трябва да е подниз на задачата.\n" -" Всяка друга стойност означава, че командата думата трябва да\n" +" „exact“ (строго съвпадение) означава, че командната " +"дума,\n" +" трябва точно да съвпада с името на команда в списъка " +"със\n" +" спрени задачи. Стойност „substring“ (съвпадение на " +"подниз)\n" +" означава, че командната дума трябва да е подниз на " +"задачата.\n" +" Всяка друга стойност означава, че командата думата " +"трябва да\n" " е началото на спряна задача\n" -" histchars Знаци, които определят бързото заместване и това по история.\n" -" Първият знак е за заместването по история, обикновено е „!“.\n" -" Вторият е за бързото заместване, обикновено е „^“. Третият\n" +" histchars Знаци, които определят бързото заместване и това по " +"история.\n" +" Първият знак е за заместването по история, обикновено е " +"„!“.\n" +" Вторият е за бързото заместване, обикновено е „^“. " +"Третият\n" " е за коментарите в историята, обикновено е „#“\n" -" HISTIGNORE Списък с шаблони, разделени с двоеточие, които указват кои\n" +" HISTIGNORE Списък с шаблони, разделени с двоеточие, които указват " +"кои\n" " команди да не се запазват в историята\n" -# CONTINUE -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5034,19 +5555,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5060,29 +5581,36 @@ msgstr "" " като най-горна директория става текущата директория. Без\n" " аргументи сменя най-горните две директории.\n" "\n" -" -n подтискане на нормалното преминаване към директория при изваждането на\n" +" -n подтискане на нормалното преминаване към директория при изваждането " +"на\n" " директория към стека, така че се променя само той.\n" "\n" " Аргументи:\n" -" +N Превърта стека, така че N-тата директория (като се брои от лявата \n" -" страна на списъка, изведен от командата „dirs“ като се почва от 0)\n" +" +N Превърта стека, така че N-тата директория (като се брои от " +"лявата \n" +" страна на списъка, изведен от командата „dirs“ като се почва от " +"0)\n" " да е най-отгоре.\n" "\n" -" -N Превърта стека, така че N-тата директория (като се брои от дясната\n" -" страна на списъка, изведен от командата „dirs“ като се почва от 0)\n" +" -N Превърта стека, така че N-тата директория (като се брои от " +"дясната\n" +" страна на списъка, изведен от командата „dirs“ като се почва от " +"0)\n" " да е най-отгоре.\n" "\n" "\n" -" dir Добавя ДИРекторията най-отгоре в стека, като я прави новата текуща\n" +" dir Добавя ДИРекторията най-отгоре в стека, като я прави новата " +"текуща\n" " работна директория.\n" "\n" " Можете да изведете стека на директорията с командата „dirs“.\n" "\n" " Изходен код:\n" -" 0, освен ако е подаден неправилен аргумент или не може да се премине към\n" +" 0, освен ако е подаден неправилен аргумент или не може да се премине " +"към\n" " съответната директория." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5091,16 +5619,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5110,11 +5638,13 @@ msgid "" msgstr "" "Изваждане на директории от стека.\n" "\n" -" Маха директории от стека с тях. Без аргументи премахва последната директория\n" +" Маха директории от стека с тях. Без аргументи премахва последната " +"директория\n" " в стека и влиза в новата последна директория.\n" "\n" " Опции:\n" -" -n подтискане на нормалното преминаване към директория при изваждането на\n" +" -n подтискане на нормалното преминаване към директория при изваждането " +"на\n" " директория към стека, така че се променя само той.\n" "\n" " Аргументи:\n" @@ -5130,10 +5660,11 @@ msgstr "" " Стекът с директориите се визуализира с командата „dirs“.\n" "\n" " Изходен код:\n" -" 0, освен ако е подаден неправилен аргумент или не може да се премине към\n" +" 0, освен ако е подаден неправилен аргумент или не може да се премине " +"към\n" " съответната директория." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5144,49 +5675,56 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" "Извеждане на стека на директориите.\n" "\n" -" Отпечатва списъка с текущо запомнените директории. Списъкът се попълва чрез\n" +" Отпечатва списъка с текущо запомнените директории. Списъкът се попълва " +"чрез\n" " командата „pushd“. Можете да вадите директории от стека с командата\n" " „popd“.\n" " \n" " Опции:\n" " -c изчистване на стека на директориите като изтрива всички елементи\n" -" -l извеждане на пълните имена на директориите, а не съкратените спрямо\n" +" -l извеждане на пълните имена на директориите, а не съкратените " +"спрямо\n" " домашната директория имена („/homes/pesho/bin“, а не „~/bin“)\n" " -p поредово отпечатване без поредния номер в стека\n" " -v поредово отпечатване заедно с поредния номер в стека\n" "\n" " Аргументи: \n" -" +N извежда N-тия елемент отляво в списъка отпечатан от командата „dirs“,\n" +" +N извежда N-тия елемент отляво в списъка отпечатан от командата " +"„dirs“,\n" " когато е стартирана без опции. Брои се от 0.\n" -" -N извежда N-тия елемент отдясно в списъка отпечатан от командата „dirs“,\n" +" -N извежда N-тия елемент отдясно в списъка отпечатан от командата " +"„dirs“,\n" " когато е стартирана без опции. Брои се от 0.\n" "\n" " Изходен код:\n" " 0, освен ако е дадена неправилна опция или възникне грешка." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" " Change the setting of each shell option OPTNAME. Without any option\n" -" arguments, list all shell options with an indication of whether or not each\n" +" arguments, list all shell options with an indication of whether or not " +"each\n" " is set.\n" " \n" " Options:\n" @@ -5202,22 +5740,26 @@ msgid "" msgstr "" "Включване и изключване на опции на обвивката.\n" " \n" -" Превключване на състоянието на всяка от дадените ОПЦИи на обвивката. Ако не\n" -" не са зададени аргументи-ОПЦИи, се извежда списък от всички опции, като се\n" +" Превключване на състоянието на всяка от дадените ОПЦИи на обвивката. " +"Ако не\n" +" не са зададени аргументи-ОПЦИи, се извежда списък от всички опции, като " +"се\n" " указва за всяка дали и включена или не.\n" " \n" " Опции:\n" -" -o ограничаване на опциите до определените за използване със „set -o“\n" +" -o ограничаване на опциите до определените за използване със „set -" +"o“\n" " -p извеждане на всяка опция с означение дали е включена или не\n" " -q без извеждане на информация\n" " -s включване на всяка от ОПЦИИте\n" " -u изключване на всяка от ОПЦИИте\n" " \n" " Изходен код:\n" -" 0, ако ОПЦИЯта е включена, грешка, ако е зададена неправилна или изключена\n" +" 0, ако ОПЦИЯта е включена, грешка, ако е зададена неправилна или " +"изключена\n" " ОПЦИЯ." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5225,75 +5767,90 @@ msgid "" " -v var\tassign the output to shell variable VAR rather than\n" " \t\tdisplay it on the standard output\n" " \n" -" FORMAT is a character string which contains three types of objects: plain\n" -" characters, which are simply copied to standard output; character escape\n" +" FORMAT is a character string which contains three types of objects: " +"plain\n" +" characters, which are simply copied to standard output; character " +"escape\n" " sequences, which are converted and copied to the standard output; and\n" -" format specifications, each of which causes printing of the next successive\n" +" format specifications, each of which causes printing of the next " +"successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a format\n" -" string for strftime(3)\n" +" %(fmt)T\toutput the date-time string resulting from using FMT as a " +"format\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" -" specifications behave as if a zero value or null string, as appropriate,\n" +" specifications behave as if a zero value or null string, as " +"appropriate,\n" " had been supplied.\n" " \n" " Exit Status:\n" -" Returns success unless an invalid option is given or a write or assignment\n" +" Returns success unless an invalid option is given or a write or " +"assignment\n" " error occurs." msgstr "" "Форматиране и отпечатване на АРГУМЕНТИте според управлението на ФОРМАТа.\n" "\n" " Опции:\n" -" -v ПРОМЕНЛИВА изходът се поставя в ПРОМЕНЛИВАта на обвивката, вместо да\n" +" -v ПРОМЕНЛИВА изходът се поставя в ПРОМЕНЛИВАта на обвивката, вместо " +"да\n" " се извежда на стандартния изход.\n" "\n" " ФОРМАТът е последователност от знаци, която съдържа три вида обекти:\n" -" ⁃ обикновени знаци, които биват отпечатани директно на стандартния изход;\n" +" ⁃ обикновени знаци, които биват отпечатани директно на стандартния " +"изход;\n" " ⁃ екраниращи знакови последователности, които биват преобразувани и\n" " отпечатани на стандартния изход;\n" " ⁃ форматиращи знакови последователности, всяка от които предизвиква\n" " отпечатването на следващ аргумент.\n" "\n" -" Освен стандартните форматирания описани в ръководството на printf(1), printf\n" +" Освен стандартните форматирания описани в ръководството на printf(1), " +"printf\n" " приема и следните инструкции:\n" " %b предизвиква заместването на екраниранията с обратно наклонени\n" " черти в съответния аргумент\n" " %q предизвиква цитирането на аргумента, така че да може да бъде\n" " използван като вход за обвивката\n" -" %(fmt) отпечатване на низа при третиране на аргумента като дата и време\n" +" %(fmt) отпечатване на низа при третиране на аргумента като дата и " +"време\n" " според strftime(3)\n" "\n" -" Форматът се преизползва до приемането на всички аргументи. Ако има по-\n" -" малко аргументи от посочените във формата, поведението на допълнителните е\n" +" Форматът се преизползва до приемането на всички аргументи. Ако има " +"по-\n" +" малко аргументи от посочените във формата, поведението на " +"допълнителните е\n" " все една е подаден за аргумент нулева стойност или празен низ.\n" "\n" " Изходен код:\n" " 0, освен ако не е дадена неправилна опция или възникне грешка при\n" " извеждането на резултата или при присвояването на стойността." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" -" For each NAME, specify how arguments are to be completed. If no options\n" -" are supplied, existing completion specifications are printed in a way that\n" +" For each NAME, specify how arguments are to be completed. If no " +"options\n" +" are supplied, existing completion specifications are printed in a way " +"that\n" " allows them to be reused as input.\n" " \n" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5309,28 +5866,34 @@ msgstr "" " дописване във формат, който може да се използва за вход.\n" " \n" " Опции:\n" -" -p Извеждане на текущите инструкции за автоматично дописване във формат,\n" +" -p Извеждане на текущите инструкции за автоматично дописване във " +"формат,\n" " който може да се използва за вход\n" -" -r Премахване на инструкциите за автоматично дописване на всяко ИМЕ,а\n" +" -r Премахване на инструкциите за автоматично дописване на всяко ИМЕ," +"а\n" " когато такова не е указано — всички инструкции\n" -" -D Прилагане на дописванията и действията като стандартните за командите,\n" +" -D Прилагане на дописванията и действията като стандартните за " +"командите,\n" " без никакви специфични инструкции\n" " -E Прилагане на дописванията и действията като тези на „празната“\n" " команда — когато все още нищо не е написано на командния ред\n" " \n" -" При извършване на автоматично дописване, действията се прилагат в реда на\n" -" опциите с главна буква дадени по-горе. Опцията „-D“ е с по-висок приоритет\n" +" При извършване на автоматично дописване, действията се прилагат в реда " +"на\n" +" опциите с главна буква дадени по-горе. Опцията „-D“ е с по-висок " +"приоритет\n" " от „-E“.\n" " \n" " Изходен код:\n" " 0, освен когато е дадена неправилна опция или възникне грешка." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" " Intended to be used from within a shell function generating possible\n" -" completions. If the optional WORD argument is supplied, matches against\n" +" completions. If the optional WORD argument is supplied, matches " +"against\n" " WORD are generated.\n" " \n" " Exit Status:\n" @@ -5345,13 +5908,16 @@ msgstr "" " Изходен код:\n" " 0, освен ако е дадена неправилна опция или възникне грешка." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" -" Modify the completion options for each NAME, or, if no NAMEs are supplied,\n" -" the completion currently being executed. If no OPTIONs are given, print\n" -" the completion options for each NAME or the current completion specification.\n" +" Modify the completion options for each NAME, or, if no NAMEs are " +"supplied,\n" +" the completion currently being executed. If no OPTIONs are given, " +"print\n" +" the completion options for each NAME or the current completion " +"specification.\n" " \n" " Options:\n" " \t-o option\tSet completion option OPTION for each NAME\n" @@ -5390,48 +5956,62 @@ msgstr "" " Аргументи:\n" " \n" " Всяко ИМЕ указва команда, за която трябва предварително да е зададена\n" -" спецификация за дописване чрез вградената команда „complete“. Ако не са\n" -" зададени ИМЕна, командата „compopt“ трябва да бъде изпълнена от функция,\n" -" която генерира спецификациите за дописване. В този случай опциите за текущо\n" +" спецификация за дописване чрез вградената команда „complete“. Ако не " +"са\n" +" зададени ИМЕна, командата „compopt“ трябва да бъде изпълнена от " +"функция,\n" +" която генерира спецификациите за дописване. В този случай опциите за " +"текущо\n" " изпълнявания генератор на дописвания се променят.\n" " \n" " Изходен код:\n" -" 0, освен когато е дадена неправилна опция или липсват инструкции към ИМЕто\n" +" 0, освен когато е дадена неправилна опция или липсват инструкции към " +"ИМЕто\n" " за автоматично дописване." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" -" Read lines from the standard input into the indexed array variable ARRAY, or\n" -" from file descriptor FD if the -u option is supplied. The variable MAPFILE\n" +" Read lines from the standard input into the indexed array variable " +"ARRAY, or\n" +" from file descriptor FD if the -u option is supplied. The variable " +"MAPFILE\n" " is the default ARRAY.\n" " \n" " Options:\n" -" -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are copied.\n" -" -O origin\tBegin assigning to ARRAY at index ORIGIN. The default index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to CALLBACK.\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" +" -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " +"copied\n" +" -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" " element to be assigned and the line to be assigned to that element\n" " as additional arguments.\n" " \n" -" If not supplied with an explicit origin, mapfile will clear ARRAY before\n" +" If not supplied with an explicit origin, mapfile will clear ARRAY " +"before\n" " assigning to it.\n" " \n" " Exit Status:\n" -" Returns success unless an invalid option is given or ARRAY is readonly or\n" +" Returns success unless an invalid option is given or ARRAY is readonly " +"or\n" " not an indexed array." msgstr "" -"Изчитане на редове от стандартния вход и запазване в променлива — индексиран\n" +"Изчитане на редове от стандартния вход и запазване в променлива — " +"индексиран\n" " низ.\n" " \n" " Прочитане на редове от стандартния вход, които след това се запазват в\n" @@ -5439,33 +6019,41 @@ msgstr "" " ФАЙЛов_ДЕСКРиптор. Стандартното име на променливата-масив е MAPFILE.\n" " \n" " Опции:\n" +" -d РАЗДЕЛИТЕЛ РАЗДЕЛяне на редовете с този знак, а не с нов ред\n" " -n МАКС_РЕДА Изчитане на не повече от МАКСимум РЕДа. Ако е 0, се\n" " прочитат всички редове\n" " -O НАЧАЛО Присвояването да започне при индекс НАЧАЛО в МАСИВа\n" " Стандартната стойност е 0\n" " -s БРОЙ_ПРОП Прескачане на първите БРОЙ за ПРОПускане прочетени реда\n" -" -t Премахване на последващия знак за нов ред от всеки ред\n" +" -t Премахване на последващия знак-РАЗДЕЛител от всеки ред\n" +" (стандартно е знакът за нов ред)\n" " -u ФАЙЛов_ДЕСКРиптор\n" -" Изчитане на редовете от ФАЙЛов_ДЕСКРиптор, а не стандартния\n" +" Изчитане на редовете от ФАЙЛов_ДЕСКРиптор, а не " +"стандартния\n" " вход\n" -" -C ФУНКЦИЯ Функция, която се извиква при изчитането на всеки БРОЙ_РЕДА\n" -" -c БРОЙ_РЕДА Редове, които да се изчетат преди да се извика ФУНКЦИЯта\n" +" -C ФУНКЦИЯ Функция, която се извиква при изчитането на всеки " +"БРОЙ_РЕДА\n" +" -c БРОЙ_РЕДА Редове, които да се изчетат преди да се извика " +"ФУНКЦИЯта\n" " \n" " Аргументи:\n" " МАСИВ Име на променливата-масив\n" " \n" -" Ако опцията „-C“ е зададена без „-c“, стандартния БРОЙ_РЕДА е 5000. При\n" +" Ако опцията „-C“ е зададена без „-c“, стандартния БРОЙ_РЕДА е 5000. " +"При\n" " извикването на ФУНКЦИЯта за аргументи ѝ се подават индекса на следващия\n" " елемент от масива и реда, който се счита за стойност.\n" " \n" -" Ако не е дадено изрично НАЧАЛО, командата „mapfile“ изчиства МАСИВа, преди\n" +" Ако не е дадено изрично НАЧАЛО, командата „mapfile“ изчиства МАСИВа, " +"преди\n" " да започне присвояването към него.\n" " \n" " Изходен код:\n" -" Връща 0, освен ако е дадена неправилна опция или ако МАСИВът е променлива\n" +" Връща 0, освен ако е дадена неправилна опция или ако МАСИВът е " +"променлива\n" " само за четене или не е индексиран масив." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5474,3 +6062,18 @@ msgstr "" "Прочитане на редове от файл и поставяне в променлива – масив.\n" " \n" " Синоним на „mapfile“." + +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Авторски права (C) 2014 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" diff --git a/po/ca.gmo b/po/ca.gmo index ef3ef376f..bae5d3f4d 100644 Binary files a/po/ca.gmo and b/po/ca.gmo differ diff --git a/po/ca.po b/po/ca.po index 3ccc638da..14f6aa08d 100644 --- a/po/ca.po +++ b/po/ca.po @@ -1,489 +1,523 @@ -# Catalan messages for the GNU bash-2.0 -# Copyright (C) 2002, 2003 Free Software Foundation, Inc. -# Montxo Vicente i Sempere , 2003. -# Jordi Mas i Hern?ndez , 2004 (correccions). -# +# Catalan messages for GNU bash. +# Copyright (C) 2002, 2003, 2010, 2014, 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the bash package. +# Montxo Vicente i Sempere , 2003 (traducció), 2010 (revisions). +# Jordi Mas i Hernàndez , 2004 (correccions). +# Ernest Adrogué Calveras , 2014, 2015 (nova traducció). msgid "" msgstr "" -"Project-Id-Version: bash-2.0\n" +"Project-Id-Version: bash-4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2003-12-28 19:59+0100\n" -"Last-Translator: Montxo Vicente i Sempere \n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-18 13:33+0200\n" +"Last-Translator: Ernest Adrogué Calveras \n" "Language-Team: Catalan \n" -"Language: ca\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" -msgstr "la matriu est? mal composta" +msgstr "subíndex erroni" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 #, c-format -msgid "%s: cannot convert indexed to associative array" +msgid "%s: removing nameref attribute" msgstr "" -#: arrayfunc.c:539 -#, fuzzy, c-format +#: arrayfunc.c:393 builtins/declare.def:780 +#, c-format +msgid "%s: cannot convert indexed to associative array" +msgstr "%s: no es pot convertir el vector indexat en associatiu" + +#: arrayfunc.c:578 +#, c-format msgid "%s: invalid associative array key" -msgstr "%c%c: opci? inv?lida" +msgstr "%s: clau incorrecta de vector associatiu" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" -msgstr "%s: no es pot assignar a un ?ndex que no ?s num?ric" +msgstr "%s: no és possible assignar a un índex no-numèric" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" -msgstr "" +msgstr "%s: %s: l'assignació en vectors associatius requereix un subíndex" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: no es pot crear: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" +"bash_execute_unix_command: no s'ha trobat el mapa de tecles per a l'ordre" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" -msgstr "" +msgstr "%s: el primer caràcter no-blanc no és `\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" -msgstr "" +msgstr "falta un caràcter `%c' a %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" -msgstr "" +msgstr "%s: falten dos punts `:' de separació" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "expansió de claus: no es pot assignar memòria per a %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" -msgstr "" +msgstr "expansió de claus: ha fallat l'assignació de memòria per a %d elements" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "" +msgstr "expansió de claus: ha fallat l'assignació de memòria per a `%s'" -#: builtins/alias.def:132 -#, fuzzy, c-format +#: builtins/alias.def:133 +#, c-format msgid "`%s': invalid alias name" -msgstr "%c%c: opci? inv?lida" +msgstr "`%s': el nom de l'àlies no és valid" #: builtins/bind.def:123 builtins/bind.def:126 msgid "line editing not enabled" -msgstr "" +msgstr "l'edició de línia no està habilitada" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" -msgstr "" +msgstr "`%s': el nom del mapa de tecles no és vàlid" -#: builtins/bind.def:251 -#, fuzzy, c-format +#: builtins/bind.def:253 +#, c-format msgid "%s: cannot read: %s" -msgstr "%s: no es pot crear: %s" +msgstr "%s: no es pot llegir: %s" -#: builtins/bind.def:266 -#, fuzzy, c-format +#: builtins/bind.def:270 +#, c-format msgid "`%s': cannot unbind" -msgstr "%s: no s'ha trobat l'ordre" +msgstr "`%s': no es pot desvincular" -#: builtins/bind.def:304 builtins/bind.def:334 -#, fuzzy, c-format +#: builtins/bind.def:308 builtins/bind.def:338 +#, c-format msgid "`%s': unknown function name" -msgstr "%s: funci? nom?s de lectura" +msgstr "`%s': el nom de la funció és desconegut" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" -msgstr "" +msgstr "%s no està vinculat a cap tecla.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " -msgstr "" +msgstr "%s pot ser invocat via " -#: builtins/break.def:77 builtins/break.def:117 -#, fuzzy +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" -msgstr "fi de sessi?" +msgstr "nombre d'iteracions" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" -msgstr "" +msgstr "només té sentit en una iteració de tipus `for', `while' o `until'" -#: builtins/caller.def:134 +# això forma part de la descripció de caller que està a un altre lloc +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" " Without EXPR, returns " msgstr "" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" -msgstr "" +msgstr "la variable HOME no està definida" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" -msgstr "nombre excessiu de par?metres" +msgstr "sobren arguments" + +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "no hi ha més directoris" -#: builtins/cd.def:338 +#: builtins/cd.def:347 msgid "OLDPWD not set" -msgstr "" +msgstr "la variable OLDPWD no està definida" -#: builtins/common.c:101 -#, fuzzy, c-format +#: builtins/common.c:102 +#, c-format msgid "line %d: " -msgstr "encaix %3d:" +msgstr "línia %d: " -#: builtins/common.c:139 error.c:265 -#, fuzzy, c-format +#: builtins/common.c:140 error.c:265 +#, c-format msgid "warning: " -msgstr "s'est? escrivint" +msgstr "atenció: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " -msgstr "" +msgstr "%s: sintaxi: " -#: builtins/common.c:191 shell.c:506 shell.c:788 -#, fuzzy, c-format +#: builtins/common.c:199 shell.c:514 shell.c:825 +#, c-format msgid "%s: option requires an argument" -msgstr "cal un par?metre per a l'opci?: -" +msgstr "%s: l'opció requereix un argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" -msgstr "" +msgstr "%s: fa falta un argument numèric" -#: builtins/common.c:205 -#, fuzzy, c-format +#: builtins/common.c:213 +#, c-format msgid "%s: not found" -msgstr "%s: no s'ha trobat l'ordre" +msgstr "%s: no s'ha trobat" -#: builtins/common.c:214 shell.c:801 -#, fuzzy, c-format +#: builtins/common.c:222 shell.c:838 +#, c-format msgid "%s: invalid option" -msgstr "%c%c: opci? inv?lida" +msgstr "%s: l'opció no és vàlida" -#: builtins/common.c:221 -#, fuzzy, c-format +#: builtins/common.c:229 +#, c-format msgid "%s: invalid option name" -msgstr "%c%c: opci? inv?lida" +msgstr "%s: el nom de l'opció no és vàlid" -#: builtins/common.c:228 general.c:235 general.c:240 -#, fuzzy, c-format +#: builtins/common.c:236 general.c:293 general.c:298 +#, c-format msgid "`%s': not a valid identifier" -msgstr "'%s' no ?s un identificador v?lid" +msgstr "`%s': no és un identificador vàlid" -#: builtins/common.c:238 -#, fuzzy +#: builtins/common.c:246 msgid "invalid octal number" -msgstr "n?mero inv?lid de senyal" +msgstr "nombre octal no vàlid" -#: builtins/common.c:240 -#, fuzzy +#: builtins/common.c:248 msgid "invalid hex number" -msgstr "n?mero inv?lid de senyal" +msgstr "nombre hexadecimal no vàlid" -#: builtins/common.c:242 expr.c:1470 -#, fuzzy +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" -msgstr "n?mero inv?lid de senyal" +msgstr "nombre no vàlid" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" -msgstr "" +msgstr "%s: l'especificació de senyal no és vàlida" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" -msgstr "" +msgstr "`%s': el pid o l'especificació de tasca no són vàlids" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" -msgstr "%s: ?s una variable nom?s de lectura" +msgstr "%s: variable de només-lectura" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" -msgstr "" +msgstr "%s: %s fora del domini" -#: builtins/common.c:272 builtins/common.c:274 -#, fuzzy +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" -msgstr "s'esperava un par?metre" +msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" -msgstr "" +msgstr "%s fora del domini" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" -msgstr "" +msgstr "%s: no s'ha trobat la tasca" -#: builtins/common.c:290 -#, fuzzy, c-format +#: builtins/common.c:298 +#, c-format msgid "%s: no job control" -msgstr "no hi ha cap tasca de control dins d'aquest int?rpret" +msgstr "%s: no hi ha control de tasques" -#: builtins/common.c:292 -#, fuzzy +#: builtins/common.c:300 msgid "no job control" -msgstr "no hi ha cap tasca de control dins d'aquest int?rpret" +msgstr "no hi ha control de tasques" -#: builtins/common.c:302 -#, fuzzy, c-format +# cd .. en un intèrpret restringit +#: builtins/common.c:310 +#, c-format msgid "%s: restricted" -msgstr "%s: s'ha finalitzat la tasca" +msgstr "%s: restringit" -#: builtins/common.c:304 -#, fuzzy +#: builtins/common.c:312 msgid "restricted" -msgstr "Terminat" +msgstr "restringit" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" -msgstr "" +msgstr "%s: no és una ordre interna de l'intèrpret" -#: builtins/common.c:321 -#, fuzzy, c-format +#: builtins/common.c:329 +#, c-format msgid "write error: %s" -msgstr "error del conducte: %s" +msgstr "error d'escriptura: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" -msgstr "" +msgstr "error en establir els atributs del terminal: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" -msgstr "" +msgstr "error en obtenir els atributs del terminal: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" -msgstr "" +msgstr "%s: error en obtenir el directori actual: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 -#, fuzzy, c-format +#: builtins/common.c:651 builtins/common.c:653 +#, c-format msgid "%s: ambiguous job spec" -msgstr "%s: Redirecci? ambigua" +msgstr "%s: l'especificació de tasca és ambigua" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "aquesta versió no té ajuda disponible" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" -msgstr "" +msgstr "%s: el nom de l'acció no és vàlid" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" -msgstr "" +msgstr "%s: no hi ha especificació de compleció" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" -msgstr "" +msgstr "atenció: l'opció -F pot no funcionar com us espereu" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" -msgstr "" +msgstr "atenció: l'opció -C pot no funcionar com us espereu" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" -msgstr "" +msgstr "no s'està executant una funció de compleció" -#: builtins/declare.def:126 -#, fuzzy +#: builtins/declare.def:127 msgid "can only be used in a function" -msgstr "" -"servir LOCAL dins d'una funci?; a?? restringir? la magnitud visible de la" +msgstr "només es pot utilitzar en una funció" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" -msgstr "" +msgstr "%s: la variable referenciada no pot ser un vector" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" -msgstr "" +msgstr "%s: no és permès que una variable s'autoreferenciï" + +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: la referència de nom és circular" + +# buscar context +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: el nom de la variable referenciada no és vàlid" -#: builtins/declare.def:398 +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" -msgstr "" +msgstr "no és possible usar `-f' per a fer funcions" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" -msgstr "%s: funci? nom?s de lectura" +msgstr "%s: funció de només-lectura" -#: builtins/declare.def:553 -#, fuzzy, c-format +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: les assignacions compostes amb cometes estan desfasades" + +#: builtins/declare.def:767 +#, c-format msgid "%s: cannot destroy array variables in this way" -msgstr "$%s: no es pot assignar d'aquesta manera" +msgstr "%s: no és possible destruir variables vector d'aquesta manera" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" -msgstr "" +msgstr "%s: no es pot convertir el vector associatiu en indexat" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" -msgstr "" +msgstr "la càrrega dinàmica no està disponible" -#: builtins/enable.def:312 -#, fuzzy, c-format +#: builtins/enable.def:343 +#, c-format msgid "cannot open shared object %s: %s" -msgstr "no es pot obrir el conducte anomenat %s per a %s: %s" +msgstr "no es pot obrir l'objecte compartit %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" -msgstr "" +msgstr "no es pot trobar %s a l'objecte compartit %s: %s" + +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "la càrrega de %s ha fallat (%d): no s'ha carregat" -#: builtins/enable.def:459 +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" -msgstr "" +msgstr "%s: no s'ha carregat dinàmicament" -#: builtins/enable.def:474 -#, fuzzy, c-format +#: builtins/enable.def:538 +#, c-format msgid "%s: cannot delete: %s" -msgstr "%s: no es pot crear: %s" +msgstr "%s: no es pot eliminar: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" -msgstr "%s: ?s un directori" +msgstr "%s: és un directori" -#: builtins/evalfile.c:146 -#, fuzzy, c-format +#: builtins/evalfile.c:150 +#, c-format msgid "%s: not a regular file" -msgstr "%s: no es pot executar el fitxer binari" +msgstr "%s: no és un fitxer ordinari" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" -msgstr "" +msgstr "%s: el fitxer és massa gran" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" -msgstr "%s: no es pot executar el fitxer binari" +msgstr "%s: no es poden executar fitxers binaris" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 -#, fuzzy, c-format +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 +#, c-format msgid "%s: cannot execute: %s" -msgstr "%s: no es pot crear: %s" +msgstr "%s: no es pot executar: %s" -#: builtins/exit.def:65 -#, fuzzy, c-format +#: builtins/exit.def:67 +#, c-format msgid "logout\n" -msgstr "fi de sessi?" +msgstr "desconnexió\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" -msgstr "" +msgstr "no és una sessió d'entrada: utilitzeu `exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" -msgstr "" +msgstr "Hi ha tasques aturades.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" -msgstr "" +msgstr "Hi ha tasques en marxa.\n" -#: builtins/fc.def:262 -#, fuzzy +#: builtins/fc.def:269 msgid "no command found" -msgstr "%s: no s'ha trobat l'ordre" +msgstr "no s'ha trobat cap ordre" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" -msgstr "" +msgstr "especificació d'historial" -#: builtins/fc.def:390 -#, fuzzy, c-format +#: builtins/fc.def:397 +#, c-format msgid "%s: cannot open temp file: %s" -msgstr "%s: no es pot crear: %s" +msgstr "%s: no es pot obrir el fitxer temporal: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +# fg quan no hi ha cap tasca en segon pla +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" -msgstr "" +msgstr "actual" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" -msgstr "" +msgstr "la tasca %d s'ha iniciat sense control de tasques" #: builtins/getopt.c:110 -#, fuzzy, c-format +#, c-format msgid "%s: illegal option -- %c\n" -msgstr "opci? ilžlegal: -" +msgstr "%s: opció il·legal -- %c\n" #: builtins/getopt.c:111 -#, fuzzy, c-format +#, c-format msgid "%s: option requires an argument -- %c\n" -msgstr "cal un par?metre per a l'opci?: -" +msgstr "%s: l'opció requereix un argument -- %c\n" #: builtins/hash.def:92 msgid "hashing disabled" -msgstr "" +msgstr "hashing deshabilitat" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" -msgstr "" +msgstr "%s: la taula hash és buida\n" -#: builtins/hash.def:245 -#, fuzzy, c-format +# hash (sense arguments) +#: builtins/hash.def:254 +#, c-format msgid "hits\tcommand\n" -msgstr "si s'escriu \"r\" s'executar? la darrera ordre." +msgstr "vegades\tordre\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "Ordres de l'intèrpret coincidents amb `" +msgstr[1] "Ordres de l'intèrpret coincidents amb `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" +"no hi ha ajuda sobre `%s'. Proveu `help help', `man -k %s' o `info %s'." -#: builtins/help.def:199 -#, fuzzy, c-format +#: builtins/help.def:226 +#, c-format msgid "%s: cannot open: %s" -msgstr "%s: no es pot crear: %s" +msgstr "%s: no es pot obrir: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -494,141 +528,153 @@ msgid "" "A star (*) next to a name means that the command is disabled.\n" "\n" msgstr "" +"Aquestes ordres de l'intèrpret estan definides internament.\n" +"Feu `help' per a veure'n una llista. \n" +"Feu `help nom' per a informació sobre la funció `nom'.\n" +"Utilitzeu `info bash' per a informació sobre l'intèrpret en general.\n" +"Utilitzeu `man -k' o bé `info' per a informació sobre ordres que no són a " +"la\n" +"llista.\n" +"\n" +"Un asterisc (*) al costat d'un nom significa que l'ordre està " +"deshabilitada.\n" +"\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" -msgstr "" +msgstr "no és possible usar més d'una opció d'entre -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" -msgstr "" +msgstr "posició a l'historial" -#: builtins/history.def:366 +#: builtins/history.def:264 #, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: l'argument no és vàlid" + +#: builtins/history.def:375 +#, c-format msgid "%s: history expansion failed" -msgstr "%s: s'esperava una expressi? de nombre enter" +msgstr "%s: ha fallat l'expansió de l'historial" #: builtins/inlib.def:71 -#, fuzzy, c-format +#, c-format msgid "%s: inlib failed" -msgstr "%s: s'esperava una expressi? de nombre enter" +msgstr "%s: inlib ha fallat" #: builtins/jobs.def:109 msgid "no other options allowed with `-x'" -msgstr "" +msgstr "no es permeten altres opcions amb `-x'" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" -msgstr "" +msgstr "%s: els arguments han de ser ids de processos o tasques" -#: builtins/kill.def:263 -#, fuzzy +#: builtins/kill.def:265 msgid "Unknown error" -msgstr "Error desconegut %d" +msgstr "Error desconegut" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" -msgstr "s'esperava una expressi?" +msgstr "s'esperava una expressió" -#: builtins/mapfile.def:172 -#, fuzzy, c-format +#: builtins/mapfile.def:178 +#, c-format msgid "%s: not an indexed array" -msgstr "%s: variable sense vincle" +msgstr "%s: no és un vector indexat" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" -msgstr "" +msgstr "%s: l'especificació de descriptor de fitxer no és vàlida" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" -msgstr "" +msgstr "%d: el descriptor de fitxer no és vàlid: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 -#, fuzzy, c-format +#: builtins/mapfile.def:289 builtins/mapfile.def:327 +#, c-format msgid "%s: invalid line count" -msgstr "%c%c: opci? inv?lida" +msgstr "%s: el nombre de línies no és vàlid" -#: builtins/mapfile.def:287 -#, fuzzy, c-format +#: builtins/mapfile.def:300 +#, c-format msgid "%s: invalid array origin" -msgstr "%c%c: opci? inv?lida" +msgstr "%s: l'origen del vector no és vàlid" -#: builtins/mapfile.def:304 -#, fuzzy, c-format +#: builtins/mapfile.def:317 +#, c-format msgid "%s: invalid callback quantum" -msgstr "n?mero inv?lid de senyal" +msgstr "%s: el quàntum de retorn no és vàlid" -#: builtins/mapfile.def:336 -#, fuzzy +#: builtins/mapfile.def:350 msgid "empty array variable name" -msgstr "%s: variable sense vincle" +msgstr "nom de variable vector en blanc" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" -msgstr "" +msgstr "es requereix suport per a variables vector" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" -msgstr "" +msgstr "`%s': falta un caràcter de format" -#: builtins/printf.def:456 -#, fuzzy, c-format +#: builtins/printf.def:467 +#, c-format msgid "`%c': invalid time format specification" -msgstr "%c%c: opci? inv?lida" +msgstr "%c: l'especificació de format de temps no és vàlida" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" -msgstr "" +msgstr "`%c': el caràcter de format no és vàlid" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" -msgstr "" +msgstr "atenció: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "problema en interpretar el format: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" -msgstr "" +msgstr "falta un dígit hexadecimal a \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" -msgstr "" +msgstr "falta un dígit unicode a \\%c" -#: builtins/pushd.def:195 -#, fuzzy +#: builtins/pushd.def:199 msgid "no other directory" -msgstr "seguent entrada de la pila (o sia, la nova primera entrada)." +msgstr "no hi ha més directoris" -#: builtins/pushd.def:354 -#, fuzzy, c-format +#: builtins/pushd.def:360 +#, c-format msgid "%s: invalid argument" -msgstr "%c%c: opci? inv?lida" +msgstr "%s: l'argument no és vàlid" -#: builtins/pushd.def:468 -#, fuzzy +#: builtins/pushd.def:475 msgid "" -msgstr "\taquest ser? el nou directori actual de treball." +msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" -msgstr "" +msgstr "la pila de directoris està buida" -#: builtins/pushd.def:514 -#, fuzzy +#: builtins/pushd.def:521 msgid "directory stack index" -msgstr "S'ha desbordat la base de la pila." +msgstr "índex de la pila de directoris" -#: builtins/pushd.def:689 +# help dirs ?? missatge similar repetit més endavant +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -651,8 +697,30 @@ msgid "" "by\n" "\tdirs when invoked without options, starting with zero." msgstr "" +"Mostra la llista actual de directoris recordats. Els directoris entren a " +"la\n" +" llista mitjançant l'ordre `pushd'; podeu recórrer la llista de\n" +" directoris enrere amb l'ordre `popd'.\n" +"\n" +" Opcions:\n" +" -c neteja la pila, esborrant-ne tots els elements\n" +" -l no mostra les versions abreviades (prefix ~) en els\n" +" directoris relatius al vostre directori personal\n" +" -p mostra la pila, una entrada per línia\n" +" -v mostra la pila, una entrada per línia indicant la posició a\n" +" la pila\n" +"\n" +" Arguments:\n" +" +N Mostra l'entrada N-èssima, comptant des de l'esquerra de la\n" +" llista mostrada per `dirs' quan s'invoca sense opcions, \n" +" començant des de zero.\n" +"\n" +" -N Mostra l'entrada N-èssima, comptant des de la dreta de la\n" +" llista mostrada per `dirs' quan s'invoca sense opcions,\n" +" començant des de zero." -#: builtins/pushd.def:711 +# help pushd ??? +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -676,8 +744,33 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" +"Afegeix un directori a sobre la pila de directoris, o fa girar la llista, " +"de\n" +" manera que a sobre la pila hi queda el directori de treball corrent.\n" +" Sense arguments, intercanvia els dos directoris de més amunt.\n" +"\n" +" Opcions:\n" +" -n Omet el canvi de directori quan s'afegeixen directoris a la\n" +" pila, de manera que només canvia la pila.\n" +"\n" +" Arguments:\n" +"\n" +" +N Gira la llista de manera tal que l'N-èssim directori\n" +" (comptant des de l'esquerra de la llista que mostra `dirs',\n" +" començant des de zero) queda a dalt de tot.\n" +"\n" +" -N Gira la llista de manera tal que l'N-èssim directori\n" +" (comptant des de la dreta de la llista que mostra `dirs',\n" +" començant des de zero) queda a dalt de tot.\n" +"\n" +" dir Afegeix DIR a dalt de tot de la pila de directoris, i el\n" +" converteix en el nou directori de treball corrent.\n" +"\n" +" Podeu visualitzar la pila de directoris amb l'ordre `dirs'." -#: builtins/pushd.def:736 +# help popd ??? +# +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -697,499 +790,543 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" +"Elimina entrades de la pila de directoris. Sense arguments, elimina el\n" +" directori de dalt de tot de la pila, i canvia al nou directori de dalt\n" +" de la pila.\n" +"\n" +" Opcions:\n" +" -n Evita el canvi de directori quan s'eliminen directoris de la\n" +" pila, de manera que només es manipula la pila.\n" +"\n" +" Arguments:\n" +" +N Elimina l'entrada N-èssima, comptant des de l'esquerra de la\n" +" llista que mostra `dirs', començant des de zero. \n" +" Per exemple: `popd +0' elimina el primer directori, i\n" +" `popd +1' el segon.\n" +"\n" +" -N Elimina l'entrada N-èssima, comptant des de la dreta de la\n" +" llista que mostra `dirs', començant des de zero. \n" +" Per exemple: `popd -0' elimina l'últim directori, i\n" +" `popd -1' el penúltim.\n" +"\n" +" Podeu visualitzar la pila de directoris amb l'ordre `dirs'." -#: builtins/read.def:275 +# read -t -5 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" -msgstr "" +msgstr "%s: el límit de temps no és vàlid" -#: builtins/read.def:678 -#, fuzzy, c-format +#: builtins/read.def:696 +#, c-format msgid "read error: %d: %s" -msgstr "error del conducte: %s" +msgstr "error de lectura: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" -msgstr "" +msgstr "només es pot fer `return' des d'una funció o script" -#: builtins/set.def:782 -#, fuzzy +# unset -f -v foo +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" -msgstr "" -"servir LOCAL dins d'una funci?; a?? restringir? la magnitud visible de la" +msgstr "no és possible suprimir una funció i una variable alhora" -#: builtins/set.def:826 -#, fuzzy, c-format +#: builtins/set.def:888 +#, c-format msgid "%s: cannot unset" -msgstr "%s: no es pot crear: %s" +msgstr "%s: no es pot suprimir" -#: builtins/set.def:843 -#, fuzzy, c-format +# unset UID +#: builtins/set.def:909 variables.c:3389 +#, c-format msgid "%s: cannot unset: readonly %s" -msgstr "%s: no es pot crear: %s" +msgstr "%s: no es pot suprimir: %s de només-lectura" -#: builtins/set.def:854 -#, fuzzy, c-format +#: builtins/set.def:922 +#, c-format msgid "%s: not an array variable" -msgstr "%s: variable sense vincle" +msgstr "%s: no és una variable vector" -#: builtins/setattr.def:187 -#, fuzzy, c-format +#: builtins/setattr.def:191 +#, c-format msgid "%s: not a function" -msgstr "%s: funci? nom?s de lectura" +msgstr "%s: no és una funció" -#: builtins/shift.def:71 builtins/shift.def:77 -#, fuzzy +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: no es pot suprimir" + +# shift -4 +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" -msgstr "shift [n]" +msgstr "nombre de shifts" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "" +"no es poden activar i desactivar opcions de l'intèrpret al mateix temps" -#: builtins/shopt.def:346 +# shopt -s foo +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" -msgstr "" +msgstr "%s: l'opció de l'intèrpret no és vàlida" -#: builtins/source.def:130 +# source +#: builtins/source.def:131 msgid "filename argument required" -msgstr "" +msgstr "fa falta un nom de fitxer" -#: builtins/source.def:155 -#, fuzzy, c-format +#: builtins/source.def:157 +#, c-format msgid "%s: file not found" -msgstr "%s: no s'ha trobat l'ordre" +msgstr "%s: no s'ha trobat el fitxer" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" -msgstr "" +msgstr "no es pot suspendre" -#: builtins/suspend.def:111 -#, fuzzy +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" -msgstr "Finalitzar una sessi? de l'int?rpret d'ordres." +msgstr "no és possible suspendre un intèrpret d'entrada" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" -msgstr "" +msgstr "%s és un àlies de `%s'\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" -msgstr "" +msgstr "%s és una paraula clau de l'intèrpret\n" -#: builtins/type.def:274 -#, fuzzy, c-format +#: builtins/type.def:276 +#, c-format msgid "%s is a function\n" -msgstr "%s: funci? nom?s de lectura" +msgstr "%s és una funció\n" + +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s és una ordre interna\n" -#: builtins/type.def:296 +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" -msgstr "" +msgstr "%s és una ordre interna\n" -#: builtins/type.def:317 builtins/type.def:393 +# type dmesg +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" -msgstr "" +msgstr "%s és %s\n" -#: builtins/type.def:337 +# hash cp; type cp +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" -msgstr "" +msgstr "%s és a la taula hash (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" -msgstr "" +msgstr "%s: el límit no és vàlid" -#: builtins/ulimit.def:409 -#, fuzzy, c-format +#: builtins/ulimit.def:424 +#, c-format msgid "`%c': bad command" -msgstr "%c%c: opci? inv?lida" +msgstr "`%c': ordre errònia" -#: builtins/ulimit.def:438 -#, fuzzy, c-format +#: builtins/ulimit.def:453 +#, c-format msgid "%s: cannot get limit: %s" -msgstr "%s: no es pot crear: %s" +msgstr "%s: no es pot obtenir el límit: %s" -#: builtins/ulimit.def:464 -#, fuzzy +#: builtins/ulimit.def:479 msgid "limit" -msgstr "L?mit de la UCP" +msgstr "límit" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 -#, fuzzy, c-format +#: builtins/ulimit.def:491 builtins/ulimit.def:791 +#, c-format msgid "%s: cannot modify limit: %s" -msgstr "%s: no es pot crear: %s" +msgstr "%s: no es pot modificar el límit: %s" -#: builtins/umask.def:114 -#, fuzzy +#: builtins/umask.def:115 msgid "octal number" -msgstr "n?mero inv?lid de senyal" +msgstr "nombre octal" -#: builtins/umask.def:227 +# umask z=rwx +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" -msgstr "" +msgstr "`%c': l'operador del mode simbòlic no és vàlid" -#: builtins/umask.def:282 +# umask u=rwz +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" -msgstr "" +msgstr "`%c': el mode simbòlic conté caràcters no vàlids" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " -msgstr "" +msgstr " línia " #: error.c:165 -#, fuzzy, c-format +#, c-format msgid "last command: %s\n" -msgstr "si s'escriu \"r\" s'executar? la darrera ordre." +msgstr "última ordre: %s\n" #: error.c:173 #, c-format msgid "Aborting..." -msgstr "" +msgstr "Avortant..." -#: error.c:440 -#, fuzzy +# prefix afegit als avisos infomatius interns (internal_inform) +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORMACIÓ: " + +#: error.c:463 msgid "unknown command error" -msgstr "Error desconegut %d" +msgstr "error no identificat" -#: error.c:441 -#, fuzzy +#: error.c:464 msgid "bad command type" -msgstr "un nom d'una ordre." +msgstr "tipus d'ordre erroni" -#: error.c:442 -#, fuzzy +#: error.c:465 msgid "bad connector" -msgstr "connector inv?lid '%d'" +msgstr "connector erroni" -#: error.c:443 -#, fuzzy +#: error.c:466 msgid "bad jump" -msgstr "Salt incorrecte %d" +msgstr "salt erroni" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" -msgstr "%s: variable sense vincle" +msgstr "%s: variable no definida" -#: eval.c:189 -#, fuzzy, c-format +# SIGALRM +#: eval.c:209 +#, c-format msgid "\atimed out waiting for input: auto-logout\n" -msgstr "" -"%c ha excedit el temps d'espera per una entrada: fi autom?tica de sessi?\n" +msgstr "\atemps esgotat mentre s'esperaven dades: autodesconnexió\n" -#: execute_cmd.c:512 +# error intern +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" -msgstr "" +msgstr "no s'ha pogut redirigir l'entrada estàndard des de /dev/null: %s" -#: execute_cmd.c:1233 +# error intern +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" +msgstr "TIMEFORMAT: `%c': el caràcter de format no és vàlid" + +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" msgstr "" -#: execute_cmd.c:2287 -#, fuzzy +#: execute_cmd.c:2377 msgid "pipe error" -msgstr "error del conducte: %s" +msgstr "error de canalització" + +#: execute_cmd.c:4496 +#, fuzzy, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "%s: s'ha excedit el nivell màxim d'imbricació de funcions (%d)" + +#: execute_cmd.c:4508 +#, fuzzy, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: s'ha excedit el nivell màxim d'imbricació de funcions (%d)" -#: execute_cmd.c:4386 +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" -msgstr "" +msgstr "%s: s'ha excedit el nivell màxim d'imbricació de funcions (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" -msgstr "%s: restringit: no es pot especificar '/' en noms d'ordres" +msgstr "%s: restricció: no podeu especificar `/' en noms d'ordres" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: no s'ha trobat l'ordre" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" -msgstr "" +msgstr "%s: %s" -#: execute_cmd.c:5243 -#, fuzzy, c-format +#: execute_cmd.c:5508 +#, c-format msgid "%s: %s: bad interpreter" -msgstr "%s: ?s un directori" +msgstr "%s: %s: intèrpret erroni" -#: execute_cmd.c:5280 -#, fuzzy, c-format +# error intern +#: execute_cmd.c:5545 +#, c-format msgid "%s: cannot execute binary file: %s" -msgstr "%s: no es pot executar el fitxer binari" +msgstr "%s: no es pot executar el fitxer binari: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" -msgstr "" +msgstr "`%s': és una ordre interna especial" -#: execute_cmd.c:5404 -#, fuzzy, c-format +#: execute_cmd.c:5675 +#, c-format msgid "cannot duplicate fd %d to fd %d" -msgstr "" -"no es pot copiar per duplicat el descriptor del fitxer df %d cap a df 0: %s" +msgstr "no s'ha pogut duplicar l'fd %d com a fd %d" #: expr.c:259 msgid "expression recursion level exceeded" -msgstr "s'ha excedit el nivell de recursivitat de l'expressi?" +msgstr "s'ha excedit el nivell de recursió d'expressions" #: expr.c:283 -#, fuzzy msgid "recursion stack underflow" -msgstr "S'ha desbordat la base de la pila." +msgstr "underflow a la pila de recursió" #: expr.c:431 msgid "syntax error in expression" -msgstr "error de sintaxi a l'expressi?" +msgstr "error de sintaxi a l'expressió" #: expr.c:475 msgid "attempted assignment to non-variable" -msgstr "s'ha intentat assignar una variable inexistent" +msgstr "intent d'assignació a una no-variable" #: expr.c:495 expr.c:858 msgid "division by 0" -msgstr "divisi? per 0" +msgstr "divisió per 0" #: expr.c:542 -#, fuzzy msgid "bug: bad expassign token" -msgstr "error de programaci?: pas incorrecte del senyal %d per a expassing()." +msgstr "bug: el component expassign és erroni" +# echo $((4 > 5 ? 0)) #: expr.c:595 msgid "`:' expected for conditional expression" -msgstr "s'esperava ':' per a l'expressi? condicional" +msgstr "falta un `:' a l'expressió condicional" +# echo $((4 ** -1)) #: expr.c:919 msgid "exponent less than 0" -msgstr "" +msgstr "exponent menor que 0" #: expr.c:976 msgid "identifier expected after pre-increment or pre-decrement" -msgstr "" +msgstr "s'esperava un identificador després del preincrement o predecrement" #: expr.c:1002 msgid "missing `)'" -msgstr "falta algun ')'" +msgstr "falta un `)'" -#: expr.c:1053 expr.c:1390 -#, fuzzy +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" -msgstr "error de sintaxi: s'ha arribat inesperadament a la fi del fitxer" +msgstr "error de sintaxi: s'esperava un operand" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" -msgstr "" +msgstr "error de sintaxi: l'operador aritmètic no és vàlid" -#: expr.c:1416 -#, fuzzy, c-format +#: expr.c:1419 +#, c-format msgid "%s%s%s: %s (error token is \"%s\")" -msgstr "%s: %s: %s (la prova d'error ?s \"%s\")\n" +msgstr "%s%s%s: %s (l'element erroni és \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" -msgstr "" +msgstr "la base aritmètica no és vàlida" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" -msgstr "valor massa gran per a la base de numeraci?" +msgstr "el valor de la base és massa gran" -#: expr.c:1543 -#, fuzzy, c-format +#: expr.c:1546 +#, c-format msgid "%s: expression error\n" -msgstr "%s: s'esperava una expressi? de nombre enter" +msgstr "%s: expressió errònia\n" -#: general.c:62 -#, fuzzy +#: general.c:68 msgid "getcwd: cannot access parent directories" -msgstr "getwd: no s'ha pogut accedir als directoris pares" +msgstr "getcwd: els directoris superiors són inaccessibles" -#: input.c:102 subst.c:5168 -#, fuzzy, c-format +#: input.c:102 subst.c:5858 +#, c-format msgid "cannot reset nodelay mode for fd %d" -msgstr "" -"no es pot copiar per duplicat el descriptor del fitxer df %d cap a df 0: %s" +msgstr "no s'ha pogut restablir el mode nodelay per a l'fd %d" #: input.c:271 -#, fuzzy, c-format +#, c-format msgid "cannot allocate new file descriptor for bash input from fd %d" -msgstr "" -"no s'ha pogut assignar una nova descripci? de fitxer per a l'entrada de " -"bash\n" -"a partir del descriptor de fitxer %d: %s" +msgstr "error en crear un fd nou a partir de l'fd %d" #: input.c:279 -#, fuzzy, c-format +#, c-format msgid "save_bash_input: buffer already exists for new fd %d" -msgstr "" -"check_bash_input: ja hi existeix mem?ria interm?dia per a la nova\n" -"descripci? de fitxer %d" +msgstr "save_bash_input: ja existia un buffer per al nou fd %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" -msgstr "" +msgstr "start_pipeline: pgrp de la canalització" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" -msgstr "" +msgstr "el pid bifurcat %d apareix a la tasca en execució %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" -msgstr "" +msgstr "s'elimina la tasca aturada %d amb grup de procés %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" -msgstr "" +msgstr "add_process: procés %5ld (%s) a the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" -msgstr "" +msgstr "add_process: el pid %5ld (%s) està marcat com a encara actiu" -#: jobs.c:1435 -#, fuzzy, c-format +#: jobs.c:1590 +#, c-format msgid "describe_pid: %ld: no such pid" -msgstr "describe_pid: L'identificador de proc?s (pid) no existeix (%d)!\n" +msgstr "describe_pid: %ld: no existeix tal pid" -#: jobs.c:1450 -#, fuzzy, c-format +#: jobs.c:1605 +#, c-format msgid "Signal %d" -msgstr "Senyal desconeguda #%d" +msgstr "Senyal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Fet" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Aturat" -#: jobs.c:1473 -#, fuzzy, c-format +#: jobs.c:1628 +#, c-format msgid "Stopped(%s)" -msgstr "Aturat" +msgstr "Aturat(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" -msgstr "S'est? executant" +msgstr "Executant-se" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" -msgstr "Fet (%d)" +msgstr "Fet(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" -msgstr "Fi d'execuci? amb l'estat %d" +msgstr "Sortida %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Estat desconegut" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " -msgstr "(la imatge del nucli ha estat bolcada) " +msgstr "(s'ha bolcat la memòria)" -#: jobs.c:1602 -#, fuzzy, c-format +# wd = working directory +#: jobs.c:1760 +#, c-format msgid " (wd: %s)" -msgstr "(wd ara: %s)\n" +msgstr " (dt: %s)" -#: jobs.c:1819 -#, fuzzy, c-format +#: jobs.c:1985 +#, c-format msgid "child setpgid (%ld to %ld)" -msgstr "error en l'execuci? de setpgid (%d a %d) en el proc?s fill %d: %s\n" +msgstr "setpgid (de %ld a %ld) per al procés inferior" -#: jobs.c:2138 nojobs.c:605 -#, fuzzy, c-format +#: jobs.c:2347 nojobs.c:654 +#, c-format msgid "wait: pid %ld is not a child of this shell" -msgstr "" -"wait: l'identificador del proc?s (pid) %d no ?s un fill d'aquest int?rpret" +msgstr "wait: el pid %ld no és un fill d'aquest intèrpret" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" -msgstr "" +msgstr "wait_for: No es té constància del procés %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" -msgstr "" +msgstr "wait_for_job: la tasca %d està aturada" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" -msgstr "%s: s'ha finalitzat la tasca" +msgstr "%s: la tasca ha acabat" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" -msgstr "" +msgstr "%s: la tasca %d ja es troba en segon pla" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" -msgstr "" +msgstr "waitchld: s'activa el WNOHANG per a evitar un bloqueig indefinit" -#: jobs.c:3711 -#, fuzzy, c-format +#: jobs.c:3970 +#, c-format msgid "%s: line %d: " -msgstr "encaix %3d:" +msgstr "%s línia %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" -msgstr " (bolcat de la imatge del nucli)" +msgstr " (s'ha bolcat la memòria)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" -msgstr "(wd ara: %s)\n" +msgstr "(dt ara: %s)\n" -#: jobs.c:3782 -#, fuzzy +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" -msgstr "initialize_jobs: getpgrp ha fallat: %s" +msgstr "initialize_job_control: getpgrp ha fallat" -#: jobs.c:3843 -#, fuzzy +#: jobs.c:4104 msgid "initialize_job_control: line discipline" -msgstr "initialize_jobs: disciplina de l?nia: %s" +msgstr "initialize_job_control: disciplina de línia" -#: jobs.c:3853 -#, fuzzy +#: jobs.c:4114 msgid "initialize_job_control: setpgid" -msgstr "initialize_jobs: getpgrp ha fallat: %s" +msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" -msgstr "" +msgstr "no s'ha pogut establir el grup de procés del terminal (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" -msgstr "no hi ha cap tasca de control dins d'aquest int?rpret" +msgstr "aquesta sessió no té control de tasques" #: lib/malloc/malloc.c:296 #, c-format msgid "malloc: failed assertion: %s\n" -msgstr "" +msgstr "malloc: asserció fallida: %s\n" +# error intern i el \r provoca warnings #: lib/malloc/malloc.c:312 #, c-format msgid "" @@ -1198,435 +1335,464 @@ msgid "" msgstr "" #: lib/malloc/malloc.c:313 -#, fuzzy msgid "unknown" -msgstr "" +msgstr "desconegut" #: lib/malloc/malloc.c:801 msgid "malloc: block on free list clobbered" -msgstr "" +msgstr "malloc: bloc abatussat a la llista de disponibles" #: lib/malloc/malloc.c:878 msgid "free: called with already freed block argument" -msgstr "" +msgstr "free: cridat amb un argument de bloc ja alliberat" #: lib/malloc/malloc.c:881 msgid "free: called with unallocated block argument" -msgstr "" +msgstr "free: cridat amb un argument bloc no assignat" #: lib/malloc/malloc.c:900 msgid "free: underflow detected; mh_nbytes out of range" -msgstr "" +msgstr "free: underflow detectat; mh_nbytes fora del domini" #: lib/malloc/malloc.c:906 msgid "free: start and end chunk sizes differ" -msgstr "" +msgstr "free: les mides inicial i final del fragment difereixen" #: lib/malloc/malloc.c:1005 msgid "realloc: called with unallocated block argument" -msgstr "" +msgstr "realloc: cridat amb un argument de bloc no assignat" #: lib/malloc/malloc.c:1020 msgid "realloc: underflow detected; mh_nbytes out of range" -msgstr "" +msgstr "realloc: underflow detectat: mh_nbytes fora del domini" #: lib/malloc/malloc.c:1026 msgid "realloc: start and end chunk sizes differ" -msgstr "" +msgstr "realloc: les mides inicial i final del fragment difereixen" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" -msgstr "" +msgstr "register_alloc: la taula alloc està plena amb FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" -msgstr "" +msgstr "register_alloc: %p ja es troba a la taula com a assignat?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" -msgstr "" +msgstr "register_free: %p ja es troba a la taula com a lliure?\n" #: lib/sh/fmtulong.c:102 msgid "invalid base" -msgstr "" +msgstr "base no vàlida" #: lib/sh/netopen.c:168 -#, fuzzy, c-format +#, c-format msgid "%s: host unknown" -msgstr "desconegut" +msgstr "%s: màquina desconeguda" #: lib/sh/netopen.c:175 #, c-format msgid "%s: invalid service" -msgstr "" +msgstr "%s: el servei no és vàlid" #: lib/sh/netopen.c:306 #, c-format msgid "%s: bad network path specification" -msgstr "" +msgstr "%s: la ubicació remota no és vàlida" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" -msgstr "" +msgstr "les operacions de xarxa no estan suportades" #: locale.c:200 #, c-format msgid "setlocale: LC_ALL: cannot change locale (%s)" -msgstr "" +msgstr "setlocale: LC_ALL: no s'ha pogut canviar el local (%s)" #: locale.c:202 #, c-format msgid "setlocale: LC_ALL: cannot change locale (%s): %s" -msgstr "" +msgstr "setlocale: LC_ALL: no s'ha pogut canviar el local (%s): %s" #: locale.c:259 -#, fuzzy, c-format +#, c-format msgid "setlocale: %s: cannot change locale (%s)" -msgstr "xrealloc: no es poden reassignar %lu octets (%lu octets reassignats)" +msgstr "setlocale: %s: no s'ha pogut canviar el local (%s)" #: locale.c:261 -#, fuzzy, c-format +#, c-format msgid "setlocale: %s: cannot change locale (%s): %s" -msgstr "xrealloc: no es poden reassignar %lu octets (%lu octets reassignats)" +msgstr "setlocale: %s: no s'ha pogut canviar el local (%s): %s" #: mailcheck.c:439 msgid "You have mail in $_" -msgstr "Teniu correu en $_" +msgstr "Teniu correu a $_" #: mailcheck.c:464 msgid "You have new mail in $_" -msgstr "Teniu correu nou en $_" +msgstr "Teniu correu nou a $_" #: mailcheck.c:480 #, c-format msgid "The mail in %s has been read\n" -msgstr "S'ha llegit el correu a %s\n" +msgstr "El correu de %s s'ha llegit\n" -#: make_cmd.c:323 -#, fuzzy +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" -msgstr "error de sintaxi a l'expressi?" +msgstr "error de sintaxi: fa falta una expressió aritmètica" -#: make_cmd.c:325 -#, fuzzy +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" -msgstr "error de sintaxi: s'ha arribat inesperadament a la fi del fitxer" +msgstr "error de sintaxi: `;' inesperat" -#: make_cmd.c:326 -#, fuzzy, c-format +#: make_cmd.c:332 +#, c-format msgid "syntax error: `((%s))'" -msgstr "error de sintaxi" +msgstr "error de sintaxi: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" -msgstr "make_here_document: el tipus d'instrucci? %d ?s incorrecte" +msgstr "make_here_document: tipus d'instrucció erroni %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" -msgstr "" +msgstr "document literal a la línia %d delimitat per EOF (volia `%s')" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" +msgstr "make_redirection: instrucció de redirecció `%d' fora del domini" + +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" msgstr "" -#: parse.y:3278 parse.y:3561 -#, fuzzy, c-format +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "s'ha excedit el nombre màxim de documents literals" + +# "echo $(echo" en un script +#: parse.y:3390 parse.y:3748 +#, c-format msgid "unexpected EOF while looking for matching `%c'" -msgstr "" -"s'ha arribat inesperadament a la fi del fitxer (EOF) mentre\n" -"es buscava per '%c'" +msgstr "EOF inesperat mentre es cercava un `%c'" -#: parse.y:4170 -#, fuzzy +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" -msgstr "" -"s'ha arribat inesperadament a la fi del fitxer (EOF) mentre\n" -"es buscava per '%c'" +msgstr "EOF inesperat mentre es cercava `]]'" -#: parse.y:4175 -#, fuzzy, c-format +#: parse.y:4415 +#, c-format msgid "syntax error in conditional expression: unexpected token `%s'" -msgstr "hi ha un error inesperat de sintaxi prop del senyal '%s'" +msgstr "error de sintaxi a l'expressió condicional: element `%s' inesperat" -#: parse.y:4179 -#, fuzzy +#: parse.y:4419 msgid "syntax error in conditional expression" -msgstr "error de sintaxi a l'expressi?" +msgstr "error de sintaxi a l'expressió condicional" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" -msgstr "" +msgstr "element `%s' inesperat, s'esperava `)'" -#: parse.y:4261 -#, fuzzy +#: parse.y:4501 msgid "expected `)'" -msgstr "s'esperava ')'" +msgstr "s'esperava `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" -msgstr "" +msgstr "argument `%s' inesperat a l'operador unari condicional" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" -msgstr "" +msgstr "argument inesperat a l'operador unari condicional" -#: parse.y:4339 -#, fuzzy, c-format +#: parse.y:4579 +#, c-format msgid "unexpected token `%s', conditional binary operator expected" -msgstr "%s: s'esperava un operador binari" +msgstr "element `%s' inesperat, s'esperava un operador binari condicional" -#: parse.y:4343 -#, fuzzy +#: parse.y:4583 msgid "conditional binary operator expected" -msgstr "%s: s'esperava un operador binari" +msgstr "s'esperava un operador binari condicional" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" -msgstr "" +msgstr "argument inesperat `%s' a un operador binari condicional" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" -msgstr "" +msgstr "argument inesperat a un operador binari condicional" -#: parse.y:4380 -#, fuzzy, c-format +#: parse.y:4620 +#, c-format msgid "unexpected token `%c' in conditional command" -msgstr "s'esperava ':' per a l'expressi? condicional" +msgstr "element `%c' inesperat en una ordre condicional" -#: parse.y:4383 -#, fuzzy, c-format +#: parse.y:4623 +#, c-format msgid "unexpected token `%s' in conditional command" -msgstr "s'esperava ':' per a l'expressi? condicional" +msgstr "element `%s' inesperat en una ordre condicional" -#: parse.y:4387 -#, fuzzy, c-format +#: parse.y:4627 +#, c-format msgid "unexpected token %d in conditional command" -msgstr "s'esperava ':' per a l'expressi? condicional" +msgstr "element `%d' inesperat en una ordre condicional" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" -msgstr "hi ha un error inesperat de sintaxi prop del senyal '%s'" +msgstr "error de sintaxi a prop de l'element inesperat `%s'" -#: parse.y:5755 -#, fuzzy, c-format +#: parse.y:6014 +#, c-format msgid "syntax error near `%s'" -msgstr "hi ha un error inesperat de sintaxi prop del senyal '%s'" +msgstr "error de sintaxi a prop de `%s'" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" -msgstr "error de sintaxi: s'ha arribat inesperadament a la fi del fitxer" +msgstr "error de sintaxi: final de fitxer inesperat" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "error de sintaxi" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" -msgstr "Utilitzeu ?%s? per a eixir de l'int?rpret d'ordres.\n" +msgstr "Useu \"%s\" per a deixar l'intèrpret.\n" -#: parse.y:5989 -#, fuzzy +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" -msgstr "" -"s'ha arribat inesperadament a la fi del fitxer (EOF) mentre\n" -"es buscava per '%c'" +msgstr "EOF inesperat mentre es buscava un `)'" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" +msgstr "completion: la funció `%s' no s'ha trobat" + +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" msgstr "" #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" -msgstr "" +msgstr "progcomp_insert: %s: el paràmetre COMPSPEC és NUL" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" -msgstr "print_command: el connector '%d' ?s incorrecte" +msgstr "print_command: el connector `%d' és erroni" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" -msgstr "" +msgstr "xtrace_set: %d: el descriptor de fitxer no és vàlid" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" -msgstr "" +msgstr "xtrace_set: el punter de fitxer és NUL" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" -msgstr "" +msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" -msgstr "" +msgstr "cprintf: `%c': el caràcter de format no és vàlid" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" -msgstr "" +msgstr "descriptor de fitxer fora del domini" -#: redir.c:177 -#, fuzzy, c-format +#: redir.c:178 +#, c-format msgid "%s: ambiguous redirect" -msgstr "%s: Redirecci? ambigua" +msgstr "%s: redirecció ambigua" -# No acabe d'entendre el significat de l'original "clobber" -#: redir.c:181 -#, fuzzy, c-format +# opció noclobber +#: redir.c:182 +#, c-format msgid "%s: cannot overwrite existing file" -msgstr "%s: No s'ha pogut sobreescriure el fitxer existent" +msgstr "%s: no es pot escriure sobre un fitxer existent" -#: redir.c:186 -#, fuzzy, c-format +#: redir.c:187 +#, c-format msgid "%s: restricted: cannot redirect output" -msgstr "%s: restringit: no es pot especificar '/' en noms d'ordres" +msgstr "%s: restricció: no podeu redirigir la sortida" -#: redir.c:191 -#, fuzzy, c-format +#: redir.c:192 +#, c-format msgid "cannot create temp file for here-document: %s" -msgstr "no es pot establir un conducte per a la substituci? del proc?s: %s" +msgstr "no s'ha pogut crear el fitxer temporal per a un document literal: %s" -#: redir.c:195 -#, fuzzy, c-format +#: redir.c:196 +#, c-format msgid "%s: cannot assign fd to variable" -msgstr "%s: no es pot assignar la llista a un element de la matriu" +msgstr "%s: no és possible assignar un fd a una variable" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" -msgstr "" +msgstr "/dev/(tcp|udp)/host/port no està suportat si no hi ha xarxa" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 -#, fuzzy +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" -msgstr "error de redirecci?" +msgstr "error de redirecció: no es pot duplicar l'fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" -msgstr "" +msgstr "no s'ha trobat el directori /tmp, sisplau creeu-lo!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" +msgstr "/tmp ha de ser un nom de directori vàlid" + +#: shell.c:927 +#, c-format +msgid "%c%c: invalid option" +msgstr "%c%c: l'opció no és vàlida" + +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "no s'ha pogut restablir el mode nodelay per a l'fd %d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "no s'ha pogut restablir el mode nodelay per a l'fd %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" msgstr "" -#: shell.c:890 +#: shell.c:1566 #, fuzzy, c-format -msgid "%c%c: invalid option" -msgstr "%c%c: opci? inv?lida" +msgid "%s: Is a directory" +msgstr "%s: és un directori" -#: shell.c:1682 +#: shell.c:1777 msgid "I have no name!" -msgstr "No tinc cap nom d'usuari!" +msgstr "No teniu nom!" -#: shell.c:1827 -#, fuzzy, c-format +#: shell.c:1930 +#, c-format msgid "GNU bash, version %s-(%s)\n" -msgstr "GNU %s, versi? %s\n" +msgstr "GNU bash, versió %s-(%s)\n" -#: shell.c:1828 +# +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" msgstr "" -"Sintaxi:\t%s [opci?-format-llarg GNU] [opci?] ...\n" -"\t%s [opci?-format-llarg GNU] [opci?] fitxer_de_seq??ncies ...\n" +"Sintaxi:\t%s [opció GNU llarga] [opció] ...\n" +"\t\t%s [opció GNU llarga] [opció] fitxer-script ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" -msgstr "opcions de formes llargues de GNU:\n" +msgstr "Opcions GNU llargues:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" -msgstr "Opcions de l'int?rpret d'ordres:\n" +msgstr "Opcions de l'intèrpret:\n" -#: shell.c:1835 -#, fuzzy +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -msgstr "\t-irsD o -c ordre\t\t(nom?s per a invocar)\n" +msgstr "\t-ilrsD, o -c ordre, o bé -O opció_intèrpret\t(només invocació)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" -msgstr "\t-%s o -o opci?\n" +msgstr "\t-%s, o bé -o opció\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" -"Per a obtindre m?s informaci? sobre les opcions de l'int?rpret\n" -"d'ordres, teclegeu ?%s -c \"help set\"?.\n" +"Feu `%s -c \"help set\"' per a informació sobre les opcions de l'intèrpret.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" -msgstr "" -"Per a obtindre m?s informaci? sobre les ordres integrades de l'int?rpret,\n" -"teclegeu '%s -c help' .\n" +msgstr "Feu `%s -c help' per a obtenir informació sobre les ordres internes.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" -msgstr "" +msgstr "Feu servir l'ordre `bashbug' per a comunicar `bugs'.\n" + +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "pàgina web de bash: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "Ajuda general per a programari GNU: \n" -#: sig.c:691 +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" -msgstr "" +msgstr "sigprocmask: %d: l'operació no és vàlida" #: siglist.c:48 msgid "Bogus signal" -msgstr "Senyal falsa" +msgstr "Senyal no fiable" +# Senyals POSIX #: siglist.c:51 msgid "Hangup" -msgstr "Penjar" +msgstr "Desconnexió" #: siglist.c:55 msgid "Interrupt" -msgstr "Interrumpeix" +msgstr "Interrupció" #: siglist.c:59 msgid "Quit" -msgstr "Eixir" +msgstr "Sortida" #: siglist.c:63 msgid "Illegal instruction" -msgstr "Instrucci? ilžlegal" +msgstr "Instrucció il·legal" #: siglist.c:67 msgid "BPT trace/trap" -msgstr "BPT rastrejament/captura" +msgstr "Traçat/trampa BPT" #: siglist.c:75 msgid "ABORT instruction" -msgstr "Instrucci? d'avortament (ABORT)" +msgstr "Instrucció ABORT" #: siglist.c:79 msgid "EMT instruction" -msgstr "Instrucci? per a emular una captura EMT" +msgstr "Instrucció EMT" #: siglist.c:83 msgid "Floating point exception" -msgstr "Excepci? en operaci? amb coma flotant" +msgstr "Excepció de coma flotant" #: siglist.c:87 msgid "Killed" -msgstr "Finalitzat" +msgstr "Mort" #: siglist.c:91 msgid "Bus error" @@ -1634,33 +1800,27 @@ msgstr "Error de bus" #: siglist.c:95 msgid "Segmentation fault" -msgstr "Violaci? de segment" +msgstr "Violació de segment" #: siglist.c:99 msgid "Bad system call" -msgstr "Crida inv?lida del sistema" +msgstr "Crida de sistema errònia" #: siglist.c:103 msgid "Broken pipe" -msgstr "Conducte trencat" +msgstr "Canalització trencada" #: siglist.c:107 msgid "Alarm clock" -msgstr "Temporitzador" +msgstr "Alarma de rellotge" #: siglist.c:111 -#, fuzzy msgid "Terminated" -msgstr "" -"opci? incorrecta, la funci? getopts() introdueix el signe '?' dins de\n" -"la variable NAME i esborra la variable OPTARG. Si no es troba una \n" -"opci? necess?ria, s'introdueix el signe '?' en la variable NAME, \n" -"s'esborra la variable OPTARG, i s'imprimir? un missatge de\n" -"diagn?stic." +msgstr "Finalitzat" #: siglist.c:115 msgid "Urgent IO condition" -msgstr "Condici? urgent d'Entrada/Eixida (En/Ei)" +msgstr "Estat E/S urgent" #: siglist.c:119 msgid "Stopped (signal)" @@ -1672,27 +1832,27 @@ msgstr "Continua" #: siglist.c:135 msgid "Child death or stop" -msgstr "S'ha mort o s'ha aturat el proc?s fill" +msgstr "Procés inferior mort o aturat" #: siglist.c:139 msgid "Stopped (tty input)" -msgstr "Aturat (entrada per terminal)" +msgstr "Aturat (entrada tty)" #: siglist.c:143 msgid "Stopped (tty output)" -msgstr "Aturat (eixida per terminal)" +msgstr "Aturat (sortida tty)" #: siglist.c:147 msgid "I/O ready" -msgstr "Entrada/Eixida preparades" +msgstr "E/S a punt" #: siglist.c:151 msgid "CPU limit" -msgstr "L?mit de la UCP" +msgstr "Limitació de CPU" #: siglist.c:155 msgid "File limit" -msgstr "L?mit de la grand?ria del fitxer" +msgstr "Limitació de fitxers" #: siglist.c:159 msgid "Alarm (virtual)" @@ -1700,734 +1860,693 @@ msgstr "Alarma (virtual)" #: siglist.c:163 msgid "Alarm (profile)" -msgstr "Alarma (entorn)" +msgstr "Alarma (perfil)" #: siglist.c:167 msgid "Window changed" -msgstr "S'ha canviat la finestra" +msgstr "Variació de la finestra" #: siglist.c:171 msgid "Record lock" -msgstr "Bloqueig de gravaci?" +msgstr "Bloqueig de registre" #: siglist.c:175 msgid "User signal 1" -msgstr "Senyal 1 definida per l'usuari" +msgstr "Senyal d'usuari 1" #: siglist.c:179 msgid "User signal 2" -msgstr "Senyal 2 definida per l'usuari" +msgstr "Senyal d'usuari 2" #: siglist.c:183 msgid "HFT input data pending" -msgstr "pendent de l'entrada de dades HFT" +msgstr "Dades d'entrada HFT pendents" #: siglist.c:187 msgid "power failure imminent" -msgstr "fallida imminent d'energia" +msgstr "fallada imminent de l'alimentació" #: siglist.c:191 msgid "system crash imminent" -msgstr "fallida imminent del sistema" +msgstr "fallada imminent del sistema" #: siglist.c:195 msgid "migrate process to another CPU" -msgstr "proc?s de migraci? cap a un altre UPC en curs" +msgstr "migració del procés a una altra CPU" #: siglist.c:199 msgid "programming error" -msgstr "error de programaci?" +msgstr "error de programació" #: siglist.c:203 msgid "HFT monitor mode granted" -msgstr "S'ha concedit el mode de monitor HFT" +msgstr "mode de monitoratge HFT concedit" #: siglist.c:207 msgid "HFT monitor mode retracted" -msgstr "S'ha rebutjat el mode de monitor HFT" +msgstr "mode de monitoratge HFT retractat" #: siglist.c:211 msgid "HFT sound sequence has completed" -msgstr "S'ha completat la seq??ncia de so HFT" +msgstr "seqüència d'àudio HFT completada" #: siglist.c:215 msgid "Information request" -msgstr "" +msgstr "Petició d'informació" #: siglist.c:223 msgid "Unknown Signal #" -msgstr "Senyal desconeguda #" +msgstr "Senyal Desconegut #" #: siglist.c:225 #, c-format msgid "Unknown Signal #%d" -msgstr "Senyal desconeguda #%d" +msgstr "Senyal Desconegut #%d" -#: subst.c:1362 subst.c:1520 -#, fuzzy, c-format +# missatge similar a subst.c:75XX +#: subst.c:1445 subst.c:1608 +#, c-format msgid "bad substitution: no closing `%s' in %s" -msgstr "substituci? inv?lida: no existeix '%s' en %s" +msgstr "substitució errònia: falta un `%s' a %s" -#: subst.c:2847 +# foo[1]=(1 2 3) +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" -msgstr "%s: no es pot assignar la llista a un element de la matriu" +msgstr "%s: no és possible assignar llistes a l'element d'un vector" -#: subst.c:5065 subst.c:5081 -#, fuzzy +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" -msgstr "no es pot establir un conducte per a la substituci? del proc?s: %s" +msgstr "no s'ha pogut crear la canalització per a la substitució de procés" -#: subst.c:5113 -#, fuzzy +#: subst.c:5798 msgid "cannot make child for process substitution" -msgstr "no es pot establir un proc?s fill per a la substituci? del proc?s: %s" +msgstr "no s'ha pogut crear el fill per a la substitució de procés" -#: subst.c:5158 -#, fuzzy, c-format +#: subst.c:5848 +#, c-format msgid "cannot open named pipe %s for reading" -msgstr "no es pot obrir el conducte anomenat %s per a %s: %s" +msgstr "no s'ha pogut obrir la canalització %s amb permís de lectura" -#: subst.c:5160 -#, fuzzy, c-format +#: subst.c:5850 +#, c-format msgid "cannot open named pipe %s for writing" -msgstr "no es pot obrir el conducte anomenat %s per a %s: %s" +msgstr "no s'ha pogut obrir la canalització %s per a escriure-hi" -#: subst.c:5178 -#, fuzzy, c-format +#: subst.c:5873 +#, c-format msgid "cannot duplicate named pipe %s as fd %d" -msgstr "" -"no es pot duplicar el conducte anomenat %s\n" -"com a descripci? de fitxer %d: %s" +msgstr "no s'ha pogut duplicar la canalització %s com a fd %d" -#: subst.c:5376 +#: subst.c:5959 #, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "subtitució errònia: no hi ha \"`\" final a %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" -msgstr "no es poden establir conductes per a la substituci? de l'ordre: %s" +msgstr "no s'ha pogut crear la canalització per a la substitució d'ordre" -#: subst.c:5414 -#, fuzzy +#: subst.c:6127 msgid "cannot make child for command substitution" -msgstr "no es pot crear un proc?s fill per a la substituci? del proc?s: %s" +msgstr "no s'ha pogut crear un fill per a la substitució d'ordre" -#: subst.c:5433 -#, fuzzy +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" -msgstr "" -"command_substitute(): el coducte no es pot duplicar\n" -"com a descripci? de fitxer 1: %s" +msgstr "command_substitute: no s'ha pogut duplicar la canalització com a fd 1" -#: subst.c:5837 subst.c:8050 +# buscar context +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" -msgstr "" +msgstr "%s: el nom de la variable referenciada no és vàlid" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 #, c-format -msgid "%s: parameter null or not set" -msgstr "%s: par?metre nul o no ajustat" +msgid "%s: bad substitution" +msgstr "%s: substitució errònia" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: el nombre de línies no és vàlid" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "`%s': el nom de l'àlies no és valid" -#: subst.c:6320 subst.c:6335 +#: subst.c:6854 #, c-format -msgid "%s: substring expression < 0" -msgstr "%s: la sub-cadena de l'expressi? ?s < 0" +msgid "%s: parameter null or not set" +msgstr "%s: paràmetre nul o no definit" -#: subst.c:7506 +#: subst.c:7089 subst.c:7104 #, c-format -msgid "%s: bad substitution" -msgstr "%s: substituci? inv?lida" +msgid "%s: substring expression < 0" +msgstr "%s: expressió de subcadena < 0" -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" -msgstr "$%s: no es pot assignar d'aquesta manera" +msgstr "$%s: no és possible assignar d'aquesta manera" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" -msgstr "" +msgstr "en futures versions s'evaluarà com a substitució aritmètica" -#: subst.c:8421 -#, fuzzy, c-format +#: subst.c:9349 +#, c-format msgid "bad substitution: no closing \"`\" in %s" -msgstr "substituci? inv?lida: no existeix '%s' en %s" +msgstr "subtitució errònia: no hi ha \"`\" final a %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" -msgstr "" +msgstr "cap coincidència: %s" #: test.c:147 msgid "argument expected" -msgstr "s'esperava un par?metre" +msgstr "s'esperava un argument" #: test.c:156 #, c-format msgid "%s: integer expression expected" -msgstr "%s: s'esperava una expressi? de nombre enter" +msgstr "%s: s'esperava una expressió amb enters" -#: test.c:264 +#: test.c:265 msgid "`)' expected" -msgstr "s'esperava ')'" +msgstr "s'esperava `)'" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" -msgstr "mentre es buscava ?)?, s'ha trobat %s" +msgstr "s'esperava `)', trobat %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: s'esperava un operador unari" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: s'esperava un operador binari" -#: test.c:860 +#: test.c:869 msgid "missing `]'" -msgstr "s'ha perdut algun ']'" +msgstr "falta un `]'" -#: trap.c:217 -#, fuzzy +#: trap.c:224 msgid "invalid signal number" -msgstr "n?mero inv?lid de senyal" +msgstr "el nombre de senyal no és vàlid" -#: trap.c:371 +# internal warning +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "" -#: trap.c:375 +# internal warning +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" -#: trap.c:428 -#, fuzzy, c-format +#: trap.c:447 +#, c-format msgid "trap_handler: bad signal %d" -msgstr "trap_handler: Senyal inv?lida %d" +msgstr "trap_handler: senyal erroni %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" -msgstr "'%s': error en importar la definici? de la funci?" +msgstr "error en importar la definició de funció de `%s'" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" -msgstr "" - -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" +msgstr "el nivell de l'intèrpret (%d) és massa elevat, es restableix a 1" -#: variables.c:2228 +# error intern +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "" -#: variables.c:2247 -#, fuzzy, c-format +#: variables.c:2432 +#, c-format msgid "%s: variable may not be assigned value" -msgstr "%s: no es pot assignar la llista a un element de la matriu" +msgstr "%s: no és possible assignar un valor a la variable" + +# buscar context +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: el nom de la variable referenciada no és vàlid" -#: variables.c:3646 +# error intern +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "" -#: variables.c:3891 -#, fuzzy, c-format +#: variables.c:4218 +#, c-format msgid "%s has null exportstr" -msgstr "%s: par?metre nul o no ajustat" +msgstr "%s: el paràmetre exportstr és nul" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" -msgstr "" +msgstr "el caràcter %d en el paràmetre exportstr de %s no és vàlid" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" -msgstr "" +msgstr "falta un `=' en el paràmetre exportstr de %s" -#: variables.c:4344 +# error intern +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" -#: variables.c:4357 +# error intern +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "" -#: variables.c:4431 +# error intern +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" -#: variables.c:5257 -#, fuzzy, c-format +# error intern +#: variables.c:5619 +#, c-format msgid "%s: %s: cannot open as FILE" -msgstr "%s: no es pot crear: %s" +msgstr "%s: %s: no s'ha pogut obrir com a FITXER" -#: variables.c:5262 +# error intern +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" -msgstr "" +msgstr "%s: %s: el valor de compatibilitat és fora del domini" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "" +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2013 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" "License GPLv3+: GNU GPL version 3 or later \n" msgstr "" +"Llicència GPLv3+: GNU GPL versió 3 o posterior\n" +" \n" #: version.c:86 version2.c:86 -#, fuzzy, c-format +#, c-format msgid "GNU bash, version %s (%s)\n" -msgstr "GNU %s, versi? %s\n" +msgstr "GNU bash, versió %s (%s)\n" #: version.c:91 version2.c:91 msgid "This is free software; you are free to change and redistribute it." msgstr "" +"Aquest programa és lliure; sou lliures de modificar-lo i redistribuir-lo." #: version.c:92 version2.c:92 msgid "There is NO WARRANTY, to the extent permitted by law." -msgstr "" - -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "" +msgstr "No hi ha CAP GARANTIA, fins a l'extrem permès per la llei." #: xmalloc.c:91 -#, fuzzy, c-format +#, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "xmalloc: no es poden assignar %lu octets (%lu octets assignats)" +msgstr "%s: no s'han pogut assignar %lu octets (%lu octets assignats)" #: xmalloc.c:93 -#, fuzzy, c-format +#, c-format msgid "%s: cannot allocate %lu bytes" -msgstr "xmalloc: no es poden assignar %lu octets (%lu octets assignats)" +msgstr "%s: no s'han pogut assignar %lu octets" #: xmalloc.c:163 -#, fuzzy, c-format +#, c-format msgid "%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "xmalloc: no es poden assignar %lu octets (%lu octets assignats)" +msgstr "%s: %s:%d: no s'han pogut assignar %lu octets (%lu octets assignats)" #: xmalloc.c:165 -#, fuzzy, c-format +#, c-format msgid "%s: %s:%d: cannot allocate %lu bytes" -msgstr "xmalloc: no es poden assignar %lu octets (%lu octets assignats)" +msgstr "%s: %s:%d: no s'han pogut assignar %lu octets" -#: builtins.c:43 +# help alias +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" -msgstr "alias [-p] [nom[=valor] ... ]" +msgstr "alias [-p] [nom[=valor] ...]" -#: builtins.c:47 -#, fuzzy +# help unalias +#: builtins.c:49 msgid "unalias [-a] name [name ...]" -msgstr "unalias [-a] [nom ...]" +msgstr "unalias [-a] nom [nom ...]" -#: builtins.c:51 -#, fuzzy +# help bind +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -"bind [-lpvsPVS] [-m keymap] [-f fitxer] [-q nom] [-r keyseq] [keyseq:funci?-" -"readline] " +"bind [-lpsvPSVX] [-m mapa] [-f fitxer] [-q nom] [-u nom] [-r tecles] [-x " +"tecles:ordre-intèrpret] [tecles:funció-readline o ordre-readline]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [ordre-interna [arg ...]]" -#: builtins.c:61 -#, fuzzy +#: builtins.c:63 msgid "caller [expr]" -msgstr "test [expressi?]" - -#: builtins.c:64 -#, fuzzy -msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-PL] [directori]" +msgstr "caller [expr]" #: builtins.c:66 -#, fuzzy -msgid "pwd [-LP]" -msgstr "pwd [-PL]" +msgid "cd [-L|[-P [-e]] [-@]] [dir]" +msgstr "cd [-L|[-P [-e]] [-@]] [dir]" #: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "" - -#: builtins.c:72 -msgid "false" -msgstr "" - -#: builtins.c:74 -msgid "command [-pVv] command [arg ...]" -msgstr "command [-pVv] ordre [par?metre ...]" +msgid "pwd [-LP]" +msgstr "pwd [-LP]" #: builtins.c:76 -#, fuzzy -msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "declare [-afFrxi] [-p] nom[=valor] ..." +msgid "command [-pVv] command [arg ...]" +msgstr "command [-pVv] ordre [arg ...]" #: builtins.c:78 -#, fuzzy -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-afFrxi] [-p] nom[=valor] ..." +msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [nom[=valor] ...]" #: builtins.c:80 #, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilrtux] [-p] nom[=valor] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." -msgstr "local nom[=valor] ..." +msgstr "local [opció] nom[=valor] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" -msgstr "echo [-neE] [par?metre ...]" +msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" -msgstr "echo [-n] [par?metre ...]" +msgstr "echo [-n] [arg ...]" -#: builtins.c:90 -#, fuzzy +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" -msgstr "enable [-pnds] [-a] [-f fitxer] [nom ...]" +msgstr "enable [-a] [-dnps] [-f fitxer] [nom ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" -msgstr "eval [par?metre ...]" +msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" -msgstr "getopts cadena_opcions nom [par?metre]" +msgstr "getopts cadena nom [arg]" -#: builtins.c:96 -#, fuzzy +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" -msgstr "exec [-cl] [-a nom] fitxer [redireccionament ...]" +msgstr "exec [-cl] [-a nom] [ordre [arguments ...]] [redirecció ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 -#, fuzzy +#: builtins.c:102 msgid "logout [n]" -msgstr "fi de sessi?" +msgstr "logout [n]" -#: builtins.c:103 -#, fuzzy +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" -msgstr "" -"fc [-e nom_e] [-nlr] [primer] [darrer]\n" -"o\n" -"fc -s [patr?=rep] [ordre]" +msgstr "fc [-e editor] [-lnr] [primer] [últim] o fc -s [pat=sub] [ordre]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" -msgstr "fg [id_tasca]" +msgstr "fg [tasca]" -#: builtins.c:111 -#, fuzzy +#: builtins.c:113 msgid "bg [job_spec ...]" -msgstr "bg [id_tasca]" +msgstr "bg [tasca ...]" -#: builtins.c:114 -#, fuzzy +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" -msgstr "hash [-r] [-p cam?] [nom ...]" +msgstr "hash [-lr] [-p ubicació] [-dt] [nom ...]" -#: builtins.c:117 -#, fuzzy +#: builtins.c:119 msgid "help [-dms] [pattern ...]" -msgstr "help [patr? ...]" +msgstr "help [-dms] [patró ...]" -#: builtins.c:121 -#, fuzzy +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" -"history [-c] [n]\n" -"o\n" -"history -awrn [fitxer]\n" -"o\n" -"history -ps par?metre [par?metre...]" +"history [-c] [-d offset] [n] o history -anrw [fitxer] o history -ps arg " +"[arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" -msgstr "" -"jobs [-lnprs] [id_tasca ...]\n" -"o\n" -"jobs -x ordre [par?metres]" +msgstr "jobs [-lnprs] [tasca ...] o jobs -x ordre [args]" -#: builtins.c:129 +#: builtins.c:131 #, fuzzy -msgid "disown [-h] [-ar] [jobspec ...]" -msgstr "disown [id_tasca ...]" +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" +msgstr "disown [-h] [-ar] [tasca ...]" -#: builtins.c:132 -#, fuzzy +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" msgstr "" -"kill [-s id_senyal | -n n?m_senyal | -id_senyal] [id_proc?s | tasca]...\n" -"o\n" -"kill -l [id_senyal]" +"kill [-s senyal | -n númsenyal | -senyal] pid | tasca ... o kill -l [senyal]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" -msgstr "let par?metres [par?metres ...]" +msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" +"read [-ers] [-a vector] [-d delim] [-i text] [-n núm] [-N núm] [-p introd] [-" +"t espera] [-u fd] [nom ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 -#, fuzzy +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -msgstr "set [--abefhkmnptuvxBCHP] [-o opci?] [par?metres ...]" +msgstr "set [-abefhkmnptuvxBCHP] [-o nom-opció] [--] [arg ...]" -#: builtins.c:142 -#, fuzzy +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "unset [-f] [-v] [nom ...]" +msgstr "unset [-f] [-v] [-n] [nom ...]" -#: builtins.c:144 -#, fuzzy +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" -msgstr "" -"export [-nf] [nom ...]\n" -"o\n" -"export -p" +msgstr "export [-fn] [nom[=valor] ...] o bé export -p" -#: builtins.c:146 -#, fuzzy +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" -msgstr "" -"readonly [-anf] [nom ...]\n" -"o\n" -"readonly -p" +msgstr "readonly [-aAf] [nom[=valor] ...] o bé readonly -p" -#: builtins.c:148 -#, fuzzy +#: builtins.c:150 msgid "shift [n]" -msgstr "exit [n]" +msgstr "shift [n]" -#: builtins.c:150 -#, fuzzy +#: builtins.c:152 msgid "source filename [arguments]" -msgstr "nom del fitxer d'origen" +msgstr "source fitxer [arguments]" -#: builtins.c:152 -#, fuzzy +#: builtins.c:154 msgid ". filename [arguments]" -msgstr ". nom del fitxer" +msgstr ". fitxer [arguments]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 -msgid "test [expr]" -msgstr "test [expressi?]" - #: builtins.c:160 -msgid "[ arg... ]" -msgstr "[ par?metres... ]" +msgid "test [expr]" +msgstr "test [expr]" #: builtins.c:162 -msgid "times" -msgstr "times" +msgid "[ arg... ]" +msgstr "[ arg... ]" -#: builtins.c:164 -#, fuzzy +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" -msgstr "" -"trap [par?metres] [id_senyal], o \n" -"trap -l" +msgstr "trap [-lp] [[arg] senyal ...]" -#: builtins.c:166 -#, fuzzy +#: builtins.c:168 msgid "type [-afptP] name [name ...]" -msgstr "type [-apt] nom [nom ...]" +msgstr "type [-afptP] nom [nom ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHacdfmstpnuv] [l?mit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [límit]" -#: builtins.c:172 -#, fuzzy +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" -msgstr "umask [-S] [mode]" +msgstr "umask [-p] [-S] [mode]" -#: builtins.c:175 -#, fuzzy +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "wait [n]" +msgstr "wait [-n] [id ...]" -#: builtins.c:179 -#, fuzzy +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "wait [n]" +msgstr "wait [pid ...]" -#: builtins.c:182 -#, fuzzy +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" -msgstr "for NOM [in PARAULES ... ;] do ORDRES; done" +msgstr "for NOM [in PARAULES ... ] ; do ORDRES; done" -#: builtins.c:184 -#, fuzzy +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" -msgstr "for NOM [in PARAULES ... ;] do ORDRES; done" +msgstr "for (( exp1; exp2; exp3 )); do ORDRES; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NOM [in PARAULES ... ;] do ORDRES; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" -msgstr "" +msgstr "time [-p] canalització" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" -msgstr "case PARAULES in [PATR? [| PATR?]...) ORDRES ;;]... esac" +msgstr "case PARAULA in [PATRÓ [| PATRÓ]...) ORDRES ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" msgstr "" "if ORDRES; then ORDRES; [ elif ORDRES; then ORDRES; ]... [ else ORDRES; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while ORDRES; do ORDRES; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until ORDRES; do ORDRES; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" -msgstr "" +msgstr "coproc [NOM] ordre [redireccions]" -#: builtins.c:200 -#, fuzzy +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" -msgstr "function NOM { ORDRES ; } or NOM () { ORDRES ; }" +msgstr "function nom { ORDRES ; } o bé nom () { ORDRES ; }" -#: builtins.c:202 -#, fuzzy +#: builtins.c:204 msgid "{ COMMANDS ; }" -msgstr "{ ORDRES }" +msgstr "{ ORDRES ; }" -#: builtins.c:204 -#, fuzzy +#: builtins.c:206 msgid "job_spec [&]" -msgstr "fg [id_tasca]" +msgstr "tasca [&]" -#: builtins.c:206 -#, fuzzy +#: builtins.c:208 msgid "(( expression ))" -msgstr "s'esperava una expressi?" +msgstr "(( expressió ))" -#: builtins.c:208 -#, fuzzy +#: builtins.c:210 msgid "[[ expression ]]" -msgstr "s'esperava una expressi?" +msgstr "[[ expressió ]]" -#: builtins.c:210 -#, fuzzy +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" -msgstr "Es permeten les variables de l'int?rpret d'ordres com a operands. El" +msgstr "variables - Noms i significat d'algunes variables de l'intèrpret" -#: builtins.c:213 -#, fuzzy +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" -msgstr "pushd [directori | +N | -N] [-n]" +msgstr "pushd [-n] [+N | -N | dir]" -#: builtins.c:217 -#, fuzzy +#: builtins.c:219 msgid "popd [-n] [+N | -N]" -msgstr "popd [+N | -N] [-n]" +msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 -#, fuzzy +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" -msgstr "shopt [-pqsu] [-o opci?_format_llarg] nom_opci? [nom_opci?...]" +msgstr "shopt [-pqsu] [-o] [opció ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" -msgstr "" +msgstr "printf [-v var] format [arguments]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" +"complete [-abcdefgjksuv] [-pr] [-DE] [-o opció] [-A acció] [-G patró] [-W " +"llista] [-F funció] [-C ordre] [-X filtre] [-P prefix] [-S sufix] [nom ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" +"compgen [-abcdefgjksuv] [-o opció] [-A acció] [-G patró] [-W llista] [-F " +"funció] [-C ordre] [-X filtre] [-P prefix] [-S sufix] [paraula]" -#: builtins.c:237 -#, fuzzy +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" -msgstr "type [-apt] nom [nom ...]" +msgstr "compopt [-o|+o opció] [-DE] [nom ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" +"mapfile [-n nombre] [-O origen] [-s nombre] [-t] [-u fd] [-C callback] [-c " +"quàntum] [vector]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" +"readarray [-n nombre] [-O origen] [-s nombre] [-t] [-u fd] [-C callback] [-c " +"quàntum] [vector]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2439,27 +2558,49 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " "been\n" " defined." msgstr "" +"Defineix o mostra àlies.\n" +"\n" +" Sense arguments, `alias' mostra la llista d'àlies definits, en forma de\n" +" `alias NOM=VALOR' a la sortida estàndard.\n" +"\n" +" Altrament, defineix un àlies per a cada NOM per al qual existeix un\n" +" VALOR. Un espai al final de VALOR fa que la paraula següent sigui\n" +" susceptible de ser substituïda per un àlies quan s'expandeix l'àlies.\n" +"\n" +" Opcions:\n" +" -p Mostra tots els àlies definits en un format reutilitzable\n" +"\n" +" Estat de sortida:\n" +" alias torna cert, excepte si heu proporcionat un NOM per al qual no " +"s'ha\n" +" definit cap àlies." -#: builtins.c:276 +#: builtins.c:278 #, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" -"Es treuen NOMs de la llista de les definicions d'?lies. Si s'especifica" +"Esborra cada NOM de la llista d'àlies definits.\n" +"\n" +" Opcions:\n" +" -a esborra totes les definicions d'àlies.\n" +"\n" +" Retorna èxit excepte si NOM no és un àlies existent." -#: builtins.c:289 +#: builtins.c:291 +#, fuzzy msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2493,15 +2634,57 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" +"Defineix vincles de tecla i variables Readline.\n" +"\n" +" Vincula una seqüència de tecles a una funció o macro Readline, o bé\n" +" defineix una variable Readline. La sintaxi dels arguments no-opcions " +"és\n" +" la mateixa que la del fixer ~/.inputrc, però s'ha de passar com a un\n" +" únic argument: per exemple, bind '\"\\C-x\\C-r\": re-read-init-file'.\n" +"\n" +" Opcions:\n" +" -m mapa Usa `mapa' com a mapa de tecles mentre duri aquesta\n" +" ordre. Els noms de mapes acceptables són emacs, emacs-\n" +" standard, emacs-meta, emacs-ctlx, vi, vi-move, vi-" +"command,\n" +" i vi-insert.\n" +" -l Mostra els noms de les funcions\n" +" -P Mostra els noms de les funcions i els vincles de tecla.\n" +" -p Mostra les funcions i els vincles en un format que es pot\n" +" reutilitzar com a entrada.\n" +" -S Mostra les seqüències de tecles que invoquen macros i els\n" +" seus respectius valors.\n" +" -s Mostra les seqüències de tecles que invoquen macros i els\n" +" seus respectius valors en un format que es pot " +"reutilitzar\n" +" com a entrada.\n" +" -V Mostra els noms de les variables i els seus valors.\n" +" -v Mostra els noms de les variables i els seus respectius\n" +" valors en un format que es pot reutilitzar com a entrada.\n" +" -q nom Consulta quines tecles invoquen la funció especificada.\n" +" -u nom Desvincula les tecles vinculades a la funció " +"especificada.\n" +" -r tecles Elimina els vincles associats a TECLES.\n" +" -f fitxer Llegeix els vincles de tecla desats a FITXER.\n" +" -x tecles:ordre Fa que s'executi ORDRE quan es prem TECLES.\n" +" -X Mostra les seqüències de tecla vinculades amb l'opció -x " +"i\n" +" les ordres associades, en un format reutilitzable com a\n" +" entrada.\n" +"\n" +" Estat de sortida:\n" +" bind torna 0 excepte si passeu una opció no reconeguda o es produeix\n" +" un error." -#: builtins.c:328 -#, fuzzy +# help break +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2510,10 +2693,17 @@ msgid "" " \n" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." -msgstr "Repr?n la seg?ent iteraci? del bucle envoltant FOR, WHILE, o UNTIL." +msgstr "" +"Surt de bucles for, while o until.\n" +"\n" +" Surt d'un bucle FOR, WHILE o UNTIL. Si especifiqueu N, trenca N bucles\n" +" de la imbricació.\n" +"\n" +" Estat de sortida:\n" +" L'estat de sortida és 0 excepte si N és més petit que 1." -#: builtins.c:340 -#, fuzzy +# help continue +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2522,9 +2712,16 @@ msgid "" " \n" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." -msgstr "Repr?n la seg?ent iteraci? del bucle envoltant FOR, WHILE, o UNTIL." +msgstr "" +"Continua bucles for, while o until.\n" +"\n" +" Executa la següent iteració en un bucle FOR, WHILE o UNTIL. Si\n" +" especifiqueu N, continua el bucle N-èssim de la imbricació.\n" +"\n" +" Estat de sortida:\n" +" L'estat de sortida és 0 excepte si N és més petit que 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2537,8 +2734,20 @@ msgid "" " Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is\n" " not a shell builtin.." msgstr "" +"Executa ordres internes.\n" +"\n" +" Executa ORDRE-INTERNA amb ARG com a arguments sense fer una cerca de\n" +" l'ordre. Això és útil si voleu reimplementar una ordre interna de\n" +" l'intèrpret com a funció, però voleu executar l'ordre interna des de la\n" +" pròpia funció.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida de ORDRE-INTERNA, o fals si ORDRE-INTERNA no " +"és\n" +" una ordre interna." -#: builtins.c:367 +# help caller +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2553,8 +2762,21 @@ msgid "" " Returns 0 unless the shell is not executing a shell function or EXPR\n" " is invalid." msgstr "" +"Retorna el context de la subrutina actual.\n" +"\n" +" Sense EXPR, torna \"$linia $nomfitxer\". Amb EXPR, torna \"$linia\n" +" $subrutina $nomfitxer\"; aquesta informació addicional es pot utilitzar\n" +" per a proporcionar un traçat de la pila.\n" +"\n" +" El valor de EXPR indica quants frames retrocedir des de l'actual; el\n" +" frame superior és el 0.\n" +"\n" +" Estat de sortida:\n" +" Retorna 0 excepte si l'intèrpret no està executant una funció o si EXPR\n" +" no és una expressió vàlida." -#: builtins.c:385 +#: builtins.c:387 +#, fuzzy msgid "" "Change the shell working directory.\n" " \n" @@ -2577,16 +2799,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2598,14 +2820,51 @@ msgid "" "when\n" " -P is used; non-zero otherwise." msgstr "" +"Canvia el directori de treball de l'intèrpret.\n" +"\n" +" Canvia el directori actual a DIR. Per defecte, DIR és el valor de la\n" +" variable HOME.\n" +"\n" +" La variable CDPATH defineix els camins de cerca per al directori que\n" +" conté DIR. Es poden especificar camins alternatius separats per dos\n" +" punts (:). Un nom de directori nul és el mateix que el directori\n" +" actual. Si DIR comença amb una barra, aleshores no s'usa CDPATH. Si " +"no\n" +" es troba el directori, i l'opció de l'intèrpret `cdable_vars' està\n" +" activada, llavors s'interpreta la paraula com un nom de variable. Si " +"la\n" +" variable especificada té algun valor, llavors aquest valor s'usa en " +"lloc\n" +" de DIR.\n" +"\n" +" Opcions:\n" +" -L obliga a seguir els enllaços simbòlics: resol els enllaços\n" +" simbòlics que conté DIR després de processar `..'\n" +" -P usa l'estructura de directoris física i no segueix els\n" +" possibles enllaços simbòlics: resol els enllaços simbòlics\n" +" que conté DIR abans de processar `..'\n" +" -e amb l'opció -P, si el directori de treball actual no es pot\n" +" determinar amb èxit, surt amb un estat diferent de zero\n" +" -@ en sistemes que ho suporten, presenta un fitxer amb " +"atributs\n" +" estesos com un directori que conté els atributs del fitxer\n" +"\n" +" Per defecte, se segueixen els enllaços simbòlics, com si s'especifiqués\n" +" l'opció `-L'. `..' es processa eliminant el component del camí\n" +" immediatament previ fins a la primera barra o fins al principi de DIR.\n" +"\n" +" Estat de sortida:\n" +" Torna 0 si s'ha canviat de directori, i si $PWD s'ha establert de forma\n" +" satisfactòria quan s'utilitza -P; altrament un valor diferent de zero." -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2614,9 +2873,20 @@ msgid "" " Returns 0 unless an invalid option is given or the current directory\n" " cannot be read." msgstr "" +"Mostra el nom del directori de treball actual.\n" +"\n" +" Opcions:\n" +" -L mostra el valor de $PWD si és el nom del directori de\n" +" treball actual\n" +" -P mostra el directori físic, sense cap enllaç simbòlic\n" +"\n" +" Per defecte, `pwd' es comporta com si haguéssiu especificat `-L'.\n" +"\n" +" Estat de sortida:\n" +" Torna 0 excepte si heu especificat una opció no vàlida o no es pot\n" +" llegir el directori actual." -#: builtins.c:439 -#, fuzzy +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2624,25 +2894,40 @@ msgid "" " \n" " Exit Status:\n" " Always succeeds." -msgstr "Cap efecte; no es fa res. Es retorna amb el codi zero com a eixida." +msgstr "" +"Ordre nul·la.\n" +"\n" +" No té cap efecte; aquesta ordre no fa res.\n" +"\n" +" Estat de sortida:\n" +" Sempre reïx." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" " Exit Status:\n" " Always succeeds." msgstr "" +"Torna un resultat reeixit.\n" +"\n" +" Estat de sortida:\n" +" Sempre reïx." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" " Exit Status:\n" " Always fails." msgstr "" +"Torna un resultat fallit.\n" +"\n" +" Estat de sortida:\n" +" Sempre falla." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2652,16 +2937,34 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" +"Executa una ordre simple o mostra informació sobre ordres.\n" +"\n" +" Executa ORDRE amb ARGS sense cercar funcions de l'intèrpret amb aquest\n" +" nom, o bé mostra informació sobre l'ORDRE especificada. Es pot\n" +" utilitzar per a invocar ordres des del disc, quan existeix una funció\n" +" amb el mateix nom.\n" +"\n" +" Opcions:\n" +" -p usa el valor per defecte de la variable PATH que garanteix\n" +" trobar totes les utilitats estàndards\n" +" -v mostra una descripció de l'ORDRE similar a la que mostra\n" +" l'ordre `type'\n" +" -V mostra una descripció més detallada per a cada ORDRE\n" +"\n" +" Estat de sortida:\n" +" Retorna l'estat de sortida de ORDRE, o fracàs si ORDRE no s'ha trobat." -#: builtins.c:487 +# help declare +#: builtins.c:490 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" @@ -2671,9 +2974,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2700,15 +3003,53 @@ msgid "" " Returns success unless an invalid option is supplied or a variable\n" " assignment error occurs." msgstr "" +"Assigna valors i atributs a variables.\n" +"\n" +" Declara variables i els hi assigna atributs. Sense cap NOM, mostra el\n" +" valor i atributs de totes les variables.\n" +"\n" +" Opcions:\n" +" -f només té en compte noms i definicions de funcions\n" +" -F només mostra noms de funcions (a part del número de línia i\n" +" el nom del fitxer, en mode de depuració)\n" +" -p mostra els atributs i el valor de cada NOM\n" +"\n" +" Opcions que estableixen atributs:\n" +" -a per a fer NOMs vectors indexats (si estan suportats)\n" +" -A per a fer NOMs vectors associatius (si estan suportats)\n" +" -i per a assignar l'atribut `nombre enter' a NOMs\n" +" -l per a passar NOMs a minúscules en l'assignació\n" +" -r per a fer NOMs de només-lectura\n" +" -t per a assignar l'atribut `traça' a NOMs\n" +" -u per a passar NOMs a majúscules en l'assignació\n" +" -x per a exportar NOMs\n" +"\n" +" Si feu servir `+' en lloc de `-', elimina l'atribut.\n" +"\n" +" Les variables que tenen l'atribut `nombre enter' s'avaluen\n" +" aritmèticament (vegeu l'ordre `let') quan s'assigna un valor a la\n" +" variable.\n" +"\n" +" Quan s'usa en una funció, `declare' converteix NOMs en variables " +"locals,\n" +" igual que l'ordre `local'.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si rep una opció invàlida o es produeix un error." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" +"Assigna valors i atributs a variables.\n" +"\n" +" Obsolet. Vegeu `help declare'." -#: builtins.c:535 +# help local +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2722,8 +3063,23 @@ msgid "" " Returns success unless an invalid option is supplied, a variable\n" " assignment error occurs, or the shell is not executing a function." msgstr "" +"Defineix variables locals.\n" +"\n" +" Crea una variable local anomenada NOM i li assigna VALOR. OPCIÓ pot " +"ser\n" +" qualsevol opció que `declare' admeti.\n" +"\n" +" Les variables locals només es poden utilitzar dins d'una funció; només\n" +" són visibles a dins de la funció on són definides i dins de les " +"funcions\n" +" imbricades dins d'aquestes.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit excepte si heu especificat una opció no vàlida, es produeix\n" +" un error, o l'intèrpret no està executant una funció." -#: builtins.c:552 +#: builtins.c:555 +#, fuzzy msgid "" "Write arguments to the standard output.\n" " \n" @@ -2749,15 +3105,46 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" +"Escriu arguments a la sortida estàndard.\n" +"\n" +" Mostra els ARGs a la sortida estàndard, separats per un únic espai i\n" +" seguits d'un salt de línia.\n" +"\n" +" Opcions:\n" +" -n omet el caràcter de salt de línia.\n" +" -e activa la interpretació de seqüències d'escapada\n" +" -E desactiva la interpretació de seqüències d'escapada\n" +"\n" +" `echo' interpreta els següents caràcters escapats per una barra " +"inversa:\n" +" \\a alerta (campana)\n" +" \\b retrocés\n" +" \\c suprimeix tota sortida ulterior\n" +" \\e caràcter d'escapada\n" +" \\E caràcter d'escapada\n" +" \\f salt de pàgina\n" +" \\n salt de línia\n" +" \\r retorn de carro\n" +" \\t tabulació horitzontal\n" +" \\v tabulació vertical\n" +" \\\\ barra invertida\n" +" \\0nnn caràcter corresponent al codi ASCII número NNN, on NNN és " +"un\n" +" número octal de 0 a 3 dígits.\n" +" \\xHH caràcter de 8 bits corresponent al valor HH, on HH és un\n" +" número hexadecimal d'1 o 2 dígits.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, tret que es produeixi un error d'escriptura." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2769,8 +3156,18 @@ msgid "" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" +"Escriu arguments a la sortida estàndard.\n" +"\n" +" Mostra els ARGs a la sortida estàndard seguits d'un salt de línia.\n" +"\n" +" Opcions:\n" +" -n omet el caràcter de salt de línia.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, tret que es produeixi un error d'escriptura." -#: builtins.c:603 +# help enable +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2796,8 +3193,35 @@ msgid "" " Exit Status:\n" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" +"Habilita o inhabilita ordres internes de l'intèrpret.\n" +"\n" +" Habilita o inhabilita ordres internes de l'intèrpret. Inhabilitar una\n" +" ordre interna permet executar una ordre que es troba en el disc i que " +"té\n" +" el mateix nom que l'ordre interna, sense necessitat d'escriure'n la\n" +" ubicació completa.\n" +"\n" +" Opcions:\n" +" -a mostra una llista d'ordres internes indicant-ne l'estat\n" +" -n inhabilita NOM o bé mostra una llista de les ordres " +"internes\n" +" que es troben inhabilitades\n" +" -p mostra la llista en format reutilitzable\n" +" -s mostra només les ordres internes `especials' Posix\n" +"\n" +" Opcions per a controlar l'enllaçat dinàmic:\n" +" -f carrega l'ordre interna NOM, de l'objecte compartit FITXER\n" +" -d esborra una ordre interna carregada amb l'opció -f\n" +"\n" +" Sense opcions, habilita cada un dels NOMs.\n" +"\n" +" Per a utilitzar el `test' que es troba al $PATH en lloc de la versió\n" +" interna de l'intèrpret, feu `enable -n test'.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si NOM no és una ordre interna o té lloc un error." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2808,8 +3232,15 @@ msgid "" " Exit Status:\n" " Returns exit status of command or success if command is null." msgstr "" +"Executa els arguments com una ordre.\n" +"\n" +" Combina els ARGs en una única cadena, utilitza el resultat com a input\n" +" per a l'intèrpret, i executa les ordres resultants.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida de l'ordre, o èxit si l'ordre és nul·la." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2849,8 +3280,50 @@ msgid "" " Returns success if an option is found; fails if the end of options is\n" " encountered or an error occurs." msgstr "" +"Interpreta arguments d'opcions.\n" +"\n" +" getopts l'utilitzen els procediments de l'intèrpret per a interpretar\n" +" els paràmetres posicionals com a opcions.\n" +"\n" +" CADENA conté les lletres de les opcions a reconèixer; si una lletra va\n" +" seguida de dos punts, l'opció requereix un argument, que s'ha de " +"separar\n" +" amb un espai en blanc.\n" +"\n" +" Cada cop que s'invoca, getopts posarà l'opció successiva a la variable\n" +" d'entorn $nom, inicialitzant nom si no existeix, i l'índex del següent\n" +" argument a la variable OPTIND. La variable OPTIND s'inicialitza a 1\n" +" cada cop que s'invoca l'intèrpret o un script. Quan una opció " +"requereix\n" +" un argument, getopts col·loca l'argument a la variable OPTARG.\n" +"\n" +" getopts pot informar d'errors de dues maneres. Si el primer caràcter " +"de\n" +" CADENA és un caràcter de dos punts (:), getopts entra en mode " +"silenciós.\n" +" En aquest mode, no es mostra cap missatge d'error. Si es detecta una\n" +" opció no vàlida, getopts col·loca el caràcter de l'opció a OPTARG. Si\n" +" no es troba un argument requerit, getopts posa un ':' a NOM, i el\n" +" caràcter de l'opció trobada a OPTARG. Si getopts no es troba en mode\n" +" silenciós, i es detecta una opció no vàlida, getopts posa un '?' a NOM " +"i\n" +" elimina la variable OPTARG. Si no troba un argument requerit, posa un\n" +" '?' a NOM, elimina OPTARG, i mostra un missatge de diagnòstic.\n" +"\n" +" Si la variable OPTERR té el valor 0, getopts evita mostrar missatges\n" +" d'error, encara que el primer caràcter de CADENA no siguin dos punts.\n" +" Per defecte, OPTERR té el valor 1.\n" +"\n" +" Normalment, getopts interpreta els paràmetres posicionals ($0 - $9),\n" +" però si hi ha més arguments, s'interpreten aquests.\n" +"\n" +" Estat de sortida:\n" +" Retorna èxit si es troba alguna opció; falla si s'arriba al final de " +"les\n" +" opcions o si es produeix un error." -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -2861,8 +3334,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2872,17 +3345,38 @@ msgid "" " Returns success unless COMMAND is not found or a redirection error " "occurs." msgstr "" +"Substitueix l'intèrpret per l'ordre especificada.\n" +"\n" +" Executa ORDRE, substituint aquest intèrpret pel programa especificat.\n" +" Es passen ARGUMENTS a l'ORDRE com a arguments. Si no especifiqueu cap\n" +" ORDRE, qualsevol redirecció té efectes a l'intèrpret actual.\n" +"\n" +" Opcions:\n" +" -a nom passa NOM a ORDRE com a argument número zero\n" +" -c executa ORDRE en un entorn buit\n" +" -t passa un guionet (-) a ORDRE com a argument número zero\n" +"\n" +" Si l'ordre no es pot executar i la sessió és no-interactiva, " +"l'intèrpret\n" +" surt, excepte si l'opció `execfail' està habilitada.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, tret que ORDRE no es trobi o es produeixi un error de\n" +" redirecció." -#: builtins.c:706 -#, fuzzy +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" " Exits the shell with a status of N. If N is omitted, the exit status\n" " is that of the last command executed." -msgstr "Finalitza l'int?rpret d'ordres amb l'estat d'N. Si s'ometeix N," +msgstr "" +"Abandona l'intèrpret.\n" +"\n" +" Surt de l'intèrpret amb estat N. Si ometeu N, l'estat de sortida és el\n" +" de l'última ordre executada." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2890,8 +3384,13 @@ msgid "" "executed\n" " in a login shell." msgstr "" +"Abandona una sessió d'entrada.\n" +"\n" +" Abandona una sessió d'entrada amb estat de sortida N. Torna un error si\n" +" no s'està executant en una sessió d'entrada." -#: builtins.c:725 +# help fc (hi ha un bug a la cadena original) +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2920,9 +3419,36 @@ msgid "" " Returns success or status of executed command; non-zero if an error " "occurs." msgstr "" +"Mostra o executa ordres de l'historial.\n" +"\n" +" fc s'utilitza per a mostrar o editar i reexecutar ordres de " +"l'historial.\n" +" PRIMER i ÚLTIM poden ser números que defineixen un interval, o PRIMER\n" +" pot ser una cadena, que significa l'ordre més recent que comença amb\n" +" aquesta cadena.\n" +"\n" +" Opcions:\n" +" -e EDITOR selecciona quin editor utilitzar. Per defecte és el valor\n" +" de la variable FCEDIT, després el valor de EDITOR, i\n" +" finalment vi\n" +" -l\tmostra les línies en lloc d'editar-les\n" +" -n\tomet els nombres de línia a l'hora de mostrar la llista\n" +" -r\tinverteix l'ordre de les línies (més recents primer)\n" +"\n" +" Amb el format `fc -s [pat=sub ...] [ordre]', ORDRE es reexecuta després\n" +" d'haver fet la substitució PAT=SUB.\n" +"\n" +" Un àlies útil és r='fc -s', de manera que en escriure `r cc' s'executa\n" +" l'última ordre que comença amb `cc' i en escriure `r' reexecuta " +"l'última\n" +" ordre.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit o l'estat de l'última ordre executada; diferent de zero si " +"es\n" +" produeix un error." -#: builtins.c:755 -#, fuzzy +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2932,9 +3458,20 @@ msgid "" " \n" " Exit Status:\n" " Status of command placed in foreground, or failure if an error occurs." -msgstr "Ubica la ID_TASCA en primer pla, i l'activa com a la tasca actual." +msgstr "" +"Porta una tasca al primer pla.\n" +"\n" +" Mou la tasca identificada per TASCA al primer pla, convertint-la en la\n" +" tasca corrent. Si TASCA no es dóna, s'utilitza la tasca que " +"l'intèrpret\n" +" considera com a corrent.\n" +"\n" +" Estat de sortida:\n" +" L'estat de l'ordre que es mou al primer pla, o fallada si es produeix " +"un\n" +" error." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2947,8 +3484,19 @@ msgid "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." msgstr "" +"Mou tasques al segon pla.\n" +"\n" +" Mou la tasca identificada per TASCA al segon pla, com si s'haguessin\n" +" iniciat amb un `&'. Si TASCA no es dóna, s'utilitza la tasca que\n" +" l'intèrpret considera com a tasca corrent.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si el control de tasques no està habilitat o es\n" +" produeix un error." -#: builtins.c:784 +# help hash +#: builtins.c:787 +#, fuzzy msgid "" "Remember or display program locations.\n" " \n" @@ -2957,22 +3505,44 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" +"Recorda o mostra la ubicació de programes.\n" +"\n" +" Determina i recorda la ubicació completa de cada NOM d'ordre. Sense\n" +" arguments, es mostra informació sobre les ordres que s'han recordat.\n" +"\n" +" Opcions:\n" +" -d oblida la ubicació recordada de cada NOM\n" +" -l utilitza un format que es pot reciclar com a " +"entrada\n" +" -p ubicació utilitza UBICACIÓ com a ubicació sencera de NOM\n" +" -r oblida totes les ubicacions recordades\n" +" -t mostra la ubicació recordada de cada NOM, precedint\n" +" cada ubicació pel corresponent NOM, si hi ha\n" +" múltiples NOMs.\n" +" Arguments:\n" +" NOM Es busca NOM en el $PATH i s'afegeix a la llista\n" +" d'ordres recordades.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si NOM no es troba o es passa una opció invàlida." -#: builtins.c:809 +# help help +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -2984,7 +3554,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2993,8 +3563,25 @@ msgid "" " Returns success unless PATTERN is not found or an invalid option is " "given." msgstr "" +"Mostra informació sobre ordres internes.\n" +"\n" +" Mostra ajuda sobre les ordres internes. Amb PATRÓ, dóna informació\n" +" detallada sobre aquelles ordres que coincideixen amb PATRÓ, altrament\n" +" mostra una llista amb temes d'ajuda.\n" +"\n" +" Opcions:\n" +" -d mostra una desprició curta de cada tema\n" +" -m mostra la forma d'ús en format de pseudopàgina de manual\n" +" -s mostra una sinopsi de cada tema corresponent a PATRÓ\n" +"\n" +" Arguments:\n" +" PATRÓ patró que especifica un tema d'ajuda\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si PATRÓ no es troba o es passa una opció invàlida." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3003,23 +3590,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3027,10 +3614,44 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" - -#: builtins.c:869 -msgid "" -"Display status of jobs.\n" +"Mostra o manipula l'historial.\n" +"\n" +" Mostra l'historial amb números de línia, prefixant cada entrada\n" +" modificada amb un `*'. Amb l'argument N, només mostra les N últimes\n" +" entrades.\n" +"\n" +" Opcions:\n" +" -c esboora totes les entrades de la llista de l'historial\n" +" -d offset esborra l'entrada de l'historial a la posició OFFSET\n" +" -a afegeix les línies de la sessió actual al fitxer de\n" +" l'historial\n" +" -n llegeix el fitxer de l'historial\n" +" -r llegeix el fitxer de l'historial i n'afegeix el contingut\n" +" a la llista\n" +" -w escriu l'historial actual al fitxer de l'historial i\n" +" l'afegeix a la llista\n" +" -p expandeix cada ARG i mostra el resultat, sense desar-lo\n" +" a la llista\n" +" -s afegeix ARGs a la llista com una única entrada\n" +"\n" +" Si s'indica un nom de FITXER, s'utilitza com a fitxer d'historial. En\n" +" cas contrar, si $HISTFILE té algun valor, s'utilitza aquest, si no\n" +" ~/.bash_history.\n" +"\n" +" Si la variable $HISTTIMEFORMAT està definida i no és nul·la, el seu\n" +" valor s'utilitza com a cadena de format strftime(3) per a mostrar " +"l'hora\n" +" associada a cada entrada de l'historial. En cas contrari no es mostra\n" +" cap hora.\n" +"\n" +" Estat de sortida: \n" +" Torna èxit excepte si es passa una opció invàlida o es produeix un\n" +" error." + +#: builtins.c:872 +#, fuzzy +msgid "" +"Display status of jobs.\n" " \n" " Lists the active jobs. JOBSPEC restricts output to that job.\n" " Without options, the status of all active jobs is displayed.\n" @@ -3038,7 +3659,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3051,8 +3672,31 @@ msgid "" " Returns success unless an invalid option is given or an error occurs.\n" " If -x is used, returns the exit status of COMMAND." msgstr "" +"Mostra l'estat de tasques.\n" +"\n" +" Mostra les tasques actives. Si s'especifica TASCA, es restringeix la\n" +" sortida a la tasca especificada. Sense opcions, es mostra l'estat de\n" +" totes les tasques actives.\n" +"\n" +" Opcions:\n" +" -l mostra els IDs de procés a més de la informació normal\n" +" -n mostra només les tasques l'estat de les quals ha\n" +" canviat des de l'última notificació\n" +" -p mostra només els IDs de procés\n" +" -r restringeix la sortida a les tasques en execució\n" +" -s restringeix la sortida a les tasques aturades\n" +"\n" +" Amb l'opció -x, s'executa ORDRE, després de substituir totes les\n" +" especificacions de tasca per l'ID del procés del líder del grup de\n" +" processos d'aquella tasca, a ARGS.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si es passa una opció invàlida o es produeix un\n" +" error. Si s'utilitza -x, torna l'estat de sortida d'ORDRE." -#: builtins.c:896 +# help disown +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3062,14 +3706,29 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" +"Suprimeix tasques de l'intèrpret en funcionament.\n" +"\n" +" Suprimeix TASCA de la taula de tasques actives. Sense TASCA,\n" +" s'interpreta que es refereix a la tasca corrent.\n" +"\n" +" Opcions:\n" +" -q suprimeix totes les tasques si no s'especifica TASCA\n" +" -h\tmarca TASCA per a no enviar-li un senyal SIGHUP si\n" +" l'intèrpret rep un SIGHUP\n" +" -r suprimeix totes les tasques en execució\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si es passa una opció o TASCA invàlida." -#: builtins.c:915 +# help kill +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3081,7 +3740,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3090,8 +3750,30 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" +"Envia un senyal a una tasca.\n" +"\n" +" Envia el senyal SENYAL o NÚMSENYAL al procés corresponent a PID o " +"TASCA.\n" +" Si no s'especifica cap senyal, s'envia un SIGTERM.\n" +"\n" +" Opcions:\n" +" -s senyal SENYAL és el nom d'un senyal\n" +" -n númsenyal\tNÚMSENYAL és el número d'un senyal\n" +" -l mostra els noms dels senyals; si hi ha arguments \n" +" després de `-l' s'interpreten com a números de\n" +" senyals, els noms dels quals s'han de mostrar\n" +"\n" +" kill és una ordre interna per dues raons: perquè això permet usar IDs " +"de\n" +" tasca en lloc de IDs de procés, i perquè permet matar processos encara\n" +" que arribeu al límit de processos que se us permet crear.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si es passa una opció no vàlida o es produeix un\n" +" error." -#: builtins.c:938 +# help let +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3135,8 +3817,51 @@ msgid "" " Exit Status:\n" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" +"Avalua expressions aritmètiques.\n" +"\n" +" Avalua ARG com a expressió aritmètica. Les operacions es fan amb " +"enters\n" +" de llargada fixa sense comprovacions de desbordament, tot i que les\n" +" divisions per 0 es detecten i es marquen com a error. La següent " +"llista\n" +" mostra els operadors, agrupats per nivells d'igual precedència. Els\n" +" nivells estan llistats en ordre descendent de precedència.\n" +"\n" +" \tid++, id--\tpostincrement, postdecrement\n" +" \t++id, --id\tpreincrement, predecrement\n" +" \t-, +\t\tnegatiu, positiu unaris\n" +" \t!, ~\t\tnegació lògica i binària\n" +" \t**\t\texponenciació\n" +" \t*, /, %\t\tmultiplicació, divisió, residu\n" +" \t+, -\t\taddició, subtracció\n" +" \t<<, >>\t\tdesplaçament binari a l'esquerra i a la dreta\n" +" \t<=, >=, <, >\tcomparació\n" +" \t==, !=\t\tigualtat, desigualtat\n" +" \t&\t\tAND binari\n" +" \t^\t\tXOR binari\n" +" \t|\t\tOR binari\n" +" \t&&\t\tAND lògic\n" +" \t||\t\tOR lògic\n" +" \texpr ? expr : expr\n" +" \t\t\toperador condicional\n" +" \t=, *=, /=, %=,\n" +" \t+=, -=, <<=, >>=,\n" +" \t&=, ^=, |=\tassignació\n" +"\n" +" S'admeten variables com a operands. El nom de la variable se\n" +" substitueix pel seu valor (convertit en enter d'amplada fixa). La\n" +" variable no cal que tingui l'atribut d'enter perquè pugui aparèixer en\n" +" una expressió aritmètica.\n" +"\n" +" Els operadors s'avaluen per ordre de precedència. Les subexpressions\n" +" entre parèntesis s'avaluen primer, independentment de les regles de\n" +" precedència anteriors.\n" +"\n" +" Estat de sortida:\n" +" Si l'últim ARG s'avalua en 0, let torna 1; altrament torna 0." -#: builtins.c:983 +#: builtins.c:987 +#, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3157,27 +3882,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3186,8 +3912,61 @@ msgid "" "occurs,\n" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" - -#: builtins.c:1028 +"Llegeix una línia a l'entrada estàndard i la separa en camps.\n" +"\n" +" Llegeix una sola línia a l'entrada estàndard, o al descriptor de\n" +" fitxer FD si s'especifica l'opció -u. La línia se separa en camps,\n" +" segons les mateixes regles que en la separació de paraules, i la " +"primera\n" +" paraula s'assigna al primer NOM, la segona al segon NOM, etc., mentre\n" +" que les paraules sobrants, si n'hi ha, s'assignen a l'últim NOM. Només\n" +" es reconeixen com a delimitadors de paraula els caràcters que conté la\n" +" variable $IFS.\n" +"\n" +" Si no s'especifica cap NOM, llavors la línia llegida es desa a la\n" +" variable REPLY.\n" +"\n" +" Opcions:\n" +" -a vector\tassigna les paraules llegides a VECTOR, de forma " +"seqüencial\n" +" començant des de l'índex número 0.\n" +" -d delim\tsegueix llegint fins a trobar el caràcter DELIM, en lloc de\n" +" fins a trobar un salt de línia\n" +" -e\tsi la sessió és interactiva, utilitza Readline per a obtenir\n" +" la línia\n" +" -i text\tUtilitza TEXT com a text inicial per a Readline\n" +" -n núm\ttorna després de llegir exactament NÚM caràcters en lloc\n" +" d'esperar fins a trobar un salt de línia, però tenint en\n" +" compte el delimitador si s'han llegit menys de NÚM " +"caràcters\n" +" abans del delimitador\n" +" -p introd mostra la cadena INTROD sense cap caràcter de salt de línia\n" +" afegit, abans d'intentar llegir res\n" +" -r prohibeix escapar caràcters amb una barra invertida\n" +" -s suprimeix l'eco quan l'entrada està connectada a un " +"terminal\n" +" -t temps surt si transcorre TEMPS (en segons) abans d'haver\n" +" aconseguit llegir una línia sencera. Per defecte, el límit\n" +" de temps és el valor de la variable TMOUT. TEMPS pot ser " +"un\n" +" número decimal. Si TEMPS és 0, read torna immediatament,\n" +" sense intentar llegir cap dada, i torna èxit només si hi ha\n" +" dades disponibles en el descriptor de fitxer FD " +"especificat.\n" +" L'estat de sortida és més gran que 128 si s'arriba al temps\n" +" límit\n" +" -u fd llegeix dades al descriptor de fitxer FD, en lloc de\n" +" l'entrada estàndard.\n" +"\n" +" Estat de sortida:\n" +" El codi de retorn és zero, excepte si es troba final-de-fitxer, " +"s'arriba\n" +" al límit de temps (en aquest cas, és major que 128), es produeix un\n" +" error d'assignació de variable, o s'especifica un descriptor de fitxer\n" +" invàlid amb l'opció -u." + +# help return +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3198,8 +3977,18 @@ msgid "" " Exit Status:\n" " Returns N, or failure if the shell is not executing a function or script." msgstr "" +"Torna des d'una funció de l'intèrpret.\n" +"\n" +" Provoca que una funció o script executat amb `source' torni amb el " +"valor\n" +" de retorn especificat per N. Si s'omet N, l'estat de retorn és aquell\n" +" de l'última ordre executada dins la funció o script.\n" +"\n" +" Estat de sortida:\n" +" Torna N, o fallada si l'intèrpret no està executant cap funció o script." -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3267,7 +4056,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3283,8 +4073,97 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given." msgstr "" +"Activa o desactiva opcions de l'intèrpret i estableix paràmetres\n" +"posicionals.\n" +"\n" +" Modifica el valor dels atributs de l'intèrpret i dels paràmetres\n" +" posicionals, o mostra els noms i valors de les variables de " +"l'intèrpret.\n" +"\n" +" Opcions:\n" +" -a Exporta les variables que es creïn o es modifiquin.\n" +" -b Notifica la finalització de tasques de forma immediata.\n" +" -e Surt immediatament si una ordre acaba amb estat diferent de zero.\n" +" -f Deshabilita la generació de noms de fitxers (globbing).\n" +" -h Recorda la ubicació de les ordres a mesura que s'utilitzen.\n" +" -k Col·loca tots els arguments que són assignacions a l'entorn de\n" +" l'ordre que s'executa, i no només aquells que precedeixen el nom\n" +" de l'ordre.\n" +" -m Activa el control de tasques.\n" +" -n Llegeix ordres, però sense executar-les.\n" +" -o nom-opció\n" +" Defineix la variable corresponent a nom-opció:\n" +" allexport igual que -a\n" +" braceexpand igual que -B\n" +" emacs utilitza una interfície d'edició estil emacs\n" +" errexit igual que -e\n" +" errtrace igual que -E\n" +" functrace igual que -T\n" +" hashall igual que -h\n" +" histexpand igual que -H\n" +" history activa l'historial\n" +" ignoreeof l'intèrpret no surt en cas de trobar EOF\n" +" interactive-comments\n" +" permet comentaris a les ordres interactives\n" +" keyword igual que -k\n" +" monitor igual que -m\n" +" noclobber igual que -C\n" +" noexec igual que -n\n" +" noglob igual que -f\n" +" nolog actualment aquesta opció no té cap efecte\n" +" notify igual que -b\n" +" nounset igual que -u\n" +" onecmd igual que -t\n" +" physical igual que -P\n" +" pipefail el valor retornat per una canalització és " +"l'estat\n" +" de l'última ordre que ha acabat amb estat\n" +" no-zero, o zero si cap ordre ha acabat amb estat\n" +" diferent de zero\n" +" posix ajusta el comportament de bash al dictaminat per\n" +" l'estàndard Posix\n" +" privileged igual que -p\n" +" verbose igual que -v\n" +" vi usa una interfície d'edició estil vi\n" +" xtrace igual que -x\n" +" -p S'activa automàticament sempre que les ids efectiva i real de\n" +" l'usuari no coincideixin. Omet processar el fitxer $ENV i\n" +" la importació de funcions. Si desactiveu aquesta opció, els\n" +" valors de l'uid i gid reals s'assignen a l'uid i gid efectius.\n" +" -t Surt després de llegir i executar una única ordre.\n" +" -u Tracta les variables no definides com a error, en substitucions.\n" +" -v Escriu les línies de l'entrada a la sortida.\n" +" -x Escriu ordres i arguments a la sortida a mesura que s'executen.\n" +" -B Activa l'expansió de claudàtors ([])\n" +" -C Prohibeix la sobrescriptura de fitxers ordinaris mitjançant\n" +" redireccions.\n" +" -E Intercepta senyals ERR també durant l'execució de funcions.\n" +" -H Habilita l'expansió d'exclamacions (!). Aquesta opció està " +"activa\n" +" per defecte si la sessió és interactiva.\n" +" -P Omet la resolució d'enllaços simbòlics a l'hora d'executar ordres\n" +" que canvien el directori corrent tals com cd.\n" +" -T Intercepta senyals DEBUG també durant l'execució de funcions.\n" +" -- Assigna els arguments restants als respectius paràmetres\n" +" posicionals. Si no queda cap argument restant, suprimeix els\n" +" paràmetres posicionals.\n" +" - Assigna els arguments restants als respectius paràmetres\n" +" posicionals. Desactiva les opcions -x i -v.\n" +"\n" +" Un signe + en lloc de - serveix per a desactivar l'opció. Els " +"arguments\n" +" que controlen les opcions també es poden utilitzar a l'hora d'invocar\n" +" l'intèrpret. El conjunt d'opcions actives es pot trobar a $-. La " +"resta\n" +" d'arguments són paràmetres posicionals i s'assignen per ordre a $1, $2,\n" +" ... $n. Si no s'especifica cap ARG, es mostren totes les variables\n" +" definides.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si s'especifica una opció no vàlida." -#: builtins.c:1126 +#: builtins.c:1132 +#, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3294,7 +4173,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3305,8 +4184,26 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" +"Suprimeix el valor i els atributs de variables i funcions.\n" +"\n" +" Per a cada NOM, suprimeix la corresponent variable o funció.\n" +"\n" +" Opcions:\n" +" -f tracta NOM com una funció\n" +" -v tracta NOM com una variable\n" +" -n tracta NOM com una variable referència i suprimeix la\n" +" pròpia variable, en lloc de la variable a què es refereix\n" +"\n" +" Sense opcions, primer intenta suprimir una variable, i si això falla\n" +" intenta suprimir una funció.\n" +"\n" +" Algunes variables no poden ser suprimides; per ex., vegeu `readonly'.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si s'especifica una opció no vàlida o NOM és una\n" +" variable o funció de només-lectura." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3324,8 +4221,26 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" +"Exporta variables de l'intèrpret.\n" +"\n" +" Exporta automàticament cada NOM a l'entorn de les ordres subsegüents.\n" +" Si especifiqueu VALOR, s'assigna VALOR a la variable abans\n" +" d'exportar-la.\n" +"\n" +" Opcions:\n" +" -f tracta NOM com a funció\n" +" -n suprimeix la propietat d'exportació de NOM\n" +" -p mostra una llista amb totes les variables i funcions\n" +" exportades\n" +" \n" +" L'argument `--' atura el processament de més opcions.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si s'especifica una opció no vàlida o NOM no és\n" +" vàlid." -#: builtins.c:1167 +#: builtins.c:1173 +#, fuzzy msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3337,17 +4252,36 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" +"Marca variables com no modificables.\n" +"\n" +" Marca cada NOM com a variable o funció de només-lectura; els valors\n" +" d'aquests NOMs no podran ser modificats en assignacions subseqüents. " +"Si\n" +" especifiqueu VALOR, s'assigna VALOR a la variable o funció abans de\n" +" marcar-la com a només-lectura.\n" +"\n" +" Opcions:\n" +" -a opera sobre vectors indexats\n" +" -A opera sobre vectors associatius\n" +" -f opera sobre funcions\n" +" -p mostra una llista amb totes les variables i funcions\n" +" \t\tde només-lectura\n" +"\n" +" L'argument `--' atura el processament de més opcions.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si s'especifica una opció no vàlida o NOM no és\n" +" vàlid." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3357,8 +4291,16 @@ msgid "" " Exit Status:\n" " Returns success unless N is negative or greater than $#." msgstr "" +"Desplaça els paràmetres posicionals.\n" +"\n" +" Reanomena els paràmetres posicionals $N+1, $N+2 ... com a $1, $2 ... " +"Si\n" +" ometeu N, s'assumeix que és 1.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si N és negatiu o més gran que $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3371,8 +4313,18 @@ msgid "" " Returns the status of the last command executed in FILENAME; fails if\n" " FILENAME cannot be read." msgstr "" +"Executa les ordres d'un fitxer a l'intèrpret actual.\n" +"\n" +" Llegeix les ordres que hi ha a FITXER i les executa a l'intèrpret\n" +" actual. Les entrades a $PATH s'utilitzen per a localitzar el directori\n" +" que conté FITXER. Si s'especifica qualsevol ARG, aquests arguments es\n" +" converteixen en paràmetres posicionals quan s'executa FITXER.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de l'última ordre a FITXER executada; falla si FITXER no\n" +" es pot llegir." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3385,8 +4337,20 @@ msgid "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." msgstr "" +"Suspèn l'execució de l'intèrpret.\n" +"\n" +" Suspèn l'execució d'aquest intèrpret fins a rebre un senyal SIGCONT.\n" +" Si no es força, les sessions d'entrada no es poden suspendre.\n" +"\n" +" Opcions:\n" +" -f força la suspensió, encara que sigui una sessió d'entrada\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si no hi ha control de tasques o es produeix un\n" +" error." -#: builtins.c:1248 +#: builtins.c:1254 +#, fuzzy msgid "" "Evaluate conditional expression.\n" " \n" @@ -3450,9 +4414,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3468,19 +4432,100 @@ msgid "" " Returns success if EXPR evaluates to true; fails if EXPR evaluates to\n" " false or an invalid argument is given." msgstr "" +"Avalua una expressió condicional.\n" +"\n" +" Surt amb estat 0 (cert) o 1 (fals) en funció de l'avaluació d'EXPR. " +"Les\n" +" expressions poden ser unàries o binàries. Les expressions unàries\n" +" s'utilitzen sovint per a determinar l'estat de fitxers. També hi ha\n" +" operadors de cadenes, i operadors de comparació numèrica.\n" +"\n" +" El comportament de test depèn del nombre d'arguments. Podeu trobar-ne\n" +" una especificació completa a la plana del manual de bash.\n" +"\n" +" Operadors de fitxer:\n" +"\n" +" -a FITXER Cert si el fitxer existeix.\n" +" -b FITXER Cert si el fitxer és un fitxer especial de blocs.\n" +" -c FITXER Cert si el fitxer és un fitxer especial de caràcters.\n" +" -d FITXER Cert si el fitxer és un directori.\n" +" -e FITXER Cert si el fitxer existeix.\n" +" -f FITXER Cert si el fitxer existeix i és ordinari.\n" +" -g FITXER Cert si el bit set-group-id està activat.\n" +" -h FITXER Cert si el fitxer és un enllaç simbòlic.\n" +" -L FITXER Cert si el fitxer és un enllaç simbòlic.\n" +" -k FITXER Cert si el bit sticky està activat.\n" +" -p FITXER Cert si el fitxer és una canalització.\n" +" -r FITXER Cert si teniu permís per a llegir el fitxer.\n" +" -s FITXER Cert si el fitxer existeix i no està buit.\n" +" -S FITXER Cert si el fitxer és un socket.\n" +" -t FD Cert si FD està obert i es refereix a un terminal.\n" +" -u FITXER Cert si el bit set-user-id està activat.\n" +" -w FITXER Cert si teniu permís per a escriure al fitxer.\n" +" -x FITXER Cert si teniu permís per a executar el fitxer.\n" +" -O FITXER Cert si el fitxer és propietat vostra.\n" +" -G FITXER Cert si el fitxer és propietat del vostre grup.\n" +" -N FITXER Cert si el fitxer ha canviat des de l'última lectura.\n" +"\n" +" FITXER1 -nt FITXER2 Cert si fitxer1 és més nou que fitxer2 (segons " +"la\n" +" data de modificació).\n" +"\n" +" FITXER1 -ot FITXER2 Cert si fitxer1 és més vell que fitxer2.\n" +"\n" +" FITXER1 -ef FITXER2 Cert si fitxer1 és un enllaç dur a fitxer2.\n" +"\n" +" Operadors de cadena:\n" +"\n" +" -z CADENA Cert si la cadena és buida.\n" +"\n" +" -n CADENA Cert si la cadena no és buida.\n" +"\n" +" CADENA1 = CADENA2\n" +" Cert si les cadenes són iguals.\n" +" CADENA1 != CADENA2\n" +" Cert si les cadenes no són iguals.\n" +" CADENA1 < CADENA2\n" +" Cert si CADENA1 va primer alfabèticament.\n" +" CADENA1 > CADENA2\n" +" Cert si CADENA2 va primer alfabèticament.\n" +"\n" +" Altres operadors:\n" +"\n" +" -o OPCIÓ Cert si l'opció de l'intèrpret està activada.\n" +" -v VAR Cert si la variable VAR està definida.\n" +" -R VAR Cert si la variable VAR està definida i és una \n" +" variable referència.\n" +" ! EXPR Cert si expr és fals.\n" +" EXPR1 -a EXPR2 Cert si tant expr1 com expr2 són cert.\n" +" EXPR1 -o EXPR2 Cert si qualsevol de expr1 o expr2 són cert.\n" +"\n" +" arg1 OP arg2 Tests aritmètics. OP és un de -eq, -ne, -lt, -le, -" +"gt,\n" +" o -ge.\n" +"\n" +" Els operadors aritmètics binaris tornen cert si ARG1 és igual,\n" +" no igual, menys que, menys que o igual, més que, o més que o igual\n" +" que ARG2, respectivament.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit si EXPR s'avalua com a cert; falla si EXPR s'avalua com a\n" +" fals o s'especifica un argument no vàlid." -#: builtins.c:1329 -#, fuzzy +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" " This is a synonym for the \"test\" builtin, but the last argument must\n" " be a literal `]', to match the opening `['." msgstr "" -"par?metre ha de ser el signe \"]\" perqu? es puga tancar l'expressi? que\n" -"comen?a pel signe \"[\"." +"Avalua una expressió condicional.\n" +"\n" +" Aquesta ordre interna és un sinònim de \"test\", amb la diferència que\n" +" l'últim argument ha de ser un signe `]' que tanqui el `[' inicial." -#: builtins.c:1338 +# help times +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3491,8 +4536,16 @@ msgid "" " Exit Status:\n" " Always succeeds." msgstr "" +"Mostra els temps d'execució.\n" +"\n" +" Mostra el temps d'execució d'usuari i sistema acumulat per l'intèrpret " +"i\n" +" per tots els seus processos inferiors.\n" +"\n" +" Estat de sortida:\n" +" Sempre reïx." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3535,8 +4588,48 @@ msgid "" " Returns success unless a SIGSPEC is invalid or an invalid option is " "given." msgstr "" +"Intercepta senyals i altres esdeveniments.\n" +"\n" +" Defineix i activa controladors de senyal que s'executen quan\n" +" l'intèrpret rep senyals o en altres circumstàncies.\n" +"\n" +" ARG és una ordre que es llegeix i s'executa quan l'intèrpret rep el\n" +" senyal especificat per SENYAL. Si no hi ha ARG (i s'especifica un\n" +" únic SENYAL) o és `-', llavors cada senyal es restableix al seu valor\n" +" original. Si ARG és una cadena nul·la, llavors SENYAL és ignorat per\n" +" l'intèrpret i per tots els programes invocats per l'intèrpret.\n" +"\n" +" Si SENYAL és EXIT (0), ARG s'executa quan l'intèrpret surt. Si " +"SENYAL\n" +" és DEBUG, ARG s'executa abans de cada ordre. Si SENYAL és RETURN, " +"ARG\n" +" s'executa cada cop que una funció o script executat amb l'ordre `.' o\n" +" `source' finalitza l'execució. Si SENYAL és ERR, ARG s'executa en " +"els\n" +" mateixos casos en què una ordre faria sortir l'intèrpret si l'opció -" +"e\n" +" estigués activada.\n" +"\n" +" Si no s'especifica cap argument, trap mostra una llista d'ordres\n" +" associades a cada senyal.\n" +"\n" +" Opcions:\n" +" -l mostra una llista amb els noms dels senyals i els números\n" +" corresponents\n" +" -p\tmostra els controladors de senyal associats a cada SENYAL\n" +"\n" +" Cada SENYAL és o bé un nom de senyal definit al fitxer o " +"bé\n" +" un número de senyal. Els noms de senyal no són sensibles a la\n" +" capitalització i el prefix SIG és opcional. Podeu enviar un senyal a\n" +" l'intèrpret amb l'ordre \"kill -senyal $$\".\n" +"\n" +" Estat de sortida: \n" +" Torna èxit, excepte si algun SENYAL no és vàlid o s'especifica una\n" +" ordre no vàlida." -#: builtins.c:1386 +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -3545,18 +4638,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3565,8 +4658,39 @@ msgid "" " Returns success if all of the NAMEs are found; fails if any are not " "found." msgstr "" +"Mostra informació sobre el tipus d'ordre.\n" +"\n" +" Indica com seria interpretat NOM si s'utilitzés com a ordre.\n" +"\n" +" Opcions:\n" +" -a mostra totes les ubicacions que contenen un executable\n" +" anomenat NOM; inclou àlies, ordres internes i funcions, si,\n" +" i només si, no s'usa conjuntament amb l'opció `-p'\n" +" -f omet cercar de funcions\n" +" -P força una cerca al PATH per a cada NOM, encara que sigui un\n" +" àlies, ordre interna o funció, i torna el nom del fitxer " +"que\n" +" s'executaria\n" +" -p torna o bé el nom del fitxer que s'executaria, o bé res, si\n" +" `type -t NOM' no hauria indicat `fitxer'.\n" +" -t torna només una paraula, que és o `àlies', o `paraula " +"clau',\n" +" o `funció', o `ordre interna', o `fitxer', o bé `', " +"depenent\n" +" de si NOM és un àlies, una paraula reservada de " +"l'intèrpret,\n" +" una funció, una ordre interna, un fitxer, o no es pot\n" +" trobar, respectivament.\n" +"\n" +" Arguments:\n" +" NOM El nom de l'ordre que s'ha d'interpretar.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit si es troben tots els NOMs; falla si n'hi ha algun que no\n" +" es pot trobar." -#: builtins.c:1417 +#: builtins.c:1424 +#, fuzzy msgid "" "Modify shell resource limits.\n" " \n" @@ -3584,6 +4708,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3595,7 +4720,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3612,8 +4738,54 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"Canvia els límits d'utilització de recursos per part de l'intèrpret.\n" +"\n" +" Permet controlar la quantitat de recursos disponibles per a l'intèrpret\n" +" i per als processos que crea, en els sistemes que admeten tal control.\n" +"\n" +" Opcions:\n" +" -S estableix límits `tous'\n" +" -H estableix límits `durs'\n" +" -a\tmostra tots els límits establerts\n" +" -b\tmida màxima dels buffers per a sockets\n" +" -c\tmida màxima dels fitxers `core'\n" +" -d\tmida màxima del segment de dades d'un procés\n" +" -e\tprioritat màxima d'un procés (`nice')\n" +" -f\tmida màxima dels fitxers escrits per l'intèrpret i fills\n" +" -i\tnombre màxim de senyals pendents\n" +" -l\tquantitat màxima de memòria que un procés pot blocar\n" +" -m\tmida màxima del conjunt resident (RSS)\n" +" -n\tnombre màxim de descriptors de fitxers oberts\n" +" -p\tmida màxima dels buffers per a canalitzacions\n" +" -q\tnombre màxim d'octets a les cues de missatges POSIX\n" +" -r\tprioritat màxima de temps-real\n" +" -s\tmida màxima de la pila\n" +" -t\tquantitat màxima de temps de CPU en segons\n" +" -u\tnombre màxim de processos d'usuari\n" +" -v\tmida de la memòria virtual\n" +" -x\tnombre màxim de fitxers de bloqueig\n" +" -T nombre màxim de fils d'execució\n" +"\n" +" Algunes opcions poden no estar disponibles en algunes plataformes.\n" +"\n" +" Si s'especifica un LÍMIT, s'utilitza com a nou valor per al recurs en\n" +" qüestió; els valors especials de LÍMIT són `soft', `hard' i " +"`unlimited',\n" +" que signifiquen límit tou actual, límit dur actual, i sense límit,\n" +" respectivament. En cas contrari, es mostra el valor actual per al\n" +" recurs especificat. Si no s'especifica cap opció, se suposa -f.\n" +"\n" +" Els valors s'indiquen en increments de 1024 octets, excepte en el cas " +"de\n" +" l'opció -t, que és en segons, -p, que és en increments de 512 octets, i\n" +" -u, que és en nombre de processos.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si s'especifica una opció no vàlida o es produeix " +"un\n" +" error." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3630,8 +4802,24 @@ msgid "" " Exit Status:\n" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" +"Mostra o estableix la màscara de mode per a fitxers.\n" +"\n" +" Estableix la màscara de creació de fitxers en MODE. Si MODE s'omet,\n" +" mostra el valor actual de la màscara.\n" +"\n" +" Si MODE comença amb un dígit, s'interpreta com a número octal; en cas\n" +" contrari és una cadena de mode simbòlic com les que accepta chmod(1).\n" +"\n" +" Opcions:\n" +" -p sense MODE, mostra la sortida en un format que es pot\n" +" reciclar com a entrada\n" +" -S\tmostra la màscara en forma simbòlica; altrament produeix un\n" +" número octal\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si MODE no és vàlid o es passa una opció no vàlida." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3650,8 +4838,20 @@ msgid "" " Returns the status of the last ID; fails if ID is invalid or an invalid\n" " option is given." msgstr "" +"Espera la finalització de tasques i en retorna l'estat de sortida.\n" +"\n" +" Espera que cada procés identificat per un ID, que pot ser l'ID del\n" +" procés o una especificació de tasca, acabi d'executar-se, i en torna\n" +" l'estat de sortida. Si no s'especifica ID, espera que acabin\n" +" d'executar-se tots els processos inferiors, i surt amb estat zero. Si\n" +" ID és una especificació de tasca, espera cada un dels processos a la\n" +" canalització d'aquella tasca.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida de l'últim ID; falla si ID no és vàlid o es\n" +" passa una opció no vàlida." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3665,8 +4865,18 @@ msgid "" "invalid\n" " option is given." msgstr "" +"Espera la finalització de processos i en retorna l'estat de sortida.\n" +"\n" +" Espera que cada procés, identificat per PID, acabi d'executar-se, i en\n" +" mostra l'estat de sortida. Si no s'especifica PID, espera que acabin\n" +" d'executar-se tots els processos inferiors, i surt amb estat zero. PID\n" +" ha de ser un ID de procés.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida de l'últim PID; falla si PID no és vàlid o es\n" +" passa una opció no vàlida." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3678,8 +4888,18 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Executa ordres per a cada element d'una llista.\n" +"\n" +" Els bucles `for' executen una seqüència d'ordres per a cada un dels\n" +" elements d'una llista. Si `in PARAULES ...;' s'omet, aleshores se\n" +" suposa `in \"$@\"'. Per a cada element de la llista PARAULES, " +"l'element\n" +" s'assigna a NOM, i les ORDRES s'executen.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida de l'última ordre executada." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3695,8 +4915,23 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Bucle `for' aritmètic.\n" +"\n" +" Equivalent a\n" +" \t(( EXP1 ))\n" +" \twhile (( EXP2 )); do\n" +" \t\tORDRES\n" +" \t\t(( EXP 3 ))\n" +" \tdone\n" +"\n" +" EXP1, EXP2 i EXP3 són expressions aritmètiques. Si s'omet qualsevol de\n" +" les expressions, es comporta com si el resultat de l'avaluació de\n" +" l'expressió omesa fos 1.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida de l'última ordre executada." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3715,8 +4950,27 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Selecciona paraules d'una llista i executa ordres.\n" +"\n" +" Les PARAULES s'expandeixen i generen una llista de paraules. Les\n" +" paraules expandides s'envien a la sortida d'errors estàndard, cada una\n" +" precedida per un número. Si `in PARAULES' s'omet, se suposa `in \"$@" +"\"'.\n" +" Llavors, es mostra l'introductor PS3 i es llegeix una línia a l'entrada\n" +" estàndard. Si la línia correspon amb el número d'alguna de les " +"paraules\n" +" mostrades, aleshores aquesta paraula s'assigna a NOM. Si la línia està\n" +" buida, les PARAULES i l'introductor es tornen a mostrar. Si es llegeix\n" +" EOF, l'ordre finalitza. Qualsevol altre valor llegit, fa que s'assigni\n" +" el valor nul a NOM. La línia llegida s'assigna a la variable REPLY.\n" +" Les ORDRES s'executen després de cada selecció fins a trobar una ordre\n" +" `break'.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida de l'última ordre executada." -#: builtins.c:1574 +# help time +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3731,9 +4985,21 @@ msgid "" " Exit Status:\n" " The return status is the return status of PIPELINE." msgstr "" +"Informa del temps consumit durant l'execució d'una canalització.\n" +"\n" +" Executa CANALITZACIÓ i mostra un resum del temps real, el temps de CPU\n" +" d'usuari i el temps de CPU de sistema consumit durant l'execució de\n" +" CANALITZACIÓ.\n" +"\n" +" Opcions:\n" +" -p mostra el resum de temps en format POSIX portable\n" +"\n" +" El valor de la variable TIMEFORMAT s'utilitza per formatar la sortida.\n" +"\n" +" Estat de sortida:\n" +" L'estat de sortida és l'estat de sortida de la CANALITZACIÓ." -#: builtins.c:1591 -#, fuzzy +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3742,9 +5008,17 @@ msgid "" " \n" " Exit Status:\n" " Returns the status of the last command executed." -msgstr "Executa selectivament les ordres especificades en ORDRES seguint una " +msgstr "" +"Executa ordres segons la coincidència amb patrons.\n" +"\n" +" Executa ORDRES de forma selectiva en funció de si PARAULA coincideix " +"amb\n" +" PATRÓ. El signe `|' serveix per a separar múltiples patrons.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida de l'última ordre executada." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3764,9 +5038,22 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Executa ordres en funció d'una condició.\n" +"\n" +" Executa la llista `if ORDRES'. Si l'estat de sortida és zero, llavors\n" +" també executa la llista `then ORDRES'. En cas contrari cada una de les\n" +" llistes `elif ORDRES' és executada i en cas d'acabar amb estat de\n" +" sortida zero, també s'executa la corresponent llista `then ORDRES', i\n" +" l'ordre if finalitza. En cas contrari, la llista `else ORDRES'\n" +" s'executa, si és que existeix. L'estat de sortida la construcció\n" +" sencera és l'estat de sortida de l'última ordre executada, o zero si " +"cap\n" +" de les condicions s'avalua com a certa.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de l'última ordre executada." -#: builtins.c:1620 -#, fuzzy +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3776,11 +5063,15 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" -"Expandeix i executa les ordres especificades en ORDRES i els executa\n" -"de tal manera que la darrera ordre" +"Executa ordres repetidament mentre es compleixi una condició.\n" +"\n" +" Expandeix i executa ORDRES repetidament mentre l'última ordre de les\n" +" ORDRES `while' tingui estat de sortida igual a zero.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de l'última ordre executada." -#: builtins.c:1632 -#, fuzzy +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -3790,10 +5081,17 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" -"Expandeix i executa les ordres especificades en ORDRES i els executa\n" -"de tal manera que la darrera ordre" +"Executa ordres repetidament mentre no es compleixi una condició.\n" +"\n" +" Expandeix i executa ORDRES repetidament mentre l'última ordre de les\n" +" ORDRES `until' tingui estat de sortida diferent de zero.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de l'última ordre executada." -#: builtins.c:1644 +# help coproc +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3803,10 +5101,20 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" +"Crea un coprocés anomenat NOM.\n" +"\n" +" Executa ORDRE de forma asincrònica, amb la sortida estàndard i " +"l'entrada\n" +" estàndard de l'ordre connectades via canalització als descriptors de\n" +" fitxer assignats als índexs 0 i 1 del vector NOM a l'intèrpret en\n" +" execució. Per defecte NOM és \"COPROC\".\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida d'ORDRE." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3819,9 +5127,18 @@ msgid "" " Exit Status:\n" " Returns success unless NAME is readonly." msgstr "" +"Defineix una funció.\n" +"\n" +" Crea una funció de l'intèrpret anomenada NOM. Quan s'invoca com a " +"ordre\n" +" simple, NOM executa ORDRES en el context de l'intèrpret de qui fa la\n" +" crida. Quan NOM s'invoca, els arguments es passen a la funció com a\n" +" $1...$n, i el nom de la funció es troba a $FUNCNAME.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si NOM és de només-lectura." -#: builtins.c:1672 -#, fuzzy +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -3830,9 +5147,16 @@ msgid "" " \n" " Exit Status:\n" " Returns the status of the last command executed." -msgstr "Executa un conjunt d'ordres en un grup. A?? ?s una manera de" +msgstr "" +"Agrupa ordres de manera que formin una unitat.\n" +"\n" +" Executa un conjunt d'ordres en un grup. Això permet redirigir la\n" +" sortida d'un grup sencer d'ordres.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida de l'última ordre executada." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3845,8 +5169,20 @@ msgid "" " Exit Status:\n" " Returns the status of the resumed job." msgstr "" +"Reprèn una tasca i la porta al primer pla.\n" +"\n" +" Equivalent a utilitzar TASCA com a argument en l'ordre `fg'. Reprèn " +"una\n" +" tasca aturada o en segon pla. TASCA pot ser el nom d'una tasca, o el\n" +" número d'una tasca. Si es troba un `&' després de TASCA, llavors la\n" +" tasca s'envia en un segon pla, com si l'especificació de tasca\n" +" s'utilitzés com a argument en l'ordre `bg'.\n" +"\n" +" Estat de sortida:\n" +" Torna l'estat de sortida de la feina represa." -#: builtins.c:1699 +# help '((' +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3856,8 +5192,16 @@ msgid "" " Exit Status:\n" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" +"Avalua una expressió aritmètica.\n" +"\n" +" EXPRESSIÓ s'avalua segons les normes d'avaluació aritmètica. És\n" +" equivalent a \"let EXPRESSIÓ\".\n" +"\n" +" Estat de sortida:\n" +" Si el resultat de l'avaluació és 0, torna 1; altrament torna 0." -#: builtins.c:1711 +# help '[[' +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3884,8 +5228,33 @@ msgid "" " Exit Status:\n" " 0 or 1 depending on value of EXPRESSION." msgstr "" +"Executa una ordre condicional.\n" +"\n" +" Torna un estat 0 o 1, depenent del resultat de l'avaluació de\n" +" l'expressió condicional EXPRESSIÓ. Les expressions es componen dels\n" +" mateixos elements que en l'ordre interna `test', i es poden combinar\n" +" usant els següents operadors.\n" +"\n" +" ( EXPRESSIÓ ) Torna el valor d'EXPRESSIÓ\n" +" ! EXPRESSIÓ Cert si EXPRESSIÓ és fals; altrament fals.\n" +" EXPR1 && EXPR2 Cert si tant EXPR1 com EXPR2 són cert; si no, fals.\n" +" EXPR1 || EXPR2 Cert si EXPR1 o EXPR2 és cert; si no, fals.\n" +"\n" +" Quan s'utilitzen els operadors `==' o `!=', el component de la dreta\n" +" s'interpreta com a un patró i es comprova si coincideix amb la cadena " +"de\n" +" l'esquerra de l'operador. Quan s'utilitza l'operador `=~', el " +"component\n" +" de la dreta de l'operador s'interpreta com a expressió regular i es\n" +" comprova si coincideix amb la cadena de l'esquerra de l'operador.\n" +"\n" +" Els operadors && i || no avaluen EXPR2 si EXPR1 és suficient per\n" +" determinar el valor de l'expressió.\n" +"\n" +" Estat de sortida:\n" +" 0 o 1, depenent del valor d'EXPRESSIÓ." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3938,8 +5307,66 @@ msgid "" " HISTIGNORE\tA colon-separated list of patterns used to decide which\n" " \t\tcommands should be saved on the history list.\n" msgstr "" - -#: builtins.c:1794 +"Nom i ús de les variables de l'intèrpret habituals.\n" +"\n" +" BASH_VERSION Informació de la versió de Bash.\n" +" CDPATH\t\tLlista de directoris separats per `:' on buscar\n" +" directoris passats com a arguments a `cd'.\n" +" GLOBIGNORE\t\tLlista de patrons separats per `:' que indiquen noms\n" +" que s'ignoren en fer expansions de noms de fitxer.\n" +" HISTFILE\t\tNom del fitxer on es desa l'historial d'ordres.\n" +" HISTFILESIZE\tNombre màxim de línies que pot contenir el\n" +" fitxer de l'historial.\n" +" HISTSIZE\t\tNombre màxim de línies de l'historial a què un\n" +" \t\t\tintèrpret té accés.\n" +" HOME\t\tCamí complet cap al vostre directori personal.\n" +" HOSTNAME\t\tNom de la màquina actual.\n" +" HOSTTYPE\t\tTipus de CPU de la màquina en què corre Bash.\n" +" IGNOREEOF\t Controla el comportament de l'intèrpret en trobar un\n" +" \t\t\tcaràcter EOF (final de fitxer) com a únic caràcter.\n" +" Si la variable està definida, llavors el seu valor\n" +" és el nombre de caràcters EOF seguits que es poden\n" +" llegir en una línia buida abans que l'intèrpret\n" +" surti (per defecte: 10). Si no està definida, EOF\n" +" s'interpreta com el final de les dades d'entrada.\n" +" MACHTYPE\t\tCadena que descriu el sistema en què corre Bash.\n" +" MAILCHECK\t\tAmb quina freqüència, en segons, Bash comprova si hi\n" +" ha correu nou.\n" +" MAILPATH\t\tLlista de fitxers separats per `:' que Bash comprova\n" +" si tenen correu nou.\n" +" OSTYPE\t\tLa versió de Unix en què corre Bash.\n" +" PATH\t\tLlista de directoris separats per `:' on buscar quan\n" +" \t\t\tse cerquen ordres.\n" +" PROMPT_COMMAND\tOrdre que s'executa cada cop abans de mostrar\n" +" \t\t\tl'introductor de l'intèrpret.\n" +" PS1\t\t\tCadena de l'introductor principal.\n" +" PS2\t\t\tCadena de l'introductor secundari.\n" +" PWD\t\t\tCamí complet cap al directori corrent.\n" +" SHELLOPTS\t\tLlista d'opcions habilitades separades per `:'.\n" +" TERM\t\tNom del tipus de terminal actual.\n" +" TIMEFORMAT\t\tFormat de sortida per a les estadístiques de temps\n" +" \t\t\tproduïdes per l'ordre `time'.\n" +" auto_resume\t\tNo-nul·la significa que una ordre sola en una línia\n" +" \t\t\tes busca en primera instància a la llista actual de\n" +" \t\t\ttasques aturades. Si es troba, aquella tasca es\n" +" passa a primer pla. El valor `exact' significa que\n" +" l'ordre ha de coincidir exactament amb alguna ordre\n" +" de la llista de tasques aturades. El valor\n" +" `substring' significa que l'ordre ha de coincidir\n" +" amb una subcadena de la tasca. Qualsevol altre\n" +" valor significa que l'ordre ha de ser el prefix\n" +" d'una tasca aturada.\n" +" histchars\t\tCaràcters que controlen l'expansió de l'historial i\n" +" \t\t\tles substitucions ràpides. El primer caràcter és el\n" +" \t\t\tcaràcter de substitució de l'historial, habitualment\n" +" \t\t\t`!'. El segon és el caràcter de `substitució\n" +" ràpida', normalment `^'. El tercer és el caràcter\n" +" de `comentari d'historial', normalment `#'.\n" +" HISTIGNORE\t\tLlista de patrons separats per `:' utilitzats per a\n" +" \t\t\tdecidir si les ordres s'han de desar a l'historial.\n" + +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -3949,19 +5376,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3969,8 +5396,37 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" +"Afegeix directoris a la pila.\n" +"\n" +" Afegeix un directori a sobre la pila de directoris, o fa girar la\n" +" llista, de manera que a sobre la pila hi queda el directori de treball\n" +" corrent. Sense arguments, intercanvia els dos directoris de més amunt.\n" +"\n" +" Opcions:\n" +" -n Omet el canvi de directori quan s'afegeixen directoris a la\n" +" pila, de manera que només canvia la pila.\n" +"\n" +" Arguments:\n" +"\n" +" +N Gira la llista de manera tal que l'N-èssim directori\n" +" (comptant des de l'esquerra de la llista que mostra `dirs',\n" +" començant des de zero) queda a dalt de tot.\n" +"\n" +" -N Gira la llista de manera tal que l'N-èssim directori\n" +" (comptant des de la dreta de la llista que mostra `dirs',\n" +" començant des de zero) queda a dalt de tot.\n" +"\n" +" dir Afegeix DIR a dalt de tot de la pila de directoris, i el\n" +" converteix en el nou directori de treball corrent.\n" +"\n" +" Podeu visualitzar la pila de directoris amb l'ordre `dirs'.<\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si s'ha rebut un argument invàlid, o el canvi de\n" +" directori falla." -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -3979,16 +5435,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3996,8 +5452,35 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" +"Treu directoris de la pila.\n" +"\n" +" Elimina entrades de la pila de directoris. Sense arguments, elimina el\n" +" directori de dalt de tot de la pila, i canvia al nou directori de dalt\n" +" de la pila.\n" +"\n" +" Opcions:\n" +" -n Evita el canvi de directori quan s'eliminen directoris de la\n" +" pila, de manera que només es manipula la pila.\n" +"\n" +" Arguments:\n" +" +N Elimina l'entrada N-èssima, comptant des de l'esquerra de la\n" +" llista que mostra `dirs', començant des de zero. Per\n" +" exemple: `popd +0' elimina el primer directori, i `popd +1'\n" +" el segon.\n" +"\n" +" -N Elimina l'entrada N-èssima, comptant des de la dreta de la\n" +" llista que mostra `dirs', començant des de zero. Per\n" +" exemple: `popd -0' elimina l'últim directori, i `popd -1' el\n" +" penúltim.\n" +"\n" +" Podeu visualitzar la pila de directoris amb l'ordre `dirs'.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si es rep un argument invàlid o el canvi de\n" +" directori falla." -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -4008,25 +5491,51 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"Mostra la pila de directoris.\n" +"\n" +" Mostra la llista actual de directoris recordats. Els directoris entren\n" +" a la llista mitjançant l'ordre `pushd'; podeu recórrer la llista de\n" +" directoris enrere amb l'ordre `popd'.\n" +"\n" +" Opcions:\n" +" -c neteja la pila, esborrant-ne tots els elements\n" +" -l no mostra les versions abreviades (prefix ~) en els\n" +" directoris relatius al vostre directori personal\n" +" -p mostra la pila, una entrada per línia\n" +" -v mostra la pila, una entrada per línia indicant la posició a\n" +" la pila\n" +"\n" +" Arguments:\n" +" +N Mostra l'entrada N-èssima, comptant des de l'esquerra de la\n" +" llista mostrada per `dirs' quan s'invoca sense opcions, \n" +" començant des de zero.\n" +"\n" +" -N Mostra l'entrada N-èssima, comptant des de la dreta de la\n" +" llista mostrada per `dirs' quan s'invoca sense opcions,\n" +" començant des de zero.<\n" +"\n" +" Estat de sortida:\n" +" Retorna èxit, excepte si es rep una opció invàlida o es produeix un\n" +" error." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -4046,8 +5555,24 @@ msgid "" " Returns success if OPTNAME is enabled; fails if an invalid option is\n" " given or OPTNAME is disabled." msgstr "" +"Activa i desactiva opcions de l'intèrpret.\n" +"\n" +" Canvia l'estat de cada OPCIÓ. Si no s'especifica cap OPCIÓ, mostra una\n" +" llista de totes les opcions indicant si estan activades o no.\n" +"\n" +" Opcions:\n" +" -o limita les opcions a les que es poden canviar amb `set -o'\n" +" -p\tmostra totes les opcions indicant-ne l'estat\n" +" -q\tsuprimeix la sortida\n" +" -s\tactiva OPCIÓ\n" +" -u\tdesactiva OPCIÓ\n" +"\n" +" Estat de sortida:\n" +" Torna èxit si OPCIÓ està activada; falla si s'especifica una opció\n" +" invàlida o OPCIÓ està desactivada." -#: builtins.c:1908 +#: builtins.c:1919 +#, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -4064,15 +5589,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -4085,8 +5610,38 @@ msgid "" "assignment\n" " error occurs." msgstr "" +"Formata i escriu ARGUMENTS d'acord amb FORMAT.\n" +"\n" +" Opcions:\n" +" -v var assigna la sortida a la variable VAR en lloc d'enviar-la a\n" +" la sortida estàndard\n" +"\n" +" FORMAT és una cadena de caràcters que conté tres tipus d'objectes:\n" +" caràcters normals, que simplement es copien a la sortida estàndard;\n" +" seqüències d'escapada, que es transformen i es copien a la sortida\n" +" estàndard; i especificacions de format, cada una de les quals provoca\n" +" que s'escrigui un argument successiu a la sortida estàndard.\n" +"\n" +" A banda de les especificacions de format estàndards descrites a\n" +" printf(1), printf també interpreta:\n" +"\n" +" %b expandeix seqüències d'escapada a l'argument corresponent\n" +" %q afegeix les cometes necessàries perquè l'argument pugui ser\n" +" utilitzat com a entrada de l'intèrpret\n" +" %(fmt)T escriu la cadena resultant de passar FMT a strftime(3) com a\n" +" argument\n" +"\n" +" El format es reutilitza tant com sigui necessari fins a consumir tots\n" +" els arguments. Si hi ha menys arguments dels que el format requereix,\n" +" la resta d'especificacions de format funcionen com si s'hagués\n" +" especificat un valor de zero o una cadena nul·la, segons el cas.\n" +"\n" +" Estat de sortida:\n" +" Retorna èxit, excepte si es rep una opció invàlida o es produeix un\n" +" error d'assignació o d'escriptura." -#: builtins.c:1942 +#: builtins.c:1953 +#, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -4099,11 +5654,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -4112,8 +5667,31 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"Especifica com Readline ha de completar arguments.\n" +"\n" +" Per a cada NOM, especifica com s'han de completar els arguments. Si no\n" +" s'indica cap opció, les especificacions de compleció existents es\n" +" mostren en un format que permet la reutilització com a entrada.\n" +"\n" +" Opcions:\n" +" -p mostra les especificacions existents en un format " +"reciclable\n" +" -r suprimeix l'especificació de compleció per a NOM, o, si no\n" +" \t\ts'indica cap NOM, totes les especificacions de compleció\n" +" -D assigna les accions o complecions a totes les ordres que no\n" +" tenen definida una compleció específica\n" +" -E assigna les accions o complecions a ordres \"en blanc\", o\n" +" sigui, als intents de completar una línia en blanc\n" +"\n" +" Quan s'intenta una compleció, les accions s'apliquen en l'ordre en què\n" +" les opcions -D i -E apareixen al paràgraf anterior. L'opció -D té\n" +" preferència sobre la -E.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si es passa una opció invàlida o es produeix un\n" +" error." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -4125,8 +5703,18 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"Mostra possibles complecions en funció de les opcions.\n" +"\n" +" Aquesta ordre està pensada per a ser utilitzada en una funció que " +"generi\n" +" possibles complecions. Si s'especifica l'argument opcional PARAULA, es\n" +" limiten les complecions a aquelles que coincideixen amb PARAULA.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit excepte si es passa una opció invàlida o es produeix un\n" +" error." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4156,8 +5744,37 @@ msgid "" " Returns success unless an invalid option is supplied or NAME does not\n" " have a completion specification defined." msgstr "" +"Modifica o mostra opcions de compleció.\n" +"\n" +" Modifica les opcions de compleció de NOM, o, si no s'especifica cap " +"NOM,\n" +" la compleció que s'està executant en el moment. Si no s'indica cap\n" +" OPCIÓ, mostra les opcions de compleció per a cada NOM o\n" +" l'especificació de compleció en ús.\n" +"\n" +" Opcions:\n" +" -o opció Activa OPCIÓ per a NOM\n" +" -D Canvia les opcions de compleció d'ordres per " +"defecte\n" +" -E Canvia les opcions de compleció d'ordres \"buides\"\n" +"\n" +" Si utilitzeu `+o' en lloc de `-o', desactiva l'opció especificada.\n" +"\n" +" Arguments:\n" +"\n" +" Cada NOM és el nom d'una ordre per la qual s'ha d'haver definit una\n" +" especificació de compleció amb l'ordre interna `complete'. Si no\n" +" s'especifica cap NOM, compopt s'ha de cridar des d'una funció " +"generadora\n" +" de complecions, i les opcions que es modifiquen afecten la generació de\n" +" complecions que s'està executant en aquell moment.\n" +"\n" +" Estat de sortida: \n" +" Torna èxit, excepte si es passa alguna opció no vàlida o NOM no té\n" +" definida cap especificació de compleció." -#: builtins.c:2015 +#: builtins.c:2026 +#, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4168,20 +5785,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4197,2418 +5815,65 @@ msgid "" "or\n" " not an indexed array." msgstr "" +"Llegeix línies d'un fitxer cap a una variable vector.\n" +"\n" +" Llegeix línies de l'entrada estàndard cap a la variable VECTOR, o del\n" +" descriptor de fitxer FD i s'especifica l'opció -u. El vector per\n" +" defecte és la variable MAPFILE.\n" +"\n" +" Opcions:\n" +" -n nombre Copia com a màxim NOMBRE línies. Si NOMBRE és 0, es copien\n" +" \t\ttotes les línies.\n" +" -0 origen Comença l'assignació a l'índex ORIGEN, per defecte 0.\n" +" -s nombre Descarta les primeres NOMBRE línies llegides.\n" +" -t Estripa el caràcter de salt de línia de cada línia llegida.\n" +" -u fd Llegeix el descriptor de fitxer FD, en lloc de l'entrada\n" +" estàndard.\n" +" -C callback Avalua CALLBACK cada QUÀNTUM línies llegides.\n" +" -c quàntum Especifica el nombre de línies llegides abans de\n" +" cridar CALLBACK\n" +"\n" +" Arguments:\n" +" VECTOR Nom de la variable vector per a les dades.\n" +"\n" +" Si s'especifica l'opció -C sense -c, el quàntum per defecte és 5000.\n" +" Quan s'avalua la funció CALLBACK, se li passa l'índex del proper " +"element\n" +" del vector i la línia que s'assigna a aquest element, com a arguments\n" +" addicionals.\n" +"\n" +" Si no s'especifica un origen explícit, se suprimeix qualsevol valor\n" +" assignat a VECTOR abans d'assignar cap valor.\n" +"\n" +" Estat de sortida:\n" +" Torna èxit, excepte si es passa una opció no vàlida o VECTOR és de\n" +" només-lectura." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" " A synonym for `mapfile'." msgstr "" +"Llegeix línies d'un fitxer cap a una variable vector.\n" +"\n" +" Un sinònim de `mapfile'." #, fuzzy -#~ msgid "wait [pid]" -#~ msgstr "wait [n]" - -#~ msgid "xrealloc: cannot reallocate %lu bytes (%lu bytes allocated)" -#~ msgstr "" -#~ "xrealloc: no es poden reassignar %lu octets (%lu octets reassignats)" - -#, fuzzy -#~ msgid "xrealloc: cannot allocate %lu bytes" -#~ msgstr "" -#~ "xrealloc: no es poden reassignar %lu octets (%lu octets reassignats)" - -#, fuzzy -#~ msgid "xrealloc: %s:%d: cannot reallocate %lu bytes (%lu bytes allocated)" -#~ msgstr "" -#~ "xrealloc: no es poden reassignar %lu octets (%lu octets reassignats)" - -#~ msgid "Display the list of currently remembered directories. Directories" -#~ msgstr "" -#~ "Mostra la llista dels directoris actualment recordats. Els directoris " - -#~ msgid "find their way onto the list with the `pushd' command; you can get" -#~ msgstr "troben el seu cam? en la llista amb l'ordre ?pushd?; podeu anar cap" - -#~ msgid "back up through the list with the `popd' command." -#~ msgstr "endarrere a trav?s de la llista amb l'ordre ?popd?." - -#~ msgid "" -#~ "The -l flag specifies that `dirs' should not print shorthand versions" -#~ msgstr "" -#~ "Si s'especifica el senyalador \"-l\" no es mostrar? la forma abreviada" - -#~ msgid "" -#~ "of directories which are relative to your home directory. This means" -#~ msgstr "dels directoris que estiguen relacionats amb el vostre directori" - -#~ msgid "that `~/bin' might be displayed as `/homes/bfox/bin'. The -v flag" -#~ msgstr "d'usuari. Aix? vol dir que ?~/bin? pot ser exhibit com" - -#~ msgid "causes `dirs' to print the directory stack with one entry per line," -#~ msgstr "" -#~ "?/home/bfox/bin?. Amb el senyalador \"-v\" l'ordre ?dirs? mostrar? la" - -#~ msgid "" -#~ "prepending the directory name with its position in the stack. The -p" -#~ msgstr "" -#~ "pila de directoris amb una l?nia per a cada entrada, afegint el nom de" - -#~ msgid "flag does the same thing, but the stack position is not prepended." -#~ msgstr "directori amb la seua posici? en la pila. Amb el senyalador \"-p\"" - -#~ msgid "" -#~ "The -c flag clears the directory stack by deleting all of the elements." -#~ msgstr "" -#~ "esdevindr? el mateix, per? no mostrar? les posicions. El senyalador\n" -#~ "\"-c\" buidar? la pila de directoris esborrant tots els seus elements." - -#, fuzzy -#~ msgid "" -#~ "+N displays the Nth entry counting from the left of the list shown by" -#~ msgstr "" -#~ "+N\texhibeix l'entrada N?sima comptant des de l'esquerra de la llista " - -#, fuzzy -#~ msgid " dirs when invoked without options, starting with zero." -#~ msgstr "" -#~ "\tmostrada per ?dirs? quan se l'invoca sense opcions, comen?ant per\n" -#~ "\tzero." - -#, fuzzy -#~ msgid "" -#~ "-N displays the Nth entry counting from the right of the list shown by" -#~ msgstr "" -#~ "-N\texhibeix l'entrada N?sima comptant des de la dreta de la llista " - -#~ msgid "Adds a directory to the top of the directory stack, or rotates" -#~ msgstr "" -#~ "Afegeix un directori en el principi de la pila de dicrectoris, o gira " - -#~ msgid "the stack, making the new top of the stack the current working" -#~ msgstr "" -#~ "la pila fent que el primer directori de la pila siga l'actual. Sense" - -#~ msgid "directory. With no arguments, exchanges the top two directories." -#~ msgstr "cap par?metre, intercanvia els dos primers directoris." - -#, fuzzy -#~ msgid "+N Rotates the stack so that the Nth directory (counting" -#~ msgstr "" -#~ "+N\tGira la pila de tal manera que el directori N?sim (comptant des de" - -#, fuzzy -#~ msgid " from the left of the list shown by `dirs', starting with" -#~ msgstr "\tl'esquerra de la llista mostrada per \"dirs\") ?s al principi." - -#, fuzzy -#~ msgid " zero) is at the top." -#~ msgstr "\tla dreta) ?s el primer." - -#, fuzzy -#~ msgid "-N Rotates the stack so that the Nth directory (counting" -#~ msgstr "" -#~ "-N\tGira la pila de tal manera que el directori N?sim (comptant des de " - -#, fuzzy -#~ msgid " from the right of the list shown by `dirs', starting with" -#~ msgstr "\tl'esquerra de la llista mostrada per \"dirs\") ?s al principi." - -#, fuzzy -#~ msgid "-n suppress the normal change of directory when adding directories" -#~ msgstr "" -#~ "-n\tsuprimeix el canvi normal de directori quan se'n afegeix a la pila, " - -#, fuzzy -#~ msgid " to the stack, so only the stack is manipulated." -#~ msgstr "\tde tal manera que nom?s es manipula la pila." - -#, fuzzy -#~ msgid "dir adds DIR to the directory stack at the top, making it the" -#~ msgstr "" -#~ "dir\tafegeix DIR a la pila de directoris al principi, de tal manera que " - -#, fuzzy -#~ msgid " new current working directory." -#~ msgstr "\taquest ser? el nou directori actual de treball." - -#~ msgid "You can see the directory stack with the `dirs' command." -#~ msgstr "Podeu comprovar la pila de directori amb l'ordre ?dirs?." - -#~ msgid "Removes entries from the directory stack. With no arguments," -#~ msgstr "Esborra entrades de la pila de directoris. Sense cap par?metre," - -#~ msgid "removes the top directory from the stack, and cd's to the new" -#~ msgstr "esborra el primer directori de la pila, i canvia el directori a la" - -#~ msgid "top directory." -#~ msgstr "seguent entrada de la pila (o sia, la nova primera entrada)." - -#, fuzzy -#~ msgid "+N removes the Nth entry counting from the left of the list" -#~ msgstr "+N\ttreu l'entrada N?sima comptant des de l'esquerra de la llista" - -#, fuzzy -#~ msgid " shown by `dirs', starting with zero. For example: `popd +0'" -#~ msgstr "\tmostrada per ?dirs?, comen?ant per zero. Per exemple: ?popd +0?" - -#, fuzzy -#~ msgid " removes the first directory, `popd +1' the second." -#~ msgstr "\ttreu el primer directori, ?popd +1? el segon, etc..." - -#, fuzzy -#~ msgid "-N removes the Nth entry counting from the right of the list" -#~ msgstr "-N\ttreu l'entrada N?sima comptant des de la dreta de la llista" - -#, fuzzy -#~ msgid " shown by `dirs', starting with zero. For example: `popd -0'" -#~ msgstr "" -#~ "\tmostrada per ?dirs?, comen?ant per zero. Per exemple: ?popd -0? treu" - -#, fuzzy -#~ msgid " removes the last directory, `popd -1' the next to last." -#~ msgstr "\tel darrer directori, ?popd -1? treu el pen?ltim, etc..." - -#, fuzzy -#~ msgid "" -#~ "-n suppress the normal change of directory when removing directories" -#~ msgstr "" -#~ "-n\tsuprimeix el canvi normal de directori quan es treu cap directori " - -#, fuzzy -#~ msgid " from the stack, so only the stack is manipulated." -#~ msgstr "\tde la pila, de tal manera que nom?s es manipula la pila." - -#, fuzzy -#~ msgid "" -#~ "Exit from within a FOR, WHILE or UNTIL loop. If N is specified,\n" -#~ " break N levels." -#~ msgstr "Ix d'un bucle FOR, WHILE o UNTIL." - -#~ msgid "Obsolete. See `declare'." -#~ msgstr "Obsoleta. Llegiu ?declare?." - -#~ msgid "" -#~ "Output the ARGs. If -n is specified, the trailing newline is suppressed." -#~ msgstr "" -#~ "Mostra els PAR?METREs. Si especifiqueu -n, se suprimir? el car?cter\n" -#~ "d'inici de l?nia." - -#~ msgid "" -#~ "Read ARGs as input to the shell and execute the resulting command(s)." -#~ msgstr "" -#~ "Llegeix els PAR?METRES a l'entrada de l'int?rpret d'ordres i executa les\n" -#~ "ordres resultants." - -#~ msgid "Logout of a login shell." -#~ msgstr "Finalitzar una sessi? de l'int?rpret d'ordres." - -#, fuzzy -#~ msgid "" -#~ "Causes a function to exit with the return value specified by N. If N\n" -#~ " is omitted, the return status is that of the last command." -#~ msgstr "" -#~ "Provoca l'eixida d'una funci? amb un valor de retorn especificat per" - -#, fuzzy -#~ msgid "" -#~ "The positional parameters from $N+1 ... are renamed to $1 ... If N is\n" -#~ " not given, it is assumed to be 1." -#~ msgstr "" -#~ "Es reanomenen els par?metres posicionals des de $N+1 ... com a $1 ... " - -#, fuzzy -#~ msgid "" -#~ "Print the accumulated user and system times for processes run from\n" -#~ " the shell." -#~ msgstr "" -#~ "Mostra el temps acumulat per l'usuari i pel sistema d'haver executat " - -#~ msgid "Missing `}'" -#~ msgstr "S'ha perdut '}'" - -#~ msgid "brace_expand> " -#~ msgstr "clau_expansi?> " - -# Ac? vaig tindre dubtes sobre quina paraula fer servir -# per al terme "command". Mirant-me el diccionari auxiliar -# de Sebasti? Pla i Sanz, traductor del KDE, vaig trobar-ne tres -# de traduccions: ordre, comandament, i comanda. I vaig triar -# la paraula "comanda". -# -# No obstant aix?, no s? si la paraula "command" pot traduir-se -# tamb? amb els altres termes depenent del context. Reviseu -# sobre el terme "comanda". -# Mtx (12/10/2002). -# -# Llegint al TERMCAT, la paraula "comanda" no apareix enlloc. Al glossari -# de termes del Softcatal? si hi apareix. Encara no ho tinc clar. Mentre -# m'informe una mica m?s, per?, ho deixar? com a "ordre", tal com ho -# heu fet fins ara. El problema que t? el TERMCAT, a la meua opini?, ?s -# que s'apropa massa a l'espanyol. No en tinc res en contra d'aquesta -# llengua, per? algunes traduccions en catal?, per exemple, basant-se -# en l'espanyol, em semblen poc naturals, i n'he trobat d'altres basats -# en el franc?s que s? me'n semblen m?s naturals. -# Mtx (15/10/2002) -#~ msgid "Attempt to free unknown command type `%d'.\n" -#~ msgstr "Intenteu lliurar l'ordre de mena desconeguda '%d'.\n" - -#~ msgid "Report this to %s\n" -#~ msgstr "Informeu d'aix? a %s\n" - -#~ msgid "Stopping myself..." -#~ msgstr "Aturant-me..." - -#~ msgid "Tell %s to fix this someday.\n" -#~ msgstr "Digueu a %s que solucione aix? algun dia.\n" - -#~ msgid "execute_command: bad command type `%d'" -#~ msgstr "ordre_execuci?: el tipus d'ordre ?s inv?lid '%d'" - -#~ msgid "real\t" -#~ msgstr "real\t" - -#~ msgid "user\t" -#~ msgstr "usuari\t" - -#~ msgid "sys\t" -#~ msgstr "sistema\t" - -#~ msgid "" -#~ "real\t0m0.00s\n" -#~ "user\t0m0.00s\n" -#~ "sys\t0m0.00s\n" -#~ msgstr "" -#~ "real\t0m0.00s\n" -#~ "usuari\t0m0.00s\n" -#~ "sistema\t0m0.00s\n" - -#~ msgid "cannot duplicate fd %d to fd 1: %s" -#~ msgstr "" -#~ "no es pot copiar per duplicat el descriptor del fitxer df %d cap a df 1: " -#~ "%s" - -#~ msgid "%s: output redirection restricted" -#~ msgstr "%s: redirecci? d'eixida restringida" - -#~ msgid "Out of memory!" -#~ msgstr "Mem?ria esgotada!" - -#~ msgid "You have already added item `%s'\n" -#~ msgstr "Ja hi heu afegit l'element: '%s'\n" - -#~ msgid "You have entered %d (%d) items. The distribution is:\n" -#~ msgstr "Heu introdu?t %d (%d) elements. La distribuci? ?s:\n" - -#~ msgid "%s: bg background job?" -#~ msgstr "%s: suggeriment: voleu executar 'bg' en segon pla?" - -#~ msgid "" -#~ "Redirection instruction from yyparse () '%d' is\n" -#~ "out of range in make_redirection ()." -#~ msgstr "" -#~ "La instrucci? de redirecci? de la funci? yyparse () '%d' ?s fora\n" -#~ "de l'interval en la funci? make_redirection()." - -#~ msgid "clean_simple_command () got a command with type %d." -#~ msgstr "clean_simple_command () heu rebut un ordre del tipus %d." - -#~ msgid "got errno %d while waiting for %d" -#~ msgstr "s'ha rebut l'error %d mentre s'esperava per %d" - -#~ msgid "syntax error near unexpected token `%c'" -#~ msgstr "hi ha un error inesperat de sintaxi a prop del senyal '%c'" - -#~ msgid "print_command: bad command type `%d'" -#~ msgstr "print_command: tipus d'ordre inv?lid '%d'" - -#~ msgid "cprintf: bad `%%' argument (%c)" -#~ msgstr "crintf: el par?metre '%%' de l'opci? %c ?s inv?lid" - -#~ msgid "option `%s' requires an argument" -#~ msgstr "l'opci? '%s' requereix un par?metre" - -#~ msgid "%s: unrecognized option" -#~ msgstr "%s: l'opci? no ?s reconeguda" - -#~ msgid "`-c' requires an argument" -#~ msgstr "'-c' requereix un par?metre" - -#~ msgid "%s: cannot execute directories" -#~ msgstr "%s: no es poden executar els directoris" - -#~ msgid "Bad code in sig.c: sigprocmask" -#~ msgstr "Codi incorrecte a la rutina sig.c: sigprocmask" - -#~ msgid "bad substitution: no ending `}' in %s" -#~ msgstr "substituci? inv?lida: no s'ha tancat %s amb cap '}'" - -#~ msgid "%s: bad array subscript" -#~ msgstr "%s: la composici? de la matriu no ?s v?lida" - -#~ msgid "can't make pipes for process substitution: %s" -#~ msgstr "no es poden establir conductes per a la substituci? del proc?s: %s" - -#~ msgid "reading" -#~ msgstr "s'est? llegint" - -#~ msgid "process substitution" -#~ msgstr "proc?s de substituci? en curs" - -#~ msgid "command substitution" -#~ msgstr "substituci? de l'ordre" - -#~ msgid "Can't reopen pipe to command substitution (fd %d): %s" -#~ msgstr "" -#~ "El conducte no es pot reobrir per a substituir\n" -#~ "l'ordre (descripci? de fitxer%d): %s" - -#~ msgid "$%c: unbound variable" -#~ msgstr "$%c: variable sense vincle" - -#~ msgid "%s: bad arithmetic substitution" -#~ msgstr "%s: substituci? aritm?tica inv?lida" - -#~ msgid "-%s: binary operator expected" -#~ msgstr "-%s: s'esperava un operador binari" - -#~ msgid "%s[%s: bad subscript" -#~ msgstr "%s[%s: sub-?ndex inv?lid" - -#~ msgid "[%s: bad subscript" -#~ msgstr "[%s: sub-?ndex inv?lid" - -#~ msgid "digits occur in two different argv-elements.\n" -#~ msgstr "les xifres apareixen dins de dos par?metres diferents.\n" - -#~ msgid "option %c\n" -#~ msgstr "opci? %c\n" - -#~ msgid "option a\n" -#~ msgstr "opci? a\n" - -#~ msgid "option b\n" -#~ msgstr "opci? b\n" - -#~ msgid "option c with value `%s'\n" -#~ msgstr "opci? c amb el valor ?%s?\n" - -#~ msgid "?? sh_getopt returned character code 0%o ??\n" -#~ msgstr "sh_getopt() retorn? 0%o com a codi de car?cter??\n" - -#~ msgid "non-option ARGV-elements: " -#~ msgstr "elements d'ARGV que no s?n opcions: " - -#~ msgid "%s: Unknown flag %s.\n" -#~ msgstr "%s: Senyalador desconegut %s.\n" - -#~ msgid "Unknown directive `%s'" -#~ msgstr "Directiva desconeguda ?%s?" - -#~ msgid "%s requires an argument" -#~ msgstr "%s cal un par?metre" - -#~ msgid "%s must be inside of a $BUILTIN block" -#~ msgstr "%s ha d'estar dins d'un bloc $BUILTIN" - -#~ msgid "%s found before $END" -#~ msgstr "%s trobat abans de $END" - -#~ msgid "%s already has a function (%s)" -#~ msgstr "%s ja cont? la funci? definida: %s" - -#~ msgid "%s already had a docname (%s)" -#~ msgstr "%s ja t? un nom de document (%s)" - -#~ msgid "%s already has short documentation (%s)" -#~ msgstr "%s ja t? una documentaci? r?pida (%s)" - -#~ msgid "%s already has a %s definition" -#~ msgstr "%s ja t? una definici? %s" - -#~ msgid "mkbuiltins: Out of virtual memory!\n" -#~ msgstr "mkbuiltins(): S'ha esgotat la mem?ria virtual!\n" - -# Tot i que no he trobat cap traducci? t?cnica oficial al TERMCAT -# crec que la traducci? de "prompt" com a "apuntador" ?s prou -# ilustratiu i significatiu per al context, no?. -#~ msgid "read [-r] [-p prompt] [-a array] [-e] [name ...]" -#~ msgstr "read [-r] [-p apuntador] [-a matriu] [-e] [nom ...]" - -#~ msgid "%[DIGITS | WORD] [&]" -#~ msgstr "%[XIFRES | PARAULES] [&]" - -#~ msgid "variables - Some variable names and meanings" -#~ msgstr "variables - Algunes variables i els seus significats" - -#~ msgid "`alias' with no arguments or with the -p option prints the list" -#~ msgstr "" -#~ "Si 'alias' no porta arguments o porta l'opci? -p es mostra la llista" - -#~ msgid "of aliases in the form alias NAME=VALUE on standard output." -#~ msgstr "d'?lies en la forma 'alias NOM=VALOR' en l'eixida per defecte." - -#~ msgid "Otherwise, an alias is defined for each NAME whose VALUE is given." -#~ msgstr "" -#~ "Altrament, es defineix un ?lies per cada NOM que en d?na el seu VALOR." - -#~ msgid "A trailing space in VALUE causes the next word to be checked for" -#~ msgstr "" -#~ "Un salt de l?nia dins del VALOR for?a la substituci? de la seg?ent " -#~ "paraula per" - -#~ msgid "alias substitution when the alias is expanded. Alias returns" -#~ msgstr "substituci? de l'?lies quan aquest s'hi expandeix. L'?lies torna" - -#~ msgid "true unless a NAME is given for which no alias has been defined." -#~ msgstr "" -#~ "cert almenys que es d?ne un NOM pel qual no s'haja estat definit cap ?" -#~ "lies." - -#~ msgid "then remove all alias definitions." -#~ msgstr "l'opci? -a, aleshores se suprimeixen totes les definicions." - -#~ msgid "Bind a key sequence to a Readline function, or to a macro. The" -#~ msgstr "" -#~ "Vincula una seq??ncia de tecles cap una funci? de lectura, o a una macro." - -#~ msgid "syntax is equivalent to that found in ~/.inputrc, but must be" -#~ msgstr "" -#~ "La sintaxi ?s equivalent al que es troba a ~/.inputrc, per? ha s'ha de fer" - -#~ msgid "" -#~ "passed as a single argument: bind '\"\\C-x\\C-r\": re-read-init-file'." -#~ msgstr "" -#~ "el pas com a ?nic par?metre: bind '\"\\C-x\\C-r\": re-read-init-file'." - -#~ msgid "Arguments we accept:" -#~ msgstr "Els par?metres acceptats s?n:" - -#~ msgid "" -#~ " -m keymap Use `keymap' as the keymap for the duration of this" -#~ msgstr "" -#~ " -m mapa_tecles Fa servir 'keymap' com el mapa de car?cters " -#~ "durant" - -#~ msgid " command. Acceptable keymap names are emacs," -#~ msgstr "" -#~ " l'execuci? d'aquest ordre. S'accepten els noms emacs," - -#~ msgid "" -#~ " emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move," -#~ msgstr "" -#~ " emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move," - -#~ msgid " vi-command, and vi-insert." -#~ msgstr " vi-command, i vi-insert." - -#~ msgid " -l List names of functions." -#~ msgstr " -l Mostra la llista de noms de les funcions." - -#~ msgid " -P List function names and bindings." -#~ msgstr "" -#~ " -P Mostra la llista de noms i vincles de les funcions." - -#~ msgid "" -#~ " -p List functions and bindings in a form that can be" -#~ msgstr "" -#~ " -p Mostra la llista de funcions i vincles d'una manera" - -#~ msgid " reused as input." -#~ msgstr "" -#~ " que puga ser reutilitzada com a entrada de dades." - -#~ msgid " -r keyseq Remove the binding for KEYSEQ." -#~ msgstr "" -#~ " -r seq??ncia_tecles Treu els vincles de la seq??ncia de tecles." - -#~ msgid " -f filename Read key bindings from FILENAME." -#~ msgstr " -f fitxer Llegeix les assignacions de tecles d'un fitxer." - -#~ msgid "" -#~ " -q function-name Query about which keys invoke the named function." -#~ msgstr "" -#~ " -q nom_funci? Consultar quines tecles invoquen la funci? demanada." - -#~ msgid " -V List variable names and values" -#~ msgstr "" -#~ " -V Mostra la llista de noms i valors de les variables." - -#~ msgid "" -#~ " -v List variable names and values in a form that can" -#~ msgstr "" -#~ " -v Mostra la llista de noms i valors de variables de " -#~ "manera" - -#~ msgid " be reused as input." -#~ msgstr "" -#~ " que puga ser reutilitzada com a entrada de dades." - -#~ msgid "" -#~ " -S List key sequences that invoke macros and their " -#~ "values" -#~ msgstr "" -#~ " -S Mostra la llista de seq??ncies de tecles que criden\n" -#~ " macros i els seus valors." - -#~ msgid "" -#~ " -s List key sequences that invoke macros and their " -#~ "values in" -#~ msgstr "" -#~ " -s Mostra la llista de seq??ncies de tecles que criden" - -#~ msgid " a form that can be reused as input." -#~ msgstr "" -#~ " macros i els seus valors de manera que puga ser\n" -#~ " reutilitzada com a entrada de dades." - -#~ msgid "break N levels." -#~ msgstr "Si s'especifica N, s'ix despr?s de N iteracions." - -#~ msgid "If N is specified, resume at the N-th enclosing loop." -#~ msgstr "Si s'especifica N, es repr?n el bucle al N-?sim cicle." - -#~ msgid "Run a shell builtin. This is useful when you wish to rename a" -#~ msgstr "" -#~ "Executa una ordre integrada de l'int?rpret. Aix? ?s ?til quan desitgeu" - -#~ msgid "shell builtin to be a function, but need the functionality of the" -#~ msgstr "" -#~ "renomenar una ordre integrada de l'int?rpret perqu? siga una funci?, per?" - -#~ msgid "builtin within the function itself." -#~ msgstr "cal la funcionalitat de l'ordre integrada dins de la pr?pia funci?." - -#~ msgid "Change the current directory to DIR. The variable $HOME is the" -#~ msgstr "Fa servir DIR com el directori actual. La variable $HOME ?s el" - -#~ msgid "default DIR. The variable $CDPATH defines the search path for" -#~ msgstr "" -#~ "valor per defecte de DIR. La variable $CDPATH defineix el cam? de recerca" - -#~ msgid "the directory containing DIR. Alternative directory names in CDPATH" -#~ msgstr "" -#~ "per al directori que cont? DIR. Els noms de directoris alternatius que " -#~ "hi ha" - -#~ msgid "are separated by a colon (:). A null directory name is the same as" -#~ msgstr "" -#~ "en CDPATH s?n separats per dos punts. Un nom buit de directori ?s el " -#~ "mateix" - -#~ msgid "the current directory, i.e. `.'. If DIR begins with a slash (/)," -#~ msgstr "" -#~ "que el directori actual, p.e. ?.?. Si es comen?a en DIR amb una barra " -#~ "(/)," - -#~ msgid "then $CDPATH is not used. If the directory is not found, and the" -#~ msgstr "" -#~ "aleshores no es fa servir $CDPATH. Si no es troba el directori, i l'opci?" - -#~ msgid "shell option `cdable_vars' is set, then try the word as a variable" -#~ msgstr "" -#~ "de l'int?rpret ?cdable_vars? ?s activa, aleshores intenta fer servir la" - -#~ msgid "name. If that variable has a value, then cd to the value of that" -#~ msgstr "" -#~ "paraula com a nom de variable. Si aquesta variable ja tenia un valor," - -#~ msgid "" -#~ "variable. The -P option says to use the physical directory structure" -#~ msgstr "aleshores es canvia al directori d'aquest valor. L'opci? -P indica" - -#~ msgid "" -#~ "instead of following symbolic links; the -L option forces symbolic links" -#~ msgstr "" -#~ "l'emprament de l'estructura f?sica del directori en voltes d'enlla?os" - -#~ msgid "to be followed." -#~ msgstr "simb?lics; l'opci? -L for?a el seguiment d'enlla?os simb?lics." - -#~ msgid "Print the current working directory. With the -P option, pwd prints" -#~ msgstr "" -#~ "Mostra el directori actual de treball. Amb l'opci? -P, pwd mostra el" - -#~ msgid "the physical directory, without any symbolic links; the -L option" -#~ msgstr "" -#~ "directori f?sic, sense cap enlla? simb?lic; l'opci? -L fa que pwd seguisca" - -#~ msgid "makes pwd follow symbolic links." -#~ msgstr "els enlla?os simb?lics." - -#~ msgid "" -#~ "Runs COMMAND with ARGS ignoring shell functions. If you have a shell" -#~ msgstr "" -#~ "Executa ORDRE amb PAR?METRES ignorant les funcions de l'int?rpret. Si " -#~ "teniu" - -#~ msgid "function called `ls', and you wish to call the command `ls', you can" -#~ msgstr "" -#~ "una funci? de l'int?rpret anomenat ?ls?, i desitgeu cridar l'ordre ?ls?," - -#~ msgid "" -#~ "say \"command ls\". If the -p option is given, a default value is used" -#~ msgstr "" -#~ "podeu escriure ?command ls?. Si doneu l'opci? -p, es far? servir un valor" - -#~ msgid "" -#~ "for PATH that is guaranteed to find all of the standard utilities. If" -#~ msgstr "" -#~ "per defecte per al PATH, que garanteix la cerca de les eines est?ndard. " -#~ "Si hi" - -#~ msgid "" -#~ "the -V or -v option is given, a string is printed describing COMMAND." -#~ msgstr "" -#~ "indiqueu l'opci? -V o -v, es mostrar? una cadena de text descrivint " -#~ "l'ORDRE." - -#~ msgid "The -V option produces a more verbose description." -#~ msgstr "L'opci? -V produeix una descripci? m?s acurada." - -#~ msgid "Declare variables and/or give them attributes. If no NAMEs are" -#~ msgstr "" -#~ "Es declara les variables i/o se'ls d?na atributs. Si no es proporcionen " -#~ "NOMS," - -#~ msgid "given, then display the values of variables instead. The -p option" -#~ msgstr "" -#~ "aleshores mostra els valors de les variables. L'opci? -p mostrar? els" - -#~ msgid "will display the attributes and values of each NAME." -#~ msgstr "atributs i valors de cada NOM." - -#~ msgid "The flags are:" -#~ msgstr "Els senyaladors s?n:" - -#~ msgid " -a\tto make NAMEs arrays (if supported)" -#~ msgstr " -a\tper a fer matrius de NOMS (si n'?s suportat)" - -#~ msgid " -f\tto select from among function names only" -#~ msgstr " -f\ttriar nom?s entre els noms de les funcions" - -#~ msgid " -F\tto display function names without definitions" -#~ msgstr " -F\tmostrar noms de funcions ometent les seues definicions" - -#~ msgid " -r\tto make NAMEs readonly" -#~ msgstr " -r\tblocar l'acc?s d'escriptura de les variables NOMs" - -#~ msgid " -x\tto make NAMEs export" -#~ msgstr " -x\texportar les variables de NOMs" - -#~ msgid " -i\tto make NAMEs have the `integer' attribute set" -#~ msgstr " -i\tactivar l'atribut num?ric enter les variables NOMs" - -#~ msgid "Variables with the integer attribute have arithmetic evaluation (see" -#~ msgstr "" -#~ "Les variables que tinguen l'atribut num?ric enter tenen feta l'evaluaci?" - -#~ msgid "`let') done when the variable is assigned to." -#~ msgstr "aritm?tica (mirar ?let?) quan se'ls assigna la variable." - -#~ msgid "When displaying values of variables, -f displays a function's name" -#~ msgstr "" -#~ "Quan es mostra els valors de les variables, amb -f es mostra un nom de " -#~ "funci?" - -#~ msgid "and definition. The -F option restricts the display to function" -#~ msgstr "" -#~ "i la definici?. Amb l'opci? -F es limita nom?s en mostrar el nom de la" - -#~ msgid "name only." -#~ msgstr "funci?." - -#~ msgid "" -#~ "Using `+' instead of `-' turns off the given attribute instead. When" -#~ msgstr "" -#~ "Emprant \"+\" en voltes de \"-\" desactiva l'atribut especificat. Quan ?s" - -#~ msgid "used in a function, makes NAMEs local, as with the `local' command." -#~ msgstr "" -#~ "emprat en una funci?, converteix NOMs en variables locals, igual com es " -#~ "fa\n" -#~ "amb l'ordre ?local?." - -#~ msgid "Create a local variable called NAME, and give it VALUE. LOCAL" -#~ msgstr "" -#~ "Es crea una variable local anomenat NOM, i el d?na un VALOR. Nom?s es " -#~ "pot fer" - -#~ msgid "have a visible scope restricted to that function and its children." -#~ msgstr "variable NOM nom?s per a aquesta funci? i per als seus fills." - -#~ msgid "Output the ARGs. If -n is specified, the trailing newline is" -#~ msgstr "" -#~ "Mostra els PAR?METREs. Si especifiqueu -n, s'eliminar? el car?cter de " -#~ "salt" - -#~ msgid "suppressed. If the -e option is given, interpretation of the" -#~ msgstr "" -#~ "de l?nia. Si especifiqueu l'opci? -e, s'activar? la interpretaci? de les" - -#~ msgid "following backslash-escaped characters is turned on:" -#~ msgstr "seq??ncies d'escapada (barra inclinada inversa):" - -#~ msgid "\t\\a\talert (bell)" -#~ msgstr "\t\\a\talerta (camponada)" - -#~ msgid "\t\\b\tbackspace" -#~ msgstr "\t\\b\tesborrar cap enrere" - -#~ msgid "\t\\c\tsuppress trailing newline" -#~ msgstr "\t\\c\tsuprimeix el car?cter de salt de l?nia" - -#~ msgid "\t\\E\tescape character" -#~ msgstr "\t\\E\tcar?cter d'escapada" - -#~ msgid "\t\\f\tform feed" -#~ msgstr "\t\\f\talimentaci? manual de paper" - -#~ msgid "\t\\n\tnew line" -#~ msgstr "\t\\n\tl?nia nova" - -#~ msgid "\t\\r\tcarriage return" -#~ msgstr "\t\\r\ttecla de retorn de carro" - -#~ msgid "\t\\t\thorizontal tab" -#~ msgstr "\t\\t\tpestanya horitzontal" - -#~ msgid "\t\\v\tvertical tab" -#~ msgstr "\t\\v\tpestanya vertical" - -#~ msgid "\t\\\\\tbackslash" -#~ msgstr "\t\\\\\tbarra invertida" - -#~ msgid "\t\\num\tthe character whose ASCII code is NUM (octal)." -#~ msgstr "\t\\num\tcar?cter del qual codi ASCII ?s NUM (octal)." - -#~ msgid "" -#~ "You can explicitly turn off the interpretation of the above characters" -#~ msgstr "" -#~ "Podeu desactivar expl?citament la interpretaci? dels car?cters esmentats " -#~ "amb" - -#~ msgid "with the -E option." -#~ msgstr "l'opci? -E." - -#~ msgid "Enable and disable builtin shell commands. This allows" -#~ msgstr "" -#~ "Activa i desactiva les ordres integrades de l'int?rpret d'ordres. A?? us" - -#~ msgid "you to use a disk command which has the same name as a shell" -#~ msgstr "" -#~ "permet fer servir una ordre de disc que tinga el mateix nom d'una ordre " -#~ "interna" - -#~ msgid "builtin. If -n is used, the NAMEs become disabled; otherwise" -#~ msgstr "" -#~ "de l'int?rpret d'ordres. Si utilitzeu -n, els NOMs es desactiven; " -#~ "altrament" - -#~ msgid "NAMEs are enabled. For example, to use the `test' found on your" -#~ msgstr "" -#~ "s'activarien els NOMs. Per exemple, per a fer servir l'ordre ?test? del " -#~ "cam?" - -#~ msgid "path instead of the shell builtin version, type `enable -n test'." -#~ msgstr "" -#~ "d'acc?s (PATH) en voltes de la versi? integrada de l'int?rpret d'ordres," - -#~ msgid "On systems supporting dynamic loading, the -f option may be used" -#~ msgstr "" -#~ "teclegeu ?enable -n test?. En sistemes que suporten c?rrega din?mica, " -#~ "l'opci?" - -#~ msgid "to load new builtins from the shared object FILENAME. The -d" -#~ msgstr "" -#~ "-f es pot fer servir per a carregar noves ordres predefinides de l'objecte" - -#~ msgid "option will delete a builtin previously loaded with -f. If no" -#~ msgstr "" -#~ "de FITXER compartit. L'opci? -d esborrar? una ordre integrada carregada " - -#~ msgid "non-option names are given, or the -p option is supplied, a list" -#~ msgstr "" -#~ "pr?viament amb -f. Si no s'especifica cap opci?, o s'especifica l'opci? -" -#~ "p, es" - -#~ msgid "of builtins is printed. The -a option means to print every builtin" -#~ msgstr "" -#~ "mostra una llista d'ordres predefinides. L'opci? -a implica mostrar cada" - -#~ msgid "with an indication of whether or not it is enabled. The -s option" -#~ msgstr "" -#~ "ordre integrada amb una indicaci? de si est? activa o no. L'opci? -s " -#~ "impedeix" - -#~ msgid "restricts the output to the Posix.2 `special' builtins. The -n" -#~ msgstr "" -#~ "l'eixida de les ordres predefinides \"especials\" Posix.2. L'opci? -n " -#~ "mostra" - -#~ msgid "option displays a list of all disabled builtins." -#~ msgstr "una llista de totes les funcions internes desactivades." - -#~ msgid "Getopts is used by shell procedures to parse positional parameters." -#~ msgstr "" -#~ "La funci? getopts() ?s utilitzada pels procediments de l'int?rpret " -#~ "d'ordres\n" -#~ "per a analitzar par?metres posicionals." - -#~ msgid "OPTSTRING contains the option letters to be recognized; if a letter" -#~ msgstr "" -#~ "La variable OPTSTRING cont? les opcions de forma curta per a ser " -#~ "reconegudes;" - -#~ msgid "is followed by a colon, the option is expected to have an argument," -#~ msgstr "" -#~ "si una lletra ?s seguida per dos punts, s'ha de donar un par?metre que " -#~ "hauria" - -#~ msgid "which should be separated from it by white space." -#~ msgstr "d'estar separat per un espai en blanc." - -#~ msgid "Each time it is invoked, getopts will place the next option in the" -#~ msgstr "" -#~ "Cada vegada que se'l invoca, ?getops? posar? la seg?ent opci? en la " -#~ "variable" - -#~ msgid "shell variable $name, initializing name if it does not exist, and" -#~ msgstr "" -#~ "$name de l'int?rpret d'ordres, creant-lo si no existeix, i l'?ndex del " -#~ "seg?ent" - -#~ msgid "the index of the next argument to be processed into the shell" -#~ msgstr "" -#~ "par?metre per a processar-se dins de la variable OPTIND de l'int?rpret" - -#~ msgid "variable OPTIND. OPTIND is initialized to 1 each time the shell or" -#~ msgstr "" -#~ "d'ordres. OPTIND s'inicia amb 1 cada vegada que s'invoca l'int?rpret " -#~ "d'ordres" - -#~ msgid "a shell script is invoked. When an option requires an argument," -#~ msgstr "" -#~ "o una seq??ncia d'ordres. Quan una opci? requereix un par?metre, la funci?" - -#~ msgid "getopts places that argument into the shell variable OPTARG." -#~ msgstr "" -#~ "getopts() colžloca aquest par?metre dins de la variable OPTARG de l'int?" -#~ "rpret." - -#~ msgid "getopts reports errors in one of two ways. If the first character" -#~ msgstr "" -#~ "La funci? getopts() comunica errors en una de les dues maneres. Si el" - -#~ msgid "of OPTSTRING is a colon, getopts uses silent error reporting. In" -#~ msgstr "primer car?cter de la variable OPSTRING ?s el signe ':', la funci?" - -#~ msgid "this mode, no error messages are printed. If an illegal option is" -#~ msgstr "" -#~ "getopts() corre silenciosament. D'aquesta manera, no s'imprimir? cap" - -#~ msgid "seen, getopts places the option character found into OPTARG. If a" -#~ msgstr "missatge d'error. Si es troba una opci? incorrecta, la funci?" - -#~ msgid "required argument is not found, getopts places a ':' into NAME and" -#~ msgstr "colžloca aquesta opci? de forma curta dins de la variable OPTARG " - -#~ msgid "sets OPTARG to the option character found. If getopts is not in" -#~ msgstr "" -#~ "si no es troba un patr?metre esperat, la funci? getopts() introdueix" - -#~ msgid "silent mode, and an illegal option is seen, getopts places '?' into" -#~ msgstr "el signe ':' dins de la variable NAME i estableix el valor de la" - -#~ msgid "NAME and unsets OPTARG. If a required option is not found, a '?'" -#~ msgstr "" -#~ "variable OPTARG amb l'opci? de forma curta que s'hi haja trobada. Si" - -#~ msgid "is placed in NAME, OPTARG is unset, and a diagnostic message is" -#~ msgstr "la funci? getopts() no est? en mode silenci?s, i s'ha trobat una" - -#~ msgid "If the shell variable OPTERR has the value 0, getopts disables the" -#~ msgstr "Si la variable OPTERR de l'int?rpret d'ordres t? un valor nul, la" - -#~ msgid "printing of error messages, even if the first character of" -#~ msgstr "" -#~ "funci? getopts() desactiva la impressi? dels missatges d'error, tot i" - -#~ msgid "OPTSTRING is not a colon. OPTERR has the value 1 by default." -#~ msgstr "" -#~ "que el primer car?cter de OPSTRING no siga el signe ':'. La variable\n" -#~ "OPTERR t? el valor 1 com a defecte." - -#~ msgid "Getopts normally parses the positional parameters ($0 - $9), but if" -#~ msgstr "La funci? getopts() normalment analitza els par?metres posicionals" - -#~ msgid "more arguments are given, they are parsed instead." -#~ msgstr "" -#~ "($0-$9), per? si se'n d?na m?s arguments, se'ls analitza en voltes\n" -#~ "dels posicionals." - -#~ msgid "Exec FILE, replacing this shell with the specified program." -#~ msgstr "" -#~ "Executa el FITXER, reempla?ant aquest int?rpret d'ordres pel programa." - -#~ msgid "If FILE is not specified, the redirections take effect in this" -#~ msgstr "" -#~ "especificat. Si no s'especifica FITXER, els redre?aments tindran efecte" - -#~ msgid "shell. If the first argument is `-l', then place a dash in the" -#~ msgstr "en aquest int?rpret d'ordres. Si el primer par?metre ?s \"-l\"," - -#~ msgid "zeroth arg passed to FILE, as login does. If the `-c' option" -#~ msgstr "aleshores es reempla?a el par?metre 0 pel signe \"-\" referenciat a" - -#~ msgid "is supplied, FILE is executed with a null environment. The `-a'" -#~ msgstr "" -#~ "FITXER, com aix? es fa en l'inici de sessi?. Si s'especifica l'opci? \"-c" -#~ "\"," - -#~ msgid "option means to make set argv[0] of the executed process to NAME." -#~ msgstr "" -#~ "s'executa FITXER en un entorn nul. L'opci? \"-a\" estableix que el\n" -#~ "proc?s executat portar? aquest NOM." - -#~ msgid "If the file cannot be executed and the shell is not interactive," -#~ msgstr "Si no es pot executar el fitxer i l'int?rpret d'ordres no ?s" - -#~ msgid "then the shell exits, unless the variable \"no_exit_on_failed_exec\"" -#~ msgstr "interactiu, aleshores l'int?rpret finalitza la seua execuci?, a" - -#~ msgid "is set." -#~ msgstr "menys que s'inicialitze la variable \"no_exit_on_failed_exec\"." - -#~ msgid "is that of the last command executed." -#~ msgstr "l'estat d'eixida ?s el darrer ordre executat." - -#~ msgid "" -#~ "FIRST and LAST can be numbers specifying the range, or FIRST can be a" -#~ msgstr "PRIMER i ?LTIM poden ser n?meros que especifiquen el rang, o PRIMER" - -#~ msgid "string, which means the most recent command beginning with that" -#~ msgstr "" -#~ "pot ser una cadena, que representa l'ordre m?s recent el qual comen?a" - -#~ msgid "string." -#~ msgstr "amb eixa cadena." - -#~ msgid "" -#~ " -e ENAME selects which editor to use. Default is FCEDIT, then EDITOR," -#~ msgstr "" -#~ " -e ENAME tria quin editor emprar. FCEDIT ?s per defecte, despr?s ?s" - -#~ msgid "" -#~ " then the editor which corresponds to the current readline editing" -#~ msgstr "" -#~ " EDITOR, despr?s l'editor que correspon amb l'actual editor del " - -#~ msgid " mode, then vi." -#~ msgstr " mode de l?nia d'ordre, i per ?ltim ?vi?." - -#~ msgid " -l means list lines instead of editing." -#~ msgstr " -l mostra les l?nies en voltes d'editar-les." - -#~ msgid " -n means no line numbers listed." -#~ msgstr " -n no es mostraran els n?meros de l?nia." - -#~ msgid "" -#~ " -r means reverse the order of the lines (making it newest listed " -#~ "first)." -#~ msgstr "" -#~ " -r inverteix l'ordre de les l?nies (els m?s recents es llisten primer)." - -#~ msgid "With the `fc -s [pat=rep ...] [command]' format, the command is" -#~ msgstr "" -#~ "Amb el format ?fc -s [pat=rep ...] [command]?, es reexecuta l'ordre " - -#~ msgid "re-executed after the substitution OLD=NEW is performed." -#~ msgstr "despr?s de que es realitze la substituci? de ANTIC per NOU." - -#~ msgid "A useful alias to use with this is r='fc -s', so that typing `r cc'" -#~ msgstr "Un ?lies ?til per a usar-lo amb aix? ?s r='fc -s', per tant si" - -#~ msgid "runs the last command beginning with `cc' and typing `r' re-executes" -#~ msgstr "s'escriu ?r cc? s'executar? la darrera ordre que comen?a per ?cc? i" - -#~ msgid "JOB_SPEC is not present, the shell's notion of the current job is" -#~ msgstr "Si no s'especifica ID_TASCA, s'aplicaran els atributs d'execuci? de" - -#~ msgid "used." -#~ msgstr "l'int?rpret d'ordres de la tasca actual." - -#~ msgid "Place JOB_SPEC in the background, as if it had been started with" -#~ msgstr "Ubica ID_TASCA en segon pla, com si s'haguera iniciat amb \"&\"." - -#~ msgid "`&'. If JOB_SPEC is not present, the shell's notion of the current" -#~ msgstr "Si no s'especifica ID_TASCA, s'aplicaran els atributs d'execuci? de" - -#~ msgid "job is used." -#~ msgstr "l'int?rpret d'ordres de la tasca actual." - -#~ msgid "For each NAME, the full pathname of the command is determined and" -#~ msgstr "Per a cada NOM, es determina i es recorda el nom del cam? d'acc?s" - -#~ msgid "remembered. If the -p option is supplied, PATHNAME is used as the" -#~ msgstr "complet de l'ordre. Si s'especifica l'opci? -p , es fa servir" - -#~ msgid "full pathname of NAME, and no path search is performed. The -r" -#~ msgstr "CAM?_ACC?S com el nom del cam? complet de NOM, i no es realitzar?" - -#~ msgid "option causes the shell to forget all remembered locations. If no" -#~ msgstr "cap cerca de camins. L'opci? -r fa que l'int?rpret d'ordres oblide" - -#~ msgid "" -#~ "arguments are given, information about remembered commands is displayed." -#~ msgstr "" -#~ "totes les ubicacions del cam? d'acc?s. Si no s'hi d?na arguments, es\n" -#~ "mostrar? informaci? sobre els camins d'acc?s triats per les ordres." - -#~ msgid "Display helpful information about builtin commands. If PATTERN is" -#~ msgstr "Mostra informaci? d'utilitat sobre les ordres integrades. Si" - -#~ msgid "specified, gives detailed help on all commands matching PATTERN," -#~ msgstr "s'especifica PLANTILLA, s'hi d?na ajuda detallada sobre totes les" - -#~ msgid "otherwise a list of the builtins is printed." -#~ msgstr "" -#~ "ordres que coincidisquen amb PLANTILLA, altrament s'hi mostrar? una\n" -#~ "llista de les ordres integrades." - -#~ msgid "Display the history list with line numbers. Lines listed with" -#~ msgstr "Mostra el llistat de l'hist?ric de manera numerada. Les l?nies qu?" - -#~ msgid "with a `*' have been modified. Argument of N says to list only" -#~ msgstr "" -#~ "han sigut modificades s?n llistades amb el signe \"*\". El par?metre" - -#~ msgid "the last N lines. The -c option causes the history list to be" -#~ msgstr "" -#~ "N mostra les darreres N l?nies. L'opci? -c fa que es buide l'hist?ric" - -#~ msgid "" -#~ "cleared by deleting all of the entries. The `-w' option writes out the" -#~ msgstr "" -#~ "esborrant totes les seues entrades. L'opci? \"-w\" escriu l'hist?ric" - -#~ msgid "" -#~ "current history to the history file; `-r' means to read the file and" -#~ msgstr "" -#~ "actual al fitxer d'hist?ric; d'altra banda, l'opci? \"-r\" llegeix el" - -#~ msgid "append the contents to the history list instead. `-a' means" -#~ msgstr "" -#~ "fitxer i afegeix els continguts a l'hist?ric. L'opci? \"-a\" afegeix" - -#~ msgid "to append history lines from this session to the history file." -#~ msgstr "les l?nies de l'hist?ric d'aquesta sessi? al fitxer de l'hist?ric." - -#~ msgid "Argument `-n' means to read all history lines not already read" -#~ msgstr "" -#~ "Amb el par?metre \"-n\" es llegeix totes les l?nies de l'hist?ric que" - -#~ msgid "from the history file and append them to the history list. If" -#~ msgstr "encara no hagen sigut llegides del fitxer d'hist?ric i l'afegeix a" - -#~ msgid "FILENAME is given, then that is used as the history file else" -#~ msgstr "la llista de l'hist?ric. Si s'especifica FITXER, aquest es far?" - -#~ msgid "if $HISTFILE has a value, that is used, else ~/.bash_history." -#~ msgstr "" -#~ "servir com el fitxer d'hist?ric, altrament s'utilitzar? el valor de\n" -#~ "$HISTFILE, si en t?, i sin? es mirar? en ~/.bash_history." - -#~ msgid "If the -s option is supplied, the non-option ARGs are appended to" -#~ msgstr "Si s'especifica l'opci? \"-s\", els PAR?METRES que no s?n opcions" - -#~ msgid "the history list as a single entry. The -p option means to perform" -#~ msgstr "" -#~ "seran afegits a l'hist?ric com una entrada ?nica. Amb l'opci? \"-p\"" - -#~ msgid "" -#~ "history expansion on each ARG and display the result, without storing" -#~ msgstr "" -#~ "es realitza una expansi? de l'hist?ric en cada PAR?METRE i mostra el " - -#~ msgid "anything in the history list." -#~ msgstr "resultat, sense al?ar res en l'hist?ric." - -#~ msgid "Lists the active jobs. The -l option lists process id's in addition" -#~ msgstr "Llista les tasques actives. Amb l'opci? \"-l\" es llista els" - -#~ msgid "to the normal information; the -p option lists process id's only." -#~ msgstr "" -#~ "identificadors de proc?s a m?s de la informaci? normal; amb l'opci? \n" -#~ "\"-p\" es llista nom?s els identificadors de proc?s." - -#~ msgid "" -#~ "If -n is given, only processes that have changed status since the last" -#~ msgstr "Si s'especifica \"-n\", nom?s s'imprimeixen els processos que hagen" - -#~ msgid "" -#~ "notification are printed. JOBSPEC restricts output to that job. The" -#~ msgstr "" -#~ "canviat el seu estat despr?s del seu darrer av?s.\n" -#~ "ID_TASCA restringeix que es mostre una tasca particular." - -#~ msgid "-r and -s options restrict output to running and stopped jobs only," -#~ msgstr "" -#~ "Amb les opcions \"-r\" i \"-s\" es restringeix nom?s la impressi? de" - -#~ msgid "respectively. Without options, the status of all active jobs is" -#~ msgstr "les tasques actives i aturades, respectivamente. Sense cap opci?," - -#~ msgid "" -#~ "printed. If -x is given, COMMAND is run after all job specifications" -#~ msgstr "" -#~ "es mostren l'estat de totes les tasques actives Si s'especifica\n" -#~ "\"-X\" s'executa ORDRE despr?s de que totes les especificacions de" - -#~ msgid "" -#~ "that appear in ARGS have been replaced with the process ID of that job's" -#~ msgstr "" -#~ "tasca que apareixen en PAR?METRES hagen sigut reempla?ades pel proc?s" - -#~ msgid "process group leader." -#~ msgstr "ID del proc?s de la tasca mestressa del grup." - -#~ msgid "Removes each JOBSPEC argument from the table of active jobs." -#~ msgstr "" -#~ "Suprimeix cada par?metre de ID_TASCA de la taula de tasques actives." - -#~ msgid "Send the processes named by PID (or JOB) the signal SIGSPEC. If" -#~ msgstr "" -#~ "Envia el SENYAL als processos especificats pel seu PID o pel seu nom" - -#~ msgid "" -#~ "SIGSPEC is not present, then SIGTERM is assumed. An argument of `-l'" -#~ msgstr "de tasca. Si no s'especifica el SENYAL, aleshores s'assumeix" - -#~ msgid "lists the signal names; if arguments follow `-l' they are assumed to" -#~ msgstr "SIGTERM. Amb un par?metre de \"-l\" es llista els noms de les" - -#~ msgid "be signal numbers for which names should be listed. Kill is a shell" -#~ msgstr "" -#~ "senyals; si hi ha un par?metre despr?s de l'opci? \"-l\", es mostra\n" -#~ "el valor num?ric del n?mero de senyal. L'ordre ?kill? ?s " - -#~ msgid "builtin for two reasons: it allows job IDs to be used instead of" -#~ msgstr "integrada de l'int?rpret per dues raons: permet fer servir els" - -#~ msgid "process IDs, and, if you have reached the limit on processes that" -#~ msgstr "" -#~ "identificadors de tasca en voltes dels identificadors de proc?s i, si" - -#~ msgid "" -#~ "you can create, you don't have to start a process to kill another one." -#~ msgstr "" -#~ "no heu excedit el l?mit de processos que pots crear-hi, no heu\n" -#~ "d'iniciar un altre proc?s per a finalitzar un altre." - -#~ msgid "Each ARG is an arithmetic expression to be evaluated. Evaluation" -#~ msgstr "Cada PARAMETRE ?s una expressi? aritm?tica per a avaluar-se." - -#~ msgid "is done in long integers with no check for overflow, though division" -#~ msgstr "" -#~ "L'avaluaci? es fa amb enters long sense control de sobreeiximent, si" - -#~ msgid "by 0 is trapped and flagged as an error. The following list of" -#~ msgstr "" -#~ "b? la divisi? per 0 ?s capturada i marcada com un error. La seg?ent" - -#~ msgid "operators is grouped into levels of equal-precedence operators." -#~ msgstr "llista d'operadors s'agrupa dins del mateix nivell de preced?ncia." - -#~ msgid "The levels are listed in order of decreasing precedence." -#~ msgstr "La llista dels nivells est? ordenada de manera decreixent." - -#~ msgid "\t-, +\t\tunary minus, plus" -#~ msgstr "\t-, +\t\tunari minus, m?s" - -#~ msgid "\t!, ~\t\tlogical and bitwise negation" -#~ msgstr "\t!, ~\t\tnegaci? l?gica i bin?ria" - -#~ msgid "\t*, /, %\t\tmultiplication, division, remainder" -#~ msgstr "\t*, /, %\t\tmultiplicaci?, divisi?, restant" - -#~ msgid "\t+, -\t\taddition, subtraction" -#~ msgstr "\t+, -\t\taddici?, substracci?" - -#~ msgid "\t<<, >>\t\tleft and right bitwise shifts" -#~ msgstr "\t<<, >>\t\tdecalaments bin?ries dreta i esquerra" - -#~ msgid "\t<=, >=, <, >\tcomparison" -#~ msgstr "\t<=, >=, <, >\tcomparaci?" - -#~ msgid "\t==, !=\t\tequality, inequality" -#~ msgstr "\t==, !=\t\tequival?ncia, inequival?ncia" - -#~ msgid "\t&\t\tbitwise AND" -#~ msgstr "\t&\t\tAND binari" - -#~ msgid "\t^\t\tbitwise XOR" -#~ msgstr "\t^\t\tXOR binari" - -#~ msgid "\t|\t\tbitwise OR" -#~ msgstr "\t|\t\tOR binari" - -#~ msgid "\t&&\t\tlogical AND" -#~ msgstr "\t&&\t\tAND l?gic" - -#~ msgid "\t||\t\tlogical OR" -#~ msgstr "\t||\t\tOR l?gic" - -#~ msgid "\texpr ? expr : expr" -#~ msgstr "\texpr ? expr : expr" - -#~ msgid "\t\t\tconditional expression" -#~ msgstr "\t\t\texpressi? condicional" - -#~ msgid "\t=, *=, /=, %=," -#~ msgstr "\t=, *=, /=, %=," - -#~ msgid "\t+=, -=, <<=, >>=," -#~ msgstr "\t+=, -=, <<=, >>=," - -#~ msgid "\t&=, ^=, |=\tassignment" -#~ msgstr "\t&=, ^=, |=\tassignaci?" - -#~ msgid "is replaced by its value (coerced to a long integer) within" -#~ msgstr "" -#~ "nom de la variable ?s reempla?at pel seu valor (convertit for?osament" - -#~ msgid "an expression. The variable need not have its integer attribute" -#~ msgstr "" -#~ "en un enter long) dins d'una expressi?. No cal que la variable tinga" - -#~ msgid "turned on to be used in an expression." -#~ msgstr "" -#~ "activada el seu atribut d'enter per ser utilitzada en una expressi?." - -#~ msgid "Operators are evaluated in order of precedence. Sub-expressions in" -#~ msgstr "" -#~ "S'avaluen els operadors per ordre de preced?ncia. Les subexpressions" - -#~ msgid "parentheses are evaluated first and may override the precedence" -#~ msgstr "qu? que es troben dins dels par?ntesis s?n avaluades primer i poden" - -#~ msgid "rules above." -#~ msgstr "saltar-se les regles de preced?ncies esmentades." - -#~ msgid "If the last ARG evaluates to 0, let returns 1; 0 is returned" -#~ msgstr "Si el darrer PARAMETRE avalua a 0, let retorna 1; altrament, es" - -#~ msgid "otherwise." -#~ msgstr "retorna 1." - -#~ msgid "One line is read from the standard input, and the first word is" -#~ msgstr "" -#~ "Es llegeix una l?nia des de l'entrada de dades est?ndard, i s'assigna" - -#~ msgid "" -#~ "assigned to the first NAME, the second word to the second NAME, and so" -#~ msgstr "la primera paraula al primer NOM, la segona paraula al segon NOM, i" - -#~ msgid "" -#~ "on, with leftover words assigned to the last NAME. Only the characters" -#~ msgstr "aix? successivament, assignant-se les ?ltimes paraules als ?ltims" - -#~ msgid "found in $IFS are recognized as word delimiters. The return code is" -#~ msgstr "NOMs. Nom?s es reconeixen com a delimitadors els car?cters que es" - -#~ msgid "" -#~ "zero, unless end-of-file is encountered. If no NAMEs are supplied, the" -#~ msgstr "" -#~ "troben en $IFS. El codi de retorn ?s zero, mentre no es trobe el fi" - -#~ msgid "" -#~ "line read is stored in the REPLY variable. If the -r option is given," -#~ msgstr "" -#~ "de fitxer (EOF). Si no s'especifica NOMs, s'al?a la l?nia llegida en" - -#~ msgid "this signifies `raw' input, and backslash escaping is disabled. If" -#~ msgstr "" -#~ "la variable REPLY. Si s'especifica l'opci? \"-r\", aix? vol dir que es" - -#~ msgid "the `-p' option is supplied, the string supplied as an argument is" -#~ msgstr "" -#~ "tracta d'una entrada de dades directa (\"raw data\"), i es desactiva la" - -#~ msgid "" -#~ "output without a trailing newline before attempting to read. If -a is" -#~ msgstr "" -#~ "barra invertida d'escapada. Si s'especifica l'opci? \"-p\", la cadena" - -#~ msgid "" -#~ "supplied, the words read are assigned to sequential indices of ARRAY," -#~ msgstr "especificada com a par?metre es mostra sense salts de l?nia abans" - -#~ msgid "starting at zero. If -e is supplied and the shell is interactive," -#~ msgstr "" -#~ "d'intentar llegir-la. Si s'especifica l'opci? \"-a\", s'assignen les" - -#~ msgid "readline is used to obtain the line." -#~ msgstr "" -#~ "paraules llegides a ?n ?ndex seq?encial de MATRIU, incialitzant a\n" -#~ "zero. Si s'especifica l'opci? \"-e\" i l'int?rpret d'ordres ?s\n" -#~ "interactiu, es fa servir \"readline\" per a obtindre la l?nia." - -#~ msgid "is omitted, the return status is that of the last command." -#~ msgstr "N. Si s'omet N, l'estat del retorn ?s el de la darrera ordre." - -#~ msgid " -a Mark variables which are modified or created for export." -#~ msgstr "" -#~ " -a Marca les variables modificades o creades per a exportar-les." - -#~ msgid " -b Notify of job termination immediately." -#~ msgstr " -b Avisa immediatament de la finalitzaci? d'una tasca." - -#~ msgid " -e Exit immediately if a command exits with a non-zero status." -#~ msgstr "" -#~ " -e Ix immediatament si una ordre ix amb un estat distint de zero." - -#~ msgid " -f Disable file name generation (globbing)." -#~ msgstr " -f Desactiva la generaci? de noms de fitxer (globbing)." - -#~ msgid " -h Remember the location of commands as they are looked up." -#~ msgstr " -h Recorda la ubicaci? de les ordres quan siguen buscades." - -#~ msgid "" -#~ " -i Force the shell to be an \"interactive\" one. Interactive shells" -#~ msgstr "" -#~ " -i For?a l'int?rpret d'ordres el mode \"interactiu\". Aquest mode" - -#~ msgid " always read `~/.bashrc' on startup." -#~ msgstr " llegeix sempre ?~/.bashrc? en iniciar-se." - -#~ msgid " -k All assignment arguments are placed in the environment for a" -#~ msgstr "" -#~ " -k Ubica totes les assignacions de par?metres en l'entorn per una" - -#~ msgid " command, not just those that precede the command name." -#~ msgstr "" -#~ " ordre, no tan sols aquells que precedeix del nom de l'ordre." - -#~ msgid " -m Job control is enabled." -#~ msgstr " -m Activa el control de tasques." - -#~ msgid " -n Read commands but do not execute them." -#~ msgstr " -n Llegeix les ordres per? no els executa." - -#~ msgid " -o option-name" -#~ msgstr " -o nom-opci?" - -#~ msgid " Set the variable corresponding to option-name:" -#~ msgstr " Especifiqueu la variable corresponent per a nom-opci?:" - -#~ msgid " allexport same as -a" -#~ msgstr " allexport el mateix que -a" - -#~ msgid " braceexpand same as -B" -#~ msgstr " braceexpand el mateix que -B" - -#~ msgid " emacs use an emacs-style line editing interface" -#~ msgstr "" -#~ " emacs utilitza una interfa? d'edici? de l?nia de\n" -#~ " l'estil d'emacs." - -#~ msgid " errexit same as -e" -#~ msgstr " errexit el mateix que -e" - -#~ msgid " hashall same as -h" -#~ msgstr " hashall el mateix que -h" - -#~ msgid " histexpand same as -H" -#~ msgstr " histexpand el mateix que -H" - -#~ msgid " ignoreeof the shell will not exit upon reading EOF" -#~ msgstr "" -#~ " ignoreeof l'int?rpret d'ordres no terminar? fins llegir\n" -#~ " el fi de fitxer (EOF)." - -#~ msgid " interactive-comments" -#~ msgstr " interactive-comments" - -#~ msgid "" -#~ " allow comments to appear in interactive commands" -#~ msgstr "" -#~ " permet mostrar-se comentaris en les ordres\n" -#~ " interactives" - -#~ msgid " keyword same as -k" -#~ msgstr " keyword el mateix que -k" - -#~ msgid " monitor same as -m" -#~ msgstr " monitor el mateix que -m" - -#~ msgid " noclobber same as -C" -#~ msgstr " noclobber el mateix que -C" - -#~ msgid " noexec same as -n" -#~ msgstr " noexec el mateix que -n" - -#~ msgid " noglob same as -f" -#~ msgstr " noglob el mateix que -f" - -#~ msgid " notify save as -b" -#~ msgstr " notify el mateix que -b" - -#~ msgid " nounset same as -u" -#~ msgstr " nounset el mateix que -u" - -#~ msgid " onecmd same as -t" -#~ msgstr " onecmd el mateix que -t" - -#~ msgid " physical same as -P" -#~ msgstr " physical el mateix que -P" - -#~ msgid "" -#~ " posix change the behavior of bash where the default" -#~ msgstr "" -#~ " posix canvia el comportament de bash en l'operaci?" - -#~ msgid "" -#~ " operation differs from the 1003.2 standard to" -#~ msgstr " per defecte de l'est?ndard 1003.2 per a" - -#~ msgid " match the standard" -#~ msgstr " coincidir amb l'est?ndard" - -#~ msgid " privileged same as -p" -#~ msgstr " privileged el mateix que -p" - -#~ msgid " verbose same as -v" -#~ msgstr " verbose el mateix que -v" - -#~ msgid " vi use a vi-style line editing interface" -#~ msgstr "" -#~ " vi utilitza una intefa? d'edici? de l?nia de\n" -#~ " l'estil de ?vi?" - -#~ msgid " xtrace same as -x" -#~ msgstr " xtrace el mateix que -x" - -#~ msgid "" -#~ " -p Turned on whenever the real and effective user ids do not match." -#~ msgstr "" -#~ " -p S'activa quan no coincideixen els identificadors d'usuari real \n" -#~ " i efectiu." - -#~ msgid " Disables processing of the $ENV file and importing of shell" -#~ msgstr " Desactiva el proc?s del fitxer $ENV i la importaci? de les" - -#~ msgid "" -#~ " functions. Turning this option off causes the effective uid and" -#~ msgstr " funcions de l'int?rpret d'ordres. Si es desactiva aquesta" - -#~ msgid " gid to be set to the real uid and gid." -#~ msgstr "" -#~ " opci?, s'estableix l'identificador d'usuari (uid) i\n" -#~ " l'identificador de grup (gid) efectius per l'uid i gid reals." - -#~ msgid " -t Exit after reading and executing one command." -#~ msgstr " -t Ix despr?s de llegir i executar una ordre." - -#~ msgid " -u Treat unset variables as an error when substituting." -#~ msgstr "" -#~ " -u Considerar les variables no inicialitzades com un error quan\n" -#~ " se substitu?sca." - -#~ msgid " -v Print shell input lines as they are read." -#~ msgstr "" -#~ " -v Imprimeix les l?nies d'entrada de dades de l'int?rpret\n" -#~ " d'ordres mentre es llegeixen." - -#~ msgid " -x Print commands and their arguments as they are executed." -#~ msgstr "" -#~ " -x Imprimeix les ordres i els seus par?metres mentre s'executen." - -#~ msgid " -B the shell will perform brace expansion" -#~ msgstr " -B l'int?rpret d'ordres realitzar? una expansi? de claus." - -#~ msgid " -H Enable ! style history substitution. This flag is on" -#~ msgstr " -H Activa l'estil ! en la substituci? de l'hist?ric. Aquest" - -#~ msgid " by default." -#~ msgstr " senyalador est? marcat per defecte." - -#~ msgid " -C If set, disallow existing regular files to be overwritten" -#~ msgstr " -C Evita que els fitxers regulars siguen sobreescrits per la" - -#~ msgid " by redirection of output." -#~ msgstr " redirecci? de l'eixida de dades." - -#~ msgid " -P If set, do not follow symbolic links when executing commands" -#~ msgstr "" -#~ " -P No rastreja els enlla?os simb?lics quan s'executa ordres com " - -#~ msgid " such as cd which change the current directory." -#~ msgstr " per exemple cd que canvia el directori actual." - -#~ msgid "Using + rather than - causes these flags to be turned off. The" -#~ msgstr "" -#~ "Si feu servir el signe \"+\" en voltes del signe \"-\" desmarcareu els\n" -#~ "senyaladors. Tamb? es poden utilitzar els senyaladors des de la" - -#~ msgid "flags can also be used upon invocation of the shell. The current" -#~ msgstr "invocaci? de l'int?rpret d'ordres. Es pot trobar la configuraci?" - -#~ msgid "" -#~ "set of flags may be found in $-. The remaining n ARGs are positional" -#~ msgstr "actual dels senyaladors en $-. Els restants PAR?METRES n s?n" - -#~ msgid "parameters and are assigned, in order, to $1, $2, .. $n. If no" -#~ msgstr "" -#~ "par?metres posicionals i estan assignats, en ordre, a $1, $2, ... $n." - -#~ msgid "ARGs are given, all shell variables are printed." -#~ msgstr "" -#~ "Si no s'especifiquen els PAR?METRES, es mostraran totes les variables de\n" -#~ "l'int?rpret d'ordres." - -#~ msgid "For each NAME, remove the corresponding variable or function. Given" -#~ msgstr "" -#~ "Esborra la variable o funci? corresponent per a cada NOM. Amb l'opci? " - -#~ msgid "the `-v', unset will only act on variables. Given the `-f' flag," -#~ msgstr "" -#~ "\"-v\", ?unset? opera nom?s en les variables. Amb el senyalador \"-f\"," - -#~ msgid "unset will only act on functions. With neither flag, unset first" -#~ msgstr "nom?s en funcions. Amb cap dels dos senyaladors, ?unset? primer" - -#~ msgid "tries to unset a variable, and if that fails, then tries to unset a" -#~ msgstr "" -#~ "intentar? eliminar una variable, i si en falla, aleshores ho intenta" - -#~ msgid "" -#~ "function. Some variables (such as PATH and IFS) cannot be unset; also" -#~ msgstr "" -#~ "amb una funci?. Algunes variables (aix? com CAMI_ACCES i IFS) no es" - -#~ msgid "see readonly." -#~ msgstr "poden esborrar (veure l'opci? \"readonly\")." - -#~ msgid "NAMEs are marked for automatic export to the environment of" -#~ msgstr "" -#~ "S'assenyalen els NOMs per a exportar-los autom?ticament a l'entorn de " - -#~ msgid "subsequently executed commands. If the -f option is given," -#~ msgstr "" -#~ "les ordres executades subseq?entment. Si s'especifica l'opci? \"-f\", " - -#~ msgid "the NAMEs refer to functions. If no NAMEs are given, or if `-p'" -#~ msgstr "" -#~ "els NOMs fan refer?ncia a les funcions. Si no s'especifica NOMs, o si " - -#~ msgid "is given, a list of all names that are exported in this shell is" -#~ msgstr "" -#~ "s'especifica \"-p\", es mostra una llista de tots els noms exportats cap " - -#~ msgid "printed. An argument of `-n' says to remove the export property" -#~ msgstr "aquest int?rpret d'ordres. Amb \"-n\" s'esborra les propietats " - -#~ msgid "from subsequent NAMEs. An argument of `--' disables further option" -#~ msgstr "d'exportaci? per als NOMs subseq?ents. Amb \"--\" s'atura el " - -#~ msgid "processing." -#~ msgstr "tractament subseq?ent de les opcions." - -#~ msgid "" -#~ "The given NAMEs are marked readonly and the values of these NAMEs may" -#~ msgstr "" -#~ "Els NOMs especificats es marquen amb l'atribut de nom?s lectura, els" - -#~ msgid "not be changed by subsequent assignment. If the -f option is given," -#~ msgstr "" -#~ "valors dels quals no poden ser canviats per assignacions subseq?ents." - -#~ msgid "then functions corresponding to the NAMEs are so marked. If no" -#~ msgstr "" -#~ "Si s'especifica l'opci? \"-f\", aleshores les funcions corresponents als" - -#~ msgid "" -#~ "arguments are given, or if `-p' is given, a list of all readonly names" -#~ msgstr "NOMs tamb? se'n marquen. Si no s'especifica par?metres, o si" - -#~ msgid "" -#~ "is printed. An argument of `-n' says to remove the readonly property" -#~ msgstr "" -#~ "s'especifica \"-p\", es mostra una llista de tots els noms amb l'atribut" - -#~ msgid "from subsequent NAMEs. The `-a' option means to treat each NAME as" -#~ msgstr "de nom?s lectura. Amb l'opci? \"-n\" s'esborra l'atribut de nom?s" - -#~ msgid "an array variable. An argument of `--' disables further option" -#~ msgstr "" -#~ "lectura pels NOMs subseq?ents. Amb \"-a\" tracta cada NOM com una\n" -#~ "variable de matriu. Amb el par?metre \"--\" s'atura el tractament\n" -#~ "subseq?ent de les opcions." - -#~ msgid "not given, it is assumed to be 1." -#~ msgstr "Si no s'especifica N, s'assumeix el valor com a 1." - -#~ msgid "Read and execute commands from FILENAME and return. The pathnames" -#~ msgstr "Llegeix i executa ordres de FITXER i retorna. Es fan servir els" - -#~ msgid "in $PATH are used to find the directory containing FILENAME." -#~ msgstr "camins d'acc?s de $PATH per a trobar el directori que cont? FITXER." - -#~ msgid "Suspend the execution of this shell until it receives a SIGCONT" -#~ msgstr "" -#~ "Susp?n l'execuci? d'aquest int?rpret d'ordres fins que reba una senyal" - -#~ msgid "signal. The `-f' if specified says not to complain about this" -#~ msgstr "" -#~ "SIGCONT. Si s'especifica \"-f\" no es mostrar? cap missatge d'av?s de" - -#~ msgid "being a login shell if it is; just suspend anyway." -#~ msgstr "" -#~ "si l'int?rpret ?s un d'inici de sessi? (shell login); simplement ho susp?" -#~ "n de\n" -#~ "qualsevol manera." - -#~ msgid "Exits with a status of 0 (trueness) or 1 (falseness) depending on" -#~ msgstr "Ix amb l'estat de 0 (cert) o 1 (fals) depenent de l'avaluaci? de " - -#~ msgid "the evaluation of EXPR. Expressions may be unary or binary. Unary" -#~ msgstr "l'EXPRESSIO. Les expressions poden ser un?ries o bin?ries. Les" - -#~ msgid "expressions are often used to examine the status of a file. There" -#~ msgstr "" -#~ "expressions un?ries sovint es fan servir per a examinar l'estat d'un" - -#~ msgid "are string operators as well, and numeric comparison operators." -#~ msgstr "fitxer. Tamb? hi ha operadors de cadenes i de comparaci? num?rica." - -#~ msgid "File operators:" -#~ msgstr "Operadors de fitxer:" - -#~ msgid " -b FILE True if file is block special." -#~ msgstr " -b FITXER Cert si el fitxer ?s un bloc especial." - -#~ msgid " -c FILE True if file is character special." -#~ msgstr " -c FITXER Cert si el fitxer ?s un car?cter especial." - -#~ msgid " -d FILE True if file is a directory." -#~ msgstr " -d FITXER Cert si el fitxer ?s un directori." - -#~ msgid " -e FILE True if file exists." -#~ msgstr " -e FITXER Cert si el fitxer existeix." - -#~ msgid " -f FILE True if file exists and is a regular file." -#~ msgstr "" -#~ " -f FITXER Cert si el fitxer existeix i ?s un fitxer normal." - -#~ msgid " -g FILE True if file is set-group-id." -#~ msgstr " -g FITXER Cert si el fitxer ?s set-group-id." - -#~ msgid " -h FILE True if file is a symbolic link. Use \"-L\"." -#~ msgstr "" -#~ " -h FITXER Cert si el fitxer ?s un enlla? simb?lic.\n" -#~ " Utilitzeu \"-L\"." - -#~ msgid " -L FILE True if file is a symbolic link." -#~ msgstr " -L FITXER Cert si el fitxer ?s un enlla? simb?lic." - -#~ msgid " -k FILE True if file has its \"sticky\" bit set." -#~ msgstr "" -#~ " -k FITXER Cert si el fitxer t? activat el seu bit \"sticky\"." - -#~ msgid " -p FILE True if file is a named pipe." -#~ msgstr " -p FITXER Cert si el fitxer ?s un conducte anomenat." - -#~ msgid " -r FILE True if file is readable by you." -#~ msgstr " -r FITXER Cert si podeu llegir el fitxer." - -#~ msgid " -s FILE True if file exists and is not empty." -#~ msgstr " -s FITXER Cert si el fitxer existeix i no ?s buit." - -#~ msgid " -S FILE True if file is a socket." -#~ msgstr " -S FITXER Cert si el fitxer ?s un s?col." - -#~ msgid " -t FD True if FD is opened on a terminal." -#~ msgstr " -t FD Cert si FD ?s obert en una terminal." - -#~ msgid " -u FILE True if the file is set-user-id." -#~ msgstr " -u FITXER Cert si el fitxer ?s set-user-id." - -#~ msgid " -w FILE True if the file is writable by you." -#~ msgstr " -w FITXER Cert si podeu escriure el fitxer." - -#~ msgid " -x FILE True if the file is executable by you." -#~ msgstr " -w FITXER Cert si podeu escriure el fitxer." - -#~ msgid " -O FILE True if the file is effectively owned by you." -#~ msgstr " -O FITXER Cert si sou el propietari del fitxer." - -#~ msgid "" -#~ " -G FILE True if the file is effectively owned by your group." -#~ msgstr " -G FITXER Cert si sou del grup propietari del fitxer." - -#~ msgid " FILE1 -nt FILE2 True if file1 is newer than (according to" -#~ msgstr "" -#~ " FITXER1 -nt FITXER2\n" -#~ " Cert si fitxer1 ?s tan recent com fitxer2" - -#~ msgid " modification date) file2." -#~ msgstr " (d'acord amb les dates d'?ltima modificaci?)." - -#~ msgid " FILE1 -ot FILE2 True if file1 is older than file2." -#~ msgstr "" -#~ " FITXER1 -ot FITXER2\n" -#~ " Cert si fitxer1 ?s tan antic com fitxer2." - -#~ msgid " FILE1 -ef FILE2 True if file1 is a hard link to file2." -#~ msgstr "" -#~ " FITXER1 -ef FITXER2\n" -#~ " Cert si fitxer 1 ?s un enlla? fort cap a fitxer2." - -#~ msgid "String operators:" -#~ msgstr "Operadors de cadena:" - -#~ msgid " -z STRING True if string is empty." -#~ msgstr " -z CADENA Cert si la cadena ?s bu?da." - -#~ msgid " -n STRING" -#~ msgstr " -n CADENA" - -#~ msgid " STRING True if string is not empty." -#~ msgstr " CADENA Cert si la cadena no ?s bu?da." - -#~ msgid " STRING1 = STRING2" -#~ msgstr " CADENA1 = CADENA2" - -#~ msgid " True if the strings are equal." -#~ msgstr " Cert si les cadenes s?n iguals." - -#~ msgid " STRING1 != STRING2" -#~ msgstr " CADENA1 != CADENA2" - -#~ msgid " True if the strings are not equal." -#~ msgstr " Cert si les cadenes s?n diferents." - -#~ msgid " STRING1 < STRING2" -#~ msgstr " CADENA1 < CADENA2" - -#~ msgid "" -#~ " True if STRING1 sorts before STRING2 lexicographically" -#~ msgstr "" -#~ " Cert si CADENA1 precedeix alfab?ticament CADENA2." - -#~ msgid " STRING1 > STRING2" -#~ msgstr " CADENA1 > CADENA2" - -#~ msgid "" -#~ " True if STRING1 sorts after STRING2 lexicographically" -#~ msgstr "" -#~ " Cert si CADENA1 poscedeix alfab?ticament CADENA2." - -#~ msgid "Other operators:" -#~ msgstr "Altres operadors:" - -#~ msgid " ! EXPR True if expr is false." -#~ msgstr " ! EXPR Cert si l'expressi? ?s falsa." - -#~ msgid " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true." -#~ msgstr " EXPR1 -a EXPR2 Cert si ambdues expressions s?n certes." - -#~ msgid " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true." -#~ msgstr " EXPR1 -o EXPR2 Cert si cap d'ambdues expresi?ns s?n certes." - -#~ msgid " arg1 OP arg2 Arithmetic tests. OP is one of -eq, -ne," -#~ msgstr " arg1 OP arg2 C?lcul aritm?tic. OP ?s una de les seg?ents" - -#~ msgid " -lt, -le, -gt, or -ge." -#~ msgstr " opcions: -eq, -ne, -lt, -le, -gt, or -ge." - -#~ msgid "Arithmetic binary operators return true if ARG1 is equal, not-equal," -#~ msgstr "Els operadors aritm?tics binaris retornen un valor de cert si " - -#~ msgid "" -#~ "less-than, less-than-or-equal, greater-than, or greater-than-or-equal" -#~ msgstr "" -#~ "PARAMETRE1 ?s 'igual', 'diferent', 'menys que', 'menys o igual que'," - -#~ msgid "than ARG2." -#~ msgstr "'m?s que', o 'm?s o igual que', el PARAMETRE2." - -#~ msgid "This is a synonym for the \"test\" builtin, but the last" -#~ msgstr "Es tracta del sin?nim de l'ordre integrada ?test?, per? el darrer " - -#~ msgid "the shell." -#~ msgstr "processos des de l'int?rpret d'ordres." - -#~ msgid "The command ARG is to be read and executed when the shell receives" -#~ msgstr "L'ordre especificada en PARAMETRE s'ha de llegir i executar quan" - -#~ msgid "signal(s) SIGNAL_SPEC. If ARG is absent all specified signals are" -#~ msgstr "l'int?rpret d'ordres rep alguna senyal de SIGNAL_SPEC. Si s'omet" - -#~ msgid "reset to their original values. If ARG is the null string each" -#~ msgstr "PARAMETRE s'inicialitzen totes les senyals especificades als seus" - -#~ msgid "SIGNAL_SPEC is ignored by the shell and by the commands it invokes." -#~ msgstr "corresponents valors originals Si el PARAMETRE ?s una cadena buida" - -#~ msgid "If SIGNAL_SPEC is EXIT (0) the command ARG is executed on exit from" -#~ msgstr "" -#~ "l'int?rpret, i les ordres que els invoquen, ignoren cada SIGNAL_SPEC." - -#~ msgid "the shell. If SIGNAL_SPEC is DEBUG, ARG is executed after every" -#~ msgstr "Si s'especifica SIGNAL_SPEC com EXIT(0), s'executa l'ordre" - -#~ msgid "command. If ARG is `-p' then the trap commands associated with" -#~ msgstr "" -#~ "especificada en PARAMETRE despr?s de la finalitzaci? de la sessi? de\n" -#~ "l'int?rpret d'ordres. Si s'especifica DEBUG en SIGNAL_SPEC, s'executa" - -#~ msgid "each SIGNAL_SPEC are displayed. If no arguments are supplied or if" -#~ msgstr "" -#~ "l'ordre especificada en PARAMETRE despr?s de la finalitzaci? de la\n" -#~ "sessi? de l'int?rpret d'ordres. Si s'especifica \"-p\" en PARAMETRE" - -#~ msgid "only `-p' is given, trap prints the list of commands associated with" -#~ msgstr "" -#~ "aleshores es mostren les ordres de ?trap? associades amb cadascuna de\n" -#~ "les especificacions del SENYAL. Si no s'especifica cap par?metre," - -#~ msgid "" -#~ "each signal number. SIGNAL_SPEC is either a signal name in " -#~ msgstr "" -#~ "?trap? mostra una llista d'ordres associades amb cadascun dels n?meros\n" -#~ "de senyal. L'especificaci? del SENYAL pot ser b? un nom de senyal" - -#~ msgid "" -#~ "or a signal number. `trap -l' prints a list of signal names and their" -#~ msgstr "" -#~ "especificat en , b? tindre un valor num?ric. L'ordre ?trap\n" -#~ "-l? mostra una llista dels noms de senyal i els seus corresponents" - -#~ msgid "corresponding numbers. Note that a signal can be sent to the shell" -#~ msgstr "n?meros. Observeu que una senyal pot ser lliurada a l'int?rpret" - -#~ msgid "with \"kill -signal $$\"." -#~ msgstr "d'ordres amb ?kill -signal $$?." - -#~ msgid "For each NAME, indicate how it would be interpreted if used as a" -#~ msgstr "" -#~ "Per a cada NOM, indica com s'hauria d'interpretar si es fa servir com " - -#~ msgid "If the -t option is used, returns a single word which is one of" -#~ msgstr "" -#~ "Si es fa servir l'opci? \"-t\", retorna una paraula ?nica que pot ser" - -#~ msgid "" -#~ "`alias', `keyword', `function', `builtin', `file' or `', if NAME is an" -#~ msgstr "" -#~ "\"alias\", \"keyword\", \"function\", \"builtin\", \"file\" o \"\", si un " -#~ "NOM ?s" - -#~ msgid "" -#~ "alias, shell reserved word, shell function, shell builtin, disk file," -#~ msgstr "" -#~ "un ?lies, una paraula reservada, una funci?, una ordre integrada, un" - -#~ msgid "or unfound, respectively." -#~ msgstr "fitxer del disc o no trobat, respectivament." - -#~ msgid "If the -p flag is used, either returns the name of the disk file" -#~ msgstr "" -#~ "Si es fa servir l'opci? \"-p\", o b? retorna el nom del fitxer del disc" - -#~ msgid "that would be executed, or nothing if -t would not return `file'." -#~ msgstr "" -#~ "que es podria executar, o b? no retorna res si l'opci? \"-t\" no\n" -#~ "retornara \"file\"." - -#~ msgid "If the -a flag is used, displays all of the places that contain an" -#~ msgstr "" -#~ "Si es fa servir el senyalador \"-a\", mostra totes les ubicacions que" - -#~ msgid "" -#~ "executable named `file'. This includes aliases and functions, if and" -#~ msgstr "" -#~ "contenen un executable anomenat \"file\". Aix? inclou per a ?lies i" - -#~ msgid "only if the -p flag is not also used." -#~ msgstr "" -#~ "funcions si, i nom?s si, el senyalador \"-p\" tampoc no es fa servir." - -#~ msgid "Type accepts -all, -path, and -type in place of -a, -p, and -t," -#~ msgstr "" -#~ "L'ordre integrada ?type? accepta que s'especifique \"-all\", \"-path\", i" - -#~ msgid "respectively." -#~ msgstr "" -#~ "\"-type\", per a les opcions de \"-a\", \"-p\", i \"-t\", respectivament." - -#~ msgid "Ulimit provides control over the resources available to processes" -#~ msgstr "L'ordre integrada ?ulimit? inclou el control sobre els recursos" - -#~ msgid "started by the shell, on systems that allow such control. If an" -#~ msgstr "disponibles als processos iniciats per l'int?rpret, en sistemes que" - -#~ msgid "option is given, it is interpreted as follows:" -#~ msgstr "" -#~ "ho permeten. Si s'especifica una opci?, ser? especificada com\n" -#~ "segueix:" - -#~ msgid " -S\tuse the `soft' resource limit" -#~ msgstr " -S\tutilitza el l?mit dels recursos l?gics" - -#~ msgid " -H\tuse the `hard' resource limit" -#~ msgstr " -H\tutilitza el l?mit dels recursos de maquinari" - -#~ msgid " -a\tall current limits are reported" -#~ msgstr " -a\tmostra tots els l?mits actuals" - -#~ msgid " -c\tthe maximum size of core files created" -#~ msgstr "" -#~ " -c\tlimita la grand?ria m?xima dels fitxers de bolcat de mem?ria" - -#~ msgid " -d\tthe maximum size of a process's data segment" -#~ msgstr " -d\tlimita la grand?ria m?xima d'un segment de proc?s de dades" - -#~ msgid " -m\tthe maximum resident set size" -#~ msgstr " -m\tlimita la grand?ria m?xima d'una variable resident" - -#~ msgid " -s\tthe maximum stack size" -#~ msgstr " -s\tlimita la grand?ria m?xima de la pila" - -#~ msgid " -t\tthe maximum amount of cpu time in seconds" -#~ msgstr " -t\tlimita el temps m?xim d'an?lisi per la UCP en segons" - -#~ msgid " -f\tthe maximum size of files created by the shell" -#~ msgstr " -f\tlimita la grand?ria d'un fitxer creat per l'int?rpret" - -#~ msgid " -p\tthe pipe buffer size" -#~ msgstr " -p\tlimita la grand?ria de la mem?ria interm?dia d'un conducte" - -#~ msgid " -n\tthe maximum number of open file descriptors" -#~ msgstr " -n\tlimita el nombre m?xim utilitzable de descriptors de fitxer" - -#~ msgid " -u\tthe maximum number of user processes" -#~ msgstr " -u\tlimita el nombre m?xim de processos per usuari" - -#~ msgid " -v\tthe size of virtual memory" -#~ msgstr " -v\tlimita la grand?ria de la mem?ria virtual" - -#~ msgid "If LIMIT is given, it is the new value of the specified resource." -#~ msgstr "Si s'especifica LIMIT, aquest ser? el nou valor del recurs " - -#~ msgid "Otherwise, the current value of the specified resource is printed." -#~ msgstr "especificat. Altrament, mostra el valor actual del recurs" - -#~ msgid "If no option is given, then -f is assumed. Values are in 1k" -#~ msgstr "especificat. Si no s'especifica cap opci?, aleshores s'assumeix" - -#~ msgid "increments, except for -t, which is in seconds, -p, which is in" -#~ msgstr "" -#~ "l'opci? \"-f\". Els valors s'especifiquen en increments de 1k, tret del" - -#~ msgid "increments of 512 bytes, and -u, which is an unscaled number of" -#~ msgstr "" -#~ "cas de l'opci? \"-t\", que es en segons, de l'opci? \"-p\", que es tracta" - -#~ msgid "processes." -#~ msgstr "" -#~ "d'increments de 512 octets, i de l'opci? \"-u\", que ?s un recompte\n" -#~ "num?ric de processos." - -#~ msgid "" -#~ "The user file-creation mask is set to MODE. If MODE is omitted, or if" -#~ msgstr "" -#~ "La m?scara dels modes d'acc?s durant la creaci? d'un fitxer ?s MODE." - -#~ msgid "" -#~ "`-S' is supplied, the current value of the mask is printed. The `-S'" -#~ msgstr "" -#~ "Si s'omet MODE, o si s'especifica l'opci? \"-S\", es mostra el valor" - -#~ msgid "" -#~ "option makes the output symbolic; otherwise an octal number is output." -#~ msgstr "" -#~ "actual de la m?scara. Amb l'opci? \"-S\" es mostra de manera simb?lica;" - -#~ msgid "If MODE begins with a digit, it is interpreted as an octal number," -#~ msgstr "" -#~ "d'altra manera l'eixida de dades ?s n?meros octals. Si MODE comen?a" - -#~ msgid "" -#~ "otherwise it is a symbolic mode string like that accepted by chmod(1)." -#~ msgstr "" -#~ "per un d?git, aquest ser? interpretat com un n?mero octal, altrament" - -#~ msgid "" -#~ "Wait for the specified process and report its termination status. If" -#~ msgstr "s'accepten els valors simb?lics de ?chmod? (veure ?man?, secci? 1)." - -#~ msgid "N is not given, all currently active child processes are waited for," -#~ msgstr "Espera la fi d'execuci? d'un proc?s especificat i informa el seu" - -#~ msgid "and the return code is zero. N may be a process ID or a job" -#~ msgstr "" -#~ "estat de fi d'execuci?. Si no s'especifica N, s'espera per tots els" - -#~ msgid "specification; if a job spec is given, all processes in the job's" -#~ msgstr "" -#~ "processos fills actuals, i el codi de retorn ?s zero. La variable N" - -#~ msgid "pipeline are waited for." -#~ msgstr "" -#~ "pot ser un IDentificador de proc?s o l'especificaci? d'una tasca; si\n" -#~ "s'especifica una especificaci? de tasca, s'esperen per tots els\n" -#~ "processos dels conductes." - -#~ msgid "and the return code is zero. N is a process ID; if it is not given," -#~ msgstr "i el codi de retorn ?s zero. El par?metre N ?s un IDentificador de" - -#~ msgid "all child processes of the shell are waited for." -#~ msgstr "" -#~ "proc?s; si aquest no s'hi especifica, s'espera per tots els processos\n" -#~ "fills de l'int?rpret d'ordres." - -#~ msgid "The `for' loop executes a sequence of commands for each member in a" -#~ msgstr "" -#~ "L'ordre de repetici? ?for? executa una seq??ncia d'ordres per a cada" - -#~ msgid "" -#~ "list of items. If `in WORDS ...;' is not present, then `in \"$@\"' is" -#~ msgstr "" -#~ "item de la llista. Si no s'especifica l'expressi? \"in WORDS...;\"," - -#~ msgid "" -#~ "assumed. For each element in WORDS, NAME is set to that element, and" -#~ msgstr "" -#~ "aleshores es fa servir el contingut de \"$@\". Per a cada element que" - -#~ msgid "the COMMANDS are executed." -#~ msgstr "" -#~ "hi ha en PARAULES, s'inicialitza NOM a aquest element, i s'executen\n" -#~ "les ORDRES." - -#~ msgid "The WORDS are expanded, generating a list of words. The" -#~ msgstr "S'expandeix les PARAULES, generant-se una llista de paraules. Es" - -#~ msgid "set of expanded words is printed on the standard error, each" -#~ msgstr "mostra el conjunt de les paraules expandides per l'eixida d'error" - -#~ msgid "preceded by a number. If `in WORDS' is not present, `in \"$@\"'" -#~ msgstr "" -#~ "est?ndard, precedit d'un n?mero. Si no s'especifica l'expressi? \"in" - -#~ msgid "is assumed. The PS3 prompt is then displayed and a line read" -#~ msgstr "WORDS\", es fa servir el contingut de \"$@\". Aleshores s'exhibeix" - -#~ msgid "from the standard input. If the line consists of the number" -#~ msgstr "l'indicador de PS3 i es llegeix la l?nia des de l'entrada de dades" - -#~ msgid "corresponding to one of the displayed words, then NAME is set" -#~ msgstr "" -#~ "est?ndard. Si la l?nia consisteix d'un n?mero corresponent a una de" - -#~ msgid "to that word. If the line is empty, WORDS and the prompt are" -#~ msgstr "les paraules exhibides, aleshores el valor de la variable NOM" - -#~ msgid "redisplayed. If EOF is read, the command completes. Any other" -#~ msgstr "" -#~ "s'inicialitza amb aquesta paraula. Si la l?nia ?s buida, la variable" - -#~ msgid "value read causes NAME to be set to null. The line read is saved" -#~ msgstr "" -#~ "PARAULES i l'indicador s'exhibeixen una altra vegada. Si es detecta" - -#~ msgid "in the variable REPLY. COMMANDS are executed after each selection" -#~ msgstr "" -#~ "un la fi del fitxer (EOF), l'ordre termina. Si es llegeix qualsevol" - -#~ msgid "until a break or return command is executed." -#~ msgstr "" -#~ "altre valor, s'inicialitzar? el valor de NOM com nul. La l?nia\n" -#~ "llegida s'al?a en la variable REPLY. Les ordres al?ades en el\n" -#~ "par?metre ORDRES s'executa despr?s de cada selecci? fins que s'execute\n" -#~ "una ordre de ?break? o ?return?." - -#~ msgid "`|' is used to separate multiple patterns." -#~ msgstr "" -#~ "concord?ncia del valor en PARAULA amb del valor en PATRO. Es fa\n" -#~ "servir el signe \"|\" per a separar m?ltiples patrons." - -#~ msgid "" -#~ "The if COMMANDS are executed. If the exit status is zero, then the then" -#~ msgstr "S'executen els ORDRES ?if?. Si l'estat d'eixida ?s zero, aleshores" - -#~ msgid "" -#~ "COMMANDS are executed. Otherwise, each of the elif COMMANDS are executed" -#~ msgstr "" -#~ "s'executen les ORDRES ?then?. Altrament, s'executen cadascun de les" - -#~ msgid "" -#~ "in turn, and if the exit status is zero, the corresponding then COMMANDS" -#~ msgstr "ORDRES de ?elif?, i si l'estat d'eixida ?s zero, les corresponents" - -#~ msgid "" -#~ "are executed and the if command completes. Otherwise, the else COMMANDS" -#~ msgstr "ORDRES de ?else? s'executen, si n'hi han. L'estat d'eixida ?s el" - -#~ msgid "" -#~ "are executed, if present. The exit status is the exit status of the last" -#~ msgstr "corresponent de la darrera ordre executada, o zero si no hi ha cap" - -#~ msgid "command executed, or zero if no condition tested true." -#~ msgstr "condici? resolta com a certa." - -#~ msgid "`while' COMMANDS has an exit status of zero." -#~ msgstr "de la instrucci? ?while? tinga un estat d'eixida igual a zero." - -#~ msgid "`until' COMMANDS has an exit status which is not zero." -#~ msgstr "de la instrucci? ?until? tinga un estat d'eixida que no siga zero." - -#~ msgid "Create a simple command invoked by NAME which runs COMMANDS." -#~ msgstr "Crea una ordre simple invocada pel NOM que executa ORDRES. Els " - -#~ msgid "Arguments on the command line along with NAME are passed to the" -#~ msgstr "" -#~ "par?metres especificats al llarg de la l?nia de l'ordre es passen a la" - -#~ msgid "function as $0 .. $n." -#~ msgstr "funci? com a $0 ... $n." - -#~ msgid "entire set of commands." -#~ msgstr "redireccionar un conjunt sencer d'ordres." - -#~ msgid "This is similar to the `fg' command. Resume a stopped or background" -#~ msgstr "A?? ?s semblant amb qu? passa amb l'ordre ?fg?. Repr?n una tasca " - -#~ msgid "job. If you specifiy DIGITS, then that job is used. If you specify" -#~ msgstr "" -#~ "aturada o ubicada en segon pla. Si especifiqueu DIGITS, aleshores es" - -#~ msgid "" -#~ "WORD, then the job whose name begins with WORD is used. Following the" -#~ msgstr "fa servir aquesta tasca. Si especifiqueu PARAULES, aleshores es fa" - -#~ msgid "job specification with a `&' places the job in the background." -#~ msgstr "" -#~ "servir la tasca, el nom de la qual comence pel valor en PARAULA. Si\n" -#~ "s'especifica la tasca comen?ant pel signe \"&\" s'ubica la tasca en\n" -#~ "segon pla." - -#~ msgid "BASH_VERSION The version numbers of this Bash." -#~ msgstr "BASH_VERSION Cont? la versi? de Bash." - -#~ msgid "CDPATH A colon separated list of directories to search" -#~ msgstr "CDPATH Cont? una llista de directoris, separats" - -#~ msgid "\t\twhen the argument to `cd' is not found in the current" -#~ msgstr "" -#~ " pel signe de dos punts, per a cercar quan el par?metre" - -#~ msgid "\t\tdirectory." -#~ msgstr "" -#~ " especificat per a l'ordre ?cd? no es troba en el\n" -#~ " directori actual." - -#~ msgid "" -#~ "HISTFILE The name of the file where your command history is stored." -#~ msgstr "" -#~ "HISTFILE Cont? el nom del fitxer on ?s al?ada l'hist?ric\n" -#~ " d'ordres executades." - -#~ msgid "HISTFILESIZE The maximum number of lines this file can contain." -#~ msgstr "" -#~ "HISTFILESIZE Cont? el nombre m?xim de l?nies que un fitxer pot \n" -#~ " contindre." - -#~ msgid "HISTSIZE The maximum number of history lines that a running" -#~ msgstr "HISTSIZE Cont? el nombre m?xim de l?nies de l'hist?ric que " - -#~ msgid "\t\tshell can access." -#~ msgstr " l'int?rpret d'ordres pot accedir." - -#~ msgid "HOME The complete pathname to your login directory." -#~ msgstr "" -#~ "HOME Cont? el nom cam? d'acc?s cap el directori de la\n" -#~ " vostra sessi? d'usuari." - -#~ msgid "" -#~ "HOSTTYPE The type of CPU this version of Bash is running under." -#~ msgstr "" -#~ "HOSTTYPE Cont? la mena de CPU sota la qual aquesta versi?\n" -#~ " de bash est? corrent." - -#~ msgid "" -#~ "IGNOREEOF Controls the action of the shell on receipt of an EOF" -#~ msgstr "" -#~ "IGNOREOEOF Controla l'acci? de l'int?rpret d'ordres quan rep un" - -#~ msgid "\t\tcharacter as the sole input. If set, then the value" -#~ msgstr " car?cter de fi de fitxer (EOF) com a ?nica entrada." - -#~ msgid "\t\tof it is the number of EOF characters that can be seen" -#~ msgstr " Si s'activa, aleshores el seu valor ?s el nombre de" - -#~ msgid "\t\tin a row on an empty line before the shell will exit" -#~ msgstr "" -#~ " car?cters EOF que pot ser mostrat en un afilera d'una" - -#~ msgid "\t\t(default 10). When unset, EOF signifies the end of input." -#~ msgstr "" -#~ " l?nia bu?da despr?s de que l'int?rpret eixir? (per\n" -#~ " omissi? el valor ?s 10). Quan ?s desactivat, EOF vol\n" -#~ " dir que s'ha finalitzat l'entrada de dades." - -#~ msgid "MAILCHECK\tHow often, in seconds, Bash checks for new mail." -#~ msgstr "" -#~ "MAILCHECK Cont? el temps, en segons, pel qual bash cada vegada \n" -#~ " comprova si hi ha nou correu." - -#~ msgid "MAILPATH\tA colon-separated list of filenames which Bash checks" -#~ msgstr "MAILPATH Cont? una llista de noms de fitxers, separats pel " - -#~ msgid "\t\tfor new mail." -#~ msgstr " signe \":\", on Bash comprova si hi ha correu nou." - -#~ msgid "OSTYPE\t\tThe version of Unix this version of Bash is running on." -#~ msgstr "" -#~ "OSTYPE Cont? la versi? d'Unix sota la qual aquesta versi? de \n" -#~ " Bash est? corrent." - -#~ msgid "PATH A colon-separated list of directories to search when" -#~ msgstr "PATH Cont? una llista de directoris, separats pel signe " - -#~ msgid "\t\tlooking for commands." -#~ msgstr " \":\", per on es recorrer? quan es busca una ordre." - -#~ msgid "PROMPT_COMMAND A command to be executed before the printing of each" -#~ msgstr "" -#~ "PROMPT_COMMAND Cont? l'ordre que s'executar? despr?s de mostrar-se " - -#~ msgid "\t\tprimary prompt." -#~ msgstr " cada indicador primari." - -#~ msgid "PS1 The primary prompt string." -#~ msgstr "PS1 Cont? la cadena de l'indicador primari." - -#~ msgid "PS2 The secondary prompt string." -#~ msgstr "PS2 Cont? la cadena de l'indicador secundari." - -#~ msgid "TERM The name of the current terminal type." -#~ msgstr "TERM Cont? el nom de la mena de terminal actual." - -#~ msgid "auto_resume Non-null means a command word appearing on a line by" -#~ msgstr "auto_resume Cont? el nom de l'ordre que es buscar? primer d'una" - -#~ msgid "\t\titself is first looked for in the list of currently" -#~ msgstr "" -#~ " llista de tasques actualment aturades. Si se'n troba," - -#~ msgid "\t\tstopped jobs. If found there, that job is foregrounded." -#~ msgstr "" -#~ " aquesta tasca s'ubicar? en primer pla. Amb el valor" - -#~ msgid "\t\tA value of `exact' means that the command word must" -#~ msgstr " de \"exact\" el nom de l'ordre ha de coincidir" - -#~ msgid "\t\texactly match a command in the list of stopped jobs. A" -#~ msgstr " exactament una ordre qu? es trobe a la llista de" - -#~ msgid "\t\tvalue of `substring' means that the command word must" -#~ msgstr " tasques aturades. Amb \"substring\", la paraula de" - -#~ msgid "\t\tmatch a substring of the job. Any other value means that" -#~ msgstr "" -#~ " l'ordre ha de coincidir parcialment amb el nom de la" - -#~ msgid "\t\tthe command must be a prefix of a stopped job." -#~ msgstr "" -#~ " tasca (una subcadena d'aquesta). Altrament, amb\n" -#~ " qualsevol altre valor la paraula de l'ordre ha de\n" -#~ " coincidir amb un prefix de la tasca aturada." - -#~ msgid "command_oriented_history" -#~ msgstr "command_oriented_history" - -#~ msgid "" -#~ " Non-null means to save multiple-line commands together on" -#~ msgstr "" -#~ " Si no ?s buit, s'al?ar? juntament les ordres escrites" - -#~ msgid " a single history line." -#~ msgstr "" -#~ " en m?ltiples l?nies en una sola l?nia de l'hist?ric." - -#~ msgid "histchars Characters controlling history expansion and quick" -#~ msgstr "histchars Cont? els car?cters que controlen l'expansi? de " - -#~ msgid "\t\tsubstitution. The first character is the history" -#~ msgstr " l'hist?ric i la substituci? r?pida. El primer" - -#~ msgid "\t\tsubstitution character, usually `!'. The second is" -#~ msgstr " car?cter ?s el de substituci? de l'hist?ric," - -#~ msgid "\t\tthe `quick substitution' character, usually `^'. The" -#~ msgstr " normalment \"!\". El segon ?s el de \"substituci?" - -#~ msgid "\t\tthird is the `history comment' character, usually `#'." -#~ msgstr "" -#~ " r?pida\", normalment \"^\". El tercer ?s el de\n" -#~ " \"comentari de l'hist?ric\", normalment \"#\"." - -#~ msgid "HISTCONTROL\tSet to a value of `ignorespace', it means don't enter" -#~ msgstr "HISTCONTROL Si s'hi especifica \"ignorespace\", no s'introduir?" - -#~ msgid "\t\tlines which begin with a space or tab on the history" -#~ msgstr "" -#~ " l?nies que comencen amb un espai o de tabulaci? en la" - -#~ msgid "\t\tlist. Set to a value of `ignoredups', it means don't" -#~ msgstr "" -#~ " llista de l'hist?ric. Si s'activa amb \"ignoredups\"," - -#~ msgid "\t\tenter lines which match the last entered line. Set to" -#~ msgstr "" -#~ " no s'introduir? l?nies que concidisquen amb la darrera" - -#~ msgid "\t\t`ignoreboth' means to combine the two options. Unset," -#~ msgstr "" -#~ " l?nia executada. Amb \"ignoreboth\" s'actuar? amb els" - -#~ msgid "\t\tor set to any other value than those above means to save" -#~ msgstr " dos criteris anteriors alhora. Desactivada, o" - -#~ msgid "\t\tall lines on the history list." -#~ msgstr "" -#~ " especificant-se qualsevol altre valor, que no siga un\n" -#~ " dels esmentats anteriorment, al?a totes les l?nies a\n" -#~ " la llista de l'hist?ric." - -#~ msgid "Toggle the values of variables controlling optional behavior." -#~ msgstr "" -#~ "Commuta els valors de les variables, controlant els comportaments \n" -#~ "opcionals." - -#~ msgid "The -s flag means to enable (set) each OPTNAME; the -u flag" -#~ msgstr "" -#~ "El senyalador ?-s? activa cada variable de OPTNAME; el senyalador \"-u\" " - -#~ msgid "unsets each OPTNAME. The -q flag suppresses output; the exit" -#~ msgstr "desactiva cada OPTNAME. El senyalador \"-q\" suprimeix l'eixida de" +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2013 Free Software Foundation, Inc." -#~ msgid "status indicates whether each OPTNAME is set or unset. The -o" -#~ msgstr "dades; l'estat d'eixida indica si cada OPTNAME ?s activat o no." +#~ msgid ":" +#~ msgstr ":" -#~ msgid "option restricts the OPTNAMEs to those defined for use with" -#~ msgstr "L'opci? \"o\" restringeix els OPTNAMEs d'aquells definits per a" +#~ msgid "true" +#~ msgstr "true" -#~ msgid "`set -o'. With no options, or with the -p option, a list of all" -#~ msgstr "utilitzar-ho amb l'ordre ?set -o?. Sense cap opci?, o amb l'opci?" +#~ msgid "false" +#~ msgstr "false" -#~ msgid "settable options is displayed, with an indication of whether or" -#~ msgstr "" -#~ "\"-p\", s'exhibeix una llista de totes les opcions activables, amb una" +#~ msgid "times" +#~ msgstr "times" -#~ msgid "not each is set." -#~ msgstr "indicaci? si ja ho ?s o no." +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2012 Free Software Foundation, Inc." diff --git a/po/cs.gmo b/po/cs.gmo index e52fb5133..5d6ad4d4b 100644 Binary files a/po/cs.gmo and b/po/cs.gmo differ diff --git a/po/cs.po b/po/cs.po index 0e3c3bae9..a3686c983 100644 --- a/po/cs.po +++ b/po/cs.po @@ -2,6 +2,7 @@ # Copyright (C) 2008 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. # Petr Pisar , 2008, 2009, 2010, 2011, 2012, 2013, 2014. +# Petr Pisar , 2015. # # alias → alias # subscript → podskript @@ -11,83 +12,89 @@ # Názvy signálu a stavů procesu by měly souhlasit se signal(7). msgid "" msgstr "" -"Project-Id-Version: bash 4.3-rc2\n" +"Project-Id-Version: bash 4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-01-30 19:29+0100\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-17 12:43+0200\n" "Last-Translator: Petr Pisar \n" "Language-Team: Czech \n" -"Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: cs\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "chybný podskript pole" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: číslované pole nezle převést na pole asociativní" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: neplatný klíč asociativního pole" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: přes nečíselný indexu nelze dosadit" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: při přiřazovaní asociativního pole se musí použít podskript" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: nelze vytvořit: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: pro příkaz nelze nalézt klávesovou mapu " -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: první nebílý znak není „\"“" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "ne zavírající „%c“ v %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: chybí dvojtečkový oddělovač" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "závorková expanze: nelze alokovat paměť pro %s" # TODO: pluralize -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "závorková expanze: alokace paměti pro %d prvků selhala" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "závorková expanze: alokace paměti pro „%s“ selhala" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "„%s“: chybný název aliasu" @@ -96,45 +103,45 @@ msgstr "„%s“: chybný název aliasu" msgid "line editing not enabled" msgstr "upravování řádku není povoleno" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "„%s“: chybný název klávesové mapy" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: nelze číst: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "„%s“: nelze zruÅ¡it vazbu" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "„%s“: neznámé jméno funkce" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s není svázán s žádnou klávesou.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s lze vyvolat přes " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "počet smyček" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "má smysl jen ve smyčkách „for“, „while“ nebo „until“" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -144,302 +151,331 @@ msgstr "" " \n" " Bez VÝRAZU vrátí " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "není nestavena HOME" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "příliÅ¡ mnoho argumentů" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "vrcholového adresáře." + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "není nastaveno OLDPWD" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "řádek %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "varování: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: užití: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: přepínač vyžaduje argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: vyžadován číselný argument" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: nenalezeno" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: chybný přepínač" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: chybný název přepínače" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "„%s“: není platným identifikátorem" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "neplatné osmičkové číslo" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "chybné Å¡estnáctkové číslo" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "chybné číslo" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: chybné určení signálu" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "„%s“: není PID ani platným označením úlohy" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: proměnná pouze pro čtení" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s mimo rozsah" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s mimo rozsah" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: žádná taková úloha" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: žádné řízení úloh" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "žádné řízení úloh" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: omezeno" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "omezeno" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: není vestavěným příkazem shellu" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "chyba zápisu: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "chyba při nastavování vlastností terminálu: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "chyba při získávání vlastností terminálu: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: chyba při zjišťování současného adresáře: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: nejednoznačné určení úlohy" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "k této verzi není dostupná nápověda" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: neplatný název akce" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: žádné doplňování neurčeno" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "varování: přepínač -F možná nebude dělat, co jste čekali" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "varování: přepínač -C možná nebude dělat, co jste čekali" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "doplňovací funkce se právě nevykonává" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "může být použito jen ve funkci" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: proměnná s odkazem nemůže být polem" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: proměnná s odkazem na název nemůže odkazovat sama na sebe" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: kruhový odkaz na název" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: neplatný název proměnné pro odkaz na název" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "„-f“ nezle použít na výrobu funkce" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: funkce jen pro čtení" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: přiřazení do složeného pole uzavřeného v uvozovkách je zastaralé" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: takto nelze likvidovat pole" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: asociativní pole nelze převést na číslované pole" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dynamické nahrávání není dostupné" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "sdílený objekt %s nelze otevřít: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "ve sdílením objektu %2$s nelze nalézt %1$s: %3$s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "zaváděcí funkce pro %s vrací chybu (%d): nezavedeno" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: není dynamicky nahráno" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: nelze smazat: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: je adresářem" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: není obyčejný soubor" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: soubor je příliÅ¡ velký" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: binární soubor nelze spustit" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: nelze provést: %s" # XXX: Toto je zpráva interaktivního shellu při příkazu exit informující # o odhlášení -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "odhlášení\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "toto není login shell: použijte „exit“" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Jsou zde pozastavené úlohy.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Jsou zde běžící úlohy.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "žádný příkaz nenalezen" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "určení historie" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: dočasný soubor nelze otevřít: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "současný" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "úloha %d spuÅ¡těna bez správy úloh" @@ -458,17 +494,17 @@ msgstr "%s: přepínač vyžaduje argument – %c\n" msgid "hashing disabled" msgstr "hashování zakázáno" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: tabulka hashů je prázdná\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "zásahů\tpříkaz\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" @@ -476,7 +512,7 @@ msgstr[0] "Příkazy shellu shodující se s klíčovým slovem „" msgstr[1] "Příkazy shellu shodující se s klíčovými slovy „" msgstr[2] "Příkazy shellu shodující se s klíčovými slovy „" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -484,12 +520,12 @@ msgstr "" "žádné téma nápovědy se nehodí pro „%s“. Zkuste „help help“ nebo „man -k %s“ " "nebo „info %s“." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: nelze otevřít: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -509,15 +545,20 @@ msgstr "" "Hvězdička (*) vedle jména znamená, že příkaz je zakázán.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "nelze použít více jak jeden z -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "místo v historii" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: chybný argument" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: expanze historie selhala" @@ -531,113 +572,113 @@ msgstr "%s: inlib selhala" msgid "no other options allowed with `-x'" msgstr "s „-x“ nejsou dovoleny další přepínače" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argumenty musí být proces nebo identifikátor úlohy" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Neznámá chyba" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "očekáván výraz" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: není (proměnnou typu) indexované pole" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: chybné určení deskriptoru souboru" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: neplatný deskriptor souboru: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: chybný počet řádků" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: chybný počátek pole" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: neplatné množství mezi voláními" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "prázdný název proměnné typu pole" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "je vyžadována podpora proměnných typu pole" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "„%s“: postrádám formátovací znak" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "„%c“: chybné určení časového limitu" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "„%c“: neplatný formátovací znak" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "varování: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "potíže s rozebráním formátovacího řetězce: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "u \\x chybí Å¡estnáctková číslovka" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "u \\%c chybí unikódová číslovka" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "žádný další adresář" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: chybný argument" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "<žádný aktuální adresář>" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "prázdný zásobník adresářů" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "pořadí v zásobníku adresářů" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -679,7 +720,7 @@ msgstr "" " -N\tZobrazí N. položku počítáno zprava na seznamu, který zobrazuje\n" " \tdirs, když je vyvolán bez přepínačů, počínaje nulou." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -724,7 +765,7 @@ msgstr "" " \n" " Zásobník adresářů si můžete prohlédnout příkazem „dirs“." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -763,143 +804,153 @@ msgstr "" " \n" " Zásobník adresářů si můžete prohlédnout příkazem „dirs“." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: chybné určení časového limitu" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "chyba čtení: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "„return“ lze provést jen z funkce nebo skriptu načteného přes „source“" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "funkci i proměnnou nelze ruÅ¡it současně" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: nelze zruÅ¡it" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: nelze zruÅ¡it: %s jen pro čtení" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: není (proměnnou typu) pole" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: není funkcí" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: nelze exportovat" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "počet shiftů" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "přepínač shellu nelze zároveň nastavit a zruÅ¡it" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: chybný název přepínače shellu" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "vyžadován argument s názvem souboru" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: soubor nenalezen" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "nelze pozastavit" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "login shell nelze pozastavit" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s je alias na „%s“\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s je klíčové slovo shellu\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s je funkce\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s je zvláštní součást shellu\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s je součást shellu\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s je %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s je zahashován (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: chybný argument s limitou" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "„%c“: chybný příkaz" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: limit nelze zjistit: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "limit" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: limit nelze změnit: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "osmičkové číslo" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "„%c“: chybný operátor symbolických práv" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "„%c“: chybný znak symbolický práv " -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " řádek " @@ -913,82 +964,103 @@ msgstr "poslední příkaz: %s\n" msgid "Aborting..." msgstr "Ukončuji…" -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORMACE: " + +#: error.c:463 msgid "unknown command error" msgstr "chyba neznámého příkazu" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "chybný druh příkazu" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "chybný konektor" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "chybný skok" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: nevázaná proměnná" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\ačasový limit pro čekání na vstup vyprÅ¡el: automatické odhlášení\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "standardní vstup nelze přesměrovat z /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: „%c“: chybný formátovací znak" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "chyba v rouře" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: maximální úroveň zanoření funkce eval byla překročena (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: maximální úroveň zanoření funkce source byla překročena (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: maximální úroveň zanoření funkcí byla překročena (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: omezeno: v názvu příkazu nesmí být „/“" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: příkaz nenalezen" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: chybný interpretr" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: binární soubor nelze spustit: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "„%s“: je zvláštní vestavěný příkaz shellu" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "deskriptor souboru %d nelze duplikovat na deskriptor %d" @@ -1033,37 +1105,37 @@ msgstr "po přednostním zvýšení nebo snížení očekáván identifikátor" msgid "missing `)'" msgstr "postrádám „)“" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "syntaktická chyba: očekáván operand" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "syntaktická chyba: chybný aritmetický operátor" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (chybný token je „%s“)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "chybný aritmetický základ" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "hodnot je pro základ příliÅ¡ velká" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: chyba výrazu\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: rodičovské adresáře nejsou přístupné" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "na deskriptoru %d nelze resetovat režim nodelay" @@ -1078,150 +1150,150 @@ msgstr "nový deskriptor souboru pro vstup bashe z deskr. %d nelze alokovat" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: buffer již pro nový deskriptor %d existuje" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp roury" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "forknutý PID %d se objevil v běžící úloze %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "mažu pozastavenou úlohu %d se skupinou procesů %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: proces %5ld (%s) do the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: PID %5ld (%s) označen za stále živého" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: žádný takový PID" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signál %d" # XXX: (úloha) dokončna. Používat ženský rod i unásledujících. Jedná se # o výpis úloh. -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Dokončena" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Pozastavena" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Pozastavena (%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Běží" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Dokončena (%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Ukončena %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Stav neznámý" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(core dumped [obraz paměti uložen]) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (cwd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "setpgid na potomku (z %ld na %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: PID %ld není potomkem tohoto shellu" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Žádný záznam o procesu %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: úloha %d je pozastavena" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: úloha skončila" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: úloha %d je již na pozadí" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: zapíná se WNOHANG, aby se zabránilo neurčitému zablokování" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: řádek %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (core dumped [obraz paměti uložen])" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(cwd nyní: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp selhalo" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: disciplína linky" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "nelze nastavit skupinu procesů terminálu (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "žádná správa úloh v tomto shellu" @@ -1275,17 +1347,17 @@ msgstr "realloc: zjiÅ¡těno podtečení, mh_nbytes mimo rozsah" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: velikosti počátečního a koncového kusu se liší" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: tabulka alokací je plná FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p již obsažen v tabulce jako alokovaný?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p již obsažen v tabulce jako volný?\n" @@ -1309,7 +1381,7 @@ msgstr "%s: chybná služba" msgid "%s: bad network path specification" msgstr "%s: chybné určení síťové cesty" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "síťové operace nejsou podporovány" @@ -1346,228 +1418,263 @@ msgstr "V $_ máte novou poÅ¡tu" msgid "The mail in %s has been read\n" msgstr "PoÅ¡ta v %s je přečtená\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "chyba syntaxe: vyžadován aritmetický výraz" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "chyba syntaxe: neočekávaný „;“" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "chyba syntaxe: „((%s))“" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: chybný druh instrukce %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "„here“ dokument na řádku %d ukončen koncem souboru (požadováno „%s“)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: instrukce přesměrování „%d“ mimo rozsah" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "maximální počet here dokumentů překročen" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "neočekávaný konec souboru při hledání znaku odpovídajícímu „%c“" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "neočekávaný konec souboru při hledání „]]“" # XXX: Condional means condition (adj.) probably. Can English distinguish # between the condition (podmínkový) and the code branch (podmíněný)? Check # for all "conditional" string occurences. -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "chyba syntaxe ve výrazu podmínky: neočekávaný token „%s“" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "chyba syntaxe ve výrazu podmínky" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "neočekávaný token „%s“, očekávána „)“" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "očekávána „)“" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "neočekávaný argument „%s“ u podmínkového unárního operátoru" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "neočekávaný argument u podmínkového unárního operátoru" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "neočekávaný token „%s“, očekáván podmínkový binární operátor" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "očekáván podmínkový binární operátor" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "neočekávaný argument „%s„ u podmínkového binárního operátoru" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "neočekávaný argument u podmínkového binárního operátoru" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "neočekávaný token „%c“ v podmínkovém příkazu" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "neočekávaný token „%s“ v podmínkovém příkazu" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "neočekávaný token %d v podmínkovém příkazu" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "chyba syntaxe poblíž neočekávaného tokenu „%s“" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "chyba syntaxe poblíž „%s“" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "chyba syntaxe: nenadálý konec souboru" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "chyba syntaxe" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Shell lze ukončit příkazem „%s“.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "nenadálý konec souboru při hledání odpovídající „)“" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "doplňování: funkce „%s“ nenalezena" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULLOVÝ COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: chybná propojka „%d“" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: neplatný deskriptor souboru" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: nullový ukazatel na souboru" # fd, fp a fileno jsou identifikátory v kódu -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace: fd (%d) != fileno fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: „%c“: chybný formátovací znak" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "deskriptor souboru mimo rozsah" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: nejednoznačné přesměrování" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: existující soubor nelze přepsat" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: omezeno: výstup nelze přesměrovat" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "pro „here“ dokument nelze vytvořit dočasný soubor: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: deskriptor souboru nelze přiřadit do proměnné" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port není bez síťování podporováno" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "chyba přesměrování: deskriptor souboru nelze duplikovat" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "nelze nalézt /tmp, vytvořte jej, prosím!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp musí být platným názvem pro adresář" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: chybný přepínač" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "UID nelze nastavit na %d: efektivní UID je %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "GID nelze nastavit na %d: efektivní GID je %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: Je adresářem" + +#: shell.c:1777 msgid "I have no name!" msgstr "Nemám žádné jméno!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, verze %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1576,43 +1683,53 @@ msgstr "" "Použití:\t%s [Dlouhý GNU přepínač] [přepínač]…\n" "\t%s [Dlouhý GNU přepínač] [přepínač] skriptový_soubor…\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Dlouhé GNU přepínače:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Přepínače shellu:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-ilrsD nebo -c příkaz nebo -O shopt_přepínač\t(pouze při vyvolání)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s nebo -o přepínač\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Podrobnosti o přepínačích shellu získáte tím, že napíšete „%s -c \"help set" "\"“.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Podrobnosti o příkazech vestavěných do shellu získáte tím, že\n" "napiÅ¡te „%s -c help“.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Chyby nahlásíte příkazem „bashbug“.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "Domovská stránka bashe: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "Obecný návod na použití softwaru GNU: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: neplatná operace" @@ -1790,77 +1907,92 @@ msgstr "Neznámé číslo signálu" msgid "Unknown Signal #%d" msgstr "Neznámý signál č. %d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "chybná substituce: v %2$s chybí uzavírací „%1$s“" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: seznam nelze přiřadit do prvku pole" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "nelze vyrobit rouru za účelem substituce procesu" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "nelze vytvořit potomka za účelem substituce procesu" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "pojmenovanou rouru %s nelze otevřít pro čtení" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "pojmenovanou rouru %s nelze otevřít pro zápis" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "pojmenovanou rouru %s nelze zdvojit jako deskriptor %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "chybná substituce: v %s chybí uzavírací „`“" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "nelze vytvořit rouru pro substituci příkazu" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "nelze vytvořit potomka pro substituci příkazu" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: rouru nelze zdvojit jako deskriptor 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: neplatný název proměnné pro odkaz na název" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: chybná substituce" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: chybná nepřímá expanze" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: chybný název proměnné" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parametr null nebo nenastaven" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: výraz podřetězce < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: chybná substituce" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: takto nelze přiřazovat" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1868,12 +2000,12 @@ msgstr "" "budoucá verze tohoto shellu budou vynucovat vyhodnocení jako aritmetickou " "substituci" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "chybná substituce: v %s chybí uzavírací „`“" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "žádná shoda: %s" @@ -1887,122 +2019,123 @@ msgstr "očekáván argument" msgid "%s: integer expression expected" msgstr "%s: očekáván celočíselný výraz" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "očekávána „)“" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "očekávána „)“, nalezeno %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: očekáván unární operátor" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: očekáván binární operátor" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "postrádám „]“" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "neplatné číslo signálu" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: chybná hodnota v trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "run_pending_traps: obsluha signálu je SIG_DFL, přeposílám %d (%s) sobě" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: chybný signál %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "chyba při importu definice „%s“" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "úroveň shellu (%d) příliÅ¡ vysoká, resetuji na 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: kruhový odkaz na název" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: žádný kontext funkce v aktuálním rozsahu" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: hodnotu nelze do proměnné přiřadit" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: neplatný název proměnné pro odkaz na název" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: žádný kontext funkce v aktuálním rozsahu" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s: má nullový exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "neplatný znak %d v exportstr pro %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "v exportstr pro %s chybí „=“" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: hlava shell_variables není kontextem funkce" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: chybí kontext global_variables" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: hlava shell_variables není dočasným rozsahem prostředí" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: nelze otevřít jako SOUBOR" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: neplatná hodnota pro deskriptor trasovacího souboru" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: hodnota kompatibility je mimo rozsah" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright © 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright © 2015 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2025,10 +2158,6 @@ msgstr "Toto je svobodné programové vybavení: máte právo jej měnit a ší msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "VEÅ KERÉ ZÁRUKY chybí, jak jen zákon dovoluje." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright © 2012 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2049,15 +2178,15 @@ msgstr "%s: %s:%d: nelze alokovat %'lu bajtů (alokováno %'lu bajtů)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: nelze alokovat %'lu bajtů" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [název[=hodnota] …]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] název [název…]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -2066,112 +2195,100 @@ msgstr "" "klávposl] [-x klávposl:příkaz-shellu] [klávposl:readline-funkce nebo " "readline-příkaz]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [vestavěný-příkaz-shellu [argument…]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [výraz]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]] [-@]] [adresář]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] příkaz [argument…]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [název[=hodnota]…]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] název[=hodnota]…" - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] název[=hodnota]…" + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [přepínač] název[=hodnota]…" -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [argument…]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [argument…]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f soubor] [název…]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [argument…]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts optstring name [argument]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a název] [příkaz [argument…]] [přesměrování…]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e enázev] [-lnr] [první] [poslední] nebo fc -s [vzor=náhrada] [příkaz]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [úloha]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [úloha…]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p název_cesty] [-dt] [název…]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [vzorek…]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2179,26 +2296,27 @@ msgstr "" "history [-c] [-d pozice] [n] nebo history -anrw [jméno_souboru] nebo history " "-ps argument [argument…]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [úloha…] nebo jobs -x příkaz [argumenty]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [úloha…]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" msgstr "" "kill [-s sigspec | -n číssig | -sigspec] pid | úloha… nebo kill -l [sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let argument [argument…]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2206,99 +2324,95 @@ msgstr "" "read [-ers] [-a pole] [-d oddělovač] [-i text] [-n p_znaků] [-N p_znaků] [-p " "výzva] [-t limit] [-u fd] [jméno…]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o název_přepínače] [--] [argument…]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [jméno…]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [název[=hodnota]…] nebo export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [název[=hodnota]…] nebo readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source název_souboru [argumenty]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". název_souboru [argumenty]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [výraz]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ argument… ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[argument] signal_spec…]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] název [název…]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [mód]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [id…]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [pid…]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NÁZEV [in SLOVECH…] ; do PŘÍKAZY; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( výr1; výr2; výr3 )); do PŘÍKAZY; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NÁZEV [in SLOVA…;] do PŘÍKAZY; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] kolona" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case SLOVO in [VZOR [| VZOR]…) PŘÍKAZY ;;]… esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2306,64 +2420,64 @@ msgstr "" "if PŘÍKAZY; then PŘÍKAZY; [ elif PŘÍKAZY; then PŘÍKAZY; ]… [ else PŘÍKAZY; ] " "fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while PŘÍKAZY; do PŘÍKAZY; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until PŘÍKAZY; do PŘÍKAZY; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "command [NÁZEV] příkaz [přesměrování]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function jméno { PŘÍKAZY ; } nebo jméno () { PŘÍKAZY ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ PŘÍKAZY ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "úloha [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( výraz ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ výraz ]]" # XXX: "variable" je literál na seznamy vestavěných příkazů -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables – názvy a významy některých proměnných shellu" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | adresář]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [název_volby…]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v proměnná] formát [argumenty]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2373,36 +2487,36 @@ msgstr "" "W seznam_slov] [-F funkce] [-C příkaz] [-X filtrvzor] [-P předpona] [-S " "přípona] [název…]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -"compgen [-abcdefgjksuv] [-o přepínač] [-A akce] [-G globvzor] [-W " +"compgen [-abcdefgjksuv] [-o přepínač] [-A akce] [-G globvzor] [-W " "seznam_slov] [-F funkce] [-C příkaz] [-X filtrvzor] [-P předpona] [-S " "přípona] [slovo]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o možnost] [-DE] [název…]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n počet] [-O počátek] [-s počet] [-t] [-u fd] [-C volání] [-c " -"množství] [pole]" +"mapfile [-d oddělovač] [-n počet] [-O počátek] [-s počet] [-t] [-u FD] [-C " +"volání] [-c množství] [pole]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" -"readarray [-n počet] [-O počátek] [-s počet] [-t] [-u fd] [-C volání] [-c " +"readarray [-n počet] [-O počátek] [-s počet] [-t] [-u FD] [-C volání] [-c " "množství] [pole]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2414,7 +2528,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2433,28 +2547,28 @@ msgstr "" " zkontrolováno na substituci aliasů.\n" " \n" " Přepínače:\n" -" -p\tVypíše vÅ¡echny definované aliasy ve znovu použitelném formátu\n" +" -p\tvypíše vÅ¡echny definované aliasy ve znovu použitelném formátu\n" " \n" " Návratový kód:\n" " alias vrátí pravdu, pokud nebyl zadán NÁZEV, pro který není žádný alias\n" " definován." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Odstraní každý NÁZEV ze seznamů definovaných aliasů.\n" " \n" " Přepínače:\n" -" -a\todstraní vÅ¡echny definice aliasů. \n" -" Vrací úspěch, pokud NÁZEV není neexistující alias." +" -a\todstraní vÅ¡echny definice aliasů\n" +" Vrátí úspěch, pokud NÁZEV není neexistující alias." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2488,7 +2602,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2540,7 +2655,7 @@ msgstr "" " bind vrací 0, pokud není zadán nerozpoznaný přepínač nebo nedojde " "k chybě." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2558,7 +2673,7 @@ msgstr "" " Návratový kód:\n" " Návratový kód je 0, pokud N je větší nebo rovno 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2575,7 +2690,7 @@ msgstr "" " Návratový kód:\n" " Návratový kód je 0, pokud N je větší nebo rovno 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2600,7 +2715,7 @@ msgstr "" " Vrací návratový kód VESTAVĚNÉHO-PŘÍKAZU-SHELLU, nebo nepravdu, pokud\n" " VESTAVĚNÝ-PŘÍKAZ-SHELLU není vestavěným příkazem shellu." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2627,7 +2742,7 @@ msgstr "" " Návratový kód:\n" " Vrací 0, pokud shell provádí shellovou funkci a VÝRAZ je platný." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2650,16 +2765,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2689,15 +2804,16 @@ msgstr "" " hodnotu, pak její hodnota se použije jako ADR.\n" " \n" " Přepínače:\n" -" -L\tvynutí následování symbolických odkazů: vyhodnotí symbolické\n" -" \todkazy v ADR po zpracování vÅ¡ech výskytů „..“\n" -" -P\tnařizuje použít fyzickou adresářovou strukturu namísto\n" -" \tnásledování symbolických odkazů: vyhodnotí symbolické odkazy v ADR\n" -" \tpřed zpracováním vÅ¡ech výskytů „..“\n" -" -e\tje-li zadán přepínač -P a současný pracovní adresář nelze\n" -" \tzdárně zjistit, skončí s nenulovým návratovým kódem\n" -" -@ na systémech, které to podporují, vydává soubor s rozšířenými\n" -" atributy jako adresář obsahující atributy souboru\n" +" -L vynutí následování symbolických odkazů: vyhodnotí symbolické\n" +" odkazy v ADR po zpracování vÅ¡ech výskytů „..“\n" +" -P nařizuje použít fyzickou adresářovou strukturu namísto\n" +" následování symbolických odkazů: vyhodnotí symbolické odkazy " +"v ADR\n" +" před zpracováním vÅ¡ech výskytů „..“\n" +" -e je-li zadán přepínač -P a současný pracovní adresář nelze\n" +" zdárně zjistit, skončí s nenulovým návratovým kódem\n" +" -@ na systémech, které to podporují, vydává soubor s rozšířenými\n" +" atributy jako adresář obsahující atributy souboru\n" " \n" " Symbolické odkazy se implicitně následují, jako by bylo zadáno „-L“.\n" " „..“ se zpracovávají tak, že se odstraní bezprostředně předcházející\n" @@ -2707,13 +2823,13 @@ msgstr "" " Vrací 0, byl-li adresář změněn a, byl-li zadán -P, $PWD byla úspěšně\n" " nastavena. Jinak vrací nenulovou hodnotu." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2725,9 +2841,9 @@ msgstr "" "Vypíše název současného pracovního adresáře.\n" " \n" " Přepínače:\n" -" -L\tvypíše hodnotu $PWD, pokud pojmenovává současný pracovní\n" -" \tadresář\n" -" -P\tvypíše fyzický adresář prostý vÅ¡ech symbolických odkazů\n" +" -L vypíše hodnotu $PWD, pokud pojmenovává současný pracovní\n" +" adresář\n" +" -P vypíše fyzický adresář prostý vÅ¡ech symbolických odkazů\n" " \n" " Implicitně se „pwd“ chová, jako by bylo zadáno „-L“.\n" " \n" @@ -2735,7 +2851,7 @@ msgstr "" " Vrací 0, nebyl-li zadán neplatný přepínač a mohl-li být současný\n" " adresář přečten." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2751,7 +2867,7 @@ msgstr "" " Návratový kód:\n" " Vždy uspěje." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2763,7 +2879,7 @@ msgstr "" " Návratový kód:\n" " Vždy uspěje." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2775,7 +2891,7 @@ msgstr "" " Návratový kód:\n" " Vždy selže." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2785,10 +2901,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2802,15 +2918,15 @@ msgstr "" " přičemž existuje funkce stejného jména.\n" " \n" " Přepínače:\n" -" -p\tpro PATH bude použita implicitní hodnota, která zaručuje,\n" -" \tže budou nalezeny vÅ¡echny standardní nástroje\n" -" -v\tzobrazí popis PŘÍKAZU podobný vestavěnému příkazu „type“\n" -" -V\tzobrazí podrobnější popis každého PŘÍKAZU\n" +" -p pro PATH bude použita implicitní hodnota, která zaručuje,\n" +" že budou nalezeny vÅ¡echny standardní nástroje\n" +" -v zobrazí popis PŘÍKAZU podobný vestavěnému příkazu „type“\n" +" -V zobrazí podrobnější popis každého PŘÍKAZU\n" " \n" " Návratový kód:\n" " Vrací návratový kód PŘÍKAZU, nebo selže, nebyl–li příkaz nalezen." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2820,9 +2936,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2855,23 +2971,23 @@ msgstr "" " zobrazí atributy a hodnoty vÅ¡ech proměnných.\n" " \n" " Přepínače:\n" -" -f\tomezí akci nebo výpis na názvy funkcí a deklarace\n" -" -F\tomezí výpis jen na názvy funkcí (a číslo řádku a název\n" -" \tzdrojového souboru, je-li zapnuto ladění)\n" -" -g\tvytváří globální proměnné, je-li voláno z funkce shellu,\n" -" \tjinak ignorováno\n" -" -p\tzobrazí atributy a hodnotu každého NÁZVU\n" +" -f omezí akci nebo výpis na názvy funkcí a deklarace\n" +" -F omezí výpis jen na názvy funkcí (a číslo řádku a název\n" +" zdrojového souboru, je-li zapnuto ladění)\n" +" -g vytváří globální proměnné, je-li voláno z funkce shellu,\n" +" jinak ignorováno\n" +" -p zobrazí atributy a hodnotu každého NÁZVU\n" " \n" " Přepínače, které nastavují atributy:\n" -" -a\tučiní NÁZVY číslovanými poli (je-li podporováno)\n" -" -A\tučiní NÁZVY asociativními poli (je-li podporováno)\n" -" -i\tpřiřadí NÁZVÅ®M atribut „integer“ (číslo)\n" -" -l\tpřevede NÁZVY na malá písmena v době přiřazení\n" -" -n\tučiní NÁZEV odkazem na proměnnou pojmenovanou podle své hodnoty\n" -" -r\tučiní NÁZVY jen pro čtení\n" -" -t\tpřiřadí NÁZVÅ®M atribut „trace“ (sledování)\n" -" -u\tpřevede NÁZVY na velká písmena v době přiřazení\n" -" -x\tvyexportuje NÁZVY\n" +" -a učiní NÁZVY číslovanými poli (je-li podporováno)\n" +" -A učiní NÁZVY asociativními poli (je-li podporováno)\n" +" -i přiřadí NÁZVÅ®M atribut „integer“ (číslo)\n" +" -l převede NÁZVY na malá písmena v době přiřazení\n" +" -n učiní NÁZEV odkazem na proměnnou pojmenovanou podle své hodnoty\n" +" -r učiní NÁZVY jen pro čtení\n" +" -t přiřadí NÁZVÅ®M atribut „trace“ (sledování)\n" +" -u převede NÁZVY na velká písmena v době přiřazení\n" +" -x vyexportuje NÁZVY\n" " \n" " Pomocí „+“ namísto „-“ daný atribut vypnete.\n" " \n" @@ -2886,17 +3002,18 @@ msgstr "" " Vrací úspěch, pokud nebyl zadán neplatný přepínač a nedoÅ¡lo k chybě při\n" " přiřazování do proměnné." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Nastaví hodnoty a atributy proměnných\n" " \n" " Příkaz je zastaralý. Vizte „help declare“." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2924,7 +3041,7 @@ msgstr "" " Vrací úspěch, nebyl-li zadán neplatný přepínač, nenastala-li chyba při\n" " přiřazování do proměnné a vykonává-li shell funkci." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2950,9 +3067,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2963,33 +3080,33 @@ msgstr "" " na standardní výstup.\n" " \n" " Přepínače:\n" -" -n\tnepřipojuje nový řádek\n" -" -e\tzapne interpretování následujících znaků uvozených zpětným " +" -n nepřipojuje nový řádek\n" +" -e zapne interpretování následujících znaků uvozených zpětným " "lomítkem\n" -" -E\texplicitně potlačí interpretování znaků uvozených zpětným " +" -E explicitně potlačí interpretování znaků uvozených zpětným " "lomítkem\n" " \n" " „echo“ interpretuje následující znaky uvozené zpětným lomítkem:\n" -" \\a\tpoplach (zvonek)\n" -" \\b\tbackspace\n" -" \\c\tpotlačí další výstup\n" -" \\e\tznak escapu\n" -" \\E\tznak escapu\n" -" \\f\tposun formuláře (form feed)\n" -" \\n\tnový řádek\n" -" \\r\tnávrat vozíku\n" -" \\t\tvodorovný tabulátor\n" -" \\v\tsvislý tabulátor\n" -" \\\\\tzpětné lomítko\n" -" \\0nnn\tznak, jehož ASCII kód je NNN (osmičkově). NNN smí být\n" -" \t0 až 3 osmičkové číslice\n" -" \\xHH\tosmibitový znak, jehož hodnota je HH (Å¡estnáctkově). HH smí\n" -" \tbýt jedna nebo dvě Å¡estnáctkové číslice\n" +" \\a poplach (zvonek)\n" +" \\b backspace\n" +" \\c potlačí další výstup\n" +" \\e znak escapu\n" +" \\E znak escapu\n" +" \\f posun formuláře (form feed)\n" +" \\n nový řádek\n" +" \\r návrat vozíku\n" +" \\t vodorovný tabulátor\n" +" \\v svislý tabulátor\n" +" \\\\ zpětné lomítko\n" +" \\0nnn znak, jehož ASCII kód je NNN (osmičkově). NNN smí být\n" +" 0 až 3 osmičkové číslice\n" +" \\xHH osmibitový znak, jehož hodnota je HH (Å¡estnáctkově). HH smí\n" +" být jedna nebo dvě Å¡estnáctkové číslice\n" " \n" " Návratový kód:\n" " Vrací úspěch, nedojde-li k chybě zápisu na výstup." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3010,7 +3127,7 @@ msgstr "" " \n" " Vrací úspěch, nedojte-li k chybě zápisu na výstup." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3064,7 +3181,7 @@ msgstr "" " Vrací úspěch, je-li NÁZEV vestavěným příkazem shellu a nevyskytne-li\n" " se chyba." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3082,7 +3199,7 @@ msgstr "" " Návratový kód:\n" " Vrátí návratový kód příkazu, nebo úspěch, byl-li příkaz prázdný." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3165,7 +3282,7 @@ msgstr "" "dojde\n" " na konec přepínačů nebo nastane-li chyba." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3176,8 +3293,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3196,9 +3313,9 @@ msgstr "" " v tomto shellu.\n" " \n" " Přepínače:\n" -" -a název\tpředá název jakožto nultý argument PŘÍKAZU\n" -" -c\t\tspustí PŘÍKAZ s prázdným prostředím\n" -" -t\t\tdo nultého argumentu PŘÍKAZU umístí pomlčku\n" +" -a název předá název jakožto nultý argument PŘÍKAZU\n" +" -c spustí PŘÍKAZ s prázdným prostředím\n" +" -t do nultého argumentu PŘÍKAZU umístí pomlčku\n" " \n" " Pokud příkaz nemůže být proveden, neinteraktivní shell bude ukončen,\n" " pokud přepínač shellu „execfail“ není nastaven.\n" @@ -3206,7 +3323,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud byl PŘÍKAZ nalezen a nedoÅ¡lo k chybě přesměrování." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3218,7 +3335,7 @@ msgstr "" " Ukončí tento shell se stavem N. Bez N bude návratový kód roven kódu\n" " posledně prováděného příkazu." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3231,7 +3348,7 @@ msgstr "" " Ukončí přihlaÅ¡ovací (login) shell se stavem N. Nebyl-li příkaz zavolán\n" " z přihlaÅ¡ovacího shellu, vrátí chybu." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3284,7 +3401,7 @@ msgstr "" " Vrátí úspěch nebo kód provedeného příkazu. Nenulový kód, vyskytne-li se\n" " chyba." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3305,7 +3422,7 @@ msgstr "" " Návratový kód:\n" " Kód úlohy přesunuté do popředí, nebo doÅ¡lo-li k chybě, kód selhání." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3327,7 +3444,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud je správa úloh zapnuta a nedoÅ¡lo-li k nějaké chybě." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3336,15 +3453,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3358,20 +3475,21 @@ msgstr "" "příkazech.\n" " \n" " Přepínače:\n" -" -d\t\tzapomene zapamatovaná umístění každého NÁZVU\n" -" -l\t\tvypíše v takové podobě, kterou lze opět použít jako vstup\n" -" -p cesta\tpoužije NÁZEV_CESTY jako plnou cestu k NÁZVU\n" -" -r\t\tzapomene vÅ¡echna zapamatovaná umístění\n" -" -t\t\tvypíše zapamatované umístění každého NÁZVU a každému umístění\n" -" \t\tpředepíše odpovídající NÁZEV, bylo zadáno více NÁZVÅ®\n" +" -d zapomene zapamatovaná umístění každého NÁZVU\n" +" -l vypíše v takové podobě, kterou lze opět použít jako vstup\n" +" -p cesta použije NÁZEV_CESTY jako plnou cestu k NÁZVU\n" +" -r zapomene vÅ¡echna zapamatovaná umístění\n" +" -t vypíše zapamatované umístění každého NÁZVU a každému " +"umístění\n" +" předepíše odpovídající NÁZEV, bylo zadáno více NÁZVÅ®\n" " Argumenty:\n" -" NÁZEV\t\tKaždý NÁZEV je vyhledán v $PATH a přidán do seznamu\n" -" \t\tzapamatovaných příkazů.\n" +" NÁZEV Každý NÁZEV je vyhledán v $PATH a přidán do seznamu\n" +" zapamatovaných příkazů.\n" " \n" " Návratový kód:\n" " Vrátí úspěch, pokud byl NÁZEV nalezen a nebyl-li zadán neplatný přepínač." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3383,7 +3501,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3400,19 +3518,20 @@ msgstr "" " vytiÅ¡těn seznam syntaxe vestavěných příkazů.\n" " \n" " Přepínače:\n" -" -d\tvypíše krátké pojednání na každé téma\n" -" -m\tzobrazí použití v jakoby manuálovém formátu\n" -" -s\tvypíše pouze krátký popis použití o každém příkazu odpovídajícímu\n" -" \tVZORKU\n" +" -d vypíše krátké pojednání na každé téma\n" +" -m zobrazí použití v jakoby manuálovém formátu\n" +" -s vypíše pouze krátký popis použití o každém příkazu odpovídajícímu\n" +" VZORKU\n" " \n" " Argumenty:\n" -" VZOREK\tVzorek určující téma nápovědy\n" +" VZOREK Vzorek určující téma nápovědy\n" " \n" " Návratový kód:\n" " Vrací úspěch, pokud byl nalezen VZOREK a nebyl zadán neplatný přepínač." # FIXME: bash-4.0-pre1: Orphaned line between -w and -p option. It belongs to -n. -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3421,23 +3540,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3451,18 +3570,18 @@ msgstr "" " změněny. Argument N říká, že se vypíše pouze posledních N řádek.\n" " \n" " Přepínače:\n" -" -c\tvyprázdní seznam historie smazáním vÅ¡ech položek\n" -" -d pozice\tsmaže ze seznamu historie položku na pozici POZICE\n" +" -c vyprázdní seznam historie smazáním vÅ¡ech položek\n" +" -d pozice smaže ze seznamu historie položku na pozici POZICE\n" " \n" -" -a\tpřipojí řádky historie z této relace do souboru historie\n" -" -n\tnačte vÅ¡echny řádky historie, které jeÅ¡tě nebyly načteny,\n" -" \tze souboru historie a připojí je do seznamu historie\n" -" -r\tnačte soubor historie a obsah připojí do seznamu historie\n" -" -w\tzapíše současnou historii do souboru historie\n" +" -a připojí řádky historie z této relace do souboru historie\n" +" -n načte vÅ¡echny řádky historie, které jeÅ¡tě nebyly načteny,\n" +" ze souboru historie a připojí je do seznamu historie\n" +" -r načte soubor historie a obsah připojí do seznamu historie\n" +" -w zapíše současnou historii do souboru historie\n" " \n" -" -p\tprovede expanzi historie na každém ARGUMENTU a výsledek zobrazí,\n" -" \taniž by cokoliv uložil do seznamu historie\n" -" -s\tpřipojí ARGUMENTY do seznamu historie jako jednu položku\n" +" -p provede expanzi historie na každém ARGUMENTU a výsledek zobrazí,\n" +" aniž by cokoliv uložil do seznamu historie\n" +" -s připojí ARGUMENTY do seznamu historie jako jednu položku\n" " \n" " Je-li zadán JMÉNO_SOUBORU, tak ten je použit jako soubor historie. " "Jinak\n" @@ -3477,8 +3596,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač a nedoÅ¡lo k chybě." -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3488,7 +3606,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3507,11 +3625,11 @@ msgstr "" " přepínačů bude vypsán stav vÅ¡ech aktivních úloh.\n" " \n" " Přepínače:\n" -" -l\tvypíše navíc ID procesů\n" -" -n\tvypíše pouze procesy, které od minulého oznámení změnily stav\n" -" -p\tvypíše pouze ID procesů\n" -" -r\tzúží výstup jen na běžící úlohy\n" -" -s\tzúží výstup jen na pozastavené úlohy\n" +" -l vypíše navíc ID procesů\n" +" -n vypíše pouze procesy, které od minulého oznámení změnily stav\n" +" -p vypíše pouze ID procesů\n" +" -r zúží výstup jen na běžící úlohy\n" +" -s zúží výstup jen na pozastavené úlohy\n" " \n" " Je-li použito -x, bude spuÅ¡těn příkaz, jakmile vÅ¡echny úlohy uvedené " "mezi\n" @@ -3523,7 +3641,7 @@ msgstr "" "chyba.\n" " Byl-ly použit přepínač -x, vrátí návratový kód PŘÍKAZU." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3533,7 +3651,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3545,15 +3663,16 @@ msgstr "" " shell použije vlastní představu o současné úloze.\n" " \n" " Přepínače:\n" -" -a\todstraní vÅ¡echny úlohy, pokud nebyla žádná ÚLOHA určena\n" -" -h\toznačí každou ÚLOHU tak, že jí nebude zaslán SIGHUP, až shell sám\n" -" \tobdrží tento signál\n" -" -r\todstraní jen běžící úlohy\n" +" -a odstraní vÅ¡echny úlohy, pokud nebyla žádná ÚLOHA určena\n" +" -h označí každou ÚLOHU tak, že jí nebude zaslán SIGHUP, až shell sám\n" +" obdrží tento signál\n" +" -r odstraní jen běžící úlohy\n" " \n" " Návratový kód:\n" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač nebo ÚLOHA." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3565,7 +3684,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3581,11 +3701,12 @@ msgstr "" "SIGTERM.\n" " \n" " Přepínače:\n" -" -s sig\tSIG je název signálu\n" -" -n sig\tSIG je číslo signálu\n" -" -l\tvypíše čísla signálů; pokud „-l“ následují argumenty, má\n" -" \tse za to, že se jedná o čísla signálů, pro které se mají vyspat\n" -" \tjejich názvy.\n" +" -s sig SIG je název signálu\n" +" -n sig SIG je číslo signálu\n" +" -l vypíše čísla signálů; pokud „-l“ následují argumenty, má\n" +" se za to, že se jedná o čísla signálů, pro které se mají " +"vyspat\n" +" jejich názvy.\n" " \n" " Kill je vestavěný příkaz shellu ze dvou důvodů: umožňuje použít\n" " identifikátory úloh namísto ID procesů a umožní zabíjet procesy i poté,\n" @@ -3594,7 +3715,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač a nedoÅ¡lo k chybě." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3681,7 +3802,7 @@ msgstr "" " Pokud poslední ARGUMENT je vyhodnocen na 0, let vrátí 1. Jinak je\n" " navrácena 0." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3702,27 +3823,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3745,29 +3867,38 @@ msgstr "" "REPLY.\n" " \n" " Přepínače:\n" -" -a pole\tnačtená slova budou přiřazena do postupných prvků POLE\n" -" \t\tpočínaje indexem nula\n" -" -d oddělovač\tpokračuje, dokud není načten první znak ODDĚLOVAČE\n" -" \t\tnamísto nového řádku\n" -" -e\t\tv interaktivním shellu bude řádek načten pomocí Readline\n" -" -i text\tpoužije TEXT jako prvotní text pro Readline\n" -" -n p_znaků\tvrátí řízení po načtení P_ZNAKÅ® znaků, místo čekání na\n" -" \t\tnový řádek, avÅ¡ak respektuje oddělovač, je-li méně než P_ZNAKÅ®\n" -" -N p_znaků\tvrátí řízení pouze po načtení přesně P_ZNAKÅ® znaků,\n" -" \t\tpokud se neobjeví konec souboru nebo nevyprší limit,\n" -" \t\tignoruje jakýkoliv oddělovač\n" -" -p výzva\tvypíše řetězec VÝZVA bez závěrečného nového řádku dříve,\n" -" \t\tnež se zahájí načítání\n" -" -r\t\tnepovolí zpětná lomítka pro escapování jakýchkoliv znaků\n" -" -s\t\tvstup pocházející z terminálu nebude zobrazován\n" -" -t limit\tumožní vyprÅ¡ení časového limitu a vrácení chyby, pokud\n" -" \t\tnebude načten celý řádek do LIMIT sekund. Hodnota proměnné\n" -" \t\tTMOUT představuje implicitní limit. LIMIT smí být desetinné\n" -" \t\tčíslo. Je-li LIMIT 0, read okamžitě skončí, aniž by zkusil\n" -" \t\tnačíst jakákoliv data, a vrátí úspěch, jen bude-li na zadaném\n" -" \t\tdeskriptoru souboru připraven vstup. Návratový kód bude větší než\n" -" \t\t128, pokud časový limit bude překročen.\n" -" -u fd\t\tčte z deskriptoru souboru FD namísto standardního vstupu\n" +" -a pole načtená slova budou přiřazena do postupných prvků POLE\n" +" počínaje indexem nula\n" +" -d oddělovač pokračuje, dokud není načten první znak ODDĚLOVAČE\n" +" namísto nového řádku\n" +" -e v interaktivním shellu bude řádek načten pomocí " +"Readline\n" +" -i text použije TEXT jako prvotní text pro Readline\n" +" -n p_znaků vrátí řízení po načtení P_ZNAKÅ® znaků, místo čekání na\n" +" nový řádek, avÅ¡ak respektuje oddělovač, je-li méně než\n" +" P_ZNAKÅ®\n" +" -N p_znaků vrátí řízení pouze po načtení přesně P_ZNAKÅ® znaků,\n" +" pokud se neobjeví konec souboru nebo nevyprší limit,\n" +" ignoruje jakýkoliv oddělovač\n" +" -p výzva vypíše řetězec VÝZVA bez závěrečného nového řádku " +"dříve,\n" +" než se zahájí načítání\n" +" -r nepovolí zpětná lomítka pro escapování jakýchkoliv " +"znaků\n" +" -s vstup pocházející z terminálu nebude zobrazován\n" +" -t limit umožní vyprÅ¡ení časového limitu a vrácení chyby, pokud\n" +" nebude načten celý řádek do LIMIT sekund. Hodnota " +"proměnné\n" +" TMOUT představuje implicitní limit. LIMIT smí být " +"desetinné\n" +" číslo. Je-li LIMIT 0, read okamžitě skončí, aniž by " +"zkusil\n" +" načíst jakákoliv data, a vrátí úspěch, jen bude-li na\n" +" zadaném deskriptoru souboru připraven vstup. Návratový\n" +" kód bude větší než 128, pokud časový limit bude " +"překročen.\n" +" -u fd čte z deskriptoru souboru FD namísto standardního " +"vstupu\n" " \n" " Návratový kód:\n" " Návratový kód je nula, pokud se nenarazí na konec souboru, časový limit\n" @@ -3776,7 +3907,7 @@ msgstr "" "souboru\n" " jako argument -u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3798,7 +3929,8 @@ msgstr "" " Návratová hodnota:\n" " Vrátí N, nebo selže, pokud shell neprovádí funkci nebo skript." -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3866,7 +3998,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3970,7 +4103,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud nebyl zadán neplatný argument." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3980,7 +4113,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3996,10 +4129,10 @@ msgstr "" " Pro každé JMÉNO odstraní odpovídající proměnnou nebo funkci.\n" " \n" " Přepínače:\n" -" -f\tpovažuje každé JMÉNO za funkci shellu\n" -" -v\tpovažuje každé JMÉNO za proměnnou shellu\n" -" -n\tpovažuje každé JMÉNO za odkaz na název a odstraní proměnnou samu\n" -" \tnamísto proměnné, na kterou odkazuje\n" +" -f považuje každé JMÉNO za funkci shellu\n" +" -v považuje každé JMÉNO za proměnnou shellu\n" +" -n považuje každé JMÉNO za odkaz na název a odstraní proměnnou samu\n" +" namísto proměnné, na kterou odkazuje\n" " \n" " Bez těchto dvou příznaků unset nejprve zkusí zruÅ¡it proměnnou a pokud " "toto\n" @@ -4011,7 +4144,7 @@ msgstr "" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač a JMÉNO není jen pro\n" " čtení." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4046,7 +4179,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač nebo NÁZEV." -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -4058,9 +4191,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4076,18 +4208,18 @@ msgstr "" " pro čtení přiřadí HODNOTU.\n" " \n" " Přepínače:\n" -" -a\tvztahuje se na proměnné typu číslované pole\n" -" -A\tvztahuje se na proměnné typu asociativní pole\n" -" -f\tvztahuje se funkce shellu\n" -" -p\tzobrazí seznam vÅ¡ech proměnných nebo funkcí jen pro čtení\n" -" \tv závislosti podle toho, zda-li byl zadán přepínač -f\n" +" -a vztahuje se na proměnné typu číslované pole\n" +" -A vztahuje se na proměnné typu asociativní pole\n" +" -f vztahuje se funkce shellu\n" +" -p zobrazí seznam vÅ¡ech proměnných nebo funkcí jen pro čtení\n" +" v závislosti podle toho, zda-li byl zadán přepínač -f\n" " \n" " Argument „--“ zakáže zpracování dalších přepínačů.\n" " \n" " Návratový kód:\n" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač nebo NÁZEV." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4105,7 +4237,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud N není záporný a není větší než $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4129,7 +4261,7 @@ msgstr "" " Vrací návratový kód posledního provedeného příkazu z NÁZVU_SOUBORU.\n" " Selže, pokud NÁZEV_SOUBORU nelze načíst." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4153,7 +4285,7 @@ msgstr "" " Návratový kód:\n" " Vrací úspěch, pokud je správa úloh zapnuta a nevyskytla se chyba." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4217,9 +4349,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4323,7 +4455,7 @@ msgstr "" " Vrací úspěch, je-li VÝRAZ vyhodnocen jako pravdivý. Selže, je-li VÝRAZ\n" " vyhodnocen jako nepravdivý nebo je-li zadán neplatný argument." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4335,7 +4467,7 @@ msgstr "" " Toto je synonymum pro vestavěný příkaz „test“, až na to, že poslední\n" " argument musí být doslovně „]“, aby se shodoval s otevírající „[“." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4355,7 +4487,7 @@ msgstr "" " Návratový kód:\n" " Vždy uspěje." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4439,7 +4571,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud SIGSPEC a zadané přepínače jsou platné." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4448,18 +4580,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4474,28 +4606,28 @@ msgstr "" " název příkazu.\n" " \n" " Přepínače\n" -" -a\tzobrazí vÅ¡echna místa, kde se nalézá spustitelný program\n" -" \tpojmenovaný NÁZEV. To zahrnuje aliasy, vestavěné příkazy a funkce\n" -" \tjen a pouze tehdy, když není rovněž použit přepínač -p.\n" -" -f\tpotlačí hledání mezi funkcemi shellu\n" -" -P\tvynutí prohledání PATH na každý NÁZEV, dokonce i když se\n" -" \tjedná o alias, vestavěný příkaz nebo funkci, a vrátí název\n" -" \tsouboru na disku, který by byl spuÅ¡těn\n" -" -p\tbuď vrátí jméno souboru na disku, který by byl spuÅ¡těn,\n" -" \tnebo nic, pokud „type -t NÁZEV“ by nevrátil „file“ (soubor)\n" -" -t\tvypíše jedno slovo z těchto: „alias“, „keyword“, „function“,\n" -" \t„builtin“, „file“ nebo „“, je-li NÁZEV alias, klíčové slovo\n" -" \tshellu, shellová funkce, vestavěný příkaz shellu, soubor na\n" -" \tdisku nebo nenalezený příkaz\n" +" -a zobrazí vÅ¡echna místa, kde se nalézá spustitelný program\n" +" pojmenovaný NÁZEV. To zahrnuje aliasy, vestavěné příkazy a funkce\n" +" jen a pouze tehdy, když není rovněž použit přepínač -p.\n" +" -f potlačí hledání mezi funkcemi shellu\n" +" -P vynutí prohledání PATH na každý NÁZEV, dokonce i když se\n" +" jedná o alias, vestavěný příkaz nebo funkci, a vrátí název\n" +" souboru na disku, který by byl spuÅ¡těn\n" +" -p buď vrátí jméno souboru na disku, který by byl spuÅ¡těn,\n" +" nebo nic, pokud „type -t NÁZEV“ by nevrátil „file“ (soubor)\n" +" -t vypíše jedno slovo z těchto: „alias“, „keyword“, „function“,\n" +" „builtin“, „file“ nebo „“, je-li NÁZEV alias, klíčové slovo\n" +" shellu, shellová funkce, vestavěný příkaz shellu, soubor na\n" +" disku nebo nenalezený příkaz\n" " \n" " Argumenty:\n" -" NÁZEV\tNázev příkazu určený k výkladu.\n" +" NÁZEV Název příkazu určený k výkladu.\n" " \n" " Návratový kód:\n" " Vrátí úspěch, pokud vÅ¡echny NÁZVY byly nalezeny. Selže, pokud některé\n" " nalezeny nebyly." -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4513,6 +4645,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4524,7 +4657,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4547,28 +4681,31 @@ msgstr "" " spuÅ¡těných (na systémech, které takovou kontrolu umožňují).\n" " \n" " Přepínače:\n" -" -S\tpoužije se „měkké“ (soft) omezení zdroje\n" -" -H\tpoužije se „tvrdé“ (hard) omezení zdroje\n" -" -a\tnahlásí vÅ¡echna současná omezení (limity)\n" -" -b\tvelikost vyrovnávací paměti socketů\n" -" -c\tmaximální velikost vytvářených core souborů (výpis paměti " +" -S použije se „měkké“ (soft) omezení zdroje\n" +" -H použije se „tvrdé“ (hard) omezení zdroje\n" +" -a nahlásí vÅ¡echna současná omezení (limity)\n" +" -b velikost vyrovnávací paměti socketů\n" +" -c maximální velikost vytvářených core souborů (výpis paměti " "programu)\n" -" -d\tmaximální velikost datového segmentu procesu\n" -" -e\tmaximální plánovací priorita („nice“)\n" -" -f\tmaximální velikost souborů zapsaných shellem a jeho potomky\n" -" -i\tmaximální počet čekajících signálů\n" -" -l\tmaximální velikost paměti, kterou může proces zamknout\n" -" -m\tmaximální velikost rezidentní paměti (resident set size)\n" -" -n\tmaximální počet otevřených deskriptorů souboru\n" -" -p\tvelikost vyrovnávací paměti rour\n" -" -q\tmaximální počet bajtů ve frontě posixových zpráv\n" -" -r\tmaximální priorita plánování v reálném čase\n" -" -s\tmaximální velikost zásobníku\n" -" -t\tmaximální množství procesorového času v sekundách\n" -" -u\tmaximální počet procesů uživatele\n" -" -v\tvelikost virtuální paměti\n" -" -x\tmaximální počet zámků na souborech\n" -" -T\tmaximální počet vláken\n" +" -d maximální velikost datového segmentu procesu\n" +" -e maximální plánovací priorita („nice“)\n" +" -f maximální velikost souborů zapsaných shellem a jeho potomky\n" +" -i maximální počet čekajících signálů\n" +" -k maximální počet jaderných front událostí („kqueue“) alokovaných\n" +" pro tento proces\n" +" -l maximální velikost paměti, kterou může proces zamknout\n" +" -m maximální velikost rezidentní paměti (resident set size)\n" +" -n maximální počet otevřených deskriptorů souboru\n" +" -p velikost vyrovnávací paměti rour\n" +" -q maximální počet bajtů ve frontě posixových zpráv\n" +" -r maximální priorita plánování v reálném čase\n" +" -s maximální velikost zásobníku\n" +" -t maximální množství procesorového času v sekundách\n" +" -u maximální počet procesů uživatele\n" +" -v velikost virtuální paměti\n" +" -x maximální počet zámků na souborech\n" +" -P maximální počet pseudoterminálů\n" +" -T maximální počet vláken\n" " \n" " Ne vÅ¡echny přepínače jsou dostupné na vÅ¡ech platformách.\n" " \n" @@ -4585,7 +4722,7 @@ msgstr "" " Návratová hodnota:\n" " Vrací úspěch, pokud nebyl zadán neplatný přepínač a nevyskytla se chyba." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4618,7 +4755,7 @@ msgstr "" " Návratový kód\n" " Vrátí úspěch, pokud nebyl zadán neplatný MÓD nebo přepínač." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4653,7 +4790,7 @@ msgstr "" " Vrátí kód posledního ID. Selže, pokud ID není platný nebo byl zadán\n" " neplatný přepínač." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4677,7 +4814,7 @@ msgstr "" " Vrátí kód posledního PID. Selže, pokud PID není platný nebo byl zadán\n" " neplatný přepínač." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4701,7 +4838,7 @@ msgstr "" " Návratový kód:\n" " Vrátí kód naposledy provedeného příkazu." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4730,7 +4867,7 @@ msgstr "" " Návratový kód:\n" " Vrátí kód naposledy vykonaného příkazu." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4772,7 +4909,7 @@ msgstr "" " Návratový kód:\n" " Vrátí kód naposledy prováděného příkazu." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4803,7 +4940,7 @@ msgstr "" " Návratový kód:\n" " Návratová hodnota je návratová hodnota KOLONY." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4821,7 +4958,7 @@ msgstr "" " Návratový kód:\n" " Vrátí kód naposledy provedeného příkazu." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4856,7 +4993,7 @@ msgstr "" " Návratový kód:\n" " Vrátí kód naposledy provedeného příkazu." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4875,7 +5012,7 @@ msgstr "" " Návratový kód:\n" " Vrátí kód naposledy provedeného příkazu." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4893,7 +5030,8 @@ msgstr "" " Návratový kód:\n" " Vrátí kód naposledy provedeného příkazu." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4903,7 +5041,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Vytvoří koproces pojmenovaný NÁZEV.\n" " \n" @@ -4915,7 +5053,7 @@ msgstr "" " Návratový kód:\n" " Vrátí návratový kód PŘÍKAZU." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4940,7 +5078,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud NÁZEV není jen pro čtení." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4957,7 +5095,7 @@ msgstr "" " Návratový kód:\n" " Vrátí kód naposledy spuÅ¡těného příkazu." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4982,7 +5120,7 @@ msgstr "" " Návratový kód:\n" " Vrátí kód obnovené úlohy." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -5004,7 +5142,7 @@ msgstr "" # příkaz, který by byl vykonán na základě splnění jiné podmínky. Tj. překlad # „podmíněný příkaz“ je chybný. # Toto je nápověda k vestavěnému příkazu „[“. -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5056,7 +5194,7 @@ msgstr "" " Návratový kód:\n" " 0 nebo 1 podle hodnoty VÝRAZU." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5161,7 +5299,7 @@ msgstr "" " \t\trozliÅ¡ení, které příkazy by měly být uloženy do seznamu\n" " \t\thistorie.\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5171,19 +5309,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5198,19 +5336,19 @@ msgstr "" " argumentů prohodí dva vrchní adresáře.\n" " \n" " Přepínače:\n" -" -n\tPotlačí obvyklou změnu adresáře, když se na zásobník přidávají\n" -" \tadresáře, takže změněn bude pouze zásobník.\n" +" -n Potlačí obvyklou změnu adresáře, když se na zásobník přidávají\n" +" adresáře, takže změněn bude pouze zásobník.\n" " \n" " Argumenty:\n" -" +N\tZrotuje zásobník tak, že N. adresář (počítáno zleva na seznamu\n" -" \tzobrazovaném pomocí „dirs“, počínaje nulou) se dostane na vrchol.\n" +" +N Zrotuje zásobník tak, že N. adresář (počítáno zleva na seznamu\n" +" zobrazovaném pomocí „dirs“, počínaje nulou) se dostane na vrchol.\n" " \n" -" -N\tZrotuje zásobník tak, že N. adresář (počítáno zprava na seznamu\n" -" \tzobrazovaném pomocí „dirs“, počínaje nulou) se dostane na vrchol.\n" +" -N Zrotuje zásobník tak, že N. adresář (počítáno zprava na seznamu\n" +" zobrazovaném pomocí „dirs“, počínaje nulou) se dostane na vrchol.\n" " \n" -" adresář\n" -" \tPřidá ADRESÁŘ na vrchol zásobníku adresářů a učiní jej novým\n" -" \tsoučasným pracovním adresářem.\n" +" ADRESÁŘ\n" +" Přidá ADRESÁŘ na vrchol zásobníku adresářů a učiní jej novým\n" +" současným pracovním adresářem.\n" " \n" " Zásobník adresářů si můžete prohlédnout příkazem „dirs“.\n" " \n" @@ -5218,7 +5356,7 @@ msgstr "" " Vrátí úspěch, pokud nebyl zadán neplatný argument a změna adresáře\n" " neselhala." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5227,16 +5365,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5250,17 +5388,17 @@ msgstr "" " z vrcholu zásobníku a přepne do nového adresáře na vrchu zásobníku.\n" " \n" " Přepínače:\n" -" -n\tPotlačí obvyklou změnu adresáře, když se ze zásobníku odebírají\n" -" \tadresáře, takže změněn bude pouze zásobník.\n" +" -n Potlačí obvyklou změnu adresáře, když se ze zásobníku odebírají\n" +" adresáře, takže změněn bude pouze zásobník.\n" " \n" " Argumenty:\n" -" +N\tOdstraní N. položku počítáno zleva na seznamu zobrazovaném\n" -" \tpomocí „dirs“, počínaje nulou. Na příklad: „popd +0“ odstraní\n" -" první adresář, „popd -1“ druhý.\n" +" +N Odstraní N. položku počítáno zleva na seznamu zobrazovaném\n" +" pomocí „dirs“, počínaje nulou. Na příklad: „popd +0“ odstraní\n" +" první adresář, „popd -1“ druhý.\n" " \n" -" -N\tOdstraní N. položku počítáno zprava na seznamu zobrazovaném\n" -" \tpomocí „dirs“, počínaje nulou. Na příklad: „popd -0“ odstraní\n" -" poslední adresář, „popd -1“ další vedle posledního.\n" +" -N Odstraní N. položku počítáno zprava na seznamu zobrazovaném\n" +" pomocí „dirs“, počínaje nulou. Na příklad: „popd -0“ odstraní\n" +" poslední adresář, „popd -1“ další vedle posledního.\n" " \n" " Zásobník adresářů si můžete prohlédnout příkazem „dirs“.\n" " \n" @@ -5268,7 +5406,7 @@ msgstr "" " Vrátí úspěch, pokud nebyl zadán neplatný argument nebo neselhala změna\n" " adresáře." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5279,19 +5417,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5303,23 +5441,23 @@ msgstr "" "„popd“.\n" " \n" " Přepínače:\n" -" -c\tvyprázdní zásobník adresářů tím, že smaže vÅ¡echny jeho prvky\n" -" -l\tnevypíše vlnkou zkrácené verze adresářů, které jsou relativní\n" -" \tvaÅ¡emu domovskému adresáři\n" -" -p\tvypíše zásobník adresářů po jedné položce na řádek\n" -" -v\tvypíše zásobník adresářů po jedné položce na řádek, přičemž\n" -" \tnázvu adresáře předřadí jeho umístění na zásobníku\n" +" -c vyprázdní zásobník adresářů tím, že smaže vÅ¡echny jeho prvky\n" +" -l nevypíše vlnkou zkrácené verze adresářů, které jsou relativní\n" +" vaÅ¡emu domovskému adresáři\n" +" -p vypíše zásobník adresářů po jedné položce na řádek\n" +" -v vypíše zásobník adresářů po jedné položce na řádek, přičemž\n" +" názvu adresáře předřadí jeho umístění na zásobníku\n" " \n" " Argumenty:\n" -" +N\tzobrazí N. položku počítáno zleva na seznamu, který zobrazuje\n" -" \tdirs, když je vyvolán bez přepínačů, počínaje nulou.\n" +" +N zobrazí N. položku počítáno zleva na seznamu, který zobrazuje\n" +" dirs, když je vyvolán bez přepínačů, počínaje nulou.\n" " \n" -" -N\tzobrazí N. položku počítáno zprava na seznamu, který zobrazuje\n" -" \tdirs, když je vyvolán bez přepínačů, počínaje nulou. \n" +" -N zobrazí N. položku počítáno zprava na seznamu, který zobrazuje\n" +" dirs, když je vyvolán bez přepínačů, počínaje nulou. \n" " Návratový kód:\n" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač a nevyskytla se chyba." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5357,7 +5495,7 @@ msgstr "" " Vrátí úspěch, je-li NÁZEV_VOLBY zapnut. Selže, byl-li zadán neplatný\n" " přepínač nebo je-li NÁZEV_VOLBY vypnut." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5374,15 +5512,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5398,8 +5536,8 @@ msgstr "" "Naformátuje a vypíše ARGUMENTY podle definice FORMÁTU.\n" " \n" " Přepínače:\n" -" -v proměnná\tvýstup umístí do proměnné shellu PROMĚNNÁ namísto\n" -" \t\todeslání na standardní výstup.\n" +" -v proměnná výstup umístí do proměnné shellu PROMĚNNÁ namísto\n" +" odeslání na standardní výstup.\n" " \n" " FORMÁT je řetězec znaků, který obsahuje tři druhy objektů: obyčejné " "znaky,\n" @@ -5412,12 +5550,12 @@ msgstr "" " Tento printf interpretuje vedle standardních formátovacích definic\n" " popsaných v printf(1) též:\n" " \n" -" %b\texpanduje posloupnosti escapované zpětným lomítkem\n" -" \t\tv odpovídajícím argumentu\n" -" %q\toescapuje argument takovým způsobem, že jej bude možné\n" -" \t\tpoužít jako vstup shellu\n" -" %(FORMÁT)T\tvypíše řetězec data-času tak, jako by to byl výstup\n" -" \t\tfunkce strftime(3) s formátovacím řetězcem FORMÁT\n" +" %b expanduje posloupnosti escapované zpětným lomítkem\n" +" v odpovídajícím argumentu\n" +" %q oescapuje argument takovým způsobem, že jej bude možné\n" +" použít jako vstup shellu\n" +" %(FORMÁT)T vypíše řetězec data-času tak, jako by to byl výstup\n" +" funkce strftime(3) s formátovacím řetězcem FORMÁT\n" " \n" " FORMÁT lze znovu použít podle potřeby ke zpracování vÅ¡ech argumentů. Je-" "li\n" @@ -5430,7 +5568,7 @@ msgstr "" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač a nedoÅ¡lo k chybě\n" " zápisu nebo přiřazení." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5443,11 +5581,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5463,13 +5601,13 @@ msgstr "" " v podobě vhodné pro jejich znovu užití jako vstup.\n" " \n" " Přepínače:\n" -" -p\tvypíše existující pravidla doplňování v znovu použitelném tvaru\n" -" -r\todstraní pro každý NÁZEV doplňovací pravidlo, nebo není-li zadán\n" -" \tžádný NÁZEV, zruší vÅ¡echna pravidla\n" -" -D\tpoužije pravidla doplňování a akce jako implicitní pro příkazy,\n" -" \tkteré nemají žádné určité pravidlo doplňování definováno\n" -" -E\tpoužije pravidla doplňování á akce na „prázdné“ příkazy –\n" -" \tpravidla doplňování se uplatní na prázdný řádek\n" +" -p vypíše existující pravidla doplňování v znovu použitelném tvaru\n" +" -r odstraní pro každý NÁZEV doplňovací pravidlo, nebo není-li zadán\n" +" žádný NÁZEV, zruší vÅ¡echna pravidla\n" +" -D použije pravidla doplňování a akce jako implicitní pro příkazy,\n" +" které nemají žádné určité pravidlo doplňování definováno\n" +" -E použije pravidla doplňování á akce na „prázdné“ příkazy –\n" +" pravidla doplňování se uplatní na prázdný řádek\n" " \n" " Použije-li se doplňování, akce se uplatní v pořadí, v jakém jsou " "vypsány\n" @@ -5479,7 +5617,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač a nevyskytla se chyba." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5500,7 +5638,7 @@ msgstr "" " Návratový kód:\n" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač a nevyskytla se chyba." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5558,7 +5696,7 @@ msgstr "" "definováno\n" " pravidlo doplňování." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5569,20 +5707,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5606,21 +5745,22 @@ msgstr "" " Implicitním POLEM je proměnná MAPFILE.\n" " \n" " Přepínače:\n" -" -n počet\tZkopíruje nejvýše POČET řádků. Je-li POČET 0,\n" -" \t\tzkopíruje vÅ¡echny řádky.\n" -" -O počátek\tPřiřazování do POLE začne na indexu POČÁTEK.\n" -" \t\tImplicitní index je 0.\n" -" -s počet\tZahodí prvních POČET načtených řádků.\n" -" -t\t\tOdstraní znak konce řádku z každého načteného řádku.\n" -" -u fd\t\tŘádky čte z deskriptoru souboru FD namísto ze\n" -" \t\tstandardního vstupu.\n" -" -C volání\tVyhodnotí VOLÁNÍ pokaždé, když je načteno MNOŽSTVÍ\n" -" \t\třádků.\n" -" -c množství\tUdává počet řádků, které je třeba přečíst, mezi\n" -" \t\tkaždým zavoláním VOLÁNÍ.\n" +" -d oddělovač Řádky zakončí ODDĚLOVAČEM namísto znakem nového řádku\n" +" -n počet Zkopíruje nejvýše POČET řádků. Je-li POČET 0,\n" +" zkopíruje vÅ¡echny řádky\n" +" -O počátek Přiřazování do POLE začne na indexu POČÁTEK,\n" +" výchozí index je 0\n" +" -s počet Zahodí prvních POČET načtených řádků\n" +" -t Odstraní znak konce řádku z každého načteného řádku\n" +" -u fd Řádky čte z deskriptoru souboru FD namísto ze\n" +" standardního vstupu\n" +" -C volání Vyhodnotí VOLÁNÍ pokaždé, když je načteno MNOŽSTVÍ\n" +" řádků\n" +" -c množství Udává počet řádků, které je třeba přečíst, mezi\n" +" každým zavoláním VOLÁNÍ\n" " \n" " Argumenty:\n" -" POLE\t\tNázev proměnné typu pole, do které budou přiřazena data.\n" +" POLE Název proměnné typu pole, do které budou přiřazena data\n" " \n" " Je-li uvedeno -C bez -c, implicitní množství bude 5000. Vyhodnocovanému\n" " VOLÁNÍ budou jako dodatečné argumenty předány index prvku pole, do\n" @@ -5634,7 +5774,7 @@ msgstr "" " Vrátí úspěch, pokud nebyl zadán neplatný přepínač, POLE nebylo jen pro\n" " čtení a bylo indexovaným polem." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5644,6 +5784,24 @@ msgstr "" " \n" " Synonymum pro „mapfile“." +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright © 2014 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright © 2012 Free Software Foundation, Inc." + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Copyright © 2009 Free Software Foundation, Inc.\n" @@ -5803,9 +5961,6 @@ msgstr "" #~ msgid "removes the top directory from the stack, and cd's to the new" #~ msgstr "odstraní adresář z vrcholu zásobníku a přepne se do nového" -#~ msgid "top directory." -#~ msgstr "vrcholového adresáře." - #~ msgid "+N removes the Nth entry counting from the left of the list" #~ msgstr "+N odstraní N. položku počítáno zleva na seznamu," diff --git a/po/da.gmo b/po/da.gmo index 24a3ccd0c..6aa94c4e2 100644 Binary files a/po/da.gmo and b/po/da.gmo differ diff --git a/po/da.po b/po/da.po index 07807bf0f..3bda8e514 100644 --- a/po/da.po +++ b/po/da.po @@ -12,84 +12,90 @@ msgid "" msgstr "" "Project-Id-Version: bash 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2011-03-18 01:36+0100\n" "Last-Translator: Kenneth Nielsen \n" "Language-Team: Danish \n" -"Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: da\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" # Den er jeg altsÃ¥ ikke helt sikker pÃ¥ -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "ugyldigt arrayindeks" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: kan ikke konvertere indekseret til associativt array" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: ugyldig nøgle til associativt array" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: kan ikke tildele til ikkenumerisk indeks" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: et indeks skal bruges ved tildeling til associativt array" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: kan ikke oprette %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: kan ikke finde tastetildeling for kommando" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: første ikke-blank-tegn er ikke '\"'" # Kønnet her er et gæt, hvis det er parenteser eller anførselstegn passer det # FEJLRAPPORT -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "ingen afsluttende \"%c\" i %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: manglende kolonseparator" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, fuzzy, c-format msgid "`%s': invalid alias name" msgstr "\"%s\": ugyldigt tastetildelingsnavn" @@ -98,45 +104,45 @@ msgstr "\"%s\": ugyldigt tastetildelingsnavn" msgid "line editing not enabled" msgstr "linjeredigering ikke slÃ¥et til" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "\"%s\": ugyldigt tastetildelingsnavn" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: kan ikke læse: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "\"%s\": kan ikke løsne" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "\"%s\": ukendt funktionsnavn" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s er ikke bundet til nogen taster.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s kan kaldes via " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "løkketæller" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "kun meningsfuld i en \"for\"-, \"while\"- eller \"until\"-løkke" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -146,300 +152,329 @@ msgstr "" " \n" " NÃ¥r UDTRYK udelades returneres " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME ikke indstillet" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "for mange argumenter" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "ingen anden mappe" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD ikke indstillet" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "linje %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "advarsel: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: brug: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: tilvalg kræver et argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: numerisk argument pÃ¥krævet" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: ikke fundet" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: ugyldigt tilvalg" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: ugyldigt tilvalgsnavn" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "\"%s\": ikke et gyldigt identificeringsnavn" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "ugyldigt oktaltal" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "ugyldigt heksadecimalt tal" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "ugyldigt tal" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: ugyldig signalspecifikation" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "\"%s\": ikke en pid eller gyldig job-spec" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: skrivebeskyttet variabel" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s udenfor rækkevidde" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s udenfor rækkevidde" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: intet sÃ¥dant job" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: ingen jobkontrol" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "ingen jobkontrol" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: begrænset" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "begrænset" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: ikke indbygget i skallen" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "skrivefejl: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "fejl ved indstilling af terminalattribut: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "fejl ved indhentning af terminalattribut: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: fejl ved indhentning af nuværende mappe: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: tvetydig job-spec" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: ugyldigt handlingsnavn" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: ingen fuldførselsspecifikation" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "advarsel: tilvalget -F vil mÃ¥ske ikke virke, som du forventer" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "advarsel: tilvalget -C vil mÃ¥ske ikke virke, som du forventer" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "ikke i gang med at eksekvere fuldførelsesfunktion" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "kan kun bruges i en funktion" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, fuzzy, c-format +msgid "%s: circular name reference" +msgstr "%d: ugyldig filbeskrivelse: %s" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%d: ugyldig filbeskrivelse: %s" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "kan ikke bruge \"-f\" til at lave funktioner" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: skrivebeskyttet funktion" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: kan ikke destruere arrayvariabel pÃ¥ denne mÃ¥de" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: kan ikke konvertere associativt til indekseret array" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dynamisk indlæsning ikke tilgængelig" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "kan ikke Ã¥bne delt objekt %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "kan ikke finde %s i delt objekt %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: ikke dynamisk indlæst" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: kan ikke slette: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: er en mappe" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: ikke en regulær fil" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: fil er for stor" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: kan ikke eksekvere binær fil" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: kan ikke eksekvere: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "log ud\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "ikke en logind-skal: brug \"exit\"" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Der er stoppede job.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Der er kørende job.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "ingen kommando fundet" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "historikspecifikation" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: kan ikke Ã¥bne midl. fil: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "nuværende" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "job %d startet uden jobkontrol" @@ -458,26 +493,26 @@ msgstr "%s: et argument er pÃ¥krævet til tilvalget -- %c\n" msgid "hashing disabled" msgstr "hashing slÃ¥et fra" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: hash-tabel tom\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "hits\tkommando\n" # Jeg antager at det sidste ` er det første af et sæt af anførselstegn og # det er derfor oversat til " -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Skalkommandoer som matcher nøgleordet \"" msgstr[1] "Skal-kommandoer som matcher nøgleordene \"" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -485,12 +520,12 @@ msgstr "" "ingen hjælpeemner matcher \"%s\". Prøv \"help help\" eller \"man -k %s\" " "eller \"info %s\"." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: kan ikke Ã¥bne: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -512,15 +547,20 @@ msgstr "" "En stjerne (*) ved siden af et navn betyder at kommandoen er slÃ¥et fra.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "kan ikke bruge mere end en af -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "historikposition" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: ugyldigt grænseargument" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: historikudvidelse fejlede" @@ -534,114 +574,114 @@ msgstr "%s: inlib fejlede" msgid "no other options allowed with `-x'" msgstr "ingen andre tilvalg er tilladt sammen med \"-x\"" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argumenter skal være processer eller job-id'er" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Ukendt fejl" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "forventede et udtryk" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, fuzzy, c-format msgid "%s: not an indexed array" msgstr "%s: ikke en arrayvariabel" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: ugyldig filbeskrivelsesspecifikation" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: ugyldig filbeskrivelse: %s" # -c Specify the number of lines read between each call to callback. -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: ugyldigt antal linjer" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: ugyldig array-startindeks" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: ugyldigt tilbagekaldskvantum" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "tomt arrayvariabelnavn" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "understøttelse af arrayvariabel pÃ¥krævet" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "\"%s\": manglende formattegn" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, fuzzy, c-format msgid "`%c': invalid time format specification" msgstr "%s: ugyldig specifikation af tidsudløb" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "\"%c\": ugyldigt formattegn" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "advarsel: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "manglende heksciffer for \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, fuzzy, c-format msgid "missing unicode digit for \\%c" msgstr "manglende heksciffer for \\x" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "ingen anden mappe" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: ugyldigt grænseargument" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "mappestak tom" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "mappestakindeks" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -684,7 +724,7 @@ msgstr "" " nÃ¥r der ikke angives nogle valgmuligheder, startende fra 0." # Jeg tror der er en fejl i den engelske, fejlrapport -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 #, fuzzy msgid "" "Adds a directory to the top of the directory stack, or rotates\n" @@ -731,7 +771,7 @@ msgstr "" " \n" "Den indbyggede funktion \"dirs\" viser mappestakken." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -769,143 +809,153 @@ msgstr "" " \n" "Den indbyggede funktion \"dirs\" viser mappestakken." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: ugyldig specifikation af tidsudløb" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "læsefejl: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "kan kun udføre \"return\" fra en funktion eller indlæst skript" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "kan ikke fjerne en funktion og en variabel samtidig" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: kan ikke fjerne" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: kan ikke fjerne: skrivebeskyttet %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: ikke en arrayvariabel" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: ikke en funktion" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: kan ikke fjerne" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "skifttæller" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "kan ikke indstille og fjerne skaltilvalg samtidig" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: ugyldigt navn for skaltilvalg" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "filnavnsargument pÃ¥krævet" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: fil ikke fundet" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "kan ikke sætte i hvile" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "kan ikke sætte en logindskal i hvile" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s er aliasset til \"%s\"\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s er et skalnøgleord\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s er en funktion\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s er indbygget i skallen\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s er indbygget i skallen\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s er %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s er hashet (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: ugyldigt grænseargument" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "\"%c\": ugyldig kommando" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: kan ikke indhente grænse: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "grænse" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: kan ikke modificere grænse: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "oktalt tal" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "\"%c\": ugyldig symbolsk tilstandsoperator" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "\"%c\": ugyldigt symbolsk tilstandstegn" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " linje " @@ -919,77 +969,98 @@ msgstr "sidste kommando: %s\n" msgid "Aborting..." msgstr "Afbryder..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "ukendt kommandofejl" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "ugyldig kommandotype" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "dÃ¥rligt mellemled" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "dÃ¥rligt hop" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: ubundet variabel" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\atidsudløb mens der ventedes pÃ¥ input: auto-logud\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "kan ikke videresende standardinput fra /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: \"%c\": ugyldigt formateringstegn" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "datakanalfejl (pipe error)" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: begrænset: kan ikke specificere \"/\" i kommandonavne" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: kommando ikke fundet" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: dÃ¥rlig fortolker" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: kan ikke eksekvere binær fil" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, fuzzy, c-format msgid "`%s': is a special builtin" msgstr "%s er indbygget i skallen\n" @@ -1003,7 +1074,7 @@ msgstr "%s er indbygget i skallen\n" # expansion. If the >(list) form is used, writing to the file will pro‐ # vide input for list. If the <(list) form is used, the file passed as # an argument should be read to obtain the output of list. -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "kan ikke duplikere fd %d til fd %d" @@ -1049,38 +1120,38 @@ msgstr "identifikator forventet efter præforøgelse eller -formindskelse" msgid "missing `)'" msgstr "manglende \")\"" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "syntaksfejl: operand forventet" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "syntaksfejl: ugyldig aritmetisk operator" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (fejlelement er \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "ugyldig aritmetisk grundtal" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "værdi for stor til grundtal" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: fejl i udtryk\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: kan ikke tilgÃ¥ overliggende mapper" # Har ladet nodelay stÃ¥, idet jeg gætter pÃ¥ at det er et navn -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "kan ikke nulstille \"nodelay\"-tilstand for fd %d" @@ -1096,149 +1167,149 @@ msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: buffer eksisterer allerede til ny fd %d" # ?? -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp-datakanal (pipe)" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "forgrenet pid %d figurerer i kørende job %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "sletter stoppet job %d med procesgruppe %ld" # ?? -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: proces %5ld (%s) i the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) markeret som stadig i live" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: ingen process med det pid" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Færdig" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Stoppet" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Stoppet(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Kører" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Færdig(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Afslut %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Ukendt status" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(smed kerne) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "underproces setpgid (%ld til %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld er ikke en underproces af denne skal" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Ingen optegnelse af proces %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: job %d er stoppet" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: job er afbrudt" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: job %d er allerede i baggrunden" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: linje %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (smed kerne)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd nu: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp fejlede" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: linjedisciplin" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "kan ikke indstille terminal-procesgruppe (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "ingen jobkontrol i denne skal" @@ -1292,17 +1363,17 @@ msgstr "realloc: underløb detekteret, mh_nbytes uden for interval" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: størrelse pÃ¥ start- og slut-bid afviger" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: alloc-tabel er fyldt med FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p allerede i tabel som allokeret?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p allerede i tabel som fri?\n" @@ -1326,7 +1397,7 @@ msgstr "%s: ugyldig tjeneste" msgid "%s: bad network path specification" msgstr "%s: dÃ¥rlig specifikation for netværkssti" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "netværksoperation ikke understøttet" @@ -1363,230 +1434,267 @@ msgstr "Du har ny post i $_" msgid "The mail in %s has been read\n" msgstr "Posten i %s er blevet læst\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "syntaksfejl: aritmetisk udtryk pÃ¥krævet" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "syntaksfejl: \";\" uventet" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "syntaksfejl: \"((%s))\"" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: dÃ¥rlig instruktionstype %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" "here-document ved linje %d er adskilt af slut-pÃ¥-linje (ønskede \"%s\")" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_direction: videresendelsesinstruktion \"%d\" uden for interval" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "uventet EOF mens der ledtes efter samhørende \"%c\"" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "uventet EOF mens der ledtes efter \"]]\"" # word A sequence of characters considered as a single unit by the # shell. Also known as a token. # Jeg har valgt udtryk -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "syntaksfejl i betingelsesudtryk: uventet element \"%s\"" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "syntaksfejl i betingelsesudtryk" # word A sequence of characters considered as a single unit by the # shell. Also known as a token. -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "uventet element \"%s\", forventede \")\"" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "forventede \")\"" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "uventet argument \"%s\" til unær betingelsesoperator" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "uventet argument til unær betingelsesoperator" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "uventet udtryk \"%s\", ventede binær betingelsesoperator" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "ventedet binær betingelsesoperator" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "uventet argument \"%s\" til binær betingelsesoperator" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "uventet argument til binær betingelsesoperator" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "uventet udtryk \"%c\" i betingelseskommando" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "uventet udtryk \"%s\" i betingelseskommando" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "uventet udtryk \"%d\" i betingelseskommando" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "syntaksfejl nær uventet udtryk \"%s\"" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "syntaksfejl nær \"%s\"" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "syntaksfejl: uventet slutning pÃ¥ fil" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "syntaksfejl" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Brug \"%s\" for at forlade skallen.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "uventet EOF mens der ledtes efter samhørende \")\"" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: funktion \"%s\" ikke fundet" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: dÃ¥rligt mellemled \"%d\"" -#: print_cmd.c:373 +#: print_cmd.c:375 #, fuzzy, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "%d: ugyldig filbeskrivelse: %s" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: \"%c\": ugyldigt formateringstegn" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "fil-deskriptor uden for interval" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: tvetydig videresendelse" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: kan ikke overskrive eksisterende fil" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: begrænset: kan ikke videresende output" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "kan ikke danne midlertidig fil til here-dokument: %s" -#: redir.c:195 +#: redir.c:196 #, fuzzy, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: kan ikke tildele liste til arrayelementer" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/vært/port ikke understøttet uden netværk" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "videresendelsesfejl: kan ikke duplikere fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "kan ikke finde /tmp, opret venligst mappen!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp skal være et gyldigt mappenavn" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: ugyldigt tilvalg" -#: shell.c:1682 +# Har ladet nodelay stÃ¥, idet jeg gætter pÃ¥ at det er et navn +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "kan ikke nulstille \"nodelay\"-tilstand for fd %d" + +# Har ladet nodelay stÃ¥, idet jeg gætter pÃ¥ at det er et navn +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "kan ikke nulstille \"nodelay\"-tilstand for fd %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: er en mappe" + +#: shell.c:1777 msgid "I have no name!" msgstr "Jeg har ikke noget navn!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, version %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1595,43 +1703,53 @@ msgstr "" "Brug:\t%s [langt GNU-tilvalg] [tilvalg] ...\n" "\t%s [langt GNU-tilvalg] [tilvalg] skript-fil ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Lange GNU-tilvalg:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Skal-tilvalg:\n" -#: shell.c:1835 +#: shell.c:1938 #, fuzzy msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-irsD eller -c kommando eller -O shopt_option\t\t(kun programkald)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\tTilvalg -%s eller -o\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Skriv \"%s -c \"help set\"\" for at fÃ¥ mere information om skaltilvalg.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Skriv \"%s -c help\" for at fÃ¥ mere information om indbyggede " "skalkommandoer.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Brug kommandoen \"bashbug\" til at rapportere fejl.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: ugyldig handling" @@ -1807,88 +1925,104 @@ msgstr "Ukendt signal #" msgid "Unknown Signal #%d" msgstr "Ukendt signal #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "dÃ¥rlig udskiftning: ingen lukkende \"%s\" i %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: kan ikke tildele liste til arrayelementer" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "kan ikke lave datakanal (pipe) til procesudskiftning" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "kan ikke danne underproces til procesudskiftning" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "kan ikke Ã¥bne navngiven datakanal (pipe) %s til læsning" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "kan ikke Ã¥bne navngiven datakanal (pipe) %s til skrivning" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "kan ikke duplikere navngiven datakanal (pipe) %s som %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "dÃ¥rlig udskiftning: ingen lukkende \"`\" i %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "kan ikke danne datakanal (pipe) til kommandoudskiftning" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "kan ikke danne underproces til kommandoudskiftning" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: kan ikke duplikere datakanal (pipe) som fd 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, fuzzy, c-format msgid "%s: invalid variable name for name reference" msgstr "%d: ugyldig filbeskrivelse: %s" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: dÃ¥rlig udskiftning" + +# -c Specify the number of lines read between each call to callback. +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: ugyldigt antal linjer" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "\"%s\": ugyldigt tastetildelingsnavn" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parameter null eller ikke indstillet" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: understreng-udtryk < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: dÃ¥rlig udskiftning" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: kan ikke tildele pÃ¥ denne mÃ¥de" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "dÃ¥rlig udskiftning: ingen lukkende \"`\" i %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "intet match: %s" @@ -1902,39 +2036,39 @@ msgstr "argument forventet" msgid "%s: integer expression expected" msgstr "%s: heltalsudtryk forventet" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "\")\" forventet" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "\")\" forventet, fandt %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: unær operator forventet" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: binær operator forventet" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "manglende \"]\"" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "ugyldigt signalnummer" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: dÃ¥rlig værdi i trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1942,85 +2076,85 @@ msgstr "" "run_pending_traps: signalhÃ¥ndtering er SIG_DFL, gensender %d (%s) til mig " "selv" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: ugyldigt signal %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "fejl under importering af funktionsdefinition for \"%s\"" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "skalniveau (%d) for højt, genindstiller til 1" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%d: ugyldig filbeskrivelse: %s" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: ingen funktionskontekst ved nuværende navneomrÃ¥de" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "%s: kan ikke tildele liste til arrayelementer" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%d: ugyldig filbeskrivelse: %s" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: ingen funktionskontekst ved nuværende navneomrÃ¥de" -#: variables.c:3891 +#: variables.c:4218 #, fuzzy, c-format msgid "%s has null exportstr" msgstr "%s: parameter null eller ikke indstillet" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "ugyldigt tegn %d i exportstr for %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "intet \"=\" i exportstr for %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: hoved af shell_variables er ikke en funktionskontekst" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: ingen global_variables-kontekst" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: hoved af shell_variables er ikke et midlertidigt miljønavnerum" -#: variables.c:5257 +#: variables.c:5619 #, fuzzy, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: kan ikke Ã¥bne: %s" -#: variables.c:5262 +#: variables.c:5624 #, fuzzy, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%d: ugyldig filbeskrivelse: %s" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s udenfor rækkevidde" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "Ophavsret (C) 2009 Free Software Foundation, Inc." #: version.c:47 version2.c:47 @@ -2046,11 +2180,6 @@ msgstr "Dette er fri software; du kan frit ændre eller redistribuere det.\n" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Der er INGEN GARANTI i det omfang loven tillader.\n" -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Ophavsret (C) 2009 Free Software Foundation, Inc." - #: xmalloc.c:91 #, fuzzy, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2071,15 +2200,15 @@ msgstr "xmalloc: %s:%d: kan ikke allokere %lu bytes (%lu bytes allokeret)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "xmalloc: %s:%d: kan ikke allokere %lu bytes" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [navn[=værdi] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] navn [navn ...]" -#: builtins.c:51 +#: builtins.c:53 #, fuzzy msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" @@ -2089,117 +2218,105 @@ msgstr "" "nøglesek] [-x nøglesek:skalkommando] [nøglesek:readline-funktion eller " "readline-kommando]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [shell-builtin [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [expr]" -#: builtins.c:64 +#: builtins.c:66 #, fuzzy msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|-P] [mappe]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] kommando [arg ...]" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFilrtux] [-p] [navn[=værdi] ...]" -#: builtins.c:78 +#: builtins.c:80 #, fuzzy -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-aAfFilrtux] [-p] navn[=værdi] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [tilvalg] navn[=værdi] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f filnavn] [navn ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts tilvalgsstreng navn [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a navn] [kommando [argumenter ...]] [videresendelse ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" # pat=rep betyder højst sandsynligt mønster=regulært udtryk, men jeg kan ikke finde pÃ¥ nogen 3-bogstavsudtryk som jeg man bruge for de to ting, som jeg synes er let forstÃ¥elige derfor har jeg ladet dem stÃ¥ -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e ename] [-lnr] [første] [sidste] eller fc -s [pat=rep] [kommando]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [job_spec]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [job_spec ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p stinavn] [-dt] [navn ...]" -#: builtins.c:117 +#: builtins.c:119 #, fuzzy msgid "help [-dms] [pattern ...]" msgstr "help [-ds] [mønster ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2207,15 +2324,16 @@ msgstr "" "history [-c] [-d forskydning] [n] eller history -anrw [filnavn] eller " "history -ps arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [jobspec ...] eller jobs -x kommando [arger]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [jobspec ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2223,11 +2341,11 @@ msgstr "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... eller kill -l " "[sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 #, fuzzy msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " @@ -2236,105 +2354,101 @@ msgstr "" "read [-ers] [-a array] [-d adskil] [-i tekst] [-n ntegn] [-p prompt] [-t " "tidsgrænse] [-u fd] [navn ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 #, fuzzy msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [--abefhkmnptuvxBCHP] [-o tilvalgsnavn] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [navn ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [navn[=værdi] ...] eller export -p" -#: builtins.c:146 +#: builtins.c:148 #, fuzzy msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-af] [navn[=værdi] ...] eller readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source filnavn [argumenter]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". filnavn [argumenter]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [udtryk]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] signal_spec ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] navn [navn ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "ulimit [-SHacdefilmnpqrstuvx] [grænse]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [tilstand]" -#: builtins.c:175 +#: builtins.c:177 #, fuzzy msgid "wait [-n] [id ...]" msgstr "wait [id]" -#: builtins.c:179 +#: builtins.c:181 #, fuzzy msgid "wait [pid ...]" msgstr "wait [id]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NAVN [in ORD ... ] ; do KOMMANDOER; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( udtryk1; udtryk2; udtryk3 )); do KOMMANDOER; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NAVN [in ORD ... ;] do KOMMANDOER; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] datakanal" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case ORD in [MØNSTER [| MØNSTER]...) KOMMANDOER ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2342,63 +2456,63 @@ msgstr "" "if KOMMANDOER; then KOMMANDOER; [ elif KOMMANDOER; then KOMMANDOER; ]... " "[ else KOMMANDOER; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while KOMMANDOER; do KOMMANDOER; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until KOMMANDOER; do KOMMANDOER; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NAVN] kommando [videresendelser]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function navn { KOMMANDOER ; } eller navn () { KOMMANDOER ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ KOMMANDOER ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( udtryk ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ udtryk ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - Navn og betydning af nogle skalvariable" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | mappe]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [indstnavn ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] format [argumenter]" -#: builtins.c:229 +#: builtins.c:231 #, fuzzy msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" @@ -2409,29 +2523,31 @@ msgstr "" "globmønst] [-W ordliste] [-F funktion] [-C kommando] [-X filtermønst] [-P " "præfiks] [-S suffiks] [navn ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o valgmuligheder] [-A handling] [-G globmønst] [-" "W ordliste] [-F funktion] [-C kommando] [-X filtermønst] [-P præfiks] [-S " "suffiks] [ord]" -#: builtins.c:237 +#: builtins.c:239 #, fuzzy msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o valgmulighed] [navn ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" "mapfile [-n antal] [-O oprindelse] [-s antal] [-t] [-u fd] [-C tilbagekald] " "[-c kvantum] [array]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2439,7 +2555,8 @@ msgstr "" "readarray [-n antal] [-O oprindelse] [-s antal] [-t] [-u fd] [-C " "tilbagekald] [-c kvantum] [array]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2451,7 +2568,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2475,12 +2592,13 @@ msgstr "" " alias returnerer sand med mindre der gives et NAVN som der ikke er\n" " defineret noget alias for." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2491,7 +2609,7 @@ msgstr "" " \n" " Returner succes med mindre et NAVN ikke er et eksisterende alias." -#: builtins.c:289 +#: builtins.c:291 #, fuzzy msgid "" "Set Readline key bindings and variables.\n" @@ -2526,7 +2644,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2573,7 +2692,7 @@ msgstr "" "der\n" " opstÃ¥r en fejl." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2592,7 +2711,7 @@ msgstr "" " Afslutningsstatussen er 0 med mindre N ikke er større end eller lig med " "1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2612,7 +2731,7 @@ msgstr "" " Afslutningsstatussen er 0 med mindre N ikke er større end eller lig med " "1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2639,7 +2758,7 @@ msgstr "" "hvis\n" " SKAL-INDBYGGET ikke er en skal-indbygget.." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2668,7 +2787,7 @@ msgstr "" "hvis\n" " UDTRYK er ugyldigt." -#: builtins.c:385 +#: builtins.c:387 #, fuzzy msgid "" "Change the shell working directory.\n" @@ -2692,16 +2811,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2739,13 +2858,14 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer 0 hvis mappen ændres, ellers noget forskellig fra 0." -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2767,7 +2887,7 @@ msgstr "" "den\n" " aktuelle mappe ikke kan læses." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2783,7 +2903,7 @@ msgstr "" " Afslutningsstatus:\n" " Afsluttes altid succesfuldt." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2795,7 +2915,7 @@ msgstr "" " Afslutningsstatus:\n" " Afsluttes altid succesfuldt." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2807,7 +2927,8 @@ msgstr "" " Afslutningsstatus:\n" " Afsluttes altid mislykket." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2817,10 +2938,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2844,7 +2965,7 @@ msgstr "" " Returnerer afslutningsstatus fra KOMMANDO eller mislykket hvis KOMMANDO\n" " ikke findes." -#: builtins.c:487 +#: builtins.c:490 #, fuzzy msgid "" "Set variable values and attributes.\n" @@ -2855,9 +2976,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2921,17 +3042,18 @@ msgstr "" "hvis\n" " der opstÃ¥r en fejl." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Indstil variabelværdier og -attributter.\n" " \n" " Forældet. Læs i \"help declare\"." -#: builtins.c:535 +#: builtins.c:538 #, fuzzy msgid "" "Define local variables.\n" @@ -2960,7 +3082,7 @@ msgstr "" " Returnerer succes med mindre der angives et ugyldigt tilvalg, hvis der\n" " opstÃ¥r en fejl, eller hvis skallen ikke eksekverer en funktion." -#: builtins.c:552 +#: builtins.c:555 #, fuzzy msgid "" "Write arguments to the standard output.\n" @@ -2987,9 +3109,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -3024,7 +3146,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer succes med mindre der opstÃ¥r en skrivefejl." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3046,7 +3168,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer succes med mindre der opstÃ¥r en skrivefejl." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3101,7 +3223,7 @@ msgstr "" " Returnerer succes med mindre NAVN ikke er en skal-indbygget eller hvis\n" " der opstÃ¥r en fejl." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3123,7 +3245,7 @@ msgstr "" "er\n" " null." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3203,7 +3325,8 @@ msgstr "" " Returnerer succes hvis et tilvalg findes, fejler hvis afslutningen\n" " af tilvalgene nÃ¥s eller hvis der opstÃ¥r en fejl." -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -3214,8 +3337,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3246,7 +3369,7 @@ msgstr "" "der\n" " opstÃ¥r en omdirigeringsfejl." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3258,7 +3381,7 @@ msgstr "" " Afslut skallen med status N. Hvis N udelades vil afslutningsstatus\n" " blive den samme som sidst eksekverede kommando." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3272,7 +3395,7 @@ msgstr "" "hvis\n" " den ikke eksekveres i en logindskal." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3333,7 +3456,7 @@ msgstr "" "hvis\n" " der opstod en fejl." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3356,7 +3479,7 @@ msgstr "" "der\n" " opstÃ¥r fejl." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3381,7 +3504,7 @@ msgstr "" "hvis\n" " der opstÃ¥r en fejl." -#: builtins.c:784 +#: builtins.c:787 #, fuzzy msgid "" "Remember or display program locations.\n" @@ -3391,15 +3514,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3426,7 +3549,8 @@ msgstr "" "angives\n" " et ugyldig tilvalg." -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3438,7 +3562,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3467,7 +3591,8 @@ msgstr "" " Returnerer succes med mindre MØNSTER ikke kan findes, eller hvis der\n" " angives et ugyldigt tilvalg." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3476,23 +3601,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3535,7 +3660,7 @@ msgstr "" "hvis\n" " der opstÃ¥r en fejl." -#: builtins.c:869 +#: builtins.c:872 #, fuzzy msgid "" "Display status of jobs.\n" @@ -3546,7 +3671,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3585,7 +3710,8 @@ msgstr "" "der\n" " opstÃ¥r en fejl. Hvis -x bruges returneres afslutningsstatus for KOMMANDO." -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3595,7 +3721,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3616,7 +3742,8 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer succes med mindre et ugyldigt tilvalg eller JOBSPEC angives." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3628,7 +3755,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3662,7 +3790,7 @@ msgstr "" "der\n" " opstÃ¥r en fejl." -#: builtins.c:938 +#: builtins.c:942 #, fuzzy msgid "" "Evaluate arithmetic expressions.\n" @@ -3749,7 +3877,7 @@ msgstr "" " Hvis det sidste ARG evalueres til 0, vil \"let\" returnere 1, ellers\n" " returneres 0." -#: builtins.c:983 +#: builtins.c:987 #, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" @@ -3771,27 +3899,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3845,7 +3974,7 @@ msgstr "" "indtræffer,\n" " eller hvis en ugyldig fildeskriptor gives som argument til -u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3870,7 +3999,7 @@ msgstr "" "en\n" " funktion eller et skript." -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3939,7 +4068,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -4054,7 +4184,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer succes med mindre der angives et ugyldigt tilvalg." -#: builtins.c:1126 +#: builtins.c:1132 #, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" @@ -4065,7 +4195,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4096,7 +4226,7 @@ msgstr "" "et\n" " givent navn er skrivebeskyttet." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4132,7 +4262,7 @@ msgstr "" " Returnerer succes med mindre der angives et ugyldigt tilvalg eller hvis\n" " NAVN er ugyldig." -#: builtins.c:1167 +#: builtins.c:1173 #, fuzzy msgid "" "Mark shell variables as unchangeable.\n" @@ -4145,9 +4275,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4173,7 +4302,7 @@ msgstr "" " Returnerer succes med mindre der angives et ugyldigt tilvalg eller hvis\n" " NAVN er ugyldigt." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4192,7 +4321,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer succes med mindre N er negativ eller større end $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4218,7 +4347,7 @@ msgstr "" "hvis\n" " FILNAVN ikke kan læses." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4245,7 +4374,7 @@ msgstr "" "der\n" " opstÃ¥r en fejl." -#: builtins.c:1248 +#: builtins.c:1254 #, fuzzy msgid "" "Evaluate conditional expression.\n" @@ -4310,9 +4439,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4407,7 +4536,7 @@ msgstr "" " Returnerer succes hvis UDTRYK evalueres til sand, og fejler hvis UDTRYK\n" " evalueres til falsk eller hvis der gives et ugyldigt argument." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4420,7 +4549,7 @@ msgstr "" "sidste\n" " argument skal være \"]\", for at den passer til den Ã¥bnende \"[\"." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4440,7 +4569,7 @@ msgstr "" " Afslutningsstatus:\n" " Lykkes altid." -#: builtins.c:1350 +#: builtins.c:1357 #, fuzzy msgid "" "Trap signals and other events.\n" @@ -4521,7 +4650,8 @@ msgstr "" "angivet\n" " et ugyldigt tilvalg." -#: builtins.c:1386 +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -4530,18 +4660,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4583,7 +4713,7 @@ msgstr "" "enkelt\n" " ikke findes." -#: builtins.c:1417 +#: builtins.c:1424 #, fuzzy msgid "" "Modify shell resource limits.\n" @@ -4602,6 +4732,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4613,7 +4744,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4677,7 +4809,7 @@ msgstr "" "der\n" " opstÃ¥r en fejl." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4715,7 +4847,7 @@ msgstr "" "ugyldigt\n" " tilvalg angives." -#: builtins.c:1485 +#: builtins.c:1494 #, fuzzy msgid "" "Wait for job completion and return exit status.\n" @@ -4750,7 +4882,7 @@ msgstr "" "angives\n" " et ugyldigt tilvalg." -#: builtins.c:1506 +#: builtins.c:1515 #, fuzzy msgid "" "Wait for process completion and return exit status.\n" @@ -4776,7 +4908,7 @@ msgstr "" " Returnerer statussen for ID, fejler hvis ID er ugyldig eller hvis der\n" " angives et ugyldigt tilvalg." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4801,7 +4933,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer statussen for den sidst eksekverede kommando." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4831,7 +4963,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer afslutningsstatussen for den sidst eksekverede kommando." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4869,7 +5001,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer statussen fra den sidst eksekverede kommando." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4898,7 +5030,7 @@ msgstr "" " Afslutningsstatus:\n" " Afslutningsstatus er afslutningsstatus for DATAKANAL." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4917,7 +5049,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer statussen fra den sidst eksekverede kommando." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4956,7 +5088,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer statussen fra den sidst eksekverede kommando." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4974,7 +5106,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer statussen fra den sidst eksekverede kommando." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4992,7 +5124,8 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer statussen fra den sidst eksekverede kommando." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -5002,7 +5135,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Opret en coproces ved navn NAVN.\n" " \n" @@ -5015,7 +5148,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer afslutningsstatussen for KOMMANDO." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -5039,7 +5172,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer succes med mindre NAVN er skrivebeskyttet." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -5057,7 +5190,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer statussen fra den sidst eksekverede kommando." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -5084,7 +5217,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer statussen af det genoptagede job." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -5103,7 +5236,7 @@ msgstr "" " Afslutningsstatus:\n" " Returnerer 1 hvis udtrykket evalueres til 0, ellers returneres 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5158,7 +5291,7 @@ msgstr "" " Afslutningsstatus:\n" " 0 eller 1 afhængigt af udtrykkets værdi." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5271,7 +5404,8 @@ msgstr "" " HISTIGNORE\tEn kolonsepareret liste af mønstre som bliver brugt til at\n" " \t\tbestemme hvilke kommandoer der skal gemmes i historikken.\n" -#: builtins.c:1794 +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -5281,19 +5415,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5330,7 +5464,8 @@ msgstr "" "hvis\n" " mappeskiftet mislykkes." -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -5339,16 +5474,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5384,7 +5519,8 @@ msgstr "" "hvis\n" " mappeskiftet mislykkes." -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -5395,19 +5531,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5438,7 +5574,7 @@ msgstr "" "der\n" " opstÃ¥r en fejl." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5479,7 +5615,7 @@ msgstr "" "et\n" " ugyldigt tilvalg eller hvis INDSTNAVN er deaktiveret." -#: builtins.c:1908 +#: builtins.c:1919 #, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" @@ -5497,15 +5633,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5546,7 +5682,7 @@ msgstr "" "hvis\n" " der opstÃ¥r en skrive- eller tildelingsfejl." -#: builtins.c:1942 +#: builtins.c:1953 #, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" @@ -5560,11 +5696,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5594,7 +5730,7 @@ msgstr "" "hvis\n" " der opstÃ¥r en fejl." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5619,7 +5755,7 @@ msgstr "" " der opstÃ¥r en fejl." # Fejlrapport -#: builtins.c:1985 +#: builtins.c:1996 #, fuzzy msgid "" "Modify or display completion options.\n" @@ -5681,7 +5817,7 @@ msgstr "" "hvis\n" " der ikke er defineret en fuldførselsspecifikation for NAVN." -#: builtins.c:2015 +#: builtins.c:2026 #, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" @@ -5693,20 +5829,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5759,7 +5896,7 @@ msgstr "" "hvis\n" " ARRAY er skrivebeskyttet." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5769,6 +5906,26 @@ msgstr "" " \n" " Et synonym for \"mapfile\"." +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Ophavsret (C) 2009 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#, fuzzy +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Ophavsret (C) 2009 Free Software Foundation, Inc." + #, fuzzy #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Ophavsret (C) 2009 Free Software Foundation, Inc." diff --git a/po/de.gmo b/po/de.gmo index c381b93af..887bdc7b1 100644 Binary files a/po/de.gmo and b/po/de.gmo differ diff --git a/po/de.po b/po/de.po index 0d2804005..689eba6eb 100644 --- a/po/de.po +++ b/po/de.po @@ -1,89 +1,95 @@ -# German language file for GNU Bash 4.3 +# German language file for GNU Bash 4.4-beta1 # Copyright (C) 2011 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. -# Nils Naumann , 1996-2013. +# Nils Naumann , 1996-2016. msgid "" msgstr "" -"Project-Id-Version: bash 4.3-rc2\n" +"Project-Id-Version: bash 4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-02-02 18:23+0100\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2016-08-27 15:19+0200\n" "Last-Translator: Nils Naumann \n" "Language-Team: German \n" -"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" +"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "Falscher Feldbezeichner." -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: Kann nicht das indizierte in ein assoziatives Array umwandeln." -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: Ungültiger Schlüssel für das assoziative Array." -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: Kann nicht auf einen nicht-numerischen Index zuweisen." -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" "%s: %s: Ein Feldbezeicher wird zum Zuweisen eines assoziativen Arrays " "benötigt." -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: Kann die Datei %s nicht erzeugen." -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: Kann nicht die Tastenzuordnung für das Kommando " "finden." -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr " %s: Das erste Zeichen ist nicht `\\'." -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "fehlende schließende `%c' in %s." -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: Fehlender Doppelpunkt." -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "Klammererweiterung: Konnte keinen Speicher für %s zuweisen." -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" -msgstr "" +msgstr "Klammererweiterung: Konnte für %d Elemente keinen Speicher zuweisen." -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "" +msgstr "Klammererweiterung: Konnte keinen Speicher für `%s' zuweisen." -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "`%s': Ungültiger Alias Name." @@ -92,348 +98,377 @@ msgstr "`%s': Ungültiger Alias Name." msgid "line editing not enabled" msgstr "Zeileneditierung ist nicht aktiviert." -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "`%s': Ungültiger KEYMAP Name." -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: Nicht lesbar: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "`%s': Bindung kann nicht gelöst werden." -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "%s: Unbekannter Funktionsname." -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s ist keiner Taste zugeordnet.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s kann aufgerufen werden durch " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "Schleifen Zähler" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "nur in einer `for', `while' oder `until' Schleife sinnvoll." # Problem mit Extraktion des Strings -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" " Without EXPR, returns " msgstr "" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME ist nicht zugewiesen." -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "Zu viele Argumente." -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "kein anderes Verzeichnis" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD ist nicht zugewiesen." # Debug Ausgabe -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "Zeile %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "Warnung: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " -msgstr "%s: Gebrauch: " +msgstr "%s: Aufruf: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" -msgstr "%s: Ein numerischer Paremeter ist erforderlich." +msgstr "%s: Die Option erfordert ein Argument." -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: Ein numerischer Parameter ist erforderlich." -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: Nicht gefunden." -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: Ungültige Option" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: Ungültiger Optionsname." -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': Ist kein gültiger Bezeichner." -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "Ungültige Oktalzahl." -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "Ungültige hexadezimale Zahl." -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "Ungültige Zahl." -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: Ungültige Signalbezeichnung." -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "`%s': Ist keine gültige Prozess- oder Jobbezeichnung." -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: Schreibgeschützte Variable." -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s ist außerhalb des Gültigkeitsbereiches." -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "Argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s ist außerhalb des Gültigkeitsbereiches." -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: Kein solcher Job." -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: Keine Job Steuerung in dieser Shell." -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "Keine Job Steuerung in dieser Shell." -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: gesperrt" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "gesperrt" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: Ist kein Shell Kommando." -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "Schreibfehler: %s." -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "Fehler beim Setzen der Terminalattribute: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "Fehler beim Ermitteln der Terminalattribute: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: Kann das aktuelle Verzeichnis nicht wiederfinden: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: Mehrdeutige Job Bezeichnung." -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "In dieser Version ist keine Hilfe verfügbar." + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: Ungültige Methode." -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: Keine Komplettierung angegeben." -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "Warnung: Die -F Option könnte unerwartete Ergebnisse liefern." -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "Warnung: Die -C Option könnte unerwartete Ergebnisse liefern." -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "Gegenwärtig wird keine Komplettierungsfunktion ausgeführt." -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "kann nur innerhalb einer Funktion benutzt werden." -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "`%s': Ungültiger Variablenname." + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "Mit `-f' können keine Funktionen erzeugt werden." -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: Schreibgeschützte Funktion." -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: Kann Feldvariablen nicht auf diese Art löschen." -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "" "%s: Konvertieren von assoziativen in indizierte Arrays ist nicht möglich." -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "Dynamisches Laden ist nicht verfügbar." -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "Kann die dynamische Bibiliothek nicht laden %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "Kann %s nicht in der dynamischen Bibiliothek finden %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: Ist nicht dynamisch geladen." -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: Kann nicht löschen: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: ist ein Verzeichnis." -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: Ist keine normale Datei." -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: Die Datei ist zu groß." -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: Kann die Datei nicht ausführen." -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: Kann nicht ausführen: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "Abgemeldet\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "Keine Login Shell: Mit `exit' abmelden!" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Es gibt noch angehaltene Prozesse.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Es gibt noch laufende Prozesse.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "Kein Kommando gefunden." -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: Kann die tempräre Datei nicht öffnen: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "gegenwärtig" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "Job %d wurde ohne Jobsteuerung gestartet." @@ -452,24 +487,24 @@ msgstr "%s: Diese Option erfordert ein Argument -- %c\n" msgid "hashing disabled" msgstr "Hashing deaktiviert." -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: Die Hashtabelle ist leer.\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "Treffer\tBefehl\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Shell Kommandos auf die das Schlüsselwort zutrifft `" msgstr[1] "Shell Kommandos auf die die Schlüsselwörter zutreffen `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -477,12 +512,12 @@ msgstr "" "Auf `%s' trifft kein Hilfethema zu. Probieren Sie `help help', `man -k %s' " "oder `info %s'." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: Kann die Datei nicht öffnen: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -502,15 +537,20 @@ msgstr "" "Ein Stern (*) neben dem Namen kennzeichnet deaktivierte Kommandos.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "Es darf nur eine Option aus -anrw angegeben werden." -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "Kommandostapelposition." -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: Ungültiges Argument." + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: Kommandoersetzung gescheitert." @@ -524,113 +564,113 @@ msgstr "%s: inlib gescheitert." msgid "no other options allowed with `-x'" msgstr "Keine weiteren Optionen mit `-x' erlaubt." -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: Die Argumente müssen Prozess- oder Jobbezeichnungen sein." -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Unbekannter Fehler." -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "Ausdruck erwartet." -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: Ist kein indiziertes Array." -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: Ungültige Datei-Deskriptor Angabe." -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: Ungültiger Datei-Deskriptor: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: Ungültige Zeilenanzahlangabe." -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: Ungültiger Zeilenindex für den Array Beginn." -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "Fehlender Name für die Array Variable." -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "Die Array Variablen Unterstützung ist in dieser Shell nicht vorhanden." -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "`%s': Fehlendes Formatierungszeichen." -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "`%c': Ungültige Zeitformatangabe." -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "`%c': Ungültiges Formatierungszeichen." -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "Warnung: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "Formatleseproblem: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "Fehlende hexadezimale Ziffer nach \\x." -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "Fehlendes Unicode Zeichen für \\%c." -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "kein anderes Verzeichnis" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: Ungültiges Argument." -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "Der Verzeichnisstapel ist leer." -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "Verzeichnisstapelindex" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -672,7 +712,7 @@ msgstr "" "\t-N\tZeigt den N'ten Eintrag von rechts an, der von »dirs« ausgegeben\n" "\twird, wenn es ohne Optionen aufgerufen wird, beginnend mit Null." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -718,7 +758,7 @@ msgstr "" " \n" " Das `dirs' Kommando zeigt den Verueichnisstapel an." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -759,147 +799,157 @@ msgstr "" " \n" " Das `dirs' Kommando zeigt den Verzeichnisstapel an." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: Ungültige Wartezeitangebe." -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "Lesefehler: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" -"»Return« ist nur aus einer Funktion oder einem mit »source« ausgefühten " -"Skript möglich." +"»Return« ist nur aus einer Funktion oder einem mit »source« ausgefühten Skript " +"möglich." -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "" "Gleichzeitiges `unset' einer Funktion und einer Variable ist nicht möglich." -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: `unset' nicht möglich." -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: `unset' nicht möglich: Schreibgeschützt %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: Ist keine Feldvariable." -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: Ist keine Funktion." -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: exportieren nicht möglich." + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "Verschiebezähler" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "Kann nicht Shell Optinen gleichzeitig aktivieren und deaktivieren." -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: Ungültiger Shell Optionen Name." -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "Ein Dateiname wird as Argument benötigt." -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: Datei nicht gefunden." -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "Kann die Shell nicht unterbrechen." # logout -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "Kann die Loginshell nicht unterbrechen." -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s ist ein Alias von `%s'.\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s Ist ein reserviertes Schlüsselwort der Shell.\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s ist eine Funktion.\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s ist eine spezielle eingebaute Funktion.\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s ist eine von der Shell mitgelieferte Funktion.\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s ist %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: Ungültiges Grenzwertargument." -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': Falsches Kommando." -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: Kann die nicht Grenze setzen: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "Grenze" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: Kann die Grenze nicht ändern: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "Oktalzahl" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "`%c': Ungültiger Operator für den symbolischen Modus." -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "`%c': Ungültiges Zeichen im symbolischen Modus." -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " Zeile " @@ -913,83 +963,104 @@ msgstr "Letztes Kommando: %s\n" msgid "Aborting..." msgstr "Abbruch..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "Unbekanntes Kommando" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "" # Programmierfehler -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "Falscher Sprung" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s ist nicht gesetzt." -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aZu lange keine Eingabe: Automatisch ausgeloggt.\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "Kann nicht die Standardeingabe von /dev/null umleiten: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: `%c': Ungültiges Formatzeichen." -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "Pipe-Fehler" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: Maximale Schachtelungstiefe überschritten (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: Maximale Quellcode Schachtelungstiefe überschritten (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" -msgstr "" +msgstr "%s: maximale Funkrionsschachtelungstiefe überschritten (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: Verboten: `/' ist in Kommandonamen unzulässig." -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: Kommando nicht gefunden." -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: Defekter Interpreter" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: Kann die Binärdatei nicht ausführen: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "`%s' ist eine spezielle eingebaute Funktion." -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "Kann fd %d nicht auf fd %d verdoppeln." @@ -1035,37 +1106,37 @@ msgstr "" msgid "missing `)'" msgstr "Fehlende `)'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "Syntax Fehler: Operator erwartet." -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "Syntaxfehler: Ungültiger arithmetischer Operator." -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (Fehlerverursachendes Zeichen ist \\\"%s\\\")." -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "Ungültige Basis." -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "Der Wert ist für die aktuelle Basis zu groß." -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: Fehler im Ausdruck.\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getwd: Kann auf das übergeordnete Verzeichnis nicht zugreifen." -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "Konnte den No-Delay Modus für fd %d nicht wieder herstellen." @@ -1081,154 +1152,154 @@ msgstr "Kann keinen neuen Filedeskriptor für die Eingabe von fd %d zuweisen." msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: Es existiert bereits ein Puffer für den neuen fd %d." -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "Die geforkte PID %d erscheint im laufenden Prozess %d." -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "Lösche den gestoppten Prozess %d der Prozessgruppe %ld." -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "" # Programmierfehler -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: Prozeßnummer existiert nicht." -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Fertig" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Angehalten" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Angehalten(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Läuft" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Fertig(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Exit %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Unbekannter Status" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(Speicherabzug geschrieben) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" # interner Fehler -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: Prozeß %ld wurde nicht von dieser Shell gestartet." -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" -msgstr "" +msgstr "wait_for_job: Der Job %d ist gestoppt." -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" -msgstr "%s: Programm ist beendet." +msgstr "%s: Der Job ist beendet." -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" -msgstr "" +msgstr "%s: Der Job %d läuft bereits im Hintergrund." -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" # Debug Ausgabe -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: Zeile %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (Speicherabzug geschrieben)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(gegenwärtiges Arbeitsverzeichnis ist: %s)\n" # interner Fehler -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_jobs: getpgrp war nicht erfolgreich." # interner Fehler -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: line discipline" # interner Fehler -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "Kann die Prozessgruppe des Terminals nicht setzen (%d)." -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "Keine Job Steuerung in dieser Shell." @@ -1284,20 +1355,20 @@ msgstr "" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: Beginn und Ende Segmentgrößen sind unterschiedlich.<" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "" "register_alloc: Speicherzuordnungstabelle ist mit FIND_ALLOC gefüllt?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "" "register_alloc: %p ist bereits in der Speicherzuordnungstabelle als belegt " "gekennzeichnet?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "" @@ -1323,7 +1394,7 @@ msgstr "%s: unbekannter Dienst." msgid "%s: bad network path specification" msgstr "%s: Fehlerhafte Netzwerkspfadangabe." -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "Der Netzwerkbetrieb ist nicht unterstützt." @@ -1361,270 +1432,315 @@ msgstr "Sie haben neue Post in $_." msgid "The mail in %s has been read\n" msgstr "Die Post in %s wurde bereits gelesen.\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "Syntaxfehler: Es wird ein arithmetischer Ausdruck benötigt." -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "Syntax Fehler: unerwartetes `;'." -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "Syntax Fehler: `((%s))'." # interner Fehler -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: Falscher Befehlstyp %d." -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" "Das in der Zeile %d beginnende Here-Dokument geht bis zum Dateiende " "(erwartet wird `%s')." -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "Dateiende beim Suchen nach `%c' erreicht." -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "Dateiende beim Suchen nach `]]' erreicht." -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "Syntaxfehler im bedingten Ausdruck: Unerwartetes Zeichen `%s'." -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "Syntaxfehler im bedingen Ausdruck." -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "Unerwartetes Zeichen: `%s' anstatt von `)'" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "`)' erwartet." -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "Syntaxfehler beim unerwarteten Wort `%s'" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "Syntaxfehler beim unerwarteten Wort `%s'" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "Syntax Fehler: Unerwartetes Dateiende." -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "Syntax Fehler" # Du oder Sie? -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Benutze \"%s\" um die Shell zu verlassen.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "Dateiende beim Suchen nach passender `)' erreicht." -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: Falsches Verbindungszeichen `%d'." -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: Ungültige Dateibeschreibung." -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: Mehrdeutige Umlenkung." -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: Kann existierende Datei nicht überschreiben." -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: Gesperrt: Die Ausgabe darf nicht umgeleitet werden." -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" -msgstr "" +msgstr "Kann die temporäre Datei für das Hier Dokument nicht anlegen: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: Kann fd keiner Variable zuweisen." -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port Wird ohne Netzwerk nicht unterstützt" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "Konnte das /tmp Verzeichnis nicht finden, bitte anlegen." -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp muß ein gültiger Verzeichnisname sein." -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: Ungültige Option" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "Konnte nicht die uid in %d ändern: Die geltende uid ist %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "Konnte nicht die gid in %d ändern: Die geltende gid ist %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: Ist ein Verzeichnis." + +#: shell.c:1777 msgid "I have no name!" msgstr "Ich habe keinen Benutzernamen!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, Version %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" msgstr "" -"Benutzung:\t%s [Lange GNU Option] [Option] ...\n" +"Aufruf:\t%s [Lange GNU Option] [Option] ...\n" "\t\t%s [Lange GNU Option] [Option] Script-Datei ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Lange GNU Optionen:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Shell-Optionen:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "" "\t-ilrsD oder -c Kommando\toder -O shopt_option (Nur Aufruf)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s oder Option -o\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "`%s -c \"help set\"' für mehr Informationen über Shell-Optionen.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "`%s -c help' für mehr Information über Shell-Kommandos.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Mit dem `bashbug' Kommando können Fehler gemeldet werden.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "Bash Homepage: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "Allgemeine Hilfe für GNU Software: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: Ungültige Operation" @@ -1798,79 +1914,94 @@ msgstr "Unbekannte Signalnummer." msgid "Unknown Signal #%d" msgstr "Unbekanntes Signal Nr.: %d." -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "Falsche Ersetzung: Keine schließende `%s' in `%s' enthalten." -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: Kann einem Feldelement keine Liste zuweisen." -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "Kann keine Pipe für die Prozeßersetzung erzeugen." -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "Kann den Kindsprozess für die Prozeßersetzung nicht erzeugen." -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "Kann nicht die benannte Pipe %s zum lesen öffnen." -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "Kann nicht die benannte Pipe %s zum schreiben öffnen." -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "Kann die benannte Pipe %s nicht auf fd %d." -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "Falsche Ersetzung: Keine schließende \"`\" in %s." + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "Kann keine Pipes für Kommandoersetzung erzeugen." -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "Kann keinen Unterprozess für die Kommandoersetzung erzeugen." # interner Fehler -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "Kommandoersetzung: Kann Pipe nicht als fd 1 duplizieren." -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: Falsche Variablenersetzung." + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: Ungültige indirekte Expansion" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "`%s': Ungültiger Variablenname." + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: Parameter ist Null oder nicht gesetzt." # interner Fehler -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: Teilstring-Ausdruck < 0." -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: Falsche Variablenersetzung." - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: Kann so nicht zuweisen." -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1878,12 +2009,12 @@ msgstr "" "Zukünftige Versionen dieser Shell werden das Auswerten arithmetischer " "Ersetzungen erzwingen." -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "Falsche Ersetzung: Keine schließende \"`\" in %s." -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "Keine Entsprechung: %s" @@ -1897,123 +2028,124 @@ msgstr "Argument erwartet." msgid "%s: integer expression expected" msgstr "%s: Ganzzahliger Ausdruck erwartet." -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "`)' erwartet." -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "`)' erwartet, %s gefunden." -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: Einstelliger (unärer) Operator erwartet." -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: Zweistelliger (binärer) Operator erwartet." -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "Fehlende `]'" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "Ungültige Signalnummer." -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" # Programmierfehler -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: Falsches Signal %d." -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "Fehler beim Importieren der Funktionsdefinition für `%s'." -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: Der Variable könnte kein Wert zugewiesen sein." -#: variables.c:3646 +#: variables.c:3043 +#, c-format +msgid "%s: assigning integer to name reference" +msgstr "" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: Kann nicht als Datei geöffnet werden." -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: Kompatibilitätswert außerhalb des Gültigkeitsbereiches." -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright (C) 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2015 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2034,13 +2166,7 @@ msgstr "Dies ist freie Software. Sie darf verändert und verteilt werden." #: version.c:92 version2.c:92 msgid "There is NO WARRANTY, to the extent permitted by law." -msgstr "" -"Für den größtmöglichen gesetzlich zulässigen Umfang wird jede Haftung " -"ausgeschlossen." - -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2012 Free Software Foundation, Inc." +msgstr "Es wird keine Garantie gewährt, soweit das Gesetz es zulässt." #: xmalloc.c:91 #, c-format @@ -2062,15 +2188,15 @@ msgstr "%s: %s:%d: Konnte nicht %lu Bytes reservieren (%lu bytes reserviert)." msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: Konnte nicht %lu Bytes reservieren." -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [Name[=Wert] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] Name [Name ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -2079,114 +2205,102 @@ msgstr "" "Name] [-r Tastenfolge] [-x Tastenfolge:Shell Kommando] [Tastenfolge:readline " "Funktion oder Kommando]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [Shellkommando [Argument ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [Ausdruck]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]] [-@]] [Verzeichnis]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] Kommando [Argument ...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "declare [-aAfFgilrntux] [-p] Variable[=Wert] ..." +msgstr "declare [-aAfFgilrntux] [-p] Name[=Wert] ..." # -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] Name[=Wert] ..." - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] Name[=Wert] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [Option] Name[=Wert] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [Argument ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [Argument ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f Dateiname] [Name ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [Argument ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts Optionen Variable [Argumente]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a Name] [Kommando [Argumente ...]] [Umleitung ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e Editor] [-lnr] [Anfang] [Ende] oder fc -s [Muster=Ersetzung] " "[Kommando]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [Jobbezeichnung]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [Jobbezeichnung ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p Pfadname] [-dt] [Name ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [Muster ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2194,15 +2308,16 @@ msgstr "" "history [-c] [-d Offset] [n] oder history -anrw [Dateiname] oder history -ps " "Argument [Argument...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [Jobbez. ...] or jobs -x Kommando [Arg]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [Jobbezeichnung ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2210,11 +2325,11 @@ msgstr "" "kill [-s Signalname | -n Signalnummer | -Signalname] [pid | job] ... oder " "kill -l [Signalname]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let Argument [Argument ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2222,99 +2337,95 @@ msgstr "" "read [-ers] [-a Feld] [-d Begrenzer] [-i Text] [-n Zeichenanzahl] [-N " "Zeichenanzahl] [-p Prompt] [-t Zeitlimit] [-u fd] [Name ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o Option] [--] [Argument ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [NAME ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [Name[=Wert] ...] oder export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [Name[=Wert] ...] oder readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source Dateiname [Argumente]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". Dateiname [Argumente]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [Ausdruck]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ Argument... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[Argument] Signalbezeichnung ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] Name [Name ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [Grenzwert]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [Grenze]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [Modus]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [id ...]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [pid ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for Name [in Wortliste ... ] ; do Kommandos; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( Ausdr1; Ausdr2; Ausdr3 )); do Kommandos; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select Name [in Wortliste ... ;] do Kommandos; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] Pipeline" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case Wort in [Muster [| Muster]...) Kommandos ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2322,63 +2433,63 @@ msgstr "" "if Kommandos; then Kommandos; [ elif Kommandos; then Kommandos; ]... [ else " "Kommandos; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while Kommandos; do Kommandos; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until Kommandos; do Kommandos; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [Name] Kommando [Umleitungen]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function Name { Kommandos ; } oder Name () { Kommandos ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ Kommandos ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "Jobbezeichnung [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( Ausdruck ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ Ausdruck ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - Namen und Bedeutung einiger Shell Variablen" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | Verzeichnis]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [Optionsname ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] Format [Argumente]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2388,28 +2499,28 @@ msgstr "" "[-W Wortliste] [-F Funktion] [-C Kommando] [-X Filtermuster] [-P Prefix] [-" "S Suffix] [Name ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -"compgen [-abcdefgjksuv] [-o Option] [-A Aktion] [-G Suchmuster] [-W " -"Wortliste] [-F Funktion] [-C Kommando] [-X Filtermuster] [-P Prefix] [-S " +"compgen [-abcdefgjksuv] [-o Option] [-A Aktion] [-G Suchmuster] [-W " +"Wortliste] [-F Funktion] [-C Kommando] [-X Filtermuster] [-P Prefix] [-S " "Suffix] [Wort]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o Option] [-DE] [Name ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n Anzahl] [-O Quelle] [-s Anzahl] [-t] [-u fd] [-C Callback] [-c " -"Menge] [Feldvariable]" +"mapfile [-d Begrenzer] [-n Anzahl] [-O Quelle] [-s Anzahl] [-t] [-u fd] [-C " +"Callback] [-c Menge] [Feldvariable]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2418,7 +2529,7 @@ msgstr "" "Menge] [Feldvariable]" # alias -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2430,7 +2541,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2442,23 +2553,25 @@ msgstr "" " Ohne Argumente wird die Liste der Aliase (Synonyme) in der Form\n" " `alias Name=Wert' auf die Standardausgabe ausgegeben.\n" "\n" -" Sonst wird ein Alias für jeden angegebenen Namen definiert, für\n" -" den ein Wert angegeben wurde. Wenn `Wert' mit einem Leerzeichen\n" -" abschließt, dann wird auch das folgende Wort auf Aliase überprüft.\n" +" Sonst wird ein Alias für jeden angegebenen Namen definiert wenn\n" +" für diesen auch ein `Wert' angegeben wurde. Wenn `Wert' mit einem\n" +" Leerzeichen endet, dann wird auch das nächste Wort auf Aliase\n" +" überprüft.\n" "\n" " Optionen:\n" " -p\tGibt alle definierten Aliase aus.\n" " \n" " Rückgabewert:\n" -" Meldet Erfolg, außer wenn `Name' nicht existiert." +" Meldet Erfolg, außer wenn `Name' angegeben worden ist, für den\n" +" kein Alias definiert wurde." # unalias -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2467,10 +2580,10 @@ msgstr "" " Optionen:\n" " -a\tEnferne alle Alias Definitionen.\n" " \n" -" Gibt immer 0 zurück wenn der Alias existierte." +" Gibt immer Erfolg zurück, außer wenn der Alias nicht existiert." # bind -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2504,13 +2617,14 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -"Konfiguriert Readline Tastenzuordnungen und Variablen.\n" +"Bestimmt Readline Tastenzuordnungen und Variablen.\n" " \n" " Weist eine Tastensequenz einer Readline Funktion oder einem Makro\n" " zu oder setzt eine Readline Variable. Der Argument syntax ist zu\n" @@ -2567,7 +2681,7 @@ msgstr "" " oder ein Fehler eintrat." # break -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2587,7 +2701,7 @@ msgstr "" " Der Rückgabewert ist 0, außer »n« ist nicht größer oder gleich 1." # continue -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2607,7 +2721,7 @@ msgstr "" " Der Rückgabewert ist 0, außer wenn »n« nicht größer oder gleich 1 ist." # builtin -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2632,7 +2746,7 @@ msgstr "" " dieses nicht existiert." # caller -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2649,7 +2763,7 @@ msgid "" msgstr "" # cd -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2672,16 +2786,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2696,18 +2810,19 @@ msgstr "" "Wechselt das Arbeitsverzeichnis.\n" " \n" " Wechselt in das angegebene Abeitsverzeichnis. Ohne Angabe eines\n" -" Verzeichnisses wird in das Heimatverzeichnis gewechselt.\n" +" Verzeichnisses wird in das in der HOME Variable definierte\n" +" Verzeichnis gewechselt.\n" " \n" -" Die Variable CDPATH gibt eine Liste von Orten an, in denen nach\n" -" dem angegebeben Verzeichnisnamen gesucht wird. Die Pfadnamen\n" -" werden durch Doppelpunkte »:« getrennt. Ein leerer Pfadname\n" -" bezeichnet das aktuelle Verzeichnis. Wenn ein vollständiger\n" -" Pfadname angegeben ist, wird der CDPATH nicht durchsucht.\n" +" Die Variable CDPATH definiert den Suchpfad, in dem nach dem\n" +" angegebeben Verzeichnisnamen gesucht wird. Mehrere Pfade werden\n" +" durch Doppelpunkte »:« getrennt. Ein leerer Pfadname entspricht\n" +" dem aktuellen Verzeichnis. Mit einem vollständigen Pfadnamen wird\n" +" CDPATH nicht benutzt.\n" " \n" -" Wenn kein entsprechendes Verzeichnis gefunden wurde und die Shell\n" -" Option `cdable_vars' gesetzt ist, dann wird angenommen, dass der\n" -" Verzeichnisname einen Variablennamen enthält. Wenn diese ein Wert\n" -" besitzt, wird dieser als Verzeichnisname verwendet.\n" +" Wird kein entsprechendes Verzeichnis gefunden und die Shell Option\n" +" `cdable_vars' ist gesetzt, dann wird der `Wert' als Variable\n" +" interpretiert. Dessen Inhalt wird dann als Verzeichnisname\n" +" verwendet.\n" " \n" " Optionen:\n" " -L\tErzwingt das symbolischen Verweisen gefolgt wird.\n" @@ -2717,9 +2832,9 @@ msgstr "" " Links im aktuellen Verzeichnis werden vor dem\n" " übergeordneten Verzeichnis aufgelöst.\n" " -e\tWenn mit der »-P« das aktuelle Arbeitsverzeichns nicht\n" -" ermittelt werden kann, wird ein Rückgabwert ungleich 0\n" -" geliefert.\n" -" -@ Wenn es das System Unterstützt wird eine Datei mit \n" +" ermittelt werden kann, wird mit einem Rückgabwert\n" +" ungleich 0 abgebrochen.\n" +" -@ Wenn es das System unterstützt wird eine Datei mit \n" " erweiterten Attributen als ein Verzeichnis angezeigt,\n" " welches die erweiterten Attribute enthält.\n" " \n" @@ -2728,21 +2843,20 @@ msgstr "" " Dateiname am letzten Schrägstrich gekürzt wird oder es wird der\n" " Anfang von DIR verwendet.\n" " \n" -" Rückgabewert: \n" -" Der Rückgabewert ist 0, wenn das Verzeichnis gewechselt wurde,\n" -" sonst ungleich 0.\n" -" Mit den Optionen »-P -e« wird ein Rückgabewert ungleich 0 auch\n" -" dann gesetzt, wenn das neue aktuelle Verzeichnis nicht ermittelt\n" -" werden konnte." +" Rückgabewert:\n" +"\n" +" Der Rückgabewert ist 0, wenn das Verzeichnis erfolgreiche\n" +" gewechselt wurde, oder wenn die -P Option angegeben und $PWD\n" +" erfolgreich gesetzt werden konnte. Sonst ist er ungleich 0." # pwd -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2754,7 +2868,8 @@ msgstr "" "Gibt den Namen des aktuellen Arbeitsverzeichnisses aus.\n" " \n" " Optionen:\n" -" -L\tGibt den Inhalt der Variable $PWD aus.\n" +" -L\tGibt den Inhalt der Variable $PWD aus, wenn sie das aktuelle\n" +"\t\tArbeitsverzeichnis enthält.\n" " -P\tGibt den physischen Verzeichnispfad aus, ohne\n" " symbolische Verweise.\n" " \n" @@ -2765,7 +2880,7 @@ msgstr "" " Verzeichnis nicht lesbar ist." # colon -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2782,7 +2897,7 @@ msgstr "" " Das Kommando ist immer »wahr«." # true -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2794,7 +2909,7 @@ msgstr "" " Rückgabewert:\n" " Immer »wahr«." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2807,7 +2922,7 @@ msgstr "" " Immer »falsch«." # command -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2817,10 +2932,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2834,7 +2949,8 @@ msgstr "" " werden, wenn eine Shell-Funktion gleichen Namens existiert.\n" " \n" " Optionen:\n" -" -p\tStandardwert für PATH verwenden. Dies garantiert, dass alle\n" +" -p\ts wird ein Standardwert für PATH verwendet, der garantiert, dass " +"alle\n" " \t\tStandard-Dienstprogramme gefunden werden.\n" " -v\tBeschreibung des Kommandos ausgeben.\n" " \t\tÄhnlich dem eingebauten Kommando »type«.\n" @@ -2846,7 +2962,7 @@ msgstr "" " das Kommando nicht gefunden wird." # declare -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2856,9 +2972,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2892,7 +3008,8 @@ msgstr "" " Variablen ausgegeben.\n" " \n" " Optionen:\n" -" -f\tZeigt nur Funktionsnamen und Definitionen an.\n" +" -f\tSchränkt Aktionen oder Anzeigen auf Funktionsnamen\n" +"\t\tund Definitionen ein.\n" " -F\tZeigt nur Funktionsnamen an (inklusive Zeilennummer\n" " \t\tund Quelldatei beim debuggen).\n" " -g\tDeklariert innerhalb ener Shellfunktion globale\n" @@ -2905,6 +3022,7 @@ msgstr "" " -A\tDeklariert ein assoziatives Feld (wenn unterstützt).\n" " -i\tDeklariert eine Integer Variable.\n" " -l\tKonvertiert die Variabennmamen in Kleinbuchstaben.\n" +" -n\tDer Name wird als Variable interpretiert. \n" " -r\tDeklariert nur lesbare Variablen.\n" " -t\tWeist das »trace« Attibut zu.\n" " -u\tKonvertiert die Variablennamen in Großbuchstaben.\n" @@ -2924,17 +3042,18 @@ msgstr "" " Gibt »Erfolg« zurück, außer eine ungültige Option wurde angegeben,\n" " oder ein Fehler trat auf." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Setzt Variablen Werte und Eigenschaften\n" "\n" " Veraltet. Siehe `help declare'." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2963,7 +3082,7 @@ msgstr "" " Funktion." # echo -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2989,9 +3108,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -3026,7 +3145,7 @@ msgstr "" " Rückgabewert:\n" " Gibt »Erfolg« zurück, außer ein Ausgabefehler tritt auf." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3040,7 +3159,7 @@ msgid "" msgstr "" # enable -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3096,7 +3215,7 @@ msgstr "" " Gibt »Erfolg« zurück, außer NAME ist kein eingebautes Kommando \n" " oder ein Fehler tritt auf." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3117,7 +3236,7 @@ msgstr "" " Der Status des Kommandoe oder Erfolg wenn das Kommando leer war." # getopts -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3198,7 +3317,7 @@ msgstr "" " aufgetreten ist." # exec -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3209,8 +3328,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3222,14 +3341,14 @@ msgid "" msgstr "" "Ersetzt die Shell durch das angegebene Kommando.\n" " \n" -" Führt das angebebene Kommando einschließlich dessen Optionen aus\n" -" und ersetzt durch dieses die Shell. Wenn kein Kommando angegeben\n" -" ist, wirken alle Weiterleitungen für die aktuellen Shell.\n" +" Führt das angebebene Kommando einschließlich dessen Optionen an\n" +" Stelle der Shell aus. Wenn kein Kommando angegeben ist, wirken\n" +" alle Weiterleitungen für die aktuellen Shell.\n" " \n" " Optionen:\n" " -a Name\tSetzt den Namen als nulltes Argument für das Kommando.\n" " -c\tFührt das Kommando in einer leeren Umgebung aus.\n" -" -l\tSetzt einen Strich als nulltes Argument für das Kommando.\n" +" -l\tSetzt einen Strich in das nullte Argument für das Kommando.\n" " \n" " Wenn das Kommando nicht ausgeführt werden kann, wird eine nicht\n" " interaktive Shell beendet, außer die Shell-Option »execfail« ist\n" @@ -3240,7 +3359,7 @@ msgstr "" " ein Weiterleitungsfehler trat auf." # exit -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3254,7 +3373,7 @@ msgstr "" " wird der Rückgabewert des letzten ausgeführten Kommandos übernommen." # logout -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3269,7 +3388,7 @@ msgstr "" " zurückgegeben." # fc -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3299,7 +3418,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3319,7 +3438,7 @@ msgstr "" " Rückgabewert:\n" " Status des in den Vordergrund geholten Jobs oder Fehler." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3341,7 +3460,7 @@ msgstr "" " Immer Erfolg, außer wenn die Jobsteuerung nicht verfügbar ist\n" " oder ein Fehler auftritt." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3350,22 +3469,23 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +# help +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3377,7 +3497,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3386,8 +3506,27 @@ msgid "" " Returns success unless PATTERN is not found or an invalid option is " "given." msgstr "" +"Informationen zu eingebauten Kommandos.\n" +" \n" +" Zeigt kurze Informationen zu eingebauten Kommandos an. Wenn ein\n" +" Muster angegeben ist, dann wird eine ausführliche Anleitung zu\n" +" allen Kommandos mit zutreffendem Muster angezeit. Sonst wird die\n" +" Liste der Hilfethemen ausgegeben.\n" +" \n" +" Optionen:\n" +" -d\tKurzbeschreibung für jedes Thema\n" +" -m\tAnzeige im Manpage Format.\n" +" -s\tGibt eine kurze Zusammenfassung für jedes angegebene\n" +" angegebene Thema aus\n" +" \n" +" Argumente:\n" +" Muster\tDas gesuchte Hilfetheme\n" +" \n" +" Rückgabestautus:\n" +" Erfolg, außer wenn das Muster nicht gefunden oder eine ungültige Option\n" +" angegeben wurde." -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -3396,23 +3535,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3421,7 +3560,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3431,7 +3570,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3445,7 +3584,7 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3455,14 +3594,14 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -3474,7 +3613,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3484,7 +3624,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3529,7 +3669,7 @@ msgid "" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3550,27 +3690,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3580,7 +3721,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3592,7 +3733,7 @@ msgid "" " Returns N, or failure if the shell is not executing a function or script." msgstr "" -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3660,7 +3801,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3677,7 +3819,7 @@ msgid "" " Returns success unless an invalid option is given." msgstr "" -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3687,7 +3829,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3699,7 +3841,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3718,7 +3860,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3730,9 +3872,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3740,7 +3881,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3751,7 +3892,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3765,7 +3906,7 @@ msgid "" " FILENAME cannot be read." msgstr "" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3779,7 +3920,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3843,9 +3984,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3863,7 +4004,7 @@ msgid "" msgstr "" # [ -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3877,7 +4018,7 @@ msgstr "" " schließt." # times -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3896,7 +4037,7 @@ msgstr "" " Rückgabewert:\n" " Immer 0." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3940,7 +4081,7 @@ msgid "" "given." msgstr "" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3949,18 +4090,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3970,7 +4111,7 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3988,6 +4129,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3999,7 +4141,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4017,7 +4160,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4035,7 +4178,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4055,7 +4198,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4070,7 +4213,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4083,7 +4226,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4100,7 +4243,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4120,7 +4263,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4136,7 +4279,7 @@ msgid "" " The return status is the return status of PIPELINE." msgstr "" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4147,7 +4290,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4168,7 +4311,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4179,7 +4322,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4190,7 +4333,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4200,10 +4343,10 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4217,7 +4360,7 @@ msgid "" " Returns success unless NAME is readonly." msgstr "" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4228,7 +4371,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4243,7 +4386,7 @@ msgid "" msgstr "" # (( )) -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4263,7 +4406,7 @@ msgstr "" " Gibt »1« zurück, wenn die Auswertung des letzten Arguments Null\n" " ergibt, sonst »0«." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -4292,7 +4435,7 @@ msgid "" msgstr "" # variable_help -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -4404,7 +4547,7 @@ msgstr "" " Kommandos angibt.\n" # pushd -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -4414,19 +4557,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -4437,27 +4580,21 @@ msgstr "" "Fügt ein Verzeichnis dem Stapel hinzu.\n" "\n" " Legt ein Verzeichnisnamen auf den Verzeichnisstapel oder rotiert\n" -" diesen so,daß das Arbeitsverzeichnis auf der Spitze des Stapels\n" -" liegt. Ohne angegebene Argumente werden die obersten zwei\n" -" Verzeichnisse auf dem Stapel getauscht.\n" +" diesen so, dass das aktuelle Arbeitsverzeichnis oben liegt. Ohne\n" +" Argumente werden die obersten zwei Verzeichnisse auf dem Stapel\n" +" vertauscht.\n" "\n" -" Optionen:\n" -" -n\tunterdrückt das Wechseln in das Verzeichnis beim Hinzufügen\n" -" zum Stapel, so daß nur der Stapel verändert wird.\n" +" Optionen: -n Es wird nur das angebene Verzeichnis dem Stapel\n" +" \thinzugefügt aber nicht in das Verzeichnis gewechselt.\n" "\n" -" Argumente:\n" -" +N\tRotiert den Stapel so, daß das N'te Verzeichnis\n" -" (angezeigt von `dirs',gezählt von links) sich an der Spitze des\n" -" Stapels befindet.\n" +" Argumente: \n" +" +N\tRotiert den Stapel so, daß das N'te Verzeichnis (angezeigt von\n" +" \t`dirs',gezählt von links) oben auf dem Stapels liegt.\n" "\n" " -N\tRotiert den Stapel so, daß das N'te Verzeichnis (angezeigt von\n" -" -`dirs',gezählt von rechts) sich an der Spitze des Stapels\n" -" -befindet.\n" +" \t-`dirs',gezählt von rechts) sich an der Spitze des Stapels\n" +" \t-befindet.\n" " \n" -"\n" -" DIR\tLegt DIR auf die Spitze des Verzeichnisstapels und wechselt " -"dorthin.\n" -"\n" " Der Verzeichnisstapel kann mit dem Kommando `dirs' angezeigt\n" " werden.\n" "\n" @@ -4466,7 +4603,7 @@ msgstr "" " wurde oder der Verzeichniswechsel nicht erfolgreich war." # popd -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -4475,16 +4612,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -4494,16 +4631,16 @@ msgid "" msgstr "" "Entfernt Einträge vom Verzeichnisstapel.\n" "\n" -" Entfernt Einträge vom Verzeichnisstapel. Ohne Argumente wird die\n" -" Spitze des Stapels entfernt und in das Verzeichnis gewechselt, das\n" -" dann an der Spitze steht.\n" +" Entfernt Einträge vom Verzeichnisstapel. Ohne Argumente wird der\n" +" oberste Eintrag entfernt und in das neue oberste Verzeichnis\n" +" gewechselt.\n" "\n" " Optionen:\n" " -n\tEntfernt nur den Verzeichniseintrag und wechselt nicht\n" " \tdas Verzeichnis.\n" " \n" " Argumente:\n" -" +N\tEntfernt den N-ten Eintrag von links, gezählt von \t\n" +" +N\tEntfernt den N-ten Eintrag von links, gezählt von\n" " Null, aus der von »dirs« anzeigten Liste. Beispielsweise\n" " entfernen »popd +0« den ersten und »popd +1« den zweiten\n" " Verzeichniseintrag.\n" @@ -4520,7 +4657,7 @@ msgstr "" " wurde oder der Verzeichniswechsel nicht erfolgreich war." # dirs -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -4531,19 +4668,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -4574,7 +4711,7 @@ msgstr "" " Gibt Erfolg zurück, außer bei einer ungültigen Option oder wenn\n" " ein Fehler auftritt." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -4613,8 +4750,8 @@ msgstr "" " eine ungültige Option angegeben wurde oder eine Option deaktiviert\n" " worden ist, wird Fehler zurückgegeben." -# formatf -#: builtins.c:1908 +# printf +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -4631,15 +4768,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -4652,8 +4789,10 @@ msgid "" "assignment\n" " error occurs." msgstr "" +"Returns success unless an invalid option is given or a write or\n" +" assignment error occurs.<" -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -4666,11 +4805,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -4680,7 +4819,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -4693,7 +4832,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4724,8 +4863,7 @@ msgid "" " have a completion specification defined." msgstr "" -# mapfile -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4736,20 +4874,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4767,7 +4906,7 @@ msgid "" msgstr "" # readarray -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -4776,3 +4915,18 @@ msgstr "" "Liest Zeilen einer Datei in eine Array Variable.\n" "\n" " Ist ein Synonym für `mapfile'." + +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2014 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" diff --git a/po/el.gmo b/po/el.gmo index 8ea8d43fb..f7c64e50c 100644 Binary files a/po/el.gmo and b/po/el.gmo differ diff --git a/po/el.po b/po/el.po index bb88959e6..d57d327cc 100644 --- a/po/el.po +++ b/po/el.po @@ -2,86 +2,92 @@ # Copyright (C) 2013 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. # -# Lefteris Dimitroulakis , 2013. +# Lefteris Dimitroulakis , 2013, 2016. msgid "" msgstr "" -"Project-Id-Version: bash-4.3-pre2\n" +"Project-Id-Version: bash-4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2013-11-15 10:37+0200\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2016-06-02 01:32+0300\n" "Last-Translator: Lefteris Dimitroulakis \n" "Language-Team: Greek \n" -"Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: el\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Lokalize 1.5\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: αδυναμία δημιουργίας: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: δεν μπορώ να βρω keymap για εντολή" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: ο πρώτος μη-λευκό διάστημα χαρακτήρας δεν είναι «\"»" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "«%s»: μη έγκυρο ψευδώνημο" @@ -90,346 +96,375 @@ msgstr "«%s»: μη έγκυρο ψευδώνημο" msgid "line editing not enabled" msgstr "μη ενεργοποιημένο line editing" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "«%s»: μη έγκυρο όνομα keymap" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: αδυναμία ανάγνωσης: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "«%s»: αδυναμία αποσύνδεσης" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "«%s»: άγνωστο όνομα συνάρτησης" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s δεν έχει συνδεθεί με κανένα πλήκτρο.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s μπορεί να κληθεί μέσω " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "αριθμός βρόχων" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "έχει μόνο νόημα σε ένα βρόχο «for», «while», ή «until»" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" " Without EXPR, returns " msgstr "" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME δεν έχει οριστεί" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "πάρα πολλά ορίσματα" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "όχι άλλος κατάλογος" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD δεν έχει οριστεί" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "γραμμή %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "προειδοποίηση: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: χρήση: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: η επιλογή απαιτεί όρισμα" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: απαιτείται αριθμητικό όρισμα" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: δεν βρέθηκε" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: μη έγκυρη επιλογή" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: μη έγκυρο όνομα επιλογής" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "μη έγκυρος οκταδικός αριθμός" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "μη έγκυρος εξαδικός αριθμός" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "μη έγκυρος αριθμός" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: μη έγκυρη προδιαγραφή σήματος" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "«%s»: όχι pid ή έγκυρο job spec" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: μεταβλητή μόνο για ανάγνωση" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s εκτός ορίων" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "όρισμα" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s εκτός ορίων" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: δεν υπάρχει τέτοια εργασία" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "σφάλμα εγγραφής: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: ασαφείς προδιαγραφές εργασίας" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: μη έγκυρο όνομα ενέργειας" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: δεν υπάρχει προδιαγραφή συμπλήρωσης" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "προειδοποίηση: η επιλογή -F μπορεί να μη δουλέψει όπως περιμένεις" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "προειδοποίηση: η επιλογή -C ίσως δεν δουλέψει όπως αναμένετε" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "μπορεί να χρησιμοποιηθεί μόνο μέσα σε συνάρτηση" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: μη έγκυρο όνομα μεταβλητής" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "" "η επιλογή «-f» δεν μπορεί να χρησιμοποιηθεί για τη δημιουργία συναρτήσεων" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: συνάρτηση μόνο για ανάγνωση" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "δυναμική φόρτωση μη διαθέσημη" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "αδυναμία ανοίγματος κοινόχρηστου αντικειμένου %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "αδυναμία εύρεσης %s στο κοινόχρηστο αντικείμενο %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: δεν φορτώθηκε δυναμικά" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: αδυναμία διαγραφής: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: είναι κατάλογος" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: όχι κανονικό αρχείο" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: αρχείο πολύ μεγάλο" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: αδυναμία εκτέλεσης δυαδικού αρχείου" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: αδυναμία εκτέλεσης: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "logout\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "όχι login shell: χρησιμοποίησε «exit»" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Υπάρχουν σταματημένες εργασίες.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Υπάρχουν εργασίες που τρέχουν.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "δεν βρέθηκε εντολή" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "history specification" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: αδυναμία ανοίγματος προσωρινού αρχείου: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "τρέχων" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "" @@ -448,37 +483,37 @@ msgstr "%s: η επιλογή απαιτεί ένα όρισμα -- %c\n" msgid "hashing disabled" msgstr "" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "hits\tcommand\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Εντολές κελύφους που ταιριάζουν στη λέξη-κλειδί `" msgstr[1] "Εντολές κελύφους που ταιριάζουν στις λέξεις-κλειδί" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -"ουδεμία βοήθεια ταιριάζει με «%s». Δοκιμάστε «help help» ή «man -k %s» ή " -"«info %s»." +"ουδεμία βοήθεια ταιριάζει με «%s». Δοκιμάστε «help help» ή «man -k %s» ή «info %" +"s»." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: αδυναμία ανοίγματος: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -490,15 +525,20 @@ msgid "" "\n" msgstr "" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "δεν μπορώ να χρησιμοποιήσω περισσότερες της μιας από τις -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "θέση στο ιστορικό" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: μη έγκυρο όρισμα" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "" @@ -512,113 +552,113 @@ msgstr "%s: αποτυχία inlib" msgid "no other options allowed with `-x'" msgstr "δεν επιτρέπονται άλλες επιλογές με την «-x»" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: ορίσματα πρέπει να είναι ID διεργασιών ή εργασιών" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Άγνωστο σφάλμα" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "αναμενόταν έκφραση" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: μη δικτοδοτημένος πίνακας" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: μη έγκυρη προδιαγραφή περιγραφέα αρχείου" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: μη έγκυρος περιγραφέας αρχείου: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: μη έγκυρος αριθμός γραμμής" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "απαιτείται υποστήριξη μεταβλητής πίνακος" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "«%s»: απουσία χαρακτήρα φορμαρίσματος " -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "«%c»: μη έγκυρη προδιαγραφή για φορμά χρόνου" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "«%c»: μη έγκυρος χαρακτήρας φορμαρίσματος" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "προειδοποίηση: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "απουσία hex ψηφίου για \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "απουσία ψηφίου unicode για \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "όχι άλλος κατάλογος" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: μη έγκυρο όρισμα" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "<όχι τρέχων κατάλογος>" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "κενή στίβα καταλόγου" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "δείκτης στοίβας καταλόγου" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -642,7 +682,7 @@ msgid "" "\tdirs when invoked without options, starting with zero." msgstr "" -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -667,7 +707,7 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -688,145 +728,155 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "σφάλμα ανάγνωσης: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "«unset» δεν μπορεί να εφαρμοστεί συγχρόνως σε συνάρτηση και μεταβλητή" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: αδυναμία «unset»" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: αδυναμία unset: %s μόνο για ανάγνωση" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: δεν είναι μεταβλητή πίνακα" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: δεν είναι συνάρτηση" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: αδυναμία εξαγωγής" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "" "οι επιλογές κελύφους δεν είναι δυνατόν συγχρόνως να ενεργοποιηθούν και " "απενεργοποιηθούν" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: μη έγκυρο όνομα επιλογής" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "απαιτείται όνομα αρχείου για όρισμα" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: αρχείο δεν βρέθηκε" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s είναι ψευδώνημο του «%s»\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s αποτελεί δεσμευμένη λέξη του κελύφους\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s είναι συνάρτηση\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s είναι ένα ειδικό builtin\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" -msgstr "" +msgstr "%s είναι ένα builtin κελύφους\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s είναι %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" -msgstr "" +msgstr "%s is hashed (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: μη έγκυρο όρισμα ορίου" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "«%c»: λάθος διαταγή" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "όριο" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: αδυναμία μεταβολής ορίου: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "οκταδικός αριθμός" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " γραμμή " @@ -840,82 +890,103 @@ msgstr "τελευταία εντολή: %s\n" msgid "Aborting..." msgstr "" -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "άγνωστο σφάλμα εντολής" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aη αναμονή για δεδομένα έληξε: αυτόματη αποσύνδεση\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "αδυναμία ανακατεύθυνσης τυπικής εισόδου από /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: «%c»: μη έγκυρος χαρακτήρας μορφοποίησης" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "pipe error" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: περιορισμός: δεν μπορεί να περιέχεται «/» σε όνομα εντολής" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: εντολή δεν βρέθηκε" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: αδυναμία εκτέλεσης δυαδικού αρχείου: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "«%s»: είναι ειδικό builtin" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "αδυναμία αντιγραφής του fd %d στον fd %d" @@ -960,37 +1031,37 @@ msgstr "" msgid "missing `)'" msgstr "λείπει «)»" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "syntax error: αναμενόταν τελεστέος" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "syntax error: μη έγκυρος αριθμητικός τελεστής" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (το λανθασμένο σύμβολο είναι \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "μη έγκυρη αριθμητική βάση" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "τιμή πολύ μεγάλη για βάση" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: σφάλμα έκφρασης\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: αδυναμία πρόσβασης στο γονικό κατάλογο" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "αδυναμία επανάταξης nodelay mode για fd %d" @@ -1006,148 +1077,148 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: δεν υπάρχει τέτοιο pid" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Σήμα %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Done" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "σταματημένο" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "σταματημένο(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Done(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Έξοδος %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Άγνωστη κατάσταση" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(core dumped) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "child setpgid (%ld to %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: διεργασία %ld δεν αποτελεί θυγατρική αυτού του κελύφους" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Δεν υπάρχουν στοιχεία για διεργασία %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: η εργασία %d είναι σταματημένη" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: η εργασία τερματίστηκε" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: εργασία %d ήδη στο παρασκήνιο" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: γραμμή %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (core dumped)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(τώρα wd: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: αποτυχία getpgrp" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "δεν υπάρχει job control σ'αυτό το κέλυφος" @@ -1199,17 +1270,17 @@ msgstr "" msgid "realloc: start and end chunk sizes differ" msgstr "" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p ήδη στον πίνακα ως ελεύθερος;\n" @@ -1233,7 +1304,7 @@ msgstr "%s: μη έγκυρη υπηρεσία" msgid "%s: bad network path specification" msgstr "" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "μη υποστηριζόμενες δικτιακές υπηρεσίες" @@ -1270,224 +1341,259 @@ msgstr "Έχεις νέο μήνυμα στο $_" msgid "The mail in %s has been read\n" msgstr "Το μήνυμα στο %s διαβάστηκε\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "syntax error: απαιτείται αριθμητική έκφραση" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "συντακτικό σφάλμα: δεν αναμενόταν «;»" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "συντακτικό σφάλμα: «((%s))»" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: η οδηγία της ανακατεύθυνσης «%d» εκτός ορίων" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "μη αναμενόμενο EOF κατά την αναζήτηση «%c»" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "μη αναμενόμενο EOF ενώ έψαχνα για «]]»" -#: parse.y:4175 -#, fuzzy, c-format +#: parse.y:4415 +#, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "syntax error in conditional expression: μη αναμενόμενο σύμβολο «%s»" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "μη αναμενόμενο σύμβολο «%s», αναμενόταν «)»" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "αναμενόταν «)»" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "συντακτικό σφάλμα κοντά στο μη αναμενόμενο σύμβολο «%s»" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "συντακτικό σφάλμα κοντά σε «%s»" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "syntax error: μη αναμενόμενο τέλος αρχείου" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "συντακτικό σφάλμα" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Χρήση «%s» για έξοδο από το κέλυφος.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "μη αναμενόμενο EOF ενώ έψαχνα «)»" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: η συνάρτηση «%s» δεν βρέθηκε" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: μη έγκυρος περιγραφέας αρχείου" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: NULL file pointer" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: «%c»: μη έγκυρη μορφή χαρακτήρα" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "περιγραφέας αρχείου εκτός ορίων" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: ασαφής ανακατεύθυνση" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: αδυναμία εγγραφής πάνω σε υπάρχον αρχείο" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: restricted: αδυναμία ανακατεύθυνσης εξόδου" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "αδυναμία δημιουργίας προσωρινού αρχείου για here-document: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: αδυναμία ανάθεσης fd σε μεταβλητή" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port δεν υποστηρίζεται χωρίς δικτύωση" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "δεν μπόρεσα να βρω /tmp, παρακαλώ να τον δημιουργήσετε!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp πρέπει να είναι ένα έγκυρο όνομα αρχείου" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: μη έγκυρη επιλογή" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: είναι κατάλογος" + +#: shell.c:1777 msgid "I have no name!" msgstr "Δεν έχω όνομα!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, έκδοση %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1496,43 +1602,53 @@ msgstr "" "Χρήση:\t%s [μακρά επιλογή GNU] [επιλογή] ...\n" "\t%s [μακρά επιλογή GNU] [επιλοη] script-file ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Μακρές επιλογές GNU:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Επιλογές κελύφους:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s ή επιλογή -o\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Πληκτρολόγησε «%s -c \"help set\"» για πληροφορίες επί των επιλογών " "κελύφους.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Πληκτρολόγησε «%s -c help» για περισσότερες πληροφορίες σχετικά με τις " "ενσωματομένες στο κέλυφος εντολές.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Χρησιμοποίησε την εντολή «bashbug» για αναφορά σφαλμάτων.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: μη έγκυρη λειτουργία" @@ -1706,88 +1822,103 @@ msgstr "Άγνωστο σήμα #" msgid "Unknown Signal #%d" msgstr "Άγνωστο σήμα #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "αδυναμία ανοίγματοε επώνυμης σωλήνας %s προς ανάγνωση" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "αδυναμία ανοίγματος επώνυμης σωλήνας %s προς εγγραφή" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "κακή αντικατάσταση: δεν υπάρχει «`» που κλείνει στο %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: κακή αντικατάσταση" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: μη έγκυρο όνομα μεταβλητής" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: παράμετρος κενή ή δεν έχει οριστεί" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: έκφραση αρνητική < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: κακή αντικατάσταση" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: αδύνατη ανάθεση κατ' αυτόν τον τρόπο" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "κακή αντικατάσταση: δεν υπάρχει «`» που κλείνει στο %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "" @@ -1801,123 +1932,123 @@ msgstr "αναμενόταν όρισμα" msgid "%s: integer expression expected" msgstr "%s: αναμενόταν ως έκφραση ακέραιος αριθμός" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "αναμενόταν «)»" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "σναμενόταν «)», βρέθηκε %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: αναμενόταν δυαδικός τελεστής" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "απούσα «]»" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "μη έγκυρος αριθμός σήματος" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: κακό σήμα %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "επίπεδο κελύφους (%d) πολύ υψηλό, επαναφορά στο 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: no function context at current scope" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "" -#: variables.c:3646 +#: variables.c:3043 +#, c-format +msgid "%s: assigning integer to name reference" +msgstr "" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: no function context at current scope" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s έχει κενό exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "ο χαρακτήρας %d δεν έίναι έγκυρος στην exportstr για %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "απουσία «=» στην exportstr για %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: head of shell_variables not a function context" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: no global_variables context" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: head of shell_variables not a temporary environment scope" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: αδυναμία ανοίγματος ως ΑΡΧΕΙΟ" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright (C) 2012 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2015 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -1940,10 +2071,6 @@ msgstr "This is free software; you are free to change and redistribute it." msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "There is NO WARRANTY, to the extent permitted by law." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2012 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -1964,15 +2091,15 @@ msgstr "%s: %s:%d: αδυναμία εκχώρησης %lu bytes (%lu bytes εκ msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: αδυναμία εκχώρησης %lu bytes" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [name[=value] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] name [name ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -1980,128 +2107,116 @@ msgstr "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function ή readline-command]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [shell-builtin [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [expr]" -#: builtins.c:64 -#, fuzzy +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-L|[-P [-e]]] [dir]" +msgstr "cd [-L|[-P [-e]] [-@]] [dir]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "αληθής" - -#: builtins.c:72 -msgid "false" -msgstr "ψευδής" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] command [arg ...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] name[=value] ..." - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] name[=value] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [option] name[=value] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f filename] [name ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts optstring name [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [job_spec]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [job_spec ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p pathname] [-dt] [name ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [pattern ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" -"history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " +"history [-c] [-d offset] [n] ή history -anrw [filename] ή history -ps arg " "[arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [jobspec ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2109,11 +2224,11 @@ msgstr "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2121,99 +2236,95 @@ msgstr "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [name ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [name[=value] ...] ή export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [name[=value] ...] ή readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source filename [arguments]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". όνομα αρχείου [ορίσματα]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [expr]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] signal_spec ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] name [name ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [mode]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [id ...]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [pid ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NAME [in WORDS ... ] ; do COMMANDS; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( exp1; exp2; exp3 )); do COMMANDS; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NAME [in WORDS ... ;] do COMMANDS; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] pipeline" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2221,63 +2332,63 @@ msgstr "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while COMMANDS; do COMMANDS; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until COMMANDS; do COMMANDS; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NAME] command [redirections]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function name { COMMANDS ; } ή name () { COMMANDS ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ COMMANDS ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( expression ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ expression ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - Ονόματα και σημασία ορισμένων μεταβλητών του κελύφους" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | dir]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [optname ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] format [ορίσματα]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2287,27 +2398,27 @@ msgstr "" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o option] [-DE] [name ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2315,7 +2426,7 @@ msgstr "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2327,7 +2438,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2335,23 +2446,23 @@ msgid "" " defined." msgstr "" -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" -"Αφαίρεση κάθε ΟΝΟΜΑτος από τη λίστα των καθορισμένων ψευδωνήμων.\n" +"Αφαίρεση κάθε ΟΝΟΜΑτος από τη λίστα των καθορισμένων ψευδωνύμων.\n" " \n" " Επιλογές:\n" -" -a\tαφαίρεση όλων των ψευδωνήμων.\n" +" -a\tαφαίρεση όλων των ψευδωνύμων.\n" " \n" -" Επιστρέφει επιτυχία εκτός αν το ΟΝΟΜΑ δεν είναι υπάρχον ψευδώνημο." +" Επιστρέφει επιτυχία εκτός αν το ΟΝΟΜΑ δεν είναι υπαρκτό ψευδώνυμο." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2385,14 +2496,15 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2403,7 +2515,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2414,7 +2526,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2428,7 +2540,7 @@ msgid "" " not a shell builtin.." msgstr "" -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2444,7 +2556,7 @@ msgid "" " is invalid." msgstr "" -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2467,16 +2579,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2489,14 +2601,13 @@ msgid "" " -P is used; non-zero otherwise." msgstr "" -#: builtins.c:422 -#, fuzzy +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2518,7 +2629,7 @@ msgstr "" " Επιστρέφει 0 εκτός αν δίνεται μη έγκυρη επιλογή ή ο τρέχων κατάλογος\n" " δεν μπορεί να διαβαστεί." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2534,7 +2645,7 @@ msgstr "" " Κατάσταση εξόδου:\n" " Πάντα επιτυχία." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2542,7 +2653,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2550,7 +2661,7 @@ msgid "" " Always fails." msgstr "" -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2560,16 +2671,16 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2579,9 +2690,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2609,14 +2720,14 @@ msgid "" " assignment error occurs." msgstr "" -#: builtins.c:527 +#: builtins.c:530 msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2631,7 +2742,7 @@ msgid "" " assignment error occurs, or the shell is not executing a function." msgstr "" -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2657,15 +2768,15 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2678,7 +2789,7 @@ msgid "" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2705,7 +2816,7 @@ msgid "" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2717,7 +2828,7 @@ msgid "" " Returns exit status of command or success if command is null." msgstr "" -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2758,7 +2869,7 @@ msgid "" " encountered or an error occurs." msgstr "" -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -2769,8 +2880,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2781,7 +2892,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -2789,7 +2900,7 @@ msgid "" " is that of the last command executed." msgstr "" -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2798,7 +2909,7 @@ msgid "" " in a login shell." msgstr "" -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2828,7 +2939,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2840,7 +2951,7 @@ msgid "" " Status of command placed in foreground, or failure if an error occurs." msgstr "" -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2854,7 +2965,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -2863,22 +2974,22 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -2890,7 +3001,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2900,7 +3011,7 @@ msgid "" "given." msgstr "" -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -2909,23 +3020,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -2934,7 +3045,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -2944,7 +3055,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -2958,7 +3069,7 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -2968,14 +3079,14 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -2987,7 +3098,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -2997,7 +3109,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3042,7 +3154,7 @@ msgid "" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3063,27 +3175,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3093,7 +3206,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3105,7 +3218,7 @@ msgid "" " Returns N, or failure if the shell is not executing a function or script." msgstr "" -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3173,7 +3286,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3190,7 +3304,7 @@ msgid "" " Returns success unless an invalid option is given." msgstr "" -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3200,7 +3314,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3212,7 +3326,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3231,7 +3345,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3243,9 +3357,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3253,7 +3366,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3264,7 +3377,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3278,7 +3391,7 @@ msgid "" " FILENAME cannot be read." msgstr "" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3292,7 +3405,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3356,9 +3469,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3375,7 +3488,7 @@ msgid "" " false or an invalid argument is given." msgstr "" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3383,7 +3496,7 @@ msgid "" " be a literal `]', to match the opening `['." msgstr "" -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3395,7 +3508,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3439,7 +3552,7 @@ msgid "" "given." msgstr "" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3448,18 +3561,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3469,7 +3582,7 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3487,6 +3600,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3498,7 +3612,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3516,7 +3631,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3534,7 +3649,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3554,7 +3669,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3569,7 +3684,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3582,7 +3697,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3599,7 +3714,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3619,7 +3734,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3635,7 +3750,7 @@ msgid "" " The return status is the return status of PIPELINE." msgstr "" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3646,7 +3761,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3667,7 +3782,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3678,7 +3793,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -3689,7 +3804,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3699,10 +3814,10 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3716,7 +3831,7 @@ msgid "" " Returns success unless NAME is readonly." msgstr "" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -3727,7 +3842,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3741,7 +3856,7 @@ msgid "" " Returns the status of the resumed job." msgstr "" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3752,7 +3867,7 @@ msgid "" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3780,7 +3895,7 @@ msgid "" " 0 or 1 depending on value of EXPRESSION." msgstr "" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3834,7 +3949,7 @@ msgid "" " \t\tcommands should be saved on the history list.\n" msgstr "" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -3844,19 +3959,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3865,7 +3980,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -3874,16 +3989,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3892,7 +4007,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -3903,25 +4018,25 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -3942,7 +4057,7 @@ msgid "" " given or OPTNAME is disabled." msgstr "" -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -3959,15 +4074,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -3981,7 +4096,7 @@ msgid "" " error occurs." msgstr "" -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -3994,11 +4109,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -4008,7 +4123,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -4021,7 +4136,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4052,7 +4167,7 @@ msgid "" " have a completion specification defined." msgstr "" -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4063,20 +4178,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4093,7 +4209,7 @@ msgid "" " not an indexed array." msgstr "" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -4102,3 +4218,18 @@ msgstr "" "Ανάγνωση γραμμών από αρχείο σε μεταβλητή τύπου πίνακα.\n" " \n" " Συνώνημο του «mapfile»." + +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2014 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "αληθής" + +#~ msgid "false" +#~ msgstr "ψευδής" + +#~ msgid "times" +#~ msgstr "times" diff --git a/po/en@boldquot.gmo b/po/en@boldquot.gmo index 5dd2d584d..72a1a7b37 100644 Binary files a/po/en@boldquot.gmo and b/po/en@boldquot.gmo differ diff --git a/po/en@boldquot.po b/po/en@boldquot.po index 05e6b8b50..b93c2e8b0 100644 --- a/po/en@boldquot.po +++ b/po/en@boldquot.po @@ -1,7 +1,7 @@ # English translations for GNU bash package. -# Copyright (C) 2014 Free Software Foundation, Inc. +# Copyright (C) 2016 Free Software Foundation, Inc. # This file is distributed under the same license as the GNU bash package. -# Automatically generated, 2014. +# Automatically generated, 2016. # # All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation @@ -30,82 +30,87 @@ # msgid "" msgstr "" -"Project-Id-Version: GNU bash 4.3-release\n" +"Project-Id-Version: GNU bash 4.4-release\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2016-09-10 12:42-0400\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "bad array subscript" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "%s: removing nameref attribute" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: cannot convert indexed to associative array" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: invalid associative array key" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: cannot assign to non-numeric index" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: must use subscript when assigning associative array" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: cannot create: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: cannot find keymap for command" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: first non-whitespace character is not ‘\"’" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "no closing ‘%c’ in %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: missing colon separator" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "brace expansion: cannot allocate memory for %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "brace expansion: failed to allocate memory for %d elements" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "brace expansion: failed to allocate memory for ‘%s’" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "‘%s’: invalid alias name" @@ -114,45 +119,45 @@ msgstr "‘%s’: invalid alias name" msgid "line editing not enabled" msgstr "line editing not enabled" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "‘%s’: invalid keymap name" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: cannot read: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "‘%s’: cannot unbind" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "‘%s’: unknown function name" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s is not bound to any keys.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s can be invoked via " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "loop count" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "only meaningful in a ‘for’, ‘while’, or ‘until’ loop" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -162,300 +167,328 @@ msgstr "" " \n" " Without EXPR, returns " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME not set" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "too many arguments" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +msgid "null directory" +msgstr "null directory" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD not set" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "line %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "warning: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: usage: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: option requires an argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: numeric argument required" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: not found" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: invalid option" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: invalid option name" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "‘%s’: not a valid identifier" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "invalid octal number" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "invalid hex number" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "invalid number" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: invalid signal specification" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "‘%s’: not a pid or valid job spec" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: readonly variable" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s out of range" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s out of range" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: no such job" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: no job control" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "no job control" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: restricted" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "restricted" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: not a shell builtin" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "write error: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "error setting terminal attributes: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "error getting terminal attributes: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: error retrieving current directory: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: ambiguous job spec" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "help not available in this version" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: invalid action name" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: no completion specification" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "warning: -F option may not work as you expect" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "warning: -C option may not work as you expect" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "not currently executing completion function" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "can only be used in a function" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: reference variable cannot be an array" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: nameref variable self references not allowed" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: circular name reference" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "‘%s’: invalid variable name for name reference" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "cannot use ‘-f’ to make functions" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: readonly function" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: quoted compound array assignment deprecated" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: cannot destroy array variables in this way" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: cannot convert associative to indexed array" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dynamic loading not available" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "cannot open shared object %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "cannot find %s in shared object %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "load function for %s returns failure (%d): not loaded" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: not dynamically loaded" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: cannot delete: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: is a directory" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: not a regular file" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: file is too large" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: cannot execute binary file" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: cannot execute: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "logout\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "not login shell: use ‘exit’" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "There are stopped jobs.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "There are running jobs.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "no command found" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "history specification" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: cannot open temp file: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "current" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "job %d started without job control" @@ -474,24 +507,24 @@ msgstr "%s: option requires an argument -- %c\n" msgid "hashing disabled" msgstr "hashing disabled" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: hash table empty\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "hits\tcommand\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Shell commands matching keyword `" msgstr[1] "Shell commands matching keywords `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -499,12 +532,12 @@ msgstr "" "no help topics match ‘%s’. Try ‘help help’ or ‘man -k %s’ " "or ‘info %s’." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: cannot open: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -525,15 +558,20 @@ msgstr "" "A star (*) next to a name means that the command is disabled.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "cannot use more than one of -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "history position" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, c-format +msgid "%s: invalid timestamp" +msgstr "%s: invalid timestamp" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: history expansion failed" @@ -547,113 +585,113 @@ msgstr "%s: inlib failed" msgid "no other options allowed with `-x'" msgstr "no other options allowed with ‘-x’" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: arguments must be process or job IDs" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Unknown error" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "expression expected" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: not an indexed array" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: invalid file descriptor specification" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: invalid file descriptor: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: invalid line count" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: invalid array origin" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: invalid callback quantum" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "empty array variable name" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "array variable support required" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "‘%s’: missing format character" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "‘%c’: invalid time format specification" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "‘%c’: invalid format character" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "warning: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "format parsing problem: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "missing hex digit for \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "missing unicode digit for \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "no other directory" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: invalid argument" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "directory stack empty" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "directory stack index" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -698,7 +736,7 @@ msgstr "" "by\n" "\tdirs when invoked without options, starting with zero." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -744,7 +782,7 @@ msgstr "" " \n" " The ‘dirs’ builtin displays the directory stack." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -773,154 +811,164 @@ msgstr "" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by ‘dirs’, starting with zero. For example: ‘popd " -"+0’\n" +" \tshown by ‘dirs’, starting with zero. For example: ‘popd +0" +"[0m’\n" " \tremoves the first directory, ‘popd +1’ the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by ‘dirs’, starting with zero. For example: ‘popd " -"-0’\n" +" \tshown by ‘dirs’, starting with zero. For example: ‘popd -0" +"[0m’\n" " \tremoves the last directory, ‘popd -1’ the next to last.\n" " \n" " The ‘dirs’ builtin displays the directory stack." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: invalid timeout specification" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "read error: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "can only ‘return’ from a function or sourced script" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "cannot simultaneously unset a function and a variable" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: cannot unset" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: cannot unset: readonly %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: not an array variable" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: not a function" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: cannot export" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "shift count" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "cannot set and unset shell options simultaneously" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: invalid shell option name" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "filename argument required" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: file not found" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "cannot suspend" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "cannot suspend a login shell" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s is aliased to ‘%s’\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s is a shell keyword\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s is a function\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s is a special shell builtin\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s is a shell builtin\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s is %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s is hashed (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: invalid limit argument" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "‘%c’: bad command" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: cannot get limit: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "limit" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: cannot modify limit: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "octal number" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "‘%c’: invalid symbolic mode operator" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "‘%c’: invalid symbolic mode character" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " line " @@ -934,82 +982,103 @@ msgstr "last command: %s\n" msgid "Aborting..." msgstr "Aborting..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORM: " + +#: error.c:463 msgid "unknown command error" msgstr "unknown command error" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "bad command type" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "bad connector" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "bad jump" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: unbound variable" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\atimed out waiting for input: auto-logout\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "cannot redirect standard input from /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: ‘%c’: invalid format character" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "execute_coproc: coproc [%d:%s] still exists" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "pipe error" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: maximum eval nesting level exceeded (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: maximum source nesting level exceeded (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: maximum function nesting level exceeded (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: restricted: cannot specify ‘/’ in command names" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: command not found" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: bad interpreter" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: cannot execute binary file: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "‘%s’: is a special builtin" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "cannot duplicate fd %d to fd %d" @@ -1054,37 +1123,37 @@ msgstr "identifier expected after pre-increment or pre-decrement" msgid "missing `)'" msgstr "missing ‘)’" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "syntax error: operand expected" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "syntax error: invalid arithmetic operator" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (error token is “%s”)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "invalid arithmetic base" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "value too great for base" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: expression error\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: cannot access parent directories" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "cannot reset nodelay mode for fd %d" @@ -1099,148 +1168,148 @@ msgstr "cannot allocate new file descriptor for bash input from fd %d" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: buffer already exists for new fd %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "forked pid %d appears in running job %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "deleting stopped job %d with process group %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: process %5ld (%s) in the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) marked as still alive" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: no such pid" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Done" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Stopped" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Stopped(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Running" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Done(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Exit %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Unknown status" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(core dumped) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "child setpgid (%ld to %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld is not a child of this shell" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: No record of process %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: job %d is stopped" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: job has terminated" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: job %d already in background" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: turning on WNOHANG to avoid indefinite block" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: line %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (core dumped)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd now: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp failed" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: line discipline" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "cannot set terminal process group (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "no job control in this shell" @@ -1294,17 +1363,17 @@ msgstr "realloc: underflow detected; mh_nbytes out of range" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: start and end chunk sizes differ" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: alloc table is full with FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p already in table as allocated?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p already in table as free?\n" @@ -1328,7 +1397,7 @@ msgstr "%s: invalid service" msgid "%s: bad network path specification" msgstr "%s: bad network path specification" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "network operations not supported" @@ -1365,224 +1434,261 @@ msgstr "You have new mail in $_" msgid "The mail in %s has been read\n" msgstr "The mail in %s has been read\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "syntax error: arithmetic expression required" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "syntax error: ‘;’ unexpected" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "syntax error: ‘((%s))’" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: bad instruction type %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "here-document at line %d delimited by end-of-file (wanted ‘%s’)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: redirection instruction ‘%d’ out of range" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "maximum here-document count exceeded" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "unexpected EOF while looking for matching ‘%c’" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "unexpected EOF while looking for ‘]]’" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "syntax error in conditional expression: unexpected token ‘%s’" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "syntax error in conditional expression" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "unexpected token ‘%s’, expected ‘)’" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "expected ‘)’" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "unexpected argument ‘%s’ to conditional unary operator" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "unexpected argument to conditional unary operator" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "unexpected token ‘%s’, conditional binary operator expected" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "conditional binary operator expected" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "unexpected argument ‘%s’ to conditional binary operator" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "unexpected argument to conditional binary operator" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "unexpected token ‘%c’ in conditional command" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "unexpected token ‘%s’ in conditional command" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "unexpected token %d in conditional command" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "syntax error near unexpected token ‘%s’" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "syntax error near ‘%s’" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "syntax error: unexpected end of file" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "syntax error" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Use “%s” to leave the shell.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "unexpected EOF while looking for matching ‘)’" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: function ‘%s’ not found" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "programmable_completion: %s: possible retry loop" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: bad connector ‘%d’" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: invalid file descriptor" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: NULL file pointer" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: ‘%c’: invalid format character" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "file descriptor out of range" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: ambiguous redirect" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: cannot overwrite existing file" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: restricted: cannot redirect output" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "cannot create temp file for here-document: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: cannot assign fd to variable" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port not supported without networking" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "redirection error: cannot duplicate fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "could not find /tmp, please create!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp must be a valid directory name" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: invalid option" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "cannot set uid to %d: effective uid %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "cannot set gid to %d: effective gid %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "cannot start debugger; debugging mode disabled" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: Is a directory" + +#: shell.c:1777 msgid "I have no name!" msgstr "I have no name!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, version %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1591,42 +1697,52 @@ msgstr "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU long options:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Shell options:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s or -o option\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Type ‘%s -c “help set”’ for more information about shell " "options.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Type ‘%s -c help’ for more information about shell builtin commands.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Use the ‘bashbug’ command to report bugs.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "bash home page: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "General help using GNU software: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: invalid operation" @@ -1800,77 +1916,91 @@ msgstr "Unknown Signal #" msgid "Unknown Signal #%d" msgstr "Unknown Signal #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "bad substitution: no closing ‘%s’ in %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: cannot assign list to array member" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "cannot make pipe for process substitution" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "cannot make child for process substitution" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "cannot open named pipe %s for reading" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "cannot open named pipe %s for writing" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "cannot duplicate named pipe %s as fd %d" -#: subst.c:5376 +#: subst.c:5959 +msgid "command substitution: ignored null byte in input" +msgstr "command substitution: ignored null byte in input" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "cannot make pipe for command substitution" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "cannot make child for command substitution" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: cannot duplicate pipe as fd 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: invalid variable name for name reference" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: bad substitution" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: invalid indirect expansion" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: invalid variable name" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parameter null or not set" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: substring expression < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: bad substitution" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: cannot assign in this way" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1878,12 +2008,12 @@ msgstr "" "future versions of the shell will force evaluation as an arithmetic " "substitution" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "bad substitution: no closing “`” in %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "no match: %s" @@ -1897,123 +2027,123 @@ msgstr "argument expected" msgid "%s: integer expression expected" msgstr "%s: integer expression expected" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "‘)’ expected" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "‘)’ expected, found %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: unary operator expected" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: binary operator expected" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "missing ‘]’" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "invalid signal number" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: bad value in trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: bad signal %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "error importing function definition for ‘%s’" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "shell level (%d) too high, resetting to 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: circular name reference" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: no function context at current scope" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: variable may not be assigned value" -#: variables.c:3646 +#: variables.c:3043 +#, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: assigning integer to name reference" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: no function context at current scope" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s has null exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "invalid character %d in exportstr for %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "no ‘=’ in exportstr for %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: head of shell_variables not a function context" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: no global_variables context" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: head of shell_variables not a temporary environment scope" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: cannot open as FILE" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: invalid value for trace file descriptor" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: compatibility value out of range" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright (C) 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2016 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2036,10 +2166,6 @@ msgstr "This is free software; you are free to change and redistribute it." msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "There is NO WARRANTY, to the extent permitted by law." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2012 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2060,15 +2186,15 @@ msgstr "%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: cannot allocate %lu bytes" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [name[=value] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] name [name ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -2076,111 +2202,99 @@ msgstr "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [shell-builtin [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [expr]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]] [-@]] [dir]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] command [arg ...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] name[=value] ..." - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] name[=value] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [option] name[=value] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f filename] [name ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts optstring name [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [job_spec]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [job_spec ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p pathname] [-dt] [name ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [pattern ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2188,15 +2302,15 @@ msgstr "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" -msgstr "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" +msgstr "disown [-h] [-ar] [jobspec ... | pid ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2204,11 +2318,11 @@ msgstr "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2216,99 +2330,95 @@ msgstr "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [name ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [name[=value] ...] or export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [name[=value] ...] or readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source filename [arguments]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". filename [arguments]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [expr]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] signal_spec ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] name [name ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [mode]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [id ...]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [pid ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NAME [in WORDS ... ] ; do COMMANDS; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( exp1; exp2; exp3 )); do COMMANDS; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NAME [in WORDS ... ;] do COMMANDS; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] pipeline" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2316,63 +2426,63 @@ msgstr "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while COMMANDS; do COMMANDS; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until COMMANDS; do COMMANDS; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NAME] command [redirections]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function name { COMMANDS ; } or name () { COMMANDS ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ COMMANDS ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( expression ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ expression ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - Names and meanings of some shell variables" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | dir]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [optname ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] format [arguments]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2382,27 +2492,27 @@ msgstr "" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o option] [-DE] [name ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2410,7 +2520,7 @@ msgstr "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2422,7 +2532,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2440,30 +2550,30 @@ msgstr "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " "been\n" " defined." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2497,7 +2607,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2535,13 +2646,14 @@ msgstr "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2559,7 +2671,7 @@ msgstr "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2577,7 +2689,7 @@ msgstr "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2601,7 +2713,7 @@ msgstr "" " Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is\n" " not a shell builtin.." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2630,7 +2742,7 @@ msgstr "" " Returns 0 unless the shell is not executing a shell function or EXPR\n" " is invalid." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2653,16 +2765,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2695,16 +2807,16 @@ msgstr "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of ‘..’\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof ‘..’\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of ‘..’\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of ‘..’\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if ‘-L’ were " "specified.\n" @@ -2717,13 +2829,13 @@ msgstr "" "when\n" " -P is used; non-zero otherwise." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2736,7 +2848,7 @@ msgstr "" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, ‘pwd’ behaves as if ‘-L’ were specified.\n" @@ -2745,7 +2857,7 @@ msgstr "" " Returns 0 unless an invalid option is given or the current directory\n" " cannot be read." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2761,7 +2873,7 @@ msgstr "" " Exit Status:\n" " Always succeeds." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2773,7 +2885,7 @@ msgstr "" " Exit Status:\n" " Always succeeds." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2785,7 +2897,7 @@ msgstr "" " Exit Status:\n" " Always fails." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2795,10 +2907,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2811,16 +2923,16 @@ msgstr "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the ‘type’ " +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the ‘type’ " "builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2830,9 +2942,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2867,9 +2979,9 @@ msgstr "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2897,17 +3009,17 @@ msgstr "" " Returns success unless an invalid option is supplied or a variable\n" " assignment error occurs." -#: builtins.c:527 +#: builtins.c:530 msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Set variable values and attributes.\n" " \n" -" Obsolete. See ‘help declare’." +" A synonym for ‘declare’. See ‘help declare’." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2933,7 +3045,7 @@ msgstr "" " Returns success unless an invalid option is supplied, a variable\n" " assignment error occurs, or the shell is not executing a function." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2959,9 +3071,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2990,14 +3102,14 @@ msgstr "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3019,7 +3131,7 @@ msgstr "" " Exit Status:\n" " Returns success unless a write error occurs." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3069,7 +3181,7 @@ msgstr "" " Exit Status:\n" " Returns success unless NAME is not a shell builtin or an error occurs." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3089,7 +3201,7 @@ msgstr "" " Exit Status:\n" " Returns exit status of command or success if command is null." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3170,7 +3282,7 @@ msgstr "" " Returns success if an option is found; fails if the end of options is\n" " encountered or an error occurs." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3181,8 +3293,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3201,8 +3313,8 @@ msgstr "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3212,7 +3324,7 @@ msgstr "" " Returns success unless COMMAND is not found or a redirection error " "occurs." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3224,7 +3336,7 @@ msgstr "" " Exits the shell with a status of N. If N is omitted, the exit status\n" " is that of the last command executed." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3238,7 +3350,7 @@ msgstr "" "executed\n" " in a login shell." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3286,8 +3398,8 @@ msgstr "" " With the ‘fc -s [pat=rep ...] [command]’ format, COMMAND is\n" " re-executed after the substitution OLD=NEW is performed.\n" " \n" -" A useful alias to use with this is r='fc -s', so that typing ‘r " -"cc’\n" +" A useful alias to use with this is r='fc -s', so that typing ‘r cc" +"[0m’\n" " runs the last command beginning with ‘cc’ and typing ‘r’ re-" "executes\n" " the last command.\n" @@ -3296,7 +3408,7 @@ msgstr "" " Returns success or status of executed command; non-zero if an error " "occurs." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3316,7 +3428,7 @@ msgstr "" " Exit Status:\n" " Status of command placed in foreground, or failure if an error occurs." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3340,7 +3452,7 @@ msgstr "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3349,15 +3461,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3370,21 +3482,21 @@ msgstr "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3396,7 +3508,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3415,7 +3527,7 @@ msgstr "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3424,7 +3536,7 @@ msgstr "" " Returns success unless PATTERN is not found or an invalid option is " "given." -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -3433,23 +3545,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3465,23 +3577,23 @@ msgstr "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3489,7 +3601,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3499,7 +3611,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3520,7 +3632,7 @@ msgstr "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3533,7 +3645,7 @@ msgstr "" " Returns success unless an invalid option is given or an error occurs.\n" " If -x is used, returns the exit status of COMMAND." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3543,7 +3655,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3557,13 +3669,13 @@ msgstr "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -3575,7 +3687,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3594,7 +3707,8 @@ msgstr "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow ‘-l’ they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3603,7 +3717,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3689,7 +3803,7 @@ msgstr "" " Exit Status:\n" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3710,27 +3824,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3758,27 +3873,28 @@ msgstr "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3787,7 +3903,7 @@ msgstr "" "occurs,\n" " or an invalid file descriptor is supplied as the argument to -u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3807,7 +3923,7 @@ msgstr "" " Exit Status:\n" " Returns N, or failure if the shell is not executing a function or script." -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3875,7 +3991,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3957,7 +4074,8 @@ msgstr "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3973,7 +4091,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is given." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3983,7 +4101,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4002,7 +4120,7 @@ msgstr "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4013,7 +4131,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is given or a NAME is read-only." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4047,7 +4165,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -4059,9 +4177,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4078,16 +4195,15 @@ msgstr "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of ‘--’ disables further option processing.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4105,7 +4221,7 @@ msgstr "" " Exit Status:\n" " Returns success unless N is negative or greater than $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4129,7 +4245,7 @@ msgstr "" " Returns the status of the last command executed in FILENAME; fails if\n" " FILENAME cannot be read." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4153,7 +4269,7 @@ msgstr "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4217,9 +4333,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4297,9 +4413,9 @@ msgstr "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4315,7 +4431,7 @@ msgstr "" " Returns success if EXPR evaluates to true; fails if EXPR evaluates to\n" " false or an invalid argument is given." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4328,7 +4444,7 @@ msgstr "" "must\n" " be a literal ‘]’, to match the opening ‘[’." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4348,7 +4464,7 @@ msgstr "" " Exit Status:\n" " Always succeeds." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4433,7 +4549,7 @@ msgstr "" " Returns success unless a SIGSPEC is invalid or an invalid option is " "given." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4442,18 +4558,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4469,20 +4585,20 @@ msgstr "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe ‘-p’ option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe ‘-p’ option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if ‘type -t NAME’ would not return ‘file’.\n" -" -t\toutput a single word which is one of ‘alias’, " -"‘keyword’,\n" -" \t‘function’, ‘builtin’, ‘file’ or ‘’, if NAME " -"is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\tor nothing if ‘type -t NAME’ would not return ‘file’\n" +" -t\toutput a single word which is one of ‘alias’, ‘keyword" +"[0m’,\n" +" \t\t‘function’, ‘builtin’, ‘file’ or ‘’, if NAME " +"is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4491,7 +4607,7 @@ msgstr "" " Returns success if all of the NAMEs are found; fails if any are not " "found." -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4509,6 +4625,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4520,7 +4637,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4553,6 +4671,7 @@ msgstr "" " -e\tthe maximum scheduling priority (‘nice’)\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4564,7 +4683,8 @@ msgstr "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4582,7 +4702,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4614,7 +4734,7 @@ msgstr "" " Exit Status:\n" " Returns success unless MODE is invalid or an invalid option is given." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4650,7 +4770,7 @@ msgstr "" " Returns the status of the last ID; fails if ID is invalid or an invalid\n" " option is given." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4676,7 +4796,7 @@ msgstr "" "invalid\n" " option is given." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4700,7 +4820,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4730,7 +4850,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4753,8 +4873,8 @@ msgstr "" " \n" " The WORDS are expanded, generating a list of words. The\n" " set of expanded words is printed on the standard error, each\n" -" preceded by a number. If ‘in WORDS’ is not present, ‘in “" -"$@”’\n" +" preceded by a number. If ‘in WORDS’ is not present, ‘in “$@" +"[0m”’\n" " is assumed. The PS3 prompt is then displayed and a line read\n" " from the standard input. If the line consists of the number\n" " corresponding to one of the displayed words, then NAME is set\n" @@ -4767,7 +4887,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4795,7 +4915,7 @@ msgstr "" " Exit Status:\n" " The return status is the return status of PIPELINE." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4813,7 +4933,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4851,7 +4971,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4869,7 +4989,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4887,7 +5007,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4897,7 +5017,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Create a coprocess named NAME.\n" " \n" @@ -4907,9 +5027,9 @@ msgstr "" " The default NAME is “COPROC”.\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4933,7 +5053,7 @@ msgstr "" " Exit Status:\n" " Returns success unless NAME is readonly." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4951,7 +5071,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4976,7 +5096,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the resumed job." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4994,7 +5114,7 @@ msgstr "" " Exit Status:\n" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5048,7 +5168,7 @@ msgstr "" " Exit Status:\n" " 0 or 1 depending on value of EXPRESSION." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5152,7 +5272,7 @@ msgstr "" " HISTIGNORE\tA colon-separated list of patterns used to decide which\n" " \t\tcommands should be saved on the history list.\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5162,19 +5282,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5190,19 +5310,19 @@ msgstr "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by ‘dirs’, starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by ‘dirs’, starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by ‘dirs’, starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by ‘dirs’, starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The ‘dirs’ builtin displays the directory stack.\n" " \n" @@ -5210,7 +5330,7 @@ msgstr "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5219,16 +5339,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5243,18 +5363,18 @@ msgstr "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by ‘dirs’, starting with zero. For example: ‘popd " -"+0’\n" -" \tremoves the first directory, ‘popd +1’ the second.\n" +" \t\tshown by ‘dirs’, starting with zero. For example: ‘popd +0" +"[0m’\n" +" \t\tremoves the first directory, ‘popd +1’ the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by ‘dirs’, starting with zero. For example: ‘popd " -"-0’\n" -" \tremoves the last directory, ‘popd -1’ the next to last.\n" +" \t\tshown by ‘dirs’, starting with zero. For example: ‘popd -0" +"[0m’\n" +" \t\tremoves the last directory, ‘popd -1’ the next to last.\n" " \n" " The ‘dirs’ builtin displays the directory stack.\n" " \n" @@ -5262,7 +5382,7 @@ msgstr "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5273,19 +5393,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5300,24 +5420,24 @@ msgstr "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5355,7 +5475,7 @@ msgstr "" " Returns success if OPTNAME is enabled; fails if an invalid option is\n" " given or OPTNAME is disabled." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5372,15 +5492,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5408,15 +5528,15 @@ msgstr "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5429,7 +5549,7 @@ msgstr "" "assignment\n" " error occurs." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5442,11 +5562,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5466,11 +5586,11 @@ msgstr "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to “empty” commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5479,7 +5599,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5501,7 +5621,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5560,7 +5680,7 @@ msgstr "" " Returns success unless an invalid option is supplied or NAME does not\n" " have a completion specification defined." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5571,20 +5691,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5609,20 +5730,21 @@ msgstr "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5638,7 +5760,7 @@ msgstr "" "or\n" " not an indexed array." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" diff --git a/po/en@quot.gmo b/po/en@quot.gmo index 322bbd64c..54803fc37 100644 Binary files a/po/en@quot.gmo and b/po/en@quot.gmo differ diff --git a/po/en@quot.po b/po/en@quot.po index a0c939d0f..96b71c68f 100644 --- a/po/en@quot.po +++ b/po/en@quot.po @@ -1,7 +1,7 @@ # English translations for GNU bash package. -# Copyright (C) 2014 Free Software Foundation, Inc. +# Copyright (C) 2016 Free Software Foundation, Inc. # This file is distributed under the same license as the GNU bash package. -# Automatically generated, 2014. +# Automatically generated, 2016. # # All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation @@ -27,82 +27,87 @@ # msgid "" msgstr "" -"Project-Id-Version: GNU bash 4.3-release\n" +"Project-Id-Version: GNU bash 4.4-release\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2016-09-10 12:42-0400\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" -"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "bad array subscript" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "%s: removing nameref attribute" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: cannot convert indexed to associative array" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: invalid associative array key" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: cannot assign to non-numeric index" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: must use subscript when assigning associative array" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: cannot create: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: cannot find keymap for command" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: first non-whitespace character is not ‘\"’" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "no closing ‘%c’ in %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: missing colon separator" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "brace expansion: cannot allocate memory for %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "brace expansion: failed to allocate memory for %d elements" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "brace expansion: failed to allocate memory for ‘%s’" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "‘%s’: invalid alias name" @@ -111,45 +116,45 @@ msgstr "‘%s’: invalid alias name" msgid "line editing not enabled" msgstr "line editing not enabled" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "‘%s’: invalid keymap name" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: cannot read: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "‘%s’: cannot unbind" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "‘%s’: unknown function name" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s is not bound to any keys.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s can be invoked via " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "loop count" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "only meaningful in a ‘for’, ‘while’, or ‘until’ loop" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -159,300 +164,328 @@ msgstr "" " \n" " Without EXPR, returns " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME not set" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "too many arguments" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +msgid "null directory" +msgstr "null directory" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD not set" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "line %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "warning: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: usage: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: option requires an argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: numeric argument required" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: not found" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: invalid option" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: invalid option name" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "‘%s’: not a valid identifier" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "invalid octal number" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "invalid hex number" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "invalid number" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: invalid signal specification" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "‘%s’: not a pid or valid job spec" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: readonly variable" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s out of range" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s out of range" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: no such job" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: no job control" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "no job control" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: restricted" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "restricted" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: not a shell builtin" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "write error: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "error setting terminal attributes: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "error getting terminal attributes: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: error retrieving current directory: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: ambiguous job spec" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "help not available in this version" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: invalid action name" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: no completion specification" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "warning: -F option may not work as you expect" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "warning: -C option may not work as you expect" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "not currently executing completion function" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "can only be used in a function" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: reference variable cannot be an array" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: nameref variable self references not allowed" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: circular name reference" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "‘%s’: invalid variable name for name reference" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "cannot use ‘-f’ to make functions" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: readonly function" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: quoted compound array assignment deprecated" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: cannot destroy array variables in this way" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: cannot convert associative to indexed array" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dynamic loading not available" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "cannot open shared object %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "cannot find %s in shared object %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "load function for %s returns failure (%d): not loaded" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: not dynamically loaded" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: cannot delete: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: is a directory" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: not a regular file" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: file is too large" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: cannot execute binary file" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: cannot execute: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "logout\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "not login shell: use ‘exit’" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "There are stopped jobs.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "There are running jobs.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "no command found" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "history specification" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: cannot open temp file: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "current" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "job %d started without job control" @@ -471,36 +504,36 @@ msgstr "%s: option requires an argument -- %c\n" msgid "hashing disabled" msgstr "hashing disabled" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: hash table empty\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "hits\tcommand\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Shell commands matching keyword `" msgstr[1] "Shell commands matching keywords `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" "no help topics match ‘%s’. Try ‘help help’ or ‘man -k %s’ or ‘info %s’." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: cannot open: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -519,15 +552,20 @@ msgstr "" "A star (*) next to a name means that the command is disabled.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "cannot use more than one of -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "history position" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, c-format +msgid "%s: invalid timestamp" +msgstr "%s: invalid timestamp" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: history expansion failed" @@ -541,113 +579,113 @@ msgstr "%s: inlib failed" msgid "no other options allowed with `-x'" msgstr "no other options allowed with ‘-x’" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: arguments must be process or job IDs" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Unknown error" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "expression expected" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: not an indexed array" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: invalid file descriptor specification" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: invalid file descriptor: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: invalid line count" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: invalid array origin" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: invalid callback quantum" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "empty array variable name" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "array variable support required" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "‘%s’: missing format character" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "‘%c’: invalid time format specification" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "‘%c’: invalid format character" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "warning: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "format parsing problem: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "missing hex digit for \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "missing unicode digit for \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "no other directory" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: invalid argument" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "directory stack empty" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "directory stack index" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -691,7 +729,7 @@ msgstr "" "by\n" "\tdirs when invoked without options, starting with zero." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -737,7 +775,7 @@ msgstr "" " \n" " The ‘dirs’ builtin displays the directory stack." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -775,143 +813,153 @@ msgstr "" " \n" " The ‘dirs’ builtin displays the directory stack." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: invalid timeout specification" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "read error: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "can only ‘return’ from a function or sourced script" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "cannot simultaneously unset a function and a variable" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: cannot unset" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: cannot unset: readonly %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: not an array variable" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: not a function" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: cannot export" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "shift count" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "cannot set and unset shell options simultaneously" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: invalid shell option name" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "filename argument required" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: file not found" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "cannot suspend" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "cannot suspend a login shell" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s is aliased to ‘%s’\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s is a shell keyword\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s is a function\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s is a special shell builtin\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s is a shell builtin\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s is %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s is hashed (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: invalid limit argument" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "‘%c’: bad command" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: cannot get limit: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "limit" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: cannot modify limit: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "octal number" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "‘%c’: invalid symbolic mode operator" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "‘%c’: invalid symbolic mode character" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " line " @@ -925,82 +973,103 @@ msgstr "last command: %s\n" msgid "Aborting..." msgstr "Aborting..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORM: " + +#: error.c:463 msgid "unknown command error" msgstr "unknown command error" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "bad command type" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "bad connector" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "bad jump" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: unbound variable" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\atimed out waiting for input: auto-logout\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "cannot redirect standard input from /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: ‘%c’: invalid format character" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "execute_coproc: coproc [%d:%s] still exists" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "pipe error" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: maximum eval nesting level exceeded (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: maximum source nesting level exceeded (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: maximum function nesting level exceeded (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: restricted: cannot specify ‘/’ in command names" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: command not found" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: bad interpreter" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: cannot execute binary file: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "‘%s’: is a special builtin" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "cannot duplicate fd %d to fd %d" @@ -1045,37 +1114,37 @@ msgstr "identifier expected after pre-increment or pre-decrement" msgid "missing `)'" msgstr "missing ‘)’" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "syntax error: operand expected" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "syntax error: invalid arithmetic operator" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (error token is “%s”)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "invalid arithmetic base" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "value too great for base" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: expression error\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: cannot access parent directories" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "cannot reset nodelay mode for fd %d" @@ -1090,148 +1159,148 @@ msgstr "cannot allocate new file descriptor for bash input from fd %d" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: buffer already exists for new fd %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "forked pid %d appears in running job %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "deleting stopped job %d with process group %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: process %5ld (%s) in the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) marked as still alive" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: no such pid" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Done" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Stopped" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Stopped(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Running" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Done(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Exit %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Unknown status" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(core dumped) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "child setpgid (%ld to %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld is not a child of this shell" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: No record of process %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: job %d is stopped" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: job has terminated" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: job %d already in background" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: turning on WNOHANG to avoid indefinite block" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: line %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (core dumped)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd now: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp failed" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: line discipline" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "cannot set terminal process group (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "no job control in this shell" @@ -1285,17 +1354,17 @@ msgstr "realloc: underflow detected; mh_nbytes out of range" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: start and end chunk sizes differ" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: alloc table is full with FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p already in table as allocated?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p already in table as free?\n" @@ -1319,7 +1388,7 @@ msgstr "%s: invalid service" msgid "%s: bad network path specification" msgstr "%s: bad network path specification" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "network operations not supported" @@ -1356,224 +1425,261 @@ msgstr "You have new mail in $_" msgid "The mail in %s has been read\n" msgstr "The mail in %s has been read\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "syntax error: arithmetic expression required" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "syntax error: ‘;’ unexpected" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "syntax error: ‘((%s))’" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: bad instruction type %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "here-document at line %d delimited by end-of-file (wanted ‘%s’)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: redirection instruction ‘%d’ out of range" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "maximum here-document count exceeded" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "unexpected EOF while looking for matching ‘%c’" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "unexpected EOF while looking for ‘]]’" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "syntax error in conditional expression: unexpected token ‘%s’" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "syntax error in conditional expression" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "unexpected token ‘%s’, expected ‘)’" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "expected ‘)’" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "unexpected argument ‘%s’ to conditional unary operator" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "unexpected argument to conditional unary operator" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "unexpected token ‘%s’, conditional binary operator expected" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "conditional binary operator expected" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "unexpected argument ‘%s’ to conditional binary operator" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "unexpected argument to conditional binary operator" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "unexpected token ‘%c’ in conditional command" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "unexpected token ‘%s’ in conditional command" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "unexpected token %d in conditional command" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "syntax error near unexpected token ‘%s’" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "syntax error near ‘%s’" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "syntax error: unexpected end of file" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "syntax error" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Use “%s” to leave the shell.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "unexpected EOF while looking for matching ‘)’" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: function ‘%s’ not found" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "programmable_completion: %s: possible retry loop" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: bad connector ‘%d’" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: invalid file descriptor" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: NULL file pointer" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: ‘%c’: invalid format character" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "file descriptor out of range" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: ambiguous redirect" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: cannot overwrite existing file" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: restricted: cannot redirect output" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "cannot create temp file for here-document: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: cannot assign fd to variable" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port not supported without networking" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "redirection error: cannot duplicate fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "could not find /tmp, please create!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp must be a valid directory name" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: invalid option" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "cannot set uid to %d: effective uid %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "cannot set gid to %d: effective gid %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "cannot start debugger; debugging mode disabled" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: Is a directory" + +#: shell.c:1777 msgid "I have no name!" msgstr "I have no name!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, version %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1582,39 +1688,49 @@ msgstr "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU long options:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Shell options:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s or -o option\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "Type ‘%s -c “help set”’ for more information about shell options.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "Type ‘%s -c help’ for more information about shell builtin commands.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Use the ‘bashbug’ command to report bugs.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "bash home page: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "General help using GNU software: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: invalid operation" @@ -1788,77 +1904,91 @@ msgstr "Unknown Signal #" msgid "Unknown Signal #%d" msgstr "Unknown Signal #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "bad substitution: no closing ‘%s’ in %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: cannot assign list to array member" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "cannot make pipe for process substitution" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "cannot make child for process substitution" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "cannot open named pipe %s for reading" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "cannot open named pipe %s for writing" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "cannot duplicate named pipe %s as fd %d" -#: subst.c:5376 +#: subst.c:5959 +msgid "command substitution: ignored null byte in input" +msgstr "command substitution: ignored null byte in input" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "cannot make pipe for command substitution" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "cannot make child for command substitution" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: cannot duplicate pipe as fd 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: invalid variable name for name reference" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: bad substitution" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: invalid indirect expansion" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: invalid variable name" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parameter null or not set" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: substring expression < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: bad substitution" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: cannot assign in this way" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1866,12 +1996,12 @@ msgstr "" "future versions of the shell will force evaluation as an arithmetic " "substitution" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "bad substitution: no closing “`” in %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "no match: %s" @@ -1885,123 +2015,123 @@ msgstr "argument expected" msgid "%s: integer expression expected" msgstr "%s: integer expression expected" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "‘)’ expected" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "‘)’ expected, found %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: unary operator expected" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: binary operator expected" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "missing ‘]’" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "invalid signal number" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: bad value in trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: bad signal %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "error importing function definition for ‘%s’" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "shell level (%d) too high, resetting to 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: circular name reference" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: no function context at current scope" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: variable may not be assigned value" -#: variables.c:3646 +#: variables.c:3043 +#, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: assigning integer to name reference" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: no function context at current scope" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s has null exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "invalid character %d in exportstr for %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "no ‘=’ in exportstr for %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: head of shell_variables not a function context" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: no global_variables context" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: head of shell_variables not a temporary environment scope" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: cannot open as FILE" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: invalid value for trace file descriptor" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: compatibility value out of range" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright (C) 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2016 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2024,10 +2154,6 @@ msgstr "This is free software; you are free to change and redistribute it." msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "There is NO WARRANTY, to the extent permitted by law." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2012 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2048,15 +2174,15 @@ msgstr "%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: cannot allocate %lu bytes" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [name[=value] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] name [name ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -2064,111 +2190,99 @@ msgstr "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [shell-builtin [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [expr]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]] [-@]] [dir]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] command [arg ...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] name[=value] ..." - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] name[=value] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [option] name[=value] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f filename] [name ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts optstring name [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [job_spec]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [job_spec ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p pathname] [-dt] [name ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [pattern ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2176,15 +2290,15 @@ msgstr "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" -msgstr "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" +msgstr "disown [-h] [-ar] [jobspec ... | pid ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2192,11 +2306,11 @@ msgstr "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2204,99 +2318,95 @@ msgstr "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [name ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [name[=value] ...] or export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [name[=value] ...] or readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source filename [arguments]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". filename [arguments]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [expr]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] signal_spec ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] name [name ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [mode]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [id ...]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [pid ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NAME [in WORDS ... ] ; do COMMANDS; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( exp1; exp2; exp3 )); do COMMANDS; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NAME [in WORDS ... ;] do COMMANDS; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] pipeline" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2304,63 +2414,63 @@ msgstr "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while COMMANDS; do COMMANDS; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until COMMANDS; do COMMANDS; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NAME] command [redirections]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function name { COMMANDS ; } or name () { COMMANDS ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ COMMANDS ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( expression ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ expression ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - Names and meanings of some shell variables" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | dir]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [optname ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] format [arguments]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2370,27 +2480,27 @@ msgstr "" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o option] [-DE] [name ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2398,7 +2508,7 @@ msgstr "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2410,7 +2520,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2427,30 +2537,30 @@ msgstr "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " "been\n" " defined." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2484,7 +2594,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2522,13 +2633,14 @@ msgstr "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2546,7 +2658,7 @@ msgstr "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2564,7 +2676,7 @@ msgstr "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2588,7 +2700,7 @@ msgstr "" " Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is\n" " not a shell builtin.." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2616,7 +2728,7 @@ msgstr "" " Returns 0 unless the shell is not executing a shell function or EXPR\n" " is invalid." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2639,16 +2751,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2681,16 +2793,16 @@ msgstr "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of ‘..’\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof ‘..’\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of ‘..’\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of ‘..’\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if ‘-L’ were specified.\n" " ‘..’ is processed by removing the immediately previous pathname " @@ -2702,13 +2814,13 @@ msgstr "" "when\n" " -P is used; non-zero otherwise." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2721,7 +2833,7 @@ msgstr "" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, ‘pwd’ behaves as if ‘-L’ were specified.\n" @@ -2730,7 +2842,7 @@ msgstr "" " Returns 0 unless an invalid option is given or the current directory\n" " cannot be read." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2746,7 +2858,7 @@ msgstr "" " Exit Status:\n" " Always succeeds." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2758,7 +2870,7 @@ msgstr "" " Exit Status:\n" " Always succeeds." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2770,7 +2882,7 @@ msgstr "" " Exit Status:\n" " Always fails." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2780,10 +2892,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2796,15 +2908,15 @@ msgstr "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the ‘type’ builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the ‘type’ builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2814,9 +2926,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2851,9 +2963,9 @@ msgstr "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2880,17 +2992,17 @@ msgstr "" " Returns success unless an invalid option is supplied or a variable\n" " assignment error occurs." -#: builtins.c:527 +#: builtins.c:530 msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Set variable values and attributes.\n" " \n" -" Obsolete. See ‘help declare’." +" A synonym for ‘declare’. See ‘help declare’." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2916,7 +3028,7 @@ msgstr "" " Returns success unless an invalid option is supplied, a variable\n" " assignment error occurs, or the shell is not executing a function." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2942,9 +3054,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2973,14 +3085,14 @@ msgstr "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3002,7 +3114,7 @@ msgstr "" " Exit Status:\n" " Returns success unless a write error occurs." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3052,7 +3164,7 @@ msgstr "" " Exit Status:\n" " Returns success unless NAME is not a shell builtin or an error occurs." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3072,7 +3184,7 @@ msgstr "" " Exit Status:\n" " Returns exit status of command or success if command is null." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3150,7 +3262,7 @@ msgstr "" " Returns success if an option is found; fails if the end of options is\n" " encountered or an error occurs." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3161,8 +3273,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3181,8 +3293,8 @@ msgstr "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3192,7 +3304,7 @@ msgstr "" " Returns success unless COMMAND is not found or a redirection error " "occurs." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3204,7 +3316,7 @@ msgstr "" " Exits the shell with a status of N. If N is omitted, the exit status\n" " is that of the last command executed." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3218,7 +3330,7 @@ msgstr "" "executed\n" " in a login shell." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3274,7 +3386,7 @@ msgstr "" " Returns success or status of executed command; non-zero if an error " "occurs." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3294,7 +3406,7 @@ msgstr "" " Exit Status:\n" " Status of command placed in foreground, or failure if an error occurs." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3318,7 +3430,7 @@ msgstr "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3327,15 +3439,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3348,21 +3460,21 @@ msgstr "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3374,7 +3486,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3393,7 +3505,7 @@ msgstr "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3402,7 +3514,7 @@ msgstr "" " Returns success unless PATTERN is not found or an invalid option is " "given." -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -3411,23 +3523,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3442,23 +3554,23 @@ msgstr "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3466,7 +3578,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3476,7 +3588,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3497,7 +3609,7 @@ msgstr "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3510,7 +3622,7 @@ msgstr "" " Returns success unless an invalid option is given or an error occurs.\n" " If -x is used, returns the exit status of COMMAND." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3520,7 +3632,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3534,13 +3646,13 @@ msgstr "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -3552,7 +3664,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3571,7 +3684,8 @@ msgstr "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow ‘-l’ they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3580,7 +3694,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3666,7 +3780,7 @@ msgstr "" " Exit Status:\n" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3687,27 +3801,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3735,27 +3850,28 @@ msgstr "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3764,7 +3880,7 @@ msgstr "" "occurs,\n" " or an invalid file descriptor is supplied as the argument to -u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3784,7 +3900,7 @@ msgstr "" " Exit Status:\n" " Returns N, or failure if the shell is not executing a function or script." -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3852,7 +3968,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3934,7 +4051,8 @@ msgstr "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3950,7 +4068,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is given." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3960,7 +4078,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3979,7 +4097,7 @@ msgstr "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3990,7 +4108,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is given or a NAME is read-only." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4024,7 +4142,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -4036,9 +4154,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4055,16 +4172,15 @@ msgstr "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of ‘--’ disables further option processing.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4082,7 +4198,7 @@ msgstr "" " Exit Status:\n" " Returns success unless N is negative or greater than $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4106,7 +4222,7 @@ msgstr "" " Returns the status of the last command executed in FILENAME; fails if\n" " FILENAME cannot be read." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4130,7 +4246,7 @@ msgstr "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4194,9 +4310,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4274,9 +4390,9 @@ msgstr "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4292,7 +4408,7 @@ msgstr "" " Returns success if EXPR evaluates to true; fails if EXPR evaluates to\n" " false or an invalid argument is given." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4304,7 +4420,7 @@ msgstr "" " This is a synonym for the “test” builtin, but the last argument must\n" " be a literal ‘]’, to match the opening ‘[’." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4324,7 +4440,7 @@ msgstr "" " Exit Status:\n" " Always succeeds." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4408,7 +4524,7 @@ msgstr "" " Returns success unless a SIGSPEC is invalid or an invalid option is " "given." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4417,18 +4533,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4444,18 +4560,18 @@ msgstr "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe ‘-p’ option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe ‘-p’ option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if ‘type -t NAME’ would not return ‘file’.\n" +" \t\tor nothing if ‘type -t NAME’ would not return ‘file’\n" " -t\toutput a single word which is one of ‘alias’, ‘keyword’,\n" -" \t‘function’, ‘builtin’, ‘file’ or ‘’, if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t‘function’, ‘builtin’, ‘file’ or ‘’, if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4464,7 +4580,7 @@ msgstr "" " Returns success if all of the NAMEs are found; fails if any are not " "found." -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4482,6 +4598,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4493,7 +4610,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4526,6 +4644,7 @@ msgstr "" " -e\tthe maximum scheduling priority (‘nice’)\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4537,7 +4656,8 @@ msgstr "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4554,7 +4674,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4586,7 +4706,7 @@ msgstr "" " Exit Status:\n" " Returns success unless MODE is invalid or an invalid option is given." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4622,7 +4742,7 @@ msgstr "" " Returns the status of the last ID; fails if ID is invalid or an invalid\n" " option is given." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4648,7 +4768,7 @@ msgstr "" "invalid\n" " option is given." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4670,7 +4790,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4700,7 +4820,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4736,7 +4856,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4764,7 +4884,7 @@ msgstr "" " Exit Status:\n" " The return status is the return status of PIPELINE." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4782,7 +4902,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4820,7 +4940,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4838,7 +4958,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4856,7 +4976,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4866,7 +4986,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Create a coprocess named NAME.\n" " \n" @@ -4876,9 +4996,9 @@ msgstr "" " The default NAME is “COPROC”.\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4902,7 +5022,7 @@ msgstr "" " Exit Status:\n" " Returns success unless NAME is readonly." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4920,7 +5040,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the last command executed." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4944,7 +5064,7 @@ msgstr "" " Exit Status:\n" " Returns the status of the resumed job." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4962,7 +5082,7 @@ msgstr "" " Exit Status:\n" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5014,7 +5134,7 @@ msgstr "" " Exit Status:\n" " 0 or 1 depending on value of EXPRESSION." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5118,7 +5238,7 @@ msgstr "" " HISTIGNORE\tA colon-separated list of patterns used to decide which\n" " \t\tcommands should be saved on the history list.\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5128,19 +5248,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5156,19 +5276,19 @@ msgstr "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by ‘dirs’, starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by ‘dirs’, starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by ‘dirs’, starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by ‘dirs’, starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The ‘dirs’ builtin displays the directory stack.\n" " \n" @@ -5176,7 +5296,7 @@ msgstr "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5185,16 +5305,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5209,16 +5329,16 @@ msgstr "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by ‘dirs’, starting with zero. For example: ‘popd +0’\n" -" \tremoves the first directory, ‘popd +1’ the second.\n" +" \t\tshown by ‘dirs’, starting with zero. For example: ‘popd +0’\n" +" \t\tremoves the first directory, ‘popd +1’ the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by ‘dirs’, starting with zero. For example: ‘popd -0’\n" -" \tremoves the last directory, ‘popd -1’ the next to last.\n" +" \t\tshown by ‘dirs’, starting with zero. For example: ‘popd -0’\n" +" \t\tremoves the last directory, ‘popd -1’ the next to last.\n" " \n" " The ‘dirs’ builtin displays the directory stack.\n" " \n" @@ -5226,7 +5346,7 @@ msgstr "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5237,19 +5357,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5263,24 +5383,24 @@ msgstr "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5318,7 +5438,7 @@ msgstr "" " Returns success if OPTNAME is enabled; fails if an invalid option is\n" " given or OPTNAME is disabled." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5335,15 +5455,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5371,15 +5491,15 @@ msgstr "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5392,7 +5512,7 @@ msgstr "" "assignment\n" " error occurs." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5405,11 +5525,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5429,11 +5549,11 @@ msgstr "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to “empty” commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5442,7 +5562,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5464,7 +5584,7 @@ msgstr "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5522,7 +5642,7 @@ msgstr "" " Returns success unless an invalid option is supplied or NAME does not\n" " have a completion specification defined." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5533,20 +5653,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5571,20 +5692,21 @@ msgstr "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5600,7 +5722,7 @@ msgstr "" "or\n" " not an indexed array." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" diff --git a/po/eo.gmo b/po/eo.gmo index 4c35a7d6f..90aef6b1c 100644 Binary files a/po/eo.gmo and b/po/eo.gmo differ diff --git a/po/eo.po b/po/eo.po index c75a151eb..f0a372e35 100644 --- a/po/eo.po +++ b/po/eo.po @@ -1,10 +1,10 @@ # Esperanto language file for GNU Bash. # Copyright (C) 2011 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. -# Sergio Pokrovskij , 1998, 2006, 2009, 2011, 2014. +# Sergio Pokrovskij , 1998, 2006, 2009, 2011, 2014, 2015. # -# -*- eval: (po-consider-source-path "~/Documents/Eo/Work/i18n/bash-4.3-rc2/builtins"); -*- -# -*- eval: (po-consider-source-path "~/Documents/Eo/Work/i18n/bash-4.3-rc2"); -*- +# -*- eval: (po-consider-source-path "~/Documents/Eo/Work/i18n/bash-4.4/bash-4.4-beta/builtins"); -*- +# -*- eval: (po-consider-source-path "~/Documents/Eo/Work/i18n/4.4/bash-4.4-beta"); -*- # Stilaj notoj: # La angulaj citiloj limigas «plurajn vortojn», # 99-66 estas la citiloj de „unuvortaĵo‟ @@ -15,6 +15,7 @@ # associative array asocitabelo (info "(bash)Arrays") # brace expansion vinkulmalvolvo # callback retrovoko +# compound array assignment tutopa tabelvalorizo # extended file attributes kromatributoj (de dosiero) # to force ... per superforto # granted jesigita @@ -27,86 +28,92 @@ # unset malvalorizi (variablon); malaktivigi, malŝalti (opcion, nomon) msgid "" msgstr "" -"Project-Id-Version: GNU bash 4.3-rc2\n" +"Project-Id-Version: GNU bash 4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-01-31 20:06+0700\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-21 14:06+0300\n" "Last-Translator: Sergio Pokrovskij \n" "Language-Team: Esperanto \n" -"Language: eo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: eo\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "Misa tabel-indico" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: Maleblas konverti entjerindican tabelon en asocitabelon" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: Misa asocitabela ŝlosilo" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: Valorizato havu nombran indicon" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: Valorizante per asocitabelo uzu indicon" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: Ne prosperis krei: %s" # XXX: internal_error -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: Mankas klavartabelo por komando" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: La unua ne-blankspaca signo ne estas „\"‟" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "Mankas ferma „%c‟ en %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: Mankas disiga dupunkto" # XXX: internal_error -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "vinkulmalvolvo: Maleblas memorhavigo por %s" # XXX: internal_error -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "vinkulmalvolvo: Fiaskis memorhavigo por %d elementoj" # XXX: internal_error -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "vinkulmalvolvo: Fiaskis memorhavigo por %s" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "%s: MaltaÅ­gas por uzi kiel alinomon" @@ -115,45 +122,45 @@ msgstr "%s: MaltaÅ­gas por uzi kiel alinomon" msgid "line editing not enabled" msgstr "liniredaktado ne estas ebligita" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "„%s‟: Misa nomo por klavartabelo" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: Ne eblas legi: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "%s: Ne eblas malligi" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "%s: Nekonata funkcinomo" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s malhavas klavligon\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s vokeblas per " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "iteracinombrilo" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "Sencas nur en iteracio „for‟, „while‟ aÅ­ „until‟" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -163,300 +170,329 @@ msgstr "" "\n" " Sen ESPR liveras " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME malhavas valoron" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "Tro multe da argumentoj" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "Ne estas alia dosierujo" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD malhavas valoron" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "linio %dª: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "Averto: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: Uzmaniero: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: La opcio bezonas argumenton" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: Necesas nombra argumento" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: Ne trovita" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: Misa opcio" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: Misa opcinomo" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "„%s‟ ne estas taÅ­ga nomo" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "Misa okuma nombro" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "Misa 16uma nombro" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "Misa nombro" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: Misa signalindiko" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "„%s‟: Nek proceznumero, nek taÅ­ga laborindiko" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: Nurlega variablo" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s estas ekster sia variejo" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argumento" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s estas ekster sia variejo" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: Ne estas tia laboro" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: Ĉi tiu ŝelo ne disponigas laborregadon" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "Laborregado ne disponeblas" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: Limigita" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "limigita" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "„%s‟ ne estas primitiva komando ŝela" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "Eraro ĉe skribo: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "Eraro ĉe agordado de terminalaj atributoj: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "Eraro ĉe akiro de terminalaj atributoj: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: Eraro ĉe provo determini la kurantan dosierujon: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: Ambigua laborindiko" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "helpilo mankas en ĉi tiu versio" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: Misa nomo de ago" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: Kompletigo ne estas specifita" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "Averto: La opcio -F povas funkcii alie ol vi eble supozas" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "Averto: La opcio -C povas funkcii alie ol vi eble supozas" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "Ni ne estas en plenumado de kompletiga funkcio" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "Uzeblas nur ene de funkcio" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: Referenca variablo ne povas esti tabelo" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: Nomreferenca variablo ne referencu sin mem" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: Cikla nomreferenco" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: Misa variablonomo por nomreferenco" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "„-f‟ ne estas uzebla por fari funkciojn" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: Nurlega funkcio" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: Tutopa tabelvalorizo citila estas evitinda" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: Ĉi tiel ne eblas neniigi tabelvariablojn" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: Ne eblas konverti asocitabelon en entjerindican tabelon" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "Rultempa ŝargo ne disponeblas" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "Ne malfermiĝis dinamika biblioteko %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "Mankas %s en la dinamika biblioteko%s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "Ŝarga funkcio por %s liveris fiaskon (%d): ne ŝargite" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: Ne ŝargita dinamike" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: Ne eblas forigi: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s estas dosierujo" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: Ne ordinara dosiero" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: Tro granda dosiero" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: Neplenumebla duuma dosiero" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: Maleblas plenumi: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "adiaÅ­\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "La ŝelo ne estas saluta; eliru per «exit»" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Restas haltigitaj laboroj.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Restas rulataj laboroj.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "Komando ne trovita" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "Historia indiko" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: Ne malfermiĝis labordosiero: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "kuranta" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "La laboro %d estas lanĉita sen laborregado" @@ -475,25 +511,25 @@ msgstr "%s: La opcio bezonas argumenton -- %c\n" msgid "hashing disabled" msgstr "Nomkonservado (haketado, «hashing») estas malŝaltita" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: Hakettabelo estas malplena\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "Trafoj\tKomando\n" # ZZZ: aĉaj citiloj (fermita en la programo) -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Ŝelaj komandoj kongruaj kun la ŝlosilvorto '" msgstr[1] "Ŝelaj komandoj kongruaj kun la ŝlosilvortoj '" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -501,12 +537,12 @@ msgstr "" "Helpaĵo pri „%s‟ malestas.\n" "Provu «help help» aÅ­ «man -k %s» aÅ­ «info %s»." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: Fiaskis malfermo de %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -525,15 +561,20 @@ msgstr "" "Steleto (*) tuj post nomo indikas, ke la komando estas malebligita.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "Ne pli ol unu el -anrw estas uzebla" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "pozicio en la historio" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: MaltaÅ­ga argumento" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: Historia malvolvo fiaskis" @@ -547,116 +588,116 @@ msgstr "%s: inlib fiaskis" msgid "no other options allowed with `-x'" msgstr "La uzo de „-x‟ malebligas aliajn opciojn" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: Argumento estu proceznumero aÅ­ laborindiko" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Nekonata eraro" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "Mankas esprimo" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: ĝi ne estas entjerindica tabelo" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: Misa indiko de dosiernumero" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: Misa dosiernumero: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: Misa lininombro" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: Misa tabelbazo" # Supozeble callback => retrovoko ?? -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: Misa kvanto ĉe retrovoko" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "Mankas nomo de tabelvariablo" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "necesas subteno de tabelvariabloj" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "„%s‟: Mankas formata signo" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "%c: Misa tempoformato" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "„%c‟: Misa signo formata" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "Averto: %s: %s" # XXX: internal_error -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "Miso ĉe analizado de formato: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "Mankas 16uma cifero por \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "Post „%c‟ mankas unikoda cifero" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "Ne estas alia dosierujo" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: MaltaÅ­ga argumento" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "Dosierujstako malplenas" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "indico de dosierujstako" # dirs [-clpv] [+N] [-N] -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -699,7 +740,7 @@ msgstr "" "\tper „dirs‟ sen opcioj, numerante ekde 0." # pushd [dir | +N | -N] [-n] -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -745,7 +786,7 @@ msgstr "" " Vi povas vidigi la stakon da dosierujoj per la komando „dirs‟." # popd [+N | -N] [-n] -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -784,146 +825,156 @@ msgstr "" "\n" " Vi povas vidigi la stakon da dosierujoj per la komando „dirs‟." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: Misa indiko de atendotempo" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "Lega (read) eraro: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" "„return‟ sencas nur en funkcio aÅ­ punkte vokita („.‟, „source‟) skripto" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "Ne eblas samtempe malaktivigi funkcion kaj variablon" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: Malaktivigo fiaskis" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: Malaktivigo fiaskis: nurlega %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: Ne tabela variablo" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: Ne funkcio" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: Ne eblas eksporti" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "Nombrilo de „shift‟" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "Maleblas samtempe ŝalti kaj malŝalti ŝelan opcion" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: Misa nomo de ŝela opcio" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "Necesas dosiernoma argumento" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: Dosiero ne trovita" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "Ne eblas halteti" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "Ne eblas haltetigi salutan ŝelon" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "„%s‟ alinomas jenon: «%s»\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "„%s‟ estas ŝlosilvorto de la ŝelo\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s estas funkcio\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "„%s‟ estas speciala primitiva ŝelkomando\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "„%s‟ estas primitiva komando de la ŝelo\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "„%s‟ estas „%s‟\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "„%s‟ estas metita en hakettabelon (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: MaltaÅ­ga argumento por limo" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "„%c‟: Misa komando" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: Fiaskis provo legi limon: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "limo" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: Malprosperis ŝanĝi limon: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "Okuma nombro" # Misa modifilo: «umask Z-w» aÅ­ «umask aZw» -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "„%c‟: MaltaÅ­ga simbolo por atingorajta modifilo" # Misa kategorio: ne [rw] ktp -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "„%c‟: La signo ne estas simbolo de atingorajta kategorio" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " linio " @@ -937,85 +988,106 @@ msgstr "La ĵusa komando: %s\n" msgid "Aborting..." msgstr "Ĉesigado ..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORMO: " + +#: error.c:463 msgid "unknown command error" msgstr "Nekonata komand-eraro" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "Misa komandotipo" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "Misa stir-operacio" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "Misa salto" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: Neligita variablo" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aTro longe sen enigo: AÅ­tomata seancofino\n" # XXX: internal error: -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "Fiaskis provo nomumi la disponaĵon «/dev/null» ĉefenigujo: %s" # XXX: internal error: -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: „%c‟: Misa formatsigno" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "Eraro en dukto" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: La ingado de „eval“oj superis sian maksimumon (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: La ingado de „source“oj superis sian maksimumon (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: La ingado de funkcioj superis sian maksimumon (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: Malpermesitas uzi „/‟ en komandonomoj" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: Komando ne trovita" # XXX: internal error: -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: Misa interpretilo" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: Neplenumebla duuma dosiero: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "„%s‟ estas primitiva komando speciala" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "Ne eblas kunnomumi al dosiernumero %d la dosiernumeron %d" @@ -1060,37 +1132,37 @@ msgstr "Post antaÅ­kremento aperu nomo de variablo" msgid "missing `)'" msgstr "Mankas „)‟" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "Sintaksa eraro: Mankas operando" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "Sintaksa eraro: Misa operacisimbolo aritmetika" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (misa simbolo estas „%s‟)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "MaltaÅ­ga bazo nombrosistema" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "Tro granda valoro por bazo de nombrosistemo" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: Misa esprimo\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getwd: Ne eblas atingi patrajn dosierujojn" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "Ne eblas reŝalti senprokrastan reĝimon por dosiernumero %d" @@ -1106,151 +1178,151 @@ msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: La nova dosiernumero (fd %d) jam havas bufron" # ZZZ: sys_error (_("start_pipeline: pgrp pipe")); -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: procezgrupo dukto" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "Forke farita proceznumero %d aperas en rulata laboro %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "Haltigita laboro %d kun procezgrupo %ld estas forigata" # ifdef DEBUG ... internal_warning(): -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: process %5ld (%s) in the_pipeline" # ifdef DEBUG ... internal_warning(): -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) marked as still alive" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: Ne estas tia proceznumero (%ld)!" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signalo %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Farite" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Haltigita" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Haltigita(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Rulata" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Farite(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Eliro %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Nekonata stato" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(nekropsio elŝutita)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (labordosierujo: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "provo atribui (setpgid) procezgrupon %2$ld de la procezido %1$ld" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: La procezo %ld ne estas ido de ĉi tiu ŝelo" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Malestas informoj pri procezo %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: La laboro %d estas haltigita" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: La laboro finiĝis" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: La laboro %d jam estas fona" # XXX: internal warning: -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: WNOHANG iĝas ŝaltita por eviti nedifintan pendiĝon" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: linio %dª: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr "(nekropsio elŝutita)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(nun labordosierujo estas: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp fiaskis" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: liniaranĝo" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid()" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "ne prosperis atribui grupon (%d) de terminala procezo" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "Ĉi tiu ŝelo ne disponigas laborregadon" @@ -1315,19 +1387,19 @@ msgid "realloc: start and end chunk sizes differ" msgstr "realloc: La ĉapa kaj vosta longoj de memorpeco ne estas egalaj" # XXX: debug? -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: „alloc‟-tabelo elĉerpiĝis je FIND_ALLOC?\n" # XXX: debug? -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p jam en la tabelo kvazaÅ­ kreita (?)\n" # XXX: debug? -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p jam en la tabelo kvazaÅ­ malokupita (?)\n" @@ -1355,7 +1427,7 @@ msgid "%s: bad network path specification" msgstr "%s: Misa retvojo-indiko" # XXX: internal error -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "Reta funkciado ne disponeblas" @@ -1396,236 +1468,271 @@ msgstr "Nova poŝto en $_" msgid "The mail in %s has been read\n" msgstr "La poŝto en %s estas jam legita\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "Sintaksa eraro: Necesas aritmetika esprimo" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "Sintaksa eraro: Neatendita „;‟" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "Sintaksa eraro: „((%s))‟" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: Misa ordontipo %d" # internal_warning(): -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "Tuj-dokumenton de linio %d limigas dosierfino (mankas „%s‟)" # XXX: programming_error -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: Alidirektada komando „%d‟ ekster sia variejo" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "La nombro de tuj-documentoj superis sian maksimumon" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "Neatendita dosierfino dum serĉo de responda „%c‟" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "Neatendita dosierfino dum serĉo de „]]‟" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "Sintaksa eraro en kondiĉa esprimo: Neatendita simbolo „%s‟" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "Sintaksa eraro en kondiĉa esprimo" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "Nekonvena simbolo „%s‟ anstataÅ­ „)‟" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "Mankas „)‟" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "La argumento „%s‟ ne konvenas por unuloka kondiĉa operacisimbolo" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "MaltaÅ­ga argumento por unuloka kondiĉa operacisimbolo" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "Misa simbolo „%s‟ anstataÅ­ duloka kondiĉa operacisigno" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "ĉi tie devas esti duloka kondiĉa operacisigno" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "La argumento „%s‟ ne konvenas por duloka kondiĉa operacisimbolo" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "\n" +msgstr "" +"La hejmpaĝo de Baŝo (anglalingva): \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" +"Ĝenerala helpilo pri uzo de GNUa programaro: \n" + # XXX: internal_error -#: sig.c:691 +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: Misa operacio" @@ -1881,90 +2000,105 @@ msgstr "Nekonata signalnumero" msgid "Unknown Signal #%d" msgstr "Nekonata signalo n-ro %d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "Misa anstataÅ­igo: Mankas ferma „%s‟ en %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: Maleblas valorizi tabelanon per listo" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "Ne prosperis fari dukton por proceza anstataÅ­igo" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "Ne prosperis krei idon por proceza anstataÅ­igo" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "Ne prosperis malfermi nomitan dukton %s porlegan" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "Ne prosperis malfermi nomitan dukton %s por skribado" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "Ne prosperis kunnomumi nomhavan dukton %s kiel dosiernumeron %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "Misa anstataÅ­igo: Mankas ferma „`‟ en %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "Ne prosperis fari dukton por komanda anstataÅ­igo" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "Ne prosperis krei procezidon por komanda anstataÅ­igo" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: Ne prosperis kunnomumi la dosiernumeron 1 al dukto" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: Misa variablonomo por nomreferenco" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: Misa anstataÅ­igo" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: Misa malvolvo malrekta" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: MaltaÅ­ga variablonomo" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: Parametro estas NUL aÅ­ malaktiva" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: subĉeno-esprimo < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: Misa anstataÅ­igo" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: ĉi tiel ne valorizebla" # XXX: internal warning: -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" "Ontaj versioj de la ŝelo plenumos komputon kiel aritmetikan anstataÅ­igon" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "Misa anstataÅ­igo: Mankas ferma „`‟ en %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "Nenio kongrua: %s" @@ -1978,137 +2112,138 @@ msgstr "Mankas argumento" msgid "%s: integer expression expected" msgstr "%s: Mankas entjera esprimo" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "Mankas „)‟" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "AnstataÅ­ „)‟ troviĝas %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: Tie devas esti unuloka operacisigno" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: Tie devas esti duloka operacisigno" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "Mankas „]‟" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "Misa signalnumero" # XXX: internal_warning -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: Misa valoro en trap_list[%d]: %p" # XXX: internal_warning -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "run_pending_traps: Signaltraktilo SIG_DFL resendas %d (%s) al mi mem" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: Misa signalnumero %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "Eraro ĉe importo de funkcidifino por „%s‟" # XXX: internal_warning -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "%d estas tro granda ŝelnivelo; mallevita ĝis 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: Cikla nomreferenco" - # XXX: internal_error -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: Malestas funkcia kunteksto en ĉi-regiono" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: Variablo ne valorizebla" +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: Misa variablonomo por nomreferenco" + # XXX: internal_error -#: variables.c:3646 +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: Malestas funkcia kunteksto en ĉi-regiono" # XXX: internal_error -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "«exportstr» de %s estas NUL" # XXX: internal_error -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "Misa signo %d en eksporta signoĉeno por „%s‟" # XXX: internal_error -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "Mankas „=‟ en eksporta signoĉeno por „%s‟" # XXX: internal_error -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" "pop_var_context: La kapo de „shell_variables‟ ne estas funkcia kunteksto" # XXX: internal_error -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: Mankas kunteksto de „global_variables‟" # XXX: internal_error -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: La kapo de „shell_variables‟ ne estas provizora regiono" # XXX: internal_error -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: Ne malfermeblas kiel DOSIERO" # XXX: internal_error -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: Misa valoro por spurada dosiernumero (trace file descriptor)" # # XXX: internal_error -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s kongruo-nivelo estas ekster sia variejo" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright (C) 2012 ĉe «Free Software Foundation, Inc.»" +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2015 ĉe «Free Software Foundation, Inc.»" #: version.c:47 version2.c:47 msgid "" @@ -2131,10 +2266,6 @@ msgstr "Ĉi tiu programo estas libera; vi rajtas libere ĝin ŝanĝi kaj pludoni msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "NENIA GARANTIO estas donita, tiom kiom tion permesas la leĝo." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2012 ĉe «Free Software Foundation, Inc.»" - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2157,15 +2288,15 @@ msgstr "%s: %s:%d: Malsukcesis okupi %lu bajtojn (%lu bajtoj disponigitaj)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: Malsukcesis okupi %lu bajtojn" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [NOMO[=VALORO] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] NOMO [NOMO ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -2174,113 +2305,101 @@ msgstr "" " [-u NOMO] [-r KLAVAÄ´O] [-x KLAVAÄ´O:ŜELKOMANDO]\n" " [KLAVAÄ´O:READLINE-FUNKCIO AŬ READLINE-KOMANDO] " -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [N]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [N]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [ŜELAÄ´O [ARG ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [ESPRIMO]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]] [-@]] [DOSIERUJO]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] KOMANDO [ARG ...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [NOMO[=VALORO] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] NOMO[=VALORO] ..." - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] NOMO[=VALORO] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [OPCIO] NOMO[=VALORO] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [ARG ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [ARG ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f DOSIERNOMO] [NOMO ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [ARG ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts OPCIĈENO NOMO [ARG]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a NOMO] [KOMANDO [ARGUMENTOJ ...]] [ALIDIREKTADO ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [N]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [N]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e REDAKTILO] [-lnr] [UNUA] [LASTA] aÅ­\n" "fc -s [ŜABLONO=ANST] [KOMANDO]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [LABORINDIKO]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [LABORINDIKO]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p VOJNOMO] [-dt] [NOMO ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [ŜABLONO ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2289,17 +2408,18 @@ msgstr "" "history -awr [DOSIERNOMO] aÅ­\n" "history -ps ARG [ARG...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "" "jobs [-lnprs] [LABORINDIKO ...] aÅ­\n" "jobs -x KOMANDO [ARGS]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [LABORINDIKO ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2307,11 +2427,11 @@ msgstr "" "kill [-s SIGSNOM | -n SIGNUM | -SIGNOM] [PN | LABORINDIKO] ... aÅ­\n" "kill -l [SIGNOM]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let ARG [ARG ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2320,99 +2440,95 @@ msgstr "" " [-n NSIGN] [-N NSIGN] [-p INVIT] [-t TLIM]\n" " [-u DN] [NOMO ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [N]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o OPCINOMO] [--] [ARG ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [NOMO ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [NOMO[=VALORO] ...] aÅ­ export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [NOMO[=VALORO] ...] aÅ­ readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [N]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source DOSIERNOMO [ARGUMENTOJ]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". DOSIERNOMO [ARGUMENTOJ]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [ESPRIMO]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ ARG... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[ARG] SIGNALINDIKO ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] NOMO [NOMO ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [LIMO]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [LIMO]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [REĜIMO]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [IND ...]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [PN ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NOMO [in VORTOJ ... ] ; do KOMANDOJ; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( ESPR1; ESPR2; ESPR3 )); do KOMANDOJ; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NONO [in VORTOJ ... ;] do KOMANDOJ; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] DUKTO" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case VORTO in [ŜABLONO [| ŜABLONO]...) KOMANDOJ ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2420,65 +2536,65 @@ msgstr "" "if KOMANDOJ; then KOMANDOJ; [ elif KOMANDOJ; then KOMANDOJ; ]... [ else " "KOMANDOJ; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while KOMANDOJ; do KOMANDOJ; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until KOMANDOJ; do KOMANDOJ; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NOMO] KOMANDO [ALIDIREKTADOJ]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function NOMO { KOMANDOJ ; } aÅ­ NOMO () { KOMANDOJ ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ KOMANDOJ ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "LABORINDIKO [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( ESPRIMO ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ ESPRIMO ]]" # Ĉu "variables" estas serĉa ŝlosilo ? # T.e. "help var" aÅ­ "help variabl", sed ne "nelp variabloj"? -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "var - Nomoj kaj signifo de kelkaj ŝelvariabloj" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | DOSIERUJO]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [OPCINOMO ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v VAR] FORMATO [ARGUMENTOJ]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2488,28 +2604,28 @@ msgstr "" " [-W VORTLISTO] [-F FUNKCIO] [-C KOMANDO] [-X FILTROŜAB]\n" " [-P PREFIKSO] [-S SUFIKSO] [NOMO ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o OPCIO] [-A AGO] [-G GLOBŜAB]\n" " [-W VORTLISTO] [-F FUNKCIO] [-C KOMANDO] [-X FILTROŜAB]\n" " [-P PREFIKSO] [-S SUFIKSO] [VORTO]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o OPCIO] [-DE] [NOMO ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n NOMBRILO] [-O ORIGINO] [-s NOMBRILO] [-t] [-u DN]\n" +"mapfile [-d DISIG] [-n NOMBRILO] [-O ORIGINO] [-s NOMBRILO] [-t] [-u DN]\n" " [-C RETROVOKO] [-c KVANTO] [TABELO]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2518,7 +2634,7 @@ msgstr "" " [-C RETROVOKO] [-c KVANTO] [TABELO]" # alias: -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2530,7 +2646,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2547,7 +2663,7 @@ msgstr "" " alinome anstataÅ­igenda ĉe la komputo de la alinomo.\n" "\n" " Opcioj:\n" -" -p\tEligu ĉiujn difinitajn alinomojn en reuzebla formo.\n" +" -p\teligu ĉiujn difinitajn alinomojn en reuzebla formo.\n" "\n" " Elirstato:\n" " La komando „alias‟ liveras „true‟ krom se aperas NOMO ne difinita\n" @@ -2555,26 +2671,26 @@ msgstr "" # unalias [-a] name [name ...] # unalias [-a] NOMO [NOMO ...] -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Forigu la NOMOjn el la listo de difinitaj alinomoj.\n" "\n" " Opcioj:\n" -" -a\tSe enestas la opcio „-a‟, ĉiujn alinomojn forigu.\n" +" -a\tSe enestas la opcio „-a‟, ĉiujn alinomojn forigu\n" "\n" " Liveru sukceson krom se name ne estas difinita alinome." # bind [-lpvsPVS] [-m KLAVARTABELO] [-f DOSIERNOMO] [-q NOMO] [-u NOMO] # [-r KLAVAÄ´O] [-x KLAVAÄ´O:ŜELKOMANDO] # [KLAVAÄ´O:READLINE-FUNKCIO AŬ READLINE-KOMANDO] -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2608,7 +2724,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2648,7 +2765,7 @@ msgstr "" " 0, krom se nekonata opcio estas donita aÅ­ eraro okazis." # exit: -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2667,7 +2784,7 @@ msgstr "" " Ĝi estas 0, kondiĉe ke N estas pli granda ol aÅ­ egala al 1." # continue: -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2688,7 +2805,7 @@ msgstr "" # builtin [shell-builtin [arg ...]] # builtin [ŜELAÄ´O [ARG ...]] -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2714,7 +2831,7 @@ msgstr "" # caller [expr] => # caller [ESPRIMO] -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2743,7 +2860,7 @@ msgstr "" " estas valida." # cd: -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2766,16 +2883,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2820,13 +2937,13 @@ msgstr "" " $PWD sukcese valoriziĝis; nenulo aliokaze." # pwd [-LP] -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2849,7 +2966,7 @@ msgstr "" " 0, krom se aperas misa opcio aÅ­ la kuranta dosierujo estas\n" " nelegebla." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2866,7 +2983,7 @@ msgstr "" " Ĉiam sukcesa." # true -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2879,7 +2996,7 @@ msgstr "" " Ĉiam sukcesa." # false: -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2893,7 +3010,7 @@ msgstr "" # command [-pVv] command [arg ...] # command [-pVv] KOMANDO [ARG ...] -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2903,10 +3020,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2929,7 +3046,7 @@ msgstr "" # declare [-aAfFgilnrtux] [-p] [name[=value] ...] # declare [-aAfFgilnrtux] [-p] [NOMO[=VALORO] ...] -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2939,9 +3056,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -3005,11 +3122,12 @@ msgstr "" "variablo." # typeset [-aAfFgilrtux] [-p] name[=value] ... -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Difinu atributojn kaj valorojn de variabloj\n" "\n" @@ -3017,7 +3135,7 @@ msgstr "" # local [option] name[=value] ... # local [OPCIO] NOMO[=VALORO] ... -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -3044,7 +3162,7 @@ msgstr "" " ŝelo ne estas plenumanta funkcion." # echo: -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3070,9 +3188,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -3109,7 +3227,7 @@ msgstr "" " Sukcesa, krom se okazas elig-eraro." # echo [-n] [ARG ...] -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3133,7 +3251,7 @@ msgstr "" # enable [-a] [-dnps] [-f filename] [name ...] # enable [-a] [-dnps] [-f DOSIERNOMO] [NOMO ...] -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3185,7 +3303,7 @@ msgstr "" " eraro." # eval [ARG ...] -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3206,7 +3324,7 @@ msgstr "" # getopts optstring name [arg] => # getopts OPCIĈENO NOMO [ARG] -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3286,7 +3404,7 @@ msgstr "" # exec [-cl] [-a name] [command [arguments ...]] [redirection ...] # exec [-cl] [-a NOMO] [KOMANDO [ARGUMENTOJ ...]] [ALIDIREKTADO ...] -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3297,8 +3415,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3328,7 +3446,7 @@ msgstr "" " alirektado." # exit [n] -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3341,7 +3459,7 @@ msgstr "" " estas tiu de la plej ĵuse plenumita komando." # logout [N] -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3358,7 +3476,7 @@ msgstr "" # fc -s [pat=rep] [command] => # fc [-e REDAKTILO] [-lnr] [UNUA] [LASTA] aÅ­ # fc -s [ŜABLONO=ANST] [KOMANDO] -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3413,7 +3531,7 @@ msgstr "" " eraro." # fg [job_spec] => fg [LABORINDIKO] -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3434,7 +3552,7 @@ msgstr "" " Tiu de la dialogigita komando; aÅ­ malsukceso, se okazis eraro." # bg [job_spec] => bg [LABORINDIKO] -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3458,7 +3576,7 @@ msgstr "" " eraro." # hash [-lr] [-p VOJNOMO] [-dt] [NOMO ...] -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3467,15 +3585,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3504,7 +3622,7 @@ msgstr "" # help [-ds] [pattern ...] # help [-ds] [ŜABLONO ...] -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3516,7 +3634,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3549,7 +3667,8 @@ msgstr "" # history [-c] [-d DEŜOVO] [n] aÅ­ # history -awr [DOSIERNOMO] aÅ­ # history -ps ARG [ARG...] -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3558,23 +3677,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3607,10 +3726,10 @@ msgstr "" " kiel unu apartan linion\n" "\n" " Se ĉeestas DOSIERNOMO, uzu ĝin kiel nomon de historidosiero;\n" -" alie, se la variablo $HISTFILE havas valoron, uzu ĉi tiun;\n" +" alie, se la variablo HISTFILE havas valoron, uzu ĉi tiun;\n" " alie uzu «~/.bash_history».\n" "\n" -" Se la variablo $HISTTIMEFORMAT havas valoron kaj se ĉi tiu ne\n" +" Se la variablo HISTTIMEFORMAT havas valoron kaj se ĉi tiu ne\n" " estas null, tiam ĝi servu kiel formata ĉeno en strftime(3) por\n" " tempostampi ĉiun linion en eligaĵoj de historio. Aliokaze nenia\n" " tempostampo estu eligata.\n" @@ -3622,8 +3741,7 @@ msgstr "" # jobs -x command [args] => # jobs [-lnprs] [LABORINDIKO ...] aÅ­ # jobs -x KOMANDO [ARGS] -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3633,7 +3751,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3669,7 +3787,7 @@ msgstr "" " Ĉe „-x‟, la elirstato de la KOMANDO." # disown [-h] [-ar] [jobspec ...] -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3679,7 +3797,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3705,7 +3823,8 @@ msgstr "" # kill -l [sigspec] => # kill [-s SIGSNOM | -n SIGNUM | -SIGNOM] PN | LABORINDIKO ... aÅ­ # kill -l [SIGNOM] -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3717,7 +3836,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3749,7 +3869,7 @@ msgstr "" # let arg [arg ...] # let ARG [ARG ...] -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3839,7 +3959,7 @@ msgstr "" # [-p prompt] [-t timeout] [-u fd] [name ...] # read [-ers] [-a TABELO] [-d DISIG] [-i TEKSTO] [-n NSIGN] [-N NSIGN] # [-p INVIT] [-t TLIM] [-u DN] [NOMO ...] -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3860,27 +3980,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3933,7 +4054,7 @@ msgstr "" # return [n] # return [N] -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3955,7 +4076,8 @@ msgstr "" # set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...] # set [-abefhkmnptuvxBCHP] [-o OPCINOMO] [--] [ARG ...] -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -4023,7 +4145,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -4125,7 +4248,7 @@ msgstr "" # unset [-f] [-v] [name ...] # unset [-f] [-v] [NOMO ...] -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -4135,7 +4258,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4166,7 +4289,7 @@ msgstr "" # export [-fn] [name[=value] ...] or export -p # export [-fn] [NOMO[=VALORO] ...] aÅ­ export -p -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4202,7 +4325,7 @@ msgstr "" # readonly [-aAf] [name[=value] ...] or readonly -p # readonly [-aAf] [NOMO[=VALORO] ...] aÅ­ readonly -p -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -4214,9 +4337,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4242,7 +4364,7 @@ msgstr "" " Sukceso, krom se aperas nevalida nomo aÅ­ misa opcio." # shift [n] -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4259,7 +4381,7 @@ msgstr "" # source filename [arguments] # source DOSIERNOMO [ARGUMENTOJ] -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4284,7 +4406,7 @@ msgstr "" " DOSIERNOMO ne legeblas." # suspend [-f] -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4310,7 +4432,7 @@ msgstr "" # test [expr] # test [ESPRIMO] -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4374,9 +4496,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4467,7 +4589,7 @@ msgstr "" " argumento." # [ arg... ] -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4477,7 +4599,7 @@ msgstr "" "Ĉi tiu estas sinonimo de la primitivo „test‟; tamen la lasta\n" " argumento devas esti „]‟ fermanta la esprimon komencitan per „[‟." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4498,7 +4620,7 @@ msgstr "" # trap [-lp] [[arg] signal_spec ...] # trap [-lp] [[ARG] SIGNALINDIKO ...] -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4577,7 +4699,7 @@ msgstr "" # type [-afptP] name [name ...] # type [-afptP] NOMO [NOMO ...] -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4586,18 +4708,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4635,7 +4757,7 @@ msgstr "" # ulimit [-SHacdefilmnpqrstuvx] [limit] # ulimit [-SHacdefilmnpqrstuvx] [LIMO] -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4653,6 +4775,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4664,7 +4787,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4694,8 +4818,10 @@ msgstr "" " -c maksimuma longo de nekropsia dosiero („core‟)\n" " -d maksimuma longo de datumsegmento de procezo\n" " -e maksimuma viciga prioritato („nice‟)\n" -" -i maksimuma longo de pendaj signaloj\n" " -f maksimuma longo de dosieroj skribataj de la ŝelo kaj ĝiaj idoj\n" +" -i maksimuma longo de pendaj signaloj\n" +" -k maksimuma nombro de kernaj atendovicoj (kqueues) disponigeblaj\n" +" al la procezo \n" " -l maksimuma longo de ŝlosebla procezmemoro (mlock)\n" " -m maksimuma longo de rezida procezmemoro\n" " -n maksimuma nombro de malfermitaj dosiernumeroj\n" @@ -4707,6 +4833,7 @@ msgstr "" " -u maksimuma nombro de procezoj de la uzanto\n" " -v longo de la virtuala memoro\n" " -x maksimuma nombro de dosierŝlosoj\n" +" -P maksimuma nombro de pseÅ­doterminaloj\n" " -T maksimuma nombro de fadenoj\n" "\n" " Ne ĉiuj opcioj disponeblas sur ĉiuj komputilaj platformoj.\n" @@ -4726,7 +4853,7 @@ msgstr "" # umask [-p] [-S] [mode] # umask [-p] [-S] [REĜIMO] -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4761,7 +4888,7 @@ msgstr "" # wait [-n] [id ...] # wait [-n] [IND ...] -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4797,7 +4924,7 @@ msgstr "" # wait [pid ...] # wait [PN ...] -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4823,7 +4950,7 @@ msgstr "" # for NAME [in WORDS ... ] ; do COMMANDS; done # for NOMO [in VORTOJ ... ] ; do KOMANDOJ; done -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4847,7 +4974,7 @@ msgstr "" # for (( exp1; exp2; exp3 )); do COMMANDS; done # for (( ESPR1; ESPR2; ESPR3 )); do KOMANDOJ; done -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4879,7 +5006,7 @@ msgstr "" # select NAME [in WORDS ... ;] do COMMANDS; done # select NONO [in VORTOJ ... ;] do KOMANDOJ; done -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4916,7 +5043,7 @@ msgstr "" # time [-p] PIPELINE # time [-p] DUKTO -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4947,7 +5074,7 @@ msgstr "" # case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac # case VORTO in [ŜABLONO [| ŜABLONO]...) KOMANDOJ ;;]... esac -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4969,7 +5096,7 @@ msgstr "" # [ else COMMANDS; ] fi # if KOMANDOJ; then KOMANDOJ;[ elif KOMANDOJ; then KOMANDOJ; ]... # [ else KOMANDOJ; ] fi -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -5001,7 +5128,7 @@ msgstr "" # while COMMANDS; do COMMANDS; done # while KOMANDOJ; do KOMANDOJ; done -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -5021,7 +5148,7 @@ msgstr "" # until COMMANDS; do COMMANDS; done # until KOMANDOJ; do KOMANDOJ; done -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -5041,7 +5168,8 @@ msgstr "" # coproc [NAME] command [redirections] # coproc [NOMO] KOMANDO [ALIDIREKTADOJ] -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -5051,7 +5179,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Kreu kunprocezon nomotan NOMO\n" "\n" @@ -5065,7 +5193,7 @@ msgstr "" # function name { COMMANDS ; } or name () { COMMANDS ; } # function NOMO { KOMANDOJ ; } aÅ­ NOMO () { KOMANDOJ ; } -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -5090,7 +5218,7 @@ msgstr "" # grouping_braces: { COMMANDS ; } # { KOMANDOJ ; } -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -5110,7 +5238,7 @@ msgstr "" # job_spec [&] # LABORINDIKO [&] -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -5135,7 +5263,7 @@ msgstr "" # (( expression )) # (( ESPRIMO )) -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -5155,7 +5283,7 @@ msgstr "" # [[ expression ]] # [[ ESPRIMO ]] -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5206,7 +5334,7 @@ msgstr "" # help var # variables - Names and meanings of some shell variables -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5313,7 +5441,7 @@ msgstr "" # pushd [-n] [+N | -N | dir] # pushd [-n] [+N | -N | DOSIERUJO] -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5323,19 +5451,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5372,7 +5500,7 @@ msgstr "" " Sukceso, krom se aperas misa argumento aÅ­ se cd malsukcesas." # popd [-n] [+N | -N] -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5381,16 +5509,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5421,7 +5549,7 @@ msgstr "" " Sukceso, krom se aperas misa argumento aÅ­ se cd malsukcesas." # dirs [-clpv] [+N] [-N] -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5432,19 +5560,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5475,7 +5603,7 @@ msgstr "" # shopt [-pqsu] [-o] [optname ...] # shopt [-pqsu] [-o] [OPCINOMO ...] -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5514,7 +5642,7 @@ msgstr "" # printf [-v var] format [arguments] # printf [-v VAR] FORMATO [ARGUMENTOJ] -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5531,15 +5659,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5581,7 +5709,7 @@ msgstr "" # complete [-abcdefgjksuv] [-pr] [-DE] [-o OPCIO] [-A AGO] [-G GLOBŜAB] # [-W VORTLISTO] [-F FUNKCIO] [-C KOMANDO] [-X FILTROŜAB] # [-P PREFIKSO] [-S SUFIKSO] [NOMO ...] -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5594,11 +5722,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5634,7 +5762,7 @@ msgstr "" # compgen [-abcdefgjksuv] [-o OPCIO] [-A AGO] [-G GLOBŜAB] # [-W VORTLISTO] [-F FUNKCIO] [-C KOMANDO] [-X FILTROŜAB] # [-P PREFIKSO] [-S SUFIKSO] [VORTO] -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5655,7 +5783,7 @@ msgstr "" " Sukceso, krom se aperas misa opcio aÅ­ okazas eraro." # compopt [-o|+o OPCIO] [-DE] [NOMO ...] -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5714,7 +5842,7 @@ msgstr "" # [-c quantum] [array] # mapfile [-n NOMBRILO] [-O ORIGINO] [-s NOMBRILO] [-t] [-u DN] [-C RETROVOKO] # [-c KVANTO] [TABELO] -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5725,20 +5853,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5761,12 +5890,14 @@ msgstr "" " DefaÅ­lte TABELO estas la variablo MAPFILE.\n" "\n" " Opcioj:\n" +" -d DISIG Por fini liniojn uzu ne la linifinilon, sed DISIG\n" " -n NOMBRILO Kopiu maksimume NOMBRILOn da linioj. Se NOMBRILO\n" " estas 0, kopiu ĉiujn liniojn\n" " -O ORIGINO Komencu valorizi la TABELOn ekde la indekso ORIGINO.\n" " La defaÅ­lta origino estas 0.\n" " -s NOMBRILO Ignoru NOMBRILOn da unuaj linioj\n" -" -t Forigu la vostan linifinilon el ĉiu legita linio\n" +" -t Forigu la vostan DISIG el ĉiu legita linio (defaÅ­lte\n" +" la linifinilon)\n" " -u DN Legu per la dosiernunero DN anstataÅ­ el la ĉefenigujo\n" " -C RETROVOKO Plenumu RETROVOKOn post ĉiu KVANTO da legitaj linioj\n" " -c KVANTO\tPo kiom da linioj legi inter sinsekvaj RETROVOKOj\n" @@ -5788,12 +5919,27 @@ msgstr "" # readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] # [-c quantum] [array] -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" " A synonym for `mapfile'." msgstr "" -"Legu liniojn el la ĉefenigujo en tabelvariablon\n" +"Legu liniojn el dosiero en tabelvariablon.\n" "\n" " Sinonimo de „mapfile‟." + +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2014 ĉe «Free Software Foundation, Inc.»" + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" diff --git a/po/es.gmo b/po/es.gmo index 4799cda2d..5edaa91d3 100644 Binary files a/po/es.gmo and b/po/es.gmo differ diff --git a/po/es.po b/po/es.po index f07cda76c..1988fb2b6 100644 --- a/po/es.po +++ b/po/es.po @@ -7,82 +7,88 @@ msgid "" msgstr "" "Project-Id-Version: GNU bash 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2011-08-14 11:55-0500\n" "Last-Translator: Cristian Othón Martínez Vera \n" "Language-Team: Spanish \n" -"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" +"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "subíndice de matriz incorrecto" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: no se puede convertir la matriz de indizada a asociativa" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: índice de matriz asociativa inválido" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: no se puede asignar a un índice que no es numérico" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: se debe usar un subíndice al asignar a una matriz asociativa" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: no se puede crear: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: no se puede encontrar la combinación de teclas " "para la orden" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: el primer carácter que no es espacio en blanco no es `\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "no hay un `%c' que cierre en %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: falta un `:' separador" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "`%s': nombre de alias inválido" @@ -91,45 +97,45 @@ msgstr "`%s': nombre de alias inválido" msgid "line editing not enabled" msgstr "no se activó la edición de línea" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "`%s': nombre de combinación de teclas inválido" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: no se puede leer: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "%s: no se puede borrar la asignación" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "`%s': nombre de función desconocido" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s no está asignado a ninguna tecla.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s se puede invocar a través de " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "cuenta de ciclo" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "sólo tiene significado en un ciclo `for', `while' o `until'" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -139,304 +145,333 @@ msgstr "" " \n" " Sin EXPR, devuelve " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME no está definido" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "demasiados argumentos" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "directorio tope." + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD no está definido" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "línea %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "aviso: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: uso: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: la opción requiere un argumento" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: se requiere un argumento numérico" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: no se encontró" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: opción inválida" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: nombre de opción inválido" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': no es un identificador válido" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "número octal inválido" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "número hexadecimal inválido" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "número inválido" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: especificación de señal inválida" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "`%s': no es un pid o una especificación válida de trabajo" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: variable de sólo lectura" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s fuera de rango" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argumento" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s fuera de rango" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: no existe ese trabajo" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: no hay control de trabajos" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "no hay control de trabajos" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: restringido" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "restringido" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: no es una orden interna del shell" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "error de escritura: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "error al establecer los atributos de la terminal: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "error al obtener los atributos de la terminal: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: error al obtener el directorio actual: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: especificación de trabajo ambigua" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: nombre de acción inválido" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: no hay completado de especificación" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "aviso: es posible que la opción -F no funcione como se espera" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "aviso: es posible que la opción -C no funcione como se espera" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "no se está ejecutando la función de completado" # sólo se puede usar. sv # De acuerdo. cfuga -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "sólo se puede usar dentro de una función" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, fuzzy, c-format +msgid "%s: circular name reference" +msgstr "%s: %s: valor inválido para el descriptor de fichero de rastreo" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: %s: valor inválido para el descriptor de fichero de rastreo" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "no se puede usar `-f' para hacer funciones" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: función de sólo lectura" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: no se pueden destruir variables de matriz de esta forma" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: no se puede convertir una matriz asociativa a indizada" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "la carga dinámica no está disponible" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "no se puede abrir el objeto compartido %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "no se puede encontrar %s en el objeto compartido %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: no se cargó dinámicamente" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: no se puede borrar: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: es un directorio" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: no es un fichero regular" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: el fichero es demasiado grande" # file=fichero. archive=archivo. Si no, es imposible traducir tar. sv # De acuerdo. Corregido en todo el fichero. cfuga -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: no se puede ejecutar el fichero binario" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: no se puede ejecutar: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "logout\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "no es un shell de entrada: use `exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Hay trabajos detenidos.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Hay trabajos en ejecución.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "no se encontró la orden" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "especificación de historia" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: no se puede abrir el fichero temporal: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "actual" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "el trabajo %d inició sin control de trabajo" @@ -455,37 +490,37 @@ msgstr "%s: la opción requiere un argumento -- %c\n" msgid "hashing disabled" msgstr "asociación desactivada" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: tabla de asociación vacía\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "coinc\torden\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Orden del shell que coinciden con la palabra `" msgstr[1] "Órdenes del shell que coinciden con la palabra `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -"no hay temas de ayuda que coincidan con `%s'. Pruebe `help help' o `man -k " -"%s' o `info %s'." +"no hay temas de ayuda que coincidan con `%s'. Pruebe `help help' o `man -k %" +"s' o `info %s'." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: no se puede abrir: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -507,15 +542,20 @@ msgstr "" "desactivado.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "no se puede usar más de uno de -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "posición en la historia" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: límite de argumento inválido" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: falló la expansión de la historia" @@ -529,113 +569,113 @@ msgstr "%s: falló inlib" msgid "no other options allowed with `-x'" msgstr "no se permiten otras opciones con `-x'" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: los argumentos deben ser procesos o IDs de trabajos" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Error desconocido" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "se esperaba una expresión" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: no es una matriz indizada" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: especificación de descriptor de fichero inválida" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: descriptor de fichero inválido: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: cuenta de líneas inválida" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: origen de matriz inválido" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: quantum de llamada inválido" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "nombre de variable de matriz vacío" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "se requiere el soporte de variable de matriz" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "`%s': falta el carácter de formato" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "`%c': especificación de formato de tiempo inválida" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "`%c': carácter de formato inválido" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "aviso: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "falta el dígito hexadecimal para \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "falta el dígito unicode para \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "no hay otro directorio" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: límite de argumento inválido" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "la pila de directorios está vacía" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "índice de la pila de directorios" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -679,7 +719,7 @@ msgstr "" "\tla lista mostrada por dirs cuando se llama sin opciones,\n" "\tempezando desde cero." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -721,7 +761,7 @@ msgstr "" " \n" " La orden interna `dirs' muestra la pila de directorios." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -761,144 +801,154 @@ msgstr "" " \n" " La orden interna `dirs' muestra la pila de directorios." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: especificación de tiempo de expiración inválida" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "error de lectura: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" "sólo se puede usar `return' en una función o un guión leído con `source'" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "no se puede borrar al mismo tiempo una función y una variable" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: no se puede borrar" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: no se puede borrar: %s es de solo lectura" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: no es una variable de matriz" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: no es una función" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: no se puede borrar" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "cuenta de shift" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "no se pueden activar y desactivar opciones del shell simultáneamente" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: nombre de opción del shell inválido" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "se requiere un argumento de nombre de fichero" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: no se encontró el fichero" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "no se puede suspender" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "no se puede suspender un shell de entrada" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s es un alias de `%s'\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s es una palabra clave del shell\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s: es una función\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s es una orden interna del shell\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s es una orden interna del shell\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s is %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s está asociado (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: límite de argumento inválido" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': orden errónea" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: no se puede obtener el límite: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "límite" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: no se puede modificar el límite: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "número octal" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "`%c': operador de modo simbólico inválido" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "`%c': carácter de modo simbólico inválido" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " línea " @@ -912,84 +962,105 @@ msgstr "última orden: %s\n" msgid "Aborting..." msgstr "Abortando..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "error de orden desconocido" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "tipo de orden erróneo" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "conector erróneo" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "salto erróneo" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: variable sin asignar" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aha expirado mientras esperaba alguna entrada: auto-logout\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "no se puede redirigir la salida estándar desde /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: `%c': carácter de formato inválido" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "error de tubería" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: restringido: no se puede especificar `/' en nombres de órdenes" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: no se encontró la orden" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: intérprete erróneo" # file=fichero. archive=archivo. Si no, es imposible traducir tar. sv # De acuerdo. Corregido en todo el fichero. cfuga -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: no se puede ejecutar el fichero binario" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, fuzzy, c-format msgid "`%s': is a special builtin" msgstr "%s es una orden interna del shell\n" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "no se puede duplicar el df %d al df %d" @@ -1040,37 +1111,37 @@ msgstr "" msgid "missing `)'" msgstr "falta un `)'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "error sintáctico: se esperaba un operando" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "error sintáctico: operador aritmético inválido" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (el elemento de error es \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "base aritmética inválida" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "valor demasiado grande para la base" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: error de expresión\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: no se puede acceder a los directorios padre" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "no se puede reestablecer el modo nodelay para el df %d" @@ -1091,149 +1162,149 @@ msgid "save_bash_input: buffer already exists for new fd %d" msgstr "" "save_bash_input: el almacenamiento intermedio ya existe para el nuevo df %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: tubería de pgrp" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "el pid `forked' %d aparece en el trabajo en ejecución %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "borrando el trabajo detenido %d con grupo de proceso %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: el proceso %5ld (%s) en the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) se marca como vivo aún" # Cambiaría 'hay' por 'existe' em+ -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: no existe tal pid" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Señal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Hecho" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Detenido" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Detenido(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Ejecutando" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Hecho(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Salida %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Estado desconocido" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(`core' generado) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (dir ahora: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "setpgid hijo (%ld a %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld no es un proceso hijo de este shell" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: No hay un registro del proceso %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: el trabajo %d está detenido" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: el trabajo ha terminado" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: el trabajo %d ya está en segundo plano" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: se activa WNOHANG para evitar el bloque indefinido" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: línea %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (`core' generado)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(dir ahora: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_jobs_control: falló getpgrp" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_jobs_control: disciplina de línea" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_jobs_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "no se puede establecer el grupo de proceso de terminal (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "no hay control de trabajos en este shell" @@ -1289,17 +1360,17 @@ msgstr "" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: los tamaños de los pedazos de inicio y fin son diferentes" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: ¿la tabla alloc está llena con FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: ¿%p ya está en la tabla como asignado?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: ¿%p ya está en la tabla como libre?\n" @@ -1323,7 +1394,7 @@ msgstr "%s: servicio inválido" msgid "%s: bad network path specification" msgstr "%s: especificación de ruta de red errónea" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "no hay soporte para operaciones de red" @@ -1360,102 +1431,113 @@ msgstr "Tiene correo nuevo en $_" msgid "The mail in %s has been read\n" msgstr "El correo en %s fue leído\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "error sintáctico: se requiere una expresión aritmética" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "error sintáctico: `;' inesperado" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "error sintáctico: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: tipo de instrucción %d erróneo" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" "el documento-aquí en la línea %d está delimitado por fin-de-fichero (se " "esperaba `%s')" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "" "make_redirection: la instrucción de redirección `%d' está fuera de rango" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "EOF inesperado mientras se buscaba un `%c' coincidente" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "EOF inesperado mientras se buscaba `]]'" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "error sintáctico en la expresión condicional: elemento inesperado `%s'" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "error sintáctico en la expresión condicional" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "elemento inesperado `%s', se esperaba `)'" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "se esperaba `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "argumento inesperado `%s' para el operador unario condicional" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "argumento inesperado para el operador unario condicional" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "elemento inesperado `%s', se esperaba un operador binario condicional" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "se esperaba un operador binario condicional" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "argumento inesperado `%s' para el operador binario condicional" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "argumento inesperado para el operador binario condicional" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "elemento inesperado `%c' en la orden condicional" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "elemento inesperado `%s' en la orden condicional" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "elemento inesperado %d en la orden condicional" @@ -1466,12 +1548,12 @@ msgstr "elemento inesperado %d en la orden condicional" # provocado por el símbolo. Simplemente estar cerca del mismo. cfuga # Por consistencia con el siguiente, yo borraría la coma. sv # Cierto. Coma borrada. cfuga -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "error sintáctico cerca del elemento inesperado `%s'" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "error sintáctico cerca de `%s'" @@ -1480,115 +1562,139 @@ msgstr "error sintáctico cerca de `%s'" # no se esperaba el final de la línea em+ # Ojo, que end of file es fin de fichero, no de línea. sv # Se hicieron ambos cambios. cfuga -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "error sintáctico: no se esperaba el final del fichero" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "error sintáctico" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Use \"%s\" para dejar el shell.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "EOF inesperado mientras se buscaba un `)' coincidente" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: no se encuentra la función `%s'" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: COMPSPEC nulo" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: conector erróneo `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: descriptor de fichero inválido" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: puntero a fichero NULL" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != numfich xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: `%c': carácter de formato inválido" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "descriptor de fichero fuera de rango" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: redireccionamiento ambiguo" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: no se puede sobreescribir un fichero existente" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: restringido: no se puede redirigir la salida" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "no se puede crear un fichero temporal para el documento-aquí: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: no se puede asignar el fd a la variable" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "no se admite /dev/(tcp|udp)/anfitrion/puerto sin red" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "error de redirección: no se puede duplicar el df" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "¡no se puede encontrar /tmp, crear por favor!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp debe ser un nombre de directorio válido" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: opción inválida" +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "no se puede reestablecer el modo nodelay para el df %d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "no se puede reestablecer el modo nodelay para el df %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: es un directorio" + # Yo pondría "no tengo ningún nombre". sv # Revisé el código fuente de bash. Es un mensaje de error cuando no se # encuentra el nombre del usuario que ejecuta el shell. cfuga -#: shell.c:1682 +#: shell.c:1777 msgid "I have no name!" msgstr "¡No tengo nombre de usuario!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, versión %s-(%s)\n" @@ -1598,7 +1704,7 @@ msgstr "GNU bash, versión %s-(%s)\n" # traducido en otras ocasiones. Sehll script lo henmos traducido # como guión del shell , eso es seguro ... así que puede estar # bien así , ya lo verán otros em+ -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1607,44 +1713,54 @@ msgstr "" "Modo de empleo:\t%s [opción GNU larga] [opción] ...\n" "\t%s [opción GNU larga] [opción] guión-del-shell\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Opciones GNU largas:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Opciones del shell:\n" -#: shell.c:1835 +#: shell.c:1938 #, fuzzy msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-irsD o -c orden o -O opcion_shopt\t\t(sólo invocación)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s o -o opción\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Teclee `%s -c \"help set\"' para más información sobre las opciones del " "shell.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Teclee `%s -c help' para más información sobre las órdenes internas del " "shell.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Use la orden `bashbug' para reportar bichos.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: operación inválida" @@ -1829,77 +1945,92 @@ msgstr "Señal Desconocida #" msgid "Unknown Signal #%d" msgstr "Señal Desconocida #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "sustitución errónea: no hay un `%s' que cierre en %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: no se puede asignar una lista a un miembro de la matriz" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "no se puede crear la tubería para la sustitución del proceso" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "no se puede crear un proceso hijo para la sustitución del proceso" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "no se puede abrir la tubería llamada %s para lectura" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "no se puede abrir la tubería llamada %s para escritura" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "no se puede duplicar la tubería llamada %s como df %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "sustitución errónea: no hay `}' final en %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "no se pueden crear la tubería para la sustitución de la orden" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "no se puede crear un proceso hijo para la sustitución de la orden" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: no se puede duplicar la tubería como df 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, fuzzy, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: %s: valor inválido para el descriptor de fichero de rastreo" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: sustitución errónea" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: cuenta de líneas inválida" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "`%s': nombre de alias inválido" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parámetro nulo o no establecido" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: expresión de subcadena < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: sustitución errónea" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: no se puede asignar de esta forma" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1907,12 +2038,12 @@ msgstr "" "versiones futuras del intérprete obligarán la evaluación como una " "sustitución aritmética" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "sustitución errónea: no hay una \"`\" que cierre en %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "no hay coincidencia: %s" @@ -1926,21 +2057,21 @@ msgstr "se esperaba un argumento" msgid "%s: integer expression expected" msgstr "%s: se esperaba una expresión entera" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "se esperaba `)'" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "se esperaba `)', se encontró %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: se esperaba un operador unario" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: se esperaba un operador binario" @@ -1952,20 +2083,20 @@ msgstr "%s: se esperaba un operador binario" # Abreviando "falta [al menos] un `]'" saldría: "falta un `]'". # ¿No es mejor "falta algún `]'"? cfuga # Tiene razón Enrique: singular. cfuga -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "falta un `]'" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "número de señal inválido" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: valor erróneo en trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1973,86 +2104,86 @@ msgstr "" "run_pending_traps: el manejador de señal es SIG_DFL, reenviando %d (%s) a mí " "mismo" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: señal errónea %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "error al importar la definición de la función para `%s'" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "el nivel de shell (%d) es demasiado alto, se reestablece a 1" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%s: %s: valor inválido para el descriptor de fichero de rastreo" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: no hay contexto de función en el ámbito actual" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "%s: no se puede asignar el fd a la variable" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: %s: valor inválido para el descriptor de fichero de rastreo" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: no hay contexto de función en el ámbito actual" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s tiene exportstr nulo" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "carácter inválido %d en exportstr para %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "no hay `=' en exportstr para %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" "pop_var_context: la cabeza de shell_variables no es un contexto de función" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: no es un contexto global_variables" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: la cabeza de shell_variables no es un ámbito de ambiente temporal" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: no se puede abrir como FICHERO" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: valor inválido para el descriptor de fichero de rastreo" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s fuera de rango" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "Copyright (C) 2011 Free Software Foundation, Inc." #: version.c:47 version2.c:47 @@ -2079,11 +2210,6 @@ msgstr "" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "NO hay GARANTÍA, a la extensión permitida por la ley.\n" -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2011 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2104,15 +2230,15 @@ msgstr "%s: %s:%d: no se pueden asignar %lu bytes (%lu bytes asignados)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: no se pueden asignar %lu bytes" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [nombre[=valor] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] nombre [nombre ...]" -#: builtins.c:51 +#: builtins.c:53 #, fuzzy msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" @@ -2122,113 +2248,102 @@ msgstr "" "secteclas] [-x secteclas:orden-shell] [secteclas:función-readline u orden-" "readline]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [orden-interna-shell [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [expresión]" -#: builtins.c:64 +#: builtins.c:66 #, fuzzy msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]]] [directorio]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] orden [arg ...]" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilrtux] [-p] nombre[=valor] ..." -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +#: builtins.c:80 +#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-aAfFgilrtux] [-p] nombre[=valor] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [opción] nombre[=valor] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f fichero] [nombre ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts cadena_opciones nombre [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a nombre] [orden [argumentos ...]] [redirección ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e nombre_e] [-lnr] [primero] [último] ó fc -s [pat=rep] [orden]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [id_trabajo]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [id_trabajo ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p ruta] [-dt] [nombre ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [patrón ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2240,16 +2355,17 @@ msgstr "" # el nombre de la orden que se creo con el proceso em+ # por eso es idtrabajo, no pidtrabajo. De cualquier forma, no me agrada # mucho. ¿Sugerencias? cfuga -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [idtrabajo ...] ó jobs -x orden [args]" # lo mismo em+ -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [idtrabajo ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2257,11 +2373,11 @@ msgstr "" "kill [-s id_señal | -n num_señal | -id_señal] pid | idtrabajo ... ó kill -l " "[id_señal]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2269,105 +2385,99 @@ msgstr "" "read [-ers] [-a matriz] [-d delim] [-i texto] [-n ncars] [-N ncars] [-p " "prompt] [-t tiempo] [-u df] [nombre ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o nombre-opción] [--] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [nombre ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [nombre[=valor] ...] ó export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [nombre[=valor] ...] ó readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source fichero [argumentos]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". fichero [argumentos]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [expresión]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -# Esto podría ser "veces". Mirar el contexto. sv -# No es veces. times es una orden interna del shell. cfuga -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] id_señal ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] nombre [nombre ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "ulimit [-SHacdefilmnpqrstuvx] [límite]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [modo]" -#: builtins.c:175 +#: builtins.c:177 #, fuzzy msgid "wait [-n] [id ...]" msgstr "wait [id]" -#: builtins.c:179 +#: builtins.c:181 #, fuzzy msgid "wait [pid ...]" msgstr "wait [id]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NOMBRE [in PALABRAS ... ] ; do ÓRDENES; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( exp1; exp2; exp3 )); do ÓRDENES; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NOMBRE [in PALABRAS ... ;] do ÓRDENES; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] tubería" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case PALABRA in [PATRÓN [| PATRÓN]...) ÓRDENES ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2375,63 +2485,63 @@ msgstr "" "if ÓRDENES; then ÓRDENES; [ elif ÓRDENES; then ÓRDENES; ]...[ else " "ÓRDENES; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while ÓRDENES; do ÓRDENES; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until ÓRDENES; do ÓRDENES; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NOMBRE] orden [redirecciones]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function nombre { ÓRDENES ; } ó nombre () { ÓRDENES ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ ÓRDENES ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "id_trabajo [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( expresión ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ expresión ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - Nombres y significados de algunas variables de shell" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | dir" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [nombre_opción...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] formato [argumentos]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2441,28 +2551,30 @@ msgstr "" "W listapalabras] [-F función] [-C orden] [-X patfiltro] [-P prefijo] [-S " "sufijo] [nombre ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o opción] [-A acción] [-G patglob] [-W " "listapalabras] [-F función] [-C orden] [-X patfiltro] [-P prefijo] [-S " "sufijo] [palabra]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o opción] [-DE] [nombre ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" "mapfile [-n cuenta] [-O origen] [-s cuenta] [-t] [-u df] [-C llamada] [-c " "quantum] [matriz]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2474,7 +2586,8 @@ msgstr "" # Lo mismo de antes: el alias es expandido -> el alias se expande. sv # no alias -> ningún alias. sv # De acuerdo. cfuga -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2486,7 +2599,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2510,12 +2623,13 @@ msgstr "" " alias devuelve verdadero a menos que se de un NOMBRE para el cual\n" " no se haya definido ningún alias." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2527,7 +2641,7 @@ msgstr "" # lee 'la'... em+ # Corregido. Además, es plural: lee las asignaciones... cfuga -#: builtins.c:289 +#: builtins.c:291 #, fuzzy msgid "" "Set Readline key bindings and variables.\n" @@ -2562,7 +2676,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2614,7 +2729,7 @@ msgstr "" " bind devuelve 0 a menos que se presente una opción desconocida o suceda\n" " un error." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2632,7 +2747,7 @@ msgstr "" " Estado de salida:\n" " El estado de salida es 0 a menos que N no sea mayor o igual a 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2651,7 +2766,7 @@ msgstr "" " Estado de Salida:\n" " El estado de salida es 0 a menos que N no sea mayor o igual a 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2676,7 +2791,7 @@ msgstr "" " Devuelve el estado de salida de la ORDEN-INTERNA-SHELL, o falso si la\n" " ORDEN-INTERNA-SHELL no es una orden interna de shell." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2707,7 +2822,7 @@ msgstr "" # Slash lo venimos traduciendo por barra inclinada , y backslash # por barra invertida em++ # Corregido en toda la traducción. cfuga -#: builtins.c:385 +#: builtins.c:387 #, fuzzy msgid "" "Change the shell working directory.\n" @@ -2731,16 +2846,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2781,13 +2896,14 @@ msgstr "" " Devuelve 0 si se cambia el directorio, y si $PWD está definido con\n" " éxito cuando se usa -P; de otra forma es diferente a cero." -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2809,7 +2925,7 @@ msgstr "" " Devuelve 0 a menos que se de una opción inválida o no se pueda leer\n" " el directorio actual." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2825,7 +2941,7 @@ msgstr "" " Estado de Salida:\n" " Siempre con éxito." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2837,7 +2953,7 @@ msgstr "" " Estado de salida:\n" " Siempre con éxito." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2849,7 +2965,8 @@ msgstr "" " Estado de salida:\n" " Siempre falla." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2859,10 +2976,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2887,7 +3004,7 @@ msgstr "" " Devuelve el estado de salida de la ORDEN, o falla si no se encuentra\n" " la ORDEN." -#: builtins.c:487 +#: builtins.c:490 #, fuzzy msgid "" "Set variable values and attributes.\n" @@ -2898,9 +3015,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2964,17 +3081,18 @@ msgstr "" " Devuelve con éxito a menos que se de una opción inválida o\n" " suceda un error." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Establece valores de variables y atributos.\n" " \n" " Obsoleto. Consulte `help declare'." -#: builtins.c:535 +#: builtins.c:538 #, fuzzy msgid "" "Define local variables.\n" @@ -3001,7 +3119,7 @@ msgstr "" " Devuelve con éxito a menos que se de una opción inválida, suceda\n" " un error, o el shell no esté ejecutando una función." -#: builtins.c:552 +#: builtins.c:555 #, fuzzy msgid "" "Write arguments to the standard output.\n" @@ -3028,9 +3146,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -3066,7 +3184,7 @@ msgstr "" " Estado de salida:\n" " Devuelve con éxito a menos que suceda un error de escritura." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3088,7 +3206,7 @@ msgstr "" " Estado de salida:\n" " Devuelve con éxito a menos que suceda un error de escritura." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3143,7 +3261,7 @@ msgstr "" "shell\n" " o suceda un error." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3168,7 +3286,7 @@ msgstr "" # en una de dos formas -> en una de las dos formas siguientes em+ # dar argumentos -> especificar em+ # De acuerdo. cfuga -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3248,7 +3366,8 @@ msgstr "" " Devuelve con éxito si se encuentra una opción; falla si se encuentra\n" " el final de las opciones o sucede un error." -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -3259,8 +3378,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3289,7 +3408,7 @@ msgstr "" " Devuelve éxito a menos que no se encuentre la ORDEN o que suceda un\n" " error de redirección." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3302,7 +3421,7 @@ msgstr "" "salida\n" " es el mismo de la última orden ejecutada." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3315,7 +3434,7 @@ msgstr "" " Termina un shell de entrada con un estado de salida de N. Devuelve un\n" " error si no se ejecuta en un shell de entrada." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3371,7 +3490,7 @@ msgstr "" "error\n" " es diferente de cero." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3392,7 +3511,7 @@ msgstr "" " El estado del comando ubicado en primer plano, o falla si sucede un " "error." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3415,7 +3534,7 @@ msgstr "" " Devuelve éxito a menos que el control de trabajos no esté activado o\n" " suceda un error." -#: builtins.c:784 +#: builtins.c:787 #, fuzzy msgid "" "Remember or display program locations.\n" @@ -3425,15 +3544,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3461,7 +3580,8 @@ msgstr "" " Devuelve con éxito a menos que no se encuentre NOMBRE o se proporcione\n" " una opción inválida." -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3473,7 +3593,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3502,7 +3622,8 @@ msgstr "" " Devuelve con éxito a menos que no se encuentre PATRÓN o se proporcione\n" " una opción inválida." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3511,23 +3632,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3565,7 +3686,7 @@ msgstr "" " tiempo asociada con cada entrada de historia mostrada. No se muestra\n" " ninguna marca de tiempo de otra forma." -#: builtins.c:869 +#: builtins.c:872 #, fuzzy msgid "" "Display status of jobs.\n" @@ -3576,7 +3697,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3612,7 +3733,8 @@ msgstr "" " Devuelve con éxito a menos que se de una opción inválida o suceda un\n" " error. Si se usa -x, devuelve el estado de salida de la ORDEN." -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3622,7 +3744,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3643,7 +3765,8 @@ msgstr "" " Devuelve con éxito a menos que se proporcionen una opción o un\n" " IDTRABAJO inválidos." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3655,7 +3778,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3693,7 +3817,7 @@ msgstr "" # No sé si existe precedencia en español, pero me suena fatal. # Yo pondría simplemente "prioridad". sv # Creo que si existe, pero tu sugerencia es mejor. cfuga -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3780,7 +3904,7 @@ msgstr "" " Si el último ARGumento se evalúa como 0, let devuelve 1; de otra\n" " forma, let devuelve 0." -#: builtins.c:983 +#: builtins.c:987 #, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" @@ -3802,27 +3926,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3875,7 +4000,7 @@ msgstr "" " línea, el tiempo de read expire, o se proporcione un descriptor de\n" " fichero inválido como el argumento de -u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3897,7 +4022,7 @@ msgstr "" " Devuelve N, o falla si el shell no está ejecutando una función o un " "guión." -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3966,7 +4091,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -4079,7 +4205,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve con éxito a menos que se proporcione una opción inválida." -#: builtins.c:1126 +#: builtins.c:1132 #, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" @@ -4090,7 +4216,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4118,7 +4244,7 @@ msgstr "" " Devuelve con éxito a menos que se proporcione una opción inválida o\n" " un NOMBRE sea de sólo lectura." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4154,7 +4280,7 @@ msgstr "" " Devuelve con éxito a menos que se proporcione una opción inválida o que\n" " NOMBRE sea inválido." -#: builtins.c:1167 +#: builtins.c:1173 #, fuzzy msgid "" "Mark shell variables as unchangeable.\n" @@ -4167,9 +4293,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4196,7 +4321,7 @@ msgstr "" " Devuelve con éxito a menos que se proporcione una opción inválida o\n" " el NOMBRE sea inválido." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4214,7 +4339,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve con éxito a menos que N sea negativo o mayor que $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4238,7 +4363,7 @@ msgstr "" " Devuelve el estado de la última orden ejecutada del FICHERO; falla si\n" " no se puede leer el FICHERO." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4264,7 +4389,7 @@ msgstr "" " Devuelve con éxito a menos que no esté activo el control de trabajos o\n" " suceda un error." -#: builtins.c:1248 +#: builtins.c:1254 #, fuzzy msgid "" "Evaluate conditional expression.\n" @@ -4329,9 +4454,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4429,7 +4554,7 @@ msgstr "" " Devuelve con éxito si EXPR evalúa a verdadero; falla si EXPR evalúa a\n" " falso o se proporciona un argumento inválido." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4441,7 +4566,7 @@ msgstr "" " Este es un sinónimo para la orden interna \"test\", pero el último\n" " argumento debe ser un `]' literal, que coincida con el `[' inicial." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4461,7 +4586,7 @@ msgstr "" " Estado de salida:\n" " Siempre con éxito." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4543,7 +4668,8 @@ msgstr "" # No he visto que este fichero incluya la posibilidad de traducir las # palabras que muestra `type -t'. Por esta razón, se dejan en inglés. cfuga -#: builtins.c:1386 +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -4552,18 +4678,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4601,7 +4727,7 @@ msgstr "" " Devuelve con éxito si se encuentran todos los NOMBREs; falla si no se\n" " encuentra alguno." -#: builtins.c:1417 +#: builtins.c:1424 #, fuzzy msgid "" "Modify shell resource limits.\n" @@ -4620,6 +4746,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4631,7 +4758,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4694,7 +4822,7 @@ msgstr "" "suceda\n" " un error." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4728,7 +4856,7 @@ msgstr "" " Devuelve con éxito a menos que el MODO sea inválido o se proporcione\n" " una opción inválida." -#: builtins.c:1485 +#: builtins.c:1494 #, fuzzy msgid "" "Wait for job completion and return exit status.\n" @@ -4760,7 +4888,7 @@ msgstr "" " Devuelve el estado de ID; falla si ID es inválido o se proporciona una\n" " opción inválida." -#: builtins.c:1506 +#: builtins.c:1515 #, fuzzy msgid "" "Wait for process completion and return exit status.\n" @@ -4785,7 +4913,7 @@ msgstr "" " Devuelve el estado de ID; falla si ID es inválido o se proporciona una\n" " opción inválida." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4807,7 +4935,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve el estado de la última orden ejecutada." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4837,7 +4965,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve el estado de la última orden ejecutada." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4874,7 +5002,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve el estado de la última orden ejecutada." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4901,7 +5029,7 @@ msgstr "" " Estado de Salida:\n" " El estado de devolución es el estado de devolución de la TUBERÍA." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4919,7 +5047,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve el estado de la última orden ejecutada." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4955,7 +5083,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve el estado de la última orden ejecutada." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4973,7 +5101,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve el estado de la última orden ejecutada." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4991,7 +5119,8 @@ msgstr "" " Estado de Salida:\n" " Devuelve el estado de la última orden ejecutada." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -5001,7 +5130,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Crea un coproceso llamado NOMBRE.\n" " \n" @@ -5015,7 +5144,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve el estado de salida de la ORDEN." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -5038,7 +5167,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve con éxito a menos que NOMBRE sea de sólo lectura" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -5056,7 +5185,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve el estado de la última orden ejecutada." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -5081,7 +5210,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve el estado del trabajo reiniciado." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -5099,7 +5228,7 @@ msgstr "" " Estado de Salida:\n" " Devuelve 1 si la EXPRESIÓN evalúa a 0; devuelve 0 de otra manera." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5152,7 +5281,7 @@ msgstr "" " Estado de Salida:\n" " 0 o 1 dependiendo del valor de la EXPRESIÓN." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5267,7 +5396,8 @@ msgstr "" " \t\tpara decidir cuáles órdenes se deben guardar en la lista de\n" " \t\thistoria.\n" -#: builtins.c:1794 +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -5277,19 +5407,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5326,7 +5456,8 @@ msgstr "" " Devuelve con éxito a menos que se proporcione un argumento inválido o\n" " falle el cambio de directorio." -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -5335,16 +5466,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5380,7 +5511,8 @@ msgstr "" " Devuelve con éxito a menos que se proporcione un argumento inválido o\n" " falle el cambio de directorio." -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -5391,19 +5523,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5436,7 +5568,7 @@ msgstr "" " Devuelve con éxito, a menos que se proporcione una opción inválida o\n" " suceda un error." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5473,7 +5605,7 @@ msgstr "" " Devuelve con éxito si se activa NOMBRE_OPCIÓN; falla si se proporciona\n" " una opción inválida o NOMBRE_OPCIÓN está desactivado." -#: builtins.c:1908 +#: builtins.c:1919 #, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" @@ -5491,15 +5623,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5540,7 +5672,8 @@ msgstr "" " Devuelve con éxito a menos que se proporcione una opción inválida o\n" " suceda un error de escritura o de asignación." -#: builtins.c:1942 +#: builtins.c:1953 +#, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5553,11 +5686,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5592,7 +5725,7 @@ msgstr "" " Devuelve con éxito a menos que se proporcione una opción inválida o\n" " suceda un error." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5614,7 +5747,7 @@ msgstr "" " Devuelve con éxito a menos que se proporcione una opción inválida o\n" " suceda un error." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5671,7 +5804,8 @@ msgstr "" " Devuelve con éxito a menos que se proporcione una opción inválida o\n" " el NOMBRE no tenga una especificación de completado definida." -#: builtins.c:2015 +#: builtins.c:2026 +#, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5682,20 +5816,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5744,7 +5879,7 @@ msgstr "" " Devuelve con éxito a menos que se proporcione una opción inválida o\n" " la MATRIZ sea de sólo lectura o no sea una matriz indizada." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5754,6 +5889,28 @@ msgstr "" " \n" " Un sinónimo de `mapfile'." +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2011 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +# Esto podría ser "veces". Mirar el contexto. sv +# No es veces. times es una orden interna del shell. cfuga +#~ msgid "times" +#~ msgstr "times" + +#, fuzzy +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2011 Free Software Foundation, Inc." + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Copyright (C) 2009 Free Software Foundation, Inc.\n" @@ -5929,9 +6086,6 @@ msgstr "" #~ msgid "removes the top directory from the stack, and cd's to the new" #~ msgstr "borra el directorio del tope de la pila, y cambia al nuevo" -#~ msgid "top directory." -#~ msgstr "directorio tope." - #~ msgid "+N removes the Nth entry counting from the left of the list" #~ msgstr "" #~ "+N borra la N-ésima entrada contando desde la izquierda de la lista" @@ -6566,16 +6720,13 @@ msgstr "" #~ msgid "Bad code in sig.c: sigprocmask" #~ msgstr "Código erróneo en sig.c: sigprocmask" -#~ msgid "bad substitution: no ending `}' in %s" -#~ msgstr "sustitución errónea: no hay `}' final en %s" - #~ msgid "%s: bad array subscript" #~ msgstr "%s: subíndice de matriz erróneo" #~ msgid "can't make pipes for process substitution: %s" #~ msgstr "" -#~ "no se pueden crear las tuberías (pipes) para la sustitución del proceso: " -#~ "%s" +#~ "no se pueden crear las tuberías (pipes) para la sustitución del proceso: %" +#~ "s" #~ msgid "reading" #~ msgstr "leyendo" @@ -8287,8 +8438,8 @@ msgstr "" #~ msgid "" #~ "otherwise it is a symbolic mode string like that accepted by chmod(1)." #~ msgstr "" -#~ "de otra forma es una cadena de modo simbólico como la aceptada por " -#~ "chmod(1)." +#~ "de otra forma es una cadena de modo simbólico como la aceptada por chmod" +#~ "(1)." #~ msgid "" #~ "Wait for the specified process and report its termination status. If" diff --git a/po/et.gmo b/po/et.gmo index da10b86f3..fe7414264 100644 Binary files a/po/et.gmo and b/po/et.gmo differ diff --git a/po/et.po b/po/et.po index 204a1696d..02eb22a0e 100644 --- a/po/et.po +++ b/po/et.po @@ -6,79 +6,85 @@ msgid "" msgstr "" "Project-Id-Version: bash 3.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2006-11-11 16:38+0200\n" "Last-Translator: Toomas Soome \n" "Language-Team: Estonian \n" -"Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8-bit\n" +"Language: et\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "vigane massiivi indeks" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, fuzzy, c-format msgid "%s: invalid associative array key" msgstr "%s: vigane tegevuse nimi" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: mitte-numbrilisele indeksile ei saa omistada" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: ei saa luua: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: esimine mitte-tühemik sümbol pole `\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "sulgev `%c' puudub %s sees" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: puudub eraldav koolon" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, fuzzy, c-format msgid "`%s': invalid alias name" msgstr "%s: vigane tegevuse nimi" @@ -87,45 +93,45 @@ msgstr "%s: vigane tegevuse nimi" msgid "line editing not enabled" msgstr "" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: ei saa lugeda: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "`%s': ei saa lahti siduda" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "`%s': tundmatu funktsiooni nimi" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s ei ole seotud ühegi klahviga.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s saab kasutada läbi " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "omab mõtet ainult `for', `while' või `until' tsüklis" -#: builtins/caller.def:134 +#: builtins/caller.def:136 #, fuzzy msgid "" "Returns the context of the current subroutine call.\n" @@ -133,302 +139,331 @@ msgid "" " Without EXPR, returns " msgstr "Tagastab jooksva alamprotseduuri konteksti." -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME pole seatud" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "liiga palju argumente" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "teist kataloogi pole" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD pole seatud" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "" -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, fuzzy, c-format msgid "warning: " msgstr "%s: hoiatus: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, fuzzy, c-format msgid "%s: usage: " msgstr "%s: hoiatus: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: võti nõuab argumenti" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: nõutakse numbrilist argumenti" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: ei leitud" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: vigane võti" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: vigane võtme nimi" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': ei ole lubatud identifikaator" -#: builtins/common.c:238 +#: builtins/common.c:246 #, fuzzy msgid "invalid octal number" msgstr "vigane signaali number" -#: builtins/common.c:240 +#: builtins/common.c:248 #, fuzzy msgid "invalid hex number" msgstr "vigane number" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "vigane number" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: vigane signaali spetsifikatsioon" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "`%s': ei ole pid ega korrektne töö spetsifikatsioon" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: mittemuudetav muutuja" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s on piiridest väljas" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s on piiridest väljas" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: sellist tööd pole" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: töökontroll puudub" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "töökontroll puudub" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: piiratud" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "piiratud" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: ei ole sisekäsk" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "kirjutamise viga: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: segane töö" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: vigane tegevuse nimi" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "hoiatus: võti -F ei pruugi töötada nagu te ootate" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "hoiatus: võti -C ei pruugi töötada nagu te ootate" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "saab kasutada ainult funktsioonis" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: vigane tegevuse nimi" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "võtit `-f' ei saa funktsiooni loomiseks kasutada" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: funktsioon ei ole muudetav" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: masiivi muutujaid ei saa nii kustutada" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dünaamilist laadimist et saa kasutada" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "jagatud objekti %s ei saa avada: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "%s puudub jagatud objektis %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: pole dünaamiliselt laetud" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: ei saa kustutada: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: on kataloog" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: ei ole tavaline fail" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: fail on liiga suur" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: kahendfaili ei õnnestu käivitada" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: ei saa käivitada: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "pole login shell: kasutage `exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Teil on peatatud töid.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, fuzzy, c-format msgid "There are running jobs.\n" msgstr "Teil on peatatud töid.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "käsku ei ole" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: ajutist faili ei saa avada: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "" @@ -447,35 +482,35 @@ msgstr "%s: v msgid "hashing disabled" msgstr "" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, fuzzy, c-format msgid "hits\tcommand\n" msgstr "viimane käsklus: %s\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "" msgstr[1] "" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: ei saa avada: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -487,15 +522,20 @@ msgid "" "\n" msgstr "" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: vigane number" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "" @@ -509,114 +549,114 @@ msgstr "%s: vigane teenus" msgid "no other options allowed with `-x'" msgstr "" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Tundmatu viga" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "oodati avaldist" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, fuzzy, c-format msgid "%s: not an indexed array" msgstr "%s: pole massiiv" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, fuzzy, c-format msgid "%s: invalid line count" msgstr "%s: vigane võti" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, fuzzy, c-format msgid "%s: invalid array origin" msgstr "%s: vigane võti" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, fuzzy, c-format msgid "%s: invalid callback quantum" msgstr "%s: vigane tegevuse nimi" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 #, fuzzy msgid "empty array variable name" msgstr "%s: pole massiiv" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, fuzzy, c-format msgid "`%c': invalid time format specification" msgstr "%s: vigane signaali spetsifikatsioon" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, fuzzy, c-format msgid "warning: %s: %s" msgstr "%s: hoiatus: " -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "teist kataloogi pole" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: vigane number" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -640,7 +680,7 @@ msgid "" "\tdirs when invoked without options, starting with zero." msgstr "" -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -665,7 +705,7 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -686,143 +726,153 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "viga lugemisel: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: ei saa eemaldada" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: ei saa eemaldada: %s on ainult lugemiseks" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: pole massiiv" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: ei ole funktsioon" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: ei saa eemaldada" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "shift arv" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: faili ei ole" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "peatamine ei õnnestu" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "login shelli ei saa peatada" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s on shelli võtmesõna\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s: on funktsioon\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s on shelli sisekäsk\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s on shelli sisekäsk\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s on %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': halb käsklus" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: ei õnnestu lugeda piirangut: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: ei õnnestu muuta piirangut: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "kaheksandnumber" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr "" @@ -836,83 +886,104 @@ msgstr "viimane k msgid "Aborting..." msgstr "Katkestan..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "tundmatu viga käsus" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: sidumata muutuja" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 #, fuzzy msgid "pipe error" msgstr "kirjutamise viga: %s" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: piiratud: käskudes ei saa kasutada sümboleid `/'" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: käsku ei ole" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, fuzzy, c-format msgid "%s: %s" msgstr "%s on %s\n" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: halb interpretaator" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: kahendfaili ei õnnestu käivitada" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, fuzzy, c-format msgid "`%s': is a special builtin" msgstr "%s on shelli sisekäsk\n" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "" @@ -957,37 +1028,37 @@ msgstr "" msgid "missing `)'" msgstr "puudub `)'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "süntaksi viga: oodati operandi" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "süntaksi viga: vigane aritmeetiline operaator" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "vigane aritmeetiline baas" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "väärtus on baasiks liiga suur" -#: expr.c:1543 +#: expr.c:1546 #, fuzzy, c-format msgid "%s: expression error\n" msgstr "%s: oodati täisarvude avaldist" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: vanemkataloogidele ei ole juurdepääsu" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "" @@ -1002,148 +1073,148 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: pid puudub" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr "" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: töö %d on peatatud" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: töö on lõpetatud" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: töö %d on juba taustal" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" -#: jobs.c:3711 +#: jobs.c:3970 #, fuzzy, c-format msgid "%s: line %d: " msgstr "%s: hoiatus: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr "" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "" @@ -1196,17 +1267,17 @@ msgstr "" msgid "realloc: start and end chunk sizes differ" msgstr "" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "" @@ -1230,7 +1301,7 @@ msgstr "%s: vigane teenus" msgid "%s: bad network path specification" msgstr "" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "" @@ -1267,224 +1338,259 @@ msgstr "Teil on uus kiri kaustas $_" msgid "The mail in %s has been read\n" msgstr "Kiri kaustas %s on loetud\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "süntaksi viga: nõutakse aritmeetilist avaldist" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "süntaksi viga: ootamatu `;'" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "süntaksi viga: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "süntaksi viga tingimuslikus avaldises" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "ootamatu märk `%s', oodati `)'" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "oodati `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "süntaksi viga kohal `%s'" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "süntaksi viga: ootamatu faililõpp" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "süntaksi viga" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Käsuinterpretaatorist väljumiseks kasutage \"%s\".\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "faili deskriptor on piiridest väljas" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: segane ümbersuunamine" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: fail on olemas, ei kirjuta üle" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: piiratud: väljundit ei saa ümber suunata" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "" -#: redir.c:195 +#: redir.c:196 #, fuzzy, c-format msgid "%s: cannot assign fd to variable" msgstr "$%s: sedasi ei saa omistada" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "viga ümbersuunamisel: fd duplikaadi loomine ei õnnestu" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "/tmp puudub, palun looge see!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp peab olema kataloogi nimi" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: vigane võti" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: on kataloog" + +#: shell.c:1777 msgid "I have no name!" msgstr "Mul ei ole nime!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1493,40 +1599,50 @@ msgstr "" "Kasuta:\t%s [GNU pikk võti] [võti] ...\n" "\t%s [GNU pikk võti] [võti] skript-fail ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU pikad võtmed:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Käsuinterpretaatori võtmed:\n" -#: shell.c:1835 +#: shell.c:1938 #, fuzzy msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-irsD või -c käsklus või -O lühivõti\t\t(ainult käivitamine)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s või -o võti\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Vigadest teatamiseks kasutage käsku `bashbug'.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: vigane operatsioon" @@ -1702,88 +1818,103 @@ msgstr "" msgid "Unknown Signal #%d" msgstr "" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "sulgev `%c' puudub %s sees" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: halb asendus" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: vigane võti" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "%s: vigane tegevuse nimi" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parameeter on null või pole seatud" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: halb asendus" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: sedasi ei saa omistada" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" -#: subst.c:8421 +#: subst.c:9349 #, fuzzy, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "sulgev `%c' puudub %s sees" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "ei leitud: %s" @@ -1797,123 +1928,123 @@ msgstr "oodati argumenti" msgid "%s: integer expression expected" msgstr "%s: oodati täisarvude avaldist" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "oodati `)'" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "oodati `)', saadi %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: eeldati unaarset operaatorit" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: eeldati binaarset operaatorit" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "puudub `]'" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "vigane signaali number" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: halb väärtus muutujas trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" "run_pending_traps: signaali käsitleja on SIG_DFL, saadan %d (%s) iseendale" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: vigane signaal %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "shelli tase (%d) on liiga kõrge, kasutan väärtust 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: praegune skoop pole funktsiooni kontekst" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "$%s: sedasi ei saa omistada" -#: variables.c:3646 +#: variables.c:3043 +#, c-format +msgid "%s: assigning integer to name reference" +msgstr "" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: praegune skoop pole funktsiooni kontekst" -#: variables.c:3891 +#: variables.c:4218 #, fuzzy, c-format msgid "%s has null exportstr" msgstr "%s: parameeter on null või pole seatud" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: pole global_variables kontekst" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" -#: variables.c:5257 +#: variables.c:5619 #, fuzzy, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: ei saa avada: %s" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s on piiridest väljas" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "Autoriõigus © 2006 Free Software Foundation, Inc.\n" #: version.c:47 version2.c:47 @@ -1935,11 +2066,6 @@ msgstr "" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "" -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Autoriõigus © 2006 Free Software Foundation, Inc.\n" - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -1960,342 +2086,326 @@ msgstr "" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: ei saa luua: %s" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "" -#: builtins.c:64 -msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "" - #: builtins.c:66 -msgid "pwd [-LP]" +msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "" #: builtins.c:68 -msgid ":" -msgstr "" - -#: builtins.c:70 -msgid "true" -msgstr "" - -#: builtins.c:72 -msgid "false" +msgid "pwd [-LP]" msgstr "" -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +#: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "" -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "" -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" msgstr "" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "" -#: builtins.c:148 +#: builtins.c:150 #, fuzzy msgid "shift [n]" msgstr "shift arv" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "" -#: builtins.c:152 +#: builtins.c:154 #, fuzzy msgid ". filename [arguments]" msgstr "liiga palju argumente" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "" -#: builtins.c:158 -msgid "test [expr]" -msgstr "" - #: builtins.c:160 -msgid "[ arg... ]" +msgid "test [expr]" msgstr "" #: builtins.c:162 -msgid "times" +msgid "[ arg... ]" msgstr "" -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" msgstr "" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "" -#: builtins.c:206 +#: builtins.c:208 #, fuzzy msgid "(( expression ))" msgstr "oodati avaldist" -#: builtins.c:208 +#: builtins.c:210 #, fuzzy msgid "[[ expression ]]" msgstr "oodati avaldist" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2307,7 +2417,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2315,17 +2425,17 @@ msgid "" " defined." msgstr "" -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2359,14 +2469,15 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2377,7 +2488,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2388,7 +2499,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2402,7 +2513,7 @@ msgid "" " not a shell builtin.." msgstr "" -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2418,7 +2529,7 @@ msgid "" " is invalid." msgstr "" -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2441,16 +2552,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2463,13 +2574,13 @@ msgid "" " -P is used; non-zero otherwise." msgstr "" -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2479,7 +2590,7 @@ msgid "" " cannot be read." msgstr "" -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2489,7 +2600,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2497,7 +2608,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2505,7 +2616,7 @@ msgid "" " Always fails." msgstr "" -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2515,16 +2626,16 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2534,9 +2645,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2564,14 +2675,14 @@ msgid "" " assignment error occurs." msgstr "" -#: builtins.c:527 +#: builtins.c:530 msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2586,7 +2697,7 @@ msgid "" " assignment error occurs, or the shell is not executing a function." msgstr "" -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2612,15 +2723,15 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2633,7 +2744,7 @@ msgid "" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2660,7 +2771,7 @@ msgid "" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2672,7 +2783,7 @@ msgid "" " Returns exit status of command or success if command is null." msgstr "" -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2713,7 +2824,7 @@ msgid "" " encountered or an error occurs." msgstr "" -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -2724,8 +2835,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2736,7 +2847,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -2744,7 +2855,7 @@ msgid "" " is that of the last command executed." msgstr "" -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2753,7 +2864,7 @@ msgid "" " in a login shell." msgstr "" -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2783,7 +2894,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2795,7 +2906,7 @@ msgid "" " Status of command placed in foreground, or failure if an error occurs." msgstr "" -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2809,7 +2920,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -2818,22 +2929,22 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -2845,7 +2956,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2855,7 +2966,7 @@ msgid "" "given." msgstr "" -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -2864,23 +2975,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -2889,7 +3000,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -2899,7 +3010,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -2913,7 +3024,7 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -2923,14 +3034,14 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -2942,7 +3053,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -2952,7 +3064,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -2997,7 +3109,7 @@ msgid "" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3018,27 +3130,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3048,7 +3161,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3060,7 +3173,7 @@ msgid "" " Returns N, or failure if the shell is not executing a function or script." msgstr "" -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3128,7 +3241,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3145,7 +3259,7 @@ msgid "" " Returns success unless an invalid option is given." msgstr "" -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3155,7 +3269,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3167,7 +3281,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3186,7 +3300,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3198,9 +3312,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3208,7 +3321,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3219,7 +3332,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3233,7 +3346,7 @@ msgid "" " FILENAME cannot be read." msgstr "" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3247,7 +3360,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3311,9 +3424,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3330,7 +3443,7 @@ msgid "" " false or an invalid argument is given." msgstr "" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3338,7 +3451,7 @@ msgid "" " be a literal `]', to match the opening `['." msgstr "" -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3350,7 +3463,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3394,7 +3507,7 @@ msgid "" "given." msgstr "" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3403,18 +3516,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3424,7 +3537,7 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3442,6 +3555,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3453,7 +3567,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3471,7 +3586,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3489,7 +3604,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3509,7 +3624,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3524,7 +3639,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3537,7 +3652,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3554,7 +3669,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3574,7 +3689,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3590,7 +3705,7 @@ msgid "" " The return status is the return status of PIPELINE." msgstr "" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3601,7 +3716,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3622,7 +3737,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3633,7 +3748,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -3644,7 +3759,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3654,10 +3769,10 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3671,7 +3786,7 @@ msgid "" " Returns success unless NAME is readonly." msgstr "" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -3682,7 +3797,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3696,7 +3811,7 @@ msgid "" " Returns the status of the resumed job." msgstr "" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3707,7 +3822,7 @@ msgid "" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3735,7 +3850,7 @@ msgid "" " 0 or 1 depending on value of EXPRESSION." msgstr "" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3789,7 +3904,7 @@ msgid "" " \t\tcommands should be saved on the history list.\n" msgstr "" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -3799,19 +3914,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3820,7 +3935,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -3829,16 +3944,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3847,7 +3962,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -3858,25 +3973,25 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -3897,7 +4012,7 @@ msgid "" " given or OPTNAME is disabled." msgstr "" -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -3914,15 +4029,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -3936,7 +4051,7 @@ msgid "" " error occurs." msgstr "" -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -3949,11 +4064,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -3963,7 +4078,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -3976,7 +4091,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4007,7 +4122,7 @@ msgid "" " have a completion specification defined." msgstr "" -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4018,20 +4133,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4048,13 +4164,21 @@ msgid "" " not an indexed array." msgstr "" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" " A synonym for `mapfile'." msgstr "" +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Autoriõigus © 2006 Free Software Foundation, Inc.\n" + +#, fuzzy +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Autoriõigus © 2006 Free Software Foundation, Inc.\n" + #, fuzzy #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Autoriõigus © 2006 Free Software Foundation, Inc.\n" diff --git a/po/fi.gmo b/po/fi.gmo index 4390eac12..96ee531ac 100644 Binary files a/po/fi.gmo and b/po/fi.gmo differ diff --git a/po/fi.po b/po/fi.po index 81599a2b5..5fb8cc48c 100644 --- a/po/fi.po +++ b/po/fi.po @@ -9,83 +9,89 @@ msgid "" msgstr "" "Project-Id-Version: bash-4.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2009-05-09 15:13+0300\n" "Last-Translator: Pekka Niemi \n" "Language-Team: Finnish \n" -"Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Lokalize 0.3\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "virheellinen taulukkoindeksi" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: indeksoitua taulukkoa ei voi muuttaa assosiatiiviseksi" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: virheellinen assosiatiivinen indeksi" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: ei voida sijoittaa epänumeeriseen indeksiin" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" "%s: %s: assosiatiiviseen taulukkoon sijoitettaessa täytyy käyttää " "avainindeksiä" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: ei voida luoda: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: komennolle ei löydy näppäinkarttaa" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: ensimmäinen ei-tyhjä merkki ei ole ”\"”" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "ei loppumerkkiä ”%c” rivissä %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: puuttuva kaksoispiste-erotin" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, fuzzy, c-format msgid "`%s': invalid alias name" msgstr "”%s”: virheellinen näppäinkartan nimi" @@ -94,45 +100,45 @@ msgstr "”%s”: virheellinen näppäinkartan nimi" msgid "line editing not enabled" msgstr "rivieditointi ei ole käytössä" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "”%s”: virheellinen näppäinkartan nimi" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: ei voida lukea: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "”%s”: ei voida irrottaa" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "”%s”: tuntematon funktio" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s ei ole sidottu mihinkään näppäimeen.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s voidaan käynnistää näppäinkomennolla " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "toistolaskuri" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "voidaan käyttää vain ”for”-, ”while”- tai ”until”-silmukoissa" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -142,300 +148,329 @@ msgstr "" " \n" " Ilman LAUSEKETTA palauttaa" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME-ympäristömuuttujaa ei ole asetettu" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "liian monta argumenttia" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "ei toista hakemistoa" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD-ympäristömuuttujaa ei ole asetettu" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "rivi %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "varoitus: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: käyttö: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: valitsin vaatii argumentin" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: vaaditaan numeerinen argumentti" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: ei löytynyt" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: virheellinen valitsin" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: virheellinen valitsimen nimi" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "”%s”: virheellinen tunniste" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "virheellinen oktaaliluku" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "virheellinen heksadesimaaliluku" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "virheellinen luku" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: virheellinen signaalimääritys" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "”%s”: ei ole prosessitunnus eikä kelvollinen työtunniste" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: kirjoitussuojattu muuttuja" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s rajojen ulkopuolella" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argumentti" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s rajojen ulkopuolella" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: työtä ei löydy" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: ei työnohjausta" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "ei työnohjausta" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: rajoitettu" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "rajoitettu" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: ei ole komentotulkin sisäänrakennettu komento" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "kirjoitusvirhe: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "pääteasetuksia asetettaessa tapahtui virhe: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "pääteasetuksia luettaessa tapahtui virhe: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: nykyhakemistoa luettaessa tapahtui virhe: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: ei ole yksiselitteinen työtunniste" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: virheellinen toiminnon nimi" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: ei lavennusmääritystä" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "varoitus: -F -valitsin ei ehkä toimi odotetusti" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "varoitus: -C -valitsin ei ehkä toimi odotetusti" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "tällä hetkellä komennon lavennusfunktiota ei suoriteta" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "voidaan käyttää ainoastaan funktiossa" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, fuzzy, c-format +msgid "%s: circular name reference" +msgstr "%d: virheellinen tiedostokahva: %s" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%d: virheellinen tiedostokahva: %s" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "”-f”:ää ei voida käyttää funktioiden luomiseen" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: kirjoitussuojattu funktio" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: taulukkomuuttujia ei voi tuhota näin" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: assosiatiivista taulukkoa ei voi muuttaa indeksoiduksi" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dynaaminen lataus ei ole käytettävissä" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "jaettua objektia %s ei voida avata: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "kohdetta %s ei löydy jaetusta objektista %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: ei dynaamisesti ladattu" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: ei voida poistaa: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: on hakemisto" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: ei tavallinen tiedosto" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: tiedosto on liian iso" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: binääritiedostoa ei voida suorittaa" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: ei voida suorittaa: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "lopetus\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "ei ole sisäänkirjautumiskomentotulkki: käytä komentoa ”exit”" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Töitä on pysäytettynä.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Töitä on ajossa.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "ei löytynyt komentoa" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "komentohistoriamääritys" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: väliaikaistiedostoa ei voitu avata: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "nykyinen" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "työ %d käynnistyi ilman työnohjausta" @@ -454,24 +489,24 @@ msgstr "%s: valitsin vaatii argumentin – %c\n" msgid "hashing disabled" msgstr "hajautus kytketty pois" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: hajautustaulukko on tyhjä\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "osumia\tkomento\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Sopivat komennot avainsanaan `" msgstr[1] "Sopivat komennot avainsanoihin `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -479,12 +514,12 @@ msgstr "" "Ohjeita kohteelle ”%s” ei löydy. Kokeile ”help help”, ”man -k %s” tai \n" "”info %s”." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: ei voida avata: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -505,15 +540,20 @@ msgstr "" "Asteriski (*) nimen vieressä tarkoittaa, että komennon käyttö on estetty.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "valitsimista -anrw voidaan käyttää vain yhtä" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "sijainti komentohistoriassa" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: virheellinen rajoitusargumentti" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: historiaviittaus epäonnistui" @@ -527,113 +567,113 @@ msgstr "%s: inlib epäonnistui" msgid "no other options allowed with `-x'" msgstr "”-x”:n kanssa ei voida käyttää muita valitsimia" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argumenttien pitää olla prosessi- tai työtunnisteita" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Tuntematon virhe" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "odotettiin lauseketta" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, fuzzy, c-format msgid "%s: not an indexed array" msgstr "%s: ei ole taulukkomuuttuja" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: virheellinen tiedostokahvamääritys" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: virheellinen tiedostokahva: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: virheellinen rivimäärä" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: virheellinen taulukkoindeksi" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: virheellinen paluukutsumäärä" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "tyhjä taulukkomuuttujan nimi" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "vaaditaan tukea taulukkomuuttujille" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "”%s”: puuttuva muotoilumerkki" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, fuzzy, c-format msgid "`%c': invalid time format specification" msgstr "%s: virheellinen aikakatkaisumääritys" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "”%c”: virheellinen muotoilumerkki" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "varoitus: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "\\x:stä puuttuu heksadesimaalinumero" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, fuzzy, c-format msgid "missing unicode digit for \\%c" msgstr "\\x:stä puuttuu heksadesimaalinumero" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "ei toista hakemistoa" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: virheellinen rajoitusargumentti" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "hakemistopino on tyhjä" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "hakemistopinon indeksi" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -675,7 +715,7 @@ msgstr "" " -N\tNäyttää listan N:nnen alkion (laskien oikealta dirs-komennon\n" " \tantamasta listasta). Valitsimetta kutsuttaessa aloitetaan nollasta." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -717,7 +757,7 @@ msgstr "" " \n" " Sisäänrakennettu ”dirs”-komento näyttää hakemistopinon." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -755,145 +795,155 @@ msgstr "" " \n" " Sisäänrakennettu ”dirs”-komento näyttää hakemistopinon sisällön." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: virheellinen aikakatkaisumääritys" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "lukuvirhe: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "”return” on käytettävissä vain funktiossa tai ladatussa skriptissä" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "funktiota ja muuttujaa ei voi poistaa yhtä aikaa" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: ei voida poistaa" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: ei voida poistaa: kirjoitussuojattu %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: ei ole taulukkomuuttuja" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: ei ole funktio" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: ei voida poistaa" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "siirtolaskuri" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "" "komentotulkin valitsimia ei voida laittaa päällä ja ottaa pois päältä " "samanaikaisesti" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: virheellinen komentotulkin valitsimen nimi" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "vaaditaan tiedostonimi argumentiksi" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: tiedostoa ei löytynyt" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "ei voida keskeyttää" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "sisäänkirjautumiskomentotulkkia ei voi keskeyttää" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s on aliasioitu ”%s”\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s on komentotulkin avainsana\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s on funktio\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s on komentotulkin sisäänrakennettu komento\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s on komentotulkin sisäänrakennettu komento\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s on %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s on hajautettu (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: virheellinen rajoitusargumentti" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "”%c”: virheellinen komento" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: rajoitusta ei saada: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "rajoitus" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: rajoitusta ei voida muokata: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "oktaaliluku" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "”%c”: virheellinen symbolisen tilan operaattori" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "”%c”: virheellinen symbolisen tilan merkki" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " rivi " @@ -907,82 +957,103 @@ msgstr "viimeinen komento: %s\n" msgid "Aborting..." msgstr "Keskeytetään..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "tuntematon komentovirhe" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "virheellinen komentotyyppi" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "virheellinen liittäjä" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "virheellinen hyppy" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: sitomaton muuttuja" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aaikakatkaisu: automaattinen uloskirjautuminen\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "syötettä ei voida lukea tiedostosta /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "AJAN MUOTOMÄÄRITYS: ”%c”: virheellinen muotoilumerkki" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "putkitusvirhe" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: rajoitettu: komentojen nimissä ei voi käyttää ”/”-merkkiä" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: komentoa ei löydy" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, fuzzy, c-format msgid "%s: %s" msgstr "%s on %s\n" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: virheellinen tulkki" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: binääritiedostoa ei voida suorittaa" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, fuzzy, c-format msgid "`%s': is a special builtin" msgstr "%s on komentotulkin sisäänrakennettu komento\n" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "tiedostokahvaa %d ei voida kopioida kahvaksi %d" @@ -1027,37 +1098,37 @@ msgstr "odotettiin muuttujaa ++:n tai --:n jälkeen" msgid "missing `)'" msgstr "puuttuva ”)”" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "lauseoppivirhe: odotettiin operandia" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "lauseoppivirhe: virheellinen aritmetiikkaoperaattori" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (virheellinen avainsana on ”%s”)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "virheellinen lukujärjestelmä" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "liian iso luku lukujärjestelmälle" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: virhe lausekkeessa\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: ylempiin hakemistoihin ei päästä" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "nodelay-tilaa ei voida asettaa tiedostokahvalle %d" @@ -1072,148 +1143,148 @@ msgstr "bashin syötteeksi ei voida avata uutta tiedostokahvaa kahvasta %d" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: uudella tiedostokahvalla %d on jo puskuri" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp-putki" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "haarautettu prosessi-id %d on ajossa olevalla työllä %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "poistetaan pysäytetty työ %d prosessiryhmästä %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: prosessi %5ld (%s) putkijonossa" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: prosessi %5ld (%s) on merkattu vielä toimivaksi" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: prosessitunnusta ei löydy." -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signaali %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Valmis" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Pysäytetty" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Pysäytetty(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Ajossa" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Valmis(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Poistui %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Tuntematon tila" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(luotiin core-tiedosto)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (työhakemisto: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "lapsiprosessin setpgid (%ld => %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: prosessi %ld ei ole tämän komentotulkin lapsiprosessi" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Prosessista %ld ei ole tietoja" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: työ %d on pysäytetty" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: työ on lopetettu" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: työ %d on jo taustalla" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: rivi %d:" -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (luotiin core-tiedosto)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(työhakemisto nyt: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp epäonnistui" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: vuonhallinta" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "päätteen prosessiryhmää ei voitu asettaa (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "tällä komentotulkilla ei ole työnohjausta" @@ -1267,17 +1338,17 @@ msgstr "realloc: havaittiin alivuoto; mh_nbytes rajojen ulkopuolella" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: alku- ja loppulohkojen koot eroavat" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: varaustaulukko on täynnä FIND_ALLOCeja?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p on merkitty taulukossa jo varatuksi?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p on jo taulukossa vapaana?\n" @@ -1301,7 +1372,7 @@ msgstr "%s: virheellinen palvelu" msgid "%s: bad network path specification" msgstr "%s: virheellinen verkkopolkumääritys" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "verkko-operaatioita ei ole tuettu" @@ -1338,226 +1409,261 @@ msgstr "Sinulla on uutta postia laatikossa $_" msgid "The mail in %s has been read\n" msgstr "Posti laatikossa %s on luettu\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "lauseoppivirhe: vaaditaan aritmeettinen lauseke" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "lauseoppivirhe: odottamaton ”;”" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "lauseoppivirhe: ”((%s))”" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: virheellinen käskytyyppi %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" "here-dokumentti rivillä %d päättyi tiedoston loppumiseen (haluttiin ”%s”)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: uudelleenohjaus ”%d” rajojen ulkopuolella" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "odottamaton EOF (tiedostonloppu) odotettaessa sulkevaa ”%c”" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "odottamaton EOF odotettaessa ”]]”" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "lauseoppivirhe ehdollisessa lausekkeessa: odottamaton avainsana ”%s”" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "lauseoppivirhe ehdollisessa lausekkeessa" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "odottamaton avainsana ”%s”, odotettiin ”)”" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "odototettiin ”)”" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "odottamaton argumentti ”%s” ehdolliselle unaariselle operaattorille" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "odottamaton argumentti ehdolliselle unaariselle operaattorille" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "" "odottamaton avainsana ”%s”, odotettiin ehdollista binääristä operaattoria" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "odotettiin ehdollista binääristä operaattoria" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "odottamaton argumentti ”%s” ehdolliselle binääriselle operaattorille" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "odottamaton argumentti ehdolliselle binääriselle operaattorille" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "odottamaton avainsana ”%c” ehdollisessa komennossa" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "odottamaton avainsana ”%s” ehdollisessa komennossa" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "odottamaton avainsana %d ehdollisessa komennossa" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "lauseoppivirhe lähellä odottamatonta avainsanaa ”%s”" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "lauseoppivirhe lähellä ”%s”" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "lauseoppivirhe: odottamaton tiedostonloppu" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "lauseoppivirhe" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Kirjoita ”%s” poistuaksesi komentotulkista.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "Odottamaton EOF odotettaessa vastaavaa ”)”" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "täydennys: funktiota ”%s” ei löytynyt" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: tyhjä COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: virheellinen yhdistin ”%d”" -#: print_cmd.c:373 +#: print_cmd.c:375 #, fuzzy, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "%d: virheellinen tiedostokahva: %s" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: ”%c”: virheellinen muotoilumerkki" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "tiedostokahva rajojen ulkopuolella" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: epämääräinen uudelleenohjaus" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: olemassa olevan tiedoston päälle ei voida kirjoittaa" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: rajoitettu: tulostusta ei voida uudelleenohjata" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "here-dokumentille ei voida luoda väliaikaistiedostoa: %s" -#: redir.c:195 +#: redir.c:196 #, fuzzy, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: listaa ei voida sijoittaa taulukon alkioon" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port-muotoa ei tueta ilman tietoliikennettä" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "virhe uudelleenohjauksessa: tiedostokahvaa ei voida kopioida" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "/tmp-hakemistoa ei löytynyt, luo se!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp:n pitää olla kelvollinen hakemiston nimi" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: virheellinen valitsin" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "nodelay-tilaa ei voida asettaa tiedostokahvalle %d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "nodelay-tilaa ei voida asettaa tiedostokahvalle %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: on hakemisto" + +#: shell.c:1777 msgid "I have no name!" msgstr "Minulla ei ole nimeä!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, versio %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1566,45 +1672,55 @@ msgstr "" "Käyttö:\t%s[GNU:n pitkä valitsin] [valitsin] ...\n" "\t%s [GNU:n pitkä valitsin] [valitsin] komentotiedosto ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU:n pitkät valitsimet:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Komentotulkin valitsimet:\n" -#: shell.c:1835 +#: shell.c:1938 #, fuzzy msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "" "\t-irsD tai -c komento tai -O shopt_option (ainoastaan käynnistettäessä)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s tai -o -valitsin\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Kirjoita ”%s -c 'help set'” saadaksesi lisätietoja komentotulkin " "valitsimista.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Kirjoita ”%s -c help” saadaksesi lisätietoja komentotulkin " "sisäänrakennetuista komennoista.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Raportoi virheet komennolla ”bashbug”.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: virheellinen operaatio" @@ -1778,88 +1894,103 @@ msgstr "Tuntematon signaali #" msgid "Unknown Signal #%d" msgstr "Tuntematon signaali #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "virheellinen korvaus: ei sulkevaa ”%s” jonossa %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: listaa ei voida sijoittaa taulukon alkioon" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "putkea ei voida luoda prosessin korvaamista varten" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "lapsiprosessia ei voida luoda prosessin korvaamista varten" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "nimettyä putkea %s ei voida avata lukemista varten" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "nimettyä putkea %s ei voida avata kirjoitusta varten" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "nimettyä putkea %s ei voida kopioida tiedostokahvaksi %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "virheellinen korvaus: ei sulkevaa ”`” jonossa %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "putkea ei voida luoda komennon korvaamista varten" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "ei voida luoda lapsiprosessia komennon korvaamista varten" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: putkea ei voida kopioida tiedostokahvaksi 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, fuzzy, c-format msgid "%s: invalid variable name for name reference" msgstr "%d: virheellinen tiedostokahva: %s" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: virheellinen korvaus" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: virheellinen rivimäärä" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "”%s”: virheellinen näppäinkartan nimi" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parametria ei ole tai sitä ei ole asetettu" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: alimerkkijonolauseke < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: virheellinen korvaus" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: ei voida asettaa näin" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "virheellinen korvaus: ei sulkevaa ”`” jonossa %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "ei osumia: %s" @@ -1873,39 +2004,39 @@ msgstr "odotettiin argumenttia" msgid "%s: integer expression expected" msgstr "%s: odotettiin kokonaislukuilmaisua" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "odotettiin ”)”" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "odotettiin ”)”, löydettiin %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: odotettiin unaarista operaattoria" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: odotettiin binääristä operaattoria" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "puuttuva ”]”" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "virheellinen signaalinumero" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: virheellinen arvo trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1913,86 +2044,86 @@ msgstr "" "run_pending_traps: signaalikäsittelijä on SIG_DFL, lähetän %d (%s) uudelleen " "itselleni" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: virheellinen signaali %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "virhe tuotaessa ”%s”:n funktiomääritystä" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "komentotulkkitaso (%d) liian korkea, palautetaan 1:ksi" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%d: virheellinen tiedostokahva: %s" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: ei funktiokontekstia nykytilassa" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "%s: listaa ei voida sijoittaa taulukon alkioon" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%d: virheellinen tiedostokahva: %s" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: ei funktiokontekstia nykytilassa" -#: variables.c:3891 +#: variables.c:4218 #, fuzzy, c-format msgid "%s has null exportstr" msgstr "%s: parametria ei ole tai sitä ei ole asetettu" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "virheellinen merkki %d %s:n exportstr:ssä" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "ei =:ä kohteen %s exportstr:ssä" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: shell_variablesin alku ei ole funktiokonteksti" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: ei global_variables-kontekstia" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: shell_variablesin alku ei väliaikaisten ympäristömuuttujien " "ympäristössä" -#: variables.c:5257 +#: variables.c:5619 #, fuzzy, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: ei voida avata: %s" -#: variables.c:5262 +#: variables.c:5624 #, fuzzy, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%d: virheellinen tiedostokahva: %s" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s rajojen ulkopuolella" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "Copyright © 2009 Free Software Foundation, Inc." #: version.c:47 version2.c:47 @@ -2018,11 +2149,6 @@ msgstr "Tämä on vapaa ohjelma; saat muutella ja levittää sitä vapaasti.\n" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Takuuta ei ole lain määräämissä rajoissa.\n" -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright © 2009 Free Software Foundation, Inc." - #: xmalloc.c:91 #, fuzzy, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2043,15 +2169,15 @@ msgstr "xmalloc: %s:%d: ei voida varata %lu tavua (varattiin %lu tavua)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "xmalloc: %s:%d: ei voida varata %lu tavua" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [nimi[=arvo] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] nimi [nimi ...]" -#: builtins.c:51 +#: builtins.c:53 #, fuzzy msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" @@ -2061,116 +2187,104 @@ msgstr "" "näppäinsarja] [-x näppäinsarja:komento] [näppäinsarja:readline-funktio tai " "readline-komento]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [sisäänrakennettu komento [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [expr]" -#: builtins.c:64 +#: builtins.c:66 #, fuzzy msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|-P] [dir]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] komento [arg ...]" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFilrtux] [-p] [niemi[=arvo] ...]" -#: builtins.c:78 +#: builtins.c:80 #, fuzzy -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-aAfFilrtux] [-p] nimi[=arvo] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [valitsin] nimi[=arvo] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f tiedosto] [nimi ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts valitsinmerkit nimi [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a nimi] [komento [argumentit ...]] [uudelleenohjaus ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "lopetus [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e e-nimi] [-lnr] [ensimmäinen] [viimeinen] tai fc -s [pat=rep] [komento]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [työtunniste]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [työtunniste ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p polku] [-dt] [nimi ...]" -#: builtins.c:117 +#: builtins.c:119 #, fuzzy msgid "help [-dms] [pattern ...]" msgstr "help [-ds] [malline ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2178,15 +2292,16 @@ msgstr "" "history [-c] [-d erotus] [n] tai history -anrw [tiedosto] or history -ps arg " "[arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [työtunniste ...] tai jobs -x komento [args]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [työtunniste ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2194,11 +2309,11 @@ msgstr "" "kill [-s signaalitunniste | -n signaalinumero | -signaalimäärite] prosessi-" "id | työtunniste ... tai kill -l [signaalimäärite]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 #, fuzzy msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " @@ -2207,105 +2322,101 @@ msgstr "" "read [-ers] [-a taulukko] [-d erotin] [-i teksti] [-n lkm] [-p kehote] [-t " "aikakatkaisu] [-u tiedostokahva] [nimi ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 #, fuzzy msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [--abefhkmnptuvxBCHP] [-o valitsinnimi] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [nimi ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [nimi[=arvo] ...] tai export -p" -#: builtins.c:146 +#: builtins.c:148 #, fuzzy msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-af] [nimi[=arvo] ...] tai readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source tiedosto [argumentit]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". tiedosto [argumentit]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [lauseke]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] signaalimäärite ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] nimi [nimi ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "ulimit [-SHacdefilmnpqrstuvx] [raja]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [tila]" -#: builtins.c:175 +#: builtins.c:177 #, fuzzy msgid "wait [-n] [id ...]" msgstr "wait [id]" -#: builtins.c:179 +#: builtins.c:181 #, fuzzy msgid "wait [pid ...]" msgstr "wait [id]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NIMI [in ARVOT ... ] ; do KOMENNOT; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( lause1; lause2; lause3 )); do KOMENNOT; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NIMI [in ARVOT ... ;] do KOMENNOT; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] komentoputki" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case SANA in [MALLINE [| MALLINE]...) KOMENNOT ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2313,63 +2424,63 @@ msgstr "" "if KOMENNOT; then KOMENNOT; [ elif KOMENNOT; then KOMENNOT; ]... [ else " "KOMENNOT; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while KOMENNOT; do KOMENNOT; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until KOMENNOT; do KOMENNOT; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NIMI] komento [uudelleenohjaukset]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function nimi { KOMENNOT ; } tai nimi () { KOMENNOT ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ KOMENNOT ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "työtunniste [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( lauseke ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ lauseke ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "muuttujat - eräiden komentotulkin muuttujien nimet ja merkitykset" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | hakemisto]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [valitsinnimi ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v muuttuja] muoto [argumentit]" -#: builtins.c:229 +#: builtins.c:231 #, fuzzy msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" @@ -2380,29 +2491,31 @@ msgstr "" "jokerimalline] [-W sanalista] [-F funktio] [-C komento] [-X " "suodatinmalline] [-P prefiksi] [-S suffiksi] [nimi...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o valitsin] [-A toimenpide] [-G jokerimalline] [-" "W sanalista] [-F funktio] [-C komento] [-X suodatinmalline] [-P prefiksi] [-" "S suffiksi] [sana]" -#: builtins.c:237 +#: builtins.c:239 #, fuzzy msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o valitsin] [nimi ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" "mapfile [-n lukumäärä] [-O alkuperä] [-s laskuri] [-t] [-u tiedostokahva] \n" "[-C paluukutsu] [-c määrä] [taulukko]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2411,7 +2524,8 @@ msgstr "" "tiedostokahva] \n" "[-C paluukutsu] [-c määrä] [taulukko]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2423,7 +2537,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2447,12 +2561,13 @@ msgstr "" " alias palauttaa arvon tosi, mikäli parametriksi on annettu NIMI jonka\n" " aliasta ei ole määritelty." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2464,7 +2579,7 @@ msgstr "" " Palauttaa arvon tosi paitsi jos NIMI-nimistä aliasta\n" " ei ole." -#: builtins.c:289 +#: builtins.c:291 #, fuzzy msgid "" "Set Readline key bindings and variables.\n" @@ -2499,7 +2614,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2543,7 +2659,7 @@ msgstr "" "tapahtuu \n" " virhe." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2561,7 +2677,7 @@ msgstr "" " Paluuarvo:\n" " Paluuarvo on 0 jollei N ole suurempi tai yhtäsuuri kuin 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2579,7 +2695,7 @@ msgstr "" " Paluuarvo:\n" " Paluuarvo on 0 ellei N ole suurempi tai yhtäsuuri kuin 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2602,7 +2718,7 @@ msgstr "" " Palauttaa KOMENNON paluuarvon, tai epätoden jos KOMENTO ei ole\n" " sisäänrakennettu komento." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2631,7 +2747,7 @@ msgstr "" " Palauttaa 0 ellei komentotulkki ole funktion ulkopuolella tai parametri\n" " on virheellinen." -#: builtins.c:385 +#: builtins.c:387 #, fuzzy msgid "" "Change the shell working directory.\n" @@ -2655,16 +2771,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2703,13 +2819,14 @@ msgstr "" " Palauttaa 0, jos hakemistoa vaihdettiin, nollasta poikkeavan muussa \n" " tapauksessa." -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2731,7 +2848,7 @@ msgstr "" " Palauttaa 0 ellei ole annettu virheellistä valitsinta tai nykyistä \n" " hakemistoa ei voida lukea." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2747,7 +2864,7 @@ msgstr "" " Paluuarvo:\n" " Onnistuu aina." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2759,7 +2876,7 @@ msgstr "" " Paluuarvo:\n" " Onnistuu aina." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2771,7 +2888,8 @@ msgstr "" " Paluuarvo:\n" " Epäonnistuu aina." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2781,10 +2899,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2806,7 +2924,7 @@ msgstr "" " Palauttaa KOMENNON paluuarvon, tai epäonnistumisen jos KOMENTOA ei \n" " löytynyt." -#: builtins.c:487 +#: builtins.c:490 #, fuzzy msgid "" "Set variable values and attributes.\n" @@ -2817,9 +2935,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2882,17 +3000,18 @@ msgstr "" "tule \n" " virhetilannetta." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Asettaa muuttujien arvoja ja attribuutteja.\n" " \n" " Vanhentunut. Katso ”help declare”." -#: builtins.c:535 +#: builtins.c:538 #, fuzzy msgid "" "Define local variables.\n" @@ -2920,7 +3039,7 @@ msgstr "" " Palauttaa onnistuneen, ellei ole annettu virheellistä valitsinta,\n" " tapahtuu virhe tai komentotulkki ei ole suorittamassa funktiota." -#: builtins.c:552 +#: builtins.c:555 #, fuzzy msgid "" "Write arguments to the standard output.\n" @@ -2947,9 +3066,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2983,7 +3102,7 @@ msgstr "" " Paluuarvo:\n" " Palauttaa onnistuneen ellei tapahdu virhettä." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3005,7 +3124,7 @@ msgstr "" " Paluuarvo:\n" " Palauttaa onnistuneen ellei tapahdu virhettä." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3059,7 +3178,7 @@ msgstr "" "sisäänrakennettu\n" " komento tai tapahtuu virhe." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3078,7 +3197,7 @@ msgstr "" " Paluuarvo:\n" " Palauttaa komennon paluuarvon tai onnistuneen jos komento on tyhjä." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3158,7 +3277,8 @@ msgstr "" "valitsimet\n" " loppuvat tai tapahtuu virhe." -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -3169,8 +3289,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3200,7 +3320,7 @@ msgstr "" "uudelleenohjauksessa\n" " tapahtuu virhe." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3212,7 +3332,7 @@ msgstr "" " Poistuu komentotulkista paluuarvolla N. Jos N:ää ei anneta, paluuarvo\n" " on viimeisen komennon paluuarvo." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3225,7 +3345,7 @@ msgstr "" " Poistuu sisäänkirjautumiskomentotulkista paluuarvolla N. Palauttaa\n" " virheen jos ei olla sisäänkirjautumiskomentotulkissa." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3279,7 +3399,7 @@ msgstr "" " Palauttaa onnistuneen tai suoritetun komennon paluuarvon; nollasta\n" " poikkeava virhetilanteessa." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3300,7 +3420,7 @@ msgstr "" " Paluuarvo:\n" " Edustalle tuodun työn paluuarvo, tai epäonnistuminen virhetilanteessa." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3326,7 +3446,7 @@ msgstr "" "tapahtuu\n" " virhe." -#: builtins.c:784 +#: builtins.c:787 #, fuzzy msgid "" "Remember or display program locations.\n" @@ -3336,15 +3456,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3372,7 +3492,8 @@ msgstr "" " Palauttaa onnistuneen paitsi jos NIMEÄ ei löydy tai on annettu " "virheellinen valitsin." -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3384,7 +3505,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3413,7 +3534,8 @@ msgstr "" " Palauttaa onnistuneen paitsi jos MALLINETTA ei löydy tai valitsin on\n" " virheellinen." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3422,23 +3544,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3478,7 +3600,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin " "tai tapahtuu virhe." -#: builtins.c:869 +#: builtins.c:872 #, fuzzy msgid "" "Display status of jobs.\n" @@ -3489,7 +3611,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3523,7 +3645,8 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin tai \n" " tapahtuu virhe. Jos -x:ää on käytetty, palauttaa KOMENNON paluuarvon." -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3533,7 +3656,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3555,7 +3678,8 @@ msgstr "" " Palauttaa onnistuneen paitsi jos jokin valitsin tai TYÖTUNNISTE on " "virheellinen." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3567,7 +3691,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3597,7 +3722,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin tai " "tapahtuu virhe." -#: builtins.c:938 +#: builtins.c:942 #, fuzzy msgid "" "Evaluate arithmetic expressions.\n" @@ -3686,7 +3811,7 @@ msgstr "" " Jos viimeinen ARGUMENTTI evaluoituu nollaksi, let palauttaa 1, muussa\n" " tapauksessa 0." -#: builtins.c:983 +#: builtins.c:987 #, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" @@ -3708,27 +3833,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3776,7 +3902,7 @@ msgstr "" " Paluuarvo on nolla, ellei törmätä tiedoston loppumiseen, aikarajan\n" " ylitykseen tai mikäli -u:lle annetaan virheellinen tiedostokahva." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3800,7 +3926,7 @@ msgstr "" "suorittamassa\n" " funktiota tai skriptiä." -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3869,7 +3995,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3970,7 +4097,7 @@ msgstr "" " Paluuarvo:\n" " Palauttaa onnistumisen ellei ole annettu virheellistä valitsinta." -#: builtins.c:1126 +#: builtins.c:1132 #, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" @@ -3981,7 +4108,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4009,7 +4136,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin\n" " tai NIMI on kirjoitussuojattu." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4043,7 +4170,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin\n" " tai NIMI on virheellinen." -#: builtins.c:1167 +#: builtins.c:1173 #, fuzzy msgid "" "Mark shell variables as unchangeable.\n" @@ -4056,9 +4183,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4083,7 +4209,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin\n" " tai NIMI on virheellinen." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4102,7 +4228,7 @@ msgstr "" " Paluuarvo:\n" " Palauttaa onnistuneen ellei N ole negatiivinen tai suurempi kuin $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4127,7 +4253,7 @@ msgstr "" "epäonnistuu\n" " mikäli TIEDOSTOA ei voida lukea." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4154,7 +4280,7 @@ msgstr "" "tapahtuu\n" " virhe." -#: builtins.c:1248 +#: builtins.c:1254 #, fuzzy msgid "" "Evaluate conditional expression.\n" @@ -4219,9 +4345,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4317,7 +4443,7 @@ msgstr "" " Palauttaa onnistumisen jos LAUSEKE evaluoituu todeksi; epäonnistuu jos\n" " LAUSEKE evaluoituu vääräksi tai on annettu virheellinen argumentti." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4329,7 +4455,7 @@ msgstr "" " Tämä on sisäänrakennetun ”test”-komennon synonyymi, mutta viimeisen\n" " argumentin pitää olla ”]”, joka sulkee avaavan ”[”:n." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4349,7 +4475,7 @@ msgstr "" " Paluuarvo:\n" " Onnistuu aina." -#: builtins.c:1350 +#: builtins.c:1357 #, fuzzy msgid "" "Trap signals and other events.\n" @@ -4431,7 +4557,8 @@ msgstr "" "annettu\n" " virheellinen valitsin." -#: builtins.c:1386 +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -4440,18 +4567,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4487,7 +4614,7 @@ msgstr "" " Palauttaa onnistuneen mikäli kaikki NIMET löytyivät, muussa tapauksessa\n" " epäonnistuu." -#: builtins.c:1417 +#: builtins.c:1424 #, fuzzy msgid "" "Modify shell resource limits.\n" @@ -4506,6 +4633,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4517,7 +4645,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4576,7 +4705,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin\n" " tai tapahtuu virhe." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4611,7 +4740,7 @@ msgstr "" " Palauttaa onnistuneen ellei TILA ole virheellinen tai on annettu \n" " virheellinen valitsin." -#: builtins.c:1485 +#: builtins.c:1494 #, fuzzy msgid "" "Wait for job completion and return exit status.\n" @@ -4645,7 +4774,7 @@ msgstr "" " Palauttaa ID:n tilan; epäonnistuu jos ID on virheellinen tai on annettu\n" " virheellinen valitsin." -#: builtins.c:1506 +#: builtins.c:1515 #, fuzzy msgid "" "Wait for process completion and return exit status.\n" @@ -4671,7 +4800,7 @@ msgstr "" " Palauttaa ID:n tilan; epäonnistuu jos ID on virheellinen tai on annettu\n" " virheellinen valitsin." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4693,7 +4822,7 @@ msgstr "" " Paluuarvo:\n" " Viimeisen suoritetun komennon paluuarvo." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4725,7 +4854,7 @@ msgstr "" " Paluuarvo:\n" " Viimeisen suoritetun komennon paluuarvo." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4762,7 +4891,7 @@ msgstr "" " Paluuarvo:\n" " Viimeisen suoritetun komennon paluuarvo." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4791,7 +4920,7 @@ msgstr "" " Paluuarvo:\n" " KOMENTOKETJUN paluuarvo." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4810,7 +4939,7 @@ msgstr "" " Paluuarvo:\n" " Viimeisen suoritetun komennon paluuarvo." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4844,7 +4973,7 @@ msgstr "" " Paluuarvo:\n" " Viimeisen suoritetun komennon paluuarvo." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4862,7 +4991,7 @@ msgstr "" " Paluuarvo:\n" " Viimeisen komennon paluuarvo." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4880,7 +5009,8 @@ msgstr "" " Paluuarvo:\n" " Viimeisen suoritetun komennon paluuarvo." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4890,7 +5020,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Luo NIMI-nimisen rinnakkaisprosessin.\n" " \n" @@ -4902,7 +5032,7 @@ msgstr "" " Paluuarvo:\n" " KOMENNON paluuarvo." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4925,7 +5055,7 @@ msgstr "" " Paluuarvo:\n" " Onnistuu, ellei NIMI ole kirjoitussuojattu." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4944,7 +5074,7 @@ msgstr "" " Paluuarvo:\n" " Viimeisen suoritetun komennon paluuarvo." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4970,7 +5100,7 @@ msgstr "" " Paluuarvo:\n" " Työn tila." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4988,7 +5118,7 @@ msgstr "" " Paluuarvo:\n" " Palauttaa 1, jos LAUSEKKEEN arvo on 0; muuten palauttaa 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5042,7 +5172,7 @@ msgstr "" " Paluuarvo:\n" " 0 tai 1 riippuen LAUSEKKEEN arvosta." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5145,7 +5275,8 @@ msgstr "" " HISTIGNORE\tKaksoispistein eroteltu lista mallineista, joita käytetään\n" " \t\tpäätettäessä komentojen tallentamisesta historialistaan.\n" -#: builtins.c:1794 +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -5155,19 +5286,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5203,7 +5334,8 @@ msgstr "" "tai\n" " hakemiston vaihtaminen epäonnistuu." -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -5212,16 +5344,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5250,7 +5382,8 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen argumentti tai\n" " hakemiston vaihto epäonnistuu." -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -5261,19 +5394,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5304,7 +5437,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin\n" " tai tapahtuu virhe." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5342,7 +5475,7 @@ msgstr "" " Palauttaa onnistuneen, mikäli VALITSIN on käytössä, epäonnistuu jos on\n" " annettu virheellinen VALITSIN tai VALITSIN ei ole käytössä." -#: builtins.c:1908 +#: builtins.c:1919 #, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" @@ -5360,15 +5493,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5402,7 +5535,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin tai\n" " tapahtuu kirjoitus- tai sijoitusvirhe." -#: builtins.c:1942 +#: builtins.c:1953 #, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" @@ -5416,11 +5549,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5450,7 +5583,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin tai \n" " tapahtuu virhe." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5473,7 +5606,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin tai\n" " tapahtuu virhe." -#: builtins.c:1985 +#: builtins.c:1996 #, fuzzy msgid "" "Modify or display completion options.\n" @@ -5527,7 +5660,7 @@ msgstr "" " Palauttaa onnistuneen paitsi jos on annettu virheellinen valitsin tai\n" " NIMELLE ei ole määritetty täydennysmääritystä." -#: builtins.c:2015 +#: builtins.c:2026 #, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" @@ -5539,20 +5672,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5600,7 +5734,7 @@ msgstr "" " tai TAULUKKO on kirjoitussuojattu." # Changed " characters into ”... -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5610,6 +5744,26 @@ msgstr "" " \n" " ”mapfile”:n synonyymi." +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright © 2009 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#, fuzzy +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright © 2009 Free Software Foundation, Inc." + #, fuzzy #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Copyright © 2009 Free Software Foundation, Inc." diff --git a/po/fr.gmo b/po/fr.gmo index 95c30ea07..7c7a736f1 100644 Binary files a/po/fr.gmo and b/po/fr.gmo differ diff --git a/po/fr.po b/po/fr.po index 2e4b6e019..4816b052f 100644 --- a/po/fr.po +++ b/po/fr.po @@ -1,90 +1,97 @@ # Messages français pour GNU concernant bash. -# Copyright © 2010 Free Software Foundation, Inc. +# Copyright (C) 2015 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. # Michel Robitaille , 2004 # Christophe Combelles , 2008, 2009, 2010, 2011 -# +# Frédéric Marchal , 2015 msgid "" msgstr "" -"Project-Id-Version: bash-4.2\n" +"Project-Id-Version: bash-4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2012-07-07 21:52+0100\n" -"Last-Translator: Christophe Combelles \n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-17 13:49+0200\n" +"Last-Translator: Frédéric Marchal \n" "Language-Team: French \n" -"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "mauvais indice de tableau" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s : impossible de convertir un tableau indexé en associatif" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s : clé non valable pour le tableau associatif" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s : impossible d'assigner à un index non numérique" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" "%s : %s : l'assignation d'un tableau associatif doit se faire avec un indice" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s : impossible de créer : %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command : impossible de trouver le mappage clavier pour la " "commande" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s : le premier caractère non vide n'est pas « \" »" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "pas de « %c » de fermeture dans %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s : virgule de séparation manquante" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "expansion des accolades : impossible d'allouer la mémoire pour %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" +"expansion des accolades : échec lors de l'allocation mémoire pour %d éléments" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "" +msgstr "expansion des accolades : échec de l'allocation mémoire pour « %s »" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "« %s » : nom d'alias non valable" @@ -93,45 +100,45 @@ msgstr "« %s » : nom d'alias non valable" msgid "line editing not enabled" msgstr "édition de ligne non activée" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "« %s » : nom du mappage clavier invalide" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s : impossible de lire : %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" -msgstr "%s : impossible à délier" +msgstr "« %s » : impossible à délier" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" -msgstr "%s : nom de fonction inconnu" +msgstr "« %s » : nom de fonction inconnu" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s n'est lié à aucune touche.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s peut être appelé via " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "nombre de boucles" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "ceci n'a un sens que dans une boucle « for », « while » ou « until »" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -141,306 +148,335 @@ msgstr "" " \n" " Sans EXPR, renvoie" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "« HOME » non défini" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "trop d'arguments" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "de répertoire se fait vers le nouveau répertoire supérieur." + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "« OLDPWD » non défini" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "ligne %d : " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "avertissement :" -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s : utilisation :" -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s : l'option nécessite un argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s : argument numérique nécessaire" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s : non trouvé" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s : option non valable" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s : nom d'option non valable" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "« %s » : identifiant non valable" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "nombre octal non valable" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "nombre hexadécimal non valable" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "nombre non valable" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s : indication de signal non valable" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "" -"« %s » : ce n'est pas un n° de processus ou une spécification de tâche " -"valable" +"« %s » : ce n'est pas un n° de processus ou une spécification de tâche valable" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s : variable en lecture seule" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s : %s hors plage" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s hors plage" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s : tâche inexistante" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s : pas de contrôle de tâche" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "pas de contrôle de tâche" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s : restreint" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "restreint" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s : ceci n'est pas une primitive du shell" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "erreur d'écriture : %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" -msgstr "erreur lors de la définition de l'attribut du terminal %s" +msgstr "erreur lors de la définition de l'attribut du terminal : %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "erreur lors de la récupération de l'attribut du terminal : %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s : erreur de détermination du répertoire actuel : %s : %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s : spécification de tâche ambiguë" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "l'aide n'est pas disponible dans cette version" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s : nom d'action non valable" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s : pas d'indication de complètement" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "" "avertissement : l'option « -F » peut fonctionner différemment de ce à quoi " "vous vous attendez" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "" "avertissement : l'option « -C » peut fonctionner différemment de ce à quoi " "vous vous attendez" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" -msgstr "fonction de completion actuellement non en cours d'exécution" +msgstr "fonction de complétion actuellement non en cours d'exécution" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "utilisable seulement dans une fonction" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" -msgstr "" +msgstr "%s : la variable de référence ne peut pas être un tableau" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" -msgstr "" +msgstr "%s : références bouclées sur la même variable interdites" + +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s : référence de nom circulaire" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s : nom de variable invalide pour une référence de nom" -#: builtins/declare.def:398 +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "« -f » ne peut pas être utilisé pour fabriquer des fonctions" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s : fonction en lecture seule" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" +"%s : l'assignation d'un tableau composé entre apostrophes est dépréciée" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s : impossible de détruire des variables tableaux de cette façon" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s : impossible de convertir un tableau indexé en tableau associatif" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "chargement dynamique non disponible" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "impossible d'ouvrir l'objet partagé %s : %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "impossible de trouver %s dans l'objet partagé %s : %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "la fonction de chargement de %s retourne un échec (%d) : pas chargé" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s : non chargé dynamiquement" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s : impossible d'effacer : %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s : ceci est un répertoire" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s : ceci n'est pas un fichier régulier" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s : le fichier est trop grand" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" -msgstr "%s : fichier binaire impossible à lancer" +msgstr "%s : ne peut exécuter le fichier binaire" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s : impossible d'exécuter : %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "déconnexion\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "ce n'est pas un shell de connexion : utilisez « exit »" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Il y a des tâches stoppées.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Il y a des tâches en cours d'exécution.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "aucune commande trouvée" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "indication d'historique" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s : impossible d'ouvrir le fichier temporaire : %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "courant" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "tâche %d démarrée sans contrôle de tâche" @@ -459,37 +495,37 @@ msgstr "%s : l'option nécessite un argument -- %c\n" msgid "hashing disabled" msgstr "hachage désactivé" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s : table de hachage vide\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" -msgstr "touche la commande\n" +msgstr "occurrences\tcommande\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Commandes du shell correspondant au mot-clé « " msgstr[1] "Commandes du shell correspondant aux mots-clés « " -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -"Aucune rubrique d'aide ne correspond à « %s ». Essayez « help help », « man -" -"k %s » ou « info %s »." +"Aucune rubrique d'aide ne correspond à « %s ». Essayez « help help », « man -k %" +"s » ou « info %s »." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s : impossible d'ouvrir : %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -502,8 +538,7 @@ msgid "" msgstr "" "Ces commandes de shell sont définies de manière interne. Saisissez « help » " "pour voir cette liste.\n" -"Tapez « help nom » pour en savoir plus sur la fonction qui s'appelle « nom " -"».\n" +"Tapez « help nom » pour en savoir plus sur la fonction qui s'appelle « nom ».\n" "Utilisez « info bash » pour en savoir plus sur le shell en général.\n" "Utilisez « man -k » ou « info » pour en savoir plus sur les commandes qui\n" "ne font pas partie de cette liste.\n" @@ -511,15 +546,20 @@ msgstr "" "Une astérisque (*) à côté d'un nom signifie que la commande est désactivée.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "impossible d'utiliser plus d'une option parmi « -anrw »" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "position dans l'historique" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s : argument non valable" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s : l'expansion de l'historique a échoué" @@ -533,114 +573,114 @@ msgstr "%s : « inlib » a échoué" msgid "no other options allowed with `-x'" msgstr "pas d'autre option permise avec « -x »" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "" "%s : les arguments doivent être des identifiants de tâche ou de processus" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Erreur inconnue" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "une expression est attendue" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s : n'est pas un tableau indexé" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s : spécification de descripteur de fichier non valable" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d : descripteur de fichier non valable : %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s : nombre de lignes non valable" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s : origine de tableau non valable" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s : quantum de callback non valable" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "nom de variable tableau vide" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "nécessité de prise en charge des variables tableaux" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "« %s » : caractère de format manquant" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" -msgstr "`%c' : spécification de format d'heure incorrecte" +msgstr "« %c » : spécification de format d'heure incorrecte" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "« %c » : caractère de format non permis" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "avertissement : %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "problème d'analyse du format : %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "chiffre hexadécimal manquant pour \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "chiffre unicode manquant pour \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "pas d'autre répertoire" -#: builtins/pushd.def:354 -#, fuzzy, c-format +#: builtins/pushd.def:360 +#, c-format msgid "%s: invalid argument" -msgstr "%s : argument de limite non valable" +msgstr "%s : argument non valable" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "pile de répertoire vide" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "indice de pile de répertoire" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -670,22 +710,20 @@ msgstr "" " \n" " Options :\n" " -c\tefface la pile des répertoires en enlevant tous les éléments.\n" -" -l\tne pas afficher les versions raccourcies (avec ~) des répertoires\n" +" -l\tn'affiche pas les versions raccourcies (avec ~) des répertoires\n" " \trelativement à votre répertoire personnel\n" -" -p\tafficher la pile des répertoires avec un élément par ligne\n" -" -v\tafficher la pile des répertoires avec un élément par ligne\n" +" -p\taffiche la pile des répertoires avec un élément par ligne\n" +" -v\taffiche la pile des répertoires avec un élément par ligne préfixé\n" " \tavec la position dans la pile\n" " \n" " Arguments :\n" -" +N\t affiche le Nième élément en comptant de zéro depuis la gauche de " -"la\n" +" +N\tAffiche le Nième élément en comptant de zéro depuis la gauche de la\n" " liste affichée par « dirs » lorsque celle-ci est appelée sans option.\n" " \n" -" -N\t affiche le Nième élément en comptant de zéro depuis la droite de " -"la\n" +" -N\tAffiche le Nième élément en comptant de zéro depuis la droite de la\n" " liste affichée par « dirs » lorsque celle-ci est appelée sans option." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -715,25 +753,23 @@ msgstr "" " répertoires en haut de la pile sont échangés.\n" " \n" " Options :\n" -" -n\tne pas changer de répertoire de travail lorsque des répertoires\n" +" -n\tNe change pas de répertoire de travail lorsque des répertoires\n" " \tsont ajoutés à la pile, de façon que seule la pile soit manipulée\n" " \n" " Arguments :\n" " +N\tPermute la pile de façon que le Nième répertoire se place en haut,\n" -" \ten comptant de zéro depuis la gauche de la liste fournie par « dirs " -"».\n" +" \ten comptant de zéro depuis la gauche de la liste fournie par « dirs ».\n" " \n" " -N\tPermute la pile de façon que le Nième répertoire se place en haut,\n" -" \ten comptant de zéro depuis la droite de la liste fournie par « dirs " -"».\n" +" \ten comptant de zéro depuis la droite de la liste fournie par « dirs ».\n" " \n" -" dir\tajoute le répertoire DIR en haut de la pile, et en fait le " +" dir\tAjoute le répertoire DIR en haut de la pile, et en fait le " "nouveau\n" " \trépertoire de travail.\n" " \n" " Vous pouvez voir la pile des répertoires avec la commande « dirs »." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -758,163 +794,173 @@ msgstr "" " et le nouveau sommet de la pile devient le répertoire de travail.\n" " \n" " Options :\n" -" -n\tne pas changer de répertoire de travail lorsque des répertoires\n" -" \tsont enlevés de la pile, de façon que seule la pile soit manipulée\n" +" -n\tNe change pas de répertoire de travail lorsque des répertoires\n" +" \tsont enlevés de la pile, de façon que seule la pile soit manipulée.\n" " \n" " Arguments :\n" " +N\tEnlève le Nième répertoire, en comptant de zéro depuis la gauche\n" " \tde la liste fournie par « dirs ». Par exemple : « popd +0 »\n" -" \tenlève le premier répertoire, « popd +1 » le deuxième. \n" +" \tenlève le premier répertoire, « popd +1 » le deuxième.\n" " \n" " -N\tEnlève le Nième répertoire, en comptant de zéro depuis la droite\n" " \tde la liste fournie par « dirs ». Par exemple : « popd -0 »\n" -" \tenlève le dernier répertoire, « popd -1 » l'avant-dernier. \n" +" \tenlève le dernier répertoire, « popd -1 » l'avant-dernier.\n" " \n" " Vous pouvez voir la pile des répertoires avec la commande « dirs »." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s : spécification de délai d'expiration non valable" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" -msgstr "Erreur de lecture : %d : %s" +msgstr "erreur de lecture : %d : %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" -"« return » n'est possible que depuis une fonction ou depuis un script " -"exécuté par « source »" +"« return » n'est possible que depuis une fonction ou depuis un script exécuté " +"par « source »" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "" "« unset » ne peut pas s'appliquer simultanément à une fonction et à une " "variable" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s : « unset » impossible" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s : « unset » impossible : %s est en lecture seule" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s : n'est pas une variable tableau" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s : n'est pas une fonction" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s : impossible d'exporter" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "nombre de « shift »" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "" "les options du shell ne peuvent pas être simultanément activées et " "désactivées" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s : nom d'option du shell non valable" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "nom de fichier nécessaire en argument" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s : fichier introuvable" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "suspension impossible" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "un shell de connexion ne peut pas être suspendu" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s est un alias vers « %s »\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s est un mot-clé du shell\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s est une fonction\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s est une primitive spéciale du shell\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s est une primitive du shell\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s est %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s est haché (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s : argument de limite non valable" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "« %c » : mauvaise commande" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s : impossible d'obtenir la limite : %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "limite" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s : impossible de modifier la limite : %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "nombre octal" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "« %c » : opérateur de mode symbolique non valable" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "« %c » : caractère de mode symbolique non valable" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " ligne " @@ -926,85 +972,109 @@ msgstr "dernière commande : %s\n" #: error.c:173 #, c-format msgid "Aborting..." -msgstr "Annulation..." +msgstr "Annulation…" + +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORM: " -#: error.c:440 +#: error.c:463 msgid "unknown command error" msgstr "erreur de commande inconnue" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "mauvais type de commande" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "mauvais connecteur" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "mauvais saut" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s : variable sans liaison" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aattente de données expirée : déconnexion automatique\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "l'entrée standard ne peut pas être redirigée depuis /dev/null : %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT : « %c » : caractère de format non valable" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "erreur de tube" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" +"eval : dépassement de la profondeur maximum d'imbrication d'évaluations (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" +"%s : dépassement de la profondeur maximum d'imbrication de sources (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" +"%s : dépassement de la profondeur maximum d'imbrication de fonctions (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "" "%s : restriction : « / » ne peut pas être spécifié dans un nom de commande" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s : commande introuvable" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s : %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s : %s : mauvais interpréteur" -#: execute_cmd.c:5280 -#, fuzzy, c-format +#: execute_cmd.c:5545 +#, c-format msgid "%s: cannot execute binary file: %s" -msgstr "%s : fichier binaire impossible à lancer" +msgstr "%s : impossible d'exécuter le fichier binaire : %s" -#: execute_cmd.c:5352 -#, fuzzy, c-format +#: execute_cmd.c:5623 +#, c-format msgid "`%s': is a special builtin" -msgstr "%s est une primitive du shell\n" +msgstr "« %s » : est une primitive spéciale" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "impossible de dupliquer le fd %d vers le fd %d" @@ -1035,7 +1105,7 @@ msgstr "bogue : mauvais symbole pour expassign" #: expr.c:595 msgid "`:' expected for conditional expression" -msgstr "« : » attendu pour une expression conditionnelle." +msgstr "« : » attendu pour une expression conditionnelle" #: expr.c:919 msgid "exponent less than 0" @@ -1049,40 +1119,40 @@ msgstr "identifiant attendu après un pré-incrément ou un pré-décrément" msgid "missing `)'" msgstr "« ) » manquante" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" -msgstr "erreur de syntaxe : opérande attendue" +msgstr "erreur de syntaxe : opérande attendu" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "erreur de syntaxe : opérateur arithmétique non valable" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" -msgstr "%s%s%s : %s (le symbole erroné est \"%s\")" +msgstr "%s%s%s : %s (le symbole erroné est « %s »)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "base arithmétique non valable" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "valeur trop grande pour la base" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s : erreur d'expression\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd : ne peut accéder aux répertoires parents" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" -msgstr "Impossible de réinitialiser le mode « nodelay » pour le fd %d" +msgstr "impossible de réinitialiser le mode « nodelay » pour le fd %d" #: input.c:271 #, c-format @@ -1096,148 +1166,148 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input : le tampon existe déjà pour le nouveau fd %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline : pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "le processus cloné n°%d apparaît dans la tâche en fonctionnement %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "suppression de la tâche stoppée %d avec le groupe de processus %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process : processus %5ld (%s) dans le_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process : pid %5ld (%s) signalé toujours en vie" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid : %ld : n° de processus inexistant" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Fini" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Stoppé" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Stoppé(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "En cours d'exécution" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Fini(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Termine %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "État inconnu" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(core dumped)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd : %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "fils setpgid (%ld à %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" -msgstr "wait : le processus n°%ld n'est pas un fils de ce shell." +msgstr "wait : le processus n°%ld n'est pas un fils de ce shell" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" -msgstr "wait_for : aucun enregistrement du processus n°%ld" +msgstr "wait_for : Aucun enregistrement du processus n°%ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job : la tâche %d est stoppée" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s : la tâche s'est terminée" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s : la tâche %d est déjà en arrière plan" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld : activation de WNOHANG pour éviter un blocage définitif" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s : ligne %d : " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (core dumped)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(maintenant, wd : %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control : getpgrp a échoué" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control : discipline de ligne" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control : setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" -msgstr "impossible de régler le groupe de processus du terminlal (%d)" +msgstr "impossible de régler le groupe de processus du terminal (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "pas de contrôle de tâche dans ce shell" @@ -1292,17 +1362,17 @@ msgid "realloc: start and end chunk sizes differ" msgstr "" "realloc : les tailles de fragment au début et à la fin sont différentes" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc : la table d'allocation est pleine avec FIND_ALLOC ?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc : %p déjà alloué selon la table ?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free : %p déjà libre selon la table ?\n" @@ -1326,7 +1396,7 @@ msgstr "%s: service non valable" msgid "%s: bad network path specification" msgstr "%s : mauvaise spécification de chemin réseau" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "opérations sur le réseau non prises en charge" @@ -1363,237 +1433,270 @@ msgstr "Vous avez du nouveau courrier dans $_" #: mailcheck.c:480 #, c-format msgid "The mail in %s has been read\n" -msgstr "Le courrier dans %s a été lu.\n" +msgstr "Le courrier dans %s a été lu\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "erreur de syntaxe : expression arithmétique nécessaire" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "erreur de syntaxe : « ; » non attendu" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "erreur de syntaxe : « ((%s)) »" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document : le type d'instruction %d est incorrect" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" -"« here-document » à la ligne %d délimité par la fin du fichier (au lieu de « " -"%s »)" +"« here-document » à la ligne %d délimité par la fin du fichier (au lieu de « %" +"s »)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection : l'instruction de redirection « %d » est hors plage" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "nombre maximum de documents en ligne (« here-document ») dépassé" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "" -"caractère de fin de fichier (EOF) prématuré lors de la recherche du « %c » " -"correspondant" +"fin de fichier (EOF) prématurée lors de la recherche du « %c » correspondant" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" -msgstr "" -"caractère de fin de fichier (EOF) prématuré lors de la recherche de « ]] »" +msgstr "fin de fichier (EOF) prématurée lors de la recherche de « ]] »" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "" "erreur de syntaxe dans une expression conditionnelle : symbole « %s » " "inattendu" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "erreur de syntaxe dans une expression conditionnelle" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "symbole inattendu « %s » au lieu de « ) »" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "« ) » attendu" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "argument inattendu « %s » pour l'opérateur conditionnel à un argument" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "argument inattendu pour l'opérateur conditionnel à un argument" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "symbole « %s » trouvé à la place d'un opérateur binaire conditionnel" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "opérateur binaire conditionnel attendu" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "argument « %s » inattendu pour l'opérateur binaire conditionnel" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "argument inattendu pour l'opérateur binaire conditionnel" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "symbole « %c » inattendu dans la commande conditionnelle" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "symbole « %s » inattendu dans la commande conditionnelle" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "symbole « %d » inattendu dans la commande conditionnelle" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "erreur de syntaxe près du symbole inattendu « %s »" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "erreur de syntaxe près de « %s »" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "erreur de syntaxe : fin de fichier prématurée" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "erreur de syntaxe" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Utilisez « %s » pour quitter le shell.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "" -"caractère de fin de fichier (EOF) prématuré lors de la recherche d'un « ) » " -"correspondant" +"fin de fichier (EOF) prématurée lors de la recherche d'une « ) » " +"correspondante" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "complètement : fonction « %s » non trouvée" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert : %s : NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command : mauvais connecteur « %d »" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set : %d : descripteur de fichier non valable" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set : pointeur de fichier NULL" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf : « %c » : caractère de format invalide" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "descripteur de fichier hors plage" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s : redirection ambiguë" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s : impossible d'écraser le fichier existant" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s : restreint : impossible de rediriger la sortie" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "" "impossible de créer un fichier temporaire pour le « here-document » : %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s : impossible d'affecter le descripteur de fichier à la variable" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port non pris en charge sans réseau" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "" "erreur de redirection : impossible de dupliquer le descripteur de fichier" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "« /tmp » introuvable, veuillez le créer !" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" -msgstr "« /tmp » doit être un nom de répertoire correct" +msgstr "« /tmp » doit être un nom de répertoire valable" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c : option non valable" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "impossible de changer le uid en %d : uid effectif %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "impossible de changer le gid en %d: gid effectif %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s : Ceci est un répertoire" + +#: shell.c:1777 msgid "I have no name!" msgstr "Je n'ai pas de nom !" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, version %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1602,46 +1705,57 @@ msgstr "" "Utilisation :\t%s [option longue GNU] [option] ...\n" "\t%s [option longue GNU] [option] fichier-script ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Options longues GNU :\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Options du shell :\n" -#: shell.c:1835 -#, fuzzy +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -msgstr "\t-irsD ou -c commande ou -O shopt_option\t\t(invocation seulement)\n" +msgstr "\t-ilrsD ou -c commande ou -O shopt_option\t\t(invocation seulement)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s ou -o option\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Pour en savoir plus sur les options du shell, saisissez « %s -c \"help set\" " "».\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Pour en savoir plus sur les primitives du shell, saisissez « %s -c help ».\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Utilisez la commande « bashbug » pour faire un rapport de bogue.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "page d'accueil de bash : \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" +"Aide générale sur l'utilisation de logiciels GNU : \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" -msgstr "sigprocmask : %d : operation non valable" +msgstr "sigprocmask : %d : opération non valable" #: siglist.c:48 msgid "Bogus signal" @@ -1745,7 +1859,7 @@ msgstr "Limite fichier" #: siglist.c:159 msgid "Alarm (virtual)" -msgstr "Alarme (virtual)" +msgstr "Alarme (virtuelle)" #: siglist.c:163 msgid "Alarm (profile)" @@ -1785,7 +1899,7 @@ msgstr "migration processus vers un autre CPU" #: siglist.c:199 msgid "programming error" -msgstr "Erreur de programmation" +msgstr "erreur de programmation" #: siglist.c:203 msgid "HFT monitor mode granted" @@ -1812,91 +1926,106 @@ msgstr "N° de signal inconnu" msgid "Unknown Signal #%d" msgstr "Signal n°%d inconnu" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "Mauvaise substitution : pas de « %s » de fermeture dans %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s : impossible d'affecter une liste à un élément de tableau" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "impossible de fabriquer un tube pour une substitution de processus" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "impossible de fabriquer un fils pour une substitution de processus" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "impossible d'ouvrir le tube nommé « %s » en lecture" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "impossible d'ouvrir le tube nommé « %s » en écriture" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "impossible de dupliquer le tube nommé « %s » vers le fd %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "mauvais remplacement : pas de « ` » de fermeture dans %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "impossible de fabriquer un tube pour une substitution de commande" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "" "impossible de fabriquer un processus fils pour une substitution de commande" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute : impossible de dupliquer le tube vers le fd 1" -#: subst.c:5837 subst.c:8050 -#, fuzzy, c-format +#: subst.c:6580 subst.c:8939 +#, c-format msgid "%s: invalid variable name for name reference" -msgstr "%s : %s : valeur non valable pour un descripteur de fichier de trace" +msgstr "%s : nom de variable invalide pour une référence de nom" + +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s : mauvaise substitution" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s : expansion indirecte invalide" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: nom de variable invalide" -#: subst.c:6048 +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s : paramètre vide ou non défini" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s : expression de sous-chaîne négative" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s : mauvaise substitution" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s : affectation impossible de cette façon" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" -"Les versions futures du shell forceront l'évaluation comme une substitution " +"les versions futures du shell forceront l'évaluation comme une substitution " "arithmétique" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" -msgstr "Mauvais remplacement : pas de « ` » de fermeture dans %s" +msgstr "mauvais remplacement : pas de « ` » de fermeture dans %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "pas de correspondance : %s" @@ -1910,133 +2039,133 @@ msgstr "argument attendu" msgid "%s: integer expression expected" msgstr "%s : nombre entier attendu comme expression" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "« ) » attendue" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" -msgstr "« ) » attendu au lieu de %s" +msgstr "« ) » attendue au lieu de %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s : opérateur unaire attendu" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s : opérateur binaire attendu" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "« ] » manquant" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "numéro de signal non valable" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps : mauvaise valeur dans trap_list[%d] : %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" -"run_pending_traps : le gestionnaire de signal est SIG_DFL, %d (%s) renvoyé à " -"moi-même" +"run_pending_traps : le gestionnaire de signal est SIG_DFL, renvoi de %d (%s) " +"à moi-même" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler : mauvais signal %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" -msgstr "erreur lors de l'import de la définition de fonction pour « %s »" +msgstr "erreur lors de l'importation de la définition de fonction pour « %s »" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "niveau de shell trop élevé (%d), initialisation à 1" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%s : %s : valeur non valable pour un descripteur de fichier de trace" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "" "make_local_variable : aucun contexte de fonction dans le champ d'application " "actuel" -#: variables.c:2247 -#, fuzzy, c-format +#: variables.c:2432 +#, c-format msgid "%s: variable may not be assigned value" -msgstr "%s : impossible d'affecter le descripteur de fichier à la variable" +msgstr "%s : la variable ne peut se voir assigner une valeur" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s : nom de variable invalide pour une référence de nom" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "" "all_local_variables : aucun contexte de fonction dans le champ d'application " "actuel" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" -msgstr "%s a un « exportstr » vide" +msgstr "%s a un « exportstr » nul" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "caractère %d non valable dans « exportstr » pour %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" -msgstr "Pas de « = » dans « exportstr » pour %s" +msgstr "pas de « = » dans « exportstr » pour %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" "pop_var_context : le début de « shell_variables » n'est pas un contexte de " "fonction" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context : aucun contexte à « global_variables »" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope : le début de « shell_variables » n'est pas un champ d'application " "temporaire d'environnement" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s : %s : impossible d'ouvrir comme FILE" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s : %s : valeur non valable pour un descripteur de fichier de trace" -#: variables.c:5307 -#, fuzzy, c-format +#: variables.c:5669 +#, c-format msgid "%s: %s: compatibility value out of range" -msgstr "%s : %s hors plage" +msgstr "%s : %s : valeur de compatibilité hors plage" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright (C) 2011 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2015 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2052,22 +2181,14 @@ msgid "GNU bash, version %s (%s)\n" msgstr "GNU bash, version %s (%s)\n" #: version.c:91 version2.c:91 -#, fuzzy msgid "This is free software; you are free to change and redistribute it." msgstr "" "Ceci est un logiciel libre ; vous être libre de le modifier et de le " -"redistribuer.\n" +"redistribuer." #: version.c:92 version2.c:92 -#, fuzzy msgid "There is NO WARRANTY, to the extent permitted by law." -msgstr "" -"Aucune garantie n'est fournie, dans la mesure de ce que la loi autorise.\n" - -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2011 Free Software Foundation, Inc." +msgstr "AUCUNE GARANTIE n'est fournie, dans les limites permises par la loi." #: xmalloc.c:91 #, c-format @@ -2089,132 +2210,117 @@ msgstr "%s : %s:%d : impossible d'allouer %lu octets (%lu octets alloués)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s : %s:%d : impossible d'allouer %lu octets" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [nom[=valeur] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] nom [nom ...]" -#: builtins.c:51 -#, fuzzy +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -"bind [-lpvsPVS] [-m keymap] [-f nomfichier] [-q nom] [-u nom] [-r seqtouche] " -"[-x seqtouche:commande-shell] [seqtouche:fonction-readline ou commande-" -"readline]" +"bind [-lpvsPSVX] [-m keymap] [-f nomfichier] [-q nom] [-u nom] [-r " +"seqtouche] [-x seqtouche:commande-shell] [seqtouche:fonction-readline ou " +"commande-readline]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [shell-builtin [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [expr]" -#: builtins.c:64 -#, fuzzy +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-L|[-P [-e]]] [rép]" +msgstr "cd [-L|[-P [-e]] [-@]] [rép]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] commande [arg ...]" -#: builtins.c:76 -#, fuzzy -msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "declare [-aAfFgilrtux] [-p] [nom[=valeur] ...]" - #: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] nom[=valeur] ..." +msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [nom[=valeur] ...]" #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] nom[=valeur] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [option] nom[=valeur] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f nomfichier] [nom ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts chaineopts nom [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a nom] [commande [arguments ...]] [redirection ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" -"fc [-e ename] [-lnr] [premier] [dernier] ou fc -s [ancien=nouveau] [commande]" +"fc [-e ename] [-lnr] [premier] [dernier] ou fc -s [motif=nouveau] [commande]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [job_spec]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [job_spec ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p nomchemin] [-dt] [nom ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [motif ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2222,15 +2328,16 @@ msgstr "" "history [-c] [-d décalage] [n] ou history -anrw [nomfichier] ou history -ps " "arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [jobspec ...] ou jobs -x commande [args]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [jobspec ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2238,115 +2345,107 @@ msgstr "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... ou kill -l " "[sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" -"read [-ers] [-a tableau] [-d delim] [-i texte] [-n nchars] [-N nchars] [-p " +"read [-ers] [-a tableau] [-d delim] [-i texte] [-n ncars] [-N ncars] [-p " "prompt] [-t timeout] [-u fd] [nom ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o nom-option] [--] [arg ...]" -#: builtins.c:142 -#, fuzzy +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "unset [-f] [-v] [nom ...]" +msgstr "unset [-f] [-v] [-n] [nom ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [nom[=valeur] ...] ou export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [nom[=valeur] ...] ou readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source nom_fichier [arguments]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". nom_fichier [arguments]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [expr]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] signal_spec ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] nom [nom ...]" -#: builtins.c:169 -#, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHacdefilmnpqrstuvx] [limite]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [limite]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [mode]" -#: builtins.c:175 -#, fuzzy +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "wait [id]" +msgstr "wait [-n] [id ...]" -#: builtins.c:179 -#, fuzzy +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "wait [pid]" +msgstr "wait [pid ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NOM [in MOTS ... ] ; do COMMANDES; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( exp1; exp2; exp3 )); do COMMANDES; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NOM [in MOTS ... ;] do COMMANDES; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] pipeline" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case MOT in [MOTIF [| MOTIF]...) COMMANDES ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2354,63 +2453,63 @@ msgstr "" "if COMMANDES; then COMMANDES; [ elif COMMANDES; then COMMANDES; ]... [ else " "COMMANDES; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while COMMANDES; do COMMANDES; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until COMMANDES; do COMMANDES; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NOM] commande [redirections]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function nom { COMMANDES ; } ou nom () { COMMANDES ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ COMMANDES ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( expression ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ expression ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" -msgstr "variables - Nom et signification de certaines variables du shell" +msgstr "variables - Noms et significations de certaines variables du shell" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | rép]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [nom_opt ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] format [arguments]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2420,28 +2519,28 @@ msgstr "" "[-W liste_mots] [-F fonction] [-C commande] [-X motif_filtre] [-P prefixe] " "[-S suffixe] [nom ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G motif_glob] [-W " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G motif_glob] [-W " "liste_mots] [-F fonction] [-C commande] [-X motif_filtre] [-P prefixe] [-S " "suffixe] [mot]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o option] [-DE] [nom ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n nombre] [-O origine] [-s nombre] [-t] [-u fd] [-C callback] [-c " -"quantum] [tableau]" +"mapfile [-d délim] [-n nombre] [-O origine] [-s nombre] [-t] [-u fd] [-C " +"callback] [-c quantum] [tableau]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2449,7 +2548,7 @@ msgstr "" "readarray [-n nombre] [-O origine] [-s nombre] [-t] [-u fd] [-C callback] [-" "c quantum] [tableau]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2461,7 +2560,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2470,41 +2569,41 @@ msgid "" msgstr "" "Définit ou affiche des alias.\n" " \n" -" Sans argument, « alias » affiche la liste des alias avec le format " +" Sans argument, « alias » affiche la liste des alias dans le format " "réutilisable\n" " « alias NOM=VALEUR » sur la sortie standard.\n" " \n" " Sinon, un alias est défini pour chaque NOM dont la VALEUR est donnée.\n" -" Une espace à la fin de la VALEUR entraine le remplacement d'alias dans " -"le mot\n" -" suivant, lorsque l'alias est développé.\n" +" Une espace à la fin de la VALEUR entraîne la vérification du mot suivant " +"pour\n" +" déterminer si un alias doit être remplacé lorsque l'alias est " +"développé.\n" " \n" " Options :\n" -" -p\tAfficher tous les alias actuels dans un format réutilisable\n" +" -p\tAffiche tous les alias actuels dans un format réutilisable\n" " \n" " Code de sortie :\n" " « alias » renvoie la valeur vraie à moins que NOM ne soit fourni et que " "celui-ci n'aie\n" " pas d'alias." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Enlève chaque NOM de la liste des alias actuels.\n" " \n" " Options :\n" -" -a\tretire toutes les définitions d'alias.\n" +" -a\tretire toutes les définitions d'alias\n" " \n" " Renvoie le code de succès à moins que NOM ne soit pas un alias existant." -#: builtins.c:289 -#, fuzzy +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2538,7 +2637,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2546,20 +2646,20 @@ msgid "" msgstr "" "Définit les associations de touches et les variables de « Readline ».\n" " \n" -" Associe une séquence de touches à une fonction « Readline » ou définit " -"une\n" -" variable « Readline ». Les arguments non-options suivent une syntaxe " +" Associe une séquence de touches à une fonction « Readline » ou une macro, " +"ou définit une\n" +" variable « Readline ». La syntaxe des arguments non-options est " "équivalente à celle\n" " du fichier ~/.inputrc, mais doivent être transmis comme arguments " "uniques :\n" " ex : bind '\"\\C-x\\C-r\" : re-read-init-file'.\n" +" \n" " Options :\n" " -m keymap Utilise KEYMAP comme mappage clavier pendant la\n" " durée de cette commande. Des noms de mappage " -"valables sont « emacs », « emacs-standard », « emacs-" -"meta », \n" -" « emacs-ctlx », « vi », « vi-move », « vi-command » " -"et\n" +"valables\n" +" sont « emacs », « emacs-standard », « emacs-meta », \n" +" « emacs-ctlx », « vi », « vi-move », « vi-command » et\n" " « vi-insert ».\n" " -l Affiche les noms de fonctions.\n" " -P Affiche les noms et associations des fonctions.\n" @@ -2572,8 +2672,7 @@ msgstr "" " -s Affiche les séquences de touches qui invoquent des " "macros,\n" " et leurs valeurs sous une forme qui peut être " -"utilisée comme entrée. -r seqtouche Enlève l'association pour " -"« seqtouche ».\n" +"utilisée comme entrée.\n" " -V Affiche les noms et valeurs des variables\n" " -v Affiche les noms et valeurs des variables dans une " "forme qui peut\n" @@ -2582,17 +2681,21 @@ msgstr "" "fonction.\n" " -u nom-fonction Enlève toutes les associations de touches liée à la " "fonction.\n" -" -r seqtouches Supprime l'association pour SEQTOUCHES.\n" -" -f nomfichier Lit l'association de touches depuis NOMFICHIER.\n" +" -r seqtouche Enlève l'association pour « seqtouche ».\n" +" -f nomfichier Lit l'association de touches depuis NOMFICHIER.\n" " -x seqtouche:commande-shell\tEntraîne l'exécution de la commande-" "shell\n" -" \t\t\t\tlorsque « seqtouche » est entrée.\n" -" \n" -" Code de sortie :\n" -" « bind » renvoie 0 à moins qu'une option non reconnue ne soit donnée " -"ou qu'une erreur ne survienne." +" \t\t\t\tlorsque « seqtouche » est entrée.\n" +" -X Liste les séquences de touches liées à -x et les " +"commandes associées\n" +" sous une forme qui peut être réutilisée comme " +"entrée.\n" +" \n" +" Code de sortie :\n" +" « bind » renvoie 0 à moins qu'une option non reconnue ne soit donnée ou " +"qu'une erreur survienne." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2611,7 +2714,7 @@ msgstr "" " Code de retour :\n" " Le code de retour est 0 à moins que N ne soit pas supérieur ou égal à 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2625,12 +2728,12 @@ msgstr "" " \n" " Reprend l'itération suivante de la boucle FOR, WHILE ou UNTIL de niveau " "supérieur.\n" -" Si N est précisé, reprend à N-ième boucle supérieure.\n" +" Si N est précisé, reprend à la N-ième boucle supérieure.\n" " \n" " Code de sortie :\n" " Le code de sortie est 0 à moins que N ne soit pas supérieur ou égale à 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2658,7 +2761,7 @@ msgstr "" "n'est\n" " pas une commande intégrée.." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2689,8 +2792,7 @@ msgstr "" "fonction ou que EXPR\n" " ne soit pas valable." -#: builtins.c:385 -#, fuzzy +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2713,16 +2815,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2737,7 +2839,8 @@ msgstr "" "Change le répertoire de travail du shell.\n" " \n" " Change le répertoire actuel vers DIR. Le répertoire DIR par défaut\n" -" est donné par la variable « $HOME ». \n" +" est donné par la variable « HOME » du shell.\n" +" \n" " La variable CDPATH définit le chemin de recherche du répertoire " "contenant\n" " DIR. Les noms de répertoires alternatifs dans CDPATH sont séparés par un " @@ -2748,34 +2851,45 @@ msgstr "" " \n" " Si le répertoire n'est pas trouvé et que l'option « cdable_vars » du " "shell est définie,\n" -" alors le mot est essayé comme nom de variable. Si la variable possède " +" alors le mot est supposé être un nom de variable. Si la variable possède " "une valeur,\n" " alors cette valeur est utilisée pour DIR.\n" " \n" " Options :\n" -" -L\tforcer le suivi des liens symboliques.\n" -" -P\tutiliser la structure physique des répertoires sans suivre\n" -" les liens symboliques\n" -" -e\tsi l'option -P est fournie et que le répertoire de travail " -"actuel ne peut pas\n" -" \têtre déterminé avec succès, alors sortir avec un code de retour non " +" -L\tforce le suivi des liens symboliques : résout les liens " +"symboliques dans\n" +" \t\tDIR après le traitement des instances de « .. »\n" +" -P\tutilise la structure physique des répertoires sans suivre les " +"liens\n" +" \t\tsymboliques : résout les liens symboliques dans DIR avant le " +"traitement des\n" +" \t\tinstances de « .. »\n" +" -e\tsi l'option -P est fournie et que le répertoire de travail actuel " +"ne peut pas\n" +" \t\têtre déterminé avec succès, alors sort avec un code de retour non " "nul\n" +" -@ sur les systèmes qui le supporte, présente un fichier avec des " +"attributs\n" +" \t\tétendus comme un répertoire contenant les attributs du fichier\n" " \n" " Le comportement par défaut est de suivre les liens symboliques, comme si " "« -L » était précisé.\n" +" « .. » est traité en retirant le composant immédiatement avant dans le " +"chemin jusqu'à\n" +" la barre oblique ou le début de DIR.\n" " \n" " Code de sortie :\n" " Renvoie 0 si le répertoire est changé et si $PWD est correctement " "défini\n" " quand -P est utilisé ; sinon autre chose que 0." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2787,19 +2901,17 @@ msgstr "" "Affiche le nom du répertoire de travail courant.\n" " \n" " Options :\n" -" -L\taffiche la valeur de $PWD s'il nomme le répertoire de travail " -"courant\n" -" \t\n" +" -L\taffiche la valeur de $PWD s'il nomme le répertoire de travail\n" +" \t\tcourant\n" " -P\taffiche le répertoire physique, sans aucun lien symbolique\n" " \n" " Par défaut, « pwd » se comporte comme si « -L » était spécifié.\n" " \n" " Code de retour :\n" -" Renvoie 0 à moins qu'une option non valable ne soit donnée ou que le " -"répertoire\n" -" courant ne peut pas être lu." +" Renvoie 0 à moins qu'une option non valable ne soit donnée ou que le\n" +" répertoire courant ne peut pas être lu." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2815,7 +2927,7 @@ msgstr "" " Code de retour :\n" " Renvoie toujours le code de succès." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2827,7 +2939,7 @@ msgstr "" " Code de retour :\n" " Succès." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2839,7 +2951,7 @@ msgstr "" " Code de sortie :\n" " Toujours l'échec." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2849,10 +2961,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2860,25 +2972,26 @@ msgstr "" "Exécute une simple commande ou affiche des informations sur les commandes.\n" " \n" " Lance la COMMANDE avec des ARGS en court-circuitant la recherche de " -"commande, ou affiche\n" -" des informations sur les COMMANDEs spécifiées. Ceci peut être utilisé " -"pour invoquer des commandes\n" -" sur le disque lorsqu'il y a conflit avec une fonction portant le même " -"nom.\n" +"commande,\n" +" ou affiche des informations sur les COMMANDEs spécifiées. Ceci peut " +"être\n" +" utilisé pour invoquer des commandes sur le disque lorsqu'il y a conflit\n" +" avec une fonction portant le même nom.\n" " \n" " Options :\n" -" -p\tutilise une valeur par défaut pour CHEMIN qui garantit de trouver\n" -" \ttous les utilitaires standards\n" -" -v\taffiche une description de la COMMANDE similaire à la commande " -"intégrée « type »\n" -" -V\taffiche une description plus détaillées de chaque COMMANDE\n" +" -p utilise une valeur par défaut pour CHEMIN qui garantit de " +"trouver\n" +" tous les utilitaires standards\n" +" -v affiche une description de la COMMANDE similaire à la commande " +"intégrée\n" +" « type »\n" +" -V affiche une description plus détaillée de chaque COMMANDE\n" " \n" " Code de retour :\n" " Renvoie le code de sortie de la COMMANDE, ou le code d'échec si la " "COMMANDE est introuvable." -#: builtins.c:487 -#, fuzzy +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2888,9 +3001,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2919,8 +3032,8 @@ msgid "" msgstr "" "Définit les valeurs et les attributs des variables.\n" " \n" -" Permet de déclarer des variables et de leur donner des attributs. Si " -"aucun NOM n'est donné,\n" +" Déclare des variables et leur assigne des attributs. Si aucun NOM n'est " +"donné,\n" " affiche les attributs et les valeurs de toutes les variables.\n" " \n" " Options :\n" @@ -2928,7 +3041,7 @@ msgstr "" "fonctions\n" " -F\trestreint l'affichage aux noms des fonctions uniquement (avec le " "numéro de ligne\n" -" \tet le fichier source lors du débogage)\n" +" \t\tet le fichier source lors du débogage)\n" " -g\tcrée des variables globales lorsqu'utilisée dans une fonction " "shell ; ignoré sinon\n" " -p\taffiche les attributs et la valeur de chaque NOM\n" @@ -2936,18 +3049,20 @@ msgstr "" " Options qui définissent des attributs :\n" " -a\tpour faire de NOMs des tableaux indexés (si pris en charge)\n" " -A\tpour faire de NOMs des tableaux associatifs (si pris en charge)\n" -" -i\tpour permettre aux NOMs d'avoir l'attribut « integer »\n" -" -l\tpour convertir les NOMs an minuscule lors de l'affectation\n" +" -i\tpour assigner l'attribut « integer » aux NOMs\n" +" -l\tpour convertir les NOMs en minuscules lors de l'affectation\n" +" -n\ttransforme NOM en une référence vers une variable nommée d'après " +"sa valeur\n" " -r\tpour mettre les NOMs en lecture seule\n" " -t\tpour permettre aux NOMs d'avoir l'attribut « trace »\n" -" -u\tpour convertir les NOMs en majuscule lors de l'affectation\n" +" -u\tpour convertir les NOMs en majuscules lors de l'affectation\n" " -x\tpour permettre aux NOMs de s'exporter\n" " \n" -" Utiliser « + » au lieu de « - » permet de désactiver l'attribut donné.\n" +" Utiliser « + » au lieu de « - » pour désactiver l'attribut.\n" " \n" -" Les variables avec l'attribut « integer » ont une évaluation " -"arithmétique (voir\n" -" la commande « let ») effectuée lorsqu'un valeur est affectée à la " +" Les variables avec l'attribut « integer » ont une évaluation arithmétique " +"(voir\n" +" la commande « let ») effectuée lorsqu'une valeur est affectée à la " "variable.\n" " \n" " Lorsqu'utilisée dans une fonction, « declare » permet aux NOMs d'être " @@ -2956,21 +3071,22 @@ msgstr "" "comportement.\n" " \n" " Code de retour :\n" -" Renvoie le code de succès à moins qu'un option non valable soit fournie " -"ou qu'une erreur ne survienne." +" Renvoie le code de succès à moins qu'une option non valable soit fournie " +"ou qu'une\n" +" erreur survienne lors de l'assignation d'une variable." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Définit des valeurs ou des attributs de variables.\n" " \n" " Obsolète. Essayez « help declare »." -#: builtins.c:535 -#, fuzzy +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2990,18 +3106,20 @@ msgstr "" "peut\n" " être n'importe quelle option acceptée par « declare ».\n" " \n" -" Les variables locales peut seulement être utilisée à l'intérieur d'une " -"fonction; elles ne sont visibles\n" -" que des fonctions où elles ont été définies et dans ses fonctions " -"filles.\n" +" Les variables locales peuvent seulement être utilisées à l'intérieur " +"d'une\n" +" fonction; elles ne sont visibles que dans les fonctions où elles ont " +"été\n" +" définies et dans leurs fonctions filles.\n" " \n" " Code de retour :\n" " Renvoie le code de succès à moins qu'une option non valable ne soit " -"fournie, qu'une erreur ne survienne,\n" -" ou que l'inteprète ne soit pas dans une fonction." +"fournie,\n" +" qu'une erreur survienne lors de l'assignation d'une variable, ou que le " +"shell\n" +" n'exécute pas une fonction." -#: builtins.c:552 -#, fuzzy +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3027,30 +3145,33 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" "Écrit les arguments sur la sortie standard.\n" " \n" -" Affiche les ARGs sur la sortie standard, suivis d'un retour à la ligne.\n" +" Affiche les ARGs, séparés par une espace, sur la sortie standard, " +"suivis\n" +" d'un retour à la ligne.\n" " \n" " Options :\n" -" -n\tne pas ajouter de saut de ligne\n" -" -e\tactive l'interpretation des barres contre-obliques d'échappement " +" -n\tn'ajoute pas de saut de ligne\n" +" -e\tactive l'interprétation des barres contre-obliques d'échappement " "ci-dessous\n" -" -E\tsupprime explicitement l'interpretation des barres contre-obliques " +" -E\tsupprime explicitement l'interprétation des barres contre-obliques " "d'échappement\n" " \n" " « echo » interprète les caractères suivants comme des séquences " "d'échappement :\n" " \\a\talerte (cloche)\n" " \\b\tretour arrière\n" -" \\c\tsupprime caractère suivant\n" -" \\e\tcaractère Échap.\n" +" \\c\tsupprime la suite de la sortie\n" +" \\e\tcaractère échap.\n" +" \\E\tcaractère échap.\n" " \\f\tsaut de page\n" " \\n\tsaut de ligne\n" " \\r\tretour chariot\n" @@ -3059,14 +3180,15 @@ msgstr "" " \\\\\tbarre contre-oblique\n" " \\0nnn\tle caractère dont le code ASCII est NNN (en octal). NNN peut " "être\n" -" \tlong de 0 à 3 chiffres octaux\n" -" \\xHH\tle caractère à 8 bits dont la valeur est HH (hexadecimal). HH\n" -" \tpeut être long de 1 ou 2 chiffres hexadécimaux\n" +" \t\tlong de 0 à 3 chiffres octaux\n" +" \\xHH\tle caractère sur 8 bits dont la valeur est HH (hexadecimal). " +"HH\n" +" \t\tpeut être long de 1 ou 2 chiffres hexadécimaux\n" " \n" " Code de sortie :\n" -" Renvoie le code de succès à moins qu'une erreur ne survienne." +" Renvoie le code de succès à moins qu'une erreur d'écriture survienne." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3086,9 +3208,9 @@ msgstr "" " -n\tpas de retour à la ligne\n" " \n" " Code de sortie :\n" -" Renvoie le code de succès à moins qu'une erreur ne survienne." +" Renvoie le code de succès à moins qu'une erreur d'écriture survienne." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3120,7 +3242,7 @@ msgstr "" "vous permet\n" " d'exécuter une commande du disque ayant le même nom qu'une commande du " "shell\n" -" sans utiliser le chemin compler vers le fichier.\n" +" sans utiliser le chemin complet vers le fichier.\n" " \n" " Options :\n" " -a\taffiche la liste des commandes intégrées et leur état " @@ -3128,8 +3250,7 @@ msgstr "" " -n\tdésactive chaque NOM ou affiche la liste des commandes " "désactivées\n" " -p\taffiche la liste des commandes dans un format réutilisable\n" -" -s\taffiche seulement les noms des commandes Posix de type « special " -"»\n" +" -s\taffiche seulement les noms des commandes Posix de type « special »\n" " \n" " Options contrôlant le chargement dynamique :\n" " -f\tCharge la commande intégrée NOM depuis la bibliothèque partagée " @@ -3146,7 +3267,7 @@ msgstr "" " Renvoie le code de succès à moins que NOM ne soit pas une commande " "intégrée ou qu'une erreur ne survienne." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3167,7 +3288,7 @@ msgstr "" " Renvoie le même code de sortie que la commande, ou le code de succès si " "la commande est vide." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3227,7 +3348,7 @@ msgstr "" "cet\n" " argument dans la variable de shell OPTARG.\n" " \n" -" « getopts » signale les erreurs d'une façon parmi deux. Si le premier " +" « getopts » signale les erreurs de deux manières. Si le premier " "caractère\n" " d'OPTSTRING est un deux-points, « getopts » utilise un signalement " "d'erreur\n" @@ -3237,15 +3358,14 @@ msgstr "" "d'option\n" " trouvé. Si un argument nécessaire n'est pas trouvé, « getopts » place un " "« : »\n" -" dans NOM et place dans OPTARG le caractère d'option trouvé. Si « " -"getopts »\n" +" dans NOM et place dans OPTARG le caractère d'option trouvé. Si « getopts " +"»\n" " n'est pas en mode silencieux et qu'une option incorrecte est rencontrée, " "il\n" " place « ? » dans NAME et efface OPTARG. Si un argument nécessaire n'est " "pas\n" -" trouvé, un « ? » est placé dans NAME, OPTARG est effacé et un message de " -"diagnostic\n" -" est affiché.\n" +" trouvé, un « ? » est placé dans NAME, OPTARG est effacé et un message de\n" +" diagnostic est affiché.\n" " \n" " Si la variable de shell OPTERR possède la valeur 0, « getopts » " "désactive\n" @@ -3262,7 +3382,7 @@ msgstr "" "la fin des options\n" " est rencontrée ou si une erreur survient." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3273,8 +3393,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3286,25 +3406,26 @@ msgid "" msgstr "" "Remplace le shell par la commande fournie.\n" " \n" -" Exécute la COMMANDE, en remplaçant ce shell par le programme spécifiée.\n" +" Exécute la COMMANDE, en remplaçant ce shell par le programme spécifié.\n" " Les ARGUMENTS deviennent ceux de la COMMANDE. Si la COMMANDE n'est pas " "fournie,\n" " les redirections prennent effet dans le shell courant.\n" " \n" " Options :\n" " -a nom\tpasse NOM comme argument numéro 0 à la COMMANDE\n" -" -c\t\texécute la COMMANDE avec un environnement vide\n" -" -l\t\tplace un tiret comme argument numéro 0 de la COMMANDE\n" +" -c\texécute la COMMANDE avec un environnement vide\n" +" -l\tplace un tiret comme argument numéro 0 de la COMMANDE\n" " \n" " Si la commande ne peut pas être exécutée, un shell non-interactif se " -"termine, à moins\n" -" que l'option « execfail » ne soit définie.\n" +"termine,\n" +" à moins que l'option « execfail » ne soit définie.\n" " \n" " Code de sortie :\n" -" Renvoie le code de succès à moins que la COMMANDE ne soit pas trouvée ou " -"qu'une erreur de redirection ne survienne." +" Renvoie le code de succès à moins que la COMMANDE ne soit pas trouvée " +"ou\n" +" qu'une erreur de redirection ne survienne." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3314,9 +3435,9 @@ msgstr "" "Termine le shell.\n" " \n" " Termine le shell avec le code de retour « N ». Si N est omis, le code\n" -" de retour est celui de la dernière commande exécutée." +" de retour est celui de la dernière commande exécutée." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3327,10 +3448,10 @@ msgstr "" "Termine un shell de connexion.\n" " \n" " Termine un shell de connexion avec le code de sortie N. Renvoie une " -"erreur s'il n'est pas exécuté\n" -" dans un shell de connexion." +"erreur\n" +" s'il n'est pas exécuté dans un shell de connexion." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3361,36 +3482,37 @@ msgid "" msgstr "" "Affiche ou exécute des commandes issues de l'historique.\n" " \n" -" « fc » est utilisé pour afficher ou modifier puis ré-exécuter les " +" « fc » est utilisé pour afficher ou modifier puis ré-exécuter les " "commandes\n" -" de l'historique des commandes. PREMIER et DERNIER peuvent être des " +" de l'historique des commandes. PREMIER et DERNIER peuvent être des " "nombres\n" -" indiquant la plage ou PREMIER peut être une chaîne donnant le début de la\n" -" commande la plus récente recherchée.\n" +" indiquant la plage ou PREMIER peut être une chaîne donnant le début de " +"la\n" +" commande la plus récente recherchée.\n" " \n" " Options :\n" -" -e ENAME définit quel éditeur utiliser. Par défaut il s'agit de « " +" -e ENAME\tdéfinit quel éditeur utiliser. Par défaut il s'agit de « " "FCEDIT »\n" -" puis « EDITOR », puis « vi ».\n" +" \t\tpuis « EDITOR », puis « vi »\n" +" -l\taffiche les lignes au lieu de les éditer\n" +" -n\tn'affiche pas les numéros de ligne\n" +" -r\tinverse l'ordre des lignes (les plus récentes en premier)\n" " \n" -" -l affiche les les lignes au lieu de les éditer.\n" -" -n n'affiche pas les numéros de ligne.\n" -" -r inverse l'ordre des lignes (les plus récentes en premier).\n" -" \n" -" En tapant « fc -s [ancien=nouveau ...] [commande] », la commande est ré-" +" En tapant « fc -s [motif=rempl ...] [commande] », la commande est ré-" "exécutée\n" " après avoir effectué le remplacement ANCIEN=NOUVEAU.\n" " \n" " Un alias utile est « r='fc -s' » de sorte qu'en tapant « r cc »,\n" -" la dernière commande commençant par « cc » est ré-exécutée et avec « r " -"», la\n" +" la dernière commande commençant par « cc » est ré-exécutée et avec « r », " +"la\n" " dernière commande est ré-exécutée.\n" " \n" " Code de sortie :\n" " Renvoie le code de succès ou le code de sortie de la commande exécutée ; " -"autre chose que 0 si une erreur survient." +"autre\n" +" chose que 0 si une erreur survient." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3408,10 +3530,10 @@ msgstr "" " de tâche actuelle.\n" " \n" " Code de sortie :\n" -" celui de la commande placée au premier plan ou le code d'échec si une " +" Celui de la commande placée au premier plan ou le code d'échec si une " "erreur survient." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3426,17 +3548,17 @@ msgid "" msgstr "" "Déplace des tâches vers l'arrière plan.\n" " \n" -" Place chaque JOB_SPEC en arrière plan comme s'il avait été démarré avec " -"« & ».\n" +" Place chaque JOB_SPEC en arrière plan comme s'il avait été démarré avec « " +"& ».\n" " Si JOB_SPEC n'est pas fourni, le shell utilise sa propre notion\n" " de tâche actuelle.\n" " \n" " Code de sortie :\n" " Renvoie le code de succès à moins que le contrôle de tâche ne soit pas " -"activé ou qu'une erreur ne survienne." +"activé\n" +" ou qu'une erreur ne survienne." -#: builtins.c:784 -#, fuzzy +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3445,15 +3567,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3463,25 +3585,26 @@ msgstr "" " \n" " Détermine et mémorise le chemin complet de chaque commande NOM. Si\n" " aucun argument n'est donné, une information sur les commandes mémorisées " -"est affichée.\n" +"est\n" +" affichée.\n" " \n" " Options :\n" -" -d\t\toublier l'emplacement mémorisé de chaque NOM\n" -" -l\t\tafficher dans un format qui peut être réutilisé comme entrée\n" -" -p nomchemin\tutiliser NOMCHEMIN comme le chemin complet de NOM\n" -" -r\t\toublier tous les emplacements mémorisés\n" -" -t\t\tafficher l'emplacement mémorisé de chaque NOM, en précédant\n" +" -d\toublie l'emplacement mémorisé de chaque NOM\n" +" -l\taffiche dans un format qui peut être réutilisé comme entrée\n" +" -p nomchemin\tutilise NOMCHEMIN comme le chemin complet de NOM\n" +" -r\toublie tous les emplacements mémorisés\n" +" -t\taffiche l'emplacement mémorisé de chaque NOM, en précédant\n" " \t\tchaque emplacement du NOM correspondant si plusieurs NOMS\n" " \t\tsont donnés\n" " Arguments :\n" -" NOM\t\tChaque NOM est recherché dans $PATH et ajouté à la liste\n" +" NOM\tChaque NOM est recherché dans $PATH et ajouté à la liste\n" " \t\tdes commandes mémorisée.\n" " \n" " Code de sortie :\n" -" Renvoie le code de succès à moins que le NOM ne soit pas trouvé ou " -"qu'une option non valable ne soit donnée." +" Renvoie le code de succès à moins que le NOM ne soit pas trouvé ou\n" +" qu'une option non valable ne soit donnée." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3493,7 +3616,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3509,10 +3632,10 @@ msgstr "" " au MOTIF est affichée, sinon la liste des sujets d'aide est affichée.\n" " \n" " Options :\n" -" -d\tafficher une courte description pour chaque sujet\n" -" -m\tafficher l'aide dans un format proche des pages de man(uel)\n" -" -s\tn'afficher qu'une courte aide pour chaque sujet correspondant au\n" -" \t\tMOTIF\n" +" -d\taffiche une courte description pour chaque sujet\n" +" -m\taffiche l'aide dans un format proche des pages de man(uel)\n" +" -s\tn'affiche qu'une courte aide pour chaque sujet correspondant au\n" +" \t\tMOTIF\n" " \n" " Arguments :\n" " MOTIF\tMotif spécifiant un sujet d'aide\n" @@ -3522,7 +3645,8 @@ msgstr "" "qu'une\n" " option non valable ne soit donnée." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3531,23 +3655,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3555,7 +3679,7 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" -"Affiche ou manipule l''historique.\n" +"Affiche ou manipule l'historique.\n" " \n" " Affiche l'historique avec les numéros de lignes en préfixant chaque " "élément\n" @@ -3563,40 +3687,40 @@ msgstr "" "éléments.\n" " \n" " Options :\n" -" -c\tefface la liste d'historique en effaçant tous les éléments\n" +" -c\tefface la liste d'historique en supprimant tous les éléments\n" " -d offset\tefface l'élément d'historique à l'emplacement OFFSET.\n" " \n" -" -a\tajouter les lignes d'historique de cette session au fichier " +" -a\tajoute les lignes d'historique de cette session au fichier " "d'historique\n" -" -n\tlire toutes les lignes d'historique non déjà lues depuis le " -"fichier d'historique\n" -" -r\tlire le fichier d'historique et ajouter le contenu à la liste " +" -n\tlit toutes les lignes d'historique non déjà lues depuis le fichier " "d'historique\n" -" -w\técrire l'historique actuel dans le fichier d'historique\n" -" \tet l'ajoute à la liste d'historique\n" +" -r\tlit le fichier d'historique et ajoute le contenu à la liste " +"d'historique\n" +" -w\técrit l'historique actuel dans le fichier d'historique\n" +" \t\tet l'ajoute à la liste d'historique\n" " \n" -" -p\teffectuer un développement de l'historique sur chaque ARG et " -"afficher le résultat\n" -" \tsans le stocker dans la liste d'historique\n" +" -p\teffectue un développement de l'historique sur chaque ARG et " +"affiche le résultat\n" +" \t\tsans le stocker dans la liste d'historique\n" " -s\tajoute les ARGs à la liste d'historique comme entrée unique\n" " \n" " Si NOMFICHIER est donné, il est utilisé comme fichier d'historique. " "Sinon,\n" -" si $HISTFILE contient une valeur, celle-ci est utilisée, sinon ~/." +" si HISTFILE contient une valeur, celle-ci est utilisée, sinon ~/." "bash_history.\n" " \n" -" Si la variable $HISTTIMEFORMAT est définie et n'est pas vide, sa valeur " -"est utillisée\n" +" Si la variable HISTTIMEFORMAT est définie et n'est pas vide, sa valeur " +"est utilisée\n" " comme chaîne de format pour que strftime(3) affiche l'horodatage " "associé\n" -" à chaque entrée d'historique. Sinin, aucun horodatage n'est affiché.\n" +" à chaque entrée d'historique. Sinon, aucun horodatage n'est affiché.\n" " \n" " Code de sortie :\n" " Renvoie le code de succès à moins qu'une option non valable soit donnée " -"ou qu'une erreur ne survienne." +"ou\n" +" qu'une erreur ne survienne." -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3606,7 +3730,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3621,32 +3745,32 @@ msgid "" msgstr "" "Affiche l'état des tâches.\n" " \n" -" Affiche la liste des tâches actives. JOBSPEC restreint l'affichage à " -"cette tâche.\n" -" S'il n'y a pas d'option, l'état de toutes les tâches actives est " -"affiché.\n" +" Affiche la liste des tâches actives. JOBSPEC restreint l'affichage à\n" +" cette tâche. S'il n'y a pas d'option, l'état de toutes les tâches " +"actives\n" +" est affiché.\n" " \n" " Options :\n" -" -l\tafficher les IDs de processus en plus des informations normales\n" -" -n\tafficher seulement les processus dont l'état a changé depuis la " -"dernière\n" -" \tnotification\n" -" -p\tafficher seulement les IDs de processus\n" -" -r\trestreindre l'affichage aux tâches en cours d'exécution\n" -" -s\trestreindre l'affichage aux tâches stoppées\n" -" \n" -" Si « -x » est fournie, la COMMANDE est lancée après que toutes les " -"spécifications\n" -" qui apparaissent dans ARGs ont été remplacées par l'ID de processus du " -"leader de groupe\n" -" de processus de cette tâche.\n" +" -l\taffiche les IDs de processus en plus des informations normales\n" +" -n\taffiche seulement les processus dont l'état a changé depuis la\n" +" \t\tdernière notification\n" +" -p\taffiche seulement les IDs de processus\n" +" -r\trestreint l'affichage aux tâches en cours d'exécution\n" +" -s\trestreint l'affichage aux tâches stoppées\n" +" \n" +" Si « -x » est fournie, la COMMANDE est lancée après que toutes les\n" +" spécifications qui apparaissent dans ARGs ont été remplacées par l'ID " +"de\n" +" processus du leader de groupe de processus de cette tâche.\n" " \n" " Code de sortie :\n" " Renvoie le code de succès à moins qu'une option non valable ne soit " -"donnée ou qu'une erreur ne survienne.\n" -" Si « -x » est utilisée, le code de sortie de la COMMANDE est renvoyé." +"donnée\n" +" ou qu'une erreur ne survienne. Si « -x » est utilisée, le code de sortie " +"de\n" +" la COMMANDE est renvoyé." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3656,7 +3780,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3668,17 +3792,18 @@ msgstr "" " JOBSPEC, le shell utilise sa propre notion de tâche courante.\n" " \n" " Options :\n" -" -a\tretirer toutes lestâches si JOBSPEC n'est pas fourni\n" +" -a\tretire toutes les tâches si JOBSPEC n'est pas fourni\n" " -h\tmarque chaque JOBSPEC de façon que SIGHUP ne soit pas envoyé à la " "tâche\n" -" \tsi le shell reçoit un SIGHUP\n" +" \t\tsi le shell reçoit un SIGHUP\n" " -r\tretire seulement les tâches en cours de fonctionnement\n" " \n" " Code de sortie :\n" -" Renvoie le code de succès à moins qu'une option ou un JOBSPEC non " -"valable ne soit donné." +" Renvoie le code de succès à moins qu'une option ou un JOBSPEC non\n" +" valable ne soit donné." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3690,7 +3815,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3701,28 +3827,34 @@ msgid "" msgstr "" "Envoie un signal à une tâche.\n" " \n" -" Envoie le signal nommé par SIGSPEC ou SIGNUM au processus identifié par " -"PID ou JOBSPEC.\n" -" Si SIGSPEC et SIGNUM ne sont pas donnés, alors SIGTERM est envoyé.\n" +" Envoie le signal nommé par SIGSPEC ou SIGNUM au processus identifié par\n" +" PID ou JOBSPEC. Si SIGSPEC et SIGNUM ne sont pas donnés, alors SIGTERM " +"est\n" +" envoyé.\n" " \n" " Options :\n" " -s sig\tSIG est un nom de signal\n" " -n sig\tSIG est un numéro de signal\n" -" -l\tafficher la liste des noms de signaux ; si des arguments suivent « " -"-l », ils sont supposés être\n" -" \tdes numéro de signaux pour lesquels les noms doivent être affichés\n" +" -l\taffiche la liste des noms de signaux ; si des arguments suivent « -" +"l »,\n" +" \t\tils sont supposés être des numéros de signaux pour lesquels les noms " +"doivent\n" +" \t\têtre affichés\n" " \n" " « kill » est une commande intégrée pour deux raisons : elle permet aux " -"IDs de tâches d'être utilisées\n" -" à la place des IDs de processus et elle permet aux processus d'être tués " -"si la limite du nombre de processus\n" -" que vous pouvez créer est atteinte.\n" +"IDs de\n" +" tâches d'être utilisés à la place des IDs de processus et elle permet " +"aux\n" +" processus d'être tués si la limite du nombre de processus que vous " +"pouvez créer\n" +" est atteinte.\n" " \n" " Code de sortie :\n" " Renvoie le code de succès à moins qu'une option non valable soit donnée " -"ou qu'une erreur ne survienne." +"ou qu'une\n" +" erreur ne survienne." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3797,23 +3929,21 @@ msgstr "" " \t&=, ^=, |=\taffectation\n" " \n" " Les variables de shell sont autorisées comme opérandes. Le nom de la\n" -" variable est remplacé par sa valeur (contrainte à un entier de largeur " -"fixe)\n" -" à l'intérieur d'une expression. La variable n'a pas besoin d'avoir son " -"attribut\n" -" d'entier activé pour être utilisée dans une expression.\n" +" variable est remplacé par sa valeur (contrainte à un entier de largeur\n" +" fixe) à l'intérieur d'une expression. La variable n'a pas besoin " +"d'avoir\n" +" son attribut d'entier activé pour être utilisée dans une expression.\n" " \n" " Les opérateurs sont évalués dans leur ordre de priorité. Les sous-" -"expressions entre\n" -" parenthèses sont évaluées en premier et peuvent être prioritaires sur " -"les règles\n" -" ci-dessus.\n" +"expressions\n" +" entre parenthèses sont évaluées en premier et peuvent être prioritaires " +"sur\n" +" les règles ci-dessus.\n" " \n" " Code de sortie :\n" " Si le dernier ARG est évalué à 0, « let » renvoie 1, sinon 0 est renvoyé." -#: builtins.c:983 -#, fuzzy +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3834,27 +3964,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3866,52 +3997,59 @@ msgstr "" "Lit une ligne depuis l'entrée standard et la découper en morceaux.\n" " \n" " Lit une simple ligne depuis l'entrée standard ou depuis le descripteur " -"de fichier FD\n" -" si l'option « -u » est fournie. La ligne est découpée en morceaux comme " -"des mots,\n" -" et le premier mot est assigné au premier NOM, le deuxième mot au " -"deuxième NOM,\n" -" et ainsi de suite, le dernier NOM récupérant la liste des mots " -"restants.\n" -" Seul les caractères trouvés dans $IFS sont reconnus comme délimiteurs\n" +"de\n" +" fichier FD si l'option « -u » est fournie. La ligne est découpée en " +"morceaux\n" +" comme des mots, et le premier mot est assigné au premier NOM, le " +"deuxième mot\n" +" au deuxième NOM, et ainsi de suite, le dernier NOM récupérant la liste " +"des mots\n" +" restants. Seuls les caractères trouvés dans $IFS sont reconnus comme " +"délimiteurs\n" " de mots\n" " \n" " Si aucun NOM n'est fourni, la ligne lue est stockée dans la variable " "REPLY.\n" " \n" " Options :\n" -" -a tableau\taffecter les indices de la variable tableau " -"séquentiellement aux mots lus,\n" -" \t\ten commançant à 0\n" -" -d délim\tcontinuer jusqu'à ce que le premier caractère de DELIM soit " +" -a tableau\taffecte les mots lus séquentiellement aux indices de la " +"variable\n" +" \t\ttableau ARRAY en commençant à 0\n" +" -d délim\tcontinue jusqu'à ce que le premier caractère de DELIM soit " "lu,\n" " \t\tau lieu du retour à la ligne\n" -" -e\t\tutiliser « Readline » pour obtenir la ligne dans un shell " +" -e\t\tutilise « Readline » pour obtenir la ligne dans un shell " "interactif\n" -" -i texte\tUtiliser TEXTE comme texte initial pour « Readline »\n" -" -n n\tterminer après avoir lu N caractères plutôt que d'attendre\n" -" \t\tun retour à la ligne, mais obéir à un délimiteur si moins de N " +" -i texte\tUtilise TEXTE comme texte initial pour « Readline »\n" +" -n n\ttermine après avoir lu N caractères plutôt que d'attendre\n" +" \t\tun retour à la ligne, mais obéi à un délimiteur si moins de N " "caractères\n" " \t\tsont lus avant le délimiteur\n" " -N n\ttermine seulement après avoir lu exactement N caractères, à " "moins\n" -" \t\tque le caractère EOF soit recontré ou que le délai de lecture " -"n'expire, en ignorant tout délimiteur\n" +" \t\tque le caractère EOF soit rencontré ou que le délai de lecture " +"n'expire.\n" +" \t\tLes délimiteurs sont ignorés\n" " -p prompt\taffiche la chaîne PROMPT sans retour à la ligne final, " -"avant de tenter une\n" -" \t\tlecture\n" -" -r\t\tne pas permettre aux barres obliques inverses de se comporter " -"comme des caractères d'échappement\n" -" -s\t\tne pas répéter l'entrée provenant d'un terminal\n" +"avant de\n" +" \t\ttenter une lecture\n" +" -r\tne pas permettre aux barres obliques inverses de se comporter " +"comme\n" +" \t\tdes caractères d'échappement\n" +" -s\tne pas répéter l'entrée provenant d'un terminal\n" " -t timeout\texpire et renvoie un code d'échec si une ligne d'entrée " -"complète n'est pas\n" -" \t\tlue en moins de TIMEOUT secondes. La valeur de la variable TIMEOUT\n" -" \t\test le délai d'expiration par défaut. TIMEOUT peut être un nombre à " -"virgule\n" -" \t\tSi TIMEOUT est à, la lecture renvoie un code de succès seulement\n" -" \t\tsi l'entrée est disponible sur le descripteut de fichier. Le code\n" +"complète\n" +" \t\tn'est pas lue en moins de TIMEOUT secondes. La valeur de la " +"variable TIMEOUT\n" +" \t\test le délai d'expiration par défaut. TIMEOUT peut être un nombre " +"décimal.\n" +" \t\tSi TIMEOUT est à zéro, la lecture se termine immédiatement sans " +"essayer de\n" +" \t\tlire la moindre donnée mais elle renvoie un code de succès " +"seulement\n" +" \t\tsi l'entrée est disponible sur le descripteur de fichier. Le code\n" " \t\tde sortie est supérieur à 128 si le délai a expiré\n" -" -u fd\t\tlire depuis le descripteur de fichier FD plutôt que l'entrée " +" -u fd\tlit depuis le descripteur de fichier FD plutôt que l'entrée " "standard\n" " \n" " Code de sortie :\n" @@ -3920,7 +4058,7 @@ msgstr "" " ou qu'un descripteur de fichier non valable ne soit fourni comme " "argument à « -u »." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3933,17 +4071,16 @@ msgid "" msgstr "" "Termine depuis une fonction du shell.\n" " \n" -" Entraine l'arrêt d'une fonction ou d'un script sourcé, avec le code de " -"retour spécifié par N.\n" -" Si N est omis, le code de retour est celui de la dernière commande " -"exécutée\n" -" à l'intérieur de la fonction ou du script\n" +" Entraîne l'arrêt d'une fonction ou d'un script sourcé, avec le code\n" +" de retour spécifié par N. Si N est omis, le code de retour est celui\n" +" de la dernière commande exécutée à l'intérieur de la fonction ou du\n" +" script\n" " \n" " Code de retour :\n" -" Renvoie N ou le code d'échec si le shell n'est pas en train d'exécuter " -"une fonction ou un script." +" Renvoie N ou le code d'échec si le shell n'est pas en train d'exécuter\n" +" une fonction ou un script." -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -4012,7 +4149,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -4036,31 +4174,31 @@ msgstr "" " affiche les noms et valeurs des variables du shell.\n" " \n" " Options :\n" -" -a Marquer pour l'export toutes les variables qui sont modifiées ou " +" -a Marque pour l'export toutes les variables qui sont modifiées ou " "créées.\n" -" -b Avertir immédiatement de la fin d'une tâche.\n" -" -e Terminer immédiatement si une commande s'arrête avec un code de " +" -b Averti immédiatement de la fin d'une tâche.\n" +" -e Termine immédiatement si une commande s'arrête avec un code de " "retour non nul.\n" -" -f Désactiver la génération de nom de fichier (globbing).\n" -" -h Mémoriser l'emplacement des commandes après leur recherche.\n" -" -k Placer dans l'environnement tous les arguments d'affectation " -"pour une commande,\n" +" -f Désactive la génération de nom de fichier (globbing).\n" +" -h Mémorise l'emplacement des commandes après leur recherche.\n" +" -k Place dans l'environnement tous les arguments d'affectation pour " +"une commande,\n" " pas seulement ceux qui précèdent le nom de la commande.\n" -" -m Activer le contrôle de tâche.\n" -" -n Lire les commandes, mais ne pas les exécuter.\n" +" -m Active le contrôle de tâche.\n" +" -n Lit les commandes, mais ne les exécute pas.\n" " -o nom-option\n" -" Définir la variable correspondant à nom-option :\n" +" Défini la variable correspondant à nom-option :\n" " allexport identique à -a\n" " braceexpand identique à -B\n" -" emacs utiliser une édition de ligne façon « emacs »\n" +" emacs utilise une édition de ligne façon « emacs »\n" " errexit identique à -e\n" " errtrace identique à -E\n" " functrace identique à -T\n" " hashall identique à -h\n" " histexpand identique à -H\n" -" history activer l'historique des commandes\n" -" ignoreeof ne pas terminer le shell à la lecture d'un « " -"EOF »\n" +" history active l'historique des commandes\n" +" ignoreeof ne termine pas le shell à la lecture d'un « EOF " +"»\n" " interactive-comments\n" " permet aux commentaires d'apparaître dans les " "commandes interactives\n" @@ -4079,10 +4217,11 @@ msgstr "" " qui s'est terminée avec un code non nul,\n" " ou zéro si aucune commande ne s'est arrêtée " "avec un code non nul.\n" -" posix modifie le comportement de « bash » pour qu'il " -"se comporte comme\n" -" le standard 1003.2 aux endroits où il diffère " -"par défaut.\n" +" posix modifie le comportement de « bash » où les " +"opérations par défaut\n" +" sont différentes du standard Posix de manière à " +"correspondre au\n" +" standard\n" " privileged identique à -p\n" " verbose identique à -v\n" " vi utiliser une édition de ligne façon « vi »\n" @@ -4090,52 +4229,52 @@ msgstr "" " -p Option activée lorsque les n° d'identifiants utilisateurs réels " "et effectifs ne\n" " sont pas les mêmes. Désactive le traitement du fichier $ENV et " -"l'import des\n" +"l'importation des\n" " fonctions du shell. Désactiver cette option permet de définir " "les uid et gid\n" -" effectifs à la valeur des uid et gid réels.\n" -" -t Terminer après la lecture et l'exécution d'une commande.\n" -" -u Traiter les variables non définies comme des erreurs lors de la " +" effectifs aux valeurs des uid et gid réels.\n" +" -t Termine après la lecture et l'exécution d'une commande.\n" +" -u Traite les variables non définies comme des erreurs lors de la " "substitution.\n" -" -v Afficher les lignes d'entrée du shell à leur lecture.\n" -" -x Afficher les commandes et leurs arguments au moment de leur " +" -v Affiche les lignes d'entrée du shell à leur lecture.\n" +" -x Affiche les commandes et leurs arguments au moment de leur " "exécution.\n" -" -B Effectuer l'expansion des accolades\n" -" -C Si définit, empêche les fichiers réguliers existants d'être " +" -B Effectue l'expansion des accolades\n" +" -C Si défini, empêche les fichiers réguliers existants d'être " "écrasés par une\n" " redirection de la sortie.\n" -" -E Si définit, l'interception ERR est héritée par les fonctions du " +" -E Si défini, l'interception ERR est héritée par les fonctions du " "shell.\n" -" -H Activer la substitution d'historique façon « ! ». Ceci est actif " +" -H Active la substitution d'historique façon « ! ». Ceci est actif " "par défaut\n" " lorsque le shell est interactif.\n" -" -P Si définit, les liens symboliques ne sont pas suivis lors de " +" -P Si défini, les liens symboliques ne sont pas suivis lors de " "l'exécution des\n" " commandes telles que « cd » qui changent le répertoire courant.\n" -" -T Si définit, l'interception DEBUG est héritée par les fonctions " -"du shell.\n" -" -- Affecte tous les arguments restants aux paramètres de position.\n" -" S'il n'y a plus d'argument, les paramètres de position sont " +" -T Si défini, l'interception DEBUG est héritée par les fonctions du " +"shell.\n" +" -- Affecte tous les arguments restants aux paramètres de position.\n" +" S'il n'y a plus d'argument, les paramètres de position sont " "indéfinis.\n" " - Affecter tous les arguments restants aux paramètres de " "position.\n" " Les options « -x » et « -v » sont désactivées.\n" " \n" -" Ces indicateurs peuvent être désactivés en utilisant « + » plutôt que « " -"- ». Ils peuvent\n" +" Ces indicateurs peuvent être désactivés en utilisant « + » plutôt que « - " +"». Ils peuvent\n" " être utilisés lors de l'appel au shell. Le jeu d'indicateurs actuel peut " "être trouvé\n" -" dans « $- ». Les n ARGs restants sont des paramètres de position et " -"sont affectés,\n" +" dans « $- ». Les n ARGs restants sont des paramètres de position et sont " +"affectés,\n" " dans l'ordre, à $1, $2, .. $n. Si aucun ARG n'est donné, toutes les " "variables du shell\n" -" sont affichées. \n" +" sont affichées.\n" +" \n" " Code de sortie :\n" " Renvoie le code de succès à moins qu'une option non valable ne soit " "donnée." -#: builtins.c:1126 -#, fuzzy +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -4145,7 +4284,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4163,6 +4302,9 @@ msgstr "" " Options :\n" " -f\ttraite chaque NOM comme une fonction du shell\n" " -v\ttraite chaque NOM comme une variable du shell\n" +" -n\ttraite chaque NOM comme une référence nommée et annule la " +"variable\n" +" \t\telle-même plutôt que la variable à laquelle elle fait référence\n" " \n" " Sans option, « unset » essaye d'abord d'annuler une variable et, \n" " en cas d'échec, essaye d'annuler la fonction.\n" @@ -4171,10 +4313,10 @@ msgstr "" "readonly ».\n" " \n" " Code de retour :\n" -" Renvoie le code de succès à moins qu'une option non valable ne soit " -"donnée ou que NOM soit en lecture seule." +" Renvoie le code de succès à moins qu'une option non valable ne soit\n" +" donnée ou que NOM soit en lecture seule." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4194,24 +4336,24 @@ msgid "" msgstr "" "Définit l'attribut « export » pour des variables du shell.\n" " \n" -" Marque chaque NOM pour export automatique vers l'environnement des " -"commandes\n" -" exécutées ultérieurement. Si VALEUR est fournie, affecte la VALEUR " -"avant l'export.\n" +" Marque chaque NOM pour exportation automatique vers l'environnement des\n" +" commandes exécutées ultérieurement. Si VALEUR est fournie, affecte la " +"VALEUR\n" +" avant l'exportation.\n" " \n" " Options :\n" " -f\tse référer aux fonctions du shell\n" -" -n\tenlève la propriété d'export de chaque NOM\n" +" -n\tenlève la propriété d'exportation de chaque NOM\n" " -p\taffiche une liste de toutes les variables et fonctions exportées\n" " \n" " L'argument « -- » désactive tout traitement postérieur d'options.\n" " \n" " Code de retour :\n" " Renvoie le code de succès à moins qu'une option non valable ne soit " -"données ou que NOM ne soit pas valable." +"données\n" +" ou que NOM ne soit pas valable." -#: builtins.c:1167 -#, fuzzy +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -4223,9 +4365,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4234,26 +4375,27 @@ msgid "" msgstr "" "Marque des variables du shell comme non modifiables.\n" " \n" -" Marque chaque NOM comme étant en lecture seule ; les valeurs de ces NOMs " -"ne peuvent plus\n" -" être modifiées par des affectations ultérieures. Si VALEUR est founie, " -"lui affecter la VALEUR avant le\n" -" passage en lecture seule.\n" +" Marque chaque NOM comme étant en lecture seule ; les valeurs de ces " +"NOMs\n" +" ne peuvent plus être modifiées par des affectations ultérieures. Si " +"VALEUR\n" +" est fournie, lui affecter la VALEUR avant le passage en lecture seule.\n" " \n" " Options :\n" -" -a\tse référer à des variables étant des tableaux indexés\n" -" -A\tse référer à des variables étant des tableaux associatifs\n" -" -f\tse référer à des fonctions du shell\n" -" -p\tafficher une liste des toutes les fonctions et variables en " -"lecture seule\n" +" -a\tse réfère à des variables étant des tableaux indexés\n" +" -A\tse réfère à des variables étant des tableaux associatifs\n" +" -f\tse réfère à des fonctions du shell\n" +" -p\taffiche une liste des toutes les fonctions et variables en lecture " +"seule\n" +" \t\tselon que l'option -f est fournie ou non\n" " \n" " Un argument « -- » désactive tout traitement postérieur d'options.\n" " \n" " Code de retour :\n" -" Renvoie le code de succès à moins qu'une options non valable ne soit " -"données ou que NOM ne soit pas valable." +" Renvoie le code de succès à moins qu'une option non valable ne soit\n" +" donnée ou que NOM ne soit pas valable." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4272,7 +4414,7 @@ msgstr "" " Code de retour :\n" " Renvoie le code de succès à moins que N soit négatif ou supérieur à $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4285,7 +4427,7 @@ msgid "" " Returns the status of the last command executed in FILENAME; fails if\n" " FILENAME cannot be read." msgstr "" -"Execute des commandes depuis un fichier dans le shell actuel.\n" +"Exécute des commandes depuis un fichier dans le shell actuel.\n" " \n" " Lit et exécute des commandes depuis NOMFICHIER dans le shell actuel. " "Les\n" @@ -4300,7 +4442,7 @@ msgstr "" "code\n" " d'échec si NOMFICHIER ne peut pas être lu." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4315,7 +4457,7 @@ msgid "" msgstr "" "Suspend l'exécution du shell.\n" " \n" -" Suspend l'exécution de ce shell jusqu'à qu'il reçoive un signal " +" Suspend l'exécution de ce shell jusqu'à ce qu'il reçoive un signal " "SIGCONT.\n" " À moins que ce soit forcé, les shell de connexion ne peuvent pas être " "suspendus.\n" @@ -4325,10 +4467,10 @@ msgstr "" " \n" " Code de retour :\n" " Renvoie le code de succès à moins que le contrôle de tâche ne soit pas " -"activé ou qu'une erreur survienne." +"activé\n" +" ou qu'une erreur survienne." -#: builtins.c:1248 -#, fuzzy +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4392,9 +4534,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4421,80 +4563,86 @@ msgstr "" " Le comportement de test dépend du nombre d'arguments. Consultez la " "page\n" " de manuel de bash pour connaître les spécifications complètes.\n" -". \n" +" \n" " Opérateurs sur des fichiers : \n" " \n" -" -a FICHIER Vrai si le fichier existe.\n" -" -b FICHIER Vrai si le fichier est un fichier spécial de bloc\n" -" -c FICHIER Vrai si le fichier est un fichier spécial de " -"caractères\n" -" -d FICHIER Vrai si le fichier est un répertoire.\n" -" -e FICHIER Vrai si le fichier existe\n" -" -f FICHIER Vrai si le fichier existe et est un fichier régulier\n" -" -g FICHIER Vrai si le fichier est « set-group-id »\n" -" -h FICHIER Vrai si le fichier est un lien symbolique\n" -" -L FICHIER Vrai si le fichier est un lien symbolique\n" -" -k FICHIER Vrai si le fichier a son bit « sticky » défini\n" -" -p FICHIER Vrai si le fichier est un tube nommé\n" -" -r FICHIER Vrai si le fichier est lisible par vous\n" -" -s FICHIER Vrai si le fichier existe et n'est pas vide\n" -" -S FICHIER Vrai si le fichier est un socket\n" -" -t FD Vrai si FD est ouvert sur un terminal\n" -" -u FICHIER Vrai si le fichier est « set-user-id »\n" -" -w FICHIER Vrai si le fichier peut être écrit par vous\n" -" -x FICHIER Vrai si le fichier est exécutable par vous\n" -" -O FICHIER Vrai si le fichier est effectivement possédé par " -"vous\n" -" -G FICHIER Vrai si le fichier est effectivement possédé par " -"votre groupe\n" -" -N FICHIER Vrai si le fichier a été modifié depuis la dernière " -"fois qu'il a été lu\n" -"\n" -" FICHIER1 -nt FICHIER2 Vrai si le fichier1 est plus récent que le " -"fichier2 (selon la date de modification)\n" -" FICHIER1 -ot FICHIER2 Vrai si le fichier1 est plus vieux que le " -"fichier2\n" -" FICHIER1 -ef FICHIER2 Vrai si le fichier1 est un lien physique vers " -"le fichier2\n" +" -a FICHIER Vrai si le fichier existe.\n" +" -b FICHIER Vrai si le fichier est un fichier spécial de bloc.\n" +" -c FICHIER Vrai si le fichier est un fichier spécial de " +"caractères.\n" +" -d FICHIER Vrai si le fichier est un répertoire.\n" +" -e FICHIER Vrai si le fichier existe.\n" +" -f FICHIER Vrai si le fichier existe et est un fichier régulier.\n" +" -g FICHIER Vrai si le fichier est « set-group-id ».\n" +" -h FICHIER Vrai si le fichier est un lien symbolique.\n" +" -L FICHIER Vrai si le fichier est un lien symbolique.\n" +" -k FICHIER Vrai si le fichier a son bit « sticky » défini.\n" +" -p FICHIER Vrai si le fichier est un tube nommé.\n" +" -r FICHIER Vrai si le fichier est lisible par vous.\n" +" -s FICHIER Vrai si le fichier existe et n'est pas vide.\n" +" -S FICHIER Vrai si le fichier est un socket.\n" +" -t FD Vrai si FD est ouvert sur un terminal.\n" +" -u FICHIER Vrai si le fichier est « set-user-id ».\n" +" -w FICHIER Vrai si le fichier peut être écrit par vous.\n" +" -x FICHIER Vrai si le fichier est exécutable par vous.\n" +" -O FICHIER Vrai si le fichier est effectivement possédé par vous.\n" +" -G FICHIER Vrai si le fichier est effectivement possédé par votre " +"groupe.\n" +" -N FICHIER Vrai si le fichier a été modifié depuis la dernière " +"fois qu'il a été lu.\n" +" \n" +" FICHIER1 -nt FICHIER2 Vrai si le fichier1 est plus récent que le " +"fichier2 (selon la date\n" +" de modification).\n" +" \n" +" FICHIER1 -ot FICHIER2 Vrai si le fichier1 est plus vieux que le " +"fichier2.\n" +" \n" +" FICHIER1 -ef FICHIER2 Vrai si le fichier1 est un lien physique vers le " +"fichier2.\n" " \n" " Opérateurs sur des chaînes :\n" " \n" -" -z CHAÎNE Vrai si la chaîne est vide\n" -" -n CHAÎNE\n" -" CHAÎNE Vrai si la chaîne n'est pas vide\n" -" \n" -" CHAÎNE1 = CHAÎNE2\n" -" Vrai si les chaînes sont égales\n" -" CHAÎNE1 != CHAÎNE2\n" -" Vrai si les chaînes ne sont pas égales\n" -" CHAÎNE1 < CHAÎNE2\n" -" Vrai si le tri lexicographique place la chaîne1 en " -"premier\n" -" CHAÎNE1 > CHAÎNE2\n" -" Vrai si le tri lexicographique place la chaîne1 en " -"deuxième\n" +" -z CHAÎNE Vrai si la chaîne est vide.\n" +" \n" +" -n CHAÎNE\n" +" CHAÎNE Vrai si la chaîne n'est pas vide.\n" +" \n" +" CHAÎNE1 = CHAÎNE2\n" +" Vrai si les chaînes sont égales.\n" +" CHAÎNE1 != CHAÎNE2\n" +" Vrai si les chaînes ne sont pas égales.\n" +" CHAÎNE1 < CHAÎNE2\n" +" Vrai si le tri lexicographique place la chaîne1 en " +"premier.\n" +" CHAÎNE1 > CHAÎNE2\n" +" Vrai si le tri lexicographique place la chaîne1 en " +"deuxième.\n" " \n" " Autres opérateurs :\n" " \n" -" -o OPTION Vrai si l'OPTION du shell est activée\n" -" -v VAR\t Vrai si la variable de shell VAR est définie\n" -" ! EXPR Vrai si l'EXPRession est fausse\n" -" EXPR1 -a EXPR2 Vrai si les deux expressions sont vraies\n" -" EXPR1 -o EXPR2 Vrai si l'une des deux expressions est vraie\n" +" -o OPTION Vrai si l'OPTION du shell est activée.\n" +" -v VAR Vrai si la variable de shell VAR est définie.\n" +" -R VAR Vrai is la variable VAR est définie est une référence " +"nommée.\n" +" ! EXPR Vrai si l'EXPRession est fausse.\n" +" EXPR1 -a EXPR2 Vrai si les deux expressions sont vraies.\n" +" EXPR1 -o EXPR2 Vrai si l'une des deux expressions est vraie.\n" " \n" -" arg1 OP arg2 Tests arithmétiques. OP peut être -eq, -ne,\n" -" -lt, -le, -gt ou -ge.\n" +" arg1 OP arg2 Tests arithmétiques. OP peut être -eq, -ne,\n" +" -lt, -le, -gt ou -ge.\n" " \n" " Les opérateurs arithmétiques binaires renvoient « vrai » si ARG1 est " "égal,\n" " non-égal, inférieur, inférieur ou égal, supérieur, supérieur ou égal à " -"ARG2. \n" +"ARG2.\n" +" \n" " Code de sortie :\n" " Renvoie le code de succès si EXPR est vraie, le code d'échec si EXPR est " "fausse ou si\n" " un argument non valable est donné." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4506,7 +4654,7 @@ msgstr "" " Ceci est un synonyme de la primitive « test », mais le dernier argument\n" " doit être le caractère « ] », pour fermer le « [ » correspondant." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4525,7 +4673,7 @@ msgstr "" " Code de retour :\n" " Toujours le code de succès." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4575,11 +4723,11 @@ msgstr "" " ou sous d'autres conditions.\n" " \n" " La commande ARG doit être lue et exécutée lorsque le shell reçoit le\n" -" signal SIGNAL_SPEC. Si ARG est absent (et qu'un unique SIGNAL_SPEC)\n" -" est fourni) ou égal à « - », tous les signaux spécifié sont remis\n" +" signal SIGNAL_SPEC. Si ARG est absent (et qu'un unique SIGNAL_SPEC\n" +" est fourni) ou égal à « - », tous les signaux spécifiés sont remis\n" " à leur valeur d'origine. Si ARG est une chaîne vide, tous les " "SIGNAL_SPEC\n" -" sont ignorés par le shell et les commandes qu'il appelle.\n" +" sont ignorés par le shell et les commandes qu'ils appellent.\n" " \n" " Si SIGNAL_SPEC est EXIT (0), la commande ARG est exécutée à la sortie du " "shell. Si un\n" @@ -4607,9 +4755,10 @@ msgstr "" " \n" " Code de sortie :\n" " Renvoie le code de succès à moins que SIGSPEC ne soit pas valable ou " -"qu'une option non valable ne soit donnée." +"qu'une\n" +" option non valable ne soit donnée." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4618,18 +4767,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4640,38 +4789,40 @@ msgid "" msgstr "" "Affiche des informations sur le type de commande.\n" " \n" -" Pour chaque NOM, indique comment il serait interprêté s'il était\n" +" Pour chaque NOM, indique comment il serait interprété s'il était\n" " utilisé comme un nom de commande.\n" " \n" " Options :\n" " -a\taffiche tous les emplacements contenant un exécutable nommé NOM;\n" -" \tinclut les alias, les commandes intégrées et les fonctions si et " +" \t\ty compris les alias, les commandes intégrées et les fonctions si et " "seulement si\n" -" \tl'option n'est pas « -p » n'est pas utilisée\n" +" \t\tl'option « -p » n'est pas utilisée\n" " -f\tdésactive la recherche de fonctions du shell\n" " -P\tforce une recherche de CHEMIN pour chaque NOM, même si c'est un " "alias,\n" -" \tune commande intégrée ou une fonction et renvoie le nom du fichier du " -"disque\n" -" \tqui serait exécuté\n" -" -p\trenvoie soir le nom du fichier du disque qui serait exécuté,\n" -" \tsoit rien si « type -t NOM » ne renvoyait pas « file ».\n" +" \t\tune commande intégrée ou une fonction et renvoie le nom du fichier " +"du disque\n" +" \t\tqui serait exécuté\n" +" -p\trenvoie le nom du fichier du disque qui serait exécuté sauf si\n" +" \t\t« type -t NOM » aurait renvoyé autre chose que « file » auquel cas, " +"rien\n" +" \t\tn'est renvoyé.\n" " -t\taffiche un mot unique parmi « alias », « keyword »,\n" -" \t« function », « builtin », « file » or « », si NOM est respectivement " -"un alias,\n" -" \tun mot réservé du shell, une fonction du shell, une commande " +" \t\t« function », « builtin », « file » or « », si NOM est respectivement un " +"alias,\n" +" \t\tun mot réservé du shell, une fonction du shell, une commande " "intégrée,\n" -" \tun fichier du disque ou un nom inconnu\n" +" \t\tun fichier du disque ou un nom inconnu\n" " \n" " Arguments :\n" " NOM\tNom de commande à interpréter.\n" " \n" " Code de retour :\n" " Renvoie le code de succès si tous les NOMs sont trouvés, le code d'échec " -"si l'un d'entre eux n'est pas trouvé." +"si l'un\n" +" d'entre eux n'est pas trouvé." -#: builtins.c:1417 -#, fuzzy +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4689,6 +4840,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4700,7 +4852,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4724,8 +4877,8 @@ msgstr "" " qu'il crée, sur les systèmes qui permettent un tel contrôle. \n" " \n" " Options :\n" -" -S\tutiliser la limite de ressources « soft »\n" -" -H\tutiliser la limite de ressources « hard »\n" +" -S\tutilise la limite de ressources « soft »\n" +" -H\tutilise la limite de ressources « hard »\n" " -a\ttoutes les limites actuelles sont présentées\n" " -b\tla taille du tampon de socket\n" " -c\ttaille maximale des fichiers « core » créés\n" @@ -4733,6 +4886,7 @@ msgstr "" " -e\tla priorité maximale d'ordonnancement (« nice »)\n" " -f\tla taille maximale des fichiers écrits par le shell et ses fils\n" " -i\tle nombre maximal de signaux en attente\n" +" -k\tle nombre maximal de kqueues allouées pour ce processus\n" " -l\tla taille maximale qu'un processus peut verrouiller en mémoire\n" " -m\tla taille maximale de « set » résident\n" " -n\tle nombre maximal de descripteurs de fichiers ouverts\n" @@ -4744,9 +4898,14 @@ msgstr "" " -u\tle nombre maximal de processus utilisateurs\n" " -v\tla taille de la mémoire virtuelle\n" " -x\tle nombre maximal de verrous de fichiers\n" +" -P\tle nombre maximal de pseudo terminaux\n" +" -T\tle nombre maximal de threads\n" " \n" +" Toutes les options ne sont pas disponibles sur toutes les plates-" +"formes.\n" +" \n" " Si LIMIT est fournie, elle est utilisée comme nouvelle valeur de " -"ressource\n" +"ressource.\n" " Les valeurs spéciales de LIMIT « soft », « hard » et « unlimited » " "correspondent\n" " respectivement aux valeurs actuelles de la limite souple, de la limite " @@ -4755,17 +4914,18 @@ msgstr "" "affichée\n" " Si aucune option n'est donnée, « -f » est supposée.\n" " \n" -" Les valeurs sont des multiples de 1024 octets, sauf pour « -t » qui " -"prend des secondes,\n" -" « -p » qui prend un multiple de 512 octets et « -u » qui prend un " -"nombre\n" +" Les valeurs sont des multiples de 1024 octets, sauf pour « -t » qui prend " +"des\n" +" secondes, « -p » qui prend un multiple de 512 octets et « -u » qui prend " +"un nombre\n" " de processus sans unité.\n" " \n" " Code de sortie :\n" " Renvoie le code de succès à moins qu'une option non valable ne soit " -"fournie ou qu'une erreur ne survienne." +"fournie ou\n" +" qu'une erreur ne survienne." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4785,26 +4945,25 @@ msgstr "" "Affiche ou définit le masque de mode de fichier.\n" " \n" " Définit le masque de création de fichier comme étant MODE. Si MODE est " -"omis, affiche\n" -" la valeur courante du MASQUE.\n" +"omis,\n" +" affiche la valeur courante du MASQUE.\n" " \n" " Si MODE commence par un chiffre, il est interprété comme un nombre " "octal ;\n" -" sinon comme une chaîne de symboles de mode comme ceux acceptés par " -"chmod(1).\n" +" sinon comme une chaîne de symboles de mode comme ceux acceptés par chmod" +"(1).\n" " \n" " Options :\n" -" -p\tsi MODE est omis, afficher sous une forme réutilisable comme une " -"entrée\n" -" -S\tafficher sous forme symbolique, sinon la sortie octale est " +" -p\tsi MODE est omis, affiche sous une forme réutilisable en entrée\n" +" -S\taffiche sous forme symbolique, sinon la sortie octale est " "utilisée\n" " \n" " Code de retour :\n" -" Renvoie le code de succès à moins que MODE ne soit pas valable ou qu'une " -"option non valable ne soit donnée." +" Renvoie le code de succès à moins que MODE ne soit pas valable ou " +"qu'une\n" +" option non valable ne soit donnée." -#: builtins.c:1485 -#, fuzzy +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4825,22 +4984,26 @@ msgid "" msgstr "" "Attend la fin d'une tâche et renvoie le code de retour.\n" " \n" -" Attend que le processus identifié par ID, qui peut être un ID de " -"processus ou\n" -" une spécification de tâche et renvoie son code de retour. Si ID n'est " -"pas\n" -" donné, la commande attend tous les processus actifs en cours et le code " -"de retour\n" -" est zéro. Si ID est une spécification de tâche, la commande attend tous " -"les processus\n" -" dans le pipeline de la tâche.\n" +" Attend la fin du processus identifié par ID, qui peut être un ID de " +"processus\n" +" ou une spécification de tâche, et renvoie son code de retour. Si ID " +"n'est\n" +" pas donné, la commande attend la fin de tous les processus actifs en " +"cours et\n" +" le code de retour est zéro. Si ID est une spécification de tâche, la " +"commande\n" +" attend tous les processus dans le pipeline de la tâche.\n" +" \n" +" Si l'option -n est fournie, attend la fin de la prochaine tâche et " +"retourne\n" +" son code de retour.\n" " \n" " Code de retour :\n" " Renvoie le même code que celui d'ID, ou le code d'échec si ID n'est pas " -"valable ou en cas d'option non valable." +"valable\n" +" ou en cas d'option non valable." -#: builtins.c:1506 -#, fuzzy +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4856,16 +5019,19 @@ msgid "" msgstr "" "Attend la fin d'un processus et renvoie le code de sortie.\n" " \n" -" Attend le processus spécifié et donne son code de retour. Si PID n'est\n" -" pas donné, tous les processus fils actuellement actifs sont attendus\n" -" et le code de retour est zéro. PID doit être un ID de processus.\n" +" Attend la fin de chaque processus spécifié par un PID et donne son code " +"de\n" +" retour. Si PID n'est pas mentionné, la fin de tous les processus fils\n" +" actuellement actifs est attendue et le code de retour est zéro. PID doit " +"être\n" +" un ID de processus.\n" " \n" " Code de sortie :\n" -" Renvoie le code de ID, l'échec si ID n'est pas valable ou si une option " -"non valable\n" -" est donnée." +" Renvoie le code de retour du dernier PID. Échoue si PID n'est pas " +"valable ou\n" +" si une option non valable est donnée." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4881,15 +5047,14 @@ msgstr "" " \n" " La boucle « for » exécute une suite de commandes pour chaque membre " "d'une\n" -" liste d'éléments. Si « in MOTS ...; » n'est pas fourni, « in \"$@\" » " -"est\n" +" liste d'éléments. Si « in MOTS ...; » n'est pas fourni, « in \"$@\" » est\n" " utilisé. Pour chaque élément dans MOTS, NOM est défini à cet élément,\n" " et les COMMANDES sont exécutées.\n" " \n" " Code de sortie :\n" " Renvoie le code de la dernière commande exécutée." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4915,12 +5080,12 @@ msgstr "" " \tdone\n" " EXP1, EXP2, and EXP3 sont des expressions arithmétiques. Si une " "expression\n" -" omise, elle se comporte comme si elle s'évaluait à 1.\n" +" est omise, elle se comporte comme si elle était évaluée à 1.\n" " \n" " Code de sortie :\n" " Renvoie le code de la dernière commande exécutée." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4956,7 +5121,7 @@ msgstr "" " Code de sortie :\n" " Renvoie le code de la dernière commande exécutée." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4987,7 +5152,7 @@ msgstr "" " Code de sortie :\n" " Le code de retour est celui du PIPELINE." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -5007,7 +5172,7 @@ msgstr "" " Code de sortie :\n" " Renvoie le code de la dernière commande exécutée." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -5029,14 +5194,14 @@ msgid "" msgstr "" "Exécute des commandes selon une condition.\n" " \n" -" La liste « if COMMANDES » est exécutée. Si elle se termine avec un code " -"de zéro,\n" +" La liste « if COMMANDES » est exécutée. Si elle se termine avec le code " +"zéro,\n" " alors la liste « then COMMANDES » est exécutée. Sinon, chaque liste\n" " « elif COMMANDES » est exécutée à son tour et si son code de retour est " "zéro,\n" " la liste « then COMMANDES » correspondante est exécutée et la commande « " "if »\n" -" se termine. Sinon, la list « else COMMANDES » est exécutée si elle " +" se termine. Sinon, la liste « else COMMANDES » est exécutée si elle " "existe.\n" " Le code de retour de l'ensemble est celui de la dernière commande " "exécutée\n" @@ -5045,7 +5210,7 @@ msgstr "" " Code de sortie :\n" " Renvoie le code de la dernière commande exécutée." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -5055,17 +5220,16 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" -"Exécute des commandes aussi longtemps qu'elle réussissent.\n" +"Exécute des commandes aussi longtemps qu'elles réussissent.\n" " \n" " Effectue une expansion et exécute les COMMANDES aussi longtemps\n" -" que la commande finale parmi celles situées dans « while » se termine " -"avec un\n" -" code de retour de zéro.\n" +" que la commande finale du « while » se termine avec un code de\n" +" retour à zéro.\n" " \n" " Code de sortie :\n" " Renvoie le code de la dernière commande exécutée." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -5077,15 +5241,15 @@ msgid "" msgstr "" "Exécute des commandes aussi longtemps qu'un test échoue.\n" " \n" -" Effectue une expansion et exécute les commandes « COMMANDES » aussi " -"longtemps\n" -" que les commandes de « until » se terminent avec un code de retour\n" -" différent de zéro.\n" +" Effectue une expansion et exécute les commandes « COMMANDES »\n" +" aussi longtemps que les commandes de « until » se terminent avec\n" +" un code de retour différent de zéro.\n" " \n" " Code de sortie :\n" " Renvoie le code de la dernière commande exécutée." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -5095,21 +5259,20 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Crée un coprocessus nommé NOM.\n" " \n" -" Exécute la COMMANDE de manière asynchrone, en connectant la sortie et " -"l'entrée standard\n" -" de la commande par un tube aux decripteurs de fichier affectés aux " -"indices 0 et 1\n" -" d'une variable tableau NOM dans le shell en cours d'exécution.\n" -" Le NOM par défaut est « COPROC ».\n" +" Exécute la COMMANDE de manière asynchrone, en connectant la sortie et\n" +" l'entrée standard de la commande par un tube aux descripteurs de " +"fichiers\n" +" affectés aux indices 0 et 1 d'une variable tableau NOM dans le shell en\n" +" cours d'exécution. Le NOM par défaut est « COPROC ».\n" " \n" " Code de retour :\n" " Renvoie le même code de retour que la COMMANDE." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -5135,7 +5298,7 @@ msgstr "" " Code de retour :\n" " Renvoie le code de succès à moins que NOM ne soit en lecture seule." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -5153,7 +5316,7 @@ msgstr "" " Code de sortie :\n" " Renvoie le code de la dernière commande exécutée." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -5171,8 +5334,7 @@ msgstr "" " Équivalent à l'argument JOB_SPEC de la commande « fg ». Reprend " "l'exécution\n" " d'une tâche stoppée ou en tâche de fond. JOB_SPEC peut spécifier soit\n" -" un nom soit un numéro de tâche. Faire suivre JOB_SPEC de « & » permet " -"de\n" +" un nom soit un numéro de tâche. Faire suivre JOB_SPEC de « & » permet de\n" " placer la tâche en arrière plan, comme si la spécification de tâche " "avait\n" " été fournie comme argument de « bg ».\n" @@ -5180,7 +5342,7 @@ msgstr "" " Code de sortie :\n" " Renvoie le code de la commande reprise." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -5192,13 +5354,13 @@ msgid "" msgstr "" "Évalue une expression arithmétique.\n" " \n" -" L'EXPRESSION est évaluée selon les règles de l'évaluation arithmétique.\n" +" L'EXPRESSION est évaluée selon les règles d'évaluation arithmétique.\n" " C'est équivalent à « let EXPRESSION ».\n" " \n" " Code de sortie :\n" " Renvoie 1 si EXPRESSION est évaluée à 0, sinon renvoie 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5227,7 +5389,7 @@ msgid "" msgstr "" "Exécute une commande conditionnelle.\n" " \n" -" Renvoie un code de retour de 0 ou 1 dépendant de l'évaluation de " +" Renvoie le code de retour 0 ou 1 dépendant de l'évaluation de " "l'EXPRESSION\n" " conditionnelle. Les expressions sont formées de la même façon que pour " "la\n" @@ -5239,9 +5401,10 @@ msgstr "" " \tEXPR1 && EXPR2\tVrai si EXPR1 et EXPR2 sont vraies, faux sinon\n" " \tEXPR1 || EXPR2\tVrai si EXPR1 ou EXPR2 est vraie, faux sinon\n" " \n" -" Lorsque les opérateurs « == » et « != » sont utilisés, la chaîne à " -"droite de l'opérateur\n" -" est utilisée comme motif, et une mise en correspondance est effectuée.\n" +" Lorsque les opérateurs « == » et « != » sont utilisés, la chaîne à droite " +"de\n" +" l'opérateur est utilisée comme motif, et une mise en correspondance est " +"effectuée.\n" " Lorsque l'opérateur « =~ » est utilisé, la chaîne à droite de " "l'opérateur\n" " est mise en correspondance comme une expression rationnelle.\n" @@ -5252,7 +5415,7 @@ msgstr "" " Code de sortie :\n" " 0 ou 1 selon la valeur de l'EXPRESSION." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5312,7 +5475,7 @@ msgstr "" " \t\tpar « cd » pour la recherche de répertoires.\n" " GLOBIGNORE\tUne liste de motifs séparés par un deux-points, décrivant " "les\n" -" \t\tnoms de fichier à ignorer lors de l'expansion des chemins.\n" +" \t\tnoms de fichiers à ignorer lors de l'expansion des chemins.\n" " HISTFILE\tLe nom du fichier où votre historique des commandes est " "stocké.\n" " HISTFILESIZE\tLe nombre maximal de lignes que ce fichier peut contenir.\n" @@ -5320,10 +5483,10 @@ msgstr "" " \t\tfonctionnement peut accéder.\n" " HOME\tLe chemin complet vers votre répertoire de connexion.\n" " HOSTNAME\tLe nom de la machine actuelle.\n" -" HOSTTYPE\tLe type de processeur sur laquelle cette version de Bash " +" HOSTTYPE\tLe type de processeur sur lequel cette version de Bash " "fonctionne.\n" -" IGNOREEOF\tContrôle l'action du shell à la réception d'un caractère « " -"EOF »\n" +" IGNOREEOF\tContrôle l'action du shell à la réception d'un caractère « EOF " +"»\n" " \t\tcomme seule entrée. Si défini, sa valeur est le nombre de " "caractères\n" " \t\t« EOF » qui peuvent être rencontrés à la suite sur une ligne vide\n" @@ -5342,7 +5505,7 @@ msgstr "" " \t\tpour la recherche des commandes.\n" " PROMPT_COMMAND\tUne commande à exécuter avant d'afficher chaque invite\n" " \t\tde commande principale.\n" -" PS1\t\tL'invite de commande principale.\n" +" PS1\t\tL'invite de commande principal.\n" " PS2\t\tL'invite secondaire.\n" " PWD\t\tLe chemin complet vers le répertoire actuel.\n" " SHELLOPTS\tLa liste des options activées du shell, séparées par un deux-" @@ -5355,14 +5518,15 @@ msgstr "" " \t\tde lui-même sur une ligne est d'abord recherché dans la liste des\n" " \t\ttâches stoppées. Si elle est trouvée, la tâche est remise en avant-" "plan.\n" -" \t\tUne valeur de « exact » signifie que le mot de commande doit " +" \t\tLa valeur « exact » signifie que le mot de commande doit " "correspondre\n" -" \t\texactement à la commande dans la liste des tâches stoppées. Une " +" \t\texactement à la commande dans la liste des tâches stoppées. La " "valeur\n" -" \t\tde « substring » signifie que le mot de commande\n" -" \t\tcorrespondre à une sous-chaîne de la tâche. Une autre valeur " -"signifie\n" -" \t\tque la commande doit être un préfixe d'une tâche stoppée.\n" +" \t\t« substring » signifie que le mot de commande doit correspondre à " +"une\n" +" \t\tsous-chaîne de la tâche. Une autre valeur signifie que la commande " +"doit\n" +" \t\têtre un préfixe d'une tâche stoppée.\n" " histchars\tCaractères contrôlant l'expansion d'historique et la " "substitution\n" " \t\trapide. Le premier caractère est le caractère de substitution " @@ -5376,7 +5540,7 @@ msgstr "" " \t\tdécider quelles commandes doivent être conservées dans la liste " "d'historique.\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5386,19 +5550,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5414,21 +5578,23 @@ msgstr "" " répertoires en haut de la pile sont échangés.\n" " \n" " Options :\n" -" -n\tne pas changer de répertoire de travail lorsque des répertoires\n" -" \tsont ajoutés à la pile, de façon que seule la pile soit manipulée\n" +" -n\tNe change pas de répertoire de travail lorsque des répertoires\n" +" \t\tsont ajoutés à la pile, de façon que seule la pile soit manipulée\n" " \n" " Arguments :\n" -" +N\tPermuter la pile de façon que le Nième répertoire se place en haut,\n" -" \ten comptant de zéro depuis la gauche de la liste fournie par « dirs " +" +N\tPermute la pile de façon que le Nième répertoire se place en " +"haut,\n" +" \t\ten comptant de zéro depuis la gauche de la liste fournie par « dirs " "».\n" " \n" -" -N\tPermuter la pile de façon que le Nième répertoire se place en haut,\n" -" \ten comptant de zéro depuis la droite de la liste fournie par « dirs " +" -N\tPermute la pile de façon que le Nième répertoire se place en " +"haut,\n" +" \t\ten comptant de zéro depuis la droite de la liste fournie par « dirs " "».\n" " \n" -" dir\tajouter le répertoire DIR en haut de la pile, et en faire le " +" dir\tAjoute le répertoire DIR en haut de la pile, et en fait le " "nouveau\n" -" \trépertoire de travail.\n" +" \t\trépertoire de travail.\n" " \n" " Vous pouvez voir la pile des répertoires avec la commande « dirs ».\n" " \n" @@ -5437,7 +5603,7 @@ msgstr "" "fourni\n" " ou que le changement de répertoire n'échoue." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5446,16 +5612,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5466,20 +5632,22 @@ msgstr "" "Enlève des répertoires de la pile.\n" " \n" " Enlève des éléments de la pile des répertoires. S'il n'y a pas\n" -" d'argument, le répertoire en haut de la pile est enlevé,\n" -" et le nouveau sommet de la pile devient le répertoire de travail.\n" +" d'argument, le répertoire en haut de la pile est enlevé et le\n" +" nouveau sommet de la pile devient le répertoire de travail.\n" " \n" " Options :\n" -" -n\tne change pas de répertoire de travail lorsque des répertoires\n" -" \tsont enlevés de la pile, de façon que seule la pile soit manipulée\n" +" -n\tNe change pas de répertoire de travail lorsque des répertoires\n" +" \t\tsont enlevés de la pile, de façon que seule la pile soit manipulée\n" " \n" " Arguments :\n" -" +N\tEnlève le Nième répertoire, en comptant de zéro depuis la gauche\n" -" \tde la liste fournie par « dirs ». Par exemple : « popd +0 »\n" -" \tenlève le premier répertoire, « popd +1 » le deuxième. \n" -" -N\tEnlève le Nième répertoire, en comptant de zéro depuis la droite\n" -" \tde la liste fournie par « dirs ». Par exemple : « popd -0 »\n" -" \tenlève le dernier répertoire, « popd -1 » l'avant-dernier.\n" +" +N\tEnlève le Nième répertoire, en comptant de zéro depuis la gauche\n" +" \t\tde la liste fournie par « dirs ». Par exemple : « popd +0 »\n" +" \t\tenlève le premier répertoire, « popd +1 » le deuxième.\n" +" \n" +" -N\tEnlève le Nième répertoire, en comptant de zéro depuis la droite\n" +" \t\tde la liste fournie par « dirs ». Par exemple : « popd -0 »\n" +" \t\tenlève le dernier répertoire, « popd -1 » l'avant-dernier.\n" +" \n" " Vous pouvez voir la pile des répertoires avec la commande « dirs ».\n" " \n" " Code de sortie :\n" @@ -5487,7 +5655,7 @@ msgstr "" "donné\n" " ou que le changement de répertoire n'échoue." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5498,19 +5666,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5519,32 +5687,34 @@ msgstr "" " \n" " Affiche la liste des répertoires actuellement mémorisés. Les " "répertoires\n" -" sont insérés dans la liste avec la commande « pushd ». Vous pouvez " +" sont insérés dans la liste avec la commande « pushd ». Vous pouvez " "remonter\n" -" dans la liste en enlevant des éléments avec la commande « popd ».\n" +" dans la liste en enlevant des éléments avec la commande « popd ».\n" " \n" " Options:\n" -" -c\teffacer la pile des répertoires en effaçant tous les éléments\n" -" -l\tne pas afficher la version raccourcie (avec ~) des répertoires\n" -" \trelativement à votre dossier personnel\n" -" -p\tafficher la pile des répertoires avec un élément par ligne\n" -" -v\tafficher la pile des répertoires avec un élément par ligne,\n" -" \ten préfixant avec sa position dans la pile\n" +" -c\tefface la pile des répertoires en effaçant tous les éléments\n" +" -l\tn'affiche pas la version raccourcie (avec ~) des répertoires\n" +" \t\trelativement à votre dossier personnel\n" +" -p\taffiche la pile des répertoires avec un élément par ligne\n" +" -v\taffiche la pile des répertoires avec un élément par ligne,\n" +" \t\ten préfixant avec sa position dans la pile\n" " \n" " Arguments :\n" -" +N\t affiche le Nième élément en comptant de zéro depuis la gauche de " +" +N\tAffiche le Nième élément en comptant de zéro depuis la gauche de " "la\n" -" liste affichée par « dirs » lorsque celle-ci est appelée sans option.\n" +" \t\tliste affichée par « dirs » lorsque celle-ci est appelée sans " +"option.\n" " \n" -" -N\t affiche le Nième élément en comptant de zéro depuis la droite de " +" -N\tAffiche le Nième élément en comptant de zéro depuis la droite de " "la\n" -" liste affichée par « dirs » lorsque celle-ci est appelée sans option.\n" +" \t\tliste affichée par « dirs » lorsque celle-ci est appelée sans " +"option.\n" " \n" " Code de sortie :\n" -" Renvoie le code de succès à moins qu'une option non valable ne soit " -"fournie ou qu'une erreur ne survienne." +" Renvoie le code de succès à moins qu'une option non valable ne soit\n" +" fournie ou qu'une erreur ne survienne." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5567,10 +5737,10 @@ msgstr "" "Active ou désactive des options du shell.\n" " \n" " Change la valeur de chaque option du shell NOMOPT. S'il n'y a pas " -"d'argument à l'option\n" -" la commande liste toutes les options du shell en indiquant si elles sont " -"actives\n" -" ou non.\n" +"d'argument\n" +" à l'option, la commande liste toutes les options du shell en indiquant " +"si\n" +" elles sont actives ou non.\n" " \n" " Options :\n" " -o\trestreint les NOMOPT à ceux définis pour être utilisés avec « set -" @@ -5585,8 +5755,7 @@ msgstr "" "valable\n" " est donnée ou si NOMOPT est inactive." -#: builtins.c:1908 -#, fuzzy +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5603,15 +5772,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5624,7 +5793,7 @@ msgid "" "assignment\n" " error occurs." msgstr "" -"Formatte et affiche des ARGUMENTS en contrôlant le FORMAT.\n" +"Formate et affiche des ARGUMENTS en contrôlant le FORMAT.\n" " \n" " Options :\n" " -v var\taffecte la sortie à la variable VAR du shell plutôt que de " @@ -5633,30 +5802,38 @@ msgstr "" " \n" " Le FORMAT est une chaîne de caractères qui contient trois types " "d'objets : des caractères\n" -" normaux qui sont simplement copiés vers la sortie standard, des " +" normaux qui sont simplement copiés vers la sortie standard ; des " "séquences d'échappement\n" " qui sont converties et copiées vers la sortie standard et des " "spécifications de\n" " format, chacun entraînant l'affichage de l'argument suivant.\n" " \n" -" En plus des formats standards décrits dans printf(1) et printf(3), « " -"printf » interprète :\n" +" En plus des formats standards décrits dans printf(1), « printf » " +"interprète :\n" " \n" " %b\tdéveloppe les séquences d'échappement à contre-oblique dans " "l'argument correspondant\n" -" %q\tprotège les arguments par guillemets de façon qu'ils puissent être " -"réutilisés\n" +" %q\tprotège les arguments avec des guillemets de façon qu'ils puissent " +"être réutilisés\n" " comme entrée du shell.\n" -" %(fmt)T renvoie la chaîne date-heure résultant de l'utilisation de FMT " -"comme une\n" -" chaîne de format pour strftime(3)\n" +" %(fmt)T\trenvoie la chaîne date-heure résultant de l'utilisation de " +"FMT comme\n" +" \t chaîne de format pour strftime(3)\n" +" \n" +" Le format est réutilisé si nécessaire pour consommer tous les arguments. " +"Si il y a\n" +" moins d'arguments que exigé par le format, les spécificateurs de format " +"surnuméraires\n" +" se comportent comme si la valeur zéro ou une chaîne nulle avait été " +"fournie (selon\n" +" ce qui est approprié).\n" " \n" " Code de sortie :\n" " Renvoie le code de succès à moins qu'une option non valable ne soit " "donnée ou qu'une\n" " erreur d'écriture ou d'affectation ne survienne." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5669,11 +5846,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5686,33 +5863,33 @@ msgstr "" " \n" " Pour chaque NOM, la commande spécifie la façon dont les arguments son " "complétés\n" -" S'il n'y a pas d'option, le réglage actuel est affiché d'une manièré " -"réutilisable comme\n" -" une entrée.\n" +" S'il n'y a pas d'option, le réglage actuel est affiché d'une manière\n" +" réutilisable comme une entrée.\n" " \n" " Options :\n" " -p\taffiche le réglage d'auto-complètement actuel dans un format " "réutilisable\n" -" -r\tretire un réglage d'auto-complètement à chaque NOM ou, si aucun " +" -r\tretire un réglage d'auto-complètement de chaque NOM ou, si aucun " "NOM\n" -" \tn'est fourni, retire tous les réglages\n" +" \t\tn'est fourni, retire tous les réglages\n" " -D\tapplique les auto-complètements et actions comme valeurs par " -"défaut aux commandes\n" -" \tne possédant aucun auto-complètement spécifique\n" -" -E\tapplique les auto-complètements et actions aux commandes vides (\n" -" \tauto-complètement tenté sur une ligne vide)\n" +"défaut aux\n" +" \t\tcommandes ne possédant aucun auto-complètement spécifique\n" +" -E\tapplique les auto-complètements et actions aux commandes vides\n" +" \t\t(auto-complètement tenté sur une ligne vide)\n" " \n" " Lorsqu'un auto-complètement est tenté, les actions sont appliquées dans " "l'ordre\n" -" dans lequel les options en majuscule ci-dessus sont listées. L'option « " -"-D » est prioritaire\n" -" sur « -E ».\n" +" dans lequel les options en majuscule ci-dessus sont listées. L'option « -" +"D » est\n" +" prioritaire sur « -E ».\n" " \n" " Code de retour :\n" " Renvoie le code de succès à moins qu'une option non valable ne soit " -"fournie ou qu'une erreur ne survienne." +"fournie ou\n" +" qu'une erreur ne survienne." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5728,13 +5905,13 @@ msgstr "" " \n" " Ceci est destiné à être utilisé depuis une fonction de shell générant\n" " des auto-complètements possibles. Si le MOT optionnel est fourni,\n" -" des correspondances avec « WORD » sont générées.\n" +" des correspondances avec « MOT » sont générées.\n" " \n" " Code de sortie :\n" -" Renvoie le code de succès à moins qu'une option non valable ne soit " -"fournie ou qu'une erreur ne survienne." +" Renvoie le code de succès à moins qu'une option non valable ne soit\n" +" fournie ou qu'une erreur ne survienne." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5767,18 +5944,18 @@ msgstr "" "Modifie ou affiche les options d'auto-complètement.\n" " \n" " Modifie les options d'auto-complètement pour chaque NOM ou, si aucun NOM " -"n'est fourni,\n" -" pour l'auto-complètement actuellement exécuté. si aucune OPTION n'est " -"donnée, affiche\n" -" les options d'auto-complètement de chaque NOM ou le réglage actuel " -"d'auto-complètement.\n" +"n'est\n" +" fourni, pour l'auto-complètement actuellement exécuté. Si aucune OPTION " +"n'est\n" +" donnée, affiche les options d'auto-complètement de chaque NOM ou le " +"réglage\n" +" actuel d'auto-complètement.\n" " \n" " Options :\n" -" \t-o option\tDéfinir l'option d'auto-complètement OPTION pour chaque " -"NOM\n" -" \t-D\t\tChanger les options pour l'auto-complètement de commande par " +" \t-o option\tDéfini l'option d'auto-complètement OPTION pour chaque NOM\n" +" \t-D\t\tChange les options pour l'auto-complètement de commande par " "défaut\n" -" \t-E\t\tChanger les options pour l'auto-complètement de commande vide\n" +" \t-E\t\tChange les options pour l'auto-complètement de commande vide\n" " \n" " Utiliser « +o » au lieu de « -o » désactive l'option spécifiée.\n" " \n" @@ -5786,20 +5963,20 @@ msgstr "" " \n" " Chaque NOM correspond à une commande pour laquelle un réglage d'auto-" "complètement\n" -" doit déjà avoir été défini grâce à la commande intégrée « complete ». " -"Si aucun NOM\n" -" n'est fourni, « compopt » doit être appelée par une fonction générant " -"actuellement\n" +" doit déjà avoir été défini grâce à la commande intégrée « complete ». Si " +"aucun\n" +" NOM n'est fourni, « compopt » doit être appelée par une fonction " +"générant\n" " des auto-complètements ; ainsi les options de ce générateur d'auto-" -"complètement en cours d'exécution\n" -" seront modifiées.\n" +"complètement\n" +" en cours d'exécution seront modifiées.\n" " \n" " Code de retour :\n" " Renvoie le code de succès à moins qu'une option non valable ne soit " "fournie\n" " ou que NOM n'ait aucun réglage d'auto-complètement." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5810,20 +5987,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5844,42 +6022,44 @@ msgstr "" " Lit des lignes depuis l'entrée standard vers la variable tableau indexé " "TABLEAU ou\n" " depuis le descripteur de fichier FD si l'option « -u » est utilisée. La " -"variable MAPFILE\n" -" est le TABLEAU par défaut.\n" +"variable\n" +" MAPFILE est le TABLEAU par défaut.\n" " \n" " Options :\n" +" -d delim\tUtilise DELIM pour terminer les lignes au lieu du saut de " +"ligne\n" " -n nombre\tCopie au maximum NOMBRE lignes. Si NOMBRE est 0, toutes " "les lignes sont copiées.\n" " -O origine\tCommence l'affectation au TABLEAU à l'indice ORIGINE. " "L'indice par défaut est 0.\n" " -s nombre\tSaute les NOMBRE premières lignes lues.\n" -" -t\t\tRetire les retours à la ligne de chaque ligne lue.\n" -" -u fd\t\tLit les lignes depuis le descripteur de fichier FD au lieu de " +" -t\tRetire les retours à la ligne de chaque ligne lue.\n" +" -u fd\tLit les lignes depuis le descripteur de fichier FD au lieu de " "l'entrée standard.\n" -" -C callback\tÉvalue le CALLBACK à chaque fois que QUANTUM lignes sont " +" -C callback\tÉvalue CALLBACK à chaque fois que QUANTUM lignes sont " "lues.\n" " -c quantum\tIndique le nombre de lignes lues entre chaque appel au " "CALLBACK.\n" " \n" " Arguments :\n" -" TABLEAU\t\tNom de la variable tableau à utiliser pour les données.\n" +" TABLEAU\tNom de la variable tableau à utiliser pour les données.\n" " \n" " Si l'option « -C » est fournie sans option « -c », le quantum par défaut " -"est 5000. Lorsque\n" -" CALLBACK est évalué, l'indice du prochain élément de tableau qui sera " -"affecté\n" +"est 5000.\n" +" Lorsque CALLBACK est évalué, l'indice du prochain élément de tableau qui " +"sera affecté\n" " lui est transmis comme argument additionnel.\n" " \n" -" Si la commande « mapfile » n'est pas fournie avec une origine explicite, " -"le tableau est vidé\n" -" avant affectation.\n" +" Si la commande « mapfile » n'est pas appelée avec une origine explicite, " +"le tableau est\n" +" vidé avant affectation.\n" " \n" " code de retour :\n" " Renvoie le code de succès à moins qu'une option non valable ne soit " "donnée ou que\n" " le TABLEAU soit en lecture seule ou ne soit pas un tableau indexé." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5889,6 +6069,24 @@ msgstr "" " \n" " Synonyme de « mapfile »." +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2014 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2012 Free Software Foundation, Inc." + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Copyright (C) 2009 Free Software Foundation, Inc.\n" @@ -5973,8 +6171,8 @@ msgstr "" #~ msgid "that `~/bin' might be displayed as `/homes/bfox/bin'. The -v flag" #~ msgstr "" -#~ "le répertoire « ~/bin » pourra être affiché « /homes/bfox/bin ». L'option " -#~ "« -v »" +#~ "le répertoire « ~/bin » pourra être affiché « /homes/bfox/bin ». L'option « -" +#~ "v »" #~ msgid "causes `dirs' to print the directory stack with one entry per line," #~ msgstr "demande à « dirs » d'afficher un répertoire de la pile par ligne," @@ -5982,8 +6180,8 @@ msgstr "" #~ msgid "" #~ "prepending the directory name with its position in the stack. The -p" #~ msgstr "" -#~ "en le précédant de sa position dans la pile. L'option « -p » fait la " -#~ "même chose" +#~ "en le précédant de sa position dans la pile. L'option « -p » fait la même " +#~ "chose" #~ msgid "flag does the same thing, but the stack position is not prepended." #~ msgstr "sans afficher le numéro d'emplacement dans la pile." @@ -5991,8 +6189,7 @@ msgstr "" #~ msgid "" #~ "The -c flag clears the directory stack by deleting all of the elements." #~ msgstr "" -#~ "L'option « -c » vide la pile des répertoires en retirant tous ses " -#~ "éléments." +#~ "L'option « -c » vide la pile des répertoires en retirant tous ses éléments." #~ msgid "" #~ "+N displays the Nth entry counting from the left of the list shown by" @@ -6052,8 +6249,7 @@ msgstr "" #~ msgid "dir adds DIR to the directory stack at the top, making it the" #~ msgstr "" -#~ "dir ajoute « DIR » au dessus de la pile des répertoires, en faisant de " -#~ "lui" +#~ "dir ajoute « DIR » au dessus de la pile des répertoires, en faisant de lui" #~ msgid " new current working directory." #~ msgstr " le nouveau répertoire courant." @@ -6069,9 +6265,6 @@ msgstr "" #~ msgid "removes the top directory from the stack, and cd's to the new" #~ msgstr "le répertoire supérieur de la pile est enlevé et un changement de" -#~ msgid "top directory." -#~ msgstr "de répertoire se fait vers le nouveau répertoire supérieur." - #~ msgid "+N removes the Nth entry counting from the left of the list" #~ msgstr "+N enlève le Nième élément en commençant à zéro à gauche" @@ -6172,12 +6365,12 @@ msgstr "" #~ "shell. Si vous\n" #~ " avez défini une fonction de shell appelée « ls » et que vous voulez " #~ "appeler\n" -#~ " la commande « ls », vous pouvez faire « command ls ». Si l'option « -" -#~ "p » est\n" +#~ " la commande « ls », vous pouvez faire « command ls ». Si l'option « -p " +#~ "» est\n" #~ " donnée, une valeur par défaut est utilisée pour le PATH garantissant " #~ "que tous\n" -#~ " les utilitaires standards seront trouvés. Si l'option « -V » ou « -v " -#~ "» est\n" +#~ " les utilitaires standards seront trouvés. Si l'option « -V » ou « -v » " +#~ "est\n" #~ " donnée, une description de la commande s'affiche. L'option « -V » " #~ "fournit plus\n" #~ " d'informations." @@ -6288,12 +6481,12 @@ msgstr "" #~ "chargement\n" #~ " dynamique, l'option « -f » peut être utilisée pour charger de " #~ "nouvelles primitives\n" -#~ " depuis l'objet partagé FILENAME. L'option « -d » efface une " -#~ "primitive précédemment\n" +#~ " depuis l'objet partagé FILENAME. L'option « -d » efface une primitive " +#~ "précédemment\n" #~ " chargée avec « -f ». Si aucun nom (n'étant pas une option) n'est " #~ "donné, ou si l'option\n" -#~ " « -p » est spécifiée, une liste de primitive est affichée. L'option " -#~ "« -a » permet d'afficher\n" +#~ " « -p » est spécifiée, une liste de primitive est affichée. L'option « -" +#~ "a » permet d'afficher\n" #~ " toutes les primitives en précisant si elles sont activées ou non. " #~ "L'option « -s » restreint\n" #~ " la sortie aux primitives « special » POSIX.2. L'option « -n » affiche " @@ -6354,10 +6547,10 @@ msgstr "" #~ "complet\n" #~ " pour NAME, et aucune recherche n'est effectuée. L'option « -r » " #~ "demande au shell\n" -#~ " d'oublier tous les chemins mémorisés. L'option « -d » demande au " -#~ "shell d'oublier\n" -#~ " les chemins mémorisés pour le NAME. Si l'option « -t » est fournie, " -#~ "le chemin\n" +#~ " d'oublier tous les chemins mémorisés. L'option « -d » demande au shell " +#~ "d'oublier\n" +#~ " les chemins mémorisés pour le NAME. Si l'option « -t » est fournie, le " +#~ "chemin\n" #~ " complet auquel correspond chaque NAME est affiché. Si plusieurs NAME " #~ "sont fournis\n" #~ " à l'option « -t », le NAME est affiché avant chemin complet haché. " @@ -6394,14 +6587,14 @@ msgstr "" #~ msgstr "" #~ "Par défaut, enlève tous les arguments JOBSPEC de la table des tâches " #~ "actives.\n" -#~ " Si l'option « -h » est fournie, la tâche n'est pas retirée de la " -#~ "table mais\n" +#~ " Si l'option « -h » est fournie, la tâche n'est pas retirée de la table " +#~ "mais\n" #~ " est marquée de telle sorte que le signal SIGHUP ne lui soit pas " #~ "envoyé quand\n" #~ " le shell reçoit un SIGHUP. Lorsque JOBSPEC n'est pas fournie, " #~ "l'option « -a »,\n" -#~ " permet d'enlever toutes les tâches de la table des tâches. L'option « " -#~ "-r »\n" +#~ " permet d'enlever toutes les tâches de la table des tâches. L'option « -" +#~ "r »\n" #~ " indique de ne retirer que les tâches en cours de fonctionnement." #~ msgid "" @@ -6453,8 +6646,8 @@ msgstr "" #~ "reconnus comme\n" #~ " étant des délimiteurs de mots. Si aucun NAME n'est fourni, la ligne " #~ "est conservée\n" -#~ " dans la variable REPLY. L'option « -r » signifie « entrée brute » et " -#~ "la neutralisation \n" +#~ " dans la variable REPLY. L'option « -r » signifie « entrée brute » et la " +#~ "neutralisation \n" #~ " par barre oblique inverse est désactivée. L'option « -d » indique de " #~ "continuer\" la lecture jusqu'à ce que le premier caractère de DELIM " #~ "soit lu plutôt que\n" @@ -6464,16 +6657,16 @@ msgstr "" #~ "est fourni,\n" #~ " les mots lus sont affectés en séquence aux indices du TABLEAU, en " #~ "commençant\n" -#~ " à zéro. Si « -e » est fourni et que le shell est interactif, « " -#~ "readline » est\n" +#~ " à zéro. Si « -e » est fourni et que le shell est interactif, « readline " +#~ "» est\n" #~ " utilisé pour obtenir la ligne. Si « -n » est fourni avec un argument " #~ "NCHARS non nul,\n" -#~ " « read » se termine après que NCHARS caractères ont été lus. L'option " -#~ "« -s »\n" +#~ " « read » se termine après que NCHARS caractères ont été lus. L'option « " +#~ "-s »\n" #~ " permet aux données venant d'un terminal de ne pas être répétées.\n" #~ " \n" -#~ " L'option « -t » permet à « read » de se terminer avec une erreur si " -#~ "une ligne\n" +#~ " L'option « -t » permet à « read » de se terminer avec une erreur si une " +#~ "ligne\n" #~ " entière de données ne lui a pas été fournie avant le DÉLAI " #~ "d'expiration. Si la\n" #~ " variable TMOUT est définie, sa valeur est le délai d'expiration par " @@ -6521,8 +6714,7 @@ msgstr "" #~ "Les NAME sont marqués pour export automatique vers l'environnement des\n" #~ " prochaines commandes exécutées. si l'option « -f » est donnée, les " #~ "NAME\n" -#~ " se rapportent à des fonctions. Si aucun NAME n'est donné ou si « -p " -#~ "»\n" +#~ " se rapportent à des fonctions. Si aucun NAME n'est donné ou si « -p »\n" #~ " est fourni, la liste de tous les NAME exportés dans ce shell " #~ "s'affiche.\n" #~ " L'argument « -n » permet de supprimer la propriété d'export des NAME " @@ -6548,8 +6740,8 @@ msgstr "" #~ "aucun\n" #~ " argument n'est donné ou si « -p » est fourni, la liste de tous les " #~ "noms\n" -#~ " en lecture seule est affichée. L'option « -a » indique de traiter " -#~ "tous les\n" +#~ " en lecture seule est affichée. L'option « -a » indique de traiter tous " +#~ "les\n" #~ " NAME comme des variables tableaux. L'argument « -- » désactive le " #~ "traitement\n" #~ " des option suivantes." @@ -6612,10 +6804,8 @@ msgstr "" #~ "un\n" #~ " nom de commande.\n" #~ " \n" -#~ " Si l'option « -t » est utilisée, « type » affiche un simple mot " -#~ "parmi\n" -#~ " « alias », « keyword », « function », « builtin », « file » ou « », " -#~ "si\n" +#~ " Si l'option « -t » est utilisée, « type » affiche un simple mot parmi\n" +#~ " « alias », « keyword », « function », « builtin », « file » ou « », si\n" #~ " NAME est respectivement un alias, un mot réservé du shell, une " #~ "fonction\n" #~ " du shell, une primitive, un fichier du disque, ou s'il est inconnu.\n" @@ -6628,8 +6818,8 @@ msgstr "" #~ " \n" #~ " Si « -a » est utilisé, « type » affiche tous les emplacements qui " #~ "contiennent\n" -#~ " un exécutable nommé « file ». Ceci inclut les alias, les primitives " -#~ "et les\n" +#~ " un exécutable nommé « file ». Ceci inclut les alias, les primitives et " +#~ "les\n" #~ " fonctions si, et seulement si « -p » n'est pas également utilisé.\n" #~ " \n" #~ " L'indicateur « -P » force une recherche dans PATH pour chaque NAME " diff --git a/po/ga.gmo b/po/ga.gmo index eb114a3e7..692913440 100644 Binary files a/po/ga.gmo and b/po/ga.gmo differ diff --git a/po/ga.po b/po/ga.po index ca42ada35..805c0d21c 100644 --- a/po/ga.po +++ b/po/ga.po @@ -5,133 +5,140 @@ # Séamus Ó Ciardhuáin , 2009. msgid "" msgstr "" -"Project-Id-Version: bash 4.0\n" +"Project-Id-Version: bash 4.3-rc2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2009-09-24 23:08+0100\n" -"Last-Translator: Séamus Ó Ciardhuáin \n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-02-05 17:02-0000\n" +"Last-Translator: Séamus Ó Ciardhuáin \n" "Language-Team: Irish \n" -"Language: ga\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.11.4\n" -"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;\n" +"Language: ga\n" +"X-Generator: Poedit 1.7.4\n" +"Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : (n>2 && n<7) ? 2 :" +"(n>6 && n<11) ? 3 : 4;\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "droch-fhoscript eagair" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "" "%s: ní féidir eagar innéacsaithe a thiontú go heagar comhthiomsaitheach" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: eochair neamhbhailí eagair chomhthiomsaithigh" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: ní féidir sannadh go hinnéacs neamhuimhriúil." -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" "%s: %s: caithfear foscript a úsáid le sannadh chuig eagar comhthiomsaitheach" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: ní féidir cruthú: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: ní féidir mapa eochrach an ordaithe a aimsiú" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: ní \" é an chéad charachtar nach spás bán é." -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "Níl \"%c\" dúnta i %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: deighilteoir idirstaid ar iarraidh" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 -#, fuzzy, c-format +#: builtins/alias.def:133 +#, c-format msgid "`%s': invalid alias name" -msgstr "\"%s\": ainm neamhbhailí ar mhapa eochrach " +msgstr "\"%s\": ainm neamhbhailí ar mhapa eochrach" #: builtins/bind.def:123 builtins/bind.def:126 msgid "line editing not enabled" msgstr "níl eagarthóireacht líne cumasaithe" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "\"%s\": ainm neamhbhailí ar mhapa eochrach " -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: ní féidir léamh: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "\"%s\": ní féidir dícheangail" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "\"%s\": ainm feidhme neamhaithnid" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "Níl %s ceangailte le heochair ar bith.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "Is féidir %s a ghlaoigh trí " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "comhaireamh lúibe" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "Gan chiall ach i lúb \"for\", \"while\" nó \"until\"" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -141,303 +148,332 @@ msgstr "" " \n" " Gan SLONN, aischuirtear " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "Níl HOME socruithe" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "An iomarca argóintí" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "Níl comhadlann eile ann" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "Níl OLDPWD socruithe" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "líne %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "rabhadh: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: úsáid: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: tá argóint riachtanach don rogha" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: argóint uimhriúil de dhíth" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: gan aimsiú" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: rogha neamhbhailí" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: ainm neamhbhailí rogha" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "\"%s\": ní aitheantóir bailí é" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "uimhir ochtnártha neamhbhailí" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "uimhir heicsidheachúlach neamhbhailí" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "uimhir neamhbhailí" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: sonrú neamhbhailí comhartha" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "\"%s\": ní aitheantas próisis nó sonrú jab bailí é" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: athróg inléite amháin" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s as raon" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argóint" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s as raon" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: níl a léithéid de jab ann." -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: gan rialú jabanna." -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "Gan rialú jabanna." -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: srianta" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "srianta" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: ní ordú ionsuite blaoisce é." -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "earráid scríofa: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "earráid agus airíonna teirminéil á socrú: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "earráid agus airíonna teirminéil á fáil: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: earráid ag fáil na comhadlainne reatha: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: sonrú jab athbhríoch" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: ainm neamhbhailí gnímh" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: níl sonrú iomlánaithe ann." -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "" "Rabhadh: b'fhéidir nach n-oibríonn an rogha -F mar a bheifeá ag súil leis." -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "" "Rabhadh: b'fhéidir nach n-oibríonn an rogha -C mar a bheifeá ag súil leis." -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "níl an fheidhm chomhlánaithe á rith faoi láthair" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "Inúsáidte i bhfeidhmeanna amháin. " -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "\"%s\": ainm neamhbhailí ar mhapa eochrach" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "Ní féidir \"-f\" a úsáid chun feidhmeanna a dhéanamh" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: feidhm inléite amháin" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: ní féidir athróga eagair a scrios mar seo." -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "" "%s: ní féidir eagar comhthiomsaitheach a thiontú go heagar innéacsaithe" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "Níl luchtú dinimiciúil ar fáil" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "Ní féidir an réad comhroinnte %s a oscailt: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "Ní féidir %s a aimsiú sa réad comhroinnte %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: níl sé luchtaithe go dinimiciúil" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: ní féidir scrios: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: is comhadlann é" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: ní gnáthchomhad é" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: tá an comhad ró-mhór" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: ní féidir comhad dénártha a rith" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: ní féidir rith: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "logout\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "Ní blaosc logála isteach é seo: úsáid \"exit\"" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Tá jabanna stoptha ann.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Tá jabanna ag rith.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "Níor aimsíodh ordú" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "Sonrú staire" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: ní féidir comhad sealadach a oscailt: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "reatha" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "Thosaigh jab %d gan rialú jabanna." @@ -456,25 +492,27 @@ msgstr "%s: tá argóint riachtanach don rogha -- %c\n" msgid "hashing disabled" msgstr "Tá haiseáil díchumasaithe." -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: tá an tábla haiseála folamh.\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "amais\tordú\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Ordaithe blaoisce a mheaitseálann an lorgfhocal \"" msgstr[1] "Ordaithe blaoisce a mheaitseálann na lorgfhocail \"" msgstr[2] "Ordaithe blaoisce a mheaitseálann na lorgfhocail '" +msgstr[3] "Ordaithe blaoisce a mheaitseálann na lorgfhocail '" +msgstr[4] "Ordaithe blaoisce a mheaitseálann na lorgfhocail '" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -482,12 +520,12 @@ msgstr "" "Ní mheaitseálann ábhar cabhrach ar bith \"%s\". Bain triail as \"help help\" " "nó \"man -k %s\" nó \"info %s\"." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: ní féidir oscailt: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -507,15 +545,20 @@ msgstr "" "Ciallaíonn réalt (*) ar ainm go bhfuil an t-ordú díchumasaithe.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "Ní féidir níos mó ná ceann amháin as -anrw a úsáid." -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "suíomh staire" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: argóint neamhbhailí" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: theip ar fhairsingiú staire." @@ -529,113 +572,113 @@ msgstr "%s: theip ar inlib" msgid "no other options allowed with `-x'" msgstr "Níl roghanna eile ceadaithe le \"-x\"" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: is gá le argóintí bheith ina aitheantais phróisis nó jab" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Earráid neamhaithnid" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "Ag súil le slonn" -#: builtins/mapfile.def:172 -#, fuzzy, c-format +#: builtins/mapfile.def:178 +#, c-format msgid "%s: not an indexed array" -msgstr "%s: ní athróg eagair é" +msgstr "%s: ní eagar innéacsaithe é" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: sonrú neamhbhailí tuairisceora comhaid" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: tuairisceoir comhaid neamhbhailí: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: comhaireamh neamhbhailí línte" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: bunphointe neamhbhailí eagair" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: candam neamhbhailí aisghlaoigh" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "ainm folamh athróga eagair" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "tacaíocht le hathróga eagair de dhíth" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "\"%s\": carachtar formáide ar iarraidh." -#: builtins/printf.def:456 -#, fuzzy, c-format +#: builtins/printf.def:467 +#, c-format msgid "`%c': invalid time format specification" -msgstr "%s: sonrú neamhbhailí teorann ama" +msgstr "\"%c\": sonrú neamhbhailí formáide ama" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "\"%c\": carachtar formáide neamhbhailí." -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "rabhadh: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "digit heicsidheachúlach ar iarraidh le haghaidh \\x" -#: builtins/printf.def:880 -#, fuzzy, c-format +#: builtins/printf.def:893 +#, c-format msgid "missing unicode digit for \\%c" -msgstr "digit heicsidheachúlach ar iarraidh le haghaidh \\x" +msgstr "digit Unicode ar iarraidh le haghaidh \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "Níl comhadlann eile ann" -#: builtins/pushd.def:354 -#, fuzzy, c-format +#: builtins/pushd.def:360 +#, c-format msgid "%s: invalid argument" -msgstr "%s: argóint teorann neamhbhailí" +msgstr "%s: argóint neamhbhailí" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "cruach fholamh chomhadlainne" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "innéacs cruaiche comhadlainne" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -659,7 +702,7 @@ msgid "" "\tdirs when invoked without options, starting with zero." msgstr "" -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -684,7 +727,7 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -705,144 +748,154 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: sonrú neamhbhailí teorann ama" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "earráid léite: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" "ní féidir \"return\" a dhéanamh ach ó fheidhm nó ó script rite le \"source\"" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "Ní féidir feidhm agus athróg a dhíshocrú ag an am céanna." -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: ní féidir díshocrú" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: ní féidir díshocrú: %s inléite amháin" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: ní athróg eagair é" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: ní feidhm é." -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: ní féidir díshocrú" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "comhaireamh iomlaoide" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "Ní féidir roghanna blaoisce a shocrú agus a dhíshocrú ag an am céanna." -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: ainm neamhbhailí ar rogha blaoisce" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "Is gá don argóint bheith ina ainm comhaid." -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: níor aimsíodh an comhad" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "Ní féidir cur ar fionraí." -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "Ní féidir blaosc logála isteach a chur ar fionraí." -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "Tá %s ailiasáilte go \"%s\".\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "Is eochairfhocal blaoisce é %s.\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "Is feidhm é %s.\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "Is ordú ionsuite blaoisce é %s\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "Is ordú ionsuite blaoisce é %s\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "Tá %s %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "Tá %s haiseáilte (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: argóint teorann neamhbhailí" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "\"%c\": droch-ordú" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: ní féidir teorainn a fháil: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "teorainn" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: ní féidir teorainn a athrú: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "uimhir ochtnártha" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "\"%c\": oibreoir neamhbhailí móid shiombalaigh" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "\"%c\": carachtar neamhbhailí móid shiombalaigh" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " líne " @@ -856,82 +909,103 @@ msgstr "Ordú deireanach: %s\n" msgid "Aborting..." msgstr "Ag tobscor..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "earráid ordaithe neamhaithnid" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "droch-chineál ordaithe" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "drochnascóir" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "drochléim" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: athróg neamhcheangailte" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aimithe thar am ag feitheamh le hionchur: logáil amach uathoibríoch\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "Ní féidir an ionchur caighdeánach a atreorú ó /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "FORMÁID_AMA: \"%c\": carachtar formáide neamhbhaií." -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "earráid phíopa" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: srianta: ní féidir \"/\" a shonrú in ainmneacha ordaithe" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: níor aimsíodh an t-ordú" -#: execute_cmd.c:5206 -#, fuzzy, c-format +#: execute_cmd.c:5470 +#, c-format msgid "%s: %s" -msgstr "Tá %s %s\n" +msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: drochléirmhínitheoir" -#: execute_cmd.c:5280 -#, fuzzy, c-format +#: execute_cmd.c:5545 +#, c-format msgid "%s: cannot execute binary file: %s" -msgstr "%s: ní féidir comhad dénártha a rith" +msgstr "%s: ní féidir comhad dénártha a rith: %s" -#: execute_cmd.c:5352 -#, fuzzy, c-format +#: execute_cmd.c:5623 +#, c-format msgid "`%s': is a special builtin" -msgstr "Is ordú ionsuite blaoisce é %s\n" +msgstr "Is ordú ionsuite speisialta é \"%s\"" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "" @@ -977,37 +1051,37 @@ msgstr "ag súil le aitheantóir tar éis réamhincriminte nó réamhdeicriminte msgid "missing `)'" msgstr "\")\" ar iarraidh" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "Earráid chomhréire: bhíothas ag súil le hoibreann." -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "earráid chomhréire: oibreoir neamhbhailí uimhríochta" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (comhartha earráide \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "Bonnuimhir uimhríochtúil neamhbhailí." -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "Tá an luach rómhór don bhonnuimhir." -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: earráid sloinn\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: ní féidir na máthairchomhadlanna a rochtain." -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "" @@ -1028,148 +1102,148 @@ msgstr "" "save_bash_input: tá an maolán ann cheana le haghaidh an tuairisceoir comhaid " "nua %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp píopa" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "tá an aitheantas an phróisis ghabhlaithe %d sa jab %d atá ag rith" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "Tá an jab stoptha %d leis an ngrúpa próisis %ld á scrios." -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: próiseas %5ld (%s) sa phíblíne" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: próiseas %5ld (%s) marcáilte mar fós beo" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: níl an aitheantóir próisis sin ann." -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Comhartha %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Déanta" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Stoptha" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Stoptha(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Ag Rith" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Déanta(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Scoir %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Stádas neamhaithnid" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(cuimhne dumpáilte)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (comhadlann oibre: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "setpgid macphróisis (%ld go %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: níl an próiseas %ld ina mhacphróiseas den bhlaosc seo." -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: níl taifead den phróiseas %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: tá an jab %d stoptha." -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: tá an jab críochnaithe." -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: tá an jab %d sa chúlra cheana." -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: líne %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (cuimhne dumpáilte)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(comhadlann oibre anois: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: theip ar getpgrp" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: araíonacht líne" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "ní féidir grúpa próisis teirminéil a shocrú (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "Níl rialú jabanna sa bhlaosc seo." @@ -1223,18 +1297,18 @@ msgstr "realloc: gannsreabhadh; tá mh_nbytes as raon" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: ní ionann méideanna na smután túis agus deiridh" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: an bhfuil an tábla leithdháilte lán le FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "" "register_alloc: an bhfuil %p sa tábla mar atá sé leithdháilte cheana?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: an bhfuil %p sa tábla cheana mar ceann saor?\n" @@ -1258,29 +1332,29 @@ msgstr "%s: seirbhís neamhbhailí" msgid "%s: bad network path specification" msgstr "%s: drochshonrú conaire líonra" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "Ní thacaítear le oibríochtaí líonra." #: locale.c:200 #, c-format msgid "setlocale: LC_ALL: cannot change locale (%s)" -msgstr "" +msgstr "setlocale: LC_ALL: ní féidir an logchaighdeán a athrú (%s)" #: locale.c:202 #, c-format msgid "setlocale: LC_ALL: cannot change locale (%s): %s" -msgstr "" +msgstr "setlocale: LC_ALL: ní féidir an logchaighdeán a athrú (%s): %s" #: locale.c:259 -#, fuzzy, c-format +#, c-format msgid "setlocale: %s: cannot change locale (%s)" -msgstr "xrealloc: %s:%d: ní féidir %lu beart a leithdháileadh" +msgstr "setlocale: %s: ní féidir an logchaighdeán a athrú (%s)" #: locale.c:261 -#, fuzzy, c-format +#, c-format msgid "setlocale: %s: cannot change locale (%s): %s" -msgstr "xrealloc: %s:%d: ní féidir %lu beart a leithdháileadh" +msgstr "setlocale: %s: ní féidir an logchaighdeán a athrú (%s): %s" #: mailcheck.c:439 msgid "You have mail in $_" @@ -1295,230 +1369,269 @@ msgstr "Tá ríomhphost nua agat i $_" msgid "The mail in %s has been read\n" msgstr "Tá an ríomhphost i %s léite\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "Earráid chomhréire: tá slonn uimhríochtúil de dhith." -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "Earráid chomhréire: \";\" gan súil leis." -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "Earráid chomhréire: \"((%s))\"" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: drochchineál ordaithe %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" "cáipéis leabaithe ag líne %d teormharcáilte le deireadh comhaid (\"%s\" á " "lorg)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: ordú atreoraithe \"%d\" as raon." -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "Deireadh comhaid gan súil leis agus \"%c\" a mheaitseálann á lorg." -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "Deireadh comhaid gan súil leis agus \"]]\" á lorg." -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "" "Earráid chomhréire i slonn coinníollach: comhartha \"%s\" gan suil leis." -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "Earráid chomhréire i slonn coinníollach." -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "Comhartha \"%s\" gan súil leis; ag súil le \")\"." -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "Ag súil le \")\"" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "Argóint \"%s\" gan súil lei go hoibreoir aonártha coinníollach." -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "Argóint gan súil lei go hoibreoir coinníollach aonártha ." -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "" "Comhartha \"%s\" gan súil leis. Bhíothas ag súil le hoibreoir coinníollach " "dénártha." -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "Bhíothas ag súil le hoibreoir coinníollach dénártha." -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "Argóint \"%s\" gan súil lei go hoibreoir dénártha coinníollach." -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "Argóint gan súil lei go hoibreoir dénártha coinníollach." -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "Comhartha \"%c\" gan súil leis in ordú coinníollach." -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "Comhartha \"%s\" gan súil leis in ordú coinníollach." -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "Comhartha %d gan súil leis in ordú coinníollach." -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "" "Earráid chomhréire in aice comhartha \"%s\" nach rabhthas ag súil leis." -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "Earráid chomhréire in aice \"%s\"" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "Earráid chomhréire: deireadh comhaid gan súil leis." -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "Earráid chomhréire" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Úsáid \"%s\" le scoir den mblaosc.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "Deireadh comhaid gan súil leis agus \")\" á lorg le meaitseáil." -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "Iomlánú: níor aimsíodh an fheidhm \"%s\"." +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: tá COMPSPEC neamhnitheach" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: drochnascóir \"%d\"" -#: print_cmd.c:373 -#, fuzzy, c-format +#: print_cmd.c:375 +#, c-format msgid "xtrace_set: %d: invalid file descriptor" -msgstr "%d: tuairisceoir comhaid neamhbhailí: %s" +msgstr "xtrace_set: %d: tuairisceoir comhaid neamhbhailí" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" -msgstr "" +msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: \"%c\": carachtar formáide neamhbhailí" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "tuairisceoir comhaid as raon" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: atreorú athbhríoch" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: ní féidir comhad atá ann cheana a fhorscríobh." -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: srianta: ní féidir aschur a atreorú." -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "ní féidir cáipéis shealadach a chruthú don cháipéis leabaithe: %s" -#: redir.c:195 -#, fuzzy, c-format +#: redir.c:196 +#, c-format msgid "%s: cannot assign fd to variable" -msgstr "%s: ní féidir liosta a shannadh go ball eagair." +msgstr "%s: ní féidir tuairisceoir comhaid a shannadh go hathróg." -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "Ní thacaítear le /dev/(tcp|udp)/óstríomhaire/port gan líonrú." -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "Earráid atreoraithe: ní féidir an tuairisceoir comhaid a dhúbailt." -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "Níorbh fhéidir /tmp a aimsiú. Cruthaigh é le do thoil!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "Caithfidh /tmp bheith ina ainm comhadlainne bailí." -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: rogha neamhbhailí" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "" +"ní féidir an mód gan mhoill a athshocrú le haghaidh an tuairisceora chomhaid " +"%d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "" +"ní féidir an mód gan mhoill a athshocrú le haghaidh an tuairisceora chomhaid " +"%d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: is comhadlann é" + +#: shell.c:1777 msgid "I have no name!" msgstr "Níl ainm orm!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, leagan %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1527,44 +1640,53 @@ msgstr "" "Úsáid:\t%s [rogha fada GNU] [rogha] ...\n" "\t%s [rogha fada GNU] [rogha] comhad_scripte ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Roghanna fada GNU:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Roghanna blaoisce:\n" -#: shell.c:1835 -#, fuzzy +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -msgstr "\t-irsD nó -c ordú nó -O rogha_shopt\t\t(glaoch amháin)\n" +msgstr "\t-ilrsD nó -c ordú nó -O rogha_shopt\t\t(glaoch amháin)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s nó -o rogha\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Úsáid %s -c \"help set\" le haghaidh tuilleadh eolais faoi roghanna " "blaoisce.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Úsáid \"%s -c help\" le haghaidh tuilleadh eolais faoi orduithe ionsuite " "blaoisce.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Úsáid an t-ordú \"bashbug\" le tuarascáil a sheoladh faoi fhabht.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: oibríocht neamhbhailí" @@ -1738,91 +1860,106 @@ msgstr "Comhartha neamhaithnid #" msgid "Unknown Signal #%d" msgstr "Comhartha neamhaithnid #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "Drochionadú: níl \"%s\" dúnta i %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: ní féidir liosta a shannadh go ball eagair." -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "Ní féidir píopa a dhéanamh le haghaidh ionadaíocht próisis." -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "Ní féidir macphróiseas a dhéanamh le haghaidh ionadaíocht próisis." -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "Ní féidir píopa ainmnithe %s a oscailt le haghaidh léamh." -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "Ní féidir píopa ainmnithe %s a oscailt le haghaidh scríofa." -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "" "Ní féidir an píopa ainmnithe %s a dhúbailt mar thuairisceoir comhaid %d." -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "drochionadú: níl \"`\" dúnta i %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "Ní féidir píopa a dhéanamh le haghaidh ionadú ordaithe." -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "Ní féidir macphróiseas a dhéanamh le haghaidh ionadú ordaithe." -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" "command_substitute: ní feidir an píopa a dhúbailt mar thuairisceoir comhaid " "1." -#: subst.c:5837 subst.c:8050 -#, fuzzy, c-format +#: subst.c:6580 subst.c:8939 +#, c-format msgid "%s: invalid variable name for name reference" -msgstr "%d: tuairisceoir comhaid neamhbhailí: %s" +msgstr "" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: drochionadú" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: comhaireamh neamhbhailí línte" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "\"%s\": ainm neamhbhailí ar mhapa eochrach" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: paraiméadar neamhnitheach nó gan socrú." -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: slonn fotheaghráin < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: drochionadú" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: ní féidir sannadh mar seo." -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "drochionadú: níl \"`\" dúnta i %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "gan meaitseáil: %s" @@ -1836,39 +1973,39 @@ msgstr "Bhíothas ag súil le hargóint." msgid "%s: integer expression expected" msgstr "%s: ag súil le slonn slánuimhreach." -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "Ag súil le \")\"" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "Ag súil le \")\", ach fuarthas %s." -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: ag súil le hoibreoir aonártha." -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: ag súil le hoibreoir dénártha." -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "\"]\" ar iarraidh" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "Uimhir chomhartha neamhbhailí" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: drochluach sa liosta_gaistí[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1876,85 +2013,85 @@ msgstr "" "run_pending_traps: is SIG_DFL an láimhseálaí comharthaí; %d (%s) á " "athsheoladh chugam féin." -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: droch-chomhartha %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "Earráid agus sainmhíniú na feidhme \"%s\" á iompórtáil." -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "Tá an leibhéal blaoisce (%d) ró-ard; á athshocrú go 1." -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%d: tuairisceoir comhaid neamhbhailí: %s" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: níl comhthéacs feidhme sa scóip reatha." -#: variables.c:2247 -#, fuzzy, c-format +#: variables.c:2432 +#, c-format msgid "%s: variable may not be assigned value" -msgstr "%s: ní féidir liosta a shannadh go ball eagair." +msgstr "%s: ní féidir luach a shannadh ar an athróg" -#: variables.c:3646 +#: variables.c:3043 +#, c-format +msgid "%s: assigning integer to name reference" +msgstr "" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: níl comhthéacs feidhme sa scóip reatha" -#: variables.c:3891 +#: variables.c:4218 #, fuzzy, c-format msgid "%s has null exportstr" msgstr "%s: paraiméadar neamhnitheach nó gan socrú." -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "Carachtar neamhbhailí %d sa teaghrán easpórtála le haghaidh %s." -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "Níl \"=\" sa teaghrán easpórtála le haghaidh %s." -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: ní comhthéacs feidhme é ceann shell_variables" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: níl comhthéacs global_variables ann" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: ní scóip shealadach thimpeallachta é ceann shell_variables" -#: variables.c:5257 -#, fuzzy, c-format +#: variables.c:5619 +#, c-format msgid "%s: %s: cannot open as FILE" -msgstr "%s: ní féidir oscailt: %s" +msgstr "%s: %s: ní féidir a oscailt mar CHOMHAD" -#: variables.c:5262 +#: variables.c:5624 #, fuzzy, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%d: tuairisceoir comhaid neamhbhailí: %s" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s as raon" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Cóipcheart © 2009 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Cóipcheart © 2013 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -1970,167 +2107,144 @@ msgid "GNU bash, version %s (%s)\n" msgstr "GNU bash, leagan %s (%s)\n" #: version.c:91 version2.c:91 -#, fuzzy msgid "This is free software; you are free to change and redistribute it." -msgstr "Is saorbhogearra é seo; tá cead agat é a athrú agus a dháileadh.\n" +msgstr "Is saorbhogearra é seo; tá cead agat é a athrú agus é a athdháileadh." #: version.c:92 version2.c:92 -#, fuzzy msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "" -"Ní ghabhann baránta ar bith leis, sa mhéid is atá sin ceadaithe de réir " -"dlí.\n" - -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Cóipcheart © 2009 Free Software Foundation, Inc." +"Ní ghabhann baránta ar bith leis, sa mhéid is atá sin ceadaithe de réir dlí." #: xmalloc.c:91 -#, fuzzy, c-format +#, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "xmalloc: ní féidir %lu beart a leithdháileadh (%lu beart leithdháilte)" +msgstr "%s: ní féidir %lu beart a leithdháileadh (%lu beart leithdháilte)" #: xmalloc.c:93 -#, fuzzy, c-format +#, c-format msgid "%s: cannot allocate %lu bytes" -msgstr "xmalloc: ní féidir %lu beart a leithdháileadh" +msgstr "%s: ní féidir %lu beart a leithdháileadh" #: xmalloc.c:163 -#, fuzzy, c-format +#, c-format msgid "%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)" msgstr "" -"xmalloc: %s:%d: ní féidir %lu beart a leithdháileadh (%lu beart leithdháilte)" +"%s: %s:%d: ní féidir %lu beart a leithdháileadh (%lu beart leithdháilte)" #: xmalloc.c:165 -#, fuzzy, c-format +#, c-format msgid "%s: %s:%d: cannot allocate %lu bytes" -msgstr "xmalloc: %s:%d: ní féidir %lu beart a leithdháileadh" +msgstr "%s: %s:%d: ní féidir %lu beart a leithdháileadh" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [ainm[=luach] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] ainm [ainm ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [N]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [N]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [ORDÚ-IONSUITE-BLAOISCE [ARGÓINT ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [SLONN]" -#: builtins.c:64 -#, fuzzy +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-L|-P] [comhadlann]" +msgstr "cd [-L|[-P [-e]] [-@]] [comhadlann]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] ORDÚ [ARGÓINT ...]" -#: builtins.c:76 -#, fuzzy +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "declare [-aAfFilrtux] [-p] [ainm[=luach] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [ainm[=luach] ...]" -#: builtins.c:78 +#: builtins.c:80 #, fuzzy -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFilrtux] [-p] ainm[=luach] ..." +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilrtux] [-p] ainm[=luach] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [ROGHA] AINM[=LUACH] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [ARGÓINT ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [ARGÓINT ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f comhadainm] [ainm ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [argóint ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts teaghrán_roghanna ainm [argóint]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a ainm] [ordú [argóintí ...]] [atreorú ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [N]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e AINM_E] [-lnr] [CÉAD] [DEIREANACH] nó fc -s [PATRÚN=IONADAÍ] [ORDÚ]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [SONRÚ_JAB]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [SONRÚ_JAB ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p CONAIR] [-dt] [AINM ...]" -#: builtins.c:117 -#, fuzzy +#: builtins.c:119 msgid "help [-dms] [pattern ...]" -msgstr "help [-ds] [PATRÚN ...]" +msgstr "help [-dms] [PATRÚN ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2138,15 +2252,16 @@ msgstr "" "history [-c] [-d SEACH_CHUR] [n] nó history -anrw [COMHADAINM] nó history -" "ps ARGÓINT [ARGÓINT...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [SONRÚ_JAB ...] nó jobs -x ORDÚ [ARGÓINTÍ]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [SONRÚ_JAB ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2154,118 +2269,109 @@ msgstr "" "kill [-s sonrú_comhartha | -n uimhir_chomhartha | -sonrú_comhartha] " "aitheantóir_próisis | sonrú_jab ... nó kill -l [sonrú_comhartha]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let argóint [argóint ...]" -#: builtins.c:136 -#, fuzzy +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" -"read [-ers] [-a eagar] [-d teormharcóir] [-i téacs] [-n líon_carachtar] [-p " -"leid] [-t teorainn_ama] [-u tuairisceoir_comhaid] [ainm ...]" +"read [-ers] [-a eagar] [-d teormharcóir] [-i téacs] [-n líon_carachtar] [-N " +"líon_carachtar] [-p leid] [-t teorainn_ama] [-u tuairisceoir_comhaid] " +"[ainm ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 -#, fuzzy +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -msgstr "set [--abefhkmnptuvxBCHP] [-o ainm-rogha] [argóint ...]" +msgstr "set [-abefhkmnptuvxBCHP] [-o ainm-rogha] [--] [argóint ...]" -#: builtins.c:142 -#, fuzzy +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "unset [-f] [-v] [ainm ...]" +msgstr "unset [-f] [-v] [-n] [ainm ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [ainm[=luach] ...] nó export -p" -#: builtins.c:146 -#, fuzzy +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" -msgstr "readonly [-af] [ainm[=luach] ...] nó readonly -p" +msgstr "readonly [-aAf] [ainm[=luach] ...] nó readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source comhadainm [argóintí]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". comhadainm [argóintí]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [slonn]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ argóint... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[argóint] sonrú_comhartha ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] ainm [ainm ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHacdefilmnpqrstuvx] [teorainn]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [teorainn]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [mód]" -#: builtins.c:175 -#, fuzzy +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "wait [aitheantas]" +msgstr "wait [-n] [aitheantas ...]" -#: builtins.c:179 -#, fuzzy +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "wait [aitheantas]" +msgstr "wait [aitheantas_próisis ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for AINM [in FOCAIL ... ] ; do ORDUITHE; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( slonn1; slonn2; slonn3 )); do ORDUITHE; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select AINM [in FOCAIL ... ;] do ORDUITHE; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] píblíne" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case FOCAL in [PATRÚN [| PATRÚN]...) ORDUITHE ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2273,100 +2379,101 @@ msgstr "" "if ORDUITHE; then ORDUITHE; [ elif ORDUITHE; then ORDUITHE; ]... [ else " "ORDUITHE; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while ORDUITHE; do ORDUITHE; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until ORDUITHE; do ORDUITHE; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [AINM] ordú [atreoruithe]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function AINM { ORDUITHE ; } nó AINM () { ORDUITHE ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ ORDUITHE ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "sonrú_jab [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( slonn ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ slonn ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "Athróga - ainmneacha agus mínithe ar fathróga áirithe blaoisce" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | comhadlann]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [ainm_rogha ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v athróg] formáid [argóintí]" -#: builtins.c:229 -#, fuzzy +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" -"complete [-abcdefgjksuv] [-pr] [-o rogha] [-A gníomh] [-G patrún] [-W " +"complete [-abcdefgjksuv] [-pr] [-DE] [-o rogha] [-A gníomh] [-G patrún] [-W " "liosta_focal] [-F feidhm] [-C ordú] [-X patrún_scagaire] [-P réimír] [-S " "iarmhír] [ainm ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o rogha] [-A gníomh] [-G patrún] [-W " "liosta_focal] [-F feidhm] [-C ordú] [-X patrún_scagaire] [-P réimír] [-S " "iarmhír] [FOCAL]" -#: builtins.c:237 -#, fuzzy +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" -msgstr "compopt [-o|+o rogha] [ainm ...]" +msgstr "compopt [-o|+o rogha] [-DE] [ainm ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "a" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "t" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2378,7 +2485,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2401,12 +2508,13 @@ msgstr "" " Aischuirtear an luach true mura thugtar AINM nach bhfuil\n" " ailias sainithe dó." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2417,7 +2525,7 @@ msgstr "" " \n" " Aischuirtear rath ach sa chás nach bhfuil AINM ann." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2451,14 +2559,15 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2476,7 +2585,7 @@ msgstr "" " Stádas Scortha:\n" " Is é 0 an stádas scortha mura bhfuil N níos lú ná 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2495,7 +2604,7 @@ msgstr "" " Stádas Scortha:\n" " Is é 0 an stádas scortha mura bhfuil N níos lú ná 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2520,7 +2629,7 @@ msgstr "" "bhfuil\n" " ORDÚ-IONSUITE-BLAOISCE ina ordú ionsuite blaoisce." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2550,7 +2659,7 @@ msgstr "" "blaoisce, nó\n" " sa chás go bhfuil SLONN neamhbhailí." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2573,16 +2682,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2595,13 +2704,14 @@ msgid "" " -P is used; non-zero otherwise." msgstr "" -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2623,7 +2733,7 @@ msgstr "" " Aischuirtear luach de 0 mura thugtar rogha neamhbhailí nó mura féidir\n" " an chomhadlann reatha a léamh." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2639,7 +2749,7 @@ msgstr "" " Stadas Scortha:\n" " Éiríonn leis i gcónaí." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2651,7 +2761,7 @@ msgstr "" " Stádas Scortha:\n" " Éiríonn leis i gcónaí." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2663,7 +2773,8 @@ msgstr "" " Stádas Scortha:\n" " Teipeann air i gcónaí." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2673,10 +2784,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2699,7 +2810,7 @@ msgstr "" " Stádas Scortha:\n" " Aischuirtear an stádas scortha ó ORDÚ, nó teip mura aimsítear ORDÚ." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2709,9 +2820,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2739,17 +2850,18 @@ msgid "" " assignment error occurs." msgstr "" -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Socraigh luachanna agus airíonna athróg.\n" " \n" " Imithe i léig. Feic \"help declare\"." -#: builtins.c:535 +#: builtins.c:538 #, fuzzy msgid "" "Define local variables.\n" @@ -2780,7 +2892,7 @@ msgstr "" "earráid,\n" " nó mura bhfuil an bhlaosc ag rith feidhme." -#: builtins.c:552 +#: builtins.c:555 #, fuzzy msgid "" "Write arguments to the standard output.\n" @@ -2807,9 +2919,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2843,7 +2955,7 @@ msgstr "" " Stádas Scortha:\n" " Aischuirtear rath ach i gcás earráide scríofa." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2865,7 +2977,7 @@ msgstr "" " Stádas Scortha:\n" " Aischuirtear rath ach i gcás earráide scríofa." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2892,7 +3004,7 @@ msgid "" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2912,7 +3024,7 @@ msgstr "" " Aischuirtear stádas scortha an ordaithe, nó rath más ordú neamhnitheach " "é." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2953,7 +3065,7 @@ msgid "" " encountered or an error occurs." msgstr "" -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -2964,8 +3076,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2976,7 +3088,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -2988,7 +3100,7 @@ msgstr "" " Scoireann den bhlaosc le stádas N. Má fhágtar N ar lár, is é stádas\n" " an chéad ordaithe deireanaigh an stádas scortha." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3001,7 +3113,7 @@ msgstr "" " Scoireann de bhlaosc logála isteach le stádas scortha N. Aischuirtear\n" " earráid má ritear é i mblaosc nach blaosc logála isteach í." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3056,7 +3168,7 @@ msgstr "" " Stádas Scortha:n\\ Aischuirtear rath nó stádas an ordaithe rite; " "neamh-nialas má tharlaíonn earráid." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3077,7 +3189,7 @@ msgstr "" " Stádas Scortha:\n" " Stádas an ordaithe curtha sa tulra, nó teip má tharlaíonn earráid." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3101,7 +3213,7 @@ msgstr "" " Aischuirtear rath ach má tharlaíonn earráid nó mura bhfuil\n" " rialú jabanna cumasaithe." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3110,22 +3222,23 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3137,7 +3250,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3166,7 +3279,7 @@ msgstr "" " Aischuirtear rath ach sa chás nach n-aimsítear PATRÚN nó go dtugtar\n" " rogha neamhbhailí." -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -3175,23 +3288,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3200,7 +3313,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3210,7 +3323,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3224,7 +3337,8 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3234,7 +3348,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3255,7 +3369,7 @@ msgstr "" " Aischuirtear rath ach sa chás go dtugtar rogha neamhbhailí\n" " nó SONRÚ_JAB neamhbhailí." -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -3267,7 +3381,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3277,7 +3392,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3322,7 +3437,7 @@ msgid "" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3343,27 +3458,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3373,7 +3489,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3395,7 +3511,7 @@ msgstr "" " Aischuirtear N, nó teip sa chás nach bhfuil an bhlaosc ag rith feidhme " "nó scripte." -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3463,7 +3579,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3480,7 +3597,7 @@ msgid "" " Returns success unless an invalid option is given." msgstr "" -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3490,7 +3607,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3502,7 +3619,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3521,7 +3638,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3533,9 +3650,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3543,7 +3659,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3554,7 +3670,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3568,7 +3684,7 @@ msgid "" " FILENAME cannot be read." msgstr "" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3582,7 +3698,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3646,9 +3762,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3665,7 +3781,7 @@ msgid "" " false or an invalid argument is given." msgstr "" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3678,7 +3794,7 @@ msgstr "" " caithfear \"]\" go díreach a bheith ann mar an argóint\n" " dheireanach, le bheith comhoiriúnach leis an \"[\" ag an tús." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3698,7 +3814,7 @@ msgstr "" " Stádas Scortha:\n" " Éiríonn leis i gcónaí." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3742,7 +3858,7 @@ msgid "" "given." msgstr "" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3751,18 +3867,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3772,7 +3888,7 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3790,6 +3906,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3801,7 +3918,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3819,7 +3937,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3837,7 +3955,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3857,7 +3975,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3872,7 +3990,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3885,7 +4003,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3916,7 +4034,7 @@ msgstr "" " Stádas Scortha:\n" " Aischuirtear stádas an ordaithe dheireanaigh a ritheadh." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3936,7 +4054,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3952,7 +4070,7 @@ msgid "" " The return status is the return status of PIPELINE." msgstr "" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3963,7 +4081,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3984,7 +4102,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3995,7 +4113,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4006,7 +4124,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4016,10 +4134,10 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4043,7 +4161,7 @@ msgstr "" " Stádas Scortha:\n" " Aischuirtear rath mura bhfuil AINM inléite amháin." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4061,7 +4179,7 @@ msgstr "" " Stádas Scortha:\n" " Aischuirtear stádas an ordaithe dheireanaigh a ritheadh." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4075,7 +4193,7 @@ msgid "" " Returns the status of the resumed job." msgstr "" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4086,7 +4204,7 @@ msgid "" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -4114,7 +4232,7 @@ msgid "" " 0 or 1 depending on value of EXPRESSION." msgstr "" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -4168,7 +4286,7 @@ msgid "" " \t\tcommands should be saved on the history list.\n" msgstr "" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -4178,19 +4296,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -4199,7 +4317,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -4208,16 +4326,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -4226,7 +4344,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -4237,25 +4355,25 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -4276,7 +4394,7 @@ msgid "" " given or OPTNAME is disabled." msgstr "" -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -4293,15 +4411,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -4315,7 +4433,7 @@ msgid "" " error occurs." msgstr "" -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -4328,11 +4446,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -4342,7 +4460,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -4365,7 +4483,7 @@ msgstr "" " Aischuirtear rath mura thugtar rogha neamhbhailí agus mura tharlaíonn " "earráid." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4396,7 +4514,7 @@ msgid "" " have a completion specification defined." msgstr "" -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4407,20 +4525,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4437,7 +4556,7 @@ msgid "" " not an indexed array." msgstr "" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -4448,19 +4567,23 @@ msgstr "" " Comhchiallach le \"mapfile\"." #, fuzzy -#~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" -#~ msgstr "Cóipcheart © 2009 Free Software Foundation, Inc." +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Cóipcheart © 2013 Free Software Foundation, Inc." -#, fuzzy -#~ msgid "" -#~ "License GPLv2+: GNU GPL version 2 or later \n" -#~ msgstr "" -#~ "Ceadúnas GPLv3+: GNU GPL leagan 3 nó níos déanaí \n" +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" -#~ msgid "wait [pid]" -#~ msgstr "wait [aitheantas_próisis]" +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Cóipcheart © 2012 Free Software Foundation, Inc." #~ msgid "xrealloc: cannot reallocate %lu bytes (%lu bytes allocated)" #~ msgstr "" diff --git a/po/gl.gmo b/po/gl.gmo index a0e98882f..de9d0aedb 100644 Binary files a/po/gl.gmo and b/po/gl.gmo differ diff --git a/po/gl.po b/po/gl.po index 2b9e530f6..7e101ced4 100644 --- a/po/gl.po +++ b/po/gl.po @@ -13,82 +13,88 @@ msgid "" msgstr "" "Project-Id-Version: bash 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2012-02-23 14:38+0100\n" "Last-Translator: Leandro Regueiro \n" "Language-Team: Galician \n" -"Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: gl\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "subíndice de matriz incorrecto" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: non é posíbel converter a matriz de indizada a asociativa" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: índice de matriz asociativa non válido" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: non é posíbel asignar a un índice que non é numérico" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: se debe usar un subíndice ao asignar a unha matriz asociativa" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: non foi posíbel crear: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: non foi posíbel atopar a combinación de teclas " "para a orde" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: o primeiro carácter que non é espazo en branco non é `\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "no hai un `%c' que peche en %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: falta un `:' separador" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "`%s': nome de alias non válido" @@ -97,45 +103,45 @@ msgstr "`%s': nome de alias non válido" msgid "line editing not enabled" msgstr "no se activó a edición de liña" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "`%s': nome de combinación de teclas non válido" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: non se pode leer: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "%s: non se pode borrar a asignación" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "`%s': nome de función descoñecido" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s non está asignado a ningunha tecla.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s pódese invocar a través de " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "contía de ciclo" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "só ten significado nun ciclo `for', `while' ou `until'" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -145,300 +151,329 @@ msgstr "" " \n" " Sen EXPR, devovle " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME non está definido" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "demasiados argumentos" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "non hai outro directorio" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD non está definido" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "liña %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "aviso: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: uso: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: a opción require un argumento" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: requírese un argumento numérico" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: non se atopou" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: opción non válida" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: nome de opción non válido" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': non é un identificador válido" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "número octal non válido" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "número hexadecimal non válido" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "número non válido" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: especificación de sinal non válida" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "`%s': no é un pid ou unha especificación válida de traballo" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: variábel de só lectura" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s fóra de rango" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argumento" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s fóra de rango" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: non existe ese traballo" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: no hai control de traballos" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "no ha control de traballos" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: restrinxido" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "restrinxido" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: no é una orde interna do shell" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "erro de escritura: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "erro ao estabelecer os atributos da terminal: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "erro ao obtener os atributos da terminal: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: erro ao obtener o directorio actual: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: especificación de traballo ambigüa" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: nome de acción non válido" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: non hai completado de especificación" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "aviso: é posíbel que a opción -F non funcione como se espera" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "aviso: é posíbel que a opción -C non funcione como se espera" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "non se está executando a función de completado" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "só se pode usar dentro dunha función" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, fuzzy, c-format +msgid "%s: circular name reference" +msgstr "%s: %s: valor non válido para o descitor de ficheiro de rastreo" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: %s: valor non válido para o descitor de ficheiro de rastreo" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "non se pode use `-f' para facer funcións" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: función de só lectura" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: non é posíbel destruír variábeis de matriz desta forma" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: non é posíbel converter unha matriz asociativa a indizada" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "a carga dinámica non está dispoñíbel" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "non é posíbel abrir o obxecto compartido %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "non é posíbel atopar %s no obxecto compartido %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: non foi cargado dinamicamente" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: non foi posíbel eliminar: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: é un directorio" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: non é un ficheiro regular" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: o ficheiro é demasiado grande" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: non é posíbel executar o ficheiro binario" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: non foi posíbel executar: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "logout\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "non é un shell de entrada: use `exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Hai traballos pendentes.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Hay traballos en execución.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "non foi posíbel atopar a orde" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "especificación de historial" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: non é posíbel abrir o ficheiro temporal: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "actual" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "o traballo %d iniciou sen control de traballo" @@ -457,37 +492,37 @@ msgstr "%s: a opción require un argumento -- %c\n" msgid "hashing disabled" msgstr "asociación desactivada" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: táboa de asociación baleira\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "coinc\torde\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Orde do shell que coincide coa palabra `" msgstr[1] "Orde do shell que coincide coas palabras `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -"non hai temas de axuda que coincidan con «%s». Probe «help help» ou «man -k " -"%s» ou «info %s»" +"non hai temas de axuda que coincidan con «%s». Probe «help help» ou «man -k %s» " +"ou «info %s»" -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: non foi posíbel abrir: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -508,15 +543,20 @@ msgstr "" "Un asterisco (*) xunto a un nome significa que a orde está desactivada.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "non foi posíbel usar máis dun de -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "posición no historial" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: límite de argumento non válido" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: fallou a expansión do historial" @@ -530,113 +570,113 @@ msgstr "%s: fallou inlib" msgid "no other options allowed with `-x'" msgstr "non se permiten outras opcións con «-x»" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: os argumentos deben ser procesos ou IDs de traballos" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Erro descoñecido" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "agardábase unha expresión" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: non é unha matriz indizada" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: especificación de descritor de ficheiro non válida" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: descritor de ficheiro non válido: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: conta de liñas non válida" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: orixe de matriz non válido" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: quantum de chamada non válido" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "nome de variábel de matriz baleiro" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "requírese a compatibilidade de variábel de matriz" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "`%s': falta o carácter de formato" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "`%c': especificación de formato de tempo non válida" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "`%c': carácter de formato non válido" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "aviso: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "falta o díxito hexadecimal para \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "falta o díxito unicode para \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "non hai outro directorio" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: límite de argumento non válido" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "a pila de directorios está baleira" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "índice da pila de directorios" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -680,7 +720,7 @@ msgstr "" "\tlista mostrada por dirs cando se chama sen opcións,\n" "\tcomezando desde cero." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -722,7 +762,7 @@ msgstr "" " \n" " A orde interna `dirs' mostra a rima de directorios." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -762,143 +802,153 @@ msgstr "" " \n" " A orde interna `dirs' mostra a pila de directorios." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: especificación de tempo de expiración non válida" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "erro de lectura: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "só se pode usar «return» nunha función ou guión lido con «source»" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "non é posíbel borrar ao mesmo tempo unha función e unha variábel" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: non é posíbel borrar" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: non é posíbel borrar: %s é de só lectura" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: non é unha variábel de matriz" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: non é unha función" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: non é posíbel borrar" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "conta de shift" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "non é posíbel activar e desactivar opcións do shell simultaneamente" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: nome de opción do shell non válido" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "requírese un argumento de nome de ficheiro" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: non se atopou o ficheiro" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "non é posíbel suspender" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "non é posíbel suspender un shell de entrada" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s é un alias de `%s'\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s é unha palabra chave do shell\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s é unha función\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s é unha orde interna do shell\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s é unha orde interna do shell\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s é %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s está asociado (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: límite de argumento non válido" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': orde errónea" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: non é posíbel obter o límite: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "límite" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: non é posíbel modificar o límite: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "número octal" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "`%c': operador de modo simbólico non válido" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "`%c': carácter de modo simbólico non válido" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " liña " @@ -912,82 +962,103 @@ msgstr "última orde: %s\n" msgid "Aborting..." msgstr "Abortando…" -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "erro de orde descoñecido" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "tipo de orde erróneo" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "conector erróneo" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "salto erróneo" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: variable sen asignar" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aexpirou mentres agardaba algunha entrada: auto-logout\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "non é posíbel redirixir a saída estándar desde /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: `%c': carácter de formato non válido" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "erro de canalización" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: restrinxido: non se pode especificar `/' en nomes de ordes" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: non se atopou a orde" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: intérprete erróneo" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: non é posíbel executar o ficheiro binario" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, fuzzy, c-format msgid "`%s': is a special builtin" msgstr "%s é unha orde interna do shell\n" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "no se pode duplicar o df %d ao df %d" @@ -1033,37 +1104,37 @@ msgstr "" msgid "missing `)'" msgstr "falta un `)'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "erro de sintaxe: agardábase un operando" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "erro de sintaxe: operador aritmético non válido" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (o elemento de erro é \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "base aritmética non válida" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "valor demasiado grande para a base" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: erro de expresión\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: non é posíbel acceder aos directorios pai" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "non é posíbel restabelecer o modo nodelay para o df %d" @@ -1081,148 +1152,148 @@ msgid "save_bash_input: buffer already exists for new fd %d" msgstr "" "save_bash_input: o almacenamento intermedio xa existe para o novo fd %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: tubería de pgrp" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "o pid `forked' %d aparece no traballo en execución %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "borrando o trabajo detido %d con grupo de proceso %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: o proceso %5ld (%s) en the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) márcase como vivo aínda" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: non existe tal pid" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Sinal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Feito" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Detido" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Detido(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "En execución" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Feito(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Saída %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Estado descoñecido" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(«core» xerado) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (dir agora: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "setpgid fillo (%ld a %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld non é un proceso fillo desta shell" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Non hai un rexistro do proceso %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: o traballo %d está detido" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: o traballo rematou" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: o trabajo %d xa está en segundo plano" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: actívase WNOHANG para evitar o bloque indefinido" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: liña %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " («core» generado)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(dir agora: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_jobs_control: fallou getpgrp" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_jobs_control: disciplina de liña" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_jobs_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "non é posíbel estabelecer o grupo de procesos de terminal (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "non hai control de trabalos nesta shell" @@ -1277,17 +1348,17 @@ msgstr "" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: os tamaños dos anacos de inicio e fin son diferentes" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: a táboa alloc está chea con FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p xa está na táboa como asignado?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p xa está na táboa como libre?\n" @@ -1311,7 +1382,7 @@ msgstr "%s: servizo non válido" msgid "%s: bad network path specification" msgstr "%s: especificación de ruta de rede errónea" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "non hai compatibilidade para operacións de rede" @@ -1349,226 +1420,261 @@ msgstr "Ten unha nova mensaxe en $_" msgid "The mail in %s has been read\n" msgstr "O correo en %s foi lido\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "error de sintaxe: requírese unha expresión aritmética" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "error sintáctico: `;' non esperado" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "erro de sintaxe: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: tipo de instrución %d erróneo" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" -"o documento-aquí na liña %d está delimitado por fin-de-fichero (agardábase `" -"%s')" +"o documento-aquí na liña %d está delimitado por fin-de-fichero (agardábase `%" +"s')" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: a instrucción de redirección `%d' está fóra de rango" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "EOF inesperado mentres se buscaba un `%c' coincidente" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "EOF inesperado mentres se buscaba `]]'" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "error de sintaxe na expresión condicional: elemento inesperado `%s'" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "error sintáctico na expresión condicional" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "elemento inesperado `%s', agardábase `)'" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "agardábase `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "argumento inesperado `%s' para o operador unario condicional" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "argumento inesperado para o operador unario condicional" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "elemento inesperado `%s', agardábase un operador binario condicional" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "agardábase un operador binario condicional" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "argumento inesperado `%s' para o operador binario condicional" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "argumento inesperado para o operador binario condicional" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "elemento inesperado `%c' na orde condicional" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "elemento inesperado `%s' na orde condicional" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "elemento inesperado %d na orde condicional" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "error de sintaxe perto do elemento inesperado `%s'" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "erro de sintaxe cerca de «%s»" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "error de sintaxe: non se agardaba o final do fichero" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "erro de sintaxe" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Use «%s» para deixar o shell.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "EOF non agardado mentres se buscaba un «)» coincidente" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: non se atopa a función `%s'" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: COMPSPEC nulo" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: conector erróneo `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: descriptor de fichero non válido" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: punteiro a ficheiro NULL" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != numfich xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: `%c': carácter de formato non válido" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "descritor de ficheiro fóra de rango" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: redireccionamento ambigüo" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: non se pode sobreescribir un fichero existente" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: restrinxido: no se pode redirixir a saída" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "non se pode crear un fichero temporal para o documento-aquí: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: non é posíbel asignar o gd á variábel" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "non se admite /dev/(tcp|udp)/anfitrion/porto sen rede" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "erro de redirección: non é posíbel duplicar o fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "non é posíbel atopar /tmp, por favor creeo!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp debe ser un nome de directorio válido" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: opción non válida" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "non é posíbel restabelecer o modo nodelay para o df %d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "non é posíbel restabelecer o modo nodelay para o df %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: é un directorio" + +#: shell.c:1777 msgid "I have no name!" msgstr "Non teño nome!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, versión %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1577,44 +1683,54 @@ msgstr "" "Uso:\t%s [opción GNU longa] [opción] ...\n" "\t%s [opción GNU longa] [opción] guión-do-shell\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Opcións GNU longas:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Opcións do shell:\n" -#: shell.c:1835 +#: shell.c:1938 #, fuzzy msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-irsD o -c orde ou -O opcion_shopt\t\t(só invocación)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s ou -o opción\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Escriba `%s -c \"help set\"' para máis información sobre as opcións do " "shell.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Escriba `%s -c help' para máis información sobre as ordes internas do " "shell.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Use a orden `bashbug' para reportar erros.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: operación non válida" @@ -1788,77 +1904,92 @@ msgstr "Sinal descoñecido #" msgid "Unknown Signal #%d" msgstr "Sinal descoñecido #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "susbtitución errónea: non hai un `%s' que peche en %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: no é posíbel asignar unha lista a un membro da matriz" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "non é posíbel crear a tubería para a sustitución do proceso" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "non é posíbel crear un proceso fillo para a substitución do proceso" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "non é posíbel abrir a tubería chamada %s para lectura" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "non é posíbel abrir a tubería chamada %s para escritura" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "non é posíbel duplicar a tubería chamada %s como df %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "substitución errónea: non hai unha \"`\" que peche en %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "non é posíble crear a tubería para a substitución da orde" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "non é posíbel crear un proceso fillo para a substitución da orde" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: non é posíbel duplicar a tubería como fd 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, fuzzy, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: %s: valor non válido para o descitor de ficheiro de rastreo" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: substitución errónea" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: conta de liñas non válida" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "`%s': nome de alias non válido" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parámetro nulo ou non estabelecido" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: expresión de subcadea < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: substitución errónea" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: non é posíbel asignar de esta forma" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1866,12 +1997,12 @@ msgstr "" "versiones futuras do intérprete obligarán a evaluación como unha " "substitución aritmética" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "substitución errónea: non hai unha \"`\" que peche en %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "non hai concidencia: %s" @@ -1885,39 +2016,39 @@ msgstr "agardábase un argumento" msgid "%s: integer expression expected" msgstr "%s: agardábase unha expresión enteira" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "agardábase `)'" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "`)' agardábase, atopouse %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: agardábase un operador unario" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: agardábase un operador binario" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "falta un «]»" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "número de sinal non válido" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: valor erróneo en trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1925,86 +2056,86 @@ msgstr "" "run_pending_traps: o manexador de sinal é SIG_DFL, reenviando %d (%s) a sí " "mesmo" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: sinal errónea %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "erro ao importar a definición da función para «%s»" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "o nivel de shell (%d) é demasiado alto, restabelécese a 1" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%s: %s: valor non válido para o descitor de ficheiro de rastreo" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: non hai contexto de función no ámbito actual" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "%s: non é posíbel asignar o gd á variábel" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: %s: valor non válido para o descitor de ficheiro de rastreo" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: non hai contexto de función no ámbito actual" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s ten exportstr nulo" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "carácter non válido %d en exportsrt para %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "non hai «=» en exportstr para %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" "pop_var_context: a cabezak de shell_variables non é un contexto de función" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: non é un contexto global_variables " -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: a cabeza de shell_variables non é un ámbito de ambiente temporal" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: non é posíbel abrir como FICHEIRO" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: valor non válido para o descitor de ficheiro de rastreo" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s fóra de rango" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "Copyright (C) 2011 Free Software Foundation, Inc." #: version.c:47 version2.c:47 @@ -2030,11 +2161,6 @@ msgstr "Isto é software libre; vostede é libre de cambialo e redistribuilo.\n" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Non hai GARANTÍA, á extensión permitida pola ley.\n" -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2011 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2055,15 +2181,15 @@ msgstr "%s: %s:%d: non é posíbel asignar %lu bytes (%lu bytes asignados)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: non é posíbel asignar %lu bytes" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [nome[=valor] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] nome [nome ...]" -#: builtins.c:51 +#: builtins.c:53 #, fuzzy msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" @@ -2073,113 +2199,102 @@ msgstr "" "secteclas] [-x secteclas:orde-shell] [keyseq:función-readline ou función-" "readline]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [orde-interna-shell [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [expresión]" -#: builtins.c:64 +#: builtins.c:66 #, fuzzy msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]]] [directorio]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] orde [arg ...]" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilrtux] [-p] [nome[=valor] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +#: builtins.c:80 +#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-aAfFgilrtux] [-p] nome[=valor] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [option] nome[=valor] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f nomeficheiro] [nome ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts cadena_opcións nome [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a ome] [orde [argumentos ...]] [redirección ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e nome_e] [-lnr] [primeiro] [último] ou fc -s [pat=rep] [orde]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [id_traballo]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [id_traballo ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p ruta] [-dt] [nome ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [patrón ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2187,15 +2302,16 @@ msgstr "" "history [-c] [-d desprazamento] [n] ou history -anrw [ficheiro] ou history -" "ps arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [idtraballo ...] ou jobs -x orde [args]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [id_traballo ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2203,11 +2319,11 @@ msgstr "" "kill [-s id_sinal | -n num_sinal | -id_sinal] pid | id_traballo ... ou kill -" "l [id_sinal]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2215,165 +2331,161 @@ msgstr "" "read [-ers] [-a matriz] [-d delim] [-i texto] [-n ncars] [-N ncars] [-p " "prompt] [-t timeout] [-u fd] [nome ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o nome-opción] [--] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [nome ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [nome[=valor] ...] ou export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [nome[=valor] ...] ou readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source ficheiro [arguments]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". ficheiro [argumentos]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [expresión]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] id_sinal ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] nome [nome ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "ulimit [-SHacdefilmnpqrstuvx] [límite]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [modo]" -#: builtins.c:175 +#: builtins.c:177 #, fuzzy msgid "wait [-n] [id ...]" msgstr "wait [id]" -#: builtins.c:179 +#: builtins.c:181 #, fuzzy msgid "wait [pid ...]" msgstr "wait [id]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NOME [in PALABRAS ... ] ; do ORDES; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( exp1; exp2; exp3 )); do ORDES; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NOME [in PALABRAS ... ;] do ORDES; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] pipeline" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case PALABRA in [PATRÓN [| PATRÓN]...) ORDES ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" msgstr "if ORDES; then ORDES; [ elif ORDES; then ORDES; ]...[ else ORDES; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while ORDES; do ORDES; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until ORDES; do ORDES; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NOME] orden [redireccións]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function nome { ORDES ; } ou nome () { ORDES ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ ORDES ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( expresión ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ expresión ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - Nomes e significados de algunhas variábeis de shell" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | dir]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [nome_opción ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] formato [argumentos]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2383,28 +2495,30 @@ msgstr "" "W listapalabras] [-F función] [-C orde] [-X patfiltro] [-P prefixo] [-S " "sufixo] [nome ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o opción] [-A acción] [-G patglob] [-W " "listapalabras] [-F función] [-C orde] [-X patfiltro] [-P prefixo] [-S " "sufixo] [palabra]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o opción] [-DE] [nome ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" "mapfile [-n conta] [-O orixe] [-s conta] [-t] [-u df] [-C chamada] [-c " "quantum] [matriz]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2412,7 +2526,8 @@ msgstr "" "readarray [-n conta] [-O orixe] [-s conta] [-t] [-u df] [-C chamada] [-c " "quantum] [matriz]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2424,7 +2539,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2448,12 +2563,13 @@ msgstr "" " alias devuelve verdadero a menos que se de un NOMBRE para el cual\n" " no se haya definido ningún alias." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2463,7 +2579,7 @@ msgstr "" " -a\telimina todas as definicións de alias.\n" " Devovle verdadero a menos que un NOME non sexa un alias existente." -#: builtins.c:289 +#: builtins.c:291 #, fuzzy msgid "" "Set Readline key bindings and variables.\n" @@ -2498,7 +2614,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2545,7 +2662,7 @@ msgstr "" " bind devolve 0 a menos que se presente unha opción descoñecida ou se\n" " se produza un erro." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2563,7 +2680,7 @@ msgstr "" " Estado de saída:\n" " O estado de saída é 0 a menos que N non sexa maior ou igual a 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2581,7 +2698,7 @@ msgstr "" " Estado de Saída:\n" " O estado de salida é 0 a menos que N non sexa maior ou igual a 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2605,7 +2722,7 @@ msgstr "" " Devolve o estado de saída da ORDE-INTERNA-SHELL, ou falso se a\n" " ORDE-INTERNA-SHELL non é unha orde interna de shell." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2634,7 +2751,7 @@ msgstr "" "shell\n" " ou EXPR sexa non válida." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2657,16 +2774,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2679,13 +2796,14 @@ msgid "" " -P is used; non-zero otherwise." msgstr "" -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2708,7 +2826,7 @@ msgstr "" "leer\n" " o directorio actual." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2724,7 +2842,7 @@ msgstr "" " Estado de Saída:\n" " Sempre con éxito." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2736,7 +2854,7 @@ msgstr "" " Estado de salida:\n" " Sempre con éxito." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2748,7 +2866,7 @@ msgstr "" " Estado de saída:\n" " Sempre falla." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2758,16 +2876,16 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2777,9 +2895,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2807,17 +2925,18 @@ msgid "" " assignment error occurs." msgstr "" -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Estabelece valores de variábeis e atributos.\n" " \n" " Obsoleto. Consulte `help declare'." -#: builtins.c:535 +#: builtins.c:538 #, fuzzy msgid "" "Define local variables.\n" @@ -2844,7 +2963,7 @@ msgstr "" " Devolve con éxito a menos que se dea unha opción non válida, se produza\n" " un erro, ou o shell non estea executando unha función." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2870,15 +2989,15 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2891,7 +3010,7 @@ msgid "" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2918,7 +3037,7 @@ msgid "" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2937,7 +3056,7 @@ msgstr "" " Estado de saída:\n" " Devolve o estado de saida da orde ou éxito se a orde é nula." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2978,7 +3097,7 @@ msgid "" " encountered or an error occurs." msgstr "" -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -2989,8 +3108,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3001,7 +3120,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3013,7 +3132,7 @@ msgstr "" " Termina o shell cun estado de N. Se se omite N, o estado de saída\n" " é o mismo da última orde executada." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3026,7 +3145,7 @@ msgstr "" " Termina un shell de entrada cun estado de saída de N. Devolve un\n" " erro se non se executa nunha shell de entrada." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3056,7 +3175,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3077,7 +3196,7 @@ msgstr "" " O estado da orde localizada en primeiro plano, ou falla se sucede un " "erro." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3091,7 +3210,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3100,22 +3219,22 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3127,7 +3246,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3137,7 +3256,7 @@ msgid "" "given." msgstr "" -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -3146,23 +3265,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3171,7 +3290,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3181,7 +3300,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3195,7 +3314,7 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3205,14 +3324,14 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -3224,7 +3343,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3234,7 +3354,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3279,7 +3399,7 @@ msgid "" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3300,27 +3420,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3330,7 +3451,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3342,7 +3463,7 @@ msgid "" " Returns N, or failure if the shell is not executing a function or script." msgstr "" -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3410,7 +3531,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3427,7 +3549,7 @@ msgid "" " Returns success unless an invalid option is given." msgstr "" -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3437,7 +3559,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3449,7 +3571,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3468,7 +3590,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3480,9 +3602,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3490,7 +3611,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3501,7 +3622,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3515,7 +3636,7 @@ msgid "" " FILENAME cannot be read." msgstr "" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3541,7 +3662,7 @@ msgstr "" " Devolve con éxito a menos que non estea activo o control de traballos o\n" " se produza un erro." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3605,9 +3726,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3624,7 +3745,7 @@ msgid "" " false or an invalid argument is given." msgstr "" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3636,7 +3757,7 @@ msgstr "" " Este é un sinónimo para a orde interna \"test\", pero o último\n" " argumento debe ser un `]' literal, que coincida co `[' inicial." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3655,7 +3776,7 @@ msgstr "" " Estado de saída:\n" " Sempre con éxito." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3699,7 +3820,7 @@ msgid "" "given." msgstr "" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3708,18 +3829,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3729,7 +3850,7 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3747,6 +3868,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3758,7 +3880,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3776,7 +3899,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3794,7 +3917,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 #, fuzzy msgid "" "Wait for job completion and return exit status.\n" @@ -3824,7 +3947,7 @@ msgstr "" " Devolve o estado de ID; falla se ID non é válido ou se se fornece unha\n" " opción non válida." -#: builtins.c:1506 +#: builtins.c:1515 #, fuzzy msgid "" "Wait for process completion and return exit status.\n" @@ -3849,7 +3972,7 @@ msgstr "" " Devolve o estado de ID; falla se ID non é válido ou se se fornece unha\n" " opción non válida." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3871,7 +3994,7 @@ msgstr "" " Estado de Saída:\n" " Devuelve o estado da última orden executada." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3901,7 +4024,7 @@ msgstr "" " Estado de saída:\n" " Devolve o estado da última orde executada." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3921,7 +4044,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3937,7 +4060,7 @@ msgid "" " The return status is the return status of PIPELINE." msgstr "" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3955,7 +4078,7 @@ msgstr "" " Estado de Saída:\n" " Devolve o estado da última orde executada." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3976,7 +4099,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3994,7 +4117,7 @@ msgstr "" " Estado de Saída:\n" " Devolve o estado da última orde executada." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4012,7 +4135,8 @@ msgstr "" " Estado de Saída:\n" " Devolve o estado da última orde executada." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4022,7 +4146,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Crea un coproceso chamado NOME.\n" " \n" @@ -4034,7 +4158,7 @@ msgstr "" " Estado de Saída:\n" " Devolve o estado de saída da ORDE." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4048,7 +4172,7 @@ msgid "" " Returns success unless NAME is readonly." msgstr "" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4066,7 +4190,7 @@ msgstr "" " Estado de Saída:\n" " Devolve o estado da última orde executada." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4080,7 +4204,7 @@ msgid "" " Returns the status of the resumed job." msgstr "" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4098,7 +4222,7 @@ msgstr "" " Estado de Saída:\n" " Devolve 1 se a EXPRESIÓN avalía a 0; devovle 0 de outra maneira." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -4126,7 +4250,7 @@ msgid "" " 0 or 1 depending on value of EXPRESSION." msgstr "" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -4180,7 +4304,8 @@ msgid "" " \t\tcommands should be saved on the history list.\n" msgstr "" -#: builtins.c:1794 +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -4190,19 +4315,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -4210,8 +4335,26 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" +"Engade un directorio ao tope da rima de directorios, ou rota\n" +" a pila, facendo que o novo tope da rima sexa o\n" +" directorio de trabajo actual. Sen argumentos, intercambia\n" +" os dous directorios do tope.\n" +" \n" +" Argumentos:\n" +" +N\tRota a pila para que o N-ésimo directorio (contando\n" +" \tda izquierda da lista mostrada por `dirs',\n" +" \tcomezando desde cero) estea no tope.\n" +" -N\tRota a pila para que o N-ésimo directorio (contando\n" +" \tda derecha da lista mostrada por `dirs',\n" +" \tcomezando desde cero) estea no tope.\n" +" \n" +" dir\tagrega DIR á rima de directorios no tope,\n" +" \tfacéndoo o novo directorio de traballo actual.\n" +" \n" +" A orde interna `dirs' mostra a rima de directorios." -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -4220,16 +4363,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -4237,8 +4380,28 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" +"Borra entradas da pila de directorios. Sen argumentos, borra\n" +" directorio do tope da pila, e cambia ao novo directorio tope.\n" +" \n" +" Opcións:\n" +" -n\tsuprime o cambio normal de directorio cando se borra\n" +" \tdirectorios da pila, así só se manipula a pila.\n" +" \n" +" Argumentos:\n" +" +N\tBorra a N-ésima entrada contando da esquerda da\n" +" \tlista mostrada por `dirs', comenzando desde cero.\n" +" \tPor exemplo: `popd +0' borra o primeiro directorio, `popd +1'\n" +" \to segundo.\n" +" \n" +" -N\tBorra a N-ésima entrada contando da derecha da\n" +" \tlista mostrada por `dirs', comezando desde cero.\n" +" \tPor exemplo: `popd -0' borra o último directorio, `popd -1'\n" +" \to penúltimo.\n" +" \n" +" A orde interna `dirs' mostra a pila de directorios." -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -4249,25 +4412,45 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"Mostra a lista de directorios actualmente gravados. Os directorios\n" +" gárdanse na lista coa orde `pushd'; pode ir saíndo da\n" +" lista coa orde `popd'.\n" +" \n" +" Opcións:\n" +" -c\tlimpa a pila de directorios, eliminando todos os elementos\n" +" -l\tnon mostra as versións con prefixo de til dos directorios\n" +" \trelativos ao seu directorio inicial\n" +" -p\tmostra a pila de directorios cunha entrada por liña\n" +" -v\tmuestra a pila de directorios cunha entrada por liña coa\n" +" \tsúa posición na pila como prefixo\n" +" \n" +" Argumentos:\n" +" +N\tMostra a N-ésima entrada contando desde a esquerda da\n" +" \tlista mostrada por dirs cando se chama sen opcións,\n" +" \tcomezando desde cero.\n" +" \n" +" -N\tMostra a N-ésima entrada contando desde a dereita da\n" +"\tlista mostrada por dirs cando se chama sen opcións,\n" +"\tcomezando desde cero." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -4304,7 +4487,7 @@ msgstr "" " Devolve con éxito se se activa NOME_OPCIÓN; falla se se fornece\n" " unha opción non válida ou NOME_OPCIÓN está desactivado." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -4321,15 +4504,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -4343,7 +4526,7 @@ msgid "" " error occurs." msgstr "" -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -4356,11 +4539,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -4370,7 +4553,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -4392,7 +4575,7 @@ msgstr "" " Devolve con éxito a menos que se forneza unha opción non válida o\n" " se produza un erro." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4423,7 +4606,7 @@ msgid "" " have a completion specification defined." msgstr "" -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4434,20 +4617,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4464,7 +4648,7 @@ msgid "" " not an indexed array." msgstr "" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -4474,6 +4658,26 @@ msgstr "" " \n" " Un sinónimo de `mapfile'." +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2011 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#, fuzzy +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2011 Free Software Foundation, Inc." + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Copyright (C) 2009 Free Software Foundation, Inc.\n" diff --git a/po/hr.gmo b/po/hr.gmo index 40d6910fa..cc117fe74 100644 Binary files a/po/hr.gmo and b/po/hr.gmo differ diff --git a/po/hr.po b/po/hr.po index 99f2d6705..f914d13a3 100644 --- a/po/hr.po +++ b/po/hr.po @@ -7,82 +7,88 @@ msgid "" msgstr "" "Project-Id-Version: bash 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2013-04-18 01:00+0200\n" "Last-Translator: Tomislav Krznar \n" "Language-Team: Croatian \n" -"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Gtranslator 2.91.6\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "neispravan indeks polja" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: ne mogu pretvoriti indeksirano u asocijativno polje" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: neispravan ključ asocijativnog polja" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: ne mogu pridružiti nenumeričkom indeksu" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: mora koristiti indeks pri pridruživanju asocijativnog polja" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: ne mogu napraviti: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: ne mogu pronaći tipkovničku mapu za naredbu" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: prvi znak različit od praznine nije „\"”" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "nema zatvorene „%c” u %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: nedostaje dvotočje za razdvajanje" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "„%s”: neispravno drugo ime" @@ -91,45 +97,45 @@ msgstr "„%s”: neispravno drugo ime" msgid "line editing not enabled" msgstr "uređivanje redaka nije omogućeno" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "„%s”: neispravno ime tipkovničke mape" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: ne mogu čitati: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "„%s”: ne mogu ukloniti vezu" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "„%s”: nepoznato ime funkcije" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s nije pridružen nijednoj tipki.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s se može pozvati pomoću " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "broj ponavljanja" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "ima značenje samo u petljama „for”, „while” ili „until”" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -139,300 +145,329 @@ msgstr "" " \n" " Bez IZRAZA vraća " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME nije postavljen" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "previše argumenata" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "nema drugog direktorija" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD nije postavljen" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "redak %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "upozorenje: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: uporaba: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: opcija zahtijeva argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: potreban je numerički argument" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: nije pronađen" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: neispravna opcija" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: neispravno ime opcije" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "„%s”: nije ispravan identifikator" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "neispravan oktalni broj" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "neispravan heksadekadski broj" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "neispravan broj" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: neispravno naveden signal" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "„%s”: nije pid ili ispravno naveden zadatak" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: varijabla samo za čitanje" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s je izvan granica" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s je izvan granica" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: nema takvog zadatka" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: nema kontrole zadataka" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "nema kontrole zadataka" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: ograničeno" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "ograničeno" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: nije ugrađen u ljusku" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "greška pisanja: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "greška pri postavljanju svojstava terminala: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "greška pri preuzimanju svojstava terminala: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: greška pri otkrivanju trenutnog direktorija: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: višeznačan navod zadatka" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: neispravno ime radnje" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: nije navedeno nadopunjavanje" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "upozorenje: opcija -F možda neće raditi kako želite" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "upozorenje: opcija -C možda neće raditi kako želite" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "trenutno ne izvršavam funkciju nadopunjavanja" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "može se koristiti samo u funkciji" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "„%s”: neispravno drugo ime" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "ne mogu koristiti „-f” za izradu funkcija" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: funkcija samo za čitanje" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: ne mogu uništiti varijable polja na ovaj način" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: ne mogu pretvoriti asocijativno u indeksirano polje" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dinamičko učitavanje nije dostupno" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "ne mogu otvoriti dijeljeni objekt %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "ne mogu pronaći %s u dijeljenom objektu %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: nije dinamički učitan" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: ne mogu ukloniti: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: to je direktorij" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: nije obična datoteka" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: datoteka je prevelika" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: ne mogu izvršiti binarnu datoteku" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: ne mogu izvršiti: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "odjava\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "nije prijavna ljuska: koristite „exit”" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Ima zaustavljenih zadataka.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Ima pokrenutih zadataka.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "naredba nije pronađena" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "specifikacija povijesti" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: ne mogu otvoriti privremenu datoteku: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "trenutno" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "zadatak %d pokrenut bez kontrole zadataka" @@ -451,17 +486,17 @@ msgstr "%s: opcija zahtijeva argument -- %c\n" msgid "hashing disabled" msgstr "raspršivanje onemogućeno" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: tablica raspršivanja prazna\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "pogoci\tnaredba\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" @@ -469,7 +504,7 @@ msgstr[0] "Naredbe ljuske koje odgovaraju ključnoj riječi „" msgstr[1] "Naredbe ljuske koje odgovaraju ključnim riječima „" msgstr[2] "Naredbe ljuske koje odgovaraju ključnim riječima „" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -477,12 +512,12 @@ msgstr "" "nisu pronađene teme pomoći za „%s”. Pokušajte „help help”, „man -k %s” ili " "„info %s”." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: ne mogu otvoriti: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -502,15 +537,20 @@ msgstr "" "Zvjezdica (*) pokraj imena označava onemogućenu naredbu.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "ne mogu koristiti više od jedne od opcija -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "mjesto u povijesti" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: neispravan argument ograničenja" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: proširenje povijesti nije uspjelo" @@ -524,113 +564,113 @@ msgstr "%s: inlib nije uspio" msgid "no other options allowed with `-x'" msgstr "nisu dozvoljene druge opcije uz „-x”" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argumenti moraju biti identifikatori procesa ili zadataka" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Nepoznata greška" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "očekujem izraz" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: nije indeksirano polje" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: neispravno naveden opisnik datoteke" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: neispravan opisnik datoteke: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: neispravan broj redaka" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: neispravan izvor polja" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: neispravan element povratnog poziva" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "prazno ime varijable polja" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "potrebna je podrška varijable polja" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "„%s”: nedostaje znak oblika" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "„%c”: neispravno naveden oblik vremena" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "„%c”: neispravan znak oblika" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "upozorenje: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "nedostaje heksadekadska znamenka za \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "nedostaje unicode znamenka za \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "nema drugog direktorija" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: neispravan argument ograničenja" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "stog direktorija je prazan" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "indeks stoga direktorija" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -674,7 +714,7 @@ msgstr "" "naredba\n" "\t„dirs” pozvana bez opcija, počevši od nule." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -699,7 +739,7 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -720,143 +760,153 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: neispravno navedeno vremensko ograničenje" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "greška čitanja: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "pozivanje „return” je moguće samo iz funkcije ili pokrenute skripte" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "ne mogu istovremeno poništiti funkciju i varijablu" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: ne mogu poništiti" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: ne mogu poništiti: %s je samo za čitanje" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: nije varijabla polja" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: nije funkcija" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: ne mogu poništiti" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "broj pomaka" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "ne mogu istovremeno postaviti i poništiti opcije ljuske" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: neispravno ime opcije ljuske" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "potrebno je ime datoteke kao argument" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: datoteka nije pronađena" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "ne mogu zaustaviti" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "ne mogu zaustaviti prijavnu ljusku" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s je drugo ime za „%s”\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s je ključna riječ ljuske\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s je funkcija\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s je ugrađen u ljusku\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s je ugrađen u ljusku\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s je %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s je raspršen (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: neispravan argument ograničenja" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "„%c”: neispravna naredba" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: ne mogu otkriti ograničenje: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "ograničenje" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: ne mogu urediti ograničenje: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "oktalni broj" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "„%c”: neispravan operator simboličkog načina" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "„%c”: neispravan znak simboličkog načina" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " redak " @@ -870,82 +920,103 @@ msgstr "posljednja naredba: %s\n" msgid "Aborting..." msgstr "Prekidam..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "nepoznata greška naredbe" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "neispravna vrsta naredbe" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "neispravno spajanje" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "neispravan skok" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: nepovezana varijabla" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\avrijeme čekanja ulaza je isteklo: automatska-odjava\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "ne mogu preusmjeriti standardni ulaz iz /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: „%c”: neispravan znak oblika" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "greška cjevovoda" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: ograničeno: ne možete navesti „/” u imenu naredbe" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: naredba nije pronađena" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: neispravan tumač" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: ne mogu izvršiti binarnu datoteku" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, fuzzy, c-format msgid "`%s': is a special builtin" msgstr "%s je ugrađen u ljusku\n" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "ne mogu udvostručiti opisnik datoteke %d u opisnik datoteke %d" @@ -990,37 +1061,37 @@ msgstr "očekujem identifikator nakon pred-povećanja ili pred-smanjenja" msgid "missing `)'" msgstr "nedostaje „)”" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "sintaksna greška: očekujem operand" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "sintaksna greška: neispravan aritmetički operator" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (simbol greške je „%s”)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "neispravna aritmetička baza" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "vrijednost baze je prevelika" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: greška izraza\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: ne mogu pristupiti nadređenim direktorijima" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "" @@ -1035,148 +1106,148 @@ msgstr "ne mogu alocirati novi datotečni opisnik za bash ulaz iz fd %d" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: međuspremnik već postoji za novi fd %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "razdvojen pid %d se javlja u pokrenutom zadatku %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "uklanjam zaustavljeni zadatak %d s grupom procesa %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: proces %5ld (%s) u the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) označen kao još živ" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: ne postoji takav pid" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Gotovo" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Zaustavljen" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Zaustavljen(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Pokrenut" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Gotovo(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Izlaz %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Nepoznato stanje" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(jezgra izbačena) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld nije dijete ove ljuske" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Ne postoji zapis o procesu %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: zadatak %d je zaustavljen" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: zadatak je dovršen" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: zadatak %d je već u pozadini" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: redak %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (jezgra izbačena)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(sadašnji wd: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp nije uspio" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "ne mogu postaviti grupu procesa terminala (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "nema kontrole zadataka u ovoj ljusci" @@ -1228,17 +1299,17 @@ msgstr "realloc: otkriven podljev, mh_nbytes izvan granica" msgid "realloc: start and end chunk sizes differ" msgstr "" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p već u tablici kao oslobođen?\n" @@ -1262,7 +1333,7 @@ msgstr "%s: neispravna usluga" msgid "%s: bad network path specification" msgstr "%s: neispravno navedena mrežna putanja" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "mrežne operacije nisu podržane" @@ -1299,224 +1370,259 @@ msgstr "Imate novu poštu u $_" msgid "The mail in %s has been read\n" msgstr "Pošta u %s je pročitana\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "sintaksna greška: potreban aritmetički izraz" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "sintaksna greška: neočekivana „;”" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "sintaksna greška: „((%s))”" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: neispravna vrsta instrukcije %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "neočekivani EOF pri traženju odgovarajućeg „%c”" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "neočekivani EOF pri traženju „]]”" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "sintaksna greška u uvjetnom izrazu: neočekivani simbol „%s”" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "sintaksna greška u uvjetnom izrazu" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "neočekivani simbol „%s”, očekujem „)”" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "očekujem „)”" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "neočekivani argument „%s” uvjetnom unarnom operatoru" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "neočekivani argument uvjetnom unarnom operatoru" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "neočekivani simbol „%s”, očekujem uvjetni binarni operator" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "očekujem uvjetni binarni operator" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "neočekivani argument „%s” uvjetnom binarnom operatoru" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "neočekivani argument uvjetnom binarnom operatoru" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "neočekivani simbol „%c” u uvjetnoj naredbi" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "neočekivani simbol „%s” u uvjetnoj naredbi" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "neočekivani simbol %d u uvjetnoj naredbi" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "sintaksna greška kod neočekivanog simbola „%s”" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "sintaksna greška kod „%s”" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "sintaksna greška: neočekivani kraj datoteke" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "sintaksna greška" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Koristite „%s” za napuštanje ljuske.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "neočekivani EOF pri traženju odgovarajuće „)”" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: funkcija „%s” nije pronađena" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: neispravan opisnik datoteke" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: NULL pokazivač na datoteku" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "opisnik datoteke izvan granica" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: višeznačno preusmjeravanje" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: ne mogu pisati preko postojeće datoteke" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: ograničeno: ne mogu preusmjeriti izlaz" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "ne mogu napraviti privremenu datoteku za here-document: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: ne mogu pridružiti opisnik datoteke varijabli" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port nije podržan bez umrežavanja" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "greška preusmjeravanja: ne mogu udvostručiti opisnik datoteke" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "ne mogu pronaći /tmp, molim, napravite ga!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp mora biti ispravno ime direktorija" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: neispravna opcija" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: to je direktorij" + +#: shell.c:1777 msgid "I have no name!" msgstr "Nemam ime!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, inačica %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1525,39 +1631,49 @@ msgstr "" "Uporaba: %s [GNU dugačka opcija] [opcija] ...\n" "\t %s [GNU dugačka opcija] [opcija] skripta ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU dugačke opcije:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Opcije ljuske:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Koristite naredbu „bashbug” za prijavljivanje grešaka.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "" @@ -1731,89 +1847,104 @@ msgstr "Nepoznat signal #" msgid "Unknown Signal #%d" msgstr "Nepoznat signal #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "neispravna zamjena: nema zatvorene „%s” u %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: ne mogu pridružiti popis elementu polja" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "ne mogu napraviti cjevovod za zamjenu procesa" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "ne mogu napraviti dijete za zamjenu procesa" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "ne mogu otvoriti imenovani cjevovod %s za čitanje" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "ne mogu otvoriti imenovani cjevovod %s za pisanje" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "ne mogu udvostručiti imenovani cjevovod %s kao opisnik datoteke %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "neispravna zamjena: nema zatvorenog „`” u %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "ne mogu napraviti cjevovod za zamjenu naredbi" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "ne mogu napraviti dijete za zamjenu naredbi" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" "command_substitute: ne mogu udvostručiti cjevovod kao opisnik datoteke 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: neispravna zamjena" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: neispravan broj redaka" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "„%s”: neispravno drugo ime" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parametar prazan ili nije postavljen" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: izraz podniza < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: neispravna zamjena" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: ne mogu pridružiti na ovaj način" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "buduće inačice ljuske će prisiliti procjenu kao aritmetičku zamjenu" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "neispravna zamjena: nema zatvorenog „`” u %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "nema podudaranja: %s" @@ -1827,122 +1958,122 @@ msgstr "očekujem argument" msgid "%s: integer expression expected" msgstr "%s: očekujem cjelobrojni izraz" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "očekujem „)”" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "očekujem „)”, našao %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: očekujem unarni operator" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: očekujem binarni operator" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "nedostaje „]”" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "neispravan broj signala" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: neispravan signal %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "greška pri uvozu definicije funkcije za „%s”" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "razina ljuske (%d) je previsoka, vraćam na 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "%s: ne mogu pridružiti opisnik datoteke varijabli" -#: variables.c:3646 +#: variables.c:3043 +#, c-format +msgid "%s: assigning integer to name reference" +msgstr "" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s ima prazan exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: ne mogu otvoriti kao DATOTEKU" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s je izvan granica" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "Copyright © 2011 Free Software Foundation, Inc." #: version.c:47 version2.c:47 @@ -1968,11 +2099,6 @@ msgstr "Ovo je slobodan softver, slobodno ga smijete mijenjati i dijeliti.\n" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "NEMA JAMSTAVA, do krajnje mjere dozvoljene zakonom.\n" -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright © 2011 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -1993,340 +2119,325 @@ msgstr "%s: %s:%d: ne mogu alocirati %lu bajtova (alocirano %lu bajtova)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: ne mogu alocirati %lu bajtova" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [ime[=vrijednost] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] ime [ime ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "" - -#: builtins.c:72 -msgid "false" -msgstr "" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "alias [-p] [ime[=vrijednost] ... ]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "" - #: builtins.c:80 +#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "alias [-p] [ime[=vrijednost] ... ]" + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "" -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" msgstr "" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unalias [-a] ime [ime ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr "" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "" -#: builtins.c:158 -msgid "test [expr]" -msgstr "" - #: builtins.c:160 -msgid "[ arg... ]" +msgid "test [expr]" msgstr "" #: builtins.c:162 -msgid "times" +msgid "[ arg... ]" msgstr "" -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" msgstr "" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( izraz ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ izraz ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | direktorij]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2338,7 +2449,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2346,17 +2457,17 @@ msgid "" " defined." msgstr "" -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2390,14 +2501,15 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2408,7 +2520,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2419,7 +2531,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2433,7 +2545,7 @@ msgid "" " not a shell builtin.." msgstr "" -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2449,7 +2561,7 @@ msgid "" " is invalid." msgstr "" -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2472,16 +2584,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2494,13 +2606,13 @@ msgid "" " -P is used; non-zero otherwise." msgstr "" -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2510,7 +2622,7 @@ msgid "" " cannot be read." msgstr "" -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2526,7 +2638,7 @@ msgstr "" " Izlazno stanje:\n" " Uvijek uspješno." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2538,7 +2650,7 @@ msgstr "" " Izlazno stanje:\n" " Uvijek uspješno." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2550,7 +2662,7 @@ msgstr "" " Izlazno stanje:\n" " Uvijek neuspješno." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2560,16 +2672,16 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2579,9 +2691,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2609,17 +2721,18 @@ msgid "" " assignment error occurs." msgstr "" -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Postavi vrijednosti i svojstva varijabli.\n" " \n" " Zastarjelo. Pogledajte „help declare”." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2634,7 +2747,7 @@ msgid "" " assignment error occurs, or the shell is not executing a function." msgstr "" -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2660,15 +2773,15 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2681,7 +2794,7 @@ msgid "" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2708,7 +2821,7 @@ msgid "" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2720,7 +2833,7 @@ msgid "" " Returns exit status of command or success if command is null." msgstr "" -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2761,7 +2874,7 @@ msgid "" " encountered or an error occurs." msgstr "" -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -2772,8 +2885,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2784,7 +2897,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -2796,7 +2909,7 @@ msgstr "" " Izlazi iz ljuske sa stanjem N. Ako N nije naveden, izlazno stanje je\n" " isto kao i stanje zadnje izvršene naredbe." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2809,7 +2922,7 @@ msgstr "" " Izlazi iz prijavne ljuske s izlaznim stanjem N. Vraća grešku ako nije\n" " izvršeno u prijavnoj ljusci." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2839,7 +2952,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2851,7 +2964,7 @@ msgid "" " Status of command placed in foreground, or failure if an error occurs." msgstr "" -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2865,7 +2978,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -2874,22 +2987,22 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -2901,7 +3014,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2911,7 +3024,7 @@ msgid "" "given." msgstr "" -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -2920,23 +3033,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -2945,7 +3058,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -2955,7 +3068,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -2969,7 +3082,7 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -2979,14 +3092,14 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -2998,7 +3111,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3008,7 +3122,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3053,7 +3167,7 @@ msgid "" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3074,27 +3188,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3104,7 +3219,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3116,7 +3231,7 @@ msgid "" " Returns N, or failure if the shell is not executing a function or script." msgstr "" -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3184,7 +3299,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3201,7 +3317,7 @@ msgid "" " Returns success unless an invalid option is given." msgstr "" -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3211,7 +3327,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3223,7 +3339,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3242,7 +3358,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3254,9 +3370,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3264,7 +3379,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3275,7 +3390,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3289,7 +3404,7 @@ msgid "" " FILENAME cannot be read." msgstr "" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3303,7 +3418,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3367,9 +3482,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3386,7 +3501,7 @@ msgid "" " false or an invalid argument is given." msgstr "" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3394,7 +3509,7 @@ msgid "" " be a literal `]', to match the opening `['." msgstr "" -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3406,7 +3521,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3450,7 +3565,7 @@ msgid "" "given." msgstr "" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3459,18 +3574,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3480,7 +3595,7 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3498,6 +3613,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3509,7 +3625,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3527,7 +3644,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3545,7 +3662,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3565,7 +3682,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3580,7 +3697,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3593,7 +3710,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3610,7 +3727,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3630,7 +3747,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3646,7 +3763,7 @@ msgid "" " The return status is the return status of PIPELINE." msgstr "" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3657,7 +3774,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3678,7 +3795,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3689,7 +3806,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -3700,7 +3817,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3710,10 +3827,10 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3727,7 +3844,7 @@ msgid "" " Returns success unless NAME is readonly." msgstr "" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -3738,7 +3855,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3752,7 +3869,7 @@ msgid "" " Returns the status of the resumed job." msgstr "" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3763,7 +3880,7 @@ msgid "" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3791,7 +3908,7 @@ msgid "" " 0 or 1 depending on value of EXPRESSION." msgstr "" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3845,7 +3962,7 @@ msgid "" " \t\tcommands should be saved on the history list.\n" msgstr "" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -3855,19 +3972,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3876,7 +3993,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -3885,16 +4002,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3903,7 +4020,8 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -3914,25 +4032,45 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"Prikaži popis trenutno zapamćenih direktorija. Direktoriji se dodaju\n" +" na popis naredbom „pushd”, kroz popis se možete vraćati naredbom\n" +" „popd”.\n" +" \n" +" Opcije:\n" +" -c\točisti stog direktorija uklanjanjem svih elemenata\n" +" -l\tne ispisuj tildom prefiksirane inačice direktorija\n" +" \trelativno u odnosu na početni direktorij\n" +" -p\tispiši stog direktorija jednu stavku po retku\n" +" -v\tispiši stog direktorija jednu stavku po retku\n" +" \tprefiksiranu položajem u stogu\n" +" \n" +" Argumenti:\n" +" +N\tPrikazuje N-tu stavku s lijeve strane popisa koju prikazuje " +"naredba\n" +" \t„dirs” pozvana bez opcija, počevši od nule.\n" +" \n" +" -N\tPrikazuje N-tu stavku s desne strane popisa koju prikazuje " +"naredba\n" +"\t„dirs” pozvana bez opcija, počevši od nule." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -3953,7 +4091,7 @@ msgid "" " given or OPTNAME is disabled." msgstr "" -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -3970,15 +4108,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -3992,7 +4130,7 @@ msgid "" " error occurs." msgstr "" -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -4005,11 +4143,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -4019,7 +4157,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -4032,7 +4170,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4063,7 +4201,7 @@ msgid "" " have a completion specification defined." msgstr "" -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4074,20 +4212,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4104,7 +4243,7 @@ msgid "" " not an indexed array." msgstr "" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -4114,6 +4253,17 @@ msgstr "" " \n" " Sinonim za „mapfile”." +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright © 2011 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#, fuzzy +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright © 2011 Free Software Foundation, Inc." + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Copyright © 2009 Free Software Foundation, Inc.\n" diff --git a/po/hu.gmo b/po/hu.gmo index 9309181af..a1b022e36 100644 Binary files a/po/hu.gmo and b/po/hu.gmo differ diff --git a/po/hu.po b/po/hu.po index a49d913ed..c206a0eff 100644 --- a/po/hu.po +++ b/po/hu.po @@ -1,87 +1,97 @@ # Hungarian translation for bash. -# Copyright (C) 2010 Free Software Foundation, Inc. +# Copyright (C) 2010, 2016 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. # -# Mate Ory , 2010. +# Mate Ory , 2010, 2016. +# Gabor Kelemen , 2016. msgid "" msgstr "" -"Project-Id-Version: bash-4.1\n" +"Project-Id-Version: bash 4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2010-08-06 17:44+0200\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2016-01-03 23:59+0100\n" "Last-Translator: Mate Ory \n" "Language-Team: Hungarian \n" -"Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.5\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "Hibás tömbindex" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: nem lehetséges az indexelt tömb asszociatívvá alakítása" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: érvénytelen asszociatívtömb-index" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: a nem-szám indexnek való értékadás nem lehetséges" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: asszociatív tömbhöz való értékadásnál meg kell adni az indexet" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: nem hozható létre: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: nem található billentyűkiosztás a parancshoz" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: az első nem szóközkarakter nem „\"”" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "nincs záró „%c” a következőben: %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: hiányzó kettőspont-elválasztó" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "szögleteszárójel-kiegészítés: Nem foglalható memória ehhez: %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" +"szögleteszárójel-kiegészítés: nem sikerült a memóriafoglalás %d elem számára" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" +"szögleteszárójel-kiegészítés: nem sikerült a memóriafoglalás „%s” számára" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "„%s”: érvénytelen alias-név" @@ -90,46 +100,46 @@ msgstr "„%s”: érvénytelen alias-név" msgid "line editing not enabled" msgstr "nincs engedélyezve a sorszerkesztés" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "„%s”: érvénytelen billentyűkiosztás-név" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: nem olvasható a következő: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "„%s”: nem lehetséges a kötés megszüntetése" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "„%s”: ismeretlen függvénynév" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s nincs kötve egy billentyűhöz sem.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s a következő módon hajtható végre: " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "ciklusszám" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "csak „for”, „while” és „until” ciklusokban értelmezhető" # see $ help caller -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -139,300 +149,329 @@ msgstr "" " \n" " EXPR nélkül a " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "Nincs beállítva HOME" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "túl sok argumentum" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "nincs másik könyvtár" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "Nincs beállítva OLDPWD" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "%d. sor: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "figyelmeztetés: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: használat: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: a kapcsolónak kötelező argumentuma van" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: a kötelező argumentum egy szám" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: nem található" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: érvénytelen kapcsoló" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: érvénytelen kapcsolónév" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "„%s”: érvénytelen azonosító" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "érvénytelen oktális szám" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "érvénytelen hexadecimális szám" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "érvénytelen szám" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: érvénytelen szignálmegadás" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "„%s”: nem pid vagy munkaazonosító" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: csak olvasható változó" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s kívül esik a tartományon" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argumentum" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s kívül esik a tartományon" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: nincs ilyen munka" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: nincs munkakezelés" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "nincs munkakezelés" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: korlátozott" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "korlátozott" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: nem beépített parancs" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "írási hiba: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "hiba a terminálattribútum beállításakor: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "hiba a terminálattribútum lekérdezésekor: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: hiba a munkakönyvtár lekérdezésekor: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: kétértelmű munkamegadás" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "ebben a verzióban nem érhető el súgó" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: érvénytelen műveletnév" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: nincs kiegészítés meghatározva" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "figyelmeztetés: a -F kapcsoló nem a várt módon működhet" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "figyelmeztetés: a -C kapcsoló nem a várt módon működhet" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "jelenleg nincs kiegészítési függvény végrehajtás alatt" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "csak függvényben használható" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" -msgstr "" +msgstr "%s: a referenciaváltozó nem lehet tömb" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" -msgstr "" +msgstr "%s: a névhivatkozás változó önhivatkozása nem engedélyezett" + +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: körkörös névhivatkozás" -#: builtins/declare.def:398 +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: érvénytelen változóérték a névhivatkozáshoz" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "nem használható a „-f” függvény létrehozására" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: csak olvasható függvény" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: az idézőjelezett összetett tömb értékadása elavult" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: ilyen módon nem lehet tömböt megszüntetni" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: nem lehetséges az asszociatív tömb indexeltté alakítása" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "a dinamikus betöltés nem érhető el" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "megosztott objektumfájl megnyitása sikertelen: %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "%s nem található a(z) %s megosztott objektumfájlban: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "%s betöltési függvénye hibát ad vissza (%d): nincs betöltve" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: nem dinamikusan van betöltve" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: nem törölhető: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s egy könyvtár" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: nem normál fájl" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: a fájl túl nagy" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: bináris nem hajtható végre" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: nem hajtható végre: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "kijelentkezés\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "nem bejelentkező parancsértelmező: használja az „exit”-et" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Vannak leállított munkák.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Vannak futó munkák.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "nincs ilyen parancs" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "előzményválasztás" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: az átmeneti fájl nem nyitható meg: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "aktuális" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "a(z) %d. munka munkakezelés nélkül indult" @@ -451,25 +490,24 @@ msgstr "%s: a kapcsolónak kötelező argumentuma van – %c\n" msgid "hashing disabled" msgstr "a hashelés le van tiltva" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: a hashtábla üres\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "t.szám\tparancs\n" -# fuck. -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "A következő kifejezésre illeszkedő parancsok: „" msgstr[1] "A következő kifejezésekre illeszkedő parancsok: „" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -477,12 +515,12 @@ msgstr "" "nem illeszkedik egy szócikk sem a következőre: „%s”.\n" "A „help help”, „man -k '%s'” vagy „info '%s'” parancsok segíthetnek." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: nem nyitható meg: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -501,15 +539,20 @@ msgstr "" "A parancs nevét követő csillag (*) azt jelzi, hogy le van tiltva.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "a következő kapcsolók kizárják egymást: -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "előzménypozíció" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: érvénytelen argumentum" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: sikertelen előzményből való kiegészítés" @@ -523,113 +566,113 @@ msgstr "%s: sikertelen inlib" msgid "no other options allowed with `-x'" msgstr "a „-x” mellett nem használható más kapcsoló" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: az argumentumok folyamat- vagy munkaazonosítók lehetnek" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Ismeretlen hiba" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "az értelmező kifejezést várt" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: nem egy indexelt tömb" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: érvénytelen fájlleíró-megadás" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: érvénytelen fájlleíró: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: sorok száma érvénytelen" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: érvénytelen tömbkezdet" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: érvénytelen parancshívási távolság" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "üres tömbváltozó-név" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "a tömbök használata nincs támogatva" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "„%s”: hiányzó formátumkarakter" -#: builtins/printf.def:456 -#, fuzzy, c-format +#: builtins/printf.def:467 +#, c-format msgid "`%c': invalid time format specification" -msgstr "%s: érvénytelen időkorlát-megadás" +msgstr "„%c”: érvénytelen időformátum-megadás" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "„%c”: érvénytelen formátumkarakter" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "figyelmeztetés: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "formátumfeldolgozási probléma: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "hiányzó hexadecimális számjegy a következőhöz: \\x" -#: builtins/printf.def:880 -#, fuzzy, c-format +#: builtins/printf.def:893 +#, c-format msgid "missing unicode digit for \\%c" -msgstr "hiányzó hexadecimális számjegy a következőhöz: \\x" +msgstr "hiányzó unicode számjegy a következőhöz: \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "nincs másik könyvtár" -#: builtins/pushd.def:354 -#, fuzzy, c-format +#: builtins/pushd.def:360 +#, c-format msgid "%s: invalid argument" -msgstr "%s: érvénytelen korlátérték" +msgstr "%s: érvénytelen argumentum" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "a könyvtárverem üres" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "könyvtárveremindex" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -652,22 +695,24 @@ msgid "" "by\n" "\tdirs when invoked without options, starting with zero." msgstr "" -"Megjeleníti a jelenleg megjegyzett könyvtárakat. A könyvtárakat a „pushd”\n" -"paranccsal lehet a verembe rakni; és a „popd” paranccsal kivenni.\n" +"Megjeleníti a jelenleg megjegyzett könyvtárakat. A könyvtárakat a\n" +" „pushd” paranccsal lehet a verembe rakni; és a „popd” paranccsal " +"kivenni.\n" " \n" " Kapcsolók:\n" -" -c a könyvtárverem törlése az összes elem eltávolításával\n" -" -l a saját könyvtárat ne rövidítse a listázáskor egy tilde (~)\n" -" -p a könyvtárverem kiírása soronként egy elemmel\n" -" -v a könyvtárverem kiírása soronként egy elemmel, a vermen\n" -" belüli pozíció jelölésével\n" +" -c\ta könyvtárverem törlése az összes elem eltávolításával\n" +" -l\ta saját könyvtárat ne rövidítse a listázáskor egy tilde (~)\n" +" -p\ta könyvtárverem kiírása soronként egy elemmel\n" +" -v\ta könyvtárverem kiírása soronként egy elemmel, a vermen\n" +" \tbelüli pozíció jelölésével\n" " \n" " Argumentumok:\n" -" +N N darab bejegyzést jelenít meg az argumentum nélkül a dirs\n" -" által megjelenített listán balról számolva, nullától kezdve\n" -" -N N darab bejegyzést jelenít meg a listából jobbról számolva" +" +N\tN darab bejegyzést jelenít meg az argumentum nélkül a dirs\n" +" \táltal megjelenített listán balról számolva, nullától kezdve.\n" +" -N\tN darab bejegyzést jelenít meg az argumentum nélkül a dirs\n" +" \táltal megjelenített listán jobbról számolva, nullától kezdve." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -691,29 +736,29 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" -"Egy könyvtárat tesz a könyvtárverem tetejére, vagy forgatja a vermet, az új\n" -"felső elemmé a jelenlegi munkakönyvtárat téve. Argumentumok nélkül hívva a\n" -"két felső könyvtárat cseréli meg.\n" +"Egy könyvtárat tesz a könyvtárverem tetejére, vagy forgatja a vermet,\n" +" az új felső elemmé a jelenlegi munkakönyvtárat téve. Argumentumok\n" +" nélkül hívva a két felső könyvtárat cseréli meg.\n" " \n" " Kapcsolók:\n" -" -n Ne váltson könyvtárat hozzáadáskor, vagyis csak a\n" -" vermet változtassa.\n" +" -n\tNe váltson könyvtárat hozzáadáskor, vagyis csak a\n" +" \tvermet változtassa.\n" " \n" " Argumentumok:\n" -" +N Úgy forgatja a vermet, hogy az N-edik könyvtár (0-tól\n" -" kezdve, a „dirs” által kiírt listán balról számolva)\n" -" kerüljön a verem tetejére.\n" +" +N\tÚgy forgatja a vermet, hogy az N-edik könyvtár (0-tól\n" +" \tkezdve, a „dirs” által kiírt listán balról számolva)\n" +" \tkerüljön a verem tetejére.\n" " \n" -" -N Úgy forgatja a vermet, hogy az N-edik könyvtár (0-tól\n" -" kezdve, a „dirs” által kiírt listán jobbról számolva)\n" -" kerüljön a verem tetejére.\n" +" -N\tÚgy forgatja a vermet, hogy az N-edik könyvtár (0-tól\n" +" \tkezdve, a „dirs” által kiírt listán jobbról számolva)\n" +" \tkerüljön a verem tetejére.\n" " \n" -" dir A verem tetejére helyezi KTÁR könyvtárat, és ugyanezt\n" -" állítja be új munkakönyvtárnak.\n" +" dir\tA verem tetejére helyezi KTÁR könyvtárat, és ugyanezt\n" +" \tállítja be új munkakönyvtárnak.\n" " \n" " A „dirs” beépített parancs listázza a könyvtárvermet." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -733,163 +778,173 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" -"Elemeket vesz ki a könyvtárveremből. Argumentumok nélkül kiveszi a legfel-\n" -"ső elemet, és a kivett elemre állítja az új munkakönyvtárat.\n" +"Elemeket vesz ki a könyvtárveremből. Argumentumok nélkül kiveszi a\n" +" legfelső elemet, és a kivett elemre állítja az új munkakönyvtárat.\n" " \n" " Kapcsolók:\n" -" -n Ne váltson könyvtárat eltávolításkor, vagyis csak a vermet\n" -" változtassa.\n" +" -n\tNe váltson könyvtárat eltávolításkor, vagyis csak a vermet\n" +" \tváltoztassa.\n" " \n" " Argumentumok:\n" -" +N Eltávolítja az N-edik elemet a „dirs” által kiírt listán, nullá-\n" -" tól, balról számolva. Pl. a „popd +0” az első, míg a „popd +1” a\n" -" könyvtárat távolítja el.\n" -" -N Eltávolítja az N-edik elemet a „dirs” által kiírt listán, nullá-\n" -" tól, jobbról számolva. Pl. a „popd -0” az utolsó, a „popd -1” az\n" -" utolsó előtti könyvtárat távolítja el.\n" +" +N\tEltávolítja az N-edik elemet a „dirs” által kiírt listán,\n" +" \tnullától, balról számolva. Pl. a „popd +0” az első, míg a\n" +" \t„popd +1” a második könyvtárat távolítja el.\n" +" -N\tEltávolítja az N-edik elemet a „dirs” által kiírt listán,\n" +" \tnullától, jobbról számolva. Pl. a „popd -0” az utolsó,\n" +" \ta „popd -1” az utolsó előtti könyvtárat távolítja el.\n" " \n" " A „dirs” beépített parancs listázza a könyvtárvermet." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: érvénytelen időkorlát-megadás" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "olvasási hiba: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" "csak függvényből vagy source-olt parancsfájlból lehet „return”-nel " "visszatérni" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "nem lehet egyszerre függvényt és változót megszüntetni" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: nem szüntethető meg" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: nem szüntethető meg: csak olvasható %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: nem egy tömbváltozó" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: nem függvény" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: nem exportálható" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "shift-szám" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "" "nem lehet egyszerre beállítani és törölni parancsértelmező-beállításokat" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: érvénytelen parancsértelmezőkapcsoló-név" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "fájlnévargumentum szükséges" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: a fájl nem található" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "nem lehet szüneteltetni" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "nem lehet bejelentkező parancsértelmezőt szüneteltetni" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s egy alias a következőre: „%s”\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" -msgstr "%s nem parancsértelmező-kulcsszó\n" +msgstr "%s egy parancsértelmező-kulcsszó\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s egy függvény\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s egy speciális beépített parancs\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s egy beépített parancs\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" -msgstr "%s egy %s\n" +msgstr "%s: %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s hashelve van (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: érvénytelen korlátérték" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "„%c”: érvénytelen parancs" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: nem kérdezhető le a korlát: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "korlát" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: nem módosítható a korlát: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "oktális szám" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "„%c”: érvénytelen szimbolikus módoperátor" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "„%c”: érvénytelen szimbolikus módkarakter" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " sor: " @@ -903,82 +958,103 @@ msgstr "utolsó parancs: %s\n" msgid "Aborting..." msgstr "Megszakítás..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORM: " + +#: error.c:463 msgid "unknown command error" msgstr "hiba: érvénytelen parancs" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "hibás parancstípus" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "hibás csatlakozó" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "hibás ugrás" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: kötetlen változó" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aidőtúllépés bemenetre várva: automatikus kijelentkezés\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "szabványos bemenet /dev/null-ra állítása sikertelen: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "IDŐFORMÁTUM: „%c”: érvénytelen formátumkarakter" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "hibás csővezeték" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: a maximális eval beágyazási szint túllépve (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: a maximális source beágyazási szint túllépve (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" -msgstr "" +msgstr "%s: a maximális függvénybeágyazási szint túllépve (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: korlátozott: nem adható meg „/” a parancsok nevében" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: parancs nem található" -#: execute_cmd.c:5206 -#, fuzzy, c-format +#: execute_cmd.c:5470 +#, c-format msgid "%s: %s" -msgstr "%s egy %s\n" +msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: rossz parancsértelmező" -#: execute_cmd.c:5280 -#, fuzzy, c-format +#: execute_cmd.c:5545 +#, c-format msgid "%s: cannot execute binary file: %s" -msgstr "%s: bináris nem hajtható végre" +msgstr "%s: a bináris nem hajtható végre: %s" -#: execute_cmd.c:5352 -#, fuzzy, c-format +#: execute_cmd.c:5623 +#, c-format msgid "`%s': is a special builtin" -msgstr "%s egy beépített parancs\n" +msgstr "„%s”: egy speciális beépített parancs" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "nem lehet duplikálni a(z) %d. fájlleírót a(z) %d. helyre" @@ -1023,37 +1099,37 @@ msgstr "prefix növelés vagy csökkentés után azonosító kell következzen" msgid "missing `)'" msgstr "hiányzó „)”" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "szintaktikai hiba: operandus kell következzen" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "szintaktikai hiba: érvénytelen aritmetikai operátor" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (hibás token: „%s”)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "érvénytelen számrendszer" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "túl nagy érték a számrendszerhez" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: hibás kifejezés\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: nem érhetőek el a szülőkönyvtárak" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "nem lehet újraindítani a nodelay módot a(z) %d. fájlleíróhoz" @@ -1069,148 +1145,148 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: már van puffer a(z) %d. fájlleíróhoz" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp csővezeték" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "a(z) %d számú forkolt pid a(z) %d számú munkában jelent meg" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "%d. számú megállított munka törlése a %ld számú folyamatcsoporttal" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: %5ld. folyamat (%s) a the_pipeline-ban" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: %5ld. folyamat (%s) még élőként van jelölve" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: nincs ilyen pid" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "%d. szignál" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Kész" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Megállítva" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Megállítva(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Fut" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Kész(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Kilépett(%d)" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Ismeretlen állapot" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(core készült) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (mk: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "gyermek setpgid (innen: %ld ide: %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: %ld. számú folyamat nem gyermeke ennek a parancsértelmezőnek" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Nincs bejegyzés %ld. számú folyamatról" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: %d. számú munka le lett állítva" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: a munka be lett fejezve" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: %d. számú munka már a háttérben van" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: WNOHANG bekapcsolása a korlátlan blokk elkerülésére" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: %d. sor: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (core készült)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(mk most: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp sikertelen" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: line discipline" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "nem állítható be a terminál folyamatcsoportja (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "nincsen munkakezelés ebben a parancsértelmezőben" @@ -1264,17 +1340,17 @@ msgstr "realloc: alulcsordulást érzékelt; mh_nbytes kívül esik a tartomány msgid "realloc: start and end chunk sizes differ" msgstr "realloc: kezdő- és záródarab mérete eltér" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: foglalótábla tele van FIND_ALLOC-kal?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p már a táblában lefoglaltként?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p már a táblában szabadként?\n" @@ -1298,7 +1374,7 @@ msgstr "%s: érvénytelen szolgáltatás" msgid "%s: bad network path specification" msgstr "%s: hibás hálózatiútvonal-megadás" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "a hálózati műveletek nincsenek támogatva" @@ -1335,268 +1411,314 @@ msgstr "Új levél a következőben: $_" msgid "The mail in %s has been read\n" msgstr "A(z) „%s” helyen lévő levél el van olvasva\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "szintaktikai hiba: aritmetikai kifejezés szükséges" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "szintaktikai hiba: váratlan „;”" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "szintaktikai hiba: „((%s))”" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: hibás utasítástípus: %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "a(z) %d. sorban kezdett heredocot EOF zárja („%s” helyett)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: %d. átirányító utasítás kívül esik a tartományon" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "a maximális here-document szám túllépve" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "váratlan EOF „%c” helyett" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "váratlan EOF „]]” helyett" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "szintaktikai hiba a feltételben: váratlan token: „%s”" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "szintaktikai hiba a feltételben" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "váratlan token (%s) „)” helyett" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "„)” szükséges" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "váratlan argumentum (%s) feltételes egyoperandusú operátorhoz" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "váratlan argumentum feltételes egyoperandusú operátorhoz" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "váratlan token (%s), feltételes kétoperandusú operátor szükséges" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "feltételes kétoperandusú operátor szükséges" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "váratlan argumentum (%s) feltételes kétoperandusú operátorhoz" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "váratlan argumentum feltételes kétoperandusú operátorhoz" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "váratlan token (%c) feltételes parancsban" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "váratlan token (%s) feltételes parancsban" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "váratlan token (%d) feltételes parancsban" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "szintaktikai hiba „%s” váratlan token közelében" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "szintaktikai hiba „%s” közelében" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "szintaktikai hiba: váratlan fájlvége" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "szintaktikai hiba" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "„%s” használatával lehet elhagyni a parancsértelmezőt.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "váratlan EOF „)” helyett" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "kiegészítés: nem található „%s” függvény" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: hibás csatlakozó (%d)" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: érvénytelen fájlleíró" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: NULL fájlmutató" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: „%c”: érvénytelen formátumkarakter" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "fájlleíró kívül esik a tartományon" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: kétértelmű átirányítás" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: nem lehet felülírni létező fájlt" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: korlátozott: nem lehet átirányítani a kimenetet" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "nem lehet a heredocnak átmeneti fájlt létrehozni: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: nem lehet változóhoz fájlleírót rendelni" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port nincs támogatva hálózat nélkül" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "átirányítási hiba: nem lehet duplikálni a fájlleírót" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "nem található /tmp, hozza létre!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp érvényes könyvtárnév kell legyen" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: érvénytelen kapcsoló" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "az uid nem állítható be %d értékre: a hatásos uid %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "a gid nem állítható be %d értékre: a hatásos gid %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: ez egy könyvtár" + +#: shell.c:1777 msgid "I have no name!" msgstr "Nincs nevem!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, %s-(%s) verzió\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" msgstr "" -"Használat: %s [GNU hosszú kapcsoló] [kapcsoló] ...\n" -" %s [GNU hosszú kapcsoló] [kapcsoló] parancsfájl ...\n" +"Használat:\t%s [GNU hosszú kapcsoló] [kapcsoló] ...\n" +"\t%s [GNU hosszú kapcsoló] [kapcsoló] parancsfájl ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU hosszú kapcsolók:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Parancsértelmező-kapcsolók:\n" -#: shell.c:1835 -#, fuzzy +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -msgstr "\t-irsD vagy -c parancs vagy -O shopt_option\t\t(csak hívás)\n" +msgstr "\t-ilrsD vagy -c parancs vagy -O shopt_option\t\t(csak hívás)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s vagy -o kapcsoló\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "A „%s -c \"help set\"” további információt ad a parancsértelmező-" "beállításokról.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "A „%s -c help” további információt ad a beépített parancsokról.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "A „bashbug” paranccsal jelenthet hibákat.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "a bash honlapja: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" +"Általános segítség a GNU szoftverek használatához: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: érvénytelen művelet" @@ -1770,77 +1892,92 @@ msgstr "Ismeretlen szignál #" msgid "Unknown Signal #%d" msgstr "%d. számú ismeretlen szignál" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "hibás helyettesítés: nincs záró „%s” a következőben: %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: lista nem adható tömbelemnek értékül" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "nem hozható létre a csővezeték a folyamatbehelyettesítéshez" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "nem hozható létre a gyermek a folyamatbehelyettesítéshez" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "nem nyitható meg olvasásra a(z) %s csővezeték" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "nem nyitható meg írásra a(z) %s csővezeték" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "nem duplikálható a(z) %s csővezeték %d. fájlleíróként" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "hibás helyettesítés: nincs záró „`” a következőben: %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "nem hozható létre csővezeték a parancsbehelyettesítéshez" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "nem hozható létre gyermek a parancsbehelyettesítéshez" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: nem duplikálható a csővezeték 1. fájlleíróként" -#: subst.c:5837 subst.c:8050 -#, fuzzy, c-format +#: subst.c:6580 subst.c:8939 +#, c-format msgid "%s: invalid variable name for name reference" -msgstr "%s: %s: érvénytelen érték a trace fájlleíróhoz" +msgstr "%s: érvénytelen változóérték a névhivatkozáshoz" + +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: rossz helyettesítés" -#: subst.c:6048 +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: az indirekt kiegészítés érvénytelen" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: érvénytelen változónév" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: a paraméter null vagy nincs beállítva" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: részkarakterlánc-kifejezés < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: rossz helyettesítés" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: nem lehet így értéket adni" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1848,12 +1985,12 @@ msgstr "" "a parancsértelmező későbbi verziói kötelezővé teszik majd az aritmetikai " "kiértékelést" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "hibás helyettesítés: nincs záró „`” a következőben: %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "nincs találat: %s" @@ -1867,132 +2004,132 @@ msgstr "argumentum szükséges" msgid "%s: integer expression expected" msgstr "%s: egész kifejezés szükséges" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "„)” szükséges" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "„)” szükséges %s helyett" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: egyoperandusú operátor szükséges" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: kétoperandusú operátor szükséges" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "hiányzó „]”" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "érvénytelen szignálszám" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: rossz érték a trap_list[%d]-ban: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" "run_pending_traps: szignálkezelő a SIG_DFL, %d (%s) újraküldése önmagunknak" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: rossz szignál: %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "hiba a függvénydefiníció betöltésekor: „%s”" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "a parancsértelmező szintje (%d) túl magas, visszaállítás 1-re" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%s: %s: érvénytelen érték a trace fájlleíróhoz" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: nincs függvénykörnyezet az aktuális látókörben" -#: variables.c:2247 -#, fuzzy, c-format +#: variables.c:2432 +#, c-format msgid "%s: variable may not be assigned value" -msgstr "%s: nem lehet változóhoz fájlleírót rendelni" +msgstr "%s: nem lehet a változóhoz értéket rendelni" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: érvénytelen változóérték a névhivatkozáshoz" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: nincs függvénykörnyezet az aktuális látókörben" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s exportstr-je null" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "érvénytelen karakter (%d) %s exportstr-jében" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "nincs „=” %s exportstr-jében" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: shell_variables feje nem egy függvénykörnyezet" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: nincs global_variables környezet" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: shell_variables feje nem egy átmeneti környezeti látókör" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: nem nyitható meg FILE-ként" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: érvénytelen érték a trace fájlleíróhoz" -#: variables.c:5307 -#, fuzzy, c-format +#: variables.c:5669 +#, c-format msgid "%s: %s: compatibility value out of range" -msgstr "%s: %s kívül esik a tartományon" +msgstr "%s: %s: a kompatibilitási érték kívül esik a tartományon" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright © 2009 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright © 2015 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" "License GPLv3+: GNU GPL version 3 or later \n" msgstr "" -"A licenc GPLv3+: a GNU GPL 3. vagy újabb változata \n" +"A licenc GPLv3+: a GNU GPL 3. vagy újabb változata\n" +"\n" #: version.c:86 version2.c:86 #, c-format @@ -2000,19 +2137,12 @@ msgid "GNU bash, version %s (%s)\n" msgstr "GNU bash, %s (%s) verzió\n" #: version.c:91 version2.c:91 -#, fuzzy msgid "This is free software; you are free to change and redistribute it." -msgstr "Ez egy szabad szoftver, terjesztheti és/vagy módosíthatja.\n" +msgstr "Ez egy szabad szoftver, terjesztheti és/vagy módosíthatja." #: version.c:92 version2.c:92 -#, fuzzy msgid "There is NO WARRANTY, to the extent permitted by law." -msgstr "NINCS GARANCIA, a törvény által engedélyezett mértékig.\n" - -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright © 2009 Free Software Foundation, Inc." +msgstr "NINCS GARANCIA, a törvény által engedélyezett mértékig." #: xmalloc.c:91 #, c-format @@ -2034,132 +2164,117 @@ msgstr "%s: %s:%d nem lehetséges %lu byte foglalása (%lu byte lett foglalva)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d nem lehetséges %lu byte foglalása" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [név[=érték] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] név [név ...]" -#: builtins.c:51 -#, fuzzy +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -"bind [-lpvsPVS] [-m kiosztás] [-f fájlnév] [-q név] [-u név] [-r billkomb] [-" -"x billkomb:shell-parancs] [billkomb:readline-függvény vagy readline-parancs]" +"bind [-lpsvPSVX] [-m kiosztás] [-f fájlnév] [-q név] [-u név] [-r billkomb] " +"[-x billkomb:shell-parancs] [billkomb:readline-függvény vagy readline-" +"parancs]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [shell-builtin [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [kif]" -#: builtins.c:64 -#, fuzzy +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-L|-P] [ktár]" +msgstr "cd [-L|[-P [-e]] [-@]] [ktár]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] parancs [arg ...]" -#: builtins.c:76 -#, fuzzy -msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "declare [-aAfFilrtux] [-p] [név[=érték] ...]" - #: builtins.c:78 -#, fuzzy -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFilrtux] [-p] név[=érték] ..." +msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [név[=érték] ...]" #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] név[=érték] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [kapcsoló] név[=érték] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f fájlnév] [név ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts opciók név [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a név] [parancs [argumentumok ...]] [átirányítás ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e ename] [-lnr] [első] [utolsó] vagy fc -s [minta=csere] [parancs]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [munkaszám]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [munkaszám ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p útvonal] [-dt] [név ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [minta ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2167,15 +2282,16 @@ msgstr "" "history [-c] [-d szám] [n] vagy history -anrw [fájlnév] vagy history -ps arg " "[arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [munkaszám ...] vagy jobs -x parancs [args]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [munkaszám ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2183,117 +2299,107 @@ msgstr "" "kill [-s szignál | -n szignálszám | -szignál] pid | munkaszám ... vagy kill -" "l [szignál]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" -"read [-ers] [-a tömb] [-d elválasztó] [-i szöveg] [-n nchars] [-N nchars] [-" -"p prompt] [-t időkeret] [-u fd] [név ...]" +"read [-ers] [-a tömb] [-d elválasztó] [-i szöveg] [-n szám] [-N szám] [-p " +"prompt] [-t időkeret] [-u fd] [név ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 -#, fuzzy +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -msgstr "set [--abefhkmnptuvxBCHP] [-o beállításnév] [arg ...]" +msgstr "set [--abefhkmnptuvxBCHP] [-o beállításnév] [--] [arg ...]" -#: builtins.c:142 -#, fuzzy +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "unset [-f] [-v] [név ...]" +msgstr "unset [-f] [-v] [-n] [név ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [név[=érték] ...] vagy export -p" -#: builtins.c:146 -#, fuzzy +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" -msgstr "readonly [-af] [név[=érték] ...] vagy readonly -p" +msgstr "readonly [-aAf] [név[=érték] ...] vagy readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source fájlnév [argumentumok]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". fájlnév [argumentumok]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" -msgstr "test [expr]" +msgstr "test [kifejezés]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] szignál ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] név [név ...]" -#: builtins.c:169 -#, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHacdefilmnpqrstuvx] [korlát]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [korlát]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [mód]" -#: builtins.c:175 -#, fuzzy +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "wait [id]" +msgstr "wait [-n] [id ...]" -#: builtins.c:179 -#, fuzzy +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "wait [id]" +msgstr "wait [pid ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NÉV [in SZAVAK ... ] ; do PARANCSOK; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( kif1; kif2; kif3 )); do PARANCSOK; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NÉV [in SZAVAK ... ;] do PARANCSOK; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] csővezeték" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case SZÓ in [MINTA [| MINTA]...) PARANCSOK ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2301,63 +2407,63 @@ msgstr "" "if PARANCSOK; then PARANCSOK; [ elif PARANCSOK; then PARANCSOK; ]... [ else " "PARANCSOK; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while PARANCSOK; do PARANCSOK; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until PARANCSOK; do PARANCSOK; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NÉV] parancs [átirányítások]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function név { PARANCSOK ; } vagy név () { PARANCSOK ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ PARANCSOK ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "munkaszám [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( kifejezés ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ kifejezés ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" -msgstr "variables - Néhány változó neve és jelentése" +msgstr "variables - Néhány parancsértelmező-változó neve és jelentése" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | ktár]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [optnév ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v változó] formátum [argumentumok]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2367,28 +2473,28 @@ msgstr "" "globminta] [-W szólista] [-F függvény] [-C parancs] [-X szűrőminta] [-P " "prefixum] [-S szuffixum] [név ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -"compgen [-abcdefgjksuv] [-o beállítás] [-A művelet] [-G globminta] [-W " +"compgen [-abcdefgjksuv] [-o beállítás] [-A művelet] [-G globminta] [-W " "szólista] [-F függvény] [-C parancs] [-X szűrőminta] [-P prefixum] [-S " "szuffixum] [szó]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o beállítás] [-DE] [név ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n szám] [-O kezdet] [-s szám] [-t] [-u fd] [-C parancs] [-c " -"távolság] [tömb]" +"mapfile [-d elválasztó] [-n szám] [-O kezdet] [-s szám] [-t] [-u fd] [-C " +"parancs] [-c távolság] [tömb]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2396,7 +2502,7 @@ msgstr "" "readarray [-n szám] [-O kezdet] [-s szám] [-t] [-u fd] [-C parancs] [-c " "távolság] [tömb]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2408,7 +2514,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2417,37 +2523,37 @@ msgid "" msgstr "" "Aliasok definiálása vagy kiírása.\n" " \n" -" Argumentumok nélkül az „alias” kiír egy újrahasználható listát a meglé-\n" -" vő aliasokról „alias NÉV=ÉRTÉK' formában a szabványos kimenetre.\n" +" Argumentumok nélkül az „alias” kiír egy újrahasználható listát a " +"meglévő\n" +" aliasokról „alias NÉV=ÉRTÉK' formában a szabványos kimenetre.\n" " \n" " Különben egy NÉV nevű aliast definiál ÉRTÉK értékkel. Az ÉRTÉK végén a\n" -" záró szóköz lehetővé teszi a következő szó számára is az aliashelyette-\n" -" sítést.\n" +" záró szóköz lehetővé teszi a következő szó számára is az\n" +" aliashelyettesítést.\n" " \n" -" Beállítások:\n" -" -p Kiír minden aliast a fenti formában\n" +" Kapcsolók:\n" +" -p\tkiír minden aliast a fenti formában\n" " \n" " Kilépési kód:\n" " igazzal tér vissza, kivéve ha nincs megadott NÉV nevű alias definiálva." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Minden NÉV eltávolítása a definiált aliasok közül.\n" " \n" -" Beállítások:\n" -" -a minden definíció törlése.\n" +" Kapcsolók:\n" +" -a\tminden definíció törlése\n" " \n" " Sikeresen tér vissza, kivéve ha nincs megadott NÉV nevű alias." -#: builtins.c:289 -#, fuzzy +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2481,7 +2587,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2490,13 +2597,15 @@ msgstr "" "Readline billentyűkötések és változók beállítása.\n" " \n" " Egy billentyűsorozat hozzárendelése Readline függvényhez vagy makróhoz,\n" -" vagy Readline változó beállítása. A beállítás nélküli szintaxis mege-\n" -" gyezik az ~/.inputrc-ben találhatóval, de kell legyen egy argumentuma:\n" +" vagy Readline változó beállítása. A beállítás nélküli szintaxis " +"megegyezik\n" +" az ~/.inputrc-ben találhatóval, de kell legyen egy argumentuma:\n" " pl. bind '\"\\C-x\\C-r\": re-read-init-file'.\n" " \n" -" Beállítások:\n" -" -m kiosztás KIOSZTÁS használata kiosztásként a parancs hatásá-\n" -" nak idejére. Elfogadható kiosztásnevek: emacs,\n" +" Kapcsolók:\n" +" -m kiosztás A KIOSZTÁS használata kiosztásként a parancs " +"hatásának\n" +" idejére. Elfogadható kiosztásnevek: emacs,\n" " emacs-standard, emacs-meta, emacs-ctlx, vi, vi-\n" " move, vi-command és vi-insert.\n" " -l Nevek és függvények listázása.\n" @@ -2504,26 +2613,30 @@ msgstr "" " -p Függvények és kötések listázása újrahasználható\n" " formában.\n" " -S Makrókat végrehajtó billentyűkombinációk és " -"értéke-\n" -" ik listázása.\n" +"értékeik\n" +" listázása.\n" " -s Makrókat végrehajtó billentyűkombinációk és " -"értéke-\n" -" ik listázása újrahasználható formában.\n" +"értékeik\n" +" listázása újrahasználható formában.\n" " -V Változónevek és értékek listázása.\n" " -v Változónevek és értékek listázása újrahasználható\n" " formában.\n" " -q függvénynév A függvényhez tartozó billentyűkombináció " "lekérése.\n" -" -u függvénynév Össze adott függvényhez tartozó billentyűkombiná-\n" -" ció törlése.\n" +" -u függvénynév Össze adott függvényhez tartozó " +"billentyűkombináció\n" +" törlése.\n" " -r billkomb A BILLKOMB-hoz tartozó kötések törlése.\n" " -f fájlnév Kötések olvasása FÁJLNÉV fájlból.\n" -" -x billkomb:shell-parancs SHELL-PARANCS végrehajtása BILLKOMB-ra.\n" +" -x billkomb:shell-parancs\tSHELL-PARANCS végrehajtása BILLKOMB-ra.\n" +" -X A -x használatával kötött billentyűkombinációk\n" +" és a társított parancsok kiírása, bemenetként\n" +" újrahasználható formában.\n" " \n" " Kilépési kód:\n" " a bind 0-val tér vissza, ha nincs ismeretlen kapcsoló vagy hiba." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2533,15 +2646,15 @@ msgid "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -"Kilép a for, while vagy until ciklusokból.\n" +"Kilépés a for, while vagy until ciklusokból.\n" " \n" -" Kilép egy FOR, WHILE vagy UNTIL ciklusból. Ha N meg van adva, akkor N\n" +" Kilépés egy FOR, WHILE vagy UNTIL ciklusból. Ha N meg van adva, akkor N\n" " egymásba ágyazott ciklusból lép ki.\n" " \n" " Kilépési kód:\n" " A kilépési kód 0, ha N >= 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2551,16 +2664,15 @@ msgid "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -"Újrakezdi a for, while vagy until ciklust.\n" +"A for, while vagy until ciklus újrakezdése.\n" " \n" " A következő iterációtól folytatja a FOR, WHILE vagy UNTIL ciklust.\n" -" If N is specified, resumes the Nth enclosing loop.\n" " Ha N meg van adva, akkor N egymásba ágyazott ciklusból lép ki.\n" " \n" " Kilépési kód:\n" " A kilépési kód 0, ha N >= 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2583,7 +2695,7 @@ msgstr "" " Továbbadja a SHELL-BUILTIN kilépési kódját vagy hamissal tér vissza,\n" " ha nincs ilyen parancs." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2598,9 +2710,9 @@ msgid "" " Returns 0 unless the shell is not executing a shell function or EXPR\n" " is invalid." msgstr "" -"Visszaadja az aktuális szubrutinhívás környezetét.\n" +"Az aktuális szubrutinhívás környezetének visszaadása.\n" " \n" -" KIF nélkül \"$sor $fájlnév\" formátumú eredményt ad. KIF-fel pedig\n" +" KIF nélkül \"$sor $fájlnév\" formátumú eredményt ad. A KIF-fel pedig\n" " \"$sor $szubrutin $fájlnév\" formátumút; ez hasznos lehet stack trace\n" " kiírásához.\n" " \n" @@ -2608,11 +2720,10 @@ msgstr "" " lépjen vissza; a verem tetején a 0-s keret van.\n" " \n" " Kilépési kód:\n" -" 0-val tér vissza, ha érvényes KIF és valóban függvényt hajt végre a pa-\n" -" rancsértelmező." +" 0-val tér vissza, ha érvényes a KIF és valóban függvényt hajt végre a\n" +" parancsértelmező." -#: builtins.c:385 -#, fuzzy +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2635,16 +2746,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2656,38 +2767,50 @@ msgid "" "when\n" " -P is used; non-zero otherwise." msgstr "" -"A parancsértelmező munkakönyvtárát váltja.\n" +"A parancsértelmező munkakönyvtárának váltása.\n" " \n" -" A munkakönyvtára KTÁR-ra váltja. Elhagyása esetén a HOME környezeti\n" +" A munkakönyvtár átváltása a KTÁR-ra. Elhagyása esetén a HOME környezeti\n" " változóban lévő könyvtárra vált.\n" " \n" " A CDPATH környezeti változó adja meg a KTÁR keresési útvonalait. Az\n" -" útvonalakat kettőspont (:) válassza el. Egy üres könyvtárnév az aktu-\n" -" ális könyvtárat jelenti. Ha KTÁR „/” jellel kezdődik, a CDPATH értéke\n" +" útvonalakat kettőspont (:) választja el. Egy üres könyvtárnév az " +"aktuális\n" +" könyvtárat jelenti. Ha a KTÁR „/” jellel kezdődik, a CDPATH értéke\n" " nincs figyelembe véve.\n" " \n" -" Ha a könyvtár nem létezik, és a „cdable_vars” parancsértelmező-beállí-\n" -" tás aktív, KTÁR egy változónévként lesz használva. Ha a változónak van\n" +" Ha a könyvtár nem létezik, és a „cdable_vars” parancsértelmező-" +"beállítás\n" +" aktív, a KTÁR változónévként lesz használva. Ha a változónak van\n" " értéke, az lesz KTÁR-értékként használva.\n" " \n" " Kapcsolók:\n" -" -L szimbolikus linkek szigorú követése\n" -" -P a fizikai könyvtárfa használata a szimbolikus linkek " -"követése\n" -" helyett\n" +" -L\tszimbolikus linkek szigorú követése\n" +" -P\ta fizikai könyvtárfa használata a szimbolikus linkek követése\n" +" helyett: szimbolikus linkek feloldása a KTÁR-ban a „..” \n" +" \t\telőfordulásainak feldolgozása előtt\n" +" -e\tha a -P kapcsoló meg van adva, és az aktuális munkakönyvtár\n" +" \t\tnem határozható meg sikeresen, kilépés nem nulla állapottal\n" +" -@\taz azt támogató rendszereken a kibővített attribútumokkal\n" +" \t\trendelkező fájlok megjelenítése a fájlattribútumokat tartalmazó\n" +" \t\tkönyvtárként\n" " \n" " Az alapértelmezett a szimbolikus linkek követése, mintha „-L” lenne\n" " megadva.\n" +" A „..” feldolgozása a közvetlenül előtte lévő útvonalnév-összetevő\n" +" eltávolításával történik, visszamenve egy osztásjelig vagy a KTÁR " +"kezdetéig.\n" +" \n" " Kilépési kód:\n" -" 0-val tér vissza, ha könyvtárat váltott; más értéket különben." +" 0-val tér vissza, ha könyvtárat váltott és ha a -P használatakor a $PWD\n" +" sikeresen beállításra kerül; más értéket különben." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2699,18 +2822,17 @@ msgstr "" "Az aktuális munkakönyvtár útvonalának kiírása.\n" " \n" " Kapcsolók:\n" -" -L $PWD értékének kiírása, ha az a munkakönyvtár érvényes\n" -" neve\n" -" -P a fizikai könyvtár kiírása, szimbolikus linkek nélkül\n" +" -L\t$PWD értékének kiírása, ha az a munkakönyvtár érvényes neve\n" +" -P\ta fizikai könyvtár kiírása, szimbolikus linkek nélkül\n" " \n" " Az alapértelmezett a szimbolikus linkek követése, mintha „-L” lenne\n" " megadva.\n" " \n" " Kilépési kód:\n" -" 0-val tér vissza, kivéve ha érvénytelen kapcsolót kapott vagy nem le-\n" -" het olvasni a munkakönyvtárat." +" 0-val tér vissza, kivéve ha érvénytelen kapcsolót kapott vagy nem lehet\n" +" olvasni a munkakönyvtárat." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2726,7 +2848,7 @@ msgstr "" " Kilépési kód:\n" " Mindig sikeres." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2738,7 +2860,7 @@ msgstr "" " Kilépési kód:\n" " Mindig sikeres." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2750,7 +2872,7 @@ msgstr "" " Kilépési kód:\n" " Mindig sikertelen." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2760,34 +2882,33 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" -"Egy parancsot hajt végre vagy információt jelenít meg róla.\n" +"Parancs végrehajtása vagy információk megjelenítése róla.\n" " \n" -" Végrehajtja a PARANCS parancsot ARGUMENTUMOK argumentumokkal a függ-\n" -" vényfeloldás végrehajtása nélkül; vagy információt jelenít meg a pa-\n" -" rancsról. Használható programok futtatására, ha azonos nevű függvény\n" +" Végrehajtja a PARANCS parancsot ARGUMENTUMOK argumentumokkal a\n" +" függvényfeloldás végrehajtása nélkül; vagy információt jelenít meg a\n" +" parancsról. Használható programok futtatására, ha azonos nevű függvény\n" " létezik.\n" " \n" " Kapcsolók:\n" -" -p alapértelmezett érték használata PATH helyett, amely ga-\n" -" rantáltan megtalál minden szabványos eszközt -v " -"egy leírást ad a PARANCS parancsról a „type” beépített pa-\n" -" rancshoz hasonló módon\n" -" -V minden PARANCS-ról egy részletesebb leírást ad\n" +" -p alapértelmezett érték használata PATH helyett, amely\n" +" garantáltan megtalál minden szabványos eszközt\n" +" -v egy leírást ad a PARANCS parancsról a „type” beépített\n" +" parancshoz hasonló módon\n" +" -V részletesebb leírást ad minden PARANCSRÓL\n" " \n" " Kilépési kód:\n" -" PARANCS kilépési kódjával tér vissza, vagy hibát jelez, ha nem talál-\n" -" ható PARANCS." +" A PARANCS kilépési kódjával tér vissza, vagy hibát jelez, ha nem\n" +" található a PARANCS." -#: builtins.c:487 -#, fuzzy +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2797,9 +2918,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2826,52 +2947,56 @@ msgid "" " Returns success unless an invalid option is supplied or a variable\n" " assignment error occurs." msgstr "" -"Változóértékeket és jellemzőket állít be.\n" +"Változóértékek és attribútumok beállítása.\n" " \n" -" Változók deklarálása és jellemzők adása. Ha nincs NÉV megadva, kilis-\n" -" tázza az összes változó jellemzőit és értékét.\n" +" Változók deklarálása és attribútumok megadása. Ha nincs NÉV megadva,\n" +" kiírja az összes változó attribútumait és értékét.\n" " \n" " Kapcsolók:\n" -" -f művelet és megjelenítés korlátozása függvénynevekre és\n" -" -definíciókra\n" -" -F megjelenítés korlátozása függvénynevekre (és sor számára,\n" -" valamint a forrásfájl nevére hibakereséskor)\n" -" -p minden NÉV jellemzőinek és értékének kiírása\n" -" \n" -" Jellemzőket állító kapcsolók:\n" -" -a NÉV indexelt tömbbé alakítása (ha támogatott)\n" -" -A NÉV asszociatív tömbbé alakítása (ha támogatott)\n" -" -i minden NÉV kapjon „integer” jellemzőt\n" -" -l NÉV-hez való értékadáskor kisbetűssé konvertálás\n" -" -r minden NÉV legyen csak olvasható\n" -" -t minden NÉV kapjon „trace” jellemzőt\n" -" -u NÉV-hez való érékadáskor nagybetűssé konvertálás\n" -" -x minden NÉV exportálása\n" -" \n" -" A „-” helyett „+” használata kikapcsolja az adott jellemzőt.\n" -" \n" -" Az integer jellemzővel rendelkező változókhoz való értékadáskor arit-\n" -" metikai kiértékelés történik (lásd a „let” parancsot).\n" -" \n" -" Függvénytörzsben „declare”-t használva minden NÉV helyi lesz, hasonló-\n" -" an a „local” parancshoz.\n" +" -f\tművelet és megjelenítés korlátozása függvénynevekre és\n" +" \t\t-definíciókra\n" +" -F\tmegjelenítés korlátozása függvénynevekre (és sor számára,\n" +" \t\tvalamint a forrásfájl nevére hibakereséskor)\n" +" -g\tglobális változók létrehozása parancsértelmező-függvényben való\n" +" \t\thasználatkor, egyébként figyelmen kívül marad\n" +" -p\tminden NÉV attribútumainak és értékének kiírása\n" +" \n" +" Attribútumokat állító kapcsolók:\n" +" -a\tNÉV indexelt tömbbé alakítása (ha támogatott)\n" +" -A\tNÉV asszociatív tömbbé alakítása (ha támogatott)\n" +" -i\tminden NÉV kapjon „integer” attribútumot\n" +" -l\ta NÉV kisbetűssé konvertálása értékadáskor\n" +" -n\ta NÉV hivatkozás legyen az értékében megadott változóra\n" +" -r\tminden NÉV legyen csak olvasható\n" +" -t\tminden NÉV kapjon „trace” attribútumot\n" +" -u\ta NÉV nagybetűssé konvertálása értékadáskor\n" +" -x\tminden NÉV exportálása\n" +" \n" +" A „-” helyett „+” használata kikapcsolja az adott attribútumot.\n" +" \n" +" Az integer attribútummal rendelkező változókhoz való értékadáskor\n" +" aritmetikai kiértékelés történik (lásd a „let” parancsot).\n" +" \n" +" Függvénytörzsben „declare”-t használva minden NÉV helyi lesz, hasonlóan\n" +" a „local” parancshoz. A „-g” kapcsoló elnyomja ezt a viselkedést.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve ha érvénytelen kapcsolót kap, vagy hiba\n" -" történt." +" Sikerrel tér vissza, kivéve ha érvénytelen kapcsolót kap, vagy " +"értékadási\n" +" hiba történik." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" -"Változóértékeket és jellemzőket állít be.\n" +"Változóértékek és attribútumok beállítása.\n" " \n" " Elavult. Lásd „help declare”." -#: builtins.c:535 -#, fuzzy +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2887,18 +3012,17 @@ msgid "" msgstr "" "Helyi változók definiálása.\n" " \n" -" Egy NÉV nevű helyi változót hoz létre, és ÉRTÉK értéket ad neki. KAP-\n" -" CSOLÓ tetszőleges „declare” által elfogadott kapcsoló lehet.\n" +" Egy NÉV nevű helyi változót hoz létre, és ÉRTÉK értéket ad neki.\n" +" A KAPCSOLÓ tetszőleges, a „declare” által elfogadott kapcsoló lehet.\n" " \n" " A helyi változók csak a függvényen belül használhatóak, nem láthatóak\n" -" az őket definiáló függvényen és azok gyermekein kívül.\n" +" az őket definiáló függvényen és annak gyermekein kívül.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve ha érvénytelen kapcsolót kap, hiba\n" -" történt, vagy nem függvényben lett hívva." +" Sikerrel tér vissza, kivéve ha érvénytelen kapcsolót kap, értékadási\n" +" hiba történik, vagy nem függvényben lett hívva." -#: builtins.c:552 -#, fuzzy +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2924,9 +3048,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2936,30 +3060,31 @@ msgstr "" " Argumentumok és egy újsor kiírása a szabványos kimenetre.\n" " \n" " Kapcsolók:\n" -" -n ne fűzzön hozzá újsort\n" -" -e az alábbi escape-szekvenciák értelmezése\n" -" -E escape-szekvenciák értelmezésének tiltása\n" +" -n\tne fűzzön hozzá újsort\n" +" -e\taz alábbi escape-szekvenciák értelmezése\n" +" -E\tescape-szekvenciák értelmezésének tiltása\n" " \n" " Az „echo”a következő visszaper-escape-karaktereket értelmezi:\n" -" \\a terminálcsengő\n" -" \\b visszatörlés (backspace)\n" -" \\c további kimenet elnyelése\n" -" \\e escape-karakter\n" -" \\f lapdobás-karakter\n" -" \\n újsor-karakter\n" -" \\r kocsivissza-karakter\n" -" \\t vízszintes tabulátor\n" -" \\v függőleges tabulátor\n" -" \\\\ visszaper (\\)\n" -" \\0nnn az oktális NNN ASCII-kódú karakter. NNN 0–3\n" -" oktális számjegy lehet\n" -" \\xHH az a 8 bites karakter, amelynek értéke HH\n" -" (hexadecimálisan). HH egy vagy két hexaszámjegy lehet\n" +" \\a\tterminálcsengő\n" +" \\b\tvisszatörlés (backspace)\n" +" \\c\ttovábbi kimenet elnyelése\n" +" \\e\tescape-karakter\n" +" \\E\tescape-karakter\n" +" \\f\tlapdobás-karakter\n" +" \\n\tújsor-karakter\n" +" \\r\tkocsivissza-karakter\n" +" \\t\tvízszintes tabulátor\n" +" \\v\tfüggőleges tabulátor\n" +" \\\\\tvisszaper (\\)\n" +" \\0nnn\taz oktális NNN ASCII-kódú karakter. NNN 0–3\n" +" \t\toktális számjegy lehet\n" +" \\xHH\taz a 8 bites karakter, amelynek értéke HH\n" +" \t\t(hexadecimálisan). HH egy vagy két hexaszámjegy lehet\n" " \n" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve írási hiba esetén." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2976,12 +3101,12 @@ msgstr "" " Argumentumok és egy újsor kiírása a szabványos kimenetre.\n" " \n" " Kapcsolók:\n" -" -n ne fűzzön hozzá újsort\n" +" -n\tne fűzzön hozzá újsort\n" " \n" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve írási hiba esetén." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3010,20 +3135,19 @@ msgstr "" "Parancsértelmező beépített parancsainak engedélyezése és tiltása.\n" " \n" " Beépített parancsokat engedélyez és tilt. Egy parancs letiltásával az\n" -" elérési út beírása nélkül lehet beépített paranccsal megegyező nevű-\n" +" elérési út beírása nélkül lehet beépített paranccsal megegyező nevű\n" " programot futtatni.\n" " \n" " Kapcsolók:\n" -" -a a beépített parancsok és azok állapotának listázása\n" -" -n minden NÉV tiltása vagy a tiltott parancsok listázása\n" -" -p a beépített parancsokat listázza újrahasználható formában\n" -" -s csak a Posix „special” beépített parancsokat listázza\n" +" -a\ta beépített parancsok és azok állapotának listázása\n" +" -n\tminden NÉV tiltása vagy a tiltott parancsok listázása\n" +" -p\ta beépített parancsokat listázza újrahasználható formában\n" +" -s\tcsak a Posix „special” beépített parancsokat listázza\n" " \n" " Dinamikus betöltést szabályozó kapcsolók:\n" -" -f NÉV nevű beépített parancs betöltése a FÁJLNÉV megosztott " -"objek-\n" -" tumfájlból\n" -" -d egy -f kapcsolóval betöltött parancs eltávolítása\n" +" -f\tNÉV nevű beépített parancs betöltése a FÁJLNÉV megosztott\n" +" \t\tobjektumfájlból\n" +" -d\tegy -f kapcsolóval betöltött parancs eltávolítása\n" " \n" " Kapcsolók nélkül minden NÉV engedélyezésre kerül\n" " \n" @@ -3031,10 +3155,10 @@ msgstr "" " használja az „enable -n test” parancsot.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve ha NÉV nem egy beépített parancs, vagy hi-\n" -" ba történt." +" Sikerrel tér vissza, kivéve ha a NÉV nem egy beépített parancs, vagy\n" +" hiba történt." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3051,10 +3175,9 @@ msgstr "" " végre a parancsértelmező.\n" " \n" " Kilépési kód:\n" -" A parancs kilépési kódjával tér vissza, vagy sikerrel, ha üres a pa-\n" -" rancs." +" A parancs kilépési kódjával tér vissza, vagy sikerrel, ha üres a parancs." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3105,30 +3228,34 @@ msgstr "" " \n" " Minden végrehajtáskor a getopts a $név változóba helyezi a következő\n" " kapcsolót (szükség esetén inicializálva a változót). A kapcsoló indexe\n" -" az OPTIND változóba kerül. Az OPTIND változót a parancsértelmező indu-\n" -" láskor 1-re inicializálja. Ha a kapcsolónak paramétere van, ennek ér-\n" -" téke az OPTARG változóba kerül.\n" -" \n" -" A getopts két módon tud hibát jelezni. Elnémítható a hibajelzés az OP-\n" -" CIÓK kettősponttal való kezdésével. Ebben a módban nem kerül kiírásra\n" -" hibaüzenet. Ha a getopts érvénytelen opciót talál, ezt az OPTARG vál-\n" -" tozóba írja. Ha hiányzik egy kötelező paraméter, a $név változóba egy\n" -" kettőspont kerül, és a talált karakter OPTARG-ba kerül.\n" -" Ha a getopts nincs néma módban, és érvénytelen kapcsolót talál, $név-\n" -" be egy kérdőjel kerül, OPTARG törlésre kerül, és hibaüzenetet ír ki.\n" -" \n" -" Ha az OPTERR változó 0-ra van állítva, a getopts letiltja a hibaüzene-\n" -" tet, akkor is, ha nem kettősponttal kezdődik az OPCIÓK. OPTERR alapér-\n" -" téke 1.\n" -" \n" -" A getopts alapvetően pozicionális paramétereket értelmezi ($0–$9), de\n" +" az OPTIND változóba kerül. Az OPTIND változót a parancsértelmező " +"induláskor\n" +" 1-re inicializálja. Ha a kapcsolónak paramétere van, ennek értéke\n" +" az OPTARG változóba kerül.\n" +" \n" +" A getopts két módon tud hibát jelezni. Elnémítható a hibajelzés az " +"OPCIÓK\n" +" kettősponttal való kezdésével. Ebben a módban nem kerül kiírásra\n" +" hibaüzenet. Ha a getopts érvénytelen opciót talál, ezt az OPTARG\n" +" változóba írja. Ha hiányzik egy kötelező paraméter, a $név változóba " +"egy\n" +" kettőspont kerül, és a talált karakter az OPTARG-ba kerül.\n" +" Ha a getopts nincs néma módban, és érvénytelen kapcsolót talál, $NÉV-be\n" +" egy kérdőjel kerül, az OPTARG törlésre kerül, és hibaüzenetet ír ki.\n" +" \n" +" Ha az OPTERR változó 0-ra van állítva, a getopts letiltja a " +"hibaüzenetet,\n" +" akkor is, ha nem kettősponttal kezdődik az OPCIÓK. Az OPTERR alapértéke " +"1.\n" +" \n" +" A getopts alapvetően a pozicionális paramétereket értelmezi ($0–$9), de\n" " több argumentum esetén mindet kezeli.\n" " \n" " Kilépési kód:\n" " Sikerrel tér vissza, ha kapcsolót talált, sikertelenül, ha elfogytak a\n" -" kapcsolók vagy hiba történt." +" kapcsolók, vagy hiba történt." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3139,8 +3266,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3152,35 +3279,38 @@ msgid "" msgstr "" "A parancsértelmező felváltása a megadott paranccsal.\n" " \n" -" PARANCS végrehajtása, kicserélve a parancsértelmezőt a megadott prog-\n" -" rammal. ARGUMENTUMOK lesznek a PARANCS argumentumai. Ha nincs PARANCS\n" -" megadva, a futó shellre kerülnek érvényesítésre az átirányítások.\n" +" A PARANCS végrehajtása, kicserélve a parancsértelmezőt a megadott\n" +" programmal. Az ARGUMENTUMOK lesznek a PARANCS argumentumai. Ha nincs\n" +" PARANCS megadva, a futó parancsértelmezőben kerülnek érvényesítésre\n" +" az átirányítások.\n" " \n" " Kapcsolók:\n" -" -a név NÉV átadása PARANCS-nak $0-ként\n" -" -c PARANCS végrehajtása üres környezettel\n" -" -l PARANCS-nak egy „-” átadása $0-ként\n" +" -a név\ta NÉV átadása a PARANCSNAK $0-ként\n" +" -c\ta PARANCS végrehajtása üres környezettel\n" +" -l\ta PARANCSNAK egy „-” átadása $0-ként\n" " \n" -" Ha a parancs nem hajtható végre, a nem interaktív parancsértelmező ki-\n" -" lép, kivéve, ha az „execfail” parancsértelmező-beállítás él.\n" +" Ha a parancs nem hajtható végre, a nem interaktív parancsértelmező " +"kilép,\n" +" kivéve, ha az „execfail” parancsértelmező-beállítás él.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve, ha PARANCS nem található vagy sikertelen\n" +" Sikerrel tér vissza, kivéve, ha a PARANCS nem található vagy sikertelen\n" " az átirányítás." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" " Exits the shell with a status of N. If N is omitted, the exit status\n" " is that of the last command executed." msgstr "" -"Kilép a parancsértelmezőből.\n" +"Kilépés a parancsértelmezőből.\n" " \n" -" Kilép a parancsértelmezőből N kilépési kóddal. Ha N hiányzik, az utol-\n" -" só parancs kilépési kódjával lép ki." +" Kilép a parancsértelmezőből N kilépési kóddal. Ha az N hiányzik, az " +"utolsó\n" +" parancs kilépési kódjával lép ki." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3188,12 +3318,12 @@ msgid "" "executed\n" " in a login shell." msgstr "" -"Kilép a bejelentkező parancsértelmezőből.\n" +"Kilépés a bejelentkező parancsértelmezőből.\n" " \n" -" Kilép a bejelentkező parancsértelmezőből N kilépési kóddal. Hibával\n" +" Kilép a bejelentkező parancsértelmezőből az N kilépési kóddal. Hibával\n" " tér vissza, ha nem bejelentkező parancsértelmezőből hívják." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3224,30 +3354,34 @@ msgid "" msgstr "" "Parancsok megjelenítése vagy végrehajtása az előzményből.\n" " \n" -" Az fc segítségével lehet korábbi parancsokat kiírni, módosítani és új-\n" -" ból végrehajtani.\n" -" ELSŐ és UTOLSÓ lehetnek egy tartományt meghatározó számok, vagy ELSŐ\n" +" Az fc segítségével lehet korábbi parancsokat kiírni, módosítani és " +"újból\n" +" végrehajtani.\n" +" Az ELSŐ és UTOLSÓ lehetnek egy tartományt meghatározó számok, vagy az " +"ELSŐ\n" " lehet egy karakterlánc, amely az utolsó így kezdődő parancsot jelöli.\n" " \n" " Kapcsolók:\n" -" -e ENAME szerkesztő kiválasztása. Az alapértelmezett az FCEDIT,\n" -" majd EDITOR, végül a vi\n" -" -l szerkesztés helyett a sorok listázása\n" -" -n sorok számának elhagyása listázáskor\n" -" -r sorrend megcserélése (legújabbakkal kezdi a listázást)\n" +" -e ENAME\tszerkesztő kiválasztása. Az alapértelmezett az FCEDIT,\n" +" \t\tmajd EDITOR, végül a vi\n" +" -l\tszerkesztés helyett a sorok listázása\n" +" -n\tsorok számának elhagyása listázáskor\n" +" -r\tsorrend megcserélése (legújabbakkal kezdi a listázást)\n" " \n" -" Az „fc -s [minta=csere] [parancs]” formával PARANCS... újból végrehaj-\n" -" tásra kerül miután a régi=új behelyettesítés megtörtént.\n" +" Az „fc -s [minta=csere] [parancs]” formával PARANCS... újból " +"végrehajtásra\n" +" kerül, miután a régi=új behelyettesítés megtörtént.\n" " \n" " Hasznos lehet az „alias r='fc -s'” használata, mivel így pl. az „r cc”\n" " parancs végrehajtja az utolsó „cc”-vel kezdődő parancsot, míg „r” meg-\n" " ismétli az utolsó parancsot.\n" " \n" " Kilépési kód:\n" -" Sikert vagy a végrehajtott parancs kilépési kódját adja; nullától el-\n" -" térőt hiba esetén." +" Sikert vagy a végrehajtott parancs kilépési kódját adja; nullától " +"eltérőt\n" +" hiba esetén." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3258,17 +3392,18 @@ msgid "" " Exit Status:\n" " Status of command placed in foreground, or failure if an error occurs." msgstr "" -"A munka előtérbe hozása.\n" +"Munka előtérbe hozása.\n" " \n" " A MUNKASZÁM által meghatározott munkát az előtérbe hozza, az aktuális\n" -" munkává téve azt. Ha nincs MUNKASZÁM, a parancsértelmező által meg-\n" -" jegyzett aktuális munkára vonatkozik a parancs.\n" +" munkává téve azt. Ha nincs MUNKASZÁM, a parancsértelmező által " +"megjegyzett\n" +" aktuális munkára vonatkozik a parancs.\n" " \n" " Kilépési kód:\n" -" Az előtérbe hozott parancs állapota (annak kilépésekor), vagy nemnulla\n" +" Az előtérbe hozott parancs állapota (annak kilépésekor), vagy nem nulla\n" " hiba esetén." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3281,18 +3416,18 @@ msgid "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." msgstr "" -"Munkák háttérbe küldése.\n" +"Munka háttérbe küldése.\n" " \n" " A MUNKASZÁM által meghatározott munkákat háttérbe küldi, mintha „&”\n" -" jellel a parancs végén lettek volna indítva. Ha nincs MUNKASZÁM, a pa-\n" -" rancsértelmező által megjegyzett aktuális munkára vonatkozik a parancs.\n" +" jellel a parancs végén lettek volna indítva. Ha nincs MUNKASZÁM, a\n" +" parancsértelmező által megjegyzett aktuális munkára vonatkozik a " +"parancs.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve ha a munkakezelés le van tiltva, vagy hi-\n" -" ba történt." +" Sikerrel tér vissza, kivéve ha a munkakezelés le van tiltva, vagy\n" +" hiba történt." -#: builtins.c:784 -#, fuzzy +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3301,15 +3436,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3317,25 +3452,25 @@ msgid "" msgstr "" "Programok helyének megjegyzése vagy megjelenítése.\n" " \n" -" Meghatározza vagy megjegyzi a teljes útvonalát minden megadott NÉV\n" -" parancsnak. Ha nincs NÉV megadva, az összes megjegyzett parancsot lis-\n" -" tázza.\n" +" Meghatározza és megjegyzi minden megadott NÉV parancs teljes útvonalát.\n" +" Ha nincs NÉV megadva, az összes megjegyzett parancsot listázza.\n" " \n" " Kapcsolók:\n" -" -d minden megjegyzett NÉV helyének elfelejtése\n" -" -l bemenetként újrahasználható formátumban listázzon\n" -" -p útvonal ÚTVONAL használata NÉV helyeként\n" -" -r minden megjegyzett hely elfelejtése\n" -" -t minden megadott NÉV megjegyzett helyének kiírása,\n" -" több név esetén a helyek előtt a NÉV kiírása\n" +" -d\tminden megjegyzett NÉV helyének elfelejtése\n" +" -l\tbemenetként újrahasználható formátumban listázzon\n" +" -p útvonal\taz ÚTVONAL használata a NÉV teljes útvonalaként\n" +" -r\tminden megjegyzett hely elfelejtése\n" +" -t\tminden megadott NÉV megjegyzett helyének kiírása,\n" +" \t\ttöbb név esetén a helyek előtt a NÉV kiírása\n" " Argumentumok:\n" -" NÉV Minden NEV-et megkeres a $PATH-ban, és hozzáadja a megjegy-\n" -" zettek listájához. \n" +" NÉV\tMinden NÉV megkeresése a $PATH-ban, és hozzáadása a\n" +" \t\tmegjegyzettek listájához.\n" +" \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve, ha NÉV nem található vagy érvénytelen kap-\n" -" csolót kap." +" Sikerrel tér vissza, kivéve, ha a NÉV nem található vagy érvénytelen\n" +" kapcsolót kap." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3347,7 +3482,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3359,21 +3494,23 @@ msgstr "" "Tájékoztatás megjelenítése beépített parancsokról.\n" " \n" " Rövid leírásokat jelenít meg a beépített parancsokról. Ha MINTA meg\n" -" van adva, részletes segítséget ad az összes illeszkedő parancsról, kü-\n" -" lönben a témákat listázza.\n" +" van adva, részletes segítséget ad az összes illeszkedő parancsról,\n" +" különben a témákat listázza.\n" " \n" " Kapcsolók:\n" -" -d minden témáról rövid leírás listázása\n" -" -m man-szerű formátum használata\n" -" -s csak rövid használati útmutató kiírása minden találathoz\n" +" -d\tminden témáról rövid leírás listázása\n" +" -m\tman-szerű formátum használata\n" +" -s\tcsak rövid használati útmutató kiírása minden, a MINTÁNAK\n" +" \t\tmegfelelő témáról\n" " \n" " Argumentumok:\n" -" MINTA Témakört meghatározó minta\n" +" MINTA\tTémakört meghatározó minta\n" " \n" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve ha nincs találat vagy hibás kapcsolót kap." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3382,23 +3519,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3406,38 +3543,39 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" -"Megjeleníti vagy módosítja az előzményeket.\n" +"Az előzmények megjelenítése vagy módosítása.\n" " \n" -" Megjeleníti az előzménylistát sorszámokkal, minden módosított bejegy-\n" -" zést az elején „*”-gal megjelölve. N megadása esetén az utolsó N be-\n" -" jegyzést listázza.\n" +" Megjeleníti az előzménylistát sorszámokkal, minden módosított " +"bejegyzést\n" +" az elején „*”-gal megjelölve. N megadása esetén az utolsó N\n" +" bejegyzést listázza.\n" " \n" " Kapcsolók:\n" -" -c minden előzmény törlése\n" -" -d szám a SZÁM számú bejegyzés törlése\n" -" -a a futó munkamenet előzményeinek központi fájlba írása\n" -" -n minden olvasatlan előzménysor kiírása az előzményfájlból\n" -" -r előzményfájl beolvasása és előzménylistához írása\n" -" -w az aktuális előzmények előzményfájlba írása és előzmény-\n" -" listához írása\n" -" \n" -" -p előzménykiegészítés végrehajtása minden ARGumentumon és az\n" -" eredmény kiírása előzménylistán való tárolás nélkül\n" -" -s ARGumentumok hozzáírása egyetlen bejegyzésként a listához\n" -" \n" -" Ha FÁJLNÉV is meg van adva, az lesz előzményfájlként használva. Külön-\n" -" ben $HISTFILE értéke, vagy ennek híján ~/.bash_history.\n" -" \n" -" Ha a $HISTTIMEFORMAT változó be van állítva, és nem üres, akkor értéke\n" -" lesz használva az strftime(3) formátumparamétereként a kijelzett be-\n" -" jegyzések időbélyegeinek megjelenítéséhez. Különben nem ír ki időt.\n" +" -c\tminden előzmény törlése\n" +" -d szám\ta SZÁM számú bejegyzés törlése\n" +" -a\ta futó munkamenet előzményeinek központi fájlba írása\n" +" -n\tminden olvasatlan előzménysor kiírása az előzményfájlból\n" +" -r\telőzményfájl beolvasása és előzménylistához írása\n" +" -w\taz aktuális előzmények előzményfájlba írása és\n" +" \t\telőzménylistához írása\n" +" \n" +" -p\telőzménykiegészítés végrehajtása minden ARGUMENTUMON, és az\n" +" \t\teredmény kiírása előzménylistán való tárolás nélkül\n" +" -s\tARGUMENTUMOK hozzáírása egyetlen bejegyzésként a listához\n" +" \n" +" Ha FÁJLNÉV is meg van adva, az lesz előzményfájlként használva. " +"Különben\n" +" a HISTFILE értéke, vagy ennek híján ~/.bash_history.\n" +" \n" +" Ha a HISTTIMEFORMAT változó be van állítva, és nem üres, akkor értéke\n" +" lesz használva az strftime(3) formátumparamétereként a kijelzett\n" +" bejegyzések időbélyegeinek megjelenítéséhez. Különben nem ír ki időt.\n" " \n" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve ha érvénytelen kapcsolót kap, vagy hiba\n" " történik." -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3447,7 +3585,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3466,22 +3604,23 @@ msgstr "" " munka jelenik meg, különben az összes aktív.\n" " \n" " Kapcsolók:\n" -" -l folyamatazonosítók megjelenítése a többi adaton túl\n" -" -n csak azon folyamatok listázása, amelyek állapota változott\n" -" az utolsó értesítés óta\n" -" -p csak folyamatazonosítók listázása\n" -" -r csak a futó munkák megjelenítése\n" -" -s csak a megállított munkák megjelenítése\n" -" \n" -" Ha -x meg van adva, PARANCS kerül futtatásra úgy, hogy minden argumen-\n" -" tum a meghatározott munkához tartozó folyamatcsoport vezetőjének PID-\n" -" jére cserélődik.\n" +" -l\tfolyamatazonosítók megjelenítése a többi adaton túl\n" +" -n\tcsak azon folyamatok listázása, amelyek állapota változott\n" +" \t\taz utolsó értesítés óta\n" +" -p\tcsak folyamatazonosítók listázása\n" +" -r\tcsak a futó munkák megjelenítése\n" +" -s\tcsak a megállított munkák megjelenítése\n" +" \n" +" Ha -x meg van adva, PARANCS kerül futtatásra úgy, hogy minden " +"argumentum\n" +" a meghatározott munkához tartozó folyamatcsoport vezetőjének PID-jére\n" +" cserélődik.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, ha nem kap érvénytelen kapcsolót és nem történik\n" -" hiba. -x használata esetén PARANCS kilépési kódjával tér vissza." +" Sikerrel tér vissza, ha nem kap érvénytelen kapcsolót, és nem történik\n" +" hiba. -x használata esetén a PARANCS kilépési kódjával tér vissza." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3491,7 +3630,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3499,21 +3638,22 @@ msgid "" msgstr "" "Munkák eltávolítása az aktuális parancsértelmezőből.\n" " \n" -" Eltávolít minden MUNKASZÁM munkát az aktív munkák táblájából. MUNKA-\n" -" SZÁM megadása nélkül a parancsértelmező által megjegyzett aktuális\n" +" Eltávolít minden MUNKASZÁM munkát az aktív munkák táblájából. A " +"MUNKASZÁM\n" +" megadása nélkül a parancsértelmező által megjegyzett aktuális\n" " munkát távolítja el.\n" " \n" " Kapcsolók:\n" -" -a minden munka eltávolítása, ha nincs MUNKASZÁM megadva\n" -" -h minden MUNKASZÁM megjelölése úgy, hogy nem kell továbbadni\n" -" nekik a parancsértelmező által kapott SIGHUP-ot\n" -" -r csak futó munkák eltávolítása\n" +" -a\tminden munka eltávolítása, ha nincs MUNKASZÁM megadva\n" +" -h\tminden MUNKASZÁM megjelölése úgy, hogy nem kell továbbadni\n" +" \t\tnekik a parancsértelmező által kapott SIGHUP-ot\n" +" -r\tcsak futó munkák eltávolítása\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, ha nem kap érvénytelen kapcsolót vagy MUNKASZÁM-\n" -" ot." +" Sikerrel tér vissza, ha nem kap érvénytelen kapcsolót vagy MUNKASZÁMOT" -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3525,7 +3665,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3536,26 +3677,27 @@ msgid "" msgstr "" "Szignál küldése munkának.\n" " \n" -" PID vagy MUNKASZÁM által meghatározott folyamatoknak SZIGNÁL vagy\n" -" SZIGNÁLSZÁM szignál küldése. Ha sem SZIGNÁL, sem SZIGNÁLSZÁM nincs\n" -" megadva, akkor SIGTERM az alapértelmezés.\n" +" PID vagy MUNKASZÁM által meghatározott folyamatoknak a SZIGNÁL vagy\n" +" SZIGNÁLSZÁM szignál küldése. Ha sem a SZIGNÁL, sem a SZIGNÁLSZÁM nincs\n" +" megadva, akkor a SIGTERM az alapértelmezés.\n" " \n" " Kapcsolók:\n" -" -s sig SIG egy szignálnév\n" -" -n sig SIG egy szignálszám\n" -" -l a szignálnevek listázása; ha argumentumok is követik, akkor\n" -" az általuk meghatározott szignálok nevei kerülnek listázásra\n" +" -s sig\ta SIG egy szignálnév\n" +" -n sig\taSIG egy szignálszám\n" +" -l\ta szignálnevek listázása; ha argumentumok is követik, akkor\n" +" \t\taz általuk meghatározott szignálok nevei kerülnek listázásra\n" +" -L\ta -l szinonimája\n" " \n" " A kill két okból beépített parancs: így lehetővé teszi munkaszámok\n" -" használatát PID helyett, továbbá lehetségessé válik folyamatok kilövé-\n" -" se, ha a folyamatok számának korlátja kimerült.\n" +" használatát PID helyett, továbbá lehetségessé válik folyamatok " +"kilövése,\n" +" ha a folyamatok számának korlátja kimerült.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, ha nem kap érvénytelen kapcsolót és nem történik\n" +" Sikerrel tér vissza, ha nem kap érvénytelen kapcsolót, és nem történik\n" " hiba." -#: builtins.c:938 -#, fuzzy +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3601,32 +3743,32 @@ msgid "" msgstr "" "Aritmetikai kifejezés kiértékelése.\n" " \n" -" Minden ARGumentum kiértékelése aritmetikai kifejezésként. A kiértéke-\n" -" lés fix szélességű egészek esetén túlcsordulás-ellenőrzés nélkül törté-\n" -" nik, de a nullával való osztás hibát okoz. Az alábbi operátorok soron-\n" -" ként azonos precedenciaszinten vannak. A precedencia az alábbi sorrend-\n" -" ben csökken:\n" -" \n" -" id++, id-- változó postfix-növelése, -csökkentése\n" -" ++id, --id változó prefix-növelése, -csökkentése\n" -" -, + mínusz, plusz előjel\n" -" !, ~ logikai és bitenkénti negált\n" -" ** hatványozás\n" -" *, /, % szorzás, osztás, maradék\n" -" +, - összeadás, kivonás\n" -" <<, >> bitenkénti eltolás balra, jobb\n" -" <=, >=, <, > összehasonlítás\n" -" ==, != egyenlőség, egyenlőtlenség\n" -" & bitenkénti ÉS\n" -" ^ bitenkénti kizáró vagy\n" -" | bitenkénti VAGY\n" -" && logikai ÉS\n" -" || logikai VAGY\n" -" kif ? kif : kif\n" -" feltételes operátor\n" -" =, *=, /=, %=,\n" -" +=, -=, <<=, >>=,\n" -" &=, ^=, |= értékadás\n" +" Minden ARGUMENTUM kiértékelése aritmetikai kifejezésként. A kiértékelés\n" +" fix szélességű egészek esetén túlcsordulás-ellenőrzés nélkül történik,\n" +" de a nullával való osztás hibát okoz. Az alábbi operátorok soronként\n" +" azonos precedenciaszinten vannak. A precedencia az alábbi sorrendben\n" +" csökken:\n" +" \n" +" \tid++, id--\tváltozó postfix-növelése, -csökkentése\n" +" \t++id, --id\tváltozó prefix-növelése, -csökkentése\n" +" \t-, +\t\tmínusz, plusz előjel\n" +" \t!, ~\t\tlogikai és bitenkénti negált\n" +" \t**\t\thatványozás\n" +" \t*, /, %\t\tszorzás, osztás, maradék\n" +" \t+, -\t\tösszeadás, kivonás\n" +" \t<<, >>\t\tbitenkénti eltolás balra, jobb\n" +" \t<=, >=, <, >\tösszehasonlítás\n" +" \t==, !=\t\tegyenlőség, egyenlőtlenség\n" +" \t&\t\tbitenkénti ÉS\n" +" \t^\t\tbitenkénti kizáró vagy (XOR)\n" +" \t|\t\tbitenkénti VAGY\n" +" \t&&\t\tlogikai ÉS\n" +" \t||\t\tlogikai VAGY\n" +" \tkif ? kif : kif\n" +" \t\t\tfeltételes operátor\n" +" \t=, *=, /=, %=,\n" +" \t+=, -=, <<=, >>=,\n" +" \t&=, ^=, |= értékadás\n" " \n" " Parancsértelmező-változók is lehetnek operandusok. A változók nevének\n" " helyére értékük kerül (fix szélességű egészként) a kifejezésben. Nem\n" @@ -3638,8 +3780,7 @@ msgstr "" " Kilépési kód:\n" " Ha az utolsó argumentum 0, a let 1-gyel tér vissza, különben 0-val." -#: builtins.c:983 -#, fuzzy +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3660,27 +3801,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3689,43 +3831,45 @@ msgid "" "occurs,\n" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -"Beolvas egy sort a szabványos bemenetről és mezőkre osztja.\n" +"Egy sor beolvasása a szabványos bemenetről, és mezőkre osztása.\n" " \n" -" Egy sort olvas be a szabványos bemenetről, vagy az FD fájlleíróból, ha\n" +" Egy sor beolvasása a szabványos bemenetről, vagy az FD fájlleíróból, ha\n" " meg van adva a -u kapcsoló. A sor mezőkre lesz osztva a szódarabolás\n" -" szabályai szerint. Az első szó az elős NÉV nevű változó értéke lesz, a\n" -" második a másodiké stb. A szóelválasztó karaktereket az $IFS adja.\n" +" szabályai szerint. Az első szó az első NÉV nevű változó értéke lesz, a\n" +" második a másodiké stb. A szóelválasztó karaktereket az $IFS adja meg.\n" " \n" -" Ha nincs NÉV megadva, a beolvasott sor a $REPLY változóba kerül.\n" +" Ha nincs NÉV megadva, a beolvasott sor a REPLY változóba kerül.\n" " \n" " Kapcsolók:\n" -" -a tömb a beolvasott szavak TÖMB tömb 0-tól kezdve egymást követő\n" -" indexű elemeibe kerülnek\n" -" -d elvál ELVÁL első karakteréig olvasson az újsor helyett\n" -" -e a sor beolvasása Readline használatával interaktívan\n" -" -i szöveg SZÖVEG használata kezdeti szövegként (Readlinehoz)\n" -" -n szám SZÁM karakter beolvasása után térjen vissza, ne várjon egy\n" -" újsorra, de vegye figyelembe az elválasztót, ha kevesebb\n" -" mint SZÁM karaktert olvasott be az elválasztóig\n" -" -N szám pontosan akkor térjen vissza, ha SZÁM karaktert olva-\n" -" sott be, kivéve az EOF elérését és az időtúllépést, az el-\n" -" választó figyelmen kívül hagyva\n" -" -p prompt írja ki a PROMPT értékét olvasás előtt a sor elejére\n" -" -r tiltsa le a „\\” kezdetű escape-ek használatát\n" -" -s terminálról érkező bemenet ne visszhangozzon\n" -" -t idő IDŐ leteltével jelezzen hibát, ha nem tudott egy teljes\n" -" sort beolvasni. A $TMOUT változó értéke az alapértelmezett\n" -" időkorlát. IDŐ lehet tizedestört is. Ha idő 0, csak akkor\n" -" lesz sikeres a beolvasás, ha az adott fájlleírón már ol-\n" -" vasható a bemenet. Időtúllépés esetén a kilépési kód >128\n" -" -u fd fájl beolvasása FD. fájlleíróból a szabványos bemenet he-\n" -" lyett\n" +" -a tömb\ta beolvasott szavak TÖMB tömb 0-tól kezdve egymást követő\n" +" \t\tindexű elemeibe kerülnek\n" +" -d elválasztó\taz ELVÁLASZTÓ első karakteréig olvasson az újsor\n" +" \t\thelyett\n" +" -e\ta sor beolvasása Readline használatával interaktívan\n" +" -i szöveg\ta SZÖVEG használata kezdeti szövegként (Readline-hoz)\n" +" -n szám\tSZÁM karakter beolvasása után térjen vissza, ne várjon\n" +" \t\tújsorra, de vegye figyelembe az elválasztót, ha kevesebb\n" +" \t\tmint SZÁM karaktert olvasott be az elválasztóig\n" +" -N szám\tpontosan akkor térjen vissza, ha SZÁM karaktert olvasott\n" +" \t\tbe, kivéve az EOF elérését és az időtúllépést, az\n" +" \t\telválasztókat figyelmen kívül hagyva\n" +" -p prompt\tírja ki a PROMPT értékét olvasás előtt a sor elejére,\n" +" \t\tzáró újsor nélkül\n" +" -r\ttiltsa le a „\\” kezdetű escape-ek használatát\n" +" -s\tterminálról érkező bemenet ne visszhangozzon\n" +" -t idő\tIDŐ leteltével jelezzen hibát, ha nem tudott egy teljes\n" +" \t\tsort beolvasni. A $TMOUT változó értéke az alapértelmezett\n" +" \t\tidőkorlát. Az IDŐ lehet tizedestört is. Ha idő 0, csak akkor\n" +" \t\tlesz sikeres a beolvasás, ha az adott fájlleírón már\n" +" \t\tolvasható a bemenet. Időtúllépés esetén a kilépési kód >128\n" +" -u fd\tfájl beolvasása az FD. fájlleíróból a szabványos bemenet\n" +" \t\thelyett\n" " \n" " Kilépési kód:\n" " A kilépési kód nulla, kivéve ha EOF-ot ér a beolvasás, időtúllépéskor\n" -" vagy érvénytelen fájlleíró megadásakor." +" (ekkor > 128) vagy érvénytelen fájlleíró megadásakor a -u kapcsolónak." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3739,14 +3883,15 @@ msgstr "" "Visszatér egy függvényből.\n" " \n" " Egy függvény vagy egy „source”-olt parancsfájl adott N kilépési kóddal\n" -" való visszatérését okozza. Ha N nincs megadva, az utolsó parancs kilé-\n" -" pési kódjával tér vissza.\n" +" való visszatérését okozza. Ha N nincs megadva, az utolsó parancs " +"kilépési\n" +" kódjával tér vissza.\n" " \n" " Kilépési kód:\n" " N-nel tér vissza, kivéve ha nem függvényből vagy parancsfájlból akar\n" " visszatérni – ekkor sikertelenséget jelez." -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3815,7 +3960,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3833,9 +3979,8 @@ msgid "" msgstr "" "Parancsértelmező-beállítások és pozicionális paraméterek állítása, törlése.\n" " \n" -" Parancsértelmező-jellemzők és pozicionális paraméterek értékeinek mó-\n" -" dosítása, parancsértelmező-változók neveinek és értékeinek kiírása.\n" -" display the names and values of shell variables.\n" +" Parancsértelmező-attribútumok és pozicionális paraméterek értékeinek\n" +" módosítása, parancsértelmező-változók neveinek és értékeinek kiírása.\n" " \n" " Kapcsolók:\n" " -a A módosított vagy létrehozott változó exportálásra jelölése\n" @@ -3882,8 +4027,9 @@ msgstr "" " vi vi-szerű sorszerkesztés\n" " xtrace mint -x\n" " -p Mindig be van kapcsolva, ha a valós és effektív felhasználó nem\n" -" egyezik. Letiltja az $ENV fájl értelmezését és a parancsértelme-\n" -" ző-függvények betöltését. A kapcsoló kikapcsolása az effektív\n" +" egyezik. Letiltja az $ENV fájl értelmezését és a " +"parancsértelmező-\n" +" függvények betöltését. A kapcsoló kikapcsolása az effektív\n" " uid és gid valósra állítását okozza\n" " -t Egyetlen parancs beolvasása és végrehajtás után kilépés\n" " -u Nem létező változók behelyettesítése legyen hiba\n" @@ -3894,23 +4040,29 @@ msgstr "" " -E Az ERR csapdát öröklik a függvények\n" " -H Felkiáltójeles előzményhelyettesítés engedélyezése. Interaktív\n" " parancsértelmezőnél alapértelmezés\n" -" -P Parancsok végrehajtásánál szimbolikus linkek követésének tiltá-\n" -" sa (például cd esetében)\n" +" -P Parancsok végrehajtásánál szimbolikus linkek követésének tiltása\n" +" (például cd esetében)\n" " -T A DEBUG csapdát öröklik a függvények\n" +" -- A további argumentumok hozzárendelése a pozicionális " +"paraméterekhez.\n" +" Ha nincsenek további argumentumok, akkora a pozicionális " +"paraméterek\n" +" törlésre kerülnek.\n" " - A további argumentumok pozicionális paraméterekhez rendelése\n" " A -x és -v kapcsolók ki vannak kapcsolva.\n" " \n" " „-” helyett „+” használatával a kapcsolók tilthatóak. A kapcsolók a\n" -" parancsértelmező indításakor is állíthatóak. Az érvényben lévő kapcso-\n" -" lók a $- változóban vannak. A záró nem értelmezhető argumentumok pozi-\n" -" cionális paraméterek lesznek (rendre $1, $2 ... $n). Ha nincs ARG, min-\n" -" den parancsértelmező-változó kiírásra kerül.\n" +" parancsértelmező indításakor is állíthatóak. Az érvényben lévő " +"kapcsolók\n" +" a $- változóban vannak. A záró nem értelmezhető argumentumok " +"pozicionális\n" +" paraméterek lesznek (rendre $1, $2 ... $n). Ha nincs ARG, minden\n" +" parancsértelmező-változó kiírásra kerül.\n" " \n" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve ha érvénytelen kapcsolót kap." -#: builtins.c:1126 -#, fuzzy +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3920,7 +4072,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3931,16 +4083,20 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -"Parancsértelmező-változók, -függvények és -jellemzők törlése.\n" +"Parancsértelmező-változók és -függvények értékeinek és jellemzőinek " +"törlése.\n" " \n" " Minden NÉV nevű függvény vagy változó törlése.\n" " \n" " Kapcsolók:\n" -" -f minden NÉV függvény\n" -" -v minden NÉV változó\n" +" -f\tminden NÉV függvény\n" +" -v\tminden NÉV változó\n" +" -n\tminden NÉV névhivatkozás, és a változó törlése az általa\n" +" \t\thivatkozott változó helyett\n" " \n" -" Kapcsolók nélkül az unset először változót, sikertelenség esetén függ-\n" -" vényt próbál törölni.\n" +" Kapcsolók nélkül az unset először változót, sikertelenség esetén " +"függvényt\n" +" próbál törölni.\n" " \n" " Néhány változót nem lehet törölni, lásd „readonly”.\n" " \n" @@ -3948,7 +4104,7 @@ msgstr "" " Sikerrel tér vissza, kivéve ha hibás kapcsolót kap, vagy egy NÉV csak\n" " olvasható." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3966,24 +4122,23 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -"Exportálásra jelöl egy parancsértelmező-változót.\n" +"Parancsértelmező-változók exportálás attribútumának beállítása.\n" " \n" " Minden NÉV automatikus környezeti változóvá exportálásra jelölése. Így\n" -" minden ezután kiadott parancs környezetében megjelenik. Ha ÉRTÉK is\n" +" minden ezután kiadott parancs környezetében megjelenik. Ha az ÉRTÉK is\n" " meg van adva, értékadás is történik.\n" " \n" " Kapcsolók:\n" -" -f parancsértelmező-függvényekre vonatkozzon\n" -" -n export-jellemző eltávolítása minden NÉV-ről\n" -" -p összes exportált változó és függvény listázása\n" +" -f\tparancsértelmező-függvényekre vonatkozzon\n" +" -n\texport attribútum eltávolítása minden NÉVRŐL\n" +" -p\tösszes exportált változó és függvény listázása\n" " \n" " Egy „--” argumentum letiltja a további kapcsolóértelmezést.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve ha érvénytelen kapcsolót vagy NEV-et kap." +" Sikerrel tér vissza, kivéve ha érvénytelen kapcsolót vagy NEVET kap." -#: builtins.c:1167 -#, fuzzy +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3995,9 +4150,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4006,22 +4160,23 @@ msgid "" msgstr "" "Parancsértelmező-változó változtathatatlannak jelölése.\n" " \n" -" Minden NÉV csak olvashatóvá állítása. A továbbiakban a NEV-ek értéke\n" -" értékadással nem változtatható. Ha ÉRTÉK is van megadva, az írásvéde-\n" -" lem bekapcsolása előtt értékadás is történik.\n" +" Minden NÉV csak olvashatóvá állítása. A továbbiakban a NEVEK értéke\n" +" értékadással nem változtatható. Ha ÉRTÉK is van megadva, az írásvédelem\n" +" bekapcsolása előtt értékadás is történik.\n" " \n" " Kapcsolók:\n" -" -a indexelt tömbváltozókra vonatkozik\n" -" -A asszociatív tömbváltozókra vonatkozik\n" -" -f függvényekre vonatkozik\n" -" -p az összes csak olvasható változó és függvény listázása\n" +" -a\tindexelt tömbváltozókra vonatkozik\n" +" -A\tasszociatív tömbváltozókra vonatkozik\n" +" -f\tfüggvényekre vonatkozik\n" +" -p\taz összes csak olvasható változó vagy függvény listázása\n" +" \t\taz -f kapcsoló megadásától függően\n" " \n" " Egy „--” argumentum letiltja a további kapcsolóértelmezést.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve ha érvénytelen kapcsolót vagy NEV-et kap." +" Sikerrel tér vissza, kivéve ha érvénytelen kapcsolót vagy NEVET kap." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4039,7 +4194,7 @@ msgstr "" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve ha N negatív vagy nagyobb mint $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4054,15 +4209,17 @@ msgid "" msgstr "" "Parancsok végrehajtása fájlból a futó parancsértelmezőben.\n" " \n" -" FÁJLNÉV fájlból a parancsok beolvasása és végrehajtása. A fájlnév meg-\n" -" találásához a $PATH által felsorolt könyvtárakban keres. Az ARGumentu-\n" -" mok pozicionális paraméterek lesznek FÁJLNÉV végrehajtásakor.\n" +" A FÁJLNÉV fájlból a parancsok beolvasása és végrehajtása. A fájlnév\n" +" megtalálásához a $PATH által felsorolt könyvtárakban keres. Az " +"ARGUMENTUMOK\n" +" pozicionális paraméterek lesznek a FÁJLNÉV végrehajtásakor.\n" " \n" " Kilépési kód:\n" -" Az utolsó FÁJLNÉV-beli parancs kilépési kódjával tér vissza; sikerte-\n" -" lenül, ha FÁJLNÉV nem olvasható." +" A FÁJLNÉV utolsó parancsának kilépési kódjával tér vissza; " +"sikertelenül,\n" +" ha a FÁJLNÉV nem olvasható." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4078,18 +4235,17 @@ msgstr "" "Parancsvégrehajtás felfüggesztése.\n" " \n" " A futó parancsértelmező végrehajtásának felfüggesztése SIGCONT szignál\n" -" érkezéséig. Ha nincs erőltetve, bejelentkező parancsértelmezőt nem\n" +" érkezéséig. Ha nincs erőltetve, bejelentkezési parancsértelmező nem\n" " függeszthető fel.\n" " \n" " Kapcsolók:\n" -" -f felfüggesztés erőltetése bejelentkező parancsértelmezőn is\n" +" -f\tfelfüggesztés erőltetése bejelentkezési parancsértelmezőn is\n" " \n" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve ha a munkakezelés nem támogatott vagy hiba\n" " történt." -#: builtins.c:1248 -#, fuzzy +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4153,9 +4309,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4173,12 +4329,13 @@ msgid "" msgstr "" "Feltételes kifejezések kiértékelése.\n" " \n" -" 0-val (igaz) vagy 1-gyel (hamis) lép ki a KIFejezés értékétől függően.\n" -" A kifejezéseknek egy vagy két operandusa lehet. Az egyoperandusú kife-\n" -" jezések többnyire fájlok állapotát vizsgálják. Karakterláncokat és\n" +" 0-val (igaz) vagy 1-gyel (hamis) lép ki a KIFEJEZÉS értékétől függően.\n" +" A kifejezéseknek egy vagy két operandusa lehet. Az egyoperandusú " +"kifejezések\n" +" többnyire fájlok állapotát vizsgálják. Karakterláncokat és\n" " számokat is lehet összehasonlítani.\n" " \n" -" Fájl-operátorok:\n" +" Fájloperátorok:\n" " \n" " -a FÁJL Igaz, ha a fájl létezik.\n" " -b FÁJL Igaz, ha a fájl blokkeszköz.\n" @@ -4228,9 +4385,14 @@ msgstr "" " \n" " -o BEÁLLÍTÁS Igaz, ha a parancsértelmező-beállítás engedélyezve\n" " van.\n" -" ! KIF Igaz, ha kif hamis.\n" -" KIF1 -a KIF2 Igaz, ha kif1 ÉS kif2 is igaz.\n" -" KIF1 -o KIF2 Igaz, ha kif1 VAGY kif2 igaz.\n" +" -v VÁLT Igaz, ha a VÁLT parancsértelmező-változó be van " +"állítva.\n" +" -R VÁLT Igaz, ha a VÁLT parancsértelmező-változó be van " +"állítva,\n" +" és névhivatkozás.\n" +" ! KIF Igaz, ha KIF hamis.\n" +" KIF1 -a KIF2 Igaz, ha KIF1 ÉS KIF2 is igaz.\n" +" KIF1 -o KIF2 Igaz, ha KIF1 VAGY KIF2 igaz.\n" " \n" " arg1 OP arg2 Aritmetikai összehasonlítások. OP lehet: -eq, -ne,\n" " -lt, -le, -gt vagy -ge.\n" @@ -4240,10 +4402,11 @@ msgstr "" " vagy egyenlő, mint ARG2.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, ha KIF igaz; sikertelenséggel, ha KIF hamis vagy\n" +" Sikerrel tér vissza, ha a KIF igaz; sikertelenséggel, ha a KIF hamis, " +"vagy\n" " érvénytelen argumentumokat kap." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4253,10 +4416,9 @@ msgstr "" "Feltételes kifejezések kiértékelése.\n" " \n" " Ez a „test” beépített parancs szinonimája, de annyiban eltér tőle,\n" -" hogy az utolsó argumentuma „]” kell legyen – a nyitó „]”-lel összhang-\n" -" ban." +" hogy az utolsó argumentuma „]” kell legyen – a nyitó „]”-lel összhangban." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4269,13 +4431,13 @@ msgid "" msgstr "" "Végrehajtási idők kiírása.\n" " \n" -" Megjeleníti a kumulált felhasználói- és rendszergépidőt, amelyet a pa-\n" -" rancsértelmező és gyermekfolyamatai használtak. \n" +" Megjeleníti a kumulált felhasználói- és rendszergépidőt, amelyet a\n" +" parancsértelmező és gyermekfolyamatai használtak.\n" +" \n" " Kilépési kód:\n" " Mindig sikeres." -#: builtins.c:1350 -#, fuzzy +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4320,34 +4482,45 @@ msgid "" msgstr "" "Szignálok és más események elfogása.\n" " \n" -" Meghatároz és aktivál eseménykezelőket, amelyek szignálok és más kör-\n" -" rülmények bekövetkezésekor futnak.\n" -" \n" -" ARG az a parancs, amelyet a parancsértelmező beolvas és végrehajt a\n" -" SZIGNÁL(ok) bekövetkezésekor. Ha ARG hiányzik (és egy SZIGNÁL van meg-\n" -" adva) vagy ARG egy „-”, akkor minden szignálkezelő visszaáll az alap-\n" -" értelmezett viselkedésre. Ha ARG üres, akkor a megadott SZIGNÁL-ok be-\n" -" következésekor nem történik semmi a parancsértelmezőben és új gyermek-\n" -" folyamataiban.\n" +" Meghatároz és aktivál eseménykezelőket, amelyek szignálok érkezésekor\n" +" vagy más körülmények bekövetkezésekor futnak.\n" +" \n" +" Az ARG az a parancs, amelyet a parancsértelmező beolvas és végrehajt a\n" +" SZIGNÁLOK bekövetkezésekor. Ha az ARG hiányzik (és egy SZIGNÁL van\n" +" megadva) vagy az ARG egy „-”, akkor minden szignálkezelő visszaáll az\n" +" alapértelmezett viselkedésre. Ha az ARG üres, akkor a megadott " +"SZIGNÁLOK\n" +" bekövetkezésekor nem történik semmi a parancsértelmezőben és új\n" +" gyermekfolyamataiban.\n" +" \n" +" Ha a SZIGNÁL értéke EXIT (0), az ARG a parancsértelmezőből való " +"kilépéskor\n" +" fut. Ha értéke DEBUG, az ARG minden parancs előtt fut. Ha a SZIGNÁL " +"értéke\n" +" RETURN, az ARG a . vagy source kulcsszó használatával futtatott " +"függvény\n" +" vagy parancsfájl befejeződésekor fut le. Ha az érték ERR, akkor az ARG " +"a\n" +" parancsok olyan hibáikor fut le, amikor a parancsértelmező kilépne a -e\n" +" kapcsoló használatakor.\n" " \n" -" Ha a SZIGNÁL értéke EXIT (0), ARG a parancsértelmezőből való kilépéskor\n" -" fut. Ha értéke DEBUG, ARG minden parancs előtt fut. Ha nincsenek argu-\n" -" mentumok, a trap kilistázza az összes szignált és parancsot.\n" +" Argumentumok nélkül a trap kilistázza az összes szignált és parancsot.\n" " \n" " Kapcsolók:\n" -" -l a rendszeren érvényes szignálnevek és sorszámaik kilistázása\n" -" -p kilistázza a trap által beállított eseménykezelőket\n" +" -l\ta rendszeren érvényes szignálnevek és sorszámaik kilistázása\n" +" -p\tkilistázza a trap által beállított eseménykezelőket\n" " \n" -" SZIGNÁL értéke egy trap -l által kilistázott szignálnév vagy szám.\n" -" A szignálnevek kis- és nagybetűkre érzéketlenek, a SIG előtag elhagy-\n" -" ható. Szignált a parancsértelmezőnek a „kill -szignál $$” paranccsal\n" +" A SZIGNÁL értéke a -ban megtalálható szignálnév vagy szám.\n" +" A szignálnevek kis- és nagybetűkre érzéketlenek, a SIG előtag " +"elhagyható.\n" +" Szignált a parancsértelmezőnek a „kill -szignál $$” paranccsal\n" " lehet küldeni.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve ha SZIGNÁL érvénytelen vagy érvénytelen\n" +" Sikerrel tér vissza, kivéve ha a SZIGNÁL érvénytelen, vagy érvénytelen\n" " kapcsolót kap." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4356,18 +4529,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4376,31 +4549,30 @@ msgid "" " Returns success if all of the NAMEs are found; fails if any are not " "found." msgstr "" -"Tájékoztat egy parancs típusáról.\n" +"Tájékoztatás egy parancs típusáról.\n" " \n" -" Minden NÉV-ra kiírja, hogy hogy lenne értelmezve parancsnévként.\n" +" Minden NÉV esetén kiírja, hogy hogy lenne értelmezve parancsnévként.\n" " \n" " Kapcsolók:\n" -" -a minden NÉV-re illeszkedő futtatható parancs felsorolása,\n" -" beleértve az aliasokat, beépített parancsokat, és a függvé-\n" -" nyeket (ha „-p” nem tiltja)\n" -" -f függvényeket ne keressen\n" -" -P csak a PATH-ban keresse NEV-et, akkor is, ha van ilyen nevű\n" -" alias, parancs vagy függvény\n" -" -p a végrehajtható fájl nevét írja ki, ha amely végrehajtódna\n" -" a parancs kiadásakor. Ha ez nem fájl lenne, nem ír ki semmit\n" -" -t egyetlen szót ír ki, amely NÉV típusát jelzi: „alias”,\n" -" „keyword” (kulcsszó), „function” (függvény), „builtin” (be-\n" -" épített parancs), „file” (fájl) vagy „” (nem található)\n" +" -a\tminden NÉVRE illeszkedő futtatható parancs felsorolása,\n" +" \t\tbeleértve az aliasokat, beépített parancsokat, és a\n" +" \t\tfüggvényeket (ha „-p” nem tiltja)\n" +" -f\tfüggvényeket ne keressen\n" +" -P\tcsak a PATH-ban keresse a NEVET, akkor is, ha van ilyen nevű\n" +" \t\talias, parancs vagy függvény\n" +" -p\ta végrehajtható fájl nevét írja ki, ha amely végrehajtódna\n" +" \t\ta parancs kiadásakor. Ha ez nem fájl lenne, nem ír ki semmit\n" +" -t\tegyetlen szót ír ki, amely NÉV típusát jelzi: „alias”,\n" +" \t\t„keyword” (kulcsszó), „function” (függvény), „builtin”\n" +" \t\t(beépített parancs), „file” (fájl) vagy „” (nem található)\n" " \n" " Kapcsolók:\n" -" NÉV Értelmezendő parancsnév.\n" +" NÉV\tÉrtelmezendő parancsnév.\n" " \n" " Kilépési kód:\n" " Sikerrel lép ki, ha minden NÉV megtalálható, sikertelenül, ha nem." -#: builtins.c:1417 -#, fuzzy +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4418,6 +4590,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4429,7 +4602,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4448,45 +4622,52 @@ msgid "" msgstr "" "Parancsértelmező erőforráskorlátjainak beállítása.\n" " \n" -" Szabályozási lehetőséget ad a parancsértelmező által elérhető erőfor-\n" -" rások korlátozásához, ha a rendszer támogatja.\n" +" Szabályozási lehetőséget ad a parancsértelmező által elérhető " +"erőforrások\n" +" korlátozásához, ha a rendszer támogatja.\n" " \n" " Kapcsolók:\n" -" -S a puha (soft) korlátozás használata\n" -" -H a kemény (hard) korlátozás használata\n" -" -a az összes aktuális korlátozás kilistázása\n" -" -b foglalatok (socket) puffermérete\n" -" -c core fájlok maximális mérete (0 tiltja)\n" -" -d folyamatok maximális adatszegmens-mérete\n" -" -e a maximális ütemezési prioritás (nice)\n" -" -f a parancsértelmező és gyermekei által írható legnagyobb fájl\n" -" -i várakozó szignálok maximális száma\n" -" -l folyamatonként foglalható memória maximális mérete\n" -" -m a maximálisan operatív memóriában tartható terület mérete\n" -" -n nyitott fájlleírók maximális száma\n" -" -p a csővezetékpuffer mérete\n" -" -q a Posix üzenetsorokban tartható byte-ok száma\n" -" -r a maximális valós idejű ütemezési prioritás\n" -" -s maximális veremméret\n" -" -t maximális processzoridő másodpercekben\n" -" -u felhasználói folyamatok maximális száma\n" -" -v virtuális memória mérete\n" -" -x fájlzárolások maximális száma\n" -" \n" -" Ha KORLÁT meg van adva, az lesz az új értéke a megadott erőforrásnak.\n" +" -S\ta puha (soft) korlátozás használata\n" +" -H\ta kemény (hard) korlátozás használata\n" +" -a\taz összes aktuális korlátozás kilistázása\n" +" -b\tfoglalatok (socket) puffermérete\n" +" -c\tcore fájlok maximális mérete (0 tiltja)\n" +" -d\tfolyamatok maximális adatszegmens-mérete\n" +" -e\ta maximális ütemezési prioritás (nice)\n" +" -f\ta parancsértelmező és gyermekei által írható legnagyobb fájl\n" +" -i\tvárakozó szignálok maximális száma\n" +" -k\ta folyamathoz lefoglalt kqueue-k maximális száma\n" +" -l\tfolyamatonként foglalható memória maximális mérete\n" +" -m\ta maximálisan operatív memóriában tartható terület mérete\n" +" -n\tnyitott fájlleírók maximális száma\n" +" -p\ta csővezetékpuffer mérete\n" +" -q\ta POSIX üzenetsorokban tartható byte-ok száma\n" +" -r\ta maximális valós idejű ütemezési prioritás\n" +" -s\tmaximális veremméret\n" +" -t\tmaximális processzoridő másodpercekben\n" +" -u\tfelhasználói folyamatok maximális száma\n" +" -v\tvirtuális memória mérete\n" +" -x\tfájlzárolások maximális száma\n" +" -P\tpszeudoterminálok maximális száma\n" +" -T\tszálak maximális száma\n" +" \n" +" Nem minden kapcsoló érhető el minden platformon.\n" +" \n" +" Ha a KORLÁT meg van adva, az lesz az új értéke a megadott erőforrásnak.\n" " Speciális KORLÁT-értékek: „hard” (jelenlegi kemény korlát értéke),\n" -" „soft” (jelenlegi puha korlát értéke) és „unlimited” (korlátozás nél-\n" -" kül).\n" +" „soft” (jelenlegi puha korlát értéke) és „unlimited” (korlátozás " +"nélkül).\n" " Ha nincs kapcsoló megadva, -f az alapértelmezett.\n" " \n" -" Az értékek 1024 byte-os egységekben értendőek, kivéve a -t, amely má-\n" -" sodpercekben, a -p, amely 512 byte-okban, valamint a -u, amely darab-\n" -" ban értendő.\n" +" Az értékek 1024 byte-os egységekben értendőek, kivéve a -t, amely\n" +" másodpercekben, a -p, amely 512 byte-okban, valamint a -u, amely " +"darabban\n" +" értendő.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve érvénytelen kapcsoló és hiba esetében." +" Sikerrel tér vissza, kivéve érvénytelen kapcsoló vagy hiba esetében." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4503,26 +4684,26 @@ msgid "" " Exit Status:\n" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -"Kiírja vagy beállítja a fájlmódmaszkot.\n" +"A fájlmódmaszk kiírása vagy beállítása.\n" " \n" -" Beállítja a fájllétrehozási maszkot MÓD-ra. Ha MÓD hiányzik, az aktuá-\n" -" lis értékét írja ki.\n" +" Beállítja a fájllétrehozási maszkot a MÓDRA. Ha a MÓD hiányzik, az\n" +" aktuális értékét írja ki.\n" " Fájlok létrehozásakor az alapértelmezett jogokból ki lesznek maszkolva\n" " az itt megadott bitek. Ez nem akadályozza meg, hogy a program vagy a\n" " felhasználó később megváltoztassa a fájl jogait.\n" " \n" -" Ha MÓD számjeggyel kezdődik, oktális számként lesz értelmezve; egyéb-\n" -" ként a chmod(1) által használt szimbolikus formátumban.\n" +" Ha a MÓD számjeggyel kezdődik, oktális számként lesz értelmezve; " +"egyébként\n" +" a chmod(1) által használt szimbolikus formátumban.\n" " \n" " Kapcsolók:\n" -" -p ha MÓD hiányzik, a kimenet újrahasználó formátumot használjon\n" -" -S a kimenet használja a szimbolikus formát (különben oktálisat)\n" +" -p\tha a MÓD hiányzik, a kimenet újrahasználható formátumban legyen\n" +" -S\ta kimenet használja a szimbolikus formát (különben oktálisat)\n" " \n" " Kilépési kód:\n" -" Sikerrel lép ki, kivéve ha MÓD vagy egy kapcsoló érvénytelen." +" Sikerrel lép ki, kivéve ha a MÓD vagy egy kapcsoló érvénytelen." -#: builtins.c:1485 -#, fuzzy +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4541,19 +4722,23 @@ msgid "" " Returns the status of the last ID; fails if ID is invalid or an invalid\n" " option is given." msgstr "" -"Munka befejezésének megvárása és a kilépési kód visszaadása.\n" +"Munka befejezésének megvárása, és a kilépési kód visszaadása.\n" " \n" -" ID számú folyamat befejezésére vár, majd jelzi a kilépési kódját. ID\n" -" lehet egy PID vagy egy %MUNKASZÁM. Ha nincs ID megadva, bármelyik\n" -" gyermekfolyamat befejezésekor visszatér, 0-val. Ha ID munkaszám, a\n" -" csővezeték összes folyamatát bevárja.\n" +" Az ID számú folyamat befejezésére vár, majd jelzi a kilépési kódját.\n" +" Az ID lehet egy PID vagy egy %MUNKASZÁM. Ha az ID nincs megadva, minden\n" +" aktív gyermekfolyamat befejezését bevárja, és nullával tér vissza. Ha " +"az\n" +" ID munkaszám, a csővezeték összes folyamatát bevárja.\n" +" \n" +" Ha a -n kapcsoló meg van adva, megvárja a következő feladat " +"befejezését,\n" +" és annak kilépési kódját adja vissza.\n" " \n" " Kilépési kód:\n" " ID kilépési kódjával tér vissza; érvénytelen ID vagy kapcsoló esetén\n" " sikertelenül." -#: builtins.c:1506 -#, fuzzy +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4567,16 +4752,18 @@ msgid "" "invalid\n" " option is given." msgstr "" -"Munka befejezésének megvárása és a kilépési kód visszaadása.\n" +"Folyamat befejezésének megvárása, és a kilépési kód visszaadása.\n" " \n" -" ID számú folyamat befejezésére vár, majd jelzi a kilépési kódját. ID\n" -" egy folyamatazonosító kell legyen.\n" +" A PID számú folyamat befejezésére vár, majd jelzi a kilépési kódját.\n" +" Ha nincs megadva PID, minden aktív gyermekfolyamatot bevár, és nullával\n" +" tér vissza. A PID egy folyamatazonosító kell legyen.\n" " \n" " Kilépési kód:\n" -" ID kilépési kódjával tér vissza; érvénytelen ID vagy kapcsoló esetén\n" -" sikertelenül." +" Az utolsó PID kilépési kódjával tér vissza; érvénytelen PID vagy " +"kapcsoló\n" +" esetén sikertelenül." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4592,13 +4779,13 @@ msgstr "" " \n" " A „for” ciklus végrehajt egy parancssorozatot a megadott listán. Ha az\n" " „in SZAVAK ...;” rész hiányzik, „in \"$@\"” az alapértelmezés. Minden\n" -" iterációnál NÉV értéke a SZAVAK lista megfelelő elemére lesz állítva,\n" -" és így futnak a PARANCSOK.\n" +" iterációnál a NÉV értéke a SZAVAK lista megfelelő elemére lesz állítva,\n" +" és így futnak le a PARANCSOK.\n" " \n" " Kilépési kód:\n" " Az utolsó parancs kilépési kódját adja vissza." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4617,18 +4804,19 @@ msgstr "" "Aritmetikai for-ciklus.\n" " \n" " Ekvivalens a következővel:\n" -" (( KIF1 ))\n" -" while (( KIF2 )); do\n" -" PARANCSOK\n" -" (( KIF3 ))\n" -" done\n" -" KIF1, KIF2 és KIF3 aritmetikai kifejezések. Ha valamelyik el van hagy-\n" -" va, úgy működik, mintha értéke 1 lenne.\n" +" \t(( KIF1 ))\n" +" \twhile (( KIF2 )); do\n" +" \t\tPARANCSOK\n" +" \t\t(( KIF3 ))\n" +" \tdone\n" +" A KIF1, KIF2 és KIF3 aritmetikai kifejezések. Ha valamelyik el van " +"hagyva,\n" +" akkor úgy működik, mintha értéke 1 lenne.\n" " \n" " Kilépési kód:\n" " Az utolsó parancs kilépési kódját adja." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4647,24 +4835,24 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" -"A felhasználóval kiválasztat a listából egy elemet és végrehajt rá egy pa-\n" -"rancsot.\n" -" \n" -" A SZAVAK kiértékelésre kerülnek és egy szólistát képeznek. A szavak a\n" -" szabványos hibakimenetre kerülnek soronként, sorszámozva. Ezután meg-\n" -" jelenik a $PS3 és egy sorszámot vár a szabványos bemeneten. Érvényes\n" -" sorszám megadásakor a PARANCSOKAT végrehajtja úgy, hogy NÉV a megfelelő\n" -" sorszámú elem értékét kapja. Ezután újból megjelenik $PS3 és újból le-\n" -" het választani. EOF bemenet és break parancs esetén fejeződik be a hu-\n" -" rok. Érvénytelen választás esetén szintén új prompt jelenik meg. Üres\n" -" sor beolvasásakor a lehetőségek is újra megjelennek. A beolvasott sor\n" -" a REPLY változóba kerül. Ha elmarad az „in SZAVAK” rész, „in \"$@\"”\n" -" az alapértelmezés.\n" +"Szavak kiválasztása egy listából, és egy parancs végrehajtása rá.\n" +" \n" +" A SZAVAK kiértékelésre kerülnek, és egy szólistát képeznek. A szavak a\n" +" szabványos hibakimenetre kerülnek soronként, sorszámozva. Ha az\n" +" „in SZAVAK ...;” rész hiányzik, „in \"$@\"” az alapértelmezés. Ezután\n" +" megjelenik a PS3 prompt, és egy sorszámot vár a szabványos bemeneten.\n" +" Érvényes sorszám megadásakor a PARANCSOKAT végrehajtja úgy, hogy a NÉV\n" +" a megfelelő sorszámú elem értékét kapja. Ha a sor üres, újból " +"megjelennek\n" +" a SZAVAK és a prompt, és újból lehet választani. A parancs EOF bemenet\n" +" esetén fejeződik be. Bármely más érték beolvasásakor a NÉV null lesz.\n" +" A beolvasott sor a REPLY változóba kerül. A PARANCSOK minden választás\n" +" után végrehajtásra kerülnek egy break parancs végrehajtásáig.\n" " \n" " Kilépési kód:\n" " Az utolsó parancs kilépési kódját adja vissza." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4679,22 +4867,22 @@ msgid "" " Exit Status:\n" " The return status is the return status of PIPELINE." msgstr "" -"A csővezeték végrehajtási idejét írja ki.\n" +"A csővezeték végrehajtási idejének kiírása.\n" " \n" -" CSŐVEZETÉK végrehajtása és egy összefoglaló kiírása a végrehajtás köz-\n" -" ben eltelt valós időről, a használt felhasználói- és rendszergépidők-\n" -" ről CSŐVEZETÉK befejeződésekor.\n" +" A CSŐVEZETÉK végrehajtása és egy összefoglaló kiírása a végrehajtás " +"közben\n" +" eltelt valós időről, a használt felhasználói- és rendszergépidőkről\n" +" a CSŐVEZETÉK befejeződésekor.\n" " \n" " Kapcsolók:\n" -" -p az összefoglaló megjelenítése a hordozható Posix formában\n" +" -p\taz összefoglaló megjelenítése a hordozható POSIX formában\n" " \n" -" A TIMEFORMAT változó értéke felhasználásra kerül a kimenet formázása-\n" -" kor.\n" +" A TIMEFORMAT változó értéke felhasználásra kerül a kimenet formázásakor\n" " \n" " Kilépési kód:\n" " A kilépési kód a CSŐVEZETÉK kilépési kódja lesz." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4706,14 +4894,15 @@ msgid "" msgstr "" "Parancsok végrehajtása mintaillesztés alapján.\n" " \n" -" PARANCSOK végrehajtása azon SZAVAKon, amelyek illeszkednek a MINTÁ-ra.\n" -" Több mintát „|” jellel lehet elválasztani. A minták a fájlnév-helyet-\n" -" tesítés formátumát használják.\n" +" A PARANCSOK végrehajtása azon SZAVAKON, amelyek illeszkednek a MINTÁRA.\n" +" Több mintát „|” jellel lehet elválasztani. A minták a fájlnév-" +"helyettesítés\n" +" formátumát használják.\n" " \n" " Kilépési kód:\n" " Az utolsó parancs kilépési kódját adja vissza." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4737,16 +4926,16 @@ msgstr "" " \n" " Az „if PARANCSOK” lista végrehajtásra kerül. Ha kilépési kódja nulla,\n" " akkor a „then PARANCSOK” lista kerül végrehajtásra. Ha nem, akkor az\n" -" első nullával kilépő „elif PARANCSOK” listához tartozó „then PARARAN-\n" -" CSOK” lista kerül végrehajtásra. Ha egyik sem teljesül, az „else PA-\n" -" RANCSOK” lista kerül végrehajtásra. Az egész szerkezet kilépési kódja\n" +" első nullával kilépő „elif PARANCSOK” listához tartozó „then PARANCSOK”\n" +" lista kerül végrehajtásra. Ha egyik sem teljesül, az „else\n" +" PARANCSOK” lista kerül végrehajtásra. Az egész szerkezet kilépési kódja\n" " az utoljára végrehajtott parancs kilépési kódja, vagy nulla, ha nem\n" " teljesült egyik feltétel sem.\n" " \n" " Kilépési kód:\n" " Az utoljára végrehajtott parancs kilépési kódja." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4758,13 +4947,14 @@ msgid "" msgstr "" "Parancsok végrehajtása amíg a feltétel teljesül.\n" " \n" -" PARANCSOK végrehajtása addig, amíg a „while PARANCSOK” utolsó paran-\n" -" csa nullával lép ki.\n" +" A PARANCSOK végrehajtása addig, amíg a „while PARANCSOK” utolsó " +"parancsa\n" +" nullával lép ki.\n" " \n" " Kilépési kód:\n" " Az utolsónak végrehajtott parancs kilépési kódja." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4776,13 +4966,15 @@ msgid "" msgstr "" "Parancsok végrehajtása amíg a feltétel nem teljesül.\n" " \n" -" PARANCSOK végrehajtása addig, amíg a „until PARANCSOK” utolsó paran-\n" -" csa nem nullával lép ki.\n" +" A PARANCSOK értelmezése és végrehajtása addig, amíg az „until " +"PARANCSOK”\n" +" utolsó parancsa nem nullával lép ki.\n" " \n" " Kilépési kód:\n" " Az utolsónak végrehajtott parancs kilépési kódja." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4792,19 +4984,19 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Egy NÉV nevű társfolyamat létrehozása.\n" " \n" -" PARANCS aszinkron végrehajtása, a szabványos ki- és bemenet átirányí-\n" -" tásával egy-egy csővezetékbe, amelyek fájlleírói a NÉV tömb 0-s és 1-\n" -" es elemeibe kerülnek a végrehajtó parancsértelmezőben. Az alapértelme-\n" -" zett név: „COPROC”.\n" +" A PARANCS aszinkron végrehajtása, a szabványos ki- és bemenet\n" +" átirányításával egy-egy csővezetékbe, amelyek fájlleírói a NÉV tömb\n" +" 0-s és 1-es elemeibe kerülnek a végrehajtó parancsértelmezőben.\n" +" Az alapértelmezett NÉV: „COPROC”.\n" " \n" " Kilépési kód:\n" " A PARANCS kilépési kódjával tér vissza." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4819,15 +5011,16 @@ msgid "" msgstr "" "Parancsértelmező-függvény definiálása.\n" " \n" -" Létrehoz egy NÉV nevű függvényt. Ha NÉV parancsként végrehajtásra ke-\n" -" rül, PARANCSOK futnak a hívó parancsértelmező környezetében. NÉV hívá-\n" -" sakor az argumentumok a függvényből $1...$n néven érhetőek el, míg a\n" +" Létrehoz egy NÉV nevű függvényt. Ha a NÉV parancsként végrehajtásra\n" +" kerül, a PARANCSOK futnak a hívó parancsértelmező környezetében. A NÉV\n" +" hívásakor az argumentumok a függvényből $1...$n néven érhetőek el, míg " +"a\n" " függvény neve $FUNCNAME-ként.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve ha NÉV csak olvasható." +" Sikerrel tér vissza, kivéve ha a NÉV csak olvasható." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4845,7 +5038,7 @@ msgstr "" " Kilépési kód:\n" " Az utolsó parancs kilépési kódját adja vissza." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4858,16 +5051,18 @@ msgid "" " Exit Status:\n" " Returns the status of the resumed job." msgstr "" -"Egy munkát előtérbe hoz.\n" +"Egy munka előtérbe hozása.\n" " \n" " Megegyezik az „fg” parancs MUNKASZÁM argumentumával. Egy megszakított\n" -" vagy háttérben futó munkát hoz előtérbe. MUNKASZÁM lehet munkanév vagy\n" +" vagy háttérben futó munkát hoz előtérbe. A MUNKASZÁM lehet munkanév " +"vagy\n" " munkaazonosító is. Egy záró „&” megadása a munkát háttérbe küldi, mint\n" -" a „bg” parancs. \n" +" a „bg” parancs.\n" +" \n" " Kilépési kód:\n" " A visszaállított parancs kilépési kódjával lép ki." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4877,15 +5072,15 @@ msgid "" " Exit Status:\n" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" -"Aritmetikai kifejezéseket értékel ki.\n" +"Aritmetikai kifejezések kiértékelése.\n" " \n" -" A KIFEJEZÉS az aritmetikai kiértékelés szabályai szerint kerülnek ki-\n" -" értékelésre. Megyegyezik a „let KIFEJEZÉS” paranccsal.\n" +" A KIFEJEZÉS az aritmetikai kiértékelés szabályai szerint kerül\n" +" kiértékelésre. Megegyezik a „let KIFEJEZÉS” paranccsal.\n" " \n" " Kilépési kód:\n" " 1-gyel tér vissza, ha KIFEJEZÉS értéke 0, különben 0-val." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -4918,23 +5113,23 @@ msgstr "" " függően. A kifejezések a „test” parancs által használt primitívekből\n" " épülnek fel, és a következő operátorokkal keverhetőek.\n" " \n" -" ( KIFEJEZÉS ) KIFEJEZÉS értékét adja vissza\n" -" ! KIFEJEZÉS Igaz, ha KIFEJEZÉS hamis\n" -" KIF1 && KIF2 Igaz, ha KIF1 és KIF2 is igaz\n" -" KIF1 || KIF2 Igaz, ha KIF1 vagy KIF2 igaz\n" +" ( KIFEJEZÉS )\tA KIFEJEZÉS értékét adja vissza\n" +" ! KIFEJEZÉS\tIgaz, ha a KIFEJEZÉS hamis\n" +" KIF1 && KIF2\tIgaz, ha KIF1 és KIF2 is igaz\n" +" KIF1 || KIF2\tIgaz, ha KIF1 vagy KIF2 igaz\n" " \n" -" Az „==” és „!=” operátorok használatánál a jobbérték mintaként értel-\n" -" meződik, és fájlnévillesztés történik. A hasonlóan működő „=~” operá-\n" -" tor használatakor a jobbérték reguláris kifejezésként kerül illesztés-\n" -" re.\n" +" Az „==” és „!=” operátorok használatánál a jobbérték mintaként\n" +" értelmeződik, és fájlnévillesztés történik. A hasonlóan működő „=~”\n" +" operátor használatakor a jobbérték reguláris kifejezésként kerül\n" +" illesztésre.\n" " \n" -" Az „&&” és „||” operátorok rövidzár-tulajdonságúak, vagyis KIF2-t nem\n" +" Az „&&” és „||” operátorok rövidzár tulajdonságúak, vagyis KIF2-t nem\n" " értékelik ki, ha KIF1-ből is megállapítható a kifejezés értéke.\n" " \n" " Kilépési kód:\n" -" 0 vagy 1 a KIFEJEZÉS-től függően." +" 0 vagy 1 a KIFEJEZÉSTŐL függően." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -4989,53 +5184,53 @@ msgid "" msgstr "" "Közös parancsértelmező-változók és használatuk.\n" " \n" -" BASH_VERSION Verzióadatok erről a Bash-ről\n" -" CDPATH Kettőspontokkal elválasztott könyvtárlista, amelyekben a\n" -" „cd” keres\n" -" GLOBIGNORE Kettőspontokkal elválasztott mintalista, amelyekre illesz-\n" -" kedő nevű fájlok nem kerülnek útvonal-kiegészítésre\n" -" HISTFILE A parancselőzményeket tároló fájl neve\n" -" HISTFILESIZE Az előzményfájl maximális hossza sorokban\n" -" HISTSIZE A parancsértelmező által kezelt előzménysorok maximális\n" -" száma\n" -" HOME A saját könyvtár teljes abszolút útvonala\n" -" HOSTNAME A parancsértelmezőt futtató gép neve\n" -" HOSTTYPE A Bash-t futtató CPU típusa\n" -" IGNOREEOF A parancsértelmező viselkedését állítja, hogy mit tegyen,\n" -" ha egy sor elején EOF karaktert kap bemenetén. Ha ez a vál-\n" -" tozó létezik, az értékében megadott számú EOF karaktert nem\n" -" vesz figyelembe (alapértelmezetten 10). Ha nincs beállítva,\n" -" EOF-ra kilép a parancsértelmező\n" -" MACHTYPE A Bash-t futtató gépet leíró karakterlánc\n" -" MAILCHECK Megadott számú másodpercenként keres a Bash új leveleket\n" -" MAILPATH Kettőspontokkal elválasztott fájlnévlista, ahol a Bash\n" -" új leveleket keres\n" -" OSTYPE A Bash-t futtató gépen futó UNIX-változat neve (verziója)\n" -" PATH Kettőspontokkal elválasztott könyvtárlista, amelyekben a\n" -" Bash futtatható programokat keres parancsvégrehajtáskor\n" -" PROMPT_COMMAND Az elsődleges prompt kiírása előtt végrehajtandó pa-\n" -" rancs\n" -" PS1 Az elsődleges prompt\n" -" PS2 A másodlagos prompt\n" -" PWD Az aktuális könyvtár teljes útvonala\n" -" SHELLOPTS Az engedélyezett shell-beállítások kettőspontokkal elválasz-\n" -" tott listája\n" -" TERM Az aktuális termináltípus neve\n" -" TIMEFORMAT A „time” parancs által használt időformátum\n" -" auto_resume Nem üres érték esetén egy egy szóból álló parancs elő-\n" -" ször a megszakított munkák nevei között lesz keresve. Talá-\n" -" lat esetén a munka előtérbe kerül. „exact” érték esetén\n" -" pontosan megegyező nevet keres, „substring” esetén tetsző-\n" -" leges egyezést, minden más érték esetén a szó elején keres\n" -" histchars Előzménykiegészítést és gyors cserét vezérlő karaktereket\n" -" ad meg. Az első karakter az előzménybehelyettesítő karak-\n" -" ter (általában „!”), a második a gyorscsere-karakter (álta-\n" -" lában „^”), a harmadik pedig az előzménymegjegyzés (általá-\n" -" ban „#”)\n" -" HISTIGNORE Kettőspontokkal elválasztott mintalista, amely mintákra\n" -" illeszkedő parancsok nem kerülnek az előzmények közé\n" - -#: builtins.c:1794 +" BASH_VERSION\tVerzióadatok erről a Bash-ről\n" +" CDPATH\tKettőspontokkal elválasztott könyvtárlista, amelyekben a\n" +" \t\t„cd” keres\n" +" GLOBIGNORE\tKettőspontokkal elválasztott mintalista, amelyekre\n" +" \t\tilleszkedő nevű fájlok nem kerülnek útvonal-kiegészítésre\n" +" HISTFILE\tA parancselőzményeket tároló fájl neve\n" +" HISTFILESIZE\tAz előzményfájl maximális hossza sorokban\n" +" HISTSIZE\tA parancsértelmező által kezelt előzménysorok maximális\n" +" \t\tszáma\n" +" HOME\tA saját könyvtár teljes abszolút útvonala\n" +" HOSTNAME\tA parancsértelmezőt futtató gép neve\n" +" HOSTTYPE\tA Bash-t futtató CPU típusa\n" +" IGNOREEOF\tA parancsértelmező viselkedését állítja, hogy mit tegyen,\n" +" \t\tha egy sor elején EOF karaktert kap bemenetén. Ha ez a változó\n" +" \t\tlétezik, az értékében megadott számú EOF karaktert nem\n" +" \t\tvesz figyelembe (alapértelmezetten 10). Ha nincs beállítva,\n" +" \t\tEOF-ra kilép a parancsértelmező\n" +" MACHTYPE\tA Bash-t futtató gépet leíró karakterlánc\n" +" MAILCHECK\tMegadott számú másodpercenként keres a Bash új leveleket\n" +" MAILPATH\tKettőspontokkal elválasztott fájlnévlista, ahol a Bash\n" +" \t\túj leveleket keres\n" +" OSTYPE\tA Bash-t futtató gépen futó UNIX-változat neve (verziója)\n" +" PATH\tKettőspontokkal elválasztott könyvtárlista, amelyekben a\n" +" \t\tBash futtatható programokat keres parancsvégrehajtáskor\n" +" PROMPT_COMMAND\tAz elsődleges prompt kiírása előtt végrehajtandó\n" +" \t\t\tparancs\n" +" PS1\t\tAz elsődleges prompt\n" +" PS2\t\tA másodlagos prompt\n" +" PWD\t\tAz aktuális könyvtár teljes útvonala\n" +" SHELLOPTS\tAz engedélyezett parancsértelmező-beállítások " +"kettőspontokkal\n" +" \t\telválasztott listája\n" +" TERM\tAz aktuális termináltípus neve\n" +" TIMEFORMAT\tA „time” parancs által használt időformátum\n" +" auto_resume\tNem üres érték esetén egy egy szóból álló parancs először\n" +" \t\ta megszakított munkák nevei között lesz keresve. Találat\n" +" \t\tesetén a munka előtérbe kerül. „exact” érték esetén\n" +" \t\tpontosan megegyező nevet keres, „substring” esetén tetszőleges\n" +" \t\tegyezést, minden más érték esetén a szó elején keres\n" +" histchars\tElőzménykiegészítést és gyors cserét vezérlő karaktereket\n" +" \t\tad meg. Az első karakter az előzménybehelyettesítő karakter\n" +" \t\t(általában „!”), a második a gyorscsere-karakter (általában\n" +" \t\t„^”), a harmadik pedig az előzménymegjegyzés (általában „#”)\n" +" HISTIGNORE\tKettőspontokkal elválasztott mintalista, amely mintákra\n" +" \t\tilleszkedő parancsok nem kerülnek az előzmények közé\n" + +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5045,19 +5240,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5065,34 +5260,35 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" -"Könyvtárakat tesz a verembe.\n" +"Könyvtárak verembe tétele.\n" " \n" " Egy könyvtárat tesz a könyvtárverem tetejére, vagy forgatja a vermet,\n" -" az új felső elemmé a jelenlegi munkakönyvtárat téve. Argumentumok nél-\n" -" kül hívva a két felső könyvtárat cseréli meg.\n" +" az új felső elemmé a jelenlegi munkakönyvtárat téve. Argumentumok\n" +" nélkül hívva a két felső könyvtárat cseréli meg.\n" " \n" " Kapcsolók:\n" -" -n Ne váltson könyvtárat hozzáadáskor, vagyis csak a\n" -" vermet változtassa.\n" +" -n\tNe váltson könyvtárat hozzáadáskor, vagyis csak a\n" +" \t\tvermet változtassa.\n" " \n" " Argumentumok:\n" -" +N Úgy forgatja a vermet, hogy az N-edik könyvtár (0-tól\n" -" kezdve, a „dirs” által kiírt listán balról számolva)\n" -" kerüljön a verem tetejére.\n" +" +N\tÚgy forgatja a vermet, hogy az N-edik könyvtár (0-tól\n" +" \t\tkezdve, a „dirs” által kiírt listán balról számolva)\n" +" \t\tkerüljön a verem tetejére.\n" +" \n" +" -N\tÚgy forgatja a vermet, hogy az N-edik könyvtár (0-tól\n" +" \t\tkezdve, a „dirs” által kiírt listán jobbról számolva)\n" +" \t\tkerüljön a verem tetejére.\n" " \n" -" -N Úgy forgatja a vermet, hogy az N-edik könyvtár (0-tól\n" -" kezdve, a „dirs” által kiírt listán jobbról számolva)\n" -" kerüljön a verem tetejére.\n" +" ktár\tA verem tetejére helyezi KTÁR könyvtárat, és ugyanezt\n" +" \t\tállítja be új munkakönyvtárnak.\n" " \n" -" dir A verem tetejére helyezi KTÁR könyvtárat, és ugyanezt\n" -" állítja be új munkakönyvtárnak.\n" +" A „dirs” beépített parancs listázza a könyvtárvermet.\n" " \n" -" A „dirs” beépített parancs listázza a könyvtárvermet. \n" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve érvénytelen argumentum vagy könyvtárváltás\n" " során történő hiba esetén." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5101,16 +5297,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5118,29 +5314,30 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" -"Elemek eltávolítása a veremből.\n" +"Könyvtárak eltávolítása a veremből.\n" " \n" -" Elemeket vesz ki a könyvtárveremből. Argumentumok nélkül kiveszi a \n" +" Elemeket vesz ki a könyvtárveremből. Argumentumok nélkül kiveszi a\n" " legfelső elemet, és a kivett elemre állítja az új munkakönyvtárat.\n" " \n" " Kapcsolók:\n" -" -n Ne váltson könyvtárat eltávolításkor, vagyis csak a vermet\n" -" változtassa.\n" +" -n\tNe váltson könyvtárat eltávolításkor, vagyis csak a vermet\n" +" \t\tváltoztassa.\n" " \n" " Argumentumok:\n" -" +N Eltávolítja az N-edik elemet a „dirs” által kiírt listán, nullá-\n" -" tól, balról számolva. Pl. a „popd +0” az első, míg a „popd +1” a\n" -" könyvtárat távolítja el.\n" -" -N Eltávolítja az N-edik elemet a „dirs” által kiírt listán, nullá-\n" -" tól, jobbról számolva. Pl. a „popd -0” az utolsó, a „popd -1” az\n" -" utolsó előtti könyvtárat távolítja el.\n" -" \n" -" A „dirs” beépített parancs listázza a könyvtárvermet. \n" +" +N\tEltávolítja az N-edik elemet a „dirs” által kiírt listán,\n" +" \t\tnullától, balról számolva. Pl. a „popd +0” az első, míg a\n" +" \t\t„popd +1” a második könyvtárat távolítja el.\n" +" -N\tEltávolítja az N-edik elemet a „dirs” által kiírt listán,\n" +" \t\tnullától, jobbról számolva. Pl. a „popd -0” az utolsó,\n" +" \t\ta „popd -1” az utolsó előtti könyvtárat távolítja el.\n" +" \n" +" A „dirs” beépített parancs listázza a könyvtárvermet.\n" +" \n" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve érvénytelen argumentum vagy könyvtárváltás\n" " során történő hiba esetén." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5151,19 +5348,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5171,25 +5368,26 @@ msgstr "" "A könyvtárverem megjelenítése.\n" " \n" " Megjeleníti a jelenleg megjegyzett könyvtárakat. A könyvtárakat a\n" -" „pushd” paranccsal lehet a verembe rakni; és a „popd” paranccsal kiven-\n" -" ni.\n" +" „pushd” paranccsal lehet a verembe rakni; és a „popd” paranccsal " +"kivenni.\n" " \n" " Kapcsolók:\n" -" -c a könyvtárverem törlése az összes elem eltávolításával\n" -" -l a saját könyvtárat ne rövidítse a listázáskor egy tilde (~)\n" -" -p a könyvtárverem kiírása soronként egy elemmel\n" -" -v a könyvtárverem kiírása soronként egy elemmel, a vermen\n" -" belüli pozíció jelölésével\n" +" -c\ta könyvtárverem törlése az összes elem eltávolításával\n" +" -l\ta saját könyvtárat ne rövidítse a listázáskor egy tilde (~)\n" +" -p\ta könyvtárverem kiírása soronként egy elemmel\n" +" -v\ta könyvtárverem kiírása soronként egy elemmel, a vermen\n" +" \t\tbelüli pozíció jelölésével\n" " \n" " Argumentumok:\n" -" +N N darab bejegyzést jelenít meg az argumentum nélkül a dirs\n" -" által megjelenített listán balról számolva, nullától kezdve\n" -" -N N darab bejegyzést jelenít meg a listából jobbról " -"számolva \n" +" +N\tN darab bejegyzést jelenít meg az argumentum nélkül a dirs\n" +" \t\táltal megjelenített listán balról számolva, nullától kezdve.\n" +" -N\tN darab bejegyzést jelenít meg az argumentum nélkül a dirs\n" +" \t\táltal megjelenített listán jobbról számolva, nullától kezdve.\n" +" \n" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve érvénytelen argumentum vagy hiba esetén." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5216,18 +5414,17 @@ msgstr "" " állapotát.\n" " \n" " Kapcsolók:\n" -" -o OPTNEVek korlátozása a „set -o”-val használtakra\n" -" -p minden kapcsoló kilistázása állapottal\n" -" -q kimenet elnyelése\n" -" -s minden OPTNÉV engedélyezése\n" -" -u minden OPTNÉV tiltása\n" +" -o\tOPTNEVEK korlátozása a „set -o”-val használtakra\n" +" -p\tminden kapcsoló kilistázása az állapotuk jelzésével\n" +" -q\tkimenet elnyelése\n" +" -s\tminden OPTNÉV engedélyezése\n" +" -u\tminden OPTNÉV tiltása\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, ha OPTNÉV engedélyezve van; sikertelenül, ha hi-\n" -" bás kapcsolókat kap vagy OPTNÉV tiltva van." +" Sikerrel tér vissza, ha az OPTNÉV engedélyezve van; sikertelenül, ha\n" +" hibás kapcsolókat kap vagy az OPTNÉV tiltva van." -#: builtins.c:1908 -#, fuzzy +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5244,15 +5441,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5265,30 +5462,39 @@ msgid "" "assignment\n" " error occurs." msgstr "" -"FORMÁTUM alapján kiírja az ARGUMENTUMOKat.\n" +"FORMÁTUM alapján az ARGUMENTUMOK kiírása.\n" " \n" " Kapcsolók:\n" -" -v változó kimenet VÁLTOZÓ nevű változóba írása a szabványos\n" -" kimenet helyett\n" -" \n" -" FORMÁTUM egy karakterlánc, amely három típusú primitívekből áll: egy-\n" -" szerű karakterek, amelyeket a parancs a kimenetre másol; escape-karak-\n" -" tersorozatok, amelyeket átalakítva másol a kimenetre; valamint formá-\n" -" tumjelzők, amelyek rendre a következő argumentum kiírását szabályoz-\n" -" zák.\n" -" \n" -" A printf(1) és printf(3) által használt szokásos jelzőkön túl a követ-\n" -" kezőket ismeri a printf parancs:\n" -" \n" -" %b karakterlánc kiírása az escape-szekvenciák értelmezése után\n" -" %q argumentum idézőjelezése olyan módon, hogy parancsértelmező\n" -" bemeneteként használható legyen\n" +" -v változó\ta kimenet VÁLTOZÓ nevű változóba írása a szabványos\n" +" \t\t\tkimenet helyett\n" +" \n" +" A FORMÁTUM egy karakterlánc, amely három fajta primitívből áll:\n" +" egyszerű karakterek, amelyeket a parancs a kimenetre másol; escape-\n" +" karaktersorozatok, amelyeket átalakítva másol a kimenetre; valamint\n" +" formátumjelzők, amelyek rendre a következő argumentum kiírását\n" +" szabályozzák.\n" +" \n" +" A printf(1) által használt szokásos jelzőkön túl a\n" +" következőket ismeri a printf parancs:\n" +" \n" +" %b\tkarakterlánc kiírása az escape-szekvenciák értelmezése után\n" +" %q\targumentum idézőjelezése olyan módon, hogy parancsértelmező\n" +" \t\tbemeneteként használható legyen\n" +" %(fmt)T\tdátum-idő karakterlánc kiírása az FMT mint strftime(3)\n" +" \t\tformátum-karakterlánc használatával\n" +" \n" +" A formátum szükség szerint újrafelhasználásra kerül az összes " +"argumentum\n" +" elfogyasztásához. Ha kevesebb argumentum van a formátumnak " +"szükségesnél,\n" +" az extra formátumjelzők úgy viselkednek, mintha nulla érték vagy null\n" +" karakterlánc lett volna megadva.\n" " \n" " Kilépési kód:\n" -" Sikerrel tér vissza, kivéve ha hibás kapcsolókat kap, vagy az írás/ér-\n" -" tékadás hibával járt." +" Sikerrel tér vissza, kivéve ha hibás kapcsolókat kap, vagy az írás/\n" +" értékadás hibával járt." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5301,11 +5507,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5316,27 +5522,28 @@ msgid "" msgstr "" "Megadja, hogy a Readline hogyan egészítse ki az argumentumokat.\n" " \n" -" Minden NÉV-hez megadja, hogyan egészítse ki a Readline az argumentumo-\n" -" kat. Ha nincsenek kapcsolók megadva, a jelenlegi érték kerül kiírásra,\n" +" Minden NÉVHEZ megadja, hogyan egészítse ki a Readline az " +"argumentumokat.\n" +" Ha nincsenek kapcsolók megadva, a jelenlegi érték kerül kiírásra,\n" " újrafelhasználható módon.\n" " \n" " Kapcsolók:\n" -" -p meglévő kiegészítésmegadások listázása újrahasználható módon\n" -" -r kiegészítésmegadások törlése minden NÉV-től; vagy ha nincs\n" -" NÉV megadva, az összes törlése\n" -" -D kiegészítések és műveletek alkalmazása alapértelmezésben, ha\n" -" az adott parancshoz nincs kiegészítés megadva\n" -" -E kiegészítések és műveletek alkalmazása az „üres” parancsok-\n" -" ra, vagyis a sor elején\n" -" \n" -" Kiegészítéskor a műveletek a nagybetűs kapcsolók felsorolásának sor-\n" -" rendjében kísérli meg a Readline. A -D elsőbbséget élvez a -E-vel szem-\n" -" ben.\n" +" -p\tmeglévő kiegészítésmegadások listázása újrahasználható módon\n" +" -r\tkiegészítésmegadások törlése minden NÉVTŐL; vagy ha nincs\n" +" \t\tNÉV megadva, az összes törlése\n" +" -D\tkiegészítések és műveletek alkalmazása alapértelmezésben, ha\n" +" \t\taz adott parancshoz nincs kiegészítés megadva\n" +" -E\tkiegészítések és műveletek alkalmazása az „üres” parancsokra,\n" +" \t\tvagyis a sor elején\n" +" \n" +" Kiegészítéskor a műveletek a nagybetűs kapcsolók felsorolásának\n" +" sorrendjében kísérli meg a Readline. A -D elsőbbséget élvez a -E-vel\n" +" szemben.\n" " \n" " Kilépési kód:\n" " Sikerrel tér vissza, kivéve érvénytelen kapcsoló és hiba esetén." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5350,15 +5557,15 @@ msgid "" msgstr "" "Lehetséges kiegészítések megjelenítése a kapcsolóktól függően.\n" " \n" -" Függvényben való használatra szolgál a lehetséges kiegészítések gene-\n" -" rálása céljából. Ha az elhagyható SZÓ argumentum is meg van adva, SZÓ-\n" -" ra elölről illeszkedő találatok jelennek csak meg.\n" +" Függvényben való használatra szolgál a lehetséges kiegészítések " +"generálása\n" +" céljából. Ha az elhagyható SZÓ argumentum is meg van adva, a SZÓRA\n" +" elölről illeszkedő találatok jelennek csak meg.\n" " \n" " Kilépési kód:\n" " Sikerrel lép ki, kivéve érvénytelen kapcsoló vagy hiba esetén." -#: builtins.c:1985 -#, fuzzy +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5390,33 +5597,32 @@ msgid "" msgstr "" "Kiegészítési beállítások módosítása vagy kiírása.\n" " \n" -" Kiegészítési beállítások listázása minden NÉV-hez, vagy ha nincs NÉV\n" -" megadva, akkor az éppen zajló kiegészítésre. Ha nincs KAPCSOLÓ megad-\n" -" va, kiírja a kiegészítési beállításokat minden NÉV-hez vagy az aktuá-\n" -" lis kiegészítéshez.\n" +" Kiegészítési beállítások listázása minden NÉVHEZ, vagy ha nincs NÉV\n" +" megadva, akkor az éppen zajló kiegészítésre. Ha nincs KAPCSOLÓ megadva,\n" +" kiírja a kiegészítési beállításokat minden NÉVHEZ vagy az aktuális\n" +" kiegészítéshez.\n" " \n" " Kapcsolók:\n" -" -o kapcsoló KAPCSOLÓ kiegészítései beállítás bekapcsolása minden\n" -" NÉV-hez\n" -" -D Az alapértelmezett kiegészítés beállításainak módo-\n" -" sítása\n" -" -E Az üres kiegészítés beállításainak módosítása\n" +" \t-o kapcsoló\ta KAPCSOLÓ kiegészítési beállítás megadása minden NÉVHEZ\n" +" \t-D\tAz alapértelmezett kiegészítés beállításainak módosítása\n" +" \t-E\tAz üres kiegészítés beállításainak módosítása\n" " \n" -" „-o” helyett „+o” használatával a beállítás kikapcsolható.\n" +" A „-o” helyett „+o” használatával a beállítás kikapcsolható.\n" " \n" " Argumentumok:\n" " \n" " Minden NÉV egy parancsra vonatkozik, amelyhez egy kiegészítést előzőleg\n" -" meg kell adni a „complete” paranccsal. Ha nincs NÉV megadva, a compopt-\n" -" ot egy éppen kiegészítéseket generáló függvényből kell hívni, és a zaj-\n" -" ló generálásra fog vonatkozni.\n" +" meg kell adni a „complete” paranccsal. Ha nincs NÉV megadva, a compopt-" +"ot\n" +" egy éppen kiegészítéseket generáló függvényből kell hívni, és a zajló\n" +" generálásra fog vonatkozni.\n" " \n" " Kilépési kód:\n" -" Sikerrel lép ki, kivéve ha érvénytelen kapcsolókat kap, vagy NÉV nincs\n" +" Sikerrel lép ki, kivéve ha érvénytelen kapcsolókat kap, vagy a NÉV " +"nincs\n" " még megadva." -#: builtins.c:2015 -#, fuzzy +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5427,20 +5633,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5458,26 +5665,28 @@ msgid "" msgstr "" "Sorok beolvasása a szabványos bemenetről egy indexelt tömbbe.\n" " \n" -" Sorok beolvasása a szabványos bemenetről – vagy -u megadása esetén FD\n" -" fájlleíróból – egy megadott nevű TÖMB-be (elhagyása esetén $ARRAY-be).\n" +" Sorok beolvasása a szabványos bemenetről – vagy a -u megadása esetén az " +"FD\n" +" fájlleíróból – egy megadott nevű TÖMBBE (elhagyása esetén az ARRAY-be).\n" " \n" " Kapcsolók:\n" -" -n szám Legfeljebb SZÁM sor másolása. Ha szám 0, minden sor\n" -" másolásra kerül\n" -" -O kezdet KEZDET számú indextől kezdje a TÖMB-be másolást.\n" -" Alapértelmezés: 0\n" -" -s szám Az első SZÁM sor eldobása olvasáskor\n" -" -t A sorok végéről a záró újsor eltávolítása\n" -" -u fd Szabványos bemenet helyett FD fájlleíróból olvasson\n" -" -C parancs PARANCS végrehajtása minden TÁVOLSÁG sor után\n" -" -c távolság PARANCS végrehajtásai között beolvasott sorok száma\n" +" -d elvál\tAz ELVÁL használata sorlezáróként újsor helyett\n" +" -n szám\tLegfeljebb SZÁM sor másolása. Ha a SZÁM 0, minden sor\n" +" \t\tmásolásra kerül\n" +" -O kezdet\tKEZDET számú indextől kezdje a TÖMB-be másolást.\n" +" \t\tAlapértelmezés: 0\n" +" -s szám\tAz első SZÁM sor eldobása olvasáskor\n" +" -t\tA sorok végéről a záró ELVÁL (alapesetben: újsor) eltávolítása\n" +" -u fd\tSzabványos bemenet helyett az FD fájlleíróból olvasson\n" +" -C parancs\tA PARANCS végrehajtása minden TÁVOLSÁG sor után\n" +" -c távolság\tA PARANCS végrehajtásai között beolvasott sorok száma\n" " \n" " Argumentumok:\n" -" TÖMB Beolvasáshoz használt tömb neve\n" +" TÖMB\tBeolvasáshoz használt tömb neve\n" " \n" -" Ha -C -c nélkül van megadva, az alapértelmezett távolság 5000.\n" -" PARANCS végrehajtásakor utolsó argumentumként a parancs megkapja a kö-\n" -" vetkező beolvasandó elem indexét.\n" +" Ha a -C -c nélkül van megadva, az alapértelmezett távolság 5000.\n" +" A PARANCS végrehajtásakor utolsó argumentumként a parancs megkapja a\n" +" következő beolvasandó elem indexét.\n" " \n" " Ha nincs KEZDET megadva, a mapfile törli a TÖMB tömböt olvasás előtt.\n" " \n" @@ -5485,7 +5694,7 @@ msgstr "" " Sikerrel tér vissza, kivéve érvénytelen kapcsoló vagy csak olvasható,\n" " vagy nem indexelt TÖMB megadása esetén." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5493,20 +5702,22 @@ msgid "" msgstr "" "Sorok olvasása egy tömbváltozóba.\n" " \n" -" „mapfile” szinonimája." +" A „mapfile” szinonimája." -#~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" -#~ msgstr "Copyright © 2009 Free Software Foundation, Inc.\n" +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright © 2014 Free Software Foundation, Inc." -#~ msgid "" -#~ "License GPLv2+: GNU GPL version 2 or later \n" -#~ msgstr "" -#~ "A licenc GPLv2+: a GNU GPL 2. vagy újabb változata \n" +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" -#~ msgid "wait [pid]" -#~ msgstr "wait [pid]" +#~ msgid "times" +#~ msgstr "times" #~ msgid "" #~ ". With EXPR, returns\n" @@ -5529,3 +5740,13 @@ msgstr "" #~ " Az EXPR értéke azt adja meg, hogy a jelenlegihez képest milyen " #~ "mélyre\n" #~ " lépjen vissza; a verem tetején a 0-s keret van." + +#~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" +#~ msgstr "Copyright © 2009 Free Software Foundation, Inc.\n" + +#~ msgid "" +#~ "License GPLv2+: GNU GPL version 2 or later \n" +#~ msgstr "" +#~ "A licenc GPLv2+: a GNU GPL 2. vagy újabb változata \n" diff --git a/po/id.gmo b/po/id.gmo index 50b72ed99..388299aaf 100644 Binary files a/po/id.gmo and b/po/id.gmo differ diff --git a/po/id.po b/po/id.po index 8ff1d1ffa..b78f067a3 100644 --- a/po/id.po +++ b/po/id.po @@ -1,86 +1,92 @@ # Pesan Bahasa Indonesia untuk bash # Copyright (C) 2008 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. -# Arif E. Nugroho , 2008, 2009, 2010. +# Arif E. Nugroho , 2008, 2009, 2010, 2011, 2012, 2013, 2014. # msgid "" msgstr "" -"Project-Id-Version: bash 4.1\n" +"Project-Id-Version: bash 4.3-rc2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2010-01-16 12:45+0700\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2014-08-06 12:45+0700\n" "Last-Translator: Arif E. Nugroho \n" "Language-Team: Indonesian \n" -"Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" +"Language: id\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "array subscript buruk" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: tidak dapat mengubah index ke array yang berassosiasi" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: kunci array assosiasi tidak valid" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: tidak dapat mengassign ke index tidak-numeric" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: harus menggunakan subscript ketika memberikan assosiasi array" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: tidak dapat membuat: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: tidak dapat menemukan keymap untuk perintah" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: bukan karakter whitespace (spasi) pertama ditemukan `\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "tidak menutup '%c' dalam %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: hilang pemisah colon" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "brace expansion: cannot allocate memory for %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" -msgstr "" +msgstr "brace expansion: failed to allocate memory for %d elements" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "" +msgstr "brace expansion: failed to allocate memory for `%s'" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "`%s': nama alias tidak valid" @@ -89,45 +95,45 @@ msgstr "`%s': nama alias tidak valid" msgid "line editing not enabled" msgstr "pengubahan baris tidak aktif" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "'%s': nama keymap tidak valid" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: tidak dapat membaca: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "'%s': tidak dapat melepaskan" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "'%s': nama fungsi tidak dikenal" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s tidak terikat ke kunci apapun.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s dapat dipanggil melalui " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "jumlah loop" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "hanya berarti dalam sebuah `for', `while', atau `until'loop" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -137,302 +143,331 @@ msgstr "" " \n" " Tanpa EXPR, kembali " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME tidak diset" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "terlalu banyak argumen" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "top direktori yang baru." + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD tidak diset" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "baris %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "peringatan: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: penggunaan: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: pilihan membutuhkan sebuah argumen" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: argumen numeric dibutuhkan" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: tidak ditemukan" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: pilihan tidak valid" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: nama pilihan tidak valid" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': bukan sebuah identifier yang valid" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "nomor oktal tidak valid" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "nomor hexa tidak valid" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "nomor tidak valid" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: spesifikasi sinyal tidak valid" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "`%s': bukan sebuah pid atau spesifikasi pekerjaan yang valid" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: variabel baca-saja" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s diluar jangkauan" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argumen" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s diluar jangkauan" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: tidak ada pekerjaan seperti itu" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: tidak ada pengontrol kerja" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "tidak ada pengontrol kerja" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: terbatas" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "terbatas" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: bukan sebuah builtin shell" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "gagal menulis: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "error menentukan atribut terminal: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "error mendapatkan atribut terminal: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: error mengambil direktori saat ini: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: spesifikasi pekerjaan ambigu" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: nama aksi tidak valid" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: tidak ada spesifikasi completion" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "" "peringatan: pilihan -F mungkin tidak bekerja seperti yang anda harapkan" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "" "peringatan: pilihan -C mungkin tidak bekerja seperti yang anda harapkan" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "saat ini sedang tidak menjalankan fungsi completion" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "hanya dapat digunakan dalam sebuah fungsi" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" -msgstr "" +msgstr "%s: reference variable cannot be an array" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" -msgstr "" +msgstr "%s: nameref variable self references not allowed" + +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: circular name reference" -#: builtins/declare.def:398 +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: nilai dari berkas pendeskripsi penelusur tidak valid" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "tidak dapat menggunakan `-f' untuk membuat fungsi" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: fungsi baca-saja" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: tidak dapat menghapus variabel array secara ini" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: tidak dapat mengubah assosiasi ke array index" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dynamic loading tidak tersedia" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "tidak dapat membuka object shared %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "tidak dapat menemukan %s dalam shared object %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: bukan dinamically loaded" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: tidak dapat menghapus: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: bukan sebuah direktori" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: bukan sebuah file umum" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: file terlalu besar" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: tidak dapat menjalankan berkas binary" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: tidak dapat menjalankan: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "logout\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "bukan sebuah login shell: gunakan `exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Ada pekerjaan yang terhenti.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Ada pekerjaan yang sedang berjalan.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "perintah tidak ditemukan" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "spesifikasi sejarah" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: tidak dapat membuka file sementara: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "sekarang" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "pekerjaan %d dimulai tanpa pengontrol pekerjaan" @@ -451,24 +486,24 @@ msgstr "%s: pilihan membutuhkan sebuah argumen -- %c\n" msgid "hashing disabled" msgstr "hashing dinonaktifkan" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: tabel hash kosong\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "tekan\tperintah\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Perintah shell cocok dengan kata kunci `" msgstr[1] "Perintah shell cocok dengan kata kunci `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -476,12 +511,12 @@ msgstr "" "tidak ada topik bantuan yang cocok dengan `%s'. Coba `help help' atau 'man -" "k %s' atau `info %s'." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: tidak dapat membuka: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -504,15 +539,20 @@ msgstr "" "aktif.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "tidak dapat menggunakan lebih dari satu pilihan dari -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "posisi sejarah" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: argumen limit tidak valid" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: expansi sejarah gagal" @@ -526,113 +566,113 @@ msgstr "%s: inlib gagal" msgid "no other options allowed with `-x'" msgstr "tidak ada pilihan lain yang diperbolehkan dengan `-x'" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argumen harus diproses atau ID pekerjaan" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Kesalahan tidak diketahui" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "diduga sebuah ekspresi" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: bukan sebuah indeks array" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: spesifikasi file deskripsi tidak valid" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: file deskriptor %s tidak valid" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: jumlah baris tidak valid" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: asal array tidak valid" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: nama aksi tidak valid" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "nama variabel array kosong" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "bantuan array variabel dibutuhkan" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "`%s': hilang karakter format" -#: builtins/printf.def:456 -#, fuzzy, c-format +#: builtins/printf.def:467 +#, c-format msgid "`%c': invalid time format specification" -msgstr "%s: spesifikasi timeout tidak valid" +msgstr "`%c': spesifikasi timeout tidak valid" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "`%c': karakter format tidak valid" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "peringatan: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "format parsing problem: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "hilang digit hexa untuk \\x" -#: builtins/printf.def:880 -#, fuzzy, c-format +#: builtins/printf.def:893 +#, c-format msgid "missing unicode digit for \\%c" -msgstr "hilang digit hexa untuk \\x" +msgstr "hilang digit hexa untuk \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "tidak ada direktori lain" -#: builtins/pushd.def:354 -#, fuzzy, c-format +#: builtins/pushd.def:360 +#, c-format msgid "%s: invalid argument" msgstr "%s: argumen limit tidak valid" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "direktori stack kosong" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "index direktori stack" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -677,7 +717,7 @@ msgstr "" "ditampilkan oleh\n" " \tdirs ketika dipanggil tanpa pilihan, dimulai dari nol." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -724,7 +764,7 @@ msgstr "" " \n" " Builtin `dirs' menampilkan direktori stack." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -760,143 +800,153 @@ msgstr "" " \n" " Builtin `dirs' menampilkan direktori stack." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: spesifikasi timeout tidak valid" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "error baca: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "hanya dapat `return' dari sebuah fungsi atau script yang disource" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "tidak dapat secara simultan unset sebuah fungsi dan sebuah variable" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: tidak dapat unset" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: tidak dapat unset: baca-saja %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: bukan sebuah variabel array" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: bukan sebuah fungsi" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: tidak dapat unset" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "shift terhitung" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "tidak dapat menset dan menunset pilihan shell secara bersamaan" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: nama pilihan shell tidak valid" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "argumen nama file dibutuhkan" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: berkas tidak ditemukan" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "tidak dapat suspend" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "tidak dapat suspend sebuah login shell" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s sudah dialiasi ke `%s'\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s adalah sebuah shell dengan kata kunci\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s adalah sebuah fungsi\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s adalah sebuah shell builtin\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s adalah sebuah shell builtin\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s adalah %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s memiliki hash (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: argumen limit tidak valid" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': perintah buruk" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: tidak dapat get limit: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "batas" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: tidak dapat memodifikasi batas: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "nomor oktal" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "`%c': operator mode symbolic tidak valid" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "`%c': mode karakter symbolic tidak valid" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " baris " @@ -910,83 +960,104 @@ msgstr "perintah terakhir: %s\n" msgid "Aborting..." msgstr "membatalkan..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "perintah error tidak diketahui" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "tipe perintah buruk" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "konektor buruk" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "lompat buruk" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: variabel tidak terikat" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "kehabisan waktu menunggu masukan: otomatis-keluar\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "tidak dapat menyalurkan masukan standar dari /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: `%c': karakter format tidak valid" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "pipe error" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, fuzzy, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "%s: maximum function nesting level exceeded (%d)" + +#: execute_cmd.c:4508 +#, fuzzy, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: maximum function nesting level exceeded (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" -msgstr "" +msgstr "%s: maximum function nesting level exceeded (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "" "%s: dibatasi: tidak dapat menspesifikasikan '/' dalam nama nama perintah" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: perintah tidak ditemukan" -#: execute_cmd.c:5206 -#, fuzzy, c-format +#: execute_cmd.c:5470 +#, c-format msgid "%s: %s" -msgstr "%s adalah %s\n" +msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: interpreter buruk" -#: execute_cmd.c:5280 -#, fuzzy, c-format +#: execute_cmd.c:5545 +#, c-format msgid "%s: cannot execute binary file: %s" -msgstr "%s: tidak dapat menjalankan berkas binary" +msgstr "%s: tidak dapat menjalankan berkas binary: %s" -#: execute_cmd.c:5352 -#, fuzzy, c-format +#: execute_cmd.c:5623 +#, c-format msgid "`%s': is a special builtin" -msgstr "%s adalah sebuah shell builtin\n" +msgstr "`%s': adalah sebuah shell builtin" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "tidak dapat menduplikasikan fd %d ke fd %d" @@ -1031,37 +1102,37 @@ msgstr "idenfier diharapkan setelah pre-increment atau pre-decrement" msgid "missing `)'" msgstr "hilang `)'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "syntax error: operand diharapkan" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "syntax error: operator arithmetic tidak valid" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (error token adalah \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "basis arithmetic tidak valid" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "nilai terlalu besar untuk basis" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: expresi error\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: tidak dapat mengakses direktori orang tua" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "tidak dapat mereset mode nodelay untuk fd %d" @@ -1070,156 +1141,156 @@ msgstr "tidak dapat mereset mode nodelay untuk fd %d" #, c-format msgid "cannot allocate new file descriptor for bash input from fd %d" msgstr "" -"tidak dapat mengalokasikan berkas deskripsi bari untuk masukan bash dari fd " -"%d" +"tidak dapat mengalokasikan berkas deskripsi bari untuk masukan bash dari fd %" +"d" #: input.c:279 #, c-format msgid "save_bash_input: buffer already exists for new fd %d" msgstr "simpan bash_input: buffer telah ada untuk fd %d baru" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "forked pid %d terlihat dalam pekerjaan yang sedang berjalan %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "menghapus pekerjaan yang terhenti %d dengan proses grup %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: process %5ld (%s) dalam the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) ditandai dengan tetap hidup" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: tidak ada pid seperti itu" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "sinyal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Selesai" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Terhenti" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Terhenti(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Berjalan" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Selesai(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Keluar %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Status tidak diketahui" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(core didump) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "anak setpgid (%ld ke %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld bukan sebuah anak dari shell ini" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Tidak ada catatan untuk proses %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: pekerjaan %d terhenti" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: pekerjaan telah selesai" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: pekerjaan %d sudah berjalan di belakang (background)" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: mengaktifkan WNOHANG untuk menghindari blok tak terhingga" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: baris %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (core didump)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd sekarang: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp gagal" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: baris disiplin" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "tidak dapat menset terminal proses grup (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "tidak ada pengontrol pekerjaan dalam shell ini" @@ -1273,18 +1344,18 @@ msgstr "realloc: underflow terdeteksi; my_nbytes diluar dari jangkauan" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: awal dan akhir dari ukuran potongan berbeda" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: tabel alokasi penuh dengan FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "" "register_alloc: %p sudah berada dalam tabel sepertinya sudah dialokasikan?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p sudah berada dalam tabel sebagai bebas?\n" @@ -1308,7 +1379,7 @@ msgstr "%s: layanan tidak valid" msgid "%s: bad network path specification" msgstr "%s: spesifikasi jalur network buruk" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "operasi jaringan tidak dilayani" @@ -1345,225 +1416,260 @@ msgstr "Anda memiliki surat baru dalam $_" msgid "The mail in %s has been read\n" msgstr "Surat dalam %s telah dibaca\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "syntax error: membutuhkan ekspresi arithmetic" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "syntax error: `;' tidak terduga" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "syntax error: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: tipe instruksi buruk %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" "dokumen-disini di baris %d dibatasi oleh akhir-dari-berkas (diinginkan `%s')" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: instruksi redireksi `%d' diluar dari jangkauan" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "EOF tidak terduga ketika mencari untuk pencocokan `%c'" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "EOF tidak terduga ketika mencari untuk `]]'" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "syntax error dalam ekspresi kondisional: tanda `%s' tidak terduga" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "syntax error dalam ekspresi kondisional" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "tanda `%s' tidak terduga, diduga `)'" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "diduga `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "argumen tidak terduga `%s' ke operator kondisional unary" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "argumen tidak terduga untuk operasi unary kondisional" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "tanda `%s' tidak terduga, operator binary kondisional diduga" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "operator binary kondisional diduga" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "argumen `%s' tidak terduga ke operator binary kondisional" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "argumen tidak terduga ke operasi binary kondisional" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "tanda `%c' tidak terduga dalam perintah kondisional" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "tanda `%s' tidak terduga dalam perintah kondisional" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "tanda %d tidak terduga dalam perintah kondisional" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "syntax error didekat tanda `%s' yang tidak terduga" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "syntax error didekat `%s'" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "syntax error: tidak terduga diakhir dari berkas" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "syntax error" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Gunakan \"%s\" untuk meninggalkan shell.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "EOF tidak terduga ketika mencari untuk pencocokan ')'" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: fungsi `%s' tidak ditemukan" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: konektor buruk `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: berkas pendeskripsi tidak valid" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: berkas penunjuk KOSONG" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: '%c': format karakter tidak valid" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "berkas deskripsi diluar dari jangkauan" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: redirect ambigu" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: tidak dapat menulis berkas yang sudah ada" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: restricted: tidak dapat meredirect keluaran" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "tidak dapat membuat berkas sementara untuk dokumen disini: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: tidak dapat meng-'assign' fd ke variabel" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port tidak dilayani tanpa jaringan" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "redirection error: tidak dapat menduplikasi fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "tidak dapat menemukan /tmp, tolong buat!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp harus berupa sebuah nama direktori yang valid" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: pilihan tidak valid" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "tidak dapat mereset mode nodelay untuk fd %d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "tidak dapat mereset mode nodelay untuk fd %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: bukan sebuah direktori" + +#: shell.c:1777 msgid "I have no name!" msgstr "Aku tidak memiliki nama!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, versi %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1572,44 +1678,54 @@ msgstr "" "Penggunaan:\t%s [GNU pilihan panjang] [pilihan] ...\n" "\t%s [GNU pilihan panjang] [pilihan] berkas-script ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU pilihan panjang:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Pilihan shell:\n" -#: shell.c:1835 -#, fuzzy +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -msgstr "\t-irsD atau -c perintah atau -O shopt_option\t\t(hanya pemanggilan)\n" +msgstr "" +"\t-ilrsD atau -c perintah atau -O shopt_option\t\t(hanya pemanggilan)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s atau pilihan -o\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Ketik `%s -c \"help set\"' untuk informasi lebih lanjut mengenai pilihan " "shell.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Ketik `%s -c help' untuk informasi lebih lanjut mengenai perintah builting " "shell.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Gunakan perintah 'bashbug' untuk melaporkan bugs.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: operasi tidak valid" @@ -1783,77 +1899,92 @@ msgstr "Sinyal tidak diketahui #" msgid "Unknown Signal #%d" msgstr "Sinyal tidak diketahui #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "substitusi buruk: tidak ada penutupan `%s' dalam %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: tidak dapat meng-assign daftar kedalam anggoya array" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "tidak dapat membuat pipe untuk proses substitusi" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "tidak dapat membuat anak untuk proses substitusi" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "tidak dapat membuka named pipe %s untuk membaca" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "tidak dapat membukan named pipe %s untuk menulis" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "tidak dapat menduplikasi nama pipe %s sebagai fd %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "substitusi buruk: tidak ada penutupan \"\" dalam %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "tidak dapat membuat pipe untuk perintah substitusi" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "tidak dapat membuat anak untuk perintah substitusi" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: tidak dapat menduplikasikan pipe sebagi fd 1" -#: subst.c:5837 subst.c:8050 -#, fuzzy, c-format +#: subst.c:6580 subst.c:8939 +#, c-format msgid "%s: invalid variable name for name reference" -msgstr "%s: %s: nilai dari berkas pendeskripsi penelusur tidak valid" +msgstr "%s: nilai dari berkas pendeskripsi penelusur tidak valid" + +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: substitusi buruk" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: jumlah baris tidak valid" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "`%s': nama alias tidak valid" -#: subst.c:6048 +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parameter kosong atau tidak diset" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: substring expresi < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: substitusi buruk" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: tidak dapat meng-assign dengan cara ini" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1861,12 +1992,12 @@ msgstr "" "versi selanjutnya dari shell akan memaksa evaluasi dari sebuah penggantian " "aritmetika" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "substitusi buruk: tidak ada penutupan \"\" dalam %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "tidak cocok: %s" @@ -1880,128 +2011,128 @@ msgstr "argumen diharapkan" msgid "%s: integer expression expected" msgstr "%s: expresi integer diduga" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "')' diduga" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "`)' diduga, ditemukan %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: operator unary diduga" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: operator binary diduga" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "hilang `]'" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "nomor sinyal tidak valid" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: nilai buruk dalam trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" -"run_pending_traps: sinyal handler adalah SIG_DFL, mengirimkan kembali %d " -"(%s) kediri sendiri" +"run_pending_traps: sinyal handler adalah SIG_DFL, mengirimkan kembali %d (%" +"s) kediri sendiri" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: sinyal buruk %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "error mengimpor definisi fungsi untuk `%s'" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "level shell (%d) terlalu tinggi, mereset ke 1" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%s: %s: nilai dari berkas pendeskripsi penelusur tidak valid" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: tidak ada context fungsi di scope ini" -#: variables.c:2247 -#, fuzzy, c-format +#: variables.c:2432 +#, c-format msgid "%s: variable may not be assigned value" msgstr "%s: tidak dapat meng-'assign' fd ke variabel" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: nilai dari berkas pendeskripsi penelusur tidak valid" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: tidak ada context fungsi dalam scope ini" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s memiliki exportstr kosong" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "karakter %d tidak valid dalam exporstr untuk %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "bukan `=' dalam exportstr untuk %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" "pop_var_context: kepala dari shell_variables bukan sebuah fungsi cbntext" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: bukan global_variable context" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: kepala dari shell_variables bukan sebuah scope lingkungan " "sementara" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: tidak dapat membuka sebagai BERKAS" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: nilai dari berkas pendeskripsi penelusur tidak valid" -#: variables.c:5307 -#, fuzzy, c-format +#: variables.c:5669 +#, c-format msgid "%s: %s: compatibility value out of range" -msgstr "%s: %s diluar jangkauan" +msgstr "%s: %s: diluar jangkauan" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Hak Cipta (C) 2009 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Hak Cipta (C) 2013 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2017,21 +2148,14 @@ msgid "GNU bash, version %s (%s)\n" msgstr "GNU bash, versi %s (%s)\n" #: version.c:91 version2.c:91 -#, fuzzy msgid "This is free software; you are free to change and redistribute it." msgstr "" "Ini adalah perangkat lunak bebas; anda bebas untuk mengubah dan " -"mendistribusikannya.\n" +"mendistribusikannya." #: version.c:92 version2.c:92 -#, fuzzy msgid "There is NO WARRANTY, to the extent permitted by law." -msgstr "TIDAK ADA GARANSI, selama masih diijinkan oleh hukum yang berlaku.\n" - -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Hak Cipta (C) 2009 Free Software Foundation, Inc." +msgstr "TIDAK ADA GARANSI, selama masih diijinkan oleh hukum yang berlaku." #: xmalloc.c:91 #, c-format @@ -2053,132 +2177,118 @@ msgstr "%s: %s:%d: tidak dapat mengalokasikan %lu bytes (%lu bytes teralokasi)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s: %d: tidak dapat teralokasi %lu bytes" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [name[=nilai] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] name [nama ...]" -#: builtins.c:51 -#, fuzzy +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -"bind [-lpvsPVS] [-m keymap] [-f nama berkas] [-q nama] [-u nama] [-r keyseq] " -"[-x keyseq:perintah-shell] [keyseq:readline-function atau readline-command]" +"bind [-lpvsPVSX] [-m keymap] [-f nama berkas] [-q nama] [-u nama] [-r " +"keyseq] [-x keyseq:perintah-shell] [keyseq:readline-function atau readline-" +"command]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [shell-builtin [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "pemanggil [expr]" -#: builtins.c:64 -#, fuzzy +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-L|-P] [direktori]" +msgstr "cd [-L|[-P [-e]] [-@]] [direktori]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "benar" - -#: builtins.c:72 -msgid "false" -msgstr "salah" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "perintah [-pVv] perintah [argumen ...]" -#: builtins.c:76 -#, fuzzy +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "declare [-aAfFilrtux] [-p] [name[=nilai] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [name[=nilai] ...]" -#: builtins.c:78 +#: builtins.c:80 #, fuzzy -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFilrtux] [-p] name[=nilai] ..." +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilrtux] [-p] name[=nilai] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [pilihan] name[=nilai] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f nama berkas] [name ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [argumen ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts nama optstring [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a nama] [perintah [argumen ...]] [redireksi ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e ename] [-lnr] [pertama] [terakhir] atau fc -s [pat=rep] [perintah]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [spesifikasi pekerjaan]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [spesifikasi pekerjaan ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p nama jalur] [-dt] [nama ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "bantuan [-dms] [pola ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2186,15 +2296,16 @@ msgstr "" "sejarah [-c] [-d ofset] [n] atau history -anrw [nama berkas] atau history -" "ps arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [spesifikasi pekerjaan ...] atau jobs -x perintah [args]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [spesifikasi pekerjaan ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2202,11 +2313,11 @@ msgstr "" "kill [-s spesifikasi sinyal | -n nomor sinyal | -sigspec] pid | jobsepc ... " "atau kill -l [sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "biarkan arg [argumen ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2214,105 +2325,96 @@ msgstr "" "read [-ers] [-a array] [-d pembatas] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 -#, fuzzy +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -msgstr "set [-abefhkmnptuvxBCHP] [-o nama-pilihan] [argumen ...]" +msgstr "set [-abefhkmnptuvxBCHP] [-o nama-pilihan] [--] [argumen ...]" -#: builtins.c:142 -#, fuzzy +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "unset [-f] [-v] [name ...]" +msgstr "unset [-f] [-v] [-n] [name ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [name[=nilai] ...] atau export -p" -#: builtins.c:146 -#, fuzzy +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" -msgstr "readonly [-af] [name[=nilai] ...] atau readonly -p" +msgstr "readonly [-aAf] [name[=nilai] ...] atau readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source nama berkas [argumen]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". nama berkas [argumen]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [expr]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "kali" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] spesifikasi sinyal ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] nama [name ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHacdefilmnpqrstuvx] [batas]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [batas]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [mode]" -#: builtins.c:175 -#, fuzzy +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "wait [id]" +msgstr "wait [-n] [id ...]" -#: builtins.c:179 -#, fuzzy +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "wait [id]" +msgstr "wait [pid ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NAMA [in WORDS ...] ; do PERINTAH; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( exp1; exp2; exp3 )); do PERINTAH; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NAMA [ in WORDS ... ;] do PERINTAH; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] pipeline" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case WORD in [POLA [| POLA]...) PERINTAH ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2320,63 +2422,63 @@ msgstr "" "if PERINTAH; then PERINTAH; [ elif PERINTAH; then PERINTAH; ]... [ else " "PERINTAH; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while PERINTAH; do PERINTAH; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until PERINTAH; do PERINTAH; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NAMA] perintah [redireksi]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function name { PERINTAH; } atau name () { PERINTAH ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ PERINTAH ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( expressi ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ expressi ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variabel - Nama dan arti dari beberapa shell variabel" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | dir]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [optname ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] format [argumen]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2386,27 +2488,29 @@ msgstr "" "W daftar kata] [-F fungsi] [-C perintah] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o pilihan] [-A aksi] [-G globpat] [-W wordlist] [-" "F fungsi] [-C perintah] [-X filterpat] [-P prefix] [-S suffix] [word]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o pilihan] [-DE] [nama ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" "mapfile [-n jumlah] [-O asal] [-s jumlah] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2414,7 +2518,8 @@ msgstr "" "readarray [-n jumlah] [-O asal] [-s jumlah] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2426,7 +2531,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2453,12 +2558,13 @@ msgstr "" "ada alias yang\n" " terdefinisi." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2469,7 +2575,7 @@ msgstr "" " \n" " Mengembalikan sukses kecuali sebuah NAMA bukan alias yang sudah ada." -#: builtins.c:289 +#: builtins.c:291 #, fuzzy msgid "" "Set Readline key bindings and variables.\n" @@ -2504,7 +2610,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2553,7 +2660,7 @@ msgstr "" " bind memberikan kembalian 0 kecuali sebuah pilihan tidak dikenal " "diberikan atau sebuah error terjadi." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2572,7 +2679,7 @@ msgstr "" " Status Keluar:\n" " Status keluar adalah 0 kecuali N tidak lebih besar atau sama dengan 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2591,7 +2698,7 @@ msgstr "" " Status Keluar:\n" " Status keluar adalah 0 kecuali N tidak lebih besar atau sama dengan 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2618,7 +2725,7 @@ msgstr "" "BUILTIN adalah\n" " bukan sebuah shell builtin.." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2647,7 +2754,7 @@ msgstr "" "shell atau EXPR\n" " tidak valid." -#: builtins.c:385 +#: builtins.c:387 #, fuzzy msgid "" "Change the shell working directory.\n" @@ -2671,16 +2778,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2720,13 +2827,14 @@ msgstr "" " Status Keluar:\n" " Mengembalikan 0 jika direktori berubah; bukan nol jika tidak." -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2750,7 +2858,7 @@ msgstr "" "direktori sekarang\n" " tidak bisa dibaca." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2766,7 +2874,7 @@ msgstr "" " Status Keluar:\n" " Selalu sukses." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2778,7 +2886,7 @@ msgstr "" " Status Keluar:\n" " Selalu sukses." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2790,7 +2898,8 @@ msgstr "" " Status Keluar:\n" " Selalu gagal." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2800,10 +2909,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2828,7 +2937,7 @@ msgstr "" " Mengembalikan status keluar dari PERINTAH, atau gagal jika PERINTAH " "tidak ditemukan." -#: builtins.c:487 +#: builtins.c:490 #, fuzzy msgid "" "Set variable values and attributes.\n" @@ -2839,9 +2948,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2902,18 +3011,18 @@ msgstr "" " Mengembalikan sukses kecuali sebuah pilihan tidak valid diberikan atau " "sebuah error terjadi." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Menset nilai variabel dan atribut.\n" " \n" " Kadaluarsa. Lihat `help declare'." -#: builtins.c:535 -#, fuzzy +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2941,7 +3050,7 @@ msgstr "" "sebuah error terjadi.\n" " atau shell tidak menjalankan sebuah fungsi." -#: builtins.c:552 +#: builtins.c:555 #, fuzzy msgid "" "Write arguments to the standard output.\n" @@ -2968,9 +3077,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -3003,7 +3112,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan sukses kecuali sebuah penulisan error terjadi." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3025,7 +3134,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan sukses kecuali sebuah penulisan error terjadi." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3081,7 +3190,7 @@ msgstr "" " Mengembalikan sukses kecuali NAMA bukan sebuah shell builtin atau sebuah " "error terjadi." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3102,7 +3211,7 @@ msgstr "" " Mengembalikan status keluar dari perintah atau sukses jika perintah " "adalah kosong." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3188,7 +3297,8 @@ msgstr "" "dari pilihan\n" " ditemui atau sebuah error terjadi." -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -3199,8 +3309,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3231,7 +3341,7 @@ msgstr "" " Mengembalikan sukses kecuali PERINTAH tidak ditemukan atau sebuah " "redireksi error terjadi." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3244,7 +3354,7 @@ msgstr "" "keluaran\n" " adalah status dari perintah terakhir yang dijalankan." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3258,7 +3368,7 @@ msgstr "" "error jika tidak dijalankan\n" " dalam sebuah login shell." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3317,7 +3427,7 @@ msgstr "" " Mengembalikan sukses atau status dari perintah yang dijalankan; tidak-" "nol jika sebuah error terjadi." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3338,7 +3448,7 @@ msgstr "" " Status dari perintah yang ditempatkan di foreground, atau gagal jika " "sebuah error terjadi." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3362,7 +3472,7 @@ msgstr "" " Mengembalikan sukses kecuali pengontrol pekerjaan tidak aktif atau " "sebuah error terjadi." -#: builtins.c:784 +#: builtins.c:787 #, fuzzy msgid "" "Remember or display program locations.\n" @@ -3372,15 +3482,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3409,7 +3519,8 @@ msgstr "" " Mengembalikan sukses kecuali NAMA tidak ditemukan atau sebuah pilihan " "tidak valid telah diberikan." -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3421,7 +3532,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3450,7 +3561,8 @@ msgstr "" " Mengembalikan sukses kecuali POLA tidak ditemukan atau pilihan tidak " "valid diberikan." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3459,23 +3571,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3525,7 +3637,7 @@ msgstr "" " Mengembalikan sukses kecuali sebuah pilihan tidak valid diberikan atau " "sebuah error terjadi." -#: builtins.c:869 +#: builtins.c:872 #, fuzzy msgid "" "Display status of jobs.\n" @@ -3536,7 +3648,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3574,7 +3686,8 @@ msgstr "" "sebuah error terjadi.\n" " Jika -x digunakan, mengembalikan status keluar dari PERINTAH." -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3584,7 +3697,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3606,7 +3719,8 @@ msgstr "" " Mengembalikan sukses kecuali ada sebuah pilihan tidak valid atau JOBSPEC " "diberikan." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3618,7 +3732,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3649,8 +3764,7 @@ msgstr "" " Mengembalikan sukses kecuali sebuah pilihan tidak valid diberikan atau " "sebuah error terjadi." -#: builtins.c:938 -#, fuzzy +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3738,7 +3852,7 @@ msgstr "" " Jika ARG terakhir dievaluasi ke 0, membiarkan kembali ke 1; 0 " "dikembalikan Jika tidak." -#: builtins.c:983 +#: builtins.c:987 #, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" @@ -3760,27 +3874,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3840,7 +3955,7 @@ msgstr "" " atau sebuah berkas deskripsi disupply sebagai sebuah argumen ke pilihan -" "u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3862,7 +3977,7 @@ msgstr "" " Mengembalikan N, atau gagal jika shell tidak menjalan sebuah fungsi atau " "script." -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3931,7 +4046,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -4038,7 +4154,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan sukses kecuali sebuah pilihan tidak valid diberikan." -#: builtins.c:1126 +#: builtins.c:1132 #, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" @@ -4049,7 +4165,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4078,7 +4194,7 @@ msgstr "" " Mengembalikan sukses kecuali sebuah pilihan tidak valid diberikan atau " "sebuah NAMA adalah baca-saja." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4113,7 +4229,7 @@ msgstr "" " Mengembalikan sukses kecuali sebuah pilihan tidak valid diberikan atau " "NAMA tidak valid." -#: builtins.c:1167 +#: builtins.c:1173 #, fuzzy msgid "" "Mark shell variables as unchangeable.\n" @@ -4126,9 +4242,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4155,7 +4270,7 @@ msgstr "" " Mengembalikan sukses kecual sebuah pilihan tidak valid diberikan atau " "NAMA tidak valid." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4173,7 +4288,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan sukses kecuali N adalah negatif atau lebih besar dari $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4199,7 +4314,7 @@ msgstr "" "BERKAS; gagal jika\n" " NAMA BERKAS tidak dapat dibaca." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4225,7 +4340,7 @@ msgstr "" " Mengembalikan sukses kecuali pengontrol pekerjaan tidak aktif atau " "sebuah error terjadi." -#: builtins.c:1248 +#: builtins.c:1254 #, fuzzy msgid "" "Evaluate conditional expression.\n" @@ -4290,9 +4405,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4392,7 +4507,7 @@ msgstr "" "EXPR mengevaluasi ke\n" " salah atau sebuah argumen tidak valid diberikan." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4404,7 +4519,7 @@ msgstr "" " Ini sinonim untuk \"test\" builtin, tetapi argumen terakhir\n" " harus berupa sebuah literal `]', untuk mencocokan dengan pembukaan `['." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4424,8 +4539,7 @@ msgstr "" " Status Keluar:\n" " Selalu sukses." -#: builtins.c:1350 -#, fuzzy +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4506,7 +4620,8 @@ msgstr "" " Mengembalikan sukses kecuali sebuah SIGSPEC adalah tidak valid atau " "sebuah pilihan tidak valid diberikan." -#: builtins.c:1386 +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -4515,18 +4630,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4568,7 +4683,7 @@ msgstr "" " Mengembalikan sukses jika seluruh dari NAMA ditemukan; gagal jika ada " "yang tidak ditemukan." -#: builtins.c:1417 +#: builtins.c:1424 #, fuzzy msgid "" "Modify shell resource limits.\n" @@ -4587,6 +4702,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4598,7 +4714,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4660,7 +4777,7 @@ msgstr "" " Mengembalikan sukses kecuali sebuah pilihan tidak valid diberikan atau " "sebuah error terjadi." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4698,8 +4815,7 @@ msgstr "" " Mengembalikan sukses kecuali MODE tidak valid atau sebuah pilihan tidak " "valid diberikan." -#: builtins.c:1485 -#, fuzzy +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4734,8 +4850,7 @@ msgstr "" "pilihan tidak\n" " valid diberikan." -#: builtins.c:1506 -#, fuzzy +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4761,7 +4876,7 @@ msgstr "" "pilihan tidak valid\n" " diberikan." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4785,7 +4900,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan status dari perintah terakhir yang dijalankan." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4815,7 +4930,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan status dari perintah terakhir yang dijalankan." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4852,7 +4967,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan status dari perintah terakhir yang dijalankan." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4880,7 +4995,7 @@ msgstr "" " Status Keluar:\n" " Status kembali adalah status kembali dari PIPELINE." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4898,7 +5013,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan setatus dari perintah terakhir yang dijalankan." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4936,7 +5051,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan status dari perintah terakhir yang dijalankan." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4954,7 +5069,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan status dari perintah terakhir yang dijalankan." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4971,7 +5086,8 @@ msgstr "" " Status Keluar:\n" " Mengembalikan status dari perintah terakhir yang dijalankan." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4981,7 +5097,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Buat sebuah koproses dengan nama NAMA.\n" " \n" @@ -4994,7 +5110,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan status keluar dari PERINTAH." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -5019,7 +5135,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan sukses kecuali NAMA adalah baca-saja." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -5038,7 +5154,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan status dari perintah terakhir yang dieksekusi." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -5065,7 +5181,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan status dari pekerjaan yang dilanjutkan." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -5083,7 +5199,7 @@ msgstr "" " Status Keluar:\n" " Mengembalikan 1 jika EXPRESI dievaluasi ke 0; mengembalikan 0 jika tidak." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5140,7 +5256,7 @@ msgstr "" " Status Keluar:\n" " 0 atau 1 tergantun dari nilai dari EKSPRESI." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5254,7 +5370,8 @@ msgstr "" "digunakan untuk menentukan dimana\n" " \t\tperintah seharusnya disimpan dalam daftar sejarah.\n" -#: builtins.c:1794 +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -5264,19 +5381,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5314,7 +5431,8 @@ msgstr "" "atau pemindahan\n" " direktori gagal." -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -5323,16 +5441,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5358,8 +5476,8 @@ msgstr "" " \tmenghapus direktori terakhir, `popd +1' sebelum terakhir.\n" " \n" " -N\tmenghapus masukan ke N dihitung dari kanan dari daftar\n" -" \tyang ditampilkan oleh `dirs', dimulai dari nol. Sebagai contoh: `popd " -"-0'\n" +" \tyang ditampilkan oleh `dirs', dimulai dari nol. Sebagai contoh: `popd -" +"0'\n" " \tmenghapus direktori terakhir, `popd -1' sebelum terakhir.\n" " \n" " Builtin `dirs' menampilkan direktori stack.\n" @@ -5369,7 +5487,8 @@ msgstr "" "atau pemindahan\n" " direktori gagal." -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -5380,19 +5499,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5425,7 +5544,7 @@ msgstr "" " Mengembalikan sukses kecuali ada sebuah pilihan tidak valid diberikan " "atau sebuah error terjadi." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5464,7 +5583,7 @@ msgstr "" "tidak valid diberikan\n" " atau OPTNAME dinonaktifkan." -#: builtins.c:1908 +#: builtins.c:1919 #, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" @@ -5482,15 +5601,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5529,7 +5648,8 @@ msgstr "" "sebuah penulisan atau penempatan\n" " error terjadi." -#: builtins.c:1942 +#: builtins.c:1953 +#, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5542,11 +5662,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5582,7 +5702,7 @@ msgstr "" " Mengembalikan sukses kecuali sebuah pilihan tidak valid diberikan atau " "sebuah error terjadi." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5605,8 +5725,7 @@ msgstr "" " Mengembalikan sukses kecuali sebuah pilihan tidak valid diberikan atau " "sebuah error terjadi." -#: builtins.c:1985 -#, fuzzy +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5668,7 +5787,7 @@ msgstr "" "NAMA tidak memiliki\n" " spesifikasi penyelesaian yang terdefinisi." -#: builtins.c:2015 +#: builtins.c:2026 #, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" @@ -5680,20 +5799,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5745,7 +5865,7 @@ msgstr "" " Mengembalikan sukses kecuali sebuah pilihan tidak valid diberikan atau " "ARRAY adalah baca-saja." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5755,18 +5875,24 @@ msgstr "" " \n" " Sebuah sinonim untuk `mapfile'." -#~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" -#~ msgstr "Hak Cipta (C) 2009 Free Software Foundation, Inc.\n" +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Hak Cipta (C) 2013 Free Software Foundation, Inc." -#~ msgid "" -#~ "License GPLv2+: GNU GPL version 2 or later \n" -#~ msgstr "" -#~ "Lisensi GPLv2+: GNU GPL versi 2 atau sesudahnya \n" +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "benar" -#~ msgid "wait [pid]" -#~ msgstr "wait [pid]" +#~ msgid "false" +#~ msgstr "salah" + +#~ msgid "times" +#~ msgstr "kali" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Hak Cipta (C) 2012 Free Software Foundation, Inc." #~ msgid "" #~ ". With EXPR, returns\n" @@ -5790,6 +5916,16 @@ msgstr "" #~ "kembali\n" #~ " sebelum saat ini; 'frame' paling atas adalah 'frame' 0." +#~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" +#~ msgstr "Hak Cipta (C) 2009 Free Software Foundation, Inc.\n" + +#~ msgid "" +#~ "License GPLv2+: GNU GPL version 2 or later \n" +#~ msgstr "" +#~ "Lisensi GPLv2+: GNU GPL versi 2 atau sesudahnya \n" + #~ msgid "xrealloc: cannot reallocate %lu bytes (%lu bytes allocated)" #~ msgstr "" #~ "xrealloc: tidak dapat menrealokasikan %lu bytes (%lu bytes teralokasikan)" @@ -5938,9 +6074,6 @@ msgstr "" #~ msgid "removes the top directory from the stack, and cd's to the new" #~ msgstr "menghapus top direktori dari stack, dan pindah ke" -#~ msgid "top directory." -#~ msgstr "top direktori yang baru." - #~ msgid "+N removes the Nth entry counting from the left of the list" #~ msgstr "+N menghapus masukan ke-N dihitung dari kiri dari daftar" diff --git a/po/it.gmo b/po/it.gmo index 8f61a3818..99e98a493 100644 Binary files a/po/it.gmo and b/po/it.gmo differ diff --git a/po/it.po b/po/it.po index 9e7f1445f..6bff65a29 100644 --- a/po/it.po +++ b/po/it.po @@ -7,82 +7,88 @@ msgid "" msgstr "" "Project-Id-Version: bash-4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2011-10-17 09:14+0200\n" "Last-Translator: Sergio Zanchetta \n" "Language-Team: Italian \n" -"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: it\n" "Plural-Forms: nplurals=2; plural= (n != 1)\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "indice dell'array errato" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: impossibile convertire un array indicizzato in uno associativo" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: chiave dell'array associativo non valida" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: impossibile assegnare a un indice non numerico" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" "%s: %s: deve essere usato un indice nell'assegnazione di un array associativo" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: impossibile creare: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: impossibile trovare una mappatura per il comando" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: il primo carattere non spazio non è \"\"\"" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "carattere di chiusura \"%c\" non presente in %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: separatore di tipo due punti mancante" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "\"%s\": nome alias non valido" @@ -91,45 +97,45 @@ msgstr "\"%s\": nome alias non valido" msgid "line editing not enabled" msgstr "modifica delle righe non abilitata" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "\"%s\": nome della mappatura non valido" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: impossibile leggere: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "\"%s\": impossibile eliminare l'associazione" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "\"%s\" nome della funzione sconosciuto" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s non è associato ad alcun tasto.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s può essere invocato tramite " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "numero di cicli" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "significativo solo in un ciclo \"for\", \"while\" o \"until\"" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -139,300 +145,329 @@ msgstr "" " \n" " Senza ESPR, restituisce " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME non impostata" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "troppi argomenti" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "nessun'altra directory" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD non impostata" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "riga %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "attenzione: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: uso: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: l'opzione richiede un argomento" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: è necessario un argomento numerico" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: non trovata" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: opzione non valida" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: nome dell'opzione non valido" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "\"%s\": non è un identificatore valido" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "numero ottale non valido" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "numero esadecimale non valido" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "numero non valido" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: specifica di segnale non valida" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "\"%s\": non è un pid o un numero di job valido" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: variabile in sola lettura" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s fuori dall'intervallo" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argomento" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s fuori dall'intervallo" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: job inesistente" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: nessun controllo dei job" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "nessun controllo dei job" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: limitato" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "limitato" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: non è un comando interno di shell" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "errore in scrittura: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "errore nell'impostazione degli attributi del terminale: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "errore nel recupero degli attributi del terminale: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: errore nel recupero della directory corrente: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: specifica di job ambigua" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: nome azione non valido" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: nessun completamento specificato" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "attenzione: l'opzione -F potrebbe non funzionare come previsto" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "attenzione: l'opzione -C potrebbe non funzionare come previsto" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "funzione di completamento attualmente non in esecuzione" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "può essere usato solo in una funzione" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, fuzzy, c-format +msgid "%s: circular name reference" +msgstr "%s: %s: valore non valido per il descrittore del file di traccia" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: %s: valore non valido per il descrittore del file di traccia" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "impossibile usare \"-f\" per creare funzioni" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: funzione in sola lettura" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: impossibile eliminare variabili array in questo modo" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: impossibile convertire un array associativo in uno indicizzato" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "caricamento dinamico non disponibile" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "impossibile aprire l'oggetto condiviso %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "impossibile trovare %s nell'oggetto condiviso %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: non caricato dinamicamente" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: impossibile eliminare: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: è una directory" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: non è un file regolare" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: file troppo grande" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: impossibile eseguire il file binario" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: impossibile eseguire: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "logout\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "non è una shell di login: utilizzare \"exit\"" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Sono presenti job interrotti.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Ci sono job in esecuzione.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "nessun comando trovato" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "specifica della cronologia" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: impossibile aprire il file temp: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "attuale" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "job %d avviato senza controllo dei job" @@ -451,24 +486,24 @@ msgstr "%s: l'opzione richiede un argomento -- %c\n" msgid "hashing disabled" msgstr "hashing disabilitato" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s tabella di hash vuota\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "rich.\tcomando\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Comandi di shell corrispondenti alla parola chiave \"" msgstr[1] "Comandi di shell corrispondenti alle parole chiave \"" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -476,12 +511,12 @@ msgstr "" "nessun argomento della guida corrisponde a \"%s\". Provare \"help help\" o " "\"man -k %s\" o \"info %s\"." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: impossibile aprire: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -502,15 +537,20 @@ msgstr "" "Un asterisco (*) vicino a un nome significa che il comando è disabilitato.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "impossibile usare più di uno tra -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "posizione nella cronologia" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: argomento di limite non valido" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: espansione della cronologia non riuscita" @@ -524,113 +564,113 @@ msgstr "%s: inlib non riuscito" msgid "no other options allowed with `-x'" msgstr "nessuna altra opzione permessa con \"-x\"" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: gli argomenti devono essere ID di processo o di job" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Errore sconosciuto" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "attesa espressione" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: non è un array indicizzato" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: specifica di descrittore di file non valida" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: descrittore di file non valido: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: numero di righe non valido" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: origine dell'array non valida" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: quantum di callback non valido" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "nome della variabile array vuoto" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "necessario il supporto alla variabile array" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "\"%s\": manca il carattere di formato" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "\"%c\": specifica di formato dell'orario non valida" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "\"%c\": carattere di formato non valido" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "attenzione: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "cifra esadecimale mancante in \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "cifra unicode mancante in \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "nessun'altra directory" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: argomento di limite non valido" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "stack delle directory vuoto" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "indice dello stack delle directory" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -673,7 +713,7 @@ msgstr "" " -N\tVisualizza l'N-sima voce contando a partire da destra dell'elenco\n" "\tmostrato da dirs quando invocato senza opzioni, iniziando da zero." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -719,7 +759,7 @@ msgstr "" " \n" " Il comando interno \"dirs\" visualizza lo stack delle directory." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -757,144 +797,154 @@ msgstr "" " \n" " Il comando interno \"dirs\" visualizza lo stack delle directory." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: specifica di timeout non valida" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "errore in lettura: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" "è possibile eseguire \"return\" solo da una funzione o da uno script chiamato" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "impossibile azzerare contemporaneamente una funzione e una variabile" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: impossibile azzerare" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: impossibile azzerare: %s in sola lettura" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: non è una variabile array" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: non è una funzione" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: impossibile azzerare" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "numero di scorrimenti" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "impossibile impostare e azzerare opzioni di shell contemporaneamente" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: nome dell'opzione di shell non valido" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "necessario un nome file come argomento" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: file non trovato" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "impossibile sospendere" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "impossibile sospendere una shell di login" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s ha \"%s\" come alias\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s è una parola chiave di shell\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s è una funzione\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s è un comando interno di shell\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s è un comando interno di shell\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s è %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "hash effettuato su %s (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: argomento di limite non valido" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "\"%c\": comando errato" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: impossibile recuperare il limite: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "limite" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: impossibile modificare il limite: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "numero ottale" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "\"%c\": operatore di modo simbolico non valido" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "\"%c\": carattere di modo simbolico non valido" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " riga " @@ -908,82 +958,103 @@ msgstr "ultimo comando: %s\n" msgid "Aborting..." msgstr "Interruzione..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "errore di comando sconosciuto" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "tipo di comando errato" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "connettore errato" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "salto errato" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: variabile non assegnata" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\atempo di attesa scaduto per l'input: auto-logout\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "impossibile redirigere lo standard input da /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: \"%c\": carattere di formato non valido" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "errore della pipe" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: limitato: impossibile specificare \"/\" nei nomi dei comandi" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: comando non trovato" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: interprete errato" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: impossibile eseguire il file binario" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, fuzzy, c-format msgid "`%s': is a special builtin" msgstr "%s è un comando interno di shell\n" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "impossibile duplicare fd %d su fd %d" @@ -1028,37 +1099,37 @@ msgstr "atteso identificatore dopo un pre-incremento o un pre-decremento" msgid "missing `)'" msgstr "\")\" mancante" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "errore di sintassi: atteso un operando" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "errore di sintassi: operatore aritmetico non valido" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (il token dell'errore è \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "base aritmetica non valida" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "valore troppo grande per la base" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: errore di espressione\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: impossibile accedere alle directory padre" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "impossibile reimpostare il modo nodelay per fd %d" @@ -1075,148 +1146,148 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: buffer già esistente per il nuovo fd %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pipe pgrp" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "il pid %d del fork appare nel job in esecuzione %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "eliminazione del job %d interrotto con il gruppo di processi %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: processo %5ld (%s) in the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) segnato come ancora in vita" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: pid inesistente" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Segnale %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Completato" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Fermato" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Fermato(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "In esecuzione" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Eseguito(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Uscita %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Stato sconosciuto" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(core dump creato) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (dir: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "setpgid del figlio (%ld a %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: il pid %ld non è un figlio di questa shell" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: nessun record del processo %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: il job %d è fermo" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: il job è terminato" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: il job %d è già in background" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: attivato WNOHANG per evitare blocchi indefiniti" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: riga %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (core dump creato)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(dir ora: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp non riuscita" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: disciplina di linea" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "impossibile impostare il gruppo di processi del terminale (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "nessun controllo dei job in questa shell" @@ -1270,18 +1341,18 @@ msgstr "realloc: riscontrato un underflow; mh_nbytes fuori intervallo" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: dimensioni diverse dei blocchi di inizio e di fine" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "" "register_alloc: forse la tavola di allocazione è piena con FIND_ALLOC\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: forse %p è già come allocato nella tabella\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_alloc: forse %p è già come libero nella tabella\n" @@ -1305,7 +1376,7 @@ msgstr "%s: servizio non valido" msgid "%s: bad network path specification" msgstr "%s: specifica del percorso di rete errata" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "operazione di rete non supportata" @@ -1342,227 +1413,262 @@ msgstr "È presente della nuova posta in $_" msgid "The mail in %s has been read\n" msgstr "La posta in %s è stata letta\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "errore di sintassi: richiesta espressione aritmetica" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "errore di sintassi: \";\" non atteso" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "errore di sintassi: \"((%s))\"" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: tipo di istruzione errata %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" "here-document alla riga %d è delimitato da un EOF (era richiesto \"%s\")" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "" "make_redirection: istruzione di reindirizzamento \"%d\" fuori dell'intervallo" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "EOF non atteso durante la ricerca di \"%c\"" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "EOF non atteso durante la ricerca di \"]]\"" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "" "errore di sintassi nell'espressione condizionale: token non atteso \"%s\"" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "errore di sintassi nell'espressione condizionale" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "token non atteso \"%s\", era atteso \")\"" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "atteso \")\"" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "argomento non atteso \"%s\" per l'operatore unario condizionale" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "argomento non atteso per l'operatore unario condizionale" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "token non atteso \"%s\", era atteso un operatore binario condizionale" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "atteso operatore binario condizionale" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "argomento non atteso \"%s\" per l'operatore binario condizionale" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "argomento non atteso per l'operatore binario condizionale" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "token non atteso \"%c\" nel comando condizionale" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "token non atteso \"%s\" nel comando condizionale" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "token non atteso %d nel comando condizionale" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "errore di sintassi vicino al token non atteso \"%s\"" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "errore di sintassi vicino a \"%s\"" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "errore di sintassi: EOF non atteso" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "errore di sintassi" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Usare \"%s\" per uscire dalla shell.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "EOF non atteso durante la ricerca di \")\"" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: funzione \"%s\" non trovata" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: COMPSPEC NULL" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: connettore errato \"%d\"" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: descrittore di file non valido" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: puntatore a file NULL" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != numfile xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: \"%c\": carattere di formato non valido" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "descrittore di file fuori dell'intervallo" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: redirezione ambigua" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: impossibile sovrascrivere il file esistente" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: limitato: impossibile redirigere l'output" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "impossibile creare un file temporaneo per here-document: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: impossibile assegnare fd a una variabile" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port non supportata senza rete" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "errore di reindirizzamento: impossibile duplicare fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "impossibile trovare /tmp, è necessario crearla" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp deve essere un nome di directory valido" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: opzione non valida" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "impossibile reimpostare il modo nodelay per fd %d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "impossibile reimpostare il modo nodelay per fd %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: è una directory" + +#: shell.c:1777 msgid "I have no name!" msgstr "Manca il nome" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, versione %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1571,44 +1677,54 @@ msgstr "" "Uso:\t%s [opzione lunga GNU] [opzione] ...\n" "\t%s [opzione lunga GNU] [opzione] file-script ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Opzioni lunghe GNU:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Opzioni di shell:\n" -#: shell.c:1835 +#: shell.c:1938 #, fuzzy msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-irsD o -c comando o -O opzione_shopt\t\t(solo invocazione)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\topzione -%s oppure -o\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Digitare «%s -c \"help set\"» per ulteriori informazioni sulle opzioni di " "shell.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Digitare \"%s -c help\" per ulteriori informazioni sui comandi interni di " "shell.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Usare il comando \"bashbug\" per segnalare i bug.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: operazione non valida" @@ -1782,77 +1898,92 @@ msgstr "Numero di segnale sconosciuto" msgid "Unknown Signal #%d" msgstr "Segnale sconosciuto n° %d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "sostituzione errata: nessuna chiusura di \"%s\" in %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: impossibile assegnare una lista a un membro di un array" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "impossibile creare una pipe per la sostituzione del processo" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "impossibile creare un figlio per la sostituzione del processo" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "impossibile aprire la pipe con nome %s in lettura" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "impossibile aprire la pipe con nome %s in scrittura" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "impossibile duplicare una pipe con nome %s come fd %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "sostituzione errata: manca «\"» di chiusura in %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "impossibile creare una pipe per la sostituzione del comando" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "impossibile creare un figlio per la sostituzione del comando" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: impossibile duplicare la pipe come fd 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, fuzzy, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: %s: valore non valido per il descrittore del file di traccia" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: sostituzione errata" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: numero di righe non valido" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "\"%s\": nome alias non valido" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parametro nullo o non impostato" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: expressione di sottostringa < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: sostituzione errata" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: impossibile assegnare in questo modo" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1860,12 +1991,12 @@ msgstr "" "le versioni future della shell forzeranno la valutazione come fosse una " "sostituzione aritmetica" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "sostituzione errata: manca «\"» di chiusura in %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "nessuna corrispondenza: %s" @@ -1879,39 +2010,39 @@ msgstr "atteso argomento" msgid "%s: integer expression expected" msgstr "%s: attesa espressione intera" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "atteso \")\"" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "atteso \")\", trovato %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: atteso operatore unario" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: atteso operatore binario" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "\"]\" mancante" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "numero di segnale non valido" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: valore errato in trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1919,88 +2050,88 @@ msgstr "" "run_pending_traps: il gestore dei segnali è SIG_DFL, viene inviato " "nuovamente %d (%s)" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: segnale errato %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "errore nell'importazione della definizione di funzione per \"%s\"" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "livello di shell (%d) troppo alto, reimpostato a 1" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%s: %s: valore non valido per il descrittore del file di traccia" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: nessun contesto di funzione nell'ambito corrente" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "%s: impossibile assegnare fd a una variabile" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: %s: valore non valido per il descrittore del file di traccia" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: nessun contesto di funzione nell'ambito corrente" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s ha exportstr null" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "carattere non valido %d in exportstr per %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "nessun \"=\" in exportstr per %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" "pop_var_context: la prima parte di shell_variables non è un contesto di " "funzione" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: nessun contesto global_variables" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: la prima parte di shell_variables non è un ambito temporaneo " "d'ambiente" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: impossibile aprire come FILE" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: valore non valido per il descrittore del file di traccia" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s fuori dall'intervallo" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "Copyright © 2011 Free Software Foundation, Inc." #: version.c:47 version2.c:47 @@ -2026,11 +2157,6 @@ msgstr "Questo è software libero; è possibile modificarlo e ridistribuirlo.\ msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Non c'è ALCUNA GARANZIA, nei limiti permessi dalla legge.\n" -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright © 2011 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2051,15 +2177,15 @@ msgstr "%s: %s:%d: impossibile allocare %lu byte (%lu byte allocati)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: impossibile allocare %lu byte" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [nome[=valore] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] nome [nome ...]" -#: builtins.c:51 +#: builtins.c:53 #, fuzzy msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" @@ -2069,113 +2195,102 @@ msgstr "" "seqtasti] [-x seqtasti:comando-shell] [seqtasti:funzione-readline o comando-" "readline]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [comandoint-shell [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [espr]" -#: builtins.c:64 +#: builtins.c:66 #, fuzzy msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]]] [dir]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "vero" - -#: builtins.c:72 -msgid "false" -msgstr "falso" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] comando [arg ...]" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilrtux] [-p] [nome[=valore] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +#: builtins.c:80 +#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-aAfFgilrtux] [-p] nome[=valore] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [opzione] nome[=valore] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f nome_file] [nome ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts stringaopz nome [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a nome] [comando [argomenti ...]] [redirezione ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e ename] [-lnr] [primo] [ultimo] oppure fc -s [pat=rep] [comando]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [spec_job]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [spec_job ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p nomepercorso] [-dt] [nome ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [modello ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2183,15 +2298,16 @@ msgstr "" "history [-c] [-d posiz] [n] oppure history -anrw [nomefile] oppure history -" "ps arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [specjob ...] oppure jobs -x comando [argomenti]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [specjob ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2199,11 +2315,11 @@ msgstr "" "kill [-s specsegn | -n numsegn | -specsegn] pid | specjob ... oppure kill -l " "[specsegn]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2211,103 +2327,99 @@ msgstr "" "read [-ers] [-a array] [-d delim] [-i testo] [-n ncaratt] [-N ncaratt] [-p " "stringa] [-t secondi] [-u fd] [nome ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o nome-opzione] [--] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [nome ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [nome[=valore] ...] oppure export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [nome[=valore] ...] oppure readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source nomefile [argomenti]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". nomefile [argomenti]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [espr]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] spec_segnale ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] nome [nome ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "ulimit [-SHacdefilmnpqrstuvx] [limite]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [modo]" -#: builtins.c:175 +#: builtins.c:177 #, fuzzy msgid "wait [-n] [id ...]" msgstr "wait [id]" -#: builtins.c:179 +#: builtins.c:181 #, fuzzy msgid "wait [pid ...]" msgstr "wait [id]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NOME [in PAROLE ... ] ; do COMANDI; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( espr1; espr2; espr3 )); do COMANDI; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NOME [in PAROLE ... ;] do COMANDI; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] pipeline" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case PAROLA in [MODELLO [| MODELLO]...) COMANDI ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2315,63 +2427,63 @@ msgstr "" "if COMANDI; then COMANDI; [ elif COMANDI; then COMANDI; ]... [ else " "COMANDI; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while COMANDI; do COMANDI; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until COMANDI; do COMANDI; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NOME] comando [redirezioni]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function name { COMANDI ; } oppure name () { COMANDI ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ COMANDI ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "spec_job [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( espressione ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ espressione ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variabili - nomi e significati di alcune variabili di shell" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | dir]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [nomeopz ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] formato [argomenti]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2381,28 +2493,30 @@ msgstr "" "W elencoparole] [-F funzione] [-C comando] [-X modfiltro] [-P prefisso] [-S " "suffisso] [nome ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o opzione] [-A azione] [-G modglob] [-W " "elencoparole] [-F funzione] [-C comando] [-X modfiltro] [-P prefisso] [-S " "suffisso] [parola]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o opzione] [-DE] [nome ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" "mapfile [-n numero] [-O origine] [-s numero] [-t] [-u fd] [-C callback] [-c " "quantità] [array]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2410,7 +2524,8 @@ msgstr "" "readarray [-n numero] [-O origine] [-s numero] [-t] [-u fd] [-C callback] [-" "c quantità] [array]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2422,7 +2537,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2448,12 +2563,13 @@ msgstr "" "quale\n" " non sia stato definito alcun alias." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2464,7 +2580,7 @@ msgstr "" " \n" " Restituisce successo a meno che NOME non sia un alias esistente." -#: builtins.c:289 +#: builtins.c:291 #, fuzzy msgid "" "Set Readline key bindings and variables.\n" @@ -2499,7 +2615,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2550,7 +2667,7 @@ msgstr "" " bind restituisce 0 a meno che non sia fornita una opzione non " "riconosciuta o si riscontri un errore." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2569,7 +2686,7 @@ msgstr "" " Stato di uscita:\n" " Lo stato di uscita è 0 a meno che N non sia maggiore o uguale a 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2587,7 +2704,7 @@ msgstr "" " Stato di uscita:\n" " Lo stato di uscita è 0 a meno che N non sia maggiore o uguale a 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2614,7 +2731,7 @@ msgstr "" "COMINTERNO-SHELL\n" " non è un comando interno di shell." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2645,7 +2762,7 @@ msgstr "" "che l'ESPR\n" " non sia valida." -#: builtins.c:385 +#: builtins.c:387 #, fuzzy msgid "" "Change the shell working directory.\n" @@ -2669,16 +2786,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2727,13 +2844,14 @@ msgstr "" "successo quando\n" " viene usato -P; altrimenti un valore diverso da zero." -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2757,7 +2875,7 @@ msgstr "" "la\n" " directory corrente non possa essere letta." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2773,7 +2891,7 @@ msgstr "" " Stato di uscita:\n" " ha sempre successo." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2785,7 +2903,7 @@ msgstr "" " Stato di uscita:\n" " ha sempre successo." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2797,7 +2915,8 @@ msgstr "" " Stato di uscita:\n" " Sempre un insuccesso." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2807,10 +2926,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2835,7 +2954,7 @@ msgstr "" " Restituisce lo stato di uscita del COMANDO o insuccesso se il COMANDO " "non viene trovato." -#: builtins.c:487 +#: builtins.c:490 #, fuzzy msgid "" "Set variable values and attributes.\n" @@ -2846,9 +2965,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2916,17 +3035,18 @@ msgstr "" " Restituisce successo a meno che non sia fornita una opzione non valida o " "si riscontri un errore." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Imposta valori e attributi di variabile.\n" " \n" " Obsoleto. Vedere \"help declare\"." -#: builtins.c:535 +#: builtins.c:538 #, fuzzy msgid "" "Define local variables.\n" @@ -2957,7 +3077,7 @@ msgstr "" "non si\n" " riscontri un errore o la shell non stia eseguendo una funzione." -#: builtins.c:552 +#: builtins.c:555 #, fuzzy msgid "" "Write arguments to the standard output.\n" @@ -2984,9 +3104,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -3024,7 +3144,7 @@ msgstr "" " Restituisce successo a meno che non venga riscontrato un errore di " "scrittura." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3047,7 +3167,7 @@ msgstr "" " Restituisce successo a meno che non venga riscontrato un errore di " "scrittura." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3103,7 +3223,7 @@ msgstr "" " Restituisce successo a meno che NOME non sia un comando interno di shell " "o si riscontri un errore." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3123,7 +3243,7 @@ msgstr "" " Restituisce lo stato di uscita del comando o successo se il comando è " "nullo." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3214,7 +3334,8 @@ msgstr "" "raggiunta\n" " la fine delle opzioni o viene riscontrato un errore." -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -3225,8 +3346,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3257,7 +3378,7 @@ msgstr "" " Restituisce successo a meno che non sia trovato il COMANDO o si " "riscontri un errore di ridirezione." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3269,7 +3390,7 @@ msgstr "" " Esce dalla shell con uno stato N. Se N è omesso lo stato di uscita\n" " è quello dell'ultimo comando eseguito." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3283,7 +3404,7 @@ msgstr "" "se non eseguito\n" " in una shell di login." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3343,7 +3464,7 @@ msgstr "" " Restituisce successo o lo stato del comando eseguito, non zero se si " "riscontra un errore." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3364,7 +3485,7 @@ msgstr "" " Stato del comando messo in primo piano, o insuccesso se si riscontra un " "errore." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3389,7 +3510,7 @@ msgstr "" " Restituisce successo a meno che il controllo dei job non sia abilitato o " "si riscontri un errore." -#: builtins.c:784 +#: builtins.c:787 #, fuzzy msgid "" "Remember or display program locations.\n" @@ -3399,15 +3520,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3437,7 +3558,8 @@ msgstr "" " Restituisce successo a meno che non sia trovato NOME o sia fornita una " "opzione non valida." -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3449,7 +3571,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3480,7 +3602,8 @@ msgstr "" " Restituisce successo a meno che non venga trovato il MODELLO o sia " "fornita una opzione non valida." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3489,23 +3612,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3554,7 +3677,7 @@ msgstr "" " Restituisce successo a meno che non sia fornita una opzione non valida o " "si riscontri un errore." -#: builtins.c:869 +#: builtins.c:872 #, fuzzy msgid "" "Display status of jobs.\n" @@ -3565,7 +3688,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3602,7 +3725,8 @@ msgstr "" "si riscontri un errore.\n" " Se viene usato -x, restituisce lo stato di uscita del COMANDO." -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3612,7 +3736,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3635,7 +3759,8 @@ msgstr "" " Restituisce successo a meno che non venga fornita una opzione non valida " "o uno SPECJOB." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3647,7 +3772,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3680,7 +3806,7 @@ msgstr "" " Restituisce successo a meno che non sia fornita una opzione non valida o " "si riscontri un errore." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3775,7 +3901,7 @@ msgstr "" " Se l'ultimo ARG viene valutato pari a 0 restituisce 1, altrimenti " "restituisce 0." -#: builtins.c:983 +#: builtins.c:987 #, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" @@ -3797,27 +3923,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3879,7 +4006,7 @@ msgstr "" "timeout in lettura\n" " o venga fornito un descrittore di file non valido come argomento per -u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3901,7 +4028,7 @@ msgstr "" " Restituisce N, oppure insuccesso se la shell non sta eseguendo una " "funzione o uno script." -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3970,7 +4097,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -4086,7 +4214,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce successo a meno che non venga fornita una opzione non valida." -#: builtins.c:1126 +#: builtins.c:1132 #, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" @@ -4097,7 +4225,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4127,7 +4255,7 @@ msgstr "" " Restituisce successo a meno che non sia fornita una opzione non valida o " "NOME sia in sola lettura." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4163,7 +4291,7 @@ msgstr "" " Restituisce successo a meno che non sia fornita una opzione non valida o " "il NOME non sia valido." -#: builtins.c:1167 +#: builtins.c:1173 #, fuzzy msgid "" "Mark shell variables as unchangeable.\n" @@ -4176,9 +4304,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4204,7 +4331,7 @@ msgstr "" " Restituisce successo a meno che non venga fornita una opzione non valida " "o NOME non sia valido." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4222,7 +4349,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce successo a meno che N non sia negativo o maggiore di $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4247,7 +4374,7 @@ msgstr "" "insuccesso se\n" " il NOMEFILE non può essere letto." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4273,7 +4400,7 @@ msgstr "" " Restituisce successo a meno che non sia abilitato il controllo job o si " "riscontri un errore." -#: builtins.c:1248 +#: builtins.c:1254 #, fuzzy msgid "" "Evaluate conditional expression.\n" @@ -4338,9 +4465,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4443,7 +4570,7 @@ msgstr "" "viene valutata\n" " falsa o viene fornito un argomento non valido." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4456,7 +4583,7 @@ msgstr "" "deve\n" " essere un \"]\" letterale per corrispondere al \"[\" di apertura." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4476,7 +4603,7 @@ msgstr "" " Stato di uscita:\n" " Sempre successo." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4562,7 +4689,8 @@ msgstr "" " Restituisce successo a meno che SPEC_SEGNALE non sia valido o si " "fornisca una opzione non valida." -#: builtins.c:1386 +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -4571,18 +4699,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4624,7 +4752,7 @@ msgstr "" " Restituisce successo se tutti i NOMI vengono trovati; insuccesso in caso " "contrario." -#: builtins.c:1417 +#: builtins.c:1424 #, fuzzy msgid "" "Modify shell resource limits.\n" @@ -4643,6 +4771,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4654,7 +4783,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4718,7 +4848,7 @@ msgstr "" " Restituisce successo a meno che non venga fornita una opzione non valida " "o venga riscontrato un errore." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4755,7 +4885,7 @@ msgstr "" " Restituisce successo a meno che MODO non sia valido o venga fornita una " "opzione non valida." -#: builtins.c:1485 +#: builtins.c:1494 #, fuzzy msgid "" "Wait for job completion and return exit status.\n" @@ -4791,7 +4921,7 @@ msgstr "" "fornita una\n" " opzione non valida." -#: builtins.c:1506 +#: builtins.c:1515 #, fuzzy msgid "" "Wait for process completion and return exit status.\n" @@ -4819,7 +4949,7 @@ msgstr "" "fornita una opzione non\n" " valida." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4844,7 +4974,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce lo stato dell'ultimo comando eseguito." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4875,7 +5005,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce lo stato dell'ultimo comando eseguito." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4913,7 +5043,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce lo stato di uscita dell'ultimo comando eseguito." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4942,7 +5072,7 @@ msgstr "" " Stato di uscita:\n" " Viene restituito lo stato della PIPELINE." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4961,7 +5091,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce lo stato dell'ultimo comando eseguito." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -5000,7 +5130,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce lo stato dell'ultimo comando eseguito." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -5018,7 +5148,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce lo stato dell'ultimo comando eseguito." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -5036,7 +5166,8 @@ msgstr "" " Stato di uscita:\n" " Restituisce lo stato dell'ultimo comando eseguito." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -5046,7 +5177,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Crea un coprocesso chiamato NOME.\n" " \n" @@ -5061,7 +5192,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce lo stato di uscita del COMANDO." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -5087,7 +5218,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce successo a meno che il NOME non sia in sola lettura." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -5106,7 +5237,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce lo stato dell'ultimo comando eseguito." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -5130,7 +5261,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce lo stato del job ripristinato." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -5148,7 +5279,7 @@ msgstr "" " Stato di uscita:\n" " Restituisce 1 se ESPRESSIONE è valutata 0, altrimenti restituisce 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5205,7 +5336,7 @@ msgstr "" " Stato di uscita:\n" " 0 o 1 a seconda del valore dell'ESPRESSIONE." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5333,7 +5464,8 @@ msgstr "" "decidere quale\n" " \t\tcomando dovrebbe essere salvato nell'elenco della cronologia.\n" -#: builtins.c:1794 +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -5343,19 +5475,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5392,7 +5524,8 @@ msgstr "" "non abbia\n" " successo il cambio di directory." -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -5401,16 +5534,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5443,7 +5576,8 @@ msgstr "" "valido o non\n" " abbia successo il cambio di directory." -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -5454,19 +5588,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5496,7 +5630,7 @@ msgstr "" " Restituisce successo a meno che non sia fornita un'opzione non valida o " "si riscontri un errore." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5537,7 +5671,7 @@ msgstr "" "fornita\n" " una opzione non valida o NOMEOPZ è disabilitato." -#: builtins.c:1908 +#: builtins.c:1919 #, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" @@ -5555,15 +5689,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5607,7 +5741,8 @@ msgstr "" "o si riscontri\n" " un errore di scrittura o assegnazione." -#: builtins.c:1942 +#: builtins.c:1953 +#, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5620,11 +5755,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5662,7 +5797,7 @@ msgstr "" " Restituisce successo a meno che non sia fornita una opzione non valida o " "si riscontri un errore." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5686,7 +5821,7 @@ msgstr "" " Restituisce successo a meno che non sia fornita una opzione non valida o " "si riscontri un errore." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5750,7 +5885,8 @@ msgstr "" "o NOME non\n" " abbia una specifica di completamento definita." -#: builtins.c:2015 +#: builtins.c:2026 +#, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5761,20 +5897,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5829,7 +5966,7 @@ msgstr "" "valida, ARRAY sia\n" " in sola lettura oppure non indicizzato." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5839,6 +5976,26 @@ msgstr "" " \n" " Sinonimo per \"mapfile\"." +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright © 2011 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "vero" + +#~ msgid "false" +#~ msgstr "falso" + +#~ msgid "times" +#~ msgstr "times" + +#, fuzzy +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright © 2011 Free Software Foundation, Inc." + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Copyright © 2009 Free Software Foundation, Inc.\n" diff --git a/po/ja.gmo b/po/ja.gmo index cd8526d43..3f5a091a3 100644 Binary files a/po/ja.gmo and b/po/ja.gmo differ diff --git a/po/ja.po b/po/ja.po index 080720aa0..171eadb34 100644 --- a/po/ja.po +++ b/po/ja.po @@ -2,87 +2,94 @@ # Copyright (C) 1999, 2010, 2011, 2013 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. # Kyoichi Ozaki , 2000. -# Yasuaki Taniguchi , 2011. # Takeshi Hamasaki , 2011, 2013. +# Yasuaki Taniguchi , 2011, 2014. msgid "" msgstr "" -"Project-Id-Version: GNU bash 4.2\n" +"Project-Id-Version: GNU bash 4.3-rc2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2013-03-12 19:44+0900\n" -"Last-Translator: Takeshi Hamasaki \n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2014-10-30 05:04+0100\n" +"Last-Translator: Yasuaki Taniguchi \n" "Language-Team: Japanese \n" -"Language: Japanese\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: Japanese\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 1.5.4\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "誤った配列の添字" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: インデックス配列から連想配列に変換することはできません" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: 無効な連想配列のキーです" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: 配列の添字に非数字を設定できません" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: 連想配列を設定するときには添字をつけなければいけません" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: %s を作成できません" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: コマンドのキーマップがありません" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: 最初の非空白類文字が `\"' ではありません" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "閉じる `%c' が %s にありません" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: 区切り文字コロン(:)がありません" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "中括弧展開: %s へメモリを割り当てられません" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" +"中括弧展開: failed to allocate memory for %d 要素のメモリの割り当てに失敗しま" +"した" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "" +msgstr "中括弧展開: `%s' へのメモリ割り当てに失敗しました" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "`%s': 無効なエイリアス名です" @@ -91,45 +98,45 @@ msgstr "`%s': 無効なエイリアス名です" msgid "line editing not enabled" msgstr "行編集が有効になっていません" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "`%s': 無効なキーマップ名です" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: %s を読み込めません" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "`%s': 割り当て解除できません" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "`%s': 不明な関数名です" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s はどのキーにも割り当てられていません。\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s は次を通して起動します " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "ループ回数" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "`for'、`while' または `until' ループでのみ意味があります" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -139,300 +146,329 @@ msgstr "" " \n" " EXPR が無い場合、次を返します " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME が設定されていません" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "引数が多すぎます" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "他のディレクトリはありません" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD が設定されていません" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "%d 行: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "警告: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: 使用法: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: オプションには引数が必要です" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: 数字の引数が必要です" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: 見つかりません" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: 無効なオプションです" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: 無効なオプション名です" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': 有効な識別子ではありません" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "無効な八進数です" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "無効な十六進数です" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "無効な数字です" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: 無効なシグナル指定です" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "`%s': pid または有効なジョブ指定ではありません" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: 読み取り専用の変数です" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s が範囲外です" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "引数" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s が範囲外です" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: そのようなジョブはありません" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: ジョブ制御が無効になっています" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "ジョブ制御が無効になっています" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: 制限されています" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "制限されています" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: シェルのビルトイン関数ではありません" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "書き込みエラー: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "ターミナル属性の設定時にエラーが発生しました : %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "ターミナル属性の取得時にエラーが発生しました : %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: カレントディレクトリの取得時にエラーが発生しました : %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: 曖昧なジョブ指定です" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: 無効なアクション名です" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: 補完指定がありません" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "警告: -F オプションは期待通りに動作しないかもしれません" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "警告: -C オプションは期待通りに動作しないかもしれません" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "補完機能は現在実行されていません" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "関数の中でのみ使用できます" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" -msgstr "" +msgstr "%s: 参照変数は配列であってはいけません" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" -msgstr "" +msgstr "%s: 自身を参照する名前参照変数は許可されていません" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: 循環名前参照です" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: 名前参照として無効な変数です" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "関数作成時に `-f' を使用できません" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: 読み取り専用関数です" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: この方法で配列変数を消去することはできません" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: 連想配列からインデックス配列に変換することはできません" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "動的ロードは利用できません" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "共有オブジェクト %s を開くことができません : %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "%s が共有オブジェクト %s に存在しません: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: 動的にロードされていません" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: 削除できません: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: ディレクトリです" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: 通常ファイルではありません" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: ファイルが大きすぎます" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: バイナリファイルを実行できません" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: 実行できません: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "ログアウト\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "ログインシェルではありません: `exit' を使用してください" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "停止しているジョブがあります。\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "動作中のジョブがあります。\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "コマンドが見つかりません" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "ヒストリ指定" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: 一時ファイルを開くことができません: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "カレント" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "ジョブ %d がジョブ制御なしで開始されました" @@ -451,23 +487,23 @@ msgstr "%s: オプションには引数が必要です -- %c\n" msgid "hashing disabled" msgstr "ハッシュが無効になっています" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: ハッシュテーブルが空です\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "hits\tcommand\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "キーワードに一致したシェルコマンド `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -475,12 +511,12 @@ msgstr "" "`%s' に一致するヘルプ項目がありません。`help help'、`man -k %s' または `info " "%s' を試してください" -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: 開くことができません: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -502,15 +538,20 @@ msgstr "" "味します。\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "-anrw を2つ以上一緒に使用することはできません" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "ヒストリ位置" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: 無効な引数です" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: ヒストリの展開に失敗しました" @@ -524,113 +565,113 @@ msgstr "%s: inlib が失敗しました" msgid "no other options allowed with `-x'" msgstr "`-x' は他のオプションを同時に使用できません" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: 引数はプロセスIDかジョブIDでなければいけません" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "不明なエラーです" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "式が予期されます" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: インデックス配列ではありません" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: 無効なファイル記述子指定です" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: 無効なファイル記述子: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: 無効な行数です" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: 無効な配列の原点です" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: コールバックの quantum が無効です" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "空の配列変数名です" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "配列変数のサポートが必要です" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "`%s': 書式指定文字がありません" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "`%c': 無効な時間書式指定です" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "`%c': 無効な書式指定文字です" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "警告: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "書式解析問題です: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "\\x 用の十六進数字がありません" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "\\%c 用のユニコード数値がありません" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "他のディレクトリはありません" -#: builtins/pushd.def:354 -#, fuzzy, c-format +#: builtins/pushd.def:360 +#, c-format msgid "%s: invalid argument" -msgstr "%s: limit の無効な引数です" +msgstr "%s: 無効な引数です" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "<カレントディレクトリがありません>" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "ディレクトリスタックが空です" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "ディレクトリスタックのインデックス" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -672,7 +713,7 @@ msgstr "" " -N\tオプションなしで起動された場合にリストの末尾から数えて\n" "\tN番目の要素を表示します。開始番号は0です。" -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -716,7 +757,7 @@ msgstr "" " \n" " `dirs' ビルトインコマンドでディレクトリスタックを表示します。" -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -754,143 +795,153 @@ msgstr "" " \n" " `dirs' ビルトインコマンドでディレクトリスタックを表示します。" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: 無効なタイムアウト指定です" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "読み込みエラー: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "`return' は関数または source されたスクリプト内のみで利用できます" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "変数と関数を同時に消去することはできません" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: 消去できません" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: 消去できません: %s は読み取り専用です" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: 配列変数ではありません" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: 関数ではありません" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: 消去できません" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "シフト回数" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "シェルオプションを同時に有効かつ無効にできません" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: 無効なシェルオプション名です" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "ファイル名が引数として必要です" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: ファイルが見つかりません" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "中断できません" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "ログインシェルを中断できません" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s は `%s' のエイリアスです\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s はシェルの予約語です\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s は関数です\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s はシェル組み込み関数です\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s はシェル組み込み関数です\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s は %s です\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s はハッシュされています (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: limit の無効な引数です" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': 誤ったコマンドです" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: limit を取得できません: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "limit" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: limit を変更できません : %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "八進数" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "`%c': 無効なシンボリックモード演算子です" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "`%c': 無効なシンボリックモード文字です" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " 行 " @@ -904,82 +955,103 @@ msgstr "最後のコマンド: %s\n" msgid "Aborting..." msgstr "中止しています..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "不明なコマンドエラーです" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "誤ったコマンドタイプです" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "誤った接続です" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "誤ったジャンプです" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: 未割り当ての変数です" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\a入力待ちがタイムアウトしました: 自動ログアウト\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "/dev/null から標準入力に対してリダイレクトできません: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: `%c': 無効な書式文字です" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "パイプエラー" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, fuzzy, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "%s: 関数の入れ子レベルの最大値を超えています (%d)" + +#: execute_cmd.c:4508 +#, fuzzy, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: 関数の入れ子レベルの最大値を超えています (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" -msgstr "" +msgstr "%s: 関数の入れ子レベルの最大値を超えています (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: 制限されています: `/' をコマンド名の中に指定できません" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: コマンドが見つかりません" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: 誤ったインタプリタです" -#: execute_cmd.c:5280 -#, fuzzy, c-format +#: execute_cmd.c:5545 +#, c-format msgid "%s: cannot execute binary file: %s" -msgstr "%s: バイナリファイルを実行できません" +msgstr "%s: バイナリファイルを実行できません: %s" -#: execute_cmd.c:5352 -#, fuzzy, c-format +#: execute_cmd.c:5623 +#, c-format msgid "`%s': is a special builtin" -msgstr "%s はシェル組み込み関数です\n" +msgstr "`%s': 特殊シェル組み込み関数です" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "fd %d を fd %d に複製できません" @@ -1024,37 +1096,37 @@ msgstr "識別子は前置インクリメントまたは前置デクリメント msgid "missing `)'" msgstr "`)' がありません" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "構文エラー: オペランドが予期されます" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "構文エラー: 無効な計算演算子です" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (エラーのあるトークンは \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "無効な基底の数値です" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "基底の値が大きすぎます" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: 式のエラー\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: 親ディレクトリにアクセスできません" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "ファイル記述子(fd) %d を無遅延モードに再設定できません" @@ -1069,148 +1141,148 @@ msgstr "新規ファイル記述子(fd) %d を bash の入力として割り当 msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: 新規 fd %d のバッファはすでに存在します" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "実行中のジョブ %2$d で fork した pid %1$d が出現しました" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "プロセスグループ %2$ld のジョブ %1$d を削除しています" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: プロセス %5ld (%s) が the_pipeline にあります" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) はまだ存在しているとマークされています" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: そのような pid は存在しません" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "シグナル %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "終了" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "停止" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "停止 (%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "実行中" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "終了(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "終了 %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "不明なステータス" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(コアダンプ) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "子プロセス setpgid (%ld から %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld はこのシェルの子プロセスではありません" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: プロセス %ld の記録がありません" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: ジョブ %d は停止しています" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: ジョブは終了しました" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: ジョブ %d はすでにバックグラウンドで動作しています" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: 不定のブロックを避けるために WNOHANG をオンにしました。" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: %d 行: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (コアダンプ)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd now: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp が失敗しました" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: line discipline" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "端末プロセスグループを設定できません (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "このシェルではジョブ制御が無効になっています" @@ -1264,17 +1336,17 @@ msgstr "realloc: アンダーフローを検出しました。 mh_nbytes が範 msgid "realloc: start and end chunk sizes differ" msgstr "realloc: 開始と終了の塊の大きさが異なっています" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: FIND_ALLOC で割り当てテーブルがいっぱいです\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p 既にテーブル上では割り当てられています\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p テーブル上では既に解放されています\n" @@ -1298,7 +1370,7 @@ msgstr "%s: 無効なサービスです" msgid "%s: bad network path specification" msgstr "%s: ネットワークパス指定に誤りがあります" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "ネットワーク操作はサポートされていません" @@ -1335,225 +1407,260 @@ msgstr "新しいメールが $_ にあります" msgid "The mail in %s has been read\n" msgstr "%s のメールは既読です\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "構文エラー: 数値の式が必要です" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "構文エラー: 予期しない `;' です" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "構文エラー: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: 誤った指定の種類 %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" "ヒアドキュメントの %d 行目でファイル終了 (EOF) に達しました (`%s' が必要)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: リダイレクト指定 `%d' は範囲外です" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "対応する `%c' を探索中に予期しないファイル終了 (EOF) です" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "`]]' を探索中に予期しないファイル終了 (EOF) です" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "条件式に構文エラー: 予期しないトークン `%s' です" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "条件式に構文エラーがあります" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "予期しないトークン `%s' です。`)' が予期されます" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "`)' が予期されます" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "条件単項演算子に予期しない引数 `%s' です" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "条件単項演算子に予期しない引数です" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "`%s` は予期しないトークンです。条件二項演算子が予期されます" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "条件二項演算子が予期されます" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "条件二項演算子に予期しない引数 `%s' です" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "条件二項演算子に予期しない引数です" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "条件コマンドに予期しないトークン `%c' があります" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "条件コマンドに予期しないトークン `%s' があります" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "条件コマンドに予期しないトークン %d があります" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "予期しないトークン `%s' 周辺に構文エラーがあります" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "`%s' 周辺に構文エラーがあります" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "構文エラー: 予期しないファイル終了 (EOF) です" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "構文エラー" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "シェルから脱出するには \"%s\" を使用してください。\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "対応する `)' を探索中に予期しないファイル終了(EOF)です" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: 関数 `%s' が見つかりません" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: 誤った接続 `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: 無効なファイル記述子です" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: NULL ファイルポインタです" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: `%c': 無効な書式文字です" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "ファイル記述子が範囲外です" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: 曖昧なリダイレクトです" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: 存在するファイルを上書きできません" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: 制限されています: 出力をリダイレクト出来ません" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "ヒアドキュメント用一時ファイルを作成できません: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: ファイル記述子 (fd) を変数に設定することはできません" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "ネットワークが無効な場合 /dev/(tcp|udp)/host/port はサポートされません" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "リダイレクトエラー: ファイル記述子を複製できません" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "/tmp が見つかりません。作成してください!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp は有効なディレクトリ名でなければいけません" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: 無効なオプション" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "ファイル記述子(fd) %d を無遅延モードに再設定できません" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "ファイル記述子(fd) %d を無遅延モードに再設定できません" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: ディレクトリです" + +#: shell.c:1777 msgid "I have no name!" msgstr "私は名前がありません!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, バージョン %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1562,41 +1669,50 @@ msgstr "" "使用法:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU 形式の長いオプション:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "シェルオプション:\n" -#: shell.c:1835 -#, fuzzy +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -msgstr "\t-irsD または -c command または -O shopt_option\t\t(起動時のみ)\n" +msgstr "\t-ilrsD, -c command または -O shopt_option\t\t(起動時のみ)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s または -o option\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "シェルオプションの詳細については `%s -c \"help set\"'と入力してください。\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "シェル組み込みコマンドについては `%s -c help' と入力してください。\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "バグ報告をする場合は `bashbug' コマンドを使用してください。\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: 無効な操作です" @@ -1770,88 +1886,103 @@ msgstr "不明なシグナル番号" msgid "Unknown Signal #%d" msgstr "不明なシグナル番号 %d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "誤った代入: 閉じる `%s' が %s に存在しません" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: リストを配列要素に割り当てできません" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "プロセス代入ではパイプを作成できません" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "プロセス代入では子プロセスを作成できません" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "名前付きパイプ %s を読み込み用に開けません" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "名前付きパイプ %s を書き込み用に開けません" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "名前付きパイプ %s をファイル記述子(fd) %d として複製できません" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "誤った代入: %s に閉じる \"`\" がありません" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "コマンド代入ではパイプを作成できません" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "コマンド代入では子プロセスを作成できません" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: パイプを fd 1 として複製できません" -#: subst.c:5837 subst.c:8050 -#, fuzzy, c-format +#: subst.c:6580 subst.c:8939 +#, c-format msgid "%s: invalid variable name for name reference" -msgstr "%s: %s: トレースファイル記述子として無効な値です" +msgstr "%s: 名前参照として無効な変数です" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: 誤った代入です" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: 無効な行数です" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "`%s': 無効なエイリアス名です" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: パラメータが null または設定されていません" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: substring expression < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: 誤った代入です" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: この方法で割当はできません" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "将来のバージョンのシェルでは強制的に数値代入として評価されます" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "誤った代入: %s に閉じる \"`\" がありません" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "一致しません: %s" @@ -1865,39 +1996,39 @@ msgstr "引数が予期されます" msgid "%s: integer expression expected" msgstr "%s: 整数の式が予期されます" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "`)' が予期されます" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "`)' が予期されますが、見つかったのは %s です" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: 単項演算子が予期されます" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: 二項演算子が予期されます" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "`]'がありません" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "無効なシグナル番号" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: trap_list[%d] に誤った値があります: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1905,86 +2036,86 @@ msgstr "" "run_pending_traps: シグナルハンドラーは SIG_DFLです。, %d (%s) を自身に再送し" "ます。" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: 誤ったシグナル %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "`%s' の関数定義をインポート中にエラーが発生しました" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "シェルレベル (%d) は高すぎます。1に再設定されました" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: 現在のスコープは関数コンテキストではありません" -#: variables.c:2247 -#, fuzzy, c-format +#: variables.c:2432 +#, c-format msgid "%s: variable may not be assigned value" -msgstr "%s: ファイル記述子 (fd) を変数に設定することはできません" +msgstr "%s: 変数が初期化されていないかもしれません" + +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: 名前参照として無効な変数です" -#: variables.c:3646 +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: 現在のスコープは関数コンテキストではありません" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s は null の exportstr を持っています" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "%2$s に対する exportstr で %1$d は無効な文字です" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "%s に対する exportstr に `=' がありません" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" "pop_var_context: shell_variables の先頭です。関数コンテキストではありません" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: global_variables コンテキストではありません" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: shell_variables の先頭です。一時環境スコープではありません" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: ファイルとして開くことができません" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: トレースファイル記述子として無効な値です" -#: variables.c:5307 -#, fuzzy, c-format +#: variables.c:5669 +#, c-format msgid "%s: %s: compatibility value out of range" -msgstr "%s: %s が範囲外です" +msgstr "%s: %s: 値の互換性が範囲外です" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright (C) 2011 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2013 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2000,19 +2131,12 @@ msgid "GNU bash, version %s (%s)\n" msgstr "GNU bash, バージョン %s (%s)\n" #: version.c:91 version2.c:91 -#, fuzzy msgid "This is free software; you are free to change and redistribute it." -msgstr "This is free software; you are free to change and redistribute it.\n" +msgstr "This is free software; you are free to change and redistribute it." #: version.c:92 version2.c:92 -#, fuzzy msgid "There is NO WARRANTY, to the extent permitted by law." -msgstr "There is NO WARRANTY, to the extent permitted by law.\n" - -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2011 Free Software Foundation, Inc." +msgstr "There is NO WARRANTY, to the extent permitted by law." #: xmalloc.c:91 #, c-format @@ -2034,130 +2158,116 @@ msgstr "%s: %s:%d: %lu バイトを割当できません (%lu バイトを割当 msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: %lu バイトを割当できません" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [name[=value] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] name [name ...]" -#: builtins.c:51 -#, fuzzy +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -"bind [-lpvsPVS] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" +"bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function または readline-command]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [shell-builtin [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [expr]" -#: builtins.c:64 -#, fuzzy +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-L|[-P [-e]]] [dir]" +msgstr "cd [-L|[-P [-e]] [-@]] [dir]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] command [arg ...]" -#: builtins.c:76 -#, fuzzy +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "declare [-aAfFgilrtux] [-p] [name[=value] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +#: builtins.c:80 +#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-aAfFgilrtux] [-p] name[=value] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [option] name[=value] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f filename] [name ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts optstring name [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e ename] [-lnr] [first] [last] または fc -s [pat=rep] [command]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [job_spec]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [job_spec ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p pathname] [-dt] [name ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [pattern ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2165,15 +2275,16 @@ msgstr "" "history [-c] [-d offset] [n] または history -anrw [filename] または history -" "ps arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [jobspec ...] または jobs -x command [args]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [jobspec ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2181,11 +2292,11 @@ msgstr "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... または kill -l " "[sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let 引数 [引数 ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2193,103 +2304,96 @@ msgstr "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -#: builtins.c:142 -#, fuzzy +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "unset [-f] [-v] [name ...]" +msgstr "unset [-f] [-v] [-n] [name ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [name[=value] ...] または export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [name[=value] ...] または readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source filename [arguments]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". filename [arguments]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [expr]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] signal_spec ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] name [name ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHacdefilmnpqrstuvx] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [mode]" -#: builtins.c:175 -#, fuzzy +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "wait [id]" +msgstr "wait [-n] [id ...]" -#: builtins.c:179 -#, fuzzy +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "wait [pid]" +msgstr "wait [pid ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NAME [in WORDS ... ] ; do COMMANDS; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( exp1; exp2; exp3 )); do COMMANDS; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NAME [in WORDS ... ;] do COMMANDS; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] pipeline" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2297,63 +2401,63 @@ msgstr "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while COMMANDS; do COMMANDS; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until COMMANDS; do COMMANDS; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NAME] command [redirections]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function name { COMMANDS ; } または name () { COMMANDS ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ COMMANDS ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( expression ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ expression ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "変数 - 変数の名前とその意味" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | dir]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [optname ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] format [arguments]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2363,27 +2467,29 @@ msgstr "" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o option] [-DE] [name ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" "mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2391,7 +2497,8 @@ msgstr "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2403,7 +2510,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2428,12 +2535,13 @@ msgstr "" " alias は与えられた名前でエイリアスが定義されなかった場合を除き true を返" "します。" -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2444,7 +2552,7 @@ msgstr "" " \n" " 名前がエイリアスに存在しない場合を除き true を返します。" -#: builtins.c:289 +#: builtins.c:291 #, fuzzy msgid "" "Set Readline key bindings and variables.\n" @@ -2479,49 +2587,54 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -"Readline のキーバインディングと変数を設定します。\n" +"Readline のキー割り当てと変数を設定します。\n" " \n" -" キーシーケンスを Readline 関数またはマクロに関連付けを行うか、Readline\n" +" キーシーケンスを Readline 関数またはマクロに割り当てを行うか、Readline\n" " 変数を設定します。オプションが無い引数の構文は ~/.inputrc の構文と\n" -" 同様です。しかし、単一の引数として与えなければなりません。\n" +" 同じです。しかし、単一の引数として与えなければなりません。\n" " 例: bind '\"\\C-x\\C-r\": re-read-init-file'\n" -" \n" +"\n" +" Options:\n" " オプション:\n" " -m keymap このコマンドの間のキーマップとして KEYMAP を使用す" "る。\n" -" 利用可能なキーマップは emacs, emacs-standard, emacs-" -"meta,\n" +" 利用可能なキーマップ名は emacs, emacs-standard, " +"emacs-meta,\n" " emacs-ctlx, vi, vi-move, vi-command, および vi-" -"insert。\n" -" -l 関数名一覧を表示します。\n" -" -P 関数名およびキーバインディング一覧を表示します。\n" -" -p 関数名とキーバインディングを入力として再利用可能な\n" -" 形式で一覧表示します。\n" +"insertです。\n" +" -l 関数名一覧を表示する。\n" +" -P 関数名およびキー割り当て一覧を表示する。\n" +" -p 入力として再利用可能な形式で、関数名とキー割り当てを" +"一覧\n" +" 表示する\n" " -S マクロを起動するキーシーケンスとその値を一覧表示す" "る\n" " -s 入力として再利用可能な形式で、マクロを起動する\n" " キーシーケンスとその値を一覧表示する\n" -" -V 変数名と値の一覧を表示します。\n" -" -v 変数名と値を入力として再利用可能な形式で一覧\n" -" 表示します。\n" -" -q function-name 関数名がどのキーによって起動されるか探索します\n" -" -u function-name 関数名にバインドされたすべてのキーを解除します。\n" -" -r keyseq KEYSEQ に対するバインドを解除します。\n" -" -f filename FILENAME からキーバインドを読み込みます。\n" +" -V 変数名と値の一覧を表示する\n" +" -v 入力として再利用可能な形式で、変数名と値を一覧\n" +" 表示する\n" +" -q function-name 関数名がどのキーによって起動されるか探索する\n" +" -u function-name 関数名にバインドされたすべてのキーを解除する\n" +" -r keyseq KEYSEQ に対する割り当てを解除する\n" +" -f filename FILENAME からキーバインドを読み込む\n" " -x keyseq:shell-command\tKEYSEQ が入力された時に SHELL-COMMAND \n" -" \t\t\t\tが実行されるようにします。\n" +" \t\t\t\tが実行されるようにする\n" +" -X\t\t 入力として再利用可能な形式で -x によって割り当て\n" +" られたキーシーケンスとコマンドを一覧表示する\n" " \n" " 終了ステータス:\n" " bind は解釈できないオプションが渡された場合およびエラーが発生した場合\n" " を除き 0 を返します。" -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2540,7 +2653,7 @@ msgstr "" " 終了ステータス:\n" " N が1未満の場合を除き、終了ステータスは 0 です。" -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2558,7 +2671,7 @@ msgstr "" " 終了ステータス:\n" " N が1未満の場合を除き、終了ステータスは 0 です。" -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2581,7 +2694,7 @@ msgstr "" " シェル組み込みコマンドの終了ステータスを返します。シェル組み込みコマ\n" " ンドが無い場合は false を返します。" -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2609,7 +2722,7 @@ msgstr "" " 終了ステータス:\n" " シェルが関数を実行できないか式 EXPR が無効な場合を除き 0 を返します。" -#: builtins.c:385 +#: builtins.c:387 #, fuzzy msgid "" "Change the shell working directory.\n" @@ -2633,16 +2746,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2662,9 +2775,9 @@ msgstr "" " 変数 CDPATH は DIR を含んでいる検索パスを定義します。CDPATH にはコロン" "(:)\n" " で区切られた代替ディレクトリ名を指定します。\n" -" NULL のディレクトリ名はカレントディレクトリと同義です。 DIR が\n" +" 値がないディレクトリ名はカレントディレクトリと同義です。 DIR が\n" " スラッシュ (/) から始まる場合は CDPATH は使用されません。\n" -"\n" +" \n" " ディレクトリが見つからなく、かつ `cdabl_vars' シェルオプションが設定され" "て\n" " いる場合、引数は変数名として扱われます。その変数に値がある場合、その値" @@ -2672,26 +2785,37 @@ msgstr "" " DIR として扱われます。\n" " \n" " オプション:\n" -" -L\tシンボリックリンクを強制的にたどります\n" -" -P\tシンボリックリンクをたどらず物理構造を利用します\n" +" -L\tシンボリックリンクを強制的にたどります: resolve symbolic links " +"in\n" +" DIR after processing instances of `..'\n" +" -P\tシンボリックリンクをたどらず物理構造を利用します: resolve\n" +" symbolic links in DIR before processing instances\n" +" \tof `..'\n" " -e\t-P オプションが与えられ、かつ、現在の作業ディレクトリが正しく\n" -" \t決定できない場合、終了ステータスが 0 以外で終了します\n" +" 決定できない場合、終了ステータスが 0 以外で終了します\n" +" -@ on systems that support it, present a file with extended " +"attributes\n" +" as a directory containing the file attributes\n" " \n" " デフォルトでは `-L' が指定された場合と同様シンボリックリンクをたどりま" -"す\n" +"す。\n" +" `..' is processed by removing the immediately previous pathname " +"component\n" +" back to a slash or the beginning of DIR.\n" " \n" " 終了ステータス:\n" " ディレクトリを変更した場合、および -P が使用されている時に $PWD が正し" "く\n" " 設定された場合は 0、それ以外は 0 以外の値です。" -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2713,7 +2837,7 @@ msgstr "" " 無効なオプションまたはカレントディレクトリを読み込めない場合を除き\n" " 0を返します。" -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2729,7 +2853,7 @@ msgstr "" " 終了ステータス:\n" " 常に成功です。" -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2741,7 +2865,7 @@ msgstr "" " 終了ステータス:\n" " 常に成功です。" -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2753,7 +2877,8 @@ msgstr "" " 終了ステータス:\n" " 常に失敗です。" -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2763,10 +2888,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2787,7 +2912,7 @@ msgstr "" " COMMAND の終了ステータスを返します。または COMMAND が見つからない時に失敗" "を返します。" -#: builtins.c:487 +#: builtins.c:490 #, fuzzy msgid "" "Set variable values and attributes.\n" @@ -2798,9 +2923,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2833,7 +2958,7 @@ msgstr "" " すべての変数に関する属性と値を表示します。\n" " \n" " オプション:\n" -" -f\t関数名と関数定義になるように動作と表示を制限する\n" +" -f\t関数名と関数定義に表示を制限する\n" " -F\t関数名のみ表示するように制限する (デバッグ中は行番号と\n" " \tソースファイルも追加される)\n" " -g\tシェル関数内で使用された時に大域変数を作成する。それ以\n" @@ -2845,6 +2970,7 @@ msgstr "" " -A\tNAME を連想配列にする(サポートされている場合)\n" " -i\tNAME に`整数型'の属性を設定する\n" " -l\tNAME の設定時に値を小文字に変換する\n" +" -n\tNAME の値が変数名の参照となるようにする\n" " -r\tNAME を読み取り専用にする\n" " -t\tNAME に `trace' 属性を設定する\n" " -u\tNAME 設定時に値を大文字に設定する\n" @@ -2854,7 +2980,7 @@ msgstr "" " \n" " 整数属性を与えられた変数は値を割り当てられた時に、数値として評価され\n" " ます。(`let' コマンド参照してください。)\n" -" \n" +"\n" " 関数内で使用された場合は `local' コマンドを使用した時と同様に " "`declare' \n" " は NAME をローカル変数にします。`-g' オプションはこの動作を抑止します。\n" @@ -2862,18 +2988,18 @@ msgstr "" " 終了ステータス:\n" " 無効なオプションが与えられたかエラーが発生しない限り成功を返します。" -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "変数の値および属性を設定します。\n" " \n" " 旧式です。`help declare'を参照してください。" -#: builtins.c:535 -#, fuzzy +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2889,20 +3015,19 @@ msgid "" msgstr "" "ローカル変数を定義します。\n" " \n" -" NAME という名前のローカル変数を定義し値を VALUE に設定します。" -"`declare'と\n" -" 同じオプションを受け付けます。\n" +" NAME という名前のローカル変数を定義し値を VALUE に設定します。OPTION は\n" +" `declare'と同じすべてのオプションを受け付けます。\n" " \n" -" ローカル変数はシェル関数の中でのみ使用できます。宣言された関数の中および" -"そこ\n" -" から呼び出された関数のみで参照できます。\n" +" 局所変数はシェル関数の中でのみ使用できます。宣言された関数の中およびそ" +"の\n" +" 子関数のみで参照できます。\n" " \n" " 終了ステータス:\n" " 無効なオプションが与えられる、エラーが発生する、またはシェルが関数を実行" "できない\n" " 場合を除き成功を返します。" -#: builtins.c:552 +#: builtins.c:555 #, fuzzy msgid "" "Write arguments to the standard output.\n" @@ -2929,16 +3054,17 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" "引数を標準出力に書き出します。\n" " \n" -" 引数 ARG を最後に改行を加えて標準出力に表示します。\n" +" 引数 ARG を単一空白文字で区切り、最後に改行を加えて標準出力に表示しま" +"す。\n" " \n" " オプション:\n" " -n\t最後に改行を加えない\n" @@ -2950,6 +3076,7 @@ msgstr "" " \\b\tバックスペース\n" " \\c\t以降の出力を抑止\n" " \\e\tエスケープ文字\n" +" \\E\tエスケープ文字\n" " \\f\tフォームフィード\n" " \\n\t改行\n" " \\r\tキャリッジリターン\n" @@ -2958,11 +3085,11 @@ msgstr "" " \\\\\tバックスラッシュ\n" " \\0nnn\tASCII コードが NNN (8進数) の文字。 NNN は0から3個の8進数字\n" " \\xHH\t値が HH (16進数) の8ビット文字。HH は 1 または2個の16進数字\n" -" \n" +"\n" " 終了ステータス:\n" " 書き込みエラーが発生しない限り成功を返します。" -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2984,7 +3111,7 @@ msgstr "" " 終了ステータス:\n" " 書き込みエラーが発生しない限り成功を返します。" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3036,7 +3163,7 @@ msgstr "" " 終了ステータス:\n" " NAME が組み込み関数ではないかエラーが発生しない限り成功を返します。" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3056,7 +3183,7 @@ msgstr "" " コマンドの終了ステータスを返します。コマンドが null の場合は成功を\n" " 返します。" -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3133,7 +3260,8 @@ msgstr "" " オプションが見つかった場合に成功を返します。オプションの終わり\n" " に到達するかエラーが発生した時に失敗を返します。" -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -3144,8 +3272,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3175,7 +3303,7 @@ msgstr "" " COMMAND が見つからないかリダイレクトエラーが発生しない限り成功を返しま" "す。" -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3187,7 +3315,7 @@ msgstr "" " 終了ステータス N でシェルを終了します。 N を指定しない場合は\n" " 最後に実行したコマンドの終了ステータスになります。" -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3201,7 +3329,7 @@ msgstr "" "ル\n" " 内で無い場合はエラーを返します。" -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3261,7 +3389,7 @@ msgstr "" "0 \n" " 以外の値になります。" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3286,7 +3414,7 @@ msgstr "" "が\n" " 発生した時に失敗を返します。" -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3310,7 +3438,7 @@ msgstr "" " 終了ステータス:\n" " ジョブ制御が有効になっていないかエラーが発生しない限り成功を返します。" -#: builtins.c:784 +#: builtins.c:787 #, fuzzy msgid "" "Remember or display program locations.\n" @@ -3320,15 +3448,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3354,7 +3482,8 @@ msgstr "" " 終了ステータス:\n" " NAME が見つからないか、無効なオプションが与えられない限り成功を返します。" -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3366,7 +3495,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3394,7 +3523,8 @@ msgstr "" " PATTERN が見つからないか無効なオプションが与えられない限り成功を返しま" "す。" -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3403,23 +3533,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3460,7 +3590,7 @@ msgstr "" " 終了ステータス:\n" " 無効なオプションが与えられるかエラーが発生しない限り成功を返します。" -#: builtins.c:869 +#: builtins.c:872 #, fuzzy msgid "" "Display status of jobs.\n" @@ -3471,7 +3601,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3507,7 +3637,8 @@ msgstr "" " 無効なオプションが与えられるかエラーが発生しない限り成功を返します。\n" " もし -x が使用された場合、COMMAND の終了ステータスを返します。" -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3517,7 +3648,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3539,7 +3670,8 @@ msgstr "" " 終了ステータス:\n" " 無効なオプションか JOBSPEC が与えられない限り成功を返します。" -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3551,7 +3683,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3583,7 +3716,7 @@ msgstr "" " 終了ステータス:\n" " 無効なオプションが与えられるかエラーが発生しない限り成功を返します。" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3668,7 +3801,7 @@ msgstr "" " ARG の最終的な評価値が 0 の場合 let は 1 を返します。それ以外の場合は\n" " let は 0 を返します。" -#: builtins.c:983 +#: builtins.c:987 #, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" @@ -3690,27 +3823,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3755,17 +3889,18 @@ msgstr "" " -t timeout\tTIMEOUT 秒以内に入力行が完全に読み込まれなかった場合\n" " \t\tタイムアウトを発生させ失敗として復帰します。TMOUT 変数の値が\n" " \t\tデフォルトのタイムアウトです。TIMEOUT を小数にすることもでき\n" -" \t\tます。もし TIMEOUT が 0 の場合、指定したファイル記述子からの\n" -" \t\t入力が使用可能な場合にのみ読み込み、成功返します。タイムアウ\n" -" \t\tト発生時の終了ステータスは128より大きくなります\n" +" \t\tます。もし TIMEOUT が 0 の場合、read は何のデータも読み込ま\n" +" \t\tずに直ちに終了し、指定したファイル記述子で入力が使用可能な場\n" +" \t\t合のみ成功返します。タイムアウト発生時の終了ステータスは128\n" +" \t\tより大きくなります\n" " -u fd\t\t読み込みに標準入力ではなくファイル記述子 FD を使用します\n" " \n" " 終了ステータス:\n" -" ファイル終了(EOF)、読み込みタイムアウト、-u に無効なファイル記述子が与" -"え\n" -" られた場合を除き0を返します。" +" ファイル終了(EOF)、読み込みタイムアウト(この場合は128以上)、変数への代入" +"エ\n" +" ラーが発生、 -u に無効なファイル記述子が与えられた場合を除き0を返します。" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3789,7 +3924,7 @@ msgstr "" "を\n" " 返します。" -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3858,7 +3993,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3954,7 +4090,7 @@ msgstr "" " 終了ステータス:\n" " 無効なオプションが与えられない限り成功を返します。" -#: builtins.c:1126 +#: builtins.c:1132 #, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" @@ -3965,7 +4101,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3981,8 +4117,10 @@ msgstr "" " 各 NAMEに対して関連する値または関数を削除します。\n" " \n" " オプション:\n" -" -f\t各 NAME をシェル関数として扱います\n" -" -v\t各 NAME をシェル変数として扱います\n" +" -f\t各 NAME をシェル関数として扱う\n" +" -v\t各 NAME をシェル変数として扱う\n" +" -n\t各 NAME を名前参照として扱い、変数自身を消去する。参照として\n" +"\t\t評価はしない。 \n" " \n" " オプションが無い場合、最初に変数を消去しようと試みます。失敗した場合に" "は\n" @@ -3994,7 +4132,7 @@ msgstr "" " 無効なオプションが与えられるか NAME が読み取り専用の場合を除き成功を返し" "ます。" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4029,7 +4167,7 @@ msgstr "" " 無効なオプションが与えられるか、無効な NAME が与えられない限り成功\n" " を返します。" -#: builtins.c:1167 +#: builtins.c:1173 #, fuzzy msgid "" "Mark shell variables as unchangeable.\n" @@ -4042,9 +4180,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4061,7 +4198,8 @@ msgstr "" " -a\tインデックス型配列変数を示します\n" " -A\t連想配列変数を示します\n" " -f\tシェル関数を示します\n" -" -p\t全ての読み取り専用変数・関数の一覧を表示します\n" +" -p\t全ての読み取り専用変数・関数の一覧を表示します。-fオプシ\n" +"\t\t ョンがあるかないかで動作が変わります。\n" " \n" " 引数 `--' は以降のオプション処理を無効にします\n" " \n" @@ -4069,7 +4207,7 @@ msgstr "" " 無効なオプションが与えられるか、与えられた NAME が無効な場合を除き成功\n" " を返します。" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4087,7 +4225,7 @@ msgstr "" " 終了ステータス:\n" " Nが負の値または $# より大きい場合を除き成功を返します。" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4111,7 +4249,7 @@ msgstr "" " FILENAME で最後に実行したコマンドのステータスを返します。FILENAME が\n" " 読み込めなかった場合は失敗を返します。" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4135,7 +4273,7 @@ msgstr "" " 終了ステータス:\n" " ジョブ制御が有効でないかエラーが発生しない限り成功を返します。" -#: builtins.c:1248 +#: builtins.c:1254 #, fuzzy msgid "" "Evaluate conditional expression.\n" @@ -4200,9 +4338,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4279,6 +4417,7 @@ msgstr "" " \n" " -o OPTION シェルオプション OPTION が有効な時に真(true)\n" " -v VAR シェル変数 VAR が設定されている時に真(true)\n" +" -R VAR シェル変数 VAR が設定され、名前参照の時に真(true)\n" " ! EXPR 式 expr が偽(fales)の時に真(true)\n" " EXPR1 -a EXPR2 式 expr1 および expr2 の両方とも真(true)の時に真(true)\n" " EXPR1 -o EXPR2 式 expr1 または expr2 のいずれかが真(true)の時に真" @@ -4296,7 +4435,7 @@ msgstr "" "または\n" " 引数が無効な場合に失敗を返します。" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4309,7 +4448,7 @@ msgstr "" "致\n" " するように文字`]'を与えなければいけません。" -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4329,7 +4468,7 @@ msgstr "" " 終了ステータス:\n" " 常に成功を返します。" -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4411,7 +4550,8 @@ msgstr "" " 終了ステータス:\n" " SIGSPEC が無効か、無効なオプションを与えられない限り成功を返します。" -#: builtins.c:1386 +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -4420,18 +4560,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4469,7 +4609,7 @@ msgstr "" "合\n" " は失敗を返します。" -#: builtins.c:1417 +#: builtins.c:1424 #, fuzzy msgid "" "Modify shell resource limits.\n" @@ -4488,6 +4628,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4499,7 +4640,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4518,46 +4660,49 @@ msgid "" msgstr "" "シェルの資源制限を変更します。\n" " \n" -" シェルおよびシェルが作成するプロセスが使用可能な資源に対する制御を提供し" -"ます。\n" -" ただし、システムがそのような制御を許可している場合です。\n" +" システムがシェルの資源制御を提供している場合、シェル、およびシェルが生" +"成\n" +" するプロセスに対する資源の制御を行います。\n" " \n" " オプション:\n" -" -S\t`soft' 資源制限を使用します\n" -" -H\t`hard' 資源制限を使用します\n" -" -a\t現在の全ての資源制限を表示します\n" -" -b\tソケットバッファサイズ\n" +" -S\t緩い (soft) 資源制御を使用する\n" +" -H\t厳しい (hard) 資源制御を使用する\n" +" -a\t現在の制限を表示する\n" +" -b\tソケットの大きさ\n" " -c\t作成されるコアファイルの最大サイズ\n" -" -d\tプロセスデータセグメントの最大サイズ\n" -" -e\tスケジュール優先度の最大値 (`nice')\n" -" -f\tシェル及び子プロセスが書き込み可能なファイルサイズの最大値\n" -" -i\t保留するシグナルの最大数\n" -" -l\tメモリにロックできるプロセスの最大サイズ\n" -" -m\t最大のメモリサイズ\n" -" -n\tファイル記述子を開くことができる最大数\n" +" -d\tプロセスのデータセグメントの最大サイズ\n" +" -e\tスケジューリング優先度 (`nice') の最大値\n" +" -f\tシェルおよびその子プロセスが書き込める最大ファイルサイズ\n" +" -i\tシグナル抑制の最大数\n" +" -l\tメモリ内に固定できるプロセスの最大サイズ\n" +" -m\tthe maximum resident set size\n" +" -n\t開けるファイル記述子の最大数\n" " -p\tパイプのバッファサイズ\n" -" -q\tPOSIX message queues の最大バイト数\n" -" -r\tリアルタイムスケジュール優先度の最大値\n" -" -s\tスタックサイズの最大値\n" -" -t\tCPU時間総量の最大値 (秒単位)\n" -" -u\tユーザープロセスの最大数\n" -" -v\t仮想メモリのサイズ\n" +" -q\tPOSIX メッセージキュー内の最大バイト数\n" +" -r\tリアルタイムスケジューリング優先度の最大値\n" +" -s\t最大スタックサイズ\n" +" -t\tCPU時間量の最大値 (単位:秒)\n" +" -u\tユーザプロセスの最大数\n" +" -v\t仮想メモリの最大サイズ\n" " -x\tファイルロックの最大数\n" +" -T\tスレッドの最大数\n" " \n" -" LIMIT が与えられた場合、指定した資源に対する新しい値になります。特別な\n" -" LIMIT の値である `soft'、`hard'、および `unlimited' は現在の `soft' 制" -"限\n" -" 現在の`hard' 制限および制限なしをそれぞれ意味します。\n" -" それ以外の場合、指定した資源の現在の値が表示されます。オプションが与え\n" -" られなかった場合 -f と見なされます。\n" +" すべてのプラットフォームですべてのオプションが利用可能とは限りません。\n" +" \n" +" LIMIT を指定した場合、指定した資源に新しい値が設定されます。`soft', \n" +" `hard' および `unlimited' という特別な値は現在の緩やかな制限、現在の\n" +" 厳しい制限、および無制限を意味します。\n" +" LIMIT を指定しない場合、指定した資源の現在の値を表示します。オプション" +"を\n" +" 指定しない場合、-f と見なされます。\n" " \n" -" 値は 1024 バイト単位で増加します。例外は -t が秒単位、-p が 512バイト\n" -" 単位、および -u は1プロセス単位です。\n" +" -t は秒単位、-p は 512バイトごと、-u はプロセス数であり、それ以外は\n" +" 1024 バイト単位です。\n" " \n" " 終了ステータス:\n" -" 無効なオプションが与えられるかエラーが発生しない限り成功を返します。" +" 無効なオプションを与えるか、エラーが発生しない限り、成功を返します。" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4591,8 +4736,7 @@ msgstr "" " 終了ステータス:\n" " MODE が無効か、無効なオプションが与えられない限り成功を返します。" -#: builtins.c:1485 -#, fuzzy +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4613,17 +4757,17 @@ msgid "" msgstr "" "ジョブの実行完了を待ち、終了ステータスを返します。\n" " \n" -" ID で識別されるプロセス (プロセスID または ジョブ指定) を待ち、その終了\n" +" ID で識別される各プロセス (プロセスID または ジョブ指定) を待ち、その終" +"了\n" " ステータスを返します。ID が与えられない場合、現在アクティブな全ての子プ\n" " ロセスを待ち 0 を返します。ID がジョブ指定の場合ジョブのパイプラインに\n" " ある全てのプロセスを待ちます。\n" " \n" " 終了ステータス:\n" -" ID の終了ステータスを返します。IDが無効であるか、無効なオプションが\n" -" 与えられた場合には失敗を返します。" +" 最後の ID の終了ステータスを返します。IDが無効であるか、無効なオプ\n" +" ションが与えられた場合には失敗を返します。" -#: builtins.c:1506 -#, fuzzy +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4639,15 +4783,17 @@ msgid "" msgstr "" "プロセスの実行完了を待ち、終了ステータスを返します。\n" " \n" -" 指定されたプロセスを待ち、その終了ステータスを返します。PID が与えられ\n" +" PIDで指定された各プロレスを待ち、その終了ステータスを返します。PID が与え" +"られ\n" " ない場合、現在アクティブな全ての子プロセスを待ち、0 を返します。PID は\n" -" プロセスIDでなければなりません。\n" +" プロセスIDでなければいけません。\n" " \n" " 終了ステータス:\n" -" IDの終了ステータスを返します。IDが無効か、無効なオプションが与えられた\n" -" 場合はエラーを返します。" +" 最後の PID の終了ステータスを返します。PIDが無効か、無効なオプションが与" +"えられた\n" +" 場合は失敗します。" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4668,7 +4814,7 @@ msgstr "" " 終了ステータス:\n" " 最後に実行したコマンドのステータスを返します。" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4698,7 +4844,7 @@ msgstr "" " 終了ステータス:\n" " 最後に実行したコマンドのステータスを返します。" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4733,7 +4879,7 @@ msgstr "" " 終了ステータス:\n" " 最後に実行したコマンドのステータスを返します。" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4761,7 +4907,7 @@ msgstr "" " 終了ステータス:\n" " PIPELINE の戻り値が終了ステータスとなります。" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4780,7 +4926,7 @@ msgstr "" " 終了ステータス:\n" " 最後に実行したコマンドのステータスを返します。" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4814,7 +4960,7 @@ msgstr "" " 終了ステータス:\n" " 最後に実行したコマンドの終了ステータスを返します。" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4832,7 +4978,7 @@ msgstr "" " 終了ステータス:\n" " 最後に実行したコマンドのステータスを返します。" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4850,7 +4996,8 @@ msgstr "" " 終了ステータス:\n" " 最後に実行したコマンドのステータスを返します。" -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4860,7 +5007,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "NAME という名前の非同期プロセスを作成します。\n" " \n" @@ -4872,7 +5019,7 @@ msgstr "" " 終了ステータス:\n" " COMMAND の終了ステータスを返します。" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4897,7 +5044,7 @@ msgstr "" " 終了ステータス:\n" " NAME が読み取り専用でない限り成功を返します。" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4915,7 +5062,7 @@ msgstr "" " 終了ステータス:\n" " 最後に実行したコマンドのステータスを返します。" -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4938,7 +5085,7 @@ msgstr "" " 終了ステータス:\n" " 再開されたジョブの終了ステータスを返します。" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4956,7 +5103,7 @@ msgstr "" " 終了ステータス:\n" " EXPRESSION の評価値が 0 の場合は 1、それ以外は 0 を返します。" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5011,7 +5158,7 @@ msgstr "" " 終了ステータス:\n" " EXPRESSION の値に基づいて 0 または 1 を返します。" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5112,7 +5259,8 @@ msgstr "" " HISTIGNORE\tヒストリ一覧に保存されるコマンドを決める時に使用される\n" " \t\tコロン (:) で区切られたパターンの一覧。\n" -#: builtins.c:1794 +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -5122,19 +5270,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5171,7 +5319,8 @@ msgstr "" " 無効な引数が与えられるかディレクトリ変更が失敗しない限り成功を\n" " 返します。" -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -5180,16 +5329,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5222,7 +5371,8 @@ msgstr "" " 無効な引数が与えられるかディレクトリ変更が失敗しない限り成功を\n" " 返します。" -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -5233,19 +5383,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5274,7 +5424,7 @@ msgstr "" " 終了ステータス:\n" " 無効なオプションが与えられるかエラーが発生しない限り成功を返します。" -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5310,7 +5460,7 @@ msgstr "" " OPTNAME が有効な場合は成功を返します。無効なオプションが与えられた場合\n" " または OPTNAME が無効な場合は失敗を返します。" -#: builtins.c:1908 +#: builtins.c:1919 #, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" @@ -5328,15 +5478,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5362,20 +5512,26 @@ msgstr "" " コピーされます。三つ目は書式指定文字で、各文字は後に続く引数を表示しま" "す。\n" " \n" -" printf(1) および printf(3) に記述される標準の書式指定に加えて、printf " -"は\n" -" 次の文字を解釈します。\n" +" printf(1) に記述される標準の書式指定に加えて、printf は次の文字を解釈しま" +"す。\n" " \n" " %b\t対応する引数のバックスラッシュエスケープ文字を展開する\n" " %q\tシェル入力として引数をクオートする\n" " %(fmt)T FMT を strftime(3) 用の書式文字列として日付と時間の文字列を出" "力する\n" " \n" +" FORMAT はすべての ARGUMENTS を使い切る必要があります。FORMATが必要とす" +"る\n" +" ARGUMENTS より少ない場合、残りの書式指定は値が 0 または null 文字列が適" +"切\n" +" に与えられているかのように動作します。\n" +"\n" " 終了ステータス:\n" " 無効な引数が与えられるか、書き込み、代入エラーが発生しない限り成功を返し" "ます。" -#: builtins.c:1942 +#: builtins.c:1953 +#, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5388,11 +5544,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5424,7 +5580,7 @@ msgstr "" " 終了ステータス:\n" " 無効なオプションが与えられるかエラーが発生しない限り成功を返します。" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5446,7 +5602,7 @@ msgstr "" " 終了ステータス:\n" " 無効なオプションが与えられるかエラーが発生しない限り成功を返します。" -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5502,7 +5658,8 @@ msgstr "" "合\n" " を除き、成功を返します。" -#: builtins.c:2015 +#: builtins.c:2026 +#, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5513,20 +5670,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5577,7 +5735,7 @@ msgstr "" "列で無い\n" " 場合を除き成功を返します。" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5587,34 +5745,21 @@ msgstr "" " \n" " `mapfile'の別名です。" -#~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" -#~ msgstr "Copyright (C) 2009 Free Software Foundation, Inc.\n" - -#~ msgid "" -#~ "License GPLv2+: GNU GPL version 2 or later \n" -#~ msgstr "" -#~ "ライセンス GPLv2+: GNU GPL バージョン 2 またはそれ以降 \n" - -#~ msgid "" -#~ ". With EXPR, returns\n" -#~ " " -#~ msgstr "" -#~ "。 EXPR が存在する場合、次を返します \n" -#~ " " - -#~ msgid "" -#~ "; this extra information can be used to\n" -#~ " provide a stack trace.\n" -#~ " \n" -#~ " The value of EXPR indicates how many call frames to go back before " -#~ "the\n" -#~ " current one; the top frame is frame 0." -#~ msgstr "" -#~ "。この追加の情報はスタックトレース\n" -#~ " を提供する時に利用します。\n" -#~ "\n" -#~ " EXPR の値は現在のフレームに戻るまでに何回フレームが呼び出されているか" -#~ "を\n" -#~ " 意味します。最上位のフレームは 0 です。" +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2013 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2012 Free Software Foundation, Inc." diff --git a/po/lt.gmo b/po/lt.gmo index aceaa7121..36a127952 100644 Binary files a/po/lt.gmo and b/po/lt.gmo differ diff --git a/po/lt.po b/po/lt.po index 9f53f350b..2594d1d1a 100644 --- a/po/lt.po +++ b/po/lt.po @@ -7,82 +7,88 @@ msgid "" msgstr "" "Project-Id-Version: bash-4.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2009-03-25 16:49+0200\n" "Last-Translator: Gintautas Miliauskas \n" "Language-Team: Lithuanian \n" -"Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: lt\n" "X-Generator: KBabel 1.11.4\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" -"%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%" +"100<10 || n%100>=20) ? 1 : 2);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "blogas masyvo indeksas" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, fuzzy, c-format msgid "%s: invalid associative array key" msgstr "%s: netaisyklingas veiksmo pavadinimas" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: nepavyko priskirti prie neskaitinio indekso" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: nepavyko sukurti: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: nepavyko rasti keymapo komandai" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: pirmas ne tarpo simbolis nėra „\"“" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "nėra uždarančiojo „%c“ %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: trūksta dvitaškio skirtuko" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, fuzzy, c-format msgid "`%s': invalid alias name" msgstr "„%s“: netaisyklingas keymap'o pavadinimas" @@ -91,45 +97,45 @@ msgstr "„%s“: netaisyklingas keymap'o pavadinimas" msgid "line editing not enabled" msgstr "eilutės redagavimas neįgalintas" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "„%s“: netaisyklingas keymap'o pavadinimas" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: nepavyko perskaityti: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "„%s“: nepavyko atjungti (unbind)" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "„%s“: nežinomas funkcijos pavadinimas" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s nėra priskirtas jokiam klavišui.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s gali būti iškviestas su " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "prasminga tik „for“, „while“ arba „until“ cikle" -#: builtins/caller.def:134 +#: builtins/caller.def:136 #, fuzzy msgid "" "Returns the context of the current subroutine call.\n" @@ -137,300 +143,329 @@ msgid "" " Without EXPR, returns " msgstr "Grąžina esamos procedūros kontekstą." -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME nenustatytas" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "per daug argumentų" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "steko viršūnėje esančiu." + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD nenustatytas" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "eilutė %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "įspėjimas: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: naudojimas: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: parametrui reikia argumento" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: reikia skaitinio argumento" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: nerasta" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: negalimas parametras" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: netaisyklingas parametro vardas" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': netaisyklingas identifikatorius" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "netaisyklingas aštuonetainis skaičius" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "netaisyklingas šešioliktainis skaičius" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "netaisyklingas skaičius" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: netaisyklinga signalo specifikacija" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "„%s“: ne pid'as ar taisyklinga darbo specifikacija" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: kintamasis tik skaitymui" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s išėjo už ribų" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argumentas" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s už ribų" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: nėra tokio darbo" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: nėra darbų valdymo" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "nėra darbų valdymo" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: apribota" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "apribota" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: ne vidinė aplinkos komanda" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "rašymo klaida: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: klaida skaitant esamą aplanką: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: dviprasmis darbo aprašymas" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: netaisyklingas veiksmo pavadinimas" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: nėra baigimo specifikacijos" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "įspėjimas: parametras -F gali neveikti taip, kaip tikitės" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "įspėjimas: parametras -C gali neveikti taip, kaip tikitės" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "galima naudoti tik funkcijoje" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, fuzzy, c-format +msgid "%s: circular name reference" +msgstr "%d: netaisyklingas failo deskriptorius: %s" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%d: netaisyklingas failo deskriptorius: %s" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "negalima naudoti „-f“ funkcijoms kurti" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: funkcija tik skaitymui" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: negalima tokiu būdu sunaikinti masyvų kintamųjų" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dinaminis įkrovimas negalimas" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "nepavyko atverti bendrojo objekto %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "nepavyko rasti %s bendrajame objekte %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: nedinamiškai įkrauta" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: nepavyko ištrinti: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: aplankas" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: ne paprastas failas" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: failas per didelis" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: negalima vykdyti dvejetainių failų" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: nepavyko paleisti: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "ne prisijungimo aplinka: naudokite „exit“" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Yra sustabdytų darbų.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Yra veikiančių darbų.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "komandų nerasta" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "istorijos specifikacija" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: nepavyko atverti laikinojo failo: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "darbas %d pradėtas be darbų valdymo" @@ -449,17 +484,17 @@ msgstr "%s: parametrui reikia argumento -- %c\n" msgid "hashing disabled" msgstr "maiša išjungta" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: maišos lentelė tuščia\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, fuzzy, c-format msgid "hits\tcommand\n" msgstr "paskutinė komanda: %s\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, fuzzy, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" @@ -467,7 +502,7 @@ msgstr[0] "Aplinkos komandos, atitinkančios raktažodį „" msgstr[1] "Aplinkos komandos, atitinkančios raktažodį „" msgstr[2] "Aplinkos komandos, atitinkančios raktažodį „" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -475,12 +510,12 @@ msgstr "" "nėra žinyno temų, atitinkančių „%s“. Bandykite „help help“, „man -k %s“ arba " "„info %s“." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: nepavyko atverti: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -501,15 +536,20 @@ msgstr "" "Žvaigždutė (*) prie vardo reiškia, kad komanda išjungta.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "negalima naudoti daugiau negu vieno parametro iš -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "istorijos pozicija" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: netaisyklingas limito argumentas" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: istorijos išskleidimas nesėkmingas" @@ -523,115 +563,115 @@ msgstr "%s: istorijos išskleidimas nesėkmingas" msgid "no other options allowed with `-x'" msgstr "su „-x“ neleidžiama naudoti kitų parametrų" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argumentai turi būti procesų arba darbų ID" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Nežinoma klaida" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "tikėtasi išraiškos" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, fuzzy, c-format msgid "%s: not an indexed array" msgstr "%s: ne masyvo kintamasis" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: netaisyklinga failo deskriptoriaus specifikacija" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: netaisyklingas failo deskriptorius: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, fuzzy, c-format msgid "%s: invalid line count" msgstr "%s: nesamas parametras" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, fuzzy, c-format msgid "%s: invalid array origin" msgstr "%s: nesamas parametras" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, fuzzy, c-format msgid "%s: invalid callback quantum" msgstr "%s: netaisyklingas veiksmo pavadinimas" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 #, fuzzy msgid "empty array variable name" msgstr "%s: ne masyvo kintamasis" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "„%s“: trūksta formato simbolio" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, fuzzy, c-format msgid "`%c': invalid time format specification" msgstr "%s: klaidinga laiko ribos (timeout) specifikacija" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "„%c“: netaisyklingas formato simbolis" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "įspėjimas: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "trūksta šešioliktainio skaitmens išraiškoje \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, fuzzy, c-format msgid "missing unicode digit for \\%c" msgstr "trūksta šešioliktainio skaitmens išraiškoje \\x" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "nėra kito aplanko" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: netaisyklingas limito argumentas" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 #, fuzzy msgid "directory stack index" msgstr "rekursijos steko atvirkštinis perpildymas" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -655,7 +695,7 @@ msgid "" "\tdirs when invoked without options, starting with zero." msgstr "" -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -680,7 +720,7 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -701,143 +741,153 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: klaidinga laiko ribos (timeout) specifikacija" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "skaitymo klaida: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "galima grįžti (return) tik iš funkcijos ar scenarijaus" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "negalima kartu ištrinti funkcijos ir kintamojo" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: nepavyko ištrinti" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: nepavyko ištrinti: %s tik skaitymui" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: ne masyvo kintamasis" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: ne funkcija" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: nepavyko ištrinti" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "postūmių skaičius" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "negalima aplinkos nuostatos vienu metu įjungti ir išjungti" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: netaisyklingas aplinkos nuostatos pavadinimas" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "reikia failo pavadinimo argumento" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: failas nerastas" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "nepavyko sustabdyti" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "nepavyko sustabdyti prisijungimo aplinkos" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s yra „%s“ sinonimas\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s yra aplinkos raktinis žodis\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s yra funkcija\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s yra aplinkos vidinė komanda\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s yra aplinkos vidinė komanda\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s yra %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s yra hešuotas (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: netaisyklingas limito argumentas" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': bloga komanda" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: nepavyko gauti limito: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "riba" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: nepavyko pakeisti limito: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "aštuntainis skaičius" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "„%c“: netaisyklingas simbolinės veiksenos operatorius" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "„%c“: netaisyklingas simbolinės veiksenos simbolis" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " eilutė " @@ -851,83 +901,104 @@ msgstr "paskutinė komanda: %s\n" msgid "Aborting..." msgstr "Nutraukiama..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "nežinoma komandos klaida" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "blogas komandos tipas" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "blogas jungtukas" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "blogas šuolis" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: nepriskirtas kintamasis" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\alaukiant įvedimo baigėsi laikas: automatiškai atsijungta\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "nepavyko peradresuoti standartinio įvedimo iš /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: „%c“: netaisyklingas formato simbolis" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 #, fuzzy msgid "pipe error" msgstr "rašymo klaida: %s" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: apribota: negalima naudoti „/“ komandų pavadinimuose" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: komanda nerasta" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, fuzzy, c-format msgid "%s: %s" msgstr "%s yra %s\n" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: blogas interpretatorius" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: negalima vykdyti dvejetainių failų" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, fuzzy, c-format msgid "`%s': is a special builtin" msgstr "%s yra aplinkos vidinė komanda\n" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "nepavyko dublikuoti fd %d į fd %d" @@ -973,37 +1044,37 @@ msgstr "" msgid "missing `)'" msgstr "Trūksta „)“" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "sintaksės klaida: tikėtasi operando" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "sintaksės klaida: netaisyklingas aritmetinis operatorius" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "netaisyklingas aritmetinis pagrindas" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "per didelė pagrindo reikšmė" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: išraiškos klaida\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: nepavyko pasiekti aukštesnių aplankų" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, fuzzy, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "nepavyko dublikuoti fd %d į fd %d" @@ -1018,148 +1089,148 @@ msgstr "nepavyko išskirti naujo failo deskriptoriaus bash įvedimui iš fd %d" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: naujam fd %d buferis jau egzistuoja" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "trinamas sustabdytas darbas %d procesų grupėje %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: tokio pid nėra" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signalas %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Atlikta" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Atlikta(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Nežinoma būsena" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr "" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld nėra šios aplinkos dukterinis procesas" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: nėra proceso %ld įrašo" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: darbas %d yra sustabdytas" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: darbas užsibaigė" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: darbas %d jau fone" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: %d eilutė: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr "" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "šioje aplinkoje nėra darbų valdymo" @@ -1213,17 +1284,17 @@ msgstr "realloc: atvirkštinis perpildymas (underflow); mh_nbytes už ribos" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: pradžios ir pabaigos blokų (chunk) dydžiai skiriasi" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: alloc lentelė pilna su FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p jau lentelėje kaip rezervuotas?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p jau lentelėje kaip laisvas?\n" @@ -1247,7 +1318,7 @@ msgstr "%s: netaisyklinga tarnyba" msgid "%s: bad network path specification" msgstr "%s: netaisyklingas tinklo kelias" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "tinklo operacijos nepalaikomos" @@ -1284,224 +1355,259 @@ msgstr "Turite naujų laiškų $_" msgid "The mail in %s has been read\n" msgstr "Paštas %s perskaitytas\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "sintaksės klaida: reikia aritmetinės išraiškos" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "sintaksės klaida: netikėtas „;“" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "sintaksės klaida: „((%s))“" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: blogas instrukcijos tipas %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: nukreipimo instrukcija „%d“ už ribų" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "netikėta failo pabaiga ieškant atitinkamo „%c“" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "netikėta failo pabaiga ieškant „]]“" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "sintaksės klaida sąlygos išraiškoje: netikėta leksema „%s“" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "sintaksės klaida sąlygos išraiškoje" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "netikėta leksema „%s“, tikėtasi „)“" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "tikėtasi „)“" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "netikėtas argumentas „%s“ sąlygos unariniam operatoriui" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "netikėtas argumentas sąlygos unariniam operatoriui" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "netikėta leksema „%s“, tikėtasi sąlyginio binarinio operatoriaus" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "tikėtasi sąlygos binarinio operatoriaus" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "netikėtas argumentas „%s“ sąlygos binariniam operatoriui" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "netikėtas argumentas sąlygos binariniam operatoriui" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "netikėta leksema „%c“ sąlygos komandoje" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "netikėta leksema „%s“ sąlygos komandoje" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "netikėta leksema %d sąlygos komandoje" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "sintaksės klaida prie netikėtos leksemos: „%s“" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "sintaksės klaida prie „%s“" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "sintaksės klaida: netikėta failo pabaiga" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "sintaksės klaida" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Naudokite „%s“, jei norite išeiti iš ap.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "netikėta failo pabaiga ieškant atitinkamo „)“" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: funkcija „%s“ nerasta" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: blogas jungtukas  „%d“" -#: print_cmd.c:373 +#: print_cmd.c:375 #, fuzzy, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "%d: netaisyklingas failo deskriptorius: %s" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: „%c“: netaisyklingas formato simbolis" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "failo deskriptorius už ribų" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: ambiguous redirect" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: negalima perrašyti egzistuojančio failo" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: apribota: negalima peradresuoti išvedimo" -#: redir.c:191 +#: redir.c:192 #, fuzzy, c-format msgid "cannot create temp file for here-document: %s" msgstr "nepavyko sukurti laikino failo „here“ dokumentui: %s" -#: redir.c:195 +#: redir.c:196 #, fuzzy, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: negalima priskirti sąrašo masyvo elementui" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/serveris/prievadas nepalaikoma be tinklo" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "nukreipimo klaida: nepavyko dublikuoti fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "nepavyko rasti /tmp, sukurkite šį aplanką!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp turi būti taisyklingas aplanko pavadinimas" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: netaisyklingas parametras" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "nepavyko dublikuoti fd %d į fd %d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "nepavyko dublikuoti fd %d į fd %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: aplankas" + +#: shell.c:1777 msgid "I have no name!" msgstr "Neturiu vardo!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, versija %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1510,43 +1616,53 @@ msgstr "" "Naudojimas:\t%s [GNU ilgas parametras] [parametras] ...\n" "\t%s [GNU ilgas parametras] [parametras] scenarijaus-failas ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU ilgi parametrai:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Aplinkos parametrai:\n" -#: shell.c:1835 +#: shell.c:1938 #, fuzzy msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "" "\t-irsD arba -c komanda arba -O shopt_nustatymas\t\t(tik iškvietimui)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s arba -o nustatymas\n" -#: shell.c:1856 +#: shell.c:1959 #, fuzzy, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Bandykite „%s --help“ arba „%s --usage“, jei norite gauti daugiau " "informacijos.\n" -#: shell.c:1857 +#: shell.c:1960 #, fuzzy, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "Bandykite „ldd --help“, jei norite daugiau informacijos." -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Naudokite komandą „bashbug“ klaidoms pranešti.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: netaisyklinga operacija" @@ -1721,88 +1837,103 @@ msgstr "Nežinomas signalas #" msgid "Unknown Signal #%d" msgstr "Nežinomas signalas #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "blogas keitinys: trūksta „%s“ %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: negalima priskirti sąrašo masyvo elementui" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "blogas keitinys: trūksta „%s“ %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, fuzzy, c-format msgid "%s: invalid variable name for name reference" msgstr "%d: netaisyklingas failo deskriptorius: %s" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: blogas keitinys" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: nesamas parametras" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "„%s“: netaisyklingas keymap'o pavadinimas" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parametras tuščias arba nenustatytas" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: posekio išraiška < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: blogas keitinys" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: negalima tokiu būdu priskirti" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" -#: subst.c:8421 +#: subst.c:9349 #, fuzzy, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "blogas keitinys: trūksta „%s“ %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "nėra atitikmenų: %s" @@ -1816,122 +1947,122 @@ msgstr "tikėtasi argumento" msgid "%s: integer expression expected" msgstr "%s: tikėtasi skaitinės išraiškos" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "tikėtasi „)“" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "tikėtasi „)“, rasta %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: tikėtasi unarinio operatoriaus" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: tikėtasi binarinio operatoriaus" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "trūksta „]“" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "netaisyklingas signalo numeris" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: bloga trap_list[%d] reikšmė: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "run_pending_traps: signalo doroklė yra SIG_DFL, siunčiamas %d (%s) sau" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: blogas signalas %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "klaida importuojant funkcijos apibrėžimą „%s“" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "aplinkos lygmuo (%d) per aukštas, nustatoma į 1" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%d: netaisyklingas failo deskriptorius: %s" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "%s: negalima priskirti sąrašo masyvo elementui" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%d: netaisyklingas failo deskriptorius: %s" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "" -#: variables.c:3891 +#: variables.c:4218 #, fuzzy, c-format msgid "%s has null exportstr" msgstr "%s: parametras tuščias arba nenustatytas" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "netaisyklingas simbolis %d %s exportstr'e" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "%s exportstr'e trūksta „=“" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: nėra global_variables konteksto" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" -#: variables.c:5257 +#: variables.c:5619 #, fuzzy, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: nepavyko atverti: %s" -#: variables.c:5262 +#: variables.c:5624 #, fuzzy, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%d: netaisyklingas failo deskriptorius: %s" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s išėjo už ribų" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "Autorinės teisės (C) 2009 Free Software Foundation, Inc." #: version.c:47 version2.c:47 @@ -1958,11 +2089,6 @@ msgstr "" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Nėra JOKIOS GARANTIJOS, kiek tik tą leidžia įstatymas.\n" -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Autorinės teisės (C) 2009 Free Software Foundation, Inc." - #: xmalloc.c:91 #, fuzzy, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -1983,144 +2109,132 @@ msgstr "xmalloc: %s:%d: nepavyko išskirti %lu baitų (išskirta %lu baitų)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "xmalloc: %s:%d: nepavyko išskirti %lu baitų" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [pavadinimas[=reikšmė] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] pavadinimas [pavadinimas ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [aplinkos-komanda [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [išraiška]" -#: builtins.c:64 +#: builtins.c:66 #, fuzzy msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|-P] [aplankas]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] komanda [arg ...]" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFilrtux] [-p] [pavadinimas[=reikšmė] ...]" -#: builtins.c:78 +#: builtins.c:80 #, fuzzy -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-aAfFilrtux] [-p] pavadinimas[=reikšmė] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [option] pavadinimas[=reikšmė] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f failopavadinimas] [pavadinimas ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts optsekos pavadinimas [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "" "exec [-cl] [-a pavadinimas] [komanda [argumentai ...]] [nukreipimas ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e evardas] [-lnr] [pirm] [pask] arba fc -s [pat=rep] [komanda]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "" -#: builtins.c:117 +#: builtins.c:119 #, fuzzy msgid "help [-dms] [pattern ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2128,115 +2242,111 @@ msgstr "" "kill [-s sigspec | -n signum | -sigspec] pid | darbospec ... arba kill -l " "[sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 #, fuzzy msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [--abefhkmnptuvxBCHP] [-o nustatymas] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [pavadinimas ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [pavadinimas[=vertė] ...] arba export -p" -#: builtins.c:146 +#: builtins.c:148 #, fuzzy msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-af] [pavadinimas[=vertė] ...] arba readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source failopavadinimas [argumentai]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". failopavadinimas [argumentai]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [iÅ¡rk]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] signalo_spec ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] pavadinimas [pavadinimas ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "ulimit [-SHacdefilmnpqrstuvx] [riba]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [režimas]" -#: builtins.c:175 +#: builtins.c:177 #, fuzzy msgid "wait [-n] [id ...]" msgstr "wait [id]" -#: builtins.c:179 +#: builtins.c:181 #, fuzzy msgid "wait [pid ...]" msgstr "wait [id]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for PAVADINIMAS [in ŽODŽIAI ... ] ; do KOMANDOS; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( iÅ¡rk1; iÅ¡rk2; iÅ¡rk3 )); do KOMANDOS; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select PAVADINIMAS [in ŽODŽIAI ... ;] do KOMANDOS; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2244,93 +2354,93 @@ msgstr "" "if KOMANDOS; then KOMANDOS; [ elif KOMANDOS; then KOMANDOS; ]... [ else " "KOMANDOS; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while KOMANDOS; do KOMANDOS; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until KOMANDOS; do KOMANDOS; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "funkcijos pavadinimas { KOMANDOS ; } arba name () { KOMANDOS ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ KOMANDOS ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "darbo_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( iÅ¡raiÅ¡ka ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ iÅ¡raiÅ¡ka ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "kintamieji – Kai kurių aplinkos kintamųjų pavadinimai ir reikÅ¡mės" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | dir]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [optvardas ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v kint] formatas [argumentai]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -#: builtins.c:237 +#: builtins.c:239 #, fuzzy msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "shopt [-pqsu] [-o] [optvardas ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" -#: builtins.c:254 +#: builtins.c:256 #, fuzzy msgid "" "Define or display aliases.\n" @@ -2343,7 +2453,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2359,20 +2469,20 @@ msgstr "" " iÅ¡skleidžiamas. „alias“ grąžina „true“, nebent duotas VARDAS, kuriam\n" " neapraÅ¡ytas joks alternatyvusis vardas." -#: builtins.c:276 +#: builtins.c:278 #, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "PaÅ¡alinti VARDUS iÅ¡ apraÅ¡ytų alternatyviųjų vardų sąraÅ¡o. Jei nurodyta\n" " nuostata -a, paÅ¡alinti visus alternatyviuosius vardus." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2406,14 +2516,15 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2424,7 +2535,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:340 +#: builtins.c:342 #, fuzzy msgid "" "Resume for, while, or until loops.\n" @@ -2438,7 +2549,7 @@ msgstr "" "Tęsti kitą FOR, WHILE arba UNTIL ciklo iteraciją.\n" " Jei N nurodytas, tęsti ciklą, esantį N lygmenų virÅ¡ esamo." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2452,7 +2563,7 @@ msgid "" " not a shell builtin.." msgstr "" -#: builtins.c:367 +#: builtins.c:369 #, fuzzy msgid "" "Return the context of the current subroutine call.\n" @@ -2477,7 +2588,7 @@ msgstr "" " IÅ RAIÅ KOS reikÅ¡mė nurodo, per kiek kvietimo freimų grįžti nuo\n" " esamo; virÅ¡utinis freimas yra 0." -#: builtins.c:385 +#: builtins.c:387 #, fuzzy msgid "" "Change the shell working directory.\n" @@ -2501,16 +2612,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2534,13 +2645,13 @@ msgstr "" " užuot sekus simbolines nuorodas; parametras -L nurodo, kad turi bÅ«ti\n" " sekama simbolinėmis nuorodomis." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2550,7 +2661,7 @@ msgid "" " cannot be read." msgstr "" -#: builtins.c:439 +#: builtins.c:442 #, fuzzy msgid "" "Null command.\n" @@ -2561,7 +2672,7 @@ msgid "" " Always succeeds." msgstr "Jokio efekto; komanda nieko nedaro. Grąžinamas klaidos kodas 0." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2569,7 +2680,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:459 +#: builtins.c:462 #, fuzzy msgid "" "Return an unsuccessful result.\n" @@ -2578,7 +2689,7 @@ msgid "" " Always fails." msgstr "Grąžinti nesėkmingą rezultatą." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2588,16 +2699,16 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2607,9 +2718,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2637,14 +2748,14 @@ msgid "" " assignment error occurs." msgstr "" -#: builtins.c:527 +#: builtins.c:530 msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2659,7 +2770,7 @@ msgid "" " assignment error occurs, or the shell is not executing a function." msgstr "" -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2685,15 +2796,15 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2706,7 +2817,7 @@ msgid "" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2733,7 +2844,7 @@ msgid "" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2745,7 +2856,7 @@ msgid "" " Returns exit status of command or success if command is null." msgstr "" -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2786,7 +2897,7 @@ msgid "" " encountered or an error occurs." msgstr "" -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -2797,8 +2908,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2809,7 +2920,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:706 +#: builtins.c:709 #, fuzzy msgid "" "Exit the shell.\n" @@ -2821,7 +2932,7 @@ msgstr "" "nustatomas\n" " paskutinės vykdytos komandos klaidos kodas." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2830,7 +2941,7 @@ msgid "" " in a login shell." msgstr "" -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2860,7 +2971,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2872,7 +2983,7 @@ msgid "" " Status of command placed in foreground, or failure if an error occurs." msgstr "" -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2886,7 +2997,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -2895,22 +3006,22 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -2922,7 +3033,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2932,7 +3043,7 @@ msgid "" "given." msgstr "" -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -2941,23 +3052,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -2966,7 +3077,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -2976,7 +3087,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -2990,7 +3101,7 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3000,14 +3111,14 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -3019,7 +3130,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3029,7 +3141,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3074,7 +3186,7 @@ msgid "" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3095,27 +3207,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3125,7 +3238,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3137,7 +3250,7 @@ msgid "" " Returns N, or failure if the shell is not executing a function or script." msgstr "" -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3205,7 +3318,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3222,7 +3336,7 @@ msgid "" " Returns success unless an invalid option is given." msgstr "" -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3232,7 +3346,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3244,7 +3358,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3263,7 +3377,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3275,9 +3389,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3285,7 +3398,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3296,7 +3409,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 #, fuzzy msgid "" "Execute commands from a file in the current shell.\n" @@ -3315,7 +3428,7 @@ msgstr "" " Jei nurodyta ARGUMENTŲ, jie tampa poziciniais parametrais iÅ¡kvietus\n" " FAILĄ." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3329,7 +3442,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3393,9 +3506,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3412,7 +3525,7 @@ msgid "" " false or an invalid argument is given." msgstr "" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3420,7 +3533,7 @@ msgid "" " be a literal `]', to match the opening `['." msgstr "" -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3432,7 +3545,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3476,7 +3589,7 @@ msgid "" "given." msgstr "" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3485,18 +3598,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3506,7 +3619,7 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3524,6 +3637,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3535,7 +3649,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3553,7 +3668,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3571,7 +3686,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3591,7 +3706,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3606,7 +3721,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3619,7 +3734,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3636,7 +3751,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3656,7 +3771,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3672,7 +3787,7 @@ msgid "" " The return status is the return status of PIPELINE." msgstr "" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3683,7 +3798,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3704,7 +3819,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1620 +#: builtins.c:1629 #, fuzzy msgid "" "Execute commands as long as a test succeeds.\n" @@ -3718,7 +3833,7 @@ msgstr "" "IÅ¡skleisti ir vykdyti KOMANDAS tol, kol galutinė komanda iÅ¡\n" " „while“ komandų grąžina klaidos kodą 0." -#: builtins.c:1632 +#: builtins.c:1641 #, fuzzy msgid "" "Execute commands as long as a test does not succeed.\n" @@ -3732,7 +3847,7 @@ msgstr "" "IÅ¡skleisti ir vykdyti KOMANDAS tol, kol galutinė komanda iÅ¡\n" " „until“ komandų grąžina klaidos kodą, nelygų 0." -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3742,10 +3857,10 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3759,7 +3874,7 @@ msgid "" " Returns success unless NAME is readonly." msgstr "" -#: builtins.c:1672 +#: builtins.c:1681 #, fuzzy msgid "" "Group commands as a unit.\n" @@ -3773,7 +3888,7 @@ msgstr "" "Vykdyti eilę komandų grupėje. Tai yra vienas iÅ¡ bÅ«dų nukreipti\n" " visos eilės komandų įvedimą/iÅ¡vedimą." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3787,7 +3902,7 @@ msgid "" " Returns the status of the resumed job." msgstr "" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3798,7 +3913,7 @@ msgid "" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3826,7 +3941,7 @@ msgid "" " 0 or 1 depending on value of EXPRESSION." msgstr "" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3880,7 +3995,7 @@ msgid "" " \t\tcommands should be saved on the history list.\n" msgstr "" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -3890,19 +4005,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3911,7 +4026,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -3920,16 +4035,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3938,7 +4053,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -3949,25 +4064,25 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -3988,7 +4103,7 @@ msgid "" " given or OPTNAME is disabled." msgstr "" -#: builtins.c:1908 +#: builtins.c:1919 #, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" @@ -4006,15 +4121,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -4039,7 +4154,7 @@ msgstr "" " Jei pateiktas parametras -v, iÅ¡vedimas įraÅ¡omas į aplinkos kintamąjį\n" " KINT, užuot spausdinus į standartinį iÅ¡vedimą." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -4052,11 +4167,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -4066,7 +4181,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 #, fuzzy msgid "" "Display possible completions depending on the options.\n" @@ -4084,7 +4199,7 @@ msgstr "" " Jei pateiktas nebÅ«tinasis ŽODŽIO argumentas, iÅ¡vedami įraÅ¡ai,\n" " atitinkantys ŽODÄ®." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4115,7 +4230,7 @@ msgid "" " have a completion specification defined." msgstr "" -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4126,20 +4241,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4156,13 +4272,33 @@ msgid "" " not an indexed array." msgstr "" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" " A synonym for `mapfile'." msgstr "" +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Autorinės teisės (C) 2009 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#, fuzzy +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Autorinės teisės (C) 2009 Free Software Foundation, Inc." + #, fuzzy #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Autorinės teisės (C) 2009 Free Software Foundation, Inc." @@ -4303,9 +4439,6 @@ msgstr "" #~ msgid "removes the top directory from the stack, and cd's to the new" #~ msgstr "paÅ¡alina virÅ¡utinį aplanką iÅ¡ steko ir pakeičia darbinį aplanką" -#~ msgid "top directory." -#~ msgstr "steko viršūnėje esančiu." - #~ msgid "+N removes the Nth entry counting from the left of the list" #~ msgstr "" #~ "+N paÅ¡alina N-tąjį įrašą skaičiuojant iÅ¡ kairės sąraÅ¡e, iÅ¡vedamame „dir“" diff --git a/po/nb.gmo b/po/nb.gmo new file mode 100644 index 000000000..63a485d60 Binary files /dev/null and b/po/nb.gmo differ diff --git a/po/nb.po b/po/nb.po new file mode 100644 index 000000000..441d8a003 --- /dev/null +++ b/po/nb.po @@ -0,0 +1,5738 @@ +# Norwegian (bokmÃ¥l) translation of GNU Bash +# Copyright (C) 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the bash package. +# Åka Sikrom , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: bash-4.4-beta1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-22 12:19+0100\n" +"Last-Translator: Åka Sikrom \n" +"Language-Team: Norwegian Bokmaal \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: Norwegian bokmÃ¥l\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.5.4\n" + +#: arrayfunc.c:54 +msgid "bad array subscript" +msgstr "feil i tabell-underskript" + +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 +#, c-format +msgid "%s: cannot convert indexed to associative array" +msgstr "%s: indeksert tabell kan ikke konverteres til assosiativ tabell" + +#: arrayfunc.c:578 +#, c-format +msgid "%s: invalid associative array key" +msgstr "%s: ugyldig nøkkel for assosiativ tabell" + +#: arrayfunc.c:580 +#, c-format +msgid "%s: cannot assign to non-numeric index" +msgstr "%s: kan ikke tildeles ikke-numerisk indeks" + +#: arrayfunc.c:625 +#, c-format +msgid "%s: %s: must use subscript when assigning associative array" +msgstr "%s: %s: underskript mÃ¥ brukes ved tildeling av assosiative tabeller" + +#: bashhist.c:421 +#, c-format +msgid "%s: cannot create: %s" +msgstr "%s: klarte ikke Ã¥ opprette: %s" + +#: bashline.c:4091 +msgid "bash_execute_unix_command: cannot find keymap for command" +msgstr "bash_execute_unix_command: fant ikke tastaturoppsett for kommando" + +#: bashline.c:4189 +#, c-format +msgid "%s: first non-whitespace character is not `\"'" +msgstr "%s: første ikke-blanktegn mÃ¥ være «\"»" + +#: bashline.c:4218 +#, c-format +msgid "no closing `%c' in %s" +msgstr "avsluttende «%c» mangler i %s" + +#: bashline.c:4252 +#, c-format +msgid "%s: missing colon separator" +msgstr "%s: kolon-skilletegn mangler" + +#: braces.c:329 +#, c-format +msgid "brace expansion: cannot allocate memory for %s" +msgstr "brace-utvidelse: klarte ikke Ã¥ tildele minne for %s" + +#: braces.c:427 +#, c-format +msgid "brace expansion: failed to allocate memory for %d elements" +msgstr "brace-utvidelse: klarte ikke Ã¥ tildele minne for %d elementer" + +#: braces.c:471 +#, c-format +msgid "brace expansion: failed to allocate memory for `%s'" +msgstr "brace-utvidelse: klarte ikke Ã¥ tildele minne for «%s»" + +#: builtins/alias.def:133 +#, c-format +msgid "`%s': invalid alias name" +msgstr "«%s»: ugyldig alias" + +#: builtins/bind.def:123 builtins/bind.def:126 +msgid "line editing not enabled" +msgstr "linjeredigering er ikke slÃ¥tt pÃ¥" + +#: builtins/bind.def:213 +#, c-format +msgid "`%s': invalid keymap name" +msgstr "«%s»: ugyldig navn pÃ¥ tastaturoppsett" + +#: builtins/bind.def:253 +#, c-format +msgid "%s: cannot read: %s" +msgstr "%s: klarte ikke Ã¥ lese: %s" + +#: builtins/bind.def:270 +#, c-format +msgid "`%s': cannot unbind" +msgstr "«%s»: klarte ikke Ã¥ fjerne tildeling" + +#: builtins/bind.def:308 builtins/bind.def:338 +#, c-format +msgid "`%s': unknown function name" +msgstr "«%s»: ukjent funksjonsnavn" + +#: builtins/bind.def:316 +#, c-format +msgid "%s is not bound to any keys.\n" +msgstr "%s er ikke tilknyttet en knapp.\n" + +#: builtins/bind.def:320 +#, c-format +msgid "%s can be invoked via " +msgstr "%s kan startes via" + +#: builtins/break.def:79 builtins/break.def:121 +msgid "loop count" +msgstr "antall sløyfer" + +#: builtins/break.def:141 +msgid "only meaningful in a `for', `while', or `until' loop" +msgstr "gir bare mening i «for»-, «while»- og «until»-sløyfer" + +#: builtins/caller.def:136 +msgid "" +"Returns the context of the current subroutine call.\n" +" \n" +" Without EXPR, returns " +msgstr "" +"Viser kontekst for kall av gjeldende underrutine.\n" +" \n" +" Hvis EXPR mangler, vises" + +#: builtins/cd.def:321 +msgid "HOME not set" +msgstr "HOME har ingen verdi" + +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 +msgid "too many arguments" +msgstr "for mange argumenter" + +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "ingen annen mappe" + +#: builtins/cd.def:347 +msgid "OLDPWD not set" +msgstr "OLDPWD har ingen verdi" + +#: builtins/common.c:102 +#, c-format +msgid "line %d: " +msgstr "linje %d: " + +#: builtins/common.c:140 error.c:265 +#, c-format +msgid "warning: " +msgstr "advarsel:" + +#: builtins/common.c:154 +#, c-format +msgid "%s: usage: " +msgstr "%s: bruk: " + +#: builtins/common.c:199 shell.c:514 shell.c:825 +#, c-format +msgid "%s: option requires an argument" +msgstr "%s: valget krever et argument" + +#: builtins/common.c:206 +#, c-format +msgid "%s: numeric argument required" +msgstr "%s: valget krever et tall-argument" + +#: builtins/common.c:213 +#, c-format +msgid "%s: not found" +msgstr "%s: ikke funnet" + +#: builtins/common.c:222 shell.c:838 +#, c-format +msgid "%s: invalid option" +msgstr "%s: ugyldig valg" + +#: builtins/common.c:229 +#, c-format +msgid "%s: invalid option name" +msgstr "%s: ugyldig valgnavn" + +#: builtins/common.c:236 general.c:293 general.c:298 +#, c-format +msgid "`%s': not a valid identifier" +msgstr "«%s»: ugyldig navn" + +#: builtins/common.c:246 +msgid "invalid octal number" +msgstr "ugyldig oktal-tall" + +#: builtins/common.c:248 +msgid "invalid hex number" +msgstr "ugldig heksadesimalt tall" + +#: builtins/common.c:250 expr.c:1473 +msgid "invalid number" +msgstr "ugyldig tall" + +#: builtins/common.c:258 +#, c-format +msgid "%s: invalid signal specification" +msgstr "%s: ugyldig signalspesifikasjon" + +#: builtins/common.c:265 +#, c-format +msgid "`%s': not a pid or valid job spec" +msgstr "«%s» er hverken hverken et PID eller en gyldig jobbspesifikasjon" + +#: builtins/common.c:272 error.c:511 +#, c-format +msgid "%s: readonly variable" +msgstr "%s: skrivebeskyttet variabel" + +#: builtins/common.c:280 +#, c-format +msgid "%s: %s out of range" +msgstr "%s: %s er utenfor rekkevidde" + +#: builtins/common.c:280 builtins/common.c:282 +msgid "argument" +msgstr "argument" + +#: builtins/common.c:282 +#, c-format +msgid "%s out of range" +msgstr "%s er utenfor rekkevidde" + +#: builtins/common.c:290 +#, c-format +msgid "%s: no such job" +msgstr "%s: jobben finnes ikke" + +#: builtins/common.c:298 +#, c-format +msgid "%s: no job control" +msgstr "%s: ingen jobbkontroll" + +#: builtins/common.c:300 +msgid "no job control" +msgstr "ingen jobbkontroll" + +#: builtins/common.c:310 +#, c-format +msgid "%s: restricted" +msgstr "%s: begrenset" + +#: builtins/common.c:312 +msgid "restricted" +msgstr "begrenset" + +#: builtins/common.c:320 +#, c-format +msgid "%s: not a shell builtin" +msgstr "%s: ikke innebygd i skall" + +#: builtins/common.c:329 +#, c-format +msgid "write error: %s" +msgstr "skrivefeil: %s" + +#: builtins/common.c:337 +#, c-format +msgid "error setting terminal attributes: %s" +msgstr "feil ved endring av terminal-egenskaper: %s" + +#: builtins/common.c:339 +#, c-format +msgid "error getting terminal attributes: %s" +msgstr "feil ved henting av terminal-egenskaper: %s" + +#: builtins/common.c:585 +#, c-format +msgid "%s: error retrieving current directory: %s: %s\n" +msgstr "%s: feil ved henting av gjeldende mappe: %s: %s\n" + +#: builtins/common.c:651 builtins/common.c:653 +#, c-format +msgid "%s: ambiguous job spec" +msgstr "%s: flertydig jobbspesifikasjon" + +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "hjelp er ikke tilgjengelig for denne versjonen" + +#: builtins/complete.def:278 +#, c-format +msgid "%s: invalid action name" +msgstr "%s: ugyldig handlingsnavn" + +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 +#, c-format +msgid "%s: no completion specification" +msgstr "%s: ingen spesifikasjon for fullføring" + +#: builtins/complete.def:699 +msgid "warning: -F option may not work as you expect" +msgstr "advarsel: valget «-F» virker kanskje ikke slik du forventer" + +#: builtins/complete.def:701 +msgid "warning: -C option may not work as you expect" +msgstr "advarsel: valget «-C» virker kanskje ikke slik du forventer" + +#: builtins/complete.def:831 +msgid "not currently executing completion function" +msgstr "fullføringsfunksjon kjøres ikke nÃ¥" + +#: builtins/declare.def:127 +msgid "can only be used in a function" +msgstr "kan bare brukes i funksjoner" + +#: builtins/declare.def:332 builtins/declare.def:685 +#, c-format +msgid "%s: reference variable cannot be an array" +msgstr "%s: referansevariabler kan ikke være tabeller (arrays)" + +#: builtins/declare.def:343 variables.c:2959 +#, c-format +msgid "%s: nameref variable self references not allowed" +msgstr "%s: navnref.-variabler kan ikke referere til seg selv" + +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: sirkulær navnreferanse" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: ugyldig variabelnavn for navnreferanse" + +#: builtins/declare.def:463 +msgid "cannot use `-f' to make functions" +msgstr "valget«-f» kan ikke brukes til Ã¥ lage funksjoner" + +#: builtins/declare.def:475 execute_cmd.c:5632 +#, c-format +msgid "%s: readonly function" +msgstr "%s: skrivebeskyttet funksjon" + +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: sammensatt tabell-tideling i hermetegn er utgÃ¥tt" + +#: builtins/declare.def:767 +#, c-format +msgid "%s: cannot destroy array variables in this way" +msgstr "%s: tabellvariabler kan ikke ødelegges pÃ¥ denne mÃ¥ten" + +#: builtins/declare.def:774 builtins/read.def:751 +#, c-format +msgid "%s: cannot convert associative to indexed array" +msgstr "%s: assosiative tabeller kan ikke konverteres til indekserte tabeller" + +#: builtins/enable.def:143 builtins/enable.def:151 +msgid "dynamic loading not available" +msgstr "dynamisk innlasting er ikke tilgjengelig" + +#: builtins/enable.def:343 +#, c-format +msgid "cannot open shared object %s: %s" +msgstr "klarte ikke Ã¥ Ã¥pne delt objekt %s: %s" + +#: builtins/enable.def:369 +#, c-format +msgid "cannot find %s in shared object %s: %s" +msgstr "fant ikke %s i delt objekt %s: %s" + +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "innlastingsfunksjon for %s førte til feilkode (%d). Ikke lastet inn" + +#: builtins/enable.def:512 +#, c-format +msgid "%s: not dynamically loaded" +msgstr "%s: ikke dynamisk innlastet" + +#: builtins/enable.def:538 +#, c-format +msgid "%s: cannot delete: %s" +msgstr "%s: klarte ikke Ã¥ slette: %s" + +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 +#, c-format +msgid "%s: is a directory" +msgstr "%s: er en mappe" + +#: builtins/evalfile.c:150 +#, c-format +msgid "%s: not a regular file" +msgstr "%s: ikke en vanlig fil" + +#: builtins/evalfile.c:159 +#, c-format +msgid "%s: file is too large" +msgstr "%s: fila er for stor" + +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 +#, c-format +msgid "%s: cannot execute binary file" +msgstr "%s: klarte ikke Ã¥ kjøre binærfil" + +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 +#, c-format +msgid "%s: cannot execute: %s" +msgstr "%s: klarte ikke Ã¥ kjøre: %s" + +#: builtins/exit.def:67 +#, c-format +msgid "logout\n" +msgstr "logg ut\n" + +#: builtins/exit.def:92 +msgid "not login shell: use `exit'" +msgstr "ikke innloggingsskall. Bruk «exit»" + +#: builtins/exit.def:124 +#, c-format +msgid "There are stopped jobs.\n" +msgstr "Bakgrunnsjobb(er) venter.\n" + +#: builtins/exit.def:126 +#, c-format +msgid "There are running jobs.\n" +msgstr "Bakgrunnsjobb(er) kjører.\n" + +#: builtins/fc.def:269 +msgid "no command found" +msgstr "fant ingen kommando" + +#: builtins/fc.def:327 builtins/fc.def:376 +msgid "history specification" +msgstr "historikk-spesifikasjon" + +#: builtins/fc.def:397 +#, c-format +msgid "%s: cannot open temp file: %s" +msgstr "%s: klarte ikke Ã¥ Ã¥pne midlertidig fil: %s" + +#: builtins/fg_bg.def:153 builtins/jobs.def:284 +msgid "current" +msgstr "gjeldende" + +#: builtins/fg_bg.def:162 +#, c-format +msgid "job %d started without job control" +msgstr "jobb %d startet uten jobbkontroll" + +#: builtins/getopt.c:110 +#, c-format +msgid "%s: illegal option -- %c\n" +msgstr "%s: -- %c er et ugyldig valg\n" + +#: builtins/getopt.c:111 +#, c-format +msgid "%s: option requires an argument -- %c\n" +msgstr "%s: -- %c krever et argument\n" + +#: builtins/hash.def:92 +msgid "hashing disabled" +msgstr "nøkkelsummering er slÃ¥tt av" + +#: builtins/hash.def:139 +#, c-format +msgid "%s: hash table empty\n" +msgstr "%s: kontrollsum-tabell er tom\n" + +#: builtins/hash.def:254 +#, c-format +msgid "hits\tcommand\n" +msgstr "treff\tkommando\n" + +#: builtins/help.def:135 +#, c-format +msgid "Shell commands matching keyword `" +msgid_plural "Shell commands matching keywords `" +msgstr[0] "Skallkommandoer som samsvarer med nøkkelordet `" +msgstr[1] "Skallkommandoer som samsvarer med nøkkelordene `" + +#: builtins/help.def:187 +#, c-format +msgid "" +"no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." +msgstr "" +"ingen hjelpeemner samsvarer med «%s». Prøv «help help», «man -k %s» eller «info " +"%s»." + +#: builtins/help.def:226 +#, c-format +msgid "%s: cannot open: %s" +msgstr "%s: klarte ikke Ã¥ Ã¥pne: %s" + +#: builtins/help.def:526 +#, c-format +msgid "" +"These shell commands are defined internally. Type `help' to see this list.\n" +"Type `help name' to find out more about the function `name'.\n" +"Use `info bash' to find out more about the shell in general.\n" +"Use `man -k' or `info' to find out more about commands not in this list.\n" +"\n" +"A star (*) next to a name means that the command is disabled.\n" +"\n" +msgstr "" +"Disse skallkommandoene er internt definert. Skriv «help» for Ã¥ se denne " +"lista.\n" +"Skriv «help name» for Ã¥ finne ut mer om funksjonen «name».\n" +"Bruk «info bash» for Ã¥ finne generell info om skallet.\n" +"Bruk «man -k» eller «info» for Ã¥ finne ut mer om kommandoer som ikke er pÃ¥ " +"denne lista.\n" +"\n" +"Stjerne (*) ved siden av et kommandonavn betyr at gjeldende kommando er " +"slÃ¥tt av.\n" +"\n" + +#: builtins/history.def:155 +msgid "cannot use more than one of -anrw" +msgstr "du kan ikke bruke flere enn ett av valgene -anrw pÃ¥ én gang" + +#: builtins/history.def:187 +msgid "history position" +msgstr "historikkposisjon" + +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: ugyldig argument" + +#: builtins/history.def:375 +#, c-format +msgid "%s: history expansion failed" +msgstr "%s: historikk-utvidelse mislyktes" + +#: builtins/inlib.def:71 +#, c-format +msgid "%s: inlib failed" +msgstr "%s: inlib mislyktes" + +#: builtins/jobs.def:109 +msgid "no other options allowed with `-x'" +msgstr "valget «-x» kan ikke brukes i kombinasjon med andre valg" + +#: builtins/kill.def:202 +#, c-format +msgid "%s: arguments must be process or job IDs" +msgstr "%s: argumenter mÃ¥ være prosess- eller jobb-ID-er" + +#: builtins/kill.def:265 +msgid "Unknown error" +msgstr "Ukjent feil" + +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 +msgid "expression expected" +msgstr "forventet uttrykk" + +#: builtins/mapfile.def:178 +#, c-format +msgid "%s: not an indexed array" +msgstr "%s: ikke en indeksert tabell" + +#: builtins/mapfile.def:272 builtins/read.def:306 +#, c-format +msgid "%s: invalid file descriptor specification" +msgstr "%s: ugyldig spesifikasjon av fildeskriptor" + +#: builtins/mapfile.def:280 builtins/read.def:313 +#, c-format +msgid "%d: invalid file descriptor: %s" +msgstr "%d: ugyldig fildeskriptor: %s" + +#: builtins/mapfile.def:289 builtins/mapfile.def:327 +#, c-format +msgid "%s: invalid line count" +msgstr "%s: ugyldig linjeantall" + +#: builtins/mapfile.def:300 +#, c-format +msgid "%s: invalid array origin" +msgstr "%s: ugyldig tabellopphav" + +#: builtins/mapfile.def:317 +#, c-format +msgid "%s: invalid callback quantum" +msgstr "%s: ugyldig tilbakekallsmengde" + +#: builtins/mapfile.def:350 +msgid "empty array variable name" +msgstr "tomt navn pÃ¥ tabellvariabel" + +#: builtins/mapfile.def:371 +msgid "array variable support required" +msgstr "støtte for tabellvariabler kreves" + +#: builtins/printf.def:412 +#, c-format +msgid "`%s': missing format character" +msgstr "«%s»: formattegn mangler" + +#: builtins/printf.def:467 +#, c-format +msgid "`%c': invalid time format specification" +msgstr "«%c»: ugyldig spesifikasjon av tidsformat" + +#: builtins/printf.def:669 +#, c-format +msgid "`%c': invalid format character" +msgstr "«%c»: ugyldig formattegn" + +#: builtins/printf.def:695 +#, c-format +msgid "warning: %s: %s" +msgstr "advarsel: %s: %s" + +#: builtins/printf.def:781 +#, c-format +msgid "format parsing problem: %s" +msgstr "problem med tolkning av format: %s" + +#: builtins/printf.def:878 +msgid "missing hex digit for \\x" +msgstr "heks-siffer mangler for \\x" + +#: builtins/printf.def:893 +#, c-format +msgid "missing unicode digit for \\%c" +msgstr "unicode-siffer mangler for \\%c" + +#: builtins/pushd.def:199 +msgid "no other directory" +msgstr "ingen annen mappe" + +#: builtins/pushd.def:360 +#, c-format +msgid "%s: invalid argument" +msgstr "%s: ugyldig argument" + +#: builtins/pushd.def:475 +msgid "" +msgstr "" + +#: builtins/pushd.def:519 +msgid "directory stack empty" +msgstr "mappestabel er tom" + +#: builtins/pushd.def:521 +msgid "directory stack index" +msgstr "mappestabel-indeks" + +#: builtins/pushd.def:696 +msgid "" +"Display the list of currently remembered directories. Directories\n" +" find their way onto the list with the `pushd' command; you can get\n" +" back up through the list with the `popd' command.\n" +" \n" +" Options:\n" +" -c\tclear the directory stack by deleting all of the elements\n" +" -l\tdo not print tilde-prefixed versions of directories relative\n" +" \tto your home directory\n" +" -p\tprint the directory stack with one entry per line\n" +" -v\tprint the directory stack with one entry per line prefixed\n" +" \twith its position in the stack\n" +" \n" +" Arguments:\n" +" +N\tDisplays the Nth entry counting from the left of the list shown " +"by\n" +" \tdirs when invoked without options, starting with zero.\n" +" \n" +" -N\tDisplays the Nth entry counting from the right of the list shown " +"by\n" +"\tdirs when invoked without options, starting with zero." +msgstr "" +"Vis liste over mapper som blir husket. Mapper\n" +" havner pÃ¥ denne lista med kommandoen «pushd». Du kan gÃ¥\n" +" tilbake i lista med kommandoen «popd».\n" +" \n" +" Valg:\n" +" -c\ttøm mappestabel ved Ã¥ slette alle elementer\n" +" -l\tikke legg til tildeprefiks pÃ¥ stier som er relative\n" +" \ttil gjeldende hjemmemappe\n" +" -p\tskriv ut mappetsabel med ett element per linje\n" +" -v\tskriv ut mappestabel med ett element per linje som har\n" +" \tstabelposisjon som prefiks\n" +" \n" +" Argumenter:\n" +" +N\tVis N-te mappe talt fra null\n" +" \tpÃ¥ venstre side av lista (gjelder nÃ¥r programmet kjøres uten valg).\n" +" \n" +" -N\tVis N-te mappe talt fra null\n" +"\tpÃ¥ høyre side av lista (gjelder nÃ¥r programmet kjøres uten valg)." + +#: builtins/pushd.def:718 +msgid "" +"Adds a directory to the top of the directory stack, or rotates\n" +" the stack, making the new top of the stack the current working\n" +" directory. With no arguments, exchanges the top two directories.\n" +" \n" +" Options:\n" +" -n\tSuppresses the normal change of directory when adding\n" +" \tdirectories to the stack, so only the stack is manipulated.\n" +" \n" +" Arguments:\n" +" +N\tRotates the stack so that the Nth directory (counting\n" +" \tfrom the left of the list shown by `dirs', starting with\n" +" \tzero) is at the top.\n" +" \n" +" -N\tRotates the stack so that the Nth directory (counting\n" +" \tfrom the right of the list shown by `dirs', starting with\n" +" \tzero) is at the top.\n" +" \n" +" dir\tAdds DIR to the directory stack at the top, making it the\n" +" \tnew current working directory.\n" +" \n" +" The `dirs' builtin displays the directory stack." +msgstr "" +"Legger til en mappe i toppen av mappestabelen, eller rullerer\n" +" stabelen slik at øverste mappe blir gjeldende arbeidsmappe.\n" +" Hvis ingen argumenter er valgt, bytter de to øverste mappene plass.\n" +" \n" +" Valg:\n" +" -n\tLar være Ã¥ bytte mappe nÃ¥r mapper legges til i stabelen,\n" +" \tslik at kun selve stabelen blir endret.\n" +" \n" +" Argumenter:\n" +" +N\tRullerer stabelen slik at N-te mappe - talt fra\n" +" \tnull til venstre i lista etter «dirs» - havner øverst.\n" +" \n" +" -N\tRullerer stabelen slik at N-te mappe - talt fra\n" +" \tnull til høyre i lista etter «dirs» - havner øverst\n" +" \n" +" dir\tLegger til DIR i toppen av mappestabelen, og tar den\n" +" \ti bruk som gjeldende arbeidsmappe.\n" +" \n" +" Den innebygde funksjonen «dirs» viser mappestabelen." + +#: builtins/pushd.def:743 +msgid "" +"Removes entries from the directory stack. With no arguments, removes\n" +" the top directory from the stack, and changes to the new top directory.\n" +" \n" +" Options:\n" +" -n\tSuppresses the normal change of directory when removing\n" +" \tdirectories from the stack, so only the stack is manipulated.\n" +" \n" +" Arguments:\n" +" +N\tRemoves the Nth entry counting from the left of the list\n" +" \tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \tremoves the first directory, `popd +1' the second.\n" +" \n" +" -N\tRemoves the Nth entry counting from the right of the list\n" +" \tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \tremoves the last directory, `popd -1' the next to last.\n" +" \n" +" The `dirs' builtin displays the directory stack." +msgstr "" +"Fjerner mapper fra mappestabelen. Hvis ingen argumenter brukes,\n" +" fjerner programmet øverste mappe fra stabelen og bytter til det som " +"deretter er øverste mappe.\n" +" \n" +" Valg:\n" +" -n\tLar være Ã¥ bytte mappe nÃ¥r mapper fjernes fra stabelen,\n" +" \tslik at bare stabelen blir endret.\n" +" \n" +" Argumenter:\n" +" +N\tFjerner N-te oppføring - talt fra null til venstre i lista\n" +" \tetter «dirs». For eksempel fjerner «popd +0»\n" +" \tførste mappe, og «popd +1» den andre.\n" +" \n" +" -N\tFjerner N-te oppføring - talt fra null til høyre i lista\n" +" \tetter «dirs». For eksempel fjerner «popd -0»\n" +" \tsiste mappe, og «popd -1» den nest siste.\n" +" \n" +" Den innebygde funksjonen «dirs» viser mappestabelen." + +#: builtins/read.def:279 +#, c-format +msgid "%s: invalid timeout specification" +msgstr "%s: ugyldig spesifikasjon av tidsavbrudd" + +#: builtins/read.def:696 +#, c-format +msgid "read error: %d: %s" +msgstr "lesefeil: %d: %s" + +#: builtins/return.def:71 +msgid "can only `return' from a function or sourced script" +msgstr "du kan bare «return» fra en funksjon eller kildeskript" + +#: builtins/set.def:841 +msgid "cannot simultaneously unset a function and a variable" +msgstr "" +"du kan ikke utføre «unset» (tømme bÃ¥de en funksjon og en variabel for " +"verdier) samtidig" + +#: builtins/set.def:888 +#, c-format +msgid "%s: cannot unset" +msgstr "%s: klarte ikke Ã¥ fjerne verdi" + +#: builtins/set.def:909 variables.c:3389 +#, c-format +msgid "%s: cannot unset: readonly %s" +msgstr "%s: klarte ikke Ã¥ fjerne verdi fra skrivebeskyttet %s" + +#: builtins/set.def:922 +#, c-format +msgid "%s: not an array variable" +msgstr "%s: ikke en tabellvariabel" + +#: builtins/setattr.def:191 +#, c-format +msgid "%s: not a function" +msgstr "%s: ikke en funksjon" + +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: klarte ikke Ã¥ eksportere" + +#: builtins/shift.def:73 builtins/shift.def:79 +msgid "shift count" +msgstr "shift-antall" + +#: builtins/shopt.def:289 +msgid "cannot set and unset shell options simultaneously" +msgstr "du kan ikke bÃ¥de definere og fjerne skallvalg samtidig" + +#: builtins/shopt.def:391 +#, c-format +msgid "%s: invalid shell option name" +msgstr "%s: ugyldig navn pÃ¥ skallvalg" + +#: builtins/source.def:131 +msgid "filename argument required" +msgstr "filnavn-argument kreves" + +#: builtins/source.def:157 +#, c-format +msgid "%s: file not found" +msgstr "%s: fant ikke fil" + +#: builtins/suspend.def:102 +msgid "cannot suspend" +msgstr "klarte ikke Ã¥ sette i hvilemodus" + +#: builtins/suspend.def:112 +msgid "cannot suspend a login shell" +msgstr "klarte ikke Ã¥ sette et innloggingsskall i hvilemodus" + +#: builtins/type.def:236 +#, c-format +msgid "%s is aliased to `%s'\n" +msgstr "%s har alias «%s»\n" + +#: builtins/type.def:257 +#, c-format +msgid "%s is a shell keyword\n" +msgstr "%s er et skall-nøkkelord\n" + +#: builtins/type.def:276 +#, c-format +msgid "%s is a function\n" +msgstr "%s er en funksjon\n" + +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s er en innebygd skallkommando\n" + +#: builtins/type.def:302 +#, c-format +msgid "%s is a shell builtin\n" +msgstr "%s er en innebygget skallfunksjon\n" + +#: builtins/type.def:324 builtins/type.def:409 +#, c-format +msgid "%s is %s\n" +msgstr "%s er %s\n" + +#: builtins/type.def:344 +#, c-format +msgid "%s is hashed (%s)\n" +msgstr "%s er nøkkelsummert («hashed») (%s)\n" + +#: builtins/ulimit.def:398 +#, c-format +msgid "%s: invalid limit argument" +msgstr "%s: ugyldig grenseargument" + +#: builtins/ulimit.def:424 +#, c-format +msgid "`%c': bad command" +msgstr "«%c»: ugyldig kommando" + +#: builtins/ulimit.def:453 +#, c-format +msgid "%s: cannot get limit: %s" +msgstr "%s: klarte ikke Ã¥ hente grense: %s" + +#: builtins/ulimit.def:479 +msgid "limit" +msgstr "grense" + +#: builtins/ulimit.def:491 builtins/ulimit.def:791 +#, c-format +msgid "%s: cannot modify limit: %s" +msgstr "%s: klarte ikke Ã¥ endre grense: %s" + +#: builtins/umask.def:115 +msgid "octal number" +msgstr "oktalt tall" + +#: builtins/umask.def:232 +#, c-format +msgid "`%c': invalid symbolic mode operator" +msgstr "«%c»: ugyldig symbolsk modus-operatør" + +#: builtins/umask.def:287 +#, c-format +msgid "`%c': invalid symbolic mode character" +msgstr "«%c»: ugyldig symbolsk modustegn" + +#: error.c:90 error.c:348 error.c:350 error.c:352 +msgid " line " +msgstr " linje " + +#: error.c:165 +#, c-format +msgid "last command: %s\n" +msgstr "forrige kommando: %s\n" + +#: error.c:173 +#, c-format +msgid "Aborting..." +msgstr "Abryter …" + +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORM: " + +#: error.c:463 +msgid "unknown command error" +msgstr "ukjent kommandofeil" + +#: error.c:464 +msgid "bad command type" +msgstr "ugyldig kommandotype" + +#: error.c:465 +msgid "bad connector" +msgstr "ugyldig tilkobling" + +#: error.c:466 +msgid "bad jump" +msgstr "ugyldig hopp" + +#: error.c:504 +#, c-format +msgid "%s: unbound variable" +msgstr "%s: utildelt variabel" + +#: eval.c:209 +#, c-format +msgid "\atimed out waiting for input: auto-logout\n" +msgstr "\atidsavbrudd for inndata: auto-utlogging\n" + +#: execute_cmd.c:527 +#, c-format +msgid "cannot redirect standard input from /dev/null: %s" +msgstr "klarte ikke Ã¥ videresende standard inndata fra «/dev/null». %s" + +#: execute_cmd.c:1275 +#, c-format +msgid "TIMEFORMAT: `%c': invalid format character" +msgstr "TIMEFORMAT: «%c» er et ugyldig formattegn" + +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 +msgid "pipe error" +msgstr "datarør-feil" + +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" +"eval: grensa for nivÃ¥er av eval-funksjoner i eval-funksjoner (%d) er " +"overskredet" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: grensa for nivÃ¥er av kilder i kilder (%d) er overskredet" + +#: execute_cmd.c:4616 +#, c-format +msgid "%s: maximum function nesting level exceeded (%d)" +msgstr "%s: grensa for nivÃ¥er av funksjoner i funksjoner (%d) er overskredet" + +#: execute_cmd.c:5144 +#, c-format +msgid "%s: restricted: cannot specify `/' in command names" +msgstr "%s: ikke tillatt: kommandonavn kan ikke inneholde «/»" + +#: execute_cmd.c:5232 +#, c-format +msgid "%s: command not found" +msgstr "%s: fant ikke kommando" + +#: execute_cmd.c:5470 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: execute_cmd.c:5508 +#, c-format +msgid "%s: %s: bad interpreter" +msgstr "%s: %s: ugyldig tolk" + +#: execute_cmd.c:5545 +#, c-format +msgid "%s: cannot execute binary file: %s" +msgstr "%s: klarte ikke Ã¥ kjøre binærfil: %s" + +#: execute_cmd.c:5623 +#, c-format +msgid "`%s': is a special builtin" +msgstr "«%s» er en innebygd spesialfunksjon" + +#: execute_cmd.c:5675 +#, c-format +msgid "cannot duplicate fd %d to fd %d" +msgstr "klarte ikke Ã¥ duplisere fd %d til fd %d" + +#: expr.c:259 +msgid "expression recursion level exceeded" +msgstr "grensa for rekursjonsnivÃ¥er i uttrykk er overskredet" + +#: expr.c:283 +msgid "recursion stack underflow" +msgstr "rekursjonsstabelen er tom" + +#: expr.c:431 +msgid "syntax error in expression" +msgstr "uttrykk inneholder syntaksfeil" + +#: expr.c:475 +msgid "attempted assignment to non-variable" +msgstr "du forsøkte Ã¥ tilordne en verdi til noe som ikke er en variabel" + +#: expr.c:495 expr.c:858 +msgid "division by 0" +msgstr "forsøkte Ã¥ dele pÃ¥ 0" + +#: expr.c:542 +msgid "bug: bad expassign token" +msgstr "programfeil: ugyldig expassign-symbol" + +#: expr.c:595 +msgid "`:' expected for conditional expression" +msgstr "forventet «:» for betinget uttrykk" + +#: expr.c:919 +msgid "exponent less than 0" +msgstr "eksponent er lavere enn 0" + +#: expr.c:976 +msgid "identifier expected after pre-increment or pre-decrement" +msgstr "forventet identifikator etter pre-økning eller pre-forminskelse" + +#: expr.c:1002 +msgid "missing `)'" +msgstr "mangler «)»" + +#: expr.c:1053 expr.c:1393 +msgid "syntax error: operand expected" +msgstr "syntaksfeil: forventet operand" + +#: expr.c:1395 +msgid "syntax error: invalid arithmetic operator" +msgstr "syntaksfeil: ugyldig aritmetisk operatør" + +#: expr.c:1419 +#, c-format +msgid "%s%s%s: %s (error token is \"%s\")" +msgstr "%s%s%s: %s (feilaktig symbol er «%s»)" + +#: expr.c:1477 +msgid "invalid arithmetic base" +msgstr "ugyldig aritmetisk grunntall" + +#: expr.c:1497 +msgid "value too great for base" +msgstr "verdien er for høy for grunntallet" + +#: expr.c:1546 +#, c-format +msgid "%s: expression error\n" +msgstr "%s: feil i uttrykk\n" + +#: general.c:68 +msgid "getcwd: cannot access parent directories" +msgstr "getcwd: fikk ikke tilgang til foreldermapper" + +#: input.c:102 subst.c:5858 +#, c-format +msgid "cannot reset nodelay mode for fd %d" +msgstr "klarte ikke Ã¥ tilbakestille nodelay-modus for fd %d" + +#: input.c:271 +#, c-format +msgid "cannot allocate new file descriptor for bash input from fd %d" +msgstr "klarte ikke Ã¥ knytte ny fildeskriptor til bash-inndata fra fd %d" + +#: input.c:279 +#, c-format +msgid "save_bash_input: buffer already exists for new fd %d" +msgstr "save_bash_input: mellomlager for ny fd %d finnes allerede" + +#: jobs.c:527 +msgid "start_pipeline: pgrp pipe" +msgstr "start_pipeline: pgrp-datarør" + +#: jobs.c:1035 +#, c-format +msgid "forked pid %d appears in running job %d" +msgstr "kopiert pid %d finnes i kjørende jobb %d" + +#: jobs.c:1154 +#, c-format +msgid "deleting stopped job %d with process group %ld" +msgstr "sletter ventende bakgrunnsjobb %d med prosessgruppe %ld" + +#: jobs.c:1258 +#, c-format +msgid "add_process: process %5ld (%s) in the_pipeline" +msgstr "add_process: prosess %5ld (%s) i _kommandokø" + +#: jobs.c:1261 +#, c-format +msgid "add_process: pid %5ld (%s) marked as still alive" +msgstr "add_process: markert PID %5ld (%s) som levende" + +#: jobs.c:1590 +#, c-format +msgid "describe_pid: %ld: no such pid" +msgstr "describe_pid: %ld: pid-en finnes ikke" + +#: jobs.c:1605 +#, c-format +msgid "Signal %d" +msgstr "Signal %d" + +#: jobs.c:1619 jobs.c:1645 +msgid "Done" +msgstr "Ferdig" + +#: jobs.c:1624 siglist.c:123 +msgid "Stopped" +msgstr "Venter" + +#: jobs.c:1628 +#, c-format +msgid "Stopped(%s)" +msgstr "Venter(%s)" + +#: jobs.c:1632 +msgid "Running" +msgstr "Kjører" + +#: jobs.c:1649 +#, c-format +msgid "Done(%d)" +msgstr "Ferdig(%d)" + +#: jobs.c:1651 +#, c-format +msgid "Exit %d" +msgstr "Avsluttet %d" + +#: jobs.c:1654 +msgid "Unknown status" +msgstr "Ukjent status" + +#: jobs.c:1741 +#, c-format +msgid "(core dumped) " +msgstr "(kjerne lagret i fil) " + +#: jobs.c:1760 +#, c-format +msgid " (wd: %s)" +msgstr " (wd: %s)" + +#: jobs.c:1985 +#, c-format +msgid "child setpgid (%ld to %ld)" +msgstr "underprosess setpgid (%ld til %ld)" + +#: jobs.c:2347 nojobs.c:654 +#, c-format +msgid "wait: pid %ld is not a child of this shell" +msgstr "wait: pid %ld er ikke en underprosess av dette skallet" + +#: jobs.c:2602 +#, c-format +msgid "wait_for: No record of process %ld" +msgstr "wait_for: Ingen kjennskap til prosess %ld" + +#: jobs.c:2929 +#, c-format +msgid "wait_for_job: job %d is stopped" +msgstr "wait_for_job: prosess %d venter" + +#: jobs.c:3221 +#, c-format +msgid "%s: job has terminated" +msgstr "%s: jobben er avsluttet" + +#: jobs.c:3230 +#, c-format +msgid "%s: job %d already in background" +msgstr "%s: jobb %d kjører allerede i bakgrunnen" + +#: jobs.c:3455 +msgid "waitchld: turning on WNOHANG to avoid indefinite block" +msgstr "waitchld: slÃ¥r pÃ¥ WNOHANG for Ã¥ unngÃ¥ kronisk blokkering" + +#: jobs.c:3970 +#, c-format +msgid "%s: line %d: " +msgstr "%s: linje %d: " + +#: jobs.c:3984 nojobs.c:897 +#, c-format +msgid " (core dumped)" +msgstr " (kjerne lagret i fil)" + +#: jobs.c:3996 jobs.c:4009 +#, c-format +msgid "(wd now: %s)\n" +msgstr "(wd nÃ¥: %s)\n" + +#: jobs.c:4041 +msgid "initialize_job_control: getpgrp failed" +msgstr "initialize_job_control: getpgrp mislyktes" + +#: jobs.c:4104 +msgid "initialize_job_control: line discipline" +msgstr "initialize_job_control: linjeregler" + +#: jobs.c:4114 +msgid "initialize_job_control: setpgid" +msgstr "initialize_job_control: setpgid" + +#: jobs.c:4135 jobs.c:4144 +#, c-format +msgid "cannot set terminal process group (%d)" +msgstr "klarte ikke Ã¥ velge terminal-prosessgruppe (%d)" + +#: jobs.c:4149 +msgid "no job control in this shell" +msgstr "ingen jobbkontroll i dette skallet" + +#: lib/malloc/malloc.c:296 +#, c-format +msgid "malloc: failed assertion: %s\n" +msgstr "malloc: mislykket premiss: %s\n" + +#: lib/malloc/malloc.c:312 +#, c-format +msgid "" +"\r\n" +"malloc: %s:%d: assertion botched\r\n" +msgstr "" +"\r\n" +"malloc: %s:%d: urimelig premiss\r\n" + +#: lib/malloc/malloc.c:313 +msgid "unknown" +msgstr "ukjent" + +#: lib/malloc/malloc.c:801 +msgid "malloc: block on free list clobbered" +msgstr "malloc: rotete blokk pÃ¥ befrielsesliste" + +#: lib/malloc/malloc.c:878 +msgid "free: called with already freed block argument" +msgstr "free: ble bedt om Ã¥ behandle blokk som allerede er ledig" + +#: lib/malloc/malloc.c:881 +msgid "free: called with unallocated block argument" +msgstr "free: ble bedt om Ã¥ behandle blokk som ikke er tildelt" + +#: lib/malloc/malloc.c:900 +msgid "free: underflow detected; mh_nbytes out of range" +msgstr "free: tomt. mh_nbytes er utenfor rekkevidde" + +#: lib/malloc/malloc.c:906 +msgid "free: start and end chunk sizes differ" +msgstr "free: start- og sluttdel er av ulik størrelse" + +#: lib/malloc/malloc.c:1005 +msgid "realloc: called with unallocated block argument" +msgstr "realloc: ble bedt om Ã¥ behandle blokk som ikke er tildelt" + +#: lib/malloc/malloc.c:1020 +msgid "realloc: underflow detected; mh_nbytes out of range" +msgstr "realloc: tomt. mh_nbytes er utenfor rekkevidde" + +#: lib/malloc/malloc.c:1026 +msgid "realloc: start and end chunk sizes differ" +msgstr "realloc: start- og sluttdel er av ulik størrelse" + +#: lib/malloc/table.c:191 +#, c-format +msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" +msgstr "register_alloc: tildelingstabell er full med FIND_ALLOC?\n" + +#: lib/malloc/table.c:200 +#, c-format +msgid "register_alloc: %p already in table as allocated?\n" +msgstr "register_alloc: finnes %p allerede i tabellen som tildelt?\n" + +#: lib/malloc/table.c:253 +#, c-format +msgid "register_free: %p already in table as free?\n" +msgstr "register_free: finnes %p allerede i tabellen som ledig?\n" + +#: lib/sh/fmtulong.c:102 +msgid "invalid base" +msgstr "ugyldig grunntall" + +#: lib/sh/netopen.c:168 +#, c-format +msgid "%s: host unknown" +msgstr "%s: ukjent vert" + +#: lib/sh/netopen.c:175 +#, c-format +msgid "%s: invalid service" +msgstr "%s: ugyldig tjeneste" + +#: lib/sh/netopen.c:306 +#, c-format +msgid "%s: bad network path specification" +msgstr "%s: ugyldig spesifikasjon av nettverkssti" + +#: lib/sh/netopen.c:347 +msgid "network operations not supported" +msgstr "nettverkshandlinger støttes ikke" + +#: locale.c:200 +#, c-format +msgid "setlocale: LC_ALL: cannot change locale (%s)" +msgstr "setlocale: LC_ALL: klarte ikke Ã¥ bytte region (%s)" + +#: locale.c:202 +#, c-format +msgid "setlocale: LC_ALL: cannot change locale (%s): %s" +msgstr "setlocale: LC_ALL: klarte ikke Ã¥ bytte region (%s): %s" + +#: locale.c:259 +#, c-format +msgid "setlocale: %s: cannot change locale (%s)" +msgstr "setlocale: %s: klarte ikke Ã¥ bytte region (%s)" + +#: locale.c:261 +#, c-format +msgid "setlocale: %s: cannot change locale (%s): %s" +msgstr "setlocale: %s: klarte ikke Ã¥ bytte region (%s): %s" + +#: mailcheck.c:439 +msgid "You have mail in $_" +msgstr "Du har e-post i $_" + +#: mailcheck.c:464 +msgid "You have new mail in $_" +msgstr "Du har ny e-post i $_" + +#: mailcheck.c:480 +#, c-format +msgid "The mail in %s has been read\n" +msgstr "Posten i %s er lest\n" + +#: make_cmd.c:329 +msgid "syntax error: arithmetic expression required" +msgstr "syntaksfeil: aritmetisk uttrykk kreves" + +#: make_cmd.c:331 +msgid "syntax error: `;' unexpected" +msgstr "syntaksfeil: uforventet «;»" + +#: make_cmd.c:332 +#, c-format +msgid "syntax error: `((%s))'" +msgstr "syntaksfeil: «((%s))»" + +#: make_cmd.c:584 +#, c-format +msgid "make_here_document: bad instruction type %d" +msgstr "make_here_document: %d er en ugyldig instrukstype" + +#: make_cmd.c:669 +#, c-format +msgid "here-document at line %d delimited by end-of-file (wanted `%s')" +msgstr "here-dokument ved linje %d adskilt av slutt pÃ¥ fil (forventet «%s»)" + +#: make_cmd.c:768 +#, c-format +msgid "make_redirection: redirection instruction `%d' out of range" +msgstr "" +"make_redirection: videresendinginstruks «%d» er utenfor tillatt rekkevidde" + +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "grensa for maksimalt antall here-dokumenter er overskredet" + +#: parse.y:3390 parse.y:3748 +#, c-format +msgid "unexpected EOF while looking for matching `%c'" +msgstr "uforventet slutt pÃ¥ fil (EOF) under søk etter «%c»" + +#: parse.y:4410 +msgid "unexpected EOF while looking for `]]'" +msgstr "uforventet slutt pÃ¥ fil (EOF) under søk etter «]]»" + +#: parse.y:4415 +#, c-format +msgid "syntax error in conditional expression: unexpected token `%s'" +msgstr "syntaksfeil i betinget uttrykk: forventet ikke symbolet «%s»" + +#: parse.y:4419 +msgid "syntax error in conditional expression" +msgstr "syntaksfeil i betinget uttrykk" + +#: parse.y:4497 +#, c-format +msgid "unexpected token `%s', expected `)'" +msgstr "forventet ikke symbolet «%s», men «)»" + +#: parse.y:4501 +msgid "expected `)'" +msgstr "forventet «)»" + +#: parse.y:4529 +#, c-format +msgid "unexpected argument `%s' to conditional unary operator" +msgstr "«%s» er et uforventet argument for betinget unær operatør" + +#: parse.y:4533 +msgid "unexpected argument to conditional unary operator" +msgstr "uforventet argument for betinget unær operatør" + +#: parse.y:4579 +#, c-format +msgid "unexpected token `%s', conditional binary operator expected" +msgstr "«%s» er et uforventet symbol. Forventet betinget binær operatør" + +#: parse.y:4583 +msgid "conditional binary operator expected" +msgstr "forventet betinget binæroperatør" + +#: parse.y:4605 +#, c-format +msgid "unexpected argument `%s' to conditional binary operator" +msgstr "«%s» er et uforventet argument for betinget binæroperatør" + +#: parse.y:4609 +msgid "unexpected argument to conditional binary operator" +msgstr "uforventet argument for betinget binæroperatør" + +#: parse.y:4620 +#, c-format +msgid "unexpected token `%c' in conditional command" +msgstr "«%c» er et uforventet symbol i en betinget kommando" + +#: parse.y:4623 +#, c-format +msgid "unexpected token `%s' in conditional command" +msgstr "«%s» er et uforventet symbol i en betinget kommando" + +#: parse.y:4627 +#, c-format +msgid "unexpected token %d in conditional command" +msgstr "«%d» er et uforventet symbol i en betinget kommando" + +#: parse.y:5996 +#, c-format +msgid "syntax error near unexpected token `%s'" +msgstr "syntaksfeil ved «%s», som er et uforventet symbol" + +#: parse.y:6014 +#, c-format +msgid "syntax error near `%s'" +msgstr "syntaksfeil ved «%s»" + +#: parse.y:6024 +msgid "syntax error: unexpected end of file" +msgstr "syntaksfeil: uforventet slutt pÃ¥ fil" + +#: parse.y:6024 +msgid "syntax error" +msgstr "syntaksfeil" + +#: parse.y:6086 +#, c-format +msgid "Use \"%s\" to leave the shell.\n" +msgstr "Bruk «%s» for Ã¥ gÃ¥ ut av skallet.\n" + +#: parse.y:6248 +msgid "unexpected EOF while looking for matching `)'" +msgstr "uforventet slutt pÃ¥ fil (EOF) under søk etter «)»" + +#: pcomplete.c:1126 +#, c-format +msgid "completion: function `%s' not found" +msgstr "fullføring: fant ikke funksjonen «%s»" + +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + +#: pcomplib.c:182 +#, c-format +msgid "progcomp_insert: %s: NULL COMPSPEC" +msgstr "progcomp_insert: %s: NULL COMPSPEC" + +#: print_cmd.c:302 +#, c-format +msgid "print_command: bad connector `%d'" +msgstr "print_command: «%d» er en ugyldig tilkobling" + +#: print_cmd.c:375 +#, c-format +msgid "xtrace_set: %d: invalid file descriptor" +msgstr "xtrace_set: %d: ugyldig fildeskriptor" + +#: print_cmd.c:380 +msgid "xtrace_set: NULL file pointer" +msgstr "xtrace_set: filpeker er NULL" + +#: print_cmd.c:384 +#, c-format +msgid "xtrace fd (%d) != fileno xtrace fp (%d)" +msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" + +#: print_cmd.c:1534 +#, c-format +msgid "cprintf: `%c': invalid format character" +msgstr "cprintf: «%c»: ugyldig formattegn" + +#: redir.c:124 redir.c:171 +msgid "file descriptor out of range" +msgstr "fildeskriptor er utenfor tillatt rekkevidde" + +#: redir.c:178 +#, c-format +msgid "%s: ambiguous redirect" +msgstr "%s: flertydig videresending" + +#: redir.c:182 +#, c-format +msgid "%s: cannot overwrite existing file" +msgstr "%s: klarte ikke Ã¥ overskrive fil" + +#: redir.c:187 +#, c-format +msgid "%s: restricted: cannot redirect output" +msgstr "%s: ikke tillatt: klarte ikke Ã¥ videresende utdata" + +#: redir.c:192 +#, c-format +msgid "cannot create temp file for here-document: %s" +msgstr "klarte ikke Ã¥ lage midlertidig fil for here-dokument: %s" + +#: redir.c:196 +#, c-format +msgid "%s: cannot assign fd to variable" +msgstr "%s: klarte ikke Ã¥ knytte fd til variabel" + +#: redir.c:586 +msgid "/dev/(tcp|udp)/host/port not supported without networking" +msgstr "/dev/(tcp|udp)/host/port støttes ikke uten nettverkstilkobling" + +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 +msgid "redirection error: cannot duplicate fd" +msgstr "videresendingsfeil: klarte ikke Ã¥ duplisere fd" + +#: shell.c:347 +msgid "could not find /tmp, please create!" +msgstr "fant ikke «/tmp». Opprett denne mappa!" + +#: shell.c:351 +msgid "/tmp must be a valid directory name" +msgstr "«/tmp» mÃ¥ være et gyldig mappenavn" + +#: shell.c:927 +#, c-format +msgid "%c%c: invalid option" +msgstr "%c%c: ugyldig valg" + +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "klarte ikke Ã¥ velge %d som uid. Effektiv uid: %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "klarte ikke Ã¥ velge %d som gid. Effektiv gid: %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: er en mappe" + +#: shell.c:1777 +msgid "I have no name!" +msgstr "Jeg manger navn!" + +#: shell.c:1930 +#, c-format +msgid "GNU bash, version %s-(%s)\n" +msgstr "GNU bash, versjon %s-(%s)\n" + +#: shell.c:1931 +#, c-format +msgid "" +"Usage:\t%s [GNU long option] [option] ...\n" +"\t%s [GNU long option] [option] script-file ...\n" +msgstr "" +"Bruk:\t%s [langt GNU-valg] [valg] …\n" +"\t%s [langt GNU-valg] [valg] skriptfil …\n" + +#: shell.c:1933 +msgid "GNU long options:\n" +msgstr "Lange GNU-valg:\n" + +#: shell.c:1937 +msgid "Shell options:\n" +msgstr "Skallvalg:\n" + +#: shell.c:1938 +msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" +msgstr "" +"\t«-ilrsD», «-c kommando» eller «-O kortvalg_valg»\t\t(kun programkall)\n" + +#: shell.c:1953 +#, c-format +msgid "\t-%s or -o option\n" +msgstr "\t«-%s» eller «-o»\n" + +#: shell.c:1959 +#, c-format +msgid "Type `%s -c \"help set\"' for more information about shell options.\n" +msgstr "Skriv «%s -c \"help set\"» for mer informasjon om skallvalg.\n" + +#: shell.c:1960 +#, c-format +msgid "Type `%s -c help' for more information about shell builtin commands.\n" +msgstr "Skriv «%s -c help» for mer informasjon om innebygde skallkommandoer.\n" + +#: shell.c:1961 +#, c-format +msgid "Use the `bashbug' command to report bugs.\n" +msgstr "Bruk kommandoen «bashbug» for Ã¥ rapportere programfeil.\n" + +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "bash-nettside: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" +"Generell hjelp til bruk av GNU-programvare: \n" + +#: sig.c:707 +#, c-format +msgid "sigprocmask: %d: invalid operation" +msgstr "sigprocmask: %d: ugyldig handling" + +#: siglist.c:48 +msgid "Bogus signal" +msgstr "Ugyldig signal" + +#: siglist.c:51 +msgid "Hangup" +msgstr "Legg pÃ¥" + +#: siglist.c:55 +msgid "Interrupt" +msgstr "Forstyrr" + +#: siglist.c:59 +msgid "Quit" +msgstr "Avslutt" + +#: siglist.c:63 +msgid "Illegal instruction" +msgstr "Ugyldig instruks" + +#: siglist.c:67 +msgid "BPT trace/trap" +msgstr "BPT-sporing/-fanging" + +#: siglist.c:75 +msgid "ABORT instruction" +msgstr "ABORT-instruks" + +#: siglist.c:79 +msgid "EMT instruction" +msgstr "EMT-instruks" + +#: siglist.c:83 +msgid "Floating point exception" +msgstr "Flyttallsfeil" + +#: siglist.c:87 +msgid "Killed" +msgstr "Drept" + +#: siglist.c:91 +msgid "Bus error" +msgstr "Bussfeil" + +#: siglist.c:95 +msgid "Segmentation fault" +msgstr "Segmenteringsfeil" + +#: siglist.c:99 +msgid "Bad system call" +msgstr "Ugyldig systemkall" + +#: siglist.c:103 +msgid "Broken pipe" +msgstr "Ødelagt datarør" + +#: siglist.c:107 +msgid "Alarm clock" +msgstr "Alarmklokke" + +#: siglist.c:111 +msgid "Terminated" +msgstr "Avsluttet" + +#: siglist.c:115 +msgid "Urgent IO condition" +msgstr "Hastende IO-tilstand" + +#: siglist.c:119 +msgid "Stopped (signal)" +msgstr "Stoppet (signal)" + +#: siglist.c:127 +msgid "Continue" +msgstr "Fortsett" + +#: siglist.c:135 +msgid "Child death or stop" +msgstr "Død eller stans av underprosess" + +#: siglist.c:139 +msgid "Stopped (tty input)" +msgstr "Stoppet (tty-inndata)" + +#: siglist.c:143 +msgid "Stopped (tty output)" +msgstr "Stoppet (tty-utdata)" + +#: siglist.c:147 +msgid "I/O ready" +msgstr "I/O klar" + +#: siglist.c:151 +msgid "CPU limit" +msgstr "CPU-grense" + +#: siglist.c:155 +msgid "File limit" +msgstr "Filgrense" + +#: siglist.c:159 +msgid "Alarm (virtual)" +msgstr "Alarm (virtuell)" + +#: siglist.c:163 +msgid "Alarm (profile)" +msgstr "Alarm (profil)" + +#: siglist.c:167 +msgid "Window changed" +msgstr "Vindu endret" + +#: siglist.c:171 +msgid "Record lock" +msgstr "Husk lÃ¥s" + +#: siglist.c:175 +msgid "User signal 1" +msgstr "Brukersignal 1" + +#: siglist.c:179 +msgid "User signal 2" +msgstr "Brukersignal 2" + +#: siglist.c:183 +msgid "HFT input data pending" +msgstr "HFT-inndata venter" + +#: siglist.c:187 +msgid "power failure imminent" +msgstr "strømstans er nærliggende" + +#: siglist.c:191 +msgid "system crash imminent" +msgstr "systemkræsj er nærliggende" + +#: siglist.c:195 +msgid "migrate process to another CPU" +msgstr "flytt prosess til annen CPU" + +#: siglist.c:199 +msgid "programming error" +msgstr "programmeringsfeil" + +#: siglist.c:203 +msgid "HFT monitor mode granted" +msgstr "HFT-skjermmodus tildelt" + +#: siglist.c:207 +msgid "HFT monitor mode retracted" +msgstr "HFT-skjermmodus tilbaketrukket" + +#: siglist.c:211 +msgid "HFT sound sequence has completed" +msgstr "HFT-lydsekvens er fullført" + +#: siglist.c:215 +msgid "Information request" +msgstr "Informasjonsforespørsel" + +#: siglist.c:223 +msgid "Unknown Signal #" +msgstr "Ukjent signal #" + +#: siglist.c:225 +#, c-format +msgid "Unknown Signal #%d" +msgstr "#%d er et ukjent signal" + +#: subst.c:1445 subst.c:1608 +#, c-format +msgid "bad substitution: no closing `%s' in %s" +msgstr "ugyldig substitutt: %2$s mangler avsluttende «%1$s»" + +#: subst.c:3154 +#, c-format +msgid "%s: cannot assign list to array member" +msgstr "%s: klarte ikke Ã¥ knytte liste til tabellmedlem" + +#: subst.c:5740 subst.c:5756 +msgid "cannot make pipe for process substitution" +msgstr "klarte ikke Ã¥ lage datarør for substitusjon av prosess" + +#: subst.c:5798 +msgid "cannot make child for process substitution" +msgstr "klarte ikke Ã¥ lage underprosess for substitusjon av prosess" + +#: subst.c:5848 +#, c-format +msgid "cannot open named pipe %s for reading" +msgstr "klarte ikke Ã¥ Ã¥pne navngitt datarør %s for lesing" + +#: subst.c:5850 +#, c-format +msgid "cannot open named pipe %s for writing" +msgstr "klarte ikke Ã¥ Ã¥pne navngitt datarør %s for skriving" + +#: subst.c:5873 +#, c-format +msgid "cannot duplicate named pipe %s as fd %d" +msgstr "klarte ikke Ã¥ duplisere navngitt datarør %s som fd %d" + +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "ugyldig substitusjon. %s mangler avsluttende «`»" + +#: subst.c:6083 +msgid "cannot make pipe for command substitution" +msgstr "klarte ikke Ã¥ lage datarør for substitusjon av kommando" + +#: subst.c:6127 +msgid "cannot make child for command substitution" +msgstr "klarte ikke Ã¥ lage underprosess for substitusjon av kommando" + +#: subst.c:6153 +msgid "command_substitute: cannot duplicate pipe as fd 1" +msgstr "command_substitute: klarte ikke Ã¥ duplisere datarør som fd 1" + +#: subst.c:6580 subst.c:8939 +#, c-format +msgid "%s: invalid variable name for name reference" +msgstr "%s: ugyldig variabelnavn for navnreferanse" + +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: ugyldig substitusjon" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: ugyldig indirekte utvidelse" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: ugyldig variabelnavn" + +#: subst.c:6854 +#, c-format +msgid "%s: parameter null or not set" +msgstr "%s: parameter har null-verdi eller stÃ¥r tomt" + +#: subst.c:7089 subst.c:7104 +#, c-format +msgid "%s: substring expression < 0" +msgstr "%s: understreng-uttrykk < 0" + +#: subst.c:8450 +#, c-format +msgid "$%s: cannot assign in this way" +msgstr "$%s: du kan ikke tildele pÃ¥ denne mÃ¥ten" + +#: subst.c:8802 +msgid "" +"future versions of the shell will force evaluation as an arithmetic " +"substitution" +msgstr "" +"fremtidige versjoner av skallet skal tvinge evaluering som en aritmetisk " +"substitusjon" + +#: subst.c:9349 +#, c-format +msgid "bad substitution: no closing \"`\" in %s" +msgstr "ugyldig substitusjon. %s mangler avsluttende «`»" + +#: subst.c:10298 +#, c-format +msgid "no match: %s" +msgstr "ingen treff pÃ¥ %s" + +#: test.c:147 +msgid "argument expected" +msgstr "forventet argument" + +#: test.c:156 +#, c-format +msgid "%s: integer expression expected" +msgstr "%s: forventet heltallsuttrykk" + +#: test.c:265 +msgid "`)' expected" +msgstr "forventet «)»" + +#: test.c:267 +#, c-format +msgid "`)' expected, found %s" +msgstr "forventet «)», men fant %s" + +#: test.c:282 test.c:744 test.c:747 +#, c-format +msgid "%s: unary operator expected" +msgstr "%s: forventet unær operatør" + +#: test.c:469 test.c:787 +#, c-format +msgid "%s: binary operator expected" +msgstr "%s: forventet binær operatør" + +#: test.c:869 +msgid "missing `]'" +msgstr "«]» mangler" + +#: trap.c:224 +msgid "invalid signal number" +msgstr "ugyldig signalnummer" + +#: trap.c:387 +#, c-format +msgid "run_pending_traps: bad value in trap_list[%d]: %p" +msgstr "run_pending_traps: ugyldig verdi i «trap_list[%d]»: %p" + +#: trap.c:391 +#, c-format +msgid "" +"run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" +msgstr "" +"run_pending_traps: SIG_DFL er signalbehandler. Sender %d (%s) til meg selv " +"pÃ¥ nytt" + +#: trap.c:447 +#, c-format +msgid "trap_handler: bad signal %d" +msgstr "trap_handler: %d er et ugyldig signal" + +#: variables.c:409 +#, c-format +msgid "error importing function definition for `%s'" +msgstr "feil under importering av definisjonen av funksjonen «%s»" + +#: variables.c:814 +#, c-format +msgid "shell level (%d) too high, resetting to 1" +msgstr "skallnivÃ¥et (%d) er for høyt. Tilbakestiller til 1" + +#: variables.c:2413 +msgid "make_local_variable: no function context at current scope" +msgstr "make_local_variable: ingen funksjonskontekst i gjeldende virkefelt" + +#: variables.c:2432 +#, c-format +msgid "%s: variable may not be assigned value" +msgstr "%s: variabel kan ikke tilknyttes verdi" + +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: ugyldig variabelnavn for navnreferanse" + +#: variables.c:3940 +msgid "all_local_variables: no function context at current scope" +msgstr "all_local_variables: ingen funksjonskontekst i gjeldende virkefelt" + +#: variables.c:4218 +#, c-format +msgid "%s has null exportstr" +msgstr "%s har exportstr som er null" + +#: variables.c:4223 variables.c:4232 +#, c-format +msgid "invalid character %d in exportstr for %s" +msgstr "%d er et ugyldig tegn i exportstr for %s" + +#: variables.c:4238 +#, c-format +msgid "no `=' in exportstr for %s" +msgstr "exportstr for %s mangler «=»" + +#: variables.c:4684 +msgid "pop_var_context: head of shell_variables not a function context" +msgstr "" +"pop_var_context: toppen av «shell_variables» er ikke en funksjonskontekst" + +#: variables.c:4697 +msgid "pop_var_context: no global_variables context" +msgstr "pop_var_context: kontekst for «global_variables» mangler" + +#: variables.c:4772 +msgid "pop_scope: head of shell_variables not a temporary environment scope" +msgstr "pop_scope: toppen av «shell_variables» er ikke et midlertidig miljøfelt" + +#: variables.c:5619 +#, c-format +msgid "%s: %s: cannot open as FILE" +msgstr "%s: %s: klarte ikke Ã¥ Ã¥pne som FIL" + +#: variables.c:5624 +#, c-format +msgid "%s: %s: invalid value for trace file descriptor" +msgstr "%s: %s: ugyldig verdi for sporing av fildeskriptor" + +#: variables.c:5669 +#, c-format +msgid "%s: %s: compatibility value out of range" +msgstr "%s: %s: samspill-verdi er utenfor tillatt rekkevidde" + +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Opphavsrett (C) 2015 Free Software Foundation, Inc." + +#: version.c:47 version2.c:47 +msgid "" +"License GPLv3+: GNU GPL version 3 or later \n" +msgstr "" +"Lisens GPLv3+: GNU GPL versjon 3 eller nyere \n" + +#: version.c:86 version2.c:86 +#, c-format +msgid "GNU bash, version %s (%s)\n" +msgstr "GNU bash, versjon %s (%s)\n" + +#: version.c:91 version2.c:91 +msgid "This is free software; you are free to change and redistribute it." +msgstr "" +"Dette er fri programvare. Du stÃ¥r fritt til Ã¥ endre og dele den videre." + +#: version.c:92 version2.c:92 +msgid "There is NO WARRANTY, to the extent permitted by law." +msgstr "" +"Det stilles INGEN GARANTI, i den grad dette tillates av gjeldende lovverk." + +#: xmalloc.c:91 +#, c-format +msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" +msgstr "%s: klarte ikke Ã¥ tildele %lu byte (%lu byte tildelt)" + +#: xmalloc.c:93 +#, c-format +msgid "%s: cannot allocate %lu bytes" +msgstr "%s: klarte ikke Ã¥ tildele %lu byte" + +#: xmalloc.c:163 +#, c-format +msgid "%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)" +msgstr "%s: %s:%d: klarte ikke Ã¥ tildele %lu byte (%lu byte tildelt)" + +#: xmalloc.c:165 +#, c-format +msgid "%s: %s:%d: cannot allocate %lu bytes" +msgstr "%s: %s:%d: klarte ikke Ã¥ tildele %lu byte" + +#: builtins.c:45 +msgid "alias [-p] [name[=value] ... ]" +msgstr "alias [-p] [navn[=verdi] … ]" + +#: builtins.c:49 +msgid "unalias [-a] name [name ...]" +msgstr "unalias [-a] navn [navn …]" + +#: builtins.c:53 +msgid "" +"bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" +"x keyseq:shell-command] [keyseq:readline-function or readline-command]" +msgstr "" +"bind [-lpsvPSVX] [-m tastaturoppsett] [-f filnavn] [-q navn] [-u navn] [-r " +"knappesekv] [-x knappesekv:skallkommando] [knappesekv:readline-funksjon " +"eller readline-kommando]" + +#: builtins.c:56 +msgid "break [n]" +msgstr "break [n]" + +#: builtins.c:58 +msgid "continue [n]" +msgstr "continue [n]" + +#: builtins.c:60 +msgid "builtin [shell-builtin [arg ...]]" +msgstr "builtin [innebygd-skallfunksjon [arg …]]" + +#: builtins.c:63 +msgid "caller [expr]" +msgstr "caller [uttr]" + +#: builtins.c:66 +msgid "cd [-L|[-P [-e]] [-@]] [dir]" +msgstr "cd [-L|[-P [-e]] [-@]] [mappe]" + +#: builtins.c:68 +msgid "pwd [-LP]" +msgstr "pwd [-LP]" + +#: builtins.c:76 +msgid "command [-pVv] command [arg ...]" +msgstr "command [-pVv] command [arg …]" + +#: builtins.c:78 +msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [navn[=verdi] …]" + +#: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] navn[=verdi] …" + +#: builtins.c:82 +msgid "local [option] name[=value] ..." +msgstr "local [valg] navn[=verdi] …" + +#: builtins.c:85 +msgid "echo [-neE] [arg ...]" +msgstr "echo [-neE] [arg …]" + +#: builtins.c:89 +msgid "echo [-n] [arg ...]" +msgstr "echo [-n] [arg …]" + +#: builtins.c:92 +msgid "enable [-a] [-dnps] [-f filename] [name ...]" +msgstr "enable [-a] [-dnps] [-f filnavn] [navn …]" + +#: builtins.c:94 +msgid "eval [arg ...]" +msgstr "eval [arg …]" + +#: builtins.c:96 +msgid "getopts optstring name [arg]" +msgstr "getopts valgstreng navn [arg]" + +#: builtins.c:98 +msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" +msgstr "exec [-cl] [-a navn] [kommando [argumenter …]] [videresending …]" + +#: builtins.c:100 +msgid "exit [n]" +msgstr "exit [n]" + +#: builtins.c:102 +msgid "logout [n]" +msgstr "logout [n]" + +#: builtins.c:105 +msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" +msgstr "fc [-e enavn] [-lnr] [første] [siste] eller fc -s [pat=rep] [kommando]" + +#: builtins.c:109 +msgid "fg [job_spec]" +msgstr "fg [jobbspes]" + +#: builtins.c:113 +msgid "bg [job_spec ...]" +msgstr "bg [jobbspes …]" + +#: builtins.c:116 +msgid "hash [-lr] [-p pathname] [-dt] [name ...]" +msgstr "hash [-lr] [-p stinavn] [-dt] [navn …]" + +#: builtins.c:119 +msgid "help [-dms] [pattern ...]" +msgstr "help [-dms] [mønster …]" + +#: builtins.c:123 +msgid "" +"history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " +"[arg...]" +msgstr "" +"history [-c] [-d posisjon] [n] eller history -anrw [filnavn] eller history -" +"ps arg [arg …]" + +#: builtins.c:127 +msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" +msgstr "jobs [-lnprs] [jobbspes …] eller jobs -x kommando [arg]" + +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" +msgstr "disown [-h] [-ar] [jobbspes …]" + +#: builtins.c:134 +msgid "" +"kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " +"[sigspec]" +msgstr "" +"kill [-s sigspes | -n signum | -sigspes] pid | jobbspes … eller kill -l " +"[sigspes]" + +#: builtins.c:136 +msgid "let arg [arg ...]" +msgstr "let arg [arg …]" + +#: builtins.c:138 +msgid "" +"read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " +"prompt] [-t timeout] [-u fd] [name ...]" +msgstr "" +"read [-ers] [-a tabell] [-d adskill] [-i tekst] [-n ntegn] [-N ntegn] [-p " +"ledetekst] [-t tidsavbrudd] [-u fd] [navn …]" + +#: builtins.c:140 +msgid "return [n]" +msgstr "return [n]" + +#: builtins.c:142 +msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" +msgstr "set [-abefhkmnptuvxBCHP] [-o valgnavn] [--] [arg …]" + +#: builtins.c:144 +msgid "unset [-f] [-v] [-n] [name ...]" +msgstr "unset [-f] [-v] [-n] [navn …]" + +#: builtins.c:146 +msgid "export [-fn] [name[=value] ...] or export -p" +msgstr "export [-fn] [navn[=verdi] …] eller export -p" + +#: builtins.c:148 +msgid "readonly [-aAf] [name[=value] ...] or readonly -p" +msgstr "readonly [-aAf] [navn[=verdi] …] eller readonly -p" + +#: builtins.c:150 +msgid "shift [n]" +msgstr "shift [n]" + +#: builtins.c:152 +msgid "source filename [arguments]" +msgstr "source filnavn [argumenter]" + +#: builtins.c:154 +msgid ". filename [arguments]" +msgstr ". filnavn [argumenter]" + +#: builtins.c:157 +msgid "suspend [-f]" +msgstr "suspend [-f]" + +#: builtins.c:160 +msgid "test [expr]" +msgstr "test [uttr]" + +#: builtins.c:162 +msgid "[ arg... ]" +msgstr "[ arg … ]" + +#: builtins.c:166 +msgid "trap [-lp] [[arg] signal_spec ...]" +msgstr "trap [-lp] [[arg] signalspes …]" + +#: builtins.c:168 +msgid "type [-afptP] name [name ...]" +msgstr "type [-afptP] navn [navn …]" + +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [grense]" + +#: builtins.c:174 +msgid "umask [-p] [-S] [mode]" +msgstr "umask [-p] [-S] [modus]" + +#: builtins.c:177 +msgid "wait [-n] [id ...]" +msgstr "wait [-n] [id …]" + +#: builtins.c:181 +msgid "wait [pid ...]" +msgstr "wait [pid …]" + +#: builtins.c:184 +msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" +msgstr "for NAVN [in ORD … ] ; do KOMMANDOER; done" + +#: builtins.c:186 +msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" +msgstr "for (( uttr1; uttr2; uttr3 )); do KOMMANDOER; done" + +#: builtins.c:188 +msgid "select NAME [in WORDS ... ;] do COMMANDS; done" +msgstr "select NAVN [in ORD … ;] do KOMMANDOER; done" + +#: builtins.c:190 +msgid "time [-p] pipeline" +msgstr "time [-p] kommandokø" + +#: builtins.c:192 +msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" +msgstr "case ORD in [MØNSTER [| MØNSTER] …) KOMMANDOER ;;] … esac" + +#: builtins.c:194 +msgid "" +"if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " +"COMMANDS; ] fi" +msgstr "" +"if KOMMANDOER; then KOMMANDOER; [ elif KOMMANDOER; then KOMMANDOER; ] … " +"[ else KOMMANDOER; ] fi" + +#: builtins.c:196 +msgid "while COMMANDS; do COMMANDS; done" +msgstr "while KOMMANDOER; do KOMMANDOER; done" + +#: builtins.c:198 +msgid "until COMMANDS; do COMMANDS; done" +msgstr "until KOMMANDOER; do KOMMANDOER; done" + +#: builtins.c:200 +msgid "coproc [NAME] command [redirections]" +msgstr "coproc [NAVN] kommando [videresendinger]" + +#: builtins.c:202 +msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" +msgstr "function navn { KOMAMNDOER ; } eller navn () { KOMMANDOER ; }" + +#: builtins.c:204 +msgid "{ COMMANDS ; }" +msgstr "{ KOMMANDOER ; }" + +#: builtins.c:206 +msgid "job_spec [&]" +msgstr "job_spec [&]" + +#: builtins.c:208 +msgid "(( expression ))" +msgstr "(( uttrykk ))" + +#: builtins.c:210 +msgid "[[ expression ]]" +msgstr "[[ uttrykk ]]" + +#: builtins.c:212 +msgid "variables - Names and meanings of some shell variables" +msgstr "variabler - Navn og betydninger av enkelte skallvariabler" + +#: builtins.c:215 +msgid "pushd [-n] [+N | -N | dir]" +msgstr "pushd [-n] [+N | -N | mappe]" + +#: builtins.c:219 +msgid "popd [-n] [+N | -N]" +msgstr "popd [-n] [+N | -N]" + +#: builtins.c:223 +msgid "dirs [-clpv] [+N] [-N]" +msgstr "dirs [-clpv] [+N] [-N]" + +#: builtins.c:226 +msgid "shopt [-pqsu] [-o] [optname ...]" +msgstr "shopt [-pqsu] [-o] [valgnavn …]" + +#: builtins.c:228 +msgid "printf [-v var] format [arguments]" +msgstr "printf [-v var] format [argumenter]" + +#: builtins.c:231 +msgid "" +"complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" +"W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " +"suffix] [name ...]" +msgstr "" +"complete [-abcdefgjksuv] [-pr] [-DE] [-o valg] [-A handling] [-G globpat] [-" +"W ordliste] [-F funksjon] [-C kommando] [-X filterpat] [-P prefiks] [-S " +"suffiks] [navn …]" + +#: builtins.c:235 +msgid "" +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" +msgstr "" +"compgen [-abcdefgjksuv] [-o valg] [-A handling] [-G globpat] [-W ordliste] " +"[-F funksjon] [-C kommando] [-X filtersti] [-P prefiks] [-S suffiks] [ord]" + +#: builtins.c:239 +msgid "compopt [-o|+o option] [-DE] [name ...]" +msgstr "compopt [-o|+o valg] [-DE] [navn …]" + +#: builtins.c:242 +msgid "" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" +msgstr "" +"mapfile [-d skilletegn] [-n antall] [-O opphav] [-s antall] [-t] [-u fd] [-C " +"tilbakekall] [-c mengde] [tabell]" + +#: builtins.c:244 +msgid "" +"readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " +"quantum] [array]" +msgstr "" +"readarray [-n antall] [-O opphav] [-s antall] [-t] [-u fd] [-C tilbakekall] " +"[-c mengde] [tabell]" + +#: builtins.c:256 +msgid "" +"Define or display aliases.\n" +" \n" +" Without arguments, `alias' prints the list of aliases in the reusable\n" +" form `alias NAME=VALUE' on standard output.\n" +" \n" +" Otherwise, an alias is defined for each NAME whose VALUE is given.\n" +" A trailing space in VALUE causes the next word to be checked for\n" +" alias substitution when the alias is expanded.\n" +" \n" +" Options:\n" +" -p\tprint all defined aliases in a reusable format\n" +" \n" +" Exit Status:\n" +" alias returns true unless a NAME is supplied for which no alias has " +"been\n" +" defined." +msgstr "" +"Definer eller vis alias.\n" +" \n" +" Hvis ingen argumenter er gitt, skriver programmet ut en liste over\n" +" gjeldende alias i form av «alias NAVN=verdi» til standardutdata.\n" +" \n" +" Ellers defineres et alias per NAVN med en VERDI.\n" +" Avsluttende mellomrom i VERDI fører til at neste ord kontrolleres for\n" +" alias-substitusjon nÃ¥r aliaset utvides.\n" +" \n" +" Valg:\n" +" -p\tSkriv ut alle definerte alias i brukbart format\n" +" \n" +" Avslutningsstatus:\n" +" alias avslutter med positiv verdi («true»), med mindre brukeren angir et " +"NAVN\n" +" som mangler definert alias." + +#: builtins.c:278 +msgid "" +"Remove each NAME from the list of defined aliases.\n" +" \n" +" Options:\n" +" -a\tremove all alias definitions\n" +" \n" +" Return success unless a NAME is not an existing alias." +msgstr "" +"Fjern hvert NAVN fra lista over definerte alias.\n" +" \n" +" Valg:\n" +" -a\tfjern alle alias-definisjoner.\n" +" \n" +" Programmet avslutter som vellykket med mindre brukeren velger et " +"aliasNAVN som ikke finnes." + +#: builtins.c:291 +msgid "" +"Set Readline key bindings and variables.\n" +" \n" +" Bind a key sequence to a Readline function or a macro, or set a\n" +" Readline variable. The non-option argument syntax is equivalent to\n" +" that found in ~/.inputrc, but must be passed as a single argument:\n" +" e.g., bind '\"\\C-x\\C-r\": re-read-init-file'.\n" +" \n" +" Options:\n" +" -m keymap Use KEYMAP as the keymap for the duration of this\n" +" command. Acceptable keymap names are emacs,\n" +" emacs-standard, emacs-meta, emacs-ctlx, vi, vi-" +"move,\n" +" vi-command, and vi-insert.\n" +" -l List names of functions.\n" +" -P List function names and bindings.\n" +" -p List functions and bindings in a form that can be\n" +" reused as input.\n" +" -S List key sequences that invoke macros and their " +"values\n" +" -s List key sequences that invoke macros and their " +"values\n" +" in a form that can be reused as input.\n" +" -V List variable names and values\n" +" -v List variable names and values in a form that can\n" +" be reused as input.\n" +" -q function-name Query about which keys invoke the named function.\n" +" -u function-name Unbind all keys which are bound to the named " +"function.\n" +" -r keyseq Remove the binding for KEYSEQ.\n" +" -f filename Read key bindings from FILENAME.\n" +" -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" +" \t\t\t\tKEYSEQ is entered.\n" +" -X List key sequences bound with -x and associated " +"commands\n" +" in a form that can be reused as input.\n" +" \n" +" Exit Status:\n" +" bind returns 0 unless an unrecognized option is given or an error occurs." +msgstr "" +"Velg hurtigtaster og variabler for Readline.\n" +" \n" +" Knytt en knappekombinasjon til en Readline-funksjon eller makro, eller " +"gi\n" +" verdi til en Readline-variabel. Argumentsyntaksen tilsvarer det som " +"finnes\n" +" i «~/.inputrc», men mÃ¥ oppgis som ett argument.\n" +" F.eks.: bind '\"\\C-x\\C-r\": re-read-init-file'.\n" +" \n" +" Valg:\n" +" -m OPPSETT Bruk valgt tastaturOPPSETT under kjøring av denne " +"kommandoen.\n" +" Gyldige oppsettsnavn er «emacs», «emacs-standard»,\n" +" «emacs-meta», «emacs-ctlx», «vi», «vi-move»,\n" +" «vi-command» og «vi-insert».\n" +" -l Vis funksjonsnavn.\n" +" -P Vis funksjonsnavn og tildelinger.\n" +" -p Vis funksjoner og tildelinger i et format som kan " +"gjenbrukes\n" +" som inndata.\n" +" -S Vis knappekombinasjoner som kaller makroer og " +"tilhørende verdier\n" +" -s Tilsvarer «-S», men i et format som kan gjenbrukes i " +"inndata.\n" +" -V Vis variabelnavn og verdier\n" +" -v Tilsvarer «-V», men i et format som kan gjenbrukes i " +"inndata.\n" +" -q function-name Spør hvilke knapper som kaller aktuell funksjon.\n" +" -u function-name Fjern alle knappekombinasjoner som er tilknyttet " +"aktuell funksjon.\n" +" -r KOMB Fjern tildeling av valgt knappeKOMBinasjon.\n" +" -f FILNAVN Les knappekombinasjoner fra FILNAVN.\n" +" -x KOMB:KOMMANDO\tGjør slik at valgt skallKOMMANDO kjøres nÃ¥r\n" +" \t\t\t\tvalgt knappeKOMBinasjon trykkes.\n" +" -X Vis knappekombinasjoner som er tildelt med «-x», og " +"aktuelle kommandoer \n" +" i et format som kan gjenbrukes i inndata.\n" +" \n" +" Avslutningsstatus:\n" +" bind avslutter med 0, med mindre brukeren tar et ukjent valg eller det " +"oppstÃ¥r en feil." + +#: builtins.c:330 +msgid "" +"Exit for, while, or until loops.\n" +" \n" +" Exit a FOR, WHILE or UNTIL loop. If N is specified, break N enclosing\n" +" loops.\n" +" \n" +" Exit Status:\n" +" The exit status is 0 unless N is not greater than or equal to 1." +msgstr "" +"GÃ¥ ut av en «FOR»-, «WHILE»- eller «UNTIL»-løkke.\n" +" \n" +" Hvis N er valgt, brytes N antall underløkker.\n" +" \n" +" Avslutningsstatus:\n" +" Statuskoden er 0, med mindre N er mindre enn 1." + +#: builtins.c:342 +msgid "" +"Resume for, while, or until loops.\n" +" \n" +" Resumes the next iteration of the enclosing FOR, WHILE or UNTIL loop.\n" +" If N is specified, resumes the Nth enclosing loop.\n" +" \n" +" Exit Status:\n" +" The exit status is 0 unless N is not greater than or equal to 1." +msgstr "" +"Fortsett neste runde av gjeldende FOR-, WHILE- eller WHILE-løkke..\n" +" \n" +" Hvis N er valgt, fortsetter N-te løkke.\n" +" \n" +" Avslutningsstatus:\n" +" Statuskoden er 0, med mindre N er mindre enn 1." + +#: builtins.c:354 +msgid "" +"Execute shell builtins.\n" +" \n" +" Execute SHELL-BUILTIN with arguments ARGs without performing command\n" +" lookup. This is useful when you wish to reimplement a shell builtin\n" +" as a shell function, but need to execute the builtin within the " +"function.\n" +" \n" +" Exit Status:\n" +" Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is\n" +" not a shell builtin.." +msgstr "" +"Kjør innebygde skallfunksjoner.\n" +" \n" +" Kjør SKALLFUNKSJON med valgte ARGumenter uten Ã¥ slÃ¥ opp\n" +" kommandonavn. Dette er nyttig nÃ¥r du vil re-implementere en innebygd\n" +" skallkommando som en funksjon, samtidig som du kjører den innenfor en " +"skallfunksjon.\n" +" \n" +" Avslutningsstatus:\n" +" Statuskoden er den samme som aktuell SKALLFUNKSJON gir, eller\n" +" negativ («false») hvis SKALLFUNKSJON ikke er en innebygd skallkommando.." + +#: builtins.c:369 +msgid "" +"Return the context of the current subroutine call.\n" +" \n" +" Without EXPR, returns \"$line $filename\". With EXPR, returns\n" +" \"$line $subroutine $filename\"; this extra information can be used to\n" +" provide a stack trace.\n" +" \n" +" The value of EXPR indicates how many call frames to go back before the\n" +" current one; the top frame is frame 0.\n" +" \n" +" Exit Status:\n" +" Returns 0 unless the shell is not executing a shell function or EXPR\n" +" is invalid." +msgstr "" +"Vis konteksten for gjeldende underrutine-kall.\n" +" \n" +" Hvis UTTRykk ikke er valgt, vises «$line $filename». Med UTTRykk vises\n" +" «$line $subroutine $filename». Denne ekstrainformasjonen kan brukes\n" +" til stabelsporing.\n" +" \n" +" Verdien av UTTRykk viser hvor mange kall-rammer programmet skal bevege " +"seg\n" +" gjennom tilbake fra gjeldende ramme. Øverste ramme er 0.\n" +" \n" +" Avslutningsstatus:\n" +" Status er 0, med mindre skallet ikke kjører en skallfunksjon eller\n" +" valgt UTTRykk er ugyldig." + +#: builtins.c:387 +msgid "" +"Change the shell working directory.\n" +" \n" +" Change the current directory to DIR. The default DIR is the value of " +"the\n" +" HOME shell variable.\n" +" \n" +" The variable CDPATH defines the search path for the directory " +"containing\n" +" DIR. Alternative directory names in CDPATH are separated by a colon " +"(:).\n" +" A null directory name is the same as the current directory. If DIR " +"begins\n" +" with a slash (/), then CDPATH is not used.\n" +" \n" +" If the directory is not found, and the shell option `cdable_vars' is " +"set,\n" +" the word is assumed to be a variable name. If that variable has a " +"value,\n" +" its value is used for DIR.\n" +" \n" +" Options:\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" +" \n" +" The default is to follow symbolic links, as if `-L' were specified.\n" +" `..' is processed by removing the immediately previous pathname " +"component\n" +" back to a slash or the beginning of DIR.\n" +" \n" +" Exit Status:\n" +" Returns 0 if the directory is changed, and if $PWD is set successfully " +"when\n" +" -P is used; non-zero otherwise." +msgstr "" +"Bytt arbeidsmappe for skallet.\n" +" \n" +" Bytt gjeldende mappe til MAP. Standard MAPpe er verdien av\n" +" skallvariabelen HOME.\n" +" \n" +" Variabelen CDPATH bestemmer søkestien for mapper som inneholder\n" +" MAP. Alternative mappenavn i CDPATH er adskilt med «:».\n" +" Et null-mappenavn er det samme som gjeldende mappe. Hvis MAP begynner\n" +" med skrÃ¥strek (/), brukes ikke CDPATH.\n" +" \n" +" Hvis valgt mappe ikke finnes, og skallvalget «cdable_vars» har en verdi,\n" +" antas ordet Ã¥ være et variabelnavn. Hvis den variabelen har en verdi,\n" +" brukes denne verdien som MAP.\n" +" \n" +" Valg:\n" +" -L\ttving følging av symbolske lenker. Følg symbolske lenker i\n" +" \tMAP etter Ã¥ ha behandlet forekomster av «..»\n" +" -P\tbruk fysisk mappestruktur uten Ã¥ følge symbolske\n" +" \tlenker. Følg lenker i MAP før forekomster av «..» behandles.\n" +" -e\thvis «-P» er valgt, og det er uklart hva som er gjeldende\n" +" \tarbeidsmappe, avslutt med en annen status enn 0\n" +" -@ hvis systemet støtter det, vis en fil med utvidede attributter\n" +" som en mappe med attributtene som innhold\n" +" \n" +" Standard for symbolske lenker er at de følges, som om «-L» er valgt.\n" +" «..» behandles ved at den nÃ¥ tidligere stinavn-komponenten fjernes\n" +" én skrÃ¥strek tilbake eller til begynnelsen av MAP.\n" +" \n" +" Avslutningsstatus:\n" +" Status er 0 hvis skallet har byttet mappe, og hvis $PWD er valgt uten " +"problemer\n" +" ved bruk av «-P». Ellers er status noe annet enn 0." + +#: builtins.c:425 +msgid "" +"Print the name of the current working directory.\n" +" \n" +" Options:\n" +" -L\tprint the value of $PWD if it names the current working\n" +" \t\tdirectory\n" +" -P\tprint the physical directory, without any symbolic links\n" +" \n" +" By default, `pwd' behaves as if `-L' were specified.\n" +" \n" +" Exit Status:\n" +" Returns 0 unless an invalid option is given or the current directory\n" +" cannot be read." +msgstr "" +"Skriv ut navn pÃ¥ gjeldende arbeidsmappe.\n" +" \n" +" Valg:\n" +" -L\tskriv ut verdien av $PWD hvis dette er navnet pÃ¥\n" +" \tgjeldende arbeidsmappe\n" +" -P\tskriv ut fysisk mappe, uten symbolske lenker\n" +" \n" +" «pwd» kjører med valget «-L» som standard.\n" +" \n" +" Avslutningsstatus:\n" +" Status er 0, med mindre brukeren tar et ugyldig valg eller\n" +" programmet ikke klarer Ã¥ lese gjeldende mappe." + +#: builtins.c:442 +msgid "" +"Null command.\n" +" \n" +" No effect; the command does nothing.\n" +" \n" +" Exit Status:\n" +" Always succeeds." +msgstr "" +"Null-kommando.\n" +" \n" +" Dette har ingen effekt. Kommandoen gjør ingenting.\n" +" \n" +" Avslutningsstatus:\n" +" Alltid vellykket." + +#: builtins.c:453 +msgid "" +"Return a successful result.\n" +" \n" +" Exit Status:\n" +" Always succeeds." +msgstr "" +"Gi et vellykket resultat.\n" +" \n" +" Avslutningsstatus:\n" +" Alltid vellykket." + +#: builtins.c:462 +msgid "" +"Return an unsuccessful result.\n" +" \n" +" Exit Status:\n" +" Always fails." +msgstr "" +"Gi et mislykket resultat.\n" +" \n" +" Avslutningsstatus:\n" +" Alltid mislykket." + +#: builtins.c:471 +msgid "" +"Execute a simple command or display information about commands.\n" +" \n" +" Runs COMMAND with ARGS suppressing shell function lookup, or display\n" +" information about the specified COMMANDs. Can be used to invoke " +"commands\n" +" on disk when a function with the same name exists.\n" +" \n" +" Options:\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" +" \n" +" Exit Status:\n" +" Returns exit status of COMMAND, or failure if COMMAND is not found." +msgstr "" +"Kjør en enkel kommando, eller vis informasjon om kommandoer.\n" +" \n" +" Kjører valgt KOMMANDO med ARG uten oppslag av skallfunksjoner, eller " +"viser\n" +" informasjon om valgte KOMMANDOer. Dette kan brukes til Ã¥ kalle " +"kommandoer\n" +" pÃ¥ disk nÃ¥r det finens en funksjon med samme navn.\n" +" \n" +" Valg:\n" +" -p\tbruk en standardverdi for STI som garantert finner alle\n" +" \tstandardverktøyene\n" +" -v\tskriv ut en beskrivelse av KOMMANDO i «type»-stil\n" +" -V\tskriv ut en mer detaljert beskrivelse av hver KOMMANDO\n" +" \n" +" Avslutningsstatus:\n" +" Samme som statuskoden fra KOMMANDO, eller mislykket hvis KOMMANDO ikke " +"finnes." + +#: builtins.c:490 +msgid "" +"Set variable values and attributes.\n" +" \n" +" Declare variables and give them attributes. If no NAMEs are given,\n" +" display the attributes and values of all variables.\n" +" \n" +" Options:\n" +" -f\trestrict action or display to function names and definitions\n" +" -F\trestrict display to function names only (plus line number and\n" +" \t\tsource file when debugging)\n" +" -g\tcreate global variables when used in a shell function; otherwise\n" +" \t\tignored\n" +" -p\tdisplay the attributes and value of each NAME\n" +" \n" +" Options which set attributes:\n" +" -a\tto make NAMEs indexed arrays (if supported)\n" +" -A\tto make NAMEs associative arrays (if supported)\n" +" -i\tto make NAMEs have the `integer' attribute\n" +" -l\tto convert NAMEs to lower case on assignment\n" +" -n\tmake NAME a reference to the variable named by its value\n" +" -r\tto make NAMEs readonly\n" +" -t\tto make NAMEs have the `trace' attribute\n" +" -u\tto convert NAMEs to upper case on assignment\n" +" -x\tto make NAMEs export\n" +" \n" +" Using `+' instead of `-' turns off the given attribute.\n" +" \n" +" Variables with the integer attribute have arithmetic evaluation (see\n" +" the `let' command) performed when the variable is assigned a value.\n" +" \n" +" When used in a function, `declare' makes NAMEs local, as with the " +"`local'\n" +" command. The `-g' option suppresses this behavior.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is supplied or a variable\n" +" assignment error occurs." +msgstr "" +"Gi verdier og attributter til variabler.\n" +" \n" +" Lag variabler og gi dem attributter. Hvis ingen NAVN er valgt,\n" +" vises attributter og verdier av alle variabler.\n" +" \n" +" Valg:\n" +" -f\tbegrens handling eller visning til funksjonsnavn og definisjoner\n" +" -F\tbegrens visning til funksjonsnavn (linjenummer og\n" +" \tkildefil kommer i tillegg ved feilsøking)\n" +" -g\tlag globale variabler ved bruk innenfor en skallfunksjon\n" +" \t(ignoreres ved annen bruk)\n" +" -p\tvis attributter og verdi av hvert valgt NAVN\n" +" \n" +" Valg som justerer attributter:\n" +" -a\tgjør valgte NAVN til indekserte tabeller (hvis det støttes)\n" +" -A\tgjør valgte NAVN til assosiative tabeller (hvis det støttes)\n" +" -i\tgi valgte NAVN attributten «integer» (heltall)\n" +" -l\tkonverter valgte NAVN til smÃ¥ bokstaver\n" +" -n\tgjør valgt NAVN til en referanse til variabelen med egen verdi som " +"navn\n" +" -r\tskrivebeskytt valgte NAVN\n" +" -t\tgi valgte NAVN attirbutten «trace»\n" +" -u\tkonverter valgte NAVN til store bokstaver\n" +" -x\tgjør valgte NAVN eksporterbare\n" +" \n" +" Bruk «+» i stedet for «-» for Ã¥ slÃ¥ av aktuell attributt.\n" +" \n" +" Variabler med heltallsattributt blir evaluert aritmetisk (se\n" +" kommandoen «let») nÃ¥r de fÃ¥r en verdi.\n" +" \n" +" Ved bruk innenfor funksjoner gjør «declare» valgte NAVN lokale, som med\n" +" kommandoen «local». Valget «-g» slÃ¥r av denne oppførselen.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller\n" +" det oppstÃ¥r en variabel-tildelingsfeil." + +#: builtins.c:530 +#, fuzzy +msgid "" +"Set variable values and attributes.\n" +" \n" +" A synonym for `declare'. See `help declare'." +msgstr "" +"Gi verdier og attributter til variabler.\n" +" \n" +" Denne funksjonen er utgÃ¥tt. Se «help declare»." + +#: builtins.c:538 +msgid "" +"Define local variables.\n" +" \n" +" Create a local variable called NAME, and give it VALUE. OPTION can\n" +" be any option accepted by `declare'.\n" +" \n" +" Local variables can only be used within a function; they are visible\n" +" only to the function where they are defined and its children.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is supplied, a variable\n" +" assignment error occurs, or the shell is not executing a function." +msgstr "" +"Definer lokale variabler.\n" +" \n" +" Lag en lokal variabel med valgt NAVN og VERDI. Du kan foreta\n" +" VALG i henhold til kommandoen «declare».\n" +" \n" +" Lokale variabler kan bare brukes innenfor en funksjon. De er kun " +"synlige\n" +" for funksjonen de lages innenfor, samt underfunksjoner.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg, det oppstÃ¥r\n" +" en feil under variabeltildeling eller skallet ikke kjører en funksjon." + +#: builtins.c:555 +msgid "" +"Write arguments to the standard output.\n" +" \n" +" Display the ARGs, separated by a single space character and followed by " +"a\n" +" newline, on the standard output.\n" +" \n" +" Options:\n" +" -n\tdo not append a newline\n" +" -e\tenable interpretation of the following backslash escapes\n" +" -E\texplicitly suppress interpretation of backslash escapes\n" +" \n" +" `echo' interprets the following backslash-escaped characters:\n" +" \\a\talert (bell)\n" +" \\b\tbackspace\n" +" \\c\tsuppress further output\n" +" \\e\tescape character\n" +" \\E\tescape character\n" +" \\f\tform feed\n" +" \\n\tnew line\n" +" \\r\tcarriage return\n" +" \\t\thorizontal tab\n" +" \\v\tvertical tab\n" +" \\\\\tbackslash\n" +" \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" +" \t\t0 to 3 octal digits\n" +" \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" +" \t\tcan be one or two hex digits\n" +" \n" +" Exit Status:\n" +" Returns success unless a write error occurs." +msgstr "" +"Skriv argumenter til standardutdata.\n" +" \n" +" Send ARGumenter til standardutdata, adskilt med enkelt mellomromtegn og\n" +" etterfulgt av linjeskift.n \n" +" Valg:\n" +" -n\tikke legg til linjeskift\n" +" -e\tslÃ¥ pÃ¥ tolkning av skrÃ¥strek-skiftetegn\n" +" -E\tslÃ¥ uttrykkelig av tolkning av skÃ¥strek-skiftetegn\n" +" \n" +" «echo» tolker følgende skiftetegn:\n" +" \\a\tsystemvarsel\n" +" \\b\tskrÃ¥strektegn\n" +" \\c\tavbryt etterfølgende utdata\n" +" \\e\tskiftetegn\n" +" \\E\tskiftetegn\n" +" \\f\tsideskift\n" +" \\n\tny linje\n" +" \\r\tlinjeskift-tegn\n" +" \\t\thorisontal tabulator\n" +" \\v\tvertikal tabulator\n" +" \\\\\tomvendt skrÃ¥strek\n" +" \\0nnn\ttegn med ASCII-kode NNN (oktal). NNN kan bestÃ¥ av\n" +" \t0 til 3 oktale sifre\n" +" \\xHH\t8-bit-tegn med verdi HH (heksadesimal). HH\n" +" \tkan bestÃ¥ av ett eller to hex-sifre\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre det oppstÃ¥r en skrivefeil." + +#: builtins.c:591 +msgid "" +"Write arguments to the standard output.\n" +" \n" +" Display the ARGs on the standard output followed by a newline.\n" +" \n" +" Options:\n" +" -n\tdo not append a newline\n" +" \n" +" Exit Status:\n" +" Returns success unless a write error occurs." +msgstr "" +"Skriv ut argumenter til standardutdata.\n" +" \n" +" Vis ARGumenter pÃ¥ standardutdata, etterfulgt av linjeskift.\n" +" \n" +" Valg:\n" +" -n\tikke ta med linjeskift\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre det oppstÃ¥r en skrivefeil." + +#: builtins.c:606 +msgid "" +"Enable and disable shell builtins.\n" +" \n" +" Enables and disables builtin shell commands. Disabling allows you to\n" +" execute a disk command which has the same name as a shell builtin\n" +" without using a full pathname.\n" +" \n" +" Options:\n" +" -a\tprint a list of builtins showing whether or not each is enabled\n" +" -n\tdisable each NAME or display a list of disabled builtins\n" +" -p\tprint the list of builtins in a reusable format\n" +" -s\tprint only the names of Posix `special' builtins\n" +" \n" +" Options controlling dynamic loading:\n" +" -f\tLoad builtin NAME from shared object FILENAME\n" +" -d\tRemove a builtin loaded with -f\n" +" \n" +" Without options, each NAME is enabled.\n" +" \n" +" To use the `test' found in $PATH instead of the shell builtin\n" +" version, type `enable -n test'.\n" +" \n" +" Exit Status:\n" +" Returns success unless NAME is not a shell builtin or an error occurs." +msgstr "" +"SlÃ¥ pÃ¥ og av innebygde skallfunksjoner.\n" +" \n" +" SlÃ¥r av og pÃ¥ innebygde skallkommandoer. Ved Ã¥ slÃ¥ av kan du\n" +" kjøre en kommando pÃ¥ disk med samme navnet som en skallkommando\n" +" uten Ã¥ mÃ¥tte bruke fullstendig filsti.\n" +" \n" +" Valg:\n" +" -a\tskriv ut en liste som viser hvilke kommandoer som er slÃ¥tt pÃ¥\n" +" -n\tslÃ¥ av hvert valgt NAVN, eller vis en liste over kommandoer som er " +"slÃ¥tt av\n" +" -p\tskriv ut liste over kommandoer i et gjenbrukbart format\n" +" -s\tbare skriv ut navn pÃ¥ innebygde Posix-spesialkommandoer\n" +" \n" +" Valg for dynamisk innlasting:\n" +" -f\tHent NAVN fra delt objekt-FILNAVN\n" +" -d\tFjern en kommando som er lastet inn med -f\n" +" \n" +" Hvis du ikke tar noen valg, blir hvert NAVN slÃ¥tt pÃ¥.\n" +" \n" +" Bruk «enable -n test» for Ã¥ bruke «test» i $PATH i stedet for\n" +" versjonen som er innebygd i skallet.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre valgt NAVN ikke er innebygd eller det oppstÃ¥r en " +"feil." + +#: builtins.c:634 +msgid "" +"Execute arguments as a shell command.\n" +" \n" +" Combine ARGs into a single string, use the result as input to the " +"shell,\n" +" and execute the resulting commands.\n" +" \n" +" Exit Status:\n" +" Returns exit status of command or success if command is null." +msgstr "" +"Kjør argumenter som en skallkommando.\n" +" \n" +" Kombiner ARGumenter i én streng, bruk resultatet som inndata i skallet,\n" +" og kjør dette som kommando(er).\n" +" \n" +" Avslutningsstatus:\n" +" Samme som valgt kommando, eller vellykket hvis kommando er null." + +#: builtins.c:646 +msgid "" +"Parse option arguments.\n" +" \n" +" Getopts is used by shell procedures to parse positional parameters\n" +" as options.\n" +" \n" +" OPTSTRING contains the option letters to be recognized; if a letter\n" +" is followed by a colon, the option is expected to have an argument,\n" +" which should be separated from it by white space.\n" +" \n" +" Each time it is invoked, getopts will place the next option in the\n" +" shell variable $name, initializing name if it does not exist, and\n" +" the index of the next argument to be processed into the shell\n" +" variable OPTIND. OPTIND is initialized to 1 each time the shell or\n" +" a shell script is invoked. When an option requires an argument,\n" +" getopts places that argument into the shell variable OPTARG.\n" +" \n" +" getopts reports errors in one of two ways. If the first character\n" +" of OPTSTRING is a colon, getopts uses silent error reporting. In\n" +" this mode, no error messages are printed. If an invalid option is\n" +" seen, getopts places the option character found into OPTARG. If a\n" +" required argument is not found, getopts places a ':' into NAME and\n" +" sets OPTARG to the option character found. If getopts is not in\n" +" silent mode, and an invalid option is seen, getopts places '?' into\n" +" NAME and unsets OPTARG. If a required argument is not found, a '?'\n" +" is placed in NAME, OPTARG is unset, and a diagnostic message is\n" +" printed.\n" +" \n" +" If the shell variable OPTERR has the value 0, getopts disables the\n" +" printing of error messages, even if the first character of\n" +" OPTSTRING is not a colon. OPTERR has the value 1 by default.\n" +" \n" +" Getopts normally parses the positional parameters ($0 - $9), but if\n" +" more arguments are given, they are parsed instead.\n" +" \n" +" Exit Status:\n" +" Returns success if an option is found; fails if the end of options is\n" +" encountered or an error occurs." +msgstr "" +"Tolk valg-argumenter.\n" +" \n" +" Getopts brukes av skallprosedyrer til Ã¥ tolke posisjonsparametre\n" +" som valg.\n" +" \n" +" VALGSTRENG inneholder bokstaver som skal behandles som valg.\n" +" Hvis en bokstav etterfølges av kolon, forventer valget et argument.\n" +" Argumentet holdes adskilt fra valget med blanktegn.\n" +" \n" +" getopts plasserer neste valg i skallvariabelen $name hver gang det\n" +" kalles, laster inn navnet hvis det ikke finnes, og\n" +" indeks for neste argument som skal behandles i skallvariabelen OPTIND.\n" +" OPTIND lastes inn til 1 hver gang skallet eller et skallskript kjøres.\n" +" NÃ¥r et valg krever et argument plasseres argumentet i skallvariabelen " +"OPTARG.\n" +" \n" +" getopts rapporterer feil pÃ¥ én av to mÃ¥ter. Hvis første tegn i " +"VALGSTRENG\n" +" er kolon, rapporteres feil uten direkte feilmeldinger til brukeren.\n" +" Hvis getopts ser et ugyldig valg, plasseres aktuelt valgtegn i OPTARG.\n" +" Hvis et obligatorisk argument ikke er gitt, legger getopts et «:» i NAVN " +"og\n" +" bruker oppdaget valgtegn som OPTARG. Hvis getopts ikke er i " +"stillemodus,\n" +" og ser et ugyldig valg, brukes «?» som NAVN, og OPTARG tømmes.\n" +" Hvis et obligatorisk argument ikke er gitt, legger getopts et «?»\n" +" i NAVN, tømmer OPTARG og skriver ut en feilmelding.\n" +" \n" +" Hvis skallvariabelen OPTERR har verdien 0, slÃ¥r getopts av utskrift\n" +" av feilmeldinger, selv hvis første tegn i VALGSTRENG ikke er kolon.\n" +" OPTERR har verdien 1 som standard.\n" +" \n" +" Getopts tolker vanligvis posisjonsparametre ($0 - $9), men hvis\n" +" flere argumenter er gitt, blir disse tolket i stedet.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket hvis et valg finnes, og mislykket hvis et valg ikke finnes\n" +" eller det oppstÃ¥r en annen feil." + +#: builtins.c:688 +msgid "" +"Replace the shell with the given command.\n" +" \n" +" Execute COMMAND, replacing this shell with the specified program.\n" +" ARGUMENTS become the arguments to COMMAND. If COMMAND is not " +"specified,\n" +" any redirections take effect in the current shell.\n" +" \n" +" Options:\n" +" -a name\tpass NAME as the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" +" \n" +" If the command cannot be executed, a non-interactive shell exits, " +"unless\n" +" the shell option `execfail' is set.\n" +" \n" +" Exit Status:\n" +" Returns success unless COMMAND is not found or a redirection error " +"occurs." +msgstr "" +"Erstatt skallet med valgt kommando.\n" +" \n" +" Kjør KOMMANDO, og erstatt dette skallet med valgt program.\n" +" ARGUMENTER sendes videre til valgt KOMMANDO. Hvis KOMMANDO ikke er " +"valgt,\n" +" blir videresendinger brukt i gjeldende skall.\n" +" \n" +" Valg:\n" +" -a name\tsend NAVN som argument nummer null for KOMMANDO\n" +" -c\t\tkjør valgt KOMMANDO med et tomt miljø\n" +" -l\t\tbruk bindestrek som argument nummer null for COMMAND\n" +" \n" +" Hvis kommandoen ikke kan kjøres, avsluttes ikke-interaktivt skall, med " +"mindre\n" +" skallvalget «execfail» er brukt.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre valgt KOMMANDO ikke finnes eller det oppstÃ¥r en " +"videresendingsfeil." + +#: builtins.c:709 +msgid "" +"Exit the shell.\n" +" \n" +" Exits the shell with a status of N. If N is omitted, the exit status\n" +" is that of the last command executed." +msgstr "" +"Avslutt skallet.\n" +" \n" +" Avslutt skallet med status N. Hvis N utelates, er statuskoden\n" +" den samme som forrige kjørte kommando." + +#: builtins.c:718 +msgid "" +"Exit a login shell.\n" +" \n" +" Exits a login shell with exit status N. Returns an error if not " +"executed\n" +" in a login shell." +msgstr "" +"Avslutt et innloggingsskall.\n" +" \n" +" Avslutter et innloggingsskall med status N. Dette gir feilmelding hvis " +"det\n" +" ikke kjøres i et innloggingsskall." + +#: builtins.c:728 +msgid "" +"Display or execute commands from the history list.\n" +" \n" +" fc is used to list or edit and re-execute commands from the history " +"list.\n" +" FIRST and LAST can be numbers specifying the range, or FIRST can be a\n" +" string, which means the most recent command beginning with that\n" +" string.\n" +" \n" +" Options:\n" +" -e ENAME\tselect which editor to use. Default is FCEDIT, then " +"EDITOR,\n" +" \t\tthen vi\n" +" -l \tlist lines instead of editing\n" +" -n\tomit line numbers when listing\n" +" -r\treverse the order of the lines (newest listed first)\n" +" \n" +" With the `fc -s [pat=rep ...] [command]' format, COMMAND is\n" +" re-executed after the substitution OLD=NEW is performed.\n" +" \n" +" A useful alias to use with this is r='fc -s', so that typing `r cc'\n" +" runs the last command beginning with `cc' and typing `r' re-executes\n" +" the last command.\n" +" \n" +" Exit Status:\n" +" Returns success or status of executed command; non-zero if an error " +"occurs." +msgstr "" +"Vis eller kjør kommandoer fra historikklista.\n" +" \n" +" fc brukes til Ã¥ vise list eller redigere og kjøre kommandoer pÃ¥ nytt fra " +"historikklista.\n" +" FØRSTE og SISTE kan være tall som angir rekkevidde. FØRSTE kan ogsÃ¥ være " +"en\n" +" streng, som betyr nyeste kommando som begynner med denne strengen.\n" +" \n" +" Valg:\n" +" -e ENAME\tvelg hvilket redigeringsprogram som skal brukes. Standard er " +"FCEDIT, evt. EDITOR\n" +" \t\teller vi\n" +" -l \tvis linjer i stedet for Ã¥ redigere\n" +" -n\tikke vis linjenumre\n" +" -r\tvis linjer i omvendt rekkefølge (nyeste linjer øverst)\n" +" \n" +" I formatet «fc -s [pat=rep …] [kommando]» kjøres KOMMANDO\n" +" pÃ¥ nytt etter at GAMMEL=NY er utført.\n" +" \n" +" Et nyttig alias for dette er r='fc -s'. Slik blir «r cc» ensbetydende\n" +" med Ã¥ kjøre forrige kommando med navn som begynner pÃ¥ «cc», og «r»\n" +" betyr Ã¥ kjøre forrige kommando.\n" +" \n" +" Avslutningsstatus:\n" +" Enten vellykket, samme som kjørt kommando eller noe annet enn null hvis " +"det oppstÃ¥r feil." + +#: builtins.c:758 +msgid "" +"Move job to the foreground.\n" +" \n" +" Place the job identified by JOB_SPEC in the foreground, making it the\n" +" current job. If JOB_SPEC is not present, the shell's notion of the\n" +" current job is used.\n" +" \n" +" Exit Status:\n" +" Status of command placed in foreground, or failure if an error occurs." +msgstr "" +"Flytt jobb til forgrunnen.\n" +" \n" +" Plasser jobb med id-en JOB_SPEC i forgrunnen, slik at den blir\n" +" gjeldende jobb. Hvis JOB_SPEC ikke er oppgitt, brukes jobben som\n" +" allerede oppfattes som gjeldende i skallet.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som kommandoen som legges i forgrunnen, eller mislykket hvis det " +"oppstÃ¥r en feil." + +#: builtins.c:773 +msgid "" +"Move jobs to the background.\n" +" \n" +" Place the jobs identified by each JOB_SPEC in the background, as if " +"they\n" +" had been started with `&'. If JOB_SPEC is not present, the shell's " +"notion\n" +" of the current job is used.\n" +" \n" +" Exit Status:\n" +" Returns success unless job control is not enabled or an error occurs." +msgstr "" +"Flytt jobber til bakgrunnen.\n" +" \n" +" Plasser jobber med id-er JOB_SPEC i bakgrunnen, som om de\n" +" ble startet med «&». Hvis JOB_SPEC ikke er oppgitt, brukes jobben som " +"allerede\n" +" som gjeldende i skallet.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre jobbkontroll er slÃ¥tt av eller det oppstÃ¥r en feil." + +#: builtins.c:787 +msgid "" +"Remember or display program locations.\n" +" \n" +" Determine and remember the full pathname of each command NAME. If\n" +" no arguments are given, information about remembered commands is " +"displayed.\n" +" \n" +" Options:\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" +" -p pathname\tuse PATHNAME as the full pathname of NAME\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" +" \t\teach location with the corresponding NAME if multiple\n" +" \t\tNAMEs are given\n" +" Arguments:\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" +" \t\tof remembered commands.\n" +" \n" +" Exit Status:\n" +" Returns success unless NAME is not found or an invalid option is given." +msgstr "" +"Husk eller vis programplasseringer.\n" +" \n" +" Finn ut og husk fullstendige stinavn pÃ¥ hvert kommandoNAVN. Hvis\n" +" ingen argumenter er gitt, viser programmet lagrede programplasseringer.\n" +" \n" +" Valg:\n" +" -d\t\tglem lagret plassering av valgt(e) NAVN\n" +" -l\t\tskriv ut i gjenbrukbart format\n" +" -p stinavn\tbruk valgt STINAVN som fullstendig stinavn pÃ¥ valgt NAVN\n" +" -r\t\tglem alle lagrede plasseringer\n" +" -t\t\tskriv ut lagret plassering av valgt(e) NAVN, med\n" +" \t\tNAVN foran aktuell plassering hvis flere NAVN er valgt\n" +" Argumenter:\n" +" NAVN\t\tProgrammet søker etter hvert NAVN i $PATH og legger det til i " +"lista\n" +" \t\tover lagrede kommandoer.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre NAVN ikke finnes eller brukeren tar et ugyldig " +"valg." + +#: builtins.c:812 +msgid "" +"Display information about builtin commands.\n" +" \n" +" Displays brief summaries of builtin commands. If PATTERN is\n" +" specified, gives detailed help on all commands matching PATTERN,\n" +" otherwise the list of help topics is printed.\n" +" \n" +" Options:\n" +" -d\toutput short description for each topic\n" +" -m\tdisplay usage in pseudo-manpage format\n" +" -s\toutput only a short usage synopsis for each topic matching\n" +" \t\tPATTERN\n" +" \n" +" Arguments:\n" +" PATTERN\tPattern specifiying a help topic\n" +" \n" +" Exit Status:\n" +" Returns success unless PATTERN is not found or an invalid option is " +"given." +msgstr "" +"Vis informasjon om innebygde kommandoer.\n" +" \n" +" Vis kort sammendrag om innebygde kommandoer. Hvis MØNSTER er\n" +" gitt, vises detaljert hjelp til bruk av alle kommandoer som samsvarer\n" +" med MØNSTER. Ellers vises en liste over hjelpeemner.\n" +" \n" +" VALG:\n" +" -d\tskriv ut en kort beskrivelse av hvert emne\n" +" -m\tetterlikn «manpage»-format i bruksdata\n" +" -s\tbare vis et kort brukssammendrag per emne som samsvarer\n" +" \tmed MØNSTER\n" +" \n" +" Argumenter:\n" +" MØNSTER\tVelger hjelpeemne\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre et MØNSTER ikke finnes eller brukeren tar et " +"ugyldig valg." + +#: builtins.c:836 +#, fuzzy +msgid "" +"Display or manipulate the history list.\n" +" \n" +" Display the history list with line numbers, prefixing each modified\n" +" entry with a `*'. An argument of N lists only the last N entries.\n" +" \n" +" Options:\n" +" -c\tclear the history list by deleting all of the entries\n" +" -d offset\tdelete the history entry at position OFFSET.\n" +" \n" +" -a\tappend history lines from this session to the history file\n" +" -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" +" -r\tread the history file and append the contents to the history\n" +" \t\tlist\n" +" -w\twrite the current history to the history file\n" +" \n" +" -p\tperform history expansion on each ARG and display the result\n" +" \t\twithout storing it in the history list\n" +" -s\tappend the ARGs to the history list as a single entry\n" +" \n" +" If FILENAME is given, it is used as the history file. Otherwise,\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" +" \n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" +" as a format string for strftime(3) to print the time stamp associated\n" +" with each displayed history entry. No time stamps are printed " +"otherwise.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is given or an error occurs." +msgstr "" +"Vis eller gjør endringer i kommandohistorikk.\n" +" \n" +" Vis historikk som en liste med linjenumre, og legg til en «*» foran\n" +" endrede oppføringer. Argumentet N viser siste N antall oppføringer.\n" +" \n" +" Valg:\n" +" -c\ttøm historikk ved Ã¥ slette alle oppføringer\n" +" -d posisjon\tslett historikkoppføring ved valgt posisjon.\n" +" \n" +" -a\tlegg til linjer fra denne økta i historikkfil\n" +" -n\tles alle historikklinjer som ikke allerede er lest inn fra " +"historikkfil\n" +" -r\tles historikkfil og legg til innhold i historikkliste\n" +" -w\tlagre gjeldende historikk i historikkfil\n" +" \tog legg til i historikkliste\n" +" \n" +" -p\tutfør historikkutvidelse per ARGument og vis resultatet\n" +" \tuten Ã¥ lagre det i historikkliste\n" +" -s\tlegg til ARGumenter i historikkliste som én enkelt oppføring\n" +" \n" +" Hvis FILNAVN er valgt, brukes dette som historikkfil. Hvis ikke, brukes\n" +" $HISTFILE hvis den har en verdi. Ellers brukes «~/.bash_history».\n" +" \n" +" Hvis variabelen $HISTTIMEFORMAT har en verdi som ikke er null, brukes " +"denne\n" +" verdien som formatstreng for strftime(3) for Ã¥ skriv ut tidsstempelet i\n" +" hver historikkoppføring. Ellers skrives ingen tidsstempler ut.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller det oppstÃ¥r en " +"feil." + +#: builtins.c:872 +msgid "" +"Display status of jobs.\n" +" \n" +" Lists the active jobs. JOBSPEC restricts output to that job.\n" +" Without options, the status of all active jobs is displayed.\n" +" \n" +" Options:\n" +" -l\tlists process IDs in addition to the normal information\n" +" -n\tlists only processes that have changed status since the last\n" +" \t\tnotification\n" +" -p\tlists process IDs only\n" +" -r\trestrict output to running jobs\n" +" -s\trestrict output to stopped jobs\n" +" \n" +" If -x is supplied, COMMAND is run after all job specifications that\n" +" appear in ARGS have been replaced with the process ID of that job's\n" +" process group leader.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is given or an error occurs.\n" +" If -x is used, returns the exit status of COMMAND." +msgstr "" +"Vis status for bakgrunnsjobber.\n" +" \n" +" Vis aktive bakgrunnsjobber. JOBBSPES begrenser utskrift til valgt jobb.\n" +" Hvis ingenting er valgt, vises status for alle aktive jobber.\n" +" \n" +" Valg:\n" +" -l\tvis prosess-ID-er i tillegg til vanlig informasjon\n" +" -n\tbare vis prosesser som har endret stattus siden forrige\n" +" \tvarsling\n" +" -p\tbare vis prosess-ID-er\n" +" -r\tbare skriv ut kjørende jobber\n" +" -s\tbare skriv ut ventende jobber\n" +" \n" +" Hvis «-x» er valgt, kjøres KOMMANDO straks alle ARGumenterte\n" +" jobber er erstattet med prosess-ID-en til gjeldende prosessgruppeleder.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller det oppstÃ¥r en " +"feil.\n" +" Hvis «-x» er valgt, hentes statuskode fra aktuell KOMMANDO." + +#: builtins.c:899 +msgid "" +"Remove jobs from current shell.\n" +" \n" +" Removes each JOBSPEC argument from the table of active jobs. Without\n" +" any JOBSPECs, the shell uses its notion of the current job.\n" +" \n" +" Options:\n" +" -a\tremove all jobs if JOBSPEC is not supplied\n" +" -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" +" \t\tshell receives a SIGHUP\n" +" -r\tremove only running jobs\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option or JOBSPEC is given." +msgstr "" +"Fjern jobber fra gjeldende skall.\n" +" \n" +" Fjerner hvert JOBBSPES-argument fra tabellen med aktive jobber.\n" +" Hvis ingen JOBBSPES er valgt, brukes jobben som regnes som gjeldende.\n" +" \n" +" Valg:\n" +" -a\tfjern alle jobber hvis JOBBSPES ikke er angitt\n" +" -h\tmarker hver JOBBSPES slik at SIGHUP ikke sendes til jobben hvis " +"skallet\n" +" \tmottar et SIGHUP\n" +" -r\tbare fjern kjørende jobber\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar ugyldig(e) valg eller JOBBSPES." + +#: builtins.c:918 +#, fuzzy +msgid "" +"Send a signal to a job.\n" +" \n" +" Send the processes identified by PID or JOBSPEC the signal named by\n" +" SIGSPEC or SIGNUM. If neither SIGSPEC nor SIGNUM is present, then\n" +" SIGTERM is assumed.\n" +" \n" +" Options:\n" +" -s sig\tSIG is a signal name\n" +" -n sig\tSIG is a signal number\n" +" -l\tlist the signal names; if arguments follow `-l' they are\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" +" \n" +" Kill is a shell builtin for two reasons: it allows job IDs to be used\n" +" instead of process IDs, and allows processes to be killed if the limit\n" +" on processes that you can create is reached.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is given or an error occurs." +msgstr "" +"Send et signal til en jobb.\n" +" \n" +" Gi prosesser (valgt med PID eller JOBBSPES) et signal\n" +" (valgt med SIGSPES eller SIGNUM). Hvis hverken SIGSPES eller SIGNUM er " +"valgt,\n" +" brukes SIGTERM.\n" +" \n" +" Valg:\n" +" -s sig\tSIG er et signalnavn\n" +" -n sig\tSIG er et signalnummer\n" +" -l\tvis signalnavn. Hvis «-l» etterfølges av argumenter,\n" +" \tantas disse Ã¥ være signalnumre som det skal vises navn pÃ¥\n" +" \n" +" Kill er en innebygget skallkommando av to grunner: den tillater bruk av " +"jobb-ID\n" +" i stedet for prosess-ID, og lar brukeren drepe prosesser hvis grensa " +"for\n" +" antall tillatte prosesser er nÃ¥dd.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller det oppstÃ¥r " +"feil." + +#: builtins.c:942 +msgid "" +"Evaluate arithmetic expressions.\n" +" \n" +" Evaluate each ARG as an arithmetic expression. Evaluation is done in\n" +" fixed-width integers with no check for overflow, though division by 0\n" +" is trapped and flagged as an error. The following list of operators is\n" +" grouped into levels of equal-precedence operators. The levels are " +"listed\n" +" in order of decreasing precedence.\n" +" \n" +" \tid++, id--\tvariable post-increment, post-decrement\n" +" \t++id, --id\tvariable pre-increment, pre-decrement\n" +" \t-, +\t\tunary minus, plus\n" +" \t!, ~\t\tlogical and bitwise negation\n" +" \t**\t\texponentiation\n" +" \t*, /, %\t\tmultiplication, division, remainder\n" +" \t+, -\t\taddition, subtraction\n" +" \t<<, >>\t\tleft and right bitwise shifts\n" +" \t<=, >=, <, >\tcomparison\n" +" \t==, !=\t\tequality, inequality\n" +" \t&\t\tbitwise AND\n" +" \t^\t\tbitwise XOR\n" +" \t|\t\tbitwise OR\n" +" \t&&\t\tlogical AND\n" +" \t||\t\tlogical OR\n" +" \texpr ? expr : expr\n" +" \t\t\tconditional operator\n" +" \t=, *=, /=, %=,\n" +" \t+=, -=, <<=, >>=,\n" +" \t&=, ^=, |=\tassignment\n" +" \n" +" Shell variables are allowed as operands. The name of the variable\n" +" is replaced by its value (coerced to a fixed-width integer) within\n" +" an expression. The variable need not have its integer attribute\n" +" turned on to be used in an expression.\n" +" \n" +" Operators are evaluated in order of precedence. Sub-expressions in\n" +" parentheses are evaluated first and may override the precedence\n" +" rules above.\n" +" \n" +" Exit Status:\n" +" If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." +msgstr "" +"Kontroller aritmetiske uttrykk.\n" +" \n" +" Kontroller hvert ARGument som et aritmetisk uttrykk. Kontroll utføres i\n" +" breddefaste heltall uten overflodssjekk, men deling pÃ¥ 0 fanges opp\n" +" og markeres som en feil. Følgende liste over operatører er\n" +" sortert gruppevis pÃ¥ presedensnivÃ¥, som vises i synkende rekkefølge.\n" +" \n" +" \tid++, id--\tvariabel post-inkrement, post-dekrement\n" +" \t++id, --id\tvariabel pre-inkrement, pre-dekrement\n" +" \t-, +\t\tunær minus, pluss\n" +" \t!, ~\t\tlogisk og bitvis negasjon\n" +" \t**\t\teksponentiasjon\n" +" \t*, /, %\t\tmultiplikasjon, divisjon, rest\n" +" \t+, -\t\taddisjon, subtraksjon\n" +" \t<<, >>\t\tvenstre og høyre bitvis bytte\n" +" \t<=, >=, <, >\tsammenlikning\n" +" \t==, !=\t\tlikhet, ulikhet\n" +" \t&\t\tbitvis AND\n" +" \t^\t\tbitvis XOR\n" +" \t|\t\tbitvis OR\n" +" \t&&\t\tlogisk AND\n" +" \t||\t\tlogisk OR\n" +" \texpr ? expr : expr\n" +" \t\t\tbetinget operatør\n" +" \t=, *=, /=, %=,\n" +" \t+=, -=, <<=, >>=,\n" +" \t&=, ^=, |=\toppgave\n" +" \n" +" Skallvariabler tillates som operand. Variabelens navn erstattes med\n" +" verdien (tvunget til et breddefast heltall) i et uttrykk.\n" +" Variabelen behøver ikke heltallsattributt for Ã¥ kunne brukes i et " +"uttrykk.\n" +" \n" +" Operatører regnes ut etter presedens. Underuttrykk i parentes\n" +" regnes ut først, og kan overstyre overnevnte presedensregler.\n" +" \n" +" Avslutningsstatus:\n" +" Hvis siste ARGument blir 0, er status 1. Ellers er statuskoden 0." + +#: builtins.c:987 +msgid "" +"Read a line from the standard input and split it into fields.\n" +" \n" +" Reads a single line from the standard input, or from file descriptor FD\n" +" if the -u option is supplied. The line is split into fields as with " +"word\n" +" splitting, and the first word is assigned to the first NAME, the second\n" +" word to the second NAME, and so on, with any leftover words assigned to\n" +" the last NAME. Only the characters found in $IFS are recognized as " +"word\n" +" delimiters.\n" +" \n" +" If no NAMEs are supplied, the line read is stored in the REPLY " +"variable.\n" +" \n" +" Options:\n" +" -a array\tassign the words read to sequential indices of the array\n" +" \t\tvariable ARRAY, starting at zero\n" +" -d delim\tcontinue until the first character of DELIM is read, rather\n" +" \t\tthan newline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" +" -n nchars\treturn after reading NCHARS characters rather than waiting\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" +" -N nchars\treturn only after reading exactly NCHARS characters, " +"unless\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" +" -p prompt\toutput the string PROMPT without a trailing newline before\n" +" \t\tattempting to read\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" +" \n" +" Exit Status:\n" +" The return code is zero, unless end-of-file is encountered, read times " +"out\n" +" (in which case it's greater than 128), a variable assignment error " +"occurs,\n" +" or an invalid file descriptor is supplied as the argument to -u." +msgstr "" +"Les en linje fra standard inndata og del den opp i felt.\n" +" \n" +" Leser en enkeltlinje fra standard inndata, eller fra fildeskriptor FD\n" +" hvis «-u» er valgt. Linja deles opp i felt pÃ¥ samme mÃ¥te som orddeling.\n" +" Første ord tildeles første NAVN, ord nummer to til NAVN nummer to,\n" +" og sÃ¥ videre. Eventuelle restrerende ord tildeles siste NAVN.\n" +" Bare tegn som finnes i $IFS regnes som ord-skilletegn.\n" +" \n" +" Hvis ingen NAVN er oppgitt, legges lest linje i variabelen REPLY.\n" +" \n" +" Valg:\n" +" -a tabell\tknytt leste ord til sekvens-indekser i \n" +" \t\ttabellvariabelen TABELL, talt fra null\n" +" -d skill\tfortsett frem til første SKILLetegn, i stedet for frem til " +"linjeskift\n" +" -e\t\tbruk Readline til Ã¥ hente linja i et interaktivt skall\n" +" -i tekst\tBruk valgt TEKST med Readline\n" +" -n n\tgÃ¥ tilbake etter Ã¥ ha lest N antall tegn i stedet for Ã¥ vente pÃ¥ " +"ny linje,\n" +" \t\tmen bruk skilletegn hvis linja er kortere enn N\n" +" \t\tles tegn før skilletegn\n" +" -N N\tgÃ¥ tilbake etter Ã¥ ha lest nøyaktig N antall tegn, med mindre\n" +" \t\tEOF eller tidsavbrudd oppstÃ¥r (skilletegn ignoreres)\n" +" -p ledet\tskriv ut valgt LEDETekst uten Ã¥ legge til linjeskift før " +"lesing\n" +" -r\t\tikke tillat bruk av skrÃ¥strek som skiftetegn\n" +" -s\t\tikke skriv ut inndata som kommer fra en terminal\n" +" -t tidsav\tavbryt og avslutt med feil hvis en hel linje med inndata\n" +" \t\tikke blir lest ferdig innen valgt TIDSAVbrudd (i sekunder).\n" +" \t\tStandard avbruddstid hentes fra variabelen TMOUT. TIDSAVbrudd kan " +"være\n" +" \t\tet brøktall. Hvis TIDSAV er 0, gÃ¥r read tilbake umiddelbart,\n" +" \t\tog prøver ikke Ã¥ lese data. I sistnevnte tilfelle avslutter read " +"bare\n" +" \t\tvellykket hvis inndata er tilgjengelig pÃ¥ valgt fildeskriptor.\n" +" \t\tAvslutningsstatus er større enn 128 ved tidsavbrudd\n" +" -u fd\t\tles fra fildeskriptor FD i stedet for standard inndata\n" +" \n" +" Avslutningsstatus:\n" +" Null (vellykket), med mindre programmet møter EOF, fÃ¥r tidsavbrudd\n" +" (i sÃ¥ fall er verdien høyere enn 128), det oppstÃ¥r en variabel-" +"tidelingsfeil,\n" +" eller valget «-u» argumenteres med en ugyldig fildeskriptor." + +#: builtins.c:1034 +msgid "" +"Return from a shell function.\n" +" \n" +" Causes a function or sourced script to exit with the return value\n" +" specified by N. If N is omitted, the return status is that of the\n" +" last command executed within the function or script.\n" +" \n" +" Exit Status:\n" +" Returns N, or failure if the shell is not executing a function or script." +msgstr "" +"GÃ¥ ut av en skallfunksjon.\n" +" \n" +" Avslutter en funksjon eller kildeskript med status N.\n" +" Hvis N er utelatt, brukes statuskoden fra forrige kommando\n" +" i funksjonen eller skriptet.\n" +" \n" +" Avslutningsstatus:\n" +" N, eller mislykket hvis skallet ikke kjører en funksjon eller et skript." + +#: builtins.c:1047 +#, fuzzy +msgid "" +"Set or unset values of shell options and positional parameters.\n" +" \n" +" Change the value of shell attributes and positional parameters, or\n" +" display the names and values of shell variables.\n" +" \n" +" Options:\n" +" -a Mark variables which are modified or created for export.\n" +" -b Notify of job termination immediately.\n" +" -e Exit immediately if a command exits with a non-zero status.\n" +" -f Disable file name generation (globbing).\n" +" -h Remember the location of commands as they are looked up.\n" +" -k All assignment arguments are placed in the environment for a\n" +" command, not just those that precede the command name.\n" +" -m Job control is enabled.\n" +" -n Read commands but do not execute them.\n" +" -o option-name\n" +" Set the variable corresponding to option-name:\n" +" allexport same as -a\n" +" braceexpand same as -B\n" +" emacs use an emacs-style line editing interface\n" +" errexit same as -e\n" +" errtrace same as -E\n" +" functrace same as -T\n" +" hashall same as -h\n" +" histexpand same as -H\n" +" history enable command history\n" +" ignoreeof the shell will not exit upon reading EOF\n" +" interactive-comments\n" +" allow comments to appear in interactive commands\n" +" keyword same as -k\n" +" monitor same as -m\n" +" noclobber same as -C\n" +" noexec same as -n\n" +" noglob same as -f\n" +" nolog currently accepted but ignored\n" +" notify same as -b\n" +" nounset same as -u\n" +" onecmd same as -t\n" +" physical same as -P\n" +" pipefail the return value of a pipeline is the status of\n" +" the last command to exit with a non-zero status,\n" +" or zero if no command exited with a non-zero " +"status\n" +" posix change the behavior of bash where the default\n" +" operation differs from the Posix standard to\n" +" match the standard\n" +" privileged same as -p\n" +" verbose same as -v\n" +" vi use a vi-style line editing interface\n" +" xtrace same as -x\n" +" -p Turned on whenever the real and effective user ids do not match.\n" +" Disables processing of the $ENV file and importing of shell\n" +" functions. Turning this option off causes the effective uid and\n" +" gid to be set to the real uid and gid.\n" +" -t Exit after reading and executing one command.\n" +" -u Treat unset variables as an error when substituting.\n" +" -v Print shell input lines as they are read.\n" +" -x Print commands and their arguments as they are executed.\n" +" -B the shell will perform brace expansion\n" +" -C If set, disallow existing regular files to be overwritten\n" +" by redirection of output.\n" +" -E If set, the ERR trap is inherited by shell functions.\n" +" -H Enable ! style history substitution. This flag is on\n" +" by default when the shell is interactive.\n" +" -P If set, do not resolve symbolic links when executing commands\n" +" such as cd which change the current directory.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" +" -- Assign any remaining arguments to the positional parameters.\n" +" If there are no remaining arguments, the positional parameters\n" +" are unset.\n" +" - Assign any remaining arguments to the positional parameters.\n" +" The -x and -v options are turned off.\n" +" \n" +" Using + rather than - causes these flags to be turned off. The\n" +" flags can also be used upon invocation of the shell. The current\n" +" set of flags may be found in $-. The remaining n ARGs are positional\n" +" parameters and are assigned, in order, to $1, $2, .. $n. If no\n" +" ARGs are given, all shell variables are printed.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is given." +msgstr "" +"Legg til eller fjern verdier for skallvalg og posisjonsparametre.\n" +" \n" +" Endre verdien av skall-attributter og posisjonsparametre, eller\n" +" vis navn og verdier av skallvariabler.\n" +" \n" +" Valg:\n" +" -a Marker variabler som er endret eller laget for eksportering.\n" +" -b Varsle jobbavbrudd umiddelbart.\n" +" -e Avslutt hvis en kommando avslutter med annen status enn null.\n" +" -f SlÃ¥ av generering av filnavn («globbing»).\n" +" -h Husk plassering av kommandoer ved oppslag.\n" +" -k Legg alle tildelingsargumenter for en kommando i miljøet,\n" +" og ikke bare de som kommer før kommandonavnet.\n" +" -m SlÃ¥ pÃ¥ jobbkontroll.\n" +" -n Les kommandoer, men ikke kjør dem.\n" +" -o valgnavn\n" +" Gi verdi til variabelen som samsvarer med valgnavn:\n" +" allexport tilsvarer «-a»\n" +" braceexpand tilsvarer «-B»\n" +" emacs rediger linjer med et emacs-aktig grensesnitt\n" +" errexit tilsvarer «-e»\n" +" errtrace tilsvarer «-E»\n" +" functrace tilsvarer «-T»\n" +" hashall tilsvarer «-h»\n" +" histexpand tilsvarer «-H»\n" +" history slÃ¥ pÃ¥ kommandohistorikk\n" +" ignoreeof ikke avslutt skall ved lesing av EOF\n" +" interactive-comments\n" +" tillat kommentarer i interaktive kommandoer\n" +" keyword tilsvarer «-k»\n" +" monitor tilsvarer «-m»\n" +" noclobber tilsvarer «-C»\n" +" noexec tilsvarer «-n»\n" +" noglob tilsvarer «-f»\n" +" nolog godtas, men ignoreres\n" +" notify tilsvarer «-b»\n" +" nounset tilsvarer «-u»\n" +" onecmd tilsvarer «-t»\n" +" physical tilsvarer «-P»\n" +" pipefail returverdi av en kommandokø er statusen for\n" +" siste kommando som avslutter med en annen status " +"enn null,\n" +" eller null hvis alle kommandoer avsluttet med " +"null\n" +" posix endre bash-oppførsel hvor standardoppførselen er\n" +" annerledes enn Posix-standarden, slik at bash\n" +" samsvarer med Posix\n" +" privileged tilsvarer «-p»\n" +" verbose tilsvarer «-v»\n" +" vi rediger linjer med et vi-aktig grensesnitt\n" +" xtrace tilsvarer «-x»\n" +" -p SlÃ¥tt pÃ¥ nÃ¥r virkelig og effektiv bruker-ID ikke er like.\n" +" Dette slÃ¥r av behandling av fila $ENV og importering av\n" +" skallfunksjoner. Hvis du slÃ¥r av dette valget, blir effektiv uid " +"og\n" +" gid det samme som virkelig uid og gid.\n" +" -t Avslutt nÃ¥r én kommando er lest og kjørt.\n" +" -u Behandle udefinerte variabler som en feil.\n" +" -v Skriv ut skall-inndatalinjer nÃ¥r de leses.\n" +" -x Skriv ut kommandoer og argumenter nÃ¥r de kjøres.\n" +" -B utfør «brace»-utvidelse\n" +" -C Ikke tillat overskriving av vanlige filer ved\n" +" videresending av utdata.\n" +" -E Gi ERR-felle videre til skallfunksjoner.\n" +" -H SlÃ¥ pÃ¥ historikk-subsidiering i «!»-stil. Dette er slÃ¥tt pÃ¥\n" +" som standard i interaktive skall.\n" +" -P Ikke følg symbolske lenker ved kjøring av kommandoer\n" +" som «cd».\n" +" -T Gi DEBUG-felle videre til skallfunksjoner.\n" +" -- Tildel gjenstÃ¥ende argumenter til posisjonsparametre.\n" +" Hvis ingen argumenter gjenstÃ¥r, tømmes posisjonsparametrene..\n" +" - Knytt gjenstÃ¥ende argumenter til posisjonsparametrene.\n" +" Valgene «-x» og «-v» er slÃ¥tt av.\n" +" \n" +" Bruk «+» i stedet for «-» for Ã¥ skru av disse valgene.\n" +" De kan ogsÃ¥ brukes nÃ¥r skalelt kalles. Gjeldende valgsett finnes\n" +" i «$-». GjenstÃ¥ende antall ARGumenter er posisjonsparametre,\n" +" og tildeles i rekkefølge til $1, $2, … $n. Hvis ingen\n" +" ARGumenter er brukt, skrives alle skallvariabler ut.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg." + +#: builtins.c:1132 +msgid "" +"Unset values and attributes of shell variables and functions.\n" +" \n" +" For each NAME, remove the corresponding variable or function.\n" +" \n" +" Options:\n" +" -f\ttreat each NAME as a shell function\n" +" -v\ttreat each NAME as a shell variable\n" +" -n\ttreat each NAME as a name reference and unset the variable itself\n" +" \t\trather than the variable it references\n" +" \n" +" Without options, unset first tries to unset a variable, and if that " +"fails,\n" +" tries to unset a function.\n" +" \n" +" Some variables cannot be unset; also see `readonly'.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is given or a NAME is read-only." +msgstr "" +"Fjern verdier og attributter fra skallvariabler og funksjoner.\n" +" \n" +" Fjern variabel og funksjon per oppgitt NAVN.\n" +" \n" +" Valg:\n" +" -f\tbehandle hvert NAVN som en skallfunksjon\n" +" -v\tbehandle hvert NAVN som en skallvariabel\n" +" -n\tbehandle hvert NAVN som en navnreferanse, og tilbakestill selve " +"variabelen\n" +" \ti stedet for variabelen den refererer til\n" +" \n" +" Hvis ingen valg er tatt, prøver programmet først Ã¥ tømme en variabel.\n" +" Hvis dette mislykkes, prøver programmet Ã¥ tømme en funksjon.\n" +" \n" +" Enkelte variabler kan ikke tømmes. Se ogsÃ¥ «readonly».\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller et NAVN er " +"skrivebeskyttet." + +#: builtins.c:1154 +msgid "" +"Set export attribute for shell variables.\n" +" \n" +" Marks each NAME for automatic export to the environment of subsequently\n" +" executed commands. If VALUE is supplied, assign VALUE before " +"exporting.\n" +" \n" +" Options:\n" +" -f\trefer to shell functions\n" +" -n\tremove the export property from each NAME\n" +" -p\tdisplay a list of all exported variables and functions\n" +" \n" +" An argument of `--' disables further option processing.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is given or NAME is invalid." +msgstr "" +"Gi skallvariabler eksport-attributt.\n" +" \n" +" Markerer hvert valgt NAVN for automatisk eksportering til miljøet ved " +"etterfølgende\n" +" kjørte kommandoer. Hvis VERDI er oppgitt, tildeles VERDI før " +"eksportering.\n" +" \n" +" Valg:\n" +" -f\thenvis til skallfunksjoner\n" +" -n\tfjern eksport-attributt fra valgt(e) NAVN\n" +" -p\tvis en liste over alle eksporterte variabler og funksjoner\n" +" \n" +" Bruk argumentet«--» for Ã¥ slÃ¥ av videre behandling av valg.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg, eller et NAVN er " +"ugyldig." + +#: builtins.c:1173 +msgid "" +"Mark shell variables as unchangeable.\n" +" \n" +" Mark each NAME as read-only; the values of these NAMEs may not be\n" +" changed by subsequent assignment. If VALUE is supplied, assign VALUE\n" +" before marking as read-only.\n" +" \n" +" Options:\n" +" -a\trefer to indexed array variables\n" +" -A\trefer to associative array variables\n" +" -f\trefer to shell functions\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" +" \n" +" An argument of `--' disables further option processing.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is given or NAME is invalid." +msgstr "" +"Marker skallvariabler som skrivebeskyttet.\n" +" \n" +" Marker hvert valgt NAVN som skrivebeskyttet. Verdier av NAVN kan ikke " +"endres\n" +" av etterfølgende tildeling. Hvis VERDI er oppgitt, tildeles denne før\n" +" variabelen markeres som skrivebeskyttet.\n" +" \n" +" Valg:\n" +" -a\thenvis til indekserte tabellvariabler\n" +" -A\thenvis til assosiative tabellvariabler\n" +" -f\thenvis til skallfunksjoner\n" +" -p\tvis en liste over alle skrivebeskyttede variabler eller " +"funksjoner,\n" +" avhengig av hvorvidt «-f» er valgt\n" +" \n" +" Bruk argumentet «--» for Ã¥ slÃ¥ av videre behandling av valg.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller NAVN." + +#: builtins.c:1195 +msgid "" +"Shift positional parameters.\n" +" \n" +" Rename the positional parameters $N+1,$N+2 ... to $1,$2 ... If N is\n" +" not given, it is assumed to be 1.\n" +" \n" +" Exit Status:\n" +" Returns success unless N is negative or greater than $#." +msgstr "" +"Flytt posisjonsparametre.\n" +" \n" +" Gi parametrene $N+1,$N+2 osv. nye navn som $1,$2 osv. Hvis N er\n" +" utelatt, brukes verdien 1.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre N er negativ eller større enn $#." + +#: builtins.c:1207 builtins.c:1222 +msgid "" +"Execute commands from a file in the current shell.\n" +" \n" +" Read and execute commands from FILENAME in the current shell. The\n" +" entries in $PATH are used to find the directory containing FILENAME.\n" +" If any ARGUMENTS are supplied, they become the positional parameters\n" +" when FILENAME is executed.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last command executed in FILENAME; fails if\n" +" FILENAME cannot be read." +msgstr "" +"Kjør kommandoer fra en fil i gjeldende skall.\n" +" \n" +" Les og kjør kommandoer fra valgt FILNAVN i gjeldende kall.\n" +" Elementene i $PATH brukes til Ã¥ finne mappa med valgt FILNAVN.\n" +" Hvis ARGUMENTER brukes, bruke disse som posisjonsparametre\n" +" nÃ¥r valgt FILNAVN kjøres.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som siste kommando som ble kjørt via FILNAVN, eller\n" +" mislykket hvis FILNAVN ikke kan leses." + +#: builtins.c:1238 +msgid "" +"Suspend shell execution.\n" +" \n" +" Suspend the execution of this shell until it receives a SIGCONT signal.\n" +" Unless forced, login shells cannot be suspended.\n" +" \n" +" Options:\n" +" -f\tforce the suspend, even if the shell is a login shell\n" +" \n" +" Exit Status:\n" +" Returns success unless job control is not enabled or an error occurs." +msgstr "" +"Sett skallkjøring pÃ¥ pause.\n" +" \n" +" Sett kjøring av dette skallet pÃ¥ pause inntil det mottar et SIGCONT-" +"signal.\n" +" Innloggingsskall kan ikke settes pÃ¥ pause med mindre du tvinger det " +"fram.\n" +" \n" +" Valg:\n" +" -f\ttving skallpause, selv hvis skallet er et innloggingsskall\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre jobbkontroll er slÃ¥tt av eller det oppstÃ¥r en feil." + +#: builtins.c:1254 +msgid "" +"Evaluate conditional expression.\n" +" \n" +" Exits with a status of 0 (true) or 1 (false) depending on\n" +" the evaluation of EXPR. Expressions may be unary or binary. Unary\n" +" expressions are often used to examine the status of a file. There\n" +" are string operators and numeric comparison operators as well.\n" +" \n" +" The behavior of test depends on the number of arguments. Read the\n" +" bash manual page for the complete specification.\n" +" \n" +" File operators:\n" +" \n" +" -a FILE True if file exists.\n" +" -b FILE True if file is block special.\n" +" -c FILE True if file is character special.\n" +" -d FILE True if file is a directory.\n" +" -e FILE True if file exists.\n" +" -f FILE True if file exists and is a regular file.\n" +" -g FILE True if file is set-group-id.\n" +" -h FILE True if file is a symbolic link.\n" +" -L FILE True if file is a symbolic link.\n" +" -k FILE True if file has its `sticky' bit set.\n" +" -p FILE True if file is a named pipe.\n" +" -r FILE True if file is readable by you.\n" +" -s FILE True if file exists and is not empty.\n" +" -S FILE True if file is a socket.\n" +" -t FD True if FD is opened on a terminal.\n" +" -u FILE True if the file is set-user-id.\n" +" -w FILE True if the file is writable by you.\n" +" -x FILE True if the file is executable by you.\n" +" -O FILE True if the file is effectively owned by you.\n" +" -G FILE True if the file is effectively owned by your group.\n" +" -N FILE True if the file has been modified since it was last " +"read.\n" +" \n" +" FILE1 -nt FILE2 True if file1 is newer than file2 (according to\n" +" modification date).\n" +" \n" +" FILE1 -ot FILE2 True if file1 is older than file2.\n" +" \n" +" FILE1 -ef FILE2 True if file1 is a hard link to file2.\n" +" \n" +" String operators:\n" +" \n" +" -z STRING True if string is empty.\n" +" \n" +" -n STRING\n" +" STRING True if string is not empty.\n" +" \n" +" STRING1 = STRING2\n" +" True if the strings are equal.\n" +" STRING1 != STRING2\n" +" True if the strings are not equal.\n" +" STRING1 < STRING2\n" +" True if STRING1 sorts before STRING2 " +"lexicographically.\n" +" STRING1 > STRING2\n" +" True if STRING1 sorts after STRING2 lexicographically.\n" +" \n" +" Other operators:\n" +" \n" +" -o OPTION True if the shell option OPTION is enabled.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" +" ! EXPR True if expr is false.\n" +" EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" +" EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" +" \n" +" arg1 OP arg2 Arithmetic tests. OP is one of -eq, -ne,\n" +" -lt, -le, -gt, or -ge.\n" +" \n" +" Arithmetic binary operators return true if ARG1 is equal, not-equal,\n" +" less-than, less-than-or-equal, greater-than, or greater-than-or-equal\n" +" than ARG2.\n" +" \n" +" Exit Status:\n" +" Returns success if EXPR evaluates to true; fails if EXPR evaluates to\n" +" false or an invalid argument is given." +msgstr "" +"Kontroller betinget uttrykk.\n" +" \n" +" Avslutter med status 0 (positiv, «true») eller 1 (negativ, «false»)\n" +" i henhold til resultatet av valgt UTTRykk. Uttrykk kan være unære eller " +"binære.\n" +" Unære uttrykk brukes ofte for Ã¥ undersøke status for en fil.\n" +" Streng- og tallkontroll-valg kan ogsÃ¥ brukes.\n" +" \n" +" Test endrer oppførsel i henhold til antall argumenter.\n" +" Se bash-bruksanvisninga for en fullstendig spesifikasjon.\n" +" \n" +" Filvalg:\n" +" \n" +" -a FIL Positiv hvis FIL finnes.\n" +" -b FIL Positiv hvis FIL er blokk-spesialfil.\n" +" -c FIL Positiv hvis FIL er tegn-spesialfil.\n" +" -d FIL Positiv hvis FIL er en mappe.\n" +" -e FIL Positiv hvis FIL finnes.\n" +" -f FIL Positiv hvis FIL finnes og er en vanlig fil.\n" +" -g FIL Positiv hvis FIL er «set-group-id».\n" +" -h FIL Positiv hvis FIL er en symbolsk lenke.\n" +" -L FIL Positiv hvis FIL er en symbolsk lenke.\n" +" -k FIL Positiv hvis FIL er «sticky».\n" +" -p FIL Positiv hvis FIL er et navngitt datarør.\n" +" -r FIL Positiv hvis FIL kan leses av deg.\n" +" -s FIL Positiv hvis FIL finnes og ikke er tom.\n" +" -S FIL Positiv hvis FIL er en sokkel.\n" +" -t FD Positiv hvis FD er Ã¥pen i en terminal.\n" +" -u FIL Positiv hvis FIL er «set-user-id».\n" +" -w FIL Positiv hvis FIL kan overskrives av deg.\n" +" -x FIL Positiv hvis FIL kan kjøres av deg.\n" +" -O FIL Positiv hvis FIL har deg som effektiv eier.\n" +" -G FIL Positiv hvis FIL har din gruppe som effektiv " +"gruppetilhørighet.\n" +" -N FIL Positiv hvis FIL er blitt endret siden den ble lest " +"sist.\n" +" \n" +" FIL1 -nt FIL2 Positiv hvis FIL1 er nyere enn FIL2 (i følge\n" +" endringsdato).\n" +" \n" +" FIL1 -ot FIL2 Positiv hvis FIL1 er eldre enn FIL2.\n" +" \n" +" FIL1 -ef FIL2 Positiv hvis FIL1 er en hard lenke til FIL2.\n" +" \n" +" Strengvalg:\n" +" \n" +" -z STRENG Positiv hvis STRENG er tom.\n" +" \n" +" -n STRENG\n" +" STRENG Positiv hvis STRENG ikke er tom.\n" +" \n" +" STRENG1 = STRENG2\n" +" Positiv hvis STRENGene er like.\n" +" STRENG1 != STRENG2\n" +" Positiv hvis STRENGene ikke er like.\n" +" STRENG1 < STRENG2\n" +" Positiv hvis STRENG1 havner over STRENG2 nÃ¥r de " +"sorteres leksikografisk.\n" +" STRENG1 > STRENG2\n" +" Positiv hvis STRENG1 havner under STRENG2 nÃ¥r de " +"sorteres leksikografisk.\n" +" \n" +" Andre valg:\n" +" \n" +" -o VALG Positiv hvis skallvalget OPTION er slÃ¥tt pÃ¥.\n" +" -v VAR\t Positiv hvis skallvariabelen VAR har en verdi\n" +" -R VAR\t Positiv hvis skallvariabelen VAR har en verdi, og er en " +"navnreferanse.\n" +" ! UTTR Positiv hvis UTTR er usant.\n" +" UTTR1 -a UTTR2 Positiv hvis bÃ¥de UTTR1 og UTTR2 er sanne.\n" +" UTTR1 -o UTTR2 Positiv hvis enten UTTR1 eller UTTR2 er sanne.\n" +" \n" +" arg1 OP arg2 Aritmetiske tester. OP mÃ¥ være enten «-eq», «-ne»,\n" +" «-lt», «-le», «-gt» eller «-ge».\n" +" \n" +" Aritmetiske binærvalg gir positiv verdi hvis ARG1 er lik, ulik, mindre " +"enn,\n" +" lik-eller-mindre-enn, større enn eller større-enn-eller-lik ARG2.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket hvis UTTR gir positiv verdi, og mislykket hvis det gir negativ " +"verdi eller\n" +" brukeren bruker et ugyldig argument." + +#: builtins.c:1336 +msgid "" +"Evaluate conditional expression.\n" +" \n" +" This is a synonym for the \"test\" builtin, but the last argument must\n" +" be a literal `]', to match the opening `['." +msgstr "" +"Kontroller betinget uttrykk.\n" +" \n" +" Dette er synonymt med den innebygde kommandoen «test», men\n" +" siste argument mÃ¥ være «]» for Ã¥ samsvare med «[»." + +#: builtins.c:1345 +msgid "" +"Display process times.\n" +" \n" +" Prints the accumulated user and system times for the shell and all of " +"its\n" +" child processes.\n" +" \n" +" Exit Status:\n" +" Always succeeds." +msgstr "" +"Vis prosesstider.\n" +" \n" +" Skriver ut oppsamlet bruker- og systemtid for skallet og alle " +"underprosesser.\n" +" \n" +" Avslutningsstatus:\n" +" Alltid vellykket." + +#: builtins.c:1357 +msgid "" +"Trap signals and other events.\n" +" \n" +" Defines and activates handlers to be run when the shell receives " +"signals\n" +" or other conditions.\n" +" \n" +" ARG is a command to be read and executed when the shell receives the\n" +" signal(s) SIGNAL_SPEC. If ARG is absent (and a single SIGNAL_SPEC\n" +" is supplied) or `-', each specified signal is reset to its original\n" +" value. If ARG is the null string each SIGNAL_SPEC is ignored by the\n" +" shell and by the commands it invokes.\n" +" \n" +" If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from the shell. " +"If\n" +" a SIGNAL_SPEC is DEBUG, ARG is executed before every simple command. " +"If\n" +" a SIGNAL_SPEC is RETURN, ARG is executed each time a shell function or " +"a\n" +" script run by the . or source builtins finishes executing. A " +"SIGNAL_SPEC\n" +" of ERR means to execute ARG each time a command's failure would cause " +"the\n" +" shell to exit when the -e option is enabled.\n" +" \n" +" If no arguments are supplied, trap prints the list of commands " +"associated\n" +" with each signal.\n" +" \n" +" Options:\n" +" -l\tprint a list of signal names and their corresponding numbers\n" +" -p\tdisplay the trap commands associated with each SIGNAL_SPEC\n" +" \n" +" Each SIGNAL_SPEC is either a signal name in or a signal " +"number.\n" +" Signal names are case insensitive and the SIG prefix is optional. A\n" +" signal may be sent to the shell with \"kill -signal $$\".\n" +" \n" +" Exit Status:\n" +" Returns success unless a SIGSPEC is invalid or an invalid option is " +"given." +msgstr "" +"Fang signaler og andre hendelser.\n" +" \n" +" Definerer og slÃ¥r pÃ¥ brytere som skal kjøres nÃ¥r skallet mottar " +"signaler\n" +" eller havner i andre tilstander.\n" +" \n" +" ARG er en kommando som skal leses og kjøres nÃ¥r skallet mottar signalet/-" +"ene\n" +" i henhold til SIGNALSPES. Hvis ARG er enten utelatt eller «-»,\n" +" og én SIGNALSPES er brukt, tilbakestilles valgt(e) signal(er) til\n" +" opprinnelig verdi. Hvis ARG er null, ignoreres SIGNALSPES av skallet\n" +" og kommandoene det kjører.\n" +" \n" +" Hvis en SIGNALSPES er EXIT (0), kjøres ARG nÃ¥r skallet avslutter.\n" +" Hvis en SIGNALSPES er DEBUG, kjøres ARG før hver kommando.\n" +" Hvis en SIGNALSPES er RETURN, kjøres ARG hver gang en skallfunksjon, " +"skript\n" +" eller innebygd kommando har kjørt ferdig. Hvis en SIGNALSPES\n" +" er ERR, kjøres ARG hver gang en feilkjørt kommando ville ført til at " +"skallet\n" +" avsluttes nÃ¥r «-e» er valgt.\n" +" \n" +" Hvis ingen argumenter er brukt, skriver trap ut en liste over " +"kommandoer\n" +" som er tilknyttet hvert signal.\n" +" \n" +" Valg:\n" +" -l\tskriv ut en liste over signalnavn og tilknyttede numre\n" +" -p\tvis trap-kommandoer som er tilknyttet hver SIGNALSPESifikasjon\n" +" \n" +" Hver SIGNALSPES er enten et signalnavn fra eller et " +"signalnummer.\n" +" Signalnavn skiller mellom smÃ¥ og store bokstaver. Prefikset «SIG» er " +"valgfritt.\n" +" Du kan sende et signal til skallet med «kill -signal $$».\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre en SIGNALSPES eller et valg er ugyldig." + +#: builtins.c:1393 +msgid "" +"Display information about command type.\n" +" \n" +" For each NAME, indicate how it would be interpreted if used as a\n" +" command name.\n" +" \n" +" Options:\n" +" -a\tdisplay all locations containing an executable named NAME;\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" +" -f\tsuppress shell function lookup\n" +" -P\tforce a PATH search for each NAME, even if it is an alias,\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" +" -p\treturns either the name of the disk file that would be executed,\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" +" -t\toutput a single word which is one of `alias', `keyword',\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" +" \n" +" Arguments:\n" +" NAME\tCommand name to be interpreted.\n" +" \n" +" Exit Status:\n" +" Returns success if all of the NAMEs are found; fails if any are not " +"found." +msgstr "" +"Vis informasjon om kommandotype.\n" +" \n" +" Vis hvordan hvert NAVN ville blitt tolket hvis det ble brukt som\n" +" et kommandonavn.\n" +" \n" +" Valg:\n" +" -a\tvis alle plasseringer som inneholder en kjørbar fil med oppgitt " +"NAVN.\n" +" \tHer inngÃ¥r alle alias, innebygde kommandoer og funksjoner, med mindre\n" +" \t«-p» er valgt i tillegg\n" +" -f\tikke slÃ¥ opp skallfunksjoner\n" +" -P\ttving et søk i STI etter NAVN, selv hvis det er et alias,\n" +" \tinnebygd kommando eller en funksjon, og vis navn pÃ¥ fila\n" +" \tsom ville blitt kjørt\n" +" -p\tvis enten navn pÃ¥ fila som ville blitt kjørt, eller ingenting " +"hvis\n" +" \t«type -t NAVN» ikke fører til «file».\n" +" -t\tbeskriv NAVN som enten «alias», «keyword» (nøkkelord),\n" +" \t«function» (funksjon), «builtin» (innebygd kommando), «file» (fil) " +"eller \n" +" \t«'» (ikke funnet), if NAME is an alias, shell\n" +" \n" +" Argumenter:\n" +" NAVN\tKommandonavn som skal tolkes.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket hvis alle NAVN finnes, og mislykket hvis ett eller flere ikke " +"finnes." + +#: builtins.c:1424 +msgid "" +"Modify shell resource limits.\n" +" \n" +" Provides control over the resources available to the shell and " +"processes\n" +" it creates, on systems that allow such control.\n" +" \n" +" Options:\n" +" -S\tuse the `soft' resource limit\n" +" -H\tuse the `hard' resource limit\n" +" -a\tall current limits are reported\n" +" -b\tthe socket buffer size\n" +" -c\tthe maximum size of core files created\n" +" -d\tthe maximum size of a process's data segment\n" +" -e\tthe maximum scheduling priority (`nice')\n" +" -f\tthe maximum size of files written by the shell and its children\n" +" -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" +" -l\tthe maximum size a process may lock into memory\n" +" -m\tthe maximum resident set size\n" +" -n\tthe maximum number of open file descriptors\n" +" -p\tthe pipe buffer size\n" +" -q\tthe maximum number of bytes in POSIX message queues\n" +" -r\tthe maximum real-time scheduling priority\n" +" -s\tthe maximum stack size\n" +" -t\tthe maximum amount of cpu time in seconds\n" +" -u\tthe maximum number of user processes\n" +" -v\tthe size of virtual memory\n" +" -x\tthe maximum number of file locks\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" +" \n" +" Not all options are available on all platforms.\n" +" \n" +" If LIMIT is given, it is the new value of the specified resource; the\n" +" special LIMIT values `soft', `hard', and `unlimited' stand for the\n" +" current soft limit, the current hard limit, and no limit, respectively.\n" +" Otherwise, the current value of the specified resource is printed. If\n" +" no option is given, then -f is assumed.\n" +" \n" +" Values are in 1024-byte increments, except for -t, which is in seconds,\n" +" -p, which is in increments of 512 bytes, and -u, which is an unscaled\n" +" number of processes.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is supplied or an error occurs." +msgstr "" +"Endre grenser for skallressurser.\n" +" \n" +" Lar deg kontrollere mengden ressurser som skal være tilgjengelig for " +"skall og\n" +" prosessene det lager pÃ¥ systemer som tillater det.\n" +" \n" +" Valg:\n" +" -S\tbruk myk («soft») ressursgrense\n" +" -H\tbruk «hard» ressursgrense\n" +" -a\tvis alle gjeldende grenser\n" +" -b\tstørrelse pÃ¥ sokkel-mellomlager\n" +" -c\tmaksimal størrelse pÃ¥ opprettede kjernefiler\n" +" -d\tmaksimal størrelse pÃ¥ datasegment av en prosess\n" +" -e\tmaksimal prioritet («nice»-verdi)\n" +" -f\tmaksimal størrelse pÃ¥ filer som skrives av skallet og " +"underprosesser\n" +" -i\tmaksimalt antall ventende signaler\n" +" -l\tmaksimal minnemengde en prosess kan lÃ¥se\n" +" -m\tmaksimal «resident set»-størrelse\n" +" -n\tmaksimalt antall Ã¥pne fildeskriptorer\n" +" -p\tstørrelse pÃ¥ mellomlager for datarør\n" +" -q\tmaksimalt antall byte i POSIX-meldingskøer\n" +" -r\tmaksimal sanntidsprioritet\n" +" -s\tmaksimal stabelstørrelse\n" +" -t\tmaksimal cpu-tid (i sekunder)\n" +" -u\tmaksimalt antall brukerprosesser\n" +" -v\tstørrelsen pÃ¥ virtuelt minne\n" +" -x\tmaksimalt antall fillÃ¥ser\n" +" -T maksimalt antall trÃ¥der\n" +" \n" +" Det er ikke alle valg som støttes pÃ¥ alle plattformer.\n" +" \n" +" Hvis GRENSE er oppgitt, brukes denne som ny verdi for valgt ressurs.\n" +" Du kan ogsÃ¥ bruke spesialverdiene «soft» (myk), «hard», og " +"«unlimited» (ubegrenset).\n" +" Ellers skriver programmet ut gjeldende verdi av valgt ressurs. Hvis " +"ingenting\n" +" er valgt, brukes «-f».\n" +" \n" +" Verdier oppgis i 1024-byte-enheter, bortsett fra «-t» som oppgis i " +"sekunder,\n" +" «-p» som oppgis i 512-byte-enheter og «-u» som er et uskalert antall " +"prosesser.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller det oppstÃ¥r en " +"feil." + +#: builtins.c:1474 +msgid "" +"Display or set file mode mask.\n" +" \n" +" Sets the user file-creation mask to MODE. If MODE is omitted, prints\n" +" the current value of the mask.\n" +" \n" +" If MODE begins with a digit, it is interpreted as an octal number;\n" +" otherwise it is a symbolic mode string like that accepted by chmod(1).\n" +" \n" +" Options:\n" +" -p\tif MODE is omitted, output in a form that may be reused as input\n" +" -S\tmakes the output symbolic; otherwise an octal number is output\n" +" \n" +" Exit Status:\n" +" Returns success unless MODE is invalid or an invalid option is given." +msgstr "" +"Vis eller endre filmodus-maske.\n" +" \n" +" Endrer brukerens standardmaske for nye filer til valgt MODUS. Hvis " +"ingen\n" +" MODUS er valgt, skrives gjeldende maskeverdi ut.\n" +" \n" +" Hvis MODUS begynner med et siffer, tolkes den som et oktalt tall,\n" +" og ellers som en symbolsk modusstreng av typen som brukes av chmod(1).\n" +" \n" +" Valg:\n" +" -p\tskriv ut i et format som kan gjenbrukes som inndata hvis ingen " +"MODUS er valgt\n" +" -S\tgjør utdata symbolsk (ikke skriv ut oktaltall)\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre MODUS er ugyldig eller brukeren tar et ugyldig " +"valg." + +#: builtins.c:1494 +msgid "" +"Wait for job completion and return exit status.\n" +" \n" +" Waits for each process identified by an ID, which may be a process ID or " +"a\n" +" job specification, and reports its termination status. If ID is not\n" +" given, waits for all currently active child processes, and the return\n" +" status is zero. If ID is a a job specification, waits for all " +"processes\n" +" in that job's pipeline.\n" +" \n" +" If the -n option is supplied, waits for the next job to terminate and\n" +" returns its exit status.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last ID; fails if ID is invalid or an invalid\n" +" option is given." +msgstr "" +"Vent pÃ¥ fullføring av jobb, og skriv ut avslutningsstatus.\n" +" \n" +" Vent pÃ¥ valgt(e) prosess(er) (valgt med ID, som kan være prosess-ID " +"eller\n" +" jobbspesifikasjon), og skriv ut statuskode. Hvis ID ikke er valgt,\n" +" venter programmet pÃ¥ alle aktive underprosesser, og avslutter\n" +" med kode null. Hvis ID er en jobbspesifikasjon, venter programmet pÃ¥ " +"alle\n" +" prosesser i kommandokøen for valgt jobb.\n" +" \n" +" Hvis «-n» er valgt, skriver programmet ut avslutningsstatus for neste " +"jobb.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som siste ID, eller mislykket hvis enten en ID er ugyldig eller\n" +" brukeren tar et ugyldig valg." + +#: builtins.c:1515 +msgid "" +"Wait for process completion and return exit status.\n" +" \n" +" Waits for each process specified by a PID and reports its termination " +"status.\n" +" If PID is not given, waits for all currently active child processes,\n" +" and the return status is zero. PID must be a process ID.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last PID; fails if PID is invalid or an " +"invalid\n" +" option is given." +msgstr "" +"Vent pÃ¥ ferdigstillelse av prosess, og rapporter avslutningsstatus.\n" +" \n" +" Venter pÃ¥ hver prosess som er valgt med PID, og rapporterer avsluttende " +"statuskode.\n" +" Hvis PID ikke er valgt, venter kommandoen pÃ¥ alle aktive " +"underprosesser,\n" +" og avslutter med null-status. PID mÃ¥ være en prosess-ID.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som siste PID. Mislykket hvis PID er ugyldig, eller hvis\n" +" brukeren tar et ugyldig valg." + +#: builtins.c:1530 +msgid "" +"Execute commands for each member in a list.\n" +" \n" +" The `for' loop executes a sequence of commands for each member in a\n" +" list of items. If `in WORDS ...;' is not present, then `in \"$@\"' is\n" +" assumed. For each element in WORDS, NAME is set to that element, and\n" +" the COMMANDS are executed.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last command executed." +msgstr "" +"Kjør kommandoer for hvert medlem i en liste.\n" +" \n" +" Løkka «for» kjører en rekke kommandoer per medlem i en liste\n" +" over elementer. Hvis «in ORD …;» ikke er angitt, brukes«in \"$@\"».\n" +" NAVN gis til hvert element i ORD, og KOMMANDOER kjøres.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som sist kjørte kommando." + +#: builtins.c:1544 +msgid "" +"Arithmetic for loop.\n" +" \n" +" Equivalent to\n" +" \t(( EXP1 ))\n" +" \twhile (( EXP2 )); do\n" +" \t\tCOMMANDS\n" +" \t\t(( EXP3 ))\n" +" \tdone\n" +" EXP1, EXP2, and EXP3 are arithmetic expressions. If any expression is\n" +" omitted, it behaves as if it evaluates to 1.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last command executed." +msgstr "" +"Aritmetisk «for»-løkke.\n" +" \n" +" Tilsvarer\n" +" \t(( UTTR1 ))\n" +" \twhile (( UTTR2 )); do\n" +" \t\tKOMMANDOER\n" +" \t\t(( UTTR3 ))\n" +" \tdone\n" +" UTTR1, UTTR2 og UTTR3 er aritmetiske uttrykk. Hvis et uttrykk\n" +" utelates, oppfører programmet seg som om uttrykket er lik 1.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som sist kjørte kommando." + +#: builtins.c:1562 +msgid "" +"Select words from a list and execute commands.\n" +" \n" +" The WORDS are expanded, generating a list of words. The\n" +" set of expanded words is printed on the standard error, each\n" +" preceded by a number. If `in WORDS' is not present, `in \"$@\"'\n" +" is assumed. The PS3 prompt is then displayed and a line read\n" +" from the standard input. If the line consists of the number\n" +" corresponding to one of the displayed words, then NAME is set\n" +" to that word. If the line is empty, WORDS and the prompt are\n" +" redisplayed. If EOF is read, the command completes. Any other\n" +" value read causes NAME to be set to null. The line read is saved\n" +" in the variable REPLY. COMMANDS are executed after each selection\n" +" until a break command is executed.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last command executed." +msgstr "" +"Velg ord fra en liste og kjør kommandoer.\n" +" \n" +" Utvid og lag en liste av valgt(e) ORD.\n" +" Utvidede ord skrive ut pÃ¥ standard feilkanal, anledet av et tall.\n" +" Hvis «in ORD» ikke er valgt, brukes «in \"$@\"». Deretter vises\n" +" PS3-ledetekst, og en linje leses fra standard inndata. Hvis linja\n" +" bestÃ¥r av et tall som tilsvarer antall ord, endres NAVN slik at det\n" +" tilsvarer dette tallet. Hvis linja er tom, vises ORD og ledetekst pÃ¥\n" +" nytt. Hvis programmet møter EOF, avslutter kommandoen. Andre\n" +" verdier fører til at NAVN endres til null. Lest linje lagres i " +"variabelen\n" +" REPLY. KOMMANDOER kjøres etter hvert utvalg frem til programmet\n" +" støter pÃ¥ en bruddkommando.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som sist kjørt kommando." + +#: builtins.c:1583 +msgid "" +"Report time consumed by pipeline's execution.\n" +" \n" +" Execute PIPELINE and print a summary of the real time, user CPU time,\n" +" and system CPU time spent executing PIPELINE when it terminates.\n" +" \n" +" Options:\n" +" -p\tprint the timing summary in the portable Posix format\n" +" \n" +" The value of the TIMEFORMAT variable is used as the output format.\n" +" \n" +" Exit Status:\n" +" The return status is the return status of PIPELINE." +msgstr "" +"Rapporter medgÃ¥tt tid i kommandokø-kjøring.\n" +" \n" +" Kjør valgt DATARØR og skriv ut en oppsummering av reell tid, bruker-CPU-" +"tid\n" +" og system-CPU-tid som er medgÃ¥tt ved kjøring av DATARØR idet det " +"avsluttes.\n" +" \n" +" Valg:\n" +" -p\tkjør tidsoppsummering i gjenbrukbart Posix-format.\n" +" \n" +" Verdien av variabelen «TIMEFORMAT» brukes som utdata-format.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som statuskoden fra valgt DATARØR." + +#: builtins.c:1600 +msgid "" +"Execute commands based on pattern matching.\n" +" \n" +" Selectively execute COMMANDS based upon WORD matching PATTERN. The\n" +" `|' is used to separate multiple patterns.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last command executed." +msgstr "" +"Kjør kommandoer basert pÃ¥ mønster-søk.\n" +" \n" +" Kjør KOMMANDOER som samsvarer med ORD og MØNSTER.\n" +" Tegnet «|» brukes til Ã¥ holde mønstre adskilt.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som sist kjørte kommando." + +#: builtins.c:1612 +msgid "" +"Execute commands based on conditional.\n" +" \n" +" The `if COMMANDS' list is executed. If its exit status is zero, then " +"the\n" +" `then COMMANDS' list is executed. Otherwise, each `elif COMMANDS' list " +"is\n" +" executed in turn, and if its exit status is zero, the corresponding\n" +" `then COMMANDS' list is executed and the if command completes. " +"Otherwise,\n" +" the `else COMMANDS' list is executed, if present. The exit status of " +"the\n" +" entire construct is the exit status of the last command executed, or " +"zero\n" +" if no condition tested true.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last command executed." +msgstr "" +"Kjør kommandoer pÃ¥ gitte betingelser.\n" +" \n" +" Kjør lista «if KOMMANDOER». Hvis avslutningsstatus er null, kjøres\n" +" «then KOMMANDOER». Ellers kjøres hver «elif KOMMANDOER»-liste\n" +" etter tur. Hvis status er null ved sistnevnte, kjøres tilhørende «then " +"KOMMANDOER»\n" +" og if-kommandoen avslutter. Ellers kjøres evt. lista «else KOMMANDOER».\n" +" Avslutningsstatus for hele betingelsesuttrykket er statuskoden fra sist " +"kjørt kommando,\n" +" eller null hvis ingen tilstand er sann.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som sist kjørt kommando." + +#: builtins.c:1629 +msgid "" +"Execute commands as long as a test succeeds.\n" +" \n" +" Expand and execute COMMANDS as long as the final command in the\n" +" `while' COMMANDS has an exit status of zero.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last command executed." +msgstr "" +"Kjør kommandoer sÃ¥ lenge en test lykkes.\n" +" \n" +" Utvid og kjør KOMMANDOER sÃ¥ lenge siste kommando i\n" +" «while» avslutter med null-status.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som sist kjørte kommando." + +#: builtins.c:1641 +msgid "" +"Execute commands as long as a test does not succeed.\n" +" \n" +" Expand and execute COMMANDS as long as the final command in the\n" +" `until' COMMANDS has an exit status which is not zero.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last command executed." +msgstr "" +"Kjør kommandoer sÃ¥ lenge en test mislykkes.\n" +" \n" +" Utvid og kjør KOMMANDOER sÃ¥ lenge siste kommando i\n" +" «until» avslutter med en annen statuskode enn null.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som sist kjørte kommando." + +#: builtins.c:1653 +#, fuzzy +msgid "" +"Create a coprocess named NAME.\n" +" \n" +" Execute COMMAND asynchronously, with the standard output and standard\n" +" input of the command connected via a pipe to file descriptors assigned\n" +" to indices 0 and 1 of an array variable NAME in the executing shell.\n" +" The default NAME is \"COPROC\".\n" +" \n" +" Exit Status:\n" +" The coproc command returns an exit status of 0." +msgstr "" +"Lag en medprosess med valgt NAVN.\n" +" \n" +" Kjør valgt KOMMANDO synkront, med standard inn- og utdata for " +"kommandoen\n" +" som er tilkoblet via et datarør til fildeskriptorer med indeks 0 og 1 i " +"en tabellvariabel \n" +" med oppgitt NAVN i kjørende skall.\n" +"\v StandardNAVN er «COPROC».\n" +" \n" +" Avslutningsstatus:\n" +" Samme som valgt KOMMANDO." + +#: builtins.c:1667 +msgid "" +"Define shell function.\n" +" \n" +" Create a shell function named NAME. When invoked as a simple command,\n" +" NAME runs COMMANDs in the calling shell's context. When NAME is " +"invoked,\n" +" the arguments are passed to the function as $1...$n, and the function's\n" +" name is in $FUNCNAME.\n" +" \n" +" Exit Status:\n" +" Returns success unless NAME is readonly." +msgstr "" +"Definer en skallfunksjon.\n" +" \n" +" Lag en skallfunksjon med valgt NAVN. NAVN kjører KOMMANDOer i gjeldende " +"skallkontekst\n" +" nÃ¥r det kjøres som en enkel kommando, og argumenter videresendes til " +"funksjonen som\n" +" $1…$n. Funksjonens navn ligger i $FUNCNAME.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre valgt NAVN er skrivebeskyttet." + +#: builtins.c:1681 +msgid "" +"Group commands as a unit.\n" +" \n" +" Run a set of commands in a group. This is one way to redirect an\n" +" entire set of commands.\n" +" \n" +" Exit Status:\n" +" Returns the status of the last command executed." +msgstr "" +"Organiser kommandoer i grupper.\n" +" \n" +" Kjør en rekke kommandoer som en gruppe. Slik kan du videresende\n" +" et helt kommandosett.\n" +" \n" +" Avslutningsstatus:\n" +" Samme som sist kjørt kommando." + +#: builtins.c:1693 +msgid "" +"Resume job in foreground.\n" +" \n" +" Equivalent to the JOB_SPEC argument to the `fg' command. Resume a\n" +" stopped or background job. JOB_SPEC can specify either a job name\n" +" or a job number. Following JOB_SPEC with a `&' places the job in\n" +" the background, as if the job specification had been supplied as an\n" +" argument to `bg'.\n" +" \n" +" Exit Status:\n" +" Returns the status of the resumed job." +msgstr "" +"Gjenoppta jobb i forgrunnen.\n" +" \n" +" Tilsvarer argumentet «JOBBSPES» for kommandoen «fg». Gjenoppta\n" +" en jobb som venter eller kjører i bakgrunnen. «JOBBSPES» kan\n" +" enten være et jobbnavn eller -nummer. Bruk «&» etter JOBBSPES for Ã¥\n" +" legge jobben i bakgrunnen, som om jobbspesifikasjonen var et argument " +"for «bg».\n" +" \n" +" Avslutningsstatus:\n" +" Samme som statuskoden for gjenopptatt jobb." + +#: builtins.c:1708 +msgid "" +"Evaluate arithmetic expression.\n" +" \n" +" The EXPRESSION is evaluated according to the rules for arithmetic\n" +" evaluation. Equivalent to \"let EXPRESSION\".\n" +" \n" +" Exit Status:\n" +" Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." +msgstr "" +"GÃ¥ gjennom aritmetisk uttrykk.\n" +" \n" +" Valgt UTTRYKK prøves i henhold til regler for aritmetisk utregning.\n" +" Tilsvarer «let UTTRYKK».\n" +" \n" +" Avslutningsstatus:\n" +" 1 hvis UTTRYKK blir 0, og ellers 0." + +#: builtins.c:1720 +msgid "" +"Execute conditional command.\n" +" \n" +" Returns a status of 0 or 1 depending on the evaluation of the " +"conditional\n" +" expression EXPRESSION. Expressions are composed of the same primaries " +"used\n" +" by the `test' builtin, and may be combined using the following " +"operators:\n" +" \n" +" ( EXPRESSION )\tReturns the value of EXPRESSION\n" +" ! EXPRESSION\t\tTrue if EXPRESSION is false; else false\n" +" EXPR1 && EXPR2\tTrue if both EXPR1 and EXPR2 are true; else false\n" +" EXPR1 || EXPR2\tTrue if either EXPR1 or EXPR2 is true; else false\n" +" \n" +" When the `==' and `!=' operators are used, the string to the right of\n" +" the operator is used as a pattern and pattern matching is performed.\n" +" When the `=~' operator is used, the string to the right of the operator\n" +" is matched as a regular expression.\n" +" \n" +" The && and || operators do not evaluate EXPR2 if EXPR1 is sufficient to\n" +" determine the expression's value.\n" +" \n" +" Exit Status:\n" +" 0 or 1 depending on value of EXPRESSION." +msgstr "" +"Kjør betinget kommando.\n" +" \n" +" Gir statuskode 0 eller 1, avhengig av utfallet av betinget UTTRYKK.\n" +" Uttrykk bygges opp pÃ¥ samme mÃ¥te som i den innebygde kommandoen «test»,\n" +" og kan kombineres som følger:\n" +" \n" +" ( UTTRYKK )\tViser verdien av UTTRYKK\n" +" ! UTTRYKK\t\tPositiv hvis UTTRYKK er usant, ellers negativ\n" +" UTTR1 && UTTR2\tPositiv hvis bÃ¥de UTTR1 og UTTR2 er sant, ellers " +"negativ\n" +" UTTR1 || UTTR2\tPositiv hvis enten UTTR1 eller UTTR2 er sant, ellers " +"negativ\n" +" \n" +" Ved bruk av «==» og «!=» brukes etterfølgende streng som\n" +" et mønster, og programmet utfører mønsterutlikning.\n" +" Ved bruk av «=~» utliknes etterfølgende streng som\n" +" et regulært uttrykk.\n" +" \n" +" Valgene «&&» og «||» kontrollerer ikke UTTR2 hvis UTTR1 allerede\n" +" har gitt svar pÃ¥ uttrykkets verdi.\n" +" \n" +" Avslutningsstatus:\n" +" 0 eller 1, avhengig av UTTRYKKets verdi." + +#: builtins.c:1746 +msgid "" +"Common shell variable names and usage.\n" +" \n" +" BASH_VERSION\tVersion information for this Bash.\n" +" CDPATH\tA colon-separated list of directories to search\n" +" \t\tfor directories given as arguments to `cd'.\n" +" GLOBIGNORE\tA colon-separated list of patterns describing filenames to\n" +" \t\tbe ignored by pathname expansion.\n" +" HISTFILE\tThe name of the file where your command history is stored.\n" +" HISTFILESIZE\tThe maximum number of lines this file can contain.\n" +" HISTSIZE\tThe maximum number of history lines that a running\n" +" \t\tshell can access.\n" +" HOME\tThe complete pathname to your login directory.\n" +" HOSTNAME\tThe name of the current host.\n" +" HOSTTYPE\tThe type of CPU this version of Bash is running under.\n" +" IGNOREEOF\tControls the action of the shell on receipt of an EOF\n" +" \t\tcharacter as the sole input. If set, then the value\n" +" \t\tof it is the number of EOF characters that can be seen\n" +" \t\tin a row on an empty line before the shell will exit\n" +" \t\t(default 10). When unset, EOF signifies the end of input.\n" +" MACHTYPE\tA string describing the current system Bash is running on.\n" +" MAILCHECK\tHow often, in seconds, Bash checks for new mail.\n" +" MAILPATH\tA colon-separated list of filenames which Bash checks\n" +" \t\tfor new mail.\n" +" OSTYPE\tThe version of Unix this version of Bash is running on.\n" +" PATH\tA colon-separated list of directories to search when\n" +" \t\tlooking for commands.\n" +" PROMPT_COMMAND\tA command to be executed before the printing of each\n" +" \t\tprimary prompt.\n" +" PS1\t\tThe primary prompt string.\n" +" PS2\t\tThe secondary prompt string.\n" +" PWD\t\tThe full pathname of the current directory.\n" +" SHELLOPTS\tA colon-separated list of enabled shell options.\n" +" TERM\tThe name of the current terminal type.\n" +" TIMEFORMAT\tThe output format for timing statistics displayed by the\n" +" \t\t`time' reserved word.\n" +" auto_resume\tNon-null means a command word appearing on a line by\n" +" \t\titself is first looked for in the list of currently\n" +" \t\tstopped jobs. If found there, that job is foregrounded.\n" +" \t\tA value of `exact' means that the command word must\n" +" \t\texactly match a command in the list of stopped jobs. A\n" +" \t\tvalue of `substring' means that the command word must\n" +" \t\tmatch a substring of the job. Any other value means that\n" +" \t\tthe command must be a prefix of a stopped job.\n" +" histchars\tCharacters controlling history expansion and quick\n" +" \t\tsubstitution. The first character is the history\n" +" \t\tsubstitution character, usually `!'. The second is\n" +" \t\tthe `quick substitution' character, usually `^'. The\n" +" \t\tthird is the `history comment' character, usually `#'.\n" +" HISTIGNORE\tA colon-separated list of patterns used to decide which\n" +" \t\tcommands should be saved on the history list.\n" +msgstr "" +"Vanlige skallvariabel-navn og bruk.\n" +" \n" +" BASH_VERSION\tInformasjon om Bash-versjon.\n" +" CDPATH\tEn kolondelt liste over mapper som skal gjennomsøkes\n" +" \t\tfor mapper som er brukt som argumenter for «cd».\n" +" GLOBIGNORE\tEn kolondelt liste over mønstre som beskriver filnavn\n" +" \t\tsom skal ignoreres av stinavn-utvidelse.\n" +" HISTFILE\tNavn pÃ¥ fil hvor kommandohistorikk for gjeldende bruker er " +"lagret.\n" +" HISTFILESIZE\tMaksimalt antall linjer denne fila kan inneholde.\n" +" HISTSIZE\tMaksimalt antall historikklinjer et kjørende skall har tilgang " +"til.\n" +" HOME\tFullstendig sti til gjeldende brukers hjemmemappe.\n" +" HOSTNAME\tNavn pÃ¥ gjeldende vert.\n" +" HOSTTYPE\tType prosessor denne versjonen av Bash kjører pÃ¥.\n" +" IGNOREEOF\tKontrollerer skallets handling ved mottak av\n" +" \t\tEOF-tegn som eneste inndata. Hvis denne har en verdi, er verdien\n" +" \t\tgjeldende antall EOF-tegn som kan dukke opp pÃ¥ rad pÃ¥ en tom linje\n" +" \t\tfør skallet avslutter (standard: 10). Hvis denne ikke har en verdi,\n" +" \t\ttolkes EOF som slutt pÃ¥ inndata.\n" +" MACHTYPE\tEn streng som beskriver systemet Bash kjører pÃ¥ nÃ¥.\n" +" MAILCHECK\tHvor ofte (i sekunder) Bash skal se etter ny e-post.\n" +" MAILPATH\tEn kolondelt liste over filnavn som Bash skal gjennomsøke\n" +" \t\tfor ny e-post.\n" +" OSTYPE\tVersjonen av Unix som denne versjonen av Bash kjører pÃ¥.\n" +" PATH\tEn kolondelt liste over mapper som skal gjennomsøkes\n" +" \t\tved søk etter kommandoer.\n" +" PROMPT_COMMAND\tEn kommando som skal kjøres før utskrift av\n" +" \t\tprimær ledetekst.\n" +" PS1\t\tPrimær ledetekst-streng.\n" +" PS2\t\tSekundær ledetekst-streng.\n" +" PWD\t\tFullstendig sti til gjeldende mappe.\n" +" SHELLOPTS\tEn kolondelt liste over skallvalg som er i bruk.\n" +" TERM\tNavn pÃ¥ gjeldende terminaltype.\n" +" TIMEFORMAT\tUtdata-format for tidsstatistikk som vises av\n" +" \t\tdet reserverte ordet «time».\n" +" auto_resume\tEt kommandoord som dukker opp alene pÃ¥ en linje\n" +" \t\tblir kontrollert mot lista over ventende jobber. Hvis kommandoen " +"finnes\n" +" \t\ti lista, flyttes den til forgrunnen.\n" +" \t\tVerdien «exact» betyr at kommandoen mÃ¥ være helt lik\n" +" \t\tet kommandonavn i lista over ventende jobber.\n" +" \t\t«substring» betyr at kommandoen mÃ¥ samsvare med en del\n" +" \t\tav navnet. Andre verdier betyr at kommandoen mÃ¥\n" +" \t\tvære et prefiks av en ventende jobb.\n" +" histchars\tTegn som styrer historikkutvidelse og hurtig-subsidiering.\n" +" \t\tFørste tegn er historikk-subsidieringstegnet (vanligvis «!»),\n" +" \t\tdet andre er hurtig-subsidieringstegnet (vanligvis «^»), og\n" +" \t\tdet tredje er historikk-kommentar-tegnet (vanligvis «#»).\n" +" HISTIGNORE\tEn kolondelt liste over mønstre som bestemmer\n" +" \t\thvilke kommandoer som skal lagres i historikklista.\n" + +#: builtins.c:1803 +msgid "" +"Add directories to stack.\n" +" \n" +" Adds a directory to the top of the directory stack, or rotates\n" +" the stack, making the new top of the stack the current working\n" +" directory. With no arguments, exchanges the top two directories.\n" +" \n" +" Options:\n" +" -n\tSuppresses the normal change of directory when adding\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" +" \n" +" Arguments:\n" +" +N\tRotates the stack so that the Nth directory (counting\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" +" \n" +" -N\tRotates the stack so that the Nth directory (counting\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" +" \n" +" dir\tAdds DIR to the directory stack at the top, making it the\n" +" \t\tnew current working directory.\n" +" \n" +" The `dirs' builtin displays the directory stack.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid argument is supplied or the directory\n" +" change fails." +msgstr "" +"Legg til mapper i stabel.\n" +" \n" +" Legg til en mappe i toppen av mappestabelen, eller roter\n" +" stabelen og gjør toppen av stabelen til gjeldende arbeidsmappe.\n" +" Hvis ingen argumenter er gitt, bytter de to øverste mappene plass..\n" +" \n" +" Valg:\n" +" -n\tIkke bytt mappe nÃ¥r mapper legges til i stabelen\n" +" \t(bare endre stabelen).\n" +" \n" +" Argumenter:\n" +" +N\tRoter stabelen og legg N-te mappe (talt fra\n" +" \tnull til venstre, etter «dirs») i toppen.\n" +" \n" +" -N\tRoter stabelen og legg N-te mappe (talt fra\n" +" \tnull til høyre, etter «dirs») i toppen.\n" +" \n" +" dir\tLegg til MAP i toppen av mappestabelen, og ta den i bruk\n" +" \tsom arbeidsmappe.\n" +" \n" +" Bruk kommandoen «dirs» for Ã¥ vise mappestabelen.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre et ugyldig argument er brukt eller\n" +" mappebytte mislykkes." + +#: builtins.c:1837 +msgid "" +"Remove directories from stack.\n" +" \n" +" Removes entries from the directory stack. With no arguments, removes\n" +" the top directory from the stack, and changes to the new top directory.\n" +" \n" +" Options:\n" +" -n\tSuppresses the normal change of directory when removing\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" +" \n" +" Arguments:\n" +" +N\tRemoves the Nth entry counting from the left of the list\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" +" \n" +" -N\tRemoves the Nth entry counting from the right of the list\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" +" \n" +" The `dirs' builtin displays the directory stack.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid argument is supplied or the directory\n" +" change fails." +msgstr "" +"Fjern mapper fra stabelen.\n" +" \n" +" Fjern oppføringer fra mappestabelen. Hvis ingen argumenter er gitt,\n" +" fjernes øverste mappe fra stabelen, og tar i bruk ny toppmappe som " +"arbeidsmappe.\n" +" \n" +" Valg:\n" +" -n\tIkke bytt mappe nÃ¥r mapper fjernes fra stabelen\n" +" \t(bare endre stabelen).\n" +" \n" +" Argumenter:\n" +" +N\tFjern N-te mappe (talt fra null til venstre, etter «dirs»).\n" +" F.eks.: «popd +0» fjerner første mappe, og «popd +1» mappe nr. 2.\n" +" \n" +" -N\tFjern N-te mappe (talt fra null til høyre, etter «dirs»).\n" +" F.eks.: «popd -0» fjerner siste mappe, og «popd -1» nest siste mappe.\n" +" \n" +" Bruk kommandoen «dirs» for Ã¥ vise mappestabelen.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre et ugyldig argument er brukt eller\n" +" mappebytte mislykkes." + +#: builtins.c:1867 +msgid "" +"Display directory stack.\n" +" \n" +" Display the list of currently remembered directories. Directories\n" +" find their way onto the list with the `pushd' command; you can get\n" +" back up through the list with the `popd' command.\n" +" \n" +" Options:\n" +" -c\tclear the directory stack by deleting all of the elements\n" +" -l\tdo not print tilde-prefixed versions of directories relative\n" +" \t\tto your home directory\n" +" -p\tprint the directory stack with one entry per line\n" +" -v\tprint the directory stack with one entry per line prefixed\n" +" \t\twith its position in the stack\n" +" \n" +" Arguments:\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" +" \n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is supplied or an error occurs." +msgstr "" +"Vis mappestabel.\n" +" \n" +" Vis lista over hurtiglagrede mapper som er hurtiglagret med\n" +" kommandoen «pushd». Du kan gÃ¥ opp igjen med kommandoen «popd». \n" +" Valg:\n" +" -c\ttøm mappestabel ved Ã¥ slette alle elementer\n" +" -l\tikke skriv ut undermapper av brukerens hjemmemappe som\n" +" \trelative stier med tilde-prefiks\n" +" -p\tskriv ut mappestabel med én oppføring per linje\n" +" -v\ttilsvarer «-p», men med stabelposisjon som prefiks\n" +" \n" +" Argumenter:\n" +" +N\tVis N-te oppføring (talt fra null til venstre, etter «dirs»).\n" +" -N\tVis N-te oppføring (talt fra null til høyre, etter «dirs»).\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller det oppstÃ¥r en " +"feil." + +#: builtins.c:1898 +msgid "" +"Set and unset shell options.\n" +" \n" +" Change the setting of each shell option OPTNAME. Without any option\n" +" arguments, list all shell options with an indication of whether or not " +"each\n" +" is set.\n" +" \n" +" Options:\n" +" -o\trestrict OPTNAMEs to those defined for use with `set -o'\n" +" -p\tprint each shell option with an indication of its status\n" +" -q\tsuppress output\n" +" -s\tenable (set) each OPTNAME\n" +" -u\tdisable (unset) each OPTNAME\n" +" \n" +" Exit Status:\n" +" Returns success if OPTNAME is enabled; fails if an invalid option is\n" +" given or OPTNAME is disabled." +msgstr "" +"Juster og tilbakestill skallvalg.\n" +" \n" +" Endre innstilling for hvert VALGNAVN. Hvis ingen valg/argumenter er " +"brukt,\n" +" skriv ut alle skallvalg og vis hvorvidt hvert av dem har en verdi.\n" +" \n" +" Valg:\n" +" -o\tbegrense VALGNAVN til det som er definert med «set -o»\n" +" -p\tskriv ut hvert skallvalg og vis status\n" +" -q\tikke skriv ut noe\n" +" -s\tslÃ¥ pÃ¥ (gi verdi til) hvert VALGNAVN\n" +" -u\tslÃ¥ av (tilbakestill) hvert VALGNAVN\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket hvis VALGNAVN er slÃ¥tt pÃ¥, og mislykket hvis enten brukeren \n" +" tar et ugyldig valg eller VALGNAVN er slÃ¥tt av." + +#: builtins.c:1919 +msgid "" +"Formats and prints ARGUMENTS under control of the FORMAT.\n" +" \n" +" Options:\n" +" -v var\tassign the output to shell variable VAR rather than\n" +" \t\tdisplay it on the standard output\n" +" \n" +" FORMAT is a character string which contains three types of objects: " +"plain\n" +" characters, which are simply copied to standard output; character " +"escape\n" +" sequences, which are converted and copied to the standard output; and\n" +" format specifications, each of which causes printing of the next " +"successive\n" +" argument.\n" +" \n" +" In addition to the standard format specifications described in printf" +"(1),\n" +" printf interprets:\n" +" \n" +" %b\texpand backslash escape sequences in the corresponding argument\n" +" %q\tquote the argument in a way that can be reused as shell input\n" +" %(fmt)T\toutput the date-time string resulting from using FMT as a " +"format\n" +" \t string for strftime(3)\n" +" \n" +" The format is re-used as necessary to consume all of the arguments. If\n" +" there are fewer arguments than the format requires, extra format\n" +" specifications behave as if a zero value or null string, as " +"appropriate,\n" +" had been supplied.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is given or a write or " +"assignment\n" +" error occurs." +msgstr "" +"Formaterer og skriver ut ARGUMENTER pÃ¥ FORMATets premisser.\n" +" \n" +" Valg:\n" +" -v var\tlegg utdata i valgt VARiabel i stedet for Ã¥\n" +" \t\tvise den pÃ¥ standardutdata\n" +" \n" +" FORMAT er en tegnstreng som inneholder tre typer objekter:\n" +" - rene tegn (som kopieres til standardutdata),\n" +" - skiftetegn (som konverteres og kopieres til standardutdata), og\n" +" - formatspesifikasjoner (som skriver ut pÃ¥følgende argument).\n" +" \n" +" Printf tolker følgende standard-formatspes. i tillegg til de som " +"stÃ¥r beskrevet i printf(1):\n" +" \n" +" %b\tutvid omvendt skrÃ¥strek-skiftesekvenser i gjeldende argument\n" +" %q\tgi argumentet anførselstegn slik at det kan brukes som skall-" +"inndata\n" +" %(fmt)T skriv ut «date-time»-streng etter bruk av FMT som formatstreng\n" +" med strftime(3)\n" +" \n" +" Formatet gjenbrukes etter nødvendighet for Ã¥ bruke opp alle " +"argumentene.\n" +" Hvis det finnes færre argumenter enn formatet krever, oppfører " +"overflødige\n" +" formatstrenger seg som om de var 0-verdier eller null-strenger.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller det oppstÃ¥r en\n" +" skrive- eller tidelingsfeil." + +#: builtins.c:1953 +msgid "" +"Specify how arguments are to be completed by Readline.\n" +" \n" +" For each NAME, specify how arguments are to be completed. If no " +"options\n" +" are supplied, existing completion specifications are printed in a way " +"that\n" +" allows them to be reused as input.\n" +" \n" +" Options:\n" +" -p\tprint existing completion specifications in a reusable format\n" +" -r\tremove a completion specification for each NAME, or, if no\n" +" \t\tNAMEs are supplied, all completion specifications\n" +" -D\tapply the completions and actions as the default for commands\n" +" \t\twithout any specific completion defined\n" +" -E\tapply the completions and actions to \"empty\" commands --\n" +" \t\tcompletion attempted on a blank line\n" +" \n" +" When completion is attempted, the actions are applied in the order the\n" +" uppercase-letter options are listed above. The -D option takes\n" +" precedence over -E.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is supplied or an error occurs." +msgstr "" +"Velg hvordan argumenter skal fullføres av Readline.\n" +" \n" +" Velg hvordan argumenter skal fullføres per NAVN.\n" +" \n" +" Valg:\n" +" -p\tskriv ut gjeldende fullføringsoppsett i et gjenbrukbart format " +"(standard)\n" +" -r\tfjern en fullføringsspesifikasjon per NAVN\n" +" \t(eller fra alle spesifikasjoner hvis ingen NAVN er valgt)\n" +" -D\tbruk fullføringer og handlinger som standard for kommandoer uten\n" +" \tspesifikke definisjoner av fullføring\n" +" -E\tbruk fullføringer og handlinger med «tomme» kommandoer\n" +" \n" +" Handlinger tas i bruk i samme rekkefølge som valgene med\n" +" store bokstaver ovenfor. Valget «-D» brukes fortrinnsvis\n" +" fremfor «-E».\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller det oppstÃ¥r en " +"feil." + +#: builtins.c:1981 +msgid "" +"Display possible completions depending on the options.\n" +" \n" +" Intended to be used from within a shell function generating possible\n" +" completions. If the optional WORD argument is supplied, matches " +"against\n" +" WORD are generated.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is supplied or an error occurs." +msgstr "" +"Vis mulige fullføringer basert pÃ¥ valgene.\n" +" \n" +" Dette er ment for Ã¥ brukes i en skallfunksjon som genererer mulige\n" +" fullføringer. Hvis argumentet ORD brukes, genererer programmet\n" +" søketreff pÃ¥ ORD.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller det oppstÃ¥r en " +"feil." + +#: builtins.c:1996 +msgid "" +"Modify or display completion options.\n" +" \n" +" Modify the completion options for each NAME, or, if no NAMEs are " +"supplied,\n" +" the completion currently being executed. If no OPTIONs are given, " +"print\n" +" the completion options for each NAME or the current completion " +"specification.\n" +" \n" +" Options:\n" +" \t-o option\tSet completion option OPTION for each NAME\n" +" \t-D\t\tChange options for the \"default\" command completion\n" +" \t-E\t\tChange options for the \"empty\" command completion\n" +" \n" +" Using `+o' instead of `-o' turns off the specified option.\n" +" \n" +" Arguments:\n" +" \n" +" Each NAME refers to a command for which a completion specification must\n" +" have previously been defined using the `complete' builtin. If no NAMEs\n" +" are supplied, compopt must be called by a function currently generating\n" +" completions, and the options for that currently-executing completion\n" +" generator are modified.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is supplied or NAME does not\n" +" have a completion specification defined." +msgstr "" +"Endre eller vis fullføringsvalg.\n" +" \n" +" Endre fullføringsvalg per NAVN, eller kjørende fullføringsprosess hvis " +"ingen\n" +" NAVN er valgt. Hvis ingen VALG er brukt, skriv enten ut fullføringsvalg " +"per NAVN,\n" +" eller gjeldende fullføringsoppsett.\n" +" \n" +" Valg:\n" +" \t-o option\tEndre fullføringsVALG per NAVN\n" +" \t-D\t\tEndre valg for kommandofullføringa «default»\n" +" \t-E\t\tEndre valg for kommandofullføringa «empty»\n" +" \n" +" Bruk «+o» i stedet for «-o» for Ã¥ slÃ¥ av valg.\n" +" \n" +" Argumenter:\n" +" \n" +" Hvert NAVN henviser til en kommando som mÃ¥ ha en " +"fullføringsspesifikasjon\n" +" definert med den innebyde kommandoen «complete». Hvis ingen NAVN\n" +" er valgt, mÃ¥ compopt brukes av en funksjon som genererer fullføringer.\n" +" Valgene for den aktuelle fullføringsgeneratoren blir i sÃ¥ fall endret.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller NAVN\n" +" mangler fullføringsoppsett." + +#: builtins.c:2026 +msgid "" +"Read lines from the standard input into an indexed array variable.\n" +" \n" +" Read lines from the standard input into the indexed array variable " +"ARRAY, or\n" +" from file descriptor FD if the -u option is supplied. The variable " +"MAPFILE\n" +" is the default ARRAY.\n" +" \n" +" Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" +" -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " +"copied\n" +" -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" +" \n" +" Arguments:\n" +" ARRAY\tArray variable name to use for file data\n" +" \n" +" If -C is supplied without -c, the default quantum is 5000. When\n" +" CALLBACK is evaluated, it is supplied the index of the next array\n" +" element to be assigned and the line to be assigned to that element\n" +" as additional arguments.\n" +" \n" +" If not supplied with an explicit origin, mapfile will clear ARRAY " +"before\n" +" assigning to it.\n" +" \n" +" Exit Status:\n" +" Returns success unless an invalid option is given or ARRAY is readonly " +"or\n" +" not an indexed array." +msgstr "" +"Legg linjer fra standard inndata i en indeksert tabellvariabel.\n" +" \n" +" Legg linjer fra standard inndata i indeksert tabellvariabel TABELL, " +"eller\n" +" fra fildeskriptor FD ved bruk av «-u». Variabelen MAPFILE er\n" +" standard TABELL.\n" +" \n" +" Valg:\n" +" -d skill\tBruk SKILLetegn til Ã¥ avslutte linjer (i stedet for " +"linjeskift)\n" +" -n antall\tIkke kopier flere enn valgt ANTALL linjer. Hvis ANTALL er " +"0, kopieres alle linjer.\n" +" -O oppr\tTildel til TABELL ved indeks-OPPRinnelse. Standard indeks er " +"0.\n" +" -s antall \tForkast valgt ANTALL linjer i starten.\n" +" -t\t\tFjern etterfølgende linjeskift fra hver lest linje.\n" +" -u fd\t\tLes linjer fra fildeskriptor FD i stedet for standard " +"inndata.\n" +" -C tilbakekall\tVurder TILBAKEKALL hver gang valgt ANTALL linjer er " +"lest.\n" +" -c antall\tVelg antall linjer som skal leses mellom hvert " +"TILBAKEKALL.\n" +" \n" +" Argumenter:\n" +" ARRAY\t\tTabellvariabel-navn som skal brukes i fildata.\n" +" \n" +" Hvis «-C» er valgt men ikke «-c», brukes standardantallet 5000. NÃ¥r\n" +" TILBAKEKALL vurderes, argumenteres det i tillegg med indeks av neste " +"tabellelement\n" +" samt linjenummeret som skal tildeles aktuelt element.\n" +" \n" +" Hvis ingen eksplisitt opprinnelse er gitt, tømmes TABELL før den fÃ¥r " +"tildelt noe.\n" +" \n" +" Avslutningsstatus:\n" +" Vellykket, med mindre brukeren tar et ugyldig valg eller TABELL enten " +"er\n" +" skrivebeskyttet eller en ikke-indeksert tabell." + +#: builtins.c:2062 +msgid "" +"Read lines from a file into an array variable.\n" +" \n" +" A synonym for `mapfile'." +msgstr "" +"Legg linjer fra en fil inn i en tabellvariabel.\n" +" \n" +" Dette er synonymt med «mapfile»." + +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Opphavsrett (C) 2014 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Opphavsrett (C) 2012 Free Software Foundation, Inc." diff --git a/po/nl.gmo b/po/nl.gmo index 93aa543f4..34efe81bf 100644 Binary files a/po/nl.gmo and b/po/nl.gmo differ diff --git a/po/nl.po b/po/nl.po index 86a202601..f1c2b4729 100644 --- a/po/nl.po +++ b/po/nl.po @@ -1,8 +1,8 @@ # Dutch translations for GNU bash. -# Copyright (C) 2014 Free Software Foundation, Inc. +# Copyright (C) 2015 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. # -# "Sokol gore na nebu." +# “Änderung des Speises tut essen.” # # De vertaling van de ruim 70 laatste hulpteksten (65%) in dit bestand # volgt niet helemaal het normale stramien van "onbepaalde wijs voor @@ -17,90 +17,96 @@ # om stilstaan en niet om finale opgave. Een alternatieve vertaling # zou dus "Stilstand" kunnen zijn. # -# Benno Schulenberg , 2006, 2008, 2010, 2011, 2013, 2014. +# Benno Schulenberg , 2006, 2008, 2010, 2011, 2013, 2014, 2015. # Erwin Poeze , 2009. # Julie Vermeersch , 2004. # Erick Branderhorst , 1996. msgid "" msgstr "" -"Project-Id-Version: bash-4.3-rc2\n" +"Project-Id-Version: bash-4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-01-30 21:31+0100\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-18 21:37+0200\n" "Last-Translator: Benno Schulenberg \n" "Language-Team: Dutch \n" -"Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: nl\n" "X-Generator: Lokalize 1.0\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "ongeldige array-index" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: kan geïndexeerd array niet omzetten naar associatief array" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: ongeldige sleutel voor associatief array" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: niet-numerieke index is niet mogelijk" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: een index is nodig bij toekenning aan associatief array" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "Kan %s niet aanmaken: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command(): kan voor opdracht geen toetsenkaart vinden" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: eerste teken dat geen witruimte is is niet '\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "geen sluit-'%c' in %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: ontbrekend scheidingsteken (dubbele punt)" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "accoladevervanging: onvoldoende geheugen beschikbaar voor %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "accoladevervanging: onvoldoende geheugen beschikbaar voor %d elementen" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "accoladevervanging: onvoldoende geheugen beschikbaar voor '%s'" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "'%s': ongeldige naam voor alias" @@ -109,45 +115,45 @@ msgstr "'%s': ongeldige naam voor alias" msgid "line editing not enabled" msgstr "regelbewerking is niet ingeschakeld" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "'%s': ongeldige naam voor toetsenkaart" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "Kan %s niet lezen: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "Kan %s niet losmaken" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "'%s': onbekende functienaam" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s is aan geen enkele toets gebonden\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s kan worden aangeroepen via " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "herhalingsaantal" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "heeft alleen betekenis in een 'for'-, 'while'- of 'until'-lus" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -157,300 +163,329 @@ msgstr "" "\n" " Zonder EXPR, resulteert " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME is niet gedefinieerd" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "te veel argumenten" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "geen andere map" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD is niet gedefinieerd" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "regel %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "waarschuwing: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: Gebruik: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: optie vereist een argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: vereist een numeriek argument" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: niet gevonden" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: ongeldige optie" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: ongeldige optienaam" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "'%s': is geen geldige naam" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "ongeldig octaal getal" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "ongeldig hexadecimaal getal" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "ongeldig getal" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: ongeldige signaalaanduiding" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "'%s': is geen PID en geen geldige taakaanduiding" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: is een alleen-lezen variabele" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s valt buiten bereik" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s valt buiten bereik" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: taak bestaat niet" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: geen taakbesturing" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "geen taakbesturing" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: beperkte modus" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "beperkte modus" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: is geen ingebouwde opdracht van de shell" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "schrijffout: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "fout tijdens instellen van terminaleigenschappen: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "fout tijdens verkrijgen van terminaleigenschappen: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: fout tijdens bepalen van huidige map: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: taakaanduiding is niet eenduidig" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "hulp is niet beschikbaar in deze versie" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: ongeldige actienaam" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: is geen completerings-aanduiding" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "waarschuwing: optie -F functioneert mogelijk niet zoals verwacht" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "waarschuwing: optie -C functioneert mogelijk niet zoals verwacht" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "er wordt momenteel geen completeringsfunctie uitgevoerd" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "kan alleen worden gebruikt binnen een functie" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: verwijzingsvariabele mag geen array zijn" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: zelfverwijzing door naamsverwijzingsvariabele is niet toegestaan" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: circulaire naamsverwijzing" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: ongeldige variabelenaam voor naamsverwijzing" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "'-f' kan niet gebruikt worden om een functie te definiëren" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: is een alleen-lezen functie" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: aangehaalde samengesteld-array-toekenning is verouderd" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: kan array-variabelen niet op deze manier verwijderen" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: kan associatief array niet omzetten naar geïndexeerd array" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dynamisch-laden is niet beschikbaar" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "kan gedeeld object %s niet openen: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "kan %s niet vinden in gedeeld object %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "laadfunctie voor %s geeft foutcode (%d): is niet geladen" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: is niet dynamisch geladen" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "Kan %s niet verwijderen: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: is een map" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: is geen normaal bestand" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: bestand is te groot" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: kan binair bestand niet uitvoeren" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "Kan %s niet uitvoeren: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "uitgelogd\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "geen login-shell; gebruik 'exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Er zijn nog gepauzeerde taken.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Er zijn nog draaiende taken.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "geen opdracht gevonden" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "geschiedenisaanduiding" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "Kan tijdelijk bestand '%s' niet openen: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "huidige" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "taak %d is gestart zonder taakbesturing" @@ -469,24 +504,24 @@ msgstr "%s: optie vereist een argument -- %c\n" msgid "hashing disabled" msgstr "hashen is uitgeschakeld" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: de hash-tabel is leeg\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "treffers commando\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Shell-opdrachten die overeenkomen met '" msgstr[1] "Shell-opdrachten die overeenkomen met '" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -494,12 +529,12 @@ msgstr "" "Er is geen hulptekst voor '%s'.\n" "Probeer 'help help' of 'man -k %s' of 'info %s'." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "Kan %s niet openen: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -521,15 +556,20 @@ msgstr "" "is.)\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "slechts één van '-a', '-n', '-r' of '-w' is mogelijk" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "geschiedenispositie" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: ongeldig argument" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: geschiedenisexpansie is mislukt" @@ -543,115 +583,115 @@ msgstr "%s: 'inlib' is mislukt" msgid "no other options allowed with `-x'" msgstr "bij '-x' zijn geen andere opties toegestaan" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argumenten moeten proces-IDs of taak-IDs zijn" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Onbekende fout" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "uitdrukking werd verwacht" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: is geen geïndexeerd array" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: ongeldige aanduiding van bestandsdescriptor" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: ongeldige bestandsdescriptor: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: ongeldig regelaantal" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: ongeldig array-begin" # Quantum is een hoeveelheid regels, een getal. # Callback is de aan te roepen functie, maar onnodig in de vertaling. -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: ongeldige hoeveelheid" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "lege naam van array-variabele" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "ondersteuning van arrayvariabelen is vereist" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "'%s': ontbrekend opmaakteken" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "'%c': ongeldige aanduiding van tijdsopmaak" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "'%c': ongeldig opmaakteken" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "waarschuwing: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "probleem bij ontleden van opmaak: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "ontbrekend hexadecimaal cijfer bij \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "ontbrekend Unicode-cijfer bij \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "geen andere map" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: ongeldig argument" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "mappenstapel is leeg" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "mappenstapelindex" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -691,7 +731,7 @@ msgstr "" " -N Toont het N-de item, tellend vanaf rechts, van de lijst getoond\n" " door 'dirs' wanneer opgeroepen zonder opties, beginnend bij nul." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -733,7 +773,7 @@ msgstr "" "\n" " De opdracht 'dirs' toont de huidige mappenstapel." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -771,145 +811,155 @@ msgstr "" "\n" " De opdracht 'dirs' toont de huidige mappenstapel." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: ongeldige aanduiding van tijdslimiet" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "leesfout: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" "kan alleen een 'return' doen uit een functie of een uit script aangeroepen " "met 'source'" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "kan niet tegelijk een functie en een variabele verwijderen" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "Kan '%s' niet verwijderen" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "Kan '%s' niet verwijderen: %s is alleen-lezen" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: is geen array-variabele" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: is geen functie" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "Kan '%s' niet exporteren" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "shift-aantal" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "kan shell-opties niet tegelijk inschakelen en uitschakelen" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: ongeldige shell-optienaam" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "vereist een bestandsnaam als argument" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: bestand niet gevonden" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "kan niet pauzeren" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "kan een inlog-shell niet pauzeren" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s is een alias voor '%s'\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s is een shell-sleutelwoord\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s is een functie\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s is een speciale ingebouwde shell-functie\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s is een ingebouwde shell-functie\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s is %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s is gehasht (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: ongeldige limietwaarde" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "'%c': ongeldige opdracht" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: kan de limiet niet bepalen: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "limiet" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: kan de limiet niet wijzigen: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "octaal getal" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "'%c': ongeldige operator in symbolische modus" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "'%c': ongeldig teken in symbolische modus" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " regel " @@ -923,82 +973,103 @@ msgstr "laatste opdracht: %s\n" msgid "Aborting..." msgstr "Afbreken..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "onbekende opdrachtfout" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "ongeldig opdrachttype" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "ongeldige verbinder" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "ongeldige sprong" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: ongebonden variabele" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\awachten op invoer duurde te lang -- automatisch afgemeld\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "kan standaardinvoer niet omleiden vanaf /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: '%c': ongeldig opmaakteken" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "pijpfout" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: maximum 'eval'-nestingsniveau is overschreden (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: maximum 'source'-nestingsniveau is overschreden (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: maximum functie-nestingsniveau is overschreden (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: beperkte modus: '/' in opdrachtnamen is niet toegestaan" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: opdracht niet gevonden" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: ongeldige interpreter" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: kan binair bestand %s niet uitvoeren" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "'%s' is een speciale ingebouwde shell-functie" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "kan bestandsdescriptor %d niet dupliceren naar bestandsdescriptor %d" @@ -1043,37 +1114,37 @@ msgstr "naam verwacht na pre-increment of pre-decrement" msgid "missing `)'" msgstr "ontbrekend ')'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "syntaxfout: operator verwacht" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "syntaxfout: ongeldige rekenkundige operator" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (het onjuiste symbool is \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "ongeldige rekenkundige basis" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "waarde is te groot voor basis" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: expressiefout\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getwd(): kan geen geen toegang verkrijgen tot bovenliggende mappen" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "kan 'nodelay'-modus niet uitschakelen voor bestandsdescriptor %d" @@ -1091,150 +1162,150 @@ msgid "save_bash_input: buffer already exists for new fd %d" msgstr "" "check_bash_input(): buffer bestaat al voor nieuwe bestandsdescriptor %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline(): procesgroep van pijp" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "afgesplitst PID %d hoort bij draaiende taak %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "verwijderen van gepauzeerde taak %d met procesgroep %ld..." -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process(): proces %5ld (%s) in de pijplijn" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process(): PID %5ld (%s) staat gemarkeerd als nog actief" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid(): PID %ld bestaat niet" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signaal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Klaar" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Gepauzeerd" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Gepauzeerd(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Wordt uitgevoerd" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Klaar(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Exit %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Onbekende afsluitwaarde" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(geheugendump gemaakt) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (werkmap: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "instellen van procesgroep %2$ld van dochter %1$ld" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait(): PID %ld is geen dochterproces van deze shell" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for(): proces %ld is nergens geregistreerd" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job(): taak %d is gepauzeerd" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: taak is afgesloten" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: taak %d draait al op de achtergrond" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" "waitchld(): WNOHANG wordt ingeschakeld om een onbegrensde blokkering te " "vermijden" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: regel %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (geheugendump gemaakt)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(werkmap is nu: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp() is mislukt" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: lijnprotocol" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid()" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "kan procesgroep (%d) van terminal niet instellen" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "er is geen taakbesturing in deze shell" @@ -1288,17 +1359,17 @@ msgstr "realloc(): onderloop: 'mh_nbytes' valt buiten bereik" msgid "realloc: start and end chunk sizes differ" msgstr "realloc(): blokgroottes van begin en eind zijn verschillend" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc(): reserveringstabel is vol??\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc(): %p staat al als gereserveerd in tabel??\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free(): %p staat al als vrij in tabel??\n" @@ -1322,7 +1393,7 @@ msgstr "%s: ongeldige service" msgid "%s: bad network path specification" msgstr "%s: ongeldige aanduiding van netwerkpad" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "netwerkoperaties worden niet ondersteund" @@ -1359,229 +1430,264 @@ msgstr "U hebt nieuwe post in $_" msgid "The mail in %s has been read\n" msgstr "De post in %s is gelezen.\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "syntaxfout: een rekenkundige uitdrukking is vereist" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "syntaxfout: onverwachte ';'" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "syntaxfout: '((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document(): ongeldig instructietype %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" -"regel %d van \"hier\"-document eindigt met einde van bestand (verwachtte " -"'%s')" +"regel %d van \"hier\"-document eindigt met einde van bestand (verwachtte '%" +"s')" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection(): omleidingsinstructie '%d' valt buiten bereik" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "maximum aantal \"hier\"-documenten is overschreden" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "onverwacht bestandseinde tijdens zoeken naar bijpassende '%c'" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "onverwacht bestandseinde tijdens zoeken naar ']]'" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "syntaxfout in conditionele expressie: onverwacht symbool '%s'" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "syntaxfout in conditionele expressie" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "onverwacht symbool '%s'; ')' werd verwacht" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "')' werd verwacht" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "onverwacht argument '%s' bij eenzijdige conditionele operator" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "onverwacht argument bij eenzijdige conditionele operator" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "" "onverwacht symbool '%s'; tweezijdige conditionele operator werd verwacht" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "tweezijdige conditionele operator werd verwacht" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "onverwacht argument '%s' bij tweezijdige conditionele operator" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "onverwacht argument bij tweezijdige conditionele operator" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "onverwacht symbool '%c' in conditionele opdracht" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "onverwacht symbool '%s' in conditionele opdracht" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "onverwacht symbool %d in conditionele opdracht" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "syntaxfout nabij onverwacht symbool '%s'" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "syntaxfout nabij '%s'" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "syntaxfout: onverwacht bestandseinde" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "syntaxfout" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Gebruik \"%s\" om de shell te verlaten.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "onverwacht bestandseinde tijdens zoeken naar bijpassende ')'" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion(): functie '%s' niet gevonden" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert(): %s: lege COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command(): ongeldige verbinder '%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set(): %d: ongeldige bestandsdescriptor" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set(): bestandspointer is NIL" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" "xtrace-bestandsdescriptor (%d) != bestandsnummer van xtrace-bestandspointer " "(%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf(): '%c': ongeldig opmaakteken" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "bestandsdescriptor valt buiten bereik" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: omleiding is niet eenduidig" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: kan bestaand bestand niet overschrijven" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: beperkte modus: omleiden van uitvoer is niet toegestaan" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "kan geen tijdelijk bestand maken voor \"hier\"-document: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: kan bestandsdescriptor niet toewijzen aan variabele" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port is niet mogelijk zonder netwerk" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "omleidingsfout: kan bestandsdescriptor niet dupliceren" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "Kan /tmp niet vinden; maak deze aan!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp dient een geldige mapnaam te zijn" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: ongeldige optie" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "kan UID niet op %d instellen; effectieve UID is %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "kan GID niet op %d instellen; effectieve GID is %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: is een map" + +#: shell.c:1777 msgid "I have no name!" msgstr "Ik heb geen naam!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, versie %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1590,40 +1696,51 @@ msgstr "" "Gebruik: %s [opties]\n" " %s [opties] scriptbestand...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Lange opties:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Korte opties:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-ilrsD, of -c OPDRACHT, of -O SHOPT-OPTIE (enkel bij aanroep)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s, of -o optie (veranderbaar via 'set')\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "Typ '%s -c \"help set\"' voor meer informatie over shell-opties.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Typ '%s -c help' voor meer informatie over ingebouwde shell-functies.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Gebruik de opdracht 'bashbug' om fouten in bash te rapporteren.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "Webpagina van 'bash': \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" +"Algemene hulp bij gebruik van GNU-software: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask(): %d: ongeldige operatie" @@ -1800,78 +1917,93 @@ msgstr "Onbekend signaalnummer" msgid "Unknown Signal #%d" msgstr "Onbekend signaal #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "ongeldige vervanging: geen sluit-'%s' in %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: kan geen lijst toewijzen aan een array-element" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "kan geen pijp maken voor procesvervanging" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "kan geen dochterproces maken voor procesvervanging" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "kan pijp genaamd %s niet openen om te lezen" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "kan pijp genaamd %s niet openen om te schrijven" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "kan pijp genaamd %s niet dupliceren als bestandsdescriptor %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "ongeldige vervanging: geen afsluitende '`' in %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "kan geen pijp maken voor opdrachtvervanging" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "kan geen dochterproces maken voor opdrachtvervanging" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" "command_substitute(): kan pijp niet dupliceren als bestandsdescriptor 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: ongeldige variabelenaam voor naamsverwijzing" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: ongeldige vervanging" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: ongeldige indirecte expansie" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: ongeldige variabelenaam" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: lege parameter, of niet ingesteld" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: resultaat van deeltekenreeks is kleiner dan nul" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: ongeldige vervanging" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: kan niet op deze manier toewijzen" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1879,12 +2011,12 @@ msgstr "" "toekomstige versies van de shell zullen dit als een rekenkundige vervanging " "evalueren" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "ongeldige vervanging: geen afsluitende '`' in %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "geen overeenkomst: %s" @@ -1898,39 +2030,39 @@ msgstr "argument werd verwacht" msgid "%s: integer expression expected" msgstr "%s: een geheel-getaluitdrukking werd verwacht" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "')' werd verwacht" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "')' werd verwacht; %s gevonden" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "eenzijdige operator werd verwacht, %s gevonden" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "tweezijdige operator werd verwacht, %s gevonden" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "ontbrekende ']'" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "ongeldig signaalnummer" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps(): ongeldige waarde in trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1938,87 +2070,88 @@ msgstr "" "run_pending_traps: signaalverwerker is SIG_DFL, herzenden van %d (%s) aan " "mezelf..." -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler(): ongeldig signaal %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "fout tijdens importeren van functiedefinitie voor '%s'" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "shell-niveau is te hoog (%d); teruggezet op 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: circulaire naamsverwijzing" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "" "make_local_variable(): er is geen functiecontext in huidige geldigheidsbereik" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: aan variabele mag geen waarde toegewezen worden" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: ongeldige variabelenaam voor naamsverwijzing" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "" "all_local_variables(): er is geen functiecontext in huidige geldigheidsbereik" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "*** %s heeft lege export-tekenreeks" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "*** ongeldig teken '%d' in export-tekenreeks voor %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "*** geen '=' in export-tekenreeks voor %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context(): top van 'shell_variables' is geen functiecontext" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context(): er is geen 'global_variables'-context" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope(): top van 'shell_variables' is geen tijdelijk geldigheidsbereik" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: Kan %s niet openen als BESTAND" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: ongeldige waarde %s voor 'trace'-bestandsdescriptor" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: compatibiliteitswaarde valt buiten bereik" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright (C) 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2015 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2042,10 +2175,6 @@ msgstr "" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Er is GEEN GARANTIE, voor zover de wet dit toestaat." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2012 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2066,134 +2195,120 @@ msgstr "%s: %s:%d: kan geen %lu bytes reserveren (%lu bytes gereserveerd)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: kan geen %lu bytes reserveren" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [NAAM[=WAARDE] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] NAAM [NAAM...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" "bind [-lpvsPSVX] [-m TOETSENKAART] [-f BESTANDSNAAM] [-q NAAM] [-u NAAM]\n" -" [-r TOETSENREEKS] [-x TOETSENREEKS:SHELL-OPDRACHT]\n" -" [TOETSENREEKS:READLINE-FUNCTIE | TOETSENREEKS:READLINE-OPDRACHT]" +" [-r TOETSENREEKS] [-x TOETSENREEKS:SHELL-OPDRACHT]\n" +" [TOETSENREEKS:READLINE-FUNCTIE | TOETSENREEKS:READLINE-OPDRACHT]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [N]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [N]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [INGEBOUWDE_SHELLFUNCTIE [ARGUMENT...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [EXPRESSIE]" # XXX FIXME is this right? # can -@ only combine with -P, not with -L? -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|(-P [-e])] [-@] [MAP]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -# Dit is een commandonaam. -#: builtins.c:70 -msgid "true" -msgstr "true" - -# Dit is een commandonaam. -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] OPDRACHT [ARGUMENT...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [NAAM[=WAARDE] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] NAAM[=WAARDE]..." - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] NAAM[=WAARDE]..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [OPTIE] NAAM[=WAARDE]..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [ARGUMENT...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [ARGUMENT...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f BESTANDSNAAM] [NAAM...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [ARGUMENT...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts OPTIETEKENREEKS NAAM [ARGUMENT]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a NAAM] [OPDRACHT [ARGUMENT...]] [OMLEIDING...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [N]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [N]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e EDITORNAAM] [-lnr] [EERSTE] [LAATSTE] of: fc -s [PATROON=VERVANGING] " "[OPDRACHT]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [TAAKAANDUIDING]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [TAAKAANDUIDING...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p PADNAAM] [-dt] [NAAM...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [PATROON...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2201,15 +2316,16 @@ msgstr "" "history [-c] [-d POSITIE] [N] of: history -anrw [BESTANDSNAAM] of: history " "-ps ARGUMENT..." -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [TAAKAANDUIDING...] of: jobs -x OPDRACHT [ARGUMENT...]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [TAAKAANDUIDING...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2217,11 +2333,11 @@ msgstr "" "kill [-s SIGNAALNAAM | -n SIGNAALNUMMER | -SIGNAAL] PID | TAAKAANDUIDING\n" " of: kill -l [SIGNAAL]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let ARGUMENT..." -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2230,99 +2346,95 @@ msgstr "" " [-n AANTAL_TEKENS] [-N AANTAL_TEKENS] [-t TIJDSLIMIET]\n" " [-u BESTANDSDESCRIPTOR] [NAAM...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [N]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [--abefhkmnptuvxBCHP] [-o OPTIENAAM] [--] [ARGUMENT...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [NAAM...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [NAAM[=WAARDE] ...] of export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [NAAM[=WAARDE] ...] of readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [N]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source BESTANDSNAAM [ARGUMENTEN]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". BESTANDSNAAM [ARGUMENTEN]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [EXPRESSIE]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ EXPRESSIE... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[ARGUMENT] SIGNAALAANDUIDING...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] NAAM..." -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [GRENSWAARDE]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [GRENSWAARDE]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [MODUS]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [ID ...]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [-n] [PID ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NAAM [in WOORDEN...] ; do OPDRACHTEN; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( EXPR1; EXPR2; EXPR3 )); do OPDRACHTEN; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NAAM [in WOORDEN... ;] do OPDRACHTEN; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] PIJPLIJN" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case WOORD in [PATROON [| PATROON]...) OPDRACHTEN ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2330,63 +2442,63 @@ msgstr "" "if OPDRACHTEN; then OPDRACHTEN; [elif OPDRACHTEN; then OPDRACHTEN;]... [else " "OPDRACHTEN;] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while OPDRACHTEN; do OPDRACHTEN; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until OPDRACHTEN; do OPDRACHTEN; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NAAM] OPDRACHT [OMLEIDINGEN]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function NAAM { OPDRACHTEN ; } of NAAM () { OPDRACHTEN ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ OPDRACHTEN ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "TAAKAANDUIDING [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( EXPRESSIE ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ EXPRESSIE ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - enkele shell-variabelen" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | MAP]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [OPTIENAAM...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v VARIABELE] OPMAAK [ARGUMENTEN]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2396,36 +2508,37 @@ msgstr "" " [-F FUNCTIE] [-G PATROON] [-P PREFIX] [-S SUFFIX]\n" " [-W WOORDENLIJST] [-X FILTERPATROON] [NAAM...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o OPTIE] [-A ACTIE] [-C OPDRACHT] [-F FUNCTIE]\n" -" [-G PATROON] [-P PREFIX] [-S SUFFIX]\n" -" [-W WOORDENLIJST] [-X FILTERPATROON] [WOORD]" +" [-G PATROON] [-P PREFIX] [-S SUFFIX]\n" +" [-W WOORDENLIJST] [-X FILTERPATROON] [WOORD]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o OPTIE] [-DE] [NAAM...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n AANTAL] [-O BEGIN] [-s AANTAL] [-t] [-u BESTANDSDESCRIPTOR]\n" -" [-C FUNCTIE] [-c HOEVEELHEID] [ARRAY]" +"mapfile [-d SCHEIDINGSTEKEN] [-n AANTAL] [-O BEGIN] [-s AANTAL] [-t]\n" +" [-u BESTANDSDESCRIPTOR] [-C FUNCTIE] [-c HOEVEELHEID] " +"[ARRAY]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" "readarray [-n AANTAL] [-O BEGIN] [-s AANTAL] [-t] [-u BESTANDSDESCRIPTOR]\n" -" [-C FUNCTIE] [-c HOEVEELHEID] [ARRAY]" +" [-C FUNCTIE] [-c HOEVEELHEID] [ARRAY]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2437,7 +2550,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2455,24 +2568,26 @@ msgstr "" "het\n" " een alias is.\n" "\n" -" De afsluitwaarde is 0, tenzij er een NAAM zonder VERVANGING gegeven is." +" De afsluitwaarde is 0, tenzij er een NAAM gegeven is waarvoor geen " +"alias\n" +" gedefinieerd is." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Elke gegeven NAAM verwijderen uit de lijst van gedefinieerde aliassen.\n" "\n" -" Optie '-a' verwijdert alle aliassen.\n" +" Met optie '-a' worden alle gedefinieerde aliassen verwijderd.\n" "\n" " De afsluitwaarde is 0, tenzij NAAM geen bestaande alias is." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2506,7 +2621,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2554,7 +2670,7 @@ msgstr "" "een\n" " fout optrad." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2570,7 +2686,7 @@ msgstr "" "\n" " De afsluitwaarde is 0, tenzij N kleiner dan 1 is." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2585,7 +2701,7 @@ msgstr "" "\n" " De afsluitwaarde is 0, tenzij N kleiner dan 1 is." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2609,7 +2725,7 @@ msgstr "" " De afsluitwaarde is die van de uitgevoerde shell-functie, of 1\n" " of 1 als INGEBOUWDE_SHELLFUNCTIE geen ingebouwde shell-functie is." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2635,7 +2751,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij de shell momenteel geen functie uitvoert\n" " of EXPRESSIE ongeldig is." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2658,16 +2774,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2719,13 +2835,13 @@ msgstr "" " omgevingsvariabele PWD ingesteld kon worden als '-P' gegeven is, anders " "1." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2737,16 +2853,16 @@ msgstr "" "De naam van de huidige werkmap tonen.\n" "\n" " Opties:\n" +" -L de waarde van $PWD tonen (als het de huidige werkmap aangeeft)\n" " -P het werkelijke, fysieke pad tonen, zonder symbolische " "koppelingen\n" -" -L het pad tonen zoals dat gevolgd is, inclusief eventuele " -"symbolische\n" -" koppelingen (standaard)\n" +"\n" +" Zonder opties wordt optie '-L' aangenomen.\n" "\n" " De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd of de\n" " huidige map niet bepaald kon worden." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2756,7 +2872,7 @@ msgid "" " Always succeeds." msgstr "Doet niets; de opdracht heeft geen effect; de afsluitwaarde is 0." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2764,7 +2880,7 @@ msgid "" " Always succeeds." msgstr "Geeft afsluitwaarde 0, horend bij \"gelukt\"." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2772,7 +2888,7 @@ msgid "" " Always fails." msgstr "Geeft afsluitwaarde 1, horend bij \"mislukt\"." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2782,10 +2898,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2806,7 +2922,7 @@ msgstr "" " De afsluitwaarde is die van de uitgevoerde OPDRACHT,\n" " of 1 als de OPDRACHT niet gevonden is." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2816,9 +2932,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2885,17 +3001,18 @@ msgstr "" "een\n" " toekenningsfout optrad." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Waarden en eigenschappen van variabelen instellen.\n" "\n" " Deze opdracht is verouderd. Zie 'help declare'." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2921,7 +3038,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd, er een\n" " toekenningsfout optrad, of de shell geen functie aan het uitvoeren is." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2947,9 +3064,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2982,7 +3099,7 @@ msgstr "" "\n" " De afsluitwaarde is 0, tenzij een schrijffout optrad." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3001,7 +3118,7 @@ msgstr "" "\n" " De afsluitwaarde is 0, tenzij een schrijffout optrad." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3057,7 +3174,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij NAAM geen ingebouwde shell-opdracht is of\n" "  er een fout optreedt." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3078,7 +3195,7 @@ msgstr "" "opdracht\n" " leeg is." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3154,7 +3271,7 @@ msgstr "" " Normaliter ontleedt 'getopts' de positionele parameters: $0...$9.\n" " Maar als er argumenten gegeven worden, dan worden deze ontleed." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3165,8 +3282,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3195,7 +3312,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij OPDRACHT niet gevonden wordt of er een\n" " omleidingsfout optreedt." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3207,7 +3324,7 @@ msgstr "" " Beëindigt de shell met een afsluitwaarde van N. Zonder N is de\n" " afsluitwaarde die van de laatst uitgevoerde opdracht." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3220,7 +3337,7 @@ msgstr "" " Beëindigt een login-shell met een afsluitwaarde van N. Geeft een\n" " foutmelding als de huidige shell geen login-shell is." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3275,7 +3392,7 @@ msgstr "" " De afsluitwaarde die van de uitgevoerde opdracht, of 0, of niet-nul als\n" " er een fout optreedt." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3298,7 +3415,7 @@ msgstr "" "er\n" " een fout optreedt." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3323,7 +3440,7 @@ msgstr "" "fout\n" " optreedt." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3332,15 +3449,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3365,7 +3482,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij NAAM niet gevonden wordt of een ongeldige\n" " optie gegeven werd." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3377,7 +3494,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3402,7 +3519,8 @@ msgstr "" "ongeldige\n" " optie gegeven werd." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3411,23 +3529,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3471,8 +3589,7 @@ msgstr "" "een\n" " fout optrad." -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3482,7 +3599,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3518,7 +3635,7 @@ msgstr "" "een\n" " fout optrad. Met optie '-x' is de afsluitwaarde die van OPDRACHT." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3528,7 +3645,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3550,7 +3667,8 @@ msgstr "" " De afsluitwaarde is 0, tenzij een ongeldige optie of TAAKAANDUIDING\n" " gegeven werd." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3562,7 +3680,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3595,7 +3714,7 @@ msgstr "" "een\n" " fout optrad." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3684,7 +3803,7 @@ msgstr "" " Als het laatste ARGUMENT evalueert tot 0, dan is de afsluitwaarde van\n" " 'let' 1; anders 0." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3705,27 +3824,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3785,7 +3905,7 @@ msgstr "" " de tijdslimiet overschreden werd, er een toekenningsfout optrad, of een\n" " ongeldige bestandsdescriptor als argument van '-u' gegeven werd." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3806,7 +3926,8 @@ msgstr "" " uitvoeren is." # Voor de duidelijkheid is de tekstvolgorde veranderd. -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3874,7 +3995,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3991,7 +4113,7 @@ msgstr "" "\n" " De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -4001,7 +4123,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4029,7 +4151,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd of een\n" " NAAM alleen-lezen is." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4063,7 +4185,7 @@ msgstr "" "\n" " De afsluitwaarde is 0, tenzij een ongeldige optie of NAAM gegeven werd." -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -4075,9 +4197,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4102,7 +4223,7 @@ msgstr "" "\n" " De afsluitwaarde is 0, tenzij een ongeldige optie of NAAM gegeven werd." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4119,7 +4240,7 @@ msgstr "" "\n" " De afsluitwaarde is 0 tenzij N negatief is of groter dan $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4144,7 +4265,7 @@ msgstr "" "gegeven\n" " bestand, of 1 als dit bestand niet gelezen kan worden." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4170,7 +4291,7 @@ msgstr "" "fout\n" " optreedt." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4234,9 +4355,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4320,7 +4441,7 @@ msgstr "" " De afsluitwaarde is 0 als EXPRESSIE waar is, 1 als EXPRESSIE onwaar is,\n" " en 2 als een ongeldig argument gegeven werd." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4332,7 +4453,7 @@ msgstr "" " Dit is een synoniem voor de ingebouwde functie 'test', behalve dat\n" " het laatste argument een ']' moet zijn, horend bij de begin-'['." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4351,7 +4472,7 @@ msgstr "" "\n" " De afsluitwaarde is altijd 0." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4439,7 +4560,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij een ongeldige optie of SIGNAALAANDUIDING\n" " gegeven werd." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4448,18 +4569,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4492,7 +4613,7 @@ msgstr "" "\n" " De afsluitwaarde is 0 als elke NAAM gevonden werd, anders 1." -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4510,6 +4631,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4521,7 +4643,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4557,6 +4680,7 @@ msgstr "" " -i het maximum aantal nog wachtende signalen\n" " -l de maximum hoeveelheid geheugen die een proces mag vastpinnen " "(kB)\n" +" -k het maximum aantal gereserveerde kqueues voor dit proces\n" " -m de maximum hoeveelheid fysiek geheugen van een proces (in kB)\n" " -n het maximum aantal open bestandsdescriptors\n" " -p de maximum grootte van een pijpbuffer\n" @@ -4564,10 +4688,11 @@ msgstr "" " -r de maximum realtime-procesprioriteit\n" " -s de maximum stapelgrootte (in kB)\n" " -t de maximum hoeveelheid CPU-tijd (in seconden)\n" -" -T het maximum aantal threads\n" " -u het maximum aantal gebruikersprocessen\n" " -v de maximum hoeveelheid virtueel geheugen van een proces (in kB)\n" " -x het maximum aantal bestandsvergrendelingen\n" +" -P het maximum aantal pseudoterminals\n" +" -T het maximum aantal threads\n" "\n" " Niet alle opties zijn beschikbaar op alle platformen.\n" "\n" @@ -4586,7 +4711,7 @@ msgstr "" "een\n" " fout optrad." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4622,7 +4747,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij MODUS ongeldig is of een ongeldige optie\n" " gegeven werd." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4659,7 +4784,7 @@ msgstr "" " De afsluitwaarde is die van de laatste ID, 1 als ID ongeldig is,\n" " of 2 als een ongeldige optie gegeven werd." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4683,7 +4808,7 @@ msgstr "" " De afsluitwaarde is die van de laatste PID, 1 als PID ongeldig is,\n" " of 2 als een ongeldige optie gegeven werd." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4704,7 +4829,7 @@ msgstr "" "\n" " De afsluitwaarde is die van de laatst uitgevoerde opdracht." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4731,7 +4856,7 @@ msgstr "" "\n" " De afsluitwaarde is die van de laatst uitgevoerde opdracht." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4768,7 +4893,7 @@ msgstr "" "\n" " De afsluitwaarde is die van de laatst uitgevoerde opdracht." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4795,7 +4920,7 @@ msgstr "" " overdraagbare standaardopmaak.\n" " De afsluitwaarde is die van de PIJPLIJN." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4813,7 +4938,7 @@ msgstr "" "\n" " De afsluitwaarde is die van de laatst uitgevoerde opdracht." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4848,7 +4973,7 @@ msgstr "" "uitgevoerde\n" " deelopdracht, of nul als geen enkele 'if' of 'elif' nul opleverde." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4865,7 +4990,7 @@ msgstr "" "\n" " De afsluitwaarde is die van de laatst uitgevoerde opdracht." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4882,7 +5007,8 @@ msgstr "" "\n" " De afsluitwaarde is die van de laatst uitgevoerde opdracht." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4892,7 +5018,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Een co-proces aanmaken genaamd NAAM.\n" "\n" @@ -4903,7 +5029,7 @@ msgstr "" "\n" " De afsluitwaarde is die van de OPDRACHT." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4925,7 +5051,7 @@ msgstr "" "\n" " De afsluitwaarde is 0, tenzij NAAM onveranderbaar is." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4942,7 +5068,7 @@ msgstr "" "\n" " De afsluitwaarde is die van de laatst uitgevoerde opdracht." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4966,7 +5092,7 @@ msgstr "" "\n" " De afsluitwaarde is die van de hervatte taak." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4983,7 +5109,7 @@ msgstr "" "\n" " De afsluitwaarde is 1 als de EXPRESSIE tot 0 evalueert; anders 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5038,7 +5164,7 @@ msgstr "" "\n" " De afsluitwaarde is 0 of 1, afhankelijk van EXPRESSIE." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5152,7 +5278,7 @@ msgstr "" "het\n" " geschiedeniscommentaarteken, gewoonlijk '#'\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5162,19 +5288,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5205,7 +5331,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij een ongeldig argument gegeven werd of de\n" " mapwijziging mislukte." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5214,16 +5340,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5254,7 +5380,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij een ongeldig argument gegeven werd of de\n" " mapwijziging mislukte." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5265,19 +5391,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5305,7 +5431,7 @@ msgstr "" "een\n" " fout optrad." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5348,7 +5474,7 @@ msgstr "" " een ongeldige optienaam gegeven werd, en de afsluitwaarde is 2 als een\n" " ongeldige optie gegeven werd." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5365,15 +5491,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5418,7 +5544,7 @@ msgstr "" "een\n" " schrijf- of toekenningsfout optrad." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5431,11 +5557,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5468,7 +5594,7 @@ msgstr "" "een\n" " fout optrad." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5490,7 +5616,7 @@ msgstr "" "een\n" " fout optrad." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5546,7 +5672,7 @@ msgstr "" " De afsluitwaarde is 0, tenzij een ongeldige optie gegeven werd of voor\n" " NAAM geen completeringsvoorschrift gedefinieerd is." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5557,20 +5683,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5592,6 +5719,7 @@ msgstr "" " De variabele MAPFILE wordt gebruikt als geen ARRAY gegeven is.\n" "\n" " Opties:\n" +" -d TEKEN dit teken (i.p.v. LF) gebruiken als einde van regel\n" " -n AANTAL maximaal dit aantal regels kopiëren (0 = alles)\n" " -O BEGIN met toekennen beginnen bij deze index (standaard 0)\n" " -s AANTAL dit aantal regels overslaan\n" @@ -5619,7 +5747,7 @@ msgstr "" "of\n" " een ongeldige optie gegeven werd." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5629,6 +5757,26 @@ msgstr "" "\n" " Een synoniem voor 'mapfile'." +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2014 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +# Dit is een commandonaam. +#~ msgid "true" +#~ msgstr "true" + +# Dit is een commandonaam. +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2012 Free Software Foundation, Inc." + #~ msgid "" #~ "License GPLv2+: GNU GPL version 2 or later \n" diff --git a/po/pl.gmo b/po/pl.gmo index 0afbb4446..a67cbd54c 100644 Binary files a/po/pl.gmo and b/po/pl.gmo differ diff --git a/po/pl.po b/po/pl.po index 8e5b18bfe..9f97f368b 100644 --- a/po/pl.po +++ b/po/pl.po @@ -2,91 +2,97 @@ # Copyright (C) 2007, 2010, 2011, 2013, 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. # Andrzej M. Krzysztofowicz 2006,2007. -# Jakub Bogusz 2010-2014. +# Jakub Bogusz 2010-2015. # msgid "" msgstr "" -"Project-Id-Version: bash 4.3-rc2\n" +"Project-Id-Version: bash 4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-01-30 20:40+0100\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-24 22:34+0200\n" "Last-Translator: Jakub Bogusz \n" "Language-Team: Polish \n" -"Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: pl\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "nieprawidłowy indeks tablicy" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: nie można przekształcić tablicy indeksowanej na asocjacyjną" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: błędny klucz tablicy asocjacyjnej" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: nie można przypisać do nienumerycznego indeksu" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: przy przypisaniu do tablicy asocjacyjnej należy użyć nawiasów" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: nie można utworzyć: %s" # ??? -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: nie można znaleźć mapy klawiszy dla polecenia" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: pierwszym drukowalnym znakiem nie jest `\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "brak zamykającego `%c' w %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: brak separującego dwukropka" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "rozwijanie nawiasów: nie można przydzielić pamięci dla %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" "rozwijanie nawiasów: nie udało się przydzielić pamięci dla elementów w " "liczbie %d" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "rozwijanie nawiasów: nie udało się przydzielić pamięci dla `%s'" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "`%s': błędna nazwa aliasu" @@ -96,46 +102,46 @@ msgid "line editing not enabled" msgstr "edycja wiersza nie została włączona" # ??? -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "`%s': nieprawidłowa nazwa mapy klawiszy" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: nie można odczytać: %s" # ??? -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "`%s': nie można usunąć dowiązania" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "`%s': nie znana nazwa funkcji" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s nie jest przypisany do żadnego klawisza.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s może być wywołany przez " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "licznik pętli" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "ma sens tylko w pętli `for', `while' lub `until'" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -145,300 +151,329 @@ msgstr "" " \n" " Bez WYRAÅ»ENIA zwraca " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "Nie ustawiono HOME" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "za dużo argumentów" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "brak innego katalogu" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "Nie ustawiono OLDPWD" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "linia %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "uwaga: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: składnia: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: opcja wymaga argumentu" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: wymagany argument numeryczny" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: nie znaleziono" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: nieprawidłowa opcja" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: nieprawidłowa nazwa opcji" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': nieprawidłowy identyfikator" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "błędna liczba ósemkowa" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "błędna liczba szesnastkowa" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "nieprawidłowa liczba" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: nieprawidłowo określony sygnał" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "`%s': nie jest to nr PID ani prawidłowe określenie zadania" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: zmienna tylko do odczytu" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s poza zakresem" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s poza zakresem" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: brak takiego zadania" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: brak kontroli zadań" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "brak kontroli zadań" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: ograniczony" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "ograniczony" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: nie jest to polecenie powłoki" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "błąd zapisu: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "błąd podczas ustawiania atrybutów terminala: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "błąd podczas pobierania atrybutów terminala: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: błąd przy określaniu katalogu bieżącego: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: niejednoznaczne określenie zadania" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "pomoc nie jest dostępna w tej wersji" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: nieprawidłowa nazwa akcji" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: brak definicji dla uzupełnienia" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "uwaga: opcja -F może działać inaczej niż oczekiwano" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "uwaga: opcja -C może działać inaczej niż oczekiwano" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "aktualnie nie jest wykonywana funkcja dopełniania" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "można używać tylko w funkcji" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: zmienna referencyjna nie może być tablicą" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: zmienna referencyjna nie może wskazywać na siebie" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: cykliczne odwołanie do nazwy" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: nieprawidłowa nazwa zmiennej przy odwołaniu do nazwy" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "nie można używać `-f' do tworzenia funkcji" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: funkcja tylko do odczytu" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: przypisanie złożonej tablicy z cytowaniem jest przestarzałe" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: nie można w ten sposób unicestwić zmiennej tablicowej" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: nie można przekształcić tablicy asocjacyjnej na indeksowaną" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "ładowanie dynamiczne nie jest dostępne" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "nie można otworzyć obiektu współdzielonego %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "nie można znaleźć %s w obiekcie współdzielonym %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "funkcja ładująca dla %s zwraca niepowodzenie (%d): nie załadowano" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: nie jest ładowany dynamicznie" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: nie można usunąć: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: jest katalogiem" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: nie jest zwykłym plikiem" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: plik jest za duży" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: nie można uruchomić pliku binarnego" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: nie można uruchomić: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "wylogowanie\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "to nie jest powłoka logowania: użyj `exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Istnieją zatrzymane zadania.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Istnieją działające zadania.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "nie znaleziono polecenia" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "specyfikacja historii" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: nie udało się otworzyć pliku tymczasowego: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "bieżące" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "zadanie %d uruchomiono bez kontroli zadań" @@ -457,17 +492,17 @@ msgstr "%s: opcja wymaga argumentu -- %c\n" msgid "hashing disabled" msgstr "zapamiętywanie ścieżek poleceń w tablicy asocjacyjnej wyłączone" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: tablica asocjacyjna pusta\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "trafienia\tpolecenie\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" @@ -475,7 +510,7 @@ msgstr[0] "Polecenia powłoki pasujące do słowa kluczowego `" msgstr[1] "Polecenia powłoki pasujące do słów kluczowych `" msgstr[2] "Polecenia powłoki pasujące do słów kluczowych `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -483,12 +518,12 @@ msgstr "" "żaden temat pomocy nie pasuje do `%s'. Spróbuj `help help', `man -k %s'\n" "lub `info %s'." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: nie można otworzyć: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -510,15 +545,20 @@ msgstr "" "Gwiazdka (*) po nazwie oznacza, że dane polecenie jest wyłączone.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "nie można używać więcej niż jednego spośród -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "pozycja historii" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: nieprawidłowy argument" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: rozwinięcie wg historii nie powiodło się" @@ -532,113 +572,113 @@ msgstr "%s: inlib nie powiodło się" msgid "no other options allowed with `-x'" msgstr "nie można używać innych opcji przy `-x'" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argumentami muszą być numery procesów lub zadań" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Nieznany błąd" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "spodziewano się wyrażenia" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: nie jest tablicą indeksowaną" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: nieprawidłowo określony deskryptor pliku" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: nieprawidłowy deskryptor pliku: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: błędna liczba linii" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: błędny początek tablicy" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: błędna liczba linii między wywołaniami" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "pusta nazwa zmiennej tablicowej" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "wymagana obsługa zmiennych tablicowych" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "`%s': brak znaku formatującego" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "`%c': błędne określenie formatu czasu" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "`%c': nieprawidłowy znak formatujący" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "uwaga: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "problem z analizą formatu: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "brak cyfry szesnastkowej dla \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "brak cyfry unikodowej dla \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "brak innego katalogu" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: nieprawidłowy argument" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "pusty stos katalogów" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "indeks stosu katalogów" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -681,7 +721,7 @@ msgstr "" " -N\tWypisanie N-tej pozycji licząc od prawej strony listy wypisywanej\n" "\tprzez dirs wywołane bez opcji, począwszy od zera." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -725,7 +765,7 @@ msgstr "" " \n" " Zawartość stosu katalogów można zobaczyć za pomocą polecenia `dirs'." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -764,143 +804,153 @@ msgstr "" " \n" " Zawartość stosu katalogów można zobaczyć za pomocą polecenia `dirs'." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: nieprawidłowo określony limit czasu" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "błąd odczytu: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "wyjście przez `return' możliwe tylko z funkcji lub skryptu" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "nie można jednocześnie anulować definicji funkcji i zmiennej" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: nie można anulować definicji" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: nie można anulować definicji: %s jest tylko do odczytu" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: nie jest zmienną tablicową" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: nie jest funkcją" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: nie można wyeksportować" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "licznik przesunięcia" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "nie można opcji powłoki jednocześnie ustawić i unieważnić" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: nieprawidłowa nazwa opcji powłoki" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "wymagany argument w postaci nazwy pliku" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: nie znaleziono pliku" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "nie można wstrzymać" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "nie można wstrzymać powłoki logowania" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s jest aliasem do %s'\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s jest słowem kluczowym powłoki\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s jest funkcją\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s jest specjalnym wewnętrznym poleceniem powłoki\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s jest wewnętrznym poleceniem powłoki\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s jest %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "ścieżka do %s jest zapamiętana (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: nieprawidłowy argument stanowiący ograniczenie" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': złe polecenie" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: nie można odczytać ograniczenia: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "ograniczenie" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: nie można zmienić ograniczenia: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "liczba ósemkowa" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "`%c': nieprawidłowy operator trybu symbolicznego" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "`%c': nieprawidłowy znak trybu symbolicznego" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " linia " @@ -914,82 +964,103 @@ msgstr "ostatnie polecenie: %s\n" msgid "Aborting..." msgstr "Przerywanie..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORM: " + +#: error.c:463 msgid "unknown command error" msgstr "nieznany błąd polecenia" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "zły rodzaj polecenia" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "zły łącznik" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "zły skok" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: nieustawiona zmienna" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aprzekroczony czas oczekiwania na dane wejściowe: auto-wylogowanie\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "nie można przekierować standardowego wejścia z /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: `%c': nieprawidłowy znak formatujący" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "błąd potoku" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: przekroczono maksymalny poziom zagnieżdżenia polecenia eval (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: przekroczono maksymalny poziom zagnieżdżenia polecenia source (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: przekroczono maksymalny poziom zagnieżdżenia funkcji (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: ograniczony: nie można podawać `/' w nazwach poleceń" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: nie znaleziono polecenia" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: zły interpreter" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: nie można uruchomić pliku binarnego: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "`%s' jest specjalnym poleceniem wewnętrznym" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "nie można skopiować deskryptora pliku %d do %d" @@ -1036,37 +1107,37 @@ msgstr "" msgid "missing `)'" msgstr "brakujący `)'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "błąd składni: spodziewany argument" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "błąd składni: nieprawidłowy operator arytmetyczny" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (błędny znacznik to \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "nieprawidłowa podstawa arytmetyczna" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "wartość za duża na podstawę" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: błąd w wyrażeniu\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: niemożliwy dostęp do katalogów nadrzędnych" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "nie można wyłączyć trybu nieblokującego dla deskryptora %d" @@ -1081,150 +1152,150 @@ msgstr "nie można przydzielić nowego deskryptora pliku dla wejścia basha z %d msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: bufor dla nowego deskryptora %d już istnieje" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp pipe" # ??? -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "proces o PID %d występuje w działającym zadaniu %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "usuwanie zatrzymanego zadania %d z grupą procesów %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: proces %5ld (%s) w potoku" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) oznaczony jako nadal żywy" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: brak takiego PID-u" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Sygnał %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Zakończono" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Zatrzymano" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Zatrzymano(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Działa" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Zakończono(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Kod wyjścia %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Stan nieznany" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(zrzut pamięci) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (katalog: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "setpgid potomka (%ld na %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: PID %ld nie jest potomkiem tej powłoki" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Brak rekordu dla procesu %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: zadanie %d jest zatrzymane" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: zadanie zostało przerwane" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: zadanie %d już pracuje w tle" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" "waitchld: wyłączanie WNOHANG w celu uniknięcia nieskończonego oczekiwania" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: linia %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (zrzut pamięci)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(katalog: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp nie powiodło się" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: dyscyplina linii" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "nie można ustawić grupy procesów terminala (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "w tej powłoce nie ma kontroli zadań" @@ -1279,17 +1350,17 @@ msgstr "realloc: wykryto niedomiar; mh_nbytes poza zakresem" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: rozmiar początkowy i końcowy fragmentu są różne" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: tablica alokacji jest pełna podczas FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p już znajduje się w tablicy jako przydzielony?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p już znajduje się w tablicy jako wolny?\n" @@ -1313,7 +1384,7 @@ msgstr "%s: nieznana usługa" msgid "%s: bad network path specification" msgstr "%s: źle określona ścieżka sieciowa" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "operacje sieciowe nie są wspierane" @@ -1350,225 +1421,260 @@ msgstr "Masz nową pocztę w $_" msgid "The mail in %s has been read\n" msgstr "Poczta w %s jest przeczytana\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "błąd składni: oczekiwano wyrażenia arytmetycznego" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "błąd składni: oczekiwany `;'" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "błąd składni: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: zły rodzaj instrukcji %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" "dokument miejscowy w linii %d ograniczony końcem pliku (oczekiwano `%s')" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: instrukcja przekierowania `%d' poza zakresem" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "przekroczono maksymalną liczbę dokumentów w miejscu" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "nieoczekiwany EOF podczas poszukiwania pasującego `%c'" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "nieoczekiwany EOF podczas poszukiwania `]]'" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "błąd składni w wyrażeniu warunkowym: nieoczekiwany znacznik `%s'" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "błąd składni w wyrażeniu warunkowym" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "nieoczekiwany znacznik `%s', oczekiwano `)'" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "oczekiwano `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "nieoczekiwany argument `%s' jednoargumentowego operatora warunkowego" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "nieoczekiwany argument jednoargumentowego operatora warunkowego" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "nieoczekiwany argument `%s', oczekiwano dwuarg. operatora warunkowego" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "oczekiwano dwuargumentowego operatora warunkowego" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "nieoczekiwany argument `%s' dwuargumentowego operatora warunkowego" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "nieoczekiwany argument dwuargumentowego operatora warunkowego" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "nieoczekiwany znacznik `%c' w poleceniu warunkowym" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "nieoczekiwany znacznik `%s' w poleceniu warunkowym" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "nieoczekiwany znacznik %d w poleceniu warunkowym" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "błąd składni przy nieoczekiwanym znaczniku `%s'" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "błąd składni przy `%s'" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "błąd składni: nieoczekiwany koniec pliku" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "błąd składni" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Użyj \"%s\", aby opuścić tę powłokę.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "nieoczekiwany EOF podczas poszukiwania pasującego `)'" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "uzupełnienie: nie znaleziono funkcji `%s'" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: zły łącznik `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: nieprawidłowy deskryptor pliku" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: pusty wskaźnik pliku" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: `%c': nieprawidłowy znak formatujący" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "deskryptor pliku poza zakresem" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: niejednoznaczne przekierowanie" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: nie można nadpisać istniejącego pliku" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: ograniczony: nie można przekierować wyjścia" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "nie można utworzyć pliku tymczasowego dla dokumentu miejscowego: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: nie można przypisać deskryptora pliku do zmiennej" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port nie są wspierane bez sieci" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "błąd przekierowania: nie można powielić deskryptora pliku" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "nie można znaleźć /tmp, proszę o utworzenie!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp musi być prawidłową nazwą katalogu" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: nieprawidłowa opcja" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "nie można ustawić uid-a na %d: efektywny uid %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "nie można ustawić gid-a na %d: efektywny gid %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: jest katalogiem" + +#: shell.c:1777 msgid "I have no name!" msgstr "Nie mam nazwy!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, wersja %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1577,43 +1683,55 @@ msgstr "" "Użycie:\t%s [długa opcja GNU] [opcja] ...\n" "\t%s [długa opcja GNU] [opcja] plik-skryptu ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Długie opcje GNU:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Opcje powłoki:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-ilrsD lub -c polecenie lub -O shopt_option\t\t(tylko wywołanie)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s lub -o opcja\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Aby uzyskać więcej informacji o opcjach powłoki, napisz `%s -c \"help set" "\"'.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Aby uzyskać więcej informacji o poleceniach wewnętrznych powłoki,\n" "napisz `%s -c help'.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Do zgłaszania błędów należy używać polecenia `bashbug'.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "strona domowa basha: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" +"Ogólna pomoc przy użytkowaniu oprogramowania GNU: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: nieprawidłowa operacja" @@ -1787,77 +1905,92 @@ msgstr "Nieznany sygnał #" msgid "Unknown Signal #%d" msgstr "Nieznany sygnał #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "złe podstawienie: brak zamykającego `%s' w %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: nie można przypisać listy do elementu tablicy" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "nie można utworzyć potoku dla podstawienia procesu" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "nie można utworzyć procesu potomnego dla podstawienia procesu" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "nie można otworzyć nazwanego potoku %s do odczytu" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "nie można otworzyć nazwanego potoku %s do zapisu" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "nie można powielić nazwanego potoku %s jako deskryptor %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "złe podstawienie: brak zamykającego \"`\" w %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "nie można utworzyć potoku dla podstawienia polecenia" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "nie można utworzyć procesu potomnego dla podstawienia polecenia" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: nie można powielić potoku jako deskryptora 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: nieprawidłowa nazwa zmiennej przy odwołaniu do nazwy" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: złe podstawienie" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: błędne rozwinięcie niebezpośrednie" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "`%s': błędna nazwa zmiennej" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parametr pusty lub nieustawiony" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: wyrażenie dla podłańcucha < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: złe podstawienie" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: nie można przypisywać w ten sposób" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1865,12 +1998,12 @@ msgstr "" "przyszłe wersje powłoki będą wymuszać obliczenie jako podstawienie " "arytmetyczne" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "złe podstawienie: brak zamykającego \"`\" w %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "brak pasującego: %s" @@ -1884,125 +2017,126 @@ msgstr "oczekiwano argumentu" msgid "%s: integer expression expected" msgstr "%s: oczekiwano wyrażenia całkowitego" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "oczekiwano `)'" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "oczekiwano `)', znaleziono %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: oczekiwano operatora jednoargumentowego" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: oczekiwano operatora dwuargumentowego" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "brakujący `]'" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "nieprawidłowy numer sygnału" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: zła wartość trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" -"run_pending_traps: obsługa sygnału jest ustawiona na SIG_DFL, wysyłając %d " -"(%s) do siebie" +"run_pending_traps: obsługa sygnału jest ustawiona na SIG_DFL, wysyłając %d (%" +"s) do siebie" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: zły sygnał %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "błąd importu definicji funkcji dla `%s'" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "poziom powłoki (%d) jest za duży, ustawiono na 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: cykliczne odwołanie do nazwy" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: brak kontekstu funkcji w bieżącym zakresie" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: nie można przypisać wartości do zmiennej" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: nieprawidłowa nazwa zmiennej przy odwołaniu do nazwy" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: brak kontekstu funkcji w bieżącym zakresie" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s ma pusty exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "nieprawidłowy znak %d w exportstr dla %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "brak `=' w exportstr dla %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: nagłówek shell_variables poza kontekstem funkcji" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: brak kontekstu global_variables" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: nagłówek shell_variables poza zakresem tymczasowego środowiska" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: nie można otworzyć jako PLIK" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: nieprawidłowa wartość dla deskryptora pliku do śledzenia" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" -msgstr "%s: %s: wartość kompatybilna poza zakresem" +msgstr "%s: %s: wartość zgodności poza zakresem" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright (C) 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2015 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2027,10 +2161,6 @@ msgstr "" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Nie ma Å»ADNEJ GWARANCJI w granicach dopuszczanych przez prawo." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2012 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2051,15 +2181,15 @@ msgstr "%s: %s:%d: nie można przydzielić %lu bajtów (przydzielono %lu)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: nie można przydzielić %lu bajtów" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [nazwa[=wartość] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] nazwa [nazwa ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -2068,112 +2198,100 @@ msgstr "" "x sekwencja:polecenie-powłoki] [sekwencja:funkcja-readline lub polecenie-" "readline]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [polecenie-wbudowane [arg ... ]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [wyrażenie]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]] [-@]] [katalog]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] polecenie [arg ...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [nazwa[=wartość] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] nazwa[=wartość] ..." - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] nazwa[=wartość] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [opcja] nazwa[=wartość] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f plik] [nazwa ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts łańcuch-opcji nazwa [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a nazwa] [polecenie [argumenty ...]] [przekierowanie ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e nazwa-ed] [-lnr] [pierwszy] [ostatni] lub fc -s [wz=zam] [polecenie]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [zadanie]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [zadanie ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p ścieżka] [-dt] [nazwa ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [wzorzec ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2181,15 +2299,16 @@ msgstr "" "history [-c] [-d offset] [n] lub history -anrw [plik] lub history -ps arg " "[arg ...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [zadanie ...] lub jobs -x polecenie [argumenty]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [zadanie ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2197,11 +2316,11 @@ msgstr "" "kill [-s sygnał | -n numer-sygnału | -sygnał] pid | zadanie ... lub kill -l " "[sygnał]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2209,99 +2328,95 @@ msgstr "" "read [-ers] [-a tablica] [-d separator] [-i tekst] [-n liczba] [-N liczba] [-" "p zachęta] [-t czas] [-u fd] [nazwa ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o nazwa-opcji] [--] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [nazwa ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [nazwa[=wartość] ...] lub export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [aAf] [nazwa[=wartość] ...] lub readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source plik [argumenty]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". plik [argumenty]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [wyrażenie]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] sygnał ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] nazwa [nazwa ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [ograniczenie]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [ograniczenie]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [uprawnienia]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [id ...]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [pid ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NAZWA [in SŁOWA ... ] ; do POLECENIA; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( wyr1; wyr2; wyr3 )); do POLECENIA; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NAZWA [in SŁOWA ... ;] do POLECENIA; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] potok" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case SŁOWO in [WZORZEC [| WZORZEC]...) POLECENIA ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2309,63 +2424,63 @@ msgstr "" "if POLECENIA; then POLECENIA; [ elif POLECENIA; then POLECENIA; ]... [ else " "POLECENIA; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while POLECENIA; do POLECENIA; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until POLECENIA; do POLECENIA; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NAZWA] polecenie [przekierowania]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function nazwa { POLECENIA ; } lub nazwa () { POLECENIA ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ POLECENIA ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "zadanie [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( wyrażenie ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ wyrażenie ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "zmienne - nazwy i znaczenie niektórych zmiennych powłoki" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | katalog]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [nazwa-opcji ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] format [argumenty]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2375,28 +2490,28 @@ msgstr "" "[-W lista-słów] [-F funkcja] [-C polecenie] [-X wzorzec-filtra] [-P " "przedrostek] [-S przyrostek] [nazwa ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -"compgen [-abcdefgjksuv] [-o opcja] [-A akcja] [-G wzorzec-glob] [-W lista-" +"compgen [-abcdefgjksuv] [-o opcja] [-A akcja] [-G wzorzec-glob] [-W lista-" "słów] [-F funkcja] [-C polecenie] [-X wzorzec-filtra] [-P przedrostek ] [-S " "przyrostek] [słowo]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o opcja] [-DE] [nazwa ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n liczba] [-O początek] [-s liczba] [-t] [-u fd] [-C wywołanie] [-" -"c co-ile] [tablica]" +"mapfile [-d separator] [-n liczba] [-O początek] [-s liczba] [-t] [-u fd] [-" +"C wywołanie] [-c co-ile] [tablica]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2404,7 +2519,7 @@ msgstr "" "readarray [-n liczba] [-O początek] [-s liczba] [-t] [-u fd] [-C wywołanie] " "[-c co-ile] [tablica]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2416,7 +2531,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2436,30 +2551,30 @@ msgstr "" " następnego słowa.\n" " \n" " Opcje:\n" -" -p\tWypisanie wszystkich zdefiniowanych aliasów w formacie do\n" +" -p\twypisanie wszystkich zdefiniowanych aliasów w formacie do\n" " \tponownego użycia\n" " \n" " Stan wyjściowy:\n" " Polecenie alias zwraca prawdę, chyba że poda się NAZWĘ, dla której nie\n" " zdefiniowano aliasu." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Usuwa wszystkich NAZW z listy zdefiniowanych aliasów.\n" " \n" " Opcje:\n" -" -a\tusunięcie wszystkich definicji aliasów.\n" +" -a\tusunięcie wszystkich definicji aliasów\n" " \n" " Zwracana jest prawda, chyba że NAZWA nie jest istniejącym aliasem." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2493,7 +2608,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2548,7 +2664,7 @@ msgstr "" " Stan wyjściowy:\n" " bind zwraca 0, chyba że podano nieznaną opcję lub wystąpi błąd." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2567,7 +2683,7 @@ msgstr "" " Stan wyjściowy:\n" " Instrukcja zwraca prawdę, chyba że N jest mniejsze niż 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2585,7 +2701,7 @@ msgstr "" " Stan wyjściowy:\n" " Instrukcja zwraca 0, chyba że N jest mniejsze niż 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2610,7 +2726,7 @@ msgstr "" " Instrukcja zwraca stan wyjściowy POLECENIA-WBUDOWANEGO lub fałsz, jeśli\n" " POLECENIE-WBUDOWANE nie jest poleceniem wbudowanym powłoki." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2640,7 +2756,7 @@ msgstr "" " Polecenie zwraca 0, chyba że powłoka nie wykonuje funkcji lub WYRAÅ»ENIE\n" " jest nieprawidłowe." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2663,16 +2779,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2703,14 +2819,14 @@ msgstr "" " \n" " Opcje:\n" " -L\twymuszenie śledzenia dowiązań symbolicznych: rozwiązanie\n" -" \tdowiązań w KATALOGU po przetworzeniu wszystkich `..'\n" +" \t\tdowiązań w KATALOGU po przetworzeniu wszystkich `..'\n" " -P\tkorzystanie z fizycznej struktury katalogów zamiast śledzenia\n" -" \tdowiązań symbolicznych: rozwiązanie dowiązań w KATALOGU przed\n" -" \tprzetworzeniem wszystkich `..'\n" +" \t\tdowiązań symbolicznych: rozwiązanie dowiązań w KATALOGU przed\n" +" \t\tprzetworzeniem wszystkich `..'\n" " -e\tjeśli podano opcję -P, a nie można określić bieżącego katalogu,\n" -" \tpolecenie kończy się stanem niezerowym\n" +" \t\tpolecenie kończy się stanem niezerowym\n" " -@ na systemach obsługujących je, zaprezentowanie pliku mającego\n" -" rozszerzone atrybuty jako katalogu zawierającego atrybuty pliku\n" +" \t\trozszerzone atrybuty jako katalogu zawierającego atrybuty pliku\n" " \n" " Domyślne jest śledzenie dowiązań symbolicznych, jak z opcją `-L'.\n" " `..' jest przetwarzane przez usunięcie bezpośredniego poprzedniego\n" @@ -2721,13 +2837,13 @@ msgstr "" " zmienione pomyślnie w przypadku użycia -P; w przeciwnym razie zwraca\n" " wartość niezerową." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2748,7 +2864,7 @@ msgstr "" " Polecenie zwraca 0, chyba że podano nieprawidłową opcję lub katalog\n" " bieżący nie może być odczytany." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2764,7 +2880,7 @@ msgstr "" " Stan wyjściowy:\n" " Zawsze zwracana jest prawda." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2776,7 +2892,7 @@ msgstr "" " Stan wyjściowy:\n" " Zawsze zwracana jest prawda." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2788,7 +2904,7 @@ msgstr "" " Stan wyjściowy:\n" " Zawsze zwracany jest fałsz." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2798,10 +2914,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2815,7 +2931,7 @@ msgstr "" " \n" " Opcje:\n" " -p\tużycie domyślnej wartości PATH, pod którą powinny być wszystkie\n" -" \tstandardowe narzędzia\n" +" \t\tstandardowe narzędzia\n" " -v\twypisanie opisu POLECENIA w sposób podobny do polecenia `type'\n" " -V\twypisanie szczegółowego opisu każdego POLECENIA\n" " \n" @@ -2823,7 +2939,7 @@ msgstr "" " Polecenie zwraca stan POLECENIA lub fałsz, jeśli POLECENIE nie zostało\n" " znalezione." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2833,9 +2949,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2870,9 +2986,9 @@ msgstr "" " Opcje:\n" " -f\tograniczenie akcji lub wyświetlania do nazw i definicji funkcji\n" " -F\tograniczenie wyświetlania tylko do nazw funkcji (oraz numeru\n" -" \tlinii i pliku źródłowego w przypadku diagnostyki)\n" +" \t\tlinii i pliku źródłowego w przypadku diagnostyki)\n" " -g\ttworzenie zmiennych globalnych w przypadku użycia w funkcji\n" -" \tpowłoki; w przeciwnym wypadku ignorowane\n" +" \t\tpowłoki; w przeciwnym wypadku ignorowane\n" " -p\twyświetlenie atrybutów i wartości dla każdej NAZWY\n" " \n" " Opcje ustawiające atrybuty:\n" @@ -2898,17 +3014,18 @@ msgstr "" " Stan wyjściowy:\n" " Polecenie zwraca prawdę, chyba że podano błędną opcję lub wystąpi błąd." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Ustawienie wartości i atrybutów zmiennej.\n" " \n" " Polecenie przestarzałe - p. `help declare'." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2934,7 +3051,7 @@ msgstr "" " Zwracana jest prawda, chyba że podano błędną opcję, wystąpi błąd przy\n" " przypisaniu zmiennej lub powłoka nie wykonuje żadnej funkcji." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2960,9 +3077,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2993,14 +3110,14 @@ msgstr "" " \\v\ttabulacja pionowa\n" " \\\\\todwrotny ukośnik\n" " \\0nnn\tznak o kodzie ASCII NNN (ósemkowo). NNN może stanowić od\n" -" \t0 do 3 cyfr ósemkowych\n" +" \t\t0 do 3 cyfr ósemkowych\n" " \\xHH\tznak ośmiobitowy o wartości HH (szesnastkowo). HH może być\n" -" \tjedną lub dwiema cyframi szesnastkowymi\n" +" \t\tjedną lub dwiema cyframi szesnastkowymi\n" " \n" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że wystąpi błąd zapisu." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3022,7 +3139,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że wystąpi błąd zapisu." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3076,7 +3193,7 @@ msgstr "" " Zwracana jest prawda, chyba że NAZWA nie jest poleceniem wbudowanym lub\n" " wystąpi błąd." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3096,7 +3213,7 @@ msgstr "" " Zwracany jest stan wyjściowy polecenia lub prawdę, jeśli polecenie jest\n" " puste." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3182,7 +3299,7 @@ msgstr "" "koniec\n" " opcji lub błąd." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3193,8 +3310,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3212,8 +3329,8 @@ msgstr "" " \n" " Opcje:\n" " -a nazwa\tprzekazanie NAZWY jako zerowego argumentu POLECENIA\n" -" -c\t\twywołanie POLECENIA z pustym środowiskiem\n" -" -l\t\tumieszczenie kreski w zerowym argumencie POLECENIA\n" +" -c\twywołanie POLECENIA z pustym środowiskiem\n" +" -l\tumieszczenie kreski w zerowym argumencie POLECENIA\n" " \n" " Jeśli polecenia nie można wywołać, powłoka nieinteraktywna kończy się,\n" " chyba że ustawiona jest opcja powłoki `execfail'.\n" @@ -3223,7 +3340,7 @@ msgstr "" "wystąpi\n" " błąd przekierowania." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3235,7 +3352,7 @@ msgstr "" " Opuszczenie powłoki z kodem zakończenia N. Jeśli N pominięto, kodem\n" " zakończenia będzie kod zakończenia ostatniego wykonanego polecenia." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3248,7 +3365,7 @@ msgstr "" " Opuszczenie powłoki logowania z kodem zakończenia N. Zwraca błąd, jeśli\n" " powłoka nie jest powłoką logowania." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3307,7 +3424,7 @@ msgstr "" " Zwracana jest prawda lub stan wykonanego polecenia; wartość niezerowa\n" " w przypadku błędu." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3328,7 +3445,7 @@ msgstr "" " Stan zadania umieszczonego na pierwszym planie lub fałsz, jeśli wystąpi\n" " błąd." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3351,7 +3468,7 @@ msgstr "" " Zwracana jest prawda, chyba że sterowanie zadaniami nie jest włączone\n" " lub wystąpi błąd." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3360,15 +3477,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3381,21 +3498,21 @@ msgstr "" " poleceniach.\n" " \n" " Opcje:\n" -" -d\t\tzapomnienie położenia każdej NAZWY\n" -" -l\t\twypisanie w formacie do wykorzystania jako wejście\n" +" -d\tzapomnienie położenia każdej NAZWY\n" +" -l\twypisanie w formacie do wykorzystania jako wejście\n" " -p ścieżka\tużycie ŚCIEÅ»KI jako pełnej ścieżki NAZWY\n" -" -r\t\tzapomnienie wszystkich pamiętanych położeń\n" -" -t\t\twypisanie pamiętanych położeń każdej NAZWY poprzedzając\n" +" -r\tzapomnienie wszystkich pamiętanych położeń\n" +" -t\twypisanie pamiętanych położeń każdej NAZWY poprzedzając\n" " \t\tkażde położenie odpowiednią NAZWĄ, jeśli podano wiele NAZW\n" " Argumenty:\n" -" NAZWA\t\tKażda nazwa jest wyszukiwana w $PATH i dodawana do listy\n" +" NAZWA\tKażda nazwa jest wyszukiwana w $PATH i dodawana do listy\n" " \t\tpamiętanych poleceń.\n" " \n" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że nie znaleziono NAZWY lub podano błędną\n" " opcję." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3407,7 +3524,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3427,7 +3544,7 @@ msgstr "" " -d\twypisanie krótkiego opisu każdego tematu\n" " -m\twyświetlenie sposobu użycia w formacie zbliżonym do stron man\n" " -s\twypisanie tylko krótkiej informacji o składni dla każdego\n" -" \ttematu pasującego do WZORCA\n" +" \t\ttematu pasującego do WZORCA\n" " \n" " Argumenty:\n" " WZORZEC\tWzorzec określający temat pomocy\n" @@ -3436,7 +3553,8 @@ msgstr "" " Zwracana jest prawda, chyba że WZORCA nie znaleziono lub podano błędną\n" " opcję." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3445,23 +3563,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3481,14 +3599,14 @@ msgstr "" " \n" " -a\tdołączenie linii historii z tej sesji do pliku historii\n" " -n\todczyt wszystkich jeszcze nie przeczytanych linii z pliku\n" -" \thistorii\n" +" \t\thistorii\n" " -r\todczyt pliku historii i dołączenie zawartości do listy historii\n" " -w\tzapis bieżącej historii do pliku historii\n" " \n" " -p\trozwinięcie wg historii każdego ARG i wypisanie wyniku bez\n" -" \tzapisywania go na liście historii\n" +" \t\tzapisywania go na liście historii\n" " -s\tdołączenie wszystkich ARG do listy historii jako pojedynczych\n" -" \twpisów\n" +" \t\twpisów\n" " \n" " Jeśli podano PLIK, jest używany jako plik historii. W przeciwnym " "wypadku\n" @@ -3505,8 +3623,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że podano błędną opcję lub wystąpi błąd." -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3516,7 +3633,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3538,13 +3655,12 @@ msgstr "" " Opcje:\n" " -l\twypisanie dodatkowo numerów PID procesów\n" " -n\twypisanie tylko procesów, które zmieniły stan od ostatniego\n" -" \tpowiadomienia\n" +" \t\tpowiadomienia\n" " -p\twypisanie tylko numerów PID procesów\n" " -r\tograniczenie wyjścia do zadań działających\n" " -s\tograniczenie wyjścia do zadań zatrzymanych\n" " \n" -" Przy podaniu -x, uruchamiane jet polecenie podane POLECENIE po " -"zastąpieniu\n" +" Przy podaniu -x, uruchamiane jest podane POLECENIE po zastąpieniu\n" " każdej z występujących w argumentach ARG specyfikacji zadań numerem PID\n" " procesu wiodącego danego zadania.\n" " \n" @@ -3552,7 +3668,7 @@ msgstr "" " Zwracana jest prawda, chyba że podano błędną opcję lub wystąpi błąd.\n" " Jeśli użyto -x, zwracany jest stan wyjściowy POLECENIA." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3562,7 +3678,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3576,13 +3692,14 @@ msgstr "" " Opcje:\n" " -a\tusunięcie wszystkich zadań, jeśli nie podano ZADANIA\n" " -h\toznaczenie każdego zadania tak, że SIGHUP nie jest wysyłany do\n" -" \tzadania, jeśli powłoka otrzyma SIGHUP\n" +" \t\tzadania, jeśli powłoka otrzyma SIGHUP\n" " -r\tusunięcie tylko działających zadań\n" " \n" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że podano błędną opcję lub ZADANIE." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3594,7 +3711,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3614,7 +3732,8 @@ msgstr "" " -s SYG\tSYG jest nazwą sygnału\n" " -n SYG\tSYG jest numerem sygnału\n" " -l\tlista nazw sygnałów; jeśli `-l' występuje z argumentami, są one\n" -" \ttraktowane jako numery sygnałów, dla których mają być wypisane nazwy\n" +" \t\ttraktowane jako numery sygnałów, dla których mają być wypisane " +"nazwy\n" " \n" " Kill jest poleceniem wewnętrznym z dwóch powodów: umożliwia korzystanie\n" " z identyfikatorów zadań zamiast numerów PID oraz, w przypadku " @@ -3625,7 +3744,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest sukces, chyba że podano błędną opcję lub wystąpi błąd." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3714,7 +3833,7 @@ msgstr "" " Jeśli wartością ostatniego argumentu jest 0, let zwraca 1;\n" " w pozostałych przypadkach zwracane jest 0." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3735,27 +3854,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3783,7 +3903,7 @@ msgstr "" " -d ogr\tkontynuacja do odczytu pierwszego znaku OGR zamiast znaku " "nowej\n" " \t\tlinii\n" -" -e\t\tużycie Readline'a do odczytania wiersza w powłoce interaktywnej\n" +" -e\tużycie Readline'a do odczytania wiersza w powłoce interaktywnej\n" " -o tekst\tużycie TEKSTU jako początkowego tekstu dla Readline'a\n" " -n liczba\tpowrót po odczycie LICZBY znaków zamiast oczekiwania na\n" " \t\tznak nowej linii; ogranicznik jest honorowany, jeśli odczytano " @@ -3795,10 +3915,9 @@ msgstr "" " -p zachęta\twypisanie łańcucha ZACHĘTY bez końcowego znaku nowej " "linii\n" " \t\tprzed próbą odczytu\n" -" -r\t\twyłączenie interpretowania odwrotnych ukośników jako " -"przedrostka\n" +" -r\twyłączenie interpretowania odwrotnych ukośników jako przedrostka\n" " \t\tznaków specjalnych\n" -" -s\t\tbez wypisywania wejścia pochodzącego z terminala\n" +" -s\tbez wypisywania wejścia pochodzącego z terminala\n" " -t czas\tzakończenie i zwrócenie niepowodzenia, jeśli nie zostanie\n" " \t\todczytany cały wiersz przed upłynięciem podanego CZASU (w " "sekundach).\n" @@ -3806,8 +3925,7 @@ msgstr "" " \t\tułamkowy. Przy wartości 0 odczyt powiedzie się tylko wtedy, gdy\n" " \t\twejście jest dostępne na podanym deskryptorze. Kod (stan) wyjściowy\n" " \t\tw przypadku osiągnięcia limitu czasu jest większy niż 128\n" -" -u fd\t\todczyt z deskryptora pliku FD zamiast ze standardowego " -"wejścia\n" +" -u fd\todczyt z deskryptora pliku FD zamiast ze standardowego wejścia\n" " \n" " Stan wyjściowy:\n" " Zwracana jest wartość 0, chyba że zostanie napotkany koniec pliku,\n" @@ -3815,7 +3933,7 @@ msgstr "" " błąd przypisania zmiennej albo podano nieprawidłowy deskryptor dla\n" " argumentu -u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3836,7 +3954,8 @@ msgstr "" " Zwracane jest N lub niepowodzenie, jeśli powłoka nie wykonuje żadnej\n" " funkcji ani skryptu." -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3904,7 +4023,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -4011,7 +4131,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że podano nieprawidłową opcję." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -4021,7 +4141,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4040,7 +4160,7 @@ msgstr "" " -f\tpotraktowanie wszystkich NAZW jako funkcji powłoki\n" " -v\tpotraktowanie wszystkich NAZW jako zmiennych powłoki\n" " -n\tpotraktowanie wszystkich NAZW jako referencji do nazw\n" -" \ti anulowanie samej zmiennej zamiast tej, do której się odnosi\n" +" \t\ti anulowanie samej zmiennej zamiast tej, do której się odnosi\n" " \n" " Bez opcji unset próbuje najpierw anulować definicję zmiennej, a jeśli " "to\n" @@ -4053,7 +4173,7 @@ msgstr "" "do\n" " odczytu." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4088,7 +4208,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że podano nieprawidłową opcję lub NAZWĘ." -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -4100,9 +4220,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4122,14 +4241,14 @@ msgstr "" " -f\tdziałanie na funkcjach powłoki\n" " -p\twyświetlenie listy wszystkich zmiennych lub funkcji tylko do " "odczytu,\n" -" w zależności od tego, czy podano opcję -f\n" +" \t\tw zależności od tego, czy podano opcję -f\n" " \n" " Argument `--' wyłącza dalsze przetwarzanie opcji.\n" " \n" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że podano nieprawidłową opcję lub NAZWĘ." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4147,7 +4266,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że N jest ujemne lub większe niż $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4172,7 +4291,7 @@ msgstr "" "jeśli\n" " PLIKU nie udało się odczytać." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4200,7 +4319,7 @@ msgstr "" "wystąpi\n" " błąd." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4264,9 +4383,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4373,7 +4492,7 @@ msgstr "" " Zwracana jest prawda, jeśli wartością WYRAÅ»ENIA jest prawda; fałsz, gdy\n" " wartością WYRAÅ»ENIA jest fałsz lub podano błędny argument." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4385,7 +4504,7 @@ msgstr "" " Jest to synonim dla wbudowanego polecenia \"test\", ale wymagający, by\n" " ostatnim argumentem był `]' pasujący do początkowego `['." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4405,7 +4524,7 @@ msgstr "" " Stan wyjściowy:\n" " Zawsze prawda." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4490,7 +4609,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że podano błędny SYGNAŁ lub błędną opcję." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4499,18 +4618,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4526,19 +4645,19 @@ msgstr "" " \n" " Opcje:\n" " -a\twyświetlenie wszystkich położeń zawierających program wykonywalny\n" -" \to podanej NAZWIE; obejmuje aliasy, polecenia wbudowane i funkcje " -"tylko\n" -" \tjeśli nie podano dodatkowo opcji `-p'\n" +" \t\to podanej NAZWIE; obejmuje aliasy, polecenia wbudowane i funkcje\n" +" \t\ttylko jeśli nie podano dodatkowo opcji `-p'\n" " -f\tpominięcie wyszukiwania funkcji powłoki\n" " -P\twymuszenie wyszukiwania w PATH każdej nazwy, nawet jeśli jest\n" -" \taliasem, poleceniem wbudowanym lub funkcją i zwrócenie nazwy pliku na\n" -" \tdysku\n" +" \t\taliasem, poleceniem wbudowanym lub funkcją i zwrócenie nazwy pliku\n" +" \t\tna dysku\n" " -p\tzwrócenie nazwy pliku na dysku lub niczego, jeśli `type -t NAZWA'\n" -" \tnie zwróciłoby `file'.\n" +" \t\tnie zwróciłoby `file'.\n" " -t\tzwrócenie pojedynczego słowa: `alias', `keyword', `function',\n" -" \t`builtin', `file' lub `', jeśli nazwa jest odpowiednio: aliasem,\n" -" \tzarezerwowanym słowem kluczowym powłoki, funkcją powłoki, poleceniem\n" -" \twbudowanym powłoki, plikiem na dysku lub nie zostanie znaleziona\n" +" \t\t`builtin', `file' lub `', jeśli nazwa jest odpowiednio: aliasem,\n" +" \t\tzarezerwowanym słowem kluczowym powłoki, funkcją powłoki, " +"poleceniem\n" +" \t\twbudowanym powłoki, plikiem na dysku lub nie zostanie znaleziona\n" " \n" " Argumenty:\n" " NAZWA\tNazwa polecenia do zinterpretowania.\n" @@ -4548,7 +4667,7 @@ msgstr "" "jeśli\n" " którakolwiek nie zostanie znaleziona." -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4566,6 +4685,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4577,7 +4697,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4611,6 +4732,8 @@ msgstr "" " -f\tmaksymalny rozmiar plików zapisywanych przez powłokę i jej " "potomków\n" " -i\tmaksymalna liczba oczekujących sygnałów\n" +" -k\tmaksymalna liczba kolejek jądra (kqueue) przydzielonych dla " +"procesu\n" " -l\tmaksymalny rozmiar pamięci, którą proces może zablokować\n" " -m\tmaksymalny rozmiar obszaru rezydentnego procesu\n" " -n\tmaksymalna liczba otwartych deskryptorów plików\n" @@ -4623,6 +4746,7 @@ msgstr "" " -u\tmaksymalna liczba procesów użytkownika\n" " -v\trozmiar pamięci wirtualnej\n" " -x\tmaksymalna liczba blokad plików\n" +" -P\tmaksymalna liczba pseudoterminali\n" " -T\tmaksymalna liczba wątków\n" " \n" " Nie wszystkie opcje są dostępne na wszystkich platformach.\n" @@ -4642,7 +4766,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że podano błędną opcję lub wystąpi błąd." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4677,7 +4801,7 @@ msgstr "" " Zwracana jest prawda, chyba że podano błędne uprawnienia lub błędną " "opcję." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4714,7 +4838,7 @@ msgstr "" " Zwracany jest stan zakończenia ID; niepowodzenie, jeśli ID jest\n" " nieprawidłowe lub podano błędną opcję." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4743,7 +4867,7 @@ msgstr "" "podano\n" " nieprawidłową opcję." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4766,7 +4890,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest status zakończenia ostatniego wykonanego polecenia." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4796,7 +4920,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest status zakończenia ostatniego wykonanego polecenia." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4833,7 +4957,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest status zakończenia ostatniego wykonanego polecenia." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4863,7 +4987,7 @@ msgstr "" " Stan wyjściowy:\n" " Polecenie zwraca status zakończenia POTOKU poleceń." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4881,7 +5005,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest status zakończenia ostatniego wykonanego polecenia." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4917,7 +5041,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest status zakończenia ostatniego wykonanego polecenia." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4935,7 +5059,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest status zakończenia ostatniego wykonanego polecenia." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4953,7 +5077,8 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest status zakończenia ostatniego wykonanego polecenia." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4963,7 +5088,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Utworzenie koprocesu o podanej NAZWIE.\n" " \n" @@ -4975,7 +5100,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest status zakończenia POLECENIA." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -5000,7 +5125,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest sukces, chyba że NAZWA jest tylko do odczytu." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -5018,7 +5143,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest status zakończenia ostatniego wykonanego polecenia." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -5044,7 +5169,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracany jest stan wznowionego zadania." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -5064,7 +5189,7 @@ msgstr "" " Zwracane jest 1, jeśli wartością WYRAÅ»ENIA jest 0; 0 w przeciwnym " "wypadku." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5119,7 +5244,7 @@ msgstr "" " Stan wyjściowy:\n" " 0 lub 1 w zależności od wartości WYRAÅ»ENIA." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5227,7 +5352,7 @@ msgstr "" " \t\tdecydowaniu, które polecenia powinny być zapisywane na liście\n" " \t\thistorii.\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5237,19 +5362,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5265,17 +5390,18 @@ msgstr "" " \n" " Opcje:\n" " -n\tPominięcie zmiany katalogu podczas umieszczania katalogów na\n" -" \tstosie tak, że zmieniany jest tylko stos.\n" +" \t\tstosie tak, że zmieniany jest tylko stos.\n" " \n" " Argumenty:\n" " +N\tRotacja stosu czyniąca jego wierzchołkiem N-ty katalog (licząc\n" -" \tod lewej strony listy wypisywanej przez `dirs', począwszy od zera).\n" +" \t\tod lewej strony listy wypisywanej przez `dirs', począwszy od zera).\n" " \n" " -N\tRotacja stosu czyniąca jego wierzchołkiem N-ty katalog (licząc\n" -" \tod prawej strony listy wypisywanej przez `dirs', począwszy od zera).\n" +" \t\tod prawej strony listy wypisywanej przez `dirs', począwszy od " +"zera).\n" " \n" " KATALOG\tUmieszczenie KATALOGU na wierzchołku stosu i uczynienie go\n" -" \tnowym bieżącym katalogiem roboczym.\n" +" \t\tnowym bieżącym katalogiem roboczym.\n" " \n" " Zawartość stosu katalogów można zobaczyć za pomocą polecenia `dirs'.\n" " \n" @@ -5284,7 +5410,7 @@ msgstr "" "katalogu\n" " się nie powiedzie." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5293,16 +5419,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5318,16 +5444,16 @@ msgstr "" " \n" " Opcje:\n" " -n\tPominięcie zmiany katalogu podczas usuwania katalogów ze stosu\n" -" \ttak, że zmieniany jest tylko stos.\n" +" \t\ttak, że zmieniany jest tylko stos.\n" " \n" " Argumenty:\n" " +N\tUsunięcie ze stosu N-tej pozycji licząc od lewej strony listy\n" -" \twypisywanej przez `dirs', począwszy od zera. Na przykład: `popd +0'\n" -" \tusuwa pierwszy katalog, `popd +1' usuwa drugi.\n" +" \t\twypisywanej przez `dirs', począwszy od zera. Na przykład: `popd +0'\n" +" \t\tusuwa pierwszy katalog, `popd +1' usuwa drugi.\n" " \n" " -N\tUsunięcie ze stosu N-tej pozycji licząc od prawej strony listy\n" -" \twypisywanej przez `dirs', począwszy od zera. Na przykład: `popd -0'\n" -" \tusuwa pierwszy katalog, `popd -1' usuwa drugi.\n" +" \t\twypisywanej przez `dirs', począwszy od zera. Na przykład: `popd -0'\n" +" \t\tusuwa pierwszy katalog, `popd -1' usuwa drugi.\n" " \n" " Zawartość stosu katalogów można zobaczyć za pomocą polecenia `dirs'.\n" " \n" @@ -5336,7 +5462,7 @@ msgstr "" "katalogu\n" " się nie powiedzie." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5347,19 +5473,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5373,24 +5499,24 @@ msgstr "" " \n" " Opcje:\n" " -c\twyczyszczenie stosu katalogów poprzez usunięcie wszystkich jego\n" -" \telementów\n" +" \t\telementów\n" " -l\tnieużywanie wersji skróconej wersji z tyldą przy wypisywaniu\n" -" \tkatalogów względem katalogu domowego\n" +" \t\tkatalogów względem katalogu domowego\n" " -p\twypisanie katalogów ze stosu w osobnych wierszach\n" " -v\twypisanie katalogów ze stosu w osobnych wierszach, poprzedzając\n" -" \tkażdy jego pozycją na stosie\n" +" \t\tkażdy jego pozycją na stosie\n" " \n" " Argumenty:\n" " +N\tWypisanie N-tej pozycji licząc od lewej strony listy wypisywanej\n" -" \tprzez dirs wywołane bez opcji, począwszy od zera.\n" +" \t\tprzez dirs wywołane bez opcji, począwszy od zera.\n" " \n" " -N\tWypisanie N-tej pozycji licząc od prawej strony listy wypisywanej\n" -" \tprzez dirs wywołane bez opcji, począwszy od zera.\n" +" \t\tprzez dirs wywołane bez opcji, począwszy od zera.\n" " \n" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że podano błędną opcję lub wystąpi błąd." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5428,7 +5554,7 @@ msgstr "" "jeśli\n" " podano błędną opcję lub NAZWA-OPCJI jest wyłączona." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5445,15 +5571,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5485,11 +5611,11 @@ msgstr "" " printf(3), printf interpretuje:\n" " \n" " %b\trozwinięcie sekwencji z odwrotnym ukośnikiem w odpowiadającym\n" -" \targumencie\n" +" \t\targumencie\n" " %q\tcytowanie argumentu w sposób umożliwiający użycie na wejściu\n" -" \tpowłoki\n" -" %(fmt)T wypisanie łańcucha daty-czasu otrzymanego z użycia FMT jako\n" -" łańcucha formatującego dla strftime(3)\n" +" \t\tpowłoki\n" +" %(fmt)T\twypisanie łańcucha daty-czasu otrzymanego z użycia FMT jako\n" +" \t łańcucha formatującego dla strftime(3)\n" " \n" " Format jest używany ponownie w razie potrzeby w celu pochłonięcia\n" " wszystkich argumentów. Jeśli argumentów jest mniej, niż wymaga format,\n" @@ -5500,7 +5626,7 @@ msgstr "" " Zwracana jest prawda, chyba że podano błędną opcję lub zapis albo\n" " przypisanie zakończy się niepowodzeniem." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5513,11 +5639,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5536,11 +5662,11 @@ msgstr "" " Opcje:\n" " -p\twypisanie istniejących dopełnień w formacie do ponownego użycia\n" " -r\tusunięcie specyfikacji dopełniania dla każdej NAZWY lub, jeśli\n" -" \tnie podano NAZW, wszystkich specyfikacji dopełniania\n" +" \t\tnie podano NAZW, wszystkich specyfikacji dopełniania\n" " -D\tstosowanie dopełniania i akcji domyślnie dla poleceń bez\n" -" \tokreślonych żadnych konkretnych reguł dopełniania\n" +" \t\tokreślonych żadnych konkretnych reguł dopełniania\n" " -E\tstosowanie dopełniania i akcji dla \"pustych\" poleceń -\n" -" \tpróby dopełnienia w pustej linii\n" +" \t\tpróby dopełnienia w pustej linii\n" " \n" " Przy próbie dopełnienia akcje są wykonywane w kolejności takiej, jak\n" " wielkie litery wymienione powyżej. Opcja -D ma priorytet nad -E.\n" @@ -5548,7 +5674,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że podano błędną opcję lub wystąpi błąd." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5569,7 +5695,7 @@ msgstr "" " Stan wyjściowy:\n" " Zwracana jest prawda, chyba że podano błędną opcję lub wystąpi błąd." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5627,7 +5753,7 @@ msgstr "" " Zwracana jest prawda, chyba że podano błędną opcję lub NAZWA nie ma\n" " zdefiniowanej specyfikacji dopełniania." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5638,20 +5764,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5674,18 +5801,20 @@ msgstr "" " jest domyślną TABLICĄ.\n" " \n" " Opcje:\n" +" -d ogr\tUżycie OGRanicznika do kończenia linii zamiast znaku nowej " +"linii\n" " -n liczba\tSkopiowanie maksymalnie podanej LICZBY linii. Jeśli LICZBA\n" -" \twynosi 0, kopiowane są wszystkie linie.\n" +" \t\t\twynosi 0, kopiowane są wszystkie linie.\n" " -O początek\tRozpoczęcie wpisywania do TABLICY od indeksu POCZĄTKU.\n" -" \tDomyślny indeks wynosi 0.\n" +" \t\t\tDomyślny indeks wynosi 0.\n" " -s liczba\tPominięcie pierwszych LICZBA odczytanych linii.\n" -" -t\t\tUsunięcie końcowego znaku końca linii z każdej wczytanej linii.\n" -" -u fd\t\tOdczyt linii z deskryptora FD zamiast standardowego wejścia.\n" +" -t\tUsunięcie końcowego znaku końca linii z każdej wczytanej linii.\n" +" -u fd\tOdczyt linii z deskryptora FD zamiast standardowego wejścia.\n" " -C wywołanie\tObliczenie WYWOŁANIA po odczycie każdego CO-ILE linii.\n" -" -c CO-OLE\tLiczba linii do wczytania między każdym WYWOŁANIEM.\n" +" -c co-ile\tLiczba linii do wczytania między każdym WYWOŁANIEM.\n" " \n" " Argumenty:\n" -" TABLICA\t\tNazwa zmiennej tablicowej do użycia na dane z pliku.\n" +" TABLICA\tNazwa zmiennej tablicowej do użycia na dane z pliku.\n" " \n" " Jeśli podano -C bez -c, domyślnym krokiem jest 5000. Podczas obliczania\n" " WYWOŁANIA jest przekazywany indeks do następnego elementu tablicy, " @@ -5700,7 +5829,7 @@ msgstr "" "tylko\n" " do odczytu, lub nie jest tablicą indeksowaną." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5709,3 +5838,18 @@ msgstr "" "Odczyt linii z pliku do zmiennej tablicowej.\n" " \n" " Synonim polecenia `mapfile'." + +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2014 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" diff --git a/po/pt_BR.gmo b/po/pt_BR.gmo index 610f4f929..fd7eae62d 100644 Binary files a/po/pt_BR.gmo and b/po/pt_BR.gmo differ diff --git a/po/pt_BR.po b/po/pt_BR.po index 363172899..a2b7bb0c0 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -1,488 +1,526 @@ -# bash: Translation to Brazilian Portuguese (pt_BR) -# Copyright (C) 2002 Free Software Foundation, Inc. +# Brazilian Portuguese translation for bash +# Copyright (C) 2016 Free Software Foundation, Inc. +# This file is distributed under the same license as the bash package. # Halley Pacheco de Oliveira , 2002. +# Rafael Fontenelle , 2015, 2016. # msgid "" msgstr "" -"Project-Id-Version: bash 2.0\n" +"Project-Id-Version: bash 4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2002-05-08 13:50GMT -3\n" -"Last-Translator: Halley Pacheco de Oliveira \n" -"Language-Team: Brazilian Portuguese \n" -"Language: pt_BR\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2016-02-12 09:33-0200\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 0.9.5\n" +"Language: pt_BR\n" +"X-Generator: Poedit 1.8.7\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" -msgstr "índice da matriz (array) incorreto" +msgstr "subscrito de array incorreto" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 #, c-format -msgid "%s: cannot convert indexed to associative array" +msgid "%s: removing nameref attribute" msgstr "" -#: arrayfunc.c:539 -#, fuzzy, c-format +#: arrayfunc.c:393 builtins/declare.def:780 +#, c-format +msgid "%s: cannot convert indexed to associative array" +msgstr "%s: impossível converter array indexado para associativo" + +#: arrayfunc.c:578 +#, c-format msgid "%s: invalid associative array key" -msgstr "%c%c: opção incorreta" +msgstr "%s: chave de array associativo inválida" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" -msgstr "%s: impossível atribuir a índice não numérico" +msgstr "%s: impossível atribuir a índice não numérico" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" -msgstr "" +msgstr "%s: %s: deve usar subscrito ao atribuir um array associativo" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" -msgstr "%s: impossível criar: %s" +msgstr "%s: impossível criar: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" +"bash_execute_unix_command: impossível localizar mapa de teclas para comando" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" -msgstr "" +msgstr "%s: primeiro caractere não-espaço em branco não é `\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" -msgstr "" +msgstr "sem `%c' de fechamento em %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" -msgstr "" +msgstr "%s faltando separador dois-pontos" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "expansão de chaves: impossível alocar memória para %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" -msgstr "" +msgstr "expansão de chaves: falha ao alocar memória para %d elementos" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "" +msgstr "expansão de chaves: falha ao alocar memória para `%s'" -#: builtins/alias.def:132 -#, fuzzy, c-format +#: builtins/alias.def:133 +#, c-format msgid "`%s': invalid alias name" -msgstr "%c%c: opção incorreta" +msgstr "`%s': nome de apelido (alias) inválido" #: builtins/bind.def:123 builtins/bind.def:126 msgid "line editing not enabled" -msgstr "" +msgstr "edição de linha não habilitada" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" -msgstr "" +msgstr "`%s': nome de mapa de teclas inválido" -#: builtins/bind.def:251 -#, fuzzy, c-format +#: builtins/bind.def:253 +#, c-format msgid "%s: cannot read: %s" -msgstr "%s: impossível criar: %s" +msgstr "%s: impossível ler: %s" -#: builtins/bind.def:266 -#, fuzzy, c-format +#: builtins/bind.def:270 +#, c-format msgid "`%s': cannot unbind" -msgstr "%s: comando não encontrado" +msgstr "`%s': impossível desassociar (unbind)" -#: builtins/bind.def:304 builtins/bind.def:334 -#, fuzzy, c-format +#: builtins/bind.def:308 builtins/bind.def:338 +#, c-format msgid "`%s': unknown function name" -msgstr "%s: função somente para leitura" +msgstr "`%s': nome de função desconhecida" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" -msgstr "" +msgstr "%s não está associada a qualquer tecla.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " -msgstr "" +msgstr "%s pode ser chamado via " -#: builtins/break.def:77 builtins/break.def:117 -#, fuzzy +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" -msgstr "logout" +msgstr "número de loops" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" -msgstr "" +msgstr "significativo apenas em um loop de `for', `while' ou `until'" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" " Without EXPR, returns " msgstr "" +"Retorna o contexto da chamada de sub-rotina atual.\n" +" \n" +" Sem EXPR, retorna " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" -msgstr "" +msgstr "HOME não definida" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" -msgstr "número excessivo de argumentos" +msgstr "número excessivo de argumentos" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "\t\tencontrado no diretório atual." + +#: builtins/cd.def:347 msgid "OLDPWD not set" -msgstr "" +msgstr "OLDPWD não definida" -#: builtins/common.c:101 -#, fuzzy, c-format +#: builtins/common.c:102 +#, c-format msgid "line %d: " -msgstr "encaixe (slot) %3d: " +msgstr "linha %d: " -#: builtins/common.c:139 error.c:265 -#, fuzzy, c-format +#: builtins/common.c:140 error.c:265 +#, c-format msgid "warning: " -msgstr "escrevendo" +msgstr "aviso: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " -msgstr "" +msgstr "%s: uso: " -#: builtins/common.c:191 shell.c:506 shell.c:788 -#, fuzzy, c-format +#: builtins/common.c:199 shell.c:514 shell.c:825 +#, c-format msgid "%s: option requires an argument" -msgstr "a opção requer um argumento: -" +msgstr "%s: a opção requer um argumento" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" -msgstr "" +msgstr "%s: requer argumento numérico" -#: builtins/common.c:205 -#, fuzzy, c-format +#: builtins/common.c:213 +#, c-format msgid "%s: not found" -msgstr "%s: comando não encontrado" +msgstr "%s: não encontrado" -#: builtins/common.c:214 shell.c:801 -#, fuzzy, c-format +#: builtins/common.c:222 shell.c:838 +#, c-format msgid "%s: invalid option" -msgstr "%c%c: opção incorreta" +msgstr "%s: opção inválida" -#: builtins/common.c:221 -#, fuzzy, c-format +#: builtins/common.c:229 +#, c-format msgid "%s: invalid option name" -msgstr "%c%c: opção incorreta" +msgstr "%s: nome de opção inválido" -#: builtins/common.c:228 general.c:235 general.c:240 -#, fuzzy, c-format +#: builtins/common.c:236 general.c:293 general.c:298 +#, c-format msgid "`%s': not a valid identifier" -msgstr "`%s' não é um identificador válido" +msgstr "`%s': não é um identificador válido" -#: builtins/common.c:238 -#, fuzzy +#: builtins/common.c:246 msgid "invalid octal number" -msgstr "número do sinal incorreto" +msgstr "número octal inválido" -#: builtins/common.c:240 -#, fuzzy +#: builtins/common.c:248 msgid "invalid hex number" -msgstr "número do sinal incorreto" +msgstr "número do hexa inválido" -#: builtins/common.c:242 expr.c:1470 -#, fuzzy +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" -msgstr "número do sinal incorreto" +msgstr "número inválido" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" -msgstr "" +msgstr "%s: especificação de sinal inválida" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "" +"`%s': não é um identificador de processo (pid) nem é uma especificação de " +"trabalho válida" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" -msgstr "%s: a variável permite somente leitura" +msgstr "%s: a variável permite somente leitura" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" -msgstr "" +msgstr "%s: %s fora dos limites" -#: builtins/common.c:272 builtins/common.c:274 -#, fuzzy +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" -msgstr "esperado argumento" +msgstr "argumento" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" -msgstr "" +msgstr "%s fora dos limites" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" -msgstr "" +msgstr "%s: trabalho não existe" -#: builtins/common.c:290 -#, fuzzy, c-format +#: builtins/common.c:298 +#, c-format msgid "%s: no job control" -msgstr "nenhum controle de trabalho nesta `shell'" +msgstr "%s: nenhum controle de trabalho" -#: builtins/common.c:292 -#, fuzzy +#: builtins/common.c:300 msgid "no job control" -msgstr "nenhum controle de trabalho nesta `shell'" +msgstr "nenhum controle de trabalho" -#: builtins/common.c:302 -#, fuzzy, c-format +#: builtins/common.c:310 +#, c-format msgid "%s: restricted" -msgstr "%s: o trabalho terminou" +msgstr "%s: restrição" -#: builtins/common.c:304 -#, fuzzy +#: builtins/common.c:312 msgid "restricted" -msgstr "Terminado" +msgstr "restrição" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" -msgstr "" +msgstr "%s: não é um comando interno do shell" -#: builtins/common.c:321 -#, fuzzy, c-format +#: builtins/common.c:329 +#, c-format msgid "write error: %s" -msgstr "erro de `pipe': %s" +msgstr "erro de escrita: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" -msgstr "" +msgstr "erro ao definir atributos do terminal: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" -msgstr "" +msgstr "erro ao obter atributos do terminal: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" -msgstr "" +msgstr "%s: erro ao obter o diretório atual: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 -#, fuzzy, c-format +#: builtins/common.c:651 builtins/common.c:653 +#, c-format msgid "%s: ambiguous job spec" -msgstr "%s: Redirecionamento ambíguo" +msgstr "%s: especificação de trabalho ambígua" + +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "ajuda não disponível nesta versão" -#: builtins/complete.def:277 +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" -msgstr "" +msgstr "%s: nome de ação inválido" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" -msgstr "" +msgstr "%s: nenhuma especificação de completação" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" -msgstr "" +msgstr "aviso: a opção -F pode não funcionar como esperado" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" -msgstr "" +msgstr "aviso: a opção -C pode não funcionar como esperado" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" -msgstr "" +msgstr "não se está executando atualmente função de completação" -#: builtins/declare.def:126 -#, fuzzy +#: builtins/declare.def:127 msgid "can only be used in a function" -msgstr "somente pode ser usado dentro de funções; faz com que o escopo visível" +msgstr "somente pode ser usado em uma função" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" -msgstr "" +msgstr "%s: variável de referência não pode ser um array" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" -msgstr "" +msgstr "%s: referência a si próprio da variável nameref não é permitido" + +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s referência circular de nome" -#: builtins/declare.def:398 +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: nome de variável inválido para referência de nome" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" -msgstr "" +msgstr "impossível usar `-f' para criar funções" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" -msgstr "%s: função somente para leitura" +msgstr "%s: função somente para leitura" -#: builtins/declare.def:553 -#, fuzzy, c-format +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: atribuição de array composto com aspas está obsoleto" + +#: builtins/declare.def:767 +#, c-format msgid "%s: cannot destroy array variables in this way" -msgstr "$%s: impossível atribuir desta maneira" +msgstr "%s: impossível destruir variáveis de array desta maneira" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" -msgstr "" +msgstr "%s: impossível converter array associativo para indexado" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" -msgstr "" +msgstr "carregamento dinâmico não está disponível" -#: builtins/enable.def:312 -#, fuzzy, c-format +#: builtins/enable.def:343 +#, c-format msgid "cannot open shared object %s: %s" -msgstr "impossível abrir o `named pipe' %s para %s: %s" +msgstr "impossível abrir objeto compartilhado %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" -msgstr "" +msgstr "impossível localizar %s no objeto compartilhado %s: %s" + +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "função de carregamento para %s retorna falha (%d): não foi carregada" -#: builtins/enable.def:459 +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" -msgstr "" +msgstr "%s: não foi carregado dinamicamente" -#: builtins/enable.def:474 -#, fuzzy, c-format +#: builtins/enable.def:538 +#, c-format msgid "%s: cannot delete: %s" -msgstr "%s: impossível criar: %s" +msgstr "%s: impossível excluir: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" -msgstr "%s: é um diretório" +msgstr "%s: é um diretório" -#: builtins/evalfile.c:146 -#, fuzzy, c-format +#: builtins/evalfile.c:150 +#, c-format msgid "%s: not a regular file" -msgstr "%s: impossível executar o arquivo binário" +msgstr "%s: não é um arquivo irregular" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" -msgstr "" +msgstr "%s: arquivo é muito grande" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" -msgstr "%s: impossível executar o arquivo binário" +msgstr "%s: impossível executar o arquivo binário" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 -#, fuzzy, c-format +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 +#, c-format msgid "%s: cannot execute: %s" -msgstr "%s: impossível criar: %s" +msgstr "%s: impossível executar: %s" -#: builtins/exit.def:65 -#, fuzzy, c-format +#: builtins/exit.def:67 +#, c-format msgid "logout\n" -msgstr "logout" +msgstr "sair\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" -msgstr "" +msgstr "não é um shell de login: use `exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" -msgstr "" +msgstr "Há trabalhos parados.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" -msgstr "" +msgstr "Há trabalhos em execução.\n" -#: builtins/fc.def:262 -#, fuzzy +#: builtins/fc.def:269 msgid "no command found" -msgstr "%s: comando não encontrado" +msgstr "nenhum comando encontrado" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" -msgstr "" +msgstr "especificação do histórico" -#: builtins/fc.def:390 -#, fuzzy, c-format +#: builtins/fc.def:397 +#, c-format msgid "%s: cannot open temp file: %s" -msgstr "%s: impossível criar: %s" +msgstr "%s: impossível abrir arquivo temporário: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" -msgstr "" +msgstr "atual" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" -msgstr "" +msgstr "o trabalho %d iniciou sem controle de trabalho" #: builtins/getopt.c:110 -#, fuzzy, c-format +#, c-format msgid "%s: illegal option -- %c\n" -msgstr "Opção ilegal: -" +msgstr "%s: opção ilegal -- %c\n" #: builtins/getopt.c:111 -#, fuzzy, c-format +#, c-format msgid "%s: option requires an argument -- %c\n" -msgstr "a opção requer um argumento: -" +msgstr "%s: a opção requer um argumento: -- %c\n" #: builtins/hash.def:92 msgid "hashing disabled" -msgstr "" +msgstr "hashing está desabilitado" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" -msgstr "" +msgstr "%s: tabela de hash está vazia\n" -#: builtins/hash.def:245 -#, fuzzy, c-format +#: builtins/hash.def:254 +#, c-format msgid "hits\tcommand\n" -msgstr "`r', o último comando seja executado novamente." +msgstr "número\tcomando\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "Comandos shell correspondendo à palavra-chave `" +msgstr[1] "Comandos shell correspondendo às palavras-chave `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" +"nenhum tópico de ajuda corresponde a `%s'. Tente `help help' ou `man -k %s' " +"ou `info %s'." -#: builtins/help.def:199 -#, fuzzy, c-format +#: builtins/help.def:226 +#, c-format msgid "%s: cannot open: %s" -msgstr "%s: impossível criar: %s" +msgstr "%s: impossível abrir: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -493,141 +531,151 @@ msgid "" "A star (*) next to a name means that the command is disabled.\n" "\n" msgstr "" +"Esses comandos shell são definidos internamente. Digite `help' para ver " +"essa\n" +"lista. Digite `help NOME' para descobrir mais sobre a função `NOME'.\n" +"Use `info bash' para descobrir mais sobre o shell em geral.\n" +"Use `man -k' ou `info' para descobrir mais sobre comandos que não estão " +"nesta\n" +"lista.\n" +"\n" +"Um asterisco (*) próximo ao nome significa que o comando está desabilitado.\n" +"\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" -msgstr "" +msgstr "impossível usar mais de um dentre -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" -msgstr "" +msgstr "posição no histórico" -#: builtins/history.def:366 +#: builtins/history.def:264 #, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s argumento inválido" + +#: builtins/history.def:375 +#, c-format msgid "%s: history expansion failed" -msgstr "%s: esperado expressão de número inteiro" +msgstr "%s: expansão do histórico falhou" #: builtins/inlib.def:71 -#, fuzzy, c-format +#, c-format msgid "%s: inlib failed" -msgstr "%s: esperado expressão de número inteiro" +msgstr "%s: inlib falhou" #: builtins/jobs.def:109 msgid "no other options allowed with `-x'" -msgstr "" +msgstr "nenhuma outra opção permitida com `-x'" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" -msgstr "" +msgstr "%s: argumentos devem ser IDs de trabalhos ou processo" -#: builtins/kill.def:263 -#, fuzzy +#: builtins/kill.def:265 msgid "Unknown error" -msgstr "Erro desconhecido %d" +msgstr "Erro desconhecido" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" -msgstr "esperado uma expressão" +msgstr "esperava uma expressão" -#: builtins/mapfile.def:172 -#, fuzzy, c-format +#: builtins/mapfile.def:178 +#, c-format msgid "%s: not an indexed array" -msgstr "%s: variável não vinculada" +msgstr "%s: não é um array indexado" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" -msgstr "" +msgstr "%s: especificação de descritor de arquivo inválida" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" -msgstr "" +msgstr "%d: descritor de arquivo inválido: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 -#, fuzzy, c-format +#: builtins/mapfile.def:289 builtins/mapfile.def:327 +#, c-format msgid "%s: invalid line count" -msgstr "%c%c: opção incorreta" +msgstr "%s: número de linhas inválido" -#: builtins/mapfile.def:287 -#, fuzzy, c-format +#: builtins/mapfile.def:300 +#, c-format msgid "%s: invalid array origin" -msgstr "%c%c: opção incorreta" +msgstr "%s: origem do array inválido" -#: builtins/mapfile.def:304 -#, fuzzy, c-format +#: builtins/mapfile.def:317 +#, c-format msgid "%s: invalid callback quantum" -msgstr "número do sinal incorreto" +msgstr "%s: quantidade de chamadas inválida" -#: builtins/mapfile.def:336 -#, fuzzy +#: builtins/mapfile.def:350 msgid "empty array variable name" -msgstr "%s: variável não vinculada" +msgstr "nome de variável array vazio" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" -msgstr "" +msgstr "requer suporte a variável de array" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" -msgstr "" +msgstr "`%s': faltando caractere de formato" -#: builtins/printf.def:456 -#, fuzzy, c-format +#: builtins/printf.def:467 +#, c-format msgid "`%c': invalid time format specification" -msgstr "%c%c: opção incorreta" +msgstr "`%c': especificação de formato de tempo inválida" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" -msgstr "" +msgstr "`%c': caractere de formato inválido" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" -msgstr "" +msgstr "aviso: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "problema ao analisar formato: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" -msgstr "" +msgstr "faltando dígito hexa para \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" -msgstr "" +msgstr "faltando dígito unicode para \\%c" -#: builtins/pushd.def:195 -#, fuzzy +#: builtins/pushd.def:199 msgid "no other directory" -msgstr "o novo diretório que ocupa o topo da pilha." +msgstr "nenhum outro diretório" -#: builtins/pushd.def:354 -#, fuzzy, c-format +#: builtins/pushd.def:360 +#, c-format msgid "%s: invalid argument" -msgstr "%c%c: opção incorreta" +msgstr "%s argumento inválido" -#: builtins/pushd.def:468 -#, fuzzy +#: builtins/pushd.def:475 msgid "" -msgstr "\tnovo diretório atual de trabalho." +msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" -msgstr "" +msgstr "pilha de diretórios está vazia" -#: builtins/pushd.def:514 -#, fuzzy +#: builtins/pushd.def:521 msgid "directory stack index" -msgstr "Estouro na base da pilha de recursividade" +msgstr "índice de pilha de diretórios" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -650,8 +698,26 @@ msgid "" "by\n" "\tdirs when invoked without options, starting with zero." msgstr "" +"Exibe a lista de diretórios atualmente memorizados. Diretórios são\n" +" inseridos na lista por meio do comando `pushd'; você pode obter\n" +" de volta da lista com o comando `popd'.\n" +" \n" +" Opções:\n" +" -c\tlimpa a pilha de diretórios excluindo todos os elementos\n" +" -l\tnão mostra versões de diretórios prefixadas por til,\n" +" \t\trelativos ao seu diretório HOME\n" +" -p\texibe a pilha de diretório com uma entrada por linha\n" +" -v\texibe a pilha de diretório com uma entrada por linha,\n" +" \t\tprefixada com sua posição na pilha\n" +" \n" +" Argumentos:\n" +" +N\tExibe a n-ésima entrada a partir da esquerda da linha\n" +" \t\tmostrada por `dirs' chamado sem opções, iniciando com zero.\n" +" \n" +" -N\tExibe a n-ésima entrada a partir da esquerda da linha\n" +" \t\tmostrada por `dirs' chamado sem opções, iniciando com zero." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -675,8 +741,30 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" +"Adiciona um diretório ao topo da pilha de diretórios ou movimenta\n" +" a pilha, fazendo o novo topo da pilha ser o diretório atual de\n" +" trabalho. Com nenhum argumento, efetua troca do topo entre dois\n" +" diretórios.\n" +" \n" +" Opções:\n" +" -n\tSuprime a alteração normal de diretório ao adicionar\n" +" \t\tdiretórios à pilha, de forma que apenas a pilha é manipulada.\n" +" \n" +" Argumentos:\n" +" +N\tMovimenta a pilha de forma que o n-ésimo diretório (a contar\n" +" \t\tda esquerda da lista mostrada por `dirs', iniciando com zero)\n" +" \t\testá no topo.\n" +" \n" +" -N\tMovimenta a pilha de forma que o n-ésimo diretório (a contar\n" +" \t\tda direita da lista mostrada por `dirs', iniciando com zero)\n" +" \t\testá no topo.\n" +" \n" +" dir\tAdiciona DIR à pilha de diretórios no topo, fazendo dele o\n" +" \t\tnovo diretório de trabalho atual.\n" +" \n" +" O comando interno `dirs' exibe a pilha de diretórios." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -696,885 +784,961 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" +"Remove entradas da pilha de diretórios. Com nenhum argumento, remove\n" +" o diretório do topo da pilha e altera o novo diretório do topo.\n" +" \n" +" Opções:\n" +" -n\tSuprime a alteração normal de diretório ao remover\n" +" \t\tdiretórios da pilha, de forma que apenas a pilha é manipulada.\n" +" \n" +" Argumentos:\n" +" +N\tRemove a n-ésima entrada a contar da esquerda da lista\n" +" \t\tmostrada por `dirs', iniciando com zero. Ex.: `popd +0'\n" +" \t\tremove o primeiro diretório e `popd +1', o segundo.\n" +" \n" +" -N\tRemove a n-ésima entrada a contar da direita da lista\n" +" \t\tmostrada por `dirs', iniciando com zero. Ex.: `popd +0'\n" +" \t\tremove o último diretório e `popd -1', o penúltimo.\n" +" \n" +" O comando interno `dirs' exibe a pilha de diretório." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" -msgstr "" +msgstr "%s: especificação de tempo limite inválida" -#: builtins/read.def:678 -#, fuzzy, c-format +#: builtins/read.def:696 +#, c-format msgid "read error: %d: %s" -msgstr "erro de `pipe': %s" +msgstr "erro de leitura: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" +"possível retornar (`return') apenas de uma função ou script carregado (com " +"`source')" -#: builtins/set.def:782 -#, fuzzy +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" -msgstr "somente pode ser usado dentro de funções; faz com que o escopo visível" +msgstr "" +"impossível simultaneamente remover definição de uma função e uma variável" -#: builtins/set.def:826 -#, fuzzy, c-format +#: builtins/set.def:888 +#, c-format msgid "%s: cannot unset" -msgstr "%s: impossível criar: %s" +msgstr "%s: impossível remover definição" -#: builtins/set.def:843 -#, fuzzy, c-format +#: builtins/set.def:909 variables.c:3389 +#, c-format msgid "%s: cannot unset: readonly %s" -msgstr "%s: impossível criar: %s" +msgstr "%s: impossível remover definição: %s somente-leitura" -#: builtins/set.def:854 -#, fuzzy, c-format +#: builtins/set.def:922 +#, c-format msgid "%s: not an array variable" -msgstr "%s: variável não vinculada" +msgstr "%s: não é uma variável array" -#: builtins/setattr.def:187 -#, fuzzy, c-format +#: builtins/setattr.def:191 +#, c-format msgid "%s: not a function" -msgstr "%s: função somente para leitura" +msgstr "%s: não é uma função" -#: builtins/shift.def:71 builtins/shift.def:77 -#, fuzzy +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: impossível exportar" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" -msgstr "shift [n]" +msgstr "número de shift" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "" +"impossível simultaneamente definir e remover definição de opções do shell" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" -msgstr "" +msgstr "%s: nome de opção de shell inválido" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" -msgstr "" +msgstr "requer argumento arquivo" -#: builtins/source.def:155 -#, fuzzy, c-format +#: builtins/source.def:157 +#, c-format msgid "%s: file not found" -msgstr "%s: comando não encontrado" +msgstr "%s: arquivo não encontrado" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" -msgstr "" +msgstr "impossível suspender" -#: builtins/suspend.def:111 -#, fuzzy +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" -msgstr "Sair de uma shell de login." +msgstr "impossível suspender um shell de login." -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" -msgstr "" +msgstr "%s está apelidada para `%s'\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" -msgstr "" +msgstr "%s é uma palavra-chave do shell\n" -#: builtins/type.def:274 -#, fuzzy, c-format +#: builtins/type.def:276 +#, c-format msgid "%s is a function\n" -msgstr "%s: função somente para leitura" +msgstr "%s é uma função\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s é um comando interno especial do shell\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" -msgstr "" +msgstr "%s é um comando interno do shell\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" -msgstr "" +msgstr "%s é %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" -msgstr "" +msgstr "%s está na tabela hash (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" -msgstr "" +msgstr "%s: argumento limite inválido" -#: builtins/ulimit.def:409 -#, fuzzy, c-format +#: builtins/ulimit.def:424 +#, c-format msgid "`%c': bad command" -msgstr "%c%c: opção incorreta" +msgstr "`%c': comando incorreto" -#: builtins/ulimit.def:438 -#, fuzzy, c-format +#: builtins/ulimit.def:453 +#, c-format msgid "%s: cannot get limit: %s" -msgstr "%s: impossível criar: %s" +msgstr "%s: impossível obter limite: %s" -#: builtins/ulimit.def:464 -#, fuzzy +#: builtins/ulimit.def:479 msgid "limit" -msgstr "Tempo limite de CPU excedido" +msgstr "limite" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 -#, fuzzy, c-format +#: builtins/ulimit.def:491 builtins/ulimit.def:791 +#, c-format msgid "%s: cannot modify limit: %s" -msgstr "%s: impossível criar: %s" +msgstr "%s: impossível modificar limite: %s" -#: builtins/umask.def:114 -#, fuzzy +#: builtins/umask.def:115 msgid "octal number" -msgstr "número do sinal incorreto" +msgstr "número octal" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" -msgstr "" +msgstr "`%c': operador de modo simbólico inválido" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" -msgstr "" +msgstr "`%c': caractere de modo simbólico inválido" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " -msgstr "" +msgstr " linha " #: error.c:165 -#, fuzzy, c-format +#, c-format msgid "last command: %s\n" -msgstr "`r', o último comando seja executado novamente." +msgstr "último comando: %s\n" #: error.c:173 #, c-format msgid "Aborting..." -msgstr "" +msgstr "Abortando..." -#: error.c:440 -#, fuzzy +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORM: " + +#: error.c:463 msgid "unknown command error" -msgstr "Erro desconhecido %d" +msgstr "erro de comando desconhecido" -#: error.c:441 -#, fuzzy +#: error.c:464 msgid "bad command type" -msgstr "usado como nome de um comando." +msgstr "tipo de comando incorreto" -#: error.c:442 -#, fuzzy +#: error.c:465 msgid "bad connector" -msgstr "conector incorreto `%d'" +msgstr "conector incorreto" -#: error.c:443 -#, fuzzy +#: error.c:466 msgid "bad jump" -msgstr "Desvio incorreto %d" +msgstr "desvio incorreto" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" -msgstr "%s: variável não vinculada" +msgstr "%s: variável não associada" -#: eval.c:189 -#, fuzzy, c-format +#: eval.c:209 +#, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "" -"%ctempo limite de espera excedido aguardando entrada:\n" -"fim automático da sessão\n" +"\atempo limite de espera excedido aguardando entrada: fim automático da " +"sessão\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" -msgstr "" +msgstr "impossível redirecionar a entrada padrão para /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" +msgstr "TIMEFORMAT: `%c': caractere de formato inválido" + +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" msgstr "" -#: execute_cmd.c:2287 -#, fuzzy +#: execute_cmd.c:2377 msgid "pipe error" -msgstr "erro de `pipe': %s" +msgstr "erro de `pipe'" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: excedido o nível máximo de aninhamento de `eval' (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: excedido o nível máximo de aninhamento de `function' (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" -msgstr "" +msgstr "%s: excedido o nível máximo de aninhamento de avaliação (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" -msgstr "%s: restrição: não é permitido especificar `/' em nomes de comandos" +msgstr "%s: restrição: não é permitido especificar `/' em nomes de comandos" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" -msgstr "%s: comando não encontrado" +msgstr "%s: comando não encontrado" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" -msgstr "" +msgstr "%s: %s" -#: execute_cmd.c:5243 -#, fuzzy, c-format +#: execute_cmd.c:5508 +#, c-format msgid "%s: %s: bad interpreter" -msgstr "%s: é um diretório" +msgstr "%s: %s: interpretador incorreto" -#: execute_cmd.c:5280 -#, fuzzy, c-format +#: execute_cmd.c:5545 +#, c-format msgid "%s: cannot execute binary file: %s" -msgstr "%s: impossível executar o arquivo binário" +msgstr "%s: impossível executar o arquivo binário: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" -msgstr "" +msgstr "`%s': é um comando interno especial" -#: execute_cmd.c:5404 -#, fuzzy, c-format +#: execute_cmd.c:5675 +#, c-format msgid "cannot duplicate fd %d to fd %d" -msgstr "impossível duplicar fd (descritor de arquivo) %d para fd 0: %s" +msgstr "impossível duplicar fd (descritor de arquivo) %d para fd %d" #: expr.c:259 msgid "expression recursion level exceeded" -msgstr "excedido o nível de recursividade da expressão" +msgstr "excedido o nível de recursividade da expressão" #: expr.c:283 -#, fuzzy msgid "recursion stack underflow" -msgstr "Estouro na base da pilha de recursividade" +msgstr "esvaziamento de pilha de recursão" #: expr.c:431 msgid "syntax error in expression" -msgstr "erro de sintaxe na expressão" +msgstr "erro de sintaxe na expressão" #: expr.c:475 msgid "attempted assignment to non-variable" -msgstr "tentativa de atribuição para algo que não é uma variável" +msgstr "tentativa de atribuição para algo que não é uma variável" #: expr.c:495 expr.c:858 msgid "division by 0" -msgstr "divisão por 0" +msgstr "divisão por 0" #: expr.c:542 -#, fuzzy msgid "bug: bad expassign token" -msgstr "Erro de programação: `token' inválido `%d' passado para expassign()" +msgstr "erro de programação: token incorreto passado para expassign()" #: expr.c:595 msgid "`:' expected for conditional expression" -msgstr "`:' esperado para expressão condicional" +msgstr "esperava `:' para expressão condicional" #: expr.c:919 msgid "exponent less than 0" -msgstr "" +msgstr "exponente menor que 0" #: expr.c:976 msgid "identifier expected after pre-increment or pre-decrement" -msgstr "" +msgstr "esperava identificador após pré-acréscimo ou pré-decréscimo" #: expr.c:1002 msgid "missing `)'" msgstr "faltando `)'" -#: expr.c:1053 expr.c:1390 -#, fuzzy +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" -msgstr "erro de sintaxe: fim prematuro do arquivo" +msgstr "erro de sintaxe: esperava operando" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" -msgstr "" +msgstr "erro de sintaxe: operador aritmético inválido" -#: expr.c:1416 -#, fuzzy, c-format +#: expr.c:1419 +#, c-format msgid "%s%s%s: %s (error token is \"%s\")" -msgstr "%s: %s: %s (erro: o `token' é \"%s\")\n" +msgstr "%s%s%s: %s (token de erro é \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" -msgstr "" +msgstr "base aritmética inválida" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" -msgstr "valor muito grande para esta base de numeração" +msgstr "valor muito grande para esta base de numeração" -#: expr.c:1543 -#, fuzzy, c-format +#: expr.c:1546 +#, c-format msgid "%s: expression error\n" -msgstr "%s: esperado expressão de número inteiro" +msgstr "%s: erro de expressão\n" -#: general.c:62 -#, fuzzy +#: general.c:68 msgid "getcwd: cannot access parent directories" -msgstr "getwd: impossível acessar os diretórios pais (anteriores)" +msgstr "getcwd: impossível acessar os diretórios pais (anteriores)" -#: input.c:102 subst.c:5168 -#, fuzzy, c-format +#: input.c:102 subst.c:5858 +#, c-format msgid "cannot reset nodelay mode for fd %d" -msgstr "impossível duplicar fd (descritor de arquivo) %d para fd 0: %s" +msgstr "" +"impossível redefinir modo `nodelay' para o descritor de arquivo (fd) %d" #: input.c:271 -#, fuzzy, c-format +#, c-format msgid "cannot allocate new file descriptor for bash input from fd %d" msgstr "" -"impossível alocar novo descritor de arquivo (fd) para a entrada\n" -"do `bash' a partir do descritor de arquivo (fd) %d: %s" +"impossível alocar novo descritor de arquivo (fd) para a entrada do `bash' a " +"partir do fd %d" #: input.c:279 -#, fuzzy, c-format +#, c-format msgid "save_bash_input: buffer already exists for new fd %d" msgstr "" -"check_bash_input: já existe o espaço intermediário (buffer)\n" -"para o novo descritor de arquivo (fd) %d" +"save_bash_input: buffer já existe para o novo descritor de arquivo (fd) %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" -msgstr "" +msgstr "start_pipeline: `pipe' de pgrp" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "" +"identificador de processo (pid) %d bifurcado (fork) aparece no trabalho em " +"execução %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" -msgstr "" +msgstr "excluindo trabalho parado %d com grupo de processo %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" -msgstr "" +msgstr "add_process: processo %5ld (%s) em the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" -msgstr "" +msgstr "add_process: pid %5ld (%s) marcado como ainda vivo" -#: jobs.c:1435 -#, fuzzy, c-format +#: jobs.c:1590 +#, c-format msgid "describe_pid: %ld: no such pid" -msgstr "describe_pid: o identificador do processo (pid) não existe (%d)!\n" +msgstr "describe_pid: %ld: o identificador do processo (pid) não existe" -#: jobs.c:1450 -#, fuzzy, c-format +#: jobs.c:1605 +#, c-format msgid "Signal %d" -msgstr "Sinal desconhecido #%d" +msgstr "Sinal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" -msgstr "Concluído" +msgstr "Concluído" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Parado" -#: jobs.c:1473 -#, fuzzy, c-format +#: jobs.c:1628 +#, c-format msgid "Stopped(%s)" -msgstr "Parado" +msgstr "Parado(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Executando" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" -msgstr "Concluído(%d)" +msgstr "Concluído(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" -msgstr "Fim da execução com status %d" +msgstr "Fim da execução com status %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Status desconhecido" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " -msgstr "(imagem do núcleo gravada)" +msgstr "(imagem do núcleo gravada)" -#: jobs.c:1602 -#, fuzzy, c-format +#: jobs.c:1760 +#, c-format msgid " (wd: %s)" -msgstr "(wd agora: %s)\n" +msgstr " (wd: %s)" -#: jobs.c:1819 -#, fuzzy, c-format +#: jobs.c:1985 +#, c-format msgid "child setpgid (%ld to %ld)" -msgstr "`setpgid' filho (%d para %d) erro %d: %s\n" +msgstr "`setpgid' filho (%ld para %ld)" -#: jobs.c:2138 nojobs.c:605 -#, fuzzy, c-format +#: jobs.c:2347 nojobs.c:654 +#, c-format msgid "wait: pid %ld is not a child of this shell" -msgstr "wait: o pid %d não é um filho deste `shell'" +msgstr "wait: o pid %ld não é um processo filho deste shell" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" -msgstr "" +msgstr "wait_for: Sem registro do processo %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" -msgstr "" +msgstr "wait_for_job: trabalho %d está parado" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: o trabalho terminou" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" -msgstr "" +msgstr "%s: o trabalho %d já está em plano de fundo" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" -msgstr "" +msgstr "waitchld: ativando WNOHANG para evitar bloqueio indefinido" -#: jobs.c:3711 -#, fuzzy, c-format +#: jobs.c:3970 +#, c-format msgid "%s: line %d: " -msgstr "encaixe (slot) %3d: " +msgstr "%s, linha %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" -msgstr " (imagem do núcleo gravada)" +msgstr " (imagem do núcleo gravada)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd agora: %s)\n" -#: jobs.c:3782 -#, fuzzy +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" -msgstr "initialize_jobs: getpgrp falhou: %s" +msgstr "initialize_job_control: getpgrp falhou" -#: jobs.c:3843 -#, fuzzy +#: jobs.c:4104 msgid "initialize_job_control: line discipline" -msgstr "initialize_jobs: disciplina da linha: %s" +msgstr "initialize_job_control: disciplina da linha" -#: jobs.c:3853 -#, fuzzy +#: jobs.c:4114 msgid "initialize_job_control: setpgid" -msgstr "initialize_jobs: getpgrp falhou: %s" +msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" -msgstr "" +msgstr "impossível definir grupo do processo do terminal (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" -msgstr "nenhum controle de trabalho nesta `shell'" +msgstr "nenhum controle de trabalho neste shell" #: lib/malloc/malloc.c:296 #, c-format msgid "malloc: failed assertion: %s\n" -msgstr "" +msgstr "malloc: asserção falhou: %s\n" #: lib/malloc/malloc.c:312 -#, c-format +#, fuzzy, c-format msgid "" "\r\n" "malloc: %s:%d: assertion botched\r\n" msgstr "" +"\r\n" +"malloc: %s:%d: asserção remendada\r\n" #: lib/malloc/malloc.c:313 -#, fuzzy msgid "unknown" -msgstr "" +msgstr "desconhecido" #: lib/malloc/malloc.c:801 +#, fuzzy msgid "malloc: block on free list clobbered" -msgstr "" +msgstr "malloc: bloco socado em lista livre" #: lib/malloc/malloc.c:878 msgid "free: called with already freed block argument" -msgstr "" +msgstr "free: chamado com argumento de bloco já liberado" #: lib/malloc/malloc.c:881 msgid "free: called with unallocated block argument" -msgstr "" +msgstr "free: chamado com argumento de bloco não alocado" #: lib/malloc/malloc.c:900 msgid "free: underflow detected; mh_nbytes out of range" -msgstr "" +msgstr "free: esvaziamento de pilha detectado; mh_nbytes fora do limite" #: lib/malloc/malloc.c:906 msgid "free: start and end chunk sizes differ" -msgstr "" +msgstr "free: tamanhos de porções do início e do fim são diferentes" #: lib/malloc/malloc.c:1005 msgid "realloc: called with unallocated block argument" -msgstr "" +msgstr "realloc: chamado com argumento de bloco não alocado" #: lib/malloc/malloc.c:1020 msgid "realloc: underflow detected; mh_nbytes out of range" -msgstr "" +msgstr "realloc: esvaziamento de pilha detectado; mh_nbytes fora do limite" #: lib/malloc/malloc.c:1026 msgid "realloc: start and end chunk sizes differ" -msgstr "" +msgstr "realloc: tamanhos de porções do início e do fim são diferentes" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" -msgstr "" +msgstr "register_alloc: tabela de `alloc' está cheia com FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" -msgstr "" +msgstr "register_alloc: %p já na tabela como alocado?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" -msgstr "" +msgstr "register_free: %p já na tabela como livre?\n" #: lib/sh/fmtulong.c:102 msgid "invalid base" -msgstr "" +msgstr "base inválida" #: lib/sh/netopen.c:168 -#, fuzzy, c-format +#, c-format msgid "%s: host unknown" -msgstr "desconhecido" +msgstr "%s: máquina desconhecida" #: lib/sh/netopen.c:175 #, c-format msgid "%s: invalid service" -msgstr "" +msgstr "%s: serviço inválido" #: lib/sh/netopen.c:306 #, c-format msgid "%s: bad network path specification" -msgstr "" +msgstr "%s: especificação de caminho de rede inválida" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" -msgstr "" +msgstr "sem suporte a operações de rede" #: locale.c:200 #, c-format msgid "setlocale: LC_ALL: cannot change locale (%s)" -msgstr "" +msgstr "setlocale: LC_ALL: impossível alterar locale (%s)" #: locale.c:202 #, c-format msgid "setlocale: LC_ALL: cannot change locale (%s): %s" -msgstr "" +msgstr "setlocale: LC_ALL: impossível alterar locale (%s): %s" #: locale.c:259 -#, fuzzy, c-format +#, c-format msgid "setlocale: %s: cannot change locale (%s)" -msgstr "xrealloc: impossível realocar %lu bytes (%lu bytes alocados)" +msgstr "setlocale: %s: impossível alterar locale (%s)" #: locale.c:261 -#, fuzzy, c-format +#, c-format msgid "setlocale: %s: cannot change locale (%s): %s" -msgstr "xrealloc: impossível realocar %lu bytes (%lu bytes alocados)" +msgstr "setlocale: %s: impossível alterar locale (%s): %s" #: mailcheck.c:439 msgid "You have mail in $_" -msgstr "Você tem mensagem de correio em $_" +msgstr "Você tem mensagem de correio em $_" #: mailcheck.c:464 msgid "You have new mail in $_" -msgstr "Você tem mensagem nova de correio em $_" +msgstr "Você tem mensagem nova de correio em $_" #: mailcheck.c:480 #, c-format msgid "The mail in %s has been read\n" msgstr "As mensagens de correio em %s foram lidas\n" -#: make_cmd.c:323 -#, fuzzy +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" -msgstr "erro de sintaxe na expressão" +msgstr "erro de sintaxe: requer expressão aritmética" -#: make_cmd.c:325 -#, fuzzy +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" -msgstr "erro de sintaxe: fim prematuro do arquivo" +msgstr "erro de sintaxe: `;' inesperado" -#: make_cmd.c:326 -#, fuzzy, c-format +#: make_cmd.c:332 +#, c-format msgid "syntax error: `((%s))'" -msgstr "erro de sintaxe" +msgstr "erro de sintaxe: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" -msgstr "make_here_document: o tipo da instrução está incorreto %d" +msgstr "make_here_document: tipo da instrução incorreto %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" +"here-document na linha %d delimitado pelo fim do arquivo (desejava `%s')" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" +msgstr "make_redirection: instrução de redirecionamento `%d' fora do limite" + +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" msgstr "" -#: parse.y:3278 parse.y:3561 -#, fuzzy, c-format +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "excedido o número máximo de here-document" + +#: parse.y:3390 parse.y:3748 +#, c-format msgid "unexpected EOF while looking for matching `%c'" -msgstr "encontrado EOF não esperado enquanto procurava por `%c'" +msgstr "encontrado EOF inesperado enquanto procurava por `%c' correspondente" -#: parse.y:4170 -#, fuzzy +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" -msgstr "encontrado EOF não esperado enquanto procurava por `%c'" +msgstr "encontrado EOF inesperado enquanto procurava por `]]'" -#: parse.y:4175 -#, fuzzy, c-format +#: parse.y:4415 +#, c-format msgid "syntax error in conditional expression: unexpected token `%s'" -msgstr "erro de sintaxe próximo do `token' não esperado `%s'" +msgstr "erro de sintaxe na expressão condicional: token inesperado `%s'" -#: parse.y:4179 -#, fuzzy +#: parse.y:4419 msgid "syntax error in conditional expression" -msgstr "erro de sintaxe na expressão" +msgstr "erro de sintaxe na expressão condicional" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" -msgstr "" +msgstr "token inesperado `%s', esperava`)'" -#: parse.y:4261 -#, fuzzy +#: parse.y:4501 msgid "expected `)'" -msgstr "esperado `)'" +msgstr "esperava `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" -msgstr "" +msgstr "argumento inesperado `%s' para operador unário condicional" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" -msgstr "" +msgstr "argumento inesperado para operador unário condicional" -#: parse.y:4339 -#, fuzzy, c-format +#: parse.y:4579 +#, c-format msgid "unexpected token `%s', conditional binary operator expected" -msgstr "%s: esperado operador binário" +msgstr "token inesperado `%s', esperava operador binário condicional" -#: parse.y:4343 -#, fuzzy +#: parse.y:4583 msgid "conditional binary operator expected" -msgstr "%s: esperado operador binário" +msgstr "esperava operador binário condicional" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" -msgstr "" +msgstr "argumento inesperado `%s' para operador binário condicional" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" -msgstr "" +msgstr "argumento inesperado para operador binário condicional" -#: parse.y:4380 -#, fuzzy, c-format +#: parse.y:4620 +#, c-format msgid "unexpected token `%c' in conditional command" -msgstr "`:' esperado para expressão condicional" +msgstr "token inesperado `%c' em comando condicional" -#: parse.y:4383 -#, fuzzy, c-format +#: parse.y:4623 +#, c-format msgid "unexpected token `%s' in conditional command" -msgstr "`:' esperado para expressão condicional" +msgstr "token inesperado `%s' em comando condicional" -#: parse.y:4387 -#, fuzzy, c-format +#: parse.y:4627 +#, c-format msgid "unexpected token %d in conditional command" -msgstr "`:' esperado para expressão condicional" +msgstr "token inesperado %d em comando condicional" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" -msgstr "erro de sintaxe próximo do `token' não esperado `%s'" +msgstr "erro de sintaxe próximo ao token inesperado `%s'" -#: parse.y:5755 -#, fuzzy, c-format +#: parse.y:6014 +#, c-format msgid "syntax error near `%s'" -msgstr "erro de sintaxe próximo do `token' não esperado `%s'" +msgstr "erro de sintaxe próximo a `%s'" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "erro de sintaxe: fim prematuro do arquivo" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "erro de sintaxe" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" -msgstr "Use \"%s\" para sair da `shell'.\n" +msgstr "Use \"%s\" para sair do shell.\n" -#: parse.y:5989 -#, fuzzy +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" -msgstr "encontrado EOF não esperado enquanto procurava por `%c'" +msgstr "encontrado EOF inesperado enquanto procurava por `)' correspondente" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" +msgstr "completion: função `%s' não encontrada" + +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" msgstr "" +# COMPSPEC é variável no código fonte, manter sem tradução para português. #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" -msgstr "" +msgstr "progcomp_insert: %s: COMPSPEC NULO" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: conector incorreto `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" -msgstr "" +msgstr "xtrace_set: %d: descritor de arquivo inválido" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" -msgstr "" +msgstr "xtrace_set: ponteiro de arquivo NULO" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" -msgstr "" +msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" -msgstr "" +msgstr "cprintf: `%c': caractere de formato inválido" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" -msgstr "" +msgstr "descritor de arquivo fora dos limites" -#: redir.c:177 -#, fuzzy, c-format +#: redir.c:178 +#, c-format msgid "%s: ambiguous redirect" -msgstr "%s: Redirecionamento ambíguo" +msgstr "%s: redirecionamento ambíguo" -#: redir.c:181 -#, fuzzy, c-format +#: redir.c:182 +#, c-format msgid "%s: cannot overwrite existing file" -msgstr "%s: Impossível sobrescrever arquivo existente" +msgstr "%s: impossível sobrescrever arquivo existente" -#: redir.c:186 -#, fuzzy, c-format +#: redir.c:187 +#, c-format msgid "%s: restricted: cannot redirect output" -msgstr "%s: restrição: não é permitido especificar `/' em nomes de comandos" +msgstr "%s: restrição: impossível redirecionar saída" -#: redir.c:191 -#, fuzzy, c-format +#: redir.c:192 +#, c-format msgid "cannot create temp file for here-document: %s" -msgstr "impossível criar `pipe' para a substituição do processo: %s" +msgstr "impossível criar arquivo temporário para here-document: %s" -#: redir.c:195 -#, fuzzy, c-format +#: redir.c:196 +#, c-format msgid "%s: cannot assign fd to variable" -msgstr "%s: impossível atribuir uma lista a um membro de uma matriz (array)" +msgstr "%s: impossível atribuir fd a variável" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" -msgstr "" +msgstr "sem suporte a /dev/(tcp|udp)/máquina/porta sem rede" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 -#, fuzzy +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" -msgstr "erro de redirecionamento" +msgstr "erro de redirecionamento: impossível duplicar fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" -msgstr "" +msgstr "impossível localizar /tmp, por favor crie!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" -msgstr "" +msgstr "/tmp deve ser um nome de diretório válido" -#: shell.c:890 -#, fuzzy, c-format +#: shell.c:927 +#, c-format msgid "%c%c: invalid option" -msgstr "%c%c: opção incorreta" +msgstr "%c%c: opção inválida" + +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "impossível definir uid para %d: uid efetivo %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "impossível definir gid para %d: gid efetivo %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: É um diretório" -#: shell.c:1682 +#: shell.c:1777 msgid "I have no name!" -msgstr "Eu não tenho nome!" +msgstr "Eu não tenho nome!" -#: shell.c:1827 -#, fuzzy, c-format +#: shell.c:1930 +#, c-format msgid "GNU bash, version %s-(%s)\n" -msgstr "GNU %s, versão %s\n" +msgstr "GNU bash, versão %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" msgstr "" -"Utilização:\t%s [opção-longa-GNU] [opção] ...\n" -"\t%s [opção-longa-GNU] [opção] arquivo-de-script ...\n" +"Utilização:\t%s [opção-longa-GNU] [opção] ...\n" +"\t%s [opção-longa-GNU] [opção] arquivo-de-script ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" -msgstr "opções-longas-GNU:\n" +msgstr "opções-longas-GNU:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" -msgstr "Opções da `shell':\n" +msgstr "Opções do shell:\n" -#: shell.c:1835 -#, fuzzy +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -msgstr "\t-irsD ou -c comando\t\t(somente para chamada)\n" +msgstr "\t-ilrsD or -c comando ou -O opção-shopt\t\t(somente para chamada)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" -msgstr "\t-%s ou -o opção\n" +msgstr "\t-%s ou -o opção\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" -"Digite `%s -c \"help set\"' para mais informações sobre as opções da " -"`shell'.\n" +"Digite `%s -c \"help set\"' para mais informações sobre as opções do shell.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" -"Digite `%s -c help' para mais informações sobre os comandos internos do " -"`shell'.\n" +"Digite `%s -c help' para mais informações sobre os comandos internos do " +"shell.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" -msgstr "" +msgstr "Uso o comando `bashbug' para relatar erros.\n" + +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "página do bash: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "Ajuda geral sobre uso de software GNU: \n" -#: sig.c:691 +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" -msgstr "" +msgstr "sigprocmask: %d: operação inválida" #: siglist.c:48 msgid "Bogus signal" @@ -1594,7 +1758,7 @@ msgstr "Sair" #: siglist.c:63 msgid "Illegal instruction" -msgstr "Instrução ilegal" +msgstr "Instrução ilegal" #: siglist.c:67 msgid "BPT trace/trap" @@ -1602,15 +1766,15 @@ msgstr "BPT Rastreamento/Captura (BPT trace/trap)" #: siglist.c:75 msgid "ABORT instruction" -msgstr "Instrução ABORT" +msgstr "Instrução ABORT" #: siglist.c:79 msgid "EMT instruction" -msgstr "Instrução EMT" +msgstr "Instrução EMT" #: siglist.c:83 msgid "Floating point exception" -msgstr "Exceção de ponto flutuante" +msgstr "Exceção de ponto flutuante" #: siglist.c:87 msgid "Killed" @@ -1622,7 +1786,7 @@ msgstr "Erro do barramento" #: siglist.c:95 msgid "Segmentation fault" -msgstr "Falha de segmentação" +msgstr "Falha de segmentação" #: siglist.c:99 msgid "Bad system call" @@ -1630,20 +1794,19 @@ msgstr "Chamada incorreta do sistema" #: siglist.c:103 msgid "Broken pipe" -msgstr "`Pipe' partido (Escrita sem leitura)" +msgstr "`Pipe' partido (escrita sem leitura)" #: siglist.c:107 msgid "Alarm clock" -msgstr "Relógio de alarme" +msgstr "Relógio de alarme" #: siglist.c:111 -#, fuzzy msgid "Terminated" -msgstr "exibida." +msgstr "Terminado" #: siglist.c:115 msgid "Urgent IO condition" -msgstr "Condição urgente de Entrada/Saída" +msgstr "Condição urgente de Entrada/Saída" #: siglist.c:119 msgid "Stopped (signal)" @@ -1663,11 +1826,11 @@ msgstr "Parado (entrada tty)" #: siglist.c:143 msgid "Stopped (tty output)" -msgstr "Parado (saída tty)" +msgstr "Parado (saída tty)" #: siglist.c:147 msgid "I/O ready" -msgstr "Entrada/Saída pronta" +msgstr "Entrada/Saída pronta" #: siglist.c:151 msgid "CPU limit" @@ -1679,11 +1842,11 @@ msgstr "Tamanho limite do arquivo excedido" #: siglist.c:159 msgid "Alarm (virtual)" -msgstr "Alarme virtual de tempo" +msgstr "Alarme (virtual)" #: siglist.c:163 msgid "Alarm (profile)" -msgstr "Alarme (profile)" +msgstr "Alarme (perfil)" #: siglist.c:167 msgid "Window changed" @@ -1695,11 +1858,11 @@ msgstr "Registro bloqueado (lock)" #: siglist.c:175 msgid "User signal 1" -msgstr "Sinal 1 definido pelo usuário" +msgstr "Sinal 1 definido pelo usuário" #: siglist.c:179 msgid "User signal 2" -msgstr "Sinal 2 definido pelo usuário" +msgstr "Sinal 2 definido pelo usuário" #: siglist.c:183 msgid "HFT input data pending" @@ -1719,7 +1882,7 @@ msgstr "migrar o processo para outra CPU" #: siglist.c:199 msgid "programming error" -msgstr "erro de programação" +msgstr "erro de programação" #: siglist.c:203 msgid "HFT monitor mode granted" @@ -1731,11 +1894,11 @@ msgstr "modo monitor HFT rescindido" #: siglist.c:211 msgid "HFT sound sequence has completed" -msgstr "a seqüência de som HFT foi completada" +msgstr "a seqüência de som HFT foi completada" #: siglist.c:215 msgid "Information request" -msgstr "" +msgstr "Requisição de informação" #: siglist.c:223 msgid "Unknown Signal #" @@ -1746,550 +1909,519 @@ msgstr "Sinal desconhecido #" msgid "Unknown Signal #%d" msgstr "Sinal desconhecido #%d" -#: subst.c:1362 subst.c:1520 -#, fuzzy, c-format +#: subst.c:1445 subst.c:1608 +#, c-format msgid "bad substitution: no closing `%s' in %s" -msgstr "substituição incorreta: nenhum `%s' em %s" +msgstr "substituição incorreta: sem `%s' de fechamento em %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" -msgstr "%s: impossível atribuir uma lista a um membro de uma matriz (array)" +msgstr "%s: impossível atribuir uma lista a um membro de um array" -#: subst.c:5065 subst.c:5081 -#, fuzzy +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" -msgstr "impossível criar `pipe' para a substituição do processo: %s" +msgstr "impossível criar `pipe' para a substituição do processo" -#: subst.c:5113 -#, fuzzy +#: subst.c:5798 msgid "cannot make child for process substitution" -msgstr "impossível criar um processo filho para a substituição do processo: %s" +msgstr "impossível criar um processo filho para a substituição do processo" -#: subst.c:5158 -#, fuzzy, c-format +#: subst.c:5848 +#, c-format msgid "cannot open named pipe %s for reading" -msgstr "impossível abrir o `named pipe' %s para %s: %s" +msgstr "impossível abrir `pipe' %s para leitura" -#: subst.c:5160 -#, fuzzy, c-format +#: subst.c:5850 +#, c-format msgid "cannot open named pipe %s for writing" -msgstr "impossível abrir o `named pipe' %s para %s: %s" +msgstr "impossível abrir `pipe' %s para escrita" -#: subst.c:5178 -#, fuzzy, c-format +#: subst.c:5873 +#, c-format msgid "cannot duplicate named pipe %s as fd %d" -msgstr "" -"impossível duplicar o `named pipe' %s\n" -"como descritor de arquivo (fd) %d: %s" +msgstr "impossível duplicar `pipe' %s como descritor de arquivo (fd) %d" -#: subst.c:5376 +#: subst.c:5959 #, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "substituição incorreta: sem \"`\" de fechamento em %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" -msgstr "impossível construir `pipes' para substituição do comando: %s" +msgstr "impossível criar um `pipe' para substituição do comando" -#: subst.c:5414 -#, fuzzy +#: subst.c:6127 msgid "cannot make child for command substitution" -msgstr "impossível criar um processo filho para substituição do comando: %s" +msgstr "impossível criar um processo filho para substituição do comando" -#: subst.c:5433 -#, fuzzy +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" -"command_substitute: impossível duplicar o `pipe' como\n" -"descritor de arquivo (fd) 1: %s" +"command_substitute: impossível duplicar o `pipe' como descritor de arquivo " +"(fd) 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" -msgstr "" +msgstr "%s: nome de variável inválido para referência de nome" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 #, c-format -msgid "%s: parameter null or not set" -msgstr "%s: parâmetro nulo ou não inicializado" +msgid "%s: bad substitution" +msgstr "%s: substituição incorreta" -#: subst.c:6320 subst.c:6335 +#: subst.c:6800 #, c-format -msgid "%s: substring expression < 0" -msgstr "%s: expressão de substring < 0" +msgid "%s: invalid indirect expansion" +msgstr "%s: expansão indireta inválida" -#: subst.c:7506 +#: subst.c:6807 #, c-format -msgid "%s: bad substitution" -msgstr "%s: substituição incorreta" +msgid "%s: invalid variable name" +msgstr "%s: nome de variável inválido" + +#: subst.c:6854 +#, c-format +msgid "%s: parameter null or not set" +msgstr "%s: parâmetro nulo ou não inicializado" + +#: subst.c:7089 subst.c:7104 +#, c-format +msgid "%s: substring expression < 0" +msgstr "%s: expressão de substring < 0" -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" -msgstr "$%s: impossível atribuir desta maneira" +msgstr "$%s: impossível atribuir desta maneira" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" +"versões futuras do shell vão forçar avaliação como um substituto aritmético" -#: subst.c:8421 -#, fuzzy, c-format +#: subst.c:9349 +#, c-format msgid "bad substitution: no closing \"`\" in %s" -msgstr "substituição incorreta: nenhum `%s' em %s" +msgstr "substituição incorreta: sem \"`\" de fechamento em %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" -msgstr "" +msgstr "sem correspondência: %s" #: test.c:147 msgid "argument expected" -msgstr "esperado argumento" +msgstr "esperava argumento" #: test.c:156 #, c-format msgid "%s: integer expression expected" -msgstr "%s: esperado expressão de número inteiro" +msgstr "%s: esperava expressão de número inteiro" -#: test.c:264 +#: test.c:265 msgid "`)' expected" -msgstr "esperado `)'" +msgstr "esperava `)'" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" -msgstr "esperado `)', encontrado %s" +msgstr "esperava `)', encontrado %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" -msgstr "%s: esperado operador unário" +msgstr "%s: esperava operador unário" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" -msgstr "%s: esperado operador binário" +msgstr "%s: esperava operador binário" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "faltando `]'" -#: trap.c:217 -#, fuzzy +#: trap.c:224 msgid "invalid signal number" -msgstr "número do sinal incorreto" +msgstr "número de sinal inválido" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" -msgstr "" +msgstr "run_pending_traps: valor incorreto em trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" +"run_pending_traps: manipulador de sinal é SIG_DFL, enviando novamente %d (%" +"s) para mim mesmo" -#: trap.c:428 -#, fuzzy, c-format +#: trap.c:447 +#, c-format msgid "trap_handler: bad signal %d" -msgstr "trap_handler: Sinal incorreto %d" +msgstr "trap_handler: sinal incorreto %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" -msgstr "erro ao importar a definição da função para `%s'" +msgstr "erro ao importar a definição da função para `%s'" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" -msgstr "" - -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" +msgstr "nível do shell (%d) muito grande, redefinindo para 1" -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" -msgstr "" +msgstr "make_local_variable: nenhum contexto de função no atual escopo" -#: variables.c:2247 -#, fuzzy, c-format +#: variables.c:2432 +#, c-format msgid "%s: variable may not be assigned value" -msgstr "%s: impossível atribuir uma lista a um membro de uma matriz (array)" +msgstr "%s: a variável pode não ter um valor atribuído" + +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: nome de variável inválido para referência de nome" -#: variables.c:3646 +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" -msgstr "" +msgstr "all_local_variables: nenhum contexto de função no escopo atual" -#: variables.c:3891 -#, fuzzy, c-format +#: variables.c:4218 +#, c-format msgid "%s has null exportstr" -msgstr "%s: parâmetro nulo ou não inicializado" +msgstr "%s possui a string de exportação nula" -#: variables.c:3896 variables.c:3905 +# exportstr é uma variável no código fonte do bash (arquivo variiables.c) +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" -msgstr "" +msgstr "caractere inválido na %d na exportstr para %s" -#: variables.c:3911 +# exportstr é uma variável no código fonte do bash (arquivo variiables.c) +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" -msgstr "" +msgstr "Sem `=' na exportstr para %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" -msgstr "" +msgstr "pop_var_context: cabeça de shell_variables não é um contexto de função" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" -msgstr "" +msgstr "pop_var_context: nenhum contexto em no global_variables" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" +"pop_scope: cabeça de shell_variables não é um escopo de ambiente temporário" -#: variables.c:5257 -#, fuzzy, c-format +#: variables.c:5619 +#, c-format msgid "%s: %s: cannot open as FILE" -msgstr "%s: impossível criar: %s" +msgstr "%s: %s: impossível abrir como ARQUIVO" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" -msgstr "" +msgstr "%s: %s: valor inválido para rastrear descritor de arquivo" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" -msgstr "" +msgstr "%s: %s: valor de compatibilidade fora dos limites" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "" +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright (C) 2015 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" "License GPLv3+: GNU GPL version 3 or later \n" msgstr "" +"Licença GPLv3+: GNU GPL versão 3 ou posterior .\n" #: version.c:86 version2.c:86 -#, fuzzy, c-format +#, c-format msgid "GNU bash, version %s (%s)\n" -msgstr "GNU %s, versão %s\n" +msgstr "GNU bash, versão %s (%s)\n" #: version.c:91 version2.c:91 msgid "This is free software; you are free to change and redistribute it." -msgstr "" +msgstr "Este é um software livre; você é livre para alterar e redistribuí-lo." #: version.c:92 version2.c:92 msgid "There is NO WARRANTY, to the extent permitted by law." -msgstr "" - -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "" +msgstr "Há NENHUMA GARANTIA, na extensão permitida pela lei." #: xmalloc.c:91 -#, fuzzy, c-format +#, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "xmalloc: impossível alocar %lu bytes (%lu bytes alocados)" +msgstr "%s: impossível alocar %lu bytes (%lu bytes alocados)" #: xmalloc.c:93 -#, fuzzy, c-format +#, c-format msgid "%s: cannot allocate %lu bytes" -msgstr "xmalloc: impossível alocar %lu bytes (%lu bytes alocados)" +msgstr "%s: impossível alocar %lu bytes" #: xmalloc.c:163 -#, fuzzy, c-format +#, c-format msgid "%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "xmalloc: impossível alocar %lu bytes (%lu bytes alocados)" +msgstr "%s: %s:%d: impossível alocar %lu bytes (%lu bytes alocados)" #: xmalloc.c:165 -#, fuzzy, c-format +#, c-format msgid "%s: %s:%d: cannot allocate %lu bytes" -msgstr "xmalloc: impossível alocar %lu bytes (%lu bytes alocados)" +msgstr "%s: %s:%d: impossível alocar %lu bytes" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [NOME[=VALOR] ... ]" -#: builtins.c:47 -#, fuzzy +#: builtins.c:49 msgid "unalias [-a] name [name ...]" -msgstr "unalias [-a] [NOME ...]" +msgstr "unalias [-a] NOME [NOME ...]" -#: builtins.c:51 -#, fuzzy +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -"bind [-lpvsPVS] [-m MAPA-TECLAS] [-f ARQUIVO] [-q NOME-FUNÇÃO] [-r SEQ-" -"TECLAS] [SEQ-TECLAS:FUNÇÃO-DE-LEITURA-DE-LINHA]" +"bind [-lpsvPSVX] [-m MAPA-TECLAS] [-f ARQUIVO] [-q NOME] [-u NOME] [-r SEQ-" +"TECLAS] [-x SEQ-TECLAS:COMANDO-SHELL] [SEQ-TECLAS:FUNÇÃO-DE-LINHA ou " +"COMANDO-DE-LINHA]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" -msgstr "builtin [COMANDO-INTERNO-DA-SHELL [ARG ...]]" +msgstr "builtin [COMANDO-INTERNO-SHELL [ARG ...]]" -#: builtins.c:61 -#, fuzzy +#: builtins.c:63 msgid "caller [expr]" -msgstr "test [EXPR]" - -#: builtins.c:64 -#, fuzzy -msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-PL] [DIR]" +msgstr "caller [EXPR]" #: builtins.c:66 -#, fuzzy -msgid "pwd [-LP]" -msgstr "pwd [-PL]" +msgid "cd [-L|[-P [-e]] [-@]] [dir]" +msgstr "cd [-L|[-P [-e]] [-@]] [DIR]" #: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "" - -#: builtins.c:72 -msgid "false" -msgstr "" +msgid "pwd [-LP]" +msgstr "pwd [-LP]" -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] COMANDO [ARG ...]" -#: builtins.c:76 -#, fuzzy -msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "declare [-afFrxi] [-p] NOME[=VALOR] ..." - #: builtins.c:78 -#, fuzzy -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-afFrxi] [-p] NOME[=VALOR] ..." +msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [NOME[=VALOR] ...]" #: builtins.c:80 -#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] NOME[=VALOR] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." -msgstr "local NOME[=VALOR] ..." +msgstr "local [OPÇÃO] NOME[=VALOR] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [ARG ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [ARG ...]" -#: builtins.c:90 -#, fuzzy +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" -msgstr "enable [-pnds] [-a] [-f ARQUIVO] [NOME ...]" +msgstr "enable [-a] [-DnPs] [-f ARQUIVO] [NOME ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [ARG ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" -msgstr "getopts OPÇÕES NOME [ARG]" +msgstr "getopts OPTSTRING NOME [ARG]" -#: builtins.c:96 -#, fuzzy +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" -msgstr "exec [-cl] [-a NOME] ARQUIVO [REDIRECIONAMENTO ...]" +msgstr "exec [-cl] [-a NOME] [COMANDO [ARGUMENTOS ...]] [REDIRECIONAMENTO ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 -#, fuzzy +#: builtins.c:102 msgid "logout [n]" -msgstr "logout" +msgstr "logout [n]" -#: builtins.c:103 -#, fuzzy +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" -"fc [-e EDITOR] [-nlr] [PRIMEIRO] [ÚLTIMO] ou fc -s [ANTIGO=NOVO] [COMANDO]" +"fc [-e EDITOR] [-lnr] [PRIMEIRO] [ÚLTIMO] ou fc -s [ANTIGO=NOVO] [COMANDO]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" -msgstr "fg [JOB-ESPECIFICADO]" +msgstr "fg [ESPEC-JOB]" -#: builtins.c:111 -#, fuzzy +#: builtins.c:113 msgid "bg [job_spec ...]" -msgstr "bg [JOB-ESPECIFICADO]" +msgstr "bg [ESPEC-JOB ...]" -#: builtins.c:114 -#, fuzzy +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" -msgstr "hash [-r] [-p CAMINHO] [NOME ...]" +msgstr "hash [-lr] [-p CAMINHO] [-dt] [NOME ...]" -#: builtins.c:117 -#, fuzzy +#: builtins.c:119 msgid "help [-dms] [pattern ...]" -msgstr "help [PADRÃO ...]" +msgstr "help [-dms] [PADRÃO ...]" -#: builtins.c:121 -#, fuzzy +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" -"history [-c] [n] ou history -awrn [ARQUIVO] ou history -ps ARG [ARG...]" +"history [-c] [-d POSIÇÃO] [n] ou history -anrw [ARQUIVO] ou history -ps ARG " +"[ARG...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" -msgstr "jobs [-lnprs] [JOB-ESPECIFICADO ...] ou jobs -x COMANDO [ARGS]" +msgstr "jobs [-lnprs] [ESPEC-JOB ...] ou jobs -x COMANDO [ARGS]" -#: builtins.c:129 +#: builtins.c:131 #, fuzzy -msgid "disown [-h] [-ar] [jobspec ...]" -msgstr "disown [JOB-ESPECIFICADO ...]" +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" +msgstr "disown [-h] [-ar] [ESPEC-JOB ...]" -#: builtins.c:132 -#, fuzzy +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" msgstr "" -"kill [-s SIGSPEC | -n SIGNUM | -SIGSPEC] [PID | JOB]... ou kill -l [SIGSPEC]" +"kill [-s SIGSPEC | -n SIGNUM | -SIGSPEC] PID | ESPEC-JOB ... ou kill -l " +"[SIGSPEC]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let ARG [ARG ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" +"read [-ers] [-a ARRAY] [-d DELIM] [-i TEXTO] [-n NCHARS] [-N NCHARS] [-p " +"CONFIRMAR ] [-t TEMPO] [-u FD] [NOME ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 -#, fuzzy +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -msgstr "set [--abefhkmnptuvxBCHP] [-o OPÇÃO] [ARG ...]" +msgstr "set [--abefhkmnptuvxBCHP] [-o NOME-OPÇÃO] [--] [ARG ...]" -#: builtins.c:142 -#, fuzzy +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "unset [-f] [-v] [NOME ...]" +msgstr "unset [-f] [-v] [-n] [NOME ...]" -#: builtins.c:144 -#, fuzzy +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" -msgstr "export [-nf] [NOME ...] ou export -p" +msgstr "export [-fn] [NOME[=VALOR] ...] ou export -p" -#: builtins.c:146 -#, fuzzy +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" -msgstr "readonly [-anf] [NOME ...] ou readonly -p" +msgstr "readonly [-aAf] [NOME[=VALOR] ...] ou readonly -p" -#: builtins.c:148 -#, fuzzy +#: builtins.c:150 msgid "shift [n]" -msgstr "exit [n]" +msgstr "shift [n]" -#: builtins.c:150 -#, fuzzy +#: builtins.c:152 msgid "source filename [arguments]" -msgstr "arquivo fonte" +msgstr "source ARQUIVO [ARGUMENTOS]" -#: builtins.c:152 -#, fuzzy +#: builtins.c:154 msgid ". filename [arguments]" -msgstr ". ARQUIVO" +msgstr ". ARQUIVO [ARGUMENTOS]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [EXPR]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ ARG... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 -#, fuzzy +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" -msgstr "trap [ARG] [SINAL-ESPEC] ou trap -l" +msgstr "trap [-lp] [[ARG] ESPEC-SINAL ...]" -#: builtins.c:166 -#, fuzzy +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-apt] NOME [NOME ...]" -#: builtins.c:169 -#, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHacdfmstpnuv] [LIMITE]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [LIMITE]" -#: builtins.c:172 -#, fuzzy +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" -msgstr "umask [-S] [MODO]" +msgstr "umask [-p] [-S] [MODO]" -#: builtins.c:175 -#, fuzzy +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "wait [n]" +msgstr "wait [-n] [ID ...]" -#: builtins.c:179 -#, fuzzy +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "wait [n]" +msgstr "wait [PID ...]" -#: builtins.c:182 -#, fuzzy +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" -msgstr "for NOME [in PALAVRAS ... ;] do COMANDOS; done" +msgstr "for NOME [in PALAVRAS ...] ; do COMANDOS; done" -#: builtins.c:184 -#, fuzzy +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" -msgstr "for NOME [in PALAVRAS ... ;] do COMANDOS; done" +msgstr "for (( EXP1; EXP2; EXP3 )); do COMANDOS; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NOME [in PALAVRAS ... ;] do COMANDOS; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" -msgstr "" +msgstr "time [-p] LINHA-COMANDOS" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" -msgstr "case PALAVRA in [PADRÃO [| PADRÃO]...) COMANDOS ;;]... esac" +msgstr "case PALAVRA in [PADRÃO [| PADRÃO]...) COMANDOS ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2297,102 +2429,104 @@ msgstr "" "if COMANDOS; then COMANDOS; [ elif COMANDOS; then COMANDOS; ]... [ else " "COMANDOS; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while COMANDOS; do COMANDOS; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until COMANDOS; do COMANDOS; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" -msgstr "" +msgstr "coproc [NOME] COMANDO [REDIRECIONAMENTOS]" -#: builtins.c:200 -#, fuzzy +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function NOME { COMANDOS ; } ou NOME () { COMANDOS ; }" -#: builtins.c:202 -#, fuzzy +#: builtins.c:204 msgid "{ COMMANDS ; }" -msgstr "{ COMANDOS }" +msgstr "{ COMANDOS ; }" -#: builtins.c:204 -#, fuzzy +#: builtins.c:206 msgid "job_spec [&]" -msgstr "fg [JOB-ESPECIFICADO]" +msgstr "ESPEC-JOB [&]" -#: builtins.c:206 -#, fuzzy +#: builtins.c:208 msgid "(( expression ))" -msgstr "esperado uma expressão" +msgstr "(( EXPRESSÃO ))" -#: builtins.c:208 -#, fuzzy +#: builtins.c:210 msgid "[[ expression ]]" -msgstr "esperado uma expressão" +msgstr "[[ EXPRESSÃO ]]" -#: builtins.c:210 -#, fuzzy +# Não traduzir "variables", esta é uma opção "builtin" do "bash" que é exibida ao executar "help" e acessível com "help variables". +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" -msgstr "As variáveis da `shell' podem ser operandos. O nome da variável é" +msgstr "variables - Nomes e significados de algumas variáveis do shell" -#: builtins.c:213 -#, fuzzy +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" -msgstr "pushd [DIR | +N | -N] [-n]" +msgstr "pushd [-n] [+N | -N | DIR]" -#: builtins.c:217 -#, fuzzy +#: builtins.c:219 msgid "popd [-n] [+N | -N]" -msgstr "popd [+N | -N] [-n]" +msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 -#, fuzzy +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" -msgstr "shopt [-pqsu] [-o OPÇÃO-LONGA] NOME-OPÇÃO [NOME-OPÇÃO...]" +msgstr "shopt [-pqsu] [-o] [NOME-OPÇÃO ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" -msgstr "" +msgstr "printf [-v VAR] FORMATO [ARGUMENTOS]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" +"complete [-abcdefgjksuv] [-pr] [-DE] [-o OPÇÃO] [-A AÇÃO] [-G GLOBAL] [-W " +"LISTA-PALAVRAS] [-F FUNÇÃO] [-C COMANDO] [-X FILTRO] [-P PREFIXO] [-S " +"SUFIXO] [NOME ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" +"compgen [-abcdefgjksuv] [-o OPÇÃO] [-A AÇÃO] [-G GLOBAL] [-W LISTA-" +"PALAVRAS] [-F FUNÇÃO] [-C COMANDO] [-X FILTRO] [-P PREFIXO] [-S SUFIXO] " +"[PALAVRA]" -#: builtins.c:237 -#, fuzzy +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" -msgstr "type [-apt] NOME [NOME ...]" +msgstr "compopt [-o|+o OPÇÃO] [-DE] [NOME ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" +"mapfile [-d DELIM] [-n NÚMERO] [-O ORIGEM] [-s NÚMERO] [-t] [-u FD] [-C " +"CHAMADA] [-c QUANTIDADE] [ARRAY]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" +"readarray [-n NÚMERO] [-O ORIGEM] [-s NÚMERO] [-t] [-u FD] [-C CHAMADA] [-c " +"QUANTIDADE] [ARRAY]" -#: builtins.c:254 +# help alias +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2404,27 +2538,48 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " "been\n" " defined." msgstr "" +"Define ou exibe apelidos (aliases).\n" +" \n" +" Sem argumentos, `alias' mostra a lista de apelidos no formato usável\n" +" `alias NOME=VALOR' na saída padrão.\n" +" \n" +" Do contrário, um apelido é definido para cada NOME cujo VALOR é dado.\n" +" Um espaço ao final em VALOR resulta na próxima palavra ser verificada\n" +" por substituição de apelido quando o apelido for expandido.\n" +" \n" +" Opções:\n" +" -p\tmostra todos os apelidos definidos em uma formato usável\n" +" \n" +" Status de saída:\n" +" `alias' retorna verdadeiro, a menos que seja fornecido um NOME para\n" +" o qual não se tenha definido um apelido" -#: builtins.c:276 -#, fuzzy +# help unalias +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" -"Remove NOMEs da lista de aliases definidos. Se a opção -a for fornecida," +"Remove cada NOME da lista de apelidos definidos.\n" +" \n" +" Opções:\n" +" -a\tremove todas as definições de apelidos\n" +" \n" +" Retorna sucesso, a menos que NOME não seja um apelido existente." -#: builtins.c:289 +# help bind +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2458,15 +2613,63 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" - -#: builtins.c:328 -#, fuzzy +"Define variáveis e associações de teclas para Readline.\n" +" \n" +" Associa uma sequência de teclas para uma função Readline ou uma macro\n" +" ou define uma variável de Readline. A sintaxe de argumento sem opção é\n" +" equivalente àquela encontrada em ~/.inputrc, mas deve ser passada como\n" +" um argumento singular.\n" +" \n" +" Opções:\n" +" -m MAPA-TECLAS Usa MAPA-TECLAS como mapa de teclas para a duração\n" +" deste comando. Nomes de mapa de teclas aceitáveis\n" +" são emacs, emacs-standard, emacs-meta, emacs-ctlx,\n" +" vi, vi-move, vi-command e vi-insert.\n" +" -l Lista nomes de funções.\n" +" -P Lista nomes e associações de função.\n" +" -p Lista funções e associações em uma forma que pode " +"ser\n" +" usada como entrada.\n" +" -S Lista sequências de teclas que chamam macros e " +"seus\n" +" valores\n" +" -s Lista sequências de teclas que chamam macros e " +"seus\n" +" valores em uma forma que pode ser usada como " +"entrada.\n" +" -V Lista nomes e valores de variáveis\n" +" -v Lista nomes e valores de variáveis em uma forma " +"que\n" +" pode ser usada como entrada.\n" +" -q NOME Consulta sobre quais teclas chamam a função " +"informada.\n" +" -u NOME Desassocia todas teclas que estão associadas à " +"função\n" +" informada.\n" +" -r SEQ-TECLAS Remove a associação para SEQ-TECLAS.\n" +" -f ARQUIVO Lê associações de tecla de ARQUIVO.\n" +" -x SEQ-TECLAS:COMANDO-SHELL\n" +" Faz com que COMANDO-SHELL seja executado ao " +"inserir\n" +" SEQ-TECLAS.\n" +" -X Lista sequência de teclas associadas com -x e " +"comandos\n" +" associados em uma forma que pode ser usada como\n" +" entrada.\n" +" \n" +" Status de saída:\n" +" `bind' retorna 0 a mesmo que uma opção desconhecida seja fornecida ou\n" +" um erro ocorrer." + +# help break +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2475,10 +2678,17 @@ msgid "" " \n" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." -msgstr "Prossegue no próximo ciclo do laço FOR, WHILE ou UNTIL envolvente." +msgstr "" +"Sai de loops de for, while ou until.\n" +" \n" +" Sai de um loop de FOR, WHILE ou UNTIL. Se N for especificado, quebra N \n" +" blocos de declaração de loops.\n" +" \n" +" Status de saída:\n" +" O status de saída é 0, a menos que N não seja maior ou igual a 1." -#: builtins.c:340 -#, fuzzy +# help continue +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2487,9 +2697,18 @@ msgid "" " \n" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." -msgstr "Prossegue no próximo ciclo do laço FOR, WHILE ou UNTIL envolvente." +msgstr "" +"Resume loops de for, while ou until.\n" +" \n" +" Resume a próxima iteração do bloco de declaração de loop de FOR, WHILE\n" +" ou UNTIL.\n" +" Se N for especificado, resume o N-ésimo bloco de declaração de loop.\n" +" \n" +" Status de saída:\n" +" O status de saída é 0, a menos que N não seja maior ou igual a 1." -#: builtins.c:352 +# help builtin +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2502,8 +2721,19 @@ msgid "" " Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is\n" " not a shell builtin.." msgstr "" +"Executa comandos internos (builtin) do shell.\n" +" \n" +" Executa COMANDO-INTERNO-SHELL com argumentos ARGs sem realizar procura\n" +" por comandos. Isso é útil quando você deseja reimplementar um comando\n" +" interno como uma função shell, mas precisa executar o comando interno\n" +" dentro de uma função.\n" +" \n" +" Status de saída:\n" +" Retorna o status de saída de COMANDO-INTERNO-SHELL ou falso, se\n" +" COMANDO-INTERNO-SHELL não for de fato um comando interno de shell." -#: builtins.c:367 +# help caller +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2518,8 +2748,22 @@ msgid "" " Returns 0 unless the shell is not executing a shell function or EXPR\n" " is invalid." msgstr "" +"Retorna o contexto da chamada de sub-rotina atual.\n" +" \n" +" Sem EXPR, retorna \"$linha $arquivo\". Com EXPR, retorna\n" +" \"$linha $sub-rotina $arquivo\"; essa informação extra pode ser usada " +"para\n" +" fornecer um rastro da pilha.\n" +" \n" +" O valor de EXPR indica quantos quadros de chamada deve voltar antes do\n" +" atual; o quadro do topo é o quadro 0.\n" +" \n" +" Status de saída:\n" +" Retorna 0, a menos que o shell não esteja executando uma função de\n" +" shell ou EXPR seja inválida." -#: builtins.c:385 +# help cd +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2542,16 +2786,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2563,14 +2807,54 @@ msgid "" "when\n" " -P is used; non-zero otherwise." msgstr "" - -#: builtins.c:422 +"Altera o diretório de trabalho do shell.\n" +" \n" +" Altera o diretório atual para DIR, sendo o padrão de DIR o mesmo valor\n" +" da variável HOME.\n" +" \n" +" A variável CDPATH define o caminho de pesquisa para o diretório " +"contendo\n" +" DIR. Nomes de diretórios alternativos em CDPATH são separados por\n" +" dois-pontos (:). Um nome de diretório nulo é o mesmo que o diretório\n" +" atual. Se DIR inicia com uma barra (/), então CDPATH não é usada.\n" +" \n" +" Se o diretório não for encontrado e a opção `cdable_vars` estiver " +"definida\n" +" no shell, a palavra é presumida como sendo o nome de uma variável. Se\n" +" tal variável possuir um valor, este valor é usado para DIR.\n" +" \n" +" Opções:\n" +" -L\tforça links simbólicos a serem seguidos: resolver links " +"simbólicos\n" +" \t\tem DIR após processar instâncias de `..'\n" +" -P\tusa a estrutura do diretório físico sem seguir links\n" +" \t\tsimbólicos: resolve links simbólicos em DIR antes de processar\n" +" \t\tinstâncias de `..'\n" +" -e\tse a opção -P for fornecida e o diretório de trabalho atual não\n" +" \t\tpuder ser determinado com sucesso, sai com um status não-zero\n" +" -@\tem sistemas nos quais haja suporte, apresenta um arquivo com\n" +" \t\tatributos estendidos como um diretório contendo os atributos de\n" +" \t\tarquivo\n" +" \n" +" O padrão é seguir links simbólicos, como se `-L' tivesse sido " +"especificada.\n" +" `..' é processada removendo o componente de caminho imediatamente " +"anterior\n" +" de volta para uma barra ou para o início de DIR.\n" +" \n" +" Status de saída:\n" +" Retorna 0, se o diretório tiver sido alterado e se $PWD está definida " +"com\n" +" sucesso quando a opção -P for usada; do contrário, retorna não-zero." + +# help pwd +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2579,9 +2863,21 @@ msgid "" " Returns 0 unless an invalid option is given or the current directory\n" " cannot be read." msgstr "" +"Mostra o nome do diretório de trabalho atual.\n" +" \n" +" Opções:\n" +" -L\tmostra o valor de $PWD se ele tiver o nome do diretório de\n" +" \t\ttrabalho atual\n" +" -P\tmostra o diretório físico, sem quaisquer links simbólicos\n" +" \n" +" Por padrão, `pwd' se comporta como se a opção `-L' foi especificada.\n" +" \n" +" Status de saída:\n" +" Retorna 0, a menos que uma opção inválida seja fornecida ou o diretório\n" +" atual não possa ser lido." -#: builtins.c:439 -#, fuzzy +# help : +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2590,25 +2886,41 @@ msgid "" " Exit Status:\n" " Always succeeds." msgstr "" -"Nenhum efeito; o comando não faz nada. Retorna zero no código de saída." +"Comando nulo.\n" +" \n" +" Nenhum efeito; o comando não faz nada.\n" +" \n" +" Status de saída:\n" +" Sempre com sucesso." -#: builtins.c:450 +# help true +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" " Exit Status:\n" " Always succeeds." msgstr "" +"Retorna um resultado de sucesso.\n" +" \n" +" Status de saída:\n" +" Sempre sucesso." -#: builtins.c:459 +# help false +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" " Exit Status:\n" " Always fails." msgstr "" +"Retorna um resultado de insucesso.\n" +" \n" +" Status de saída:\n" +" Sempre falha." -#: builtins.c:468 +# help command +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2618,16 +2930,32 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" +"Executa um comando simples ou exibe informação sobre comandos.\n" +" \n" +" Executa COMANDO com ARG suprimindo a procura por função do shell ou\n" +" exibe informação sobre os COMANDOs especificados. Pode ser usado para\n" +" chamar comandos no disco quando um função com o mesmo nome existe.\n" +" \n" +" Opções:\n" +" -p\tusa um valor padrão como variável PATH no qual garantidamente\n" +" \t\tse encontram todas os utilitários padrão\n" +" -v\tmostra uma descrição de COMANDO similar ao comando `type'\n" +" -V\tmostra uma descrição detalhada (verboso) para cada COMANDO\n" +" \n" +" Status de saída:\n" +" Retorna status de saída de COMANDO ou falha, se COMANDO não for \n" +" encontrado." -#: builtins.c:487 +# help declare +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2637,9 +2965,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2666,15 +2994,57 @@ msgid "" " Returns success unless an invalid option is supplied or a variable\n" " assignment error occurs." msgstr "" +"Define valores e atributos de variável.\n" +" \n" +" Declara variáveis e a elas fornece atributos. Se nenhum NOME for " +"fornecido,\n" +" exibe os atributos e valores de todas as variáveis.\n" +" \n" +" Opções:\n" +" -f\trestringe ação ou exibição dos nomes e definições de funções\n" +" -F\trestringe exibição a nomes de função apenas (mais número de linha\n" +" \t\te arquivo fonte, na depuração)\n" +" -g\tcria variáveis globais quando usado em uma função do shell;\n" +" \t\tdo contrário, ignorado\n" +" -p\texibe os atributos e valores de cada NOME\n" +" \n" +" Opções que definem atributos:\n" +" -a\tpara fazer NOMEs serem arrrays indexados (se houver suporte)\n" +" -A\tpara fazer NOMEs serem arrrays associativos (se houver suporte)\n" +" -i\tpara fazer NOMEs terem o atributo `integer'\n" +" -l\tpara converter NOMEs para minúsculo em sua atribuição\n" +" -n\tfazer de NOME uma referência à variável chamada por seu valor\n" +" -r\tpara fazer de NOMEs somente-leitura\n" +" -t\tpara fazer NOMEs terem o atributo `trace'\n" +" -u\tpara converter NOMEs para maiúsculo em sua atribuição\n" +" -x\tpra fazer NOMEs exportar\n" +" \n" +" Usar `+' ao invés de `-' desliga o atributo dado.\n" +" \n" +" Variáveis com o atributo `integer' têm sua avaliação aritmética (veja o\n" +" comando `let') realizada quando é atribuído um valor à variável.\n" +" \n" +" Quando usado em uma função, `declare' torna NOMEs local, da mesma forma\n" +" que o comando `local'. A opção `-g' suprime este comportamento.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida tenha sido fornecida ou\n" +" ocorrer um erro de atribuição de variável." -#: builtins.c:527 +# help typeset +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" +"Define valores e atributos de variável.\n" +" \n" +" Obsoleto. Veja `help declare'." -#: builtins.c:535 +# help local +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2688,8 +3058,23 @@ msgid "" " Returns success unless an invalid option is supplied, a variable\n" " assignment error occurs, or the shell is not executing a function." msgstr "" +"Define variáveis locais.\n" +" \n" +" Cria uma variável local chamada NOME e lhe dá VALOR. OPÇÃO pode ser\n" +" qualquer opção aceita pelo `declare'.\n" +" \n" +" Variáveis locais podem ser usadas apenas em uma função; elas são " +"visíveis\n" +" apenas para a função na qual elas foram definidas, bem como para seus\n" +" filhos.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida, ocorrer\n" +" um erro de atribuição de uma variável ou o shell não estiver executando\n" +" uma função." -#: builtins.c:552 +# help echo +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2715,15 +3100,45 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" - -#: builtins.c:588 +"Escreve argumentos para a saída padrão.\n" +" \n" +" Exibe os ARGs, separados por um único caractere de espaço e seguido\n" +" por uma nova linha, na saída padrão.\n" +" \n" +" Opções:\n" +" -n\tnão anexa uma nova linha\n" +" -e\thabilita interpretação de escapes de contrabarra a seguir\n" +" -E\texplicitação suprime interpretação de escapes de contrabarra\n" +" \n" +" `echo' interpreta os caracteres escapados por contrabarra:\n" +" \\a\talerta (bipe)\n" +" \\b\tbackspace\n" +" \\c\tsuprime futuras saídas\n" +" \\e\tcaractere de escape\n" +" \\E\tcaractere de escape\n" +" \\f\talimentação de formulário (form feed)\n" +" \\n\tnova linha\n" +" \\r\tretorno de carro (carrier return)\n" +" \\t\tTAB horizontal\n" +" \\v\tTAB vertical\n" +" \\\\\tcontrabarra\n" +" \\0nnn\to caractere cujo código ASCII é NNN (octal). NNN pode\n" +" \t\tser 0 a 3 dígitos octais\n" +" \\xHH\to caractere de 8 bits cujo valor é HH (hexadecimal). HH\n" +" \t\tpode ser um ou dois dígitos hexa\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que ocorra um erro de escrita." + +# help echo +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2735,8 +3150,18 @@ msgid "" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" +"Escreve argumentos para a saída padrão.\n" +" \n" +" Exibe os ARGs na saída padrão seguido por uma nova linha.\n" +" \n" +" Opções:\n" +" -n\tnão anexa uma nova linha\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que ocorra um erro de escrita." -#: builtins.c:603 +# help enable +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2762,8 +3187,35 @@ msgid "" " Exit Status:\n" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" +"Habilita e desabilita comandos internos do shell.\n" +" \n" +" Habilita e desabilita comandos internos do shell. Desabilitar\n" +" permite que você executa um comando do disco que possui o mesmo\n" +" nome que um outro comando interno sem usar um caminho completo.\n" +" \n" +" Opções:\n" +" -a\tmostra uma lista de comandos internos mostrando se cada\n" +" \t\tum está habilitado\n" +" -n\tdesabilita cada NOME ou exibe uma lista de comandos\n" +" \t\tinternos desabilitados\n" +" -p\texibe a lista de comandos internos em um formato usável\n" +" -s\texibe apenas nomes dos comandos internos 'especial' Posix\n" +" \n" +" Opções de controle de carregamento dinâmico:\n" +" -f\tcarrega comando interno NOME do objeto compartilhado ARQUIVO\n" +" -d\tremove um comando interno carregado com -f\n" +" \n" +" Não sendo informado uma opção, cada NOME é habilitado.\n" +" \n" +" Para usar o `test' encontrado em $PATH, ao invés da versão de comando\n" +" interno do shell, digite `enable -n test'.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que NOME não seja um comando interno de shell\n" +" ou ocorrer um erro." -#: builtins.c:631 +# help eval +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2774,8 +3226,16 @@ msgid "" " Exit Status:\n" " Returns exit status of command or success if command is null." msgstr "" +"Executa argumentos como um comando de shell.\n" +" \n" +" Combina ARGs em uma única string, usa o resultado como entrada para o\n" +" shell, e executa os comandos resultantes.\n" +" \n" +" Status de saída:\n" +" Retorna status de saída do comando ou sucesso, se o comando for nulo." -#: builtins.c:643 +# help getopts +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2815,8 +3275,49 @@ msgid "" " Returns success if an option is found; fails if the end of options is\n" " encountered or an error occurs." msgstr "" - -#: builtins.c:685 +"Analisa argumentos de opções.\n" +" \n" +" Getopts é usado pelos procedimentos do shell para analisar parâmetros\n" +" posicionais como opções.\n" +" \n" +" OPÇÕES é uma string que contém as letras de opções a ser reconhecidas;\n" +" se uma letra é seguida por dois-pontos, é esperado que a opção tenha\n" +" um argumento, o que deveria ser separado dela por um espaço em branco.\n" +" \n" +" A cada vez que ele é chamado, getopts coloca a próxima opção\n" +" na variável shell $NOME, inicializando NOME se ela não existir,\n" +" e o índice do próximo argumento a ser processado para dentro da\n" +" variável OPTIND. OPTIND é inicializado para 1 a cada vez que o\n" +" shell ou um script shell é chamado. Quando uma opção requer\n" +" um argumento, getopts coloca aquele argumento em uma variável\n" +" shell chamada OPTARG.\n" +" \n" +" getopts relata erros em um de duas formas. Se o primeiro caractere\n" +" de OPÇÕES for caractere dois-pontos, getopts usa sistema silencioso de\n" +" relatório de erro. Neste modo, nenhuma mensagem de erro é mostrada.\n" +" Se uma opção inválida é vista, getopts coloca o caractere de opção\n" +" encontrada dentro do OPTARG. Se um argumento obrigatório não for\n" +" encontrado, getopts coloca um ':' em NOME e define OPTARG para o\n" +" caractere de opção encontrada. Se getopts não estiver no modo\n" +" silencioso, uma opção inválida é vista, getopts coloca um '?' em\n" +" NOME e remove definição de OPTARG. Se um argumento obrigatório não for\n" +" encontrado, um '?' é colocado em NOME, OPTARG tem sua definição " +"removida\n" +" e uma mensagem de diagnóstico é mostrada.\n" +" \n" +" Se a variável shell OPTERR possuir o valor 0, getopts desabilita a\n" +" exibição de mensagens de erro, mesmo se o primeiro caractere de\n" +" OPÇÕES não for dois-pontos. OPTERR tem o valor por padrão.\n" +" \n" +" Getopts normalmente analisa os parâmetros posicionais ($0 - $9), mas se\n" +" mais argumentos forem fornecidos, eles serão analisados.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, se uma opção for encontrada; falha se o fim das opções\n" +" for encontrado ou ocorrer um erro." + +# help exec +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -2827,8 +3328,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2838,17 +3339,40 @@ msgid "" " Returns success unless COMMAND is not found or a redirection error " "occurs." msgstr "" +"Substitui o shell com o comando fornecido.\n" +" \n" +" Executa COMANDO, substituindo o shell com o programa especificado.\n" +" ARGUMENTOS se tornam os argumentos para COMANDO. Se COMANDO não for\n" +" especificado, quaisquer redirecionamentos surtem efeito no shell\n" +" atual.\n" +" \n" +" Opções:\n" +" -a NOME\tpassa NOME como argumento zero para COMANDO\n" +" -c\texecuta COMANDO com um ambiente vazio\n" +" -l\tcoloca um traço no argumento zero para COMANDO\n" +" \n" +" Se o comando não puder ser executado, um shell não-interativo sai,\n" +" a menos que a opção `execfail' esteja definida.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que COMANDO não seja encontrado ou ocorrer um\n" +" erro no redirecionamento." -#: builtins.c:706 -#, fuzzy +# help exit +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" " Exits the shell with a status of N. If N is omitted, the exit status\n" " is that of the last command executed." -msgstr "Sair da `shell' com status igual a N. Se N for omitido, o status" +msgstr "" +"Sai do shell.\n" +" \n" +" Sai do shell com status igual a N. Se N for omitido, o status\n" +" de saída é o mesmo do último comando executado." -#: builtins.c:715 +# help exit +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2856,8 +3380,13 @@ msgid "" "executed\n" " in a login shell." msgstr "" +"Sai de um shell de login.\n" +" \n" +" Sai de um shell de login com o status de saída N. Retorna um erro\n" +" se não for executada em um shell de login." -#: builtins.c:725 +# help fc +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2886,9 +3415,34 @@ msgid "" " Returns success or status of executed command; non-zero if an error " "occurs." msgstr "" +"Exibe ou executa comandos da lista do histórico.\n" +" \n" +" fc é usado para listar ou editar e re-executar comandos da lista de\n" +" histórico. PRIMEIRO e ÚLTIMO podem ser números especificando o " +"intervalo\n" +" ou PRIMEIRO pode ser uma string, o que significa o comando mais recente\n" +" iniciando com aquela string.\n" +" \n" +" Opções:\n" +" -e EDITOR\tseleciona qual editor usar. O padrão é FCEDIT,\n" +" \t\t\tentão EDITOR, então vi\n" +" -l\t\tlista linhas ao invés de editar\n" +" -n\t\tomite números de linhas ao listar\n" +" -r\t\tordem reversa de linhas (mais novos listados primeiro)\n" +" \n" +" Com o formato `fc -s [ANTIGO=NOVO ...] [COMANDO]', COMANDO é\n" +" re-executado após a substituição ANTIGO=NOVO ser realizada.\n" +" \n" +" Um apelido útil para usar isso é r='fc -s', de forma que digitar `r cc'\n" +" executa o último comando iniciando com `cc' e digitar `r' re-executa\n" +" o último comando.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso ou status do comando executado; ocorrendo um erro,\n" +" retorna não-zero." -#: builtins.c:755 -#, fuzzy +# help fg +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2899,9 +3453,18 @@ msgid "" " Exit Status:\n" " Status of command placed in foreground, or failure if an error occurs." msgstr "" -"Colocar JOB-ESPECIFICADO no primeiro plano, e torná-lo o trabalho atual." +"Move um trabalho para o primeiro plano.\n" +" \n" +" Coloca o trabalho identificado por ESPEC-JOB em primeiro plano,\n" +" tornando o trabalho atual. Se ESPEC-JOB não estiver presente,\n" +" a noção do shell de trabalho atual é usada.\n" +" \n" +" Status de saída:\n" +" Status do comando colocado em primeiro plano ou falha, se ocorrer um " +"erro." -#: builtins.c:770 +# help bg +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2914,8 +3477,18 @@ msgid "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." msgstr "" +"Move trabalhos para o plano de fundo.\n" +"\n" +" Coloca os trabalhos identificados por ESPEC-JOB em plano de fundo,\n" +" como se eles tivessem sido iniciado com `&'. Se ESPEC-JOB não\n" +" estiver presente, a noção do shell de trabalho atual é usada.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que controle de trabalho não esteja\n" +" habilitado ou ocorra um erro." -#: builtins.c:784 +# help hash +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -2924,22 +3497,44 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" - -#: builtins.c:809 +"Memoriza ou exibe localizações de programas.\n" +" \n" +" Determina e memoriza do caminho completo de cada comando NOME. Se " +"nenhum\n" +" argumento for fornecido, exibe informação sobre comandos memorizados.\n" +" \n" +" Opções:\n" +" -d\t\t\tesquece a localização memorizada de cada NOME\n" +" -l\t\t\texibe em um formato que pode ser usado como entrada\n" +" -p CAMINHO\tusa CAMINHO como o caminho completo de NOME\n" +" -r\t\t\tesquece de todas as localizações memorizadas\n" +" -t\t\t\tmostra a localização memorizada de cada NOME, iniciando\n" +" \t\t\t\tcada localização com o NOME correspondente, se múltiplos\n" +" \t\t\t\tNOMEs forem fornecidos\n" +" Argumentos:\n" +" NOME\t\t\tCada NOME é pesquisado em $PATH e adicionado à lista de\n" +" \t\t\t\tcomandos memorizados.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que NOME não seja encontrado ou uma opção\n" +" inválida seja fornecida." + +# help help +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -2951,7 +3546,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2960,8 +3555,28 @@ msgid "" " Returns success unless PATTERN is not found or an invalid option is " "given." msgstr "" +"Exibe informação sobre comandos internos (builtin).\n" +" \n" +" Exibe resumos de comandos internos. Se PADRÃO for especificado,\n" +" fornece ajuda detalhada sobre todos os comandos correspondendo\n" +" a PADRÃO; do contrário, a lista de tópicos de ajuda é mostrada.\n" +" \n" +" Opções:\n" +" -d\texibe uma descrição breve para cada tópico\n" +" -m\texibe o uso em formato pseudo-manpage\n" +" -s\texibe apenas uma breve sinopse de uso para cada tópico\n" +" \t\tcorrespondendo a PADRÃO\n" +" \n" +" Argumentos:\n" +" PADRÃO\tPadrão especificando um tópico de ajuda\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que PADRÃO não seja encontrado ou uma opção\n" +" inválida seja fornecida." -#: builtins.c:833 +# help history +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -2970,23 +3585,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -2994,8 +3609,41 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" - -#: builtins.c:869 +"Exibe ou manipula a lista de histórico.\n" +" \n" +" Exibe a lista de histórico com números de linhas, prefixando cada\n" +" entrada modificada com um `*'. Um argumento de N lista apenas as\n" +" últimas N entradas.\n" +" \n" +" Opções:\n" +" -c\t\t\tlimpa a lista de histórico ao excluir todas as entradas\n" +" -d POSIÇÃO\texclui a entrada de histórico na posição POSIÇÃO.\n" +" -a\t\t\tanexa linhas de histórico desta sessão no arquivo de\n" +" \t\t\t\thistórico\n" +" -n\t\t\tlê todas as linhas de histórico ainda não lidas do\n" +" \t\t\t\tarquivo de histórico\n" +" -r\t\t\tlê o histórico e anexa os conteúdos à lista de histórico\n" +" -w\t\t\tescreve o histórico atual para o arquivo de histórico e\n" +" \t\t\t\tanexa-os à lista de histórico \n" +" -p\t\t\texecuta expansão de histórico em cada ARG e exibe o\n" +" \t\t\t\tresultado sem armazená-lo na lista de histórico\n" +" -s\t\t\tanexa os ARGs à lista de histórico como uma única entrada\n" +" \n" +" Se ARQUIVO for fornecido, ele é usado como o arquivo de histórico.\n" +" Do contrário, se a variável HISTFILE tiver um valor, este será usado;\n" +" senão, usa de ~/.bash_history.\n" +" \n" +" Se a variável HISTTIMEFORMAT for definida e não for nula, seu valor é\n" +" usado como uma string de formato para strftime(3) para mostrar a marca\n" +" de tempo associada com cada entrada de histórico exibida. Do contrário,\n" +" nenhuma marca de tempo é mostrada.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" ocorra um erro." + +# help jobs +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3005,7 +3653,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3018,8 +3666,30 @@ msgid "" " Returns success unless an invalid option is given or an error occurs.\n" " If -x is used, returns the exit status of COMMAND." msgstr "" +"Exibe status de trabalhos.\n" +" \n" +" Lista os trabalhos ativos. ESPEC-JOB restringe a saída àquele trabalho.\n" +" Não sendo informado qualquer opção, o status de todos os trabalhos\n" +" ativos é exibido.\n" +" \n" +" Opções:\n" +" -l\tlista IDs de processo junto com a informação normal\n" +" -n\tlista apenas processos que tiverem seu status alterado desde\n" +" \t\ta última notificação\n" +" -p\tlista apenas IDs de processo\n" +" -r\trestringe a saída apenas a trabalhos em execução\n" +" -s\trestringe a saída apenas a trabalhos parados\n" +" \n" +" Se -x for fornecido, COMANDO é executado após as demais especificações\n" +" de trabalho que aparecerem em ARGs terem sido substituídas com o ID de\n" +" processo daquele líder de grupo de processos do trabalhos.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" ocorra um erro. Se -x for usado, retorna o status de saída do COMANDO." -#: builtins.c:896 +# help disown +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3029,14 +3699,30 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" +"Remove trabalhos do shell atual.\n" +" \n" +" Remove cada argumento ESPEC-JOB da tabela de trabalhos ativos. Sem\n" +" qualquer ESPEC-JOB, o shell usa sua noção de trabalho atual.\n" +" \n" +" Opções:\n" +" -a\tremove todos os trabalhos se ESPEC-JOB não for fornecido\n" +" -h\tmarca cada ESPEC-JOB, de forma que SIGHUP não seja fornecido\n" +" \t\tao trabalho, caso o shell receba um SIGHUP\n" +" -r\tremove apenas trabalhos em execução\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida ou ESPEC-JOB inválido\n" +" sejam fornecidos." -#: builtins.c:915 +# help kill +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3048,7 +3734,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3057,8 +3744,30 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" - -#: builtins.c:938 +"Envia um sinal para um trabalho.\n" +"\n" +" Envia aos processos identificados pelo PID ou pelo ESPEC-JOB o sinal\n" +" informado por SIGSPEC ou SIGNUM. Se SIGSPEC e SIGNUM\n" +" não estiverem presentes, então, SIGTERM é presumido.\n" +" \n" +" Opções:\n" +" -s SIGSPEC\tSIGSPEC especifica o nome do sinal\n" +" -n SIGNUM\t\tSIGNUM representa um número de sinal\n" +" -l\t\t\tlista os nomes dos sinais; se `-l' for acompanhado por\n" +" \t\t\t\toutros argumentos, presume-se estes sejam números de\n" +" \t\t\t\tsinais para os quais nomes deveriam ser listados\n" +" \n" +" `Kill' é um comando interno do shell por duas razões: ele permite\n" +" IDs de trabalho serem usados ao invés de IDs de processo e permite\n" +" que processos sejam matados caso o limite de processos que você pode\n" +" criar seja atingido.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" ocorra um erro." + +# help let +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3102,8 +3811,49 @@ msgid "" " Exit Status:\n" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" - -#: builtins.c:983 +"Avalia expressões aritméticas.\n" +" \n" +" Avalia cada ARG como uma expressão aritmética. A avaliação é feita\n" +" em inteiros com largura fixa com nenhuma verificação de estouro de\n" +" pilha. A lista de operadores a seguir está agrupada em níveis de\n" +" operadores de igual precedência. Os níveis estão listados em ordem\n" +" de precedência decrescente.\n" +" \n" +" \tid++, id-- pós-acréscimo, pós-decréscimo de variável\n" +" \t++id, --id pré-acréscimo, pré-decréscimo de variável\n" +" \t-, + menos, mais unário\n" +" \t!, ~ negação lógica e bit-a-bit\n" +" \t** exponenciação\n" +" \t*, /, % multiplicação, divisão, resto de divisão\n" +" \t+, - adição, subtração\n" +" \t<<, >> deslocamento bit-a-bit para esquerda, direita\n" +" \t<=, >=, <, > comparação\n" +" \t==, != igualdade, desigualdade\n" +" \t& E (AND) bit-a-bit\n" +" \t^ OU eXclusivo (XOR) bit-a-bit\n" +" \t| OU (OR) bit-a-bit\n" +" \t&& E lógico\n" +" \t|| OU lógico\n" +" \texpr ? expr : expr operador condicional\n" +" \t=, *=, /=, %=,\n" +" \t+=, -=, <<=, >>=,\n" +" \t&=, ^=, |= atribuição\n" +" \n" +" As variáveis de shell são permitidas como operandos. O nome da\n" +" variável é substituída pelo seu valor (coagida a um inteiro com\n" +" largura fixa) dentro de uma expressão. A variável não precisa ter\n" +" seu atributo de `inteiro' ligado para ser usada em uma expressão.\n" +" \n" +" Operadores são avaliados em ordem de precedência. Sub-expressões em\n" +" parênteses são avaliados primeiro e podem sobrescrever as regras de\n" +" precedência acima.\n" +" \n" +" Status de saída:\n" +" Se o último ARG for avaliado como 0, let retorna 1; do contrário,\n" +" let retorna 0." + +# help read +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3124,27 +3874,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3153,8 +3904,63 @@ msgid "" "occurs,\n" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" - -#: builtins.c:1028 +"Lê uma linha da entrada padrão e separa em campos.\n" +"\n" +" Lê uma linha da entrada padrão ou do descritor de arquivo FD, caso a\n" +" opção -u seja fornecida. A linha é separada em campos, na mesma forma " +"de\n" +" separação de palavras, e a primeira palavra é atribuída ao primeiro " +"NOME,\n" +" o segundo ao segundo NOME e por aí vai, com qualquer palavras restantes\n" +" atribuídas para o último NOME. Apenas os caracteres encontrados em $IFS\n" +" são reconhecidos como delimitadores de palavras.\n" +" \n" +" Se nenhum NOME for fornecido, a linha lida é armazenada na variável\n" +" REPLY (resposta).\n" +" \n" +" Opções:\n" +" -a ARRAY atribui as palavras lidas a índices sequenciais da\n" +" variável array ARRAY, iniciando em zero\n" +" -d DELIM continua até o primeiro caractere de DELIM ser lido, ao\n" +" invés de nova linha\n" +" -e usa Readline para obter a linha em um shell interativo\n" +" -i TEXTO usa TEXTO como o texto inicial para Readline\n" +" -n NCHARS retorna após ler NCHARS caracteres, ao invés de esperar\n" +" por uma nova linha, mas respeita um delimitador se " +"número\n" +" de caracteres menor que NCHARS sejam lidos antes do\n" +" delimitador\n" +" -N NCHARS retorna apenas após ler exatamente NCHARS caracteres, a\n" +" menos que EOF (fim do arquivo) seja encontrado ou " +"`read'\n" +" esgote o tempo limite, ignorando qualquer delimitador\n" +" -p CONFIRMAR mostra a string PROMPT sem remover nova linha antes de\n" +" tentar ler\n" +" -r não mostra barra invertida para escapar quaisquer\n" +" caracteres\n" +" -s não ecoa entrada vindo de um terminal\n" +" -t TEMPO esgota-se o tempo limite e retorna falha, caso uma toda\n" +" uma linha não seja lida em TEMPO segundos. O valor da\n" +" variável TMOUT é o tempo limite padrão. TEMPO pode ser " +"um\n" +" número fracionado. SE TEMPO for 0, `read' retorna " +"sucesso\n" +" apenas se a entrada estiver disponível no descritor de\n" +" arquivo especificado. O status de saída é maior que " +"128,\n" +" se o tempo limite for excedido\n" +" -u FD lê do descritor de arquivo FD, ao invés da entrada " +"padrão\n" +" \n" +" Status de saída:\n" +" O código de retorno é zero, a menos que o EOF (fim do arquivo) seja\n" +" encontrado, `read' esgote o tempo limite (caso em que o código de " +"retorno\n" +" será 128), ocorra erro de atribuição de uma variável ou um descritor de\n" +" arquivo inválido seja fornecido como argumento para -u." + +# help return +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3165,8 +3971,19 @@ msgid "" " Exit Status:\n" " Returns N, or failure if the shell is not executing a function or script." msgstr "" +"Retorna de uma função de shell.\n" +" \n" +" Causa uma função ou script carregado (source) a sair retornando o valor\n" +" especificado por N. Se N for omitido, o status de retorno é do último\n" +" comando executado dentro da função ou script.\n" +" \n" +" Status de saída:\n" +" Retorna N ou falha se o shell não estiver executando uma função ou\n" +" script." -#: builtins.c:1041 +# help set +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3234,7 +4051,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3250,8 +4068,107 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given." msgstr "" - -#: builtins.c:1126 +"Define ou remove definição de valores das opções e dos parâmetros " +"posicionais\n" +"do shell:\n" +" \n" +" Altera o valor de opções e de parâmetros posicionais do shell ou mostra\n" +" os nomes ou valores de variáveis shell.\n" +" \n" +" Opções:\n" +" -a Marca variáveis, que foram modificadas ou criadas, para " +"exportação.\n" +" -b Notifica sobre terminação de trabalho imediatamente.\n" +" -e Sai imediatamente se um comando sai com um status não-zero.\n" +" -f Desabilita a geração de nome de arquivo (\"globbing\").\n" +" -h Memoriza a localização de comandos à medida em que são " +"procurados.\n" +" -k Todos argumentos de atribuição são colocados no ambiente para um\n" +" comando, e não apenas aqueles que precedem o nome do comando.\n" +" -m Controle de trabalho está habilitado.\n" +" -n Lê comandos, mas não os executa.\n" +" -o NOME-OPÇÃO\n" +" Define a variável correspondendo a NOME-OPÇÃO:\n" +" allexport mesmo que -a\n" +" braceexpand mesmo que -B\n" +" emacs usa interface de edição de linha estilo Emacs\n" +" errexit mesmo que -e\n" +" errtrace mesmo que -E\n" +" functrace mesmo que -T\n" +" hashall mesmo que -h\n" +" histexpand mesmo que -H\n" +" history habilita histórico de comandos\n" +" ignoreeof shell não vai sair após leitura de EOF\n" +" interactive-comments\n" +" permite mostrar comentários em comandos " +"interativos\n" +" keyword mesmo que -k\n" +" monitor mesmo que -m\n" +" noclobber mesmo que -C\n" +" noexec mesmo que -n\n" +" noglob mesmo que -f\n" +" nolog atualmente aceito, mas ignorado\n" +" notify mesmo que -b\n" +" nounset mesmo que -u\n" +" onecmd mesmo que -t\n" +" physical mesmo que -P\n" +" pipefail o valor de retorno de uma linha de comandos é o\n" +" status do último comando a sair com status não-" +"zero,\n" +" ou zero se nenhum comando saiu com status não " +"zero\n" +" posix altera o comportamento do bash, onde a operação\n" +" padrão diverge dos padrões do Posix para\n" +" corresponder a estes padrões\n" +" privileged mesmo que -p\n" +" verbose mesmo que -v\n" +" vi usa interface de edição de linha estilo vi\n" +" xtrace mesmo que -x\n" +" -p Ligado sempre que IDs de usuário real e efetivo não " +"corresponderem.\n" +" Desabilita processamento do arquivo $ENV e importação de funções " +"da\n" +" shell. Ao desligar essa opção, causa o uid e o gid efetivo serem\n" +" os uid e gid reais.\n" +" -t Sai após a leitura e execução de um comando.\n" +" -u Trata limpeza (unset) de variáveis como um erro quando " +"substituindo.\n" +" -v Mostra linhas de entrada do shell na medida em que forem lidas.\n" +" -x Mostra comandos e seus argumentos na medida em que forme " +"executados.\n" +" -B o shell vai realizar expansão de chaves\n" +" -C Se definido, não permite arquivos normais existentes serem\n" +" sobrescritos por redirecionamento da saída.\n" +" -E Se definido, a armadilha ERR é herdada por funções do shell.\n" +" -H Habilita substituição de histórico estilo \"!\". Essa sinalização " +"está\n" +" habilitada por padrão quando shell é interativa.\n" +" -P Se definida, não resolve links simbólicos ao sair de comandos, " +"tais\n" +" como `cd' (que altera o diretório atual).\n" +" -T Se definido, a armadilha DEBUG é herdada por funções do shell.\n" +" -- Atribui quaisquer argumentos restantes aos parâmetros " +"posicionais.\n" +" Se não houver argumentos restantes, os parâmetros posicionais são\n" +" limpos (unset).\n" +" - Atribui quaisquer argumentos restantes aos parâmetros " +"posicionais.\n" +" As opções -x e -v são desligadas.\n" +" \n" +" Usar +, ao invés de -, causa essas sinalizações serem desligadas. As\n" +" sinalizações também podem ser usadas por meio de chamada do shell. As\n" +" sinalizações atualmente definidas podem ser encontradas em $-. Os n " +"ARGs\n" +" restantes são parâmetros posicionais e são atribuídos, em ordem, a $1, " +"$2,\n" +" .. $n. Se nenhuma ARG for fornecido, todas as variáveis shell são\n" +" mostradas.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida." + +# help unset +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3261,7 +4178,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3272,8 +4189,27 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" +"Remove valores e atributos de variáveis e funções do shell.\n" +" \n" +" Para cada NOME, remove a variável ou função correspondente.\n" +" \n" +" Opções:\n" +" -f trata cada NOME como uma função de shell\n" +" -v trata cada NOME como uma variável de shell\n" +" -n trata cada NOME como um nome referência e remove o valor em si\n" +" ao invés da variável a qual ele se refere\n" +" \n" +" Se opções, `unset' primeiro tenta remover uma variável e, se falhar,\n" +" tenta remover uma função.\n" +" \n" +" Algumas variáveis não podem ser removida; veja também `readonly'.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" um NOME seja somente-leitura." -#: builtins.c:1148 +# help export +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3291,8 +4227,26 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" +"Define atributo de exportação para variáveis shell.\n" +" \n" +" Marca cada NOME para exportação automática para o ambiente dos comandos\n" +" executados subsequentemente. Se VALOR for fornecido, atribui VALOR " +"antes\n" +" de exportar.\n" +" \n" +" Opções:\n" +" -f\tfaz referência a funções do shell\n" +" -n\tremove a propriedade de exportação para cada NOME\n" +" -p\texibe uma lista de todas as variáveis e funções exportadas\n" +" \n" +" Um argumento de `--' desabilita processamento de opções posteriores.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" NOME seja inválido." -#: builtins.c:1167 +# help readonly +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3304,17 +4258,35 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" +"Marca variáveis shell como inalteráveis.\n" +" \n" +" Marca cada NOME como somente-leitura; os valores desses NOMEs pode não\n" +" ser alterados por atribuídos subsequentes. Se VALOR for fornecido,\n" +" atribui VALOR antes de marcar como somente-leitura.\n" +" \n" +" Opções:\n" +" -a\tfaz referência a variáveis array indexados\n" +" -A\tfaz referência a variáveis array associativos\n" +" -f\tfaz referência a funções de shell\n" +" -p\texibe uma lista de todas as variáveis ou funções somente-leitura,\n" +" \t\tdependendo da opção -f ser informada ou não\n" +" \n" +" Um argumento de `--' desabilita processamento de opções posteriores.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" NOME seja inválido." -#: builtins.c:1189 +# help shift +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3324,8 +4296,17 @@ msgid "" " Exit Status:\n" " Returns success unless N is negative or greater than $#." msgstr "" +"Desloca parâmetros posicionais.\n" +" \n" +" Renomeia os parâmetros posicionais $N+1,$N+2 ... até $1,$2 ... Se N " +"não\n" +" for fornecido, presume-se que ele seja 1.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que N seja negativo ou maior que $#." -#: builtins.c:1201 builtins.c:1216 +# help source +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3338,8 +4319,19 @@ msgid "" " Returns the status of the last command executed in FILENAME; fails if\n" " FILENAME cannot be read." msgstr "" +"Executa comandos de um arquivo no shell atual.\n" +" \n" +" Lê e executa comandos de ARQUIVO no shell atual. As entradas em\n" +" $PATH são usadas para localizar o diretório contendo ARQUIVO. Se\n" +" quaisquer ARGUMENTOS forem fornecidos, eles se tornam parâmetros\n" +" posicionais quando ARQUIVO é executado.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último comando executado em ARQUIVO; falha se\n" +" ARQUIVO não puder ser lido." -#: builtins.c:1232 +# help suspend +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3352,8 +4344,20 @@ msgid "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." msgstr "" +"Suspende execução do shell.\n" +" \n" +" Suspende a execução deste shell até que receba um sinal SIGCONT.\n" +" A menos que seja forçado, `shells` de login não podem ser suspensas.\n" +" \n" +" Opções:\n" +" -f\tforça a suspensão, ainda que o shell seja um de login\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que controle de trabalho não esteja habilitado\n" +" ou ocorra um erro." -#: builtins.c:1248 +# help test +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3417,9 +4421,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3435,17 +4439,108 @@ msgid "" " Returns success if EXPR evaluates to true; fails if EXPR evaluates to\n" " false or an invalid argument is given." msgstr "" - -#: builtins.c:1329 -#, fuzzy +"Avalia expressão condicional.\n" +" \n" +" Sai com um status de 0 (verdadeiro) ou 1 (falso) dependendo da " +"avaliação\n" +" de EXPR. As expressões podem ser unárias ou binárias. Expressões " +"unárias\n" +" são normalmente usadas para examinar o status de um arquivo. Há\n" +" operadores de strings e também há operadores de comparação numérica.\n" +" \n" +" O comportamento do teste depende do número de argumentos. Leia a página\n" +" de manual do `bash' para a especificação completa.\n" +" \n" +" Operadores de arquivos:\n" +" \n" +" -a ARQUIVO Verdadeiro, se arquivo existir.\n" +" -b ARQUIVO Verdadeiro, se arquivo for um bloco especial.\n" +" -c ARQUIVO Verdadeiro, se arquivo for um caractere especial.\n" +" -d ARQUIVO Verdadeiro, se arquivo for um diretório.\n" +" -e ARQUIVO Verdadeiro, se arquivo existir.\n" +" -f ARQUIVO Verdadeiro, se arquivo existir e for um arquivo " +"normal.\n" +" -g ARQUIVO Verdadeiro, se arquivo for set-group-id.\n" +" -h ARQUIVO Verdadeiro, se arquivo for um link simbólico.\n" +" -L ARQUIVO Verdadeiro, se arquivo for um link simbólico.\n" +" -k ARQUIVO Verdadeiro, se arquivo tiver o bit `sticky' definido.\n" +" -p ARQUIVO Verdadeiro, se arquivo for um `pipe' dado.\n" +" -r ARQUIVO Verdadeiro, se arquivo for um legível por você.\n" +" -s ARQUIVO Verdadeiro, se arquivo existir e não estiver vazio.\n" +" -S ARQUIVO Verdadeiro, se arquivo for um socket.\n" +" -t FD Verdadeiro, se FD estiver aberto em um terminal.\n" +" -u ARQUIVO Verdadeiro, se arquivo estiver com set-user-id.\n" +" -w ARQUIVO Verdadeiro, se arquivo puder ser escrito por você.\n" +" -x ARQUIVO Verdadeiro, se arquivo puder ser executado por você.\n" +" -O ARQUIVO Verdadeiro, se arquivo efetivamente for seu (owned).\n" +" -G ARQUIVO Verdadeiro, se arquivo efetivamente for do seu grupo.\n" +" -N ARQUIVO Verdadeiro, se arquivo foi modificado desde a última\n" +" leitura.\n" +" \n" +" ARQ1 -nt ARQ2 Verdadeiro se ARQ1 for mais novo que ARQ2, conforme\n" +" última data de modificação.\n" +" \n" +" ARQ1 -ot ARQ2 Verdadeiro, se ARQ1 for mais velho que ARQ2.\n" +" \n" +" ARQ1 -ef ARQ2 Verdadeiro, se ARQ1 for um link rígido para ARQ2.\n" +" \n" +" Operadores de string:\n" +" \n" +" -z STRING Verdadeiro, se string estiver vazia.\n" +" \n" +" -n STRING\n" +" STRING Verdadeiro, se string não estiver vazia.\n" +" \n" +" STRING1 = STRING2\n" +" Verdadeiro, se strings forem iguais.\n" +" STRING1 != STRING2\n" +" Verdadeiro, se strings não forem iguais.\n" +" STRING1 < STRING2\n" +" Verdadeiro, se STRING1 estiver antes de STRING2, de\n" +" acordo com a ordem alfabética.\n" +" STRING1 > STRING2\n" +" Verdadeiro, se STRING1 estiver depois de STRING2, de\n" +" acordo com a ordem alfabética.\n" +" \n" +" Outros operadores:\n" +" \n" +" -o OPÇÃO Verdadeiro, se a opção shell OPÇÃO estiver habilitada.\n" +" -v VAR Verdadeiro, se a variável shell VAR estiver definida.\n" +" -R VAR Verdadeiro, se a variável shell VAR estiver definida\n" +" e for uma referência de nome.\n" +" ! EXPR Verdadeiro, se a expressão EXPR for falsa.\n" +" EXPR1 -a EXPR2 Verdadeiro, se ambas EXPR1 e EXPR2 forem verdadeiras.\n" +" EXPR1 -o EXPR2 Verdadeiro, se ao menos uma das expressões for " +"verdadeira.\n" +" \n" +" arg1 OP arg2 Testes aritméticos. OP é um dentre -eq, -ne, -lt, -" +"le,\n" +" -gt, or -ge.\n" +" \n" +" Operadores binários de aritmética retornam verdadeiro se ARG1 for " +"igual,\n" +" não-igual, menor-que, menor-ou-igual-a ou maior-ou-igual-a ARG2.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, se EXPR for avaliada como verdadeira; falha, se EXPR " +"for\n" +" avaliada como falsa ou um argumento inválido for informado." + +# help [ +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" " This is a synonym for the \"test\" builtin, but the last argument must\n" " be a literal `]', to match the opening `['." -msgstr "argumento deve ser o literal `]', para fechar o `[' de abertura." +msgstr "" +"Avalia expressões condicionais.\n" +" \n" +" Esse é um sinônimo para o comando interno `test', mas o último\n" +" argumento deve ser um `]' literal, para corresponder ao `[' que abriu." -#: builtins.c:1338 +# help times +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3456,8 +4551,16 @@ msgid "" " Exit Status:\n" " Always succeeds." msgstr "" +"Exibe tempos de processos.\n" +" \n" +" Imprime os tempos de sistema e de usuário acumulados pelo shell e\n" +" todos seus processo filhos.\n" +" \n" +" Status de saída:\n" +" Sempre com sucesso." -#: builtins.c:1350 +# help trap +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3500,8 +4603,45 @@ msgid "" " Returns success unless a SIGSPEC is invalid or an invalid option is " "given." msgstr "" - -#: builtins.c:1386 +"Tratamento de sinais e outros eventos.\n" +" \n" +" Define e ativa manipuladores a serem executados quando o shell recebe\n" +" sinais ou outras condições.\n" +" \n" +" ARG é um comando a ser lido e executado quando o shell recebe o\n" +" ESPEC-SINAL do(s) sinal(is). Se ARG for vazio (e um único ESPEC-SINAL\n" +" for informado) ou `-', cada sinal especificado é redefinido para seu\n" +" valor original. Se ARG for uma string nula, cada ESPEC-SINAL é ignorado\n" +" pela seu shell e pelos comados chamados por ela.\n" +" \n" +" Se um ESPEC-SINAL for EXIT (0), ARG é executado na saída do shell.\n" +" Se ESPEC-SINAL for DEBUG, ARG é executado antes de todo comando.\n" +" Se ESPEC-SINAL for RETURN, ARG é executado toda vez que uma função ou\n" +" um script shell executados pelos comandos internos `.' ou `source'\n" +" finalizarem suas execuções. Um ESPEC-SINAL sendo ERR significa executar\n" +" ARG toda vez que uma falha do comando poderia causar o shell sair,\n" +" quando a opção -e está habilitada.\n" +" \n" +" Se nenhum argumento for fornecido, `trap' imprime a lista de comandos\n" +" associados a cada sinal.\n" +" \n" +" Opções:\n" +" -l\timprime uma lista de nomes de sinais e seus números\n" +" \t\tcorrespondentes\n" +" -p\texibe os comandos associados ao tratamento com cada\n" +" \t\tESPEC-SINAL\n" +" \n" +" Cada ESPEC-SINAL é um nome de sinal em ou um número\n" +" de sinal. Nomes de sinais são sensíveis a caracteres maiúsculo e\n" +" minúsculo e o prefixo SIG (sinal) é opcional. Um SINAL pode ser enviado\n" +" para o shell com \"kill -SINAL $$\".\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que um ESPEC-SINAL seja inválido ou\n" +" uma opção inválida seja fornecida." + +# help type +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3510,18 +4650,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3530,8 +4670,35 @@ msgid "" " Returns success if all of the NAMEs are found; fails if any are not " "found." msgstr "" - -#: builtins.c:1417 +"Exibe informação sobre o tipo de comando.\n" +" \n" +" Para cada NOME, indica como ele seria interpretado se fosse usado como\n" +" um nome de comando.\n" +" \n" +" Opções:\n" +" -a\texibe todas as localizações contendo um executável chamado NOME;\n" +" \t\tinclui apelidos (alias), comandos internos e funções,\n" +" \t\tse, e somente se, a opção `-p' não for usada em conjunto\n" +" -f\tsuprime a procura por função do shell\n" +" -P\tforça uma pesquisa em PATH por cada NOME, mesmo se ele for\n" +" \t\tum apelido, um comando interno ou uma função, e retorna o nome\n" +" \t\tdo arquivo de disco que seria executado\n" +" -p\tretorna o nome do arquivo de disco que seria executado ou nada,\n" +" \t\tse `type -t NOME' não retornasse `file'\n" +" -t\tmostra uma única palavra que é uma dentre `alias', `keyword',\n" +" \t\t`function', `builtin', `file' ou `', se NOME for um apelido,\n" +" \t\tpalavra reservada da shell, comando interno do shell,\n" +" \t\tarquivo de disco ou não encontrado, respectivamente\n" +" \n" +" Argumentos:\n" +" NOME\tNome de comando a ser interpretado.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, se todos os NOMEs forem encontrados; falha, se algum\n" +" deles não for encontrado." + +# help ulimit +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3549,6 +4716,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3560,7 +4728,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3577,8 +4746,54 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" - -#: builtins.c:1465 +"Modifica limites de recursos do shell.\n" +" \n" +" Fornece controle sobre os recursos disponíveis para o shell e\n" +" seus processos, em sistemas que permitem tal controle.\n" +" \n" +" Opções:\n" +" -S\tusa um limite `soft' de recursos\n" +" -H\tusa um limite `hard' de recursos\n" +" -a\ttodos os limites atuais são relatados\n" +" -b\to tamanho do buffer do socket\n" +" -c\to tamanho máximo dos arquivos centrais criados\n" +" -d\to tamanho máximo de um segmento de dados do processo\n" +" -e\ta prioridade máxima de agendamento (`nice')\n" +" -f\to tamanho máximo de arquivos escritos pelo shell e seus filhos\n" +" -i\to número máximo de sinais pendentes\n" +" -k\to número máximo de kqueues alocadas para este processo\n" +" -l\to tamanho máximo que um processo pode alocar da memória\n" +" -m\to tamanho máximo de conjunto residente\n" +" -n\to número máximo de descritores de arquivo abertos\n" +" -p\to tamanho de buffer de `pipe'\n" +" -q\to número máximo de bytes em files de mensagem POSIX\n" +" -r\to tempo real máximo de prioridade de agendamento\n" +" -s\to tamanho máximo de pilha\n" +" -t\ta quantidade máxima de tempo de CPU em segundos\n" +" -u\to número máximo de processos de usuário\n" +" -v\to tamanho de memória virtual\n" +" -x\to número máximo de travas de arquivos\n" +" -P\to número máximo de pseudo-terminais\n" +" -T\to número máximo de fluxos (threads)\n" +" \n" +" Nem todas as opções estão disponíveis em todas as plataformas.\n" +" \n" +" Se LIMITE for fornecido, ele é o novo valor do recurso especificado;\n" +" os valores especiais de LIMITE `soft', `hard' e `unlimited' referem-se\n" +" ao atual limite suave, o atual limite rígido e nenhum limite,\n" +" respectivamente. Do contrário, o valor atual do recurso especificado\n" +" é impresso. Se nenhuma opção for fornecida, então -f é presumida.\n" +" \n" +" Valores estão em acréscimos de 1024 bytes, exceto para -t, que está\n" +" em segundos; -p, que é em 512 bytes; e -u, que é um número sem\n" +" escala de processos.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" ocorra um erro." + +# help umask +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3595,8 +4810,26 @@ msgid "" " Exit Status:\n" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" +"Exibe ou define máscara de modo de arquivo.\n" +" \n" +" Define a máscara de criação de arquivos do usuário para MODO. Se MODO\n" +" for omitido, imprime o valor atual da máscara.\n" +" \n" +" Se MODO inicia com um dígito, ele é interpretado como um número octal;\n" +" do contrário, ele é uma string de modo simbólico como a que é aceita\n" +" pelo chmod(1).\n" +" \n" +" Opções:\n" +" -p\tse MODO for omitido, exibe em um formulário que pode ser usado\n" +" \t\tcomo entrada\n" +" -S\ttorna a saída simbólica; do contrário, um número octal é mostrado\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que MODO seja inválido ou uma opção\n" +" inválida seja fornecida." -#: builtins.c:1485 +# help wait +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3615,8 +4848,24 @@ msgid "" " Returns the status of the last ID; fails if ID is invalid or an invalid\n" " option is given." msgstr "" +"Espera por conclusão de trabalho e retorna o status de saída.\n" +" \n" +" Espera por cada processo identificado por um ID, o que pode ser um ID\n" +" de processo ou uma especificação de trabalho, e relata seu status de\n" +" término. Se ID não for fornecido, espera por todos os processos filhos\n" +" ativos e o status de retorno é zero. Se ID é uma especificação de\n" +" trabalho, espera por todos os processos naquela sequência de comandos\n" +" dos trabalhos.\n" +" \n" +" Se a opção -n for fornecida, espera pelo próximo trabalho terminar e\n" +" retorna seu status de trabalho.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último ID; falha, se ID for inválido ou uma opção\n" +" inválida for fornecida." -#: builtins.c:1506 +# help wait +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3630,8 +4879,19 @@ msgid "" "invalid\n" " option is given." msgstr "" +"Espera por conclusão de processo e retorna o status de saída.\n" +" \n" +" Espera por cada processo especificado por um PID e relata seu status\n" +" de término. SE PID não for fornecido, espera por todos os processos\n" +" filhos atualmente ativos e o status de retorno é zero. PID deve ser\n" +" um ID de processo.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último ID; falha, se ID for inválido ou uma opção\n" +" inválida for fornecida." -#: builtins.c:1521 +# help for +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3643,8 +4903,19 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Executa comandos para cada membro em uma lista.\n" +" \n" +" O loop `for' executa uma sequência de comandos para cada membro em\n" +" uma lista de itens. Se `in PALAVRAS ...;' não estiver presente, então\n" +" `in \"$@\"' é presumido. Para cada elemento em PALAVRAS, NOME é " +"definido\n" +" com aquele elemento e os COMANDOS são executados.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último comando executado." -#: builtins.c:1535 +# help for (( (?) +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3660,8 +4931,22 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Loop `for' aritmético.\n" +" \n" +" Equivalente a\n" +" \t(( EXPR1 ))\n" +" \twhile (( EXPR2 )); do\n" +" \t\tCOMANDOS\n" +" \t\t(( EXPR3 ))\n" +" \tdone\n" +" EXPR1, EXPR2 e EXPR3 são expressões aritméticas. Se alguma expressão\n" +" for omitida, ele se comporta como se a avaliação resultasse em 1.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último comando executado." -#: builtins.c:1553 +# help select +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3680,8 +4965,26 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" - -#: builtins.c:1574 +"Seleciona palavras de uma lista e executa comandos.\n" +" \n" +" As PALAVRAS são expandidas, gerando uma lista de palavras.\n" +" O conjunto de palavras expandidas é exibido no erro padrão,\n" +" cada um precedido por um número. Se `in PALAVRAS' não estiver\n" +" presente, `in \"$@\"' é presumido. Então, o prompt PS3 é exibido\n" +" e uma linha é lida da entrada padrão. Se a linha consiste\n" +" do número correspondendo àquele nas palavras exibidas, então\n" +" NOME é definido para aquela palavra. Se a linha estiver vazia,\n" +" PALAVRAS e o prompt são exibidos novamente. Se EOF (fim do\n" +" arquivo) for lido, o comando conclui. Qualquer outro valor\n" +" lido causa NOME ser definido como nulo. A linha lida é salva\n" +" na variável REPLY. COMANDOS são executados após cada seleção\n" +" até um comando `break' ser executado.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último comando executado." + +# help time +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3696,9 +4999,22 @@ msgid "" " Exit Status:\n" " The return status is the return status of PIPELINE." msgstr "" +"Relata o tempo consumido pela execução da linha de comandos.\n" +" \n" +" Executa LINHA-COMANDOS e imprime um resumo do tempo real,\n" +" tempo de CPU do usuário e do sistema, gastos executando\n" +" LINHA-COMANDOS, quando este terminar.\n" +" \n" +" Opções:\n" +" -p\timprime o resumo do tempo no formato portátil do Posix\n" +" \n" +" O valor da variável TIMEFORMAT é usada como formato de saída.\n" +" \n" +" Status de saída:\n" +" O status de retorno é o status retornado por LINHA-COMANDOS." -#: builtins.c:1591 -#, fuzzy +# help case +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3708,9 +5024,16 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" -"Executar seletivamente COMANDOS tomando por base a correspondência entre" +"Executa comandos baseados em correspondência de padrão.\n" +" \n" +" Seletivamente executa COMANDOS baseados na PALAVRA correspondendo\n" +" a PADRÃO. O `|' é usado para separar múltiplos padrões.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último comando executado." -#: builtins.c:1603 +# help if +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3730,9 +5053,22 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Executa comandos baseados em condicional.\n" +" \n" +" A lista `if COMANDOS' é executada. Se seu status de saída for zero,\n" +" então a lista `then COMANDOS' é executada. Do contrário, cada lista\n" +" `elif COMANDOS' é executada em turnos e, se seu status de saída for\n" +" zero, a lista `then COMANDOS' correspondente é executada e o comando\n" +" `if' conclui. Do contrário, a lista `else COMANDOS' é executada, se\n" +" presente. O status de saída de toda construção é o status de saída do\n" +" último comando executado, ou zero, se nenhuma condição testada\n" +" resultou em verdadeiro.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último comando executado." -#: builtins.c:1620 -#, fuzzy +# help while +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3741,10 +5077,17 @@ msgid "" " \n" " Exit Status:\n" " Returns the status of the last command executed." -msgstr "Expande e executa COMANDOS enquanto o comando final nos" +msgstr "" +"Executa comandos desde que se obtenha sucesso nos testes.\n" +" \n" +" Expande e executa COMANDOS desde que o último comando nos\n" +" COMANDOS de `while' tenham status de saída zero.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último comando executado." -#: builtins.c:1632 -#, fuzzy +# help until +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -3753,9 +5096,19 @@ msgid "" " \n" " Exit Status:\n" " Returns the status of the last command executed." -msgstr "Expande e executa COMANDOS enquanto o comando final nos" +msgstr "" +"Executa comandos desde que não se obtenha sucesso nos testes.\n" +" \n" +" Expande e executa COMANDOS desde que o último comando nos\n" +" COMANDOS de `until' tenham status de saída zero que seja\n" +" não-zero.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último comando executado." -#: builtins.c:1644 +# help coproc +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3765,10 +5118,20 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" +"Cria um coprocesso chamado NOME.\n" +" \n" +" Executa COMANDO assincronamente, com a saída padrão e entrada padrão\n" +" do comando conectados via um `pipe' (redirecionamento) para descritores\n" +" de arquivo atribuídos para índices 0 e 1 de uma variável array NOME\n" +" no shell em execução. O NOME padrão é \"COPROC\".\n" +" \n" +" Status de saída:\n" +" Retorna o status de saída de COMANDO." -#: builtins.c:1658 +# help function +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3781,9 +5144,18 @@ msgid "" " Exit Status:\n" " Returns success unless NAME is readonly." msgstr "" +"Define uma função de shell.\n" +" \n" +" Cria uma função de shell chamada NOME. Quando chamado como um comando\n" +" simples, NOME executa COMANDOs no contexto de chamada shell. Quando\n" +" NOME é chamado, os argumentos são passados para a função como $1..$n\n" +" e o nome da função está em $FUNCNAME.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que NOME seja somente-leitura." -#: builtins.c:1672 -#, fuzzy +# help -m { +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -3792,9 +5164,16 @@ msgid "" " \n" " Exit Status:\n" " Returns the status of the last command executed." -msgstr "Executa um conjunto de comandos agrupando-os. Esta é uma forma de" +msgstr "" +"Agrupa comandos como uma unidade.\n" +" \n" +" Executa um conjunto de comandos em um grupo. Essa é uma\n" +" forma de redirecionar um todo um conjunto de comandos.\n" +" \n" +" Status de saída:\n" +" Retorna o status do último comando executado." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3807,8 +5186,20 @@ msgid "" " Exit Status:\n" " Returns the status of the resumed job." msgstr "" +"Resume trabalho em primeiro plano.\n" +" \n" +" Equivalente ao argumento ESPEC-JOB para comando `fg'. Resume um\n" +" trabalho parado ou enviado para plano de fundo. ESPEC-JOB pode\n" +" especificar tanto um nome de trabalho quanto um número de trabalho.\n" +" ESPEC-JOB seguido de um `&' coloca o trabalho em plano de fundo,\n" +" como se a especificação do trabalho tivesse sido fornecida como um\n" +" argumento para `bg'.\n" +" \n" +" Status de saída:\n" +" Retorna o status de um trabalho resumido." -#: builtins.c:1699 +# help '((' +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3818,8 +5209,16 @@ msgid "" " Exit Status:\n" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" +"Avalia expressões aritméticas.\n" +" \n" +" A EXPRESSÃO é avaliada de acordo com as regras de avaliação aritmética.\n" +" Equivalente a \"let EXPRESSÃO\".\n" +" \n" +" Status de saída:\n" +" Retorna 1, se EXPRESSÃO for avaliada como 0; do contrário, retorna 0." -#: builtins.c:1711 +# help '[' +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3846,8 +5245,33 @@ msgid "" " Exit Status:\n" " 0 or 1 depending on value of EXPRESSION." msgstr "" +"Executa comando condicional.\n" +" \n" +" Retorna um status de 0 ou 1 dependendo da avaliação da expressão\n" +" condicional EXPRESSÃO. Expressões são compostas dos mesmos primários\n" +" usados pelo comando interno `test' e pode ser combinado usando os\n" +" seguintes operadores:\n" +" \n" +" ( EXPRESSÃO )\tRetorna o valor de EXPRESSÃO\n" +" ! EXPRESSÃO\tVerdadeiro, se EXPRESSÃO for falsa; senão, falso\n" +" EXPR1 && EXPR2\tVerdadeiro, se ambas EXPR1 e EXPR2 forem verdadeiras;\n" +" \t\t\tsenão, falso\n" +" EXPR1 || EXPR2\tVerdadeiro, se EXPR1 ou EXPR2 for verdadeira;\n" +" \t\t\tsenão, falso\n" +" \n" +" Quando os operadores `==' e `!=' forem usados, a string à direita do\n" +" operador é usado como um padrão e uma correspondência de padrão é\n" +" realizada. Quando o operador `=~' é usado, a string à direita do\n" +" operador é correspondida como uma expressão regular.\n" +" \n" +" Os operadores && e || não avaliam EXPR2, se EXPR1 for suficiente para\n" +" determinar o valor da expressão.\n" +" \n" +" Status de saída:\n" +" 0 ou 1 dependendo do valor de EXPRESSÃO." -#: builtins.c:1737 +# help variables +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3900,8 +5324,70 @@ msgid "" " HISTIGNORE\tA colon-separated list of patterns used to decide which\n" " \t\tcommands should be saved on the history list.\n" msgstr "" - -#: builtins.c:1794 +"Nomes e uso de variáveis comuns do shell.\n" +" \n" +" BASH_VERSION\tInformação da versão deste Bash.\n" +" CDPATH\t\tUma lista separada por dois-pontos de diretórios para\n" +" \t\t\tpesquisar por diretórios fornecidos como argumentos a `cd'.\n" +" GLOBIGNORE\t\tUma lista separada por dois-pontos de padrões descrevendo\n" +" \t\t\tarquivos a serem ignorados pela expansão de caminho.\n" +" HISTFILE\t\tO nome do arquivo no qual o histórico de comandos é\n" +" \t\t\tarmazenado.\n" +" HISTFILESIZE\tO número máximo de linhas que esse arquivo pode conter.\n" +" HISTSIZE\t\tO número máximo de linhas de histórico que um shell\n" +" \t\t\tpode acessar.\n" +" HOME\t\t\tO caminho completo para seu diretório de login.\n" +" HOSTNAME\t\tO nome da sua máquina.\n" +" HOSTTYPE\t\tO tipo de CPU sob a qual esta versão do Bash está\n" +" \t\t\tfuncionando.\n" +" IGNOREEOF\t\tControla a ação do shell na recepção de um caractere\n" +" \t\t\tde fim de arquivo (EOF) como uma entrada única. Se\n" +" \t\t\tdefinida, então seu valor é o número de caracteres de EOF\n" +" \t\t\tque podem ser vistos numa leva em uma linha vazia antes\n" +" \t\t\tdo shell sair (padrão 10). Do contrário, EOF significa\n" +" \t\t\to fim da entrada.\n" +" MACHTYPE\t\tUma string descrevendo o sistema no qual Bash está sendo\n" +" \t\t\texecutado.\n" +" MAILCHECK\t\tCom qual frequência, em segundos, Bash verifica por novo\n" +" \t\t\tcorreio.\n" +" MAILPATH\t\tUma lista separada por dois-pontos de arquivos que Bash\n" +" \t\t\tverifica por novo correio.\n" +" OSTYPE\t\t\tA versão do Unix no qual Bash está sendo executado.\n" +" PATH\t\t\tUma lista separada por dois-pontos de diretórios para\n" +" \t\t\tpesquisar ao se procurar por comandos.\n" +" PROMPT_COMMAND\tUm comando a ser executado antes de imprimir cada " +"prompt\n" +" \t\t\tprimário.\n" +" PS1\t\t\t\tA string de prompt primário.\n" +" PS2\t\t\t\tA string de prompt secundária.\n" +" PWD\t\t\t\tO caminho completo do diretório atual.\n" +" SHELLOPTS\t\tUma lista separada por dois-pontos de opções shell\n" +" \t\t\t\thabilitadas.\n" +" TERM\t\t\tO nome do tipo de terminal atual.\n" +" TIMEFORMAT\t\tO formato de saída para estatísticas de tempo exibidas\n" +" \t\t\t\tpela palavra reservada `time'.\n" +" auto_resume\t\tNão-nulo significa que uma palavra de comando aparecendo\n" +" \t\t\t\tem uma linha, por si só, é procurada primeiro na lista de\n" +" \t\t\t\ttrabalhos atualmente parados. Se encontrado lá, aquele\n" +" \t\t\t\ttrabalho é levado para primeiro plano. Um valor de `exact'\n" +" \t\t\t\tsignifica que a palavra de comando deve corresponder\n" +" \t\t\t\texatamente um comando na lista de trabalhos parados. Um\n" +" \t\t\t\tvalor de `substring' significa que a palavra de comando\n" +" \t\t\t\tdeve corresponder a uma substring do trabalho. Qualquer\n" +" \t\t\t\toutro valor significa que o comando deve ser um prefixo\n" +" \t\t\t\tde um trabalho parado.\n" +" histchars\t\tCaracteres controlando expansão de histórico e\n" +" \t\t\t\tsubstituição rápida. O primeiro caractere é o de\n" +" \t\t\t\tsubstituição de histórico, normalmente `!'. O segundo\n" +" \t\t\t\té o caractere `quick substitution', normalmente `^'.\n" +" \t\t\t\tO terceiro é o caractere `quick sbustitution',\n" +" \t\t\t\tnormalmente `#'\n" +" HISTIGNORE\t\tUma lista separada por dois-pontos de padrões usados para\n" +" \t\t\t\tdecidir quais comandos deveriam ser salvos na lista de\n" +" \t\t\t\thistórico.\n" + +# help pushd +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -3911,19 +5397,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3931,8 +5417,37 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" +"Adiciona diretórios a uma pilha.\n" +" \n" +" Adiciona um diretório ao topo da pilha de diretórios ou movimenta\n" +" a pilha, fazendo o novo topo da pilha ser o diretório atual de\n" +" trabalho. Com nenhum argumento, efetua troca do topo entre dois\n" +" diretórios.\n" +" \n" +" Opções:\n" +" -n\tSuprime a alteração normal de diretório ao adicionar\n" +" \t\tdiretórios à pilha, de forma que apenas a pilha é manipulada.\n" +" \n" +" Argumentos:\n" +" +N\tMovimenta a pilha de forma que o n-ésimo diretório (a contar\n" +" \t\tda esquerda da lista mostrada por `dirs', iniciando com zero)\n" +" \t\testá no topo.\n" +" \n" +" -N\tMovimenta a pilha de forma que o n-ésimo diretório (a contar\n" +" \t\tda direita da lista mostrada por `dirs', iniciando com zero)\n" +" \t\testá no topo.\n" +" \n" +" dir\tAdiciona DIR à pilha de diretórios no topo, fazendo dele o\n" +" \t\tnovo diretório de trabalho atual.\n" +" \n" +" O comando interno `dirs' exibe a pilha de diretórios.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que um argumento inválido seja fornecido ou\n" +" a alteração de diretório falhar." -#: builtins.c:1828 +# help popd +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -3941,16 +5456,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3958,8 +5473,32 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" +"Remove diretórios de uma pilha.\n" +"\n" +" Remove entradas da pilha de diretórios. Com nenhum argumento, remove\n" +" o diretório do topo da pilha e altera o novo diretório do topo.\n" +" \n" +" Opções:\n" +" -n\tSuprime a alteração normal de diretório ao remover\n" +" \t\tdiretórios da pilha, de forma que apenas a pilha é manipulada.\n" +" \n" +" Argumentos:\n" +" +N\tRemove a n-ésima entrada a contar da esquerda da lista\n" +" \t\tmostrada por `dirs', iniciando com zero. Ex.: `popd +0'\n" +" \t\tremove o primeiro diretório e `popd +1', o segundo.\n" +" \n" +" -N\tRemove a n-ésima entrada a contar da direita da lista\n" +" \t\tmostrada por `dirs', iniciando com zero. Ex.: `popd +0'\n" +" \t\tremove o último diretório e `popd -1', o penúltimo.\n" +" \n" +" O comando interno `dirs' exibe a pilha de diretório.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que um argumento inválido seja fornecido ou\n" +" a alteração de diretório falhar." -#: builtins.c:1858 +# help dirs +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -3970,25 +5509,50 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" -" \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" +" \n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"Exibe pilha de diretórios.\n" +" \n" +" Exibe a lista de diretórios atualmente memorizados. Diretórios são\n" +" inseridos na lista por meio do comando `pushd'; você pode obter\n" +" de volta da lista com o comando `popd'.\n" +" \n" +" Opções:\n" +" -c\tlimpa a pilha de diretórios excluindo todos os elementos\n" +" -l\tnão mostra versões de diretórios prefixadas por til,\n" +" \t\trelativos ao seu diretório HOME\n" +" -p\texibe a pilha de diretório com uma entrada por linha\n" +" -v\texibe a pilha de diretório com uma entrada por linha,\n" +" \t\tprefixada com sua posição na pilha\n" +" \n" +" Argumentos:\n" +" +N\tExibe a n-ésima entrada a partir da esquerda da linha\n" +" \t\tmostrada por `dirs' chamado sem opções, iniciando com zero.\n" +" \n" +" -N\tExibe a n-ésima entrada a partir da esquerda da linha\n" +" \t\tmostrada por `dirs' chamado sem opções, iniciando com zero.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" ocorrer um erro." -#: builtins.c:1887 +# help shopt +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -4008,8 +5572,25 @@ msgid "" " Returns success if OPTNAME is enabled; fails if an invalid option is\n" " given or OPTNAME is disabled." msgstr "" +"Define e remove definições de opções de shell.\n" +" \n" +" Altera a configuração de cada opção shell NOME-OPÇÃO. Sem qualquer\n" +" argumento de opção, lista todos shell com uma indicação de se cada\n" +" uma está definida ou não.\n" +" \n" +" Opções:\n" +" -o\trestringe NOME-OPÇÃO àqueles definidos para usar com `set -o'\n" +" -p\timprime cada opção shell com uma indicação de seu status\n" +" -q\tsuprime a saída\n" +" -s\thabilita (set) com NOME-OPÇÃO\n" +" -u\tdesabilita (unset) com NOME-OPÇÃO\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, se NOME-OPÇÃO estiver habilitado; falha, se uma\n" +" opção inválida for fornecida ou NOME-OPÇÃO estiver desabilitado." -#: builtins.c:1908 +# help printf +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -4026,15 +5607,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -4047,8 +5628,39 @@ msgid "" "assignment\n" " error occurs." msgstr "" - -#: builtins.c:1942 +"Formata e imprime ARGUMENTOS sob controle de FORMATO.\n" +" \n" +" Options:\n" +" -v var\tatribui a saída à variável shell VAR, ao invés de exibi-la\n" +" \t\t\tna saída padrão\n" +" \n" +" FORMATO é uma string de caractere que contém três tipos de objetos;\n" +" caracteres planos, que são simplesmente copiados para a saída padrão;\n" +" sequências de escape de caracteres, que são convertidas e copiadas\n" +" para a saída padrão; e especificações de formatos, cada um que causa\n" +" impressão do próximo argumento sucessivo.\n" +" \n" +" Além das especificações de formato padrão descritas em printf(1),\n" +" printf interpreta:\n" +" \n" +" %b\texpande sequências de escape com contrabarras no argumento\n" +" \t\tcorrespondente\n" +" %q\tcita o argumento de uma forma que pode ser usado como entrada\n" +" \t\tno shell\n" +" %(fmt)T\texibe a string de data-hora resultante do uso de FMT como\n" +" \t\t\tuma string de formato para strftime(3)\n" +" \n" +" O formato é usado como necessário para consumir todos os argumentos.\n" +" Se houver menos argumentos que o formato requer, especificações de\n" +" formato extras se comportam como se uma string com valor zero ou nula,\n" +" como apropriado, tivesse sido fornecida.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" ocorra um erro de escrita ou atribuição." + +# help complete +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -4061,11 +5673,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -4074,8 +5686,33 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" - -#: builtins.c:1970 +"Especifica como argumentos são completados por Readline.\n" +" \n" +" Para cada NOME, especifica como argumentos são completados. Se nenhuma\n" +" opção for fornecida, especificações existente para completar são\n" +" impressas em uma forma que permite-as serem usadas como entrada.\n" +" \n" +" Opções:\n" +" -p\timprime especificações existentes de completar em um formato " +"usável\n" +" -r\tremove uma especificação de completar para cada NOME ou, se " +"nenhum\n" +" \t\tNOME for fornecido, todas as especificações de completar\n" +" -D\taplica as completações e ações como sendo o padrão para comandos\n" +" \t\tsem qualquer especificação definida\n" +" -E\taplica as completações e ações para tentativa de completar\n" +" \t\tcomandos -- \"vazios\" em uma linha vazia\n" +" \n" +" Ao tentar completar, as ações são fornecidas na ordem em que as opções\n" +" de letras de caixa alta são listadas acima. A opção -D tem precedência\n" +" sobre -E.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" ocorra um erro." + +# help compgen +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -4087,8 +5724,18 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"Exibe possibilidades de completação dependendo das opções.\n" +" \n" +" Tem a intenção de ser usado de dentro de uma função shell gerando\n" +" completações possíveis. Se o argumento opcional PALAVRA for fornecido,\n" +" comparações entre PALAVRA é gerada.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja fornecida ou\n" +" ocorra um erro." -#: builtins.c:1985 +# help compopt +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4118,8 +5765,35 @@ msgid "" " Returns success unless an invalid option is supplied or NAME does not\n" " have a completion specification defined." msgstr "" +"Modifica ou exibe opções de completação.\n" +" \n" +" Modifica as opções de completação para cada NOME ou, se nenhum NOME for\n" +" fornecido, a completação sendo executada atualmente. Se nenhuma OPÇÃO\n" +" for fornecida, imprime as opções de completação para cada NOME ou a\n" +" especificação de completação atual.\n" +" \n" +" Opções:\n" +" \t-o OPÇÃO\tDefine a opção de completação OPÇÃO para cada NOME\n" +" \t-D\t\tAltera opções para a completação de comando \"padrão\"\n" +" \t-E\t\tAltera opções para a completação de comando \"vazio\"\n" +" \n" +" Ao usar `+o', ao invés de `-o', desliga a opção especificada.\n" +" \n" +" Argumentos:\n" +" \n" +" Cada NOME se refere a um comando para o qual uma especificação de\n" +" completação deve ter sido definida anteriormente usando o comando\n" +" interno `complete'. Se nenhum NOME for fornecido, `compopt` deve\n" +" ser chamado por uma função atualmente gerando completações e as\n" +" opções para aquele gerador de completações atualmente em execução\n" +" são modificados.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválido seja fornecido ou\n" +" NOME não tem uma especificação de completação definida." -#: builtins.c:2015 +# help mapfile +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4130,20 +5804,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4159,216 +5834,75 @@ msgid "" "or\n" " not an indexed array." msgstr "" - -#: builtins.c:2049 +"Lê linhas da entrada padrão para uma variável array indexado.\n" +" \n" +" Lê linhas da entrada padrão para a variável array indexado ARRAY ou\n" +" do descritor de arquivo FD, se a opção -u for fornecida. A variável\n" +" MAPFILE é o ARRAY padrão.\n" +" \n" +" Opções:\n" +" -d DELIM Usa DELIM para terminar linhas, ao invés de nova linha\n" +" -n NÚMERO Copia no máximo NÚMERO linhas. Se NÚMERO for 0, todas " +"as\n" +" linhas são copiadas\n" +" -O ORIGEM Inicia atribuição de ARRAY no índice ORIGEM. O índice\n" +" padrão é 0\n" +" -s NÚMERO Descarta as primeiras NÚMERO linhas lidas\n" +" -t Remove uma DELIM ao final para cada linha lida\n" +" (padrão: nova linha)\n" +" -u FD Lê linhas do descritor de arquivos FD, ao invés da " +"entrada\n" +" padrão\n" +" -C CHAMADA Avalia CHAMADA a cada vez que QUANTIDADE linhas foram " +"lidas\n" +" -c QUANTIDADE Especifica o número de linhas lidas entre cada chamada " +"para\n" +" CHAMADA\n" +" \n" +" Argumentos:\n" +" ARRAY Nome da variável array para usar para arquivos de dados\n" +" \n" +" Se -C for fornecido sem -c, a quantidade padrão é 5000. Quando CHAMADA " +"é\n" +" avaliada, é fornecido o índice para o próximo elemento da array ser\n" +" atribuído e a linha para ser atribuída àquele elemento como argumentos\n" +" adicionais\n" +" \n" +" Se não for fornecido com uma origem explícita, mapfile vai limpar ARRAY\n" +" antes de lhe atribuir.\n" +" \n" +" Status de saída:\n" +" Retorna sucesso, a menos que uma opção inválida seja dada ou ARRAY for\n" +" somente leitura ou não for um array indexado." + +# help readarray +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" " A synonym for `mapfile'." msgstr "" +"Lê linhas de um arquivo para uma variável array.\n" +" \n" +" Um sinônimo para `mapfile'." -#, fuzzy -#~ msgid "wait [pid]" -#~ msgstr "wait [n]" - -#~ msgid "xrealloc: cannot reallocate %lu bytes (%lu bytes allocated)" -#~ msgstr "xrealloc: impossível realocar %lu bytes (%lu bytes alocados)" - -#, fuzzy -#~ msgid "xrealloc: cannot allocate %lu bytes" -#~ msgstr "xrealloc: impossível realocar %lu bytes (%lu bytes alocados)" - -#, fuzzy -#~ msgid "xrealloc: %s:%d: cannot reallocate %lu bytes (%lu bytes allocated)" -#~ msgstr "xrealloc: impossível realocar %lu bytes (%lu bytes alocados)" - -#~ msgid "Display the list of currently remembered directories. Directories" -#~ msgstr "Exibe a lista atual de diretórios memorizados. Os diretórios são" - -#~ msgid "find their way onto the list with the `pushd' command; you can get" -#~ msgstr "introduzidos na lista através do comando `pushd'; os diretórios são" - -#~ msgid "back up through the list with the `popd' command." -#~ msgstr "removidos da lista através do comando `popd'." - -#~ msgid "" -#~ "The -l flag specifies that `dirs' should not print shorthand versions" -#~ msgstr "A opção -l especifica que `dirs' não deve exibir a versão resumida" - -#~ msgid "" -#~ "of directories which are relative to your home directory. This means" -#~ msgstr "" -#~ "dos diretórios relativos ao seu diretório `home'. Isto significa que" - -#~ msgid "that `~/bin' might be displayed as `/homes/bfox/bin'. The -v flag" -#~ msgstr "" -#~ "`~/bin' deve ser exibido como `/home/você/bin'. A opção -v faz com que" - -#~ msgid "causes `dirs' to print the directory stack with one entry per line," -#~ msgstr "`dirs' exiba a pilha de diretórios com uma entrada por linha," - -#~ msgid "" -#~ "prepending the directory name with its position in the stack. The -p" -#~ msgstr "antecedendo o nome do diretório com a sua posição na pilha. A opção" - -#~ msgid "flag does the same thing, but the stack position is not prepended." -#~ msgstr "-p faz a mesma coisa, mas a posição na pilha não é exibida. A opção" - -#~ msgid "" -#~ "The -c flag clears the directory stack by deleting all of the elements." -#~ msgstr "-c limpa a pilha de diretórios apagando todos os seus elementos." - -#, fuzzy -#~ msgid "" -#~ "+N displays the Nth entry counting from the left of the list shown by" -#~ msgstr "" -#~ "+N\texibe a n-ésima entrada contada a partir da esquerda da lista exibida" - -#, fuzzy -#~ msgid " dirs when invoked without options, starting with zero." -#~ msgstr "\tpor `dirs', quando este é chamado sem opções, começando por zero." - -#, fuzzy -#~ msgid "" -#~ "-N displays the Nth entry counting from the right of the list shown by" -#~ msgstr "" -#~ "-N\texibe a n-ésima entrada contada a partir da direita da lista exibida" - -#~ msgid "Adds a directory to the top of the directory stack, or rotates" -#~ msgstr "Adiciona o diretório no topo da pilha de diretórios, ou rotaciona a" - -#~ msgid "the stack, making the new top of the stack the current working" -#~ msgstr "" -#~ "pilha, fazendo o diretório atual de trabalho ficar no topo da pilha." - -#~ msgid "directory. With no arguments, exchanges the top two directories." -#~ msgstr "Sem nenhum argumento, troca os dois diretórios do topo." - -#, fuzzy -#~ msgid "+N Rotates the stack so that the Nth directory (counting" -#~ msgstr "" -#~ "+N\tRotaciona a pilha de tal forma que o n-ésimo diretório (contado a" - -#, fuzzy -#~ msgid " from the left of the list shown by `dirs', starting with" -#~ msgstr "\tpartir da esquerda da lista exibida por `dirs') fique no topo." - -#, fuzzy -#~ msgid " zero) is at the top." -#~ msgstr "\tpartir da direita) fique no topo." - -#, fuzzy -#~ msgid "-N Rotates the stack so that the Nth directory (counting" -#~ msgstr "" -#~ "-N\tRotaciona a pilha de tal forma que o n-ésimo diretório (contado a" - -#, fuzzy -#~ msgid " from the right of the list shown by `dirs', starting with" -#~ msgstr "\tpartir da esquerda da lista exibida por `dirs') fique no topo." - -#, fuzzy -#~ msgid "-n suppress the normal change of directory when adding directories" -#~ msgstr "-n\tsuprime a troca normal de diretório ao se adicionar diretórios" - -#, fuzzy -#~ msgid " to the stack, so only the stack is manipulated." -#~ msgstr "\tà pilha, fazendo com que somente a pilha seja manipulada." - -#, fuzzy -#~ msgid "dir adds DIR to the directory stack at the top, making it the" -#~ msgstr "dir\tadiciona DIR à pilha de diretórios, no topo, tornando-o o" - -#, fuzzy -#~ msgid " new current working directory." -#~ msgstr "\tnovo diretório atual de trabalho." - -#~ msgid "You can see the directory stack with the `dirs' command." -#~ msgstr "Você pode exibir a pilha de diretórios através do comando `dirs'." - -#~ msgid "Removes entries from the directory stack. With no arguments," -#~ msgstr "Remove entradas da pilha de diretórios. Sem nenhum argumento," - -#~ msgid "removes the top directory from the stack, and cd's to the new" -#~ msgstr "remove o diretório que está no topo da pilha, e executa `cd' para" - -#~ msgid "top directory." -#~ msgstr "o novo diretório que ocupa o topo da pilha." - -#, fuzzy -#~ msgid "+N removes the Nth entry counting from the left of the list" -#~ msgstr "+N\tremove a n-ésima entrada contada a partir da esquerda da lista" - -#, fuzzy -#~ msgid " shown by `dirs', starting with zero. For example: `popd +0'" -#~ msgstr "\texibida por `dirs', começando por zero. Por exemplo: `popd +0'" - -#, fuzzy -#~ msgid " removes the first directory, `popd +1' the second." -#~ msgstr "\tremove o primeiro diretório, `popd +1' o segundo." - -#, fuzzy -#~ msgid "-N removes the Nth entry counting from the right of the list" -#~ msgstr "-N\tremove a n-ésima entrada contada a partir da direita da lista" - -#, fuzzy -#~ msgid " shown by `dirs', starting with zero. For example: `popd -0'" -#~ msgstr "\texibida por `dirs', começando por zero. Por exemplo: `popd -0'" - -#, fuzzy -#~ msgid " removes the last directory, `popd -1' the next to last." -#~ msgstr "\tremove o último diretório, `popd -1' o penúltimo." - -#, fuzzy -#~ msgid "" -#~ "-n suppress the normal change of directory when removing directories" -#~ msgstr "-n\tsuprime a troca normal de diretório ao remover-se diretórios" - -#, fuzzy -#~ msgid " from the stack, so only the stack is manipulated." -#~ msgstr "\tda pilha, fazendo com que somente a pilha seja manipulada." - -#, fuzzy -#~ msgid "" -#~ "Exit from within a FOR, WHILE or UNTIL loop. If N is specified,\n" -#~ " break N levels." -#~ msgstr "Sair de um laço FOR, WHILE ou UNTIL." - -#~ msgid "Obsolete. See `declare'." -#~ msgstr "Obsoleta. Veja `declare'." - -#~ msgid "" -#~ "Output the ARGs. If -n is specified, the trailing newline is suppressed." -#~ msgstr "" -#~ "Exibe ARGS. Se -n for fornecido, o caracter final de nova linha é " -#~ "suprimido." - -#~ msgid "" -#~ "Read ARGs as input to the shell and execute the resulting command(s)." -#~ msgstr "" -#~ "Ler ARGs como entrada da `shell' e executar o(s) comando(s) resultante(s)." +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2014 Free Software Foundation, Inc." -#~ msgid "Logout of a login shell." -#~ msgstr "Sair de uma shell de login." +#~ msgid ":" +#~ msgstr ":" -#, fuzzy -#~ msgid "" -#~ "Causes a function to exit with the return value specified by N. If N\n" -#~ " is omitted, the return status is that of the last command." -#~ msgstr "Faz a função terminar com o valor de retorno especificado por N." +# Não traduzir "true", esta é uma opção "builtin" do "bash" que é exibida ao executar "help" e acessível com "help true". +#~ msgid "true" +#~ msgstr "true" -#, fuzzy -#~ msgid "" -#~ "The positional parameters from $N+1 ... are renamed to $1 ... If N is\n" -#~ " not given, it is assumed to be 1." -#~ msgstr "" -#~ "Os parâmetros posicionais a partir de $N+1 ... são deslocados para $1 ..." +# Não traduzir "false", esta é uma opção "builtin" do "bash" que é exibida ao executar "help" e acessível com "help false". +#~ msgid "false" +#~ msgstr "false" -#, fuzzy -#~ msgid "" -#~ "Print the accumulated user and system times for processes run from\n" -#~ " the shell." -#~ msgstr "" -#~ "Exibe os tempos acumulados do usuário e do sistema para os processos" +# não traduzir, este é um comando +#~ msgid "times" +#~ msgstr "times" #~ msgid "Missing `}'" #~ msgstr "Faltando `}'" @@ -4389,13 +5923,13 @@ msgstr "" #~ msgstr "Informar %s para corrigir o ocorrido.\n" #~ msgid "execute_command: bad command type `%d'" -#~ msgstr "execute_command: `%d' é um tipo incorreto de comando " +#~ msgstr "execute_command: `%d' é um tipo incorreto de comando " #~ msgid "real\t" #~ msgstr "real\t" #~ msgid "user\t" -#~ msgstr "usuário\t" +#~ msgstr "usuário\t" #~ msgid "sys\t" #~ msgstr "sistema\t" @@ -4406,23 +5940,29 @@ msgstr "" #~ "sys\t0m0.00s\n" #~ msgstr "" #~ "real \t0m0.00s\n" -#~ "usuário\t0m0.00s\n" +#~ "usuário\t0m0.00s\n" #~ "sistema\t0m0.00s\n" #~ msgid "cannot duplicate fd %d to fd 1: %s" -#~ msgstr "impossível duplicar fd (descritor de arquivo) %d para fd 1: %s" +#~ msgstr "impossível duplicar fd (descritor de arquivo) %d para fd 1: %s" #~ msgid "%s: output redirection restricted" -#~ msgstr "%s: redirecionamento da saída restringido" +#~ msgstr "%s: redirecionamento da saída restringido" #~ msgid "Out of memory!" -#~ msgstr "Memória esgotada!" +#~ msgstr "Memória esgotada!" #~ msgid "You have already added item `%s'\n" -#~ msgstr "Você já adicionou o item `%s'\n" +#~ msgstr "Você já adicionou o item `%s'\n" #~ msgid "You have entered %d (%d) items. The distribution is:\n" -#~ msgstr "Entrados %d (%d) itens. A distribuição é:\n" +#~ msgstr "Entrados %d (%d) itens. A distribuição é:\n" + +#~ msgid "slot %3d: " +#~ msgstr "encaixe (slot) %3d: " + +#~ msgid "" +#~ msgstr "" #~ msgid "%s: bg background job?" #~ msgstr "%s: bg trabalho no segundo plano?" @@ -4431,17 +5971,17 @@ msgstr "" #~ "Redirection instruction from yyparse () '%d' is\n" #~ "out of range in make_redirection ()." #~ msgstr "" -#~ "A instrução de redirecionamento do yyparse () '%d' está\n" +#~ "A instrução de redirecionamento do yyparse () '%d' está\n" #~ "fora do intervalo em make_redirection ()." #~ msgid "clean_simple_command () got a command with type %d." #~ msgstr "clean_simple_command () recebeu um comando do tipo %d." #~ msgid "got errno %d while waiting for %d" -#~ msgstr "recebido erro número %d enquanto aguardava por %d" +#~ msgstr "recebido erro número %d enquanto aguardava por %d" #~ msgid "syntax error near unexpected token `%c'" -#~ msgstr "erro de sintaxe próximo do `token' não esperado `%c'" +#~ msgstr "erro de sintaxe próximo do `token' não esperado `%c'" #~ msgid "print_command: bad command type `%d'" #~ msgstr "print_command: tipo de comando incorreto `%d'" @@ -4450,87 +5990,84 @@ msgstr "" #~ msgstr "cprintf: argumento `%%' incorreto (%c)" #~ msgid "option `%s' requires an argument" -#~ msgstr "a opção `%s' requer um argumento" +#~ msgstr "a opção `%s' requer um argumento" #~ msgid "%s: unrecognized option" -#~ msgstr "%s: a opção não é reconhecida" +#~ msgstr "%s: a opção não é reconhecida" #~ msgid "`-c' requires an argument" -#~ msgstr "A opção `-c' requer um argumento" +#~ msgstr "A opção `-c' requer um argumento" #~ msgid "%s: cannot execute directories" -#~ msgstr "%s: impossível executar diretórios" +#~ msgstr "%s: impossível executar diretórios" #~ msgid "Bad code in sig.c: sigprocmask" -#~ msgstr "Código incorreto em sig.c: sigprocmask" - -#~ msgid "bad substitution: no ending `}' in %s" -#~ msgstr "substituição incorreta: falta o `}' final em %s" - -#~ msgid "%s: bad array subscript" -#~ msgstr "%s: indice da matriz (array) incorreto" +#~ msgstr "Código incorreto em sig.c: sigprocmask" #~ msgid "can't make pipes for process substitution: %s" -#~ msgstr "impossível criar `pipes' para a substituição do processo: %s" +#~ msgstr "impossível criar `pipes' para a substituição do processo: %s" #~ msgid "reading" #~ msgstr "lendo" +#~ msgid "writing" +#~ msgstr "escrevendo" + #~ msgid "process substitution" -#~ msgstr "substituição de processo" +#~ msgstr "substituição de processo" #~ msgid "command substitution" -#~ msgstr "substituição de comando" +#~ msgstr "substituição de comando" #~ msgid "Can't reopen pipe to command substitution (fd %d): %s" #~ msgstr "" -#~ "Impossível reabrir o `pipe' para substituição de comando (fd %d): %s" +#~ "Impossível reabrir o `pipe' para substituição de comando (fd %d): %s" #~ msgid "$%c: unbound variable" -#~ msgstr "$%c: variável não vinculada" +#~ msgstr "$%c: variável não associada" #~ msgid "%s: bad arithmetic substitution" -#~ msgstr "%s: substituição aritmética incorreta" +#~ msgstr "%s: substituição aritmética incorreta" #~ msgid "-%s: binary operator expected" -#~ msgstr "-%s: esperado operador binário" +#~ msgstr "-%s: esperado operador binário" #~ msgid "%s[%s: bad subscript" -#~ msgstr "%s[%s: índice incorreto" +#~ msgstr "%s[%s: índice incorreto" #~ msgid "[%s: bad subscript" -#~ msgstr "[%s: índice incorreto" +#~ msgstr "[%s: índice incorreto" + +#~ msgid "xrealloc: cannot reallocate %lu bytes (%lu bytes allocated)" +#~ msgstr "xrealloc: impossível realocar %lu bytes (%lu bytes alocados)" #~ msgid "digits occur in two different argv-elements.\n" -#~ msgstr "os dígitos aparecem em dois elementos argv diferentes.\n" +#~ msgstr "os dígitos aparecem em dois elementos argv diferentes.\n" #~ msgid "option %c\n" -#~ msgstr "opção %c\n" +#~ msgstr "opção %c\n" #~ msgid "option a\n" -#~ msgstr "opção a\n" +#~ msgstr "opção a\n" #~ msgid "option b\n" -#~ msgstr "opção b\n" +#~ msgstr "opção b\n" #~ msgid "option c with value `%s'\n" -#~ msgstr "opção c com o valor `%s'\n" +#~ msgstr "opção c com o valor `%s'\n" #~ msgid "?? sh_getopt returned character code 0%o ??\n" -#~ msgstr "?? sh_getopt retornou o código de caracter 0%o ??\n" +#~ msgstr "?? sh_getopt retornou o código de caracter 0%o ??\n" #~ msgid "non-option ARGV-elements: " -#~ msgstr "elementos de ARGV que não são opção:" +#~ msgstr "elementos de ARGV que não são opção:" #~ msgid "%s: Unknown flag %s.\n" -#~ msgstr "%s: Opção %s desconhecida.\n" +#~ msgstr "%s: Opção %s desconhecida.\n" #~ msgid "Unknown directive `%s'" #~ msgstr "Diretiva desconhecida `%s'" -#~ msgid "%s requires an argument" -#~ msgstr "%s requer um argumento" - #~ msgid "%s must be inside of a $BUILTIN block" #~ msgstr "%s deve estar dentro de um bloco $BUILTIN" @@ -4538,64 +6075,69 @@ msgstr "" #~ msgstr "%s encontrado antes de $END" #~ msgid "%s already has a function (%s)" -#~ msgstr "%s já possui uma função (%s)" +#~ msgstr "%s já possui uma função (%s)" #~ msgid "%s already had a docname (%s)" -#~ msgstr "%s já possui um nome de documento (%s)" +#~ msgstr "%s já possui um nome de documento (%s)" #~ msgid "%s already has short documentation (%s)" -#~ msgstr "%s já possui uma documentação curta (%s)" +#~ msgstr "%s já possui uma documentação curta (%s)" #~ msgid "%s already has a %s definition" -#~ msgstr "%s já possui a definição %s" +#~ msgstr "%s já possui a definição %s" #~ msgid "mkbuiltins: Out of virtual memory!\n" -#~ msgstr "mkbuiltins: Memória virtual esgotada!\n" +#~ msgstr "mkbuiltins: Memória virtual esgotada!\n" #~ msgid "read [-r] [-p prompt] [-a array] [-e] [name ...]" -#~ msgstr "read [-r] [-p MENSAGEM] [-a MATRIZ] [-e] [NOME ...]" +#~ msgstr "read [-r] [-p MENSAGEM] [-a ARRAY] [-e] [NOME ...]" #~ msgid "%[DIGITS | WORD] [&]" -#~ msgstr "%[DÍGITOS | PALAVRA] [&]" +#~ msgstr "%[DÍGITOS | PALAVRA] [&]" #~ msgid "variables - Some variable names and meanings" -#~ msgstr "variáveis - Alguns nomes de variáveis e suas descrições" +#~ msgstr "variáveis - Alguns nomes de variáveis e suas descrições" #~ msgid "`alias' with no arguments or with the -p option prints the list" -#~ msgstr "`alias' sem nenhum argumento, ou com a opção -p, exibe a lista" +#~ msgstr "`alias' sem nenhum argumento, ou com a opção -p, exibe a lista" #~ msgid "of aliases in the form alias NAME=VALUE on standard output." -#~ msgstr "de aliases na forma `alias NOME=VALOR' na saída padrão." +#~ msgstr "de aliases na forma `alias NOME=VALOR' na saída padrão." #~ msgid "Otherwise, an alias is defined for each NAME whose VALUE is given." #~ msgstr "" -#~ "Ou então, um alias é definido para cada NOME cujo VALOR for fornecido." +#~ "Ou então, um alias é definido para cada NOME cujo VALOR for fornecido." #~ msgid "A trailing space in VALUE causes the next word to be checked for" -#~ msgstr "Um espaço após VALOR faz a próxima palavra ser verificada para" +#~ msgstr "Um espaço após VALOR faz a próxima palavra ser verificada para" #~ msgid "alias substitution when the alias is expanded. Alias returns" -#~ msgstr "substituição do alias quando o alias é expandido. Alias retorna" +#~ msgstr "substituição do alias quando o alias é expandido. Alias retorna" #~ msgid "true unless a NAME is given for which no alias has been defined." #~ msgstr "" -#~ "verdadeiro, a não ser que seja fornecido um NOME sem alias definido." +#~ "verdadeiro, a não ser que seja fornecido um NOME sem alias definido." + +#~ msgid "" +#~ "Remove NAMEs from the list of defined aliases. If the -a option is given," +#~ msgstr "" +#~ "Remove NOMEs da lista de aliases definidos. Se a opção -a for fornecida," #~ msgid "then remove all alias definitions." -#~ msgstr "então todas as definições de alias são removidas." +#~ msgstr "então todas as definições de alias são removidas." #~ msgid "Bind a key sequence to a Readline function, or to a macro. The" #~ msgstr "" -#~ "Víncula uma seqüência de teclas a uma função de leitura de linha, ou a uma" +#~ "Víncula uma seqüência de teclas a uma função de leitura de linha, ou a uma" #~ msgid "syntax is equivalent to that found in ~/.inputrc, but must be" #~ msgstr "" -#~ "macro. A sintaxe é equivalente à encontrada em ~/.inputrc, mas deve ser" +#~ "macro. A sintaxe é equivalente à encontrada em ~/.inputrc, mas deve ser" #~ msgid "" #~ "passed as a single argument: bind '\"\\C-x\\C-r\": re-read-init-file'." #~ msgstr "" -#~ "passada como um único argumento: bind '\"\\C-x\\C-r\": re-read-init-file'." +#~ "passada como um único argumento: bind '\"\\C-x\\C-r\": re-read-init-file'." #~ msgid "Arguments we accept:" #~ msgstr "Argumentos permitidos:" @@ -4603,10 +6145,10 @@ msgstr "" #~ msgid "" #~ " -m keymap Use `keymap' as the keymap for the duration of this" #~ msgstr "" -#~ " -m MAPA-TECLAS Usar `MAPA-TECLAS' como mapa das teclas pela duração" +#~ " -m MAPA-TECLAS Usar `MAPA-TECLAS' como mapa das teclas pela duração" #~ msgid " command. Acceptable keymap names are emacs," -#~ msgstr " deste comando. Os nomes aceitos são emacs," +#~ msgstr " deste comando. Os nomes aceitos são emacs," #~ msgid "" #~ " emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move," @@ -4617,36 +6159,36 @@ msgstr "" #~ msgstr " vi-command, and vi-insert." #~ msgid " -l List names of functions." -#~ msgstr " -l Listar os nomes das funções." +#~ msgstr " -l Listar os nomes das funções." #~ msgid " -P List function names and bindings." -#~ msgstr " -P Listar nomes e vinculações das funções." +#~ msgstr " -P Listar nomes e associações das funções." #~ msgid "" #~ " -p List functions and bindings in a form that can be" #~ msgstr "" -#~ " -p Listar nomes e vinculações das funções de uma forma" +#~ " -p Listar nomes e associações das funções de uma forma" #~ msgid " reused as input." #~ msgstr " que pode ser reutilizada como entrada." #~ msgid " -r keyseq Remove the binding for KEYSEQ." -#~ msgstr " -r SEQ-TECLAS Remove o vínculo para SEQ-TECLAS." +#~ msgstr " -r SEQ-TECLAS Remove o vínculo para SEQ-TECLAS." #~ msgid " -f filename Read key bindings from FILENAME." -#~ msgstr " -f ARQUIVO Ler os vínculos das teclas em ARQUIVO." +#~ msgstr " -f ARQUIVO Ler os vínculos das teclas em ARQUIVO." #~ msgid "" #~ " -q function-name Query about which keys invoke the named function." -#~ msgstr " -q NOME-FUNÇÃO Consultar quais teclas chamam esta função." +#~ msgstr " -q NOME-FUNÇÃO Consultar quais teclas chamam esta função." #~ msgid " -V List variable names and values" -#~ msgstr " -V Listar os nomes e os valores das variáveis." +#~ msgstr " -V Listar os nomes e os valores das variáveis." #~ msgid "" #~ " -v List variable names and values in a form that can" #~ msgstr "" -#~ " -v Listar os nomes e os valores das variáveis de uma" +#~ " -v Listar os nomes e os valores das variáveis de uma" #~ msgid " be reused as input." #~ msgstr " forma que pode ser reutilizada como entrada." @@ -4655,151 +6197,157 @@ msgstr "" #~ " -S List key sequences that invoke macros and their " #~ "values" #~ msgstr "" -#~ " -S Listar as seqüências de teclas que chamam macros\n" +#~ " -S Listar as seqüências de teclas que chamam macros\n" #~ " e seus valores." #~ msgid "" #~ " -s List key sequences that invoke macros and their " #~ "values in" -#~ msgstr " -s Listar seqüências de teclas que chamam macros" +#~ msgstr " -s Listar seqüências de teclas que chamam macros" #~ msgid " a form that can be reused as input." #~ msgstr "" #~ " e seus valores de uma forma que pode ser\n" #~ " reutilizada como entrada." +#~ msgid "Exit from within a FOR, WHILE or UNTIL loop. If N is specified," +#~ msgstr "Sair de um laço FOR, WHILE ou UNTIL." + #~ msgid "break N levels." -#~ msgstr "Se N for especificado, sai de N níveis." +#~ msgstr "Se N for especificado, sai de N níveis." + +#~ msgid "Resume the next iteration of the enclosing FOR, WHILE or UNTIL loop." +#~ msgstr "Prossegue no próximo ciclo do laço FOR, WHILE ou UNTIL envolvente." #~ msgid "If N is specified, resume at the N-th enclosing loop." -#~ msgstr "Se N for especificado, prossegue no N-ésimo laço envolvente." +#~ msgstr "Se N for especificado, prossegue no N-ésimo laço envolvente." #~ msgid "Run a shell builtin. This is useful when you wish to rename a" #~ msgstr "" -#~ "Executa um comando interno da `shell'. Útil quando desejamos substituir" +#~ "Executa um comando interno do shell. Útil quando desejamos substituir" #~ msgid "shell builtin to be a function, but need the functionality of the" -#~ msgstr "um comando interno da `shell' por uma função, mas necessitamos da" +#~ msgstr "um comando interno do shell por uma função, mas necessitamos da" #~ msgid "builtin within the function itself." -#~ msgstr "funcionalidade do comando interno dentro da própria função." +#~ msgstr "funcionalidade do comando interno dentro da própria função." #~ msgid "Change the current directory to DIR. The variable $HOME is the" -#~ msgstr "Troca o diretório atual para DIR. A variável $HOME é o padrão" +#~ msgstr "Troca o diretório atual para DIR. A variável $HOME é o padrão" #~ msgid "default DIR. The variable $CDPATH defines the search path for" -#~ msgstr "para DIR. A variável $CDPATH define o caminho de procura para" +#~ msgstr "para DIR. A variável $CDPATH define o caminho de procura para" #~ msgid "the directory containing DIR. Alternative directory names in CDPATH" #~ msgstr "" -#~ "o diretório que contém DIR. Nomes de diretórios alternativos em CDPATH" +#~ "o diretório que contém DIR. Nomes de diretórios alternativos em CDPATH" #~ msgid "are separated by a colon (:). A null directory name is the same as" #~ msgstr "" -#~ "são separados por dois pontos (:). Um nome de diretório nulo é o mesmo" +#~ "são separados por dois pontos (:). Um nome de diretório nulo é o mesmo" #~ msgid "the current directory, i.e. `.'. If DIR begins with a slash (/)," -#~ msgstr "que o diretório atual, i.e. `.'. Se DIR inicia com uma barra (/)," +#~ msgstr "que o diretório atual, i.e. `.'. Se DIR inicia com uma barra (/)," #~ msgid "then $CDPATH is not used. If the directory is not found, and the" -#~ msgstr "então $CDPATH não é usado. Se o diretório não for encontrado, e a" +#~ msgstr "então $CDPATH não é usado. Se o diretório não for encontrado, e a" #~ msgid "shell option `cdable_vars' is set, then try the word as a variable" #~ msgstr "" -#~ "opção `cdable_vars' estiver definida, tentar usar DIR como um nome de" +#~ "opção `cdable_vars' estiver definida, tentar usar DIR como um nome de" #~ msgid "name. If that variable has a value, then cd to the value of that" #~ msgstr "" -#~ "variável. Se esta variável tiver valor, então `cd' para o valor desta" +#~ "variável. Se esta variável tiver valor, então `cd' para o valor desta" #~ msgid "" #~ "variable. The -P option says to use the physical directory structure" #~ msgstr "" -#~ "variável. A opção -P indica para usar a estrutura física do diretório" +#~ "variável. A opção -P indica para usar a estrutura física do diretório" #~ msgid "" #~ "instead of following symbolic links; the -L option forces symbolic links" -#~ msgstr "em vez de seguir os vínculos simbólicos; a opção -L força seguir os" +#~ msgstr "em vez de seguir os vínculos simbólicos; a opção -L força seguir os" #~ msgid "to be followed." -#~ msgstr "vínculos simbólicos." +#~ msgstr "vínculos simbólicos." #~ msgid "Print the current working directory. With the -P option, pwd prints" -#~ msgstr "Exibe o diretório atual de trabalho. Com a opção -P, `pwd' exibe" +#~ msgstr "Exibe o diretório atual de trabalho. Com a opção -P, `pwd' exibe" #~ msgid "the physical directory, without any symbolic links; the -L option" -#~ msgstr "o diretório físico, sem nenhum vínculo simbólico; a opção -L faz" +#~ msgstr "o diretório físico, sem nenhum vínculo simbólico; a opção -L faz" #~ msgid "makes pwd follow symbolic links." -#~ msgstr "com que `pwd' siga os vínculos simbólicos." +#~ msgstr "com que `pwd' siga os vínculos simbólicos." #~ msgid "" #~ "Runs COMMAND with ARGS ignoring shell functions. If you have a shell" #~ msgstr "" -#~ "Executa COMANDO com ARGs ignorando as funções da `shell'. Ex: Havendo" +#~ "Executa COMANDO com ARGs ignorando as funções da shell. Ex: Havendo" #~ msgid "function called `ls', and you wish to call the command `ls', you can" #~ msgstr "" -#~ "uma função `ls', e se for necessário executar o comando `ls', executa-se" +#~ "uma função `ls', e se for necessário executar o comando `ls', executa-se" #~ msgid "" #~ "say \"command ls\". If the -p option is given, a default value is used" #~ msgstr "" -#~ "\"command ls\". Se a opção -p for fornecida, o valor padrão é utilizado" +#~ "\"command ls\". Se a opção -p for fornecida, o valor padrão é utilizado" #~ msgid "" #~ "for PATH that is guaranteed to find all of the standard utilities. If" #~ msgstr "" -#~ "para PATH, garantindo-se o encontro de todos os utilitários padrão. Se" +#~ "para PATH, garantindo-se o encontro de todos os utilitários padrão. Se" #~ msgid "" #~ "the -V or -v option is given, a string is printed describing COMMAND." -#~ msgstr "a opção -V ou -v for fornecida, é exibida a descrição do COMANDO." +#~ msgstr "a opção -V ou -v for fornecida, é exibida a descrição do COMANDO." #~ msgid "The -V option produces a more verbose description." -#~ msgstr "A opção -V produz uma descrição mais extensa." +#~ msgstr "A opção -V produz uma descrição mais extensa." #~ msgid "Declare variables and/or give them attributes. If no NAMEs are" -#~ msgstr "Declara variáveis e/ou dá-lhes atributos. Se nenhum nome for" +#~ msgstr "Declara variáveis e/ou dá-lhes atributos. Se nenhum nome for" #~ msgid "given, then display the values of variables instead. The -p option" -#~ msgstr "fornecido, então são exibidos os valores das variáveis. A opção -p" +#~ msgstr "fornecido, então são exibidos os valores das variáveis. A opção -p" #~ msgid "will display the attributes and values of each NAME." #~ msgstr "exibe os atributos e valores para cada NOME." #~ msgid "The flags are:" -#~ msgstr "As opções são:" +#~ msgstr "As opções são:" #~ msgid " -a\tto make NAMEs arrays (if supported)" -#~ msgstr " -a\tpara tornar NOMEs matrizes (arrays), se suportado" +#~ msgstr " -a\tpara tornar NOMEs arrays, se houver suporte" #~ msgid " -f\tto select from among function names only" -#~ msgstr " -f\tpara selecionar somente entre nomes de funções" +#~ msgstr " -f\tpara selecionar somente entre nomes de funções" #~ msgid " -F\tto display function names without definitions" -#~ msgstr " -F\tpara exibir os nomes das funções omitindo suas definições" +#~ msgstr " -F\tpara exibir os nomes das funções omitindo suas definições" #~ msgid " -r\tto make NAMEs readonly" #~ msgstr " -r\tpara tornar NOMEs somente para leitura" #~ msgid " -x\tto make NAMEs export" -#~ msgstr " -x\tpara fazer a exportação de NOMEs" +#~ msgstr " -x\tpara fazer a exportação de NOMEs" #~ msgid " -i\tto make NAMEs have the `integer' attribute set" #~ msgstr " -i\tpara ativar o atributo `inteiro' em NOMEs " #~ msgid "Variables with the integer attribute have arithmetic evaluation (see" -#~ msgstr "Variáveis com atributo inteiro são avaliadas aritmeticamente (veja" +#~ msgstr "Variáveis com atributo inteiro são avaliadas aritmeticamente (veja" #~ msgid "`let') done when the variable is assigned to." -#~ msgstr "`let') quando é feita uma atribuição de valor." +#~ msgstr "`let') quando é feita uma atribuição de valor." #~ msgid "When displaying values of variables, -f displays a function's name" -#~ msgstr "Ao exibir os valores das variáveis, -f exibe o nome da função e" +#~ msgstr "Ao exibir os valores das variáveis, -f exibe o nome da função e" #~ msgid "and definition. The -F option restricts the display to function" -#~ msgstr "sua definição. A opção -F restringe a exibição ao nome da função" +#~ msgstr "sua definição. A opção -F restringe a exibição ao nome da função" #~ msgid "name only." #~ msgstr "somente." @@ -4809,23 +6357,26 @@ msgstr "" #~ msgstr "Usando `+' em vez de `-' faz o atributo ser desabilitado. Quando" #~ msgid "used in a function, makes NAMEs local, as with the `local' command." -#~ msgstr "usado em uma função, torna NOMEs local, como no comando `local'." +#~ msgstr "usado em uma função, torna NOMEs local, como no comando `local'." + +#~ msgid "Obsolete. See `declare'." +#~ msgstr "Obsoleta. Veja `declare'." #~ msgid "Create a local variable called NAME, and give it VALUE. LOCAL" -#~ msgstr "Cria uma variável local chamada NOME, e atribui VALOR. LOCAL" +#~ msgstr "Cria uma variável local chamada NOME, e atribui VALOR. LOCAL" #~ msgid "have a visible scope restricted to that function and its children." -#~ msgstr "da variável NOME fique restrito à própria função e às suas filhas." +#~ msgstr "da variável NOME fique restrito à própria função e às suas filhas." #~ msgid "Output the ARGs. If -n is specified, the trailing newline is" -#~ msgstr "Exibe ARGs. Se -n for fornecido, o caracter final de nova linha é" +#~ msgstr "Exibe ARGs. Se -n for fornecido, o caracter final de nova linha é" #~ msgid "suppressed. If the -e option is given, interpretation of the" #~ msgstr "" -#~ "suprimido. Se a opção -e for fornecida, a interpretação dos seguintes" +#~ "suprimido. Se a opção -e for fornecida, a interpretação dos seguintes" #~ msgid "following backslash-escaped characters is turned on:" -#~ msgstr "caracteres após a contrabarra é ativada:" +#~ msgstr "caracteres após a contrabarra é ativada:" #~ msgid "\t\\a\talert (bell)" #~ msgstr "\t\\a\talerta (bell)" @@ -4840,7 +6391,7 @@ msgstr "" #~ msgstr "\t\\E\to caracter de escape" #~ msgid "\t\\f\tform feed" -#~ msgstr "\t\\f\talimentação de formulário (form feed)" +#~ msgstr "\t\\f\talimentação de formulário (form feed)" #~ msgid "\t\\n\tnew line" #~ msgstr "\t\\n\tnova linha" @@ -4849,36 +6400,42 @@ msgstr "" #~ msgstr "\t\\r\tretorno de carro (cr)" #~ msgid "\t\\t\thorizontal tab" -#~ msgstr "\t\\t\ttabulação horizontal (ht)" +#~ msgstr "\t\\t\ttabulação horizontal (ht)" #~ msgid "\t\\v\tvertical tab" -#~ msgstr "\t\\v\ttabulação vertical (vt)" +#~ msgstr "\t\\v\ttabulação vertical (vt)" #~ msgid "\t\\\\\tbackslash" #~ msgstr "\t\\\\\tcontrabarra" #~ msgid "\t\\num\tthe character whose ASCII code is NUM (octal)." -#~ msgstr "\t\\num\to caracter com código ASCII igual a NUM (octal)." +#~ msgstr "\t\\num\to caracter com código ASCII igual a NUM (octal)." #~ msgid "" #~ "You can explicitly turn off the interpretation of the above characters" #~ msgstr "" -#~ "Pode-se explicitamente desabilitar a interpretação dos caracteres acima" +#~ "Pode-se explicitamente desabilitar a interpretação dos caracteres acima" #~ msgid "with the -E option." -#~ msgstr "através da opção -E." +#~ msgstr "através da opção -E." + +#~ msgid "" +#~ "Output the ARGs. If -n is specified, the trailing newline is suppressed." +#~ msgstr "" +#~ "Exibe ARGS. Se -n for fornecido, o caracter final de nova linha é " +#~ "suprimido." #~ msgid "Enable and disable builtin shell commands. This allows" #~ msgstr "" -#~ "Habilita e desabilita os comandos internos da `shell', permitindo usar" +#~ "Habilita e desabilita os comandos internos do shell, permitindo usar" #~ msgid "you to use a disk command which has the same name as a shell" #~ msgstr "" -#~ "um comando de disco que tenha o mesmo nome do comando interno da `shell'." +#~ "um comando de disco que tenha o mesmo nome do comando interno do shell." #~ msgid "builtin. If -n is used, the NAMEs become disabled; otherwise" #~ msgstr "" -#~ "Se -n for especificado, os NOMEs são desabilitados, senão os nomes são" +#~ "Se -n for especificado, os NOMEs são desabilitados, senão os nomes são" #~ msgid "NAMEs are enabled. For example, to use the `test' found on your" #~ msgstr "" @@ -4886,15 +6443,15 @@ msgstr "" #~ msgid "path instead of the shell builtin version, type `enable -n test'." #~ msgstr "" -#~ "da versão interna do comando, digite `enable -n test'. Em sistemas que" +#~ "da versão interna do comando, digite `enable -n test'. Em sistemas que" #~ msgid "On systems supporting dynamic loading, the -f option may be used" #~ msgstr "" -#~ "suportam carregamento dinâmico, pode-se usar a opção -f para carregar" +#~ "suportam carregamento dinâmico, pode-se usar a opção -f para carregar" #~ msgid "to load new builtins from the shared object FILENAME. The -d" #~ msgstr "" -#~ "novos comandos internos do objeto compartilhado ARQUIVO. A opção -d" +#~ "novos comandos internos do objeto compartilhado ARQUIVO. A opção -d" #~ msgid "option will delete a builtin previously loaded with -f. If no" #~ msgstr "" @@ -4902,301 +6459,309 @@ msgstr "" #~ msgid "non-option names are given, or the -p option is supplied, a list" #~ msgstr "" -#~ "nome for fornecido, ou se a opção -p for fornecida, uma lista de comandos" +#~ "nome for fornecido, ou se a opção -p for fornecida, uma lista de comandos" #~ msgid "of builtins is printed. The -a option means to print every builtin" #~ msgstr "" -#~ "internos é exibida. A opção -a faz com que todos os comandos internos" +#~ "internos é exibida. A opção -a faz com que todos os comandos internos" #~ msgid "with an indication of whether or not it is enabled. The -s option" -#~ msgstr "sejam exibidos indicando se estão habilitados ou não. A opção -s" +#~ msgstr "sejam exibidos indicando se estão habilitados ou não. A opção -s" #~ msgid "restricts the output to the Posix.2 `special' builtins. The -n" #~ msgstr "" -#~ "restringe a saída aos comandos internos `especiais' Posix.2. A opção" +#~ "restringe a saída aos comandos internos `especiais' Posix.2. A opção" #~ msgid "option displays a list of all disabled builtins." #~ msgstr "-n exibe a lista de todos os comandos internos desabilitados." +#~ msgid "" +#~ "Read ARGs as input to the shell and execute the resulting command(s)." +#~ msgstr "" +#~ "Ler ARGs como entrada do shell e executar o(s) comando(s) resultante(s)." + #~ msgid "Getopts is used by shell procedures to parse positional parameters." #~ msgstr "" -#~ "Getopts é utilizado pelos procedimentos da `shell' para fazer a leitura\n" -#~ " (parse) dos parâmetros posicionais." +#~ "Getopts é utilizado pelos procedimentos do shell para fazer a leitura\n" +#~ " (parse) dos parâmetros posicionais." #~ msgid "OPTSTRING contains the option letters to be recognized; if a letter" -#~ msgstr "OPÇÕES contém as letras das opções a serem reconhecidas; Se uma" +#~ msgstr "OPÇÕES contém as letras das opções a serem reconhecidas; Se uma" #~ msgid "is followed by a colon, the option is expected to have an argument," -#~ msgstr "letra é seguida por dois pontos, a opção espera a presença de um" +#~ msgstr "letra é seguida por dois pontos, a opção espera a presença de um" #~ msgid "which should be separated from it by white space." -#~ msgstr "argumento que deve ser separado dela por espaço em branco." +#~ msgstr "argumento que deve ser separado dela por espaço em branco." #~ msgid "Each time it is invoked, getopts will place the next option in the" -#~ msgstr "Cada vez que for chamada, `getopts' irá colocar a próxima opção na" +#~ msgstr "Cada vez que for chamada, `getopts' irá colocar a próxima opção na" #~ msgid "shell variable $name, initializing name if it does not exist, and" -#~ msgstr "variável da `shell' $NOME, inicializando NOME caso não exista, e o" +#~ msgstr "variável do shell $NOME, inicializando NOME caso não exista, e o" #~ msgid "the index of the next argument to be processed into the shell" -#~ msgstr "índice do próximo argumento a ser processado dentro da variável da" +#~ msgstr "índice do próximo argumento a ser processado dentro da variável da" #~ msgid "variable OPTIND. OPTIND is initialized to 1 each time the shell or" -#~ msgstr "`shell' OPTIND. OPTIND é inicializado com 1 cada vez que o script" +#~ msgstr "shell OPTIND. OPTIND é inicializado com 1 cada vez que o script" #~ msgid "a shell script is invoked. When an option requires an argument," #~ msgstr "" -#~ "da `shell' é chamado. Quando uma opção requer um argumento, `getopts'" +#~ "do shell é chamado. Quando uma opção requer um argumento, `getopts'" #~ msgid "getopts places that argument into the shell variable OPTARG." -#~ msgstr "coloca este argumento dentro da variável da `shell' OPTARG." +#~ msgstr "coloca este argumento dentro da variável do shell OPTARG." #~ msgid "getopts reports errors in one of two ways. If the first character" #~ msgstr "" #~ "`getopts' informa os erros de duas maneiras. Se o primeiro caracter de" #~ msgid "of OPTSTRING is a colon, getopts uses silent error reporting. In" -#~ msgstr "OPÇÕES for dois pontos, `getopts' usa o modo silencioso. Neste" +#~ msgstr "OPÇÕES for dois pontos, `getopts' usa o modo silencioso. Neste" #~ msgid "this mode, no error messages are printed. If an illegal option is" -#~ msgstr "modo, nenhuma mensagem de erro é exibida. Se uma opção ilegal for" +#~ msgstr "modo, nenhuma mensagem de erro é exibida. Se uma opção ilegal for" #~ msgid "seen, getopts places the option character found into OPTARG. If a" -#~ msgstr "encontrada, `getopts' coloca o caracter da opção em OPTARG. Se um" +#~ msgstr "encontrada, `getopts' coloca o caracter da opção em OPTARG. Se um" #~ msgid "required argument is not found, getopts places a ':' into NAME and" #~ msgstr "" -#~ "argumento requerido não for encontrado, `getopts' coloca ':' em NOME e" +#~ "argumento requerido não for encontrado, `getopts' coloca ':' em NOME e" #~ msgid "sets OPTARG to the option character found. If getopts is not in" #~ msgstr "" -#~ "atribui a OPTARG o caracter de opção encontrado. Se `getopts' não está em" +#~ "atribui a OPTARG o caracter de opção encontrado. Se `getopts' não está em" #~ msgid "silent mode, and an illegal option is seen, getopts places '?' into" #~ msgstr "" -#~ "modo silencioso, e uma opção ilegal é encontrada, `getopts' coloca '?' em" +#~ "modo silencioso, e uma opção ilegal é encontrada, `getopts' coloca '?' em" #~ msgid "NAME and unsets OPTARG. If a required option is not found, a '?'" #~ msgstr "" -#~ "NOME e desativa OPTARG. Se uma opção requerida não é encontrada, uma '?'" +#~ "NOME e desativa OPTARG. Se uma opção requerida não é encontrada, uma '?'" #~ msgid "is placed in NAME, OPTARG is unset, and a diagnostic message is" #~ msgstr "" -#~ "é colocada em NOME, OPTARG é desativado, e uma mensagem de diagnóstico é" +#~ "é colocada em NOME, OPTARG é desativado, e uma mensagem de diagnóstico é" + +#~ msgid "printed." +#~ msgstr "exibida." #~ msgid "If the shell variable OPTERR has the value 0, getopts disables the" -#~ msgstr "" -#~ "Se a variável da `shell' OPTERR tem o valor 0, `getopts' desabilita a" +#~ msgstr "Se a variável do shell OPTERR tem o valor 0, `getopts' desabilita a" #~ msgid "printing of error messages, even if the first character of" -#~ msgstr "exibição de mensagens de erro, mesmo que o primeiro caracter de" +#~ msgstr "exibição de mensagens de erro, mesmo que o primeiro caracter de" #~ msgid "OPTSTRING is not a colon. OPTERR has the value 1 by default." -#~ msgstr "OPTSTRING não seja dois pontos. OPTERR tem o valor 1 por padrão." +#~ msgstr "OPTSTRING não seja dois pontos. OPTERR tem o valor 1 por padrão." #~ msgid "Getopts normally parses the positional parameters ($0 - $9), but if" #~ msgstr "" -#~ "`getopts' normalmente faz a leitura dos parãmetros posicionais ($0 - $9)," +#~ "`getopts' normalmente faz a leitura dos parãmetros posicionais ($0 - $9)," #~ msgid "more arguments are given, they are parsed instead." -#~ msgstr "mas, se mais argumentos forem fornecidos, então estes são lidos." +#~ msgstr "mas, se mais argumentos forem fornecidos, então estes são lidos." #~ msgid "Exec FILE, replacing this shell with the specified program." #~ msgstr "" -#~ "Executa ARQUIVO, substituindo esta `shell' pelo programa especificado." +#~ "Executa ARQUIVO, substituindo esta shell pelo programa especificado." #~ msgid "If FILE is not specified, the redirections take effect in this" #~ msgstr "" -#~ "Se ARQUIVO não for especificado, os redirecionamentos são efetivados" +#~ "Se ARQUIVO não for especificado, os redirecionamentos são efetivados" #~ msgid "shell. If the first argument is `-l', then place a dash in the" -#~ msgstr "" -#~ "nesta `shell'. Se o primeiro argumento for `-l', coloca um hífen no" +#~ msgstr "neste shell. Se o primeiro argumento for `-l', coloca um hífen no" #~ msgid "zeroth arg passed to FILE, as login does. If the `-c' option" -#~ msgstr "argumento `0' passado para ARQUIVO, como no login. Se a opção `-c'" +#~ msgstr "argumento `0' passado para ARQUIVO, como no login. Se a opção `-c'" #~ msgid "is supplied, FILE is executed with a null environment. The `-a'" -#~ msgstr "for fornecida, ARQUIVO é executado com um ambiente nulo. A opção" +#~ msgstr "for fornecida, ARQUIVO é executado com um ambiente nulo. A opção" #~ msgid "option means to make set argv[0] of the executed process to NAME." #~ msgstr "`-a' significa atribuir NOME para argv[0] do processo executado." #~ msgid "If the file cannot be executed and the shell is not interactive," -#~ msgstr "" -#~ "Se o arquivo não puder ser executado e a `shell' não for interativa," +#~ msgstr "Se o arquivo não puder ser executado e o shell não for interativa," #~ msgid "then the shell exits, unless the variable \"no_exit_on_failed_exec\"" #~ msgstr "" -#~ "então a `shell' termina, a menos que a variável \"no_exit_on_failed_exec\"" +#~ "então o shell termina, a menos que a variável \"no_exit_on_failed_exec\"" #~ msgid "is set." #~ msgstr "esteja inicializada." #~ msgid "is that of the last command executed." -#~ msgstr "de saída é igual ao do último comando executado." +#~ msgstr "de saída é igual ao do último comando executado." #~ msgid "" #~ "FIRST and LAST can be numbers specifying the range, or FIRST can be a" -#~ msgstr "PRIMEIRO e ÚLTIMO podem ser números especificando o intervalo, ou" +#~ msgstr "PRIMEIRO e ÚLTIMO podem ser números especificando o intervalo, ou" #~ msgid "string, which means the most recent command beginning with that" #~ msgstr "PRIMEIRO pode ser uma cadeia de caracteres, representando o comando" #~ msgid "string." -#~ msgstr "mais recente começado por estes caracteres." +#~ msgstr "mais recente começado por estes caracteres." #~ msgid "" #~ " -e ENAME selects which editor to use. Default is FCEDIT, then EDITOR," #~ msgstr "" -#~ " -e EDITOR seleciona qual editor usar. O padrão é FCEDIT, depois " +#~ " -e EDITOR seleciona qual editor usar. O padrão é FCEDIT, depois " #~ "EDITOR," #~ msgid "" #~ " then the editor which corresponds to the current readline editing" #~ msgstr "" -#~ " depois o editor correspondente ao modo de edição atual da leitura" +#~ " depois o editor correspondente ao modo de edição atual da leitura" #~ msgid " mode, then vi." #~ msgstr " de linha, e depois o vi." #~ msgid " -l means list lines instead of editing." -#~ msgstr " -l indica para listar as linha em vez de editá-las." +#~ msgstr " -l indica para listar as linha em vez de editá-las." #~ msgid " -n means no line numbers listed." -#~ msgstr " -n indica para não listar os números das linhas." +#~ msgstr " -n indica para não listar os números das linhas." #~ msgid "" #~ " -r means reverse the order of the lines (making it newest listed " #~ "first)." #~ msgstr "" -#~ " -r faz reverter a ordem das linhas (a última torna-se a primeira)." +#~ " -r faz reverter a ordem das linhas (a última torna-se a primeira)." #~ msgid "With the `fc -s [pat=rep ...] [command]' format, the command is" #~ msgstr "" -#~ "No formato `fc -s [ANTIGO=NOVO ...] [COMANDO]', o comando é executado" +#~ "No formato `fc -s [ANTIGO=NOVO ...] [COMANDO]', o comando é executado" #~ msgid "re-executed after the substitution OLD=NEW is performed." -#~ msgstr "novamente após a substituição de ANTIGO por NOVO ser realizada." +#~ msgstr "novamente após a substituição de ANTIGO por NOVO ser realizada." #~ msgid "A useful alias to use with this is r='fc -s', so that typing `r cc'" #~ msgstr "" -#~ "Um alias útil a ser usado é r='fc -s' para que, ao se digitar `r cc'," +#~ "Um alias útil a ser usado é r='fc -s' para que, ao se digitar `r cc'," #~ msgid "runs the last command beginning with `cc' and typing `r' re-executes" -#~ msgstr "seja executado o último comando começado por `cc' e, ao se digitar" +#~ msgstr "seja executado o último comando começado por `cc' e, ao se digitar" + +#~ msgid "Place JOB_SPEC in the foreground, and make it the current job. If" +#~ msgstr "" +#~ "Colocar JOB-ESPECIFICADO no primeiro plano, e torná-lo o trabalho atual." #~ msgid "JOB_SPEC is not present, the shell's notion of the current job is" #~ msgstr "" -#~ "Se JOB-ESPECIFICADO não estiver presente, a noção da `shell' do trabalho" +#~ "Se JOB-ESPECIFICADO não estiver presente, a noção do shell do trabalho" #~ msgid "used." -#~ msgstr "atual é utilizada." +#~ msgstr "atual é utilizada." #~ msgid "Place JOB_SPEC in the background, as if it had been started with" #~ msgstr "" #~ "Colocar JOB-ESPECIFICADO no segundo plano, como se tivesse sido ativado" #~ msgid "`&'. If JOB_SPEC is not present, the shell's notion of the current" -#~ msgstr "" -#~ "com `&'. Se JOB-ESPECIFICADO não estiver presente, a noção da `shell'" +#~ msgstr "com `&'. Se JOB-ESPECIFICADO não estiver presente, a noção do shell" #~ msgid "job is used." -#~ msgstr "do trabalho atual é utilizada." +#~ msgstr "do trabalho atual é utilizada." #~ msgid "For each NAME, the full pathname of the command is determined and" #~ msgstr "" -#~ "Para cada NOME, o caminho completo do comando é determinado e lembrado." +#~ "Para cada NOME, o caminho completo do comando é determinado e lembrado." #~ msgid "remembered. If the -p option is supplied, PATHNAME is used as the" #~ msgstr "" -#~ "Se a opção -p for fornecida, CAMINHO é utilizado como o caminho completo" +#~ "Se a opção -p for fornecida, CAMINHO é utilizado como o caminho completo" #~ msgid "full pathname of NAME, and no path search is performed. The -r" -#~ msgstr "para NOME, e nenhuma procura de caminho é realizada. A opção -r" +#~ msgstr "para NOME, e nenhuma procura de caminho é realizada. A opção -r" #~ msgid "option causes the shell to forget all remembered locations. If no" #~ msgstr "" -#~ "faz com que a `shell' esqueça todas as localizações lembradas. Sem nenhum" +#~ "faz com que a shell esqueça todas as localizações lembradas. Sem nenhum" #~ msgid "" #~ "arguments are given, information about remembered commands is displayed." -#~ msgstr "argumento, as informações sobre os comandos lembrados são exibidas." +#~ msgstr "argumento, as informações sobre os comandos lembrados são exibidas." #~ msgid "Display helpful information about builtin commands. If PATTERN is" -#~ msgstr "Exibe informações úteis sobre os comandos internos. Se PADRÃO for" +#~ msgstr "Exibe informações úteis sobre os comandos internos. Se PADRÃO for" #~ msgid "specified, gives detailed help on all commands matching PATTERN," #~ msgstr "especificado, fornece ajuda detalhada para todos os comandos que" #~ msgid "otherwise a list of the builtins is printed." #~ msgstr "" -#~ "correspondem ao PADRÃO, senão a lista dos comandos internos é exibida." +#~ "correspondem ao PADRÃO, senão a lista dos comandos internos é exibida." #~ msgid "Display the history list with line numbers. Lines listed with" #~ msgstr "" -#~ "Exibe a lista histórica com os números das linhas. Linhas contendo um" +#~ "Exibe a lista histórica com os números das linhas. Linhas contendo um" #~ msgid "with a `*' have been modified. Argument of N says to list only" -#~ msgstr "`*' foram modificadas. O argumento N faz listar somente as últimas" +#~ msgstr "`*' foram modificadas. O argumento N faz listar somente as últimas" #~ msgid "the last N lines. The -c option causes the history list to be" -#~ msgstr "N linhas. A opção -c faz com que a lista histórica seja apagada" +#~ msgstr "N linhas. A opção -c faz com que a lista histórica seja apagada" #~ msgid "" #~ "cleared by deleting all of the entries. The `-w' option writes out the" #~ msgstr "" -#~ "removendo todas as entradas. A opção `-w' escreve o histórico atual no" +#~ "removendo todas as entradas. A opção `-w' escreve o histórico atual no" #~ msgid "" #~ "current history to the history file; `-r' means to read the file and" #~ msgstr "" -#~ "arquivo de histórico; A opção `-r' significa ler o arquivo e apensar seu" +#~ "arquivo de histórico; A opção `-r' significa ler o arquivo e apensar seu" #~ msgid "append the contents to the history list instead. `-a' means" #~ msgstr "" -#~ "conteúdo à lista histórica. A opção `-a' significa apensar as linhas de" +#~ "conteúdo à lista histórica. A opção `-a' significa apensar as linhas de" #~ msgid "to append history lines from this session to the history file." -#~ msgstr "histórico desta sessão ao arquivo de histórico." +#~ msgstr "histórico desta sessão ao arquivo de histórico." #~ msgid "Argument `-n' means to read all history lines not already read" -#~ msgstr "A opção `-n' faz ler todas as linhas de histórico ainda não lidas" +#~ msgstr "A opção `-n' faz ler todas as linhas de histórico ainda não lidas" #~ msgid "from the history file and append them to the history list. If" #~ msgstr "" -#~ "do arquivo histórico, e apensá-las à lista de histórico. Se ARQUIVO" +#~ "do arquivo histórico, e apensá-las à lista de histórico. Se ARQUIVO" #~ msgid "FILENAME is given, then that is used as the history file else" -#~ msgstr "for fornecido, então este é usado como arquivo de histórico, senão" +#~ msgstr "for fornecido, então este é usado como arquivo de histórico, senão" #~ msgid "if $HISTFILE has a value, that is used, else ~/.bash_history." #~ msgstr "" -#~ "se $HISTFILE possui valor, este é usado, senão ~/.bash_history. Se a" +#~ "se $HISTFILE possui valor, este é usado, senão ~/.bash_history. Se a" #~ msgid "If the -s option is supplied, the non-option ARGs are appended to" #~ msgstr "" -#~ "opção -s for fornecida, os ARGs, que não forem opções, são apensados à" +#~ "opção -s for fornecida, os ARGs, que não forem opções, são apensados à" #~ msgid "the history list as a single entry. The -p option means to perform" #~ msgstr "" -#~ "lista histórica como uma única entrada. A opção -p significa realizar a" +#~ "lista histórica como uma única entrada. A opção -p significa realizar a" #~ msgid "" #~ "history expansion on each ARG and display the result, without storing" #~ msgstr "" -#~ "expansão da história em cada ARG e exibir o resultado, sem armazenar" +#~ "expansão da história em cada ARG e exibir o resultado, sem armazenar" #~ msgid "anything in the history list." -#~ msgstr "nada na lista de histórico." +#~ msgstr "nada na lista de histórico." #~ msgid "Lists the active jobs. The -l option lists process id's in addition" #~ msgstr "" -#~ "Lista os trabalhos ativos. A opção -l lista os ID's dos processos além" +#~ "Lista os trabalhos ativos. A opção -l lista os ID's dos processos além" #~ msgid "to the normal information; the -p option lists process id's only." #~ msgstr "" -#~ "das informações usuais; a opção -p lista somente os ID's dos processos." +#~ "das informações usuais; a opção -p lista somente os ID's dos processos." #~ msgid "" #~ "If -n is given, only processes that have changed status since the last" @@ -5206,29 +6771,29 @@ msgstr "" #~ msgid "" #~ "notification are printed. JOBSPEC restricts output to that job. The" #~ msgstr "" -#~ "última notificação são exibidos. JOB-ESPECIFICADO restringe a saída a " +#~ "última notificação são exibidos. JOB-ESPECIFICADO restringe a saída a " #~ "este" #~ msgid "-r and -s options restrict output to running and stopped jobs only," #~ msgstr "" -#~ "trabalho. As opções -r e -s restringem a saída apenas aos trabalhos" +#~ "trabalho. As opções -r e -s restringem a saída apenas aos trabalhos" #~ msgid "respectively. Without options, the status of all active jobs is" #~ msgstr "" -#~ "executando e parados, respectivamente. Sem opções, o status de todos os" +#~ "executando e parados, respectivamente. Sem opções, o status de todos os" #~ msgid "" #~ "printed. If -x is given, COMMAND is run after all job specifications" #~ msgstr "" -#~ "trabalhos ativos são exibidos. Se -x for fornecido, COMANDO é executado" +#~ "trabalhos ativos são exibidos. Se -x for fornecido, COMANDO é executado" #~ msgid "" #~ "that appear in ARGS have been replaced with the process ID of that job's" #~ msgstr "" -#~ "após todas as especificações de trabalho que aparecem em ARGS terem sido" +#~ "após todas as especificações de trabalho que aparecem em ARGS terem sido" #~ msgid "process group leader." -#~ msgstr "substituídas pelo ID do processo líder deste grupo de processos." +#~ msgstr "substituídas pelo ID do processo líder deste grupo de processos." #~ msgid "Removes each JOBSPEC argument from the table of active jobs." #~ msgstr "" @@ -5241,19 +6806,19 @@ msgstr "" #~ msgid "" #~ "SIGSPEC is not present, then SIGTERM is assumed. An argument of `-l'" #~ msgstr "" -#~ "SIGSPEC não estiver presente, então SIGTERM é assumido. A opção `-l'" +#~ "SIGSPEC não estiver presente, então SIGTERM é assumido. A opção `-l'" #~ msgid "lists the signal names; if arguments follow `-l' they are assumed to" #~ msgstr "" -#~ "lista os nomes dos sinais; havendo argumentos após `-l', são assumidos" +#~ "lista os nomes dos sinais; havendo argumentos após `-l', são assumidos" #~ msgid "be signal numbers for which names should be listed. Kill is a shell" #~ msgstr "" -#~ "como sendo os números dos sinais cujos nomes devem ser exibidos. Kill" +#~ "como sendo os números dos sinais cujos nomes devem ser exibidos. Kill" #~ msgid "builtin for two reasons: it allows job IDs to be used instead of" #~ msgstr "" -#~ "é um comando interno por duas razões: permite o uso do ID do trabalho em" +#~ "é um comando interno por duas razões: permite o uso do ID do trabalho em" #~ msgid "process IDs, and, if you have reached the limit on processes that" #~ msgstr "" @@ -5263,41 +6828,41 @@ msgstr "" #~ msgid "" #~ "you can create, you don't have to start a process to kill another one." #~ msgstr "" -#~ "podem ser criados, não é necessário um novo processo para remover outro." +#~ "podem ser criados, não é necessário um novo processo para remover outro." #~ msgid "Each ARG is an arithmetic expression to be evaluated. Evaluation" -#~ msgstr "Cada ARG é uma expressão aritmética a ser avaliada. A avaliação é" +#~ msgstr "Cada ARG é uma expressão aritmética a ser avaliada. A avaliação é" #~ msgid "is done in long integers with no check for overflow, though division" #~ msgstr "" -#~ "feita usando inteiros longos sem verificar estouro, embora a divisão" +#~ "feita usando inteiros longos sem verificar estouro, embora a divisão" #~ msgid "by 0 is trapped and flagged as an error. The following list of" -#~ msgstr "por 0 seja capturada e indicada como erro. A lista abaixo está" +#~ msgstr "por 0 seja capturada e indicada como erro. A lista abaixo está" #~ msgid "operators is grouped into levels of equal-precedence operators." -#~ msgstr "grupada em níveis de igual de precedência dos operadores." +#~ msgstr "grupada em níveis de igual de precedência dos operadores." #~ msgid "The levels are listed in order of decreasing precedence." -#~ msgstr "Os níveis estão listados em ordem decrescente de precedência." +#~ msgstr "Os níveis estão listados em ordem decrescente de precedência." #~ msgid "\t-, +\t\tunary minus, plus" -#~ msgstr "\t-, +\t\tmenos, mais unários" +#~ msgstr "\t-, +\t\tmenos, mais unários" #~ msgid "\t!, ~\t\tlogical and bitwise negation" -#~ msgstr "\t!, ~\t\tnegação lógica e bit a bit" +#~ msgstr "\t!, ~\t\tnegação lógica e bit a bit" #~ msgid "\t*, /, %\t\tmultiplication, division, remainder" -#~ msgstr "\t*, /, %\t\tmultiplicação, divisão, resto" +#~ msgstr "\t*, /, %\t\tmultiplicação, divisão, resto" #~ msgid "\t+, -\t\taddition, subtraction" -#~ msgstr "\t+, -\t\tadição, subtração" +#~ msgstr "\t+, -\t\tadição, subtração" #~ msgid "\t<<, >>\t\tleft and right bitwise shifts" -#~ msgstr "\t<<, >>\t\tdeslocamento à esquerda e à direita bit a bit" +#~ msgstr "\t<<, >>\t\tdeslocamento à esquerda e à direita bit a bit" #~ msgid "\t<=, >=, <, >\tcomparison" -#~ msgstr "\t<=, >=, <, >\tcomparação" +#~ msgstr "\t<=, >=, <, >\tcomparação" #~ msgid "\t==, !=\t\tequality, inequality" #~ msgstr "\t==, !=\t\tigualdade, desigualdade" @@ -5312,16 +6877,16 @@ msgstr "" #~ msgstr "\t|\t\tOU Inclusivo (OR) bit a bit" #~ msgid "\t&&\t\tlogical AND" -#~ msgstr "\t&&\t\tE lógico" +#~ msgstr "\t&&\t\tE lógico" #~ msgid "\t||\t\tlogical OR" -#~ msgstr "\t||\t\tOU lógico" +#~ msgstr "\t||\t\tOU lógico" #~ msgid "\texpr ? expr : expr" #~ msgstr "\texpr ? expr : expr" #~ msgid "\t\t\tconditional expression" -#~ msgstr "\t\t\texpressão condicional" +#~ msgstr "\t\t\texpressão condicional" #~ msgid "\t=, *=, /=, %=," #~ msgstr "\t=, *=, /=, %=," @@ -5330,134 +6895,138 @@ msgstr "" #~ msgstr "\t+=, -=, <<=, >>=," #~ msgid "\t&=, ^=, |=\tassignment" -#~ msgstr "\t&=, ^=, |=\tatribuição" +#~ msgstr "\t&=, ^=, |=\tatribuição" #~ msgid "is replaced by its value (coerced to a long integer) within" -#~ msgstr "substituído pelo seu valor (convertido em inteiro longo) dentro" +#~ msgstr "substituído pelo seu valor (convertido em inteiro longo) dentro" #~ msgid "an expression. The variable need not have its integer attribute" -#~ msgstr "da expressão. A variável não precisa ter seu atributo inteiro" +#~ msgstr "da expressão. A variável não precisa ter seu atributo inteiro" #~ msgid "turned on to be used in an expression." -#~ msgstr "ativo para ser usada em uma expressão." +#~ msgstr "ativo para ser usada em uma expressão." #~ msgid "Operators are evaluated in order of precedence. Sub-expressions in" #~ msgstr "" -#~ "Os operadores são avaliados em ordem de precedência. Sub-expressões" +#~ "Os operadores são avaliados em ordem de precedência. Sub-expressões" #~ msgid "parentheses are evaluated first and may override the precedence" -#~ msgstr "entre parênteses são avaliadas primeiro e podem prevalecer sobre as" +#~ msgstr "entre parênteses são avaliadas primeiro e podem prevalecer sobre as" #~ msgid "rules above." -#~ msgstr "regras de precedência anteriores." +#~ msgstr "regras de precedência anteriores." #~ msgid "If the last ARG evaluates to 0, let returns 1; 0 is returned" -#~ msgstr "Se o último argumento for avaliado como 0, `let' retorna 1, caso" +#~ msgstr "Se o último argumento for avaliado como 0, `let' retorna 1, caso" #~ msgid "otherwise." -#~ msgstr "contrário, retorna 0." +#~ msgstr "contrário, retorna 0." #~ msgid "One line is read from the standard input, and the first word is" -#~ msgstr "Uma linha é lida a partir da entrada padrão, e a primeira palavra é" +#~ msgstr "Uma linha é lida a partir da entrada padrão, e a primeira palavra é" #~ msgid "" #~ "assigned to the first NAME, the second word to the second NAME, and so" #~ msgstr "" -#~ "atribuída ao primeiro NOME, a segunda ao segundo NOME, e assim por diante," +#~ "atribuída ao primeiro NOME, a segunda ao segundo NOME, e assim por diante," #~ msgid "" #~ "on, with leftover words assigned to the last NAME. Only the characters" #~ msgstr "" -#~ "com as palavras restantes atribuídas ao último NOME. Somente os " +#~ "com as palavras restantes atribuídas ao último NOME. Somente os " #~ "caracteres" #~ msgid "found in $IFS are recognized as word delimiters. The return code is" #~ msgstr "" -#~ "encontrados em $IFS são reconhecidos como delimitadores. O código de " +#~ "encontrados em $IFS são reconhecidos como delimitadores. O código de " #~ "retorno" #~ msgid "" #~ "zero, unless end-of-file is encountered. If no NAMEs are supplied, the" #~ msgstr "" -#~ "é zero, a menos que EOF seja encontrado. Se nenhum NOME for fornecido," +#~ "é zero, a menos que EOF seja encontrado. Se nenhum NOME for fornecido," #~ msgid "" #~ "line read is stored in the REPLY variable. If the -r option is given," #~ msgstr "" -#~ "a linha lida é armazenada na variável REPLY. Se a opção -r for fornecida," +#~ "a linha lida é armazenada na variável REPLY. Se a opção -r for fornecida," #~ msgid "this signifies `raw' input, and backslash escaping is disabled. If" #~ msgstr "" -#~ "significa entrada `textual', desabilitando a interpretação da contrabarra." +#~ "significa entrada `textual', desabilitando a interpretação da contrabarra." #~ msgid "the `-p' option is supplied, the string supplied as an argument is" #~ msgstr "" -#~ "Se a opção `-p' for fornecida a MENSAGEM fornecida como argumento é " +#~ "Se a opção `-p' for fornecida a MENSAGEM fornecida como argumento é " #~ "exibida," #~ msgid "" #~ "output without a trailing newline before attempting to read. If -a is" #~ msgstr "" -#~ "sem o caracter de nova linha, antes de efetuar a leitura. Se a opção -a" +#~ "sem o caracter de nova linha, antes de efetuar a leitura. Se a opção -a" #~ msgid "" #~ "supplied, the words read are assigned to sequential indices of ARRAY," #~ msgstr "" -#~ "for fornecida, as palavras lidas são atribuídas aos índices seqüenciais" +#~ "for fornecida, as palavras lidas são atribuídas aos índices seqüenciais" #~ msgid "starting at zero. If -e is supplied and the shell is interactive," #~ msgstr "" -#~ "da MATRIZ, começando por zero. Se a opção -e for fornecida, e a shell for" +#~ "do ARRAY, começando por zero. Se a opção -e for fornecida, e a shell for" #~ msgid "readline is used to obtain the line." -#~ msgstr "interativa, `readline' é utilizado para ler a linha." +#~ msgstr "interativa, `readline' é utilizado para ler a linha." + +#~ msgid "" +#~ "Causes a function to exit with the return value specified by N. If N" +#~ msgstr "Faz a função terminar com o valor de retorno especificado por N." #~ msgid "is omitted, the return status is that of the last command." -#~ msgstr "Se N for omitido, retorna o status do último comando executado." +#~ msgstr "Se N for omitido, retorna o status do último comando executado." #~ msgid " -a Mark variables which are modified or created for export." #~ msgstr "" -#~ " -a Marcar para exportação as variáveis que são criadas ou " +#~ " -a Marcar para exportação as variáveis que são criadas ou " #~ "modificadas." #~ msgid " -b Notify of job termination immediately." -#~ msgstr " -b Notificar imediatamente o término do trabalho." +#~ msgstr " -b Notificar imediatamente o término do trabalho." #~ msgid " -e Exit immediately if a command exits with a non-zero status." #~ msgstr "" #~ " -e Terminar imediatamente se um comando terminar com status != 0." #~ msgid " -f Disable file name generation (globbing)." -#~ msgstr " -f Desabilitar a geração de nome de arquivo (metacaracteres)." +#~ msgstr " -f Desabilitar a geração de nome de arquivo (metacaracteres)." #~ msgid " -h Remember the location of commands as they are looked up." -#~ msgstr " -h Lembrar da localização dos comandos ao procurá-los." +#~ msgstr " -h Lembrar da localização dos comandos ao procurá-los." #~ msgid "" #~ " -i Force the shell to be an \"interactive\" one. Interactive shells" -#~ msgstr " -i Forçar a `shell' ser do tipo \"interativa\". `Shells'" +#~ msgstr " -i Forçar a shell ser do tipo \"interativa\". `Shells'" #~ msgid " always read `~/.bashrc' on startup." -#~ msgstr " interativas sempre lêem `~/.bashrc' ao iniciar." +#~ msgstr " interativas sempre lêem `~/.bashrc' ao iniciar." #~ msgid " -k All assignment arguments are placed in the environment for a" #~ msgstr "" -#~ " -k Todos os argumentos de atribuição são colocados no ambiente," +#~ " -k Todos os argumentos de atribuição são colocados no ambiente," #~ msgid " command, not just those that precede the command name." -#~ msgstr " e não somente os que precedem o nome do comando." +#~ msgstr " e não somente os que precedem o nome do comando." #~ msgid " -m Job control is enabled." -#~ msgstr " -m O controle de trabalho está habilitado." +#~ msgstr " -m O controle de trabalho está habilitado." #~ msgid " -n Read commands but do not execute them." -#~ msgstr " -n Ler os comandos, mas não executá-los." +#~ msgstr " -n Ler os comandos, mas não executá-los." #~ msgid " -o option-name" -#~ msgstr " -o NOME-DA-OPÇÃO" +#~ msgstr " -o NOME-DA-OPÇÃO" #~ msgid " Set the variable corresponding to option-name:" -#~ msgstr " Inicializar a variável correspondente ao nome da opção:" +#~ msgstr " Inicializar a variável correspondente ao nome da opção:" #~ msgid " allexport same as -a" #~ msgstr " allexport o mesmo que -a" @@ -5467,7 +7036,7 @@ msgstr "" #~ msgid " emacs use an emacs-style line editing interface" #~ msgstr "" -#~ " emacs usar interface de edição de linha estilo emacs" +#~ " emacs usar interface de edição de linha estilo emacs" #~ msgid " errexit same as -e" #~ msgstr " errexit o mesmo que -e" @@ -5479,7 +7048,7 @@ msgstr "" #~ msgstr " histexpand o mesmo que -H" #~ msgid " ignoreeof the shell will not exit upon reading EOF" -#~ msgstr " ignoreeof a `shell' não termina após ler EOF" +#~ msgstr " ignoreeof a shell não termina após ler EOF" #~ msgid " interactive-comments" #~ msgstr " interactive-comments" @@ -5487,7 +7056,7 @@ msgstr "" #~ msgid "" #~ " allow comments to appear in interactive commands" #~ msgstr "" -#~ " permite comentários em comandos interativos" +#~ " permite comentários em comandos interativos" #~ msgid " keyword same as -k" #~ msgstr " keyword o mesmo que -k" @@ -5519,15 +7088,15 @@ msgstr "" #~ msgid "" #~ " posix change the behavior of bash where the default" #~ msgstr "" -#~ " posix mudar o comportamento do `bash' onde o padrão" +#~ " posix mudar o comportamento do `bash' onde o padrão" #~ msgid "" #~ " operation differs from the 1003.2 standard to" #~ msgstr "" -#~ " for diferente do padrão 1003.2, para tornar" +#~ " for diferente do padrão 1003.2, para tornar" #~ msgid " match the standard" -#~ msgstr " igual ao padrão" +#~ msgstr " igual ao padrão" #~ msgid " privileged same as -p" #~ msgstr " privileged o mesmo que -p" @@ -5537,7 +7106,7 @@ msgstr "" #~ msgid " vi use a vi-style line editing interface" #~ msgstr "" -#~ " vi usar interface de edição de linha estilo vi" +#~ " vi usar interface de edição de linha estilo vi" #~ msgid " xtrace same as -x" #~ msgstr " xtrace o mesmo que -x" @@ -5545,132 +7114,132 @@ msgstr "" #~ msgid "" #~ " -p Turned on whenever the real and effective user ids do not match." #~ msgstr "" -#~ " -p Habilitado sempre que o usuário real e efetivo forem diferentes." +#~ " -p Habilitado sempre que o usuário real e efetivo forem diferentes." #~ msgid " Disables processing of the $ENV file and importing of shell" #~ msgstr "" -#~ " Desabilita o processamento do arquivo $ENV e importação das " -#~ "funções" +#~ " Desabilita o processamento do arquivo $ENV e importação das " +#~ "funções" #~ msgid "" #~ " functions. Turning this option off causes the effective uid and" #~ msgstr "" -#~ " da `shell'. Desabilitando esta opção faz com que o `uid' e `gid'" +#~ " da shell. Desabilitando esta opção faz com que o `uid' e `gid'" #~ msgid " gid to be set to the real uid and gid." #~ msgstr " efetivos sejam feitos o mesmo que o `uid' e `gid' reais." #~ msgid " -t Exit after reading and executing one command." -#~ msgstr " -t Sair após ler e executar um comando." +#~ msgstr " -t Sair após ler e executar um comando." #~ msgid " -u Treat unset variables as an error when substituting." #~ msgstr "" -#~ " -u Tratar como erro as variáveis não inicializadas na substituição." +#~ " -u Tratar como erro as variáveis não inicializadas na substituição." #~ msgid " -v Print shell input lines as they are read." -#~ msgstr " -v Exibir as linhas de entrada da `shell' ao lê-las." +#~ msgstr " -v Exibir as linhas de entrada da shell ao lê-las." #~ msgid " -x Print commands and their arguments as they are executed." -#~ msgstr " -x Exibir os comandos e seus argumentos ao executá-los." +#~ msgstr " -x Exibir os comandos e seus argumentos ao executá-los." #~ msgid " -B the shell will perform brace expansion" -#~ msgstr " -B a `shell' irá realizar a expansão das chaves {}" +#~ msgstr " -B a shell irá realizar a expansão das chaves {}" #~ msgid " -H Enable ! style history substitution. This flag is on" -#~ msgstr " -H Habilitar o estilo ! para substituição do histórico." +#~ msgstr " -H Habilitar o estilo ! para substituição do histórico." #~ msgid " by default." -#~ msgstr " Esta opção está ativa por padrão." +#~ msgstr " Esta opção está ativa por padrão." #~ msgid " -C If set, disallow existing regular files to be overwritten" -#~ msgstr " -C Não permite que arquivos regulares existentes sejam" +#~ msgstr " -C Não permite que arquivos regulares existentes sejam" #~ msgid " by redirection of output." -#~ msgstr " sobrescritos pelo redirecionamento da saída." +#~ msgstr " sobrescritos pelo redirecionamento da saída." #~ msgid " -P If set, do not follow symbolic links when executing commands" -#~ msgstr " -P Não seguir os vínculos simbólicos ao executar comandos," +#~ msgstr " -P Não seguir os vínculos simbólicos ao executar comandos," #~ msgid " such as cd which change the current directory." -#~ msgstr " tais como `cd', que troca o diretório atual." +#~ msgstr " tais como `cd', que troca o diretório atual." #~ msgid "Using + rather than - causes these flags to be turned off. The" -#~ msgstr "Usando + em vez de - faz com que as opções sejam desabilitadas. As" +#~ msgstr "Usando + em vez de - faz com que as opções sejam desabilitadas. As" #~ msgid "flags can also be used upon invocation of the shell. The current" #~ msgstr "" -#~ "opções também podem ser usadas na chamada da `shell'. O conjunto atual" +#~ "opções também podem ser usadas na chamada da shell. O conjunto atual" #~ msgid "" #~ "set of flags may be found in $-. The remaining n ARGs are positional" #~ msgstr "" -#~ "de opções pode ser encontrado em $-. Os n ARGs restantes são parâmetros" +#~ "de opções pode ser encontrado em $-. Os n ARGs restantes são parâmetros" #~ msgid "parameters and are assigned, in order, to $1, $2, .. $n. If no" -#~ msgstr "posicionais e são atribuídos, em ordem, a $1, $2, .. $n. Se nenhum" +#~ msgstr "posicionais e são atribuídos, em ordem, a $1, $2, .. $n. Se nenhum" #~ msgid "ARGs are given, all shell variables are printed." -#~ msgstr "ARG for fornecido, todas as variáveis da `shell' são exibidas." +#~ msgstr "ARG for fornecido, todas as variáveis da shell são exibidas." #~ msgid "For each NAME, remove the corresponding variable or function. Given" #~ msgstr "" -#~ "Para cada NOME, remove a variável ou a função correspondente. Usando-se a" +#~ "Para cada NOME, remove a variável ou a função correspondente. Usando-se a" #~ msgid "the `-v', unset will only act on variables. Given the `-f' flag," #~ msgstr "" -#~ "opção `-v', `unset' atua somente nas variáveis. Usando-se a opção `-f'" +#~ "opção `-v', `unset' atua somente nas variáveis. Usando-se a opção `-f'" #~ msgid "unset will only act on functions. With neither flag, unset first" -#~ msgstr "`unset' atua somente nas funções. Sem nenhuma opção, inicialmente" +#~ msgstr "`unset' atua somente nas funções. Sem nenhuma opção, inicialmente" #~ msgid "tries to unset a variable, and if that fails, then tries to unset a" -#~ msgstr "`unset' tenta remover uma variável e, se falhar, tenta remover uma" +#~ msgstr "`unset' tenta remover uma variável e, se falhar, tenta remover uma" #~ msgid "" #~ "function. Some variables (such as PATH and IFS) cannot be unset; also" #~ msgstr "" -#~ "função. Algumas variáveis (como PATH e IFS) não podem ser removidas." +#~ "função. Algumas variáveis (como PATH e IFS) não podem ser removidas." #~ msgid "see readonly." -#~ msgstr "Veja também o comando `readonly'." +#~ msgstr "Veja também o comando `readonly'." #~ msgid "NAMEs are marked for automatic export to the environment of" #~ msgstr "" -#~ "NOMEs são marcados para serem automaticamente exportados para o ambiente" +#~ "NOMEs são marcados para serem automaticamente exportados para o ambiente" #~ msgid "subsequently executed commands. If the -f option is given," -#~ msgstr "dos comando executados a seguir. Se a opção -f for fornecida," +#~ msgstr "dos comando executados a seguir. Se a opção -f for fornecida," #~ msgid "the NAMEs refer to functions. If no NAMEs are given, or if `-p'" #~ msgstr "" -#~ "os NOMEs se referem a funções. Se nenhum nome for fornecido, ou se `-p'" +#~ "os NOMEs se referem a funções. Se nenhum nome for fornecido, ou se `-p'" #~ msgid "is given, a list of all names that are exported in this shell is" #~ msgstr "" -#~ "for usado, uma lista com todos os nomes que são exportados nesta `shell' é" +#~ "for usado, uma lista com todos os nomes que são exportados nesta shell é" #~ msgid "printed. An argument of `-n' says to remove the export property" #~ msgstr "" -#~ "exibida. O argumento `-n' faz remover a propriedade de exportação dos" +#~ "exibida. O argumento `-n' faz remover a propriedade de exportação dos" #~ msgid "from subsequent NAMEs. An argument of `--' disables further option" -#~ msgstr "NOMEs subseqüentes. O argumento `--' desabilita o processamento de" +#~ msgstr "NOMEs subseqüentes. O argumento `--' desabilita o processamento de" #~ msgid "processing." -#~ msgstr "opções posteriores." +#~ msgstr "opções posteriores." #~ msgid "" #~ "The given NAMEs are marked readonly and the values of these NAMEs may" #~ msgstr "" -#~ "Os NOMEs são marcados como somente para leitura, e os valores destes" +#~ "Os NOMEs são marcados como somente para leitura, e os valores destes" #~ msgid "not be changed by subsequent assignment. If the -f option is given," #~ msgstr "" -#~ "NOMEs não poderão ser alterados por novas atribuições. Se a opção -f for" +#~ "NOMEs não poderão ser alterados por novas atribuições. Se a opção -f for" #~ msgid "then functions corresponding to the NAMEs are so marked. If no" #~ msgstr "" -#~ "fornecida, as funções correspondentes a NOMEs também são marcadas. Sem" +#~ "fornecida, as funções correspondentes a NOMEs também são marcadas. Sem" #~ msgid "" #~ "arguments are given, or if `-p' is given, a list of all readonly names" @@ -5680,30 +7249,35 @@ msgstr "" #~ msgid "" #~ "is printed. An argument of `-n' says to remove the readonly property" #~ msgstr "" -#~ "somente para leitura é exibida. O argumento `-n' remove a propriedade" +#~ "somente para leitura é exibida. O argumento `-n' remove a propriedade" #~ msgid "from subsequent NAMEs. The `-a' option means to treat each NAME as" -#~ msgstr "somente para leitura. A opção `-a' faz tratar cada NOME como uma" +#~ msgstr "somente para leitura. A opção `-a' faz tratar cada NOME como uma" #~ msgid "an array variable. An argument of `--' disables further option" #~ msgstr "" -#~ "variável tipo matriz. Um argumento `--' desabilita o processamento de" +#~ "variável tipo array. Um argumento `--' desabilita o processamento de" + +#~ msgid "" +#~ "The positional parameters from $N+1 ... are renamed to $1 ... If N is" +#~ msgstr "" +#~ "Os parâmetros posicionais a partir de $N+1 ... são deslocados para $1 ..." #~ msgid "not given, it is assumed to be 1." -#~ msgstr "Se N não for especificado, o valor 1 é assumido ($2 vira $1 ...)." +#~ msgstr "Se N não for especificado, o valor 1 é assumido ($2 vira $1 ...)." #~ msgid "Read and execute commands from FILENAME and return. The pathnames" #~ msgstr "Ler e executar os comandos em ARQUIVO e retornar. Os caminhos em" #~ msgid "in $PATH are used to find the directory containing FILENAME." -#~ msgstr "$PATH são usados para encontrar o diretório contendo o ARQUIVO." +#~ msgstr "$PATH são usados para encontrar o diretório contendo o ARQUIVO." #~ msgid "Suspend the execution of this shell until it receives a SIGCONT" #~ msgstr "" -#~ "Suspender a execução desta `shell' até que o sinal SIGCONT seja recebido." +#~ "Suspender a execução desta shell até que o sinal SIGCONT seja recebido." #~ msgid "signal. The `-f' if specified says not to complain about this" -#~ msgstr "Se a opção `-f' for especificada indica para não reclamar sobre ser" +#~ msgstr "Se a opção `-f' for especificada indica para não reclamar sobre ser" #~ msgid "being a login shell if it is; just suspend anyway." #~ msgstr "" @@ -5715,15 +7289,15 @@ msgstr "" #~ msgid "the evaluation of EXPR. Expressions may be unary or binary. Unary" #~ msgstr "" -#~ "As expressões podem ser unárias ou binárias. As expressões unárias são" +#~ "As expressões podem ser unárias ou binárias. As expressões unárias são" #~ msgid "expressions are often used to examine the status of a file. There" #~ msgstr "" -#~ "muito usadas para examinar o status de um arquivo. Existem, também," +#~ "muito usadas para examinar o status de um arquivo. Existem, também," #~ msgid "are string operators as well, and numeric comparison operators." #~ msgstr "" -#~ "operadores para cadeias de caracteres (strings) e comparações numéricas." +#~ "operadores para cadeias de caracteres (strings) e comparações numéricas." #~ msgid "File operators:" #~ msgstr "Operadores para arquivos:" @@ -5736,7 +7310,7 @@ msgstr "" #~ " -c ARQUIVO Verdade se o arquivo for do tipo especial de caracter." #~ msgid " -d FILE True if file is a directory." -#~ msgstr " -d ARQUIVO Verdade se o arquivo for um diretório." +#~ msgstr " -d ARQUIVO Verdade se o arquivo for um diretório." #~ msgid " -e FILE True if file exists." #~ msgstr " -e ARQUIVO Verdade se o arquivo existir." @@ -5750,10 +7324,10 @@ msgstr "" #~ msgid " -h FILE True if file is a symbolic link. Use \"-L\"." #~ msgstr "" -#~ " -h ARQUIVO Verdade se arquivo for um vínculo simbólico. Usar \"-L\"." +#~ " -h ARQUIVO Verdade se arquivo for um vínculo simbólico. Usar \"-L\"." #~ msgid " -L FILE True if file is a symbolic link." -#~ msgstr " -L ARQUIVO Verdade se o arquivo for um vínculo simbólico." +#~ msgstr " -L ARQUIVO Verdade se o arquivo for um vínculo simbólico." #~ msgid " -k FILE True if file has its \"sticky\" bit set." #~ msgstr " -k ARQUIVO Verdade se o arquivo tiver o bit \"sticky\" ativo." @@ -5763,10 +7337,10 @@ msgstr "" #~ msgid " -r FILE True if file is readable by you." #~ msgstr "" -#~ " -r ARQUIVO Verdade se você tiver autorização para ler o arquivo." +#~ " -r ARQUIVO Verdade se você tiver autorização para ler o arquivo." #~ msgid " -s FILE True if file exists and is not empty." -#~ msgstr " -s ARQUIVO Verdade se o arquivo existir e não estiver vazio." +#~ msgstr " -s ARQUIVO Verdade se o arquivo existir e não estiver vazio." #~ msgid " -S FILE True if file is a socket." #~ msgstr " -S ARQUIVO Verdade se o arquivo for um soquete." @@ -5782,16 +7356,16 @@ msgstr "" #~ msgid " -w FILE True if the file is writable by you." #~ msgstr "" -#~ " -w ARQUIVO Verdade se você tiver autorização para escrever no " +#~ " -w ARQUIVO Verdade se você tiver autorização para escrever no " #~ "arquivo." #~ msgid " -x FILE True if the file is executable by you." #~ msgstr "" -#~ " -x ARQUIVO Verdade se você tiver autorização para executar o arquivo." +#~ " -x ARQUIVO Verdade se você tiver autorização para executar o arquivo." #~ msgid " -O FILE True if the file is effectively owned by you." #~ msgstr "" -#~ " -O ARQUIVO Verdade se o arquivo pertencer ao seu usuário efetivo." +#~ " -O ARQUIVO Verdade se o arquivo pertencer ao seu usuário efetivo." #~ msgid "" #~ " -G FILE True if the file is effectively owned by your group." @@ -5802,15 +7376,15 @@ msgstr "" #~ msgstr " ARQ1 -nt ARQ2 Verdade se ARQ1 for mais novo (conforme a data" #~ msgid " modification date) file2." -#~ msgstr " de modificação) do que ARQ2." +#~ msgstr " de modificação) do que ARQ2." #~ msgid " FILE1 -ot FILE2 True if file1 is older than file2." #~ msgstr " ARQ1 -ot ARQ2 Verdade se ARQ1 for mais antigo que ARQ2." #~ msgid " FILE1 -ef FILE2 True if file1 is a hard link to file2." #~ msgstr "" -#~ " ARQ1 -ef ARQ2 Verdade se ARQ1 for um vínculo direto para ARQ2.\n" -#~ " (mesma unidade e mesmo número do inode)" +#~ " ARQ1 -ef ARQ2 Verdade se ARQ1 for um vínculo direto para ARQ2.\n" +#~ " (mesma unidade e mesmo número do inode)" #~ msgid "String operators:" #~ msgstr "Operadores para cadeias de caracteres (strings):" @@ -5822,19 +7396,19 @@ msgstr "" #~ msgstr " -n STRING" #~ msgid " STRING True if string is not empty." -#~ msgstr " STRING Verdade se STRING não estiver vazia." +#~ msgstr " STRING Verdade se STRING não estiver vazia." #~ msgid " STRING1 = STRING2" #~ msgstr " STRING1 = STRING2" #~ msgid " True if the strings are equal." -#~ msgstr " Verdade se STRING1 for idêntica à STRING2." +#~ msgstr " Verdade se STRING1 for idêntica à STRING2." #~ msgid " STRING1 != STRING2" #~ msgstr " STRING1 != STRING2" #~ msgid " True if the strings are not equal." -#~ msgstr " Verdade se STRING1 não for idêntica à STRING2." +#~ msgstr " Verdade se STRING1 não for idêntica à STRING2." #~ msgid " STRING1 < STRING2" #~ msgstr " STRING1 < STRING2" @@ -5842,7 +7416,7 @@ msgstr "" #~ msgid "" #~ " True if STRING1 sorts before STRING2 lexicographically" #~ msgstr "" -#~ " Verdade se STRING1 tiver ordenação anterior à STRING2." +#~ " Verdade se STRING1 tiver ordenação anterior à STRING2." #~ msgid " STRING1 > STRING2" #~ msgstr " STRING1 > STRING2" @@ -5850,13 +7424,13 @@ msgstr "" #~ msgid "" #~ " True if STRING1 sorts after STRING2 lexicographically" #~ msgstr "" -#~ " Verdade se STRING1 tiver ordenação posterior à STRING2." +#~ " Verdade se STRING1 tiver ordenação posterior à STRING2." #~ msgid "Other operators:" #~ msgstr "Outros operadores:" #~ msgid " ! EXPR True if expr is false." -#~ msgstr " ! EXPR Verdade se a expressão EXPR for falsa." +#~ msgstr " ! EXPR Verdade se a expressão EXPR for falsa." #~ msgid " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true." #~ msgstr " EXPR1 -a EXPR2 Verdade se EXPR1 `E' EXPR2 forem verdadeiras." @@ -5865,14 +7439,14 @@ msgstr "" #~ msgstr " EXPR1 -o EXPR2 Verdade se EXPR1 `OU' EXPR2 for verdadeira." #~ msgid " arg1 OP arg2 Arithmetic tests. OP is one of -eq, -ne," -#~ msgstr " arg1 OP arg2 Testes aritméticos. OP pode ser -eq, -ne," +#~ msgstr " arg1 OP arg2 Testes aritméticos. OP pode ser -eq, -ne," #~ msgid " -lt, -le, -gt, or -ge." #~ msgstr " -lt, -le, -gt, ou -ge." #~ msgid "Arithmetic binary operators return true if ARG1 is equal, not-equal," #~ msgstr "" -#~ "Operadores aritméticos binários retornam verdadeiro se ARG1 for igual," +#~ "Operadores aritméticos binários retornam verdadeiro se ARG1 for igual," #~ msgid "" #~ "less-than, less-than-or-equal, greater-than, or greater-than-or-equal" @@ -5882,14 +7456,21 @@ msgstr "" #~ msgstr "ARG2, respectivamente." #~ msgid "This is a synonym for the \"test\" builtin, but the last" -#~ msgstr "É um sinônimo para o comando interno \"test\", mas o último" +#~ msgstr "É um sinônimo para o comando interno \"test\", mas o último" + +#~ msgid "argument must be a literal `]', to match the opening `['." +#~ msgstr "argumento deve ser o literal `]', para fechar o `[' de abertura." + +#~ msgid "Print the accumulated user and system times for processes run from" +#~ msgstr "" +#~ "Exibe os tempos acumulados do usuário e do sistema para os processos" #~ msgid "the shell." -#~ msgstr "executados por esta `shell'." +#~ msgstr "executados por esta shell." #~ msgid "The command ARG is to be read and executed when the shell receives" #~ msgstr "" -#~ "O comando em ARG é para ser lido e executado quando a `shell' receber o(s)" +#~ "O comando em ARG é para ser lido e executado quando a shell receber o(s)" #~ msgid "signal(s) SIGNAL_SPEC. If ARG is absent all specified signals are" #~ msgstr "" @@ -5901,50 +7482,50 @@ msgstr "" #~ msgid "SIGNAL_SPEC is ignored by the shell and by the commands it invokes." #~ msgstr "" -#~ "SINAL-ESPEC é ignorado pela `shell' e pelos comandos chamados por ela." +#~ "SINAL-ESPEC é ignorado pela shell e pelos comandos chamados por ela." #~ msgid "If SIGNAL_SPEC is EXIT (0) the command ARG is executed on exit from" #~ msgstr "" -#~ "Se SINAL-ESPEC for EXIT (0) o comando em ARG é executado na saída da" +#~ "Se SINAL-ESPEC for EXIT (0) o comando em ARG é executado na saída da" #~ msgid "the shell. If SIGNAL_SPEC is DEBUG, ARG is executed after every" #~ msgstr "" -#~ "`shell'. Se SINAL-ESPEC for DEBUG, o comando em ARG é executado após cada" +#~ "shell. Se SINAL-ESPEC for DEBUG, o comando em ARG é executado após cada" #~ msgid "command. If ARG is `-p' then the trap commands associated with" #~ msgstr "" -#~ "comando. Se ARG for `-p' então os comandos de captura associados com cada" +#~ "comando. Se ARG for `-p' então os comandos de captura associados com cada" #~ msgid "each SIGNAL_SPEC are displayed. If no arguments are supplied or if" -#~ msgstr "SINAL-ESPEC são exibidos. Se nenhum argumento for fornecido, ou se" +#~ msgstr "SINAL-ESPEC são exibidos. Se nenhum argumento for fornecido, ou se" #~ msgid "only `-p' is given, trap prints the list of commands associated with" #~ msgstr "" -#~ "somente `-p' for fornecido, é exibida a lista dos comandos associados" +#~ "somente `-p' for fornecido, é exibida a lista dos comandos associados" #~ msgid "" #~ "each signal number. SIGNAL_SPEC is either a signal name in " #~ msgstr "" -#~ "com cada número de sinal. SINAL-ESPEC é um nome de sinal em ou" +#~ "com cada número de sinal. SINAL-ESPEC é um nome de sinal em ou" #~ msgid "" #~ "or a signal number. `trap -l' prints a list of signal names and their" #~ msgstr "" -#~ "um número de sinal. `trap -l' exibe a lista de nomes de sinais com seus" +#~ "um número de sinal. `trap -l' exibe a lista de nomes de sinais com seus" #~ msgid "corresponding numbers. Note that a signal can be sent to the shell" #~ msgstr "" -#~ "números correspondentes. Note que o sinal pode ser enviado para a `shell'" +#~ "números correspondentes. Note que o sinal pode ser enviado para a shell" #~ msgid "with \"kill -signal $$\"." -#~ msgstr "através do comando \"kill -SINAL $$\"." +#~ msgstr "através do comando \"kill -SINAL $$\"." #~ msgid "For each NAME, indicate how it would be interpreted if used as a" #~ msgstr "Para cada NOME, indica como este deve ser interpretado caso seja" #~ msgid "If the -t option is used, returns a single word which is one of" #~ msgstr "" -#~ "Se a opção -t for fornecida, `type' retorna uma única palavra dentre" +#~ "Se a opção -t for fornecida, `type' retorna uma única palavra dentre" #~ msgid "" #~ "`alias', `keyword', `function', `builtin', `file' or `', if NAME is an" @@ -5954,28 +7535,28 @@ msgstr "" #~ msgid "" #~ "alias, shell reserved word, shell function, shell builtin, disk file," #~ msgstr "" -#~ "alias, uma palavra reservada, função ou comando interno da shell, um " +#~ "alias, uma palavra reservada, função ou comando interno da shell, um " #~ "arquivo" #~ msgid "or unfound, respectively." -#~ msgstr "em disco, ou não for encontrado, respectivamente." +#~ msgstr "em disco, ou não for encontrado, respectivamente." #~ msgid "If the -p flag is used, either returns the name of the disk file" -#~ msgstr "Se a opção -p for fornecida, retorna o nome do arquivo em disco que" +#~ msgstr "Se a opção -p for fornecida, retorna o nome do arquivo em disco que" #~ msgid "that would be executed, or nothing if -t would not return `file'." -#~ msgstr "deve ser executado, ou nada, caso -t não retorne `file'." +#~ msgstr "deve ser executado, ou nada, caso -t não retorne `file'." #~ msgid "If the -a flag is used, displays all of the places that contain an" -#~ msgstr "Se a opção -a for fornecida, exibe todos os locais que contém um" +#~ msgstr "Se a opção -a for fornecida, exibe todos os locais que contém um" #~ msgid "" #~ "executable named `file'. This includes aliases and functions, if and" #~ msgstr "" -#~ "arquivo executável chamado `ARQUIVO', incluindo os aliases e funções," +#~ "arquivo executável chamado `ARQUIVO', incluindo os aliases e funções," #~ msgid "only if the -p flag is not also used." -#~ msgstr "mas somente se a opção -p não for fornecida conjuntamente." +#~ msgstr "mas somente se a opção -p não for fornecida conjuntamente." #~ msgid "Type accepts -all, -path, and -type in place of -a, -p, and -t," #~ msgstr "O comando `type' aceita -all, -path, e -type no lugar de" @@ -5985,14 +7566,14 @@ msgstr "" #~ msgid "Ulimit provides control over the resources available to processes" #~ msgstr "" -#~ "Ulimit estabelece controle sobre os recursos disponíveis para os processos" +#~ "Ulimit estabelece controle sobre os recursos disponíveis para os processos" #~ msgid "started by the shell, on systems that allow such control. If an" #~ msgstr "" #~ "iniciados por esta shell, em sistemas que permitem estes controles. Se uma" #~ msgid "option is given, it is interpreted as follows:" -#~ msgstr "opção for fornecida, é interpretada como mostrado a seguir:" +#~ msgstr "opção for fornecida, é interpretada como mostrado a seguir:" #~ msgid " -S\tuse the `soft' resource limit" #~ msgstr " -S\tutilizar os limites correntes (`soft') dos recursos" @@ -6001,56 +7582,56 @@ msgstr "" #~ msgstr " -H\tutilizar os limites absolutos (`hard') dos recursos" #~ msgid " -a\tall current limits are reported" -#~ msgstr " -a\ttodos os limites correntes são informados" +#~ msgstr " -a\ttodos os limites correntes são informados" #~ msgid " -c\tthe maximum size of core files created" #~ msgstr "" -#~ " -c\to tamanho máximo para os arquivos de imagem do núcleo criados" +#~ " -c\to tamanho máximo para os arquivos de imagem do núcleo criados" #~ msgid " -d\tthe maximum size of a process's data segment" -#~ msgstr " -d\to tamanho máximo do segmento de dados de um processo" +#~ msgstr " -d\to tamanho máximo do segmento de dados de um processo" #~ msgid " -m\tthe maximum resident set size" #~ msgstr "" -#~ " -m\to tamanho máximo do conjunto de processos residentes em memória" +#~ " -m\to tamanho máximo do conjunto de processos residentes em memória" #~ msgid " -s\tthe maximum stack size" -#~ msgstr " -s\to tamanho máximo da pilha" +#~ msgstr " -s\to tamanho máximo da pilha" #~ msgid " -t\tthe maximum amount of cpu time in seconds" -#~ msgstr " -t\ta quantidade máxima de tempo de CPU em segundos" +#~ msgstr " -t\ta quantidade máxima de tempo de CPU em segundos" #~ msgid " -f\tthe maximum size of files created by the shell" -#~ msgstr " -f\to tamanho máximo dos arquivos criados pela `shell'" +#~ msgstr " -f\to tamanho máximo dos arquivos criados pela shell" #~ msgid " -p\tthe pipe buffer size" -#~ msgstr " -p\to tamanho da área intermediária (buffer) do `pipe'" +#~ msgstr " -p\to tamanho da área intermediária (buffer) do `pipe'" #~ msgid " -n\tthe maximum number of open file descriptors" -#~ msgstr " -n\to número máximo de descritores de arquivos abertos" +#~ msgstr " -n\to número máximo de descritores de arquivos abertos" #~ msgid " -u\tthe maximum number of user processes" -#~ msgstr " -u\to número máximo de processos do usuário" +#~ msgstr " -u\to número máximo de processos do usuário" #~ msgid " -v\tthe size of virtual memory" -#~ msgstr " -v\to tamanho da memória virtual" +#~ msgstr " -v\to tamanho da memória virtual" #~ msgid "If LIMIT is given, it is the new value of the specified resource." #~ msgstr "" #~ "Se LIMITE for fornecido, torna-se o novo valor do recurso especificado." #~ msgid "Otherwise, the current value of the specified resource is printed." -#~ msgstr "Senão, o valor atual do recurso especificado é exibido." +#~ msgstr "Senão, o valor atual do recurso especificado é exibido." #~ msgid "If no option is given, then -f is assumed. Values are in 1k" #~ msgstr "" -#~ "Se nenhuma opção for fornecida, então -f é assumido. Os valores são em" +#~ "Se nenhuma opção for fornecida, então -f é assumido. Os valores são em" #~ msgid "increments, except for -t, which is in seconds, -p, which is in" -#~ msgstr "incrementos de 1k, exceto para -t, que é em segundos, -p, que é em" +#~ msgstr "incrementos de 1k, exceto para -t, que é em segundos, -p, que é em" #~ msgid "increments of 512 bytes, and -u, which is an unscaled number of" -#~ msgstr "incrementos de 512 bytes, e -u, que é o número cardinal de" +#~ msgstr "incrementos de 512 bytes, e -u, que é o número cardinal de" #~ msgid "processes." #~ msgstr "processos." @@ -6058,235 +7639,242 @@ msgstr "" #~ msgid "" #~ "The user file-creation mask is set to MODE. If MODE is omitted, or if" #~ msgstr "" -#~ "MODO é atribuído à máscara de criação de arquivos do usuário. Se omitido," +#~ "MODO é atribuído à máscara de criação de arquivos do usuário. Se omitido," #~ msgid "" #~ "`-S' is supplied, the current value of the mask is printed. The `-S'" #~ msgstr "" -#~ "ou se `-S' for especificado, a máscara em uso é exibida. A opção `-S'" +#~ "ou se `-S' for especificado, a máscara em uso é exibida. A opção `-S'" #~ msgid "" #~ "option makes the output symbolic; otherwise an octal number is output." -#~ msgstr "exibe símbolos na saída; sem esta opção um número octal é exibido." +#~ msgstr "exibe símbolos na saída; sem esta opção um número octal é exibido." #~ msgid "If MODE begins with a digit, it is interpreted as an octal number," #~ msgstr "" -#~ "Se MODO começar por um dígito, é interpretado como sendo um número octal," +#~ "Se MODO começar por um dígito, é interpretado como sendo um número octal," #~ msgid "" #~ "otherwise it is a symbolic mode string like that accepted by chmod(1)." #~ msgstr "" -#~ "senão devem ser caracteres simbólicos, como os aceitos por chmod(1)." +#~ "senão devem ser caracteres simbólicos, como os aceitos por chmod(1)." #~ msgid "" #~ "Wait for the specified process and report its termination status. If" #~ msgstr "" -#~ "Aguardar pelo processo especificado e informar seu status de término. Se N" +#~ "Aguardar pelo processo especificado e informar seu status de término. Se N" #~ msgid "N is not given, all currently active child processes are waited for," #~ msgstr "" -#~ "não for especificado, todos os processos filhos ativos são aguardados," +#~ "não for especificado, todos os processos filhos ativos são aguardados," #~ msgid "and the return code is zero. N may be a process ID or a job" -#~ msgstr "e o código de retorno é zero. N pode ser o ID de um processo ou a" +#~ msgstr "e o código de retorno é zero. N pode ser o ID de um processo ou a" #~ msgid "specification; if a job spec is given, all processes in the job's" #~ msgstr "" -#~ "especificação de um trabalho; Se for a especificação de um trabalho, todos" +#~ "especificação de um trabalho; Se for a especificação de um trabalho, todos" #~ msgid "pipeline are waited for." -#~ msgstr "os processos presentes no `pipeline' do trabalho são aguardados." +#~ msgstr "os processos presentes no `pipeline' do trabalho são aguardados." #~ msgid "and the return code is zero. N is a process ID; if it is not given," #~ msgstr "" -#~ "e o código de retorno é zero. N é o ID de um processo; se N não for" +#~ "e o código de retorno é zero. N é o ID de um processo; se N não for" #~ msgid "all child processes of the shell are waited for." -#~ msgstr "especificado, todos os processos filhos da `shell' são aguardados." +#~ msgstr "especificado, todos os processos filhos da shell são aguardados." #~ msgid "The `for' loop executes a sequence of commands for each member in a" #~ msgstr "" -#~ "O laço `for' executa a seqüência de comandos para cada membro na lista de" +#~ "O laço `for' executa a seqüência de comandos para cada membro na lista de" #~ msgid "" #~ "list of items. If `in WORDS ...;' is not present, then `in \"$@\"' is" #~ msgstr "" -#~ "items. Se `in PALAVRAS ...;' não estiver presente, então `in \"$@\"'" +#~ "items. Se `in PALAVRAS ...;' não estiver presente, então `in \"$@\"'" #~ msgid "" #~ "assumed. For each element in WORDS, NAME is set to that element, and" #~ msgstr "" -#~ "(parâmetros posicionais) é assumido. Para cada elemento em PALAVRAS, NOME" +#~ "(parâmetros posicionais) é assumido. Para cada elemento em PALAVRAS, NOME" #~ msgid "the COMMANDS are executed." -#~ msgstr "assume seu valor, e os COMANDOS são executados." +#~ msgstr "assume seu valor, e os COMANDOS são executados." #~ msgid "The WORDS are expanded, generating a list of words. The" #~ msgstr "" -#~ "As palavras são expandidas, gerando uma lista de palavras. O conjunto" +#~ "As palavras são expandidas, gerando uma lista de palavras. O conjunto" #~ msgid "set of expanded words is printed on the standard error, each" #~ msgstr "" -#~ "de palavras expandidas é enviado para a saída de erro padrão, cada uma" +#~ "de palavras expandidas é enviado para a saída de erro padrão, cada uma" #~ msgid "preceded by a number. If `in WORDS' is not present, `in \"$@\"'" #~ msgstr "" -#~ "precedida por um número. Se `in PALAVRAS' for omitido, `in \"$@\"' é" +#~ "precedida por um número. Se `in PALAVRAS' for omitido, `in \"$@\"' é" #~ msgid "is assumed. The PS3 prompt is then displayed and a line read" -#~ msgstr "assumido. Em seguida o prompt PS3 é exibido, e uma linha é lida da" +#~ msgstr "assumido. Em seguida o prompt PS3 é exibido, e uma linha é lida da" #~ msgid "from the standard input. If the line consists of the number" #~ msgstr "" -#~ "entrada padrão. Se a linha consistir do número correspondente ao número" +#~ "entrada padrão. Se a linha consistir do número correspondente ao número" #~ msgid "corresponding to one of the displayed words, then NAME is set" -#~ msgstr "de uma das palavras exibidas, então NOME é atribuído para esta" +#~ msgstr "de uma das palavras exibidas, então NOME é atribuído para esta" #~ msgid "to that word. If the line is empty, WORDS and the prompt are" #~ msgstr "" -#~ "PALAVRA. Se a linha estiver vazia, PALAVRAS e o prompt são exibidos" +#~ "PALAVRA. Se a linha estiver vazia, PALAVRAS e o prompt são exibidos" #~ msgid "redisplayed. If EOF is read, the command completes. Any other" #~ msgstr "" #~ "novamente. Se EOF for lido, o comando termina. Qualquer outro valor" #~ msgid "value read causes NAME to be set to null. The line read is saved" -#~ msgstr "lido faz com que NOME seja tornado nulo. A linha lida é salva" +#~ msgstr "lido faz com que NOME seja tornado nulo. A linha lida é salva" #~ msgid "in the variable REPLY. COMMANDS are executed after each selection" -#~ msgstr "na variável REPLY. COMANDOS são executados após cada seleção" +#~ msgstr "na variável REPLY. COMANDOS são executados após cada seleção" #~ msgid "until a break or return command is executed." -#~ msgstr "até que o comando `break' ou `return' seja executado." +#~ msgstr "até que o comando `break' ou `return' seja executado." + +#~ msgid "Selectively execute COMMANDS based upon WORD matching PATTERN. The" +#~ msgstr "" +#~ "Executar seletivamente COMANDOS tomando por base a correspondência entre" #~ msgid "`|' is used to separate multiple patterns." #~ msgstr "" -#~ "PALAVRA e PADRÃO. O caracter `|' é usado para separar múltiplos padrões." +#~ "PALAVRA e PADRÃO. O caracter `|' é usado para separar múltiplos padrões." #~ msgid "" #~ "The if COMMANDS are executed. If the exit status is zero, then the then" #~ msgstr "" -#~ "Os COMANDOS `if' são executados. Se os status de saída for zero, então os" +#~ "Os COMANDOS `if' são executados. Se os status de saída for zero, então os" #~ msgid "" #~ "COMMANDS are executed. Otherwise, each of the elif COMMANDS are executed" #~ msgstr "" -#~ "COMANDOS `then' são executados, senão, os COMANDOS `elif' são executados " +#~ "COMANDOS `then' são executados, senão, os COMANDOS `elif' são executados " #~ "em" #~ msgid "" #~ "in turn, and if the exit status is zero, the corresponding then COMMANDS" #~ msgstr "" -#~ "seqüência e, se o status de saída for zero, os COMANDOS `then' associados" +#~ "seqüência e, se o status de saída for zero, os COMANDOS `then' associados" #~ msgid "" #~ "are executed and the if command completes. Otherwise, the else COMMANDS" #~ msgstr "" -#~ "são executados e o `if' termina. Senão, os COMANDOS da cláusula `else'" +#~ "são executados e o `if' termina. Senão, os COMANDOS da cláusula `else'" #~ msgid "" #~ "are executed, if present. The exit status is the exit status of the last" #~ msgstr "" -#~ "são executados, se houver. O status de saída é o status de saída do" +#~ "são executados, se houver. O status de saída é o status de saída do" #~ msgid "command executed, or zero if no condition tested true." #~ msgstr "" -#~ "último comando executado, ou zero, se nenhuma condição for verdadeira." +#~ "último comando executado, ou zero, se nenhuma condição for verdadeira." + +#~ msgid "Expand and execute COMMANDS as long as the final command in the" +#~ msgstr "Expande e executa COMANDOS enquanto o comando final nos" #~ msgid "`while' COMMANDS has an exit status of zero." -#~ msgstr "COMANDOS `while' tiver um status de saída igual a zero." +#~ msgstr "COMANDOS `while' tiver um status de saída igual a zero." #~ msgid "`until' COMMANDS has an exit status which is not zero." -#~ msgstr "COMANDOS `until' tiver um status de saída diferente de zero." +#~ msgstr "COMANDOS `until' tiver um status de saída diferente de zero." #~ msgid "Create a simple command invoked by NAME which runs COMMANDS." #~ msgstr "Cria um comando chamado NOME o qual executa COMANDOS." #~ msgid "Arguments on the command line along with NAME are passed to the" -#~ msgstr "Os argumentos na linha de comando juntamente com NOME são passados" +#~ msgstr "Os argumentos na linha de comando juntamente com NOME são passados" #~ msgid "function as $0 .. $n." -#~ msgstr "para a função como $0 .. $n." +#~ msgstr "para a função como $0 .. $n." + +#~ msgid "Run a set of commands in a group. This is one way to redirect an" +#~ msgstr "Executa um conjunto de comandos agrupando-os. Esta é uma forma de" #~ msgid "entire set of commands." #~ msgstr "redirecionar todo um conjunto de comandos." #~ msgid "This is similar to the `fg' command. Resume a stopped or background" #~ msgstr "" -#~ "Semelhante ao comando `fg'. Prossegue a execução de um trabalho parado ou" +#~ "Semelhante ao comando `fg'. Prossegue a execução de um trabalho parado ou" #~ msgid "job. If you specifiy DIGITS, then that job is used. If you specify" #~ msgstr "" -#~ "em segundo plano. Se DÍGITOS for especificado, então este trabalho é " +#~ "em segundo plano. Se DÍGITOS for especificado, então este trabalho é " #~ "usado." #~ msgid "" #~ "WORD, then the job whose name begins with WORD is used. Following the" #~ msgstr "" -#~ "Se for especificado PALAVRA, o trabalho começado por PALAVRA é usado." +#~ "Se for especificado PALAVRA, o trabalho começado por PALAVRA é usado." #~ msgid "job specification with a `&' places the job in the background." #~ msgstr "" -#~ "Seguindo-se a especificação por um `&' põe o trabalho em segundo plano." +#~ "Seguindo-se a especificação por um `&' põe o trabalho em segundo plano." #~ msgid "BASH_VERSION The version numbers of this Bash." -#~ msgstr "BASH_VERSION Os números da versão desta `bash'." +#~ msgstr "BASH_VERSION Os números da versão desta `bash'." #~ msgid "CDPATH A colon separated list of directories to search" -#~ msgstr "CDPATH Uma lista, separada por dois pontos, de diretórios" +#~ msgstr "CDPATH Uma lista, separada por dois pontos, de diretórios" #~ msgid "\t\twhen the argument to `cd' is not found in the current" -#~ msgstr "\t\ta serem pesquisados quando o argumento para `cd' não for" - -#~ msgid "\t\tdirectory." -#~ msgstr "\t\tencontrado no diretório atual." +#~ msgstr "\t\ta serem pesquisados quando o argumento para `cd' não for" #~ msgid "" #~ "HISTFILE The name of the file where your command history is stored." #~ msgstr "" -#~ "HISTFILE O nome do arquivo onde o histórico de comandos é " +#~ "HISTFILE O nome do arquivo onde o histórico de comandos é " #~ "armazenado." #~ msgid "HISTFILESIZE The maximum number of lines this file can contain." #~ msgstr "" -#~ "HISTFILESIZE O número máximo de linhas que este arquivo pode conter." +#~ "HISTFILESIZE O número máximo de linhas que este arquivo pode conter." #~ msgid "HISTSIZE The maximum number of history lines that a running" -#~ msgstr "HISTSIZE O número máximo de linhas do histórico que uma" +#~ msgstr "HISTSIZE O número máximo de linhas do histórico que uma" #~ msgid "\t\tshell can access." -#~ msgstr "\t\t`shell' em execução pode acessar." +#~ msgstr "\t\tshell em execução pode acessar." #~ msgid "HOME The complete pathname to your login directory." #~ msgstr "" -#~ "HOME O nome completo do caminho do seu diretório de login." +#~ "HOME O nome completo do caminho do seu diretório de login." #~ msgid "" #~ "HOSTTYPE The type of CPU this version of Bash is running under." #~ msgstr "" -#~ "HOSTTYPE O tipo de CPU sob a qual esta `bash' está executando." +#~ "HOSTTYPE O tipo de CPU sob a qual esta `bash' está executando." #~ msgid "" #~ "IGNOREEOF Controls the action of the shell on receipt of an EOF" -#~ msgstr "IGNOREEOF Controla a ação da `shell' ao receber um caracter" +#~ msgstr "IGNOREEOF Controla a ação da shell ao receber um caracter" #~ msgid "\t\tcharacter as the sole input. If set, then the value" -#~ msgstr "\t\tEOF como única entrada. Se estiver ativa, então o valor da" +#~ msgstr "\t\tEOF como única entrada. Se estiver ativa, então o valor da" #~ msgid "\t\tof it is the number of EOF characters that can be seen" -#~ msgstr "\t\tvariável é o número de caracteres EOF que podem ser recebidos," +#~ msgstr "\t\tvariável é o número de caracteres EOF que podem ser recebidos," #~ msgid "\t\tin a row on an empty line before the shell will exit" -#~ msgstr "\t\tde forma seguida em uma linha vazia, antes da `shell' terminar" +#~ msgstr "\t\tde forma seguida em uma linha vazia, antes da shell terminar" #~ msgid "\t\t(default 10). When unset, EOF signifies the end of input." #~ msgstr "" -#~ "\t\t(padrão 10). Caso contrário, EOF significa o fim da entrada de dados." +#~ "\t\t(padrão 10). Caso contrário, EOF significa o fim da entrada de dados." #~ msgid "MAILCHECK\tHow often, in seconds, Bash checks for new mail." #~ msgstr "" -#~ "MAILCHECK\tFreqüência, em segundos, para a `bash' verificar novo e-mail." +#~ "MAILCHECK\tFreqüência, em segundos, para a `bash' verificar novo e-mail." #~ msgid "MAILPATH\tA colon-separated list of filenames which Bash checks" #~ msgstr "" @@ -6296,33 +7884,33 @@ msgstr "" #~ msgstr "\t\tnos quais a `bash' vai verificar se existe novo e-mail." #~ msgid "OSTYPE\t\tThe version of Unix this version of Bash is running on." -#~ msgstr "OSTYPE\t\tA versão do Unix sob a qual a `bash' está executando." +#~ msgstr "OSTYPE\t\tA versão do Unix sob a qual a `bash' está executando." #~ msgid "PATH A colon-separated list of directories to search when" #~ msgstr "" -#~ "PATH Uma lista, separada por dois pontos, de diretórios a" +#~ "PATH Uma lista, separada por dois pontos, de diretórios a" #~ msgid "\t\tlooking for commands." #~ msgstr "\t\tserem pesquisados quando os comandos forem procurados." #~ msgid "PROMPT_COMMAND A command to be executed before the printing of each" -#~ msgstr "PROMPT_COMMAND O comando a ser executado antes da exibição de cada" +#~ msgstr "PROMPT_COMMAND O comando a ser executado antes da exibição de cada" #~ msgid "\t\tprimary prompt." -#~ msgstr "\t\tmensagem de prompt primária." +#~ msgstr "\t\tmensagem de prompt primária." #~ msgid "PS1 The primary prompt string." -#~ msgstr "PS1 A mensagem primária de prompt exibida." +#~ msgstr "PS1 A mensagem primária de prompt exibida." #~ msgid "PS2 The secondary prompt string." -#~ msgstr "PS2 A mensagem secundária de prompt exibida." +#~ msgstr "PS2 A mensagem secundária de prompt exibida." #~ msgid "TERM The name of the current terminal type." #~ msgstr "TERM O nome do tipo de terminal em uso no momento." #~ msgid "auto_resume Non-null means a command word appearing on a line by" #~ msgstr "" -#~ "auto_resume Não nulo significa que um comando aparecendo sozinho em" +#~ "auto_resume Não nulo significa que um comando aparecendo sozinho em" #~ msgid "\t\titself is first looked for in the list of currently" #~ msgstr "" @@ -6355,75 +7943,191 @@ msgstr "" #~ msgid "" #~ " Non-null means to save multiple-line commands together on" #~ msgstr "" -#~ " Se não for nulo significa salvar comandos com múltiplas" +#~ " Se não for nulo significa salvar comandos com múltiplas" #~ msgid " a single history line." -#~ msgstr " linhas, juntas em uma única linha do histórico." +#~ msgstr " linhas, juntas em uma única linha do histórico." #~ msgid "histchars Characters controlling history expansion and quick" #~ msgstr "" -#~ "histchars Caracteres que controlam a expansão do histórico e a" +#~ "histchars Caracteres que controlam a expansão do histórico e a" #~ msgid "\t\tsubstitution. The first character is the history" -#~ msgstr "\t\tsubstituição rápida. O primeiro caracter é o de substituição" +#~ msgstr "\t\tsubstituição rápida. O primeiro caracter é o de substituição" #~ msgid "\t\tsubstitution character, usually `!'. The second is" -#~ msgstr "\t\tdo histórico, geralmente o `!'. O segundo caracter é o" +#~ msgstr "\t\tdo histórico, geralmente o `!'. O segundo caracter é o" #~ msgid "\t\tthe `quick substitution' character, usually `^'. The" -#~ msgstr "\t\tde substituição rápida, geralmente o `^'. O terceiro caracter" +#~ msgstr "\t\tde substituição rápida, geralmente o `^'. O terceiro caracter" #~ msgid "\t\tthird is the `history comment' character, usually `#'." -#~ msgstr "\t\té o de comentário do histórico, geralmente o `#'." +#~ msgstr "\t\té o de comentário do histórico, geralmente o `#'." #~ msgid "HISTCONTROL\tSet to a value of `ignorespace', it means don't enter" #~ msgstr "" -#~ "HISTCONTROL\tCom valor igual a `ignorespace', significa não introduzir" +#~ "HISTCONTROL\tCom valor igual a `ignorespace', significa não introduzir" #~ msgid "\t\tlines which begin with a space or tab on the history" #~ msgstr "" -#~ "\t\tlinhas que iniciam por espaço ou tabulação na lista de histórico." +#~ "\t\tlinhas que iniciam por espaço ou tabulação na lista de histórico." #~ msgid "\t\tlist. Set to a value of `ignoredups', it means don't" -#~ msgstr "\t\tCom valor igual a `ignoredups', significa não introduzir linhas" +#~ msgstr "\t\tCom valor igual a `ignoredups', significa não introduzir linhas" #~ msgid "\t\tenter lines which match the last entered line. Set to" -#~ msgstr "\t\tque correspondam à última linha introduzida. Com valor igual a" +#~ msgstr "\t\tque correspondam à última linha introduzida. Com valor igual a" #~ msgid "\t\t`ignoreboth' means to combine the two options. Unset," -#~ msgstr "\t\t`ignoreboth' significa combinar as duas opções. Remover," +#~ msgstr "\t\t`ignoreboth' significa combinar as duas opções. Remover," #~ msgid "\t\tor set to any other value than those above means to save" #~ msgstr "" -#~ "\t\tou atribuir algum outro valor que não os acima, significa salvar" +#~ "\t\tou atribuir algum outro valor que não os acima, significa salvar" #~ msgid "\t\tall lines on the history list." -#~ msgstr "\t\ttodas as linhas na lista de histórico." +#~ msgstr "\t\ttodas as linhas na lista de histórico." + +#~ msgid "Adds a directory to the top of the directory stack, or rotates" +#~ msgstr "Adiciona o diretório no topo da pilha de diretórios, ou rotaciona a" + +#~ msgid "the stack, making the new top of the stack the current working" +#~ msgstr "" +#~ "pilha, fazendo o diretório atual de trabalho ficar no topo da pilha." + +#~ msgid "directory. With no arguments, exchanges the top two directories." +#~ msgstr "Sem nenhum argumento, troca os dois diretórios do topo." + +#~ msgid "+N\tRotates the stack so that the Nth directory (counting" +#~ msgstr "" +#~ "+N\tRotaciona a pilha de tal forma que o n-ésimo diretório (contado a" + +#~ msgid "\tfrom the left of the list shown by `dirs') is at the top." +#~ msgstr "\tpartir da esquerda da lista exibida por `dirs') fique no topo." + +#~ msgid "-N\tRotates the stack so that the Nth directory (counting" +#~ msgstr "" +#~ "-N\tRotaciona a pilha de tal forma que o n-ésimo diretório (contado a" + +#~ msgid "\tfrom the right) is at the top." +#~ msgstr "\tpartir da direita) fique no topo." + +#~ msgid "-n\tsuppress the normal change of directory when adding directories" +#~ msgstr "-n\tsuprime a troca normal de diretório ao se adicionar diretórios" + +#~ msgid "\tto the stack, so only the stack is manipulated." +#~ msgstr "\tà pilha, fazendo com que somente a pilha seja manipulada." + +#~ msgid "dir\tadds DIR to the directory stack at the top, making it the" +#~ msgstr "dir\tadiciona DIR à pilha de diretórios, no topo, tornando-o o" + +#~ msgid "You can see the directory stack with the `dirs' command." +#~ msgstr "Você pode exibir a pilha de diretórios através do comando `dirs'." + +#~ msgid "Removes entries from the directory stack. With no arguments," +#~ msgstr "Remove entradas da pilha de diretórios. Sem nenhum argumento," + +#~ msgid "removes the top directory from the stack, and cd's to the new" +#~ msgstr "remove o diretório que está no topo da pilha, e executa `cd' para" + +#~ msgid "+N\tremoves the Nth entry counting from the left of the list" +#~ msgstr "+N\tremove a n-ésima entrada contada a partir da esquerda da lista" + +#~ msgid "\tshown by `dirs', starting with zero. For example: `popd +0'" +#~ msgstr "\texibida por `dirs', começando por zero. Por exemplo: `popd +0'" + +#~ msgid "\tremoves the first directory, `popd +1' the second." +#~ msgstr "\tremove o primeiro diretório, `popd +1' o segundo." + +#~ msgid "-N\tremoves the Nth entry counting from the right of the list" +#~ msgstr "-N\tremove a n-ésima entrada contada a partir da direita da lista" + +#~ msgid "\tshown by `dirs', starting with zero. For example: `popd -0'" +#~ msgstr "\texibida por `dirs', começando por zero. Por exemplo: `popd -0'" + +#~ msgid "\tremoves the last directory, `popd -1' the next to last." +#~ msgstr "\tremove o último diretório, `popd -1' o penúltimo." + +#~ msgid "" +#~ "-n\tsuppress the normal change of directory when removing directories" +#~ msgstr "-n\tsuprime a troca normal de diretório ao remover-se diretórios" + +#~ msgid "\tfrom the stack, so only the stack is manipulated." +#~ msgstr "\tda pilha, fazendo com que somente a pilha seja manipulada." + +#~ msgid "Display the list of currently remembered directories. Directories" +#~ msgstr "Exibe a lista atual de diretórios memorizados. Os diretórios são" + +#~ msgid "find their way onto the list with the `pushd' command; you can get" +#~ msgstr "introduzidos na lista através do comando `pushd'; os diretórios são" + +#~ msgid "back up through the list with the `popd' command." +#~ msgstr "removidos da lista através do comando `popd'." + +#~ msgid "" +#~ "The -l flag specifies that `dirs' should not print shorthand versions" +#~ msgstr "A opção -l especifica que `dirs' não deve exibir a versão resumida" + +#~ msgid "" +#~ "of directories which are relative to your home directory. This means" +#~ msgstr "" +#~ "dos diretórios relativos ao seu diretório `home'. Isto significa que" + +#~ msgid "that `~/bin' might be displayed as `/homes/bfox/bin'. The -v flag" +#~ msgstr "" +#~ "`~/bin' deve ser exibido como `/home/você/bin'. A opção -v faz com que" + +#~ msgid "causes `dirs' to print the directory stack with one entry per line," +#~ msgstr "`dirs' exiba a pilha de diretórios com uma entrada por linha," + +#~ msgid "" +#~ "prepending the directory name with its position in the stack. The -p" +#~ msgstr "antecedendo o nome do diretório com a sua posição na pilha. A opção" + +#~ msgid "flag does the same thing, but the stack position is not prepended." +#~ msgstr "-p faz a mesma coisa, mas a posição na pilha não é exibida. A opção" + +#~ msgid "" +#~ "The -c flag clears the directory stack by deleting all of the elements." +#~ msgstr "-c limpa a pilha de diretórios apagando todos os seus elementos." + +#~ msgid "" +#~ "+N\tdisplays the Nth entry counting from the left of the list shown by" +#~ msgstr "" +#~ "+N\texibe a n-ésima entrada contada a partir da esquerda da lista exibida" + +#~ msgid "\tdirs when invoked without options, starting with zero." +#~ msgstr "\tpor `dirs', quando este é chamado sem opções, começando por zero." + +#~ msgid "" +#~ "-N\tdisplays the Nth entry counting from the right of the list shown by" +#~ msgstr "" +#~ "-N\texibe a n-ésima entrada contada a partir da direita da lista exibida" #~ msgid "Toggle the values of variables controlling optional behavior." #~ msgstr "" -#~ "Alterna os valores das variáveis controladoras de comportamentos " +#~ "Alterna os valores das variáveis controladoras de comportamentos " #~ "opcionais." #~ msgid "The -s flag means to enable (set) each OPTNAME; the -u flag" -#~ msgstr "A opção -s ativa (set) cada NOME-OPÇÃO; a opção -u desativa cada" +#~ msgstr "A opção -s ativa (set) cada NOME-OPÇÃO; a opção -u desativa cada" #~ msgid "unsets each OPTNAME. The -q flag suppresses output; the exit" #~ msgstr "" -#~ "NOME-OPÇÃO. A opção -q suprime a saída; o status de término indica se" +#~ "NOME-OPÇÃO. A opção -q suprime a saída; o status de término indica se" #~ msgid "status indicates whether each OPTNAME is set or unset. The -o" -#~ msgstr "cada NOME-OPÇÃO foi ativado ou desativado A opção -o restringe" +#~ msgstr "cada NOME-OPÇÃO foi ativado ou desativado A opção -o restringe" #~ msgid "option restricts the OPTNAMEs to those defined for use with" -#~ msgstr "NOME-OPÇÃO para aqueles definidos para uso através de `set -o'." +#~ msgstr "NOME-OPÇÃO para aqueles definidos para uso através de `set -o'." #~ msgid "`set -o'. With no options, or with the -p option, a list of all" -#~ msgstr "Sem nenhuma opção, ou com a opção -p, uma lista com todas as" +#~ msgstr "Sem nenhuma opção, ou com a opção -p, uma lista com todas as" #~ msgid "settable options is displayed, with an indication of whether or" #~ msgstr "" -#~ "opções que podem ser ativadas é exibida, com indicação sobre se cada uma" +#~ "opções que podem ser ativadas é exibida, com indicação sobre se cada uma" #~ msgid "not each is set." -#~ msgstr "das opções está ativa ou não." +#~ msgstr "das opções está ativa ou não." diff --git a/po/ro.gmo b/po/ro.gmo index 8405f78e6..5c7cb9a8b 100644 Binary files a/po/ro.gmo and b/po/ro.gmo differ diff --git a/po/ro.po b/po/ro.po index d3b27f339..2b91db364 100644 --- a/po/ro.po +++ b/po/ro.po @@ -6,79 +6,85 @@ msgid "" msgstr "" "Project-Id-Version: bash 2.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 1997-08-17 18:42+0300\n" "Last-Translator: Eugen Hoanca \n" "Language-Team: Romanian \n" -"Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" +"Language: ro\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "incluziune greºitã în interval" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, fuzzy, c-format msgid "%s: invalid associative array key" msgstr "%c%c: opþiune invalidã" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: nu se poate atribui cãtre index ne-numeric" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: nu s-a putut crea: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, fuzzy, c-format msgid "`%s': invalid alias name" msgstr "%c%c: opþiune invalidã" @@ -87,354 +93,383 @@ msgstr "%c%c: op msgid "line editing not enabled" msgstr "" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, fuzzy, c-format msgid "%s: cannot read: %s" msgstr "%s: nu s-a putut crea: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, fuzzy, c-format msgid "`%s': cannot unbind" msgstr "%s: comandã negãsitã" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, fuzzy, c-format msgid "`%s': unknown function name" msgstr "%s: funcþie doar în citire (readonly)" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "" -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 #, fuzzy msgid "loop count" msgstr "logout" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" " Without EXPR, returns " msgstr "" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "prea mulþi parametri" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "\t\tdirectorul curent." + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "" -#: builtins/common.c:101 +#: builtins/common.c:102 #, fuzzy, c-format msgid "line %d: " msgstr "slot %3d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, fuzzy, c-format msgid "warning: " msgstr "în scriere" -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "" -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, fuzzy, c-format msgid "%s: option requires an argument" msgstr "opþiunea necesitã un parametru: -" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "" -#: builtins/common.c:205 +#: builtins/common.c:213 #, fuzzy, c-format msgid "%s: not found" msgstr "%s: comandã negãsitã" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, fuzzy, c-format msgid "%s: invalid option" msgstr "%c%c: opþiune invalidã" -#: builtins/common.c:221 +#: builtins/common.c:229 #, fuzzy, c-format msgid "%s: invalid option name" msgstr "%c%c: opþiune invalidã" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, fuzzy, c-format msgid "`%s': not a valid identifier" msgstr "`%s' nu este un identificator valid" -#: builtins/common.c:238 +#: builtins/common.c:246 #, fuzzy msgid "invalid octal number" msgstr "numãr de semnal invalid" -#: builtins/common.c:240 +#: builtins/common.c:248 #, fuzzy msgid "invalid hex number" msgstr "numãr de semnal invalid" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 #, fuzzy msgid "invalid number" msgstr "numãr de semnal invalid" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: variabilã doar în citire" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 #, fuzzy msgid "argument" msgstr "se aºteaptã parametru" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "" -#: builtins/common.c:290 +#: builtins/common.c:298 #, fuzzy, c-format msgid "%s: no job control" msgstr "nici un control de job în acest shell" -#: builtins/common.c:292 +#: builtins/common.c:300 #, fuzzy msgid "no job control" msgstr "nici un control de job în acest shell" -#: builtins/common.c:302 +#: builtins/common.c:310 #, fuzzy, c-format msgid "%s: restricted" msgstr "%s: jobul a fost terminat" -#: builtins/common.c:304 +#: builtins/common.c:312 #, fuzzy msgid "restricted" msgstr "Terminat" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "" -#: builtins/common.c:321 +#: builtins/common.c:329 #, fuzzy, c-format msgid "write error: %s" msgstr "eroare de legãturã (pipe): %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, fuzzy, c-format msgid "%s: ambiguous job spec" msgstr "%s: Redirectare ambiguã" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "" -#: builtins/declare.def:126 +#: builtins/declare.def:127 #, fuzzy msgid "can only be used in a function" msgstr "poate fi folosit doar într-o funcþie, ºi face ca variabila NUME" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%c%c: opþiune invalidã" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: funcþie doar în citire (readonly)" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, fuzzy, c-format msgid "%s: cannot destroy array variables in this way" msgstr "$%s: nu se poate asigna în acest mod" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, fuzzy, c-format msgid "cannot open shared object %s: %s" msgstr "nu pot deschide legãtura numitã %s pentru %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, fuzzy, c-format msgid "%s: cannot delete: %s" msgstr "%s: nu s-a putut crea: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: este director" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, fuzzy, c-format msgid "%s: not a regular file" msgstr "%s: nu se poate executa fiºierul binar" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: nu se poate executa fiºierul binar" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, fuzzy, c-format msgid "%s: cannot execute: %s" msgstr "%s: nu s-a putut crea: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, fuzzy, c-format msgid "logout\n" msgstr "logout" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "" -#: builtins/fc.def:262 +#: builtins/fc.def:269 #, fuzzy msgid "no command found" msgstr "%s: comandã negãsitã" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, fuzzy, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: nu s-a putut crea: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "" @@ -453,35 +488,35 @@ msgstr "op msgid "hashing disabled" msgstr "" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, fuzzy, c-format msgid "hits\tcommand\n" msgstr "ultima comandã." -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "" msgstr[1] "" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -#: builtins/help.def:199 +#: builtins/help.def:226 #, fuzzy, c-format msgid "%s: cannot open: %s" msgstr "%s: nu s-a putut crea: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -493,15 +528,20 @@ msgid "" "\n" msgstr "" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%c%c: opþiune invalidã" + +#: builtins/history.def:375 #, fuzzy, c-format msgid "%s: history expansion failed" msgstr "%s: se aºteaptã expresie întreagã (integer)" @@ -515,117 +555,117 @@ msgstr "%s: variabil msgid "no other options allowed with `-x'" msgstr "" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "" -#: builtins/kill.def:263 +#: builtins/kill.def:265 #, fuzzy msgid "Unknown error" msgstr "Eroare necunoscutã %d" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "se aºteaptã expresie" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, fuzzy, c-format msgid "%s: not an indexed array" msgstr "%s: variabilã fãrã limitã" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, fuzzy, c-format msgid "%s: invalid line count" msgstr "%c%c: opþiune invalidã" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, fuzzy, c-format msgid "%s: invalid array origin" msgstr "%c%c: opþiune invalidã" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, fuzzy, c-format msgid "%s: invalid callback quantum" msgstr "numãr de semnal invalid" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 #, fuzzy msgid "empty array variable name" msgstr "%s: variabilã fãrã limitã" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, fuzzy, c-format msgid "`%c': invalid time format specification" msgstr "%c%c: opþiune invalidã" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 #, fuzzy msgid "no other directory" msgstr "director superior." -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%c%c: opþiune invalidã" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 #, fuzzy msgid "" msgstr "\tnoul director de lucru curent." -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -649,7 +689,7 @@ msgid "" "\tdirs when invoked without options, starting with zero." msgstr "" -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -674,7 +714,7 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -695,148 +735,158 @@ msgid "" " The `dirs' builtin displays the directory stack." msgstr "" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "" -#: builtins/read.def:678 +#: builtins/read.def:696 #, fuzzy, c-format msgid "read error: %d: %s" msgstr "eroare de legãturã (pipe): %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" -#: builtins/set.def:782 +#: builtins/set.def:841 #, fuzzy msgid "cannot simultaneously unset a function and a variable" msgstr "poate fi folosit doar într-o funcþie, ºi face ca variabila NUME" -#: builtins/set.def:826 +#: builtins/set.def:888 #, fuzzy, c-format msgid "%s: cannot unset" msgstr "%s: nu s-a putut crea: %s" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, fuzzy, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: nu s-a putut crea: %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, fuzzy, c-format msgid "%s: not an array variable" msgstr "%s: variabilã fãrã limitã" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, fuzzy, c-format msgid "%s: not a function" msgstr "%s: funcþie doar în citire (readonly)" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: nu s-a putut crea: %s" + +#: builtins/shift.def:73 builtins/shift.def:79 #, fuzzy msgid "shift count" msgstr "shift [n]" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "" -#: builtins/source.def:155 +#: builtins/source.def:157 #, fuzzy, c-format msgid "%s: file not found" msgstr "%s: comandã negãsitã" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 #, fuzzy msgid "cannot suspend a login shell" msgstr "Ieºire dintr-un login al shell-ului." -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "" -#: builtins/type.def:274 +#: builtins/type.def:276 #, fuzzy, c-format msgid "%s is a function\n" msgstr "%s: funcþie doar în citire (readonly)" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, fuzzy, c-format msgid "`%c': bad command" msgstr "%c%c: opþiune invalidã" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, fuzzy, c-format msgid "%s: cannot get limit: %s" msgstr "%s: nu s-a putut crea: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 #, fuzzy msgid "limit" msgstr "limitã CPU" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, fuzzy, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: nu s-a putut crea: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 #, fuzzy msgid "octal number" msgstr "numãr de semnal invalid" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr "" @@ -850,87 +900,108 @@ msgstr "ultima comand msgid "Aborting..." msgstr "" -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 #, fuzzy msgid "unknown command error" msgstr "Eroare necunoscutã %d" -#: error.c:441 +#: error.c:464 #, fuzzy msgid "bad command type" msgstr "ºi nume de comandã." -#: error.c:442 +#: error.c:465 #, fuzzy msgid "bad connector" msgstr "conector greºit `%d'" -#: error.c:443 +#: error.c:466 #, fuzzy msgid "bad jump" msgstr "Salt invalid %d" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: variabilã fãrã limitã" -#: eval.c:189 +#: eval.c:209 #, fuzzy, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "%ca expirat aºteptând introducere de date: auto-logout\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 #, fuzzy msgid "pipe error" msgstr "eroare de legãturã (pipe): %s" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: limitat: nu se poate specifica `/' în numele comenzilor" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: comandã negãsitã" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, fuzzy, c-format msgid "%s: %s: bad interpreter" msgstr "%s: este director" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: nu se poate executa fiºierul binar" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, fuzzy, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "nu se poate duplica fd %d în fd 0: %s" @@ -977,39 +1048,39 @@ msgstr "" msgid "missing `)'" msgstr "`)' lipsã" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 #, fuzzy msgid "syntax error: operand expected" msgstr "eroare de sintaxã: sfârºit de fiºier neaºteptat" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "" -#: expr.c:1416 +#: expr.c:1419 #, fuzzy, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s: %s: %s (identificatorul erorii este \"%s\")\n" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "valoare prea mare pentru bazã" -#: expr.c:1543 +#: expr.c:1546 #, fuzzy, c-format msgid "%s: expression error\n" msgstr "eroare de redirectare" -#: general.c:62 +#: general.c:68 #, fuzzy msgid "getcwd: cannot access parent directories" msgstr "getwd: nu s-au putut accesa directoarele pãrinte" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "" @@ -1025,151 +1096,151 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "check_bash_input: buffer deja existent pentru fd nou %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "" -#: jobs.c:1435 +#: jobs.c:1590 #, fuzzy, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: Nu existã pid-ul (%d)!\n" -#: jobs.c:1450 +#: jobs.c:1605 #, fuzzy, c-format msgid "Signal %d" msgstr "Semnal Necunoscut #%d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Finalizat" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Stopat" -#: jobs.c:1473 +#: jobs.c:1628 #, fuzzy, c-format msgid "Stopped(%s)" msgstr "Stopat" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "În rulare" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Finalizat(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Ieºire %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Stare necunoscutã" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(core dumped) " -#: jobs.c:1602 +#: jobs.c:1760 #, fuzzy, c-format msgid " (wd: %s)" msgstr "(wd actual: %s)\n" -#: jobs.c:1819 +#: jobs.c:1985 #, fuzzy, c-format msgid "child setpgid (%ld to %ld)" msgstr "setpgid copil (de la %d la %d) a întâlnit o eroare %d: %s\n" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, fuzzy, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "aºteptaþi: pid-ul %d nu este rezultat(child) al acestui shell" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: jobul a fost terminat" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" -#: jobs.c:3711 +#: jobs.c:3970 #, fuzzy, c-format msgid "%s: line %d: " msgstr "slot %3d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (core dumped)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd actual: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 #, fuzzy msgid "initialize_job_control: getpgrp failed" msgstr "initialize_jobs: getpgrp eºuat: %s" -#: jobs.c:3843 +#: jobs.c:4104 #, fuzzy msgid "initialize_job_control: line discipline" msgstr "initialize_jobs: disciplinã linie: %s" -#: jobs.c:3853 +#: jobs.c:4114 #, fuzzy msgid "initialize_job_control: setpgid" msgstr "initialize_jobs: getpgrp eºuat: %s" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "nici un control de job în acest shell" @@ -1221,17 +1292,17 @@ msgstr "" msgid "realloc: start and end chunk sizes differ" msgstr "" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "" @@ -1255,7 +1326,7 @@ msgstr "" msgid "%s: bad network path specification" msgstr "" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "" @@ -1292,232 +1363,267 @@ msgstr "Ave msgid "The mail in %s has been read\n" msgstr "Mailul din %s a fost citit\n" -#: make_cmd.c:323 +#: make_cmd.c:329 #, fuzzy msgid "syntax error: arithmetic expression required" msgstr "eroare de sintaxã în expresie " -#: make_cmd.c:325 +#: make_cmd.c:331 #, fuzzy msgid "syntax error: `;' unexpected" msgstr "eroare de sintaxã: sfârºit de fiºier neaºteptat" -#: make_cmd.c:326 +#: make_cmd.c:332 #, fuzzy, c-format msgid "syntax error: `((%s))'" msgstr "eroare de sintaxã" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: tip de instrucþiune greºit %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, fuzzy, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "EOF brusc în cãutare dupã `%c'" -#: parse.y:4170 +#: parse.y:4410 #, fuzzy msgid "unexpected EOF while looking for `]]'" msgstr "EOF brusc în cãutare dupã `%c'" -#: parse.y:4175 +#: parse.y:4415 #, fuzzy, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "eroare de sintaxã neaºteptatã lângã `%s'" -#: parse.y:4179 +#: parse.y:4419 #, fuzzy msgid "syntax error in conditional expression" msgstr "eroare de sintaxã în expresie " -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "" -#: parse.y:4261 +#: parse.y:4501 #, fuzzy msgid "expected `)'" msgstr "se aºteaptã `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "" -#: parse.y:4339 +#: parse.y:4579 #, fuzzy, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "%s: se aºteaptã operator binar" -#: parse.y:4343 +#: parse.y:4583 #, fuzzy msgid "conditional binary operator expected" msgstr "%s: se aºteaptã operator binar" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "" -#: parse.y:4380 +#: parse.y:4620 #, fuzzy, c-format msgid "unexpected token `%c' in conditional command" msgstr "`:' aºteptat dupã expresie condiþionalã" -#: parse.y:4383 +#: parse.y:4623 #, fuzzy, c-format msgid "unexpected token `%s' in conditional command" msgstr "`:' aºteptat dupã expresie condiþionalã" -#: parse.y:4387 +#: parse.y:4627 #, fuzzy, c-format msgid "unexpected token %d in conditional command" msgstr "`:' aºteptat dupã expresie condiþionalã" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "eroare de sintaxã neaºteptatã lângã `%s'" -#: parse.y:5755 +#: parse.y:6014 #, fuzzy, c-format msgid "syntax error near `%s'" msgstr "eroare de sintaxã neaºteptatã lângã `%s'" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "eroare de sintaxã: sfârºit de fiºier neaºteptat" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "eroare de sintaxã" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Folosiþi \"%s\" pentru a pãrãsi shellul.\n" -#: parse.y:5989 +#: parse.y:6248 #, fuzzy msgid "unexpected EOF while looking for matching `)'" msgstr "EOF brusc în cãutare dupã `%c'" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: conector greºitr `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "" -#: redir.c:177 +#: redir.c:178 #, fuzzy, c-format msgid "%s: ambiguous redirect" msgstr "%s: Redirectare ambiguã" -#: redir.c:181 +#: redir.c:182 #, fuzzy, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: nu se poate accesa(clobber) fiºierul existent" -#: redir.c:186 +#: redir.c:187 #, fuzzy, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: limitat: nu se poate specifica `/' în numele comenzilor" -#: redir.c:191 +#: redir.c:192 #, fuzzy, c-format msgid "cannot create temp file for here-document: %s" msgstr "nu pot face legãturã (pipe) pentru substituþia procesului: %s" -#: redir.c:195 +#: redir.c:196 #, fuzzy, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: nu pot asigna listã membrului intervalului" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 #, fuzzy msgid "redirection error: cannot duplicate fd" msgstr "eroare de redirectare" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "" -#: shell.c:890 +#: shell.c:927 #, fuzzy, c-format msgid "%c%c: invalid option" msgstr "%c%c: opþiune invalidã" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: este director" + +#: shell.c:1777 msgid "I have no name!" msgstr "Nu am nici un nume!" -#: shell.c:1827 +#: shell.c:1930 #, fuzzy, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU %s, versiunea %s\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1526,44 +1632,54 @@ msgstr "" "Folosire:\t%s [GNU opþiune lungã] [opþiune] ...\n" "\t%s [GNU opþiune lungã] [opþiune] fiºier script ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "opþiuni lungi GNU:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Opþiuni ale shell-ului:\n" -#: shell.c:1835 +#: shell.c:1938 #, fuzzy msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-irsD sau -c comandã\t\t(doar invocaþie)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s sau -o opþiune\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Apãsaþi `%s -c \"set-ajutor\"' pentru mai multe informaþii despre opþiunile " "shell-ului.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Apãsaþi `%s -c ajutor' pentru mai multe informaþii despre comenzile interne " "ale shell-ului.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "" @@ -1737,93 +1853,108 @@ msgstr "Semnal Necunoscut #" msgid "Unknown Signal #%d" msgstr "Semnal Necunoscut #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, fuzzy, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "substituþie invalidã: nu existã '%s' în %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: nu pot asigna listã membrului intervalului" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 #, fuzzy msgid "cannot make pipe for process substitution" msgstr "nu pot face legãturã (pipe) pentru substituþia procesului: %s" -#: subst.c:5113 +#: subst.c:5798 #, fuzzy msgid "cannot make child for process substitution" msgstr "nu pot crea un proces copil pentru substituirea procesului: %s" -#: subst.c:5158 +#: subst.c:5848 #, fuzzy, c-format msgid "cannot open named pipe %s for reading" msgstr "nu pot deschide legãtura numitã %s pentru %s: %s" -#: subst.c:5160 +#: subst.c:5850 #, fuzzy, c-format msgid "cannot open named pipe %s for writing" msgstr "nu pot deschide legãtura numitã %s pentru %s: %s" -#: subst.c:5178 +#: subst.c:5873 #, fuzzy, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "nu se poate duplica legãtura numitã %s ca fd %d: %s " -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "substituþie invalidã: nu existã ')' de final în %s" + +#: subst.c:6083 #, fuzzy msgid "cannot make pipe for command substitution" msgstr "nu pot face legãturi(pipes) pentru substituþia de comenzi: %s" -#: subst.c:5414 +#: subst.c:6127 #, fuzzy msgid "cannot make child for command substitution" msgstr "nu pot crea un copil pentru substituþia de comenzi: %s" -#: subst.c:5433 +#: subst.c:6153 #, fuzzy msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: nu se poate duplica legãtura (pipe) ca fd 1: %s" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: substituþie invalidã" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%c%c: opþiune invalidã" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "%c%c: opþiune invalidã" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parametru null sau nesetat" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: expresie subºir < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: substituþie invalidã" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: nu se poate asigna în acest mod" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" -#: subst.c:8421 +#: subst.c:9349 #, fuzzy, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "substituþie invalidã: nu existã ')' de final în %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "" @@ -1837,122 +1968,122 @@ msgstr "se a msgid "%s: integer expression expected" msgstr "%s: se aºteaptã expresie întreagã (integer)" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "se aºteaptã `)'" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "se aºteaptã `)', s-a primit %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: se aºteaptã operator unar" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: se aºteaptã operator binar" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "lipseºte ']'" -#: trap.c:217 +#: trap.c:224 #, fuzzy msgid "invalid signal number" msgstr "numãr de semnal invalid" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" -#: trap.c:428 +#: trap.c:447 #, fuzzy, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: Semnal invalid %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "eroare în importarea definiþiei funcþiei pentru '%s'" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "%s: nu pot asigna listã membrului intervalului" -#: variables.c:3646 +#: variables.c:3043 +#, c-format +msgid "%s: assigning integer to name reference" +msgstr "" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "" -#: variables.c:3891 +#: variables.c:4218 #, fuzzy, c-format msgid "%s has null exportstr" msgstr "%s: parametru null sau nesetat" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" -#: variables.c:5257 +#: variables.c:5619 #, fuzzy, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: nu s-a putut crea: %s" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "" #: version.c:47 version2.c:47 @@ -1974,10 +2105,6 @@ msgstr "" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "" -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "" - #: xmalloc.c:91 #, fuzzy, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -1998,16 +2125,16 @@ msgstr "xmalloc: nu pot aloca %lu octe msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "xmalloc: nu pot aloca %lu octeþi (%lu octeþi alocaþi)" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [nume[=valoare] ... ]" -#: builtins.c:47 +#: builtins.c:49 #, fuzzy msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] [nume ...]" -#: builtins.c:51 +#: builtins.c:53 #, fuzzy msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" @@ -2016,124 +2143,112 @@ msgstr "" "bind [-lpvsPVS] [-m keymap] [-f nume_fiºier] [-q nume] [-r keyseq] [keyseq:" "funcþie readline]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [shell-builtin [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 #, fuzzy msgid "caller [expr]" msgstr "test [expr]" -#: builtins.c:64 +#: builtins.c:66 #, fuzzy msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-PL] [dir]" -#: builtins.c:66 +#: builtins.c:68 #, fuzzy msgid "pwd [-LP]" msgstr "pwd [-PL]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "" - -#: builtins.c:72 -msgid "false" -msgstr "" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] comandã [arg ...]" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-afFrxi] [-p] nume[=valoare] ..." -#: builtins.c:78 +#: builtins.c:80 #, fuzzy -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-afFrxi] [-p] nume[=valoare] ..." -#: builtins.c:80 +#: builtins.c:82 #, fuzzy msgid "local [option] name[=value] ..." msgstr "local nume[=valoare] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 #, fuzzy msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-pnds] [-a] [-f nume_fiºier] [nume ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts optstring nume [arg]" -#: builtins.c:96 +#: builtins.c:98 #, fuzzy msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a nume] fiºier [redirectare ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 #, fuzzy msgid "logout [n]" msgstr "logout" -#: builtins.c:103 +#: builtins.c:105 #, fuzzy msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e enume] [-nlr] [prim] [u8ltim] sau fc -s [pat=rep] [cmd]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [job_spec]" -#: builtins.c:111 +#: builtins.c:113 #, fuzzy msgid "bg [job_spec ...]" msgstr "bg [job_spec]" -#: builtins.c:114 +#: builtins.c:116 #, fuzzy msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-r] [-p nume_cale] [nume ...]" -#: builtins.c:117 +#: builtins.c:119 #, fuzzy msgid "help [-dms] [pattern ...]" msgstr "help [tipar ...]" -#: builtins.c:121 +#: builtins.c:123 #, fuzzy msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " @@ -2141,16 +2256,16 @@ msgid "" msgstr "" "history [-c] [n] sau history -awrn [nume_fiºier] sau history -ps arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [jobspec ...] sau jobs -x comandã [args]" -#: builtins.c:129 +#: builtins.c:131 #, fuzzy -msgid "disown [-h] [-ar] [jobspec ...]" +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [jobspec ...]" -#: builtins.c:132 +#: builtins.c:134 #, fuzzy msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " @@ -2158,123 +2273,119 @@ msgid "" msgstr "" "kill [-s sigspec | -n signum | -sigspec] [pid | job]... sau kill -l [sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 #, fuzzy msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [--abefhkmnptuvxBCHP] [-o opþiune] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [nume ...]" -#: builtins.c:144 +#: builtins.c:146 #, fuzzy msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-nf] [nume ...] sau export -p" -#: builtins.c:146 +#: builtins.c:148 #, fuzzy msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-anf] [nume ...] sau readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 #, fuzzy msgid "source filename [arguments]" msgstr "nume fiºier sursã" -#: builtins.c:152 +#: builtins.c:154 #, fuzzy msgid ". filename [arguments]" msgstr ". nume fiºier" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [expr]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "ori" - -#: builtins.c:164 +#: builtins.c:166 #, fuzzy msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [arg] [signal_spec] sau trap -l" -#: builtins.c:166 +#: builtins.c:168 #, fuzzy msgid "type [-afptP] name [name ...]" msgstr "type [-apt] nume [nume ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "ulimit [-SHacdfmstpnuv] [limitã]" -#: builtins.c:172 +#: builtins.c:174 #, fuzzy msgid "umask [-p] [-S] [mode]" msgstr "umask [-S] [mod]" -#: builtins.c:175 +#: builtins.c:177 #, fuzzy msgid "wait [-n] [id ...]" msgstr "wait [n]" -#: builtins.c:179 +#: builtins.c:181 #, fuzzy msgid "wait [pid ...]" msgstr "wait [n]" -#: builtins.c:182 +#: builtins.c:184 #, fuzzy msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NUME [în EXPRESIE ... ;] executã COMENZI; done" -#: builtins.c:184 +#: builtins.c:186 #, fuzzy msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for NUME [în EXPRESIE ... ;] executã COMENZI; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NUME [în EXPRESIE ... ;] executã COMENZI; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case EXPRESIE în [TIPAR[[TIPAR]..) COMENZI ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2282,102 +2393,102 @@ msgstr "" "if COMENZI; then COMENZI; [elif COMENZI; then COMENZI; ]... [ else " "COMENZI; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while COMENZI; do COMENZI; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until COMENZI; do COMENZI; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "" -#: builtins.c:200 +#: builtins.c:202 #, fuzzy msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function NUME { COMENZI ; } sau NUME () { COMENZI ; }" -#: builtins.c:202 +#: builtins.c:204 #, fuzzy msgid "{ COMMANDS ; }" msgstr "{ COMENZI }" -#: builtins.c:204 +#: builtins.c:206 #, fuzzy msgid "job_spec [&]" msgstr "fg [job_spec]" -#: builtins.c:206 +#: builtins.c:208 #, fuzzy msgid "(( expression ))" msgstr "se aºteaptã expresie" -#: builtins.c:208 +#: builtins.c:210 #, fuzzy msgid "[[ expression ]]" msgstr "se aºteaptã expresie" -#: builtins.c:210 +#: builtins.c:212 #, fuzzy msgid "variables - Names and meanings of some shell variables" msgstr "Variabilele shell-ului sunt admise ca operanzi. Numele variabilei" -#: builtins.c:213 +#: builtins.c:215 #, fuzzy msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [dir | +N | -N] [-n]" -#: builtins.c:217 +#: builtins.c:219 #, fuzzy msgid "popd [-n] [+N | -N]" msgstr "popd [+N | -N] [-n]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 #, fuzzy msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o opþiune lungã] nume_opt [nume_opt...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -#: builtins.c:237 +#: builtins.c:239 #, fuzzy msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "type [-apt] nume [nume ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2389,7 +2500,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2397,17 +2508,17 @@ msgid "" " defined." msgstr "" -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2441,14 +2552,15 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2459,7 +2571,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2470,7 +2582,7 @@ msgid "" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2484,7 +2596,7 @@ msgid "" " not a shell builtin.." msgstr "" -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2500,7 +2612,7 @@ msgid "" " is invalid." msgstr "" -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2523,16 +2635,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2545,13 +2657,13 @@ msgid "" " -P is used; non-zero otherwise." msgstr "" -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2561,7 +2673,7 @@ msgid "" " cannot be read." msgstr "" -#: builtins.c:439 +#: builtins.c:442 #, fuzzy msgid "" "Null command.\n" @@ -2573,7 +2685,7 @@ msgid "" msgstr "" "Nici un efect, comanda nu face nimic. Un cod de ieºire zero este returnat." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2581,7 +2693,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2589,7 +2701,7 @@ msgid "" " Always fails." msgstr "" -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2599,16 +2711,16 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2618,9 +2730,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2648,14 +2760,14 @@ msgid "" " assignment error occurs." msgstr "" -#: builtins.c:527 +#: builtins.c:530 msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2670,7 +2782,7 @@ msgid "" " assignment error occurs, or the shell is not executing a function." msgstr "" -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2696,15 +2808,15 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2717,7 +2829,7 @@ msgid "" " Returns success unless a write error occurs." msgstr "" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2744,7 +2856,7 @@ msgid "" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2756,7 +2868,7 @@ msgid "" " Returns exit status of command or success if command is null." msgstr "" -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2797,7 +2909,7 @@ msgid "" " encountered or an error occurs." msgstr "" -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -2808,8 +2920,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2820,7 +2932,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:706 +#: builtins.c:709 #, fuzzy msgid "" "Exit the shell.\n" @@ -2829,7 +2941,7 @@ msgid "" " is that of the last command executed." msgstr "Iese din shell cu starea lui N. Dacã N este omis, starea de ieºire" -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2838,7 +2950,7 @@ msgid "" " in a login shell." msgstr "" -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2868,7 +2980,7 @@ msgid "" "occurs." msgstr "" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2880,7 +2992,7 @@ msgid "" " Status of command placed in foreground, or failure if an error occurs." msgstr "" -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2894,7 +3006,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -2903,22 +3015,22 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -2930,7 +3042,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2940,7 +3052,7 @@ msgid "" "given." msgstr "" -#: builtins.c:833 +#: builtins.c:836 msgid "" "Display or manipulate the history list.\n" " \n" @@ -2949,23 +3061,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -2974,7 +3086,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:869 +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -2984,7 +3096,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -2998,7 +3110,7 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3008,14 +3120,14 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" -#: builtins.c:915 +#: builtins.c:918 msgid "" "Send a signal to a job.\n" " \n" @@ -3027,7 +3139,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3037,7 +3150,7 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3082,7 +3195,7 @@ msgid "" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3103,27 +3216,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3133,7 +3247,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3145,7 +3259,7 @@ msgid "" " Returns N, or failure if the shell is not executing a function or script." msgstr "" -#: builtins.c:1041 +#: builtins.c:1047 msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3213,7 +3327,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3230,7 +3345,7 @@ msgid "" " Returns success unless an invalid option is given." msgstr "" -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3240,7 +3355,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3252,7 +3367,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3271,7 +3386,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3283,9 +3398,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3293,7 +3407,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3304,7 +3418,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3318,7 +3432,7 @@ msgid "" " FILENAME cannot be read." msgstr "" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3332,7 +3446,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3396,9 +3510,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3415,7 +3529,7 @@ msgid "" " false or an invalid argument is given." msgstr "" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -3423,7 +3537,7 @@ msgid "" " be a literal `]', to match the opening `['." msgstr "" -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3435,7 +3549,7 @@ msgid "" " Always succeeds." msgstr "" -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3479,7 +3593,7 @@ msgid "" "given." msgstr "" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -3488,18 +3602,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3509,7 +3623,7 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -3527,6 +3641,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3538,7 +3653,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3556,7 +3672,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3574,7 +3690,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3594,7 +3710,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3609,7 +3725,7 @@ msgid "" " option is given." msgstr "" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3622,7 +3738,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3639,7 +3755,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3659,7 +3775,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3675,7 +3791,7 @@ msgid "" " The return status is the return status of PIPELINE." msgstr "" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3686,7 +3802,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3707,7 +3823,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3718,7 +3834,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -3729,7 +3845,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3739,10 +3855,10 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3756,7 +3872,7 @@ msgid "" " Returns success unless NAME is readonly." msgstr "" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -3767,7 +3883,7 @@ msgid "" " Returns the status of the last command executed." msgstr "" -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3781,7 +3897,7 @@ msgid "" " Returns the status of the resumed job." msgstr "" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3792,7 +3908,7 @@ msgid "" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3820,7 +3936,7 @@ msgid "" " 0 or 1 depending on value of EXPRESSION." msgstr "" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3874,7 +3990,7 @@ msgid "" " \t\tcommands should be saved on the history list.\n" msgstr "" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -3884,19 +4000,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3905,7 +4021,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -3914,16 +4030,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3932,7 +4048,7 @@ msgid "" " change fails." msgstr "" -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -3943,25 +4059,25 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -3982,7 +4098,7 @@ msgid "" " given or OPTNAME is disabled." msgstr "" -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -3999,15 +4115,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -4021,7 +4137,7 @@ msgid "" " error occurs." msgstr "" -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -4034,11 +4150,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -4048,7 +4164,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -4061,7 +4177,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4092,7 +4208,7 @@ msgid "" " have a completion specification defined." msgstr "" -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4103,20 +4219,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4133,13 +4250,19 @@ msgid "" " not an indexed array." msgstr "" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" " A synonym for `mapfile'." msgstr "" +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "times" +#~ msgstr "ori" + #, fuzzy #~ msgid "wait [pid]" #~ msgstr "wait [n]" @@ -4269,8 +4392,8 @@ msgstr "" #~ msgid "Can't reopen pipe to command substitution (fd %d): %s" #~ msgstr "" -#~ "Nu se poate redeschide legãtura (pipe) cãtre substituþia de comenzi (fd " -#~ "%d): %s" +#~ "Nu se poate redeschide legãtura (pipe) cãtre substituþia de comenzi (fd %" +#~ "d): %s" #~ msgid "$%c: unbound variable" #~ msgstr "$%c: variabilã fãrã limitã" @@ -4915,8 +5038,8 @@ msgstr "" #~ msgid "" #~ " then the editor which corresponds to the current readline editing" #~ msgstr "" -#~ " apoi editorul care corespunde cu modul de editare al " -#~ "liniei(readline)" +#~ " apoi editorul care corespunde cu modul de editare al liniei" +#~ "(readline)" #~ msgid " mode, then vi." #~ msgstr " curente, ºi apoi vi." @@ -5530,8 +5653,8 @@ msgstr "" #~ msgid "" #~ "function. Some variables (such as PATH and IFS) cannot be unset; also" #~ msgstr "" -#~ "pe o funcþie. Anumite variabile ( precum PATH ºi IFS) nu pot fi " -#~ "desetate(unset);" +#~ "pe o funcþie. Anumite variabile ( precum PATH ºi IFS) nu pot fi desetate" +#~ "(unset);" #~ msgid "see readonly." #~ msgstr "de asemenea, vedeþi readonly." @@ -6200,9 +6323,6 @@ msgstr "" #~ "\t\tcãuta atunci când parametrii specificaþi comenzii `cd' nu sunt gãsiþi " #~ "în" -#~ msgid "\t\tdirectory." -#~ msgstr "\t\tdirectorul curent." - #~ msgid "" #~ "HISTFILE The name of the file where your command history is stored." #~ msgstr "" diff --git a/po/ru.gmo b/po/ru.gmo index 603320570..86ac1a6a3 100644 Binary files a/po/ru.gmo and b/po/ru.gmo differ diff --git a/po/ru.po b/po/ru.po index b0ad99bd6..b42cd5d57 100644 --- a/po/ru.po +++ b/po/ru.po @@ -1,486 +1,525 @@ -# Russian translations for GNU bash package -# áÎÇÌÉÊÓËÉÅ ÐÅÒÅ×ÏÄÙ ÄÌÑ ÐÁËÅÔÁ GNU bash. -# Copyright (C) 2006 Free Software Foundation, Inc. -# This file is distributed under the same license as the GNU bash package. -# , 2006. +# GNU Bourne Again SHell. +# Copyright (C) 2002 Free Software Foundation, Inc. +# This file is distributed under the same license as the bash package. +# Ruslan Batdalov , 2002. +# Pavel Maryanov , 2014. # msgid "" msgstr "" -"Project-Id-Version: GNU bash 3.1-release\n" +"Project-Id-Version: bash 4.3-rc2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2006-01-05 21:28+0300\n" -"Last-Translator: Evgeniy Dushistov \n" -"Language-Team: Russian \n" -"Language: ru\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2014-10-13 17:51+0200\n" +"Last-Translator: Pavel Maryanov \n" +"Language-Team: Russian \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=KOI8-R\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Language: ru\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Poedit 1.6.9\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" -msgstr "ÎÅÐÒÁ×ÉÌØÎÙÊ ÉÎÄÅËÓ ÍÁÓÓÉ×Á" +msgstr "неправильный индекс массива" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 #, c-format -msgid "%s: cannot convert indexed to associative array" +msgid "%s: removing nameref attribute" msgstr "" -#: arrayfunc.c:539 -#, fuzzy, c-format +#: arrayfunc.c:393 builtins/declare.def:780 +#, c-format +msgid "%s: cannot convert indexed to associative array" +msgstr "%s: не удаётся преобразовать индекс в ассоциативный массив" + +#: arrayfunc.c:578 +#, c-format msgid "%s: invalid associative array key" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÏÅ ÉÍÑ ÏÐÃÉÉ" +msgstr "%s: недействительный ключ ассоциативного массива" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" -msgstr "%s; ÎÅ ÍÏÇÕ ÐÒÉÐÉÓÁÔØ ÎÅ ÞÉÓÌÏ×ÏÊ ÉÎÄÅËÓ" +msgstr "%s: не удаётся присвоить значение нечисловому индексу" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "" +"%s: %s: необходимо использовать индекс при назначении ассоциативному массиву" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" -msgstr "%s: ÎÅ ÍÏÇÕ ÓÏÚÄÁÔØ: %s" +msgstr "%s: не удаётся создать файл: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" -msgstr "" +msgstr "bash_execute_unix_command: не удаётся найти keymap для команды" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" -msgstr "%s: ÐÅÒ×ÙÊ ÎÅÐÒÏÂÅÌØÎÙÊ ÓÉÍ×ÏÌ ÎÅ `\"'" +msgstr "%s: первый непробельный символ не является «\"»" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" -msgstr "ÎÅÔ ÚÁËÒÙ×ÁÀÝÅÇÏ `%c' × %s" +msgstr "нет закрывающего «%c» в %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" -msgstr "%s: ÐÒÏÐÕÝÅÎ ÒÁÚÄÅÌÉÔÅÌØ Ä×ÏÅÔÏÞÉÅ" +msgstr "%s: отсутствует разделитель-двоеточие" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "расширение скобки: не удаётся выделить память для %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" -msgstr "" +msgstr "расширение скобки: не удаётся выделить память для %d элементов" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "" +msgstr "расширение скобки: не удалось выделить память для «%s»" -#: builtins/alias.def:132 -#, fuzzy, c-format +#: builtins/alias.def:133 +#, c-format msgid "`%s': invalid alias name" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÏÅ ÉÍÑ ÏÐÃÉÉ" +msgstr "«%s»: недопустимый псевдоним" #: builtins/bind.def:123 builtins/bind.def:126 msgid "line editing not enabled" -msgstr "" +msgstr "редактирование строки не включено" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" -msgstr "" +msgstr "«%s»: недопустимое название keymap" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" -msgstr "%s: ÎÅ ÍÏÇÕ ÐÒÏÞÉÔÁÔØ: %s" +msgstr "%s: не удаётся прочитать файл: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" -msgstr "" +msgstr "«%s»: не удаётся отменить привязку" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" -msgstr "`%s': ÉÍÑ ÆÕÎËÃÉÉ ÎÅÉÚ×ÅÓÔÎÏ" +msgstr "«%s»: неизвестное название функции" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" -msgstr "%s ÎÅ ÐÒÉ×ÑÚÁÎÁ ÎÅ Ë ÏÄÎÏÊ ÉÚ ËÌÁ×ÉÛ.\n" +msgstr "%s не привязан ни к какой клавише.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " -msgstr "%s ÍÏÖÅÔ ÂÙÔØ ×ÙÚ×ÁÎ Ó ÐÏÍÏÝØÀ" +msgstr "%s можно вызвать через " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" -msgstr "" +msgstr "счётчик циклов" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" -msgstr "ÉÍÅÅÔ ÓÍÙÓÌ ÔÏÌØËÏ × ÃÉËÌÁÈ `for', `while', ÉÌÉ `until'" +msgstr "имеет значение только для циклов «for», «while» или «until»" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" " Without EXPR, returns " msgstr "" +"Возвращает контекст вызова текущей подпрограммы.\n" +" \n" +" Без EXPR выполняет возврат " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" -msgstr "ÐÅÒÅÍÅÎÎÁÑ HOME ÎÅ ÕÓÔÁÎÏ×ÌÅÎÁ" +msgstr "Не задана переменная HOME" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" -msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÁÒÇÕÍÅÎÔÏ×" +msgstr "слишком много аргументов" + +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "\t\tкаталоге." -#: builtins/cd.def:338 +#: builtins/cd.def:347 msgid "OLDPWD not set" -msgstr "ÐÅÒÅÍÅÎÎÁÑ OLDPWD ÎÅ ÕÓÔÁÎÏ×ÌÅÎÁ" +msgstr "Не задана переменная OLDPWD" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " -msgstr "" +msgstr "строка %d: " -#: builtins/common.c:139 error.c:265 -#, fuzzy, c-format +#: builtins/common.c:140 error.c:265 +#, c-format msgid "warning: " -msgstr "%s: ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ:" +msgstr "предупреждение: " -#: builtins/common.c:153 -#, fuzzy, c-format +#: builtins/common.c:154 +#, c-format msgid "%s: usage: " -msgstr "%s: ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ:" +msgstr "%s: использование: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" -msgstr "%s: ÏÐÃÉÑ ÔÒÅÂÕÅÔ ÁÒÇÕÍÅÎÔÁ" +msgstr "%s: для параметра требуется аргумент" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" -msgstr "%s: ÔÒÅÂÕÅÔÓÑ ÞÉÓÌÏ×ÏÊ ÁÒÇÕÍÅÎÔ" +msgstr "%s: требуется числовой аргумент" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" -msgstr "%s: ÎÅ ÎÁÊÄÅÎ" +msgstr "%s: не найден" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" -msgstr "%s: ÎÅÐÒÁ×ÉÌØÎÁÑ ÏÐÃÉÑ" +msgstr "%s: недопустимый параметр" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÏÅ ÉÍÑ ÏÐÃÉÉ" +msgstr "%s: недопустимое название параметра" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" -msgstr "`%s': ÎÅÐÒÁ×ÉÌØÎÙÊ ÉÄÅÎÔÉÆÉËÁÔÏÒ" +msgstr "«%s»: это недопустимый идентификатор" -#: builtins/common.c:238 -#, fuzzy +#: builtins/common.c:246 msgid "invalid octal number" -msgstr "ÎÅÄÏÐÕÓÔÉÍÙÊ ÎÏÍÅÒ ÓÉÇÎÁÌÁ" +msgstr "недопустимое восьмеричное число" -#: builtins/common.c:240 -#, fuzzy +#: builtins/common.c:248 msgid "invalid hex number" -msgstr "ÎÅÄÏÐÕÓÔÉÍÏÅ ÞÉÓÌÏ" +msgstr "недопустимое шестнадцатеричное число" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" -msgstr "ÎÅÄÏÐÕÓÔÉÍÏÅ ÞÉÓÌÏ" +msgstr "недопустимое число" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÁÑ ÓÐÅÃÉÆÉËÁÃÉÑ ÓÉÇÎÁÌÁ" +msgstr "%s: недопустимое указание сигнала" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" -msgstr "`%s': ÎÅ ÉÄÅÎÔÉÆÉËÁÔÏÒ ÐÒÏÃÅÓÓÁ ÉÌÉ ÐÒÁ×ÉÌØÎÏÅ ÉÍÑ ÚÁÄÁÞÉ" +msgstr "«%s»: это не идентификатор процесса и не допустимый указатель задания" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" -msgstr "%s: ÄÏÓÔÕÐÎÁÑ ÔÏÌØËÏ ÎÁ ÞÔÅÎÉÅ ÐÅÒÅÍÅÎÎÁÑ" +msgstr "%s: переменная только для чтения" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" -msgstr "%s: %s ×ÙÈÏÄÉÔ ÚÁ ÐÒÅÄÅÌÙ ÄÏÐÕÓÔÉÍÙÈ ÚÎÁÞÅÎÉÊ" +msgstr "%s: %s за пределами диапазона" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" -msgstr "ÁÒÇÕÍÅÎÔ" +msgstr "аргумент" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" -msgstr "%s ×ÙÈÏÄÉÔ ÚÁ ÐÒÅÄÅÌÙ ÄÏÐÕÓÔÉÍÙÈ ÚÎÁÞÅÎÉÊ" +msgstr "%s за пределами диапазона" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" -msgstr "%s: ÎÅ ÔÁËÏÊ ÚÁÄÁÞÉ" +msgstr "%s: нет такого задания" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" -msgstr "" +msgstr "%s: нет управления заданиями" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" -msgstr "" +msgstr "нет управления заданиями" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" -msgstr "" +msgstr "%s: ограниченный режим" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" -msgstr "" +msgstr "ограниченный режим" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" -msgstr "%s: ÎÅ ×ÓÔÒÏÅÎÎÁ × ÏÂÏÌÏÞËÕ" +msgstr "%s: это не не встроенная команда bash" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" -msgstr "ÏÛÉÂËÁ ÚÁÐÉÓÉ: %s" +msgstr "ошибка записи: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" -msgstr "" +msgstr "ошибка назначения атрибутов терминала: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" -msgstr "" +msgstr "ошибка получения атрибутов терминала: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" -msgstr "%s: ÏÛÉÂËÁ ÐÏÌÕÞÅÎÉÑ ÔÅËÕÝÅÊ ÄÉÒÅËÔÏÒÉÉ: %s: %s\n" +msgstr "%s: ошибка определения текущего каталога: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" +msgstr "%s: неоднозначный указатель задания" + +#: builtins/common.c:918 +msgid "help not available in this version" msgstr "" -#: builtins/complete.def:277 +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" -msgstr "" +msgstr "%s: недопустимое название действия" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" -msgstr "" +msgstr "%s: нет определения завершения" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" -msgstr "" +msgstr "предупреждение: параметр -F может работать не так, как ожидается" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" -msgstr "" +msgstr "предупреждение: параметр -C может работать не так, как ожидается" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" -msgstr "" +msgstr "сейчас не выполняет функцию завершения" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" -msgstr "ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎÁ ÔÏÌØËÏ × ÆÕÎËÃÉÉ" +msgstr "можно использовать только внутри функции" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" -msgstr "" +msgstr "%s: ссылочная переменная не может быть массивом" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" -msgstr "" +msgstr "%s: переменные nameref, ссылающиеся сами на себя, не допускаются" + +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: круговая ссылка на имя" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: недопустимое название переменной для ссылки на имя" -#: builtins/declare.def:398 +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" -msgstr "" +msgstr "«-f» нельзя использовать для создания функций" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" -msgstr "%s: ÄÏÓÔÕÐÎÁÑ ÔÏÌØËÏ ÎÁ ÞÔÅÎÉÅ ÆÕÎËÃÉÑ" +msgstr "%s: значение функции можно только считать" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" -msgstr "%s: ÎÅ ÍÏÇÕ ÕÄÁÌÉÔØ ÐÅÒÅÍÅÎÎÕÀ-ÍÁÓÓÉ× ÔÁËÉÍ ÓÐÏÓÏÂÏÍ" +msgstr "%s: переменные массива нельзя уничтожить таким образом" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" -msgstr "" +msgstr "%s: не удаётся преобразовать ассоциативный массив в индексированный" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" -msgstr "" +msgstr "динамическая загрузка недоступна" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" -msgstr "" +msgstr "не удаётся открыть общий объект %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" +msgstr "не удаётся найти %s в общем объекте %s: %s" + +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" msgstr "" -#: builtins/enable.def:459 +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" -msgstr "" +msgstr "%s: не загружается динамически" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" -msgstr "%s: ÎÅ ÍÏÇÕ ÕÄÁÌÉÔØ: %s" +msgstr "%s: не удаётся удалить: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" -msgstr "%s: Ñ×ÌÑÅÔÓÑ ÄÉÒÅËÔÏÒÉÅÊ" +msgstr "%s: это каталог" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" -msgstr "%s: ÎÅ Ñ×ÌÑÅÔÓÑ ÏÂÙÞÎÙÍ ÆÁÊÌÏÍ" +msgstr "%s: это не обычный файл" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" -msgstr "%s: ÓÌÉÛËÏÍ ÂÏÌØÛÏÊ ÆÁÊÌ" +msgstr "%s: файл слишком велик" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" -msgstr "%s: ÎÅ ÍÏÇÕ ÚÁÐÕÓÔÉÔØ ÂÉÎÁÒÎÙÊ ÆÁÊÌ" +msgstr "%s: не удаётся запустить бинарный файл" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" -msgstr "%s: ÎÅ ÍÏÇÕ ÚÁÐÕÓÔÉÔØ: %s" +msgstr "%s: не удаётся запустить: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" -msgstr "" +msgstr "выход\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" -msgstr "" -"ÏÂÏÌÏÞËÁ ÎÅ Ñ×ÌÑÅÔÓÑ ÚÁÐÕÝÅÎÎÏÊ ÐÏÓÌÅ ×ÈÏÄÁ × ÓÉÓÔÅÍÕ: ÉÓÐÏÌØÚÕÊÔÅ `exit' " +msgstr "не командный процессор login: используйте «exit»" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" -msgstr "åÓÔØ ÐÒÉÏÓÔÁÎÏ×ÌÅÎÎÙÅ ÚÁÄÁÞÉ.\n" +msgstr "Есть остановленные задания.\n" -#: builtins/exit.def:122 -#, fuzzy, c-format +#: builtins/exit.def:126 +#, c-format msgid "There are running jobs.\n" -msgstr "åÓÔØ ÐÒÉÏÓÔÁÎÏ×ÌÅÎÎÙÅ ÚÁÄÁÞÉ.\n" +msgstr "Есть выполняемые задания.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" -msgstr "ÎÅ ÎÁÛÅÌ ÔÁËÕÀ ËÏÍÁÎÄÕ" +msgstr "команда не найдена" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" -msgstr "" +msgstr "указание журнала команд" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" -msgstr "%s: ÎÅ ÍÏÇÕ ÏÔËÒÙÔØ ×ÒÅÍÅÎÎÙÊ ÆÁÊÌ: %s" +msgstr "%s: не удаётся открыть временный файл: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" -msgstr "" +msgstr "текущий" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" -msgstr "" +msgstr "задание %d запущено без возможности управления" #: builtins/getopt.c:110 #, c-format msgid "%s: illegal option -- %c\n" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÁÑ ÏÐÃÉÑ -- %c\n" +msgstr "%s: недопустимый параметр — %c\n" #: builtins/getopt.c:111 #, c-format msgid "%s: option requires an argument -- %c\n" -msgstr "" +msgstr "%s: для параметра требуется аргумент — %c\n" #: builtins/hash.def:92 msgid "hashing disabled" -msgstr "" +msgstr "хэширование отключено" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" -msgstr "" +msgstr "%s: таблица хэшей пустая\n" -#: builtins/hash.def:245 -#, fuzzy, c-format +#: builtins/hash.def:254 +#, c-format msgid "hits\tcommand\n" -msgstr "ÐÏÓÌÅÄÎÑÑ ËÏÍÁÎÄÁ: %s\n" +msgstr "вызовы\tкоманда\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "Команды, соответствующие ключевому слову «" +msgstr[1] "Команды, соответствующие ключевым словам «" +msgstr[2] "Команды, соответствующие ключевым словам «" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" +"нет разделов справки, соответствующих «%s». Попробуйте ввести «help help» или " +"«man -k %s» или «info %s»." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" -msgstr "%s: ÎÅ ÍÏÇÕ ÏÔËÒÙÔØ: %s" +msgstr "%s: не удаётся открыть файл: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -491,137 +530,151 @@ msgid "" "A star (*) next to a name means that the command is disabled.\n" "\n" msgstr "" +"Показанные ниже команды определены внутри командного процессора. Чтобы " +"вывести полный список, введите «help».\n" +"Чтобы вывести справку по функции «name», введите «help name».\n" +"Чтобы вывести справку по командному процессору, введите «info bash».\n" +"Чтобы вывести справку по командам, которые отсутствуют в этом списке, " +"введите «man -k» или «info».\n" +"\n" +"Звёздочка (*) рядом с названием команды означает, что эта команда " +"отключена.\n" +"\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" -msgstr "" +msgstr "нельзя использовать больше одного параметра -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" -msgstr "" +msgstr "положение журнала команд" + +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: недопустимый аргумент" -#: builtins/history.def:366 +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" -msgstr "" +msgstr "%s: не удалось расширить журнал команд" #: builtins/inlib.def:71 -#, fuzzy, c-format +#, c-format msgid "%s: inlib failed" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÙÊ ÓÅÒ×ÉÓ" +msgstr "%s: ошибка inlib" #: builtins/jobs.def:109 msgid "no other options allowed with `-x'" -msgstr "" +msgstr "с параметром «-x» нельзя указывать другие параметры" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" -msgstr "" +msgstr "%s: аргументами должны быть идентификаторы процессов или заданий" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" -msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÏÛÉÂËÁ" +msgstr "Неизвестная ошибка" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" -msgstr "ÏÖÉÄÁÌÏÓØ ×ÙÒÁÖÅÎÉÅ" +msgstr "ожидается выражение" -#: builtins/mapfile.def:172 -#, fuzzy, c-format +#: builtins/mapfile.def:178 +#, c-format msgid "%s: not an indexed array" -msgstr "%s: ÎÅ ÐÅÒÅÍÅÎÎÁÑ-ÍÁÓÓÉ×" +msgstr "%s: это не индексированный массив" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÏÅ ÏÐÉÓÁÎÉÅ ÆÁÊÌÏ×ÏÇÏ ÄÅÓËÒÉÐÔÏÒÁ" +msgstr "%s: недопустимое указание дескриптора файла" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" -msgstr "%d: ÎÅÄÏÐÕÓÔÉÍÙÊ ÄÅÓËÒÉÐÔÏÒ ÆÁÊÌÁ: %s" +msgstr "%d: invalid недопустимый дескриптор файла: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 -#, fuzzy, c-format +#: builtins/mapfile.def:289 builtins/mapfile.def:327 +#, c-format msgid "%s: invalid line count" -msgstr "%s: ÎÅÐÒÁ×ÉÌØÎÁÑ ÏÐÃÉÑ" +msgstr "%s: недопустимое число строк" -#: builtins/mapfile.def:287 -#, fuzzy, c-format +#: builtins/mapfile.def:300 +#, c-format msgid "%s: invalid array origin" -msgstr "%s: ÎÅÐÒÁ×ÉÌØÎÁÑ ÏÐÃÉÑ" +msgstr "%s: недопустимое начало массива" -#: builtins/mapfile.def:304 -#, fuzzy, c-format +#: builtins/mapfile.def:317 +#, c-format msgid "%s: invalid callback quantum" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÏÅ ÞÉÓÌÏ" +msgstr "%s: недопустимый квант обратного вызова" -#: builtins/mapfile.def:336 -#, fuzzy +#: builtins/mapfile.def:350 msgid "empty array variable name" -msgstr "%s: ÎÅ ÐÅÒÅÍÅÎÎÁÑ-ÍÁÓÓÉ×" +msgstr "пустое имя переменной массива" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" -msgstr "" +msgstr "требуется поддержка переменных массива" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" -msgstr "`%s': ÐÒÏÐÕÝÅÎ ÓÉÍ×ÏÌ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÑ" +msgstr "«%s»: отсутствует символ форматирования" -#: builtins/printf.def:456 -#, fuzzy, c-format +#: builtins/printf.def:467 +#, c-format msgid "`%c': invalid time format specification" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÁÑ ÓÐÅÃÉÆÉËÁÃÉÑ ÓÉÇÎÁÌÁ" +msgstr "«%c»: недопустимое указание формата времени" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" -msgstr "%c': ÎÅÄÏÐÕÓÔÉÍÙÊ ÓÉÍ×ÏÌ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÑ" +msgstr "«%c»: недопустимый символ форматирования" -#: builtins/printf.def:684 -#, fuzzy, c-format +#: builtins/printf.def:695 +#, c-format msgid "warning: %s: %s" -msgstr "%s: ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ:" +msgstr "предупреждение: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "ошибка анализа формата: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" -msgstr "" +msgstr "отсутствует шестнадцатеричная цифра для \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" -msgstr "" +msgstr "отсутствует цифра Юникода для \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" -msgstr "ÎÅÔ ÄÒÕÇÏÊ ÄÉÒÅËÔÏÒÉÉ" +msgstr "отсутствует другой каталог" -#: builtins/pushd.def:354 -#, fuzzy, c-format +#: builtins/pushd.def:360 +#, c-format msgid "%s: invalid argument" -msgstr "%s: ÎÅÐÒÁ×ÉÌØÎÁÑ ÏÐÃÉÑ" +msgstr "%s: недопустимый аргумент" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" -msgstr "" +msgstr "<отсутствует текущий каталог>" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" -msgstr "" +msgstr "стек каталогов пуст" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" -msgstr "" +msgstr "индекс стека каталогов" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -644,8 +697,26 @@ msgid "" "by\n" "\tdirs when invoked without options, starting with zero." msgstr "" +"Выводит список запомненных на данный момент каталогов. Каталоги\n" +" помещаются в список командой «pushd». Для очистки\n" +" списка используется команда «popd».\n" +" \n" +" Параметры:\n" +" -c\tочистить стек каталогов, удалив из него все элементы\n" +" -l\tне выводить каталоги, начинающиеся с тильды (~),\n" +" \tкоторая означает домашний каталог\n" +" -p\tпоказать стек по одному каталогу в строке\n" +" -v\tпоказать стек по одному каталогу в строке\n" +" \tи с номером в стеке\n" +" \n" +" Аргументы:\n" +" +N\tпоказать N-ю запись слева в списке каталогов,\n" +" \tпоказанного при вызове без параметров, начиная с нуля.\n" +" \n" +" -N\tпоказать N-ю запись справа в списке каталогов,\n" +"\tпоказанного при вызове без параметров, начиная с нуля." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -669,8 +740,30 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" +"Добавляет каталог в начало стека каталогов или выполняет\n" +" ротацию стека, помещая в начало стека текущий рабочий\n" +" каталог. Если аргументы не указаны, меняет местами два первых " +"каталога.\n" +" \n" +" Параметры:\n" +" -n\tпредотвращает обычное изменение каталога при добавлении\n" +" \tкаталогов в стек, чтобы действия выполнялись только над стеком.\n" +" \n" +" Аргументы:\n" +" +N\tвыполняет ротацию стека, чтобы N-й каталог (слева\n" +" \tв списке, показанного командой «dirs», начиная с нуля)\n" +" \tстал первым в стеке.\n" +" \n" +" -N\tвыполняет ротацию стека, чтобы N-й каталог (справа\n" +" \tв списке, показанного командой «dirs», начиная с нуля)\n" +" \tстал первым в стеке.\n" +" \n" +" каталог\tдобавляет каталог в начало стека каталогов, делая его\n" +" \tновым текущим каталогом.\n" +" \n" +" Встроенная команда dirs показывает стек каталогов." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -690,472 +783,527 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" +"Удаляет записи из стека каталогов. Если аргументы не указаны,\n" +" удаляет первый каталог из стека и назначает новый первый каталог.\n" +" \n" +" Параметры:\n" +" -n\tпредотвращает обычное изменение каталога при удалении\n" +" \tкаталогов из стека, чтобы действия выполнялись только над стеком.\n" +" \n" +" Аргументы:\n" +" +N\tудаляет N-ю слева запись в списке каталогов,\n" +" \tпоказанного командой «dirs», начиная с нуля. Например, «popd +0»\n" +" \tудаляет первый каталог, а «popd +1» — второй каталог.\n" +" \n" +" -N\tудаляет N-ю справа запись в списке каталогов,\n" +" \tпоказанного командой «dirs», начиная с нуля. Например, «popd -0»\n" +" \tудаляет последний каталог, а «popd -1» — предпоследний каталог.\n" +" \n" +" Встроенная команда dirs показывает стек каталогов." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" -msgstr "" +msgstr "%s: недопустимое указание тайм-аута" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" -msgstr "ÏÛÉÂËÁ ÞÔÅÎÉÑ: %d: %s" +msgstr "ошибка чтения: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" -msgstr "" +msgstr "возврат можно выполнить только из функции или исходного скрипта" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" -msgstr "" +msgstr "нельзя одновременно сбросить функцию и переменную" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" -msgstr "%s: ÎÅ ÍÏÇÕ ÓÂÒÏÓÉÔØ" +msgstr "%s: не удаётся выполнить сброс" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" -msgstr "%s: ÎÅ ÍÏÇÕ ÓÂÒÏÓÉÔØ: ÄÏÓÔÕÐÎÏ ÔÏÌØËÏ ÄÌÑ ÞÔÅÎÉÑ %s" +msgstr "%s: не удаётся выполнить сброс: %s доступен только для чтения" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" -msgstr "%s: ÎÅ ÐÅÒÅÍÅÎÎÁÑ-ÍÁÓÓÉ×" +msgstr "%s: это не переменная массива" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" -msgstr "%s: ÎÅ ÆÕÎËÃÉÑ" +msgstr "%s: это не функция" + +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: не удаётся выполнить сброс" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" -msgstr "" +msgstr "счётчик смещений" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" -msgstr "" +msgstr "нельзя одновременно задать и сбросить параметры командного процессора" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÏÅ ÉÍÑ ÏÐÃÉÉ ÏÂÏÌÏÞËÉ" +msgstr "%s: недопустимое название параметра командного процессора" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" -msgstr "ÔÒÅÂÕÅÔÓÑ ÁÒÇÕÍÅÎÔ ÉÍÑ ÆÁÊÌÁ" +msgstr "требуется аргумент с именем файла" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" -msgstr "%s: ÆÁÊÌ ÎÅ ÎÁÊÄÅÎ" +msgstr "%s: файл не найден" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" -msgstr "" +msgstr "не удаётся приостановить" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" -msgstr "" +msgstr "не удаётся приостановить командный процессор login" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" -msgstr "" +msgstr "%s — это псевдонимом для «%s»\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" -msgstr "%s Ñ×ÌÑÅÔÓÑ ËÌÀÞÅ×ÙÍ ÓÌÏ×ÏÍ ÏÂÏÌÏÞËÉ\n" +msgstr "%s — это ключевое слово командного процессора\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" -msgstr "%s Ñ×ÌÑÅÔÓÑ ÆÕÎËÃÉÅÊ\n" +msgstr "%s — это функция\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s — это встроенная команда bash\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" -msgstr "" +msgstr "%s — это встроенная команда bash\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" -msgstr "" +msgstr "%s является %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" -msgstr "" +msgstr "для %s вычислен хэш (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" -msgstr "" +msgstr "%s: недопустимый аргумент ограничения" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" -msgstr "`%c': ÐÌÏÈÁÑ ËÏÍÁÎÄÁ" +msgstr "«%c»: недопустимая команда" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" -msgstr "" +msgstr "%s: не удаётся получить ограничение: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" -msgstr "" +msgstr "ограничение" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" -msgstr "" +msgstr "%s: не удаётся изменить ограничение: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" -msgstr "ÞÉÓÌÏ × ×ÏÓØÍÅÒÉÞÎÏÊ ÓÉÓÔÅÍÅ ÉÓÞÉÓÌÅÎÉÑ" +msgstr "восьмеричное число" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" -msgstr "" +msgstr "«%c»: недопустимый оператор символьного режима" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" -msgstr "" +msgstr "«%c»: недопустимый знак символьного режима" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " -msgstr "" +msgstr " строка " #: error.c:165 #, c-format msgid "last command: %s\n" -msgstr "ÐÏÓÌÅÄÎÑÑ ËÏÍÁÎÄÁ: %s\n" +msgstr "последняя команда: %s\n" #: error.c:173 #, c-format msgid "Aborting..." -msgstr "úÁ×ÅÒÛÁÀ ÒÁÂÏÔÕ..." +msgstr "Прерывание..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" -msgstr "ÎÅÉÚ×ÅÓÔÎÁÑ ÏÛÉÂËÁ ËÏÍÁÎÄÙ" +msgstr "неизвестная ошибка команды" -#: error.c:441 +#: error.c:464 msgid "bad command type" -msgstr "" +msgstr "неверный тип команды" -#: error.c:442 +#: error.c:465 msgid "bad connector" -msgstr "" +msgstr "неверный соединитель" -#: error.c:443 +#: error.c:466 msgid "bad jump" -msgstr "" +msgstr "ошибка перехода" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" -msgstr "" +msgstr "%s: не заданы границы переменной" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" -msgstr "" +msgstr "\\aпревышено время ожидания ввода: auto-logout\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" -msgstr "" +msgstr "не удаётся перенаправить стандартный ввод из /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" +msgstr "TIMEFORMAT: «%c»: недопустимый символ форматирования" + +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" msgstr "" -#: execute_cmd.c:2287 -#, fuzzy +#: execute_cmd.c:2377 msgid "pipe error" -msgstr "ÏÛÉÂËÁ ÚÁÐÉÓÉ: %s" +msgstr "ошибка конвейера" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, fuzzy, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "%s: достигнут максимальный уровень вложенности функций (%d)" + +#: execute_cmd.c:4508 +#, fuzzy, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: достигнут максимальный уровень вложенности функций (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" -msgstr "" +msgstr "%s: достигнут максимальный уровень вложенности функций (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "" +"%s: ограниченный режим: в названиях команд нельзя использовать косую черту «/»" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" -msgstr "%s: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ" +msgstr "%s: команда не найдена" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" -msgstr "" +msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" -msgstr "%s: %s: ÐÌÏÈÏÊ ÉÎÔÅÒÐÒÅÔÁÔÏÒ" +msgstr "%s: %s: неверный интерпретатор" -#: execute_cmd.c:5280 -#, fuzzy, c-format +#: execute_cmd.c:5545 +#, c-format msgid "%s: cannot execute binary file: %s" -msgstr "%s: ÎÅ ÍÏÇÕ ÚÁÐÕÓÔÉÔØ ÂÉÎÁÒÎÙÊ ÆÁÊÌ" +msgstr "%s: не удаётся запустить бинарный файл: %s" -#: execute_cmd.c:5352 -#, fuzzy, c-format +#: execute_cmd.c:5623 +#, c-format msgid "`%s': is a special builtin" -msgstr "%s: ÎÅ ×ÓÔÒÏÅÎÎÁ × ÏÂÏÌÏÞËÕ" +msgstr "«%s»: это специальная встроенная команда" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" -msgstr "ÎÅ ÍÏÇÕ ÄÕÂÌÉÒÏ×ÁÔØ fd %d × fd %d" +msgstr "не удаётся скопировать файловый дескриптор %d в %d" #: expr.c:259 msgid "expression recursion level exceeded" -msgstr "" +msgstr "слишком много вложенных выражений" #: expr.c:283 msgid "recursion stack underflow" -msgstr "" +msgstr "отрицательное переполнение стека вложенных выражений" #: expr.c:431 msgid "syntax error in expression" -msgstr "ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÏÛÉÂËÁ × ×ÙÒÁÖÅÎÉÅ" +msgstr "синтаксическая ошибка в выражении" #: expr.c:475 msgid "attempted assignment to non-variable" -msgstr "ÐÏÐÙÔËÁ ÐÒÉÓ×ÏÅÎÉÑ ÎÅ-ÐÅÒÅÍÅÎÎÏÊ" +msgstr "значение можно присвоить только переменной" #: expr.c:495 expr.c:858 msgid "division by 0" -msgstr "ÄÅÌÅÎÉÅ ÎÁ 0" +msgstr "деление на 0" #: expr.c:542 msgid "bug: bad expassign token" -msgstr "" +msgstr "ошибка: недопустимый маркер присвоения выражения" #: expr.c:595 msgid "`:' expected for conditional expression" -msgstr "" +msgstr "в условном выражении должен быть символ «:»" #: expr.c:919 msgid "exponent less than 0" -msgstr "" +msgstr "экспонента меньше нуля" #: expr.c:976 msgid "identifier expected after pre-increment or pre-decrement" msgstr "" +"после предварительного инкремента или декремента ожидается идентификатор " #: expr.c:1002 msgid "missing `)'" -msgstr "ÐÒÏÐÕÝÅÎ `)'" +msgstr "отсутствует символ «)»" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" -msgstr "ÏÛÉÂËÁ ÓÉÎÔÁËÓÉÓÁ: ÏÖÉÄÁÅÔÓÑ ÏÐÅÒÁÎÄ" +msgstr "синтаксическая ошибка: ожидается операнд" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" -msgstr "" +msgstr "ошибка синтаксиса: недопустимый математический оператор" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" -msgstr "" +msgstr "%s%s%s: %s (неверный маркер «%s»)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" -msgstr "" +msgstr "недопустимое математическое основание" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" -msgstr "" +msgstr "слишком большое значение для основания" -#: expr.c:1543 -#, fuzzy, c-format +#: expr.c:1546 +#, c-format msgid "%s: expression error\n" -msgstr "ÏÖÉÄÁÌÏÓØ ×ÙÒÁÖÅÎÉÅ" +msgstr "%s: ошибка выражения\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" -msgstr "" +msgstr "getcwd: нет доступа к родительским каталогам" -#: input.c:102 subst.c:5168 -#, fuzzy, c-format +#: input.c:102 subst.c:5858 +#, c-format msgid "cannot reset nodelay mode for fd %d" -msgstr "ÎÅ ÍÏÇÕ ÄÕÂÌÉÒÏ×ÁÔØ fd %d × fd %d" +msgstr "не удаётся сбросить режим nodelay для файлового дескриптора %d" #: input.c:271 #, c-format msgid "cannot allocate new file descriptor for bash input from fd %d" msgstr "" +"не удаётся выделить новый дескриптор для входных данных bash из файлового " +"дескриптора %d" #: input.c:279 #, c-format msgid "save_bash_input: buffer already exists for new fd %d" -msgstr "" +msgstr "save_bash_input: у нового файлового дескриптора %d уже есть буфер" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" -msgstr "" +msgstr "start_pipeline: pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" -msgstr "" +msgstr "идентификатор дочернего процесса %d принадлежит запущенному заданию %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" -msgstr "" +msgstr "удаление остановленного задания %d с группой процесса %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" -msgstr "" +msgstr "add_process: процесс %5ld (%s) в the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "" +"add_process: процесс с идентификатором %5ld (%s) помечен как всё ещё активный" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" -msgstr "" +msgstr "describe_pid: %ld: нет процесса с таким идентификатором" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" -msgstr "" +msgstr "Сигнал %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" -msgstr "" +msgstr "Завершён" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" -msgstr "" +msgstr "Остановлен" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" -msgstr "" +msgstr "Остановлен (%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" -msgstr "" +msgstr "Запущен" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" -msgstr "" +msgstr "Завершён (%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" -msgstr "" +msgstr "Выход %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" -msgstr "" +msgstr "Состояние неизвестно" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " -msgstr "" +msgstr "(стек памяти сброшен на диск) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" -msgstr "" +msgstr " (рабочий каталог: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" -msgstr "" +msgstr "дочерний setpgid (%ld к %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "" +"wait: процесс %ld не является дочерним процессом этого командного процессора" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" -msgstr "" +msgstr "wait_for: нет записей процесса %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" -msgstr "" +msgstr "wait_for_job: задание %d остановлено" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" -msgstr "" +msgstr "%s: выполнение задания прервано" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" -msgstr "" +msgstr "%s: задание %d уже выполняется в фоновом режиме" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "" +"waitchld: включается WNOHANG, чтобы предотвратить появление неопределённого " +"блока" -#: jobs.c:3711 -#, fuzzy, c-format +#: jobs.c:3970 +#, c-format msgid "%s: line %d: " -msgstr "%s: ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ:" +msgstr "%s: строка %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" -msgstr "" +msgstr " (стек памяти сброшен на диск)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" -msgstr "" +msgstr "(рабочий каталог: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" -msgstr "" +msgstr "initialize_job_control: ошибка вызова getpgrp " -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" -msgstr "" +msgstr "initialize_job_control: дисциплина строки" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" -msgstr "" +msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" -msgstr "" +msgstr "не удаётся задать группу процесса терминала (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" -msgstr "" +msgstr "этот командный процессор не может управлять заданиями" #: lib/malloc/malloc.c:296 #, c-format msgid "malloc: failed assertion: %s\n" -msgstr "" +msgstr "malloc: ошибка утверждения: %s\n" #: lib/malloc/malloc.c:312 #, c-format @@ -1163,1140 +1311,1230 @@ msgid "" "\r\n" "malloc: %s:%d: assertion botched\r\n" msgstr "" +"\\r\n" +"malloc: %s:%d: утверждение не удалось\\r\n" #: lib/malloc/malloc.c:313 -#, fuzzy msgid "unknown" -msgstr "%s: ÈÏÓÔ ÎÅÉÚ×ÅÓÔÅÎ" +msgstr "неизвестно" #: lib/malloc/malloc.c:801 msgid "malloc: block on free list clobbered" -msgstr "" +msgstr "malloc: блок в списке свободных затёрт" #: lib/malloc/malloc.c:878 msgid "free: called with already freed block argument" -msgstr "" +msgstr "free: вызван с аргументом уже освобождённого блока" #: lib/malloc/malloc.c:881 msgid "free: called with unallocated block argument" -msgstr "" +msgstr "free: вызван с аргументом невыделенного блока" #: lib/malloc/malloc.c:900 msgid "free: underflow detected; mh_nbytes out of range" msgstr "" +"free: обнаружено отрицательное переполнение; mh_nbytes байт за пределами " +"диапазона" #: lib/malloc/malloc.c:906 msgid "free: start and end chunk sizes differ" -msgstr "" +msgstr "free: размеры начального и конечного блока отличаются" #: lib/malloc/malloc.c:1005 msgid "realloc: called with unallocated block argument" -msgstr "" +msgstr "realloc: вызван с аргументом невыделенного блока" #: lib/malloc/malloc.c:1020 msgid "realloc: underflow detected; mh_nbytes out of range" msgstr "" +"realloc: обнаружено отрицательное переполнение; mh_nbytes байт за пределами " +"диапазона" #: lib/malloc/malloc.c:1026 msgid "realloc: start and end chunk sizes differ" -msgstr "" +msgstr "realloc: размеры начального и конечного блока отличаются" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" -msgstr "" +msgstr "register_alloc: таблица выделения заполнена записями FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" -msgstr "" +msgstr "register_alloc: %p уже есть в таблице как выделенный?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" -msgstr "" +msgstr "register_free: %p уже есть в таблице как свободный?\n" #: lib/sh/fmtulong.c:102 msgid "invalid base" -msgstr "" +msgstr "недопустимое основание" #: lib/sh/netopen.c:168 #, c-format msgid "%s: host unknown" -msgstr "%s: ÈÏÓÔ ÎÅÉÚ×ÅÓÔÅÎ" +msgstr "%s: узел неизвестен" #: lib/sh/netopen.c:175 #, c-format msgid "%s: invalid service" -msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÙÊ ÓÅÒ×ÉÓ" +msgstr "%s: недопустимая служба" #: lib/sh/netopen.c:306 #, c-format msgid "%s: bad network path specification" -msgstr "" +msgstr "%s: недопустимое указание сетевого пути" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" -msgstr "" +msgstr "сетевые операции не поддерживаются" #: locale.c:200 #, c-format msgid "setlocale: LC_ALL: cannot change locale (%s)" -msgstr "" +msgstr "setlocale: LC_ALL: не удаётся изменить язык (%s)" #: locale.c:202 #, c-format msgid "setlocale: LC_ALL: cannot change locale (%s): %s" -msgstr "" +msgstr "setlocale: LC_ALL: не удаётся изменить язык (%s): %s" #: locale.c:259 #, c-format msgid "setlocale: %s: cannot change locale (%s)" -msgstr "" +msgstr "setlocale: %s: не удаётся изменить язык (%s)" #: locale.c:261 #, c-format msgid "setlocale: %s: cannot change locale (%s): %s" -msgstr "" +msgstr "setlocale: %s: не удаётся изменить язык (%s): %s" #: mailcheck.c:439 msgid "You have mail in $_" -msgstr "õ ×ÁÓ ÅÓÔØ ÐÏÞÔÁ × $_" +msgstr "Для вас есть почта в $_" #: mailcheck.c:464 msgid "You have new mail in $_" -msgstr "õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × $_" +msgstr "Для вас есть почта в $_" #: mailcheck.c:480 #, c-format msgid "The mail in %s has been read\n" -msgstr "ðÏÞÔÁ × %s ÂÙÌÁ ÐÒÏÞÉÔÁÎÁ\n" +msgstr "Сообщения в %s были прочитаны\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" -msgstr "" +msgstr "синтаксическая ошибка: требуется математическое выражение" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" -msgstr "ÏÛÉÂËÁ ÓÉÎÔÁËÓÉÓÁ: `;' ÎÅ ÏÖÉÄÁÅÔÓÑ" +msgstr "синтаксическая ошибка: ожидается «;»" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" -msgstr "ÏÛÉÂËÁ ÓÉÎÔÁËÓÉÓÁ: `((%s))'" +msgstr "синтаксическая ошибка: «((%s))»" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" -msgstr "" +msgstr "make_here_document: недопустимый тип инструкции %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" +"блок here-document в строке %d разделён знаком конца файла (ожидался «%s»)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "" +"make_redirection: инструкция перенаправления «%d» вышла за пределы диапазона" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 #, c-format -msgid "unexpected EOF while looking for matching `%c'" +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" msgstr "" -#: parse.y:4170 -msgid "unexpected EOF while looking for `]]'" +#: parse.y:2700 +msgid "maximum here-document count exceeded" msgstr "" -#: parse.y:4175 +#: parse.y:3390 parse.y:3748 +#, c-format +msgid "unexpected EOF while looking for matching `%c'" +msgstr "неожиданный конец файла во время поиска «%c»" + +#: parse.y:4410 +msgid "unexpected EOF while looking for `]]'" +msgstr "неожиданный конец файла во время поиска «]]»" + +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" -msgstr "" +msgstr "синтаксическая ошибка в условном выражении: неожиданный маркер «%s»" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" -msgstr "" +msgstr "синтаксическая ошибка в условном выражении" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" -msgstr "" +msgstr "неожиданный маркер «%s», ожидался «)»" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" -msgstr "ÏÖÉÄÁÌÓÑ `)'" +msgstr "ожидается символ «)»" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" -msgstr "" +msgstr "неожиданный аргумент «%s» для условного унарного оператора" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" -msgstr "" +msgstr "неожиданный аргумент для условного унарного оператора" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" -msgstr "" +msgstr "неожиданный маркер «%s», ожидается условный бинарный оператор" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" -msgstr "" +msgstr "ожидается условный бинарный оператор" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" -msgstr "" +msgstr "неожиданный аргумент «%s» для условного бинарного оператора" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" -msgstr "" +msgstr "неожиданный аргумент для условного бинарного оператора" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" -msgstr "" +msgstr "неожиданный маркер «%c» в условной команде" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" -msgstr "" +msgstr "неожиданный маркер «%s» в условной команде" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" -msgstr "" +msgstr "неожиданный маркер %d в условной команде" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" -msgstr "" +msgstr "синтаксическая ошибка рядом с неожиданным маркером «%s»" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" -msgstr "ÏÛÉÂËÁ ÓÉÎÔÁËÓÉÓÁ ÏËÏÌÏ `%s'" +msgstr "синтаксическая ошибка рядом с «%s»" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" -msgstr "ÏÛÉÂËÁ ÓÉÎÔÁËÓÉÓÁ: ÎÅÏÖÉÄÁÎÎÙÊ ËÏÎÅà ÆÁÊÌÁ" +msgstr "синтаксическая ошибка: неожиданный конец файла" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" -msgstr "ÏÛÉÂËÁ ÓÉÎÔÁËÓÉÓÁ" +msgstr "синтаксическая ошибка" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" -msgstr "éÓÐÏÌØÚÕÊÔÅ \"%s\", ÞÔÏÂÙ ÚÁ×ÅÒÛÉÔØÓÑ ÒÁÂÏÔÕ Ó ÏÂÏÌÏÞËÏÊ.\n" +msgstr "Для выхода из командного процессора используйте «%s».\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" -msgstr "" +msgstr "неожиданный конец файла во время поиска «)»" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" +msgstr "completion: функция «%s» не найдена" + +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" msgstr "" #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" -msgstr "" +msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" -msgstr "" +msgstr "print_command: неверный соединитель «%d»" -#: print_cmd.c:373 -#, fuzzy, c-format +#: print_cmd.c:375 +#, c-format msgid "xtrace_set: %d: invalid file descriptor" -msgstr "%d: ÎÅÄÏÐÕÓÔÉÍÙÊ ÄÅÓËÒÉÐÔÏÒ ÆÁÊÌÁ: %s" +msgstr "xtrace_set: %d: недопустимый идентификатор файла" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" -msgstr "" +msgstr "xtrace_set: пустой указатель на файл" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" -msgstr "" +msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" -msgstr "" +msgstr "cprintf: «%c»: недопустимый символ форматирования" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" -msgstr "ÆÁÊÌÏ×ÙÊ ÄÅÓËÒÉÐÔÏÒ ÚÁ ÐÒÅÄÅÌÁÍÉ ÄÏÐÕÓÔÉÍÏÇÏ ÄÉÁÐÁÚÏÎÁ" +msgstr "файловый дескриптор за пределами диапазона" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" -msgstr "" +msgstr "%s: неоднозначное перенаправление" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" -msgstr "%s: ÎÅ ÍÏÇÕ ÐÅÒÅÐÉÓÁÔØ ÕÖÅ ÓÕÝÅÓÔ×ÕÀÝÉÊ ÆÁÊÌ" +msgstr "%s: не удаётся перезаписать существующий файл" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" -msgstr "" +msgstr "%s: ограниченный режим: не удаётся перенаправить вывод" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" -msgstr "" +msgstr "не удаётся создать временный файл для блока here-document: %s" -#: redir.c:195 -#, fuzzy, c-format +#: redir.c:196 +#, c-format msgid "%s: cannot assign fd to variable" -msgstr "%s: ÎÅ ÐÅÒÅÍÅÎÎÁÑ-ÍÁÓÓÉ×" +msgstr "%s: не удаётся присвоить файловый дескриптор переменной" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" -msgstr "" +msgstr "/dev/(tcp|udp)/host/port не поддерживается без сети" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" -msgstr "ÏÛÉÂËÁ ÐÅÒÅÎÁÐÒÁ×ÌÅÎÉÑ: ÎÅ ÍÏÇÕ ÄÕÂÌÉÒÏ×ÁÔØ fd" +msgstr "ошибка перенаправления: не удаётся создать копию файлового дескриптора" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" -msgstr "ÎÅ ÍÏÇÕ ÎÁÊÔÉ /tmp, ÐÏÖÁÌÕÊÓÔÁ ÓÏÚÄÁÊÔÅ!" +msgstr "не удалось найти /tmp; создайте этот каталог" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" -msgstr "/tmp ÄÏÌÖÎÁ ÂÙÔØ ÄÅÊÓÔ×ÉÔÅÌØÎÙÍ ÉÍÅÎÅÍ ÄÉÒÅËÔÏÒÉÉ" +msgstr "/tmp должен быть допустимым названием каталога" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" -msgstr "%c%c: ÎÅÄÏÐÕÓÔÉÍÁÑ ÏÐÃÉÑ" +msgstr "%c%c: недопустимый параметр" + +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "не удаётся сбросить режим nodelay для файлового дескриптора %d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "не удаётся сбросить режим nodelay для файлового дескриптора %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: это каталог" -#: shell.c:1682 +#: shell.c:1777 msgid "I have no name!" -msgstr "õ ÍÅÎÑ ÎÅÔ ÉÍÅÎÉ!" +msgstr "Не удаётся определить название" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" -msgstr "" +msgstr "GNU bash, версия %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" msgstr "" -"éÓÐÏÌØÚÏ×ÁÎÉÅ:\n" -"%s [ÄÌÉÎÎÙÅ ÏÐÃÉÉ Á-ÌÑ `GNU'] [ÏÐÃÉÉ] ...\n" -"\t%s [ÄÌÉÎÎÙÅ ÏÐÃÉÉ Á-ÌÑ `GNU'] [ÏÐÃÉÉ] ÆÁÊÌ_ÓÏ_ÓËÒÉÐÔÏÍ...\n" +"Использование:\t%s [длинные параметры GNU] [параметры] ...\n" +"\t\t%s [длинные параметры GNU] [параметры] файл_скрипта ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" -msgstr "äÌÉÎÎÙÅ ÏÐÃÉÉ × ÓÔÅÌÅ GNU:\n" +msgstr "Длинные параметры GNU:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" -msgstr "ïÐÃÉÉ ÏÂÏÌÏÞËÉ:\n" +msgstr "Параметры командного процессора:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "" +"\t-irsD или -c команда или -O короткие_параметры\t\t(только при запуске)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" -msgstr "\t-%s ÉÌÉ ÏÐÃÉÑ -o\n" +msgstr "\t-%s или -o параметр\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" +"Для получения дополнительных сведений о параметрах командного процессора " +"введите «%s -c \"help set\"».\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" +"Для получения дополнительных сведений о встроенных командах введите «%s -c " +"help».\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" +msgstr "Для отправки сообщений об ошибках используйте команду «bashbug».\n" + +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" msgstr "" -#: sig.c:691 +#: shell.c:1964 #, c-format -msgid "sigprocmask: %d: invalid operation" +msgid "General help using GNU software: \n" msgstr "" +#: sig.c:707 +#, c-format +msgid "sigprocmask: %d: invalid operation" +msgstr "sigprocmask: %d: недопустимая операция" + #: siglist.c:48 msgid "Bogus signal" -msgstr "" +msgstr "Фиктивный сигнал" #: siglist.c:51 msgid "Hangup" -msgstr "" +msgstr "Отбой" #: siglist.c:55 msgid "Interrupt" -msgstr "" +msgstr "Прерывание" #: siglist.c:59 msgid "Quit" -msgstr "" +msgstr "Выход" #: siglist.c:63 msgid "Illegal instruction" -msgstr "" +msgstr "Недопустимая инструкция" #: siglist.c:67 msgid "BPT trace/trap" -msgstr "" +msgstr "Трасса/ловушка BPT" #: siglist.c:75 msgid "ABORT instruction" -msgstr "" +msgstr "Инструкция ABORT" #: siglist.c:79 msgid "EMT instruction" -msgstr "" +msgstr "Инструкция EMT" #: siglist.c:83 msgid "Floating point exception" -msgstr "" +msgstr "Исключение при обработке чисел с плавающей точкой" #: siglist.c:87 msgid "Killed" -msgstr "" +msgstr "Убит" #: siglist.c:91 -#, fuzzy msgid "Bus error" -msgstr "ÏÛÉÂËÁ ÓÉÎÔÁËÓÉÓÁ" +msgstr "Ошибка шины" #: siglist.c:95 msgid "Segmentation fault" -msgstr "" +msgstr "Ошибка сегментации" #: siglist.c:99 msgid "Bad system call" -msgstr "" +msgstr "Неверный системный вызов" #: siglist.c:103 msgid "Broken pipe" -msgstr "" +msgstr "Конвейер не работает" #: siglist.c:107 msgid "Alarm clock" -msgstr "" +msgstr "Сигнал часов" #: siglist.c:111 msgid "Terminated" -msgstr "" +msgstr "Прерван" #: siglist.c:115 msgid "Urgent IO condition" -msgstr "" +msgstr "Срочное событие ввода/вывода" #: siglist.c:119 msgid "Stopped (signal)" -msgstr "" +msgstr "Остановлен (сигналом)" #: siglist.c:127 msgid "Continue" -msgstr "" +msgstr "Продолжение" #: siglist.c:135 msgid "Child death or stop" -msgstr "" +msgstr "Смерть или остановка дочернего процесса" #: siglist.c:139 msgid "Stopped (tty input)" -msgstr "" +msgstr "Остановлен (ввод с tty)" #: siglist.c:143 msgid "Stopped (tty output)" -msgstr "" +msgstr "Остановлен (вывод на tty)" #: siglist.c:147 msgid "I/O ready" -msgstr "" +msgstr "Готов к вводу/выводу" #: siglist.c:151 msgid "CPU limit" -msgstr "" +msgstr "Ограничение ЦП" #: siglist.c:155 msgid "File limit" -msgstr "" +msgstr "Ограничение величины файла" #: siglist.c:159 msgid "Alarm (virtual)" -msgstr "" +msgstr "Сигнал часов (виртуальный)" #: siglist.c:163 msgid "Alarm (profile)" -msgstr "" +msgstr "Сигнал часов (профиль)" #: siglist.c:167 msgid "Window changed" -msgstr "" +msgstr "Окно изменено" #: siglist.c:171 msgid "Record lock" -msgstr "" +msgstr "Запись блокирована" #: siglist.c:175 msgid "User signal 1" -msgstr "" +msgstr "Сигнал пользователя 1" #: siglist.c:179 msgid "User signal 2" -msgstr "" +msgstr "Сигнал пользователя 2" #: siglist.c:183 msgid "HFT input data pending" -msgstr "" +msgstr "Ожидание входных данных HFT" #: siglist.c:187 msgid "power failure imminent" -msgstr "" +msgstr "неизбежна ошибка питания" #: siglist.c:191 msgid "system crash imminent" -msgstr "" +msgstr "неизбежно падение системы" #: siglist.c:195 msgid "migrate process to another CPU" -msgstr "" +msgstr "процесс переносится на другой ЦП" #: siglist.c:199 msgid "programming error" -msgstr "" +msgstr "программная ошибка" #: siglist.c:203 msgid "HFT monitor mode granted" -msgstr "" +msgstr "Установлен режим монитора HFT" #: siglist.c:207 msgid "HFT monitor mode retracted" -msgstr "" +msgstr "Выход из режима монитора HFT" #: siglist.c:211 msgid "HFT sound sequence has completed" -msgstr "" +msgstr "Последовательность звуков HFT завершена" #: siglist.c:215 msgid "Information request" -msgstr "" +msgstr "Информационный запрос" #: siglist.c:223 msgid "Unknown Signal #" -msgstr "" +msgstr "Неизвестный номер сигнала" #: siglist.c:225 #, c-format msgid "Unknown Signal #%d" -msgstr "" +msgstr "Неизвестный номер сигнала %d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" -msgstr "" +msgstr "неверная подстановка: нет закрывающей «%s» в %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" -msgstr "" +msgstr "%s: не удаётся присвоить список элементу массива" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" -msgstr "" +msgstr "не удаётся создать конвейер для подстановки процесса" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" -msgstr "" +msgstr "не удаётся создать дочерний процесс для подстановки" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" -msgstr "ÎÅ ÍÏÇÕ ÏÔËÒÙÔØ ÉÍÅÎÎÏÊ ËÁÎÁÌ %s ÄÌÑ ÞÔÅÎÉÑ" +msgstr "не удаётся открыть именованный конвейер %s для чтения" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" -msgstr "ÎÅ ÍÏÇÕ ÏÔËÒÙÔØ ÉÍÅÎÎÏÊ ËÁÎÁÌ %s ÄÌÑ ÚÁÐÉÓÉ" +msgstr "не удаётся открыть именованный конвейер %s для записи" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "" +"не удаётся скопировать именованный конвейер %s в файловый дескриптор %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "неверная подстановка: нет закрывающей «`» в %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" -msgstr "" +msgstr "не удаётся создать конвейер для подстановки команды" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" -msgstr "" +msgstr "не удаётся создать дочерний процесс для подстановки команды" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" +"command_substitute: не удаётся скопировать конвейер в файловый дескриптор 1" -#: subst.c:5837 subst.c:8050 -#, fuzzy, c-format +#: subst.c:6580 subst.c:8939 +#, c-format msgid "%s: invalid variable name for name reference" -msgstr "%d: ÎÅÄÏÐÕÓÔÉÍÙÊ ÄÅÓËÒÉÐÔÏÒ ÆÁÊÌÁ: %s" +msgstr "%s: недопустимое название переменной для ссылки на имя" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 #, c-format -msgid "%s: parameter null or not set" -msgstr "%s: ÐÁÒÁÍÅÔÒ null ÉÌÉ ÎÅ ÕÓÔÁÎÏ×ÌÅÎ" +msgid "%s: bad substitution" +msgstr "%s: неверная подстановка" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: недопустимое число строк" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "«%s»: недопустимый псевдоним" -#: subst.c:6320 subst.c:6335 +#: subst.c:6854 #, c-format -msgid "%s: substring expression < 0" -msgstr "" +msgid "%s: parameter null or not set" +msgstr "%s: параметр не задан или пустой" -#: subst.c:7506 +#: subst.c:7089 subst.c:7104 #, c-format -msgid "%s: bad substitution" -msgstr "" +msgid "%s: substring expression < 0" +msgstr "%s: заданное подстрокой выражение меньше нуля" -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" -msgstr "" +msgstr "$%s: такое присвоение невозможно" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" +"в будущих версиях командный процессор оценка будет выполняться как " +"математическая подстановка" -#: subst.c:8421 -#, fuzzy, c-format +#: subst.c:9349 +#, c-format msgid "bad substitution: no closing \"`\" in %s" -msgstr "ÎÅÔ ÚÁËÒÙ×ÁÀÝÅÇÏ `%c' × %s" +msgstr "неверная подстановка: нет закрывающей «`» в %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" -msgstr "ÎÅÔ ÓÏ×ÐÁÄÅÎÉÑ Ó: %s" +msgstr "нет совпадений: %s" #: test.c:147 msgid "argument expected" -msgstr "ÐÒÅÄÐÏÌÁÇÁÅÔÓÑ ÞÔÏ ÂÕÄÅÔ ÉÓÐÏÌØÚÏ×ÁÎ ÁÒÇÕÍÅÎÔ" +msgstr "ожидается аргумент" #: test.c:156 #, c-format msgid "%s: integer expression expected" -msgstr "" +msgstr "%s: ожидается целочисленное выражение" -#: test.c:264 +#: test.c:265 msgid "`)' expected" -msgstr "ÏÖÉÄÁÅÔÓÑ `)' " +msgstr "ожидается символ «)»" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" -msgstr "ÏÖÉÄÁÌÓÑ `)', ÎÁÊÄÅÎ %s" +msgstr "ожидается символ «)», обнаружено %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" -msgstr "%s: ÏÖÉÄÁÅÔÓÑ ÉÓÐÏÌØÚÏ×ÁÎÉÅ ÕÎÁÒÎÏÇÏ ÏÐÅÒÁÔÏÒÁ" +msgstr "%s: ожидается унарный оператор" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" -msgstr "%s: ÏÖÉÄÁÅÔÓÑ ÉÓÐÏÌØÚÏ×ÁÎÉÅ ÂÉÎÁÒÎÏÇÏ ÏÐÅÒÁÔÏÒÁ" +msgstr "%s: ожидается бинарный оператор" -#: test.c:860 +#: test.c:869 msgid "missing `]'" -msgstr "ÐÒÏÐÕÝÅÎ `]'" +msgstr "отсутствует символ «]»" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" -msgstr "ÎÅÄÏÐÕÓÔÉÍÙÊ ÎÏÍÅÒ ÓÉÇÎÁÌÁ" +msgstr "недопустимый номер сигнала" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" -msgstr "" +msgstr "run_pending_traps: неверное значение в trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" +"run_pending_traps: обработчик сигнала — SIG_DFL; повторная отправка %d (%s) " +"самому себе" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" -msgstr "" +msgstr "trap_handler: неверный сигнал %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" -msgstr "" +msgstr "ошибка импорта определения функции для «%s»" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" -msgstr "" - -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%d: ÎÅÄÏÐÕÓÔÉÍÙÊ ÄÅÓËÒÉÐÔÏÒ ÆÁÊÌÁ: %s" +msgstr "слишком высокий уровень командного процессора (%d); сбрасывается до 1" -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" -msgstr "" +msgstr "make_local_variable: в текущей области отсутствует контекст функции" -#: variables.c:2247 -#, fuzzy, c-format +#: variables.c:2432 +#, c-format msgid "%s: variable may not be assigned value" -msgstr "%s: ÎÅ ÐÅÒÅÍÅÎÎÁÑ-ÍÁÓÓÉ×" +msgstr "%s: переменной не может быть присвоено значение" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: недопустимое название переменной для ссылки на имя" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" -msgstr "" +msgstr "all_local_variables: в текущей области отсутствует контекст функции" -#: variables.c:3891 -#, fuzzy, c-format +#: variables.c:4218 +#, c-format msgid "%s has null exportstr" -msgstr "%s: ÐÁÒÁÍÅÔÒ null ÉÌÉ ÎÅ ÕÓÔÁÎÏ×ÌÅÎ" +msgstr "%s имеет пустую exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" -msgstr "" +msgstr "недопустимый символ %d в exportstr для %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" -msgstr "" +msgstr "отсутствует «=» в exportstr для %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" +"pop_var_context: заголовок shell_variables не является контекстом функции" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" -msgstr "" +msgstr "pop_var_context: отсутствует контекст global_variables" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" +"pop_scope: заголовок shell_variables не является областью временного " +"окружения" -#: variables.c:5257 -#, fuzzy, c-format +#: variables.c:5619 +#, c-format msgid "%s: %s: cannot open as FILE" -msgstr "%s: ÎÅ ÍÏÇÕ ÏÔËÒÙÔØ: %s" +msgstr "%s: %s: не удаётся открыть как ФАЙЛ" -#: variables.c:5262 -#, fuzzy, c-format +#: variables.c:5624 +#, c-format msgid "%s: %s: invalid value for trace file descriptor" -msgstr "%d: ÎÅÄÏÐÕÓÔÉÍÙÊ ÄÅÓËÒÉÐÔÏÒ ÆÁÊÌÁ: %s" +msgstr "%s: %s: недопустимое значение для дескриптора файла трассировки" -#: variables.c:5307 -#, fuzzy, c-format +#: variables.c:5669 +#, c-format msgid "%s: %s: compatibility value out of range" -msgstr "%s: %s ×ÙÈÏÄÉÔ ÚÁ ÐÒÅÄÅÌÙ ÄÏÐÕÓÔÉÍÙÈ ÚÎÁÞÅÎÉÊ" +msgstr "%s: %s: значение совместимости за пределами диапазона" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "" +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "© Free Software Foundation, Inc, 2013." #: version.c:47 version2.c:47 msgid "" "License GPLv3+: GNU GPL version 3 or later \n" msgstr "" +"Лицензия GPLv3+: GNU GPL версии 3 или более поздней \n" #: version.c:86 version2.c:86 #, c-format msgid "GNU bash, version %s (%s)\n" -msgstr "" +msgstr "GNU bash, версия %s (%s)\n" #: version.c:91 version2.c:91 msgid "This is free software; you are free to change and redistribute it." msgstr "" +"Это свободное программное обеспечение. Вы можете изменять и распространять " +"его." #: version.c:92 version2.c:92 msgid "There is NO WARRANTY, to the extent permitted by law." -msgstr "" - -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "" +msgstr "НИКАКАЯ ГАРАНТИЯ не предоставляется в пределах, допускаемых законом." #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "" +msgstr "%s: не удаётся выделить %lu байт (выделено %lu байт)" #: xmalloc.c:93 -#, fuzzy, c-format +#, c-format msgid "%s: cannot allocate %lu bytes" -msgstr "%s: ÎÅ ÍÏÇÕ ÓÏÚÄÁÔØ: %s" +msgstr "%s: не удаётся выделить %lu байт" #: xmalloc.c:163 #, c-format msgid "%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "" +msgstr "%s: %s:%d: не удаётся выделить %lu байт (выделено %lu байт)" #: xmalloc.c:165 -#, fuzzy, c-format +#, c-format msgid "%s: %s:%d: cannot allocate %lu bytes" -msgstr "%s: ÎÅ ÍÏÇÕ ÓÏÚÄÁÔØ: %s" +msgstr "%s: %s:%d: не удаётся выделить %lu байт" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" -msgstr "" +msgstr "alias [-p] [имя[=значение] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" -msgstr "" +msgstr "unalias [-a] имя [имя ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" +"bind [-lpvsPSVX] [-m раскладка] [-f файл] [-q имя] [-u name] [-r " +"послед_клавиш] [-x послед_клавиш:команда_shell] [послед_клавиш:фнкц_readline " +"или команда_readline]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" -msgstr "" +msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" -msgstr "" +msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" -msgstr "" +msgstr "builtin [встр_команда [аргумент ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" -msgstr "" - -#: builtins.c:64 -msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "" +msgstr "caller [выражение]" #: builtins.c:66 -msgid "pwd [-LP]" -msgstr "" +msgid "cd [-L|[-P [-e]] [-@]] [dir]" +msgstr "cd [-L|[-P [-e]] [-@]] [каталог]" #: builtins.c:68 -msgid ":" -msgstr "" - -#: builtins.c:70 -msgid "true" -msgstr "" - -#: builtins.c:72 -msgid "false" -msgstr "" - -#: builtins.c:74 -msgid "command [-pVv] command [arg ...]" -msgstr "" +msgid "pwd [-LP]" +msgstr "pwd [-LP]" #: builtins.c:76 -msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "" +msgid "command [-pVv] command [arg ...]" +msgstr "command [-pVv] команда [аргумент ...]" #: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "" +msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [имя[=значение] ...]" #: builtins.c:80 +#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilrtux] [-p] имя[=значение] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." -msgstr "" +msgstr "local [параметр] имя[=значение] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" -msgstr "" +msgstr "echo [-neE] [аргумент ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" -msgstr "" +msgstr "echo [-n] [аргумент ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" -msgstr "" +msgstr "enable [-a] [-dnps] [-f файл] [имя ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" -msgstr "" +msgstr "eval [аргумент ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" -msgstr "" +msgstr "getopts строка_параметров имя [аргумент]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" -msgstr "" +msgstr "exec [-cl] [-a имя] [команда] [аргументы ...]] [перенаправление ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" -msgstr "" +msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" -msgstr "" +msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" +"fc [-e редактор] [-lnr] [первая] [последняя] или fc -s [шаблон=замена] " +"[команда]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" -msgstr "" +msgstr "fg [задание]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" -msgstr "" +msgstr "bg [задание ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" -msgstr "" +msgstr "hash [-lr] [-p путь] [-dt] [имя ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" -msgstr "" +msgstr "help [-dms] [шаблон ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" +"history [-c] [-d смещение] [n] или history -anrw [файл] или history -ps " +"аргумент [аргумент...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" -msgstr "" +msgstr "jobs [-lnprs] [задание ...] или jobs -x команда [аргументы]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" -msgstr "" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" +msgstr "disown [-h] [-ar] [задание ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" msgstr "" +"kill [-s назв_сигнала | -n номер_сигнала | -назв_сигнала] ид_процесса | " +"назв_задания] ... или kill -l [назв_сигнала]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" -msgstr "" +msgstr "let аргумент [аргумент ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" +"read [-ers] [-a массив] [-d разделитель] [-i текст] [-n число_символов] [-N " +"число_символов] [-p приглашение] [-t тайм-аут] [-u fd] [имя ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" -msgstr "" +msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -msgstr "" +msgstr "set [-abefhkmnptuvxBCHP] [-o параметр] [--] [аргумент ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "" +msgstr "unset [-f] [-v] [-n] [имя ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" -msgstr "" +msgstr "export [-fn] [имя[=значение ...] или export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" -msgstr "" +msgstr "readonly [-aAf] [имя[=значение] ...] или readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" -msgstr "" +msgstr "shift [n]" -#: builtins.c:150 -#, fuzzy +#: builtins.c:152 msgid "source filename [arguments]" -msgstr "ÔÒÅÂÕÅÔÓÑ ÁÒÇÕÍÅÎÔ ÉÍÑ ÆÁÊÌÁ" +msgstr "source файл [аргументы]" -#: builtins.c:152 -#, fuzzy +#: builtins.c:154 msgid ". filename [arguments]" -msgstr "ÔÒÅÂÕÅÔÓÑ ÁÒÇÕÍÅÎÔ ÉÍÑ ÆÁÊÌÁ" +msgstr ". файл [аргументы]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" -msgstr "" - -#: builtins.c:158 -msgid "test [expr]" -msgstr "" +msgstr "suspend [-f]" #: builtins.c:160 -msgid "[ arg... ]" -msgstr "" +msgid "test [expr]" +msgstr "test [выражение]" #: builtins.c:162 -msgid "times" -msgstr "" +msgid "[ arg... ]" +msgstr "[ аргумент... ]" -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" -msgstr "" +msgstr "trap [-lp] [[аргумент] сигнал ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" -msgstr "" +msgstr "type [-afptP] имя [имя ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "" +#: builtins.c:171 +#, fuzzy +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [ограничение]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" -msgstr "" +msgstr "umask [-p] [-S] [режим]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "" +msgstr "wait [-n] [идентификатор ...]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "" +msgstr "wait [идентификатор ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" -msgstr "" +msgstr "for ИМЯ [in СЛОВА... ;] do КОМАНДЫ; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" -msgstr "" +msgstr "for (( выраж1; выраж2; выраж3 )); do КОМАНДЫ; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" -msgstr "" +msgstr "select ИМЯ [in СЛОВА ... ;] do КОМАНДЫ; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" -msgstr "" +msgstr "time [-p] конвейер" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" -msgstr "" +msgstr "case СЛОВО in [ШАБЛОН [| ШАБЛОН]...) КОМАНДЫ ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" msgstr "" +"if КОМАНДЫ; then КОМАНДЫ; [ elif КОМАНДЫ; then КОМАНДЫ; ]... [ else " +"КОМАНДЫ; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" -msgstr "" +msgstr "while КОМАНДЫ; do КОМАНДЫ; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" -msgstr "" +msgstr "until КОМАНДЫ; do КОМАНДЫ; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" -msgstr "" +msgstr "coproc [ИМЯ] команда [перенаправления]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" -msgstr "" +msgstr "function ИМЯ { КОМАНДЫ ; } или ИМЯ () { КОМАНДЫ ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" -msgstr "" +msgstr "{ КОМАНДЫ ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" -msgstr "" +msgstr "задание [&]" -#: builtins.c:206 -#, fuzzy +#: builtins.c:208 msgid "(( expression ))" -msgstr "ÏÖÉÄÁÌÏÓØ ×ÙÒÁÖÅÎÉÅ" +msgstr "(( выражение ))" -#: builtins.c:208 -#, fuzzy +#: builtins.c:210 msgid "[[ expression ]]" -msgstr "ÏÖÉÄÁÌÏÓØ ×ÙÒÁÖÅÎÉÅ" +msgstr "[[ выражение ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "" +"переменные — имена и значения некоторых переменных командного процессора" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" -msgstr "" +msgstr "pushd [-n] [+N | -N | каталог]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" -msgstr "" +msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" -msgstr "" +msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" -msgstr "" +msgstr "shopt [-pqsu] [-o] [параметр ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" -msgstr "" +msgstr "printf [-v переменная] формат [аргументы]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" +"complete [-abcdefgjksuv] [-pr] [-DE] [-o параметр] [-A действие] [-G " +"глоб_шаблон] [-W список_слов] [-F функция] [-C команда] [-X фильтр_шабл] [-" +"P префикс] [-S суффикс] [имя ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" +"compgen [-abcdefgjksuv] [-o параметр] [-A действие] [-G глоб_шабл] [-W " +"список_слов] [-F функция] [-C команда] [-X фильтр_шабл] [-P префикс] [-S " +"суффикс] [слово]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" -msgstr "" +msgstr "compopt [-o|+o параметр] [-DE] [имя ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" +"mapfile [-n число] [-O начало] [-s число] [-t] [-u fd] [-C callback] [-c " +"quantum] [массив]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" +"readarray [-n число] [-O начало] [-s число] [-t] [-u fd] [-C callback] [-c " +"quantum] [массив]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2308,25 +2546,49 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " "been\n" " defined." msgstr "" +"Определение или отображение псевдонимов.\n" +" \n" +" Если не указать аргументы, alias выводит список псевдонимов\n" +" в виде «alias имя=значение» на стандартный вывод.\n" +" \n" +" В противном случае каждому имени, для которого указано значение, " +"назначается псевдоним.\n" +" Если значение в конце содержит пробел, следующее слово будет\n" +" проверяться на замену псевдонима при его развёртывании.\n" +" \n" +" Параметры:\n" +" -p\tвыводит все определённые псевдонимы\n" +" \n" +" Состояние выхода:\n" +" alias возвращает истину, если для указанного имени был задан\n" +" псевдоним." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" +"Удаляет каждое имя из списка определённых псевдонимов.\n" +" \n" +" Параметры:\n" +" -a\tудаляет все определения псевдонимов\n" +" \n" +" Возвращает успех, если имя связано с существующим псевдонимом." -#: builtins.c:289 +#: builtins.c:291 +#, fuzzy msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2360,14 +2622,57 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" - -#: builtins.c:328 +"Определение привязок клавиш и переменных readline.\n" +" \n" +" Привязывает последовательность клавиш функции readline или макросу\n" +" или задаёт переменную readline. Синтаксис аргументов без параметров " +"аналогичен\n" +" синтаксису файла ~/.inputrc, но всё должно передаваться в одном " +"аргументе,\n" +" например bind '\"\\C-x\\C-r\": перечитать-init-файл'.\n" +" \n" +" Параметры:\n" +" -m раскладка использовать указанную раскладку во время " +"выполнения\n" +" данной команды. Допустимые раскладки: emacs,\n" +" emacs-standard, emacs-meta, emacs-ctlx, vi, vi-" +"move,\n" +" vi-command и vi-insert.\n" +" -l вывести названия функций\n" +" -P вывести названия функций и их привязки\n" +" -p вывести функции и их привязки в формате\n" +" для повторного использования\n" +" -S вывести список последовательностей клавиш, которые\n" +" вызывают макросы, и их значения\n" +" -s вывести список последовательностей клавиш, которые\n" +" вызывают макросы, и их значения\n" +" в формате для повторного использования\n" +" -V вывести названия переменных и их значения\n" +" -v вывести имена переменных и их значения\n" +" в формате для повторного использования\n" +" -q имя_функции\t вывести клавиши, вызывающие указанную функцию\n" +" -u имя_функции отвязать все клавиши, привязанные к указанной " +"функции\n" +" -r посл-клавиш удалить привязку для последовательности клавиш\n" +" -f файл прочитать привязки из файла\n" +" -x посл-клавиш:кмнд-shell выполнить команду bash, если введена\n" +" \t\t\t\tпоследовательность клавиш\n" +" -X\t\t вывести последовательности клавиш, привязанные с помощью -" +"x, и связанные команды\n" +" в формате для повторного использования\n" +" \n" +" Состояние выхода:\n" +" bind возвращает 0, если был указан допустимый параметр или не возникла " +"ошибка." + +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2377,8 +2682,16 @@ msgid "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" +"Прерывание цикла for, while или until.\n" +" \n" +" Прерывает цикл for, while или until. Если указано N, прерывает N " +"вложенных\n" +" циклов.\n" +" \n" +" Состояние выхода:\n" +" Возвращает 0, если N не больше или равно 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2388,8 +2701,15 @@ msgid "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" +"Возобновление цикла for, while или until.\n" +" \n" +" Возобновляет следующую итерацию вложенного цикла for, while или until.\n" +" Если указано N, возобновляет N-й вложенный цикл.\n" +" \n" +" Состояние выхода:\n" +" Возвращает 0, если N не больше или равно 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2402,8 +2722,20 @@ msgid "" " Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is\n" " not a shell builtin.." msgstr "" +"Выполнение встроенных команд.\n" +" \n" +" Выполняет встроенную команду bash с аргументами\n" +" без поиска команды. Это полезно, если нужно переопределить встроенную " +"команду\n" +" как функцию командного процессора, в этой функции нужно выполнить " +"встроенную команду.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние выхода встроенной команды или ложь, если указанная " +"команда bash\n" +" не является встроенной." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2418,8 +2750,23 @@ msgid "" " Returns 0 unless the shell is not executing a shell function or EXPR\n" " is invalid." msgstr "" +"Возвращает контекст вызова текущей подпрограммы.\n" +" \n" +" Если выражение не указано, возвращает «$line $filename». Если выражение " +"указано, возвращает\n" +" «$line $subroutine $filename». Эти дополнительные данные можно\n" +" использовать для трассировки стека.\n" +" \n" +" Значение выражения означает количество кадров, которое нужно вызвать\n" +" для возврата к текущему кадру. Первый кадр имеет номер 0.\n" +" \n" +" Состояние выхода:\n" +" Возвращает 0, если командный процессор не выполняет функцию, или " +"выражение\n" +" является допустимым." -#: builtins.c:385 +#: builtins.c:387 +#, fuzzy msgid "" "Change the shell working directory.\n" " \n" @@ -2442,16 +2789,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2463,14 +2810,56 @@ msgid "" "when\n" " -P is used; non-zero otherwise." msgstr "" - -#: builtins.c:422 +"Смена рабочего каталога командного процессора.\n" +" \n" +" Изменяет текущий каталог на указанный каталог. Каталог по умолчанию " +"хранится в\n" +" переменной $HOME командного процессора.\n" +" \n" +" Переменная $CDPATH определяет путь поиска каталога, содержащего\n" +" указанный каталог. Альтернативные каталоги в $CDPATH разделяются " +"двоеточием (:).\n" +" Пустое название каталога соответствует текущему каталогу. Если каталог " +"начинается\n" +" с косой черты (/), переменная $CDPATH не используется.\n" +" \n" +" Если каталог не найден и задан параметр «cdable_vars»,\n" +" слово считается названием переменной. Если эта переменная содержит " +"значение,\n" +" оно используется для каталога.\n" +" \n" +" Параметры:\n" +" -L\tпереходить по символьным ссылкам: ссылки раскрываются \n" +" \tв каталоге после обработки экземпляров «..»\n" +" -P\tиспользовать физическую структуру каталогов без перехода\n" +" \tпо символьным ссылкам: ссылки раскрываются в каталоге до\n" +" \tобработки «..»\n" +" -e\tесли указан параметр -P, и не удаётся определить текущий\n" +" \tрабочий каталог, команда завершается с ненулевым состоянием\n" +" -@ на системах, которые это поддерживают, представляет файл с " +"расширенными\n" +" атрибутами как каталог, содержащий атрибуты файла\n" +" \n" +" По умолчанию выполняется переход по символьным ссылкам (как при указании " +"параметра «-L»).\n" +" «..» обрабатывается путём удаления первого компонента пути до косой " +"черты\n" +" или из начала каталога.\n" +" \n" +" Состояние выхода:\n" +" Возвращает 0, если каталог был изменён, и если $PWD был успешно " +"установлен\n" +" при использовании параметра -P. В противном случае возвращается " +"ненулевое состояние." + +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2479,9 +2868,20 @@ msgid "" " Returns 0 unless an invalid option is given or the current directory\n" " cannot be read." msgstr "" +"Вывод названия текущего рабочего каталога.\n" +" \n" +" Параметры:\n" +" -L\tпоказать значение $PWD, если переменная указывает на\n" +" \tтекущий рабочий каталог\n" +" -P\tпоказать название физического каталога без символьных ссылок\n" +" \n" +" По умолчанию pwd работает, как если бы «-L» не был указан.\n" +" \n" +" Состояние выхода:\n" +" Возвращает 0, если был указан допустимый параметр или можно прочитать\n" +" текущий каталог." -#: builtins.c:439 -#, fuzzy +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2490,27 +2890,39 @@ msgid "" " Exit Status:\n" " Always succeeds." msgstr "" -" îÅÔ ËÁËÏÇÏ-ÌÉÂÏ ÜÆÆÅËÔÁ; ËÏÍÁÎÄÁ ÎÉÞÅÇÏ ÎÅ ÄÅÌÁÅÔ. îÕÌØ ×ÏÚ×ÒÁÝÁÅÔÓÑ × " -"ËÁÞÅÓÔ×Å ÒÅÚÕÌØÔÁÔÁ." +"Пустая команда.\n" +" \n" +" Команда не выполняет никаких действий и ни на что не влияет.\n" +" \n" +" Состояние выхода:\n" +" Всегда возвращает успех." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" " Exit Status:\n" " Always succeeds." msgstr "" +"Возвращает результат успешного выполнения.\n" +" \n" +" Состояние выхода:\n" +" Всегда возвращает успех." -#: builtins.c:459 -#, fuzzy +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" " Exit Status:\n" " Always fails." -msgstr "÷ÏÚ×ÒÁÝÁÅÔ ÒÅÚÕÌØÔÁÔ: ÎÅÕÄÁÞÁ." +msgstr "" +"Возвращает результат неудачного выполнения.\n" +" \n" +" Состояние выхода:\n" +" Всегда возвращает ошибку." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2520,16 +2932,34 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" +"Выполнение простой команды или вывод информации о командах.\n" +" \n" +" Выполняет команду с аргументами без поиска функции командного " +"процессора\n" +" или выводит информацию об указанных командах. Можно использовать для " +"вызова команд\n" +" с диска, когда функция с таким именем уже существует.\n" +" \n" +" Параметры:\n" +" -p\tиспользовать значение по умолчанию для $PATH, чтобы " +"гарантированно\n" +" \tнайти все стандартные команды\n" +" -v\tвывести описание команды аналогично встроенной команде «type»\n" +" -V\tвывести более подробное описание каждой команды\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние выхода КОМАНДЫ или ошибку, если КОМАНДА не найдена." -#: builtins.c:487 +#: builtins.c:490 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" @@ -2539,9 +2969,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2568,15 +2998,59 @@ msgid "" " Returns success unless an invalid option is supplied or a variable\n" " assignment error occurs." msgstr "" - -#: builtins.c:527 +"Указание значений переменных и атрибутов.\n" +" \n" +" Объявление переменных и назначение им атрибутов. Если имена не " +"указаны,\n" +" выводит атрибуты и значения всех переменных.\n" +" \n" +" Параметры:\n" +" -f\tограничить действие или вывести имена функций и их определения\n" +" -F\tвывести только имена функций (а также номер строки\n" +" \tв исходном файле при отладке)\n" +" -g\tсоздать глобальные переменные при использовании в функции " +"командного процессора; в противном случае\n" +" \tигнорируется\n" +" -p\tвывести атрибуты и значения каждого имени\n" +" \n" +" Параметры, задающие атрибуты:\n" +" -a\tсделать имена индексированными массивами (если поддерживается)\n" +" -A\tсделать имена ассоциативными массивами (если поддерживается)\n" +" -i\tназначить именам атрибут «integer»\n" +" -l\tперевести имена в нижний регистр при назначении\n" +" -n\tсделать имя ссылкой на переменную с именем, соответствующим её " +"значению\n" +" -r\tотключить запись в имена\n" +" -t\tназначить именам атрибут «trace»\n" +" -l\tперевести имена в верхний регистр при назначении\n" +" -x\tэкспортировать имена\n" +" \n" +" Знак «+» вместо «-» отключает указанный атрибут.\n" +" \n" +" Переменные с атрибутом «integer» содержат математическое выражение (см.\n" +" команду «let»), которое рассчитывается при назначении значения " +"переменной.\n" +" \n" +" При использовании в функции «declare» делает имена локальными как при " +"использовании\n" +" данной команды. Параметр «-g» отключает это поведение.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или не возникла\n" +" ошибка присвоения." + +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" +"Указание значений переменных и атрибутов.\n" +" \n" +" Устарел. См. «help declare»." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2590,8 +3064,23 @@ msgid "" " Returns success unless an invalid option is supplied, a variable\n" " assignment error occurs, or the shell is not executing a function." msgstr "" +"Определение локальных переменных.\n" +" \n" +" Создаёт локальную переменную с указанным именем и присваивает ей " +"указанное значение. Параметром может быть\n" +" любой параметр, принимаемый командой «declare».\n" +" \n" +" Локальные переменные можно использовать только внутри функции. Они " +"видны\n" +" только той функции, в которой они определены, и её дочерним функциям.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр, не возникла\n" +" ошибка присвоения переменной или командный процессор не выполняет " +"функцию." -#: builtins.c:552 +#: builtins.c:555 +#, fuzzy msgid "" "Write arguments to the standard output.\n" " \n" @@ -2617,15 +3106,50 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" - -#: builtins.c:588 +"Вывод аргументов на стандартный вывод.\n" +" \n" +" Выводит аргументы, разделённые пробелом, добавляя в конце символ новой " +"строки,\n" +" на стандартный вывод.\n" +" \n" +" Параметры:\n" +" -n\tне добавлять символ новой строки\n" +" -e\tвключить интерпретацию символов, экранированных обратной косой " +"чертой\n" +" -E\tявно отключить интерпретацию символов, экранированных обратной " +"косой чертой\n" +" \n" +" echo интерпретирует следующие символы, экранированные обратной косой " +"чертой:\n" +" \\a\tоповещение (звуковой сигнал)\n" +" \\b\tbackspace\n" +" \\c\tотключение дальнейшего вывода\n" +" \\e\tсимвол escape\n" +" \\E\tсимвол escape\n" +" \\f\tпрогон страницы\n" +" \\n\tновая строка\n" +" \\r\tвозврат каретки\n" +" \\t\tгоризонтальная табуляция\n" +" \\v\tвертикальная табуляция\n" +" \\\\\tобратная косая черта\n" +" \\0nnn\tсимвол с ASCII-кодом NNN (восьмеричным) NNN может быть " +"длиной\n" +" \tот 0 до 3 восьмеричных цифр\n" +" \\xHH\tвосьмиразрядный символ, значение которого — HH " +"(шестнадцатеричное) HH\n" +" \tможет быть одной или двумя шестнадцатеричными цифрами\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если не произошла ошибка записи." + +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2637,8 +3161,18 @@ msgid "" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" +"Вывод аргументов на стандартный вывод.\n" +" \n" +" Выводит аргументы на стандартный вывод, добавляя в конце символ новой " +"строки.\n" +" \n" +" Параметры:\n" +" -n\tне добавлять символ новой строки\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если не произошла ошибка записи." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2664,8 +3198,35 @@ msgid "" " Exit Status:\n" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" +"Включение и отключение встроенных команд командного процессора.\n" +" \n" +" Включает и отключает команды, встроенные в командный процессор. " +"Отключение позволит\n" +" выполнить команду с диска, название которой совпадает с названием " +"встроенной команды,\n" +" без указания полного пути к ней.\n" +" \n" +" Параметры:\n" +" -a\tпоказать список встроенных команд и их состояние\n" +" -n\tотключить все указанные имена или вывести список отключённых " +"команд\n" +" -p\tпоказать список встроенных команд\n" +" -s\tпоказать только названия встроенных команд «special» Posix\n" +" \n" +" Параметры, управляющие динамической загрузкой:\n" +" -f\tзагрузить встроенную указанную команду из указанного файла\n" +" -d\tудалить встроенную функцию, загруженную с параметром -f\n" +" \n" +" Без указания параметров включаются все указанные команды.\n" +" \n" +" Чтобы использовать команду «test», найденную в переменной $PATH,\n" +" а не встроенную в командный процессор, введите «enable -n test».\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если указанное имя не является встроенной командой или " +"не произошла ошибка." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2676,8 +3237,15 @@ msgid "" " Exit Status:\n" " Returns exit status of command or success if command is null." msgstr "" +"Выполнение аргументов как команды командного процессора.\n" +" \n" +" Объединяет аргументы в одну строку, результат передаётся\n" +" в командный процессор с выполнением полученных команд.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние выхода команды или успех, если команда пустая." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2717,8 +3285,52 @@ msgid "" " Returns success if an option is found; fails if the end of options is\n" " encountered or an error occurs." msgstr "" - -#: builtins.c:685 +"Анализ аргументов параметра.\n" +" \n" +" getopts используется процедурами командного процессора для анализа\n" +" позиционных параметров.\n" +" \n" +" «строка_параметров» содержит буквы распознаваемых параметров. Если после\n" +" буквы идёт двоеточие, считается, что у параметра есть аргумент,\n" +" который должен быть отделён пробелом.\n" +" \n" +" При каждом своём вызове getopts поместит следующий параметр в " +"переменную\n" +" $имя, проинициализировав это имя, если оно не существует,\n" +" и проиндексирует следующий обрабатываемый аргумент в переменной\n" +" $OPTIND. Переменная $OPTIND инициализируется при каждом вызове\n" +" командного процессора или скрипта. Когда для параметра нужен аргумент,\n" +" getopts помещает этот аргумент в переменную $OPTARG.\n" +" \n" +" getopts сообщает об ошибках двумя способами. Если первый символ\n" +" в «строке_параметров» является двоеточием, getopts включает режим " +"молчания. В этом\n" +" режиме сообщения об ошибках не выводятся. Если указан неверный\n" +" параметр, getopts помещает символ параметра в переменную $OPTARG. Если\n" +" обязательный аргумент не найден, getopts помещает «:» в «имя»\n" +" и задаёт для $OPTARG символ найденного параметра. Если getopts не в " +"режиме\n" +" молчания, и был указан неверный параметр, getopts помещает «?»\n" +" в НАЗВАНИЕ и удаляет переменную OPTARG. Если обязательный аргумент не " +"найден, в НАЗВАНИЕ\n" +" помещается «?», переменная OPTARG удаляется и выводится диагностическое\n" +" сообщение.\n" +" \n" +" Если переменная OPTERR имеет значение 0, getopts отключает\n" +" вывод сообщений об ошибках, даже если первый символ переменной\n" +" OPTSTRING не является двоеточием. По умолчанию переменная OPTERR имеет " +"значение 1.\n" +" \n" +" Getopts обычно анализирует позиционные параметры ($0–$9), но если\n" +" задано больше аргументов, анализируются последние.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если найден параметр. Возвращает ошибку, если " +"достигнут\n" +" конец параметров или возникла ошибка." + +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -2729,8 +3341,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2740,16 +3352,39 @@ msgid "" " Returns success unless COMMAND is not found or a redirection error " "occurs." msgstr "" +"Замена командного процессора указанной командой.\n" +" \n" +" Выполняет команду, заменяя текущий командный процессор указанной " +"программой.\n" +" Указанные аргументы становятся аргументами для команды. Если команда не " +"указана,\n" +" все перенаправления будет выполняться в текущем командном процессоре.\n" +" \n" +" Параметры:\n" +" -a имя\t\tпередать имя как нулевой аргумент в команду\n" +" -c\t\tвыполнить команду с пустым окружением\n" +" -l\t\tпоместить тире в нулевой аргумент для команды\n" +" \n" +" Если команду не удаётся выполнить, неинтерактивный командный процессор\n" +" закроется (если только на задан «execfail»).\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если команда не была найдена или не возникла ошибка " +"перенаправления." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" " Exits the shell with a status of N. If N is omitted, the exit status\n" " is that of the last command executed." msgstr "" +"Выход из командного процессора.\n" +" \n" +" Закрывает командный процессор с состоянием N. Если N не указан,\n" +" состоянием выхода будет состояние последней выполненной команды." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2757,8 +3392,12 @@ msgid "" "executed\n" " in a login shell." msgstr "" +"Выход из командного процессора login.\n" +" \n" +" Закрывает командный процессор login с состоянием выхода N. Возвращает\n" +" ошибку, если выполняется не в командном процессоре login." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2787,8 +3426,35 @@ msgid "" " Returns success or status of executed command; non-zero if an error " "occurs." msgstr "" +"Отображение или выполнение команд из журнала.\n" +" \n" +" fc выводит список команд из журнала или позволяет изменить и повторно " +"выполнить их.\n" +" Аргументы «первая» и «последняя» могут быть числами, определяющими " +"диапазон.\n" +" Аргумент «первая» также может быть строкой, которая означает\n" +" последнюю команду, начинающуюся с этой строки.\n" +" \n" +" Параметры:\n" +" -e редактор\tуказать редактор По умолчанию используется $FCEDIT, \n" +" \t\tзатем следует $EDITOR, а затем — vi\n" +" -l \tпоказать строки вместо редактирования\n" +" -n\tне показывать номера строк в списке\n" +" -r\tинвертировать порядок строк (новые в начале)\n" +" \n" +" При запуске в формате «fc -s [шаблон=замена ...] [команда]» команда\n" +" выполняется повторно после замены старая=новая.\n" +" \n" +" Полезный псевдоним для команды — r='fc -s'. Так если ввести «r cc»,\n" +" будет выполнена последняя команда, начинающаяся с «cc», а если ввести " +"«r»,\n" +" будет выполнена последняя команда.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех или состояние выполненной команды. В случае ошибки " +"возвращает ненулевое состояние." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2799,8 +3465,17 @@ msgid "" " Exit Status:\n" " Status of command placed in foreground, or failure if an error occurs." msgstr "" +"Перевод задания в интерактивный режим.\n" +" \n" +" Переводит указанное задание в интерактивный режим, делая\n" +" его текущим заданием. Если задание не указано, используется\n" +" текущее задание.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние команды, переведённой в интерактивный режим, или " +"ошибку, если возникла ошибка." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2813,8 +3488,18 @@ msgid "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." msgstr "" +"Перевод заданий в фоновый режим.\n" +" \n" +" Переводит указанные задания в фоновый режим, как если бы\n" +" они были запущены с «&». Если задание не указано, используются данные\n" +" текущего задания.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если не включено управление заданиями или не произошла " +"ошибка." -#: builtins.c:784 +#: builtins.c:787 +#, fuzzy msgid "" "Remember or display program locations.\n" " \n" @@ -2823,22 +3508,43 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" +"Запоминание или отображение местоположений программ.\n" +" \n" +" Определяет и запоминает полный путь для всех указанных команд. Если\n" +" аргументы не указаны, выводит информацию о запомненных командах.\n" +" \n" +" Параметры:\n" +" -d\t\tзабыть запомненные местоположения всех указанных команд\n" +" -l\t\tотобразить данные в формате для повторного использования\n" +" -p путь\t\tиспользовать указанный путь как полный путь к команде\n" +" -r\t\tзабыть все запомненные местоположения\n" +" -t\t\tвывести запомненные местоположение всех команд,\n" +" \t\tуказав перед каждым из них соответствующее имя команды,\n" +" \t\tесли указано несколько команд.\n" +" Аргументы:\n" +" ИМЯ\t\tвсе команды ищутся в $PATH и добавляются в список\n" +" \t\tзапомненных команд.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если команда была найдена или был указан допустимый " +"параметр." -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -2850,7 +3556,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2859,8 +3565,28 @@ msgid "" " Returns success unless PATTERN is not found or an invalid option is " "given." msgstr "" +"Вывод информации о встроенных командах.\n" +" \n" +" Показывает краткую справку о встроенных командах. Если указан\n" +" шаблон, выводит подробную справку по всем командам, удовлетворяющим " +"шаблону.\n" +" В противном случае выводится список разделов справки.\n" +" \n" +" Параметры:\n" +" -d\tпоказать краткое описание каждого раздела\n" +" -m\tпоказать справку по использованию в формате man\n" +" -s\tпоказать только краткую справку по использованию для каждого\n" +" \tраздела, соответствующего шаблону\n" +" \n" +" Аргументы:\n" +" ШАБЛОН\tшаблон, определяющий раздел справки\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был найден шаблон или был указан допустимый " +"параметр." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -2869,23 +3595,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -2893,8 +3619,44 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" +"Отображение или изменение журнала команд.\n" +" \n" +" Выводит журнал команд с номерами строк и звёздочками (*) перед всеми\n" +" изменёнными записями. С аргументом N показываются только последние N " +"записей.\n" +" \n" +" Параметры:\n" +" -c\tочистить журнал, удалив из него все записи\n" +" -d смещение\tудалить запись журнала по указанному смещению\n" +" \n" +" -a\tдобавить журнал текущего сеанса в файл журнала\n" +" -n\tпрочитать все записи, которые ещё не были прочитаны из файла " +"журнала\n" +" -r\tпрочитать файл журнала и добавить его содержимое\n" +" \tв журнал\n" +" -w\tзаписать текущий журнал в файл журнала\n" +" \tи добавить записи в журнал\n" +" \n" +" -p\tдобавить в журнал указанные аргументы и показать результат,\n" +" \tне сохраняя его в журнал\n" +" -s\tдобавить аргументы в журнал как одну запись\n" +" \n" +" Если указан файл, он используется как файл журнала. В противном случае\n" +" если $HISTFILE содержит значение, используется этот файл, иначе — файл " +"~/.bash_history.\n" +" \n" +" Если переменная $HISTTIMEFORMAT задана и не является пустой, её " +"значение\n" +" используется как строка форматирования для strftime(3) для вывода метки\n" +" времени для каждой показанной записи журнала. В противном случае метки " +"времени не будут показаны.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или не возникла " +"ошибка." -#: builtins.c:869 +#: builtins.c:872 +#, fuzzy msgid "" "Display status of jobs.\n" " \n" @@ -2904,7 +3666,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -2917,8 +3679,33 @@ msgid "" " Returns success unless an invalid option is given or an error occurs.\n" " If -x is used, returns the exit status of COMMAND." msgstr "" +"Отображение состояния заданий.\n" +" \n" +" Выводит список активных заданий. Если указан номер задания, выводится " +"только это задание.\n" +" Если не указать параметры, будет показано состояние всех активных " +"заданий.\n" +" \n" +" Параметры:\n" +" -l\tпоказать идентификаторы процессов в дополнение к обычной " +"информации\n" +" -n\tпоказать только те процессы, у которых изменилось состояние\n" +" \tс момента после последнего уведомления\n" +" -p\tпоказать только идентификаторы процессов\n" +" -r\tпоказать только запущенные задания\n" +" -s\tпоказать только остановленные задания\n" +" \n" +" Если указан параметр -x, команда выполняется после замены всех номеров\n" +" заданий, указанных в аргументах, на идентификатор процесса\n" +" лидера группы процессов задания.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или не возникла " +"ошибка.\n" +" Если указан параметр -x, возвращает состояние выхода команды." -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -2928,14 +3715,28 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" +"Удаление заданий в текущем командном процессоре.\n" +" \n" +" Удаляет все указанные задания из списка активных заданий. Если\n" +" задание не указано, удаляется текущее задание.\n" +" \n" +" Параметры:\n" +" -a\tудалить все задания, если не указано конкретное задание\n" +" -h\tпометить все задания, чтобы им не отправлялся сигнал SIGHUP,\n" +" \tесли командный процессор получает сигнал SIGHUP\n" +" -r\tудалить только активные задания\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или задание." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -2947,7 +3748,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -2956,8 +3758,30 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" +"Отправка сигнала заданию.\n" +" \n" +" Отправляет процессам или заданиям сигнал с указанным названием\n" +" или номером. Если номер или название сигнала\n" +" не указаны, отправляется сигнал SIGTERM.\n" +" \n" +" Параметры:\n" +" -s сигнал\tназвание сигнала\n" +" -n сигнал\tномер сигнала\n" +" -l\t\tпоказывает названия сигналов; если после аргументов указано «-" +"l»,\n" +" \tони считаются номерами сигналов, для которых необходимо показать " +"названия\n" +" \n" +" kill — это встроенная команда, предназначенная для двух задач: " +"использовать\n" +" номера заданий вместо номеров процессов и убивать процессы\n" +" при достижении предельного числа процессов.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или не возникла " +"ошибка." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3001,8 +3825,54 @@ msgid "" " Exit Status:\n" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" +"Расчёт математических выражений.\n" +" \n" +" Выполняет расчёт всех аргументов в математическом выражении. Расчёт " +"выполняется\n" +" для целых чисел фиксированной ширины с без проверки на переполнение.\n" +" Однако деление на 0 перехватывается и выдаётся ошибка. Указанные ниже " +"операторы объединены\n" +" в группы с одинаковым приоритетом. Группы перечислены\n" +" в порядке уменьшения приоритета.\n" +" \n" +" \tid++, id--\tпоследующее увеличение и уменьшение переменной\n" +" \t++id, --id\tпредварительное увеличение и уменьшение переменной\n" +" \t-, +\t\tунарный минус и плюс\n" +" \t!, ~\t\tлогическое и побитовое отрицание\n" +" \t**\t\tвозведение в степень\n" +" \t*, /, %\t\tумножение, деление, остаток\n" +" \t+, -\t\tсложение, вычитание\n" +" \t<<, >>\t\tбитовые сдвиги влево или вправо\n" +" \t<=, >=, <, >\tсравнение\n" +" \t==, !=\t\tравенство, неравенство\n" +" \t&\t\tпобитовое И\n" +" \t^\t\tпобитовое исключающее ИЛИ\n" +" \t|\t\tпобитовое ИЛИ\n" +" \t&&\t\tлогическое И\n" +" \t||\t\tлогические ИЛИ\n" +" \tвыражение ? выражение : выражение\n" +" \t\t\tусловный оператор\n" +" \t=, *=, /=, %=,\n" +" \t+=, -=, <<=, >>=,\n" +" \t&=, ^=, |=\tприсвоение\n" +" \n" +" в качестве операндов можно использовать переменные командного " +"процессора. Название переменной\n" +" заменяется её значением (приводится к целому числу фиксированной " +"ширины)\n" +" в выражении. У переменной не должен быть включён атрибут integer,\n" +" чтобы её можно было использовать в выражении.\n" +" \n" +" Операторы вычисляются в порядке старшинства. Вложенные выражения в\n" +" скобках вычисляются первыми и могут переопределить указанные\n" +" выше правила старшинства.\n" +" \n" +" Состояние выхода:\n" +" Если последний АРГУМЕНТ имеет значение 0, let возвращает 1. В противном " +"случае let возвращает 0." -#: builtins.c:983 +#: builtins.c:987 +#, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3023,27 +3893,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3052,8 +3923,62 @@ msgid "" "occurs,\n" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" - -#: builtins.c:1028 +"Чтение строки со стандартного ввода и разделение её на поля.\n" +" \n" +" Читает одну строку со стандартного ввода или из файлового дескриптора,\n" +" если указан параметр -u. Строка разделяется на поля по словам.\n" +" Первое слово присваивается первому указанному имени, второе слово — " +"второму\n" +" имени и так далее.\n" +" Оставшиеся слова присваиваются последнему указанному имени. В качестве " +"разделителей слов используются только символы\n" +" из переменной $IFS.\n" +" \n" +" Если имена не указаны, прочитанная строка сохраняется в переменной " +"$REPLY.\n" +" \n" +" Параметры:\n" +" -a массив\tпоследовательно присвоить прочитанные слова указателям\n" +" \t\tмассива, начиная с нуля\n" +" -d разделитель\tпродолжить до первого разделителя,\n" +" \t\tа не до символа новой строки\n" +" -e\t\tс помощью readline получить строку в интерактивном командном " +"процессоре\n" +" -i текст\t\tиспользовать текст в качестве исходного для readline\n" +" -n число_знаков\tвыполнить возврат после прочтения числа знаков, а не " +"ждать\n" +" \t\tсимвола новой строки; учитывать разделитель, если до него было " +"прочитано\n" +" \t\tменьше указанного числа знаков\n" +" -N число_знаков\tвыполнить возврат только после прочтения указанного " +"числа знаков,\n" +" \t\tесли только не был получен конец строки или не истекло время " +"ожидания, игнорируя все разделители\n" +" -p приглашение\tпоказать приглашение без символа новой строки в конце\n" +" \t\tперед тем как читать\n" +" -r\t\tне выполнять экранирование символами косой черты\n" +" -s\t\tне показывать данные, полученные из терминала\n" +" -t тайм-аут\tпрекратить ожидание и вывести ошибку, если полная " +"входная\n" +" \t\tстрока не была прочитана за указанное число секунд В переменной " +"$TMOUT хранится\n" +" \t\tзначение тайм-аута по умолчанию. Время ожидания\n" +" \t\tможет быть дробным числом. Если тайм-аут равен 0, read немедленно " +"выполняет возврат,\n" +" \t\tне пытаясь прочитать никакие данные. Успех возвращается,\n" +" \t\tтолько если входные данные доступны по указанному файловому " +"дескриптору. \n" +" \t\tСостояние выхода больше 128, если время ожидания было превышено.\n" +" -u fd\t\tчитать из файлового дескриптора, а не со стандартного входа\n" +" \n" +" Состояние выхода:\n" +" Состояние выхода будет нулевым, если не был встречен конец файла, не " +"истекло время ожидания\n" +" (в этом случае состояние выхода будет больше 128), не возникла ошибка " +"присвоения переменной\n" +" или не был указан недопустимый файловый дескриптор как аргумент для -u." + +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3064,8 +3989,18 @@ msgid "" " Exit Status:\n" " Returns N, or failure if the shell is not executing a function or script." msgstr "" +"Возврат из функции командного процессора.\n" +" \n" +" Выполняет выход из функции или исходного скрипта со значением возврата,\n" +" указанным как N. Если N не указан, используется состояние возврата\n" +" последней команды, выполненной в функции или скрипте.\n" +" \n" +" Состояние выхода:\n" +" Возвращает N или ошибку, если командный процессор не выполняет функцию " +"или скрипт." -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3133,7 +4068,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3149,8 +4085,107 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given." msgstr "" - -#: builtins.c:1126 +"Присвоение или удаление значений параметров командного процессора и " +"позиционных параметров.\n" +" \n" +" Изменяет значение атрибутов командного процессора и позиционных " +"параметров или\n" +" выводит названия и значения переменных командного процессора.\n" +" \n" +" Параметры:\n" +" -a пометить переменные, которые были изменены или созданы для " +"экспорта\n" +" -b немедленно уведомить о завершении задания\n" +" -e немедленно выйти, если команда выполняет выход с ненулевым " +"состоянием\n" +" -f отключить генерацию имён файлов (подстановка)\n" +" -h запомнить расположение команд, как они выглядели ранее\n" +" -k поместить в окружение для команды все аргументы присвоения,\n" +" а не только те, что были указаны перед командой\n" +" -m включено управление заданиями\n" +" -n прочитать команды, но не выполнять их\n" +" -o название-параметра\n" +" Задаёт переменную, соответствующую названию параметра:\n" +" allexport эквивалент -a\n" +" braceexpand эквивалент -B\n" +" emacs использовать стиль emacs для редактирования " +"строк\n" +" errexit эквивалент -e\n" +" errtrace эквивалент -E\n" +" functrace эквивалент -T\n" +" hashall эквивалент -h\n" +" histexpand эквивалент -H\n" +" history включить журнал команд\n" +" ignoreeof не закрывать командный процессор после получения " +"конца файла\n" +" interactive-comments\n" +" разрешить показ комментариев в интерактивных " +"командах\n" +" keyword эквивалент -k\n" +" monitor эквивалент -m\n" +" noclobber эквивалент -C\n" +" noexec эквивалент -n\n" +" noglob эквивалент -f\n" +" nolog допускается, но игнорируется\n" +" notify эквивалент -b\n" +" nounset эквивалент -u\n" +" onecmd эквивалент -t\n" +" physical эквивалент -P\n" +" pipefail возвращаемое значение конвейера является " +"состоянием\n" +" последней команды, завершившейся с ненулевым " +"состоянием,\n" +" или нулём, если не было команды, завершившейся с " +"ненулевым состоянием\n" +" posix изменить поведение bash там, где операции\n" +" по умолчанию отличаются от стандарта Posix, " +"чтобы\n" +" соответствовать этому стандарту\n" +" privileged эквивалент -p\n" +" verbose эквивалент -v\n" +" vi использовать стиль vi для редактирования строк\n" +" xtrace эквивалент -x\n" +" -p Включён, когда реальный и эффективный идентификаторы пользователя " +"не совпадают.\n" +" Отключает обработку файла $ENV и импорт функций командного\n" +" процессора. Если отключить этот параметр, эффективные UID и GID\n" +" будут назначены реальным UID и GID.\n" +" -t Выйти после прочтения и выполнения одной команды.\n" +" -u Считать незаданные переменные ошибкой при замене.\n" +" -v Выводить входные строки на экран после их чтения.\n" +" -x Выводить команды и их аргументы во время их выполнения.\n" +" -B Командный процессор развернёт скобки.\n" +" -C Если задано, запретить перезапись существующих обычных файлов\n" +" вследствие перенаправления вывода.\n" +" -E Если задано, ловушка ERR наследуется функциями командного " +"процессора.\n" +" -H Включить замену журнала с использованием !. По умолчанию этот " +"флаг\n" +" установлен, если командный процессор интерактивный.\n" +" -P Если задано, не разрешать символьные ссылки при выполнении " +"команд,\n" +" таких как cd, которые изменяют текущий каталог.\n" +" -T Если задано, ловушка DEBUG наследуется функциями командного " +"процессора.\n" +" -- Назначить все оставшиеся аргументы позиционным параметрам.\n" +" Если аргументов не осталось, позиционные параметры\n" +" удаляются.\n" +" - Назначить все оставшиеся аргументы позиционным параметрам.\n" +" Параметры -x и -v выключены.\n" +" \n" +" Если вместо - указать +, флаги будут выключены. \n" +" Флаги также можно использовать до вызова командного процессора. " +"Текущий\n" +" набор флагов можно просмотреть в $-. Оставшиеся n аргументов являются " +"позиционными\n" +" параметрами и назначаются в порядке $1, $2, .. $n. Если\n" +" аргументы не указаны, выводятся все переменные командного процессора.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр." + +#: builtins.c:1132 +#, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3160,7 +4195,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3171,8 +4206,28 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" +"Удаление значений и атрибутов переменных и функций командного процессора.\n" +" \n" +" Для каждого названия удаляет соответствующую переменную или функцию.\n" +" \n" +" Параметры:\n" +" -f\tсчитать каждое указанное имя функцией командного процессора\n" +" -v\tсчитать каждое указанное имя переменной командного процессора\n" +" -n\tсчитать каждое указанное имя ссылкой на название и удалить саму " +"переменную,\n" +" \tа не переменную, на которую указывает ссылка\n" +" \n" +" Если параметры не указаны, unset сначала пытается удалить переменную. " +"Если это не удаётся,\n" +" пытается удалить функцию.\n" +" \n" +" Некоторые переменные нельзя удалить. См. также «readonly».\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или указанное имя " +"доступно для записи." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3190,8 +4245,24 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" +"Установка атрибута экспорта для переменных командного процессора.\n" +" \n" +" Помечает все имена для автоматического экспорта в среду для\n" +" последующих выполняемых команд. Если указано значение, оно " +"присваивается перед экспортом.\n" +" \n" +" Параметры:\n" +" -f\tиспользовать функции командного процессора\n" +" -n\tудалить свойство экспорта изо всех имён\n" +" -p\tвывести список всех экспортированных переменных и функций\n" +" \n" +" Аргумент «--» отключает дальнейшую обработку параметров.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или имя." -#: builtins.c:1167 +#: builtins.c:1173 +#, fuzzy msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3203,17 +4274,35 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" +"Запрет изменения переменных командного процессора.\n" +" \n" +" Делает каждое имя доступным только чтения. Значения этих имён нельзя\n" +" будет изменить в будущем. Если указано значение, присваивает это " +"значение\n" +" перед тем, как сделать его доступным только для чтения.\n" +" \n" +" Параметры:\n" +" -a\tссылаться на переменные индексированного массива\n" +" -A\tссылаться на переменные ассоциативного массива\n" +" -f\tиспользовать функции командного процессора\n" +" -p\tвывести список всех переменных или функций, доступных только для " +"чтения,\n" +" в зависимости от того, указан ли параметр -f\n" +" \n" +" Аргумент «--» отключает дальнейшую обработку параметров.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или имя." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3223,8 +4312,15 @@ msgid "" " Exit Status:\n" " Returns success unless N is negative or greater than $#." msgstr "" +"Сдвиг позиционных параметров.\n" +" \n" +" Переименовывает позиционные параметры $N+1,$N+2,.. в $1,$2,..\n" +" Если N не указан, считается, что указано 1.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если N положительный или меньше $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3237,8 +4333,20 @@ msgid "" " Returns the status of the last command executed in FILENAME; fails if\n" " FILENAME cannot be read." msgstr "" +"Выполнение команд из файла в текущем командном процессоре.\n" +" \n" +" Читает и выполняет команды из указанного файла в текущем командном " +"процессоре. \n" +" Файла ищется в каталогах, указанных в переменной $PATH.\n" +" Если указаны аргументы, они становятся позиционными параметрами\n" +" при выполнении файла.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последней выполненной команды из файла. Возвращает " +"ошибку,\n" +" если файл не удаётся прочитать." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3251,8 +4359,23 @@ msgid "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." msgstr "" +"Приостановка работы командного процессора.\n" +" \n" +" Приостанавливает работу текущего командного процессора до получения " +"сигнала SIGCONT.\n" +" Работу командных процессоров login можно приостановить только в " +"принудительном режиме.\n" +" \n" +" Параметры:\n" +" -f\tпринудительно приостановить работу, даже если командный " +"процессор — login\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если не включено управление заданиями или не произошла " +"ошибка." -#: builtins.c:1248 +#: builtins.c:1254 +#, fuzzy msgid "" "Evaluate conditional expression.\n" " \n" @@ -3316,9 +4439,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3334,16 +4457,109 @@ msgid "" " Returns success if EXPR evaluates to true; fails if EXPR evaluates to\n" " false or an invalid argument is given." msgstr "" - -#: builtins.c:1329 +"Расчёт условного выражения.\n" +" \n" +" Возвращает состояние 0 (истина) или 1 (ложь) после\n" +" расчёта выражения. Выражения могут быть унарными или бинарными. " +"Унарные\n" +" выражения часто используются для определения состояния файла. Также\n" +" доступны стоковые операторы и операторы сравнения чисел.\n" +" \n" +" Поведение команды test зависит от количества аргументов. Полное\n" +" описание см. в странице руководства bash.\n" +" \n" +" Операторы работы с файлами:\n" +" \n" +" -a ФАЙЛ Истина, если файл существует.\n" +" -b ФАЙЛ Истина, если файл представляет блочное устройство.\n" +" -c ФАЙЛ Истина, если файл представляет символьное устройство.\n" +" -d ФАЙЛ Истина, если файл является каталогом.\n" +" -e ФАЙЛ Истина, если файл существует.\n" +" -f ФАЙЛ Истина, если файл существует и является обычным " +"файлом.\n" +" -g ФАЙЛ Истина, если для файла установлен бит SGID.\n" +" -h ФАЙЛ Истина, если файл является символьной ссылкой.\n" +" -L ФАЙЛ Истина, если файл является символьной ссылкой.\n" +" -k ФАЙЛ Истина, если для файла установлен sticky-бит.\n" +" -p ФАЙЛ Истина, если файл является именованным конвейером.\n" +" -r ФАЙЛ Истина, если вы можете прочитать файл.\n" +" -s ФАЙЛ Истина, если файл существует и не является пустым.\n" +" -S ФАЙЛ Истина, если файл является сокетом.\n" +" -t ФД Истина, если файловый дескриптор ФД открыт в " +"терминале.\n" +" -u ФАЙЛ Истина, если для файла установлен бит SUID.\n" +" -w ФАЙЛ Истина, если вы можете выполнить запись в файл.\n" +" -x ФАЙЛ Истина, если вы можете выполнить файл.\n" +" -O ФАЙЛ Истина, если вы являетесь эффективным владельцем " +"файла.\n" +" -G ФАЙЛ Истина, если ваша группа является эффективным " +"владельцем файла.\n" +" -N ФАЙЛ Истина, если файл был изменён после последнего чтения.\n" +" \n" +" ФАЙЛ1 -nt ФАЙЛ2 Истина, если файл1 новее файла2 (согласно\n" +" дате изменения).\n" +" \n" +" ФАЙЛ1 -ot ФАЙЛ2 Истина, если файл1 старее файла2.\n" +" \n" +" ФАЙЛ1 -ef ФАЙЛ2 Истина, если файл1 является жёсткой ссылкой на " +"файл2.\n" +" \n" +" Строковые операторы:\n" +" \n" +" -z СТРОКА Истина, если строка является пустой.\n" +" \n" +" -n СТРОКА\n" +" СТРОКА Истина, если строка не является пустой.\n" +" \n" +" СТРОКА1 = СТРОКА2\n" +" Истина, если строки совпадают.\n" +" СТРОКА1 != СТРОКА2\n" +" Истина, если строки не совпадают.\n" +" СТРОКА1 < СТРОКА2\n" +" Истина, если СТРОКА1 сортируется до СТРОКИ2 " +"лексикографически.\n" +" СТРОКА1 > СТРОКА2\n" +" Истина, если СТРОКА1 сортируется после СТРОКИ2 " +"лексикографически.\n" +" \n" +" Остальные операторы:\n" +" \n" +" -o ПАРАМЕТР Истина, если параметр командного процессора включён.\n" +" -v ПЕР\t Истина, если переменная командного процессора задана\n" +" -R ПЕР\t Истина, если переменная командного процессора задана и " +"является именованной ссылкой.\n" +" ! ВЫРАЖ Истина, если выражение возвращает ложь.\n" +" ВЫРАЖ1 -a ВЫРАЖ2 Истина, если оба выражения возвращают истину.\n" +" ВЫРАЖ1 -o ВЫРАЖ2 Истина, если хотя бы одно из выражений возвращает " +"истину.\n" +" \n" +" арг1 ОП арг2 Математические проверки. ОП может быть одним из " +"следующих: -eq, -ne,\n" +" -lt, -le, -gt или -ge.\n" +" \n" +" Математические бинарные операторы возвращают истину, если АРГУМЕНТ1 " +"равен, не равен,\n" +" меньше, меньше или равен либо больше или равен\n" +" АРГУМЕНТУ2.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если выражение истинно, или ошибку, если выражение " +"ложно\n" +" или указан недопустимый аргумент." + +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" " This is a synonym for the \"test\" builtin, but the last argument must\n" " be a literal `]', to match the opening `['." msgstr "" +"Расчёт условного выражения.\n" +" \n" +" Это синоним встроенной команды test, но последним аргументом должна\n" +" быть скобка «]», соответствующая открывающей «[»." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3354,8 +4570,16 @@ msgid "" " Exit Status:\n" " Always succeeds." msgstr "" +"Отображение времени процесса.\n" +" \n" +" Показывает объединённые значения времени пользователя и системы для " +"командного\n" +" процессора и всех его дочерних процессов.\n" +" \n" +" Состояние выхода:\n" +" Всегда возвращает успех." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3398,8 +4622,48 @@ msgid "" " Returns success unless a SIGSPEC is invalid or an invalid option is " "given." msgstr "" - -#: builtins.c:1386 +"Захват сигналов и других событий.\n" +" \n" +" Определяет и активирует обработчики, которые будут выполняться, когда\n" +" командный процессор получает сигналы или при других условиях.\n" +" \n" +" Аргумент — это команда, которая считывается и выполняется, когда\n" +" командный процессор получает указанные сигнал(ы). Если аргумент " +"отсутствует (и указан один сигнал)\n" +" или указано «-», для всех указанных сигналов восстанавливаются\n" +" исходные значения. Если аргумент — пустая строка, все указанные сигналы " +"игнорируются\n" +" командным процессором и вызываемыми им командами.\n" +" \n" +" Если сигнал — EXIT (0), аргумент выполняется при выходе из командного " +"процессора. Если\n" +" сигнал — DEBUG, аргумент выполняется перед каждой простой командой. " +"Если\n" +" сигнал — RETURN, аргумент выполняется каждый раз, когда функция\n" +" или скрипт выполняется в . или исходные встроенные команды завершают " +"свою работу. Сигнал\n" +" ERR означает выполнение аргумента каждый раз, когда ошибка команды " +"приведёт\n" +" к выходу из командного процессора, когда включён параметр -e.\n" +" \n" +" Если аргументы не указаны, trap выводит список команд, связанных\n" +" с каждом сигналом.\n" +" \n" +" Параметры:\n" +" -l\tпоказать названия сигналов и их номера\n" +" -p\tпоказать команды trap, связанные с каждым сигналом\n" +" \n" +" Идентификатор сигнала — это название сигнала в или номер " +"сигнала.\n" +" Названия сигналов не зависят от регистра, а префикс SIG не является " +"обязательным. \n" +" Сигнал можно отправить в командный процессор командой «kill -signal $$».\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый сигнал или параметр." + +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -3408,18 +4672,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3428,8 +4692,39 @@ msgid "" " Returns success if all of the NAMEs are found; fails if any are not " "found." msgstr "" - -#: builtins.c:1417 +"Вывод информации о типе команды.\n" +" \n" +" Для каждого указанного имени показывает, как оно будет интерпретировано " +"при\n" +" использовании в качестве названия команды.\n" +" \n" +" Параметры:\n" +" -a\tпоказать все местоположения, где есть исполняемый файл с указанным " +"именем,\n" +" \tвключая псевдонимы, встроенные команды и функции, а также при условии\n" +" \tчто не используется параметр «-p»\n" +" -f\tне искать функции командного процессора\n" +" -P\tпринудительно искать в $PATH все указанные имена, даже если это " +"псевдоним,\n" +" \tвстроенная команда или функция, и возвращать название файла на диске,\n" +" \tкоторый будет запущен\n" +" -p\tвозвращает название файла на диске, который будет запущен,\n" +" \tили ничего, если «type -t имя» не возвращает «file».\n" +" -t\tвывести одно из слов «alias», «keyword»,\n" +" \t«function», «builtin», «file» или «», если указанное имя является, " +"соответственно,\n" +" \tпсевдонимом, зарезервированным словом, функцией, встроенной командой\n" +" \tкомандного процессора, файлом на диске или имя не было найдено\n" +" \n" +" Аргументы:\n" +" ИМЯ\tназвание интерпретируемой команды\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если все указанные имена были найдены, или ошибку в " +"противном случае." + +#: builtins.c:1424 +#, fuzzy msgid "" "Modify shell resource limits.\n" " \n" @@ -3447,6 +4742,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3458,7 +4754,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3475,8 +4772,56 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" - -#: builtins.c:1465 +"Изменение ограничений ресурсов командного процессора.\n" +" \n" +" Позволяет контролировать ресурсы, доступные командному процессору и " +"создаваемым\n" +" им процессам, в системах, где возможен такой контроль.\n" +" \n" +" Параметры:\n" +" -S\tиспользовать «мягкое» ограничение ресурсов\n" +" -H\tиспользовать «жёсткое» ограничение ресурсов\n" +" -a\tпоказать все текущие ограничения\n" +" -b\tразмер буфера сокета\n" +" -c\tмаксимальный размер создаваемых core-файлов\n" +" -d\tмаксимальный размер сегмента данных процесса\n" +" -e\tмаксимальный приоритет планирования («nice»)\n" +" -f\tмаксимальный размер файлов, записываемых командным процессором и " +"его дочерними процессами\n" +" -i\tмаксимальное число ожидающих сигналов\n" +" -l\tмаксимальный объём, который процесс может заблокировать в памяти\n" +" -m\tмаксимальный объём резидентной памяти\n" +" -n\tмаксимальное число открытых файловых дескрипторов\n" +" -p\tразмер буфера конвейера\n" +" -q\tмаксимальное число байт в очередях сообщений POSIX\n" +" -r\tмаксимальный приоритет планирования в реальном времени\n" +" -s\tмаксимальный размер стека\n" +" -t\tмаксимальный объём процессорного времени в секундах\n" +" -u\tмаксимальное количество пользовательских процессов\n" +" -v\tобъём виртуальной памяти\n" +" -x\tмаксимальное число блокировок файлов\n" +" -T максимальное количество потоков\n" +" \n" +" Не все параметры доступны на всех платформах.\n" +" \n" +" Если указано ограничение, оно является новым значением для указанного " +"ресурса.\n" +" Специальные значения «soft», «hard» и «unlimited» означают,\n" +" соответственно, текущее мягкое ограничение, текущее жёсткое ограничение " +"и отсутствие ограничения.\n" +" В противном случае выводится текущее значение указанного ресурса. Если\n" +" параметр не указан, подразумевается использование параметра -f.\n" +" \n" +" Значения задаются с шагом 1024 байт, кроме параметра -t с шагом в " +"секундах,\n" +" параметра -p с шагом 512 байт и параметра -u, представляющего\n" +" количество процессов.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или не возникла " +"ошибка." + +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3493,8 +4838,27 @@ msgid "" " Exit Status:\n" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" +"Отображение или указание маски режима для файлов.\n" +" \n" +" Задаёт маску РЕЖИМ для файлов, создаваемых пользователем. Если РЕЖИМ не " +"указан,\n" +" выводит текущее значение маски.\n" +" \n" +" Если РЕЖИМ начинается с цифры, он интерпретируется как восьмеричное " +"число.\n" +" В противном случае он считается символьной строкой как для команды chmod" +"(1).\n" +" \n" +" Параметры:\n" +" -p\tесли РЕЖИМ не указан, вывести маску, пригодную для повторного " +"использования\n" +" -S\tвывести маску в символьном виде, в противном случае выводится " +"восьмеричное число\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый РЕЖИМ или параметр." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3513,8 +4877,24 @@ msgid "" " Returns the status of the last ID; fails if ID is invalid or an invalid\n" " option is given." msgstr "" +"Ожидание завершения задания и возврат состояния выхода.\n" +" \n" +" Ожидает завершения всех процессов, заданных идентификаторами\n" +" (идентификатор процесса или номер задания), и возвращает их состояние " +"выхода. Если идентификатор\n" +" не указан, ожидает завершения всех активных дочерних процессов\n" +" и возвращает нулевое состояние выхода. Если идентификатор не является " +"номером задания, ожидает завершения\n" +" всех процессов в конвейере данного задания.\n" +" \n" +" Если указан параметр -n, ожидает завершения следующего задания\n" +" возвращает его состояние выхода.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последнего идентификатора. Возвращает ошибку, если\n" +" указан недопустимый идентификатор или параметр." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3528,8 +4908,19 @@ msgid "" "invalid\n" " option is given." msgstr "" +"Ожидание завершения процесса и возврат состояния выхода.\n" +" \n" +" Ожидает завершения всех процессов, заданных идентификаторами (PID), и " +"возвращает их состояние выхода.\n" +" Если идентификатор процесса не указан, ожидает завершения всех активных\n" +" дочерних процессов и возвращает нулевое состояние выхода. PID должен " +"быть идентификатором процесса.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последнего идентификатора. Возвращает ошибку, если\n" +" указан недопустимый идентификатор или параметр." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3541,8 +4932,18 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Выполнение команд для всех элементов списка.\n" +" \n" +" Цикл «for» выполняет последовательность команд для каждого элемента\n" +" списка. Если операнд «in СЛОВА ...;» отсутствует, подразумевается\n" +" операнд «in \"$@\"». Каждому элементу в списке СЛОВА присваивается ИМЯ и " +"для него\n" +" выполняются КОМАНДЫ.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последней выполненной команды." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3558,8 +4959,22 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Математические операции в циклах.\n" +" \n" +" Эквивалентно\n" +" \t(( ВЫРАЖ1))\n" +" \twhile (( ВЫРАЖ2 )); do\n" +" \t\tКОМАНДЫ\n" +" \t\t(( ВЫРАЖ3 ))\n" +" \tdone\n" +" ВЫРАЖ1, ВЫРАЖ2 и ВЫРАЖ3 — это математические выражения. Если любое из " +"выражений\n" +" не указано, считается, что оно возвращает 1.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последней выполненной команды." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3578,8 +4993,30 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" - -#: builtins.c:1574 +"Выбор слов из списка и выполнение команд.\n" +" \n" +" СЛОВА разворачиваются, формируя список слов. \n" +" Набор развёрнутых слов выводится в поток ошибок с номерами\n" +" в начале строк. Если операнд «in СЛОВА ...;» отсутствует, " +"подразумевается\n" +" операнд «in \"$@\"». Затем выводится приглашение $PS3 и со стандартного " +"ввода\n" +" считывается строка. Если строка состоит из номера,\n" +" соответствующего одному из показанных слов, этому слову\n" +" присваивается указанное имя. Если строка пустая, будут повторно " +"показаны указанные слова\n" +" и приглашение. Если прочитан символ конца файла, команда завершает свою " +"работу. Если прочитаны\n" +" любые другие значения, указанному имени присваивается пустое значение. " +"Прочитанная строка\n" +" сохраняется в переменную $REPLY. Команды выполняются после каждой " +"выборки,\n" +" пока не будет выполнена команда прерывания.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последней выполненной команды." + +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3594,8 +5031,22 @@ msgid "" " Exit Status:\n" " The return status is the return status of PIPELINE." msgstr "" +"Вывод времени, потраченного на выполнение конвейера.\n" +" \n" +" Выполняет конвейер и выводит значения реального времени, " +"пользовательского времени\n" +" и системного времени ЦП, потраченного на выполнения конвейера.\n" +" \n" +" Параметры:\n" +" -p\tпоказать значения времени в формате Posix\n" +" \n" +" Для форматирования выходных данных используется значение переменной " +"$TIMEFORMAT.\n" +" \n" +" Состояние выхода:\n" +" Возвращаемое состояние соответствует состоянию выхода конвейера." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3605,8 +5056,15 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Выполнение команд согласно шаблону.\n" +" \n" +" Выполняет команды, когда слово соответствует шаблону. \n" +" Для разделения шаблонов используется знак «|».\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последней выполненной команды." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3626,8 +5084,23 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Выполнение команд в зависимости от условий.\n" +" \n" +" Сначала выполняется список «if КОМАНДЫ». Если состояние выхода нулевое,\n" +" выполняется список «then КОМАНДЫ». В противном случае выполняется по " +"очереди\n" +" все списки «elif КОМАНДЫ», и если их состояние выхода будет нулевым,\n" +" выполнится список «then КОМАНДЫ», и команда if завершится. В противном " +"случае\n" +" выполнится список «else КОМАНДЫ», если он указан. Состояние выхода всей\n" +" конструкции соответствует состоянию выхода последней выполненной команды " +"или будет нулевым,\n" +" если ни одна проверка условия не возвратила истину.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последней выполненной команды." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3637,8 +5110,15 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Выполнение команд до тех пор, пока проверка условия возвращает истину.\n" +" \n" +" Разворачивает и выполняет команды до тех пор, пока последняя команда в\n" +" командах «while» завершается с нулевым состоянием.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последней выполненной команды." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -3648,8 +5128,16 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Выполнение команд до тех пор, пока проверка условия не возвращает истину.\n" +" \n" +" Разворачивает и выполняет команды до тех пор, пока последняя команда в\n" +" командах «until» завершается с ненулевым состоянием.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последней выполненной команды." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3659,10 +5147,21 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" +"Создание дополнительного процесса с указанным именем.\n" +" \n" +" Выполняет команду асинхронно, когда стандартный вывод и стандартный\n" +" вход команды подключены через конвейер к дескрипторам файлов, которые " +"назначены\n" +" указателям 0 и 1 массива переменных ИМЯ в активном командном " +"процессоре.\n" +" Имя по умолчанию — «COPROC».\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние выхода команды." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3675,8 +5174,19 @@ msgid "" " Exit Status:\n" " Returns success unless NAME is readonly." msgstr "" +"Определение функции командного процессора.\n" +" \n" +" Создаёт функцию командного процессора с указанным именем. При запуске в " +"качестве простой команды\n" +" ИМЯ выполняет КОМАНДЫ в контексте вызывающего их командного процессора. " +"При вызове ИМЕНИ\n" +" аргументы передаются в функцию как $1...$n, а функция получает\n" +" название $FUNCNAME.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если переменная ИМЯ доступно для записи." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -3686,8 +5196,16 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"Группировка команд.\n" +" \n" +" Выполняет набор команд, объединённых в группу. Это единственный способ " +"перенаправления\n" +" всего набора команд.\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние последней выполненной команды." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3700,8 +5218,20 @@ msgid "" " Exit Status:\n" " Returns the status of the resumed job." msgstr "" +"Возобновление работы задания в интерактивном режиме.\n" +" \n" +" Аналогично аргументу JOB_SPEC для команды «fg». Возобновляет\n" +" работу остановленного или фонового задания. Через JOB_SPEC можно задать " +"название\n" +" или номер задания. Если после номера задания указать «&», задание будет " +"переведено\n" +" в фоновый режим, как если бы идентификатор задания был указан как\n" +" аргумент для команды «bg».\n" +" \n" +" Состояние выхода:\n" +" Возвращает состояние возобновлённого задания." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3711,8 +5241,15 @@ msgid "" " Exit Status:\n" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" +"Расчёт арифметического выражения.\n" +" \n" +" Выражение рассчитывается по правилам для математических\n" +" выражений. Аналогично «let выражение».\n" +" \n" +" Состояние выхода:\n" +" Возвращает 1, если выражение равно 0, в противном случае возвращает 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3739,8 +5276,35 @@ msgid "" " Exit Status:\n" " 0 or 1 depending on value of EXPRESSION." msgstr "" +"Выполнение условной команды.\n" +" \n" +" Возвращает состояние 0 или 1 в зависимости от результата расчёта\n" +" условного выражения. Выражения составляются из тех же примитивов, " +"которые используются\n" +" во встроенной команде «test». Их можно объединить с помощью следующих " +"операторов:\n" +" \n" +" ( выражение )\tВозвращает значение выражения\n" +" ! выражение\tВозвращает истину, если выражение ложно, в противном " +"случае возвращает ложь\n" +" ВЫРАЖ1 && ВЫРАЖ2\tВозвращает истину, если оба выражения истинны, в " +"противном случае возвращает ложь\n" +" ВЫРАЖ1 || ВЫРАЖ2\tВозвращает истину, если хотя бы одно из выражений " +"истинно, в противном случае возвращает ложь\n" +" \n" +" Если используются операторы «==» и «!=», строка справа от\n" +" оператора используется как шаблон, и выполняется сопоставление по " +"шаблону.\n" +" Если используется оператор «=~», строка справа от оператора\n" +" оценивается как регулярное выражение.\n" +" \n" +" Операторы && и || не рассчитывают ВЫРАЖ2, если ВЫРАЖ1 достаточно для\n" +" определения значения выражения.\n" +" \n" +" Состояние выхода:\n" +" 0 или 1 в зависимости от значения выражения." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3793,8 +5357,67 @@ msgid "" " HISTIGNORE\tA colon-separated list of patterns used to decide which\n" " \t\tcommands should be saved on the history list.\n" msgstr "" - -#: builtins.c:1794 +"Стандартные имена переменных командного процессора и их использование.\n" +" \n" +" BASH_VERSION\tНомер версии bash.\n" +" CDPATH\t\tСписок каталогов, разделённых двоеточиями, для поиска\n" +" \t\tв них каталогов, указанных как аргументы для «cd».\n" +" GLOBIGNORE\tСписок шаблонов, разделённых двоеточиями и описывающих имена " +"файлов,\n" +" \t\tкоторые будут игнорироваться при развёртывании пути.\n" +" HISTFILE\t\tИмя файла, в котором хранится журнал команд.\n" +" HISTFILESIZE\tЧисло строк в файле журнала.\n" +" HISTSIZE\t\tЧисло строк журнала, к которым может\n" +" \t\tполучить доступ командный процессор.\n" +" HOME\t\tПолный путь к вашему домашнему каталогу.\n" +" HOSTNAME\t\tИмя данной системы.\n" +" HOSTTYPE\t\tТип процессора, на котором работает данная версия bash.\n" +" IGNOREEOF\tУправляет действием командного процессора при получении " +"символа\n" +" \t\tсимвола конца файла в качестве единственных входных данных. Если " +"задано, тогда значение\n" +" \t\tявляется числом символов EOF, которые могут быть\n" +" \t\tпрочитаны подряд в пустой строке, после чего командный процессор " +"будет закрыт\n" +" \t\t(по умолчанию — 10). Если не задано, EOF означает конец входных " +"данных.\n" +" MACHTYPE\t\tСтрока с описанием текущей системы, в которой запущен bash.\n" +" MAILCHECK\tКак часто (в секундах) bash проверяет наличие новой почты.\n" +" MAILPATH\t\tСписок имён файлов, разделённых двоеточиями, в которых bash\n" +" \t\tищет почту.\n" +" OSTYPE\t\tВерсия Unix, в которой запущена данная версия bash.\n" +" PATH\t\tСписок каталогов, разделённых двоеточиями, для поиска\n" +" \t\tвыполняемых команд.\n" +" PROMPT_COMMAND\tКоманда, выполняемая перед выводом каждого\n" +" \t\tосновного приглашения.\n" +" PS1\t\tОсновная строка приглашения.\n" +" PS2\t\tДополнительная строка приглашения.\n" +" PWD\t\tПолный путь до текущего каталога.\n" +" SHELLOPTS\tСписок включённых параметров командного процессора, " +"разделённых двоеточиями.\n" +" TERM\t\tНазвание текущего типа терминала.\n" +" TIMEFORMAT\tФормат вывода данных о времени, показываемых\n" +" \t\tкомандой time.\n" +" auto_resume\tНепустое значение означает слово в строке запуска команды,\n" +" \t\tкоторое сначала ищется в списке\n" +" \t\tостановленных заданий. Если команда найдена, задание переводится в " +"интерактивный режим.\n" +" \t\tЗначение «exact» означает, что слово команды должно\n" +" \t\tточно совпадать с командой в списке остановленных заданий. \n" +" \t\tЗначение «substring» означает, что слово команды\n" +" \t\tдолжно быть частью строки задания. Все другие значения означают,\n" +" \t\tчто команда должна быть префиксом остановленного задания.\n" +" histchars\tСимволы, управляющие расширением журнала\n" +" \t\tи быстрой подстановкой. Первый символ означает\n" +" \t\tподстановку журнала. Обычно это «!». Второй символ\n" +" \t\tозначает «быструю подстановку». Обычно это «^». \n" +" \t\tТретий символ означает примечание журнала. Обычно это «#».\n" +" HISTIGNORE\tСписок шаблонов, разделённых двоеточиями и описывающих " +"команды,\n" +" \t\tкоторые должны быть сохранены в журнале.\n" + +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -3804,19 +5427,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3824,8 +5447,37 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" +"Добавление каталогов в стек.\n" +" \n" +" Добавляет каталог в начало стека каталогов или выполняет\n" +" ротацию стека, помещая в начало стека текущий рабочий\n" +" каталог. Если аргументы не указаны, меняет местами два первых " +"каталога.\n" +" \n" +" Параметры:\n" +" -n\tпредотвращает обычное изменение каталога при добавлении\n" +" \tкаталогов в стек, чтобы действия выполнялись только над стеком.\n" +" \n" +" Аргументы:\n" +" +N\tвыполняет ротацию стека, чтобы N-й каталог (слева\n" +" \tв списке, показанного командой «dirs», начиная с нуля)\n" +" \tстал первым в стеке.\n" +" \n" +" -N\tвыполняет ротацию стека, чтобы N-й каталог (справа\n" +" \tв списке, показанного командой «dirs», начиная с нуля)\n" +" \tстал первым в стеке.\n" +" \n" +" каталог\tдобавляет каталог в начало стека каталогов, делая его\n" +" \tновым текущим каталогом.\n" +" \n" +" Встроенная команда dirs показывает стек каталогов.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или удалось\n" +" перейти в каталог." -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -3834,16 +5486,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3851,8 +5503,32 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" +"Удаление каталогов из стека.\n" +" \n" +" Удаляет записи из стека каталогов. Если аргументы не указаны,\n" +" удаляет первый каталог из стека и назначает новый первый каталог.\n" +" \n" +" Параметры:\n" +" -n\tпредотвращает обычное изменение каталога при удалении\n" +" \tкаталогов из стека, чтобы действия выполнялись только над стеком.\n" +" \n" +" Аргументы:\n" +" +N\tудаляет N-ю слева запись в списке каталогов,\n" +" \tпоказанного командой «dirs», начиная с нуля. Например, «popd +0»\n" +" \tудаляет первый каталог, а «popd +1» — второй каталог.\n" +" \n" +" -N\tудаляет N-ю справа запись в списке каталогов,\n" +" \tпоказанного командой «dirs», начиная с нуля. Например, «popd -0»\n" +" \tудаляет последний каталог, а «popd -1» — предпоследний каталог.\n" +" \n" +" Встроенная команда dirs показывает стек каталогов.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или удалось\n" +" перейти в каталог." -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -3863,25 +5539,49 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"Отображение стека каталогов.\n" +" \n" +" Выводит список запомненных на данный момент каталогов. Каталоги\n" +" помещаются в список командой «pushd». Для очистки\n" +" списка используется команда «popd».\n" +" \n" +" Параметры:\n" +" -c\tочистить стек каталогов, удалив из него все элементы\n" +" -l\tне выводить каталоги, начинающиеся с тильды (~),\n" +" \tкоторая означает домашний каталог\n" +" -p\tпоказать стек по одному каталогу в строке\n" +" -v\tпоказать стек по одному каталогу в строке\n" +" \tи с номером в стеке\n" +" \n" +" Аргументы:\n" +" +N\tпоказать N-ю запись слева в списке каталогов,\n" +" \tпоказанного при вызове без параметров, начиная с нуля.\n" +" \n" +" -N\tпоказать N-ю справа в списке каталогов запись,\n" +" \tпоказанного при вызове без параметров, начиная с нуля.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или не возникла " +"ошибка." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -3901,8 +5601,27 @@ msgid "" " Returns success if OPTNAME is enabled; fails if an invalid option is\n" " given or OPTNAME is disabled." msgstr "" +"Установка и удаление параметров командного процессора.\n" +" \n" +" Изменяет настройки указанных параметров командного процессора. Если не " +"указать\n" +" аргумент с параметром, выводит все параметры командного процессора, " +"показывая\n" +" какой из них установлен, а какой нет.\n" +" \n" +" Параметры:\n" +" -o\tограничиться до параметров, которые заданы с помощью «set -o»\n" +" -p\tпоказать все параметры командного процессора и их состояние\n" +" -q\tничего не выводить\n" +" -s\tвключить (set) все указанные параметры\n" +" -u\tотключить (unset) все указанные параметры\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если указанный параметр включён. Возвращает ошибку,\n" +" если был указан недопустимый параметр или параметр отключён." -#: builtins.c:1908 +#: builtins.c:1919 +#, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -3919,15 +5638,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -3940,8 +5659,44 @@ msgid "" "assignment\n" " error occurs." msgstr "" - -#: builtins.c:1942 +"Форматирует и выводит аргументы согласно указанному формату.\n" +" \n" +" Параметры:\n" +" -v перем\tвыводить в указанную переменную bash, а не\n" +" \t\tна стандартный вывод\n" +" \n" +" ФОРМАТ — это символьная строка, содержащая три типа объектов: простые\n" +" символы, которые копируются на стандартный вывод, экранирующие\n" +" последовательности, которые преобразовываются и копируются на " +"стандартный\n" +" вывод, и спецификации, которые активируют вывод следующего успешного\n" +" аргумента.\n" +" \n" +" В дополнение к стандартным спецификациям формата, описанным в printf" +"(1),\n" +" printf интерпретирует:\n" +" \n" +" %b\tразвёртывание экранирующих последовательностей с обратной косой " +"чертой в соответствующий аргумент;\n" +" %q\tзаключение аргумента в кавычки, чтобы его можно было повторно " +"использовать в качестве входных данных для командного процессора;\n" +" %(fmt)T вывод строки дата-время, полученной после использования FMT в " +"качестве\n" +" строки форматирования для strftime(3)\n" +" \n" +" Если необходимо задействовать все аргументы, формат используется " +"повторно. Если\n" +" аргументов меньше, чем требуется для форматирования, дополнительные\n" +" спецификации форматирования интерпретируются как содержащие нулевое\n" +" или пустое значение.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или не возникла " +"ошибка\n" +" записи или присвоения." + +#: builtins.c:1953 +#, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -3954,11 +5709,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -3967,9 +5722,32 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"Определение количества аргументов, завершаемых функцией readline.\n" +" \n" +" Для каждого имени нужно указать количество завершаемых аргументов. Если " +"параметры\n" +" не указаны, выводятся существующие спецификации завершения формате\n" +" для повторного использования.\n" +" \n" +" Параметры:\n" +" -p\tвывести существующие спецификации завершения в формате для " +"повторного использования\n" +" -r\tудалить спецификации завершения для каждого имени или,\n" +" \tесли имена не указаны, все спецификации\n" +" -D\tприменить завершения и действия как стандартные для команд,\n" +" \tдля которых не определены завершения\n" +" -E\tприменить завершения и действия к «пустым» командам —\n" +" \tзавершение применяется к пустой строке\n" +" \n" +" Когда применяется завершение, действия выполняются в алфавитном порядке\n" +" перечисленных выше параметров. Параметр -D имеет более\n" +" высокий приоритет, чем -E.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или не возникла " +"ошибка." -#: builtins.c:1970 -#, fuzzy +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -3981,13 +5759,18 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -"ðÏËÁÚÙ×ÁÅÔ ×ÏÚÍÏÖÎÙÅ ÄÏÐÏÌÎÅÎÉÑ × ÚÁ×ÉÓÉÍÏÓÔÉ ÏÐÃÉÊ. ðÒÅÄÐÏÌÁÇÁÅÔÓÑ,\n" -" ÞÔÏ ÂÕÄÅÔ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ×ÎÕÔÒÉ ÆÕÎËÃÉÊ ËÏÍÁÎÄÎÏÇÏ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ, " -"ÇÅÎÅÒÉÒÕÀÝÅÊ ×ÏÚÍÏÖÎÙÅ ÄÏÐÏÌÎÅÎÉÑ.\n" -" åÓÌÉ ÎÅÏÂÑÚÁÔÅÌØÎÙÊ ÁÒÇÕÍÅÎÔ óìï÷ï ÂÙÌ ÉÓÐÏÌØÚÏ×ÁÎ, ÔÏ ÂÕÄÕÔ " -"ÓÇÅÎÅÒÉÒÏ×ÁÎÙ ÔÏÌØËÏ ÓÏ×ÐÁÄÅÎÉÑ Ó óìï÷ï." +"Вывод возможных завершений в зависимости от параметров.\n" +" \n" +" compgen предназначен для использования в функциях bash, генерирующих\n" +" возможные завершения. Если указан необязательный аргумент слово, " +"выполняет\n" +" сопоставление со сгенерированным словом.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или не возникла " +"ошибка." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4017,8 +5800,37 @@ msgid "" " Returns success unless an invalid option is supplied or NAME does not\n" " have a completion specification defined." msgstr "" +"Изменение или вывод параметров завершения.\n" +" \n" +" Изменяет параметры завершения для каждого имени или, если имена\n" +" не указаны, для текущего завершения. Если параметры не указаны, " +"выводит\n" +" параметры завершения для каждого имени или текущую спецификацию " +"завершения.\n" +" \n" +" Параметры:\n" +" \t-o параметр\tзадать параметр завершения для каждого имени\n" +" \t-D\t\tизменить параметры для завершения команды «по умолчанию»\n" +" \t-E\t\tизменить параметры для завершения «пустой» команды\n" +" \n" +" Использование «+o» вместо «-o» отключает указанный параметр.\n" +" \n" +" Аргументы:\n" +" \n" +" Каждое имя ссылается на команду, для которой уже должна быть определена\n" +" спецификация завершения с помощью встроенной команды «complete». Если " +"имена\n" +" не указаны, функция, которая сейчас генерирует завершения, должна " +"вызвать\n" +" compopt, и должны измениться параметры для текущего\n" +" генератора завершения.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или для имени\n" +" определена спецификация завершения." -#: builtins.c:2015 +#: builtins.c:2026 +#, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4029,20 +5841,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4058,38 +5871,2196 @@ msgid "" "or\n" " not an indexed array." msgstr "" - -#: builtins.c:2049 +"Чтение строк со стандартного ввода в переменную индексированного массива.\n" +" \n" +" Читает строки со стандартного ввода в переменную указанного " +"индексированного массива\n" +" или из указанного файлового дескриптора, если указан параметр -u. " +"Переменная $MAPFILE\n" +" является массивом по умолчанию.\n" +" \n" +" Параметры:\n" +" -n число\tкопировать указанное число строк Если число равно 0, " +"копируются все строки.\n" +" -O начало\tначать присвоение массиву, начиная с заданного указателя " +"По умолчанию указатель равен 0.\n" +" -s число \tотбросить указанное число первых строк\n" +" -t\t\tудалить завершающие переводы строки изо всех прочитанных строк\n" +" -u fd\t\tчитать строки из файлового дескриптора, а не со стандартного " +"входа\n" +" -C callback\tоценивать callback при чтении каждой строки quantum\n" +" -c quantum\tчисло строк, читаемых от каждого вызова до callback\n" +" \n" +" Аргументы:\n" +" МАССИВ\t\tназвание переменной массива, используемой для данных файла.\n" +" \n" +" Если параметр -C указан без -c, quantum по умолчанию равен 5000. Когда\n" +" оценивается callback, он предоставляет указатель на следующий " +"присваиваемый\n" +" элемента массива и на строку, присваиваемую этому элементу,\n" +" в качестве дополнительных аргументов.\n" +" \n" +" Если явно не указано начало, mapfile очистит массив до\n" +" операции присвоения.\n" +" \n" +" Состояние выхода:\n" +" Возвращает успех, если был указан допустимый параметр или массив " +"доступен для записи\n" +" и является индексированным." + +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" " A synonym for `mapfile'." msgstr "" +"Чтение строк из файла в переменную массива.\n" +" \n" +" Синоним команды «mapfile»." + +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "© Free Software Foundation, Inc, 2013." + +#~ msgid ":" +#~ msgstr ":" -#~ msgid "Without EXPR, returns returns \"$line $filename\". With EXPR," -#~ msgstr "âÅÚ ÷ùòáö ×ÏÚ×ÒÁÝÁÅÔ \"$ÓÔÒÏËÁ $ÉÍÑÆÁÊÌÁ\". ó ÷ùòáö," +#~ msgid "true" +#~ msgstr "true" -#~ msgid "returns \"$line $subroutine $filename\"; this extra information" +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "© Free Software Foundation, Inc, 2012." + +#~ msgid "Missing `}'" +#~ msgstr "Пропущен символ `}'" + +#~ msgid "brace_expand> " +#~ msgstr "brace_expand> " + +#~ msgid "Attempt to free unknown command type `%d'.\n" #~ msgstr "" -#~ "÷ÏÚ×ÒÁÝÁÅÔ \"$ÓÔÒÏËÁ $ÐÒÏÃÅÄÕÒÁ $ÉÍÑÆÁÊÌÁ\"; ÜÔÁ ÄÏÐÏÌÎÉÔÅÌØÎÁÑ " -#~ "ÉÎÆÏÒÍÁÃÉÑ " +#~ "Попытка освободить память структуры команды неизвестного типа `%d'.\n" -#~ msgid "can be used used to provide a stack trace." -#~ msgstr "ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎÁ ÄÌÑ ÓÏÚÄÁÎÉÑ `stack trace'" +#~ msgid "Report this to %s\n" +#~ msgstr "Сообщите об этом по адресу %s\n" -#~ msgid "bug: unknown operation" -#~ msgstr "ÏÛÉÂËÁ: ÎÅÉÚ×ÅÓÔÎÁÑ ÏÐÅÒÁÃÉÑ" +#~ msgid "Stopping myself..." +#~ msgstr "Прекращение работы..." -#, fuzzy -#~ msgid "Return a successful result." -#~ msgstr "÷ÏÚ×ÒÁÝÁÅÔ ÒÅÚÕÌØÔÁÔ: ×ÓÅ ÈÏÒÏÛÏ." +#~ msgid "Tell %s to fix this someday.\n" +#~ msgstr "Скажите %s, чтобы он исправил это.\n" + +#~ msgid "execute_command: bad command type `%d'" +#~ msgstr "execute_command: неверный тип команды '%d'" + +#~ msgid "real\t" +#~ msgstr "реальное\t" + +#~ msgid "user\t" +#~ msgstr "пользователя\t" + +#~ msgid "sys\t" +#~ msgstr "системное\t" + +#~ msgid "" +#~ "real\t0m0.00s\n" +#~ "user\t0m0.00s\n" +#~ "sys\t0m0.00s\n" +#~ msgstr "" +#~ "реальное\t0m0.00s\n" +#~ "пользователя\t0m0.00s\n" +#~ "системное\t0m0.00s\n" + +#~ msgid "cannot duplicate fd %d to fd 1: %s" +#~ msgstr "невозможно скопировать файловый дескриптор %d в 1: %s" + +#~ msgid "%s: output redirection restricted" +#~ msgstr "%s: перенаправление вывода запрещено (ограниченный режим)" + +#~ msgid "Out of memory!" +#~ msgstr "Недостаточно памяти!" + +#~ msgid "You have already added item `%s'\n" +#~ msgstr "Элемент `%s' уже добавлен\n" + +#~ msgid "You have entered %d (%d) items. The distribution is:\n" +#~ msgstr "Создано %d (%d) элементов. Распределение:\n" + +#~ msgid "slot %3d: " +#~ msgstr "слот %3d: " + +#~ msgid "" +#~ msgstr "<неизв>" + +#~ msgid "%s: bg background job?" +#~ msgstr "%s: задача уже фоновая" + +#~ msgid "" +#~ "Redirection instruction from yyparse () '%d' is\n" +#~ "out of range in make_redirection ()." +#~ msgstr "" +#~ "Инструкция перенаправления yyparse () `%d'\n" +#~ "не может быть обработана make_redirection ()." + +#~ msgid "clean_simple_command () got a command with type %d." +#~ msgstr "функции clean_simple_command () передана команда типа %d." + +#~ msgid "got errno %d while waiting for %d" +#~ msgstr "ошибка %d при ожидании %d" + +#~ msgid "syntax error near unexpected token `%c'" +#~ msgstr "синтаксическая ошибка около неожиданной лексемы `%c'" + +#~ msgid "print_command: bad command type `%d'" +#~ msgstr "print_command: неверный тип команды `%d'" + +#~ msgid "cprintf: bad `%%' argument (%c)" +#~ msgstr "cprintf: неверный спецификатор после `%%' (%c)" + +#~ msgid "option `%s' requires an argument" +#~ msgstr "параметр `%s' должен использоваться с аргументом" + +#~ msgid "%s: unrecognized option" +#~ msgstr "%s: неизвестный параметр" + +#~ msgid "`-c' requires an argument" +#~ msgstr "`-c' должен использоваться с аргументом" + +#~ msgid "%s: cannot execute directories" +#~ msgstr "%s: каталоги не могут запускаться как исполняемые файлы" + +#~ msgid "Bad code in sig.c: sigprocmask" +#~ msgstr "Неверный код в sig.c: sigprocmask" + +#~ msgid "can't make pipes for process substitution: %s" +#~ msgstr "невозможно создать каналы для подстановки: %s" + +#~ msgid "reading" +#~ msgstr "чтения" + +#~ msgid "writing" +#~ msgstr "записи" + +#~ msgid "process substitution" +#~ msgstr "подстановка процессов" + +#~ msgid "command substitution" +#~ msgstr "подстановка команд" + +#~ msgid "Can't reopen pipe to command substitution (fd %d): %s" +#~ msgstr "" +#~ "Невозможно вновь открыть канал для подстановки команд (файловый " +#~ "дексриптор %d): %s" + +#~ msgid "$%c: unbound variable" +#~ msgstr "$%c: не заданы границы" + +#~ msgid "%s: bad arithmetic substitution" +#~ msgstr "%s: неверная арифметическая подстановка" + +#~ msgid "-%s: binary operator expected" +#~ msgstr "-%s: ожидается бинарная операция" + +#~ msgid "%s[%s: bad subscript" +#~ msgstr "%s[%s: неверный индекс" + +#~ msgid "[%s: bad subscript" +#~ msgstr "[%s: неверный индекс" + +#~ msgid "xrealloc: cannot reallocate %lu bytes (%lu bytes allocated)" +#~ msgstr "" +#~ "xmalloc: невозможно заново выделить %lu байтов (выделено %lu байтов)" + +#~ msgid "digits occur in two different argv-elements.\n" +#~ msgstr "цифры встречаются в двух разных элементах argv.\n" + +#~ msgid "option %c\n" +#~ msgstr "параметр %c\n" + +#~ msgid "option a\n" +#~ msgstr "параметр a\n" + +#~ msgid "option b\n" +#~ msgstr "параметр b\n" + +#~ msgid "option c with value `%s'\n" +#~ msgstr "параметр c со значением `%s'\n" + +#~ msgid "?? sh_getopt returned character code 0%o ??\n" +#~ msgstr "?? sh_getopt вернула код символа 0%o ??\n" + +#~ msgid "non-option ARGV-elements: " +#~ msgstr "элементы ARGV, не являющиеся параметрами: " + +#~ msgid "%s: Unknown flag %s.\n" +#~ msgstr "%s: Неизвестный флаг %s.\n" + +#~ msgid "Unknown directive `%s'" +#~ msgstr "Неизвестная директива `%s'" + +#~ msgid "%s must be inside of a $BUILTIN block" +#~ msgstr "%s должно быть внутри блока $BUILTIN" + +#~ msgid "%s found before $END" +#~ msgstr "%s обнаружено раньше $END" + +#~ msgid "%s already has a function (%s)" +#~ msgstr "В %s уже есть функция (%s)" + +#~ msgid "%s already had a docname (%s)" +#~ msgstr "В %s уже есть название документации (%s)" + +#~ msgid "%s already has short documentation (%s)" +#~ msgstr "В %s уже есть короткая документация (%s)" + +#~ msgid "%s already has a %s definition" +#~ msgstr "В %s уже есть определение %s" + +#~ msgid "mkbuiltins: Out of virtual memory!\n" +#~ msgstr "mkbuiltins: Не хватает виртуальной памяти!\n" + +#~ msgid "read [-r] [-p prompt] [-a array] [-e] [name ...]" +#~ msgstr "read [-r] [-p приглашение] [-a массив] [-e] [имя ...]" + +#~ msgid "%[DIGITS | WORD] [&]" +#~ msgstr "%[ЦИФРЫ | СЛОВО] [&]" + +#~ msgid "variables - Some variable names and meanings" +#~ msgstr "variables -- Имена и смысл некоторых переменных" + +#~ msgid "`alias' with no arguments or with the -p option prints the list" +#~ msgstr "`alias' без аргументов или с параметром -p выводит на стандартный" + +#~ msgid "of aliases in the form alias NAME=VALUE on standard output." +#~ msgstr "вывод список псевдокоманд в виде ИМЯ=ЗНАЧЕНИЕ. В противном" + +#~ msgid "Otherwise, an alias is defined for each NAME whose VALUE is given." +#~ msgstr "случае, для каждого ИМЕНИ определяется псевдокоманда со ЗНАЧЕНИЕМ." + +#~ msgid "A trailing space in VALUE causes the next word to be checked for" +#~ msgstr "" +#~ "Если на конце ЗНАЧЕНИЯ есть пробелы, при разворачивании псевдокоманды" + +#~ msgid "alias substitution when the alias is expanded. Alias returns" +#~ msgstr "следующее слово проверяется на подстановку псевдокоманд. Alias" + +#~ msgid "true unless a NAME is given for which no alias has been defined." +#~ msgstr "" +#~ "возвращает true, если только не задано ИМЯ, для которого нет псевдокоманд." + +#~ msgid "" +#~ "Remove NAMEs from the list of defined aliases. If the -a option is given," +#~ msgstr "" +#~ "Удаляет ИМЕНА из списка определённых псевдокоманд. Если задан параметр -a," + +#~ msgid "then remove all alias definitions." +#~ msgstr "удаляет все определения псевдокоманд." + +#~ msgid "Bind a key sequence to a Readline function, or to a macro. The" +#~ msgstr "" +#~ "Связывает последовательность клавиш с функцией Readline или с макросом." + +#~ msgid "syntax is equivalent to that found in ~/.inputrc, but must be" +#~ msgstr "Синтаксис тот же, что и в ~/.inputrc, но должен передаваться" + +#~ msgid "" +#~ "passed as a single argument: bind '\"\\C-x\\C-r\": re-read-init-file'." +#~ msgstr "одним аргументом: bind '\"\\C-x\\C-r\": re-read-init-file'." + +#~ msgid "Arguments we accept:" +#~ msgstr "Принимаемые аргументы:" + +#~ msgid "" +#~ " -m keymap Use `keymap' as the keymap for the duration of this" +#~ msgstr "" +#~ " -m раскладка Использовать во время работы программы указанную" + +#~ msgid " command. Acceptable keymap names are emacs," +#~ msgstr " раскладку. Допустимые имена раскладок: emacs," + +#~ msgid "" +#~ " emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move," +#~ msgstr "" +#~ " emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move," + +#~ msgid " vi-command, and vi-insert." +#~ msgstr " vi-command и vi-insert." + +#~ msgid " -l List names of functions." +#~ msgstr " -l Вывести список имён функций." + +#~ msgid " -P List function names and bindings." +#~ msgstr " -P Вывести список имён функций и связей." + +#~ msgid "" +#~ " -p List functions and bindings in a form that can be" +#~ msgstr " -p Вывести список имён функций и связей в виде," + +#~ msgid " reused as input." +#~ msgstr " который можно использовать на входе." + +#~ msgid " -r keyseq Remove the binding for KEYSEQ." +#~ msgstr " -r послед_клавиш Удалить связь для `послед_клавиш'." + +#~ msgid " -f filename Read key bindings from FILENAME." +#~ msgstr " -f имя_файла Прочесть связи из файла." + +#~ msgid "" +#~ " -q function-name Query about which keys invoke the named function." +#~ msgstr "" +#~ " -q имя_функции Запрос, какие клавиши вызовут указанную функцию." + +#~ msgid " -V List variable names and values" +#~ msgstr " -V Вывести список имён и значений переменных." + +#~ msgid "" +#~ " -v List variable names and values in a form that can" +#~ msgstr "" +#~ " -v Вывести список имён и значений переменных в виде," + +#~ msgid " be reused as input." +#~ msgstr " который можно использовать на входе" + +#~ msgid "" +#~ " -S List key sequences that invoke macros and their " +#~ "values" +#~ msgstr "" +#~ " -S Вывести список последовательностей клавиш, " +#~ "вызывающих макросы и их значений." + +#~ msgid "" +#~ " -s List key sequences that invoke macros and their " +#~ "values in" +#~ msgstr "" +#~ " -s Вывести список последовательностей клавиш, вызывающих " +#~ "макросы" + +#~ msgid " a form that can be reused as input." +#~ msgstr "" +#~ " и их значений в виде, который можно использовать на " +#~ "входе" + +#~ msgid "Exit from within a FOR, WHILE or UNTIL loop. If N is specified," +#~ msgstr "Выйти из цикла FOR, WHILE или UNTIL. Если указано N," + +#~ msgid "break N levels." +#~ msgstr "выйти из N вложенных уровней." + +#~ msgid "Resume the next iteration of the enclosing FOR, WHILE or UNTIL loop." +#~ msgstr "Перейти к следующей итерации цикла FOR, WHILE или UNTIL." + +#~ msgid "If N is specified, resume at the N-th enclosing loop." +#~ msgstr "Если задано N, перейти к N-му обрамляющему циклу." + +#~ msgid "Run a shell builtin. This is useful when you wish to rename a" +#~ msgstr "Выполнить встроенную команду оболочки. Это полезно, если вы хотите" + +#~ msgid "shell builtin to be a function, but need the functionality of the" +#~ msgstr "создать функцию с именем встроенной команды, но хотите сохранить" + +#~ msgid "builtin within the function itself." +#~ msgstr "возможность использования команды из самой функции" + +#~ msgid "Change the current directory to DIR. The variable $HOME is the" +#~ msgstr "Изменить текущий каталог на заданный. Переменная $HOME содержит" + +#~ msgid "default DIR. The variable $CDPATH defines the search path for" +#~ msgstr "" +#~ "каталог по умолчанию. Переменная $CDPATH определяет путь, в котором" + +#~ msgid "the directory containing DIR. Alternative directory names in CDPATH" +#~ msgstr "" +#~ "ищется каталог, содержащий КАТАЛОГ. Альтернативные каталоги в CDPATH" + +#~ msgid "are separated by a colon (:). A null directory name is the same as" +#~ msgstr "" +#~ "разделяются точкой с запятой (:). Пустое имя каталога -- то же самое," + +#~ msgid "the current directory, i.e. `.'. If DIR begins with a slash (/)," +#~ msgstr "" +#~ "что текущий каталог, т.е. `.'. Если КАТАЛОГ начинается с дроби (/)," + +#~ msgid "then $CDPATH is not used. If the directory is not found, and the" +#~ msgstr "" +#~ "$CDPATh не используется. Если каталог не найден, и установлен параметр" + +#~ msgid "shell option `cdable_vars' is set, then try the word as a variable" +#~ msgstr "" +#~ "оболочки `cdable_vars', делается попытка интерпретировать это слово как " +#~ "имя" + +#~ msgid "name. If that variable has a value, then cd to the value of that" +#~ msgstr "" +#~ "переменной. Если эта переменная имеет значение, каталог меняется на это" + +#~ msgid "" +#~ "variable. The -P option says to use the physical directory structure" +#~ msgstr "" +#~ "значение. Параметр -P указывает использовать физическую структуру " +#~ "каталогов," + +#~ msgid "" +#~ "instead of following symbolic links; the -L option forces symbolic links" +#~ msgstr "" +#~ "а не следовать символчиеским ссылкам, параметр -L заставляет следовать" + +#~ msgid "to be followed." +#~ msgstr "символическим ссылкам." + +#~ msgid "Print the current working directory. With the -P option, pwd prints" +#~ msgstr "" +#~ "Вывести имя текущего рабочего каталога. С параметром -P pwd выводит" + +#~ msgid "the physical directory, without any symbolic links; the -L option" +#~ msgstr "" +#~ "физический каталог, без символических ссылок, параметр -L заставляет" + +#~ msgid "makes pwd follow symbolic links." +#~ msgstr "pwd следовать символическим ссылкам." + +#~ msgid "" +#~ "Runs COMMAND with ARGS ignoring shell functions. If you have a shell" +#~ msgstr "" +#~ "Выполняет КОМАНДУ с АРГУМЕНТАМИ, игнорируя функции оболочки. Если у вас " +#~ "есть" + +#~ msgid "function called `ls', and you wish to call the command `ls', you can" +#~ msgstr "" +#~ "функция оболочки `ls', а вы хотите вызвать команду `ls', можно " +#~ "использовать" + +#~ msgid "" +#~ "say \"command ls\". If the -p option is given, a default value is used" +#~ msgstr "" +#~ "\"command ls\". Если задан параметр -p, используется значение $PATH" + +#~ msgid "" +#~ "for PATH that is guaranteed to find all of the standard utilities. If" +#~ msgstr "по умолчанию, что гарантирует отыскание стандартных утилит. Если" + +#~ msgid "" +#~ "the -V or -v option is given, a string is printed describing COMMAND." +#~ msgstr "задан параметр -V или -v, выводится строка, описывающая КОМАНДУ." + +#~ msgid "The -V option produces a more verbose description." +#~ msgstr "Параметр -V создаёт более подробное описание." + +#~ msgid "Declare variables and/or give them attributes. If no NAMEs are" +#~ msgstr "" +#~ "Объявляет переменные и/или придаёт им атрибуты. Если не заданы ИМЕНА," + +#~ msgid "given, then display the values of variables instead. The -p option" +#~ msgstr "выводит вместо этого значения переменных. Параметр -p выведет" + +#~ msgid "will display the attributes and values of each NAME." +#~ msgstr "атрибуты и значения каждого ИМЕНИ." + +#~ msgid "The flags are:" +#~ msgstr "Флаги:" + +#~ msgid " -a\tto make NAMEs arrays (if supported)" +#~ msgstr " -a\tсчитать ИМЕНА массивами (если поддерживаются)" + +#~ msgid " -f\tto select from among function names only" +#~ msgstr " -f\tискать только среди имён функций" + +#~ msgid " -F\tto display function names without definitions" +#~ msgstr " -F\tпоказать имена функций без определений" + +#~ msgid " -r\tto make NAMEs readonly" +#~ msgstr " -r\tсделать ИМЕНА переменными только для чтения" + +#~ msgid " -x\tto make NAMEs export" +#~ msgstr " -x\tпозволить экспорт ИМЁН" + +#~ msgid " -i\tto make NAMEs have the `integer' attribute set" +#~ msgstr " -i\tпридать ИМЕНАМ набор атрибутов `integer' (целочисленный)" + +#~ msgid "Variables with the integer attribute have arithmetic evaluation (see" +#~ msgstr "Для переменных с атрибутом `integer' арифметические вычисления (см." + +#~ msgid "`let') done when the variable is assigned to." +#~ msgstr "`let') выполняются при присвоении переменной значения." + +#~ msgid "When displaying values of variables, -f displays a function's name" +#~ msgstr "При выводе значений переменных -f выводит имя и определение" + +#~ msgid "and definition. The -F option restricts the display to function" +#~ msgstr "функции. Параметр -F ограничивает вывод именем" + +#~ msgid "name only." +#~ msgstr "функции." + +#~ msgid "" +#~ "Using `+' instead of `-' turns off the given attribute instead. When" +#~ msgstr "Использование `+' вместо `-' выключает заданный атрибут. При" + +#~ msgid "used in a function, makes NAMEs local, as with the `local' command." +#~ msgstr "" +#~ "использовании в функции делает ИМЕНа локальными, как команда `local'." -#, fuzzy #~ msgid "Obsolete. See `declare'." -#~ msgstr " ÷ÙÛÅÌ ÉÚ ÕÐÏÔÒÅÂÌÅÎÉÑ. óÍ. `declare'." +#~ msgstr "Устарела. См. `declare'." -#, fuzzy -#~ msgid "Logout of a login shell." +#~ msgid "Create a local variable called NAME, and give it VALUE. LOCAL" +#~ msgstr "Создать локальную переменную ИМЯ и придать ей ЗНАЧЕНИЕ. LOCAL" + +#~ msgid "have a visible scope restricted to that function and its children." +#~ msgstr "область видимости ИМЕНИ этой функцией и её потомками." + +#~ msgid "Output the ARGs. If -n is specified, the trailing newline is" +#~ msgstr "Выводит АРГУМЕНТЫ. Если задано -n, подавляется завершающий переход" + +#~ msgid "suppressed. If the -e option is given, interpretation of the" +#~ msgstr "" +#~ "на новую строку. Если задан параметр -e, интерпретируются следующие" + +#~ msgid "following backslash-escaped characters is turned on:" +#~ msgstr "экранированные символы:" + +#~ msgid "\t\\a\talert (bell)" +#~ msgstr "\t\\a\tпредупреждение (звонок)" + +#~ msgid "\t\\b\tbackspace" +#~ msgstr "\t\\b\tзабой (откат)" + +#~ msgid "\t\\c\tsuppress trailing newline" +#~ msgstr "\t\\c\tподавить завершающий переход на новую строку" + +#~ msgid "\t\\E\tescape character" +#~ msgstr "\t\\E\tэкранировать символ" + +#~ msgid "\t\\f\tform feed" +#~ msgstr "\t\\f\tсдвиг на следующую строку" + +#~ msgid "\t\\n\tnew line" +#~ msgstr "\t\\n\tновая строка" + +#~ msgid "\t\\r\tcarriage return" +#~ msgstr "\t\\r\tвозврат каретки" + +#~ msgid "\t\\t\thorizontal tab" +#~ msgstr "\t\\t\tгоризонтальная табуляция" + +#~ msgid "\t\\v\tvertical tab" +#~ msgstr "\t\\v\tвертикальная табуляция" + +#~ msgid "\t\\\\\tbackslash" +#~ msgstr "\t\\\\\tобратная косая черта" + +#~ msgid "\t\\num\tthe character whose ASCII code is NUM (octal)." +#~ msgstr "\t\\число\tсимвол, восьмеричный ASCII-код которого равен ЧИСЛУ" + +#~ msgid "" +#~ "You can explicitly turn off the interpretation of the above characters" +#~ msgstr "Вы можете явно выключить интерпретацию вышеприведённых символов" + +#~ msgid "with the -E option." +#~ msgstr "параметром -E." + +#~ msgid "" +#~ "Output the ARGs. If -n is specified, the trailing newline is suppressed." +#~ msgstr "" +#~ "Выводит АРГУМЕНТЫ. Если задано -n, подавляется завершающий переход на " +#~ "новую строку." + +#~ msgid "Enable and disable builtin shell commands. This allows" +#~ msgstr "Включает и блокирует встроенные команды оболочки. Это позволяет" + +#~ msgid "you to use a disk command which has the same name as a shell" +#~ msgstr "использовать внешние команды с теми же именами, что команды" + +#~ msgid "builtin. If -n is used, the NAMEs become disabled; otherwise" +#~ msgstr "" +#~ "оболочки. При использовании -n ИМЕНА блокируются, в противном случае" + +#~ msgid "NAMEs are enabled. For example, to use the `test' found on your" #~ msgstr "" -#~ "úÁ×ÅÒÛÅÎÉÑ ÓÅÁÎÓÁ ËÏÍÁÎÄÎÏÇÏ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÚÁÐÕÝÅÎÎÏÇÏ ÐÏÓÌÅ ×ÈÏÄÁ × " -#~ "ÓÉÓÔÅÍÕ." +#~ "включаются. Например, чтобы использовать файл `test', а не встроенную" + +#~ msgid "path instead of the shell builtin version, type `enable -n test'." +#~ msgstr "в оболочку версию, введите enable -n test'. На системах," + +#~ msgid "On systems supporting dynamic loading, the -f option may be used" +#~ msgstr "поддерживающих динамическую загрузку можно использовать параметр -f" + +#~ msgid "to load new builtins from the shared object FILENAME. The -d" +#~ msgstr "" +#~ "чтобы загрузить новые встроенные команды из разделяемого объекта ФАЙЛ." + +#~ msgid "option will delete a builtin previously loaded with -f. If no" +#~ msgstr "Параметр -d удаляет команды, загруженные -f. Если имена, кроме" + +#~ msgid "non-option names are given, or the -p option is supplied, a list" +#~ msgstr "как в параметрах, не заданы, или если задан параметр -p, выводится" + +#~ msgid "of builtins is printed. The -a option means to print every builtin" +#~ msgstr "" +#~ "список встроенных команд. Параметр -a требует вывести все встроенные" + +#~ msgid "with an indication of whether or not it is enabled. The -s option" +#~ msgstr "команды с информацией, блокированы ли они. Параметр -s выводит" + +#~ msgid "restricts the output to the Posix.2 `special' builtins. The -n" +#~ msgstr "только `специальные' команды Posix.2. Параметр -n выводит список" + +#~ msgid "option displays a list of all disabled builtins." +#~ msgstr "всех блокированных встроенных команд." + +#~ msgid "" +#~ "Read ARGs as input to the shell and execute the resulting command(s)." +#~ msgstr "" +#~ "Читает АРГУМЕНТЫ как входной текст оболочки и выполняет полученные " +#~ "команды." + +#~ msgid "Getopts is used by shell procedures to parse positional parameters." +#~ msgstr "" +#~ "Getopts используется процедурами оболочки для анализа параметров командной" + +#~ msgid "OPTSTRING contains the option letters to be recognized; if a letter" +#~ msgstr "строки. СТРОКА_ПАРАМЕТРОВ содержит буквы параметров, которые нужно" + +#~ msgid "is followed by a colon, the option is expected to have an argument," +#~ msgstr "" +#~ "распознать. Если за буквой следует двоеточие, параметр должен иметь" + +#~ msgid "which should be separated from it by white space." +#~ msgstr "аргумент, отделённый от него промежутком." + +#~ msgid "Each time it is invoked, getopts will place the next option in the" +#~ msgstr "При каждом вызове getopts помещает следующий параметр в переменную" + +#~ msgid "shell variable $name, initializing name if it does not exist, and" +#~ msgstr "оболочки $имя, инициализируя имя, если оно не существует, а индекс" + +#~ msgid "the index of the next argument to be processed into the shell" +#~ msgstr "следующего аргумента в переменную оболочки OPTIND. OPTIND" + +#~ msgid "variable OPTIND. OPTIND is initialized to 1 each time the shell or" +#~ msgstr "" +#~ "принимает значение 1 при каждом вызове оболочки или скрипта оболочки." + +#~ msgid "a shell script is invoked. When an option requires an argument," +#~ msgstr "Если параметр требует аргумента, getopts помещает этот аргумент" + +#~ msgid "getopts places that argument into the shell variable OPTARG." +#~ msgstr "в переменную оболочки OPTARG." + +#~ msgid "getopts reports errors in one of two ways. If the first character" +#~ msgstr "" +#~ "getopts сообщает об ошибках одним из двух способов. Если первый символ" + +#~ msgid "of OPTSTRING is a colon, getopts uses silent error reporting. In" +#~ msgstr "" +#~ "OPTSTRING -- двоеточие, getopts использует бесшумный способ. В этом" + +#~ msgid "this mode, no error messages are printed. If an illegal option is" +#~ msgstr "случае сообщения об ошибках не выводятся. Если найден недопустимый" + +#~ msgid "seen, getopts places the option character found into OPTARG. If a" +#~ msgstr "" +#~ "параметр, getopts помещает найденный символ в OPTARG. Если не найден" + +#~ msgid "required argument is not found, getopts places a ':' into NAME and" +#~ msgstr "требуемый аргумент, getopts помещает в ИМЯ ':', а в OPTARG --" + +#~ msgid "sets OPTARG to the option character found. If getopts is not in" +#~ msgstr "найденный символ. Если getopts работает не в бесшумном режиме" + +#~ msgid "silent mode, and an illegal option is seen, getopts places '?' into" +#~ msgstr "и обнаружен недопустимый параметр, getopts помещает в ИМЯ '?', и" + +#~ msgid "NAME and unsets OPTARG. If a required option is not found, a '?'" +#~ msgstr "сбрасывает OPTARG. Если не найден требуемый параметр, в ИМЯ" + +#~ msgid "is placed in NAME, OPTARG is unset, and a diagnostic message is" +#~ msgstr "помещается '?', OPTARG сбрасывается, и выводится диагностическое" + +#~ msgid "printed." +#~ msgstr "сообщение." + +#~ msgid "If the shell variable OPTERR has the value 0, getopts disables the" +#~ msgstr "Если переменная оболочки OPTERR имеет значение 0, getopts блокирует" + +#~ msgid "printing of error messages, even if the first character of" +#~ msgstr "вывод сообщений об ошибках, даже если первый символ OPTSTRING" + +#~ msgid "OPTSTRING is not a colon. OPTERR has the value 1 by default." +#~ msgstr "не двоеточие. По умолчанию OPTERR имеет значение 1." + +#~ msgid "Getopts normally parses the positional parameters ($0 - $9), but if" +#~ msgstr "Getopts обычно разбирает позиционные параметры ($0 - $9), но если" + +#~ msgid "more arguments are given, they are parsed instead." +#~ msgstr "заданы дополнительные аргументы, вместо этого разбираются они" + +#~ msgid "Exec FILE, replacing this shell with the specified program." +#~ msgstr "Запустить ФАЙЛ, замещая эту копию оболочки указанной программой." + +#~ msgid "If FILE is not specified, the redirections take effect in this" +#~ msgstr "Если ФАЙЛ не задан, могут быть переназначены файловые дескрипторы." + +#~ msgid "shell. If the first argument is `-l', then place a dash in the" +#~ msgstr "Если первый аргумент `-l', в начало нулевого аргумента, переданного" + +#~ msgid "zeroth arg passed to FILE, as login does. If the `-c' option" +#~ msgstr "ФАЙЛУ, добавляется `-', как при работе login. Если задан параметр" + +#~ msgid "is supplied, FILE is executed with a null environment. The `-a'" +#~ msgstr "`-c', ФАЙЛ выполняется в пустой среде. Параметр `-a' устанавливает" + +#~ msgid "option means to make set argv[0] of the executed process to NAME." +#~ msgstr "argv[0] запущенного процесса в ИМЯ." + +#~ msgid "If the file cannot be executed and the shell is not interactive," +#~ msgstr "Если файл не может быть запущен, а оболочка не интерактивна," + +#~ msgid "then the shell exits, unless the variable \"no_exit_on_failed_exec\"" +#~ msgstr "" +#~ "производится выход из оболочки, если только не установлена переменная" + +#~ msgid "is set." +#~ msgstr "\"no_exit_on_failed_exec\"" + +#~ msgid "is that of the last command executed." +#~ msgstr "завершения будет таким же, как у последней выполненной команды." + +#~ msgid "" +#~ "FIRST and LAST can be numbers specifying the range, or FIRST can be a" +#~ msgstr "" +#~ "ПЕРВАЯ и ПОСЛЕДНЯЯ могут быть числами, ограничивающими диапазон, или" + +#~ msgid "string, which means the most recent command beginning with that" +#~ msgstr "же ПЕРВАЯ может быть строкой, означающей самую недавнюю команду," + +#~ msgid "string." +#~ msgstr "начинающуюся с этой строки." + +#~ msgid "" +#~ " -e ENAME selects which editor to use. Default is FCEDIT, then EDITOR," +#~ msgstr "" +#~ " -e ИМЯ_РЕДАКТОРА выбирает используемый редактор. По умолчанию FCEDIT," + +#~ msgid "" +#~ " then the editor which corresponds to the current readline editing" +#~ msgstr " затем EDITOR, затем редактор, соответствуюший текущему режиму" + +#~ msgid " mode, then vi." +#~ msgstr " редактирования readline, затем vi." + +#~ msgid " -l means list lines instead of editing." +#~ msgstr " -l вывести, а не редактировать строки." + +#~ msgid " -n means no line numbers listed." +#~ msgstr " -n не выводить номера строк." + +#~ msgid "" +#~ " -r means reverse the order of the lines (making it newest listed " +#~ "first)." +#~ msgstr " -r вывести строки в обратном порядке (в начале самые новые)." + +#~ msgid "With the `fc -s [pat=rep ...] [command]' format, the command is" +#~ msgstr "" +#~ "В формате `fc -s [шаблон=замена] [команда] команда выполняется заново" + +#~ msgid "re-executed after the substitution OLD=NEW is performed." +#~ msgstr "после того, как произведена подстановка." + +#~ msgid "A useful alias to use with this is r='fc -s', so that typing `r cc'" +#~ msgstr "Полезная псевдокоманда -- r='fc -s', так `r cc' выполняет последнюю" + +#~ msgid "runs the last command beginning with `cc' and typing `r' re-executes" +#~ msgstr "команду, начинающуюся с `cc', а `r' заново выполняет последнюю" + +#~ msgid "Place JOB_SPEC in the foreground, and make it the current job. If" +#~ msgstr "" +#~ "Возвращает задачу с указанным номером из фонового режима и делает её" + +#~ msgid "JOB_SPEC is not present, the shell's notion of the current job is" +#~ msgstr "текущей задачей. Если номер не задан, используется представление" + +#~ msgid "used." +#~ msgstr "оболочки о текущей задаче." + +#~ msgid "Place JOB_SPEC in the background, as if it had been started with" +#~ msgstr "" +#~ "Переводит задачу с указанным номером в фоновый режим, как если бы она" + +#~ msgid "`&'. If JOB_SPEC is not present, the shell's notion of the current" +#~ msgstr "" +#~ "была запущена с `&'. Если номер не задан, используется представление" + +#~ msgid "job is used." +#~ msgstr "оболочки о текущей задаче." + +#~ msgid "For each NAME, the full pathname of the command is determined and" +#~ msgstr "Для каждого ИМЕНИ определяются и запоминаются полные пути команды." + +#~ msgid "remembered. If the -p option is supplied, PATHNAME is used as the" +#~ msgstr "Если задан параметр -p, в качестве пути используется заданный, а" + +#~ msgid "full pathname of NAME, and no path search is performed. The -r" +#~ msgstr "поиск не выполняется. Параметр -r заставляет оболочку очистить" + +#~ msgid "option causes the shell to forget all remembered locations. If no" +#~ msgstr "список положений в памяти. Если аргументы не заданы, выводится" + +#~ msgid "" +#~ "arguments are given, information about remembered commands is displayed." +#~ msgstr "информация о запомненных командах." + +#~ msgid "Display helpful information about builtin commands. If PATTERN is" +#~ msgstr "" +#~ "Вывести полезную информацию о встроенных командах. Если задан ШАБЛОН," + +#~ msgid "specified, gives detailed help on all commands matching PATTERN," +#~ msgstr "" +#~ "вывести подробную справку по всем командам, соответствующим ШАБЛОНУ," + +#~ msgid "otherwise a list of the builtins is printed." +#~ msgstr "в противном случае вывести список встроенных команд." + +#~ msgid "Display the history list with line numbers. Lines listed with" +#~ msgstr "Вывести историю команд в виде списка с номерами строк. Изменённые" + +#~ msgid "with a `*' have been modified. Argument of N says to list only" +#~ msgstr "" +#~ "строки помечаются символом `*'. Аргумент N указывает выводить только" + +#~ msgid "the last N lines. The -c option causes the history list to be" +#~ msgstr "последние N строк. Параметр -c очищает историю команд, удаляя" + +#~ msgid "" +#~ "cleared by deleting all of the entries. The `-w' option writes out the" +#~ msgstr "все строки. Параметр `-w' записывает текущую историю в указанный" + +#~ msgid "" +#~ "current history to the history file; `-r' means to read the file and" +#~ msgstr "файл; `-r' читает такой файл и дополняет его содержимым историю" + +#~ msgid "append the contents to the history list instead. `-a' means" +#~ msgstr "команд. `-a' добавляет историю этой сессии к файлу истории" + +#~ msgid "to append history lines from this session to the history file." +#~ msgstr "команд. Аргумент `-n' читает из файла истории все строки, не" + +#~ msgid "Argument `-n' means to read all history lines not already read" +#~ msgstr "прочитанные ранее, и добавляет их к истории. Если задан ФАЙЛ," + +#~ msgid "from the history file and append them to the history list. If" +#~ msgstr "в качестве файла истории команд используется он, иначе, если" + +#~ msgid "FILENAME is given, then that is used as the history file else" +#~ msgstr "переменной $HISTFILE присвоено значение, используется оно, иначе" + +#~ msgid "if $HISTFILE has a value, that is used, else ~/.bash_history." +#~ msgstr "используется ~/.bash_history. Если задан параметр -s, АРГУМЕНТЫ," + +#~ msgid "If the -s option is supplied, the non-option ARGs are appended to" +#~ msgstr "являющиеся параметрами, добавляются к истории как один элемент." + +#~ msgid "the history list as a single entry. The -p option means to perform" +#~ msgstr "Параметр -p выполняет развёртывание каждого АРГУМЕНТА и выводит" + +#~ msgid "" +#~ "history expansion on each ARG and display the result, without storing" +#~ msgstr "результат, не сохраняя ничего в списке истории команд." + +#~ msgid "anything in the history list." +#~ msgstr " " + +#~ msgid "Lists the active jobs. The -l option lists process id's in addition" +#~ msgstr "Выводит список активных задач. Параметр -l выводит, кроме того," + +#~ msgid "to the normal information; the -p option lists process id's only." +#~ msgstr "идентификаторы процессов: параметр -p выодит только идентификаторы." + +#~ msgid "" +#~ "If -n is given, only processes that have changed status since the last" +#~ msgstr "Если задано -n, выводятся только процессы, статус которых изменился" + +#~ msgid "" +#~ "notification are printed. JOBSPEC restricts output to that job. The" +#~ msgstr "" +#~ "со времени последнего уведомления. Если задан номер задачи, выводится" + +#~ msgid "-r and -s options restrict output to running and stopped jobs only," +#~ msgstr "только она. Параметры -r и -s выводит только работающие или только" + +#~ msgid "respectively. Without options, the status of all active jobs is" +#~ msgstr "" +#~ "остановленные задачи соответственно. Без параметров выодится статус" + +#~ msgid "" +#~ "printed. If -x is given, COMMAND is run after all job specifications" +#~ msgstr "" +#~ "всех активных задач. Если задано -x, в КОМАНДЕ вместо всех АРГУМЕНТОВ" + +#~ msgid "" +#~ "that appear in ARGS have been replaced with the process ID of that job's" +#~ msgstr "(номеров задач) подставляется идентификатор лидера соответствующей" + +#~ msgid "process group leader." +#~ msgstr "группы процессов, и КОМАНДА выполняется." + +#~ msgid "Removes each JOBSPEC argument from the table of active jobs." +#~ msgstr "" +#~ "Удаляет все задачи, заданные спецификациями в аргументе, из таблицы задач." + +#~ msgid "Send the processes named by PID (or JOB) the signal SIGSPEC. If" +#~ msgstr "" +#~ "Посылает указанным процессам (заданным PID или спецификацией) сигнал" + +#~ msgid "" +#~ "SIGSPEC is not present, then SIGTERM is assumed. An argument of `-l'" +#~ msgstr "SIGSPEC. Если отсутствует SIGSPEC, посылается SIGTERM. Аргументом" + +#~ msgid "lists the signal names; if arguments follow `-l' they are assumed to" +#~ msgstr "" +#~ "параметра `-l' служит список сигналов. Если он присутствует, выводятся" + +#~ msgid "be signal numbers for which names should be listed. Kill is a shell" +#~ msgstr "" +#~ "названия сигналов с этими номерами. Kill является встроенной командой" + +#~ msgid "builtin for two reasons: it allows job IDs to be used instead of" +#~ msgstr "оболочки по двум причинам: она позволяет использовать номера задач," + +#~ msgid "process IDs, and, if you have reached the limit on processes that" +#~ msgstr "а не процессов, и если вы исчерпаете лимит созданных процессов," + +#~ msgid "" +#~ "you can create, you don't have to start a process to kill another one." +#~ msgstr "вы не сможете запустить новый процесс, уничтожающий один из старых." + +#~ msgid "Each ARG is an arithmetic expression to be evaluated. Evaluation" +#~ msgstr "Каждый аргумент рассматривается как арифметическое выражение." + +#~ msgid "is done in long integers with no check for overflow, though division" +#~ msgstr "" +#~ "Вычисление производится над длинными целыми без контроля переполнения," + +#~ msgid "by 0 is trapped and flagged as an error. The following list of" +#~ msgstr "хотя деление на ноль отслеживается и считается ошибкой. Операции в" + +#~ msgid "operators is grouped into levels of equal-precedence operators." +#~ msgstr "следующем списке сгруппированы по уровням равного приоритета." + +#~ msgid "The levels are listed in order of decreasing precedence." +#~ msgstr "Уровни перечислены в порядке уменьшения приоритета." + +#~ msgid "\t-, +\t\tunary minus, plus" +#~ msgstr "\t-, +\t\tунарный минус, унарный плюс" + +#~ msgid "\t!, ~\t\tlogical and bitwise negation" +#~ msgstr "\t!, ~\t\tлогическое и побитовое отрицание" + +#~ msgid "\t*, /, %\t\tmultiplication, division, remainder" +#~ msgstr "\t*, /, %\t\tумножение, деление, взятие остатка" + +#~ msgid "\t+, -\t\taddition, subtraction" +#~ msgstr "\t+, -\t\tсложение, вычитание" + +#~ msgid "\t<<, >>\t\tleft and right bitwise shifts" +#~ msgstr "\t<<, >>\t\tлевый и правый побитовый сдвиг" + +#~ msgid "\t<=, >=, <, >\tcomparison" +#~ msgstr "\t<=, >=, <, >\tсравнение" + +#~ msgid "\t==, !=\t\tequality, inequality" +#~ msgstr "\t==, !=\t\tравенство, неравенство" + +#~ msgid "\t&\t\tbitwise AND" +#~ msgstr "\t&\t\tпобитовое И" + +#~ msgid "\t^\t\tbitwise XOR" +#~ msgstr "\t^\t\tпобитовое ИСКЛЮЧАЮЩЕЕ ИЛИ" + +#~ msgid "\t|\t\tbitwise OR" +#~ msgstr "\t|\t\tпобитовое ИЛИ" + +#~ msgid "\t&&\t\tlogical AND" +#~ msgstr "\t&&\t\tлогическое И" + +#~ msgid "\t||\t\tlogical OR" +#~ msgstr "\t||\t\tлогическое ИЛИ" + +#~ msgid "\texpr ? expr : expr" +#~ msgstr "\texpt ? expr : expr" + +#~ msgid "\t\t\tconditional expression" +#~ msgstr "\t\t\tусловное выражение" + +#~ msgid "\t=, *=, /=, %=," +#~ msgstr "\t=, *=, /=, %=," + +#~ msgid "\t+=, -=, <<=, >>=," +#~ msgstr "\t+=, -=, <<=, >>=," + +#~ msgid "\t&=, ^=, |=\tassignment" +#~ msgstr "\t&=, ^=, |=\tприсваивание" + +#~ msgid "is replaced by its value (coerced to a long integer) within" +#~ msgstr "переменной заменяется её значение (преобразованным в длинное" + +#~ msgid "an expression. The variable need not have its integer attribute" +#~ msgstr "целое). Для использования в выражении переменная не обязана иметь" + +#~ msgid "turned on to be used in an expression." +#~ msgstr "установленный целочисленный атрибут." + +#~ msgid "Operators are evaluated in order of precedence. Sub-expressions in" +#~ msgstr "Операции обрабатываются в порядке приоритета. Подвыражения в" + +#~ msgid "parentheses are evaluated first and may override the precedence" +#~ msgstr "скобках вычисляются вначале, что может не соответствовать правилам" + +#~ msgid "rules above." +#~ msgstr "приоритета." + +#~ msgid "If the last ARG evaluates to 0, let returns 1; 0 is returned" +#~ msgstr "Если вычисление последнего аргумента дало 0, let возвращает 1," + +#~ msgid "otherwise." +#~ msgstr "иначе 0." + +#~ msgid "One line is read from the standard input, and the first word is" +#~ msgstr "Со стандартного ввода считывается одна строка, первое её слово" + +#~ msgid "" +#~ "assigned to the first NAME, the second word to the second NAME, and so" +#~ msgstr "становится значением первого ИМЕНИ, второе -- второго ИМЕНИ и т.д." + +#~ msgid "" +#~ "on, with leftover words assigned to the last NAME. Only the characters" +#~ msgstr "" +#~ "Последнему ИМЕНИ присваивается весь остаток строки. Разделителями слов" + +#~ msgid "found in $IFS are recognized as word delimiters. The return code is" +#~ msgstr "считаются только символы, входящие в $IFS. Код возврата равен нулю," + +#~ msgid "" +#~ "zero, unless end-of-file is encountered. If no NAMEs are supplied, the" +#~ msgstr "за исключением случая, если встретился конец файла. Если ИМЕНА не" + +#~ msgid "" +#~ "line read is stored in the REPLY variable. If the -r option is given," +#~ msgstr "" +#~ "заданы, прочитанная строка помещается в переменную REPLY. Если задан" + +#~ msgid "this signifies `raw' input, and backslash escaping is disabled. If" +#~ msgstr "" +#~ "параметр -r, это означает `сырой' ввод, т.е. символ \\ не экранирует" + +#~ msgid "the `-p' option is supplied, the string supplied as an argument is" +#~ msgstr "" +#~ "символы. Если задано `-p', перед чтением на вывод в качестве аргумента" + +#~ msgid "" +#~ "output without a trailing newline before attempting to read. If -a is" +#~ msgstr "" +#~ "подаётся заданная строка (без завершающего символа перевода строки)." + +#~ msgid "" +#~ "supplied, the words read are assigned to sequential indices of ARRAY," +#~ msgstr "Если задано -a, прочитанные слова становятся значениями элементов" + +#~ msgid "starting at zero. If -e is supplied and the shell is interactive," +#~ msgstr "" +#~ "МАССИВА, начиная с нулевого. Если задано -c и оболочка интерактивна," + +#~ msgid "readline is used to obtain the line." +#~ msgstr "чтобы получить строку используется readline." + +#~ msgid "" +#~ "Causes a function to exit with the return value specified by N. If N" +#~ msgstr "Заставляет функцию завершить работу с кодом возврата, заданным N." + +#~ msgid "is omitted, the return status is that of the last command." +#~ msgstr "Если N опущено, им становится код возврата последней команды." + +#~ msgid " -a Mark variables which are modified or created for export." +#~ msgstr "" +#~ " -a Экспортировать переменные, которые изменялись или создавались." + +#~ msgid " -b Notify of job termination immediately." +#~ msgstr " -b Немедленно выводить сообщения о завершении задач." + +#~ msgid " -e Exit immediately if a command exits with a non-zero status." +#~ msgstr " -e Завершить работу, если команд возврата команды не равен 0." + +#~ msgid " -f Disable file name generation (globbing)." +#~ msgstr " -f Прекратить расширение имён файлов (globbing)." + +#~ msgid " -h Remember the location of commands as they are looked up." +#~ msgstr " -h Запоминать расположение обработанных команд." + +#~ msgid "" +#~ " -i Force the shell to be an \"interactive\" one. Interactive shells" +#~ msgstr " -i Сделать оболочку \"интерактивной\". Интерактивные оболочки" + +#~ msgid " always read `~/.bashrc' on startup." +#~ msgstr " читают `~/.bashrc' при каждом запуске." + +#~ msgid " -k All assignment arguments are placed in the environment for a" +#~ msgstr " -k В среду команды помещаются все аргументы присваивания," + +#~ msgid " command, not just those that precede the command name." +#~ msgstr " а не только предшествующие её имени." + +#~ msgid " -m Job control is enabled." +#~ msgstr " -m Включить управление задачами." + +#~ msgid " -n Read commands but do not execute them." +#~ msgstr " -n Считывать команды, но не выполнять их." + +#~ msgid " -o option-name" +#~ msgstr " -o имя_параметра" + +#~ msgid " Set the variable corresponding to option-name:" +#~ msgstr " Установить режим в соответствии с заданным именем:" + +#~ msgid " allexport same as -a" +#~ msgstr " allexport то же, что -a" + +#~ msgid " braceexpand same as -B" +#~ msgstr " braceexpand то же, что -B" + +#~ msgid " emacs use an emacs-style line editing interface" +#~ msgstr "" +#~ " emacs использовать стиль редактирования строк emacs" + +#~ msgid " errexit same as -e" +#~ msgstr " errexit то же, что -e" + +#~ msgid " hashall same as -h" +#~ msgstr " hashall то же, что -h" + +#~ msgid " histexpand same as -H" +#~ msgstr " histexpand то же, что -H" + +#~ msgid " ignoreeof the shell will not exit upon reading EOF" +#~ msgstr " ignoreeof при чтении EOF оболочка не завершит работу" + +#~ msgid " interactive-comments" +#~ msgstr " interactive-comments" + +#~ msgid "" +#~ " allow comments to appear in interactive commands" +#~ msgstr "" +#~ " допускает комментарии в интерактивных командах" + +#~ msgid " keyword same as -k" +#~ msgstr " keyword то же, что -k" + +#~ msgid " monitor same as -m" +#~ msgstr " monitor то же, что -m" + +#~ msgid " noclobber same as -C" +#~ msgstr " noclobber то же, что -C" + +#~ msgid " noexec same as -n" +#~ msgstr " noexec то же, что -n" + +#~ msgid " noglob same as -f" +#~ msgstr " noglob то же, что -f" + +#~ msgid " notify save as -b" +#~ msgstr " notify то же, что -b" + +#~ msgid " nounset same as -u" +#~ msgstr " nounset то же, что -u" + +#~ msgid " onecmd same as -t" +#~ msgstr " onecmd то же, что -t" + +#~ msgid " physical same as -P" +#~ msgstr " physical то же, что -P" + +#~ msgid "" +#~ " posix change the behavior of bash where the default" +#~ msgstr " posix привести поведение bash, по умолчанию не" + +#~ msgid "" +#~ " operation differs from the 1003.2 standard to" +#~ msgstr " соответствующее стандарту 1003.2, в" + +#~ msgid " match the standard" +#~ msgstr " соответствие с ним" + +#~ msgid " privileged same as -p" +#~ msgstr " privileged то же, что -p" + +#~ msgid " verbose same as -v" +#~ msgstr " verbose то же, что -v" + +#~ msgid " vi use a vi-style line editing interface" +#~ msgstr " vi использовать стиль редактирования строк vi" + +#~ msgid " xtrace same as -x" +#~ msgstr " xtrace то же, что -x" + +#~ msgid "" +#~ " -p Turned on whenever the real and effective user ids do not match." +#~ msgstr "" +#~ " -p Если реальный и эффективный uid не совпадают, включается всегда." + +#~ msgid " Disables processing of the $ENV file and importing of shell" +#~ msgstr " Отключает обработку файла $ENV и импорт функций оболочки." + +#~ msgid "" +#~ " functions. Turning this option off causes the effective uid and" +#~ msgstr "" +#~ " При выключении этого параметра эффективные uid и gid становятся" + +#~ msgid " gid to be set to the real uid and gid." +#~ msgstr " равными реальным." + +#~ msgid " -t Exit after reading and executing one command." +#~ msgstr " -t Завершить работу после чтения и выполнения одной команды." + +#~ msgid " -u Treat unset variables as an error when substituting." +#~ msgstr "" +#~ " -u При подстановке считать не установленные переменные ошибками." + +#~ msgid " -v Print shell input lines as they are read." +#~ msgstr " -v Выводить прочитанные строки входного текста оболочки." + +#~ msgid " -x Print commands and their arguments as they are executed." +#~ msgstr " -x Выводить по мере исполнения команд и их аргументы." + +#~ msgid " -B the shell will perform brace expansion" +#~ msgstr " -B оболочка будет производить подстановку скобок" + +#~ msgid " -H Enable ! style history substitution. This flag is on" +#~ msgstr " -H Включить !-стиль подстановки истории. Включено" + +#~ msgid " by default." +#~ msgstr " по умолчанию." + +#~ msgid " -C If set, disallow existing regular files to be overwritten" +#~ msgstr " -C Если установлен, запретить перезапись существующих" + +#~ msgid " by redirection of output." +#~ msgstr " обычных файлов при перенаправлении вывода." + +#~ msgid " -P If set, do not follow symbolic links when executing commands" +#~ msgstr "" +#~ " -P Не следовать символическим ссылкам при выполнении таких команд," + +#~ msgid " such as cd which change the current directory." +#~ msgstr " как cd, т.е. изменяющих текущий каталог." + +#~ msgid "Using + rather than - causes these flags to be turned off. The" +#~ msgstr "Использование + вместо - отключает флаг. Эти флаги могут также" + +#~ msgid "flags can also be used upon invocation of the shell. The current" +#~ msgstr "" +#~ "использоваться при запуске оболочки. Текущий набор флагов содержится" + +#~ msgid "" +#~ "set of flags may be found in $-. The remaining n ARGs are positional" +#~ msgstr "в $-. Остальные n аргументов -- позиционные параметры, и им, по" + +#~ msgid "parameters and are assigned, in order, to $1, $2, .. $n. If no" +#~ msgstr "порядку, присваиваются значения $1, $2, ..., $n. Если аргументы" + +#~ msgid "ARGs are given, all shell variables are printed." +#~ msgstr "не заданы, выводятся все переменные оболочки." + +#~ msgid "For each NAME, remove the corresponding variable or function. Given" +#~ msgstr "Для каждого ИМЕНИ удаляет соответствующую переменную или функцию." + +#~ msgid "the `-v', unset will only act on variables. Given the `-f' flag," +#~ msgstr "" +#~ "Если задано -v, unset влияет только на переменные, если -f -- только" + +#~ msgid "unset will only act on functions. With neither flag, unset first" +#~ msgstr "на функции. Без флагов unset в первую очередь пытается удалить" + +#~ msgid "tries to unset a variable, and if that fails, then tries to unset a" +#~ msgstr "переменную, если это не удаётся -- функцию. Некоторые переменные" + +#~ msgid "" +#~ "function. Some variables (such as PATH and IFS) cannot be unset; also" +#~ msgstr "(такие как PATH и IFS) не могут быть удалены. См." + +#~ msgid "see readonly." +#~ msgstr "также readonly." + +#~ msgid "NAMEs are marked for automatic export to the environment of" +#~ msgstr "ИМЕНА автоматически экспортируются в среду выполняемых" + +#~ msgid "subsequently executed commands. If the -f option is given," +#~ msgstr "впоследствии команд. Если задан параметр -f, ИМЕНА" + +#~ msgid "the NAMEs refer to functions. If no NAMEs are given, or if `-p'" +#~ msgstr "обозначают функции. Если ИМЕНа не заданы, или если задано -p," + +#~ msgid "is given, a list of all names that are exported in this shell is" +#~ msgstr "выводится список всех имён, экспортированных в эту оболочку." + +#~ msgid "printed. An argument of `-n' says to remove the export property" +#~ msgstr "Аргумент -n указывает убрать заданные имена из списка" + +#~ msgid "from subsequent NAMEs. An argument of `--' disables further option" +#~ msgstr "экспортируемых. Аргумент -- отключает дальнейшую обработку" + +#~ msgid "processing." +#~ msgstr "параметров." + +#~ msgid "" +#~ "The given NAMEs are marked readonly and the values of these NAMEs may" +#~ msgstr "" +#~ "Заданные ИМЕНА помечаются только для чтения, и значения этих ИМЁН не" + +#~ msgid "not be changed by subsequent assignment. If the -f option is given," +#~ msgstr "" +#~ "могут изменяться в последующих присваиваниях. Если задан параметр -f," + +#~ msgid "then functions corresponding to the NAMEs are so marked. If no" +#~ msgstr "так помечаются функции с соответствующими ИМЕНАМИ. Если аргументы" + +#~ msgid "" +#~ "arguments are given, or if `-p' is given, a list of all readonly names" +#~ msgstr "не заданы, или если задано `-p', выводится список имён только для" + +#~ msgid "" +#~ "is printed. An argument of `-n' says to remove the readonly property" +#~ msgstr "чтения. Аргумент `-n' указывает снять свойство `только для чтения'" + +#~ msgid "from subsequent NAMEs. The `-a' option means to treat each NAME as" +#~ msgstr "с указанных ИМЁН. Параметр `-a' заставляет рассматривать каждое ИМЯ" + +#~ msgid "an array variable. An argument of `--' disables further option" +#~ msgstr "как массив. Аргумент `--' прекращает дальнейшую обработку" + +#~ msgid "" +#~ "The positional parameters from $N+1 ... are renamed to $1 ... If N is" +#~ msgstr "" +#~ "Позиционные параметры начиная с $N+1 переобозначаются как $1,... Если" + +#~ msgid "not given, it is assumed to be 1." +#~ msgstr "N не задано, оно предполагается равным 1." + +#~ msgid "Read and execute commands from FILENAME and return. The pathnames" +#~ msgstr "Читает и выполняет команды из файла с заданным именем и завершает" + +#~ msgid "in $PATH are used to find the directory containing FILENAME." +#~ msgstr "работу. Файл ищется в каталогах, перечисленных в $PATH." + +#~ msgid "Suspend the execution of this shell until it receives a SIGCONT" +#~ msgstr "Приостанавливает работу оболочки до получения сигнала" + +#~ msgid "signal. The `-f' if specified says not to complain about this" +#~ msgstr "SIGCONT. `-f', если задан, указывает приостановить работу, даже" + +#~ msgid "being a login shell if it is; just suspend anyway." +#~ msgstr "если это оболочка сессии" + +#~ msgid "Exits with a status of 0 (trueness) or 1 (falseness) depending on" +#~ msgstr "Завершает работу со статусом 0 (истина) или 1 (ложь) в зависимости" + +#~ msgid "the evaluation of EXPR. Expressions may be unary or binary. Unary" +#~ msgstr "от значения ВЫРАЖЕНИЯ. Выражения могут быть унарными или бинарными." + +#~ msgid "expressions are often used to examine the status of a file. There" +#~ msgstr "Унарные выражения часто используются для проверки состояния файла." + +#~ msgid "are string operators as well, and numeric comparison operators." +#~ msgstr "Допустимы операции как строкового, так и численного сравнения." + +#~ msgid "File operators:" +#~ msgstr "Файловые операции:" + +#~ msgid " -b FILE True if file is block special." +#~ msgstr " -b ФАЙЛ Истина, если файл -- специальный блочный файл." + +#~ msgid " -c FILE True if file is character special." +#~ msgstr "" +#~ " -c ФАЙл Истина, если файл -- специальный символьный файл." + +#~ msgid " -d FILE True if file is a directory." +#~ msgstr " -d ФАЙЛ Истина, если файл -- каталог." + +#~ msgid " -e FILE True if file exists." +#~ msgstr " -e ФАЙЛ Истина, если файл существует." + +#~ msgid " -f FILE True if file exists and is a regular file." +#~ msgstr "" +#~ " -f ФАЙЛ Истина, если файл существует и является обычным файлом." + +#~ msgid " -g FILE True if file is set-group-id." +#~ msgstr " -g ФАЙЛ Истина, если у файла установлен атрибут SGID." + +#~ msgid " -h FILE True if file is a symbolic link. Use \"-L\"." +#~ msgstr "" +#~ " -h ФАЙЛ Истина, если файл -- символическая ссылка. Используйте " +#~ "\"-L\"." + +#~ msgid " -L FILE True if file is a symbolic link." +#~ msgstr " -L ФАЙЛ Истина, если файл -- символическая ссылка." + +#~ msgid " -k FILE True if file has its \"sticky\" bit set." +#~ msgstr "" +#~ " -k ФАЙЛ Истина, если у файла устанолвен \"бит привязчивости\"." + +#~ msgid " -p FILE True if file is a named pipe." +#~ msgstr " -p ФАЙЛ Истина, если файл -- именованный канал." + +#~ msgid " -r FILE True if file is readable by you." +#~ msgstr " -r ФАЙЛ Истина, если файл доступен вам для чтения." + +#~ msgid " -s FILE True if file exists and is not empty." +#~ msgstr " -s ФАЙЛ Истина, если файл существует и не пуст." + +#~ msgid " -S FILE True if file is a socket." +#~ msgstr " -S ФАЙЛ Истина, если файл -- сокет." + +#~ msgid " -t FD True if FD is opened on a terminal." +#~ msgstr "" +#~ " -t FD Истина, если файл с дескриптором FD связан с " +#~ "терминалом." + +#~ msgid " -u FILE True if the file is set-user-id." +#~ msgstr " -u ФАЙЛ Истина, если у файла установлен атрибут SUID." + +#~ msgid " -w FILE True if the file is writable by you." +#~ msgstr " -w ФАЙЛ Истина, если файл доступен вам для записи" + +#~ msgid " -x FILE True if the file is executable by you." +#~ msgstr " -x ФАЙЛ Истина, если файл доступен вам для выполнения." + +#~ msgid " -O FILE True if the file is effectively owned by you." +#~ msgstr " -O ФАЙЛ Истина, если вы -- эффективный владелец файла." + +#~ msgid "" +#~ " -G FILE True if the file is effectively owned by your group." +#~ msgstr "" +#~ " -G ФАЙЛ Истина, если ваша группа -- эффективная группа файла." + +#~ msgid " FILE1 -nt FILE2 True if file1 is newer than (according to" +#~ msgstr "" +#~ " ФАЙЛ1 -nt ФАЙЛ2 Истина, если файл1 более новый (по дате последнего" + +#~ msgid " modification date) file2." +#~ msgstr " изменения), чем файл2." + +#~ msgid " FILE1 -ot FILE2 True if file1 is older than file2." +#~ msgstr " ФАЙЛ1 -ot ФАЙЛ2 Истина, если файл1 более старый, чем файл2." + +#~ msgid " FILE1 -ef FILE2 True if file1 is a hard link to file2." +#~ msgstr " ФАЙЛ1 -ef ФАЙЛ2 Истина, если файл1 -- жёсткая ссылка на файл2." + +#~ msgid "String operators:" +#~ msgstr "Строковые операции:" + +#~ msgid " -z STRING True if string is empty." +#~ msgstr " -z СТРОКА Истина, если строка пуста." + +#~ msgid " -n STRING" +#~ msgstr " -n СТРОКА" + +#~ msgid " STRING True if string is not empty." +#~ msgstr " СТРОКА Истина, если стркоа не пуста." + +#~ msgid " STRING1 = STRING2" +#~ msgstr " СТРОКА1 = СТРОКА2" + +#~ msgid " True if the strings are equal." +#~ msgstr " Истина, если строки равны." + +#~ msgid " STRING1 != STRING2" +#~ msgstr " СТРОКА1 != СТРОКА2" + +#~ msgid " True if the strings are not equal." +#~ msgstr " Истина, если строки не равны." + +#~ msgid " STRING1 < STRING2" +#~ msgstr " СТРОКА1 < СТРОКА2" + +#~ msgid "" +#~ " True if STRING1 sorts before STRING2 lexicographically" +#~ msgstr "" +#~ " Истина, если СТРОКА1 лексикографически стоит раньше " +#~ "СТРОКИ2" + +#~ msgid " STRING1 > STRING2" +#~ msgstr " СТРОКА1 > СТРОКА2" + +#~ msgid "" +#~ " True if STRING1 sorts after STRING2 lexicographically" +#~ msgstr "" +#~ " Истина, если СТРОКА1 лексикографически стоит позже " +#~ "СТРОКИ2" + +#~ msgid "Other operators:" +#~ msgstr "Прочие операции:" + +#~ msgid " ! EXPR True if expr is false." +#~ msgstr " ! ВЫРАЖЕНИЕ Истина, если выражение ложно." + +#~ msgid " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true." +#~ msgstr " ВЫР1 -a ВЫР2 Истина, если истинны оба выражения." + +#~ msgid " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true." +#~ msgstr " ВЫР1 -o ВЫР2 Истина, если истинно хотя бы одно из выражений." + +#~ msgid " arg1 OP arg2 Arithmetic tests. OP is one of -eq, -ne," +#~ msgstr " арг1 ОП арг2 Арифметическая проверка. ОП -- один из -eq, -ne," + +#~ msgid " -lt, -le, -gt, or -ge." +#~ msgstr " -lt, -le, -gt или -ge." + +#~ msgid "Arithmetic binary operators return true if ARG1 is equal, not-equal," +#~ msgstr "" +#~ "Бинарные арифметические операции возвращают истину, если АРГ1 равен," + +#~ msgid "" +#~ "less-than, less-than-or-equal, greater-than, or greater-than-or-equal" +#~ msgstr "не равен, меньше, меньше или равен, больше или больше или равен" + +#~ msgid "than ARG2." +#~ msgstr "АРГ2." + +#~ msgid "This is a synonym for the \"test\" builtin, but the last" +#~ msgstr "Это синоним встроенной команды \"test\", но последним аргументом" + +#~ msgid "argument must be a literal `]', to match the opening `['." +#~ msgstr "должен быть литерал ']'. соответствующий открывающей `['." + +#~ msgid "Print the accumulated user and system times for processes run from" +#~ msgstr "Вывести пользовательское и системное время работы процессов," + +#~ msgid "the shell." +#~ msgstr "запущенных из оболочки." + +#~ msgid "The command ARG is to be read and executed when the shell receives" +#~ msgstr "" +#~ "Команда АРГ должна быть прочитана и выполнена при получении оболочкой" + +#~ msgid "signal(s) SIGNAL_SPEC. If ARG is absent all specified signals are" +#~ msgstr "" +#~ "указанного(ых) сигнала(ов). Если АРГ не задан, все указанные сигналы" + +#~ msgid "reset to their original values. If ARG is the null string each" +#~ msgstr "" +#~ "обрабатываются обработчиками по умолчанию. Если АРГ -- пустая строка," + +#~ msgid "SIGNAL_SPEC is ignored by the shell and by the commands it invokes." +#~ msgstr "" +#~ "все указанные сигналы будут игнорироваться оболочкой и вызываемыми ей" + +#~ msgid "If SIGNAL_SPEC is EXIT (0) the command ARG is executed on exit from" +#~ msgstr "командами. Если задан сигнал EXIT (0), команда АРГ выполняется при" + +#~ msgid "the shell. If SIGNAL_SPEC is DEBUG, ARG is executed after every" +#~ msgstr "" +#~ "выходе из оболочки, если DEBUG, АРГ выполняется при выполнении каждой" + +#~ msgid "command. If ARG is `-p' then the trap commands associated with" +#~ msgstr "команды. Если АРГ -- `-p', выводятся команды, связанные с заданными" + +#~ msgid "each SIGNAL_SPEC are displayed. If no arguments are supplied or if" +#~ msgstr "сигналами. Если аргументы не заданы или если задано только `-p'," + +#~ msgid "only `-p' is given, trap prints the list of commands associated with" +#~ msgstr "trap выводит список команд, связанных со всеми сигналами. Сигнал" + +#~ msgid "" +#~ "each signal number. SIGNAL_SPEC is either a signal name in " +#~ msgstr "задаётся либо своим именем в , либо номером. `trap -l'" + +#~ msgid "" +#~ "or a signal number. `trap -l' prints a list of signal names and their" +#~ msgstr "выводит список имён сигналов и соответствующих им номеров." + +#~ msgid "corresponding numbers. Note that a signal can be sent to the shell" +#~ msgstr "Заметьте, что оболочке можно послать сигнал командой" + +#~ msgid "with \"kill -signal $$\"." +#~ msgstr "\"kill -signal $$\"." + +#~ msgid "For each NAME, indicate how it would be interpreted if used as a" +#~ msgstr "Для каждого ИМЕНИ определяет, как оно будет обрабатываться" + +#~ msgid "If the -t option is used, returns a single word which is one of" +#~ msgstr "Если задан параметр -t, возвращает слово -- `alias', `keyword'," + +#~ msgid "" +#~ "`alias', `keyword', `function', `builtin', `file' or `', if NAME is an" +#~ msgstr "`function', `builtin', `file' или `' -- если, соответственно, ИМЯ" + +#~ msgid "" +#~ "alias, shell reserved word, shell function, shell builtin, disk file," +#~ msgstr "является псевдокомандой, зарезервированным словом, функцией, или" + +#~ msgid "or unfound, respectively." +#~ msgstr "встроенной командой оболочки, дисковым файлом или не найдено." + +#~ msgid "If the -p flag is used, either returns the name of the disk file" +#~ msgstr "" +#~ "При использовании флага -p либо возвращается имя выполняемого дискового " +#~ "файла," + +#~ msgid "that would be executed, or nothing if -t would not return `file'." +#~ msgstr "либо ничего, если -t вернуло бы значение, отличное от `file'" + +#~ msgid "If the -a flag is used, displays all of the places that contain an" +#~ msgstr "" +#~ "При использовании флага -a выводится расположение всех исполняемых файлов" + +#~ msgid "" +#~ "executable named `file'. This includes aliases and functions, if and" +#~ msgstr "" +#~ "с указанным именем. Если одновременно не используется флаг -p и только" + +#~ msgid "only if the -p flag is not also used." +#~ msgstr "тогда, выводятся также псевдокоманды и функции." + +#~ msgid "Type accepts -all, -path, and -type in place of -a, -p, and -t," +#~ msgstr "Вместо -a, -p и -t можно использовать, соответственно, -all," + +#~ msgid "respectively." +#~ msgstr "-path и -type." + +#~ msgid "Ulimit provides control over the resources available to processes" +#~ msgstr "ulimit позволяет управлять ресурсами, доступными запущенным" + +#~ msgid "started by the shell, on systems that allow such control. If an" +#~ msgstr "оболочкой процессам (на системах, допускающих такое управление)." + +#~ msgid "option is given, it is interpreted as follows:" +#~ msgstr "Параметры интерпретируются следующим образом:" + +#~ msgid " -S\tuse the `soft' resource limit" +#~ msgstr " -S\tиспользовать `мягкое' ограничение ресурсов" + +#~ msgid " -H\tuse the `hard' resource limit" +#~ msgstr " -H\tиспользовать `жёсткое' ограничение ресурсов" + +#~ msgid " -a\tall current limits are reported" +#~ msgstr " -a\tвывести информацию о всех текущих ограничениях" + +#~ msgid " -c\tthe maximum size of core files created" +#~ msgstr " -c\tмаксимальный размер создаваемых файлов слепков памяти" + +#~ msgid " -d\tthe maximum size of a process's data segment" +#~ msgstr " -d\tмаксимальный размер сегмента данных процесса" + +#~ msgid " -m\tthe maximum resident set size" +#~ msgstr " -m\tмаксимальный размер резидентной части процесса" + +#~ msgid " -s\tthe maximum stack size" +#~ msgstr " -s\tмаксимальный размер стека" + +#~ msgid " -t\tthe maximum amount of cpu time in seconds" +#~ msgstr " -t\tмаксимальное процессорное время (в секундах)" + +#~ msgid " -f\tthe maximum size of files created by the shell" +#~ msgstr " -f\tмаксимальный размер создаваемых оболочкой файлов" + +#~ msgid " -p\tthe pipe buffer size" +#~ msgstr " -p\tразмер буфера конвейера" + +#~ msgid " -n\tthe maximum number of open file descriptors" +#~ msgstr " -n\tмаксимальное количество открытых файловых дексрипторов" + +#~ msgid " -u\tthe maximum number of user processes" +#~ msgstr " -u\tмаксимальное число процессов одного пользователя" + +#~ msgid " -v\tthe size of virtual memory" +#~ msgstr " -v\tразмер виртуальной памяти" + +#~ msgid "If LIMIT is given, it is the new value of the specified resource." +#~ msgstr "" +#~ "Если задано ОГРАНИЧЕНИЕ, оно задёт новое значение для указанного ресурса." + +#~ msgid "Otherwise, the current value of the specified resource is printed." +#~ msgstr "" +#~ "В противном случае выводится текущее значение для указанного ресурса." + +#~ msgid "If no option is given, then -f is assumed. Values are in 1k" +#~ msgstr "Если параметры не заданы, предполагается, что задано -f. Значения" + +#~ msgid "increments, except for -t, which is in seconds, -p, which is in" +#~ msgstr "" +#~ "измеряются в КБ, кроме -t, измеряемого в секундах, -p, единица измерения" + +#~ msgid "increments of 512 bytes, and -u, which is an unscaled number of" +#~ msgstr "которого -- 512 байтов, и -u, задающего безразмерное число" + +#~ msgid "processes." +#~ msgstr "процессов." + +#~ msgid "" +#~ "The user file-creation mask is set to MODE. If MODE is omitted, or if" +#~ msgstr "" +#~ "Устанавливает маску создания пользователем файлов в РЕЖИМ. Если опущен" + +#~ msgid "" +#~ "`-S' is supplied, the current value of the mask is printed. The `-S'" +#~ msgstr "" +#~ "РЕЖИМ или задан параметр -S выводится текущее значение маски. Параметр" + +#~ msgid "" +#~ "option makes the output symbolic; otherwise an octal number is output." +#~ msgstr "-S делает вывод символическим, в противном случае используется" + +#~ msgid "If MODE begins with a digit, it is interpreted as an octal number," +#~ msgstr "" +#~ "восьмеричое число. Если РЕЖИм начинается с цифры, он интерпретируется" + +#~ msgid "" +#~ "otherwise it is a symbolic mode string like that accepted by chmod(1)." +#~ msgstr "" +#~ "как восьмеричное число, в противном случае как строка, принимаемая chmod" +#~ "(1)." + +#~ msgid "" +#~ "Wait for the specified process and report its termination status. If" +#~ msgstr "" +#~ "Подождать завершения указанного процесса и сообщить код завершения. Если" + +#~ msgid "N is not given, all currently active child processes are waited for," +#~ msgstr "" +#~ "N не задано, ожидается завершение работы всех активных дочерних процессов" + +#~ msgid "and the return code is zero. N may be a process ID or a job" +#~ msgstr "и код возврата равен 0. N может быть идентификатором процесса" + +#~ msgid "specification; if a job spec is given, all processes in the job's" +#~ msgstr "" +#~ "или спецификацией задачи, если задана спецификация задачи, ожидается" + +#~ msgid "pipeline are waited for." +#~ msgstr "завершение работы всех процессов конвейера задачи." + +#~ msgid "and the return code is zero. N is a process ID; if it is not given," +#~ msgstr "" +#~ "и код возврата равен 0. N -- идентификатор процесса, если он не задан," + +#~ msgid "all child processes of the shell are waited for." +#~ msgstr "ожидается завершение работы всех дочерних процессов оболочки." + +#~ msgid "The `for' loop executes a sequence of commands for each member in a" +#~ msgstr "Цикл `for' выполняет последовательность команд для каждого члена" + +#~ msgid "" +#~ "list of items. If `in WORDS ...;' is not present, then `in \"$@\"' is" +#~ msgstr "" +#~ "списка. Если отсутствует `in СЛОВА ...;', предполагается, что задано" + +#~ msgid "" +#~ "assumed. For each element in WORDS, NAME is set to that element, and" +#~ msgstr "`in \"$@\"'. Для каждого из СЛОВ ИМЕНИ присваивается его значение" + +#~ msgid "the COMMANDS are executed." +#~ msgstr "и затем выполняются КОМАНДЫ." + +#~ msgid "The WORDS are expanded, generating a list of words. The" +#~ msgstr "СЛОВА разворачиваются и образуют список слов. Полученный список" + +#~ msgid "set of expanded words is printed on the standard error, each" +#~ msgstr "" +#~ "выводится на стандартный поток ошибок, каждому приписывается спереди" + +#~ msgid "preceded by a number. If `in WORDS' is not present, `in \"$@\"'" +#~ msgstr "число. Если `in СЛОВА' отсутствует, предполагается заданным" + +#~ msgid "is assumed. The PS3 prompt is then displayed and a line read" +#~ msgstr "" +#~ "`in \"$@\"'. Затем выводится приглашение PS3 и со стандартного ввода" + +#~ msgid "from the standard input. If the line consists of the number" +#~ msgstr "считывается строка. Если строка состоит из числа, соответствующего" + +#~ msgid "corresponding to one of the displayed words, then NAME is set" +#~ msgstr "одному из выведенных слов, ИМЯ устанавливается равным этому" + +#~ msgid "to that word. If the line is empty, WORDS and the prompt are" +#~ msgstr "слову. Если строка пуста, слова и приглашение выводятся ещё раз." + +#~ msgid "redisplayed. If EOF is read, the command completes. Any other" +#~ msgstr "Если прочитан символ конца файла, выполнение команды завершается." + +#~ msgid "value read causes NAME to be set to null. The line read is saved" +#~ msgstr "любое другое значение устанавливает ИМЯ в NULL. Прочитанная строка" + +#~ msgid "in the variable REPLY. COMMANDS are executed after each selection" +#~ msgstr "сохраняется в переменной REPLY. После каждого выбора выполняются" + +#~ msgid "until a break or return command is executed." +#~ msgstr "" +#~ "КОМАНДЫ до тех пор, пока не будет выполнена команда break или return." + +#~ msgid "Selectively execute COMMANDS based upon WORD matching PATTERN. The" +#~ msgstr "" +#~ "Выполняет КОМАНДЫ в зависимости от того, какому ШАБЛОНУ соответствует" + +#~ msgid "`|' is used to separate multiple patterns." +#~ msgstr "" +#~ "СЛОВО. Для разделения нескольких допустимых шаблонов используется `|'." + +#~ msgid "" +#~ "The if COMMANDS are executed. If the exit status is zero, then the then" +#~ msgstr "" +#~ "Выполняются КОМАНДЫ, заданные в if. Если код возврата нулевой, выполняются" + +#~ msgid "" +#~ "COMMANDS are executed. Otherwise, each of the elif COMMANDS are executed" +#~ msgstr "КОМАНДЫ then, иначе по очереди выполняются КОМАНДЫ elif, и если код" + +#~ msgid "" +#~ "in turn, and if the exit status is zero, the corresponding then COMMANDS" +#~ msgstr "" +#~ "возврата нулевой, выполняются соответствующие КОМАНДЫ then и выполнение" + +#~ msgid "" +#~ "are executed and the if command completes. Otherwise, the else COMMANDS" +#~ msgstr "" +#~ "команды if завершается. В противном случае выполняются КОМАНДЫ else," + +#~ msgid "" +#~ "are executed, if present. The exit status is the exit status of the last" +#~ msgstr "если они присутствуют. Код возврата равен коду возврата последней" + +#~ msgid "command executed, or zero if no condition tested true." +#~ msgstr "" +#~ "выполненной команды, либо нулю, если ни одно условие не было истинным." + +#~ msgid "Expand and execute COMMANDS as long as the final command in the" +#~ msgstr "" +#~ "Разворачивает и выполняет КОМАНДЫ до тех пор, пока последняя команда" + +#~ msgid "`while' COMMANDS has an exit status of zero." +#~ msgstr "предложения `while' не завершит работу с нулевым кодом возврата." + +#~ msgid "`until' COMMANDS has an exit status which is not zero." +#~ msgstr "предложения `until' не завершит работу с ненулевым кодом возврата." + +#~ msgid "Create a simple command invoked by NAME which runs COMMANDS." +#~ msgstr "Создаёт простую команду, вызываемую по ИМЕНИ и выполняющую КОМАНДЫ." + +#~ msgid "Arguments on the command line along with NAME are passed to the" +#~ msgstr "Аргументы командной строки, переданные ИМЕНИ, передаются в функцию" + +#~ msgid "function as $0 .. $n." +#~ msgstr "как $0 .. $n." + +#~ msgid "Run a set of commands in a group. This is one way to redirect an" +#~ msgstr "Выполняет набор команд. Это один из способов осуществить" + +#~ msgid "entire set of commands." +#~ msgstr "перенаправление для целого набора команд." + +#~ msgid "This is similar to the `fg' command. Resume a stopped or background" +#~ msgstr "" +#~ "Похоже на команду `fg'. Продолжает выполнение остановленной или фоновой" + +#~ msgid "job. If you specifiy DIGITS, then that job is used. If you specify" +#~ msgstr "" +#~ "задачи. Если заданы ЦИФРЫ, использяется задача с этим номером, а если" + +#~ msgid "" +#~ "WORD, then the job whose name begins with WORD is used. Following the" +#~ msgstr "СЛОВО -- задача, имя которой начинается с этого слова. Завершение" + +#~ msgid "job specification with a `&' places the job in the background." +#~ msgstr "спецификации задачи символом & переводит задачу в фоновый режим." + +#~ msgid "BASH_VERSION The version numbers of this Bash." +#~ msgstr "BASH_VERSION Номер версии Bash." + +#~ msgid "CDPATH A colon separated list of directories to search" +#~ msgstr "CDPATH Разделённый запятыми список каталогов, где ищется" + +#~ msgid "\t\twhen the argument to `cd' is not found in the current" +#~ msgstr "\t\tаргумент команды `cd', если он не найден в текущем" + +#~ msgid "" +#~ "HISTFILE The name of the file where your command history is stored." +#~ msgstr "HISTFILE Имя файла, где сохраняется история команд." + +#~ msgid "HISTFILESIZE The maximum number of lines this file can contain." +#~ msgstr "HISTFILESIZE Максимальное число строк в этом файле." + +#~ msgid "HISTSIZE The maximum number of history lines that a running" +#~ msgstr "HISTSIZE Максимальное число строк истории команд, к которым" + +#~ msgid "\t\tshell can access." +#~ msgstr "\t\tимеет доступ оболочка." + +#~ msgid "HOME The complete pathname to your login directory." +#~ msgstr "HOME Полный путь к домашнему каталогу." + +#~ msgid "" +#~ "HOSTTYPE The type of CPU this version of Bash is running under." +#~ msgstr "" +#~ "HOSTTYPE Тип процессора, на котором работает эта версия Bash." + +#~ msgid "" +#~ "IGNOREEOF Controls the action of the shell on receipt of an EOF" +#~ msgstr "" +#~ "IGNOREEOF Управляет действиями, совершаемыми оболочкой при вводе" + +#~ msgid "\t\tcharacter as the sole input. If set, then the value" +#~ msgstr "\t\tсимвола конца файла. Если установлена, её значение -- число" + +#~ msgid "\t\tof it is the number of EOF characters that can be seen" +#~ msgstr "\t\tсимволов конца файла, которые могут быть встречены подряд," + +#~ msgid "\t\tin a row on an empty line before the shell will exit" +#~ msgstr "\t\tв пустой строке, после чего оболочка завершит работу" + +#~ msgid "\t\t(default 10). When unset, EOF signifies the end of input." +#~ msgstr "" +#~ "\t\t(по умолчанию 10). Если не установлена, EOF обозначает конец ввода." + +#~ msgid "MAILCHECK\tHow often, in seconds, Bash checks for new mail." +#~ msgstr "" +#~ "MAILCHECK\tКак часто, в секундах, Bash проверяет наличие новой почты." + +#~ msgid "MAILPATH\tA colon-separated list of filenames which Bash checks" +#~ msgstr "MAILPATH\tРазделённый запятыми список имён файлов, где Bash" + +#~ msgid "\t\tfor new mail." +#~ msgstr "\t\tпроверяет наличие новой почты." + +#~ msgid "OSTYPE\t\tThe version of Unix this version of Bash is running on." +#~ msgstr "OSTYPE\t\tВерсия Unix, под которой работает эта версия Bash." + +#~ msgid "PATH A colon-separated list of directories to search when" +#~ msgstr "PATH Разделённый запятыми список каталогов, где ищутся" + +#~ msgid "\t\tlooking for commands." +#~ msgstr "\t\tкоманды." + +#~ msgid "PROMPT_COMMAND A command to be executed before the printing of each" +#~ msgstr "PROMPT_COMMAND Команда, выполняемая перед выводом каждого" + +#~ msgid "\t\tprimary prompt." +#~ msgstr "\t\tпервичного приглашения." + +#~ msgid "PS1 The primary prompt string." +#~ msgstr "PS1 Строка первичного приглашения." + +#~ msgid "PS2 The secondary prompt string." +#~ msgstr "PS2 Строка вторичного приглашения." + +#~ msgid "TERM The name of the current terminal type." +#~ msgstr "TERM Имя типа текущего терминала." + +#~ msgid "auto_resume Non-null means a command word appearing on a line by" +#~ msgstr "" +#~ "auto_resume Ненулевые значения слов команд, встречающиеся в строке" + +#~ msgid "\t\titself is first looked for in the list of currently" +#~ msgstr "\t\tотдельно, сначала ищутся в списке остановленных" + +#~ msgid "\t\tstopped jobs. If found there, that job is foregrounded." +#~ msgstr "\t\tв данный момент задач. Если найдено, задача активируется." + +#~ msgid "\t\tA value of `exact' means that the command word must" +#~ msgstr "\t\t`exact' значит, что команда должна в точности" + +#~ msgid "\t\texactly match a command in the list of stopped jobs. A" +#~ msgstr "\t\tсоответствовать команде в списке остановленных задач." + +#~ msgid "\t\tvalue of `substring' means that the command word must" +#~ msgstr "\t\t`substring' значит, что команда должна быть подстрокой" + +#~ msgid "\t\tmatch a substring of the job. Any other value means that" +#~ msgstr "\t\tзадачи. Любые другие значения означают, что" + +#~ msgid "\t\tthe command must be a prefix of a stopped job." +#~ msgstr "\t\tкоманда должна быть префиксом остановленной задачи." + +#~ msgid "command_oriented_history" +#~ msgstr "command_oriented_history" + +#~ msgid "" +#~ " Non-null means to save multiple-line commands together on" +#~ msgstr "" +#~ " Ненулевое значение означает, что многострочные команды" + +#~ msgid " a single history line." +#~ msgstr " будут сохраняться в одной строке истории." + +#~ msgid "histchars Characters controlling history expansion and quick" +#~ msgstr "histchars Управляющие символы расширения истории и быстрой" + +#~ msgid "\t\tsubstitution. The first character is the history" +#~ msgstr "\t\tподстановки. Первый символ -- символ подстановки" + +#~ msgid "\t\tsubstitution character, usually `!'. The second is" +#~ msgstr "\t\tистории, обычно `!'. Второй -- символ `быстрой" + +#~ msgid "\t\tthe `quick substitution' character, usually `^'. The" +#~ msgstr "\t\tподстановки', обычно `^'. Третий -- символ `комментария" + +#~ msgid "\t\tthird is the `history comment' character, usually `#'." +#~ msgstr "\t\tистории', обычно `#'." + +#~ msgid "HISTCONTROL\tSet to a value of `ignorespace', it means don't enter" +#~ msgstr "HISTCONTROL\tЕсли равен `ignorespace', это означает, что строки," + +#~ msgid "\t\tlines which begin with a space or tab on the history" +#~ msgstr "\t\tначинающиеся с пробела или знака табуляции, не попадают" + +#~ msgid "\t\tlist. Set to a value of `ignoredups', it means don't" +#~ msgstr "\t\tв историю. `ignoredups' означает, что строки, сопадающие" + +#~ msgid "\t\tenter lines which match the last entered line. Set to" +#~ msgstr "\t\tс предыдущей, не попадают в историю. `ignoreboth' --" + +#~ msgid "\t\t`ignoreboth' means to combine the two options. Unset," +#~ msgstr "\t\tодновременное действие обоих параметров. Если не" + +#~ msgid "\t\tor set to any other value than those above means to save" +#~ msgstr "\t\tустановлено, или равно другому значению, то в историю" + +#~ msgid "\t\tall lines on the history list." +#~ msgstr "\t\tкоманд попадают все строки." + +#~ msgid "Adds a directory to the top of the directory stack, or rotates" +#~ msgstr "Помещает каталог на вершину стека каталогов или вращает" + +#~ msgid "the stack, making the new top of the stack the current working" +#~ msgstr "стек так, чтобы на вершине находился текущий каталог. Без" + +#~ msgid "directory. With no arguments, exchanges the top two directories." +#~ msgstr "аргументов меняет местами два верхних каталога." + +#~ msgid "+N\tRotates the stack so that the Nth directory (counting" +#~ msgstr "+N\tВращает стек так, чтобы N-й каталог (считая с левой стороны " + +#~ msgid "\tfrom the left of the list shown by `dirs') is at the top." +#~ msgstr "\tсписка, выводимого `dirs') оказался на вершине стека." + +#~ msgid "-N\tRotates the stack so that the Nth directory (counting" +#~ msgstr "-N\tВращает стек так, чтобы N-й каталог (считая с правой" + +#~ msgid "\tfrom the right) is at the top." +#~ msgstr "\tстороны) оказался на вершине стека." + +#~ msgid "-n\tsuppress the normal change of directory when adding directories" +#~ msgstr "-n\tподавляет обычную смену каталога при добавлении каталога" + +#~ msgid "\tto the stack, so only the stack is manipulated." +#~ msgstr "\tв стек, так что меняется только содержимое стека." + +#~ msgid "dir\tadds DIR to the directory stack at the top, making it the" +#~ msgstr "dir\tпомещает DIR на вершину стека и делает его новым" + +#~ msgid "You can see the directory stack with the `dirs' command." +#~ msgstr "Просматривать стек каталогов можно командой `dirs'." + +#~ msgid "Removes entries from the directory stack. With no arguments," +#~ msgstr "Удаляет значения из стека каталогов. Без аргументов" + +#~ msgid "removes the top directory from the stack, and cd's to the new" +#~ msgstr "удаляет из стека каталог на вершине и делает рабочим каталог," + +#~ msgid "+N\tremoves the Nth entry counting from the left of the list" +#~ msgstr "+N\tудаляет N-й каталог, считая с левой стороны списка," + +#~ msgid "\tshown by `dirs', starting with zero. For example: `popd +0'" +#~ msgstr "\tвыводимого `dirs', начиная с нуля. Например, `popd +0'" + +#~ msgid "\tremoves the first directory, `popd +1' the second." +#~ msgstr "\tудаляет первый каталог, `popd +1' -- второй." + +#~ msgid "-N\tremoves the Nth entry counting from the right of the list" +#~ msgstr "-N\tудаляет N-й каталог, считая с правой стороны списка," + +#~ msgid "\tshown by `dirs', starting with zero. For example: `popd -0'" +#~ msgstr "\tвыводимого `dirs', начиная с нуля. Например, `popd -0'" + +#~ msgid "\tremoves the last directory, `popd -1' the next to last." +#~ msgstr "\tудаляет последний каталог, `popd -1' -- предпоследний." + +#~ msgid "" +#~ "-n\tsuppress the normal change of directory when removing directories" +#~ msgstr "-n\tподавляет обычную смену каталога при удалении каталогов из" + +#~ msgid "\tfrom the stack, so only the stack is manipulated." +#~ msgstr "\tстека, так что меняется только содержимое стека." + +#~ msgid "Display the list of currently remembered directories. Directories" +#~ msgstr "Выводит список запомненных на данный момент каталогов. Каталоги" + +#~ msgid "find their way onto the list with the `pushd' command; you can get" +#~ msgstr "" +#~ "попадают в список при использовании команды `pushd', вы можете забрать" + +#~ msgid "back up through the list with the `popd' command." +#~ msgstr "их из списка командой `popd'." + +#~ msgid "" +#~ "The -l flag specifies that `dirs' should not print shorthand versions" +#~ msgstr "" +#~ "Флаг -l указывает, что `dirs' не должна выводит сокращённые варианты" + +#~ msgid "" +#~ "of directories which are relative to your home directory. This means" +#~ msgstr "каталогов, заданных относительно домашнего. Это означает, что" + +#~ msgid "that `~/bin' might be displayed as `/homes/bfox/bin'. The -v flag" +#~ msgstr "`~/bin' будет отображаться как `/homes/bfox/bin'. Флаг -v" + +#~ msgid "causes `dirs' to print the directory stack with one entry per line," +#~ msgstr "заставляет `dirs' выводить каталоги по одному в строке, предваряя" + +#~ msgid "" +#~ "prepending the directory name with its position in the stack. The -p" +#~ msgstr "" +#~ "имя каталога номером его позиции в стеке. Флаг -p делает то же самое," + +#~ msgid "flag does the same thing, but the stack position is not prepended." +#~ msgstr "но не добавляются номера позиций. Флаг -c очищает стек каталогов," + +#~ msgid "" +#~ "The -c flag clears the directory stack by deleting all of the elements." +#~ msgstr "удаляя все его элементы." + +#~ msgid "" +#~ "+N\tdisplays the Nth entry counting from the left of the list shown by" +#~ msgstr "+N\tвыводит N-й каталог, считая с левой стороны списка, выводимого" + +#~ msgid "\tdirs when invoked without options, starting with zero." +#~ msgstr "\tdirs при вызове без параметров, начиная с нуля." + +#~ msgid "" +#~ "-N\tdisplays the Nth entry counting from the right of the list shown by" +#~ msgstr "-N\tвыводит N-й каталог, считая с правой стороны списка, выводимого" + +#~ msgid "Toggle the values of variables controlling optional behavior." +#~ msgstr "Меняет значение переменных, управляющих поведением оболочки." + +#~ msgid "The -s flag means to enable (set) each OPTNAME; the -u flag" +#~ msgstr "Флаг -s означает включить (установить) каждое ИМЯ_ПАРАМЕТРА," + +#~ msgid "unsets each OPTNAME. The -q flag suppresses output; the exit" +#~ msgstr "флаг -u сбрасывает. Флаг -q подавляет вывод, установлен или" + +#~ msgid "status indicates whether each OPTNAME is set or unset. The -o" +#~ msgstr "сброшен параметр определяется по коду возврата. Параметр -o" + +#~ msgid "option restricts the OPTNAMEs to those defined for use with" +#~ msgstr "ограничивает работу параметрами, определёнными с помощью" + +#~ msgid "`set -o'. With no options, or with the -p option, a list of all" +#~ msgstr "`set -o'. Без параметров или при заданном параметре -p, выводится" + +#~ msgid "settable options is displayed, with an indication of whether or" +#~ msgstr "список всех установленных параметров и информация, установлены" + +#~ msgid "not each is set." +#~ msgstr "они или нет." diff --git a/po/sk.gmo b/po/sk.gmo index 626569e0e..366d2179b 100644 Binary files a/po/sk.gmo and b/po/sk.gmo differ diff --git a/po/sk.po b/po/sk.po index 09cda5f78..702e7a5f2 100644 --- a/po/sk.po +++ b/po/sk.po @@ -7,81 +7,87 @@ msgid "" msgstr "" "Project-Id-Version: bash 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2011-03-16 21:22+0100\n" "Last-Translator: Ivan Masár \n" "Language-Team: Slovak \n" -"Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: sk\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "chybný index poľa" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: nie je možné previesÅ¥ indexované pole na asociatívne" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: neplatný kľúč asociatívneho poľa" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: nie je možné priradiÅ¥ nenumerickému indexu" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: pri priraďovaní asociatívnemu poľu je potrebné použiÅ¥ index" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: nie je možné vytvoriÅ¥: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: nie je možné nájsÅ¥ klávesovú mapu pre príkaz" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: prvý znak (okrem bielych znakov) nie je „\"“" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "chýba zatvárajúca „%c“ v %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: chýba oddeľovač dvojbodka" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "„%s“: neplatný názov aliasu" @@ -90,45 +96,45 @@ msgstr "„%s“: neplatný názov aliasu" msgid "line editing not enabled" msgstr "úpravy riadka nie sú zapnuté" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "„%s“: neplatný názov klávesovej mapy" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: nie je možné prečítaÅ¥: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "„%s“: nie je možné zruÅ¡iÅ¥ väzbu (unbind)" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "„%s“: neznámy názov funkcie" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s nie je zviazaný (bind) s žiadnymi klávesmi.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s je možné vyvolaÅ¥ ako " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "počet cyklov" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "dáva zmysel iba v cykle „for“, „while“ alebo „until“" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -138,300 +144,329 @@ msgstr "" " \n" " Bez EXPR, vracia " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME nebola nastavená" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "príliÅ¡ veľa argumentov" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "na nový vrchol zásobníka." + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD nebola nastavená" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "riadok %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "upozornenie: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: použitie " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: voľba vyžaduje argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: vyžaduje sa numerický argument" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: nenájdené" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: neplatná voľba" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: neplatný názov voľby" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "„%s“: nie je platný identifikátor" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "neplatné osmičkové číslo" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "neplatné Å¡estnástkové číslo" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "neplatné číslo" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: neplatné určenie signálu" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "„%s“: nie je pid ani platný Å¡pecifikátor úlohy" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: premenná len na čítanie" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s je mimo rozsahu" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s mimo rozsahu" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: taká úloha neexistuje" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: riadenie úloh nedostupné" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "riadenie úloh nedostupné" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: obmedzené" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "obmedzené" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: nie je vstavaný príkaz (builtin) shellu" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "chyba zapisovania: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "chyba pri nastavovaní atribútov terminálu: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "chyba pri zisÅ¥ovaní atribútov terminálu: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: chyba pri zisÅ¥ovaní aktuálneho adresára: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: nejednoznačné určenie úlohy" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: neplatný názov akcie" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: chýba Å¡pecifikácia dokončovania" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "upozornenie: voľba -F nemusí fungovaÅ¥ tak ako očakávate" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "upozornenie: voľba -C nemusí fungovaÅ¥ tak ako očakávate" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "momentálne sa nevykonáva funkcia doplňovania" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "je možné použiÅ¥ iba vo funkcii" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, fuzzy, c-format +msgid "%s: circular name reference" +msgstr "%s: %s: neplatná hodnota popisovača trasovacieho súboru" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: %s: neplatná hodnota popisovača trasovacieho súboru" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "nie je možné použiÅ¥ „-f“ pre tvorbu funkcií" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: funkcia iba na čítanie" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: nie je možné takto robiÅ¥ deÅ¡trukciu premenných polí" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: nie je možné previesÅ¥ asociatívne pole na indexované" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dynamické načítavanie nie je dostupné" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "nie je možné otvoriÅ¥ zdieľaný objekt %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "nemožem nájsÅ¥ %s v zdieľanom objekte %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: nie je dynamicky načítané" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: nie je možné zmazaÅ¥: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: je adresár" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: nie je obyčajný súbor" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: súbor je príliÅ¡ veľký" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: nie je možné vykonaÅ¥ binárny súbor" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: nie je možné spustiÅ¥: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "odhlásenie\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "toto nie je login shell: použite „exit“" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Existujú zastavené úlohy.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Existujú bežiace úlohy.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "prákaz nenájdený" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "Å¡pecifikácia histórie" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: nie je možné otvoriÅ¥ odkladací súbor: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "aktuálny" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "úloha %d začala bez riadenia úloh" @@ -450,17 +485,17 @@ msgstr "%s: voľba vyžaduje argument -- %c\n" msgid "hashing disabled" msgstr "haÅ¡ovanie vypnuté" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: haÅ¡ovacia tabuľka je prázdna\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "použití\tpríkaz\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" @@ -468,7 +503,7 @@ msgstr[0] "Príkazy shellu zodpovedajúce kľúčovému slovu „" msgstr[1] "Príkazy shellu zodpovedajúce kľúčovým slovám „" msgstr[2] "Príkazy shellu zodpovedajúce kľúčovým slovám „" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -476,12 +511,12 @@ msgstr "" "pre „%s“ neboli nájdené zodpovedajúce témy pomocníka.\n" "Skúste „help help“ alebo „man -k %s“ alebo „info %s“." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: nie je možné otvoriÅ¥: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -502,15 +537,20 @@ msgstr "" "Hviezdička (*) vedľa názvu znamená, že príkaz je vypnutý.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "nie je možné použiÅ¥ viac ako jednu z volieb -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "poloha histórie" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: neplatný argument limitu" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: rozšírenie histórie zlyhalo" @@ -524,113 +564,113 @@ msgstr "%s: inlib zlyhalo" msgid "no other options allowed with `-x'" msgstr "iné voľby prípustné s „-x“" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argumenty musia byÅ¥ ID procesov alebo úloh" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Neznáma chyba" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "očakával sa výraz" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: nie je indexované pole" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: neplatná Å¡pecifikácia popisovača súboru" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: neplatný popisovač súboru: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: neplatný počet riadkov" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: neplatný začiatok poľa" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: neplatné kvantum spätného volania" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "názov prázdnej premennej poľa" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "vyžaduje sa podpora premennej poľa" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "„%s“: chýba formátovací znak" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "„%c“: neplatná Å¡pecifikácia formátu času" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "„%c“: neplatný formátovací znak" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "upozornenie: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "chýba hexadecimálna číslica v \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "chýba číslica Unicode pre \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "žiadny iný adresár" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: neplatný argument limitu" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "<žiadny aktuálny adresár>" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "zásobník adresárov je prázdny" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "index zásobníka adresárov" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -672,7 +712,7 @@ msgstr "" " -N\tzobrazuje N-tú položku počítajúc sprava zoznamu, ktorý zobrazuje\n" " \tdirs vyvolaný bez volieb, počínajúc nulou." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -716,7 +756,7 @@ msgstr "" " \n" " Zásobník adresárov môžete zobraziÅ¥ vstavaným príkazom „dirs“." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -755,145 +795,155 @@ msgstr "" " \n" " Zásobník adresárov môžete zobraziÅ¥ vstavaným príkazom „dirs“." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: neplatná Å¡pecifikácia expirácie (timeout)" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "chyba pri čítaní: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" "návrat („return“) je možné vykonaÅ¥ iba z funkcie alebo skriptu vyvolaného " "pomocou „source“" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "nie je možné zároveň zruÅ¡iÅ¥ funkciu a premennú" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: nie je možné zruÅ¡iÅ¥" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: nie je možné zruÅ¡iÅ¥: len na čítanie %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: nie je premenná poľa" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: nie je funkcia" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: nie je možné zruÅ¡iÅ¥" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "posun o" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "nie je možné zároveň nastaviÅ¥ aj zruÅ¡iÅ¥ voľby shellu" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: neplatný názov voľby shellu" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "vyžaduje sa argument názov súboru" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: súbor sa nepodarilo nájsÅ¥" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "nie je možné suspendovaÅ¥" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "nie je možné suspendovaÅ¥ login shell" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s má alias „%s“\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s je kľúčové slovo shellu\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s je funkcia\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s je vstavaný príkaz (builtin) shellu\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s je vstavaný príkaz (builtin) shellu\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s je %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s je haÅ¡ovaný (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: neplatný argument limitu" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "„%c“: chybný príkaz" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: nie je možné zistiÅ¥ limit: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "obmedzenie" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: nie je možné zmeniÅ¥ limit: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "osmičkové číslo" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "„%c“: neplatný operátor symbolického režimu" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "„%c“: neplatný znak symbolického režimu" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " riadok " @@ -907,82 +957,103 @@ msgstr "posledný príkaz: %s\n" msgid "Aborting..." msgstr "Ruší sa..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "chyba neznámeho príkazu" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "chybný typ príkazu" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "chybný konektor" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "chybný skok" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: neviazaná premenná" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\ačas vyprÅ¡al pri čakaní na vstup: automatické odhlásenie\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "nie je možné presmerovaÅ¥ Å¡tandardný vstup z /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: „%c“: neplatný formátovácí znak" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "chyba rúry" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: obmedzené: nie jemožné uviesÅ¥ „/“ v názvoch príkazov" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: príkaz nenájdený" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: chybný interpreter" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: nie je možné vykonaÅ¥ binárny súbor" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, fuzzy, c-format msgid "`%s': is a special builtin" msgstr "%s je vstavaný príkaz (builtin) shellu\n" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "nie je možné duplikovaÅ¥ fd %d na fd %d" @@ -1027,37 +1098,37 @@ msgstr "po pre-inkrementácii alebo pre-dekrementácii sa očakáva identifikát msgid "missing `)'" msgstr "chýba „)“" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "chyba syntaxe: očakáva sa operand" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "chyba syntaxe: neplatný aritmetický operátor" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (chybný token je „%s”)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "neplatný aritmetický základ" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "hodnota je ako základ príliÅ¡ veľká" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: chyba výrazu\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: nie je možné pristupovaÅ¥ k rodičovským adresárom" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "nie j emožné resetovaÅ¥ nodelay režim fd %d" @@ -1072,148 +1143,148 @@ msgstr "nie je možné alokovaÅ¥ nový popisovač súboru pre vstup bashu z fd % msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: bufer už existuje pre nový fd %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp rúra" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "pid %d získaný pomocou fork sa vyskytuje v bežiacej úlohe %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "mažem zastavenú úlohu %d so skupinou procesu %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: proces %5ld (%s) v the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) je stále označený ako živý" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: taký pid neexistuje" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signál %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Hotovo" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Zastavené" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Zastavené(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Beží" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Hotovo(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Ukončenie %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Neznámy stav" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(bol uložený výpis pamäte) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "setpgid detského procesu (%ld to %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld nie je dieÅ¥a tohto shellu" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Neexistuje záznam o procese %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: úloha %d je zastavená" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: úloha skončila" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: úloha %d už je v pozadí" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: zapína sa WNOHANG aby sme sa vyhli neurčitému blokovaniu" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: riadok %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (bol uložený výpis pamäte)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd teraz: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: funkcia getpgrp zlyhala" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: riadkový systém" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "nie je možné nastaviÅ¥ skupinu procesu terminálu (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "v tomto shelli nie je riadenie úloh" @@ -1267,17 +1338,17 @@ msgstr "realloc: bolo detekované podtečenie; mh_nbytes mimo rozsahu" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: veľkosti začiatočného a konečného bloku (chunk) sa líšia" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: alok. tabuľla je plná s FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p už je v tabuľke ako alokovaný?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p už je v tabuľke ako voľný?\n" @@ -1301,7 +1372,7 @@ msgstr "%s: neplatná služba" msgid "%s: bad network path specification" msgstr "%s: chybná Å¡pecifikácia sieÅ¥ovej cesty" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "sieÅ¥ové operácie nie sú podporované" @@ -1338,225 +1409,260 @@ msgstr "Máte novú poÅ¡tu v súbore $_" msgid "The mail in %s has been read\n" msgstr "PoÅ¡ta v súbore %s bola prečítaná\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "chyba syntaxe: vyžaduje sa aritmetický výraz" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "chyba syntaxe: neočakávaná „;“" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "chyba syntaxe: „((%s))“" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: chybný typ inÅ¡trukcie %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "" "here-document na riadku %d oddelený znakom konca riadku (očakávalo sa „%s”)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: inÅ¡trukcia presmerovania „%d“ mimo rozsahu" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "neočakávaný koniec súboru počas hľadania zodpovedajúceho „%c“" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "neočakávaný koniec súboru počas hľadania „]]“" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "chyba syntaxe v podmienečnom príkaze: neočakávaný token „%s“" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "chyba syntaxe v podmienečnom príkaze" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "neočakávaný token „%s“, očakávalo sa `)'" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "očakávalo sa `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "neočakávaný argument „%s“ podmienečného unárneho operátora" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "neočakávaný argument podmienečného unárneho operátora" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "neočakávaný token „%s“, očakáva sa podmienečný binárny operátor" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "očakáva sa podmienečný binárny operátor" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "neočakávaný argument „%s“ v podmienečnom binárnom operátore" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "neočakávaný argument v podmienečnom binárnom operátore" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "neočakávaný token „%c“ v podmienečnom príkaze" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "neočakávaný token „%s“ v podmienečnom príkaze" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "neočakávaný token %d v podmienečnom príkaze" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "chyba syntaxe neďaleko neočakávaného tokenu „%s“" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "chyba syntaxe neďaleko „%s“" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "chyba syntaxe: neočakávaný koniec súboru" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "chyba syntaxe" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Na opustenie shellu použite „%s“.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "neočakávaný koniec súboru počas hľadania zodpovedajúceho „)“" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "dokončovanie: funkcia „%s“ nebola nájdená" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: chybný konektor `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: neplatný popisovač súboru" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: ukazovateľ súboru je NULL" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: „%c“: neplatný formátovací znak" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "popisovač súboru mimo rozsahu" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: nejednoznačné presmerovanie" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: nie je možné prepísaÅ¥ existujúci súbor" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: ombedzené: nie je možné presmerovaÅ¥ výstup" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "nie je možné vytvoriÅ¥ odkladací súbor pre here-document: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: nie je možné priradiÅ¥ popisovač súboru premennej" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port nie je podporovaný bez podpory sietí" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "chyba presmerovania: nie je možné duplikovaÅ¥ fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "nenaÅ¡iel sa /tmp, vytvorte ho prosím!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp musí byÅ¥ platný názov adresára" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: neplatná voľba" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "nie j emožné resetovaÅ¥ nodelay režim fd %d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "nie j emožné resetovaÅ¥ nodelay režim fd %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: je adresár" + +#: shell.c:1777 msgid "I have no name!" msgstr "Nemám meno!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, verzia %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1565,43 +1671,53 @@ msgstr "" "Použitie:\t%s [GNU dlhá voľba] [voľba] ...\n" "\t%s [GNU dlhá voľba] [voľba] súbor-skriptu ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU dlhé voľby:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Voľby shellu:\n" -#: shell.c:1835 +#: shell.c:1938 #, fuzzy msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-irsD alebo -c príkaz alebo -O krátka_voľba\t\t(iba vyvolanie)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s alebo -o voľba\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Napísaním „%s -c \"help set\"“ získate viac informácií o voľbách shellu.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Napísaním „%s -c help“ získate viac informácií o vstavaných príkazoch " "(builtins) shellu.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Na ohlasovanie chýb použite príkaz „bashbug“.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: neplatná operácia" @@ -1775,77 +1891,92 @@ msgstr "Neznáme číslo signálu" msgid "Unknown Signal #%d" msgstr "Neznámy signál #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "chybná substitúcia: chýba „%s“ v %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: nie je možné priradiÅ¥ zoznam položke poľa" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "nie je možné vytvoriÅ¥ rúru pre substitúciu procesov" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "nie je možné vytvoriÅ¥ potomka pre substitúciu procesov" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "nie je možné otvoriÅ¥ pomenovanú rúru %s na čítanie" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "nie je možné otvoriÅ¥ pomenovanú rúru %s na zápis" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "nie je možné duplikovaÅ¥ pomenovanú rúru %s ako fd %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "chybná substitúcia: : v reÅ¥azci %s chýba uzatvárajúci „`”" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "nie je možné vytvoriÅ¥ rúru pre substitúciu príkazov" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "nie je možné vytvoriÅ¥ potomka pre substitúciu príkazov" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: nie je možné duplikovaÅ¥ rúru ako fd 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, fuzzy, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: %s: neplatná hodnota popisovača trasovacieho súboru" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: chybná substitúcia" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: neplatný počet riadkov" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "„%s“: neplatný názov aliasu" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parameter je null alebo nenastavený" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: výraz podreÅ¥azca < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: chybná substitúcia" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: nie je možné vykonaÅ¥ priradenie takýmto spôsobom" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1853,12 +1984,12 @@ msgstr "" "budúce verzie shellu budú vynucovaÅ¥ vyhodnocovanie ako aritmetickú " "substitúciu" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "chybná substitúcia: : v reÅ¥azci %s chýba uzatvárajúci „`”" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "bez zhody: %s" @@ -1872,123 +2003,123 @@ msgstr "očakával sa argument" msgid "%s: integer expression expected" msgstr "%s: očakával sa celočíselný výraz" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "očakávala sa „)“" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "očakávala sa „)“, bolo nájdené %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: očakával sa unárny operátor" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: očakával sa binárny operátor" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "chýba „]“" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "neplatné číslo signálu" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: chybná hodnota v trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" "run_pending_traps: obsluha signálu je SIG_DFL, znovu posielam %d (%s) sebe" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: chybný signál %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "chyba pri importe definície funkcie „%s“" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "úroveň shellu (%d) je príliÅ¡ vysoká, nastavujem späť na 1" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%s: %s: neplatná hodnota popisovača trasovacieho súboru" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: v aktuálnom rozsahu sa nenachádza kontext funkcie" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "%s: nie je možné priradiÅ¥ popisovač súboru premennej" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: %s: neplatná hodnota popisovača trasovacieho súboru" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: v aktuálnom rozsahu sa nenachádza kontext funkcie" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s má null exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "neplatný znak %d v exportstr %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "žiadne „=“ v exportstr %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: hlavička shell_variables nie je kontext funkcie" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: chýba kontext global_variables" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: hlavička shell_variables nie je dočasný rozsah prostredia" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: nemožno otvoriÅ¥ ako SÚBOR" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: neplatná hodnota popisovača trasovacieho súboru" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s je mimo rozsahu" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "Copyright (C) 2011 Free Software Foundation, Inc." #: version.c:47 version2.c:47 @@ -2016,11 +2147,6 @@ msgstr "" "Nie sú poskytované ŽIADNE ZÁRUKY v rozsahu aký povoľuje\n" "aplikovateľné právo.\n" -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright (C) 2011 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2041,15 +2167,15 @@ msgstr "%s: %s:%d: nie je možné alokovaÅ¥ %lu bajtov (%lu bajtov alokovaných) msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: nie je možné alokovaÅ¥ %lu bajtov" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [názov[=hodnota] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] názov [názov ...]" -#: builtins.c:51 +#: builtins.c:53 #, fuzzy msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" @@ -2059,114 +2185,103 @@ msgstr "" "postup_kláv] [-x postup_kláv:príkaz_shellu] [postup_kláv:funkcia_readline " "alebo príkaz-readline]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [vstavaná funcia shellu [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [výraz]" -#: builtins.c:64 +#: builtins.c:66 #, fuzzy msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]]] [adresár]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "pravda" - -#: builtins.c:72 -msgid "false" -msgstr "nepravda" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] command [arg ...]" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilrtux] [-p] [názov[=hodnota] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +#: builtins.c:80 +#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-aAfFgilrtux] [-p] name[=value] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [voľba] názov[=hodnota] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f názov_súboru] [názov ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts názov_reÅ¥azca_volieb [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a názov] [príkaz [argumenty ...]] [presmerovanie ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e enázov] [-lnr] [prvý] [posledný] alebo fc -s [vzor=opak] [príkaz]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [Å¡pec_úlohy]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [Å¡pec_úlohy ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p cesta] [-dt] [názov ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [vzor ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2174,15 +2289,16 @@ msgstr "" "history [-c] [-d ofset] [n] alebo history -anrw [názov_súboru] alebo history " "-ps arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [Å¡pec_úlohy ...] alebo jobs -x príkaz [argumenty]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [Å¡pec_úlohy ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2190,11 +2306,11 @@ msgstr "" "kill [-s Å¡pec_signálu | -n číslo_signálu | -Å¡pec_signálu] pid | " "Å¡pec_úlohy ... alebo kill -l [Å¡pec_signálu]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2202,103 +2318,99 @@ msgstr "" "read [-ers] [-a pole] [-d oddeľovač] [-i text] [-n nznakov] [-N nznakov] [-p " "výzva] [-t zdržadnie] [-u fd] [názov ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o názov_voľby] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [názov ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [názov[=hodnota] ...] alebo export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [názov[=hodnota] ...] alebo readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source názov_súboru [argumenty]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". názov_súboru [argumenty]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [výraz]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "-krát" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] Å¡pec_signálu ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] názov [názov ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "ulimit [-SHacdefilmnpqrstuvx] [obmedzenie]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [režim]" -#: builtins.c:175 +#: builtins.c:177 #, fuzzy msgid "wait [-n] [id ...]" msgstr "wait [id]" -#: builtins.c:179 +#: builtins.c:181 #, fuzzy msgid "wait [pid ...]" msgstr "wait [id]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NAME [in SLOVÁ ... ] ; do PRÍKAZY; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( výraz1; výraz2; výraz3 )); do PRÍKAZY; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NÁZOV [in SLOVÁ ... ;] do PRÍKAZY; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] rúra" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case SLOVO in [VZOR [| VZOR]...) PRÍKAZY ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2306,64 +2418,64 @@ msgstr "" "if PRÍKAZY; then PRÍKAZY; [ elif PRÍKAZY; then PRÍKAZY; ]... [ else " "PRÍKAZY; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while PRÍKAZY; do PRÍKAZY; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until PRÍKAZY; do PRÍKAZY; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NÁZOV] príkaz [presmerovania]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "" "function názov_funkcie { PRÍKAZY ; } alebo názov_funkcie () { PRÍKAZY ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ PRÍKAZY ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "Å¡pec_úlohy [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( výraz ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ výraz ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "premenné - Názvy a významy niektorých premenných shellu" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | adr]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [názov_voľby ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] formát [argumenty]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2373,28 +2485,30 @@ msgstr "" "[-W zoznam_slov] [-F funkcia] [-C príkaz] [-X vzor_filtra] [-P predpona] [-S " "prípona] [názov ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o voľba] [-A operácia] [-G glob_vzor] [-W " "zoznam_slov] [-F funkcia] [-C príkaz] [-X vzor_filtra] [-P predpona] [-S " "prípona] [slovo]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o voľba] [-DE] [názov ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" "mapfile [-n počet] [-O začiatok] [-s počet] [-t] [-u fd] [-C spätné_volanie] " "[-c kvantum] [pole]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2402,7 +2516,8 @@ msgstr "" "readarray [-n počet] [-O začiatok] [-s počet] [-t] [-u fd] [-C " "spätné_volanie] [-c kvantum] [pole]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2414,7 +2529,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2438,12 +2553,13 @@ msgstr "" " Vráti vždy pravdu ak nebol zadaný NÁZOV, pre ktorý nie je definovaný " "alias." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2455,7 +2571,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebol zadaný NÁZOV, pre ktorý nie je definovaný alias." -#: builtins.c:289 +#: builtins.c:291 #, fuzzy msgid "" "Set Readline key bindings and variables.\n" @@ -2490,7 +2606,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2534,7 +2651,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebola zadaná neplatná voľba a nevyskytla sa chyba." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2552,7 +2669,7 @@ msgstr "" " Návratová hodnota:\n" " Návratová hodnota je 0 ak N nie je väčšie alebo rovné 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2570,7 +2687,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak N nie je väčšie alebo rovné 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2596,7 +2713,7 @@ msgstr "" "je\n" " vstavaná funkcia shellu." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2623,7 +2740,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak shell nevykonáva funkciu shellu a EXPR nie je neplatný." -#: builtins.c:385 +#: builtins.c:387 #, fuzzy msgid "" "Change the shell working directory.\n" @@ -2647,16 +2764,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2697,13 +2814,14 @@ msgstr "" " Vráti 0 ak bol aktuálny adresár zmenený a ak sa pri použití voľby -P\n" " úspeÅ¡ne nastaví $PWD, inak nenulovú hodnotu." -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2725,7 +2843,7 @@ msgstr "" " Vracia 0 ak nie je zadaná neplatná voľba alebo nie je možné\n" " prečítaÅ¥ aktuálny adresár." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2741,7 +2859,7 @@ msgstr "" " Návratová hodnota:\n" " Vždy vráti pravda." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2753,7 +2871,7 @@ msgstr "" " Návratová hodnota:\n" " Vždy vráti 0." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2767,7 +2885,8 @@ msgstr "" " Návratová hodnota:\n" " Vždy vráti nepravda." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2777,10 +2896,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2800,7 +2919,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu PRÍKAZu alebo zlyhá ak nenájde PRÍKAZ." -#: builtins.c:487 +#: builtins.c:490 #, fuzzy msgid "" "Set variable values and attributes.\n" @@ -2811,9 +2930,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2874,17 +2993,18 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebola zadaná neplatná voľba a nevyskytla sa chyba." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "NastaviÅ¥ hodnoty a atribúty premenných.\n" " \n" " Zastaralé. Pozri „help declare“." -#: builtins.c:535 +#: builtins.c:538 #, fuzzy msgid "" "Define local variables.\n" @@ -2911,7 +3031,7 @@ msgstr "" " Vráti 0 ak nebola zadaná neplatná voľba, nevyskytla sa chyba a\n" " shell práve nevykonáva funkciu." -#: builtins.c:552 +#: builtins.c:555 #, fuzzy msgid "" "Write arguments to the standard output.\n" @@ -2938,9 +3058,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2973,7 +3093,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak sa nevyskytla sa chyba pri zápise." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2995,7 +3115,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak sa nevyskytla sa chyba pri zápise." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3049,7 +3169,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak NÁZOV nie je vstavaná funkcia shellu a nevyskytla sa chyba." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3068,7 +3188,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu príkazu alebo 0 ak je príkaz prázdny." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3144,7 +3264,8 @@ msgstr "" " Vráti 0 ak je voľba nájdená; zlyhá po dosiahnutí konca reÅ¥azca volieb\n" " alebo ak sa vyskytne chyba." -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -3155,8 +3276,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3184,7 +3305,7 @@ msgstr "" " Vráti 0 ak sa nestane, že PRÍKAZ nebol nájdený a nevyskytne sa chyba\n" " presmerovania." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3196,7 +3317,7 @@ msgstr "" " Ukončí shell s návratovou hodnotou N. Ak sa N vynechá, návratová\n" " hodnota sa nastaví podľa stavu posledného vykonaného príkazu." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3209,7 +3330,7 @@ msgstr "" " Ukončí login shell s návratovou hodnotou N. Vráti chybu ak nie je\n" " spustený v login shelli." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3265,7 +3386,7 @@ msgstr "" " Vráti 0 alebo stav vykonaného príkazu; nenulovú hodnotu ak sa vyskytne\n" " chyba." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3285,7 +3406,7 @@ msgstr "" " Stav príkazu umiestneného do popredia; nenulovú hodnotu ak sa vyskytne\n" " chyba." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3306,7 +3427,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nie je riadenie úloh vypnuté a nevyskytne sa chyba." -#: builtins.c:784 +#: builtins.c:787 #, fuzzy msgid "" "Remember or display program locations.\n" @@ -3316,15 +3437,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3354,7 +3475,8 @@ msgstr "" " Vráti 0 ak sa nestalo, že NÁZOV nebol nájdený a nebola zadaná\n" " neplatná voľba." -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3366,7 +3488,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3394,7 +3516,8 @@ msgstr "" " Vráti 0 ak sa nestalo, že VZOR nebol nájdený a nebola zadaná\n" " neplatná voľba." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3403,23 +3526,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3457,7 +3580,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebola zadaná neplatná voľba a nevyskytla sa chyba." -#: builtins.c:869 +#: builtins.c:872 #, fuzzy msgid "" "Display status of jobs.\n" @@ -3468,7 +3591,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3501,7 +3624,8 @@ msgstr "" " Vráti 0 ak nebola zadaná neplatná voľba a nevyskytla sa chyba.\n" " Ak je použitá voľba -x, vráti sa návratová hodnota PRÍKAZu." -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3511,7 +3635,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3531,7 +3655,8 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebola zadaná neplatná JOBSPEC." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3543,7 +3668,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3571,7 +3697,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebola zadaná neplatná voľba a nevyskytla sa chyba." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3656,7 +3782,7 @@ msgstr "" " Návratová hodnota:\n" " Ak sa posledný ARG vyhodnotí na 0, let vráti 1; 0 inak sa vráti 0." -#: builtins.c:983 +#: builtins.c:987 #, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" @@ -3678,27 +3804,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3750,7 +3877,7 @@ msgstr "" " Vráti 0 ak sa nenarazí pri čítaní nakoniec súboru, nevyprší čas na\n" " čítanie a ako argument -u nebol je zadaný neplatný popisovač." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3771,7 +3898,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti N alebo zlyhá ak shell nevykonáva funkciu či skript." -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3840,7 +3967,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3942,7 +4070,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebola zadaná neplatná voľba." -#: builtins.c:1126 +#: builtins.c:1132 #, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" @@ -3953,7 +4081,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3982,7 +4110,7 @@ msgstr "" " Vráti 0 ak sa nestalo, že je NÁZOV iba na čítanie a nebola zadaná\n" " neplatná voľba." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4017,7 +4145,7 @@ msgstr "" " Vráti 0 ak sa nestalo, že je NÁZOV neplatný a nebola zadaná\n" " neplatná voľba." -#: builtins.c:1167 +#: builtins.c:1173 #, fuzzy msgid "" "Mark shell variables as unchangeable.\n" @@ -4030,9 +4158,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4058,7 +4185,7 @@ msgstr "" " Vráti 0 ak sa nestalo, že je NÁZOV neplatný a nebola zadaná\n" " neplatná voľba." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4076,7 +4203,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak sa nestalo, že je N záporné alebo väčšie ako $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4100,7 +4227,7 @@ msgstr "" " Vráti návratovú hodnotu posledného príkazu v SÚBORe; zlyhá ak nie je\n" " možné SÚBOR načítaÅ¥." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4124,7 +4251,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak sa nestalo, že je vypnuté riadenie úloh a nevyskytla sa chyba." -#: builtins.c:1248 +#: builtins.c:1254 #, fuzzy msgid "" "Evaluate conditional expression.\n" @@ -4189,9 +4316,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4286,7 +4413,7 @@ msgstr "" " Vráti 0 ak VÝR vyhodnotí ako pravdivý; zlyhá ako sa VÝR vyhodnotí\n" " ako nepravdivý alebo je zadaný neplatný argument." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4298,7 +4425,7 @@ msgstr "" " Toto je synonymum vsatavanej funkcie „test“, ale posledný\n" " argument musí byÅ¥ literál „]“, ktorý uzatvára otvárajúcu „[“." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4317,7 +4444,7 @@ msgstr "" " Návratová hodnota:\n" " Vždy vráti 0." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4397,7 +4524,8 @@ msgstr "" " Vráti 0 ak sa nestalo, že je SIGSPEC neplatný a nebola zadaná\n" " neplatná voľba." -#: builtins.c:1386 +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -4406,18 +4534,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4452,7 +4580,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak boli nájdené vÅ¡etky NÁZVY; zlyhá ak nie." -#: builtins.c:1417 +#: builtins.c:1424 #, fuzzy msgid "" "Modify shell resource limits.\n" @@ -4471,6 +4599,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4482,7 +4611,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4540,7 +4670,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebola zadaná neplatná voľba a nevyskytla sa chyba." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4574,7 +4704,7 @@ msgstr "" " Vráti 0 ak sa nestalo, že je REŽIM neplatný a nebola zadaná\n" " neplatná voľba." -#: builtins.c:1485 +#: builtins.c:1494 #, fuzzy msgid "" "Wait for job completion and return exit status.\n" @@ -4606,7 +4736,7 @@ msgstr "" " Vráti stav ID; zlyhá ak je ID neplatný alebo bola zadaná\n" " neplatná voľba." -#: builtins.c:1506 +#: builtins.c:1515 #, fuzzy msgid "" "Wait for process completion and return exit status.\n" @@ -4632,7 +4762,7 @@ msgstr "" " Vráti stav ID; zlyhá ak je ID neplatný alebo bola zadaná neplatná\n" " voľba." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4654,7 +4784,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu posledného vykonaného príkazu." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4684,7 +4814,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu posledného vykonaného príkazu." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4719,7 +4849,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu posledného vykonaného príkazu." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4747,7 +4877,7 @@ msgstr "" " Návratová hodnota:\n" " Návratová hodnota je návratová hodnota RÚRY." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4765,7 +4895,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu posledného vykonaného príkazu." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4802,7 +4932,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu posledného vykonaného príkazu." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4820,7 +4950,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu posledného vykonaného príkazu." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4838,7 +4968,8 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu posledného vykonaného príkazu." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4848,7 +4979,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "VytvoriÅ¥ koproces s názvom NÁZOV.\n" " \n" @@ -4860,7 +4991,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu PRÍKAZu." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4885,7 +5016,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak sa nestalo, že je NÁZOV iba na čítanie." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4903,7 +5034,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu posledného vykonaného príkazu." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4927,7 +5058,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti návratovú hodnotu obnovenej úlohy." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4945,7 +5076,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 1 ak sa VÝRAZ vyhodnotí na 0; inak vráti 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -4993,7 +5124,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 alebo 1 v závislosti na hodnote VÝRAZu." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5097,7 +5228,8 @@ msgstr "" " HISTIGNORE\tBodkočiarkami oddelený zoznam vzoriek, ktoré\n" " \t\tsa používajú na rozhodovanie, či sa príkaz uloží do histórie.\n" -#: builtins.c:1794 +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -5107,19 +5239,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5153,7 +5285,8 @@ msgstr "" " Vráti 0 ak nebol zadaný neplatný argument a nevyskytla sa\n" " chyba pri zmene adresára." -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -5162,16 +5295,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5203,7 +5336,8 @@ msgstr "" " Vráti 0 ak nebol zadaný neplatný argument a nevyskytla sa\n" " chyba pri zmene adresára." -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -5214,19 +5348,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5254,7 +5388,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebol zadaný neplatný argument a nevyskytla sa chyba." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5292,7 +5426,7 @@ msgstr "" " Vráti 0 ak je OPTNAME zapnuté; zlyhá ak bola zadaná\n" " neplatná voľba alebo OPTNAME je vypnuté." -#: builtins.c:1908 +#: builtins.c:1919 #, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" @@ -5310,15 +5444,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5357,7 +5491,8 @@ msgstr "" " Vráti 0 ak nebola zadaná neplatná voľba a nevyskytla sa chyba pri\n" " zápise či priradení." -#: builtins.c:1942 +#: builtins.c:1953 +#, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5370,11 +5505,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5405,7 +5540,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebola zadaná neplatná voľba a nevyskytla sa chyba." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5425,7 +5560,7 @@ msgstr "" " Návratová hodnota:\n" " Vráti 0 ak nebola zadaná neplatná voľba a nevyskytla sa chyba." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5481,7 +5616,8 @@ msgstr "" " Vráti 0 ak nebola zadaná neplatná voľba a NÁZOV nemá definovanú\n" " Å¡pecifikáciu dopĺňania." -#: builtins.c:2015 +#: builtins.c:2026 +#, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5492,20 +5628,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5554,7 +5691,7 @@ msgstr "" " Vráti 0 ak nebola zadaná neplatná voľba a POLE nie je len na čítanie a\n" " nie je to indexované pole." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5564,6 +5701,26 @@ msgstr "" " \n" " Synonymum k „mapfile“." +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2011 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "pravda" + +#~ msgid "false" +#~ msgstr "nepravda" + +#~ msgid "times" +#~ msgstr "-krát" + +#, fuzzy +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Copyright (C) 2011 Free Software Foundation, Inc." + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Copyright (C) 2009 Free Software Foundation, Inc.\n" @@ -5727,9 +5884,6 @@ msgstr "" #~ msgid "removes the top directory from the stack, and cd's to the new" #~ msgstr "odstráni vrchný adresár zo zásobníka a zmení aktuálny adresár" -#~ msgid "top directory." -#~ msgstr "na nový vrchol zásobníka." - #~ msgid "+N removes the Nth entry counting from the left of the list" #~ msgstr "+N Odstráni N-túä položku (počítajúc zľava zoznamu," diff --git a/po/sl.gmo b/po/sl.gmo index 3613894b9..52935ec88 100644 Binary files a/po/sl.gmo and b/po/sl.gmo differ diff --git a/po/sl.po b/po/sl.po index 58e423649..9c23fad4f 100644 --- a/po/sl.po +++ b/po/sl.po @@ -9,82 +9,88 @@ msgid "" msgstr "" "Project-Id-Version: bash 4.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" "PO-Revision-Date: 2012-05-29 16:17+0100\n" "Last-Translator: Klemen KoÅ¡ir \n" "Language-Team: Slovenian \n" -"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: sl\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n" "%100==4 ? 3 : 0);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "slab podpis polja" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: ni mogoče pretvoriti zabeleženega polja v povezano polje" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: neveljaven ključ povezanega polja" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: ni mogoče dodeliti v ne-Å¡tevilčno kazalo" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: treba je uporabiti podpis pri dodeljevanju povezanega polja" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: ni mogoče ustvariti: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: ni mogoče najti tipkovne razvrstitve za ukaz" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: prvi znak brez presledka ni `\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "brez zaključka `%c' v %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: manjka ločilnik dvopičja" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "`%s': neveljaven vzdevek" @@ -93,45 +99,45 @@ msgstr "`%s': neveljaven vzdevek" msgid "line editing not enabled" msgstr "urejanje vrstic ni omogočeno" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "`%s': neveljavno ime tipkovne razvrstitve" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: ni mogoče brati: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "`%s': ni mogoče odvezati" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "`%s': neznano ime funkcije" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s ni vezan na nobeno tipko.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s se lahko pokliče s pomočjo " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "Å¡tevec zanke" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "smiselno samo v `for', `while', ali `until' zanki" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -141,300 +147,329 @@ msgstr "" " \n" " Brez EXPR vrne " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME ni nastavljen" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "preveč argumentov" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "ni druge mape" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD ni nastavljen" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "vrstica %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "opozorilo: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: uporaba: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: možnost zahteva argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: zahtevan je Å¡tevni argument" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: ni mogoče najti" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: neveljavna možnost" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: neveljavno ime možnosti" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': neveljavno določilo" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "neveljavno osmiÅ¡ko Å¡tevilo" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "neveljavno Å¡estnajstiÅ¡ko Å¡tevilo" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "neveljavno Å¡tevilo" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: neveljavno določilo signala" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "`%s': ni določilo opravila ali neveljavno določilo posla" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: spremenljivka le za branje" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s izven dosega" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s izven dosega" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: ni takÅ¡nega posla" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: ni nadzora posla" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "ni nadzora posla" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: omejeno" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "omejeno" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: ni vgrajena lupina" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "napaka med pisanjem: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "napaka med nastavljanjem atributov terminala: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "napaka med pridobivanjem atributov terminala: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: napaka med pridobivanjem trenutne mape: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: dvoumno določilo posla" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: neveljavno ime dejanja" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: ni določila dopolnjevanja" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "Opozorilo: možnost -F morda ne bo delovala po pričakovanjih" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "Opozorilo: možnost -C morda ne bo delovala po pričakovanjih" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "trenutno se ne izvaja funkcija dopolnjevanja" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "se lahko uporabi samo v funkciji" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, fuzzy, c-format +msgid "%s: circular name reference" +msgstr "%s: %s: neveljavna vrednost za opisnik sledenja datotek" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: %s: neveljavna vrednost za opisnik sledenja datotek" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "ni mogoče uporabiti `-f' za ustvarjanje funkcij" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: funkcija samo za branje" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: na ta način ni mogoče uničiti spremenljivk polja" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: ni mogoče pretvoriti povezanega polja v zabeleženo polje" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dinamično nalaganje ni na voljo" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "ni mogoče odpreti predmeta v souporabi %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "ni mogoče najti %s v predmetu v souporabi %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: ni dinamično naloženo" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: ni mogoče izbrisati: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: je mapa" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: ni običajna datoteka" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: datoteka je prevelika" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: ni mogoče izvesti binarne datoteke" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: ni mogoče izvesti: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "odjava\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "ni prijavna lupina: uporabite `exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Obstajajo ustavljeni posli.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Obstajajo posli, ki se izvajajo.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "najdenega ni nobenega ukaza" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "določilo zgodovine" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: ni mogoče odpreti začasne datoteke: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "trenutno" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "posel %d se je pričel brez nadzora" @@ -453,17 +488,17 @@ msgstr "%s: možnost zahteva argument -- %c\n" msgid "hashing disabled" msgstr "razprÅ¡itev je onemogočena" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: razprÅ¡itvena razpredelnica je prazna\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "zadetki\tukaz\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" @@ -472,20 +507,20 @@ msgstr[1] "Ključna beseda, ki se ujema z ukazi lupine `" msgstr[2] "Ključni besedi, ki se ujemata z ukazi lupine `" msgstr[3] "Ključne besede, ki se ujemajo z ukazi lupine `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -"nobena tema pomoči se ne ujema s `%s'. Poskusite `help help' ali `man -k " -"%s' ali `info %s'." +"nobena tema pomoči se ne ujema s `%s'. Poskusite `help help' ali `man -k %" +"s' ali `info %s'." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: ni mogoče odpreti: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -506,15 +541,20 @@ msgstr "" "Zvezdica (*) poleg imena pomeni, da je ukaz onemogočen.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "ni mogoče uporabiti več kot eno od -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "položaj zgodovine" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: neveljaven argument omejitve" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: razÅ¡iritev zgodovine je spodletela" @@ -528,113 +568,113 @@ msgstr "%s: inlib je spodletel" msgid "no other options allowed with `-x'" msgstr "druge možnosti niso dovoljene z `-x'" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argumenti morajo biti določila opravila ali posla" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Neznana napaka" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "izraz je bil pričakovan" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: ni zabeleženo polje" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: neveljavno določilo opisnika datoteke" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: neveljaven opisnik datoteke: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: neveljavno Å¡tetje vrstic" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: neveljaven izvor polja" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: neveljaven del povratnega klica" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "prazno ime spremenljivke polja" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "potrebna podpora spremenljivke polja" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "`%s': manjka znak oblike" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "`%c': neveljavno določilo vrste časa" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "`%c': neveljaven znak oblike" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "opozorilo: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "manjka Å¡estnajstiÅ¡ka Å¡tevka za \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "manjka Å¡tevka s podporo unicode za \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "ni druge mape" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, fuzzy, c-format msgid "%s: invalid argument" msgstr "%s: neveljaven argument omejitve" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "sklad mape je prazen" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "kazalo sklada mape" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -675,7 +715,7 @@ msgstr "" " -N\tPrikaže Nti vnos s Å¡tetjem z desne strani seznama, prikazan s\n" "\tpomočjo map, ko kličemo brez možnosti, začenÅ¡i z nič." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -721,7 +761,7 @@ msgstr "" " \n" " Ukaz lupine `dirs' prikaže sklad map." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -759,143 +799,153 @@ msgstr "" " \n" " Ukaz lupine `dirs' prikaže sklad map." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: neveljavno določilo časovne omejitve" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "napaka med branjem: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "`return' lahko vrne samo iz funkcije ali skripte z izvorno kodo" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "ni mogoče ponastaviti funkcije in spremenljivke hkrati" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: ni mogoče ponastaviti" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: ni mogoče ponastaviti: samo za branje %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: ni spremenljivka polja" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: ni funkcija" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: ni mogoče ponastaviti" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "Å¡tetje premika" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "ni mogoče nastaviti in ponastaviti možnosti lupine hkrati" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: neveljavno ime možnosti lupine" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "zahtevan je argument imena datoteke" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: datoteke ni mogoče najti" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "ni mogoče dati v pripravljenost" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "prijavne lupine ni mogoče dati v pripravljenost" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s je drugo ime za `%s'\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s je ključna beseda lupine\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s je funkcija\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s je vgrajena lupina\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s je vgrajena lupina\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s je %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s je razprÅ¡eno (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: neveljaven argument omejitve" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': slab ukaz" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: ni mogoče dobiti omejitve: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "omejitev" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: ni mogoče spremeniti omejitve: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "osmiÅ¡ko Å¡tevilo" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "`%c': neveljaven operator simbolnega načina" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "`%c': neveljaven znak simbolnega načina" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " vrstica " @@ -909,82 +959,103 @@ msgstr "zadnji ukaz: %s\n" msgid "Aborting..." msgstr "Prekinjanje ..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "neznana napaka ukaza" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "slaba vrsta ukaza" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "slab povezovalnik" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "slab skok" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: nedoločena spremenljivka" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\apotekla je časovna omejitev med čakanjem na vnos: samodejna odjava\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "ni mogoče preusmeriti običajnega vnosa iz /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: `%c': neveljaven znak oblike" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "napaka cevi" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: omejeno: ni mogoče določiti `/' v imenih ukaza" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: ukaza ni mogoče najti" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: slab tolmač" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, fuzzy, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: ni mogoče izvesti binarne datoteke" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, fuzzy, c-format msgid "`%s': is a special builtin" msgstr "%s je vgrajena lupina\n" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "ni mogoče podvajati fd %d v fd %d" @@ -1029,37 +1100,37 @@ msgstr "po predhodnem večanju ali manjÅ¡anju je pričakovano določilo" msgid "missing `)'" msgstr "manjka `)'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "skladenjska napaka: pričakovan operand" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "skladenjska napaka: neveljaven aritmetični operand" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (žeton napake je \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "neveljavna aritmetična zbirka" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "vrednost je prevelika za zbirko" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: napaka izraza\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: ni mogoče dostopati do nadrejenih map" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "ni mogoče ponastaviti načina brez zakasnitve za fd %d" @@ -1074,148 +1145,148 @@ msgstr "ni mogoče dodeliti opisnika novih map za vnos bash iz fd %d" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: medpomnilnik že obstaja za nov fd %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: cev pgrp" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "razvejen id opravila %d se pojavi v izvajajočem se poslu %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "brisanje ustavljenega posla %d s skupino opravila %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: opravilo %5ld (%s) v the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: id opravila %5ld (%s) je označen kot Å¡e živ" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: ni takÅ¡nega določila opravila" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Končano" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Zaustavljeno" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Zaustavljeno(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Se izvaja" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Končano(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Končaj %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Neznano stanje" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(izpis jedra) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "podrejeno opravilo setpgid (%ld v %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: opravilo z id %ld ni podrejeno opravilo te lupine" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: ni zapisov o opravilu %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: posel %d je zaustavljen" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: posel je uničen" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: posel %d se že izvaja v ozadju" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: vklop WNOHANG za preprečitev nedoločenosti bloka" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: vrstica %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (izpis jedra)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd zdaj: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp je spodletel" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: vrstična disciplina" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "ni mogoče nastaviti skupine opravil terminala (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "brez nadzora posla v tej lupini" @@ -1273,17 +1344,17 @@ msgstr "" "realloc: velikosti začetnih in končnih podatkovnih kosov \"chunk\" se " "razlikujejo" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: je dodelitvena razpredelnica polna z FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: je %p že v razpredelnici kot dodeljen?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: je %p že v razpredelnici kot prost?\n" @@ -1307,7 +1378,7 @@ msgstr "%s: neveljavna storitev" msgid "%s: bad network path specification" msgstr "%s: slabo določilo omrežne poti" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "omrežno opravilo ni podprto" @@ -1344,224 +1415,259 @@ msgstr "Imate novo poÅ¡to v $_" msgid "The mail in %s has been read\n" msgstr "PoÅ¡ta v %s je bila prebrana\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "skladenjska napaka: potreben je aritmetični izraz" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "skladenjska napaka: `;' nepričakovano" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "skladenjska napaka: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: slaba vrsta navodila %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "here-document v vrstici %d razmejen z end-of-file (želeno `%s')" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: navodilo preusmeritve `%d' je izven dosega" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "nepričakovan konec datoteke med iskanjem ujemanja z `%c'" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "nepričakovan konec datoteke med iskanjem ujemanja z `]]'" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "skladenjska napaka v pogojnem izrazu: nepričakovan žeton `%s'" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "skladenjska napaka v pogojnem izrazu" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "nepričakovan žeton `%s', pričakovan je bil `)'" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "pričakovan `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "nepričakovan argument `%s' do pogojnega enoslovnega operatorja" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "nepričakovan argument do pogojnega enoslovnega operatorja" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "nepričakovan žeton `%s', pričakovan je binarni pogojni operator" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "pričakovan je binarni pogojni operator" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "nepričakovan argument `%s' do pogojnega binarnega operatorja" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "nepričakovan argument do pogojnega binarnega operatorja" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "nepričakovan žeton `%c' v pogojnem ukazu" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "nepričakovan žeton `%s' v pogojnem ukazu" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "nepričakovan žeton %d v pogojnem ukazu" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "skladenjska napaka blizu nepričakovanega žetona `%s'" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "skladenjska napaka blizu `%s'" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "skladenjska napaka: nepričakovan konec datoteke" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "skladenjska napaka" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Uporabite \"%s\", če želite zapustiti lupino.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "nepričakovan konec datoteke med iskanjem ujemanja z `)'" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "končano: funkcije `%s' ni mogoče najti" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: slab povezovalnik `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: neveljaven opisnik datoteke" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: prazen kazalec datoteke NULL" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: `%c': neveljaven znak oblike" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "opisnik datoteke je izven dosega" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: dvoumna preusmeritev" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: ni mogoče prepisati obstoječe datoteke" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: omejitev: ni mogoče preusmeriti izhoda" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "ni mogoče ustvariti začasne datoteke za here-document: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: ni mogoče dodeliti fd spremenljivki" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port ni podprt brez omrežja" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "napaka preusmeritve: ni mogoče podvajati fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "ni mogoče najti /tmp, ustvarite ga!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp mora biti veljavno ime mape" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: neveljavna možnost" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "ni mogoče ponastaviti načina brez zakasnitve za fd %d" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "ni mogoče ponastaviti načina brez zakasnitve za fd %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: je mapa" + +#: shell.c:1777 msgid "I have no name!" msgstr "Ni imena!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, različica %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1570,40 +1676,50 @@ msgstr "" "Uporaba:\t%s [dolga možnost GNU] [možnost] ...\n" "\t%s [dolga možnost GNU] [možnost] skriptni dokument ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Dolge možnosti GNU:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Možnosti lupine:\n" -#: shell.c:1835 +#: shell.c:1938 #, fuzzy msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-irsD ali ukaz -c ali -O shopt_option\t\t(samo sklicevanje)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s ali možnost -o\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "VpiÅ¡ite `%s -c \"help set\"' za več podrobnosti o možnostih lupine.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "VpiÅ¡ite `%s -c help' za več podrobnosti o možnostih ukazov lupine.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Uporabite ukaz `bashbug' za poročanje hroščev.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: neveljavno opravilo" @@ -1777,89 +1893,104 @@ msgstr "Neznan signal #" msgid "Unknown Signal #%d" msgstr "Neznan signal #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "slaba zamenjava: ni zaključka `%s' v %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: ni mogoče dodeliti seznama članu polja" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "ni mogoče ustvariti pipe za zamenjavo opravila" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "ni mogoče ustvariti podrejenega opravila za zamenjavo opravila" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "ni mogoče odpreti imenovane cevi %s za branje" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "ni mogoče odpreti imenovane cevi %s za pisanje" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "ni mogoče podvajati imenovane cevi %s kot fd %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "slaba zamenjava: ni zaključka \"`\" v %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "ni mogoče ustvariti cevi za zamenjavo ukaza" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "ni mogoče ustvariti podrejenega opravila za zamenjavo ukaza" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: ni mogoče podvajati cevi kot fd 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, fuzzy, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: %s: neveljavna vrednost za opisnik sledenja datotek" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: slaba zamenjava" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: neveljavno Å¡tetje vrstic" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "`%s': neveljaven vzdevek" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parameter je prazen ali pa ni določen" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: izraz podniza < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: slaba zamenjava" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: ni mogoče dodeliti na tak način" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" "prihodnje različice lupine bodo prisilile ocenitev kot aritmetično zamenjavo" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "slaba zamenjava: ni zaključka \"`\" v %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "ni ujemanja: %s" @@ -1873,123 +2004,123 @@ msgstr "pričakovan je argument" msgid "%s: integer expression expected" msgstr "%s: pričakovan je izraz celega Å¡tevila" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "pričakovan je `)'" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "pričakovan je `)', najden je %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: pričakuje se enosnoven operator" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: pričakuje se binarni operator" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "manjka `]'" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "neveljavna Å¡tevka signala" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: slaba vrednost v trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" "run_pending_traps: ročnik signala je SIG_DFL, ponovno poÅ¡iljanje %d (%s) sebi" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: slab signal %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "napaka med uvozom določila funkcije `%s'" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "raven lupine (%d) je previsoka, ponastavljanje na 1" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%s: %s: neveljavna vrednost za opisnik sledenja datotek" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: v trenutnem dosegu ni vsebine funkcije" -#: variables.c:2247 +#: variables.c:2432 #, fuzzy, c-format msgid "%s: variable may not be assigned value" msgstr "%s: ni mogoče dodeliti fd spremenljivki" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: %s: neveljavna vrednost za opisnik sledenja datotek" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: v trenutnem dosegu ni vsebine funkcije" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s ima prazen exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "neveljaven znak %d v exportstr za %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "ni `=' v exportstr za %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: glava shell_variables ni vsebina funkcije" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: ni vsebine global_variables" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: glava shell_variables ni trenuten obseg okolja" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: ni mogoče odpreti kot DATOTEKO" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: neveljavna vrednost za opisnik sledenja datotek" -#: variables.c:5307 +#: variables.c:5669 #, fuzzy, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s izven dosega" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." msgstr "Avtorske pravice (C) 2011 Free Software Foundation, Inc." #: version.c:47 version2.c:47 @@ -2015,11 +2146,6 @@ msgstr "To je prosta programska oprema; lahko jo spreminjate in razÅ¡irjate.\n" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Je BREZ KAKRÅ NEKOLI GARANCIJE, v obsegu, ki ga dovoljuje zakonodaja.\n" -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Avtorske pravice (C) 2011 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2040,15 +2166,15 @@ msgstr "%s: %s:%d: ni mogoče dodeliti %lu bajtov (%lu bajtov dodeljenih)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: ni mogoče dodeliti %lu bajtov" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [ime[=vrednost] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] ime [ime ...]" -#: builtins.c:51 +#: builtins.c:53 #, fuzzy msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" @@ -2058,115 +2184,104 @@ msgstr "" "tipk_zaporedje] [-x tipk_zaporedje:ukaz_lupine] [tipk_zaporedje:" "funkcija_brane_vrstice ali ukaz_brane_vrstice]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [vgrajena_lupina [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [izraz]" -#: builtins.c:64 +#: builtins.c:66 #, fuzzy msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]]] [mapa]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "prav" - -#: builtins.c:72 -msgid "false" -msgstr "napak" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "ukaz [-pVv] ukaz [arg ...]" -#: builtins.c:76 +#: builtins.c:78 #, fuzzy msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilrtux] [-p] [ime[=vrednost] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +#: builtins.c:80 +#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-aAfFgilrtux] [-p] ime[=vrednost] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [možnost] ime[=vrednost] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f ime_datoteke] [ime ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts niz_možnosti ime[arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a ime] [ukaz [argumenti ...]] [preusmeritev ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e ime_urejevalnika] [-lnr] [prvi] [zadnji] ali fc -s [vzorec=zamenjava] " "[ukaz]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [določilo_posla]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [določilo_posla ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p ime_poti] [-dt] [ime ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [vzorec ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2174,15 +2289,16 @@ msgstr "" "history [-c] [-d odmik] [n] ali history -anrw [ime_datoteke] ali history -ps " "arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [določilo_posla ...] ali jobs -x ukaz [argumenti]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [določilo_posla ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2190,11 +2306,11 @@ msgstr "" "kill [-s določilo_signala | -n Å¡t_signala | -določilo_signala] pid | " "določilo_posla ... ali kill -l [določilo_signala]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2202,166 +2318,162 @@ msgstr "" "read [-ers] [-a polje] [-d razmejilnik] [-i besedilo] [-n n-znakov] [-N n-" "znakov] [-p poziv] [-t časovna_omejitev] [-u fd] [ime ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o ime_možnosti] [--] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 #, fuzzy msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [ime ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [ime[=vrednost] ...] ali export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [ime[=vrednost] ...] ali readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source ime_datoteke [argumenti]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". ime_datoteke [argumenti]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [izraz]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "krat" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] določilo_signala ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] ime [ime ...]" -#: builtins.c:169 +#: builtins.c:171 #, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "ulimit [-SHacdefilmnpqrstuvx] [meja]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [način]" -#: builtins.c:175 +#: builtins.c:177 #, fuzzy msgid "wait [-n] [id ...]" msgstr "wait [id]" -#: builtins.c:179 +#: builtins.c:181 #, fuzzy msgid "wait [pid ...]" msgstr "wait [id_opravila]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for IME [in IMENA ... ] ; do UKAZI; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( izraz1; izraz2; izraz3 )); do UKAZI; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select IME [in IMENA ... ;] do UKAZI; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] cevovod" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case IME in [VZOREC [| VZOREC]...) UKAZI ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" msgstr "" "if UKAZI; then UKAZI; [ elif UKAZI; then UKAZI; ]... [ else UKAZI; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while UKAZI; do UKAZI; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until UKAZI; do UKAZI; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [IME] ukaz [preusmeritve]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function ime { UKAZI ; } ali ime () { UKAZI ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ UKAZI ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "določilo_posla [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( izraz ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ izraz ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "spremenljivke - Imena in pomeni nekaterih spremenljivk lupine" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | mapa]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [ime_možnosti ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v spremenljivka] oblika [argumenti]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2371,28 +2483,30 @@ msgstr "" "krajevni_vzorec] [-W seznam_besed] [-F funkcija] [-C ukaz] [-X " "filtrirni_vzorec] [-P predpona] [-S pripona] [ime ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o možnost] [-A dejanje] [-G krajevni_vzorec] [-W " "seznam_besed] [-F funkcija] [-C ukaz] [-X filtrirni_vzorec] [-P predpona] [-" "S pripona] [beseda]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o možnost] [-DE] [ime ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" "mapfile [-n Å¡tevec] [-O izvor] [-s Å¡tevec] [-t] [-u fd] [-C povratni_klic] [-" "c del] [polje]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2400,7 +2514,8 @@ msgstr "" "readarray [-n Å¡tevec] [-O izvor] [-s Å¡tevec] [-t] [-u fd] [-C povratni_klic] " "[-c del] [polje]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2412,7 +2527,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2436,12 +2551,13 @@ msgstr "" " vzdevek vrne pravilno, razen če je predloženo IME, za katero ni\n" " bil določen noben vzdevek." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2452,7 +2568,7 @@ msgstr "" " \n" " Vrne pravilno, razen če IME ni obstoječ vzdevek." -#: builtins.c:289 +#: builtins.c:291 #, fuzzy msgid "" "Set Readline key bindings and variables.\n" @@ -2487,7 +2603,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2532,7 +2649,7 @@ msgstr "" " Status končanja:\n" " bind vrne 0, razen, če je dana neprepoznana možnost ali se pojavi napaka." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2550,7 +2667,7 @@ msgstr "" " Stanje končanja:\n" " Stanje končanja je 0, razen če N ni večji kot ali enak 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2568,7 +2685,7 @@ msgstr "" " Stanje končanja:\n" " Stanje končanja je 0, razen če N ni večji kot ali enak 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2592,7 +2709,7 @@ msgstr "" " Vrne stanje končanja VGRAJENE_LUPINE ali napak, če VGRAJENA_LUPINA\n" " ni vgrajena lupina .." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2620,7 +2737,7 @@ msgstr "" " Vrne 0, razen če lupina ne izvrÅ¡uje funkcije lupine ali pa IZRAZ\n" " ni veljaven." -#: builtins.c:385 +#: builtins.c:387 #, fuzzy msgid "" "Change the shell working directory.\n" @@ -2644,16 +2761,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2693,13 +2810,14 @@ msgstr "" " Vrne 0, če je mapa spremenjena in če je $PWD uspeÅ¡no nastavljen, kadar\n" " je uporabljena možnost -P; drugače je ne-ničelna vrednost" -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2721,7 +2839,7 @@ msgstr "" " Vrne 0, razen če je dana neveljavna možnost ali pa trenutne mape\n" " ni mogoče prebrati." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2737,7 +2855,7 @@ msgstr "" " Stanje končanja:\n" " Vedno uspeÅ¡no." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2749,7 +2867,7 @@ msgstr "" " Stanje končanja:\n" " Vedno uspeÅ¡no." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2761,7 +2879,8 @@ msgstr "" " Stanje končanja:\n" " Vedno neuspeÅ¡no." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2771,10 +2890,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2794,7 +2913,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje končanja UKAZA ali neuspeÅ¡no, če UKAZA ni mogoče najti." -#: builtins.c:487 +#: builtins.c:490 #, fuzzy msgid "" "Set variable values and attributes.\n" @@ -2805,9 +2924,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2870,17 +2989,18 @@ msgstr "" " Vrne uspeÅ¡no, razen če je predložena neveljavna možnost ali pride\n" " do napake." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Nastavi vrednosti spremenljivk in atributov.\n" " \n" " Zastarelo. Oglejte si `help declare'." -#: builtins.c:535 +#: builtins.c:538 #, fuzzy msgid "" "Define local variables.\n" @@ -2907,7 +3027,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je predložena neveljavna možnost, pride\n" " do napake ali pa lupina ne izvaja funkcije." -#: builtins.c:552 +#: builtins.c:555 #, fuzzy msgid "" "Write arguments to the standard output.\n" @@ -2934,9 +3054,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2969,7 +3089,7 @@ msgstr "" " Stanje končanja:\n" " Vrne uspeÅ¡no, razen če pride do napake pri pisanju." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2991,7 +3111,7 @@ msgstr "" " Stanje končanja:\n" " Vrne uspeÅ¡no, razen če pride do napake pri pisanju." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3043,7 +3163,7 @@ msgstr "" " Stanje končanja:\n" " Vrne uspeÅ¡no, razen če IME ni vgrajena lupina ali če pride do napake." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3062,7 +3182,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje končanja ali uspeÅ¡no, če je ukaz prazen." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3140,7 +3260,8 @@ msgstr "" " Vrne uspeÅ¡no, če je možnost najdena; neuspeÅ¡no, če pride\n" " do konca možnosti ali do napake." -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -3151,8 +3272,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3179,7 +3300,7 @@ msgstr "" " Stanje končanja:\n" " Vrne uspeÅ¡no, razen če UKAZ ni najden ali pride do napake preusmeritve." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3191,7 +3312,7 @@ msgstr "" " Konča lupino s stanjem N. Če je N izpuščen, se uporabi stanje\n" " končanja zadnjega izvrÅ¡enega ukaza." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3204,7 +3325,7 @@ msgstr "" " Konča prijavno lupino s stanjem končanja N. Vrne napako, če se\n" " ne izvede v prijavni lupini." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3258,7 +3379,7 @@ msgstr "" " Stanje končanja:\n" " Vrne uspeÅ¡no ali stanje izvedenega ukaza; ne-ničelno, če pride do napake." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3279,7 +3400,7 @@ msgstr "" " Stanje ukaza, postavljenega v ospredje, ali neuspeÅ¡no, če se\n" " pojavi napaka." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3302,7 +3423,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če nadzor posla ni omogočen ali če pride\n" " do napake." -#: builtins.c:784 +#: builtins.c:787 #, fuzzy msgid "" "Remember or display program locations.\n" @@ -3312,15 +3433,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3345,7 +3466,8 @@ msgstr "" " Stanje končanja:\n" " Vrne uspeÅ¡no, razen če IME ni najdeno ali če je dana neveljavna možnost." -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3357,7 +3479,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3385,7 +3507,8 @@ msgstr "" " Vrne uspeÅ¡no, razen če VZOREC ni najden ali pa je dana neveljavna\n" " možnost." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3394,23 +3517,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3452,7 +3575,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je podana neveljavna možnost ali če pride\n" " do napake." -#: builtins.c:869 +#: builtins.c:872 #, fuzzy msgid "" "Display status of jobs.\n" @@ -3463,7 +3586,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3497,7 +3620,8 @@ msgstr "" " Vrne uspeÅ¡no, razen če je dana neveljavna možnost ali če pride do\n" " napake. Če se uporabi -x, vrne stanje končanja UKAZA." -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3507,7 +3631,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3529,7 +3653,8 @@ msgstr "" " Vrne uspeÅ¡no, razen če je dana neveljavna možnost ali če je dano\n" " DOLOČILO_POSLA." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3541,7 +3666,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3570,7 +3696,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je dana neveljavna možnost ali če pride do\n" " napake." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3657,7 +3783,7 @@ msgstr "" " Stanje končanja\n" " Če zadnji ARG ovrednoti na 0, let vrne 1; sicer let vrne 0." -#: builtins.c:983 +#: builtins.c:987 #, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" @@ -3679,27 +3805,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3749,7 +3876,7 @@ msgstr "" " omejitev prekoračena ali če je dan neveljaven opisnik datotek kot\n" " argument v -u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3769,7 +3896,7 @@ msgstr "" " Stanje končanja\n" " Vrne N ali neuspeÅ¡no, če lupina ne izvede funkcije ali skripta." -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3838,7 +3965,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3941,7 +4069,7 @@ msgstr "" " Stanje končanja\n" " Vrne uspeÅ¡no, razen če je dana neveljavna možnost." -#: builtins.c:1126 +#: builtins.c:1132 #, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" @@ -3952,7 +4080,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3980,7 +4108,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je dana neveljavna možnost ali če je IME samo\n" " za branje." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4014,7 +4142,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je dana neveljavna možnost ali če je\n" " neveljavno IME." -#: builtins.c:1167 +#: builtins.c:1173 #, fuzzy msgid "" "Mark shell variables as unchangeable.\n" @@ -4027,9 +4155,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4055,7 +4182,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je dana neveljavna možnost ali če je\n" " neveljavno IME." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4073,7 +4200,7 @@ msgstr "" " Stanje končanja:\n" " Vrne uspeÅ¡no, razen če je N negativen ali večji kot $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4097,7 +4224,7 @@ msgstr "" " Vrne stanje zadnjega izvrÅ¡enega ukaza v IMENU_DATOTEKE; vrne\n" " neuspeÅ¡no, če IMENA_DATOTEKE ni mogoče brati." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4123,7 +4250,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če nadzor posla ni omogočen ali če pride do\n" " napake." -#: builtins.c:1248 +#: builtins.c:1254 #, fuzzy msgid "" "Evaluate conditional expression.\n" @@ -4188,9 +4315,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4285,7 +4412,7 @@ msgstr "" " Vrne uspeÅ¡no, če IZRAZ ovrednoti prav, neuspeÅ¡no vrne, če IZRAZ \n" " ovrednoti napak ali če je dan neveljaven argument." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4297,7 +4424,7 @@ msgstr "" " To je sopomenka za vgrajeno lupino \"test\", toda zadnji argument\n" " mora biti dobesedni `]' za ujemanje z uklepajem `['." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4316,7 +4443,7 @@ msgstr "" " Stanje končanja:\n" " Vedno uspeÅ¡no." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4396,7 +4523,8 @@ msgstr "" " Vrne uspeÅ¡no, razen če je SIGSPEC neveljaven ali je dana neveljavna " "možnost." -#: builtins.c:1386 +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -4405,18 +4533,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4453,7 +4581,7 @@ msgstr "" " Vrne uspeÅ¡no, če so vsa IMENA najdena; vrne neuspeÅ¡no, če katero\n" " ni najdeno." -#: builtins.c:1417 +#: builtins.c:1424 #, fuzzy msgid "" "Modify shell resource limits.\n" @@ -4472,6 +4600,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4483,7 +4612,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4543,7 +4673,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je dana neveljavna možnost ali če pride do\n" " napake." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4577,7 +4707,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je NAČIN neveljaven ali če je dana neveljavna\n" " možnost." -#: builtins.c:1485 +#: builtins.c:1494 #, fuzzy msgid "" "Wait for job completion and return exit status.\n" @@ -4610,7 +4740,7 @@ msgstr "" " Vrne stanje ID-ja; vrne neuspeÅ¡no, če je ID neveljaven ali če je dana\n" " neveljavna možnost." -#: builtins.c:1506 +#: builtins.c:1515 #, fuzzy msgid "" "Wait for process completion and return exit status.\n" @@ -4635,7 +4765,7 @@ msgstr "" " Vrne stanje ID-ja; neuspeÅ¡no, če je ID neveljaven ali če je dana\n" " neveljavna možnost." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4658,7 +4788,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje zadnjega izvrÅ¡enega ukaza." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4689,7 +4819,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje zadnjega izvrÅ¡enega ukaza." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4726,7 +4856,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje zadnjega izvrÅ¡enega ukaza." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4755,7 +4885,7 @@ msgstr "" " Stanje končanja:\n" " Stanje končanja je stanje končanja CEVOVODA." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4773,7 +4903,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje zadnjega izvrÅ¡enega ukaza." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4807,7 +4937,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje zadnjega izvrÅ¡enega ukaza." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4825,7 +4955,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje zadnjega izvrÅ¡enega ukaza." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4843,7 +4973,8 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje zadnjega izvrÅ¡enega ukaza." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4853,7 +4984,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Ustvari soopravilo, imenovano IME.\n" " \n" @@ -4865,7 +4996,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje končanja UKAZA." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4889,7 +5020,7 @@ msgstr "" " Stanje končanja:\n" " Vrne uspeÅ¡no, razen če je IME samo za branje." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4907,7 +5038,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje zadnjega izvrÅ¡enega ukaza." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4931,7 +5062,7 @@ msgstr "" " Stanje končanja:\n" " Vrne stanje obnovljenega posla." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4949,7 +5080,7 @@ msgstr "" " Stanje končanja:\n" " Vrne 1, če je IZRAZ enakovreden; sicer vrne 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5003,7 +5134,7 @@ msgstr "" " Stanje končanja:\n" " 0 ali 1, odvisno od vrednosti IZRAZA." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5107,7 +5238,8 @@ msgstr "" " HISTIGNORE\tZ dvopičjem ločen seznam vzorcev, ki so uporabljeni \n" " \t\tza odločanje, kateri ukazi naj se shranijo na seznam zgodovine.\n" -#: builtins.c:1794 +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -5117,19 +5249,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5163,7 +5295,8 @@ msgstr "" " Vrne uspeÅ¡no, razen če je predložen neveljaven argument ali če\n" " sprememba mape spodleti." -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -5172,16 +5305,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5213,7 +5346,8 @@ msgstr "" " Vrne uspeÅ¡no, razen če je predložen neveljaven argument ali če\n" " sprememba mape spodleti." -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -5224,19 +5358,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5264,7 +5398,7 @@ msgstr "" " Stanje končanja:\n" " Vrne uspeÅ¡no, razen če je dana neveljavna možnost ali če pride do napake." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5301,7 +5435,7 @@ msgstr "" " Vrne uspeÅ¡no, če je IME_MOŽNOSTI omogočeno; neuspeÅ¡no, če je\n" " dana neveljavna možnost ali če je IME_MOŽNOSTI onemogočeno." -#: builtins.c:1908 +#: builtins.c:1919 #, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" @@ -5319,15 +5453,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5367,7 +5501,8 @@ msgstr "" "napake\n" " branja ali dodelitve." -#: builtins.c:1942 +#: builtins.c:1953 +#, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5380,11 +5515,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5418,7 +5553,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je predložena neveljavna možnost ali če pride\n" " do napake." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5440,7 +5575,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je predložena neveljavna možnost ali če pride\n" " do napake." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5496,7 +5631,8 @@ msgstr "" " Vrne uspeÅ¡no, razen če je predložena neveljavna možnost ali pa IME\n" " nima določenega določila dopolnjevanja." -#: builtins.c:2015 +#: builtins.c:2026 +#, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5507,20 +5643,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5572,7 +5709,7 @@ msgstr "" " Vrne uspeÅ¡no, razen če je dana neveljavna možnost oz. je POLJE samo\n" " za branje ali pa ni zabeleženo polje." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5582,6 +5719,26 @@ msgstr "" " \n" " Je sopomenka za `mapfile'." +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Avtorske pravice (C) 2011 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "prav" + +#~ msgid "false" +#~ msgstr "napak" + +#~ msgid "times" +#~ msgstr "krat" + +#, fuzzy +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Avtorske pravice (C) 2011 Free Software Foundation, Inc." + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Avtorske pravice (C) 2009 Free Software Foundation, Inc.\n" diff --git a/po/sr.gmo b/po/sr.gmo index 5e4dcd53d..c052db364 100644 Binary files a/po/sr.gmo and b/po/sr.gmo differ diff --git a/po/sr.po b/po/sr.po index f7275fb53..f1af8c73b 100644 --- a/po/sr.po +++ b/po/sr.po @@ -1,86 +1,92 @@ # Serbian translation for bash. # Copyright (C) 2014 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. -# Мирослав Николић , 2014. +# Мирослав Николић , 2014—2015. msgid "" msgstr "" -"Project-Id-Version: bash-4.3-rc2\n" +"Project-Id-Version: bash-4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-02-11 10:22+0200\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-12-23 11:31+0200\n" "Last-Translator: Мирослав Николић \n" "Language-Team: Serbian <(nothing)>\n" -"Language: Serbian (sr)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "лош индекс низа" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: не могу да претворим пописани низ у придружив" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: неисправан кључ придруживог низа" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: не могу да доделим у не-бројевни попис" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: мора користити индекс приликом додељивања придруживог низа" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: не могу да направим: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "баш_изврши_јуникс_наредбу: не могу да нађем мапу кључа за наредбу" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: први не-празан знак није \"" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "нема затварајућег „%c“ у %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: недостаје раздвојник двотачке" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "ширење заграде: не могу да доделим меморију за „%s“" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "ширење заграде: нисам успео да доделим меморију за %d елемента" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "ширење заграде: нисам успео да доделим меморију за „%s“" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "„%s“: неисправан назив алијаса" @@ -89,45 +95,45 @@ msgstr "„%s“: неисправан назив алијаса" msgid "line editing not enabled" msgstr "уређивање реда није укључено" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "„%s“: неисправан назив мапе кључа" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: не могу да читам: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "„%s“: не могу да развежем" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "„%s“: непознат назив функције" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "„%s“ није привезано ни за један кључ.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "„%s“ не може бити призвано путем" -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "број петљи" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "једино има смисла у петљи „for“, „while“, или „until“" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -137,300 +143,329 @@ msgstr "" "\n" " Без „EXPR“, исписује" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "„HOME“ није подешено" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "превише аргумената" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "нема другог директоријума" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "„OLDPWD“ није подешено" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "%d. ред:" -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "упозорење:" -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: употреба:" -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: опција захтева аргумент" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: потребан је бројевни аргумент" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: не постоји" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: неисправна опција" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: неисправан назив опције" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "„%s“: није исправан одредник" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "неисправан октални број" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "неисправан хексадецимални број" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "неисправан број" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: неисправна одредба сигнала" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "„%s“: није пиб или исправна одредба посла" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: променљива само за читање" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: „%s“ је ван опсега" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "аргумент" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "„%s“ је ван опсега" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: нема таквог посла" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: нема управљања послом" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "нема управљања послом" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: ограничено" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "ограничено" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: није уграђеност шкољке" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "грешка писања: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "грешка подешавања особина терминала: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "грешка добављања особина терминала: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: грешка довлачења текућег директоријума: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: нејасна одредба посла" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "помоћ није доступна у овом издању" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: неисправан назив радње" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: нема одредбе довршавања" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "упозорење: опција „-F“ можда неће радити како сте очекивали" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "упозорење: опција „-C“ можда неће радити како сте очекивали" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "тренутно не обавља функцију довршавања" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "може бити коришћено једино у функцији" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: променљива упуте не може бити низ" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: самоупућивање променљиве упуте назива није дозвољено" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: кружна упута назива" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: неисправан назив променљиве за упуту назива" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "не можете користити „-f“ да направите функције" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: функција само за читање" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: додела низа цитираног споја је застарела" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: не могу да уништим променљиве низа на овај начин" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: не могу да претворим придруживи низ у пописани" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "променљиво учитавање није доступно" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "не могу да отворим дељени предмет „%s“: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "не могу да нађем „%s“ у дељеном предмету „%s“: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "функција учитавања за „%s“ није успела (%d): није учитано" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: није динамички учитано" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: не могу да обришем: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: је директоријум" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: није обична датотека" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: датотека је превелика" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: не могу да извршим бинарну датотеку" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: не могу да извршим: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "одјави\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "није шкољка пријављивања: користите „exit“" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Има заустављених послова.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Има покренутих послова.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "нема такве наредбе" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "одредба историјата" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: не могу да отворим привремену датотеку: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "текуће" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "посао „%d“ је започет без управљања послом" @@ -449,17 +484,17 @@ msgstr "%s: опција захтева аргумент -- %c\n" msgid "hashing disabled" msgstr "хеширање је искључено" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: хеш табела је празна\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "покреће\tнаредбу\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" @@ -467,20 +502,20 @@ msgstr[0] "Наредбе шкољке које одговарају кључн msgstr[1] "Наредбе шкољке које одговарају кључним речима `" msgstr[2] "Наредбе шкољке које одговарају кључним речима `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -"нема тема помоћи које одговарају „%s“. Покушајте „help help“ или „man -k " -"%s“ или „info %s“." +"нема тема помоћи које одговарају „%s“. Покушајте „help help“ или „man -k %" +"s“ или „info %s“." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: не могу да отворим: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -499,15 +534,20 @@ msgstr "" "Звездица (*) поред назива значи да је наредба искључена.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "не могу користити више од једног „-anrw“" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "положај историјата" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: неисправан аргумент" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: није успело ширење историјата" @@ -521,113 +561,113 @@ msgstr "%s: није успело „inlib“" msgid "no other options allowed with `-x'" msgstr "нису допуштене друге опције уз „-x“" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: аргументи морају бити процеси или ИБ-ови посла" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Непозната грешка" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "очекиван је израз" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: није пописани низ" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: неисправна одредба описника датотеке" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: неисправан описник датотеке: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: неисправан број реда" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: неисправно порекло низа" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: неисправна количина опозива" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "празан назив променљиве низа" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "потребна је подршка променљиве низа" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "„%s“: недостаје знак записа" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "„%c“: неисправна одредба записа времена" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "„%c“: неисправан знак записа" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "упозорење: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "проблем обраде записа: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "недостаје хексадецимална цифра за \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "недостаје цифра уникода за \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "нема другог директоријума" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: неисправан аргумент" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "<нема текућег директоријума>" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "празан спремник директоријума" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "попис спремника директоријума" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -669,7 +709,7 @@ msgstr "" " -N\tПриказује н-ти унос почевши с десна на списку приказаном\n" "\t директоријумима када се призову без опција, почевши од нуле." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -715,7 +755,7 @@ msgstr "" " \n" " Уграђено „dirs“ приказује спремник директоријума." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -754,143 +794,153 @@ msgstr "" " \n" " Уграђено „dirs“ приказује спремник директоријума." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: неисправна одредба временског истека" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "грешка читања: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "могу једино да „испишем“ из функције или изворног списа" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "не могу истовремено да расподесим функцију и променљиву" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: не могу да расподесим" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: не могу да расподесим: „%s“ је само за читање" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: није променљива низа" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: није функција" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: не могу да извезем" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "број помака" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "не могу истовремено да подесим и да расподесим опције шкољке" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: неисправан назив опције шкољке" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "потребан је аргумент назива датотеке" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: нисам пронашао датотеку" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "не могу да обуставим" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "не могу да обуставим шкољку пријављивања" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s је измењен у псеудоним „%s“\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "„%s“ је кључна реч шкољке\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s: је функција\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s: је нарочита уграђеност шкољке\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s: јесте уграђеност шкољке\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "„%s“ јесте „%s“\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "„%s“ је хеширано (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: неисправан аргумент ограничења" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "„%c“: лоша наредба" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: не могу да добавим ограничење: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "ограничење" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: не могу да изменим ограничење: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "октални број" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "„%c“: неисправан оператер симболичког режима" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "„%c“: неисправан знак симболичког режима" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " ред " @@ -904,82 +954,103 @@ msgstr "последња наредба: %s\n" msgid "Aborting..." msgstr "Прекидам..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "ПОДАЦИ: " + +#: error.c:463 msgid "unknown command error" msgstr "непозната грешка наредбе" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "лоша врста наредбе" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "лош спајач" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "лош скок" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: несвезана променљива" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" -msgstr "\\aистекло је време чекајући на улаз: самостално се одјављујем\n" +msgstr "\aистекло је време чекајући на улаз: сам се одјављујем\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "не могу да преусмерим стандардни улаз из „/dev/null:“: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "ЗАПИСВРЕМЕНА: „%c“: неисправан знак записа" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "грешка спојке" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "процена: премашен је највећи ниво угнежђивања процене (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: премашен је највећи ниво угнежђивања извора (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: премашен је највећи ниво угнежђивања функције (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: ограничено: не могу да наведем / у називима наредби" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: нема такве наредбе" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: лош тумач" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: не могу да извршим бинарну датотеку: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "„%s“: јесте посебна уграђеност" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "не могу да удвостручим „fd %d“ у „fd %d“" @@ -1024,37 +1095,37 @@ msgstr "одредник је очекиван након пре-увећања msgid "missing `)'" msgstr "недостаје )" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "садржајна грешка: очекиван је операнд" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "садржајна грешка: неисправан аритметички оператор" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (симбол грешке је „%s“)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "неисправна аритметичка основа" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "вредност је превише велика за основу" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: грешка израза\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: не могу да приступим родитељском директоријуму" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "не могу да поништим режим без-кашњења за фд „%d“" @@ -1069,148 +1140,148 @@ msgstr "не могу да доделим нови описник датотек msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: већ постоји међумеморија за нови фд „%d“" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: „pgrp“ спојка" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "исцепљени пиб „%d“ се јавља у покренутом послу „%d“" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "бришем заустављени посао „%d“ са групом процеса %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: процес %5ld (%s) у спојном_реду" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: пиб %5ld (%s) је означен да је још жив" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: нема таквог пиб-а" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Сигнал %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Урађен" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Заустављен" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Заустављен(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Покренут" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Урађен(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Изађи из „%d“" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Непознато стање" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(језгрени избачај)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "сетпгиб порода (%ld у %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: пиб %ld није пород ове шкољке" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Нема записа о процесу %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: посао „%d“ је заустављен" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: посао је завршио" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: посао „%dд је већ у позадини" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: укључујем „WNOHANG“ да избегнем неодређени блок" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: ред %d:" -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (језгрени избачај)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(„wd“ сада: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: није успело „getpgrp“" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: дисциплина реда" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "не могу да подесим групу процеса терминала (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "нема управљања послом у овој шкољци" @@ -1264,17 +1335,17 @@ msgstr "realloc: откривена је недовољност тока; mh_n- msgid "realloc: start and end chunk sizes differ" msgstr "realloc: почетна и крајња величина дела се разликују" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: табела доделе је пуна са „FIND_ALLOC“?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: „%p“ је већ у табели као додељено?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: „%p“ је већ у табели као слободно?\n" @@ -1298,7 +1369,7 @@ msgstr "%s: неисправна услуга" msgid "%s: bad network path specification" msgstr "%s: лоша одредба путање мреже" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "радње мреже нису подржане" @@ -1335,224 +1406,259 @@ msgstr "Имате нову пошту у $_" msgid "The mail in %s has been read\n" msgstr "Пошта у „%s“ је прочитана\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "садржајна грешка: потребан је аритметички израз" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "садржајна грешка: није очекивано „;“" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "садржајна грешка: „((%s))“" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: лоша врста упутства „%d“" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "овде-документ у %d. реду је ограничен крајем-датотеке (тражи се „%s“)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: упутсво преусмерења „%d“ је ван опсега" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "премашен је највећи број „овде-документ“" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "неочекивани крај датотеке приликом тражења поклапања „%c“" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "неочекивани крај датотеке приликом тражења „]]“" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "садржајна грешка у условном изразу: неочекивани симбол „%s“" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "садржајна грешка у условном изразу" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "неочекивани симбол „%s“, очекивана је )" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "очекивана је )" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "неочекивани аргумент „%s“ условном једночланом оператору" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "неочекивани аргумент условном једночланом оператору" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "неочекивани симбол „%s“, очекиван је условни двочлани оператор" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "очекиван је условни двочлани оператор" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "неочекивани аргумент „%s“ условном двочланом оператору" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "неочекивани аргумент условном двочланом оператору" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "неочекивани симбол „%c“ у условној наредби" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "неочекивани симбол „%s“ у условној наредби" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "неочекивани симбол „%d“ у условној наредби" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "садржајна грешка близу неочекиваног симбола „%s“" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "садржајна грешка близу „%s“" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "садржајна грешка: неочекивани крај датотеке" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "садржајна грешка" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Користите „%s“ да напустите шкољку.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "неочекивани крај датотеке приликом тражења поклапајуће )" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "довршавање: нисам нашао функцију „%s“" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: НИШТАВНА ОДРЕДБА_ДОВРШАВАЊА" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: лош спајач „%d“" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: неисправан описник датотеке" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: НИШТАВАН указивач датотеке" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: „%c“: неисправан знак записа" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "описник датотеке је ван опсега" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: нејасно преусмерење" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: не могу да препишем постојећу датотеку" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: ограничено: не могу да преусмерим излаз" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "не могу да направим привремену датотеку за документ-овде: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: не могу да доделим фд променљивој" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "„/dev/(tcp|udp)/домаћин/прикључник“ није подржано без умрежавања" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "грешка преусмерења: не могу да удвостручим фд" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "не могу да нађем „/tmp“, направите га!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "„/tmp“ мора бити исправан назив директоријума" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: неисправна опција" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "не могу да подесим јиб на %d: стварни јиб %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "не могу да подесим гиб на %d: стварни гиб %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: је директоријум" + +#: shell.c:1777 msgid "I have no name!" msgstr "Немам назив!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "Гну баш, издање %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1561,39 +1667,49 @@ msgstr "" "Употреба:\t%s [Гнуова дуга опција] [опција] ...\n" " \t%s [Гнуова дуга опција] [опција] датотека-списа ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Гнуове дуге опције:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Опције шкољке:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t„-ilrsD“ или наредба „-c“ или -O шопц_опција\t\t(призивање само)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t„-%s“ или опција „-o“\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "Укуцајте „%s -c \"help set\"“ за више података о опцијама шкољке.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "Укуцајте „%s -c help“ за више података о уграђеним наредбама шкољке.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "Користите наредбу „bashbug“ да известите о грешкама.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "Матична страница баша: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "Општа помоћ коришћења Гну софтвера: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: неисправна операција" @@ -1767,88 +1883,103 @@ msgstr "Непознат сигнал #" msgid "Unknown Signal #%d" msgstr "Непознат сигнал #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "лоша замена: нема затварајуће „%s“ у „%s“" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: не могу да доделим списак члану низа" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "не могу да начиним спојку за замену процеса" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "не могу да начиним пород за замену процеса" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "не могу да отворим именовану спојку „%s“ за читање" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "не могу да отворим именовану спојку „%s“ за писање" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "не могу да удвостручим именовану спојку „%s“ као фд %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "лоша замена: нема затварајућег „`“ у „%s“" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "не могу да начиним спојку за замену наредбе" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "не могу да начиним пород за замену наредбе" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: не могу да удвостручим спојку као фд 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: неисправан назив променљиве за упуту назива" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: лоша замена" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: неисправно посредно ширење" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: неисправан назив променљиве" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: параметар је ништаван или није подешен" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: израз подниске < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: лоша замена" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: не могу дадоделим на овај начин" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "будућа издања шкољке ће приморати процену као аритметичку замену" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "лоша замена: нема затварајућег „`“ у „%s“" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "нема поклапања: %s" @@ -1862,39 +1993,39 @@ msgstr "очекиван је аргумент" msgid "%s: integer expression expected" msgstr "%s: очекиван је израз целог броја" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "очекивана је )" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "очекивана је ), а пронађена %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: очекиван је једночлани оператор" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: очекиван је двочлани оператор" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "недостаје ]" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "неисправан сигнални број" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: лоша вредност у „trap_list[%d]“: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1902,84 +2033,85 @@ msgstr "" "run_pending_traps: руковалац сигналом је „SIG_DFL“, поново шаљем %d (%s) " "мени самом" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: лош сигнал %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "грешка увоза одреднице функције за „%s“" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "ниво шкољке (%d) је превисок, поново постављам на 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: кружна упута назива" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: нема садржаја функције на текућем досегу" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: вредности не може бити додељена вредност" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: неисправан назив променљиве за упуту назива" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variable: нема садржаја функције на текућем досегу" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s има ништавну ниску извоза" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "неисправан знак %d у нисци извоза за „%s“" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "нема = у нисци извоза за „%s“" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: глава променљивих шкољке није садржајност функције" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: нема садржаја општих променљивих" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: глава променљивих шкољке није привремени досег окружења" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: не могу да отворим као ДАТОТЕКУ" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: неисправна вредност за описник праћења датотеке" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: вреднсот сагласности је ван опсега" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Ауторска права (C) 2013 Задужбина слободног софтвера, Доо." +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Ауторска права (C) 2015 Задужбина слободног софтвера, Доо." #: version.c:47 version2.c:47 msgid "" @@ -2003,10 +2135,6 @@ msgstr "" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Нема НИКАКВЕ ГАРАНЦИЈЕ у оквирима дозвољеним законом." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Ауторска права (C) 2012 Задужбина слободног софтвера, Доо." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2027,15 +2155,15 @@ msgstr "%s: %s:%d: не могу да доделим %lu бајта (%lu бај msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: не могу да доделим %lu бајта" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [назив[=вредност] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] назив [назив ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -2044,111 +2172,99 @@ msgstr "" "кључа] [-x низ кључа:наредба-шкољке] [низ кључа:функција-читањареда или " "наредба-читањареда]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [уграђеност-шкољке [аргумент ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [израз]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]] [-@]] [дир]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr "%s%c" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "%s%c" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] command [арг ...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [назив[=вредност] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] назив[=вредност] ..." - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] назив[=вредност] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [опција] назив[=вредност] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [арг ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [арг ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f датотека] [назив ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [арг ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts ниска_опција назив [арг]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a назив] [наредба [аргументи ...]] [преусмерење ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e е-назив] [-lnr] [прво] [последње] или fc -s [пут=реп] [наредба]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [одредба_посла ...]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [одредба_посла ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p путања] [-dt] [назив ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [шаблон ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2156,15 +2272,16 @@ msgstr "" "history [-c] [-d померај] [n] или history -anrw [датотека] или history -ps " "arg [аргумент...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [одредба_посла ...] или jobs -x наредба [аргументи]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [одредба_посла ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2172,11 +2289,11 @@ msgstr "" "kill [-s одредба-сигнала | -n бр.сигнала | -sigspec] пиб | одредба_посла ... " "или kill -l [одредба_посла]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [аргумент ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2184,99 +2301,95 @@ msgstr "" "read [-ers] [-a низ] [-d ограничи] [-i текст] [-n н-знак] [-N н-знак] [-p " "упит] [-t временски рок] [-u фд] [назив ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o назив-опције] [--] [арг ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [назив ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [назив[=вредност] ...] или export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [назив[=вредност] ...] или readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source датотека [аргументи]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". датотека [аргументи]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [израз]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ арг... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[арг] одредба_сигнала ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] назив [назив ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [ограничење]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [ограничење]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [режим]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [иб ...]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [пиб ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for НАЗИВ [у РЕЧИМА ... ] ; do НАРЕДБЕ; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( израз1; израз2; израз3 )); do НАРЕДБЕ; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select НАЗИВ [у РЕЧИМА ... ;] do НАРЕДБЕ; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] спојни_ред" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case РЕЧ у [ШАБЛОН [| ШАБЛОН]...) НАРЕДБЕ ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2284,63 +2397,63 @@ msgstr "" "if НАРЕДБЕ; then НАРЕДБЕ; [ elif НАРЕДБЕ; then НАРЕДБЕ; ]... [ else " "НАРЕДБЕ; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while НАРЕДБЕ; do НАРЕДБЕ; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until НАРЕДБЕ; do НАРЕДБЕ; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [НАЗИВ] наредба [преусмерења]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function name { НАРЕДБЕ ; } или name () { НАРЕДБЕ ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ НАРЕДБЕ ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( израз ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ израз ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables — Називи и значења неких променљивих шкољке" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | дир]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [називопције ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v променљива] format [аргументи]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2350,28 +2463,28 @@ msgstr "" "[-W списакречи] [-F функција] [-C наредба] [-X путањауслова] [-P префикс] [-" "S суфикс] [назив ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o опција] [-A радња] [-G општапутања] [-W " -"списакречи] [-F функција] [-C наредба] [-X путањауслова] [-P префикс] [-S " +"списакречи] [-F функција] [-C наредба] [-X путањауслова] [-P префикс] [-S " "суфикс] [реч]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o опција] [-DE] [назив ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n број] [-O порекло] [-s број] [-t] [-u фд] [-C опозив] [-c " -"количина] [низ]" +"mapfile [-d раздвој] [-n број] [-O порекло] [-s број] [-t] [-u фд] [-C " +"опозив] [-c количина] [низ]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2379,7 +2492,7 @@ msgstr "" "readarray [-n број] [-O порекло] [-s број] [-t] [-u фд] [-C опозив] [-c " "количина] [низ]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2391,7 +2504,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2409,29 +2522,29 @@ msgstr "" " проверена за заменом псеудонима када је псеудоним раширен.\n" " \n" " Опције:\n" -" -p\tИсписује све одређене псеудониме у поново употребљивом облику\n" +" -p\tисписује све одређене псеудониме у поново употребљивом облику\n" " \n" " Излазно стање:\n" " „alias“ даје тачност осим ако је достављен НАЗИВ за који ниједан\n" " псеудоним није одређен." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Уклања сваки НАЗИВ са списка одређених псеудонима.\n" " \n" " Опције:\n" -" -a\tуклања све одреднице псеудонима.\n" +" -a\tуклања све одреднице псеудонима\n" " \n" " Резултат је успешан осим ако НАЗИВ није постојећи псеудоним." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2465,7 +2578,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2512,7 +2626,7 @@ msgstr "" " -x низ_тастера:наредба-шкољке Доводи до извршавања НАРЕДБЕ-ШКОЉКЕ " "приликом уноса\n" " \t\t\t НИЗА_ТАСТЕРА.\n" -" -X\t Исписује свезе низова тастера са -x и " +" -X Исписује свезе низова тастера са -x и " "придружене наредбе у облику\n" " који може бити поново коришћен као " "улаз.\n" @@ -2521,7 +2635,7 @@ msgstr "" " „bind“ даје 0 осим ако није дата непозната опција или ако не дође до " "грешке." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2540,7 +2654,7 @@ msgstr "" " Излазно стање:\n" " Излазно стање је 0 осим ако N није веће или једнако 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2558,7 +2672,7 @@ msgstr "" " Излазно стање:\n" " Излазно стање је 0 осим ако N није веће или једнако 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2583,7 +2697,7 @@ msgstr "" "ШКОЉКЕ\n" " није уграђеност шкољке." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2611,7 +2725,7 @@ msgstr "" " Даје 0 осим ако шкољка не извршава функцију шкољке или ИЗРАЗ\n" " није исправан." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2634,16 +2748,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2693,13 +2807,13 @@ msgstr "" "је\n" " коришћено „-P“; у супротном вредност различиту од нуле." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2721,7 +2835,7 @@ msgstr "" " Даје 0 осим ако није дата неисправна опција или текући директоријум\n" " не може бити прочитан." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2737,7 +2851,7 @@ msgstr "" " Излазно стање:\n" " Увек успешна." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2749,7 +2863,7 @@ msgstr "" " Излазно стање:\n" " Увек успешно." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2761,7 +2875,7 @@ msgstr "" " Излазно стање:\n" " Увек неуспешно." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2771,10 +2885,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2787,15 +2901,15 @@ msgstr "" " наредби на диску када постоји функција са истим називом.\n" " \n" " Опције:\n" -" -p\tкористи основну вредност за ПУТАЊУ којом се осигурава налажење\n" -" свих стандардних помагала\n" -" -v\tисписује опис НАРЕДБЕ слично уграђености „type“\n" -" -V\tисписује опширнији опис сваке НАРЕДБЕ\n" +" -p користи основну вредност за ПУТАЊУ којом се осигурава налажење\n" +" свих стандардних помагала\n" +" -v исписује опис НАРЕДБЕ слично уграђености „type“\n" +" -V исписује опширнији опис сваке НАРЕДБЕ\n" " \n" " Излазно стање:\n" " Даје излазно стање НАРЕДБЕ, или неуспех ако се НАРЕДБА не пронађе." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2805,9 +2919,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2871,17 +2985,18 @@ msgstr "" "ако\n" " не дође до грешке доделе променљиве." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Подешава вредности и атрибуте променљиве.\n" " \n" " Застарело. Погледајте „help declare“." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2908,7 +3023,7 @@ msgstr "" "дође\n" " до грешке додељивања променљиве, или ако шкољка не извршава функцију." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2934,9 +3049,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2971,7 +3086,7 @@ msgstr "" " Излазно стање:\n" " Даје позитиван резултат осим ако не дође до грешке писања." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2993,7 +3108,7 @@ msgstr "" " Излазно стање:\n" " Даје позитиван резултат осим ако не дође до грешке писања." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3045,7 +3160,7 @@ msgstr "" " Даје позитиван резултат осим ако НАЗИВ није уграђеност шкољке или ако не " "дође до грешке." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3064,7 +3179,7 @@ msgstr "" " Излазно стање:\n" " Даје излазно стање наредбе или успех ако је наредба ништавна." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3148,7 +3263,7 @@ msgstr "" "на\n" " крај опције или ако не дође до грешке." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3159,8 +3274,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3190,7 +3305,7 @@ msgstr "" " Даје позитиван резултат осим ако НАРЕДБА није нађена или ако не дође до " "грешке преусмеравања." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3202,7 +3317,7 @@ msgstr "" " Напушта шкољку са стањем N. Ако је N изостављено, излазно стање\n" " је оно последње извршене наредбе." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3216,7 +3331,7 @@ msgstr "" "извршено\n" " у шкољци пријављивања." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3273,7 +3388,7 @@ msgstr "" " Даје позитиван резултат или стање извршене наредбе; не-нулу ако дође до " "грешке." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3293,7 +3408,7 @@ msgstr "" " Излазно стање:\n" " Стање наредбе постављене у први план, или неуспех ако дође до грешке." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3317,7 +3432,7 @@ msgstr "" " Даје позитиван резултат осим ако није укључено управљање послом или ако " "не дође до грешке." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3326,15 +3441,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3346,22 +3461,22 @@ msgstr "" " дати аргументи, приказује се податак о упамћеним наредбама.\n" " \n" " Опције:\n" -" -d\t\tзаборавља запамћено место сваког НАЗИВА\n" -" -l\t\tприказује у облику који може бити поново коришћен као улаз\n" -" -p путања \tкористи ПУТАЊУ као пуну путању НАЗИВА\n" -" -r\t\tзаборавља сва запамћена места\n" -" -t\t\tисписује запамћено место сваког НАЗИВА, постављајући\n" -" \t\t одговарајући НАЗИВ испред сваког места ако је дато\n" -" \t\t више НАЗИВА\n" +" -d\tзаборавља запамћено место сваког НАЗИВА\n" +" -l\tприказује у облику који може бити поново коришћен као улаз\n" +" -p путања користи ПУТАЊУ као пуну путању НАЗИВА\n" +" -r\tзаборавља сва запамћена места\n" +" -t\tисписује запамћено место сваког НАЗИВА, постављајући\n" +" \t\tодговарајући НАЗИВ испред сваког места ако је дато\n" +" \t\tвише НАЗИВА\n" " Аргументи:\n" -" НАЗИВ\t\tСваки НАЗИВ се тражи у $ПУТАЊИ и додаје на списак\n" -" \t\t запамћених наредби.\n" +" НАЗИВ\tСваки НАЗИВ се тражи у $ПУТАЊИ и додаје на списак\n" +" \t\tзапамћених наредби.\n" " \n" " Излазно стање:\n" " Даје позитиван резултат осим ако се НАЗИВ не нађе или ако је дата " "неисправна опција." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3373,7 +3488,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3401,7 +3516,8 @@ msgstr "" " Даје позитиван резултат осим ако ШАБЛОН није пронађен или ако је дата " "неисправна опција." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3410,23 +3526,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3455,10 +3571,10 @@ msgstr "" " -s\t додаје АРГ-те на списак историјата као један унос\n" " \n" " Ако је дата ДАТОТЕКА, користи се као датотека историјата. Усупротном,\n" -" ако $ДАТОТЕКА_ИСТОРИЈАТА има вредност, она се користи, другачије „~/." +" ако ДАТОТЕКА_ИСТОРИЈАТА има вредност, она се користи, другачије „~/." "bash_history“.\n" " \n" -" Ако је променљива $ЗАПИСВРЕМЕНАИСТОРИЈАТА подешена и није ништавна, " +" Ако је променљива ЗАПИСВРЕМЕНАИСТОРИЈАТА подешена и није ништавна, " "користи се\n" " њена вредност као ниска записа за „strftime(3)“ да исписше временску " "ознаку придружену\n" @@ -3469,8 +3585,7 @@ msgstr "" " Даје позитиван резултат осим ако није дата неисправна опција или ако не " "дође до грешке." -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3480,7 +3595,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3516,7 +3631,7 @@ msgstr "" "дође до грешке.\n" " Ако се користи „-x“, даје излазно стање НАРЕДБЕ." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3526,7 +3641,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3548,7 +3663,8 @@ msgstr "" " Даје позитиван резултат осим ако није дата неисправна опција или " "ОДРЕДБАПОСЛА." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3560,7 +3676,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3592,7 +3709,7 @@ msgstr "" " Даје позитиван резултат осим ако није дата неисправна опција или ако не " "дође до грешке." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3676,7 +3793,7 @@ msgstr "" " Излазно стање:\n" " Ако се последњи АРГ процени на 0, исписује 1; у супротном даје 0." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3697,27 +3814,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3743,7 +3861,7 @@ msgstr "" " -d гран\t наставља све док се не прочита први знак ГРАНИЧНИКА,\n" " \t\t радије него нови ред\n" " -e\t користи читање реда да добије ред у међудејственој шкољци\n" -" -i текст\t Користи ТЕКСТ као почетни текст за читање реда\n" +" -i текст\t користи ТЕКСТ као почетни текст за читање реда\n" " -n n-знака даје резултат након читања знакова N-ЗНАКОВА радије него " "да\n" " \t\t чека на нови ред, али поштује граничника ако је прочитано\n" @@ -3775,7 +3893,7 @@ msgstr "" " или ако се не достави неисправан описник датотеке као аргумент опције „-" "u“." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3795,7 +3913,8 @@ msgstr "" " Излазно стање:\n" " Даје N, или неуспех ако шкољка не извршава функцију или спис." -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3863,7 +3982,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3966,7 +4086,7 @@ msgstr "" " Излазно стање:\n" " Даје позитиван резултат осим ако није дата неисправна опција." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3976,7 +4096,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4007,7 +4127,7 @@ msgstr "" " Даје позитиван резултат осим ако није дата неисправна опција или ако је " "НАЗИВ само за читање." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4041,7 +4161,7 @@ msgstr "" " Даје позитиван резултат осим ако је дата неисправна опција или је НАЗИВ " "неисправан." -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -4053,9 +4173,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4084,7 +4203,7 @@ msgstr "" " Даје позитиван резултат осим ако није дата неисправна опција или ако је " "НАЗИВ неисправан." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4102,7 +4221,7 @@ msgstr "" " Излазно стање:\n" " Резултати су успешни осим ако N није негативно иливеће од $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4126,7 +4245,7 @@ msgstr "" " Даје стање последње извршене наредбе у ДАТОТЕЦИ; не успева\n" " ако назив ДАТОТЕКЕ не може бити прочитан." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4151,7 +4270,7 @@ msgstr "" " Даје позитиван резултат осим ако није укључено управљање послом или ако " "не дође до грешке." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4215,9 +4334,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4295,8 +4414,8 @@ msgstr "" " Остали оператори:\n" " \n" " -o ОПЦИЈА Тачно ако је опција шкољке ОПЦИЈА укључена.\n" -" -v ПРОМ\t Тачно ако је променљива шкољке ПРОМ подешена\n" -" -R ПРОМ\t Тачно ако је променљива шкољке ПРОМ подешена и ако " +" -v ПРОМ Тачно ако је променљива шкољке ПРОМ подешена\n" +" -R ПРОМ Тачно ако је променљива шкољке ПРОМ подешена и ако " "је упута назива.\n" " ! ИЗРАЗ Тачно ако је израз нетачан.\n" " ИЗРАЗ1 -a ИЗРАЗ2 Тачно ако је тачан и израз1 И израз2.\n" @@ -4315,7 +4434,7 @@ msgstr "" "ИЗРАЗ процени\n" " на нетачно или ако је дат неисправан аргумент." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4327,7 +4446,7 @@ msgstr "" " Ово је синоним за уграђеност „test“, али последњи аргумент мора\n" " бити дословна ], да поклопи отворену [." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4346,7 +4465,7 @@ msgstr "" " Излазно стање:\n" " Увек успешно." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4429,7 +4548,7 @@ msgstr "" " Даје позитиван резултат осим за неисправну ОДРЕДБА_СИГНАЛА или за " "неисправну опцију." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4438,18 +4557,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4489,7 +4608,7 @@ msgstr "" " Даје позитиван резултат ако су пронађени сви НАЗИВИ; неуспех ако ниједан " "није пронађен." -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4507,6 +4626,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4518,7 +4638,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4550,6 +4671,7 @@ msgstr "" " -e\tнајвећа хитност заказивања („фино“)\n" " -f\tнајвећа величина датотеке коју запише шкољка и њен пород\n" " -i\tнајвећи број сигнала на чекању\n" +" -k\tнајвећи број к-чекања додељених овом процесу\n" " -l\tнајвећа величина коју процес може да закључа у меморији\n" " -m\tнајвећа величина боравишног скупа\n" " -n\tнајвећи број отворених описника датотеке\n" @@ -4561,7 +4683,8 @@ msgstr "" " -u\tнајвећи број корисничких процеса\n" " -v\tвеличина виртуелне меморије\n" " -x\tнајвећи број закључавања датотеке\n" -" -T највећи број нити\n" +" -P\tнајвећи број псеудотерминала\n" +" -T\tнајвећи број нити\n" " \n" " Нису све опције доступне на свим платформама.\n" " \n" @@ -4580,7 +4703,7 @@ msgstr "" " Даје позитиван резултат осим ако се не достави неисправна опција или ако " "не дође до грешке." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4614,7 +4737,7 @@ msgstr "" " Даје позитиван резултат осим ако је РЕЖИМ неисправан или ако је дата " "неисправна опција." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4647,7 +4770,7 @@ msgstr "" " Исписује стање последњег ИБ-а; неуспех ако је ИБ неисправан или ако је\n" " дата неисправна опција." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4674,7 +4797,7 @@ msgstr "" "дата\n" " неисправна опција." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4696,7 +4819,7 @@ msgstr "" " Излазно стање:\n" " Исписује стање последње извршене наредбе." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4727,7 +4850,7 @@ msgstr "" " Излазно стање:\n" " Исписује стање последње извршене наредбе." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4763,7 +4886,7 @@ msgstr "" " Излазно стање:\n" " Исписује стање последње извршене наредбе." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4792,7 +4915,7 @@ msgstr "" " Излазно стање:\n" " Стање резултата јесте стање резултата СПОЈНОГРЕДА." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4802,15 +4925,15 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" -"Execute commands based on pattern matching.\n" +"Извршава наредбе на основу поклапања шаблона.\n" " \n" -" Selectively execute COMMANDS based upon WORD matching PATTERN. The\n" -" `|' is used to separate multiple patterns.\n" +" Изборно извршава НАРЕДБЕ на основу РЕЧИ која поклапа ШАБЛОН.\n" +" | се користи за раздвајање више шаблона.\n" " \n" " Излазно стање:\n" " Исписује стање последње извршене наредбе." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4848,7 +4971,7 @@ msgstr "" " Излазно стање:\n" " Исписује стање последње извршене наредбе." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4866,7 +4989,7 @@ msgstr "" " Излазно стање:\n" " Исписује стање последње извршене наредбе." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4884,7 +5007,8 @@ msgstr "" " Излазно стање:\n" " Исписује стање последње извршене наредбе." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4894,7 +5018,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Ствара копроцес под називом НАЗИВ.\n" " \n" @@ -4906,7 +5030,7 @@ msgstr "" " Излазно стање:\n" " Даје излазно стање НАРЕДБЕ." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4932,7 +5056,7 @@ msgstr "" " Излазно стање:\n" " Даје позитиван резултат осим ако је НАЗИВ само за читање." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4950,7 +5074,7 @@ msgstr "" " Излазно стање:\n" " Исписује стање последње извршене наредбе." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4974,7 +5098,7 @@ msgstr "" " Излазно стање:\n" " Даје стање настављеног посла." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4992,7 +5116,7 @@ msgstr "" " Излазно стање:\n" " Даје 1 ако се ИЗРАЗ процени на 0; у супротном даје 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5045,7 +5169,7 @@ msgstr "" " Излазно стање:\n" " 0 или 1 у зависности од вредност ИЗРАЗА." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5173,7 +5297,7 @@ msgstr "" " о наредбама које требају бити сачуване на списку " "историјата.\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5183,19 +5307,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5232,7 +5356,7 @@ msgstr "" "замена\n" " директоријума не успе." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5241,16 +5365,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5285,7 +5409,7 @@ msgstr "" "измена\n" " директоријума не успе." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5296,19 +5420,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5340,7 +5464,7 @@ msgstr "" " Даје позитиван резултат осим ако се не достави неисправна опција или ако " "не дође до грешке." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5379,7 +5503,7 @@ msgstr "" "дата\n" " неисправна опција или ако је НАЗИВ_ОПЦИЈЕ искључен." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5396,15 +5520,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5446,7 +5570,7 @@ msgstr "" " Даје позитиван резултат осим ако није дата неисправна опција или ако не\n" " дође до грешке писања или доделе." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5459,11 +5583,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5495,7 +5619,7 @@ msgstr "" " Даје позитиван резултат осим ако се не достави неисправна опција или ако " "не дође до грешке." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5516,7 +5640,7 @@ msgstr "" " Даје позитиван резултат осим ако се не достави неисправна опција или ако " "не дође до грешке." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5572,7 +5696,7 @@ msgstr "" "НАЗИВ\n" " нема одређену одредбу довршавања." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5583,20 +5707,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5621,21 +5746,23 @@ msgstr "" " јесте основни НИЗ.\n" " \n" " Опције:\n" +" -d гранич Користи ГРАНИЧНИК да оконча редове, уместо новог реда\n" " -n број Умножава највише БРОЈ редова. Ако је БРОЈ 0, умножавају " -"се сви редови.\n" +"се сви редови\n" " -O порекло Почиње додељивање НИЗУ при индексу ПОРЕКЛО. Основни " -"индекс је 0.\n" -" -s број Одбацује првих БРОЈ прочитаних редова.\n" -" -t Уклања пратећи нови ред из сваког прочитаног реда.\n" +"индекс је 0\n" +" -s број Одбацује првих БРОЈ прочитаних редова\n" +" -t Уклања пратећи ГРАНИЧНИК из сваког прочитаног реда " +"(основни нови ред)\n" " -u од Чита редове из описника датотеке ОД уместо са стандардног " -"улаза.\n" +"улаза\n" " -C опозив Процењује ОПОЗИВ сваког пута када се прочита КОЛИЧИНА " -"редова.\n" +"редова\n" " -c количина Наводи број прочитаних редова између сваког позива за " -"ОПОЗИВ.\n" +"ОПОЗИВ\n" " \n" " Аргументи:\n" -" НИЗ Назив променљиве низа за податке датотеке.\n" +" НИЗ Назив променљиве низа за податке датотеке\n" " \n" " Ако је „-C“ достављено без „-c“, основна количина је 5000. Када се\n" " процени ОПОЗИВ, достављен је индекс следећег елемента низа који ће\n" @@ -5650,7 +5777,7 @@ msgstr "" "НИЗ само\n" " за читање или није индексирани низ." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5659,3 +5786,21 @@ msgstr "" "Чита редове из датотеке у променљиву низа.\n" " \n" " Синоним за „mapfile“." + +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Ауторска права (C) 2014 Задужбина слободног софтвера, Доо." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Ауторска права (C) 2012 Задужбина слободног софтвера, Доо." diff --git a/po/sv.gmo b/po/sv.gmo index fdb68e56b..ba977e8da 100644 Binary files a/po/sv.gmo and b/po/sv.gmo differ diff --git a/po/sv.po b/po/sv.po index e63def54e..7ae3f0d6f 100644 --- a/po/sv.po +++ b/po/sv.po @@ -1,136 +1,142 @@ # Swedish translation of bash -# Copyright © 2008, 2009, 2010, 2011, 2013, 2014 Free Software Foundation, Inc. +# Copyright © 2008, 2009, 2010, 2011, 2013, 2014, 2015 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. -# Göran Uddeborg , 2008, 2009, 2010, 2011, 2013, 2014. +# Göran Uddeborg , 2008, 2009, 2010, 2011, 2013, 2014, 2015. # -# $Revision: 1.15 $ +# $Revision: 1.20 $ msgid "" msgstr "" -"Project-Id-Version: bash 4.3-rc2\n" +"Project-Id-Version: bash 4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-01-30 22:41+0100\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-11-01 10:54+0100\n" "Last-Translator: Göran Uddeborg \n" "Language-Team: Swedish \n" -"Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "felaktigt vektorindex" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: det gÃ¥r inte att konvertera en indexerad vektor till associativ" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: ogiltig nyckel till associativ vektor" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: det gÃ¥r inte att tilldela till ickenumeriska index" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: mÃ¥ste använda index vid tilldelning av associativ vektor" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: det gÃ¥r inte att skapa: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: det gÃ¥r inte att hitta en tangentbindning för " "kommandot" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: första ickeblanka tecknet är inte '\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" -msgstr "ingen avslutande \"%c\" i %s" +msgstr "ingen avslutande ”%c” i %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: kolonseparator saknas" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "klammerexpansion: kan inte allokera minne för %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "klammerexpansion: misslyckades att allokera minne för %d element" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "klammerexpansion: misslyckades att allokera minne för ”%s”" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" -msgstr "\"%s\": ogiltigt aliasnamn" +msgstr "”%s”: ogiltigt aliasnamn" #: builtins/bind.def:123 builtins/bind.def:126 msgid "line editing not enabled" msgstr "radredigering är inte aktiverat" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" -msgstr "\"%s\": ogiltigt tangentbindningsnamn" +msgstr "”%s”: ogiltigt tangentbindningsnamn" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: det gÃ¥r inte att läsa: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" -msgstr "\"%s\": det gÃ¥r inte att avbinda" +msgstr "”%s”: det gÃ¥r inte att avbinda" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" -msgstr "\"%s\": okänt funktionsnamn" +msgstr "”%s”: okänt funktionsnamn" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s är inte bundet till nÃ¥gra tangenter.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s kan anropas via " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "slingräknare" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" -msgstr "endast meningsfullt i en \"for\"-, \"while\"- eller \"until\"-slinga" +msgstr "endast meningsfullt i en ”for”-, ”while”- eller ”until”-slinga" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -140,300 +146,329 @@ msgstr "" " \n" " Utan UTTR, returnerar " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME är inte satt" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "för mÃ¥nga argument" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "ingen annan katalog" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD är inte satt" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "rad %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "varning: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: användning: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: flaggan kräver ett argument" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: numeriskt argument krävs" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: finns inte" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: ogiltig flagga" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: ogiltigt flaggnamn" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" -msgstr "\"%s\": inte en giltig identifierare" +msgstr "”%s”: inte en giltig identifierare" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "ogiltigt oktalt tal" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "ogiltigt hexadecimalt tal" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "ogiltigt tal" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: ogiltig signalspecifikation" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" -msgstr "\"%s\": inte en pid eller giltig jobbspecifikation" +msgstr "”%s”: inte en pid eller giltig jobbspecifikation" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: endast läsbar variabel" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s utanför giltigt intervall" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argument" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s utanför giltigt intervall" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: inget sÃ¥dant jobb" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: ingen jobbstyrning" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "ingen jobbstyrning" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: begränsat" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "begränsat" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: inte inbyggt i skalet" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "skrivfel: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "fel när terminalattribut ställdes in: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "fel när terminalattribut hämtades: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: fel när aktuell katalog hämtades: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: tvetydig jobbspecifikation" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "hjälp är inte tillgängligt i denna version" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: ogiltigt Ã¥tgärdsnamn" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: ingen kompletteringsspecifikation" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "varning: flaggan -F fungerar kanske inte som du väntar dig" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "varning: flaggan -C fungerar kanske inte som du väntar dig" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "kör inte en kompletteringsfunktion" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "kan endast användas i en funktion" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: en referensvariabel kan inte vara en vektor" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: att en namnreferensvariabel självrefererar är inte tillÃ¥tet" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: cirkulär namnreferens" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: ogiltigt variabelnamn för referens" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" -msgstr "det gÃ¥r inte att använda \"-f\" för att göra funktioner" +msgstr "det gÃ¥r inte att använda ”-f” för att göra funktioner" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: endast läsbar funktion" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: citerad sammansatt tilldelning av vektorer undanbedes" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: det gÃ¥r inte att förstöra vektorvariabler pÃ¥ detta sätt" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: det gÃ¥r inte att konvertera en associativ vektor till indexerad" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "dynamisk laddning är inte tillgängligt" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "det gÃ¥r inte att öppna delat objekt %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "kan inte hitta %s i det delade objektet %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "inläsningsfunktionen för %s returnerar misslyckande (%d): inte inläst" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: inte dynamiskt laddad" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: kan inte ta bort: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: är en katalog" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: inte en normal fil" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: filen är för stor" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: det gÃ¥r inte att köra binär fil" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: kan inte köra: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "utloggning\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" -msgstr "inte ett inloggningsskal: använd \"exit\"" +msgstr "inte ett inloggningsskal: använd ”exit”" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Det finns stoppade jobb.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Det finns körande jobb.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "hittar inget kommando" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "historiespecifikation" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: det gÃ¥r inte att öppna temporärfil: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "aktuell" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "jobb %d startade utan jobbstyrning" @@ -450,39 +485,39 @@ msgstr "%s: flaggan kräver ett argument -- %c\n" #: builtins/hash.def:92 msgid "hashing disabled" -msgstr "hasning avslaget" +msgstr "hashning avslaget" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: hashtabellen tom\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "träffar\tkommando\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Skalkommandon som matchar nyckelordet '" msgstr[1] "Skalkommandon som matchar nyckelorden '" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -"inget hjälpämne matchar \"%s\". Prova \"help help\" eller \"man -k %s\" " -"eller \"info %s\"." +"inget hjälpämne matchar ”%s”. Prova ”help help” eller ”man -k %s” eller " +"”info %s”." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: det gÃ¥r inte att öppna: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -493,24 +528,29 @@ msgid "" "A star (*) next to a name means that the command is disabled.\n" "\n" msgstr "" -"Dessa skalkommandon är definierade internt. Skriv \"help\" för att se\n" -"denna lista. Skriv \"help namn\" för att fÃ¥ reda pÃ¥ mer om funktionen\n" -"\"namn\". Använd \"info bash\" fÃ¥r att fÃ¥ reda pÃ¥ mer om skalet rent\n" -"allmänt. Använd \"man -k\" eller \"info\" för att fÃ¥ reda pÃ¥ mer om\n" +"Dessa skalkommandon är definierade internt. Skriv ”help” för att se\n" +"denna lista. Skriv ”help namn” för att fÃ¥ reda pÃ¥ mer om funktionen\n" +"”namn”. Använd ”info bash” för att fÃ¥ reda pÃ¥ mer om skalet rent\n" +"allmänt. Använd ”man -k” eller ”info” för att fÃ¥ reda pÃ¥ mer om\n" "kommandon som inte är i listan.\n" "\n" "En stjärna (*) bredvid ett namn betyder att det kommandot är avstängt.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "det gÃ¥r inte att använda mer än en av -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "historieposition" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: ogiltigt argument" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: historieexpansionen misslyckades" @@ -522,115 +562,115 @@ msgstr "%s: inlib misslyckades" #: builtins/jobs.def:109 msgid "no other options allowed with `-x'" -msgstr "inga andra flaggor är tillÃ¥tna med \"-x\"" +msgstr "inga andra flaggor är tillÃ¥tna med ”-x”" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" -msgstr "%s: argument mÃ¥ste vara processer eller job-id:n" +msgstr "%s: argument mÃ¥ste vara processer eller jobb-id:n" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Okänt fel" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "uttryck förväntades" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: inte en indexerad vektor" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" -msgstr "%s: ogiltig filidentifierarspecifikation" +msgstr "%s: ogiltig filbeskrivarspecifikation" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: ogiltig filbeskrivare: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: ogiltigt radantal" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: ogiltig vektorstart" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" -msgstr "%s: ogiltigt Ã¥teranropskvanta" +msgstr "%s: ogiltigt kvantum för Ã¥teranrop" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "tomt vektorvariabelnamn" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "stöd för vektorvariabler krävs" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" -msgstr "\"%s\": formateringstecken saknas" +msgstr "”%s”: formateringstecken saknas" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" -msgstr "\"%c\": ogiltig specifikation av tidsformat" +msgstr "”%c”: ogiltig specifikation av tidsformat" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" -msgstr "\"%c\": ogiltigt formateringstecken" +msgstr "”%c”: ogiltigt formateringstecken" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "varning: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "formattolkningsproblem: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "hexadecimal siffra saknas för \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "unicode-siffra saknas för \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "ingen annan katalog" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: ogiltigt argument" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "katalogstacken är tom" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "katalogstackindex" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -654,8 +694,8 @@ msgid "" "\tdirs when invoked without options, starting with zero." msgstr "" "Visa listan av kataloger i minnet just nu. Kataloger hamnar i listan\n" -" med kommandot \"pushd\" command. Du kan komma tillbaka upp genom\n" -" listan med kommandot \"popd\".\n" +" med kommandot ”pushd”. Du kan komma tillbaka upp genom listan med\n" +" kommandot ”popd”.\n" " \n" " Flaggor:\n" " -c\tnollställ katalogstacken genom att bo bort alla elementen\n" @@ -669,10 +709,10 @@ msgstr "" " +N\tVisa den N:e posten räknat frÃ¥n vänster i listan som visas\n" " \tav dirs när det anropas utan flaggor, räknat frÃ¥n noll.\n" " \n" -" -N\tVisa den N:e posten räkntat frÃ¥n höger i listan som visas\n" +" -N\tVisa den N:e posten räknat frÃ¥n höger i listan som visas\n" "\tav dirs när det anropas utan flaggor, räknat frÃ¥n noll." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -706,19 +746,19 @@ msgstr "" " \n" " Argument:\n" " +N\tRoterar stacken sÃ¥ att den N:e katalogen (räknat frÃ¥n\n" -" \tvänster i listan som visas av \"dirs\", med början pÃ¥ noll) hamnar\n" +" \tvänster i listan som visas av ”dirs”, med början pÃ¥ noll) hamnar\n" " \tpÃ¥ toppen.\n" " \n" " -N\tRoterar stacken sÃ¥ att den N:e katalogen (räknat frÃ¥n\n" -" \thöger i listan som visas av \"dirs\", med början pÃ¥ noll) hamnar\n" +" \thöger i listan som visas av ”dirs”, med början pÃ¥ noll) hamnar\n" " \tpÃ¥ toppen.\n" " \n" " kat\tLägger till KAT till toppen av katalogstacken, och gör den\n" " \ttill den nya aktuella arbetskatalogen.\n" " \n" -" Den inbyggda \"dirs\" visar katalogstacken." +" Den inbyggda ”dirs” visar katalogstacken." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -747,153 +787,163 @@ msgstr "" " \n" " Arguments:\n" " +N\tTar bort den N:e posten räknat frÃ¥n vänster i listan\n" -" \tsom visas av \"dirs\", med början pÃ¥ noll. Till exempel: \"popd +0\"\n" -" \ttar bort den första katalogen, \"popd +1\" den andra.\n" +" \tsom visas av ”dirs”, med början pÃ¥ noll. Till exempel: ”popd +0”\n" +" \ttar bort den första katalogen, ”popd +1” den andra.\n" " \n" " -N\tTar bort den N:e posten räknat frÃ¥n höger i listan\n" -" \tsom visas av \"dirs\", med början pÃ¥ noll. Till exempel: \"popd -0\"\n" -" \ttar bort den sista katalogen, \"popd -1\" den näst sista.\n" +" \tsom visas av ”dirs”, med början pÃ¥ noll. Till exempel: ”popd -0”\n" +" \ttar bort den sista katalogen, ”popd -1” den näst sista.\n" " \n" -" Den inbyggda \"dirs\" visar katalogstacken." +" Den inbyggda ”dirs” visar katalogstacken." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: ogiltig tidsgränsspecifikation" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "läsfel: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" -"det gÃ¥r bara att göra \"return\" frÃ¥n en funktion eller källinläst skript" +"det gÃ¥r bara att göra ”return” frÃ¥n en funktion eller källinläst skript" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "det gÃ¥r inte att samtidigt ta bort en funktion och en variabel" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: det gÃ¥r inte att ta bort tilldelning" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: det gÃ¥r inte att ta bort tilldelning: endast läsbar %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: inte en vektorvariabel" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: inte en funktion" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: det gÃ¥r inte att exportera" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "skiftantal" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "det gÃ¥r inte att sätta och ta bort skalflaggor samtidigt" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: ogiltigt skalflaggsnamn" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "filnamnsargument krävs" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: filen finns inte" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "det gÃ¥r inte att suspendera" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "det gÃ¥r inte att suspendera ett inloggningsskal" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" -msgstr "%s är ett alias för \"%s\"\n" +msgstr "%s är ett alias för ”%s”\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s är ett nyckelord i skalet\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s är en funktion\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s är en special inbyggd i skalet\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s är inbyggt i skalet\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s är %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s är hashad (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: ogiltigt gränsargument" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" -msgstr "\"%c\": felaktigt kommando" +msgstr "”%c”: felaktigt kommando" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: kan inte avgöra gränsen: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "gräns" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: kan inte ändra gränsen: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "oktalt tal" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" -msgstr "\"%c\": ogiltig operator för symboliskt läge" +msgstr "”%c”: ogiltig operator för symboliskt läge" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" -msgstr "\"%c\": ogiltigt tecken för symboliskt läge" +msgstr "”%c”: ogiltigt tecken för symboliskt läge" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " rad " @@ -907,82 +957,103 @@ msgstr "senaste kommando: %s\n" msgid "Aborting..." msgstr "Avbryter..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "INFORMATION: " + +#: error.c:463 msgid "unknown command error" msgstr "okänt kommandofel" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "felaktig kommandotyp" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "felaktig anslutning" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "felaktigt hopp" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: obunden variabel" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\atiden gick ut i väntan pÃ¥ indata: automatisk utloggning\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" -msgstr "det gÃ¥r inte att omdiregera standard in frÃ¥n /dev/null: %s" +msgstr "det gÃ¥r inte att omdirigera standard in frÃ¥n /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" -msgstr "TIMEFORMAT: \"%c\": ogiltigt formateringstecken" +msgstr "TIMEFORMAT: ”%c”: ogiltigt formateringstecken" + +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" -#: execute_cmd.c:2287 +#: execute_cmd.c:2377 msgid "pipe error" msgstr "rörfel" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: maximal nästning av eval överskriden (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: maximal nästning av source överskriden (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: maximal nästning av funktioner överskriden (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" -msgstr "%s: begränsat: det gÃ¥r inte att ange \"/\" i kommandonamn" +msgstr "%s: begränsat: det gÃ¥r inte att ange ”/” i kommandonamn" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: kommandot finns inte" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: felaktig tolk" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: det gÃ¥r inte att köra binär fil: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "”%s”: är en speciell inbyggd" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "det gÃ¥r inte att duplicera fb %d till fb %d" @@ -1009,11 +1080,11 @@ msgstr "division med 0" #: expr.c:542 msgid "bug: bad expassign token" -msgstr "bug: felaktig expassign-token" +msgstr "fel: felaktig expassign-symbol" #: expr.c:595 msgid "`:' expected for conditional expression" -msgstr "\":\" förväntades i villkorligt uttryck" +msgstr "”:” förväntades i villkorligt uttryck" #: expr.c:919 msgid "exponent less than 0" @@ -1025,39 +1096,39 @@ msgstr "en identifierare förväntades efter pre-ökning eller pre-minskning" #: expr.c:1002 msgid "missing `)'" -msgstr "\")\" saknas" +msgstr "”)” saknas" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "syntaxfel: en operand förväntades" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "syntaxfel: ogiltig aritmetisk operator" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" -msgstr "%s%s%s: %s (felsymbol är \"%s\")" +msgstr "%s%s%s: %s (felsymbol är ”%s”)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "ogiltig aritmetisk bas" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "värdet är för stort för basen" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: uttrycksfel\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: det gÃ¥r inte att komma Ã¥t föräldrakatalogen" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "det gÃ¥r inte att Ã¥terställa fördröjningsfritt läge för fb %d" @@ -1073,148 +1144,148 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: buffert finns redan för ny fb %d" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp rör" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" -msgstr "avgrenad pid %d fins i körande jobb %d" +msgstr "avgrenad pid %d finns i körande jobb %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "tar bort stoppat jobb %d med processgrupp %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: process %5ld (%s) i the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) markerad som fortfarande vid liv" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: ingen sÃ¥dan pid" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Signal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Klart" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" -msgstr "Stoppat" +msgstr "Stoppad" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" -msgstr "Stoppat(%s)" +msgstr "Stoppad(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Kör" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Klart(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Avslut %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Okänd status" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(minnesutskrift skapad) " -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (ak: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "barns setpgid (%ld till %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld är inte ett barn till detta skal" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Ingen uppgift om process %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: jobb %d är stoppat" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: jobbet har avslutat" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: jobb %d är redan i bakgrunden" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: slÃ¥r pÃ¥ WNOHANG för att undvika oändlig blockering" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: rad %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (minnesutskrift skapad)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(ak nu: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp misslyckades" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: linjedisciplin" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "det gÃ¥r inte att sätta terminalprocessgrupp (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "ingen jobbstyrning i detta skal" @@ -1266,19 +1337,19 @@ msgstr "realloc: underspill upptäckt: mh_nbytes utanför giltigt intervall" #: lib/malloc/malloc.c:1026 msgid "realloc: start and end chunk sizes differ" -msgstr "realloc: start- och slutstycesstorlekar skiljer" +msgstr "realloc: start- och slutstyckesstorlekar skiljer" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: allokeringstabellen är full med FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p finns redan i tabellen som allokerat?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p finns redan i tabellen som fritt?\n" @@ -1302,7 +1373,7 @@ msgstr "%s: ogiltig tjänst" msgid "%s: bad network path specification" msgstr "%s: felaktig specifikation av nätverkssökväg" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "nätverksoperationer stöds inte" @@ -1339,225 +1410,260 @@ msgstr "Du har ny post i $_" msgid "The mail in %s has been read\n" msgstr "Posten i %s har lästs\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "syntaxfel: aritmetiskt uttryck krävs" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" -msgstr "syntaxfel: oväntat \";\"" +msgstr "syntaxfel: oväntat ”;”" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" -msgstr "syntaxfel: \"((%s))\"" +msgstr "syntaxfel: ”((%s))”" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: felaktig instruktionstyp %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" -msgstr "här-dokument pÃ¥ rad %d avgränsas av filslut (ville ha \"%s\")" +msgstr "här-dokument pÃ¥ rad %d avgränsas av filslut (ville ha ”%s”)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "" -"make_redirection: omdirigeringsinstruktion \"%d\" utanför giltigt intervall" +"make_redirection: omdirigeringsinstruktion ”%d” utanför giltigt intervall" + +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "maximalt antal av här-dokument överskridet" -#: parse.y:3278 parse.y:3561 +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" -msgstr "oväntat filslut vid sökning efter matchande \"%c\"" +msgstr "oväntat filslut vid sökning efter matchande ”%c”" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" -msgstr "oväntat filslut vid sökning efter \"]]\"" +msgstr "oväntat filslut vid sökning efter ”]]”" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" -msgstr "syntaxfel i villkorligt uttryck: oväntad symbol \"%s\"" +msgstr "syntaxfel i villkorligt uttryck: oväntad symbol ”%s”" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "syntaxfel i villkorligt uttryck" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" -msgstr "oväntad symbol \"%s\", \")\" förväntades" +msgstr "oväntad symbol ”%s”, ”)” förväntades" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" -msgstr "\")\" förväntades" +msgstr "”)” förväntades" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" -msgstr "oväntat argument \"%s\" till villkorlig unär operator" +msgstr "oväntat argument ”%s” till villkorlig unär operator" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "oväntat argument till villkorlig unär operator" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" -msgstr "oväntad symbol \"%s\", villkorlig binär operator förväntades" +msgstr "oväntad symbol ”%s”, villkorlig binär operator förväntades" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" -msgstr "villkorlig binär operato förväntades" +msgstr "villkorlig binär operator förväntades" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" -msgstr "oväntat argument \"%s\" till villkorlig binär operator" +msgstr "oväntat argument ”%s” till villkorlig binär operator" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "oväntat argument till villkorlig binär operator" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" -msgstr "oväntad symbol \"%c\" i villkorligt kommando" +msgstr "oväntad symbol ”%c” i villkorligt kommando" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" -msgstr "oväntad symbol \"%s\" i villkorligt kommando" +msgstr "oväntad symbol ”%s” i villkorligt kommando" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "oväntad symbol %d i villkorligt kommando" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" -msgstr "syntaxfel nära den oväntade symbolen \"%s\"" +msgstr "syntaxfel nära den oväntade symbolen ”%s”" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" -msgstr "syntaxfel nära \"%s\"" +msgstr "syntaxfel nära ”%s”" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "syntaxfel: oväntat filslut" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "syntaxfel" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" -msgstr "Använd \"%s\" fär att lämna skalet.\n" +msgstr "Använd ”%s” för att lämna skalet.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" -msgstr "oväntat filslut när matchande \")\" söktes" +msgstr "oväntat filslut när matchande ”)” söktes" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" -msgstr "komplettering: funktion \"%s\" finns inte" +msgstr "komplettering: funktion ”%s” finns inte" + +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" -msgstr "print_command: felaktig anslutning \"%d\"" +msgstr "print_command: felaktig anslutning ”%d”" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: ogiltig filbeskrivare" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: NULL-filpekare" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" -msgstr "cprintf: \"%c\": ogiltigt formateringstecken" +msgstr "cprintf: ”%c”: ogiltigt formateringstecken" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "filbeskrivare utanför giltigt intervall" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: tvetydig omdirigering" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" -msgstr "%s: begränsad: det gÃ¥r inte att skriva över en existerande fil" +msgstr "%s: det gÃ¥r inte att skriva över en existerande fil" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" -msgstr "%s: begränsad: det gÃ¥r inte att omdirigera utdata" +msgstr "%s: begränsat: det gÃ¥r inte att omdirigera utdata" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "det gÃ¥r inte att skapa temporärfil för här-dokument: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: det gÃ¥r inte att tilldela fb till variabel" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port stöds inte utan nätverksfunktion" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "omdirigeringsfel: det gÃ¥r inte att duplicera fb" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "hittade inte /tmp, var god skapa!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp mÃ¥ste vara ett giltigt katalognamn" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: ogiltig flagga" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "det gÃ¥r sätta uid till %d: effektiv uid %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "det gÃ¥r inte att sätta gid till %d: effektiv gid %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: är en katalog" + +#: shell.c:1777 msgid "I have no name!" msgstr "Jag har inget namn!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, version %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1566,48 +1672,59 @@ msgstr "" "Användning:\t%s [GNU lÃ¥ng flagga] [flagga] ...\n" "\t\t%s [GNU lÃ¥ng flagga] [flagga] skriptfil ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU lÃ¥nga flaggor:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Skalflaggor:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-ilrsD eller -c kommando eller -O shopt_flagga\t\t(bara uppstart)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s eller -o flagga\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" -msgstr "Skriv \"%s -c 'help set'\" för mer information om skalflaggor.\n" +msgstr "Skriv ”%s -c 'help set'” för mer information om skalflaggor.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" -msgstr "Skriv \"%s -c help\" för mer information om inbyggda skalkommandon.\n" +msgstr "Skriv ”%s -c help” för mer information om inbyggda skalkommandon.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "" -"Använd kommandot \"bashbug\" för att rapportera fel.\n" +"Använd kommandot ”bashbug” för att rapportera fel.\n" "Skicka synpunkter pÃ¥ översättningen till .\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "bash hemsida: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" +"Allmän hjälp i att använda GNU-program: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: ogiltig operation" #: siglist.c:48 msgid "Bogus signal" -msgstr "Felatkig signal" +msgstr "Felaktig signal" #: siglist.c:51 msgid "Hangup" @@ -1739,7 +1856,7 @@ msgstr "strömavbrott omedelbart förestÃ¥ende" #: siglist.c:191 msgid "system crash imminent" -msgstr "systemkrash omedelbart förestÃ¥ende" +msgstr "systemkrasch omedelbart förestÃ¥ende" #: siglist.c:195 msgid "migrate process to another CPU" @@ -1755,11 +1872,11 @@ msgstr "HFT-övervakningsläge givet" #: siglist.c:207 msgid "HFT monitor mode retracted" -msgstr "HFT-överakare borttagen" +msgstr "HFT-övervakare borttagen" #: siglist.c:211 msgid "HFT sound sequence has completed" -msgstr "HFT-ljudsekevens har avslutat" +msgstr "HFT-ljudsekvens har avslutat" #: siglist.c:215 msgid "Information request" @@ -1774,93 +1891,108 @@ msgstr "Okänd signal nr " msgid "Unknown Signal #%d" msgstr "Okänd signal nr %d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" -msgstr "felaktig substitution: ingen avslutande \"%s\" i %s" +msgstr "felaktig substitution: ingen avslutande ”%s” i %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: det gÃ¥r inte att tilldela listor till vektormedlemmar" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "det gÃ¥r inte att skapa rör för processubstitution" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "det gÃ¥r inte att skapa barn för processubstitution" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "det gÃ¥r inte att öppna namngivet rör %s för läsning" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "det gÃ¥r inte att öppna namngivet rör %s för skrivning" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "det gÃ¥r inte att duplicera namngivet rör %s som fb %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "felaktig ersättning: ingen avslutande ”`” i %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "det gÃ¥r inte att skapa rör för kommandosubstitution" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "det gÃ¥r inte att skapa barn för kommandosubstitution" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: det gÃ¥r inte att duplicera rör som fb 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: ogiltigt variabelnamn för referens" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: felaktig substitution" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: felaktig indirekt expansion" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: felaktigt variabelnamn" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parametern tom eller inte satt" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: delstränguttryck < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: felaktig substitution" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: det gÃ¥r inte att tilldela pÃ¥ detta sätt" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" "framtida versioner av skalet kommer att framtvinga evaluering som en " -"aritmetisk substition" +"aritmetisk substitution" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" -msgstr "felaktig ersättning: ingen avslutande \"`\" i %s" +msgstr "felaktig ersättning: ingen avslutande ”`” i %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" -msgstr "ingen match: %s" +msgstr "ingen matchning: %s" #: test.c:147 msgid "argument expected" @@ -1871,39 +2003,39 @@ msgstr "argument förväntades" msgid "%s: integer expression expected" msgstr "%s: heltalsuttryck förväntades" -#: test.c:264 +#: test.c:265 msgid "`)' expected" -msgstr "\")\" förväntades" +msgstr "”)” förväntades" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" -msgstr "\")\" förväntades, fann %s" +msgstr "”)” förväntades, fann %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: unär operator förväntades" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: binär operator förväntades" -#: test.c:860 +#: test.c:869 msgid "missing `]'" -msgstr "\"]\" saknas" +msgstr "”]” saknas" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "ogiltigt signalnummer" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: felaktigt värde i trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1911,86 +2043,87 @@ msgstr "" "run_pending_traps: signalhanterare är SIG_DFL, skickar om %d (%s) till mig " "själv" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: felaktig signal %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" -msgstr "fel vid import av funktionsdefinition för \"%s\"" +msgstr "fel vid import av funktionsdefinition för ”%s”" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "skalnivÃ¥ (%d) för hög, Ã¥terställer till 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: cirkulär namnreferens" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: ingen funktionskontext i aktuellt sammanhang" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: variabeln fÃ¥r inte tilldelas ett värde" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: ogiltigt variabelnamn för referens" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: ingen funktionskontext i aktuellt sammanhang" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s har tom exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "ogiltigt tecken %d i exportstr för %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" -msgstr "inget \"=\" i exportstr för %s" +msgstr "inget ”=” i exportstr för %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" "pop_var_context: huvudet pÃ¥ shell_variables är inte en funktionskontext" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: ingen kontext global_variables" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: huvudet pÃ¥ shell_variables är inte en temporär omgivningsräckvidd" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: gÃ¥r inte att öppna som FILE" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: ogiltigt värde för spÃ¥rningsfilbeskrivare" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: kompatibilitetsvärde utanför giltigt intervall" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Copyright © 2013 Free Software Foundation, Inc." +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Copyright © 2015 Free Software Foundation, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2008,16 +2141,12 @@ msgstr "GNU bash, version %s (%s)\n" #: version.c:91 version2.c:91 msgid "This is free software; you are free to change and redistribute it." msgstr "" -"Detta är fri programvara, det fÃ¥r fritt ändra och vidaredistribuera den." +"Detta är fri programvara, du fÃ¥r fritt ändra och vidaredistribuera den." #: version.c:92 version2.c:92 msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Det finns INGEN GARANTI, sÃ¥ lÃ¥ngt lagen tillÃ¥ter." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Copyright © 2012 Free Software Foundation, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2038,129 +2167,117 @@ msgstr "%s: %s:%d: det gÃ¥r inte att allokera %lu byte (%lu byte allokerade)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: det gÃ¥r inte att allokera %lu byte" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [namn[=värde] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] namn [namn ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -"bind [-lpvsPVSX] [-m tangentkarta] [-f filenamn] [-q namn] [-u namn] [-r " +"bind [-lpvsPVSX] [-m tangentkarta] [-f filnamn] [-q namn] [-u namn] [-r " "tangentsekv] [-x tangentsekv:skalkommando] [tangentsekv:readline-funktion " "eller readline-kommando]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [skalinbyggd [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [uttr]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-L|[-P [-e]] [-@] [kat]" +msgstr "cd [-L|[-P [-e]] [-@]] [kat]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] kommando [arg ...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [namn[=värde] …]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] namn[=värde] ..." - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] namn[=värde] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [flagga] namn[=värde] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" -msgstr "enable [-a] [-dnps] [-f filenamn] [namn ...]" +msgstr "enable [-a] [-dnps] [-f filnamn] [namn ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts flgsträng namn [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a namn] [kommando [argument ...]] [omdirigering ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e rnamn] [-lnr] [första] [sista] eller fc -s [mnst=ers] [kommando]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [jobbspec]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [jobbspec ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p sökväg] [-dt] [namn ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [mönster ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2168,15 +2285,16 @@ msgstr "" "history [-c] [-d avstÃ¥nd] [n] eller history -anrw [filnamn] eller history -" "ps arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [jobbspec ...] eller jobs -x kommando [arg]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [jobbspec ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2184,11 +2302,11 @@ msgstr "" "kill [-s sigspec | -n signum | -sigspec] pid | jobbspec ... eller kill -l " "[sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2196,99 +2314,95 @@ msgstr "" "read [-ers] [-a vektor] [-d avgr] [-i text] [-n ntkn] [-N ntkn] [-p prompt] " "[-t tidgräns] [-u fb] [namn ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o flaggnamn] [--] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [namn …]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [namn[=värde] ...] eller export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [namn[=värde] ...] eller readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" -msgstr "skift [n]" +msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source filnamn [argument]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". filnamn [argument]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [uttr]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] signalspec ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] namn [namn ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [gräns]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [gräns]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [rättigheter]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [id …]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [pid …]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for NAMN [in ORD ... ] ; do KOMMANDON; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( utr1; utr2; utr3 )); do KOMMANDON; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NAMN [in ORD ... ;] do KOMMANDON; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] rör" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case ORD in [MÖNSTER [| MÖNSTER]...) KOMMANDON ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2296,63 +2410,63 @@ msgstr "" "if KOMMANDON; then KOMMANDON; [ elif KOMMANDON; then KOMMANDON; ]... [ else " "KOMMANDON; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while KOMMANDON; do KOMMANDON; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until KOMMANDON; do KOMMANDON; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [NAMN] kommando [omdirigeringar]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function namn { KOMMANDON ; } or namn () { KOMMANDON ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ KOMMANDON ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "jobbspec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( uttryck ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ uttryck ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variabler - Namn och betydelse av nÃ¥gra skalvariabler" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | kat]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [flgnamn ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] format [argument]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2362,28 +2476,28 @@ msgstr "" "W ordlista] [-F funktion] [-C kommando] [-X filtermnst] [-P prefix] [-S " "suffix] [namn ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o flagga] [-A Ã¥tgärd] [-G globmnst] [-W " "ordlista] [-F funktion] [-C kommando] [-X filtermnst] [-P prefix] [-S " "suffix] [ord]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o flagga] [-DE] [namn ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n antal] [-O start] [-s antal] [-t] [-u fb] [-C Ã¥teranrop] [-c " -"kvanta] [vektor]" +"mapfile [-d avgränsare] [-n antal] [-O start] [-s antal] [-t] [-u fb] [-C " +"Ã¥teranrop] [-c kvanta] [vektor]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2391,7 +2505,7 @@ msgstr "" "readarray [-n antal] [-O start] [-s antal] [-t] [-u fb] [-C Ã¥teranrop] [-c " "kvanta] [vektor]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2403,7 +2517,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2412,38 +2526,38 @@ msgid "" msgstr "" "Definiera eller visa alias.\n" " \n" -" Utan argumen skriver \"alias\" listan pÃ¥ alias pÃ¥ den Ã¥teranvändbara " +" Utan argument skriver ”alias” listan pÃ¥ alias pÃ¥ den Ã¥teranvändbara " "formen\n" -" \"alias NAMN=VÄRDE\" pÃ¥ standard ut.\n" +" ”alias NAMN=VÄRDE” pÃ¥ standard ut.\n" " \n" " Annars är ett alias definierat för varje NAMN vars VÄRDE är angivet.\n" -" Ett avlutande blanktecken i VÄRDE gör att nästa ord undersöks för\n" +" Ett avslutande blanktecken i VÄRDE gör att nästa ord undersöks för\n" " aliassubstitution när aliaset expanderas.\n" " \n" " Flaggor:\n" -" -p\tSkriv alla definerade alias i pÃ¥ en Ã¥teranvändbar form\n" +" -p\tskriv alla definierade alias pÃ¥ en Ã¥teranvändbar form\n" " \n" " Slutstatus:\n" " alias returnerar sant om inte ett NAMN ges för vilket inget alias har\n" " definierats." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Ta bort alla NAMN frÃ¥n listan med definierade alias.\n" " \n" " Flaggor:\n" -" -a\tta bort alla aliasdefinitioner.\n" +" -a\tta bort alla aliasdefinitioner\n" " \n" " Returnerar framgÃ¥ng om inte ett NAMN inte är ett existerande alias." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2477,7 +2591,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2499,20 +2614,21 @@ msgstr "" "move,\n" " vi-command och vi-insert.\n" " -l Lista namnen pÃ¥ funktioner.\n" -" -P List funktionsnamn och bindningar.\n" -" -p List funktioner och bindningar pÃ¥ ett sätt som kan\n" +" -P Lista funktionsnamn och bindningar.\n" +" -p Lista funktioner och bindningar pÃ¥ ett sätt som " +"kan\n" " Ã¥teranvändas som indata.\n" " -S Lista tangentsekvenser som anropar makron och " "deras\n" " värden.\n" -" -s Lista tangentskevenser som anropar makron och " +" -s Lista tangentsekvenser som anropar makron och " "deras\n" " värden pÃ¥ ett sätt som kan Ã¥teranvändas som " "indata.\n" " -V Lista variabelnamn och värden\n" " -v Lista variabelnamn och värden pÃ¥ ett sätt som kan\n" " Ã¥teranvändas som indata.\n" -" -q funktionsnamn FrÃ¥ga efter vilka tangenter som anroper den " +" -q funktionsnamn FrÃ¥ga efter vilka tangenter som anropar den " "namngivna\n" " funktionen\n" " -u funktionsnamn Tag bort alla tangenter som är bundna till den\n" @@ -2521,14 +2637,15 @@ msgstr "" " -f filnamn Läs tangentbindningar frÃ¥n FILNAMN.\n" " -x tangentsekv:skalkommando Gör sÃ¥ att SKALKOMMANDO körs när\n" " \t\t\t\t TANGENTSEKV skrivs.\n" -" -X\t\t Lista tangentsekvenser bundna med -x och tillhörande\n" +" -X Lista tangentsekvenser bundna med -x och " +"tillhörande\n" " kommandon pÃ¥ ett format som kan Ã¥teranvändas som\n" " indata.\n" " \n" " Slutstatus:\n" " bind returnerar 0 om inte en okänd flagga ges eller ett fel inträffar." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2546,7 +2663,7 @@ msgstr "" " Slutstatus:\n" " Returvärdet är 0 förutsatt att N är större eller lika med 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2565,7 +2682,7 @@ msgstr "" " Slutstatus:\n" " Slutstatus är 0 förutsatt att N är större eller lika med 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2587,11 +2704,11 @@ msgstr "" " skalfunktionen.\n" " \n" " Slutstatus:\n" -" Returnerar slutstatus frÃ¥n SKALINBYGGD, eller falkst om SKALINBYGGD " +" Returnerar slutstatus frÃ¥n SKALINBYGGD, eller falskt om SKALINBYGGD " "inte\n" " är inbyggd i skalet." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2608,8 +2725,8 @@ msgid "" msgstr "" "Returnera kontexten för det aktuella funktionsanropet.\n" " \n" -" Utan UTTR, returneras \"$rad $filnamn\". Med UTTR, returneras\n" -" \"$rad $subrutin $filnamn\". Denna extra information kan användas för\n" +" Utan UTTR, returneras ”$rad $filnamn”. Med UTTR, returneras\n" +" ”$rad $subrutin $filnamn”. Denna extra information kan användas för\n" " att ge en stackspÃ¥rning.\n" " \n" " Värdet pÃ¥ UTTR indikerar hur mÃ¥nga anropsramar att gÃ¥ tillbaka före den\n" @@ -2619,7 +2736,7 @@ msgstr "" " Returnerar 0 om inte skalet inte kör en skalfunktion eller UTTR är\n" " ogiltigt." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2642,16 +2759,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2689,7 +2806,7 @@ msgstr "" "attribut\n" " som en katalog som innehÃ¥ller filattributen\n" " \n" -" Standardvärde är att följa symboliska längar, som om ”-L” vore angivet.\n" +" Standardvärde är att följa symboliska länkar, som om ”-L” vore angivet.\n" " ”..” behandlas genom att ta bort den omedelbart föregÃ¥ende\n" " sökvägskomponenten tillbaka till ett snedstreck eller början av KAT\n" " \n" @@ -2697,13 +2814,13 @@ msgstr "" " Returnerar 0 om katalogen är ändrad, och om $PWD satts korrekt om -P\n" " angetts; skilt frÃ¥n noll annars." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2716,17 +2833,17 @@ msgstr "" " \n" " Flaggor:\n" " -L\tskriv värdet pÃ¥ $PWD om det är namnet pÃ¥ den aktuella\n" -" \tarbetskatalogen\n" +" \t\tarbetskatalogen\n" " -P\tskriv den fysiska katalogen, utan nÃ¥gra symboliska länkar\n" " \n" -" Som standard beter sig \"pwd\" som om \"-L\" vore angivet.\n" +" Som standard beter sig ”pwd” som om ”-L” vore angivet.\n" " \n" " Slutstatus:\n" " Returnerar 0 om inte en ogiltig flagga anges eller den aktuella " "katalogen\n" " inte kan läsas." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2742,7 +2859,7 @@ msgstr "" " Slutstatus:\n" " Lyckas alltid." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2754,7 +2871,7 @@ msgstr "" " Slutstatus:\n" " Lyckas alltid." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2766,7 +2883,7 @@ msgstr "" " Slutstatus:\n" " Misslyckas alltid." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2776,10 +2893,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2791,17 +2908,17 @@ msgstr "" " anropa kommandon pÃ¥ disk när det finns en funktion med samma namn.\n" " \n" " Flaggor:\n" -" -p\tanvänd ett standardvärde pÃ¥ PATH som är garanterat att hitta\n" -" \talla standardverktygen\n" -" -v\tskriv en beskrivning av KOMMANDO liknande den inbyggda \"type\"\n" -" -V\tskriv en mer utförlig beskrivning om varje KOMMANDO\n" +" -p använd ett standardvärde pÃ¥ PATH som är garanterat att hitta\n" +" \t alla standardverktygen\n" +" -v skriv en beskrivning av KOMMANDO liknande den inbyggda ”type”\n" +" -V skriv en mer utförlig beskrivning om varje KOMMANDO\n" " \n" " Slutstatus:\n" " Returnerar slutstatus frÃ¥n KOMMANDO, eller misslyckande om KOMMANDO " "inte\n" " finns." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2811,9 +2928,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2848,46 +2965,47 @@ msgstr "" " Flaggor:\n" " -f\tbegränsa Ã¥tgärden till att visa funktionsnamn och -definitioner\n" " -F\tbegränsa visandet till endast funktionsnamn (plus radnummer\n" -" \toch källkodsfil vid felsökning)\n" +" \t\toch källkodsfil vid felsökning)\n" " -g\tskapa globala variabler när använt i en skalfunktion, ignoreras\n" -" \ti övrigt\n" +" \t\ti övrigt\n" " -p\tvisa attributen och värden pÃ¥ varje NAMN\n" " \n" " Flaggor som sätter attribut:\n" " -a\tför att göra NAMN till indexerade vektorer (om det stöds)\n" " -A\tför att göra NAMN till associativa vektorer (om det stöds)\n" -" -i\tför att ge NAMN attributet \"heltal\"\n" +" -i\tför att ge NAMN attributet ”heltal”\n" " -l\tför att konvertera NAMN till gemena vid tilldelning\n" -" -n\tgör NAMN till en referens till variablen som namnges som värde\n" +" -n\tgör NAMN till en referens till variabeln som namnges som värde\n" " -r\tför att göra NAMN endast läsbart\n" -" -t\tför att ge NAMN attributet \"spÃ¥ra\"\n" +" -t\tför att ge NAMN attributet ”spÃ¥ra”\n" " -u\tför att konvertera NAMN till versaler vid tilldelning\n" " -x\tför att exportera NAMN\n" " \n" -" Användning av \"+\" istället för \"-\" slÃ¥r av det angivna attributet.\n" +" Användning av ”+” istället för ”-” slÃ¥r av det angivna attributet.\n" " \n" -" För variabler med attributet heltal utförs atitmetisk beräkning (se\n" -" kommandot \"let\") när variabeln tilldelas ett värde.\n" +" För variabler med attributet heltal utförs aritmetisk beräkning (se\n" +" kommandot ”let”) när variabeln tilldelas ett värde.\n" " \n" -" Vid användning i en funktion gör \"declare\" NAMN lokala, som med " +" Vid användning i en funktion gör ”declare” NAMN lokala, som med " "kommandot\n" -" \"local\". Flaggan \"-g\" Ã¥sidosätter detta beteende.\n" +" ”local”. Flaggan ”-g” Ã¥sidosätter detta beteende.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller ett fel vid\n" " variabeltilldelning inträffar." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Sätt variabelvärden och -attribut.\n" " \n" -" FörÃ¥ldrat. Se \"help declare\"." +" FörÃ¥ldrat. Se ”help declare”." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2912,9 +3030,9 @@ msgstr "" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges, ett fel vid\n" -" variabeltilldelning inträffar eller skalet inte exekverar en funktion." +" variabeltilldelning inträffar eller skalet inte exekverar en funktion." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2940,9 +3058,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -2970,14 +3088,14 @@ msgstr "" " \\v\tvertikal tabulator\n" " \\\\\tbakstreck\n" " \\0nnn\ttecknet vars ASCII-kod är NNN (oktalt). NNN kan vara\n" -" \t0 till 3 oktala siffror\n" +" \t\t0 till 3 oktala siffror\n" " \\xHH\tdet Ã¥ttabitarstecken vars värde är HH (hexadecimalt). HH\n" -" \tkan vara en eller tvÃ¥ hexadecimala siffror\n" +" \t\tkan vara en eller tvÃ¥ hexadecimala siffror\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte ett skrivfel inträffar." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2999,7 +3117,7 @@ msgstr "" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte ett skrivfel inträffar." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3036,24 +3154,24 @@ msgstr "" " \taktiverade eller ej\n" " -n\tavaktivera varje NAMN eller visa en lista av avaktiverade\n" " \tkommandon\n" -" -p\tskriv listan av inbyggda kommandon pÃ¥ en Ã¥teranvändningsbar\n" +" -p\tskriv listan av inbyggda kommandon pÃ¥ en Ã¥teranvändbar\n" " \tform\n" -" -s\tskriv endast namnen pÃ¥ Posix \"special\"-inbyggda\n" +" -s\tskriv endast namnen pÃ¥ Posix ”special”-inbyggda\n" " \n" " Flaggor som styr dynamisk inläsning:\n" -" -f\tLäs int inbyggt NAMN frÃ¥n en delad objektfil FILNAMN\n" +" -f\tLäs in inbyggt NAMN frÃ¥n en delad objektfil FILNAMN\n" " -d\tTa bort en inbyggd inläst med -f\n" " \n" " Utan flaggor aktiveras varje NAMN.\n" " \n" -" För att använda den \"test\" som finns i sökvägen istället för den i\n" -" skalet inbyggda versionen, skriv \"enable -n test\".\n" +" För att använda den ”test” som finns i sökvägen istället för den i\n" +" skalet inbyggda versionen, skriv ”enable -n test”.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte NAMN inte är inbyggd i skalet eller ett fel\n" " inträffar." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3073,7 +3191,7 @@ msgstr "" " Slutstatus:\n" " Returnerar slutstatus av kommandot eller framgÃ¥ng om kommandot är tomt." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3125,7 +3243,7 @@ msgstr "" " Varje gÃ¥ng det anropas kommer getopts placera nästa flagga i skal-\n" " variabeln $namn, initiera namnet om det inte redan finns, och\n" " index pÃ¥ nästa argument läggas i skalvariabeln OPTIND. OPTIND\n" -" initieras till 1 varje gÃ¥ng skalet eller ett skalskrpt startas. När\n" +" initieras till 1 varje gÃ¥ng skalet eller ett skalskript startas. När\n" " en flagga behöver ett argument placerar getopts det argumentet i\n" " skalvariabeln OPTARG.\n" " \n" @@ -3133,10 +3251,10 @@ msgstr "" " i OPTSTRING är ett kolon använder getopts tyst felrapportering. I\n" " detta läge skrivs inget felmeddelande ut. Om en ogiltig flagga ses\n" " placerar getopts det funna flaggtecknet i OPTARG. Om ett nödvändigt\n" -" argument inte finns placerar getopts ett \":\" i NAMN och sätter OPTARG\n" +" argument inte finns placerar getopts ett ”:” i NAMN och sätter OPTARG\n" " till det funna flaggtecknet. Om getopts inte är i tyst läge och en\n" -" felaktig flagga upptäcks placerar getopts \"?\" i NAMN och tar bort\n" -" OPTARG. Om ett nödvändigt argument inte hittas placeras ett \"?\" i\n" +" felaktig flagga upptäcks placerar getopts ”?” i NAMN och tar bort\n" +" OPTARG. Om ett nödvändigt argument inte hittas placeras ett ”?” i\n" " NAMN, OPTARG tas bort och ett felmeddelande skrivs.\n" " \n" " Om skalvariabeln OPTERR har värdet 0 avaktiverar getopts utskriften\n" @@ -3150,7 +3268,7 @@ msgstr "" " Returnerar framgÃ¥ng om en flagga hittas, misslyckas om slutet av\n" " flaggorna nÃ¥s eller ett fel inträffar." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3161,8 +3279,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3185,13 +3303,13 @@ msgstr "" " -l\tplacera ett streck i det nollte argumentet till KOMMANDO\n" " \n" " Om kommandot inte kan exekveras avslutar ett ickeinteraktivt skal, om\n" -" inte skalflaggan \"execfail\" är satt.\n" +" inte skalflaggan ”execfail” är satt.\n" " \n" -" Sluttatus:\n" +" Slutstatus:\n" " Returnerar framgÃ¥ng om inte KOMMANDO inte finns eller ett fel vid\n" " omdirigering inträffar." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3203,7 +3321,7 @@ msgstr "" " Avslutar skalet med statusen N. Om N utelämnas är slutstatusen den\n" " hos det sist körda kommandot." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3216,7 +3334,7 @@ msgstr "" " Avslutar ett inloggningsskal med slutstatus N. Returnerar ett fel om\n" " det inte körs i ett inloggningsskal." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3259,20 +3377,19 @@ msgstr "" " -n\tutelämna radnummer vid listningen\n" " -r\treversera ordningen pÃ¥ raderna (nyaste listas först)\n" " \n" -" Med formatet \"fc -s [mnst=ers ...] [kommando]\" körs KOMMANDO om efter\n" +" Med formatet ”fc -s [mnst=ers ...] [kommando]” körs KOMMANDO om efter\n" " att substitutionen GAMMALT=NYTT har utförts.\n" " \n" " Ett användbart alias att använda med detta är r=\"fc -s\", sÃ¥ att " "skriva\n" -" \"r cc\" kör senaste kommandot som börjar med \"cc\" och att skriva \"r" -"\" kör\n" +" ”r cc” kör senaste kommandot som börjar med ”cc” och att skriva ”r” kör\n" " om senaste kommandot.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng eller status pÃ¥ exekverat kommando, skilt frÃ¥n noll\n" " om ett fel inträffar." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3293,7 +3410,7 @@ msgstr "" " Status pÃ¥ kommandot som placerades i förgrunden, eller misslyckande om\n" " ett fel inträffar." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3308,10 +3425,9 @@ msgid "" msgstr "" "Flytta jobb till bakgrunden.\n" " \n" -" Placera jobben som idintifieras av varje JOBBSPEC i bakgrunden som om " +" Placera jobben som identifieras av varje JOBBSPEC i bakgrunden som om " "de\n" -" hade startats med \"&\". Om ingen JOBBSPEC finns används skalets " -"begrepp\n" +" hade startats med ”&”. Om ingen JOBBSPEC finns används skalets begrepp\n" " om det aktuella jobbet.\n" " \n" " Slutstatus:\n" @@ -3319,7 +3435,7 @@ msgstr "" "fel\n" " inträffar." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3328,15 +3444,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3349,20 +3465,20 @@ msgstr "" "minnet.\n" " \n" " Flaggor:\n" -" -d\t\tglöm platsen i minnet för varje NAMN\n" -" -l\t\tvisa i ett format som kan Ã¥teranvändas som indata\n" -" -p sökväg \tanvänd SÖKVÄG som den fullständiga sökvägen till NAMN\n" -" -r\t\tglömm alla platser i minnet\n" -" -t\t\tskriv platsen i minnet för varje NAMN, med NAMN före\n" +" -d\tglöm platsen i minnet för varje NAMN\n" +" -l\tvisa i ett format som kan Ã¥teranvändas som indata\n" +" -p sökväg använd SÖKVÄG som den fullständiga sökvägen till NAMN\n" +" -r\tglöm alla platser i minnet\n" +" -t\tskriv platsen i minnet för varje NAMN, med NAMN före\n" " \t\tvarje motsvarande plats om flera NAMN ges\n" " Argument:\n" -" NAMN\t\tVarje NAMN söks efter i $PATH och läggs till i listan\n" +" NAMN\tVarje NAMN söks efter i $PATH och läggs till i listan\n" " \t\tav kommandon i minnet.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte NAMN inte hittas eller en ogiltig flagga ges." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3374,7 +3490,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3394,7 +3510,7 @@ msgstr "" " -d\tvisa en kort beskrivning för varje ämne\n" " -m\tvisa användning i lÃ¥tsas-mansideformat\n" " -s\tvisa endast ett kort användningsformat för varje ämne som\n" -" \tmatchar MÖNSTER\n" +" \t\tmatchar MÖNSTER\n" " \n" " Argument:\n" " MÖNSTER\tMönster som anger hjälpämnen\n" @@ -3403,7 +3519,8 @@ msgstr "" " Returnerar framgÃ¥ng om inte MÖNSTER inte finns eller en ogiltig flagga " "ges." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3412,23 +3529,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3439,7 +3556,7 @@ msgstr "" "Visa eller hantera historielistan.\n" " \n" " Visa historielistan med radnummer, inled varje modifierad post med en\n" -" \"*\". Ett argument N listar endast de N senaste posterna.\n" +" ”*”. Ett argument N listar endast de N senaste posterna.\n" " \n" " Flaggor:\n" " -c\tnollställ historielistan genom att ta bort alla poster\n" @@ -3448,19 +3565,17 @@ msgstr "" " -a\tlägg till historierader frÃ¥n denna session till historiefilen\n" " -n\tläs alla historierader som inte redan lästs frÃ¥n historiefilen\n" " -r\tläs historiefilen och lägg till innehÃ¥llet till historielistan\n" -" -w\tskriv den aktuella historien till hstoriefilen och lägg till\n" -" \tdem till historielistan\n" +" -w\tskriv den aktuella historien till historiefilen och lägg till\n" +" \t\tdem till historielistan\n" " \n" " -p\tutför historieexpansion pÃ¥ varje ARG och visa resultatet utan\n" -" \tatt lagra det i historielistan\n" +" \t\tatt lagra det i historielistan\n" " -s\tlägg till ARG till historielistan som en ensam post\n" " \n" -" Om FILENAMN anges används det som historiefil. Annars, om $HISTFILE " -"har\n" +" Om FILNAMN anges används det som historiefil. Annars, om HISTFILE har\n" " ett värde används det, annars ~/.bash_history.\n" " \n" -" Om variabeln $HISTTIMEFORMAT är satt och inte tom används dess värde " -"som\n" +" Om variabeln HISTTIMEFORMAT är satt och inte tom används dess värde som\n" " en formatsträng till strftime(3) för att skriva tidsstämplar " "tillhörande\n" " varje visad historiepost. Inga tidsstämplar skrivs annars.\n" @@ -3469,8 +3584,7 @@ msgstr "" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller ett fel " "inträffar." -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3480,7 +3594,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3501,7 +3615,7 @@ msgstr "" " Flaggor:\n" " -l\tlistar process-id:n utöver den normala informationen\n" " -n\tlistar endast processer som har ändrat status sedan senaste\n" -" \tnotifiering\n" +" notifiering\n" " -p\tlistar endast process-id:n\n" " -r\tbegränsar utdata till körande jobb\n" " -s\tbegränsar utdata till stoppade jobb\n" @@ -3514,7 +3628,7 @@ msgstr "" "inträffar.\n" " Om -x används returneras slutstatus frÃ¥n KOMMANDO." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3524,7 +3638,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3538,13 +3652,14 @@ msgstr "" " Flaggor:\n" " -a\tta bort alla jobb om JOBBSPEC inte anges\n" " -h\tmärk varje JOBBSPEC sÃ¥ att SIGHUP inte skickas till jobbet om\n" -" \tskalet tar emot en SIGHUP\n" +" \t\tskalet tar emot en SIGHUP\n" " -r\ttar bara bort körande jobb\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte en ogiltig flagga eller JOBBSPEC ges." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3556,7 +3671,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3575,8 +3691,8 @@ msgstr "" " Flaggor:\n" " -s sig\tSIG är ett signalnamn\n" " -n sig\tSIG är ett signalnummer\n" -" -l\tlista signalnamnen. Om argument följer \"-l\" antas de vara\n" -" \tsignalnummer som namn skall listas för\n" +" -l\tlista signalnamnen. Om argument följer ”-l” antas de vara\n" +" \t\tsignalnummer som namn skall listas för\n" " \n" " Kill är inbyggt i skalet av tvÃ¥ skäl: det tillÃ¥ter att jobb-id:n " "används\n" @@ -3588,7 +3704,7 @@ msgstr "" " Returnerar framgÃ¥ng om inte en ogiltig flagga angivits eller ett fel\n" " inträffar." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3646,7 +3762,7 @@ msgstr "" " \t++id, --id\tpreinkrementering av variabel, predekrementering\n" " \t-, +\t\tunärt minus, plus\n" " \t!, ~\t\tlogisk och bitvis negering\n" -" \t**\t\texponentiatiering\n" +" \t**\t\texponentiering\n" " \t*, /, %\t\tmultiplikation, division, rest\n" " \t+, -\t\taddition, subtraktion\n" " \t<<, >>\t\tvänster och höger bitvisa skift\n" @@ -3657,7 +3773,7 @@ msgstr "" " \t|\t\tbitvis ELLER\n" " \t&&\t\tlogiskt OCH\n" " \t||\t\tlogiskt ELLER\n" -" \tuttf ? uttr : uttr\n" +" \tuttr ? uttr : uttr\n" " \t\t\tvillkorlig operator\n" " \t=, *=, /=, %=,\n" " \t+=, -=, <<=, >>=,\n" @@ -3668,7 +3784,7 @@ msgstr "" " uttryck. Variablerna behöver inte ha sina heltalsattribut pÃ¥slagna för\n" " att användas i ett uttryck.\n" " \n" -" Operatorer beräknas i precedensordning. Delutryck i parenteser " +" Operatorer beräknas i precedensordning. Deluttryck i parenteser " "beräknas\n" " först och kan Ã¥sidosätta precedensreglerna ovan.\n" " \n" @@ -3676,7 +3792,7 @@ msgstr "" " Om det sista ARG beräknas till 0, returnerar let 1; let returnerar 0 " "annars." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3697,27 +3813,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3739,13 +3856,12 @@ msgstr "" " Om inga NAMN anges, lagras den inlästa raden i variabeln REPLY.\n" " \n" " Flaggor:\n" -" -a vektor\ttilldela de inlästa orden till sekvensiella index i " +" -a vektor\ttilldela de inlästa orden till sekventiella index i " "vektor-\n" " \t\tvariabeln VEKTOR, med start frÃ¥n noll\n" " -d avgr\tfortsätt tills det första tecknet i AVGR lästs, istället för\n" " \t\tnyrad\n" -" -e\t\tanvänd Readline för att fÃ¥ in raden i ett interaktivt\n" -" \t\t\tskal\n" +" -e\tanvänd Readline för att fÃ¥ in raden i ett interaktivt skal\n" " -i text\tAnvänd TEXT som starttext för Readline\n" " -n ntkn\treturnera efter att ha läst NTKN tecken istället för att\n" " \t\tvänta pÃ¥ en nyrad, men ta hänsyn till en avgränsare om färre\n" @@ -3756,8 +3872,8 @@ msgstr "" " \t\talla avgränsare\n" " -p prompt\tskriv ut strängen PROMPT utan en avslutande nyrad före\n" " \t\tförsök att läsa\n" -" -r\t\ttillÃ¥t inte bakstreck att skydda nÃ¥gra tecken\n" -" -s\t\teka inte indata som kommer frÃ¥n terminalen\n" +" -r\ttillÃ¥t inte bakstreck att skydda nÃ¥gra tecken\n" +" -s\teka inte indata som kommer frÃ¥n terminalen\n" " -t tidgräns\tsluta vänta och returnera misslyckande om inte en\n" " \t\tkomplett rad lästs inom TIDSGRÄNS sekunder. Värdet pÃ¥ variabeln\n" " \t\tTMOUT är standardvärdet pÃ¥ tidsgränsen. TIDSGRÄNS kan vara ett\n" @@ -3766,7 +3882,7 @@ msgstr "" "bara\n" "\t\tom det finns indata tillgängligt pÃ¥ den angivna filbeskrivaren.\n" " Slutstatus är större än 128 om tidsgränsen överskrids\n" -" -u fb\t\tläs frÃ¥n filbeskrivare FB istället för standard in\n" +" -u fb\tläs frÃ¥n filbeskrivare FB istället för standard in\n" " \n" " Slutstatus:\n" " Returkoden är noll om inte filslut nÃ¥s, läsningens tidsgräns överskrids\n" @@ -3774,7 +3890,7 @@ msgstr "" "eller\n" " en ogiltig filbeskrivare ges som argument till -u." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3795,7 +3911,8 @@ msgstr "" " Returnerar N, eller misslyckande om skalet inte kör en funktion eller\n" " skript." -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3863,7 +3980,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3886,7 +4004,7 @@ msgstr "" " \n" " Flaggor:\n" " -a Markera variabler om ändras eller skapas för export.\n" -" -b Rapportera om avlutade jobb omedelbart.\n" +" -b Rapportera om avslutade jobb omedelbart.\n" " -e Avsluta omedelbart om ett kommando avslutar med nollskild status.\n" " -f Avaktivera filnamnsgenerering (globbing).\n" " -h Kom ihÃ¥g platsen för kommandon när de slÃ¥s upp.\n" @@ -3923,7 +4041,7 @@ msgstr "" " physical samma som -P\n" " pipefail returvärdet av ett rör är status pÃ¥ det sista\n" " kommandot som avslutas med en status skild frÃ¥n\n" -" noll, eller nol om inget kommando avslutas med\n" +" noll, eller noll om inget kommando avslutas med\n" " en status skild frÃ¥n noll\n" " posix ändra beteendet pÃ¥ bash där standardbeteendet\n" " skiljer sig frÃ¥n Posixstandarden till att stämma\n" @@ -3945,7 +4063,7 @@ msgstr "" " -C Om satt tillÃ¥ts inte existerande normala filer att skrivas över\n" " av omdirigering av utdata.\n" " -E Om satt ärvs ERR-fällan av skalfunktioner.\n" -" -H Aktivera historiesubstituion i !-stil. Denna flagga är pÃ¥ som\n" +" -H Aktivera historiesubstitution i !-stil. Denna flagga är pÃ¥ som\n" " standard när skalet är interaktivt.\n" " -P Om satt löses inte symboliska länkar upp när kommandon sÃ¥som cd\n" " körs som ändrar aktuell katalog.\n" @@ -3968,7 +4086,7 @@ msgstr "" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3978,7 +4096,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3997,7 +4115,7 @@ msgstr "" " -f\tbehandla varje NAMN som en skalfunktion\n" " -v\tbehandla varje NAMN som en skalvariabel\n" " -n\tbehandla varje NAMN som en namnreferens tar bort värdet pÃ¥\n" -" \tvariabeln själv istället för variabeln den refererar\n" +" variabeln själv istället för variabeln den refererar\n" " \n" " Utan flaggor försöker unset först att ta bort en variabel, och, om det\n" " misslyckas, försöker den ta bort en funktion.\n" @@ -4008,7 +4126,7 @@ msgstr "" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller NAMN endast är\n" " läsbart." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4036,12 +4154,12 @@ msgstr "" " -n\tta bort exportegenskapen frÃ¥n varje NAMN\n" " -p\tvisa en lista av alla exporterade variabler och funktioner\n" " \n" -" Ett argument \"--\" avslutar vidare flaggbearbetning.\n" +" Ett argument ”--” avslutar vidare flaggbearbetning.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller NAMN är ogiltigt." -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -4053,9 +4171,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4070,17 +4187,17 @@ msgstr "" " \n" " Flaggor:\n" " -a\treferera till indexerade vektorvariabler\n" -" -A\trefererar till assoicativa vektorvariabler\n" -" -f\treferara till skalfunktioner\n" +" -A\trefererar till associativa vektorvariabler\n" +" -f\treferera till skalfunktioner\n" " -p\tvisa en lista över alla oföränderliga variabler eller funktioner,\n" -" beroende pÃ¥ huruvida flaggan -f ges\n" +" beroende pÃ¥ huruvida flaggan -f ges\n" " \n" -" Ett argument \"--\" avslutar vidare flaggbearbetning.\n" +" Ett argument ”--” avslutar vidare flaggbearbetning.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller NAMN är ogiltigt." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4099,7 +4216,7 @@ msgstr "" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte N är negativt eller större än $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4123,7 +4240,7 @@ msgstr "" " Returnerar status pÃ¥ det sista kommandot som körs i FILNAMN, misslyckas\n" " om FILNAMN inte kan läsas." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4149,7 +4266,7 @@ msgstr "" "fel\n" " inträffar." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4213,9 +4330,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4249,7 +4366,7 @@ msgstr "" " -d FIL Sant om filen är en katalog.\n" " -e FIL Sant om filen finns.\n" " -f FIL Sant om filen finns, och är en normal fil.\n" -" -g FIL Sant om filen är sätt-gruppid.\n" +" -g FIL Sant om filen är sätt-grupp-id.\n" " -h FIL Sant om filen är en symbolisk länk.\n" " -L FIL Sant om filen är en symbolisk länk.\n" " -k FIL Sant om filen har ”fastbiten” satt.\n" @@ -4258,7 +4375,7 @@ msgstr "" " -s FIL Sant om filen finns och inte är tom.\n" " -S FIL Sant om filen är ett uttag (socket).\n" " -t FB Sant om FB är öppnad mot en terminal.\n" -" -u FIL Sant om filen är sätt-användarid.\n" +" -u FIL Sant om filen är sätt-användar-id.\n" " -w FIL Sant om filen är skrivbar av dig.\n" " -x FIL Sant om filen är exekverbar av dig.\n" " -O FIL Sant om filen ägs av din verksamma användare.\n" @@ -4309,7 +4426,7 @@ msgstr "" " Returnerar framgÃ¥ng om UTTR beräknas till sant. Misslyckas ifall UTTR\n" " beräknas till falskt eller ett ogiltigt argument ges." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4318,11 +4435,10 @@ msgid "" msgstr "" "Beräkna villkorligt uttryck.\n" " \n" -" Detta är en synonym till det inbyggda \"test\", men det sista " -"argumentet\n" -" mÃ¥ste vara en bokstavlig \"]\", för att matcha den inledande \"[\"." +" Detta är en synonym till det inbyggda ”test”, men det sista argumentet\n" +" mÃ¥ste vara en bokstavlig ”]”, för att matcha den inledande ”[”." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4342,7 +4458,7 @@ msgstr "" " Slutstatus:\n" " Lyckas alltid." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4392,8 +4508,8 @@ msgstr "" " \n" " ARG är ett kommando som skall läsas och exekveras när skalet tar emot\n" " signalen SIGNALSPEC. Om ARG inte anges (och en ensam SIGNALSPEC ges)\n" -" eller \"-\" Ã¥terställs varje angiven signal till sitt orginalvärde. Om\n" -" ARG är den tomma strängen ingoreras varje SIGNALSPEC av skalet och av\n" +" eller ”-” Ã¥terställs varje angiven signal till sitt originalvärde. Om\n" +" ARG är den tomma strängen ignoreras varje SIGNALSPEC av skalet och av\n" " kommandon det startar.\n" " \n" " Om en SIGNALSPEC är EXIT (0) exekveras ARG vid avslut frÃ¥n skalet. Om\n" @@ -4401,7 +4517,7 @@ msgstr "" " en SIGNALSPEC är RETURN exekveras ARG varje gÃ¥ng en skalfunktion eller\n" " ett skript kört med den inbyggda . eller source avslutar körningen. En\n" " SIGNALSPEC ERR betyder att köra ARG varje gÃ¥ng ett kommandos felstatus\n" -" skulle fÃ¥tt skalet att avsluta om flaggan -e ovre satt.\n" +" skulle fÃ¥tt skalet att avsluta om flaggan -e vore satt.\n" " \n" " Om inga argument ges skriver trap listan av kommandon som hör till " "varje\n" @@ -4413,14 +4529,14 @@ msgstr "" " \n" " Varje SIGNALSPEC är antingen ett signalnamn i eller ett\n" " signalnummer. Signalnamn är skiftlägesokänsliga och SIG-prefixet är\n" -" frivilligt. En signal kan skickas till skalet med \"kill -signal $$\".\n" +" frivilligt. En signal kan skickas till skalet med ”kill -signal $$”.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte en SIGSPEC är ogiltig eller en ogiltig " "flagga\n" " ges." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4429,18 +4545,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4455,29 +4571,27 @@ msgstr "" " kommandonamn.\n" " \n" " Flaggor:\n" -" -a\tvisa alla platser som innehÃ¥ller ett körbart program med\n" -" \tnamnet NAMN, inklusive alias, inbyggda och funktioner, om och endast\n" -" \tom flaggan \"-p\" inte ocksÃ¥ används\n" +" -a\tvisa alla platser som innehÃ¥ller ett körbart program med namnet\n" +" \t\tNAMN, inklusive alias, inbyggda och funktioner, om och endast\n" +" \t\tom flaggan ”-p” inte ocksÃ¥ används\n" " -f\tutelämna uppslagning av skalfunktioner\n" " -P\tframtvinga en PATH-sökning för varje NAMN, även om det är ett\n" -" \talias, inbyggt eller funktion, och returnera namnet pÃ¥ diskfilen som\n" -" \tskulle blivit exekverad\n" +" \t\talias, inbyggt eller funktion, och returnera namnet pÃ¥ diskfilen\n" +" \t\tsom skulle blivit exekverad\n" " -p\treturnerar antingen namnet pÃ¥ diskfilen som skulle exekverats,\n" -" \teller ingenting om \"type -t NAMN\" inte skulle returnerat \"file\".\n" -" -t\tskriv ut ett ensamt ord som är ett av \"alias\", \"keyword\",\n" -" \t\"function\", \"builtin\", \"file\" eller \"\", om NAMN är ett alias, " -"ett\n" -" \treserverat ord i skalet, en skalfunktion, inbyggt i skalet, en " -"diskfil\n" -" \trespektive inte finns\n" +" \t\teller ingenting om ”type -t NAMN” inte skulle returnerat ”file”.\n" +" -t\tskriv ut ett ensamt ord som är ett av ”alias”, ”keyword”,\n" +" \t\t”function”, ”builtin”, ”file” eller ””, om NAMN är ett alias, ett\n" +" \t\treserverat ord i skalet, en skalfunktion, inbyggt i skalet, en\n" +" \t\tdiskfil respektive inte finns\n" " \n" " Argument:\n" -" NAMN\tKomandonamn som skall tolkas.\n" +" NAMN\tKommandonamn som skall tolkas.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om alla NAMNen finns, misslyckas om nÃ¥got inte finns." -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4495,6 +4609,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4506,7 +4621,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4535,29 +4651,31 @@ msgstr "" " -a\talla aktuella gränser rapporteras\n" " -b\tstorleken pÃ¥ uttagsbuffertar\n" " -c\tden maximala storleken pÃ¥ minnesutskrifter som skapas\n" -" -d\tden maximala storleken pÃ¥ en process datasegmen\n" +" -d\tden maximala storleken pÃ¥ en process datasegment\n" " -e\tden maximala schemaläggningsprioriteten (”nice”)\n" " -f\tden maximala storleken pÃ¥ filer som skrivs av skalet och dess\n" " \tbarn\n" " -i\tdet maximala antalet väntande signaler\n" +" -k\tdet maximala antalet kqueue:r allokerade för denna process\n" " -l\tden maximala storleken en process kan lÃ¥sa i minnet\n" " -m\tden maximala residenta mängdstorleken\n" " -n\tdet maximala antalet öppna filbeskrivare\n" " -p\trörbuffertstorleken\n" " -q\tdet maximala antalet byte i POSIX-meddelandeköer\n" -" -r\tden maximala realtidsschemaläggningsprioriteten\n" +" -r\tden maximala prioriteten för realtidsschemaläggning\n" " -s\tden maximala stackstorleken\n" " -t\tden maximala mängden cpu-tid i sekunder\n" " -u\tdet maximala antalet användarprocesser\n" " -v\tstorleken pÃ¥ det virtuella minnet\n" " -x\tdet maximala antalet fillÃ¥s\n" +" -P det maximala antalet pseudoterminaler\n" " -T det maximala antalet trÃ¥dar\n" " \n" " Alla flaggor är inte tillgängliga pÃ¥ alla plattformar.\n" " \n" " Om GRÄNS anges är det ett nytt värde för den specificerade resursen; de\n" " speciella GRÄNS-värdena ”soft”, ”hard” och ”unlimited” stÃ¥r för den\n" -" aktuella mjuka gränsen, den aktuella hÃ¥rda grÃ¥nsen respektive inge " +" aktuella mjuka gränsen, den aktuella hÃ¥rda gränsen respektive ingen " "gräns.\n" " Annars skrivs det aktuella värdet pÃ¥ den specificerade resursen. Om\n" " ingen flagga ges antas -f.\n" @@ -4570,7 +4688,7 @@ msgstr "" " Returnerar framgÃ¥ng om inte en ogiltig flagga anges eller ett fel " "inträffar." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4606,7 +4724,7 @@ msgstr "" "flagga\n" " ges." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4634,14 +4752,14 @@ msgstr "" "jobbspecifikation, \n" " vänta pÃ¥ alla processer i det jobbets rör.\n" " \n" -" Om flaggan -n ges väntar pÃ¥ nästa jobb att avsluta och retunera dess\n" +" Om flaggan -n ges väntar pÃ¥ nästa jobb att avsluta och returnera dess\n" " slutstatus.\n" " \n" " Slutstatus:\n" " Returnerar status pÃ¥ den sista ID, misslyckas ifall ID är ogiltig\n" " eller en ogiltig flagga ges." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4665,7 +4783,7 @@ msgstr "" " Returnerar status pÃ¥ den sista PID, misslyckas ifall PID är ogiltig\n" " eller en ogiltig flagga ges." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4679,16 +4797,15 @@ msgid "" msgstr "" "Exekvera kommandon för varje medlem i en lista.\n" " \n" -" \"for\"-slingan exekverar en sekvens av kommandon för varje medlem i en\n" -" lista av element. Om \"in ORD ...;\" inte är med antas 'in \"$@\"'. " -"För\n" +" ”for”-slingan exekverar en sekvens av kommandon för varje medlem i en\n" +" lista av element. Om ”in ORD ...;” inte är med antas 'in \"$@\"'. För\n" " varje element i ORD sätts NAMN till det elementet, och KOMMANDON\n" " exekveras.\n" " \n" " Slutstatus:\n" " Returnerar status för det sist exekverade kommandot." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4718,7 +4835,7 @@ msgstr "" " Slutstatus:\n" " Returnerar statusen frÃ¥n det sist exekverade kommandot." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4750,10 +4867,10 @@ msgstr "" " REPLY. KOMMANDON exekveras efter varje val tills ett\n" " break-kommando exekveras.\n" " \n" -" Sluttatus:\n" +" Slutstatus:\n" " Returnerar statusen frÃ¥n det sist exekverade kommandot." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4777,12 +4894,12 @@ msgstr "" " Flaggor:\n" " -p\tskriv tidssammanfattningen i det portabla Posix-formatet\n" " \n" -" Värdet pÃ¥ variablen TIMEFORMAT används som utmatningsformat.\n" +" Värdet pÃ¥ variabeln TIMEFORMAT används som utmatningsformat.\n" " \n" " Slutstatus:\n" " Returstatusen är returstatusen frÃ¥n RÖR." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4795,12 +4912,12 @@ msgstr "" "Exekvera kommandon baserat pÃ¥ mönstermatchning.\n" " \n" " Välj att exekvera KOMMANDON baserat pÃ¥ om ORD matchar MÖNSTER. Ett\n" -" \"|\" används för att separera flera mönster.\n" +" ”|” används för att separera flera mönster.\n" " \n" " Slutstatus:\n" " Returnerar statusen frÃ¥n det sist exekverade kommandot." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4820,23 +4937,22 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" -"Exekvera kommndon baserat pÃ¥ ett villkor.\n" +"Exekvera kommandon baserat pÃ¥ ett villkor.\n" " \n" -" Listan \"if KOMMANDON\" exekveras. Om des slutstatus är noll sÃ¥ " +" Listan ”if KOMMANDON” exekveras. Om dess slutstatus är noll sÃ¥ " "exekveras\n" -" listan \"then COMMANDS\". Annars exekveras varje lista \"elif KOMMANDON" -"\"\n" +" listan ”then KOMMANDON”. Annars exekveras varje lista ”elif KOMMANDON”\n" " i tur och ordning, och om dess slutstatus är noll exekveras motsvarande\n" -" lista \"then COMMANDS\" och if-kommandot avslutar. Annars exekveras " +" lista ”then KOMMANDON” och if-kommandot avslutar. Annars exekveras " "listan\n" -" \"else COMMANDS\" om den finns. Slutstatus av hela konstruktionen är\n" +" ”else KOMMANDON” om den finns. Slutstatus av hela konstruktionen är\n" " slutstatusen pÃ¥ det sist exekverade kommandot, eller noll om inget\n" " villkor returnerade sant.\n" " \n" " Slutstatus:\n" " Returnerar status frÃ¥n det sist exekverade kommandot." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4848,13 +4964,13 @@ msgid "" msgstr "" "Exekvera kommandon sÃ¥ länge ett test lyckas.\n" " \n" -" Expandera och exekvera KOMMANDON sÃ¥ länge det sista kommandont i\n" -" \"while\"-KOMMANDONa har en sluttstatus pÃ¥ noll.\n" +" Expandera och exekvera KOMMANDON sÃ¥ länge det sista kommandot i\n" +" ”while”-KOMMANDONa har en slutstatus pÃ¥ noll.\n" " \n" " Slutstatus:\n" " Returnerar statusen frÃ¥n det sist exekverade kommandot." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4867,12 +4983,13 @@ msgstr "" "Exekvera kommandon sÃ¥ länge ett test inte lyckas.\n" " \n" " Expandera och exekvera KOMMANDON sÃ¥ länge det sista kommandot i\n" -" \"until\"-KOMMANDONa har en slutstatus som inte är noll.\n" +" ”until”-KOMMANDONa har en slutstatus som inte är noll.\n" " \n" " Slutstatus:\n" " Returnerar statusen frÃ¥n det sist exekverade kommandot." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4882,19 +4999,19 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -"Skapa en koprocess med namnet NAMN.\n" +"Skapa en ko-process med namnet NAMN.\n" " \n" " Kör KOMMANDO asynkront, med standard ut och standard in för kommandot\n" -" ansluta via ett rör till fildeskriptorer tilldelade indexen 0 och 1 i\n" +" ansluta via ett rör till filbeskrivare tilldelade indexen 0 och 1 i\n" " en vektorvariabel NAMN i skalet som kör. Standardvärde pÃ¥ NAMN är\n" -" \"COPROC\".\n" +" ”COPROC”.\n" " \n" " Slutstatus:\n" " Returnerar statusen frÃ¥n KOMMANDO." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4917,7 +5034,7 @@ msgstr "" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte NAMN endast är läsbart." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4929,13 +5046,13 @@ msgid "" msgstr "" "Gruppera kommandon som en enhet.\n" " \n" -" Kör ett antal kommandon i en grupp. Detta är ett sätt at omdirigera\n" +" Kör ett antal kommandon i en grupp. Detta är ett sätt att omdirigera\n" " en hel mängd kommandon.\n" " \n" " Slutstatus:\n" -" Returnerar stutusen frÃ¥n det sist exekverade kommandot." +" Returnerar statusen frÃ¥n det sist exekverade kommandot." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4950,16 +5067,16 @@ msgid "" msgstr "" "Återuppta jobb i förgrunden.\n" " \n" -" Likvärdigt med JOBBSPEC-argumentet till kommandot \"fg\". Återuppta\n" +" Likvärdigt med JOBBSPEC-argumentet till kommandot ”fg”. Återuppta\n" " ett stoppat eller bakgrundsjobb. JOBBSPEC kan ange antingen ett\n" -" jobbnamn eller ett jobbnummer. Om JOBBSPEC följs av ett \"&\" placeras\n" +" jobbnamn eller ett jobbnummer. Om JOBBSPEC följs av ett ”&” placeras\n" " jobbet i bakgrunden, som om jobbspecifikationen hade givits som ett\n" -" argument till \"bg\".\n" +" argument till ”bg”.\n" " \n" " Slutstatus:\n" " Returnerar statusen pÃ¥ det Ã¥terupptagna jobbet." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4972,12 +5089,12 @@ msgstr "" "Beräkna aritmetiskt uttryck.\n" " \n" " UTTRYCKet beräknas enligt reglerna för aritmetisk beräkning.\n" -" Likvärdigt med \"let UTTRYCK\".\n" +" Likvärdigt med ”let UTTRYCK”.\n" " \n" " Slutstatus:\n" " Returnerar 1 om UTTRYCK beräknas till 0, returnerar 0 annars." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5009,7 +5126,7 @@ msgstr "" " Returnerar en status av 0 eller 1 beroende pÃ¥ evalueringen av det\n" " villkorliga uttrycket UTTRYCK. Uttryck är sammansatta av samma " "primitiver\n" -" som används av det inbyggda \"test\", och kan kombineras med följande\n" +" som används av det inbyggda ”test”, och kan kombineras med följande\n" " operatorer:\n" " \n" " ( UTTRYCK )\tReturnerar värdet pÃ¥ UTTRYCK\n" @@ -5018,9 +5135,8 @@ msgstr "" " UTTR1 || UTTR2\tSant om antingen UTTR1 eller UTTR2 är sant, annars\n" " falskt\n" " \n" -" När operatorerna \"==\" och \"!=\" används används strängen till höger " -"om\n" -" som ett mönster och mönstermatchning utförs. När operatorn \"=~\" " +" När operatorerna ”==” och ”!=” används används strängen till höger om\n" +" som ett mönster och mönstermatchning utförs. När operatorn ”=~” " "används\n" " matchas strängen till höger om operatorn som ett reguljärt uttryck.\n" " \n" @@ -5030,7 +5146,7 @@ msgstr "" " Slutstatus:\n" " 0 eller 1 beroende pÃ¥ värdet av UTTRYCK." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5087,11 +5203,11 @@ msgstr "" " \n" " BASH_VERSION\tVersionsinformation för denna Bash.\n" " CDPATH\tEn kolonseparerad lista av kataloger att söka i efter\n" -" \t\tkataloger givna som argument till \"cd\".\n" +" \t\tkataloger givna som argument till ”cd”.\n" " GLOBIGNORE\tEn kolonseparerad lista av mönster som beskriver filnamn\n" " \t\tatt ignorera vid söknamnsexpansion.\n" " HISTFILE\tNamnet pÃ¥ filen där din kommandohistorik sparas.\n" -" HISTFILESIZE\tDet maximala antalet rade denna fil kan innehÃ¥lla.\n" +" HISTFILESIZE\tDet maximala antalet rader denna fil kan innehÃ¥lla.\n" " HISTSIZE\tDet maximala antalet historierade ett körande skal kan\n" " \t\tkomma Ã¥t.\n" " HOME\tDen fullständiga sökvägen till din inloggningskatalog.\n" @@ -5102,7 +5218,7 @@ msgstr "" " \t\tfilslutstecken som kan ses i rad pÃ¥ en tom rad innan\n" " \t\tskalet avslutar (10 som standard). När den inte är satt\n" " \t\tbetyder filslut slut pÃ¥ indata.\n" -" MACHTYPE\tEn sträng som bexkriver det aktuella systemet Bash kör pÃ¥.\n" +" MACHTYPE\tEn sträng som beskriver det aktuella systemet Bash kör pÃ¥.\n" " MAILCHECK\tHur ofta, i sekunder, Bash tittar efter ny post.\n" " MAILPATH\tEn kolonseparerad lista av filnamn som Bash tittar efter\n" " \t\tny post i.\n" @@ -5117,25 +5233,25 @@ msgstr "" " SHELLOPTS\tEn kolonseparerad lista av aktiverade skalflaggor.\n" " TERM\tNamnet pÃ¥ den aktuella terminaltypen.\n" " TIMEFORMAT\tUtmatningsformatet för tidsstatistik som visas av det\n" -" \t\treserverade ordet \"time\".\n" +" \t\treserverade ordet ”time”.\n" " auto_resume\tOm inte tomt betyder att ett kommandoord som förekommer\n" " \t\tensamt pÃ¥ en rad först letas efter i listan av för tillfället\n" " \t\tstoppade jobb. Om det hittas där läggs det jobbet i\n" -" \t\tförgrunden. Ett värde av \"exact\" betyder att kommandoordet\n" +" \t\tförgrunden. Ett värde av ”exact” betyder att kommandoordet\n" " \t\texakt mÃ¥ste stämma med ett kommando i listan över stoppade\n" -" \t\tjobb. Ett värde av \"substring\" betyder att kommandoordet\n" +" \t\tjobb. Ett värde av ”substring” betyder att kommandoordet\n" " \t\tmÃ¥ste stämma med en delsträng av jobbet. Alla andra värden\n" " \t\tbetyder att kommandot mÃ¥ste vara ett prefix av ett stoppat\n" " \t\tjobb.\n" " histchars\tTecken som styr historieexpansion och snabbsubstitution.\n" " \t\tDet första tecknet är tecknet för historiesubstitution,\n" -" \t\tvanligen \"!\". Det andra tecknet är tecknet för \"snabb\n" -" \t\tsubstitution\", vanligen \"^\". Det tredje är tecknet för\n" -" \t\t\"historiekommentar\", vanligen \"#\".\n" +" \t\tvanligen ”!”. Det andra tecknet är tecknet för ”snabb\n" +" \t\tsubstitution”, vanligen ”^”. Det tredje är tecknet för\n" +" \t\t”historiekommentar”, vanligen ”#”.\n" " HISTIGNORE\tEn kolonseparerad lista av mönster som används för att\n" " \t\tbestämma vilka kommandon som skall sparas i historielistan.\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5145,19 +5261,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5173,27 +5289,27 @@ msgstr "" " \n" " Flaggor:\n" " -n\tUndertryck det normala bytet av katalog när kataloger\n" -" \tläggs till pÃ¥ stacken, sÃ¥ att endast stacken ändras.\n" +" \t\tläggs till pÃ¥ stacken, sÃ¥ att endast stacken ändras.\n" " \n" " Argument:\n" " +N\tRotera stacken sÃ¥ att den N:e katalogen (räknat frÃ¥n\n" -" \tvänster i listan som visas av \"dirs\", med start pÃ¥ noll) hamnar\n" -" \tpÃ¥ toppen.\n" +" \t\tvänster i listan som visas av ”dirs”, med start pÃ¥ noll)\n" +" \t\thamnar pÃ¥ toppen.\n" " \n" " -N\tRotera stacken sÃ¥ att den N:e katalogen (räknat frÃ¥n\n" -" \thöger i listan som visas av \"dirs\", med start pÃ¥ noll) hamnar\n" -" \tpÃ¥ toppen.\n" +" \t\thöger i listan som visas av ”dirs”, med start pÃ¥ noll)\n" +" \t\thamnar pÃ¥ toppen.\n" " \n" " kat\tLägger till KAT till toppen av katalogstacken, och gör\n" -" \tden till den nya aktuella arbetskatalogen.\n" +" \t\tden till den nya aktuella arbetskatalogen.\n" " \n" -" Den inbyggda \"dirs\" visar katalogstacken.\n" +" Den inbyggda ”dirs” visar katalogstacken.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte ett ogiltigt argument ges eller bytet av\n" " katalog misslyckas." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5202,16 +5318,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5226,24 +5342,24 @@ msgstr "" " \n" " Flaggor:\n" " -n\tUndertryck det normala bytet av katalog när kataloger\n" -" \ttas bort frÃ¥n stacken, sÃ¥ att endast stacken ändras.\n" +" \t\ttas bort frÃ¥n stacken, sÃ¥ att endast stacken ändras.\n" " \n" " Argument:\n" -" +N\tTar bort den N:e katalogen räknat frÃ¥n vänster i listan\n" -" \tsom visas av \"dirs\", med start pÃ¥ noll. Till exempel: \"popd +0\"\n" -" \ttar bort den första katalogen, \"popd +1\" den andra.\n" +" +N\tTar bort den N:e katalogen räknat frÃ¥n vänster i listan som\n" +" \t\tvisas av ”dirs”, med start pÃ¥ noll. Till exempel: ”popd +0”\n" +" \t\ttar bort den första katalogen, ”popd +1” den andra.\n" " \n" -" -N\tTar bort den N:e katalogen räknat frÃ¥n höger i listan\n" -" \tsom visas av \"dirs\", med start pÃ¥ noll. Till exempel: \"popd -0\"\n" -" \ttar bort den sista katalogen, \"popd -1\" den näst sista.\n" +" -N\tTar bort den N:e katalogen räknat frÃ¥n höger i listan som\n" +" \t\tvisas av ”dirs”, med start pÃ¥ noll. Till exempel: ”popd -0”\n" +" \t\ttar bort den sista katalogen, ”popd -1” den näst sista.\n" " \n" -" Den inbyggda \"dirs\" visar katalogstacken.\n" +" Den inbyggda ”dirs” visar katalogstacken.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte ett ogiltigt argument ges eller bytet av\n" " katalog misslyckas." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5254,19 +5370,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5274,29 +5390,29 @@ msgstr "" "Visa katalogstacken.\n" " \n" " Visa listan av kataloger i minnet för närvarande. Kataloger kommer\n" -" in pÃ¥ listan med kommandot \"pushd\". Du kan komma tillbaka upp genom\n" -" listan med kommandot \"popd\".\n" +" in pÃ¥ listan med kommandot ”pushd”. Du kan komma tillbaka upp genom\n" +" listan med kommandot ”popd”.\n" " \n" " Flaggor:\n" " -c\tnollställer katalogstacken genom att ta bort alla element\n" " -l\tskriv inte ut versioner med tildeprefix av kataloger som\n" -" \tär relativa till din hemkatalog\n" +" \t\tär relativa till din hemkatalog\n" " -p\tskriv katalogstacken med en post per rad\n" " -v\tskriv katalogstacken med en post per rad föregÃ¥ngna av\n" -" \tdess position i stacken\n" +" \t\tdess position i stacken\n" " \n" " Argument:\n" " +N\tVisar den N:e posten räknat frÃ¥n vänster i listan som visas\n" -" \tav dirs när det anropas utan flaggor, med början frÃ¥n noll.\n" +" \t\tav dirs när det anropas utan flaggor, med början frÃ¥n noll.\n" " \n" " -N\tVisar den N:e posten räknat frÃ¥n höger i listan som visas\n" -" \tav dirs när det anropas utan fläggor, med början frÃ¥n noll.\n" +" \t\tav dirs när det anropas utan flaggor, med början frÃ¥n noll.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller ett fel " "inträffar." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5322,8 +5438,8 @@ msgstr "" " listas alla skalflaggor med en indikation om var och en är satt.\n" " \n" " Flaggor:\n" -" -o\tbegränsa FLGNAMN till de som kan användas med \"set -o\"\n" -" -p\tskriv raje skalflagga med en indikation pÃ¥ dess status\n" +" -o\tbegränsa FLGNAMN till de som kan användas med ”set -o”\n" +" -p\tskriv varje skalflagga med en indikation pÃ¥ dess status\n" " -q\tutelämna utmatning\n" " -s\taktivera (slÃ¥ pÃ¥) varje FLGNAMN\n" " -u\tavaktivera (slÃ¥ av) varje FLGNAMN\n" @@ -5332,7 +5448,7 @@ msgstr "" " Returnerar framgÃ¥ng om FLGNAMN är aktiverat, misslyckas om en ogiltig\n" " flagga ges eller FLGNAMN är avaktiverat." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5349,15 +5465,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5376,12 +5492,11 @@ msgstr "" " -v var\ttilldela utdata till skalvariabeln VAR istället för att\n" " \t\tskriva den pÃ¥ standard ut\n" " \n" -" FORMAT är en teckensträng som innehÃ¥ller tre sortes objekt: vanliga\n" +" FORMAT är en teckensträng som innehÃ¥ller tre sorters objekt: vanliga\n" " tecken, som helt enkelt kopieras till standard ut, teckenstyrsekvenser\n" " som konverteras och kopieras till standard ut och " "formatspecifikationer,\n" " där var och en medför utskrift av det nästföljande argumentet.\n" -" argument.\n" " \n" " Förutom de standardformatspecifikationer som beskrivs a printf(1),\n" " tolkar printf:\n" @@ -5401,7 +5516,7 @@ msgstr "" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller ett skriv-\n" " eller tilldelningsfel inträffar." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5414,11 +5529,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5435,13 +5550,13 @@ msgstr "" " \n" " Flaggor:\n" " -p\tskriv existerande kompletteringsspecifikationer pÃ¥ ett\n" -" \tÃ¥teranvändningsbart format\n" +" Ã¥teranvändbart format\n" " -r\tta bort en kompletteringsspecifikation för varje NAMN eller\n" -" \tom inga NAMN är givna, alla kompletteringsinformationer\n" +" om inga NAMN är givna, alla kompletteringsinformationer\n" " -D\tanvänd kompletteringarna och Ã¥tgärderna som standard för\n" -" \tkommandon utan nÃ¥gon särskild komplettering definierad\n" -" -E\tanvänd kompletteringarna och Ã¥tgärderna för \"tomma\" kommandon\n" -" \t-- kompletteringar som försöks pÃ¥ en tom rad\n" +" kommandon utan nÃ¥gon särskild komplettering definierad\n" +" -E\tanvänd kompletteringarna och Ã¥tgärderna för ”tomma” kommandon\n" +" — kompletteringar som försöks pÃ¥ en tom rad\n" " \n" " När komplettering försöker göras försöks Ã¥tgärder i den ordning de\n" " versala flaggorna är uppräknade ovan. Flaggan -D har företräde framför\n" @@ -5451,7 +5566,7 @@ msgstr "" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller ett fel " "inträffar." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5473,7 +5588,7 @@ msgstr "" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller ett fel " "inträffar." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5513,26 +5628,25 @@ msgstr "" " \n" " Flaggor:\n" " \t-o flagga\tSätt kompletteringsflagga FLAGGA för varje NAMN\n" -" \t-D\t Ändra flaggorna för standardkommandokompletteringen\n" -" \t-E\t\tÄndra flaggorna för komplettering av ett tomt kommando\n" +" \t-D\t\tÄndra flaggorna för ”standard” kommandokomplettering\n" +" \t-E\t\tÄndra flaggorna för den ”tomma” kommandokompletteringen\n" " \n" -" Genom att använda \"+o\" istället för \"-o\" slÃ¥s den angivna flaggan " -"av.\n" +" Genom att använda ”+o” istället för ”-o” slÃ¥s den angivna flaggan av.\n" " \n" " Argument:\n" " \n" " Varje NAMN refererar till ett kommando för vilket en kompletterings-\n" -" specifikation mÃ¥ste ha definierats tidigare med det inbyggda \"complete" -"\".\n" +" specifikation mÃ¥ste ha definierats tidigare med det inbyggda " +"”complete”.\n" " Om inget NAMN ges mÃ¥ste compopt anropas av en funktion som just nu\n" " genererar kompletteringar, och flaggorna för den just nu exekverande\n" " kompletteringsgeneratorn modifieras.\n" " \n" " Slutstatus:\n" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller NAMN inte har\n" -" nÃ¥gon kompletteringsspecifikaation definierad." +" nÃ¥gon kompletteringsspecifikation definierad." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5543,20 +5657,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5579,19 +5694,21 @@ msgstr "" " standard för VEKTOR.\n" " \n" " Flaggor:\n" +" -d avgr Använd AVGR för att avsluta rader, istället för nyrad\n" " -n antal\tKopiera högs ANTAL rader. Om ANTAL är 0 kopieras alla " -"rader.\n" +"rader\n" " -O start\tBörja tilldela till VEKTOR vid index START. Standardindex " -"är 0.\n" -" -s antal \tSläng de första ANTAL inlästa raderna.\n" -" -t\t\tTa bort en avslutande nyrad frÃ¥n varje inläst rad.\n" -" -u fb\t\tLäs rader frÃ¥n filbeskrivare FB istället för standard in.\n" +"är 0\n" +" -s antal \tSläng de första ANTAL inlästa raderna\n" +" -t\tTa bort en avslutande AVGR frÃ¥n varje inläst rad (nyrad som\n" +" standard)\n" +" -u fb\tLäs rader frÃ¥n filbeskrivare FB istället för standard in.\n" " -C Ã¥teranrop\tBeräkna ÅTERANROP för varje KVANTA rader som läses.\n" -" -c kvanta \tAnge antalet rader att läsa mellan varje anrop av\n" -" \t\t \tÅTERANROP.\n" +" -c kvanta Ange antalet rader att läsa mellan varje anrop av\n" +" \t\tÅTERANROP.\n" " \n" " Argument:\n" -" VEKTOR\t\tNamn pÃ¥ vektorvariabel att använda för fildata.\n" +" VEKTOR\tNamn pÃ¥ vektorvariabel att använda för fildata\n" " \n" " Om -C ges utan -c är standardkvanta 5000. När ÅTERANROP evalueras fÃ¥r\n" " den indexet pÃ¥ nästa vektorelement att tilldelas och raden att " @@ -5606,7 +5723,7 @@ msgstr "" " Returnerar framgÃ¥ng om inte en ogiltig flagga ges eller VEKTOR är\n" " oföränderlig eller inte en indexerad vektor." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5614,4 +5731,19 @@ msgid "" msgstr "" "Läs rader frÃ¥n en fil till en vektorvariabel.\n" " \n" -" En synonym till \"mapfile\"." +" En synonym till ”mapfile”." + +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Copyright © 2014 Free Software Foundation, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" diff --git a/po/tr.gmo b/po/tr.gmo index 945f7b098..a4a89c6fe 100644 Binary files a/po/tr.gmo and b/po/tr.gmo differ diff --git a/po/tr.po b/po/tr.po index 85c630327..a144d8224 100644 --- a/po/tr.po +++ b/po/tr.po @@ -3,86 +3,92 @@ # This file is distributed under the same license as the bash package. # # Nilgün Belma Bugüner , 2006. -# Volkan Gezer , 2013. +# Volkan Gezer , 2013, 2014. msgid "" msgstr "" -"Project-Id-Version: bash 4.3-pre2\n" +"Project-Id-Version: bash 4.3-rc2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2013-11-07 22:11+0100\n" -"Last-Translator: Volkan Gezer \n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2014-10-24 16:11+0200\n" +"Last-Translator: Volkan Gezer \n" "Language-Team: Turkish \n" -"Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: tr\n" "X-Generator: Lokalize 1.5\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "hatalı dizi indisi" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: indisli dizi, ilişkisel diziye dönüştürülemez" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: geçersiz ilişkisel dizi anahtarı" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: sayısal olmayan indise atama yapılamaz" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: ilişkisel bir dizi ataması yapılırken indis kullanılmalıdır" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: oluşturulamıyor: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: komut için kısayol bulunamıyor" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: boşluk olmayan ilk karakter `\"' değil" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "%2$s içinde kapatan `%1$c' yok" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: ikinokta imi eksik" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "destek genişletme: %s için bellek ayrılamıyor" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" -msgstr "" +msgstr "destek genişletme: %d öge için bellek ayrılamıyor" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "" +msgstr "destek genişletme: `%s' için bellek ayrılamıyor" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "`%s': geçersiz takma isim" @@ -91,45 +97,45 @@ msgstr "`%s': geçersiz takma isim" msgid "line editing not enabled" msgstr "satır düzenleme etkin değil" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "`%s': kısayol ismi geçersiz" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: okunamıyor: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "`%s': kısayol değiştirilemiyor" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "`%s': işlev ismi bilinmiyor" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s için bir kısayol atanmamış.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s bunun üzerinden çağrılabilir: " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "döngü sayısı" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "sadece bir `for', `while' veya `until' döngüsünde anlamlı" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -139,300 +145,329 @@ msgstr "" " \n" " İFADE olmadan, şu döner " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME atanmamış" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "çok fazla argüman" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "yığıtın tepesinde kalan dizine geçer." + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD boş" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "satır %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "uyarı: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: kullanım: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: seçenek bir argüman gerektirir" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: sayısal argüman gerekli" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s:yok" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: seçenek geçersiz" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: seçenek ismi geçersiz" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': geçerli bir belirteç değil" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "geçersiz sekizli sayı" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "geçersiz onaltılık sayı" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "geçersiz sayı" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: sinyal belirtimi geçersiz" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "`%s': geçerli bir iş belirtimi veya süreç numarası değil" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: salt okunur değişken" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s aralık dışı" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "argüman" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s aralık dışı" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: böyle bir iş yok" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: iş denetimi yok" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "iş denetimi yok" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: kısıtlı" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "kısıtlı" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: bir kabuk yerleşiği değil" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "yazma hatası: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "uçbirim nitelikleri ayarlanırken hata: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "uçbirim nitelikleri alınırken hata: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: geçerli dizin alınırken hata: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: iş belirtimi belirsiz" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: eylem adı geçersiz" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: tamamlama belirtimi yok" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "uyarı: -F seçeneği umduğunuz gibi çalışmayabilir" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "uyarı: -C seçeneği umduğunuz gibi çalışmayabilir" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "şuan tamamlama işlevi çalıştırılmıyor" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "sadece bir işlevde kullanılabilir" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: referans değeri bir dizi olamaz" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: nameref değişkeninin kendine yaptığı referanslara izin verilmiyor" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: çembersel isim referansı" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: dosya izleme tanımlayıcısı için geçersiz değer" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "işlev yapmak için `-f' kullanılamaz" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: salt okunur işlev" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: dizi değişkenleri bu yolla iptal edilemez" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: ilişkisel dizi, indisli diziye dönüştürülemez" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "özdevimli yükleme mümkün değil" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "%s paylaşımlı nesnesi açılamıyor: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "%2$s paylaşımlı nesnesinde %1$s bulunamıyor: %3$s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: özdevimli olarak yüklenmemiş" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: silinemiyor: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: bir dizin" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: bir dosya değil" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: dosya çok büyük" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: ikili dosya çalıştırılamıyor" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: çalıştırılamıyor: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "çıkış\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "oturum açma kabuğu değil: `exit' kullanın" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Durmuş işler var.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Çalışan görevler mevcut.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "komut yok" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "geçmiş belirtimi" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: geçici dosya açılamıyor: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "şimdiki" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "%d. iş, iş denetimsiz başlamış" @@ -451,24 +486,24 @@ msgstr "%s: seçenek bir argüman gerektirir -- %c\n" msgid "hashing disabled" msgstr "çitleme iptal edildi" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: çitleme tablosu boş\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "eşleşme\tkomut\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Bu anahtar sözcükle eşleşen komutlar: `" msgstr[1] "Bu anahtar sözcüklerle eşleşen komutlar: `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -476,12 +511,12 @@ msgstr "" "`%s' ile ilgili bir yardım metni yok. `help help' veya `man -k %s' ya da " "`info %s'.yazmayı deneyebilirsiniz." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: açılamıyor: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -501,15 +536,20 @@ msgstr "" "Bir ismin yanında bir yıldız imi (*) varsa komut iptal edilmiş demektir.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "tek bir -anrw kullanılabilir" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "geçmiş konumu" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: geçersiz argüman" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: geçmiş yorumlaması başarısız" @@ -523,113 +563,113 @@ msgstr "%s: inlib başarısız" msgid "no other options allowed with `-x'" msgstr "`-x' ile başka seçenek kullanılamaz" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: argümanlar süreç veya iş kimlikleri olmalı" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Bilinmeyen hata" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "ifade bekleniyordu" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: bir sıralı dizi değil" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: dosya tanıtıcı belirtimi geçersiz" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: dosya tanıtıcı geçersiz: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: geçersiz satır sayısı" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: geçersiz dizi kökeni" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: geçersiz geri çağırım niceliği" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "boş bir dizi değişken adı" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "dizi değişken desteği gerekli" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "`%s': biçim karakteri eksik" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "`%c': geçersiz zaman biçimi belirtimi" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "`%c': biçim karakteri geçersiz" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "uyarı: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "biçim ayıklama sorunu: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "\\x için onaltılık rakam eksik" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "evrensel kod rakamı eksik \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "başka dizin yok" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: geçersiz argüman" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "dizin yığını boş" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "dizin yığını indisi" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -671,7 +711,7 @@ msgstr "" " -N\tDizinler tarafından gösterilen listenin sağından başlayarak\n" "\tN'inci girdiyi gösterir. Seçenek kullanılmadığında sıfırdan başlar." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -716,7 +756,7 @@ msgstr "" " \n" " Dizin yığıtını `dirs' komutuyla görebilirsiniz." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -754,143 +794,153 @@ msgstr "" " \n" " Dizin yığıtını `dirs' komutuyla görebilirsiniz." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: zamanaşımı belirtimi geçersiz" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "okuma hatası: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "sadece bir işlev veya betikten kaynaklı olarak `return' yapılabilir" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "bir işlev ve bir değişken aynı anda unset yapılamaz" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: unset yapılamaz" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s:unset yapılamaz: %s salt okunur" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: bir dizi değişkeni değil" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: bir işlev değil" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: unset yapılamaz" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "shift sayısı" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "kabuk seçenekleri aynı anda hem atanıp hem de iptal edilemez" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: kabuk seçenek ismi geçersiz" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "dosya ismi argüman gerekir" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: dosya yok" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "engellenemez" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "bir oturum açma kabuğu engellenemez" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s `%s' için takma addır\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s bir kabuk anahtar sözcüğüdür\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s bir işlevdir\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s bir kabuk yerleşiğidir\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s bir kabuk yerleşiğidir\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s %s'dir\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s çitilmiş (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: sınırlama argümanı geçersiz" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': hatalı komut" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: sınır alınamıyor: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "sınır" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: sınır değiştirilemiyor: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "sekizlik sayı" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "`%c': simgesel kip işleci geçersiz" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "`%c': simgesel kip karakteri geçersiz" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " satır " @@ -904,82 +954,103 @@ msgstr "son komut: %s\n" msgid "Aborting..." msgstr "Çıkılıyor..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "bilinmeyen komut hatası" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "hatalı komut türü" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "hatalı bağlantı" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "hatalı sıçrama" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: bağlanmamış değişken" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\agirdi beklerken zamanaşımı: auto-logout\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "/dev/null'dan standart girdiye yönlendirme yapılamaz: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: `%c': biçim karakteri geçersiz" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "iletişim tüneli hatası" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, fuzzy, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "%s: azami fonksiyon yuvalama sınırı aşıldı (%d)" + +#: execute_cmd.c:4508 +#, fuzzy, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: azami fonksiyon yuvalama sınırı aşıldı (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: azami fonksiyon yuvalama sınırı aşıldı (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: kısıtlı: komut adında `/' kullanamazsınız" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: komut yok" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: hatalı yorumlayıcı" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: ikili dosya çalıştırılamıyor: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "%s: bir kabuk yerleşiğidir" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "fd %d, fd %d olarak yinelenemiyor" @@ -1024,37 +1095,37 @@ msgstr "belirteç ön-arttırım veya ön-eksiltim sonrası bekleniyordu" msgid "missing `)'" msgstr "eksik `)'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "sözdizimi hatası: terim umuluyordu" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "sözdizimi hatası: geçersiz aritmetik işleci" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (hata belirtisi \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "geçersiz sayı tabanı" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "değer taban için fazla büyük" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: ifade hatası\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: üst dizinlere erişilemiyor" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "fd %d için geciktirmeme kipi sıfırlanamıyor" @@ -1070,148 +1141,148 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: yeni fd %d için tampon zaten var" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp iletişim tüneli" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "çatallanan pid %d, çalışan iş %d içinde görünüyor" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "durdurulan %2$ld süreç gruplu iş %1$d siliniyor" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: %5ld (%s) süreci iletişim_tünelinde" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: %5ld (%s) program kimliği hala canlı olarak işaretli" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: böyle bir pid yok" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Sinyal %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Bitti" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Durdu" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Durdu(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Çalışıyor" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Bitti(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Çıkış %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Bilinmeyen durum" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(çekirdek döküldü)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "alt setpgid (şuradan: %ld şuraya: %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld bu kabuğun bir alt sürecine ait değil" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: süreç %ld için kayıt yok" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: iş %d durdu" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: iş sonlanmış" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: iş %d zaten artalanda" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: belirsiz blok önlenmek için WNOHANG açılıyor" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: satır %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (çekirdek döküldü)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd artık: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp başarısız" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: satır düzeni" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "uçbirim süreç grunu (%d) ayarlanamaz" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "bu kabukta iş denetimi yok" @@ -1265,17 +1336,17 @@ msgstr "realloc: alttan taşma saptandı; mh_nbytes aralık dışında" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: başlangıç ve son tomar boyutları farklı" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: alloc tablosu FIND_ALLOC ile dolu olabilir mi?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p zaten ayrılmış olarak tabloda değil mi?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p zaten serbest bırakılmış olarak tabloda değil mi?\n" @@ -1299,7 +1370,7 @@ msgstr "%s: geçersiz hizmet" msgid "%s: bad network path specification" msgstr "%s: hatalı ağ yolu belirtimi" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "desteklenmeyen ağ işlemleri" @@ -1336,224 +1407,259 @@ msgstr "$_'de yeni postanız var" msgid "The mail in %s has been read\n" msgstr "%s'deki posta okundu\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "sözdizimi hatası: aritmetik ifadesi gerekli" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "sözdizimi hatası: `;' beklenmiyordu" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "sözdizimi hatası: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: hatalı yönerge türü %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "bu belgede %d satırında dosya sonu sonlandırılmış (istenen `%s')" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: yönlendirme yönergesi `%d' aralık dışında" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "`%c' için eşleşme aranırken beklenmedik dosya sonu" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "`]]' aranırken beklenmedik dosya sonu" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "koşullu ifadede sözdizimi hatası: beklenmedik dizgecik `%s'" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "koşullu ifadede sözdizimi hatası" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "beklenmedik dizgecik `%s', `)' umuluyordu" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "`)' umuluyordu" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "koşullu tek terimli işlece beklenmedik argüman `%s'" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "koşullu tek terimli işlece beklenmedik argüman" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "beklenmedik dizgecik `%s', koşullu iki terimli işleç umuluyordu" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "koşullu iki terimli işleç umuluyordu" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "koşullu iki terimli işlece beklenmedik argüman `%s'" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "koşullu iki terimli işlece beklenmedik argüman" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "koşullu komutta beklenmeyen dizgecik `%c'" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "koşullu komutta beklenmeyen dizgecik `%s'" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "koşullu komutta beklenmeyen dizgecik %d" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "beklenmeyen dizgecik `%s' yakınında sözdizimi hatası" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "`%s' yakınında sözdizimi hatası" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "sözdizimi hatası: beklenmeyen dosya sonu" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "sözdizimi hatası" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Kabuğu bırakmak için \"%s\" kullanın.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "`)' için eşleşme aranırken beklenmedik dosya sonu" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "completion: `%s' işlevi yok" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: hatalı bağlayıcı `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: geçersiz dosya tanımlayıcısı" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: BOŞ dosya işaretçisi" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: `%c': geçersiz biçim karakteri" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "dosya tanıtıcı aralık dışında" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: belirsiz yönlendirme" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: mevcut dosyanın üzerine yazılamıyor" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: kısıtlı: çıktı yönlendirilemiyor" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "belge için geçici dosya oluşturulamıyor: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: fd değişkene atanamıyor" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port ağ olmaksızın desteklenmiyor" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "yönlendirme hatası: fd yinelenemiyor" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "/tmp bulunamadı, lütfen oluşturun!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp geçerli bir dizinin adı olmalıdır" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: geçersiz seçenek" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "fd %d için geciktirmeme kipi sıfırlanamıyor" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "fd %d için geciktirmeme kipi sıfırlanamıyor" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: bir dizin" + +#: shell.c:1777 msgid "I have no name!" msgstr "Hiç ismim yok!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, sürüm %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1562,44 +1668,54 @@ msgstr "" "Kullanım:\t%s [GNU uzun seçeneği] [seçenek] ...\n" "\t%s [GNU uzun seçeneği] [seçenek] betik-dosyası ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU uzun seçenekleri:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Kabuk seçenekleri:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-ilrsD veya -c KOMUT veya -O shopt_seçeneği\t\t(sadece çağrı için)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s ya da -o seçeneği\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Kabuk seçenekleriyle ilgili daha fazla bilgi için `%s -c \"help set\"' " "yazın.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Kabuk yerleşik komutlarıyla ilgili bilgi almak için `%s -c help' yazın.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "" "Yazılım hatalarını raporlamak için `bashbug' komutunu kullanınız.\n" "Çeviri hatalarını ise adresine bildiriniz.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: geçersiz işlem" @@ -1773,77 +1889,92 @@ msgstr "Bilinmeyen Sinyal #" msgid "Unknown Signal #%d" msgstr "Bilinmeyen Sinyal #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "hatalı ikame: %2$s içinde kapatan `%1$s' yok" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: dizi üyesine liste atanamaz" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "süreç ikamesi için borulama yapılamıyor" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "süreç ikamesi için alt süreç yapılamıyor" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "isimli boru %s okumak için açılamıyor" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "isimli boru %s yazmak için açılamıyor" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "isimli boru %s fd %d olarak yinelenemiyor" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "hatalı ikame: %s içinde kapatan \"`\" yok" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "komut ikamesi için boru yapılamıyor" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "komut ikamesi için alt süreç yapılamıyor" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: boru fd 1 olarak yinelenemiyor" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: dosya izleme tanımlayıcısı için geçersiz değer" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: hatalı ikame" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: geçersiz satır sayısı" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "`%s': geçersiz takma isim" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: parametre boş ya da değer atanmamış" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: altdizge ifadesi < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: hatalı ikame" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: bu yolla atama yapılmaz" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1851,12 +1982,12 @@ msgstr "" "kabuk gelecekteki sürümlerinde, bir aritmetik ikame olarak değerlendirmeye " "zorlayacak" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "hatalı ikame: %s içinde kapatan \"`\" yok" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "eşleşme yok: %s" @@ -1870,125 +2001,125 @@ msgstr "argüman bekleniyordu" msgid "%s: integer expression expected" msgstr "%s: tamsayı ifadesi bekleniyordu" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "`)' bekleniyordu" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "`)' bekleniyordu, %s bulundu" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: tek terimli işleci bekleniyordu" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: iki terimli işleci bekleniyordu" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "eksik `]'" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "geçersiz sinyal numarası" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps:trap_list[%d] içinde hatalı değer: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "" "run_pending_traps: sinyal yakalayıcı SIG_DFL'dir, kendime %d (%s) göndererek" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler:hatalı sinyal %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "`%s'nin işlev tanımının içeri aktarılmasında hata" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "kabuk düzeyi (%d) çok yüksek, 1 yapılıyor" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%s: dosya izleme tanımlayıcısı için geçersiz değer" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: geçerli etki alanında hiç işlev bağlamı yok" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: değişkene değer atanmamış olabilir" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: dosya izleme tanımlayıcısı için geçersiz değer" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: geçerli etki alanında hiç işlev bağlamı yok" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s boş exportstr içeriyor" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "%2$s için exportstr içinde geçersiz karakter %1$d" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "%s için exportstr içinde `=' yok" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: kabuk değişkenlerinin başı bir işlev bağlamı değil" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: genel değişkenler bağlamı yok" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: kabuk değişkenlerinin başı bir geçici ortam etki alanı değil" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: DOSYA olarak açılamaz" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: dosya izleme tanımlayıcısı için geçersiz değer" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: uyumlulukdeğeri aralık dışı" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Telif Hakkı (C) 2012 Özgür Yazılım Vakfı A.Ş." +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Telif Hakkı (C) 2013 Özgür Yazılım Vakfı A.Ş." #: version.c:47 version2.c:47 msgid "" @@ -2011,10 +2142,6 @@ msgstr "Bu ücretsiz bir yazılımdır; değiştirmekte ve dağıtmakta özgürs msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "İzin verilen yasalar kapsamında hiçbir GARANTİSİ BULUNMAMAKTADIR." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Telif Hakkı (C) 2012 Özgür Yazılım Vakfı A.Ş." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2035,15 +2162,15 @@ msgstr "%s: %s:%d: %lu bayt ayrılamıyor (%lu bayt ayrıldı)" msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: %lu bayt ayrılamıyor" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [isim[=değer] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] isim [isim ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -2052,112 +2179,100 @@ msgstr "" "anahtar sırası] [-x keyseq:kabuk-komutu] [keyseq:satırokuma-işlevi veya " "satırokuma-komutu]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [kabuk-dahili [arg ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [ifade]" -#: builtins.c:64 -#, fuzzy +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-L|[-P [-e]]] [dizin]" +msgstr "cd [-L|[-P [-e]] [-@]] [dizin]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] command [arg ...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [isim[=değer] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." +#: builtins.c:80 +#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." msgstr "typeset [-aAfFgilrtux] [-p] isim[=değer] ..." -#: builtins.c:80 +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [seçenek] isim[=değer] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [arg ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [arg ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f dosyaadı] [isim ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [arg ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts optstring isim [arg]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a isim] [komut [argümanlar ...]] [yönlendirme ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e ename] [-lnr] [ilk] [son] veya fc -s [pat=rep] [komut]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [görev_tan]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [görev_tan ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p yoladı] [-dt] [isim ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [desen ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2165,15 +2280,16 @@ msgstr "" "history [-c] [-d başlangıç] [n] veya history -anrw [dosyaadı] veya history -" "ps arg [arg...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [görevtan ...] veya jobs -x komut [argü]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [görevtan ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2181,11 +2297,11 @@ msgstr "" "kill [-s sinspec | -n signum | -sigspec] pid | görevtan ... veya kill -l " "[sigspec]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let arg [arg ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2193,99 +2309,96 @@ msgstr "" "read [-ers] [-a dizi] [-d sonlandırıcı] [-i metin] [-n nkarakter] [-N " "nkarakter] [-p istem] [-t zamanaşımı] [-u fd] [isim ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [isim ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [isim[=değer] ...] veya export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [isim[=değer] ...] veya readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source dosyaadı [argümanlar]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". dosyaadı [argümanlar]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [ifade]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ arg... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[arg] sinyal_tan ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] isim [isim ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" +#: builtins.c:171 +#, fuzzy +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [sınır]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [kip]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [id ...]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [pid ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for İSİM [in KELİMELER ... ] ; do KOMUTLAR; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( ifade1; ifade2; ifade3 )); do KOMUTLAR; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select İSİM [in KELİMELER ... ;] do KOMUTLAR; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] zamantüneli" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case KELİME in [DESEN [| DESEN]...) KOMUTLAR ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2293,63 +2406,63 @@ msgstr "" "if KOMUTLAR; then KOMUTLAR; [ elif KOMUTLAR; then KOMUTLAR; ]... [ else " "KOMUTLAR; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while KOMUTLAR; do KOMUTLAR; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until KOMUTLAR; do KOMUTLAR; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [isim] command [yönlendirmeler]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function isim { KOMUTLAR ; } veya isim () { KOMUTLAR ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ KOMUTLAR ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "görev_tan [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( ifade ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ ifade ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - Bazı kabuk değişkenlerinin isim ve anlamları" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | dizin]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [optname ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] biçim [argümanlar]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2359,28 +2472,30 @@ msgstr "" "W kelimelistesi] [-F işlev] [-C komut] [-X süzgeçyolu] [-P önek] [-S sonek] " "[isim ...]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o seçenek] [-A işlem] [-G genelyol] [-W " "kelimelistesi] [-F işlev] [-C komut] [-X süzgeçyolu] [-P önek] [-S sonek] " "[kelime]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o seçenek] [-DE] [isim ...]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" "mapfile [-n say] [-O kaynak] [-s say] [-t] [-u fd] [-C geriçağırım] [-c " "parçacık] [dizi]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2388,7 +2503,8 @@ msgstr "" "readarray [-n say] [-O kaynak] [-s say] [-t] [-u fd] [-C geriçağırım] [-c " "parçacık] [dizi]" -#: builtins.c:254 +#: builtins.c:256 +#, fuzzy msgid "" "Define or display aliases.\n" " \n" @@ -2400,7 +2516,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2423,12 +2539,13 @@ msgstr "" " Çıkış Durumu:\n" " Hiçbir şeyin rumuzu olmayan bir İSİM verilmedikçe alias doğru döndürür." -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2440,7 +2557,8 @@ msgstr "" " İSİM mevcut olmayan bir rumuz olmadığı takdirde doğru\n" " döndür." -#: builtins.c:289 +#: builtins.c:291 +#, fuzzy msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2474,7 +2592,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2520,7 +2639,7 @@ msgstr "" " tanınmayan bir seçenek girilmediği veya bir hata oluşmadığı durumda 0 " "döndürür." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2539,7 +2658,7 @@ msgstr "" " Çıkış Durumu:\n" " N, 1'e eşit veya daha fazla olmadığında çıkış durumu 0'dır." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2557,7 +2676,7 @@ msgstr "" " Çıkış Durumu:\n" " N, 1 veya daha büyük olmadığında çıkış durumu 0'dır." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2582,7 +2701,7 @@ msgstr "" " KABUK-DAHİLİnin çıkış durumunu veya eğer KABUK-DAHİLİ değilse false " "döndürür." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2611,7 +2730,7 @@ msgstr "" " İFADE geçersiz olmadığı ve bir kabuk işlevi çalıştırmadığı durumda 0 " "döndürür." -#: builtins.c:385 +#: builtins.c:387 #, fuzzy msgid "" "Change the shell working directory.\n" @@ -2635,16 +2754,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2681,7 +2800,9 @@ msgstr "" " -e\teğer -P seçeneği belirtilmişse ve geçerli çalışma dizini " "başarılı şekilde\n" " \tbelirlenemiyorsa, sıfır olmayan bir durumla çık\n" -" \n" +" -@ destekleyen sistemlerde, dosya niteliklerini içeren bir dizin " +"olarak uzatılmış\n" +" niteliklere sahip bir dosya sun \n" " Öntanımlı olan `-L' tanımlanmış gibi sembolik bağlantıları takip " "etmektir.\n" " \n" @@ -2690,13 +2811,14 @@ msgstr "" "diğer durumda\n" " sıfır olmayan bir değer döndürür." -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2717,7 +2839,7 @@ msgstr "" " Çıkış Durumu:\n" " Dizin okunamadığı veya geçersiz seçenek verilmediği takdirde 0 döndürür." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2733,7 +2855,7 @@ msgstr "" " Çıkış Durumu:\n" " Her zaman başarılıdır." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2745,7 +2867,7 @@ msgstr "" " Çıkış Durumu:\n" " Her zaman başarılıdır." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2757,7 +2879,8 @@ msgstr "" " Çıkış Durumu:\n" " Her zaman başarısızdır." -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2767,10 +2890,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2793,7 +2916,8 @@ msgstr "" " Çıkış Durumu:\n" " KOMUTun çıkış durumunu döndürür. KOMUT bulunamazsa başarısız olur." -#: builtins.c:487 +#: builtins.c:490 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" @@ -2803,9 +2927,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2832,18 +2956,59 @@ msgid "" " Returns success unless an invalid option is supplied or a variable\n" " assignment error occurs." msgstr "" +"Değişken değer ve niteliklerini ayarla.\n" +" \n" +" Değişkenleri ayarla ve nitelik ver. Eğer İSİM verilmemişse, tüm " +"değişkenlerin, niteliklerini ve değerlerini görüntüle.\n" +" \n" +" Seçenekler:\n" +" -f\teylemi veya işlev ismi ile tanımları gösterimini kısıtla\n" +" -F\tsadece işlev isim gösterimlerini kısıtla (ek olarak satır sayısı " +"ve hata ayıklarken\n" +" \tkaynak dosyayı)\n" +" -g\tbir kabuk fonksiyonunda kullanıldığında evrensel değişken " +"oluştur,\n" +" \taksi takdirde yoksayılır\n" +" -p\ther İSİMin değeri ve niteliklerini görüntüle\n" +" \n" +" Nitelik ayarlayan seçenekler:\n" +" -a\tİSİMleri indisli diziler yapmak için (destekleniyorsa)\n" +" -A\tİSİMleri ilişkisel dizi yapmak için (destekleniyorsa)\n" +" -i\tİSİMleri `integer' niteliği sahibi yapmak için\n" +" -l\tİSİMleri atamada küçük harfe dönüştürmek için\n" +" -n\tİSİMi değeriyle isimlendirilmiş bir değişkene referans yapmak " +"için\n" +" -r\tİSİMleri salt okunur yapmak için\n" +" -t\tİSİMlerin `trace' niteliği sahibi yapmak için\n" +" -u\tİSİMleri atamada büyük harfe dönüştürmek için\n" +" -x\tİSİMleri dışarı çıkarabilir yapmak için\n" +" \n" +" `-' yerine `+' kullanmak belirtilen niteliği kapatır.\n" +" \n" +" Tamsayı niteliğine sahip değişkenler, bir değere atandıklarında " +"aritmetik değerlendirmeye tabi tutulurlar (`let' komutuna bakın).\n" +" \n" +" Bir fonksiyonda kullanıldığında, `declare' İSİMleri, `local' komutu\n" +"gibi yerel\n" +" yapar. `-g' seçeneği bu davranışı iptal eder.\n" +" \n" +" Çıkış Durumu:\n" +" Geçersiz bir değer sağlanmadığı veya değişken atama hatası olmadığı " +"sürece\n" +" başarılı döner." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Değişken isim ve niteliklerini ayarla.\n" " \n" " Kullanılmıyor. Bkz. `help declare'." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2871,7 +3036,7 @@ msgstr "" "veya\n" " kabuk bir işlev çalıştırmıyorsa başarılı döner." -#: builtins.c:552 +#: builtins.c:555 #, fuzzy msgid "" "Write arguments to the standard output.\n" @@ -2898,16 +3063,17 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" "Argümanları standart çıktıya yaz.\n" " \n" -" ARGümanları yeni satırla izlenen standart çıktıda görüntüle.\n" +" ARGümanları yeni satırla izlenen standart çıktıda bir boşluk karakteri\n" +" kullandıktan sonra göster.\n" " \n" " Seçenekler:\n" " -n\tyeni satıra başvurma\n" @@ -2919,6 +3085,7 @@ msgstr "" " \\b\tgerisilme\n" " \\c\tsonraki çıktıları gizle\n" " \\e\tkaçış karakteri\n" +" \\E\tkaçış karakteri\n" " \\f\tform besleme\n" " \\n\tyeni satır\n" " \\r\tsatırbaşı\n" @@ -2934,7 +3101,7 @@ msgstr "" " Çıkış Durumu:\n" " Yazma hatası oluşmadığı takdirde başarılı döner." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2956,7 +3123,7 @@ msgstr "" " Çıkış Durumu:\n" " Bir hata oluşmadığı sürece başarılı döner." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2982,8 +3149,32 @@ msgid "" " Exit Status:\n" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" +"Kabuk yerleşiklerini etkinleştir/devre dışı bırak.\n" +" \n" +" Dahili kabuk komutlarını etkinleştirir ve devre dışı bırakır. Devre " +"dışı\n" +" bırakmak bir kabuk yerleşiği ile aynı isme sahip bir disk komutunu tam\n" +" bir yol adı kullanmadan çalıştırmanızı sağlar. \n" +" Seçenekler:\n" +" -a\ttüm yerleşikler listesini etkin olup olmadıkları bilgisi ile " +"yazdır\n" +" -n\ther İSİMi devre dışı bırak veya devre dışı olanları listele\n" +" -p\tyerleşik listesini tekrar kullanılabilir biçimde yazdır\n" +" -s\tsadece Posix `özel' yerleşiklerinin isimlerini yazdır\n" +" \n" +" Hareketli yüklemeyi denetleyen seçenekler:\n" +" -f\tİSİM yerleşiğini paylaşılan DOSYAADI nesnesinden yükle\n" +" -d\t-f ile yüklenmiş bir yerleşiği kaldır\n" +" \n" +" Seçenek olmazsa her İSİM etkinleştirilir.\n" +" \n" +" Kabuk yerleşiği sürümü yerine $PATH içerisinde bulunan `test' kullanmak\n" +" için `enable -n test' yazın.\n" +" \n" +" Çıktı Durumu:\n" +" İSİM bir kabuk yerleşiği değilse ve hata oluşmazsa başarılı döner." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3003,7 +3194,7 @@ msgstr "" " Çıkış Durumu:\n" " Komutun çıkış durumunu döndürür veya komut boşsa başarılı döner." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3100,7 +3291,8 @@ msgstr "" "bir hata oluştuğunda başarısız döner.\n" " encountered or an error occurs." -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -3111,8 +3303,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3140,7 +3332,7 @@ msgstr "" " Çıkış Durumu:\n" " KOMUT bulunduğu ve bir yönlendirme hatası olmadığı sürece başarılı döner." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3152,7 +3344,7 @@ msgstr "" " N durumu ile dönerek kabuk çıkar. N verilmezse son çalıştırılan komutun\n" " çıkış durumu döner." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3165,7 +3357,7 @@ msgstr "" " N durumuyla bir oturum kabuğundan çıkar. Eğer çalıştırılmamışsa oturum\n" " kabuğunda bir hata döndürür." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3222,7 +3414,7 @@ msgstr "" " Başarılı veya çalıştırılan komut durumu döndürülür; hata oluştuğunda " "sıfır harici değer döner." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3242,7 +3434,7 @@ msgstr "" " Çıktı Durumu:\n" " Ön plana yerleştirilmiş komutun durumu veya hata olduğunda başarısız." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3264,7 +3456,7 @@ msgstr "" " İş kontrolü etkin olmadığı veya bir hata oluşmadığı sürece başarılı " "döner." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3273,22 +3465,23 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3300,7 +3493,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3309,8 +3502,27 @@ msgid "" " Returns success unless PATTERN is not found or an invalid option is " "given." msgstr "" +"Dahili komutlar hakkında bilgi görüntüle.\n" +" \n" +" Dahili komutların özetlerini görüntüler. Eğer DESEN belirtilmişse,\n" +" DESEN ile eşleşen tüm komutlar hakkında ayrıntılı bilgi verir, aksi\n" +" halde, yardım konuları yazdırılır.\n" +" \n" +" Seçenekler:\n" +" -d\ther konu için kısa açıklama yazdır\n" +" -m\tkullanımı pseudo-man sayfası biçiminde yazdır\n" +" -s\tsadece DESEN ile eşleşen konular için kısa kullanım\n" +" \tbilgisi yazdır\n" +" \n" +" Argümanlar:\n" +" DESEN\tBir yardım konusunu belirten desen\n" +" \n" +" Çıktı Durumu:\n" +" DESEN bulunmadığı veya geçersiz bir seçenek verilmediğinde başarılı " +"döner." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3319,23 +3531,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3375,7 +3587,7 @@ msgstr "" " Geçersiz bir seçenek girilmediği veya bir hata oluşmadığı takdirde " "başarılı döner." -#: builtins.c:869 +#: builtins.c:872 #, fuzzy msgid "" "Display status of jobs.\n" @@ -3386,7 +3598,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3422,7 +3634,8 @@ msgstr "" "başarılı döner.\n" " -x kullanılmışsa, KOMUTun çıkış durumu döndürülür." -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -3432,14 +3645,29 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" +"Görevleri geçerli kabuktan kaldır.\n" +" \n" +" Her İŞTANIMı argümanını etkin görevler tablosundan kaldırır. İŞTANIMı " +"olmadan,\n" +" kabuk geçerli görev kavramını kullanır.\n" +" \n" +" Seçenekler:\n" +" -a\tİŞTANIMı belirtilmemişse tüm görevleri kaldır\n" +" -h\ther İŞTANIMını işaretle, böylece kabul bir SIGHUP aldığında göreve " +"SIGHUP\n" +" \tgönderme\n" +" -r\tsadece çalışan görevleri kaldırremove \n" +" \n" +" Çıkış Durumu:\n" +" Geçersiz bir seçenek veya İŞTANIMı girilmedikçe başarılı döner." -#: builtins.c:915 +#: builtins.c:918 #, fuzzy msgid "" "Send a signal to a job.\n" @@ -3452,7 +3680,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3461,24 +3690,31 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" -"\rkill [-s SİNYAL | -n SİNYALNUM | -SİNYAL] PID | İŞ_BELİRTİMİ ...\n" -"kill -l [SİNYAL]\n" +"Bir göreve sinyal gönder.\n" +" \n" " PID ile belirtilen süreç kimliğine veya İŞ_BELİRTİMİ ile belirtilen\n" " işin sürecine SİNYAL veya SİNYALNUM ile belirtilen sinyali gönderir.\n" -" SİNYAL ya harf büyüklüğüne duyarsız olarak SIGINT gibi bir sinyal ismi\n" -" (SIG öneki olmadan da verilebilir) ya da bir sinyal numarası olabilir.\n" -" SİNYALNUM ise bir sinyal numarası olmalıdır. SİNYAL veya SİNYALNUM\n" -" verilmezse öntanımlı olarak SIGTERM kullanılır. -l seçeneği ile sinyal\n" -" isimleri listelenir. Argümanlı -l seçeneğinde argümanların listelenecek\n" -" sinyal isimlerinin numaraları olduğu varsayılır. Kill iki sebepten\n" -" dolayı bir kabuk yerleşiğidir: süreç kimlikleri yerine iş " -"kimliklerinin\n" -" kullanımını mümkün kılar ve eğer oluşturabileceğiniz süreç sayısı\n" -" sınırını aşarsanız başka bir süreci öldürecek bir süreci başlatmak\n" -" zorunda kalmazsınız." - -#: builtins.c:938 -#, fuzzy +" SİNYAL veya SİNYALNUM verilmezse öntanımlı olarak SIGTERM kullanılır.\n" +" \n" +" Seçenekler:\n" +" -s sig\tSİNYAL bir sinyal\n" +" -n sig\tSİNYAL bir sinyal numarası\n" +" -l\t-l seçeneği ile sinyal isimleri listelenir.\n" +" Argümanlı -l seçeneğinde argümanların listelenecek\n" +" sinyal isimlerinin numaraları olduğu varsayılır. \n" +" Kill iki sebepten dolayı bir kabuk yerleşiğidir: süreç kimlikleri yerine " +"iş\n" +" kimliklerinin kullanımını mümkün kılar ve eğer oluşturabileceğiniz " +"süreç\n" +" sayısı sınırını aşarsanız başka bir süreci öldürecek bir süreci " +"başlatmak\n" +" zorunda kalmazsınız.\n" +" \n" +" Çıktı Durumu:\n" +" Geçersiz bir seçenek belirtilmediği veya bir hata oluşmadığında başarılı " +"döner." + +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3522,47 +3758,49 @@ msgid "" " Exit Status:\n" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -"\rlet İFADE [İFADE ...]\n" -" Her İFADE değerlendirilecek bir aritmetik ifadesidir. Değerlendirme\n" +"Aritmetik ifadeleri değerlendir.\n" +" \n" +" Her ARG değerlendirilecek bir aritmetik ifadesidir. Değerlendirme\n" " sabit genişlikli tamsayılarla, taşma denetimi uygulanmaksızın yapılır,\n" " sıfırla bölme bir hata olarak bayraklanır ve onun için bir sinyal\n" " kapanı vardır. İşleçler için öncelikler ve çağrışımsallık ve değerler\n" " C dilindeki ile aynıdır. Aşağıdaki işleçler eşit öncelikli işleç\n" " düzeylerine göre öbeklenmiş ve azalan öncelikle listelenmişlerdir.\n" -"\n" -" id++ id-- sonradan-arttırım ve sonradan-eksiltim\n" -" ++id --id önceden-arttırım ve önceden-eksiltim\n" -" - + tek terimli eksi ve artı imi\n" -" ! ~ mantıksal ve bitseviyesinde olumsuzlama\n" -" ** üs imi\n" -" * / % çarpma, bölme, kalan\n" -" + - toplama, çıkarma\n" -" << >> bitseviyesinde sola ve sağa ötelemeler\n" -" <= >= < > karşılaştırmalar\n" -" == != eşitlik, eşitsizlik\n" -" & bitseviyesinde VE\n" -" ^ bitseviyesinde ayrıcalıklı VEYA\n" -" | bitseviyesinde VEYA\n" -" && mantıksal VE\n" -" || mantıksal VEYA\n" -" ifade ? ifade : ifade koşullu üç terimlisi\n" -" = *= /= %=\n" -" += -= <<= \n" -" >>= &= ^= |=\n" -" atama iki terimlileri\n" -"\n" +" \n" +" \tid++ id--\tsonradan-arttırım ve sonradan-eksiltim\n" +" \t++id --id\tönceden-arttırım ve önceden-eksiltim\n" +" \t- +\t\ttek terimli eksi ve artı imi\n" +" \t! ~\t\tmantıksal ve bitseviyesinde olumsuzlama\n" +" \t**\t\tüs imi\n" +" \t* / %\t\tçarpma, bölme, kalan\n" +" \t+ -\t\ttoplama, çıkarma\n" +" \t<< >> \tbit seviyesinde sola ve sağa ötelemeler\n" +" \t<= >= < >\tkarşılaştırmalar\n" +" \t== !=\t\teşitlik, eşitsizlik\n" +" \t&\t\tbit seviyesinde VE\n" +" \t^\t\tbit seviyesinde ayrıcalıklı VEYA\n" +" \t|\tbit seviyesinde VEYA\n" +" \t&&\t\tmantıksal VE\n" +" \t||\t\tmantıksal VEYA\n" +" \tifade ? ifade : ifade\n" +" \t\t\tkoşullu üç terimlisi\n" +" \t=, *=, /=, %=,\n" +" \t+=, -=, <<=, >>=,\n" +" \t&=, ^=, |=\tatamalar\n" +" \n" " Kabuk değişkenleri terim olarak kullanılabilir. İfade içinde değişken\n" " ismi değeriyle değiştirilir (sabit genişlikli tamsayıya zorlanır).\n" " Bir kabuk değişkeni ifade içinde kullanılırken tamsayı niteliğinin\n" " etkinleştirilmesini gerektirmez.\n" -"\n" +" \n" " İşleçler öncelik sırasına göre değerlendirilir. Parantez içine alınmış\n" " alt ifadeler öncelikle değerlendirilir. Bu nedenle parantez içine alma\n" " işleçlerin önceliklerini arttırmak amacıyla kullanılabilir.\n" -"\n" +" \n" +" Çıktı Durumu:\n" " Son ifade'nin sonucu 0 ise dönüş durumu 1 dir, aksi takdirde 0 dır." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3583,27 +3821,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3613,7 +3852,7 @@ msgid "" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3624,8 +3863,16 @@ msgid "" " Exit Status:\n" " Returns N, or failure if the shell is not executing a function or script." msgstr "" +"Bir kabuk fonksiyonundan dön.\n" +" \n" +" Bir fonksiyon veya kaynak betiğinin N ile belirtilen dönüş değeri ile\n" +" çıkmasına neden olur. N girilmezse, dönüş durumu fonksiyon veya\n" +" betikte çalıştırılmış en son komutun dönüş durumudur.\n" +" \n" +" Çıkış Durumu:\n" +" N veya kabul bir fonksiyon ya da betik çalıştırmıyorsa başarısız döner." -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3694,7 +3941,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3710,7 +3958,12 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given." msgstr "" -"\rset [--abefhkmnptuvxBCHP] [-o seçenek] [arg ...]\n" +"Kabuk seçenekleri ve konumsal parametrelerin değerlerini ata veya kaldır\n" +" \n" +" Kabuk nitelikleri veya konumsal parametre değerlerini değiştir veya\n" +" kabuk değişkenlerinin isim ve değerlerini görüntüle.\n" +" \n" +" Seçenekler:\n" " -a Müteakip komutların ortamına aktarılmak üzere değiştirilen veya\n" " oluşturulan işlev ve değişkenleri imler.\n" " -b Sonlandırılan artalan işlerin durumunun anında raporlanmasını " @@ -3789,8 +4042,10 @@ msgstr "" " kabuklarda öntanımlı olarak etkindir.\n" " -P Verildiğinde, örneğin çalışılan dizini değiştirmek için cd gibi bir\n" " komut sembolik bağları izlemez.\n" -" -T Etkinse DEBUG ve RETURN üstündeki bir tuzak kabuk işlevlerince\n" +" -T Etkinse DEBUG üstündeki bir tuzak kabuk işlevlerince\n" " miras alınır.\n" +" -- Geri kalan argümanları konumsal parametrelere ata. Eğer kalan\n" +" argüman yoksa, konumsal parametrelerin ataması kaldırılır.\n" " - Seçeneklerin sonunu belirtir. Kalan tüm argümanlar konumsal\n" " parametrelere ayarlanır. -x ve -v seçenekleri kapatılır.\n" "\n" @@ -3799,9 +4054,11 @@ msgstr "" " kullanılabilir. Seçeneklerin mevcut listesi $- içinde bulunabilir.\n" " Kalan N argüman konumsal parametrelerdir ve $1, $2, ... $N şeklinde\n" " atanır. Özel parametre # ise N'e ayarlanır. Hiç argüman verilmezse,\n" -" tüm kabuk değişkenleri basılır." +" tüm kabuk değişkenleri basılır. \n" +" Çıktı Durumu:\n" +" Geçersiz seçenek belirtilmediği sürece başarılı döner." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3811,7 +4068,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3823,7 +4080,7 @@ msgid "" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3842,7 +4099,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3854,9 +4111,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3864,7 +4120,7 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3875,7 +4131,7 @@ msgid "" " Returns success unless N is negative or greater than $#." msgstr "" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3902,7 +4158,7 @@ msgstr "" " DOSYAİSMİnde çalıştırılan son komutun durumunu döndürür. DOSYAİSMİ\n" " okunamazsa başarısız döner." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3916,7 +4172,7 @@ msgid "" " Returns success unless job control is not enabled or an error occurs." msgstr "" -#: builtins.c:1248 +#: builtins.c:1254 #, fuzzy msgid "" "Evaluate conditional expression.\n" @@ -3981,9 +4237,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3999,53 +4255,50 @@ msgid "" " Returns success if EXPR evaluates to true; fails if EXPR evaluates to\n" " false or an invalid argument is given." msgstr "" -"\rtest [İFADE]\n" -"[ [İFADE] ]\n" +"Koşullu ifade değerlendir.\n" +" \n" " İFADEnin değerlendirilmesine bağlı olarak 0 (doğru) veya 1 (yanlış)\n" " durumu ile çıkar. İfadeler tek terimli ya da iki terimli olabilir.\n" " Tek terimli ifadeler çoğunlukla bir dosyanın durumunu saptamakta\n" " kullanılır. Dizge işleçleri ve sayısal karşılaştırma işleçleri de\n" " vardır.\n" -"\n" +" \n" " Dosya işleçleri:\n" -"\n" -" -a DOSYA DOSYA varsa doğrudur.\n" -" -b DOSYA DOSYA varsa ve bloka özelse doğrudur.\n" -" -c DOSYA DOSYA varsa ve karaktere özelse doğrudur.\n" -" -d DOSYA DOSYA varsa ve bir dizinse doğrudur.\n" -" -e DOSYA DOSYA varsa doğrudur.\n" -" -f DOSYA DOSYA varsa ve normal bir dosyaysa doğrudur.\n" -" -g DOSYA DOSYA varsa ve grup kimliği biti 1 ise doğrudur.\n" -" -h DOSYA DOSYA varsa ve bir sembolik bağ ise doğrudur.\n" -" -L DOSYA DOSYA varsa ve bir sembolik bağ ise doğrudur.\n" -" -k DOSYA DOSYA dosya varsa ve yapışkan biti 1 ise doğrudur.\n" -" -p DOSYA DOSYA varsa ve bir isimli boru (FIFO) ise doğrudur.\n" -" -r DOSYA DOSYA varsa ve okuyabiliyorsanız doğrudur.\n" -" -s DOSYA DOSYA varsa ve uzunluğu sıfırdan büyükse doğrudur.\n" -" -S DOSYA DOSYA varsa ve bir soketse doğrudur.\n" -" -t DSYTNT DSYTNT açık ve bir uçbirime karşılıksa doğrudur.\n" -" -u DOSYA DOSYA varsa ve kullanıcı kimliği biti 1 ise " -"doğrudur.\n" -" -w DOSYA DOSYA dosya varsa ve yazabiliyorsanız doğrudur.\n" -" -x DOSYA DOSYA dosya varsa ve çalıştırabiliyorsanız " -"doğrudur.\n" -" -O DOSYA DOSYA varsa ve etkin sahibi sizseniz doğrudur.\n" -" -G DOSYA DOSYA varsa ve etkin grubu sizinkiyse doğrudur.\n" -" -N DOSYA DOSYA varsa ve son okunduğundan beri " -"değiştirilmişse\n" +" \n" +" -a DOSYA DOSYA varsa doğrudur.\n" +" -b DOSYA DOSYA varsa ve bloka özelse doğrudur.\n" +" -c DOSYA DOSYA varsa ve karaktere özelse doğrudur.\n" +" -d DOSYA DOSYA varsa ve bir dizinse doğrudur.\n" +" -e DOSYA DOSYA varsa doğrudur.\n" +" -f DOSYA DOSYA varsa ve normal bir dosyaysa doğrudur.\n" +" -g DOSYA DOSYA varsa ve grup kimliği biti 1 ise doğrudur.\n" +" -h DOSYA DOSYA varsa ve bir sembolik bağ ise doğrudur.\n" +" -L DOSYA DOSYA varsa ve bir sembolik bağ ise doğrudur.\n" +" -k DOSYA DOSYA dosya varsa ve yapışkan biti 1 ise doğrudur.\n" +" -p DOSYA DOSYA varsa ve bir isimli boru (FIFO) ise doğrudur.\n" +" -r DOSYA DOSYA varsa ve okuyabiliyorsanız doğrudur.\n" +" -s DOSYA DOSYA varsa ve uzunluğu sıfırdan büyükse doğrudur.\n" +" -S DOSYA DOSYA varsa ve bir soketse doğrudur.\n" +" -t DSYTNT DSYTNT açık ve bir uçbirime karşılıksa doğrudur.\n" +" -u DOSYA DOSYA varsa ve kullanıcı kimliği biti 1 ise doğrudur.\n" +" -w DOSYA DOSYA dosya varsa ve yazabiliyorsanız doğrudur.\n" +" -x DOSYA DOSYA dosya varsa ve çalıştırabiliyorsanız doğrudur.\n" +" -O DOSYA DOSYA varsa ve etkin sahibi sizseniz doğrudur.\n" +" -G DOSYA DOSYA varsa ve etkin grubu sizinkiyse doğrudur.\n" +" -N DOSYA DOSYA varsa ve son okunduğundan beri değiştirilmişse\n" " doğrudur.\n" -"\n" -" DOSYA1 -nt DOSYA2 dosya1, dosya2'den değişiklik tarihine göre\n" +" \n" +" DOSYA1 -nt DOSYA2 dosya1, dosya2'den değişiklik tarihine göre\n" " daha yeni ise ya da dosya1 mevcutken dosya2 yoksa\n" " doğrudur.\n" -"\n" +" \n" " DOSYA1 -ot DOSYA2 dosya1, dosya2 den daha eski ise ya da dosya2\n" " mevcutken dosya1 yoksa doğrudur.\n" -"\n" +" \n" " DOSYA1 -ef DOSYA2 dosya1 ile dosya2 aynı aygıt ve aynı dosya " "düğümünü\n" " gösteriyorsa (ona sabit bağ ise) doğrudur.\n" -"\n" +" \n" " Dizge işleçleri:\n" " \n" " -z DİZGE dizge uzunluğu sıfırsa doğrudur.\n" @@ -4059,24 +4312,28 @@ msgstr "" " önceyse doğrudur.\n" " DİZGE1 > DİZGE2 dizge1 yerele göre sıralamada dizge2'den\n" " sonraysa doğrudur.\n" -"\n" +" \n" " Diğer işleçler:\n" -"\n" +" \n" " -o SEÇENEK Kabuk seçeneği SEÇENEK etkinse doğrudur.\n" " ! İFADE İFADE yanlışsa doğrudur.\n" " İFADE1 -a İFADE2 İFADE1 ve İFADE2 her ikisi de doğruysa doğrudur.\n" " İFADE1 -o İFADE2 İFADE1 veya İFADE2 doğruysa doğrudur.\n" -"\n" +" \n" " arg1 İM arg2 Aritmetik sınamalar. İM bunlardan biri " "olmalıdır:\n" " -eq, -ne, -lt, -le, -gt veya -ge.\n" -"\n" +" \n" " Bir aritmetik ifadede ARG1 ve ARG2 arasında, aranan eşitlik, " "eşitsizlik,\n" " küçüklük, büyüklük, küçüklük veya eşitlik, büyüklük veya eşitlik varsa\n" -" ifadenin sonucu doğrudur." +" ifadenin sonucu doğrudur. \n" +" Çıktı Durumu:\n" +" Eğer İFADE true olursa başarılı, İFADE false ile sonuçlanırsa veya " +"geçersiz\n" +" argümanda başarısız döner." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4088,7 +4345,7 @@ msgstr "" " \"test\" yerleşiği ile aynıdır, fakat son argüman açan `[' ile eşleşen\n" " kapatan `]' olmak zorundadır." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4099,8 +4356,15 @@ msgid "" " Exit Status:\n" " Always succeeds." msgstr "" +"İşleme süresini görüntüle.\n" +" \n" +" Kabuk ve tüm alt süreçleri için kümülatif kullanıcı ve sistem süresini\n" +" yazdırır.\n" +" \n" +" Çıktı Durumu:\n" +" Her zaman başarılı döner." -#: builtins.c:1350 +#: builtins.c:1357 #, fuzzy msgid "" "Trap signals and other events.\n" @@ -4161,7 +4425,7 @@ msgstr "" " numaraları ile birlikte listelemesini sağlar. Kabuğa bir sinyal\n" " göndermek isterseniz \"kill -SİGNAL $$\" sözdizimini kullanabilirsiniz." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4170,18 +4434,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4191,7 +4455,8 @@ msgid "" "found." msgstr "" -#: builtins.c:1417 +#: builtins.c:1424 +#, fuzzy msgid "" "Modify shell resource limits.\n" " \n" @@ -4209,6 +4474,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4220,7 +4486,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4279,7 +4546,7 @@ msgstr "" " Geçersiz bir seçenek girilmediği veya bir hata oluşmadığı takdirde " "başarılı döner." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4297,7 +4564,7 @@ msgid "" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4332,7 +4599,7 @@ msgstr "" "verilmişse\n" " başarısız olur." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4359,7 +4626,7 @@ msgstr "" "verilmişse\n" " başarısız olur." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4383,7 +4650,7 @@ msgstr "" " Çıkış Durumu:\n" " Son çalıştırılan komutun durumunu döndürür." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4414,7 +4681,7 @@ msgstr "" " Çıkış Durumu:\n" " Son çalıştırılan komutun durumunu döndürür." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4457,8 +4724,7 @@ msgstr "" " Çıktı Durumu:\n" " Son çalıştırılan komutun durumunu döndürür." -#: builtins.c:1574 -#, fuzzy +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4473,15 +4739,21 @@ msgid "" " Exit Status:\n" " The return status is the return status of PIPELINE." msgstr "" -"\rtime [-p] [!] KOMUT1 [| KOMUT2 ...]\n" -" Bir boruhattındaki her komut bir kanal ile sonrakine bağlıdır. Böylece\n" -" her komut bir önceki komutun çıktısını okur. time boruhattındaki iş\n" -" sonuçlanınca geçen gerçek zaman, kullanıcı ve sistem zamanını basar.\n" -" Dönüş durumu boruhattının dönüş durumudur. -p seçeneği zaman\n" -" istatistiklerinin biraz farklı bir biçimde basılmasını sağlar; çıktı\n" -" biçimi olarak TIMEFORMAT değişkeninin değerini kullanır." - -#: builtins.c:1591 +"Veriyolu çalıştırması tarafından harcanan zamanı bildir.\n" +" \n" +" VERİYOLUnu çalıştır ve sonlandığında kullanıcı işlemci zamanı ile " +"sistem\n" +" işlemci zamanını içeren gerçek zamanın bir özetini yazdır.\n" +" \n" +" Seçenekler:\n" +" -p\ttaşınabilir Posix biçiminde zaman özetini yaz\n" +" \n" +" ZAMANBİÇİMİ değişkeninin değeri çıktı biçimi olarak kullanılır.\n" +" \n" +" Çıktı Durumu:\n" +" VERİYOLU döndürme değerini döndürür." + +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4499,7 +4771,7 @@ msgstr "" " Çıkış Durumu:\n" " Son çalıştırılan komutun durumunu döndürür." -#: builtins.c:1603 +#: builtins.c:1612 #, fuzzy msgid "" "Execute commands based on conditional.\n" @@ -4534,8 +4806,7 @@ msgstr "" " çıkış durumudur. Bir komut çalıştırılmamışsa ve hiçbir koşul\n" " doğru sonuç vermemişse sıfır döner." -#: builtins.c:1620 -#, fuzzy +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4545,11 +4816,15 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" -"\rwhile KOMUTlar; do KOMUTlar; done\n" -" `while KOMUTlar; listesinin çıkış durumu sıfır olduğu sürece\n" -" `do KOMUTlar;' listesi çalıştırılır." +"Testler başarılı olduğu sürece komutları çalıştırır.\n" +" \n" +" KOMUTLARı, `while' KOMUTLARı sıfır çıktı durumuna sahip oluncaya\n" +" kadar genişlet ve çalıştır.\n" +" \n" +" Çıktı Durumu:\n" +" En son çalıştırılan komutun durumunu döndürür." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4567,7 +4842,7 @@ msgstr "" " Çıktı Durumu:\n" " Son çalıştırılan komutun durumunu döndürür." -#: builtins.c:1644 +#: builtins.c:1653 msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4577,10 +4852,10 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4594,7 +4869,7 @@ msgid "" " Returns success unless NAME is readonly." msgstr "" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4612,7 +4887,7 @@ msgstr "" " Çıktı Durumu:\n" " Son çalıştırılan komutun durumunu döndürür." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4636,7 +4911,7 @@ msgstr "" " Çıktı Durumu:\n" " Devam edilen görevin durumunu döndürür." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4654,7 +4929,7 @@ msgstr "" " Çıktı Durumu:\n" " İFADE 0 olursa 1; aksi takdirde 0 döndürür." -#: builtins.c:1711 +#: builtins.c:1720 #, fuzzy msgid "" "Execute conditional command.\n" @@ -4697,7 +4972,7 @@ msgstr "" " olarak ele alınır ve kalıp eşleştirmesi uygulanır. && ve || işleçleri\n" " eğer ilk ifade sonuç için belirleyici ise ikincisine bakmazlar." -#: builtins.c:1737 +#: builtins.c:1746 #, fuzzy msgid "" "Common shell variable names and usage.\n" @@ -4818,7 +5093,7 @@ msgstr "" " gerektiğine karar vermek için kullanılan kalıpların\n" " ikinokta imi ayraçlı listesi.\n" -#: builtins.c:1794 +#: builtins.c:1803 #, fuzzy msgid "" "Add directories to stack.\n" @@ -4829,19 +5104,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -4870,7 +5145,7 @@ msgstr "" "\n" " Dizin yığıtını `dirs' komutuyla görebilirsiniz." -#: builtins.c:1828 +#: builtins.c:1837 #, fuzzy msgid "" "Remove directories from stack.\n" @@ -4880,16 +5155,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -4911,7 +5186,7 @@ msgstr "" " engeller, böylece sadece yığıt değiştirilmiş olur. \n" " Dizin yığıtını `dirs' komutuyla görebilirsiniz." -#: builtins.c:1858 +#: builtins.c:1867 #, fuzzy msgid "" "Display directory stack.\n" @@ -4923,19 +5198,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -4957,7 +5232,7 @@ msgstr "" " -N dirs seçeneksiz çağrıldığında gösterdiği listenin sağından\n" " sıfırla başlayarak sayılan N'inci girdiyi gösterir." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -4978,7 +5253,7 @@ msgid "" " given or OPTNAME is disabled." msgstr "" -#: builtins.c:1908 +#: builtins.c:1919 #, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" @@ -4996,15 +5271,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5029,7 +5304,7 @@ msgstr "" " biçimde çıktılamasını sağlar. -v seçeneği çıktının standart çıktıya\n" " basılması yerine DEĞİŞKENe atanmasını sağlar. " -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5042,11 +5317,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5056,7 +5331,7 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5078,7 +5353,7 @@ msgstr "" " Geçersiz bir seçenek girilmediği veya bir hata oluşmadığı takdirde " "başarılı döner." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5109,7 +5384,7 @@ msgid "" " have a completion specification defined." msgstr "" -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5120,20 +5395,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5150,7 +5426,7 @@ msgid "" " not an indexed array." msgstr "" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5160,6 +5436,25 @@ msgstr "" " \n" " `mapfile' ile eşanlamlıdır." +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Telif Hakkı (C) 2013 Özgür Yazılım Vakfı A.Ş." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Telif Hakkı (C) 2012 Özgür Yazılım Vakfı A.Ş." + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Telif Hakkı (C) 2009 Free Software Foundation, Inc.\n" @@ -5289,9 +5584,6 @@ msgstr "" #~ msgid "removes the top directory from the stack, and cd's to the new" #~ msgstr "yığıtın en üstündeki dizini yığıttan kaldırır ve" -#~ msgid "top directory." -#~ msgstr "yığıtın tepesinde kalan dizine geçer." - #~ msgid "+N removes the Nth entry counting from the left of the list" #~ msgstr "+N `dirs' tarafından gösterilen listenin solundan saymaya" diff --git a/po/uk.gmo b/po/uk.gmo index f67756d27..466af2cdc 100644 Binary files a/po/uk.gmo and b/po/uk.gmo differ diff --git a/po/uk.po b/po/uk.po index c86716083..f49732bde 100644 --- a/po/uk.po +++ b/po/uk.po @@ -4,90 +4,96 @@ # # Myhailo Danylenko , 2009. # Maxim V. Dziumanenko , 2010. -# Yuri Chornoivan , 2011, 2013, 2014. +# Yuri Chornoivan , 2011, 2013, 2014, 2015. msgid "" msgstr "" -"Project-Id-Version: bash 4.3-rc2\n" +"Project-Id-Version: bash 4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-01-30 20:45+0200\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-15 21:32+0300\n" "Last-Translator: Yuri Chornoivan \n" "Language-Team: Ukrainian \n" -"Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Language: uk\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Lokalize 1.5\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "неправильний індекс масиву" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: неможливо перетворити індексований масив на асоціативний" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: неправильний ключ асоціативного масиву" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: означення нечислових елементів неможливе" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: при означенні асоціативних масивів слід вказувати ключ" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: не вдалося створити: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "" "bash_execute_unix_command: не вдалося знайти відповідне призначення для " "команди" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: перший непробільний символ не є «\"»" # c-format -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "нема заключної «%c» у %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: пропущено двокрапку-роздільник" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "розкриття дужок: не вдалося отримати пам’ять для %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" msgstr "розкриття дужок: не вдалося отримати об’єм пам’яті для %d елементів" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" msgstr "розкриття дужок: не вдалося отримати об’єм пам’яті для «%s»" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "«%s»: некоректна назва замінника" @@ -96,45 +102,45 @@ msgstr "«%s»: некоректна назва замінника" msgid "line editing not enabled" msgstr "редагування рядку не ввімкнено" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "«%s»: неправильна назва набору призначень клавіш" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: не вдалося прочитати: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "«%s»: не вдалося зняти призначення" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "«%s»: невідома назва функції" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s не призначено жодної клавіші.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s можна запустити за допомогою " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "кількість циклів" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "має сенс лише усередині циклів `for', `while' та `until'" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -144,300 +150,332 @@ msgstr "" " \n" " Якщо EXPR не вказано, повертає " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "змінну HOME не встановлено" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "забагато аргументів" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "немає іншого каталогу" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "змінну OLDPWD не встановлено" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "рядок %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "попередження: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: використовуйте: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: параметр потребує аргументу" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: потрібен числовий аргумент" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: не знайдено" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: неправильний параметр" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: некоректна назва параметра" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "«%s»: неправильний ідентифікатор" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "неправильне вісімкове число" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "неправильне шістнадцяткове число" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "неправильне число" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: сигнал вказано з помилками" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "«%s»: не є ідентифікатором процесу чи завдання" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: змінна призначена лише для читання" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s виходить за встановлені межі" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "аргумент" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s виходить за встановлені межі" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: нема такого завдання" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: керування завданнями не ввімкнене" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "керування завданнями не ввімкнене" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: заборонено обмеженнями" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "заборонено обмеженнями" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: не є вбудованою командою оболонки" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "помилка запису: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "помилка встановлення параметрів термінала: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "помилка отримання параметрів термінала: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: помилка отримання поточного каталогу: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: завдання вказано неоднозначно" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "у цій версії не можна скористатися довідкою" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: неправильна назва дії" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: не вказано специфікація завершення" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "попередження: можливо параметр -F працює не так, як ви очікуєте" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "попередження: можливо параметр -C працює не так, як ви очікуєте" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "наразі функція завершення рядку не виконується" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "може використовуватися лише усередині функції" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: еталонна змінна не може бути масивом" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: не можна використовувати циклічне посилання у змінній посилання" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: циклічне посилання за назвою" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: некоректна назва змінної для посилання за назвою" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "`-f' не використовується для створення функцій" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: незмінна функція" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "" +"%s: встановлення значень для складеного масиву у лапках вважається застарілим" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: неможливо знищити масив таким чином" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: неможливо перетворити асоціативний масив на індексований" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "динамічне завантаження недоступне" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "не вдалося відкрити колективний об’єкт %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "не вдалося знайти %s у колективному об’єкті %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "" +"функцією завантаження для %s повернуто повідомлення щодо помилки (%d): не " +"завантажено" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: завантажений не динамічно" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: не вдалося вилучити: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: це каталог" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: не є звичайним файлом" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: файл завеликий" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: не вдалося виконати бінарний файл" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: не вдалося виконати: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "вихід\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "це не оболонка сеансу: використовуйте `exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Залишилися призупинені завдання.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Фонові завдання все ще виконуються.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "команду не знайдено" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "параметри історії" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: не вдалося відкрити тимчасовий файл: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "поточне" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "завдання %d запущене без контролю завдань" @@ -456,17 +494,17 @@ msgstr "%s: параметр потребує аргументу — %c\n" msgid "hashing disabled" msgstr "кешування вимкнене" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: в кеші нічого немає\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "влучень\tкоманда\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" @@ -474,20 +512,20 @@ msgstr[0] "Команди оболонки, що відповідають сло msgstr[1] "Команди оболонки, що відповідають словам `" msgstr[2] "Команди оболонки, що відповідають словам `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" -"«%s» не відповідає жодний розділ довідки. Спробуйте `help help' чи `man -k " -"%s' або `info %s'." +"«%s» не відповідає жодний розділ довідки. Спробуйте `help help' чи `man -k %" +"s' або `info %s'." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: не вдалося відкрити: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -510,15 +548,20 @@ msgstr "" "Зірочка (*) поряд з назвою команди означає, що команда заборонена.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "-anrw можуть зустрічатися лише один раз" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "позиція у історії команд" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: некоректний аргумент" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: невдалий пошук по історії команд" @@ -532,113 +575,113 @@ msgstr "%s: помилка inlib" msgid "no other options allowed with `-x'" msgstr "не можна використовувати інші параметри разом з `-x'" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: аргументи мають бути ідентифікаторами завдань чи процесів" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Невідома помилка" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "очікувався вираз" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: не є індексованим масивом" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: неправильно вказаний дескриптор файла" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: неправильний дескриптор файла: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: неправильна кількість рядків" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: неправильний початковий індекс" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: неправильний крок виклику функції" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "порожня назва змінної-масиву" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "змінні-масиви не підтримуються" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "«%s»: пропущено символ у шаблоні" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "«%c»: помилкове визначення формату часу" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "«%c»: помилковий символ у шаблоні" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "попередження: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "проблема з обробкою форматування: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "пропущено шістнадцяткову цифру у \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "пропущено цифру Unicode у \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "немає іншого каталогу" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: некоректний аргумент" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "<немає поточного каталогу>" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "стек каталогів порожній" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "рівень стеку каталогів" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -680,7 +723,7 @@ msgstr "" " -N\tПоказує N-ний з кінця каталог у списку, що виводиться командою\n" "\tdirs без аргументів, відлік починається з нуля." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -726,7 +769,7 @@ msgstr "" " \n" " Вбудована команда `dirs' показує стек каталогів." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -767,146 +810,156 @@ msgstr "" " \n" " Вбудована команда `dirs' показує стек каталогів." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: некоректне визначення часу очікування" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "помилка читання: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "" "`return' працює лише у функції чи скрипті, запущеному за допомогою `source'" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "не можна одночасно знищити і функцію і змінну" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: не вдалося знищити" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: не вдалося знищити: %s лише для читання" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: не є масивом" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: не є функцією" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: не вдалося експортувати" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "кількість зсувів" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "не можна одночасно встановлювати й скасовувати параметри оболонки" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: неправильна назва параметра оболонки" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "потрібна назва файла" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: файл не знайдено" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "не вдалося призупинити" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "не можна призупинити оболонку сеансу" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s є псевдонімом до «%s»\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s — це ключове слово оболонки\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s є функцією\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s є спеціальною вбудованою командою оболонки\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s є вбудованою командою оболонки\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s — це %s\n" # I know the difference between hash and cache, but here, # I think, this is more suitable... -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s знаходиться в кеші (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: помилковий аргумент обмеження" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "«%c»: неправильна команда" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: не вдалося отримати значення обмеження: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "значення обмеження" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: не вдалося змінити обмеження: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "вісімкове число" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "«%c»: помилковий оператор у символьному режимі" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "«%c»: помилковий символ у символьному режимі" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " рядок " @@ -920,82 +973,103 @@ msgstr "остання команда: %s\n" msgid "Aborting..." msgstr "Припинення..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "ІНФОРМАЦІЯ: " + +#: error.c:463 msgid "unknown command error" msgstr "невідома помилка команди" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "неправильний тип команди" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "неправильний з’єднувальний оператор" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "неправильний перехід" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: неозначена змінна" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aчас очікування вводу вичерпано: автоматичний вихід\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "не вдалося переспрямувати /dev/null на стандартний ввід: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "TIMEFORMAT: «%c»: помилковий символ шаблону" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "помилка каналу" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: перевищено максимальний рівень вкладеності eval (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: перевищено максимальний рівень вкладеності джерела (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" msgstr "%s: перевищено максимальний рівень вкладеності функцій (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: обмеження: не можна вказувати `/' у назві команди" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: команду не знайдено" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: неправильний інтерпретатор" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: не вдалося виконати бінарний файл: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" msgstr "%s є спеціальною вбудованою командою оболонки" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "не вдалося створити копію файлового дескриптору %d у %d" @@ -1040,37 +1114,37 @@ msgstr "пре-інкремент чи пре-декремент потребу msgid "missing `)'" msgstr "відсутня `)'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "синтаксична помилка: очікувався операнд" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "синтаксична помилка: помилковий арифметичний оператор" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (позначка помилки \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "некоректна арифметична основа" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "завелике значення основи" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: помилка у виразі\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: не вдалося отримати доступ до каталогів вищого рівня" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "не вдалося перевстановити режим без затримки файлового дескриптору %d" @@ -1087,150 +1161,150 @@ msgstr "" msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: для нового файлового дескриптору %d вже існує буфер" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "" "ідентифікатор відгалуженого процесу %d знайдено у поточному завданні %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "вилучення зупиненого завдання %d, що має групу процесів %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: процес %5ld (%s) у the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "" "add_process: ідентифікатор процесу %5ld (%s) вказує на його працездатність" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: ідентифікатор процесу не існує" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Сигнал %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Завершено" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Зупинено" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Зупинено(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Працює" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Зроблено(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Вихід %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Невідомий стан" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(збережено знімок оперативної пам’яті)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (РД: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "зміна групи дочірнього процесу (%ld на %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: процес %ld не є відгалуженим від цієї оболонки" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Нема запису для процесу %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: завдання %d зупинене" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: завдання завершилося" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: завдання %d вже працює в фоні" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: увімкнути WNOHANG, щоб уникнути нескінченного блокування" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: рядок %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (збережено знімок оперативної пам’яті)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(тепер РД: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: помилка getpgrp" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: алгоритм реалізації рядків" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "не вдалося встановити групу процесу для термінала (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "ця оболонка не може керувати завданнями" @@ -1288,17 +1362,17 @@ msgstr "" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: розмір у записах на початку та в кінці блоку відрізняється" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: таблицю виділення заповнено FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p вже позначений як виділений у таблиці?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p вже позначений як вільний у таблиці?\n" @@ -1322,7 +1396,7 @@ msgstr "%s: неправильна служба" msgid "%s: bad network path specification" msgstr "%s: неправильно вказаний мережевий шлях" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "мережеві операції не підтримуються" @@ -1359,226 +1433,261 @@ msgstr "Нова пошта у $_" msgid "The mail in %s has been read\n" msgstr "Пошту у %s прочитано\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "синтаксична помилка: потрібен арифметичний вираз" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "синтаксична помилка: неочікувана `;'" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "синтаксична помилка: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: неправильний тип інструкції %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "here-document з рядка %d закінчено кінцем файла (очікувалося «%s»)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: інструкція переспрямування `%d' поза межами" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "перевищено максимальну можливу кількість here-document" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "файл скінчився раніше, ніж було знайдено відповідний «%c»" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "файл скінчився раніше, ніж було знайдено `]]'" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "синтаксична помилка в умовному виразі: неочікувана лексема «%s»" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "синтаксична помилка в умовному виразі" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "неочікувана лексема «%s», очікувалася `)'" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "очікувалася `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "неочікуваний аргумент унарного умовного оператора «%s»" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "неочікуваний аргумент унарного умовного оператора" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "неочікувана лексема «%s», очікувався бінарний умовний оператор" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "очікувався бінарний умовний оператор" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "неочікуваний аргумент бінарного умовного оператора «%s»" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "неочікуваний аргумент бінарного умовного оператора" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "неочікувана лексема «%c» в умовній команді" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "неочікувана лексема «%s» в умовній команді" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "неочікувана лексема %d в умовній команді" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "синтаксична помилка коло неочікуваної лексеми «%s»" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "синтаксична помилка коло «%s»" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "синтаксична помилка: раптово скінчився файл" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "синтаксична помилка" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Використовуйте \"%s\", щоб вийти з оболонки.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "файл скінчився, перш ніж було знайдено відповідну `)'" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "завершення: функцію «%s» не знайдено" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: неправильний з’єднувальний оператор `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: некоректний дескриптор файла" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: нульовий вказівник на файл" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "" -"дескриптор файла xtrace (%d) не дорівнює номеру файла у вказівнику xtrace " -"(%d)" +"дескриптор файла xtrace (%d) не дорівнює номеру файла у вказівнику xtrace (%" +"d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: «%c»: неправильний символ шаблону" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "дескриптор файла поза можливими межами" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: неоднозначне переспрямування" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: заборонено перезаписувати існуючі файли" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: обмеження: переспрямування виводу заборонене" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "не вдалося створити тимчасовий файл для here-document: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: не вдалося надати змінній значення дескриптора файла" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port не підтримується" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "помилка переспрямування: не вдалося створити копію дескриптора файла" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "не вдалося знайти /tmp, будь ласка створіть його!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp має бути чинною назвою каталогу" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: помилковий параметр" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "не вдалося встановити uid %d: ефективним є uid %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "не вдалося встановити gid %d: ефективним є gid %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: це каталог" + +#: shell.c:1777 msgid "I have no name!" msgstr "У мене нема назви!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, версія %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1587,44 +1696,56 @@ msgstr "" "Використовуйте:\t%s [довгий параметр GNU] [параметр] ...\n" "\t%s [довгий параметр GNU] [параметр] файл_сценарію ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Довгі параметри GNU:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Параметри оболонки:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-ilrsD чи -c команда чи -O параметр_shopt\t\t(тільки на початку)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s чи -o параметр\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "" "Введіть `%s -c \"help set\"', щоб отримати більше інформації про параметри " "оболонки.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "" "Введіть `%s -c help', щоб отримати більше інформації про вбудовані команди " "оболонки.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "" "Щоб повідомити про помилку в програмі, використовуйте команду `bashbug'.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "Домашня сторінка bash: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" +"Загальна довідкова інформація щодо використання програмного забезпечення " +"GNU: \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: некоректна операція" @@ -1798,79 +1919,94 @@ msgstr "Невідомий сигнал №" msgid "Unknown Signal #%d" msgstr "Невідомий сигнал №%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "неправильна заміна: немає заключної «%s» у %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: неможливо означити елемент масиву списком" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "не вдалося створити канал для підставляння процесу" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "не вдалося створити дочірній процес для підставляння процесу" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "не вдалося відкрити іменований канал %s для читання" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "не вдалося відкрити іменований канал %s для запису" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "не вдалося здублювати іменований канал %s як fd %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "неправильна заміна: немає заключної \"`\" у %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "не вдалося створити канал для підставляння команди" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "не вдалося створити дочірній процес для підставляння команди" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "" "command_substitute: не вдалося створити копію каналу із файловим " "дескриптором 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: некоректна назва змінної для посилання за назвою" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: неправильна заміна" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: некоректне непряме розгортання" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: некоректна назва змінної" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: параметр нульової довжини чи не вказаний" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: підрядок коротший за 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: неправильна заміна" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: не можна призначити таким чином" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" @@ -1878,12 +2014,12 @@ msgstr "" "у наступних версіях оболонки буде виконуватися обчислення для заміни " "арифметичних виразів" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "неправильна заміна: немає заключної \"`\" у %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "нема відповідника: %s" @@ -1897,39 +2033,39 @@ msgstr "очікувався аргумент" msgid "%s: integer expression expected" msgstr "%s: очікувався числовий вираз" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "очікувалася `)'" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "очікувалася `)', отримано %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: очікувався унарний оператор" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: очікувався бінарний оператор" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "відсутня `]'" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "неправильний номер сигналу" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: неправильне значення у trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1937,86 +2073,87 @@ msgstr "" "run_pending_traps: обробник сигналу є SIG_DFL, %d (%s) повторно надсилається " "собі" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: неправильний сигнал %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "помилка імпортування означення функції «%s»" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "рівень оболонки (%d) занадто високий, перевстановлено у 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: циклічне посилання за назвою" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: немає контексту функції у поточній області" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: змінною не може бути значення, яке приймають інші змінні" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: некоректна назва змінної для посилання за назвою" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: немає контексту функції у поточній області" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s має нульове значення рядка експортування" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "Помилковий символ %d у рядку експорту для %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "немає `=' у рядку експорту для %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" "pop_var_context: перший елемент shell_variables не є контекстом функції" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: немає контексту global_variables" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: перший елемент shell_variables не є тимчасовим оточенням виконання" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: не вдалося відкрити ФАЙЛ" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: некоректне значення дескриптора файла трасування" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: значення сумісності не належить припустимому діапазону значень" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "© Free Software Foundation, Inc., 2013" +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "© Free Software Foundation, Inc., 2015" #: version.c:47 version2.c:47 msgid "" @@ -2041,10 +2178,6 @@ msgstr "" msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Не надається НІЯКИХ ГАРАНТІЙ у межах, передбачених законом." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "© Free Software Foundation, Inc., 2012" - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2065,15 +2198,15 @@ msgstr "%s: %s:%d: не вдалося виділити %lu байтів (вид msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: не вдалося виділити %lu байтів" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-3] [назва[=значення] ...]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] назва [назва ...]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -2082,113 +2215,101 @@ msgstr "" "послідовність-клавіш] [-x послідовність-клавіш:команда-оболонки] " "[послідовність-клавіш:функція-readline чи команда-readline]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [вбудована-команда [аргумент ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [вираз]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]] [-@]] [каталог]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] команда [аргумент ...]" -#: builtins.c:76 +#: builtins.c:78 msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" msgstr "declare [-aAfFgilnrtux] [-p] [назва[=значення] ...]" -#: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] назва[=значення] ..." - #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] назва[=значення] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [параметр] назва[=значення] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [аргумент ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [аргумент ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f файл] [назва ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [аргумент ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts рядок-параметрів назва [аргумент]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a назва] [команда [аргументи ...]] [переспрямування ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "" "fc [-e редактор] [-lnr] [перший] [останній] чи fc -s [шаблон=заміна] " "[команда]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [завдання]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [завдання ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p шлях] [-dt] [назва ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [шаблон ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2196,15 +2317,16 @@ msgstr "" "history [-c] [-d позиція] [n] чи history -anrw [файл] чи history -ps " "аргумент [аргумент ...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [завдання ...] чи jobs -x команда [аргументи]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [завдання ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2212,11 +2334,11 @@ msgstr "" "kill [-s сигнал | -n номер-сигналу | -сигнал] pid | завдання ... чи kill -l " "[сигнал]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let аргумент [аргумент ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2225,99 +2347,95 @@ msgstr "" "N кількість-символів][-p запрошення] [-t ліміт-часу] [-u дескриптор-файла] " "[назва ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [-abefhkmnptuvxBCHP] [-o назва-параметра] [--] [аргумент ...]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" msgstr "unset [-f] [-v] [-n] [назва ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [назва[=значення] ...] чи export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonli [-af [назва[=значення] ...] чи readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source файл [аргументи]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". файл [аргументи]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [вираз]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ аргумент... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[аргумент] сигнал ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] назва [назва ...]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvx] [обмеження]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [обмеження]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [режим-доступу]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" msgstr "wait [-n] [ідентифікатор]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" msgstr "wait [ідентифікатор-процесу ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for НАЗВА [in СЛОВА ... ] ; do КОМАНДИ; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( вираз1; вираз2; вираз3 )); do КОМАНДИ; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select НАЗВА [in СЛОВА ...;] do КОМАНДИ; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] канал" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case СЛОВО in [ШАБЛОН [| ШАБЛОН]...) КОМАНДИ ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" @@ -2325,63 +2443,63 @@ msgstr "" "if КОМАНДИ; then КОМАНДИ; [ elif КОМАНДИ; then КОМАНДИ; ]... [ else " "КОМАНДИ; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while КОМАНДИ; do КОМАНДИ; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until КОМАНДИ; do КОМАНДИ; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [НАЗВА] команда [переспрямування]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function НАЗВА { КОМАНДИ ; } чи НАЗВА () { КОМАНДИ ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ КОМАНДИ ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "завдання [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( вираз ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ вираз ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - назви та значення деяких змінних оболонки" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | каталог]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [назва-параметра ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v змінна] шаблон-форматування [аргументи]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2391,28 +2509,28 @@ msgstr "" "W список-слів] [-F функція] [-C команда] [-X шаблон-фільтрування] [-P " "префікс] [-S суфікс] [назва ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -"compgen [-abcdefgjksuv] [-o параметр] [-A дія] [-G шаблон-оболонки] [-W " +"compgen [-abcdefgjksuv] [-o параметр] [-A дія] [-G шаблон-оболонки] [-W " "список-слів] [-F функція] [-C команда] [-X шаблон-фільтрування] [-P " "префікс] [-S суфікс] [слово]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o параметр] [назва ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n кількість] [-O початок-відліку] [-s кількість] [-t] [-u " -"дескриптор] [-C обробник] [-c крок] [масив]" +"mapfile [-d роздільник] [-n кількість] [-O початок-відліку] [-s кількість] [-" +"t] [-u дескриптор] [-C обробник] [-c крок] [масив]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2420,7 +2538,7 @@ msgstr "" "readarray [-n кількість] [-O початок-відліку] [-s кількість] [-t] [-u " "дескриптор] [-C обробник] [-c крок] [масив]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2432,7 +2550,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2444,25 +2562,24 @@ msgstr "" " Викликана без аргументів, команда `alias' друкує список псевдонімів у\n" " придатній до подальшого виконання формі `alias НАЗВА=ЗНАЧЕННЯ'.\n" " \n" -" Інакше вона додає псевдоніми для кожноі вказаної НАЗВИ, для якої надане\n" +" Інакше вона додає псевдоніми для кожної вказаної НАЗВИ, для якої надане\n" " ЗНАЧЕННЯ. Пробіли в кінці ЗНАЧЕННЯ дозволяють увімкнути подальше " "розкриття\n" " псевдонімів усередині цього псевдоніму під час його підставляння.\n" " \n" " Параметри:\n" -" -p\tНадрукувати усі визначені псевдоніми у придатній до виконання " -"формі.\n" +" -p\tвивести усі визначені псевдоніми у придатній до виконання формі.\n" " \n" " Код завершення:\n" " Команда завершується невдало, якщо було вказано НАЗВУ, для якої немає\n" " псевдоніма." -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2474,7 +2591,7 @@ msgstr "" " Код завершення:\n" " Завершується невдало, якщо НАЗВА не є визначеним псевдонімом." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2508,7 +2625,8 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" @@ -2549,10 +2667,10 @@ msgstr "" "послідовності.\n" " -r послідовність Скасувати призначення ПОСЛІДОВНОСТІ.\n" " -f файл Прочитати призначення клавіш з ФАЙЛУ.\n" -" -x послідовність:команда-оболонки\tПри вводі ПОСЛІДОВНОСТІ буде\n" +" -x послідовність:команда-оболонки\tПри введенні ПОСЛІДОВНОСТІ буде\n" " \t\t\t\tзапускатися КОМАНДА-ОБОЛОНКИ.\n" -" -X\t\t Показати список послідовностей клавіш, пов’язани з -x та " -"відповідні\n" +" -X Показати список послідовностей клавіш, пов’язани з -" +"x та відповідні\n" " команди у форматі, яким можна скористатися як " "вхідними даними\n" " для іншої програми.\n" @@ -2561,7 +2679,7 @@ msgstr "" " Команда завершується успішно, якщо вказані правильні параметри та не\n" " виникло помилки під час виконання." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2579,7 +2697,7 @@ msgstr "" " Код завершення:\n" " Команда завершується невдало, якщо N менше за 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2597,7 +2715,7 @@ msgstr "" " Код завершення:\n" " Команда завершується невдало, якщо N менше 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2621,7 +2739,7 @@ msgstr "" " Команда повертає код завершення ВБУДОВАНОЇ-КОМАНДИ або помилку, якщо\n" " ВБУДОВАНА-КОМАНДА не є вбудованою командою оболонки." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2649,7 +2767,7 @@ msgstr "" " Команда завершується невдало, якщо оболонка зараз не виконує функцію\n" " або якщо ВИРАЗ є неправильним." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2672,16 +2790,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2708,15 +2826,15 @@ msgstr "" " такою назвою існуватиме, її значення буде використане замість КАТАЛОГУ.\n" " \n" " Параметри:\n" -" -L\tПримусово переходити за символічними посиланнями: визначати\n" +" -L\tПримусово переходити за символічними посиланнями: визначати\n" " \tджерело символічних посилань як КАТАЛОГ після обробки записів `..'.\n" -" -P\tВикористовувати фізичну структуру каталогів, не переходити за\n" +" -P\tВикористовувати фізичну структуру каталогів, не переходити за\n" " \tсимволічними посиланнями: визначати джерело символічних посилань як\n" " \tКАТАЛОГ до обробки записів `..'.\n" -" -e\tякщо вказано параметр -P і програмі не вдасться визначити " +" -e\tякщо вказано параметр -P і програмі не вдасться визначити " "поточний\n" " \tробочий каталог, вийти з ненульовим значенням стану.\n" -" -@ у системах, де передбачено таку підтримку, показати файл з " +" -@ у системах, де передбачено таку підтримку, показати файл з " "розширеними\n" " атрибутами як каталог, що містить атрибути файла\n" " \n" @@ -2731,13 +2849,13 @@ msgstr "" " $PWD у разі використання -P. За інших результатів повертає ненульове " "значення." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2758,7 +2876,7 @@ msgstr "" " Команда завершується невдало, якщо вказано неправильний параметр чи\n" " не вдалося отримати доступ до поточного робочого каталогу." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2774,7 +2892,7 @@ msgstr "" " Код завершення:\n" " Команда завжди успішна." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2786,7 +2904,7 @@ msgstr "" " Код завершення:\n" " Команда завжди успішна." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2798,7 +2916,7 @@ msgstr "" " Код завершення:\n" " Команда завжди завершується невдало." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2808,10 +2926,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2824,18 +2942,18 @@ msgstr "" " запуску команд з диску, коли існує функція з такою ж назвою.\n" " \n" " Параметри:\n" -" -p\tВикористовувати стандартне значення PATH, яке забезпечує\n" -" \tзнаходження усіх стандартних утиліт.\n" -" -v\tВивести опис КОМАНД, подібний до виводу вбудованої команди " +" -p Використовувати стандартне значення PATH, яке забезпечує\n" +" знаходження усіх стандартних утиліт.\n" +" -v Вивести опис КОМАНД, подібний до виводу вбудованої команди " "`type'.\n" -" -V\tВивести більш багатослівний опис кожної з КОМАНД.\n" +" -V Вивести більш багатослівний опис кожної з КОМАНД.\n" " \n" " Код завершення:\n" " Команда повертає код завершення КОМАНДИ або помилку, якщо КОМАНДУ не " "буде\n" " знайдено." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2845,9 +2963,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2882,9 +3000,9 @@ msgstr "" " Параметри:\n" " -f\tОбмежити поле дії лише назвами та визначеннями функцій.\n" " -F\tОбмежити показ лише назвами функцій (плюс номер рядку та\n" -" \tфайл, звідки походить функція, якщо виконується діагностика).\n" +" \t\tфайл, звідки походить функція, якщо виконується діагностика).\n" " -g\tстворити загальні змінні, якщо використано у функції оболонки,\n" -" \tякщо це не функція оболонки, буде проігноровано.\n" +" \t\tякщо це не функція оболонки, буде проігноровано.\n" " -p\tПоказати властивості та значення кожної з НАЗВ.\n" " \n" " Параметри, що встановлюють властивості:\n" @@ -2911,17 +3029,18 @@ msgstr "" "виникло\n" " помилки під час виконання." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Встановлює значення та властивості змінних.\n" " \n" " Команда вийшла з ужитку. Дивіться `help declare'." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2951,7 +3070,7 @@ msgstr "" " помилка під час надання змінній значення або якщо оболонка не виконує " "функцію." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2977,9 +3096,9 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." @@ -3009,14 +3128,14 @@ msgstr "" " \\v\tвертикальна табуляція\n" " \\\\\tзворотня похила риска\n" " \\0nnn\tсимвол з вісімковим ASCII-кодом NNN. NNN може мати від\n" -" \tнуля до трьох вісімкових цифр\n" +" \t\tнуля до трьох вісімкових цифр\n" " \\xHH\tвосьмибітовий символ із шістнадцятковим кодом HH. HH\n" -" \tможе бути одною чи двома шістнадцятковими цифрами\n" +" \t\tможе бути одною чи двома шістнадцятковими цифрами\n" " \n" " Код завершення:\n" " Команда завершується невдало, якщо виникне помилка запису." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -3038,7 +3157,7 @@ msgstr "" " Код завершення:\n" " Команда завершується невдало, якщо трапиться помилка запису." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3093,7 +3212,7 @@ msgstr "" " Команда завершується невдало, якщо НАЗВА не є вбудованою командою\n" " оболонки або якщо трапиться помилка під час виконання." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3115,7 +3234,7 @@ msgstr "" "команди\n" " є порожнім рядком, команда завершується успішно." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3201,7 +3320,7 @@ msgstr "" " Команда завершується успішно, якщо знайдено параметр; помилково, якщо\n" " параметри скінчилися або трапилася помилка." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3212,8 +3331,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3231,8 +3350,8 @@ msgstr "" " \n" " Параметри:\n" " -a назва\tПередати НАЗВУ як нульовий аргумент КОМАНДИ.\n" -" -c\t\tЗапустити КОМАНДУ з порожнім оточенням.\n" -" -l\t\tПокласти риску до нульового аргументу КОМАНДИ.\n" +" -c\tЗапустити КОМАНДУ з порожнім оточенням.\n" +" -l\tПокласти риску до нульового аргументу КОМАНДИ.\n" " \n" " Якщо команду не вдасться запустити, неінтерактивна оболонка " "завершується,\n" @@ -3242,7 +3361,7 @@ msgstr "" " Команда завершується невдало, якщо команду не буде знайдено або якщо\n" " трапиться помилка переспрямування." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3254,7 +3373,7 @@ msgstr "" " Виходить з оболонки, повертаючи статус N. Якщо N не вказано, береться\n" " статус останньої запущеної команди." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3268,7 +3387,7 @@ msgstr "" "команду\n" " запущено не у оболонці сеансу." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3323,7 +3442,7 @@ msgstr "" " Команда завершується зі статусом запущених команд, або помилкою, якщо\n" " трапиться помилка." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3345,7 +3464,7 @@ msgstr "" " Команда завершується зі статусом завершення завдання, що переведене\n" " у пріоритетний режим, або помилкою, якщо трапиться помилка." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3370,7 +3489,7 @@ msgstr "" "якщо\n" " трапиться помилка." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3379,15 +3498,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3399,15 +3518,14 @@ msgstr "" " НАЗВИ не вказані, показує інформацію про збережені команди.\n" " \n" " Параметри:\n" -" -d\t\tВилучити з кешу розміщення НАЗВ.\n" -" -l\t\tПоказувати у форматі, що можна потім виконати.\n" +" -d\tВилучити з кешу розміщення НАЗВ.\n" +" -l\tПоказувати у форматі, що можна потім виконати.\n" " -p шлях\tвикористовувати ШЛЯХ як повний шлях до НАЗВИ.\n" -" -r\t\tСпорожнити кеш.\n" -" -t\t\tВивести збережені розташування НАЗВ, вказуючи перед " -"розташуванням\n" +" -r\tСпорожнити кеш.\n" +" -t\tВивести збережені розташування НАЗВ, вказуючи перед розташуванням\n" " \t\tвідповідну НАЗВУ, якщо вказано декілька НАЗВ.\n" " Аргументи:\n" -" НАЗВА\t\tКожна з НАЗВ шукається у $PATH та додається до списку " +" НАЗВА\tКожна з НАЗВ шукається у $PATH та додається до списку " "збережених\n" " \t\tкоманд.\n" " \n" @@ -3415,7 +3533,7 @@ msgstr "" " Команда завершується невдало, якщо НАЗВУ не вдалося знайти або якщо\n" " вказано помилковий параметр." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3427,7 +3545,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3458,7 +3576,8 @@ msgstr "" " помилковий параметр." # WTF??? history list += history + history file ??? -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3467,23 +3586,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3527,8 +3646,7 @@ msgstr "" "виникло\n" " помилки під час виконання." -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3538,7 +3656,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3573,7 +3691,7 @@ msgstr "" " виникло помилки під час виконання. При використанні -x команда\n" " завершується зі статусом завершення КОМАНДИ." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3583,7 +3701,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3598,14 +3716,15 @@ msgstr "" " -a\tВилучити усі завдання, якщо ЗАВДАННЯ не вказані.\n" " -h\tПозначити ЗАВДАННЯ так, щоб вони не отримали SIGHUP, якщо " "оболонка\n" -" \tотримає SIGHUP.\n" +" \t\tотримає SIGHUP.\n" " -r\tВилучати лише поточні завдання.\n" " \n" " Код завершення:\n" " Команда завершується невдало, якщо вказано неправильний параметр чи\n" " ЗАВДАННЯ." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3617,7 +3736,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3637,7 +3757,7 @@ msgstr "" " -s сигнал\tСИГНАЛ є назвою сигналу.\n" " -n сигнал\tСИГНАЛ є номером сигналу.\n" " -l\tПерелічити назви сигналів; якщо за -l ідуть іще аргументи, вони\n" -" \tвважаються номерами сигналів, які треба показати.\n" +" \t\tвважаються номерами сигналів, які треба показати.\n" " \n" " Kill є вбудованою командою з двох причин: це дозволяє вказувати\n" " ідентифікатори завдань замість ідентифікаторів процесів та дозволяє\n" @@ -3647,7 +3767,7 @@ msgstr "" " Команда завершується успішно, якщо вказані правильні аргументи та не\n" " трапилося помилки під час виконання." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3733,7 +3853,7 @@ msgstr "" " Якщо результатом обчислення останнього АРГУМЕНТУ є 0, let повертає 1,\n" " інакше — 0." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3754,27 +3874,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3830,7 +3951,7 @@ msgstr "" " встановлення значення змінної, або якщо із -u вказано неправильний " "файловий дескриптор." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3851,7 +3972,8 @@ msgstr "" " Код завершення:\n" " Команда повертає N, або помилку, якщо викликана не у функції чи сценарії." -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3919,7 +4041,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -4030,7 +4153,7 @@ msgstr "" " Код завершення:\n" " Команда завершується успішно, якщо вказані правильні параметри." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -4040,7 +4163,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -4071,7 +4194,7 @@ msgstr "" "НАЗВА\n" " доступна лише для читання." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -4105,7 +4228,7 @@ msgstr "" " Код завершення:\n" " Команда завершується успішно, якщо вказано правильні параметри та НАЗВИ." -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -4117,9 +4240,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4145,7 +4267,7 @@ msgstr "" " Код завершення:\n" " Команда завершується успішно, якщо вказано правильні параметри та НАЗВИ." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4163,7 +4285,7 @@ msgstr "" " Код завершення:\n" " Команда завершується невдало, якщо N менше за нуль чи більше за $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4187,7 +4309,7 @@ msgstr "" "або\n" " помилку, якщо ФАЙЛ не вдалося прочитати." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4212,7 +4334,7 @@ msgstr "" " Команда завершується невдало, якщо не ввімкнене керування завданнями чи\n" " якщо трапиться помилка." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4276,9 +4398,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4377,7 +4499,7 @@ msgstr "" "вказано\n" " помилковий аргумент чи ВИРАЗ хибний." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4390,7 +4512,7 @@ msgstr "" "останнім\n" " аргументом має бути `]'." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4409,7 +4531,7 @@ msgstr "" " Код завершення:\n" " Команда завжди успішна." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4485,7 +4607,7 @@ msgstr "" " Команда завершується успішно, якщо вказані правильні параметри та " "СИГНАЛИ." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4494,18 +4616,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4537,7 +4659,7 @@ msgstr "" "якщо\n" " хоч одне з них не вдасться знайти." -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4555,6 +4677,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4566,7 +4689,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4599,6 +4723,7 @@ msgstr "" " -e\tМаксимальний пріоритет виконання (`nice').\n" " -f\tМаксимальний розмір файлів, записаних оболонкою та нащадками.\n" " -i\tМаксимальна кількість сигналів, що очікують обробки.\n" +" -k\tМаксимальна кількість k-черг, визначених для цього процесу\n" " -l\tМаксимальний розмір, який процес може заблокувати в пам’яті.\n" " -m\tМаксимальний розмір резидентного набору.\n" " -n\tМаксимальна кількість відкритих файлових дескрипторів.\n" @@ -4622,7 +4747,7 @@ msgstr "" " вказане, виводиться поточне значення вказаного ресурсу. Якщо не вказано\n" " жодного параметра, береться -f.\n" " \n" -" Значення можуть змінюватися із кроком у 1024 байти, за виключенням -t,\n" +" Значення можуть змінюватися із кроком у 1024 байти, за винятком -t,\n" " що вказується в секундах, -p, яке має крок 512 байтів та -u, що є\n" " кількістю процесів без кроку.\n" " \n" @@ -4630,7 +4755,7 @@ msgstr "" " Команда завершується невдало, якщо вказано неправильний параметр чи\n" " трапилася помилка під час виконання." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4664,7 +4789,7 @@ msgstr "" " Код завершення:\n" " Команда завершується успішно, якщо вказано правильну МАСКУ та параметри." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4700,7 +4825,7 @@ msgstr "" "вказано\n" " неправильні параметри чи ІДЕНТИФІКАТОР." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4729,7 +4854,7 @@ msgstr "" " Повертає код помилки, якщо вказано неправильний ІДЕНТИФІКАТОР чи " "параметр." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4750,7 +4875,7 @@ msgstr "" " Код завершення:\n" " Команда повертає код завершення останньої виконаної команди." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4780,7 +4905,7 @@ msgstr "" " Код завершення:\n" " Команда повертає код завершення останньої виконаної команди." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4819,7 +4944,7 @@ msgstr "" " Код завершення:\n" " Команда повертає код завершення останньої виконаної команди." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4847,7 +4972,7 @@ msgstr "" " Код завершення:\n" " Команда повертає код завершення ЛАНЦЮЖКА-КОМАНД." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4865,7 +4990,7 @@ msgstr "" " Код завершення:\n" " Команда повертає код завершення останньої виконаної команди." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4898,7 +5023,7 @@ msgstr "" " Команда повертає код завершення останньої виконаної команди або нуль,\n" " якщо жодна з перевірених умов не була істинною." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4916,7 +5041,7 @@ msgstr "" " Код завершення:\n" " Команда повертає код завершення останньої виконаної команди." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4935,7 +5060,8 @@ msgstr "" " Команда повертає код завершення останньої виконаної команди." # WTF? How can it return exit code of _asynchronous_ process... -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4945,7 +5071,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Створює співпроцес з назвою НАЗВА.\n" " \n" @@ -4959,7 +5085,7 @@ msgstr "" " Код завершення:\n" " Команда повертає код завершення КОМАНДИ." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4985,7 +5111,7 @@ msgstr "" " Код завершення:\n" " Команда завершується невдало, якщо НАЗВА є незмінною." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -5004,7 +5130,7 @@ msgstr "" " Код завершення:\n" " Конструкція повертає код завершення останньої виконаної команди." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -5029,7 +5155,7 @@ msgstr "" " Код завершення:\n" " Команда повертає статус продовженого завдання." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -5047,7 +5173,7 @@ msgstr "" " Код завершення:\n" " Команда завершується успішно, якщо результат обчислення ненульовий." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -5096,7 +5222,7 @@ msgstr "" " Код завершення:\n" " Команда завершується успішно, якщо ВИРАЗ істинний." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5199,7 +5325,7 @@ msgstr "" " HISTIGNORE\tРозділений двокрапкою список шаблонів, що використовуються\n" " \t\tпри визначенні, чи зберігати команду у списку історії.\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5209,19 +5335,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5257,7 +5383,7 @@ msgstr "" " Команда завершується невдало, якщо вказаний неправильний аргумент чи\n" " якщо не вдалося змінити поточну каталог." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5266,16 +5392,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5309,7 +5435,7 @@ msgstr "" " Команда завершується невдало, якщо вказано помилковий аргумент чи якщо\n" " не вдалося змінити поточний каталог." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5320,19 +5446,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5363,7 +5489,7 @@ msgstr "" "якщо\n" " трапиться помилка." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5399,7 +5525,7 @@ msgstr "" " Команда завершується успішно, якщо ПАРАМЕТР ввімкнено; невдало, якщо\n" " вказано неправильні параметри чи ПАРАМЕТР вимкнено." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5416,15 +5542,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5471,7 +5597,7 @@ msgstr "" "або\n" " якщо трапиться помилка запису чи присвоєння." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5484,11 +5610,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5520,7 +5646,7 @@ msgstr "" " Команда завершується успішно, якщо вказано правильні параметри та не\n" " трапиться помилки під час виконання." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5542,7 +5668,7 @@ msgstr "" " Команда завершується успішно, якщо вказано правильні параметри і не\n" " трапиться помилки під час виконання." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5596,7 +5722,7 @@ msgstr "" " Команда завершується успішно, якщо вказано правильні параметри та\n" " вказівки завершень для НАЗВ існують." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5607,20 +5733,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5645,6 +5772,9 @@ msgstr "" " не вказано, використовується змінна MAPFILE.\n" " \n" " Параметри:\n" +" -d роздільник\tВикористати для поділу на рядки вказаний роздільник, а " +"не\n" +" символ розриву рядка\n" " -n кількість\tПрочитати вказану кількість рядків. Нуль означає\n" " \t\t\t«без обмежень».\n" " -O початок\tПочати вставляти до масиву з вказаного\n" @@ -5675,7 +5805,7 @@ msgstr "" "або\n" " якщо МАСИВ є незмінним." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5685,6 +5815,24 @@ msgstr "" " \n" " Синонім до `mapfile'." +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "© Free Software Foundation, Inc., 2014" + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "© Free Software Foundation, Inc., 2012" + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "© Free Software Foundation, Inc., 2009\n" diff --git a/po/vi.gmo b/po/vi.gmo index 21cc850e0..9d187c416 100644 Binary files a/po/vi.gmo and b/po/vi.gmo differ diff --git a/po/vi.po b/po/vi.po index aaaeaf47c..b7f1bbf49 100644 --- a/po/vi.po +++ b/po/vi.po @@ -1,91 +1,97 @@ # Vietnamese translation for BASH (Bourne Again SHell). # Bản dịch tiếng Việt dành cho bash. -# Copyright © 2014 Free Software Foundation, Inc. +# Copyright © 2015 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. # Clytie Siddall , 2008, 2009, 2010. -# Trần Ngọc Quân , 2012-2014. # Nguyễn Thái Ngọc Duy , 2012. +# Trần Ngọc Quân , 2012-2014, 2015. # msgid "" msgstr "" -"Project-Id-Version: bash-4.3-rc2\n" +"Project-Id-Version: bash 4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2014-02-01 13:11+0700\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-18 07:47+0700\n" "Last-Translator: Trần Ngọc Quân \n" "Language-Team: Vietnamese \n" -"Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: vi\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 1.5.5\n" -"X-Poedit-SourceCharset: UTF-8\n" +"X-Generator: Gtranslator 2.91.7\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "sai chỉ số mảng" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: không thể chuyển đổi mảng kiểu chỉ số sang mảng kết hợp" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" -msgstr "%s: khoá mảng liên kết không hợp lệ" +msgstr "%s: khóa mảng liên kết không hợp lệ" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: không thể gán cho chỉ số không thuộc kiểu số" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: phải sá»­ dụng chỉ số phụ khi gán mảng kết hợp" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: không thể tạo: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" -msgstr "bash_execute_unix_command: không tìm thấy ánh xạ cho câu lệnh" +msgstr "" +"bash_execute_unix_command: không tìm thấy ánh xạ phím (keymap) cho câu lệnh" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: ký tá»± khác khoảng trắng đầu tiên không phải là “\"”" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "thiếu dấu đóng “%c” trong %s" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: thiếu dấu hai chấm phân cách" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" msgstr "khai triển ngoặc ôm: không thể phân bổ bộ nhớ cho %s" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" -msgstr "khai triển ngoặc ôm: gặp lỗi khi phân bổ bộ nhớ cho `%d' phần tá»­" +msgstr "khai triển ngoặc ôm: gặp lỗi khi phân bổ bộ nhớ cho “%d” phần tá»­" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "khai triển ngoặc ôm: gặp lỗi khi phân bổ bộ nhớ cho `%s'" +msgstr "khai triển ngoặc ôm: gặp lỗi khi phân bổ bộ nhớ cho “%s”" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "“%s”: tên bí danh không hợp lệ" @@ -94,45 +100,45 @@ msgstr "“%s”: tên bí danh không hợp lệ" msgid "line editing not enabled" msgstr "chưa bật sá»­a đổi dòng" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "“%s”: tên sÆ¡ đồ phím không hợp lệ" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: không thể đọc: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "“%s”: không thể tháo" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "“%s”: không hiểu tên hàm" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s không được ràng buộc với bất kỳ phím nào.\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s có thể được gọi thông qua " -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "đếm vòng" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" msgstr "chỉ có nghÄ©a trong vòng lặp “for”, “while” hay “until”" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -142,300 +148,329 @@ msgstr "" "\n" " Nếu không có BTHỨC thì trả về " -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "Chưa đặt biến môi trường HOME" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "quá nhiều đối số" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "không có thư mục khác" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "Chưa đặt biến môi trường OLDPWD" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "dòng %d: " -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "cảnh báo: " -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: cách dùng: " -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: tùy chọn cần một đối số" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: cần đối số thuộc kiểu số" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: không tìm thấy" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: tùy chọn không hợp lệ" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: tên tùy chọn không hợp lệ" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "“%s”: không phải là định danh hợp lệ" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "số bát phân không hợp lệ" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "số thập lục không hợp lệ" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "số không hợp lệ" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: sai đặc tả tín hiệu" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "“%s”: không phải một pid hoặc đặc tả công việc hợp lệ" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: biến chỉ đọc" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s nằm ngoài phạm vi" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "đối số" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s nằm ngoài phạm vi" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: không có công việc như vậy" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: không có điều khiển công việc" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "không có điều khiển công việc" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: bị hạn chế" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "bị hạn chế" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" -msgstr "%s: không phải là lệnh dá»±ng sẵn trong hệ vỏ" +msgstr "%s: không phải là lệnh tích hợp trong hệ vỏ" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "lỗi ghi: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "lỗi đặt các thuộc tính thiết bị cuối: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "lỗi lấy các thuộc tính thiết bị cuối: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: lỗi lấy thư mục hiện thời: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: đặc tả công việc chưa rõ ràng" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "trợ giúp không sẵn có ở phiên bản này" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: tên hành động không hợp lệ" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: không có đặc tả tá»± hoàn thiện" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "cảnh báo: tùy chọn “-F” có thể không hoạt động như mong đợi" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "cảnh báo: tùy chọn “-C” có thể không hoạt động như bạn mong đợi" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" msgstr "hiện thời không thá»±c thi chức năng tá»± hoàn thiện" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "chỉ có thể dùng trong một hàm" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" msgstr "%s: biến tham chiếu không thể là một mảng" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" msgstr "%s: biến nameref tá»± tham chiếu là không được phép" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: tên tham chiếu quẩn tròn" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: tên biến không hợp lệ cho một tham chiếu tên" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "không thể dùng “-f” để tạo hàm" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: hàm chỉ đọc" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: gán mảng phức hợp được trích dẫn đã lạc hậu" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: không thể há»§y biến mảng bằng cách này" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: không thể chuyển đổi mảng kết hợp sang mảng chỉ số" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "không có chức năng nạp động" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "không thể mở đối tượng dùng chung %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "không tìm thấy %s trong đối tượng dùng chung %s: %s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "tải hàm cho %s trả về lỗi nghiêm trọng (%d): nên không được tải" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" -msgstr "%s không được nạp động" +msgstr "%s không được tải động" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" -msgstr "%s: không thể xoá: %s" +msgstr "%s: không thể xóa: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: là thư mục" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: không phải là tập tin thường" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: tập tin quá lớn" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: không thể thá»±c hiện tập tin nhị phân" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: không thể thá»±c thi: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "đăng xuất\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "không phải hệ vỏ đăng nhập: hãy dùng lệnh “exit”" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "Có công việc bị dừng.\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "Có công việc đang chạy.\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "không tìm thấy lệnh" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "đặc tả lịch sá»­" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: không thể mở tập tin tạm: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "hiện tại" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "công việc %d đã khởi chạy mà không có điều khiển công việc" @@ -454,23 +489,23 @@ msgstr "%s: tùy chọn cần đối số -- %c\n" msgid "hashing disabled" msgstr "tắt băm" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: bảng băm rỗng\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "gợi ý\tlệnh\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" -msgstr[0] "Câu lệnh hệ vỏ tương ứng với từ khoá `" +msgstr[0] "Câu lệnh hệ vỏ tương ứng với từ khóa “" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." @@ -478,12 +513,12 @@ msgstr "" "không có trợ giúp cho “%s”. Hãy chạy lệnh “help help” hoặc “man -k %s” hay " "“info %s”." -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: không thể mở: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -503,15 +538,20 @@ msgstr "" "Dấu sao (*) bên cạnh tên nghÄ©a là lệnh bị tắt.\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "chỉ có thể dùng một cá»§a những tùy chọn -anrw" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "vị trí lịch sá»­" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: đối số không hợp lệ" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: gặp lỗi khi khai triển lịch sá»­" @@ -525,113 +565,113 @@ msgstr "%s: inlib bị lỗi" msgid "no other options allowed with `-x'" msgstr "không cho phép dùng tùy chọn thêm với “-x”" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: đối số phải là ID tiến trình hoặc công việc" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "Lỗi không rõ" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "cần biểu thức" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: không phải là mảng chỉ số" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: đặc tả bộ mô tả tập tin không hợp lệ" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: bộ mô tả tập tin không hợp lệ: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: sai số lượng dòng" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: gốc mảng không hợp lệ" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: lượng gọi ngược không hợp lệ" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "tên biến mảng vẫn trống" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "cần hỗ trợ biến mảng" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "“%s”: thiếu ký tá»± định dạng" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "“%c”: đặc tả định dạng thời gian không đúng" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "“%c”: ký tá»± định dạng không hợp lệ" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "cảnh báo: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" msgstr "vấn đề phân tích cú pháp định dạng: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" msgstr "thiếu chữ số thập lục phân cho \\x" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "thiếu chữ số unicode cho \\%c" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "không có thư mục khác" -#: builtins/pushd.def:354 +#: builtins/pushd.def:360 #, c-format msgid "%s: invalid argument" msgstr "%s: đối số không hợp lệ" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" -msgstr "chồng thư mục trống" +msgstr "ngăn xếp thư mục trống" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" -msgstr "chỉ số chồng thư mục" +msgstr "chỉ số ngăn xếp thư mục" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -658,20 +698,20 @@ msgstr "" " thư mục vào danh sách này. “popd” lấy thư mục khỏi danh sách.\n" "\n" " Tùy chọn:\n" -" -c\txoá mọi phần tá»­ trong chồng thư mục\n" +" -c\txóa mọi phần tá»­ trong ngăn xếp thư mục\n" " -l\tkhông in phiên bản thư mục có dấu ngã nằm trước\n" " \tmà tương ứng với thư mục chính cá»§a người dùng\n" -" -p\tin chồng thư mục mỗi dòng một mục\n" -" -v\tin chồng thư mục mỗi dòng một mục kèm vị trí trong chồng\n" +" -p\tin ngăn xếp thư mục mỗi dòng một mục\n" +" -v\tin ngăn xếp thư mục mỗi dòng một mục kèm vị trí trong ngăn xếp\n" "\n" " Đối số:\n" -" +N\thiển thị mục thứ N đếm từ bên trái khi gọi không tuỳ chọn,\n" +" +N\thiển thị mục thứ N đếm từ bên trái khi gọi không tùy chọn,\n" " bắt đầu từ số không.\n" "\n" -" -N\thiển thị mục thứ N đếm từ bên phải khi gọi không tuỳ chọn,\n" +" -N\thiển thị mục thứ N đếm từ bên phải khi gọi không tùy chọn,\n" " bắt đầu từ số không." -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -695,27 +735,27 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" -"Thêm thư mục vào trên chồng thư mục, hoặc xoay chồng, làm cho thư mục\n" +"Thêm thư mục vào trên ngăn xếp thư mục, hoặc xoay ngăn xếp, làm cho thư mục\n" " hiện thời nằm ở trên đầu. Đổi vị trí hai thư mục trên cùng nếu\n" " không có đối số.\n" "\n" " Tùy chọn:\n" " -n\tngăn thay đổi thư mục bình thường khi thêm, chỉ thao tác\n" -" \ttrên chồng thư mục.\n" +" \ttrên ngăn xếp thư mục.\n" "\n" " Đối số:\n" -" +N\txoay chồng để thư mục thứ N (đếm từ bên trái “dirs”, bắt\n" +" +N\txoay ngăn xếp để thư mục thứ N (đếm từ bên trái “dirs”, bắt\n" " \tđầu từ số không) nằm ở đầu.\n" "\n" -" -N\txoay chồng để thư mục thứ N (đếm từ bên phải “dirs”, bắt\n" +" -N\txoay ngăn xếp để thư mục thứ N (đếm từ bên phải “dirs”, bắt\n" " \tđầu từ số không) nằm ở đầu.\n" "\n" -" THƯ-MỤC\tthêm THƯ-MỤC vào đầu chồng thư mục và dùng làm thư mục\n" +" THƯ-MỤC\tthêm THƯ-MỤC vào đầu ngăn xếp thư mục và dùng làm thư mục\n" " \tlàm việc hiện thời.\n" "\n" -" Lệnh “dirs” hiển thị chồng thư mục." +" Lệnh “dirs” hiển thị ngăn xếp thư mục." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -735,161 +775,171 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" -"Gỡ bỏ thư mục khỏi chồng thư mục. Không đưa ra đối số thì bỏ thư mục\n" -" đầu khỏi chồng và chuyển đổi sang thư mục đầu mới.\n" +"Gỡ bỏ thư mục khỏi ngăn xếp thư mục. Không đưa ra đối số thì bỏ thư mục\n" +" đầu khỏi ngăn xếp và chuyển đổi sang thư mục đầu mới.\n" "\n" " Tùy chọn:\n" " -n\tngăn thay đổi thư mục bình thường khi thêm, chỉ thao tác\n" -"\t\ttrên chồng thư mục.\n" +"\t\ttrên ngăn xếp thư mục.\n" "\n" " Đối số:\n" -" +N\txoay chồng để thư mục thứ N (đếm từ bên trái “dirs”. bắt\n" +" +N\txoay ngăn xếp để thư mục thứ N (đếm từ bên trái “dirs”. bắt\n" " \tđầu từ số không) nằm ở đầu. Ví dụ “popd +0” bỏ thư mục\n" " đầu tiên, “popd +1” bỏ thư mục thứ hai.\n" "\n" -" -N\txoay chồng để thư mục thứ N (đếm từ bên phải “dirs”. bắt\n" +" -N\txoay ngăn xếp để thư mục thứ N (đếm từ bên phải “dirs”. bắt\n" " \tđầu từ số không) nằm ở đầu. Ví dụ “popd -0” bỏ thư mục\n" " cuối cùng, “popd -1” bỏ thư mục kế cuối.\n" "\n" -" Lệnh “dirs” hiển thị chồng thư mục." +" Lệnh “dirs” hiển thị ngăn xếp thư mục." -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: sai đặc tả thời gian chờ tối đa" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "lỗi đọc: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "chỉ có thể “return” từ một hàm hoặc văn lệnh được “source”" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "không thể há»§y đặt đồng thời một hàm VÀ một biến" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: không thể há»§y đặt" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: không thể há»§y đặt: %s chỉ đọc" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: không phải biến mảng" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: không phải hàm" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: không thể xuất" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "số lượng dịch" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "không thể đồng thời đặt và há»§y đặt các tùy chọn hệ vỏ" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: tên tùy chọn hệ vỏ không hợp lệ" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "cần đối số tên tập tin" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: không tìm thấy tập tin" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "không thể ngưng" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "không thể ngưng hệ vỏ đăng nhập" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s là bí danh cá»§a “%s”\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" -msgstr "%s là từ khoá cá»§a hệ vỏ\n" +msgstr "%s là từ khóa cá»§a hệ vỏ\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s là một hàm\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s là lệnh tích hợp đặc biệt cá»§a hệ vỏ\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" -msgstr "%s là lệnh dá»±ng sẵn hệ vỏ\n" +msgstr "%s là lệnh tích hợp hệ vỏ\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s là %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" msgstr "%s được băm (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: đối số giới hạn không hợp lệ" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "“%c”: câu lệnh sai" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: không thể lấy giới hạn: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "giới hạn" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: không thể sá»­a đổi giới hạn: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "số bát phân" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "“%c”: toán tá»­ chế độ ký hiệu không hợp lệ" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "“%c”: ký tá»± chế độ ký hiệu không hợp lệ" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr " dòng " @@ -901,84 +951,105 @@ msgstr "lệnh cuối: %s\n" #: error.c:173 #, c-format msgid "Aborting..." -msgstr "Há»§y bỏ..." +msgstr "Há»§y bỏ…" + +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "THBÁO:" -#: error.c:440 +#: error.c:463 msgid "unknown command error" msgstr "lỗi lệnh không rõ" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "kiểu lệnh sai" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "bộ kết nối sai" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "nhảy sai" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: biến chưa liên kết" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\aquá thời hạn đợi dữ liệu nhập: tá»± động đăng xuất\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "không thể chuyển hướng đầu vào chuẩn từ /dev/null: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "ĐỊNH DẠNG THỜI GIAN: “%c”: ký tá»± định dạng không hợp lệ" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "lỗi ống dẫn" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: vượt quá mức độ eval lồng nhau tối đa (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: vượt quá mức độ nguồn lồng nhau tối đa (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" -msgstr "%s: vượt quá mức độ tối đa các hàm lồng nhau (%d)." +msgstr "%s: vượt quá mức độ các hàm lồng nhau tối đa (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: bị hạn chế: không thể dùng “/” trong tên lệnh" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: không tìm thấy lệnh" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: bộ thông dịch sai" -#: execute_cmd.c:5280 +#: execute_cmd.c:5545 #, c-format msgid "%s: cannot execute binary file: %s" msgstr "%s: không thể thá»±c hiện tập tin nhị phân: %s" -#: execute_cmd.c:5352 +#: execute_cmd.c:5623 #, c-format msgid "`%s': is a special builtin" -msgstr "“%s”: là lệnh dá»±ng sẵn đặc biệt" +msgstr "“%s”: là lệnh tích hợp đặc biệt" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "không thể nhân đôi fd %d thành fd %d" @@ -989,7 +1060,7 @@ msgstr "vượt quá ngưỡng đệ quy cá»§a biểu thức" #: expr.c:283 msgid "recursion stack underflow" -msgstr "tràn ngược đống đệ quy" +msgstr "tràn ngược ngăn xếp đệ quy" #: expr.c:431 msgid "syntax error in expression" @@ -1023,37 +1094,37 @@ msgstr "cần định danh sau tăng/giảm dần trước" msgid "missing `)'" msgstr "thiếu “)”" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "lỗi cú pháp: cần toán hạng" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "lỗi cú pháp: toán tá»­ số học không hợp lệ" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (thẻ bài lỗi là \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" msgstr "cÆ¡ số (toán học) không hợp lệ" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" msgstr "cÆ¡ số có giá trị quá lớn" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: lỗi biểu thức\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: không thể truy cập thư mục cấp trên" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "không thể đặt lại chế độ “nodelay” cho fd %d" @@ -1069,149 +1140,149 @@ msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: đã có bộ đệm cho fd mới %d" # NghÄ©a chữ ? -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: pgrp pipe" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" msgstr "pid được tánh nhánh %d có vẻ đang chạy trong công việc %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" -msgstr "đang xoá công việc bị dừng chạy %d với nhóm tiến trình %ld" +msgstr "đang xóa công việc bị dừng chạy %d với nhóm tiến trình %ld" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: tiến trình %5ld (%s) trong the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: pid %5ld (%s) được đánh dấu vẫn hoạt động" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: không có pid như vậy" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "Tín hiệu %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "Xong" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "Bị dừng" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "Bị dừng(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "Đang chạy" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "Xong(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "Thoát %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "Không rõ trạng thái" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(xuất ra core)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (wd: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "setpgid tiến trình con (%ld thành %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: pid %ld không phải là tiến trình con cá»§a hệ vỏ này" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wait_for: Không có mục ghi về tiến trình %ld" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: công việc %d bị dừng chạy" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: công việc bị chấm dứt" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: công việc %d đã đang chạy nền" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: đang bật WNOHANG để tránh bị chặn vô hạn" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: dòng %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (xuất ra core)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(wd ngay: %s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp bị lỗi" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: ká»· luật dòng" # NghÄ©a chữ : dừng dịch -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "không thể đặt nhóm tiến trình cuối cùng (%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "không có điều khiển công việc trong hệ vỏ này" @@ -1267,17 +1338,17 @@ msgstr "realloc: phát hiện sá»± tràn ngược; mh_nbytes nằm ngoài phạm msgid "realloc: start and end chunk sizes differ" msgstr "realloc: kích cỡ đoạn đầu và cuối không trùng" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: bảng cấp phát đầy với FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p đã có trong bảng như được cấp phát?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p đã có trong bảng như còn trống?\n" @@ -1301,7 +1372,7 @@ msgstr "%s: dịch vụ không hợp lệ" msgid "%s: bad network path specification" msgstr "%s: đặc tả đường dẫn mạng sai" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "không hỗ trợ thao tác mạng" @@ -1338,268 +1409,314 @@ msgstr "Bạn có thư mới trong $_" msgid "The mail in %s has been read\n" msgstr "Đã đọc thư trong %s\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" msgstr "lỗi cú pháp: cần biểu thức số học" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "lỗi cú pháp: gặp dấu chấm phẩy “;” bất thường" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "lỗi cú pháp: “((%s))”" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: kiểu chỉ lệnh sai %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "tài liệu này ở dòng %d định giới bằng kết thúc tập tin (muốn “%s”)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: chỉ dẫn chuyển hướng “%d” nằm ngoài phạm vi" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "vượt quá số lượng tài-liệu-đây tối đa" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "gặp kết thúc tập tin bất thường trong khi tìm “%c” tương ứng" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "gặp kết thúc tập tin bất thường trong khi tìm “]]”" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "gặp lỗi cú pháp trong biểu thức điều kiện: thẻ bài bất thường “%s”" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "gặp lỗi cú pháp trong biểu thức điều kiện" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "gặp thẻ bài bất thường “%s”, cần “)”" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "cần “)”" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "đối số bất thường “%s” cho toán tá»­ một ngôi điều kiện" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "đối số bất thường cho toán tá»­ một ngôi điều kiện" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "thẻ bài bất thường “%s”, cần toán tá»­ hai ngôi điều kiện" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "cần toán tá»­ hai ngôi điều kiện" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "đối số bất thường “%s” cho toán tá»­ hai ngôi điều kiện" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "đối số bất thường cho toán tá»­ hai ngôi điều kiện" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "gặp thẻ bài bất thường “%c” trong câu lệnh điều kiện" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "gặp thẻ bài bất thường “%s” trong câu lệnh điều kiện" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "gặp thẻ bài bất thường “%d” trong câu lệnh điều kiện" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "có lỗi cú pháp ở gần thẻ bài bất thường “%s”" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "lỗi cú pháp ở gần “%s”" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "lỗi cú pháp: kết thúc tập tin bất thường" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "lỗi cú pháp" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "Dùng \"%s\" để rời hệ vỏ.\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "gặp kết thúc tập tin bất thường trong khi tìm “)” tương ứng" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" msgstr "tá»± hoàn thiện: không tìm thấy hàm “%s”" +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" + #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" msgstr "progcomp_insert: %s: NULL COMPSPEC" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: bộ kết nối sai “%d”" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: sai bộ mô tả tập tin" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: con trỏ tập tin NULL" # NghÄ©a chữ ? -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: “%c”: ký tá»± định dạng không hợp lệ" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "bộ mô tả tập tin ở ngoại phạm vi" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: chuyển hướng chưa rõ ràng" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: không thể ghi đè lên tập tin đã có" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: bị hạn chế: không thể chuyển hướng kết xuất" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "không thể tạo tập tin tạm thời cho tài liệu này: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: không thể gán fd vào biến" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "/dev/(tcp|udp)/host/port không được hỗ trợ nếu không có mạng" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "lỗi chuyển hướng: không thể nhân đôi fd" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "không tìm thấy /tmp, hãy tạo mới!" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "“/tmp” phải là tên thư mục hợp lệ" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: tùy chọn không hợp lệ" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "không thể đặt uid thành %d: uid chịu tác động %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "không thể đặt gid thành %d: gid chịu tác động %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: Là một thư mục" + +#: shell.c:1777 msgid "I have no name!" msgstr "Không có tên!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash, phiên bản %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" msgstr "" -"Cách dùng:\t%s [tùy chọn GNU dài] [tùy chọn] ...\n" -"\t%s [tùy chọn GNU dài] [tùy chọn] tập-tin-văn-lệnh ...\n" +"Cách dùng:\t%s [tùy chọn GNU dài] [tùy chọn] …\n" +"\t\t%s [tùy chọn GNU dài] [tùy chọn] tập-tin-văn-lệnh …\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "Tùy chọn dài:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Tùy chọn:\n" -#: shell.c:1835 +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" msgstr "\t-ilrsD hoặc -c lệnh hay -O tùy-chọn-ngắn\t\t(chỉ gọi)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s hoặc -o tùy-chọn\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "Gõ “%s -c \"help set\"” để xem thông tin về các tùy chọn hệ vỏ.\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" -msgstr "Gõ “%s -c help” để xem thông tin về các lệnh hệ vỏ dá»±ng sẵn.\n" +msgstr "Gõ “%s -c help” để xem thông tin về các lệnh hệ vỏ tích hợp.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "" "Dùng lệnh “bashbug” để thông báo lỗi.\n" "Báo cáo các lỗi dịch cho: .\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "Trang chá»§ bash: \n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" +"Trợ giúp chung về cách sá»­ dụng phần mềm GNU : \n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: thao tác không hợp lệ" @@ -1773,89 +1890,104 @@ msgstr "Tín hiệu lạ #" msgid "Unknown Signal #%d" msgstr "Tín hiệu lạ #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "sai chỉ số phụ: không có đóng “%s” trong %s" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: không thể gán danh sách cho bộ phận cá»§a mảng" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "không thể tạo ống dẫn để thay thế tiến trình" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "không thể tạo tiến trình con để thay thế tiến trình" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" msgstr "không thể mở ống dẫn đặt tên %s để đọc" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "không thể mở ống dẫn có tên %s để ghi" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "không thể nhân đôi ống dẫn đặt tên %s thành fd %d" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "sai thay thế: không có \"“\" đóng trong %s" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "không thể tạo ống dẫn để thay thế lệnh" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "không thể tạo tiến trình con để thay thế lệnh" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" msgstr "command_substitute: không thể nhân đôi ống dẫn thành fd 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" msgstr "%s: tên biến không hợp lệ cho một tham chiếu tên" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: thay thế sai" + +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: triển khai gián tiếp không hợp lệ" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "“%s”: tên biến không hợp lệ" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: tham số null hoặc chưa được đặt" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: biểu thức chuỗi con < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: thay thế sai" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: không thể gán bằng cách này" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" msgstr "" "phiên bản hệ vỏ mới sẽ ép buộc ước lượng dưới dạng một hàm thay thế số học" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" -msgstr "sai thay thế: không có \"`\" đóng trong %s" +msgstr "sai thay thế: không có \"“\" đóng trong %s" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "không khớp: %s" @@ -1869,39 +2001,39 @@ msgstr "cần đối số" msgid "%s: integer expression expected" msgstr "%s: cần biểu thức số nguyên" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "cần “)”" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "cần “)” nhưng lại nhận được %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: cần toán tá»­ một ngôi" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: cần toán tá»­ hai ngôi" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "thiếu “]”" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "số thứ tá»± tín hiệu không hợp lệ" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: giá trị sai trong danh sách trap_list[%d]: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" @@ -1909,89 +2041,90 @@ msgstr "" "run_pending_traps: bộ xá»­ lý tín hiệu là SIG_DFL, đang gá»­i lại %d (%s) cho " "chính mình" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: tín hiệu sai %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "gặp lỗi khi nhập vào định nghÄ©a hàm cho “%s”" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "cấp hệ vỏ (%d) quá cao nên đặt lại thành 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "%s: tên tham chiếu quẩn tròn" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: không có ngữ cảnh hàm ở phạm vi hiện thời" -#: variables.c:2247 +#: variables.c:2432 #, c-format msgid "%s: variable may not be assigned value" msgstr "%s: không thể gán giá trị cho biến" -#: variables.c:3646 +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: tên biến không hợp lệ cho một tham chiếu tên" + +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: không có ngữ cảnh hàm ở phạm vi hiện thời" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s có exportstr null" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "sai ký tá»± %d trong exportstr cho %s" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "không có “=” trong exportstr cho %s" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "" "pop_var_context: đầu cá»§a shell_variables (các biến hệ vỏ) không phải là ngữ " "cảnh hàm" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "" "pop_var_context: không có ngữ cảnh global_variables (các biến toàn cục)" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "" "pop_scope: đầu cá»§a shell_variables (các biến hệ vỏ) không phải là phạm vi " "môi trường tạm thời" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: không thể mở như là TẬP-TIN" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: sai đặt giá trị cho bộ mô tả tập tin vết" -#: variables.c:5307 +#: variables.c:5669 #, c-format msgid "%s: %s: compatibility value out of range" msgstr "%s: %s: giá trị so sánh nằm ngoài phạm vi" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "Tác quyền (C) năm 2014 cá»§a Tổ chức Quỹ Phần mềm Tá»± do, Inc." +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "Tác quyền (C) năm 2015 cá»§a Tổ chức Quỹ Phần mềm Tá»± do, Inc." #: version.c:47 version2.c:47 msgid "" @@ -2014,10 +2147,6 @@ msgstr "Đây là phần mềm tá»± do; bạn có quyền sá»­a đổi và phát msgid "There is NO WARRANTY, to the extent permitted by law." msgstr "Ở đây KHÔNG BẢO HÀNH GÌ CẢ, với điều kiện được pháp luật cho phép." -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "Tác quyền (C) năm 2014 cá»§a Tổ chức Quỹ Phần mềm Tá»± do, Inc." - #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" @@ -2038,15 +2167,15 @@ msgstr "%s: %s:%d: không thể cấp phát %lu byte (%lu byte được cấp ph msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: không thể cấp phát %lu byte" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" -msgstr "alias [-p] [TÊN[=GIÁ-TRỊ] ... ]" +msgstr "alias [-p] [TÊN[=GIÁ-TRỊ] … ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" -msgstr "unalias [-a] TÊN [TÊN ...]" +msgstr "unalias [-a] TÊN [TÊN …]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" @@ -2054,303 +2183,288 @@ msgstr "" "bind [-lpvsPVSX] [-m SÆ -ĐỒ-PHÍM] [-f TẬP-TIN] [-q TÊN] [-u TÊN] [-r DÃY-" "PHÍM] [-x DÃY-PHÍM:LỆNH] [DÃY-PHÍM:HÀM-READLINE hay LỆNH-READLINE]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" -msgstr "builtin [SHELL-BUILTIN [ĐỐI-SỐ ...]]" +msgstr "builtin [SHELL-BUILTIN [ĐỐI-SỐ …]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [BTHỨC]" -#: builtins.c:64 +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" msgstr "cd [-L|[-P [-e]]] [-@]] [THƯ-MỤC]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 -msgid "command [-pVv] command [arg ...]" -msgstr "command [-pVv] LỆNH [Đ.SỐ ...]" - #: builtins.c:76 -msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "declare [-aAfFgilnrtux] [-p] [TÊN[=GIÁ-TRỊ] ...]" +msgid "command [-pVv] command [arg ...]" +msgstr "command [-pVv] LỆNH [Đ.SỐ …]" #: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] TÊN[=GIÁ-TRỊ] ..." +msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [TÊN[=GIÁ-TRỊ] …]" #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] TÊN[=GIÁ-TRỊ] …" + +#: builtins.c:82 msgid "local [option] name[=value] ..." -msgstr "local [tùy_chọn] TÊN[=GIÁ-TRỊ] ..." +msgstr "local [tùy_chọn] TÊN[=GIÁ-TRỊ] …" -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" -msgstr "echo [-neE] [Đ.SỐ ...]" +msgstr "echo [-neE] [Đ.SỐ …]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" -msgstr "echo [-n] [Đ.SỐ ...]" +msgstr "echo [-n] [Đ.SỐ …]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" -msgstr "enable [-a] [-dnps] [-f TẬP-TIN] [TÊN ...]" +msgstr "enable [-a] [-dnps] [-f TẬP-TIN] [TÊN …]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" -msgstr "eval [Đ.SỐ ...]" +msgstr "eval [Đ.SỐ …]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts CHUỖI-TÙY-CHỌN TÊN [Đ.SỐ]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" -msgstr "exec [-cl] [-a TÊN] [LỆNH [ĐỐI-SỐ ...]] [CHUYỂN-HƯỚNG ...]" +msgstr "exec [-cl] [-a TÊN] [LỆNH [ĐỐI-SỐ …]] [CHUYỂN-HƯỚNG …]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e ENAME] [-lnr] [ĐẦU] [CUỐI] hoặc fc -s [MẪU=LẶP_LẠI] [LỆNH]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [ĐTCV]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" -msgstr "bg [ĐTCV ...]" +msgstr "bg [ĐTCV …]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" -msgstr "hash [-lr] [-p ĐƯỜNG-DẪN] [-dt] [TÊN ...]" +msgstr "hash [-lr] [-p ĐƯỜNG-DẪN] [-dt] [TÊN …]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" -msgstr "help [-dms] [MẪU ...]" +msgstr "help [-dms] [MẪU …]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" "history [-c] [-d OFFSET] [n] hay history -anrw [T.TIN] hay history -ps Đ.SỐ " -"[Đ.SỐ...]" +"[Đ.SỐ…]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" -msgstr "jobs [-lnprs] [ĐTCV ...] hoặc jobs -x LỆNH [ĐỐI-SỐ]" +msgstr "jobs [-lnprs] [ĐTCV …] hoặc jobs -x LỆNH [ĐỐI-SỐ]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" -msgstr "disown [-h] [-ar] [ĐTCV ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" +msgstr "disown [-h] [-ar] [ĐTCV …]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" msgstr "" -"kill [-s ĐTTH | -n số_tín_hiệu | -ĐTTH] pid | ĐTCV ... hoặc kill -l [ĐTTH]" +"kill [-s ĐTTH | -n số_tín_hiệu | -ĐTTH] pid | ĐTCV … hoặc kill -l [ĐTTH]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" -msgstr "let ĐỐI-SỐ [ĐỐI-SỐ ...]" +msgstr "let ĐỐI-SỐ [ĐỐI-SỐ …]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" "read [-ers] [-a MẢNG] [-d GIỚI-HẠN] [-i VĂN-BẢN] [-n SỐ-KÝ-Tá»°] [-N SỐ-KÝ-Tá»°] " -"[-p NHẮC] [-t THỜI-HẠN] [-u fd] [TÊN ...]" +"[-p NHẮC] [-t THỜI-HẠN] [-u fd] [TÊN …]" # nghÄ©a chữ -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -msgstr "set [-abefhkmnptuvxBCHP] [-o TÊN-TÙY-CHỌN] [--] [ĐỐI-SỐ ...]" +msgstr "set [-abefhkmnptuvxBCHP] [-o TÊN-TÙY-CHỌN] [--] [ĐỐI-SỐ …]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "unset [-f] [-v] [-n] [TÊN ...]" +msgstr "unset [-f] [-v] [-n] [TÊN …]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" -msgstr "export [-fn] [TÊN[=GIÁ-TRỊ] ...] hoặc export -p" +msgstr "export [-fn] [TÊN[=GIÁ-TRỊ] …] hoặc export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" -msgstr "readonly [-aAf] [TÊN[=GIÁ-TRỊ] ...] hay readonly -p" +msgstr "readonly [-aAf] [TÊN[=GIÁ-TRỊ] …] hay readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" -msgstr "source TẬP-TIN [ĐỐI-SỐ ...]" +msgstr "source TẬP-TIN [ĐỐI-SỐ …]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" -msgstr ". TẬP-TIN [ĐỐI-SỐ ...]" +msgstr ". TẬP-TIN [ĐỐI-SỐ …]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [BTHỨC]" -#: builtins.c:160 -msgid "[ arg... ]" -msgstr "[ Đ.SỐ ... ]" - #: builtins.c:162 -msgid "times" -msgstr "times" +msgid "[ arg... ]" +msgstr "[ Đ.SỐ … ]" -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" -msgstr "trap [-lp] [[Đ.SỐ] ĐTTH ...]" +msgstr "trap [-lp] [[Đ.SỐ] ĐTTH …]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" -msgstr "type [-afptP] TÊN [TÊN ...]" +msgstr "type [-afptP] TÊN [TÊN …]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [GIỚI-HẠN]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [GIỚI-HẠN]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [CHẾ-ĐỘ]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "wait [-n] [id ...]" +msgstr "wait [-n] [id …]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "wait [pid ...]" +msgstr "wait [pid …]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" -msgstr "for TÊN [in TỪ... ;] do CÁC;CÂU;LỆNH; done" +msgstr "for TÊN [in TỪ… ;] do CÁC;CÂU;LỆNH; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( BTHỨC1; BTHỨC2; BTHỨC3 )); do CÁC;CÂU;LỆNH; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" -msgstr "select TÊN [in CÁC TỪ ... ;] do CÁC;CÂU;LỆNH; done" +msgstr "select TÊN [in CÁC TỪ … ;] do CÁC;CÂU;LỆNH; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] ỐNG-DẪN" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" -msgstr "case TỪ in [MẪU [| MẪU]...) CÁC;CÂU;LỆNH;;]... esac" +msgstr "case TỪ in [MẪU [| MẪU]…) CÁC;CÂU;LỆNH;;]… esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" msgstr "" -"if LỆNH; then CÁC;CÂU;LỆNH; [ elif CÁC;CÂU;LỆNH; then CÁC;CÂU;LỆNH; ]... " +"if LỆNH; then CÁC;CÂU;LỆNH; [ elif CÁC;CÂU;LỆNH; then CÁC;CÂU;LỆNH; ]… " "[ else CÁC;CÂU;LỆNH; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while CÁC;CÂU;LỆNH; do CÁC;CÂU;LỆNH; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until CÁC;CÂU;LỆNH; do CÁC;CÂU;LỆNH; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [TÊN] LỆNH [CHUYỂN-HƯỚNG]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function TÊN { CÁC;CÂU;LỆNH; } or TÊN () { CÁC;CÂU;LỆNH; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ CÁC;CÂU;LỆNH ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "ĐTCV [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( BTHỨC ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ BTHỨC ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "biến — tên và nghÄ©a cá»§a một số biến hệ vỏ" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | tmục]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" -msgstr "shopt [-pqsu] [-o] [tên-tùy-chọn ...]" +msgstr "shopt [-pqsu] [-o] [tên-tùy-chọn …]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v BIẾN] ĐỊNH-DẠNG [CÁC-ĐỐI-SỐ]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2358,29 +2472,29 @@ msgid "" msgstr "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o TÙY-CHỌN] [-A HÀNH-ĐỘNG] [-G MẪU-" "GLOB] [-W DANH-SÁCH-TỪ] [-F HÀM] [-C LỆNH] [-X MẪU-LỌC] [-P TIỀN-TỐ] [-S " -"HẬU-TỐ] [TÊN ...]" +"HẬU-TỐ] [TÊN …]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" -"compgen [-abcdefgjksuv] [-o TÙY-CHỌN] [-A HÀNH-ĐỘNG] [-G MẪU-GLOB] [-W DANH-" -"SÁCH-TỪ] [-F HÀM] [-C LỆNH] [-X MẪU-LỌC] [-P TIỀN-TỐ] [-S HẬU-TỐ] [TỪ]" +"compgen [-abcdefgjksuv] [-o TÙY-CHỌN] [-A HÀNH-ĐỘNG] [-G MẪU-GLOB] [-W DANH-" +"SÁCH-TỪ] [-F HÀM] [-C LỆNH] [-X MẪU-LỌC] [-P TIỀN-TỐ] [-S HẬU-TỐ] [TỪ]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" -msgstr "compopt [-o|+o TÙY-CHỌN] [-DE] [TÊN ...]" +msgstr "compopt [-o|+o TÙY-CHỌN] [-DE] [TÊN …]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n ĐẾM] [-O GỐC] [-s SỐ-LƯỢNG] [-t] [-u fd] [-C GỌI-NGƯỢC] [-c " -"LƯỢNG] [MẢNG]" +"mapfile [-d delim] [-n SỐ-LƯỢNG] [-O GỐC] [-s SỐ-LƯỢNG] [-t] [-u fd] [-C " +"GỌI-NGƯỢC] [-c LƯỢNG] [MẢNG]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2388,7 +2502,7 @@ msgstr "" "readarray [-n ĐẾM] [-O GỐC] [-s SỐ-LƯỢNG] [-t] [-u FD] [-C GỌI-NGƯỢC] [-c " "LƯỢNG] [MẢNG]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2400,7 +2514,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2409,38 +2523,39 @@ msgid "" msgstr "" "Định nghÄ©a hoặc hiển thị bí danh.\n" "\n" -" Không đưa ra đối số thì “alias” in danh sách các bí danh theo mấu\n" +" Không đưa ra đối số thì “alias” in danh sách các bí danh ở dạng dùng lại " +"được\n" " “alias TÊN=GIÁ-TRỊ” trên đầu ra chuẩn.\n" "\n" -" Có đối số thì một bí danh được định nghÄ©a cho mỗi TÊN theo giá trị\n" +" Nếu không thì một bí danh được định nghÄ©a cho mỗi TÊN theo giá trị\n" " đưa ra. Khoảng trắng ở đâu trong GIÁ-TRỊ làm kiểm tra thay thế bí\n" " danh cho từ kế tiếp, khi phân giải bí danh.\n" -"\n" +" \n" " Tùy chọn:\n" " -p\tin tất cả các bí danh được định nghÄ©a theo định dạng\n" " \tcó thể dùng lại được\n" -"\n" -" Trạng thái thoát:\n" -" alias trả lại thành công trừ khi TÊN đã cho không phải là\n" -" một bí danh đã được định nghÄ©a" +" \n" +" Trạng thái thoát:\n" +" alias trả lại thành công trừ khi TÊN đã cho không phải là\n" +" một bí danh đã được định nghÄ©a" -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" "Gỡ bỏ TÊN khỏi danh sách các bí danh.\n" -"\n" +" \n" " Tùy chọn:\n" " -a\tbỏ tất cả các bí danh.\n" -"\n" +" \n" " Trả lại thành công trừ khi TÊN không phải là một bí danh." -#: builtins.c:289 +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2474,19 +2589,20 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" "Đặt các tổ hợp phím và biến Readline.\n" -"\n" +" \n" " Gắn tổ hợp phím với một chức năng hay vÄ© lệnh Readline, hoặc\n" " đặt biến Readline. Cú pháp đối số không tùy chọn giống như trong\n" -" ~/.inputrc, nhưng phải được gá»­i dưới dạng đối số đơn. Ví\n" +" ~/.inputrc, nhưng phải được chuyển qua dưới dạng đối số đơn. Ví\n" " dụ: bind “\"\\C-x\\C-r\": re-read-init-file”.\n" -"\n" +" \n" " Tùy chọn:\n" " -m SÆ -ĐỒ-PHÍM dùng sÆ¡_đồ_phím làm sÆ¡ đồ phím khi lệnh này\n" " chạy. Giá trị hợp lệ là emacs, emacs-standard,\n" @@ -2496,11 +2612,10 @@ msgstr "" " -P Liệt kê tên hàm và tổ hợp phím\n" " -p Liệt kê tên hàm và tổ hợp phím theo dạng dùng\n" " lại làm đầu vào được\n" -" -S Liệt kê chuỗi phím mà gọi vÄ© lệnh và các giá-trị " -"cá»§a chúng\n" -" -s Liệt kê chuỗi phím mà gọi vÄ© lệnh và các giá-trị " -"cá»§a chúng\n" -" theo định dạng có thể dùng làm đầu vào\n" +" -S Liệt kê chuỗi phím mà gọi vÄ© lệnh và các giá-trị\n" +" cá»§a chúng\n" +" -s Liệt kê chuỗi phím mà gọi vÄ© lệnh và các giá-trị\n" +" cá»§a chúng theo định dạng có thể dùng làm đầu vào\n" " -V Liệt kê các biến và giá trị cá»§a chúng\n" " -v Liệt kê các biến và giá trị cá»§a chúng\n" " theo định dạng có thể tái sá»­ dụng làm đầu vào.\n" @@ -2509,13 +2624,14 @@ msgstr "" " -r DÃY-PHÍM Gỡ bỏ tổ hợp phím này\n" " -f TẬP-TIN Đọc tổ hợp phím từ tập tin này\n" " -x DÃY-PHÍM:LỆNH Chạy LỆNH khi nhập DÃY-PHÍM\n" -" -X\t\t Liệt kê dãy phím với tùy-chọn -x và các lệnh kết hợp\n" +" -X Liệt kê dãy phím với tùy-chọn -x và các lệnh kết " +"hợp\n" " theo dạng có thể dùng làm đầu vào.\n" -"\n" +" \n" " Trạng thái thoát:\n" -" lệnh bind trả vềi 0 trừ khi đưa ra tùy chọn không nhận ra hay gặp lỗi." +" lệnh bind trả về 0 trừ khi đưa ra tùy chọn không nhận ra hay gặp lỗi." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2533,7 +2649,7 @@ msgstr "" " Trạng thái thoát:\n" " Trạng thái thoát là 0 trừ khi N nhỏ hÆ¡n 1." -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2551,7 +2667,7 @@ msgstr "" " Trạng thái thoát:\n" " Trạng thái thoát là 0 trừ khi N nhỏ hÆ¡n 1." -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2564,17 +2680,17 @@ msgid "" " Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is\n" " not a shell builtin.." msgstr "" -"Chạy lệnh dá»±ng sẵn hệ vỏ.\n" +"Chạy lệnh tích hợp hệ vỏ.\n" "\n" " Chạy SHELL-BUILTIN với ĐỐI-SỐ mà không thá»±c hiện tìm lệnh. Hữu ích\n" -" khi bạn muốn cài đặt lại lệnh hệ vỏ dá»±ng sẵn dạng hàm hệ vỏ, nhưng\n" -" cần chạy lệnh dá»±ng sẵn trong hàm đó.\n" +" khi bạn muốn cài đặt lại lệnh hệ vỏ tích hợp dạng hàm hệ vỏ, nhưng\n" +" cần chạy lệnh tích hợp trong hàm đó.\n" "\n" " Trạng thái thoát:\n" " Trả lại trạng thái thoát cá»§a SHELL-BUILTIN, hoặc sai nếu\n" -" SHELL-BUILTIN không phải là một lệnh dá»±ng sẵn hệ vỏ." +" SHELL-BUILTIN không phải là một lệnh tích hợp hệ vỏ." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2601,7 +2717,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại 0 trừ khi hệ vỏ đang chạy hàm hệ vỏ, BTHỨC cÅ©ng hợp lệ." -#: builtins.c:385 +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2624,16 +2740,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2650,8 +2766,9 @@ msgstr "" " Chuyển đổi thư mục hiện thời sang THƯ-MỤC. Thư mục mặc định là giá\n" " trị cá»§a biến HOME.\n" " \n" -" Biến CDPATH xác định đường dẫn tìm kiếm cho thư mục chứa\n" -" THƯ-MỤC. Tên thư mục trong CDPATH được phân cách bằng dấu hai chấm\n" +" Biến CDPATH định nghÄ©a đường dẫn tìm kiếm cho thư mục chứa\n" +" THƯ-MỤC. Tên thư mục thay thế trong CDPATH được phân cách bằng dấu hai " +"chấm\n" " (:). Tên thư mục trống tương đương với thư mục hiện tại. Nếu\n" " THƯ-MỤC bắt đầu với dấu gạch chéo (/) thì không dùng CDPATH.\n" " \n" @@ -2666,9 +2783,9 @@ msgstr "" " \tphân giải liên kết mềm TH.MỤC sau khi xá»­ lý “..”\n" " -e nếu có tùy chọn -P và không thể xác định thư mục làm việc\n" " \thiện tại thì thoát với trạng thái khác không\n" -" -@ trên các hệ thống mà hỗ trợ nó, hiện diện một tập tin với các " -"thuộc tính mở rộng\n" -" như là một thư mục chứa các thuộc tính tập tin\n" +" -@ trên các hệ thống mà hỗ trợ nó, hiện diện một tập tin với các\n" +" thuộc tính mở rộng như là một thư mục chứa các thuộc tính tập " +"tin\n" " \n" " Mặc định là theo liên kết mềm, như có mặt tùy chọn “-L”.\n" " “..” được xá»­ lý bằng cách gỡ bỏ phần trước cá»§a đường dẫn\n" @@ -2678,13 +2795,13 @@ msgstr "" " Trả về 0 nếu thay đổi thư mục, và nếu $PWD được đặt thành công khi\n" " -P được sá»­ dụng; không thì khác không." -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2696,8 +2813,8 @@ msgstr "" "In tên thư mục hiện tại.\n" " \n" " Tùy chọn:\n" -" -L\tin $PWD nếu nó chứa tên cá»§a thư mục hiện tại\n" -" -P\tin thư mục vật lý, không liên kết mềm\n" +" -L in giá trị cá»§a $PWD nếu nó chứa tên cá»§a thư mục hiện tại\n" +" -P in thư mục vật lý, không liên kết mềm\n" " \n" " Mặc định “pwd” chạy như có mặt “-L”.\n" " \n" @@ -2705,7 +2822,7 @@ msgstr "" " Trả về 0 trừ khi đưa ra tùy chọn sai hoặc không đọc được thư mục hiện " "tại." -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2721,7 +2838,7 @@ msgstr "" " Trạng thái thoát:\n" " Lúc nào cÅ©ng thành công." -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2733,7 +2850,7 @@ msgstr "" " Trạng thái thoát:\n" " Lúc nào cÅ©ng thành công." -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2745,7 +2862,7 @@ msgstr "" " Trạng thái thoát:\n" " Lúc nào cÅ©ng không thành công." -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2755,31 +2872,31 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" "Thá»±c thi một lệnh đơn giản, hoặc hiển thị thông tin về lệnh.\n" -"\n" +" \n" " Chạy LỆNH với các ĐỐI-SỐ mà không thá»±c hiện tra cứu hàm hệ vỏ,\n" " hoặc hiển thị thông tin về LỆNH. Có thể được dùng để gọi lệnh trên\n" " đĩa khi đã có hàm cùng tên.\n" -"\n" +" \n" " Tùy chọn:\n" -" -p\tdùng giá trị mặc định cho ĐƯỜNG_DẪN\n" -" \tmà chắc chắn sẽ tìm mọi tiện ích chuẩn\n" -" -v\tin mô tả về LỆNH mà tương tá»± như lệnh dá»±ng sẵn “type”\n" -" -V\tin mô tả chi tiết hÆ¡n cá»§a mỗi LỆNH\n" -"\n" +" -p dùng giá trị mặc định cho ĐƯỜNG_DẪN\n" +" mà chắc chắn sẽ tìm mọi tiện ích chuẩn\n" +" -v in mô tả về LỆNH mà tương tá»± như lệnh tích hợp “type”\n" +" -V in mô tả chi tiết hÆ¡n cá»§a mỗi LỆNH\n" +" \n" " Trạng thái thoát:\n" " Trả lại trạng thái thoát cá»§a LỆNH, hoặc thất bại nếu không tìm\n" " thấy LỆNH." -#: builtins.c:487 +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2789,9 +2906,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2824,7 +2941,7 @@ msgstr "" " hiển thị thuộc tính và giá trị cá»§a mọi biến.\n" " \n" " Tùy chọn:\n" -" -f\thạn chế hành động hoặc hiển thị chỉ tên hàm và định nghÄ©a\n" +" -f\thạn chế hành động hoặc hiển thị tên hàm và định nghÄ©a\n" " -F\thạn chế hiển thị chỉ tên hàm mà thôi\n" " \t(và số thứ tá»± dòng và tập tin nguồn khi gỡ lỗi)\n" " -g\ttạo biến toàn cục khi sá»­ dụng trong hàm hệ vỏ; nếu không\n" @@ -2845,25 +2962,26 @@ msgstr "" " Dùng “+” thay cho “-” để tắt thuộc tính đưa ra.\n" " \n" " Biến có thuộc tính số nguyên thì định giá theo số học (xem lệnh\n" -" “let”. khi biến được gán.\n" +" “let” khi biến được gán.\n" " \n" " Khi dùng trong hàm, “declare” đặt TÊN là cục bộ, như khi dùng lệnh\n" " “local” (cục bộ). Tùy chọn -g ngăn hành vi này.\n" " \n" " Trạng thái thoát:\n" -" Trả lại thành công trừ khi đưa ra tùy chọn sai hoặc gặp lỗi." +" Trả lại thành công trừ khi đưa ra tùy chọn sai hoặc gặp lỗi khi gán biến." -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "Đặt giá trị và thuộc tính cá»§a biến.\n" "\n" " Lệnh này đã lạc hậu. Xem “help declare”." -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2889,7 +3007,7 @@ msgstr "" " Trả lại thành công trừ khi đưa ra tùy chọn sai hay gặp lỗi,\n" " hoặc nếu hệ vỏ không chạy hàm." -#: builtins.c:552 +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2915,29 +3033,30 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" "Ghi đối số vào đầu ra tiêu chuẩn.\n" " \n" -" Hiển thị các ĐỐI-SỐ ra đầu ra tiêu chuẩn, kèm ký tá»± xuống hàng ở cuối.\n" +" Hiển thị các ĐỐI-SỐ, ngăn cách bằng dấu cách đơn và kèm ký tá»± dòng mới\n" +" ra đầu ra tiêu chuẩn .\n" " \n" " Tùy chọn:\n" -" -n\tđừng thêm ký tá»± xuống hàng\n" +" -n\tđừng thêm ký tá»± dòng mới\n" " -e\tbật diễn dịch ký tá»± thoát theo sau ký tá»± “\\”\n" " -E\tchặn diễn dịch ký tá»± thoát\n" " \n" " “echo” hiểu những ký tá»± thoát sau:\n" " \\a\ttiếng chuông\n" -" \\b\txoá lùi\n" +" \\b\txóa lùi\n" " \\c\tchặn kết xuất tiếp\n" " \\e\tký tá»± thoát\n" " \\E\tký tá»± thoát\n" -" \\f\tnạp giấy\n" +" \\f\ttải giấy\n" " \\n\tdòng mới\n" " \\r\txuống dòng\n" " \\t\ttab đứng\n" @@ -2949,7 +3068,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại thành công nếu không gặp lỗi khi ghi." -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2971,7 +3090,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại thành công nếu không gặp lỗi ghi." -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2997,31 +3116,31 @@ msgid "" " Exit Status:\n" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" -"Bật và tắt lệnh hệ vỏ dá»±ng sẵn.\n" +"Bật và tắt lệnh hệ vỏ tích hợp.\n" "\n" -" Bật và tắt các lệnh hệ vỏ dá»±ng sẵn. Chức năng tắt cho phép bạn\n" -" chạy một lệnh trên đĩa cùng tên với một lệnh hệ vỏ dá»±ng sẵn mà\n" +" Bật và tắt các lệnh hệ vỏ tích hợp. Chức năng tắt cho phép bạn\n" +" chạy một lệnh trên đĩa cùng tên với một lệnh hệ vỏ tích hợp mà\n" " không cần dùng tên đường dẫn đầy đủ.\n" "\n" " Tùy chọn:\n" -" -a in danh sách các lệnh dá»±ng sẵn kèm trạng thái bật/tắt\n" +" -a in danh sách các lệnh tích hợp kèm trạng thái bật/tắt\n" " -n tắt TÊN hoặc hiển thị danh sách lệnh bị tắt\n" -" -p in danh sách lệnh dá»±ng sẵn theo định dạng dùng lại được\n" -" -s chỉ in tên các lệnh dá»±ng sẵn Posix “đặc biệt”\n" +" -p in danh sách lệnh tích hợp theo định dạng dùng lại được\n" +" -s chỉ in tên các lệnh tích hợp Posix “đặc biệt”\n" "\n" -" Tùy chọn điều khiển chức năng nạp động:\n" -" -f nạp lệnh dá»±ng sẵn TÊN từ TẬP-TIN\n" -" -d bỏ một dá»±ng sẵn được nạp bằng “-f”\n" +" Tùy chọn điều khiển chức năng tải động:\n" +" -f nạp lệnh tích hợp TÊN từ TẬP-TIN\n" +" -d bỏ một tích hợp được nạp bằng “-f”\n" "\n" " Không có tùy chọn thì coi như bật TÊN.\n" "\n" " Để sá»­ dụng lệnh “test” trên đĩa (nếu tìm thấy trong $PATH) thay\n" -" cho phiên bản hệ vỏ dá»±ng sẵn, gõ “enable -n test”.\n" +" cho phiên bản hệ vỏ tích hợp, gõ “enable -n test”.\n" "\n" " Trạng thái thoát:\n" -" Trả lại thành công trừ khi TÊN không phải lệnh dá»±ng sẵn hoặc gặp lỗi." +" Trả lại thành công trừ khi TÊN không phải lệnh tích hợp hoặc gặp lỗi." -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3040,7 +3159,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại trạng thái thoát cá»§a câu lệnh hay thành công nếu lệnh rỗng." -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3082,10 +3201,10 @@ msgid "" msgstr "" "Phân tích đối số tùy chọn.\n" "\n" -" Getopts được hệ vỏ dùng để phân tích tham số thành tuỳ chọn.\n" +" Getopts được hệ vỏ dùng để phân tích tham số thành tùy chọn.\n" "\n" -" CHUỖI-TUỲ-CHỌN chứa những chữ tùy chọn cần nhận ra; một chữ có dấu hai\n" -" chấm theo sau thì tùy chọn cần đối số, cách tuỳ chọn bằng khoảng\n" +" CHUỖI-TÙY-CHỌN chứa những chữ tùy chọn cần nhận ra; một chữ có dấu hai\n" +" chấm theo sau thì tùy chọn cần đối số, cách tùy chọn bằng khoảng\n" " trắng.\n" "\n" " Mỗi lần gọi, getopts sẽ đặt tùy chọn kế tiếp vào biến hệ vỏ $TÊN,\n" @@ -3095,18 +3214,18 @@ msgstr "" " đối số, getopts đặt đối số đó vào biến hệ vỏ OPTARG.\n" "\n" " getopts thông báo lỗi bằng một trong hai cách. Nếu ký tá»± đầu tiên\n" -" cá»§a CHUỖI-TUỲ-CHỌN là dấu hai chấm, getopts thông báo lỗi im\n" +" cá»§a CHUỖI-TÙY-CHỌN là dấu hai chấm, getopts thông báo lỗi im\n" " lặng. Chế độ này không in ra thông báo nào. Nếu gặp tùy chọn sai\n" -" thì getopts lưu mã ký tá»± tuỳ chọn trong biến OPTARG. Không tìm\n" +" thì getopts lưu mã ký tá»± tùy chọn trong biến OPTARG. Không tìm\n" " thấy đối số cần thiết thì getopts lưu dấu hai chấm trong biến $TÊN\n" -" và đặt lưu mã ký tá»± tuỳ chọn trong OPTARG. Nếu getopts không trong\n" +" và đặt lưu mã ký tá»± tùy chọn trong OPTARG. Nếu getopts không trong\n" " chế độ im lặng và gặp tùy chọn sai, getopts lưu dấu hỏi “?” vào\n" -" biến $TÊN và xoá OPTARG. Không tìm thấy tùy chọn cần thiết thì “?”\n" +" biến $TÊN và xóa OPTARG. Không tìm thấy tùy chọn cần thiết thì “?”\n" " được lưu vào $TÊN, OPTARG bị xlá, và in ra một thông điệp chẩn\n" " đoán.\n" "\n" " Nếu biến hệ vỏ OPTERR có giá trị 0, getopts sẽ không in thông báo\n" -" kể cả khi ký tá»± đầu tiên cá»§a CHUỖI-TUỲ-CHỌN không phải dấu hai\n" +" kể cả khi ký tá»± đầu tiên cá»§a CHUỖI-TÙY-CHỌN không phải dấu hai\n" " chấm. OPTERR có giá trị mặc định là 1.\n" "\n" " Getopts bình thường phân tích tham số vị trí ($0 - $9). Tuy nhiên,\n" @@ -3116,7 +3235,7 @@ msgstr "" " Trả lại thành công nếu tìm thấy một tùy chọn; không thành công nếu\n" " gặp kết thúc các tùy chọn, hoặc nếu gặp lỗi." -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3127,8 +3246,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3139,23 +3258,24 @@ msgid "" "occurs." msgstr "" "Thay thế hệ vỏ bằng câu lệnh đưa ra.\n" -"\n" +" \n" " Thá»±c thi LỆNH, thay thế hệ vỏ này bằng chương trình được chạy.\n" -" ĐỐI-SỐ là đối số cá»§a LỆNH. Không xác định LỆNH thì bất cứ chuyển\n" +" ĐỐI-SỐ trở thành đối số cá»§a LỆNH. Không định nghÄ©a LỆNH thì bất cứ " +"chuyển\n" " hướng nào sẽ xảy ra trong hệ vỏ đang chạy.\n" -"\n" +" \n" " Tùy chọn:\n" " -a TÊN\ttruyền TÊN cho LỆNH dạng đối số thứ không\n" " -c\tthá»±c thi LỆNH với một môi trường rỗng\n" " -l\tđặt một dấu gạch vào đối số thứ không cá»§a LỆNH\n" -"\n" +" \n" " Nếu LỆNH không thể thá»±c thi, hệ vỏ không tương tác sẽ thoát, trừ\n" " khi đặt tùy chọn hệ vỏ “execfail”.\n" -"\n" +" \n" " Trạng thái thoát:\n" " Trả lại thành công trừ khi không tìm được LỆNH hoặc gặp lỗi chuyển hướng." -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3167,7 +3287,7 @@ msgstr "" " Thoát khỏi hệ vỏ với trạng thái N. Không xác định N thì trạng thái\n" " thoát là trạng thái cá»§a lệnh cuối cùng được chạy." -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3180,7 +3300,7 @@ msgstr "" " Thoát khỏi hệ vỏ đăng nhập với trạng thái N. Trả về lỗi nếu không\n" " phải hệ vỏ đăng nhập." -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3217,22 +3337,22 @@ msgstr "" "\n" " Tùy chọn:\n" " -e ENAME\tchọn trình soạn thảo nào cần dùng.\n" -" \tMặc định là FCEDIT, rồi EDITOR, rồi vi\n" +" \tMặc định là FCEDIT, sau đó là EDITOR, rồi đến vi\n" " -l\tliệt kê thay vì chỉnh sá»­a\n" " -n\tliệt kê không in số thứ tá»± dòng\n" " -r\tđảo ngược thứ tá»± các dòng (mới nhất trước)\n" "\n" -" Định dạng “fc -s [mẫu=lần_lập_lại ...] [lệnh]” được dùng để chạy\n" +" Định dạng “fc -s [mẫu=lần_lập_lại …] [lệnh]” được dùng để chạy\n" " lại lệnh sau khi thay thế CŨ=MỚI.\n" "\n" -" Một bí danh hữu ích là r='.c -s' để có thể gõ “r cc” để chạy lệnh\n" +" Một bí danh hữu ích là r=\".c -s\" để có thể gõ “r cc” để chạy lệnh\n" " cuối cùng bắt đầu bằng “cc” và gõ “r” để chạy lại lệnh cuối.\n" "\n" " Trạng thái thoát:\n" " Trả lại thành công hay trạng thái cá»§a câu lệnh được thá»±c thi; gặp\n" " lỗi thì khác số không." -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3245,7 +3365,7 @@ msgid "" msgstr "" "Nâng công việc nền lên trước.\n" "\n" -" Nâng lên trước công việc được xác định bởi đặc tả công việc ĐTCV\n" +" Nâng lên trước công việc được định nghÄ©a bởi đặc tả công việc ĐTCV\n" " làm công việc hiện thời. Không có ĐTCV thì dùng công việc hiện\n" " thời cá»§a hệ vỏ.\n" "\n" @@ -3253,7 +3373,7 @@ msgstr "" " Trạng thái cá»§a câu lệnh được nâng lên trước; hoặc thất bại nếu xảy\n" " ra lỗi." -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3268,7 +3388,7 @@ msgid "" msgstr "" "Chuyển công việc xuống chạy nền.\n" "\n" -" Chuyển công việc xác định theo đặc tả công việc ĐTCV sang chạy\n" +" Chuyển công việc định nghÄ©a theo đặc tả công việc ĐTCV sang chạy\n" " nền, như thể lệnh được chạy với “&”. Nếu không có ĐTCV, dùng công\n" " việc hiện thời cá»§a hệ vỏ.\n" "\n" @@ -3276,7 +3396,7 @@ msgstr "" " Trả lại thành công nếu chức năng điều khiển công việc được bật và\n" " không gặp lỗi." -#: builtins.c:784 +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3285,42 +3405,42 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" "Nhớ hoặc hiển thị vị trí chương trình.\n" -"\n" +" \n" " Xác định và ghi nhớ tên đường dẫn đầy đủ cá»§a mỗi TÊN câu lệnh.\n" " Nếu không đưa ra đối số, hiển thị thông tin về các câu lệnh được\n" " ghi nhớ.\n" -"\n" +" \n" " Tùy chọn:\n" -" -d\t\tquên vị trí đã nhớ cá»§a TÊN\n" -" -l\t\thiển thị theo định dạng dùng lại làm đầu vào được\n" +" -d\tquên vị trí đã nhớ cá»§a TÊN\n" +" -l\thiển thị theo định dạng dùng lại làm đầu vào được\n" " -p\tTÊN_ĐƯỜNG_DẪN\tdùng TÊN_ĐƯỜNG_DẪN là tên đường dẫn đầy đủ cá»§a TÊN\n" -" -r\t\tquên mọi vị trí đã nhớ\n" -" -t\t\tin vị trí đã nhớ cá»§a TÊN, in tên trước vị\n" -" trí nếu TÊN tương ứng với nhiều vị trí\n" -"\n" +" -r\tquên mọi vị trí đã nhớ\n" +" -t\tin vị trí đã nhớ cá»§a TÊN, in tên trước vị\n" +" \t\ttrí nếu TÊN tương ứng với nhiều vị trí\n" +" \n" " Đối số:\n" -" TÊN\t\tmỗi TÊN được tìm trong $PATH và được thêm vào\n" +" TÊN\tmỗi TÊN được tìm trong $PATH và được thêm vào\n" " \t\tdanh sách các câu lệnh được ghi nhớ.\n" "\n" " Trạng thái thoát:\n" " Trả lại thành công nếu tìm được TÊN và không đưa ra tùy chọn sai." -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3332,7 +3452,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3341,25 +3461,26 @@ msgid "" " Returns success unless PATTERN is not found or an invalid option is " "given." msgstr "" -"Hiển thị thông tin về lệnh dá»±ng sẵn.\n" -"\n" -" Hiển thị bản tóm tắt ngắn về các câu lệnh dá»±ng sẵn. Nếu cÅ©ng ghi\n" -" rõ MẪU thì in ra trợ giúp chi tiết về tất cả các câu lệnh tương\n" -" ứng với mẫu đó ; không thì in ra danh sách các chá»§ đề trợ giúp.\n" -"\n" +"Hiển thị thông tin về lệnh tích hợp.\n" +" \n" +" Hiển thị bản tóm tắt ngắn về các câu lệnh tích hợp. Nếu chỉ định\n" +" MẪU thì in ra trợ giúp chi tiết về tất cả các câu lệnh tương\n" +" ứng với mẫu đó; không thì in ra danh sách các chá»§ đề trợ giúp.\n" +" \n" " Tùy chọn:\n" " -d\txuất mô tả ngắn về mỗi chá»§ đề\n" -" -m\thiệnn cách dùng theo định dạng trang hướng dẫn (man)\n" -" -s\txuất chỉ một bản tóm tắt cách dìng cho mỗi\n" -" \tchá»§ đề tương ứng với MẪU\n" -"\n" +" -m\thiện cách dùng theo định dạng trang hướng dẫn (man)\n" +" -s\txuất chỉ một bản tóm tắt cách dùng cho mỗi\n" +" \t\tchá»§ đề tương ứng với MẪU\n" +" \n" " Đối số:\n" -" MẪU\tmẫu các định một chá»§ đề trợ giúp\n" -"\n" +" MẪU\tmẫu xác định một chá»§ đề trợ giúp\n" +" \n" " Trạng thái thoát:\n" " Trả lại thành công nếu tìm được MẪU và không đưa ra tùy chọn sai." -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3368,23 +3489,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3393,39 +3514,38 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" "Hiển thị hoặc thao tác danh sách lịch sá»­.\n" -"\n" +" \n" " Hiển thị danh sách lịch sá»­ kèm số dòng, “*” ở đầu dòng cho các mục\n" " nhập bị sá»­a đổi. Đối số N thì liệt kê chỉ N mục tin cuối cùng.\n" -"\n" +" \n" " Tùy chọn:\n" -" -c\txoá sạch danh sách lịch sá»­ bằng cách xoá mọi mục tin\n" -" -d offset\txoá mục tin lịch sá»­ ở vị trí tương đối này\n" -"\n" +" -c\txóa sạch danh sách lịch sá»­ bằng cách xóa mọi mục tin\n" +" -d offset\txóa mục tin lịch sá»­ ở vị trí tương đối này\n" +" \n" " -a\tnối đuôi lịch sá»­ từ phiên làm việc này vào tập tin\n" " \tlịch sá»­.\n" " -n\tđọc mọi dòng lịch sá»­ chưa đọc từ tập tin lịch sá»­\n" " -r\tđọc tập tin lịch sá»­ và nối thêm vào danh sách lịch sá»­\n" " -w\tghi lịch sá»­ hiện thời vào tập tin lịch sá»­,\n" " \tvào nối đuôi vào danh sách lịch sá»­\n" -"\n" +" \n" " -p\tkhai triển lịch sá»­ với mỗi ĐỐI-SỐ và hiển thị kết quả\n" " \tmà không lưu vào danh sách lịch sá»­\n" " -s\tnối đuôi ĐỐI-SỐ vào danh sách lịch sá»­ làm một mục đơn\n" -"\n" +" \n" " Nếu có TẬP-TIN thì nó được dùng làm tập tin lịch sá»­. Ngược\n" " lại, nếu $HISTFILE có giá trị thì dùng; nếu $HISTFILE không có giá\n" " trị thì dùng “~/.bash_history”.\n" -"\n" +" \n" " Nếu biến $HISTTIMEFORMAT đã được đặt và khác rỗng, giá trị đó được\n" " dùng làm chuỗi định dạng cho strftime(3) để in nhãn thời gian\n" " tương ứng với mỗi mục tin lịch sá»­ được hiển thị. Ngược lại không\n" " in nhãn thời gian.\n" -"\n" +" \n" " Trạng thái thoát:\n" " Trả lại thành công nếu không gặp tùy chọn sai hay gặp lỗi." -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3435,7 +3555,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3449,26 +3569,26 @@ msgid "" " If -x is used, returns the exit status of COMMAND." msgstr "" "Hiển thị trạng thái cá»§a công việc.\n" -"\n" +" \n" " Liệt kê các công việc đang chạy. Đặc tả công việc ĐTCV hạn chế chỉ\n" " hiện công việc đó thôi. Không có tùy chọn thì hiển thị trạng thái\n" " cá»§a mọi công việc đang chạy.\n" -"\n" +" \n" " Tùy chọn:\n" " -l\tliệt kê mã số tiến trình ngoài thông tin bình thường\n" " -n\tliệt kê chỉ những tiến trình đã thay đổi trạng thái\n" " \tkể từ lần thông báo cuối cùng\n" " -s\tchỉ hiện những công việc đang dừng chạy\n" -"\n" +" \n" " Nếu có “-x” thì chạy LỆNH sau khi thay thế tất cả đặc tả công việc\n" " trên đối số bằng mã tiến trình cá»§a trình dẫn đầu nhóm tiến trình\n" " cá»§a công việc đó.\n" -"\n" +" \n" " Trạng thái thoát:\n" " Trả lại thành công nếu không gặp tùy chọn sai hay gặp lỗi.\n" " Đưa ra “-x” thì trả lại trạng thái thoát cá»§a LỆNH." -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3478,28 +3598,29 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" "Bỏ công việc khỏi hệ vỏ đang chạy.\n" -"\n" -" Gỡ bỏ công việc xác định bởi đặc tả công việc ĐTCV. Không có đối\n" -" số thì dùng công việc hiện thời cá»§a hệ vỏ.\n" -"\n" +" \n" +" Gỡ bỏ công việc xác định bởi đặc tả công việc ĐTCV ra khỏi bảng các\n" +" công việc hoạt động. Không có ĐTCV thì dùng công việc hiện thời cá»§a hệ " +"vỏ.\n" +" \n" " Tùy chọn:\n" " -a\tbỏ mọi công việc nếu không có ĐTCV\n" " -h\tđánh dấu ĐTCV để không gá»­i tín hiệu SIGHUP\n" " \tcho công việc khi hệ vỏ nhận được SIGHUP\n" " -r\tchỉ bỏ những công việc đang chạy\n" -"\n" +" \n" " Trạng thái thoát:\n" -" Trả lại thành công nếu không đưa ra tùy chọn sai hay\n" -" ĐTCV sai." +" Trả lại thành công nếu không đưa ra tùy chọn hay ĐTCV sai." -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3511,7 +3632,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3521,25 +3643,25 @@ msgid "" " Returns success unless an invalid option is given or an error occurs." msgstr "" "Gá»­i tín hiệu cho công việc.\n" -"\n" +" \n" " Gá»­i tín hiệu xác định bởi SIGSPEC hoặc SIGNUM cho những tiến trình\n" -" xác định bởi PID hoặc JOBSPEC. Nếu không xác định cả SIGSPEC và\n" -" SIGNUM thì ngầm định SIGTERM.\n" -"\n" +" xác định bởi PID hoặc JOBSPEC. Nếu SIGSPEC và SIGNUM không hiện diện\n" +" thì ngầm định SIGTERM.\n" +" \n" " Tùy chọn:\n" " -s TTH\tTTH là tên tín hiệu\n" " -n STH\tSTH là mã số tín hiệu\n" " -l\tliệt kê tên tín hiệu; đối số sau “-l” nếu có được coi\n" " \tlà mã số tín hiệu cần hiện tên\n" -"\n" -" Kill là lệnh hệ vỏ dá»±ng sẵn vì hai lý do: nó cho phép dùng mã số\n" +" \n" +" Kill là lệnh hệ vỏ tích hợp vì hai lý do: nó cho phép dùng mã số\n" " công việc thay cho mã số tiến trình và cho phép giết tiến trình\n" " đạt giới hạn số các tiến trình được phép tạo.\n" -"\n" +" \n" " Trạng thái thoát:\n" " Trả lại thành công nếu không đưa ra tùy chọn sai hay gặp lỗi." -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3623,7 +3745,7 @@ msgstr "" " Nếu ĐỐI-SỐ cuối cùng được định giá thành 0 thì trả về 1; không thì\n" " trả về 0." -#: builtins.c:983 +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3644,27 +3766,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3673,24 +3796,26 @@ msgid "" "occurs,\n" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" -"Đọc một dòng từ đầu nhập chuẩn và tách ra nhiều trường.\n" -"\n" -" Đọc một dòng từ đầu nhập chuẩn, hoặc từ bộ mô tả tập tin FD nếu\n" +"Đọc một dòng từ đầu vào tiêu chuẩn và tách ra nhiều trường.\n" +" \n" +" Đọc một dòng từ đầu vào tiêu chuẩn, hoặc từ bộ mô tả tập tin FD nếu\n" " dùng tùy chọn “-u”. Dòng được chia ra nhiều trường, trường đầu\n" " tiên được gán cho biến TÊN đầu tiên, từ thứ hai cho TÊN thứ hai,\n" -" v.v., và từ còn lại nào được gán cho TÊN cuối cùng. Chỉ những ký\n" +" và cứ như vậy, và từ còn lại nào được gán cho TÊN cuối cùng. Chỉ những " +"ký\n" " tá»± trong $IFS được coi là ký tá»± phân cách.\n" -"\n" +" \n" " Không có TÊN thì dòng được đọc sẽ lưu vào biến REPLY.\n" -"\n" +" \n" " Tùy chọn:\n" " -a MẢNG\tlưu các trường vào biến mảng chỉ số MẢNG theo thứ tá»±,\n" " \tbắt đầu từ không.\n" -" -d DELIM\ttiếp tục đến khi đọc ký tá»± đầu tiên cá»§a DELIM thay\n" -" \t\tvì ký tá»± xuống dòng\n" -" -e\t\tdùng Readline để lấy dòng trong hệ vỏ tương tác\n" +" -d NGĂN_CÁCH\ttiếp tục đến khi đọc ký tá»± đầu tiên cá»§a DELIM thay\n" +" \t\tcho ký tá»± xuống dòng\n" +" -e \tdùng Readline để lấy dòng trong hệ vỏ tương tác\n" " -i CHUỖI\tdùng CHUỖI làm văn bản đầu tiên cho Readline\n" -" -n nChữ\ttrả về sau khi đọc số lượng ký tá»± này thay vì đọc hết dòng\n" +" -n nChữ\ttrả về sau khi đọc đủ số lượng ký tá»± này thay vì đọc hết " +"dòng\n" " \t\tnhưng nếu gặp chuỗi phân tách khi ít hÆ¡n Nchữ\n" " \t\tcác ký tá»± được đọc trước chuỗi phân tách\n" " -N N\ttrả về chỉ sau khi đọc chính xác số lượng ký tá»± này,\n" @@ -3709,12 +3834,12 @@ msgstr "" " \tmô tả tập tin đưa ra. Trạng thái thoát lớn hÆ¡n 128\n" " \tnếu vượt quá thời hạn này.\n" " -u FD\tđọc từ bộ mô tả tập tin FD thay cho đầu vào tiêu chuẩn\n" -"\n" +" \n" " Trạng thái thoát:\n" " Mã trả lại là số không, nếu không gặp kết thúc tập tin, hay chờ quá\n" " lâu, hoặc đưa ra bộ mô tả tập tin sai làm đối số cho “-u”." -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3735,7 +3860,8 @@ msgstr "" " Trả lại N, hoặc bị lỗi nếu hệ vỏ không đang chạy một hàm hay văn\n" " lệnh." -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3803,7 +3929,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3819,7 +3946,7 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given." msgstr "" -"Đặt hay huá»· giá trị cá»§a tùy chọn hệ vỏ và tham số vị trí.\n" +"Đặt hay há»§y giá trị cá»§a tùy chọn hệ vỏ và tham số vị trí.\n" " \n" " Sá»­a đổi giá trị cá»§a thuộc tính hệ vỏ và tham số vị trí,\n" " hoặc hiển thị tên và giá trị cá»§a biến hệ vỏ.\n" @@ -3906,7 +4033,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại thành công trừ phi gặp tùy chọn sai." -#: builtins.c:1126 +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3916,7 +4043,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3927,25 +4054,25 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" -"Xoá giá trị và thuộc tính biến và hàm hệ vỏ.\n" +"Xóa giá trị và thuộc tính cá»§a biến hệ vỏ và các hàm.\n" " \n" " Đối với mỗi TÊN, gỡ bỏ biến hay hàm tương ứng.\n" " \n" " Tùy chọn:\n" -" -f\tđọc TÊN dạng hàm hệ vỏ\n" -" -v\tđọc TÊN dạng biến hệ vỏ\n" -" -n\tcoi TÊN như là tên tham chiếu và bỏ đặt biến tá»± tham chiếu\n" +" -f\tcoi mỗi TÊN là hàm hệ vỏ\n" +" -v\tcoi mỗi TÊN là biến hệ vỏ\n" +" -n\tcoi TÊN như là tên tham chiếu và bỏ đặt biến đó thay vì\n" +" biến mà nó tham chiếu đến\n" " \n" -" Không có tùy chọn thì sẽ thá»­ xoá biến, và nếu không thành công,\n" -" sau đó thá»­ xoá hàm.\n" +" Không có tùy chọn thì sẽ thá»­ xóa biến, và nếu không thành công,\n" +" sau đó thá»­ xóa hàm.\n" " \n" " Một số biến không thể gỡ bỏ; nên xem “readonly”.\n" " \n" -" \n" " Trạng thái thoát:\n" " Trả lại thành công nếu không đưa ra tùy chọn sai hay TÊN chỉ-đọc." -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3973,12 +4100,12 @@ msgstr "" " -n\tgỡ bỏ thuộc tính xuất khẩu khỏi TÊN\n" " -p\thiển thị danh sách các biến và hàm được xuất ra\n" "\n" -" Đối số “--” ngừng phân tích tuỳ chọn cho các tham số còn lại.\n" +" Đối số “--” ngừng phân tích tùy chọn cho các tham số còn lại.\n" "\n" " Trạng thái thoát:\n" " Trả lại thành công nếu không đưa ra tùy chọn hay TÊN sai," -#: builtins.c:1167 +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3990,9 +4117,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -4000,24 +4126,24 @@ msgid "" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" "Đánh dấu biến hệ vỏ là không thể thay đổi.\n" -"\n" -" Đánh dấu TÊN là chỉ đọc; giá trị những biến này không được thay\n" +" \n" +" Đánh dấu TÊN là chỉ đọc; giá trị những TÊN này không được thay\n" " đổi trong các phép gán sau. Nếu có GIÁ-TRỊ thì gán GIÁ-TRỊ trước\n" " khi đánh dấu là chỉ đọc.\n" -"\n" +" \n" " Tùy chọn:\n" " -a\ttham chiếu đến biến kiểu mảng chỉ số\n" " -A\ttham chiếu đến biến kiểu mảng kết hợp\n" " -f\ttham chiếu đến hàm hệ vỏ\n" " -p\thiển thị danh sách biến và hàm chỉ đọc, tùy thuộc vào\n" -" có tùy chọn -f hay không\n" -" \n" -" Đối số “--” ngừng phân tích tuỳ chọn cho các tham số còn lại.\n" -"\n" +" \t\tcó tùy chọn -f hay không\n" +" \n" +" Đối số “--” ngừng phân tích tùy chọn cho các tham số còn lại.\n" +" \n" " Trạng thái thoát:\n" -" Trả lại thành công nếu không đưa ra tùy chọn sai hay TÊN sai." +" Trả lại thành công nếu không đưa ra tùy chọn sai hay TÊN không hợp lệ." -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4029,13 +4155,13 @@ msgid "" msgstr "" "Dịch vị trí đối số.\n" "\n" -" Thay đổi tên cá»§a đối số vị trí $N+1,$N+2 ... thành $1,$2 ...\n" +" Thay đổi tên cá»§a đối số vị trí $N+1,$N+2 … thành $1,$2 …\n" " N là 1 nếu không chỉ định.\n" "\n" " Trạng thái thoát:\n" " Trả lại thành công trừ khi N âm hay lớn hÆ¡n $#." -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4058,7 +4184,7 @@ msgstr "" " Trả lại trạng thái cá»§a câu lệnh cuối cùng được thá»±c thi trong\n" " TẬP-TIN; không thành công nếu không thể đọc TẬP-TIN." -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4083,7 +4209,7 @@ msgstr "" " Trả lại thành công trừ khi chức năng điều khiển công việc không\n" " được bật hoặc gặp lỗi." -#: builtins.c:1248 +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4147,9 +4273,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4167,7 +4293,7 @@ msgid "" msgstr "" "Định giá biểu thức điều kiện.\n" " \n" -" Thoát với trạng thái 0 (đúng) hoặc 1 (sai), tuỳ kết quả định giá\n" +" Thoát với trạng thái 0 (đúng) hoặc 1 (sai), tùy kết quả định giá\n" " BTHỨC. Biểu thức có thể kiểu một ngôi hoặc hai ngôi. Biểu thức\n" " một ngôi thường dùng để kiểm tra trạng thái tập tin. Ngoài ra còn\n" " có toán tá»­ chuỗi và so sánh số.\n" @@ -4188,8 +4314,8 @@ msgstr "" " -L TẬP-TIN Đúng nếu tập tin là liên kết mềm.\n" " -k TẬP-TIN Đúng nếu tập tin có bit “sticky”.\n" " -p TẬP-TIN Đúng nếu tập tin là ống dẫn có tên.\n" -" -r TẬP-TIN Đúng nếu tập tin đọc được (bởi bạn).\n" -" -s TẬP-TIN Đúng nếu tập tin tồn tại và khác rỗng.\n" +" -r TẬP-TIN Đúng nếu tập tin bạn đọc được.\n" +" -s TẬP-TIN Đúng nếu tập tin tồn tại và không rỗng.\n" " -S TẬP-TIN Đúng nếu tập tin là socket.\n" " -t FD Đúng nếu FD được mở trên thiết bị cuối.\n" " -u TẬP-TIN Đúng nếu tập tin là set-user-id.\n" @@ -4216,7 +4342,7 @@ msgstr "" " -n CHUỖI\n" " CHUỖI Đúng nếu chuỗi khác rỗng.\n" " \n" -" CHUỖI1 = CHUỖI2 Đúng nếu hai chuỗi trùng nhau.\n" +" CHUỖI1 = CHUỖI2 Đúng nếu hai chuỗi bằng nhau.\n" " CHUỖI1 != CHUỖI2 Đúng nếu hai chuỗi khác nhau.\n" " CHUỖI1 < CHUỖI2 Đúng nếu CHUỖI1 xếp trước CHUỖI2 theo thứ tá»± từ " "điển.\n" @@ -4225,24 +4351,24 @@ msgstr "" " Toán tá»­ khác:\n" " \n" " -o TÙY_CHỌN Đúng nếu tùy chọn hệ vỏ này được bật.\n" -" -v BIẾN Đúng nếu BIẾN được đặt\n" -" -R BIẾN Đúng nếu BIẾN được đặt là là tham chiếu tên.\n" +" -v BIẾN Đúng nếu BIẾN hệ vỏ này được đặt\n" +" -R BIẾN Đúng nếu BIẾN hệ vỏ này được đặt là tham chiếu tên.\n" " ! BTHỨC Đúng nếu biểu thức này không đúng.\n" " BTHỨC1 -a BTHỨC2 Đúng nếu cả hai biểu thức là đúng.\n" -" BTHỨC1 -o BTHỨC2 Đúng nếu một cá»§a hai biểu thức đúng.\n" +" BTHỨC1 -o BTHỨC2 Đúng nếu một hoặc hai biểu thức đúng.\n" " \n" " ĐỐI-SỐ1 OP ĐỐI-SỐ2\n" -" Phép thá»­ số học. OP là một trong -eq, -ne,\n" +" Phép thá»­ số học. OP (toán tá»­) là một trong -eq, -ne,\n" " -lt, -le, -gt, or -ge.\n" " \n" " Phép toán số học hai ngôi trả về đúng nếu ĐỐI-SỐ1 bằng, khác, nhỏ\n" " hÆ¡n, nhỏ hÆ¡n hoặc bằng, lớn hÆ¡n, lớn hÆ¡n hoặc bằng ĐỐI-SỐ2.\n" -"\n" +" \n" " Trạng thái thoát:\n" " Trả lại thành công nếu BTHỨC định giá là Đúng; không thành công\n" " nếu BTHỨC định giá thành Sai hay đối số được chỉ ra sai." -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4251,10 +4377,10 @@ msgid "" msgstr "" "Định giá biểu thức điều kiện.\n" " \n" -" Lệnh này cùng chức năng lệnh dá»±ng sẵn \"test\", nhưng đối số cuối\n" +" Lệnh này cùng chức năng lệnh tích hợp \"test\", nhưng đối số cuối\n" " cùng phải là ký tá»± “]” để khớp với “[” ở đầu." -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4273,7 +4399,7 @@ msgstr "" " Trạng thái thoát:\n" " Lúc nào cÅ©ng thành công." -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4350,7 +4476,7 @@ msgstr "" " Trả lại thành công trừ phi đưa ra ĐTTH sai hay tùy chọn\n" " sai." -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4359,18 +4485,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4379,34 +4505,35 @@ msgid "" " Returns success if all of the NAMEs are found; fails if any are not " "found." msgstr "" -"Hiển thị thông tin loại câu lệnh.\n" -"\n" +"Hiển thị thông tin về kiểu câu lệnh.\n" +" \n" " Đối với mỗi TÊN, chỉ ra cách thông dịch lệnh khi được thá»±c thi\n" " theo tên lệnh.\n" -"\n" +" \n" " Tùy chọn:\n" " -a\thiển thị mọi vị trí chứa tập tin thá»±c thi được có TÊN;\n" " \tkhông đặt tùy chọn “-p” thì bao gồm các bí danh, lệnh\n" -" \tdá»±ng sẵn và hàm.\n" +" \ttích hợp và hàm.\n" " -f\tngăn tra cứu hàm hệ vỏ\n" " -P\tbuộc tìm kiếm PATH đối với mỗi TÊN, thậm chí nếu nó là\n" -" \tbí danh, lệnh dá»±ng sẵn hay hàm, và trả lại tên cá»§a tập\n" +" \tbí danh, lệnh tích hợp hay hàm, và trả lại tên cá»§a tập\n" " \ttin trên đĩa mà sẽ được thá»±c thi\n" " -p\ttrả về hoặc tên cá»§a tập tin trên đĩa mà sẽ được thá»±c\n" " \t\tthi, hoặc gì cả “type -t TÊN” sẽ không trả về “file”\n" " \t\t(tập tin).\n" -" -t\txuất một trong những từ đơn “alias”, “keyword”, “function”,\n" +" -t\txuất một trong những từ đơn “alias”, “keyword”, “function”,\n" " \t“builtin”, “file” hoặc “”, nếu TÊN tương ứng là bí danh,\n" -" \ttừ khoá,hàm, lệnh hệ vỏ dá»±ng sẵn, tập tin\n" +" \ttừ khóa,hàm, lệnh hệ vỏ tích hợp, tập tin\n" " \ttrên đĩa, hoặc không tìm thấy.\n" -"\n" +" \n" " Đối số:\n" " TÊN\ttên câu lệnh cần giải thích.\n" -"\n" +" \n" " Trạng thái thoát:\n" -" Trả lại thành công nếu tìm thấy tất cả các TÊN; không thì bị lỗi." +" Trả lại thành công nếu tìm thấy tất cả các TÊN; bị lỗi nếu không tìm " +"thấy." -#: builtins.c:1417 +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4424,6 +4551,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4435,7 +4563,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4467,7 +4596,8 @@ msgstr "" " -e\tmức ưu tiên lập lịch cao nhất (“nice”)\n" " -f\tkích cỡ tập tin tối đa được ghi bởi hệ vỏ và tiến trình con\n" " -i\tsố tín hiệu bị hoãn tối đa\n" -" -l\tkích cỡ tối đa mà tiến trình có thể khoá vào bộ nhớ\n" +" -k\tsố lượng kqueues được phân bổ tối đa cho tiến trình này\n" +" -l\tkích cỡ tối đa mà tiến trình có thể khóa vào bộ nhớ\n" " -m\tkích cỡ tập nội trú (RSS) tối đa\n" " -n\tsố bộ mô tả tập tin tối đa được mở\n" " -p\tkích thước vùng đệm ống dẫn\n" @@ -4477,7 +4607,8 @@ msgstr "" " -t\tlượng thời gian cpu tối đa theo giây\n" " -u\tsố tiến trình người dùng tối đa\n" " -v\tkích cỡ cá»§a bộ nhớ ảo\n" -" -x\tsố khoá tập tin tối đa\n" +" -x\tsố khóa tập tin tối đa\n" +" -P\tsố lượng thiết bị cuối ảo tối đa\n" " -T\tsố lượng tuyến trình tối đa\n" " \n" " Không phải tất cả các tùy-chọn này đều sẵn sàng trên mọi nền tảng.\n" @@ -4486,7 +4617,7 @@ msgstr "" " giá trị GIỚI_HẠN đặc biệt “soft”, “hard” và “unlimited” tương ứng\n" " là giới hạn mềm hiện tại, giới hạn cứng hiện tại và không giới\n" " hạn. Không có thì in giá trị hiện thời cá»§a tài nguyên được ghi.\n" -" Ngầm định “-f” nếu không chỉ định tuỳ chọn.\n" +" Ngầm định “-f” nếu không chỉ định tùy chọn.\n" " \n" " Giá trị tính theo khối 1024 byte, trừ -t tính theo giây, -p theo\n" " khối 512 byte và -u theo số tiến trình.\n" @@ -4494,7 +4625,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại thành công nếu không đưa ra tùy chọn sai hay có lỗi phát sinh." -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4527,7 +4658,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại thành công nếu không có CHẾ_ĐỘ sai hay tùy chọn sai." -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4562,7 +4693,7 @@ msgstr "" " Trả về trạng thái cá»§a ID cuối; không thành công nếu ID sai hoặc đưa\n" " ra tùy chọn sai." -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4586,7 +4717,7 @@ msgstr "" " Trả lại trạng thái cá»§a PID; không thành công nếu PID sai, hoặc nếu\n" " đưa ra tùy chọn sai." -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4602,14 +4733,14 @@ msgstr "" "\n" " Vòng lặp “for” thá»±c thi lệnh cho từng phần tá»­ nằm trong danh sách. " "Không\n" -" ghi “in TỪ ...” thì ngầm định “in \"$@\"”. Đối với mỗi phần tá»­ trong\n" +" ghi “in TỪ …” thì ngầm định “in \"$@\"”. Đối với mỗi phần tá»­ trong\n" " danh sách, đặt giá trị phần tá»­ đó cho biến TÊN rồi thá»±c thi CÁC;CÂU;" "LỆNH.\n" "\n" " Trạng thái thoát:\n" " Trả lại trạng thái cá»§a câu lệnh cuối cùng được chạy." -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4639,7 +4770,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại trạng thái cá»§a câu lệnh cuối cùng được chạy." -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4663,7 +4794,7 @@ msgstr "" " TỪ được triển khai, phát sinh danh sách từ. Tập hợp các từ kết quả được\n" " in ra đầu ra lỗi chuẩn với một con số ở phía trước. Ngầm định “in\n" " \"$@\"” nếu không có “in TỪ”. Dấu nhắc PS3 được hiển thị và một dòng\n" -" được đọc từ đầu nhập chuẩn. Nếu dòng bao gồm số tương ứng với từ\n" +" được đọc từ đầu vào tiêu chuẩn. Nếu dòng bao gồm số tương ứng với từ\n" " hiển thị thì đặt từ đó vào biến TÊN. Nếu dòng rỗng thì hiển thị\n" " lại TỪ và dấu nhắc. Nếu gặp EOF thì kết thúc. Đặt TÊN là rỗng với\n" " các giá trị khác. Dòng đọc được lưu vào biến REPLY. LỆNH được thá»±c\n" @@ -4673,7 +4804,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại trạng thái cá»§a câu lệnh cuối cùng được chạy." -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4702,7 +4833,7 @@ msgstr "" " Trạng thái thoát:\n" " Trạng thái trả về là trạng thái trả về cá»§a ỐNG-DẪN." -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4720,7 +4851,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại trạng thái cá»§a câu lệnh cuối cùng được chạy." -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4755,7 +4886,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại trạng thái cá»§a câu lệnh cuối cùng được chạy." -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4774,7 +4905,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại trạng thái cá»§a câu lệnh cuối cùng được chạy." -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4793,7 +4924,8 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại trạng thái cá»§a câu lệnh cuối cùng được chạy." -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4803,7 +4935,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "Tạo tiến trình phụ tên TÊN.\n" "\n" @@ -4814,7 +4946,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại trạng thái thoát cá»§a câu LỆNH." -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4831,13 +4963,13 @@ msgstr "" "\n" " Tạo hàm hệ vỏ tên TÊN. Khi được gọi dưới dạng một câu lệnh đơn\n" " giản, TÊN chạy LỆNH trong ngữ cảnh cá»§a hệ vỏ gọi. Khi TÊN được\n" -" gọi, các đối số được gá»­i cho hàm dạng $1...$n, và tên hàm nằm\n" +" gọi, các đối số được gá»­i cho hàm dạng $1…$n, và tên hàm nằm\n" " trong $FUNCNAME.\n" "\n" " Trạng thái thoát:\n" " Trả lại thành công nếu TÊN không phải chỉ đọc." -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4855,7 +4987,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại trạng thái cá»§a câu lệnh cuối cùng được chạy." -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4878,7 +5010,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại trạng thái cá»§a công việc đã tiếp tục lại." -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4896,7 +5028,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại 1 nếu BTHỨC tính là 0; không thì trả lại 0." -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -4925,8 +5057,8 @@ msgid "" msgstr "" "Thá»±c thi câu lệnh có điều kiện.\n" "\n" -" Trả về trạng thái 0 hoặc 1 tuỳ vào phép tính biểu thức điều kiện\n" -" BTHỨC. Biểu thức bao gồm các thành phần dùng trong lệnh dá»±ng sẵn\n" +" Trả về trạng thái 0 hoặc 1 tùy vào phép tính biểu thức điều kiện\n" +" BTHỨC. Biểu thức bao gồm các thành phần dùng trong lệnh tích hợp\n" " “test” và có thể được tổ hợp bằng các toán tá»­ sau:\n" " \n" " ( BTHỨC )\t\tTrả về giá trị cá»§a BTHỨC\n" @@ -4945,7 +5077,7 @@ msgstr "" " Trạng thái thoát:\n" " 0 hay 1 phụ thuộc vào giá trị cá»§a BTHỨC." -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -5049,7 +5181,7 @@ msgstr "" " HISTIGNORE\tDanh sách mẫu cách bằng dấu hai chấm dùng để quyết định\n" " \tnhững câu lệnh nào nên được lưu vào danh sách lịch sá»­.\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -5059,19 +5191,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5079,31 +5211,31 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" -"Thêm thư mục vào chồng.\n" -"\n" -" Thêm thư mục vào đầu cá»§a chồng thư mục, hoặc xoay chồng, làm cho\n" -" thư mục mới đầu chồng là thư mục làm việc hiện thời. Không có đối\n" +"Thêm thư mục vào ngăn xếp.\n" +" \n" +" Thêm thư mục vào đỉnh cá»§a ngăn xếp thư mục, hoặc xoay ngăn xếp, làm cho\n" +" thư mục mới đầu ngăn xếp là thư mục làm việc hiện thời. Không có đối\n" " số thì trao đổi hai thư mục đầu.\n" -"\n" -" -n\tNgăn chuyển đổi bình thường khi thêm thư mục\n" -" \tvào chồng, để thao tác chỉ chồng.\n" -"\n" -" +N\tXoay chồng để thư mục thứ N (đếm từ trái danh sách\n" +" \n" +" -n\tNgăn chuyển đổi bình thường khi thêm thư mục\n" +" \tvào ngăn xếp, để thao tác chỉ ngăn xếp.\n" +" \n" +" +N\tXoay ngăn xếp để thư mục thứ N (đếm từ trái danh sách\n" " \t“dirs” (bắt đầu từ số không) dời lên đầu.\n" -"\n" -" -N\tXoay chồng để thư mục thứ N (đếm từ phải danh sách\n" +" \n" +" -N\tXoay ngăn xếp để thư mục thứ N (đếm từ phải danh sách\n" " \t“dirs” (bắt đầu từ số không) dời lên đầu.\n" -"\n" -" dir\tThêm THMỤC vào đầu chồng thư mục, cho nó làm thư mục\n" +" \n" +" dir\tThêm THMỤC vào đầu ngăn xếp thư mục, cho nó làm thư mục\n" " \tlàm việc hiện thời mới.\n" -"\n" -" Lệnh dá»±ng sẵn “dirs” hiển thị chồng thư mục.\n" -"\n" +" \n" +" Lệnh tích hợp “dirs” hiển thị ngăn xếp thư mục.\n" +" \n" " Trạng thái thoát:\n" " Trả lại thành công nếu không đưa ra đối số sai, cÅ©ng không sai\n" " chuyển đổi thư mục." -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5112,16 +5244,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5129,29 +5261,29 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" -"Gỡ bỏ thư mục khỏi chồng.\n" -"\n" -" Gỡ bỏ thư mục khỏi chồng thư mục. Không có đối số thì gỡ bỏ thư\n" -" mục đầu khỏi chồng và “cd” sang thư mục đầu mới.\n" -"\n" +"Gỡ bỏ thư mục khỏi ngăn xếp.\n" +" \n" +" Gỡ bỏ thư mục khỏi ngăn xếp thư mục. Không có đối số thì gỡ bỏ thư\n" +" mục đầu khỏi ngăn xếp và “cd” sang thư mục đầu mới.\n" +" \n" " -n\tNgăn chuyển đổi bình thường khi gỡ bỏ thư mục\n" -" \tkhỏi chồng, để thao tác chỉ chồng.\n" -"\n" +" \tkhỏi ngăn xếp, để thao tác chỉ ngăn xếp.\n" +" \n" " +N\tGỡ bỏ thư mục thứ N (đếm từ trái danh sách\n" " \t“dirs” (bắt đầu từ số không). Ví dụ: “popd +0” bỏ\n" " \tthư mục cuối cùng, “popd +1” bỏ thư mục thứ hai.\n" -"\n" +" \n" " -N\tGỡ bỏ thư mục thứ N (đếm từ phải danh sách\n" " \t“dirs” (bắt đầu từ số không). Ví dụ: “popd -0” bỏ\n" " \tthư mục cuối cùng, “popd -1” bỏ thư mục giáp cuối.\n" -"\n" -" Lệnh dá»±ng sẵn “dirs” hiển thị đống thư mục.\n" -"\n" +" \n" +" Lệnh tích hợp “dirs” hiển thị ngăn xếp thư mục.\n" +" \n" " Trạng thái thoát:\n" " Trả lại thành công nếu không đưa ra đối số sai, cÅ©ng không sai\n" " chuyển đổi thư mục." -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5162,35 +5294,35 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -"Hiển thị chồng thư mục.\n" +"Hiển thị ngăn xếp thư mục.\n" " \n" -" Hiển thị danh sách các thư mục được nhớ hiện thời. Lệnh “pushd”\n" -" thêm thư mục vào danh sách; lệnh “popd” lấy thư mục khỏi danh\n" -" sách.\n" +" Hiển thị danh sách các thư mục được nhớ hiện thời. Các thư mục\n" +" tìm thấy chỗ cá»§a chúng trong danh sách với lệnh “pushd”;\n" +" bạn có thể lấy bản sao dá»± phòng thông qua danh sách với lệnh “popd”.\n" " \n" " Tùy chọn:\n" -" -c\txoá mọi phần tá»­ trong chồng thư mục\n" +" -c\txóa mọi phần tá»­ trong ngăn xếp thư mục\n" " -l\tđừng in phiên bản thư mục có dấu ngã\n" " \t(tương đối so với thư mục chính cá»§a người dùng)\n" -" -p\tin chồng thư mục, mỗi dòng một mục\n" -" -v\tin chồng thư mục, mỗi dòng một mục kèm vị trí trong chồng\n" +" -p\tin ngăn xếp thư mục, mỗi dòng một mục\n" +" -v\tin ngăn xếp thư mục, mỗi dòng một mục kèm vị trí trong ngăn xếp\n" " \n" " Đối số:\n" " +N\thiển thị mục thứ N bắt đầu từ bên trái danh sách\n" @@ -5204,7 +5336,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả về thành công nếu không đưa ra tùy chọn sai hay gặp lỗi." -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5241,7 +5373,7 @@ msgstr "" " Trả lại thành công nếu TÊN_TÙY_CHỌN được bật; không thành công nếu\n" " đưa ra tùy chọn sai hay TÊN_TÙY_CHỌN bị tắt." -#: builtins.c:1908 +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5258,15 +5390,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5294,7 +5426,7 @@ msgstr "" " Ngoài đặc tả định dạng chuẩn được dùng trong printf(1) và printf(3),\n" " printf được hiểu những đặc tả sau:\n" " \n" -" %b\tbung dãy thoát gạch chéo ngược trong đối số tương ứng\n" +" %b\tkhai triển dãy thoát gạch chéo ngược trong đối số tương ứng\n" " %q\ttrích dẫn đối số theo cách dùng lại làm dữ liệu đầu vào hệ vỏ\n" " %(fmt)T\txuất chuỗi ngày tháng theo định dạng FMT từ strftime(3)\n" " \n" @@ -5307,7 +5439,7 @@ msgstr "" " Trả lại thành công trừ phi đưa ra tùy chọn sai hay gặp lỗi khi ghi\n" " hay gán." -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5320,11 +5452,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5334,27 +5466,27 @@ msgid "" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" "Chỉ định cách tá»± hoàn thiện đối số bằng Readline.\n" -"\n" +" \n" " Đối với mỗi TÊN, ghi rõ các đối số sẽ được tá»± hoàn thiện như thế nào.\n" " Không đưa ra tùy chọn thì in ra các đặc tả tá»± hoàn thiện bằng một cách\n" " cho phép dùng lại đặc tả làm dữ liệu nhập vào.\n" -"\n" +" \n" " Tùy chọn:\n" " -p\tin đặc tả tá»± hoàn thiện đã tồn tại theo định dạng dùng lại được\n" " -r\tgỡ bỏ đặc tả tá»± hoàn thiện cho mỗi TÊN,\n" " \thoặc nếu có TÊN thì gỡ bỏ tất cả các đặc tả tá»± hoàn thiện\n" " -D\táp dụng các sá»± hoàn thành và hành động làm mặc định\n" -"\t\tcho câu lệnh mà không xác định sá»± hoàn thành riêng\n" +" \tcho câu lệnh mà không xác định sá»± hoàn thành riêng\n" " -E\táp dụng các sá»± hoàn thành và hành động cho câu lệnh “trống”\n" -"\t\t(empty) -- thá»­ hoàn thành trên dòng trắng\n" -"\n" +" \t(empty) -- thá»­ hoàn thành trên dòng trắng\n" +" \n" " Khi chức năng tá»± hoàn thiện được thá»­, những hành động được làm theo thứ\n" -" tá»± cá»§a những tùy chọn chữ HOA bên trên.\n" -"\n" +" tá»± cá»§a những tùy chọn chữ HOA bên trên. Tùy chọn -D có quyền ưu tiên\n" +" hÆ¡n -E. \n" " Trạng thái thoát:\n" " Trả lại thành công nếu không đưa ra tùy chọn sai hay gặp lỗi." -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5375,7 +5507,7 @@ msgstr "" " Trạng thái thoát:\n" " Trả lại thành công nếu không đưa ra tùy chọn sai hay gặp lỗi." -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5422,7 +5554,7 @@ msgstr "" " Đối số:\n" "\n" " Mỗi TÊN tham chiếu đến một câu lệnh cho đó một đặc tả tá»± hoàn thiện\n" -" phải được xác định trước dùng dá»±ng sẵn “complete”. Nếu không đưa\n" +" phải được xác định trước dùng tích hợp “complete”. Nếu không đưa\n" " ra TÊN để áp dụng, thì “compopt” phải được gọi bởi một hàm đang\n" " tạo việc tá»± hoàn thiện, và các tùy chọn về hàm tạo việc tá»± hoàn thiện " "đang\n" @@ -5432,7 +5564,7 @@ msgstr "" " Trả lại thành công trừ phi đưa ra tùy chọn sai, hoặc TÊN có một\n" " đặc tả tá»± hoàn thiện được xác định." -#: builtins.c:2015 +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5443,20 +5575,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5473,37 +5606,38 @@ msgid "" " not an indexed array." msgstr "" "Đọc các dòng từ đầu vào tiêu chuẩn vào một biến mảng chỉ số.\n" -"\n" +" \n" " Đọc các dòng từ đầu vào tiêu chuẩn vào biến mảng MẢNG, hoặc từ bộ\n" " mô tả tập tin FD nếu đưa ra tùy chọn -u. Biến MAPFILE là MẢNG mặc\n" " định.\n" -"\n" +" \n" " Tùy chọn:\n" -" -n SỐ\tsao chép nhiều nhất SỐ dòng. Nếu SỐ là 0 thì sao chép mọi " -"dòng.\n" +" -d ngăn_cách\tDùng NGĂN_CÁCH chấm dứt dòng, thay cho ký tá»± dòng mới\n" +" -n SỐ\tsao chép nhiều nhất SỐ dòng. Nếu là 0 thì sao chép mọi dòng.\n" " -O GỐC\tbắt đầu gán cho MẢNG ở chỉ số GỐC. Chỉ số mặc định là 0.\n" " -s SỐ\tbỏ qua SỐ dòng đầu tiên được đọc.\n" -" -t\tgỡ bỏ một ký tá»± dòng mới theo sau khỏi mỗi dòng được đọc.\n" +" -t\tgỡ bỏ một ký tá»± NGĂN_CÁCH theo sau khỏi mỗi dòng được đọc\n" +" \t(mặc định là ký tá»± dòng mới).\n" " -u FD\tđọc các dòng từ bộ mô tả tập tin FD thay vào từ đầu vào tiêu " "chuẩn.\n" " -C GỌI_NGƯỢC\tđịnh giá GỌI_NGƯỢC mỗi lần đọc LƯỢNG dòng.\n" " -c LƯỢNG\tghi rõ số các dòng được đọc giữa hai lần GỌI_NGƯỢC.\n" -"\n" +" \n" " Đối số:\n" " MẢNG\ttên biến mảng cần dùng cho dữ liệu tập tin.\n" -"\n" +" \n" " Nếu đưa ra -C mà không có -c thì lượng mặc định là 5000. Khi ước\n" " lượng lời GỌI_NGƯỢC thì nó nhận chỉ số cá»§a phần tá»­ mảng kế tiếp\n" " được gán dưới dạng một đối số bổ sung.\n" -"\n" -" Không đưa ra một GỐC dứt khoát thì mapfile (tập tin sÆ¡ đồ) sẽ xoá\n" +" \n" +" Không đưa ra một GỐC rõ ràng thì mapfile (tập tin sÆ¡ đồ) sẽ xóa\n" " sạch MẢNG trước khi gán cho nó.\n" -"\n" +" \n" " Trạng thái thoát:\n" " Trả lại thành công trừ phi đưa ra tùy chọn sai và MẢNG không phải\n" " chỉ đọc hay không là một mảng chỉ số." -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5511,7 +5645,25 @@ msgid "" msgstr "" "Đọc các dòng từ một tập tin vào một biến mảng.\n" " \n" -" Giống chức năng cá»§a “mapfile”." +" Giống với “mapfile”." + +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "Tác quyền (C) năm 2014 cá»§a Tổ chức Quỹ Phần mềm Tá»± do, Inc." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "Tác quyền (C) năm 2014 cá»§a Tổ chức Quỹ Phần mềm Tá»± do, Inc." #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "Tác quyền (C) năm 2009 cá»§a Tổ chức Phần mềm Tá»± do.\n" @@ -5539,7 +5691,7 @@ msgstr "" #~ " current one; the top frame is frame 0." #~ msgstr "" #~ "; thông tin thêm này có thể được sá»­ dụng\n" -#~ "\tđể cung cấp một vết đống (stack trace).\n" +#~ "\tđể cung cấp một vết ngăn xếp (stack trace).\n" #~ "\n" #~ "\tGiá trị cá»§a BTHỨC ngụ ý bao nhiêu khung gọi cần lùi lại\n" #~ "\ttương đối với cái hiện thời; khung trên cùng là khung 0." diff --git a/po/zh_CN.gmo b/po/zh_CN.gmo index 42fb5ce5d..5eda361f2 100644 Binary files a/po/zh_CN.gmo and b/po/zh_CN.gmo differ diff --git a/po/zh_CN.po b/po/zh_CN.po index b0757a678..8b6bb9d11 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -4,85 +4,94 @@ # Xin Ye , 2010. # Aron Xu , 2011. # Anthony Fok , 2013. +# Wylmer Wang , 2014. +# Mingye Wang , 2015. # msgid "" msgstr "" -"Project-Id-Version: bash 4.3-pre2\n" +"Project-Id-Version: bash 4.4-beta1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2013-09-02 05:15+0800\n" -"Last-Translator: Anthony Fok \n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-10-26 00:32-0400\n" +"Last-Translator: Mingye Wang (Arthur2e5) \n" "Language-Team: Chinese (simplified) \n" -"Language: zh_CN\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 1.8.5\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" msgstr "数组下标不正确" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" +msgstr "" + +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" msgstr "%s: 无法将索引数组转化为关联数组" -#: arrayfunc.c:539 +#: arrayfunc.c:578 #, c-format msgid "%s: invalid associative array key" msgstr "%s: 无效的关联数组键" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" msgstr "%s: 无法为非数字的索引赋值" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" msgstr "%s: %s: 为关联数组赋值时必须使用下标" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" msgstr "%s: 无法创建: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" msgstr "bash_execute_unix_command: 无法为命令找到键映射" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" msgstr "%s: 第一个非空字符不是 `\"'" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" msgstr "%2$s 中没有闭合的 `%1$c'" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" msgstr "%s: 缺少冒号分隔符" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "大括号展开: 无法为 %s 分配内存" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" -msgstr "" +msgstr "大括号展开: 为 %d 个元素分配内存失败" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "" +msgstr "大括号展开: 为 `%s' 分配内存失败" -#: builtins/alias.def:132 +#: builtins/alias.def:133 #, c-format msgid "`%s': invalid alias name" msgstr "`%s': 无效的别名" @@ -91,45 +100,45 @@ msgstr "`%s': 无效的别名" msgid "line editing not enabled" msgstr "未启用行编辑" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" msgstr "`%s': 无效的键映射名" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s: 无法读取: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" msgstr "`%s': 无法解除绑定" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" msgstr "`%s': 未知函数名" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" msgstr "%s 未与任何键绑定。\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " msgstr "%s 可以被调用,通过" -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" msgstr "循环计数" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" -msgstr "仅在`for', `while', 或者`until' 循环中有意义" +msgstr "仅在 `for', `while', 或者`until' 循环中有意义" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -139,300 +148,329 @@ msgstr "" " \n" " 不带 EXPR 时,返回" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME 未设定" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "参数太多" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "无其他目录" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD 未设定" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " msgstr "第 %d 行:" -#: builtins/common.c:139 error.c:265 +#: builtins/common.c:140 error.c:265 #, c-format msgid "warning: " msgstr "警告:" -#: builtins/common.c:153 +#: builtins/common.c:154 #, c-format msgid "%s: usage: " msgstr "%s: 用法:" -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s: 选项需要一个参数" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" msgstr "%s: 需要数字参数" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s: 未找到" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s: 无效选项" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" msgstr "%s: 无效的选项名" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" msgstr "`%s': 不是有效的标识符" -#: builtins/common.c:238 +#: builtins/common.c:246 msgid "invalid octal number" msgstr "无效的八进制数" -#: builtins/common.c:240 +#: builtins/common.c:248 msgid "invalid hex number" msgstr "无效的十六进制数" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" msgstr "无效数字" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s: 无效的信号声明" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" msgstr "`%s': 不是有效的进程号或者任务声明" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" msgstr "%s: 只读变量" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s: %s 越界" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "参数" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s 越界" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" msgstr "%s: 无此任务" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s: 无任务控制" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "无任务控制" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" msgstr "%s: 受限的" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" msgstr "受限的" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s: 不是 shell 内建" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "写错误: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" msgstr "设定终端属性时出错: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" msgstr "获取终端属性时出错: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s: 获取当前目录时出错: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" msgstr "%s: 模糊的任务声明" -#: builtins/complete.def:277 +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "此版本内帮助不可用" + +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s: 无效的动作名" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s: 没有补全声明" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "警告: -F 选项可能不像您预期的那样工作" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "警告: -C 选项可能不像您预期的那样工作" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" -msgstr "当前未执行补完功能" +msgstr "当前未执行补全功能" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" msgstr "只能在函数中使用" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" -msgstr "" +msgstr "%s: 引用变量不能为数组" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" -msgstr "" +msgstr "%s: 不允许名称引用变量引用自身" -#: builtins/declare.def:398 +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: 循环变量名引用" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: 无效的引用变量名" + +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" msgstr "无法用 `-f' 生成函数" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" msgstr "%s: 只读函数" -#: builtins/declare.def:553 +#: builtins/declare.def:753 +#, c-format +msgid "%s: quoted compound array assignment deprecated" +msgstr "%s: 引号内的复合数组赋值已被弃用" + +#: builtins/declare.def:767 #, c-format msgid "%s: cannot destroy array variables in this way" msgstr "%s: 无法以这种方式销毁数组变量" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" msgstr "%s: 无法将关联数组转化为索引数组" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" msgstr "动态加载不可用" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" msgstr "无法打开共享对象 %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" msgstr "无法在共享对象 %2$s 中找到 %1$s: %3$s" -#: builtins/enable.def:459 +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" +msgstr "为 %s 载入函数失败 (%d): 未载入" + +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" msgstr "%s: 未以动态方式加载" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" msgstr "%s: 无法删除: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" msgstr "%s: 是一个目录" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" msgstr "%s: 不是常规文件" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" msgstr "%s: 文件太大" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" msgstr "%s: 无法执行二进制文件" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" msgstr "%s: 无法执行: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" msgstr "注销\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" msgstr "不是登录 shell: 使用 `exit'" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" msgstr "有停止的任务。\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" msgstr "有运行中的任务。\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" msgstr "未找到命令" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" msgstr "历史声明" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" msgstr "%s: 无法打开临时文件: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" msgstr "当前" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" msgstr "在不带任务控制的情况下启动了任务 %d" @@ -451,35 +489,35 @@ msgstr "%s: 选项需要一个参数 -- %c\n" msgid "hashing disabled" msgstr "已禁用哈希" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" msgstr "%s: 哈希表为空\n" -#: builtins/hash.def:245 +#: builtins/hash.def:254 #, c-format msgid "hits\tcommand\n" msgstr "命中\t命令\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" msgstr[0] "Shell 命令匹配关键字 `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" "没有与 `%s' 匹配的帮助主题。尝试 `help help' 或 `man -k %s' 或 `info %s'。" -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" msgstr "%s: 无法打开: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -498,15 +536,20 @@ msgstr "" "名称旁边的星号(*)表示该命令被禁用。\n" "\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" msgstr "最多只能使用 -anrw 选项中的一个" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" msgstr "历史位置" -#: builtins/history.def:366 +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: 无效参数" + +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" msgstr "%s: 历史扩展失败" @@ -520,113 +563,113 @@ msgstr "%s: inlib 失败" msgid "no other options allowed with `-x'" msgstr "其他选项不能与 `-x' 同时使用" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" msgstr "%s: 参数必须是进程或任务 ID" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" msgstr "未知错误" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" msgstr "需要表达式" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" msgstr "%s: 不是一个索引数组" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" msgstr "%s: 无效的文件描述符声明" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" msgstr "%d: 无效的文件描述符: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 +#: builtins/mapfile.def:289 builtins/mapfile.def:327 #, c-format msgid "%s: invalid line count" msgstr "%s: 无效的行数" -#: builtins/mapfile.def:287 +#: builtins/mapfile.def:300 #, c-format msgid "%s: invalid array origin" msgstr "%s: 无效的数组基数" -#: builtins/mapfile.def:304 +#: builtins/mapfile.def:317 #, c-format msgid "%s: invalid callback quantum" msgstr "%s: 无效的回调量子" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" msgstr "空数组变量名" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" msgstr "需要数组变量支持" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" msgstr "`%s': 缺少格式字符" -#: builtins/printf.def:456 +#: builtins/printf.def:467 #, c-format msgid "`%c': invalid time format specification" msgstr "`%c': 无效的时间格式声明" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" msgstr "`%c': 无效格式字符" -#: builtins/printf.def:684 +#: builtins/printf.def:695 #, c-format msgid "warning: %s: %s" msgstr "警告: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "格式解析问题: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" -msgstr "使用了 \\x 但缺少十六进制数" +msgstr "使用了 \\x 但缺少十六进制位" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" msgstr "使用了 \\%c 但缺少 unicode 数" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" msgstr "无其他目录" -#: builtins/pushd.def:354 -#, fuzzy, c-format +#: builtins/pushd.def:360 +#, c-format msgid "%s: invalid argument" -msgstr "%s: 无效的 limit 参数" +msgstr "%s: 无效参数" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" msgstr "<无当前目录>" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" msgstr "目录栈为空" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" msgstr "目录栈索引" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -668,7 +711,7 @@ msgstr "" " -N\t以 dirs 不带选项输出的顺序显示列表从右起第N个项目,\n" "\t从 0 开始。" -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -714,7 +757,7 @@ msgstr "" " \n" " `dirs' 内建命令显示目录栈." -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -752,143 +795,153 @@ msgstr "" " \n" " `dirs' 内建变量显示目录栈。" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" msgstr "%s: 无效的超时声明" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" msgstr "读错误: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" msgstr "只能从函数或者源脚本返回(`return')" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" msgstr "无法同时取消设定一个函数和一个变量" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" msgstr "%s: 无法取消设定" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" msgstr "%s: 无法取消设定: 只读 %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" msgstr "%s: 不是数组变量" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" msgstr "%s: 不是函数" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/setattr.def:196 +#, c-format +msgid "%s: cannot export" +msgstr "%s: 无法导出" + +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" msgstr "位移计数" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" msgstr "无法同时设定和取消设定 shell 选项" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" msgstr "%s: 无效的 shell 选项名" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" msgstr "需要文件名参数" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" msgstr "%s: 文件未找到" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" msgstr "无法挂起" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" msgstr "无法挂起一个登录 shell" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" msgstr "%s 是 `%s' 的别名\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" msgstr "%s 是 shell 关键字\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" msgstr "%s 是函数\n" -#: builtins/type.def:296 +#: builtins/type.def:300 +#, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s 是特殊 shell 内建\n" + +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" msgstr "%s 是 shell 内建\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" msgstr "%s 是 %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" -msgstr "%s 已经哈希操作(%s)\n" +msgstr "%s 已被录入哈希表 (%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" msgstr "%s: 无效的 limit 参数" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" msgstr "`%c': 命令错误" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" msgstr "%s: 无法获取 limit 值: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" msgstr "limit" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" msgstr "%s: 无法修改 limit 值: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" msgstr "八进制数" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" msgstr "`%c': 无效的符号状态运算符" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" msgstr "`%c': 无效的符号状态字符" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " msgstr "行" @@ -902,82 +955,103 @@ msgstr "上一个命令: %s\n" msgid "Aborting..." msgstr "中止..." -#: error.c:440 +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " +msgstr "" + +#: error.c:463 msgid "unknown command error" msgstr "未知的命令错误" -#: error.c:441 +#: error.c:464 msgid "bad command type" msgstr "错误的命令类型" -#: error.c:442 +#: error.c:465 msgid "bad connector" msgstr "错误的条件连接符" -#: error.c:443 +#: error.c:466 msgid "bad jump" msgstr "错误的跳转" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" msgstr "%s: 未绑定的变量" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" msgstr "\a 等待输入超时:自动注销\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" msgstr "无法从 /dev/null 重定向标准输入: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" msgstr "时间格式: `%c': 无效的格式字符" -#: execute_cmd.c:2287 +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" +msgstr "" + +#: execute_cmd.c:2377 msgid "pipe error" msgstr "管道错误" -#: execute_cmd.c:4386 +#: execute_cmd.c:4496 +#, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "eval: 超出最大 eval 嵌套层数 (%d)" + +#: execute_cmd.c:4508 +#, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: 超出最大 source 嵌套层数 (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" -msgstr "" +msgstr "%s: 超出最大函数嵌套层数 (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" msgstr "%s: 受限的: 无法在命令名中使用 `/'" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s: 未找到命令" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" msgstr "%s: %s: 解释器错误" -#: execute_cmd.c:5280 -#, fuzzy, c-format +#: execute_cmd.c:5545 +#, c-format msgid "%s: cannot execute binary file: %s" -msgstr "%s: 无法执行二进制文件" +msgstr "%s: 无法执行二进制文件: %s" -#: execute_cmd.c:5352 -#, fuzzy, c-format +#: execute_cmd.c:5623 +#, c-format msgid "`%s': is a special builtin" -msgstr "%s 是 shell 内建\n" +msgstr "`%s': 特殊内建" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" msgstr "无法复制文件描述符 %d 到文件描述符 %d" @@ -1000,7 +1074,7 @@ msgstr "尝试给非变量赋值" #: expr.c:495 expr.c:858 msgid "division by 0" -msgstr "除0" +msgstr "除以 0" #: expr.c:542 msgid "bug: bad expassign token" @@ -1012,7 +1086,7 @@ msgstr "条件表达式需要 `:'" #: expr.c:919 msgid "exponent less than 0" -msgstr "指数小于0" +msgstr "指数小于 0" #: expr.c:976 msgid "identifier expected after pre-increment or pre-decrement" @@ -1022,37 +1096,37 @@ msgstr "预增符或预减符后应跟有标识符" msgid "missing `)'" msgstr "缺少 `)'" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" msgstr "语法错误: 需要操作数" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" msgstr "语法错误: 无效的算术运算符" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" msgstr "%s%s%s: %s (错误符号是 \"%s\")" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" -msgstr "无效的算数进制" +msgstr "无效的算术进制" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" -msgstr "数值太大不可为算数进制的基" +msgstr "数值太大不可为算术进制的基" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" msgstr "%s: 表达式错误\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" msgstr "getcwd: 无法访问父目录" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" msgstr "无法为文件描述符 %d 重置nodelay模式" @@ -1067,148 +1141,148 @@ msgstr "无法从文件描述符 %d 为 bash 的输入获取一个新的文件 msgid "save_bash_input: buffer already exists for new fd %d" msgstr "save_bash_input: 已经存在新的文件描述符 %d 的缓冲区" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" msgstr "start_pipeline: 进程组管道" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" -msgstr "生成的进程号 %d 显示为运行中的任务 %d" +msgstr "叉分 (fork) 出的的进程号 %d 出现在运行中的任务 %d 中" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" msgstr "删除进程组 %2$ld 中已停止的任务 %1$d" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" msgstr "add_process: 进程 %5ld(%s) 进入 the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" msgstr "add_process: 进程号 %5ld(%s) 标注为仍活着" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" msgstr "describe_pid: %ld: 无此进程号" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" msgstr "信号 %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" msgstr "已完成" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" msgstr "已停止" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" msgstr "已停止(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" msgstr "运行中" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" msgstr "已完成(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" msgstr "退出 %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" msgstr "未知状态" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " msgstr "(核心已转储)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" msgstr " (工作目录: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" msgstr "子进程 setpgid (%ld 到 %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" msgstr "wait: 进程号 %ld 不是当前 shell 的子进程" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" msgstr "wiat_for: 没有进程 %ld 的记录" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" msgstr "wait_for_job: 任务 %d 已停止" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" msgstr "%s: 任务已经终止" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" msgstr "%s: 任务 %d 已在后台" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" msgstr "waitchld: 打开 WNOHANG 以避免无限阻塞" -#: jobs.c:3711 +#: jobs.c:3970 #, c-format msgid "%s: line %d: " msgstr "%s: 行 %d: " -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" msgstr " (核心已转储)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" msgstr "(当前工作目录:%s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" msgstr "initialize_job_control: getpgrp 失败" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" msgstr "initialize_job_control: 行规则" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" msgstr "无法设定终端进程组(%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" msgstr "æ­¤ shell 中无任务控制" @@ -1262,17 +1336,17 @@ msgstr "realloc: 检测到下溢;mh_nbytes 越界" msgid "realloc: start and end chunk sizes differ" msgstr "realloc: 其实和末尾块大小不一致" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" msgstr "register_alloc: 分配表已经充满了 FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" msgstr "register_alloc: %p 在表中显示为已分配?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" msgstr "register_free: %p 在表中显示为已释放?\n" @@ -1296,7 +1370,7 @@ msgstr "%s: 无效的服务" msgid "%s: bad network path specification" msgstr "%s: 错误的网络路径声明" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "不支持网络操作" @@ -1333,224 +1407,259 @@ msgstr "您在 $_ 中有新邮件" msgid "The mail in %s has been read\n" msgstr "%s 中的邮件已被阅读\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" -msgstr "语法错误: 需要算数表达式" +msgstr "语法错误: 需要算术表达式" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" msgstr "语法错误: 需要 `;'" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" msgstr "语法错误: `((%s))'" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" msgstr "make_here_document: 错误的指令类型 %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" msgstr "立即文档在第 %d 行被文件结束符分隔 (需要 `%s')" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" msgstr "make_redirection: 重定向指令 `%d' 越界" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 +#, c-format +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" +msgstr "" + +#: parse.y:2700 +msgid "maximum here-document count exceeded" +msgstr "超出最大立即文档数量" + +#: parse.y:3390 parse.y:3748 #, c-format msgid "unexpected EOF while looking for matching `%c'" msgstr "寻找匹配的 `%c' 是遇到了未预期的文件结束符" -#: parse.y:4170 +#: parse.y:4410 msgid "unexpected EOF while looking for `]]'" msgstr "寻找 `]]' 是遇到了未预期的文件结束符" -#: parse.y:4175 +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" msgstr "条件表达式中有语法错误: 未预期的符号 `%s'" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" msgstr "条件表达式中有语法错误" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" msgstr "未预期的符号 `%s' ,需要 `)'" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" msgstr "需要 `)'" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" msgstr "一元条件运算符使用了未预期的参数 `%s'" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" msgstr "一元条件运算符使用了未预期的参数" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" msgstr "未预期的符号 `%s',需要二元条件运算符" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" msgstr "需要二元条件运算符" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" msgstr "二元条件运算符使用了未预期的参数 `%s'" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" msgstr "二元条件运算符使用了未预期的参数" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" msgstr "条件命令中有未预期的符号 `%c'" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" msgstr "条件命令中有未预期的符号 `%s'" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" msgstr "条件命令中有未预期的符号 %d" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" msgstr "未预期的符号 `%s' 附近有语法错误" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" msgstr "`%s' 附近有语法错误" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" msgstr "语法错误: 未预期的文件结尾" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "语法错误" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" msgstr "使用 \"%s\" 退出 shell 。\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" msgstr "寻找匹配的 `)' 时遇到了未预期的文件结束符" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" -msgstr "补完: 未找到函数 `%s'" +msgstr "补全: 未找到函数 `%s'" + +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" +msgstr "" #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" -msgstr "progcomp_insert: %s: 空的补完声明" +msgstr "progcomp_insert: %s: 空的补全声明" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" msgstr "print_command: 错误的条件连接符 `%d'" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" msgstr "xtrace_set: %d: 无效的文件描述符" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" msgstr "xtrace_set: 空的文件指针" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" msgstr "cprintf: `%c': 无效的格式字符" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" msgstr "文件描述符超出范围" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" msgstr "%s: 模糊的重定向" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" msgstr "%s: 无法覆盖已存在的文件" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" msgstr "%s: 受限的: 无法重定向输出" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" msgstr "无法为立即文档创建临时文件: %s" -#: redir.c:195 +#: redir.c:196 #, c-format msgid "%s: cannot assign fd to variable" msgstr "%s: 无法将文件描述符赋值给变量" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" msgstr "没有网络时不支持 /dev/(tcp|udp)/host/port" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" msgstr "重定向错误: 无法复制文件描述符" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" msgstr "无法找到 /tmp ,请创建" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" msgstr "/tmp 必须为有效的目录名" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c: 无效的选项" -#: shell.c:1682 +#: shell.c:1282 +#, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "无法将 uid 设为 %d: 有效 uid %d" + +#: shell.c:1289 +#, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "无法将 gid 设为 %d: 有效 gid %d" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, c-format +msgid "%s: Is a directory" +msgstr "%s: 是一个目录" + +#: shell.c:1777 msgid "I have no name!" msgstr "没有名字!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" msgstr "GNU bash,版本 %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" @@ -1559,40 +1668,49 @@ msgstr "" "用法:\t%s [GNU 长选项] [选项] ...\n" "\t%s [GNU 长选项] [选项] 脚本文件 ...\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" -msgstr "GNU 常选项:\n" +msgstr "GNU 长选项:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Shell 选项:\n" -#: shell.c:1835 -#, fuzzy +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -msgstr "\t-irsD 或 -c 命令 或 -O shopt选项\t\t(仅适合调用)\n" +msgstr "\t-irsD 或 -c <命令> 或 -O \t\t(仅适合调用)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" -msgstr "\t-%s 或 -o 选项\n" +msgstr "\t-%s 或 -o <选项>\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" msgstr "请输入`%s -c \"help set\"' 以获得关于 shell 选项的更多信息\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" msgstr "请输入 `%s -c help' 以获得关于 shell 内建命令的更多信息.\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" msgstr "请使用`bashbug' 命令来报告错误.\n" -#: sig.c:691 +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "bash 首页:\n" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "使用 GNU 软件的通用帮助:\n" + +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d: 无效的操作" @@ -1701,10 +1819,10 @@ msgstr "文件限制" msgid "Alarm (virtual)" msgstr "报警(虚拟)" +# Personally I treat this as something coming from alarm() by a profiler. #: siglist.c:163 -#, fuzzy msgid "Alarm (profile)" -msgstr "报警(总结)" +msgstr "报警(分析)" #: siglist.c:167 msgid "Window changed" @@ -1767,88 +1885,103 @@ msgstr "未知信号 #" msgid "Unknown Signal #%d" msgstr "未知信号 #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" msgstr "错误的替换: 在 %2$s 中没有闭合的 `%1$s'" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" msgstr "%s: 无法将链表赋值给数组成员" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" msgstr "无法为进程替换创建管道" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" msgstr "无法为进程替换创建子进程" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" -msgstr "无法打开命名管道 %s 进行读取" +msgstr "无法打开命名管道 %s 进readline-" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" msgstr "无法打开命名管道 %s 进行写入" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" msgstr "无法将命名管道 %s 作为文件描述符 %d 复制" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "错误的替换: 在 %s 中没有闭合的 \"`\"" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" msgstr "无法为命令替换创建管道" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" msgstr "无法为命令替换创建子进程" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" -msgstr "command_substitute: 无法将管道复制为文件描述符1" +msgstr "command_substitute: 无法将管道复制为文件描述符 1" -#: subst.c:5837 subst.c:8050 -#, fuzzy, c-format +#: subst.c:6580 subst.c:8939 +#, c-format msgid "%s: invalid variable name for name reference" -msgstr "%s: %s: 追踪文件描述符的值无效" +msgstr "%s: 无效的引用变量名" + +#: subst.c:6666 subst.c:8351 subst.c:8371 +#, c-format +msgid "%s: bad substitution" +msgstr "%s: 错误的替换" -#: subst.c:6048 +#: subst.c:6800 +#, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: 无效的间接展开" + +#: subst.c:6807 +#, c-format +msgid "%s: invalid variable name" +msgstr "%s: 无效的变量名" + +#: subst.c:6854 #, c-format msgid "%s: parameter null or not set" msgstr "%s: 参数为空或未设置" -#: subst.c:6320 subst.c:6335 +#: subst.c:7089 subst.c:7104 #, c-format msgid "%s: substring expression < 0" msgstr "%s: 子串表达式 < 0" -#: subst.c:7506 -#, c-format -msgid "%s: bad substitution" -msgstr "%s: 错误的替换" - -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" msgstr "$%s: 无法这样赋值" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" -msgstr "未来版本的 shell 会强制估值为算数替换" +msgstr "未来版本的 shell 会强制估值为算术替换" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" msgstr "错误的替换: 在 %s 中没有闭合的 \"`\"" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" msgstr "无匹配: %s" @@ -1862,123 +1995,123 @@ msgstr "需要参数" msgid "%s: integer expression expected" msgstr "%s: 需要整数表达式" -#: test.c:264 +#: test.c:265 msgid "`)' expected" msgstr "需要 `)'" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" msgstr "需要`)',得到 %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" msgstr "%s: 需要一元表达式" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" msgstr "%s: 需要二元表达式" -#: test.c:860 +#: test.c:869 msgid "missing `]'" msgstr "缺少 `]'" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" msgstr "无效的信号数" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" msgstr "run_pending_traps: trap_list[%d] 中的错误值: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" msgstr "run_pending_traps: 信号处理器是 SIG_DFL,重新发送 %d (%s) 给自己" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" msgstr "trap_handler: 错误的信号 %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" msgstr "`%s' 函数定义导入错误" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" msgstr "shell 层次 (%d) 太高,重置为 1" -#: variables.c:1865 -#, fuzzy, c-format -msgid "%s: circular name reference" -msgstr "%s: %s: 追踪文件描述符的值无效" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" msgstr "make_local_variable: 当前作用域中没有函数上下文" -#: variables.c:2247 -#, fuzzy, c-format +#: variables.c:2432 +#, c-format msgid "%s: variable may not be assigned value" -msgstr "%s: 无法将文件描述符赋值给变量" +msgstr "%s: 变量不可赋值" + +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: 无效的引用变量名" -#: variables.c:3646 +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" msgstr "all_local_variables: 当前作用域中没有函数上下文" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" msgstr "%s 有空的 exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" msgstr "%2$s 的 exportstr 中有无效的字符 %1$d" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" msgstr "%s 的 exportstr 中没有 `='" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" msgstr "pop_var_context: shell_variables 的头部不是函数上下文" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" msgstr "pop_var_context: 没有 global_variables 上下文" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" msgstr "pop_scope: shell_variables 的头部不是临时环境作用域" -#: variables.c:5257 +#: variables.c:5619 #, c-format msgid "%s: %s: cannot open as FILE" msgstr "%s: %s: 无法作为文件打开" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" msgstr "%s: %s: 追踪文件描述符的值无效" -#: variables.c:5307 -#, fuzzy, c-format +#: variables.c:5669 +#, c-format msgid "%s: %s: compatibility value out of range" -msgstr "%s: %s 越界" +msgstr "%s: %s: 兼容版本数值越界" -#: version.c:46 +#: version.c:46 version2.c:46 #, fuzzy -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "版权所有 (C) 2011 自由软件基金会" +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "版权所有 (C) 2015 自由软件基金会." #: version.c:47 version2.c:47 msgid "" @@ -1994,24 +2127,17 @@ msgid "GNU bash, version %s (%s)\n" msgstr "GNU bash,版本 %s (%s)\n" #: version.c:91 version2.c:91 -#, fuzzy msgid "This is free software; you are free to change and redistribute it." -msgstr "本软件是自由软件,您可以自由地更改和重新发布。\n" +msgstr "本软件是自由软件,您可以自由地更改和重新发布。" #: version.c:92 version2.c:92 -#, fuzzy msgid "There is NO WARRANTY, to the extent permitted by law." -msgstr "在法律许可的情况下特此明示,本软件不提供任何担保。\n" - -#: version2.c:46 -#, fuzzy -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "版权所有 (C) 2011 自由软件基金会" +msgstr "在法律许可的情况下特此明示,本软件不提供任何担保。" #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "%s: 无法分配 %lu 字节(已分配 %lu 字节)" +msgstr "%s: 无法分配 %lu 字节 (已分配 %lu 字节)" #: xmalloc.c:93 #, c-format @@ -2021,137 +2147,122 @@ msgstr "%s: 无法分配 %lu 字节" #: xmalloc.c:163 #, c-format msgid "%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "%s: %s:%d: 无法分配 %lu 字节(已分配 %lu 字节)" +msgstr "%s: %s:%d: 无法分配 %lu 字节 (已分配 %lu 字节)" #: xmalloc.c:165 #, c-format msgid "%s: %s:%d: cannot allocate %lu bytes" msgstr "%s: %s:%d: 无法分配 %lu 字节" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" msgstr "alias [-p] [名称[=值] ... ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" msgstr "unalias [-a] 名称 [名称 ...]" -#: builtins.c:51 -#, fuzzy +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" -"bind [-lpvsPVS] [-m 键映射] [-f 文件名] [-q 名称] [-u 名称] [-r 键序列] [-x " -"键序列:shell命令] [键序列:行读取函数 或 行读取命令]" +"bind [-lpvsPSVX] [-m 键映射] [-f 文件名] [-q 名称] [-u 名称] [-r 键序列] [-x " +"键序列:shell-命令] [键序列:readline-函数 或 readline-命令]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" msgstr "builtin [shell 内建 [参数 ...]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" msgstr "caller [表达式]" -#: builtins.c:64 -#, fuzzy +#: builtins.c:66 msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "cd [-L|[-P [-e]]] [目录]" +msgstr "cd [-L|[-P [-e]] [-@]] [目录]" -#: builtins.c:66 +#: builtins.c:68 msgid "pwd [-LP]" msgstr "pwd [-LP]" -#: builtins.c:68 -msgid ":" -msgstr ":" - -#: builtins.c:70 -msgid "true" -msgstr "true" - -#: builtins.c:72 -msgid "false" -msgstr "false" - -#: builtins.c:74 +#: builtins.c:76 msgid "command [-pVv] command [arg ...]" msgstr "command [-pVv] 命令 [参数 ...]" -#: builtins.c:76 -#, fuzzy -msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "declare [-aAfFgilrtux] [-p] [名称[=值] ...]" - #: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "typeset [-aAfFgilrtux] [-p] 名称[=值] ..." +msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [名称[=值] ...]" #: builtins.c:80 +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilnrtux] [-p] 名称[=值] ..." + +#: builtins.c:82 msgid "local [option] name[=value] ..." msgstr "local [option] 名称[=值] ..." -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" msgstr "echo [-neE] [参数 ...]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" msgstr "echo [-n] [参数 ...]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" msgstr "enable [-a] [-dnps] [-f 文件名] [名称 ...]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" msgstr "eval [参数 ...]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" msgstr "getopts 选项字符串 名称 [参数]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" msgstr "exec [-cl] [-a 名称] [命令 [参数 ...]] [重定向 ...]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" msgstr "fc [-e 编辑器名] [-lnr] [起始] [终结] 或 fc -s [模式=替换串] [命令]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" msgstr "fg [任务声明]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" msgstr "bg [任务声明 ...]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" msgstr "hash [-lr] [-p 路径名] [-dt] [名称 ...]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" msgstr "help [-dms] [模式 ...]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" @@ -2159,15 +2270,16 @@ msgstr "" "history [-c] [-d 偏移量] [n] 或 history -anrw [文件名] 或 history -ps 参数 " "[参数...]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" msgstr "jobs [-lnprs] [任务声明 ...] 或 jobs -x 命令 [参数]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" msgstr "disown [-h] [-ar] [任务声明 ...]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" @@ -2175,11 +2287,11 @@ msgstr "" "kill [-s 信号声明 | -n 信号编号 | -信号声明] 进程号 | 任务声明 ... 或 kill -" "l [信号声明]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" msgstr "let 参数 [参数 ...]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" @@ -2187,165 +2299,157 @@ msgstr "" "read [-ers] [-a 数组] [-d 分隔符] [-i 缓冲区文字] [-n 读取字符数] [-N 读取字" "符数] [-p 提示符] [-t 超时] [-u 文件描述符] [名称 ...]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" msgstr "set [--abefhkmnptuvxBCHP] [-o 选项名] [--] [参数 ...]" -#: builtins.c:142 -#, fuzzy +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "unset [-f] [-v] [名称 ...]" +msgstr "unset [-f] [-v] [-n] [名称 ...]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" msgstr "export [-fn] [名称[=值] ...] 或 export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" msgstr "readonly [-aAf] [名称[=值] ...] 或 readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" msgstr "source 文件名 [参数]" -#: builtins.c:152 +#: builtins.c:154 msgid ". filename [arguments]" msgstr ". 文件名 [参数]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" msgstr "suspend [-f]" -#: builtins.c:158 +#: builtins.c:160 msgid "test [expr]" msgstr "test [表达式]" -#: builtins.c:160 +#: builtins.c:162 msgid "[ arg... ]" msgstr "[ 参数... ]" -#: builtins.c:162 -msgid "times" -msgstr "times" - -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" msgstr "trap [-lp] [[参数] 信号声明 ...]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" msgstr "type [-afptP] 名称 [名称 ...]" -#: builtins.c:169 -#, fuzzy -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "ulimit [-SHacdefilmnpqrstuvx] [限制]" +#: builtins.c:171 +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [限制]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" msgstr "umask [-p] [-S] [模式]" -#: builtins.c:175 -#, fuzzy +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "wait [编号]" +msgstr "wait [-n] [编号 ...]" -#: builtins.c:179 -#, fuzzy +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "wait [进程号]" +msgstr "wait [进程号 ...]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" msgstr "for 名称 [in 词语 ... ] ; do 命令; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" msgstr "for (( 表达式1; 表达式2; 表达式3 )); do 命令; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" msgstr "select NAME [in 词语 ... ;] do 命令; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" msgstr "time [-p] 管道" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" msgstr "case 词 in [模式 [| 模式]...) 命令 ;;]... esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" msgstr "if 命令; then 命令; [ elif 命令; then 命令; ]... [ else 命令; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" msgstr "while 命令; do 命令; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" msgstr "until 命令; do 命令; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" msgstr "coproc [名称] 命令 [重定向]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" msgstr "function 名称 { 命令 ; } 或 name () { 命令 ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" msgstr "{ 命令 ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" msgstr "(( 表达式 ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" msgstr "[[ 表达式 ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" msgstr "variables - 一些 shell 变量的名称和含义" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" msgstr "pushd [-n] [+N | -N | 目录]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" msgstr "shopt [-pqsu] [-o] [选项名 ...]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" msgstr "printf [-v var] 格式 [参数]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " @@ -2354,27 +2458,27 @@ msgstr "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o 选项] [-A 动作] [-G 全局模式] [-W 词" "语列表] [-F 函数] [-C 命令] [-X 过滤模式] [-P 前缀] [-S 后缀] [名称 ...]" -#: builtins.c:233 +#: builtins.c:235 msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" "compgen [-abcdefgjksuv] [-o 选项] [-A 动作] [-G 全局模式] [-W 词语列表] [-" "F 函数] [-C 命令] [-X 过滤模式] [-P 前缀] [-S 后缀] [词语]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" msgstr "compopt [-o|+o 选项] [-DE] [名称 ...]" -#: builtins.c:240 +#: builtins.c:242 msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" -"mapfile [-n 计数] [-O 起始序号] [-s 计数] [-t] [-u fd] [-C 回调] [-c 量子] " -"[数组]" +"mapfile [-d 分隔符] [-n 计数] [-O 起始序号] [-s 计数] [-t] [-u fd] [-C 回调] " +"[-c 量子] [数组]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" @@ -2382,7 +2486,7 @@ msgstr "" "readarray [-n 计数] [-O 起始序号] [-s 计数] [-t] [-u fd] [-C 回调] [-c 量子] " "[数组]" -#: builtins.c:254 +#: builtins.c:256 msgid "" "Define or display aliases.\n" " \n" @@ -2394,7 +2498,7 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " @@ -2407,8 +2511,7 @@ msgstr "" " `alias 名称=值'在标准输出设备上打印别名列表。\n" " \n" " 否则,对于每个给定值的名称定义一个别名。\n" -" 值末尾的空格会使下一个词被检测\n" -" 作为别名替换展开。\n" +" 值末尾的空格会使下一个词被检测作为别名替换展开。\n" " \n" " 选项:\n" " -p\t以可重用的格式打印所有的已定义的别名\n" @@ -2417,12 +2520,12 @@ msgstr "" " 除非一个没有定义的名字被作为参数提供,否则 alias \n" " 返回值为真。" -#: builtins.c:276 +#: builtins.c:278 msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" @@ -2433,8 +2536,7 @@ msgstr "" " \n" " 返回成功,除非“名字“不是一个已存在的别名。" -#: builtins.c:289 -#, fuzzy +#: builtins.c:291 msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2468,45 +2570,44 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" -"设定行读取键绑定和变量。\n" +"设定 Readline 键绑定和变量。\n" " \n" -" 绑定一个键序列到一个行读取函数或者宏,或者设定一个\n" -" 行读取变量。非选项参数的语法和 ~/.inputrc 文件中的等\n" +" 绑定一个键序列到一个 Readline 函数或者宏,或者设定一个\n" +" Readline 变量。非选项参数的语法和 ~/.inputrc 文件中的等\n" " 同,但是必须作为一个参数被传递,\n" " 例如,bind '\"\\C-x\\C-r\": re-read-init-file'.\n" " \n" " 选项:\n" -" -m 键映射 在此命令执行过程中使用指定的键映射。\n" -" 可以被接受的键映射名字有 emacs、\n" -" emacs-standard、emacs-meta、emacs-ctlx、vi、\n" -" vi-move、vi-command、和 vi-insert。\n" -" -l 列出函数名称。\n" -" -P 列出函数名称和绑定。\n" -" -p 以可以重新用作输入的格式列出函数名称和\n" -" 绑定。\n" -" -S 列出可以启动宏的键序列以及它们的值\n" -" -s 以可以重新用作输入的格式列出可以启动宏\n" -" 的键以及它们的值。\n" -" -V 列出变量名成和它们的值\n" -" -v 以可以重新用作输入的格式列出变量的名称\n" -" 和它们的值\n" -" -q 函数名 查询指定的函数可以由哪些键启动。\n" -" -u 函数名 反绑定所有绑定至指定函数的键。\n" -" -r 键序列 取消指定键序列的绑定。\n" -" -f 文件名 从指定文件中读取键绑定。\n" -" -x 键序列:shell命令\t当指定的键序列被输入时,执行\n" -" \t\t\t\t指定的shell命令\n" +" -m 键映射 在此命令执行过程中使用指定的键映射。\n" +" 可被接受的键映射名字有 emacs、emacs-standard、emacs-" +"meta、\n" +" emacs-ctlx、vi、vi-move、vi-command、和 vi-insert。\n" +" -l 列出函数名称。\n" +" -P 列出函数名称和绑定。\n" +" -p 以可以重新用作输入的格式列出函数名称和绑定。\n" +" -S 列出可以启动宏的键序列以及它们的值\n" +" -s 以可以重新用作输入的格式列出可以启动宏的键以及它们的" +"值。\n" +" -V 列出变量名成和它们的值\n" +" -v 以可以重新用作输入的格式列出变量的名称和它们的值\n" +" -q 函数名 查询指定的函数可以由哪些键启动。\n" +" -u 函数名 反绑定所有绑定至指定函数的键。\n" +" -r 键序列 取消指定键序列的绑定。\n" +" -f 文件名 从指定文件中读取键绑定。\n" +" -x 键序列:shell命令\t当指定的键序列被输入时,执行指定的 shell 命令。\n" +" -X 以可被重用的形式列出用 -x 绑定的键序列和命令。\n" " \n" " 退出状态:\n" " 除非使用了无法辨认的选项或者错误发生,否则返回0." -#: builtins.c:328 +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2516,7 +2617,7 @@ msgid "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -"退出 for、while、或 until 循环\n" +"退出 for、while 或 until 循环\n" " \n" " 退出一个 FOR、WHILE 或 UNTIL 循环。如果指定了N,则跳出N重\n" " 循环\n" @@ -2524,7 +2625,7 @@ msgstr "" " 退出状态:\n" " 退出状态为0除非 N 不大于或等于 1。" -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2534,7 +2635,7 @@ msgid "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" -"ç»§ç»­ for、while、或 until 循环。\n" +"ç»§ç»­ for、while 或 until 循环。\n" " \n" " 继续当前 FOR、WHILE 或 UNTIL 循环的下一步。\n" " 如果指定了 N, 则继续当前的第 N 重循环。\n" @@ -2542,7 +2643,7 @@ msgstr "" " 退出状态:\n" " 退出状态为 0 除非 N 不大于或等于1。" -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2566,7 +2667,7 @@ msgstr "" "shell 内建时\n" " 为假。." -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2594,8 +2695,7 @@ msgstr "" " 除非 shell 不在执行一个 shell 函数或者 EXPR 无效,否则返回结\n" " 果为0。" -#: builtins.c:385 -#, fuzzy +#: builtins.c:387 msgid "" "Change the shell working directory.\n" " \n" @@ -2618,16 +2718,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2644,33 +2744,38 @@ msgstr "" " 改变当前目录至 DIR 目录。默认的 DIR 目录是 shell 变量 HOME\n" " 的值。\n" " \n" -" 变量 CDPATH 定义了含有 DIR 的目录的搜索路径。\n" -" CDPATH 变量中不同的目录名称由分号(:)分隔。\n" -" 一个空的目录名称和当前目录是一样的。如果 DIR 变量由\n" -" 斜杠(/) 打头,则 CDPATH 变量不会被使用。\n" +" 变量 CDPATH 定义了含有 DIR 的目录的搜索路径,其中不同的目录名称由冒号 (:)" +"分隔。\n" +" 一个空的目录名称表示当前目录。如果要切换到的 DIR 由斜杠 (/) 开头,则 " +"CDPATH\n" +" 变量不会被使用。\n" " \n" -" 如果路径找不到,并且 shell 选项`cdable_vars' 被设定,\n" -" 则参数词被假定为一个变量名。如果该变量有值,则它的值\n" -" 被当作 DIR 目录。\n" +" 如果路径找不到,并且 shell 选项 `cdable_vars' 被设定,则参数词被假定为一" +"个\n" +" 变量名。如果该变量有值,则它的值被当作 DIR 目录。\n" " \n" " 选项:\n" -" -L\t强制跟随符号链接。\n" -" -P\t使用物理目录结构而不跟随符号链接\n" -" -e\t如果使用了 -P 参数,但不能成功确定当前工作目录时,\n" -" \t返回非零的返回值。 \n" +" -L\t强制跟随符号链接: 在处理 `..' 之后解析 DIR 中的符号链接。\n" +" -P\t使用物理目录结构而不跟随符号链接: 在处理 `..' 之前解析 DIR 中的符" +"号链接。\n" +" -e\t如果使用了 -P 参数,但不能成功确定当前工作目录时,返回非零的返回" +"值。\n" +" -@\t在支持拓展属性的系统上,将一个有这些属性的文件当作有文件属性的目" +"录。\n" " \n" " 默认情况下跟随符号链接,如同指定 `-L'。\n" +" `..' 使用移除向前相邻目录名成员直到 DIR 开始或一个斜杠的方式处理。\n" " \n" " 退出状态:\n" -" 如果目录改变,或在使用 -P 选项时 $PWD 修改成功时返回0,否则非零。" +" 如果目录改变,或在使用 -P 选项时 $PWD 修改成功时返回 0,否则非零。" -#: builtins.c:422 +#: builtins.c:425 msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2682,17 +2787,15 @@ msgstr "" "打印当前工作目录的名字。\n" " \n" " 选项:\n" -" -L\t打印 $PWD 变量的值,如果它命名了当前的\n" -" \t工作目录\n" +" -L\t打印 $PWD 变量的值,如果它包含了当前的工作目录\n" " -P\t打印当前的物理路径,不带有任何的符号链接\n" " \n" " 默认情况下,`pwd' 的行为和带 `-L' 选项一致\n" " \n" " 退出状态:\n" -" 除非使用了无效选项或者当前目录不可读,否则\n" -" 返回状态为0。" +" 除非使用了无效选项或者当前目录不可读,否则返回状态为0。" -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2708,7 +2811,7 @@ msgstr "" " 退出状态:\n" " 总是成功。" -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" @@ -2720,7 +2823,7 @@ msgstr "" " 退出状态:\n" " 总是成功" -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" @@ -2732,7 +2835,7 @@ msgstr "" " 退出状态:\n" " 总是失败。" -#: builtins.c:468 +#: builtins.c:471 msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2742,10 +2845,10 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." @@ -2757,16 +2860,14 @@ msgstr "" " 情况下被用于启动磁盘上的命令。\n" " \n" " 选项:\n" -" -p\t使用 PATH 变量的一个默认值以确保所有的标准工具\n" -" \t都能被找到。\n" +" -p\t使用 PATH 变量的一个默认值以确保所有的标准工具都能被找到。\n" " -v\t打印 COMMAND 命令的描述,和 `type' 内建相似\n" " -V\t打印每个 COMMAND 命令的详细描述\n" " \n" " 退出状态\n" " 返回 COMMAND 命令的返回状态,或者当找不到 COMMAND 命令时失败。" -#: builtins.c:487 -#, fuzzy +#: builtins.c:490 msgid "" "Set variable values and attributes.\n" " \n" @@ -2776,9 +2877,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2811,16 +2912,17 @@ msgstr "" " 则显示所有变量的属性和值。\n" " \n" " 选项:\n" -" -f\t限制动作或显示函数名称和定义\n" -" -F\t限制仅显示函数名称(以及行号和调试时\n" -" \t源文件名)\n" +" -f\t限制动作或显示为只函数名称和定义\n" +" -F\t限制仅显示函数名称 (以及行号和源文件名,当调试时)\n" +" -g\t当用于 shell 函数内时创建全局变量; 否则忽略\n" " -p\t显示每个 NAME 变量的属性和值\n" " \n" " 设定属性的选项:\n" -" -a\t使 NAME 成为下标数组(如果支持)\n" +" -a\t使 NAME 成为下标数组 (如果支持)\n" " -A\t使 NAME 成为关联数组 (如果支持)\n" " -i\t使 NAME 带有 `integer' (整数)属性\n" " -l\t将 NAME 在赋值时转为小写\n" +" -n\t使 NAME 成为指向一个以其值为名称的变量的引用\n" " -r\t将 NAME 变为只读\n" " -t\t使 NAME 带有 `trace' (追踪)属性\n" " -u\t将 NAME 在赋值时转为大写\n" @@ -2832,23 +2934,23 @@ msgstr "" " `let' 命令)\n" " \n" " 在函数中使用时,`declare' 使 NAME 成为本地变量,和 `local'\n" -" 命令一致。\n" +" 命令一致。`-g' 选项抑制此行为。\n" " \n" " 退出状态:\n" " 返回成功除非使用了无效选项或者发生错误。" -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" "设置变量的值和属性。\n" " \n" " 废弃。参见 `help declare'。" -#: builtins.c:535 -#, fuzzy +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2871,11 +2973,10 @@ msgstr "" " 部以及子函数中可见。\n" " \n" " 退出状态:\n" -" 返回成功除非使用了无效的选项、发生了错误或者 shell 不在\n" -" 执行一个函数。" +" 返回成功,除非使用了无效的选项、发生了赋值错误或者 shell 不在执行一个函" +"数。" -#: builtins.c:552 -#, fuzzy +#: builtins.c:555 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2901,16 +3002,16 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" "将参数写到标准输出。\n" " \n" -" 在标准输出上显示 ARG 参数后跟一个换行。\n" +" 在标准输出上,显示用空格分割的 ARG 参数后跟一个换行。\n" " \n" " 选项:\n" " -n\t不要追加换行\n" @@ -2922,21 +3023,20 @@ msgstr "" " \\b\t退格\n" " \\c\t抑制更多的输出\n" " \\e\t转义字符\n" -" \\f\t格式提供\n" +" \\f\t换页字符\n" " \\n\t换行\n" " \\r\t回车\n" " \\t\t横向制表符\n" " \\v\t纵向制表符\n" " \\\\\t反斜杠\n" -" \\0nnn\t以 NNN (八进制)为 ASCII 码的字符。 NNN 可以是\n" -" \t0到3个八进制数字\n" -" \\xHH\t以 HH (十六进制)为值的八比特字符。HH可以是\n" -" \t一个或两个十六进制数字\n" +" \\0nnn\t以 NNN (八进制)为 ASCII 码的字符。 NNN 可以是 0 到 3 个八进制" +"位\n" +" \\xHH\t以 HH (十六进制)为值的八按位字符。HH可以是一个或两个十六进制位\n" " \n" " 退出状态:\n" " 返回成功除非有写错误发生。" -#: builtins.c:588 +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2958,7 +3058,7 @@ msgstr "" " 退出状态:\n" " 除非写错误发生,否则返回成功。" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -3008,7 +3108,7 @@ msgstr "" " 退出状态:\n" " 返回成功,除非 NAME 不是一个 shell 内建或者有错误发生。" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -3027,7 +3127,7 @@ msgstr "" " 退出状态:\n" " 以命令的状态退出,或者在命令为空的情况下返回成功。" -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -3105,7 +3205,7 @@ msgstr "" " 如果一个选项被找到则返回成功;如果遇到了选项的结尾或者\n" " 有错误发生则返回失败。" -#: builtins.c:685 +#: builtins.c:688 msgid "" "Replace the shell with the given command.\n" " \n" @@ -3116,8 +3216,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -3144,7 +3244,7 @@ msgstr "" " 退出状态:\n" " 返回成功除非 COMMAND 命令没有找到或者出现一个重定向错误。" -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" @@ -3156,7 +3256,7 @@ msgstr "" " 以状态 N 退出 shell。 如果 N 被省略,则退出状态\n" " 为最后一个执行的命令的退出状态。" -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -3169,7 +3269,7 @@ msgstr "" " 以状态 N 退出一个登录 shell。如果不在登录 shell 中执行,则\n" " 返回一个错误。" -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -3222,7 +3322,7 @@ msgstr "" " 退出状态:\n" " 返回成功,或者执行的命令的状态;如果错误发生则返回非零。" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -3242,7 +3342,7 @@ msgstr "" " 退出状态:\n" " 放至前台的命令状态,或者当错误发生时为失败。" -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -3264,8 +3364,7 @@ msgstr "" " 退出状态:\n" " 返回成功除非任务管理没有启用或者错误发生。" -#: builtins.c:784 -#, fuzzy +#: builtins.c:787 msgid "" "Remember or display program locations.\n" " \n" @@ -3274,15 +3373,15 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" @@ -3290,11 +3389,11 @@ msgid "" msgstr "" "记住或显示程序位置。\n" " \n" -" 确定并记住每一个给定 NAME 名称的命令的完整路径。如果\n" -" 不提供参数,则显示已经记住的命令的信息。\n" +" 确定并记住每一个给定 NAME 名称的命令的完整路径。\n" +" 如果不提供参数,则显示已经记住的命令的信息。\n" " \n" " 选项:\n" -" -d\t\t忘记每一个已经记住的命令的位置\n" +" -d\t\t忘记每一个已经记住的 NAME 的位置\n" " -l\t\t以可作为输入重用的格式显示\n" " -p pathname\t使用 pathname 路径作为 NAME 命令的全路径\n" " -r\t\t忘记所有记住的位置\n" @@ -3302,13 +3401,14 @@ msgstr "" " \t\tNAME 名称,则每个位置前面会加上相应的 NAME 名称\n" " \t\t\n" " 参数:\n" -" NAME\t\t每个 NAME 名称会在 $PATH 路径变量中被搜索,并\n" -" \t\t且添加到记住的命令的列表中。\n" +" NAME\t\t每个 NAME 名称会在 $PATH 路径变量中被搜索,并且添加到记住的命" +"令\n" +" 列表中。\n" " \n" " 退出状态:\n" " 返回成功,除非 NAME 命令没有找到或者使用了无效的选项。" -#: builtins.c:809 +#: builtins.c:812 msgid "" "Display information about builtin commands.\n" " \n" @@ -3320,7 +3420,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -3347,7 +3447,8 @@ msgstr "" " 退出状态:\n" " 返回成功,除非 PATTERN 模式没有找到或者使用了无效选项。" -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -3356,23 +3457,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -3392,12 +3493,9 @@ msgstr "" " -a\t将当前会话的历史行追加到历史文件中\n" " -n\t从历史文件中读取所有未被读取的行\n" " -r\t读取历史文件并将内容追加到历史列表中\n" -" \t中\n" -" -w\t将当前历史写入到历史文件中\n" -" \t并追加到历史列表中\n" +" -w\t将当前历史写入到历史文件中,并追加到历史列表中\n" " \n" -" -p\t对每一个 ARG 参数展开历史并显示结果\n" -" \t而不存储到历史列表中\n" +" -p\t对每一个 ARG 参数展开历史并显示结果,而不存储到历史列表中\n" " -s\t以单条记录追加 ARG 到历史列表中\n" " \n" " 如果给定了 FILENAME 文件名,则它将被作为历史文件。否则\n" @@ -3410,8 +3508,7 @@ msgstr "" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者发生错误。" -#: builtins.c:869 -#, fuzzy +#: builtins.c:872 msgid "" "Display status of jobs.\n" " \n" @@ -3421,7 +3518,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -3436,12 +3533,12 @@ msgid "" msgstr "" "显示任务状态。\n" " \n" -" 列出活动的任务。JPBSPEC 限制仅输出指定的任务。\n" +" 列出活动的任务。JOBSPEC 限制仅输出指定的任务。\n" " 不带选项时,所有活动任务的状态都会显示。\n" " \n" " 选项:\n" " -l\t在正常信息基础上列出进程号\n" -" -n\t列出上次通告之后改变了状态的进程\n" +" -n\t仅列出上次通告之后改变了状态的进程\n" " -p\t仅列出进程号\n" " -r\t限制仅输出运行中的任务\n" " -s\t限制仅输出停止的任务\n" @@ -3451,9 +3548,9 @@ msgstr "" " \n" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者有错误发生。\n" -" 如果使用 -x选项,则返回 COMMAND 命令的退出状态。" +" 如果使用 -x 选项,则返回 COMMAND 命令的退出状态。" -#: builtins.c:896 +#: builtins.c:899 msgid "" "Remove jobs from current shell.\n" " \n" @@ -3463,7 +3560,7 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" @@ -3477,13 +3574,14 @@ msgstr "" " 选项:\n" " -a\t如果不提供 JOBSPEC 参数,则删除所有任务\n" " -h\t标识每个 JOBSPEC 任务,从而当 shell 接收到 SIGHUP\n" -" \t信号时不发送 SIGHUP 给指定任务\n" +" \t\t信号时不发送 SIGHUP 给指定任务\n" " -r\t仅删除运行中的任务\n" " \n" " 退出状态:\n" " 返回成功除非使用了无效的选项或者 JOBSPEC 声明。" -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -3495,7 +3593,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -3514,7 +3613,7 @@ msgstr "" " -s sig\tSIG 是信号名称\n" " -n sig\tSIG 是信号编号\n" " -l\t列出信号名称;如果参数后跟 `-l'则被假设为信号编号,\n" -" \t而相应的信号名称会被列出\n" +" \t\t而相应的信号名称会被列出\n" " \n" " Kill 成为 shell 内建有两个理由:它允许使用任务编号而不是进程号,\n" " 并且在可以创建的进程数上限达到是允许进程被杀死。\n" @@ -3522,8 +3621,7 @@ msgstr "" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者有错误发生。" -#: builtins.c:938 -#, fuzzy +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -3567,27 +3665,27 @@ msgid "" " Exit Status:\n" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" -"估值算数表达式。\n" +"估值算术表达式。\n" " \n" -" 将每个 ARG 参赛作为算数表达式来估值。估值的计算以等宽的整\n" +" 将每个 ARG 参赛作为算术表达式来估值。估值的计算以定宽的整\n" " 数完成,不带溢出检测,不过除 0 是被置陷阱的并且会报一个错\n" -" 误。下列操作符被按照相同的算数优先级组合。列表的顺序按照\n" +" 误。下列操作符被按照相同的算术优先级组合。列表的顺序按照\n" " 优先级从高至低。\n" " \n" " \n" " \tid++, id--\t变量后置加,后置减\n" " \t++id, --id\t变量前置加,前置减\n" " \t-, +\t\t一元减法,一元加法\n" -" \t!, ~\t\t逻辑和比特取反\n" +" \t!, ~\t\t逻辑和位取反\n" " \t**\t\t指数\n" " \t*, /, %\t\t乘法,除法,取余数\n" " \t+, -\t\t增加,减少\n" -" \t<<, >>\t\t向左和向右比特移位\n" +" \t<<, >>\t\t向左和向右按位移位\n" " \t<=, >=, <, >\t比较\n" " \t==, !=\t\t等于,不等于\n" -" \t&\t\t比特与\n" -" \t^\t\t比特异或\n" -" \t|\t\t比特或\n" +" \t&\t\t按位与\n" +" \t^\t\t按位异或\n" +" \t|\t\t按位或\n" " \t&&\t\t逻辑与\n" " \t||\t\t逻辑或\n" " \texpr ? expr : expr\n" @@ -3596,20 +3694,16 @@ msgstr "" " \t+=, -=, <<=, >>=,\n" " \t&=, ^=, |=\t赋值\n" " \n" -" Shell 变量允许作为操作数。表达式中的变量的名称会被取代\n" -" 以值(强制转换为等宽的整数)。表达式中的变量不需要打开\n" -" 整数属性。\n" -" \n" -" \n" -" 操作符按照优先级进行估值。括号中的子表达式将被先估值,\n" -" 并有可能重载上述的表达式规则。\n" +" Shell 变量允许作为操作数。表达式中的变量的名称会被取代以值\n" +" (强制转换为定宽的整数)。表达式中的变量不需要打开整数属性。\n" " \n" +" 操作符按照优先级进行估值。括号中的子表达式将被先估值,并可取代上述表达式" +"规则。\n" " \n" " 退出状态:\n" -" 如果最后一个 ARG 参数估值为0,则 let 返回1; 否则 let 返回0。" +" 如果最后一个 ARG 参数估值为 0,则 let 返回 1; 否则 let 返回 0。" -#: builtins.c:983 -#, fuzzy +#: builtins.c:987 msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3630,27 +3724,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3661,42 +3756,43 @@ msgid "" msgstr "" "从标准输入读取一行并将其分为不同的域。\n" " \n" -" 从标准输入读取单独的一行,或者如果使用了 -u 选项,从文件描\n" -" è¿° FD 中读取。该行被分割成域,如同词语分割一样,并且\n" -" 第一个词被赋值给第一个 NAME 变量,第二个词被赋值给第二个\n" -" NAME 变量,如此继续,直到剩下所有的词被赋值给最后一个\n" -" NAME 变量。只有 $IFS 变量中的字符被认作是词语分隔符。\n" +" 从标准输入读取单独的一行,或者如果使用了 -u 选项,从文件描述符 FD 中读" +"取。\n" +" 该行被分割成域,如同词语分割一样,并且第一个词被赋值给第一个 NAME 变量," +"第二\n" +" 个词被赋值给第二个 NAME 变量,如此继续,直到剩下所有的词被赋值给最后一个 " +"NAME\n" +" 变量。只有 $IFS 变量中的字符被认作是词语分隔符。\n" " \n" " 如果没有提供 NAME 变量,则读取的行被存放在 REPLY 变量中。\n" " \n" " 选项:\n" -" -a array\t将词语赋值给 ARRAY 数组变量的序列下标成员,从\n" -" \t\t零开始。\n" -" -d delim\t持续读取直到读入 DELIM 变量中的第一个字符,而不是\n" -" \t\t换行符\n" -" -e\t\t在一个交互式 shell 中使用 readline 获取行\n" -" -i text\t使用 TEXT 文本作为 readline 的初始文字\n" -" -n nchars\t读取 nchars 个字符之后返回,而不是等到读取\n" -" \t\t换行符,但是分隔符仍然有效,如果遇到分隔符之前读\n" -" \t\t取了不足 nchars 个字符\n" -" -N nchars\t在准确读取了 nchars 个字符之后返回,除非遇到\n" -" \t\t了文件结束符或者读超时,任何的分隔符都被忽略\n" +" -a array\t将词语赋值给 ARRAY 数组变量的序列下标成员,从零开始。\n" +" -d delim\t持续读取直到读入 DELIM 变量中的第一个字符,而不是换行符\n" +" -e\t在一个交互式 shell 中使用 Readline 获取行\n" +" -i text\t使用 TEXT 文本作为 Readline 的初始文字\n" +" -n nchars\t读取 nchars 个字符之后返回,而不是等到读取换行符。\n" +" \t\t但是分隔符仍然有效,如果遇到分隔符之前读取了不足 nchars 个字符。\n" +" -N nchars\t在准确读取了 nchars 个字符之后返回,除非遇到文件结束符或者读" +"超时,\n" +" \t\t任何的分隔符都被忽略\n" " -p prompt\t在尝试读取之前输出 PROMPT 提示符并且不带\n" " \t\t换行符\n" -" -r\t\t不允许反斜杠转义任何字符\n" -" -s\t\t不显示终端的任何输入\n" -" -t timeout\t如果在 TIMEOUT 秒内没有读取一个完整的行则\n" -" \t\t超时并且返回失败。TMOUT 变量的值是默认的超时时间。\n" -" \t\tTIMEOUT 可以是小数。如果 TIMEOUT 是0,那么仅当在\n" -" \t\t指定的文件描述符上输入有效的时候,read 才返回成功。\n" -" \t\t如果超过了超时时间,则返回状态码大于128\n" -" -u fd\t\t从文件描述符 FD 中读取,而不是标准输入\n" +" -r\t不允许反斜杠转义任何字符\n" +" -s\t不显示终端的任何输入\n" +" -t timeout\t如果在 TIMEOUT 秒内没有读取一个完整的行则超时并且返回失" +"败。\n" +" \t\tTMOUT 变量的值是默认的超时时间。\n" +" \t\tTIMEOUT 可以是小数。如果 TIMEOUT 是 0,那么仅当在指定的文件描述符上\n" +" \t\t输入有效的时候,read 才返回成功。\n" +" \t\t如果超过了超时时间,则返回状态码大于 128\n" +" -u fd\t从文件描述符 FD 中读取,而不是标准输入\n" " \n" " 退出状态:\n" " 返回码为零,除非遇到了文件结束符,读超时,或者无效的文\n" " 件描述符作为参数传递给了 -u 选项。" -#: builtins.c:1028 +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3716,7 +3812,7 @@ msgstr "" " 退出状态:\n" " 返回 N,或者如果 shell 不在执行一个函数或引用脚本时,失败。" -#: builtins.c:1041 +#: builtins.c:1047 #, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" @@ -3785,7 +3881,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3836,11 +3933,12 @@ msgstr "" " noexec 与 -n 相同\n" " noglob 与 -f 相同\n" " nolog 目前可接受但是被忽略\n" -" notify 与-b 相同\n" +" notify 与 -b 相同\n" " nounset 与 -u 相同\n" " onecmd 与 -t 相同\n" " physical 与 -P 相同\n" -" pipefail 管道的返值是最后一个非零返回值的命令的返回结果,\n" +" pipefail 管道的返回值是最后一个非零返回值的命令的返回结" +"果,\n" " 或者当所有命令都返回零是也为零。\n" " posix 改变默认时和 Posix 标准不同的 bash 行为\n" " 以匹配标准\n" @@ -3877,8 +3975,7 @@ msgstr "" " 退出状态:\n" " 返回成功除非使用了无效的参数。" -#: builtins.c:1126 -#, fuzzy +#: builtins.c:1132 msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3888,7 +3985,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3904,18 +4001,19 @@ msgstr "" " 对每一个 NAME 名称,删除对应的变量或函数。\n" " \n" " 选项:\n" -" -f\t将每个 NAME 名称当作函数对待\n" -" -v\t将每个 NAME 名称当作变量对待\n" +" -f\t将每个 NAME 视为函数\n" +" -v\t将每个 NAME 视为变量\n" +" -n\t将每个 NAME 视为名称引用,只取消其本身而非其指向的变量\n" " \n" -" 不带选项时,unset 首先尝试取消设定一个变量,如果\n" -" 失败,再尝试取消设定一个函数。\n" +" 不带选项时,unset 首先尝试取消设定一个变量,如果失败,再尝试取消设定一个" +"函数。\n" " \n" -" 某些变量不可以被取消设定;请查看 `readonly'。\n" +" 某些变量不可以被取消设定;参见 `readonly'。\n" " \n" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者 NAME 名称为只读。" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3948,8 +4046,7 @@ msgstr "" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者 NAME 名称。" -#: builtins.c:1167 -#, fuzzy +#: builtins.c:1173 msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3961,9 +4058,8 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" @@ -3979,14 +4075,14 @@ msgstr "" " -a\t指下标数组变量\n" " -A\t指关联数组标量\n" " -f\t指 shell 函数\n" -" -p\t显示只读变量和函数列表\n" +" -p\t显示只读变量或函数列表,取决于是否提供了 -f 选项\n" " \n" " `--' 的参数禁用进一步的选项处理。\n" " \n" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者 NAME 名称。" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -4004,7 +4100,7 @@ msgstr "" " 退出状态:\n" " 返回成功,除非 N 为负或者大于 $#。" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -4026,7 +4122,7 @@ msgstr "" " 退出状态:\n" " 返回 FILENAME 文件中最后一个命令的状态;如果 FILENAME 文件不可读则失败。" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -4050,8 +4146,7 @@ msgstr "" " 退出状态:\n" " 返回成功,除非没有启用任务控制或者有错误发生。" -#: builtins.c:1248 -#, fuzzy +#: builtins.c:1254 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4115,9 +4210,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -4135,7 +4230,7 @@ msgid "" msgstr "" "对条件表达式进行估值。\n" " \n" -" 根据 EXPR 表达式的估值以状态0(真)或1(伪)退出。\n" +" 根据 EXPR 表达式的估值以状态 0 (真) 或 1 (伪) 退出。\n" " 表达式可以是一元或者二元的。一元表达式通常用于检测\n" " 文件状态。同时还有字符串操作符和数字比较操作符。\n" " \n" @@ -4150,12 +4245,12 @@ msgstr "" " -g 文件 如果文件的组属性设置打开则为真。\n" " -h 文件 如果文件为符号链接则为真。\n" " -L 文件 如果文件为符号链接则为真。\n" -" -k 文件 如果文件的粘滞位设定则为真。\n" +" -k 文件 如果文件的粘滞 (sticky) 位设定则为真。\n" " -p 文件 如果文件为命名管道则为真。\n" " -r 文件 如果文件对于您是可读的则为真。\n" " -s 文件 如果文件存在且不为空则为真。\n" " -S 文件 如果文件是套接字则为真。\n" -" -t 文件描述符 如果文件描述符在一个终端上打开则为真。\n" +" -t 文件描述符 如果文件描述符在一个终端上打开则为真。\n" " -u 文件 如果文件的用户数行设置打开则为真。\n" " -w 文件 如果文件对您是可写的则为真\n" " -x 文件 如果文件对您是可执行的则为真。\n" @@ -4188,22 +4283,24 @@ msgstr "" " \n" " 其他操作符:\n" " \n" -" -o 选项 如果指定 shell 选项启用则为真。\n" -" ! EXPR 如果表达式 expr 为假则为真。\n" +" -o 选项 如果指定 shell 选项启用则为真。\n" +" -v VAR 如果指定 Shell 变量 VAR 已赋值则为真。\n" +" -R VAR 如果指定 Shell 变量 VAR 已赋值且为名称引用则为真。\n" +" ! EXPR 如果表达式 expr 为假则为真。\n" " EXPR1 -a EXPR2 如果 expr1 和 expr2 都为真则为真。\n" " EXPR1 -o EXPR2 如果 expr1 和 expr2 有一个为真则为真。\n" " \n" -" arg1 OP arg2 算数测试。OP操作符可以是 -eq、-ne、\n" +" arg1 OP arg2 算术测试。OP操作符可以是 -eq、-ne、\n" " -lt、-le、-gt、或 -ge 中的一个。\n" " \n" -" 二元算数操作返回真,如果 ARG1 参数等于、不等于、\n" +" 二元算术操作返回真,如果 ARG1 参数等于、不等于、\n" " 小于、小于等于、大于、或者大于等于 ARG2 参数。\n" " \n" " 退出状态:\n" " 如果 EXPR 表达式估值为真则返回成功;如果 EXPR 表达式估值\n" " 为假或者使用了无效的参数则返回失败。" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" @@ -4215,7 +4312,7 @@ msgstr "" " 是内建命令 \"test\" 的同义词,但是最后一个参数必须是\n" " 字符 `]',以匹配起始的 `['。" -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -4234,8 +4331,9 @@ msgstr "" " 退出状态\n" " 总是成功。" -#: builtins.c:1350 -#, fuzzy +# EXIT and DEBUG should be as-is. Use before you translate, please. +# The -signal is only an example; Read carefully. +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -4283,29 +4381,30 @@ msgstr "" " 定义一个处理器,在 shell 接收到信号和其他条件下执行。\n" " \n" " ARG 参数是当 shell 接收到 SIGNAL_SPEC 信号时读取和执行的命令。\n" -" 如果没有指定 ARG 参数(并且只给出一个 SIGNAL_SPEC 信号)或者\n" -" 或者 ARG 参数为 `-',每一个指定的参数会被重置为原始值。如果 ARG 参数\n" -" 是一个空串,则每一个 SIGNAL_SPEC 信号会被 shell 和它启动的命令忽略。\n" -" \n" -" 如果一个 SIGNAL_SPEC 信号是“退出” (0) ,则 ARG 命令会在 shell 退出时被\n" -" 执行。如果一个 SIGNAL_SPEC 信号是“调试“,则 ARG命令会在每一个简单命\n" +" 如果没有指定 ARG 参数 (并且只给出一个 SIGNAL_SPEC 信号) 或者\n" +" ARG 参数为\n" +" `-',每一个指定的参数会被重置为原始值。如果 ARG 参数是一个空串,则每一" +"个\n" +" SIGNAL_SPEC 信号会被 shell 和它启动的命令忽略。\n" +" \n" +" 如果一个 SIGNAL_SPEC 信号是 EXIT (0) ,则 ARG 命令会在 shell 退出时被\n" +" 执行。如果一个 SIGNAL_SPEC 信号是 DEBUG,则 ARG命令会在每一个简单命\n" " 令之前执行。\n" " \n" -" 如果不提供参数,trap 打印列表显示每一个与每一个信号相关联的\n" -" 命令。\n" +" 如果不提供参数,trap 打印列表显示每一个与每一个信号相关联的命令。\n" " \n" " 选项:\n" " -l\t打印一个信号名称和它们对应的编号的列表\n" " -p\t打印与每个 SIGNAL_SPEC 信号相关联的陷阱命令\n" " \n" -" 每一个 SIGNAL_SPEC 信号可以是 中的信号名称或者\n" -" 信号编号。信号名称大小写敏感且可以使用 SIG 前缀。信号可以用\n" -" \"kill -signal $$\" 发送给 shell。\n" +" 每一个 SIGNAL_SPEC 信号可以是 中的信号名称或者信号编号。\n" +" 信号名称大小写敏感且可以使用 SIG 前缀。信号可用 \"kill -信号 $$\"\n" +" 发送给 shell。\n" " \n" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者 SIGSPEC。" -#: builtins.c:1386 +#: builtins.c:1393 msgid "" "Display information about command type.\n" " \n" @@ -4314,18 +4413,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -4340,14 +4439,14 @@ msgstr "" " \n" " 选项:\n" " -a\t显示所有包含名称为 NAME 的可执行文件的位置;\n" -" \t包括别名、内建和函数。仅当 `-p' 选项没有使用时\n" +" \t\t包括别名、内建和函数。仅当 `-p' 选项没有使用时\n" " -f\t抑制 shell 函数查询\n" " -P\t为每个 NAME 名称惊醒 PATH 路径搜索,即使它是别名、\n" -" \t内建或函数,并且返回将被执行的磁盘上文件的名称。\n" +" \t\t内建或函数,并且返回将被执行的磁盘上文件的名称。\n" " -p\t返回将被执行的磁盘上文件的名称,或者当 `type -t NAME'\n" " \t不返回 `file' 时,不返回任何值。\n" -" -t\t返回下列词中的任何一个`alias'、`keyword'、\n" -" \t`function'、`builtin'、`file'或者`',如果 NAME 是相应的\n" +" -t\t返回下列词中的任何一个 `alias'、`keyword'、\n" +" \t`function'、`builtin'、`file' 或者 `',相应地如果 NAME 是\n" " \t一个别名、shell 保留字、shell 函数、shell 内建、\n" " \t磁盘文件或没有找到。\n" " \n" @@ -4355,10 +4454,9 @@ msgstr "" " NAME\t将要解析的命令。\n" " \n" " 退出状态:\n" -" 如果所有的 NAME 命令都找到则返回成功;任何找不到则失败。" +" 如果所有的 NAME 命令都找到则返回成功;任何一个找不到则失败。" -#: builtins.c:1417 -#, fuzzy +#: builtins.c:1424 msgid "" "Modify shell resource limits.\n" " \n" @@ -4376,6 +4474,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -4387,7 +4486,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -4410,15 +4510,16 @@ msgstr "" " 资源的控制。\n" " \n" " 选项:\n" -" -S\t使用 `soft'(软)资源限制\n" -" -H\t使用 `hard'(硬)资源限制\n" +" -S\t使用软 (`soft') 资源限制\n" +" -H\t使用硬 (`hard') 资源限制\n" " -a\t所有当前限制都被报告\n" " -b\t套接字缓存尺寸\n" " -c\t创建的核文件的最大尺寸\n" " -d\t一个进程的数据区的最大尺寸\n" -" -e\t最高的调度优先级(`nice')\n" +" -e\t最高的调度优先级 (`nice')\n" " -f\t有 shell 及其子进程可以写的最大文件尺寸\n" " -i\t最多的可以挂起的信号数\n" +" -k\t分配给此进程的最大 kqueue 数量\n" " -l\t一个进程可以锁定的最大内存尺寸\n" " -m\t最大的内存进驻尺寸\n" " -n\t最多的打开的文件描述符个数\n" @@ -4429,19 +4530,23 @@ msgstr "" " -t\t最大的CPU时间,以秒为单位\n" " -u\t最大用户进程数\n" " -v\t虚拟内存尺寸\n" -" -x\t最大的锁数量\n" +" -x\t最大的文件锁数量\n" +" -P\t最大伪终端数量\n" +" -T\t最大线程数量\n" +" \n" +" 并非所有选项在所有系统上可用。\n" " \n" " 如果提供了 LIMIT 变量,则它为指定资源的新的值;特别的 LIMIT 值为\n" " `soft'、`hard'和`unlimited',分别表示当前的软限制,硬限制和无限制。\n" " 否则打印指定资源的当前限制值,不带选项则假定为 -f\n" " \n" -" 取值都是1024字节为单位,除了 -t 以秒为单位,-p 以512字节为单位,\n" -" -u 以无范围的进程数量。\n" +" 取值都是 1024 字节为单位,除了 -t 以秒为单位,-p 以 512 字节递增,\n" +" -u 为无范围的进程数量。\n" " \n" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者错误发生。" -#: builtins.c:1465 +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -4463,18 +4568,17 @@ msgstr "" " 设定用户文件创建掩码为 MODE 模式。如果省略了 MODE,则\n" " 打印当前掩码的值。\n" " \n" -" 如果MODE 模式以数字开头,则被当作八进制数解析;否则是一个\n" +" 如果 MODE 模式以数字开头,则被当作八进制数解析;否则是一个\n" " chmod(1) 可接收的符号模式串。\n" " \n" " 选项:\n" -" -p\t如果省略 MDOE 模式,以可重用为输入的格式输入\n" +" -p\t如果省略 MODE 模式,以可重用为输入的格式输入\n" " -S\t以符号形式输出,否则以八进制数格式输出\n" " \n" " 退出状态:\n" " 返回成功,除非使用了无效的 MODE 模式或者选项。" -#: builtins.c:1485 -#, fuzzy +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -4500,11 +4604,12 @@ msgstr "" " 进程,并且返回状态为零。如果 ID 是任务声明,等待任务管道中的\n" " 所有进程。\n" " \n" +" 若给定了 -n 选项,等待下一个任务完成并返回其状态。\n" +" \n" " 退出状态:\n" -" 返回 ID 进程的状态;如果使用了无效的 ID 或者选项则失败。" +" 返回最后一个 ID 进程的状态;如果使用了无效的 ID 或者选项则失败。" -#: builtins.c:1506 -#, fuzzy +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -4520,15 +4625,13 @@ msgid "" msgstr "" "等待进程完成并且返回退出状态。\n" " \n" -" 等待指定进程并报告它的终止状态。如果\n" -" 没有提供PID,则当前所有的活跃子进程都会被等待,\n" -" 并且返回码为零。PID必须为进程号。\n" +" 等待指定进程并报告它的终止状态。如果没有提供 PID,则当前所有的活跃\n" +" 子进程都会被等待,并且返回码为零。PID 必须为进程号。\n" " \n" " 退出状态:\n" -" 返回进程ID的状态;如果ID是无效的进程号或者指定了无效\n" -" 的选项则失败。" +" 返回进程 ID 的状态;如果 PID 是无效的进程号或者指定了无效的选项则失败。" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -4549,7 +4652,7 @@ msgstr "" " 退出状态:\n" " 返回最后执行的命令的状态。" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -4579,7 +4682,7 @@ msgstr "" " 退出状态:\n" " 返回最后执行的命令的状态。" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -4612,7 +4715,7 @@ msgstr "" " 退出状态:\n" " 返回最后一个执行的命令的状态。" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -4640,7 +4743,7 @@ msgstr "" " 退出状态:\n" " 返回状态即PIPELINE 的返回状态。" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -4658,7 +4761,7 @@ msgstr "" " 退出状态:\n" " 返回最后一个执行的命令的状态。" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -4689,7 +4792,7 @@ msgstr "" " 退出状态:\n" " 返回最后一个执行的命令的状态。" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -4707,7 +4810,7 @@ msgstr "" " 退出状态:\n" " 返回最后一个执行的命令的状态。" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -4725,7 +4828,8 @@ msgstr "" " 退出状态:\n" " 返回最后一个执行的命令的状态。" -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -4735,7 +4839,7 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" "创建一个以 NAME 为名的副进程。\n" " \n" @@ -4747,7 +4851,7 @@ msgstr "" " 退出状态:\n" " 返回 COMMAND 命令的退出状态。" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -4770,7 +4874,7 @@ msgstr "" " 退出状态:\n" " 返回成功除非 NAME 为只读。" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -4788,7 +4892,7 @@ msgstr "" " 退出状态:\n" " 返回最后一个执行的命令的状态。" -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -4812,7 +4916,7 @@ msgstr "" " 退出状态:\n" " 返回被继续的任务的状态。" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -4830,7 +4934,7 @@ msgstr "" " 退出状态\n" " 如果表达式估值为0则返回 1;否则返回0。" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -4878,7 +4982,7 @@ msgstr "" " 退出状态:\n" " 根据 EXPRESSION 的值为0或1。" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -4973,7 +5077,7 @@ msgstr "" " HISTIGNORE\t用于决定哪些命令被存入历史文件的模式\n" " \t\t列表,以冒号分隔。\n" -#: builtins.c:1794 +#: builtins.c:1803 msgid "" "Add directories to stack.\n" " \n" @@ -4983,19 +5087,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5013,10 +5117,10 @@ msgstr "" " \t进行操作。\n" " \n" " 参数:\n" -" +N\t旋转栈从而第 N 个目录(`dirs' 显示的列表中左起,从零开始)\n" +" +N\t旋转栈从而第 N 个目录 (`dirs' 显示的列表中左起,从零开始)\n" " \t将移动到栈顶。\n" " \n" -" -N\t旋转栈从而第 N 个目录(`dirs' 显示的列表中右起,从零开始)\n" +" -N\t旋转栈从而第 N 个目录 (`dirs' 显示的列表中右起,从零开始)\n" " \t将移动到栈顶。\n" " \n" " dir\t将 DIR 目录添加到栈顶,并且使其成为当前工作目录。\n" @@ -5026,7 +5130,7 @@ msgstr "" " 退出状态:\n" " 返回成功,除非使用了无效的参数或者目录转换失败。" -#: builtins.c:1828 +#: builtins.c:1837 msgid "" "Remove directories from stack.\n" " \n" @@ -5035,16 +5139,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -5062,18 +5166,18 @@ msgstr "" " \t进行操作。\n" " \n" " 参数:\n" -" +N\t删除第 N 个目录(`dirs' 显示的目录列表中左起,从零开始)。\n" -" \t例如: `popd +0' 删除第一个目录,popd +1' 删除第二个。\n" +" +N\t删除第 N 个目录 (`dirs' 显示的目录列表中左起,从零开始)。\n" +" \t例如: `popd +0' 删除第一个目录,`popd +1' 删除第二个。\n" " \n" -" -N\t删除第 N 个目录(`dirs' 显示的目录列表中右起,从零开始)。\n" -" \t例如: `popd -0'删除最后一个目录,,`popd -1' 删除倒数第二个。\n" +" -N\t删除第 N 个目录 (`dirs' 显示的目录列表中右起,从零开始)。\n" +" \t例如: `popd -0' 删除最后一个目录,,`popd -1' 删除倒数第二个。\n" " \n" " `dirs' 内建显示目录栈。\n" " \n" " 退出状态:\n" " 返回成功,除非使用了无效的参数或者目录变换失败。" -#: builtins.c:1858 +#: builtins.c:1867 msgid "" "Display directory stack.\n" " \n" @@ -5084,19 +5188,19 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." @@ -5104,7 +5208,7 @@ msgstr "" "显示目录栈。\n" " \n" " 显示当前记住的目录列表。通过 `pushd' 命令可以将目录存入列表\n" -" 中;`popd' 命令可用于遍历列表。\n" +" 中;`popd' 命令可用于遍历弹出列表。\n" " \n" " 选项:\n" " -c\t删除所有元素以清空目录栈\n" @@ -5122,7 +5226,7 @@ msgstr "" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者发生错误。" -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -5159,8 +5263,7 @@ msgstr "" " 如果 OPTNAME 选项被启用则返回成功;如果是\n" " 无效的选项或OPTNAME 被禁用则失败。" -#: builtins.c:1908 -#, fuzzy +#: builtins.c:1919 msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -5177,15 +5280,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -5198,24 +5301,25 @@ msgid "" "assignment\n" " error occurs." msgstr "" -"在 FORMAT 变量的控制下格式化并打印 ARGUMENTS 参数。\n" +"在 FORMAT 的控制下格式化并打印 ARGUMENTS 参数。\n" " \n" " 选项:\n" " -v var\t将输出赋值给 shell 变量 VAR 而不显示在标准输出上\n" " \n" -" FORMAT 变量是包含三种对象的字符串:简单地被拷贝到标准输出的普通字符;\n" -" 被变换之后拷贝到标准输入的转义字符;以及每个都会影响到下个参数的打印" -"的 格式化声明。\n" +" FORMAT 是包含三种对象的字符串:简单地被拷贝到标准输出的普通字符;\n" +" 被变换之后拷贝到标准输入的转义字符;以及每个都会影响到下个参数的打印的格" +"式化声明。\n" +" \n" +" 在 printf(1) 中描述的标准控制声明之外,printf 解析:\n" " \n" -" 在 printf(1)、printf(3) 中描述的标准控制声明之外,printf解析:\n" -"、 \n" " %b\t扩展对应参数中的反斜杠转义序列\n" " %q\t以可作为 shell 输入的格式引用参数\n" +" %(fmt)T\t以 FMT 为供给 strftime(3) 的格式输出日期时间字符串\n" " \n" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者写或赋值错误发生。" -#: builtins.c:1942 +#: builtins.c:1953 msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -5228,11 +5332,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -5244,22 +5348,22 @@ msgstr "" "声明 readline 如何完成读取参数。\n" " \n" " 声明对于每一个 NAME 名称如何完成读取参数。如果不带选项,\n" -" 现有的补完声明会以可以重用为输入的格式打印出来。\n" +" 现有的补全声明会以可以重用为输入的格式打印出来。\n" " \n" " 选项:\n" -" -p\t以可重用的格式打印现有的补完声明。\n" -" -r\tr对于每个 NAME 名称删除补完声明,或者如果没有提供 NAME\n" -" \t名称,删除所有的补完声明。\n" -" -D\t对于没有补完声明定义的命令,设定默认的补完动作\n" -" -E\t对于 \"empty\" 命令设定补完动作,—— 对于空行的补完。\n" +" -p\t以可重用的格式打印现有的补全声明。\n" +" -r\t对于每个 NAME 名称删除补全声明,或者如果没有提供 NAME\n" +" \t名称,删除所有的补全声明。\n" +" -D\t对于没有补全声明定义的命令,设定默认的补全动作\n" +" -E\t对于 \"empty\" 命令设定补全动作,—— 对于空行的补全。\n" " \n" -" 尝试补完时,按照上述大写字母选项的顺序进行动作。-D 选项优先\n" +" 尝试补全时,按照上述大写字母选项的顺序进行动作。-D 选项优先\n" " 级高于 -E 选项。\n" " \n" " 退出状态:\n" " 返回成功,除非使用了无效的选项或者错误发生。" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -5271,17 +5375,16 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -"依据选项显示可能的补完。\n" +"依据选项显示可能的补全。\n" " \n" -" 意图在能产生可能的补完的 shell 函数内部使用。\n" +" 意图在能产生可能的补全的 shell 函数内部使用。\n" " 如果提供了可选的 WORD 参数,则产生按照 WORD\n" " 进行的匹配。\n" " \n" " 退出状态:\n" " 除非使用了无效选项或者错误发生,否则返回成功。" -#: builtins.c:1985 -#, fuzzy +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -5311,30 +5414,29 @@ msgid "" " Returns success unless an invalid option is supplied or NAME does not\n" " have a completion specification defined." msgstr "" -"修改或显示补完选项。\n" +"修改或显示补全选项。\n" " \n" -" 修改每个 NAME 名称的补完选项,或者如果没有提供 NAME 名称,\n" -" 执行当前的补完。如果不带选项,打印每个 NAME 名称的补完选项或\n" -" 当前的补完声明。\n" +" 修改每个 NAME 名称的补全选项,或如果没有提供 NAME 名称,执行当前的补" +"全。\n" +" 如果不带选项,打印每个 NAME 名称的补全选项或当前的补全声明。\n" " \n" " 选项:\n" -" \t-o option\t为每个 NAME 名称设定补完选项 option\n" -" \t-D\t\t为 \"default\" 命令补完改变选项\n" -" \t-E\t\t为 \"empty\" 命令补完改变选项\n" +" \t-o option\t为每个 NAME 名称设定补全选项 option\n" +" \t-D\t\t为 \"default\" 命令补全改变选项\n" +" \t-E\t\t为 \"empty\" 命令补全改变选项\n" " \n" " 使用 `+o' 而不是 `-o' 可以关闭指定的选项。\n" " \n" " 参数:\n" " \n" -" 每个 NAME 名称都对应一个之前以通过 `complete' 内建定义了补完声明的\n" -" 命令。如果不提供 NAME 名称,当前生成补完的函数必须调用 compopt,\n" -" 并且当前执行的补完生成器选项会被修改。\n" +" 每个 NAME 名称都对应一个之前以通过 `complete' 内建定义了的补全声明的\n" +" 命令。如果不提供 NAME 名称,当前生成补全的函数必须调用 compopt,\n" +" 并且当前执行的补全生成器选项会被修改。\n" " \n" " 退出状态:\n" -" 返回成功,除非使用了无效的选项或者 NAME 名称没有定义补完声明。" +" 返回成功,除非使用了无效的选项或者 NAME 名称没有定义补全声明。" -#: builtins.c:2015 -#, fuzzy +#: builtins.c:2026 msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -5345,20 +5447,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -5374,32 +5477,33 @@ msgid "" "or\n" " not an indexed array." msgstr "" -"从标准输入读取行到下表数组变量中。\n" +"从标准输入读取行到下标数组变量中。\n" " \n" -" 从标准输入读取行到下表数组变量 ARRAY 中,或者如果使用了 -u 选项,\n" +" 从标准输入读取行到下标数组变量 ARRAY 中,或者如果使用了 -u 选项,\n" " 从文件描述符 FD 中读取。MAPFILE 变量是默认的 ARRAY 变量。\n" " \n" " 选项:\n" -" -n count\t最多拷贝 COUNT 行,如果 COUNT 为0,则拷贝所有行。\n" -" -O origin\t从下表 ORIGIN 开始 赋值给 ARRAY 变量。默认下表是0.\n" +" -d delim\t使用 DELIM 而非换行符断行\n" +" -n count\t最多拷贝 COUNT 行,如果 COUNT 为 0,则拷贝所有行。\n" +" -O origin\t从下标 ORIGIN 开始 赋值给 ARRAY 变量。默认下标是0.\n" " -s count \t丢弃最先读取的 COUNT 行。\n" " -t\t\t从读取的每行末尾删除一个换行符。\n" " -u fd\t\t从文件描述符 FD 中读取行而不是标准输入。\n" -" -C callback\t每次 QUANTUM 行读取之后对 CALLBACK 回调进行估值。\n" +" -C callback\t每 QUANTUM 次读行之后对 CALLBACK 回调进行估值。\n" " -c quantum\t定义每次调用 CALLBACK 回调之间读取的行数。\n" " \n" " 参数:\n" " ARRAY\t\t存储数据使用的数组变量\n" " \n" -" 如果使用了-C而没有-c,默认的量子是5000。当对 CALLBACK 估值时,\n" +" 如果使用了 -C 而没有 -c,默认的量子是5000。当对 CALLBACK 估值时,\n" " 下一个将被赋值的数组元素的下标作为额外参数被传递。\n" " \n" -" 如果没有显式指定起始下标,mapfile将在赋值前清空 ARRAY 变量。\n" +" 如果没有显式指定起始下标,mapfile 将在赋值前清空 ARRAY 变量。\n" " \n" " 退出状态:\n" -" 返回成功,除非使用了无效的选项,或者 ARRAY 变量是只读或者不是下标数组。" +" 返回成功,除非使用了无效的选项,或者 ARRAY 变量只读或不是下标数组。" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" @@ -5409,6 +5513,24 @@ msgstr "" " \n" " 一个 `mapfile'的同义词。" +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "版权所有 (C) 2014 自由软件基金会." + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "版权所有 (C) 2013 自由软件基金会." + #~ msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n" #~ msgstr "版权所有 (C) 2009 自由软件基金会\n" diff --git a/po/zh_TW.gmo b/po/zh_TW.gmo index 0c0a4f07a..6e07b8db6 100644 Binary files a/po/zh_TW.gmo and b/po/zh_TW.gmo differ diff --git a/po/zh_TW.po b/po/zh_TW.po index 8a7a34a59..b276ceb87 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -1,481 +1,520 @@ -# Chinese translations for bash package. +# Traditional Chinese translations for bash package. # Copyright (C) 2008 Free Software Foundation, Inc. # This file is distributed under the same license as the bash package. # Zi-You Dai , 2008. +# Mingye Wang (Arthur2e5) , 2015. +# Wei-Lun Chao , 2015. # msgid "" msgstr "" -"Project-Id-Version: bash-3.2\n" +"Project-Id-Version: bash 4.3-rc2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-11 11:19-0500\n" -"PO-Revision-Date: 2008-08-20 20:12+0800\n" -"Last-Translator: Zi-You Dai \n" -"Language-Team: Chinese (traditional) \n" -"Language: zh_TW\n" +"POT-Creation-Date: 2016-09-10 12:42-0400\n" +"PO-Revision-Date: 2015-08-27 13:36+0800\n" +"Last-Translator: Wei-Lun Chao \n" +"Language-Team: Chinese (traditional) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Language: zh_TW\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: arrayfunc.c:51 +#: arrayfunc.c:54 msgid "bad array subscript" +msgstr "陣列下標不正確" + +#: arrayfunc.c:368 builtins/declare.def:574 variables.c:2092 variables.c:2118 +#: variables.c:2730 +#, c-format +msgid "%s: removing nameref attribute" msgstr "" -#: arrayfunc.c:356 builtins/declare.def:566 +#: arrayfunc.c:393 builtins/declare.def:780 #, c-format msgid "%s: cannot convert indexed to associative array" -msgstr "" +msgstr "%s: 無法將索引陣列轉化為關聯陣列" -#: arrayfunc.c:539 -#, fuzzy, c-format +#: arrayfunc.c:578 +#, c-format msgid "%s: invalid associative array key" -msgstr "%s:無效的功能名稱" +msgstr "%s: 無效的關聯陣列鍵值" -#: arrayfunc.c:541 +#: arrayfunc.c:580 #, c-format msgid "%s: cannot assign to non-numeric index" -msgstr "" +msgstr "%s: 無法指派為非數字的索引" -#: arrayfunc.c:586 +#: arrayfunc.c:625 #, c-format msgid "%s: %s: must use subscript when assigning associative array" -msgstr "" +msgstr "%s: %s: 指派為關聯陣列時必須使用下標" -#: bashhist.c:388 +#: bashhist.c:421 #, c-format msgid "%s: cannot create: %s" -msgstr "" +msgstr "%s: 無法建立: %s" -#: bashline.c:3982 +#: bashline.c:4091 msgid "bash_execute_unix_command: cannot find keymap for command" -msgstr "" +msgstr "bash_execute_unix_command: 無法為命令找到鍵對映" -#: bashline.c:4069 +#: bashline.c:4189 #, c-format msgid "%s: first non-whitespace character is not `\"'" -msgstr "" +msgstr "%s: 第一個非空字元不是「\"」" -#: bashline.c:4098 +#: bashline.c:4218 #, c-format msgid "no closing `%c' in %s" -msgstr "" +msgstr "%2$s 中沒有閉合的「%1$c」" -#: bashline.c:4132 +#: bashline.c:4252 #, c-format msgid "%s: missing colon separator" -msgstr "" +msgstr "%s: 缺少冒號分隔符" -#: braces.c:321 +#: braces.c:329 #, c-format msgid "brace expansion: cannot allocate memory for %s" -msgstr "" +msgstr "大括號展開: 無法為 %s 分配記憶體" -#: braces.c:413 +#: braces.c:427 #, c-format msgid "brace expansion: failed to allocate memory for %d elements" -msgstr "" +msgstr "大括號展開: 為 %d 個元素分配記憶體失敗" -#: braces.c:452 +#: braces.c:471 #, c-format msgid "brace expansion: failed to allocate memory for `%s'" -msgstr "" +msgstr "大括號展開: 為「%s」分配記憶體失敗" -#: builtins/alias.def:132 -#, fuzzy, c-format +#: builtins/alias.def:133 +#, c-format msgid "`%s': invalid alias name" -msgstr "%s:無效的功能名稱" +msgstr "「%s」: 無效的別名" #: builtins/bind.def:123 builtins/bind.def:126 msgid "line editing not enabled" -msgstr "" +msgstr "未啟用列編輯" -#: builtins/bind.def:212 +#: builtins/bind.def:213 #, c-format msgid "`%s': invalid keymap name" -msgstr "" +msgstr "「%s」: 無效的鍵對映名" -#: builtins/bind.def:251 +#: builtins/bind.def:253 #, c-format msgid "%s: cannot read: %s" msgstr "%s:不能讀取: %s" -#: builtins/bind.def:266 +#: builtins/bind.def:270 #, c-format msgid "`%s': cannot unbind" -msgstr "" +msgstr "「%s」: 無法解除繫結" -#: builtins/bind.def:304 builtins/bind.def:334 +#: builtins/bind.def:308 builtins/bind.def:338 #, c-format msgid "`%s': unknown function name" -msgstr "`%s':未知函數名稱" +msgstr "「%s」:不明函數名稱" -#: builtins/bind.def:312 +#: builtins/bind.def:316 #, c-format msgid "%s is not bound to any keys.\n" -msgstr "" +msgstr "%s 未與任何鍵繫結。\n" -#: builtins/bind.def:316 +#: builtins/bind.def:320 #, c-format msgid "%s can be invoked via " -msgstr "" +msgstr "%s 可以被呼叫,藉由" -#: builtins/break.def:77 builtins/break.def:117 +#: builtins/break.def:79 builtins/break.def:121 msgid "loop count" -msgstr "" +msgstr "迴圈計數" -#: builtins/break.def:137 +#: builtins/break.def:141 msgid "only meaningful in a `for', `while', or `until' loop" -msgstr "" +msgstr "僅在「for」,「while」, 或者「until」迴圈中有意義" -#: builtins/caller.def:134 +#: builtins/caller.def:136 msgid "" "Returns the context of the current subroutine call.\n" " \n" " Without EXPR, returns " msgstr "" +"回傳當前子例程呼叫的語境\n" +" \n" +" 不帶 EXPR 時,回傳" -#: builtins/cd.def:319 +#: builtins/cd.def:321 msgid "HOME not set" msgstr "HOME 沒有設置" -#: builtins/cd.def:327 builtins/common.c:166 test.c:876 +#: builtins/cd.def:329 builtins/common.c:167 test.c:885 msgid "too many arguments" msgstr "太多引數" -#: builtins/cd.def:338 +#: builtins/cd.def:336 +#, fuzzy +msgid "null directory" +msgstr "無其他目錄" + +#: builtins/cd.def:347 msgid "OLDPWD not set" msgstr "OLDPWD 沒有設置" -#: builtins/common.c:101 +#: builtins/common.c:102 #, c-format msgid "line %d: " -msgstr "" +msgstr "第 %d 列:" -#: builtins/common.c:139 error.c:265 -#, fuzzy, c-format +#: builtins/common.c:140 error.c:265 +#, c-format msgid "warning: " -msgstr "%s:警告:" +msgstr "警告:" -#: builtins/common.c:153 -#, fuzzy, c-format +#: builtins/common.c:154 +#, c-format msgid "%s: usage: " -msgstr "%s:警告:" +msgstr "%s: 用法:" -#: builtins/common.c:191 shell.c:506 shell.c:788 +#: builtins/common.c:199 shell.c:514 shell.c:825 #, c-format msgid "%s: option requires an argument" msgstr "%s:選項需要一個引數" -#: builtins/common.c:198 +#: builtins/common.c:206 #, c-format msgid "%s: numeric argument required" -msgstr "%s:數字引數必須" +msgstr "%s:需要數字引數" -#: builtins/common.c:205 +#: builtins/common.c:213 #, c-format msgid "%s: not found" msgstr "%s:沒有找到" -#: builtins/common.c:214 shell.c:801 +#: builtins/common.c:222 shell.c:838 #, c-format msgid "%s: invalid option" msgstr "%s:無效選項" -#: builtins/common.c:221 +#: builtins/common.c:229 #, c-format msgid "%s: invalid option name" -msgstr "%s:無效選項名" +msgstr "%s:無效選項名稱" -#: builtins/common.c:228 general.c:235 general.c:240 +#: builtins/common.c:236 general.c:293 general.c:298 #, c-format msgid "`%s': not a valid identifier" -msgstr "`%s':不是一個有效的識別符" +msgstr "「%s」:不是一個有效的識別符" -#: builtins/common.c:238 -#, fuzzy +#: builtins/common.c:246 msgid "invalid octal number" -msgstr "無效信號數" +msgstr "無效的八進位數字" -#: builtins/common.c:240 -#, fuzzy +#: builtins/common.c:248 msgid "invalid hex number" -msgstr "%s:無效的號碼" +msgstr "無效的十六進位數字" -#: builtins/common.c:242 expr.c:1470 +#: builtins/common.c:250 expr.c:1473 msgid "invalid number" -msgstr "" +msgstr "無效數字" -#: builtins/common.c:250 +#: builtins/common.c:258 #, c-format msgid "%s: invalid signal specification" msgstr "%s:無效的信號規格" -#: builtins/common.c:257 +#: builtins/common.c:265 #, c-format msgid "`%s': not a pid or valid job spec" -msgstr "`%s':不是一個 pid 或有效的工作規格" +msgstr "「%s」:不是一個 pid 或有效的工作規格" -#: builtins/common.c:264 error.c:488 +#: builtins/common.c:272 error.c:511 #, c-format msgid "%s: readonly variable" -msgstr "%s:只讀變數" +msgstr "%s:唯讀的變數" -#: builtins/common.c:272 +#: builtins/common.c:280 #, c-format msgid "%s: %s out of range" msgstr "%s:%s 超出範圍" -#: builtins/common.c:272 builtins/common.c:274 +#: builtins/common.c:280 builtins/common.c:282 msgid "argument" msgstr "引數" -#: builtins/common.c:274 +#: builtins/common.c:282 #, c-format msgid "%s out of range" msgstr "%s 超出範圍" -#: builtins/common.c:282 +#: builtins/common.c:290 #, c-format msgid "%s: no such job" -msgstr "%s:沒有此類的工作" +msgstr "%s:沒有此類工作" -#: builtins/common.c:290 +#: builtins/common.c:298 #, c-format msgid "%s: no job control" msgstr "%s:沒有工作控制" -#: builtins/common.c:292 +#: builtins/common.c:300 msgid "no job control" msgstr "沒有工作控制" -#: builtins/common.c:302 +#: builtins/common.c:310 #, c-format msgid "%s: restricted" -msgstr "%s:有限的" +msgstr "%s:受限的" -#: builtins/common.c:304 +#: builtins/common.c:312 msgid "restricted" -msgstr "有限的" +msgstr "受限的" -#: builtins/common.c:312 +#: builtins/common.c:320 #, c-format msgid "%s: not a shell builtin" msgstr "%s:不是一個內建 shell" -#: builtins/common.c:321 +#: builtins/common.c:329 #, c-format msgid "write error: %s" msgstr "寫入錯誤: %s" -#: builtins/common.c:329 +#: builtins/common.c:337 #, c-format msgid "error setting terminal attributes: %s" -msgstr "" +msgstr "設定終端屬性時出錯: %s" -#: builtins/common.c:331 +#: builtins/common.c:339 #, c-format msgid "error getting terminal attributes: %s" -msgstr "" +msgstr "獲取終端屬性時出錯: %s" -#: builtins/common.c:563 +#: builtins/common.c:585 #, c-format msgid "%s: error retrieving current directory: %s: %s\n" msgstr "%s:錯誤檢索當前目錄: %s: %s\n" -#: builtins/common.c:629 builtins/common.c:631 +#: builtins/common.c:651 builtins/common.c:653 #, c-format msgid "%s: ambiguous job spec" -msgstr "%s:含糊的工作規格" +msgstr "%s:模稜兩可的工作規格" + +#: builtins/common.c:918 +msgid "help not available in this version" +msgstr "" -#: builtins/complete.def:277 +#: builtins/complete.def:278 #, c-format msgid "%s: invalid action name" msgstr "%s:無效的功能名稱" -#: builtins/complete.def:450 builtins/complete.def:645 -#: builtins/complete.def:855 +#: builtins/complete.def:452 builtins/complete.def:647 +#: builtins/complete.def:858 #, c-format msgid "%s: no completion specification" msgstr "%s:沒有完成的規格" -#: builtins/complete.def:697 +#: builtins/complete.def:699 msgid "warning: -F option may not work as you expect" msgstr "警告: -F 選項可能無法按預期工作" -#: builtins/complete.def:699 +#: builtins/complete.def:701 msgid "warning: -C option may not work as you expect" msgstr "警告: -C 選項可能無法按預期工作" -#: builtins/complete.def:828 +#: builtins/complete.def:831 msgid "not currently executing completion function" -msgstr "" +msgstr "當前未執行補完功能" -#: builtins/declare.def:126 +#: builtins/declare.def:127 msgid "can only be used in a function" -msgstr "只能用在一個函數" +msgstr "只能用在函數中" -#: builtins/declare.def:315 builtins/declare.def:509 +#: builtins/declare.def:332 builtins/declare.def:685 #, c-format msgid "%s: reference variable cannot be an array" -msgstr "" +msgstr "%s: 引用變數不能為陣列" -#: builtins/declare.def:324 +#: builtins/declare.def:343 variables.c:2959 #, c-format msgid "%s: nameref variable self references not allowed" -msgstr "" +msgstr "%s: 不允許名稱引用變數引用自身" + +#: builtins/declare.def:348 variables.c:1928 variables.c:2877 variables.c:2889 +#: variables.c:2956 +#, c-format +msgid "%s: circular name reference" +msgstr "%s: 迴圈變數名引用" + +#: builtins/declare.def:353 builtins/declare.def:691 builtins/declare.def:702 +#, fuzzy, c-format +msgid "`%s': invalid variable name for name reference" +msgstr "%s: 無效的引用變數名" -#: builtins/declare.def:398 +#: builtins/declare.def:463 msgid "cannot use `-f' to make functions" -msgstr "" +msgstr "無法用「-f」生成函數" -#: builtins/declare.def:410 execute_cmd.c:5361 +#: builtins/declare.def:475 execute_cmd.c:5632 #, c-format msgid "%s: readonly function" -msgstr "%s:只讀函數" +msgstr "%s:唯讀函數" -#: builtins/declare.def:553 +#: builtins/declare.def:753 #, c-format -msgid "%s: cannot destroy array variables in this way" +msgid "%s: quoted compound array assignment deprecated" msgstr "" -#: builtins/declare.def:560 builtins/read.def:733 +#: builtins/declare.def:767 +#, c-format +msgid "%s: cannot destroy array variables in this way" +msgstr "%s: 無法以這種方式銷毀陣列變數" + +#: builtins/declare.def:774 builtins/read.def:751 #, c-format msgid "%s: cannot convert associative to indexed array" -msgstr "" +msgstr "%s: 無法將關聯陣列轉化為索引陣列" -#: builtins/enable.def:137 builtins/enable.def:145 +#: builtins/enable.def:143 builtins/enable.def:151 msgid "dynamic loading not available" -msgstr "" +msgstr "動態載入不可用" -#: builtins/enable.def:312 +#: builtins/enable.def:343 #, c-format msgid "cannot open shared object %s: %s" -msgstr "" +msgstr "無法開啟共享物件 %s: %s" -#: builtins/enable.def:335 +#: builtins/enable.def:369 #, c-format msgid "cannot find %s in shared object %s: %s" +msgstr "無法在共享物件 %2$s 中找到 %1$s: %3$s" + +#: builtins/enable.def:387 +#, c-format +msgid "load function for %s returns failure (%d): not loaded" msgstr "" -#: builtins/enable.def:459 +#: builtins/enable.def:512 #, c-format msgid "%s: not dynamically loaded" -msgstr "" +msgstr "%s: 未以動態方式載入" -#: builtins/enable.def:474 +#: builtins/enable.def:538 #, c-format msgid "%s: cannot delete: %s" -msgstr "" +msgstr "%s: 無法刪除: %s" -#: builtins/evalfile.c:140 builtins/hash.def:171 execute_cmd.c:5208 -#: shell.c:1481 +#: builtins/evalfile.c:144 builtins/hash.def:172 execute_cmd.c:5472 #, c-format msgid "%s: is a directory" -msgstr "" +msgstr "%s: 是一個目錄" -#: builtins/evalfile.c:146 +#: builtins/evalfile.c:150 #, c-format msgid "%s: not a regular file" -msgstr "" +msgstr "%s: 不是常規檔案" -#: builtins/evalfile.c:155 +#: builtins/evalfile.c:159 #, c-format msgid "%s: file is too large" -msgstr "" +msgstr "%s: 檔案太大" -#: builtins/evalfile.c:190 builtins/evalfile.c:208 shell.c:1491 +#: builtins/evalfile.c:194 builtins/evalfile.c:212 shell.c:1578 #, c-format msgid "%s: cannot execute binary file" -msgstr "" +msgstr "%s: 無法執行二進位檔案" -#: builtins/exec.def:154 builtins/exec.def:156 builtins/exec.def:228 +#: builtins/exec.def:156 builtins/exec.def:158 builtins/exec.def:235 #, c-format msgid "%s: cannot execute: %s" -msgstr "" +msgstr "%s: 無法執行: %s" -#: builtins/exit.def:65 +#: builtins/exit.def:67 #, c-format msgid "logout\n" -msgstr "" +msgstr "登出\n" -#: builtins/exit.def:88 +#: builtins/exit.def:92 msgid "not login shell: use `exit'" -msgstr "" +msgstr "不是登入 shell: 使用「exit」" -#: builtins/exit.def:120 +#: builtins/exit.def:124 #, c-format msgid "There are stopped jobs.\n" -msgstr "" +msgstr "有停止的工作。\n" -#: builtins/exit.def:122 +#: builtins/exit.def:126 #, c-format msgid "There are running jobs.\n" -msgstr "" +msgstr "有執行中的工作。\n" -#: builtins/fc.def:262 +#: builtins/fc.def:269 msgid "no command found" -msgstr "" +msgstr "未找到命令" -#: builtins/fc.def:320 builtins/fc.def:369 +#: builtins/fc.def:327 builtins/fc.def:376 msgid "history specification" -msgstr "" +msgstr "歷史記錄規格" -#: builtins/fc.def:390 +#: builtins/fc.def:397 #, c-format msgid "%s: cannot open temp file: %s" -msgstr "" +msgstr "%s: 無法開啟臨時檔案: %s" -#: builtins/fg_bg.def:149 builtins/jobs.def:282 +#: builtins/fg_bg.def:153 builtins/jobs.def:284 msgid "current" -msgstr "" +msgstr "當前" -#: builtins/fg_bg.def:158 +#: builtins/fg_bg.def:162 #, c-format msgid "job %d started without job control" -msgstr "" +msgstr "在不帶工作控制的情況下啟動了工作 %d" #: builtins/getopt.c:110 #, c-format msgid "%s: illegal option -- %c\n" -msgstr "" +msgstr "%s: 非法選項 -- %c\n" #: builtins/getopt.c:111 #, c-format msgid "%s: option requires an argument -- %c\n" -msgstr "" +msgstr "%s: 選項需要一個引數 -- %c\n" #: builtins/hash.def:92 msgid "hashing disabled" -msgstr "" +msgstr "已停用雜湊" -#: builtins/hash.def:138 +#: builtins/hash.def:139 #, c-format msgid "%s: hash table empty\n" -msgstr "" +msgstr "%s: 雜湊表為空\n" -#: builtins/hash.def:245 -#, fuzzy, c-format +#: builtins/hash.def:254 +#, c-format msgid "hits\tcommand\n" -msgstr "最後的命令: %s\n" +msgstr "命中\t命令\n" -#: builtins/help.def:130 +#: builtins/help.def:135 #, c-format msgid "Shell commands matching keyword `" msgid_plural "Shell commands matching keywords `" -msgstr[0] "" +msgstr[0] "Shell 命令,匹配關鍵詞 `" -#: builtins/help.def:182 +#: builtins/help.def:187 #, c-format msgid "" "no help topics match `%s'. Try `help help' or `man -k %s' or `info %s'." msgstr "" +"沒有與「%s」匹配的說明主題。嘗試「help help」或「man -k %s」或「info %s」。" -#: builtins/help.def:199 +#: builtins/help.def:226 #, c-format msgid "%s: cannot open: %s" -msgstr "" +msgstr "%s: 無法開啟: %s" -#: builtins/help.def:485 +#: builtins/help.def:526 #, c-format msgid "" "These shell commands are defined internally. Type `help' to see this list.\n" @@ -486,136 +525,148 @@ msgid "" "A star (*) next to a name means that the command is disabled.\n" "\n" msgstr "" +"這些 shell 命令是內部定義的。請輸入「help」以獲取一個列表。\n" +"輸入「help 名稱」以得到有關函數「名稱」的更多資訊。\n" +"使用「info bash」來獲得關於 shell 的更多一般性資訊。\n" +"使用「man -k」或「info」來獲取不在列表中命令的更多資訊。\n" +"\n" +"名稱旁邊的星號(*)表示該命令被停用。\n" +"\n" -#: builtins/history.def:154 +#: builtins/history.def:155 msgid "cannot use more than one of -anrw" -msgstr "" +msgstr "最多能使用 -anrw 選項之一" -#: builtins/history.def:186 +#: builtins/history.def:187 msgid "history position" -msgstr "" +msgstr "歷史記錄位置" + +#: builtins/history.def:264 +#, fuzzy, c-format +msgid "%s: invalid timestamp" +msgstr "%s: 無效引數" -#: builtins/history.def:366 +#: builtins/history.def:375 #, c-format msgid "%s: history expansion failed" -msgstr "" +msgstr "%s: 歷史記錄擴充套件失敗" #: builtins/inlib.def:71 -#, fuzzy, c-format +#, c-format msgid "%s: inlib failed" -msgstr "%s:無效服務" +msgstr "%s: inlib 失敗" #: builtins/jobs.def:109 msgid "no other options allowed with `-x'" -msgstr "" +msgstr "其他選項不能與「-x」同時使用" -#: builtins/kill.def:200 +#: builtins/kill.def:202 #, c-format msgid "%s: arguments must be process or job IDs" -msgstr "" +msgstr "%s: 引數必須是行程或工作 ID" -#: builtins/kill.def:263 +#: builtins/kill.def:265 msgid "Unknown error" -msgstr "" +msgstr "不明錯誤" -#: builtins/let.def:95 builtins/let.def:120 expr.c:583 expr.c:598 +#: builtins/let.def:97 builtins/let.def:122 expr.c:583 expr.c:598 msgid "expression expected" -msgstr "" +msgstr "需要表示式" -#: builtins/mapfile.def:172 +#: builtins/mapfile.def:178 #, c-format msgid "%s: not an indexed array" -msgstr "" +msgstr "%s: 不是一個索引陣列" -#: builtins/mapfile.def:259 builtins/read.def:302 +#: builtins/mapfile.def:272 builtins/read.def:306 #, c-format msgid "%s: invalid file descriptor specification" -msgstr "" +msgstr "%s: 無效的檔案描述符規格" -#: builtins/mapfile.def:267 builtins/read.def:309 +#: builtins/mapfile.def:280 builtins/read.def:313 #, c-format msgid "%d: invalid file descriptor: %s" -msgstr "" +msgstr "%d: 無效的檔案描述符: %s" -#: builtins/mapfile.def:276 builtins/mapfile.def:314 -#, fuzzy, c-format +#: builtins/mapfile.def:289 builtins/mapfile.def:327 +#, c-format msgid "%s: invalid line count" -msgstr "%s:無效選項" +msgstr "%s: 無效的列數" -#: builtins/mapfile.def:287 -#, fuzzy, c-format +#: builtins/mapfile.def:300 +#, c-format msgid "%s: invalid array origin" -msgstr "%s:無效選項" +msgstr "%s: 無效的陣列原點" -#: builtins/mapfile.def:304 -#, fuzzy, c-format +#: builtins/mapfile.def:317 +#, c-format msgid "%s: invalid callback quantum" -msgstr "%s:無效的功能名稱" +msgstr "%s: 無效的回呼定量" -#: builtins/mapfile.def:336 +#: builtins/mapfile.def:350 msgid "empty array variable name" -msgstr "" +msgstr "空陣列變數名" -#: builtins/mapfile.def:357 +#: builtins/mapfile.def:371 msgid "array variable support required" -msgstr "" +msgstr "需要陣列變數支援" -#: builtins/printf.def:402 +#: builtins/printf.def:412 #, c-format msgid "`%s': missing format character" -msgstr "" +msgstr "「%s」: 缺少格式字元" -#: builtins/printf.def:456 -#, fuzzy, c-format +#: builtins/printf.def:467 +#, c-format msgid "`%c': invalid time format specification" -msgstr "%s:無效的信號規格" +msgstr "「%c」: 無效的時間格式規格" -#: builtins/printf.def:658 +#: builtins/printf.def:669 #, c-format msgid "`%c': invalid format character" -msgstr "" +msgstr "「%c」: 無效格式字元" -#: builtins/printf.def:684 -#, fuzzy, c-format +#: builtins/printf.def:695 +#, c-format msgid "warning: %s: %s" -msgstr "%s:警告:" +msgstr "警告: %s: %s" -#: builtins/printf.def:768 +#: builtins/printf.def:781 #, c-format msgid "format parsing problem: %s" -msgstr "" +msgstr "格式解析問題: %s" -#: builtins/printf.def:865 +#: builtins/printf.def:878 msgid "missing hex digit for \\x" -msgstr "" +msgstr "使用了 \\x 但缺少十六進位數字" -#: builtins/printf.def:880 +#: builtins/printf.def:893 #, c-format msgid "missing unicode digit for \\%c" -msgstr "" +msgstr "使用了 \\%c 但缺少萬國碼數字" -#: builtins/pushd.def:195 +#: builtins/pushd.def:199 msgid "no other directory" -msgstr "" +msgstr "無其他目錄" -#: builtins/pushd.def:354 -#, fuzzy, c-format +#: builtins/pushd.def:360 +#, c-format msgid "%s: invalid argument" -msgstr "%s:無效選項" +msgstr "%s: 無效引數" -#: builtins/pushd.def:468 +#: builtins/pushd.def:475 msgid "" -msgstr "" +msgstr "<無當前目錄>" -#: builtins/pushd.def:512 +#: builtins/pushd.def:519 msgid "directory stack empty" -msgstr "" +msgstr "目錄堆疊為空" -#: builtins/pushd.def:514 +#: builtins/pushd.def:521 msgid "directory stack index" -msgstr "" +msgstr "目錄堆疊索引" -#: builtins/pushd.def:689 +#: builtins/pushd.def:696 msgid "" "Display the list of currently remembered directories. Directories\n" " find their way onto the list with the `pushd' command; you can get\n" @@ -638,8 +689,26 @@ msgid "" "by\n" "\tdirs when invoked without options, starting with zero." msgstr "" +"顯示當前記住的目錄列表。 目錄\n" +" 藉由「pushd」命令加入這個列表;您可以\n" +" 使用「popd」命令對列表進行遍歷。\n" +" \n" +" 選項:\n" +" -c\t刪除所有元素以清除目錄堆疊\n" +" -l\t不印出與家目錄相關的以波浪號\n" +" \t為字首的目錄\n" +" -p\t每列一個條目印出目錄堆疊\n" +" -v\t以堆疊位置為字首,每列一個條目\n" +" \t印出目錄堆疊\n" +" \n" +" 引數:\n" +" +N\t以 dirs 不帶選項輸出的順序,從左起第 N 個條目顯示列表,\n" +" \t從 0 開始。\n" +" \n" +" -N\t以 dirs 不帶選項輸出的順序,從右起第 N 個項目顯示列表,\n" +"\t從 0 開始。" -#: builtins/pushd.def:711 +#: builtins/pushd.def:718 msgid "" "Adds a directory to the top of the directory stack, or rotates\n" " the stack, making the new top of the stack the current working\n" @@ -663,8 +732,29 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" +"在目錄堆疊頂部加入一個目錄,或者論詢\n" +" 目錄堆疊,是當前工作目錄成為新的堆疊頂端\n" +" 不帶引數時,交換堆疊頂端的兩個目錄。\n" +" \n" +" 選項:\n" +" -n\t抑制增加堆疊中目錄時通常變更目錄的操作,\n" +" \t從而只有堆疊被操作。\n" +" \n" +" 引數:\n" +" +N\t輪轉堆疊使得第 N 個目錄(「dirs」的\n" +" \t輸出列表中左起,從 0 開始)\n" +" \t升至堆疊頂端。\n" +" \n" +" -N\t輪轉堆疊使得第 N 個目錄(「dirs」的\n" +" \t輸出列表中右起,從 0 開始)\n" +" \t升至堆疊頂端\n" +" \n" +" dir\t新增目錄至堆疊頂端,並\n" +" \t使其成為新的當前工作目錄。\n" +" \n" +" 「dirs」內建命令顯示目錄堆疊。" -#: builtins/pushd.def:736 +#: builtins/pushd.def:743 msgid "" "Removes entries from the directory stack. With no arguments, removes\n" " the top directory from the stack, and changes to the new top directory.\n" @@ -684,146 +774,173 @@ msgid "" " \n" " The `dirs' builtin displays the directory stack." msgstr "" +"從目錄堆疊中刪除條目。不帶引數時,刪除\n" +" 堆疊頂端目錄並變更至新的堆疊頂端目錄。\n" +" \n" +" 選項:\n" +" -n\t抑制從堆疊中刪除目錄時通常變更目錄操作,\n" +" \t從而只有堆疊被操作。\n" +" \n" +" 引數:\n" +" +N\t從「dirs」輸出的列表中,\n" +" \t刪除左起第 N 個條目,計數從 0 開始。例如:「popd +0」\n" +" \t刪除第一個目錄,「popd +1」刪除第二個。\n" +" \n" +" -N\t從「dirs」輸出的列表中,\n" +" \t刪除右起第 N 個條目,計數從 0 開始,例如:「popd -0」\n" +" \t刪除最後一個條目,「popd -1」刪除倒數第二個。\n" +" \n" +" 「dirs」內建變數顯示目錄堆疊。" -#: builtins/read.def:275 +#: builtins/read.def:279 #, c-format msgid "%s: invalid timeout specification" -msgstr "" +msgstr "%s: 無效的逾時規格" -#: builtins/read.def:678 +#: builtins/read.def:696 #, c-format msgid "read error: %d: %s" -msgstr "" +msgstr "讀取錯誤: %d: %s" -#: builtins/return.def:75 +#: builtins/return.def:71 msgid "can only `return' from a function or sourced script" -msgstr "" +msgstr "只能從函數或者原始指令稿「return」" -#: builtins/set.def:782 +#: builtins/set.def:841 msgid "cannot simultaneously unset a function and a variable" -msgstr "" +msgstr "無法同時取消設定一個函數和一個變數" -#: builtins/set.def:826 +#: builtins/set.def:888 #, c-format msgid "%s: cannot unset" -msgstr "" +msgstr "%s: 無法取消設定" -#: builtins/set.def:843 +#: builtins/set.def:909 variables.c:3389 #, c-format msgid "%s: cannot unset: readonly %s" -msgstr "" +msgstr "%s: 無法取消設定: 唯讀 %s" -#: builtins/set.def:854 +#: builtins/set.def:922 #, c-format msgid "%s: not an array variable" -msgstr "" +msgstr "%s: 不是陣列變數" -#: builtins/setattr.def:187 +#: builtins/setattr.def:191 #, c-format msgid "%s: not a function" -msgstr "" +msgstr "%s: 不是函數" + +#: builtins/setattr.def:196 +#, fuzzy, c-format +msgid "%s: cannot export" +msgstr "%s: 無法取消設定" -#: builtins/shift.def:71 builtins/shift.def:77 +#: builtins/shift.def:73 builtins/shift.def:79 msgid "shift count" -msgstr "" +msgstr "位移計數" -#: builtins/shopt.def:279 +#: builtins/shopt.def:289 msgid "cannot set and unset shell options simultaneously" -msgstr "" +msgstr "無法同時設定和取消設定 shell 選項" -#: builtins/shopt.def:346 +#: builtins/shopt.def:391 #, c-format msgid "%s: invalid shell option name" -msgstr "" +msgstr "%s: 無效的 shell 選項名稱" -#: builtins/source.def:130 +#: builtins/source.def:131 msgid "filename argument required" -msgstr "" +msgstr "需要檔名引數" -#: builtins/source.def:155 +#: builtins/source.def:157 #, c-format msgid "%s: file not found" -msgstr "" +msgstr "%s: 檔案未找到" -#: builtins/suspend.def:101 +#: builtins/suspend.def:102 msgid "cannot suspend" -msgstr "" +msgstr "無法懸置" -#: builtins/suspend.def:111 +#: builtins/suspend.def:112 msgid "cannot suspend a login shell" -msgstr "" +msgstr "無法將登入 shell 懸置" -#: builtins/type.def:234 +#: builtins/type.def:236 #, c-format msgid "%s is aliased to `%s'\n" -msgstr "" +msgstr "%s 是「%s」的別名\n" -#: builtins/type.def:255 +#: builtins/type.def:257 #, c-format msgid "%s is a shell keyword\n" -msgstr "" +msgstr "%s 是 shell 關鍵字\n" -#: builtins/type.def:274 +#: builtins/type.def:276 #, c-format msgid "%s is a function\n" -msgstr "" +msgstr "%s 是一個函數\n" + +#: builtins/type.def:300 +#, fuzzy, c-format +msgid "%s is a special shell builtin\n" +msgstr "%s 是 shell 內建\n" -#: builtins/type.def:296 +#: builtins/type.def:302 #, c-format msgid "%s is a shell builtin\n" -msgstr "" +msgstr "%s 是 shell 內建\n" -#: builtins/type.def:317 builtins/type.def:393 +#: builtins/type.def:324 builtins/type.def:409 #, c-format msgid "%s is %s\n" -msgstr "" +msgstr "%s 是 %s\n" -#: builtins/type.def:337 +#: builtins/type.def:344 #, c-format msgid "%s is hashed (%s)\n" -msgstr "" +msgstr "%s 已進行雜湊操作(%s)\n" -#: builtins/ulimit.def:383 +#: builtins/ulimit.def:398 #, c-format msgid "%s: invalid limit argument" -msgstr "" +msgstr "%s: 無效的 limit 引數" -#: builtins/ulimit.def:409 +#: builtins/ulimit.def:424 #, c-format msgid "`%c': bad command" -msgstr "`%c':壞的命令" +msgstr "「%c」:不當的命令" -#: builtins/ulimit.def:438 +#: builtins/ulimit.def:453 #, c-format msgid "%s: cannot get limit: %s" -msgstr "%s:不能得到 limit: %s" +msgstr "%s:不能得到 limit: %s" -#: builtins/ulimit.def:464 +#: builtins/ulimit.def:479 msgid "limit" -msgstr "" +msgstr "limit" -#: builtins/ulimit.def:476 builtins/ulimit.def:776 +#: builtins/ulimit.def:491 builtins/ulimit.def:791 #, c-format msgid "%s: cannot modify limit: %s" -msgstr "%s:不能修改 limit: %s" +msgstr "%s:不能修改 limit: %s" -#: builtins/umask.def:114 +#: builtins/umask.def:115 msgid "octal number" -msgstr "八進制數" +msgstr "八進位數字" -#: builtins/umask.def:227 +#: builtins/umask.def:232 #, c-format msgid "`%c': invalid symbolic mode operator" -msgstr "" +msgstr "「%c」: 無效的符號狀態運算子" -#: builtins/umask.def:282 +#: builtins/umask.def:287 #, c-format msgid "`%c': invalid symbolic mode character" -msgstr "" +msgstr "「%c」: 無效的符號狀態字元" -#: error.c:90 error.c:325 error.c:327 error.c:329 +#: error.c:90 error.c:348 error.c:350 error.c:352 msgid " line " -msgstr "" +msgstr " 列 " #: error.c:165 #, c-format @@ -833,323 +950,343 @@ msgstr "最後的命令: %s\n" #: error.c:173 #, c-format msgid "Aborting..." +msgstr "中止…" + +#. TRANSLATORS: this is a prefix for informational messages. +#: error.c:288 +#, c-format +msgid "INFORM: " msgstr "" -#: error.c:440 +#: error.c:463 msgid "unknown command error" -msgstr "未知命令錯誤" +msgstr "不明命令錯誤" -#: error.c:441 +#: error.c:464 msgid "bad command type" -msgstr "壞的命令類型" +msgstr "不當的命令類型" -#: error.c:442 +#: error.c:465 msgid "bad connector" -msgstr "壞的連接器" +msgstr "不當的連接器" -#: error.c:443 +#: error.c:466 msgid "bad jump" -msgstr "" +msgstr "錯誤的跳轉" -#: error.c:481 +#: error.c:504 #, c-format msgid "%s: unbound variable" -msgstr "" +msgstr "%s: 未繫結的變數" -#: eval.c:189 +#: eval.c:209 #, c-format msgid "\atimed out waiting for input: auto-logout\n" -msgstr "" +msgstr "\a 等待輸入逾時:自動登出\n" -#: execute_cmd.c:512 +#: execute_cmd.c:527 #, c-format msgid "cannot redirect standard input from /dev/null: %s" -msgstr "" +msgstr "無法從 /dev/null 重定向標準輸入: %s" -#: execute_cmd.c:1233 +#: execute_cmd.c:1275 #, c-format msgid "TIMEFORMAT: `%c': invalid format character" +msgstr "時間格式:「%c」: 無效的格式字元" + +#: execute_cmd.c:2273 +#, c-format +msgid "execute_coproc: coproc [%d:%s] still exists" msgstr "" -#: execute_cmd.c:2287 -#, fuzzy +#: execute_cmd.c:2377 msgid "pipe error" -msgstr "寫入錯誤: %s" +msgstr "管道錯誤" + +#: execute_cmd.c:4496 +#, fuzzy, c-format +msgid "eval: maximum eval nesting level exceeded (%d)" +msgstr "%s: 超出最大函數巢狀層數 (%d)" -#: execute_cmd.c:4386 +#: execute_cmd.c:4508 +#, fuzzy, c-format +msgid "%s: maximum source nesting level exceeded (%d)" +msgstr "%s: 超出最大函數巢狀層數 (%d)" + +#: execute_cmd.c:4616 #, c-format msgid "%s: maximum function nesting level exceeded (%d)" -msgstr "" +msgstr "%s: 超出最大函數巢狀層數 (%d)" -#: execute_cmd.c:4884 +#: execute_cmd.c:5144 #, c-format msgid "%s: restricted: cannot specify `/' in command names" -msgstr "" +msgstr "%s: 受限的: 無法在命令名稱中使用「/」" -#: execute_cmd.c:4973 +#: execute_cmd.c:5232 #, c-format msgid "%s: command not found" msgstr "%s:命令找不到" -#: execute_cmd.c:5206 +#: execute_cmd.c:5470 #, c-format msgid "%s: %s" -msgstr "" +msgstr "%s: %s" -#: execute_cmd.c:5243 +#: execute_cmd.c:5508 #, c-format msgid "%s: %s: bad interpreter" -msgstr "" +msgstr "%s: %s: 不當的直譯器" -#: execute_cmd.c:5280 -#, fuzzy, c-format +#: execute_cmd.c:5545 +#, c-format msgid "%s: cannot execute binary file: %s" -msgstr "%s:不能得到 limit: %s" +msgstr "%s: 無法執行二進位檔案: %s" -#: execute_cmd.c:5352 -#, fuzzy, c-format +#: execute_cmd.c:5623 +#, c-format msgid "`%s': is a special builtin" -msgstr "%s:不是一個內建 shell" +msgstr "「%s」: 特殊內建" -#: execute_cmd.c:5404 +#: execute_cmd.c:5675 #, c-format msgid "cannot duplicate fd %d to fd %d" -msgstr "" +msgstr "無法複製檔案描述符 %d 到檔案描述符 %d" #: expr.c:259 msgid "expression recursion level exceeded" -msgstr "" +msgstr "表示式遞迴層次超出範圍" #: expr.c:283 msgid "recursion stack underflow" -msgstr "" +msgstr "遞迴堆疊下限溢位" #: expr.c:431 msgid "syntax error in expression" -msgstr "表達語法錯誤" +msgstr "表示式語法錯誤" #: expr.c:475 msgid "attempted assignment to non-variable" -msgstr "" +msgstr "嘗試指派給非變數" #: expr.c:495 expr.c:858 msgid "division by 0" -msgstr "" +msgstr "除 0" #: expr.c:542 msgid "bug: bad expassign token" -msgstr "" +msgstr "錯誤:不當的表示式字組" #: expr.c:595 msgid "`:' expected for conditional expression" -msgstr "" +msgstr "條件表示式需要「:」" #: expr.c:919 msgid "exponent less than 0" -msgstr "" +msgstr "指數小於 0" #: expr.c:976 msgid "identifier expected after pre-increment or pre-decrement" -msgstr "" +msgstr "預增符或預減符後應跟有標識符" #: expr.c:1002 msgid "missing `)'" -msgstr "" +msgstr "缺少「)」" -#: expr.c:1053 expr.c:1390 +#: expr.c:1053 expr.c:1393 msgid "syntax error: operand expected" -msgstr "" +msgstr "語法錯誤: 需要運算元" -#: expr.c:1392 +#: expr.c:1395 msgid "syntax error: invalid arithmetic operator" -msgstr "" +msgstr "語法錯誤: 無效的算術運算子" -#: expr.c:1416 +#: expr.c:1419 #, c-format msgid "%s%s%s: %s (error token is \"%s\")" -msgstr "" +msgstr "%s%s%s: %s (錯誤字組是「%s」)" -#: expr.c:1474 +#: expr.c:1477 msgid "invalid arithmetic base" -msgstr "" +msgstr "無效的算術進位" -#: expr.c:1494 +#: expr.c:1497 msgid "value too great for base" -msgstr "" +msgstr "數值太大不可為算術進位的基底" -#: expr.c:1543 +#: expr.c:1546 #, c-format msgid "%s: expression error\n" -msgstr "" +msgstr "%s: 表示式錯誤\n" -#: general.c:62 +#: general.c:68 msgid "getcwd: cannot access parent directories" -msgstr "" +msgstr "getcwd: 無法訪問上層目錄" -#: input.c:102 subst.c:5168 +#: input.c:102 subst.c:5858 #, c-format msgid "cannot reset nodelay mode for fd %d" -msgstr "" +msgstr "無法為檔案描述符 %d 重置無延遲模式" #: input.c:271 #, c-format msgid "cannot allocate new file descriptor for bash input from fd %d" -msgstr "" +msgstr "無法從檔案描述符 %d 為 bash 的輸入獲取一個新的檔案描述符" #: input.c:279 #, c-format msgid "save_bash_input: buffer already exists for new fd %d" -msgstr "" +msgstr "save_bash_input: 已經存在新的檔案描述符 %d 的緩衝區" -#: jobs.c:471 +#: jobs.c:527 msgid "start_pipeline: pgrp pipe" -msgstr "" +msgstr "start_pipeline: 行程群組管道" -#: jobs.c:893 +#: jobs.c:1035 #, c-format msgid "forked pid %d appears in running job %d" -msgstr "" +msgstr "生成的行程識別號 %d 顯示為執行中的工作 %d" -#: jobs.c:1012 +#: jobs.c:1154 #, c-format msgid "deleting stopped job %d with process group %ld" -msgstr "" +msgstr "刪除行程群組 %2$ld 中已停止的工作 %1$d" -#: jobs.c:1117 +#: jobs.c:1258 #, c-format msgid "add_process: process %5ld (%s) in the_pipeline" -msgstr "" +msgstr "add_process: 行程 %5ld(%s) 進入 the_pipeline" -#: jobs.c:1120 +#: jobs.c:1261 #, c-format msgid "add_process: pid %5ld (%s) marked as still alive" -msgstr "" +msgstr "add_process: 行程識別號 %5ld(%s) 標註為仍活著" -#: jobs.c:1435 +#: jobs.c:1590 #, c-format msgid "describe_pid: %ld: no such pid" -msgstr "" +msgstr "describe_pid: %ld: 無此行程識別號" -#: jobs.c:1450 +#: jobs.c:1605 #, c-format msgid "Signal %d" -msgstr "" +msgstr "訊號 %d" -#: jobs.c:1464 jobs.c:1489 +#: jobs.c:1619 jobs.c:1645 msgid "Done" -msgstr "" +msgstr "已完成" -#: jobs.c:1469 siglist.c:123 +#: jobs.c:1624 siglist.c:123 msgid "Stopped" -msgstr "" +msgstr "已停止" -#: jobs.c:1473 +#: jobs.c:1628 #, c-format msgid "Stopped(%s)" -msgstr "" +msgstr "已停止(%s)" -#: jobs.c:1477 +#: jobs.c:1632 msgid "Running" -msgstr "" +msgstr "執行中" -#: jobs.c:1491 +#: jobs.c:1649 #, c-format msgid "Done(%d)" -msgstr "" +msgstr "已完成(%d)" -#: jobs.c:1493 +#: jobs.c:1651 #, c-format msgid "Exit %d" -msgstr "" +msgstr "退出 %d" -#: jobs.c:1496 +#: jobs.c:1654 msgid "Unknown status" -msgstr "" +msgstr "不明狀態" -#: jobs.c:1583 +#: jobs.c:1741 #, c-format msgid "(core dumped) " -msgstr "" +msgstr "(核心已傾印)" -#: jobs.c:1602 +#: jobs.c:1760 #, c-format msgid " (wd: %s)" -msgstr "" +msgstr " (工作目錄: %s)" -#: jobs.c:1819 +#: jobs.c:1985 #, c-format msgid "child setpgid (%ld to %ld)" -msgstr "" +msgstr "子行程 setpgid (%ld 到 %ld)" -#: jobs.c:2138 nojobs.c:605 +#: jobs.c:2347 nojobs.c:654 #, c-format msgid "wait: pid %ld is not a child of this shell" -msgstr "" +msgstr "wait: 行程識別號 %ld 不是當前 shell 的子行程" -#: jobs.c:2385 +#: jobs.c:2602 #, c-format msgid "wait_for: No record of process %ld" -msgstr "" +msgstr "wiat_for: 沒有行程 %ld 的記錄" -#: jobs.c:2694 +#: jobs.c:2929 #, c-format msgid "wait_for_job: job %d is stopped" -msgstr "" +msgstr "wait_for_job: 工作 %d 已停止" -#: jobs.c:2986 +#: jobs.c:3221 #, c-format msgid "%s: job has terminated" -msgstr "" +msgstr "%s: 工作已經終止" -#: jobs.c:2995 +#: jobs.c:3230 #, c-format msgid "%s: job %d already in background" -msgstr "" +msgstr "%s: 工作 %d 已在背景執行" -#: jobs.c:3220 +#: jobs.c:3455 msgid "waitchld: turning on WNOHANG to avoid indefinite block" -msgstr "" +msgstr "waitchld: 開啟 WNOHANG 以避免無限阻塞" -#: jobs.c:3711 -#, fuzzy, c-format +#: jobs.c:3970 +#, c-format msgid "%s: line %d: " -msgstr "%s:警告:" +msgstr "%s: 第 %d 列:" -#: jobs.c:3725 nojobs.c:843 +#: jobs.c:3984 nojobs.c:897 #, c-format msgid " (core dumped)" -msgstr "" +msgstr " (核心已傾印)" -#: jobs.c:3737 jobs.c:3750 +#: jobs.c:3996 jobs.c:4009 #, c-format msgid "(wd now: %s)\n" -msgstr "" +msgstr "(當前工作目錄:%s)\n" -#: jobs.c:3782 +#: jobs.c:4041 msgid "initialize_job_control: getpgrp failed" -msgstr "" +msgstr "initialize_job_control: getpgrp 失敗" -#: jobs.c:3843 +#: jobs.c:4104 msgid "initialize_job_control: line discipline" -msgstr "" +msgstr "initialize_job_control: 列規律" -#: jobs.c:3853 +#: jobs.c:4114 msgid "initialize_job_control: setpgid" -msgstr "" +msgstr "initialize_job_control: setpgid" -#: jobs.c:3874 jobs.c:3883 +#: jobs.c:4135 jobs.c:4144 #, c-format msgid "cannot set terminal process group (%d)" -msgstr "" +msgstr "無法設定終端行程群組(%d)" -#: jobs.c:3888 +#: jobs.c:4149 msgid "no job control in this shell" -msgstr "" +msgstr "æ­¤ shell 中無工作控制" #: lib/malloc/malloc.c:296 #, c-format msgid "malloc: failed assertion: %s\n" -msgstr "" +msgstr "malloc: 主張失敗: %s\n" #: lib/malloc/malloc.c:312 #, c-format @@ -1157,67 +1294,68 @@ msgid "" "\r\n" "malloc: %s:%d: assertion botched\r\n" msgstr "" +"\r\n" +"malloc: %s:%d: 主張已修補\r\n" #: lib/malloc/malloc.c:313 -#, fuzzy msgid "unknown" -msgstr "%s:主機未知" +msgstr "不明" #: lib/malloc/malloc.c:801 msgid "malloc: block on free list clobbered" -msgstr "" +msgstr "malloc: 空閒串列中的區塊損壞" #: lib/malloc/malloc.c:878 msgid "free: called with already freed block argument" -msgstr "" +msgstr "free: 用已經釋放的區塊做為呼叫引數" #: lib/malloc/malloc.c:881 msgid "free: called with unallocated block argument" -msgstr "" +msgstr "free: 用未分配的區塊做為呼叫引數" #: lib/malloc/malloc.c:900 msgid "free: underflow detected; mh_nbytes out of range" -msgstr "" +msgstr "free: 檢測到下限溢位;mh_nbytes 超出範圍" #: lib/malloc/malloc.c:906 msgid "free: start and end chunk sizes differ" -msgstr "" +msgstr "free: 啟始和末尾區塊大小不一致" #: lib/malloc/malloc.c:1005 msgid "realloc: called with unallocated block argument" -msgstr "" +msgstr "realloc: 用未分配的區塊做為呼叫引數" #: lib/malloc/malloc.c:1020 msgid "realloc: underflow detected; mh_nbytes out of range" -msgstr "" +msgstr "realloc: 檢測到下限溢位;mh_nbytes 超出範圍" #: lib/malloc/malloc.c:1026 msgid "realloc: start and end chunk sizes differ" -msgstr "" +msgstr "realloc: 啟始和末尾區塊大小不一致" -#: lib/malloc/table.c:194 +#: lib/malloc/table.c:191 #, c-format msgid "register_alloc: alloc table is full with FIND_ALLOC?\n" -msgstr "" +msgstr "register_alloc: 分配表已經充滿了 FIND_ALLOC?\n" -#: lib/malloc/table.c:203 +#: lib/malloc/table.c:200 #, c-format msgid "register_alloc: %p already in table as allocated?\n" -msgstr "" +msgstr "register_alloc: %p 在表中顯示為已分配?\n" -#: lib/malloc/table.c:256 +#: lib/malloc/table.c:253 #, c-format msgid "register_free: %p already in table as free?\n" -msgstr "" +msgstr "register_free: %p 在表中顯示為已釋放?\n" #: lib/sh/fmtulong.c:102 msgid "invalid base" -msgstr "" +msgstr "無效的基底" #: lib/sh/netopen.c:168 #, c-format msgid "%s: host unknown" -msgstr "%s:主機未知" +msgstr "%s:不明的主機" #: lib/sh/netopen.c:175 #, c-format @@ -1227,31 +1365,31 @@ msgstr "%s:無效服務" #: lib/sh/netopen.c:306 #, c-format msgid "%s: bad network path specification" -msgstr "%s:壞的網路路徑規格" +msgstr "%s:不當的網路路徑規格" -#: lib/sh/netopen.c:346 +#: lib/sh/netopen.c:347 msgid "network operations not supported" msgstr "不支持網路操作" #: locale.c:200 #, c-format msgid "setlocale: LC_ALL: cannot change locale (%s)" -msgstr "" +msgstr "setlocale: LC_ALL: 無法變更語區選項 (%s)" #: locale.c:202 #, c-format msgid "setlocale: LC_ALL: cannot change locale (%s): %s" -msgstr "" +msgstr "setlocale: LC_ALL: 無法變更語區選項 (%s): %s" #: locale.c:259 #, c-format msgid "setlocale: %s: cannot change locale (%s)" -msgstr "" +msgstr "setlocale: %s: 無法變更語區選項 (%s)" #: locale.c:261 #, c-format msgid "setlocale: %s: cannot change locale (%s): %s" -msgstr "" +msgstr "setlocale: %s: 無法變更語區選項 (%s): %s" #: mailcheck.c:439 msgid "You have mail in $_" @@ -1266,1029 +1404,1089 @@ msgstr "您有新郵件在 $_" msgid "The mail in %s has been read\n" msgstr "郵件在 %s 已閱讀\n" -#: make_cmd.c:323 +#: make_cmd.c:329 msgid "syntax error: arithmetic expression required" -msgstr "語法錯誤:必須算術表達" +msgstr "語法錯誤:需要算式" -#: make_cmd.c:325 +#: make_cmd.c:331 msgid "syntax error: `;' unexpected" -msgstr "語法錯誤: `;' 意外" +msgstr "語法錯誤:「;」意外" -#: make_cmd.c:326 +#: make_cmd.c:332 #, c-format msgid "syntax error: `((%s))'" -msgstr "語法錯誤: `((%s))'" +msgstr "語法錯誤:「((%s))」" -#: make_cmd.c:578 +#: make_cmd.c:584 #, c-format msgid "make_here_document: bad instruction type %d" -msgstr "make_here_document:壞的指示類型 %d" +msgstr "make_here_document:不當的指示類型 %d" -#: make_cmd.c:662 +#: make_cmd.c:669 #, c-format msgid "here-document at line %d delimited by end-of-file (wanted `%s')" -msgstr "" +msgstr "立即文件在第 %d 列被檔案結束符分隔 (需要「%s」)" -#: make_cmd.c:759 +#: make_cmd.c:768 #, c-format msgid "make_redirection: redirection instruction `%d' out of range" -msgstr "make_redirection:重新導向指示 `%d' 超出範圍" +msgstr "make_redirection:重新導向指示「%d」超出範圍" -#: parse.y:3278 parse.y:3561 +#: parse.y:2324 #, c-format -msgid "unexpected EOF while looking for matching `%c'" +msgid "" +"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line " +"truncated" msgstr "" -#: parse.y:4170 -msgid "unexpected EOF while looking for `]]'" +#: parse.y:2700 +msgid "maximum here-document count exceeded" msgstr "" -#: parse.y:4175 +#: parse.y:3390 parse.y:3748 +#, c-format +msgid "unexpected EOF while looking for matching `%c'" +msgstr "尋找匹配的「%c」時遇到了未預期的檔案結束符" + +#: parse.y:4410 +msgid "unexpected EOF while looking for `]]'" +msgstr "尋找「]]」時遇到了未預期的檔案結束符" + +#: parse.y:4415 #, c-format msgid "syntax error in conditional expression: unexpected token `%s'" -msgstr "" +msgstr "條件表示式中有語法錯誤: 未預期的字組「%s」" -#: parse.y:4179 +#: parse.y:4419 msgid "syntax error in conditional expression" -msgstr "語法錯誤,在有條件的表達" +msgstr "語法錯誤,在有條件的表示式" -#: parse.y:4257 +#: parse.y:4497 #, c-format msgid "unexpected token `%s', expected `)'" -msgstr "" +msgstr "未預期的字組「%s」,需要「)」" -#: parse.y:4261 +#: parse.y:4501 msgid "expected `)'" -msgstr "預期 `)'" +msgstr "預期「)」" -#: parse.y:4289 +#: parse.y:4529 #, c-format msgid "unexpected argument `%s' to conditional unary operator" -msgstr "" +msgstr "一元條件運算子使用了未預期的引數「%s」" -#: parse.y:4293 +#: parse.y:4533 msgid "unexpected argument to conditional unary operator" -msgstr "" +msgstr "一元條件運算子使用了未預期的引數" -#: parse.y:4339 +#: parse.y:4579 #, c-format msgid "unexpected token `%s', conditional binary operator expected" -msgstr "" +msgstr "未預期的字組「%s」,需要二元條件運算子" -#: parse.y:4343 +#: parse.y:4583 msgid "conditional binary operator expected" -msgstr "" +msgstr "需要二元條件運算子" -#: parse.y:4365 +#: parse.y:4605 #, c-format msgid "unexpected argument `%s' to conditional binary operator" -msgstr "" +msgstr "二元條件運算子使用了未預期的引數「%s」" -#: parse.y:4369 +#: parse.y:4609 msgid "unexpected argument to conditional binary operator" -msgstr "" +msgstr "二元條件運算子使用了未預期的引數" -#: parse.y:4380 +#: parse.y:4620 #, c-format msgid "unexpected token `%c' in conditional command" -msgstr "" +msgstr "條件命令中有未預期的字組「%c」" -#: parse.y:4383 +#: parse.y:4623 #, c-format msgid "unexpected token `%s' in conditional command" -msgstr "" +msgstr "條件命令中有未預期的字組「%s」" -#: parse.y:4387 +#: parse.y:4627 #, c-format msgid "unexpected token %d in conditional command" -msgstr "" +msgstr "條件命令中有未預期的字組 %d" -#: parse.y:5737 +#: parse.y:5996 #, c-format msgid "syntax error near unexpected token `%s'" -msgstr "" +msgstr "未預期的字組「%s」附近有語法錯誤" -#: parse.y:5755 +#: parse.y:6014 #, c-format msgid "syntax error near `%s'" -msgstr "" +msgstr "「%s」附近有語法錯誤" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error: unexpected end of file" -msgstr "" +msgstr "語法錯誤: 未預期的檔案結尾" -#: parse.y:5765 +#: parse.y:6024 msgid "syntax error" msgstr "語法錯誤" -#: parse.y:5827 +#: parse.y:6086 #, c-format msgid "Use \"%s\" to leave the shell.\n" -msgstr "" +msgstr "使用「%s」退出 shell 。\n" -#: parse.y:5989 +#: parse.y:6248 msgid "unexpected EOF while looking for matching `)'" -msgstr "" +msgstr "尋找匹配的「)」時遇到了未預期的檔案結束符" -#: pcomplete.c:1094 +#: pcomplete.c:1126 #, c-format msgid "completion: function `%s' not found" +msgstr "補完: 未找到函數「%s」" + +#: pcomplete.c:1646 +#, c-format +msgid "programmable_completion: %s: possible retry loop" msgstr "" #: pcomplib.c:182 #, c-format msgid "progcomp_insert: %s: NULL COMPSPEC" -msgstr "" +msgstr "progcomp_insert: %s: 空的補完規格" -#: print_cmd.c:300 +#: print_cmd.c:302 #, c-format msgid "print_command: bad connector `%d'" -msgstr "" +msgstr "print_command: 錯誤的條件連接符「%d」" -#: print_cmd.c:373 +#: print_cmd.c:375 #, c-format msgid "xtrace_set: %d: invalid file descriptor" -msgstr "" +msgstr "xtrace_set: %d: 無效的檔案描述符" -#: print_cmd.c:378 +#: print_cmd.c:380 msgid "xtrace_set: NULL file pointer" -msgstr "" +msgstr "xtrace_set: 空的檔案指標" -#: print_cmd.c:382 +#: print_cmd.c:384 #, c-format msgid "xtrace fd (%d) != fileno xtrace fp (%d)" -msgstr "" +msgstr "xtrace fd (%d) != fileno xtrace fp (%d)" -#: print_cmd.c:1518 +#: print_cmd.c:1534 #, c-format msgid "cprintf: `%c': invalid format character" -msgstr "" +msgstr "cprintf:「%c」: 無效的格式字元" -#: redir.c:123 redir.c:170 +#: redir.c:124 redir.c:171 msgid "file descriptor out of range" -msgstr "" +msgstr "檔案描述符超出範圍" -#: redir.c:177 +#: redir.c:178 #, c-format msgid "%s: ambiguous redirect" -msgstr "" +msgstr "%s: 模稜兩可的重定向" -#: redir.c:181 +#: redir.c:182 #, c-format msgid "%s: cannot overwrite existing file" -msgstr "" +msgstr "%s: 無法覆寫已存在的檔案" -#: redir.c:186 +#: redir.c:187 #, c-format msgid "%s: restricted: cannot redirect output" -msgstr "" +msgstr "%s: 受限的: 無法重定向輸出" -#: redir.c:191 +#: redir.c:192 #, c-format msgid "cannot create temp file for here-document: %s" -msgstr "" +msgstr "無法為立即文件建立臨時檔案: %s" -#: redir.c:195 -#, fuzzy, c-format +#: redir.c:196 +#, c-format msgid "%s: cannot assign fd to variable" -msgstr "%s:只讀變數" +msgstr "%s: 無法將檔案描述符指派給變數" -#: redir.c:582 +#: redir.c:586 msgid "/dev/(tcp|udp)/host/port not supported without networking" -msgstr "" +msgstr "沒有網路時不支援 /dev/(tcp|udp)/host/port" -#: redir.c:861 redir.c:973 redir.c:1034 redir.c:1199 +#: redir.c:868 redir.c:983 redir.c:1044 redir.c:1209 msgid "redirection error: cannot duplicate fd" -msgstr "" +msgstr "重定向錯誤: 無法複製檔案描述符" -#: shell.c:339 +#: shell.c:347 msgid "could not find /tmp, please create!" -msgstr "" +msgstr "無法找到 /tmp ,請建立" -#: shell.c:343 +#: shell.c:351 msgid "/tmp must be a valid directory name" -msgstr "" +msgstr "/tmp 必須為有效的目錄名稱" -#: shell.c:890 +#: shell.c:927 #, c-format msgid "%c%c: invalid option" msgstr "%c%c:無效選項" -#: shell.c:1682 +#: shell.c:1282 +#, fuzzy, c-format +msgid "cannot set uid to %d: effective uid %d" +msgstr "無法為檔案描述符 %d 重置無延遲模式" + +#: shell.c:1289 +#, fuzzy, c-format +msgid "cannot set gid to %d: effective gid %d" +msgstr "無法為檔案描述符 %d 重置無延遲模式" + +#: shell.c:1458 +msgid "cannot start debugger; debugging mode disabled" +msgstr "" + +#: shell.c:1566 +#, fuzzy, c-format +msgid "%s: Is a directory" +msgstr "%s: 是一個目錄" + +#: shell.c:1777 msgid "I have no name!" msgstr "我沒有名字!" -#: shell.c:1827 +#: shell.c:1930 #, c-format msgid "GNU bash, version %s-(%s)\n" -msgstr "" +msgstr "GNU bash,版本 %s-(%s)\n" -#: shell.c:1828 +#: shell.c:1931 #, c-format msgid "" "Usage:\t%s [GNU long option] [option] ...\n" "\t%s [GNU long option] [option] script-file ...\n" msgstr "" -"用法:\t%s [GNU 長選項] [選項] ...\n" -"\t%s [GNU 長選項] [選項] script-file ...\n" +"用法:\t%s [GNU 長選項] [選項] …\n" +"\t%s [GNU 長選項] [選項] 指令稿檔案 …\n" -#: shell.c:1830 +#: shell.c:1933 msgid "GNU long options:\n" msgstr "GNU 長選項:\n" -#: shell.c:1834 +#: shell.c:1937 msgid "Shell options:\n" msgstr "Shell 選項:\n" -#: shell.c:1835 -#, fuzzy +#: shell.c:1938 msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n" -msgstr "\t-irsD 或 -c 命令或 -O shopt_option\t\t(只有引用)\n" +msgstr "\t-irsD 或 -c <命令> 或 -O \t\t(僅適合呼叫)\n" -#: shell.c:1850 +#: shell.c:1953 #, c-format msgid "\t-%s or -o option\n" msgstr "\t-%s or -o 選項\n" -#: shell.c:1856 +#: shell.c:1959 #, c-format msgid "Type `%s -c \"help set\"' for more information about shell options.\n" -msgstr "輸入 `%s -c \"help set\"' 更多訊息關於 shell 選項。\n" +msgstr "輸入「%s -c \"help set\"」更多關於 shell 選項的訊息。\n" -#: shell.c:1857 +#: shell.c:1960 #, c-format msgid "Type `%s -c help' for more information about shell builtin commands.\n" -msgstr "輸入 `%s -c help' 更多訊息關於內建 shell 命令。\n" +msgstr "輸入「%s -c help」更多關於內建 shell 命令的訊息。\n" -#: shell.c:1858 +#: shell.c:1961 #, c-format msgid "Use the `bashbug' command to report bugs.\n" -msgstr "使用 `bashbug' 命令報告臭蟲。\n" +msgstr "使用「bashbug」命令通報程式錯誤。\n" + +#: shell.c:1963 +#, c-format +msgid "bash home page: \n" +msgstr "" + +#: shell.c:1964 +#, c-format +msgid "General help using GNU software: \n" +msgstr "" -#: sig.c:691 +#: sig.c:707 #, c-format msgid "sigprocmask: %d: invalid operation" msgstr "sigprocmask: %d:無效操作" #: siglist.c:48 msgid "Bogus signal" -msgstr "" +msgstr "偽訊號" #: siglist.c:51 msgid "Hangup" -msgstr "" +msgstr "結束通話" #: siglist.c:55 msgid "Interrupt" -msgstr "" +msgstr "中斷" #: siglist.c:59 msgid "Quit" -msgstr "" +msgstr "退出" #: siglist.c:63 msgid "Illegal instruction" -msgstr "" +msgstr "非法的指令" #: siglist.c:67 msgid "BPT trace/trap" -msgstr "" +msgstr "斷點追蹤/陷阱" #: siglist.c:75 msgid "ABORT instruction" -msgstr "" +msgstr "放棄指令" #: siglist.c:79 msgid "EMT instruction" -msgstr "" +msgstr "模擬器陷阱指令" #: siglist.c:83 msgid "Floating point exception" -msgstr "" +msgstr "浮點數異常" #: siglist.c:87 msgid "Killed" -msgstr "" +msgstr "已砍除" #: siglist.c:91 -#, fuzzy msgid "Bus error" -msgstr "語法錯誤" +msgstr "匯流排錯誤" #: siglist.c:95 msgid "Segmentation fault" -msgstr "" +msgstr "區段錯誤" #: siglist.c:99 msgid "Bad system call" -msgstr "" +msgstr "錯誤的系統呼叫" #: siglist.c:103 msgid "Broken pipe" -msgstr "" +msgstr "管道中斷" #: siglist.c:107 msgid "Alarm clock" -msgstr "" +msgstr "鬧鐘" #: siglist.c:111 -#, fuzzy msgid "Terminated" -msgstr "有限的" +msgstr "已終止" #: siglist.c:115 msgid "Urgent IO condition" -msgstr "" +msgstr "緊急 I/O 狀況" #: siglist.c:119 msgid "Stopped (signal)" -msgstr "" +msgstr "已停止(訊號)" #: siglist.c:127 msgid "Continue" -msgstr "" +msgstr "繼續" #: siglist.c:135 msgid "Child death or stop" -msgstr "" +msgstr "子行程已死或者停止" #: siglist.c:139 msgid "Stopped (tty input)" -msgstr "" +msgstr "已停止(tty 輸入)" #: siglist.c:143 msgid "Stopped (tty output)" -msgstr "" +msgstr "已停止(tty 輸出)" #: siglist.c:147 msgid "I/O ready" -msgstr "" +msgstr "I/O 就緒" #: siglist.c:151 msgid "CPU limit" -msgstr "" +msgstr "CPU 限制" #: siglist.c:155 msgid "File limit" -msgstr "" +msgstr "檔案限制" #: siglist.c:159 msgid "Alarm (virtual)" -msgstr "" +msgstr "警報(虛擬)" #: siglist.c:163 msgid "Alarm (profile)" -msgstr "" +msgstr "警報(側寫)" #: siglist.c:167 msgid "Window changed" -msgstr "" +msgstr "視窗已變更" #: siglist.c:171 msgid "Record lock" -msgstr "" +msgstr "記錄鎖" #: siglist.c:175 msgid "User signal 1" -msgstr "" +msgstr "使用者訊號 1" #: siglist.c:179 msgid "User signal 2" -msgstr "" +msgstr "使用者訊號 2" #: siglist.c:183 msgid "HFT input data pending" -msgstr "" +msgstr "HFT 待輸入資料" #: siglist.c:187 msgid "power failure imminent" -msgstr "" +msgstr "即將停止電源" #: siglist.c:191 msgid "system crash imminent" -msgstr "" +msgstr "系統即將崩潰" #: siglist.c:195 msgid "migrate process to another CPU" -msgstr "" +msgstr "遷移行程至另一個 CPU" #: siglist.c:199 msgid "programming error" -msgstr "" +msgstr "程式設計錯誤" #: siglist.c:203 msgid "HFT monitor mode granted" -msgstr "" +msgstr "已授予 HFT 監視模式" #: siglist.c:207 msgid "HFT monitor mode retracted" -msgstr "" +msgstr "已撤銷 HFT 監視模式" #: siglist.c:211 msgid "HFT sound sequence has completed" -msgstr "" +msgstr "已完成 HFT 聲音序列" #: siglist.c:215 msgid "Information request" -msgstr "" +msgstr "資訊請求" #: siglist.c:223 msgid "Unknown Signal #" -msgstr "" +msgstr "不明訊號 #" #: siglist.c:225 #, c-format msgid "Unknown Signal #%d" -msgstr "" +msgstr "不明訊號 #%d" -#: subst.c:1362 subst.c:1520 +#: subst.c:1445 subst.c:1608 #, c-format msgid "bad substitution: no closing `%s' in %s" -msgstr "" +msgstr "錯誤的替換: 在 %2$s 中沒有閉合的「%1$s」" -#: subst.c:2847 +#: subst.c:3154 #, c-format msgid "%s: cannot assign list to array member" -msgstr "" +msgstr "%s: 無法將串列指派給陣列成員" -#: subst.c:5065 subst.c:5081 +#: subst.c:5740 subst.c:5756 msgid "cannot make pipe for process substitution" -msgstr "" +msgstr "無法為行程替換建立管道" -#: subst.c:5113 +#: subst.c:5798 msgid "cannot make child for process substitution" -msgstr "" +msgstr "無法為行程替換建立子行程" -#: subst.c:5158 +#: subst.c:5848 #, c-format msgid "cannot open named pipe %s for reading" -msgstr "" +msgstr "無法開啟命名管道 %s 進 readline-" -#: subst.c:5160 +#: subst.c:5850 #, c-format msgid "cannot open named pipe %s for writing" -msgstr "" +msgstr "無法開啟命名管道 %s 進行寫入" -#: subst.c:5178 +#: subst.c:5873 #, c-format msgid "cannot duplicate named pipe %s as fd %d" -msgstr "" +msgstr "無法將命名管道 %s 做為檔案描述符 %d 複製" -#: subst.c:5376 +#: subst.c:5959 +#, fuzzy +msgid "command substitution: ignored null byte in input" +msgstr "錯誤的替換: 在 %s 中沒有閉合的「`」" + +#: subst.c:6083 msgid "cannot make pipe for command substitution" -msgstr "" +msgstr "無法為命令替換建立管道" -#: subst.c:5414 +#: subst.c:6127 msgid "cannot make child for command substitution" -msgstr "" +msgstr "無法為命令替換建立子行程" -#: subst.c:5433 +#: subst.c:6153 msgid "command_substitute: cannot duplicate pipe as fd 1" -msgstr "" +msgstr "command_substitute: 無法將管道複製為檔案描述符 1" -#: subst.c:5837 subst.c:8050 +#: subst.c:6580 subst.c:8939 #, c-format msgid "%s: invalid variable name for name reference" -msgstr "" +msgstr "%s: 無效的引用變數名" -#: subst.c:6048 +#: subst.c:6666 subst.c:8351 subst.c:8371 #, c-format -msgid "%s: parameter null or not set" -msgstr "" +msgid "%s: bad substitution" +msgstr "%s: 錯誤的替換" + +#: subst.c:6800 +#, fuzzy, c-format +msgid "%s: invalid indirect expansion" +msgstr "%s: 無效的列數" + +#: subst.c:6807 +#, fuzzy, c-format +msgid "%s: invalid variable name" +msgstr "「%s」: 無效的別名" -#: subst.c:6320 subst.c:6335 +#: subst.c:6854 #, c-format -msgid "%s: substring expression < 0" -msgstr "" +msgid "%s: parameter null or not set" +msgstr "%s: 參數為空或未設定" -#: subst.c:7506 +#: subst.c:7089 subst.c:7104 #, c-format -msgid "%s: bad substitution" -msgstr "" +msgid "%s: substring expression < 0" +msgstr "%s: 子串表示式 < 0" -#: subst.c:7583 +#: subst.c:8450 #, c-format msgid "$%s: cannot assign in this way" -msgstr "" +msgstr "$%s: 無法如此指派" -#: subst.c:7917 +#: subst.c:8802 msgid "" "future versions of the shell will force evaluation as an arithmetic " "substitution" -msgstr "" +msgstr "未來版本的 shell 會強制以算術替換求值" -#: subst.c:8421 +#: subst.c:9349 #, c-format msgid "bad substitution: no closing \"`\" in %s" -msgstr "" +msgstr "錯誤的替換: 在 %s 中沒有閉合的「`」" -#: subst.c:9322 +#: subst.c:10298 #, c-format msgid "no match: %s" -msgstr "" +msgstr "無匹配: %s" #: test.c:147 msgid "argument expected" -msgstr "" +msgstr "需要引數" #: test.c:156 #, c-format msgid "%s: integer expression expected" -msgstr "" +msgstr "%s: 需要整數表示式" -#: test.c:264 +#: test.c:265 msgid "`)' expected" -msgstr "" +msgstr "需要「)」" -#: test.c:266 +#: test.c:267 #, c-format msgid "`)' expected, found %s" -msgstr "" +msgstr "需要「)」,得到 %s" -#: test.c:281 test.c:742 test.c:745 +#: test.c:282 test.c:744 test.c:747 #, c-format msgid "%s: unary operator expected" -msgstr "" +msgstr "%s: 需要一元表示式" -#: test.c:468 test.c:785 +#: test.c:469 test.c:787 #, c-format msgid "%s: binary operator expected" -msgstr "" +msgstr "%s: 需要二元表示式" -#: test.c:860 +#: test.c:869 msgid "missing `]'" -msgstr "" +msgstr "缺少「]」" -#: trap.c:217 +#: trap.c:224 msgid "invalid signal number" -msgstr "無效信號數" +msgstr "無效信號數字" -#: trap.c:371 +#: trap.c:387 #, c-format msgid "run_pending_traps: bad value in trap_list[%d]: %p" -msgstr "" +msgstr "run_pending_traps: trap_list[%d] 中的錯誤值: %p" -#: trap.c:375 +#: trap.c:391 #, c-format msgid "" "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself" -msgstr "run_pending_traps: 信號處理是 SIG_DFL, resending %d (%s) to myself" +msgstr "run_pending_traps: 信號處理是 SIG_DFL,resending %d (%s) to myself" -#: trap.c:428 +#: trap.c:447 #, c-format msgid "trap_handler: bad signal %d" -msgstr "trap_handler:壞的信號 %d" +msgstr "trap_handler:不當的信號 %d" -#: variables.c:382 +#: variables.c:409 #, c-format msgid "error importing function definition for `%s'" -msgstr "錯誤,輸入的函數定義為 `%s'" +msgstr "錯誤,輸入的函數定義為「%s」" -#: variables.c:780 +#: variables.c:814 #, c-format msgid "shell level (%d) too high, resetting to 1" -msgstr "" +msgstr "shell 層次 (%d) 太高,重置為 1" -#: variables.c:1865 -#, c-format -msgid "%s: circular name reference" -msgstr "" - -#: variables.c:2228 +#: variables.c:2413 msgid "make_local_variable: no function context at current scope" -msgstr "" +msgstr "make_local_variable: 當前作用域中沒有函數語境" -#: variables.c:2247 -#, fuzzy, c-format +#: variables.c:2432 +#, c-format msgid "%s: variable may not be assigned value" -msgstr "%s:只讀變數" +msgstr "%s: 變數不可指派值" + +#: variables.c:3043 +#, fuzzy, c-format +msgid "%s: assigning integer to name reference" +msgstr "%s: 無效的引用變數名" -#: variables.c:3646 +#: variables.c:3940 msgid "all_local_variables: no function context at current scope" -msgstr "" +msgstr "all_local_variables: 當前作用域中沒有函數語境" -#: variables.c:3891 +#: variables.c:4218 #, c-format msgid "%s has null exportstr" -msgstr "" +msgstr "%s 有空的 exportstr" -#: variables.c:3896 variables.c:3905 +#: variables.c:4223 variables.c:4232 #, c-format msgid "invalid character %d in exportstr for %s" -msgstr "" +msgstr "%2$s 的 exportstr 中有無效的字元 %1$d" -#: variables.c:3911 +#: variables.c:4238 #, c-format msgid "no `=' in exportstr for %s" -msgstr "" +msgstr "%s 的 exportstr 中沒有「=」" -#: variables.c:4344 +#: variables.c:4684 msgid "pop_var_context: head of shell_variables not a function context" -msgstr "" +msgstr "pop_var_context: shell_variables 的前端不是函數語境" -#: variables.c:4357 +#: variables.c:4697 msgid "pop_var_context: no global_variables context" -msgstr "" +msgstr "pop_var_context: 沒有 global_variables 語境" -#: variables.c:4431 +#: variables.c:4772 msgid "pop_scope: head of shell_variables not a temporary environment scope" -msgstr "" +msgstr "pop_scope: shell_variables 的前端不是臨時環境作用域" -#: variables.c:5257 -#, fuzzy, c-format +#: variables.c:5619 +#, c-format msgid "%s: %s: cannot open as FILE" -msgstr "%s:不能讀取: %s" +msgstr "%s: %s: 無法做為檔案開啟" -#: variables.c:5262 +#: variables.c:5624 #, c-format msgid "%s: %s: invalid value for trace file descriptor" -msgstr "" +msgstr "%s: %s: 追蹤檔案描述符的值無效" -#: variables.c:5307 -#, fuzzy, c-format +#: variables.c:5669 +#, c-format msgid "%s: %s: compatibility value out of range" -msgstr "%s:%s 超出範圍" +msgstr "%s: %s: 相容版本數值超出範圍" -#: version.c:46 -msgid "Copyright (C) 2013 Free Software Foundation, Inc." -msgstr "" +#: version.c:46 version2.c:46 +#, fuzzy +msgid "Copyright (C) 2016 Free Software Foundation, Inc." +msgstr "著作權所有 (C) 2013 自由軟體基金會" #: version.c:47 version2.c:47 msgid "" "License GPLv3+: GNU GPL version 3 or later \n" msgstr "" +"許可證 GPLv3+: GNU GPL 許可證第三版或者更新版本 \n" #: version.c:86 version2.c:86 #, c-format msgid "GNU bash, version %s (%s)\n" -msgstr "" +msgstr "GNU bash,版本 %s (%s)\n" #: version.c:91 version2.c:91 msgid "This is free software; you are free to change and redistribute it." -msgstr "" +msgstr "本軟體是自由軟體,您可以自由地更改和重新發布。" #: version.c:92 version2.c:92 msgid "There is NO WARRANTY, to the extent permitted by law." -msgstr "" - -#: version2.c:46 -msgid "Copyright (C) 2012 Free Software Foundation, Inc." -msgstr "" +msgstr "在法律許可的情況下特此明示,本軟體不提供任何擔保。" #: xmalloc.c:91 #, c-format msgid "%s: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "" +msgstr "%s: 無法分配 %lu 位元組 (已分配 %lu 位元組)" #: xmalloc.c:93 -#, fuzzy, c-format +#, c-format msgid "%s: cannot allocate %lu bytes" -msgstr "%s:不能讀取: %s" +msgstr "%s: 無法分配 %lu 位元組" #: xmalloc.c:163 #, c-format msgid "%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)" -msgstr "" +msgstr "%s: %s:%d: 無法分配 %lu 位元組 (已分配 %lu 位元組)" #: xmalloc.c:165 #, c-format msgid "%s: %s:%d: cannot allocate %lu bytes" -msgstr "" +msgstr "%s: %s:%d: 無法分配 %lu 位元組" -#: builtins.c:43 +#: builtins.c:45 msgid "alias [-p] [name[=value] ... ]" -msgstr "" +msgstr "alias [-p] [名稱[=值] … ]" -#: builtins.c:47 +#: builtins.c:49 msgid "unalias [-a] name [name ...]" -msgstr "" +msgstr "unalias [-a] 名稱 [名稱 …]" -#: builtins.c:51 +#: builtins.c:53 msgid "" "bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-" "x keyseq:shell-command] [keyseq:readline-function or readline-command]" msgstr "" +"bind [-lpvsPSVX] [-m 鍵對映] [-f 檔名] [-q 名稱] [-u 名稱] [-r 鍵序列] [-x 鍵" +"序列:shell- 命令] [鍵序列:readline- 函數 或 readline- 命令]" -#: builtins.c:54 +#: builtins.c:56 msgid "break [n]" -msgstr "" +msgstr "break [n]" -#: builtins.c:56 +#: builtins.c:58 msgid "continue [n]" -msgstr "" +msgstr "continue [n]" -#: builtins.c:58 +#: builtins.c:60 msgid "builtin [shell-builtin [arg ...]]" -msgstr "" +msgstr "builtin [shell 內建 [引數 …]]" -#: builtins.c:61 +#: builtins.c:63 msgid "caller [expr]" -msgstr "" - -#: builtins.c:64 -msgid "cd [-L|[-P [-e]] [-@]] [dir]" -msgstr "" +msgstr "caller [表示式]" #: builtins.c:66 -msgid "pwd [-LP]" -msgstr "" +msgid "cd [-L|[-P [-e]] [-@]] [dir]" +msgstr "cd [-L|[-P [-e]] [-@]] [目錄]" #: builtins.c:68 -msgid ":" -msgstr "" - -#: builtins.c:70 -msgid "true" -msgstr "" - -#: builtins.c:72 -msgid "false" -msgstr "" - -#: builtins.c:74 -msgid "command [-pVv] command [arg ...]" -msgstr "" +msgid "pwd [-LP]" +msgstr "pwd [-LP]" #: builtins.c:76 -msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" -msgstr "" +msgid "command [-pVv] command [arg ...]" +msgstr "command [-pVv] 命令 [引數 …]" #: builtins.c:78 -msgid "typeset [-aAfFgilrtux] [-p] name[=value] ..." -msgstr "" +msgid "declare [-aAfFgilnrtux] [-p] [name[=value] ...]" +msgstr "declare [-aAfFgilnrtux] [-p] [名稱[=值] …]" #: builtins.c:80 +#, fuzzy +msgid "typeset [-aAfFgilnrtux] [-p] name[=value] ..." +msgstr "typeset [-aAfFgilrtux] [-p] 名稱[=值] …" + +#: builtins.c:82 msgid "local [option] name[=value] ..." -msgstr "" +msgstr "local [option] 名稱[=值] …" -#: builtins.c:83 +#: builtins.c:85 msgid "echo [-neE] [arg ...]" -msgstr "" +msgstr "echo [-neE] [引數 …]" -#: builtins.c:87 +#: builtins.c:89 msgid "echo [-n] [arg ...]" -msgstr "" +msgstr "echo [-n] [引數 …]" -#: builtins.c:90 +#: builtins.c:92 msgid "enable [-a] [-dnps] [-f filename] [name ...]" -msgstr "" +msgstr "enable [-a] [-dnps] [-f 檔名] [名稱 …]" -#: builtins.c:92 +#: builtins.c:94 msgid "eval [arg ...]" -msgstr "" +msgstr "eval [引數 …]" -#: builtins.c:94 +#: builtins.c:96 msgid "getopts optstring name [arg]" -msgstr "" +msgstr "getopts 選項字串 名稱 [引數]" -#: builtins.c:96 +#: builtins.c:98 msgid "exec [-cl] [-a name] [command [arguments ...]] [redirection ...]" -msgstr "" +msgstr "exec [-cl] [-a 名稱] [命令 [引數 …]] [重定向 …]" -#: builtins.c:98 +#: builtins.c:100 msgid "exit [n]" -msgstr "" +msgstr "exit [n]" -#: builtins.c:100 +#: builtins.c:102 msgid "logout [n]" -msgstr "" +msgstr "logout [n]" -#: builtins.c:103 +#: builtins.c:105 msgid "fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]" -msgstr "" +msgstr "fc [-e 編輯器名] [-lnr] [起始] [終結] 或 fc -s [模式=替換串] [命令]" -#: builtins.c:107 +#: builtins.c:109 msgid "fg [job_spec]" -msgstr "" +msgstr "fg [工作規格]" -#: builtins.c:111 +#: builtins.c:113 msgid "bg [job_spec ...]" -msgstr "" +msgstr "bg [工作規格 …]" -#: builtins.c:114 +#: builtins.c:116 msgid "hash [-lr] [-p pathname] [-dt] [name ...]" -msgstr "" +msgstr "hash [-lr] [-p 路徑名] [-dt] [名稱 …]" -#: builtins.c:117 +#: builtins.c:119 msgid "help [-dms] [pattern ...]" -msgstr "" +msgstr "help [-dms] [模式 …]" -#: builtins.c:121 +#: builtins.c:123 msgid "" "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg " "[arg...]" msgstr "" +"history [-c] [-d 偏移量] [n] 或 history -anrw [檔名] 或 history -ps 引數 [參" +"數…]" -#: builtins.c:125 +#: builtins.c:127 msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]" -msgstr "" +msgstr "jobs [-lnprs] [工作規格 …] 或 jobs -x 命令 [引數]" -#: builtins.c:129 -msgid "disown [-h] [-ar] [jobspec ...]" -msgstr "" +#: builtins.c:131 +#, fuzzy +msgid "disown [-h] [-ar] [jobspec ... | pid ...]" +msgstr "disown [-h] [-ar] [工作規格 …]" -#: builtins.c:132 +#: builtins.c:134 msgid "" "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l " "[sigspec]" msgstr "" +"kill [-s 訊號規格 | -n 訊號編號 | - 訊號規格] 行程識別號 | 工作規格 … 或 " +"kill -l [訊號規格]" -#: builtins.c:134 +#: builtins.c:136 msgid "let arg [arg ...]" -msgstr "" +msgstr "let 引數 [引數 …]" -#: builtins.c:136 +#: builtins.c:138 msgid "" "read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p " "prompt] [-t timeout] [-u fd] [name ...]" msgstr "" +"read [-ers] [-a 陣列] [-d 分隔符] [-i 緩衝區文字] [-n 讀取字元數] [-N 讀取字" +"符數] [-p 提示符] [-t 逾時] [-u 檔案描述符] [名稱 …]" -#: builtins.c:138 +#: builtins.c:140 msgid "return [n]" -msgstr "" +msgstr "return [n]" -#: builtins.c:140 +#: builtins.c:142 msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]" -msgstr "" +msgstr "set [--abefhkmnptuvxBCHP] [-o 選項名] [--] [引數 …]" -#: builtins.c:142 +#: builtins.c:144 msgid "unset [-f] [-v] [-n] [name ...]" -msgstr "" +msgstr "unset [-f] [-v] [-n] [名稱 …]" -#: builtins.c:144 +#: builtins.c:146 msgid "export [-fn] [name[=value] ...] or export -p" -msgstr "" +msgstr "export [-fn] [名稱[=值] …] 或 export -p" -#: builtins.c:146 +#: builtins.c:148 msgid "readonly [-aAf] [name[=value] ...] or readonly -p" -msgstr "" +msgstr "readonly [-aAf] [名稱[=值] …] 或 readonly -p" -#: builtins.c:148 +#: builtins.c:150 msgid "shift [n]" -msgstr "" +msgstr "shift [n]" -#: builtins.c:150 +#: builtins.c:152 msgid "source filename [arguments]" -msgstr "" +msgstr "source 檔名 [引數]" -#: builtins.c:152 -#, fuzzy +#: builtins.c:154 msgid ". filename [arguments]" -msgstr "太多引數" +msgstr "。檔名 [引數]" -#: builtins.c:155 +#: builtins.c:157 msgid "suspend [-f]" -msgstr "" - -#: builtins.c:158 -msgid "test [expr]" -msgstr "" +msgstr "suspend [-f]" #: builtins.c:160 -msgid "[ arg... ]" -msgstr "" +msgid "test [expr]" +msgstr "test [表示式]" #: builtins.c:162 -msgid "times" -msgstr "" +msgid "[ arg... ]" +msgstr "[ 引數… ]" -#: builtins.c:164 +#: builtins.c:166 msgid "trap [-lp] [[arg] signal_spec ...]" -msgstr "" +msgstr "trap [-lp] [[引數] 訊號規格 …]" -#: builtins.c:166 +#: builtins.c:168 msgid "type [-afptP] name [name ...]" -msgstr "" +msgstr "type [-afptP] 名稱 [名稱 …]" -#: builtins.c:169 -msgid "ulimit [-SHabcdefilmnpqrstuvxT] [limit]" -msgstr "" +#: builtins.c:171 +#, fuzzy +msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]" +msgstr "ulimit [-SHabcdefilmnpqrstuvxT] [限制]" -#: builtins.c:172 +#: builtins.c:174 msgid "umask [-p] [-S] [mode]" -msgstr "" +msgstr "umask [-p] [-S] [模式]" -#: builtins.c:175 +#: builtins.c:177 msgid "wait [-n] [id ...]" -msgstr "" +msgstr "wait [-n] [編號 …]" -#: builtins.c:179 +#: builtins.c:181 msgid "wait [pid ...]" -msgstr "" +msgstr "wait [行程識別號 …]" -#: builtins.c:182 +#: builtins.c:184 msgid "for NAME [in WORDS ... ] ; do COMMANDS; done" -msgstr "" +msgstr "for 名稱 [in 字詞 … ] ; do 命令 ; done" -#: builtins.c:184 +#: builtins.c:186 msgid "for (( exp1; exp2; exp3 )); do COMMANDS; done" -msgstr "" +msgstr "for (( 表示式1; 表示式2; 表示式3 )); do 命令 ; done" -#: builtins.c:186 +#: builtins.c:188 msgid "select NAME [in WORDS ... ;] do COMMANDS; done" -msgstr "" +msgstr "select NAME [in 字詞 … ;] do 命令 ; done" -#: builtins.c:188 +#: builtins.c:190 msgid "time [-p] pipeline" -msgstr "" +msgstr "time [-p] 管道" -#: builtins.c:190 +#: builtins.c:192 msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" -msgstr "" +msgstr "case 詞 in [模式 [| 模式]…) 命令 ;;]… esac" -#: builtins.c:192 +#: builtins.c:194 msgid "" "if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else " "COMMANDS; ] fi" -msgstr "" +msgstr "if 命令 ; then 命令 ; [ elif 命令 ; then 命令 ; ]… [ else 命令 ; ] fi" -#: builtins.c:194 +#: builtins.c:196 msgid "while COMMANDS; do COMMANDS; done" -msgstr "" +msgstr "while 命令 ; do 命令 ; done" -#: builtins.c:196 +#: builtins.c:198 msgid "until COMMANDS; do COMMANDS; done" -msgstr "" +msgstr "until 命令 ; do 命令 ; done" -#: builtins.c:198 +#: builtins.c:200 msgid "coproc [NAME] command [redirections]" -msgstr "" +msgstr "coproc [名稱] 命令 [重定向]" -#: builtins.c:200 +#: builtins.c:202 msgid "function name { COMMANDS ; } or name () { COMMANDS ; }" -msgstr "" +msgstr "function 名稱 { 命令 ; } 或 name () { 命令 ; }" -#: builtins.c:202 +#: builtins.c:204 msgid "{ COMMANDS ; }" -msgstr "" +msgstr "{ 命令 ; }" -#: builtins.c:204 +#: builtins.c:206 msgid "job_spec [&]" -msgstr "" +msgstr "job_spec [&]" -#: builtins.c:206 +#: builtins.c:208 msgid "(( expression ))" -msgstr "" +msgstr "(( 表示式 ))" -#: builtins.c:208 +#: builtins.c:210 msgid "[[ expression ]]" -msgstr "" +msgstr "[[ 表示式 ]]" -#: builtins.c:210 +#: builtins.c:212 msgid "variables - Names and meanings of some shell variables" -msgstr "" +msgstr "variables - 一些 shell 變數的名稱和含義" -#: builtins.c:213 +#: builtins.c:215 msgid "pushd [-n] [+N | -N | dir]" -msgstr "" +msgstr "pushd [-n] [+N | -N | 目錄]" -#: builtins.c:217 +#: builtins.c:219 msgid "popd [-n] [+N | -N]" -msgstr "" +msgstr "popd [-n] [+N | -N]" -#: builtins.c:221 +#: builtins.c:223 msgid "dirs [-clpv] [+N] [-N]" -msgstr "" +msgstr "dirs [-clpv] [+N] [-N]" -#: builtins.c:224 +#: builtins.c:226 msgid "shopt [-pqsu] [-o] [optname ...]" -msgstr "" +msgstr "shopt [-pqsu] [-o] [選項名 …]" -#: builtins.c:226 +#: builtins.c:228 msgid "printf [-v var] format [arguments]" -msgstr "" +msgstr "printf [-v var] 格式 [引數]" -#: builtins.c:229 +#: builtins.c:231 msgid "" "complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-" "W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S " "suffix] [name ...]" msgstr "" +"complete [-abcdefgjksuv] [-pr] [-DE] [-o 選項] [-A 動作] [-G 全域模式] [-W 詞" +"語列表] [-F 函數] [-C 命令] [-X 過濾模式] [-P 字首] [-S 字尾] [名稱 …]" -#: builtins.c:233 +#: builtins.c:235 +#, fuzzy msgid "" -"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " +"compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] " "[-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]" msgstr "" +"compgen [-abcdefgjksuv] [-o 選項] [-A 動作] [-G 全域模式] [-W 字詞列表] [-" +"F 函數] [-C 命令] [-X 過濾模式] [-P 字首] [-S 字尾] [字詞]" -#: builtins.c:237 +#: builtins.c:239 msgid "compopt [-o|+o option] [-DE] [name ...]" -msgstr "" +msgstr "compopt [-o|+o 選項] [-DE] [名稱 …]" -#: builtins.c:240 +#: builtins.c:242 +#, fuzzy msgid "" -"mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " -"quantum] [array]" +"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C " +"callback] [-c quantum] [array]" msgstr "" +"mapfile [-n 計數] [-O 起始序號] [-s 計數] [-t] [-u fd] [-C 回呼] [-c 定量] " +"[陣列]" -#: builtins.c:242 +#: builtins.c:244 msgid "" "readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c " "quantum] [array]" msgstr "" +"readarray [-n 計數] [-O 起始序號] [-s 計數] [-t] [-u fd] [-C 回呼] [-c 定量] " +"[陣列]" -#: builtins.c:254 +#: builtins.c:256 #, fuzzy msgid "" "Define or display aliases.\n" @@ -2301,31 +2499,48 @@ msgid "" " alias substitution when the alias is expanded.\n" " \n" " Options:\n" -" -p\tPrint all defined aliases in a reusable format\n" +" -p\tprint all defined aliases in a reusable format\n" " \n" " Exit Status:\n" " alias returns true unless a NAME is supplied for which no alias has " "been\n" " defined." msgstr "" -"`alias' with no arguments or with the -p option prints the list\n" -" of aliases in the form alias NAME=VALUE on standard output.\n" -" Otherwise, an alias is defined for each NAME whose VALUE is given.\n" -" A trailing space in VALUE causes the next word to be checked for\n" -" alias substitution when the alias is expanded. Alias returns\n" -" true unless a NAME is given for which no alias has been defined." +"定義或顯示別名。\n" +" \n" +" 不帶引數時,「alias」以可重用的格式\n" +" 「alias 名稱=值」在標準輸出裝置上印出別名列表。\n" +" \n" +" 否則,對於每個給定值的名稱定義一個別名。\n" +" 值末尾的空格會使下一個字詞被檢測\n" +" 做為別名替換展開。\n" +" \n" +" 選項:\n" +" -p\t以可重用的格式印出所有的已定義別名\n" +" \n" +" 退出狀態:\n" +" 除非一個沒有定義的名字被做為引數提供,否則 alias \n" +" 回傳值為真。" -#: builtins.c:276 +#: builtins.c:278 +#, fuzzy msgid "" "Remove each NAME from the list of defined aliases.\n" " \n" " Options:\n" -" -a\tremove all alias definitions.\n" +" -a\tremove all alias definitions\n" " \n" " Return success unless a NAME is not an existing alias." msgstr "" +"從別名定義列表中刪除每一個 NAME。\n" +" \n" +" 選項:\n" +" -a\t刪除所有的別名定義。\n" +" \n" +" 回傳成功,除非 NAME 不是一個已存在的別名。" -#: builtins.c:289 +#: builtins.c:291 +#, fuzzy msgid "" "Set Readline key bindings and variables.\n" " \n" @@ -2359,14 +2574,45 @@ msgid "" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X\t\t List key sequences bound with -x and associated commands\n" +" -X List key sequences bound with -x and associated " +"commands\n" " in a form that can be reused as input.\n" " \n" " Exit Status:\n" " bind returns 0 unless an unrecognized option is given or an error occurs." msgstr "" - -#: builtins.c:328 +"設定 Readline 鍵繫結和變數。\n" +" \n" +" 繫結一個鍵序列到一個 Readline 函數或者巨集,或者設定一個\n" +" Readline 變數。非選項引數的語法和 ~/.inputrc 檔案中的等\n" +" 同,但是必須做為一個引數被傳遞,\n" +" 例如,bind '\"\\C-x\\C-r\": re-read-init-file'。\n" +" \n" +" 選項:\n" +" -m 鍵對映 在此命令執行過程中使用指定的鍵對映。\n" +" 可被接受的鍵對映名字有 emacs、emacs-standard、emacs-" +"meta、\n" +" emacs-ctlx、vi、vi-move、vi-command、和 vi-insert。\n" +" -l 列出函數名稱。\n" +" -P 列出函數名稱和繫結。\n" +" -p 以可以重新用作輸入的格式列出函數名稱和繫結。\n" +" -S 列出可以啟動巨集的鍵序列以及它們的值\n" +" -s 以可以重新用作輸入的格式列出可以啟動巨集的鍵以及它們的" +"值。\n" +" -V 列出變數名稱和它們的值\n" +" -v 以可以重新用作輸入的格式列出變數的名稱和它們的值\n" +" -q 函數名 查詢指定的函數可以由哪些鍵啟動。\n" +" -u 函數名 反繫結所有繫結至指定函數的鍵。\n" +" -r 鍵序列 取消指定鍵序列的繫結。\n" +" -f 檔名 從指定檔案中讀取鍵繫結。\n" +" -x 鍵序列:shell 命令\t當指定的鍵序列被輸入時,執行指定的 shell 命" +"令。\n" +" -X 以可被重用的形式列出用 -x 繫結的鍵序列和命令。\n" +" \n" +" 退出狀態:\n" +" 除非使用了無法辨認的選項或者錯誤發生,否則回傳 0。" + +#: builtins.c:330 msgid "" "Exit for, while, or until loops.\n" " \n" @@ -2376,8 +2622,15 @@ msgid "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" +"退出 for、while 或 until 迴圈\n" +" \n" +" 退出一個 FOR、WHILE 或 UNTIL 迴圈。如果指定了 N,則跳出 N 重\n" +" 迴圈\n" +" \n" +" 退出狀態:\n" +" 退出狀態為 0 除非 N 不大於或等於 1。" -#: builtins.c:340 +#: builtins.c:342 msgid "" "Resume for, while, or until loops.\n" " \n" @@ -2387,8 +2640,15 @@ msgid "" " Exit Status:\n" " The exit status is 0 unless N is not greater than or equal to 1." msgstr "" +"繼續 for、while 或 until 迴圈。\n" +" \n" +" 繼續當前 FOR、WHILE 或 UNTIL 迴圈的下一步。\n" +" 如果指定了 N, 則繼續當前的第 N 重迴圈。\n" +" \n" +" 退出狀態:\n" +" 退出狀態為 0 除非 N 不大於或等於 1。" -#: builtins.c:352 +#: builtins.c:354 msgid "" "Execute shell builtins.\n" " \n" @@ -2401,8 +2661,18 @@ msgid "" " Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is\n" " not a shell builtin.." msgstr "" +"執行 shell 內建。\n" +" \n" +" 帶引數 ARGs 執行 SHELL-BUILTIN 內建,並且不做命令查詢\n" +" 在希望以 shell 函數的形式來重新實現 shell 內建,\n" +" 並且希望在函數之內執行該 shell 內建的情況下有用處。\n" +" \n" +" 退出狀態:\n" +" 以 SHELL-BUILTIN 內建的退出狀態為準,或者如果 SHELL-BUILTIN 不是一個 " +"shell 內建時\n" +" 為假。。" -#: builtins.c:367 +#: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" @@ -2417,8 +2687,21 @@ msgid "" " Returns 0 unless the shell is not executing a shell function or EXPR\n" " is invalid." msgstr "" +"回傳當前子呼叫的語境。\n" +" \n" +" 不帶有 EXPR 時,回傳「$line $filename」。帶有 EXPR 時,回傳\n" +" 「$line $subroutine $filename」;這個額外的資訊可以被用於提供\n" +" 堆疊追蹤。\n" +" \n" +" EXPR 的值顯示了到當前呼叫框格需要回去多少個呼叫框格;頂部框格\n" +" 是第 0 框格。\n" +" \n" +" 退出狀態:\n" +" 除非 shell 不在執行一個 shell 函數或者 EXPR 無效,否則回傳結\n" +" 果為 0。" -#: builtins.c:385 +#: builtins.c:387 +#, fuzzy msgid "" "Change the shell working directory.\n" " \n" @@ -2441,16 +2724,16 @@ msgid "" " its value is used for DIR.\n" " \n" " Options:\n" -" -L\tforce symbolic links to be followed: resolve symbolic links in\n" -" \tDIR after processing instances of `..'\n" -" -P\tuse the physical directory structure without following symbolic\n" -" \tlinks: resolve symbolic links in DIR before processing instances\n" -" \tof `..'\n" -" -e\tif the -P option is supplied, and the current working directory\n" -" \tcannot be determined successfully, exit with a non-zero status\n" -" -@ on systems that support it, present a file with extended " -"attributes\n" -" as a directory containing the file attributes\n" +" -L\tforce symbolic links to be followed: resolve symbolic\n" +" \t\tlinks in DIR after processing instances of `..'\n" +" -P\tuse the physical directory structure without following\n" +" \t\tsymbolic links: resolve symbolic links in DIR before\n" +" \t\tprocessing instances of `..'\n" +" -e\tif the -P option is supplied, and the current working\n" +" \t\tdirectory cannot be determined successfully, exit with\n" +" \t\ta non-zero status\n" +" -@\ton systems that support it, present a file with extended\n" +" \t\tattributes as a directory containing the file attributes\n" " \n" " The default is to follow symbolic links, as if `-L' were specified.\n" " `..' is processed by removing the immediately previous pathname " @@ -2462,14 +2745,44 @@ msgid "" "when\n" " -P is used; non-zero otherwise." msgstr "" +"變更 shell 工作目錄。\n" +" \n" +" 變更當前目錄至 DIR 目錄。預設的 DIR 目錄是 shell 變數 HOME\n" +" 的值。\n" +" \n" +" 變數 CDPATH 定義了含有 DIR 的目錄搜尋路徑,其中不同的目錄名稱由冒號 (:)分" +"隔。\n" +" 一個空的目錄名稱表示當前目錄。如果要切換到的 DIR 由斜線 (/) 開頭,則 " +"CDPATH\n" +" 變數不會被使用。\n" +" \n" +" 如果路徑找不到,並且 shell 選項「cdable_vars」被設定,則引數詞被假定為一" +"個\n" +" 變數名。如果該變數有值,則它的值被當做 DIR 目錄。\n" +" \n" +" 選項:\n" +" -L\t強制跟隨符號鏈結: 在處理「..」之後解析 DIR 中的符號鏈結。\n" +" -P\t使用實體目錄結構而不跟隨符號鏈結: 在處理「..」之前解析 DIR 中的符" +"號鏈結。\n" +" -e\t如果使用了 -P 引數,但不能成功確定當前工作目錄時,回傳非零的回傳" +"值。\n" +" -@\t在支援擴展屬性的系統上,將一個有這些屬性的檔案當做有檔案屬性的目" +"錄。\n" +" \n" +" 預設情況下跟隨符號鏈結,如同指定「-L」。\n" +" 「..」使用移除向前相鄰目錄名成員直到 DIR 開始或一個斜線的方式處理。\n" +" \n" +" 退出狀態:\n" +" 如果目錄變更,或在使用 -P 選項時 $PWD 修改成功時回傳 0,否則非零。" -#: builtins.c:422 +#: builtins.c:425 +#, fuzzy msgid "" "Print the name of the current working directory.\n" " \n" " Options:\n" " -L\tprint the value of $PWD if it names the current working\n" -" \tdirectory\n" +" \t\tdirectory\n" " -P\tprint the physical directory, without any symbolic links\n" " \n" " By default, `pwd' behaves as if `-L' were specified.\n" @@ -2478,8 +2791,18 @@ msgid "" " Returns 0 unless an invalid option is given or the current directory\n" " cannot be read." msgstr "" +"印出當前工作目錄的名字。\n" +" \n" +" 選項:\n" +" -L\t印出 $PWD 變數的值,如果它包含了當前的工作目錄\n" +" -P\t印出當前的實體路徑,不帶有任何的符號鏈結\n" +" \n" +" 預設情況下,「pwd」的行為和帶「-L」選項一致\n" +" \n" +" 退出狀態:\n" +" 除非使用了無效選項或者當前目錄不可讀,否則回傳狀態為 0。" -#: builtins.c:439 +#: builtins.c:442 msgid "" "Null command.\n" " \n" @@ -2488,24 +2811,39 @@ msgid "" " Exit Status:\n" " Always succeeds." msgstr "" +"空的命令。\n" +" \n" +" 沒有效果; 此命令不做任何操作。\n" +" \n" +" 退出狀態:\n" +" 一律成功。" -#: builtins.c:450 +#: builtins.c:453 msgid "" "Return a successful result.\n" " \n" " Exit Status:\n" " Always succeeds." msgstr "" +"回傳一個成功結果。\n" +" \n" +" 退出狀態:\n" +" 一律成功。" -#: builtins.c:459 +#: builtins.c:462 msgid "" "Return an unsuccessful result.\n" " \n" " Exit Status:\n" " Always fails." msgstr "" +"回傳一個不成功的結果。\n" +" \n" +" 退出狀態:\n" +" 一律失敗。" -#: builtins.c:468 +#: builtins.c:471 +#, fuzzy msgid "" "Execute a simple command or display information about commands.\n" " \n" @@ -2515,16 +2853,30 @@ msgid "" " on disk when a function with the same name exists.\n" " \n" " Options:\n" -" -p\tuse a default value for PATH that is guaranteed to find all of\n" -" \tthe standard utilities\n" -" -v\tprint a description of COMMAND similar to the `type' builtin\n" -" -V\tprint a more verbose description of each COMMAND\n" +" -p use a default value for PATH that is guaranteed to find all of\n" +" the standard utilities\n" +" -v print a description of COMMAND similar to the `type' builtin\n" +" -V print a more verbose description of each COMMAND\n" " \n" " Exit Status:\n" " Returns exit status of COMMAND, or failure if COMMAND is not found." msgstr "" +"執行一個簡單命令或者顯示命令的相關資訊。\n" +" \n" +" 帶 ARGS 引數執行 COMMAND 命令且抑制 shell 函數查詢,或顯示\n" +" 指定的 COMMAND 命令的資訊。可以在存在相同名稱函數定義的\n" +" 情況下被用於啟動磁碟上的命令。\n" +" \n" +" 選項:\n" +" -p\t使用 PATH 變數的一個預設值以確保所有的標準工具都能被找到。\n" +" -v\t印出 COMMAND 命令的描述,和「type」內建相似\n" +" -V\t印出每個 COMMAND 命令的詳細描述\n" +" \n" +" 退出狀態:\n" +" 回傳 COMMAND 命令的回傳狀態,或者當找不到 COMMAND 命令時失敗。" -#: builtins.c:487 +#: builtins.c:490 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" @@ -2534,9 +2886,9 @@ msgid "" " Options:\n" " -f\trestrict action or display to function names and definitions\n" " -F\trestrict display to function names only (plus line number and\n" -" \tsource file when debugging)\n" +" \t\tsource file when debugging)\n" " -g\tcreate global variables when used in a shell function; otherwise\n" -" \tignored\n" +" \t\tignored\n" " -p\tdisplay the attributes and value of each NAME\n" " \n" " Options which set attributes:\n" @@ -2563,15 +2915,51 @@ msgid "" " Returns success unless an invalid option is supplied or a variable\n" " assignment error occurs." msgstr "" +"設定變數值和屬性。\n" +" \n" +" 規格變數並且賦予它們屬性。如果沒用給定名稱,\n" +" 則顯示所有變數的屬性和值。\n" +" \n" +" 選項:\n" +" -f\t限制動作或顯示為只有函數名稱和定義\n" +" -F\t限制僅顯示函數名稱 (以及列號和原始檔名於偵錯時)\n" +" -g\t當用於 shell 函數內時建立全域變數 ; 否則忽略\n" +" -p\t顯示每個 NAME 變數的屬性和值\n" +" \n" +" 設定屬性的選項:\n" +" -a\t使 NAME 成為索引陣列 (如果支援)\n" +" -A\t使 NAME 成為關聯陣列 (如果支援)\n" +" -i\t使 NAME 帶有「integer」(整數)屬性\n" +" -l\t將 NAME 在指派時轉為小寫\n" +" -n\t使 NAME 成為指向一個以其值為名稱的變數引用\n" +" -r\t將 NAME 變為唯讀\n" +" -t\t使 NAME 帶有「trace」(追蹤)屬性\n" +" -u\t將 NAME 在指派時轉為大寫\n" +" -x\t將 NAME 匯出\n" +" \n" +" 用「+」代替「-」會關閉指定選項。\n" +" \n" +" 帶有整數屬性的變數在指派時將使用算術求值(見\n" +" 「let」命令)\n" +" \n" +" 在函數中使用時,「declare」使 NAME 成為本地變數,和「local」\n" +" 命令一致。\n" +" \n" +" 退出狀態:\n" +" 回傳成功除非使用了無效選項或者發生錯誤。" -#: builtins.c:527 +#: builtins.c:530 +#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" -" Obsolete. See `help declare'." +" A synonym for `declare'. See `help declare'." msgstr "" +"設定變數的值和屬性。\n" +" \n" +" 廢棄。參見「help declare」。" -#: builtins.c:535 +#: builtins.c:538 msgid "" "Define local variables.\n" " \n" @@ -2585,8 +2973,20 @@ msgid "" " Returns success unless an invalid option is supplied, a variable\n" " assignment error occurs, or the shell is not executing a function." msgstr "" +"定義本地變數。\n" +" \n" +" 建立一個以 NAME 為名稱的變數,並且將 VALUE 指派給它。\n" +" OPTION 選項可以是任何能被「declare」接受的選項。\n" +" \n" +" 本地變數只能在函數內部被使用,它們只能在定義它們的函數內\n" +" 部以及子函數中可見。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項、發生了指派錯誤或者 shell 不在執行一個函" +"數。" -#: builtins.c:552 +#: builtins.c:555 +#, fuzzy msgid "" "Write arguments to the standard output.\n" " \n" @@ -2612,15 +3012,42 @@ msgid "" " \\v\tvertical tab\n" " \\\\\tbackslash\n" " \\0nnn\tthe character whose ASCII code is NNN (octal). NNN can be\n" -" \t0 to 3 octal digits\n" +" \t\t0 to 3 octal digits\n" " \\xHH\tthe eight-bit character whose value is HH (hexadecimal). HH\n" -" \tcan be one or two hex digits\n" +" \t\tcan be one or two hex digits\n" " \n" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" - -#: builtins.c:588 +"將引數寫入標準輸出。\n" +" \n" +" 在標準輸出上,顯示用空格分割的 ARG 引數後跟一個換列。\n" +" \n" +" 選項:\n" +" -n\t不要追加換列\n" +" -e\t啟用下列反斜線逸出的解釋\n" +" -E\t顯式地抑制對於反斜線逸出的解釋\n" +" \n" +" 「echo」對下列反斜線字元進行逸出:\n" +" \\a\t警告(響鈴)\n" +" \\b\t退格\n" +" \\c\t抑制更多的輸出\n" +" \\e\t逸出字元\n" +" \\f\t換頁字元\n" +" \\n\t換列\n" +" \\r\t輸入鍵\n" +" \\t\t橫向製表符\n" +" \\v\t縱向製表符\n" +" \\\\\t反斜線\n" +" \\0nnn\t以 NNN (八進位)為 ASCII 碼的字元。 NNN 可以是 0 到 3 個八進位數" +"字\n" +" \\xHH\t以 HH (十六進位)為值的八進位字元。HH 可以是一個或兩個十六進位數" +"字\n" +" \n" +" 退出狀態:\n" +" 回傳成功除非有寫入錯誤發生。" + +#: builtins.c:591 msgid "" "Write arguments to the standard output.\n" " \n" @@ -2632,8 +3059,17 @@ msgid "" " Exit Status:\n" " Returns success unless a write error occurs." msgstr "" +"寫入引數至標準輸出裝置。\n" +" \n" +" 在標準輸出裝置上顯示 ARGs 引數和一個換列。\n" +" \n" +" 選項:\n" +" -n\t不附加換列\n" +" \n" +" 退出狀態:\n" +" 除非寫錯誤發生,否則回傳成功。" -#: builtins.c:603 +#: builtins.c:606 msgid "" "Enable and disable shell builtins.\n" " \n" @@ -2659,8 +3095,31 @@ msgid "" " Exit Status:\n" " Returns success unless NAME is not a shell builtin or an error occurs." msgstr "" +"啟用和停用 shell 內建。\n" +" \n" +" 啟用和停用 shell 的內建命令。停用使您能夠執行一個和內建\n" +" 命令同名磁碟上的命令,而無須使用完整的路徑名。\n" +" \n" +" \n" +" 選項:\n" +" -a\t印出一個內建的列表,並顯示其中每一個是否啟用\n" +" -n\t停用每一個 NAME 內建或者顯示一個被停用的內建列表\n" +" -p\t以可重用的格式印出一個內建的列表\n" +" -s\t僅印出 Posix「special」 內建的名稱\n" +" \n" +" 控制動態載入的選項:\n" +" -f\t從共享物件 FILENAME 檔案中載入 NAME 內建\n" +" -d\t刪除以 -f 選項載入的內建\n" +" \n" +" 不帶選項時,每一個 NAME 內建都被啟用。\n" +" \n" +" 如果要使用 $PATH 中找到的「test」而不是 shell 內建的版本,\n" +" 輸入「enable -n test」。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非 NAME 不是一個 shell 內建或者有錯誤發生。" -#: builtins.c:631 +#: builtins.c:634 msgid "" "Execute arguments as a shell command.\n" " \n" @@ -2671,8 +3130,15 @@ msgid "" " Exit Status:\n" " Returns exit status of command or success if command is null." msgstr "" +"將引數做為 shell 命令執行。\n" +" \n" +" 將 ARGs 合成一個字串,用結果做為 shell 的輸入,\n" +" 並且執行得到的命令。\n" +" \n" +" 退出狀態:\n" +" 以命令的狀態退出,或者在命令為空的情況下回傳成功。" -#: builtins.c:643 +#: builtins.c:646 msgid "" "Parse option arguments.\n" " \n" @@ -2712,8 +3178,46 @@ msgid "" " Returns success if an option is found; fails if the end of options is\n" " encountered or an error occurs." msgstr "" +"解析選項引數。\n" +" \n" +" Getopts 被 shell 過程用於解析可定位的參數做為選項。\n" +" \n" +" \n" +" OPTSTRING 字串包含待識別的選項字母;如果一個字母後面跟\n" +" 著分號,則該選項需要一個引數,而該引數應用空格與選項分開。\n" +" \n" +" \n" +" 每次啟動時,getopts 會將下一個選項放到 shell 變數 $name\n" +" 中,如果 name 變數不存在則先將其初始化,而下一個待處\n" +" 理的引數序號放入 shell 變數 OPTIND 中。OPTIND 變數在每\n" +" 次 shell 或者 shell 指令稿啟動時都被初始化為 1。當一個選項要\n" +" 求有一個引數時,getopts 將引數放入 shell 變數 OPTARG\n" +" 中。\n" +" \n" +" getopts 有兩種通報錯誤的方法。如果 OPTSTRING 變數的第\n" +" 一個字元是冒號,getopts 使用沉默錯誤通報。在這種模式\n" +" 下,不會印出錯誤訊息。如果看到了一個無效的選項,\n" +" getopts 將找到的選項字元放至 OPTARG 變數中。如果一個必\n" +" 須的選項沒有找到,getopts 放一個「:」到 NAME 變數中並且設\n" +" ç½® OPTARG 變數為找到的選項字元。如果 getopts 不在沉默模\n" +" 式中,並且遇到了一個無效的選項,getopts 放置一個「?」到 NAME \n" +" 變數中並且取消設定 OPTARG 變數。如果必須的選項沒有找到,\n" +" 一個「?」會被放入 NAME 變數中,OPTARG 將被取消設定,並且會\n" +" 印出一個診斷資訊。\n" +" \n" +" 如果 shell 變數 OPTERR 的值為 0,getopts 停用\n" +" 錯誤資訊的印出,即使 OPTSTRING 變數的第一個字元不是一\n" +" 個冒號。OPTERR 的預設值為 1。\n" +" \n" +" Getopts 通常解析可定位的引數($0 - $9),不過如果提供了\n" +" 更多的引數,它們反而會被解析。\n" +" \n" +" 退出狀態:\n" +" 如果一個選項被找到則回傳成功;如果遇到了選項的結尾或者\n" +" 有錯誤發生則回傳失敗。" -#: builtins.c:685 +#: builtins.c:688 +#, fuzzy msgid "" "Replace the shell with the given command.\n" " \n" @@ -2724,8 +3228,8 @@ msgid "" " \n" " Options:\n" " -a name\tpass NAME as the zeroth argument to COMMAND\n" -" -c\t\texecute COMMAND with an empty environment\n" -" -l\t\tplace a dash in the zeroth argument to COMMAND\n" +" -c\texecute COMMAND with an empty environment\n" +" -l\tplace a dash in the zeroth argument to COMMAND\n" " \n" " If the command cannot be executed, a non-interactive shell exits, " "unless\n" @@ -2735,16 +3239,36 @@ msgid "" " Returns success unless COMMAND is not found or a redirection error " "occurs." msgstr "" +"使用指定命令替換 shell。\n" +" \n" +" 執行 COMMAND 命令,以指定的程式替換這個 shell。\n" +" ARGUMENTS 引數成為 COMMAND 命令的引數。如果\n" +" 沒有指定 COMMAND 命令,則任何的重定向在當前 shell 中生效。\n" +" \n" +" 選項:\n" +" -a 名稱\t做為第 0 個引數傳遞給 COMMAND 命令\n" +" -c\t\t在空環境中執行 COMMAND 命令\n" +" -l\t\t在 COMMAND 命令的第 0 個引數中加一個短線\n" +" \n" +" 如果命令不能被執行,則退出一個非互動式的 shell,除非\n" +" shell 選項「execfail」已經設定。\n" +" \n" +" 退出狀態:\n" +" 回傳成功除非 COMMAND 命令沒有找到或者出現一個重定向錯誤。" -#: builtins.c:706 +#: builtins.c:709 msgid "" "Exit the shell.\n" " \n" " Exits the shell with a status of N. If N is omitted, the exit status\n" " is that of the last command executed." msgstr "" +"退出 shell。\n" +" \n" +" 以狀態 N 退出 shell。 如果 N 被省略,則退出狀態\n" +" 為最後一個執行命令的退出狀態。" -#: builtins.c:715 +#: builtins.c:718 msgid "" "Exit a login shell.\n" " \n" @@ -2752,8 +3276,12 @@ msgid "" "executed\n" " in a login shell." msgstr "" +"退出一個登入 shell。\n" +" \n" +" 以狀態 N 退出一個登入 shell。如果不在登入 shell 中執行,則\n" +" 回傳一個錯誤。" -#: builtins.c:725 +#: builtins.c:728 msgid "" "Display or execute commands from the history list.\n" " \n" @@ -2782,8 +3310,31 @@ msgid "" " Returns success or status of executed command; non-zero if an error " "occurs." msgstr "" +"從歷史記錄列表中顯示或者執行命令。\n" +" \n" +" fc 被用於從歷史記錄列表中列出或者重新編輯並執行命令。\n" +" FIRST 和 LAST 變數可以是數字用於指定範圍,或者 FIRST 可以是\n" +" 字串,意味著以這個字串開頭的最近一個命令。\n" +" \n" +" \n" +" 選項:\n" +" -e ENAME\t選擇使用哪個編輯器。預設的是 FCEDIT,然後是 EDITOR,\n" +" \t\t然後是 vi\n" +" -l \t列出列而不編輯\n" +" -n\t列舉時省略列號\n" +" -r\t反轉列的順序(最新列在前)\n" +" \n" +" 用「fc -s [模式=替換 …] [命令]」的格式,COMMAND 命令會在 OLD=NEW\n" +" 替換之後被重新執行。\n" +" \n" +" r=「fc -s」是一個有用的別名,這樣的話輸入「r cc」會執行最後一個以「cc」\n" +" 開頭的命令,輸入「r」會重新執行最後一個命令。\n" +" \n" +" \n" +" 退出狀態:\n" +" 回傳成功,或者執行命令的狀態;如果錯誤發生則回傳非零。" -#: builtins.c:755 +#: builtins.c:758 msgid "" "Move job to the foreground.\n" " \n" @@ -2794,8 +3345,16 @@ msgid "" " Exit Status:\n" " Status of command placed in foreground, or failure if an error occurs." msgstr "" +"將工作移至前臺。\n" +" \n" +" 將以 JOB_SPEC 標識的工作放至前臺,使其成為\n" +" 當前工作。如果 JOB_SPEC 不存在,shell 觀念中的當前工作 \n" +" 將被使用。\n" +" \n" +" 退出狀態:\n" +" 放至前臺的命令狀態,或者當錯誤發生時為失敗。" -#: builtins.c:770 +#: builtins.c:773 msgid "" "Move jobs to the background.\n" " \n" @@ -2808,8 +3367,17 @@ msgid "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." msgstr "" +"移動工作至後臺。\n" +" \n" +" 將 JOB_SPEC 標識的工作放至後臺,就像它們\n" +" 是帶「&」啟動的一樣。如果 JOB_SPEC 不存在,shell 觀念中的\n" +" 當前工作將會被使用。\n" +" \n" +" 退出狀態:\n" +" 回傳成功除非工作管理沒有啟用或者錯誤發生。" -#: builtins.c:784 +#: builtins.c:787 +#, fuzzy msgid "" "Remember or display program locations.\n" " \n" @@ -2818,22 +3386,43 @@ msgid "" "displayed.\n" " \n" " Options:\n" -" -d\t\tforget the remembered location of each NAME\n" -" -l\t\tdisplay in a format that may be reused as input\n" +" -d\tforget the remembered location of each NAME\n" +" -l\tdisplay in a format that may be reused as input\n" " -p pathname\tuse PATHNAME as the full pathname of NAME\n" -" -r\t\tforget all remembered locations\n" -" -t\t\tprint the remembered location of each NAME, preceding\n" +" -r\tforget all remembered locations\n" +" -t\tprint the remembered location of each NAME, preceding\n" " \t\teach location with the corresponding NAME if multiple\n" " \t\tNAMEs are given\n" " Arguments:\n" -" NAME\t\tEach NAME is searched for in $PATH and added to the list\n" +" NAME\tEach NAME is searched for in $PATH and added to the list\n" " \t\tof remembered commands.\n" " \n" " Exit Status:\n" " Returns success unless NAME is not found or an invalid option is given." msgstr "" +"記住或顯示程式位置。\n" +" \n" +" 確定並記住每一個給定 NAME 名稱命令的完整路徑。\n" +" 如果不提供引數,則顯示已經記住命令的資訊。\n" +" \n" +" 選項:\n" +" -d\t\t忘記每一個已經記住的 NAME 的位置\n" +" -l\t\t以可做為輸入重用的格式顯示\n" +" -p pathname\t使用 pathname 路徑做為 NAME 命令的全路徑\n" +" -r\t\t忘記所有記住的位置\n" +" -t\t\t印出記住的每一個 NAME 名稱的位置,如果指定了多個\n" +" \t\tNAME 名稱,則每個位置前面會加上相應的 NAME 名稱\n" +" \t\t\n" +" 引數:\n" +" NAME\t\t每個 NAME 名稱會在 $PATH 路徑變數中被搜尋,並且新增到記住的命" +"令\n" +" 列表中。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非 NAME 命令沒有找到或者使用了無效的選項。" -#: builtins.c:809 +#: builtins.c:812 +#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -2845,7 +3434,7 @@ msgid "" " -d\toutput short description for each topic\n" " -m\tdisplay usage in pseudo-manpage format\n" " -s\toutput only a short usage synopsis for each topic matching\n" -" \tPATTERN\n" +" \t\tPATTERN\n" " \n" " Arguments:\n" " PATTERN\tPattern specifiying a help topic\n" @@ -2854,8 +3443,26 @@ msgid "" " Returns success unless PATTERN is not found or an invalid option is " "given." msgstr "" +"顯示內建命令的相關資訊。\n" +" \n" +" 顯示內建命令的簡略資訊。如果指定了 PATTERN 模式,\n" +" 給出所有匹配 PATTERN 模式命令的詳細說明,否則印出\n" +" 一個說明主題列表\n" +" \n" +" 選項:\n" +" -d\t輸出每個主題的簡短描述\n" +" -m\t以偽 man 手冊的格式顯示使用方法\n" +" -s\t為每一個匹配 PATTERN 模式的主題僅顯示一個用法\n" +" \t簡介\n" +" \n" +" 引數:\n" +" PATTERN\tPattern 模式指定一個說明主題\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非 PATTERN 模式沒有找到或者使用了無效選項。" -#: builtins.c:833 +#: builtins.c:836 +#, fuzzy msgid "" "Display or manipulate the history list.\n" " \n" @@ -2864,23 +3471,23 @@ msgid "" " \n" " Options:\n" " -c\tclear the history list by deleting all of the entries\n" -" -d offset\tdelete the history entry at offset OFFSET.\n" +" -d offset\tdelete the history entry at position OFFSET.\n" " \n" " -a\tappend history lines from this session to the history file\n" " -n\tread all history lines not already read from the history file\n" +" \t\tand append them to the history list\n" " -r\tread the history file and append the contents to the history\n" -" \tlist\n" +" \t\tlist\n" " -w\twrite the current history to the history file\n" -" \tand append them to the history list\n" " \n" " -p\tperform history expansion on each ARG and display the result\n" -" \twithout storing it in the history list\n" +" \t\twithout storing it in the history list\n" " -s\tappend the ARGs to the history list as a single entry\n" " \n" " If FILENAME is given, it is used as the history file. Otherwise,\n" -" if $HISTFILE has a value, that is used, else ~/.bash_history.\n" +" if HISTFILE has a value, that is used, else ~/.bash_history.\n" " \n" -" If the $HISTTIMEFORMAT variable is set and not null, its value is used\n" +" If the HISTTIMEFORMAT variable is set and not null, its value is used\n" " as a format string for strftime(3) to print the time stamp associated\n" " with each displayed history entry. No time stamps are printed " "otherwise.\n" @@ -2888,8 +3495,35 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" +"顯示或操縱歷史記錄列表。\n" +" \n" +" 帶列號顯示歷史記錄列表,將每個被修改的條目加上字首「*」。\n" +" 引數 N 會僅列出最後的 N 個條目。\n" +" \n" +" 選項:\n" +" -c\t刪除所有條目從而清空歷史記錄列表。\n" +" -d 偏移量\t從指定位置刪除歷史記錄列表。\n" +" \n" +" -a\t將當前會話的歷史記錄列追加到歷史記錄檔案中\n" +" -n\t從歷史記錄檔案中讀取所有未被讀取的列\n" +" -r\t讀取歷史記錄檔案並將內容追加到歷史記錄列表中\n" +" -w\t將當前歷史記錄寫入到歷史記錄檔案中,並追加到歷史記錄列表中\n" +" \n" +" -p\t對每一個 ARG 引數展開歷史記錄並顯示結果,而不儲存到歷史記錄列表中\n" +" -s\t以單條記錄追加 ARG 到歷史記錄列表中\n" +" \n" +" 如果給定了 FILENAME 檔名,則它將被做為歷史記錄檔案。否則\n" +" 如果 $HISTFILE 變數有值的話使用之,不然使用 ~/.bash_history 檔案。\n" +" \n" +" 如果 $HISTTIMEFORMAT 變數被設定並且不為空,它的值會被用於\n" +" strftime(3) 的格式字串來印出與每一個顯示的歷史記錄條目想關聯的時\n" +" 間戳,否則不印出時間戳。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者發生錯誤。" -#: builtins.c:869 +#: builtins.c:872 +#, fuzzy msgid "" "Display status of jobs.\n" " \n" @@ -2899,7 +3533,7 @@ msgid "" " Options:\n" " -l\tlists process IDs in addition to the normal information\n" " -n\tlists only processes that have changed status since the last\n" -" \tnotification\n" +" \t\tnotification\n" " -p\tlists process IDs only\n" " -r\trestrict output to running jobs\n" " -s\trestrict output to stopped jobs\n" @@ -2912,8 +3546,27 @@ msgid "" " Returns success unless an invalid option is given or an error occurs.\n" " If -x is used, returns the exit status of COMMAND." msgstr "" +"顯示工作狀態。\n" +" \n" +" 列出活動的工作。JOBSPEC 限制僅輸出指定的工作。\n" +" 不帶選項時,所有活動工作的狀態都會顯示。\n" +" \n" +" 選項:\n" +" -l\t在正常資訊基礎上列出行程識別號\n" +" -n\t僅列出上次通告之後變更了狀態的行程\n" +" -p\t僅列出行程識別號\n" +" -r\t限制僅輸出執行中的工作\n" +" -s\t限制僅輸出停止的工作\n" +" \n" +" 如果使用了 -x 選項,ARG 引數中的所有工作規格會被替換為該工作\n" +" 的行程群組首領的行程識別號,然後執行 COMMAND 命令。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者有錯誤發生。\n" +" 如果使用 -x 選項,則回傳 COMMAND 命令的退出狀態。" -#: builtins.c:896 +#: builtins.c:899 +#, fuzzy msgid "" "Remove jobs from current shell.\n" " \n" @@ -2923,14 +3576,28 @@ msgid "" " Options:\n" " -a\tremove all jobs if JOBSPEC is not supplied\n" " -h\tmark each JOBSPEC so that SIGHUP is not sent to the job if the\n" -" \tshell receives a SIGHUP\n" +" \t\tshell receives a SIGHUP\n" " -r\tremove only running jobs\n" " \n" " Exit Status:\n" " Returns success unless an invalid option or JOBSPEC is given." msgstr "" +"從當前 shell 中刪除工作。\n" +" \n" +" 從活動工作表中刪除每一個 JOBSPEC 引數。不帶任何\n" +" JOBSPEC 引數時,shell 使用觀念中的當前工作。\n" +" \n" +" 選項:\n" +" -a\t如果不提供 JOBSPEC 引數,則刪除所有工作\n" +" -h\t標識每個 JOBSPEC 工作,從而當 shell 接收到 SIGHUP\n" +" \t訊號時不傳送 SIGHUP 給指定工作\n" +" -r\t僅刪除執行中的工作\n" +" \n" +" 退出狀態:\n" +" 回傳成功除非使用了無效的選項或者 JOBSPEC 規格。" -#: builtins.c:915 +#: builtins.c:918 +#, fuzzy msgid "" "Send a signal to a job.\n" " \n" @@ -2942,7 +3609,8 @@ msgid "" " -s sig\tSIG is a signal name\n" " -n sig\tSIG is a signal number\n" " -l\tlist the signal names; if arguments follow `-l' they are\n" -" \tassumed to be signal numbers for which names should be listed\n" +" \t\tassumed to be signal numbers for which names should be listed\n" +" -L\tsynonym for -l\n" " \n" " Kill is a shell builtin for two reasons: it allows job IDs to be used\n" " instead of process IDs, and allows processes to be killed if the limit\n" @@ -2951,8 +3619,25 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or an error occurs." msgstr "" +"向一個工作傳送一個訊號。\n" +" \n" +" 向以 PID 行程識別號或者 JOBSPEC 工作規格指定的行程傳送一個以\n" +" SIGSPEC 訊號規格或 SIGNUM 訊號編號命名的訊號。如果沒有指定\n" +" SIGSPEC 或 SIGNUM,那麼假定傳送 SIGTERM 訊號。\n" +" \n" +" 選項:\n" +" -s sig\tSIG 是訊號名稱\n" +" -n sig\tSIG 是訊號編號\n" +" -l\t列出訊號名稱;如果引數後跟「-l」則被假設為訊號編號,\n" +" \t而相應的訊號名稱會被列出\n" +" \n" +" Kill 成為 shell 內建有兩個理由:它允許使用工作編號而不是行程識別號,\n" +" 並且在可以建立的行程數上限達到時允許行程被砍除。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者有錯誤發生。" -#: builtins.c:938 +#: builtins.c:942 msgid "" "Evaluate arithmetic expressions.\n" " \n" @@ -2996,8 +3681,46 @@ msgid "" " Exit Status:\n" " If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." msgstr "" +"求值算術表示式。\n" +" \n" +" 將每個 ARG 參賽做為算術表示式來求值。求值的計算以定寬的整\n" +" 數完成,不帶溢位檢測,不過除 0 是被置陷阱的並且會報一個錯\n" +" 誤。下列運算子被按照相同的算術優先順序組合。列表的順序按照\n" +" 優先順序從高至低。\n" +" \n" +" \n" +" \tid++, id--\t變數後置加,後置減\n" +" \t++id, --id\t變數前置加,前置減\n" +" \t-, +\t\t一元減法,一元加法\n" +" \t!, ~\t\t邏輯和位取反\n" +" \t**\t\t指數\n" +" \t*, /, %\t\t乘法,除法,取餘數\n" +" \t+, -\t\t增加,減少\n" +" \t<<, >>\t\t向左和向右按位移位\n" +" \t<=, >=, <, >\t比較\n" +" \t==, !=\t\t等於,不等於\n" +" \t&\t\t按位與\n" +" \t^\t\t按位異或\n" +" \t|\t\t按位或\n" +" \t&&\t\t邏輯與\n" +" \t||\t\t邏輯或\n" +" \texpr ? expr : expr\n" +" \t\t\t條件運算子\n" +" \t=, *=, /=, %=,\n" +" \t+=, -=, <<=, >>=,\n" +" \t&=, ^=, |=\t指派\n" +" \n" +" Shell 變數允許做為運算元。表示式中的變數名稱會以值取代\n" +" (強制轉換為定寬的整數)。表示式中的變數不需要開啟整數屬性。\n" +" \n" +" 運算子按照優先順序進行求值。括號中的子表示式將被先求值,並可取代上述表示" +"式規則。\n" +" \n" +" 退出狀態:\n" +" 如果最後一個 ARG 引數求值為 0,則 let 回傳 1; 否則 let 回傳 0。" -#: builtins.c:983 +#: builtins.c:987 +#, fuzzy msgid "" "Read a line from the standard input and split it into fields.\n" " \n" @@ -3018,27 +3741,28 @@ msgid "" " \t\tvariable ARRAY, starting at zero\n" " -d delim\tcontinue until the first character of DELIM is read, rather\n" " \t\tthan newline\n" -" -e\t\tuse Readline to obtain the line in an interactive shell\n" -" -i text\tUse TEXT as the initial text for Readline\n" +" -e\tuse Readline to obtain the line in an interactive shell\n" +" -i text\tuse TEXT as the initial text for Readline\n" " -n nchars\treturn after reading NCHARS characters rather than waiting\n" -" \t\tfor a newline, but honor a delimiter if fewer than NCHARS\n" -" \t\tcharacters are read before the delimiter\n" +" \t\tfor a newline, but honor a delimiter if fewer than\n" +" \t\tNCHARS characters are read before the delimiter\n" " -N nchars\treturn only after reading exactly NCHARS characters, " "unless\n" -" \t\tEOF is encountered or read times out, ignoring any delimiter\n" +" \t\tEOF is encountered or read times out, ignoring any\n" +" \t\tdelimiter\n" " -p prompt\toutput the string PROMPT without a trailing newline before\n" " \t\tattempting to read\n" -" -r\t\tdo not allow backslashes to escape any characters\n" -" -s\t\tdo not echo input coming from a terminal\n" -" -t timeout\ttime out and return failure if a complete line of input " -"is\n" -" \t\tnot read within TIMEOUT seconds. The value of the TMOUT\n" -" \t\tvariable is the default timeout. TIMEOUT may be a\n" -" \t\tfractional number. If TIMEOUT is 0, read returns immediately,\n" -" \t\twithout trying to read any data, returning success only if\n" -" \t\tinput is available on the specified file descriptor. The\n" -" \t\texit status is greater than 128 if the timeout is exceeded\n" -" -u fd\t\tread from file descriptor FD instead of the standard input\n" +" -r\tdo not allow backslashes to escape any characters\n" +" -s\tdo not echo input coming from a terminal\n" +" -t timeout\ttime out and return failure if a complete line of\n" +" \t\tinput is not read within TIMEOUT seconds. The value of the\n" +" \t\tTMOUT variable is the default timeout. TIMEOUT may be a\n" +" \t\tfractional number. If TIMEOUT is 0, read returns\n" +" \t\timmediately, without trying to read any data, returning\n" +" \t\tsuccess only if input is available on the specified\n" +" \t\tfile descriptor. The exit status is greater than 128\n" +" \t\tif the timeout is exceeded\n" +" -u fd\tread from file descriptor FD instead of the standard input\n" " \n" " Exit Status:\n" " The return code is zero, unless end-of-file is encountered, read times " @@ -3047,8 +3771,45 @@ msgid "" "occurs,\n" " or an invalid file descriptor is supplied as the argument to -u." msgstr "" - -#: builtins.c:1028 +"從標準輸入讀取一列並將其分為不同的區域。\n" +" \n" +" 從標準輸入讀取單獨的一列,或者如果使用了 -u 選項,從檔案描述符 FD 中讀" +"取。\n" +" 該列被分割成區域,如同字詞分割一樣,並且第一個字詞被指派給第一個 NAME 變" +"數,第二\n" +" 個字詞被指派給第二個 NAME 變數,如此繼續,直到剩下所有的字詞被指派給最後" +"一個 NAME\n" +" 變數。只有 $IFS 變數中的字元被認做是字詞分隔符。\n" +" \n" +" 如果沒有提供 NAME 變數,則讀取的列被存放在 REPLY 變數中。\n" +" \n" +" 選項:\n" +" -a array\t將字詞指派給 ARRAY 陣列變數的序列索引成員,從零開始。\n" +" -d delim\t持續讀取直到讀入 DELIM 變數中的第一個字元,而不是換列符\n" +" -e\t在互動式 shell 中使用 Readline 獲取列\n" +" -i text\t使用 TEXT 文字做為 Readline 的初始文字\n" +" -n nchars\t讀取 nchars 個字元之後回傳,而不是等到讀取換列符。\n" +" \t\t但是分隔符仍然有效,如果遇到分隔符之前讀取了不足 nchars 個字元。\n" +" -N nchars\t在準確讀取了 nchars 個字元之後回傳,除非遇到檔案結束符或者讀" +"取逾時,\n" +" \t\t任何的分隔符都被忽略\n" +" -p prompt\t在嘗試讀取之前輸出 PROMPT 提示符並且不帶\n" +" \t\t換列符\n" +" -r\t不允許反斜線逸出任何字元\n" +" -s\t不顯示終端的任何輸入\n" +" -t timeout\t如果在 TIMEOUT 秒內沒有讀取一個完整的列則逾時並且回傳失" +"敗。\n" +" \t\tTMOUT 變數的值是預設逾時時間。\n" +" \t\tTIMEOUT 可以是小數。如果 TIMEOUT 是 0,那麼僅當在指定的檔案描述符上\n" +" \t\t輸入有效的時候,read 才回傳成功。\n" +" \t\t如果超過了逾時時間,則回傳狀態碼大於 128\n" +" -u fd\t從檔案描述符 FD 中讀取,而不是標準輸入\n" +" \n" +" 退出狀態:\n" +" 回傳碼為零,除非遇到了檔案結束符,讀取逾時,或者無效的文\n" +" 件描述符做為引數傳遞給了 -u 選項。" + +#: builtins.c:1034 msgid "" "Return from a shell function.\n" " \n" @@ -3059,8 +3820,17 @@ msgid "" " Exit Status:\n" " Returns N, or failure if the shell is not executing a function or script." msgstr "" +"從一個 shell 函數回傳。\n" +" \n" +" 使一個函數或者被引用的指令稿以指定的回傳值 N 退出。\n" +" 如果 N 被省略,則回傳狀態就是\n" +" 函數或指令稿中的最後一個執行命令的狀態。\n" +" \n" +" 退出狀態:\n" +" 回傳 N,或者如果 shell 不在執行一個函數或引用指令稿時,失敗。" -#: builtins.c:1041 +#: builtins.c:1047 +#, fuzzy msgid "" "Set or unset values of shell options and positional parameters.\n" " \n" @@ -3128,7 +3898,8 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG trap is inherited by shell functions.\n" +" -T If set, the DEBUG and RETURN traps are inherited by shell " +"functions.\n" " -- Assign any remaining arguments to the positional parameters.\n" " If there are no remaining arguments, the positional parameters\n" " are unset.\n" @@ -3144,8 +3915,84 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given." msgstr "" - -#: builtins.c:1126 +"設定或取消設定 shell 選項和位置參數的值。\n" +" \n" +" 變更 shell 選項和位置引數的值,或者顯示 shell 變數的\n" +" 名稱和值。\n" +" \n" +" 選項:\n" +" -a 標記修改或者建立的變數為匯出。\n" +" -b 立即通告工作終結。\n" +" -e 如果一個命令以非零狀態退出,則立即退出。\n" +" -f 停用檔名生成(模式匹配)。\n" +" -h 當查詢命令時記住它們的位置\n" +" -k 所有的指派引數被放在命令的環境中,而不僅僅是\n" +" 命令名稱之前的引數。\n" +" -m 啟用工作控制。\n" +" -n 讀取命令但不執行\n" +" -o 選項名\n" +" 設定與選項名對應的變數:\n" +" allexport 與 -a 相同\n" +" braceexpand 與 -B 相同\n" +" emacs 使用 emacs 風格的列編輯介面\n" +" errexit 與 -e 相同\n" +" errtrace 與 -E 相同\n" +" functrace 與 -T 相同\n" +" hashall 與 -h 相同\n" +" histexpand 與 -H 相同\n" +" history 啟用命令歷史記錄\n" +" ignoreeof shell 讀取檔案結束符時不會退出\n" +" interactive-comments\n" +" 允許在互動式命令中顯示註釋\n" +" keyword 與 -k 相同\n" +" monitor 與 -m 相同\n" +" noclobber 與 -C 相同\n" +" noexec 與 -n 相同\n" +" noglob 與 -f 相同\n" +" nolog 目前可接受但是被忽略\n" +" notify 與 -b 相同\n" +" nounset 與 -u 相同\n" +" onecmd 與 -t 相同\n" +" physical 與 -P 相同\n" +" pipefail 管道的回傳值是最後一個非零回傳值命令的回傳結果,\n" +" 或者當所有命令都回傳零時也為零。\n" +" posix 變更預設時和 Posix 標準不同的 bash 行為\n" +" 以匹配標準\n" +" privileged 與 -p 相同\n" +" verbose 與 -v 相同\n" +" vi 使用 vi 風格的列編輯介面\n" +" xtrace 與 -x 相同\n" +" -p 無論何時當真實的有效使用者身分不匹配時開啟。\n" +" 停用對 $ENV 檔案的處理以及匯入 shell 函數。\n" +" 關閉此選項會導致有效的使用者編號和群組編號設定\n" +" 為真實的使用者編號和群組編號\n" +" -t 讀取並執行一個命令之後退出。\n" +" -u 替換時將為設定的變數當做錯誤對待。\n" +" -v 讀取 shell 輸入列時將它們印出。\n" +" -x 執行命令時印出它們以及引數。\n" +" -B shell 將執行大括號擴充套件。\n" +" -C 設定之後禁止以重定向輸出的方式覆蓋常\n" +" 規檔案。\n" +" -E 設定之後 ERR 陷阱會被 shell 函數繼承。\n" +" -H 啟用 ! 風格的歷史記錄替換。當 shell 是互動式的\n" +" 時候這個標識位預設開啟。\n" +" -P 設定之後類似 cd 的會變更當前目錄的命令不\n" +" 追蹤符號鏈結。\n" +" -T 設定之後 DEBUG 陷阱會被 shell 函數繼承。\n" +" - 任何剩餘的引數會被指派給位置引數。\n" +" -x 和 -v 選項已關閉。\n" +" \n" +" 使用 + 而不是 - 會使標誌位被關閉。標誌位也可以在\n" +" shell 被啟動時使用。當前的標誌位設定可以在 $- 變\n" +" 量中找到。剩餘的 ARG 引數是位置引數並且是按照\n" +" $1,$2,.。$n 的順序被指派的。如果沒有給定 ARG\n" +" 引數,則印出所有的 shell 變數。\n" +" \n" +" 退出狀態:\n" +" 回傳成功除非使用了無效的引數。" + +#: builtins.c:1132 +#, fuzzy msgid "" "Unset values and attributes of shell variables and functions.\n" " \n" @@ -3155,7 +4002,7 @@ msgid "" " -f\ttreat each NAME as a shell function\n" " -v\ttreat each NAME as a shell variable\n" " -n\ttreat each NAME as a name reference and unset the variable itself\n" -" \trather than the variable it references\n" +" \t\trather than the variable it references\n" " \n" " Without options, unset first tries to unset a variable, and if that " "fails,\n" @@ -3166,8 +4013,24 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or a NAME is read-only." msgstr "" +"取消設定 shell 變數和函數的值和屬性。\n" +" \n" +" 對每一個 NAME 名稱,刪除對應的變數或函數。\n" +" \n" +" 選項:\n" +" -f\t將每個 NAME 視為函數\n" +" -v\t將每個 NAME 視為變數\n" +" -n\t將每個 NAME 視為名稱引用,只取消其本身而非其指向的變數\n" +" \n" +" 不帶選項時,unset 首先嘗試取消設定一個變數,如果失敗,再嘗試取消設定一個" +"函數。\n" +" \n" +" 某些變數不可以被取消設定;參見「readonly」。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者 NAME 名稱為唯讀。" -#: builtins.c:1148 +#: builtins.c:1154 msgid "" "Set export attribute for shell variables.\n" " \n" @@ -3185,8 +4048,23 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" +"為 shell 變數設定匯出屬性。\n" +" \n" +" 標記每個 NAME 名稱為自動匯出到後續命令執行的環境。如果提供了 VALUE\n" +" 則匯出前將 VALUE 做為指派。\n" +" \n" +" 選項:\n" +" -f\t指 shell 函數\n" +" -n\t刪除每個 NAME 名稱的匯出屬性\n" +" -p\t顯示所有匯出的變數和函數的列表\n" +" \n" +" 「--」的引數停用進一步的選項處理。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者 NAME 名稱。" -#: builtins.c:1167 +#: builtins.c:1173 +#, fuzzy msgid "" "Mark shell variables as unchangeable.\n" " \n" @@ -3198,17 +4076,31 @@ msgid "" " -a\trefer to indexed array variables\n" " -A\trefer to associative array variables\n" " -f\trefer to shell functions\n" -" -p\tdisplay a list of all readonly variables or functions, depending " -"on\n" -" whether or not the -f option is given\n" +" -p\tdisplay a list of all readonly variables or functions,\n" +" \t\tdepending on whether or not the -f option is given\n" " \n" " An argument of `--' disables further option processing.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is given or NAME is invalid." msgstr "" +"標記 shell 變數為不可變更。\n" +" \n" +" 標記每一個 NAME 名稱為唯讀;這些 NAME 變數的值將不可以被後續的指派\n" +" 操作所變更。如果提供了 VALUE,則在標記為唯讀之前將 VALUE 值指派給變數。\n" +" \n" +" 選項:\n" +" -a\t指索引陣列變數\n" +" -A\t指關聯陣列變數\n" +" -f\t指 shell 函數\n" +" -p\t顯示唯讀變數或函數列表,取決於是否提供了 -f 選項\n" +" \n" +" 「--」的引數停用進一步的選項處理。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者 NAME 名稱。" -#: builtins.c:1189 +#: builtins.c:1195 msgid "" "Shift positional parameters.\n" " \n" @@ -3218,8 +4110,15 @@ msgid "" " Exit Status:\n" " Returns success unless N is negative or greater than $#." msgstr "" +"移位位置參數。\n" +" \n" +" 重新命名位置引數 $N+1、$N+2 … 到 $1、$2 … 如果沒有給定 N,\n" +" 則假設為 1。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非 N 為負或者大於 $#。" -#: builtins.c:1201 builtins.c:1216 +#: builtins.c:1207 builtins.c:1222 msgid "" "Execute commands from a file in the current shell.\n" " \n" @@ -3232,8 +4131,16 @@ msgid "" " Returns the status of the last command executed in FILENAME; fails if\n" " FILENAME cannot be read." msgstr "" +"在當前 shell 中執行一個檔案中的命令。\n" +" \n" +" 在當前 shell 中讀取並執行 FILENAME 檔案中的命令。$PATH 變數中的\n" +" 條目被用於尋找包含 FILENAME 檔案的目錄。如果提供了任何的 ARGUMENTS\n" +" 引數,則它們將成為 FILENAME 檔案執行時的位置參數。\n" +" \n" +" 退出狀態:\n" +" 回傳 FILENAME 檔案中最後一個命令的狀態;如果 FILENAME 檔案不可讀則失敗。" -#: builtins.c:1232 +#: builtins.c:1238 msgid "" "Suspend shell execution.\n" " \n" @@ -3246,8 +4153,19 @@ msgid "" " Exit Status:\n" " Returns success unless job control is not enabled or an error occurs." msgstr "" +"懸置 shell 執行。\n" +" \n" +" 懸置 shell 的執行直到收到 SIGCONT 訊號。\n" +" 登入 shell 不可以被懸置,除非強制執行。\n" +" \n" +" 選項:\n" +" -f\t強制懸置,即使是登入 shell。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非沒有啟用工作控制或者有錯誤發生。" -#: builtins.c:1248 +#: builtins.c:1254 +#, fuzzy msgid "" "Evaluate conditional expression.\n" " \n" @@ -3311,9 +4229,9 @@ msgid "" " Other operators:\n" " \n" " -o OPTION True if the shell option OPTION is enabled.\n" -" -v VAR\t True if the shell variable VAR is set\n" -" -R VAR\t True if the shell variable VAR is set and is a name " -"reference.\n" +" -v VAR True if the shell variable VAR is set.\n" +" -R VAR True if the shell variable VAR is set and is a name\n" +" reference.\n" " ! EXPR True if expr is false.\n" " EXPR1 -a EXPR2 True if both expr1 AND expr2 are true.\n" " EXPR1 -o EXPR2 True if either expr1 OR expr2 is true.\n" @@ -3329,16 +4247,91 @@ msgid "" " Returns success if EXPR evaluates to true; fails if EXPR evaluates to\n" " false or an invalid argument is given." msgstr "" +"對條件表示式進行求值。\n" +" \n" +" 根據 EXPR 表示式的求值以狀態 0 (真) 或 1 (偽) 退出。\n" +" 表示式可以是一元或者二元的。一元表示式通常用於檢測\n" +" 檔案狀態。同時還有字串運算子和數字比較運算子。\n" +" \n" +" 檔案運算子:\n" +" \n" +" -a 檔案 如果檔案存在則為真。\n" +" -b 檔案 如果檔案為區塊特殊檔案則為真。\n" +" -c 檔案 如果檔案為字元特殊檔案則為真。\n" +" -d 檔案 如果檔案為目錄則為真。\n" +" -e 檔案 如果檔案存在則為真。\n" +" -f 檔案 如果檔案存在且為常規檔案則為真。\n" +" -g 檔案 如果檔案的群組屬性設定開啟則為真。\n" +" -h 檔案 如果檔案為符號鏈結則為真。\n" +" -L 檔案 如果檔案為符號鏈結則為真。\n" +" -k 檔案 如果檔案的粘著位元已設定則為真。\n" +" -p 檔案 如果檔案為命名管道則為真。\n" +" -r 檔案 如果檔案對於您是可讀的則為真。\n" +" -s 檔案 如果檔案存在且不為空則為真。\n" +" -S 檔案 如果檔案是套接字則為真。\n" +" -t 檔案描述符 如果檔案描述符在終端上開啟則為真。\n" +" -u 檔案 如果檔案的使用者數列設定開啟則為真。\n" +" -w 檔案 如果檔案對您是可寫的則為真\n" +" -x 檔案 如果檔案對您是可執行的則為真。\n" +" -O 檔案 如果檔案是您所有的則為真。\n" +" -G 檔案 如果檔案是您的群組所有則為真。\n" +" -N 檔案 如果檔案上次被讀取之後修改過則為真。\n" +" \n" +" FILE1 -nt FILE2 如果 file1 檔案新於 file2 檔案則為真(根據\n" +" 修改日期)。\n" +" \n" +" FILE1 -ot FILE2 如果 file1 檔案舊於 file2 檔案則為真。\n" +" \n" +" FILE1 -ef FILE2 如果 file1 檔案是 file2 檔案的硬式鏈結則為真。\n" +" \n" +" 字串運算子\n" +" \n" +" -z 字串 如果字串為空則為真。\n" +" \n" +" -n 字串\n" +" 字串 如果字串不為空則為真。\n" +" \n" +" STRING1 = STRING2\n" +" 如果 string1 和 string2 字串相同則為真。\n" +" STRING1 != STRING2\n" +" 如果 string1 和 string2 字串不相同則為真。\n" +" STRING1 < STRING2\n" +" 如果按字典排序 string1 在 string2 串之前則為真。\n" +" STRING1 > STRING2\n" +" 如果按字典排序 string1 在 string2 串之前則為真。\n" +" \n" +" 其他運算子:\n" +" \n" +" -o 選項 如果指定 shell 選項啟用則為真。\n" +" -v VAR\t 如果指定 Shell 變數 VAR 已指派則為真。\n" +" -R VAR\t 如果指定 Shell 變數 VAR 已指派且為名稱引用則為真。\n" +" ! EXPR 如果表示式 expr 為假則為真。\n" +" EXPR1 -a EXPR2 如果 expr1 和 expr2 都為真則為真。\n" +" EXPR1 -o EXPR2 如果 expr1 和 expr2 有一個為真則為真。\n" +" \n" +" arg1 OP arg2 算術測試。OP 運算子可以是 -eq、-ne、\n" +" -lt、-le、-gt、或 -ge 之一。\n" +" \n" +" 二元算術運算回傳真,如果 ARG1 引數等於、不等於、\n" +" 小於、小於等於、大於、或者大於等於 ARG2 引數。\n" +" \n" +" 退出狀態:\n" +" 如果 EXPR 表示式求值為真則回傳成功;如果 EXPR 表示式求值\n" +" 為假或者使用了無效的引數則回傳失敗。" -#: builtins.c:1329 +#: builtins.c:1336 msgid "" "Evaluate conditional expression.\n" " \n" " This is a synonym for the \"test\" builtin, but the last argument must\n" " be a literal `]', to match the opening `['." msgstr "" +"求值條件表示式。\n" +" \n" +" 是內建命令「test」的同義詞,但是最後一個引數必須是\n" +" 字元「]」,以匹配起始的「[」。" -#: builtins.c:1338 +#: builtins.c:1345 msgid "" "Display process times.\n" " \n" @@ -3349,8 +4342,15 @@ msgid "" " Exit Status:\n" " Always succeeds." msgstr "" +"顯示行程時間\n" +" \n" +" 印出 shell 及其所有子行程的累計使用者空間和\n" +" 系統空間執行時間。\n" +" \n" +" 退出狀態:\n" +" 一律成功。" -#: builtins.c:1350 +#: builtins.c:1357 msgid "" "Trap signals and other events.\n" " \n" @@ -3393,8 +4393,36 @@ msgid "" " Returns success unless a SIGSPEC is invalid or an invalid option is " "given." msgstr "" +"對訊號和其他事件設陷阱。\n" +" \n" +" 定義一個處理器,在 shell 接收到訊號和其他條件下執行。\n" +" \n" +" ARG 引數是當 shell 接收到 SIGNAL_SPEC 訊號時讀取和執行的命令。\n" +" 如果沒有指定 ARG 引數 (並且只給出一個 SIGNAL_SPEC 訊號) 或者\n" +" ARG 引數為\n" +" 「-」,每一個指定的引數會被重置為原始值。如果 ARG 引數是一個空串,則每一" +"個\n" +" SIGNAL_SPEC 訊號會被 shell 和它啟動的命令忽略。\n" +" \n" +" 如果一個 SIGNAL_SPEC 訊號是 EXIT (0) ,則 ARG 命令會在 shell 退出時被\n" +" 執行。如果一個 SIGNAL_SPEC 訊號是 DEBUG,則 ARG 命令會在每一個簡單命\n" +" 令之前執行。\n" +" \n" +" 如果不提供引數,trap 印出列表顯示每一個與每一個訊號相關聯的命令。\n" +" \n" +" 選項:\n" +" -l\t印出一個訊號名稱和它們對應的編號列表\n" +" -p\t印出與每個 SIGNAL_SPEC 訊號相關聯的陷阱命令\n" +" \n" +" 每一個 SIGNAL_SPEC 訊號可以是 中的訊號名稱或者訊號編號。\n" +" 訊號名稱大小寫相符且可以使用 SIG 字首。訊號可用「kill - 訊號 $$」\n" +" 傳送給 shell。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者 SIGSPEC。" -#: builtins.c:1386 +#: builtins.c:1393 +#, fuzzy msgid "" "Display information about command type.\n" " \n" @@ -3403,18 +4431,18 @@ msgid "" " \n" " Options:\n" " -a\tdisplay all locations containing an executable named NAME;\n" -" \tincludes aliases, builtins, and functions, if and only if\n" -" \tthe `-p' option is not also used\n" +" \t\tincludes aliases, builtins, and functions, if and only if\n" +" \t\tthe `-p' option is not also used\n" " -f\tsuppress shell function lookup\n" " -P\tforce a PATH search for each NAME, even if it is an alias,\n" -" \tbuiltin, or function, and returns the name of the disk file\n" -" \tthat would be executed\n" +" \t\tbuiltin, or function, and returns the name of the disk file\n" +" \t\tthat would be executed\n" " -p\treturns either the name of the disk file that would be executed,\n" -" \tor nothing if `type -t NAME' would not return `file'.\n" +" \t\tor nothing if `type -t NAME' would not return `file'\n" " -t\toutput a single word which is one of `alias', `keyword',\n" -" \t`function', `builtin', `file' or `', if NAME is an alias, shell\n" -" \treserved word, shell function, shell builtin, disk file, or not\n" -" \tfound, respectively\n" +" \t\t`function', `builtin', `file' or `', if NAME is an alias,\n" +" \t\tshell reserved word, shell function, shell builtin, disk file,\n" +" \t\tor not found, respectively\n" " \n" " Arguments:\n" " NAME\tCommand name to be interpreted.\n" @@ -3423,8 +4451,31 @@ msgid "" " Returns success if all of the NAMEs are found; fails if any are not " "found." msgstr "" +"顯示命令類型的資訊。\n" +" \n" +" 對於每一個 NAME 名稱,指示如果做為命令它將如何被解釋。\n" +" \n" +" 選項:\n" +" -a\t顯示所有包含名稱為 NAME 的可執行檔案的位置;\n" +" \t包括別名、內建和函數。僅當「-p」選項沒有使用時\n" +" -f\t抑制 shell 函數查詢\n" +" -P\t為每個 NAME 名稱驚醒 PATH 路徑搜尋,即使它是別名、\n" +" \t內建或函數,並且回傳將被執行的磁碟上檔案的名稱。\n" +" -p\t回傳將被執行的磁碟上檔案的名稱,或者當「type -t NAME」\n" +" \t不回傳「file」時,不回傳任何值。\n" +" -t\t回傳下列詞中的任何一個「alias」、「keyword」、\n" +" \t「function」、「builtin」、「file」或者「」,如果 NAME 是相應的\n" +" \t一個別名、shell 保留字、shell 函數、shell 內建、\n" +" \t磁碟檔案或沒有找到。\n" +" \n" +" 引數:\n" +" NAME\t將要解析的命令。\n" +" \n" +" 退出狀態:\n" +" 如果所有的 NAME 命令都找到則回傳成功;任何找不到則失敗。" -#: builtins.c:1417 +#: builtins.c:1424 +#, fuzzy msgid "" "Modify shell resource limits.\n" " \n" @@ -3442,6 +4493,7 @@ msgid "" " -e\tthe maximum scheduling priority (`nice')\n" " -f\tthe maximum size of files written by the shell and its children\n" " -i\tthe maximum number of pending signals\n" +" -k\tthe maximum number of kqueues allocated for this process\n" " -l\tthe maximum size a process may lock into memory\n" " -m\tthe maximum resident set size\n" " -n\tthe maximum number of open file descriptors\n" @@ -3453,7 +4505,8 @@ msgid "" " -u\tthe maximum number of user processes\n" " -v\tthe size of virtual memory\n" " -x\tthe maximum number of file locks\n" -" -T the maximum number of threads\n" +" -P\tthe maximum number of pseudoterminals\n" +" -T\tthe maximum number of threads\n" " \n" " Not all options are available on all platforms.\n" " \n" @@ -3470,8 +4523,48 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" - -#: builtins.c:1465 +"修改 shell 資源限制。\n" +" \n" +" 在允許此類控制的系統上,提供對於 shell 及其建立的行程所可用的\n" +" 資源的控制。\n" +" \n" +" 選項:\n" +" -S\t使用軟 (「soft」) 資源限制\n" +" -H\t使用硬 (「hard」) 資源限制\n" +" -a\t所有當前限制都被通報\n" +" -b\t套接字快取尺寸\n" +" -c\t建立核心檔案的最大尺寸\n" +" -d\t一個行程的資料區最大尺寸\n" +" -e\t最高的排程優先順序 (「nice」)\n" +" -f\t有 shell 及其子行程可以寫入的最大檔案尺寸\n" +" -i\t最多可以懸置的訊號數\n" +" -l\t一個行程可以鎖定的最大記憶體尺寸\n" +" -m\t最大的記憶體進駐尺寸\n" +" -n\t最多開啟的檔案描述符個數\n" +" -p\t管道緩衝區尺寸\n" +" -q\tPOSIX 資訊佇列的最大位元組數\n" +" -r\t實時排程的最大優先順序\n" +" -s\t最大堆疊尺寸\n" +" -t\t最大的 CPU 時間,以秒為單位\n" +" -u\t最大使用者行程數\n" +" -v\t虛擬記憶體尺寸\n" +" -x\t最大的檔案鎖數量\n" +" -T\t最大執行緒數量\n" +" \n" +" 並非所有選項在所有系統上可用。\n" +" \n" +" 如果提供了 LIMIT 變數,則它為指定資源的新值;特別的 LIMIT 值為\n" +" 「soft」、「hard」和「unlimited」,分別表示當前的軟限制,硬限制和無限" +"制。\n" +" 否則印出指定資源的當前限制值,不帶選項則假定為 -f\n" +" \n" +" 取值都是 1024 位元組為單位,除了 -t 以秒為單位,-p 以 512 位元組遞增,\n" +" -u 為無尺度的行程數量。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者錯誤發生。" + +#: builtins.c:1474 msgid "" "Display or set file mode mask.\n" " \n" @@ -3488,8 +4581,22 @@ msgid "" " Exit Status:\n" " Returns success unless MODE is invalid or an invalid option is given." msgstr "" +"顯示或設定檔案模式遮罩。\n" +" \n" +" 設定使用者檔案建立遮罩為 MODE 模式。如果省略了 MODE,則\n" +" 印出當前遮罩的值。\n" +" \n" +" 如果 MODE 模式以數字開頭,則被當做八進位數字解析;否則是一個\n" +" chmod(1) 可接收的符號模式串。\n" +" \n" +" 選項:\n" +" -p\t如果省略 MDOE 模式,以可重用為輸入的格式輸入\n" +" -S\t以符號形式輸出,否則以八進位數字格式輸出\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的 MODE 模式或者選項。" -#: builtins.c:1485 +#: builtins.c:1494 msgid "" "Wait for job completion and return exit status.\n" " \n" @@ -3508,8 +4615,19 @@ msgid "" " Returns the status of the last ID; fails if ID is invalid or an invalid\n" " option is given." msgstr "" +"等待工作完成並回傳退出狀態。\n" +" \n" +" 等待以 ID 編號識別的行程,其中 ID 可以是行程編號或者工作規格,\n" +" 並通報它的終止狀態。如果 ID 沒有給出,則等待所有的當前活躍子\n" +" 行程,並且回傳狀態為零。如果 ID 是工作規格,等待工作管道中的\n" +" 所有行程。\n" +" \n" +" 若給定了 -n 選項,等待下一個工作完成並回傳其狀態。\n" +" \n" +" 退出狀態:\n" +" 回傳最後一個 ID 行程的狀態;如果使用了無效的 ID 或者選項則失敗。" -#: builtins.c:1506 +#: builtins.c:1515 msgid "" "Wait for process completion and return exit status.\n" " \n" @@ -3523,8 +4641,16 @@ msgid "" "invalid\n" " option is given." msgstr "" +"等待行程完成並且回傳退出狀態。\n" +" \n" +" 等待指定行程並通報它的終止狀態。如果沒有提供 PID,則當前所有的活躍\n" +" 子行程都會被等待,並且回傳碼為零。PID 必須為行程識別號。\n" +" \n" +" 退出狀態:\n" +" 回傳行程 ID 的狀態;如果 PID 是無效的行程識別號或者指定了無效的選項則失" +"敗。" -#: builtins.c:1521 +#: builtins.c:1530 msgid "" "Execute commands for each member in a list.\n" " \n" @@ -3536,8 +4662,16 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"為列表中的每個成員執行命令。\n" +" \n" +" 「for」迴圈為列表中的每個成員執行一系列的命令。如果沒有\n" +" 「in WORDS ...;」則假定使用「in \"$@\"」。對於 WORDS 中的每\n" +" 個元素,NAME 被設定為該元素,並且執行 COMMANDS 命令。\n" +" \n" +" 退出狀態:\n" +" 回傳最後執行命令的狀態。" -#: builtins.c:1535 +#: builtins.c:1544 msgid "" "Arithmetic for loop.\n" " \n" @@ -3553,8 +4687,21 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"算術 for 迴圈。\n" +" \n" +" 等價於\n" +" \t(( EXP1 ))\n" +" \twhile (( EXP2 )); do\n" +" \t\tCOMMANDS\n" +" \t\t(( EXP3 ))\n" +" \tdone\n" +" EXP1、EXP2 和 EXP3 都是算術表示式。如果省略任何表示式,\n" +" 則等同於使用了求值為 1 的表示式。\n" +" \n" +" 退出狀態:\n" +" 回傳最後執行命令的狀態。" -#: builtins.c:1553 +#: builtins.c:1562 msgid "" "Select words from a list and execute commands.\n" " \n" @@ -3573,8 +4720,21 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"從列表中選取詞並且執行命令。\n" +" \n" +" WORDS 變數被展開,生成一個字詞的列表。展開的字詞集合被印出\n" +" 在標準錯誤輸出裝置上,每個以一個數字做字首。如果沒有「in WORDS」\n" +" 則假定使用「in \"$@\"」。PS3 提示符會被顯示並且從標準輸入讀入一列\n" +" 如果該列由被顯示字詞對應的數字組成,則 NAME 變數被設定為相應\n" +" 的字詞。如果列為空,則 WORDS 變數和提示符被重新顯示。如果讀取了\n" +" 檔案結束符,則命令完成。讀入任何其他的值會導致 NAME 變數被設定\n" +" 為空。讀入的列被存放在變數 REPLY 中。COMMANDS 命令在每次選擇\n" +" 之後執行直到執行一個 break 命令。\n" +" \n" +" 退出狀態:\n" +" 回傳最後一個執行命令的狀態。" -#: builtins.c:1574 +#: builtins.c:1583 msgid "" "Report time consumed by pipeline's execution.\n" " \n" @@ -3589,8 +4749,20 @@ msgid "" " Exit Status:\n" " The return status is the return status of PIPELINE." msgstr "" +"通報管道執行的消耗時間。\n" +" \n" +" 執行 PIPELINE 並且印出 PIPELINE 終結時實際時間、使用者 CPU 時間和系統\n" +" CPU 時間的總結。\n" +" \n" +" 選項:\n" +" -p\t用可移植的 POSIX 格式印出用時總結。\n" +" \n" +" TIMEFORMAT 變數的值被做為輸出格式。\n" +" \n" +" 退出狀態:\n" +" 回傳狀態即 PIPELINE 的回傳狀態。" -#: builtins.c:1591 +#: builtins.c:1600 msgid "" "Execute commands based on pattern matching.\n" " \n" @@ -3600,8 +4772,15 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"基於模式匹配來執行命令。\n" +" \n" +" 基於 PATTERN 模式匹配的字詞 WORD,有選擇的執行 COMMANDS 命令。\n" +" 「|」用於分隔多個模式。\n" +" \n" +" 退出狀態:\n" +" 回傳最後一個執行命令的狀態。" -#: builtins.c:1603 +#: builtins.c:1612 msgid "" "Execute commands based on conditional.\n" " \n" @@ -3621,8 +4800,18 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"根據條件執行命令。\n" +" \n" +" 「if COMMANDS」列表被執行。如果退出狀態為零,則執行「then COMMANDS」\n" +" 列表。否則按順序執行每個「elif COMMANDS」列表,並且如果它的退出狀態為\n" +" 零,則執行對應的「then COMMANDS」列表並且 if 命令終止。否則如果存在的\n" +" 情況下,執行「else COMMANDS」列表。整個結構的退出狀態是最後一個執行\n" +" 命令的狀態,或者如果沒有條件測試為真的話,則為零。\n" +" \n" +" 退出狀態:\n" +" 回傳最後一個執行命令的狀態。" -#: builtins.c:1620 +#: builtins.c:1629 msgid "" "Execute commands as long as a test succeeds.\n" " \n" @@ -3632,8 +4821,15 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"只要測試成功即執行命令。\n" +" \n" +" 只要在「while」COMMANDS 中的最終命令回傳結果為 0,則\n" +" 展開並執行 COMMANDS 命令。\n" +" \n" +" 退出狀態:\n" +" 回傳最後一個執行命令的狀態。" -#: builtins.c:1632 +#: builtins.c:1641 msgid "" "Execute commands as long as a test does not succeed.\n" " \n" @@ -3643,8 +4839,16 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"當測試不同過時執行命令。\n" +" \n" +" 「until」COMMANDS 命令的最終命令回傳狀態不為 0 時,\n" +" 展開並執行 COMMANDS 命令。\n" +" \n" +" 退出狀態:\n" +" 回傳最後一個執行命令的狀態。" -#: builtins.c:1644 +#: builtins.c:1653 +#, fuzzy msgid "" "Create a coprocess named NAME.\n" " \n" @@ -3654,10 +4858,19 @@ msgid "" " The default NAME is \"COPROC\".\n" " \n" " Exit Status:\n" -" Returns the exit status of COMMAND." +" The coproc command returns an exit status of 0." msgstr "" +"建立一個以 NAME 為名的副行程。\n" +" \n" +" 非同步執行 COMMANDS 命令,在執行 shell 中的陣列變數 NAME\n" +" 的 0 號和 1 號元素做為檔案描述符,以一個管道連接命令\n" +" 分別做為命令的標準輸出和輸入裝置。\n" +" 預設的 NAME 是「COPROC」。\n" +" \n" +" 退出狀態:\n" +" 回傳 COMMAND 命令的退出狀態。" -#: builtins.c:1658 +#: builtins.c:1667 msgid "" "Define shell function.\n" " \n" @@ -3670,8 +4883,17 @@ msgid "" " Exit Status:\n" " Returns success unless NAME is readonly." msgstr "" +"定義 shell 函數。\n" +" \n" +" 建立一個以 NAME 為名的 shell 函數。當做為一個簡單的命令啟用時,\n" +" NAME 函數執行呼叫 shell 語境中的 COMMANDs 命令。當 NAME\n" +" 被啟用時,引數做為 $1…$n 被傳遞給函數,函數的名字儲存在變數\n" +" $FUNCNAME 中。\n" +" \n" +" 退出狀態:\n" +" 回傳成功除非 NAME 為唯讀。" -#: builtins.c:1672 +#: builtins.c:1681 msgid "" "Group commands as a unit.\n" " \n" @@ -3681,8 +4903,15 @@ msgid "" " Exit Status:\n" " Returns the status of the last command executed." msgstr "" +"將命令組合為一個單元。\n" +" \n" +" 執行群組中的命令集合。這是對整個命令集合\n" +" 做重定向的方法之一。\n" +" \n" +" 退出狀態:\n" +" 回傳最後一個執行命令的狀態。" -#: builtins.c:1684 +#: builtins.c:1693 msgid "" "Resume job in foreground.\n" " \n" @@ -3695,8 +4924,18 @@ msgid "" " Exit Status:\n" " Returns the status of the resumed job." msgstr "" +"在前臺繼續工作\n" +" \n" +" 對於 JOB_SPEC 引數來說和「fg」命令等同。繼續一個\n" +" 停止的或者後臺工作。JOB_SPEC 可以指定一個工作\n" +" 名字或工作號。在 JOB_SPEC 後加上一個「&」將會把\n" +" 工作放至後臺,就像工作規格被做為「bg」命令的引數\n" +" 執行一樣。\n" +" \n" +" 退出狀態:\n" +" 回傳被繼續的工作狀態。" -#: builtins.c:1699 +#: builtins.c:1708 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -3706,8 +4945,15 @@ msgid "" " Exit Status:\n" " Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise." msgstr "" +"求值算術表示式。\n" +" \n" +" 表示式按照算術法則進行求值。\n" +" 等價於「let 表示式」。\n" +" \n" +" 退出狀態:\n" +" 如果表示式求值為 0 則回傳 1;否則回傳 0。" -#: builtins.c:1711 +#: builtins.c:1720 msgid "" "Execute conditional command.\n" " \n" @@ -3734,8 +4980,28 @@ msgid "" " Exit Status:\n" " 0 or 1 depending on value of EXPRESSION." msgstr "" +"執行條件命令。\n" +" \n" +" 根據條件表示式 EXPRESSION 的求值回傳狀態 0 或 1。表示式按照\n" +" 「test」內建的相同條件組成,或者可以有下列運算子連接而成:\n" +" \n" +" ( EXPRESSION )\t回傳 EXPRESSION 表示式的值\n" +" ! EXPRESSION\t\t如果 EXPRESSION 表示式為假則為真,否則為假\n" +" EXPR1 && EXPR2\t如果 EXPR1 和 EXPR2 表示式均為真則為真,否則為假\n" +" EXPR1 || EXPR2\t如果 EXPR1 和 EXPR2 表示式中有一個為真則為真,否則為" +"假\n" +" \n" +" 當使用「==」和「!=」運算子時,運算子右邊的字串被用作模式並且執行一個\n" +" 匹配。當使用「=~」運算子時,運算子右邊的字串被當做正則表示式來進行\n" +" 匹配。\n" +" \n" +" 運算子 && 和 || 將不對 EXPR2 表示式進行求值,如果 EXPR1 表示式足夠確定\n" +" 整個表示式的值。\n" +" \n" +" 退出狀態:\n" +" 根據 EXPRESSION 的值為 0 或 1。" -#: builtins.c:1737 +#: builtins.c:1746 msgid "" "Common shell variable names and usage.\n" " \n" @@ -3788,8 +5054,50 @@ msgid "" " HISTIGNORE\tA colon-separated list of patterns used to decide which\n" " \t\tcommands should be saved on the history list.\n" msgstr "" - -#: builtins.c:1794 +"常用 shell 變數名稱和使用。\n" +" \n" +" BASH_VERSION\t當前 Bash 的版本資訊。\n" +" CDPATH\t用於「cd」命令引數搜尋分號分隔的目錄列表\n" +" GLOBIGNORE\t路徑擴充套件時忽略的檔名匹配模式列表,\n" +" \t\t以分號分隔。\n" +" HISTFILE\t您的命令歷史記錄存放的檔案名稱。\n" +" HISTFILESIZE\t歷史記錄檔案最多可以儲存的列數。\n" +" HISTSIZE\t一個執行的 shell 最多可以訪問的歷史記錄命令列數。\n" +" HOME\t您登入目錄的完整路徑。\n" +" HOSTNAME\t當前主機的主機名。\n" +" HOSTTYPE\t當前版本的 BASH 在其之上執行的 CPU 類型。\n" +" IGNOREEOF\t控制 shell 收到檔案結束符做為單一輸入後的\n" +" \t\t動作。如果設定這個變數,則它的值是 shell 退出之前在\n" +" \t\t一個空列上可以連續看到的檔案結束符數量(預設為 10)。\n" +" \t\t未設定時,檔案結束符標誌著輸入的結束。\n" +" MACHTYPE\t描述當前執行 Bash 的系統字串。\n" +" MAILCHECK\tBash 檢測新郵件的頻率,以秒為單位。\n" +" MAILPATH\tBash 從中檢測新郵件的檔案列表,以分號分隔。\n" +" OSTYPE\t執行 Bash 的 Unix 版本。\n" +" PATH\t當尋找命令時搜尋的目錄列表,以冒號分隔。\n" +" PROMPT_COMMAND\t印出每一個主提示符之前執行的命\n" +" \t\t令。\n" +" PS1\t\t主提示符字串。\n" +" PS2\t\t從提示符字串。\n" +" PWD\t\t當前目錄的完整路徑。\n" +" SHELLOPTS\t已啟用的 shell 選項列表,以冒號分隔。\n" +" TERM\t當前終端類型的名稱。\n" +" TIMEFORMAT\t以關鍵則「time」顯示的時間統計資訊的輸出\n" +" \t\t格式。\n" +" auto_resume\t非空時,一個單獨的命令詞會首先被在當前\n" +" \t\t停止的工作列表中搜索。如果找到則該工作被置於前臺。\n" +" \t\t如果值為「exact」則意味著命令詞必須精確匹配停止工作\n" +" \t\t列表中的命令。如果值為「substring」則意味著命令詞必\n" +" \t\t須匹配工作的一個子字串。任何其他的值意味著命令詞\n" +" \t\t必須是停止工作的一個字首。\n" +" histchars\t控制歷史記錄展開和快速替換的字元。第一個字元是\n" +" \t\t歷史記錄替換字元,通常是「!」。第二個字元是快速替換字元,\n" +" \t\t通常是「^」。第三個是歷史記錄註釋字元,通常是「#」。\n" +" HISTIGNORE\t用於決定哪些命令被存入歷史記錄檔案的模式\n" +" \t\t列表,以冒號分隔。\n" + +#: builtins.c:1803 +#, fuzzy msgid "" "Add directories to stack.\n" " \n" @@ -3799,19 +5107,19 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when adding\n" -" \tdirectories to the stack, so only the stack is manipulated.\n" +" \t\tdirectories to the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the left of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the left of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " -N\tRotates the stack so that the Nth directory (counting\n" -" \tfrom the right of the list shown by `dirs', starting with\n" -" \tzero) is at the top.\n" +" \t\tfrom the right of the list shown by `dirs', starting with\n" +" \t\tzero) is at the top.\n" " \n" " dir\tAdds DIR to the directory stack at the top, making it the\n" -" \tnew current working directory.\n" +" \t\tnew current working directory.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3819,8 +5127,29 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" +"從堆疊中刪除目錄。\n" +" \n" +" 從目錄堆疊中刪除條目。不帶引數時,刪除堆疊頂端目錄,並變更至新的堆疊\n" +" 頂端目錄。\n" +" \n" +" 選項:\n" +" -n\t抑制從堆疊中刪除目錄時通常的目錄變換操作,從而僅對堆疊\n" +" \t進行操作。\n" +" \n" +" 引數:\n" +" +N\t刪除第 N 個目錄 (「dirs」顯示的目錄列表中左起,從零開始)。\n" +" \t例如:「popd +0」刪除第一個目錄,「popd +1」刪除第二個。\n" +" \n" +" -N\t刪除第 N 個目錄 (「dirs」顯示的目錄列表中右起,從零開始)。\n" +" \t例如:「popd -0」刪除最後一個目錄,,「popd -1」刪除倒數第二個。\n" +" \n" +" 「dirs」內建顯示目錄堆疊。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的引數或者目錄變換失敗。" -#: builtins.c:1828 +#: builtins.c:1837 +#, fuzzy msgid "" "Remove directories from stack.\n" " \n" @@ -3829,16 +5158,16 @@ msgid "" " \n" " Options:\n" " -n\tSuppresses the normal change of directory when removing\n" -" \tdirectories from the stack, so only the stack is manipulated.\n" +" \t\tdirectories from the stack, so only the stack is manipulated.\n" " \n" " Arguments:\n" " +N\tRemoves the Nth entry counting from the left of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd +0'\n" -" \tremoves the first directory, `popd +1' the second.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd +0'\n" +" \t\tremoves the first directory, `popd +1' the second.\n" " \n" " -N\tRemoves the Nth entry counting from the right of the list\n" -" \tshown by `dirs', starting with zero. For example: `popd -0'\n" -" \tremoves the last directory, `popd -1' the next to last.\n" +" \t\tshown by `dirs', starting with zero. For example: `popd -0'\n" +" \t\tremoves the last directory, `popd -1' the next to last.\n" " \n" " The `dirs' builtin displays the directory stack.\n" " \n" @@ -3846,8 +5175,29 @@ msgid "" " Returns success unless an invalid argument is supplied or the directory\n" " change fails." msgstr "" +"從堆疊中刪除目錄。\n" +" \n" +" 從目錄堆疊中刪除條目。不帶引數時,刪除堆疊頂端目錄,並變更至新的堆疊\n" +" 頂端目錄。\n" +" \n" +" 選項:\n" +" -n\t抑制從堆疊中刪除目錄時通常的目錄變換操作,從而僅對堆疊\n" +" \t進行操作。\n" +" \n" +" 引數:\n" +" +N\t刪除第 N 個目錄 (「dirs」顯示的目錄列表中左起,從零開始)。\n" +" \t例如:「popd +0」刪除第一個目錄,「popd +1」刪除第二個。\n" +" \n" +" -N\t刪除第 N 個目錄 (「dirs」顯示的目錄列表中右起,從零開始)。\n" +" \t例如:「popd -0」刪除最後一個目錄,,「popd -1」刪除倒數第二個。\n" +" \n" +" 「dirs」內建顯示目錄堆疊。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的引數或者目錄變換失敗。" -#: builtins.c:1858 +#: builtins.c:1867 +#, fuzzy msgid "" "Display directory stack.\n" " \n" @@ -3858,25 +5208,45 @@ msgid "" " Options:\n" " -c\tclear the directory stack by deleting all of the elements\n" " -l\tdo not print tilde-prefixed versions of directories relative\n" -" \tto your home directory\n" +" \t\tto your home directory\n" " -p\tprint the directory stack with one entry per line\n" " -v\tprint the directory stack with one entry per line prefixed\n" -" \twith its position in the stack\n" +" \t\twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" +N\tDisplays the Nth entry counting from the left of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" -" \tdirs when invoked without options, starting with zero.\n" +" -N\tDisplays the Nth entry counting from the right of the list\n" +" \t\tshown by dirs when invoked without options, starting with\n" +" \t\tzero.\n" " \n" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"顯示目錄堆疊。\n" +" \n" +" 顯示當前記住的目錄列表。藉由「pushd」命令可以將目錄存入列表\n" +" 中;「popd」命令可用於遍歷彈出列表。\n" +" \n" +" 選項:\n" +" -c\t刪除所有元素以清空目錄堆疊\n" +" -l\t不印出與主目錄相關的波浪號字首的目錄\n" +" -p\t每列一個條目印出目錄堆疊\n" +" -v\t每列一個條目,以堆疊中位置為字首印出目錄堆疊\n" +" \n" +" 引數:\n" +" +N\t顯示 dirs 不帶選項啟動時顯示的目錄列表左起中第\n" +" \tN 個目錄,從零開始。\n" +" \n" +" -N\t顯示 dirs 不帶選項啟動時顯示的目錄列表右起中第\n" +" \tN 個目錄,從零開始。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者發生錯誤。" -#: builtins.c:1887 +#: builtins.c:1898 msgid "" "Set and unset shell options.\n" " \n" @@ -3896,8 +5266,25 @@ msgid "" " Returns success if OPTNAME is enabled; fails if an invalid option is\n" " given or OPTNAME is disabled." msgstr "" +"設定和取消設定 shell 選項。\n" +" \n" +" 變更每個 shell 選項 OPTNAME 的設定。不帶引數\n" +" 時,列出所有 shell 選項並標註每一個選項是否被\n" +" 設定。\n" +" \n" +" 選項:\n" +" -o\t限制 OPTNAME 為定義用於「set -o」的選項\n" +" -p\t印出每個 shell 選項並標註它的狀態。\n" +" -q\t抑制輸出\n" +" -s\t啟用(設定)每個 OPTNAME 選項\n" +" -u\t停用(取消設定)每個 OPTNAME 選項\n" +" \n" +" 退出狀態:\n" +" 如果 OPTNAME 選項被啟用則回傳成功;如果是\n" +" 無效的選項或 OPTNAME 被停用則失敗。" -#: builtins.c:1908 +#: builtins.c:1919 +#, fuzzy msgid "" "Formats and prints ARGUMENTS under control of the FORMAT.\n" " \n" @@ -3914,15 +5301,15 @@ msgid "" "successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf" +"(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T output the date-time string resulting from using FMT as a " +" %(fmt)T\toutput the date-time string resulting from using FMT as a " "format\n" -" string for strftime(3)\n" +" \t string for strftime(3)\n" " \n" " The format is re-used as necessary to consume all of the arguments. If\n" " there are fewer arguments than the format requires, extra format\n" @@ -3935,8 +5322,25 @@ msgid "" "assignment\n" " error occurs." msgstr "" +"在 FORMAT 的控制下格式化並印出 ARGUMENTS 引數。\n" +" \n" +" 選項:\n" +" -v var\t將輸出指派給 shell 變數 VAR 而不顯示在標準輸出上\n" +" \n" +" FORMAT 是包含三種物件的字串:簡單地被複製到標準輸出的普通字元;\n" +" 被變換之後複製到標準輸入的逸出字元;以及每個都會影響到下個引數的印出格式" +"化規格。\n" +" \n" +" 在 printf(1) 中描述的標準控制規格之外,printf 解析:\n" +"、 \n" +" %b\t擴充套件對應引數中的反斜線逸出序列\n" +" %q\t以可做為 shell 輸入的格式引用引數\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者發生寫入或指派錯誤。" -#: builtins.c:1942 +#: builtins.c:1953 +#, fuzzy msgid "" "Specify how arguments are to be completed by Readline.\n" " \n" @@ -3949,11 +5353,11 @@ msgid "" " Options:\n" " -p\tprint existing completion specifications in a reusable format\n" " -r\tremove a completion specification for each NAME, or, if no\n" -" \tNAMEs are supplied, all completion specifications\n" +" \t\tNAMEs are supplied, all completion specifications\n" " -D\tapply the completions and actions as the default for commands\n" -" \twithout any specific completion defined\n" +" \t\twithout any specific completion defined\n" " -E\tapply the completions and actions to \"empty\" commands --\n" -" \tcompletion attempted on a blank line\n" +" \t\tcompletion attempted on a blank line\n" " \n" " When completion is attempted, the actions are applied in the order the\n" " uppercase-letter options are listed above. The -D option takes\n" @@ -3962,8 +5366,25 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"規格 readline 如何完成讀取引數。\n" +" \n" +" 規格對於每一個 NAME 名稱如何完成讀取引數。如果不帶選項,\n" +" 現有的補完規格會以可以重用為輸入的格式印出。\n" +" \n" +" 選項:\n" +" -p\t以可重用的格式印出現有的補完規格。\n" +" -r\t對於每個 NAME 名稱刪除補完規格,或者如果沒有提供 NAME\n" +" \t名稱,刪除所有的補完規格。\n" +" -D\t對於沒有補完規格定義的命令,設定預設的補完動作\n" +" -E\t對於「empty」命令設定補完動作,—— 對於空列的補完。\n" +" \n" +" 嘗試補完時,按照上述大寫字母選項的順序進行動作。-D 選項優先\n" +" 級高於 -E 選項。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者錯誤發生。" -#: builtins.c:1970 +#: builtins.c:1981 msgid "" "Display possible completions depending on the options.\n" " \n" @@ -3975,8 +5396,16 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" +"依據選項顯示可能的補完。\n" +" \n" +" 意圖在能產生可能的補完 shell 函數內部使用。\n" +" 如果提供了可選的 WORD 引數,則產生按照 WORD\n" +" 進行的匹配。\n" +" \n" +" 退出狀態:\n" +" 除非使用了無效選項或者錯誤發生,否則回傳成功。" -#: builtins.c:1985 +#: builtins.c:1996 msgid "" "Modify or display completion options.\n" " \n" @@ -4006,8 +5435,30 @@ msgid "" " Returns success unless an invalid option is supplied or NAME does not\n" " have a completion specification defined." msgstr "" +"修改或顯示補完選項。\n" +" \n" +" 修改每個 NAME 名稱的補完選項,或如果沒有提供 NAME 名稱,執行當前的補" +"完。\n" +" 如果不帶選項,印出每個 NAME 名稱的補完選項或當前的補完規格。\n" +" \n" +" 選項:\n" +" \t-o option\t為每個 NAME 名稱設定補完選項 option\n" +" \t-D\t\t為「default」命令補完變更選項\n" +" \t-E\t\t為「empty」命令補完變更選項\n" +" \n" +" 使用「+o」而不是「-o」可以關閉指定的選項。\n" +" \n" +" 引數:\n" +" \n" +" 每個 NAME 名稱都對應一個之前以藉由「complete」內建定義了補完規格的\n" +" 命令。如果不提供 NAME 名稱,當前生成補完的函數必須呼叫 compopt,\n" +" 並且當前執行的補完生成器選項會被修改。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項或者 NAME 名稱沒有定義補完規格。" -#: builtins.c:2015 +#: builtins.c:2026 +#, fuzzy msgid "" "Read lines from the standard input into an indexed array variable.\n" " \n" @@ -4018,20 +5469,21 @@ msgid "" " is the default ARRAY.\n" " \n" " Options:\n" +" -d delim\tUse DELIM to terminate lines, instead of newline\n" " -n count\tCopy at most COUNT lines. If COUNT is 0, all lines are " -"copied.\n" +"copied\n" " -O origin\tBegin assigning to ARRAY at index ORIGIN. The default " -"index is 0.\n" -" -s count \tDiscard the first COUNT lines read.\n" -" -t\t\tRemove a trailing newline from each line read.\n" -" -u fd\t\tRead lines from file descriptor FD instead of the standard " -"input.\n" -" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read.\n" -" -c quantum\tSpecify the number of lines read between each call to " -"CALLBACK.\n" +"index is 0\n" +" -s count\tDiscard the first COUNT lines read\n" +" -t\tRemove a trailing DELIM from each line read (default newline)\n" +" -u fd\tRead lines from file descriptor FD instead of the standard " +"input\n" +" -C callback\tEvaluate CALLBACK each time QUANTUM lines are read\n" +" -c quantum\tSpecify the number of lines read between each call to\n" +" \t\t\tCALLBACK\n" " \n" " Arguments:\n" -" ARRAY\t\tArray variable name to use for file data.\n" +" ARRAY\tArray variable name to use for file data\n" " \n" " If -C is supplied without -c, the default quantum is 5000. When\n" " CALLBACK is evaluated, it is supplied the index of the next array\n" @@ -4047,19 +5499,65 @@ msgid "" "or\n" " not an indexed array." msgstr "" +"從標準輸入讀取列到索引陣列變數中。\n" +" \n" +" 從標準輸入讀取列到索引陣列變數 ARRAY 中,或者如果使用了 -u 選項,\n" +" 從檔案描述符 FD 中讀取。MAPFILE 變數是預設的 ARRAY 變數。\n" +" \n" +" 選項:\n" +" -n count\t最多複製 COUNT 列,如果 COUNT 為 0,則複製所有列。\n" +" -O origin\t從索引 ORIGIN 開始 指派給 ARRAY 變數。預設索引是 0。\n" +" -s count \t丟棄最先讀取的 COUNT 列。\n" +" -t\t\t從讀取的每列末尾刪除一個換列符。\n" +" -u fd\t\t從檔案描述符 FD 中讀取列而不是標準輸入。\n" +" -C callback\t每 QUANTUM 次讀列之後對 CALLBACK 回呼求值。\n" +" -c quantum\t定義每次呼叫 CALLBACK 回呼之間讀取的列數。\n" +" \n" +" 引數:\n" +" ARRAY\t\t儲存資料使用的陣列變數\n" +" \n" +" 如果使用了 -C 而沒有 -c,預設的定量是 5000。當對 CALLBACK 求值時,\n" +" 下一個將被指派的陣列元素索引做為額外引數被傳遞。\n" +" \n" +" 如果沒有顯式指定起始索引,mapfile 將在指派前清空 ARRAY 變數。\n" +" \n" +" 退出狀態:\n" +" 回傳成功,除非使用了無效的選項,或者 ARRAY 變數唯讀或不是索引陣列。" -#: builtins.c:2049 +#: builtins.c:2062 msgid "" "Read lines from a file into an array variable.\n" " \n" " A synonym for `mapfile'." msgstr "" +"從一個檔案中讀取列到陣列變數中\n" +" \n" +" 一個「mapfile」的同義詞。" + +#, fuzzy +#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc." +#~ msgstr "著作權所有 (C) 2013 自由軟體基金會" + +#~ msgid ":" +#~ msgstr ":" + +#~ msgid "true" +#~ msgstr "true" + +#~ msgid "false" +#~ msgstr "false" + +#~ msgid "times" +#~ msgstr "times" + +#~ msgid "Copyright (C) 2012 Free Software Foundation, Inc." +#~ msgstr "著作權所有 (C) 2013 自由軟體基金會。" #~ msgid "requesting resize" #~ msgstr "要求調整" #~ msgid "just resized" -#~ msgstr "只是大小" +#~ msgstr "只是調整大小" #~ msgid "bug: unknown operation" -#~ msgstr "bug:未知操作" +#~ msgstr "bug:不明操作" diff --git a/print_cmd.c b/print_cmd.c index ea63dca46..5a1ec5f17 100644 --- a/print_cmd.c +++ b/print_cmd.c @@ -1,6 +1,6 @@ /* print_command -- A way to make readable commands from a command tree. */ -/* Copyright (C) 1989-2011 Free Software Foundation, Inc. +/* Copyright (C) 1989-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -41,6 +41,7 @@ #include "shell.h" #include "flags.h" #include /* use <...> so we pick it up from the build directory */ +#include "input.h" #include "shmbutil.h" @@ -51,6 +52,7 @@ extern int printf __P((const char *, ...)); /* Yuck. Double yuck. */ #endif extern int indirection_level; +extern int posixly_correct; static int indentation; static int indentation_amount = 4; @@ -513,7 +515,11 @@ xtrace_print_assignment (name, value, assign_list, xflags) fflush (xtrace_fp); } -/* A function to print the words of a simple command when set -x is on. */ +/* A function to print the words of a simple command when set -x is on. Also + used to print the word list in a for or select command header; in that case, + we suppress quoting the words because they haven't been expanded yet. + XTFLAGS&1 means to print $PS4; XTFLAGS&2 means to suppress quoting the + words in LIST. */ void xtrace_print_word_list (list, xtflags) WORD_LIST *list; @@ -524,7 +530,7 @@ xtrace_print_word_list (list, xtflags) CHECK_XTRACE_FP; - if (xtflags) + if (xtflags&1) fprintf (xtrace_fp, "%s", indirection_level_string ()); for (w = list; w; w = w->next) @@ -532,6 +538,8 @@ xtrace_print_word_list (list, xtflags) t = w->word->word; if (t == 0 || *t == '\0') fprintf (xtrace_fp, "''%s", w->next ? " " : ""); + else if (xtflags & 2) + fprintf (xtrace_fp, "%s%s", t, w->next ? " " : ""); else if (sh_contains_shell_metas (t)) { x = sh_single_quote (t); @@ -574,7 +582,7 @@ xtrace_print_for_command_head (for_command) CHECK_XTRACE_FP; fprintf (xtrace_fp, "%s", indirection_level_string ()); fprintf (xtrace_fp, "for %s in ", for_command->name->word); - xtrace_print_word_list (for_command->map_list, 0); + xtrace_print_word_list (for_command->map_list, 2); } static void @@ -632,7 +640,7 @@ xtrace_print_select_command_head (select_command) CHECK_XTRACE_FP; fprintf (xtrace_fp, "%s", indirection_level_string ()); fprintf (xtrace_fp, "select %s in ", select_command->name->word); - xtrace_print_word_list (select_command->map_list, 0); + xtrace_print_word_list (select_command->map_list, 2); } static void @@ -802,7 +810,7 @@ print_if_command (if_command) newline ("fi"); } -#if defined (DPAREN_ARITHMETIC) +#if defined (DPAREN_ARITHMETIC) || defined (ARITH_FOR_COMMAND) void print_arith_command (arith_cmd_list) WORD_LIST *arith_cmd_list; @@ -1275,7 +1283,11 @@ print_function_def (func) REDIRECT *func_redirects; func_redirects = NULL; - cprintf ("function %s () \n", func->name->word); + /* When in posix mode, print functions as posix specifies them. */ + if (posixly_correct == 0) + cprintf ("function %s () \n", func->name->word); + else + cprintf ("%s () \n", func->name->word); add_unwind_protect (reset_locals, 0); indent (indentation); @@ -1334,7 +1346,11 @@ named_function_string (name, command, flags) deferred_heredocs = 0; if (name && *name) - cprintf ("%s ", name); + { + if (find_reserved_word (name) >= 0) + cprintf ("function "); + cprintf ("%s ", name); + } cprintf ("() "); diff --git a/quit.h b/quit.h index 704a84706..db8a776b5 100644 --- a/quit.h +++ b/quit.h @@ -41,7 +41,7 @@ extern volatile sig_atomic_t terminating_signal; #define CHECK_ALRM \ do { \ if (sigalrm_seen) \ - longjmp (alrmbuf, 1); \ + sh_longjmp (alrmbuf, 1); \ } while (0) #define SETINTERRUPT interrupt_state = 1 @@ -50,6 +50,8 @@ extern volatile sig_atomic_t terminating_signal; #define ADDINTERRUPT interrupt_state++ #define DELINTERRUPT interrupt_state-- +#define ISINTERRUPT interrupt_state != 0 + /* The same sort of thing, this time just for signals that would ordinarily cause the shell to terminate. */ @@ -63,8 +65,8 @@ extern volatile sig_atomic_t terminating_signal; #define CHECK_WAIT_INTR \ do { \ - if (wait_signal_received && this_shell_builtin && (this_shell_builtin == wait_builtin)) \ - longjmp (wait_intr_buf, 1); \ + if (wait_intr_flag && wait_signal_received && this_shell_builtin && (this_shell_builtin == wait_builtin)) \ + sh_longjmp (wait_intr_buf, 1); \ } while (0) #define RESET_SIGTERM \ diff --git a/redir.c b/redir.c index e514976da..25488eaf9 100644 --- a/redir.c +++ b/redir.c @@ -1,6 +1,6 @@ /* redir.c -- Functions to perform input and output redirection. */ -/* Copyright (C) 1997-2012 Free Software Foundation, Inc. +/* Copyright (C) 1997-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -52,6 +52,7 @@ extern int errno; #include "flags.h" #include "execute_cmd.h" #include "redir.h" +#include "trap.h" #if defined (BUFFERED_INPUT) # include "input.h" @@ -115,9 +116,9 @@ redirection_error (temp, error) int oflags; allocname = 0; - if (temp->rflags & REDIR_VARASSIGN) + if ((temp->rflags & REDIR_VARASSIGN) && error < 0) filename = allocname = savestring (temp->redirector.filename->word); - else if (temp->redirector.dest < 0) + else if ((temp->rflags & REDIR_VARASSIGN) == 0 && temp->redirector.dest < 0) /* This can happen when read_token_word encounters overflow, like in exec 4294967297>x */ filename = _("file descriptor out of range"); @@ -324,7 +325,7 @@ write_here_string (fd, redirectee) /* Now that we've changed the variable search order to ignore the temp environment, see if we need to change the cached IFS values. */ sv_ifs ("IFS"); - herestr = expand_string_to_string (redirectee->word, 0); + herestr = expand_string_unsplit_to_string (redirectee->word, 0); expanding_redir = 0; /* Now we need to change the variable search order back to include the temp environment. We force the temp environment search by forcing @@ -410,8 +411,11 @@ write_here_document (fd, redirectee) may need to be reconsidered later. */ if ((fd2 = dup (fd)) < 0 || (fp = fdopen (fd2, "w")) == NULL) { + old = errno; if (fd2 >= 0) close (fd2); + dispose_words (tlist); + errno = old; return (errno); } errno = 0; @@ -905,7 +909,10 @@ do_redirection_internal (redirect, flags) } } else if ((fd != redirector) && (dup2 (fd, redirector) < 0)) - return (errno); + { + close (fd); /* dup2 failed? must be fd limit issue */ + return (errno); + } #if defined (BUFFERED_INPUT) /* Do not change the buffered stream for an implicit redirection @@ -1373,11 +1380,30 @@ redir_varvalue (redir) w = redir->redirector.filename->word; /* shorthand */ /* XXX - handle set -u here? */ #if defined (ARRAY_VARS) - if (vr = valid_array_reference (w)) - v = array_variable_part (w, &sub, &len); + if (vr = valid_array_reference (w, 0)) + { + v = array_variable_part (w, &sub, &len); + } else #endif - v = find_variable (w); + { + v = find_variable (w); +#if defined (ARRAY_VARS) + if (v == 0) + { + v = find_variable_last_nameref (w, 0); + if (v && nameref_p (v)) + { + w = nameref_cell (v); + if (vr = valid_array_reference (w, 0)) + v = array_variable_part (w, &sub, &len); + else + v = find_variable (w); + } + } +#endif + } + if (v == 0 || invisible_p (v)) return -1; diff --git a/shell.c b/shell.c index 2fd8179ba..45b77f9ea 100644 --- a/shell.c +++ b/shell.c @@ -1,6 +1,6 @@ /* shell.c -- GNU's idea of the POSIX shell specification. */ -/* Copyright (C) 1987-2012 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -38,7 +38,9 @@ #include #include #include "filecntl.h" -#include +#if defined (HAVE_PWD_H) +# include +#endif #if defined (HAVE_UNISTD_H) # include @@ -57,6 +59,9 @@ #if defined (JOB_CONTROL) #include "jobs.h" +#else +extern int initialize_job_control __P((int)); +extern int get_tty_state __P((void)); #endif /* JOB_CONTROL */ #include "input.h" @@ -100,6 +105,7 @@ extern char *dist_version, *release_status; extern int patch_level, build_version; extern int shell_level; extern int subshell_environment; +extern int running_in_background; extern int last_command_exit_value; extern int line_number; extern int expand_aliases; @@ -159,6 +165,7 @@ int autocd = 0; This is a superset of the information provided by interactive_shell. */ int startup_state = 0; +int reading_shell_script = 0; /* Special debugging helper. */ int debugging_login_shell = 0; @@ -192,7 +199,7 @@ int have_devfd = 0; #endif /* The name of the .(shell)rc file. */ -static char *bashrc_file = "~/.bashrc"; +static char *bashrc_file = DEFAULT_BASHRC; /* Non-zero means to act more like the Bourne shell on startup. */ static int act_like_sh; @@ -260,7 +267,7 @@ static const struct { #if defined (RESTRICTED_SHELL) { "restricted", Int, &restricted, (char **)0x0 }, #endif - { "verbose", Int, &echo_input_at_read, (char **)0x0 }, + { "verbose", Int, &verbose_flag, (char **)0x0 }, { "version", Int, &do_version, (char **)0x0 }, #if defined (WORDEXP_OPTION) { "wordexp", Int, &wordexp_only, (char **)0x0 }, @@ -389,9 +396,7 @@ main (argc, argv, env) xtrace_init (); #if defined (USING_BASH_MALLOC) && defined (DEBUG) && !defined (DISABLE_MALLOC_WRAPPERS) -# if 1 - malloc_set_register (1); -# endif + malloc_set_register (1); /* XXX - change to 1 for malloc debugging */ #endif check_dev_tty (); @@ -414,7 +419,7 @@ main (argc, argv, env) mcheck (programming_error, (void (*) ())0); #endif /* USE_GNU_MALLOC_LIBRARY */ - if (setjmp (subshell_top_level)) + if (setjmp_sigs (subshell_top_level)) { argc = subshell_argc; argv = subshell_argv; @@ -460,7 +465,7 @@ main (argc, argv, env) /* Find full word arguments first. */ arg_index = parse_long_options (argv, arg_index, argc); - + if (want_initial_help) { show_shell_usage (stdout, 1); @@ -473,6 +478,8 @@ main (argc, argv, env) exit (EXECUTION_SUCCESS); } + echo_input_at_read = verbose_flag; /* --verbose given */ + /* All done with full word options; do standard shell option parsing.*/ this_command_name = shell_name; /* for error reporting */ arg_index = parse_shell_options (argv, arg_index, argc); @@ -511,8 +518,6 @@ main (argc, argv, env) } this_command_name = (char *)NULL; - cmd_init(); /* initialize the command object caches */ - /* First, let the outside world know about our interactive status. A shell is interactive if the `-i' flag was given, or if all of the following conditions are met: @@ -568,24 +573,45 @@ main (argc, argv, env) set_default_locale_vars (); /* - * M-x term -> TERM=eterm EMACS=22.1 (term:0.96) (eterm) - * M-x shell -> TERM=dumb EMACS=t (no line editing) - * M-x terminal -> TERM=emacs-em7955 EMACS= (line editing) + * M-x term -> TERM=eterm-color INSIDE_EMACS='251,term:0.96' (eterm) + * M-x shell -> TERM='dumb' INSIDE_EMACS='25.1,comint' (no line editing) + * + * Older versions of Emacs may set EMACS to 't' or to something like + * '22.1 (term:0.96)' instead of (or in addition to) setting INSIDE_EMACS. + * They may set TERM to 'eterm' instead of 'eterm-color'. They may have + * a now-obsolete command that sets neither EMACS nor INSIDE_EMACS: + * M-x terminal -> TERM='emacs-em7955' (line editing) */ if (interactive_shell) { - char *term, *emacs; + char *term, *emacs, *inside_emacs;; + int emacs_term, in_emacs; term = get_string_value ("TERM"); emacs = get_string_value ("EMACS"); + inside_emacs = get_string_value ("INSIDE_EMACS"); + + if (inside_emacs) + { + emacs_term = strstr (inside_emacs, ",term:") != 0; + in_emacs = 1; + } + else if (emacs) + { + /* Infer whether we are in an older Emacs. */ + emacs_term = strstr (emacs, " (term:") != 0; + in_emacs = emacs_term || STREQ (emacs, "t"); + } + else + in_emacs = emacs_term = 0; /* Not sure any emacs terminal emulator sets TERM=emacs any more */ - no_line_editing |= term && (STREQ (term, "emacs")); - no_line_editing |= emacs && emacs[0] == 't' && emacs[1] == '\0' && STREQ (term, "dumb"); + no_line_editing |= STREQ (term, "emacs"); + no_line_editing |= in_emacs && STREQ (term, "dumb"); /* running_under_emacs == 2 for `eterm' */ - running_under_emacs = (emacs != 0) || (term && STREQN (term, "emacs", 5)); - running_under_emacs += term && STREQN (term, "eterm", 5) && emacs && strstr (emacs, "term"); + running_under_emacs = in_emacs || STREQN (term, "emacs", 5); + running_under_emacs += emacs_term && STREQN (term, "eterm", 5); if (running_under_emacs) gnu_error_format = 1; @@ -597,7 +623,7 @@ main (argc, argv, env) /* Give this shell a place to longjmp to before executing the startup files. This allows users to press C-c to abort the lengthy startup. */ - code = setjmp (top_level); + code = setjmp_sigs (top_level); if (code) { if (code == EXITPROG || code == ERREXIT) @@ -682,6 +708,9 @@ main (argc, argv, env) } #endif + cmd_init (); /* initialize the command object caches */ + uwp_init (); + if (command_execution_string) { arg_index = bind_args (argv, arg_index, argc, 0); @@ -708,20 +737,27 @@ main (argc, argv, env) arg_index++; } else if (interactive == 0) - /* In this mode, bash is reading a script from stdin, which is a - pipe or redirected file. */ + { + /* In this mode, bash is reading a script from stdin, which is a + pipe or redirected file. */ #if defined (BUFFERED_INPUT) - default_buffered_input = fileno (stdin); /* == 0 */ + default_buffered_input = fileno (stdin); /* == 0 */ #else - setbuf (default_input, (char *)NULL); + setbuf (default_input, (char *)NULL); #endif /* !BUFFERED_INPUT */ + read_from_stdin = 1; + } + else if (arg_index == argc) + /* "If there are no operands and the -c option is not specified, the -s + option shall be assumed." */ + read_from_stdin = 1; set_bash_input (); /* Bind remaining args to $1 ... $n */ arg_index = bind_args (argv, arg_index, argc, 1); - if (debugging_mode && locally_skip_execution == 0 && running_setuid == 0 && dollar_vars[1]) + if (debugging_mode && locally_skip_execution == 0 && running_setuid == 0 && (reading_shell_script || interactive_shell == 0)) start_debugger (); /* Do the things that should be done only for interactive shells. */ @@ -942,10 +978,12 @@ exit_shell (s) if (interactive_shell && login_shell && hup_on_exit) hangup_all_jobs (); - /* If this shell is interactive, terminate all stopped jobs and - restore the original terminal process group. Don't do this if we're - in a subshell and calling exit_shell after, for example, a failed - word expansion. */ + /* If this shell is interactive, or job control is active, terminate all + stopped jobs and restore the original terminal process group. Don't do + this if we're in a subshell and calling exit_shell after, for example, + a failed word expansion. We want to do this even if the shell is not + interactive because we set the terminal's process group when job control + is enabled regardless of the interactive status. */ if (subshell_environment == 0) end_job_control (); #endif /* JOB_CONTROL */ @@ -963,6 +1001,7 @@ sh_exit (s) #if defined (MALLOC_DEBUG) && defined (USING_BASH_MALLOC) if (malloc_trace_at_exit) trace_malloc_stats (get_name_for_error (), (char *)NULL); + /* mlocation_write_table (); */ #endif exit (s); @@ -1235,8 +1274,20 @@ uidget () void disable_priv_mode () { - setuid (current_user.uid); - setgid (current_user.gid); + int e; + + if (setuid (current_user.uid) < 0) + { + e = errno; + sys_error (_("cannot set uid to %d: effective uid %d"), current_user.uid, current_user.euid); +#if defined (EXIT_ON_SETUID_FAILURE) + if (e == EAGAIN) + exit (e); +#endif + } + if (setgid (current_user.gid) < 0) + sys_error (_("cannot set gid to %d: effective gid %d"), current_user.gid, current_user.egid); + current_user.euid = current_user.uid; current_user.egid = current_user.gid; } @@ -1396,12 +1447,21 @@ start_debugger () { #if defined (DEBUGGER) && defined (DEBUGGER_START_FILE) int old_errexit; + int r; old_errexit = exit_immediately_on_error; exit_immediately_on_error = 0; - maybe_execute_file (DEBUGGER_START_FILE, 1); - function_trace_mode = 1; + r = force_execute_file (DEBUGGER_START_FILE, 1); + if (r < 0) + { + internal_warning (_("cannot start debugger; debugging mode disabled")); + debugging_mode = 0; + } + error_trace_mode = function_trace_mode = debugging_mode; + + set_shellopts (); + set_bashopts (); exit_immediately_on_error += old_errexit; #endif @@ -1444,7 +1504,7 @@ open_shell_script (script_name) { e = errno; file_error (filename); - exit ((e == ENOENT) ? EX_NOTFOUND : EX_NOINPUT); + sh_exit ((e == ENOENT) ? EX_NOTFOUND : EX_NOINPUT); } free (dollar_vars[0]); @@ -1455,6 +1515,17 @@ open_shell_script (script_name) exec_argv0 = (char *)NULL; } + if (file_isdir (filename)) + { +#if defined (EISDIR) + errno = EISDIR; +#else + errno = EINVAL; +#endif + file_error (filename); + sh_exit (EX_NOINPUT); + } + #if defined (ARRAY_VARS) GET_ARRAY_FROM_VAR ("FUNCNAME", funcname_v, funcname_a); GET_ARRAY_FROM_VAR ("BASH_SOURCE", bash_source_v, bash_source_a); @@ -1487,7 +1558,14 @@ open_shell_script (script_name) { e = errno; if ((fstat (fd, &sb) == 0) && S_ISDIR (sb.st_mode)) - internal_error (_("%s: is a directory"), filename); + { +#if defined (EISDIR) + errno = EISDIR; + file_error (filename); +#else + internal_error (_("%s: Is a directory"), filename); +#endif + } else { errno = e; @@ -1547,6 +1625,8 @@ open_shell_script (script_name) init_interactive_script (); free (filename); + + reading_shell_script = 1; return (fd); } @@ -1640,6 +1720,9 @@ init_interactive () { expand_aliases = interactive_shell = startup_state = 1; interactive = 1; +#if defined (HISTORY) + remember_on_history = enable_history_list = 1; /* XXX */ +#endif } static void @@ -1663,6 +1746,9 @@ init_interactive_script () { init_noninteractive (); expand_aliases = interactive_shell = startup_state = 1; +#if defined (HISTORY) + remember_on_history = enable_history_list = 1; /* XXX */ +#endif } void @@ -1693,7 +1779,9 @@ get_current_user_info () current_user.shell = savestring ("/bin/sh"); current_user.home_dir = savestring ("/"); } +#if defined (HAVE_GETPWENT) endpwent (); +#endif } } @@ -1703,6 +1791,7 @@ static void shell_initialize () { char hostname[256]; + int should_be_restricted; /* Line buffer output for stderr and stdout. */ if (shell_initialized == 0) @@ -1741,11 +1830,15 @@ shell_initialize () /* Initialize our interface to the tilde expander. */ tilde_initialize (); +#if defined (RESTRICTED_SHELL) + should_be_restricted = shell_is_restricted (shell_name); +#endif + /* Initialize internal and environment variables. Don't import shell functions from the environment if we are running in privileged or restricted mode or if the shell is running setuid. */ #if defined (RESTRICTED_SHELL) - initialize_shell_variables (shell_environment, privileged_mode||restricted||running_setuid); + initialize_shell_variables (shell_environment, privileged_mode||restricted||should_be_restricted||running_setuid); #else initialize_shell_variables (shell_environment, privileged_mode||running_setuid); #endif @@ -1763,8 +1856,8 @@ shell_initialize () running in privileged or restricted mode or if the shell is running setuid. */ #if defined (RESTRICTED_SHELL) - initialize_shell_options (privileged_mode||restricted||running_setuid); - initialize_bashopts (privileged_mode||restricted||running_setuid); + initialize_shell_options (privileged_mode||restricted||should_be_restricted||running_setuid); + initialize_bashopts (privileged_mode||restricted||should_be_restricted||running_setuid); #else initialize_shell_options (privileged_mode||running_setuid); initialize_bashopts (privileged_mode||running_setuid); @@ -1793,13 +1886,14 @@ shell_reinitialize () /* Things that get 0. */ login_shell = make_login_shell = interactive = executing = 0; debugging = do_version = line_number = last_command_exit_value = 0; - forced_interactive = interactive_shell = subshell_environment = 0; + forced_interactive = interactive_shell = 0; + subshell_environment = running_in_background = 0; expand_aliases = 0; /* XXX - should we set jobs_m_flag to 0 here? */ #if defined (HISTORY) - bash_history_reinit (0); + bash_history_reinit (enable_history_list = 0); #endif /* HISTORY */ #if defined (RESTRICTED_SHELL) @@ -1808,7 +1902,7 @@ shell_reinitialize () /* Ensure that the default startup file is used. (Except that we don't execute this file for reinitialized shells). */ - bashrc_file = "~/.bashrc"; + bashrc_file = DEFAULT_BASHRC; /* Delete all variables and functions. They will be reinitialized when the environment is parsed. */ @@ -1865,6 +1959,9 @@ show_shell_usage (fp, extra) fprintf (fp, _("Type `%s -c \"help set\"' for more information about shell options.\n"), shell_name); fprintf (fp, _("Type `%s -c help' for more information about shell builtin commands.\n"), shell_name); fprintf (fp, _("Use the `bashbug' command to report bugs.\n")); + fprintf (fp, "\n"); + fprintf (fp, _("bash home page: \n")); + fprintf (fp, _("General help using GNU software: \n")); } } diff --git a/shell.h b/shell.h index 3cf25df0b..ce0887910 100644 --- a/shell.h +++ b/shell.h @@ -82,7 +82,8 @@ extern int EOF_Reached; #define MATCH_GLOBREP 0x010 #define MATCH_QUOTED 0x020 -#define MATCH_STARSUB 0x040 +#define MATCH_ASSIGNRHS 0x040 +#define MATCH_STARSUB 0x080 /* Some needed external declarations. */ extern char **shell_environment; @@ -129,6 +130,8 @@ extern struct user_info current_user; # define USE_VAR(x) #endif +#define HEREDOC_MAX 16 + /* Structure in which to save partial parsing state when doing things like PROMPT_COMMAND and bash_execute_unix_command execution. */ @@ -169,7 +172,10 @@ typedef struct _sh_parser_state_t { int expand_aliases; int echo_input_at_read; int need_here_doc; + int here_doc_first_line; + /* structures affecting the parser */ + REDIRECT *redir_stack[HEREDOC_MAX]; } sh_parser_state_t; typedef struct _sh_input_line_state_t { diff --git a/sig.c b/sig.c index 8bc45c17f..ad0163133 100644 --- a/sig.c +++ b/sig.c @@ -1,6 +1,6 @@ /* sig.c - interface for shell signal handlers and signal initialization. */ -/* Copyright (C) 1994-2013 Free Software Foundation, Inc. +/* Copyright (C) 1994-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -57,6 +57,7 @@ extern int last_command_exit_value; extern int last_command_exit_signal; extern int return_catch_flag; +extern int running_trap; extern int loop_level, continuing, breaking, funcnest; extern int executing_list; extern int comsub_ignore_return; @@ -66,10 +67,15 @@ extern int history_lines_this_session; #endif extern int no_line_editing; extern int wait_signal_received; +extern int wait_intr_flag; extern sh_builtin_func_t *this_shell_builtin; extern void initialize_siglist (); +#if !defined (JOB_CONTROL) +extern void initialize_job_signals __P((void)); +#endif + /* Non-zero after SIGINT. */ volatile sig_atomic_t interrupt_state = 0; @@ -388,7 +394,7 @@ top_level_cleanup () run_unwind_protects (); loop_level = continuing = breaking = funcnest = 0; - executing_list = comsub_ignore_return = return_catch_flag = 0; + executing_list = comsub_ignore_return = return_catch_flag = wait_intr_flag = 0; } /* What to do when we've been interrupted, and it is safe to handle it. */ @@ -412,13 +418,17 @@ throw_to_top_level () (last_command_exit_value - 128) : 0; last_command_exit_value |= 128; - /* Run any traps set on SIGINT. */ - run_interrupt_trap (); + /* Run any traps set on SIGINT, mostly for interactive shells */ + if (signal_is_trapped (SIGINT)) + run_interrupt_trap (1); /* Clean up string parser environment. */ while (parse_and_execute_level) parse_and_execute_cleanup (); + if (running_trap > 0) + run_trap_cleanup (running_trap - 1); + #if defined (JOB_CONTROL) give_terminal_to (shell_pgrp, 0); #endif /* JOB_CONTROL */ @@ -442,7 +452,7 @@ throw_to_top_level () run_unwind_protects (); loop_level = continuing = breaking = funcnest = 0; - executing_list = comsub_ignore_return = return_catch_flag = 0; + executing_list = comsub_ignore_return = return_catch_flag = wait_intr_flag = 0; if (interactive && print_newline) { @@ -464,7 +474,7 @@ void jump_to_top_level (value) int value; { - longjmp (top_level, value); + sh_longjmp (top_level, value); } sighandler @@ -558,7 +568,7 @@ termsig_handler (sig) /* I don't believe this condition ever tests true. */ if (sig == SIGINT && signal_is_trapped (SIGINT)) - run_interrupt_trap (); + run_interrupt_trap (0); #if defined (HISTORY) /* If we don't do something like this, the history will not be saved when @@ -569,6 +579,9 @@ termsig_handler (sig) maybe_save_shell_history (); #endif /* HISTORY */ + if (this_shell_builtin == read_builtin) + read_tty_cleanup (); + #if defined (JOB_CONTROL) if (sig == SIGHUP && (interactive || (subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB)))) hangup_all_jobs (); @@ -581,7 +594,7 @@ termsig_handler (sig) /* Reset execution context */ loop_level = continuing = breaking = funcnest = 0; - executing_list = comsub_ignore_return = return_catch_flag = 0; + executing_list = comsub_ignore_return = return_catch_flag = wait_intr_flag = 0; run_exit_trap (); /* XXX - run exit trap possibly in signal context? */ set_signal_handler (sig, SIG_DFL); @@ -603,8 +616,9 @@ sigint_sighandler (sig) ADDINTERRUPT; /* We will get here in interactive shells with job control active; allow - an interactive wait to be interrupted. */ - if (this_shell_builtin && this_shell_builtin == wait_builtin) + an interactive wait to be interrupted. wait_intr_flag is only set during + the execution of the wait builtin and when wait_intr_buf is valid. */ + if (wait_intr_flag) { last_command_exit_value = 128 + sig; wait_signal_received = sig; diff --git a/sig.h b/sig.h index 12552ab9c..4e5b46442 100644 --- a/sig.h +++ b/sig.h @@ -25,9 +25,7 @@ #include "stdc.h" -#if !defined (SIG_DFL) -# include /* for sig_atomic_t */ -#endif +#include /* for sig_atomic_t */ #if !defined (SIGABRT) && defined (SIGIOT) # define SIGABRT SIGIOT diff --git a/stringlib.c b/stringlib.c index 95092993a..745e5363a 100644 --- a/stringlib.c +++ b/stringlib.c @@ -184,7 +184,7 @@ char * strcreplace (string, c, text, do_glob) char *string; int c; - char *text; + const char *text; int do_glob; { char *ret, *p, *r, *t; diff --git a/subst.c b/subst.c index 3958237b0..f1a4df196 100644 --- a/subst.c +++ b/subst.c @@ -4,7 +4,7 @@ /* ``Have a little faith, there's magic in the night. You ain't a beauty, but, hey, you're alright.'' */ -/* Copyright (C) 1987-2013 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -37,6 +37,8 @@ # include #endif +#define NEED_FPURGE_DECL + #include "bashansi.h" #include "posixstat.h" #include "bashintl.h" @@ -52,6 +54,9 @@ #include "mailcheck.h" #include "shmbutil.h" +#if defined (HAVE_MBSTR_H) && defined (HAVE_MBSCHR) +# include /* mbschr */ +#endif #include "typemax.h" #include "builtins/getopt.h" @@ -85,12 +90,6 @@ extern int errno; #define ST_SQUOTE 0x04 /* unused yet */ #define ST_DQUOTE 0x08 /* unused yet */ -/* Flags for the `pflags' argument to param_expand() */ -#define PF_NOCOMSUB 0x01 /* Do not perform command substitution */ -#define PF_IGNUNBOUND 0x02 /* ignore unbound vars even if -u set */ -#define PF_NOSPLIT2 0x04 /* same as W_NOSPLIT2 */ -#define PF_ASSIGNRHS 0x08 /* same as W_ASSIGNRHS */ - /* These defs make it easier to use the editor. */ #define LBRACE '{' #define RBRACE '}' @@ -104,10 +103,13 @@ extern int errno; #define WRPAREN L')' #endif +#define DOLLAR_AT_STAR(c) ((c) == '@' || (c) == '*') +#define STR_DOLLAR_AT_STAR(s) (DOLLAR_AT_STAR ((s)[0]) && (s)[1] == '\0') + /* Evaluates to 1 if C is one of the shell's special parameters whose length can be taken, but is also one of the special expansion characters. */ #define VALID_SPECIAL_LENGTH_PARAM(c) \ - ((c) == '-' || (c) == '?' || (c) == '#') + ((c) == '-' || (c) == '?' || (c) == '#' || (c) == '@') /* Evaluates to 1 if C is one of the shell's special parameters for which an indirect variable reference may be made. */ @@ -120,9 +122,24 @@ extern int errno; /* Evaluates to 1 if this is one of the shell's special variables. */ #define SPECIAL_VAR(name, wi) \ - ((DIGIT (*name) && all_digits (name)) || \ + (*name && ((DIGIT (*name) && all_digits (name)) || \ (name[1] == '\0' && (sh_syntaxtab[(unsigned char)*name] & CSPECVAR)) || \ - (wi && name[2] == '\0' && VALID_INDIR_PARAM (name[1]))) + (wi && name[2] == '\0' && VALID_INDIR_PARAM (name[1])))) + +/* This can be used by all of the *_extract_* functions that have a similar + structure. It can't just be wrapped in a do...while(0) loop because of + the embedded `break'. The dangling else accommodates a trailing semicolon; + we could also put in a do ; while (0) */ + + +#define CHECK_STRING_OVERRUN(oind, ind, len, ch) \ + if (ind >= len) \ + { \ + oind = len; \ + ch = 0; \ + break; \ + } \ + else \ /* An expansion function that takes a string and a quoted flag and returns a WORD_LIST *. Used as the type of the third argument to @@ -146,6 +163,9 @@ size_t ifs_firstc_len; unsigned char ifs_firstc; #endif +/* If non-zero, command substitution inherits the value of errexit option */ +int inherit_errexit = 0; + /* Sentinel to tell when we are performing variable assignments preceding a command name and putting them into the environment. Used to make sure we use the temporary environment when looking up variable values. */ @@ -156,11 +176,15 @@ int assigning_in_environment; SIGCHLD trap and so it can be saved and restored by the trap handlers. */ WORD_LIST *subst_assign_varlist = (WORD_LIST *)NULL; +/* Tell the expansion functions to not longjmp back to top_level on fatal + errors. Enabled when doing completion and prompt string expansion. */ +int no_longjmp_on_fatal_error = 0; + /* Extern functions and variables from different files. */ extern int last_command_exit_value, last_command_exit_signal; -extern int subshell_environment, line_number; +extern int subshell_environment, running_in_background; extern int subshell_level, parse_and_execute_level, sourcelevel; -extern int eof_encountered; +extern int eof_encountered, line_number; extern int return_catch_flag, return_catch_value; extern pid_t dollar_dollar_pid; extern int posixly_correct; @@ -171,6 +195,10 @@ extern int expanding_redir; extern int tempenv_assign_error; extern int builtin_ignoring_errexit; +#if defined (JOB_CONTROL) && defined (PROCESS_SUBSTITUTION) +extern PROCESS *last_procsub_child; +#endif + #if !defined (HAVE_WCSDUP) && defined (HANDLE_MULTIBYTE) extern wchar_t *wcsdup __P((const wchar_t *)); #endif @@ -191,15 +219,13 @@ char *glob_argv_flags; static int glob_argv_flags_size; #endif +static WORD_LIST *cached_quoted_dollar_at = 0; + static WORD_LIST expand_word_error, expand_word_fatal; static WORD_DESC expand_wdesc_error, expand_wdesc_fatal; static char expand_param_error, expand_param_fatal; static char extract_string_error, extract_string_fatal; -/* Tell the expansion functions to not longjmp back to top_level on fatal - errors. Enabled when doing completion and prompt string expansion. */ -static int no_longjmp_on_fatal_error = 0; - /* Set by expand_word_unsplit; used to inhibit splitting and re-joining $* on $IFS, primarily when doing assignment statements. */ static int expand_no_split_dollar_star = 0; @@ -237,8 +263,8 @@ static char *string_extract_verbatim __P((char *, size_t, int *, char *, int)); static char *string_extract __P((char *, int *, char *, int)); static char *string_extract_double_quoted __P((char *, int *, int)); static inline char *string_extract_single_quoted __P((char *, int *)); -static inline int skip_single_quoted __P((const char *, size_t, int)); -static int skip_double_quoted __P((char *, size_t, int)); +static inline int skip_single_quoted __P((const char *, size_t, int, int)); +static int skip_double_quoted __P((char *, size_t, int, int)); static char *extract_delimited_string __P((char *, int *, char *, char *, char *, int)); static char *extract_dollar_brace_string __P((char *, int *, int, int)); static int skip_matched_pair __P((const char *, int, int, int, int)); @@ -268,6 +294,19 @@ static char *array_remove_pattern __P((SHELL_VAR *, char *, int, char *, int)); #endif static char *parameter_brace_remove_pattern __P((char *, char *, int, char *, int, int, int)); +static char *string_var_assignment __P((SHELL_VAR *, char *)); +#if defined (ARRAY_VARS) +static char *array_var_assignment __P((SHELL_VAR *, int, int)); +#endif +static char *pos_params_assignment __P((WORD_LIST *, int, int)); +static char *string_transform __P((int, SHELL_VAR *, char *)); +static char *list_transform __P((int, SHELL_VAR *, WORD_LIST *, int, int)); +static char *parameter_list_transform __P((int, int, int)); +#if defined ARRAY_VARS +static char *array_transform __P((int, SHELL_VAR *, char *, int)); +#endif +static char *parameter_brace_transform __P((char *, char *, int, char *, int, int, int)); + static char *process_substitute __P((char *, int)); static char *read_comsub __P((int, int, int *)); @@ -283,7 +322,7 @@ static int chk_arithsub __P((const char *, int)); static WORD_DESC *parameter_brace_expand_word __P((char *, int, int, int, arrayind_t *)); static char *parameter_brace_find_indir __P((char *, int, int, int)); static WORD_DESC *parameter_brace_expand_indir __P((char *, int, int, int *, int *)); -static WORD_DESC *parameter_brace_expand_rhs __P((char *, char *, int, int, int *, int *)); +static WORD_DESC *parameter_brace_expand_rhs __P((char *, char *, int, int, int, int *, int *)); static void parameter_brace_expand_error __P((char *, char *)); static int valid_length_expression __P((char *)); @@ -299,7 +338,7 @@ static int shouldexp_replacement __P((char *)); static char *pos_params_pat_subst __P((char *, char *, char *, int)); -static char *parameter_brace_patsub __P((char *, char *, int, char *, int, int)); +static char *parameter_brace_patsub __P((char *, char *, int, char *, int, int, int)); static char *pos_params_casemod __P((char *, char *, int, int)); static char *parameter_brace_casemod __P((char *, char *, int, int, char *, int, int)); @@ -319,7 +358,7 @@ static WORD_LIST *glob_expand_word_list __P((WORD_LIST *, int)); static WORD_LIST *brace_expand_word_list __P((WORD_LIST *, int)); #endif #if defined (ARRAY_VARS) -static int make_internal_declare __P((char *, char *)); +static int make_internal_declare __P((char *, char *, char *)); #endif static WORD_LIST *shell_expand_word_list __P((WORD_LIST *, int)); static WORD_LIST *expand_word_list_internal __P((WORD_LIST *, int)); @@ -339,6 +378,11 @@ dump_word_flags (flags) f = flags; fprintf (stderr, "%d -> ", f); + if (f & W_ARRAYIND) + { + f &= ~W_ARRAYIND; + fprintf (stderr, "W_ARRAYIND%s", f ? "|" : ""); + } if (f & W_ASSIGNASSOC) { f &= ~W_ASSIGNASSOC; @@ -384,11 +428,6 @@ dump_word_flags (flags) f &= ~W_ASSNGLOBAL; fprintf (stderr, "W_ASSNGLOBAL%s", f ? "|" : ""); } - if (f & W_ASSIGNINT) - { - f &= ~W_ASSIGNINT; - fprintf (stderr, "W_ASSIGNINT%s", f ? "|" : ""); - } if (f & W_COMPASSIGN) { f &= ~W_COMPASSIGN; @@ -474,6 +513,12 @@ dump_word_flags (flags) f &= ~W_HASDOLLAR; fprintf (stderr, "W_HASDOLLAR%s", f ? "|" : ""); } + if (f & W_COMPLETE) + { + f &= ~W_COMPLETE; + fprintf (stderr, "W_COMPLETE%s", f ? "|" : ""); + } + fprintf (stderr, "\n"); fflush (stderr); } @@ -573,6 +618,7 @@ quoted_strchr (s, c, flags) return ((char *)NULL); } +#if defined (INCLUDE_UNUSED) /* Return 1 if CHARACTER appears in an unquoted portion of STRING. Return 0 otherwise. CHARACTER must be a single-byte character. */ static int @@ -604,11 +650,11 @@ unquoted_member (character, string) break; case '\'': - sindex = skip_single_quoted (string, slen, ++sindex); + sindex = skip_single_quoted (string, slen, ++sindex, 0); break; case '"': - sindex = skip_double_quoted (string, slen, ++sindex); + sindex = skip_double_quoted (string, slen, ++sindex, 0); break; } } @@ -643,11 +689,11 @@ unquoted_substring (substr, string) break; case '\'': - sindex = skip_single_quoted (string, slen, ++sindex); + sindex = skip_single_quoted (string, slen, ++sindex, 0); break; case '"': - sindex = skip_double_quoted (string, slen, ++sindex); + sindex = skip_double_quoted (string, slen, ++sindex, 0); break; default: @@ -657,6 +703,7 @@ unquoted_substring (substr, string) } return (0); } +#endif /* Most of the substitutions must be done in parallel. In order to avoid using tons of unclear goto's, I have some functions @@ -673,11 +720,13 @@ unquoted_substring (substr, string) INLINE char * sub_append_string (source, target, indx, size) char *source, *target; - int *indx, *size; + int *indx; + size_t *size; { if (source) { - int srclen, n; + int n; + size_t srclen; srclen = STRLEN (source); if (srclen >= (int)(*size - *indx)) @@ -703,8 +752,9 @@ sub_append_string (source, target, indx, size) char * sub_append_number (number, target, indx, size) intmax_t number; - int *indx, *size; char *target; + int *indx; + size_t *size; { char *temp; @@ -788,9 +838,9 @@ string_extract (string, sindex, charlist, flags) Backslashes between the embedded double quotes are processed. If STRIPDQ is zero, an unquoted `"' terminates the string. */ static char * -string_extract_double_quoted (string, sindex, stripdq) +string_extract_double_quoted (string, sindex, flags) char *string; - int *sindex, stripdq; + int *sindex, flags; { size_t slen; char *send; @@ -799,11 +849,14 @@ string_extract_double_quoted (string, sindex, stripdq) char *temp, *ret; /* The new string we return. */ int pass_next, backquote, si; /* State variables for the machine. */ int dquote; + int stripdq; DECLARE_MBSTATE; slen = strlen (string + *sindex) + *sindex; send = string + slen; + stripdq = (flags & SX_STRIPDQ); + pass_next = backquote = dquote = 0; temp = (char *)xmalloc (1 + slen - *sindex); @@ -886,7 +939,7 @@ add_one_character: si = i + 2; if (string[i + 1] == LPAREN) - ret = extract_command_subst (string, &si, 0); + ret = extract_command_subst (string, &si, (flags & SX_COMPLETE)); else ret = extract_dollar_brace_string (string, &si, Q_DOUBLE_QUOTES, 0); @@ -945,10 +998,11 @@ add_one_character: /* This should really be another option to string_extract_double_quoted. */ static int -skip_double_quoted (string, slen, sind) +skip_double_quoted (string, slen, sind, flags) char *string; size_t slen; int sind; + int flags; { int c, i; char *ret; @@ -988,10 +1042,13 @@ skip_double_quoted (string, slen, sind) { si = i + 2; if (string[i + 1] == LPAREN) - ret = extract_command_subst (string, &si, SX_NOALLOC); + ret = extract_command_subst (string, &si, SX_NOALLOC|(flags&SX_COMPLETE)); else ret = extract_dollar_brace_string (string, &si, Q_DOUBLE_QUOTES, SX_NOALLOC); + /* These can consume the entire string if they are unterminated */ + CHECK_STRING_OVERRUN (i, si, slen, c); + i = si + 1; continue; } @@ -1039,18 +1096,26 @@ string_extract_single_quoted (string, sindex) return (t); } +/* Skip over a single-quoted string. We overload the SX_COMPLETE flag to mean + that we are splitting out words for completion and have encountered a $'...' + string, which allows backslash-escaped single quotes. */ static inline int -skip_single_quoted (string, slen, sind) +skip_single_quoted (string, slen, sind, flags) const char *string; size_t slen; int sind; + int flags; { register int c; DECLARE_MBSTATE; c = sind; while (string[c] && string[c] != '\'') - ADVANCE_CHAR (string, slen, c); + { + if ((flags & SX_COMPLETE) && string[c] == '\\' && string[c+1] == '\'' && string[c+2]) + ADVANCE_CHAR (string, slen, c); + ADVANCE_CHAR (string, slen, c); + } if (string[c]) c++; @@ -1076,7 +1141,7 @@ string_extract_verbatim (string, slen, sindex, charlist, flags) char *temp; DECLARE_MBSTATE; - if (charlist[0] == '\'' && charlist[1] == '\0') + if ((flags & SX_NOCTLESC) && charlist[0] == '\'' && charlist[1] == '\0') { temp = string_extract_single_quoted (string, sindex); --*sindex; /* leave *sindex at separator character */ @@ -1167,12 +1232,15 @@ extract_command_subst (string, sindex, xflags) int *sindex; int xflags; { - if (string[*sindex] == LPAREN) + char *ret; + + if (string[*sindex] == LPAREN || (xflags & SX_COMPLETE)) return (extract_delimited_string (string, sindex, "$(", "(", ")", xflags|SX_COMMAND)); /*)*/ else { xflags |= (no_longjmp_on_fatal_error ? SX_NOLONGJMP : 0); - return (xparse_dolparen (string, string+*sindex, sindex, xflags)); + ret = xparse_dolparen (string, string+*sindex, sindex, xflags); + return ret; } } @@ -1266,6 +1334,15 @@ extract_delimited_string (string, sindex, opener, alt_opener, closer, flags) { c = string[i]; + /* If a recursive call or a call to ADVANCE_CHAR leaves the index beyond + the end of the string, catch it and cut the loop. */ + if (i > slen) + { + i = slen; + c = string[i = slen]; + break; + } + if (c == 0) break; @@ -1351,8 +1428,8 @@ extract_delimited_string (string, sindex, opener, alt_opener, closer, flags) if (c == '\'' || c == '"') { si = i + 1; - i = (c == '\'') ? skip_single_quoted (string, slen, si) - : skip_double_quoted (string, slen, si); + i = (c == '\'') ? skip_single_quoted (string, slen, si, 0) + : skip_double_quoted (string, slen, si, 0); continue; } @@ -1460,6 +1537,9 @@ extract_dollar_brace_string (string, sindex, quoted, flags) { si = i + 1; t = string_extract (string, &si, "`", flags|SX_NOALLOC); + + CHECK_STRING_OVERRUN (i, si, slen, c); + i = si + 1; continue; } @@ -1478,7 +1558,7 @@ extract_dollar_brace_string (string, sindex, quoted, flags) if (c == '"') { si = i + 1; - i = skip_double_quoted (string, slen, si); + i = skip_double_quoted (string, slen, si, 0); /* skip_XXX_quoted leaves index one past close quote */ continue; } @@ -1491,7 +1571,7 @@ extract_dollar_brace_string (string, sindex, quoted, flags) else { si = i + 1; - i = skip_single_quoted (string, slen, si); + i = skip_single_quoted (string, slen, si, 0); } continue; @@ -1512,6 +1592,8 @@ extract_dollar_brace_string (string, sindex, quoted, flags) dolbrace_state = DOLBRACE_QUOTE; else if (dolbrace_state == DOLBRACE_PARAM && c == ',' && (i - *sindex) > 1) dolbrace_state = DOLBRACE_QUOTE; + /* This is intended to handle all of the [:]op expansions and the substring/ + length/pattern removal/pattern substitution expansions. */ else if (dolbrace_state == DOLBRACE_PARAM && strchr ("#%^,~:-=?+/", c) != 0) dolbrace_state = DOLBRACE_OP; else if (dolbrace_state == DOLBRACE_OP && strchr ("#%^,~:-=?+/", c) == 0) @@ -1595,7 +1677,7 @@ unquote_bang (string) } #endif -#define CQ_RETURN(x) do { no_longjmp_on_fatal_error = 0; return (x); } while (0) +#define CQ_RETURN(x) do { no_longjmp_on_fatal_error = oldjmp; return (x); } while (0) /* This function assumes s[i] == open; returns with s[ret] == close; used to parse array subscripts. FLAGS & 1 means to not attempt to skip over @@ -1607,12 +1689,13 @@ skip_matched_pair (string, start, open, close, flags) const char *string; int start, open, close, flags; { - int i, pass_next, backq, si, c, count; + int i, pass_next, backq, si, c, count, oldjmp; size_t slen; char *temp, *ss; DECLARE_MBSTATE; slen = strlen (string + start) + start; + oldjmp = no_longjmp_on_fatal_error; no_longjmp_on_fatal_error = 1; i = start + 1; /* skip over leading bracket */ @@ -1664,8 +1747,8 @@ skip_matched_pair (string, start, open, close, flags) } else if ((flags & 1) == 0 && (c == '\'' || c == '"')) { - i = (c == '\'') ? skip_single_quoted (ss, slen, ++i) - : skip_double_quoted (ss, slen, ++i); + i = (c == '\'') ? skip_single_quoted (ss, slen, ++i, 0) + : skip_double_quoted (ss, slen, ++i, 0); /* no increment, the skip functions increment past the closing quote. */ } else if ((flags&1) == 0 && c == '$' && (string[i+1] == LPAREN || string[i+1] == LBRACE)) @@ -1678,6 +1761,9 @@ skip_matched_pair (string, start, open, close, flags) temp = extract_delimited_string (ss, &si, "$(", "(", ")", SX_NOALLOC|SX_COMMAND); /* ) */ else temp = extract_dollar_brace_string (ss, &si, 0, SX_NOALLOC); + + CHECK_STRING_OVERRUN (i, si, slen, c); + i = si; if (string[i] == '\0') /* don't increment i past EOS in loop */ break; @@ -1714,19 +1800,27 @@ skip_to_delim (string, start, delims, flags) char *delims; int flags; { - int i, pass_next, backq, si, c, invert, skipquote, skipcmd; + int i, pass_next, backq, dquote, si, c, oldjmp; + int invert, skipquote, skipcmd, noprocsub, completeflag; + int arithexp, skipcol; size_t slen; char *temp, open[3]; DECLARE_MBSTATE; slen = strlen (string + start) + start; + oldjmp = no_longjmp_on_fatal_error; if (flags & SD_NOJMP) no_longjmp_on_fatal_error = 1; invert = (flags & SD_INVERT); skipcmd = (flags & SD_NOSKIPCMD) == 0; + noprocsub = (flags & SD_NOPROCSUB); + completeflag = (flags & SD_COMPLETE) ? SX_COMPLETE : 0; + + arithexp = (flags & SD_ARITHEXP); + skipcol = 0; i = start; - pass_next = backq = 0; + pass_next = backq = dquote = 0; while (c = string[i]) { /* If this is non-zero, we should not let quote characters be delimiters @@ -1761,14 +1855,45 @@ skip_to_delim (string, start, delims, flags) i++; continue; } - else if (skipquote == 0 && invert == 0 && member (c, delims)) - break; - else if (c == '\'' || c == '"') + else if (arithexp && skipcol && c == ':') { - i = (c == '\'') ? skip_single_quoted (string, slen, ++i) - : skip_double_quoted (string, slen, ++i); - /* no increment, the skip functions increment past the closing quote. */ + skipcol--; + i++; + continue; } + else if (arithexp && c == '?') + { + skipcol++; + i++; + continue; + } + else if (skipquote == 0 && invert == 0 && member (c, delims)) + break; + /* the usual case is to use skip_xxx_quoted, but we don't skip over double + quoted strings when looking for the history expansion character as a + delimiter. */ + /* special case for programmable completion which takes place before + parser converts backslash-escaped single quotes between $'...' to + `regular' single-quoted strings. */ + else if (completeflag && i > 0 && string[i-1] == '$' && c == '\'') + i = skip_single_quoted (string, slen, ++i, SX_COMPLETE); + else if (c == '\'') + i = skip_single_quoted (string, slen, ++i, 0); + else if (c == '"') + i = skip_double_quoted (string, slen, ++i, completeflag); + else if (c == LPAREN && arithexp) + { + si = i + 1; + if (string[si] == '\0') + CQ_RETURN(si); + + temp = extract_delimited_string (string, &si, "(", "(", ")", SX_NOALLOC); /* ) */ + i = si; + if (string[i] == '\0') /* don't increment i past EOS in loop */ + break; + i++; + continue; + } else if (c == '$' && ((skipcmd && string[i+1] == LPAREN) || string[i+1] == LBRACE)) { si = i + 2; @@ -1786,13 +1911,17 @@ skip_to_delim (string, start, delims, flags) continue; } #if defined (PROCESS_SUBSTITUTION) - else if (skipcmd && (c == '<' || c == '>') && string[i+1] == LPAREN) + else if (skipcmd && noprocsub == 0 && (c == '<' || c == '>') && string[i+1] == LPAREN) { si = i + 2; if (string[si] == '\0') CQ_RETURN(si); +#if 1 + temp = extract_delimited_string (string, &si, (c == '<') ? "<(" : ">(", "(", ")", SX_COMMAND|SX_NOALLOC); /* )) */ +#else temp = extract_process_subst (string, (c == '<') ? "<(" : ">(", &si, 0); - free (temp); /* no SX_ALLOC here */ + free (temp); /* XXX - not using SX_NOALLOC here yet */ +#endif i = si; if (string[i] == '\0') break; @@ -1842,6 +1971,128 @@ skip_to_delim (string, start, delims, flags) CQ_RETURN(i); } +#if defined (BANG_HISTORY) +/* Skip to the history expansion character (delims[0]), paying attention to + quoted strings and command and process substitution. This is a stripped- + down version of skip_to_delims. The essential difference is that this + resets the quoting state when starting a command substitution */ +int +skip_to_histexp (string, start, delims, flags) + char *string; + int start; + char *delims; + int flags; +{ + int i, pass_next, backq, dquote, si, c, oldjmp; + int histexp_comsub, histexp_backq, old_dquote; + size_t slen; + char *temp, open[3]; + DECLARE_MBSTATE; + + slen = strlen (string + start) + start; + oldjmp = no_longjmp_on_fatal_error; + if (flags & SD_NOJMP) + no_longjmp_on_fatal_error = 1; + + histexp_comsub = histexp_backq = old_dquote = 0; + + i = start; + pass_next = backq = dquote = 0; + while (c = string[i]) + { + if (pass_next) + { + pass_next = 0; + if (c == 0) + CQ_RETURN(i); + ADVANCE_CHAR (string, slen, i); + continue; + } + else if (c == '\\') + { + pass_next = 1; + i++; + continue; + } + else if (backq && c == '`') + { + backq = 0; + histexp_backq--; + dquote = old_dquote; + i++; + continue; + } + else if (c == '`') + { + backq = 1; + histexp_backq++; + old_dquote = dquote; /* simple - one level for now */ + dquote = 0; + i++; + continue; + } + /* When in double quotes, act as if the double quote is a member of + history_no_expand_chars, like the history library does */ + else if (dquote && c == delims[0] && string[i+1] == '"') + { + i++; + continue; + } + else if (c == delims[0]) + break; + /* the usual case is to use skip_xxx_quoted, but we don't skip over double + quoted strings when looking for the history expansion character as a + delimiter. */ + else if (dquote && c == '\'') + { + i++; + continue; + } + else if (c == '\'') + i = skip_single_quoted (string, slen, ++i, 0); + /* The posixly_correct test makes posix-mode shells allow double quotes + to quote the history expansion character */ + else if (posixly_correct == 0 && c == '"') + { + dquote = 1 - dquote; + i++; + continue; + } + else if (c == '"') + i = skip_double_quoted (string, slen, ++i, 0); +#if defined (PROCESS_SUBSTITUTION) + else if ((c == '$' || c == '<' || c == '>') && string[i+1] == LPAREN && string[i+2] != LPAREN) +#else + else if (c == '$' && string[i+1] == LPAREN && string[i+2] != LPAREN) +#endif + { + if (string[i+2] == '\0') + CQ_RETURN(i+2); + i += 2; + histexp_comsub++; + old_dquote = dquote; + dquote = 0; + } + else if (histexp_comsub && c == RPAREN) + { + histexp_comsub--; + dquote = old_dquote; + i++; + continue; + } + else if (backq) /* placeholder */ + { + ADVANCE_CHAR (string, slen, i); + continue; + } + else + ADVANCE_CHAR (string, slen, i); + } + + CQ_RETURN(i); +} +#endif /* BANG_HISTORY */ + #if defined (READLINE) /* Return 1 if the portion of STRING ending at EINDEX is quoted (there is an unclosed quoted string), or if the character at EINDEX is quoted @@ -1856,11 +2107,12 @@ char_is_quoted (string, eindex) char *string; int eindex; { - int i, pass_next, c; + int i, pass_next, c, oldjmp; size_t slen; DECLARE_MBSTATE; slen = strlen (string); + oldjmp = no_longjmp_on_fatal_error; no_longjmp_on_fatal_error = 1; i = pass_next = 0; while (i <= eindex) @@ -1881,10 +2133,17 @@ char_is_quoted (string, eindex) i++; continue; } + else if (c == '$' && string[i+1] == '\'' && string[i+2]) + { + i += 2; + i = skip_single_quoted (string, slen, i, SX_COMPLETE); + if (i > eindex) + CQ_RETURN (i); + } else if (c == '\'' || c == '"') { - i = (c == '\'') ? skip_single_quoted (string, slen, ++i) - : skip_double_quoted (string, slen, ++i); + i = (c == '\'') ? skip_single_quoted (string, slen, ++i, 0) + : skip_double_quoted (string, slen, ++i, SX_COMPLETE); if (i > eindex) CQ_RETURN(1); /* no increment, the skip_xxx functions go one past end */ @@ -1930,10 +2189,11 @@ unclosed_pair (string, eindex, openstr) openc = 1 - openc; i += olen; } + /* XXX - may want to handle $'...' specially here */ else if (string[i] == '\'' || string[i] == '"') { - i = (string[i] == '\'') ? skip_single_quoted (string, slen, i) - : skip_double_quoted (string, slen, i); + i = (string[i] == '\'') ? skip_single_quoted (string, slen, i, 0) + : skip_double_quoted (string, slen, i, SX_COMPLETE); if (i > eindex) return 0; } @@ -2020,7 +2280,10 @@ split_at_delims (string, slen, delims, sentinel, flags, nwp, cwp) for (i = 0; member (string[i], d) && spctabnl (string[i]); i++) ; if (string[i] == '\0') - return (ret); + { + FREE (d2); + return (ret); + } ts = i; nw = 0; @@ -2144,7 +2407,7 @@ string_list_internal (list, sep) { register WORD_LIST *t; char *result, *r; - int word_len, sep_len, result_size; + size_t word_len, sep_len, result_size; if (list == 0) return ((char *)NULL); @@ -2287,11 +2550,18 @@ string_list_dollar_star (list) , IFS characters in the words in the list should also be split. If IFS is null, and the word is not quoted, we need to quote the words in the list to preserve the positional parameters - exactly. */ + exactly. + Valid values for the FLAGS argument are the PF_ flags in command.h, + the only one we care about is PF_ASSIGNRHS. $@ is supposed to expand + to the positional parameters separated by spaces no matter what IFS is + set to if in a context where word splitting is not performed. The only + one that we didn't handle before is assignment statement arguments to + declaration builtins like `declare'. */ char * -string_list_dollar_at (list, quoted) +string_list_dollar_at (list, quoted, flags) WORD_LIST *list; int quoted; + int flags; { char *ifs, *ret; #if defined (HANDLE_MULTIBYTE) @@ -2312,7 +2582,13 @@ string_list_dollar_at (list, quoted) # if !defined (__GNUC__) sep = (char *)xmalloc (MB_CUR_MAX + 1); # endif /* !__GNUC__ */ - if (ifs && *ifs) + /* XXX - bash-4.4/bash-5.0 testing PF_ASSIGNRHS */ + if (flags & PF_ASSIGNRHS) + { + sep[0] = ' '; + sep[1] = '\0'; + } + else if (ifs && *ifs) { if (ifs_firstc_len == 1) { @@ -2331,7 +2607,8 @@ string_list_dollar_at (list, quoted) sep[1] = '\0'; } #else - sep[0] = (ifs == 0 || *ifs == 0) ? ' ' : *ifs; + /* XXX - bash-4.4/bash-5.0 test PF_ASSIGNRHS */ + sep[0] = ((flags & PF_ASSIGNRHS) || ifs == 0 || *ifs == 0) ? ' ' : *ifs; sep[1] = '\0'; #endif @@ -2388,7 +2665,7 @@ string_list_pos_params (pchar, list, quoted) string_list_dollar_star if the string is unquoted so we make sure that the elements of $@ are separated by the first character of $IFS for later splitting. */ - ret = string_list_dollar_at (list, quoted); + ret = string_list_dollar_at (list, quoted, 0); else if (pchar == '@') ret = string_list_dollar_star (list); else @@ -2472,7 +2749,7 @@ list_string (string, separators, quoted) extract a word, stopping at a separator skip sequences of spc, tab, or nl as long as they are separators This obeys the field splitting rules in Posix.2. */ - slen = (MB_CUR_MAX > 1) ? strlen (string) : 1; + slen = (MB_CUR_MAX > 1) ? STRLEN (string) : 1; for (result = (WORD_LIST *)NULL, sindex = 0; string[sindex]; ) { /* Don't need string length in ADVANCE_CHAR or string_extract_verbatim @@ -2603,7 +2880,7 @@ get_word_from_string (stringp, separators, endptr) sindex = 0; /* Don't need string length in ADVANCE_CHAR or string_extract_verbatim unless multibyte chars are possible. */ - slen = (MB_CUR_MAX > 1) ? strlen (s) : 1; + slen = (MB_CUR_MAX > 1) ? STRLEN (s) : 1; current_word = string_extract_verbatim (s, slen, &sindex, separators, xflags); /* Set ENDPTR to the first character after the end of the word. */ @@ -2694,9 +2971,9 @@ list_string_with_quotes (string) i++; } else if (c == '\'') - i = skip_single_quoted (s, s_len, ++i); + i = skip_single_quoted (s, s_len, ++i, 0); else if (c == '"') - i = skip_double_quoted (s, s_len, ++i); + i = skip_double_quoted (s, s_len, ++i, 0); else if (c == 0 || spctabnl (c)) { /* We have found the end of a token. Make a word out of it and @@ -2741,6 +3018,12 @@ do_compound_assignment (name, value, flags) if (mklocal && variable_context) { v = find_variable (name); + if (v && ((readonly_p (v) && (flags & ASS_FORCE) == 0) || noassign_p (v))) + { + if (v && readonly_p (v)) + err_readonly (name); + return (v); /* XXX */ + } list = expand_compound_array_assignment (v, value, flags); if (mkassoc) v = make_local_assoc_variable (name); @@ -2748,11 +3031,19 @@ do_compound_assignment (name, value, flags) v = make_local_array_variable (name, 0); if (v) assign_compound_array_list (v, list, flags); + if (list) + dispose_words (list); } /* In a function but forcing assignment in global context */ else if (mkglobal && variable_context) { v = find_global_variable (name); + if (v && ((readonly_p (v) && (flags & ASS_FORCE) == 0) || noassign_p (v))) + { + if (v && readonly_p (v)) + err_readonly (name); + return (v); /* XXX */ + } list = expand_compound_array_assignment (v, value, flags); if (v == 0 && mkassoc) v = make_new_assoc_variable (name); @@ -2764,9 +3055,19 @@ do_compound_assignment (name, value, flags) v = convert_var_to_array (v); if (v) assign_compound_array_list (v, list, flags); + if (list) + dispose_words (list); } else - v = assign_array_from_string (name, value, flags); + { + v = assign_array_from_string (name, value, flags); + if (v && ((readonly_p (v) && (flags & ASS_FORCE) == 0) || noassign_p (v))) + { + if (v && readonly_p (v)) + err_readonly (name); + return (v); /* XXX */ + } + } return (v); } @@ -3018,7 +3319,7 @@ pos_params (string, start, end, quoted) return ((char *)NULL); save = params = list_rest_of_args (); - if (save == 0) + if (save == 0 && start > 0) return ((char *)NULL); if (start == 0) /* handle ${@:0[:x]} specially */ @@ -3030,7 +3331,10 @@ pos_params (string, start, end, quoted) for (i = start ? 1 : 0; params && i < start; i++) params = params->next; if (params == 0) - return ((char *)NULL); + { + dispose_words (save); + return ((char *)NULL); + } for (h = t = params; params && i < end; i++) { t = params; @@ -3205,6 +3509,8 @@ expand_arith_string (string, quoted) ret = (char *)NULL; FREE (td.word); } + else if (saw_quote && (quoted & Q_ARITH)) + ret = string_quote_removal (string, quoted); else if (saw_quote && ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) == 0)) ret = string_quote_removal (string, quoted); else @@ -3273,6 +3579,7 @@ cond_expand_word (w, special) qflags = QGLOB_CVTNULL; if (special == 2) qflags |= QGLOB_REGEXP; + word_list_remove_quoted_nulls (l); p = string_list (l); r = quote_string_for_globbing (p, qflags); free (p); @@ -3473,9 +3780,9 @@ expand_string_leave_quoted (string, quoted) /* This does not perform word splitting or dequote the WORD_LIST it returns. */ static WORD_LIST * -expand_string_for_rhs (string, quoted, dollar_at_p, has_dollar_at) +expand_string_for_rhs (string, quoted, dollar_at_p, expanded_p) char *string; - int quoted, *dollar_at_p, *has_dollar_at; + int quoted, *dollar_at_p, *expanded_p; { WORD_DESC td; WORD_LIST *tresult; @@ -3483,9 +3790,12 @@ expand_string_for_rhs (string, quoted, dollar_at_p, has_dollar_at) if (string == 0 || *string == '\0') return (WORD_LIST *)NULL; + expand_no_split_dollar_star = 1; td.flags = W_NOSPLIT2; /* no splitting, remove "" and '' */ td.word = string; - tresult = call_expand_word_internal (&td, quoted, 1, dollar_at_p, has_dollar_at); + tresult = call_expand_word_internal (&td, quoted, 1, dollar_at_p, expanded_p); + expand_no_split_dollar_star = 0; + return (tresult); } @@ -3713,6 +4023,11 @@ dequote_string (string) char *result, *send; DECLARE_MBSTATE; +#if defined (DEBUG) + if (string[0] == CTLESC && string[1] == 0) + internal_inform ("dequote_string: string with bare CTLESC"); +#endif + slen = strlen (string); t = result = (char *)xmalloc (slen + 1); @@ -3723,6 +4038,14 @@ dequote_string (string) return (result); } + /* A string consisting of only a single CTLESC should pass through unchanged */ + if (string[0] == CTLESC && string[1] == 0) + { + result[0] = CTLESC; + result[1] = '\0'; + return (result); + } + /* If no character in the string can be quoted, don't bother examining each character. Just return a copy of the string passed to us. */ if (strchr (string, CTLESC) == NULL) @@ -3920,7 +4243,7 @@ remove_upattern (param, pattern, op) char *param, *pattern; int op; { - register int len; + register size_t len; register char *end; register char *p, *ret, c; @@ -4132,7 +4455,8 @@ match_upattern (string, pat, mtype, sp, ep) int mtype; char **sp, **ep; { - int c, len, mlen; + int c, mlen; + size_t len; register char *p, *p1, *npat; char *end; int n1; @@ -4148,19 +4472,41 @@ match_upattern (string, pat, mtype, sp, ep) len = STRLEN (pat); if (pat[0] != '*' || (pat[0] == '*' && pat[1] == LPAREN && extended_glob) || pat[len - 1] != '*') { + int unescaped_backslash; + char *pp; + p = npat = (char *)xmalloc (len + 3); p1 = pat; if (*p1 != '*' || (*p1 == '*' && p1[1] == LPAREN && extended_glob)) *p++ = '*'; while (*p1) *p++ = *p1++; - if (p1[-1] != '*' || p[-2] == '\\') +#if 1 + /* Need to also handle a pattern that ends with an unescaped backslash. + For right now, we ignore it because the pattern matching code will + fail the match anyway */ + /* If the pattern ends with a `*' we leave it alone if it's preceded by + an even number of backslashes, but if it's escaped by a backslash + we need to add another `*'. */ + if (p1[-1] == '*' && (unescaped_backslash = p1[-2] == '\\')) + { + pp = p1 - 3; + while (pp >= pat && *pp-- == '\\') + unescaped_backslash = 1 - unescaped_backslash; + if (unescaped_backslash) + *p++ = '*'; + } + else if (p1[-1] != '*') *p++ = '*'; +#else + if (p1[-1] != '*' || p1[-2] == '\\') + *p++ = '*'; +#endif *p = '\0'; } else npat = pat; - c = strmatch (npat, string, FNMATCH_EXTFLAG); + c = strmatch (npat, string, FNMATCH_EXTFLAG | FNMATCH_IGNCASE); if (npat != pat) free (npat); if (c == FNM_NOMATCH) @@ -4176,7 +4522,7 @@ match_upattern (string, pat, mtype, sp, ep) case MATCH_ANY: for (p = string; p <= end; p++) { - if (match_pattern_char (pat, p)) + if (match_pattern_char (pat, p, FNMATCH_IGNCASE)) { p1 = (mlen == -1) ? end : p + mlen; /* p1 - p = length of portion of string to be considered @@ -4192,7 +4538,7 @@ match_upattern (string, pat, mtype, sp, ep) for ( ; p1 >= p; p1--) { c = *p1; *p1 = '\0'; - if (strmatch (pat, p, FNMATCH_EXTFLAG) == 0) + if (strmatch (pat, p, FNMATCH_EXTFLAG | FNMATCH_IGNCASE) == 0) { *p1 = c; *sp = p; @@ -4212,13 +4558,13 @@ match_upattern (string, pat, mtype, sp, ep) return (0); case MATCH_BEG: - if (match_pattern_char (pat, string) == 0) + if (match_pattern_char (pat, string, FNMATCH_IGNCASE) == 0) return (0); for (p = (mlen == -1) ? end : string + mlen; p >= string; p--) { c = *p; *p = '\0'; - if (strmatch (pat, string, FNMATCH_EXTFLAG) == 0) + if (strmatch (pat, string, FNMATCH_EXTFLAG | FNMATCH_IGNCASE) == 0) { *p = c; *sp = string; @@ -4236,7 +4582,7 @@ match_upattern (string, pat, mtype, sp, ep) case MATCH_END: for (p = end - ((mlen == -1) ? len : mlen); p <= end; p++) { - if (strmatch (pat, p, FNMATCH_EXTFLAG) == 0) + if (strmatch (pat, p, FNMATCH_EXTFLAG | FNMATCH_IGNCASE) == 0) { *sp = p; *ep = end; @@ -4254,6 +4600,9 @@ match_upattern (string, pat, mtype, sp, ep) } #if defined (HANDLE_MULTIBYTE) + +#define WFOLD(c) (match_ignore_case && iswupper (c) ? towlower (c) : (c)) + /* Match WPAT anywhere in WSTRING and return the match boundaries. This returns 1 in case of a successful match, 0 otherwise. Wide character version. */ @@ -4286,19 +4635,36 @@ match_wpattern (wstring, indices, wstrlen, wpat, mtype, sp, ep) len = wcslen (wpat); if (wpat[0] != L'*' || (wpat[0] == L'*' && wpat[1] == WLPAREN && extended_glob) || wpat[len - 1] != L'*') { + int unescaped_backslash; + wchar_t *wpp; + wp = nwpat = (wchar_t *)xmalloc ((len + 3) * sizeof (wchar_t)); wp1 = wpat; if (*wp1 != L'*' || (*wp1 == '*' && wp1[1] == WLPAREN && extended_glob)) *wp++ = L'*'; while (*wp1 != L'\0') *wp++ = *wp1++; +#if 1 + /* See comments above in match_upattern. */ + if (wp1[-1] == L'*' && (unescaped_backslash = wp1[-2] == L'\\')) + { + wpp = wp1 - 3; + while (wpp >= wpat && *wpp-- == L'\\') + unescaped_backslash = 1 - unescaped_backslash; + if (unescaped_backslash) + *wp++ = L'*'; + } + else if (wp1[-1] != L'*') + *wp++ = L'*'; +#else if (wp1[-1] != L'*' || wp1[-2] == L'\\') *wp++ = L'*'; +#endif *wp = '\0'; } else nwpat = wpat; - len = wcsmatch (nwpat, wstring, FNMATCH_EXTFLAG); + len = wcsmatch (nwpat, wstring, FNMATCH_EXTFLAG | FNMATCH_IGNCASE); if (nwpat != wpat) free (nwpat); if (len == FNM_NOMATCH) @@ -4312,7 +4678,7 @@ match_wpattern (wstring, indices, wstrlen, wpat, mtype, sp, ep) case MATCH_ANY: for (n = 0; n <= wstrlen; n++) { - n2 = simple ? (*wpat == wstring[n]) : match_pattern_wchar (wpat, wstring + n); + n2 = simple ? (WFOLD(*wpat) == WFOLD(wstring[n])) : match_pattern_wchar (wpat, wstring + n, FNMATCH_IGNCASE); if (n2) { n1 = (mlen == -1) ? wstrlen : n + mlen; @@ -4322,7 +4688,7 @@ match_wpattern (wstring, indices, wstrlen, wpat, mtype, sp, ep) for ( ; n1 >= n; n1--) { wc = wstring[n1]; wstring[n1] = L'\0'; - if (wcsmatch (wpat, wstring + n, FNMATCH_EXTFLAG) == 0) + if (wcsmatch (wpat, wstring + n, FNMATCH_EXTFLAG | FNMATCH_IGNCASE) == 0) { wstring[n1] = wc; *sp = indices[n]; @@ -4340,13 +4706,13 @@ match_wpattern (wstring, indices, wstrlen, wpat, mtype, sp, ep) return (0); case MATCH_BEG: - if (match_pattern_wchar (wpat, wstring) == 0) + if (match_pattern_wchar (wpat, wstring, FNMATCH_IGNCASE) == 0) return (0); for (n = (mlen == -1) ? wstrlen : mlen; n >= 0; n--) { wc = wstring[n]; wstring[n] = L'\0'; - if (wcsmatch (wpat, wstring, FNMATCH_EXTFLAG) == 0) + if (wcsmatch (wpat, wstring, FNMATCH_EXTFLAG | FNMATCH_IGNCASE) == 0) { wstring[n] = wc; *sp = indices[0]; @@ -4364,7 +4730,7 @@ match_wpattern (wstring, indices, wstrlen, wpat, mtype, sp, ep) case MATCH_END: for (n = wstrlen - ((mlen == -1) ? wstrlen : mlen); n <= wstrlen; n++) { - if (wcsmatch (wpat, wstring + n, FNMATCH_EXTFLAG) == 0) + if (wcsmatch (wpat, wstring + n, FNMATCH_EXTFLAG | FNMATCH_IGNCASE) == 0) { *sp = indices[n]; *ep = indices[wstrlen]; @@ -4380,6 +4746,7 @@ match_wpattern (wstring, indices, wstrlen, wpat, mtype, sp, ep) return (0); } +#undef WFOLD #endif /* HANDLE_MULTIBYTE */ static int @@ -4396,7 +4763,7 @@ match_pattern (string, pat, mtype, sp, ep) size_t slen, plen, mslen, mplen; #endif - if (string == 0 || *string == 0 || pat == 0 || *pat == 0) + if (string == 0 || pat == 0 || *pat == 0) return (0); #if defined (HANDLE_MULTIBYTE) @@ -4465,7 +4832,7 @@ getpattern (value, quoted, expandpat) if (expandpat && (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) && *tword) { i = 0; - pat = string_extract_double_quoted (tword, &i, 1); + pat = string_extract_double_quoted (tword, &i, SX_STRIPDQ); free (tword); tword = pat; } @@ -4502,13 +4869,279 @@ variable_remove_pattern (value, pattern, patspec, quoted) return (tword); } -#endif +#endif + +static char * +list_remove_pattern (list, pattern, patspec, itype, quoted) + WORD_LIST *list; + char *pattern; + int patspec, itype, quoted; +{ + WORD_LIST *new, *l; + WORD_DESC *w; + char *tword; + + for (new = (WORD_LIST *)NULL, l = list; l; l = l->next) + { + tword = remove_pattern (l->word->word, pattern, patspec); + w = alloc_word_desc (); + w->word = tword ? tword : savestring (""); + new = make_word_list (w, new); + } + + l = REVERSE_LIST (new, WORD_LIST *); + tword = string_list_pos_params (itype, l, quoted); + dispose_words (l); + + return (tword); +} + +static char * +parameter_list_remove_pattern (itype, pattern, patspec, quoted) + int itype; + char *pattern; + int patspec, quoted; +{ + char *ret; + WORD_LIST *list; + + list = list_rest_of_args (); + if (list == 0) + return ((char *)NULL); + ret = list_remove_pattern (list, pattern, patspec, itype, quoted); + dispose_words (list); + return (ret); +} + +#if defined (ARRAY_VARS) +static char * +array_remove_pattern (var, pattern, patspec, varname, quoted) + SHELL_VAR *var; + char *pattern; + int patspec; + char *varname; /* so we can figure out how it's indexed */ + int quoted; +{ + ARRAY *a; + HASH_TABLE *h; + int itype; + char *ret; + WORD_LIST *list; + SHELL_VAR *v; + + /* compute itype from varname here */ + v = array_variable_part (varname, &ret, 0); + + /* XXX */ + if (v && invisible_p (v)) + return ((char *)NULL); + + itype = ret[0]; + + a = (v && array_p (v)) ? array_cell (v) : 0; + h = (v && assoc_p (v)) ? assoc_cell (v) : 0; + + list = a ? array_to_word_list (a) : (h ? assoc_to_word_list (h) : 0); + if (list == 0) + return ((char *)NULL); + ret = list_remove_pattern (list, pattern, patspec, itype, quoted); + dispose_words (list); + + return ret; +} +#endif /* ARRAY_VARS */ + +static char * +parameter_brace_remove_pattern (varname, value, ind, patstr, rtype, quoted, flags) + char *varname, *value; + int ind; + char *patstr; + int rtype, quoted, flags; +{ + int vtype, patspec, starsub; + char *temp1, *val, *pattern; + SHELL_VAR *v; + + if (value == 0) + return ((char *)NULL); + + this_command_name = varname; + + vtype = get_var_and_type (varname, value, ind, quoted, flags, &v, &val); + if (vtype == -1) + return ((char *)NULL); + + starsub = vtype & VT_STARSUB; + vtype &= ~VT_STARSUB; + + patspec = getpatspec (rtype, patstr); + if (patspec == RP_LONG_LEFT || patspec == RP_LONG_RIGHT) + patstr++; + + /* Need to pass getpattern newly-allocated memory in case of expansion -- + the expansion code will free the passed string on an error. */ + temp1 = savestring (patstr); + pattern = getpattern (temp1, quoted, 1); + free (temp1); + + temp1 = (char *)NULL; /* shut up gcc */ + switch (vtype) + { + case VT_VARIABLE: + case VT_ARRAYMEMBER: + temp1 = remove_pattern (val, pattern, patspec); + if (vtype == VT_VARIABLE) + FREE (val); + if (temp1) + { + val = (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) + ? quote_string (temp1) + : quote_escapes (temp1); + free (temp1); + temp1 = val; + } + break; +#if defined (ARRAY_VARS) + case VT_ARRAYVAR: + temp1 = array_remove_pattern (v, pattern, patspec, varname, quoted); + if (temp1 && ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) == 0)) + { + val = quote_escapes (temp1); + free (temp1); + temp1 = val; + } + break; +#endif + case VT_POSPARMS: + temp1 = parameter_list_remove_pattern (varname[0], pattern, patspec, quoted); + if (temp1 && ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) == 0)) + { + val = quote_escapes (temp1); + free (temp1); + temp1 = val; + } + break; + } + + FREE (pattern); + return temp1; +} + +static char * +string_var_assignment (v, s) + SHELL_VAR *v; + char *s; +{ + char flags[MAX_ATTRIBUTES], *ret, *val; + int i; + + val = sh_quote_reusable (s, 0); + i = var_attribute_string (v, 0, flags); + ret = (char *)xmalloc (i + strlen (val) + strlen (v->name) + 16 + MAX_ATTRIBUTES); + if (i > 0) + sprintf (ret, "declare -%s %s=%s", flags, v->name, val); + else + sprintf (ret, "%s=%s", v->name, val); + free (val); + return ret; +} + +#if defined (ARRAY_VARS) +static char * +array_var_assignment (v, itype, quoted) + SHELL_VAR *v; + int itype, quoted; +{ + char *ret, *val, flags[MAX_ATTRIBUTES]; + int i; + + if (v == 0) + return (char *)NULL; + val = array_p (v) ? array_to_assign (array_cell (v), 0) + : assoc_to_assign (assoc_cell (v), 0); + if (val == 0) + { + val = (char *)xmalloc (3); + val[0] = '('; + val[1] = ')'; + val[2] = 0; + } + else + { + ret = (quoted & (Q_DOUBLE_QUOTES|Q_HERE_DOCUMENT)) ? quote_string (val) : quote_escapes (val); + free (val); + val = ret; + } + i = var_attribute_string (v, 0, flags); + ret = (char *)xmalloc (i + strlen (val) + strlen (v->name) + 16); + sprintf (ret, "declare -%s %s=%s", flags, v->name, val); + free (val); + return ret; +} +#endif + +static char * +pos_params_assignment (list, itype, quoted) + WORD_LIST *list; + int itype; + int quoted; +{ + char *temp, *ret; + + /* first, we transform the list to quote each word. */ + temp = list_transform ('Q', (SHELL_VAR *)0, list, itype, quoted); + ret = (char *)xmalloc (strlen (temp) + 8); + strcpy (ret, "set -- "); + strcpy (ret + 7, temp); + free (temp); + return ret; +} + +static char * +string_transform (xc, v, s) + int xc; + SHELL_VAR *v; + char *s; +{ + char *ret, flags[MAX_ATTRIBUTES]; + int i; + + if (((xc == 'A' || xc == 'a') && v == 0) || (xc != 'a' && s == 0)) + return (char *)NULL; + + switch (xc) + { + /* Transformations that interrogate the variable */ + case 'a': + i = var_attribute_string (v, 0, flags); + ret = (i > 0) ? savestring (flags) : (char *)NULL; + break; + case 'A': + ret = string_var_assignment (v, s); + break; + /* Transformations that modify the variable's value */ + case 'E': + ret = ansiexpand (s, 0, strlen (s), (int *)0); + break; + case 'P': + ret = decode_prompt_string (s); + break; + case 'Q': + ret = sh_quote_reusable (s, 0); + break; + default: + ret = (char *)NULL; + break; + } + return ret; +} static char * -list_remove_pattern (list, pattern, patspec, itype, quoted) +list_transform (xc, v, list, itype, quoted) + int xc; + SHELL_VAR *v; WORD_LIST *list; - char *pattern; - int patspec, itype, quoted; + int itype, quoted; { WORD_LIST *new, *l; WORD_DESC *w; @@ -4516,9 +5149,9 @@ list_remove_pattern (list, pattern, patspec, itype, quoted) for (new = (WORD_LIST *)NULL, l = list; l; l = l->next) { - tword = remove_pattern (l->word->word, pattern, patspec); + tword = string_transform (xc, v, l->word->word); w = alloc_word_desc (); - w->word = tword ? tword : savestring (""); + w->word = tword ? tword : savestring (""); /* XXX */ new = make_word_list (w, new); } @@ -4530,10 +5163,10 @@ list_remove_pattern (list, pattern, patspec, itype, quoted) } static char * -parameter_list_remove_pattern (itype, pattern, patspec, quoted) +parameter_list_transform (xc, itype, quoted) + int xc; int itype; - char *pattern; - int patspec, quoted; + int quoted; { char *ret; WORD_LIST *list; @@ -4541,17 +5174,18 @@ parameter_list_remove_pattern (itype, pattern, patspec, quoted) list = list_rest_of_args (); if (list == 0) return ((char *)NULL); - ret = list_remove_pattern (list, pattern, patspec, itype, quoted); + if (xc == 'A') + return (pos_params_assignment (list, itype, quoted)); + ret = list_transform (xc, (SHELL_VAR *)0, list, itype, quoted); dispose_words (list); return (ret); } #if defined (ARRAY_VARS) static char * -array_remove_pattern (var, pattern, patspec, varname, quoted) +array_transform (xc, var, varname, quoted) + int xc; SHELL_VAR *var; - char *pattern; - int patspec; char *varname; /* so we can figure out how it's indexed */ int quoted; { @@ -4566,18 +5200,21 @@ array_remove_pattern (var, pattern, patspec, varname, quoted) v = array_variable_part (varname, &ret, 0); /* XXX */ - if (v && invisible_p (var)) + if (v && invisible_p (v)) return ((char *)NULL); itype = ret[0]; + if (xc == 'A') + return (array_var_assignment (v, itype, quoted)); + a = (v && array_p (v)) ? array_cell (v) : 0; h = (v && assoc_p (v)) ? assoc_cell (v) : 0; list = a ? array_to_word_list (a) : (h ? assoc_to_word_list (h) : 0); if (list == 0) return ((char *)NULL); - ret = list_remove_pattern (list, pattern, patspec, itype, quoted); + ret = list_transform (xc, v, list, itype, quoted); dispose_words (list); return ret; @@ -4585,17 +5222,18 @@ array_remove_pattern (var, pattern, patspec, varname, quoted) #endif /* ARRAY_VARS */ static char * -parameter_brace_remove_pattern (varname, value, ind, patstr, rtype, quoted, flags) +parameter_brace_transform (varname, value, ind, xform, rtype, quoted, flags) char *varname, *value; int ind; - char *patstr; + char *xform; int rtype, quoted, flags; { - int vtype, patspec, starsub; - char *temp1, *val, *pattern; + int vtype, xc; + char *temp1, *val; SHELL_VAR *v; - if (value == 0) + xc = xform[0]; + if (value == 0 && xc != 'A' && xc != 'a') return ((char *)NULL); this_command_name = varname; @@ -4604,25 +5242,25 @@ parameter_brace_remove_pattern (varname, value, ind, patstr, rtype, quoted, flag if (vtype == -1) return ((char *)NULL); - starsub = vtype & VT_STARSUB; - vtype &= ~VT_STARSUB; - - patspec = getpatspec (rtype, patstr); - if (patspec == RP_LONG_LEFT || patspec == RP_LONG_RIGHT) - patstr++; - - /* Need to pass getpattern newly-allocated memory in case of expansion -- - the expansion code will free the passed string on an error. */ - temp1 = savestring (patstr); - pattern = getpattern (temp1, quoted, 1); - free (temp1); + /* check for valid values of xc */ + switch (xc) + { + case 'a': /* expand to a string with just attributes */ + case 'A': /* expand as an assignment statement with attributes */ + case 'E': /* expand like $'...' */ + case 'P': /* expand like prompt string */ + case 'Q': /* quote reusably */ + break; + default: + return &expand_param_error; + } temp1 = (char *)NULL; /* shut up gcc */ - switch (vtype) + switch (vtype & ~VT_STARSUB) { case VT_VARIABLE: case VT_ARRAYMEMBER: - temp1 = remove_pattern (val, pattern, patspec); + temp1 = string_transform (xc, v, val); if (vtype == VT_VARIABLE) FREE (val); if (temp1) @@ -4636,7 +5274,7 @@ parameter_brace_remove_pattern (varname, value, ind, patstr, rtype, quoted, flag break; #if defined (ARRAY_VARS) case VT_ARRAYVAR: - temp1 = array_remove_pattern (v, pattern, patspec, varname, quoted); + temp1 = array_transform (xc, v, varname, quoted); if (temp1 && ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) == 0)) { val = quote_escapes (temp1); @@ -4646,7 +5284,7 @@ parameter_brace_remove_pattern (varname, value, ind, patstr, rtype, quoted, flag break; #endif case VT_POSPARMS: - temp1 = parameter_list_remove_pattern (varname[0], pattern, patspec, quoted); + temp1 = parameter_list_transform (xc, varname[0], quoted); if (temp1 && ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) == 0)) { val = quote_escapes (temp1); @@ -4656,9 +5294,8 @@ parameter_brace_remove_pattern (varname, value, ind, patstr, rtype, quoted, flag break; } - FREE (pattern); return temp1; -} +} /******************************************* * * @@ -4755,6 +5392,11 @@ static struct temp_fifo *fifo_list = (struct temp_fifo *)NULL; static int nfifo; static int fifo_list_size; +void +clear_fifo_list () +{ +} + char * copy_fifo_list (sizep) int *sizep; @@ -4893,6 +5535,31 @@ static char *dev_fd_list = (char *)NULL; static int nfds; static int totfds; /* The highest possible number of open files. */ +void +clear_fifo (i) + int i; +{ + if (dev_fd_list[i]) + { + dev_fd_list[i] = 0; + nfds--; + } +} + +void +clear_fifo_list () +{ + register int i; + + if (nfds == 0) + return; + + for (i = 0; nfds && i < totfds; i++) + clear_fifo (i); + + nfds = 0; +} + char * copy_fifo_list (sizep) int *sizep; @@ -5070,7 +5737,7 @@ process_substitute (string, open_for_read_in_child) #else /* HAVE_DEV_FD */ if (pipe (fildes) < 0) { - sys_error (_("cannot make pipe for process substitution")); + sys_error ("%s", _("cannot make pipe for process substitution")); return ((char *)NULL); } /* If OPEN_FOR_READ_IN_CHILD == 1, we want to use the write end of @@ -5086,7 +5753,7 @@ process_substitute (string, open_for_read_in_child) if (pathname == 0) { - sys_error (_("cannot make pipe for process substitution")); + sys_error ("%s", _("cannot make pipe for process substitution")); return ((char *)NULL); } @@ -5094,7 +5761,8 @@ process_substitute (string, open_for_read_in_child) #if defined (JOB_CONTROL) old_pipeline_pgrp = pipeline_pgrp; - pipeline_pgrp = shell_pgrp; + if (pipeline_pgrp == 0 || (subshell_environment & (SUBSHELL_PIPE|SUBSHELL_FORK|SUBSHELL_ASYNC)) == 0) + pipeline_pgrp = shell_pgrp; save_pipeline (1); #endif /* JOB_CONTROL */ @@ -5105,8 +5773,15 @@ process_substitute (string, open_for_read_in_child) free_pushed_string_input (); /* Cancel traps, in trap.c. */ restore_original_signals (); /* XXX - what about special builtins? bash-4.2 */ + QUIT; /* catch any interrupts we got post-fork */ setup_async_signals (); subshell_environment |= SUBSHELL_COMSUB|SUBSHELL_PROCSUB; + + /* if we're expanding a redirection, we shouldn't have access to the + temporary environment, but commands in the subshell should have + access to their own temporary environment. */ + if (expanding_redir) + flush_temporary_env (); } #if defined (JOB_CONTROL) @@ -5114,11 +5789,13 @@ process_substitute (string, open_for_read_in_child) stop_making_children (); /* XXX - should we only do this in the parent? (as in command subst) */ pipeline_pgrp = old_pipeline_pgrp; +#else + stop_making_children (); #endif /* JOB_CONTROL */ if (pid < 0) { - sys_error (_("cannot make child for process substitution")); + sys_error ("%s", _("cannot make child for process substitution")); free (pathname); #if defined (HAVE_DEV_FD) close (parent_pipe_fd); @@ -5130,7 +5807,12 @@ process_substitute (string, open_for_read_in_child) if (pid > 0) { #if defined (JOB_CONTROL) - restore_pipeline (1); + if (last_procsub_child) + { + discard_pipeline (last_procsub_child); + last_procsub_child = (PROCESS *)NULL; + } + last_procsub_child = restore_pipeline (0); #endif #if !defined (HAVE_DEV_FD) @@ -5181,6 +5863,11 @@ process_substitute (string, open_for_read_in_child) fd = child_pipe_fd; #endif /* HAVE_DEV_FD */ + /* Discard buffered stdio output before replacing the underlying file + descriptor. */ + if (open_for_read_in_child == 0) + fpurge (stdout); + if (dup2 (fd, open_for_read_in_child ? 0 : 1) < 0) { sys_error (_("cannot duplicate named pipe %s as fd %d"), pathname, @@ -5208,10 +5895,15 @@ process_substitute (string, open_for_read_in_child) #endif /* HAVE_DEV_FD */ /* subshells shouldn't have this flag, which controls using the temporary - environment for variable lookups. */ + environment for variable lookups. We have already flushed the temporary + environment above in the case we're expanding a redirection, so processes + executed by this command need to be able to set it independently of their + parent. */ expanding_redir = 0; + subshell_level++; result = parse_and_execute (string, "process substitution", (SEVAL_NONINT|SEVAL_NOHIST)); + subshell_level--; #if !defined (HAVE_DEV_FD) /* Make sure we close the named pipe in the child before we exit. */ @@ -5263,8 +5955,8 @@ read_comsub (fd, quoted, rflag) if (c == 0) { -#if 0 - internal_warning ("read_comsub: ignored null byte in input"); +#if 1 + internal_warning ("%s", _("command substitution: ignored null byte in input")); #endif continue; } @@ -5346,7 +6038,7 @@ command_substitute (string, quoted) int quoted; { pid_t pid, old_pid, old_pipeline_pgrp, old_async_pid; - char *istring; + char *istring, *s; int result, fildes[2], function_value, pflags, rc, tflag; WORD_DESC *ret; @@ -5354,8 +6046,15 @@ command_substitute (string, quoted) /* Don't fork () if there is no need to. In the case of no command to run, just return NULL. */ +#if 1 + for (s = string; s && *s && (shellblank (*s) || *s == '\n'); s++) + ; + if (s == 0 || *s == 0) + return ((WORD_DESC *)NULL); +#else if (!string || !*string || (string[0] == '\n' && !string[1])) return ((WORD_DESC *)NULL); +#endif if (wordexp_only && read_but_dont_execute) { @@ -5381,7 +6080,7 @@ command_substitute (string, quoted) /* Pipe the output of executing STRING into the current shell. */ if (pipe (fildes) < 0) { - sys_error (_("cannot make pipe for command substitution")); + sys_error ("%s", _("cannot make pipe for command substitution")); goto error_exit; } @@ -5404,6 +6103,12 @@ command_substitute (string, quoted) trap strings. Set a flag noting that we have to free the trap strings if we run trap to change a signal disposition. */ reset_signal_handlers (); + if (ISINTERRUPT) + { + kill (getpid (), SIGINT); + CLRINTERRUPT; /* if we're ignoring SIGINT somehow */ + } + QUIT; /* catch any interrupts we got post-fork */ subshell_environment |= SUBSHELL_RESETTRAP; } @@ -5432,13 +6137,20 @@ command_substitute (string, quoted) if (pid == 0) { + /* The currently executing shell is not interactive. */ + interactive = 0; + set_sigint_handler (); /* XXX */ free_pushed_string_input (); + /* Discard buffered stdio output before replacing the underlying file + descriptor. */ + fpurge (stdout); + if (dup2 (fildes[1], 1) < 0) { - sys_error (_("command_substitute: cannot duplicate pipe as fd 1")); + sys_error ("%s", _("command_substitute: cannot duplicate pipe as fd 1")); exit (EXECUTION_FAILURE); } @@ -5465,20 +6177,32 @@ command_substitute (string, quoted) sh_setlinebuf (stdout); #endif /* __CYGWIN__ */ - /* The currently executing shell is not interactive. */ - interactive = 0; - /* This is a subshell environment. */ subshell_environment |= SUBSHELL_COMSUB; - /* When not in POSIX mode, command substitution does not inherit - the -e flag. */ - if (posixly_correct == 0) + /* Many shells do not appear to inherit the -v option for command + substitutions. */ + change_flag ('v', FLAG_OFF); + + /* When inherit_errexit option is not enabled, command substitution does + not inherit the -e flag. It is enabled when Posix mode is enabled */ + if (inherit_errexit == 0) { builtin_ignoring_errexit = 0; change_flag ('e', FLAG_OFF); - set_shellopts (); } + set_shellopts (); + + /* If we are expanding a redirection, we can dispose of any temporary + environment we received, since redirections are not supposed to have + access to the temporary environment. We will have to see whether this + affects temporary environments supplied to `eval', but the temporary + environment gets copied to builtin_env at some point. */ + if (expanding_redir) + { + flush_temporary_env (); + expanding_redir = 0; + } remove_quoted_escapes (string); @@ -5547,8 +6271,13 @@ command_substitute (string, quoted) pipeline_pgrp is non-zero only while we are constructing a pipeline, so what we are concerned about is whether or not that pipeline was started in the background. A pipeline started in - the background should never get the tty back here. */ - if (interactive && pipeline_pgrp != (pid_t)0 && (subshell_environment & SUBSHELL_ASYNC) == 0) + the background should never get the tty back here. We duplicate + the conditions that wait_for tests to make sure we only give + the terminal back to pipeline_pgrp under the conditions that wait_for + gave it to shell_pgrp. If wait_for doesn't mess with the terminal + pgrp, we should not either. */ + if (interactive && pipeline_pgrp != (pid_t)0 && running_in_background == 0 && + (subshell_environment & (SUBSHELL_ASYNC|SUBSHELL_PIPE)) == 0) give_terminal_to (pipeline_pgrp, 0); #endif /* JOB_CONTROL */ @@ -5659,7 +6388,7 @@ valid_brace_expansion_word (name, var_is_special) else if (var_is_special) return 1; #if defined (ARRAY_VARS) - else if (valid_array_reference (name)) + else if (valid_array_reference (name, 0)) return 1; #endif /* ARRAY_VARS */ else if (legal_identifier (name)) @@ -5703,7 +6432,7 @@ chk_atstar (name, quoted, quoted_dollar_atp, contains_dollar_at) /* Now check for ${array[@]} and ${array[*]} */ #if defined (ARRAY_VARS) - else if (valid_array_reference (name)) + else if (valid_array_reference (name, 0)) { temp1 = mbschr (name, '['); if (temp1 && temp1[1] == '@' && temp1[2] == ']') @@ -5776,18 +6505,24 @@ parameter_brace_expand_word (name, var_is_special, quoted, pflags, indp) free (tt); } #if defined (ARRAY_VARS) - else if (valid_array_reference (name)) + else if (valid_array_reference (name, 0)) { expand_arrayref: - /* XXX - does this leak if name[@] or name[*]? */ if (pflags & PF_ASSIGNRHS) - { - var = array_variable_part (name, &tt, (int *)0); - if (ALL_ELEMENT_SUB (tt[0]) && tt[1] == ']') - temp = array_value (name, quoted|Q_DOUBLE_QUOTES, 0, &atype, &ind); + { + var = array_variable_part (name, &tt, (int *)0); + if (ALL_ELEMENT_SUB (tt[0]) && tt[1] == ']') + { + /* Only treat as double quoted if array variable */ + if (var && (array_p (var) || assoc_p (var))) + /* XXX - bash-4.4/bash-5.0 pass AV_ASSIGNRHS */ + temp = array_value (name, quoted|Q_DOUBLE_QUOTES, AV_ASSIGNRHS, &atype, &ind); + else + temp = array_value (name, quoted, 0, &atype, &ind); + } else temp = array_value (name, quoted, 0, &atype, &ind); - } + } else temp = array_value (name, quoted, 0, &atype, &ind); if (atype == 0 && temp) @@ -5826,12 +6561,12 @@ expand_arrayref: else temp = (char *)NULL; } - else if (var = find_variable_last_nameref (name)) + else if (var = find_variable_last_nameref (name, 0)) { temp = nameref_cell (var); #if defined (ARRAY_VARS) /* Handle expanding nameref whose value is x[n] */ - if (temp && *temp && valid_array_reference (temp)) + if (temp && *temp && valid_array_reference (temp, 0)) { name = temp; goto expand_arrayref; @@ -5869,7 +6604,7 @@ parameter_brace_find_indir (name, var_is_special, quoted, find_nameref) WORD_DESC *w; SHELL_VAR *v; - if (find_nameref && var_is_special == 0 && (v = find_variable_last_nameref (name)) && + if (find_nameref && var_is_special == 0 && (v = find_variable_last_nameref (name, 0)) && nameref_p (v) && (t = nameref_cell (v)) && *t) return (savestring (t)); @@ -5909,7 +6644,7 @@ parameter_brace_expand_indir (name, var_is_special, quoted, quoted_dollar_atp, c bash performs an indirect lookup on foo[0] and expands the result; ksh93 expands bar[0]. We could do that here -- there are enough usable primitives to do that -- but do not at this point. */ - if (var_is_special == 0 && (v = find_variable_last_nameref (name))) + if (var_is_special == 0 && (v = find_variable_last_nameref (name, 0))) { if (nameref_p (v) && (t = nameref_cell (v)) && *t) { @@ -5926,6 +6661,16 @@ parameter_brace_expand_indir (name, var_is_special, quoted, quoted_dollar_atp, c if (t == 0) return (WORD_DESC *)NULL; + if (valid_brace_expansion_word (t, SPECIAL_VAR (t, 0)) == 0) + { + report_error (_("%s: bad substitution"), t); + free (t); + w = alloc_word_desc (); + w->word = &expand_param_error; + w->flags = 0; + return (w); + } + w = parameter_brace_expand_word (t, SPECIAL_VAR(t, 0), quoted, 0, 0); free (t); @@ -5937,49 +6682,63 @@ parameter_brace_expand_indir (name, var_is_special, quoted, quoted_dollar_atp, c "-", "+", or "=". QUOTED is true if the entire brace expression occurs between double quotes. */ static WORD_DESC * -parameter_brace_expand_rhs (name, value, c, quoted, qdollaratp, hasdollarat) +parameter_brace_expand_rhs (name, value, c, quoted, pflags, qdollaratp, hasdollarat) char *name, *value; - int c, quoted, *qdollaratp, *hasdollarat; + int c, quoted, pflags, *qdollaratp, *hasdollarat; { WORD_DESC *w; WORD_LIST *l; - char *t, *t1, *temp; - int hasdol; + char *t, *t1, *temp, *vname; + int l_hasdollat, sindex; +/*itrace("parameter_brace_expand_rhs: %s:%s pflags = %d", name, value, pflags);*/ /* If the entire expression is between double quotes, we want to treat the value as a double-quoted string, with the exception that we strip embedded unescaped double quotes (for sh backwards compatibility). */ if ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) && *value) { - hasdol = 0; - temp = string_extract_double_quoted (value, &hasdol, 1); + sindex = 0; + temp = string_extract_double_quoted (value, &sindex, SX_STRIPDQ); } else temp = value; w = alloc_word_desc (); - hasdol = 0; + l_hasdollat = 0; /* XXX was 0 not quoted */ - l = *temp ? expand_string_for_rhs (temp, quoted, &hasdol, (int *)NULL) + l = *temp ? expand_string_for_rhs (temp, quoted, &l_hasdollat, (int *)NULL) : (WORD_LIST *)0; if (hasdollarat) - *hasdollarat = hasdol || (l && l->next); + *hasdollarat = l_hasdollat || (l && l->next); if (temp != value) free (temp); if (l) { + /* If l->next is not null, we know that TEMP contained "$@", since that + is the only expansion that creates more than one word. */ + if (qdollaratp && ((l_hasdollat && quoted) || l->next)) + { +/*itrace("parameter_brace_expand_rhs: %s:%s: l != NULL, set *qdollaratp", name, value);*/ + *qdollaratp = 1; + } + /* The expansion of TEMP returned something. We need to treat things - slightly differently if HASDOL is non-zero. If we have "$@", the - individual words have already been quoted. We need to turn them + slightly differently if L_HASDOLLAT is non-zero. If we have "$@", + the individual words have already been quoted. We need to turn them into a string with the words separated by the first character of $IFS without any additional quoting, so string_list_dollar_at won't - do the right thing. We use string_list_dollar_star instead. */ - temp = (hasdol || l->next) ? string_list_dollar_star (l) : string_list (l); + do the right thing. If IFS is null, we want "$@" to split into + separate arguments, not be concatenated, so we use string_list_internal + and mark the word to be split on spaces later. We use + string_list_dollar_star for "$@" otherwise. */ + if (l->next && ifs_is_null) + { + temp = string_list_internal (l, " "); + w->flags |= W_SPLITSPACE; + } + else + temp = (l_hasdollat || l->next) ? string_list_dollar_star (l) : string_list (l); - /* If l->next is not null, we know that TEMP contained "$@", since that - is the only expansion that creates more than one word. */ - if (qdollaratp && ((hasdol && quoted) || l->next)) - *qdollaratp = 1; /* If we have a quoted null result (QUOTED_NULL(temp)) and the word is a quoted null (l->next == 0 && QUOTED_NULL(l->word->word)), the flags indicate it (l->word->flags & W_HASQUOTEDNULL), and the @@ -5989,17 +6748,32 @@ parameter_brace_expand_rhs (name, value, c, quoted, qdollaratp, hasdollarat) if (l->next == 0 && (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) && QUOTED_NULL (temp) && QUOTED_NULL (l->word->word) && (l->word->flags & W_HASQUOTEDNULL)) { w->flags |= W_HASQUOTEDNULL; +/*itrace("parameter_brace_expand_rhs (%s:%s): returning quoted null, turning off qdollaratp", name, value);*/ + /* If we return a quoted null with L_HASDOLLARAT, we either have a + construct like "${@-$@}" or "${@-${@-$@}}" with no positional + parameters or a quoted expansion of "$@" with $1 == ''. In either + case, we don't want to enable special handling of $@. */ + if (qdollaratp && l_hasdollat) + *qdollaratp = 0; } dispose_words (l); } - else if ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) && hasdol) + else if ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) && l_hasdollat) { + /* Posix interp 221 changed the rules on this. The idea is that + something like "$xxx$@" should expand the same as "${foo-$xxx$@}" + when foo and xxx are unset. The problem is that it's not in any + way backwards compatible and few other shells do it. We're eventually + going to try and split the difference (heh) a little bit here. */ + /* l_hasdollat == 1 means we saw a quoted dollar at. */ + /* The brace expansion occurred between double quotes and there was a $@ in TEMP. It does not matter if the $@ is quoted, as long as it does not expand to anything. In this case, we want to return - a quoted empty string. */ + a quoted empty string. Posix interp 888 */ temp = make_quoted_char ('\0'); w->flags |= W_HASQUOTEDNULL; +/*itrace("parameter_brace_expand_rhs (%s:%s): returning quoted null", name, value);*/ } else temp = (char *)NULL; @@ -6014,16 +6788,40 @@ parameter_brace_expand_rhs (name, value, c, quoted, qdollaratp, hasdollarat) t = temp ? savestring (temp) : savestring (""); t1 = dequote_string (t); free (t); + + /* bash-4.4/5.0 */ + vname = name; + if (*name == '!' && + (legal_variable_starter ((unsigned char)name[1]) || DIGIT (name[1]) || VALID_INDIR_PARAM (name[1]))) + { + vname = parameter_brace_find_indir (name + 1, SPECIAL_VAR (name, 1), quoted, 1); + if (vname == 0 || *vname == 0) + { + report_error (_("%s: invalid indirect expansion"), name); + free (vname); + dispose_word (w); + return &expand_wdesc_error; + } + if (legal_identifier (vname) == 0) + { + report_error (_("%s: invalid variable name"), vname); + free (vname); + dispose_word (w); + return &expand_wdesc_error; + } + } + #if defined (ARRAY_VARS) - if (valid_array_reference (name)) - assign_array_element (name, t1, 0); + if (valid_array_reference (vname, 0)) + assign_array_element (vname, t1, 0); else #endif /* ARRAY_VARS */ - bind_variable (name, t1, 0); -#if 0 - if (STREQ (name, "IFS") == 0) -#endif - stupidly_hack_special_variables (name); + bind_variable (vname, t1, 0); + + stupidly_hack_special_variables (vname); + + if (vname != name) + free (vname); /* From Posix group discussion Feb-March 2010. Issue 7 0000221 */ free (temp); @@ -6071,7 +6869,7 @@ valid_length_expression (name) ((sh_syntaxtab[(unsigned char) name[1]] & CSPECVAR) && name[2] == '\0') || /* special param */ (DIGIT (name[1]) && all_digits (name + 1)) || /* ${#11} */ #if defined (ARRAY_VARS) - valid_array_reference (name + 1) || /* ${#a[7]} */ + valid_array_reference (name + 1, 0) || /* ${#a[7]} */ #endif legal_identifier (name + 1)); /* ${#PS1} */ } @@ -6091,7 +6889,7 @@ parameter_brace_expand_length (name) if (name[1] == '\0') /* ${#} */ number = number_of_args (); - else if ((name[1] == '@' || name[1] == '*') && name[2] == '\0') /* ${#@}, ${#*} */ + else if (DOLLAR_AT_STAR (name[1]) && name[2] == '\0') /* ${#@}, ${#*} */ number = number_of_args (); else if ((sh_syntaxtab[(unsigned char) name[1]] & CSPECVAR) && name[2] == '\0') { @@ -6121,7 +6919,7 @@ parameter_brace_expand_length (name) FREE (t); } #if defined (ARRAY_VARS) - else if (valid_array_reference (name + 1)) + else if (valid_array_reference (name + 1, 0)) number = array_length_reference (name + 1); #endif /* ARRAY_VARS */ else @@ -6171,6 +6969,7 @@ parameter_brace_expand_length (name) the first DELIM, instead of using strchr(3). Two rules: 1. If the substring contains a `(', read until closing `)'. 2. If the substring contains a `?', read past one `:' for each `?'. + The SD_ARITHEXP flag to skip_to_delim takes care of doing this. */ static char * @@ -6178,51 +6977,13 @@ skiparith (substr, delim) char *substr; int delim; { - size_t sublen; - int skipcol, pcount, i; - DECLARE_MBSTATE; - - sublen = strlen (substr); - i = skipcol = pcount = 0; - while (substr[i]) - { - /* Balance parens */ - if (substr[i] == LPAREN) - { - pcount++; - i++; - continue; - } - if (substr[i] == RPAREN && pcount) - { - pcount--; - i++; - continue; - } - if (pcount) - { - ADVANCE_CHAR (substr, sublen, i); - continue; - } + int i; + char delims[2]; - /* Skip one `:' for each `?' */ - if (substr[i] == ':' && skipcol) - { - skipcol--; - i++; - continue; - } - if (substr[i] == delim) - break; - if (substr[i] == '?') - { - skipcol++; - i++; - continue; - } - ADVANCE_CHAR (substr, sublen, i); - } + delims[0] = delim; + delims[1] = '\0'; + i = skip_to_delim (substr, 0, delims, SD_ARITHEXP); return (substr + i); } @@ -6377,9 +7138,7 @@ get_var_and_type (varname, value, ind, quoted, flags, varp, valp) int vtype, want_indir; char *temp, *vname; WORD_DESC *wd; -#if defined (ARRAY_VARS) SHELL_VAR *v; -#endif arrayind_t lind; want_indir = *varname == '!' && @@ -6387,17 +7146,26 @@ get_var_and_type (varname, value, ind, quoted, flags, varp, valp) || VALID_INDIR_PARAM (varname[1])); if (want_indir) vname = parameter_brace_find_indir (varname+1, SPECIAL_VAR (varname, 1), quoted, 1); + /* XXX - what if vname == 0 || *vname == 0 ? */ else vname = varname; - + + if (vname == 0) + { + vtype = VT_VARIABLE; + *varp = (SHELL_VAR *)NULL; + *valp = (char *)NULL; + return (vtype); + } + /* This sets vtype to VT_VARIABLE or VT_POSPARMS */ - vtype = (vname[0] == '@' || vname[0] == '*') && vname[1] == '\0'; + vtype = STR_DOLLAR_AT_STAR (vname); if (vtype == VT_POSPARMS && vname[0] == '*') vtype |= VT_STARSUB; *varp = (SHELL_VAR *)NULL; #if defined (ARRAY_VARS) - if (valid_array_reference (vname)) + if (valid_array_reference (vname, 0)) { v = array_variable_part (vname, &temp, (int *)0); /* If we want to signal array_value to use an already-computed index, @@ -6453,6 +7221,7 @@ get_var_and_type (varname, value, ind, quoted, flags, varp, valp) { if (value && vtype == VT_VARIABLE) { + *varp = find_variable (vname); if (quoted & (Q_DOUBLE_QUOTES|Q_HERE_DOCUMENT)) *valp = dequote_string (value); else @@ -6485,7 +7254,8 @@ mb_substring (string, s, e) int s, e; { char *tt; - int start, stop, i, slen; + int start, stop, i; + size_t slen; DECLARE_MBSTATE; start = 0; @@ -6520,7 +7290,7 @@ parameter_brace_substring (varname, value, ind, substr, quoted, flags) char *temp, *val, *tt, *oname; SHELL_VAR *v; - if (value == 0) + if (value == 0 && ((varname[0] != '@' && varname[0] != '*') || varname[1])) return ((char *)NULL); oname = this_command_name; @@ -6602,6 +7372,7 @@ parameter_brace_substring (varname, value, ind, substr, quoted, flags) /* */ /****************************************************************/ +#if 0 /* Unused */ static int shouldexp_replacement (s) char *s; @@ -6617,6 +7388,7 @@ shouldexp_replacement (s) } return 0; } +#endif char * pat_subst (string, pat, rep, mflags) @@ -6624,7 +7396,8 @@ pat_subst (string, pat, rep, mflags) int mflags; { char *ret, *s, *e, *str, *rstr, *mstr; - int rsize, rptr, l, replen, mtype, rxpand, rslen, mlen; + int rptr, mtype, rxpand, mlen; + size_t rsize, l, replen, rslen; if (string == 0) return (savestring ("")); @@ -6642,6 +7415,8 @@ pat_subst (string, pat, rep, mflags) * with REP and return the result. * 2. A null pattern with mtype == MATCH_END means to append REP to * STRING and return the result. + * 3. A null STRING with a matching pattern means to append REP to + * STRING and return the result. * These don't understand or process `&' in the replacement string. */ if ((pat == 0 || *pat == 0) && (mtype == MATCH_BEG || mtype == MATCH_END)) @@ -6663,32 +7438,43 @@ pat_subst (string, pat, rep, mflags) } return (ret); } + else if (*string == 0 && (match_pattern (string, pat, mtype, &s, &e) != 0)) + { + replen = STRLEN (rep); + ret = (char *)xmalloc (replen + 1); + if (replen == 0) + ret[0] = '\0'; + else + strcpy (ret, rep); + return (ret); + } ret = (char *)xmalloc (rsize = 64); ret[0] = '\0'; - for (replen = STRLEN (rep), rptr = 0, str = string;;) + for (replen = STRLEN (rep), rptr = 0, str = string; *str;) { if (match_pattern (str, pat, mtype, &s, &e) == 0) break; l = s - str; - if (rxpand) + if (rep && rxpand) { - int x; - mlen = e - s; - mstr = xmalloc (mlen + 1); + int x; + mlen = e - s; + mstr = xmalloc (mlen + 1); for (x = 0; x < mlen; x++) mstr[x] = s[x]; - mstr[mlen] = '\0'; - rstr = strcreplace (rep, '&', mstr, 0); - rslen = strlen (rstr); + mstr[mlen] = '\0'; + rstr = strcreplace (rep, '&', mstr, 0); + free (mstr); + rslen = strlen (rstr); } else - { - rstr = rep; - rslen = replen; - } + { + rstr = rep; + rslen = replen; + } RESIZE_MALLOCED_BUFFER (ret, rptr, (l + rslen), rsize, 64); @@ -6775,11 +7561,11 @@ pos_params_pat_subst (string, pat, rep, mflags) and the string to substitute. QUOTED is a flags word containing the type of quoting currently in effect. */ static char * -parameter_brace_patsub (varname, value, ind, patsub, quoted, flags) +parameter_brace_patsub (varname, value, ind, patsub, quoted, pflags, flags) char *varname, *value; int ind; char *patsub; - int quoted, flags; + int quoted, pflags, flags; { int vtype, mflags, starsub, delim; char *val, *temp, *pat, *rep, *p, *lpatsub, *tt; @@ -6815,6 +7601,9 @@ parameter_brace_patsub (varname, value, ind, patsub, quoted, flags) if (starsub) mflags |= MATCH_STARSUB; + if (pflags & PF_ASSIGNRHS) + mflags |= MATCH_ASSIGNRHS; + /* If the pattern starts with a `/', make sure we skip over it when looking for the replacement delimiter. */ delim = skip_to_delim (lpatsub, ((*patsub == '/') ? 1 : 0), "/", 0); @@ -7102,11 +7891,11 @@ chk_arithsub (s, len) break; case '\'': - i = skip_single_quoted (s, len, ++i); + i = skip_single_quoted (s, len, ++i, 0); break; case '"': - i = skip_double_quoted ((char *)s, len, ++i); + i = skip_double_quoted ((char *)s, len, ++i, 0); break; } } @@ -7124,13 +7913,13 @@ chk_arithsub (s, len) static WORD_DESC * parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, contains_dollar_at) char *string; - int *indexp, quoted, *quoted_dollar_atp, *contains_dollar_at, pflags; + int *indexp, quoted, pflags, *quoted_dollar_atp, *contains_dollar_at; { int check_nullness, var_is_set, var_is_null, var_is_special; int want_substring, want_indir, want_patsub, want_casemod; char *name, *value, *temp, *temp1; WORD_DESC *tdesc, *ret; - int t_index, sindex, c, tflag, modspec; + int t_index, sindex, c, tflag, modspec, all_element_arrayref; intmax_t number; arrayind_t ind; @@ -7138,6 +7927,8 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta var_is_set = var_is_null = var_is_special = check_nullness = 0; want_substring = want_indir = want_patsub = want_casemod = 0; + all_element_arrayref = 0; + sindex = *indexp; t_index = ++sindex; /* ${#var} doesn't have any of the other parameter expansions on it. */ @@ -7148,14 +7939,31 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta /* To enable case-toggling expansions using the `~' operator character change the 1 to 0. */ # if defined (CASEMOD_CAPCASE) - name = string_extract (string, &t_index, "#%^,~:-=?+/}", SX_VARNAME); + name = string_extract (string, &t_index, "#%^,~:-=?+/@}", SX_VARNAME); # else - name = string_extract (string, &t_index, "#%^,:-=?+/}", SX_VARNAME); + name = string_extract (string, &t_index, "#%^,:-=?+/@}", SX_VARNAME); # endif /* CASEMOD_CAPCASE */ #else - name = string_extract (string, &t_index, "#%:-=?+/}", SX_VARNAME); + name = string_extract (string, &t_index, "#%:-=?+/@}", SX_VARNAME); #endif /* CASEMOD_EXPANSIONS */ + /* Handle ${@[stuff]} now that @ is a word expansion operator. Not exactly + the cleanest code ever. */ + if (*name == 0 && sindex == t_index && string[sindex] == '@') + { + name = (char *)xrealloc (name, 2); + name[0] = '@'; + name[1] = '\0'; + t_index++; + } + else if (*name == '!' && t_index > sindex && string[t_index] == '@' && string[t_index+1] == '}') + { + name = (char *)xrealloc (name, t_index - sindex + 2); + name[t_index - sindex] = '@'; + name[t_index - sindex + 1] = '\0'; + t_index++; + } + ret = 0; tflag = 0; @@ -7163,12 +7971,15 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta /* If the name really consists of a special variable, then make sure that we have the entire name. We don't allow indirect references - to special variables except `#', `?', `@' and `*'. */ + to special variables except `#', `?', `@' and `*'. This clause is + designed to handle ${#SPECIAL} and ${!SPECIAL}, not anything more + general. */ if ((sindex == t_index && VALID_SPECIAL_LENGTH_PARAM (string[t_index])) || + (sindex == t_index && string[sindex] == '#' && VALID_SPECIAL_LENGTH_PARAM (string[sindex + 1])) || (sindex == t_index - 1 && string[sindex] == '!' && VALID_INDIR_PARAM (string[t_index]))) { t_index++; - temp1 = string_extract (string, &t_index, "#%:-=?+/}", 0); + temp1 = string_extract (string, &t_index, "#%:-=?+/@}", 0); name = (char *)xrealloc (name, 3 + (strlen (temp1))); *name = string[sindex]; if (string[sindex] == '!') @@ -7228,7 +8039,7 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta member (c, "%:=+/") && string[sindex] == RBRACE) { temp = (char *)NULL; - goto bad_substitution; + goto bad_substitution; /* XXX - substitution error */ } /* Indirect expansion begins with a `!'. A valid indirect expansion is @@ -7255,7 +8066,7 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta if (string[sindex - 1] != RBRACE || (valid_length_expression (name) == 0)) { temp = (char *)NULL; - goto bad_substitution; + goto bad_substitution; /* substitution error */ } number = parameter_brace_expand_length (name); @@ -7308,7 +8119,7 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta temp = string_list_dollar_star (xlist); else { - temp = string_list_dollar_at (xlist, quoted); + temp = string_list_dollar_at (xlist, quoted, 0); if ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) && quoted_dollar_atp) *quoted_dollar_atp = 1; if (contains_dollar_at) @@ -7332,7 +8143,7 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta #if defined (ARRAY_VARS) /* Process ${!ARRAY[@]} and ${!ARRAY[*]} expansion. */ /* [ */ if (want_indir && string[sindex - 1] == RBRACE && - string[sindex - 2] == ']' && valid_array_reference (name+1)) + string[sindex - 2] == ']' && valid_array_reference (name+1, 0)) { char *x, *x1; @@ -7352,6 +8163,7 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta tflag |= W_DOLLARAT; } + free (name); free (temp1); *indexp = sindex; @@ -7370,12 +8182,17 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta var_is_special) == 0) { temp = (char *)NULL; - goto bad_substitution; + goto bad_substitution; /* substitution error */ } if (want_indir) { tdesc = parameter_brace_expand_indir (name + 1, var_is_special, quoted, quoted_dollar_atp, contains_dollar_at); + if (tdesc == &expand_wdesc_error || tdesc == &expand_wdesc_fatal) + { + temp = (char *)NULL; + goto bad_substitution; + } /* Turn off the W_ARRAYIND flag because there is no way for this function to return the index we're supposed to be using. */ if (tdesc && tdesc->flags) @@ -7401,8 +8218,22 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta } #if defined (ARRAY_VARS) - if (valid_array_reference (name)) - chk_atstar (name, quoted, quoted_dollar_atp, contains_dollar_at); + if (valid_array_reference (name, 0)) + { + int qflags; + char *t; + + qflags = quoted; + /* If in a context where word splitting will not take place, treat as + if double-quoted. Has effects with $* and ${array[*]} */ + if (pflags & PF_ASSIGNRHS) + qflags |= Q_DOUBLE_QUOTES; + chk_atstar (name, qflags, quoted_dollar_atp, contains_dollar_at); + /* We duplicate a little code here */ + t = mbschr (name, '['); + if (t && ALL_ELEMENT_SUB (t[1]) && t[2] == ']') + all_element_arrayref = 1; + } #endif var_is_set = temp != (char *)0; @@ -7420,7 +8251,7 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta if (string[sindex] == RBRACE) sindex++; else - goto bad_substitution; + goto bad_substitution; /* substitution error */ } else value = (char *)NULL; @@ -7431,7 +8262,7 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta variable error. */ if (want_substring || want_patsub || want_casemod || c == '#' || c == '%' || c == RBRACE) { - if (var_is_set == 0 && unbound_vars_is_error && ((name[0] != '@' && name[0] != '*') || name[1])) + if (var_is_set == 0 && unbound_vars_is_error && ((name[0] != '@' && name[0] != '*') || name[1]) && all_element_arrayref == 0) { last_command_exit_value = EXECUTION_FAILURE; err_unboundvar (name); @@ -7469,7 +8300,7 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta } else if (want_patsub) { - temp1 = parameter_brace_patsub (name, temp, ind, value, quoted, (tflag & W_ARRAYIND) ? AV_USEIND : 0); + temp1 = parameter_brace_patsub (name, temp, ind, value, quoted, pflags, (tflag & W_ARRAYIND) ? AV_USEIND : 0); FREE (name); FREE (value); FREE (temp); @@ -7515,17 +8346,38 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta { default: case '\0': - bad_substitution: +bad_substitution: last_command_exit_value = EXECUTION_FAILURE; report_error (_("%s: bad substitution"), string ? string : "??"); FREE (value); FREE (temp); free (name); - return &expand_wdesc_error; + if (shell_compatibility_level <= 43) + return &expand_wdesc_error; + else + return ((posixly_correct && interactive_shell == 0) ? &expand_wdesc_fatal : &expand_wdesc_error); case RBRACE: break; + case '@': + temp1 = parameter_brace_transform (name, temp, ind, value, c, quoted, (tflag & W_ARRAYIND) ? AV_USEIND : 0); + free (temp); + free (value); + free (name); + if (temp1 == &expand_param_error || temp1 == &expand_param_fatal) + { + last_command_exit_value = EXECUTION_FAILURE; + report_error (_("%s: bad substitution"), string ? string : "??"); + return (temp1 == &expand_param_error ? &expand_wdesc_error : &expand_wdesc_fatal); + } + + ret = alloc_word_desc (); + ret->word = temp1; + if (temp1 && QUOTED_NULL (temp1) && (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES))) + ret->flags |= W_QUOTED|W_HASQUOTEDNULL; + return ret; + case '#': /* ${param#[#]pattern} */ case '%': /* ${param%[%]pattern} */ if (value == 0 || *value == '\0' || temp == 0 || *temp == '\0') @@ -7572,6 +8424,7 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta quoted |= Q_DOLBRACE; ret = parameter_brace_expand_rhs (name, value, c, quoted, + pflags, quoted_dollar_atp, contains_dollar_at); /* XXX - fix up later, esp. noting presence of @@ -7619,7 +8472,7 @@ parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, conta removed. */ if (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) quoted |= Q_DOLBRACE; - ret = parameter_brace_expand_rhs (name, value, c, quoted, + ret = parameter_brace_expand_rhs (name, value, c, quoted, pflags, quoted_dollar_atp, contains_dollar_at); /* XXX - fix up later, esp. noting presence of @@ -7652,7 +8505,7 @@ param_expand (string, sindex, quoted, expanded_something, int *sindex, quoted, *expanded_something, *contains_dollar_at; int *quoted_dollar_at_p, *had_quoted_null_p, pflags; { - char *temp, *temp1, uerror[3]; + char *temp, *temp1, uerror[3], *savecmd; int zindex, t_index, expok; unsigned char c; intmax_t number; @@ -7661,6 +8514,7 @@ param_expand (string, sindex, quoted, expanded_something, WORD_DESC *tdesc, *ret; int tflag; +/*itrace("param_expand: `%s' pflags = %d", string+*sindex, pflags);*/ zindex = *sindex; c = string[++zindex]; @@ -7784,10 +8638,11 @@ param_expand (string, sindex, quoted, expanded_something, temp = (quoted & (Q_DOUBLE_QUOTES|Q_PATQUOTE)) ? string_list_dollar_star (list) : string_list (list); if (temp) { - temp1 = quote_string (temp); + temp1 = (quoted & Q_DOUBLE_QUOTES) ? quote_string (temp) : temp; if (*temp == 0) tflag |= W_HASQUOTEDNULL; - free (temp); + if (temp != temp1) + free (temp); temp = temp1; } } @@ -7806,9 +8661,18 @@ param_expand (string, sindex, quoted, expanded_something, temp = string_list_dollar_star (list); else { - temp = string_list_dollar_at (list, quoted); + temp = string_list_dollar_at (list, quoted, 0); if (quoted == 0 && (ifs_is_set == 0 || ifs_is_null)) tflag |= W_SPLITSPACE; + /* If we're not quoted but we still don't want word splitting, make + we quote the IFS characters to protect them from splitting (e.g., + when $@ is in the string as well). */ + else if (temp && quoted == 0 && ifs_is_set && (pflags & PF_ASSIGNRHS)) + { + temp1 = quote_string (temp); + free (temp); + temp = temp1; + } } if (expand_no_split_dollar_star == 0 && contains_dollar_at) @@ -7865,7 +8729,8 @@ param_expand (string, sindex, quoted, expanded_something, performed? Even when IFS is not the default, posix seems to imply that we behave like unquoted $* ? Maybe we should use PF_NOSPLIT2 here. */ - temp = string_list_dollar_at (list, (pflags & PF_ASSIGNRHS) ? (quoted|Q_DOUBLE_QUOTES) : quoted); + /* XXX - bash-4.4/bash-5.0 passing PFLAGS */ + temp = string_list_dollar_at (list, (pflags & PF_ASSIGNRHS) ? (quoted|Q_DOUBLE_QUOTES) : quoted, pflags); tflag |= W_DOLLARAT; dispose_words (list); @@ -7907,7 +8772,9 @@ param_expand (string, sindex, quoted, expanded_something, case LPAREN: /* We have to extract the contents of this paren substitution. */ t_index = zindex + 1; - temp = extract_command_subst (string, &t_index, 0); + /* XXX - might want to check for string[t_index+2] == LPAREN and parse + as arithmetic substitution immediately. */ + temp = extract_command_subst (string, &t_index, (pflags&PF_COMPLETE) ? SX_COMPLETE : 0); zindex = t_index; /* For Posix.2-style `$(( ))' arithmetic substitution, @@ -7938,13 +8805,15 @@ param_expand (string, sindex, quoted, expanded_something, } /* Expand variables found inside the expression. */ - temp1 = expand_arith_string (temp2, Q_DOUBLE_QUOTES); + temp1 = expand_arith_string (temp2, Q_DOUBLE_QUOTES|Q_ARITH); free (temp2); arithsub: /* No error messages. */ + savecmd = this_command_name; this_command_name = (char *)NULL; number = evalexp (temp1, &expok); + this_command_name = savecmd; free (temp); free (temp1); if (expok == 0) @@ -7992,7 +8861,7 @@ comsub: } /* Do initial variable expansion. */ - temp1 = expand_arith_string (temp, Q_DOUBLE_QUOTES); + temp1 = expand_arith_string (temp, Q_DOUBLE_QUOTES|Q_ARITH); goto arithsub; @@ -8049,11 +8918,11 @@ comsub: } else if (var && (invisible_p (var) || var_isset (var) == 0)) temp = (char *)NULL; - else if ((var = find_variable_last_nameref (temp1)) && var_isset (var) && invisible_p (var) == 0) + else if ((var = find_variable_last_nameref (temp1, 0)) && var_isset (var) && invisible_p (var) == 0) { temp = nameref_cell (var); #if defined (ARRAY_VARS) - if (temp && *temp && valid_array_reference (temp)) + if (temp && *temp && valid_array_reference (temp, 0)) { tdesc = parameter_brace_expand_word (temp, SPECIAL_VAR (temp, 0), quoted, pflags, (arrayind_t *)NULL); if (tdesc == &expand_wdesc_error || tdesc == &expand_wdesc_fatal) @@ -8110,6 +8979,13 @@ return0: return ret; } +void +invalidate_cached_quoted_dollar_at () +{ + dispose_words (cached_quoted_dollar_at); + cached_quoted_dollar_at = 0; +} + /* Make a word list which is the result of parameter and variable expansion, command substitution, arithmetic substitution, and quote removal of WORD. Return a pointer to a WORD_LIST which is @@ -8150,7 +9026,7 @@ expand_word_internal (word, quoted, isexp, contains_dollar_at, expanded_somethin char *istring; /* The current size of the above object. */ - int istring_size; + size_t istring_size; /* Index into ISTRING. */ int istring_index; @@ -8181,6 +9057,7 @@ expand_word_internal (word, quoted, isexp, contains_dollar_at, expanded_somethin int split_on_spaces; int tflag; int pflags; /* flags passed to param_expand */ + int mb_cur_max; int assignoff; /* If assignment, offset of `=' */ @@ -8191,6 +9068,23 @@ expand_word_internal (word, quoted, isexp, contains_dollar_at, expanded_somethin DECLARE_MBSTATE; + /* OK, let's see if we can optimize a common idiom: "$@" */ + if (STREQ (word->word, "\"$@\"") && + (word->flags == (W_HASDOLLAR|W_QUOTED)) && + dollar_vars[1]) /* XXX - check IFS here as well? */ + { + if (contains_dollar_at) + *contains_dollar_at = 1; + if (expanded_something) + *expanded_something = 1; + if (cached_quoted_dollar_at) + return (copy_word_list (cached_quoted_dollar_at)); + list = list_rest_of_args (); + list = quote_list (list); + cached_quoted_dollar_at = copy_word_list (list); + return (list); + } + istring = (char *)xmalloc (istring_size = DEFAULT_INITIAL_ARRAY_SIZE); istring[istring_index = 0] = '\0'; quoted_dollar_at = had_quoted_null = has_dollar_at = 0; @@ -8200,9 +9094,11 @@ expand_word_internal (word, quoted, isexp, contains_dollar_at, expanded_somethin string = word->word; if (string == 0) goto finished_with_string; + mb_cur_max = MB_CUR_MAX; + /* Don't need the string length for the SADD... and COPY_ macros unless multibyte characters are possible. */ - string_size = (MB_CUR_MAX > 1) ? strlen (string) : 1; + string_size = (mb_cur_max > 1) ? strlen (string) : 1; if (contains_dollar_at) *contains_dollar_at = 0; @@ -8224,7 +9120,7 @@ expand_word_internal (word, quoted, isexp, contains_dollar_at, expanded_somethin case CTLESC: sindex++; #if HANDLE_MULTIBYTE - if (MB_CUR_MAX > 1 && string[sindex]) + if (mb_cur_max > 1 && string[sindex]) { SADD_MBQCHAR_BODY(temp, string, sindex, string_size); } @@ -8255,6 +9151,9 @@ add_string: case '<': case '>': { + /* bash-4.4/bash-5.0 + XXX - technically this should only be expanded at the start + of a word */ if (string[++sindex] != LPAREN || (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) || (word->flags & (W_DQUOTE|W_NOPROCSUB)) || posixly_correct) { sindex--; /* add_character: label increments sindex */ @@ -8311,6 +9210,11 @@ add_string: string[sindex+1] == '~') word->flags |= W_ITILDE; #endif + + /* XXX - bash-4.4/bash-5.0 */ + if (word->flags & W_ASSIGNARG) + word->flags |= W_ASSIGNRHS; /* affects $@ */ + if (isexp == 0 && (word->flags & (W_NOSPLIT|W_NOSPLIT2)) == 0 && isifs (c)) goto add_ifs_character; else @@ -8337,10 +9241,12 @@ add_string: case '~': /* If the word isn't supposed to be tilde expanded, or we're not at the start of a word or after an unquoted : or = in an - assignment statement, we don't do tilde expansion. */ + assignment statement, we don't do tilde expansion. If we don't want + tilde expansion when expanding words to be passed to the arithmetic + evaluator, remove the check for Q_ARITH. */ if ((word->flags & (W_NOTILDE|W_DQUOTE)) || (sindex > 0 && ((word->flags & W_ITILDE) == 0)) || - (quoted & (Q_DOUBLE_QUOTES|Q_HERE_DOCUMENT))) + ((quoted & (Q_DOUBLE_QUOTES|Q_HERE_DOCUMENT)) && ((quoted & Q_ARITH) == 0))) { word->flags &= ~W_ITILDE; if (isexp == 0 && (word->flags & (W_NOSPLIT|W_NOSPLIT2)) == 0 && isifs (c) && (quoted & (Q_DOUBLE_QUOTES|Q_HERE_DOCUMENT)) == 0) @@ -8390,6 +9296,8 @@ add_string: pflags |= PF_NOSPLIT2; if (word->flags & W_ASSIGNRHS) pflags |= PF_ASSIGNRHS; + if (word->flags & W_COMPLETE) + pflags |= PF_COMPLETE; tword = param_expand (string, &sindex, quoted, expanded_something, &temp_has_dollar_at, "ed_dollar_at, &had_quoted_null, pflags); @@ -8524,11 +9432,11 @@ add_twochars: break; case '"': - if ((quoted & (Q_DOUBLE_QUOTES|Q_HERE_DOCUMENT))) + if ((quoted & (Q_DOUBLE_QUOTES|Q_HERE_DOCUMENT)) && ((quoted & Q_ARITH) == 0)) goto add_character; t_index = ++sindex; - temp = string_extract_double_quoted (string, &sindex, 0); + temp = string_extract_double_quoted (string, &sindex, (word->flags & W_COMPLETE) ? SX_COMPLETE : 0); /* If the quotes surrounded the entire string, then the whole word was quoted. */ @@ -8541,6 +9449,12 @@ add_twochars: tword = alloc_word_desc (); tword->word = temp; + /* XXX - bash-4.4/bash-5.0 */ + if (word->flags & W_ASSIGNARG) + tword->flags |= word->flags & (W_ASSIGNARG|W_ASSIGNRHS); /* affects $@ */ + if (word->flags & W_COMPLETE) + tword->flags |= W_COMPLETE; /* for command substitutions */ + temp = (char *)NULL; temp_has_dollar_at = 0; /* XXX */ @@ -8564,7 +9478,7 @@ add_twochars: /* "$@" (a double-quoted dollar-at) expands into nothing, not even a NULL word, when there are no positional parameters. */ - if (list == 0 && has_dollar_at) + if (list == 0 && temp_has_dollar_at) /* XXX - was has_dollar_at */ { quoted_dollar_at++; break; @@ -8584,7 +9498,7 @@ add_twochars: if (list && list->word && (list->word->flags & W_HASQUOTEDNULL)) had_quoted_null = 1; /* XXX */ - if (has_dollar_at) + if (temp_has_dollar_at) /* XXX - was has_dollar_at */ { quoted_dollar_at++; if (contains_dollar_at) @@ -8615,7 +9529,7 @@ add_twochars: /* Testing quoted_dollar_at makes sure that "$@" is split correctly when $IFS does not contain a space. */ temp = quoted_dollar_at - ? string_list_dollar_at (list, Q_DOUBLE_QUOTES) + ? string_list_dollar_at (list, Q_DOUBLE_QUOTES, 0) : string_list (quote_list (list)); dispose_words (list); goto add_string; @@ -8696,8 +9610,9 @@ add_twochars: remove_quoted_escapes (temp); /* ??? */ /* We do not want to add quoted nulls to strings that are only - partially quoted; such nulls are discarded. */ - if (temp == 0 && (quoted_state == PARTIALLY_QUOTED)) + partially quoted; such nulls are discarded. See above for the + exception, which is when the string is going to be split. */ + if (temp == 0 && (quoted_state == PARTIALLY_QUOTED) && (word->flags & (W_NOSPLIT|W_NOSPLIT2))) continue; /* If we have a quoted null expansion, add a quoted NULL to istring. */ @@ -8715,7 +9630,7 @@ add_twochars: default: /* This is the fix for " $@ " */ add_ifs_character: - if ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) || (isexp == 0 && isifs (c))) + if ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) || (isexp == 0 && isifs (c) && (word->flags & (W_NOSPLIT|W_NOSPLIT2)) == 0)) { if (string[sindex]) /* from old goto dollar_add_string */ sindex++; @@ -8727,10 +9642,10 @@ add_twochars: else { #if HANDLE_MULTIBYTE - if (MB_CUR_MAX > 1) + if (mb_cur_max > 1) sindex--; - if (MB_CUR_MAX > 1) + if (mb_cur_max > 1) { SADD_MBQCHAR_BODY(temp, string, sindex, string_size); } @@ -8799,6 +9714,8 @@ finished_with_string: /* According to sh, ksh, and Posix.2, if a word expands into nothing and a double-quoted "$@" appears anywhere in it, then the entire word is removed. */ + /* XXX - exception appears to be that quoted null strings result in + null arguments */ else if (quoted_state == UNQUOTED || quoted_dollar_at) list = (WORD_LIST *)NULL; #if 0 @@ -8848,7 +9765,9 @@ finished_with_string: with the first character of $IFS, so we split on $IFS. If SPLIT_ON_SPACES is set, we expanded $* (unquoted) with IFS either unset or null, and we want to make sure that we split on spaces - regardless of what else has happened to IFS since the expansion. */ + regardless of what else has happened to IFS since the expansion, + or we expanded "$@" with IFS null and we need to split the positional + parameters into separate words. */ if (split_on_spaces) list = list_string (istring, " ", 1); /* XXX quoted == 1? */ /* If we have $@ (has_dollar_at != 0) and we are in a context where we @@ -8875,6 +9794,17 @@ finished_with_string: free (tstring); goto set_word_flags; } + /* This is the attempt to make $* in an assignment context (a=$*) and + array variables subscripted with * in an assignment context (a=${foo[*]}) + behave similarly. It has side effects that, though they increase + compatibility with other shells, are not backwards compatible. */ +#if 0 + else if (has_dollar_at && quoted == 0 && ifs_chars && (word->flags & W_ASSIGNRHS)) + { + tword = make_bare_word (istring); + goto set_word_flags; + } +#endif else if (has_dollar_at && ifs_chars) list = list_string (istring, *ifs_chars ? ifs_chars : " ", 1); else @@ -9483,23 +10413,32 @@ brace_expand_word_list (tlist, eflags) /* Take WORD, a compound associative array assignment, and internally run 'declare -A w', where W is the variable name portion of WORD. */ static int -make_internal_declare (word, option) +make_internal_declare (word, option, cmd) char *word; char *option; + char *cmd; { - int t; + int t, r; WORD_LIST *wl; WORD_DESC *w; w = make_word (word); t = assignment (w->word, 0); - w->word[t] = '\0'; + if (w->word[t] == '=') + { + w->word[t] = '\0'; + if (w->word[t - 1] == '+') /* cut off any append op */ + w->word[t - 1] = '\0'; + } wl = make_word_list (w, (WORD_LIST *)NULL); wl = make_word_list (make_word (option), wl); - return (declare_builtin (wl)); + r = declare_builtin (wl); + + dispose_words (wl); + return r; } #endif @@ -9508,12 +10447,16 @@ shell_expand_word_list (tlist, eflags) WORD_LIST *tlist; int eflags; { - WORD_LIST *expanded, *orig_list, *new_list, *next, *temp_list; + WORD_LIST *expanded, *orig_list, *new_list, *next, *temp_list, *wcmd; int expanded_something, has_dollar_at; char *temp_string; /* We do tilde expansion all the time. This is what 1003.2 says. */ new_list = (WORD_LIST *)NULL; + for (wcmd = tlist; wcmd; wcmd = wcmd->next) + if (wcmd->word->flags & W_ASSNBLTIN) + break; + for (orig_list = tlist; tlist; tlist = next) { temp_string = tlist->word->word; @@ -9530,7 +10473,7 @@ shell_expand_word_list (tlist, eflags) if ((tlist->word->flags & (W_COMPASSIGN|W_ASSIGNARG)) == (W_COMPASSIGN|W_ASSIGNARG)) { int t; - char opts[8], opti; + char opts[16], opti; opti = 0; if (tlist->word->flags & (W_ASSIGNASSOC|W_ASSNGLOBAL|W_ASSIGNARRAY)) @@ -9553,16 +10496,48 @@ shell_expand_word_list (tlist, eflags) else if (tlist->word->flags & W_ASSNGLOBAL) opts[opti++] = 'g'; -#if 0 - /* If we have special handling note the integer attribute */ - if (opti > 0 && (tlist->word->flags & W_ASSIGNINT)) - opts[opti++] = 'i'; -#endif + /* If we have special handling note the integer attribute and others + that transform the value upon assignment. What we do is take all + of the option arguments and scan through them looking for options + that cause such transformations, and add them to the `opts' array. */ +/* if (opti > 0) */ + { + char omap[128]; + int oind; + WORD_LIST *l; + + memset (omap, '\0', sizeof (omap)); + for (l = orig_list->next; l != tlist; l = l->next) + { + if (l->word->word[0] != '-') + break; /* non-option argument */ + if (l->word->word[0] == '-' && l->word->word[1] == '-' && l->word->word[2] == 0) + break; /* -- signals end of options */ + for (oind = 1; l->word->word[oind]; oind++) + switch (l->word->word[oind]) + { + case 'i': + case 'l': + case 'u': + case 'c': + omap[l->word->word[oind]] = 1; + if (opti == 0) + opts[opti++] = '-'; + break; + default: + break; + } + } + + for (oind = 0; oind < sizeof (omap); oind++) + if (omap[oind]) + opts[opti++] = oind; + } opts[opti] = '\0'; if (opti > 0) { - t = make_internal_declare (tlist->word->word, opts); + t = make_internal_declare (tlist->word->word, opts, wcmd ? wcmd->word->word : (char *)0); if (t != EXECUTION_SUCCESS) { last_command_exit_value = t; @@ -9580,6 +10555,8 @@ shell_expand_word_list (tlist, eflags) /* Now transform the word as ksh93 appears to do and go on */ t = assignment (tlist->word->word, 0); tlist->word->word[t] = '\0'; + if (tlist->word->word[t - 1] == '+') + tlist->word->word[t - 1] = '\0'; /* cut off append op */ tlist->word->flags &= ~(W_ASSIGNMENT|W_NOSPLIT|W_COMPASSIGN|W_ASSIGNARG|W_ASSIGNASSOC|W_ASSIGNARRAY); } #endif @@ -9655,6 +10632,7 @@ expand_word_list_internal (list, eflags) { WORD_LIST *new_list, *temp_list; int tint; + char *savecmd; tempenv_assign_error = 0; if (list == 0) @@ -9672,8 +10650,10 @@ expand_word_list_internal (list, eflags) into the shell's environment. */ for (temp_list = subst_assign_varlist; temp_list; temp_list = temp_list->next) { + savecmd = this_command_name; this_command_name = (char *)NULL; /* no arithmetic errors */ tint = do_word_assignment (temp_list->word, 0); + this_command_name = savecmd; /* Variable assignment errors in non-interactive shells running in Posix.2 mode cause the shell to exit. */ if (tint == 0) @@ -9737,10 +10717,12 @@ expand_word_list_internal (list, eflags) for (temp_list = subst_assign_varlist; temp_list; temp_list = temp_list->next) { + savecmd = this_command_name; this_command_name = (char *)NULL; assigning_in_environment = (assign_func == assign_in_env); tint = (*assign_func) (temp_list->word, is_builtin_or_func); assigning_in_environment = 0; + this_command_name = savecmd; /* Variable assignment errors in non-interactive shells running in Posix.2 mode cause the shell to exit. */ if (tint == 0) diff --git a/subst.h b/subst.h index 1c300ab96..a2a8294ed 100644 --- a/subst.h +++ b/subst.h @@ -1,6 +1,6 @@ /* subst.h -- Names of externally visible functions in subst.c. */ -/* Copyright (C) 1993-2010 Free Software Foundation, Inc. +/* Copyright (C) 1993-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -32,14 +32,16 @@ expanding a pattern ${var%#[#%]pattern} in an expansion surrounded by double quotes. Q_DOLBRACE means we are expanding a ${...} word, so backslashes should also escape { and } and be removed. */ -#define Q_DOUBLE_QUOTES 0x01 -#define Q_HERE_DOCUMENT 0x02 -#define Q_KEEP_BACKSLASH 0x04 -#define Q_PATQUOTE 0x08 -#define Q_QUOTED 0x10 -#define Q_ADDEDQUOTES 0x20 -#define Q_QUOTEDNULL 0x40 -#define Q_DOLBRACE 0x80 +#define Q_DOUBLE_QUOTES 0x001 +#define Q_HERE_DOCUMENT 0x002 +#define Q_KEEP_BACKSLASH 0x004 +#define Q_PATQUOTE 0x008 +#define Q_QUOTED 0x010 +#define Q_ADDEDQUOTES 0x020 +#define Q_QUOTEDNULL 0x040 +#define Q_DOLBRACE 0x080 +#define Q_ARITH 0x100 /* expanding string for arithmetic evaluation */ +#define Q_ARRAYSUB 0x200 /* expanding indexed array subscript */ /* Flag values controlling how assignment statements are treated. */ #define ASS_APPEND 0x0001 @@ -47,7 +49,7 @@ #define ASS_MKASSOC 0x0004 #define ASS_MKGLOBAL 0x0008 /* force global assignment */ #define ASS_NAMEREF 0x0010 /* assigning to nameref variable */ -#define ASS_FROMREF 0x0020 /* assigning from value of nameref variable */ +#define ASS_FORCE 0x0020 /* force assignment even to readonly variable */ /* Flags for the string extraction functions. */ #define SX_NOALLOC 0x0001 /* just skip; don't return substring */ @@ -60,6 +62,8 @@ #define SX_ARITHSUB 0x0080 /* extracting $(( ... )) (currently unused) */ #define SX_POSIXEXP 0x0100 /* extracting new Posix pattern removal expansions in extract_dollar_brace_string */ #define SX_WORD 0x0200 /* extracting word in ${param op word} */ +#define SX_COMPLETE 0x0400 /* extracting word for completion */ +#define SX_STRIPDQ 0x0800 /* strip double quotes when extracting double-quoted string */ /* Remove backslashes which are quoting backquotes from STRING. Modifies STRING, and returns a pointer to it. */ @@ -101,7 +105,7 @@ extern char *string_list __P((WORD_LIST *)); extern char *string_list_dollar_star __P((WORD_LIST *)); /* Expand $@ into a single string, obeying POSIX rules. */ -extern char *string_list_dollar_at __P((WORD_LIST *, int)); +extern char *string_list_dollar_at __P((WORD_LIST *, int, int)); /* Turn the positional paramters into a string, understanding quoting and the various subtleties of using the first character of $IFS as the @@ -134,7 +138,7 @@ extern int do_word_assignment __P((WORD_DESC *, int)); of space allocated to TARGET. SOURCE can be NULL, in which case nothing happens. Gets rid of SOURCE by free ()ing it. Returns TARGET in case the location has changed. */ -extern char *sub_append_string __P((char *, char *, int *, int *)); +extern char *sub_append_string __P((char *, char *, int *, size_t *)); /* Append the textual representation of NUMBER to TARGET. INDEX and SIZE are as in SUB_APPEND_STRING. */ @@ -266,6 +270,8 @@ extern char *copy_fifo_list __P((int *)); extern void unlink_new_fifos __P((char *, int)); extern void close_new_fifos __P((char *, int)); +extern void clear_fifo_list __P((void)); + extern WORD_LIST *list_string_with_quotes __P((char *)); #if defined (ARRAY_VARS) @@ -278,16 +284,24 @@ extern char *cond_expand_word __P((WORD_DESC *, int)); #endif /* Flags for skip_to_delim */ -#define SD_NOJMP 0x01 /* don't longjmp on fatal error. */ -#define SD_INVERT 0x02 /* look for chars NOT in passed set */ -#define SD_NOQUOTEDELIM 0x04 /* don't let single or double quotes act as delimiters */ -#define SD_NOSKIPCMD 0x08 /* don't skip over $(, <(, or >( command/process substitution */ -#define SD_EXTGLOB 0x10 /* skip over extended globbing patterns if appropriate */ -#define SD_IGNOREQUOTE 0x20 /* single and double quotes are not special */ -#define SD_GLOB 0x40 /* skip over glob patterns like bracket expressions */ +#define SD_NOJMP 0x001 /* don't longjmp on fatal error. */ +#define SD_INVERT 0x002 /* look for chars NOT in passed set */ +#define SD_NOQUOTEDELIM 0x004 /* don't let single or double quotes act as delimiters */ +#define SD_NOSKIPCMD 0x008 /* don't skip over $(, <(, or >( command/process substitution; parse them as commands */ +#define SD_EXTGLOB 0x010 /* skip over extended globbing patterns if appropriate */ +#define SD_IGNOREQUOTE 0x020 /* single and double quotes are not special */ +#define SD_GLOB 0x040 /* skip over glob patterns like bracket expressions */ +#define SD_NOPROCSUB 0x080 /* don't parse process substitutions as commands */ +#define SD_COMPLETE 0x100 /* skip_to_delim during completion */ +#define SD_HISTEXP 0x200 /* skip_to_delim during history expansion */ +#define SD_ARITHEXP 0x400 /* skip_to_delim during arithmetic expansion */ extern int skip_to_delim __P((char *, int, char *, int)); +#if defined (BANG_HISTORY) +extern int skip_to_histexp __P((char *, int, char *, int)); +#endif + #if defined (READLINE) extern int char_is_quoted __P((char *, int)); extern int unclosed_pair __P((char *, int, char *)); @@ -315,4 +329,6 @@ extern unsigned char ifs_firstc; /* Is the first character of STRING a quoted NULL character? */ #define QUOTED_NULL(string) ((string)[0] == CTLNUL && (string)[1] == '\0') +extern void invalidate_cached_quoted_dollar_at __P((void)); + #endif /* !_SUBST_H_ */ diff --git a/support/Makefile.in b/support/Makefile.in index 1ff3f1a91..9ed70215c 100644 --- a/support/Makefile.in +++ b/support/Makefile.in @@ -28,7 +28,7 @@ # topdir = @top_srcdir@ srcdir = @srcdir@ -VPATH = .:@srcdir@ +VPATH = @srcdir@ BUILD_DIR = @BUILD_DIR@ RM = rm -f @@ -83,5 +83,6 @@ clean: distclean maintainer-clean mostlyclean: clean $(RM) $(OBJ1) + $(RM) bash.pc man2html.o: man2html.c diff --git a/support/bash.pc.in b/support/bash.pc.in new file mode 100644 index 000000000..60096593b --- /dev/null +++ b/support/bash.pc.in @@ -0,0 +1,28 @@ +# bash.pc.in + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +includedir=@includedir@ +libdir=@libdir@ + +loadablesdir=@loadablesdir@ +headersdir=${includedir}/@PACKAGE_NAME@ + +LOCAL_CFLAGS = @LOCAL_CFLAGS@ +LOCAL_DEFS = @LOCAL_DEFS@ +CCFLAGS = ${LOCAL_DEFS} ${LOCAL_CFLAGS} + +CC = @CC@ +SHOBJ_CC = @SHOBJ_CC@ +SHOBJ_CFLAGS = @SHOBJ_CFLAGS@ +SHOBJ_LD = @SHOBJ_LD@ +SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@ +SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@ +SHOBJ_LIBS = @SHOBJ_LIBS@ + +Name: @PACKAGE_NAME@ +Description: Bash headers for bash loadable builtins +Version: @PACKAGE_VERSION@ +Url: @PACKAGE_URL@ +Libs: ${SHOBJ_LIBS} +Cflags: ${SHOBJ_CFLAGS} ${CCFLAGS} -I${headersdir} -I${headersdir}/builtins -I${headersdir}/include diff --git a/support/bashbug.sh b/support/bashbug.sh index 7b36d406a..29ce13410 100644 --- a/support/bashbug.sh +++ b/support/bashbug.sh @@ -62,7 +62,7 @@ while [ $# -gt 0 ]; do --version) shift ; do_version=y ;; --) shift ; break ;; -*) echo "bashbug: ${1}: invalid option" >&2 - echo "$USAGE" >& 2 + echo "$USAGE" >&2 exit 2 ;; *) break ;; esac @@ -265,7 +265,8 @@ esac ${RMAIL} $SMARGS < "$TEMPFILE1" || { cat "$TEMPFILE1" >> $HOME/dead.bashbug - echo "$0: mail failed: report saved in $HOME/dead.bashbug" >&2 + echo "$0: mail to ${BUGADDR} failed: report saved in $HOME/dead.bashbug" >&2 + echo "$0: please send it manually to ${BUGADDR}" >&2 } exit 0 diff --git a/support/man2html.c b/support/man2html.c index 87e5ee47b..6ba50616a 100644 --- a/support/man2html.c +++ b/support/man2html.c @@ -169,6 +169,19 @@ stralloc(int len) return new; } +void * +xmalloc (size_t size) +{ + void *ret; + + ret = malloc (size); + if (ret == 0) { + fprintf(stderr, "man2html: out of memory"); + exit(EXIT_FAILURE); + } + return ret; +} + /* * Some systems don't have strdup so lets use our own - which can also * check for out of memory. @@ -1252,9 +1265,9 @@ scan_format(char *c, TABLEROW ** result, int *maxcol) if (*result) { clear_table(*result); } - layout = currow = (TABLEROW *) malloc(sizeof(TABLEROW)); + layout = currow = (TABLEROW *) xmalloc(sizeof(TABLEROW)); currow->next = currow->prev = NULL; - currow->first = curfield = (TABLEITEM *) malloc(sizeof(TABLEITEM)); + currow->first = curfield = (TABLEITEM *) xmalloc(sizeof(TABLEITEM)); *curfield = emptyfield; while (*c && *c != '.') { switch (*c) { @@ -1273,7 +1286,7 @@ scan_format(char *c, TABLEROW ** result, int *maxcol) case '^': case '_': if (curfield->align) { - curfield->next = (TABLEITEM *) malloc(sizeof(TABLEITEM)); + curfield->next = (TABLEITEM *) xmalloc(sizeof(TABLEITEM)); curfield = curfield->next; *curfield = emptyfield; } @@ -1353,11 +1366,11 @@ scan_format(char *c, TABLEROW ** result, int *maxcol) break; case ',': case '\n': - currow->next = (TABLEROW *) malloc(sizeof(TABLEROW)); + currow->next = (TABLEROW *) xmalloc(sizeof(TABLEROW)); currow->next->prev = currow; currow = currow->next; currow->next = NULL; - curfield = currow->first = (TABLEITEM *) malloc(sizeof(TABLEITEM)); + curfield = currow->first = (TABLEITEM *) xmalloc(sizeof(TABLEITEM)); *curfield = emptyfield; c++; break; @@ -1396,20 +1409,20 @@ next_row(TABLEROW * tr) } else { TABLEITEM *ti, *ti2; - tr->next = (TABLEROW *) malloc(sizeof(TABLEROW)); + tr->next = (TABLEROW *) xmalloc(sizeof(TABLEROW)); tr->next->prev = tr; ti = tr->first; tr = tr->next; tr->next = NULL; if (ti) - tr->first = ti2 = (TABLEITEM *) malloc(sizeof(TABLEITEM)); + tr->first = ti2 = (TABLEITEM *) xmalloc(sizeof(TABLEITEM)); else tr->first = ti2 = NULL; while (ti != ti2) { *ti2 = *ti; ti2->contents = NULL; if ((ti = ti->next)) { - ti2->next = (TABLEITEM *) malloc(sizeof(TABLEITEM)); + ti2->next = (TABLEITEM *) xmalloc(sizeof(TABLEITEM)); } ti2 = ti2->next; } @@ -1500,17 +1513,17 @@ scan_table(char *c) if ((*c == '_' || *c == '=') && (c[1] == itemsep || c[1] == '\n')) { if (c[-1] == '\n' && c[1] == '\n') { if (currow->prev) { - currow->prev->next = (TABLEROW *) malloc(sizeof(TABLEROW)); + currow->prev->next = (TABLEROW *) xmalloc(sizeof(TABLEROW)); currow->prev->next->next = currow; currow->prev->next->prev = currow->prev; currow->prev = currow->prev->next; } else { - currow->prev = layout = (TABLEROW *) malloc(sizeof(TABLEROW)); + currow->prev = layout = (TABLEROW *) xmalloc(sizeof(TABLEROW)); currow->prev->prev = NULL; currow->prev->next = currow; } curfield = currow->prev->first = - (TABLEITEM *) malloc(sizeof(TABLEITEM)); + (TABLEITEM *) xmalloc(sizeof(TABLEITEM)); *curfield = emptyfield; curfield->align = *c; curfield->colspan = maxcol; @@ -2245,7 +2258,7 @@ scan_request(char *c) while (de && de->nr != i) de = de->next; if (!de) { - de = (STRDEF *) malloc(sizeof(STRDEF)); + de = (STRDEF *) xmalloc(sizeof(STRDEF)); de->nr = i; de->slen = 0; de->next = strdef; @@ -2294,7 +2307,7 @@ scan_request(char *c) if (!de) { char *h; - de = (STRDEF *) malloc(sizeof(STRDEF)); + de = (STRDEF *) xmalloc(sizeof(STRDEF)); de->nr = i; de->slen = 0; de->next = strdef; @@ -2987,7 +3000,7 @@ scan_request(char *c) while (intd && intd->nr != i) intd = intd->next; if (!intd) { - intd = (INTDEF *) malloc(sizeof(INTDEF)); + intd = (INTDEF *) xmalloc(sizeof(INTDEF)); intd->nr = i; intd->val = 0; intd->incr = 0; @@ -3060,7 +3073,7 @@ scan_request(char *c) free(de->st); de->st = h; } else { - de = (STRDEF *) malloc(sizeof(STRDEF)); + de = (STRDEF *) xmalloc(sizeof(STRDEF)); de->nr = i; de->next = defdef; de->st = h; @@ -3973,6 +3986,7 @@ scan_troff_mandoc(char *c, int san, char **result) return ret; } +int main(int argc, char **argv) { FILE *f; diff --git a/support/texi2dvi b/support/texi2dvi index 83c08425d..173e8ab4b 100755 --- a/support/texi2dvi +++ b/support/texi2dvi @@ -1,119 +1,1634 @@ #! /bin/sh -# texi2dvi --- produce DVI (or PDF) files from Texinfo (or LaTeX) sources. -# $Id: texi2dvi,v 1.14 2003/02/05 00:42:33 karl Exp $ +# texi2dvi --- produce DVI (or PDF) files from Texinfo (or (La)TeX) sources. +# $Id: texi2dvi 5704 2014-07-07 17:45:16Z karl $ # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, -# 2002, 2003 Free Software Foundation, Inc. +# Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 +# Free Software Foundation, Inc. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . # -# Original author: Noah Friedman . +# Originally written by Noah Friedman. # # Please send bug reports, etc. to bug-texinfo@gnu.org. # If possible, please send a copy of the output of the script called with # the `--debug' option when making a bug report. -# This string is expanded by rcs automatically when this file is checked out. -rcs_revision='$Revision: 1.14 $' +test -f /bin/ksh && test -z "$RUNNING_KSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@"}; } +unset RUNNING_KSH + +# No failure shall remain unpunished. +set -e + +# In case the default sed doesn't suffice. +: ${SED=sed} + +# This string is expanded automatically when this file is checked out. +rcs_revision='$Revision: 5704 $' rcs_version=`set - $rcs_revision; echo $2` -program=`echo $0 | sed -e 's!.*/!!'` -version="texi2dvi (GNU Texinfo 4.5) $rcs_version +program=`echo $0 | $SED -e 's!.*/!!'` + +build_mode=${TEXI2DVI_BUILD_MODE:-local} +build_dir=${TEXI2DVI_BUILD_DIRECTORY:-.} + +# Initialize variables for option overriding and otherwise. +# Don't use `unset' since old bourne shells don't have this command. +# Instead, assign them an empty value. +action=compile +batch=false # interact normally +catcode_special=maybe +debug=false +escape="\\" +expand=false # true for expansion via makeinfo +includes= +line_error=true # pass --file-line-error to TeX +max_iters=7 # when to quit +oname= # --output +out_lang=dvi +quiet=false # let the tools' message be displayed +set_language= +src_specials= +shell_escape= +latex2html=hevea # or set to tex4ht +textra= # Extra TeX commands to insert in the input file. +txiprereq=19990129 # minimum texinfo.tex version with macro expansion +verb=false # true for verbose mode +translate_file= # name of charset translation file + +orig_pwd=`pwd` + +# We have to initialize IFS to space tab newline since we save and +# restore IFS and apparently POSIX allows stupid/broken behavior with +# empty-but-set IFS. +# http://lists.gnu.org/archive/html/automake-patches/2006-05/msg00008.html +# We need space, tab and new line, in precisely that order. And don't leave +# trailing blanks. +space=' ' +tab=' ' +newline=' +' +IFS="$space$tab$newline" + +# In case someone pedantic insists on using grep -E. +: ${EGREP=egrep} + +# Systems which define $COMSPEC or $ComSpec use semicolons to separate +# directories in TEXINPUTS -- except for Cygwin et al., where COMSPEC +# might be inherited, but : is used. +if test -n "$COMSPEC$ComSpec" \ + && uname | $EGREP -iv 'cygwin|mingw|djgpp' >/dev/null; then + path_sep=";" +else + path_sep=":" +fi + +# Pacify verbose cds. +CDPATH=${ZSH_VERSION+.}$path_sep + +# If $TEX is set to a directory, don't use it. +test -n "$TEX" && test -d "$TEX" && unset TEX + +# +## --------------------- ## +## Auxiliary functions. ## +## --------------------- ## + +# In case `local' is not supported by the shell, provide a function +# that simulates it by simply performing the assignments. This means +# that we must not expect `local' to work, i.e., we must not (i) rely +# on it during recursion, and (ii) have two local declarations of the +# same variable. (ii) is easy to check statically, and our test suite +# does make sure there is never twice a static local declaration of a +# variable. (i) cannot be checked easily, so just be careful. +# +# Note that since we might use a function simulating `local', we can +# no longer rely on the fact that no IFS-splitting is performed. So, +# while +# +# foo=$bar +# +# is fine (no IFS-splitting), never write +# +# local foo=$bar +# +# but rather +# +# local foo="$bar" +( + foo=bar + test_local () { + local foo=foo + } + test_local >/dev/null 2>&1 + test $foo = bar +) || eval ' +local () { + case $1 in + *=*) eval "$1";; + esac +} +' + + +# cd_orig +# ------- +# Return to the original directory. +cd_orig () +{ + # In case $orig_pwd is on a different drive (for DOS). + cd / + + # Return to the original directory so that + # - the next file is processed in correct conditions + # - the temporary file can be removed + cd "$orig_pwd" || exit 1 +} + +# func_dirname FILE +# ----------------- +# Return the directory part of FILE. +func_dirname () +{ + dirname "$1" 2>/dev/null \ + || { echo "$1" | $SED 's!/[^/]*$!!;s!^$!.!'; } +} + + +# noexit FILE +# ----------- +# Return FILE with one extension remove. foo.bar.baz -> foo.bar. +noext () +{ + echo "$1" | $SED -e 's/\.[^/.][^/.]*$//' +} + + +# absolute NAME -> ABS-NAME +# ------------------------- +# Return an absolute path to NAME. +absolute () +{ + case $1 in + [\\/]* | ?:[\\/]*) + # Absolute paths don't need to be expanded. + echo "$1" + ;; + *) local slashes + slashes=`echo "$1" | $SED -n 's,.*[^/]\(/*\)$,\1,p'` + local rel + rel=$orig_pwd/`func_dirname "$1"` + if test -d "$rel"; then + (cd "$rel" 2>/dev/null \ + && local n + n=`pwd`/`basename "$1"`"$slashes" + echo "$n") + else + error 1 "not a directory: $rel" + fi + ;; + esac +} + + +# ensure_dir DIR1 DIR2... +# ----------------------- +# Make sure the directories exist. +ensure_dir () +{ + for dir + do + # Beware that in parallel builds we may have several concurrent + # attempts to create the directory. So fail only if "mkdir" + # failed *and* the directory still does not exist. + test -d "$dir" \ + || mkdir "$dir" \ + || test -d "$dir" \ + || error 1 "cannot create directory: $dir" + done +} + + +# error EXIT_STATUS LINE1 LINE2... +# -------------------------------- +# Report an error and exit with failure if EXIT_STATUS is non-null. +error () +{ + local s="$1" + shift + report "$@" + if test "$s" != 0; then + exit $s + fi +} + + +# findprog PROG +# ------------- +# Return true if PROG is somewhere in PATH, else false. +findprog () +{ + local saveIFS="$IFS" + IFS=$path_sep # break path components at the path separator + for dir in $PATH; do + IFS=$saveIFS + # The basic test for an executable is `test -f $f && test -x $f'. + # (`test -x' is not enough, because it can also be true for directories.) + # We have to try this both for $1 and $1.exe. + # + # Note: On Cygwin and DJGPP, `test -x' also looks for .exe. On Cygwin, + # also `test -f' has this enhancement, but not on DJGPP. (Both are + # design decisions, so there is little chance to make them consistent.) + # Thusly, it seems to be difficult to make use of these enhancements. + # + if { test -f "$dir/$1" && test -x "$dir/$1"; } \ + || { test -f "$dir/$1.exe" && test -x "$dir/$1.exe"; }; then + return 0 + fi + done + return 1 +} + +# report LINE1 LINE2... +# --------------------- +# Report some information on stderr. +report () +{ + for i in "$@" + do + echo >&2 "$0: $i" + done +} + + +# run COMMAND-LINE +# ---------------- +# Run the COMMAND-LINE verbosely, and catching errors as failures. +run () +{ + verbose "Running $@" + "$@" 2>&5 1>&2 \ + || error 1 "$1 failed" +} + + +# usage +# ----- +# Display usage and exit successfully. +usage () +{ + # We used to simply have `echo "$usage"', but coping with the + # changing behavior of `echo' is much harder than simply using a + # here-doc. + # + # echo '\noto' echo '\\noto' echo -e '\\noto' + # bash 3.1 \noto \\noto \noto + # bash 3.2 %oto \noto -e \noto + # + # where % denotes the eol character. + cat < +General help using GNU software: +EOF + exit 0 +} + + +# verbose WORD1 WORD2 +# ------------------- +# Report some verbose information. +verbose () +{ + if $verb; then + echo >&2 "$0: $@" + fi +} + + +# version +# ------- +# Display version info and exit successfully. +version () +{ + cat < +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. +EOF + exit 0 +} + + +## ---------------- ## +## Handling lists. ## +## ---------------- ## + + +# list_append LIST-NAME ELEM +# -------------------------- +# Set LIST-NAME to its former contents, with ELEM appended. +list_append () +{ + local la_l="$1" + shift + eval set X \$$la_l "$@" + shift + eval $la_l=\""$@"\" +} + + +# list_concat_dirs LIST-NAME DIR-LIST +# ----------------------------------- +# Append to LIST-NAME all the components (included empty) from +# the $path_sep separated list DIR-LIST. Make the paths absolute. +list_concat_dirs () +{ + local lcd_list="$1" + # Empty path components are meaningful to tex. We rewrite them as + # `EMPTY' so they don't get lost when we split on $path_sep. + # Hopefully no one will have an actual directory named EMPTY. + local replace_EMPTY="-e 's/^$path_sep/EMPTY$path_sep/g' \ + -e 's/$path_sep\$/${path_sep}EMPTY/g' \ + -e 's/$path_sep$path_sep/${path_sep}EMPTY:/g'" + save_IFS=$IFS + IFS=$path_sep + set x `echo "$2" | eval $SED $replace_EMPTY`; shift + IFS=$save_IFS + local dir + for dir + do + case $dir in + EMPTY) + list_append $lcd_list "" + ;; + *) + if test -d $dir; then + dir=`absolute "$dir"` + list_append $lcd_list "$dir" + fi + ;; + esac + done +} + + +# list_prefix LIST-NAME SEP -> STRING +# ----------------------------------- +# Return a string that is composed of the LIST-NAME with each item +# preceded by SEP. +list_prefix () +{ + local lp_p="$2" + eval set X \$$1 + shift + local lp_res + for i + do + lp_res="$lp_res \"$lp_p\" \"$i\"" + done + echo "$lp_res" +} + +# list_infix LIST-NAME SEP -> STRING +# ---------------------------------- +# Same as list_prefix, but a separator. +list_infix () +{ + eval set X \$$1 + shift + local la_IFS="$IFS" + IFS=$path_sep + echo "$*" + IFS=$la_IFS +} + +# list_dir_to_abs LIST-NAME +# ------------------------- +# Convert the list to using only absolute dir names. +# Currently unused, but should replace absolute_filenames some day. +list_dir_to_abs () +{ + local ld_l="$1" + eval set X \$$ld_l + shift + local ld_res + for dir + do + dir=`absolute "$dir"` + test -d "$dir" || continue + ld_res="$ld_res \"$dir\"" + done + set X $ld_res; shift + eval $ld_l=\"$@\" +} + + +## ------------------------------ ## +## Language auxiliary functions. ## +## ------------------------------ ## + + +# out_lang_set LANG +# ----------------- +out_lang_set () +{ + case $1 in + dvi|dvipdf|html|info|pdf|ps|text) out_lang=$1;; + *) error 1 "invalid output format: $1";; + esac +} + + +# out_lang_tex +# ------------ +# Return the tex output language (DVI or PDF) for $OUT_LANG. +out_lang_tex () +{ + case $out_lang in + dvi | ps | dvipdf ) echo dvi;; + pdf ) echo $out_lang;; + html | info | text ) echo $out_lang;; + *) error 1 "invalid out_lang: $1";; + esac +} + + +# out_lang_ext +# ------------ +# Return the extension for $OUT_LANG. +out_lang_ext () +{ + case $out_lang in + dvipdf ) echo pdf;; + dvi | html | info | pdf | ps | text ) echo $out_lang;; + *) error 1 "invalid out_lang: $1";; + esac +} + + +## ------------------------- ## +## TeX auxiliary functions. ## +## ------------------------- ## + +# Save TEXINPUTS so we can construct a new TEXINPUTS path for each file. +# Likewise for bibtex and makeindex. +tex_envvars="BIBINPUTS BSTINPUTS DVIPSHEADERS INDEXSTYLE MFINPUTS MPINPUTS \ +TEXINPUTS TFMFONTS" +for var in $tex_envvars; do + eval ${var}_orig=\$$var + export $var +done + + +# absolute_filenames TEX-PATH -> TEX-PATH +# --------------------------------------- +# Convert relative paths to absolute paths, so we can run in another +# directory (e.g., in tidy build mode, or during the macro-support +# detection). Prepend ".". +absolute_filenames () +{ + # Empty path components are meaningful to tex. We rewrite them as + # `EMPTY' so they don't get lost when we split on $path_sep. + # Hopefully no one will have an actual directory named EMPTY. + local replace_empty="-e 's/^$path_sep/EMPTY$path_sep/g' \ + -e 's/$path_sep\$/${path_sep}EMPTY/g' \ + -e 's/$path_sep$path_sep/${path_sep}EMPTY:/g'" + local res + res=`echo "$1" | eval $SED $replace_empty` + save_IFS=$IFS + IFS=$path_sep + set x $res; shift + res=. + for dir + do + case $dir in + EMPTY) + res=$res$path_sep + ;; + *) + if test -d "$dir"; then + res=$res$path_sep`absolute "$dir"` + else + # Even if $dir is not a directory, preserve it in the path. + # It might contain metacharacters that TeX will expand in + # turn, e.g., /some/path/{a,b,c}. This will not get the + # implicit absolutification of the path, but we can't help that. + res=$res$path_sep$dir + fi + ;; + esac + done + echo "$res" +} + + +# output_base_name FILE +# --------------------- +# The name of FILE, possibly renamed to satisfy --output. +# FILE is local, there is no directory part. +output_base_name () +{ + case $oname in + '') echo "$1";; + *) local out_noext + out_noext=`noext "$oname"` + local file_ext + file_ext=`echo "$1" | $SED 's/^.*\.//'` + echo "$out_noext.$file_ext" + ;; + esac +} + + +# destdir +# ------- +# Return the name of the directory where the output is expected. +destdir () +{ + case $oname in + '') echo "$orig_pwd";; + *) dirname "$oname";; + esac +} + + +# move_to_dest FILE... +# -------------------- +# Move FILE to the place where the user expects it. Truly move it, that +# is, it must not remain in its build location unless that is also the +# output location. (Otherwise it might appear as an extra file in make +# distcheck.) +# +# FILE can be the principal output (in which case -o directly applies), or +# an auxiliary file with the same base name. +move_to_dest () +{ +# echo "move_to_dest $*, tidy=$tidy, oname=$oname" + + # If we built in place and have no output name, there is nothing to + # do, so just return. + case $tidy:$oname in + false:) return;; + esac + + local destfile + local destdir + local destbase + local sourcedir + local sourcebase + + for file + do + test -f "$file" \ + || error 1 "no such file or directory: $file" + case $tidy:$oname in + true:) destdir=$orig_pwd + destfile=$destdir/$file;; + true:*) destfile=`output_base_name "$file"` + destdir=`dirname "$destfile"`;; + false:*) destfile=$oname + destdir=`dirname "$destfile"`;; + esac + + # We want to compare the source location and the output location, + # and if they are different, do the move. But if they are the + # same, we must preserve the source. Since we can't assume + # stat(1) or test -ef is available, resort to comparing the + # directory names, canonicalized with pwd. We can't use cmp -s + # since the output file might not actually change from run to run; + # e.g., TeX DVI output is timestamped to only the nearest minute. + destdir=`cd "$destdir" && pwd` + destbase=`basename "$destfile"` + + sourcedir=`dirname "$file"` + sourcedir=`cd "$sourcedir" && pwd` + sourcebase=`basename "$file"` + + if test "$sourcedir/$sourcebase" != "$destdir/$destbase"; then + verbose "Moving $file to $destfile" + rm -f "$destfile" + mv "$file" "$destfile" + fi + done +} + + +## --------------------- ## +## Managing xref files. ## +## --------------------- ## + +# aux_file_p FILE +# --------------- +# Return with success if FILE is an aux file. +aux_file_p () +{ + test -f "$1" || return 1 + case $1 in + *.aux) return 0;; + *) return 1;; + esac +} + +# bibaux_file_p FILE +# ------------------ +# Return with success if FILE is an aux file containing citation +# requests. +bibaux_file_p () +{ + test -s "$1" || return 1 + if (grep '^\\bibstyle[{]' "$1" \ + && grep '^\\bibdata[{]' "$1" \ + ## The following line is suspicious: fails when there + ## are citations in sub aux files. We need to be + ## smarter in this case. + ## && grep '^\\citation[{]' "$f" + ) >&6 2>&1; + then + return 0 + fi + return 1 +} + +# index_file_p FILE +# ----------------- +# Return with success if FILE is an index file. +index_file_p () +{ + test -f "$1" || return 1 + case $in_lang:$latex2html:`out_lang_tex`:`$SED '1q' "$1"` in + # When working with TeX4HT, *.idx are created by LaTeX. They must + # be processed to produce *.4ix, *.4dx files. The *.4dx file is + # passed to makeindex to produce the *.ind file. This sequence is + # handled by run_index, so we are only interested in the *.idx + # files, which have each "\indexentry" preceded by a + # "\beforeentry". + latex:tex4ht:html:"\\beforeentry {"*) return 0;; + + # When index.sty is used, there is a space before the brace. + latex:*:*:"\\indexentry{"*|latex:*:*:"\\indexentry {"*) return 0;; + + texinfo:*:*:"\\entry{"*) return 0;; + + *) return 1;; + esac +} + +# xref_file_p FILE +# ---------------- +# Return with success if FILE is an xref file (indexes, tables and lists). +xref_file_p () +{ + test -f "$1" || return 1 + # If the file is not suitable to be an index or xref file, don't + # process it. It's suitable if the first character is a + # backslash or right quote or at, as long as the first line isn't + # \input texinfo. + case `$SED '1q' "$1"` in + "\\input texinfo"*) return 1;; + [\\''@]*) return 0;; + *) return 1;; + esac +} + + +# generated_files_get FILENAME-NOEXT [PREDICATE-FILTER] +# ----------------------------------------------------- +# Return the list of files generated by the TeX compilation of FILENAME-NOEXT. +generated_files_get () +{ + local filter=true + if test -n "$2"; then + filter=$2 + fi + + # Gather the files created by TeX. + ( + if test -f "$1.log"; then + $SED -n -e "s,^\\\\openout.* = \`\\(.*\\)'\\.,\\1,p" "$1.log" + fi + echo "$1.log" + ) | + # Depending on these files, infer outputs from other tools. + while read file; do + echo $file + case $in_lang in + texinfo) + # texindex: texinfo.cp -> texinfo.cps + if index_file_p $file; then + echo ${file}s + fi + ;; + latex) + if aux_file_p $file; then + # bibtex: *.aux -> *.bbl and *.blg. + echo $file | $SED 's/^\(.*\)\.aux$/\1.bbl/' + echo $file | $SED 's/^\(.*\)\.aux$/\1.blg/' + # -recorder: .fls + echo $file | $SED 's/^\(.*\)\.aux$/\1.fls/' + fi + ;; + esac + done | + # Filter existing files matching the criterion. + # + # With an input file name containing a space, this produces a + # "command not found" message (and filtering is ineffective). + # The situation with a newline is presumably even worse. + while read file; do + if $filter "$file"; then + echo $file + fi + done | + sort | + # Some files are opened several times, e.g., listings.sty's *.vrb. + uniq +} + + +# xref_files_save +# --------------- +# Save the xref files. +xref_files_save () +{ + # Save copies of auxiliary files for later comparison. + xref_files_orig=`generated_files_get "$in_noext" xref_file_p` + if test -n "$xref_files_orig"; then + verbose "Backing up xref files: $xref_files_orig" + # The following line improves `cp $xref_files_orig "$work_bak"' + # by preserving the directory parts. Think of + # cp chap1/main.aux chap2/main.aux $work_bak. + # + # Users may have, e.g., --keep-old-files. Don't let this interfere. + # (Don't use unset for the sake of ancient shells.) + TAR_OPTIONS=; export TAR_OPTIONS + tar cf - $xref_files_orig | (cd "$work_bak" && tar xf -) + fi +} + + +# xref_files_changed +# ------------------ +# Whether the xref files were changed since the previous run. +xref_files_changed () +{ + # LaTeX (and the package changebar) report in the LOG file if it + # should be rerun. This is needed for files included from + # subdirs, since texi2dvi does not try to compare xref files in + # subdirs. Performing xref files test is still good since LaTeX + # does not report changes in xref files. + if grep "Rerun to get" "$in_noext.log" >&6 2>&1; then + return 0 + fi + # biblatex report of whether rerunning is needed. + if grep "biblatex.*(re)run" "$in_noext.log" >&6 2>&1; then + return 0 + fi + + # If old and new lists don't have the same file list, + # then something has definitely changed. + xref_files_new=`generated_files_get "$in_noext" xref_file_p` + verbose "Original xref files = $xref_files_orig" + verbose "New xref files = $xref_files_new" + if test "x$xref_files_orig" != "x$xref_files_new"; then + return 0 + fi + + # Compare each file until we find a difference. + for this_file in $xref_files_new; do + verbose "Comparing xref file `echo $this_file | $SED 's|\./||g'` ..." + # cmp -s returns nonzero exit status if files differ. + if cmp -s "$this_file" "$work_bak/$this_file"; then :; else + verbose "xref file `echo $this_file | $SED 's|\./||g'` differed ..." + if $debug; then + diff -u "$work_bak/$this_file" "$this_file" + fi + return 0 + fi + done + + # No change. + return 1 +} + + + +## ----------------------- ## +## Running the TeX suite. ## +## ----------------------- ## + + + +# run_tex () +# ---------- +# Run TeX as "$tex $in_input", taking care of errors and logs. +run_tex () +{ + case $in_lang:$latex2html:`out_lang_tex` in + latex:*:dvi|latex:tex4ht:html) + tex=${LATEX:-latex};; + latex:*:pdf) + tex=${PDFLATEX:-pdflatex};; + texinfo:*:dvi) + # MetaPost also uses the TEX environment variable. If the user + # has set TEX=latex for that reason, don't bomb out. + case $TEX in + *latex) tex=tex;; # don't bother trying to find etex + *) tex=$TEX + esac;; + texinfo:*:pdf) tex=$PDFTEX;; + + *) error 1 "$out_lang not supported for $in_lang";; + esac + + # do the special catcode trick for ~ in filenames only for Texinfo, + # not LaTeX. + if test x"$in_lang" = xtexinfo && test $catcode_special = maybe; then + catcode_special=true + else + catcode_special=false + fi + + # Beware of aux files in subdirectories that require the + # subdirectory to exist. + case $in_lang:$tidy in + latex:true) + $SED -n 's|^[ ]*\\include{\(.*\)/.*}.*|\1|p' "$in_input" | + sort -u | + while read d + do + ensure_dir "$work_build/$d" + done + ;; + esac + + # Note that this will be used via an eval: quote properly. + local cmd="$tex" + + # If possible, make TeX report error locations in GNU format. + if $line_error; then + if test "${tex_help:+set}" != set; then + # Go to a temporary directory to try --help, since old versions that + # don't accept --help will generate a texput.log. + tex_help_dir=$t2ddir/tex_help + ensure_dir "$tex_help_dir" + tex_help=`cd "$tex_help_dir" >&6 && $tex --help &1 || true` + fi + # The mk program and perhaps others want to parse TeX's + # original error messages. + case $tex_help in + *file-line-error*) cmd="$cmd --file-line-error";; + esac + fi + + # Tell TeX about TCX file, if specified. + test -n "$translate_file" && cmd="$cmd --translate-file=$translate_file" + + # Tell TeX to make source specials (for backtracking from output to + # source, given a sufficiently smart editor), if specified. + test -n "$src_specials" && cmd="$cmd $src_specials" + + # Tell TeX to allow running external executables + test -n "$shell_escape" && cmd="$cmd $shell_escape" + + # Tell TeX to be batch if requested. + if $batch; then + # \batchmode does not show terminal output at all, so we don't + # want that. And even in batch mode, TeX insists on having input + # from the user. Close its stdin to make it impossible. + cmd="$cmd &5; then + case $out_lang in + dvi | pdf ) move_to_dest "$in_noext.$out_lang";; + esac + else + error 1 "$tex exited with bad status, quitting." + fi +} + +# run_bibtex () +# ------------- +# Run bibtex on (or biber) current file. +# - If its input (AUX) exists. +# - If some citations are missing (LOG contains `Citation'). +# or the LOG complains of a missing .bbl +# +# Don't try to be too smart: +# 1. Running bibtex only if the bbl file exists and is older than +# the LaTeX file is wrong, since the document might include files +# that have changed. +# +# 3. Because there can be several AUX (if there are \include's), +# but a single LOG, looking for missing citations in LOG is +# easier, though we take the risk of matching false messages. +run_bibtex () +{ + case $in_lang in + latex) bibtex=${BIBTEX:-bibtex};; + texinfo) return;; + esac + + # "Citation undefined" is for LaTeX, "Undefined citation" for btxmac.tex. + # The no .aux && \bibdata test is also for btxmac, in case it was the + # first run of a bibtex-using document. Otherwise, it's possible that + # bibtex would never be run. + if test -r "$in_noext.aux" \ + && test -r "$in_noext.log" \ + && ( (grep 'Warning:.*Citation.*undefined' "$in_noext.log" \ + || grep '.*Undefined citation' "$in_noext.log" \ + || grep 'No file .*\.bbl\.' "$in_noext.log") \ + || (grep 'No \.aux file' "$in_noext.log" \ + && grep '^\\bibdata' "$in_noext.aux") ) \ + >&6 2>&1; \ + then + bibtex_aux=`generated_files_get "$in_noext" bibaux_file_p` + for f in $bibtex_aux; do + run $bibtex "$f" + done + fi + + # biber(+biblatex) check. + if test -r "$in_noext.bcf" \ + && grep '' "$in_noext.bcf" >/dev/null; then + run ${BIBER:-biber} "$in_noext" + fi +} + +# run_index () +# ------------ +# Run texindex (or makeindex or texindy) on current index files. If +# they already exist, and after running TeX a first time the index +# files don't change, then there's no reason to run TeX again. But we +# won't know that if the index files are out of date or nonexistent. +run_index () +{ + local index_files + index_files=`generated_files_get $in_noext index_file_p` + test -n "$index_files" \ + || return 0 + + : ${MAKEINDEX:=makeindex} + : ${TEXINDEX:=texindex} + : ${TEXINDY:=texindy} + + local index_file + local index_noext + case $in_lang:$latex2html:`out_lang_tex` in + latex:tex4ht:html) + for index_file in $index_files + do + index_noext=`noext "$index_file"` + run tex \ + '\def\filename{{'"$index_noext"'}{idx}{4dx}{ind}} + \input idxmake.4ht' + run $MAKEINDEX -o $index_noext.ind $index_noext.4dx + done + ;; + + latex:*) + if $TEXINDY --version >&6 2>&1; then + run $TEXINDY $index_files + else + run $MAKEINDEX $index_files + fi + ;; + + texinfo:*) + run $TEXINDEX $index_files + ;; + esac +} + + +# run_tex4ht () +# ------------- +# Run the last two phases of TeX4HT: tex4ht extracts the HTML from the +# instrumented DVI file, and t4ht converts the figures and installs +# the files when given -d. +# +# Because knowing exactly which files are created is complex (in +# addition the names are not simple to compute), which makes it +# difficult to install the output files in a second step, it is much +# simpler to install directly the output files. +run_tex4ht () +{ + case $in_lang:$latex2html:`out_lang_tex` in + latex:tex4ht:html) + : ${TEX4HT:=tex4ht} ${T4HT:=t4ht} + run "$TEX4HT" "-f/$in_noext" + # Do not remove the / after the destdir. + run "$T4HT" "-d`destdir`/" "-f/$in_noext" + ;; + esac +} + + +# run_thumbpdf () +# --------------- +run_thumbpdf () +{ + if test `out_lang_tex` = pdf \ + && test -r "$in_noext.log" \ + && grep 'thumbpdf\.sty' "$in_noext.log" >&6 2>&1; \ + then + thumbpdf=${THUMBPDF_CMD:-thumbpdf} + thumbcmd="$thumbpdf $in_dir/$in_noext" + verbose "Running $thumbcmd ..." + if $thumbcmd >&5; then + run_tex + else + report "$thumbpdf exited with bad status." \ + "Ignoring its output." + fi + fi +} + + +# run_dvipdf FILE.dvi +# ------------------- +# Convert FILE.dvi to FILE.pdf. +run_dvipdf () +{ + # Find which dvi->pdf program is available. + if test -z "$dvipdf"; then + for i in "$DVIPDF" dvipdfmx dvipdfm dvipdf dvi2pdf dvitopdf; do + if findprog $i; then + dvipdf=$i + fi + done + fi + # These tools have varying interfaces, some 'input output', others + # 'input -o output'. They all seem to accept 'input' only, + # outputting using the expected file name. + run $dvipdf "$1" + if test ! -f `echo "$1" | $SED -e 's/\.dvi$/.pdf/'`; then + error 1 "cannot find output file" + fi +} + +# run_tex_suite () +# ---------------- +# Run the TeX tools until a fix point is reached. +run_tex_suite () +{ + # Move to the working directory. + if $tidy; then + verbose "cd $work_build" + cd "$work_build" || exit 1 + fi + + # Count the number of cycles. + local cycle=0 + + while :; do + # check for probably LaTeX loop (e.g. varioref) + if test $cycle -eq "$max_iters"; then + error 0 "Maximum of $max_iters cycles exceeded" + break + fi -Copyright (C) 2003 Free Software Foundation, Inc. -There is NO warranty. You may redistribute this software -under the terms of the GNU General Public License. -For more information about these matters, see the files named COPYING." + # report progress + cycle=`expr $cycle + 1` + verbose "Cycle $cycle for $command_line_filename" -usage="Usage: $program [OPTION]... FILE... + xref_files_save -Run each Texinfo or LaTeX FILE through TeX in turn until all -cross-references are resolved, building all indices. The directory -containing each FILE is searched for included files. The suffix of FILE -is used to determine its language (LaTeX or Texinfo). + # We run bibtex first, because it's more likely for the indexes + # to change after bibtex is run than the reverse, though either + # would be rare. + run_bibtex + run_index + run_core_conversion -Makeinfo is used to perform Texinfo macro expansion before running TeX -when needed. + xref_files_changed || break + done -Operation modes: - -b, --batch no interaction - -c, --clean remove all auxiliary files - -D, --debug turn on shell debugging (set -x) - -h, --help display this help and exit successfully - -o, --output=OFILE leave output in OFILE (implies --clean); - Only one input FILE may be specified in this case - -q, --quiet no output unless errors (implies --batch) - -s, --silent same as --quiet - -v, --version display version information and exit successfully - -V, --verbose report on what is done + # If we were using thumbpdf and producing PDF, then run thumbpdf + # and TeX one last time. + run_thumbpdf -TeX tuning: - -@ use @input instead of \input; for preloaded Texinfo - -e, -E, --expand force macro expansion using makeinfo - -I DIR search DIR for Texinfo files - -l, --language=LANG specify the LANG of FILE (LaTeX or Texinfo) - -p, --pdf use pdftex or pdflatex for processing - -t, --texinfo=CMD insert CMD after @setfilename in copy of input file - multiple values accumulate - -The values of the BIBTEX, LATEX (or PDFLATEX), MAKEINDEX, MAKEINFO, -TEX (or PDFTEX), and TEXINDEX environment variables are used to run -those commands, if they are set. - -Email bug reports to , -general questions and discussion to . -Texinfo home page: http://www.gnu.org/software/texinfo/" + # If we are using tex4ht, call it. + run_tex4ht -# Initialize variables for option overriding and otherwise. -# Don't use `unset' since old bourne shells don't have this command. -# Instead, assign them an empty value. -batch=false # eval for batch mode -clean= -debug= -escape='\' -expand= # t for expansion via makeinfo -miincludes= # makeinfo include path -oformat=dvi -oname= # --output -quiet= # by default let the tools' message be displayed -set_language= -textra= -tmpdir=${TMPDIR:-/tmp}/t2d$$ # avoid collisions on 8.3 filesystems. -txincludes= # TEXINPUTS extensions, with trailing colon -txiprereq=19990129 # minimum texinfo.tex version to have macro expansion -verbose=false # echo for verbose mode + # Install the result if we didn't already (i.e., if the output is + # dvipdf or ps). + case $latex2html:$out_lang in + *:dvipdf) + run_dvipdf "$in_noext.`out_lang_tex`" + move_to_dest "$in_noext.`out_lang_ext`" + ;; + *:ps) + : ${DVIPS:=dvips} + run $DVIPS -o "$in_noext.`out_lang_ext`" "$in_noext.`out_lang_tex`" + move_to_dest "$in_noext.`out_lang_ext`" + ;; + esac -orig_pwd=`pwd` + cd_orig +} -# Systems which define $COMSPEC or $ComSpec use semicolons to separate -# directories in TEXINPUTS. -if test -n "$COMSPEC$ComSpec"; then - path_sep=";" -else - path_sep=":" -fi +## -------------------------------- ## +## TeX processing auxiliary tools. ## +## -------------------------------- ## -# Pacify verbose cds. -CDPATH=${ZSH_VERSION+.}$path_sep -# In case someone crazy insists on using grep -E. -: ${EGREP=egrep} +# A sed script that preprocesses Texinfo sources in order to keep the +# iftex sections only. We want to remove non-TeX sections, and comment +# (with `@c _texi2dvi') TeX sections so that makeinfo does not try to +# parse them. Nevertheless, while commenting TeX sections, don't +# comment @macro/@end macro so that makeinfo does propagate them. +# Unfortunately makeinfo --iftex --no-ifinfo doesn't work well enough +# (yet), makeinfo can't parse the TeX commands, so work around with sed. +# +# We assume that `@c _texi2dvi' starting a line is not present in the +# document. +# +comment_iftex=\ +'/^@tex/,/^@end tex/{ + s/^/@c _texi2dvi/ +} +/^@iftex/,/^@end iftex/{ + s/^/@c _texi2dvi/ + /^@c _texi2dvi@macro/,/^@c _texi2dvi@end macro/{ + s/^@c _texi2dvi// + } +} +/^@ifnottex/,/^@end ifnottex/{ + s/^/@c (_texi2dvi)/ +} +/^@ifinfo/,/^@end ifinfo/{ + /^@node/p + /^@menu/,/^@end menu/p + t + s/^/@c (_texi2dvi)/ +} +s/^@ifnotinfo/@c _texi2dvi@ifnotinfo/ +s/^@end ifnotinfo/@c _texi2dvi@end ifnotinfo/' + +# Uncommenting is simpler: remove any leading `@c texi2dvi'; repeated +# copies can sneak in via macro invocations. +uncomment_iftex='s/^@c _texi2dvi\(@c _texi2dvi\)*//' + + +# run_makeinfo () +# --------------- +# Expand macro commands in the original source file using Makeinfo. +# Always use `end' footnote style, since the `separate' style +# generates different output (arguably this is a bug in -E). Discard +# main info output, the user asked to run TeX, not makeinfo. +run_makeinfo () +{ + test $in_lang = texinfo \ + || return 0 + + # Unless required by the user, makeinfo expansion is wanted only + # if texinfo.tex is too old. + if $expand; then + makeinfo=${MAKEINFO:-makeinfo} + else + # Check if texinfo.tex performs macro expansion by looking for + # its version. The version is a date of the form YEAR-MO-DA. + # We don't need to use [0-9] to match the digits since anyway + # the comparison with $txiprereq, a number, will fail with non-digits. + # Run in a temporary directory to avoid leaving files. + version_test_dir=$t2ddir/version_test + ensure_dir "$version_test_dir" + if ( + cd "$version_test_dir" + echo '\input texinfo.tex @bye' >txiversion.tex + # Be sure that if tex wants to fail, it is not interactive: + # close stdin. + $TEX txiversion.tex txiversion.out 2>txiversion.err + ); then :; else + report "texinfo.tex appears to be broken. +This may be due to the environment variable TEX set to something +other than (plain) tex, a corrupt texinfo.tex file, or +to tex itself simply not working." + cat "$version_test_dir/txiversion.out" + cat "$version_test_dir/txiversion.err" >&2 + error 1 "quitting." + fi + eval `$SED -n 's/^.*\[\(.*\)version \(....\)-\(..\)-\(..\).*$/txiformat=\1 txiversion="\2\3\4"/p' "$version_test_dir/txiversion.out"` + verbose "texinfo.tex preloaded as \`$txiformat', version is \`$txiversion' ..." + if test "$txiprereq" -le "$txiversion" >&6 2>&1; then + makeinfo= + else + makeinfo=${MAKEINFO:-makeinfo} + fi + # If TeX is preloaded, offer the user this convenience: + if test "$txiformat" = Texinfo; then + escape=@ + fi + fi + + if test -n "$makeinfo"; then + # in_src: the file with macros expanded. + # Use the same basename to generate the same aux file names. + work_src=$workdir/src + ensure_dir "$work_src" + in_src=$work_src/$in_base + local miincludes + miincludes=`list_prefix includes -I` + verbose "Macro-expanding $command_line_filename to $in_src ..." + # eval $makeinfo because it might be defined as something complex + # (running missing) and then we end up with things like '"-I"', + # and "-I" (including the quotes) is not an option name. This + # happens with gettext 0.14.5, at least. + $SED "$comment_iftex" "$command_line_filename" \ + | eval $makeinfo --footnote-style=end -I "$in_dir" $miincludes \ + -o /dev/null --macro-expand=- \ + | $SED "$uncomment_iftex" >"$in_src" + # Continue only if everything succeeded. + if test $? -ne 0 \ + || test ! -r "$in_src"; then + verbose "Expansion failed, ignored..."; + else + in_input=$in_src + fi + fi +} + +# insert_commands () +# ------------------ +# Used most commonly for @finalout, @smallbook, etc. +insert_commands () +{ + if test -n "$textra"; then + # _xtr. The file with the user's extra commands. + work_xtr=$workdir/xtr + in_xtr=$work_xtr/$in_base + ensure_dir "$work_xtr" + verbose "Inserting extra commands: $textra" + local textra_cmd + case $in_lang in + latex) textra_cmd=1i;; + texinfo) textra_cmd='/^@setfilename/a';; + *) error 1 "internal error, unknown language: $in_lang";; + esac + $SED "$textra_cmd\\ +$textra" "$in_input" >"$in_xtr" + in_input=$in_xtr + fi -# Save this so we can construct a new TEXINPUTS path for each file. -TEXINPUTS_orig="$TEXINPUTS" -# Unfortunately makeindex does not read TEXINPUTS. -INDEXSTYLE_orig="$INDEXSTYLE" -export TEXINPUTS INDEXSTYLE + case $in_lang:$latex2html:`out_lang_tex` in + latex:tex4ht:html) + # _tex4ht. The file with the added \usepackage{tex4ht}. + work_tex4ht=$workdir/tex4ht + in_tex4ht=$work_tex4ht/$in_base + ensure_dir "$work_tex4ht" + verbose "Inserting \\usepackage{tex4ht}" + perl -pe 's<\\documentclass(?:\[.*\])?{.*}> + <$&\\usepackage[xhtml]{tex4ht}>' \ + "$in_input" >"$in_tex4ht" + in_input=$in_tex4ht + ;; + esac +} + +# compute_language FILENAME +# ------------------------- +# Return the short string describing the language in which FILENAME +# is written: `texinfo' or `latex'. +compute_language () +{ + # If the user explicitly specified the language, use that. + # Otherwise, if the first line is \input texinfo, assume it's texinfo. + # Otherwise, guess from the file extension. + if test -n "$set_language"; then + echo $set_language + elif $SED 1q "$1" | grep 'input texinfo' >&6; then + echo texinfo + else + # Get the type of the file (latex or texinfo) from the given language + # we just guessed, or from the file extension if not set yet. + case $1 in + *.ltx | *.tex | *.drv | *.dtx) echo latex;; + *) echo texinfo;; + esac + fi +} + + +# run_hevea (MODE) +# ---------------- +# Convert to HTML/INFO/TEXT. +# +# Don't pass `-noiso' to hevea: it's useless in HTML since anyway the +# charset is set to latin1, and troublesome in other modes since +# accented characters loose their accents. +# +# Don't pass `-o DEST' to hevea because in that case it leaves all its +# auxiliary files there too... Too bad, because it means we will need +# to handle images some day. +run_hevea () +{ + local hevea="${HEVEA:-hevea}" + local run_hevea="$hevea" + + case $1 in + html) ;; + text|info) run_hevea="$run_hevea -$1";; + *) error 1 "run_hevea: invalid argument: $1";; + esac + + # Compiling to the tmp directory enables to preserve a previous + # successful compilation. + run_hevea="$run_hevea -fix -O -o '$out_base'" + run_hevea="$run_hevea `list_prefix includes -I` -I '$orig_pwd' " + run_hevea="$run_hevea '$in_input'" + + if $debug; then + run_hevea="$run_hevea -v -v" + fi + + verbose "running $run_hevea" + if eval "$run_hevea" >&5; then + # hevea leaves trailing white spaces, this is annoying. + case $1 in text|info) + perl -pi -e 's/[ \t]+$//g' "$out_base"*;; + esac + case $1 in + html|text) move_to_dest "$out_base";; + info) # There can be foo.info-1, foo.info-2 etc. + move_to_dest "$out_base"*;; + esac + else + error 1 "$hevea exited with bad status, quitting." + fi +} + + +# run_core_conversion () +# ---------------------- +# Run the TeX (or HeVeA). +run_core_conversion () +{ + case $in_lang:$latex2html:`out_lang_tex` in + *:dvi|*:pdf|latex:tex4ht:html) + run_tex;; + latex:*:html|latex:*:text|latex:*:info) + run_hevea $out_lang;; + *) + error 1 "invalid input/output combination: $in_lang/$out_lang";; + esac +} + + +# compile () +# ---------- +# Run the full compilation chain, from pre-processing to installation +# of the output at its expected location. +compile () +{ + # Source file might include additional sources. + # We want `.:$orig_pwd' before anything else. (We'll add `.:' later + # after all other directories have been turned into absolute paths.) + # `.' goes first to ensure that any old .aux, .cps, + # etc. files in ${directory} don't get used in preference to fresher + # files in `.'. Include orig_pwd in case we are in clean build mode, where + # we have cd'd to a temp directory. + common="$orig_pwd$path_sep$in_dir$path_sep" + # + # If we have any includes, put those at the end. + # Keep a final path_sep to get the default (system) TeX directories included. + txincludes=`list_infix includes $path_sep` + test -n "$txincludes" && common="$common$txincludes$path_sep" + # + for var in $tex_envvars; do + eval val="\$common\$${var}_orig" + # Convert relative paths to absolute paths, so we can run in another + # directory (e.g., in clean build mode, or during the macro-support + # detection). ".:" is added here. + val=`absolute_filenames "$val"` + eval $var="\"$val\"" + export $var + eval verbose \"$var=\'\$${var}\'\" + done + + # --expand + run_makeinfo + + # --command, --texinfo + insert_commands + + # Run until a fix point is reached. + run_tex_suite +} + + +# remove FILES +# ------------ +remove () +{ + verbose "Removing" "$@" + rm -rf "$@" +} + + +# mostly_clean +# ------------ +# Remove auxiliary files and directories. Changes the current directory. +mostly_clean () +{ + cd_orig + set X "$t2ddir" + shift + $tidy || { + local log="$work_build/$in_noext.log" + set X ${1+"$@"} "$log" `generated_files_get "$work_build/$in_noext"` + shift + } + remove ${1+"$@"} +} + + +# cleanup () +# ---------- +# Remove what should be removed according to options. +# Called at the end of each compilation cycle, and at the end of +# the script. Changes the current directory. +cleanup () +{ + case $build_mode in + local) cd_orig; remove "$t2ddir";; + clean) mostly_clean;; + tidy) ;; + esac +} + + + +## ---------------------- ## +## Command line parsing. ## +## ---------------------- ## # Push a token among the arguments that will be used to notice when we # ended options/arguments parsing. @@ -132,41 +1647,50 @@ while test x"$1" != x"$arg_sep"; do # Handle --option=value by splitting apart and putting back on argv. case "$1" in --*=*) - opt=`echo "$1" | sed -e 's/=.*//'` - val=`echo "$1" | sed -e 's/[^=]*=//'` + opt=`echo "$1" | $SED -e 's/=.*//'` + val=`echo "$1" | $SED -e 's/[^=]*=//'` shift set dummy "$opt" "$val" ${1+"$@"}; shift ;; esac - # This recognizes --quark as --quiet. So what. case "$1" in -@ ) escape=@;; + -~ ) catcode_special=false;; # Silently and without documentation accept -b and --b[atch] as synonyms. - -b | --b*) batch=eval;; - -q | -s | --q* | --s*) quiet=t; batch=eval;; - -c | --c*) clean=t;; - -D | --d*) debug=t;; - -e | -E | --e*) expand=t;; - -h | --h*) echo "$usage"; exit 0;; - -I | --I*) + -b | --batch) batch=true;; + --build) shift; build_mode=$1;; + --build-dir) shift; build_dir=$1; build_mode=tidy;; + -c | --clean) build_mode=clean;; + -D | --debug) debug=true;; + -e | -E | --expand) expand=true;; + -h | --help) usage;; + -I) shift; list_concat_dirs includes "$1";; + -l | --lang | --language) shift; set_language=$1;; + --mostly-clean) action=mostly-clean;; + --no-line-error) line_error=false;; + --max-iterations) shift; max_iters=$1;; + -o | --out | --output) shift - miincludes="$miincludes -I $1" - txincludes="$txincludes$1$path_sep" - ;; - -l | --l*) shift; set_language=$1;; - -o | --o*) - shift - clean=t - case "$1" in - /* | ?:/*) oname=$1;; - *) oname="$orig_pwd/$1";; - esac;; - -p | --p*) oformat=pdf;; - -t | --t*) shift; textra="$textra\\ -$1";; - -v | --vers*) echo "$version"; exit 0;; - -V | --verb*) verbose=echo;; + # Make it absolute, just in case we also have --clean, or whatever. + oname=`absolute "$1"`;; + + # Output formats. + -O|--output-format) shift; out_lang_set "$1";; + --dvi|--dvipdf|--html|--info|--pdf|--ps|--text) + out_lang_set `echo "x$1" | $SED 's/^x--//'`;; + + -p) out_lang_set pdf;; + -q | -s | --quiet | --silent) quiet=true; batch=true;; + --src-specials) src_specials=--src-specials;; + --shell-escape) shell_escape=--shell-escape;; + --tex4ht) latex2html=tex4ht;; + -t | --texinfo | --command ) shift; textra="$textra\\ +"`echo "$1" | $SED 's/\\\\/\\\\\\\\/g'`;; + --translate-file ) shift; translate_file="$1";; + --tidy) build_mode=tidy;; + -v | --vers*) version;; + -V | --verb*) verb=true;; --) # What remains are not options. shift while test x"$1" != x"$arg_sep"; do @@ -175,9 +1699,9 @@ $1";; done break;; -*) - echo "$0: Unknown or ambiguous option \`$1'." >&2 - echo "$0: Try \`--help' for more information." >&2 - exit 1;; + error 1 "Unknown or ambiguous option \`$1'." \ + "Try \`--help' for more information." + ;; *) set dummy ${1+"$@"} "$1"; shift;; esac shift @@ -185,103 +1709,59 @@ done # Pop the token shift +# $tidy: compile in a t2d directory. +# $clean: remove all the aux files. +case $build_mode in + local) clean=false; tidy=false;; + tidy) clean=false; tidy=true;; + clean) clean=true; tidy=true;; + *) error 1 "invalid build mode: $build_mode";; +esac + # Interpret remaining command line args as filenames. case $# in 0) - echo "$0: Missing file arguments." >&2 - echo "$0: Try \`--help' for more information." >&2 - exit 2 + error 2 "Missing file arguments." "Try \`--help' for more information." ;; 1) ;; *) if test -n "$oname"; then - echo "$0: Can't use option \`--output' with more than one argument." >&2 - exit 2 + error 2 "Can't use option \`--output' with more than one argument." fi ;; esac -# Prepare the temporary directory. Remove it at exit, unless debugging. -if test -z "$debug"; then - trap "cd / && rm -rf $tmpdir" 0 1 2 15 -fi -# Create the temporary directory with strict rights -(umask 077 && mkdir $tmpdir) || exit 1 +# We can't do much without tex. +# +if findprog ${TEX:-tex}; then :; else cat <$comment_iftex_sed -/^@tex/,/^@end tex/{ - s/^/@c texi2dvi/ -} -/^@iftex/,/^@end iftex/{ - s/^/@c texi2dvi/ - /^@c texi2dvi@macro/,/^@c texi2dvi@end macro/{ - s/^@c texi2dvi// - } -} -/^@html/,/^@end html/{ - s/^/@c (texi2dvi)/ -} -/^@ifhtml/,/^@end ifhtml/{ - s/^/@c (texi2dvi)/ -} -/^@ifnottex/,/^@end ifnottex/{ - s/^/@c (texi2dvi)/ -} -/^@ifinfo/,/^@end ifinfo/{ - /^@node/p - /^@menu/,/^@end menu/p - t - s/^/@c (texi2dvi)/ -} -s/^@ifnotinfo/@c texi2dvi@ifnotinfo/ -s/^@end ifnotinfo/@c texi2dvi@end ifnotinfo/ -EOF -# Uncommenting is simple: Remove any leading `@c texi2dvi'. -uncomment_iftex_sed=$utildir/uncomment.sed -cat <$uncomment_iftex_sed -s/^@c texi2dvi// -EOF -# A shell script that computes the list of xref files. -# Takes the filename (without extension) of which we look for xref -# files as argument. The index files must be reported last. -get_xref_files=$utildir/get_xref.sh -cat <<\EOF >$get_xref_files -#! /bin/sh +# We want to use etex (or pdftex) if they are available, and the user +# didn't explicitly specify. We don't check for elatex and pdfelatex +# because (as of 2003), the LaTeX team has asked that new distributions +# use etex by default anyway. +# +# End up with the TEX and PDFTEX variables set to what we are going to use. +if test -z "$TEX"; then + if findprog etex; then TEX=etex; else TEX=tex; fi +fi +# +if test -z "$PDFTEX"; then + if findprog pdfetex; then PDFTEX=pdfetex; else PDFTEX=pdftex; fi +fi -# Get list of xref files (indexes, tables and lists). -# Find all files having root filename with a two-letter extension, -# saves the ones that are really Texinfo-related files. .?o? catches -# many files: .toc, .log, LaTeX tables and lists, FiXme's .lox, maybe more. -for this_file in "$1".?o? "$1".aux "$1".?? "$1".idx; do - # If file is empty, skip it. - test -s "$this_file" || continue - # If the file is not suitable to be an index or xref file, don't - # process it. The file can't be if its first character is not a - # backslash or single quote. - first_character=`sed -n '1s/^\(.\).*$/\1/p;q' $this_file` - if test "x$first_character" = "x\\" \ - || test "x$first_character" = "x'"; then - xref_files="$xref_files ./$this_file" - fi -done -echo "$xref_files" -EOF -chmod 500 $get_xref_files # File descriptor usage: # 0 standard input @@ -290,369 +1770,175 @@ chmod 500 $get_xref_files # 3 some systems may open it to /dev/tty # 4 used on the Kubota Titan # 5 tools output (turned off by --quiet) +# 6 tracing/debugging (set -x output, etc.) + -# Tools' output. If quiet, discard, else redirect to the message flow. -if test "$quiet" = t; then +# Main tools' output (TeX, etc.) that TeX users are used to seeing. +# +# If quiet, discard, else redirect to the message flow. +if $quiet; then exec 5>/dev/null else exec 5>&1 fi -# Enable tracing -test "$debug" = t && set -x + +# Enable tracing, and auxiliary tools output. +# +# This fd should be used where you'd typically use /dev/null to throw +# output away. But sometimes it is convenient to see that output (e.g., +# from a grep) to aid debugging. Especially debugging at distance, via +# the user. +# +if $debug; then + exec 6>&1 + set -vx +else + exec 6>/dev/null +fi # -# TeXify files. -for command_line_filename in ${1+"$@"}; do - $verbose "Processing $command_line_filename ..." +# input_file_name_decode +# ---------------------- +# Decode COMMAND_LINE_FILENAME, and compute: +# - COMMAND_LINE_FILENAME clean of TeX commands +# - IN_DIR +# The directory to the input file, possibly absolute if needed. +# - IN_DIR_ABS +# The absolute directory of the input file. +# - IN_BASE +# The input file base name (no directory part). +# - IN_NOEXT +# The input file name without extensions (nor directory part). +# - IN_INPUT +# Defaults to COMMAND_LINE_FILENAME, but might change if the +# input is preprocessed. With directory, possibly absolute. +input_file_name_decode () +{ + # See if we are run from within AUC-Tex, in which case we are + # passed `\input{FOO.tex}' or even `\nonstopmode\input{FOO.tex}'. + case $command_line_filename in + *\\nonstopmode*) + batch=true;; + esac + case $command_line_filename in + *\\input{*}*) + # Let AUC-TeX error parser deal with line numbers. + line_error=false + command_line_filename=`\ + expr X"$command_line_filename" : X'.*input{\([^}]*\)}'` + ;; + esac # If the COMMAND_LINE_FILENAME is not absolute (e.g., --debug.tex), # prepend `./' in order to avoid that the tools take it as an option. - echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >/dev/null \ + echo "$command_line_filename" | LC_ALL=C $EGREP '^(/|[A-Za-z]:/)' >&6 \ || command_line_filename="./$command_line_filename" # See if the file exists. If it doesn't we're in trouble since, even # though the user may be able to reenter a valid filename at the tex # prompt (assuming they're attending the terminal), this script won't # be able to find the right xref files and so forth. - if test ! -r "$command_line_filename"; then - echo "$0: Could not read $command_line_filename, skipping." >&2 - continue - fi + test -r "$command_line_filename" \ + || error 1 "cannot read $command_line_filename, skipping." - # Get the name of the current directory. We want the full path - # because in clean mode we are in tmp, in which case a relative - # path has no meaning. - filename_dir=`echo $command_line_filename | sed 's!/[^/]*$!!;s!^$!.!'` - filename_dir=`cd "$filename_dir" >/dev/null && pwd` + # Get the name of the current directory. + in_dir=`func_dirname "$command_line_filename"` + in_dir_abs=`absolute "$in_dir"` + # In a clean build, we `cd', so get an absolute file name. + if $tidy; then + in_dir=$in_dir_abs + fi # Strip directory part but leave extension. - filename_ext=`basename "$command_line_filename"` + in_base=`basename "$command_line_filename"` # Strip extension. - filename_noext=`echo "$filename_ext" | sed 's/\.[^.]*$//'` - ext=`echo "$filename_ext" | sed 's/^.*\.//'` - - # _src. Use same basename since we want to generate aux files with - # the same basename as the manual. If --expand, then output the - # macro-expanded file to here, else copy the original file. - tmpdir_src=$tmpdir/src - filename_src=$tmpdir_src/$filename_noext.$ext - - # _xtr. The file with the user's extra commands. - tmpdir_xtr=$tmpdir/xtr - filename_xtr=$tmpdir_xtr/$filename_noext.$ext - - # _bak. Copies of the previous xref files (another round is run if - # they differ from the new one). - tmpdir_bak=$tmpdir/bak + in_noext=`noext "$in_base"` - # Make all those directories and give up if we can't succeed. - mkdir $tmpdir_src $tmpdir_xtr $tmpdir_bak || exit 1 + # The normalized file name to compile. Must always point to the + # file to actually compile (in case of recoding, macro-expansion etc.). + in_input=$in_dir/$in_base - # Source file might include additional sources. - # We want `.:$orig_pwd' before anything else. (We'll add `.:' later - # after all other directories have been turned into absolute paths.) - # `.' goes first to ensure that any old .aux, .cps, - # etc. files in ${directory} don't get used in preference to fresher - # files in `.'. Include orig_pwd in case we are in clean mode, where - # we've cd'd to a temp directory. - common="$orig_pwd$path_sep$filename_dir$path_sep$txincludes" - TEXINPUTS="$common$TEXINPUTS_orig" - INDEXSTYLE="$common$INDEXSTYLE_orig" - - # Convert relative paths to absolute paths, so we can run in another - # directory (e.g., in --clean mode, or during the macro-support - # detection.) - # - # Empty path components are meaningful to tex. We rewrite them - # as `EMPTY' so they don't get lost when we split on $path_sep. - TEXINPUTS=`echo $TEXINPUTS |sed 's/^:/EMPTY:/;s/:$/:EMPTY/;s/::/:EMPTY:/g'` - INDEXSTYLE=`echo $INDEXSTYLE |sed 's/^:/EMPTY:/;s/:$/:EMPTY/;s/::/:EMPTY:/g'` - save_IFS=$IFS - IFS=$path_sep - set x $TEXINPUTS; shift - TEXINPUTS=. - for dir - do - case $dir in - EMPTY) - TEXINPUTS=$TEXINPUTS$path_sep - ;; - [\\/]* | ?:[\\/]*) # Absolute paths don't need to be expansed. - TEXINPUTS=$TEXINPUTS$path_sep$dir - ;; - *) - abs=`cd "$dir" && pwd` && TEXINPUTS=$TEXINPUTS$path_sep$abs - ;; - esac - done - set x $INDEXSTYLE; shift - INDEXSTYLE=. - for dir - do - case $dir in - EMPTY) - INDEXSTYLE=$INDEXSTYLE$path_sep - ;; - [\\/]* | ?:[\\/]*) # Absolute paths don't need to be expansed. - INDEXSTYLE=$INDEXSTYLE$path_sep$dir - ;; - *) - abs=`cd "$dir" && pwd` && INDEXSTYLE=$INDEXSTYLE$path_sep$abs - ;; - esac - done - IFS=$save_IFS - # If the user explicitly specified the language, use that. - # Otherwise, if the first line is \input texinfo, assume it's texinfo. - # Otherwise, guess from the file extension. - if test -n "$set_language"; then - language=$set_language - elif sed 1q "$command_line_filename" | grep 'input texinfo' >/dev/null; then - language=texinfo + # Compute the output file name. + if test x"$oname" != x; then + out_name=$oname else - language= - fi - - # Get the type of the file (latex or texinfo) from the given language - # we just guessed, or from the file extension if not set yet. - case ${language:-$filename_ext} in - [lL]a[tT]e[xX] | *.ltx | *.tex) - # Assume a LaTeX file. LaTeX needs bibtex and uses latex for - # compilation. No makeinfo. - bibtex=${BIBTEX:-bibtex} - makeinfo= # no point in running makeinfo on latex source. - texindex=${MAKEINDEX:-makeindex} - if test $oformat = dvi; then - tex=${LATEX:-latex} - else - tex=${PDFLATEX:-pdflatex} - fi - ;; - - *) - # Assume a Texinfo file. Texinfo files need makeinfo, texindex and tex. - bibtex= - texindex=${TEXINDEX:-texindex} - if test $oformat = dvi; then - tex=${TEX:-tex} - else - tex=${PDFTEX:-pdftex} - fi - # Unless required by the user, makeinfo expansion is wanted only - # if texinfo.tex is too old. - if test "$expand" = t; then - makeinfo=${MAKEINFO:-makeinfo} - else - # Check if texinfo.tex performs macro expansion by looking for - # its version. The version is a date of the form YEAR-MO-DA. - # We don't need to use [0-9] to match the digits since anyway - # the comparison with $txiprereq, a number, will fail with non - # digits. - txiversion_tex=txiversion.tex - echo '\input texinfo.tex @bye' >$tmpdir/$txiversion_tex - # Run in the tmpdir to avoid leaving files. - eval `cd $tmpdir >/dev/null && - $tex $txiversion_tex 2>/dev/null | - sed -n 's/^.*\[\(.*\)version \(....\)-\(..\)-\(..\).*$/txiformat=\1 txiversion="\2\3\4"/p'` - $verbose "texinfo.tex preloaded as \`$txiformat', version is \`$txiversion' ..." - if test "$txiprereq" -le "$txiversion" >/dev/null 2>&1; then - makeinfo= - else - makeinfo=${MAKEINFO:-makeinfo} - fi - # As long as we had to run TeX, offer the user this convenience - if test "$txiformat" = Texinfo; then - escape=@ - fi - fi - ;; - esac - - # Expand macro commands in the original source file using Makeinfo. - # Always use `end' footnote style, since the `separate' style - # generates different output (arguably this is a bug in -E). - # Discard main info output, the user asked to run TeX, not makeinfo. - if test -n "$makeinfo"; then - $verbose "Macro-expanding $command_line_filename to $filename_src ..." - sed -f $comment_iftex_sed "$command_line_filename" \ - | $makeinfo --footnote-style=end -I "$filename_dir" $miincludes \ - -o /dev/null --macro-expand=- \ - | sed -f $uncomment_iftex_sed >"$filename_src" - filename_input=$filename_src - fi - - # If makeinfo failed (or was not even run), use the original file as input. - if test $? -ne 0 \ - || test ! -r "$filename_src"; then - $verbose "Reverting to $command_line_filename ..." - filename_input=$filename_dir/$filename_ext - fi - - # Used most commonly for @finalout, @smallbook, etc. - if test -n "$textra"; then - $verbose "Inserting extra commands: $textra" - sed '/^@setfilename/a\ -'"$textra" "$filename_input" >$filename_xtr - filename_input=$filename_xtr + out_name=$in_noext.`out_lang_ext` fi + out_dir=`func_dirname "$out_name"` + out_dir_abs=`absolute "$out_dir"` + out_base=`basename "$out_name"` + out_noext=`noext "$out_base"` +} - # If clean mode was specified, then move to the temporary directory. - if test "$clean" = t; then - $verbose "cd $tmpdir_src" - cd "$tmpdir_src" || exit 1 - fi - while :; do # will break out of loop below - orig_xref_files=`$get_xref_files "$filename_noext"` +## -------------- ## +## TeXify files. ## +## -------------- ## - # Save copies of originals for later comparison. - if test -n "$orig_xref_files"; then - $verbose "Backing up xref files: `echo $orig_xref_files | sed 's|\./||g'`" - cp $orig_xref_files $tmpdir_bak - fi +for command_line_filename +do + verbose "Processing $command_line_filename ..." - # Run bibtex on current file. - # - If its input (AUX) exists. - # - If AUX contains both `\bibdata' and `\bibstyle'. - # - If some citations are missing (LOG contains `Citation'). - # or the LOG complains of a missing .bbl - # - # We run bibtex first, because I can see reasons for the indexes - # to change after bibtex is run, but I see no reason for the - # converse. - # - # Don't try to be too smart. Running bibtex only if the bbl file - # exists and is older than the LaTeX file is wrong, since the - # document might include files that have changed. Because there - # can be several AUX (if there are \include's), but a single LOG, - # looking for missing citations in LOG is easier, though we take - # the risk to match false messages. - if test -n "$bibtex" \ - && test -r "$filename_noext.aux" \ - && test -r "$filename_noext.log" \ - && (grep '^\\bibdata[{]' "$filename_noext.aux" \ - && grep '^\\bibstyle[{]' "$filename_noext.aux" \ - && (grep 'Warning:.*Citation.*undefined' "$filename_noext.log" \ - || grep 'No file .*\.bbl\.' "$filename_noext.log")) \ - >/dev/null 2>&1; \ - then - $verbose "Running $bibtex $filename_noext ..." - if $bibtex "$filename_noext" >&5; then :; else - echo "$0: $bibtex exited with bad status, quitting." >&2 - exit 1 - fi - fi + input_file_name_decode - # What we'll run texindex on -- exclude non-index files. - # Since we know index files are last, it is correct to remove everything - # before .aux and .?o?. But don't really do o - # -- don't match whitespace as . - # Otherwise, if orig_xref_files contains something like - # foo.xo foo.whatever - # the space after the o will get matched. - index_files=`echo "$orig_xref_files" \ - | sed "s!.*\.aux!!g; - s!./$filename_noext\.[^ ]o[^ ]!!g; - s/^[ ]*//;s/[ ]*$//"` - # Run texindex (or makeindex) on current index files. If they - # already exist, and after running TeX a first time the index - # files don't change, then there's no reason to run TeX again. - # But we won't know that if the index files are out of date or - # nonexistent. - if test -n "$texindex" && test -n "$index_files"; then - $verbose "Running $texindex $index_files ..." - if $texindex $index_files 2>&5 1>&2; then :; else - echo "$0: $texindex exited with bad status, quitting." >&2 - exit 1 - fi - fi + # `texinfo' or `latex'? + in_lang=`compute_language "$command_line_filename"` - # Finally, run TeX. - # Prevent $ESCAPE from being interpreted by the shell if it happens - # to be `/'. - $batch tex_args="\\${escape}nonstopmode\ \\${escape}input" - cmd="$tex $tex_args $filename_input" - $verbose "Running $cmd ..." - if $cmd >&5; then :; else - echo "$0: $tex exited with bad status, quitting." >&2 - echo "$0: see $filename_noext.log for errors." >&2 - test "$clean" = t \ - && cp "$filename_noext.log" "$orig_pwd" - exit 1 - fi + # An auxiliary directory used for all the auxiliary tasks involved + # in compiling this document. + case $build_dir in + '' | . ) t2ddir=$out_noext.t2d ;; + *) # Avoid collisions between multiple occurrences of the same + # file, so depend on the output path. Remove leading `./', + # at least to avoid creating a file starting with `.!', i.e., + # an invisible file. The sed expression is fragile if the cwd + # has active characters. Transform / into ! so that we don't + # need `mkdir -p'. It might be something to reconsider. + t2ddir=$build_dir/`echo "$out_dir_abs/$out_noext.t2d" | + $SED "s,^$orig_pwd/,,;s,^\./,,;s,/,!,g"` + esac + # Remove it at exit if clean mode. + trap "cleanup" 0 1 2 15 + ensure_dir "$build_dir" "$t2ddir" - # Decide if looping again is needed. - finished=t + # We will change directory, better work with an absolute path... + t2ddir=`absolute "$t2ddir"` + # Sometimes there are incompatibilities between auxiliary files for + # DVI and PDF. The contents can also change whether we work on PDF + # and/or DVI. So keep separate spaces for each. + workdir=$t2ddir/`out_lang_tex` + ensure_dir "$workdir" - # LaTeX (and the package changebar) report in the LOG file if it - # should be rerun. This is needed for files included from - # subdirs, since texi2dvi does not try to compare xref files in - # subdirs. Performing xref files test is still good since LaTeX - # does not report changes in xref files. - if grep "Rerun to get" "$filename_noext.log" >/dev/null 2>&1; then - finished= - fi + # _build. In a tidy build, where the auxiliary files are output. + if $tidy; then + work_build=$workdir/build + else + work_build=. + fi - # Check if xref files changed. - new_xref_files=`$get_xref_files "$filename_noext"` - $verbose "Original xref files = `echo $orig_xref_files | sed 's|\./||g'`" - $verbose "New xref files = `echo $new_xref_files | sed 's|\./||g'`" - - # If old and new lists don't at least have the same file list, - # then one file or another has definitely changed. - test "x$orig_xref_files" != "x$new_xref_files" && finished= - - # File list is the same. We must compare each file until we find - # a difference. - if test -n "$finished"; then - for this_file in $new_xref_files; do - $verbose "Comparing xref file `echo $this_file | sed 's|\./||g'` ..." - # cmp -s returns nonzero exit status if files differ. - if cmp -s "$this_file" "$tmpdir_bak/$this_file"; then :; else - # We only need to keep comparing until we find one that - # differs, because we'll have to run texindex & tex again no - # matter how many more there might be. - finished= - $verbose "xref file `echo $this_file | sed 's|\./||g'` differed ..." - test "$debug" = t && diff -c "$tmpdir_bak/$this_file" "$this_file" - break - fi - done - fi + # _bak. Copies of the previous auxiliary files (another round is + # run if they differ from the new ones). + work_bak=$workdir/bak - # If finished, exit the loop, else rerun the loop. - test -n "$finished" && break - done + # Make those directories. + ensure_dir "$work_build" "$work_bak" - # If we were in clean mode, compilation was in a tmp directory. - # Copy the DVI (or PDF) file into the directory where the compilation - # has been done. (The temp dir is about to get removed anyway.) - # We also return to the original directory so that - # - the next file is processed in correct conditions - # - the temporary file can be removed - if test -n "$clean"; then - if test -n "$oname"; then - dest=$oname - else - dest=$orig_pwd - fi - $verbose "Copying $oformat file from `pwd` to $dest" - cp -p "./$filename_noext.$oformat" "$dest" - cd / # in case $orig_pwd is on a different drive (for DOS) - cd $orig_pwd || exit 1 - fi + case $action in + compile) + # Compile the document. + compile + cleanup + ;; - # Remove temporary files. - if test "x$debug" = "x"; then - $verbose "Removing $tmpdir_src $tmpdir_xtr $tmpdir_bak ..." - cd / - rm -rf $tmpdir_src $tmpdir_xtr $tmpdir_bak - fi + mostly-clean) + mostly_clean + ;; + esac done -$verbose "$0 done." +verbose "done." exit 0 # exit successfully, not however we ended the loop. diff --git a/support/xcase.c b/support/xcase.c index 6796e0661..527840db8 100644 --- a/support/xcase.c +++ b/support/xcase.c @@ -36,6 +36,8 @@ extern int errno; #endif +extern int optind; + #define LOWER 1 #define UPPER 2 diff --git a/syntax.h b/syntax.h index e01110e70..9a9a2fa75 100644 --- a/syntax.h +++ b/syntax.h @@ -75,6 +75,8 @@ extern int sh_syntabsiz; #define shellblank(c) (sh_syntaxtab[(unsigned char)(c)] & CBLANK) +#define parserblank(c) ((c) == ' ' || (c) == '\t') + #define issyntype(c, t) ((sh_syntaxtab[(unsigned char)(c)] & (t)) != 0) #define notsyntype(c,t) ((sh_syntaxtab[(unsigned char)(c)] & (t)) == 0) diff --git a/test.c b/test.c index ab7bec79f..ee6342045 100644 --- a/test.c +++ b/test.c @@ -101,7 +101,7 @@ extern int errno; static procenv_t test_exit_buf; static int test_error_return; #define test_exit(val) \ - do { test_error_return = val; longjmp (test_exit_buf, 1); } while (0) + do { test_error_return = val; sh_longjmp (test_exit_buf, 1); } while (0) extern int sh_stat __P((const char *, struct stat *)); @@ -225,6 +225,7 @@ and () * '-'('G'|'L'|'O'|'S'|'N') filename * '-t' [int] * '-'('z'|'n') string + * '-'('v'|'R') varname * '-o' option * string * string ('!='|'='|'==') string @@ -623,7 +624,7 @@ unary_test (op, arg) case 'v': v = find_variable (arg); #if defined (ARRAY_VARS) - if (v == 0 && valid_array_reference (arg)) + if (v == 0 && valid_array_reference (arg, 0)) { char *t; t = array_value (arg, 0, 0, (int *)0, (arrayind_t *)0); @@ -822,6 +823,13 @@ posixtest () value = !three_arguments (); break; } + else if (argv[pos][0] == '(' && argv[pos][1] == '\0' && argv[argc-1][0] == ')' && argv[argc-1][1] == '\0') + { + advance (1); + value = two_arguments (); + pos = argc; + break; + } /* FALLTHROUGH */ default: value = expr (); diff --git a/tests/alias.right b/tests/alias.right index a37080ceb..cab07a988 100644 --- a/tests/alias.right +++ b/tests/alias.right @@ -10,3 +10,11 @@ OK OK OK OK +one +two +three +four +one +two +three +four diff --git a/tests/alias.tests b/tests/alias.tests index a97d5ff45..d1ba97b30 100644 --- a/tests/alias.tests +++ b/tests/alias.tests @@ -37,3 +37,4 @@ foo bar unalias foo bar baz ${THIS_SH} ./alias1.sub +${THIS_SH} ./alias2.sub diff --git a/tests/alias2.sub b/tests/alias2.sub new file mode 100644 index 000000000..760444855 --- /dev/null +++ b/tests/alias2.sub @@ -0,0 +1,22 @@ +THIS=alias2 +FN=$TMPDIR/$THIS.script + +cat > $FN <<'EOF' +# +(echo "$1") +EOF +chmod u+x $FN + +shopt -s expand_aliases + +alias foo1='$FN one; source $FN two; source $FN three; $FN four' + +alias foo2='$FN one +source $FN two +source $FN three +$FN four' + +foo1 +foo2 + +rm -f $FN diff --git a/tests/appendop.right b/tests/appendop.right index 9c8679211..f9609f841 100644 --- a/tests/appendop.right +++ b/tests/appendop.right @@ -16,11 +16,11 @@ 9 16 ./appendop.tests: line 84: x: readonly variable -declare -A foo='([one]="bar" [two]="baz" [three]="quux" )' -declare -A foo='([one]="bar" [two]="baz" [0]="zero" [three]="quux" )' -declare -A foo='([four]="four" [one]="bar" [two]="baz" [0]="zero" [three]="quux" )' -declare -ai iarr='([0]="3" [1]="2" [2]="3")' -declare -ai iarr='([0]="3" [1]="2" [2]="3" [3]="4" [4]="5" [5]="6")' +declare -A foo=([two]="baz" [three]="quux" [one]="bar" ) +declare -A foo=([two]="baz" [0]="zero" [three]="quux" [one]="bar" ) +declare -A foo=([two]="baz" [0]="zero" [three]="quux" [four]="four" [one]="bar" ) +declare -ai iarr=([0]="3" [1]="2" [2]="3") +declare -ai iarr=([0]="3" [1]="2" [2]="3" [3]="4" [4]="5" [5]="6") 25 25 7 7 14 diff --git a/tests/arith.right b/tests/arith.right index 680d9a954..13c8c7106 100644 --- a/tests/arith.right +++ b/tests/arith.right @@ -141,6 +141,8 @@ ok -7 7 7 +2 +2 ./arith1.sub: line 2: 4-- : syntax error: operand expected (error token is "- ") ./arith1.sub: line 3: 4++ : syntax error: operand expected (error token is "+ ") ./arith1.sub: line 4: 4 -- : syntax error: operand expected (error token is "- ") @@ -234,14 +236,20 @@ ok 0 0, 0 0, 1 +efg +e +efg +e +abcdefg +efg 8 12 -./arith.tests: line 286: ((: x=9 y=41 : syntax error in expression (error token is "y=41 ") -./arith.tests: line 290: a b: syntax error in expression (error token is "b") -./arith.tests: line 291: ((: a b: syntax error in expression (error token is "b") +./arith.tests: line 294: ((: x=9 y=41 : syntax error in expression (error token is "y=41 ") +./arith.tests: line 298: a b: syntax error in expression (error token is "b") +./arith.tests: line 299: ((: a b: syntax error in expression (error token is "b") 42 42 42 42 42 42 -./arith.tests: line 302: b[c]d: syntax error in expression (error token is "d") +./arith.tests: line 310: b[c]d: syntax error in expression (error token is "d") diff --git a/tests/arith.tests b/tests/arith.tests index 7dcc36d8d..79ce016d5 100644 --- a/tests/arith.tests +++ b/tests/arith.tests @@ -260,6 +260,10 @@ echo $(( -7 )) echo $(( ++7 )) echo $(( --7 )) +# combinations of expansions +echo $(( "`echo 1+1`" )) +echo $(( `echo 1+1` )) + ${THIS_SH} ./arith1.sub ${THIS_SH} ./arith2.sub ${THIS_SH} ./arith3.sub @@ -275,6 +279,10 @@ ${THIS_SH} ./arith5.sub # problems with suppressing evaluation present through bash-4.2 ${THIS_SH} ./arith6.sub +# problems with parsing arithmetic expressions containing colons that are +# part of word expansions such as substring extraction +${THIS_SH} ./arith7.sub + x=4 y=7 diff --git a/tests/arith7.sub b/tests/arith7.sub new file mode 100644 index 000000000..1b73ba7eb --- /dev/null +++ b/tests/arith7.sub @@ -0,0 +1,11 @@ +PARAM=abcdefg + +echo ${PARAM:1 ? 4 : 2} +echo ${PARAM:1 ? 4 : 2:1} + +echo ${PARAM: 4<5 ? 4 : 2} +echo ${PARAM: 5>4 ? 4 : 2:1} + +echo ${PARAM:${OFFSET:-0}} +OFFSET=4 +echo ${PARAM:${OFFSET:-0}} diff --git a/tests/array.right b/tests/array.right index 0307d6b49..031a0b7e4 100644 --- a/tests/array.right +++ b/tests/array.right @@ -6,15 +6,15 @@ abcde abcde abcde bdef abcde bdef -declare -a BASH_ARGC='()' -declare -a BASH_ARGV='()' -declare -a BASH_LINENO='([0]="0")' -declare -a BASH_SOURCE='([0]="./array.tests")' -declare -a DIRSTACK='()' -declare -a FUNCNAME='([0]="main")' -declare -a a='([0]="abcde" [1]="" [2]="bdef")' -declare -a b='()' -declare -ar c='()' +declare -a BASH_ARGC=() +declare -a BASH_ARGV=() +declare -a BASH_LINENO=([0]="0") +declare -a BASH_SOURCE=([0]="./array.tests") +declare -a DIRSTACK=() +declare -a FUNCNAME +declare -a a=([0]="abcde" [1]="" [2]="bdef") +declare -a b +declare -ar c abcde bdef abcde bdef abcde @@ -27,25 +27,25 @@ hello world 3 bdef hello world test expression test 2 ./array.tests: line 76: readonly: `a[5]': not a valid identifier -declare -ar a='([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2")' -declare -ar c='()' -declare -ar a='([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2")' -declare -ar c='()' -readonly -a a='([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2")' -readonly -a c='()' +declare -ar a=([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2") +declare -ar c +declare -ar a=([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2") +declare -ar c +readonly -a a=([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2") +readonly -a c a test -declare -a BASH_ARGC='()' -declare -a BASH_ARGV='()' -declare -a BASH_LINENO='([0]="0")' -declare -a BASH_SOURCE='([0]="./array.tests")' -declare -a DIRSTACK='()' -declare -a FUNCNAME='([0]="main")' -declare -ar a='([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2")' -declare -a b='([0]="this" [1]="is" [2]="a" [3]="test" [4]="" [5]="/etc/passwd")' -declare -ar c='()' -declare -a d='([1]="" [2]="bdef" [5]="hello world" [6]="test" [9]="ninth element")' -declare -a e='([0]="test")' -declare -a f='([0]="" [1]="bdef" [2]="hello world" [3]="test" [4]="ninth element")' +declare -a BASH_ARGC=() +declare -a BASH_ARGV=() +declare -a BASH_LINENO=([0]="0") +declare -a BASH_SOURCE=([0]="./array.tests") +declare -a DIRSTACK=() +declare -a FUNCNAME +declare -ar a=([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2") +declare -a b=([0]="this" [1]="is" [2]="a" [3]="test" [4]="" [5]="/etc/passwd") +declare -ar c +declare -a d=([1]="" [2]="bdef" [5]="hello world" [6]="test" [9]="ninth element") +declare -a e=([0]="test") +declare -a f=([0]="" [1]="bdef" [2]="hello world" [3]="test" [4]="ninth element") ./array.tests: line 100: a: readonly variable ./array.tests: line 102: b[]: bad array subscript ./array.tests: line 103: b[*]: bad array subscript @@ -57,35 +57,35 @@ declare -a f='([0]="" [1]="bdef" [2]="hello world" [3]="test" [4]="ninth element ./array.tests: line 111: []=abcde: bad array subscript ./array.tests: line 111: [*]=last: cannot assign to non-numeric index ./array.tests: line 111: [-65]=negative: bad array subscript -declare -a BASH_ARGC='()' -declare -a BASH_ARGV='()' -declare -a BASH_LINENO='([0]="0")' -declare -a BASH_SOURCE='([0]="./array.tests")' -declare -a DIRSTACK='()' -declare -a FUNCNAME='([0]="main")' -declare -ar a='([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2")' -declare -a b='([0]="this" [1]="is" [2]="a" [3]="test" [4]="" [5]="/etc/passwd")' -declare -ar c='()' -declare -a d='([1]="test test")' -declare -a f='([0]="" [1]="bdef" [2]="hello world" [3]="test" [4]="ninth element")' +declare -a BASH_ARGC=() +declare -a BASH_ARGV=() +declare -a BASH_LINENO=([0]="0") +declare -a BASH_SOURCE=([0]="./array.tests") +declare -a DIRSTACK=() +declare -a FUNCNAME +declare -ar a=([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2") +declare -a b=([0]="this" [1]="is" [2]="a" [3]="test" [4]="" [5]="/etc/passwd") +declare -ar c +declare -a d=([1]="test test") +declare -a f=([0]="" [1]="bdef" [2]="hello world" [3]="test" [4]="ninth element") ./array.tests: line 119: unset: ps1: not an array variable ./array.tests: line 123: declare: c: cannot destroy array variables in this way this of this is a test of read using arrays this test this is a test of arrays -declare -a BASH_ARGC='()' -declare -a BASH_ARGV='()' -declare -a BASH_LINENO='([0]="0")' -declare -a BASH_SOURCE='([0]="./array.tests")' -declare -a DIRSTACK='()' -declare -a FUNCNAME='([0]="main")' -declare -ar a='([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2")' -declare -a b='([0]="this" [1]="is" [2]="a" [3]="test" [4]="" [5]="/etc/passwd")' -declare -ar c='()' -declare -a d='([1]="test test")' -declare -a f='([0]="" [1]="bdef" [2]="hello world" [3]="test" [4]="ninth element")' -declare -a rv='([0]="this" [1]="is" [2]="a" [3]="test" [4]="of" [5]="read" [6]="using" [7]="arrays")' +declare -a BASH_ARGC=() +declare -a BASH_ARGV=() +declare -a BASH_LINENO=([0]="0") +declare -a BASH_SOURCE=([0]="./array.tests") +declare -a DIRSTACK=() +declare -a FUNCNAME +declare -ar a=([1]="" [2]="bdef" [5]="hello world" [6]="test expression" [15]="test 2") +declare -a b=([0]="this" [1]="is" [2]="a" [3]="test" [4]="" [5]="/etc/passwd") +declare -ar c +declare -a d=([1]="test test") +declare -a f=([0]="" [1]="bdef" [2]="hello world" [3]="test" [4]="ninth element") +declare -a rv=([0]="this" [1]="is" [2]="a" [3]="test" [4]="of" [5]="read" [6]="using" [7]="arrays") abde abde bbb @@ -351,8 +351,8 @@ version[agent] version.agent version[agent] foo[bar] version.agent bowl -foobar] foo foo[bar] -bleh bbb bleh +foo foobar] foo[bar] +bbb bleh bleh ab] bar 1 @@ -364,22 +364,22 @@ bar main main function function function function -declare -a x='([0]="0" [1]="1" [2]="2" [3]="3" [4]="4" [5]="5")' -declare -a x='([0]="0" [1]="1" [2]="2" [3]="3" [4]="4")' -declare -a x='([0]="0" [1]="1" [2]="2" [4]="4")' -./array14.sub: line 11: [-10]: bad array subscript -declare -a x='([0]="0" [1]="1" [2]="2" [3]="3" [4]="4")' -declare -a x='([0]="0" [1]="1" [2]="2" [3]="3" [4]="4" [5]="five")' -declare -a x='([0]="0" [1]="1" [2]="2" [3]="3" [4]="4" [5]="5")' -declare -a x='([0]="0" [1]="1" [2]="2" [3]="3" [4]="4" [5]="5foo")' -declare -a x='([0]="0" [1]="1" [2]="2" [3]="3" [4]="4" [5]="5")' -declare -a x='([0]="0" [1]="1" [2]="2" [3]="3" [4]="4four" [5]="5")' +declare -a x=([0]="0" [1]="1" [2]="2" [3]="3" [4]="4" [5]="5") +declare -a x=([0]="0" [1]="1" [2]="2" [3]="3" [4]="4") +declare -a x=([0]="0" [1]="1" [2]="2" [4]="4") +./array14.sub: line 11: unset: [-10]: bad array subscript +declare -a x=([0]="0" [1]="1" [2]="2" [3]="3" [4]="4") +declare -a x=([0]="0" [1]="1" [2]="2" [3]="3" [4]="4" [5]="five") +declare -a x=([0]="0" [1]="1" [2]="2" [3]="3" [4]="4" [5]="5") +declare -a x=([0]="0" [1]="1" [2]="2" [3]="3" [4]="4" [5]="foo") +declare -a x=([0]="0" [1]="1" [2]="2" [3]="3" [4]="4" [5]="5") +declare -a x=([0]="0" [1]="1" [2]="2" [3]="3" [4]="4four" [5]="5") strlen(4four) = 5 -1 2 xx 3 1 2 0 3 -1 2 xx 3 1 2 0 3 -1 2 xx 3 +1 2 0 3 +1 2 0 3 +1 2 0 3 foo index 1: ok foo index 2: ok foo: implicit reference to element 0: ok @@ -388,3 +388,117 @@ bar: array with element zero unset: ok bar: element zero: ok qux: unset array: ok qux: unset array element 0: ok +2 +2 +2 +2 +0 +0 +1 +2 +0 +0 +3 +3 +0 +0 +zero +zero +one +one +one +one +two +two +./array17.sub: line 76: ~ : syntax error: operand expected (error token is "~ ") +1 +argv[1] = <> +argv[2] = <> +argv[3] = <> +argv[1] = +argv[1] = <--> +argv[1] = <> +argv[1] = +argv[1] = <-> +argv[2] = <-> +argv[1] = < > +argv[1] = <> +argv[2] = <> +argv[3] = <> +argv[1] = +argv[1] = <--> +argv[1] = <> +argv[1] = +argv[1] = <-> +argv[2] = <-> +argv[1] = < > +declare -a foo=([0]="( zeroind )") +declare -a foo=([0]="zeroind") +declare -a foo=([0]="zeroind") +declare -a foo=([0]="[0]=bar") +declare -a foo=([0]="[0]=bar") +declare -a foo=([0]="[0]=bar") +declare -- a="(1 2 3)" +declare -a a=([0]="1" [1]="2" [2]="3") +./array19.sub: line 46: a: 1: must use subscript when assigning associative array +./array19.sub: line 46: a: 2: must use subscript when assigning associative array +./array19.sub: line 46: a: 3: must use subscript when assigning associative array +declare -A a=() +declare -- a="([0]=a [1]=b)" +declare -a a=([0]="a" [1]="b") +declare -A a=([0]="a" [1]="b" ) +declare -a var=([0]="[\$(echo" [1]="total" [2]="0)]=1" [3]="[2]=2]") +declare -a var=([0]="[\$(echo total 0)]=1 [2]=2]") +declare -a var=([0]="[\$(echo" [1]="total" [2]="0)]=1" [3]="[2]=2]") +./array19.sub: line 81: total 0: syntax error in expression (error token is "0") +declare -a var=() +declare -al foo=([0]="abcde" [1]="two" [2]="three") +declare -al foo=([0]="abcde") +declare -al ar=([0]="one" [1]="two" [2]="three") +declare -a a=([2]="foo") +declare -a a=([2]="foo") +declare -a a=([1]="(var)" [2]="foo") +./array19.sub: line 120: warning: a[1]=(var): quoted compound array assignment deprecated +declare -a a=([1]="(var)") +declare -a a=([0]="1" [1]="2" [2]="(1 2 3)") +declare -a a=([0]="1" [1]="2" [2]="(1 2 3)") +declare -a a=([0]="1" [1]="2" [2]="3") +declare -a a=([0]="1" [1]="2" [2]="3") +declare -a a=([0]="1" [1]="2" [2]="3") +declare -- a="a b" +declare -- b="/scratch/bash" +declare -- c="(1 2)" +declare -- d="(\$a)" +declare -- e="(\$(echo Darwin))" +declare -a a=([0]="a b") +declare -a b=([0]="/scratch/bash") +declare -a c=([0]="1" [1]="2") +declare -a d=([0]="a" [1]="b") +declare -a e=([0]="Darwin") +./array19.sub: line 166: c: 1: must use subscript when assigning associative array +./array19.sub: line 166: c: 2: must use subscript when assigning associative array +./array19.sub: line 166: d: $a: must use subscript when assigning associative array +./array19.sub: line 166: e: $(echo Darwin): must use subscript when assigning associative array +declare -A a=([0]="a b" ) +declare -A b=([0]="/scratch/bash" ) +declare -A c=() +declare -A d=() +declare -A e=() +a+b+c +x+b+c +a+b+c +x+b+c +argv[1] = +argv[1] = +a b c +x b c +a b c +x b c +declare -a a=([1]="2" [2]="3" [3]="4") +abcd +unset +./array21.sub: line 17: typeset: a: not found +./array21.sub: line 20: typeset: A: not found +declare -a a=() +declare -A A=() +declare -a foo=([0]="1" [1]="(4 5 6)" [2]="3") diff --git a/tests/array.tests b/tests/array.tests index 4c176514a..b10539376 100644 --- a/tests/array.tests +++ b/tests/array.tests @@ -384,19 +384,16 @@ ${THIS_SH} ./array6.sub ${THIS_SH} ./array7.sub ${THIS_SH} ./array8.sub - ${THIS_SH} ./array9.sub - ${THIS_SH} ./array10.sub - ${THIS_SH} ./array11.sub - ${THIS_SH} ./array12.sub - ${THIS_SH} ./array13.sub - ${THIS_SH} ./array14.sub - ${THIS_SH} ./array15.sub - ${THIS_SH} ./array16.sub +${THIS_SH} ./array17.sub +${THIS_SH} ./array18.sub +${THIS_SH} ./array19.sub +${THIS_SH} ./array20.sub +${THIS_SH} ./array21.sub diff --git a/tests/array17.sub b/tests/array17.sub new file mode 100644 index 000000000..302dc0395 --- /dev/null +++ b/tests/array17.sub @@ -0,0 +1,78 @@ +# this shows the expansions an array subscript undergoes before being run +# through the arithmetic evaluator + +b=(0 1 2 3) + +# array subscripts undergo variable expansion +a=2 +echo ${b[$a]} + +# array subscripts undergo command substitution +echo ${b[$(echo 2)]} + +c='1+1' +d='1-+1' + +# array subscripts are expanded and the expanded value is treated as an +# expression +echo ${b[$c]} +echo ${b[c]} + +echo ${b[$d]} +echo ${b[d]} + +# array subscripts undergo parameter expansion +set -- 1 2 3 +echo ${b[$1]} + +# array subscripts undergo tilde expansion +HOME=2 +echo ${b[~]} + +# array subscripts undergo word splitting -- bug in bash versions through 4.3 + +x='b[$d]' +IFS=- +echo $((x)) +IFS=$' \t\n' + +set -- 1 + 2 + +x='d' +IFS=- +echo $((x)) +IFS=$' \t\n' + +# start of quoting tests; make sure that subscript is treated as double +# quoted (inhibits word splitting) but that double quotes are silently +# discarded through quote removal + +echo $(( $@ )) +echo "$(( $@ ))" + +echo $(( "$x" )) +echo $(( "x" )) + +unset a foo bar +a=(zero one two three four five six seven eight nine ten) + +echo ${a[0]} +echo ${a["0"]} + +foo=1 +echo ${a[$foo]} +echo ${a["$foo"]} +echo ${a[foo]} +echo ${a["foo"]} + +bar=2 +echo ${a[" $bar "]} +echo ${a[" bar "]} + +# tilde expansion is performed by array subscript expansion but not by posix +# style arithmetic expansion + +HOME=2 +echo $(( ~ )) + + diff --git a/tests/array18.sub b/tests/array18.sub new file mode 100644 index 000000000..675b194e1 --- /dev/null +++ b/tests/array18.sub @@ -0,0 +1,34 @@ +# arrays referenced using @ subscript and positional parameters should behave +# the same way + +foo=(0 0 0); [[ -z ${foo[@]#0} ]]; echo $? + +recho "${foo[@]#0}" +bar=${foo[@]#0} +recho bar +recho $bar +recho -$bar- +recho "$bar" + +qux="${foo[@]#0}" +recho qux +recho $qux +recho -$qux- +recho "$qux" + +unset foo qux bar + +set -- 0 0 0 + +recho "${@#0}" +bar=${@#0} +recho bar +recho $bar +recho -$bar- +recho "$bar" + +qux="${@#0}" +recho qux +recho $qux +recho -$qux- +recho "$qux" diff --git a/tests/array19.sub b/tests/array19.sub new file mode 100644 index 000000000..adfad82ad --- /dev/null +++ b/tests/array19.sub @@ -0,0 +1,167 @@ +# tests for changes to declare and assignment statement arguments post-bash-4.3 + +unset foo l a b + +l="( zeroind )" + +unset foo +declare -a foo +foo="$l" +declare -p foo + +unset foo +declare -a foo="$l" +declare -p foo + +unset foo +declare -a foo=$l +declare -p foo + +b='[0]=bar' + +unset foo +declare -a foo="$b" +declare -p foo + +unset foo +declare -a foo=("$b") +declare -p foo + +unset foo +declare -a foo=($b) +declare -p foo + +unset a + +declare a='(1 2 3)' +declare -p a +unset a + +declare -a a +declare a='(1 2 3)' +declare -p a +unset a + +declare -A a +declare a='(1 2 3)' +declare -p a +unset a + +declare a='([0]=a [1]=b)' +declare -p a +unset a + +declare -a a +declare a='([0]=a [1]=b)' +declare -p a +unset a + +declare -A a +declare a='([0]=a [1]=b)' +declare -p a +unset a +unset var value + +value='[$(echo total 0)]=1 [2]=2]' + +unset var +declare -a var +var=($value) +declare -p var + +unset var +declare -a var=("$value") +declare -p var + +unset var +declare -a var=($value) +declare -p var + +unset var +declare -a var="($value)" +declare -p var +unset foo value + +value="AbCdE" + +declare -a foo +foo=( one two three ) + +declare -l foo="$value" +declare -p foo + +unset foo +value='(AbCdE)' + +declare -a foo +foo=( one two three ) + +declare -l foo="$value" +declare -p foo +unset ar +declare -a ar=(ONE TWO THREE) +declare -al ar=(${ar[@]}) +declare -p ar +unset a + +declare -a a +a[2]=foo +declare -p a + +unset a +declare -a a +declare a[2]=foo +declare -p a + +declare a[1]='(var)' +declare -p a + +unset a +declare a[1]='(var)' +declare -p a +unset a + +a=(1 2 3) +a[2]='(1 2 3)' + +declare -p a + +unset a +a=(1 2 3) +declare a[2]='(1 2 3)' + +declare -p a + +unset a +a=(1 2 3) +declare a='(1 2 3)' + +declare -p a + +unset a +a=(1 2 3) +declare 'a=(1 2 3)' + +declare -p a + +unset a +declare -a a='(1 2 3)' + +declare -p a +unset a b c d e x y + +HOME=/scratch/bash +x='a b' +y='($(echo Darwin))' + +declare a=$x b=~ c='(1 2)' d='($a)' e=$y + +declare -p a b c d e + +unset a b c d e +declare -a a=$x b=~ c='(1 2)' d='($a)' e=$y +declare -p a b c d e + +unset a b c d e +declare -A a=$x b=~ c='(1 2)' d='($a)' e=$y +declare -p a b c d e diff --git a/tests/array20.sub b/tests/array20.sub new file mode 100644 index 000000000..035d936bf --- /dev/null +++ b/tests/array20.sub @@ -0,0 +1,34 @@ +# tests to make sure that $* and ${array[*]} expand consistently in `list' +# and `scalar' contexts + +arr=(a b c) +IFS=+ + +# these two should both expand to `+' separated strings +a=${arr[*]} ; echo "$a" +b=${arr[*]/a/x}; echo "$b" + +set -- a b c + +# these two should both expand to `+' separated strings +a=${*} ; echo "$a" +b=${*/a/x}; echo "$b" + +# these two should both expand to `+' separated strings and it should handle +# characters in IFS as chars in the string +unset a b + +set -- 'a+b' 'c+d' 'e+f' +a=${*} ; recho "$a" +b=${*/a/x}; recho "$b" + +# now let's make sure that @ always uses space separators even in contexts +# where we don't do word splitting +set -- a b c +a=${@} ; echo "$a" +b=${@/a/x}; echo "$b" + +unset a b + +a=${arr[@]} ; echo "$a" +b=${arr[@]/a/x}; echo "$b" diff --git a/tests/array21.sub b/tests/array21.sub new file mode 100644 index 000000000..d1f705e3d --- /dev/null +++ b/tests/array21.sub @@ -0,0 +1,37 @@ +typeset -a a +a=(1 2 3 4) + +typeset -A A +A=([one]=1 [two]=2 [three]=3 [four]=4) + +unset 'a[0]' +typeset -p a + +scalar=abcd +echo ${scalar[0]} + +unset 'scalar[0]' +echo ${scalar-unset} + +unset 'a[@]' +typeset -p a + +unset 'A[@]' +typeset -p A + +typeset -a a +a=(1 2 3 4) +typeset -A A +A=([one]=1 [two]=2 [three]=3 [four]=4) + +# supported, recommended way to unset all array elements +a=() +typeset -p a +A=() +typeset -p A + +declare -a foo +declare foo='(1 2 3)' +declare foo[1]='(4 5 6)' + +declare -p foo diff --git a/tests/assoc.right b/tests/assoc.right index b9fd001c5..0a6951d4a 100644 --- a/tests/assoc.right +++ b/tests/assoc.right @@ -1,23 +1,24 @@ -declare -A BASH_ALIASES='()' -declare -A BASH_CMDS='()' -declare -A fluff='()' -declare -A BASH_ALIASES='()' -declare -A BASH_CMDS='()' -declare -A fluff='([bar]="two" [foo]="one" )' -declare -A fluff='([bar]="two" [foo]="one" )' -declare -A fluff='([bar]="two" )' -declare -A fluff='([bar]="newval" [qux]="assigned" )' +declare -A BASH_ALIASES=() +declare -A BASH_CMDS=() +declare -A fluff +declare -A BASH_ALIASES=() +declare -A BASH_CMDS=() +declare -A fluff=([bar]="two" [foo]="one" ) +declare -A fluff=([bar]="two" [foo]="one" ) +declare -A fluff=([bar]="two" ) +declare -A fluff=([bar]="newval" [qux]="assigned" ) ./assoc.tests: line 26: chaff: four: must use subscript when assigning associative array -declare -A BASH_ALIASES='()' -declare -A BASH_CMDS='()' -declare -Ai chaff='([one]="10" [zero]="5" )' -declare -Ar waste='([version]="4.0-devel" [source]="./assoc.tests" [lineno]="28" [pid]="42134" )' -declare -A wheat='([one]="a" [zero]="0" [two]="b" [three]="c" )' -declare -A chaff='([one]="10" ["hello world"]="flip" [zero]="5" )' -./assoc.tests: line 38: unset: waste: cannot unset: readonly variable -./assoc.tests: line 39: chaff[*]: bad array subscript -./assoc.tests: line 40: [*]=12: invalid associative array key -declare -A chaff='([one]="a" ["hello world"]="flip" )' +declare -A BASH_ALIASES=() +declare -A BASH_CMDS=() +declare -Ai chaff=([one]="10" [zero]="5" ) +declare -Ar waste=([version]="4.0-devel" [source]="./assoc.tests" [lineno]="28" [pid]="42134" ) +declare -A wheat=([two]="b" [three]="c" [one]="a" [zero]="0" ) +declare -A chaff=([one]="10" ["hello world"]="flip" [zero]="5" ) +./assoc.tests: line 38: waste: readonly variable +./assoc.tests: line 39: unset: waste: cannot unset: readonly variable +./assoc.tests: line 40: chaff[*]: bad array subscript +./assoc.tests: line 41: [*]=12: invalid associative array key +declare -A chaff=([one]="a" ["hello world"]="flip" ) flip argv[1] = argv[2] = @@ -31,14 +32,14 @@ argv[2] = argv[3] = argv[4] = argv[1] = -./assoc.tests: line 57: declare: chaff: cannot destroy array variables in this way -./assoc.tests: line 59: chaff[*]: bad array subscript -./assoc.tests: line 60: [*]=12: invalid associative array key -declare -A wheat='([six]="6" ["foo bar"]="qux qix" )' +./assoc.tests: line 58: declare: chaff: cannot destroy array variables in this way +./assoc.tests: line 60: chaff[*]: bad array subscript +./assoc.tests: line 61: [*]=12: invalid associative array key +declare -A wheat=([six]="6" ["foo bar"]="qux qix" ) argv[1] = argv[2] = argv[1] = -declare -A wheat='([six]="6" ["foo bar"]="qux qix" )' +declare -A wheat=([six]="6" ["foo bar"]="qux qix" ) argv[1] = <2> argv[1] = <7> argv[1] = @@ -47,16 +48,16 @@ argv[3] = argv[1] = argv[1] = <16> argv[1] = <16> -argv[1] = -argv[2] = <6> +argv[1] = <6> +argv[2] = argv[1] = argv[2] = argv[3] = argv[1] = argv[2] = 8 -/usr/local/bin . /bin /sbin /usr/sbin /usr/bin /bin /usr/ucb -bin . bin sbin sbin bin bin ucb +. /sbin /usr/bin /bin /usr/ucb /usr/local/bin /bin /usr/sbin +. sbin bin bin ucb bin bin sbin bin / / / / / / / / @@ -65,16 +66,16 @@ argv[1] = argv[1] = argv[1] = 8 -/usr/local/bin . /bin /sbin /usr/sbin /usr/bin /bin /usr/ucb -bin . bin sbin sbin bin bin ucb +. /sbin /usr/bin /bin /usr/ucb /usr/local/bin /bin /usr/sbin +. sbin bin bin ucb bin bin sbin / / / / / / / 8 4 -- /bin -^usr^local^bin . ^bin ^sbin ^usr^sbin ^usr^bin ^bin ^usr^ucb -^usr^local^bin . ^bin ^sbin ^usr^sbin ^usr^bin ^bin ^usr^ucb -\usr/local/bin . \bin \sbin \usr/sbin \usr/bin \bin \usr/ucb -\usr\local\bin . \bin \sbin \usr\sbin \usr\bin \bin \usr\ucb -\usr\local\bin . \bin \sbin \usr\sbin \usr\bin \bin \usr\ucb +. ^sbin ^usr^bin ^bin ^usr^ucb ^usr^local^bin ^bin ^usr^sbin +. ^sbin ^usr^bin ^bin ^usr^ucb ^usr^local^bin ^bin ^usr^sbin +. \sbin \usr/bin \bin \usr/ucb \usr/local/bin \bin \usr/sbin +. \sbin \usr\bin \bin \usr\ucb \usr\local\bin \bin \usr\sbin +. \sbin \usr\bin \bin \usr\ucb \usr\local\bin \bin \usr\sbin ([a]=1) qux foo @@ -87,23 +88,23 @@ hits command blat qux sh foo /sbin/blat /usr/local/bin/qux /bin/sh /usr/sbin/foo -foo qux -argv[1] = -argv[2] = -argv[3] = <-l> +qux foo +argv[1] = +argv[2] = <-l> +argv[3] = alias blat='cd /blat ; echo $PWD' alias foo='/usr/sbin/foo' alias qux='/usr/local/bin/qux -l' alias sh='/bin/bash --login -o posix' -sh foo blat qux -argv[1] = -argv[2] = -argv[3] = -argv[4] = +blat qux sh foo +argv[1] = +argv[2] = +argv[3] = +argv[4] = outside: outside -declare -A BASH_ALIASES='()' -declare -A BASH_CMDS='()' -declare -A afoo='([six]="six" ["foo bar"]="foo quux" )' +declare -A BASH_ALIASES=() +declare -A BASH_CMDS=() +declare -A afoo=([six]="six" ["foo bar"]="foo quux" ) argv[1] = argv[2] = argv[3] = @@ -137,56 +138,60 @@ abc def def ./assoc5.sub: line 13: declare: `myarray[foo[bar]=bleh': not a valid identifier -abc def bleh -myarray=(["a]a"]="abc" ["]"]="def" ["a]=test1;#a"]="123" [foo]="bleh" ) +bleh abc def +myarray=(["a]=test1;#a"]="123" [foo]="bleh" ["a]a"]="abc" ["]"]="def" ) 123 -myarray=(["a]a"]="abc" ["a]=test2;#a"]="def" ["]"]="def" ["a]=test1;#a"]="123" [foo]="bleh" ) +myarray=(["a]=test1;#a"]="123" [foo]="bleh" ["a]a"]="abc" ["a]=test2;#a"]="def" ["]"]="def" ) bar"bie doll -declare -A foo='(["bar\"bie"]="doll" )' +declare -A foo=(["bar\"bie"]="doll" ) bar"bie doll -declare -A foo='(["bar\"bie"]="doll" )' +declare -A foo=(["bar\"bie"]="doll" ) bar"bie doll -declare -A foo='(["bar\"bie"]="doll" )' +declare -A foo=(["bar\"bie"]="doll" ) bar"bie doll -declare -A foo='(["bar\"bie"]="doll" )' +declare -A foo=(["bar\"bie"]="doll" ) bar"bie doll -declare -A foo='(["bar\"bie"]="doll" )' +declare -A foo=(["bar\"bie"]="doll" ) bar'bie doll -declare -A foo='(["bar'\''bie"]="doll" )' +declare -A foo=(["bar'bie"]="doll" ) bar'bie doll -declare -A foo='(["bar'\''bie"]="doll" )' +declare -A foo=(["bar'bie"]="doll" ) bar'bie doll -declare -A foo='(["bar'\''bie"]="doll" )' +declare -A foo=(["bar'bie"]="doll" ) bar'bie doll -declare -A foo='(["bar'\''bie"]="doll" )' +declare -A foo=(["bar'bie"]="doll" ) bar'bie doll -declare -A foo='(["bar'\''bie"]="doll" )' +declare -A foo=(["bar'bie"]="doll" ) bar$bie doll -declare -A foo='(["bar\$bie"]="doll" )' +declare -A foo=(["bar\$bie"]="doll" ) bar[bie doll -declare -A foo='(["bar[bie"]="doll" )' +declare -A foo=(["bar[bie"]="doll" ) bar`bie doll -declare -A foo='(["bar\`bie"]="doll" )' +declare -A foo=(["bar\`bie"]="doll" ) bar\]bie doll -declare -A foo='(["bar\\]bie"]="doll" )' +declare -A foo=(["bar\\]bie"]="doll" ) bar${foo}bie doll -declare -A foo='(["bar\${foo}bie"]="doll" )' +declare -A foo=(["bar\${foo}bie"]="doll" ) bar after printf after use: 0 +declare -A assoc=([0]="assoc" ) +assoc +declare -A assoc=([two]="twoless" [three]="three" [one]="onemore" ) +declare -Ar assoc=([two]="twoless" [three]="three" [one]="onemore" ) diff --git a/tests/assoc.tests b/tests/assoc.tests index c3fb18e60..32536b8d2 100644 --- a/tests/assoc.tests +++ b/tests/assoc.tests @@ -35,6 +35,7 @@ chaff[hello world]=flip declare -p chaff # TEST - errors +waste[stuff]=other unset waste chaff[*]=12 chaff=( [one]=a [*]=12 ) @@ -186,3 +187,23 @@ ${THIS_SH} ./assoc5.sub ${THIS_SH} ./assoc6.sub ${THIS_SH} ./assoc7.sub + +# test converting between scalars and assoc arrays +unset assoc +assoc=assoc +declare -A assoc +declare -p assoc +echo ${assoc[@]} + +# weird syntax required to append to multiple existing array elements using +# compound assignment syntax +unset assoc +declare -A assoc +assoc=( [one]=one [two]=two [three]=three ) +assoc+=( [one]+=more [two]+=less ) +declare -p assoc + +readonly -A assoc +declare -p assoc + +${THIS_SH} ./assoc8.sub diff --git a/tests/assoc8.sub b/tests/assoc8.sub new file mode 100644 index 000000000..83b43f489 --- /dev/null +++ b/tests/assoc8.sub @@ -0,0 +1,7 @@ +# warnings introduced beginning with bash-4.4-alpha + +var=foo; declare -A "arr$var=([x]=y)" + +key1=foo key2=bar + +declare -A a=([foo]='([bar]=baz)') "b=${a[$key1]}" diff --git a/tests/attr.right b/tests/attr.right new file mode 100644 index 000000000..631b3f417 --- /dev/null +++ b/tests/attr.right @@ -0,0 +1,37 @@ +after f1:declare -ar a=([0]="1") +./attr.tests: line 4: a: readonly variable +after f2:declare -ar a=([0]="1") +./attr.tests: line 5: a: readonly variable +after f3:declare -ar a=([0]="1") +./attr.tests: line 6: readonly: a: readonly variable +after f4:declare -ar a=([0]="1") +after f2:declare -ar b=([0]="2") +after f3:declare -ar c=([0]="(3)") +after f4:declare -ar d=([0]="4") +declare -r m="4" +in func:declare -r n="4" +declare -r n="4" +./attr1.sub: line 13: p: readonly variable +declare -r p="1" +./attr1.sub: line 19: r: readonly variable +declare -ar r=([0]="1") +./attr1.sub: line 23: r: readonly variable +declare -ar r=([0]="1") +./attr1.sub: line 27: r: readonly variable +declare -ar r=([0]="1") +./attr1.sub: line 31: readonly: r: readonly variable +declare -ar r=([0]="1") +declare -ar x=([0]="4") +in func:declare -ar y=([0]="4") +declare -ar y=([0]="4") +in func:declare -ar z=([0]="4") +declare -ar z=([0]="4") +in func:declare -ar y1=([0]="4") +declare -ar y1=([0]="4") +in func:declare -ar z1=([0]="4") +declare -ar z1=([0]="4") +declare -x p="4" +declare -ax r=([0]="4") +declare -ax r=([0]="(5)") +declare -ax r=([0]="6") +declare -ax r=([0]="7") diff --git a/tests/attr.tests b/tests/attr.tests new file mode 100644 index 000000000..b5e01596a --- /dev/null +++ b/tests/attr.tests @@ -0,0 +1,41 @@ +a=(outside) + +f1() { readonly a=(1) ; } +f2() { readonly -a a=(2) ; } +f3() { readonly 'a=(3)' ; } +f4() { readonly -a 'a=(4)' ; } + +f1 +echo -n after f1: +declare -p a +f2 +echo -n after f2: +declare -p a +f3 +echo -n after f3: +declare -p a +f4 +echo -n after f4: +declare -p a + +b=(outside) +c=(outside) +d=(outside) + +f2() { readonly -a b=(2) ; } +f3() { readonly 'c=(3)' ; } +f4() { readonly -a 'd=(4)' ; } + +f2 +echo -n after f2: +declare -p b +f3 +echo -n after f3: +declare -p c +f4 +echo -n after f4: +declare -p d + +${THIS_SH} ./attr1.sub +${THIS_SH} ./attr2.sub + diff --git a/tests/attr1.sub b/tests/attr1.sub new file mode 100644 index 000000000..1c0609abc --- /dev/null +++ b/tests/attr1.sub @@ -0,0 +1,55 @@ +m=1 +readonly m=4 +declare -p m + +n=1 +f() { readonly n=4; echo -n in func: ; declare -p n ; } +f +declare -p n + +p=1 +readonly p + +readonly p=4 +declare -p p + +r=(1) +readonly r + +f() { readonly r=(4) ; } +f +declare -p r + +f() { readonly r='(5)' ; } +f +declare -p r + +f() { readonly -a r=(6) ; } +f +declare -p r + +f() { readonly -a r='(7)' ; } +f +declare -p r + +x=(1) +readonly x=(4) +declare -p x + +y=(1) +f() { readonly y=(4); echo -n in func: ; declare -p y; } +f +declare -p y + +z=(1) +f() { readonly -a z=(4); echo -n in func: ; declare -p z; } +f +declare -p z + +f() { readonly y1=(4); echo -n in func: ; declare -p y1; } +f +declare -p y1 + +f() { readonly -a z1=(4); echo -n in func: ; declare -p z1; } +f +declare -p z1 diff --git a/tests/attr2.sub b/tests/attr2.sub new file mode 100644 index 000000000..28d447cc4 --- /dev/null +++ b/tests/attr2.sub @@ -0,0 +1,24 @@ +p=1 +export p + +export p=4 +declare -p p + +r=(1) +export r + +f() { export r=(4) ; } +f +declare -p r + +f() { export r='(5)' ; } +f +declare -p r + +f() { export -a r=(6) ; } +f +declare -p r + +f() { export -a r='(7)' ; } +f +declare -p r diff --git a/tests/builtins.right b/tests/builtins.right index bafc53fb1..32db2a535 100644 --- a/tests/builtins.right +++ b/tests/builtins.right @@ -158,14 +158,81 @@ b before: f = 4 inside after: f = 8 bar = 4 -./builtins4.sub: line 2: declare: c: not found -./builtins4.sub: line 5: declare: d: not found -declare -a c='([0]="4")' -declare -A c='([0]="4" )' -declare -a c='([0]="1" [1]="2" [2]="3")' -declare -A c='([one]="1" [two]="2" [three]="3" )' -declare -a c='([0]="1" [1]="2" [2]="3")' -declare -a c='([0]="1" [1]="2" [2]="3")' +declare -a c +declare -A d +declare -a c=([0]="4") +declare -A c=([0]="4" ) +declare -a c=([0]="1" [1]="2" [2]="3") +declare -A c=([two]="2" [three]="3" [one]="1" ) +declare -a c=([0]="1" [1]="2" [2]="3") +declare -a c=([0]="1" [1]="2" [2]="3") unset unset -./builtins.tests: line 260: exit: status: numeric argument required +assoc 1 unset +array 1 unset +assoc 2 unset +array 2 unset +unset1 +unset2 +1 +1 +1 +1 +assoc A +array a +assoc B unset +array b unset +scalar 1 +scalar 2 +scalar 3 unset +argv[1] = +assoc: 3 +array: 3 +scalar: 13 +scalar: 1 +scalar: 0 +scalar: 1 +scalar: 0 +scalar: 0 +all set: +one +two +f1 () +{ + echo f1 +} +f2 () +{ + echo f2 +} +all unset: +unset1 +unset2 +./builtins6.sub: line 28: declare: f1: not found +./builtins6.sub: line 28: declare: f2: not found +all reset: +one-one +two-one +f1 () +{ + echo f1 +} +f2 () +{ + echo f2 +} +vars unset: +unset1 +unset2 +f1 () +{ + echo f1 +} +f2 () +{ + echo f2 +} +funcs unset: +one-two +two-two +./builtins.tests: line 266: exit: status: numeric argument required diff --git a/tests/builtins.tests b/tests/builtins.tests index 9d775201a..ac74fe6fa 100644 --- a/tests/builtins.tests +++ b/tests/builtins.tests @@ -256,6 +256,12 @@ ${THIS_SH} ./builtins3.sub # test behavior of using declare to create variables without assigning values ${THIS_SH} ./builtins4.sub +# test behavior of set and unset array variables +${THIS_SH} ./builtins5.sub + +# test behavior of unset builtin with -f and -v options +${THIS_SH} ./builtins6.sub + # this must be last -- it is a fatal error exit status diff --git a/tests/builtins5.sub b/tests/builtins5.sub new file mode 100644 index 000000000..9a5dd7b99 --- /dev/null +++ b/tests/builtins5.sub @@ -0,0 +1,61 @@ +# a start at a test suite for what it means for an array to be set or unset and +# how to test that state +typeset -A A +A[a]=1 +typeset -a a +a[1]=1 + +if [ -v A ]; then echo assoc 1; else echo assoc 1 unset; fi +if [ -v a ]; then echo array 1; else echo array 1 unset; fi + +if [ -v "${A[@]}" ]; then echo assoc 2; else echo assoc 2 unset; fi +if [ -v "${a[@]}" ]; then echo array 2; else echo array 2 unset; fi + +echo ${A-unset1} +echo ${a-unset2} + +echo ${A[@]-unset3} +echo ${a[@]-unset4} + +echo ${#A[@]} +echo ${#a[@]} + +typeset -A B +typeset -a b + +scalar1=foo +scalar2= + +if [ -v A[@] ]; then echo assoc A; else echo assoc A unset; fi +if [ -v a[@] ]; then echo array a; else echo array a unset; fi + +if [ -v B[@] ]; then echo assoc B; else echo assoc B unset; fi +if [ -v b[@] ]; then echo array b; else echo array b unset; fi + +if [ -v scalar1[@] ]; then echo scalar 1; else echo scalar 1 unset; fi +if [ -v scalar2[@] ]; then echo scalar 2; else echo scalar 2 unset; fi +if [ -v scalar3[@] ]; then echo scalar 3; else echo scalar 3 unset; fi + +unset a A +declare -A assoc=([one]=one [two]=two [three]=three) +declare -a array=(one two three) + +scalar="one two three" +scalar2= + +recho "${scalar[@]}" + +echo assoc: ${#assoc[@]} +echo array: ${#array[@]} + +echo scalar: ${#scalar} +echo scalar: ${#scalar[@]} + +echo scalar: ${#scalar2} +echo scalar: ${#scalar2[@]} + +echo scalar: ${#scalar3} +echo scalar: ${#scalar3[@]} + + + diff --git a/tests/builtins6.sub b/tests/builtins6.sub new file mode 100644 index 000000000..c18b47663 --- /dev/null +++ b/tests/builtins6.sub @@ -0,0 +1,68 @@ +f1() +{ + echo f1 +} + +f2() +{ + echo f2 +} + +v1=one +v2=two + +echo all set: + +echo ${v1-unset1} +echo ${v2-unset2} + +declare -f -p f1 f2 + +unset v1 f1 v2 f2 + +echo all unset: + +echo ${v1-unset1} +echo ${v2-unset2} + +declare -f -p f1 f2 + +f1() +{ + echo f1 +} + +f2() +{ + echo f2 +} + +v1=one-one +v2=two-one + +echo all reset: +echo ${v1-unset1} +echo ${v2-unset2} + +declare -f -p f1 f2 + +unset -v v1 f1 v2 f2 + +echo vars unset: + +echo ${v1-unset1} +echo ${v2-unset2} + +declare -f -p f1 f2 + +v1=one-two +v2=two-two + +unset -f v1 f1 v2 f2 + +echo funcs unset: + +echo ${v1-unset1} +echo ${v2-unset2} + +declare -f f1 f2 diff --git a/tests/case.right b/tests/case.right index 58ab2a4fa..a17234b9f 100644 --- a/tests/case.right +++ b/tests/case.right @@ -7,6 +7,13 @@ no more clauses 1.0 ./case.tests: line 29: xx: readonly variable 1.1 +matches 1 +no +no +no +no +no +ok ok 1 ok 2 ok 3 diff --git a/tests/case.tests b/tests/case.tests index 547e8ccd6..7ab316a7e 100644 --- a/tests/case.tests +++ b/tests/case.tests @@ -29,5 +29,25 @@ readonly xx=1 case 1 in $((xx++)) ) echo hi1 ;; *) echo hi2; esac echo ${xx}.$? +unset var empty + +var= +case ']' in +[$var]*[$var]) echo matches 1;; +*) echo no match 1 ;; +esac + +case abc in ( [] ) echo yes ;; ( * ) echo no ;; esac +empty='' +case abc in ( ["$empty"] ) echo yes ;; ( * ) echo no ;; esac + +case abc in ( [] | [!a-z]* ) echo yes ;; ( * ) echo no ;; esac +empty='' +case abc in ( ["$empty"] | [!a-z]* ) echo yes ;; ( * ) echo no ;; esac + +case abc in (["$empty"]|[!a-z]*) echo yes ;; (*) echo no ;; esac + +case " " in ( [" "] ) echo ok;; ( * ) echo no;; esac + # tests of quote removal and pattern matching ${THIS_SH} ./case1.sub diff --git a/tests/casemod.right b/tests/casemod.right index 958b28dc6..ca1de49a9 100644 --- a/tests/casemod.right +++ b/tests/casemod.right @@ -43,3 +43,7 @@ Be Conservative in what you send and Liberal in what you accept BE CONSERVATIVE IN WHAT YOU SEND AND LIBERAL IN WHAT YOU ACCEPT Be conservative in what you send and liberal in what you accept BE CONSERVATIVE IN WHAT YOU SEND AND LIBERAL IN WHAT YOU ACCEPT +AcknOwlEdgEmEnt acknOwlEdgEmEnt +oeNoPHiLe OEnOphIlE +abcdexyz +ABCDEXYZ diff --git a/tests/casemod.tests b/tests/casemod.tests index 3c7ad23fe..dacdb0a87 100644 --- a/tests/casemod.tests +++ b/tests/casemod.tests @@ -97,3 +97,17 @@ echo ${TEXT^^} echo ${TEXT2^} echo ${TEXT2^^} + +M1=${S1^^[aeiou]} +M2=${U2,,[AEIOU]} + +echo ${M1} ${M1~} +echo ${M2} ${M2~~} + +declare -l lower=aBcDe +lower+=XyZ +echo $lower + +declare -u upper=aBcDe +upper+=xYZ +echo $upper diff --git a/tests/comsub-posix.right b/tests/comsub-posix.right index ab04c52ae..2290aa6dc 100644 --- a/tests/comsub-posix.right +++ b/tests/comsub-posix.right @@ -71,3 +71,4 @@ swap32_posix () done } yes +ab cde diff --git a/tests/comsub-posix.tests b/tests/comsub-posix.tests index bcfeede08..0650ca987 100644 --- a/tests/comsub-posix.tests +++ b/tests/comsub-posix.tests @@ -217,3 +217,16 @@ unset x # fixed after bash-4.0 released : $(case a in a) echo ;; # comment esac) + +# fixed after bash-4.3 released +testing=$( + echo test | while read line; do + case $line in + test) echo saw test ;; + *) echo other ;; + esac + done +) + +# recommended to be parsed as a nested comsub instead of arithsub +echo $(( echo ab cde ) ) diff --git a/tests/comsub.right b/tests/comsub.right index 9894529c0..09518aae8 100644 --- a/tests/comsub.right +++ b/tests/comsub.right @@ -27,3 +27,24 @@ ok 3 ok 4 ok 5 ok 6 +xyz +\/tmp\/foo\/bar +/tmp/foo/bar +/tmp/foo/bar +/tmp/foo/bar +1 +2 +3 +4 +5 +6 +5 +6 +a +b +c +a +b +c +1 +2 diff --git a/tests/comsub.tests b/tests/comsub.tests index 493bbda07..4defc31eb 100644 --- a/tests/comsub.tests +++ b/tests/comsub.tests @@ -41,4 +41,9 @@ bar'` echo $(recho 'foo\ bar') +# long-standing parse error in all versions up through bash-4.3 +echo ${foo:-$(echo a{b,c})} >/dev/null + ${THIS_SH} ./comsub1.sub +${THIS_SH} ./comsub2.sub +${THIS_SH} ./comsub3.sub diff --git a/tests/comsub1.sub b/tests/comsub1.sub index 86565e2c4..216e03f1f 100644 --- a/tests/comsub1.sub +++ b/tests/comsub1.sub @@ -46,3 +46,9 @@ esac) echo $(case a in (a) echo ok 6 # comment ;; esac) + +echo $( # we just took and pasted in some +# code from another script inside a +# command substitution +echo xyz +) diff --git a/tests/comsub2.sub b/tests/comsub2.sub new file mode 100644 index 000000000..a2d58ad01 --- /dev/null +++ b/tests/comsub2.sub @@ -0,0 +1,8 @@ +qpath='\/tmp\/foo\/bar' + +echo "$qpath" + +# it's crazy that all three of these produce the same result +echo ${qpath//\\/} +echo ${qpath//"`echo \\`"/} +echo ${qpath//`echo "\\\\\\\\"`/} diff --git a/tests/comsub3.sub b/tests/comsub3.sub new file mode 100644 index 000000000..694740006 --- /dev/null +++ b/tests/comsub3.sub @@ -0,0 +1,31 @@ +x=$( + case 1 in + 1) echo 1 + esac + case 2 in + 2) echo 2 + esac +) +echo "$x" + +x=$(case 1 in 1) echo 3;; esac; case 2 in 2) echo 4;; esac;) +echo "$x" + +x=$(case 1 in 1) echo 5;; esac; case 2 in 2) echo 6;; esac) +echo "$x" + +x=$(case 1 in 1) echo 5;; esac; case 2 in 2) echo 6;; esac; for f in a b c; do echo "$f" ; done) +echo "$x" + +x=$( + for f in a b c; do + echo $f + done + case 1 in + 1) echo 1 + esac + case 2 in + 2) echo 2 + esac +) +echo "$x" diff --git a/tests/cond.right b/tests/cond.right index 80bb5ce8f..18ebd0603 100644 --- a/tests/cond.right +++ b/tests/cond.right @@ -41,6 +41,11 @@ found 2 libc ok 42 ok 43 +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 match 1 match 2 match 3 diff --git a/tests/cond.tests b/tests/cond.tests index d91ddddfe..8e4548acb 100755 --- a/tests/cond.tests +++ b/tests/cond.tests @@ -180,6 +180,17 @@ echo ${BASH_REMATCH[@]} if [[ "123abc" == *?(a)bc ]]; then echo ok 42; else echo bad 42; fi if [[ "123abc" == *?(a)bc ]]; then echo ok 43; else echo bad 43; fi +foo="" +[[ bar == *"${foo,,}"* ]] && echo ok 1 +[[ bar == *${foo,,}* ]] && echo ok 2 + +shopt -s extquote +bs='\' +del=$'\177' +[[ bar == *$bs"$del"* ]] || echo ok 3 +[[ "" == "$foo" ]] && echo ok 4 +[[ "$del" == "${foo,,}" ]] || echo ok 5 + ${THIS_SH} ./cond-regexp1.sub ${THIS_SH} ./cond-regexp2.sub diff --git a/tests/coproc.right b/tests/coproc.right index 6d9deaa41..94b001cd1 100644 --- a/tests/coproc.right +++ b/tests/coproc.right @@ -1,11 +1,8 @@ -84575 63 60 a b c -84577 63 60 flop -./coproc.tests: line 22: 84577 Terminated coproc REFLECT { cat -; } -84579 +coproc.tests: REFLECT: status 143 63 60 FOO 63 60 diff --git a/tests/coproc.tests b/tests/coproc.tests index 8be356347..d347eb749 100644 --- a/tests/coproc.tests +++ b/tests/coproc.tests @@ -1,6 +1,13 @@ +: ${TMPDIR:=/tmp} +TMPOUT=${TMPDIR}/coproc-wait-$BASHPID + coproc { echo a b c; sleep 2; } -echo $COPROC_PID +case $COPROC_PID in +[0-9]*) ;; +*) echo COPROC_PID not integer ;; +esac + echo ${COPROC[@]} read LINE <&${COPROC[0]} @@ -10,7 +17,11 @@ wait $COPROC_PID coproc REFLECT { cat - ; } -echo $REFLECT_PID +case $REFLECT_PID in +[0-9]*) ;; +*) echo REFLECT_PID not integer ;; +esac + echo ${REFLECT[@]} echo flop >&${REFLECT[1]} @@ -18,12 +29,21 @@ read LINE <&${REFLECT[0]} echo $LINE -kill $REFLECT_PID -wait $REFLECT_PID +{ sleep 1; kill $REFLECT_PID; } & +wait $REFLECT_PID >$TMPOUT 2>&1 || echo "coproc.tests: REFLECT: status $?" +grep 'Terminated.*coproc.*REFLECT' < $TMPOUT >/dev/null 2>&1 || { + echo "coproc.tests: wait for REFLECT failed" >&2 +} +rm -f $TMPOUT +exec 2>&1 coproc xcase -n -u -echo $COPROC_PID +case $COPROC_PID in +[0-9]*) ;; +*) echo COPROC_PID not integer ;; +esac + echo ${COPROC[@]} echo foo >&${COPROC[1]} diff --git a/tests/dollar-at-star b/tests/dollar-at-star index 9a5d402a2..2d2a1b66e 100755 --- a/tests/dollar-at-star +++ b/tests/dollar-at-star @@ -211,6 +211,20 @@ esac # arrays) -- bugs through bash 4.2 ${THIS_SH} ./dollar-at-star1.sub +# more tests for expanding $@ and $* in a context where there is no word +# splitting +${THIS_SH} ./dollar-at-star2.sub +${THIS_SH} ./dollar-at-star3.sub +${THIS_SH} ./dollar-at-star4.sub +${THIS_SH} ./dollar-at-star5.sub +${THIS_SH} ./dollar-at-star6.sub +${THIS_SH} ./dollar-at-star7.sub + +# tests for expansions of $@ and ${a[@]} (vs. $* and ${a[*]}) on the RHS of +# assignment statements with non-default IFS: $@ expands to args or array +# members separated by spaces +${THIS_SH} ./dollar-at-star8.sub + # tests for special expansion of "$*" and "${array[*]}" when used with other # expansions -- bugs through bash-2.05b ${THIS_SH} ./dollar-star1.sub diff --git a/tests/dollar-at-star2.sub b/tests/dollar-at-star2.sub new file mode 100644 index 000000000..780548ed6 --- /dev/null +++ b/tests/dollar-at-star2.sub @@ -0,0 +1,207 @@ +OIFS="$IFS" +foo=' ,foo' +set -- "$foo" + +if [[ $foo = ,* ]]; then echo bad 1; else echo ok 1; fi +if [[ $@ = ,* ]]; then echo bad 2; else echo ok 2; fi +if [[ $* = ,* ]]; then echo bad 3; else echo ok 3; fi +if [[ ${@} = ,* ]]; then echo bad 4; else echo ok 4; fi +if [[ ${*} = ,* ]]; then echo bad 5; else echo ok 5; fi +if [[ $1 = ,* ]]; then echo bad 6; else echo ok 6; fi + +set -- ' ,foo' +if [[ $foo = ,* ]]; then echo bad 7; else echo ok 7; fi +if [[ $@ = ,* ]]; then echo bad 8; else echo ok 8; fi +if [[ $* = ,* ]]; then echo bad 9; else echo ok 9; fi +if [[ ${@} = ,* ]]; then echo bad 10; else echo ok 10; fi +if [[ ${*} = ,* ]]; then echo bad 11; else echo ok 11; fi +if [[ $1 = ,* ]]; then echo bad 12; else echo ok 12; fi + +IFS= +if [[ $@ = ,* ]]; then echo bad 13; else echo ok 13; fi +if [[ $* = ,* ]]; then echo bad 14; else echo ok 14; fi +IFS="$OIFS" + +foo=' ,foo' +set -- ' ' ',foo' + +if [[ $@ = ,* ]]; then echo bad at 1; else echo ok at 1; fi +if [[ ${@} = ,* ]]; then echo bad at 2; else echo ok at 2; fi + +if [[ $* = ,* ]]; then echo bad star 1; else echo ok star 1; fi +if [[ ${*} = ,* ]]; then echo bad star 2; else echo ok star 2; fi + +foo=' ,foo' +set -- "$foo" + +# expand_string_for_rhs + +foo2=$@ +echo "$foo2" + +foo2=$* +echo "$foo2" + +foo2="$@" +echo "$foo2" + +foo2="$*" +echo "$foo2" + +# expand_word_unsplit +case $@ in +$foo2) echo ok at 1 ;; +*) echo bad at 1 ;; +esac + +# also uses expand_word_leave_quoted +case $@ in +$@) echo ok at 2;; +*) echo bad at 2;; +esac + +case $@ in +$foo) echo ok at 3 ;; +*) echo bad at 3;; +esac + +# expand_word_unsplit +case $* in +$foo2) echo ok star 1 ;; +*) echo bad star 1 ;; +esac + +# also uses expand_word_leave_quoted +case $* in +$*) echo ok star 2;; +*) echo bad star 2;; +esac + +case $* in +$foo) echo ok star 3 ;; +*) echo bad star 3;; +esac + +case $@ in +$*) echo ok at-star 1;; +*) echo bad at-star 1;; +esac + +case $* in +$@) echo ok at-star 2;; +*) echo bad at-star 2;; +esac + +foo='a b c' +set -- $foo + +# expand_string_for_rhs +IFS='|' +foo2=$@ +echo "$foo2" + +foo2=$* +echo "$foo2" + +foo2="$@" +echo "$foo2" + +foo2="$*" +echo "$foo2" + +foo="a b c" +set -- $foo + +if [[ $@ = $foo ]]; then echo ok at 1; else echo bad at 1; fi +if [[ $foo = $@ ]]; then echo ok at 2; else echo bad at 2; fi + +case $@ in +$@) echo ok at 3 ;; +*) echo bad at 3 ;; +esac + +case $@ in +$foo) echo ok at 4;; +*) echo bad at 4;; +esac + +case $foo in +$@) echo ok at 5;; +*) echo bad at 5;; +esac +IFS="$OIFS" + +foo="a b c" +set -- $foo + +IFS=: +if [[ $@ = $foo ]]; then echo ok at 1; else echo bad at 1; fi +if [[ $foo = $@ ]]; then echo ok at 2; else echo bad at 2; fi + +case $@ in +$@) echo ok at 3 ;; +*) echo bad at 3 ;; +esac + +case $@ in +$foo) echo ok at 4;; +*) echo bad at 4;; +esac + +case $foo in +$@) echo ok at 5;; +*) echo bad at 5;; +esac +IFS="$OIFS" + +foo="a b c" +set -- $foo + +IFS='|' +foo2=$@ + +case $@ in +$@) echo ok at 1 ;; +*) echo bad at 1 ;; +esac + +case $foo2 in +$foo) echo ok at 2;; +*) echo bad at 2;; +esac + +case $foo in +$foo2) echo ok at 3;; +*) echo bad at 3;; +esac + +case $foo in +$foo) echo ok at 4;; +*) echo bad at 4;; +esac + +case $foo2 in +$foo2) echo ok at 5;; +*) echo bad at 5;; +esac + +case $foo2 in +$@) echo ok at 6;; +*) echo bad at 6;; +esac + +case $@ in +$foo2) echo ok at 7;; +*) echo bad at 7;; +esac + +case $foo in +$@) echo ok at 8;; +*) echo bad at 8;; +esac + +case $@ in +$foo) echo ok at 9;; +*) echo bad at 9;; +esac +IFS="$OIFS" diff --git a/tests/dollar-at-star3.sub b/tests/dollar-at-star3.sub new file mode 100644 index 000000000..b37d64aff --- /dev/null +++ b/tests/dollar-at-star3.sub @@ -0,0 +1,44 @@ +unset f ; f=abcd + +first_char=${f[@]:0:1} +recho $first_char + +first_char=${f[0]:0:1} +recho $first_char + +first_char=${f:0:1} +recho $first_char + +first_char="${f[@]:0:1}" +recho $first_char + +first_char="${f[@]:0:1}" +recho $first_char + +first_char="${f[0]:0:1}" +recho $first_char + +first_char="${f:0:1}" +recho $first_char + +unset f; +f=( one two three ) +first_word=${f[@]:0:1} +recho $first_word + +first_word=${f[0]:0:1} +recho $first_word + +first_word=${f:0:1} +recho $first_word + +unset f; +f=( one two three ) +first_word=${f[@]:0:1} +recho $first_word + +set -- abc def ghi + +printf '<%s> ' "123 $@ 456"; echo +printf '<%s> ' "123 $@\ 456"; echo + diff --git a/tests/dollar-at-star4.sub b/tests/dollar-at-star4.sub new file mode 100644 index 000000000..690eb677b --- /dev/null +++ b/tests/dollar-at-star4.sub @@ -0,0 +1,97 @@ +# tests for quoted and unquoted, split and unsplit expansions of $@ and $* +# Posix interpretation 221 speaks to this issue + +set -- a b +IFS= +x=abc + +printf "<%s>\n" ${x#$*} + +a="a bc" +echo ${a#$*} +unset x a + +a=$@ +echo "$a" + +a=$* +echo "$a" + +printf '<%s>' $@ ; echo + +IFS=' +' + +a=$@ +echo "$a" + +a=$* +echo "$a" + +unset a + +unset IFS +set a b "c d" +printf '<%s>' $* ; echo + +IFS= +set a b "c d" +printf '<%s>' $* ; echo + +IFS=: +set a b +printf '<%s>' ${foo=$*} ; echo +printf '<%s>' "${foo}" ; echo + +unset foo +IFS=' +' +printf '<%s>' ${foo=$@} ; echo +printf '<%s>' "$foo" ; echo + +IFS=? +set a c +foo=abcd + +echo ${foo#"$*"} +echo "${foo#$*}" + +echo "${foo#'a?c'}" +echo "${foo#a?c}" + +IFS=? +set a c +str=a$'\001'c +pat=a$'\001' +echo "${str#$pat}" + +set a b +IFS=: + +a=$@ +recho "$a" + +recho ${foo=$*} +recho "$foo" + +unset foo +IFS=' +' +recho ${foo=$@} +recho "$foo" + +shift $# +unset foo x + +set -- a b +x=abc + +IFS= +printf "<%s>\n" ${x#$*} +printf "<%s>\n" "${x#$*}" + +x=abcd +set a c +IFS='?' +printf "<%s>\n" ${x#$*} +printf "<%s>\n" "${x#$*}" diff --git a/tests/dollar-at-star5.sub b/tests/dollar-at-star5.sub new file mode 100644 index 000000000..3bd7b0f8e --- /dev/null +++ b/tests/dollar-at-star5.sub @@ -0,0 +1,53 @@ +# testing various combinations of quoted and unquoted expansions of $@, and +# whether they generate empty words after expansion + +n() { echo "$#"; } + +n "$@" +n ${foo-"$@"} +n "${foo-$@}" + +n ""$@ +n """$@" + +n $(true)$@ +n "$(true)$@" +n "$(true)$@" +n "$(true)""$@" + +n $xxx$@ +n "$xxx$@" +n $xxx"$@" +n "$xxx""$@" + +recho $xxx"$@" +echo after 1 + +recho "$xxx$@" +echo after 2 + +recho ${foo:-$xxx"$@"} +echo after 3 + +# this is where these things start to differ +echo same as 1 +recho "${foo:-$xxx"$@"}" +echo same as 2 +recho "${foo:-$xxx$@}" + +echo null fields +recho ""$@ +recho """$@" + +echo null fields in rhs +echo null string with unquoted '$@' +recho ${foo:-""$@} +echo null string with quoted '$@' +recho ${foo:-"""$@"} + +echo assignment +recho "${foo=$@}" +echo variable +recho "$foo" +echo dollar-at +recho "${@}" diff --git a/tests/dollar-at-star6.sub b/tests/dollar-at-star6.sub new file mode 100644 index 000000000..7366df505 --- /dev/null +++ b/tests/dollar-at-star6.sub @@ -0,0 +1,29 @@ +OIFS="$IFS" +arr=(a b c) + +recho ${arr[@]@Q} +recho "${arr[@]@Q}" + +IFS="'" +recho ${arr[@]@Q} +recho "${arr[@]@Q}" +IFS="$OIFS" + +arr=("'a'" "'b'" "'c'") + +IFS="'" +recho ${arr[@]} +recho "${arr[@]}" +IFS="$OIFS" + +IFS="'" +a="'a'" +recho $a +recho "$a" +IFS="$OIFS" + +set -- "'a'" "'b'" "'c'" + +IFS="'" +recho "${@}" +recho "$@" diff --git a/tests/dollar-at-star7.sub b/tests/dollar-at-star7.sub new file mode 100644 index 000000000..47cb37f69 --- /dev/null +++ b/tests/dollar-at-star7.sub @@ -0,0 +1,25 @@ +IFS='' # testing with only empty IFS + +set -- this is a test + +printf '|%s|\n' ${1+"$@"} +echo +printf '|%s|\n' "${1+$@}" +echo +printf '|%s|\n' "$@" +echo + +printf '|%s|\n' ${1-"$@"} +printf '|%s|\n' "${1-$@}" + +echo +: ${foo:="$@"} +printf '|%s|\n' "$foo" + +unset foo +: "${foo:=$@}" +printf '|%s|\n' "$foo" + +unset foo +printf '|%s|\n' ${foo-"$@"} +printf '|%s|\n' "${foo-$@}" diff --git a/tests/dollar-at-star8.sub b/tests/dollar-at-star8.sub new file mode 100644 index 000000000..7e1b68844 --- /dev/null +++ b/tests/dollar-at-star8.sub @@ -0,0 +1,14 @@ +function f { + typeset -a a + a=("$@") + typeset IFS=, + typeset a1="${a[@]} ${a[*]} $@ $* ${@} ${*}" + typeset a2=${a[@]}\ ${a[*]}\ $@\ $*\ ${@}\ ${*} a3 a4 + a3="${a[@]} ${a[*]} $@ $* ${@} ${*}" + a4=${a[@]}\ ${a[*]}\ $@\ $*\ ${@}\ ${*} + unset -v IFS + printf '%s\n' "a1=$a1" "a2=$a2" "a3=$a3" "a4=$a4" +} + +echo +f a b c diff --git a/tests/dollar.right b/tests/dollar.right index 6af02b1b1..1e48c24ee 100644 --- a/tests/dollar.right +++ b/tests/dollar.right @@ -103,6 +103,202 @@ var=${a[@]} ... one:::two three:::four var="${a[@]}" ... one:::two three:::four var=$@ ... one:::two three:::four var="$@" ... one:::two three:::four +ok 1 +ok 2 +ok 3 +ok 4 +ok 5 +ok 6 +ok 7 +ok 8 +ok 9 +ok 10 +ok 11 +ok 12 +ok 13 +ok 14 +ok at 1 +ok at 2 +ok star 1 +ok star 2 + ,foo + ,foo + ,foo + ,foo +ok at 1 +ok at 2 +ok at 3 +ok star 1 +ok star 2 +ok star 3 +ok at-star 1 +ok at-star 2 +a b c +a|b|c +a b c +a|b|c +ok at 1 +ok at 2 +ok at 3 +ok at 4 +ok at 5 +ok at 1 +ok at 2 +ok at 3 +ok at 4 +ok at 5 +ok at 1 +ok at 2 +ok at 3 +ok at 4 +ok at 5 +ok at 6 +ok at 7 +ok at 8 +ok at 9 +argv[1] = +argv[1] = +argv[1] = +argv[1] = +argv[1] = +argv[1] = +argv[1] = +argv[1] = +argv[1] = +argv[1] = +argv[1] = +<123 abc> +<123 abc> + +a bc +a b +ab + +a b +a b + + + + + + +abcd +d +abcd +d +c +argv[1] = +argv[1] = +argv[1] = +argv[1] = +argv[2] = +argv[1] = + + + + +0 +0 +1 +1 +1 +0 +0 +0 +1 +0 +0 +0 +1 +after 1 +after 2 +after 3 +same as 1 +argv[1] = <> +same as 2 +argv[1] = <> +null fields +argv[1] = <> +argv[1] = <> +null fields in rhs +null string with unquoted $@ +argv[1] = <> +null string with quoted $@ +assignment +argv[1] = <> +variable +argv[1] = <> +dollar-at +argv[1] = <'a'> +argv[2] = <'b'> +argv[3] = <'c'> +argv[1] = <'a'> +argv[2] = <'b'> +argv[3] = <'c'> +argv[1] = <> +argv[2] = +argv[3] = <> +argv[4] = <> +argv[5] = +argv[6] = <> +argv[7] = <> +argv[8] = +argv[1] = <'a'> +argv[2] = <'b'> +argv[3] = <'c'> +argv[1] = <> +argv[2] = +argv[3] = <> +argv[4] = <> +argv[5] = +argv[6] = <> +argv[7] = <> +argv[8] = +argv[1] = <'a'> +argv[2] = <'b'> +argv[3] = <'c'> +argv[1] = <> +argv[2] = +argv[1] = <'a'> +argv[1] = <'a'> +argv[2] = <'b'> +argv[3] = <'c'> +argv[1] = <'a'> +argv[2] = <'b'> +argv[3] = <'c'> +|this| +|is| +|a| +|test| + +|this| +|is| +|a| +|test| + +|this| +|is| +|a| +|test| + +|this| +|this| + +|this is a test| +|this is a test| +|this| +|is| +|a| +|test| +|this| +|is| +|a| +|test| + +a1=a b c a,b,c a b c a,b,c a b c a,b,c +a2=a b c a,b,c a b c a,b,c a b c a,b,c +a3=a b c a,b,c a b c a,b,c a b c a,b,c +a4=a b c a,b,c a b c a,b,c a b c a,b,c xa|xb|xc xa|xb|xc a|b|c @@ -222,17 +418,17 @@ third set: "${@:2}a3 a2" a$1 #works as long as $1 and 3 are swapped set y za3 a2 ax 0 -declare -a a='([0]="y" [1]="za3 a2" [2]="ax")' +declare -a a=([0]="y" [1]="za3 a2" [2]="ax") "${@:2}b$1 b2" b3 #fails! why? set y zbx b2 b3 0 -declare -a b='([0]="y" [1]="zbx b2" [2]="b3")' +declare -a b=([0]="y" [1]="zbx b2" [2]="b3") ${@:2}c$1 c2 c3 #works as long as quoting omitted set y zcx c2 c3 0 -declare -a c='([0]="y" [1]="zcx" [2]="c2" [3]="c3")' +declare -a c=([0]="y" [1]="zcx" [2]="c2" [3]="c3") argv[1] = <> argv[2] = argv[1] = <> diff --git a/tests/errors.right b/tests/errors.right index 63d6b7e3a..362855e3b 100644 --- a/tests/errors.right +++ b/tests/errors.right @@ -35,7 +35,7 @@ hash: usage: hash [-lr] [-p pathname] [-dt] [name ...] ./errors.tests: line 106: hash: hashing disabled ./errors.tests: line 109: export: `AA[4]': not a valid identifier ./errors.tests: line 110: readonly: `AA[4]': not a valid identifier -./errors.tests: line 113: [-2]: bad array subscript +./errors.tests: line 113: unset: [-2]: bad array subscript ./errors.tests: line 117: AA: readonly variable ./errors.tests: line 121: AA: readonly variable ./errors.tests: line 129: shift: 5: shift count out of range @@ -110,4 +110,27 @@ after f ./errors3.sub: line 5: no_such_file: No such file or directory TEST ./errors3.sub: line 7: no_such_file: No such file or directory -./errors.tests: line 271: `!!': not a valid identifier +1 +2 +./errors4.sub: line 7: var: readonly variable +after readonly assignment +./errors4.sub: line 13: break: x: numeric argument required +1 +2 +./errors4.sub: line 7: var: readonly variable +./errors5.sub: line 6: array: unbound variable +./errors5.sub: line 7: array: unbound variable +./errors5.sub: line 10: 7: unbound variable +./errors5.sub: line 11: 7: unbound variable +after 1: 1 +after 2: 1 +after 3: 1 +array after 1: 1 +array after 2: 1 +./errors6.sub: line 18: ${-3}: bad substitution +./errors6.sub: line 19: -3: bad substitution +after indir: 1 +./errors6.sub: line 18: ${-3}: bad substitution +./errors6.sub: line 19: -3: bad substitution +after indir: 1 +./errors.tests: line 278: `!!': not a valid identifier diff --git a/tests/errors.tests b/tests/errors.tests index 14eeb08bb..ff542f783 100644 --- a/tests/errors.tests +++ b/tests/errors.tests @@ -262,6 +262,13 @@ echo $? ${THIS_SH} ./errors1.sub ${THIS_SH} ./errors2.sub ${THIS_SH} ./errors3.sub +${THIS_SH} ./errors4.sub +${THIS_SH} -o posix ./errors4.sub + +${THIS_SH} ./errors5.sub + +${THIS_SH} ./errors6.sub +THIS_SH="${THIS_SH} -o posix" ${THIS_SH} ./errors6.sub # this must be last! # in posix mode, a function name must be a valid identifier diff --git a/tests/errors4.sub b/tests/errors4.sub new file mode 100644 index 000000000..8451b9611 --- /dev/null +++ b/tests/errors4.sub @@ -0,0 +1,18 @@ +# test effect of assigning to readonly vars on loops and non-interactive shells +# fatal error when in posix mode +var=foo +readonly var +for num in 1 2 3 4 5; do + if [ $num -eq 3 ]; then + var=bar + fi + echo $num +done +echo after readonly assignment + +# non-numeric arguments to break are fatal errors for all non-interactive shells +for f in 1 2 3 4 5 +do + break x +done +echo after loop diff --git a/tests/errors5.sub b/tests/errors5.sub new file mode 100644 index 000000000..7d9068b76 --- /dev/null +++ b/tests/errors5.sub @@ -0,0 +1,11 @@ +array[1]=one +array[2]=two + +set -u + +( echo ${#array} ) +( echo ${array} ) + +set -- 1 2 3 +( echo ${#7} ) +( echo ${7} ) diff --git a/tests/errors6.sub b/tests/errors6.sub new file mode 100644 index 000000000..3c05625a4 --- /dev/null +++ b/tests/errors6.sub @@ -0,0 +1,20 @@ +# problems with non-fatal expansion errors through bash-4.3 +: ${THIS_SH:=./bash} + +${THIS_SH} -c 'echo ${x!y} second +echo after 1: $?' 2>/dev/null + +${THIS_SH} -c 'echo ${#+} second +echo after 2: $?' 2>/dev/null + +${THIS_SH} -c 'echo ${#foo%} second +echo after 3: $?' 2>/dev/null + +${THIS_SH} -c 'b[0]=4 ; echo ${b[ ]} +echo array after 1: $?' 2>/dev/null +${THIS_SH} -c 'typeset -A v ; v["0"]=one ; echo ${v[ ]} +echo array after 2: $?' 2>/dev/null + +echo ${-3} +x=-3; echo ${!x} +echo after indir: $? diff --git a/tests/exec.right b/tests/exec.right index 54488bf83..81224fa55 100644 --- a/tests/exec.right +++ b/tests/exec.right @@ -13,7 +13,7 @@ after exec1.sub: one two three 126 ./execscript: line 40: /: Is a directory 126 -/: /: is a directory +/: /: Is a directory 126 ./execscript: line 47: .: /: is a directory 1 @@ -60,4 +60,48 @@ expand_aliases on 0 0 0 +/usr/local/bin:/usr/GNU/bin:/usr/bin:/bin:. +cannot find cat in $TMPDIR +cannot find cat with empty $PATH +PATH = /usr/local/bin:/usr/GNU/bin:/usr/bin:/bin:. +cannot find cat in $TMPDIR with hash +cannot find cat with empty $PATH with hash +PATH = /usr/local/bin:/usr/GNU/bin:/usr/bin:/bin:. +trap -- 'echo foo $BASH_SUBSHELL' EXIT +trap -- 'echo USR1 $BASHPID' SIGUSR1 +between +trap -- 'echo foo $BASH_SUBSHELL' EXIT +trap -- 'echo USR1 $BASHPID' SIGUSR1 +between 2 +trap -- 'echo foo $BASH_SUBSHELL' EXIT +trap -- 'echo USR1 $BASHPID' SIGUSR1 +in subshell: 1 +in subshell pipeline: 1 +group pipeline: 1 +EXIT-group.1 +foo 0 after +exit code: 1 +exit code: 1 +exit code: 1 +exit code: 127 +exit code: 127 +exit code: 127 +a +b +c +A +B +c +d +c +d +e +x1 +x1a +x2 +x2a +x2b +x3 +x3a +x3b diff --git a/tests/exec10.sub b/tests/exec10.sub new file mode 100644 index 000000000..af3ab0d92 --- /dev/null +++ b/tests/exec10.sub @@ -0,0 +1,34 @@ +# post bash-4.3 changes to how command -p works (avoid modifying $PATH) + +: ${TMPDIR=/tmp} +xpath=/usr/local/bin:/usr/GNU/bin:/usr/bin:/bin:. + +# set a value of PATH we can test for; versions of bash up to and including +# bash-4.3 would set $PATH while running command -p +PATH=$xpath +export PATH +command -p sh -c 'echo $PATH' + +PATH=${TMPDIR} +command -pv cat >/dev/null || echo "cannot find cat using standard path" +command -p cat < /dev/null +#hash + +PATH=$xpath +command -pv cat >/dev/null || echo "cannot find cat using xpath" +PATH=$TMPDIR command -pv cat >/dev/null || echo "cannot find cat using standard path with PATH=\$TMPDIR" +PATH= command -pv cat >/dev/null || echo "cannot find cat using standard path with empty \$PATH" +PATH=$TMPDIR command -v cat >/dev/null || echo "cannot find cat in \$TMPDIR" +PATH= command -v cat >/dev/null || echo "cannot find cat with empty \$PATH" + +echo PATH = $PATH +hash cat + +PATH=$xpath + +PATH=$TMPDIR command -pv cat >/dev/null || echo "cannot find cat using stdpath with hash" +PATH= command -pv cat >/dev/null || echo "cannot find cat using stdpath with hash" +PATH=$TMPDIR command -v cat >/dev/null || echo "cannot find cat in \$TMPDIR with hash" +PATH= command -v cat >/dev/null || echo "cannot find cat with empty \$PATH with hash" + +echo PATH = $PATH diff --git a/tests/exec11.sub b/tests/exec11.sub new file mode 100644 index 000000000..9631c6723 --- /dev/null +++ b/tests/exec11.sub @@ -0,0 +1,14 @@ +trap 'echo USR1 $BASHPID' USR1 +trap 'echo foo $BASH_SUBSHELL' 0 + +trap | cat +echo between +( trap ) +echo between 2 +{ trap; } | cat + +( echo in subshell: $BASH_SUBSHELL ) +( echo in subshell pipeline: $BASH_SUBSHELL ) | cat + +{ echo group pipeline: $BASH_SUBSHELL; + trap 'echo EXIT-group.$BASH_SUBSHELL' EXIT; } | cat diff --git a/tests/exec12.sub b/tests/exec12.sub new file mode 100644 index 000000000..4bd6121b3 --- /dev/null +++ b/tests/exec12.sub @@ -0,0 +1,17 @@ +: ${TMPDIR:=/var/tmp} +TMPFILE=$TMPDIR/exitcode + +rm -f $TMPFILE +set -e +exit_handler() { echo "exit code: $?" ; touch $TMPFILE; } +false() { ! :; } +notfound() { nosuchcommand ; } +syntaxerror() { !:; } + +main() +{( + trap exit_handler 0 + "$@" >> /dev/null 2>&1 +)} +main "$@" +echo "after main: should not get here" diff --git a/tests/exec13.sub b/tests/exec13.sub new file mode 100644 index 000000000..0f84daaa2 --- /dev/null +++ b/tests/exec13.sub @@ -0,0 +1,21 @@ +echo x1 | ( cat & wait ) +echo x1a | ( :& cat & wait ) + +echo x2 | for f in 1; do + cat & wait +done +echo x2a | if true; then cat & wait; fi +echo x2b | for (( i=0; i < 1; i++ )) ; do cat & wait; done + +echo x3 | { cat & wait; } + +lambda() { cat & wait; } +echo x3a | lambda + +: ${TMPDIR:=/tmp} +SRCF=$TMPDIR/bash-src-$$ +cat > $SRCF << \EOF +cat & wait +EOF +echo x3b | . $SRCF +rm -f $SRCF diff --git a/tests/execscript b/tests/execscript index 5a4e90340..3415ae3c6 100644 --- a/tests/execscript +++ b/tests/execscript @@ -112,6 +112,9 @@ ${THIS_SH} -i ./exec8.sub ${THIS_SH} ./exec9.sub +${THIS_SH} ./exec10.sub +${THIS_SH} ./exec11.sub + true | `echo true` & echo after @@ -125,3 +128,32 @@ ${THIS_SH} -c 'VAR=0; VAR=1 command exec; exit ${VAR}' echo bad ) 2>/dev/null [ $? = 127 ] || echo FAIL: bad exit status $? at $LINENO + +unset FALSE +if [ -x /bin/false ]; then + FALSE=/bin/false +elif [ -x /usr/bin/false ]; then + FALSE=/usr/bin/false +else + FALSE='command false' +fi + +# problem with undoing redirections before running exit trap through bash-4.3 + +${THIS_SH} ./exec12.sub false # function +${THIS_SH} ./exec12.sub command false +${THIS_SH} ./exec12.sub $FALSE + +${THIS_SH} ./exec12.sub notfound +${THIS_SH} ./exec12.sub syntaxerror +${THIS_SH} ./exec12.sub nosuchcommand + +# problem with fork optimization in bash-4.4-alpha + +$THIS_SH -c 'echo a && /bin/echo b && echo c' +$THIS_SH -c 'echo A && /bin/echo B' + +$THIS_SH -c '/bin/echo c && echo d' +$THIS_SH -c '/bin/echo c && /bin/echo d && echo e' + +${THIS_SH} ./exec13.sub diff --git a/tests/exp.right b/tests/exp.right index c027036ed..96617397d 100644 --- a/tests/exp.right +++ b/tests/exp.right @@ -4,6 +4,11 @@ argv[1] = <^?> argv[1] = <^?> argv[1] = <^A> argv[1] = <^?> +argv[1] = +argv[1] = <^A> +argv[1] = <^?> +argv[1] = <^A> +argv[1] = <^?> argv[1] = argv[1] = argv[1] = @@ -205,3 +210,125 @@ argv[1] = argv[2] = argv[1] = argv[2] = +argv[1] = <^A> +argv[1] = <3> +argv[2] = <^C> +argv[3] = <^C> +argv[4] = <^C> +argv[1] = <^A> +argv[1] = +argv[1] = +declare -- var="xyz" +argv[1] = +argv[2] = <--> +argv[3] = +declare -- var="x\001y\177z"$ +argv[1] = <$'x\001y\177z'> +argv[1] = +var=$'x\001y\177z' +./exp8.sub: line 16: xyz: syntax error: invalid arithmetic operator (error token is "z") +declare -a array=() +declare -a array=([0]=$'x\001y\177z') +argv[1] = +declare -a array=([0]=$'x\001y\177z') +declare -A array=([$'x\001y\177z']=$'a\242b\002c' ) +abc +def +ghi +jkl +abc def ghi jkl +xxabc +def +ghi +jklyy +xxabc def ghi jklyy +abc +def +ghi +jkl +abc +def ghi +jkl +abc +def ghi +jkl +abc +def ghi +jkl +xxabc +def +ghi +jklyy +xxabc +def ghi +jklyy +abc +def +ghi +jklabc +def +ghi +jkl +abc +def ghi +jklabc +def ghi +jkl +abc:def ghi:jkl +abc:def ghi:jkl +abc:def ghi:jkl +abc +def ghi +jkl +abc:def ghi:jkl +abc:def ghi:jkl +abc +def ghi +jkl +var=abc:def ghi:jkl +abc:def ghi:jkl +var=abc:def ghi:jkl +abcdef ghijkl +abcdef ghijkl +abcdef ghijkl +abcdef ghijkl +abcdef ghijkl +abcdef ghijkl +abcdef ghijkl +var=abcdef ghijkl +abcdef ghijkl +var=abcdef ghijkl +abc +def ghi +jkl +abc def ghi jkl +abc def ghi jkl +abc def ghi jkl +abc +def +ghi +jkl +abc def ghi jkl +abc def ghi jkl +abc +def +ghi +jkl +var=abc def ghi jkl +abc def ghi jkl +var=abc def ghi jkl +abc +def ghi +jkl +[foo] +[] +[foo] +[] +[foo] +[foo] +[foo] +[] +[foo] +[] +[foo] +[] diff --git a/tests/exp.tests b/tests/exp.tests index 9f77a7f93..b446d6372 100644 --- a/tests/exp.tests +++ b/tests/exp.tests @@ -31,6 +31,18 @@ recho `echo ` expect "<^?>" recho `echo ` +expect "bar" +recho ${foo:-"`echo bar`"} +expect "<^A>" +recho ${foo:-"`echo `"} +expect "<^?>" +recho ${foo:-"`echo `"} + +expect "<^A>" +recho "`echo `" +expect "<^?>" +recho "`echo `" + # Test null strings without variable expansion expect "" recho abcd""efgh @@ -390,3 +402,6 @@ ${THIS_SH} ./exp4.sub ${THIS_SH} ./exp5.sub ${THIS_SH} ./exp6.sub +${THIS_SH} ./exp7.sub +${THIS_SH} ./exp8.sub +${THIS_SH} ./exp9.sub diff --git a/tests/exp7.sub b/tests/exp7.sub new file mode 100644 index 000000000..0a4acc3c9 --- /dev/null +++ b/tests/exp7.sub @@ -0,0 +1,11 @@ +IFS=$'\001' +c=$'\001' +c2=$'\003' + +IFS=$c # this is the problem line, IFS should end up being \001 +recho "$IFS" +set -- $c2$c$c2$c$c2 +recho $# "$1" "$2" "$3" + +x=$c +recho "$x" diff --git a/tests/exp8.sub b/tests/exp8.sub new file mode 100644 index 000000000..99340838b --- /dev/null +++ b/tests/exp8.sub @@ -0,0 +1,31 @@ +var=$'x\001y\177z' + +recho "$var" +recho $var + +declare -p var +recho $(declare -p var) + +declare -p var | sed -n l + +recho ${var@Q} +recho ${var@P} +echo ${var@A} + +unset array +array=( [$'x\001y\177z']=foo ) # should be error +echo ${array[@]@A} + +unset array +declare -a array=([0]=$'x\001y\177z') +declare -p array + +unset array +array=( "$var" ) +recho ${array[@]} +echo ${array[@]@A} + +unset array +declare -A array +array=( [$'x\001y\177z']=$'a\242b\002c' ) +echo ${array[@]@A} diff --git a/tests/exp9.sub b/tests/exp9.sub new file mode 100644 index 000000000..a0399c7a5 --- /dev/null +++ b/tests/exp9.sub @@ -0,0 +1,69 @@ +# expansion test cases from Posix interp 888 + +set "abc" "def ghi" "jkl" +unset novar +IFS=' ' # a space +printf '%s\n' $* +printf '%s\n' "$*" +printf '%s\n' xx$*yy +printf '%s\n' "xx$*yy" +printf '%s\n' $@ +printf '%s\n' "$@" +printf '%s\n' ${1+"$@"} +printf '%s\n' ${novar-"$@"} +printf '%s\n' xx$@yy +printf '%s\n' "xx$@yy" +printf '%s\n' $@$@ +printf '%s\n' "$@$@" +IFS=':' +printf '%s\n' "$*" +var=$*; printf '%s\n' "$var" +var="$*"; printf '%s\n' "$var" +unset var +printf '%s\n' ${var-$*} +printf '%s\n' "${var-$*}" +printf '%s\n' ${var-"$*"} +printf '%s\n' ${var=$*} +printf 'var=%s\n' "$var" +unset var +printf '%s\n' "${var=$*}" +printf 'var=%s\n' "$var" + +IFS='' # null +printf '%s\n' "$*" +var=$*; printf '%s\n' "$var" +var="$*"; printf '%s\n' "$var" +unset var +printf '%s\n' ${var-$*} +printf '%s\n' "${var-$*}" +printf '%s\n' ${var-"$*"} +printf '%s\n' ${var=$*} +printf 'var=%s\n' "$var" +unset var +printf '%s\n' "${var=$*}" +printf 'var=%s\n' "$var" +printf '%s\n' "$@" + +unset IFS +printf '%s\n' "$*" +var=$*; printf '%s\n' "$var" +var="$*"; printf '%s\n' "$var" +unset var +printf '%s\n' ${var-$*} +printf '%s\n' "${var-$*}" +printf '%s\n' ${var-"$*"} +printf '%s\n' ${var=$*} +printf 'var=%s\n' "$var" +unset var +printf '%s\n' "${var=$*}" +printf 'var=%s\n' "$var" +printf '%s\n' "$@" + +set -- +printf '[%s]\n' foo "$*" +printf '[%s]\n' foo "$novar$*$(echo)" +printf '[%s]\n' foo $@ +printf '[%s]\n' foo "$@" +printf '[%s]\n' foo ''$@ +printf '[%s]\n' foo ''"$@" +printf '[%s]\n' foo ''"$novar$@$(echo)" diff --git a/tests/exportfunc.right b/tests/exportfunc.right new file mode 100644 index 000000000..2ee35a7a0 --- /dev/null +++ b/tests/exportfunc.right @@ -0,0 +1,14 @@ +exportfunc ok 1 +exportfunc ok 2 +./exportfunc.tests: line 24: cve7169-bad: No such file or directory +./exportfunc.tests: eval: line 31: syntax error: unexpected end of file +./exportfunc.tests: line 30: cve7169-bad2: No such file or directory +./exportfunc1.sub: line 1: maximum here-document count exceeded +./exportfunc.tests: line 51: HELLO_WORLD: No such file or directory +eval ok +./exportfunc3.sub: line 10: export: foo=bar: cannot export +status: 1 +equals-1 +bad echo +./exportfunc3.sub: line 23: export: /bin/echo: cannot export +bar diff --git a/tests/exportfunc.tests b/tests/exportfunc.tests new file mode 100644 index 000000000..f5ef54f0a --- /dev/null +++ b/tests/exportfunc.tests @@ -0,0 +1,71 @@ +# normal operation +foo() +{ + echo exportfunc ok 1 +} +export -f foo +${THIS_SH} -c foo +unset -f foo +foo-a () +{ + echo exportfunc ok 2 +} +export -f foo-a +${THIS_SH} -c 'foo-a' + +# CVE-2014-6271 + +env -i BASH_FUNC_foo%%='() { echo cve6271 ok; } ; echo BAD' ${THIS_SH} -c foo 2>/dev/null + +# CVE-2014-7169 + +rm -f cve7169-bad +env -i BASH_FUNC_X%%='() { (a)=>\' ${THIS_SH} -c cve7169-bad 2>/dev/null +: < cve7169-bad +rm -f cve7169-bad + +echo cve7169-bad2 > $TMPDIR/bar +rm -f cve7169-bad2 +eval 'X() { (a)>\' ; . ./bar 2>/dev/null +: < cve7169-bad2 +rm -f cve7169-bad2 $TMPDIR/bar + +# CVE-2014-7186 +${THIS_SH} ./exportfunc1.sub + +# CVE-2014-7187 +${THIS_SH} ./exportfunc2.sub + +# CVE-2014-6277 + +env BASH_FUNC_foo%%="() { 000(){>0;}&000(){ 0;}<<0 0" ${THIS_SH} -c foo 2>/dev/null +env BASH_FUNC_foo%%="() { 000(){>0;}&000(){ 0;}<<`perl -e '{print "A"x100000}'` 0" ${THIS_SH} -c foo 2>/dev/null +${THIS_SH} -c "f(){ x(){ _;}; x(){ _;}</dev/null + +# CVE-2014-6278 + +env 'BASH_FUNC_FOO%%=() { 0;}>r[0${$(}0 {>"$(id >/dev/tty)"; }' ${THIS_SH} -c : 2>/dev/null + +rm -f HELLO_WORLD +env BASH_FUNC_FOO%%='() { 0;}>r[0${$(}0 {>HELLO_WORLD; }' ${THIS_SH} -c : 2>/dev/null +: < HELLO_WORLD + +env BASH_FUNC_x%%='() { _;}>_[$($())] { echo vuln;}' ${THIS_SH} -c : 2>/dev/null + +env -i BASH_FUNC_x%%='() { _; } >_[${ $() }] { id; }' ${THIS_SH} -c : 2>/dev/null + +env BASH_FUNC_x%%=$'() { _;}>_[$($())]\n{ echo vuln;}' ${THIS_SH} -c : 2>/dev/null +eval 'x() { _;}>_[$($())] { echo vuln;}' 2>/dev/null + +eval 'foo() { _; } >_[${ $() }] ;{ echo eval ok; }' + +# other tests fixed in bash43-030 concerning function name transformation +env $'BASH_FUNC_\nfoo%%=() { echo transform-1; }' ${THIS_SH} -c foo 2>/dev/null +env $'BASH_FUNC_foo\n%%=() { echo transform-2; }' ${THIS_SH} -c foo 2>/dev/null +env $'BASH_FUNC_ foo %%=() { echo transform-3; }' ${THIS_SH} -c foo 2>/dev/null + +unset -f foo +env $'BASH_FUNC_#badname%%'=$'() { :; }\nfoo () { echo transform-4; } ' ${THIS_SH} -c 'foo' 2>/dev/null + +# tests of exported names +${THIS_SH} ./exportfunc3.sub diff --git a/tests/exportfunc1.sub b/tests/exportfunc1.sub new file mode 100644 index 000000000..d9c9fa1c2 --- /dev/null +++ b/tests/exportfunc1.sub @@ -0,0 +1,21 @@ +cat </dev/null' + +function /bin/echo +{ + echo bad echo +} + +/bin/echo foo +export -f '/bin/echo' + +${THIS_SH} -c '/bin/echo bar' diff --git a/tests/extglob.right b/tests/extglob.right index 837ccc297..efb7e5fbb 100644 --- a/tests/extglob.right +++ b/tests/extglob.right @@ -92,3 +92,16 @@ a ab a ab a ab a +. .. +. .. a.log +a.log +?(foo) +a.log +a.log +. .. +a.log +.x .y .z +a b c +.x .y .z a b c +a b c +a b c diff --git a/tests/extglob.tests b/tests/extglob.tests index 0fa310aa7..a51c4db15 100644 --- a/tests/extglob.tests +++ b/tests/extglob.tests @@ -370,4 +370,8 @@ ${THIS_SH} ./extglob1.sub ${THIS_SH} ./extglob1a.sub +${THIS_SH} ./extglob3.sub + +${THIS_SH} ./extglob4.sub + exit 0 diff --git a/tests/extglob2.sub b/tests/extglob2.sub new file mode 100644 index 000000000..f4a3b3745 --- /dev/null +++ b/tests/extglob2.sub @@ -0,0 +1,7 @@ +LANG=en_US.UTF-8 + +shopt -s extglob +a="aaaäöü" + +echo "${a}" "${a//?aa}" "${a//\aaa}" +exit 0 diff --git a/tests/extglob3.sub b/tests/extglob3.sub new file mode 100644 index 000000000..94567ee99 --- /dev/null +++ b/tests/extglob3.sub @@ -0,0 +1,21 @@ +shopt -s extglob +DIR=/tmp/extglob-$$ +mkdir $DIR +cd $DIR + +touch a.log + +echo *(.) +echo *(.)* +echo ?(foo)* +echo ?(foo) +echo *(foo)* +echo @(|foo)* + +echo *(foo).* + +echo !(foo)* + +cd $OLDPWD +rm -rf $DIR + diff --git a/tests/extglob4.sub b/tests/extglob4.sub new file mode 100644 index 000000000..2ec8f3197 --- /dev/null +++ b/tests/extglob4.sub @@ -0,0 +1,25 @@ +LANG=C +LC_ALL=C + +: ${TMPDIR:=/tmp} +GTDIR=$TMPDIR/extglob4-$$ + +shopt -s extglob +[ -d "${GTDIR}" ] || mkdir "${GTDIR}" +cd "${GTDIR}" || { + echo "extglob4: cannot cd to ${GTDIR}" + exit 2 +} + +touch a b c .x .y .z +echo .!(|.) # correct +echo * # correct + +echo @(*|.!(|.)) # wrong, adds . and .. +echo @(*|@(f)) # ?? +echo @(*|@(ff)) + +cd / +rm -rf $GTDIR + +[[ a = a*?(/)b ]] && echo bad match 1 diff --git a/tests/getopts.right b/tests/getopts.right index 92261038a..fff9729f1 100644 --- a/tests/getopts.right +++ b/tests/getopts.right @@ -54,3 +54,15 @@ remaining args: 0 ./getopts7.sub: line 4: getopts: `opt-var': not a valid identifier remaining args: +opt: x +opt: y +opt: a +opt: b +opt: c +opt: z +$1 = a +./getopts10.sub: line 3: OPTARG: readonly variable +OPTARG = x = ? +unset x = ? +declare -r RO="foo" +declare -r RO="foo" diff --git a/tests/getopts.tests b/tests/getopts.tests index 1814d7864..d54190cc7 100644 --- a/tests/getopts.tests +++ b/tests/getopts.tests @@ -36,3 +36,8 @@ ${THIS_SH} ./getopts6.sub -ac echo $? # this should be 2 ${THIS_SH} ./getopts7.sub -a + +${THIS_SH} ./getopts8.sub +${THIS_SH} ./getopts9.sub + +${THIS_SH} ./getopts10.sub diff --git a/tests/getopts10.sub b/tests/getopts10.sub new file mode 100644 index 000000000..84bacf8f5 --- /dev/null +++ b/tests/getopts10.sub @@ -0,0 +1,17 @@ +set -- -a bb +readonly OPTARG +getopts :x x + +echo OPTARG = $OPTARG x = $x + +getopts x x +echo ${OPTARG-unset} x = $x + +typeset -r RO=foo +typeset -n OPTARG=RO + +getopts :x x +typeset -p RO + +getopts x x +typeset -p RO diff --git a/tests/getopts5.sub b/tests/getopts5.sub index c6e388816..30614ef92 100644 --- a/tests/getopts5.sub +++ b/tests/getopts5.sub @@ -1,4 +1,3 @@ -#!/local/bin/bash #Time-stamp: <95/06/07 07:40:40 hrue@imf.unit.no> getop () { diff --git a/tests/getopts8.sub b/tests/getopts8.sub new file mode 100644 index 000000000..6aeeca6f5 --- /dev/null +++ b/tests/getopts8.sub @@ -0,0 +1,13 @@ +f() +{ + typeset OPTIND=1 + typeset opt + + while getopts ":abcxyz" opt + do + echo opt: "$opt" + if [[ $opt = y ]]; then f -abc ; fi + done +} + +f -xyz diff --git a/tests/getopts9.sub b/tests/getopts9.sub new file mode 100644 index 000000000..fafb0670a --- /dev/null +++ b/tests/getopts9.sub @@ -0,0 +1,16 @@ +f() +{ + OPTIND=4 + + echo \$1 = $1 +} + +main() +{ +while getopts abcdefg opt +do + f $opt +done +} + +main -abc diff --git a/tests/globstar.right b/tests/globstar.right index c104fd35d..69030c416 100644 --- a/tests/globstar.right +++ b/tests/globstar.right @@ -582,4 +582,3 @@ bar/foo/e bar/foo/f foo/a foo/b -/tmp/empty diff --git a/tests/globstar2.sub b/tests/globstar2.sub index 844d31206..f4bb1b1c4 100644 --- a/tests/globstar2.sub +++ b/tests/globstar2.sub @@ -1,3 +1,6 @@ +olddir=$PWD +EMPTY=/tmp/empty + shopt -s globstar s() { @@ -8,8 +11,8 @@ p() printf '<%q>\n' "$@" } -mkdir -p /tmp/empty/a/a/a -cd /tmp/empty +mkdir -p $EMPTY/a/a/a +cd $EMPTY # good p ** @@ -17,8 +20,8 @@ p **/** p **/**/** rm -rf a -mkdir -p /tmp/empty/{a,b}/{a,b}/{a,b}/{a,b} -cd /tmp/empty +mkdir -p $EMPTY/{a,b}/{a,b}/{a,b}/{a,b} +cd $EMPTY # good s '**/a' @@ -76,5 +79,5 @@ p **/a/**/**/** s '**/**/a/**' p **/**/a/** -cd - -rm -rf /tmp/empty +cd "$olddir" +rm -rf $EMPTY diff --git a/tests/heredoc.right b/tests/heredoc.right index 6abaa1f42..137a2956d 100644 --- a/tests/heredoc.right +++ b/tests/heredoc.right @@ -59,13 +59,13 @@ qux bar qux abc def geh -./heredoc3.sub: line 6: warning: here-document at line 4 delimited by end-of-file (wanted `EOF') +./heredoc3.sub: line 9: warning: here-document at line 7 delimited by end-of-file (wanted `EOF') = here is the text = -./heredoc3.sub: line 12: warning: here-document at line 10 delimited by end-of-file (wanted `EOF') +./heredoc3.sub: line 15: warning: here-document at line 13 delimited by end-of-file (wanted `EOF') this paren ) is not a problem -./heredoc3.sub: line 18: warning: here-document at line 16 delimited by end-of-file (wanted `EOF') +./heredoc3.sub: line 21: warning: here-document at line 19 delimited by end-of-file (wanted `EOF') these balanced parens ( ) are not a problem -./heredoc3.sub: line 24: warning: here-document at line 22 delimited by end-of-file (wanted `EOF') +./heredoc3.sub: line 27: warning: here-document at line 25 delimited by end-of-file (wanted `EOF') quoted balanced parens \( ) are not a problem either more text in a subshell some more text in a different subshell @@ -76,15 +76,14 @@ ENDEND end ENDEND hello end hello -x star x end x*x helloEND end helloEND hello \END end hello\END -./heredoc3.sub: line 74: warning: here-document at line 72 delimited by end-of-file (wanted `EOF') -./heredoc3.sub: line 75: syntax error: unexpected end of file +./heredoc3.sub: line 78: warning: here-document at line 76 delimited by end-of-file (wanted `EOF') +./heredoc3.sub: line 79: syntax error: unexpected end of file comsub here-string ./heredoc.tests: line 105: warning: here-document at line 103 delimited by end-of-file (wanted `EOF') hi diff --git a/tests/heredoc3.sub b/tests/heredoc3.sub index 73a111e45..baf91c140 100644 --- a/tests/heredoc3.sub +++ b/tests/heredoc3.sub @@ -1,3 +1,6 @@ +SAVEPWD=$PWD +cd $TMPDIR || echo "heredoc3.sub: cannot cd to $TMPDIR" >&2 + text=$(cat </dev/null & touch 'x*x' x star x x*x +wait $! echo end 'x*x' rm 'x*x' diff --git a/tests/herestr.right b/tests/herestr.right index 80b01cf7e..03f38ed6b 100644 --- a/tests/herestr.right +++ b/tests/herestr.right @@ -24,5 +24,8 @@ f3 () echo $(echo hi) echo ho echo off to work we go -declare -a uu='([0]="" [1]="kghfjk" [2]="jkfzuk" [3]="i -")' +declare -a uu=([0]="" [1]="kghfjk" [2]="jkfzuk" [3]=$'i\n') +foo bar +foo bar +qux:::::bax +qux:::::bax diff --git a/tests/herestr.tests b/tests/herestr.tests index f77b229f5..607f85eed 100644 --- a/tests/herestr.tests +++ b/tests/herestr.tests @@ -37,3 +37,5 @@ cat <<< "echo $(echo off to work we go)" IFS="/" read -r -d $'\000' -a uu <<< /kghfjk/jkfzuk/i declare -p uu + +${THIS_SH} ./herestr1.sub diff --git a/tests/herestr1.sub b/tests/herestr1.sub new file mode 100644 index 000000000..0cf80828e --- /dev/null +++ b/tests/herestr1.sub @@ -0,0 +1,10 @@ +# problems with word splitting unquoted here-strings present since bash-3.2 + +x="foo bar" +cat <<< $x # Word-splitting appears to collapse the run of whitespace +cat <<< "$x" # Whitespace preserved, as with here doc + +x="qux:::::bax" +IFS=':' +cat <<< $x # Word-splitting appears to collapse the run of whitespace +cat <<< "$x" # Whitespace preserved, as with here doc diff --git a/tests/histexp.right b/tests/histexp.right index f1c9e9d9a..ed6e08942 100644 --- a/tests/histexp.right +++ b/tests/histexp.right @@ -127,3 +127,70 @@ echo '!!' \!\! ok 1 ok 2 ok 3 +echo shopt a +shopt a +echo a b c d 2> /dev/null +a b c d +one two three four +echo two ; echo four +one two three four +echo four ; echo two +! +! +! +! +! +! +! +! +! +\! +\! +\! +\! +a +b +c +echo "#!/bin/bash" set -o posix +#!/bin/bash set -o posix +!! +!! +a +echo $(echo echo a) +echo a +a +echo echo a $(echo echo a) +echo a echo a +b +!! $(echo !!) +c +echo "echo c" "$(echo echo c)" +echo c echo c +d +echo "echo d" $(echo "echo d") +echo d echo d +e +!! !! +f +!! +f +!! +g +echo "echo g" +echo g +g +eval echo "echo g" +echo g +a +cat < <(echo echo a) +echo a +b +echo echo b `echo echo b` +echo b echo b +c +! +d +! +e +! ! +./histexp4.sub: line 20: !': event not found diff --git a/tests/histexp.tests b/tests/histexp.tests index add2a6747..99c7520d1 100644 --- a/tests/histexp.tests +++ b/tests/histexp.tests @@ -122,3 +122,21 @@ echo ${!var2} # Bash-2.01[.1] fails this test -- it attempts history expansion after the # history_comment_char echo ok 3 # !1200 + +# bash versions through bash-4.3 fail this; they make the digit preceding the +# > into a separate word, changing the meaning of the redirection +shopt a b c d 2>/dev/null +echo !shopt-1 + +echo !shopt* + +# make sure a :p modifier anywhere on the line affects all history expansions +echo one two three four +echo !:2:p ; echo !$ +echo one two three four +echo !$ ; echo !:2:p + +${THIS_SH} ./histexp1.sub +${THIS_SH} ./histexp2.sub +${THIS_SH} ./histexp3.sub +${THIS_SH} ./histexp4.sub diff --git a/tests/histexp1.sub b/tests/histexp1.sub new file mode 100644 index 000000000..a5948f1ed --- /dev/null +++ b/tests/histexp1.sub @@ -0,0 +1,23 @@ +LC_ALL=C +LANG=C + +set -o history +set -H + +echo '!' +echo "!" +echo ! + +echo "$( echo '!' )" +echo "$( echo "!" )" +echo "$( echo ! )" + +echo $( echo '!' ) +echo $( echo "!" ) +echo $( echo ! ) + +echo "$( echo "\!" )" +echo "\!" + +echo "$( echo '\!' )" +echo '\!' diff --git a/tests/histexp2.sub b/tests/histexp2.sub new file mode 100644 index 000000000..bb5bfda4f --- /dev/null +++ b/tests/histexp2.sub @@ -0,0 +1,14 @@ +LANG=C LC_ALL=C + +set -o history +echo a +echo b +echo c + +set -o histexpand +set -o posix + +echo "#!/bin/bash" !! + +echo '!!' +echo "!!" diff --git a/tests/histexp3.sub b/tests/histexp3.sub new file mode 100644 index 000000000..ae2b4986d --- /dev/null +++ b/tests/histexp3.sub @@ -0,0 +1,35 @@ +HISTFILE=${TMPDIR}/bashhist-$$ + +set -o history +set -o histexpand + +echo a +echo $(echo !!) + +echo a +echo !! $(echo !!) + +echo b +echo '!!' '$(echo !!)' + +echo c +echo "!!" "$(echo !!)" + +echo d +echo "!!" $(echo "!!") + +echo e +echo '!!' $(echo '!!') + +echo f +echo '!!' +echo f +eval echo '!!' + +echo g +echo "!!" +echo g +eval echo "!!" + +set +o history +rm -f $HISTFILE # just in case diff --git a/tests/histexp4.sub b/tests/histexp4.sub new file mode 100644 index 000000000..ddc3bb3c9 --- /dev/null +++ b/tests/histexp4.sub @@ -0,0 +1,23 @@ +HISTFILE=$TMPDIR/bashhist-$$ + +set -o history +set -o histexpand + +echo a +cat < <(echo !!) + +echo b +echo !! `echo !!` + +echo c +echo "$(echo "!" )" + +echo d +echo "$(echo '!' )" + +echo e +echo '!' "!" +echo "'!'" + +set +o history +rm -f $HISTFILE diff --git a/tests/history.right b/tests/history.right index 3dc93a1e6..de8e22b46 100644 --- a/tests/history.right +++ b/tests/history.right @@ -140,7 +140,7 @@ three one two three -4.3 +4.4 echo ${BASH_VERSION%\.*} -4.3 +4.4 echo ${BASH_VERSION%\.*} diff --git a/tests/history.tests b/tests/history.tests index 25d7834fc..f976fbdf7 100644 --- a/tests/history.tests +++ b/tests/history.tests @@ -109,6 +109,6 @@ shopt -q -o history echo $? ${THIS_SH} ./history1.sub -rm foohist-* +rm -f $TMPDIR/foohist-* ${THIS_SH} ./history2.sub diff --git a/tests/history1.sub b/tests/history1.sub index fa51ffc16..091b1edc0 100644 --- a/tests/history1.sub +++ b/tests/history1.sub @@ -1,6 +1,6 @@ trap 'rm -f $HISTFILE' 0 1 2 3 6 15 -HISTFILE=foohist-$$ +HISTFILE=$TMPDIR/foohist-$$ unset HISTIGNORE HISTCONTROL set -o history diff --git a/tests/intl.right b/tests/intl.right index acf108a45..006318e59 100644 --- a/tests/intl.right +++ b/tests/intl.right @@ -17,35 +17,40 @@ aéb 1.0000 1.0000 1,0000 +1 +bytematch +0000000 254 012 +0000002 Passed all 1378 Unicode tests -0000000 303 277 012 +0000000 303 277 012 0000003 -0000000 303 277 012 +0000000 303 277 012 0000003 -0000000 303 277 012 +0000000 303 277 012 0000003 -0000000 303 277 012 +0000000 303 277 012 0000003 -0000000 357 277 277 012 +0000000 357 277 277 012 0000004 -0000000 357 277 277 012 +0000000 357 277 277 012 0000004 -0000000 012 +0000000 012 0000001 -0000000 012 +0000000 012 0000001 -0000000 012 +0000000 012 0000001 -0000000 012 +0000000 012 0000001 -0000000 303 277 012 +0000000 303 277 012 0000003 -0000000 303 277 012 +0000000 303 277 012 0000003 -0000000 303 277 012 +0000000 303 277 012 0000003 -0000000 101 040 302 243 040 305 222 012 +0000000 101 040 302 243 040 305 222 012 0000010 -./unicode3.sub: line 2: 5§@3™+ÆS8Ÿ¢ê³: command not found -5§@3™+ÆS8Ÿ¢ê³ +./unicode3.sub: line 3: $'5\247@3\231+\306S8\237\242\352\263': command not found +./unicode3.sub: line 5: cd: $'5\247@3\231+\306S8\237\242\352\263': No such file or directory +$'5\247@3\231+\306S8\237\242\352\263' + : $'5\247@3\231+\306S8\237\242\352\263' diff --git a/tests/intl.tests b/tests/intl.tests index 3844fa878..5c15b47e8 100644 --- a/tests/intl.tests +++ b/tests/intl.tests @@ -35,8 +35,10 @@ esac set a b printf '%s\n' "$*" -# squeeze out blanks to avoid white space differences in od implementations -printf '%s' "$*" | od -b | ( IFS=$' \t\n' ; while read line; do echo $line; done; ) + +. ./test-glue-functions + +printf '%s' "$*" | od -b | _intl_normalize_spaces # display differences make this problematic ${THIS_SH} ./intl1.sub @@ -44,6 +46,9 @@ ${THIS_SH} ./intl1.sub # this tests both international handling in printf and temporary environments ${THIS_SH} ./intl2.sub +# test splitting on characters instead of bytes +${THIS_SH} ./intl3.sub + ${THIS_SH} ./unicode1.sub 2>/dev/null ${THIS_SH} ./unicode2.sub diff --git a/tests/intl3.sub b/tests/intl3.sub new file mode 100644 index 000000000..650000e93 --- /dev/null +++ b/tests/intl3.sub @@ -0,0 +1,23 @@ +. ./test-glue-functions + +# more tests to make sure that IFS splits on characters, not bytes +export LANG=en_US.UTF-8 + +euro=$'\342\202\254' +o342=$'\342' +o202=$'\202' +o254=$'\254' + +IFS=$o254 +t=+$euro+ +set -- $t + +echo "$#" + +# but matching still occurs on bytes if we don't have a valid multibyte char +case $euro in +*$o202*) echo bytematch ;; +*) echo mbchar match ;; +esac + +echo "${euro##*$o202}" | od -b | _intl_normalize_spaces diff --git a/tests/jobs.right b/tests/jobs.right index 7af54eb06..c3ee9443a 100644 --- a/tests/jobs.right +++ b/tests/jobs.right @@ -61,7 +61,7 @@ fg: usage: fg [job_spec] ./jobs.tests: line 99: bg: -s: invalid option bg: usage: bg [job_spec ...] ./jobs.tests: line 104: disown: -s: invalid option -disown: usage: disown [-h] [-ar] [jobspec ...] +disown: usage: disown [-h] [-ar] [jobspec ... | pid ...] ./jobs.tests: line 108: disown: %1: no such job ./jobs.tests: line 111: disown: %2: no such job wait-for-non-child diff --git a/tests/lastpipe.right b/tests/lastpipe.right index 23fe08916..cca5938d8 100644 --- a/tests/lastpipe.right +++ b/tests/lastpipe.right @@ -8,3 +8,13 @@ last = c 1 -- 0 0 1 1 -- 0 1 0 lastpipe1.sub returns 14 +A1 +A2 +B1 +B2 +HI +A1 +A2 +B1 +B2 +HI -- 42 -- 0 42 diff --git a/tests/lastpipe.tests b/tests/lastpipe.tests index 13fa214ff..16dc84199 100644 --- a/tests/lastpipe.tests +++ b/tests/lastpipe.tests @@ -56,3 +56,6 @@ set +o pipefail ${THIS_SH} ./lastpipe1.sub echo lastpipe1.sub returns $? + +${THIS_SH} ./lastpipe2.sub + diff --git a/tests/lastpipe2.sub b/tests/lastpipe2.sub new file mode 100644 index 000000000..3bcc37d3c --- /dev/null +++ b/tests/lastpipe2.sub @@ -0,0 +1,30 @@ +shopt -s lastpipe +echo -e 'A\nB' | while read letter; do + echo -e '1\n2' | while read digit; do + echo $letter$digit + done +done + +myPipefunc() +{ + cat | tee $TMPDIR/outfile +} +echo HI | myPipefunc + +echo -e 'A\nB' | while read letter; do + echo -e '1\n2' | while read digit; do + echo $letter$digit | myPipefunc + done +done + +rm -f $TMPDIR/outfile + +unset -f myPipefunc +myPipefunc() +{ + cat | read var + return 42 +} +echo HI | myPipefunc + +echo $var -- $? -- ${PIPESTATUS[@]} diff --git a/tests/mapfile.right b/tests/mapfile.right index 9fd4bb5da..143d6ddc1 100644 --- a/tests/mapfile.right +++ b/tests/mapfile.right @@ -162,3 +162,8 @@ foo 3 4 foo 4 5 +0 abc +1 def +2 ghi +3 jkl +abc def ghi jkl diff --git a/tests/mapfile.tests b/tests/mapfile.tests index a9170c135..ff8da32b1 100644 --- a/tests/mapfile.tests +++ b/tests/mapfile.tests @@ -40,3 +40,5 @@ for (( i = 0 ; i < ${#E[@]} ; i++ )); do done ${THIS_SH} ./mapfile1.sub + +${THIS_SH} ./mapfile2.sub diff --git a/tests/mapfile2.sub b/tests/mapfile2.sub new file mode 100644 index 000000000..771a99297 --- /dev/null +++ b/tests/mapfile2.sub @@ -0,0 +1,6 @@ +# test mapfile -d DELIM functionality added after bash-4.3 + +printf "abc\0def\0ghi\0jkl\0" | { + mapfile -C echo -c 1 -d '' A + echo "${A[@]}" +} diff --git a/tests/nameref.right b/tests/nameref.right index 532153488..530025952 100644 --- a/tests/nameref.right +++ b/tests/nameref.right @@ -27,13 +27,15 @@ changevar: expect argv[1] = expect argv[1] = -./nameref.tests: line 93: bar: readonly variable +./nameref.tests: line 93: foo: readonly variable ./nameref.tests: line 94: foo: readonly variable one one ./nameref.tests: line 106: foo: readonly variable ./nameref.tests: line 103: foo: readonly variable one +abxde +abxde one bar @@ -109,6 +111,7 @@ ref -> two, value: 2 ref -> three, value: 3 final state: ref -> three, value: 3 ./nameref6.sub: line 2: typeset: x: nameref variable self references not allowed +./nameref6.sub: line 5: typeset: x[3]: reference variable cannot be an array ./nameref6.sub: line 12: typeset: x: reference variable cannot be an array the -- 1 42 -- 0 @@ -118,12 +121,291 @@ y -- 0 y -- 0 bar unset +./nameref8.sub: line 3: typeset: warning: v: circular name reference +./nameref8.sub: line 3: warning: v: circular name reference +./nameref8.sub: line 5: warning: v: circular name reference inside inside: two outside: +./nameref8.sub: line 29: typeset: warning: x: circular name reference +./nameref8.sub: line 29: warning: x: circular name reference +./nameref8.sub: line 31: warning: x: circular name reference foo +./nameref8.sub: line 38: typeset: warning: v: circular name reference +./nameref8.sub: line 38: warning: v: circular name reference +./nameref8.sub: line 38: warning: v: circular name reference local ./nameref8.sub: line 47: typeset: v: nameref variable self references not allowed ./nameref8.sub: line 54: warning: x: circular name reference ./nameref8.sub: line 55: warning: x: circular name reference x = +idx2 +idX2 +idx2 +idX2 +declare -n foo="x[\$zero]" +42 +declare -a x=([0]="4") +declare -n foo="x[\$(echo 0)]" +4 +comsub +x[i=0] +comsub +4 +comsub +4 +comsub +4 +declare -n foo="somevariable" +./nameref10.sub: line 38: typeset: somevariable: not found +foo = +declare -n foo="somevariable" +declare -A somevariable=([jug]="brown" ) +declare -n foo="somevariable" +declare -A somevariable=([jug]="brown" ) +declare -n foo="somevariable" +./nameref10.sub: line 49: typeset: somevariable: not found +./nameref10.sub: line 51: typeset: foo: not found +./nameref10.sub: line 51: typeset: somevariable: not found +declare -n foo="bar" +./nameref10.sub: line 55: typeset: bar: not found +declare -n foo="bar" +./nameref10.sub: line 57: typeset: bar: not found +declare -n foo="bar" +declare -i bar="8" +8 +declare -n foo="bar" +./nameref10.sub: line 64: typeset: bar: not found +./nameref11.sub: line 1: declare: `/': invalid variable name for name reference +./nameref11.sub: line 2: declare: `/': invalid variable name for name reference +./nameref11.sub: line 3: `/': not a valid identifier +./nameref11.sub: line 4: declare: `/': not a valid identifier +./nameref11.sub: line 5: `/': not a valid identifier +1) / +#? ./nameref11.sub: line 6: `/': not a valid identifier +x + +./nameref11.sub: line 7: ((: `0': not a valid identifier +./nameref11.sub: line 8: declare: `0': invalid variable name for name reference +./nameref11.sub: line 9: declare: `/': invalid variable name for name reference +./nameref11.sub: line 10: declare: `/': invalid variable name for name reference +/ +./nameref11.sub: line 12: `/': not a valid identifier +./nameref11.sub: line 13: exec: `10': not a valid identifier +./nameref11.sub: line 13: r: cannot assign fd to variable +./nameref11.sub: line 14: warning: r: removing nameref attribute +63 +./nameref11.sub: line 15: declare: RO: readonly variable +./nameref11.sub: line 15: RO: readonly variable +./nameref11.sub: line 16: declare: `/': invalid variable name for name reference +/ +./nameref11.sub: line 17: declare: `/': invalid variable name for name reference +./nameref11.sub: illegal option -- h +./nameref11.sub: line 18: getopts: `?': not a valid identifier +./nameref11.sub: line 19: warning: r: removing nameref attribute +declare -a r=() +./nameref11.sub: line 20: declare: r: reference variable cannot be an array +./nameref11.sub: line 21: printf: `/': not a valid identifier +./nameref11.sub: line 23: `': not a valid identifier +./nameref11.sub: line 24: declare: `': not a valid identifier +./nameref11.sub: line 25: `': not a valid identifier +./nameref11.sub: line 26: printf: `': not a valid identifier +./nameref11.sub: line 27: declare: `': invalid variable name for name reference +declare -r ROVAR="42" +./nameref11.sub: line 32: ROVAR: readonly variable +./nameref11.sub: line 32: ROVAR: cannot unset: readonly variable +declare -r ROVAR="42" +./nameref11.sub +./nameref11.sub: line 34: `@': not a valid identifier +./nameref11.sub +declare -n ref="x" +./nameref11.sub: line 39: RO: readonly variable +declare -r RO_PID +./nameref11.sub: line 39: RO: cannot unset: readonly variable +declare -r RO="x" +./nameref11.sub: line 39: declare: RO_PID: not found +./nameref11.sub: line 41: RO2: readonly variable +declare -r RO2="a" +./nameref12.sub: line 6: declare: `/': invalid variable name for name reference +./nameref12.sub: line 9: declare: `%': invalid variable name for name reference +./nameref12.sub: line 13: `^': not a valid identifier +declare -n r +declare -a foo +declare -a foo=([0]="7") +./nameref12.sub: line 26: declare: `42': not a valid identifier +./nameref12.sub: line 27: declare: x: not found +declare -nr RO="foo" +/ +./nameref12.sub: line 45: declare: `7*6': not a valid identifier +./nameref12.sub: line 45: declare: foo: not found +./nameref12.sub: line 47: `7*6': not a valid identifier +declare -n ref="var" +declare -n ref="var" +./nameref12.sub: line 74: readonly: `var[0]': not a valid identifier +declare -- var="foo" +declare -r var2="foo" +declare -n ref="var" +declare -a var=([0]="foo") +./nameref12.sub: line 91: `': not a valid identifier +declare -n ref +declare -- ref="global" +declare -a var=([0]="foo2") +./nameref12.sub: line 100: declare: global: not found +declare -- a +declare -n r="a" +declare -- a +declare -n r="a" +0 +declare -n r="P" +declare -n ref="var" +declare -- a +declare -n r="a" +0 +declare -n r +declare -n r +./nameref13.sub: line 88: typeset: `12345': invalid variable name for name reference +declare -n foo +./nameref13.sub: line 97: typeset: `12345': invalid variable name for name reference +declare -n foo +declare -nx ref="var" +var +var +var +var +foo +foo +foo +foo +before +declare -n ref="var" +./nameref14.sub: line 23: typeset: var: not found +first +declare -n ref="var" +declare -x var="xxx" +invalid +declare -n ref="var" +declare -x var="5" +after +declare -n ref="var" +./nameref14.sub: line 32: typeset: var: not found +declare -n ref="var" +./nameref15.sub: line 1: local: warning: a: circular name reference +./nameref15.sub: line 1: warning: a: circular name reference +./nameref15.sub: line 1: `a[0]': not a valid identifier +declare -a a=([0]="0") +./nameref15.sub: line 1: local: warning: a: circular name reference +./nameref15.sub: line 1: warning: a: circular name reference +./nameref15.sub: line 1: warning: a: circular name reference +declare -a a=([0]="X") +declare -a b=([0]="X") +./nameref15.sub: line 1: local: warning: a: circular name reference +./nameref15.sub: line 1: warning: a: circular name reference +./nameref15.sub: line 1: `a[0]': not a valid identifier +declare -a b=([0]="0") +./nameref15.sub: line 19: typeset: warning: ref: circular name reference +./nameref15.sub: line 19: warning: ref: circular name reference +./nameref15.sub: line 20: warning: ref: circular name reference +./nameref15.sub: line 21: warning: ref: circular name reference +inside +outside X +./nameref15.sub: line 29: typeset: ref: nameref variable self references not allowed +./nameref15.sub: line 31: ref: nameref variable self references not allowed +declare -n ref="re" +declare -n ref="re" +declare -- re="4" +4 +declare -n foo="var[@]" +declare -n ref="var[@]" +./nameref15.sub: line 48: var[@]: bad array subscript +declare -n bar="var[@]" +./nameref15.sub: line 53: var[@]: bad array subscript +declare -n a="b" +declare -n b="a[1]" +./nameref15.sub: line 61: warning: a: removing nameref attribute +declare -a a=([1]="foo") +declare -n b="a[1]" +./nameref15.sub: line 66: warning: a: removing nameref attribute +declare -a a=([1]="foo") +declare -n b="a[1]" +declare -n n="v" +declare -a v=([1]="1") +./nameref15.sub: line 82: typeset: n: not found +declare -a v=([0]="0" [1]="1") +declare -n n="v[1]" +declare -a v=([0]="0") +declare -n r1="y" +declare -n r2="x" +./nameref16.sub: line 12: typeset: x: not found +./nameref16.sub: line 12: typeset: y: not found +declare -n r1="y" +declare -n r2="x" +./nameref16.sub: line 21: typeset: x: not found +./nameref16.sub: line 21: typeset: y: not found +declare -n r1="y" +declare -n r2="x" +./nameref16.sub: line 33: typeset: x: not found +./nameref16.sub: line 33: typeset: y: not found +declare -n r1="y" +declare -n r2="x" +declare -- x="one" +declare -- y="two" +./nameref17.sub: line 8: declare: bar: not found +./nameref17.sub: line 9: unset: foo0: cannot unset: readonly variable +declare -nr foo0="bar" +declare -nr foo0="bar" +declare -- bar +./nameref17.sub: line 14: declare: foo0: readonly variable +./nameref17.sub: line 15: declare: foo0: readonly variable +declare -nr foo1 +./nameref17.sub: line 24: typeset: foo1: readonly variable +declare -nr foo1 +declare -n foo2="bar" +declare -r bar +./nameref17.sub: line 35: bar: readonly variable +./nameref17.sub: line 36: typeset: bar: readonly variable +declare -n foo2="bar" +declare -r bar +declare -- bar3="three" +./nameref17.sub: line 46: unset: foo3: cannot unset: readonly variable +./nameref17.sub: line 49: declare: bar3: readonly variable +declare -nr foo3="bar3" +declare -r bar3="three" +./nameref17.sub: line 51: declare: foo3: readonly variable +declare -nr foo4="bar4" +declare -- bar4="four" +./nameref17.sub: line 63: typeset: foo4: readonly variable +declare -nr foo4="bar4" +declare -nr foo4="bar4" +declare -- bar4="four" +./nameref17.sub: line 79: typeset: foo4: readonly variable +declare -nr foo4="bar4" +declare -nr foo4="bar4" +declare -- bar4="four" +declare -nr foo5 +declare -r foo5 +declare -nr foo5 +declare -r foo5 +./nameref18.sub: line 2: mapfile: `XXX[0]': not a valid identifier +./nameref18.sub: line 3: declare: XXX[0]: not found +./nameref18.sub: line 9: `XXX[0]': not a valid identifier +./nameref18.sub: line 10: declare: XXX[0]: not found +declare -n ref="XXX[0]" +declare -a XXX=([0]="4") +./nameref18.sub: line 24: `XXX[0]': not a valid identifier +declare -n ref="XXX[0]" +./nameref18.sub: line 25: declare: XXX[0]: not found +./nameref18.sub: line 29: read: `XXX[0]': not a valid identifier +./nameref18.sub: line 30: declare: XXX[0]: not found +./nameref18.sub: line 35: `XXX[0]': not a valid identifier +declare -n ref="XXX[0]" +./nameref18.sub: line 38: `XXX[0]': not a valid identifier +./nameref18.sub: line 38: declare: XXX[0]: not found +declare -n ref="var[123]" +./nameref18.sub: line 46: declare: var[123]: not found +declare -a var=([123]="") +declare -n ref="var[123]" +./nameref18.sub: line 50: declare: var[123]: not found +declare -a var=([123]="") +declare -n ref="var[123]" +./nameref18.sub: line 54: declare: var[123]: not found +declare -a var=([123]="X") diff --git a/tests/nameref.tests b/tests/nameref.tests index 438133c64..f4af904cd 100644 --- a/tests/nameref.tests +++ b/tests/nameref.tests @@ -108,11 +108,13 @@ readonly foo=one assignvar foo two three four echo $foo -${THIS_SH} ./nameref1.sub -${THIS_SH} ./nameref2.sub -${THIS_SH} ./nameref3.sub -${THIS_SH} ./nameref4.sub -${THIS_SH} ./nameref5.sub -${THIS_SH} ./nameref6.sub -${THIS_SH} ./nameref7.sub -${THIS_SH} ./nameref8.sub +var=abcde +x=var +declare -n v=var +# these two should display the same +echo ${!x//c/x} +echo ${v//c/x} + +for testfile in ./nameref[0-9].sub ./nameref[1-9][0-9].sub ; do + ${THIS_SH} "$testfile" +done diff --git a/tests/nameref10.sub b/tests/nameref10.sub new file mode 100644 index 000000000..2a1ba3599 --- /dev/null +++ b/tests/nameref10.sub @@ -0,0 +1,64 @@ +# testing behavior of command substitution as one of expansions performed by +# array subscripting; should behave the same directly as when done through +# a nameref + +x[0]=42 +zero=0 +f() { typeset -n foo="$1"; declare -p foo; echo "$foo"; } + +f 'x[$zero]' + +x[$(echo 0)]=4 +declare -p x + +f 'x[$(echo 0)]' + +unset -f f +f() +{ + typeset -n foo="$1"; + + echo "x[i=0$(echo comsub >&2)]" + echo "${x[i=0$(echo comsub >&2)]}" + echo "${!1}" + echo "$foo" +} + +f 'x[i=0$(echo comsub >&2)]' + +unset -f f +unset x + +# problems with unset and namerefs pointing to non-existent variables pointed +# out after bash-4.3 released + +typeset -n foo=somevariable +foo=bar +unset foo # unsets somevariable +typeset -p foo somevariable +echo foo = $foo + +typeset -A foo # should create array variable named somevariable +foo["jug"]="brown" + +typeset -p foo somevariable +typeset -A foo='([jug]="brown" )' +typeset -p foo somevariable + +unset foo +typeset -p foo somevariable +unset -n foo +typeset -p foo somevariable + +unset bar +typeset -n foo=bar +typeset -p foo bar +unset foo +typeset -p foo bar +typeset -i foo +foo=4+4 +typeset -p foo bar +echo "$foo" + +unset foo +typeset -p foo bar diff --git a/tests/nameref11.sub b/tests/nameref11.sub new file mode 100644 index 000000000..85feedfa6 --- /dev/null +++ b/tests/nameref11.sub @@ -0,0 +1,41 @@ +r=/; declare -n r ; unset r +declare -n r=/ ; unset -n r +declare -n r; r=/ ; unset -n r +declare -n r; declare r=/ ; unset -n r +declare -n r; for r in /; do :; done ; unset -n r +declare -n r; select r in /; do :; done <<< 1; echo x; echo $r ; unset -n r +declare -n r; ((r=0)) ; unset -n r +((r=0)); declare -n r ; unset -n r +r=/ declare -n r ; unset -n r +f() { declare -n r; }; r=/ f ; unset r +f() { echo $r; }; declare -n r; r=/ f ; unset -n r +declare -n r; : ${r:=/} ; unset -n r +declare -n r; exec {r}>/dev/null ; unset -n r +declare -n r; coproc r { :; }; echo $r ; unset r ; wait +declare -r RO=x; r=$RO; declare -n r; x=y; declare -n RO; RO=z; declare -p RO; echo "$RO" +s=/; declare -n r=s; declare -n s; echo $r ; unset -n r ; unset -n s +declare -n r=s; declare -n s; s=/ ; unset -n r; unset -n s +declare -n r; getopts x r -h ; unset r; unset -n r +declare -n r; mapfile r < /dev/null ; declare -p r; unset r ; unset -n r +mapfile r < /dev/null; declare -n r ; unset r ; unset -n r +declare -n r; printf -v r / ; unset -n r + +declare -n r; r="" ; unset -n r +declare -n r="" ; unset -n r +declare -n r; : ${r=} ; unset -n r +declare -n r; printf -v r '' ; unset -n r +r=""; declare -n r ; unset -n r +export r + +# coproc tests, since coproc sets and unsets variables +declare -r ROVAR=42 +declare -p ROVAR; coproc ROVAR { :; }; wait; declare -p ROVAR + +echo ${@:0}; coproc @ { :; }; wait ; echo ${@:0} + +declare -n ref=x; coproc ref { :; }; wait ; declare -p ref +unset -n ref ; unset ref + +declare -r RO RO_PID; coproc RO { :; }; declare -p RO_PID; wait; declare -p RO RO_PID + +declare -r RO2=a; declare -n ref_PID=RO2; coproc ref { :; }; wait; declare -p RO2 diff --git a/tests/nameref12.sub b/tests/nameref12.sub new file mode 100644 index 000000000..24c33702a --- /dev/null +++ b/tests/nameref12.sub @@ -0,0 +1,100 @@ +declare -n r +declare -n r +unset -n r + +r=foo +declare -n r=/ + +r=% +declare -n r +unset r + +declare -n r +r=^ +declare -p r + +unset -n r + +declare -n foo +declare -a foo +declare -p foo +foo[0]=7 +declare -p foo +unset foo + +declare -n x +declare x=42 +declare -p x + +declare -n -r RO=foo +declare -p RO + +unset -n r; unset r + +# the details of this may change; currently we put namerefs and values into +# the tempenv if the nameref value is an invalid variable name +f() { echo $r; } + +declare -n r +r=/ ${THIS_SH} < /dev/null +r=/ f + +unset -f f + +# the details of this may change; this will tell me when they do +declare -n foo ; declare -i foo=7*6 ; declare -p foo +unset -n foo +declare -n foo ; declare -i foo ; foo=7*6 ; declare -p foo + +# used to be buggy +f() +{ + unset var + declare -n ref=var + declare -n ref + declare -p ref +} +f + +unset -f f +f() +{ + local var + declare -n ref=var + declare -n ref + declare -p ref +} +f + +unset ref; unset -n ref +unset var + +var=foo +typeset -n ref=var[0] +readonly ref +typeset -p var + +var2=foo +typeset -n ref2=var2 +readonly ref2 +typeset -p var2 + +unset var +unset -n ref ref2 + +unset var; typeset -n ref=var +ref[0]=foo +typeset -p ref var +unset -n ref + +unset var; typeset -n ref +ref[0]=foo +typeset -p ref +unset -n ref + +ref=global +f() { declare -n ref=var; ref[0]=foo1; }; f +f() { declare -n ref=var; ref[0]=foo2; }; f +declare -p ref var + +declare -p global diff --git a/tests/nameref13.sub b/tests/nameref13.sub new file mode 100644 index 000000000..556fbdb7a --- /dev/null +++ b/tests/nameref13.sub @@ -0,0 +1,102 @@ +declare -nt r=a + +f() +{ + declare a + declare -n r=a + declare -p a r +} + +f +unset -f f + +f() +{ + declare a + declare -n r + r=a + declare -p a r +} +f +echo $? + +unset -f f + +P=12345 +function foo +{ + typeset -n r + typeset -n r=P + typeset -p r +} + +foo +unset P foo + +ref=outside + +f() +{ + unset var + declare -n ref=var + declare -n ref; + declare -p ref; +} +f + +unset ref foo + +typeset -n r=a + +f() +{ + typeset a + typeset -n r + typeset -n r + r=a + + typeset -p a r +} +f +echo $? +unset -n r +unset -f f + +function foo +{ + typeset -n r + typeset -n r + typeset -p r +} + +foo +unset -f foo + + +function foo +{ + typeset r + typeset -n r + typeset -p r +} +foo +unset -f foo + +foo() +{ + typeset -n foo + typeset foo=12345 + typeset -p foo +} +foo +unset -f foo + +foo() +{ + typeset -n foo + typeset -n foo=12345 + typeset -p foo +} +foo +unset -f foo + diff --git a/tests/nameref14.sub b/tests/nameref14.sub new file mode 100644 index 000000000..7880b007c --- /dev/null +++ b/tests/nameref14.sub @@ -0,0 +1,43 @@ +# exporting namerefs and putting namerefs in temp env post bash-4.3 + +typeset -nx ref=var; +typeset -p ref + +var=foo; str='' +printenv ref # var +ref+=$str printenv ref # var +ref+="$str" printenv ref # var +ref=$ref$str printenv ref # var + +export ref # follows nameref and exports var + +printenv var # foo +ref+=$str printenv var # foo +ref+="$str" printenv var # foo +ref=$ref$str printenv var # foo + +# none of these should change ref; should follow the nameref and export var +unset var; unset -n ref; typeset -n ref=var + +echo before +typeset -p ref var + +echo first +ref=xxx typeset -p ref var + +echo invalid +var= ref=5 typeset -p ref var + +echo after +typeset -p ref var + +# ref isn't exported, so none of the printenvs should print anything +unset var ; unset -n ref +typeset -n ref=var; +typeset -p ref + +var=foo; str='' +printenv ref +ref+=$str printenv ref +ref+="$str" printenv ref +ref=$ref$str printenv ref diff --git a/tests/nameref15.sub b/tests/nameref15.sub new file mode 100644 index 000000000..6c9ace5ef --- /dev/null +++ b/tests/nameref15.sub @@ -0,0 +1,88 @@ +f() { local -n a=$1; a=X; } + +a=(0); f 'a[0]' +while [[ -v a ]]; do declare -p a; unset a; done + +a=(0); f 'a' +while [[ -v a ]]; do declare -p a; unset a; done + +b=(0); f 'b[0]' +while [[ -v a ]]; do typeset -p a; unset a; done +typeset -p b + +b=(0); f 'a[0]' +while [[ -v a ]]; do typeset -p a; unset a; done +typeset -p b + +add_X_echo() +{ + typeset -n ref=$1 + ref+=X + echo inside $ref +} + +ref= +add_X_echo ref +echo outside "$ref" +unset ref + +typeset -n ref=ref + +typeset -n ref=re ref+=f +typeset -p ref +ref=4 +typeset -p ref re + +export ref +printenv ref +printenv re + +unset ref ; unset -n ref +unset foo; unset -n foo + +typeset -n foo=var[@] +typeset -p foo +typeset -n ref=var ref+=[@] +typeset -p ref + +ref=42 + +typeset -n bar +bar=var[@] +typeset -p bar +bar=7 + +unset a b +unset -n a b + +typeset -n a=b b +b=a[1] +typeset -p a b +a=foo +typeset -p a b + +unset a +typeset -n a=b +declare a=foo +typeset -p a b + +unset n v +unset -n n v + +v=(0 1) +typeset -n n=v +unset n[0] +typeset -p n v + +unset -n n + +v=(0 1) +typeset -n n=v +unset -n n +typeset -p n v + +v=(0 1) +declare -n n=v[1] +unset n +declare -p n v + diff --git a/tests/nameref16.sub b/tests/nameref16.sub new file mode 100644 index 000000000..75c7ba118 --- /dev/null +++ b/tests/nameref16.sub @@ -0,0 +1,44 @@ +# post-bash-4.3 changes for more ksh93 compatibility when following nameref +# chains and using typeset/declare -n to operate on nameref variables rather +# than the variables they reference + +# don't follow nameref chain when using declare -n and at the global scope +unset -n r1 r2 + +typeset -n r1=r2 +typeset -n r2=x +typeset -n r1=y + +typeset -p r1 r2 x y + +# same behavior when in a shell function +foo() +{ + typeset -n r1=r2 + typeset -n r2=x + typeset -n r1=y + + typeset -p r1 r2 x y +} +unset -n r1 r2 +foo +unset -f foo + +# same behavior when namerefs aren't chained +unset -n r1 r2 + +typeset -n r1=z +typeset -n r2=x +typeset -n r1=y +typeset -p r1 r2 x y + +# same behavior when referenced variables have values +unset -n r1 r2 + +x=one +y=two +typeset -n r1=r2 +typeset -n r2=x +typeset -n r1=y + +typeset -p r1 r2 x y diff --git a/tests/nameref17.sub b/tests/nameref17.sub new file mode 100644 index 000000000..0cd5a42d1 --- /dev/null +++ b/tests/nameref17.sub @@ -0,0 +1,103 @@ +# test behavior of readonly namerefs and namerefs referencing readonly variables + +# readonly nameref variable referencing read-write global variable + +bar=one +declare -rn foo0=bar +unset foo0 # unsets bar +declare -p bar +unset -n foo0 # cannot unset +declare -p foo0 + +declare +r foo0 # modifies bar +declare -p foo0 bar +declare +r -n foo0 # error +declare +n foo0 # error +unset bar + +# readonly nameref variable without a value +typeset -n foo1 +typeset -r foo1 + +typeset -p foo1 + +typeset foo1=bar # error +typeset +r foo1 # no-op, follows nameref chain to nothing +typeset -p foo1 + +# nameref pointing to read-only global variable +foo2=bar +typeset -n foo2 +typeset -r foo2 # changes bar + +typeset -p foo2 bar + +foo2=bar # error? +typeset +r foo2 # attempts to change bar, error +typeset -p foo2 bar # nameref unchanged + +# read-only nameref pointing to read-only global variable +bar3=three +declare -rn foo3=bar3 +unset foo3 # unsets bar3 + +bar3=three +declare -p bar3 +unset -n foo3 # cannot unset + +readonly bar3 +declare +r foo3 # error attempting to reference bar3 +declare -p foo3 bar3 +declare +r -n foo3 # error + +# readonly nameref pointing to read-write local -- can we remove nameref attr? +func() +{ + typeset bar4=four + + # readonly nameref + typeset -n -r foo4=bar4 + + typeset -p foo4 bar4 + + typeset +n foo4 + + typeset -p foo4 +} +func +unset -f func + +# readonly nameref pointing to read-write global -- can we remove nameref attr? +bar4=four +foo4=bar4 +# readonly nameref +typeset -n foo4 +typeset -r -n foo4 + +typeset -p foo4 bar4 + +typeset +n foo4 +typeset -p foo4 + +bar4=four +: ${foo4=bar4} + +typeset -p foo4 bar4 + +# readonly local nameref without a value -- can we remove nameref attribute? +func() +{ + declare -r -n foo5 + declare -p foo5 + declare +n foo5 + declare -p foo5 +} +func +unset -f func + +# readonly global nameref without a value -- can we remove nameref attribute? +declare -n foo5 +declare -r -n foo5 +declare -p foo5 +declare +n foo5 +declare -p foo5 diff --git a/tests/nameref18.sub b/tests/nameref18.sub new file mode 100644 index 000000000..1b0229598 --- /dev/null +++ b/tests/nameref18.sub @@ -0,0 +1,54 @@ +declare -n ref=XXX[0] +mapfile ref <<< $'1\n2' +declare -p XXX[0] + +unset -n ref + +declare -n ref=XXX[0] +declare -A ref +ref[foo]=bar +declare -p XXX[0] + +unset -n ref +unset XXX + +typeset -n ref=XXX[0] +typeset ref=4 + +typeset -p ref XXX + +unset -n ref +unset XXX + +declare -n ref=XXX[0] +ref+=([2]=x) +declare -p ref XXX[0] +unset -n ref + +declare -n ref=XXX[0] +read -a ref <<< "A B C" +declare -p XXX[0] +unset -n ref + +declare -n ref=XXX[0] +unset ref +ref=() +declare -p ref + +coproc ref { :; }; declare -p ${!ref} +wait + +unset -n ref + +declare -n ref=var[123] +unset ref +declare ref= +declare -p ref ${!ref} var + +unset ref +declare ref+= +declare -p ref ${!ref} var + +declare +t ref +ref=X +declare -p ref ${!ref} var diff --git a/tests/nameref4.sub b/tests/nameref4.sub index f1e2aef9d..4dd86b2fd 100644 --- a/tests/nameref4.sub +++ b/tests/nameref4.sub @@ -66,7 +66,9 @@ ckval bar hello # XXX -- another self-referencing error? # ksh93 makes this another invalid self-reference -unset foo bar +unset foo +unset -n bar + bar=123 foobar() { @@ -80,14 +82,16 @@ typeset -n short=long short=( a b ) echo "expect " echo ${long[@]} -unset short long +unset long +unset -n short # assignment to a previously-unset variable typeset -n short=long short=foo echo "expect " echo ${long} -unset short long +unset long +unset -n short unset foo bar @@ -110,7 +114,8 @@ barfunc() barfunc bar unset -f foobar -unset foo bar +unset bar +unset -n foo # should ref at global scope survive call to foobar()? unset ref x @@ -151,6 +156,8 @@ echo "expect " recho "${x[@]}" unset ref x +unset -n ref + typeset -n ref ref=x # make sure nameref to a previously-unset variable creates the variable @@ -159,6 +166,8 @@ ckval x 42 # make sure they work inside arithmetic expressions unset foo bar ref x xxx +unset -n ref + typeset -i ivar typeset -n iref=ivar diff --git a/tests/nameref8.sub b/tests/nameref8.sub index 6837f6f44..238086828 100644 --- a/tests/nameref8.sub +++ b/tests/nameref8.sub @@ -55,3 +55,7 @@ x=4 echo x = $x unset -n v w x + +# can we keep local variables invisible when we add nameref attribute? +function f { typeset x; typeset -n x; x=y; } +f diff --git a/tests/nameref9.sub b/tests/nameref9.sub new file mode 100644 index 000000000..e76c21b86 --- /dev/null +++ b/tests/nameref9.sub @@ -0,0 +1,8 @@ +arr=( idx1 idx2 ) +i='arr[1]' +echo ${!i} +echo ${!i/x/X} + +typeset -n f='arr[1]' +echo ${f} +echo ${f/x/X} diff --git a/tests/new-exp.right b/tests/new-exp.right index 3243d05e8..9913fbd6f 100644 --- a/tests/new-exp.right +++ b/tests/new-exp.right @@ -59,8 +59,15 @@ argv[1] = <4> argv[1] = argv[1] = argv[1] = -./new-exp.tests: line 172: ABX: unbound variable -./new-exp.tests: line 176: $6: cannot assign in this way +argv[1] = +argv[2] = +argv[3] = +argv[4] = +argv[1] = +argv[2] = +argv[3] = +./new-exp.tests: line 180: ABX: unbound variable +./new-exp.tests: line 184: $6: cannot assign in this way argv[1] = argv[1] = argv[1] = @@ -169,7 +176,7 @@ this is test 2 ./new-exp2.sub: line 42: 1111111111111111111111: command not found argv[1] = <6> -./new-exp.tests: line 277: ${#:}: bad substitution +./new-exp.tests: line 285: ${#:}: bad substitution argv[1] = <'> argv[1] = <"> argv[1] = <"hello"> @@ -247,6 +254,12 @@ argv[1] = argv[1] = argv[1] = argv[1] = +x +x +x +xabc +x +x argv[1] = argv[2] = argv[3] = @@ -398,13 +411,13 @@ argv[6] = argv[7] = argv[8] = argv[9] = -./new-exp.tests: line 482: $9: unbound variable -./new-exp.tests: line 483: 9: unbound variable -./new-exp.tests: line 484: UNSET: unbound variable -./new-exp.tests: line 485: UNSET: unbound variable -./new-exp.tests: line 486: UNSET: unbound variable -./new-exp.tests: line 487: UNSET: unbound variable -./new-exp.tests: line 488: UNSET: unbound variable +./new-exp.tests: line 503: $9: unbound variable +./new-exp.tests: line 504: 9: unbound variable +./new-exp.tests: line 505: UNSET: unbound variable +./new-exp.tests: line 506: UNSET: unbound variable +./new-exp.tests: line 507: UNSET: unbound variable +./new-exp.tests: line 508: UNSET: unbound variable +./new-exp.tests: line 509: UNSET: unbound variable argv[1] = <5> argv[1] = <#> argv[1] = <#> @@ -421,10 +434,28 @@ argv[3] = <_QUEST> argv[4] = <_QUILL> argv[5] = <_QUOTA> argv[6] = <_QUOTE> +argv[1] = <_QUANTITY> +argv[2] = <_QUART> +argv[3] = <_QUEST> +argv[4] = <_QUILL> +argv[5] = <_QUOTA> +argv[6] = <_QUOTE> argv[1] = <_QUANTITY-_QUART-_QUEST-_QUILL-_QUOTA-_QUOTE> -./new-exp3.sub: line 19: ${!_Q* }: bad substitution -./new-exp3.sub: line 24: ${!1*}: bad substitution -./new-exp3.sub: line 26: ${!@*}: bad substitution +argv[1] = <_QUANTITY> +argv[2] = <_QUART> +argv[3] = <_QUEST> +argv[4] = <_QUILL> +argv[5] = <_QUOTA> +argv[6] = <_QUOTE> +argv[1] = <_QUANTITY> +argv[2] = <_QUART> +argv[3] = <_QUEST> +argv[4] = <_QUILL> +argv[5] = <_QUOTA> +argv[6] = <_QUOTE> +./new-exp3.sub: line 23: ${!_Q* }: bad substitution +./new-exp3.sub: line 28: ${!1*}: bad substitution +./new-exp3.sub: line 30: ${!@*}: bad substitution Case01---3---A:B:C--- Case02---1---A B C::--- Case03---3---A:B:C--- @@ -433,7 +464,7 @@ Case05---3---A:B:C--- Case06---1---A B C::--- Case07---3---A:B:C--- Case08---3---A:B:C--- -./new-exp.tests: line 508: ${$(($#-1))}: bad substitution +./new-exp.tests: line 529: ${$(($#-1))}: bad substitution argv[1] = argv[2] = argv[3] = @@ -450,7 +481,7 @@ argv[1] = argv[1] = argv[2] = argv[1] = <> -./new-exp.tests: line 527: $(($# - 2)): substring expression < 0 +./new-exp.tests: line 548: $(($# - 2)): substring expression < 0 argv[1] = argv[2] = argv[3] = @@ -562,6 +593,16 @@ ing999 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; art;string0;string1;string2;string3;string4;string5;string6;string7;string8;string9;string10;string11;string12;string13;string14;string15;string16;string17;string18;string19;string20;string21;string22;string23;string24;string25;string26;string27;string28;string29;string30;string31;string32;string33;string34;string35;string36;string37;string38;string39;string40;string41;string42;string43;string44;string45;string46;string47;string48;string49;string50;string51;string52;string53;string54;string55;string56;string57;string58;string59;string60;string61;string62;string63;string64;string65;string66;string67;string68;string69;string70;string71;string72;string73;string74;string75;string76;string77;string78;string79;string80;string81;string82;string83;string84;string85;string86;string87;string88;string89;string90;string91;string92;string93;string94;string95;string96;string97;string98;string99;string100;string101;string102;string103;string104;string105;string106;string107;string108;string109;string110;string111;string112;string113;string114;string115;string116;string117;string118;string119;string120;string121;string122;string123;string124;string125;string126;string127;string128;string129;string130;string131;string132;string133;string134;string135;string136;string137;string138;string139;string140;string141;string142;string143;string144;string145;string146;string147;string148;string149;string150;string151;string152;string153;string154;string155;string156;string157;string158;string159;string160;string161;string162;string163;string164;string165;string166;string167;string168;string169;string170;string171;string172;string173;string174;string175;string176;string177;string178;string179;string180;string181;string182;string183;string184;string185;string186;string187;string188;string189;string190;string191;string192;string193;string194;string195;string196;string197;string198;string199;string200;string201;string202;string203;string204;string205;string206;string207;string208;string209;string210;string211;string212;string213;string214;string215;string216;string217;string218;string219;string220;string221;string222;string223;string224;string225;string226;string227;string228;string229;string230;string231;string232;string233;string234;string235;string236;string237;string238;string239;string240;string241;string242;string243;string244;string245;string246;string247;string248;string249;string250;string251;string252;string253;string254;string255;string256;string257;string258;string259;string260;string261;string262;string263;string264;string265;string266;string267;string268;string269;string270;string271;string272;string273;string274;string275;string276;string277;string278;string279;string280;string281;string282;string283;string284;string285;string286;string287;string288;string289;string290;string291;string292;string293;string294;string295;string296;string297;string298;string299;string300;string301;string302;string303;string304;string305;string306;string307;string308;string309;string310;string311;string312;string313;string314;string315;string316;string317;string318;string319;string320;string321;string322;string323;string324;string325;string326;string327;string328;string329;string330;string331;string332;string333;string334;string335;string336;string337;string338;string339;string340;string341;string342;string343;string344;string345;string346;string347;string348;string349;string350;string351;string352;string353;string354;string355;string356;string357;string358;string359;string360;string361;string362;string363;string364;string365;string366;string367;string368;string369;string370;string371;string372;string373;string374;string375;string376;string377;string378;string379;string380;string381;string382;string383;string384;string385;string386;string387;string388;string389;string390;string391;string392;string393;string394;string395;string396;string397;string398;string399;string400;string401;string402;string403;string404;string405;string406;string407;string408;string409;string410;string411;string412;string413;string414;string415;string416;string417;string418;string419;string420;string421;string422;string423;string424;string425;string426;string427;string428;string429;string430;string431;string432;string433;string434;string435;string436;string437;string438;string439;string440;string441;string442;string443;string444;string445;string446;string447;string448;string449;string450;string451;string452;string453;string454;string455;string456;string457;string458;string459;string460;string461;string462;string463;string464;string465;string466;string467;string468;string469;string470;string471;string472;string473;string474;string475;string476;string477;string478;string479;string480;string481;string482;string483;string484;string485;string486;string487;string488;string489;string490;string491;string492;string493;string494;string495;string496;string497;string498;string499;string500;string501;string502;string503;string504;string505;string506;string507;string508;string509;string510;string511;string512;string513;string514;string515;string516;string517;string518;string519;string520;string521;string522;string523;string524;string525;string526;string527;string528;string529;string530;string531;string532;string533;string534;string535;string536;string537;string538;string539;string540;string541;string542;string543;string544;string545;string546;string547;string548;string549;string550;string551;string552;string553;string554;string555;string556;string557;string558;string559;string560;string561;string562;string563;string564;string565;string566;string567;string568;string569;string570;string571;string572;string573;string574;string575;string576;string577;string578;string579;string580;string581;string582;string583;string584;string585;string586;string587;string588;string589;string590;string591;string592;string593;string594;string595;string596;string597;string598;string599;string600;string601;string602;string603;string604;string605;string606;string607;string608;string609;string610;string611;string612;string613;string614;string615;string616;string617;string618;string619;string620;string621;string622;string623;string624;string625;string626;string627;string628;string629;string630;string631;string632;string633;string634;string635;string636;string637;string638;string639;string640;string641;string642;string643;string644;string645;string646;string647;string648;string649;string650;string651;string652;string653;string654;string655;string656;string657;string658;string659;string660;string661;string662;string663;string664;string665;string666;string667;string668;string669;string670;string671;string672;string673;string674;string675;string676;string677;string678;string679;string680;string681;string682;string683;string684;string685;string686;string687;string688;string689;string690;string691;string692;string693;string694;string695;string696;string697;string698;string699;string700;string701;string702;string703;string704;string705;string706;string707;string708;string709;string710;string711;string712;string713;string714;string715;string716;string717;string718;string719;string720;string721;string722;string723;string724;string725;string726;string727;string728;string729;string730;string731;string732;string733;string734;string735;string736;string737;string738;string739;string740;string741;string742;string743;string744;string745;string746;string747;string748;string749;string750;string751;string752;string753;string754;string755;string756;string757;string758;string759;string760;string761;string762;string763;string764;string765;string766;string767;string768;string769;string770;string771;string772;string773;string774;string775;string776;string777;string778;string779;string780;string781;string782;string783;string784;string785;string786;string787;string788;string789;string790;string791;string792;string793;string794;string795;string796;string797;string798;string799;string800;string801;string802;string803;string804;string805;string806;string807;string808;string809;string810;string811;string812;string813;string814;string815;string816;string817;string818;string819;string820;string821;string822;string823;string824;string825;string826;string827;string828;string829;string830;string831;string832;string833;string834;string835;string836;string837;string838;string839;string840;string841;string842;string843;string844;string845;string846;string847;string848;string849;string850;string851;string852;string853;string854;string855;string856;string857;string858;string859;string860;string861;string862;string863;string864;string865;string866;string867;string868;string869;string870;string871;string872;string873;string874;string875;string876;string877;string878;string879;string880;string881;string882;string883;string884;string885;string886;string887;string888;string889;string890;string891;string892;string893;string894;string895;string896;string897;string898;string899;string900;string901;string902;string903;string904;string905;string906;string907;string908;string909;string910;string911;string912;string913;string914;string915;string916;string917;string918;string919;string920;string921;string922;string923;string924;string925;string926;string927;string928;string929;string930;string931;string932;string933;string934;string935;string936;string937;string938;string939;string940;string941;string942;string943;string944;string945;string946;string947;string948;string949;string950;string951;string952;string953;string954;string955;string956;string957;string958;string959;string960;string961;string962;string963;string964;string965;string966;string967;string968;string969;string970;string971;string972;string973;string974;string975;string976;string977;string978;string979;string980;string981;string982;string983;string984;string985;string986;string987;string988;string989;string990;string991;string992;string993;string994;string995;string996;string997;string998;string999 start;string0;string1;string2;string3;string4;string5;string6;string7;string8;string9;string10;string11;string12;string13;string14;string15;string16;string17;string18;string19;string20;string21;string22;string23;string24;string25;string26;string27;string28;string29;string30;string31;string32;string33;string34;string35;string36;string37;string38;string39;string40;string41;string42;string43;string44;string45;string46;string47;string48;string49;string50;string51;string52;string53;string54;string55;string56;string57;string58;string59;string60;string61;string62;string63;string64;string65;string66;string67;string68;string69;string70;string71;string72;string73;string74;string75;string76;string77;string78;string79;string80;string81;string82;string83;string84;string85;string86;string87;string88;string89;string90;string91;string92;string93;string94;string95;string96;string97;string98;string99;string100;string101;string102;string103;string104;string105;string106;string107;string108;string109;string110;string111;string112;string113;string114;string115;string116;string117;string118;string119;string120;string121;string122;string123;string124;string125;string126;string127;string128;string129;string130;string131;string132;string133;string134;string135;string136;string137;string138;string139;string140;string141;string142;string143;string144;string145;string146;string147;string148;string149;string150;string151;string152;string153;string154;string155;string156;string157;string158;string159;string160;string161;string162;string163;string164;string165;string166;string167;string168;string169;string170;string171;string172;string173;string174;string175;string176;string177;string178;string179;string180;string181;string182;string183;string184;string185;string186;string187;string188;string189;string190;string191;string192;string193;string194;string195;string196;string197;string198;string199;string200;string201;string202;string203;string204;string205;string206;string207;string208;string209;string210;string211;string212;string213;string214;string215;string216;string217;string218;string219;string220;string221;string222;string223;string224;string225;string226;string227;string228;string229;string230;string231;string232;string233;string234;string235;string236;string237;string238;string239;string240;string241;string242;string243;string244;string245;string246;string247;string248;string249;string250;string251;string252;string253;string254;string255;string256;string257;string258;string259;string260;string261;string262;string263;string264;string265;string266;string267;string268;string269;string270;string271;string272;string273;string274;string275;string276;string277;string278;string279;string280;string281;string282;string283;string284;string285;string286;string287;string288;string289;string290;string291;string292;string293;string294;string295;string296;string297;string298;string299;string300;string301;string302;string303;string304;string305;string306;string307;string308;string309;string310;string311;string312;string313;string314;string315;string316;string317;string318;string319;string320;string321;string322;string323;string324;string325;string326;string327;string328;string329;string330;string331;string332;string333;string334;string335;string336;string337;string338;string339;string340;string341;string342;string343;string344;string345;string346;string347;string348;string349;string350;string351;string352;string353;string354;string355;string356;string357;string358;string359;string360;string361;string362;string363;string364;string365;string366;string367;string368;string369;string370;string371;string372;string373;string374;string375;string376;string377;string378;string379;string380;string381;string382;string383;string384;string385;string386;string387;string388;string389;string390;string391;string392;string393;string394;string395;string396;string397;string398;string399;string400;string401;string402;string403;string404;string405;string406;string407;string408;string409;string410;string411;string412;string413;string414;string415;string416;string417;string418;string419;string420;string421;string422;string423;string424;string425;string426;string427;string428;string429;string430;string431;string432;string433;string434;string435;string436;string437;string438;string439;string440;string441;string442;string443;string444;string445;string446;string447;string448;string449;string450;string451;string452;string453;string454;string455;string456;string457;string458;string459;string460;string461;string462;string463;string464;string465;string466;string467;string468;string469;string470;string471;string472;string473;string474;string475;string476;string477;string478;string479;string480;string481;string482;string483;string484;string485;string486;string487;string488;string489;string490;string491;string492;string493;string494;string495;string496;string497;string498;string499;string500;string501;string502;string503;string504;string505;string506;string507;string508;string509;string510;string511;string512;string513;string514;string515;string516;string517;string518;string519;string520;string521;string522;string523;string524;string525;string526;string527;string528;string529;string530;string531;string532;string533;string534;string535;string536;string537;string538;string539;string540;string541;string542;string543;string544;string545;string546;string547;string548;string549;string550;string551;string552;string553;string554;string555;string556;string557;string558;string559;string560;string561;string562;string563;string564;string565;string566;string567;string568;string569;string570;string571;string572;string573;string574;string575;string576;string577;string578;string579;string580;string581;string582;string583;string584;string585;string586;string587;string588;string589;string590;string591;string592;string593;string594;string595;string596;string597;string598;string599;string600;string601;string602;string603;string604;string605;string606;string607;string608;string609;string610;string611;string612;string613;string614;string615;string616;string617;string618;string619;string620;string621;string622;string623;string624;string625;string626;string627;string628;string629;string630;string631;string632;string633;string634;string635;string636;string637;string638;string639;string640;string641;string642;string643;string644;string645;string646;string647;string648;string649;string650;string651;string652;string653;string654;string655;string656;string657;string658;string659;string660;string661;string662;string663;string664;string665;string666;string667;string668;string669;string670;string671;string672;string673;string674;string675;string676;string677;string678;string679;string680;string681;string682;string683;string684;string685;string686;string687;string688;string689;string690;string691;string692;string693;string694;string695;string696;string697;string698;string699;string700;string701;string702;string703;string704;string705;string706;string707;string708;string709;string710;string711;string712;string713;string714;string715;string716;string717;string718;string719;string720;string721;string722;string723;string724;string725;string726;string727;string728;string729;string730;string731;string732;string733;string734;string735;string736;string737;string738;string739;string740;string741;string742;string743;string744;string745;string746;string747;string748;string749;string750;string751;string752;string753;string754;string755;string756;string757;string758;string759;string760;string761;string762;string763;string764;string765;string766;string767;string768;string769;string770;string771;string772;string773;string774;string775;string776;string777;string778;string779;string780;string781;string782;string783;string784;string785;string786;string787;string788;string789;string790;string791;string792;string793;string794;string795;string796;string797;string798;string799;string800;string801;string802;string803;string804;string805;string806;string807;string808;string809;string810;string811;string812;string813;string814;string815;string816;string817;string818;string819;string820;string821;string822;string823;string824;string825;string826;string827;string828;string829;string830;string831;string832;string833;string834;string835;string836;string837;string838;string839;string840;string841;string842;string843;string844;string845;string846;string847;string848;string849;string850;string851;string852;string853;string854;string855;string856;string857;string858;string859;string860;string861;string862;string863;string864;string865;string866;string867;string868;string869;string870;string871;string872;string873;string874;string875;string876;string877;string878;string879;string880;string881;string882;string883;string884;string885;string886;string887;string888;string889;string890;string891;string892;string893;string894;string895;string896;string897;string898;string899;string900;string901;string902;string903;string904;string905;string906;string907;string908;string909;string910;string911;string912;string913;string914;string915;string916;string917;string918;string919;string920;string921;string922;string923;string924;string925;string926;string927;string928;string929;string930;string931;string932;string933;string934;string935;string936;string937;string938;string939;string940;string941;string942;string943;string944;string945;string946;string947;string948;string949;string950;string951;string952;string953;string954;string955;string956;string957;string958;string959;string960;string961;string962;string963;string964;string965;string966;string967;string968;string969;string970;string971;string972;string973;string974;string975;string976;string977;string978;string979;string980;string981;string982;string983;string984;string985;string986;string987;string988;string989;string990;string991;string992;string993;string994;string995;string996;string997;string998;string9 +zbcd +axd +axxd +axxd +zzzz +zbcd +axd +axxd +axxd +zzzz a Value = 1 2 3 4 5 a Sub = 0 1 2 3 4 b Value = a b c d e @@ -570,6 +611,38 @@ c Value = 10 20 40 80 c Sub = 0 2 4 8 <1> <2> <3> <4> <5> <10> <20> <40> <80> +<> +<> +<> +<> +<'ab '\''cd'\'' ef'> +./new-exp10.sub: line 11: ${x@C}: bad substitution +<'ab'> <'cd ef'> <''> <'gh'> +<'ab' 'cd ef' '' 'gh'> +<'ab'> <'cd> <''> <'gh'> +<'ab'> <'cd> <''> <'gh'> +<'ab cd'> +<'4'> <'ab cd'> +<> +argv[1] = +< +> +<' \t\n'> +< +> +<$' \t\n'> +declare -r x='ab '\''cd'\'' ef' +set -- 'ab' 'cd ef' '' 'gh' +declare -a A=([0]="ab" [1]="cd ef" [2]="" [3]="gh") +declare -a B=() +declare -A A=([two]="b c" [three]="" [four]="de" [one]="1" ) +r +a +A +ir +a b c d e +5 +a5b argv[1] = argv[1] = -./new-exp.tests: line 584: ABXD: parameter unset +./new-exp.tests: line 608: ABXD: parameter unset diff --git a/tests/new-exp.tests b/tests/new-exp.tests index e48ac3df4..c4aa9d167 100644 --- a/tests/new-exp.tests +++ b/tests/new-exp.tests @@ -167,6 +167,14 @@ recho ${a-$z} expect nothing recho ${!1-$z} +set -- a 'b c' d +unset foo +foo=@ +expect ' ' +recho ${!foo} +expect ' ' +recho "${!foo}" + set -u expect $0: ABX: unbound variable ( recho ${ABX} ) @@ -444,6 +452,19 @@ recho ${xxx//%${zzz}} recho ${xxx//#${zzz}/} recho ${xxx//#${zzz}} +# make sure null strings are replaced appropriately +unset var +var= +echo "${var/#/x}" +echo "${var/*/x}" +echo "${var//*/x}" + +var=abc +echo "${var/#/x}" +echo "${var/*/x}" +echo "${var//*/x}" +unset var + # another case that caused a core dump in bash-2.0 XPATH=/usr/bin:/bin:/usr/local/bin:/usr/gnu/bin::/usr/bin/X11:/sbin:/usr/sbin @@ -573,6 +594,9 @@ ${THIS_SH} ./new-exp8.sub # value is 'anothervar[@]' stop working ${THIS_SH} ./new-exp9.sub +# new parameter transformation `@' expansion operator +${THIS_SH} ./new-exp10.sub + # problems with stray CTLNUL in bash-4.0-alpha unset a a=/a diff --git a/tests/new-exp10.sub b/tests/new-exp10.sub new file mode 100644 index 000000000..e07e5581a --- /dev/null +++ b/tests/new-exp10.sub @@ -0,0 +1,86 @@ +# new framework for parameter transformations, post bash-4.3 + +printf "<%s>" "${x@Q}" ; echo +printf "<%s>" "${x@E}" ; echo +printf "<%s>" "${x@P}" ; echo +printf "<%s>" "${x@A}" ; echo + +x="ab 'cd' ef" +printf "<%s> " "${x@Q}" ; echo + +printf "<%s>" "${x@C}" + +# if unquoted, normal word splitting happens +set -- ab 'cd ef' '' gh +printf "<%s> " "${@@Q}" ; echo +printf "<%s> " "${*@Q}" ; echo +printf "<%s> " ${@@Q} ; echo +printf "<%s> " ${*@Q} ; echo + +y[0]=4 +y[1]='ab cd' + +printf "<%s> " "${y[1]@Q}" ; echo +printf "<%s> " "${y[@]@Q}" ; echo # mksh doesn't like @ or * or arrays subscripted with them + +printf "<%s> " "${z@Q}" ; echo # empty string? + +recho ${z@Q} # this disappears + +# +HOST=host +SHELL_LEVEL=2 +NPS1='\[\]${HOST}($SHELL_LEVEL)[\v]\$ ' + +recho "${NPS1@P}" + +# +D=' \t\n' +printf "<%s>" "${D@E}" ; echo +printf "<%s>" "${D@Q}" ; echo + +E=$' \t\n' +printf "<%s>" "${E@E}" ; echo +printf "<%s>" "${E@Q}" ; echo + +declare x +declare -r x="ab 'cd' ef" +printf "%s" "${x@A}" ; echo + +set -- ab 'cd ef' '' gh +printf "%s " "${@@A}" ; echo + +A=( "$@" ) +printf "%s " "${A[@]@A}" ; echo +B=() +printf "%s " "${B[@]@A}" ; echo + +unset A +declare -A A +A=( [one]=1 [two]='b c' [three]='' [four]=de ) +printf "%s " "${A[@]@A}" ; echo + +unset X +declare X +declare -r X="ab 'cd' ef" +printf "%s" "${X@a}" ; echo + +set -- 1 2 3 4 + +unset A +A=( "$@" ) +printf "%s " "${A@a}" ; echo + +unset A +declare -A A +A=( [one]=1 [two]='b c' [three]='' [four]=de ) +printf "%s " "${A@a}" ; echo + +declare -ir Y=0 +printf "%s" "${Y@a}" ; echo + +# make sure we still handle ${#@} and ${@} as posix requires +set -- a b c d e +echo ${@} +echo ${#@} +echo a${#@}b diff --git a/tests/new-exp3.sub b/tests/new-exp3.sub index 3107ef14a..2a766ebd6 100644 --- a/tests/new-exp3.sub +++ b/tests/new-exp3.sub @@ -8,12 +8,16 @@ _QUEST= _QUART= recho ${!_Q*} +recho ${!_Q@} # compatibility IFS="-$IFS" recho ${!_Q*} recho "${!_Q*}" +recho ${!_Q@} +recho "${!_Q@}" + recho ${!_Y*} recho "${!_Q* }" diff --git a/tests/new-exp8.sub b/tests/new-exp8.sub index 6cae6aba4..e047abce7 100644 --- a/tests/new-exp8.sub +++ b/tests/new-exp8.sub @@ -93,3 +93,24 @@ x="${z/#[^;][^;]}" echo $x x="${z/%[^;][^;]}" echo $x + +# post-bash-4.3 changes to make pattern replacement honor nocasematch variable +unset string +string=abcd + +shopt -s nocasematch + +echo ${string//A/z} +echo ${string//BC/x} +echo ${string//[BC]/x} +echo ${string//[bC]/x} +echo ${string//?/z} + +LC_ALL=C +echo ${string//A/z} +echo ${string//BC/x} +echo ${string//[BC]/x} +echo ${string//[bC]/x} +echo ${string//?/z} + + diff --git a/tests/nquote.right b/tests/nquote.right index 9d1290ef2..e3ae55585 100644 --- a/tests/nquote.right +++ b/tests/nquote.right @@ -56,3 +56,9 @@ $'\'' $'\'abcd\'' ' 1 +argv[1] = <^?> +0000000 del nl +0000002 +0000000 esc fs gs rs us del nl +0000007 +\q diff --git a/tests/nquote.tests b/tests/nquote.tests index aa0a9d88f..80d3cb46a 100644 --- a/tests/nquote.tests +++ b/tests/nquote.tests @@ -117,3 +117,4 @@ recho "$( args $'A\tB' )" ${THIS_SH} ./nquote1.sub ${THIS_SH} ./nquote2.sub +${THIS_SH} ./nquote3.sub diff --git a/tests/nquote3.sub b/tests/nquote3.sub new file mode 100644 index 000000000..d1480c0bf --- /dev/null +++ b/tests/nquote3.sub @@ -0,0 +1,8 @@ +. ./test-glue-functions + +recho $'\c?' + +echo $'\c?' | od -t a | _intl_normalize_spaces +echo $'\c[\c\\\c]\c^\c_\c?' | od -t a | _intl_normalize_spaces + +echo $'\q' diff --git a/tests/parser.right b/tests/parser.right new file mode 100644 index 000000000..43d5a8ed6 --- /dev/null +++ b/tests/parser.right @@ -0,0 +1 @@ +AAA diff --git a/tests/parser.tests b/tests/parser.tests new file mode 100644 index 000000000..12ff88c29 --- /dev/null +++ b/tests/parser.tests @@ -0,0 +1,4 @@ +# catch-all for parsing problems that don't fit anywhere else + +# this has to be in a separate file to get desired EOF behavior +${THIS_SH} ./parser1.sub diff --git a/tests/parser1.sub b/tests/parser1.sub new file mode 100644 index 000000000..503193166 --- /dev/null +++ b/tests/parser1.sub @@ -0,0 +1 @@ +eval "array=(foo bar)" ; echo AAA\ diff --git a/tests/posix2.right b/tests/posix2.right index df30c4f19..b1585a2ef 100644 --- a/tests/posix2.right +++ b/tests/posix2.right @@ -1,2 +1,6 @@ Testing for POSIX.2 conformance +./posix2.tests: eval: line 182: syntax error near unexpected token `esac' +./posix2.tests: eval: line 182: `case esac in (esac) ;; *) echo "case esac test 3" ;; esac' +./posix2.tests: eval: line 184: syntax error near unexpected token `)' +./posix2.tests: eval: line 184: `case esac in esac) ;; *) echo "case esac test 4";; esac' All tests passed diff --git a/tests/posix2.tests b/tests/posix2.tests index d0fb46c60..ecf6a6fa3 100644 --- a/tests/posix2.tests +++ b/tests/posix2.tests @@ -171,6 +171,18 @@ if [ "$val1" != "'#abcd'" ]; then testfail "variable quoting 4" fi +# these are Posix.2 shell grammar rule 4, problems through bash-4.3 +newtest +case esac in (foo|esac) ;; *) testfail "case esac test 1" ;; esac +newtest +case esac in foo|esac) ;; *) testfail "case esac test 2" ;; esac + +# these are supposed to be syntax errors +newtest +eval 'case esac in (esac) ;; *) echo "case esac test 3" ;; esac' +newtest +eval 'case esac in esac) ;; *) echo "case esac test 4";; esac' + if [ $exitval = 0 ]; then echo "All tests passed" else diff --git a/tests/redir.right b/tests/redir.right index f461e6551..c158e2518 100644 --- a/tests/redir.right +++ b/tests/redir.right @@ -140,3 +140,21 @@ bix () } foo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +1 +./redir11.sub: line 8: $a: Bad file descriptor +./redir11.sub: line 9: $(echo $a): Bad file descriptor +7 +after: 42 +./redir11.sub: line 24: echo: write error: Bad file descriptor +./redir11.sub: line 25: echo: write error: Bad file descriptor +./redir11.sub: line 26: $(a=4 foo): Bad file descriptor +./redir11.sub: line 27: $(a=4 foo): Bad file descriptor +./redir11.sub: line 30: $a: Bad file descriptor +./redir11.sub: line 31: $(echo $a): Bad file descriptor +./redir11.sub: line 39: $(ss= declare -i ss): ambiguous redirect +after: 42 +a+=3 +foo +foo +./redir11.sub: line 53: $(echo $a): Bad file descriptor +123 diff --git a/tests/redir.tests b/tests/redir.tests index c2e48663f..24e3cd1a5 100644 --- a/tests/redir.tests +++ b/tests/redir.tests @@ -189,3 +189,6 @@ exec 9>&- ${THIS_SH} ./redir9.sub ${THIS_SH} ./redir10.sub + +${THIS_SH} ./redir11.sub +${THIS_SH} ./redir12.sub diff --git a/tests/redir11.sub b/tests/redir11.sub new file mode 100644 index 000000000..59ed493a3 --- /dev/null +++ b/tests/redir11.sub @@ -0,0 +1,53 @@ +# make sure redirections do not have access to the temporary environment, even +# in subshells and command substitutions + +a=1 +a=4 b=7 ss=4 echo $a + +a=42 +a=2 echo foo >&$a +a=2 echo foo >&$(echo $a) + +foo() +{ + local -i a + local v=0 x=1 + a+=3 + echo $a +} + +a=4 b=7 ss=4 declare -i ss +a=4 b=7 foo +echo after: $a + +unset a +a=4 echo foo >&$(foo) +a=1 echo foo >&$(foo) +a=1 echo foo >&$(a=4 foo) +echo foo >&$(a=4 foo) + +a=42 +a=2 echo foo >&$a +a=2 echo foo >&$(echo $a) + +unset -f foo +foo() +{ + local -i a + local v=0 x=1 + a+=3 + echo $a >&$(ss= declare -i ss) +} + +a=4 b=7 foo +echo after: $a + +unset a +typeset -i a +a=4 eval echo $(echo a+=3) +a=2 +a=9 echo foo >&$(echo $a) +a=2 +a=9 eval echo foo >&$(echo $a) +a=2 +a=9 eval echo foo '>&$(echo $a)' diff --git a/tests/redir12.sub b/tests/redir12.sub new file mode 100644 index 000000000..0e68f3b23 --- /dev/null +++ b/tests/redir12.sub @@ -0,0 +1,5 @@ +# make sure we can wait for the last process substitution, since it sets $! +cat <(exit 123) >/dev/null + +wait "$!" +echo $? diff --git a/tests/run-alias b/tests/run-alias index 6a20b06e9..3b4f4dcf4 100644 --- a/tests/run-alias +++ b/tests/run-alias @@ -1,2 +1,2 @@ -${THIS_SH} ./alias.tests > /tmp/xx 2>&1 -diff /tmp/xx alias.right && rm -f /tmp/xx +${THIS_SH} ./alias.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} alias.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-all b/tests/run-all index d3f3a0e9c..2882fe079 100644 --- a/tests/run-all +++ b/tests/run-all @@ -1,5 +1,16 @@ #! /bin/sh +: ${TMPDIR:=/tmp} +export TMPDIR + +# basic /bin/sh syntax +SUFFIX=`${THIS_SH} -c 'echo $(( $RANDOM + $BASHPID ))'` + +BASH_TSTOUT=${TMPDIR}/bashtst-$SUFFIX # for now +export BASH_TSTOUT + +trap 'rm -f $BASH_TSTOUT' 0 + PATH=.:$PATH # just to get recho/zecho/printenv if not run via `make tests' export PATH @@ -13,7 +24,7 @@ export THIS_SH ${THIS_SH} ./version -rm -f /tmp/xx +rm -f ${BASH_TSTOUT} echo Any output from any test, unless otherwise noted, indicates a possible anomaly @@ -22,7 +33,7 @@ do case $x in $0|run-minimal|run-gprof) ;; *.orig|*~) ;; - *) echo $x ; sh $x ;; + *) echo $x ; sh $x ; rm -f ${BASH_TSTOUT} ;; esac done diff --git a/tests/run-appendop b/tests/run-appendop index c5bffbc1b..2d756f8b2 100644 --- a/tests/run-appendop +++ b/tests/run-appendop @@ -1,2 +1,2 @@ -${THIS_SH} ./appendop.tests > /tmp/xx 2>&1 -diff /tmp/xx appendop.right && rm -f /tmp/xx +${THIS_SH} ./appendop.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} appendop.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-arith b/tests/run-arith index f9f573c6e..0786b4fad 100644 --- a/tests/run-arith +++ b/tests/run-arith @@ -1,2 +1,2 @@ -${THIS_SH} ./arith.tests > /tmp/xx 2>&1 -diff /tmp/xx arith.right && rm -f /tmp/xx +${THIS_SH} ./arith.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} arith.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-arith-for b/tests/run-arith-for index 1d1307526..085715e2c 100644 --- a/tests/run-arith-for +++ b/tests/run-arith-for @@ -1,2 +1,2 @@ -${THIS_SH} ./arith-for.tests > /tmp/xx 2>&1 -diff /tmp/xx arith-for.right && rm -f /tmp/xx +${THIS_SH} ./arith-for.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} arith-for.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-array b/tests/run-array index 6fdbae494..6c5ec2771 100644 --- a/tests/run-array +++ b/tests/run-array @@ -2,5 +2,5 @@ echo "warning: all of these tests will fail if arrays have not" >&2 echo "warning: been compiled into the shell" >&2 echo "warning: the BASH_ARGC and BASH_ARGV tests will fail if debugging support" >&2 echo "warning: has not been compiled into the shell" >&2 -${THIS_SH} ./array.tests > /tmp/xx 2>&1 -diff /tmp/xx array.right && rm -f /tmp/xx +${THIS_SH} ./array.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} array.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-array2 b/tests/run-array2 index dd94ec824..54852ec9b 100644 --- a/tests/run-array2 +++ b/tests/run-array2 @@ -1,4 +1,4 @@ echo "warning: all of these tests will fail if arrays have not" >&2 echo "warning: been compiled into the shell" >&2 -${THIS_SH} ./array-at-star > /tmp/xx 2>&1 -diff /tmp/xx array2.right && rm -f /tmp/xx +${THIS_SH} ./array-at-star > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} array2.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-assoc b/tests/run-assoc index 18c3a9cf1..7fef2344c 100644 --- a/tests/run-assoc +++ b/tests/run-assoc @@ -1,4 +1,4 @@ echo "warning: all of these tests will fail if arrays have not" >&2 echo "warning: been compiled into the shell" >&2 -${THIS_SH} ./assoc.tests > /tmp/xx 2>&1 -diff /tmp/xx assoc.right && rm -f /tmp/xx +${THIS_SH} ./assoc.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} assoc.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-attr b/tests/run-attr new file mode 100644 index 000000000..948b9e1a9 --- /dev/null +++ b/tests/run-attr @@ -0,0 +1,2 @@ +${THIS_SH} ./attr.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} attr.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-braces b/tests/run-braces index 53d4f1b77..554e21839 100644 --- a/tests/run-braces +++ b/tests/run-braces @@ -1,2 +1,2 @@ -${THIS_SH} ./braces.tests > /tmp/xx -diff /tmp/xx braces.right && rm -f /tmp/xx +${THIS_SH} ./braces.tests > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} braces.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-builtins b/tests/run-builtins index db88c8c14..69644f27e 100644 --- a/tests/run-builtins +++ b/tests/run-builtins @@ -2,5 +2,5 @@ echo "warning: some of these tests may fail if process substitution has not" >&2 echo "warning: been compiled into the shell or if the OS does not provide" >&2 echo "warning: /dev/fd." >&2 -${THIS_SH} ./builtins.tests > /tmp/xx 2>&1 -diff /tmp/xx builtins.right && rm -f /tmp/xx +${THIS_SH} ./builtins.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} builtins.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-case b/tests/run-case index 71d9b83d2..1560ee2f7 100644 --- a/tests/run-case +++ b/tests/run-case @@ -1,2 +1,2 @@ -${THIS_SH} ./case.tests > /tmp/xx 2>&1 -diff /tmp/xx case.right && rm -f /tmp/xx +${THIS_SH} ./case.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} case.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-casemod b/tests/run-casemod index 83c1b5a32..9b58764c6 100644 --- a/tests/run-casemod +++ b/tests/run-casemod @@ -1,2 +1,2 @@ -${THIS_SH} ./casemod.tests > /tmp/xx 2>&1 -diff /tmp/xx casemod.right && rm -f /tmp/xx +${THIS_SH} ./casemod.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} casemod.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-comsub b/tests/run-comsub index 0bbcad5e8..4c3d1cfbd 100644 --- a/tests/run-comsub +++ b/tests/run-comsub @@ -1,2 +1,2 @@ -${THIS_SH} ./comsub.tests > /tmp/xx 2>&1 -diff /tmp/xx comsub.right && rm -f /tmp/xx +${THIS_SH} ./comsub.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} comsub.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-comsub-eof b/tests/run-comsub-eof index 5c006be11..0733b2deb 100644 --- a/tests/run-comsub-eof +++ b/tests/run-comsub-eof @@ -1,2 +1,2 @@ -${THIS_SH} ./comsub-eof.tests > /tmp/xx 2>&1 -diff /tmp/xx comsub-eof.right && rm -f /tmp/xx +${THIS_SH} ./comsub-eof.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} comsub-eof.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-comsub-posix b/tests/run-comsub-posix index 38bf8eeae..520cb4428 100644 --- a/tests/run-comsub-posix +++ b/tests/run-comsub-posix @@ -1,2 +1,2 @@ -${THIS_SH} ./comsub-posix.tests > /tmp/xx 2>&1 -diff /tmp/xx comsub-posix.right && rm -f /tmp/xx +${THIS_SH} ./comsub-posix.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} comsub-posix.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-cond b/tests/run-cond index 6b119a621..603e73972 100644 --- a/tests/run-cond +++ b/tests/run-cond @@ -3,5 +3,5 @@ echo "warning: been compiled into the shell" >&2 echo "warning: some of these tests will fail if extended pattern matching has not" >&2 echo "warning: been compiled into the shell" >&2 -${THIS_SH} ./cond.tests > /tmp/xx 2>&1 -diff /tmp/xx cond.right && rm -f /tmp/xx +${THIS_SH} ./cond.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} cond.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-coproc b/tests/run-coproc index ce62474ef..02c5c922f 100644 --- a/tests/run-coproc +++ b/tests/run-coproc @@ -1,4 +1,2 @@ -echo "warning: the process IDs printed will differ on every run" >&2 -echo "warning: and generate diffs" >&2 -${THIS_SH} ./coproc.tests > /tmp/xx 2>&1 -diff /tmp/xx coproc.right && rm -f /tmp/xx +${THIS_SH} ./coproc.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} coproc.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-cprint b/tests/run-cprint index 5f202e437..82d2c2a27 100644 --- a/tests/run-cprint +++ b/tests/run-cprint @@ -1,2 +1,2 @@ -${THIS_SH} ./cprint.tests > /tmp/xx 2>&1 -diff /tmp/xx cprint.right && rm -f /tmp/xx +${THIS_SH} ./cprint.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} cprint.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-dbg-support b/tests/run-dbg-support old mode 100755 new mode 100644 diff --git a/tests/run-dbg-support2 b/tests/run-dbg-support2 old mode 100755 new mode 100644 diff --git a/tests/run-dirstack b/tests/run-dirstack index 6390d1b75..e6b42d431 100644 --- a/tests/run-dirstack +++ b/tests/run-dirstack @@ -1,5 +1,5 @@ -${THIS_SH} ./dstack.tests > /tmp/xx 2>&1 -diff /tmp/xx dstack.right && rm -f /tmp/xx +${THIS_SH} ./dstack.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} dstack.right && rm -f ${BASH_TSTOUT} -${THIS_SH} ./dstack2.tests > /tmp/xx 2>&1 -diff /tmp/xx dstack2.right && rm -f /tmp/xx +${THIS_SH} ./dstack2.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} dstack2.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-dollars b/tests/run-dollars index 0ced4145a..dc5d62387 100644 --- a/tests/run-dollars +++ b/tests/run-dollars @@ -1,2 +1,2 @@ -${THIS_SH} ./dollar-at-star > /tmp/xx 2>&1 -diff /tmp/xx dollar.right && rm -f /tmp/xx +${THIS_SH} ./dollar-at-star > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} dollar.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-errors b/tests/run-errors index 6be4e0c7b..29417cda1 100644 --- a/tests/run-errors +++ b/tests/run-errors @@ -1,2 +1,3 @@ -${THIS_SH} ./errors.tests > /tmp/xx 2>&1 -diff /tmp/xx errors.right && rm -f /tmp/xx +unset OLDPWD # make sure shell doesn't inherit OLDPWD +${THIS_SH} ./errors.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} errors.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-execscript b/tests/run-execscript index f97ab21b1..de786442b 100644 --- a/tests/run-execscript +++ b/tests/run-execscript @@ -5,5 +5,5 @@ echo "warning: \`/tmp/bash-notthere' not being found or \`/' being a directory" echo "warning: produce diff output, please do not consider this a test failure" >&2 echo "warning: if diff output differing only in the location of the bash" >&2 echo "warning: binary appears, please do not consider this a test failure" >&2 -${THIS_SH} ./execscript > /tmp/xx 2>&1 -diff /tmp/xx exec.right && rm -f /tmp/xx +${THIS_SH} ./execscript > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} exec.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-exp-tests b/tests/run-exp-tests index cbabacefe..78cf754d8 100644 --- a/tests/run-exp-tests +++ b/tests/run-exp-tests @@ -1,2 +1,2 @@ -${THIS_SH} ./exp.tests | grep -v '^expect' > /tmp/xx -diff /tmp/xx exp.right && rm -f /tmp/xx +${THIS_SH} ./exp.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} exp.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-exportfunc b/tests/run-exportfunc new file mode 100644 index 000000000..7b207fa9d --- /dev/null +++ b/tests/run-exportfunc @@ -0,0 +1,2 @@ +${THIS_SH} ./exportfunc.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} exportfunc.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-extglob b/tests/run-extglob index 06316ad3c..149e34af8 100644 --- a/tests/run-extglob +++ b/tests/run-extglob @@ -1,4 +1,4 @@ PATH=$PATH:`pwd` export PATH -${THIS_SH} ./extglob.tests | grep -v '^expect' > /tmp/xx -diff /tmp/xx extglob.right && rm -f /tmp/xx +${THIS_SH} ./extglob.tests | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} extglob.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-extglob2 b/tests/run-extglob2 index 0a6f728ec..71d3d8092 100644 --- a/tests/run-extglob2 +++ b/tests/run-extglob2 @@ -1,4 +1,4 @@ PATH=$PATH:`pwd` export PATH -${THIS_SH} ./extglob2.tests | grep -v '^expect' > /tmp/xx -diff /tmp/xx extglob2.right && rm -f /tmp/xx +${THIS_SH} ./extglob2.tests | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} extglob2.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-extglob3 b/tests/run-extglob3 index 267519686..6ebd67479 100644 --- a/tests/run-extglob3 +++ b/tests/run-extglob3 @@ -1,4 +1,4 @@ PATH=$PATH:`pwd` export PATH -${THIS_SH} ./extglob3.tests > /tmp/xx -diff /tmp/xx extglob3.right && rm -f /tmp/xx +${THIS_SH} ./extglob3.tests > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} extglob3.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-func b/tests/run-func index f449eb866..a804364f0 100644 --- a/tests/run-func +++ b/tests/run-func @@ -1,5 +1,5 @@ echo "warning: if you have exported functions defined in your environment," >&2 echo "warning: they may show up as diff output." >&2 echo "warning: if so, please do not consider this a test failure" >&2 -${THIS_SH} ./func.tests > /tmp/xx 2>&1 -diff /tmp/xx func.right && rm -f /tmp/xx +${THIS_SH} ./func.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} func.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-getopts b/tests/run-getopts index 1e8b5fb73..4cfc592f1 100644 --- a/tests/run-getopts +++ b/tests/run-getopts @@ -1,2 +1,2 @@ -${THIS_SH} ./getopts.tests > /tmp/xx 2>&1 -diff /tmp/xx getopts.right && rm -f /tmp/xx +${THIS_SH} ./getopts.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} getopts.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-glob-test b/tests/run-glob-test index 7a1234379..43aa276fd 100644 --- a/tests/run-glob-test +++ b/tests/run-glob-test @@ -1,4 +1,4 @@ PATH=$PATH:`pwd` export PATH -${THIS_SH} ./glob.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx glob.right && rm -f /tmp/xx +${THIS_SH} ./glob.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} glob.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-globstar b/tests/run-globstar index d12cce98c..3aa01ed39 100644 --- a/tests/run-globstar +++ b/tests/run-globstar @@ -1,4 +1,4 @@ PATH=$PATH:`pwd` export PATH -${THIS_SH} ./globstar.tests > /tmp/xx 2>&1 -diff /tmp/xx globstar.right && rm -f /tmp/xx +${THIS_SH} ./globstar.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} globstar.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-heredoc b/tests/run-heredoc index 456453a72..b655c4f8e 100644 --- a/tests/run-heredoc +++ b/tests/run-heredoc @@ -2,5 +2,5 @@ echo "warning: UNIX versions number signals and schedule processes differently." echo "warning: If output differing only in line numbers is produced, please" >&2 echo "warning: do not consider this a test failure." >&2 -${THIS_SH} ./heredoc.tests > /tmp/xx 2>&1 -diff /tmp/xx heredoc.right && rm -f /tmp/xx +${THIS_SH} ./heredoc.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} heredoc.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-herestr b/tests/run-herestr index 8c5b36d32..d6def9c6e 100644 --- a/tests/run-herestr +++ b/tests/run-herestr @@ -1,2 +1,2 @@ -${THIS_SH} ./herestr.tests > /tmp/xx 2>&1 -diff /tmp/xx herestr.right && rm -f /tmp/xx +${THIS_SH} ./herestr.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} herestr.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-histexpand b/tests/run-histexpand index 06a415bd9..a0fc3312a 100644 --- a/tests/run-histexpand +++ b/tests/run-histexpand @@ -1,4 +1,4 @@ echo "warning: all of these tests will fail if history has not been compiled" >&2 echo "warning: into the shell" >&2 -${THIS_SH} ./histexp.tests > /tmp/xx 2>&1 -diff /tmp/xx histexp.right && rm -f /tmp/xx +${THIS_SH} ./histexp.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} histexp.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-history b/tests/run-history index ea356b199..f4fa4663e 100644 --- a/tests/run-history +++ b/tests/run-history @@ -1,4 +1,4 @@ echo "warning: all of these tests will fail if history has not been compiled" >&2 echo "warning: into the shell" >&2 -${THIS_SH} ./history.tests > /tmp/xx 2>&1 -diff /tmp/xx history.right && rm -f /tmp/xx +${THIS_SH} ./history.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} history.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-ifs b/tests/run-ifs index 3f9d82097..394d9988d 100644 --- a/tests/run-ifs +++ b/tests/run-ifs @@ -1,2 +1,2 @@ -${THIS_SH} ./ifs.tests > /tmp/xx 2>&1 -diff /tmp/xx ifs.right && rm -f /tmp/xx +${THIS_SH} ./ifs.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} ifs.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-ifs-posix b/tests/run-ifs-posix index e578e8dd3..895c2e2e8 100644 --- a/tests/run-ifs-posix +++ b/tests/run-ifs-posix @@ -1,2 +1,2 @@ -${THIS_SH} ./ifs-posix.tests > /tmp/xx 2>&1 -diff /tmp/xx ifs-posix.right && rm -f /tmp/xx +${THIS_SH} ./ifs-posix.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} ifs-posix.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-input-test b/tests/run-input-test index aaa5d35d8..412587c5f 100644 --- a/tests/run-input-test +++ b/tests/run-input-test @@ -1,2 +1,2 @@ -${THIS_SH} < ./input-line.sh > /tmp/xx -diff /tmp/xx input.right && rm -f /tmp/xx +${THIS_SH} < ./input-line.sh > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} input.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-intl b/tests/run-intl index 6a9234a3b..c31d1d0a7 100644 --- a/tests/run-intl +++ b/tests/run-intl @@ -3,6 +3,6 @@ echo "warning: some of these tests will fail if you do not have UTF-8" >&2 echo "warning: locales installed on your system." >&2 -echo "warning: please ignore any differences consisting only of white space" >&2 -${THIS_SH} ./intl.tests > /tmp/xx -diff $AFLAG /tmp/xx intl.right && rm -f /tmp/xx + +${THIS_SH} ./intl.tests > ${BASH_TSTOUT} +diff $AFLAG ${BASH_TSTOUT} intl.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-invert b/tests/run-invert index 494930762..b2bd06e50 100644 --- a/tests/run-invert +++ b/tests/run-invert @@ -1,2 +1,2 @@ -${THIS_SH} ./invert.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx invert.right && rm -f /tmp/xx +${THIS_SH} ./invert.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} invert.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-iquote b/tests/run-iquote index 61a8aa772..4fca94a68 100644 --- a/tests/run-iquote +++ b/tests/run-iquote @@ -1,2 +1,2 @@ -${THIS_SH} ./iquote.tests >/tmp/xx 2>&1 -diff /tmp/xx iquote.right && rm -f /tmp/xx +${THIS_SH} ./iquote.tests >${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} iquote.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-jobs b/tests/run-jobs index bfd4fa039..8429b0db9 100644 --- a/tests/run-jobs +++ b/tests/run-jobs @@ -3,5 +3,5 @@ echo "warning: into the shell" >&2 echo "warning: there may be a message regarding a cat process dying due to a" >&2 echo "warning: SIGHUP. Please disregard." >&2 -${THIS_SH} ./jobs.tests > /tmp/xx 2>&1 -diff /tmp/xx jobs.right && rm -f /tmp/xx +${THIS_SH} ./jobs.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} jobs.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-lastpipe b/tests/run-lastpipe index 92ac030f3..2edf5c43f 100644 --- a/tests/run-lastpipe +++ b/tests/run-lastpipe @@ -1,2 +1,2 @@ -${THIS_SH} ./lastpipe.tests > /tmp/xx 2>&1 -diff /tmp/xx lastpipe.right && rm -f /tmp/xx +${THIS_SH} ./lastpipe.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} lastpipe.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-mapfile b/tests/run-mapfile index a207f09c7..e5d1b3842 100644 --- a/tests/run-mapfile +++ b/tests/run-mapfile @@ -1,2 +1,2 @@ -${THIS_SH} ./mapfile.tests > /tmp/xx 2>&1 -diff /tmp/xx mapfile.right && rm -f /tmp/xx +${THIS_SH} ./mapfile.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} mapfile.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-minimal b/tests/run-minimal index de9834478..c7fba73e6 100644 --- a/tests/run-minimal +++ b/tests/run-minimal @@ -3,6 +3,18 @@ # run-minimal - a version of run-all for shells configured with # --enable-minimal-config # + +: ${TMPDIR:=/tmp} +export TMPDIR + +# basic /bin/sh syntax +SUFFIX=`${THIS_SH} -c 'echo $(( $RANDOM + $BASHPID ))'` + +BASH_TSTOUT=${TMPDIR}/bashtst-$SUFFIX # for now +export BASH_TSTOUT + +trap 'rm -f $BASH_TSTOUT' 0 + PATH=.:$PATH # just to get the right version of printenv export PATH @@ -16,7 +28,7 @@ export THIS_SH ${THIS_SH} ./version.mini -rm -f /tmp/xx +rm -f "$BASH_TSTOUT" echo Testing ${THIS_SH} echo Any output from any test, unless otherwise noted, indicates a possible anomaly @@ -31,6 +43,7 @@ do run-precedence|run-quote|run-read|run-rhs-exp|run-strip|run-tilde) echo $x ; sh $x ;; *) ;; esac + rm -f "$BASH_TSTOUT" done exit 0 diff --git a/tests/run-more-exp b/tests/run-more-exp index 60f55cb69..0424a2fb8 100644 --- a/tests/run-more-exp +++ b/tests/run-more-exp @@ -1,2 +1,2 @@ -${THIS_SH} ./more-exp.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx more-exp.right && rm -f /tmp/xx +${THIS_SH} ./more-exp.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} more-exp.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-nameref b/tests/run-nameref index 40f00d52f..b73e1b8cd 100644 --- a/tests/run-nameref +++ b/tests/run-nameref @@ -1,4 +1,4 @@ echo "warning: some of these tests will fail if arrays have not" >&2 echo "warning: been compiled into the shell" >&2 -${THIS_SH} ./nameref.tests > /tmp/xx 2>&1 -diff /tmp/xx nameref.right && rm -f /tmp/xx +${THIS_SH} ./nameref.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} nameref.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-new-exp b/tests/run-new-exp index 2e3d7c9da..8777c7bd8 100644 --- a/tests/run-new-exp +++ b/tests/run-new-exp @@ -6,5 +6,5 @@ echo "warning: if you have exported variables beginning with the string _Q," >&2 echo "warning: diff output may be generated. If so, please do not consider" >&2 echo "warning: this a test failure" >&2 -${THIS_SH} ./new-exp.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx new-exp.right && rm -f /tmp/xx +${THIS_SH} ./new-exp.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} new-exp.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-nquote b/tests/run-nquote index 006872c85..03954b8b4 100644 --- a/tests/run-nquote +++ b/tests/run-nquote @@ -1,2 +1,2 @@ -${THIS_SH} ./nquote.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx nquote.right && rm -f /tmp/xx +${THIS_SH} ./nquote.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} nquote.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-nquote1 b/tests/run-nquote1 index a71740fd2..bd9e9398c 100644 --- a/tests/run-nquote1 +++ b/tests/run-nquote1 @@ -1,4 +1,4 @@ echo "warning: several of these tests will fail if arrays have not" >&2 echo "warning: been compiled into the shell." >&2 -${THIS_SH} ./nquote1.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx nquote1.right && rm -f /tmp/xx +${THIS_SH} ./nquote1.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} nquote1.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-nquote2 b/tests/run-nquote2 index 80d1a8da3..4648d3ee0 100644 --- a/tests/run-nquote2 +++ b/tests/run-nquote2 @@ -1,4 +1,4 @@ echo "warning: several of these tests will fail if arrays have not" >&2 echo "warning: been compiled into the shell." >&2 -${THIS_SH} ./nquote2.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx nquote2.right && rm -f /tmp/xx +${THIS_SH} ./nquote2.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} nquote2.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-nquote3 b/tests/run-nquote3 index 45ba5f7e4..4a3e32af4 100644 --- a/tests/run-nquote3 +++ b/tests/run-nquote3 @@ -1,4 +1,4 @@ echo "warning: several of these tests will fail if arrays have not" >&2 echo "warning: been compiled into the shell." >&2 -${THIS_SH} ./nquote3.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx nquote3.right && rm -f /tmp/xx +${THIS_SH} ./nquote3.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} nquote3.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-nquote4 b/tests/run-nquote4 index 493f4aa1e..44baac4cb 100644 --- a/tests/run-nquote4 +++ b/tests/run-nquote4 @@ -1,4 +1,4 @@ echo warning: some of these tests will fail if you do not have UTF-8 >&2 echo warning: locales installed on your system >&2 -${THIS_SH} ./nquote4.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx nquote4.right && rm -f /tmp/xx +${THIS_SH} ./nquote4.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} nquote4.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-nquote5 b/tests/run-nquote5 index 14cef64c1..1d4c4aa29 100644 --- a/tests/run-nquote5 +++ b/tests/run-nquote5 @@ -1,2 +1,2 @@ -${THIS_SH} ./nquote5.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx nquote5.right && rm -f /tmp/xx +${THIS_SH} ./nquote5.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} nquote5.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-parser b/tests/run-parser new file mode 100644 index 000000000..ea1ec4907 --- /dev/null +++ b/tests/run-parser @@ -0,0 +1,2 @@ +${THIS_SH} ./parser.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} parser.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-posix2 b/tests/run-posix2 index 52eea2faa..cfa95719c 100644 --- a/tests/run-posix2 +++ b/tests/run-posix2 @@ -1,2 +1,2 @@ -${THIS_SH} ./posix2.tests 2>&1 | grep -v '^expect' > /tmp/xx -diff /tmp/xx posix2.right && rm -f /tmp/xx +${THIS_SH} ./posix2.tests 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} posix2.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-posixexp b/tests/run-posixexp index e5a1c3e50..827b0e4c5 100644 --- a/tests/run-posixexp +++ b/tests/run-posixexp @@ -1,2 +1,2 @@ -${THIS_SH} ./posixexp.tests > /tmp/xx 2>&1 -diff /tmp/xx posixexp.right && rm -f /tmp/xx +${THIS_SH} ./posixexp.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} posixexp.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-posixexp2 b/tests/run-posixexp2 index 9a2890f96..1e6b2d906 100644 --- a/tests/run-posixexp2 +++ b/tests/run-posixexp2 @@ -1,2 +1,2 @@ -${THIS_SH} ./posixexp2.tests > /tmp/xx 2>&1 -diff /tmp/xx posixexp2.right && rm -f /tmp/xx +${THIS_SH} ./posixexp2.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} posixexp2.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-posixpat b/tests/run-posixpat index ef2b140da..8937948c8 100644 --- a/tests/run-posixpat +++ b/tests/run-posixpat @@ -1,2 +1,2 @@ -${THIS_SH} ./posixpat.tests > /tmp/xx -diff /tmp/xx posixpat.right && rm -f /tmp/xx +${THIS_SH} ./posixpat.tests > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} posixpat.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-posixpipe b/tests/run-posixpipe index c574535e0..5f099e2ad 100644 --- a/tests/run-posixpipe +++ b/tests/run-posixpipe @@ -1,2 +1,2 @@ -${THIS_SH} ./posixpipe.tests > /tmp/xx 2>&1 -diff /tmp/xx posixpipe.right && rm -f /tmp/xx +${THIS_SH} ./posixpipe.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} posixpipe.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-precedence b/tests/run-precedence index d81a86887..de33224e6 100644 --- a/tests/run-precedence +++ b/tests/run-precedence @@ -1,2 +1,2 @@ -${THIS_SH} ./precedence > /tmp/xx -diff /tmp/xx prec.right && rm -f /tmp/xx +${THIS_SH} ./precedence > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} prec.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-printf b/tests/run-printf index 7b152a125..e242787ca 100644 --- a/tests/run-printf +++ b/tests/run-printf @@ -2,6 +2,6 @@ #( diff -a ./printf.tests ./printf.tests >/dev/null 2>&1 ) && AFLAG=-a # use cat -v (and assume it's there) to make control chars visible -${THIS_SH} ./printf.tests 2>&1 | cat -v > /tmp/xx -#diff $AFLAG /tmp/xx printf.right && rm -f /tmp/xx -diff /tmp/xx printf.right && rm -f /tmp/xx +${THIS_SH} ./printf.tests 2>&1 | cat -v > ${BASH_TSTOUT} +#diff $AFLAG ${BASH_TSTOUT} printf.right && rm -f ${BASH_TSTOUT} +diff ${BASH_TSTOUT} printf.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-quote b/tests/run-quote index 69050428e..2543666f5 100644 --- a/tests/run-quote +++ b/tests/run-quote @@ -1,2 +1,2 @@ -${THIS_SH} ./quote.tests >/tmp/xx 2>&1 -diff /tmp/xx quote.right && rm -f /tmp/xx +${THIS_SH} ./quote.tests >${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} quote.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-read b/tests/run-read index 47e4188b9..5ec07e27a 100644 --- a/tests/run-read +++ b/tests/run-read @@ -1,4 +1,4 @@ echo "warning: please do not consider output differing only in the amount of" >&2 echo "warning: white space to be an error." >&2 -${THIS_SH} ./read.tests > /tmp/xx 2>&1 -diff /tmp/xx read.right && rm -f /tmp/xx +${THIS_SH} ./read.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} read.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-redir b/tests/run-redir index 2be45dd68..071af6eb8 100644 --- a/tests/run-redir +++ b/tests/run-redir @@ -3,5 +3,5 @@ echo "warning: produce diff output." >&2 echo "warning: if the text of an error message concerning \`redir1.*' not being" >&2 echo "warning: found or messages concerning bad file descriptors produce diff" >&2 echo "warning: output, please do not consider it a test failure" >&2 -${THIS_SH} ./redir.tests > /tmp/xx 2>&1 -diff /tmp/xx redir.right && rm -f /tmp/xx +${THIS_SH} ./redir.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} redir.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-rhs-exp b/tests/run-rhs-exp index 1f89d0b61..de8ae0eab 100644 --- a/tests/run-rhs-exp +++ b/tests/run-rhs-exp @@ -1,2 +1,2 @@ -${THIS_SH} ./rhs-exp.tests 2>&1 > /tmp/xx -diff /tmp/xx rhs-exp.right && rm -f /tmp/xx +${THIS_SH} ./rhs-exp.tests 2>&1 > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} rhs-exp.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-rsh b/tests/run-rsh index ef2358370..677069960 100644 --- a/tests/run-rsh +++ b/tests/run-rsh @@ -1,2 +1,2 @@ -${THIS_SH} ./rsh.tests > /tmp/xx 2>&1 -diff /tmp/xx rsh.right && rm -f /tmp/xx +${THIS_SH} ./rsh.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} rsh.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-set-e b/tests/run-set-e index 3389f1180..eed17fa5a 100644 --- a/tests/run-set-e +++ b/tests/run-set-e @@ -1,2 +1,2 @@ -${THIS_SH} ./set-e.tests > /tmp/xx -diff /tmp/xx set-e.right && rm -f /tmp/xx +${THIS_SH} ./set-e.tests > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} set-e.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-set-x b/tests/run-set-x old mode 100755 new mode 100644 diff --git a/tests/run-shopt b/tests/run-shopt index 100a3de02..02c43e717 100644 --- a/tests/run-shopt +++ b/tests/run-shopt @@ -1,2 +1,2 @@ -${THIS_SH} ./shopt.tests > /tmp/xx 2>&1 -diff /tmp/xx shopt.right && rm -f /tmp/xx +${THIS_SH} ./shopt.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} shopt.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-strip b/tests/run-strip index 0d321152e..46a9da9c0 100644 --- a/tests/run-strip +++ b/tests/run-strip @@ -1,2 +1,2 @@ -${THIS_SH} ./strip.tests > /tmp/xx -diff /tmp/xx strip.right && rm -f /tmp/xx +${THIS_SH} ./strip.tests > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} strip.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-test b/tests/run-test index b2482c3f0..d68791ca2 100644 --- a/tests/run-test +++ b/tests/run-test @@ -1,4 +1,4 @@ unset GROUPS UID 2>/dev/null -${THIS_SH} ./test.tests >/tmp/xx 2>&1 -diff /tmp/xx test.right && rm -f /tmp/xx +${THIS_SH} ./test.tests >${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} test.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-tilde b/tests/run-tilde index b8569c11c..9460225ba 100644 --- a/tests/run-tilde +++ b/tests/run-tilde @@ -1,2 +1,2 @@ -${THIS_SH} ./tilde.tests > /tmp/xx -diff /tmp/xx tilde.right && rm -f /tmp/xx +${THIS_SH} ./tilde.tests > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} tilde.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-tilde2 b/tests/run-tilde2 index 4446989df..fa7e7d6cc 100644 --- a/tests/run-tilde2 +++ b/tests/run-tilde2 @@ -1,2 +1,2 @@ -${THIS_SH} ./tilde2.tests > /tmp/xx -diff /tmp/xx tilde2.right && rm -f /tmp/xx +${THIS_SH} ./tilde2.tests > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} tilde2.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-trap b/tests/run-trap index 14f687403..e3331ed0c 100644 --- a/tests/run-trap +++ b/tests/run-trap @@ -2,5 +2,5 @@ echo "warning: UNIX versions number signals and schedule processes differently." echo "warning: If output differing only in line numbers is produced, please" >&2 echo "warning: do not consider this a test failure." >&2 -${THIS_SH} ./trap.tests > /tmp/xx 2>&1 -diff /tmp/xx trap.right && rm -f /tmp/xx +${THIS_SH} ./trap.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} trap.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-type b/tests/run-type index 4d195b01b..499cb4ed7 100644 --- a/tests/run-type +++ b/tests/run-type @@ -1,2 +1,2 @@ -${THIS_SH} ./type.tests > /tmp/xx 2>&1 -diff /tmp/xx type.right && rm -f /tmp/xx +${THIS_SH} ./type.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} type.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-varenv b/tests/run-varenv index f0ce19529..5987a7f3e 100644 --- a/tests/run-varenv +++ b/tests/run-varenv @@ -1,2 +1,2 @@ -${THIS_SH} ./varenv.sh | grep -v '^expect' > /tmp/xx -diff /tmp/xx varenv.right && rm -f /tmp/xx +${THIS_SH} ./varenv.sh 2>&1 | grep -v '^expect' > ${BASH_TSTOUT} +diff ${BASH_TSTOUT} varenv.right && rm -f ${BASH_TSTOUT} diff --git a/tests/run-vredir b/tests/run-vredir index 9a963772f..2a4faf30a 100644 --- a/tests/run-vredir +++ b/tests/run-vredir @@ -1,2 +1,2 @@ -${THIS_SH} ./vredir.tests > /tmp/xx 2>&1 -diff /tmp/xx vredir.right && rm -f /tmp/xx +${THIS_SH} ./vredir.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} vredir.right && rm -f ${BASH_TSTOUT} diff --git a/tests/shopt.right b/tests/shopt.right index 0a7edfb16..86d9ed6b3 100644 --- a/tests/shopt.right +++ b/tests/shopt.right @@ -13,6 +13,7 @@ shopt -u compat32 shopt -u compat40 shopt -u compat41 shopt -u compat42 +shopt -u compat43 shopt -s complete_fullquote shopt -u direxpand shopt -u dirspell @@ -24,14 +25,15 @@ shopt -u extglob shopt -s extquote shopt -u failglob shopt -s force_fignore -shopt -u globstar shopt -u globasciiranges +shopt -u globstar shopt -u gnu_errfmt shopt -u histappend shopt -u histreedit shopt -u histverify shopt -s hostcomplete shopt -u huponexit +shopt -u inherit_errexit shopt -s interactive_comments shopt -u lastpipe shopt -u lithist @@ -74,6 +76,7 @@ shopt -u compat32 shopt -u compat40 shopt -u compat41 shopt -u compat42 +shopt -u compat43 shopt -u direxpand shopt -u dirspell shopt -u dotglob @@ -81,13 +84,14 @@ shopt -u execfail shopt -u extdebug shopt -u extglob shopt -u failglob -shopt -u globstar shopt -u globasciiranges +shopt -u globstar shopt -u gnu_errfmt shopt -u histappend shopt -u histreedit shopt -u histverify shopt -u huponexit +shopt -u inherit_errexit shopt -u lastpipe shopt -u lithist shopt -u login_shell @@ -110,6 +114,7 @@ compat32 off compat40 off compat41 off compat42 off +compat43 off direxpand off dirspell off dotglob off @@ -117,13 +122,14 @@ execfail off extdebug off extglob off failglob off -globstar off globasciiranges off +globstar off gnu_errfmt off histappend off histreedit off histverify off huponexit off +inherit_errexit off lastpipe off lithist off login_shell off diff --git a/tests/source6.sub b/tests/source6.sub index 9e1cb6491..43db20310 100644 --- a/tests/source6.sub +++ b/tests/source6.sub @@ -19,8 +19,13 @@ echo $? echo $? # pipe +if [ -e /dev/stdin ]; then echo "echo three - OK" | . /dev/stdin echo $? +else +# no /dev/stdin, just fake it +echo "three - OK" ; echo 0 +fi # FIFO mkfifo $TMPDIR/fifo-$$ diff --git a/tests/test-glue-functions b/tests/test-glue-functions new file mode 100644 index 000000000..2b2f61d0b --- /dev/null +++ b/tests/test-glue-functions @@ -0,0 +1,9 @@ +# shell functions to include in multiple test files + +# squeeze out blanks to avoid white space differences in od implementations +_intl_normalize_spaces() +{ + sed -e 's/[[:space:]]\{1,\}/ /g' -e 's/[[:space:]]*$//' +} + + diff --git a/tests/trap.right b/tests/trap.right index b36156462..1f68d3318 100644 --- a/tests/trap.right +++ b/tests/trap.right @@ -18,15 +18,15 @@ trap -- 'echo [$LINENO] debug' DEBUG [24] debug func[16] funcdebug funcdebug line -[26] debug +./trap.tests[26] funcdebug trap -- 'echo exiting' EXIT trap -- 'echo aborting' SIGHUP trap -- 'echo aborting' SIGINT trap -- 'echo aborting' SIGQUIT trap -- 'echo aborting' SIGABRT trap -- 'echo aborting' SIGTERM -trap -- 'echo [$LINENO] debug' DEBUG -[28] debug +trap -- 'echo ${FUNCNAME:-$0}[$LINENO] funcdebug' DEBUG +./trap.tests[28] funcdebug ./trap.tests[33] debug ./trap.tests[34] debug func2[30] debug @@ -100,5 +100,4 @@ trap -- 'echo caught a child death' SIGCHLD trap -- 'echo exiting' EXIT trap -- 'echo aborting' SIGABRT trap -- 'echo caught a child death' SIGCHLD -trap -- '' SIGUSR2 exiting diff --git a/tests/trap.tests b/tests/trap.tests index 5d8b06c0a..4176df085 100644 --- a/tests/trap.tests +++ b/tests/trap.tests @@ -62,6 +62,7 @@ echo $? # hmmm...should this set the handling to SIG_IGN for children, too? trap '' USR2 ./trap1.sub +trap - USR2 # test ERR trap ./trap2.sub diff --git a/tests/unicode2.sub b/tests/unicode2.sub index f10cdecff..83ff2747d 100644 --- a/tests/unicode2.sub +++ b/tests/unicode2.sub @@ -1,22 +1,24 @@ +. ./test-glue-functions + export LANG=en_US.UTF-8 -printf '%s\n' "$(printf '\uff')" | od -b -printf '%s\n' $'\uff' | od -b +printf '%s\n' "$(printf '\uff')" | od -b | _intl_normalize_spaces +printf '%s\n' $'\uff' | od -b | _intl_normalize_spaces -printf '\uff'\\n | od -b -echo $'\uff' | od -b +printf '\uff'\\n | od -b | _intl_normalize_spaces +echo $'\uff' | od -b | _intl_normalize_spaces -printf '\uffff'\\n | od -b -echo $'\uffff' | od -b +printf '\uffff'\\n | od -b | _intl_normalize_spaces +echo $'\uffff' | od -b | _intl_normalize_spaces -printf '\Ufffffffe'\\n | od -b -echo $'\Ufffffffe' | od -b +printf '\Ufffffffe'\\n | od -b | _intl_normalize_spaces +echo $'\Ufffffffe' | od -b | _intl_normalize_spaces -printf '\Uffffffff'\\n | od -b -echo $'\Uffffffff' | od -b +printf '\Uffffffff'\\n | od -b | _intl_normalize_spaces +echo $'\Uffffffff' | od -b | _intl_normalize_spaces -LC_CTYPE=C printf '\uff'\\n | od -b -LC_CTYPE=ru_RU.CP1251 printf '\uff'\\n | od -b -LC_CTYPE=en_US.UTF-8 printf '\uff'\\n | od -b +LC_CTYPE=C printf '\uff'\\n | od -b | _intl_normalize_spaces +LC_CTYPE=ru_RU.CP1251 printf '\uff'\\n | od -b | _intl_normalize_spaces +LC_CTYPE=en_US.UTF-8 printf '\uff'\\n | od -b | _intl_normalize_spaces -echo -e '\u0041 \u00a3 \u0152' | od -b +echo -e '\u0041 \u00a3 \u0152' | od -b | _intl_normalize_spaces diff --git a/tests/unicode3.sub b/tests/unicode3.sub index f79871f61..b39f1d3ca 100644 --- a/tests/unicode3.sub +++ b/tests/unicode3.sub @@ -1,6 +1,8 @@ +export LANG=en_US.UTF-8 # make sure payload=$'\065\247\100\063\231\053\306\123\070\237\242\352\263' "$payload" +cd "$payload" printf %q "$payload" echo diff --git a/tests/varenv.right b/tests/varenv.right index 2d98b225e..38d1ce7dd 100644 --- a/tests/varenv.right +++ b/tests/varenv.right @@ -60,12 +60,37 @@ FIN: asdf fdsa, asdf fdsa g: v = , w = f: v = , w = FIN: v = two, w = one -declare -Ar FOOBAR='([foo]="bar" )' -declare -Ar FOOBAR='([foo]="bar" )' -declare -ar FOOBAR2='([0]="bar")' -declare -ar FOOBAR2='([0]="bar")' +./varenv4.sub: line 54: bbb: unique: cannot convert indexed to associative array +after bbb: 1 +declare -Ar FOOBAR=([foo]="bar" ) +declare -Ar FOOBAR=([foo]="bar" ) +declare -ar FOOBAR2=([0]="bar") +declare -ar FOOBAR2=([0]="bar") F OUTSIDE F OUTSIDE +declare -ar outside=() +declare -ir outside1="1" +tempenv = foo +0 +declare -ar myvar=([0]="0") +1 +declare -ir myvar="1" +declare -rx tempvar1='foo' +declare -rx tempvar2='qux' +./varenv7.sub: line 44: local: var: readonly variable +inside: outside +outside: outside +local: unset1 unset2 +abc +abc +:1 +:2 +after: ---- +global:1 +global:2 +after: --global-- +after: ---- +x = :1:2 a=z a=b a=z diff --git a/tests/varenv.sh b/tests/varenv.sh index 6576282a6..a0d316903 100644 --- a/tests/varenv.sh +++ b/tests/varenv.sh @@ -214,6 +214,12 @@ ${THIS_SH} ./varenv5.sub # variable scoping in the presence of nameref ${THIS_SH} ./varenv6.sub +# variable declaration problems with arrays and readonly local variables +${THIS_SH} ./varenv7.sub + +# variable visibility problems with process substitution subshells in +# redirections +${THIS_SH} ./varenv8.sub + # make sure variable scoping is done right tt() { typeset a=b;echo a=$a; };a=z;echo a=$a;tt;echo a=$a - diff --git a/tests/varenv4.sub b/tests/varenv4.sub index 4852ad6fb..b2df61c9a 100644 --- a/tests/varenv4.sub +++ b/tests/varenv4.sub @@ -42,3 +42,17 @@ g() f echo FIN: v = $v, w = $w + +# problem with error return propagation through bash-4.3 +unset -f aaa bbb +unset unique + +aaa() { + declare -g -a unique=() +} +bbb() { + declare -g -A unique=() +} +aaa +bbb +echo after bbb: $? diff --git a/tests/varenv7.sub b/tests/varenv7.sub new file mode 100644 index 000000000..45654da2f --- /dev/null +++ b/tests/varenv7.sub @@ -0,0 +1,62 @@ +foo() +{ + local -a myvar=() + local -r myvar=0 + + echo "${myvar[@]}" + declare -p myvar +} + +foo2() +{ + local -i myvar=0 + local -r myvar=1 + + echo "${myvar}" + declare -p myvar +} + +declare -a outside=() +declare -r outside +declare -p outside + +outside1=1 +declare -ir outside1 +declare -p outside1 + +tempenv=foo declare -r tempenv +echo tempenv = $tempenv + +foo +foo2 + +tempvar1=foo declare -r tempvar1 +echo ${tempvar1@A} + +tempvar2=bar declare -r tempvar2=qux +echo ${tempvar2@A} + +unset foo +readonly var=outside + +func() +{ + local var=inside + echo "inside: $var" +} + +func +echo outside: $var + +unset -f f +unset VAR1 VAR2 +export VAR1=abc VAR2=abc + +f() +{ + local VAR1; local VAR2 + echo local: ${VAR1-unset1} ${VAR2-unset2} + printenv VAR1 ; printenv VAR2 +} + +f diff --git a/tests/varenv8.sub b/tests/varenv8.sub new file mode 100644 index 000000000..cad2c6e99 --- /dev/null +++ b/tests/varenv8.sub @@ -0,0 +1,14 @@ +FOO=bar cat < <(echo $FOO:1; echo $FOO:2) +echo after: --${FOO}-- + +unset FOO +FOO=global + +FOO=bar cat < <(echo $FOO:1; echo $FOO:2) +echo after: --${FOO}-- + +unset FOO +FOO=bar read x < <(echo -n $FOO:1; echo $FOO:2) +echo after: --${FOO}-- +echo x = $x + diff --git a/tests/vredir.right b/tests/vredir.right index 07e02a7ac..3985f22df 100644 --- a/tests/vredir.right +++ b/tests/vredir.right @@ -88,5 +88,16 @@ swizzle () } ok 1 ./vredir6.sub: redirection error: cannot duplicate fd: Invalid argument -./vredir6.sub: line 13: v: Invalid argument +./vredir6.sub: line 13: /dev/null: Invalid argument unset +12 10 +a +a +swizzle is a function +swizzle () +{ + exec {fd[0]}<&0; + exec {fd[1]}>&1; + exec {stdin}<&${fd[0]}-; + exec {stdout}>&${fd[1]}- +} diff --git a/tests/vredir.tests b/tests/vredir.tests index 5158fe397..b81c671c2 100644 --- a/tests/vredir.tests +++ b/tests/vredir.tests @@ -43,4 +43,6 @@ ${THIS_SH} ./vredir5.sub ${THIS_SH} ./vredir6.sub +${THIS_SH} ./vredir7.sub + exit 0 diff --git a/tests/vredir7.sub b/tests/vredir7.sub new file mode 100644 index 000000000..8cb80eddb --- /dev/null +++ b/tests/vredir7.sub @@ -0,0 +1,23 @@ +swizzle() +{ +exec {fd[0]}<&0 +exec {fd[1]}>&1 + +exec {stdin}<&${fd[0]}- +exec {stdout}>&${fd[1]}- +} + +swizzle + +echo $stdin $stdout + +read line <&$stdin <&$stdout + +type swizzle + +exit 0 diff --git a/trap.c b/trap.c index edce31ab9..eb8ecf3a1 100644 --- a/trap.c +++ b/trap.c @@ -1,7 +1,7 @@ /* trap.c -- Not the trap command, but useful functions for manipulating those objects. The trap command is in builtins/trap.def. */ -/* Copyright (C) 1987-2013 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -72,15 +72,17 @@ extern int errno; assumes this. */ static int sigmodes[BASH_NSIG]; -static void free_trap_command __P((int)); -static void change_signal __P((int, char *)); +static void free_trap_command (int); +static void change_signal (int, char *); -static int _run_trap_internal __P((int, char *)); +static int _run_trap_internal (int, char *); -static void free_trap_string __P((int)); -static void reset_signal __P((int)); -static void restore_signal __P((int)); -static void reset_or_restore_signal_handlers __P((sh_resetsig_func_t *)); +static void free_trap_string (int); +static void reset_signal (int); +static void restore_signal (int); +static void reset_or_restore_signal_handlers (sh_resetsig_func_t *); + +static void trap_if_untrapped (int, char *); /* Variables used here but defined in other files. */ extern int last_command_exit_value; @@ -89,9 +91,12 @@ extern int line_number; extern int sigalrm_seen; extern procenv_t alrmbuf; +extern volatile int from_return_trap; + extern char *this_command_name; extern sh_builtin_func_t *this_shell_builtin; extern procenv_t wait_intr_buf; +extern int wait_intr_flag; extern int return_catch_flag, return_catch_value; extern int subshell_level; extern WORD_LIST *subst_assign_varlist; @@ -184,6 +189,8 @@ initialize_traps () GETORIGSIG (SIGTERM); sigmodes[SIGTERM] |= SIG_SPECIAL; } + + get_original_tty_job_signals (); } #ifdef DEBUG @@ -277,8 +284,9 @@ void run_pending_traps () { register int sig; - int old_exit_value; + int old_exit_value, x; WORD_LIST *save_subst_varlist; + HASH_TABLE *save_tempenv; sh_parser_state_t pstate; #if defined (ARRAY_VARS) ARRAY *ps; @@ -292,8 +300,9 @@ run_pending_traps () #if defined (DEBUG) internal_warning ("run_pending_traps: recursive invocation while running trap for signal %d", running_trap-1); #endif -#if 0 - return; /* no recursive trap invocations */ +#if defined (SIGWINCH) + if (running_trap == SIGWINCH+1 && pending_traps[SIGWINCH]) + return; /* no recursive SIGWINCH trap invocations */ #else ; #endif @@ -302,7 +311,7 @@ run_pending_traps () catch_flag = trapped_signal_received = 0; /* Preserve $? when running trap. */ - old_exit_value = last_command_exit_value; + trap_saved_exit_value = old_exit_value = last_command_exit_value; #if defined (ARRAY_VARS) ps = save_pipestatus_array (); #endif @@ -321,7 +330,7 @@ run_pending_traps () if (sig == SIGINT) { pending_traps[sig] = 0; /* XXX */ - run_interrupt_trap (); + run_interrupt_trap (0); CLRINTERRUPT; } #if defined (JOB_CONTROL) && defined (SIGCHLD) @@ -330,8 +339,15 @@ run_pending_traps () (sigmodes[SIGCHLD] & SIG_INPROGRESS) == 0) { sigmodes[SIGCHLD] |= SIG_INPROGRESS; - run_sigchld_trap (pending_traps[sig]); /* use as counter */ + x = pending_traps[sig]; + pending_traps[sig] = 0; + run_sigchld_trap (x); /* use as counter */ + running_trap = 0; sigmodes[SIGCHLD] &= ~SIG_INPROGRESS; + /* continue here rather than reset pending_traps[SIGCHLD] below in + case there are recursive calls to run_pending_traps and children + have been reaped while run_sigchld_trap was running. */ + continue; } else if (sig == SIGCHLD && trap_list[SIGCHLD] == (char *)IMPOSSIBLE_TRAP_HANDLER && @@ -382,6 +398,8 @@ run_pending_traps () save_parser_state (&pstate); save_subst_varlist = subst_assign_varlist; subst_assign_varlist = 0; + save_tempenv = temporary_env; + temporary_env = 0; /* traps should not run with temporary env */ #if defined (JOB_CONTROL) save_pipeline (1); /* XXX only provides one save level */ @@ -395,6 +413,7 @@ run_pending_traps () subst_assign_varlist = save_subst_varlist; restore_parser_state (&pstate); + temporary_env = save_tempenv; } pending_traps[sig] = 0; /* XXX - move before evalstring? */ @@ -438,14 +457,13 @@ trap_handler (sig) catch_flag = 1; pending_traps[sig]++; - trapped_signal_received = sig; if (this_shell_builtin && (this_shell_builtin == wait_builtin)) { wait_signal_received = sig; - if (interrupt_immediately) - longjmp (wait_intr_buf, 1); + if (interrupt_immediately && wait_intr_flag) + sh_longjmp (wait_intr_buf, 1); } #if defined (READLINE) @@ -555,6 +573,16 @@ queue_sigchld_trap (nchild) } #endif /* JOB_CONTROL && SIGCHLD */ +/* Set a trap for SIG only if SIG is not already trapped. */ +static inline void +trap_if_untrapped (sig, command) + int sig; + char *command; +{ + if ((sigmodes[sig] & SIG_TRAPPED) == 0) + set_signal (sig, command); +} + void set_debug_trap (command) char *command; @@ -562,6 +590,19 @@ set_debug_trap (command) set_signal (DEBUG_TRAP, command); } +/* Separate function to call when functions and sourced files want to restore + the original version of the DEBUG trap before returning. Unless the -T + option is set, source and shell function execution save the old debug trap + and unset the trap. If the function or sourced file changes the DEBUG trap, + SIG_TRAPPED will be set and we don't bother restoring the original trap string. + This is used by both functions and the source builtin. */ +void +maybe_set_debug_trap (command) + char *command; +{ + trap_if_untrapped (DEBUG_TRAP, command); +} + void set_error_trap (command) char *command; @@ -569,6 +610,13 @@ set_error_trap (command) set_signal (ERROR_TRAP, command); } +void +maybe_set_error_trap (command) + char *command; +{ + trap_if_untrapped (ERROR_TRAP, command); +} + void set_return_trap (command) char *command; @@ -576,6 +624,13 @@ set_return_trap (command) set_signal (RETURN_TRAP, command); } +void +maybe_set_return_trap (command) + char *command; +{ + trap_if_untrapped (RETURN_TRAP, command); +} + #ifdef INCLUDE_UNUSED void set_sigint_trap (command) @@ -855,6 +910,10 @@ run_exit_trap () retval = trap_saved_exit_value; running_trap = 0; +#if defined (ARRAY_VARS) + array_dispose (ps); +#endif + return retval; } @@ -882,16 +941,18 @@ _run_trap_internal (sig, tag) { char *trap_command, *old_trap; int trap_exit_value, *token_state; - volatile int save_return_catch_flag, function_code; + volatile int save_return_catch_flag, function_code, top_level_code, old_int; int flags; procenv_t save_return_catch; WORD_LIST *save_subst_varlist; + HASH_TABLE *save_tempenv; sh_parser_state_t pstate; #if defined (ARRAY_VARS) ARRAY *ps; #endif trap_exit_value = function_code = 0; + trap_saved_exit_value = last_command_exit_value; /* Run the trap only if SIG is trapped and not ignored, and we are not currently executing in the trap handler. */ if ((sigmodes[sig] & SIG_TRAPPED) && ((sigmodes[sig] & SIG_IGNORED) == 0) && @@ -911,6 +972,9 @@ _run_trap_internal (sig, tag) running_trap = sig + 1; + old_int = interrupt_state; /* temporarily suppress pending interrupts */ + CLRINTERRUPT; + #if defined (ARRAY_VARS) ps = save_pipestatus_array (); #endif @@ -918,6 +982,8 @@ _run_trap_internal (sig, tag) save_parser_state (&pstate); save_subst_varlist = subst_assign_varlist; subst_assign_varlist = 0; + save_tempenv = temporary_env; + temporary_env = 0; /* traps should not run with temporary env */ #if defined (JOB_CONTROL) if (sig != DEBUG_TRAP) /* run_debug_trap does this */ @@ -936,9 +1002,12 @@ _run_trap_internal (sig, tag) if (sig != DEBUG_TRAP && sig != RETURN_TRAP && sig != ERROR_TRAP) flags |= SEVAL_RESETLINE; if (function_code == 0) - parse_and_execute (trap_command, tag, flags); - - trap_exit_value = last_command_exit_value; + { + parse_and_execute (trap_command, tag, flags); + trap_exit_value = last_command_exit_value; + } + else + trap_exit_value = return_catch_value; #if defined (JOB_CONTROL) if (sig != DEBUG_TRAP) /* run_debug_trap does this */ @@ -951,9 +1020,12 @@ _run_trap_internal (sig, tag) #if defined (ARRAY_VARS) restore_pipestatus_array (ps); #endif - running_trap = 0; + + temporary_env = save_tempenv; sigmodes[sig] &= ~SIG_INPROGRESS; + running_trap = 0; + interrupt_state = old_int; if (sigmodes[sig] & SIG_CHANGED) { @@ -973,7 +1045,12 @@ _run_trap_internal (sig, tag) return_catch_value = trap_exit_value; COPY_PROCENV (save_return_catch, return_catch); if (function_code) - longjmp (return_catch, 1); + { +#if 0 + from_return_trap = sig == RETURN_TRAP; +#endif + sh_longjmp (return_catch, 1); + } } } @@ -1021,7 +1098,7 @@ run_debug_trap () if (debugging_mode && trap_exit_value == 2 && return_catch_flag) { return_catch_value = trap_exit_value; - longjmp (return_catch, 1); + sh_longjmp (return_catch, 1); } #endif } @@ -1056,8 +1133,11 @@ run_return_trap () /* Run a trap set on SIGINT. This is called from throw_to_top_level (), and declared here to localize the trap functions. */ void -run_interrupt_trap () +run_interrupt_trap (will_throw) + int will_throw; /* from throw_to_top_level? */ { + if (will_throw && running_trap > 0) + run_trap_cleanup (running_trap - 1); _run_trap_internal (SIGINT, "interrupt trap"); } @@ -1073,12 +1153,20 @@ free_trap_strings () { register int i; - for (i = 0; i < BASH_NSIG; i++) + for (i = 0; i < NSIG; i++) { if (trap_list[i] != (char *)IGNORE_SIG) free_trap_string (i); } - trap_list[DEBUG_TRAP] = trap_list[EXIT_TRAP] = trap_list[ERROR_TRAP] = trap_list[RETURN_TRAP] = (char *)NULL; + for (i = NSIG; i < BASH_NSIG; i++) + { + /* Don't free the trap string if the subshell inherited the trap */ + if ((sigmodes[i] & SIG_TRAPPED) == 0) + { + free_trap_string (i); + trap_list[i] = (char *)NULL; + } + } } /* Free a trap command string associated with SIG without changing signal @@ -1140,6 +1228,7 @@ reset_or_restore_signal_handlers (reset) } else if (sigmodes[i] & SIG_SPECIAL) (*reset) (i); + pending_traps[i] = 0; /* XXX */ } /* Command substitution and other child processes don't inherit the @@ -1186,7 +1275,7 @@ maybe_call_trap_handler (sig) switch (sig) { case SIGINT: - run_interrupt_trap (); + run_interrupt_trap (0); break; case EXIT_TRAP: run_exit_trap (); diff --git a/trap.h b/trap.h index 34a05c4b8..41f185f7d 100644 --- a/trap.h +++ b/trap.h @@ -74,6 +74,10 @@ extern void set_debug_trap __P((char *)); extern void set_error_trap __P((char *)); extern void set_return_trap __P((char *)); +extern void maybe_set_debug_trap __P((char *)); +extern void maybe_set_error_trap __P((char *)); +extern void maybe_set_return_trap __P((char *)); + extern void set_sigint_trap __P((char *)); extern void set_signal __P((int, char *)); @@ -95,7 +99,7 @@ extern void get_all_original_signals __P((void)); extern char *signal_name __P((int)); extern int decode_signal __P((char *, int)); -extern void run_interrupt_trap __P((void)); +extern void run_interrupt_trap __P((int)); extern int maybe_call_trap_handler __P((int)); extern int signal_is_special __P((int)); extern int signal_is_trapped __P((int)); diff --git a/unwind_prot.c b/unwind_prot.c index 85a10b578..c9196dc1c 100644 --- a/unwind_prot.c +++ b/unwind_prot.c @@ -49,6 +49,7 @@ #include "sig.h" #include "quit.h" #include "error.h" /* for internal_warning */ +#include "ocache.h" /* Structure describing a saved variable and the value to restore it to. */ typedef struct { @@ -75,7 +76,6 @@ typedef union uwp { } sv; } UNWIND_ELT; - static void without_interrupts __P((VFunction *, char *, char *)); static void unwind_frame_discard_internal __P((char *, char *)); static void unwind_frame_run_internal __P((char *, char *)); @@ -88,8 +88,24 @@ static void unwind_protect_mem_internal __P((char *, char *)); static UNWIND_ELT *unwind_protect_list = (UNWIND_ELT *)NULL; +/* Allocating from a cache of unwind-protect elements */ +#define UWCACHESIZE 128 + +sh_obj_cache_t uwcache = {0, 0, 0}; + +#if 0 #define uwpalloc(elt) (elt) = (UNWIND_ELT *)xmalloc (sizeof (UNWIND_ELT)) #define uwpfree(elt) free(elt) +#else +#define uwpalloc(elt) ocache_alloc (uwcache, UNWIND_ELT, elt) +#define uwpfree(elt) ocache_free (uwcache, UNWIND_ELT, elt) +#endif + +void +uwp_init () +{ + ocache_create (uwcache, UNWIND_ELT, UWCACHESIZE); +} /* Run a function without interrupts. This relies on the fact that the FUNCTION cannot change the value of interrupt_immediately. (I.e., does @@ -183,6 +199,22 @@ have_unwind_protects () return (unwind_protect_list != 0); } +int +unwind_protect_tag_on_stack (tag) + const char *tag; +{ + UNWIND_ELT *elt; + + elt = unwind_protect_list; + while (elt) + { + if (elt->head.cleanup == 0 && STREQ (elt->arg.v, tag)) + return 1; + elt = elt->head.next; + } + return 0; +} + /* **************************************************************** */ /* */ /* The Actual Functions */ @@ -348,10 +380,9 @@ print_unwind_protect_tags () elt = unwind_protect_list; while (elt) { - unwind_protect_list = unwind_protect_list->head.next; if (elt->head.cleanup == 0) fprintf(stderr, "tag: %s\n", elt->arg.v); - elt = unwind_protect_list; + elt = elt->head.next; } } #endif diff --git a/unwind_prot.h b/unwind_prot.h index cc556f746..cbfc97ca2 100644 --- a/unwind_prot.h +++ b/unwind_prot.h @@ -21,6 +21,8 @@ #if !defined (_UNWIND_PROT_H) #define _UNWIND_PROT_H +extern void uwp_init __P((void)); + /* Run a function without interrupts. */ extern void begin_unwind_frame __P((char *)); extern void discard_unwind_frame __P((char *)); @@ -30,6 +32,7 @@ extern void remove_unwind_protect __P((void)); extern void run_unwind_protects __P((void)); extern void clear_unwind_protect_list __P((int)); extern int have_unwind_protects __P((void)); +extern int unwind_protect_tag_on_stack __P((const char *)); extern void uwp_init __P((void)); /* Define for people who like their code to look a certain way. */ diff --git a/variables.c b/variables.c index 51aaf9cd9..be2446e03 100644 --- a/variables.c +++ b/variables.c @@ -1,6 +1,6 @@ /* variables.c -- Functions for hacking shell variables. */ -/* Copyright (C) 1987-2013 Free Software Foundation, Inc. +/* Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -79,15 +79,20 @@ # include "pcomplete.h" #endif +#define VARIABLES_HASH_BUCKETS 1024 /* must be power of two */ +#define FUNCTIONS_HASH_BUCKETS 512 #define TEMPENV_HASH_BUCKETS 4 /* must be power of two */ -#define ifsname(s) ((s)[0] == 'I' && (s)[1] == 'F' && (s)[2] == 'S' && (s)[3] == '\0') - #define BASHFUNC_PREFIX "BASH_FUNC_" #define BASHFUNC_PREFLEN 10 /* == strlen(BASHFUNC_PREFIX */ #define BASHFUNC_SUFFIX "%%" #define BASHFUNC_SUFFLEN 2 /* == strlen(BASHFUNC_SUFFIX) */ +/* flags for find_variable_internal */ + +#define FV_FORCETEMPENV 0x01 +#define FV_SKIPINVISIBLE 0x02 + extern char **environ; /* Variables used here and defined in other files. */ @@ -171,6 +176,9 @@ static int export_env_size; static int winsize_assignment; /* currently assigning to LINES or COLUMNS */ #endif +SHELL_VAR nameref_invalid_value; +static SHELL_VAR nameref_maxloop_value; + static HASH_TABLE *last_table_searched; /* hash_lookup sets this */ /* Some forward declarations. */ @@ -275,6 +283,8 @@ static int variable_in_context __P((SHELL_VAR *)); static int visible_array_vars __P((SHELL_VAR *)); #endif +static SHELL_VAR *find_variable_internal __P((const char *, int)); + static SHELL_VAR *find_nameref_at_context __P((SHELL_VAR *, VAR_CONTEXT *)); static SHELL_VAR *find_variable_nameref_context __P((SHELL_VAR *, VAR_CONTEXT *, VAR_CONTEXT **)); static SHELL_VAR *find_variable_last_nameref_context __P((SHELL_VAR *, VAR_CONTEXT *, VAR_CONTEXT **)); @@ -305,15 +315,15 @@ create_variable_tables () { shell_variables = global_variables = new_var_context ((char *)NULL, 0); shell_variables->scope = 0; - shell_variables->table = hash_create (0); + shell_variables->table = hash_create (VARIABLES_HASH_BUCKETS); } if (shell_functions == 0) - shell_functions = hash_create (0); + shell_functions = hash_create (FUNCTIONS_HASH_BUCKETS); #if defined (DEBUGGER) if (shell_function_defs == 0) - shell_function_defs = hash_create (0); + shell_function_defs = hash_create (FUNCTIONS_HASH_BUCKETS); #endif } @@ -331,7 +341,7 @@ initialize_shell_variables (env, privmode) create_variable_tables (); - for (string_index = 0; string = env[string_index++]; ) + for (string_index = 0; env && (string = env[string_index++]); ) { char_index = 0; name = string; @@ -352,6 +362,7 @@ initialize_shell_variables (env, privmode) temp_var = (SHELL_VAR *)NULL; +#if defined (FUNCTION_IMPORT) /* If exported function, define it now. Don't import functions from the environment in privileged mode. */ if (privmode == 0 && read_but_dont_execute == 0 && @@ -375,10 +386,12 @@ initialize_shell_variables (env, privmode) memcpy (temp_string + namelen + 1, string, string_length + 1); /* Don't import function names that are invalid identifiers from the - environment, though we still allow them to be defined as shell - variables. */ + environment in posix mode, though we still allow them to be defined as + shell variables. */ if (absolute_program (tname) == 0 && (posixly_correct == 0 || legal_identifier (tname))) parse_and_execute (temp_string, tname, SEVAL_NONINT|SEVAL_NOHIST|SEVAL_FUNCDEF|SEVAL_ONECMD); + else + free (temp_string); /* parse_and_execute does this */ if (temp_var = find_function (tname)) { @@ -399,24 +412,22 @@ initialize_shell_variables (env, privmode) /* Restore original suffix */ tname[namelen] = BASHFUNC_SUFFIX[0]; } + else +#endif /* FUNCTION_IMPORT */ #if defined (ARRAY_VARS) # if ARRAY_EXPORT /* Array variables may not yet be exported. */ - else if (*string == '(' && string[1] == '[' && string[strlen (string) - 1] == ')') + if (*string == '(' && string[1] == '[' && string[strlen (string) - 1] == ')') { string_length = 1; temp_string = extract_array_assignment_list (string, &string_length); - temp_var = assign_array_from_string (name, temp_string); + temp_var = assign_array_from_string (name, temp_string, 0); FREE (temp_string); VSETATTR (temp_var, (att_exported | att_imported)); array_needs_making = 1; } -# endif /* ARRAY_EXPORT */ -#endif -#if 0 - else if (legal_identifier (name)) -#else else +# endif /* ARRAY_EXPORT */ #endif { ro = 0; @@ -479,7 +490,8 @@ initialize_shell_variables (env, privmode) qnx_nidtostr (getnid (), node_name, sizeof (node_name)); # endif temp_var = bind_variable ("NODE", node_name, 0); - set_auto_export (temp_var); + if (temp_var) + set_auto_export (temp_var); } #endif @@ -495,7 +507,11 @@ initialize_shell_variables (env, privmode) #endif set_if_not ("PS2", secondary_prompt); } - set_if_not ("PS4", "+ "); + + if (current_user.euid == 0) + bind_variable ("PS4", "+ ", 0); + else + set_if_not ("PS4", "+ "); /* Don't allow IFS to be imported from the environment. */ temp_var = bind_variable ("IFS", " \t\n", 0); @@ -633,6 +649,11 @@ initialize_shell_variables (env, privmode) if (temp_var && imported_p (temp_var)) sv_xtracefd (temp_var->name); + sv_shcompat ("BASH_COMPAT"); + + /* Allow FUNCNEST to be inherited from the environment. */ + sv_funcnest ("FUNCNEST"); + /* Initialize the dynamic variables, and seed their values. */ initialize_dynamic_variables (); } @@ -788,7 +809,7 @@ adjust_shell_level (change) shell_level = old_level + change; if (shell_level < 0) shell_level = 0; - else if (shell_level > 1000) + else if (shell_level >= 1000) { internal_warning (_("shell level (%d) too high, resetting to 1"), shell_level); shell_level = 1; @@ -836,16 +857,25 @@ void set_pwd () { SHELL_VAR *temp_var, *home_var; - char *temp_string, *home_string; + char *temp_string, *home_string, *current_dir; home_var = find_variable ("HOME"); home_string = home_var ? value_cell (home_var) : (char *)NULL; temp_var = find_variable ("PWD"); + /* Follow posix rules for importing PWD */ if (temp_var && imported_p (temp_var) && (temp_string = value_cell (temp_var)) && + temp_string[0] == '/' && same_file (temp_string, ".", (struct stat *)NULL, (struct stat *)NULL)) - set_working_directory (temp_string); + { + current_dir = sh_canonpath (temp_string, PATH_CHECKDOTDOT|PATH_CHECKEXISTS); + if (current_dir == 0) + current_dir = get_working_directory ("shell_init"); + else + set_working_directory (current_dir); + free (current_dir); + } else if (home_string && interactive_shell && login_shell && same_file (home_string, ".", (struct stat *)NULL, (struct stat *)NULL)) { @@ -865,10 +895,15 @@ set_pwd () } /* According to the Single Unix Specification, v2, $OLDPWD is an - `environment variable' and therefore should be auto-exported. - Make a dummy invisible variable for OLDPWD, and mark it as exported. */ - temp_var = bind_variable ("OLDPWD", (char *)NULL, 0); - VSETATTR (temp_var, (att_exported | att_invisible)); + `environment variable' and therefore should be auto-exported. If we + don't find OLDPWD in the environment, or it doesn't name a directory, + make a dummy invisible variable for OLDPWD, and mark it as exported. */ + temp_var = find_variable ("OLDPWD"); + if (temp_var == 0 || value_cell (temp_var) == 0 || file_isdir (value_cell (temp_var)) == 0) + { + temp_var = bind_variable ("OLDPWD", (char *)NULL, 0); + VSETATTR (temp_var, (att_exported | att_invisible)); + } } /* Make a variable $PPID, which holds the pid of the shell's parent. */ @@ -919,7 +954,7 @@ make_vers_array () ARRAY *av; char *s, d[32], b[INT_STRLEN_BOUND(int) + 1]; - unbind_variable ("BASH_VERSINFO"); + unbind_variable_noref ("BASH_VERSINFO"); vv = make_new_array_variable ("BASH_VERSINFO"); av = array_cell (vv); @@ -1597,6 +1632,13 @@ assign_hashcmd (self, value, ind, key) arrayind_t ind; char *key; { +#if defined (RESTRICTED_SHELL) + if (restricted && strchr (value, '/')) + { + sh_restricted (value); + return (SHELL_VAR *)NULL; + } +#endif phash_insert (key, value, 0, 0); return (build_hashcmd (self)); } @@ -1808,16 +1850,18 @@ var_lookup (name, vcontext) */ SHELL_VAR * -find_variable_internal (name, force_tempenv) +find_variable_internal (name, flags) const char *name; - int force_tempenv; + int flags; { SHELL_VAR *var; - int search_tempenv; + int search_tempenv, force_tempenv; VAR_CONTEXT *vc; var = (SHELL_VAR *)NULL; + force_tempenv = (flags & FV_FORCETEMPENV); + /* If explicitly requested, first look in the temporary environment for the variable. This allows constructs such as "foo=x eval 'echo $foo'" to get the `exported' value of $foo. This happens if we are executing @@ -1828,22 +1872,24 @@ find_variable_internal (name, force_tempenv) if (search_tempenv && temporary_env) var = hash_lookup (name, temporary_env); - vc = shell_variables; -#if 0 -if (search_tempenv == 0 && /* (subshell_environment & SUBSHELL_COMSUB) && */ - expanding_redir && - (this_shell_builtin == eval_builtin || this_shell_builtin == command_builtin)) - { - itrace("find_variable_internal: search_tempenv == 0: skipping VC_BLTNENV"); - while (vc && (vc->flags & VC_BLTNENV)) - vc = vc->down; - if (vc == 0) - vc = shell_variables; - } -#endif - if (var == 0) - var = var_lookup (name, vc); + { + if ((flags & FV_SKIPINVISIBLE) == 0) + var = var_lookup (name, shell_variables); + else + { + /* essentially var_lookup expanded inline so we can check for + att_invisible */ + for (vc = shell_variables; vc; vc = vc->down) + { + var = hash_lookup (name, vc->table); + if (var && invisible_p (var)) + var = 0; + if (var) + break; + } + } + } if (var == 0) return ((SHELL_VAR *)NULL); @@ -1857,8 +1903,8 @@ SHELL_VAR * find_variable_nameref (v) SHELL_VAR *v; { - int level; - char *newname; + int level, flags; + char *newname, *t; SHELL_VAR *orig, *oldv; level = 0; @@ -1872,7 +1918,11 @@ find_variable_nameref (v) if (newname == 0 || *newname == '\0') return ((SHELL_VAR *)0); oldv = v; - v = find_variable_internal (newname, (expanding_redir == 0 && (assigning_in_environment || executing_builtin))); + flags = 0; + if (expanding_redir == 0 && (assigning_in_environment || executing_builtin)) + flags |= FV_FORCETEMPENV; + /* We don't handle array subscripts here. */ + v = find_variable_internal (newname, flags); if (v == orig || v == oldv) { internal_warning (_("%s: circular name reference"), orig->name); @@ -1884,12 +1934,13 @@ find_variable_nameref (v) /* Resolve the chain of nameref variables for NAME. XXX - could change later */ SHELL_VAR * -find_variable_last_nameref (name) +find_variable_last_nameref (name, vflags) const char *name; + int vflags; { SHELL_VAR *v, *nv; char *newname; - int level; + int level, flags; nv = v = find_variable_noref (name); level = 0; @@ -1900,17 +1951,22 @@ find_variable_last_nameref (name) return ((SHELL_VAR *)0); /* error message here? */ newname = nameref_cell (v); if (newname == 0 || *newname == '\0') - return ((SHELL_VAR *)0); + return ((vflags && invisible_p (v)) ? v : (SHELL_VAR *)0); nv = v; - v = find_variable_internal (newname, (expanding_redir == 0 && (assigning_in_environment || executing_builtin))); + flags = 0; + if (expanding_redir == 0 && (assigning_in_environment || executing_builtin)) + flags |= FV_FORCETEMPENV; + /* We don't accommodate array subscripts here. */ + v = find_variable_internal (newname, flags); } return nv; } /* Resolve the chain of nameref variables for NAME. XXX - could change later */ SHELL_VAR * -find_global_variable_last_nameref (name) +find_global_variable_last_nameref (name, vflags) const char *name; + int vflags; { SHELL_VAR *v, *nv; char *newname; @@ -1925,8 +1981,9 @@ find_global_variable_last_nameref (name) return ((SHELL_VAR *)0); /* error message here? */ newname = nameref_cell (v); if (newname == 0 || *newname == '\0') - return ((SHELL_VAR *)0); + return ((vflags && invisible_p (v)) ? v : (SHELL_VAR *)0); nv = v; + /* We don't accommodate array subscripts here. */ v = find_global_variable_noref (newname); } return nv; @@ -1948,7 +2005,7 @@ find_nameref_at_context (v, vc) { level++; if (level > NAMEREF_MAX) - return ((SHELL_VAR *)NULL); + return (&nameref_maxloop_value); newname = nameref_cell (nv); if (newname == 0 || *newname == '\0') return ((SHELL_VAR *)NULL); @@ -1978,6 +2035,8 @@ find_variable_nameref_context (v, vc, nvcp) for (nv = v, nvc = vc; nvc; nvc = nvc->down) { nv2 = find_nameref_at_context (nv, nvc); + if (nv2 == &nameref_maxloop_value) + return (nv2); /* XXX */ if (nv2 == 0) continue; nv = nv2; @@ -2007,6 +2066,8 @@ find_variable_last_nameref_context (v, vc, nvcp) for (nv = v, nvc = vc; nvc; nvc = nvc->down) { nv2 = find_nameref_at_context (nv, nvc); + if (nv2 == &nameref_maxloop_value) + return (nv2); /* XXX */ if (nv2 == 0) continue; nv = nv2; @@ -2016,6 +2077,58 @@ find_variable_last_nameref_context (v, vc, nvcp) return (nameref_p (nv) ? nv : (SHELL_VAR *)NULL); } +SHELL_VAR * +find_variable_nameref_for_create (name, flags) + const char *name; + int flags; +{ + SHELL_VAR *var; + + /* See if we have a nameref pointing to a variable that hasn't been + created yet. */ + var = find_variable_last_nameref (name, 1); + if ((flags&1) && var && nameref_p (var) && invisible_p (var)) + { + internal_warning (_("%s: removing nameref attribute"), name); + VUNSETATTR (var, att_nameref); + } + if (var && nameref_p (var)) + { + if (legal_identifier (nameref_cell (var)) == 0) + { + sh_invalidid (nameref_cell (var) ? nameref_cell (var) : ""); + return ((SHELL_VAR *)INVALID_NAMEREF_VALUE); + } + } + return (var); +} + +SHELL_VAR * +find_variable_nameref_for_assignment (name, flags) + const char *name; + int flags; +{ + SHELL_VAR *var; + + /* See if we have a nameref pointing to a variable that hasn't been + created yet. */ + var = find_variable_last_nameref (name, 1); + if (var && nameref_p (var) && invisible_p (var)) /* XXX - flags */ + { + internal_warning (_("%s: removing nameref attribute"), name); + VUNSETATTR (var, att_nameref); + } + if (var && nameref_p (var)) + { + if (valid_nameref_value (nameref_cell (var), 1) == 0) + { + sh_invalidid (nameref_cell (var) ? nameref_cell (var) : ""); + return ((SHELL_VAR *)INVALID_NAMEREF_VALUE); + } + } + return (var); +} + /* Find a variable, forcing a search of the temporary environment first */ SHELL_VAR * find_variable_tempenv (name) @@ -2023,7 +2136,7 @@ find_variable_tempenv (name) { SHELL_VAR *var; - var = find_variable_internal (name, 1); + var = find_variable_internal (name, FV_FORCETEMPENV); if (var && nameref_p (var)) var = find_variable_nameref (var); return (var); @@ -2094,9 +2207,52 @@ find_variable (name) const char *name; { SHELL_VAR *v; + int flags; + + last_table_searched = 0; + flags = 0; + if (expanding_redir == 0 && (assigning_in_environment || executing_builtin)) + flags |= FV_FORCETEMPENV; + v = find_variable_internal (name, flags); + if (v && nameref_p (v)) + v = find_variable_nameref (v); + return v; +} + +/* Find the first instance of NAME in the variable context chain; return first + one found without att_invisible set; return 0 if no non-invisible instances + found. */ +SHELL_VAR * +find_variable_no_invisible (name) + const char *name; +{ + SHELL_VAR *v; + int flags; last_table_searched = 0; - v = find_variable_internal (name, (expanding_redir == 0 && (assigning_in_environment || executing_builtin))); + flags = FV_SKIPINVISIBLE; + if (expanding_redir == 0 && (assigning_in_environment || executing_builtin)) + flags |= FV_FORCETEMPENV; + v = find_variable_internal (name, flags); + if (v && nameref_p (v)) + v = find_variable_nameref (v); + return v; +} + +/* Find the first instance of NAME in the variable context chain; return first + one found even if att_invisible set. */ +SHELL_VAR * +find_variable_for_assignment (name) + const char *name; +{ + SHELL_VAR *v; + int flags; + + last_table_searched = 0; + flags = 0; + if (expanding_redir == 0 && (assigning_in_environment || executing_builtin)) + flags |= FV_FORCETEMPENV; + v = find_variable_internal (name, flags); if (v && nameref_p (v)) v = find_variable_nameref (v); return v; @@ -2107,8 +2263,12 @@ find_variable_noref (name) const char *name; { SHELL_VAR *v; + int flags; - v = find_variable_internal (name, (expanding_redir == 0 && (assigning_in_environment || executing_builtin))); + flags = 0; + if (expanding_redir == 0 && (assigning_in_environment || executing_builtin)) + flags |= FV_FORCETEMPENV; + v = find_variable_internal (name, flags); return v; } @@ -2154,9 +2314,9 @@ get_variable_value (var) /* Return the string value of a variable. Return NULL if the variable doesn't exist. Don't cons a new string. This is a potential memory - leak if the variable is found in the temporary environment. Since - functions and variables have separate name spaces, returns NULL if - var_name is a shell function only. */ + leak if the variable is found in the temporary environment, but doesn't + leak in practice. Since functions and variables have separate name + spaces, returns NULL if var_name is a shell function only. */ char * get_string_value (var_name) const char *var_name; @@ -2202,16 +2362,29 @@ SHELL_VAR * make_local_variable (name) const char *name; { - SHELL_VAR *new_var, *old_var; + SHELL_VAR *new_var, *old_var, *old_ref; VAR_CONTEXT *vc; int was_tmpvar; char *tmp_value; + /* We don't want to follow the nameref chain when making local variables; we + just want to create them. */ + old_ref = find_variable_noref (name); + if (old_ref && nameref_p (old_ref) == 0) + old_ref = 0; /* local foo; local foo; is a no-op. */ old_var = find_variable (name); - if (old_var && local_p (old_var) && old_var->context == variable_context) + if (old_ref == 0 && old_var && local_p (old_var) && old_var->context == variable_context) return (old_var); + /* local -n foo; local -n foo; is a no-op. */ + if (old_ref && local_p (old_ref) && old_ref->context == variable_context) + return (old_ref); + + /* From here on, we want to use the refvar, not the variable it references */ + if (old_ref) + old_var = old_ref; + was_tmpvar = old_var && tempvar_p (old_var); /* If we're making a local variable in a shell function, the temporary env has already been merged into the function's variable context stack. We @@ -2225,7 +2398,7 @@ make_local_variable (name) set in hash_lookup and only (so far) checked here. */ if (was_tmpvar && old_var->context == variable_context && last_table_searched != temporary_env) { - VUNSETATTR (old_var, att_invisible); + VUNSETATTR (old_var, att_invisible); /* XXX */ return (old_var); } if (was_tmpvar) @@ -2289,7 +2462,7 @@ make_local_variable (name) if (ifsname (name)) setifs (new_var); - if (was_tmpvar == 0) + if (was_tmpvar == 0 && no_invisible_vars == 0) VSETATTR (new_var, att_invisible); /* XXX */ return (new_var); } @@ -2516,27 +2689,10 @@ bind_variable_internal (name, value, table, hflags, aflags) HASH_TABLE *table; int hflags, aflags; { - char *newname, *newval; - SHELL_VAR *entry; -#if defined (ARRAY_VARS) - arrayind_t ind; - char *subp; - int sublen; -#endif + char *newval, *tname; + SHELL_VAR *entry, *tentry; - newname = 0; -#if defined (ARRAY_VARS) - if ((aflags & ASS_FROMREF) && (hflags & HASH_NOSRCH) == 0 && valid_array_reference (name)) - { - newname = array_variable_name (name, &subp, &sublen); - if (newname == 0) - return (SHELL_VAR *)NULL; /* XXX */ - entry = hash_lookup (newname, table); - } - else -#endif entry = (hflags & HASH_NOSRCH) ? (SHELL_VAR *)NULL : hash_lookup (name, table); - /* Follow the nameref chain here if this is the global variables table */ if (entry && nameref_p (entry) && (invisible_p (entry) == 0) && table == global_variables->table) { @@ -2544,22 +2700,44 @@ bind_variable_internal (name, value, table, hflags, aflags) /* Let's see if we have a nameref referencing a variable that hasn't yet been created. */ if (entry == 0) - entry = find_variable_last_nameref (name); /* XXX */ + entry = find_variable_last_nameref (name, 0); /* XXX */ if (entry == 0) /* just in case */ return (entry); } - /* The first clause handles `declare -n ref; ref=x;' */ + /* The first clause handles `declare -n ref; ref=x;' or `declare -n ref; + declare -n ref' */ if (entry && invisible_p (entry) && nameref_p (entry)) - goto assign_value; + { + if ((aflags & ASS_FORCE) == 0 && value && valid_nameref_value (value, 0) == 0) + { + sh_invalidid (value); + return ((SHELL_VAR *)NULL); + } + goto assign_value; + } else if (entry && nameref_p (entry)) { newval = nameref_cell (entry); #if defined (ARRAY_VARS) - /* declare -n foo=x[2] */ - if (valid_array_reference (newval)) - /* XXX - should it be aflags? */ - entry = assign_array_element (newval, make_variable_value (entry, value, 0), aflags); + /* declare -n foo=x[2] ; foo=bar */ + if (valid_array_reference (newval, 0)) + { + tname = array_variable_name (newval, (char **)0, (int *)0); + if (tname && (tentry = find_variable_noref (tname)) && nameref_p (tentry)) + { + /* nameref variables can't be arrays */ + internal_warning (_("%s: removing nameref attribute"), name_cell (tentry)); + FREE (value_cell (tentry)); /* XXX - bash-4.3 compat */ + var_setvalue (tentry, (char *)NULL); + VUNSETATTR (tentry, att_nameref); + } + free (tname); + /* XXX - should it be aflags? */ + entry = assign_array_element (newval, make_variable_value (entry, value, 0), aflags|ASS_NAMEREF); + if (entry == 0) + return entry; + } else #endif { @@ -2567,16 +2745,6 @@ bind_variable_internal (name, value, table, hflags, aflags) var_setvalue (entry, make_variable_value (entry, value, 0)); } } -#if defined (ARRAY_VARS) - else if (entry == 0 && newname) - { - entry = make_new_array_variable (newname); /* indexed array by default */ - if (entry == 0) - return entry; - ind = array_expand_index (name, subp, sublen); - bind_array_element (entry, ind, value, aflags); - } -#endif else if (entry == 0) { entry = make_new_variable (name, table); @@ -2599,10 +2767,10 @@ bind_variable_internal (name, value, table, hflags, aflags) else { assign_value: - if (readonly_p (entry) || noassign_p (entry)) + if ((readonly_p (entry) && (aflags & ASS_FORCE) == 0) || noassign_p (entry)) { if (readonly_p (entry)) - err_readonly (name); + err_readonly (name_cell (entry)); return (entry); } @@ -2674,7 +2842,7 @@ bind_variable (name, value, flags) shell_variables table. This allows sourced scripts to modify values given to them in a temporary environment while modifying the variable value that the caller sees. */ - if (temporary_env) + if (temporary_env && value) /* XXX - can value be null here? */ bind_tempenv_variable (name, value); /* XXX -- handle local variables here. */ @@ -2697,12 +2865,34 @@ bind_variable (name, value, flags) normal. */ if (nameref_cell (nv) == 0) return (bind_variable_internal (nv->name, value, nvc->table, 0, flags)); - /* XXX - bug here with ref=array[index] */ - return (bind_variable_internal (nameref_cell (nv), value, nvc->table, 0, flags|ASS_FROMREF)); +#if defined (ARRAY_VARS) + else if (valid_array_reference (nameref_cell (nv), 0)) + return (assign_array_element (nameref_cell (nv), value, flags)); + else +#endif + return (bind_variable_internal (nameref_cell (nv), value, nvc->table, 0, flags)); + } + else if (nv == &nameref_maxloop_value) + { + internal_warning (_("%s: circular name reference"), v->name); +#if 0 + return (bind_variable_value (v, value, flags|ASS_NAMEREF)); +#else + v = 0; /* backwards compat */ +#endif } else v = nv; } + else if (nv == &nameref_maxloop_value) + { + internal_warning (_("%s: circular name reference"), v->name); +#if 0 + return (bind_variable_value (v, value, flags|ASS_NAMEREF)); +#else + v = 0; /* backwards compat */ +#endif + } else v = nv; } @@ -2760,11 +2950,20 @@ bind_variable_value (var, value, aflags) else { t = make_variable_value (var, value, aflags); -#if defined (ARRAY_VARS) - if ((aflags & ASS_NAMEREF) && (t == 0 || *t == 0 || (legal_identifier (t) == 0 && valid_array_reference (t) == 0))) -#else - if ((aflags & ASS_NAMEREF) && (t == 0 || *t == 0 || legal_identifier (t) == 0)) -#endif + if ((aflags & (ASS_NAMEREF|ASS_FORCE)) == ASS_NAMEREF && check_selfref (name_cell (var), t, 0)) + { + if (variable_context) + internal_warning (_("%s: circular name reference"), name_cell (var)); + else + { + internal_error (_("%s: nameref variable self references not allowed"), name_cell (var)); + free (t); + if (invis) + VSETATTR (var, att_invisible); /* XXX */ + return ((SHELL_VAR *)NULL); + } + } + if ((aflags & ASS_NAMEREF) && (valid_nameref_value (t, 0) == 0)) { free (t); if (invis) @@ -2805,7 +3004,7 @@ bind_int_variable (lhs, rhs) isint = isarr = implicitarray = 0; #if defined (ARRAY_VARS) - if (valid_array_reference (lhs)) + if (valid_array_reference (lhs, 0)) { isarr = 1; v = array_variable_part (lhs, (char **)0, (int *)0); @@ -2840,6 +3039,9 @@ bind_int_variable (lhs, rhs) VUNSETATTR (v, att_invisible); } + if (v && nameref_p (v)) + internal_warning (_("%s: assigning integer to name reference"), lhs); + return (v); } @@ -2941,7 +3143,7 @@ assign_in_env (word, flags) int flags; { int offset, aflags; - char *name, *temp, *value; + char *name, *temp, *value, *newname; SHELL_VAR *var; const char *string; @@ -2949,7 +3151,7 @@ assign_in_env (word, flags) aflags = 0; offset = assignment (string, 0); - name = savestring (string); + newname = name = savestring (string); value = (char *)NULL; if (name[offset] == '=') @@ -2964,6 +3166,23 @@ assign_in_env (word, flags) } var = find_variable (name); + if (var == 0) + { + var = find_variable_last_nameref (name, 1); + /* If we're assigning a value to a nameref variable in the temp + environment, and the value of the nameref is valid for assignment, + but the variable does not already exist, assign to the nameref + target and add the target to the temporary environment. This is + what ksh93 does */ + if (var && nameref_p (var) && valid_nameref_value (nameref_cell (var), 1)) + { + newname = nameref_cell (var); + var = 0; /* don't use it for append */ + } + } + else + newname = name_cell (var); /* no-op if not nameref */ + if (var && (readonly_p (var) || noassign_p (var))) { if (readonly_p (var)) @@ -2971,12 +3190,17 @@ assign_in_env (word, flags) free (name); return (0); } - temp = name + offset + 1; + value = expand_assignment_string_to_string (temp, 0); if (var && (aflags & ASS_APPEND)) { + if (value == 0) + { + value = (char *)xmalloc (1); /* like do_assignment_internal */ + value[0] = '\0'; + } temp = make_variable_value (var, value, aflags); FREE (value); value = temp; @@ -2986,15 +3210,15 @@ assign_in_env (word, flags) if (temporary_env == 0) temporary_env = hash_create (TEMPENV_HASH_BUCKETS); - var = hash_lookup (name, temporary_env); + var = hash_lookup (newname, temporary_env); if (var == 0) - var = make_new_variable (name, temporary_env); + var = make_new_variable (newname, temporary_env); else FREE (value_cell (var)); if (value == 0) { - value = (char *)xmalloc (1); /* like do_assignment_internal */ + value = (char *)xmalloc (1); /* see above */ value[0] = '\0'; } @@ -3003,12 +3227,12 @@ assign_in_env (word, flags) var->context = variable_context; /* XXX */ INVALIDATE_EXPORTSTR (var); - var->exportstr = mk_env_string (name, value, 0); + var->exportstr = mk_env_string (newname, value, 0); array_needs_making = 1; if (flags) - stupidly_hack_special_variables (name); + stupidly_hack_special_variables (newname); if (echo_command_at_execute) /* The Korn shell prints the `+ ' in front of assignment statements, @@ -3140,6 +3364,34 @@ unbind_nameref (name) return 0; } +/* Unbind the first instance of NAME, whether it's a nameref or not */ +int +unbind_variable_noref (name) + const char *name; +{ + SHELL_VAR *v; + + v = var_lookup (name, shell_variables); + if (v) + return makunbound (name, shell_variables); + return 0; +} + +int +check_unbind_variable (name) + const char *name; +{ + SHELL_VAR *v; + + v = find_variable (name); + if (v && readonly_p (v)) + { + internal_error (_("%s: cannot unset: readonly %s"), name, "variable"); + return -1; + } + return (unbind_variable (name)); +} + /* Unset the shell function named NAME. */ int unbind_func (name) @@ -3798,12 +4050,12 @@ push_temp_var (data) { if (shell_variables == global_variables) /* shouldn't happen */ - binding_table = shell_variables->table = global_variables->table = hash_create (0); + binding_table = shell_variables->table = global_variables->table = hash_create (VARIABLES_HASH_BUCKETS); else binding_table = shell_variables->table = hash_create (TEMPENV_HASH_BUCKETS); } - v = bind_variable_internal (var->name, value_cell (var), binding_table, 0, 0); + v = bind_variable_internal (var->name, value_cell (var), binding_table, 0, ASS_FORCE); /* XXX - should we set the context here? It shouldn't matter because of how assign_in_env works, but might want to check. */ @@ -3815,7 +4067,8 @@ push_temp_var (data) if (binding_table == shell_variables->table) shell_variables->flags |= VC_HASTMPVAR; } - v->attributes |= var->attributes; + if (v) + v->attributes |= var->attributes; if (find_special_var (var->name) >= 0) tempvar_list[tvlist_ind++] = savestring (var->name); @@ -3894,6 +4147,17 @@ merge_temporary_env () dispose_temporary_env (push_temp_var); } +void +flush_temporary_env () +{ + if (temporary_env) + { + hash_flush (temporary_env, free_variable_hash_data); + hash_dispose (temporary_env); + temporary_env = (HASH_TABLE *)NULL; + } +} + /* **************************************************************** */ /* */ /* Creating and manipulating the environment */ @@ -4003,13 +4267,13 @@ make_env_array_from_var_list (vars) #if defined (ARRAY_VARS) else if (array_p (var)) # if ARRAY_EXPORT - value = array_to_assignment_string (array_cell (var)); + value = array_to_assign (array_cell (var), 0); # else continue; /* XXX array vars cannot yet be exported */ # endif /* ARRAY_EXPORT */ else if (assoc_p (var)) # if 0 - value = assoc_to_assignment_string (assoc_cell (var)); + value = assoc_to_assign (assoc_cell (var), 0); # else continue; /* XXX associative array vars cannot yet be exported */ # endif @@ -4373,20 +4637,33 @@ push_func_var (data) var = (SHELL_VAR *)data; - if (tempvar_p (var) && (posixly_correct || (var->attributes & att_propagate))) + if (local_p (var) && STREQ (var->name, "-")) + set_current_options (value_cell (var)); + else if (tempvar_p (var) && (posixly_correct || (var->attributes & att_propagate))) { /* Make sure we have a hash table to store the variable in while it is being propagated down to the global variables table. Create one if we have to */ if ((vc_isfuncenv (shell_variables) || vc_istempenv (shell_variables)) && shell_variables->table == 0) - shell_variables->table = hash_create (0); + shell_variables->table = hash_create (VARIABLES_HASH_BUCKETS); /* XXX - should we set v->context here? */ v = bind_variable_internal (var->name, value_cell (var), shell_variables->table, 0, 0); +#if defined (ARRAY_VARS) + if (array_p (var) || assoc_p (var)) + { + FREE (value_cell (v)); + if (array_p (var)) + var_setarray (v, array_copy (array_cell (var))); + else + var_setassoc (v, assoc_copy (assoc_cell (var))); + } +#endif if (shell_variables == global_variables) var->attributes &= ~(att_tempvar|att_propagate); else shell_variables->flags |= VC_HASTMPVAR; - v->attributes |= var->attributes; + if (v) + v->attributes |= var->attributes; } else stupidly_hack_special_variables (var->name); /* XXX */ @@ -4474,7 +4751,8 @@ push_exported_var (data) v = bind_variable_internal (var->name, value_cell (var), shell_variables->table, 0, 0); if (shell_variables == global_variables) var->attributes &= ~att_propagate; - v->attributes |= var->attributes; + if (v) + v->attributes |= var->attributes; } else stupidly_hack_special_variables (var->name); /* XXX */ @@ -4527,8 +4805,7 @@ static WORD_LIST **dollar_arg_stack = (WORD_LIST **)NULL; static int dollar_arg_stack_slots; static int dollar_arg_stack_index; -/* XXX - we might want to consider pushing and popping the `getopts' state - when we modify the positional parameters. */ +/* XXX - should always be followed by remember_args () */ void push_context (name, is_subshell, tempvars) char *name; /* function name */ @@ -4681,6 +4958,8 @@ static struct name_and_function special_vars[] = { { "COMP_WORDBREAKS", sv_comp_wordbreaks }, #endif + { "EXECIGNORE", sv_execignore }, + { "FUNCNEST", sv_funcnest }, { "GLOBIGNORE", sv_globignore }, @@ -4870,6 +5149,14 @@ sv_funcnest (name) funcnest_max = num; } +/* What to do when EXECIGNORE changes. */ +void +sv_execignore (name) + char *name; +{ + setup_exec_ignore (name); +} + /* What to do when GLOBIGNORE changes. */ void sv_globignore (name) @@ -4931,7 +5218,7 @@ sv_winsize (name) return; v = find_variable (name); - if (v == 0 || var_isnull (v)) + if (v == 0 || var_isset (v) == 0) rl_reset_screen_size (); else { @@ -4994,7 +5281,10 @@ sv_histsize (name) else if (hmax >= 0) /* truncate HISTFILE if HISTFILESIZE >= 0 */ { history_truncate_file (get_string_value ("HISTFILE"), hmax); - if (hmax <= history_lines_in_file) + /* If we just shrank the history file to fewer lines than we've + already read, make sure we adjust our idea of how many lines + we have read from the file. */ + if (hmax < history_lines_in_file) history_lines_in_file = hmax; } } @@ -5108,7 +5398,7 @@ sv_ignoreeof (name) eof_encountered = 0; tmp_var = find_variable (name); - ignoreeof = tmp_var != 0; + ignoreeof = tmp_var && var_isset (tmp_var); temp = tmp_var ? value_cell (tmp_var) : (char *)NULL; if (temp) eof_encountered_limit = (*temp && all_digits (temp)) ? atoi (temp) : 10; @@ -5119,10 +5409,16 @@ void sv_optind (name) char *name; { + SHELL_VAR *var; char *tt; int s; - tt = get_string_value ("OPTIND"); + var = find_variable ("OPTIND"); + tt = var ? get_variable_value (var) : (char *)NULL; + + /* Assume that if var->context < variable_context and variable_context > 0 + then we are restoring the variables's previous state while returning + from a function. */ if (tt && *tt) { s = atoi (tt); @@ -5151,7 +5447,10 @@ void sv_strict_posix (name) char *name; { - SET_INT_VAR (name, posixly_correct); + SHELL_VAR *var; + + var = find_variable (name); + posixly_correct = var && var_isset (var); posix_initialize (posixly_correct); #if defined (READLINE) if (interactive_shell) @@ -5351,14 +5650,14 @@ sv_shcompat (name) return; } /* Handle decimal-like compatibility version specifications: 4.2 */ - if (isdigit (val[0]) && val[1] == '.' && isdigit (val[2]) && val[3] == 0) + if (ISDIGIT (val[0]) && val[1] == '.' && ISDIGIT (val[2]) && val[3] == 0) { tens = val[0] - '0'; ones = val[2] - '0'; compatval = tens*10 + ones; } /* Handle integer-like compatibility version specifications: 42 */ - else if (isdigit (val[0]) && isdigit (val[1]) && val[2] == 0) + else if (ISDIGIT (val[0]) && ISDIGIT (val[1]) && val[2] == 0) { tens = val[0] - '0'; ones = val[1] - '0'; diff --git a/variables.h b/variables.h index 1a783b925..25c9ae072 100644 --- a/variables.h +++ b/variables.h @@ -1,6 +1,6 @@ /* variables.h -- data structures for shell variables. */ -/* Copyright (C) 1987-2012 Free Software Foundation, Inc. +/* Copyright (C) 1987-2015 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -156,6 +156,9 @@ typedef struct _vlist { #define tempvar_p(var) ((((var)->attributes) & (att_tempvar))) +/* Variable names: lvalues */ +#define name_cell(var) ((var)->name) + /* Acessing variable values: rvalues */ #define value_cell(var) ((var)->value) #define function_cell(var) (COMMAND *)((var)->value) @@ -165,8 +168,9 @@ typedef struct _vlist { #define NAMEREF_MAX 8 /* only 8 levels of nameref indirection */ -#define var_isnull(var) ((var)->value == 0) #define var_isset(var) ((var)->value != 0) +#define var_isunset(var) ((var)->value == 0) +#define var_isnull(var) ((var)->value && *(var)->value == 0) /* Assigning variable values: lvalues */ #define var_setvalue(var, str) ((var)->value = (str)) @@ -211,6 +215,12 @@ typedef struct _vlist { (var)->exportstr = (char *)NULL; \ } \ } while (0) + +#define ifsname(s) ((s)[0] == 'I' && (s)[1] == 'F' && (s)[2] == 'S' && (s)[3] == '\0') + +/* Special value for nameref with invalid value for creation or assignment */ +extern SHELL_VAR nameref_invalid_value; +#define INVALID_NAMEREF_VALUE (void *)&nameref_invalid_value /* Stuff for hacking variables. */ typedef int sh_var_map_func_t __P((SHELL_VAR *)); @@ -240,16 +250,20 @@ extern SHELL_VAR *find_function __P((const char *)); extern FUNCTION_DEF *find_function_def __P((const char *)); extern SHELL_VAR *find_variable __P((const char *)); extern SHELL_VAR *find_variable_noref __P((const char *)); -extern SHELL_VAR *find_variable_last_nameref __P((const char *)); -extern SHELL_VAR *find_global_variable_last_nameref __P((const char *)); +extern SHELL_VAR *find_variable_last_nameref __P((const char *, int)); +extern SHELL_VAR *find_global_variable_last_nameref __P((const char *, int)); extern SHELL_VAR *find_variable_nameref __P((SHELL_VAR *)); -extern SHELL_VAR *find_variable_internal __P((const char *, int)); +extern SHELL_VAR *find_variable_nameref_for_create __P((const char *, int)); +extern SHELL_VAR *find_variable_nameref_for_assignment __P((const char *, int)); +/*extern SHELL_VAR *find_variable_internal __P((const char *, int));*/ extern SHELL_VAR *find_variable_tempenv __P((const char *)); extern SHELL_VAR *find_variable_notempenv __P((const char *)); extern SHELL_VAR *find_global_variable __P((const char *)); extern SHELL_VAR *find_global_variable_noref __P((const char *)); extern SHELL_VAR *find_shell_variable __P((const char *)); extern SHELL_VAR *find_tempenv_variable __P((const char *)); +extern SHELL_VAR *find_variable_no_invisible __P((const char *)); +extern SHELL_VAR *find_variable_for_assignment __P((const char *)); extern SHELL_VAR *copy_variable __P((SHELL_VAR *)); extern SHELL_VAR *make_local_variable __P((const char *)); extern SHELL_VAR *bind_variable __P((const char *, char *, int)); @@ -288,7 +302,9 @@ extern SHELL_VAR *bind_var_to_int __P((char *, intmax_t)); extern int assign_in_env __P((WORD_DESC *, int)); extern int unbind_variable __P((const char *)); +extern int check_unbind_variable __P((const char *)); extern int unbind_nameref __P((const char *)); +extern int unbind_variable_noref __P((const char *)); extern int unbind_func __P((const char *)); extern int unbind_function_def __P((const char *)); extern int delete_var __P((const char *, VAR_CONTEXT *)); @@ -320,6 +336,7 @@ extern void dispose_used_env_vars __P((void)); extern void dispose_function_env __P((void)); extern void dispose_builtin_env __P((void)); extern void merge_temporary_env __P((void)); +extern void flush_temporary_env __P((void)); extern void merge_builtin_env __P((void)); extern void kill_all_local_variables __P((void)); @@ -372,6 +389,7 @@ extern void sv_ifs __P((char *)); extern void sv_path __P((char *)); extern void sv_mail __P((char *)); extern void sv_funcnest __P((char *)); +extern void sv_execignore __P((char *)); extern void sv_globignore __P((char *)); extern void sv_ignoreeof __P((char *)); extern void sv_strict_posix __P((char *)); diff --git a/version.c b/version.c index 3fa4aeb2f..f241c5c78 100644 --- a/version.c +++ b/version.c @@ -1,6 +1,6 @@ /* version.c -- distribution and version numbers. */ -/* Copyright (C) 1989-2013 Free Software Foundation, Inc. +/* Copyright (C) 1989-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -43,7 +43,7 @@ const char * const release_status = (char *)0; #endif const char * const sccs_version = SCCSVERSION; -const char * const bash_copyright = N_("Copyright (C) 2013 Free Software Foundation, Inc."); +const char * const bash_copyright = N_("Copyright (C) 2016 Free Software Foundation, Inc."); const char * const bash_license = N_("License GPLv3+: GNU GPL version 3 or later \n"); /* If == 31, shell compatible with bash-3.1, == 32 with bash-3.2, and so on */ @@ -64,13 +64,13 @@ shell_version_string () if (tt[0] == '\0') { if (release_status) -#if defined (HAVE_SNPRINTF) +#if HAVE_SNPRINTF snprintf (tt, sizeof (tt), "%s.%d(%d)-%s", dist_version, patch_level, build_version, release_status); #else sprintf (tt, "%s.%d(%d)-%s", dist_version, patch_level, build_version, release_status); #endif else -#if defined (HAVE_SNPRINTF) +#if HAVE_SNPRINTF snprintf (tt, sizeof (tt), "%s.%d(%d)", dist_version, patch_level, build_version); #else sprintf (tt, "%s.%d(%d)", dist_version, patch_level, build_version); diff --git a/xmalloc.c b/xmalloc.c index 2344d2d54..b32c0685f 100644 --- a/xmalloc.c +++ b/xmalloc.c @@ -1,6 +1,6 @@ /* xmalloc.c -- safe versions of malloc and realloc */ -/* Copyright (C) 1991-2009 Free Software Foundation, Inc. +/* Copyright (C) 1991-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the GNU Bourne Again SHell. @@ -61,7 +61,7 @@ static size_t allocated; /* */ /* **************************************************************** */ -#if defined (HAVE_SBRK) +#if defined (HAVE_SBRK) && defined (USING_BASH_MALLOC) #define FINDBRK() \ do { \ if (brkfound == 0) \ @@ -86,7 +86,7 @@ allocerr (func, bytes) const char *func; size_t bytes; { -#if defined (HAVE_SBRK) +#if defined (HAVE_SBRK) && defined (USING_BASH_MALLOC) allocated = findbrk (); fatal_error (_("%s: cannot allocate %lu bytes (%lu bytes allocated)"), func, (unsigned long)bytes, (unsigned long)allocated); #else diff --git a/y.tab.c b/y.tab.c index b7264e27d..e9a57fcc8 100644 --- a/y.tab.c +++ b/y.tab.c @@ -1,14 +1,13 @@ -/* A Bison parser, made by GNU Bison 2.3. */ +/* A Bison parser, made by GNU Bison 3.0.4. */ -/* Skeleton implementation for Bison's Yacc-like parsers in C +/* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,9 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work @@ -47,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "2.3" +#define YYBISON_VERSION "3.0.4" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -55,120 +52,17 @@ /* Pure parsers. */ #define YYPURE 0 -/* Using locations. */ -#define YYLSP_NEEDED 0 +/* Push parsers. */ +#define YYPUSH 0 - - -/* Tokens. */ -#ifndef YYTOKENTYPE -# define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - IF = 258, - THEN = 259, - ELSE = 260, - ELIF = 261, - FI = 262, - CASE = 263, - ESAC = 264, - FOR = 265, - SELECT = 266, - WHILE = 267, - UNTIL = 268, - DO = 269, - DONE = 270, - FUNCTION = 271, - COPROC = 272, - COND_START = 273, - COND_END = 274, - COND_ERROR = 275, - IN = 276, - BANG = 277, - TIME = 278, - TIMEOPT = 279, - TIMEIGN = 280, - WORD = 281, - ASSIGNMENT_WORD = 282, - REDIR_WORD = 283, - NUMBER = 284, - ARITH_CMD = 285, - ARITH_FOR_EXPRS = 286, - COND_CMD = 287, - AND_AND = 288, - OR_OR = 289, - GREATER_GREATER = 290, - LESS_LESS = 291, - LESS_AND = 292, - LESS_LESS_LESS = 293, - GREATER_AND = 294, - SEMI_SEMI = 295, - SEMI_AND = 296, - SEMI_SEMI_AND = 297, - LESS_LESS_MINUS = 298, - AND_GREATER = 299, - AND_GREATER_GREATER = 300, - LESS_GREATER = 301, - GREATER_BAR = 302, - BAR_AND = 303, - yacc_EOF = 304 - }; -#endif -/* Tokens. */ -#define IF 258 -#define THEN 259 -#define ELSE 260 -#define ELIF 261 -#define FI 262 -#define CASE 263 -#define ESAC 264 -#define FOR 265 -#define SELECT 266 -#define WHILE 267 -#define UNTIL 268 -#define DO 269 -#define DONE 270 -#define FUNCTION 271 -#define COPROC 272 -#define COND_START 273 -#define COND_END 274 -#define COND_ERROR 275 -#define IN 276 -#define BANG 277 -#define TIME 278 -#define TIMEOPT 279 -#define TIMEIGN 280 -#define WORD 281 -#define ASSIGNMENT_WORD 282 -#define REDIR_WORD 283 -#define NUMBER 284 -#define ARITH_CMD 285 -#define ARITH_FOR_EXPRS 286 -#define COND_CMD 287 -#define AND_AND 288 -#define OR_OR 289 -#define GREATER_GREATER 290 -#define LESS_LESS 291 -#define LESS_AND 292 -#define LESS_LESS_LESS 293 -#define GREATER_AND 294 -#define SEMI_SEMI 295 -#define SEMI_AND 296 -#define SEMI_SEMI_AND 297 -#define LESS_LESS_MINUS 298 -#define AND_GREATER 299 -#define AND_GREATER_GREATER 300 -#define LESS_GREATER 301 -#define GREATER_BAR 302 -#define BAR_AND 303 -#define yacc_EOF 304 +/* Pull parsers. */ +#define YYPULL 1 /* Copy the first part of user declarations. */ -#line 21 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 21 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:339 */ #include "config.h" @@ -220,6 +114,8 @@ #if defined (JOB_CONTROL) # include "jobs.h" +#else +extern int cleanup_dead_jobs __P((void)); #endif /* JOB_CONTROL */ #if defined (ALIAS) @@ -276,6 +172,7 @@ extern char *dist_version; extern int patch_level; extern int dump_translatable_strings, dump_po_strings; extern sh_builtin_func_t *last_shell_builtin, *this_shell_builtin; +extern int here_doc_first_line; #if defined (BUFFERED_INPUT) extern int bash_input_fd_changed; #endif @@ -383,6 +280,9 @@ char *secondary_prompt = SPROMPT; /* PROMPT_STRING_POINTER points to one of these, never to an actual string. */ char *ps1_prompt, *ps2_prompt; +/* Displayed after reading a command but before executing it in an interactive shell */ +char *ps0_prompt; + /* Handle on the current prompt string. Indirectly points through ps1_ or ps2_prompt. */ char **prompt_string_pointer = (char **)NULL; @@ -419,8 +319,6 @@ int parser_state; /* Variables to manage the task of reading here documents, because we need to defer the reading until after a complete command has been collected. */ -#define HEREDOC_MAX 16 - static REDIRECT *redir_stack[HEREDOC_MAX]; int need_here_doc; @@ -476,11 +374,15 @@ static WORD_DESC *word_desc_to_read; static REDIRECTEE source; static REDIRECTEE redir; +#line 378 "y.tab.c" /* yacc.c:339 */ -/* Enabling traces. */ -#ifndef YYDEBUG -# define YYDEBUG 0 -#endif +# ifndef YY_NULLPTR +# if defined __cplusplus && 201103L <= __cplusplus +# define YY_NULLPTR nullptr +# else +# define YY_NULLPTR 0 +# endif +# endif /* Enabling verbose error messages. */ #ifdef YYERROR_VERBOSE @@ -490,15 +392,128 @@ static REDIRECTEE redir; # define YYERROR_VERBOSE 0 #endif -/* Enabling the token table. */ -#ifndef YYTOKEN_TABLE -# define YYTOKEN_TABLE 0 +/* In a future release of Bison, this section will be replaced + by #include "y.tab.h". */ +#ifndef YY_YY_Y_TAB_H_INCLUDED +# define YY_YY_Y_TAB_H_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; #endif +/* Token type. */ +#ifndef YYTOKENTYPE +# define YYTOKENTYPE + enum yytokentype + { + IF = 258, + THEN = 259, + ELSE = 260, + ELIF = 261, + FI = 262, + CASE = 263, + ESAC = 264, + FOR = 265, + SELECT = 266, + WHILE = 267, + UNTIL = 268, + DO = 269, + DONE = 270, + FUNCTION = 271, + COPROC = 272, + COND_START = 273, + COND_END = 274, + COND_ERROR = 275, + IN = 276, + BANG = 277, + TIME = 278, + TIMEOPT = 279, + TIMEIGN = 280, + WORD = 281, + ASSIGNMENT_WORD = 282, + REDIR_WORD = 283, + NUMBER = 284, + ARITH_CMD = 285, + ARITH_FOR_EXPRS = 286, + COND_CMD = 287, + AND_AND = 288, + OR_OR = 289, + GREATER_GREATER = 290, + LESS_LESS = 291, + LESS_AND = 292, + LESS_LESS_LESS = 293, + GREATER_AND = 294, + SEMI_SEMI = 295, + SEMI_AND = 296, + SEMI_SEMI_AND = 297, + LESS_LESS_MINUS = 298, + AND_GREATER = 299, + AND_GREATER_GREATER = 300, + LESS_GREATER = 301, + GREATER_BAR = 302, + BAR_AND = 303, + yacc_EOF = 304 + }; +#endif +/* Tokens. */ +#define IF 258 +#define THEN 259 +#define ELSE 260 +#define ELIF 261 +#define FI 262 +#define CASE 263 +#define ESAC 264 +#define FOR 265 +#define SELECT 266 +#define WHILE 267 +#define UNTIL 268 +#define DO 269 +#define DONE 270 +#define FUNCTION 271 +#define COPROC 272 +#define COND_START 273 +#define COND_END 274 +#define COND_ERROR 275 +#define IN 276 +#define BANG 277 +#define TIME 278 +#define TIMEOPT 279 +#define TIMEIGN 280 +#define WORD 281 +#define ASSIGNMENT_WORD 282 +#define REDIR_WORD 283 +#define NUMBER 284 +#define ARITH_CMD 285 +#define ARITH_FOR_EXPRS 286 +#define COND_CMD 287 +#define AND_AND 288 +#define OR_OR 289 +#define GREATER_GREATER 290 +#define LESS_LESS 291 +#define LESS_AND 292 +#define LESS_LESS_LESS 293 +#define GREATER_AND 294 +#define SEMI_SEMI 295 +#define SEMI_AND 296 +#define SEMI_SEMI_AND 297 +#define LESS_LESS_MINUS 298 +#define AND_GREATER 299 +#define AND_GREATER_GREATER 300 +#define LESS_GREATER 301 +#define GREATER_BAR 302 +#define BAR_AND 303 +#define yacc_EOF 304 + +/* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE -#line 329 "/usr/src/local/bash/bash-4.3-patched/parse.y" + +union YYSTYPE { +#line 333 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:355 */ + WORD_DESC *word; /* the word that we read. */ int number; /* the number that we read. */ WORD_LIST *word_list; @@ -506,22 +521,25 @@ typedef union YYSTYPE REDIRECT *redirect; ELEMENT element; PATTERN_LIST *pattern; -} -/* Line 193 of yacc.c. */ -#line 512 "y.tab.c" - YYSTYPE; -# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -# define YYSTYPE_IS_DECLARED 1 + +#line 526 "y.tab.c" /* yacc.c:355 */ +}; + +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 +# define YYSTYPE_IS_DECLARED 1 #endif +extern YYSTYPE yylval; -/* Copy the second part of user declarations. */ +int yyparse (void); +#endif /* !YY_YY_Y_TAB_H_INCLUDED */ -/* Line 216 of yacc.c. */ -#line 525 "y.tab.c" +/* Copy the second part of user declarations. */ + +#line 543 "y.tab.c" /* yacc.c:358 */ #ifdef short # undef short @@ -535,11 +553,8 @@ typedef unsigned char yytype_uint8; #ifdef YYTYPE_INT8 typedef YYTYPE_INT8 yytype_int8; -#elif (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -typedef signed char yytype_int8; #else -typedef short int yytype_int8; +typedef signed char yytype_int8; #endif #ifdef YYTYPE_UINT16 @@ -559,8 +574,7 @@ typedef short int yytype_int16; # define YYSIZE_T __SIZE_TYPE__ # elif defined size_t # define YYSIZE_T size_t -# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) +# elif ! defined YYSIZE_T # include /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # else @@ -574,38 +588,67 @@ typedef short int yytype_int16; # if defined YYENABLE_NLS && YYENABLE_NLS # if ENABLE_NLS # include /* INFRINGES ON USER NAME SPACE */ -# define YY_(msgid) dgettext ("bison-runtime", msgid) +# define YY_(Msgid) dgettext ("bison-runtime", Msgid) # endif # endif # ifndef YY_ -# define YY_(msgid) msgid +# define YY_(Msgid) Msgid +# endif +#endif + +#ifndef YY_ATTRIBUTE +# if (defined __GNUC__ \ + && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \ + || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C +# define YY_ATTRIBUTE(Spec) __attribute__(Spec) +# else +# define YY_ATTRIBUTE(Spec) /* empty */ +# endif +#endif + +#ifndef YY_ATTRIBUTE_PURE +# define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) +#endif + +#ifndef YY_ATTRIBUTE_UNUSED +# define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) +#endif + +#if !defined _Noreturn \ + && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112) +# if defined _MSC_VER && 1200 <= _MSC_VER +# define _Noreturn __declspec (noreturn) +# else +# define _Noreturn YY_ATTRIBUTE ((__noreturn__)) # endif #endif /* Suppress unused-variable warnings by "using" E. */ #if ! defined lint || defined __GNUC__ -# define YYUSE(e) ((void) (e)) +# define YYUSE(E) ((void) (E)) #else -# define YYUSE(e) /* empty */ +# define YYUSE(E) /* empty */ #endif -/* Identity function, used to suppress warnings about constant conditions. */ -#ifndef lint -# define YYID(n) (n) -#else -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static int -YYID (int i) +#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ +/* Suppress an incorrect diagnostic about yylval being uninitialized. */ +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\ + _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") +# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ + _Pragma ("GCC diagnostic pop") #else -static int -YYID (i) - int i; +# define YY_INITIAL_VALUE(Value) Value #endif -{ - return i; -} +#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN +# define YY_IGNORE_MAYBE_UNINITIALIZED_END #endif +#ifndef YY_INITIAL_VALUE +# define YY_INITIAL_VALUE(Value) /* Nothing. */ +#endif + #if ! defined yyoverflow || YYERROR_VERBOSE @@ -624,11 +667,11 @@ YYID (i) # define alloca _alloca # else # define YYSTACK_ALLOC alloca -# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) +# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 + /* Use EXIT_SUCCESS as a witness for stdlib.h. */ +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # endif @@ -636,8 +679,8 @@ YYID (i) # endif # ifdef YYSTACK_ALLOC - /* Pacify GCC's `empty if-body' warning. */ -# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) + /* Pacify GCC's 'empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) # ifndef YYSTACK_ALLOC_MAXIMUM /* The OS might guarantee only one guard page at the bottom of the stack, and a page size can be as small as 4096 bytes. So we cannot safely @@ -651,25 +694,23 @@ YYID (i) # ifndef YYSTACK_ALLOC_MAXIMUM # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM # endif -# if (defined __cplusplus && ! defined _STDLIB_H \ +# if (defined __cplusplus && ! defined EXIT_SUCCESS \ && ! ((defined YYMALLOC || defined malloc) \ - && (defined YYFREE || defined free))) + && (defined YYFREE || defined free))) # include /* INFRINGES ON USER NAME SPACE */ -# ifndef _STDLIB_H -# define _STDLIB_H 1 +# ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 # endif # endif # ifndef YYMALLOC # define YYMALLOC malloc -# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) +# if ! defined malloc && ! defined EXIT_SUCCESS void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free -# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) +# if ! defined free && ! defined EXIT_SUCCESS void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif # endif @@ -679,14 +720,14 @@ void free (void *); /* INFRINGES ON USER NAME SPACE */ #if (! defined yyoverflow \ && (! defined __cplusplus \ - || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc { - yytype_int16 yyss; - YYSTYPE yyvs; - }; + yytype_int16 yyss_alloc; + YYSTYPE yyvs_alloc; +}; /* The size of the maximum gap between one aligned stack and the next. */ # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) @@ -697,46 +738,50 @@ union yyalloc ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) -/* Copy COUNT objects from FROM to TO. The source and destination do - not overlap. */ -# ifndef YYCOPY -# if defined __GNUC__ && 1 < __GNUC__ -# define YYCOPY(To, From, Count) \ - __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -# else -# define YYCOPY(To, From, Count) \ - do \ - { \ - YYSIZE_T yyi; \ - for (yyi = 0; yyi < (Count); yyi++) \ - (To)[yyi] = (From)[yyi]; \ - } \ - while (YYID (0)) -# endif -# endif +# define YYCOPY_NEEDED 1 /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of elements in the stack, and YYPTR gives the new location of the stack. Advance YYPTR to a properly aligned location for the next stack. */ -# define YYSTACK_RELOCATE(Stack) \ - do \ - { \ - YYSIZE_T yynewbytes; \ - YYCOPY (&yyptr->Stack, Stack, yysize); \ - Stack = &yyptr->Stack; \ - yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ - yyptr += yynewbytes / sizeof (*yyptr); \ - } \ - while (YYID (0)) +# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ + Stack = &yyptr->Stack_alloc; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (0) #endif +#if defined YYCOPY_NEEDED && YYCOPY_NEEDED +/* Copy COUNT objects from SRC to DST. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if defined __GNUC__ && 1 < __GNUC__ +# define YYCOPY(Dst, Src, Count) \ + __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src))) +# else +# define YYCOPY(Dst, Src, Count) \ + do \ + { \ + YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (Dst)[yyi] = (Src)[yyi]; \ + } \ + while (0) +# endif +# endif +#endif /* !YYCOPY_NEEDED */ + /* YYFINAL -- State number of the termination state. */ #define YYFINAL 116 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 659 +#define YYLAST 638 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 61 @@ -744,17 +789,19 @@ union yyalloc #define YYNNTS 38 /* YYNRULES -- Number of rules. */ #define YYNRULES 167 -/* YYNRULES -- Number of states. */ -#define YYNSTATES 342 +/* YYNSTATES -- Number of states. */ +#define YYNSTATES 334 -/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ +/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned + by yylex, with out-of-bounds checking. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 304 -#define YYTRANSLATE(YYX) \ +#define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) -/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ +/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM + as returned by yylex, without out-of-bounds checking. */ static const yytype_uint8 yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -791,127 +838,30 @@ static const yytype_uint8 yytranslate[] = }; #if YYDEBUG -/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in - YYRHS. */ -static const yytype_uint16 yyprhs[] = -{ - 0, 0, 3, 6, 8, 11, 13, 15, 18, 21, - 24, 28, 32, 36, 40, 43, 47, 51, 54, 58, - 62, 65, 69, 73, 76, 80, 84, 87, 91, 95, - 98, 102, 106, 109, 113, 117, 120, 124, 128, 131, - 135, 139, 142, 146, 150, 153, 157, 161, 164, 168, - 172, 175, 178, 180, 182, 184, 186, 189, 191, 194, - 196, 198, 201, 203, 205, 207, 209, 215, 221, 223, - 225, 227, 229, 231, 233, 235, 242, 249, 257, 265, - 276, 287, 297, 307, 315, 323, 329, 335, 342, 349, - 357, 365, 376, 387, 394, 402, 409, 415, 422, 427, - 429, 432, 436, 439, 443, 447, 452, 455, 461, 469, - 476, 480, 482, 486, 491, 498, 504, 506, 509, 514, - 519, 525, 531, 534, 538, 541, 545, 548, 552, 554, - 558, 561, 563, 566, 570, 574, 578, 583, 588, 593, - 598, 603, 605, 607, 609, 611, 613, 615, 616, 619, - 621, 624, 627, 632, 637, 641, 645, 647, 649, 652, - 655, 658, 661, 666, 671, 673, 675, 678 -}; - -/* YYRHS -- A `-1'-separated list of the rules' RHS. */ -static const yytype_int8 yyrhs[] = -{ - 62, 0, -1, 94, 91, -1, 51, -1, 1, 51, - -1, 52, -1, 26, -1, 63, 26, -1, 54, 26, - -1, 55, 26, -1, 29, 54, 26, -1, 29, 55, - 26, -1, 28, 54, 26, -1, 28, 55, 26, -1, - 35, 26, -1, 29, 35, 26, -1, 28, 35, 26, - -1, 47, 26, -1, 29, 47, 26, -1, 28, 47, - 26, -1, 46, 26, -1, 29, 46, 26, -1, 28, - 46, 26, -1, 36, 26, -1, 29, 36, 26, -1, - 28, 36, 26, -1, 43, 26, -1, 29, 43, 26, - -1, 28, 43, 26, -1, 38, 26, -1, 29, 38, - 26, -1, 28, 38, 26, -1, 37, 29, -1, 29, - 37, 29, -1, 28, 37, 29, -1, 39, 29, -1, - 29, 39, 29, -1, 28, 39, 29, -1, 37, 26, - -1, 29, 37, 26, -1, 28, 37, 26, -1, 39, - 26, -1, 29, 39, 26, -1, 28, 39, 26, -1, - 39, 56, -1, 29, 39, 56, -1, 28, 39, 56, - -1, 37, 56, -1, 29, 37, 56, -1, 28, 37, - 56, -1, 44, 26, -1, 45, 26, -1, 26, -1, - 27, -1, 64, -1, 64, -1, 66, 64, -1, 65, - -1, 67, 65, -1, 67, -1, 69, -1, 69, 66, - -1, 74, -1, 77, -1, 70, -1, 73, -1, 12, - 88, 14, 88, 15, -1, 13, 88, 14, 88, 15, - -1, 72, -1, 78, -1, 76, -1, 79, -1, 80, - -1, 81, -1, 71, -1, 10, 26, 93, 14, 88, - 15, -1, 10, 26, 93, 57, 88, 58, -1, 10, - 26, 50, 93, 14, 88, 15, -1, 10, 26, 50, - 93, 57, 88, 58, -1, 10, 26, 93, 21, 63, - 92, 93, 14, 88, 15, -1, 10, 26, 93, 21, - 63, 92, 93, 57, 88, 58, -1, 10, 26, 93, - 21, 92, 93, 14, 88, 15, -1, 10, 26, 93, - 21, 92, 93, 57, 88, 58, -1, 10, 31, 92, - 93, 14, 88, 15, -1, 10, 31, 92, 93, 57, - 88, 58, -1, 10, 31, 14, 88, 15, -1, 10, - 31, 57, 88, 58, -1, 11, 26, 93, 14, 87, - 15, -1, 11, 26, 93, 57, 87, 58, -1, 11, - 26, 50, 93, 14, 87, 15, -1, 11, 26, 50, - 93, 57, 87, 58, -1, 11, 26, 93, 21, 63, - 92, 93, 14, 87, 15, -1, 11, 26, 93, 21, - 63, 92, 93, 57, 87, 58, -1, 8, 26, 93, - 21, 93, 9, -1, 8, 26, 93, 21, 85, 93, - 9, -1, 8, 26, 93, 21, 83, 9, -1, 26, - 59, 60, 93, 75, -1, 16, 26, 59, 60, 93, - 75, -1, 16, 26, 93, 75, -1, 69, -1, 69, - 66, -1, 59, 88, 60, -1, 17, 69, -1, 17, - 69, 66, -1, 17, 26, 69, -1, 17, 26, 69, - 66, -1, 17, 67, -1, 3, 88, 4, 88, 7, - -1, 3, 88, 4, 88, 5, 88, 7, -1, 3, - 88, 4, 88, 82, 7, -1, 57, 88, 58, -1, - 30, -1, 18, 32, 19, -1, 6, 88, 4, 88, - -1, 6, 88, 4, 88, 5, 88, -1, 6, 88, - 4, 88, 82, -1, 84, -1, 85, 84, -1, 93, - 86, 60, 88, -1, 93, 86, 60, 93, -1, 93, - 59, 86, 60, 88, -1, 93, 59, 86, 60, 93, - -1, 84, 40, -1, 85, 84, 40, -1, 84, 41, - -1, 85, 84, 41, -1, 84, 42, -1, 85, 84, - 42, -1, 26, -1, 86, 53, 26, -1, 93, 89, - -1, 87, -1, 93, 90, -1, 90, 51, 93, -1, - 90, 49, 93, -1, 90, 50, 93, -1, 90, 33, - 93, 90, -1, 90, 34, 93, 90, -1, 90, 49, - 93, 90, -1, 90, 50, 93, 90, -1, 90, 51, - 93, 90, -1, 96, -1, 51, -1, 52, -1, 51, - -1, 50, -1, 52, -1, -1, 93, 51, -1, 95, - -1, 95, 49, -1, 95, 50, -1, 95, 33, 93, - 95, -1, 95, 34, 93, 95, -1, 95, 49, 95, - -1, 95, 50, 95, -1, 96, -1, 97, -1, 22, - 96, -1, 98, 96, -1, 98, 92, -1, 22, 92, - -1, 97, 53, 93, 97, -1, 97, 48, 93, 97, - -1, 68, -1, 23, -1, 23, 24, -1, 23, 24, - 25, -1 -}; - -/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ + /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { - 0, 382, 382, 393, 402, 417, 427, 429, 433, 439, - 445, 451, 457, 463, 469, 475, 481, 487, 493, 499, - 505, 511, 517, 523, 530, 537, 544, 551, 558, 565, - 571, 577, 583, 589, 595, 601, 607, 613, 619, 625, - 631, 637, 643, 649, 655, 661, 667, 673, 679, 685, - 691, 697, 705, 707, 709, 713, 717, 728, 730, 734, - 736, 738, 754, 756, 760, 762, 764, 766, 768, 770, - 772, 774, 776, 778, 780, 784, 789, 794, 799, 804, - 809, 814, 819, 826, 831, 836, 841, 848, 853, 858, - 863, 868, 873, 880, 885, 890, 897, 900, 903, 907, - 909, 940, 947, 952, 969, 974, 991, 998, 1000, 1002, - 1007, 1011, 1015, 1019, 1021, 1023, 1027, 1028, 1032, 1034, - 1036, 1038, 1042, 1044, 1046, 1048, 1050, 1052, 1056, 1058, - 1067, 1075, 1076, 1082, 1083, 1090, 1094, 1096, 1098, 1105, - 1107, 1109, 1113, 1114, 1117, 1119, 1121, 1125, 1126, 1135, - 1148, 1164, 1179, 1181, 1183, 1190, 1193, 1197, 1199, 1205, - 1211, 1228, 1248, 1250, 1273, 1277, 1279, 1281 + 0, 386, 386, 397, 406, 421, 431, 433, 437, 443, + 449, 455, 461, 467, 473, 479, 485, 491, 497, 503, + 509, 515, 521, 527, 534, 541, 548, 555, 562, 569, + 575, 581, 587, 593, 599, 605, 611, 617, 623, 629, + 635, 641, 647, 653, 659, 665, 671, 677, 683, 689, + 695, 701, 709, 711, 713, 717, 721, 732, 734, 738, + 740, 742, 758, 760, 764, 766, 768, 770, 772, 774, + 776, 778, 780, 782, 784, 788, 793, 798, 803, 808, + 813, 818, 823, 830, 835, 840, 845, 852, 857, 862, + 867, 872, 877, 884, 889, 894, 901, 904, 907, 911, + 913, 944, 951, 956, 973, 978, 995, 1002, 1004, 1006, + 1011, 1015, 1019, 1023, 1025, 1027, 1031, 1032, 1036, 1038, + 1040, 1042, 1046, 1048, 1050, 1052, 1054, 1056, 1060, 1062, + 1071, 1079, 1080, 1086, 1087, 1094, 1098, 1100, 1102, 1109, + 1111, 1113, 1117, 1118, 1121, 1123, 1125, 1129, 1130, 1139, + 1152, 1168, 1183, 1185, 1187, 1194, 1197, 1201, 1203, 1209, + 1215, 1234, 1256, 1258, 1281, 1285, 1287, 1289 }; #endif -#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE +#if YYDEBUG || YYERROR_VERBOSE || 0 /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = @@ -935,13 +885,13 @@ static const char *const yytname[] = "case_clause_sequence", "pattern", "list", "compound_list", "list0", "list1", "simple_list_terminator", "list_terminator", "newline_list", "simple_list", "simple_list1", "pipeline_command", "pipeline", - "timespec", 0 + "timespec", YY_NULLPTR }; #endif # ifdef YYPRINT -/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to - token YYLEX-NUM. */ +/* YYTOKNUM[NUM] -- (External) token number corresponding to the + (internal) symbol number NUM (which must be that of a token). */ static const yytype_uint16 yytoknum[] = { 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, @@ -954,53 +904,59 @@ static const yytype_uint16 yytoknum[] = }; # endif -/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -static const yytype_uint8 yyr1[] = -{ - 0, 61, 62, 62, 62, 62, 63, 63, 64, 64, - 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, - 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, - 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, - 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, - 64, 64, 65, 65, 65, 66, 66, 67, 67, 68, - 68, 68, 68, 68, 69, 69, 69, 69, 69, 69, - 69, 69, 69, 69, 69, 70, 70, 70, 70, 70, - 70, 70, 70, 71, 71, 71, 71, 72, 72, 72, - 72, 72, 72, 73, 73, 73, 74, 74, 74, 75, - 75, 76, 77, 77, 77, 77, 77, 78, 78, 78, - 79, 80, 81, 82, 82, 82, 83, 83, 84, 84, - 84, 84, 85, 85, 85, 85, 85, 85, 86, 86, - 87, 88, 88, 89, 89, 89, 90, 90, 90, 90, - 90, 90, 91, 91, 92, 92, 92, 93, 93, 94, - 94, 94, 95, 95, 95, 95, 95, 96, 96, 96, - 96, 96, 97, 97, 97, 98, 98, 98 -}; +#define YYPACT_NINF -205 -/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -static const yytype_uint8 yyr2[] = +#define yypact_value_is_default(Yystate) \ + (!!((Yystate) == (-205))) + +#define YYTABLE_NINF -1 + +#define yytable_value_is_error(Yytable_value) \ + 0 + + /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing + STATE-NUM. */ +static const yytype_int16 yypact[] = { - 0, 2, 2, 1, 2, 1, 1, 2, 2, 2, - 3, 3, 3, 3, 2, 3, 3, 2, 3, 3, - 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, - 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, - 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, - 2, 2, 1, 1, 1, 1, 2, 1, 2, 1, - 1, 2, 1, 1, 1, 1, 5, 5, 1, 1, - 1, 1, 1, 1, 1, 6, 6, 7, 7, 10, - 10, 9, 9, 7, 7, 5, 5, 6, 6, 7, - 7, 10, 10, 6, 7, 6, 5, 6, 4, 1, - 2, 3, 2, 3, 3, 4, 2, 5, 7, 6, - 3, 1, 3, 4, 6, 5, 1, 2, 4, 4, - 5, 5, 2, 3, 2, 3, 2, 3, 1, 3, - 2, 1, 2, 3, 3, 3, 4, 4, 4, 4, - 4, 1, 1, 1, 1, 1, 1, 0, 2, 1, - 2, 2, 4, 4, 3, 3, 1, 1, 2, 2, - 2, 2, 4, 4, 1, 1, 2, 3 + 308, -28, -205, 6, -1, 37, -205, -205, 57, 558, + 18, 358, 54, 45, -205, 251, 583, -205, 102, 104, + 35, 107, 80, 112, 127, 140, 146, 147, -205, -205, + 153, 154, -205, -205, 188, -205, -205, 196, -205, 219, + -205, -205, -205, -205, -205, -205, -205, -205, -205, -205, + -205, 17, 23, -205, -19, 358, -205, -205, 185, 408, + -205, 144, 51, 166, 189, 207, 133, 28, 196, 219, + 211, -205, -205, -205, -205, -205, 201, 184, 220, 226, + 81, 227, 126, 233, 234, 241, 242, 245, 246, 249, + 142, 255, 148, 256, 257, 259, 266, 267, -205, -205, + -205, -205, -205, -205, -205, -205, -205, -205, -205, -205, + -205, -205, -205, -205, 243, 240, -205, -205, -205, -205, + 219, -205, -205, -205, -205, -205, 458, 458, -205, -205, + -205, -205, -205, -205, -205, 299, -205, 68, -205, 61, + -205, -205, -205, -205, 72, -205, -205, 244, 41, 219, + 219, -205, -205, -205, -205, -205, -205, -205, -205, -205, + -205, -205, -205, -205, -205, -205, -205, -205, -205, -205, + -205, -205, -205, -205, -205, -205, -205, -205, -205, -205, + -205, -205, -205, -205, -205, 408, 408, 63, 63, 508, + 508, 179, -205, -205, -205, -205, -205, -205, 60, -205, + 155, -205, 287, 252, 74, 108, -205, 286, -205, 300, + 302, -205, 219, -205, 219, 41, -205, -205, -19, -19, + -205, -205, -205, 307, 408, 408, 408, 408, 408, 313, + 159, -205, -4, -205, -205, 312, -205, 161, -205, 265, + -205, -205, -205, -205, -205, -205, 314, 408, 161, 270, + -205, -205, 41, 219, -205, 332, 336, -205, -205, -205, + 87, 87, 87, -205, -205, -205, -205, 178, 11, -205, + -205, 315, -43, 327, 298, -205, -205, -205, 110, -205, + 342, 306, 343, 319, -205, 299, -205, -205, -205, -205, + -205, -205, -205, -205, -205, -32, 346, -205, -205, -205, + 113, -205, -205, -205, -205, -205, -205, 118, 137, -205, + -205, -205, 408, -205, -205, 363, 321, -205, -205, -205, + -205, -205, 408, 367, 325, -205, -205, 374, 333, -205, + -205, -205, -205, -205 }; -/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state - STATE-NUM when YYTABLE doesn't specify something else to do. Zero - means the default is an error. */ + /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE does not specify something else to do. Zero + means the default is an error. */ static const yytype_uint8 yydefact[] = { 0, 0, 147, 0, 0, 0, 147, 147, 0, 0, @@ -1024,229 +980,180 @@ static const yytype_uint8 yydefact[] = 10, 11, 110, 101, 56, 0, 0, 154, 155, 0, 0, 0, 147, 147, 147, 147, 147, 147, 0, 147, 0, 147, 0, 0, 0, 0, 147, 0, 147, 0, - 0, 147, 99, 98, 105, 0, 152, 153, 0, 0, - 163, 162, 147, 147, 107, 0, 0, 0, 134, 135, - 133, 0, 116, 147, 0, 147, 147, 0, 6, 0, - 147, 0, 85, 86, 147, 147, 147, 147, 0, 0, - 0, 0, 66, 67, 0, 100, 96, 0, 0, 109, - 136, 137, 138, 139, 140, 95, 122, 124, 126, 117, - 0, 93, 128, 0, 0, 0, 0, 75, 7, 147, - 0, 76, 0, 0, 0, 0, 87, 0, 147, 88, - 97, 108, 147, 147, 147, 147, 123, 125, 127, 94, - 0, 0, 147, 77, 78, 0, 147, 147, 83, 84, - 89, 90, 0, 113, 0, 0, 0, 147, 129, 118, - 119, 147, 147, 0, 0, 147, 147, 147, 115, 120, - 121, 0, 0, 81, 82, 0, 0, 114, 79, 80, - 91, 92 -}; - -/* YYDEFGOTO[NTERM-NUM]. */ -static const yytype_int16 yydefgoto[] = -{ - -1, 34, 239, 35, 36, 120, 37, 38, 39, 40, - 41, 42, 43, 44, 213, 45, 46, 47, 48, 49, - 50, 225, 231, 232, 233, 274, 57, 58, 134, 135, - 123, 74, 59, 51, 187, 136, 54, 55 + 0, 147, 99, 98, 105, 0, 152, 153, 163, 162, + 147, 147, 107, 0, 0, 0, 134, 135, 133, 0, + 116, 147, 0, 147, 147, 0, 6, 0, 147, 0, + 85, 86, 147, 147, 147, 147, 0, 0, 0, 0, + 66, 67, 0, 100, 96, 0, 0, 109, 136, 137, + 138, 139, 140, 95, 122, 124, 126, 117, 0, 93, + 128, 0, 0, 0, 0, 75, 7, 147, 0, 76, + 0, 0, 0, 0, 87, 0, 147, 88, 97, 108, + 147, 123, 125, 127, 94, 0, 0, 147, 77, 78, + 0, 147, 147, 83, 84, 89, 90, 0, 113, 147, + 129, 118, 119, 147, 147, 0, 0, 147, 147, 147, + 115, 120, 121, 0, 0, 81, 82, 0, 0, 114, + 79, 80, 91, 92 }; -/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing - STATE-NUM. */ -#define YYPACT_NINF -208 -static const yytype_int16 yypact[] = + /* YYPGOTO[NTERM-NUM]. */ +static const yytype_int16 yypgoto[] = { - 296, -35, -208, -2, 38, 10, -208, -208, 24, 546, - 31, 346, 51, 47, -208, 591, 604, -208, 56, 71, - -18, 112, 130, 115, 128, 136, 143, 154, -208, -208, - 157, 170, -208, -208, 111, -208, -208, 229, -208, 578, - -208, -208, -208, -208, -208, -208, -208, -208, -208, -208, - -208, -12, -3, -208, 48, 346, -208, -208, 208, 396, - -208, 73, 15, 163, 190, 201, 160, 107, 229, 578, - 204, -208, -208, -208, -208, -208, 195, 165, 202, 215, - 152, 216, 153, 222, 227, 236, 237, 244, 245, 253, - 158, 254, 171, 255, 256, 259, 261, 262, -208, -208, - -208, -208, -208, -208, -208, -208, -208, -208, -208, -208, - -208, -208, -208, -208, 231, 230, -208, -208, -208, -208, - 578, -208, -208, -208, -208, -208, 446, 446, -208, -208, - -208, -208, -208, -208, -208, 210, -208, 4, -208, 65, - -208, -208, -208, -208, 70, -208, -208, 232, 41, 578, - 578, -208, -208, -208, -208, -208, -208, -208, -208, -208, - -208, -208, -208, -208, -208, -208, -208, -208, -208, -208, - -208, -208, -208, -208, -208, -208, -208, -208, -208, -208, - -208, -208, -208, -208, -208, 396, 396, 23, 23, 496, - 496, 97, -208, -208, -208, -208, -208, -208, 85, -208, - 185, -208, 276, 235, 100, 110, -208, 268, -208, 280, - 283, -208, 578, -208, 578, 41, -208, -208, 446, 446, - 48, 48, -208, -208, -208, 295, 396, 396, 396, 396, - 396, 294, 161, -208, 19, -208, -208, 290, -208, 200, - -208, 252, -208, -208, -208, -208, -208, -208, 302, 396, - 200, 269, -208, -208, 41, 578, -208, 313, 324, -208, - -208, -208, 55, 55, 55, -208, -208, -208, -208, 192, - 34, -208, -208, 303, -19, 315, 278, -208, -208, -208, - 114, -208, 322, 286, 323, 287, -208, 210, -208, -208, - -208, -208, -208, -208, -208, -208, -208, -208, -208, -208, - 8, 320, -208, -208, -208, 117, -208, -208, -208, -208, - -208, -208, 119, 167, 396, 396, 396, -208, -208, -208, - 396, -208, -208, 337, 307, -208, -208, -208, -208, -208, - 396, 345, 308, -208, -208, 352, 312, -208, -208, -208, - -208, -208 + -205, -205, 183, -36, -23, -50, 364, -205, -7, -205, + -205, -205, -205, -205, -204, -205, -205, -205, -205, -205, + -205, 84, -205, 167, -205, 128, -202, -6, -205, 52, + -205, -46, -48, -205, -119, 24, -33, -205 }; -/* YYPGOTO[NTERM-NUM]. */ -static const yytype_int16 yypgoto[] = + /* YYDEFGOTO[NTERM-NUM]. */ +static const yytype_int16 yydefgoto[] = { - -208, -208, 164, -37, -31, -62, 368, -208, -5, -208, - -208, -208, -208, -208, -206, -208, -208, -208, -208, -208, - -208, 66, -208, 145, -208, 88, -173, -6, -208, -207, - -208, -45, -48, -208, 5, 3, 17, -208 + -1, 34, 237, 35, 36, 120, 37, 38, 39, 40, + 41, 42, 43, 44, 213, 45, 46, 47, 48, 49, + 50, 223, 229, 230, 231, 272, 57, 58, 134, 135, + 123, 74, 59, 51, 52, 136, 54, 55 }; -/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If - positive, shift that token. If negative, reduce the rule which - number is the opposite. If zero, do what YYDEFACT says. - If YYTABLE_NINF, syntax error. */ -#define YYTABLE_NINF -1 + /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If + positive, shift that token. If negative, reduce the rule whose + number is the opposite. If YYTABLE_NINF, syntax error. */ static const yytype_uint16 yytable[] = { - 64, 65, 119, 53, 69, 52, 118, 150, 100, 256, - 130, 101, 137, 139, 75, 144, 56, 142, 148, 260, - 261, 262, 263, 264, 60, 197, 114, 115, 271, 140, - 124, 125, 119, 248, 301, 251, 63, 118, 102, 121, - 122, 302, 287, 299, 2, 272, 126, 127, 290, 3, - 66, 4, 5, 6, 7, 133, 124, 125, 131, 10, - 272, 301, 149, 70, 61, 71, 72, 73, 317, 62, - 133, 17, 141, 284, 285, 76, 185, 186, 273, 199, - 189, 190, 98, 184, 206, 133, 200, 214, 192, 193, - 198, 207, 133, 273, 204, 205, 128, 99, 32, 235, - 33, 129, 222, 223, 224, 215, 77, 262, 263, 264, - 2, 116, 119, 184, 244, 3, 133, 4, 5, 6, - 7, 133, 201, 138, 246, 10, 191, 208, 306, 53, - 53, 321, 188, 325, 202, 203, 133, 17, 103, 209, - 210, 107, 236, 212, 226, 227, 228, 229, 230, 234, - 255, 133, 335, 336, 108, 240, 104, 245, 249, 105, - 249, 133, 109, 254, 32, 133, 33, 247, 133, 110, - 133, 307, 327, 223, 322, 119, 326, 184, 156, 160, - 111, 157, 161, 112, 170, 270, 106, 171, 53, 53, - 216, 217, 280, 237, 279, 241, 113, 174, 249, 249, - 175, 266, 267, 268, 145, 288, 220, 221, 158, 162, - 212, 238, 132, 143, 172, 146, 257, 258, 184, 147, - 152, 53, 53, 151, 188, 153, 278, 176, 154, 275, - 276, 305, 296, 297, 298, 71, 72, 73, 282, 283, - 312, 155, 159, 192, 193, 314, 315, 316, 163, 212, - 71, 72, 73, 164, 320, 117, 14, 15, 16, 194, - 195, 196, 165, 166, 18, 19, 20, 21, 22, 330, - 167, 168, 23, 24, 25, 26, 27, 249, 249, 169, - 173, 177, 178, 30, 31, 179, 313, 180, 181, 182, - 183, 242, 211, 243, 238, 252, 319, 1, 253, 2, - 323, 324, 259, 265, 3, 277, 4, 5, 6, 7, - 281, 329, 8, 9, 10, 331, 332, 286, 11, 12, - 291, 337, 13, 14, 15, 16, 17, 289, 292, 272, - 303, 18, 19, 20, 21, 22, 304, 308, 310, 23, - 24, 25, 26, 27, 309, 311, 318, 28, 29, 2, - 30, 31, 333, 32, 3, 33, 4, 5, 6, 7, - 338, 300, 8, 9, 10, 334, 339, 340, 11, 12, - 341, 250, 13, 14, 15, 16, 17, 68, 269, 328, - 0, 18, 19, 20, 21, 22, 0, 0, 0, 23, - 24, 25, 26, 27, 0, 0, 71, 72, 73, 2, - 30, 31, 0, 32, 3, 33, 4, 5, 6, 7, - 0, 0, 8, 9, 10, 0, 0, 0, 11, 12, - 0, 0, 13, 14, 15, 16, 17, 0, 0, 0, - 0, 18, 19, 20, 21, 22, 0, 0, 0, 23, - 24, 25, 26, 27, 0, 0, 0, 133, 0, 2, - 30, 31, 0, 32, 3, 33, 4, 5, 6, 7, - 0, 0, 8, 9, 10, 0, 0, 0, 11, 12, - 0, 0, 13, 14, 15, 16, 17, 0, 0, 0, - 0, 18, 19, 20, 21, 22, 0, 0, 0, 23, - 24, 25, 26, 27, 0, 0, 0, 0, 0, 2, - 30, 31, 0, 32, 3, 33, 4, 5, 6, 7, - 0, 0, 8, 9, 10, 0, 0, 0, 0, 0, - 0, 0, 13, 14, 15, 16, 17, 0, 0, 0, - 0, 18, 19, 20, 21, 22, 0, 0, 0, 23, - 24, 25, 26, 27, 0, 0, 0, 133, 0, 2, - 30, 31, 0, 32, 3, 33, 4, 5, 6, 7, - 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, - 0, 0, 67, 14, 15, 16, 17, 0, 0, 0, - 0, 18, 19, 20, 21, 22, 0, 0, 0, 23, - 24, 25, 26, 27, 0, 0, 0, 0, 0, 0, - 30, 31, 0, 32, 0, 33, 15, 16, 0, 0, + 64, 65, 69, 119, 246, 269, 249, 187, 188, 130, + 296, 254, 137, 139, 118, 144, 142, 297, 148, 150, + 294, 296, 270, 56, 53, 61, 114, 115, 309, 128, + 62, 2, 60, 119, 129, 75, 3, 270, 4, 5, + 6, 7, 282, 283, 2, 118, 10, 133, 288, 3, + 70, 4, 5, 6, 7, 271, 124, 125, 17, 10, + 149, 100, 133, 63, 101, 140, 216, 217, 121, 122, + 271, 17, 126, 127, 233, 199, 185, 186, 76, 131, + 189, 190, 200, 66, 184, 32, 206, 33, 242, 197, + 198, 102, 133, 207, 204, 205, 124, 125, 32, 214, + 33, 71, 72, 73, 77, 215, 104, 156, 141, 105, + 157, 133, 133, 119, 184, 327, 328, 234, 201, 133, + 192, 193, 244, 133, 301, 133, 191, 313, 98, 208, + 99, 243, 317, 103, 202, 203, 106, 158, 107, 209, + 210, 212, 319, 221, 224, 225, 226, 227, 228, 232, + 53, 53, 160, 108, 238, 161, 218, 219, 247, 133, + 247, 133, 253, 252, 133, 245, 109, 302, 170, 133, + 314, 171, 110, 111, 174, 318, 119, 175, 184, 112, + 113, 236, 162, 268, 220, 221, 222, 276, 116, 132, + 278, 277, 147, 235, 138, 239, 247, 247, 172, 264, + 265, 266, 286, 145, 176, 71, 72, 73, 212, 53, + 53, 71, 72, 73, 255, 256, 143, 184, 291, 292, + 293, 146, 117, 14, 15, 16, 152, 273, 274, 300, + 151, 18, 19, 20, 21, 22, 280, 281, 307, 23, + 24, 25, 26, 27, 153, 212, 154, 15, 16, 312, + 30, 31, 155, 159, 18, 19, 20, 21, 22, 163, + 164, 322, 23, 24, 25, 26, 27, 165, 166, 247, + 247, 167, 168, 30, 31, 169, 258, 259, 260, 261, + 262, 173, 177, 178, 308, 179, 78, 79, 80, 81, + 82, 311, 180, 181, 83, 315, 316, 84, 85, 285, + 183, 182, 240, 321, 211, 86, 87, 323, 324, 1, + 241, 2, 236, 329, 257, 250, 3, 251, 4, 5, + 6, 7, 263, 279, 8, 9, 10, 275, 287, 284, + 11, 12, 192, 193, 13, 14, 15, 16, 17, 289, + 290, 270, 298, 18, 19, 20, 21, 22, 194, 195, + 196, 23, 24, 25, 26, 27, 299, 303, 305, 28, + 29, 2, 30, 31, 304, 32, 3, 33, 4, 5, + 6, 7, 310, 68, 8, 9, 10, 306, 325, 326, + 11, 12, 330, 331, 13, 14, 15, 16, 17, 332, + 248, 333, 320, 18, 19, 20, 21, 22, 267, 295, + 0, 23, 24, 25, 26, 27, 0, 0, 71, 72, + 73, 2, 30, 31, 0, 32, 3, 33, 4, 5, + 6, 7, 0, 0, 8, 9, 10, 0, 0, 0, + 11, 12, 0, 0, 13, 14, 15, 16, 17, 0, + 0, 0, 0, 18, 19, 20, 21, 22, 0, 0, + 0, 23, 24, 25, 26, 27, 0, 0, 0, 133, + 0, 2, 30, 31, 0, 32, 3, 33, 4, 5, + 6, 7, 0, 0, 8, 9, 10, 0, 0, 0, + 11, 12, 0, 0, 13, 14, 15, 16, 17, 0, + 0, 0, 0, 18, 19, 20, 21, 22, 0, 0, + 0, 23, 24, 25, 26, 27, 0, 0, 0, 0, + 0, 2, 30, 31, 0, 32, 3, 33, 4, 5, + 6, 7, 0, 0, 8, 9, 10, 0, 0, 0, + 0, 0, 0, 0, 13, 14, 15, 16, 17, 0, + 0, 0, 0, 18, 19, 20, 21, 22, 0, 0, + 0, 23, 24, 25, 26, 27, 0, 0, 0, 133, + 0, 2, 30, 31, 0, 32, 3, 33, 4, 5, + 6, 7, 0, 0, 0, 0, 10, 0, 0, 0, + 0, 0, 0, 0, 67, 14, 15, 16, 17, 0, 0, 0, 0, 18, 19, 20, 21, 22, 0, 0, - 0, 23, 24, 25, 26, 27, 78, 79, 80, 81, - 82, 0, 30, 31, 83, 0, 0, 84, 85, 88, - 89, 90, 91, 92, 0, 86, 87, 93, 0, 0, - 94, 95, 0, 0, 0, 0, 0, 0, 96, 97 + 0, 23, 24, 25, 26, 27, 0, 0, 0, 0, + 0, 0, 30, 31, 0, 32, 0, 33, 88, 89, + 90, 91, 92, 0, 0, 0, 93, 0, 0, 94, + 95, 0, 0, 0, 0, 0, 0, 96, 97 }; static const yytype_int16 yycheck[] = { - 6, 7, 39, 0, 9, 0, 37, 69, 26, 215, - 55, 29, 60, 61, 11, 63, 51, 62, 66, 226, - 227, 228, 229, 230, 26, 21, 32, 33, 9, 14, - 33, 34, 69, 206, 53, 208, 26, 68, 56, 51, - 52, 60, 249, 9, 3, 26, 49, 50, 254, 8, - 26, 10, 11, 12, 13, 51, 33, 34, 55, 18, - 26, 53, 67, 32, 26, 50, 51, 52, 60, 31, - 51, 30, 57, 246, 247, 24, 124, 125, 59, 14, - 128, 129, 26, 120, 14, 51, 21, 149, 33, 34, - 138, 21, 51, 59, 142, 143, 48, 26, 57, 14, - 59, 53, 5, 6, 7, 153, 59, 314, 315, 316, - 3, 0, 149, 150, 14, 8, 51, 10, 11, 12, - 13, 51, 57, 50, 14, 18, 132, 57, 14, 126, - 127, 14, 127, 14, 140, 141, 51, 30, 26, 145, - 146, 26, 57, 148, 192, 193, 194, 195, 196, 197, - 212, 51, 325, 326, 26, 200, 26, 57, 206, 29, - 208, 51, 26, 211, 57, 51, 59, 57, 51, 26, - 51, 57, 5, 6, 57, 212, 57, 214, 26, 26, - 26, 29, 29, 26, 26, 233, 56, 29, 185, 186, - 185, 186, 240, 199, 239, 201, 26, 26, 246, 247, - 29, 40, 41, 42, 14, 250, 189, 190, 56, 56, - 215, 26, 4, 50, 56, 14, 222, 223, 255, 59, - 25, 218, 219, 19, 219, 60, 26, 56, 26, 235, - 236, 279, 40, 41, 42, 50, 51, 52, 244, 245, - 288, 26, 26, 33, 34, 293, 294, 295, 26, 254, - 50, 51, 52, 26, 302, 26, 27, 28, 29, 49, - 50, 51, 26, 26, 35, 36, 37, 38, 39, 317, - 26, 26, 43, 44, 45, 46, 47, 325, 326, 26, - 26, 26, 26, 54, 55, 26, 292, 26, 26, 58, - 60, 15, 60, 58, 26, 15, 302, 1, 15, 3, - 306, 307, 7, 9, 8, 15, 10, 11, 12, 13, - 58, 317, 16, 17, 18, 321, 322, 15, 22, 23, - 7, 327, 26, 27, 28, 29, 30, 58, 4, 26, - 15, 35, 36, 37, 38, 39, 58, 15, 15, 43, - 44, 45, 46, 47, 58, 58, 26, 51, 52, 3, - 54, 55, 15, 57, 8, 59, 10, 11, 12, 13, - 15, 273, 16, 17, 18, 58, 58, 15, 22, 23, - 58, 207, 26, 27, 28, 29, 30, 9, 233, 313, - -1, 35, 36, 37, 38, 39, -1, -1, -1, 43, - 44, 45, 46, 47, -1, -1, 50, 51, 52, 3, - 54, 55, -1, 57, 8, 59, 10, 11, 12, 13, - -1, -1, 16, 17, 18, -1, -1, -1, 22, 23, - -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, - -1, 35, 36, 37, 38, 39, -1, -1, -1, 43, - 44, 45, 46, 47, -1, -1, -1, 51, -1, 3, - 54, 55, -1, 57, 8, 59, 10, 11, 12, 13, - -1, -1, 16, 17, 18, -1, -1, -1, 22, 23, - -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, - -1, 35, 36, 37, 38, 39, -1, -1, -1, 43, - 44, 45, 46, 47, -1, -1, -1, -1, -1, 3, - 54, 55, -1, 57, 8, 59, 10, 11, 12, 13, - -1, -1, 16, 17, 18, -1, -1, -1, -1, -1, - -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, - -1, 35, 36, 37, 38, 39, -1, -1, -1, 43, - 44, 45, 46, 47, -1, -1, -1, 51, -1, 3, - 54, 55, -1, 57, 8, 59, 10, 11, 12, 13, - -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, - -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, - -1, 35, 36, 37, 38, 39, -1, -1, -1, 43, - 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, - 54, 55, -1, 57, -1, 59, 28, 29, -1, -1, + 6, 7, 9, 39, 206, 9, 208, 126, 127, 55, + 53, 215, 60, 61, 37, 63, 62, 60, 66, 69, + 9, 53, 26, 51, 0, 26, 32, 33, 60, 48, + 31, 3, 26, 69, 53, 11, 8, 26, 10, 11, + 12, 13, 244, 245, 3, 68, 18, 51, 252, 8, + 32, 10, 11, 12, 13, 59, 33, 34, 30, 18, + 67, 26, 51, 26, 29, 14, 185, 186, 51, 52, + 59, 30, 49, 50, 14, 14, 124, 125, 24, 55, + 128, 129, 21, 26, 120, 57, 14, 59, 14, 21, + 138, 56, 51, 21, 142, 143, 33, 34, 57, 149, + 59, 50, 51, 52, 59, 153, 26, 26, 57, 29, + 29, 51, 51, 149, 150, 317, 318, 57, 57, 51, + 33, 34, 14, 51, 14, 51, 132, 14, 26, 57, + 26, 57, 14, 26, 140, 141, 56, 56, 26, 145, + 146, 148, 5, 6, 192, 193, 194, 195, 196, 197, + 126, 127, 26, 26, 200, 29, 189, 190, 206, 51, + 208, 51, 212, 211, 51, 57, 26, 57, 26, 51, + 57, 29, 26, 26, 26, 57, 212, 29, 214, 26, + 26, 26, 56, 231, 5, 6, 7, 26, 0, 4, + 238, 237, 59, 199, 50, 201, 244, 245, 56, 40, + 41, 42, 248, 14, 56, 50, 51, 52, 215, 185, + 186, 50, 51, 52, 220, 221, 50, 253, 40, 41, + 42, 14, 26, 27, 28, 29, 25, 233, 234, 277, + 19, 35, 36, 37, 38, 39, 242, 243, 286, 43, + 44, 45, 46, 47, 60, 252, 26, 28, 29, 297, + 54, 55, 26, 26, 35, 36, 37, 38, 39, 26, + 26, 309, 43, 44, 45, 46, 47, 26, 26, 317, + 318, 26, 26, 54, 55, 26, 224, 225, 226, 227, + 228, 26, 26, 26, 290, 26, 35, 36, 37, 38, + 39, 297, 26, 26, 43, 301, 302, 46, 47, 247, + 60, 58, 15, 309, 60, 54, 55, 313, 314, 1, + 58, 3, 26, 319, 7, 15, 8, 15, 10, 11, + 12, 13, 9, 58, 16, 17, 18, 15, 58, 15, + 22, 23, 33, 34, 26, 27, 28, 29, 30, 7, + 4, 26, 15, 35, 36, 37, 38, 39, 49, 50, + 51, 43, 44, 45, 46, 47, 58, 15, 15, 51, + 52, 3, 54, 55, 58, 57, 8, 59, 10, 11, + 12, 13, 26, 9, 16, 17, 18, 58, 15, 58, + 22, 23, 15, 58, 26, 27, 28, 29, 30, 15, + 207, 58, 308, 35, 36, 37, 38, 39, 231, 271, + -1, 43, 44, 45, 46, 47, -1, -1, 50, 51, + 52, 3, 54, 55, -1, 57, 8, 59, 10, 11, + 12, 13, -1, -1, 16, 17, 18, -1, -1, -1, + 22, 23, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, 36, 37, 38, 39, -1, -1, - -1, 43, 44, 45, 46, 47, 35, 36, 37, 38, - 39, -1, 54, 55, 43, -1, -1, 46, 47, 35, - 36, 37, 38, 39, -1, 54, 55, 43, -1, -1, - 46, 47, -1, -1, -1, -1, -1, -1, 54, 55 + -1, 43, 44, 45, 46, 47, -1, -1, -1, 51, + -1, 3, 54, 55, -1, 57, 8, 59, 10, 11, + 12, 13, -1, -1, 16, 17, 18, -1, -1, -1, + 22, 23, -1, -1, 26, 27, 28, 29, 30, -1, + -1, -1, -1, 35, 36, 37, 38, 39, -1, -1, + -1, 43, 44, 45, 46, 47, -1, -1, -1, -1, + -1, 3, 54, 55, -1, 57, 8, 59, 10, 11, + 12, 13, -1, -1, 16, 17, 18, -1, -1, -1, + -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, + -1, -1, -1, 35, 36, 37, 38, 39, -1, -1, + -1, 43, 44, 45, 46, 47, -1, -1, -1, 51, + -1, 3, 54, 55, -1, 57, 8, 59, 10, 11, + 12, 13, -1, -1, -1, -1, 18, -1, -1, -1, + -1, -1, -1, -1, 26, 27, 28, 29, 30, -1, + -1, -1, -1, 35, 36, 37, 38, 39, -1, -1, + -1, 43, 44, 45, 46, 47, -1, -1, -1, -1, + -1, -1, 54, 55, -1, 57, -1, 59, 35, 36, + 37, 38, 39, -1, -1, -1, 43, -1, -1, 46, + 47, -1, -1, -1, -1, -1, -1, 54, 55 }; -/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing - symbol of state STATE-NUM. */ + /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing + symbol of state STATE-NUM. */ static const yytype_uint8 yystos[] = { 0, 1, 3, 8, 10, 11, 12, 13, 16, 17, @@ -1270,111 +1177,100 @@ static const yytype_uint8 yystos[] = 26, 26, 58, 60, 64, 93, 93, 95, 95, 93, 93, 88, 33, 34, 49, 50, 51, 21, 93, 14, 21, 57, 88, 88, 93, 93, 14, 21, 57, 88, - 88, 60, 69, 75, 66, 93, 95, 95, 49, 50, - 97, 97, 5, 6, 7, 82, 93, 93, 93, 93, - 93, 83, 84, 85, 93, 14, 57, 88, 26, 63, - 92, 88, 15, 58, 14, 57, 14, 57, 87, 93, - 63, 87, 15, 15, 93, 66, 75, 88, 88, 7, - 90, 90, 90, 90, 90, 9, 40, 41, 42, 84, - 93, 9, 26, 59, 86, 88, 88, 15, 26, 92, - 93, 58, 88, 88, 87, 87, 15, 90, 92, 58, - 75, 7, 4, 49, 50, 51, 40, 41, 42, 9, - 86, 53, 60, 15, 58, 93, 14, 57, 15, 58, - 15, 58, 93, 88, 93, 93, 93, 60, 26, 88, - 93, 14, 57, 88, 88, 14, 57, 5, 82, 88, - 93, 88, 88, 15, 58, 87, 87, 88, 15, 58, - 15, 58 + 88, 60, 69, 75, 66, 93, 95, 95, 97, 97, + 5, 6, 7, 82, 93, 93, 93, 93, 93, 83, + 84, 85, 93, 14, 57, 88, 26, 63, 92, 88, + 15, 58, 14, 57, 14, 57, 87, 93, 63, 87, + 15, 15, 93, 66, 75, 88, 88, 7, 90, 90, + 90, 90, 90, 9, 40, 41, 42, 84, 93, 9, + 26, 59, 86, 88, 88, 15, 26, 92, 93, 58, + 88, 88, 87, 87, 15, 90, 92, 58, 75, 7, + 4, 40, 41, 42, 9, 86, 53, 60, 15, 58, + 93, 14, 57, 15, 58, 15, 58, 93, 88, 60, + 26, 88, 93, 14, 57, 88, 88, 14, 57, 5, + 82, 88, 93, 88, 88, 15, 58, 87, 87, 88, + 15, 58, 15, 58 }; -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY (-2) -#define YYEOF 0 + /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const yytype_uint8 yyr1[] = +{ + 0, 61, 62, 62, 62, 62, 63, 63, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, + 64, 64, 65, 65, 65, 66, 66, 67, 67, 68, + 68, 68, 68, 68, 69, 69, 69, 69, 69, 69, + 69, 69, 69, 69, 69, 70, 70, 70, 70, 70, + 70, 70, 70, 71, 71, 71, 71, 72, 72, 72, + 72, 72, 72, 73, 73, 73, 74, 74, 74, 75, + 75, 76, 77, 77, 77, 77, 77, 78, 78, 78, + 79, 80, 81, 82, 82, 82, 83, 83, 84, 84, + 84, 84, 85, 85, 85, 85, 85, 85, 86, 86, + 87, 88, 88, 89, 89, 89, 90, 90, 90, 90, + 90, 90, 91, 91, 92, 92, 92, 93, 93, 94, + 94, 94, 95, 95, 95, 95, 95, 96, 96, 96, + 96, 96, 97, 97, 97, 98, 98, 98 +}; + + /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */ +static const yytype_uint8 yyr2[] = +{ + 0, 2, 2, 1, 2, 1, 1, 2, 2, 2, + 3, 3, 3, 3, 2, 3, 3, 2, 3, 3, + 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, + 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, + 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, + 2, 2, 1, 1, 1, 1, 2, 1, 2, 1, + 1, 2, 1, 1, 1, 1, 5, 5, 1, 1, + 1, 1, 1, 1, 1, 6, 6, 7, 7, 10, + 10, 9, 9, 7, 7, 5, 5, 6, 6, 7, + 7, 10, 10, 6, 7, 6, 5, 6, 4, 1, + 2, 3, 2, 3, 3, 4, 2, 5, 7, 6, + 3, 1, 3, 4, 6, 5, 1, 2, 4, 4, + 5, 5, 2, 3, 2, 3, 2, 3, 1, 3, + 2, 1, 2, 3, 3, 3, 4, 4, 4, 4, + 4, 1, 1, 1, 1, 1, 1, 0, 2, 1, + 2, 2, 4, 4, 3, 3, 1, 1, 2, 2, + 2, 2, 4, 4, 1, 1, 2, 3 +}; -#define YYACCEPT goto yyacceptlab -#define YYABORT goto yyabortlab -#define YYERROR goto yyerrorlab +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) +#define YYEMPTY (-2) +#define YYEOF 0 -/* Like YYERROR except do call yyerror. This remains here temporarily - to ease the transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrorlab -#define YYFAIL goto yyerrlab #define YYRECOVERING() (!!yyerrstatus) -#define YYBACKUP(Token, Value) \ -do \ - if (yychar == YYEMPTY && yylen == 1) \ - { \ - yychar = (Token); \ - yylval = (Value); \ - yytoken = YYTRANSLATE (yychar); \ - YYPOPSTACK (1); \ - goto yybackup; \ - } \ - else \ - { \ +#define YYBACKUP(Token, Value) \ +do \ + if (yychar == YYEMPTY) \ + { \ + yychar = (Token); \ + yylval = (Value); \ + YYPOPSTACK (yylen); \ + yystate = *yyssp; \ + goto yybackup; \ + } \ + else \ + { \ yyerror (YY_("syntax error: cannot back up")); \ - YYERROR; \ - } \ -while (YYID (0)) - - -#define YYTERROR 1 -#define YYERRCODE 256 - - -/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. - If N is 0, then set CURRENT to the empty location which ends - the previous symbol: RHS[0] (always defined). */ - -#define YYRHSLOC(Rhs, K) ((Rhs)[K]) -#ifndef YYLLOC_DEFAULT -# define YYLLOC_DEFAULT(Current, Rhs, N) \ - do \ - if (YYID (N)) \ - { \ - (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ - (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ - (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ - (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ - } \ - else \ - { \ - (Current).first_line = (Current).last_line = \ - YYRHSLOC (Rhs, 0).last_line; \ - (Current).first_column = (Current).last_column = \ - YYRHSLOC (Rhs, 0).last_column; \ - } \ - while (YYID (0)) -#endif + YYERROR; \ + } \ +while (0) +/* Error token number */ +#define YYTERROR 1 +#define YYERRCODE 256 -/* YY_LOCATION_PRINT -- Print the location on the stream. - This macro was not mandated originally: define only if we know - we won't break user code: when these are the locations we know. */ -#ifndef YY_LOCATION_PRINT -# if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL -# define YY_LOCATION_PRINT(File, Loc) \ - fprintf (File, "%d.%d-%d.%d", \ - (Loc).first_line, (Loc).first_column, \ - (Loc).last_line, (Loc).last_column) -# else -# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -# endif -#endif - - -/* YYLEX -- calling `yylex' with the right arguments. */ - -#ifdef YYLEX_PARAM -# define YYLEX yylex (YYLEX_PARAM) -#else -# define YYLEX yylex () -#endif /* Enable debugging if requested. */ #if YYDEBUG @@ -1384,54 +1280,46 @@ while (YYID (0)) # define YYFPRINTF fprintf # endif -# define YYDPRINTF(Args) \ -do { \ - if (yydebug) \ - YYFPRINTF Args; \ -} while (YYID (0)) +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) + +/* This macro is provided for backward compatibility. */ +#ifndef YY_LOCATION_PRINT +# define YY_LOCATION_PRINT(File, Loc) ((void) 0) +#endif -# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ -do { \ - if (yydebug) \ - { \ - YYFPRINTF (stderr, "%s ", Title); \ - yy_symbol_print (stderr, \ - Type, Value); \ - YYFPRINTF (stderr, "\n"); \ - } \ -} while (YYID (0)) +# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ +do { \ + if (yydebug) \ + { \ + YYFPRINTF (stderr, "%s ", Title); \ + yy_symbol_print (stderr, \ + Type, Value); \ + YYFPRINTF (stderr, "\n"); \ + } \ +} while (0) -/*--------------------------------. -| Print this symbol on YYOUTPUT. | -`--------------------------------*/ -/*ARGSUSED*/ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static void -yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) -#else +/*----------------------------------------. +| Print this symbol's value on YYOUTPUT. | +`----------------------------------------*/ + static void -yy_symbol_value_print (yyoutput, yytype, yyvaluep) - FILE *yyoutput; - int yytype; - YYSTYPE const * const yyvaluep; -#endif +yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) { + FILE *yyo = yyoutput; + YYUSE (yyo); if (!yyvaluep) return; # ifdef YYPRINT if (yytype < YYNTOKENS) YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); -# else - YYUSE (yyoutput); # endif - switch (yytype) - { - default: - break; - } + YYUSE (yytype); } @@ -1439,22 +1327,11 @@ yy_symbol_value_print (yyoutput, yytype, yyvaluep) | Print this symbol on YYOUTPUT. | `--------------------------------*/ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) static void yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) -#else -static void -yy_symbol_print (yyoutput, yytype, yyvaluep) - FILE *yyoutput; - int yytype; - YYSTYPE const * const yyvaluep; -#endif { - if (yytype < YYNTOKENS) - YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); - else - YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); + YYFPRINTF (yyoutput, "%s %s (", + yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]); yy_symbol_value_print (yyoutput, yytype, yyvaluep); YYFPRINTF (yyoutput, ")"); @@ -1465,66 +1342,54 @@ yy_symbol_print (yyoutput, yytype, yyvaluep) | TOP (included). | `------------------------------------------------------------------*/ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -static void -yy_stack_print (yytype_int16 *bottom, yytype_int16 *top) -#else static void -yy_stack_print (bottom, top) - yytype_int16 *bottom; - yytype_int16 *top; -#endif +yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) { YYFPRINTF (stderr, "Stack now"); - for (; bottom <= top; ++bottom) - YYFPRINTF (stderr, " %d", *bottom); + for (; yybottom <= yytop; yybottom++) + { + int yybot = *yybottom; + YYFPRINTF (stderr, " %d", yybot); + } YYFPRINTF (stderr, "\n"); } -# define YY_STACK_PRINT(Bottom, Top) \ -do { \ - if (yydebug) \ - yy_stack_print ((Bottom), (Top)); \ -} while (YYID (0)) +# define YY_STACK_PRINT(Bottom, Top) \ +do { \ + if (yydebug) \ + yy_stack_print ((Bottom), (Top)); \ +} while (0) /*------------------------------------------------. | Report that the YYRULE is going to be reduced. | `------------------------------------------------*/ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) static void -yy_reduce_print (YYSTYPE *yyvsp, int yyrule) -#else -static void -yy_reduce_print (yyvsp, yyrule) - YYSTYPE *yyvsp; - int yyrule; -#endif +yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule) { + unsigned long int yylno = yyrline[yyrule]; int yynrhs = yyr2[yyrule]; int yyi; - unsigned long int yylno = yyrline[yyrule]; YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", - yyrule - 1, yylno); + yyrule - 1, yylno); /* The symbols being reduced. */ for (yyi = 0; yyi < yynrhs; yyi++) { - fprintf (stderr, " $%d = ", yyi + 1); - yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], - &(yyvsp[(yyi + 1) - (yynrhs)]) - ); - fprintf (stderr, "\n"); + YYFPRINTF (stderr, " $%d = ", yyi + 1); + yy_symbol_print (stderr, + yystos[yyssp[yyi + 1 - yynrhs]], + &(yyvsp[(yyi + 1) - (yynrhs)]) + ); + YYFPRINTF (stderr, "\n"); } } -# define YY_REDUCE_PRINT(Rule) \ -do { \ - if (yydebug) \ - yy_reduce_print (yyvsp, Rule); \ -} while (YYID (0)) +# define YY_REDUCE_PRINT(Rule) \ +do { \ + if (yydebug) \ + yy_reduce_print (yyssp, yyvsp, Rule); \ +} while (0) /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ @@ -1538,7 +1403,7 @@ int yydebug; /* YYINITDEPTH -- initial size of the parser's stacks. */ -#ifndef YYINITDEPTH +#ifndef YYINITDEPTH # define YYINITDEPTH 200 #endif @@ -1553,7 +1418,6 @@ int yydebug; # define YYMAXDEPTH 10000 #endif - #if YYERROR_VERBOSE @@ -1562,15 +1426,8 @@ int yydebug; # define yystrlen strlen # else /* Return the length of YYSTR. */ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) static YYSIZE_T yystrlen (const char *yystr) -#else -static YYSIZE_T -yystrlen (yystr) - const char *yystr; -#endif { YYSIZE_T yylen; for (yylen = 0; yystr[yylen]; yylen++) @@ -1586,16 +1443,8 @@ yystrlen (yystr) # else /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in YYDEST. */ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) static char * yystpcpy (char *yydest, const char *yysrc) -#else -static char * -yystpcpy (yydest, yysrc) - char *yydest; - const char *yysrc; -#endif { char *yyd = yydest; const char *yys = yysrc; @@ -1625,27 +1474,27 @@ yytnamerr (char *yyres, const char *yystr) char const *yyp = yystr; for (;;) - switch (*++yyp) - { - case '\'': - case ',': - goto do_not_strip_quotes; - - case '\\': - if (*++yyp != '\\') - goto do_not_strip_quotes; - /* Fall through. */ - default: - if (yyres) - yyres[yyn] = *yyp; - yyn++; - break; - - case '"': - if (yyres) - yyres[yyn] = '\0'; - return yyn; - } + switch (*++yyp) + { + case '\'': + case ',': + goto do_not_strip_quotes; + + case '\\': + if (*++yyp != '\\') + goto do_not_strip_quotes; + /* Fall through. */ + default: + if (yyres) + yyres[yyn] = *yyp; + yyn++; + break; + + case '"': + if (yyres) + yyres[yyn] = '\0'; + return yyn; + } do_not_strip_quotes: ; } @@ -1656,211 +1505,209 @@ yytnamerr (char *yyres, const char *yystr) } # endif -/* Copy into YYRESULT an error message about the unexpected token - YYCHAR while in state YYSTATE. Return the number of bytes copied, - including the terminating null byte. If YYRESULT is null, do not - copy anything; just return the number of bytes that would be - copied. As a special case, return 0 if an ordinary "syntax error" - message will do. Return YYSIZE_MAXIMUM if overflow occurs during - size calculation. */ -static YYSIZE_T -yysyntax_error (char *yyresult, int yystate, int yychar) -{ - int yyn = yypact[yystate]; +/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message + about the unexpected token YYTOKEN for the state stack whose top is + YYSSP. - if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) - return 0; - else - { - int yytype = YYTRANSLATE (yychar); - YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); - YYSIZE_T yysize = yysize0; - YYSIZE_T yysize1; - int yysize_overflow = 0; - enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; - char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; - int yyx; - -# if 0 - /* This is so xgettext sees the translatable formats that are - constructed on the fly. */ - YY_("syntax error, unexpected %s"); - YY_("syntax error, unexpected %s, expecting %s"); - YY_("syntax error, unexpected %s, expecting %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s"); - YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); -# endif - char *yyfmt; - char const *yyf; - static char const yyunexpected[] = "syntax error, unexpected %s"; - static char const yyexpecting[] = ", expecting %s"; - static char const yyor[] = " or %s"; - char yyformat[sizeof yyunexpected - + sizeof yyexpecting - 1 - + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) - * (sizeof yyor - 1))]; - char const *yyprefix = yyexpecting; - - /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn + 1; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yycount = 1; - - yyarg[0] = yytname[yytype]; - yyfmt = yystpcpy (yyformat, yyunexpected); - - for (yyx = yyxbegin; yyx < yyxend; ++yyx) - if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) - { - yycount = 1; - yysize = yysize0; - yyformat[sizeof yyunexpected - 1] = '\0'; - break; - } - yyarg[yycount++] = yytname[yyx]; - yysize1 = yysize + yytnamerr (0, yytname[yyx]); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; - yyfmt = yystpcpy (yyfmt, yyprefix); - yyprefix = yyor; - } + Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is + not large enough to hold the message. In that case, also set + *YYMSG_ALLOC to the required number of bytes. Return 2 if the + required number of bytes is too large to store. */ +static int +yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, + yytype_int16 *yyssp, int yytoken) +{ + YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]); + YYSIZE_T yysize = yysize0; + enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; + /* Internationalized format string. */ + const char *yyformat = YY_NULLPTR; + /* Arguments of yyformat. */ + char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; + /* Number of reported tokens (one for the "unexpected", one per + "expected"). */ + int yycount = 0; + + /* There are many possibilities here to consider: + - If this state is a consistent state with a default action, then + the only way this function was invoked is if the default action + is an error action. In that case, don't check for expected + tokens because there are none. + - The only way there can be no lookahead present (in yychar) is if + this state is a consistent state with a default action. Thus, + detecting the absence of a lookahead is sufficient to determine + that there is no unexpected or expected token to report. In that + case, just report a simple "syntax error". + - Don't assume there isn't a lookahead just because this state is a + consistent state with a default action. There might have been a + previous inconsistent state, consistent state with a non-default + action, or user semantic action that manipulated yychar. + - Of course, the expected token list depends on states to have + correct lookahead information, and it depends on the parser not + to perform extra reductions after fetching a lookahead from the + scanner and before detecting a syntax error. Thus, state merging + (from LALR or IELR) and default reductions corrupt the expected + token list. However, the list is correct for canonical LR with + one exception: it will still contain any token that will not be + accepted due to an error action in a later state. + */ + if (yytoken != YYEMPTY) + { + int yyn = yypact[*yyssp]; + yyarg[yycount++] = yytname[yytoken]; + if (!yypact_value_is_default (yyn)) + { + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. In other words, skip the first -YYN actions for + this state because they are default actions. */ + int yyxbegin = yyn < 0 ? -yyn : 0; + /* Stay within bounds of both yycheck and yytname. */ + int yychecklim = YYLAST - yyn + 1; + int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; + int yyx; + + for (yyx = yyxbegin; yyx < yyxend; ++yyx) + if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR + && !yytable_value_is_error (yytable[yyx + yyn])) + { + if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) + { + yycount = 1; + yysize = yysize0; + break; + } + yyarg[yycount++] = yytname[yyx]; + { + YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]); + if (! (yysize <= yysize1 + && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + } + } + } + } - yyf = YY_(yyformat); - yysize1 = yysize + yystrlen (yyf); - yysize_overflow |= (yysize1 < yysize); - yysize = yysize1; + switch (yycount) + { +# define YYCASE_(N, S) \ + case N: \ + yyformat = S; \ + break + YYCASE_(0, YY_("syntax error")); + YYCASE_(1, YY_("syntax error, unexpected %s")); + YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); + YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); + YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); + YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); +# undef YYCASE_ + } - if (yysize_overflow) - return YYSIZE_MAXIMUM; + { + YYSIZE_T yysize1 = yysize + yystrlen (yyformat); + if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + return 2; + yysize = yysize1; + } - if (yyresult) - { - /* Avoid sprintf, as that infringes on the user's name space. - Don't have undefined behavior even if the translation - produced a string with the wrong number of "%s"s. */ - char *yyp = yyresult; - int yyi = 0; - while ((*yyp = *yyf) != '\0') - { - if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) - { - yyp += yytnamerr (yyp, yyarg[yyi++]); - yyf += 2; - } - else - { - yyp++; - yyf++; - } - } - } - return yysize; + if (*yymsg_alloc < yysize) + { + *yymsg_alloc = 2 * yysize; + if (! (yysize <= *yymsg_alloc + && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) + *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; + return 1; } + + /* Avoid sprintf, as that infringes on the user's name space. + Don't have undefined behavior even if the translation + produced a string with the wrong number of "%s"s. */ + { + char *yyp = *yymsg; + int yyi = 0; + while ((*yyp = *yyformat) != '\0') + if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) + { + yyp += yytnamerr (yyp, yyarg[yyi++]); + yyformat += 2; + } + else + { + yyp++; + yyformat++; + } + } + return 0; } #endif /* YYERROR_VERBOSE */ - /*-----------------------------------------------. | Release the memory associated to this symbol. | `-----------------------------------------------*/ -/*ARGSUSED*/ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) -#else -static void -yydestruct (yymsg, yytype, yyvaluep) - const char *yymsg; - int yytype; - YYSTYPE *yyvaluep; -#endif { YYUSE (yyvaluep); - if (!yymsg) yymsg = "Deleting"; YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); - switch (yytype) - { - - default: - break; - } + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN + YYUSE (yytype); + YY_IGNORE_MAYBE_UNINITIALIZED_END } - -/* Prevent warnings from -Wmissing-prototypes. */ - -#ifdef YYPARSE_PARAM -#if defined __STDC__ || defined __cplusplus -int yyparse (void *YYPARSE_PARAM); -#else -int yyparse (); -#endif -#else /* ! YYPARSE_PARAM */ -#if defined __STDC__ || defined __cplusplus -int yyparse (void); -#else -int yyparse (); -#endif -#endif /* ! YYPARSE_PARAM */ -/* The look-ahead symbol. */ +/* The lookahead symbol. */ int yychar; -/* The semantic value of the look-ahead symbol. */ +/* The semantic value of the lookahead symbol. */ YYSTYPE yylval; - /* Number of syntax errors so far. */ int yynerrs; - /*----------. | yyparse. | `----------*/ -#ifdef YYPARSE_PARAM -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) -int -yyparse (void *YYPARSE_PARAM) -#else -int -yyparse (YYPARSE_PARAM) - void *YYPARSE_PARAM; -#endif -#else /* ! YYPARSE_PARAM */ -#if (defined __STDC__ || defined __C99__FUNC__ \ - || defined __cplusplus || defined _MSC_VER) int yyparse (void) -#else -int -yyparse () - -#endif -#endif { - - int yystate; + int yystate; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus; + + /* The stacks and their tools: + 'yyss': related to states. + 'yyvs': related to semantic values. + + Refer to the stacks through separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* The state stack. */ + yytype_int16 yyssa[YYINITDEPTH]; + yytype_int16 *yyss; + yytype_int16 *yyssp; + + /* The semantic value stack. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs; + YYSTYPE *yyvsp; + + YYSIZE_T yystacksize; + int yyn; int yyresult; - /* Number of tokens to shift before error messages enabled. */ - int yyerrstatus; - /* Look-ahead token as an internal (translated) token number. */ + /* Lookahead token as an internal (translated) token number. */ int yytoken = 0; + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; + #if YYERROR_VERBOSE /* Buffer for error messages, and its allocated size. */ char yymsgbuf[128]; @@ -1868,54 +1715,22 @@ yyparse () YYSIZE_T yymsg_alloc = sizeof yymsgbuf; #endif - /* Three stacks and their tools: - `yyss': related to states, - `yyvs': related to semantic values, - `yyls': related to locations. - - Refer to the stacks thru separate pointers, to allow yyoverflow - to reallocate them elsewhere. */ - - /* The state stack. */ - yytype_int16 yyssa[YYINITDEPTH]; - yytype_int16 *yyss = yyssa; - yytype_int16 *yyssp; - - /* The semantic value stack. */ - YYSTYPE yyvsa[YYINITDEPTH]; - YYSTYPE *yyvs = yyvsa; - YYSTYPE *yyvsp; - - - #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) - YYSIZE_T yystacksize = YYINITDEPTH; - - /* The variables used to return semantic value and location from the - action routines. */ - YYSTYPE yyval; - - /* The number of symbols on the RHS of the reduced rule. Keep to zero when no symbol should be popped. */ int yylen = 0; + yyssp = yyss = yyssa; + yyvsp = yyvs = yyvsa; + yystacksize = YYINITDEPTH; + YYDPRINTF ((stderr, "Starting parse\n")); yystate = 0; yyerrstatus = 0; yynerrs = 0; - yychar = YYEMPTY; /* Cause a token to be read. */ - - /* Initialize stack pointers. - Waste one element of value and location stack - so that they stay on the same level as the state stack. - The wasted elements are never initialized. */ - - yyssp = yyss; - yyvsp = yyvs; - + yychar = YYEMPTY; /* Cause a token to be read. */ goto yysetstate; /*------------------------------------------------------------. @@ -1936,25 +1751,23 @@ yyparse () #ifdef yyoverflow { - /* Give user a chance to reallocate the stack. Use copies of - these so that the &'s don't force the real ones into - memory. */ - YYSTYPE *yyvs1 = yyvs; - yytype_int16 *yyss1 = yyss; - - - /* Each stack pointer address is followed by the size of the - data in use in that stack, in bytes. This used to be a - conditional around just the two extra args, but that might - be undefined if yyoverflow is a macro. */ - yyoverflow (YY_("memory exhausted"), - &yyss1, yysize * sizeof (*yyssp), - &yyvs1, yysize * sizeof (*yyvsp), - - &yystacksize); - - yyss = yyss1; - yyvs = yyvs1; + /* Give user a chance to reallocate the stack. Use copies of + these so that the &'s don't force the real ones into + memory. */ + YYSTYPE *yyvs1 = yyvs; + yytype_int16 *yyss1 = yyss; + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. This used to be a + conditional around just the two extra args, but that might + be undefined if yyoverflow is a macro. */ + yyoverflow (YY_("memory exhausted"), + &yyss1, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + &yystacksize); + + yyss = yyss1; + yyvs = yyvs1; } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE @@ -1962,23 +1775,22 @@ yyparse () # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) - goto yyexhaustedlab; + goto yyexhaustedlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) - yystacksize = YYMAXDEPTH; + yystacksize = YYMAXDEPTH; { - yytype_int16 *yyss1 = yyss; - union yyalloc *yyptr = - (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); - if (! yyptr) - goto yyexhaustedlab; - YYSTACK_RELOCATE (yyss); - YYSTACK_RELOCATE (yyvs); - + yytype_int16 *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyexhaustedlab; + YYSTACK_RELOCATE (yyss_alloc, yyss); + YYSTACK_RELOCATE (yyvs_alloc, yyvs); # undef YYSTACK_RELOCATE - if (yyss1 != yyssa) - YYSTACK_FREE (yyss1); + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); } # endif #endif /* no yyoverflow */ @@ -1986,16 +1798,18 @@ yyparse () yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; - YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); + (unsigned long int) yystacksize)); if (yyss + yystacksize - 1 <= yyssp) - YYABORT; + YYABORT; } YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + if (yystate == YYFINAL) + YYACCEPT; + goto yybackup; /*-----------. @@ -2004,20 +1818,20 @@ yyparse () yybackup: /* Do appropriate processing given the current state. Read a - look-ahead token if we need one and don't already have one. */ + lookahead token if we need one and don't already have one. */ - /* First try to decide what to do without reference to look-ahead token. */ + /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; - if (yyn == YYPACT_NINF) + if (yypact_value_is_default (yyn)) goto yydefault; - /* Not known => get a look-ahead token if don't already have one. */ + /* Not known => get a lookahead token if don't already have one. */ - /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */ + /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); - yychar = YYLEX; + yychar = yylex (); } if (yychar <= YYEOF) @@ -2039,29 +1853,27 @@ yybackup: yyn = yytable[yyn]; if (yyn <= 0) { - if (yyn == 0 || yyn == YYTABLE_NINF) - goto yyerrlab; + if (yytable_value_is_error (yyn)) + goto yyerrlab; yyn = -yyn; goto yyreduce; } - if (yyn == YYFINAL) - YYACCEPT; - /* Count tokens shifted since error; after three, turn off error status. */ if (yyerrstatus) yyerrstatus--; - /* Shift the look-ahead token. */ + /* Shift the lookahead token. */ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); - /* Discard the shifted token unless it is eof. */ - if (yychar != YYEOF) - yychar = YYEMPTY; + /* Discard the shifted token. */ + yychar = YYEMPTY; yystate = yyn; + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN *++yyvsp = yylval; + YY_IGNORE_MAYBE_UNINITIALIZED_END goto yynewstate; @@ -2084,7 +1896,7 @@ yyreduce: yylen = yyr2[yyn]; /* If YYLEN is nonzero, implement the default value of the action: - `$$ = $1'. + '$$ = $1'. Otherwise, the following line sets YYVAL to garbage. This behavior is undocumented and Bison @@ -2098,21 +1910,22 @@ yyreduce: switch (yyn) { case 2: -#line 383 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 387 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { /* Case of regular command. Discard the error safety net,and return the command just parsed. */ - global_command = (yyvsp[(1) - (2)].command); + global_command = (yyvsp[-1].command); eof_encountered = 0; /* discard_parser_constructs (0); */ if (parser_state & PST_CMDSUBST) parser_state |= PST_EOFTOKEN; YYACCEPT; } +#line 1925 "y.tab.c" /* yacc.c:1646 */ break; case 3: -#line 394 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 398 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { /* Case of regular command, but not a very interesting one. Return a NULL command. */ @@ -2121,10 +1934,11 @@ yyreduce: parser_state |= PST_EOFTOKEN; YYACCEPT; } +#line 1938 "y.tab.c" /* yacc.c:1646 */ break; case 4: -#line 403 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 407 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { /* Error during parsing. Return NULL command. */ global_command = (COMMAND *)NULL; @@ -2139,10 +1953,11 @@ yyreduce: YYABORT; } } +#line 1957 "y.tab.c" /* yacc.c:1646 */ break; case 5: -#line 418 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 422 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { /* Case of EOF seen by itself. Do ignoreeof or not. */ @@ -2150,752 +1965,847 @@ yyreduce: handle_eof_input_unit (); YYACCEPT; } +#line 1969 "y.tab.c" /* yacc.c:1646 */ break; case 6: -#line 428 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(1) - (1)].word), (WORD_LIST *)NULL); } +#line 432 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.word_list) = make_word_list ((yyvsp[0].word), (WORD_LIST *)NULL); } +#line 1975 "y.tab.c" /* yacc.c:1646 */ break; case 7: -#line 430 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(2) - (2)].word), (yyvsp[(1) - (2)].word_list)); } +#line 434 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.word_list) = make_word_list ((yyvsp[0].word), (yyvsp[-1].word_list)); } +#line 1981 "y.tab.c" /* yacc.c:1646 */ break; case 8: -#line 434 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 438 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_output_direction, redir, 0); } +#line 1991 "y.tab.c" /* yacc.c:1646 */ break; case 9: -#line 440 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 444 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_input_direction, redir, 0); } +#line 2001 "y.tab.c" /* yacc.c:1646 */ break; case 10: -#line 446 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 450 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); + source.dest = (yyvsp[-2].number); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_output_direction, redir, 0); } +#line 2011 "y.tab.c" /* yacc.c:1646 */ break; case 11: -#line 452 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 456 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); + source.dest = (yyvsp[-2].number); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_input_direction, redir, 0); } +#line 2021 "y.tab.c" /* yacc.c:1646 */ break; case 12: -#line 458 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 462 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); + source.filename = (yyvsp[-2].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_output_direction, redir, REDIR_VARASSIGN); } +#line 2031 "y.tab.c" /* yacc.c:1646 */ break; case 13: -#line 464 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 468 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); + source.filename = (yyvsp[-2].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_input_direction, redir, REDIR_VARASSIGN); } +#line 2041 "y.tab.c" /* yacc.c:1646 */ break; case 14: -#line 470 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 474 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_appending_to, redir, 0); } +#line 2051 "y.tab.c" /* yacc.c:1646 */ break; case 15: -#line 476 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 480 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); + source.dest = (yyvsp[-2].number); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_appending_to, redir, 0); } +#line 2061 "y.tab.c" /* yacc.c:1646 */ break; case 16: -#line 482 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 486 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); + source.filename = (yyvsp[-2].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_appending_to, redir, REDIR_VARASSIGN); } +#line 2071 "y.tab.c" /* yacc.c:1646 */ break; case 17: -#line 488 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 492 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_output_force, redir, 0); } +#line 2081 "y.tab.c" /* yacc.c:1646 */ break; case 18: -#line 494 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 498 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); + source.dest = (yyvsp[-2].number); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_output_force, redir, 0); } +#line 2091 "y.tab.c" /* yacc.c:1646 */ break; case 19: -#line 500 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 504 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); + source.filename = (yyvsp[-2].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_output_force, redir, REDIR_VARASSIGN); } +#line 2101 "y.tab.c" /* yacc.c:1646 */ break; case 20: -#line 506 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 510 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_input_output, redir, 0); } +#line 2111 "y.tab.c" /* yacc.c:1646 */ break; case 21: -#line 512 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 516 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); + source.dest = (yyvsp[-2].number); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_input_output, redir, 0); } +#line 2121 "y.tab.c" /* yacc.c:1646 */ break; case 22: -#line 518 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 522 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); + source.filename = (yyvsp[-2].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_input_output, redir, REDIR_VARASSIGN); } +#line 2131 "y.tab.c" /* yacc.c:1646 */ break; case 23: -#line 524 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 528 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_reading_until, redir, 0); push_heredoc ((yyval.redirect)); } +#line 2142 "y.tab.c" /* yacc.c:1646 */ break; case 24: -#line 531 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 535 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); + source.dest = (yyvsp[-2].number); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_reading_until, redir, 0); push_heredoc ((yyval.redirect)); } +#line 2153 "y.tab.c" /* yacc.c:1646 */ break; case 25: -#line 538 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 542 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); + source.filename = (yyvsp[-2].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_reading_until, redir, REDIR_VARASSIGN); push_heredoc ((yyval.redirect)); } +#line 2164 "y.tab.c" /* yacc.c:1646 */ break; case 26: -#line 545 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 549 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_deblank_reading_until, redir, 0); push_heredoc ((yyval.redirect)); } +#line 2175 "y.tab.c" /* yacc.c:1646 */ break; case 27: -#line 552 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 556 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); + source.dest = (yyvsp[-2].number); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_deblank_reading_until, redir, 0); push_heredoc ((yyval.redirect)); } +#line 2186 "y.tab.c" /* yacc.c:1646 */ break; case 28: -#line 559 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 563 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); + source.filename = (yyvsp[-2].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_deblank_reading_until, redir, REDIR_VARASSIGN); push_heredoc ((yyval.redirect)); } +#line 2197 "y.tab.c" /* yacc.c:1646 */ break; case 29: -#line 566 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 570 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_reading_string, redir, 0); } +#line 2207 "y.tab.c" /* yacc.c:1646 */ break; case 30: -#line 572 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 576 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); + source.dest = (yyvsp[-2].number); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_reading_string, redir, 0); } +#line 2217 "y.tab.c" /* yacc.c:1646 */ break; case 31: -#line 578 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 582 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); + source.filename = (yyvsp[-2].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_reading_string, redir, REDIR_VARASSIGN); } +#line 2227 "y.tab.c" /* yacc.c:1646 */ break; case 32: -#line 584 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 588 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 0; - redir.dest = (yyvsp[(2) - (2)].number); + redir.dest = (yyvsp[0].number); (yyval.redirect) = make_redirection (source, r_duplicating_input, redir, 0); } +#line 2237 "y.tab.c" /* yacc.c:1646 */ break; case 33: -#line 590 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 594 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.dest = (yyvsp[(3) - (3)].number); + source.dest = (yyvsp[-2].number); + redir.dest = (yyvsp[0].number); (yyval.redirect) = make_redirection (source, r_duplicating_input, redir, 0); } +#line 2247 "y.tab.c" /* yacc.c:1646 */ break; case 34: -#line 596 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 600 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.dest = (yyvsp[(3) - (3)].number); + source.filename = (yyvsp[-2].word); + redir.dest = (yyvsp[0].number); (yyval.redirect) = make_redirection (source, r_duplicating_input, redir, REDIR_VARASSIGN); } +#line 2257 "y.tab.c" /* yacc.c:1646 */ break; case 35: -#line 602 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 606 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 1; - redir.dest = (yyvsp[(2) - (2)].number); + redir.dest = (yyvsp[0].number); (yyval.redirect) = make_redirection (source, r_duplicating_output, redir, 0); } +#line 2267 "y.tab.c" /* yacc.c:1646 */ break; case 36: -#line 608 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 612 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.dest = (yyvsp[(3) - (3)].number); + source.dest = (yyvsp[-2].number); + redir.dest = (yyvsp[0].number); (yyval.redirect) = make_redirection (source, r_duplicating_output, redir, 0); } +#line 2277 "y.tab.c" /* yacc.c:1646 */ break; case 37: -#line 614 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 618 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.dest = (yyvsp[(3) - (3)].number); + source.filename = (yyvsp[-2].word); + redir.dest = (yyvsp[0].number); (yyval.redirect) = make_redirection (source, r_duplicating_output, redir, REDIR_VARASSIGN); } +#line 2287 "y.tab.c" /* yacc.c:1646 */ break; case 38: -#line 620 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 624 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 0; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_duplicating_input_word, redir, 0); } +#line 2297 "y.tab.c" /* yacc.c:1646 */ break; case 39: -#line 626 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 630 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); + source.dest = (yyvsp[-2].number); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_duplicating_input_word, redir, 0); } +#line 2307 "y.tab.c" /* yacc.c:1646 */ break; case 40: -#line 632 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 636 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); + source.filename = (yyvsp[-2].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_duplicating_input_word, redir, REDIR_VARASSIGN); } +#line 2317 "y.tab.c" /* yacc.c:1646 */ break; case 41: -#line 638 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 642 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_duplicating_output_word, redir, 0); } +#line 2327 "y.tab.c" /* yacc.c:1646 */ break; case 42: -#line 644 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 648 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); - redir.filename = (yyvsp[(3) - (3)].word); + source.dest = (yyvsp[-2].number); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_duplicating_output_word, redir, 0); } +#line 2337 "y.tab.c" /* yacc.c:1646 */ break; case 43: -#line 650 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 654 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); - redir.filename = (yyvsp[(3) - (3)].word); + source.filename = (yyvsp[-2].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_duplicating_output_word, redir, REDIR_VARASSIGN); } +#line 2347 "y.tab.c" /* yacc.c:1646 */ break; case 44: -#line 656 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 660 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 1; redir.dest = 0; (yyval.redirect) = make_redirection (source, r_close_this, redir, 0); } +#line 2357 "y.tab.c" /* yacc.c:1646 */ break; case 45: -#line 662 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 666 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); + source.dest = (yyvsp[-2].number); redir.dest = 0; (yyval.redirect) = make_redirection (source, r_close_this, redir, 0); } +#line 2367 "y.tab.c" /* yacc.c:1646 */ break; case 46: -#line 668 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 672 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); + source.filename = (yyvsp[-2].word); redir.dest = 0; (yyval.redirect) = make_redirection (source, r_close_this, redir, REDIR_VARASSIGN); } +#line 2377 "y.tab.c" /* yacc.c:1646 */ break; case 47: -#line 674 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 678 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 0; redir.dest = 0; (yyval.redirect) = make_redirection (source, r_close_this, redir, 0); } +#line 2387 "y.tab.c" /* yacc.c:1646 */ break; case 48: -#line 680 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 684 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.dest = (yyvsp[(1) - (3)].number); + source.dest = (yyvsp[-2].number); redir.dest = 0; (yyval.redirect) = make_redirection (source, r_close_this, redir, 0); } +#line 2397 "y.tab.c" /* yacc.c:1646 */ break; case 49: -#line 686 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 690 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - source.filename = (yyvsp[(1) - (3)].word); + source.filename = (yyvsp[-2].word); redir.dest = 0; (yyval.redirect) = make_redirection (source, r_close_this, redir, REDIR_VARASSIGN); } +#line 2407 "y.tab.c" /* yacc.c:1646 */ break; case 50: -#line 692 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 696 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_err_and_out, redir, 0); } +#line 2417 "y.tab.c" /* yacc.c:1646 */ break; case 51: -#line 698 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 702 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { source.dest = 1; - redir.filename = (yyvsp[(2) - (2)].word); + redir.filename = (yyvsp[0].word); (yyval.redirect) = make_redirection (source, r_append_err_and_out, redir, 0); } +#line 2427 "y.tab.c" /* yacc.c:1646 */ break; case 52: -#line 706 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.element).word = (yyvsp[(1) - (1)].word); (yyval.element).redirect = 0; } +#line 710 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.element).word = (yyvsp[0].word); (yyval.element).redirect = 0; } +#line 2433 "y.tab.c" /* yacc.c:1646 */ break; case 53: -#line 708 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.element).word = (yyvsp[(1) - (1)].word); (yyval.element).redirect = 0; } +#line 712 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.element).word = (yyvsp[0].word); (yyval.element).redirect = 0; } +#line 2439 "y.tab.c" /* yacc.c:1646 */ break; case 54: -#line 710 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.element).redirect = (yyvsp[(1) - (1)].redirect); (yyval.element).word = 0; } +#line 714 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.element).redirect = (yyvsp[0].redirect); (yyval.element).word = 0; } +#line 2445 "y.tab.c" /* yacc.c:1646 */ break; case 55: -#line 714 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 718 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.redirect) = (yyvsp[(1) - (1)].redirect); + (yyval.redirect) = (yyvsp[0].redirect); } +#line 2453 "y.tab.c" /* yacc.c:1646 */ break; case 56: -#line 718 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 722 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { register REDIRECT *t; - for (t = (yyvsp[(1) - (2)].redirect); t->next; t = t->next) + for (t = (yyvsp[-1].redirect); t->next; t = t->next) ; - t->next = (yyvsp[(2) - (2)].redirect); - (yyval.redirect) = (yyvsp[(1) - (2)].redirect); + t->next = (yyvsp[0].redirect); + (yyval.redirect) = (yyvsp[-1].redirect); } +#line 2466 "y.tab.c" /* yacc.c:1646 */ break; case 57: -#line 729 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_simple_command ((yyvsp[(1) - (1)].element), (COMMAND *)NULL); } +#line 733 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_simple_command ((yyvsp[0].element), (COMMAND *)NULL); } +#line 2472 "y.tab.c" /* yacc.c:1646 */ break; case 58: -#line 731 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_simple_command ((yyvsp[(2) - (2)].element), (yyvsp[(1) - (2)].command)); } +#line 735 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_simple_command ((yyvsp[0].element), (yyvsp[-1].command)); } +#line 2478 "y.tab.c" /* yacc.c:1646 */ break; case 59: -#line 735 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = clean_simple_command ((yyvsp[(1) - (1)].command)); } +#line 739 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = clean_simple_command ((yyvsp[0].command)); } +#line 2484 "y.tab.c" /* yacc.c:1646 */ break; case 60: -#line 737 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 741 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2490 "y.tab.c" /* yacc.c:1646 */ break; case 61: -#line 739 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 743 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { COMMAND *tc; - tc = (yyvsp[(1) - (2)].command); + tc = (yyvsp[-1].command); if (tc->redirects) { register REDIRECT *t; for (t = tc->redirects; t->next; t = t->next) ; - t->next = (yyvsp[(2) - (2)].redirect); + t->next = (yyvsp[0].redirect); } else - tc->redirects = (yyvsp[(2) - (2)].redirect); - (yyval.command) = (yyvsp[(1) - (2)].command); + tc->redirects = (yyvsp[0].redirect); + (yyval.command) = (yyvsp[-1].command); } +#line 2510 "y.tab.c" /* yacc.c:1646 */ break; case 62: -#line 755 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 759 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2516 "y.tab.c" /* yacc.c:1646 */ break; case 63: -#line 757 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 761 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2522 "y.tab.c" /* yacc.c:1646 */ break; case 64: -#line 761 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 765 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2528 "y.tab.c" /* yacc.c:1646 */ break; case 65: -#line 763 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 767 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2534 "y.tab.c" /* yacc.c:1646 */ break; case 66: -#line 765 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_while_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command)); } +#line 769 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_while_command ((yyvsp[-3].command), (yyvsp[-1].command)); } +#line 2540 "y.tab.c" /* yacc.c:1646 */ break; case 67: -#line 767 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_until_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command)); } +#line 771 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_until_command ((yyvsp[-3].command), (yyvsp[-1].command)); } +#line 2546 "y.tab.c" /* yacc.c:1646 */ break; case 68: -#line 769 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 773 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2552 "y.tab.c" /* yacc.c:1646 */ break; case 69: -#line 771 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 775 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2558 "y.tab.c" /* yacc.c:1646 */ break; case 70: -#line 773 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 777 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2564 "y.tab.c" /* yacc.c:1646 */ break; case 71: -#line 775 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 779 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2570 "y.tab.c" /* yacc.c:1646 */ break; case 72: -#line 777 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 781 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2576 "y.tab.c" /* yacc.c:1646 */ break; case 73: -#line 779 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 783 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2582 "y.tab.c" /* yacc.c:1646 */ break; case 74: -#line 781 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 785 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2588 "y.tab.c" /* yacc.c:1646 */ break; case 75: -#line 785 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 789 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_for_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); + (yyval.command) = make_for_command ((yyvsp[-4].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2597 "y.tab.c" /* yacc.c:1646 */ break; case 76: -#line 790 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 794 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_for_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); + (yyval.command) = make_for_command ((yyvsp[-4].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2606 "y.tab.c" /* yacc.c:1646 */ break; case 77: -#line 795 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 799 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_for_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); + (yyval.command) = make_for_command ((yyvsp[-5].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2615 "y.tab.c" /* yacc.c:1646 */ break; case 78: -#line 800 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 804 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_for_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); + (yyval.command) = make_for_command ((yyvsp[-5].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2624 "y.tab.c" /* yacc.c:1646 */ break; case 79: -#line 805 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 809 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_for_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); + (yyval.command) = make_for_command ((yyvsp[-8].word), REVERSE_LIST ((yyvsp[-5].word_list), WORD_LIST *), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2633 "y.tab.c" /* yacc.c:1646 */ break; case 80: -#line 810 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 814 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_for_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); + (yyval.command) = make_for_command ((yyvsp[-8].word), REVERSE_LIST ((yyvsp[-5].word_list), WORD_LIST *), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2642 "y.tab.c" /* yacc.c:1646 */ break; case 81: -#line 815 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 819 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_for_command ((yyvsp[(2) - (9)].word), (WORD_LIST *)NULL, (yyvsp[(8) - (9)].command), word_lineno[word_top]); + (yyval.command) = make_for_command ((yyvsp[-7].word), (WORD_LIST *)NULL, (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2651 "y.tab.c" /* yacc.c:1646 */ break; case 82: -#line 820 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 824 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_for_command ((yyvsp[(2) - (9)].word), (WORD_LIST *)NULL, (yyvsp[(8) - (9)].command), word_lineno[word_top]); + (yyval.command) = make_for_command ((yyvsp[-7].word), (WORD_LIST *)NULL, (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2660 "y.tab.c" /* yacc.c:1646 */ break; case 83: -#line 827 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 831 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (7)].word_list), (yyvsp[(6) - (7)].command), arith_for_lineno); + (yyval.command) = make_arith_for_command ((yyvsp[-5].word_list), (yyvsp[-1].command), arith_for_lineno); if (word_top > 0) word_top--; } +#line 2669 "y.tab.c" /* yacc.c:1646 */ break; case 84: -#line 832 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 836 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (7)].word_list), (yyvsp[(6) - (7)].command), arith_for_lineno); + (yyval.command) = make_arith_for_command ((yyvsp[-5].word_list), (yyvsp[-1].command), arith_for_lineno); if (word_top > 0) word_top--; } +#line 2678 "y.tab.c" /* yacc.c:1646 */ break; case 85: -#line 837 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 841 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (5)].word_list), (yyvsp[(4) - (5)].command), arith_for_lineno); + (yyval.command) = make_arith_for_command ((yyvsp[-3].word_list), (yyvsp[-1].command), arith_for_lineno); if (word_top > 0) word_top--; } +#line 2687 "y.tab.c" /* yacc.c:1646 */ break; case 86: -#line 842 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 846 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_arith_for_command ((yyvsp[(2) - (5)].word_list), (yyvsp[(4) - (5)].command), arith_for_lineno); + (yyval.command) = make_arith_for_command ((yyvsp[-3].word_list), (yyvsp[-1].command), arith_for_lineno); if (word_top > 0) word_top--; } +#line 2696 "y.tab.c" /* yacc.c:1646 */ break; case 87: -#line 849 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 853 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_select_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); + (yyval.command) = make_select_command ((yyvsp[-4].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2705 "y.tab.c" /* yacc.c:1646 */ break; case 88: -#line 854 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 858 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_select_command ((yyvsp[(2) - (6)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(5) - (6)].command), word_lineno[word_top]); + (yyval.command) = make_select_command ((yyvsp[-4].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2714 "y.tab.c" /* yacc.c:1646 */ break; case 89: -#line 859 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 863 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_select_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); + (yyval.command) = make_select_command ((yyvsp[-5].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2723 "y.tab.c" /* yacc.c:1646 */ break; case 90: -#line 864 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 868 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_select_command ((yyvsp[(2) - (7)].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[(6) - (7)].command), word_lineno[word_top]); + (yyval.command) = make_select_command ((yyvsp[-5].word), add_string_to_list ("\"$@\"", (WORD_LIST *)NULL), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2732 "y.tab.c" /* yacc.c:1646 */ break; case 91: -#line 869 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 873 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_select_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); + (yyval.command) = make_select_command ((yyvsp[-8].word), REVERSE_LIST ((yyvsp[-5].word_list), WORD_LIST *), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2741 "y.tab.c" /* yacc.c:1646 */ break; case 92: -#line 874 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 878 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_select_command ((yyvsp[(2) - (10)].word), REVERSE_LIST ((yyvsp[(5) - (10)].word_list), WORD_LIST *), (yyvsp[(9) - (10)].command), word_lineno[word_top]); + (yyval.command) = make_select_command ((yyvsp[-8].word), REVERSE_LIST ((yyvsp[-5].word_list), WORD_LIST *), (yyvsp[-1].command), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2750 "y.tab.c" /* yacc.c:1646 */ break; case 93: -#line 881 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 885 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_case_command ((yyvsp[(2) - (6)].word), (PATTERN_LIST *)NULL, word_lineno[word_top]); + (yyval.command) = make_case_command ((yyvsp[-4].word), (PATTERN_LIST *)NULL, word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2759 "y.tab.c" /* yacc.c:1646 */ break; case 94: -#line 886 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 890 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_case_command ((yyvsp[(2) - (7)].word), (yyvsp[(5) - (7)].pattern), word_lineno[word_top]); + (yyval.command) = make_case_command ((yyvsp[-5].word), (yyvsp[-2].pattern), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2768 "y.tab.c" /* yacc.c:1646 */ break; case 95: -#line 891 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 895 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_case_command ((yyvsp[(2) - (6)].word), (yyvsp[(5) - (6)].pattern), word_lineno[word_top]); + (yyval.command) = make_case_command ((yyvsp[-4].word), (yyvsp[-1].pattern), word_lineno[word_top]); if (word_top > 0) word_top--; } +#line 2777 "y.tab.c" /* yacc.c:1646 */ break; case 96: -#line 898 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_function_def ((yyvsp[(1) - (5)].word), (yyvsp[(5) - (5)].command), function_dstart, function_bstart); } +#line 902 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_function_def ((yyvsp[-4].word), (yyvsp[0].command), function_dstart, function_bstart); } +#line 2783 "y.tab.c" /* yacc.c:1646 */ break; case 97: -#line 901 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_function_def ((yyvsp[(2) - (6)].word), (yyvsp[(6) - (6)].command), function_dstart, function_bstart); } +#line 905 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_function_def ((yyvsp[-4].word), (yyvsp[0].command), function_dstart, function_bstart); } +#line 2789 "y.tab.c" /* yacc.c:1646 */ break; case 98: -#line 904 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_function_def ((yyvsp[(2) - (4)].word), (yyvsp[(4) - (4)].command), function_dstart, function_bstart); } +#line 908 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_function_def ((yyvsp[-2].word), (yyvsp[0].command), function_dstart, function_bstart); } +#line 2795 "y.tab.c" /* yacc.c:1646 */ break; case 99: -#line 908 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 912 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 2801 "y.tab.c" /* yacc.c:1646 */ break; case 100: -#line 910 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 914 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { COMMAND *tc; - tc = (yyvsp[(1) - (2)].command); + tc = (yyvsp[-1].command); /* According to Posix.2 3.9.5, redirections specified after the body of a function should be attached to the function and performed when @@ -2914,378 +2824,430 @@ yyreduce: register REDIRECT *t; for (t = tc->redirects; t->next; t = t->next) ; - t->next = (yyvsp[(2) - (2)].redirect); + t->next = (yyvsp[0].redirect); } else - tc->redirects = (yyvsp[(2) - (2)].redirect); - (yyval.command) = (yyvsp[(1) - (2)].command); + tc->redirects = (yyvsp[0].redirect); + (yyval.command) = (yyvsp[-1].command); } +#line 2834 "y.tab.c" /* yacc.c:1646 */ break; case 101: -#line 941 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 945 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_subshell_command ((yyvsp[(2) - (3)].command)); + (yyval.command) = make_subshell_command ((yyvsp[-1].command)); (yyval.command)->flags |= CMD_WANT_SUBSHELL; } +#line 2843 "y.tab.c" /* yacc.c:1646 */ break; case 102: -#line 948 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 952 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_coproc_command ("COPROC", (yyvsp[(2) - (2)].command)); + (yyval.command) = make_coproc_command ("COPROC", (yyvsp[0].command)); (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; } +#line 2852 "y.tab.c" /* yacc.c:1646 */ break; case 103: -#line 953 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 957 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { COMMAND *tc; - tc = (yyvsp[(2) - (3)].command); + tc = (yyvsp[-1].command); if (tc->redirects) { register REDIRECT *t; for (t = tc->redirects; t->next; t = t->next) ; - t->next = (yyvsp[(3) - (3)].redirect); + t->next = (yyvsp[0].redirect); } else - tc->redirects = (yyvsp[(3) - (3)].redirect); - (yyval.command) = make_coproc_command ("COPROC", (yyvsp[(2) - (3)].command)); + tc->redirects = (yyvsp[0].redirect); + (yyval.command) = make_coproc_command ("COPROC", (yyvsp[-1].command)); (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; } +#line 2873 "y.tab.c" /* yacc.c:1646 */ break; case 104: -#line 970 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 974 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_coproc_command ((yyvsp[(2) - (3)].word)->word, (yyvsp[(3) - (3)].command)); + (yyval.command) = make_coproc_command ((yyvsp[-1].word)->word, (yyvsp[0].command)); (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; } +#line 2882 "y.tab.c" /* yacc.c:1646 */ break; case 105: -#line 975 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 979 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { COMMAND *tc; - tc = (yyvsp[(3) - (4)].command); + tc = (yyvsp[-1].command); if (tc->redirects) { register REDIRECT *t; for (t = tc->redirects; t->next; t = t->next) ; - t->next = (yyvsp[(4) - (4)].redirect); + t->next = (yyvsp[0].redirect); } else - tc->redirects = (yyvsp[(4) - (4)].redirect); - (yyval.command) = make_coproc_command ((yyvsp[(2) - (4)].word)->word, (yyvsp[(3) - (4)].command)); + tc->redirects = (yyvsp[0].redirect); + (yyval.command) = make_coproc_command ((yyvsp[-2].word)->word, (yyvsp[-1].command)); (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; } +#line 2903 "y.tab.c" /* yacc.c:1646 */ break; case 106: -#line 992 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 996 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = make_coproc_command ("COPROC", clean_simple_command ((yyvsp[(2) - (2)].command))); + (yyval.command) = make_coproc_command ("COPROC", clean_simple_command ((yyvsp[0].command))); (yyval.command)->flags |= CMD_WANT_SUBSHELL|CMD_COPROC_SUBSHELL; } +#line 2912 "y.tab.c" /* yacc.c:1646 */ break; case 107: -#line 999 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command), (COMMAND *)NULL); } +#line 1003 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_if_command ((yyvsp[-3].command), (yyvsp[-1].command), (COMMAND *)NULL); } +#line 2918 "y.tab.c" /* yacc.c:1646 */ break; case 108: -#line 1001 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (7)].command), (yyvsp[(4) - (7)].command), (yyvsp[(6) - (7)].command)); } +#line 1005 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_if_command ((yyvsp[-5].command), (yyvsp[-3].command), (yyvsp[-1].command)); } +#line 2924 "y.tab.c" /* yacc.c:1646 */ break; case 109: -#line 1003 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (6)].command), (yyvsp[(4) - (6)].command), (yyvsp[(5) - (6)].command)); } +#line 1007 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_if_command ((yyvsp[-4].command), (yyvsp[-2].command), (yyvsp[-1].command)); } +#line 2930 "y.tab.c" /* yacc.c:1646 */ break; case 110: -#line 1008 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_group_command ((yyvsp[(2) - (3)].command)); } +#line 1012 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_group_command ((yyvsp[-1].command)); } +#line 2936 "y.tab.c" /* yacc.c:1646 */ break; case 111: -#line 1012 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_arith_command ((yyvsp[(1) - (1)].word_list)); } +#line 1016 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_arith_command ((yyvsp[0].word_list)); } +#line 2942 "y.tab.c" /* yacc.c:1646 */ break; case 112: -#line 1016 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(2) - (3)].command); } +#line 1020 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[-1].command); } +#line 2948 "y.tab.c" /* yacc.c:1646 */ break; case 113: -#line 1020 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (4)].command), (yyvsp[(4) - (4)].command), (COMMAND *)NULL); } +#line 1024 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_if_command ((yyvsp[-2].command), (yyvsp[0].command), (COMMAND *)NULL); } +#line 2954 "y.tab.c" /* yacc.c:1646 */ break; case 114: -#line 1022 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (6)].command), (yyvsp[(4) - (6)].command), (yyvsp[(6) - (6)].command)); } +#line 1026 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_if_command ((yyvsp[-4].command), (yyvsp[-2].command), (yyvsp[0].command)); } +#line 2960 "y.tab.c" /* yacc.c:1646 */ break; case 115: -#line 1024 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = make_if_command ((yyvsp[(2) - (5)].command), (yyvsp[(4) - (5)].command), (yyvsp[(5) - (5)].command)); } +#line 1028 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = make_if_command ((yyvsp[-3].command), (yyvsp[-1].command), (yyvsp[0].command)); } +#line 2966 "y.tab.c" /* yacc.c:1646 */ break; case 117: -#line 1029 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(2) - (2)].pattern)->next = (yyvsp[(1) - (2)].pattern); (yyval.pattern) = (yyvsp[(2) - (2)].pattern); } +#line 1033 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyvsp[0].pattern)->next = (yyvsp[-1].pattern); (yyval.pattern) = (yyvsp[0].pattern); } +#line 2972 "y.tab.c" /* yacc.c:1646 */ break; case 118: -#line 1033 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(2) - (4)].word_list), (yyvsp[(4) - (4)].command)); } +#line 1037 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.pattern) = make_pattern_list ((yyvsp[-2].word_list), (yyvsp[0].command)); } +#line 2978 "y.tab.c" /* yacc.c:1646 */ break; case 119: -#line 1035 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(2) - (4)].word_list), (COMMAND *)NULL); } +#line 1039 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.pattern) = make_pattern_list ((yyvsp[-2].word_list), (COMMAND *)NULL); } +#line 2984 "y.tab.c" /* yacc.c:1646 */ break; case 120: -#line 1037 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(3) - (5)].word_list), (yyvsp[(5) - (5)].command)); } +#line 1041 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.pattern) = make_pattern_list ((yyvsp[-2].word_list), (yyvsp[0].command)); } +#line 2990 "y.tab.c" /* yacc.c:1646 */ break; case 121: -#line 1039 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.pattern) = make_pattern_list ((yyvsp[(3) - (5)].word_list), (COMMAND *)NULL); } +#line 1043 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.pattern) = make_pattern_list ((yyvsp[-2].word_list), (COMMAND *)NULL); } +#line 2996 "y.tab.c" /* yacc.c:1646 */ break; case 122: -#line 1043 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.pattern) = (yyvsp[(1) - (2)].pattern); } +#line 1047 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.pattern) = (yyvsp[-1].pattern); } +#line 3002 "y.tab.c" /* yacc.c:1646 */ break; case 123: -#line 1045 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(2) - (3)].pattern)->next = (yyvsp[(1) - (3)].pattern); (yyval.pattern) = (yyvsp[(2) - (3)].pattern); } +#line 1049 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyvsp[-1].pattern)->next = (yyvsp[-2].pattern); (yyval.pattern) = (yyvsp[-1].pattern); } +#line 3008 "y.tab.c" /* yacc.c:1646 */ break; case 124: -#line 1047 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(1) - (2)].pattern)->flags |= CASEPAT_FALLTHROUGH; (yyval.pattern) = (yyvsp[(1) - (2)].pattern); } +#line 1051 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyvsp[-1].pattern)->flags |= CASEPAT_FALLTHROUGH; (yyval.pattern) = (yyvsp[-1].pattern); } +#line 3014 "y.tab.c" /* yacc.c:1646 */ break; case 125: -#line 1049 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(2) - (3)].pattern)->flags |= CASEPAT_FALLTHROUGH; (yyvsp[(2) - (3)].pattern)->next = (yyvsp[(1) - (3)].pattern); (yyval.pattern) = (yyvsp[(2) - (3)].pattern); } +#line 1053 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyvsp[-1].pattern)->flags |= CASEPAT_FALLTHROUGH; (yyvsp[-1].pattern)->next = (yyvsp[-2].pattern); (yyval.pattern) = (yyvsp[-1].pattern); } +#line 3020 "y.tab.c" /* yacc.c:1646 */ break; case 126: -#line 1051 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(1) - (2)].pattern)->flags |= CASEPAT_TESTNEXT; (yyval.pattern) = (yyvsp[(1) - (2)].pattern); } +#line 1055 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyvsp[-1].pattern)->flags |= CASEPAT_TESTNEXT; (yyval.pattern) = (yyvsp[-1].pattern); } +#line 3026 "y.tab.c" /* yacc.c:1646 */ break; case 127: -#line 1053 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyvsp[(2) - (3)].pattern)->flags |= CASEPAT_TESTNEXT; (yyvsp[(2) - (3)].pattern)->next = (yyvsp[(1) - (3)].pattern); (yyval.pattern) = (yyvsp[(2) - (3)].pattern); } +#line 1057 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyvsp[-1].pattern)->flags |= CASEPAT_TESTNEXT; (yyvsp[-1].pattern)->next = (yyvsp[-2].pattern); (yyval.pattern) = (yyvsp[-1].pattern); } +#line 3032 "y.tab.c" /* yacc.c:1646 */ break; case 128: -#line 1057 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(1) - (1)].word), (WORD_LIST *)NULL); } +#line 1061 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.word_list) = make_word_list ((yyvsp[0].word), (WORD_LIST *)NULL); } +#line 3038 "y.tab.c" /* yacc.c:1646 */ break; case 129: -#line 1059 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.word_list) = make_word_list ((yyvsp[(3) - (3)].word), (yyvsp[(1) - (3)].word_list)); } +#line 1063 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.word_list) = make_word_list ((yyvsp[0].word), (yyvsp[-2].word_list)); } +#line 3044 "y.tab.c" /* yacc.c:1646 */ break; case 130: -#line 1068 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1072 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = (yyvsp[(2) - (2)].command); + (yyval.command) = (yyvsp[0].command); if (need_here_doc) gather_here_documents (); } +#line 3054 "y.tab.c" /* yacc.c:1646 */ break; case 132: -#line 1077 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1081 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = (yyvsp[(2) - (2)].command); + (yyval.command) = (yyvsp[0].command); } +#line 3062 "y.tab.c" /* yacc.c:1646 */ break; case 134: -#line 1084 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1088 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - if ((yyvsp[(1) - (3)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (3)].command), (COMMAND *)NULL, '&'); + if ((yyvsp[-2].command)->type == cm_connection) + (yyval.command) = connect_async_list ((yyvsp[-2].command), (COMMAND *)NULL, '&'); else - (yyval.command) = command_connect ((yyvsp[(1) - (3)].command), (COMMAND *)NULL, '&'); + (yyval.command) = command_connect ((yyvsp[-2].command), (COMMAND *)NULL, '&'); } +#line 3073 "y.tab.c" /* yacc.c:1646 */ break; case 136: -#line 1095 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), AND_AND); } +#line 1099 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = command_connect ((yyvsp[-3].command), (yyvsp[0].command), AND_AND); } +#line 3079 "y.tab.c" /* yacc.c:1646 */ break; case 137: -#line 1097 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), OR_OR); } +#line 1101 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = command_connect ((yyvsp[-3].command), (yyvsp[0].command), OR_OR); } +#line 3085 "y.tab.c" /* yacc.c:1646 */ break; case 138: -#line 1099 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1103 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - if ((yyvsp[(1) - (4)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), '&'); + if ((yyvsp[-3].command)->type == cm_connection) + (yyval.command) = connect_async_list ((yyvsp[-3].command), (yyvsp[0].command), '&'); else - (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), '&'); + (yyval.command) = command_connect ((yyvsp[-3].command), (yyvsp[0].command), '&'); } +#line 3096 "y.tab.c" /* yacc.c:1646 */ break; case 139: -#line 1106 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), ';'); } +#line 1110 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = command_connect ((yyvsp[-3].command), (yyvsp[0].command), ';'); } +#line 3102 "y.tab.c" /* yacc.c:1646 */ break; case 140: -#line 1108 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), ';'); } +#line 1112 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = command_connect ((yyvsp[-3].command), (yyvsp[0].command), ';'); } +#line 3108 "y.tab.c" /* yacc.c:1646 */ break; case 141: -#line 1110 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 1114 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 3114 "y.tab.c" /* yacc.c:1646 */ break; case 144: -#line 1118 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1122 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { (yyval.number) = '\n'; } +#line 3120 "y.tab.c" /* yacc.c:1646 */ break; case 145: -#line 1120 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1124 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { (yyval.number) = ';'; } +#line 3126 "y.tab.c" /* yacc.c:1646 */ break; case 146: -#line 1122 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1126 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { (yyval.number) = yacc_EOF; } +#line 3132 "y.tab.c" /* yacc.c:1646 */ break; case 149: -#line 1136 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1140 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = (yyvsp[(1) - (1)].command); + (yyval.command) = (yyvsp[0].command); if (need_here_doc) gather_here_documents (); if ((parser_state & PST_CMDSUBST) && current_token == shell_eof_token) { - global_command = (yyvsp[(1) - (1)].command); + global_command = (yyvsp[0].command); eof_encountered = 0; rewind_input_string (); YYACCEPT; } } +#line 3149 "y.tab.c" /* yacc.c:1646 */ break; case 150: -#line 1149 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1153 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - if ((yyvsp[(1) - (2)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (2)].command), (COMMAND *)NULL, '&'); + if ((yyvsp[-1].command)->type == cm_connection) + (yyval.command) = connect_async_list ((yyvsp[-1].command), (COMMAND *)NULL, '&'); else - (yyval.command) = command_connect ((yyvsp[(1) - (2)].command), (COMMAND *)NULL, '&'); + (yyval.command) = command_connect ((yyvsp[-1].command), (COMMAND *)NULL, '&'); if (need_here_doc) gather_here_documents (); if ((parser_state & PST_CMDSUBST) && current_token == shell_eof_token) { - global_command = (yyvsp[(1) - (2)].command); + global_command = (yyvsp[-1].command); eof_encountered = 0; rewind_input_string (); YYACCEPT; } } +#line 3169 "y.tab.c" /* yacc.c:1646 */ break; case 151: -#line 1165 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1169 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - (yyval.command) = (yyvsp[(1) - (2)].command); + (yyval.command) = (yyvsp[-1].command); if (need_here_doc) gather_here_documents (); if ((parser_state & PST_CMDSUBST) && current_token == shell_eof_token) { - global_command = (yyvsp[(1) - (2)].command); + global_command = (yyvsp[-1].command); eof_encountered = 0; rewind_input_string (); YYACCEPT; } } +#line 3186 "y.tab.c" /* yacc.c:1646 */ break; case 152: -#line 1180 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), AND_AND); } +#line 1184 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = command_connect ((yyvsp[-3].command), (yyvsp[0].command), AND_AND); } +#line 3192 "y.tab.c" /* yacc.c:1646 */ break; case 153: -#line 1182 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), OR_OR); } +#line 1186 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = command_connect ((yyvsp[-3].command), (yyvsp[0].command), OR_OR); } +#line 3198 "y.tab.c" /* yacc.c:1646 */ break; case 154: -#line 1184 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1188 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - if ((yyvsp[(1) - (3)].command)->type == cm_connection) - (yyval.command) = connect_async_list ((yyvsp[(1) - (3)].command), (yyvsp[(3) - (3)].command), '&'); + if ((yyvsp[-2].command)->type == cm_connection) + (yyval.command) = connect_async_list ((yyvsp[-2].command), (yyvsp[0].command), '&'); else - (yyval.command) = command_connect ((yyvsp[(1) - (3)].command), (yyvsp[(3) - (3)].command), '&'); + (yyval.command) = command_connect ((yyvsp[-2].command), (yyvsp[0].command), '&'); } +#line 3209 "y.tab.c" /* yacc.c:1646 */ break; case 155: -#line 1191 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (3)].command), (yyvsp[(3) - (3)].command), ';'); } +#line 1195 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = command_connect ((yyvsp[-2].command), (yyvsp[0].command), ';'); } +#line 3215 "y.tab.c" /* yacc.c:1646 */ break; case 156: -#line 1194 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 1198 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 3221 "y.tab.c" /* yacc.c:1646 */ break; case 157: -#line 1198 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 1202 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 3227 "y.tab.c" /* yacc.c:1646 */ break; case 158: -#line 1200 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1204 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - if ((yyvsp[(2) - (2)].command)) - (yyvsp[(2) - (2)].command)->flags ^= CMD_INVERT_RETURN; /* toggle */ - (yyval.command) = (yyvsp[(2) - (2)].command); + if ((yyvsp[0].command)) + (yyvsp[0].command)->flags ^= CMD_INVERT_RETURN; /* toggle */ + (yyval.command) = (yyvsp[0].command); } +#line 3237 "y.tab.c" /* yacc.c:1646 */ break; case 159: -#line 1206 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1210 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { - if ((yyvsp[(2) - (2)].command)) - (yyvsp[(2) - (2)].command)->flags |= (yyvsp[(1) - (2)].number); - (yyval.command) = (yyvsp[(2) - (2)].command); + if ((yyvsp[0].command)) + (yyvsp[0].command)->flags |= (yyvsp[-1].number); + (yyval.command) = (yyvsp[0].command); } +#line 3247 "y.tab.c" /* yacc.c:1646 */ break; case 160: -#line 1212 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1216 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { ELEMENT x; @@ -3297,15 +3259,18 @@ yyreduce: x.word = 0; x.redirect = 0; (yyval.command) = make_simple_command (x, (COMMAND *)NULL); - (yyval.command)->flags |= (yyvsp[(1) - (2)].number); + (yyval.command)->flags |= (yyvsp[-1].number); /* XXX - let's cheat and push a newline back */ - if ((yyvsp[(2) - (2)].number) == '\n') + if ((yyvsp[0].number) == '\n') token_to_read = '\n'; + else if ((yyvsp[0].number) == ';') + token_to_read = ';'; } +#line 3270 "y.tab.c" /* yacc.c:1646 */ break; case 161: -#line 1229 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1235 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { ELEMENT x; @@ -3320,25 +3285,29 @@ yyreduce: (yyval.command) = make_simple_command (x, (COMMAND *)NULL); (yyval.command)->flags |= CMD_INVERT_RETURN; /* XXX - let's cheat and push a newline back */ - if ((yyvsp[(2) - (2)].number) == '\n') + if ((yyvsp[0].number) == '\n') token_to_read = '\n'; + if ((yyvsp[0].number) == ';') + token_to_read = ';'; } +#line 3294 "y.tab.c" /* yacc.c:1646 */ break; case 162: -#line 1249 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), '|'); } +#line 1257 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = command_connect ((yyvsp[-3].command), (yyvsp[0].command), '|'); } +#line 3300 "y.tab.c" /* yacc.c:1646 */ break; case 163: -#line 1251 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1259 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { /* Make cmd1 |& cmd2 equivalent to cmd1 2>&1 | cmd2 */ COMMAND *tc; REDIRECTEE rd, sd; REDIRECT *r; - tc = (yyvsp[(1) - (4)].command)->type == cm_simple ? (COMMAND *)(yyvsp[(1) - (4)].command)->value.Simple : (yyvsp[(1) - (4)].command); + tc = (yyvsp[-3].command)->type == cm_simple ? (COMMAND *)(yyvsp[-3].command)->value.Simple : (yyvsp[-3].command); sd.dest = 2; rd.dest = 1; r = make_redirection (sd, r_duplicating_output, rd, 0); @@ -3352,35 +3321,50 @@ yyreduce: else tc->redirects = r; - (yyval.command) = command_connect ((yyvsp[(1) - (4)].command), (yyvsp[(4) - (4)].command), '|'); + (yyval.command) = command_connect ((yyvsp[-3].command), (yyvsp[0].command), '|'); } +#line 3327 "y.tab.c" /* yacc.c:1646 */ break; case 164: -#line 1274 "/usr/src/local/bash/bash-4.3-patched/parse.y" - { (yyval.command) = (yyvsp[(1) - (1)].command); } +#line 1282 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ + { (yyval.command) = (yyvsp[0].command); } +#line 3333 "y.tab.c" /* yacc.c:1646 */ break; case 165: -#line 1278 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1286 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { (yyval.number) = CMD_TIME_PIPELINE; } +#line 3339 "y.tab.c" /* yacc.c:1646 */ break; case 166: -#line 1280 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1288 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { (yyval.number) = CMD_TIME_PIPELINE|CMD_TIME_POSIX; } +#line 3345 "y.tab.c" /* yacc.c:1646 */ break; case 167: -#line 1282 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1290 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1646 */ { (yyval.number) = CMD_TIME_PIPELINE|CMD_TIME_POSIX; } +#line 3351 "y.tab.c" /* yacc.c:1646 */ break; -/* Line 1267 of yacc.c. */ -#line 3382 "y.tab.c" +#line 3355 "y.tab.c" /* yacc.c:1646 */ default: break; } + /* User semantic actions sometimes alter yychar, and that requires + that yytoken be updated with the new translation. We take the + approach of translating immediately before every use of yytoken. + One alternative is translating here after every semantic action, + but that translation would be missed if the semantic action invokes + YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or + if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an + incorrect destructor might then be invoked immediately. In the + case of YYERROR or YYBACKUP, subsequent parser actions might lead + to an incorrect destructor call or verbose syntax error message + before the lookahead is translated. */ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); YYPOPSTACK (yylen); @@ -3389,8 +3373,7 @@ yyreduce: *++yyvsp = yyval; - - /* Now `shift' the result of the reduction. Determine what state + /* Now 'shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ @@ -3405,10 +3388,14 @@ yyreduce: goto yynewstate; -/*------------------------------------. -| yyerrlab -- here on detecting error | -`------------------------------------*/ +/*--------------------------------------. +| yyerrlab -- here on detecting error. | +`--------------------------------------*/ yyerrlab: + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); + /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { @@ -3416,37 +3403,36 @@ yyerrlab: #if ! YYERROR_VERBOSE yyerror (YY_("syntax error")); #else +# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ + yyssp, yytoken) { - YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); - if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) - { - YYSIZE_T yyalloc = 2 * yysize; - if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) - yyalloc = YYSTACK_ALLOC_MAXIMUM; - if (yymsg != yymsgbuf) - YYSTACK_FREE (yymsg); - yymsg = (char *) YYSTACK_ALLOC (yyalloc); - if (yymsg) - yymsg_alloc = yyalloc; - else - { - yymsg = yymsgbuf; - yymsg_alloc = sizeof yymsgbuf; - } - } - - if (0 < yysize && yysize <= yymsg_alloc) - { - (void) yysyntax_error (yymsg, yystate, yychar); - yyerror (yymsg); - } - else - { - yyerror (YY_("syntax error")); - if (yysize != 0) - goto yyexhaustedlab; - } + char const *yymsgp = YY_("syntax error"); + int yysyntax_error_status; + yysyntax_error_status = YYSYNTAX_ERROR; + if (yysyntax_error_status == 0) + yymsgp = yymsg; + else if (yysyntax_error_status == 1) + { + if (yymsg != yymsgbuf) + YYSTACK_FREE (yymsg); + yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); + if (!yymsg) + { + yymsg = yymsgbuf; + yymsg_alloc = sizeof yymsgbuf; + yysyntax_error_status = 2; + } + else + { + yysyntax_error_status = YYSYNTAX_ERROR; + yymsgp = yymsg; + } + } + yyerror (yymsgp); + if (yysyntax_error_status == 2) + goto yyexhaustedlab; } +# undef YYSYNTAX_ERROR #endif } @@ -3454,24 +3440,24 @@ yyerrlab: if (yyerrstatus == 3) { - /* If just tried and failed to reuse look-ahead token after an - error, discard it. */ + /* If just tried and failed to reuse lookahead token after an + error, discard it. */ if (yychar <= YYEOF) - { - /* Return failure if at end of input. */ - if (yychar == YYEOF) - YYABORT; - } + { + /* Return failure if at end of input. */ + if (yychar == YYEOF) + YYABORT; + } else - { - yydestruct ("Error: discarding", - yytoken, &yylval); - yychar = YYEMPTY; - } + { + yydestruct ("Error: discarding", + yytoken, &yylval); + yychar = YYEMPTY; + } } - /* Else will try to reuse look-ahead token after shifting the error + /* Else will try to reuse lookahead token after shifting the error token. */ goto yyerrlab1; @@ -3487,7 +3473,7 @@ yyerrorlab: if (/*CONSTCOND*/ 0) goto yyerrorlab; - /* Do not reclaim the symbols of the rule which action triggered + /* Do not reclaim the symbols of the rule whose action triggered this YYERROR. */ YYPOPSTACK (yylen); yylen = 0; @@ -3500,38 +3486,37 @@ yyerrorlab: | yyerrlab1 -- common code for both syntax error and YYERROR. | `-------------------------------------------------------------*/ yyerrlab1: - yyerrstatus = 3; /* Each real token shifted decrements this. */ + yyerrstatus = 3; /* Each real token shifted decrements this. */ for (;;) { yyn = yypact[yystate]; - if (yyn != YYPACT_NINF) - { - yyn += YYTERROR; - if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) - { - yyn = yytable[yyn]; - if (0 < yyn) - break; - } - } + if (!yypact_value_is_default (yyn)) + { + yyn += YYTERROR; + if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) + { + yyn = yytable[yyn]; + if (0 < yyn) + break; + } + } /* Pop the current state because it cannot handle the error token. */ if (yyssp == yyss) - YYABORT; + YYABORT; yydestruct ("Error: popping", - yystos[yystate], yyvsp); + yystos[yystate], yyvsp); YYPOPSTACK (1); yystate = *yyssp; YY_STACK_PRINT (yyss, yyssp); } - if (yyn == YYFINAL) - YYACCEPT; - + YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN *++yyvsp = yylval; + YY_IGNORE_MAYBE_UNINITIALIZED_END /* Shift the error token. */ @@ -3555,7 +3540,7 @@ yyabortlab: yyresult = 1; goto yyreturn; -#ifndef yyoverflow +#if !defined yyoverflow || YYERROR_VERBOSE /*-------------------------------------------------. | yyexhaustedlab -- memory exhaustion comes here. | `-------------------------------------------------*/ @@ -3566,17 +3551,22 @@ yyexhaustedlab: #endif yyreturn: - if (yychar != YYEOF && yychar != YYEMPTY) - yydestruct ("Cleanup: discarding lookahead", - yytoken, &yylval); - /* Do not reclaim the symbols of the rule which action triggered + if (yychar != YYEMPTY) + { + /* Make sure we have latest lookahead translation. See comments at + user semantic actions for why this is necessary. */ + yytoken = YYTRANSLATE (yychar); + yydestruct ("Cleanup: discarding lookahead", + yytoken, &yylval); + } + /* Do not reclaim the symbols of the rule whose action triggered this YYABORT or YYACCEPT. */ YYPOPSTACK (yylen); YY_STACK_PRINT (yyss, yyssp); while (yyssp != yyss) { yydestruct ("Cleanup: popping", - yystos[*yyssp], yyvsp); + yystos[*yyssp], yyvsp); YYPOPSTACK (1); } #ifndef yyoverflow @@ -3587,12 +3577,9 @@ yyreturn: if (yymsg != yymsgbuf) YYSTACK_FREE (yymsg); #endif - /* Make sure YYID is used. */ - return YYID (yyresult); + return yyresult; } - - -#line 1284 "/usr/src/local/bash/bash-4.3-patched/parse.y" +#line 1292 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1906 */ /* Initial size to allocate for tokens, and the @@ -3740,9 +3727,9 @@ yy_readline_get () int line_len; unsigned char c; - if (!current_readline_line) + if (current_readline_line == 0) { - if (!bash_readline_initialized) + if (bash_readline_initialized == 0) initialize_readline (); #if defined (JOB_CONTROL) @@ -3750,7 +3737,7 @@ yy_readline_get () give_terminal_to (shell_pgrp, 0); #endif /* JOB_CONTROL */ - old_sigint = (SigHandler *)IMPOSSIBLE_TRAP_HANDLER; + old_sigint = IMPOSSIBLE_TRAP_HANDLER; if (signal_is_ignored (SIGINT) == 0) { /* interrupt_immediately++; */ @@ -4265,6 +4252,13 @@ parser_restore_alias () #endif } +void +clear_shell_input_line () +{ + if (shell_input_line) + shell_input_line[shell_input_line_index = 0] = '\0'; +} + /* Return a line of text, taken from wherever yylex () reads input. If there is no more input, then we return NULL. If REMOVE_QUOTED_NEWLINE is non-zero, we remove unquoted \ pairs. This is used by @@ -4371,10 +4365,10 @@ read_secondary_line (remove_quoted_newline) #if defined (HISTORY) if (ret && remember_on_history && (parser_state & PST_HEREDOC)) { - /* To make adding the the here-document body right, we need to rely - on history_delimiting_chars() returning \n for the first line of - the here-document body and the null string for the second and - subsequent lines, so we avoid double newlines. + /* To make adding the here-document body right, we need to rely on + history_delimiting_chars() returning \n for the first line of the + here-document body and the null string for the second and subsequent + lines, so we avoid double newlines. current_command_line_count == 2 for the first line of the body. */ current_command_line_count++; @@ -4516,11 +4510,12 @@ shell_getc (remove_quoted_newline) int remove_quoted_newline; { register int i; - int c, truncating; + int c, truncating, last_was_backslash; unsigned char uc; QUIT; + last_was_backslash = 0; if (sigwinch_received) { sigwinch_received = 0; @@ -4617,7 +4612,7 @@ shell_getc (remove_quoted_newline) if (n <= 2) /* we have to save 1 for the newline added below */ { if (truncating == 0) - internal_warning("shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%llu): line truncated", shell_input_line_size, SIZE_MAX); + internal_warning(_("shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line truncated"), shell_input_line_size, (unsigned long)SIZE_MAX); shell_input_line[i] = '\0'; truncating = 1; } @@ -4651,6 +4646,8 @@ shell_getc (remove_quoted_newline) current_command_line_count++; break; } + + last_was_backslash = last_was_backslash == 0 && c == '\\'; } shell_input_line_index = 0; @@ -4672,6 +4669,8 @@ shell_getc (remove_quoted_newline) if (current_delimiter (dstack) == '\'') history_expansion_inhibited = 1; # endif + /* Calling with a third argument of 1 allows remember_on_history to + determine whether or not the line is saved to the history list */ expansions = pre_process_line (shell_input_line, 1, 1); # if defined (BANG_HISTORY) history_expansion_inhibited = old_hist; @@ -4745,7 +4744,14 @@ shell_getc (remove_quoted_newline) shell_input_line = (char *)xrealloc (shell_input_line, 1 + (shell_input_line_size += 2)); - shell_input_line[shell_input_line_len] = '\n'; + /* Don't add a newline to a string that ends with a backslash if we're + going to be removing quoted newlines, since that will eat the + backslash. Add another backslash instead (will be removed by + word expansion). */ + if (bash_input.type == st_string && expanding_alias() == 0 && last_was_backslash && c == EOF && remove_quoted_newline) + shell_input_line[shell_input_line_len] = '\\'; + else + shell_input_line[shell_input_line_len] = '\n'; shell_input_line[shell_input_line_len + 1] = '\0'; set_line_mbstate (); @@ -4856,7 +4862,7 @@ parser_remaining_input () if (shell_input_line == 0) return 0; if (shell_input_line_index < 0 || shell_input_line_index >= shell_input_line_len) - return '\0'; /* XXX */ + return ""; /* XXX */ return (shell_input_line + shell_input_line_index); } @@ -4907,6 +4913,17 @@ execute_variable_command (command, vname) token_to_read = 0; } +void +push_token (x) + int x; +{ + two_tokens_ago = token_before_that; + token_before_that = last_read_token; + last_read_token = current_token; + + current_token = x; +} + /* Place to remember the token. We try to keep the buffer at a reasonable size, but it can grow. */ static char *token = (char *)NULL; @@ -4984,23 +5001,43 @@ gather_here_documents () int r; r = 0; + here_doc_first_line = 1; while (need_here_doc > 0) { parser_state |= PST_HEREDOC; make_here_document (redir_stack[r++], line_number); parser_state &= ~PST_HEREDOC; need_here_doc--; + redir_stack[r - 1] = 0; /* XXX */ } + here_doc_first_line = 0; /* just in case */ } /* When non-zero, an open-brace used to create a group is awaiting a close brace partner. */ static int open_brace_count; +/* In the following three macros, `token' is always last_read_token */ + +/* Are we in the middle of parsing a redirection where we are about to read + a word? This is used to make sure alias expansion doesn't happen in the + middle of a redirection, even though we're parsing a simple command. */ +#define parsing_redirection(token) \ + (token == '<' || token == '>' || \ + token == GREATER_GREATER || token == GREATER_BAR || \ + token == LESS_GREATER || token == LESS_LESS_MINUS || \ + token == LESS_LESS || token == LESS_LESS_LESS || \ + token == LESS_AND || token == GREATER_AND || token == AND_GREATER) + +/* Is `token' one that will allow a WORD to be read in a command position? + We can read a simple command name on which we should attempt alias expansion + or we can read an assignment statement. */ #define command_token_position(token) \ - (((token) == ASSIGNMENT_WORD) || (parser_state&PST_REDIRLIST) || \ + (((token) == ASSIGNMENT_WORD) || \ + ((parser_state&PST_REDIRLIST) && parsing_redirection(token) == 0) || \ ((token) != SEMI_SEMI && (token) != SEMI_AND && (token) != SEMI_SEMI_AND && reserved_word_acceptable(token))) +/* Are we in a position where we can read an assignment statement? */ #define assignment_acceptable(token) \ (command_token_position(token) && ((parser_state & PST_CASEPAT) == 0)) @@ -5019,6 +5056,8 @@ static int open_brace_count; break; \ if (word_token_alist[i].token == TIME && time_command_acceptable () == 0) \ break; \ + if ((parser_state & PST_CASEPAT) && last_read_token == '|' && word_token_alist[i].token == ESAC) \ + break; /* Posix grammar rule 4 */ \ if (word_token_alist[i].token == ESAC) \ parser_state &= ~(PST_CASEPAT|PST_CASESTMT); \ else if (word_token_alist[i].token == CASE) \ @@ -5063,7 +5102,7 @@ mk_alexpansion (s) strcpy (r, s); /* If the last character in the alias is a newline, don't add a trailing space to the expansion. Works with shell_getc above. */ - if (r[l - 1] != ' ' && r[l - 1] != '\n') + if (r[l - 1] != ' ' && r[l - 1] != '\n' && shellmeta(r[l - 1]) == 0) r[l++] = ' '; r[l] = '\0'; return r; @@ -5127,6 +5166,9 @@ time_command_acceptable () case 0: case ';': case '\n': + if (token_before_that == '|') + return (0); + /* FALLTHROUGH */ case AND_AND: case OR_OR: case '&': @@ -5284,12 +5326,14 @@ reset_parser () #endif parser_state = 0; + here_doc_first_line = 0; #if defined (ALIAS) || defined (DPAREN_ARITHMETIC) if (pushed_string_list) free_string_list (); #endif /* ALIAS || DPAREN_ARITHMETIC */ + /* This is where we resynchronize to the next newline on error/reset */ if (shell_input_line) { free (shell_input_line); @@ -5407,7 +5451,16 @@ read_token (command) parser_state &= ~PST_ASSIGNOK; - peek_char = shell_getc (1); + /* If we are parsing a command substitution and we have read a character + that marks the end of it, don't bother to skip over quoted newlines + when we read the next token. We're just interested in a character + that will turn this into a two-character token, so we let the higher + layers deal with quoted newlines following the command substitution. */ + if ((parser_state & PST_CMDSUBST) && character == shell_eof_token) + peek_char = shell_getc (0); + else + peek_char = shell_getc (1); + if (character == peek_char) { switch (character) @@ -5564,7 +5617,8 @@ tokword: #define LEX_INHEREDOC 0x080 #define LEX_HEREDELIM 0x100 /* reading here-doc delimiter */ #define LEX_STRIPDOC 0x200 /* <<- strip tabs from here doc delim */ -#define LEX_INWORD 0x400 +#define LEX_QUOTEDDOC 0x400 /* here doc with quoted delim */ +#define LEX_INWORD 0x800 #define COMSUB_META(ch) ((ch) == ';' || (ch) == '&' || (ch) == '|') @@ -5810,7 +5864,7 @@ parse_matched_pair (qc, open, close, lenp, flags) APPEND_NESTRET (); FREE (nestret); } - else if ((flags & P_ARRAYSUB) && (tflags & LEX_WASDOL) && (ch == '(' || ch == '{' || ch == '[')) /* ) } ] */ + else if ((flags & (P_ARRAYSUB|P_DOLBRACE)) && (tflags & LEX_WASDOL) && (ch == '(' || ch == '{' || ch == '[')) /* ) } ] */ goto parse_dollar_word; } /* Parse an old-style command substitution within double quotes as a @@ -5856,6 +5910,81 @@ parse_dollar_word: return ret; } +#if defined (DEBUG) +static void +dump_tflags (flags) + int flags; +{ + int f; + + f = flags; + fprintf (stderr, "%d -> ", f); + if (f & LEX_WASDOL) + { + f &= ~LEX_WASDOL; + fprintf (stderr, "LEX_WASDOL%s", f ? "|" : ""); + } + if (f & LEX_CKCOMMENT) + { + f &= ~LEX_CKCOMMENT; + fprintf (stderr, "LEX_CKCOMMENT%s", f ? "|" : ""); + } + if (f & LEX_INCOMMENT) + { + f &= ~LEX_INCOMMENT; + fprintf (stderr, "LEX_INCOMMENT%s", f ? "|" : ""); + } + if (f & LEX_PASSNEXT) + { + f &= ~LEX_PASSNEXT; + fprintf (stderr, "LEX_PASSNEXT%s", f ? "|" : ""); + } + if (f & LEX_RESWDOK) + { + f &= ~LEX_RESWDOK; + fprintf (stderr, "LEX_RESWDOK%s", f ? "|" : ""); + } + if (f & LEX_CKCASE) + { + f &= ~LEX_CKCASE; + fprintf (stderr, "LEX_CKCASE%s", f ? "|" : ""); + } + if (f & LEX_INCASE) + { + f &= ~LEX_INCASE; + fprintf (stderr, "LEX_INCASE%s", f ? "|" : ""); + } + if (f & LEX_INHEREDOC) + { + f &= ~LEX_INHEREDOC; + fprintf (stderr, "LEX_INHEREDOC%s", f ? "|" : ""); + } + if (f & LEX_HEREDELIM) + { + f &= ~LEX_HEREDELIM; + fprintf (stderr, "LEX_HEREDELIM%s", f ? "|" : ""); + } + if (f & LEX_STRIPDOC) + { + f &= ~LEX_STRIPDOC; + fprintf (stderr, "LEX_WASDOL%s", f ? "|" : ""); + } + if (f & LEX_QUOTEDDOC) + { + f &= ~LEX_QUOTEDDOC; + fprintf (stderr, "LEX_QUOTEDDOC%s", f ? "|" : ""); + } + if (f & LEX_INWORD) + { + f &= ~LEX_INWORD; + fprintf (stderr, "LEX_INWORD%s", f ? "|" : ""); + } + + fprintf (stderr, "\n"); + fflush (stderr); +} +#endif + /* Parse a $(...) command substitution. This is messier than I'd like, and reproduces a lot more of the token-reading code than I'd like. */ static char * @@ -5933,7 +6062,7 @@ eof_error: tind++; if (STREQN (ret + tind, heredelim, hdlen)) { - tflags &= ~(LEX_STRIPDOC|LEX_INHEREDOC); + tflags &= ~(LEX_STRIPDOC|LEX_INHEREDOC|LEX_QUOTEDDOC); /*itrace("parse_comsub:%d: found here doc end `%s'", line_number, ret + tind);*/ free (heredelim); heredelim = 0; @@ -5953,21 +6082,29 @@ eof_error: if ((tflags & LEX_INHEREDOC) && ch == close && count == 1) { int tind; -/*itrace("parse_comsub: in here doc, ch == close, retind - firstind = %d hdlen = %d retind = %d", retind-lex_firstind, hdlen, retind);*/ +/*itrace("parse_comsub:%d: in here doc, ch == close, retind - firstind = %d hdlen = %d retind = %d", line_number, retind-lex_firstind, hdlen, retind);*/ tind = lex_firstind; while ((tflags & LEX_STRIPDOC) && ret[tind] == '\t') tind++; if (retind-tind == hdlen && STREQN (ret + tind, heredelim, hdlen)) { - tflags &= ~(LEX_STRIPDOC|LEX_INHEREDOC); -/*itrace("parse_comsub:%d: found here doc end `%s'", line_number, ret + tind);*/ + tflags &= ~(LEX_STRIPDOC|LEX_INHEREDOC|LEX_QUOTEDDOC); +/*itrace("parse_comsub:%d: found here doc end `%*s'", line_number, hdlen, ret + tind);*/ free (heredelim); heredelim = 0; lex_firstind = -1; } } - /* Don't bother counting parens or doing anything else if in a comment */ + /* Don't bother counting parens or doing anything else if in a comment or + here document (not exactly right for here-docs -- if we want to allow + recursive calls to parse_comsub to have their own here documents, + change the LEX_INHEREDOC to LEX_QUOTEDDOC here and uncomment the next + clause below. Note that to make this work completely, we need to make + additional changes to allow xparse_dolparen to work right when the + command substitution is parsed, because read_secondary_line doesn't know + to recursively parse through command substitutions embedded in here- + documents */ if (tflags & (LEX_INCOMMENT|LEX_INHEREDOC)) { /* Add this character. */ @@ -5982,6 +6119,21 @@ eof_error: continue; } +#if 0 + /* If we're going to recursively parse a command substitution inside a + here-document, make sure we call parse_comsub recursively below. See + above for additional caveats. */ + if ((tflags & LEX_INHEREDOC) && ((tflags & LEX_WASDOL) == 0 || ch != '(')) /*)*/ + { + /* Add this character. */ + RESIZE_MALLOCED_BUFFER (ret, retind, 1, retsize, 64); + ret[retind++] = ch; + if MBTEST(ch == '$') + tflags |= LEX_WASDOL; + else + tflags &= ~LEX_WASDOL; + } +#endif if (tflags & LEX_PASSNEXT) /* last char was backslash */ { @@ -6059,9 +6211,11 @@ eof_error: { nestret = substring (ret, lex_firstind, retind); heredelim = string_quote_removal (nestret, 0); - free (nestret); hdlen = STRLEN(heredelim); /*itrace("parse_comsub:%d: found here doc delimiter `%s' (%d)", line_number, heredelim, hdlen);*/ + if (STREQ (heredelim, nestret) == 0) + tflags |= LEX_QUOTEDDOC; + free (nestret); } if (ch == '\n') { @@ -6111,7 +6265,7 @@ eof_error: /* If we can read a reserved word, try to read one. */ if (tflags & LEX_RESWDOK) { - if MBTEST(islower (ch)) + if MBTEST(islower ((unsigned char)ch)) { /* Add this character. */ RESIZE_MALLOCED_BUFFER (ret, retind, 1, retsize, 64); @@ -6124,14 +6278,34 @@ eof_error: if (STREQN (ret + retind - 4, "case", 4)) { tflags |= LEX_INCASE; + tflags &= ~LEX_RESWDOK; /*itrace("parse_comsub:%d: found `case', lex_incase -> 1 lex_reswdok -> 0", line_number);*/ } else if (STREQN (ret + retind - 4, "esac", 4)) { tflags &= ~LEX_INCASE; -/*itrace("parse_comsub:%d: found `esac', lex_incase -> 0 lex_reswdok -> 0", line_number);*/ +/*itrace("parse_comsub:%d: found `esac', lex_incase -> 0 lex_reswdok -> 1", line_number);*/ + tflags |= LEX_RESWDOK; + lex_rwlen = 0; + } + else if (STREQN (ret + retind - 4, "done", 4) || + STREQN (ret + retind - 4, "then", 4) || + STREQN (ret + retind - 4, "else", 4) || + STREQN (ret + retind - 4, "elif", 4) || + STREQN (ret + retind - 4, "time", 4)) + { + /* these are four-character reserved words that can be + followed by a reserved word; anything else turns off + the reserved-word-ok flag */ +/*itrace("parse_comsub:%d: found `%.4s', lex_reswdok -> 1", line_number, ret+retind-4);*/ + tflags |= LEX_RESWDOK; + lex_rwlen = 0; + } + else + { + tflags &= ~LEX_RESWDOK; +/*itrace("parse_comsub:%d: found `%.4s', lex_reswdok -> 0", line_number, ret+retind-4);*/ } - tflags &= ~LEX_RESWDOK; } else if MBTEST((tflags & LEX_CKCOMMENT) && ch == '#' && (lex_rwlen == 0 || ((tflags & LEX_INWORD) && lex_wlen == 0))) ; /* don't modify LEX_RESWDOK if we're starting a comment */ @@ -6139,11 +6313,11 @@ eof_error: RESWDOK flag, but reset the reserved word length counter so we can read another one. */ else if MBTEST(((tflags & LEX_INCASE) == 0) && - (isblank(ch) || ch == '\n') && + (isblank((unsigned char)ch) || ch == '\n') && lex_rwlen == 2 && STREQN (ret + retind - 2, "do", 2)) { -/*itrace("parse_comsub:%d: lex_incase == 1 found `%c', found \"do\"", line_number, ch);*/ +/*itrace("parse_comsub:%d: lex_incase == 0 found `%c', found \"do\"", line_number, ch);*/ lex_rwlen = 0; } else if MBTEST((tflags & LEX_INCASE) && ch != '\n') @@ -6164,7 +6338,7 @@ eof_error: #if 0 /* If we find a space or tab but have read something and it's not `do', turn off the reserved-word-ok flag */ - else if MBTEST(isblank (ch) && lex_rwlen > 0) + else if MBTEST(isblank ((unsigned char)ch) && lex_rwlen > 0) { tflags &= ~LEX_RESWDOK; /*itrace("parse_comsub:%d: found `%c', lex_reswordok -> 0", line_number, ch);*/ @@ -6349,7 +6523,8 @@ xparse_dolparen (base, string, indp, flags) /*(*/ parser_state |= PST_CMDSUBST|PST_EOFTOKEN; /* allow instant ')' */ /*(*/ shell_eof_token = ')'; - parse_string (string, "command substitution", sflags, &ep); + + nc = parse_string (string, "command substitution", sflags, &ep); shell_eof_token = orig_eof_token; restore_parser_state (&ps); @@ -6359,6 +6534,11 @@ xparse_dolparen (base, string, indp, flags) token_to_read = 0; + /* If parse_string returns < 0, we need to jump to top level with the + negative of the return value */ + if (nc < 0) + jump_to_top_level (-nc); /* XXX */ + /* Need to find how many characters parse_and_execute consumed, update *indp, if flags != 0, copy the portion of the string parsed into RET and return it. If flags & 1 (EX_NOALLOC) we can return NULL. */ @@ -6814,7 +6994,7 @@ read_token_word (character) /* Non-zero means to ignore the value of the next character, and just to add it no matter what. */ - int pass_next_character; + int pass_next_character; /* The current delimiting character. */ int cd; @@ -7111,7 +7291,6 @@ read_token_word (character) } got_character: - if (character == CTLESC || character == CTLNUL) { RESIZE_MALLOCED_BUFFER (token, token_index, 2, token_buffer_size, @@ -7188,7 +7367,7 @@ got_token: #endif CHECK_FOR_RESERVED_WORD (token); - the_word = (WORD_DESC *)xmalloc (sizeof (WORD_DESC)); + the_word = alloc_word_desc (); the_word->word = (char *)xmalloc (1 + token_index); the_word->flags = 0; strcpy (the_word->word, token); @@ -7231,7 +7410,7 @@ got_token: /* can use token; already copied to the_word */ token[token_index-1] = '\0'; #if defined (ARRAY_VARS) - if (legal_identifier (token+1) || valid_array_reference (token+1)) + if (legal_identifier (token+1) || valid_array_reference (token+1, 0)) #else if (legal_identifier (token+1)) #endif @@ -7404,7 +7583,7 @@ history_delimiting_chars (line) last_was_heredoc = 0; return "\n"; } - return (current_command_line_count == 2 ? "\n" : ""); + return (here_doc_first_line ? "\n" : ""); } if (parser_state & PST_COMPASSIGN) @@ -7425,7 +7604,7 @@ history_delimiting_chars (line) command lists. It's a suboptimal solution. */ else if (parser_state & PST_CASESTMT) /* case statement pattern */ return " "; - else + else return "; "; /* (...) subshell */ } else if (token_before_that == WORD && two_tokens_ago == FUNCTION) @@ -7439,7 +7618,8 @@ history_delimiting_chars (line) last_was_heredoc = 1; return "\n"; } - + else if ((parser_state & PST_HEREDOC) == 0 && current_command_line_count > 1 && need_here_doc > 0) + return "\n"; else if (token_before_that == WORD && two_tokens_ago == FOR) { /* Tricky. `for i\nin ...' should not have a semicolon, but @@ -7476,6 +7656,8 @@ prompt_again () ps1_prompt = get_string_value ("PS1"); ps2_prompt = get_string_value ("PS2"); + ps0_prompt = get_string_value ("PS0"); + if (!prompt_string_pointer) prompt_string_pointer = &ps1_prompt; @@ -7568,9 +7750,10 @@ decode_prompt_string (string) struct dstack save_dstack; int last_exit_value, last_comsub_pid; #if defined (PROMPT_STRING_DECODE) - int result_size, result_index; + size_t result_size; + int result_index; int c, n, i; - char *temp, octal_string[4]; + char *temp, *t_host, octal_string[4]; struct tm *tm; time_t the_time; char timebuf[128]; @@ -7718,7 +7901,11 @@ decode_prompt_string (string) case 's': temp = base_pathname (shell_name); - temp = savestring (temp); + /* Try to quote anything the user can set in the file system */ + if (promptvars || posixly_correct) + temp = sh_backslash_quote_for_double_quotes (temp); + else + temp = savestring (temp); goto add_string; case 'v': @@ -7808,9 +7995,17 @@ decode_prompt_string (string) case 'h': case 'H': - temp = savestring (current_host_name); - if (c == 'h' && (t = (char *)strchr (temp, '.'))) + t_host = savestring (current_host_name); + if (c == 'h' && (t = (char *)strchr (t_host, '.'))) *t = '\0'; + if (promptvars || posixly_correct) + /* Make sure that expand_prompt_string is called with a + second argument of Q_DOUBLE_QUOTES if we use this + function here. */ + temp = sh_backslash_quote_for_double_quotes (t_host); + else + temp = savestring (t_host); + free (t_host); goto add_string; case '#': @@ -7901,6 +8096,10 @@ not_escape: else { RESIZE_MALLOCED_BUFFER (result, result_index, 3, result_size, PROMPT_GROWTH); + /* dequote_string should take care of removing this if we are not + performing the rest of the word expansions. */ + if (c == CTLESC || c == CTLNUL) + result[result_index++] = CTLESC; result[result_index++] = c; result[result_index] = '\0'; } @@ -8394,6 +8593,8 @@ sh_parser_state_t * save_parser_state (ps) sh_parser_state_t *ps; { + int i; + if (ps == 0) ps = (sh_parser_state_t *)xmalloc (sizeof (sh_parser_state_t)); if (ps == 0) @@ -8427,6 +8628,17 @@ save_parser_state (ps) ps->expand_aliases = expand_aliases; ps->echo_input_at_read = echo_input_at_read; ps->need_here_doc = need_here_doc; + ps->here_doc_first_line = here_doc_first_line; + +#if 0 + for (i = 0; i < HEREDOC_MAX; i++) + ps->redir_stack[i] = redir_stack[i]; +#else + if (need_here_doc == 0) + ps->redir_stack[0] = 0; + else + memcpy (ps->redir_stack, redir_stack, sizeof (redir_stack[0]) * HEREDOC_MAX); +#endif ps->token = token; ps->token_buffer_size = token_buffer_size; @@ -8441,6 +8653,8 @@ void restore_parser_state (ps) sh_parser_state_t *ps; { + int i; + if (ps == 0) return; @@ -8476,6 +8690,17 @@ restore_parser_state (ps) expand_aliases = ps->expand_aliases; echo_input_at_read = ps->echo_input_at_read; need_here_doc = ps->need_here_doc; + here_doc_first_line = ps->here_doc_first_line; + +#if 0 + for (i = 0; i < HEREDOC_MAX; i++) + redir_stack[i] = ps->redir_stack[i]; +#else + if (need_here_doc == 0) + redir_stack[0] = 0; + else + memcpy (redir_stack, ps->redir_stack, sizeof (redir_stack[0]) * HEREDOC_MAX); +#endif FREE (token); token = ps->token; @@ -8534,8 +8759,7 @@ set_line_mbstate () if (shell_input_line == NULL) return; len = strlen (shell_input_line); /* XXX - shell_input_line_len ? */ - FREE (shell_input_line_property); - shell_input_line_property = (char *)xmalloc (len + 1); + shell_input_line_property = (char *)xrealloc (shell_input_line_property, len + 1); memset (&prevs, '\0', sizeof (mbstate_t)); for (i = previ = 0; i < len; i++) @@ -8578,4 +8802,3 @@ set_line_mbstate () } } #endif /* HANDLE_MULTIBYTE */ - diff --git a/y.tab.h b/y.tab.h index b280e4097..b367eb205 100644 --- a/y.tab.h +++ b/y.tab.h @@ -1,14 +1,13 @@ -/* A Bison parser, made by GNU Bison 2.3. */ +/* A Bison parser, made by GNU Bison 3.0.4. */ -/* Skeleton interface for Bison's Yacc-like parsers in C +/* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,9 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work @@ -33,60 +30,69 @@ This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ -/* Tokens. */ +#ifndef YY_YY_Y_TAB_H_INCLUDED +# define YY_YY_Y_TAB_H_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; +#endif + +/* Token type. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE - /* Put the tokens into the symbol table, so that GDB and other debuggers - know about them. */ - enum yytokentype { - IF = 258, - THEN = 259, - ELSE = 260, - ELIF = 261, - FI = 262, - CASE = 263, - ESAC = 264, - FOR = 265, - SELECT = 266, - WHILE = 267, - UNTIL = 268, - DO = 269, - DONE = 270, - FUNCTION = 271, - COPROC = 272, - COND_START = 273, - COND_END = 274, - COND_ERROR = 275, - IN = 276, - BANG = 277, - TIME = 278, - TIMEOPT = 279, - TIMEIGN = 280, - WORD = 281, - ASSIGNMENT_WORD = 282, - REDIR_WORD = 283, - NUMBER = 284, - ARITH_CMD = 285, - ARITH_FOR_EXPRS = 286, - COND_CMD = 287, - AND_AND = 288, - OR_OR = 289, - GREATER_GREATER = 290, - LESS_LESS = 291, - LESS_AND = 292, - LESS_LESS_LESS = 293, - GREATER_AND = 294, - SEMI_SEMI = 295, - SEMI_AND = 296, - SEMI_SEMI_AND = 297, - LESS_LESS_MINUS = 298, - AND_GREATER = 299, - AND_GREATER_GREATER = 300, - LESS_GREATER = 301, - GREATER_BAR = 302, - BAR_AND = 303, - yacc_EOF = 304 - }; + enum yytokentype + { + IF = 258, + THEN = 259, + ELSE = 260, + ELIF = 261, + FI = 262, + CASE = 263, + ESAC = 264, + FOR = 265, + SELECT = 266, + WHILE = 267, + UNTIL = 268, + DO = 269, + DONE = 270, + FUNCTION = 271, + COPROC = 272, + COND_START = 273, + COND_END = 274, + COND_ERROR = 275, + IN = 276, + BANG = 277, + TIME = 278, + TIMEOPT = 279, + TIMEIGN = 280, + WORD = 281, + ASSIGNMENT_WORD = 282, + REDIR_WORD = 283, + NUMBER = 284, + ARITH_CMD = 285, + ARITH_FOR_EXPRS = 286, + COND_CMD = 287, + AND_AND = 288, + OR_OR = 289, + GREATER_GREATER = 290, + LESS_LESS = 291, + LESS_AND = 292, + LESS_LESS_LESS = 293, + GREATER_AND = 294, + SEMI_SEMI = 295, + SEMI_AND = 296, + SEMI_SEMI_AND = 297, + LESS_LESS_MINUS = 298, + AND_GREATER = 299, + AND_GREATER_GREATER = 300, + LESS_GREATER = 301, + GREATER_BAR = 302, + BAR_AND = 303, + yacc_EOF = 304 + }; #endif /* Tokens. */ #define IF 258 @@ -137,13 +143,13 @@ #define BAR_AND 303 #define yacc_EOF 304 - - - +/* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE -#line 324 "/usr/homes/chet/src/bash/src/parse.y" + +union YYSTYPE { +#line 333 "/usr/homes/chet/src/bash/src/parse.y" /* yacc.c:1909 */ + WORD_DESC *word; /* the word that we read. */ int number; /* the number that we read. */ WORD_LIST *word_list; @@ -151,14 +157,18 @@ typedef union YYSTYPE REDIRECT *redirect; ELEMENT element; PATTERN_LIST *pattern; -} -/* Line 1529 of yacc.c. */ -#line 157 "y.tab.h" - YYSTYPE; -# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -# define YYSTYPE_IS_DECLARED 1 + +#line 162 "y.tab.h" /* yacc.c:1909 */ +}; + +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 +# define YYSTYPE_IS_DECLARED 1 #endif + extern YYSTYPE yylval; +int yyparse (void); + +#endif /* !YY_YY_Y_TAB_H_INCLUDED */